[
  {
    "path": ".devcontainer/devcontainer.json",
    "content": "{\n  \"name\": \"OpenUI Development\",\n  \"image\": \"mcr.microsoft.com/devcontainers/python:3.12\",\n\n  // More features: https://containers.dev/features.\n  \"features\": {\n    \"ghcr.io/devcontainers/features/node:1\": {\n      \"nodeGypDependencies\": true,\n      \"version\": \"lts\",\n      \"nvmVersion\": \"latest\"\n    },\n    \"ghcr.io/devcontainers/features/rust:1\": {\n      \"version\": \"latest\",\n      \"profile\": \"minimal\"\n    },\n    \"ghcr.io/wandb/catnip/feature:1\": {}\n  },\n\n  \"mounts\": [\n    \"source=codespaces-linux-cache,target=/home/vscode/.cache,consistency=delegated,type=volume\"\n  ],\n\n  \"customizations\": {\n    \"vscode\": {\n      \"settings\": {},\n      \"extensions\": [\n        \"ms-python.python\",\n        \"tamasfe.even-better-toml\",\n        \"charliermarsh.ruff\",\n        \"ms-toolsai.jupyter\",\n        \"ms-azuretools.vscode-docker\",\n        \"GitHub.copilot\",\n        \"ms-python.black-formatter\"\n      ]\n    }\n  },\n  \"forwardPorts\": [6369],\n  \"portsAttributes\": {\n    \"5173\": {\n      \"label\": \"OpenUI UI Dev Server\",\n      \"onAutoForward\": \"notify\"\n    },\n    \"7878\": {\n      \"label\": \"OpenUI Server\",\n      \"onAutoForward\": \"notify\"\n    }\n  },\n\n  // Install Ollama in the prebuild step\n  \"onCreateCommand\": \"curl -fsSL https://ollama.com/install.sh | sh\",\n  \"postCreateCommand\": \"bash ./.devcontainer/postCreateCommand.sh\",\n  \"postStartCommand\": \"nohup bash -c 'ollama serve &'\",\n\n  \"secrets\": {\n    \"OPENAI_API_KEY\": {\n      \"description\": \"Your OpenAI API Key\",\n      \"documentationUrl\": \"https://platform.openai.com/api-keys\"\n    },\n    \"WANDB_API_KEY\": {\n      \"description\": \"Your W&B API Key\",\n      \"documentationUrl\": \"https://wandb.ai/authorize\"\n    }\n  }\n\n  // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.\n  // \"remoteUser\": \"root\"\n}\n"
  },
  {
    "path": ".devcontainer/postCreateCommand.sh",
    "content": "#!/bin/bash\n\n# Fix cache perms\nmkdir -p $HOME/.cache\nsudo chown -R $USER $HOME/.cache\n\n# Install node packages\ncd /workspaces/openui/frontend\npnpm install\n\n# Install python packages\ncd /workspaces/openui/backend\npip install -e .[test]\n\n# Pull a model for ollama, using llava for now as it's multi-modal\nollama pull llava\n\n# addressing warning...\ngit config --unset-all core.hooksPath\npre-commit install --allow-missing-config\n\n# pre-commit hooks cause permission weirdness\ngit config --global --add safe.directory /workspaces/openui"
  },
  {
    "path": ".gitattributes",
    "content": "backend/openui/dist/* binary\n"
  },
  {
    "path": ".github/workflows/docker.yml",
    "content": "name: Build, test and release OpenUI\n\non:\n  push:\n    branches:\n      - \"**\"\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-frontend:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      packages: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - uses: pnpm/action-setup@v4\n        name: Install pnpm\n        with:\n          version: 9\n          run_install: false\n      - name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          cache-dependency-path: frontend/pnpm-lock.yaml\n          node-version: 20\n          cache: \"pnpm\"\n      - name: Get pnpm store directory\n        shell: bash\n        working-directory: ./frontend\n        run: |\n          echo \"STORE_PATH=$(pnpm store path --silent)\" >> $GITHUB_ENV\n      - uses: actions/cache@v4\n        name: Setup pnpm cache\n        with:\n          path: ${{ env.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n      - name: Install dependencies\n        working-directory: ./frontend\n        run: pnpm install\n      # We use npm here because pnpm wasn't executing post hooks\n      - name: Build frontend\n        working-directory: ./frontend\n        run: npm run build\n      - name: Upload build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: frontend-${{ github.sha }}\n          path: ./frontend/dist\n      - name: Checking in frontend assets\n        if: github.ref == 'refs/heads/main'\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add backend/openui/dist\n          git commit -m \"Updated frontend assets\"\n          git push\n  build-and-push-image:\n    needs: build-frontend\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      attestations: write\n      id-token: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend-${{ github.sha }}\n          path: ./backend/openui/dist\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          flavor: |\n            latest=false\n          tags: |\n            type=ref,event=branch\n            type=ref,event=tag\n            type=ref,event=pr\n            type=sha\n      - name: Build and push Docker image\n        id: push\n        uses: docker/build-push-action@v6\n        with:\n          platforms: linux/amd64,linux/arm64\n          context: backend/.\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n      - name: Generate artifact attestation\n        uses: actions/attest-build-provenance@v1\n        with:\n          subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}\n          subject-digest: ${{ steps.push.outputs.digest }}\n          push-to-registry: true\n\n  test:\n    permissions:\n      contents: read\n      packages: write\n      attestations: write\n      id-token: write\n    needs: build-and-push-image\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pnpm/action-setup@v4\n        name: Install pnpm\n        with:\n          version: 9\n          run_install: false\n      - name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          cache-dependency-path: frontend/pnpm-lock.yaml\n          node-version: 20\n          cache: \"pnpm\"\n      - name: Get pnpm store directory\n        shell: bash\n        working-directory: ./frontend\n        run: |\n          echo \"STORE_PATH=$(pnpm store path --silent)\" >> $GITHUB_ENV\n      - uses: actions/cache@v4\n        name: Setup pnpm cache\n        with:\n          path: ${{ env.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n      - name: Install dependencies\n        working-directory: ./frontend\n        run: pnpm install\n      - name: Install Playwright Browsers\n        working-directory: ./frontend\n        run: pnpm exec playwright install --with-deps chromium webkit\n      - name: Get short SHA\n        id: get_short_sha\n        run: echo \"short_sha=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n      - name: Run Playwright tests\n        env:\n          DOCKER_TAG: sha-${{ steps.get_short_sha.outputs.short_sha }}\n        working-directory: ./frontend\n        run: pnpm exec playwright test\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: playwright-report\n          path: |\n            ./frontend/playwright-report/\n            ./frontend/screenshots/\n          retention-days: 30\n\n  release:\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      attestations: write\n      id-token: write\n    steps:\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Convert full SHA to short SHA\n        id: get_short_sha\n        run: echo \"short_sha=$(echo ${{ github.sha }} | cut -c1-7)\" >> $GITHUB_OUTPUT\n      - name: Tag latest image\n        if: github.ref == 'refs/heads/main'\n        env:\n          IMAGE: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n        run: |\n          docker manifest inspect ${{ env.IMAGE }}:sha-${{ steps.get_short_sha.outputs.short_sha }}\n          docker buildx imagetools create --tag ${{ env.IMAGE }}:latest ${{ env.IMAGE }}:sha-${{ steps.get_short_sha.outputs.short_sha }}\n"
  },
  {
    "path": ".gitignore",
    "content": ".DS_Store\nnohup.out\n.cache/\n.env\n"
  },
  {
    "path": ".gitpod.yml",
    "content": "# Image of workspace. Learn more: https://www.gitpod.io/docs/configure/workspaces/workspace-image\nimage: gitpod/workspace-full:latest\n\n# List the start up tasks. Learn more: https://www.gitpod.io/docs/configure/workspaces/tasks\ntasks:\n  - name: Run Open UI\n    init: |\n      mkdir $GITPOD_REPO_ROOT/../venv\n      cd $GITPOD_REPO_ROOT/../venv\n      python -m venv openui\n      source openui/bin/activate\n      cd $GITPOD_REPO_ROOT/backend\n      pip install .\n      gp sync-done init-done\n    command: |\n      source $GITPOD_REPO_ROOT/../venv/openui/bin/activate\n      cd $GITPOD_REPO_ROOT/backend\n      python -m openui\n\n# List the ports to expose. Learn more: https://www.gitpod.io/docs/configure/workspaces/ports\nports:\n  - name: Open UI\n    description: Port 7878 for Open UI\n    port: 7878\n    onOpen: notify\n\n# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart\n"
  },
  {
    "path": ".husky/pre-commit",
    "content": "cd frontend && pnpm lint-staged\n"
  },
  {
    "path": ".husky/pre-push",
    "content": "cd frontend && pnpm test:push\n"
  },
  {
    "path": ".python-version",
    "content": "openui\n"
  },
  {
    "path": "LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [2024] [Weights and Biases, Inc.]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "README.md",
    "content": "# OpenUI\n\n<p align=\"center\">\n  <img src=\"./assets/openui.png\" width=\"150\" alt=\"OpenUI\" />\n</p>\n\nBuilding UI components can be a slog.  OpenUI aims to make the process fun, fast, and flexible.  It's also a tool we're using at [W&B](https://wandb.com) to test and prototype our next generation tooling for building powerful applications on top of LLM's.\n\n## Overview\n\n![Demo](./assets/demo.gif)\n\nOpenUI let's you describe UI using your imagination, then see it rendered live.  You can ask for changes and convert HTML to React, Svelte, Web Components, etc.  It's like [v0](https://v0.dev) but open source and not as polished :stuck_out_tongue_closed_eyes:.\n\n## Live Demo\n\n[Try the demo](https://openui.fly.dev)\n\n## Running Locally\n\nOpenUI supports [OpenAI](https://platform.openai.com/api-keys), [Groq](https://console.groq.com/keys), and any model [LiteLLM](https://docs.litellm.ai/docs/) supports such as [Gemini](https://aistudio.google.com/app/apikey) or [Anthropic (Claude)](https://console.anthropic.com/settings/keys).  The following environment variables are optional, but need to be set in your environment for alternative models to work:\n\n- **OpenAI** `OPENAI_API_KEY`\n- **Groq** `GROQ_API_KEY`\n- **Gemini** `GEMINI_API_KEY`\n- **Anthropic** `ANTHROPIC_API_KEY`\n- **Cohere** `COHERE_API_KEY`\n- **Mistral** `MISTRAL_API_KEY`\n- **OpenAI Compatible** `OPENAI_COMPATIBLE_ENDPOINT` and `OPENAI_COMPATIBLE_API_KEY`\n\nFor example, if you're running a tool like [localai](https://localai.io/) you can set `OPENAI_COMPATIBLE_ENDPOINT` and optionally `OPENAI_COMPATIBLE_API_KEY` to have the models available listed in the UI's model selector under LiteLLM.\n\n### Ollama\n\nYou can also use models available to [Ollama](https://ollama.com).  [Install Ollama](https://ollama.com/download) and pull a model like [Llava](https://ollama.com/library/llava).  If Ollama is not running on http://127.0.0.1:11434, you can set the `OLLAMA_HOST` environment variable to the host and port of your Ollama instance.  For example when running in docker you'll need to point to http://host.docker.internal:11434 as shown below.\n\n### Docker (preferred)\n\nThe following command would forward the specified API keys from your shell environment and tell Docker to use the Ollama instance running on your machine.\n\n```bash\nexport ANTHROPIC_API_KEY=xxx\nexport OPENAI_API_KEY=xxx\ndocker run --rm --name openui -p 7878:7878 -e OPENAI_API_KEY -e ANTHROPIC_API_KEY -e OLLAMA_HOST=http://host.docker.internal:11434 ghcr.io/wandb/openui\n```\n\nNow you can goto [http://localhost:7878](http://localhost:7878) and generate new UI's!\n\n### From Source / Python\n\nAssuming you have git and [uv](https://github.com/astral-sh/uv) installed:\n\n```bash\ngit clone https://github.com/wandb/openui\ncd openui/backend\nuv sync --frozen --extra litellm\nsource .venv/bin/activate\n# Set API keys for any LLM's you want to use\nexport OPENAI_API_KEY=xxx\npython -m openui\n```\n\n## LiteLLM\n\n[LiteLLM](https://docs.litellm.ai/docs/) can be used to connect to basically any LLM service available.  We generate a config automatically based on your environment variables.  You can create your own [proxy config](https://litellm.vercel.app/docs/proxy/configs) to override this behavior.  We look for a custom config in the following locations:\n\n1. `litellm-config.yaml` in the current directory\n2. `/app/litellm-config.yaml` when running in a docker container\n3. An arbitrary path specified by the `OPENUI_LITELLM_CONFIG` environment variable\n\nFor example to use a custom config in docker you can run:\n\n```bash\ndocker run -n openui -p 7878:7878 -v $(pwd)/litellm-config.yaml:/app/litellm-config.yaml ghcr.io/wandb/openui\n```\n\nTo use litellm from source you can run:\n\n```bash\npip install .[litellm]\nexport ANTHROPIC_API_KEY=xxx\nexport OPENAI_COMPATIBLE_ENDPOINT=http://localhost:8080/v1\npython -m openui --litellm\n```\n\n## Groq\n\nTo use the super fast [Groq](https://groq.com) models, set `GROQ_API_KEY` to your Groq api key which you can [find here](https://console.groq.com/keys).  To use one of the Groq models, click the settings icon in the nav bar.\n\n### Docker Compose\n\n> **DISCLAIMER:** This is likely going to be very slow.  If you have a GPU you may need to change the tag of the `ollama` container to one that supports it.  If you're running on a Mac, follow the instructions above and run Ollama natively to take advantage of the M1/M2.\n\nFrom the root directory you can run:\n\n```bash\ndocker-compose up -d\ndocker exec -it openui-ollama-1 ollama pull llava\n```\n\nIf you have your OPENAI_API_KEY set in the environment already, just remove `=xxx` from the `OPENAI_API_KEY` line. You can also replace `llava` in the command above with your open source model of choice *([llava](https://ollama.com/library/llava) is one of the only Ollama models that support images currently)*.  You should now be able to access OpenUI at [http://localhost:7878](http://localhost:7878).\n\n*If you make changes to the frontend or backend, you'll need to run `docker-compose build` to have them reflected in the service.*\n\n## Development\n\nA [dev container](https://github.com/wandb/openui/blob/main/.devcontainer/devcontainer.json) is configured in this repository which is the quickest way to get started.\n\n### Codespace\n\n<img src=\"./assets/codespace.png\" alt=\"New with options...\" width=\"500\" />\n\nChoose more options when creating a Codespace, then select **New with options...**.  Select the US West region if you want a really fast boot time.  You'll also want to configure your OPENAI_API_KEY secret or just set it to `xxx` if you want to try Ollama *(you'll want at least 16GB of Ram)*.\n\nOnce inside the code space you can run the server in one terminal: `python -m openui --dev`.  Then in a new terminal:\n\n```bash\ncd /workspaces/openui/frontend\nnpm run dev\n```\n\nThis should open another service on port 5173, that's the service you'll want to visit.  All changes to both the frontend and backend will automatically be reloaded and reflected in your browser.\n\n### Ollama\n\nThe codespace installs ollama automaticaly and downloads the `llava` model.  You can verify Ollama is running with `ollama list` if that fails, open a new terminal and run `ollama serve`.  In Codespaces we pull llava on boot so you should see it in the list.  You can select Ollama models from the settings gear icon in the upper left corner of the application.  Any models you pull i.e. `ollama pull llama` will show up in the settings modal.\n\n<img src=\"./assets/ollama.png\" width=\"500\" alt=\"Select Ollama models\" />\n\n### Gitpod\n\nYou can easily use Open UI via Gitpod, preconfigured with Open AI.\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/wandb/openui)\n\nOn launch Open UI is automatically installed and launched.\n\nBefore you can use Gitpod:\n\n* Make sure you have a Gitpod account.\n* To use Open AI models set up the `OPENAI_API_KEY` environment variable in your Gitpod [User Account](https://gitpod.io/user/variables). Set the scope to `wandb/openui` (or your repo if you forked it).\n\n> NOTE: Other (local) models might also be used with a bigger Gitpod instance type. Required models are not preconfigured in Gitpod but can easily be added as documented above.\n\n### Resources\n\nSee the readmes in the [frontend](./frontend/README.md) and [backend](./backend/README.md) directories.\n"
  },
  {
    "path": "backend/.dockerignore",
    "content": "# flyctl launch added from .gitignore\n**/.venv\n**/__pycache__\n**/wandb\n**/*.py[cod]\n**/*$py.class\n**/venv\n**/.eggs\n**/.pytest_cache\n**/*.egg-info\n**/.DS_Store\n**/build\n**/wandb\n**/*.db\n\n# flyctl launch added from openui/eval/.gitignore\nopenui/eval/**/datasets\nopenui/eval/**/components\nfly.toml\n"
  },
  {
    "path": "backend/.github/workflows/publish.yml",
    "content": "name: Publish Python Package\n\non:\n  release:\n    types: [created]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Install dependencies\n      run: |\n        pip install '.[test]'\n    - name: Run tests\n      run: |\n        pytest\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [test]\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Install dependencies\n      run: |\n        pip install setuptools wheel build\n    - name: Build\n      run: |\n        python -m build\n    - name: Publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n"
  },
  {
    "path": "backend/.github/workflows/test.yml",
    "content": "name: Test\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Install dependencies\n      run: |\n        pip install '.[test]'\n    - name: Run tests\n      run: |\n        pytest\n\n"
  },
  {
    "path": "backend/.gitignore",
    "content": ".venv\n__pycache__/\nwandb/\n*.py[cod]\n*$py.class\nvenv\n.eggs\n.pytest_cache\n*.egg-info\n.DS_Store\nbuild\neval/components\neval/datasets\n!eval/datasets/eval.csv\n"
  },
  {
    "path": "backend/.python-version",
    "content": "3.12\n"
  },
  {
    "path": "backend/.vscode/extensions.json",
    "content": "{\n  \"recommendations\": [\"charliermarsh.ruff\"]\n}\n"
  },
  {
    "path": "backend/.vscode/settings.json",
    "content": "{\n  \"[python]\": {\n    \"editor.formatOnSave\": true,\n    \"editor.defaultFormatter\": \"charliermarsh.ruff\"\n  }\n}\n"
  },
  {
    "path": "backend/Dockerfile",
    "content": "# Build the virtualenv as a separate step: Only re-execute this step when pyproject.toml changes\nFROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS builder\n\nWORKDIR /app\n\nENV UV_LINK_MODE=copy UV_COMPILE_BYTECODE=1\n\nRUN --mount=type=cache,target=/root/.cache/uv \\\n    --mount=type=bind,source=uv.lock,target=uv.lock \\\n    --mount=type=bind,source=pyproject.toml,target=pyproject.toml \\\n    uv sync --frozen --extra litellm --no-install-project --no-dev\n\nCOPY . /app\n\nRUN --mount=type=cache,target=/root/.cache/uv \\\n    uv sync --frozen --extra litellm --no-dev\n\n# Copy the virtualenv into a distroless image\nFROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim\n\nWORKDIR /app\n\nCOPY --from=builder --chown=app:app /app /app\n\nENV PATH=\"/app/.venv/bin:$PATH\"\n\nENTRYPOINT [\"python\", \"-m\", \"openui\", \"--litellm\"]\n"
  },
  {
    "path": "backend/LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [2024] [Weights and Biases, Inc.]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "backend/README.md",
    "content": "# OpenUI\n\n[![PyPI](https://img.shields.io/pypi/v/wandb-openui.svg)](https://pypi.org/project/wandb-openui/)\n[![Changelog](https://img.shields.io/github/v/release/wandb/openui?include_prereleases&label=changelog)](https://github.com/wandb/openui/releases)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/wandb/openui/blob/main/LICENSE)\n\nA backend service for generating HTML components with AI\n\n## Installation\n\nClone this repo, then install using `pip`.  You'll probably want to create a virtual env.\n\n```bash\ngit clone https://github.com/wandb/openui\ncd openui/backend\npip install .\n```\n\n## Usage\n\nYou must set the `OPENAI_API_KEY` even if you just want to try Ollama models.  Just set it to `xxx` in that case like below.\n\n```bash\nOPENAI_API_KEY=xxx python -m openui\n```\n\n### Docker\n\nYou can build and run the docker file from the `/backend` directory:\n\n```bash\ndocker build . -t wandb/openui --load\ndocker run -p 7878:7878 -e OPENAI_API_KEY wandb/openui\n```\n\n## Development\n\nFirst be sure to install the package as editable, then passing `--dev` as an argument will live reload any local changes.\n\n```bash\npip install -e .\npython -m openui --dev\n```\n\nNow install the dependencies and test dependencies:\n\n```bash\npip install -e '.[test]'\n```\n\nTo run the tests:\n\n```bash\npytest\n```\n\n## Evaluation\n\nThe [eval](./openui/eval) folder contains scripts for evaluating the performance of a model.  It automates generating UI, taking screenshots of the UI, then asking `gpt-4-vision-preview` to rate the elements.  More details about the eval pipeline coming soon...\n\n\n## Google Vertex AI\n\nCreate a service account with the appropriate permissions and authenticate with:\n\n```\ngcloud auth application-default login --impersonate-service-account ${GCLOUD_SERVICE_ACCOUNT}@${GCLOUD_PROJECT}.iam.gserviceaccount.com\n```"
  },
  {
    "path": "backend/fly.toml",
    "content": "# fly.toml app configuration file generated for openui on 2024-03-15T15:53:15-07:00\n#\n# See https://fly.io/docs/reference/configuration/ for information about how to use this file.\n#\n\napp = 'openui'\nprimary_region = 'sjc'\n\n[http_service]\ninternal_port = 7878\nforce_https = true\nauto_stop_machines = true\nauto_start_machines = true\nmin_machines_running = 0\nprocesses = ['app']\n\n[mounts]\nsource = \"openui_data\"\ndestination = \"/root/.openui\"\n\n[env]\nOPENUI_ENVIRONMENT = \"production\"\nOPENUI_HOST = \"https://openui.fly.dev\"\nGITHUB_CLIENT_ID = \"3af8fbeb90d06484dff0\"\nWANDB_ENTITY = \"wandb\"\nWANDB_PROJECT = \"openui-hosted\"\n\n[[vm]]\nmemory = '1gb'\ncpu_kind = 'shared'\ncpus = 1\n"
  },
  {
    "path": "backend/openui/__init__.py",
    "content": ""
  },
  {
    "path": "backend/openui/__main__.py",
    "content": "from pathlib import Path\nfrom .logs import setup_logger\nfrom . import server\nfrom . import config\nfrom .litellm import generate_config\nimport os\nimport uvicorn\nfrom uvicorn import Config\nimport sys\nimport subprocess\nimport time\n\n\ndef is_running_in_docker():\n    # Check for the .dockerenv file\n    if os.path.exists(\"/.dockerenv\"):\n        return True\n\n    # Check for Docker-related entries in /proc/self/cgroup\n    try:\n        with open(\"/proc/self/cgroup\", \"r\") as file:\n            for line in file:\n                if \"docker\" in line:\n                    return True\n    except Exception as e:\n        pass\n\n    if config.ENV == config.Env.PROD:\n        return True\n\n    return False\n\n\nif __name__ == \"__main__\":\n    ui = any([arg == \"-i\" for arg in sys.argv])\n    litellm = (\n        any([arg == \"--litellm\" for arg in sys.argv])\n        or \"OPENUI_LITELLM_CONFIG\" in os.environ\n        or os.path.exists(\"litellm-config.yaml\")\n    )\n    # TODO: only render in interactive mode?\n    print(\n        (Path(__file__).parent / \"logo.ascii\").read_text(), file=sys.stderr, flush=True\n    )\n    logger = setup_logger(\"/tmp/openui.log\" if ui else None)\n    logger.info(\"Starting OpenUI AI Server created by W&B...\")\n\n    reload = any([arg == \"--dev\" for arg in sys.argv])\n    if reload:\n        config.ENV = config.Env.DEV\n        logger.info(\"Running in dev mode\")\n\n    try:\n        from .tui.app import OpenUIApp\n\n        app = OpenUIApp()\n        server.queue = app.queue\n    except ImportError:\n        if ui:\n            logger.warning(\n                \"Install OpenUI with pip install .[tui] to use the terminal UI\"\n            )\n        ui = False\n\n    config_file = Path(__file__).parent / \"log_config.yaml\"\n    api_server = server.Server(\n        Config(\n            \"openui.server:app\",\n            host=\"0.0.0.0\" if is_running_in_docker() else \"127.0.0.1\",\n            log_config=str(config_file) if ui else None,\n            port=config.PORT,\n            reload=reload,\n        )\n    )\n    if ui:\n        with api_server.run_in_thread():\n            logger.info(\"Running Terminal UI App\")\n            app.run()\n    else:\n        if litellm:\n            config_path = \"litellm-config.yaml\"\n            if \"OPENUI_LITELLM_CONFIG\" in os.environ:\n                config_path = os.environ[\"OPENUI_LITELLM_CONFIG\"]\n            elif os.path.exists(\"/app/litellm-config.yaml\"):\n                config_path = \"/app/litellm-config.yaml\"\n            else:\n                config_path = generate_config()\n\n            logger.info(\n                f\"Starting LiteLLM in the background with config: {config_path}\"\n            )\n            litellm_process = subprocess.Popen(\n                [\"litellm\", \"--config\", config_path, \"--port\", \"4000\"],\n                stdout=subprocess.PIPE,\n                stderr=subprocess.PIPE,\n                text=True,\n            )\n            # Ensure litellm stays up for 5 seconds\n            for i in range(5):\n                if litellm_process.poll() is not None:\n                    stdout, stderr = litellm_process.communicate()\n                    logger.error(f\"LiteLLM failed to start:\\n{stderr}\")\n                    break\n                time.sleep(1)\n        logger.info(\"Running API Server\")\n        mkcert_dir = Path.home() / \".vite-plugin-mkcert\"\n\n        if reload:\n            # TODO: hot reload wasn't working with the server approach, and ctrl-C doesn't\n            # work with the uvicorn.run approach, so here we are\n            uvicorn.run(\n                \"openui.server:app\",\n                host=\"0.0.0.0\" if is_running_in_docker() else \"127.0.0.1\",\n                port=config.PORT,\n                reload=reload,\n            )\n        else:\n            api_server.run_with_wandb()\n"
  },
  {
    "path": "backend/openui/config.py",
    "content": "import os\nfrom pathlib import Path\nimport secrets\nfrom urllib.parse import urlparse\nfrom enum import Enum\n\n\nclass Env(Enum):\n    LOCAL = 1\n    PROD = 2\n    DEV = 3\n\n\ntry:\n    env = os.getenv(\"OPENUI_ENVIRONMENT\", \"local\")\n    if env == \"production\":\n        env = \"prod\"\n    elif env == \"development\":\n        env = \"dev\"\n    ENV = Env[env.upper()]\nexcept KeyError:\n    print(\"Invalid environment, defaulting to running locally\")\n    ENV = Env.LOCAL\n\ndefault_db = Path.home() / \".openui\" / \"db.sqlite\"\ndefault_db.parent.mkdir(exist_ok=True)\nDB = os.getenv(\"DATABASE\", default_db)\nHOST = os.getenv(\n    \"OPENUI_HOST\",\n    \"https://localhost:5173\" if ENV == Env.DEV else \"http://localhost:7878\",\n)\nRP_ID = urlparse(HOST).hostname\nSESSION_KEY = os.getenv(\"OPENUI_SESSION_KEY\")\nif SESSION_KEY is None:\n    env_path = Path.home() / \".openui\" / \".env\"\n    if env_path.exists():\n        SESSION_KEY = env_path.read_text().splitlines()[0].split(\"=\")[1]\n    else:\n        SESSION_KEY = secrets.token_hex(32)\n        with env_path.open(\"w\") as f:\n            f.write(f\"OPENUI_SESSION_KEY={SESSION_KEY}\")\n# Set the LITELLM_MASTER_KEY to a random value if it's not already set\nif os.getenv(\"LITELLM_MASTER_KEY\") is None:\n    os.environ[\"LITELLM_MASTER_KEY\"] = \"sk-{SESSION_KEY}\"\n# GPT 3.5 is 0.0005 per 1k tokens input and 0.0015 output\n# 700k puts us at a max of $1.00 spent per user over a 48 hour period\nMAX_TOKENS = int(os.getenv(\"OPENUI_MAX_TOKENS\", \"700000\"))\nGITHUB_CLIENT_ID = os.getenv(\"GITHUB_CLIENT_ID\")\nGITHUB_CLIENT_SECRET = os.getenv(\"GITHUB_CLIENT_SECRET\")\n\nAWS_ENDPOINT_URL_S3 = os.getenv(\"AWS_ENDPOINT_URL_S3\")\nAWS_ACCESS_KEY_ID = os.getenv(\"AWS_ACCESS_KEY_ID\")\nAWS_SECRET_ACCESS_KEY = os.getenv(\"AWS_SECRET_ACCESS_KEY\")\nBUCKET_NAME = os.getenv(\"BUCKET_NAME\", \"openui\")\n\n# Cors, if you're hosting the annotator iframe elsewhere, add it here\nCORS_ORIGINS = os.getenv(\n    \"OPENUI_CORS_ORIGINS\", \"https://wandb.github.io,https://localhost:5173\"\n).split(\",\")\n\n# Model providers\nOLLAMA_HOST = os.getenv(\"OLLAMA_HOST\", \"http://127.0.0.1:11434\")\nOPENAI_BASE_URL = os.getenv(\"OPENAI_BASE_URL\", \"https://api.openai.com/v1\")\nOPENAI_API_KEY = os.getenv(\"OPENAI_API_KEY\", \"xxx\")\nGROQ_BASE_URL = os.getenv(\"GROQ_BASE_URL\", \"https://api.groq.com/openai/v1\")\nGROQ_API_KEY = os.getenv(\"GROQ_API_KEY\")\nLITELLM_API_KEY = os.getenv(\"LITELLM_API_KEY\", os.getenv(\"LITELLM_MASTER_KEY\"))\nLITELLM_BASE_URL = os.getenv(\"LITELLM_BASE_URL\", \"http://0.0.0.0:4000\")\nPORT = int(os.getenv(\"PORT\", 7878))\n"
  },
  {
    "path": "backend/openui/config.yaml",
    "content": "litellm_settings:\n#  callbacks: callbacks.weave_handler\n"
  },
  {
    "path": "backend/openui/db/models.py",
    "content": "from peewee import (\n    Model,\n    BinaryUUIDField,\n    BooleanField,\n    CharField,\n    IntegerField,\n    DateField,\n    CompositeKey,\n    DateTimeField,\n    ForeignKeyField,\n    OperationalError,\n    fn,\n)\nimport uuid\nimport datetime\nfrom playhouse.sqlite_ext import SqliteExtDatabase, JSONField\nfrom playhouse.migrate import SqliteMigrator, migrate\nfrom openui import config\n\ndatabase = SqliteExtDatabase(\n    config.DB,\n    pragmas=(\n        (\"cache_size\", -1024 * 64),  # 64MB page-cache.\n        (\"journal_mode\", \"wal\"),  # Use WAL-mode\n        (\"foreign_keys\", 1),\n    ),\n)\nmigrator = SqliteMigrator(database)\n\n\nclass BaseModel(Model):\n    class Meta:\n        database = database\n\n\nclass SchemaMigration(BaseModel):\n    version = CharField()\n\n\nclass User(BaseModel):\n    id = BinaryUUIDField(primary_key=True)\n    username = CharField(unique=True)\n    email = CharField(null=True)\n    created_at = DateTimeField()\n\n\nclass Credential(BaseModel):\n    credential_id = CharField(primary_key=True)\n    public_key = CharField()\n    sign_count = IntegerField()\n    aaguid = CharField(null=True)\n    user_verified = BooleanField(default=False)\n    user = ForeignKeyField(User, backref=\"credentials\")\n\n\nclass Session(BaseModel):\n    id = BinaryUUIDField(primary_key=True)\n    user = ForeignKeyField(User, backref=\"sessions\")\n    data = JSONField()\n    created_at = DateTimeField()\n    updated_at = DateTimeField()\n\n\nclass Component(BaseModel):\n    id = BinaryUUIDField(primary_key=True)\n    name = CharField()\n    user = ForeignKeyField(User, backref=\"components\")\n    data = JSONField()\n\n\nclass Vote(BaseModel):\n    id = BinaryUUIDField(primary_key=True)\n    user = ForeignKeyField(User, backref=\"votes\")\n    component = ForeignKeyField(Component, backref=\"votes\")\n    vote = BooleanField()\n    created_at = DateTimeField()\n\n\nclass Usage(BaseModel):\n    input_tokens = IntegerField()\n    output_tokens = IntegerField()\n    day = DateField()\n    user = ForeignKeyField(User, backref=\"usage\")\n\n    class Meta:\n        primary_key = CompositeKey(\"user\", \"day\")\n\n    @classmethod\n    def update_tokens(cls, user_id: str, input_tokens: int, output_tokens: int):\n        Usage.insert(\n            user_id=uuid.UUID(user_id).bytes,\n            day=datetime.datetime.now().date(),\n            input_tokens=input_tokens,\n            output_tokens=output_tokens,\n        ).on_conflict(\n            conflict_target=[Usage.user_id, Usage.day],\n            update={\n                Usage.input_tokens: Usage.input_tokens + input_tokens,\n                Usage.output_tokens: Usage.output_tokens + output_tokens,\n            },\n        ).execute()\n\n    @classmethod\n    def tokens_since(cls, user_id: str, day: datetime.date) -> int:\n        return (\n            Usage.select(\n                fn.SUM(Usage.input_tokens + Usage.output_tokens).alias(\"tokens\")\n            )\n            .where(Usage.user_id == uuid.UUID(user_id).bytes, Usage.day >= day)\n            .get()\n            .tokens\n            or 0\n        )\n\n\nCURRENT_VERSION = \"2024-05-14\"\n\n\ndef alter(schema: SchemaMigration, ops: list[list], version: str) -> bool:\n    try:\n        migrate(*ops)\n    except OperationalError as e:\n        print(\"Migration failed\", e)\n        return False\n    schema.version = version\n    schema.save()\n    print(f\"Migrated {version}\")\n    return version != CURRENT_VERSION\n\n\ndef perform_migration(schema: SchemaMigration) -> bool:\n    if schema.version == \"2024-03-08\":\n        version = \"2024-03-12\"\n        aaguid = CharField(null=True)\n        user_verified = BooleanField(default=False)\n        altered = alter(\n            schema,\n            [\n                migrator.add_column(\"credential\", \"aaguid\", aaguid),\n                migrator.add_column(\"credential\", \"user_verified\", user_verified),\n            ],\n            version,\n        )\n        if altered:\n            perform_migration(schema)\n    if schema.version == \"2024-03-12\":\n        version = \"2024-05-14\"\n        database.create_tables([Vote])\n        schema.version = version\n        schema.save()\n        if version != CURRENT_VERSION:\n            perform_migration(schema)\n\n\ndef ensure_migrated():\n    if not config.DB.exists():\n        database.create_tables(\n            [User, Credential, Session, Component, SchemaMigration, Usage, Vote]\n        )\n        SchemaMigration.create(version=CURRENT_VERSION)\n    else:\n        schema = SchemaMigration.select().first()\n        if schema.version != CURRENT_VERSION:\n            perform_migration(schema)\n"
  },
  {
    "path": "backend/openui/dist/annotator/index.html",
    "content": "<html>\n\t<head>\n\t\t<script src=\"https://cdn.tailwindcss.com?plugins=forms,typography\"></script>\n\t\t<script src=\"https://unpkg.com/unlazy@0.11.3/dist/unlazy.with-hashing.iife.js\"></script>\n\t\t<link\n\t\t\trel=\"stylesheet\"\n\t\t\thref=\"https://unpkg.com/@highlightjs/cdn-assets@11.9.0/styles/default.min.css\"\n\t\t/>\n\t\t<script src=\"https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js\"></script>\n\t\t<script src=\"https://unpkg.com/html2canvas@1.4.1/dist/html2canvas.min.js\"></script>\n\t\t<script src=\"https://unpkg.com/theroomjs@2.1.6/dist/theroom.min.js\"></script>\n\t\t<script type=\"text/javascript\">\n\t\t\twindow.tailwind.config = {\n\t\t\t\tdarkMode: ['class'],\n\t\t\t\ttheme: {\n\t\t\t\t\textend: {\n\t\t\t\t\t\tcolors: {\n\t\t\t\t\t\t\tborder: 'hsl(var(--border))',\n\t\t\t\t\t\t\tinput: 'hsl(var(--input))',\n\t\t\t\t\t\t\tring: 'hsl(var(--ring))',\n\t\t\t\t\t\t\tbackground: 'hsl(var(--background))',\n\t\t\t\t\t\t\tforeground: 'hsl(var(--foreground))',\n\t\t\t\t\t\t\tprimary: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--primary))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--primary-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsecondary: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--secondary))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--secondary-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdestructive: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--destructive))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--destructive-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tmuted: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--muted))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--muted-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\taccent: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--accent))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--accent-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpopover: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--popover))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--popover-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcard: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--card))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--card-foreground))'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tkeyframes: {\n\t\t\t\t\t\t\tblurOut: {\n\t\t\t\t\t\t\t\t'0%': { filter: 'blur(0px)', opacity: '1' },\n\t\t\t\t\t\t\t\t'100%': { filter: 'blur(10px)', opacity: '0' }\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tblurIn: {\n\t\t\t\t\t\t\t\t'0%': { filter: 'blur(10px)', opacity: '0' },\n\t\t\t\t\t\t\t\t'100%': { filter: 'blur(0px)', opacity: '1' }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tanimation: {\n\t\t\t\t\t\t\tblurOut: 'blurOut 0.5s ease-out',\n\t\t\t\t\t\t\tblurIn: 'blurIn 0.5s ease-out'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t</script>\n\t\t<style type=\"text/css\">\n\t\t\t#loading-icon {\n\t\t\t\ttext-align: center;\n\t\t\t\tmargin: 0 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.selected {\n\t\t\t\tposition: absolute;\n\t\t\t\tz-index: 49;\n\t\t\t\tborder: 2px dashed hsl(41 99% 64%);\n\t\t\t\tborder-radius: 3px;\n\t\t\t}\n\t\t\t.inspector-element {\n\t\t\t\tposition: absolute;\n\t\t\t\tz-index: 100;\n\t\t\t\tpointer-events: none;\n\t\t\t\tborder: 1px dashed hsl(283 89% 70%);\n\t\t\t\tbox-shadow: 0 0 3px hsl(283 89% 70%);\n\t\t\t\tanimation: pulseGlow 1s infinite ease-in-out;\n\t\t\t\tborder-radius: 2px;\n\t\t\t\ttransition: all 250ms ease-in-out;\n\t\t\t\tbackground-color: rgba(250, 250, 250, 0.1);\n\t\t\t}\n\t\t\t#wrapper {\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t.loader {\n\t\t\t\twidth: 200px;\n\t\t\t\tmargin: auto;\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: row;\n\t\t\t}\n\t\t\t.shape-contain {\n\t\t\t\twidth: 50px;\n\t\t\t\tmargin: 12px;\n\t\t\t}\n\t\t\t.shape {\n\t\t\t\twidth: 50px;\n\t\t\t\theight: 50px;\n\t\t\t\tbackground-color: #e4e6eb;\n\t\t\t\tborder-radius: 2px;\n\t\t\t\tmargin: 0 auto;\n\t\t\t\tposition: relative;\n\t\t\t\tanimation: morph 3s ease-in-out infinite;\n\t\t\t}\n\t\t\t.shape_1 {\n\t\t\t\tborder-radius: 50px;\n\t\t\t\twidth: 50px;\n\t\t\t}\n\t\t\t.shape_2 {\n\t\t\t\tborder-radius: 2px 2px 50px 50px;\n\t\t\t\twidth: 50px;\n\t\t\t\tanimation-delay: -2s;\n\t\t\t}\n\t\t\t.shape_3 {\n\t\t\t\tborder-radius: 2px;\n\t\t\t\twidth: 25px;\n\t\t\t\tanimation-delay: -1s;\n\t\t\t}\n\t\t\t@keyframes morph {\n\t\t\t\t0% {\n\t\t\t\t\tborder-radius: 50px;\n\t\t\t\t\twidth: 50px;\n\t\t\t\t}\n\t\t\t\t11.11% {\n\t\t\t\t}\n\t\t\t\t22.22% {\n\t\t\t\t\tborder-radius: 50px;\n\t\t\t\t\twidth: 50px;\n\t\t\t\t}\n\t\t\t\t33.33% {\n\t\t\t\t\tborder-radius: 2px 2px 50px 50px;\n\t\t\t\t\twidth: 50px;\n\t\t\t\t}\n\t\t\t\t44.44% {\n\t\t\t\t}\n\t\t\t\t55.55% {\n\t\t\t\t\tborder-radius: 2px 2px 50px 50px;\n\t\t\t\t\twidth: 50px;\n\t\t\t\t}\n\t\t\t\t66.66% {\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\twidth: 25px;\n\t\t\t\t}\n\t\t\t\t77.77% {\n\t\t\t\t}\n\t\t\t\t88.88% {\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\twidth: 25px;\n\t\t\t\t}\n\t\t\t\t100% {\n\t\t\t\t\tborder-radius: 50px;\n\t\t\t\t\twidth: 50px;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@keyframes pulseGlow {\n\t\t\t\t0% {\n\t\t\t\t\tbox-shadow: 0 0 3px hsl(283 89% 70%);\n\t\t\t\t}\n\t\t\t\t50% {\n\t\t\t\t\tbox-shadow: 0 0 8px hsl(283 80% 40%);\n\t\t\t\t}\n\t\t\t\t100% {\n\t\t\t\t\tbox-shadow: 0 0 3px hsl(283 89% 70%);\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t\t<style type=\"text/tailwindcss\">\n\t\t\t@layer base {\n\t\t\t\t:root {\n\t\t\t\t\t--background: 0 0% 100%;\n\t\t\t\t\t--foreground: 240 10% 3.9%;\n\t\t\t\t\t--card: 0 0% 100%;\n\t\t\t\t\t--card-foreground: 240 10% 3.9%;\n\t\t\t\t\t--popover: 0 0% 100%;\n\t\t\t\t\t--popover-foreground: 240 10% 3.9%;\n\t\t\t\t\t--primary: 240 5.9% 10%;\n\t\t\t\t\t--primary: 186 80% 41%;\n\t\t\t\t\t--primary-foreground: 0 0% 98%;\n\t\t\t\t\t--secondary: 240 4.8% 95.9%;\n\t\t\t\t\t--secondary-foreground: 240 5.9% 10%;\n\t\t\t\t\t--muted: 240 4.8% 95.9%;\n\t\t\t\t\t--muted-foreground: 240 3.8% 46.1%;\n\t\t\t\t\t--accent: 240 4.8% 95.9%;\n\t\t\t\t\t--accent-foreground: 240 5.9% 10%;\n\t\t\t\t\t--destructive: 0 84.2% 60.2%;\n\t\t\t\t\t--destructive-foreground: 0 0% 98%;\n\t\t\t\t\t--border: 240 5.9% 90%;\n\t\t\t\t\t--input: 240 5.9% 90%;\n\t\t\t\t\t--ring: 240 10% 3.9%;\n\t\t\t\t\t--radius: 0.5rem;\n\t\t\t\t}\n\n\t\t\t\t.dark {\n\t\t\t\t\t--background: 240 10% 3.9%;\n\t\t\t\t\t--foreground: 0 0% 98%;\n\t\t\t\t\t--card: 240 10% 3.9%;\n\t\t\t\t\t--card-foreground: 0 0% 98%;\n\t\t\t\t\t--popover: 240 10% 3.9%;\n\t\t\t\t\t--popover-foreground: 0 0% 98%;\n\t\t\t\t\t--primary: 0 0% 98%;\n\t\t\t\t\t--primary-foreground: 240 5.9% 10%;\n\t\t\t\t\t--secondary: 240 3.7% 15.9%;\n\t\t\t\t\t--secondary-foreground: 0 0% 98%;\n\t\t\t\t\t--muted: 240 3.7% 15.9%;\n\t\t\t\t\t--muted-foreground: 240 5% 64.9%;\n\t\t\t\t\t--accent: 240 3.7% 15.9%;\n\t\t\t\t\t--accent-foreground: 0 0% 98%;\n\t\t\t\t\t--destructive: 0 62.8% 30.6%;\n\t\t\t\t\t--destructive-foreground: 0 0% 98%;\n\t\t\t\t\t--border: 240 3.7% 15.9%;\n\t\t\t\t\t--input: 240 3.7% 15.9%;\n\t\t\t\t\t--ring: 240 4.9% 83.9%;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body\n\t\tclass=\"no-select items-top flex h-full w-full justify-center bg-background\"\n\t>\n\t\t<div\n\t\t\tid=\"loading-icon\"\n\t\t\tclass=\"flex h-screen w-screen items-center justify-center\"\n\t\t>\n\t\t\t<div class=\"loader\">\n\t\t\t\t<div class=\"shape-contain\">\n\t\t\t\t\t<div class=\"shape shape_1\"></div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"shape-contain\">\n\t\t\t\t\t<div class=\"shape shape_2\"></div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"shape-contain\">\n\t\t\t\t\t<div class=\"shape shape_3\"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"no-select animate-blurIn relative hidden w-full\" id=\"wrapper\">\n\t\t\t${body}\n\t\t</div>\n\t\t<div\n\t\t\tid=\"prompt\"\n\t\t\tclass=\"no-select absolute z-50 origin-top scale-0 transform rounded-md border border-zinc-200 bg-background text-zinc-700 shadow-lg transition-all duration-300 dark:border-zinc-700 dark:text-zinc-300\"\n\t\t>\n\t\t\t<div class=\"p-4 text-xs\">\n\t\t\t\t<h3 class=\"text-base font-semibold\">How do you want this to change?</h3>\n\t\t\t\t<input\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"mt-2 w-[300px] rounded-md border border-zinc-200 px-4 py-2 text-zinc-600 focus:outline-none focus:ring-2 focus:ring-primary\"\n\t\t\t\t/>\n\t\t\t\t<button\n\t\t\t\t\tclass=\"ml-2 mt-4 rounded-md bg-primary p-2 text-white\"\n\t\t\t\t\tid=\"submit\"\n\t\t\t\t>\n\t\t\t\t\tSubmit\n\t\t\t\t</button>\n\t\t\t\t<button\n\t\t\t\t\tclass=\"border-black-500 ml-2 mt-4 rounded-md border-2 border-solid p-2\"\n\t\t\t\t\tid=\"cancel\"\n\t\t\t\t>\n\t\t\t\t\tCancel\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n\t<script type=\"text/javascript\">\n\t\t// Setup the room\n\t\twindow.theRoom.configure({\n\t\t\tblockRedirection: false,\n\t\t\tcreateInspector: true,\n\t\t\texcludes: ['.no-select']\n\t\t})\n\t\tfunction clearInspector() {\n\t\t\tconst inspector = document.querySelector('.inspector-element')\n\t\t\tif (inspector) {\n\t\t\t\tinspector.style.top = '50%'\n\t\t\t\tinspector.style.left = '50%'\n\t\t\t\tinspector.style.width = ''\n\t\t\t\tinspector.style.height = ''\n\t\t\t\tinspector.style.border = 'none'\n\t\t\t\tinspector.style.boxShadow = 'none'\n\t\t\t}\n\t\t}\n\t\tlet inspectorEnabled = false\n\t\t// State TODO: maybe hydrate this from the parent\n\t\tlet commentIdx = 0\n\t\tlet selectedElements = []\n\t\t// Reset the inspector every 5 seconds\n\t\tlet interval = null\n\t\t// TODO: support more\n\t\tlet colors = [\n\t\t\t'hsl(186 85% 45%)',\n\t\t\t'green',\n\t\t\t'orange',\n\t\t\t'yellow',\n\t\t\t'red',\n\t\t\t'purple'\n\t\t]\n\t\tlet moved = false\n\t\tdocument.addEventListener('mousemove', () => (moved = true))\n\t\tdocument\n\t\t\t.getElementById('wrapper')\n\t\t\t.addEventListener('mouseleave', clearInspector)\n\t\tfunction reset() {\n\t\t\tclearInterval(interval)\n\t\t\tinterval = setInterval(() => {\n\t\t\t\tif (!moved) {\n\t\t\t\t\tclearInspector()\n\t\t\t\t} else {\n\t\t\t\t\tmoved = false\n\t\t\t\t}\n\t\t\t}, 3000)\n\t\t}\n\t\treset()\n\n\t\t// TODO: might not need this if we just refactor the click handler\n\t\tfunction reinitInspector(target, inspector) {\n\t\t\tvar pos = target.getBoundingClientRect()\n\t\t\tvar scrollTop = window.scrollY || document.documentElement.scrollTop\n\t\t\tvar scrollLeft = window.scrollX || document.documentElement.scrollLeft\n\t\t\tvar width = pos.width + 8\n\t\t\tvar height = pos.height + 8\n\t\t\tvar top = Math.max(-4, pos.top + scrollTop - 4)\n\t\t\tvar left = Math.max(-4, pos.left + scrollLeft - 4)\n\n\t\t\tinspector.style.top = top + 'px'\n\t\t\tinspector.style.left = left + 'px'\n\t\t\tinspector.style.width = width + 'px'\n\t\t\tinspector.style.height = height + 'px'\n\t\t}\n\n\t\t// Reset state on escape, submit on enter\n\t\tdocument.addEventListener('keydown', e => {\n\t\t\tif (e.key === 'Escape') {\n\t\t\t\tclearInspector()\n\t\t\t\tlet p = document.getElementById('prompt')\n\t\t\t\tif (p.classList.contains('scale-100')) {\n\t\t\t\t\tp.querySelector('input').value = ''\n\t\t\t\t\tlet idx = p.dataset.commentIdx\n\t\t\t\t\tdocument\n\t\t\t\t\t\t.querySelectorAll('.selected-' + idx + ', .fix-legend-' + idx)\n\t\t\t\t\t\t.forEach(selected => {\n\t\t\t\t\t\t\tselected.parentNode.removeChild(selected)\n\t\t\t\t\t\t})\n\t\t\t\t\tp.classList.remove('scale-100')\n\t\t\t\t\tif (inspectorEnabled) {\n\t\t\t\t\t\twindow.theRoom.start()\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (e.key === 'Enter') {\n\t\t\t\tlet sub = document.getElementById('prompt').querySelector('#submit')\n\t\t\t\tsub.click()\n\t\t\t}\n\t\t})\n\n\t\twindow.addEventListener('resize', () => {\n\t\t\tdocument.querySelectorAll('.selected').forEach(selected => {\n\t\t\t\tlet selIdx = parseInt(selected.dataset.commentIdx)\n\t\t\t\tlet el = selectedElements[selIdx]\n\t\t\t\treinitInspector(el, selected)\n\t\t\t\tlet fix = document.querySelector(`.fix-legend-${selIdx + 1}`)\n\t\t\t\tfix.style.top = Math.max(3, parseFloat(selected.style.top) - 10) + 'px'\n\t\t\t\tfix.style.left = parseFloat(selected.style.left) + 5 + 'px'\n\t\t\t})\n\t\t})\n\n\t\twindow.theRoom.on('mouseover', function () {\n\t\t\tconst inspector = document.querySelector('.inspector-element')\n\t\t\tif (inspector) {\n\t\t\t\tinspector.style.border = ''\n\t\t\t\tinspector.style.boxShadow = ''\n\t\t\t}\n\t\t})\n\t\twindow.theRoom.on('click', function (element, event) {\n\t\t\tevent.preventDefault()\n\t\t\tevent.stopPropagation()\n\t\t\tclearInterval(interval)\n\t\t\t// TODO: reinit inspector here if it's gone\n\t\t\tlet inspector = document.querySelector('.inspector-element')\n\t\t\tif (inspector.style.border === 'none') {\n\t\t\t\treinitInspector(element, inspector)\n\t\t\t}\n\t\t\tlet selected = inspector.cloneNode()\n\t\t\tlet color = colors[commentIdx]\n\t\t\tselected.classList.add('selected')\n\t\t\tselected.classList.add('no-select')\n\t\t\tselected.classList.add('selected-' + commentIdx)\n\t\t\tselected.classList.remove('inspector-element')\n\t\t\tselected.dataset.commentIdx = commentIdx\n\t\t\tselected.style.borderColor = color\n\t\t\tif (element.parentNode.id === 'wrapper') {\n\t\t\t\t// TODO: think about this one more\n\t\t\t\tselected.style.zIndex = -1\n\t\t\t}\n\t\t\tlet prompt = document.getElementById('prompt')\n\t\t\tprompt.dataset.commentIdx = commentIdx\n\t\t\tprompt.classList.add('scale-100')\n\t\t\tprompt.style.top = event.clientY + 'px'\n\t\t\tprompt.style.left = '50%' // event.clientX + 'px'\n\t\t\tprompt.style.marginLeft = `-200px`\n\t\t\tlet input = prompt.querySelector('input')\n\t\t\tinput.focus()\n\t\t\tprompt.querySelector('#submit').addEventListener('click', () => {\n\t\t\t\tif (!input.value) {\n\t\t\t\t\tinput.focus()\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\taddComment(input.value)\n\t\t\t\tinput.value = ''\n\t\t\t\tprompt.classList.remove('scale-100')\n\t\t\t})\n\t\t\tprompt.querySelector('#cancel').addEventListener('click', () => {\n\t\t\t\tinput.value = ''\n\t\t\t\tprompt.classList.remove('scale-100')\n\t\t\t\tclearInspector()\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif (inspectorEnabled) {\n\t\t\t\t\t\twindow.theRoom.start()\n\t\t\t\t\t}\n\t\t\t\t\treset()\n\t\t\t\t}, 500)\n\t\t\t\tdocument\n\t\t\t\t\t.querySelectorAll(\n\t\t\t\t\t\t'.selected-' + commentIdx + ', .fix-legend-' + commentIdx\n\t\t\t\t\t)\n\t\t\t\t\t.forEach(selected => {\n\t\t\t\t\t\tselected.parentNode.removeChild(selected)\n\t\t\t\t\t})\n\t\t\t})\n\t\t\t// TODO: make it clear \"esc\" cancels\n\t\t\tdocument.body.append(selected)\n\t\t\tlet fix = document.createElement('div')\n\t\t\tfix.innerText = element.tagName\n\t\t\tfix.addEventListener('mouseenter', () => {\n\t\t\t\tconst cmt = document.createElement('div')\n\t\t\t\tcmt.innerText = text\n\t\t\t\tcmt.className =\n\t\t\t\t\t'p-2 rounded bg-white text-purple-500 italic absolute opacity-95 fix-comment'\n\t\t\t\tcmt.style.top = Math.max(3, parseFloat(selected.style.top)) + 'px'\n\t\t\t\tcmt.style.left = parseFloat(selected.style.left) + 'px'\n\t\t\t\tcmt.style.zIndex = 50\n\t\t\t\tdocument.body.append(cmt)\n\t\t\t})\n\t\t\tfix.addEventListener('mouseleave', () => {\n\t\t\t\tconst cmt = document.querySelector('.fix-comment')\n\t\t\t\tif (cmt) {\n\t\t\t\t\tcmt.parentNode.removeChild(cmt)\n\t\t\t\t}\n\t\t\t})\n\t\t\tfix.className = `no-select fix fix-legend-${commentIdx} italic text-white text-center font-mono text-[8px] px-2 pt-0 z-50`\n\t\t\t// TODO: use tailwind\n\t\t\tfix.style.border = '1px dashed ' + color\n\t\t\tfix.style.position = 'absolute'\n\t\t\tfix.style.height = '12px'\n\t\t\tfix.style.top = Math.max(3, parseFloat(selected.style.top) - 10) + 'px'\n\t\t\tfix.style.left = parseFloat(selected.style.left) + 5 + 'px'\n\t\t\tdocument.body.append(fix)\n\t\t\twindow.theRoom.stop()\n\t\t\tfunction addComment(text) {\n\t\t\t\t//let text = prompt('What would you like to fix about this?')\n\t\t\t\tif (text) {\n\t\t\t\t\tcommentIdx += 1\n\t\t\t\t\tlet c = document.createComment('FIX (' + commentIdx + '): ' + text)\n\t\t\t\t\telement.parentNode.insertBefore(c, element)\n\t\t\t\t\twindow.parent.parent.postMessage(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcomment: text,\n\t\t\t\t\t\t\tidx: commentIdx,\n\t\t\t\t\t\t\thtml: document.getElementById('wrapper').innerHTML\n\t\t\t\t\t\t},\n\t\t\t\t\t\t'*'\n\t\t\t\t\t)\n\t\t\t\t} else {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tselectedElements.push(element)\n\t\t\t\tclearInspector()\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\treset()\n\t\t\t\t}, 500)\n\t\t\t\tinspectorEnabled = false\n\t\t\t}\n\t\t})\n\n\t\tvar args = document.location.search.split('=')\n\t\tvar id = args[args.length - 1]\n\t\twindow.addEventListener('load', () => {\n\t\t\twindow.parent.parent.postMessage({ action: 'ready', id }, '*')\n\t\t})\n\n\t\twindow._go = function (cb) {\n\t\t\tif (document.readyState === 'complete') {\n\t\t\t\tcb()\n\t\t\t} else {\n\t\t\t\tdocument.addEventListener('DOMContentLoaded', cb)\n\t\t\t}\n\t\t}\n\n\t\t// Clear our initial blurIn animation\n\t\tsetTimeout(() => {\n\t\t\tdocument.getElementById('wrapper').classList.add('animate-blurIn')\n\t\t}, 500)\n\n\t\t// handle events from parent\n\t\twindow.addEventListener(\n\t\t\t'message',\n\t\t\tfunction (event) {\n\t\t\t\tif (event.data.action === 'take-screenshot') {\n\t\t\t\t\tdocument.body.style.width = '1024px'\n\t\t\t\t\tdocument.body.style.height = '768px'\n\t\t\t\t\thtml2canvas(document.body, {\n\t\t\t\t\t\tuseCors: true,\n\t\t\t\t\t\tforeignObjectRendering: true,\n\t\t\t\t\t\tallowTaint: true,\n\t\t\t\t\t\twindowWidth: 1024,\n\t\t\t\t\t\twindowHeight: 768\n\t\t\t\t\t}).then(function (canvas) {\n\t\t\t\t\t\tdocument.body.style.width = ''\n\t\t\t\t\t\tdocument.body.style.width = ''\n\t\t\t\t\t\tconst data = canvas.toDataURL('image/png')\n\t\t\t\t\t\twindow.parent.parent.postMessage(\n\t\t\t\t\t\t\t{ screenshot: data, action: 'screenshot', id },\n\t\t\t\t\t\t\t'*'\n\t\t\t\t\t\t)\n\t\t\t\t\t})\n\t\t\t\t} else if (event.data.action === 'reset') {\n\t\t\t\t\tif (inspectorEnabled) {\n\t\t\t\t\t\twindow.theRoom.stop()\n\t\t\t\t\t}\n\t\t\t\t\tlet wrapper = document.getElementById('wrapper')\n\t\t\t\t\twrapper.classList.add('animate-blurOut')\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\twrapper.classList.remove('animate-blurOut')\n\t\t\t\t\t\twrapper.classList.add('hidden')\n\t\t\t\t\t\twrapper.innerHTML = ''\n\t\t\t\t\t\tdocument.getElementById('loading-icon').classList.remove('hidden')\n\t\t\t\t\t}, 500)\n\t\t\t\t} else if (event.data.action === 'theme') {\n\t\t\t\t\tlet vars\n\t\t\t\t\tif (document.documentElement.classList.contains('dark')) {\n\t\t\t\t\t\tvars = event.data.theme.cssVars.dark\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvars = event.data.theme.cssVars.light\n\t\t\t\t\t}\n\t\t\t\t\tfor (const [k, v] of Object.entries(vars)) {\n\t\t\t\t\t\tdocument.documentElement.style.setProperty(`--${k}`, v)\n\t\t\t\t\t}\n\t\t\t\t} else if (event.data.action === 'hydrate') {\n\t\t\t\t\t// Always disable the inspector on hydration\n\t\t\t\t\tif (inspectorEnabled) {\n\t\t\t\t\t\twindow.theRoom.stop()\n\t\t\t\t\t}\n\t\t\t\t\tif (event.data.id && event.data.id !== id) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tdocument.getElementById('loading-icon').classList.add('hidden')\n\t\t\t\t\tlet wrapper = document.getElementById('wrapper')\n\t\t\t\t\twrapper.innerHTML = event.data.html\n\t\t\t\t\twrapper.classList.remove('hidden')\n\t\t\t\t\t// highlight any codeblocks\n\t\t\t\t\thljs.highlightAll()\n\t\t\t\t\tif (!event.data.rendering) {\n\t\t\t\t\t\twrapper.classList.add('animate-blurIn')\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\twrapper.classList.remove('animate-blurIn')\n\t\t\t\t\t\t}, 500)\n\t\t\t\t\t\twrapper.querySelectorAll('img').forEach(img => {\n\t\t\t\t\t\t\timg.crossOrigin = 'anonymous'\n\t\t\t\t\t\t})\n\t\t\t\t\t\t// Load our pretty images with the fancy unlazy loader!\n\t\t\t\t\t\tUnLazy.lazyLoad()\n\t\t\t\t\t}\n\t\t\t\t\tif (event.data.darkMode) {\n\t\t\t\t\t\tdocument.documentElement.classList.add('dark')\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdocument.documentElement.classList.remove('dark')\n\t\t\t\t\t}\n\t\t\t\t\tdocument.querySelectorAll('.user-script').forEach(scr => {\n\t\t\t\t\t\tscr.parentNode.removeChild(scr)\n\t\t\t\t\t})\n\t\t\t\t\t// Only inject scripts if we're not rendering\n\t\t\t\t\tif (!event.data.rendering) {\n\t\t\t\t\t\tevent.data.js.forEach(js => {\n\t\t\t\t\t\t\tconst script = document.createElement('script')\n\t\t\t\t\t\t\tscript.classList.add('user-script')\n\t\t\t\t\t\t\tscript.type = js.type\n\t\t\t\t\t\t\tif (js.src) script.setAttribute('src', js.src)\n\t\t\t\t\t\t\t// Close our JS to avoid conflicts\n\t\t\t\t\t\t\tscript.text = `(()=>{${js.text}})()`\n\t\t\t\t\t\t\tdocument.body.append(script)\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\t// Remove our selected elements\n\t\t\t\t\tselectedElements = []\n\t\t\t\t\tcommentIdx = 0\n\t\t\t\t\tvar elements = document.querySelectorAll('.selected, .fix')\n\t\t\t\t\telements.forEach(function (element) {\n\t\t\t\t\t\telement.parentNode.removeChild(element)\n\t\t\t\t\t})\n\t\t\t\t\t// TODO: maybe delay this a bit\n\t\t\t\t\twindow.parent.parent.postMessage(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpreview: wrapper.hasChildNodes(),\n\t\t\t\t\t\t\theight: document.body.scrollHeight,\n\t\t\t\t\t\t\taction: 'loaded',\n\t\t\t\t\t\t\tid: id\n\t\t\t\t\t\t},\n\t\t\t\t\t\t'*'\n\t\t\t\t\t)\n\t\t\t\t\t// state = event.data.state\n\t\t\t\t} else if (event.data.action === 'toggle-dark-mode') {\n\t\t\t\t\tif (event.data.id && event.data.id !== id) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tconst isDark = document.documentElement.classList.contains('dark')\n\t\t\t\t\tconst newModeDark =\n\t\t\t\t\t\tevent.data.mode === 'dark' ||\n\t\t\t\t\t\t(!isDark && event.data.mode !== 'light')\n\t\t\t\t\tif (newModeDark) {\n\t\t\t\t\t\tdocument.documentElement.classList.add('dark')\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdocument.documentElement.classList.remove('dark')\n\t\t\t\t\t}\n\t\t\t\t} else if (event.data.action === 'toggle-inspector') {\n\t\t\t\t\tif (inspectorEnabled) {\n\t\t\t\t\t\twindow.theRoom.stop()\n\t\t\t\t\t} else {\n\t\t\t\t\t\twindow.theRoom.start()\n\t\t\t\t\t}\n\t\t\t\t\tinspectorEnabled = !inspectorEnabled\n\t\t\t\t}\n\t\t\t},\n\t\t\tfalse\n\t\t)\n\t</script>\n</html>\n"
  },
  {
    "path": "backend/openui/dist/assets/CodeEditor-B1zwGt1y.css",
    "content": ".monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: \"SF Mono\", Monaco, Menlo, Consolas, \"Ubuntu Mono\", \"Liberation Mono\", \"DejaVu Sans Mono\", \"Courier New\", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%)}.monaco-editor,.monaco-diff-editor .synthetic-focus,.monaco-diff-editor [tabindex=\"0\"]:focus,.monaco-diff-editor [tabindex=\"-1\"]:focus,.monaco-diff-editor button:focus,.monaco-diff-editor input[type=button]:focus,.monaco-diff-editor input[type=checkbox]:focus,.monaco-diff-editor input[type=search]:focus,.monaco-diff-editor input[type=text]:focus,.monaco-diff-editor select:focus,.monaco-diff-editor textarea:focus{outline-width:1px;outline-style:solid;outline-offset:-1px;outline-color:var(--vscode-focusBorder);opacity:1}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground);background-color:var(--vscode-editor-background)}.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .view-overlays>div,.monaco-editor .margin-view-overlays>div{position:absolute;width:100%}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:\"\";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:\"\";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:\"\";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;-webkit-text-decoration-color:var(--vscode-editor-foreground, inherit);text-decoration-color:var(--vscode-editor-foreground, inherit)}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .margin-view-overlays .line-numbers{bottom:0;font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box;height:100%}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute;height:100%}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .glyph-margin-widgets .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box;height:100%}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background, var(--vscode-editor-background));color:var(--vscode-button-foreground, var(--vscode-editor-foreground));border-width:1px;border-style:solid;border-color:var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{-moz-user-select:text;user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{-moz-user-select:initial;-ms-user-select:initial;user-select:initial;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .lines-content>.view-lines>.view-line>span{top:0;bottom:0;position:absolute}.monaco-editor .mtkw{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .minimap{z-index:5}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-workbench .workbench-hover{position:relative;font-size:13px;line-height:19px;z-index:40;overflow:hidden;max-width:700px;background:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;color:var(--vscode-editorHoverWidget-foreground);box-shadow:0 2px 8px var(--vscode-widget-shadow)}.monaco-workbench .workbench-hover hr{border-bottom:none}.monaco-workbench .workbench-hover:not(.skip-fade-in){animation:fadein .1s linear}.monaco-workbench .workbench-hover.compact{font-size:12px}.monaco-workbench .workbench-hover.compact .hover-contents{padding:2px 8px}.monaco-workbench .workbench-hover-container.locked .workbench-hover{outline:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .workbench-hover-container.locked .workbench-hover:focus,.monaco-workbench .workbench-hover-lock:focus{outline:1px solid var(--vscode-focusBorder)}.monaco-workbench .workbench-hover-container.locked .workbench-hover-lock:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .workbench-hover-pointer{position:absolute;z-index:41;pointer-events:none}.monaco-workbench .workbench-hover-pointer:after{content:\"\";position:absolute;width:5px;height:5px;background-color:var(--vscode-editorHoverWidget-background);border-right:1px solid var(--vscode-editorHoverWidget-border);border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .locked .workbench-hover-pointer:after{width:4px;height:4px;border-right-width:2px;border-bottom-width:2px}.monaco-workbench .workbench-hover-pointer.left{left:-3px}.monaco-workbench .workbench-hover-pointer.right{right:3px}.monaco-workbench .workbench-hover-pointer.top{top:-3px}.monaco-workbench .workbench-hover-pointer.bottom{bottom:3px}.monaco-workbench .workbench-hover-pointer.left:after{transform:rotate(135deg)}.monaco-workbench .workbench-hover-pointer.right:after{transform:rotate(315deg)}.monaco-workbench .workbench-hover-pointer.top:after{transform:rotate(225deg)}.monaco-workbench .workbench-hover-pointer.bottom:after{transform:rotate(45deg)}.monaco-workbench .workbench-hover a{color:var(--vscode-textLink-foreground)}.monaco-workbench .workbench-hover a:focus{outline:1px solid;outline-offset:-1px;text-decoration:underline;outline-color:var(--vscode-focusBorder)}.monaco-workbench .workbench-hover a:hover,.monaco-workbench .workbench-hover a:active{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .workbench-hover code{background:var(--vscode-textCodeBlock-background)}.monaco-workbench .workbench-hover .hover-row .actions{background:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-workbench .workbench-hover.right-aligned{left:1px}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions{flex-direction:row-reverse}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container{margin-right:0;margin-left:16px}.monaco-hover{cursor:default;position:absolute;overflow:hidden;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-user-select:text;box-sizing:border-box;animation:fadein .1s linear;line-height:1.5em;white-space:var(--vscode-hover-whiteSpace, normal)}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:var(--vscode-hover-maxWidth, 500px);word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:var(--vscode-hover-sourceWhiteSpace, pre-wrap)}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px;width:100%}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:\"(\"}.monaco-hover .hover-contents a.code-link:after{content:\")\"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content{padding-right:2px;padding-bottom:2px;box-sizing:border-box}.monaco-hover-content .action-container a{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.rendered-markdown li:has(input[type=checkbox]){list-style-type:none}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list .monaco-scrollable-element>.scrollbar.vertical,.monaco-pane-view>.monaco-split-view2.vertical>.monaco-scrollable-element>.scrollbar.vertical{z-index:14}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-select-box-dropdown-padding{--dropdown-padding-top: 1px;--dropdown-padding-bottom: 1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top: 3px;--dropdown-padding-bottom: 4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0px}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{display:flex;font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{color:var(--vscode-disabledForeground)}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px #0F4A85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-light .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-action-bar .checkbox-action-item{display:flex;align-items:center}.monaco-action-bar .checkbox-action-item>.monaco-custom-toggle.monaco-checkbox{margin-right:4px}.monaco-action-bar .checkbox-action-item>.checkbox-label{font-size:12px}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-radius:inherit}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px 6px 6px 11px}.quick-input-header .quick-input-description{margin:4px 2px;flex:1}.quick-input-header{display:flex;padding:8px 6px 2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index=\"0\"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-icon{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;display:flex;align-items:center;justify-content:center}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight{font-weight:700;background-color:unset;color:var(--vscode-list-highlightForeground)!important}.quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight{color:var(--vscode-list-focusHighlightForeground)!important}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry.focus-inside .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.passive-focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.quick-input-list .quick-input-list-separator-as-item{padding:4px 6px;font-size:12px}.quick-input-list .quick-input-list-separator-as-item .label-name{font-weight:600}.quick-input-list .quick-input-list-separator-as-item .label-description{opacity:1!important}.quick-input-list .monaco-tree-sticky-row .quick-input-list-entry.quick-input-list-separator-as-item.quick-input-list-separator-border{border-top-style:none}.quick-input-list .monaco-tree-sticky-row{padding:0 5px}.quick-input-list .monaco-tl-twistie{display:none!important}:root{--vscode-sash-size: 4px;--vscode-sash-hover-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:\" \";height:calc(var(--vscode-sash-size) * 2);width:calc(var(--vscode-sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size) * -.5);top:calc(var(--vscode-sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size) * -.5);bottom:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size) * -.5);left:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size) * -.5);right:calc(var(--vscode-sash-size) * -1)}.monaco-sash:before{content:\"\";pointer-events:none;position:absolute;width:100%;height:100%;background:transparent}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.hover:before,.monaco-sash.active:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - (var(--vscode-sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - (var(--vscode-sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:\" \";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:\"\";position:absolute;left:calc(var(--vscode-sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls,.hc-light .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls,.hc-light .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:#fdff00cc}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:#fdff00cc}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:#ffffff70}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:#ffffff70}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:-webkit-grab;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:-webkit-grabbing;cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container{position:absolute;top:0;left:0;width:100%;height:0;z-index:13;background-color:var(--vscode-sideBar-background)}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row.monaco-list-row{position:absolute;width:100%;opacity:1!important;overflow:hidden;background-color:var(--vscode-sideBar-background)}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row:hover{background-color:var(--vscode-list-hoverBackground)!important;cursor:pointer}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty .monaco-tree-sticky-container-shadow{display:none}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow{position:absolute;bottom:-3px;left:0;height:0px;width:100%}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container[tabindex=\"0\"]:focus{outline:none}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-suffix-container>.label-suffix{opacity:.7;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border, transparent);line-height:18px}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus,.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border, transparent);border-left-width:0!important;border-radius:0 2px 2px 0;display:flex;align-items:center}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-label,.monaco-description-button .monaco-button-description{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-label>.codicon,.monaco-description-button .monaco-button-description>.codicon{margin:0 .2em;color:inherit!important}.monaco-button.default-colors,.monaco-button-dropdown.default-colors>.monaco-button{color:var(--vscode-button-foreground);background-color:var(--vscode-button-background)}.monaco-button.default-colors:hover,.monaco-button-dropdown.default-colors>.monaco-button:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-button.default-colors.secondary,.monaco-button-dropdown.default-colors>.monaco-button.secondary{color:var(--vscode-button-secondaryForeground);background-color:var(--vscode-button-secondaryBackground)}.monaco-button.default-colors.secondary:hover,.monaco-button-dropdown.default-colors>.monaco-button.secondary:hover{background-color:var(--vscode-button-secondaryHoverBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator{background-color:var(--vscode-button-background);border-top:1px solid var(--vscode-button-border);border-bottom:1px solid var(--vscode-button-border)}.monaco-button-dropdown.default-colors .monaco-button.secondary+.monaco-button-dropdown-separator{background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator>div{background-color:var(--vscode-button-separator)}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:2px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:2px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.monaco-editor .diff-hidden-lines-widget{width:100%}.monaco-editor .diff-hidden-lines{height:0px;transform:translateY(-10px);font-size:13px;line-height:14px}.monaco-editor .diff-hidden-lines:not(.dragging) .top:hover,.monaco-editor .diff-hidden-lines:not(.dragging) .bottom:hover,.monaco-editor .diff-hidden-lines .top.dragging,.monaco-editor .diff-hidden-lines .bottom.dragging{background-color:var(--vscode-focusBorder)}.monaco-editor .diff-hidden-lines .top,.monaco-editor .diff-hidden-lines .bottom{transition:background-color .1s ease-out;height:4px;background-color:transparent;background-clip:padding-box;border-bottom:2px solid transparent;border-top:4px solid transparent}.monaco-editor.draggingUnchangedRegion.canMoveTop:not(.canMoveBottom) *,.monaco-editor .diff-hidden-lines .top.canMoveTop:not(.canMoveBottom),.monaco-editor .diff-hidden-lines .bottom.canMoveTop:not(.canMoveBottom){cursor:n-resize!important}.monaco-editor.draggingUnchangedRegion:not(.canMoveTop).canMoveBottom *,.monaco-editor .diff-hidden-lines .top:not(.canMoveTop).canMoveBottom,.monaco-editor .diff-hidden-lines .bottom:not(.canMoveTop).canMoveBottom{cursor:s-resize!important}.monaco-editor.draggingUnchangedRegion.canMoveTop.canMoveBottom *,.monaco-editor .diff-hidden-lines .top.canMoveTop.canMoveBottom,.monaco-editor .diff-hidden-lines .bottom.canMoveTop.canMoveBottom{cursor:ns-resize!important}.monaco-editor .diff-hidden-lines .top{transform:translateY(4px)}.monaco-editor .diff-hidden-lines .bottom{transform:translateY(-6px)}.monaco-editor .diff-unchanged-lines{background:var(--vscode-diffEditor-unchangedCodeBackground)}.monaco-editor .noModificationsOverlay{z-index:1;background:var(--vscode-editor-background);display:flex;justify-content:center;align-items:center}.monaco-editor .diff-hidden-lines .center{background:var(--vscode-diffEditor-unchangedRegionBackground);color:var(--vscode-diffEditor-unchangedRegionForeground);overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;height:24px;box-shadow:inset 0 -5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow),inset 0 5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow)}.monaco-editor .diff-hidden-lines .center span.codicon{vertical-align:middle}.monaco-editor .diff-hidden-lines .center a:hover .codicon{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .diff-hidden-lines div.breadcrumb-item{cursor:pointer}.monaco-editor .diff-hidden-lines div.breadcrumb-item:hover{color:var(--vscode-editorLink-activeForeground)}.monaco-editor .movedOriginal,.monaco-editor .movedModified{border:2px solid var(--vscode-diffEditor-move-border)}.monaco-editor .movedOriginal.currentMove,.monaco-editor .movedModified.currentMove{border:2px solid var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path.currentMove{stroke:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path{pointer-events:visiblestroke}.monaco-diff-editor .moved-blocks-lines .arrow{fill:var(--vscode-diffEditor-move-border)}.monaco-diff-editor .moved-blocks-lines .arrow.currentMove{fill:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines .arrow-rectangle{fill:var(--vscode-editor-background)}.monaco-diff-editor .moved-blocks-lines{position:absolute;pointer-events:none}.monaco-diff-editor .moved-blocks-lines path{fill:none;stroke:var(--vscode-diffEditor-move-border);stroke-width:2}.monaco-editor .char-delete.diff-range-empty{margin-left:-1px;border-left:solid var(--vscode-diffEditor-removedTextBackground) 3px}.monaco-editor .char-insert.diff-range-empty{border-left:solid var(--vscode-diffEditor-insertedTextBackground) 3px}.monaco-editor .fold-unchanged{cursor:pointer}.monaco-diff-editor .diff-moved-code-block{display:flex;justify-content:flex-end;margin-top:-4px}.monaco-diff-editor .diff-moved-code-block .action-bar .action-label.codicon{width:12px;height:12px;font-size:12px}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:#0000}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign,.monaco-editor.hc-light .insert-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-editor .char-insert,.monaco-diff-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-diff-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground, var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .line-insert,.monaco-editor .char-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .line-insert,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-light .char-insert{border-style:dashed}.monaco-editor .line-delete,.monaco-editor .char-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-black .char-delete,.monaco-editor.hc-light .char-delete{border-style:dashed}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .gutter-insert,.monaco-diff-editor .gutter-insert{background-color:var(--vscode-diffEditorGutter-insertedLineBackground, var(--vscode-diffEditor-insertedLineBackground), var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .char-delete,.monaco-diff-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .line-delete,.monaco-diff-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground, var(--vscode-diffEditor-removedTextBackground))}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .gutter-delete,.monaco-diff-editor .gutter-delete{background-color:var(--vscode-diffEditorGutter-removedLineBackground, var(--vscode-diffEditor-removedLineBackground), var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor.side-by-side .editor.original{box-shadow:6px 0 5px -5px var(--vscode-scrollbar-shadow);border-right:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .diagonal-fill{background-image:linear-gradient(-45deg,var(--vscode-diffEditor-diagonalFill) 12.5%,#0000 12.5%,#0000 50%,var(--vscode-diffEditor-diagonalFill) 50%,var(--vscode-diffEditor-diagonalFill) 62.5%,#0000 62.5%,#0000 100%);background-size:8px 8px}.monaco-diff-editor .gutter{position:relative;overflow:hidden;flex-shrink:0;flex-grow:0}.monaco-diff-editor .gutter .gutterItem{opacity:0;transition:opacity .7s}.monaco-diff-editor .gutter .gutterItem.showAlways{opacity:1;transition:none}.monaco-diff-editor .gutter .gutterItem.noTransition{transition:none}.monaco-diff-editor .gutter:hover .gutterItem{opacity:1;transition:opacity .1s ease-in-out}.monaco-diff-editor .gutter .gutterItem .background{position:absolute;height:100%;left:50%;width:1px;border-left:2px var(--vscode-menu-border) solid}.monaco-diff-editor .gutter .gutterItem .buttons{position:absolute;width:100%;display:flex;justify-content:center;align-items:center}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar{height:-moz-fit-content;height:fit-content}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar{line-height:1}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar .actions-container{width:-moz-fit-content;width:fit-content;border-radius:4px;border:1px var(--vscode-menu-border) solid;background:var(--vscode-editor-background)}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar .actions-container .action-item:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar .actions-container .action-item .action-label{padding:.5px 1px}.monaco-component.diff-review{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;z-index:99}.monaco-diff-editor .diff-review{position:absolute}.monaco-component.diff-review .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-component.diff-review .diff-review-summary{padding-left:10px}.monaco-component.diff-review .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-component.diff-review .diff-review-row{white-space:pre}.monaco-component.diff-review .diff-review-table{display:table;min-width:100%}.monaco-component.diff-review .diff-review-row{display:table-row;width:100%}.monaco-component.diff-review .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-component.diff-review .diff-review-spacer>.codicon{font-size:9px!important}.monaco-component.diff-review .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px;z-index:100}.monaco-component.diff-review .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-component.diff-review .revertButton{cursor:pointer}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-component.multiDiffEditor{background:var(--vscode-multiDiffEditor-background);overflow-y:hidden}.monaco-component.multiDiffEditor .active{--vscode-multiDiffEditor-border: var(--vscode-focusBorder)}.monaco-component.multiDiffEditor .multiDiffEntry{display:flex;flex-direction:column;flex:1;overflow:hidden}.monaco-component.multiDiffEditor .multiDiffEntry .collapse-button{margin:0 5px;cursor:pointer}.monaco-component.multiDiffEditor .multiDiffEntry .collapse-button a{display:block}.monaco-component.multiDiffEditor .multiDiffEntry .header{z-index:1000;background:var(--vscode-editor-background)}.monaco-component.multiDiffEditor .multiDiffEntry .header:not(.collapsed) .header-content{border-bottom:1px solid var(--vscode-sideBarSectionHeader-border)}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content{margin:8px 0 0;padding:4px 5px;border-top:1px solid var(--vscode-multiDiffEditor-border);display:flex;align-items:center;color:var(--vscode-foreground);background:var(--vscode-multiDiffEditor-headerBackground)}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content.shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path{display:flex;flex:1;min-width:0}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path .title{font-size:14px;line-height:22px}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path .title.original{flex:1;min-width:0;text-overflow:ellipsis}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path .status{font-weight:600;opacity:.75;margin:0 10px;line-height:22px}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .actions{padding:0 8px}.monaco-component.multiDiffEditor .multiDiffEntry .editorParent{flex:1;display:flex;flex-direction:column;border-bottom:1px solid var(--vscode-multiDiffEditor-border);overflow:hidden}.monaco-component.multiDiffEditor .multiDiffEntry .editorContainer{flex:1}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}.inline-editor-progress-decoration{display:inline-block;width:1em;height:1em}.inline-progress-widget{display:flex!important;justify-content:center;align-items:center}.inline-progress-widget .icon{font-size:80%!important}.inline-progress-widget:hover .icon{font-size:90%!important;animation:none}.inline-progress-widget:hover .icon:before{content:var(--vscode-icon-x-content);font-family:var(--vscode-icon-x-font-family)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:2px 4px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-inputValidation-infoBorder);border-radius:3px}.monaco-editor .monaco-editor-overlaymessage .message p{margin-block:0px}.monaco-editor .monaco-editor-overlaymessage .message a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-editor-overlaymessage .message a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute;left:2px}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.post-edit-widget{box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:1px solid var(--vscode-widget-border, transparent);border-radius:4px;background-color:var(--vscode-editorWidget-background);overflow:hidden}.post-edit-widget .monaco-button{padding:2px;border:none;border-radius:0}.post-edit-widget .monaco-button:hover{background-color:var(--vscode-button-secondaryHoverBackground)!important}.post-edit-widget .monaco-button .codicon{margin:0}@font-face{font-family:codicon;font-display:block;src:url(/assets/codicon-B16ygVZF.ttf) format(\"truetype\")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-value,.monaco-editor .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-enum{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget.codicon-sparkle-filled{color:var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:\"\";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.action-widget{font-size:13px;min-width:160px;max-width:80vw;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;border-radius:2px;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:-1}.context-view-pointerBlock{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:2}.action-widget .monaco-list{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;border:none!important;border-width:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder, transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-descriptionForeground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled:before,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .monaco-list-row.action .monaco-keybinding>.monaco-keybinding-key{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow)}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:\"\";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!important}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:solid .1em #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:solid .1em #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:-moz-crisp-edges;image-rendering:pixelated}.colorpicker-header .picked-color{width:240px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1;white-space:nowrap;overflow:hidden}.colorpicker-header .picked-color .picked-color-presentation{white-space:nowrap;margin-left:5px;margin-right:5px}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.standalone-colorpicker{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.colorpicker-header.standalone-colorpicker{border-bottom:none}.colorpicker-header .close-button{cursor:pointer;background-color:var(--vscode-editorHoverWidget-background);border-left:1px solid var(--vscode-editorHoverWidget-border)}.colorpicker-header .close-button-inner-div{width:100%;height:100%;text-align:center}.colorpicker-header .close-button-inner-div:hover{background-color:var(--vscode-toolbar-hoverBackground)}.colorpicker-header .close-icon{padding:3px}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .standalone-strip{width:25px;height:122px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:-webkit-grab;cursor:grab;background:linear-gradient(to bottom,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:-webkit-grab;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:-moz-crisp-edges;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:-webkit-grabbing;cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.colorpicker-body .standalone-strip .standalone-overlay{height:122px;pointer-events:none}.standalone-colorpicker-body{display:block;border:1px solid transparent;border-bottom:1px solid var(--vscode-editorHoverWidget-border);overflow:hidden}.colorpicker-body .insert-button{position:absolute;height:20px;width:58px;padding:0;right:8px;bottom:8px;background:var(--vscode-button-background);color:var(--vscode-button-foreground);border-radius:2px;border:none;cursor:pointer}.colorpicker-body .insert-button:hover{background:var(--vscode-button-hoverBackground)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:baseline;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:\"-\";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder, transparent);box-sizing:border-box}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row{display:flex}.monaco-editor .monaco-hover .hover-row .hover-row-contents{min-width:0;display:flex;flex-direction:column}.monaco-editor .monaco-hover .hover-row .verbosity-actions{display:flex;flex-direction:column;padding-left:5px;padding-right:5px;justify-content:end;border-right:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon{cursor:pointer;font-size:11px}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.enabled{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.disabled{opacity:.6}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor.vs .dnd-target,.monaco-editor.hc-light .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px));box-shadow:0 0 8px 2px var(--vscode-widget-shadow);color:var(--vscode-editorWidget-foreground);border-left:1px solid var(--vscode-widget-border);border-right:1px solid var(--vscode-widget-border);border-bottom:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px;background-color:var(--vscode-editorWidget-background)}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px;outline-color:var(--vscode-focusBorder)}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 25px 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .find-widget.no-results .matchesCount{color:var(--vscode-errorForeground)}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important;background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor .currentFindMatch{background-color:var(--vscode-editor-findMatchBackground);border:2px solid var(--vscode-editor-findMatchBorder);padding:1px;box-sizing:border-box}.monaco-editor .findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor .find-widget .monaco-sash{left:0!important;background-color:var(--vscode-editorWidget-resizeBorder, var(--vscode-editorWidget-border))}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .find-widget .button:not(.disabled):hover,.monaco-editor .find-widget .codicon-find-selection:hover{background-color:var(--vscode-toolbar-hoverBackground)!important}.monaco-editor.findMatch{background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor.currentFindMatch{background-color:var(--vscode-editor-findMatchBackground)}.monaco-editor.findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor.findMatch{background-color:var(--vscode-editorWidget-background)}.monaco-editor .find-widget>.button.codicon-widget-close{position:absolute;top:5px;right:4px}.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed{transition:initial}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:\"⋯\";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text .ghost-text{font-style:italic}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder, transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column;border-radius:3px}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-light .suggest-widget,.monaco-editor.hc-light .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:\", \";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:\"(\"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:\")\"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer;color:var(--vscode-textLink-activeForeground)}.monaco-editor .zone-widget .codicon.codicon-error,.markers-panel .marker-icon.error,.markers-panel .marker-icon .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.extension-editor .codicon.codicon-error,.preferences-editor .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-warning,.markers-panel .marker-icon.warning,.markers-panel .marker-icon .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.extension-editor .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-info,.markers-panel .marker-icon.info,.markers-panel .marker-icon .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.extension-editor .codicon.codicon-info,.preferences-editor .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);min-width:1px}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .inline-edit-remove{background-color:var(--vscode-editorGhostText-background);font-style:italic;text-decoration:line-through}.monaco-editor .inline-edit-remove.backgroundColoring{background-color:var(--vscode-diffEditor-removedLineBackground)}.monaco-editor .inline-edit-hidden{opacity:0;font-size:0}.monaco-editor .inline-edit-decoration,.monaco-editor .suggest-preview-text .inline-edit{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .inline-edit-decoration,.monaco-editor .inline-edit-decoration-preview,.monaco-editor .suggest-preview-text .inline-edit{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor .inlineEditHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineEditHints a,.monaco-editor .inlineEditHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineEditHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineEditHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineEditStatusBarItemLabel{margin-right:2px}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{content:\"\";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:\"\";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input-with-button{padding:3px;border-radius:2px;width:calc(100% - 8px)}.monaco-editor .rename-box .rename-input{width:calc(100% - 8px);padding:0}.monaco-editor .rename-box .rename-input:focus{outline:none}.monaco-editor .rename-box .rename-suggestions-button{display:flex;align-items:center;padding:3px;background-color:transparent;border:none;border-radius:5px;cursor:pointer}.monaco-editor .rename-box .rename-suggestions-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row{border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .sticky-widget{overflow:hidden}.monaco-editor .sticky-widget-line-numbers{float:left;background-color:inherit}.monaco-editor .sticky-widget-lines-scrollable{display:inline-block;position:absolute;overflow:hidden;width:var(--vscode-editorStickyScroll-scrollableWidth);background-color:inherit}.monaco-editor .sticky-widget-lines{position:absolute;background-color:inherit}.monaco-editor .sticky-line-number,.monaco-editor .sticky-line-content{color:var(--vscode-editorLineNumber-foreground);white-space:nowrap;display:inline-block;position:absolute;background-color:inherit}.monaco-editor .sticky-line-number .codicon-folding-expanded,.monaco-editor .sticky-line-number .codicon-folding-collapsed{float:right;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{width:var(--vscode-editorStickyScroll-scrollableWidth);background-color:inherit;white-space:nowrap}.monaco-editor .sticky-line-number-inner{display:inline-block;text-align:right}.monaco-editor .sticky-widget{border-bottom:1px solid var(--vscode-editorStickyScroll-border)}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-editorStickyScroll-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background)}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:center center;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}\n"
  },
  {
    "path": "backend/openui/dist/assets/CodeEditor-B9qhAAku.js",
    "content": "const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[\"assets/html-B4dTfUY8.js\",\"assets/index-B7PjGjI7.js\",\"assets/index-CnQwS-Fb.css\",\"assets/index-DnTpCebm.js\",\"assets/javascript-BcV1SRi8.js\",\"assets/typescript-BfKWl9Pr.js\",\"assets/python-CsxvR8Mf.js\",\"assets/yaml-DWuY8lcX.js\",\"assets/cssMode-CMP9zKWk.js\",\"assets/htmlMode-BZEeRbEQ.js\",\"assets/jsonMode-CWFvP3uU.js\",\"assets/tsMode-FcR9Jej8.js\"])))=>i.map(i=>d[i]);\nvar AZ=Object.defineProperty;var MZ=(s,e,t)=>e in s?AZ(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var Q1=(s,e,t)=>MZ(s,typeof e!=\"symbol\"?e+\"\":e,t);import{g as _t,W as Sm,_ as er,$ as RZ,a3 as PZ,a7 as FZ,N as OZ,M as BZ,L as WZ,a2 as HZ,a0 as VZ,a1 as zZ,aw as UZ,j as $Z}from\"./index-B7PjGjI7.js\";import{C as jZ}from\"./index-DnTpCebm.js\";function KZ(s,e,t){return e in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function l5(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(s,n).enumerable})),t.push.apply(t,i)}return t}function d5(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?l5(Object(t),!0).forEach(function(i){KZ(s,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):l5(Object(t)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(t,i))})}return s}function qZ(s,e){if(s==null)return{};var t={},i=Object.keys(s),n,o;for(o=0;o<i.length;o++)n=i[o],!(e.indexOf(n)>=0)&&(t[n]=s[n]);return t}function GZ(s,e){if(s==null)return{};var t=qZ(s,e),i,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(s);for(n=0;n<o.length;n++)i=o[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(s,i)&&(t[i]=s[i])}return t}function ZZ(s,e){return XZ(s)||YZ(s,e)||QZ(s,e)||JZ()}function XZ(s){if(Array.isArray(s))return s}function YZ(s,e){if(!(typeof Symbol>\"u\"||!(Symbol.iterator in Object(s)))){var t=[],i=!0,n=!1,o=void 0;try{for(var r=s[Symbol.iterator](),a;!(i=(a=r.next()).done)&&(t.push(a.value),!(e&&t.length===e));i=!0);}catch(l){n=!0,o=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(n)throw o}}return t}}function QZ(s,e){if(s){if(typeof s==\"string\")return c5(s,e);var t=Object.prototype.toString.call(s).slice(8,-1);if(t===\"Object\"&&s.constructor&&(t=s.constructor.name),t===\"Map\"||t===\"Set\")return Array.from(s);if(t===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c5(s,e)}}function c5(s,e){(e==null||e>s.length)&&(e=s.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=s[t];return i}function JZ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eX(s,e,t){return e in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function u5(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(s,n).enumerable})),t.push.apply(t,i)}return t}function h5(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?u5(Object(t),!0).forEach(function(i){eX(s,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):u5(Object(t)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(t,i))})}return s}function tX(){for(var s=arguments.length,e=new Array(s),t=0;t<s;t++)e[t]=arguments[t];return function(i){return e.reduceRight(function(n,o){return o(n)},i)}}function dv(s){return function e(){for(var t=this,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return n.length>=s.length?s.apply(this,n):function(){for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return e.apply(t,[].concat(n,a))}}}function bS(s){return{}.toString.call(s).includes(\"Object\")}function iX(s){return!Object.keys(s).length}function wb(s){return typeof s==\"function\"}function nX(s,e){return Object.prototype.hasOwnProperty.call(s,e)}function sX(s,e){return bS(e)||th(\"changeType\"),Object.keys(e).some(function(t){return!nX(s,t)})&&th(\"changeField\"),e}function oX(s){wb(s)||th(\"selectorType\")}function rX(s){wb(s)||bS(s)||th(\"handlerType\"),bS(s)&&Object.values(s).some(function(e){return!wb(e)})&&th(\"handlersType\")}function aX(s){s||th(\"initialIsRequired\"),bS(s)||th(\"initialType\"),iX(s)&&th(\"initialContent\")}function lX(s,e){throw new Error(s[e]||s.default)}var dX={initialIsRequired:\"initial state is required\",initialType:\"initial state should be an object\",initialContent:\"initial state shouldn't be an empty object\",handlerType:\"handler should be an object or a function\",handlersType:\"all handlers should be a functions\",selectorType:\"selector should be a function\",changeType:\"provided value of changes should be an object\",changeField:'it seams you want to change a field in the state which is not specified in the \"initial\" state',default:\"an unknown error accured in `state-local` package\"},th=dv(lX)(dX),J1={changes:sX,selector:oX,handler:rX,initial:aX};function cX(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};J1.initial(s),J1.handler(e);var t={current:s},i=dv(gX)(t,e),n=dv(hX)(t),o=dv(J1.changes)(s),r=dv(uX)(t);function a(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(c){return c};return J1.selector(d),d(t.current)}function l(d){tX(i,n,o,r)(d)}return[a,l]}function uX(s,e){return wb(e)?e(s.current):e}function hX(s,e){return s.current=h5(h5({},s.current),e),e}function gX(s,e,t){return wb(e)?e(s.current):Object.keys(t).forEach(function(i){var n;return(n=e[i])===null||n===void 0?void 0:n.call(e,s.current[i])}),t}var fX={create:cX},pX={paths:{vs:\"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs\"}};function mX(s){return function e(){for(var t=this,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return n.length>=s.length?s.apply(this,n):function(){for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return e.apply(t,[].concat(n,a))}}}function _X(s){return{}.toString.call(s).includes(\"Object\")}function vX(s){return s||g5(\"configIsRequired\"),_X(s)||g5(\"configType\"),s.urls?(bX(),{paths:{vs:s.urls.monacoBase}}):s}function bX(){console.warn(nW.deprecation)}function CX(s,e){throw new Error(s[e]||s.default)}var nW={configIsRequired:\"the configuration object is required\",configType:\"the configuration object should be an object\",default:\"an unknown error accured in `@monaco-editor/loader` package\",deprecation:`Deprecation warning!\n    You are using deprecated way of configuration.\n\n    Instead of using\n      monaco.config({ urls: { monacoBase: '...' } })\n    use\n      monaco.config({ paths: { vs: '...' } })\n\n    For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n  `},g5=mX(CX)(nW),wX={config:vX},yX=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(n){return t.reduceRight(function(o,r){return r(o)},n)}};function sW(s,e){return Object.keys(e).forEach(function(t){e[t]instanceof Object&&s[t]&&Object.assign(e[t],sW(s[t],e[t]))}),d5(d5({},s),e)}var SX={type:\"cancelation\",msg:\"operation is manually canceled\"};function cE(s){var e=!1,t=new Promise(function(i,n){s.then(function(o){return e?n(SX):i(o)}),s.catch(n)});return t.cancel=function(){return e=!0},t}var DX=fX.create({config:pX,isInitialized:!1,resolve:null,reject:null,monaco:null}),oW=ZZ(DX,2),n1=oW[0],TL=oW[1];function LX(s){var e=wX.config(s),t=e.monaco,i=GZ(e,[\"monaco\"]);TL(function(n){return{config:sW(n.config,i),monaco:t}})}function xX(){var s=n1(function(e){var t=e.monaco,i=e.isInitialized,n=e.resolve;return{monaco:t,isInitialized:i,resolve:n}});if(!s.isInitialized){if(TL({isInitialized:!0}),s.monaco)return s.resolve(s.monaco),cE(uE);if(window.monaco&&window.monaco.editor)return rW(window.monaco),s.resolve(window.monaco),cE(uE);yX(kX,IX)(TX)}return cE(uE)}function kX(s){return document.body.appendChild(s)}function EX(s){var e=document.createElement(\"script\");return s&&(e.src=s),e}function IX(s){var e=n1(function(i){var n=i.config,o=i.reject;return{config:n,reject:o}}),t=EX(\"\".concat(e.config.paths.vs,\"/loader.js\"));return t.onload=function(){return s()},t.onerror=e.reject,t}function TX(){var s=n1(function(t){var i=t.config,n=t.resolve,o=t.reject;return{config:i,resolve:n,reject:o}}),e=window.require;e.config(s.config),e([\"vs/editor/editor.main\"],function(t){rW(t),s.resolve(t)},function(t){s.reject(t)})}function rW(s){n1().monaco||TL({monaco:s})}function NX(){return n1(function(s){var e=s.monaco;return e})}var uE=new Promise(function(s,e){return TL({resolve:s,reject:e})}),NL={config:LX,init:xX,__getMonacoInstance:NX},AX={wrapper:{display:\"flex\",position:\"relative\",textAlign:\"initial\"},fullWidth:{width:\"100%\"},hide:{display:\"none\"}},hE=AX,MX={container:{display:\"flex\",height:\"100%\",width:\"100%\",justifyContent:\"center\",alignItems:\"center\"}},RX=MX;function PX({children:s}){return Sm.createElement(\"div\",{style:RX.container},s)}var FX=PX,OX=FX;function BX({width:s,height:e,isEditorReady:t,loading:i,_ref:n,className:o,wrapperProps:r}){return Sm.createElement(\"section\",{style:{...hE.wrapper,width:s,height:e},...r},!t&&Sm.createElement(OX,null,i),Sm.createElement(\"div\",{ref:n,style:{...hE.fullWidth,...!t&&hE.hide},className:o}))}var WX=BX,aW=_t.memo(WX);function HX(s){_t.useEffect(s,[])}var lW=HX;function VX(s,e,t=!0){let i=_t.useRef(!0);_t.useEffect(i.current||!t?()=>{i.current=!1}:s,e)}var wr=VX;function Fv(){}function Xp(s,e,t,i){return zX(s,i)||UX(s,e,t,i)}function zX(s,e){return s.editor.getModel(dW(s,e))}function UX(s,e,t,i){return s.editor.createModel(e,t,i?dW(s,i):void 0)}function dW(s,e){return s.Uri.parse(e)}function $X({original:s,modified:e,language:t,originalLanguage:i,modifiedLanguage:n,originalModelPath:o,modifiedModelPath:r,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:d=\"light\",loading:c=\"Loading...\",options:u={},height:h=\"100%\",width:g=\"100%\",className:f,wrapperProps:m={},beforeMount:_=Fv,onMount:v=Fv}){let[b,C]=_t.useState(!1),[w,y]=_t.useState(!0),D=_t.useRef(null),L=_t.useRef(null),k=_t.useRef(null),I=_t.useRef(v),O=_t.useRef(_),R=_t.useRef(!1);lW(()=>{let U=NL.init();return U.then(J=>(L.current=J)&&y(!1)).catch(J=>(J==null?void 0:J.type)!==\"cancelation\"&&console.error(\"Monaco initialization: error:\",J)),()=>D.current?V():U.cancel()}),wr(()=>{if(D.current&&L.current){let U=D.current.getOriginalEditor(),J=Xp(L.current,s||\"\",i||t||\"text\",o||\"\");J!==U.getModel()&&U.setModel(J)}},[o],b),wr(()=>{if(D.current&&L.current){let U=D.current.getModifiedEditor(),J=Xp(L.current,e||\"\",n||t||\"text\",r||\"\");J!==U.getModel()&&U.setModel(J)}},[r],b),wr(()=>{let U=D.current.getModifiedEditor();U.getOption(L.current.editor.EditorOption.readOnly)?U.setValue(e||\"\"):e!==U.getValue()&&(U.executeEdits(\"\",[{range:U.getModel().getFullModelRange(),text:e||\"\",forceMoveMarkers:!0}]),U.pushUndoStop())},[e],b),wr(()=>{var U,J;(J=(U=D.current)==null?void 0:U.getModel())==null||J.original.setValue(s||\"\")},[s],b),wr(()=>{let{original:U,modified:J}=D.current.getModel();L.current.editor.setModelLanguage(U,i||t||\"text\"),L.current.editor.setModelLanguage(J,n||t||\"text\")},[t,i,n],b),wr(()=>{var U;(U=L.current)==null||U.editor.setTheme(d)},[d],b),wr(()=>{var U;(U=D.current)==null||U.updateOptions(u)},[u],b);let P=_t.useCallback(()=>{var pe;if(!L.current)return;O.current(L.current);let U=Xp(L.current,s||\"\",i||t||\"text\",o||\"\"),J=Xp(L.current,e||\"\",n||t||\"text\",r||\"\");(pe=D.current)==null||pe.setModel({original:U,modified:J})},[t,e,n,s,i,o,r]),F=_t.useCallback(()=>{var U;!R.current&&k.current&&(D.current=L.current.editor.createDiffEditor(k.current,{automaticLayout:!0,...u}),P(),(U=L.current)==null||U.editor.setTheme(d),C(!0),R.current=!0)},[u,d,P]);_t.useEffect(()=>{b&&I.current(D.current,L.current)},[b]),_t.useEffect(()=>{!w&&!b&&F()},[w,b,F]);function V(){var J,pe,De,ge;let U=(J=D.current)==null?void 0:J.getModel();a||((pe=U==null?void 0:U.original)==null||pe.dispose()),l||((De=U==null?void 0:U.modified)==null||De.dispose()),(ge=D.current)==null||ge.dispose()}return Sm.createElement(aW,{width:g,height:h,isEditorReady:b,loading:c,_ref:k,className:f,wrapperProps:m})}var jX=$X;_t.memo(jX);function KX(s){let e=_t.useRef();return _t.useEffect(()=>{e.current=s},[s]),e.current}var qX=KX,ew=new Map;function GX({defaultValue:s,defaultLanguage:e,defaultPath:t,value:i,language:n,path:o,theme:r=\"light\",line:a,loading:l=\"Loading...\",options:d={},overrideServices:c={},saveViewState:u=!0,keepCurrentModel:h=!1,width:g=\"100%\",height:f=\"100%\",className:m,wrapperProps:_={},beforeMount:v=Fv,onMount:b=Fv,onChange:C,onValidate:w=Fv}){let[y,D]=_t.useState(!1),[L,k]=_t.useState(!0),I=_t.useRef(null),O=_t.useRef(null),R=_t.useRef(null),P=_t.useRef(b),F=_t.useRef(v),V=_t.useRef(),U=_t.useRef(i),J=qX(o),pe=_t.useRef(!1),De=_t.useRef(!1);lW(()=>{let ye=NL.init();return ye.then(ve=>(I.current=ve)&&k(!1)).catch(ve=>(ve==null?void 0:ve.type)!==\"cancelation\"&&console.error(\"Monaco initialization: error:\",ve)),()=>O.current?We():ye.cancel()}),wr(()=>{var ve,ce,Qt,Ui;let ye=Xp(I.current,s||i||\"\",e||n||\"\",o||t||\"\");ye!==((ve=O.current)==null?void 0:ve.getModel())&&(u&&ew.set(J,(ce=O.current)==null?void 0:ce.saveViewState()),(Qt=O.current)==null||Qt.setModel(ye),u&&((Ui=O.current)==null||Ui.restoreViewState(ew.get(o))))},[o],y),wr(()=>{var ye;(ye=O.current)==null||ye.updateOptions(d)},[d],y),wr(()=>{!O.current||i===void 0||(O.current.getOption(I.current.editor.EditorOption.readOnly)?O.current.setValue(i):i!==O.current.getValue()&&(De.current=!0,O.current.executeEdits(\"\",[{range:O.current.getModel().getFullModelRange(),text:i,forceMoveMarkers:!0}]),O.current.pushUndoStop(),De.current=!1))},[i],y),wr(()=>{var ve,ce;let ye=(ve=O.current)==null?void 0:ve.getModel();ye&&n&&((ce=I.current)==null||ce.editor.setModelLanguage(ye,n))},[n],y),wr(()=>{var ye;a!==void 0&&((ye=O.current)==null||ye.revealLine(a))},[a],y),wr(()=>{var ye;(ye=I.current)==null||ye.editor.setTheme(r)},[r],y);let ge=_t.useCallback(()=>{var ye;if(!(!R.current||!I.current)&&!pe.current){F.current(I.current);let ve=o||t,ce=Xp(I.current,i||s||\"\",e||n||\"\",ve||\"\");O.current=(ye=I.current)==null?void 0:ye.editor.create(R.current,{model:ce,automaticLayout:!0,...d},c),u&&O.current.restoreViewState(ew.get(ve)),I.current.editor.setTheme(r),a!==void 0&&O.current.revealLine(a),D(!0),pe.current=!0}},[s,e,t,i,n,o,d,c,u,r,a]);_t.useEffect(()=>{y&&P.current(O.current,I.current)},[y]),_t.useEffect(()=>{!L&&!y&&ge()},[L,y,ge]),U.current=i,_t.useEffect(()=>{var ye,ve;y&&C&&((ye=V.current)==null||ye.dispose(),V.current=(ve=O.current)==null?void 0:ve.onDidChangeModelContent(ce=>{De.current||C(O.current.getValue(),ce)}))},[y,C]),_t.useEffect(()=>{if(y){let ye=I.current.editor.onDidChangeMarkers(ve=>{var Qt;let ce=(Qt=O.current.getModel())==null?void 0:Qt.uri;if(ce&&ve.find(Ui=>Ui.path===ce.path)){let Ui=I.current.editor.getModelMarkers({resource:ce});w==null||w(Ui)}});return()=>{ye==null||ye.dispose()}}return()=>{}},[y,w]);function We(){var ye,ve;(ye=V.current)==null||ye.dispose(),h?u&&ew.set(o,O.current.saveViewState()):(ve=O.current.getModel())==null||ve.dispose(),O.current.dispose()}return Sm.createElement(aW,{width:g,height:f,isEditorReady:y,loading:l,_ref:R,className:m,wrapperProps:_})}var ZX=GX,XX=_t.memo(ZX),YX=XX;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(s,e){return this.cache.has(s)?this.cache.get(s):(this.cache.set(s,e),e)}};const f5={inherit:!0,base:\"vs-dark\",colors:{\"activityBar.activeBackground\":\"#181818\",\"activityBar.background\":\"#181818\",\"activityBar.border\":\"#383838\",\"activityBar.foreground\":\"#e3e1e3\",\"activityBar.inactiveForeground\":\"#7a797a\",\"activityBarBadge.background\":\"#228df2\",\"activityBarBadge.foreground\":\"#d6d6dd\",\"badge.background\":\"#228df2\",\"badge.foreground\":\"#d6d6dd\",\"breadcrumb.activeSelectionForeground\":\"#d6d6dd\",\"breadcrumb.background\":\"#181818\",\"breadcrumb.focusForeground\":\"#d6d6dd\",\"breadcrumb.foreground\":\"#a6a6a6\",\"button.background\":\"#228df2\",\"button.foreground\":\"#e6e6ed\",\"button.hoverBackground\":\"#359dff\",\"button.secondaryBackground\":\"#1d1d1d\",\"button.secondaryForeground\":\"#d6d6dd\",\"button.secondaryHoverBackground\":\"#303030\",\"checkbox.background\":\"#1d1d1d\",\"checkbox.border\":\"#4f4f4f\",\"checkbox.foreground\":\"#d6d6dd\",\"commandCenter.activeBackground\":\"#1d1d1d\",\"commandCenter.background\":\"#292929\",\"commandCenter.foreground\":\"#c1c1c1\",\"debugExceptionWidget.background\":\"#1d1d1d\",\"debugExceptionWidget.border\":\"#383838\",\"debugToolBar.background\":\"#343334\",\"debugToolBar.border\":\"#383838\",\"diffEditor.border\":\"#383838\",\"diffEditor.insertedTextBackground\":\"#83d6c530\",\"diffEditor.insertedTextBorder\":\"#d6d6dd00\",\"diffEditor.removedTextBackground\":\"#f14c4c30\",\"diffEditor.removedTextBorder\":\"#d6d6dd00\",\"dropdown.background\":\"#1d1d1d\",\"dropdown.border\":\"#383838\",\"dropdown.foreground\":\"#d6d6dd\",\"editor.background\":\"#181818\",\"editor.findMatchBackground\":\"#163764\",\"editor.findMatchBorder\":\"#00000000\",\"editor.findMatchHighlightBackground\":\"#7c511a\",\"editor.findMatchHighlightBorder\":\"#d7d7dd02\",\"editor.findRangeHighlightBackground\":\"#1d1d1d\",\"editor.findRangeHighlightBorder\":\"#d6d6dd00\",\"editor.foldBackground\":\"#1d1d1d\",\"editor.foreground\":\"#d6d6dd\",\"editor.hoverHighlightBackground\":\"#5b51ec70\",\"editor.inactiveSelectionBackground\":\"#363636\",\"editor.lineHighlightBackground\":\"#292929\",\"editor.lineHighlightBorder\":\"#d6d6dd00\",\"editor.rangeHighlightBackground\":\"#1d1d1d\",\"editor.rangeHighlightBorder\":\"#38383800\",\"editor.selectionBackground\":\"#163761\",\"editor.selectionHighlightBackground\":\"#16376170\",\"editor.selectionHighlightBorder\":\"#d6d6dd00\",\"editor.wordHighlightBackground\":\"#ff000000\",\"editor.wordHighlightBorder\":\"#d6d6dd00\",\"editor.wordHighlightStrongBackground\":\"#16376170\",\"editor.wordHighlightStrongBorder\":\"#d6d6dd00\",\"editorBracketMatch.background\":\"#163761\",\"editorBracketMatch.border\":\"#d6d6dd00\",\"editorCodeLens.foreground\":\"#d6d6dd\",\"editorCursor.background\":\"#181818\",\"editorCursor.foreground\":\"#d6d6dd\",\"editorError.background\":\"#b73a3400\",\"editorError.border\":\"#d6d6dd00\",\"editorError.foreground\":\"#f14c4c\",\"editorGroup.border\":\"#383838\",\"editorGroup.emptyBackground\":\"#181818\",\"editorGroupHeader.border\":\"#d6d6dd00\",\"editorGroupHeader.tabsBackground\":\"#292929\",\"editorGroupHeader.tabsBorder\":\"#d6d6dd00\",\"editorGutter.addedBackground\":\"#15ac91\",\"editorGutter.background\":\"#181818\",\"editorGutter.commentRangeForeground\":\"#d6d6dd\",\"editorGutter.deletedBackground\":\"#f14c4c\",\"editorGutter.foldingControlForeground\":\"#d6d6dd\",\"editorGutter.modifiedBackground\":\"#e5b95c\",\"editorHoverWidget.background\":\"#1d1d1d\",\"editorHoverWidget.border\":\"#383838\",\"editorHoverWidget.foreground\":\"#d6d6dd\",\"editorIndentGuide.activeBackground\":\"#737377\",\"editorIndentGuide.background\":\"#383838\",\"editorInfo.background\":\"#d6d6dd00\",\"editorInfo.border\":\"#d6d6dd00\",\"editorInfo.foreground\":\"#228df2\",\"editorInlayHint.background\":\"#2b2b2b\",\"editorInlayHint.foreground\":\"#838383\",\"editorLineNumber.activeForeground\":\"#c2c2c2\",\"editorLineNumber.foreground\":\"#535353\",\"editorLink.activeForeground\":\"#228df2\",\"editorMarkerNavigation.background\":\"#2d2d30\",\"editorMarkerNavigationError.background\":\"#f14c4c\",\"editorMarkerNavigationInfo.background\":\"#4c9df3\",\"editorMarkerNavigationWarning.background\":\"#e5b95c\",\"editorOverviewRuler.background\":\"#25252500\",\"editorOverviewRuler.border\":\"#7f7f7f4d\",\"editorRuler.foreground\":\"#383838\",\"editorSuggestWidget.background\":\"#1d1d1d\",\"editorSuggestWidget.border\":\"#383838\",\"editorSuggestWidget.foreground\":\"#d6d6dd\",\"editorSuggestWidget.highlightForeground\":\"#d6d6dd\",\"editorSuggestWidget.selectedBackground\":\"#163761\",\"editorWarning.background\":\"#a9904000\",\"editorWarning.border\":\"#d6d6dd00\",\"editorWarning.foreground\":\"#ea7620\",\"editorWhitespace.foreground\":\"#737373\",\"editorWidget.background\":\"#292929\",\"editorWidget.foreground\":\"#d6d6dd\",\"editorWidget.resizeBorder\":\"#ea7620\",focusBorder:\"#d6d6dd00\",foreground:\"#d6d6dd\",\"gitDecoration.addedResourceForeground\":\"#5a964d\",\"gitDecoration.conflictingResourceForeground\":\"#aaa0fa\",\"gitDecoration.deletedResourceForeground\":\"#f14c4c\",\"gitDecoration.ignoredResourceForeground\":\"#666666\",\"gitDecoration.modifiedResourceForeground\":\"#1981ef\",\"gitDecoration.stageDeletedResourceForeground\":\"#f14c4c\",\"gitDecoration.stageModifiedResourceForeground\":\"#1981ef\",\"gitDecoration.submoduleResourceForeground\":\"#1981ef\",\"gitDecoration.untrackedResourceForeground\":\"#3ea17f\",\"icon.foreground\":\"#d6d6dd\",\"input.background\":\"#212121\",\"input.border\":\"#ffffff1e\",\"input.foreground\":\"#d6d6dd\",\"input.placeholderForeground\":\"#7b7b7b\",\"inputOption.activeBackground\":\"#de3c72\",\"inputOption.activeBorder\":\"#d6d6dd00\",\"inputOption.activeForeground\":\"#d6d6dd\",\"list.activeSelectionBackground\":\"#163761\",\"list.activeSelectionForeground\":\"#d6d6dd\",\"list.dropBackground\":\"#d6d6dd00\",\"list.focusBackground\":\"#5b51ec\",\"list.focusForeground\":\"#d6d6dd\",\"list.highlightForeground\":\"#d6d6dd\",\"list.hoverBackground\":\"#2a282a\",\"list.hoverForeground\":\"#d6d6dd\",\"list.inactiveSelectionBackground\":\"#3c3b3c\",\"list.inactiveSelectionForeground\":\"#d6d6dd\",\"listFilterWidget.background\":\"#5b51ec\",\"listFilterWidget.noMatchesOutline\":\"#f14c4c\",\"listFilterWidget.outline\":\"#00000000\",\"menu.background\":\"#292929\",\"menu.border\":\"#000000\",\"menu.foreground\":\"#d6d6dd\",\"menu.selectionBackground\":\"#194176\",\"menu.selectionBorder\":\"#00000000\",\"menu.selectionForeground\":\"#d6d6dd\",\"menu.separatorBackground\":\"#3e3e3e\",\"menubar.selectionBackground\":\"#d6d6dd20\",\"menubar.selectionBorder\":\"#d6d6dd00\",\"menubar.selectionForeground\":\"#d6d6dd\",\"merge.commonContentBackground\":\"#1d1d1d\",\"merge.commonHeaderBackground\":\"#323232\",\"merge.currentContentBackground\":\"#1a493d\",\"merge.currentHeaderBackground\":\"#83d6c595\",\"merge.incomingContentBackground\":\"#28384b\",\"merge.incomingHeaderBackground\":\"#395f8f\",\"minimap.background\":\"#181818\",\"minimap.errorHighlight\":\"#f14c4c\",\"minimap.findMatchHighlight\":\"#15ac9170\",\"minimap.selectionHighlight\":\"#363636\",\"minimap.warningHighlight\":\"#ea7620\",\"minimapGutter.addedBackground\":\"#15ac91\",\"minimapGutter.deletedBackground\":\"#f14c4c\",\"minimapGutter.modifiedBackground\":\"#e5b95c\",\"notebook.focusedCellBorder\":\"#15ac91\",\"notebook.focusedEditorBorder\":\"#15ac9177\",\"notificationCenter.border\":\"#2c2c2c\",\"notificationCenterHeader.background\":\"#2c2c2c\",\"notificationCenterHeader.foreground\":\"#d6d6dd\",\"notificationToast.border\":\"#383838\",\"notifications.background\":\"#1d1d1d\",\"notifications.border\":\"#2c2c2c\",\"notifications.foreground\":\"#d6d6dd\",\"notificationsErrorIcon.foreground\":\"#f14c4c\",\"notificationsInfoIcon.foreground\":\"#228df2\",\"notificationsWarningIcon.foreground\":\"#ea7620\",\"panel.background\":\"#292929\",\"panel.border\":\"#181818\",\"panelSection.border\":\"#383838\",\"panelTitle.activeBorder\":\"#d6d6dd\",\"panelTitle.activeForeground\":\"#d6d6dd\",\"panelTitle.inactiveForeground\":\"#d6d6dd\",\"peekView.border\":\"#383838\",\"peekViewEditor.background\":\"#001f33\",\"peekViewEditor.matchHighlightBackground\":\"#ea762070\",\"peekViewEditor.matchHighlightBorder\":\"#d6d6dd00\",\"peekViewEditorGutter.background\":\"#001f33\",\"peekViewResult.background\":\"#1d1d1d\",\"peekViewResult.fileForeground\":\"#d6d6dd\",\"peekViewResult.lineForeground\":\"#d6d6dd\",\"peekViewResult.matchHighlightBackground\":\"#ea762070\",\"peekViewResult.selectionBackground\":\"#363636\",\"peekViewResult.selectionForeground\":\"#d6d6dd\",\"peekViewTitle.background\":\"#1d1d1d\",\"peekViewTitleDescription.foreground\":\"#d6d6dd\",\"peekViewTitleLabel.foreground\":\"#d6d6dd\",\"pickerGroup.border\":\"#383838\",\"pickerGroup.foreground\":\"#d6d6dd\",\"progressBar.background\":\"#15ac91\",\"scrollbar.shadow\":\"#d6d6dd00\",\"scrollbarSlider.activeBackground\":\"#676767\",\"scrollbarSlider.background\":\"#67676750\",\"scrollbarSlider.hoverBackground\":\"#676767\",\"selection.background\":\"#163761\",\"settings.focusedRowBackground\":\"#d6d6dd07\",\"settings.headerForeground\":\"#d6d6dd\",\"sideBar.background\":\"#181818\",\"sideBar.border\":\"#383838\",\"sideBar.dropBackground\":\"#d6d6dd00\",\"sideBar.foreground\":\"#d1d1d1\",\"sideBarSectionHeader.background\":\"#18181800\",\"sideBarSectionHeader.border\":\"#d1d1d100\",\"sideBarSectionHeader.foreground\":\"#d1d1d1\",\"sideBarTitle.foreground\":\"#d1d1d1\",\"statusBar.background\":\"#181818\",\"statusBar.border\":\"#383838\",\"statusBar.debuggingBackground\":\"#ea7620\",\"statusBar.debuggingBorder\":\"#d6d6dd00\",\"statusBar.debuggingForeground\":\"#e7e7e7\",\"statusBar.foreground\":\"#d6d6dd\",\"statusBar.noFolderBackground\":\"#181818\",\"statusBar.noFolderBorder\":\"#d6d6dd00\",\"statusBar.noFolderForeground\":\"#6b6b6b\",\"statusBarItem.activeBackground\":\"#d6d6dd25\",\"statusBarItem.hoverBackground\":\"#d6d6dd20\",\"statusBarItem.remoteBackground\":\"#5b51ec\",\"statusBarItem.remoteForeground\":\"#d6d6dd\",\"tab.activeBackground\":\"#181818\",\"tab.activeBorder\":\"#d6d6dd00\",\"tab.activeBorderTop\":\"#d6d6dd\",\"tab.activeForeground\":\"#d6d6dd\",\"tab.border\":\"#d6d6dd00\",\"tab.hoverBorder\":\"#6d6d7071\",\"tab.hoverForeground\":\"#d6d6dd\",\"tab.inactiveBackground\":\"#292929\",\"tab.inactiveForeground\":\"#d6d6dd\",\"terminal.ansiBlack\":\"#676767\",\"terminal.ansiBlue\":\"#4c9df3\",\"terminal.ansiBrightBlack\":\"#676767\",\"terminal.ansiBrightBlue\":\"#4c9df3\",\"terminal.ansiBrightCyan\":\"#75d3ba\",\"terminal.ansiBrightGreen\":\"#15ac91\",\"terminal.ansiBrightMagenta\":\"#e567dc\",\"terminal.ansiBrightRed\":\"#f14c4c\",\"terminal.ansiBrightWhite\":\"#d6d6dd\",\"terminal.ansiBrightYellow\":\"#e5b95c\",\"terminal.ansiCyan\":\"#75d3ba\",\"terminal.ansiGreen\":\"#15ac91\",\"terminal.ansiMagenta\":\"#e567dc\",\"terminal.ansiRed\":\"#f14c4c\",\"terminal.ansiWhite\":\"#d6d6dd\",\"terminal.ansiYellow\":\"#e5b95c\",\"terminal.background\":\"#191919\",\"terminal.border\":\"#383838\",\"terminal.foreground\":\"#d6d6dd\",\"terminal.selectionBackground\":\"#636262fd\",\"terminalCursor.background\":\"#5b51ec\",\"terminalCursor.foreground\":\"#d6d6dd\",\"textLink.foreground\":\"#228df2\",\"titleBar.activeBackground\":\"#292929\",\"titleBar.activeForeground\":\"#d1d1d1\",\"titleBar.border\":\"#383838\",\"titleBar.inactiveBackground\":\"#3c3b3c\",\"titleBar.inactiveForeground\":\"#cccccc99\",\"tree.indentGuidesStroke\":\"#d6d6dd00\",\"walkThrough.embeddedEditorBackground\":\"#00000050\",\"widget.shadow\":\"#111111eb\"},rules:[{foreground:\"#E394DC\",token:\"attribute.value.html\"},{foreground:\"#AAA0FA\",token:\"attribute.name.html\"},{foreground:\"#87C3FF\",token:\"tag.html\"},{foreground:\"#A8CC7C\",fontStyle:\"\",token:\"string.quoted.binary.single.python\"},{foreground:\"#82D2CE\",fontStyle:\"\",token:\"constant.language.false.cpp\"},{foreground:\"#82D2CE\",fontStyle:\"\",token:\"constant.language.true.cpp\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.delayed.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.list.begin.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.list.end.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.ability.begin.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.ability.end.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.operator.assignment.as.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.pipe.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.delimiter.unison\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.hash.unison\"},{foreground:\"#A8CC7C\",token:\"keyword.control.directive\"},{foreground:\"#D1D1D1\",fontStyle:\"\",token:\"constant.other.ellipsis.python\"},{foreground:\"#83D6C5\",token:\"variable.other.generic-type.haskell\"},{foreground:\"#898989\",fontStyle:\"\",token:\"punctuation.definition.tag\"},{foreground:\"#F8C762\",token:\"storage.type.haskell\"},{foreground:\"#D6D6DD\",token:\"support.variable.magic.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.period.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.element.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.parenthesis.begin.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.parenthesis.end.python\"},{foreground:\"#EFB080\",token:\"variable.parameter.function.language.special.self.python\"},{foreground:\"#82D2CE\",fontStyle:\"\",token:\"variable.language.this.cpp\"},{foreground:\"#D6D6DD\",token:\"storage.modifier.lifetime.rust\"},{foreground:\"#AAA0FA\",token:\"support.function.std.rust\"},{foreground:\"#EFB080\",token:\"entity.name.lifetime.rust\"},{foreground:\"#AA9BF5\",token:\"variable.other.property\"},{foreground:\"#D6D6DD\",token:\"variable.language.rust\"},{foreground:\"#83D6C5\",token:\"support.constant.edge\"},{foreground:\"#D6D6DD\",token:\"constant.other.character-class.regexp\"},{foreground:\"#F8C762\",token:\"keyword.operator.quantifier.regexp\"},{foreground:\"#E394DC\",token:\"punctuation.definition.string.begin\"},{foreground:\"#E394DC\",token:\"punctuation.definition.string.end\"},{foreground:\"#D6D6DD\",token:\"variable.parameter.function\"},{foreground:\"#6D6D6D\",token:\"comment markup.link\"},{foreground:\"#EFB080\",token:\"markup.changed.diff\"},{foreground:\"#AAA0FA\",token:\"meta.diff.header.from-file\"},{foreground:\"#AAA0FA\",token:\"meta.diff.header.to-file\"},{foreground:\"#AAA0FA\",token:\"punctuation.definition.from-file.diff\"},{foreground:\"#AAA0FA\",token:\"punctuation.definition.to-file.diff\"},{foreground:\"#E394DC\",token:\"markup.inserted.diff\"},{foreground:\"#D6D6DD\",token:\"markup.deleted.diff\"},{foreground:\"#D6D6DD\",token:\"meta.function.c\"},{foreground:\"#D6D6DD\",token:\"meta.function.cpp\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.block.begin.bracket.curly.cpp\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.block.end.bracket.curly.cpp\"},{foreground:\"#D6D6DD\",token:\"punctuation.terminator.statement.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.block.begin.bracket.curly.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.block.end.bracket.curly.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.parens.begin.bracket.round.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.parens.end.bracket.round.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.parameters.begin.bracket.round.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.parameters.end.bracket.round.c\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.key-value\"},{foreground:\"#AAA0FA\",token:\"keyword.operator.expression.import\"},{foreground:\"#EFB080\",token:\"support.constant.math\"},{foreground:\"#F8C762\",token:\"support.constant.property.math\"},{foreground:\"#EFB080\",token:\"variable.other.constant\"},{foreground:\"#AA9BF5\",token:\"variable.other.constant\"},{foreground:\"#EFB080\",token:\"storage.type.annotation.java\"},{foreground:\"#EFB080\",token:\"storage.type.object.array.java\"},{foreground:\"#D6D6DD\",token:\"source.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.block.begin.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.block.end.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.method-parameters.begin.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.method-parameters.end.java\"},{foreground:\"#D6D6DD\",token:\"meta.method.identifier.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.method.begin.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.method.end.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.terminator.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.class.begin.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.class.end.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.inner-class.begin.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.inner-class.end.java\"},{foreground:\"#D6D6DD\",token:\"meta.method-call.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.class.begin.bracket.curly.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.class.end.bracket.curly.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.method.begin.bracket.curly.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.method.end.bracket.curly.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.period.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.bracket.angle.java\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.annotation.java\"},{foreground:\"#D6D6DD\",token:\"meta.method.body.java\"},{foreground:\"#AAA0FA\",token:\"meta.method.java\"},{foreground:\"#EFB080\",token:\"storage.modifier.import.java\"},{foreground:\"#EFB080\",token:\"storage.type.java\"},{foreground:\"#EFB080\",token:\"storage.type.generic.java\"},{foreground:\"#83D6C5\",token:\"keyword.operator.instanceof.java\"},{foreground:\"#D6D6DD\",token:\"meta.definition.variable.name.java\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.logical\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.bitwise\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.channel\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.css\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.scss\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.less\"},{foreground:\"#F8C762\",token:\"support.constant.color.w3c-standard-color-name.css\"},{foreground:\"#F8C762\",token:\"support.constant.color.w3c-standard-color-name.scss\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.list.comma.css\"},{foreground:\"#F8C762\",token:\"support.constant.color.w3c-standard-color-name.css\"},{foreground:\"#EFB080\",token:\"support.module.node\"},{foreground:\"#EFB080\",token:\"support.type.object.module\"},{foreground:\"#EFB080\",token:\"support.module.node\"},{foreground:\"#EFB080\",token:\"entity.name.type.module\"},{foreground:\"#D6D6DD\",token:\"\"},{foreground:\"#D6D6DD\",token:\"meta.object-literal.key\"},{foreground:\"#D6D6DD\",token:\"support.variable.object.process\"},{foreground:\"#D6D6DD\",token:\"support.variable.object.node\"},{foreground:\"#94C1FA\",token:\"variable.other.readwrite\"},{foreground:\"#AA9BF5\",token:\"support.variable.property\"},{foreground:\"#F8C762\",token:\"support.constant.json\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.instanceof\"},{foreground:\"#83D6C5\",token:\"keyword.operator.new\"},{foreground:\"#83D6C5\",token:\"keyword.operator.ternary\"},{foreground:\"#83D6C5\",token:\"keyword.operator.optional\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.keyof\"},{foreground:\"#D6D6DD\",token:\"support.type.object.console\"},{foreground:\"#F8C762\",token:\"support.variable.property.process\"},{foreground:\"#EBC88D\",token:\"entity.name.function.js\"},{foreground:\"#EBC88D\",token:\"support.function.console.js\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.misc.rust\"},{foreground:\"#83D6C5\",token:\"keyword.operator.sigil.rust\"},{foreground:\"#83D6C5\",token:\"keyword.operator.delete\"},{foreground:\"#D6D6DD\",token:\"support.type.object.dom\"},{foreground:\"#D6D6DD\",token:\"support.variable.dom\"},{foreground:\"#D6D6DD\",token:\"support.variable.property.dom\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.arithmetic\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.comparison\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.decrement\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.increment\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.relational\"},{foreground:\"#83D6C5\",token:\"keyword.operator.assignment.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.comparison.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.increment.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.decrement.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.bitwise.shift.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.assignment.cpp\"},{foreground:\"#83D6C5\",token:\"keyword.operator.comparison.cpp\"},{foreground:\"#83D6C5\",token:\"keyword.operator.cpp\"},{foreground:\"#83D6C5\",token:\"keyword.operator.increment.cpp\"},{foreground:\"#83D6C5\",token:\"keyword.operator.decrement.cpp\"},{foreground:\"#83D6C5\",token:\"keyword.operator.bitwise.shift.cpp\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.delimiter\"},{foreground:\"#83D6C5\",token:\"punctuation.separator.c\"},{foreground:\"#83D6C5\",token:\"punctuation.separator.cpp\"},{foreground:\"#D6D6DD\",token:\"support.type.posix-reserved.c\"},{foreground:\"#D6D6DD\",token:\"support.type.posix-reserved.cpp\"},{foreground:\"#83D6C5\",token:\"keyword.operator.sizeof.c\"},{foreground:\"#83D6C5\",token:\"keyword.operator.sizeof.cpp\"},{foreground:\"#F8C762\",token:\"variable.parameter.function.language.python\"},{foreground:\"#82D2CE\",token:\"support.type.python\"},{foreground:\"#83D6C5\",token:\"keyword.operator.logical.python\"},{foreground:\"#F8C762\",token:\"variable.parameter.function.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.arguments.begin.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.arguments.end.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.arguments.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.list.begin.python\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.list.end.python\"},{foreground:\"#AAA0FA\",token:\"meta.function-call.generic.python\"},{foreground:\"#F8C762\",token:\"constant.character.format.placeholder.other.python\"},{foreground:\"#D6D6DD\",token:\"keyword.operator\"},{foreground:\"#83D6C5\",token:\"keyword.operator.assignment.compound\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.assignment.compound.js\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.assignment.compound.ts\"},{foreground:\"#83D6C5\",token:\"keyword\"},{foreground:\"#D1D1D1\",token:\"entity.name.namespace\"},{foreground:\"#D6D6DD\",token:\"variable\"},{foreground:\"#D6D6DD\",token:\"variable.c\"},{foreground:\"#C1808A\",token:\"variable.language\"},{foreground:\"#D6D6DD\",token:\"token.variable.parameter.java\"},{foreground:\"#EFB080\",token:\"import.storage.java\"},{foreground:\"#83D6C5\",token:\"token.package.keyword\"},{foreground:\"#D6D6DD\",token:\"token.package\"},{foreground:\"#EFB080\",token:\"entity.name.type.namespace\"},{foreground:\"#87C3FF\",token:\"support.class\"},{foreground:\"#87C3FF\",token:\" entity.name.type.class\"},{foreground:\"#EFB080\",token:\"entity.name.class.identifier.namespace.type\"},{foreground:\"#EFB080\",token:\"entity.name.class\"},{foreground:\"#EFB080\",token:\"variable.other.class.js\"},{foreground:\"#EFB080\",token:\"variable.other.class.ts\"},{foreground:\"#D6D6DD\",token:\"variable.other.class.php\"},{foreground:\"#EFB080\",token:\"entity.name.type\"},{foreground:\"#A8CC7C\",token:\"keyword.control.directive.include.cpp\"},{foreground:\"#F8C762\",token:\"control.elements\"},{foreground:\"#F8C762\",token:\" keyword.operator.less\"},{foreground:\"#AAA0FA\",token:\"keyword.other.special-method\"},{foreground:\"#82D2CE\",token:\"storage\"},{foreground:\"#D1D1D1\",fontStyle:\"\",token:\"storage.modifier.reference\"},{foreground:\"#D1D1D1\",fontStyle:\"\",token:\"storage.modifier.pointer\"},{foreground:\"#83D6C5\",token:\"token.storage\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.delete\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.in\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.of\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.instanceof\"},{foreground:\"#83D6C5\",token:\"keyword.operator.new\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.typeof\"},{foreground:\"#83D6C5\",token:\"keyword.operator.expression.void\"},{foreground:\"#EFB080\",token:\"token.storage.type.java\"},{foreground:\"#EFB080\",token:\"support.function\"},{foreground:\"#87C3FF\",fontStyle:\"\",token:\"meta.property-name.css\"},{foreground:\"#FAD075\",token:\"meta.tag\"},{foreground:\"#E394DC\",token:\"string\"},{foreground:\"#EFB080\",token:\"entity.other.inherited-class\"},{foreground:\"#D6D6DD\",token:\"constant.other.symbol\"},{foreground:\"#EBC88D\",token:\"constant.numeric\"},{foreground:\"#EBC88D\",token:\"constant.other.color\"},{foreground:\"#F8C762\",token:\"punctuation.definition.constant\"},{foreground:\"#AF9CFF\",token:\"entity.name.tag.template\"},{foreground:\"#AF9CFF\",token:\"entity.name.tag.script\"},{foreground:\"#AF9CFF\",token:\"entity.name.tag.style\"},{foreground:\"#87C3FF\",token:\"entity.name.tag.html\"},{foreground:\"#E394DC\",fontStyle:\"\",token:\"meta.property-value.css\"},{foreground:\"#AAA0FA\",token:\"entity.other.attribute-name\"},{foreground:\"#AAA0FA\",fontStyle:\"\",token:\"entity.other.attribute-name.id\"},{foreground:\"#F8C762\",fontStyle:\"\",token:\"entity.other.attribute-name.class.css\"},{foreground:\"#83D6C5\",token:\"meta.selector\"},{foreground:\"#D6D6DD\",token:\"markup.heading\"},{foreground:\"#AAA0FA\",token:\"markup.heading punctuation.definition.heading\"},{foreground:\"#AAA0FA\",token:\" entity.name.section\"},{foreground:\"#EBC88D\",token:\"keyword.other.unit\"},{foreground:\"#F8C762\",token:\"markup.bold\"},{foreground:\"#F8C762\",token:\"todo.bold\"},{foreground:\"#EFB080\",token:\"punctuation.definition.bold\"},{foreground:\"#83D6C5\",token:\"markup.italic\"},{foreground:\"#83D6C5\",token:\" punctuation.definition.italic\"},{foreground:\"#83D6C5\",token:\"todo.emphasis\"},{foreground:\"#83D6C5\",token:\"emphasis md\"},{foreground:\"#D6D6DD\",token:\"entity.name.section.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.heading.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.list.begin.markdown\"},{foreground:\"#D6D6DD\",token:\"markup.heading.setext\"},{foreground:\"#F8C762\",token:\"punctuation.definition.bold.markdown\"},{foreground:\"#E394DC\",token:\"markup.inline.raw.markdown\"},{foreground:\"#E394DC\",token:\"markup.inline.raw.string.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.list.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.string.begin.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.string.end.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.metadata.markdown\"},{foreground:\"#D6D6DD\",token:\"beginning.punctuation.definition.list.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.metadata.markdown\"},{foreground:\"#83D6C5\",token:\"markup.underline.link.markdown\"},{foreground:\"#83D6C5\",token:\"markup.underline.link.image.markdown\"},{foreground:\"#AAA0FA\",token:\"string.other.link.title.markdown\"},{foreground:\"#AAA0FA\",token:\"string.other.link.description.markdown\"},{foreground:\"#D6D6DD\",token:\"string.regexp\"},{foreground:\"#D6D6DD\",token:\"constant.character.escape\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.embedded\"},{foreground:\"#D6D6DD\",token:\" variable.interpolation\"},{foreground:\"#83D6C5\",token:\"punctuation.section.embedded.begin\"},{foreground:\"#83D6C5\",token:\"punctuation.section.embedded.end\"},{foreground:\"#D6D6DD\",token:\"invalid.illegal\"},{foreground:\"#D6D6DD\",token:\"invalid.illegal.bad-ampersand.html\"},{foreground:\"#D6D6DD\",token:\"invalid.broken\"},{foreground:\"#D6D6DD\",token:\"invalid.deprecated\"},{foreground:\"#D6D6DD\",token:\"invalid.unimplemented\"},{foreground:\"#D6D6DD\",token:\"source.json meta.structure.dictionary.json > string.quoted.json\"},{foreground:\"#D6D6DD\",token:\"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string\"},{foreground:\"#E394DC\",token:\"source.json meta.structure.dictionary.json > value.json > string.quoted.json\"},{foreground:\"#E394DC\",token:\"source.json meta.structure.array.json > value.json > string.quoted.json\"},{foreground:\"#E394DC\",token:\"source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation\"},{foreground:\"#E394DC\",token:\"source.json meta.structure.array.json > value.json > string.quoted.json > punctuation\"},{foreground:\"#D6D6DD\",token:\"source.json meta.structure.dictionary.json > constant.language.json\"},{foreground:\"#D6D6DD\",token:\"source.json meta.structure.array.json > constant.language.json\"},{foreground:\"#82D2CE\",token:\"support.type.property-name.json\"},{foreground:\"#83D6C5\",token:\"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade\"},{foreground:\"#83D6C5\",token:\"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade\"},{foreground:\"#EFB080\",token:\"support.other.namespace.use.php\"},{foreground:\"#EFB080\",token:\"support.other.namespace.use-as.php\"},{foreground:\"#EFB080\",token:\"support.other.namespace.php\"},{foreground:\"#EFB080\",token:\"entity.other.alias.php\"},{foreground:\"#EFB080\",token:\"meta.interface.php\"},{foreground:\"#83D6C5\",token:\"keyword.operator.error-control.php\"},{foreground:\"#83D6C5\",token:\"keyword.operator.type.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.array.begin.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.array.end.php\"},{foreground:\"#F44747\",token:\"invalid.illegal.non-null-typehinted.php\"},{foreground:\"#EFB080\",token:\"storage.type.php\"},{foreground:\"#EFB080\",token:\"meta.other.type.phpdoc.php\"},{foreground:\"#EFB080\",token:\"keyword.other.type.php\"},{foreground:\"#EFB080\",token:\"keyword.other.array.phpdoc.php\"},{foreground:\"#AAA0FA\",token:\"meta.function-call.php\"},{foreground:\"#AAA0FA\",token:\"meta.function-call.object.php\"},{foreground:\"#AAA0FA\",token:\"meta.function-call.static.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.parameters.begin.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.parameters.end.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.separator.delimiter.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.scope.begin.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.section.scope.end.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.terminator.expression.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.arguments.begin.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.arguments.end.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.storage-type.begin.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.storage-type.end.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.array.begin.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.array.end.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.begin.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.end.bracket.round.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.begin.bracket.curly.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.end.bracket.curly.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.section.switch-block.end.bracket.curly.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.section.switch-block.start.bracket.curly.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.section.switch-block.begin.bracket.curly.php\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.section.switch-block.end.bracket.curly.php\"},{foreground:\"#F8C762\",token:\"support.constant.core.rust\"},{foreground:\"#F8C762\",token:\"support.constant.ext.php\"},{foreground:\"#F8C762\",token:\"support.constant.std.php\"},{foreground:\"#F8C762\",token:\"support.constant.core.php\"},{foreground:\"#F8C762\",token:\"support.constant.parser-token.php\"},{foreground:\"#AAA0FA\",token:\"entity.name.goto-label.php\"},{foreground:\"#AAA0FA\",token:\"support.other.php\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.logical.php\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.bitwise.php\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.arithmetic.php\"},{foreground:\"#83D6C5\",token:\"keyword.operator.regexp.php\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.comparison.php\"},{foreground:\"#83D6C5\",token:\"keyword.operator.heredoc.php\"},{foreground:\"#83D6C5\",token:\"keyword.operator.nowdoc.php\"},{foreground:\"#A8CC7C\",token:\"meta.function.decorator.python\"},{foreground:\"#A8CC7C\",fontStyle:\"\",token:\"punctuation.definition.decorator.python\"},{foreground:\"#A8CC7C\",fontStyle:\"\",token:\"entity.name.function.decorator.python\"},{foreground:\"#D6D6DD\",token:\"support.token.decorator.python\"},{foreground:\"#D6D6DD\",token:\"meta.function.decorator.identifier.python\"},{foreground:\"#D6D6DD\",token:\"function.parameter\"},{foreground:\"#D6D6DD\",token:\"function.brace\"},{foreground:\"#D6D6DD\",token:\"function.parameter.ruby\"},{foreground:\"#D6D6DD\",token:\" function.parameter.cs\"},{foreground:\"#D6D6DD\",token:\"constant.language.symbol.ruby\"},{foreground:\"#D6D6DD\",token:\"rgb-value\"},{foreground:\"#F8C762\",token:\"inline-color-decoration rgb-value\"},{foreground:\"#F8C762\",token:\"less rgb-value\"},{foreground:\"#D6D6DD\",token:\"selector.sass\"},{foreground:\"#82D2CE\",token:\"support.type.primitive.ts\"},{foreground:\"#82D2CE\",token:\"support.type.builtin.ts\"},{foreground:\"#82D2CE\",token:\"support.type.primitive.tsx\"},{foreground:\"#82D2CE\",token:\"support.type.builtin.tsx\"},{foreground:\"#D6D6DD\",token:\"block.scope.end\"},{foreground:\"#D6D6DD\",token:\"block.scope.begin\"},{foreground:\"#EFB080\",token:\"storage.type.cs\"},{foreground:\"#D6D6DD\",token:\"entity.name.variable.local.cs\"},{foreground:\"#AAA0FA\",token:\"token.info-token\"},{foreground:\"#F8C762\",token:\"token.warn-token\"},{foreground:\"#F44747\",token:\"token.error-token\"},{foreground:\"#83D6C5\",token:\"token.debug-token\"},{foreground:\"#83D6C5\",token:\"punctuation.definition.template-expression.begin\"},{foreground:\"#83D6C5\",token:\"punctuation.definition.template-expression.end\"},{foreground:\"#83D6C5\",token:\"punctuation.section.embedded\"},{foreground:\"#D6D6DD\",token:\"meta.template.expression\"},{foreground:\"#83D6C5\",token:\"keyword.operator.module\"},{foreground:\"#AAA0FA\",token:\"support.type.type.flowtype\"},{foreground:\"#EFB080\",token:\"support.type.primitive\"},{foreground:\"#D6D6DD\",token:\"meta.property.object\"},{foreground:\"#D6D6DD\",token:\"variable.parameter.function.js\"},{foreground:\"#E394DC\",token:\"keyword.other.template.begin\"},{foreground:\"#E394DC\",token:\"keyword.other.template.end\"},{foreground:\"#E394DC\",token:\"keyword.other.substitution.begin\"},{foreground:\"#E394DC\",token:\"keyword.other.substitution.end\"},{foreground:\"#D6D6DD\",token:\"keyword.operator.assignment\"},{foreground:\"#EFB080\",token:\"keyword.operator.assignment.go\"},{foreground:\"#83D6C5\",token:\"keyword.operator.arithmetic.go\"},{foreground:\"#83D6C5\",token:\"keyword.operator.address.go\"},{foreground:\"#EFB080\",token:\"entity.name.package.go\"},{foreground:\"#D6D6DD\",token:\"support.type.prelude.elm\"},{foreground:\"#F8C762\",token:\"support.constant.elm\"},{foreground:\"#83D6C5\",token:\"punctuation.quasi.element\"},{foreground:\"#D6D6DD\",token:\"constant.character.entity\"},{foreground:\"#D6D6DD\",token:\"entity.other.attribute-name.pseudo-element\"},{foreground:\"#D6D6DD\",token:\"entity.other.attribute-name.pseudo-class\"},{foreground:\"#EFB080\",token:\"entity.global.clojure\"},{foreground:\"#D6D6DD\",token:\"meta.symbol.clojure\"},{foreground:\"#D6D6DD\",token:\"constant.keyword.clojure\"},{foreground:\"#D6D6DD\",token:\"meta.arguments.coffee\"},{foreground:\"#D6D6DD\",token:\"variable.parameter.function.coffee\"},{foreground:\"#E394DC\",token:\"source.ini\"},{foreground:\"#D6D6DD\",token:\"meta.scope.prerequisites.makefile\"},{foreground:\"#EFB080\",token:\"source.makefile\"},{foreground:\"#EFB080\",token:\"storage.modifier.import.groovy\"},{foreground:\"#AAA0FA\",token:\"meta.method.groovy\"},{foreground:\"#D6D6DD\",token:\"meta.definition.variable.name.groovy\"},{foreground:\"#E394DC\",token:\"meta.definition.class.inherited.classes.groovy\"},{foreground:\"#EFB080\",token:\"support.variable.semantic.hlsl\"},{foreground:\"#83D6C5\",token:\"support.type.texture.hlsl\"},{foreground:\"#83D6C5\",token:\"support.type.sampler.hlsl\"},{foreground:\"#83D6C5\",token:\"support.type.object.hlsl\"},{foreground:\"#83D6C5\",token:\"support.type.object.rw.hlsl\"},{foreground:\"#83D6C5\",token:\"support.type.fx.hlsl\"},{foreground:\"#83D6C5\",token:\"support.type.object.hlsl\"},{foreground:\"#D6D6DD\",token:\"text.variable\"},{foreground:\"#D6D6DD\",token:\"text.bracketed\"},{foreground:\"#EFB080\",token:\"support.type.swift\"},{foreground:\"#EFB080\",token:\"support.type.vb.asp\"},{foreground:\"#EFB080\",token:\"entity.name.function.xi\"},{foreground:\"#D6D6DD\",token:\"entity.name.class.xi\"},{foreground:\"#D6D6DD\",token:\"constant.character.character-class.regexp.xi\"},{foreground:\"#83D6C5\",token:\"constant.regexp.xi\"},{foreground:\"#D6D6DD\",token:\"keyword.control.xi\"},{foreground:\"#D6D6DD\",token:\"invalid.xi\"},{foreground:\"#E394DC\",token:\"beginning.punctuation.definition.quote.markdown.xi\"},{foreground:\"#6D6D6D\",token:\"beginning.punctuation.definition.list.markdown.xi\"},{foreground:\"#AAA0FA\",token:\"constant.character.xi\"},{foreground:\"#AAA0FA\",token:\"accent.xi\"},{foreground:\"#F8C762\",token:\"wikiword.xi\"},{foreground:\"#D6D6DD\",token:\"constant.other.color.rgb-value.xi\"},{foreground:\"#6D6D6D\",token:\"punctuation.definition.tag.xi\"},{foreground:\"#EFB080\",token:\"entity.name.label.cs\"},{foreground:\"#EFB080\",token:\"entity.name.scope-resolution.function.call\"},{foreground:\"#EFB080\",token:\"entity.name.scope-resolution.function.definition\"},{foreground:\"#D6D6DD\",token:\"entity.name.label.cs\"},{foreground:\"#D6D6DD\",token:\"markup.heading.setext.1.markdown\"},{foreground:\"#D6D6DD\",token:\"markup.heading.setext.2.markdown\"},{foreground:\"#D6D6DD\",token:\" meta.brace.square\"},{foreground:\"#6D6D6D\",fontStyle:\"italic\",token:\"comment\"},{foreground:\"#6D6D6D\",fontStyle:\"italic\",token:\" punctuation.definition.comment\"},{foreground:\"#6D6D6D\",token:\"markup.quote.markdown\"},{foreground:\"#D6D6DD\",token:\"punctuation.definition.block.sequence.item.yaml\"},{foreground:\"#D6D6DD\",token:\"constant.language.symbol.elixir\"},{fontStyle:\"italic\",token:\"entity.other.attribute-name.js\"},{fontStyle:\"italic\",token:\"entity.other.attribute-name.ts\"},{fontStyle:\"italic\",token:\"entity.other.attribute-name.jsx\"},{fontStyle:\"italic\",token:\"entity.other.attribute-name.tsx\"},{fontStyle:\"italic\",token:\"variable.parameter\"},{fontStyle:\"italic\",token:\"variable.language.super\"},{fontStyle:\"italic\",token:\"comment.line.double-slash\"},{fontStyle:\"italic\",token:\"comment.block.documentation\"},{fontStyle:\"italic\",token:\"keyword.control.import.python\"},{fontStyle:\"italic\",token:\"keyword.control.flow.python\"},{fontStyle:\"italic\",token:\"markup.italic.markdown\"}],encodedTokensColors:[]};let kT;function ul(){if(!kT)throw new Error(\"Monaco is undefined. Call setMonaco(monaco) first.\");return kT}function QX(s){kT=s}function JX(s){const{MarkerSeverity:e}=ul();return s===e.Error?1:s===e.Warning?2:s===e.Info?3:4}function eY(s){const{MarkerSeverity:e}=ul();return s===1?e.Error:s===2?e.Warning:s===3?e.Info:e.Hint}function tY(s){return s}function iY(s){return s}function of(s){return{start:{line:s.startLineNumber-1,character:s.startColumn-1},end:{line:s.endLineNumber-1,character:s.endColumn-1}}}function Zl(s){return{startLineNumber:s.start.line+1,startColumn:s.start.character+1,endLineNumber:s.end.line+1,endColumn:s.end.character+1}}function nY(s){return{location:{range:of(s),uri:String(s.resource)},message:s.message}}function sY(s){const{Uri:e}=ul();return{...Zl(s.location.range),message:s.message,resource:e.parse(s.location.uri)}}function oY(s){const e={message:s.message,range:of(s),severity:JX(s.severity)};return typeof s.code==\"string\"?e.code=s.code:s.code!=null&&(e.code=s.code.value,e.codeDescription={href:String(s.code.target)}),s.relatedInformation&&(e.relatedInformation=s.relatedInformation.map(nY)),s.tags&&(e.tags=s.tags.map(tY)),s.source!=null&&(e.source=s.source),e}function cW(s,e){var t;const{MarkerSeverity:i,Uri:n}=ul(),o={...Zl(s.range),message:s.message,severity:s.severity?eY(s.severity):(t=void 0)!==null&&t!==void 0?t:i.Error};return s.code!=null&&(o.code=s.codeDescription==null?String(s.code):{value:String(s.code),target:n.parse(s.codeDescription.href)}),s.relatedInformation&&(o.relatedInformation=s.relatedInformation.map(sY)),s.tags&&(o.tags=s.tags.map(iY)),s.source!=null&&(o.source=s.source),o}function rY(s){return{range:Zl(s.range),text:s.newText}}function aY(s){const e={};return s.ignoreIfExists!=null&&(e.ignoreIfExists=s.ignoreIfExists),s.ignoreIfNotExists!=null&&(e.ignoreIfNotExists=s.ignoreIfNotExists),s.overwrite!=null&&(e.overwrite=s.overwrite),s.recursive!=null&&(e.recursive=s.recursive),e}function lY(s){const{Uri:e}=ul(),t=s.kind===\"create\"?{newResource:e.parse(s.uri)}:s.kind===\"delete\"?{oldResource:e.parse(s.uri)}:{oldResource:e.parse(s.oldUri),newResource:e.parse(s.newUri)};return s.options&&(t.options=aY(s.options)),t}function p5(s,e,t){const{Uri:i}=ul();return{resource:i.parse(e),versionId:t,textEdit:rY(s)}}function dY(s){var e;const t=[];if(s.changes)for(const[i,n]of Object.entries(s.changes))for(const o of n)t.push(p5(o,i));if(s.documentChanges)for(const i of s.documentChanges)if(\"textDocument\"in i)for(const n of i.edits)t.push(p5(n,i.textDocument.uri,(e=i.textDocument.version)!==null&&e!==void 0?e:void 0));else t.push(lY(i));return{edits:t}}function cY(s,e){const t={title:s.title,isPreferred:s.isPreferred};return s.diagnostics&&(t.diagnostics=s.diagnostics.map(i=>cW(i))),s.disabled&&(t.disabled=s.disabled.reason),s.edit&&(t.edit=dY(s.edit)),s.isPreferred!=null&&(t.isPreferred=s.isPreferred),s.kind&&(t.kind=s.kind),t}function uY(s){const e={diagnostics:s.markers.map(oY),triggerKind:s.trigger};return s.only!=null&&(e.only=[s.only]),e}function hY(s){const e={title:s.title,command:s.id};return s.arguments&&(e.arguments=s.arguments),e}function gY(s){const e={title:s.title,id:s.command};return s.arguments&&(e.arguments=s.arguments),e}function fY(s){return{red:s.red,blue:s.blue,green:s.green,alpha:s.alpha}}function pY(s){return{range:Zl(s.range),color:fY(s.color)}}function mY(s){const{CompletionTriggerKind:e}=ul().languages;return s===e.Invoke?1:s===e.TriggerCharacter?2:3}function _Y(s){const e={triggerKind:mY(s.triggerKind)};return s.triggerCharacter!=null&&(e.triggerCharacter=s.triggerCharacter),e}function vY(s){const{CompletionItemKind:e}=ul().languages;if(s===e.Text)return 1;if(s===e.Method)return 2;if(s===e.Function)return 3;if(s===e.Constructor)return 4;if(s===e.Field)return 5;if(s===e.Variable)return 6;if(s===e.Class)return 7;if(s===e.Interface)return 8;if(s===e.Module)return 9;if(s===e.Property)return 10;if(s===e.Unit)return 11;if(s===e.Value)return 12;if(s===e.Enum)return 13;if(s===e.Keyword)return 14;if(s===e.Snippet)return 15;if(s===e.Color)return 16;if(s===e.File)return 17;if(s===e.Reference)return 18;if(s===e.Folder)return 19;if(s===e.EnumMember)return 20;if(s===e.Constant)return 21;if(s===e.Struct)return 22;if(s===e.Event)return 23;if(s===e.Operator)return 24;if(s===e.TypeParameter)return 25}function bY(s){const{CompletionItemKind:e}=ul().languages;return s===1?e.Text:s===2?e.Method:s===3?e.Function:s===4?e.Constructor:s===5?e.Field:s===6?e.Variable:s===7?e.Class:s===8?e.Interface:s===9?e.Module:s===10?e.Property:s===11?e.Unit:s===12?e.Value:s===13?e.Enum:s===14?e.Keyword:s===15?e.Snippet:s===16?e.Color:s===17?e.File:s===18?e.Reference:s===19?e.Folder:s===20?e.EnumMember:s===21?e.Constant:s===22?e.Struct:s===23?e.Event:s===24?e.Operator:e.TypeParameter}function CY(s){return s}function wY(s){return s}function yY(s){return{kind:\"markdown\",value:s.value}}function uW(s){return{value:s.value}}function SY(s){var e;return{newText:(e=s.text)!==null&&e!==void 0?e:\"\",range:of(s.range)}}function DY(s){return{range:Zl(s.range),text:s.newText}}function LY(s,e){return\"insert\"in s?{newText:e,insert:of(s.insert),replace:of(s.replace)}:{newText:e,range:of(s)}}function xY(s){const{CompletionItemInsertTextRule:e}=ul().languages,t={kind:vY(s.kind),label:typeof s.label==\"string\"?s.label:s.label.label,textEdit:LY(s.range,s.insertText)};return s.additionalTextEdits&&(t.additionalTextEdits=s.additionalTextEdits.map(SY)),s.command&&(t.command=hY(s.command)),s.commitCharacters&&(t.commitCharacters=s.commitCharacters),s.detail!=null&&(t.detail=s.detail),typeof s.documentation==\"string\"?t.documentation=s.documentation:s.documentation&&(t.documentation=yY(s.documentation)),s.filterText!=null&&(t.filterText=s.filterText),s.insertTextRules===e.InsertAsSnippet?t.insertTextFormat=2:s.insertTextRules===e.KeepWhitespace&&(t.insertTextMode=2),s.preselect!=null&&(t.preselect=s.preselect),s.sortText!=null&&(t.sortText=s.sortText),s.tags&&(t.tags=s.tags.map(CY)),t}function kY(s){return\"range\"in s?Zl(s.range):\"insert\"in s&&\"replace\"in s?{insert:Zl(s.insert),replace:Zl(s.replace)}:Zl(s)}function hW(s,e){var t,i,n,o,r;const{CompletionItemInsertTextRule:a,CompletionItemKind:l}=ul().languages,d=(t=e.itemDefaults)!==null&&t!==void 0?t:{},c=(i=s.textEdit)!==null&&i!==void 0?i:d.editRange,u=(n=s.commitCharacters)!==null&&n!==void 0?n:d.commitCharacters,h=(o=s.insertTextFormat)!==null&&o!==void 0?o:d.insertTextFormat,g=(r=s.insertTextMode)!==null&&r!==void 0?r:d.insertTextMode;let f=s.insertText,m;c?(m=kY(c),\"newText\"in c&&(f=c.newText)):m={...e.range};const _={insertText:f??\"\",kind:s.kind==null?l.Text:bY(s.kind),label:s.label,range:m};return s.additionalTextEdits&&(_.additionalTextEdits=s.additionalTextEdits.map(DY)),s.command&&(_.command=gY(s.command)),u&&(_.commitCharacters=u),s.detail!=null&&(_.detail=s.detail),typeof s.documentation==\"string\"?_.documentation=s.documentation:s.documentation&&(_.documentation=uW(s.documentation)),s.filterText!=null&&(_.filterText=s.filterText),h===2?_.insertTextRules=a.InsertAsSnippet:g===2&&(_.insertTextRules=a.KeepWhitespace),s.preselect!=null&&(_.preselect=s.preselect),s.sortText!=null&&(_.sortText=s.sortText),s.tags&&(_.tags=s.tags.map(wY)),_}function EY(s,e){return{incomplete:!!s.isIncomplete,suggestions:s.items.map(t=>hW(t,{range:e.range,itemDefaults:s.itemDefaults}))}}function m5(s){return typeof s==\"string\"?{value:s}:{value:`\\`\\`\\`${s.language}\n${s.value}\n\\`\\`\\``}}function IY(s){return typeof s==\"string\"||\"language\"in s?[m5(s)]:Array.isArray(s)?s.map(m5):[uW(s)]}function TY(s){const e={contents:IY(s.contents)};return s.range&&(e.range=Zl(s.range)),e}function gW(s){return{character:s.column-1,line:s.lineNumber-1}}function NY(s,e,t){const i=new Map,n=u=>{if(e===\"*\")return!0;const h=u.getLanguageId();return Array.isArray(e)?e.includes(h):e===h},o=async u=>{const h=u.getVersionId(),g=await t.provideMarkerData(u);!u.isDisposed()&&h===u.getVersionId()&&n(u)&&s.editor.setModelMarkers(u,t.owner,g??[])},r=u=>{if(!n(u))return;let h;const g=u.onDidChangeContent(()=>{clearTimeout(h),h=setTimeout(()=>{o(u)},500)});i.set(u,{dispose(){clearTimeout(h),g.dispose()}}),o(u)},a=u=>{s.editor.setModelMarkers(u,t.owner,[]);const h=i.get(u);h&&(h.dispose(),i.delete(u))},l=s.editor.onDidCreateModel(r),d=s.editor.onWillDisposeModel(u=>{var h;a(u),(h=t.doReset)==null||h.call(t,u)}),c=s.editor.onDidChangeModelLanguage(({model:u})=>{var h;a(u),r(u),(h=t.doReset)==null||h.call(t,u)});for(const u of s.editor.getModels())r(u);return{dispose(){for(const u of i.keys())a(u);l.dispose(),d.dispose(),c.dispose()},async revalidate(){await Promise.all(s.editor.getModels().map(o))}}}function AY(s,e){let{createData:t,interval:i=3e4,label:n,moduleId:o,stopWhenIdleFor:r=12e4}=e,a,l=0,d=!1;const c=()=>{a&&(a.dispose(),a=void 0)},u=setInterval(()=>{if(!a)return;Date.now()-l>r&&c()},i);return{dispose(){d=!0,clearInterval(u),c()},getWorker(...h){if(d)throw new Error(\"Worker manager has been disposed\");return l=Date.now(),a||(a=s.editor.createWebWorker({createData:t,label:n,moduleId:o})),a.withSyncedResources(h)},updateCreateData(h){t=h,c()}}}function Ws(s,e){MY(s)&&(s=\"100%\");var t=RY(s);return s=e===360?s:Math.min(e,Math.max(0,parseFloat(s))),t&&(s=parseInt(String(s*e),10)/100),Math.abs(s-e)<1e-6?1:(e===360?s=(s<0?s%e+e:s%e)/parseFloat(String(e)):s=s%e/parseFloat(String(e)),s)}function tw(s){return Math.min(1,Math.max(0,s))}function MY(s){return typeof s==\"string\"&&s.indexOf(\".\")!==-1&&parseFloat(s)===1}function RY(s){return typeof s==\"string\"&&s.indexOf(\"%\")!==-1}function fW(s){return s=parseFloat(s),(isNaN(s)||s<0||s>1)&&(s=1),s}function jg(s){return s<=1?\"\".concat(Number(s)*100,\"%\"):s}function Kg(s){return s.length===1?\"0\"+s:String(s)}function PY(s,e,t){return{r:Ws(s,255)*255,g:Ws(e,255)*255,b:Ws(t,255)*255}}function _5(s,e,t){s=Ws(s,255),e=Ws(e,255),t=Ws(t,255);var i=Math.max(s,e,t),n=Math.min(s,e,t),o=0,r=0,a=(i+n)/2;if(i===n)r=0,o=0;else{var l=i-n;switch(r=a>.5?l/(2-i-n):l/(i+n),i){case s:o=(e-t)/l+(e<t?6:0);break;case e:o=(t-s)/l+2;break;case t:o=(s-e)/l+4;break}o/=6}return{h:o,s:r,l:a}}function gE(s,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?s+(e-s)*(6*t):t<1/2?e:t<2/3?s+(e-s)*(2/3-t)*6:s}function FY(s,e,t){var i,n,o;if(s=Ws(s,360),e=Ws(e,100),t=Ws(t,100),e===0)n=t,o=t,i=t;else{var r=t<.5?t*(1+e):t+e-t*e,a=2*t-r;i=gE(a,r,s+1/3),n=gE(a,r,s),o=gE(a,r,s-1/3)}return{r:i*255,g:n*255,b:o*255}}function v5(s,e,t){s=Ws(s,255),e=Ws(e,255),t=Ws(t,255);var i=Math.max(s,e,t),n=Math.min(s,e,t),o=0,r=i,a=i-n,l=i===0?0:a/i;if(i===n)o=0;else{switch(i){case s:o=(e-t)/a+(e<t?6:0);break;case e:o=(t-s)/a+2;break;case t:o=(s-e)/a+4;break}o/=6}return{h:o,s:l,v:r}}function OY(s,e,t){s=Ws(s,360)*6,e=Ws(e,100),t=Ws(t,100);var i=Math.floor(s),n=s-i,o=t*(1-e),r=t*(1-n*e),a=t*(1-(1-n)*e),l=i%6,d=[t,r,o,o,a,t][l],c=[a,t,t,r,o,o][l],u=[o,o,a,t,t,r][l];return{r:d*255,g:c*255,b:u*255}}function b5(s,e,t,i){var n=[Kg(Math.round(s).toString(16)),Kg(Math.round(e).toString(16)),Kg(Math.round(t).toString(16))];return i&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join(\"\")}function BY(s,e,t,i,n){var o=[Kg(Math.round(s).toString(16)),Kg(Math.round(e).toString(16)),Kg(Math.round(t).toString(16)),Kg(WY(i))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join(\"\")}function WY(s){return Math.round(parseFloat(s)*255).toString(16)}function C5(s){return vr(s)/255}function vr(s){return parseInt(s,16)}function HY(s){return{r:s>>16,g:(s&65280)>>8,b:s&255}}var CS={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",darkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",ghostwhite:\"#f8f8ff\",goldenrod:\"#daa520\",gold:\"#ffd700\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavenderblush:\"#fff0f5\",lavender:\"#e6e6fa\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",lightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",moccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",rebeccapurple:\"#663399\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",seashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};function VY(s){var e={r:0,g:0,b:0},t=1,i=null,n=null,o=null,r=!1,a=!1;return typeof s==\"string\"&&(s=$Y(s)),typeof s==\"object\"&&(Bd(s.r)&&Bd(s.g)&&Bd(s.b)?(e=PY(s.r,s.g,s.b),r=!0,a=String(s.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):Bd(s.h)&&Bd(s.s)&&Bd(s.v)?(i=jg(s.s),n=jg(s.v),e=OY(s.h,i,n),r=!0,a=\"hsv\"):Bd(s.h)&&Bd(s.s)&&Bd(s.l)&&(i=jg(s.s),o=jg(s.l),e=FY(s.h,i,o),r=!0,a=\"hsl\"),Object.prototype.hasOwnProperty.call(s,\"a\")&&(t=s.a)),t=fW(t),{ok:r,format:s.format||a,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:t}}var zY=\"[-\\\\+]?\\\\d+%?\",UY=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",Fu=\"(?:\".concat(UY,\")|(?:\").concat(zY,\")\"),fE=\"[\\\\s|\\\\(]+(\".concat(Fu,\")[,|\\\\s]+(\").concat(Fu,\")[,|\\\\s]+(\").concat(Fu,\")\\\\s*\\\\)?\"),pE=\"[\\\\s|\\\\(]+(\".concat(Fu,\")[,|\\\\s]+(\").concat(Fu,\")[,|\\\\s]+(\").concat(Fu,\")[,|\\\\s]+(\").concat(Fu,\")\\\\s*\\\\)?\"),Ea={CSS_UNIT:new RegExp(Fu),rgb:new RegExp(\"rgb\"+fE),rgba:new RegExp(\"rgba\"+pE),hsl:new RegExp(\"hsl\"+fE),hsla:new RegExp(\"hsla\"+pE),hsv:new RegExp(\"hsv\"+fE),hsva:new RegExp(\"hsva\"+pE),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function $Y(s){if(s=s.trim().toLowerCase(),s.length===0)return!1;var e=!1;if(CS[s])s=CS[s],e=!0;else if(s===\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var t=Ea.rgb.exec(s);return t?{r:t[1],g:t[2],b:t[3]}:(t=Ea.rgba.exec(s),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Ea.hsl.exec(s),t?{h:t[1],s:t[2],l:t[3]}:(t=Ea.hsla.exec(s),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Ea.hsv.exec(s),t?{h:t[1],s:t[2],v:t[3]}:(t=Ea.hsva.exec(s),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Ea.hex8.exec(s),t?{r:vr(t[1]),g:vr(t[2]),b:vr(t[3]),a:C5(t[4]),format:e?\"name\":\"hex8\"}:(t=Ea.hex6.exec(s),t?{r:vr(t[1]),g:vr(t[2]),b:vr(t[3]),format:e?\"name\":\"hex\"}:(t=Ea.hex4.exec(s),t?{r:vr(t[1]+t[1]),g:vr(t[2]+t[2]),b:vr(t[3]+t[3]),a:C5(t[4]+t[4]),format:e?\"name\":\"hex8\"}:(t=Ea.hex3.exec(s),t?{r:vr(t[1]+t[1]),g:vr(t[2]+t[2]),b:vr(t[3]+t[3]),format:e?\"name\":\"hex\"}:!1)))))))))}function Bd(s){return!!Ea.CSS_UNIT.exec(String(s))}var jY=function(){function s(e,t){e===void 0&&(e=\"\"),t===void 0&&(t={});var i;if(e instanceof s)return e;typeof e==\"number\"&&(e=HY(e)),this.originalInput=e;var n=VY(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=t.format)!==null&&i!==void 0?i:n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return s.prototype.isDark=function(){return this.getBrightness()<128},s.prototype.isLight=function(){return!this.isDark()},s.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},s.prototype.getLuminance=function(){var e=this.toRgb(),t,i,n,o=e.r/255,r=e.g/255,a=e.b/255;return o<=.03928?t=o/12.92:t=Math.pow((o+.055)/1.055,2.4),r<=.03928?i=r/12.92:i=Math.pow((r+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),.2126*t+.7152*i+.0722*n},s.prototype.getAlpha=function(){return this.a},s.prototype.setAlpha=function(e){return this.a=fW(e),this.roundA=Math.round(100*this.a)/100,this},s.prototype.isMonochrome=function(){var e=this.toHsl().s;return e===0},s.prototype.toHsv=function(){var e=v5(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},s.prototype.toHsvString=function(){var e=v5(this.r,this.g,this.b),t=Math.round(e.h*360),i=Math.round(e.s*100),n=Math.round(e.v*100);return this.a===1?\"hsv(\".concat(t,\", \").concat(i,\"%, \").concat(n,\"%)\"):\"hsva(\".concat(t,\", \").concat(i,\"%, \").concat(n,\"%, \").concat(this.roundA,\")\")},s.prototype.toHsl=function(){var e=_5(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},s.prototype.toHslString=function(){var e=_5(this.r,this.g,this.b),t=Math.round(e.h*360),i=Math.round(e.s*100),n=Math.round(e.l*100);return this.a===1?\"hsl(\".concat(t,\", \").concat(i,\"%, \").concat(n,\"%)\"):\"hsla(\".concat(t,\", \").concat(i,\"%, \").concat(n,\"%, \").concat(this.roundA,\")\")},s.prototype.toHex=function(e){return e===void 0&&(e=!1),b5(this.r,this.g,this.b,e)},s.prototype.toHexString=function(e){return e===void 0&&(e=!1),\"#\"+this.toHex(e)},s.prototype.toHex8=function(e){return e===void 0&&(e=!1),BY(this.r,this.g,this.b,this.a,e)},s.prototype.toHex8String=function(e){return e===void 0&&(e=!1),\"#\"+this.toHex8(e)},s.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},s.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},s.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),i=Math.round(this.b);return this.a===1?\"rgb(\".concat(e,\", \").concat(t,\", \").concat(i,\")\"):\"rgba(\".concat(e,\", \").concat(t,\", \").concat(i,\", \").concat(this.roundA,\")\")},s.prototype.toPercentageRgb=function(){var e=function(t){return\"\".concat(Math.round(Ws(t,255)*100),\"%\")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},s.prototype.toPercentageRgbString=function(){var e=function(t){return Math.round(Ws(t,255)*100)};return this.a===1?\"rgb(\".concat(e(this.r),\"%, \").concat(e(this.g),\"%, \").concat(e(this.b),\"%)\"):\"rgba(\".concat(e(this.r),\"%, \").concat(e(this.g),\"%, \").concat(e(this.b),\"%, \").concat(this.roundA,\")\")},s.prototype.toName=function(){if(this.a===0)return\"transparent\";if(this.a<1)return!1;for(var e=\"#\"+b5(this.r,this.g,this.b,!1),t=0,i=Object.entries(CS);t<i.length;t++){var n=i[t],o=n[0],r=n[1];if(e===r)return o}return!1},s.prototype.toString=function(e){var t=!!e;e=e??this.format;var i=!1,n=this.a<1&&this.a>=0,o=!t&&n&&(e.startsWith(\"hex\")||e===\"name\");return o?e===\"name\"&&this.a===0?this.toName():this.toRgbString():(e===\"rgb\"&&(i=this.toRgbString()),e===\"prgb\"&&(i=this.toPercentageRgbString()),(e===\"hex\"||e===\"hex6\")&&(i=this.toHexString()),e===\"hex3\"&&(i=this.toHexString(!0)),e===\"hex4\"&&(i=this.toHex8String(!0)),e===\"hex8\"&&(i=this.toHex8String()),e===\"name\"&&(i=this.toName()),e===\"hsl\"&&(i=this.toHslString()),e===\"hsv\"&&(i=this.toHsvString()),i||this.toHexString())},s.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},s.prototype.clone=function(){return new s(this.toString())},s.prototype.lighten=function(e){e===void 0&&(e=10);var t=this.toHsl();return t.l+=e/100,t.l=tw(t.l),new s(t)},s.prototype.brighten=function(e){e===void 0&&(e=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(e/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(e/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(e/100)))),new s(t)},s.prototype.darken=function(e){e===void 0&&(e=10);var t=this.toHsl();return t.l-=e/100,t.l=tw(t.l),new s(t)},s.prototype.tint=function(e){return e===void 0&&(e=10),this.mix(\"white\",e)},s.prototype.shade=function(e){return e===void 0&&(e=10),this.mix(\"black\",e)},s.prototype.desaturate=function(e){e===void 0&&(e=10);var t=this.toHsl();return t.s-=e/100,t.s=tw(t.s),new s(t)},s.prototype.saturate=function(e){e===void 0&&(e=10);var t=this.toHsl();return t.s+=e/100,t.s=tw(t.s),new s(t)},s.prototype.greyscale=function(){return this.desaturate(100)},s.prototype.spin=function(e){var t=this.toHsl(),i=(t.h+e)%360;return t.h=i<0?360+i:i,new s(t)},s.prototype.mix=function(e,t){t===void 0&&(t=50);var i=this.toRgb(),n=new s(e).toRgb(),o=t/100,r={r:(n.r-i.r)*o+i.r,g:(n.g-i.g)*o+i.g,b:(n.b-i.b)*o+i.b,a:(n.a-i.a)*o+i.a};return new s(r)},s.prototype.analogous=function(e,t){e===void 0&&(e=6),t===void 0&&(t=30);var i=this.toHsl(),n=360/t,o=[this];for(i.h=(i.h-(n*e>>1)+720)%360;--e;)i.h=(i.h+n)%360,o.push(new s(i));return o},s.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new s(e)},s.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var t=this.toHsv(),i=t.h,n=t.s,o=t.v,r=[],a=1/e;e--;)r.push(new s({h:i,s:n,v:o})),o=(o+a)%1;return r},s.prototype.splitcomplement=function(){var e=this.toHsl(),t=e.h;return[this,new s({h:(t+72)%360,s:e.s,l:e.l}),new s({h:(t+216)%360,s:e.s,l:e.l})]},s.prototype.onBackground=function(e){var t=this.toRgb(),i=new s(e).toRgb(),n=t.a+i.a*(1-t.a);return new s({r:(t.r*t.a+i.r*i.a*(1-t.a))/n,g:(t.g*t.a+i.g*i.a*(1-t.a))/n,b:(t.b*t.a+i.b*i.a*(1-t.a))/n,a:n})},s.prototype.triad=function(){return this.polyad(3)},s.prototype.tetrad=function(){return this.polyad(4)},s.prototype.polyad=function(e){for(var t=this.toHsl(),i=t.h,n=[this],o=360/e,r=1;r<e;r++)n.push(new s({h:(i+r*o)%360,s:t.s,l:t.l}));return n},s.prototype.equals=function(e){return this.toRgbString()===new s(e).toRgbString()},s}();function KY(s,e){var t={r:jg(s.r),g:jg(s.g),b:jg(s.b)};return s.a!==void 0&&(t.a=Number(s.a)),new jY(t,e)}var ET=Object.values(CS),qY=new RegExp(`-\\\\[(${ET.join(\"|\")}|((?:#|rgba?\\\\(|hsla?\\\\())[^\\\\]]+)\\\\]$`),IT=document.createElement(\"style\");document.head.append(IT);function mE(s){return Math.round(s*255).toString(16).padStart(2,\"0\")}function GY(s){const e=`${mE(s.red)}${mE(s.green)}${mE(s.blue)}`,t=`tailwindcss-color-decoration-${e}`,i=`.${t}`;for(const n of IT.sheet.cssRules)if(n.selectorText===i)return t;return IT.sheet.insertRule(`${i}{background-color:#${e}}`),t}function ZY(s,e){const t=new WeakMap;return s.editor.onWillDisposeModel(i=>{t.delete(i)}),{async provideDocumentColors(i){const n=await e(i.uri),o=[],r=[],a=await n.getDocumentColors(String(i.uri),i.getLanguageId());if(a)for(const l of a){const d=pY(l),c=i.getValueInRange(d.range);qY.test(c)?o.push(d):r.push(d)}return t.set(i,i.deltaDecorations(t.get(i)??[],r.map(({color:l,range:d})=>({range:d,options:{before:{content:\" \",inlineClassName:`${GY(l)} colorpicker-color-decoration`,inlineClassNameAffectsLetterSpacing:!0}}})))),o},provideColorPresentations(i,n){const o=i.getValueInRange(n.range),r=new RegExp(`-\\\\[(${ET.join(\"|\")}|(?:(?:#|rgba?\\\\(|hsla?\\\\())[^\\\\]]+)\\\\]$`,\"i\").exec(o);if(!r)return[];const[a]=r,l=ET.includes(a),d=KY({r:n.color.red,g:n.color.green,b:n.color.blue,a:n.color.alpha});let c=d.toHex8String(!l&&(a.length===4||a.length===5));c.length===5?c=c.replace(/f$/,\"\"):c.length===9&&(c=c.replace(/ff$/,\"\"));const u=d.toRgbString().replaceAll(\" \",\"\"),h=d.toHslString().replaceAll(\" \",\"\"),g=o.slice(0,Math.max(0,r.index));return[{label:`${g}-[${c}]`},{label:`${g}-[${u}]`},{label:`${g}-[${h}]`}]}}}function XY(s){return{async provideHover(e,t){const n=await(await s(e.uri)).doHover(String(e.uri),e.getLanguageId(),gW(t));return n&&TY(n)}}}function YY(s){return{async provideCodeActions(e,t,i){const o=await(await s(e.uri)).doCodeActions(String(e.uri),e.getLanguageId(),of(t),uY(i));if(o)return{actions:o.map(r=>cY(r)),dispose(){}}}}}function QY(s){return{async provideCompletionItems(e,t,i){const o=await(await s(e.uri)).doComplete(String(e.uri),e.getLanguageId(),gW(t),_Y(i));if(!o)return;const r=e.getWordUntilPosition(t);return EY(o,{range:{startLineNumber:t.lineNumber,startColumn:r.startColumn,endLineNumber:t.lineNumber,endColumn:r.endColumn}})},async resolveCompletionItem(e){const i=await(await s()).resolveCompletionItem(xY(e));return hW(i,{range:e.range})}}}function JY(s){return{owner:\"tailwindcss\",async provideMarkerData(e){const i=await(await s(e.uri)).doValidate(String(e.uri),e.getLanguageId());return i==null?void 0:i.map(n=>cW(n))}}}function AL(s,e){return{name:`@${s}`,description:{kind:\"markdown\",value:e},references:[{name:`@${s} documentation`,url:`https://tailwindcss.com/docs/functions-and-directives#${s}`}]}}var eQ=AL(\"tailwind\",`Use the \\`@tailwind\\` directive to insert Tailwind's \\`base\\`, \\`components\\`, \\`utilities\\` and \\`variants\\` styles into your CSS.\n\n\\`\\`\\`css\n/**\n * This injects Tailwind's base styles and any base styles registered by\n * plugins.\n */\n@tailwind base;\n\n/**\n * This injects Tailwind's component classes and any component classes\n * registered by plugins.\n */\n@tailwind components;\n\n/**\n * This injects Tailwind's utility classes and any utility classes registered\n * by plugins.\n */\n@tailwind utilities;\n\n/**\n * Use this directive to control where Tailwind injects the hover, focus,\n * responsive, dark mode, and other variants of each class.\n *\n * If omitted, Tailwind will append these classes to the very end of\n * your stylesheet by default.\n */\n@tailwind variants;\n\\`\\`\\``),tQ=AL(\"layer\",`Use the \\`@layer\\` directive to tell Tailwind which \"bucket\" a set of custom styles belong to. Valid layers are \\`base\\`, \\`components\\`, and \\`utilities\\`.\n\n\\`\\`\\`css\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@layer base {\n  h1 {\n    @apply text-2xl;\n  }\n  h2 {\n    @apply text-xl;\n  }\n}\n\n@layer components {\n  .btn-blue {\n    @apply bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded;\n  }\n}\n\n@layer utilities {\n  .filter-none {\n    filter: none;\n  }\n  .filter-grayscale {\n    filter: grayscale(100%);\n  }\n}\n\\`\\`\\`\n\nTailwind will automatically move any CSS within a \\`@layer\\` directive to the same place as the corresponding \\`@tailwind\\` rule, so you don't have to worry about authoring your CSS in a specific order to avoid specificity issues.\n\nAny custom CSS added to a layer will only be included in the final build if that CSS is actually used in your HTML, just like all of the classes built in to Tailwind by default.\n\nWrapping any custom CSS in a \\`@layer\\` directive also makes it possible to use modifiers with those rules, like \\`hover:\\` and \\`focus:\\` or responsive modifiers like \\`md:\\` and \\`lg:\\`.`),iQ=AL(\"apply\",`Use \\`@apply\\` to inline any existing utility classes into your own custom CSS.\n\nThis is useful when you need to write custom CSS (like to override the styles in a third-party library) but still want to work with your design tokens and use the same syntax you're used to using in your HTML.\n\n\\`\\`\\`css\n.select2-dropdown {\n  @apply rounded-b-lg shadow-md;\n}\n.select2-search {\n  @apply border border-gray-300 rounded;\n}\n.select2-results__group {\n  @apply text-lg font-bold text-gray-900;\n}\n\\`\\`\\`\n\nAny rules inlined with \\`@apply\\` will have \\`!important\\` **removed** by default to avoid specificity issues:\n\n\\`\\`\\`css\n/* Input */\n.foo {\n  color: blue !important;\n}\n\n.bar {\n  @apply foo;\n}\n\n/* Output */\n.foo {\n  color: blue !important;\n}\n\n.bar {\n  color: blue;\n}\n\\`\\`\\`\n\nIf you'd like to \\`@apply\\` an existing class and make it \\`!important\\`, simply add \\`!important\\` to the end of the declaration:\n\n\\`\\`\\`css\n/* Input */\n.btn {\n  @apply font-bold py-2 px-4 rounded !important;\n}\n\n/* Output */\n.btn {\n  font-weight: 700 !important;\n  padding-top: .5rem !important;\n  padding-bottom: .5rem !important;\n  padding-right: 1rem !important;\n  padding-left: 1rem !important;\n  border-radius: .25rem !important;\n}\n\\`\\`\\`\n\nNote that if you're using Sass/SCSS, you'll need to use Sass' interpolation feature to get this to work:\n\n\\`\\`\\`css\n.btn {\n  @apply font-bold py-2 px-4 rounded #{!important};\n}\n\\`\\`\\``),nQ=AL(\"config\",'Use the `@config` directive to specify which config file Tailwind should use when compiling CSS file. This is useful for projects that need to use different configuration files for different CSS entry points.\\n\\n```css\\n@config \"./tailwind.site.config.js\";\\n@tailwind base;\\n@tailwind components;\\n@tailwind utilities;\\n```\\n\\n```css\\n@config \"./tailwind.admin.config.js\";\\n@tailwind base;\\n@tailwind components;\\n@tailwind utilities;\\n```\\n\\nThe path you provide to the `@config` directive is relative to that CSS file, and will take precedence over a path defined in your PostCSS configuration or in the Tailwind CLI.'),sQ={version:1.1,atDirectives:[eQ,tQ,iQ,nQ]},oQ=[\"css\",\"javascript\",\"html\",\"mdx\",\"typescript\"],rQ=(s,{languageSelector:e=oQ,tailwindConfig:t}={})=>{QX(s);const i=AY(s,{label:\"tailwindcss\",moduleId:\"monaco-tailwindcss/tailwindcss.worker\",createData:{tailwindConfig:t}}),n=[i,s.languages.registerCodeActionProvider(e,YY(i.getWorker)),s.languages.registerColorProvider(e,ZY(s,i.getWorker)),s.languages.registerCompletionItemProvider(e,QY(i.getWorker)),s.languages.registerHoverProvider(e,XY(i.getWorker))];for(const o of Array.isArray(e)?e:[e])typeof o==\"string\"&&n.push(NY(s,o,JY(i.getWorker)));return{dispose(){for(const o of n)o.dispose()},setTailwindConfig(o){i.updateCreateData({tailwindConfig:o})},async generateStylesFromContent(o,r){return(await i.getWorker()).generateStylesFromContent(o,r.map(l=>typeof l==\"string\"?{content:l}:l))}}},aQ=Object.defineProperty,pW=s=>{throw TypeError(s)},ML=(s,e)=>{for(var t in e)aQ(s,t,{get:e[t],enumerable:!0})},mW=(s,e,t)=>e.has(s)||pW(\"Cannot \"+t),uu=(s,e,t)=>(mW(s,e,\"read from private field\"),e.get(s)),lQ=(s,e,t)=>e.has(s)?pW(\"Cannot add the same private member more than once\"):e instanceof WeakSet?e.add(s):e.set(s,t),dQ=(s,e,t,i)=>(mW(s,e,\"write to private field\"),e.set(s,t),t),_W={};ML(_W,{languages:()=>bse,options:()=>_se,printers:()=>vse});var cQ=[{linguistLanguageId:183,name:\"JavaScript\",type:\"programming\",tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"text/javascript\",color:\"#f1e05a\",aliases:[\"js\",\"node\"],extensions:[\".js\",\"._js\",\".bones\",\".cjs\",\".es\",\".es6\",\".frag\",\".gs\",\".jake\",\".javascript\",\".jsb\",\".jscad\",\".jsfl\",\".jslib\",\".jsm\",\".jspre\",\".jss\",\".mjs\",\".njs\",\".pac\",\".sjs\",\".ssjs\",\".xsjs\",\".xsjslib\",\".wxs\"],filenames:[\"Jakefile\"],interpreters:[\"chakra\",\"d8\",\"gjs\",\"js\",\"node\",\"nodejs\",\"qjs\",\"rhino\",\"v8\",\"v8-shell\",\"zx\"],parsers:[\"babel\",\"acorn\",\"espree\",\"meriyah\",\"babel-flow\",\"babel-ts\",\"flow\",\"typescript\"],vscodeLanguageIds:[\"javascript\",\"mongo\"]},{linguistLanguageId:183,name:\"Flow\",type:\"programming\",tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"text/javascript\",color:\"#f1e05a\",aliases:[],extensions:[\".js.flow\"],filenames:[],interpreters:[\"chakra\",\"d8\",\"gjs\",\"js\",\"node\",\"nodejs\",\"qjs\",\"rhino\",\"v8\",\"v8-shell\"],parsers:[\"flow\",\"babel-flow\"],vscodeLanguageIds:[\"javascript\"]},{linguistLanguageId:183,name:\"JSX\",type:\"programming\",tmScope:\"source.js.jsx\",aceMode:\"javascript\",codemirrorMode:\"jsx\",codemirrorMimeType:\"text/jsx\",color:void 0,aliases:void 0,extensions:[\".jsx\"],filenames:void 0,interpreters:void 0,parsers:[\"babel\",\"babel-flow\",\"babel-ts\",\"flow\",\"typescript\",\"espree\",\"meriyah\"],vscodeLanguageIds:[\"javascriptreact\"],group:\"JavaScript\"},{linguistLanguageId:378,name:\"TypeScript\",type:\"programming\",color:\"#3178c6\",aliases:[\"ts\"],interpreters:[\"deno\",\"ts-node\"],extensions:[\".ts\",\".cts\",\".mts\"],tmScope:\"source.ts\",aceMode:\"typescript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/typescript\",parsers:[\"typescript\",\"babel-ts\"],vscodeLanguageIds:[\"typescript\"]},{linguistLanguageId:94901924,name:\"TSX\",type:\"programming\",color:\"#3178c6\",group:\"TypeScript\",extensions:[\".tsx\"],tmScope:\"source.tsx\",aceMode:\"javascript\",codemirrorMode:\"jsx\",codemirrorMimeType:\"text/jsx\",parsers:[\"typescript\",\"babel-ts\"],vscodeLanguageIds:[\"typescriptreact\"]}],vW={};ML(vW,{canAttachComment:()=>_ee,embed:()=>ste,experimentalFeatures:()=>lse,getCommentChildNodes:()=>vee,getVisitorKeys:()=>yW,handleComments:()=>zW,insertPragma:()=>_te,isBlockComment:()=>Ca,isGap:()=>bee,massageAstNode:()=>pJ,print:()=>ase,printComment:()=>PJ,willPrintOwnComments:()=>JW});var uQ=(s,e,t,i)=>{if(!(s&&e==null))return e.replaceAll?e.replaceAll(t,i):t.global?e.replace(t,i):e.split(t).join(i)},As=uQ,hQ=(s,e,t)=>{if(!(s&&e==null))return Array.isArray(e)||typeof e==\"string\"?e[t<0?e.length+t:t]:e.at(t)},Si=hQ;function gQ(s){return s!==null&&typeof s==\"object\"}var fQ=gQ;function*pQ(s,e){let{getVisitorKeys:t,filter:i=()=>!0}=e,n=o=>fQ(o)&&i(o);for(let o of t(s)){let r=s[o];if(Array.isArray(r))for(let a of r)n(a)&&(yield a);else n(r)&&(yield r)}}function*mQ(s,e){let t=[s];for(let i=0;i<t.length;i++){let n=t[i];for(let o of pQ(n,e))yield o,t.push(o)}}function _Q(s,{getVisitorKeys:e,predicate:t}){for(let i of mQ(s,{getVisitorKeys:e}))if(t(i))return!0;return!1}var vQ=()=>/[#*0-9]\\uFE0F?\\u20E3|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26AA\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C8\\u26CF\\u26D1\\u26E9\\u26F0-\\u26F5\\u26F7\\u26F8\\u26FA\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2757\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B55\\u3030\\u303D\\u3297\\u3299]\\uFE0F?|[\\u261D\\u270C\\u270D](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?|[\\u270A\\u270B](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u2693\\u26A1\\u26AB\\u26C5\\u26CE\\u26D4\\u26EA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2795-\\u2797\\u27B0\\u27BF\\u2B50]|\\u26D3\\uFE0F?(?:\\u200D\\uD83D\\uDCA5)?|\\u26F9(?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\u2764\\uFE0F?(?:\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79))?|\\uD83C(?:[\\uDC04\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]\\uFE0F?|[\\uDF85\\uDFC2\\uDFC7](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDFC4\\uDFCA](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDFCB\\uDFCC](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF43\\uDF45-\\uDF4A\\uDF4C-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uDDE6\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF]|\\uDDE7\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF]|\\uDDE8\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF7\\uDDFA-\\uDDFF]|\\uDDE9\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF]|\\uDDEA\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA]|\\uDDEB\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7]|\\uDDEC\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE]|\\uDDED\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA]|\\uDDEE\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9]|\\uDDEF\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5]|\\uDDF0\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF]|\\uDDF1\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE]|\\uDDF2\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF]|\\uDDF3\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF]|\\uDDF4\\uD83C\\uDDF2|\\uDDF5\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE]|\\uDDF6\\uD83C\\uDDE6|\\uDDF7\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC]|\\uDDF8\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF]|\\uDDF9\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF]|\\uDDFA\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF]|\\uDDFB\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA]|\\uDDFC\\uD83C[\\uDDEB\\uDDF8]|\\uDDFD\\uD83C\\uDDF0|\\uDDFE\\uD83C[\\uDDEA\\uDDF9]|\\uDDFF\\uD83C[\\uDDE6\\uDDF2\\uDDFC]|\\uDF44(?:\\u200D\\uD83D\\uDFEB)?|\\uDF4B(?:\\u200D\\uD83D\\uDFE9)?|\\uDFC3(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?|\\uDFF3\\uFE0F?(?:\\u200D(?:\\u26A7\\uFE0F?|\\uD83C\\uDF08))?|\\uDFF4(?:\\u200D\\u2620\\uFE0F?|\\uDB40\\uDC67\\uDB40\\uDC62\\uDB40(?:\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67|\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73)\\uDB40\\uDC7F)?)|\\uD83D(?:[\\uDC3F\\uDCFD\\uDD49\\uDD4A\\uDD6F\\uDD70\\uDD73\\uDD76-\\uDD79\\uDD87\\uDD8A-\\uDD8D\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA\\uDECB\\uDECD-\\uDECF\\uDEE0-\\uDEE5\\uDEE9\\uDEF0\\uDEF3]\\uFE0F?|[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE4C\\uDE4F\\uDEC0\\uDECC](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4\\uDEB5](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDD74\\uDD90](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?|[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\uDC25\\uDC27-\\uDC3A\\uDC3C-\\uDC3E\\uDC40\\uDC44\\uDC45\\uDC51-\\uDC65\\uDC6A\\uDC79-\\uDC7B\\uDC7D-\\uDC80\\uDC84\\uDC88-\\uDC8E\\uDC90\\uDC92-\\uDCA9\\uDCAB-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDDA4\\uDDFB-\\uDE2D\\uDE2F-\\uDE34\\uDE37-\\uDE41\\uDE43\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEDC-\\uDEDF\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB\\uDFF0]|\\uDC08(?:\\u200D\\u2B1B)?|\\uDC15(?:\\u200D\\uD83E\\uDDBA)?|\\uDC26(?:\\u200D(?:\\u2B1B|\\uD83D\\uDD25))?|\\uDC3B(?:\\u200D\\u2744\\uFE0F?)?|\\uDC41\\uFE0F?(?:\\u200D\\uD83D\\uDDE8\\uFE0F?)?|\\uDC68(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D(?:[\\uDC68\\uDC69]\\u200D\\uD83D(?:\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?)|[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?)|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFC-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB-\\uDFFE])))?))?|\\uDC69(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?[\\uDC68\\uDC69]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D(?:[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?|\\uDC69\\u200D\\uD83D(?:\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?))|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFC-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB-\\uDFFE])))?))?|\\uDC6F(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\uDD75(?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\uDE2E(?:\\u200D\\uD83D\\uDCA8)?|\\uDE35(?:\\u200D\\uD83D\\uDCAB)?|\\uDE36(?:\\u200D\\uD83C\\uDF2B\\uFE0F?)?|\\uDE42(?:\\u200D[\\u2194\\u2195]\\uFE0F?)?|\\uDEB6(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?)|\\uD83E(?:[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5\\uDEC3-\\uDEC5\\uDEF0\\uDEF2-\\uDEF8](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD\\uDDCF\\uDDD4\\uDDD6-\\uDDDD](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDDDE\\uDDDF](?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCC\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE7C\\uDE80-\\uDE89\\uDE8F-\\uDEC2\\uDEC6\\uDECE-\\uDEDC\\uDEDF-\\uDEE9]|\\uDD3C(?:\\u200D[\\u2640\\u2642]\\uFE0F?|\\uD83C[\\uDFFB-\\uDFFF])?|\\uDDCE(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?|\\uDDD1(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1|\\uDDD1\\u200D\\uD83E\\uDDD2(?:\\u200D\\uD83E\\uDDD2)?|\\uDDD2(?:\\u200D\\uD83E\\uDDD2)?))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFC-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB\\uDFFD-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFD\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFE]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?))?|\\uDEF1(?:\\uD83C(?:\\uDFFB(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFC-\\uDFFF])?|\\uDFFC(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])?|\\uDFFD(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])?|\\uDFFE(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])?|\\uDFFF(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB-\\uDFFE])?))?)/g;function bQ(s){return s===12288||s>=65281&&s<=65376||s>=65504&&s<=65510}function CQ(s){return s>=4352&&s<=4447||s===8986||s===8987||s===9001||s===9002||s>=9193&&s<=9196||s===9200||s===9203||s===9725||s===9726||s===9748||s===9749||s>=9776&&s<=9783||s>=9800&&s<=9811||s===9855||s>=9866&&s<=9871||s===9875||s===9889||s===9898||s===9899||s===9917||s===9918||s===9924||s===9925||s===9934||s===9940||s===9962||s===9970||s===9971||s===9973||s===9978||s===9981||s===9989||s===9994||s===9995||s===10024||s===10060||s===10062||s>=10067&&s<=10069||s===10071||s>=10133&&s<=10135||s===10160||s===10175||s===11035||s===11036||s===11088||s===11093||s>=11904&&s<=11929||s>=11931&&s<=12019||s>=12032&&s<=12245||s>=12272&&s<=12287||s>=12289&&s<=12350||s>=12353&&s<=12438||s>=12441&&s<=12543||s>=12549&&s<=12591||s>=12593&&s<=12686||s>=12688&&s<=12773||s>=12783&&s<=12830||s>=12832&&s<=12871||s>=12880&&s<=42124||s>=42128&&s<=42182||s>=43360&&s<=43388||s>=44032&&s<=55203||s>=63744&&s<=64255||s>=65040&&s<=65049||s>=65072&&s<=65106||s>=65108&&s<=65126||s>=65128&&s<=65131||s>=94176&&s<=94180||s===94192||s===94193||s>=94208&&s<=100343||s>=100352&&s<=101589||s>=101631&&s<=101640||s>=110576&&s<=110579||s>=110581&&s<=110587||s===110589||s===110590||s>=110592&&s<=110882||s===110898||s>=110928&&s<=110930||s===110933||s>=110948&&s<=110951||s>=110960&&s<=111355||s>=119552&&s<=119638||s>=119648&&s<=119670||s===126980||s===127183||s===127374||s>=127377&&s<=127386||s>=127488&&s<=127490||s>=127504&&s<=127547||s>=127552&&s<=127560||s===127568||s===127569||s>=127584&&s<=127589||s>=127744&&s<=127776||s>=127789&&s<=127797||s>=127799&&s<=127868||s>=127870&&s<=127891||s>=127904&&s<=127946||s>=127951&&s<=127955||s>=127968&&s<=127984||s===127988||s>=127992&&s<=128062||s===128064||s>=128066&&s<=128252||s>=128255&&s<=128317||s>=128331&&s<=128334||s>=128336&&s<=128359||s===128378||s===128405||s===128406||s===128420||s>=128507&&s<=128591||s>=128640&&s<=128709||s===128716||s>=128720&&s<=128722||s>=128725&&s<=128727||s>=128732&&s<=128735||s===128747||s===128748||s>=128756&&s<=128764||s>=128992&&s<=129003||s===129008||s>=129292&&s<=129338||s>=129340&&s<=129349||s>=129351&&s<=129535||s>=129648&&s<=129660||s>=129664&&s<=129673||s>=129679&&s<=129734||s>=129742&&s<=129756||s>=129759&&s<=129769||s>=129776&&s<=129784||s>=131072&&s<=196605||s>=196608&&s<=262141}var wQ=s=>!(bQ(s)||CQ(s)),yQ=/[^\\x20-\\x7F]/u;function SQ(s){if(!s)return 0;if(!yQ.test(s))return s.length;s=s.replace(vQ(),\"  \");let e=0;for(let t of s){let i=t.codePointAt(0);i<=31||i>=127&&i<=159||i>=768&&i<=879||(e+=wQ(i)?1:2)}return e}var Qm=SQ;function cP(s){return(e,t,i)=>{let n=!!(i!=null&&i.backwards);if(t===!1)return!1;let{length:o}=e,r=t;for(;r>=0&&r<o;){let a=e.charAt(r);if(s instanceof RegExp){if(!s.test(a))return r}else if(!s.includes(a))return r;n?r--:r++}return r===-1||r===o?r:!1}}var Jm=cP(\" \t\"),DQ=cP(\",; \t\"),LQ=cP(/[^\\n\\r]/u);function xQ(s,e,t){let i=!!(t!=null&&t.backwards);if(e===!1)return!1;let n=s.charAt(e);if(i){if(s.charAt(e-1)===\"\\r\"&&n===`\n`)return e-2;if(n===`\n`||n===\"\\r\"||n===\"\\u2028\"||n===\"\\u2029\")return e-1}else{if(n===\"\\r\"&&s.charAt(e+1)===`\n`)return e+2;if(n===`\n`||n===\"\\r\"||n===\"\\u2028\"||n===\"\\u2029\")return e+1}return e}var e_=xQ;function kQ(s,e,t={}){let i=Jm(s,t.backwards?e-1:e,t),n=e_(s,i,t);return i!==n}var Ar=kQ;function EQ(s,e){if(e===!1)return!1;if(s.charAt(e)===\"/\"&&s.charAt(e+1)===\"*\"){for(let t=e+2;t<s.length;++t)if(s.charAt(t)===\"*\"&&s.charAt(t+1)===\"/\")return t+2}return e}var uP=EQ;function IQ(s,e){return e===!1?!1:s.charAt(e)===\"/\"&&s.charAt(e+1)===\"/\"?LQ(s,e):e}var hP=IQ;function TQ(s,e){let t=null,i=e;for(;i!==t;)t=i,i=DQ(s,i),i=uP(s,i),i=Jm(s,i);return i=hP(s,i),i=e_(s,i),i!==!1&&Ar(s,i)}var gP=TQ;function NQ(s){return Array.isArray(s)&&s.length>0}var mi=NQ,bW=new Proxy(()=>{},{get:()=>bW}),fP=bW,iw=\"'\",w5='\"';function AQ(s,e){let t=e===!0||e===iw?iw:w5,i=t===iw?w5:iw,n=0,o=0;for(let r of s)r===t?n++:r===i&&o++;return n>o?i:t}var CW=AQ;function MQ(s,e,t){let i=e==='\"'?\"'\":'\"',n=As(!1,s,/\\\\(.)|([\"'])/gsu,(o,r,a)=>r===i?r:a===e?\"\\\\\"+a:a||(t&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/u.test(r)?r:\"\\\\\"+r));return e+n+e}var RQ=MQ;function PQ(s,e){fP.ok(/^(?<quote>[\"']).*\\k<quote>$/su.test(s));let t=s.slice(1,-1),i=e.parser===\"json\"||e.parser===\"jsonc\"||e.parser===\"json5\"&&e.quoteProps===\"preserve\"&&!e.singleQuote?'\"':e.__isInHtmlAttribute?\"'\":CW(t,e.singleQuote);return s.charAt(0)===i?s:RQ(t,i,!1)}var t_=PQ;function Ln(s){var e,t,i;let n=((e=s.range)==null?void 0:e[0])??s.start,o=(i=((t=s.declaration)==null?void 0:t.decorators)??s.decorators)==null?void 0:i[0];return o?Math.min(Ln(o),n):n}function oi(s){var e;return((e=s.range)==null?void 0:e[1])??s.end}function RL(s,e){let t=Ln(s);return Number.isInteger(t)&&t===Ln(e)}function FQ(s,e){let t=oi(s);return Number.isInteger(t)&&t===oi(e)}function OQ(s,e){return RL(s,e)&&FQ(s,e)}var N0=null;function Ov(s){if(N0!==null&&typeof N0.property){let e=N0;return N0=Ov.prototype=null,e}return N0=Ov.prototype=s??Object.create(null),new Ov}var BQ=10;for(let s=0;s<=BQ;s++)Ov();function WQ(s){return Ov(s)}function HQ(s,e=\"type\"){WQ(s);function t(i){let n=i[e],o=s[n];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:i});return o}return t}var wW=HQ,VQ={ArrayExpression:[\"elements\"],AssignmentExpression:[\"left\",\"right\"],BinaryExpression:[\"left\",\"right\"],InterpreterDirective:[],Directive:[\"value\"],DirectiveLiteral:[],BlockStatement:[\"directives\",\"body\"],BreakStatement:[\"label\"],CallExpression:[\"callee\",\"arguments\",\"typeParameters\",\"typeArguments\"],CatchClause:[\"param\",\"body\"],ConditionalExpression:[\"test\",\"consequent\",\"alternate\"],ContinueStatement:[\"label\"],DebuggerStatement:[],DoWhileStatement:[\"body\",\"test\"],EmptyStatement:[],ExpressionStatement:[\"expression\"],File:[\"program\"],ForInStatement:[\"left\",\"right\",\"body\"],ForStatement:[\"init\",\"test\",\"update\",\"body\"],FunctionDeclaration:[\"id\",\"typeParameters\",\"params\",\"predicate\",\"returnType\",\"body\"],FunctionExpression:[\"id\",\"typeParameters\",\"params\",\"returnType\",\"body\"],Identifier:[\"typeAnnotation\",\"decorators\"],IfStatement:[\"test\",\"consequent\",\"alternate\"],LabeledStatement:[\"label\",\"body\"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:[\"left\",\"right\"],MemberExpression:[\"object\",\"property\"],NewExpression:[\"callee\",\"arguments\",\"typeParameters\",\"typeArguments\"],Program:[\"directives\",\"body\"],ObjectExpression:[\"properties\"],ObjectMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\",\"body\"],ObjectProperty:[\"key\",\"value\",\"decorators\"],RestElement:[\"argument\",\"typeAnnotation\",\"decorators\"],ReturnStatement:[\"argument\"],SequenceExpression:[\"expressions\"],ParenthesizedExpression:[\"expression\"],SwitchCase:[\"test\",\"consequent\"],SwitchStatement:[\"discriminant\",\"cases\"],ThisExpression:[],ThrowStatement:[\"argument\"],TryStatement:[\"block\",\"handler\",\"finalizer\"],UnaryExpression:[\"argument\"],UpdateExpression:[\"argument\"],VariableDeclaration:[\"declarations\"],VariableDeclarator:[\"id\",\"init\"],WhileStatement:[\"test\",\"body\"],WithStatement:[\"object\",\"body\"],AssignmentPattern:[\"left\",\"right\",\"decorators\",\"typeAnnotation\"],ArrayPattern:[\"elements\",\"typeAnnotation\",\"decorators\"],ArrowFunctionExpression:[\"typeParameters\",\"params\",\"predicate\",\"returnType\",\"body\"],ClassBody:[\"body\"],ClassExpression:[\"decorators\",\"id\",\"typeParameters\",\"superClass\",\"superTypeParameters\",\"mixins\",\"implements\",\"body\",\"superTypeArguments\"],ClassDeclaration:[\"decorators\",\"id\",\"typeParameters\",\"superClass\",\"superTypeParameters\",\"mixins\",\"implements\",\"body\",\"superTypeArguments\"],ExportAllDeclaration:[\"source\",\"attributes\",\"exported\"],ExportDefaultDeclaration:[\"declaration\"],ExportNamedDeclaration:[\"declaration\",\"specifiers\",\"source\",\"attributes\"],ExportSpecifier:[\"local\",\"exported\"],ForOfStatement:[\"left\",\"right\",\"body\"],ImportDeclaration:[\"specifiers\",\"source\",\"attributes\"],ImportDefaultSpecifier:[\"local\"],ImportNamespaceSpecifier:[\"local\"],ImportSpecifier:[\"imported\",\"local\"],ImportExpression:[\"source\",\"options\"],MetaProperty:[\"meta\",\"property\"],ClassMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\",\"body\"],ObjectPattern:[\"properties\",\"typeAnnotation\",\"decorators\"],SpreadElement:[\"argument\"],Super:[],TaggedTemplateExpression:[\"tag\",\"typeParameters\",\"quasi\",\"typeArguments\"],TemplateElement:[],TemplateLiteral:[\"quasis\",\"expressions\"],YieldExpression:[\"argument\"],AwaitExpression:[\"argument\"],BigIntLiteral:[],ExportNamespaceSpecifier:[\"exported\"],OptionalMemberExpression:[\"object\",\"property\"],OptionalCallExpression:[\"callee\",\"arguments\",\"typeParameters\",\"typeArguments\"],ClassProperty:[\"decorators\",\"variance\",\"key\",\"typeAnnotation\",\"value\"],ClassAccessorProperty:[\"decorators\",\"key\",\"typeAnnotation\",\"value\"],ClassPrivateProperty:[\"decorators\",\"variance\",\"key\",\"typeAnnotation\",\"value\"],ClassPrivateMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\",\"body\"],PrivateName:[\"id\"],StaticBlock:[\"body\"],AnyTypeAnnotation:[],ArrayTypeAnnotation:[\"elementType\"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:[\"id\",\"typeParameters\"],DeclareClass:[\"id\",\"typeParameters\",\"extends\",\"mixins\",\"implements\",\"body\"],DeclareFunction:[\"id\",\"predicate\"],DeclareInterface:[\"id\",\"typeParameters\",\"extends\",\"body\"],DeclareModule:[\"id\",\"body\"],DeclareModuleExports:[\"typeAnnotation\"],DeclareTypeAlias:[\"id\",\"typeParameters\",\"right\"],DeclareOpaqueType:[\"id\",\"typeParameters\",\"supertype\"],DeclareVariable:[\"id\"],DeclareExportDeclaration:[\"declaration\",\"specifiers\",\"source\",\"attributes\"],DeclareExportAllDeclaration:[\"source\",\"attributes\"],DeclaredPredicate:[\"value\"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:[\"typeParameters\",\"this\",\"params\",\"rest\",\"returnType\"],FunctionTypeParam:[\"name\",\"typeAnnotation\"],GenericTypeAnnotation:[\"id\",\"typeParameters\"],InferredPredicate:[],InterfaceExtends:[\"id\",\"typeParameters\"],InterfaceDeclaration:[\"id\",\"typeParameters\",\"extends\",\"body\"],InterfaceTypeAnnotation:[\"extends\",\"body\"],IntersectionTypeAnnotation:[\"types\"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:[\"typeAnnotation\"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:[\"properties\",\"indexers\",\"callProperties\",\"internalSlots\"],ObjectTypeInternalSlot:[\"id\",\"value\"],ObjectTypeCallProperty:[\"value\"],ObjectTypeIndexer:[\"variance\",\"id\",\"key\",\"value\"],ObjectTypeProperty:[\"key\",\"value\",\"variance\"],ObjectTypeSpreadProperty:[\"argument\"],OpaqueType:[\"id\",\"typeParameters\",\"supertype\",\"impltype\"],QualifiedTypeIdentifier:[\"qualification\",\"id\"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:[\"types\",\"elementTypes\"],TypeofTypeAnnotation:[\"argument\",\"typeArguments\"],TypeAlias:[\"id\",\"typeParameters\",\"right\"],TypeAnnotation:[\"typeAnnotation\"],TypeCastExpression:[\"expression\",\"typeAnnotation\"],TypeParameter:[\"bound\",\"default\",\"variance\"],TypeParameterDeclaration:[\"params\"],TypeParameterInstantiation:[\"params\"],UnionTypeAnnotation:[\"types\"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:[\"id\",\"body\"],EnumBooleanBody:[\"members\"],EnumNumberBody:[\"members\"],EnumStringBody:[\"members\"],EnumSymbolBody:[\"members\"],EnumBooleanMember:[\"id\",\"init\"],EnumNumberMember:[\"id\",\"init\"],EnumStringMember:[\"id\",\"init\"],EnumDefaultedMember:[\"id\"],IndexedAccessType:[\"objectType\",\"indexType\"],OptionalIndexedAccessType:[\"objectType\",\"indexType\"],JSXAttribute:[\"name\",\"value\"],JSXClosingElement:[\"name\"],JSXElement:[\"openingElement\",\"children\",\"closingElement\"],JSXEmptyExpression:[],JSXExpressionContainer:[\"expression\"],JSXSpreadChild:[\"expression\"],JSXIdentifier:[],JSXMemberExpression:[\"object\",\"property\"],JSXNamespacedName:[\"namespace\",\"name\"],JSXOpeningElement:[\"name\",\"typeParameters\",\"typeArguments\",\"attributes\"],JSXSpreadAttribute:[\"argument\"],JSXText:[],JSXFragment:[\"openingFragment\",\"children\",\"closingFragment\"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:[\"object\",\"callee\"],ImportAttribute:[\"key\",\"value\"],Decorator:[\"expression\"],DoExpression:[\"body\"],ExportDefaultSpecifier:[\"exported\"],RecordExpression:[\"properties\"],TupleExpression:[\"elements\"],ModuleExpression:[\"body\"],TopicReference:[],PipelineTopicExpression:[\"expression\"],PipelineBareFunction:[\"callee\"],PipelinePrimaryTopicReference:[],TSParameterProperty:[\"parameter\",\"decorators\"],TSDeclareFunction:[\"id\",\"typeParameters\",\"params\",\"returnType\",\"body\"],TSDeclareMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\"],TSQualifiedName:[\"left\",\"right\"],TSCallSignatureDeclaration:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSConstructSignatureDeclaration:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSPropertySignature:[\"key\",\"typeAnnotation\"],TSMethodSignature:[\"key\",\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSIndexSignature:[\"parameters\",\"typeAnnotation\"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSConstructorType:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSTypeReference:[\"typeName\",\"typeParameters\",\"typeArguments\"],TSTypePredicate:[\"parameterName\",\"typeAnnotation\"],TSTypeQuery:[\"exprName\",\"typeParameters\",\"typeArguments\"],TSTypeLiteral:[\"members\"],TSArrayType:[\"elementType\"],TSTupleType:[\"elementTypes\"],TSOptionalType:[\"typeAnnotation\"],TSRestType:[\"typeAnnotation\"],TSNamedTupleMember:[\"label\",\"elementType\"],TSUnionType:[\"types\"],TSIntersectionType:[\"types\"],TSConditionalType:[\"checkType\",\"extendsType\",\"trueType\",\"falseType\"],TSInferType:[\"typeParameter\"],TSParenthesizedType:[\"typeAnnotation\"],TSTypeOperator:[\"typeAnnotation\"],TSIndexedAccessType:[\"objectType\",\"indexType\"],TSMappedType:[\"typeParameter\",\"nameType\",\"typeAnnotation\"],TSTemplateLiteralType:[\"quasis\",\"types\"],TSLiteralType:[\"literal\"],TSExpressionWithTypeArguments:[\"expression\",\"typeParameters\"],TSInterfaceDeclaration:[\"id\",\"typeParameters\",\"extends\",\"body\"],TSInterfaceBody:[\"body\"],TSTypeAliasDeclaration:[\"id\",\"typeParameters\",\"typeAnnotation\"],TSInstantiationExpression:[\"expression\",\"typeParameters\",\"typeArguments\"],TSAsExpression:[\"expression\",\"typeAnnotation\"],TSSatisfiesExpression:[\"expression\",\"typeAnnotation\"],TSTypeAssertion:[\"typeAnnotation\",\"expression\"],TSEnumBody:[\"members\"],TSEnumDeclaration:[\"id\",\"members\"],TSEnumMember:[\"id\",\"initializer\"],TSModuleDeclaration:[\"id\",\"body\"],TSModuleBlock:[\"body\"],TSImportType:[\"argument\",\"options\",\"qualifier\",\"typeParameters\",\"typeArguments\"],TSImportEqualsDeclaration:[\"id\",\"moduleReference\"],TSExternalModuleReference:[\"expression\"],TSNonNullExpression:[\"expression\"],TSExportAssignment:[\"expression\"],TSNamespaceExportDeclaration:[\"id\"],TSTypeAnnotation:[\"typeAnnotation\"],TSTypeParameterInstantiation:[\"params\"],TSTypeParameterDeclaration:[\"params\"],TSTypeParameter:[\"constraint\",\"default\",\"name\"],ChainExpression:[\"expression\"],ExperimentalRestProperty:[\"argument\"],ExperimentalSpreadProperty:[\"argument\"],Literal:[],MethodDefinition:[\"decorators\",\"key\",\"value\"],PrivateIdentifier:[],Property:[\"key\",\"value\"],PropertyDefinition:[\"decorators\",\"key\",\"typeAnnotation\",\"value\",\"variance\"],AccessorProperty:[\"decorators\",\"key\",\"typeAnnotation\",\"value\"],TSAbstractAccessorProperty:[\"decorators\",\"key\",\"typeAnnotation\"],TSAbstractKeyword:[],TSAbstractMethodDefinition:[\"key\",\"value\"],TSAbstractPropertyDefinition:[\"decorators\",\"key\",\"typeAnnotation\"],TSAsyncKeyword:[],TSClassImplements:[\"expression\",\"typeArguments\",\"typeParameters\"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:[\"id\",\"typeParameters\",\"params\",\"returnType\"],TSExportKeyword:[],TSInterfaceHeritage:[\"expression\",\"typeArguments\",\"typeParameters\"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],AsConstExpression:[\"expression\"],AsExpression:[\"expression\",\"typeAnnotation\"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:[\"id\",\"params\",\"body\",\"typeParameters\",\"rendersType\"],ComponentParameter:[\"name\",\"local\"],ComponentTypeAnnotation:[\"params\",\"rest\",\"typeParameters\",\"rendersType\"],ComponentTypeParameter:[\"name\",\"typeAnnotation\"],ConditionalTypeAnnotation:[\"checkType\",\"extendsType\",\"trueType\",\"falseType\"],DeclareComponent:[\"id\",\"params\",\"rest\",\"typeParameters\",\"rendersType\"],DeclareEnum:[\"id\",\"body\"],DeclareHook:[\"id\"],DeclareNamespace:[\"id\",\"body\"],EnumBigIntBody:[\"members\"],EnumBigIntMember:[\"id\",\"init\"],HookDeclaration:[\"id\",\"params\",\"body\",\"typeParameters\",\"returnType\"],HookTypeAnnotation:[\"params\",\"returnType\",\"rest\",\"typeParameters\"],InferTypeAnnotation:[\"typeParameter\"],KeyofTypeAnnotation:[\"argument\"],ObjectTypeMappedTypeProperty:[\"keyTparam\",\"propType\",\"sourceType\",\"variance\"],QualifiedTypeofIdentifier:[\"qualification\",\"id\"],TupleTypeLabeledElement:[\"label\",\"elementType\",\"variance\"],TupleTypeSpreadElement:[\"label\",\"typeAnnotation\"],TypeOperator:[\"typeAnnotation\"],TypePredicate:[\"parameterName\",\"typeAnnotation\",\"asserts\"],NGRoot:[\"node\"],NGPipeExpression:[\"left\",\"right\",\"arguments\"],NGChainedExpression:[\"expressions\"],NGEmptyExpression:[],NGMicrosyntax:[\"body\"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:[\"expression\",\"alias\"],NGMicrosyntaxKeyedExpression:[\"key\",\"expression\"],NGMicrosyntaxLet:[\"key\",\"value\"],NGMicrosyntaxAs:[\"key\",\"alias\"],JsExpressionRoot:[\"node\"],JsonRoot:[\"node\"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:[\"typeAnnotation\"],TSJSDocNonNullableType:[\"typeAnnotation\"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:[\"expression\",\"typeAnnotation\"]},zQ=wW(VQ),yW=zQ;function UQ(s){let e=new Set(s);return t=>e.has(t==null?void 0:t.type)}var wi=UQ,$Q=wi([\"Block\",\"CommentBlock\",\"MultiLine\"]),Ca=$Q,jQ=wi([\"AnyTypeAnnotation\",\"ThisTypeAnnotation\",\"NumberTypeAnnotation\",\"VoidTypeAnnotation\",\"BooleanTypeAnnotation\",\"BigIntTypeAnnotation\",\"SymbolTypeAnnotation\",\"StringTypeAnnotation\",\"NeverTypeAnnotation\",\"UndefinedTypeAnnotation\",\"UnknownTypeAnnotation\",\"EmptyTypeAnnotation\",\"MixedTypeAnnotation\"]),SW=jQ;function KQ(s,e){let t=e.split(\".\");for(let i=t.length-1;i>=0;i--){let n=t[i];if(i===0)return s.type===\"Identifier\"&&s.name===n;if(s.type!==\"MemberExpression\"||s.optional||s.computed||s.property.type!==\"Identifier\"||s.property.name!==n)return!1;s=s.object}}function qQ(s,e){return e.some(t=>KQ(s,t))}var GQ=qQ;function ZQ({type:s}){return s.startsWith(\"TS\")&&s.endsWith(\"Keyword\")}var DW=ZQ;function TT(s,e){return e(s)||_Q(s,{getVisitorKeys:yW,predicate:e})}function pP(s){return s.type===\"AssignmentExpression\"||s.type===\"BinaryExpression\"||s.type===\"LogicalExpression\"||s.type===\"NGPipeExpression\"||s.type===\"ConditionalExpression\"||ui(s)||Rn(s)||s.type===\"SequenceExpression\"||s.type===\"TaggedTemplateExpression\"||s.type===\"BindExpression\"||s.type===\"UpdateExpression\"&&!s.prefix||Xl(s)||s.type===\"TSNonNullExpression\"||s.type===\"ChainExpression\"}function XQ(s){return s.expressions?s.expressions[0]:s.left??s.test??s.callee??s.object??s.tag??s.argument??s.expression}function LW(s){if(s.expressions)return[\"expressions\",0];if(s.left)return[\"left\"];if(s.test)return[\"test\"];if(s.object)return[\"object\"];if(s.callee)return[\"callee\"];if(s.tag)return[\"tag\"];if(s.argument)return[\"argument\"];if(s.expression)return[\"expression\"];throw new Error(\"Unexpected node has no left side.\")}var Y_=wi([\"Line\",\"CommentLine\",\"SingleLine\",\"HashbangComment\",\"HTMLOpen\",\"HTMLClose\",\"Hashbang\",\"InterpreterDirective\"]),YQ=wi([\"ExportDefaultDeclaration\",\"DeclareExportDeclaration\",\"ExportNamedDeclaration\",\"ExportAllDeclaration\",\"DeclareExportAllDeclaration\"]),zs=wi([\"ArrayExpression\",\"TupleExpression\"]),il=wi([\"ObjectExpression\",\"RecordExpression\"]);function QQ(s){return s.type===\"LogicalExpression\"&&s.operator===\"??\"}function Pc(s){return s.type===\"NumericLiteral\"||s.type===\"Literal\"&&typeof s.value==\"number\"}function xW(s){return s.type===\"UnaryExpression\"&&(s.operator===\"+\"||s.operator===\"-\")&&Pc(s.argument)}function sr(s){return!!(s&&(s.type===\"StringLiteral\"||s.type===\"Literal\"&&typeof s.value==\"string\"))}function kW(s){return s.type===\"RegExpLiteral\"||s.type===\"Literal\"&&!!s.regex}var mP=wi([\"Literal\",\"BooleanLiteral\",\"BigIntLiteral\",\"DirectiveLiteral\",\"NullLiteral\",\"NumericLiteral\",\"RegExpLiteral\",\"StringLiteral\"]),JQ=wi([\"Identifier\",\"ThisExpression\",\"Super\",\"PrivateName\",\"PrivateIdentifier\"]),_h=wi([\"ObjectTypeAnnotation\",\"TSTypeLiteral\",\"TSMappedType\"]),yb=wi([\"FunctionExpression\",\"ArrowFunctionExpression\"]);function eJ(s){return s.type===\"FunctionExpression\"||s.type===\"ArrowFunctionExpression\"&&s.body.type===\"BlockStatement\"}function _E(s){return ui(s)&&s.callee.type===\"Identifier\"&&[\"async\",\"inject\",\"fakeAsync\",\"waitForAsync\"].includes(s.callee.name)}var bs=wi([\"JSXElement\",\"JSXFragment\"]);function PL(s){return s.method&&s.kind===\"init\"||s.kind===\"get\"||s.kind===\"set\"}function EW(s){return(s.type===\"ObjectTypeProperty\"||s.type===\"ObjectTypeInternalSlot\")&&!s.static&&!s.method&&s.kind!==\"get\"&&s.kind!==\"set\"&&s.value.type===\"FunctionTypeAnnotation\"}function tJ(s){return(s.type===\"TypeAnnotation\"||s.type===\"TSTypeAnnotation\")&&s.typeAnnotation.type===\"FunctionTypeAnnotation\"&&!s.static&&!RL(s,s.typeAnnotation)}var Fc=wi([\"BinaryExpression\",\"LogicalExpression\",\"NGPipeExpression\"]);function zp(s){return Rn(s)||s.type===\"BindExpression\"&&!!s.object}var iJ=wi([\"TSThisType\",\"NullLiteralTypeAnnotation\",\"BooleanLiteralTypeAnnotation\",\"StringLiteralTypeAnnotation\",\"BigIntLiteralTypeAnnotation\",\"NumberLiteralTypeAnnotation\",\"TSLiteralType\",\"TSTemplateLiteralType\"]);function _P(s){return DW(s)||SW(s)||iJ(s)||(s.type===\"GenericTypeAnnotation\"||s.type===\"TSTypeReference\")&&!s.typeParameters&&!s.typeArguments}function nJ(s){return s.type===\"Identifier\"&&(s.name===\"beforeEach\"||s.name===\"beforeAll\"||s.name===\"afterEach\"||s.name===\"afterAll\")}var sJ=[\"it\",\"it.only\",\"it.skip\",\"describe\",\"describe.only\",\"describe.skip\",\"test\",\"test.only\",\"test.skip\",\"test.step\",\"test.describe\",\"test.describe.only\",\"test.describe.parallel\",\"test.describe.parallel.only\",\"test.describe.serial\",\"test.describe.serial.only\",\"skip\",\"xit\",\"xdescribe\",\"xtest\",\"fit\",\"fdescribe\",\"ftest\"];function oJ(s){return GQ(s,sJ)}function FL(s,e){if((s==null?void 0:s.type)!==\"CallExpression\"||s.optional)return!1;let t=wa(s);if(t.length===1){if(_E(s)&&FL(e))return yb(t[0]);if(nJ(s.callee))return _E(t[0])}else if((t.length===2||t.length===3)&&(t[0].type===\"TemplateLiteral\"||sr(t[0]))&&oJ(s.callee))return t[2]&&!Pc(t[2])?!1:(t.length===2?yb(t[1]):eJ(t[1])&&uo(t[1]).length<=1)||_E(t[1]);return!1}var IW=s=>e=>((e==null?void 0:e.type)===\"ChainExpression\"&&(e=e.expression),s(e)),ui=IW(wi([\"CallExpression\",\"OptionalCallExpression\"])),Rn=IW(wi([\"MemberExpression\",\"OptionalMemberExpression\"]));function y5(s,e=5){return TW(s,e)<=e}function TW(s,e){let t=0;for(let i in s){let n=s[i];if(n&&typeof n==\"object\"&&typeof n.type==\"string\"&&(t++,t+=TW(n,e-t)),t>e)return t}return t}var rJ=.25;function vP(s,e){let{printWidth:t}=e;if(Re(s))return!1;let i=t*rJ;if(s.type===\"ThisExpression\"||s.type===\"Identifier\"&&s.name.length<=i||xW(s)&&!Re(s.argument))return!0;let n=s.type===\"Literal\"&&\"regex\"in s&&s.regex.pattern||s.type===\"RegExpLiteral\"&&s.pattern;return n?n.length<=i:sr(s)?t_(fa(s),e).length<=i:s.type===\"TemplateLiteral\"?s.expressions.length===0&&s.quasis[0].value.raw.length<=i&&!s.quasis[0].value.raw.includes(`\n`):s.type===\"UnaryExpression\"?vP(s.argument,{printWidth:t}):s.type===\"CallExpression\"&&s.arguments.length===0&&s.callee.type===\"Identifier\"?s.callee.name.length<=i-2:mP(s)}function vh(s,e){return bs(e)?OL(e):Re(e,Ze.Leading,t=>Ar(s,oi(t)))}function S5(s){return s.quasis.some(e=>e.value.raw.includes(`\n`))}function NW(s,e){return(s.type===\"TemplateLiteral\"&&S5(s)||s.type===\"TaggedTemplateExpression\"&&S5(s.quasi))&&!Ar(e,Ln(s),{backwards:!0})}function AW(s){if(!Re(s))return!1;let e=Si(!1,Dm(s,Ze.Dangling),-1);return e&&!Ca(e)}function aJ(s){if(s.length<=1)return!1;let e=0;for(let t of s)if(yb(t)){if(e+=1,e>1)return!0}else if(ui(t)){for(let i of wa(t))if(yb(i))return!0}return!1}function MW(s){let{node:e,parent:t,key:i}=s;return i===\"callee\"&&ui(e)&&ui(t)&&t.arguments.length>0&&e.arguments.length>t.arguments.length}var lJ=new Set([\"!\",\"-\",\"+\",\"~\"]);function Wa(s,e=2){if(e<=0)return!1;if(s.type===\"ChainExpression\"||s.type===\"TSNonNullExpression\")return Wa(s.expression,e);let t=i=>Wa(i,e-1);if(kW(s))return Qm(s.pattern??s.regex.pattern)<=5;if(mP(s)||JQ(s)||s.type===\"ArgumentPlaceholder\")return!0;if(s.type===\"TemplateLiteral\")return s.quasis.every(i=>!i.value.raw.includes(`\n`))&&s.expressions.every(t);if(il(s))return s.properties.every(i=>!i.computed&&(i.shorthand||i.value&&t(i.value)));if(zs(s))return s.elements.every(i=>i===null||t(i));if(i_(s)){if(s.type===\"ImportExpression\"||Wa(s.callee,e)){let i=wa(s);return i.length<=e&&i.every(t)}return!1}return Rn(s)?Wa(s.object,e)&&Wa(s.property,e):s.type===\"UnaryExpression\"&&lJ.has(s.operator)||s.type===\"UpdateExpression\"?Wa(s.argument,e):!1}function fa(s){var e;return((e=s.extra)==null?void 0:e.raw)??s.raw}function dJ(s){return s}function Xc(s,e=\"es5\"){return s.trailingComma===\"es5\"&&e===\"es5\"||s.trailingComma===\"all\"&&(e===\"all\"||e===\"es5\")}function Co(s,e){switch(s.type){case\"BinaryExpression\":case\"LogicalExpression\":case\"AssignmentExpression\":case\"NGPipeExpression\":return Co(s.left,e);case\"MemberExpression\":case\"OptionalMemberExpression\":return Co(s.object,e);case\"TaggedTemplateExpression\":return s.tag.type===\"FunctionExpression\"?!1:Co(s.tag,e);case\"CallExpression\":case\"OptionalCallExpression\":return s.callee.type===\"FunctionExpression\"?!1:Co(s.callee,e);case\"ConditionalExpression\":return Co(s.test,e);case\"UpdateExpression\":return!s.prefix&&Co(s.argument,e);case\"BindExpression\":return s.object&&Co(s.object,e);case\"SequenceExpression\":return Co(s.expressions[0],e);case\"ChainExpression\":case\"TSSatisfiesExpression\":case\"TSAsExpression\":case\"TSNonNullExpression\":case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":return Co(s.expression,e);default:return e(s)}}var D5={\"==\":!0,\"!=\":!0,\"===\":!0,\"!==\":!0},nw={\"*\":!0,\"/\":!0,\"%\":!0},NT={\">>\":!0,\">>>\":!0,\"<<\":!0};function bP(s,e){return!(wS(e)!==wS(s)||s===\"**\"||D5[s]&&D5[e]||e===\"%\"&&nw[s]||s===\"%\"&&nw[e]||e!==s&&nw[e]&&nw[s]||NT[s]&&NT[e])}var cJ=new Map([[\"|>\"],[\"??\"],[\"||\"],[\"&&\"],[\"|\"],[\"^\"],[\"&\"],[\"==\",\"===\",\"!=\",\"!==\"],[\"<\",\">\",\"<=\",\">=\",\"in\",\"instanceof\"],[\">>\",\"<<\",\">>>\"],[\"+\",\"-\"],[\"*\",\"/\",\"%\"],[\"**\"]].flatMap((s,e)=>s.map(t=>[t,e])));function wS(s){return cJ.get(s)}function uJ(s){return!!NT[s]||s===\"|\"||s===\"^\"||s===\"&\"}function hJ(s){var e;if(s.rest)return!0;let t=uo(s);return((e=Si(!1,t,-1))==null?void 0:e.type)===\"RestElement\"}var vE=new WeakMap;function uo(s){if(vE.has(s))return vE.get(s);let e=[];return s.this&&e.push(s.this),Array.isArray(s.parameters)?e.push(...s.parameters):Array.isArray(s.params)&&e.push(...s.params),s.rest&&e.push(s.rest),vE.set(s,e),e}function gJ(s,e){let{node:t}=s,i=0,n=o=>e(o,i++);t.this&&s.call(n,\"this\"),Array.isArray(t.parameters)?s.each(n,\"parameters\"):Array.isArray(t.params)&&s.each(n,\"params\"),t.rest&&s.call(n,\"rest\")}var bE=new WeakMap;function wa(s){if(bE.has(s))return bE.get(s);if(s.type===\"ChainExpression\")return wa(s.expression);let e=s.arguments;return s.type===\"ImportExpression\"&&(e=[s.source],s.options&&e.push(s.options)),bE.set(s,e),e}function yS(s,e){let{node:t}=s;if(t.type===\"ChainExpression\")return s.call(()=>yS(s,e),\"expression\");t.type===\"ImportExpression\"?(s.call(i=>e(i,0),\"source\"),t.options&&s.call(i=>e(i,1),\"options\")):s.each(e,\"arguments\")}function L5(s,e){let t=[];if(s.type===\"ChainExpression\"&&(s=s.expression,t.push(\"expression\")),s.type===\"ImportExpression\"){if(e===0||e===(s.options?-2:-1))return[...t,\"source\"];if(s.options&&(e===1||e===-1))return[...t,\"options\"];throw new RangeError(\"Invalid argument index\")}if(e<0&&(e=s.arguments.length+e),e<0||e>=s.arguments.length)throw new RangeError(\"Invalid argument index\");return[...t,\"arguments\",e]}function SS(s){return s.value.trim()===\"prettier-ignore\"&&!s.unignore}function OL(s){return(s==null?void 0:s.prettierIgnore)||Re(s,Ze.PrettierIgnore)}var Ze={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},RW=(s,e)=>{if(typeof s==\"function\"&&(e=s,s=0),s||e)return(t,i,n)=>!(s&Ze.Leading&&!t.leading||s&Ze.Trailing&&!t.trailing||s&Ze.Dangling&&(t.leading||t.trailing)||s&Ze.Block&&!Ca(t)||s&Ze.Line&&!Y_(t)||s&Ze.First&&i!==0||s&Ze.Last&&i!==n.length-1||s&Ze.PrettierIgnore&&!SS(t)||e&&!e(t))};function Re(s,e,t){if(!mi(s==null?void 0:s.comments))return!1;let i=RW(e,t);return i?s.comments.some(i):!0}function Dm(s,e,t){if(!Array.isArray(s==null?void 0:s.comments))return[];let i=RW(e,t);return i?s.comments.filter(i):s.comments}var Yc=(s,{originalText:e})=>gP(e,oi(s));function i_(s){return ui(s)||s.type===\"NewExpression\"||s.type===\"ImportExpression\"}function Qc(s){return s&&(s.type===\"ObjectProperty\"||s.type===\"Property\"&&!PL(s))}var Xl=wi([\"TSAsExpression\",\"TSSatisfiesExpression\",\"AsExpression\",\"AsConstExpression\",\"SatisfiesExpression\"]),bh=wi([\"TSUnionType\",\"UnionTypeAnnotation\"]),CP=wi([\"TSIntersectionType\",\"IntersectionTypeAnnotation\"]),Ch=wi([\"TSConditionalType\",\"ConditionalTypeAnnotation\"]),fJ=new Set([\"range\",\"raw\",\"comments\",\"leadingComments\",\"trailingComments\",\"innerComments\",\"extra\",\"start\",\"end\",\"loc\",\"flags\",\"errors\",\"tokens\"]),yp=s=>{for(let e of s.quasis)delete e.value};function PW(s,e,t){var i,n;if(s.type===\"Program\"&&delete e.sourceType,(s.type===\"BigIntLiteral\"||s.type===\"BigIntLiteralTypeAnnotation\")&&s.value&&(e.value=s.value.toLowerCase()),(s.type===\"BigIntLiteral\"||s.type===\"Literal\")&&s.bigint&&(e.bigint=s.bigint.toLowerCase()),s.type===\"EmptyStatement\"||s.type===\"JSXText\"||s.type===\"JSXExpressionContainer\"&&(s.expression.type===\"Literal\"||s.expression.type===\"StringLiteral\")&&s.expression.value===\" \")return null;if((s.type===\"Property\"||s.type===\"ObjectProperty\"||s.type===\"MethodDefinition\"||s.type===\"ClassProperty\"||s.type===\"ClassMethod\"||s.type===\"PropertyDefinition\"||s.type===\"TSDeclareMethod\"||s.type===\"TSPropertySignature\"||s.type===\"ObjectTypeProperty\"||s.type===\"ImportAttribute\")&&s.key&&!s.computed){let{key:r}=s;sr(r)||Pc(r)?e.key=String(r.value):r.type===\"Identifier\"&&(e.key=r.name)}if(s.type===\"JSXElement\"&&s.openingElement.name.name===\"style\"&&s.openingElement.attributes.some(r=>r.type===\"JSXAttribute\"&&r.name.name===\"jsx\"))for(let{type:r,expression:a}of e.children)r===\"JSXExpressionContainer\"&&a.type===\"TemplateLiteral\"&&yp(a);s.type===\"JSXAttribute\"&&s.name.name===\"css\"&&s.value.type===\"JSXExpressionContainer\"&&s.value.expression.type===\"TemplateLiteral\"&&yp(e.value.expression),s.type===\"JSXAttribute\"&&((i=s.value)==null?void 0:i.type)===\"Literal\"&&/[\"']|&quot;|&apos;/u.test(s.value.value)&&(e.value.value=As(!1,s.value.value,/[\"']|&quot;|&apos;/gu,'\"'));let o=s.expression||s.callee;if(s.type===\"Decorator\"&&o.type===\"CallExpression\"&&o.callee.name===\"Component\"&&o.arguments.length===1){let r=s.expression.arguments[0].properties;for(let[a,l]of e.expression.arguments[0].properties.entries())switch(r[a].key.name){case\"styles\":zs(l.value)&&yp(l.value.elements[0]);break;case\"template\":l.value.type===\"TemplateLiteral\"&&yp(l.value);break}}s.type===\"TaggedTemplateExpression\"&&(s.tag.type===\"MemberExpression\"||s.tag.type===\"Identifier\"&&(s.tag.name===\"gql\"||s.tag.name===\"graphql\"||s.tag.name===\"css\"||s.tag.name===\"md\"||s.tag.name===\"markdown\"||s.tag.name===\"html\")||s.tag.type===\"CallExpression\")&&yp(e.quasi),s.type===\"TemplateLiteral\"&&((n=s.leadingComments)!=null&&n.some(r=>Ca(r)&&[\"GraphQL\",\"HTML\"].some(a=>r.value===` ${a} `))||t.type===\"CallExpression\"&&t.callee.name===\"graphql\"||!s.leadingComments)&&yp(e),s.type===\"ChainExpression\"&&s.expression.type===\"TSNonNullExpression\"&&(e.type=\"TSNonNullExpression\",e.expression.type=\"ChainExpression\"),s.type===\"TSMappedType\"&&(delete e.key,delete e.constraint),s.type===\"TSEnumDeclaration\"&&delete e.body}PW.ignoredProperties=fJ;var pJ=PW,Zf=\"string\",Oc=\"array\",Q_=\"cursor\",Xf=\"indent\",Yf=\"align\",Qf=\"trim\",pa=\"group\",Xh=\"fill\",sd=\"if-break\",Jf=\"indent-if-break\",ep=\"line-suffix\",Yh=\"line-suffix-boundary\",ur=\"line\",Jc=\"label\",eu=\"break-parent\",FW=new Set([Q_,Xf,Yf,Qf,pa,Xh,sd,Jf,ep,Yh,ur,Jc,eu]);function mJ(s){if(typeof s==\"string\")return Zf;if(Array.isArray(s))return Oc;if(!s)return;let{type:e}=s;if(FW.has(e))return e}var Qh=mJ,_J=s=>new Intl.ListFormat(\"en-US\",{type:\"disjunction\"}).format(s);function vJ(s){let e=s===null?\"null\":typeof s;if(e!==\"string\"&&e!==\"object\")return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(Qh(s))throw new Error(\"doc is valid.\");let t=Object.prototype.toString.call(s);if(t!==\"[object Object]\")return`Unexpected doc '${t}'.`;let i=_J([...FW].map(n=>`'${n}'`));return`Unexpected doc.type '${s.type}'.\nExpected it to be ${i}.`}var bJ=class extends Error{constructor(e){super(vJ(e));Q1(this,\"name\",\"InvalidDocError\");this.doc=e}},Sb=bJ,x5={};function CJ(s,e,t,i){let n=[s];for(;n.length>0;){let o=n.pop();if(o===x5){t(n.pop());continue}t&&n.push(o,x5);let r=Qh(o);if(!r)throw new Sb(o);if((e==null?void 0:e(o))!==!1)switch(r){case Oc:case Xh:{let a=r===Oc?o:o.parts;for(let l=a.length,d=l-1;d>=0;--d)n.push(a[d]);break}case sd:n.push(o.flatContents,o.breakContents);break;case pa:if(i&&o.expandedStates)for(let a=o.expandedStates.length,l=a-1;l>=0;--l)n.push(o.expandedStates[l]);else n.push(o.contents);break;case Yf:case Xf:case Jf:case Jc:case ep:n.push(o.contents);break;case Zf:case Q_:case Qf:case Yh:case ur:case eu:break;default:throw new Sb(o)}}}var wP=CJ;function J_(s,e){if(typeof s==\"string\")return e(s);let t=new Map;return i(s);function i(o){if(t.has(o))return t.get(o);let r=n(o);return t.set(o,r),r}function n(o){switch(Qh(o)){case Oc:return e(o.map(i));case Xh:return e({...o,parts:o.parts.map(i)});case sd:return e({...o,breakContents:i(o.breakContents),flatContents:i(o.flatContents)});case pa:{let{expandedStates:r,contents:a}=o;return r?(r=r.map(i),a=r[0]):a=i(a),e({...o,contents:a,expandedStates:r})}case Yf:case Xf:case Jf:case Jc:case ep:return e({...o,contents:i(o.contents)});case Zf:case Q_:case Qf:case Yh:case ur:case eu:return e(o);default:throw new Sb(o)}}}function OW(s,e,t){let i=t,n=!1;function o(r){if(n)return!1;let a=e(r);a!==void 0&&(n=!0,i=a)}return wP(s,o),i}function wJ(s){if(s.type===pa&&s.break||s.type===ur&&s.hard||s.type===eu)return!0}function So(s){return OW(s,wJ,!1)}function k5(s){if(s.length>0){let e=Si(!1,s,-1);!e.expandedStates&&!e.break&&(e.break=\"propagated\")}return null}function yJ(s){let e=new Set,t=[];function i(o){if(o.type===eu&&k5(t),o.type===pa){if(t.push(o),e.has(o))return!1;e.add(o)}}function n(o){o.type===pa&&t.pop().break&&k5(t)}wP(s,i,n,!0)}function SJ(s){return s.type===ur&&!s.hard?s.soft?\"\":\" \":s.type===sd?s.flatContents:s}function AT(s){return J_(s,SJ)}function DJ(s){switch(Qh(s)){case Xh:if(s.parts.every(e=>e===\"\"))return\"\";break;case pa:if(!s.contents&&!s.id&&!s.break&&!s.expandedStates)return\"\";if(s.contents.type===pa&&s.contents.id===s.id&&s.contents.break===s.break&&s.contents.expandedStates===s.expandedStates)return s.contents;break;case Yf:case Xf:case Jf:case ep:if(!s.contents)return\"\";break;case sd:if(!s.flatContents&&!s.breakContents)return\"\";break;case Oc:{let e=[];for(let t of s){if(!t)continue;let[i,...n]=Array.isArray(t)?t:[t];typeof i==\"string\"&&typeof Si(!1,e,-1)==\"string\"?e[e.length-1]+=i:e.push(i),e.push(...n)}return e.length===0?\"\":e.length===1?e[0]:e}case Zf:case Q_:case Qf:case Yh:case ur:case Jc:case eu:break;default:throw new Sb(s)}return s}function yP(s){return J_(s,e=>DJ(e))}function _f(s,e=VW){return J_(s,t=>typeof t==\"string\"?si(e,t.split(`\n`)):t)}function LJ(s){if(s.type===ur)return!0}function xJ(s){return OW(s,LJ,!1)}function MT(s,e){return s.type===Jc?{...s,contents:e(s.contents)}:e(s)}function kJ(s){let e=!0;return wP(s,t=>{switch(Qh(t)){case Zf:if(t===\"\")break;case Qf:case Yh:case ur:case eu:return e=!1,!1}}),e}var EJ=()=>{},IJ=EJ;function Le(s){return{type:Xf,contents:s}}function gd(s,e){return{type:Yf,contents:e,n:s}}function re(s,e={}){return IJ(e.expandedStates),{type:pa,id:e.id,contents:s,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function TJ(s){return gd(Number.NEGATIVE_INFINITY,s)}function BW(s){return gd(-1,s)}function qg(s,e){return re(s[0],{...e,expandedStates:s})}function WW(s){return{type:Xh,parts:s}}function Rt(s,e=\"\",t={}){return{type:sd,breakContents:s,flatContents:e,groupId:t.groupId}}function BL(s,e){return{type:Jf,contents:s,groupId:e.groupId,negate:e.negate}}function E5(s){return{type:ep,contents:s}}var Bc={type:Yh},fd={type:eu},HW={type:ur,hard:!0},NJ={type:ur,hard:!0,literal:!0},Ue={type:ur},be={type:ur,soft:!0},Se=[HW,fd],VW=[NJ,fd],sw={type:Q_};function si(s,e){let t=[];for(let i=0;i<e.length;i++)i!==0&&t.push(s),t.push(e[i]);return t}function AJ(s,e,t){let i=s;if(e>0){for(let n=0;n<Math.floor(e/t);++n)i=Le(i);i=gd(e%t,i),i=gd(Number.NEGATIVE_INFINITY,i)}return i}function s1(s,e){return s?{type:Jc,label:s,contents:e}:e}function MJ(s){let e=`*${s.value}*`.split(`\n`);return e.length>1&&e.every(t=>t.trimStart()[0]===\"*\")}var RJ=MJ;function PJ(s,e){let t=s.node;if(Y_(t))return e.originalText.slice(Ln(t),oi(t)).trimEnd();if(Ca(t))return RJ(t)?FJ(t):[\"/*\",_f(t.value),\"*/\"];throw new Error(\"Not a comment: \"+JSON.stringify(t))}function FJ(s){let e=s.value.split(`\n`);return[\"/*\",si(Se,e.map((t,i)=>i===0?t.trimEnd():\" \"+(i<e.length-1?t.trim():t.trimStart()))),\"*/\"]}var zW={};ML(zW,{endOfLine:()=>UJ,ownLine:()=>zJ,remaining:()=>$J});function OJ(s){let e=s.type||s.kind||\"(unknown type)\",t=String(s.name||s.id&&(typeof s.id==\"object\"?s.id.name:s.id)||s.key&&(typeof s.key==\"object\"?s.key.name:s.key)||s.value&&(typeof s.value==\"object\"?\"\":String(s.value))||s.operator||\"\");return t.length>20&&(t=t.slice(0,19)+\"…\"),e+(t?\" \"+t:\"\")}function SP(s,e){(s.comments??(s.comments=[])).push(e),e.printed=!1,e.nodeDescription=OJ(s)}function Us(s,e){e.leading=!0,e.trailing=!1,SP(s,e)}function ma(s,e,t){e.leading=!1,e.trailing=!1,t&&(e.marker=t),SP(s,e)}function pn(s,e){e.leading=!1,e.trailing=!0,SP(s,e)}function BJ(s,e){let t=null,i=e;for(;i!==t;)t=i,i=Jm(s,i),i=uP(s,i),i=hP(s,i),i=e_(s,i);return i}var e0=BJ;function WJ(s,e){let t=e0(s,e);return t===!1?\"\":s.charAt(t)}var nl=WJ;function HJ(s,e,t){for(let i=e;i<t;++i)if(s.charAt(i)===`\n`)return!0;return!1}var wh=HJ;function VJ(s){return Ca(s)&&s.value[0]===\"*\"&&/@(?:type|satisfies)\\b/u.test(s.value)}var UW=VJ;function zJ(s){return[YW,jW,GW,tee,KJ,DP,LP,$W,KW,oee,nee,kP,XW,ree,qW,ZW,xP,qJ,fee].some(e=>e(s))}function UJ(s){return[jJ,GW,jW,XW,DP,LP,$W,KW,ZW,iee,see,kP,dee,xP,hee,gee,pee].some(e=>e(s))}function $J(s){return[YW,DP,LP,GJ,eee,qW,kP,JJ,QJ,uee,xP,cee].some(e=>e(s))}function tp(s,e){let t=(s.body||s.properties).find(({type:i})=>i!==\"EmptyStatement\");t?Us(t,e):ma(s,e)}function RT(s,e){s.type===\"BlockStatement\"?tp(s,e):Us(s,e)}function jJ({comment:s,followingNode:e}){return e&&UW(s)?(Us(e,s),!0):!1}function DP({comment:s,precedingNode:e,enclosingNode:t,followingNode:i,text:n}){if((t==null?void 0:t.type)!==\"IfStatement\"||!i)return!1;if(nl(n,oi(s))===\")\")return pn(e,s),!0;if(e===t.consequent&&i===t.alternate){let o=e0(n,oi(t.consequent));if(Ln(s)<o||t.alternate.type===\"BlockStatement\"){if(e.type===\"BlockStatement\")pn(e,s);else{let r=Y_(s)||s.loc.start.line===s.loc.end.line,a=s.loc.start.line===e.loc.start.line;r&&a?pn(e,s):ma(t,s)}return!0}}return i.type===\"BlockStatement\"?(tp(i,s),!0):i.type===\"IfStatement\"?(RT(i.consequent,s),!0):t.consequent===i?(Us(i,s),!0):!1}function LP({comment:s,precedingNode:e,enclosingNode:t,followingNode:i,text:n}){return(t==null?void 0:t.type)!==\"WhileStatement\"||!i?!1:nl(n,oi(s))===\")\"?(pn(e,s),!0):i.type===\"BlockStatement\"?(tp(i,s),!0):t.body===i?(Us(i,s),!0):!1}function $W({comment:s,precedingNode:e,enclosingNode:t,followingNode:i}){return(t==null?void 0:t.type)!==\"TryStatement\"&&(t==null?void 0:t.type)!==\"CatchClause\"||!i?!1:t.type===\"CatchClause\"&&e?(pn(e,s),!0):i.type===\"BlockStatement\"?(tp(i,s),!0):i.type===\"TryStatement\"?(RT(i.finalizer,s),!0):i.type===\"CatchClause\"?(RT(i.body,s),!0):!1}function KJ({comment:s,enclosingNode:e,followingNode:t}){return Rn(e)&&(t==null?void 0:t.type)===\"Identifier\"?(Us(e,s),!0):!1}function qJ({comment:s,enclosingNode:e,followingNode:t,options:i}){return!i.experimentalTernaries||!((e==null?void 0:e.type)===\"ConditionalExpression\"||Ch(e))?!1:(t==null?void 0:t.type)===\"ConditionalExpression\"||Ch(t)?(ma(e,s),!0):!1}function jW({comment:s,precedingNode:e,enclosingNode:t,followingNode:i,text:n,options:o}){let r=e&&!wh(n,oi(e),Ln(s));return(!e||!r)&&((t==null?void 0:t.type)===\"ConditionalExpression\"||Ch(t))&&i?o.experimentalTernaries&&t.alternate===i&&!(Ca(s)&&!wh(o.originalText,Ln(s),oi(s)))?(ma(t,s),!0):(Us(i,s),!0):!1}function GJ({comment:s,precedingNode:e,enclosingNode:t}){return Qc(t)&&t.shorthand&&t.key===e&&t.value.type===\"AssignmentPattern\"?(pn(t.value.left,s),!0):!1}var ZJ=new Set([\"ClassDeclaration\",\"ClassExpression\",\"DeclareClass\",\"DeclareInterface\",\"InterfaceDeclaration\",\"TSInterfaceDeclaration\"]);function KW({comment:s,precedingNode:e,enclosingNode:t,followingNode:i}){if(ZJ.has(t==null?void 0:t.type)){if(mi(t.decorators)&&(i==null?void 0:i.type)!==\"Decorator\")return pn(Si(!1,t.decorators,-1),s),!0;if(t.body&&i===t.body)return tp(t.body,s),!0;if(i){if(t.superClass&&i===t.superClass&&e&&(e===t.id||e===t.typeParameters))return pn(e,s),!0;for(let n of[\"implements\",\"extends\",\"mixins\"])if(t[n]&&i===t[n][0])return e&&(e===t.id||e===t.typeParameters||e===t.superClass)?pn(e,s):ma(t,s,n),!0}}return!1}var XJ=new Set([\"ClassMethod\",\"ClassProperty\",\"PropertyDefinition\",\"TSAbstractPropertyDefinition\",\"TSAbstractMethodDefinition\",\"TSDeclareMethod\",\"MethodDefinition\",\"ClassAccessorProperty\",\"AccessorProperty\",\"TSAbstractAccessorProperty\",\"TSParameterProperty\"]);function qW({comment:s,precedingNode:e,enclosingNode:t,text:i}){return t&&e&&nl(i,oi(s))===\"(\"&&(t.type===\"Property\"||t.type===\"TSDeclareMethod\"||t.type===\"TSAbstractMethodDefinition\")&&e.type===\"Identifier\"&&t.key===e&&nl(i,oi(e))!==\":\"||(e==null?void 0:e.type)===\"Decorator\"&&XJ.has(t==null?void 0:t.type)&&(Y_(s)||s.placement===\"ownLine\")?(pn(e,s),!0):!1}var YJ=new Set([\"FunctionDeclaration\",\"FunctionExpression\",\"ClassMethod\",\"MethodDefinition\",\"ObjectMethod\"]);function QJ({comment:s,precedingNode:e,enclosingNode:t,text:i}){return nl(i,oi(s))!==\"(\"?!1:e&&YJ.has(t==null?void 0:t.type)?(pn(e,s),!0):!1}function JJ({comment:s,enclosingNode:e,text:t}){if((e==null?void 0:e.type)!==\"ArrowFunctionExpression\")return!1;let i=e0(t,oi(s));return i!==!1&&t.slice(i,i+2)===\"=>\"?(ma(e,s),!0):!1}function eee({comment:s,enclosingNode:e,text:t}){return nl(t,oi(s))!==\")\"?!1:e&&(QW(e)&&uo(e).length===0||i_(e)&&wa(e).length===0)?(ma(e,s),!0):((e==null?void 0:e.type)===\"MethodDefinition\"||(e==null?void 0:e.type)===\"TSAbstractMethodDefinition\")&&uo(e.value).length===0?(ma(e.value,s),!0):!1}function tee({comment:s,precedingNode:e,enclosingNode:t,followingNode:i,text:n}){return(e==null?void 0:e.type)===\"ComponentTypeParameter\"&&((t==null?void 0:t.type)===\"DeclareComponent\"||(t==null?void 0:t.type)===\"ComponentTypeAnnotation\")&&(i==null?void 0:i.type)!==\"ComponentTypeParameter\"||((e==null?void 0:e.type)===\"ComponentParameter\"||(e==null?void 0:e.type)===\"RestElement\")&&(t==null?void 0:t.type)===\"ComponentDeclaration\"&&nl(n,oi(s))===\")\"?(pn(e,s),!0):!1}function GW({comment:s,precedingNode:e,enclosingNode:t,followingNode:i,text:n}){return(e==null?void 0:e.type)===\"FunctionTypeParam\"&&(t==null?void 0:t.type)===\"FunctionTypeAnnotation\"&&(i==null?void 0:i.type)!==\"FunctionTypeParam\"||((e==null?void 0:e.type)===\"Identifier\"||(e==null?void 0:e.type)===\"AssignmentPattern\"||(e==null?void 0:e.type)===\"ObjectPattern\"||(e==null?void 0:e.type)===\"ArrayPattern\"||(e==null?void 0:e.type)===\"RestElement\"||(e==null?void 0:e.type)===\"TSParameterProperty\")&&QW(t)&&nl(n,oi(s))===\")\"?(pn(e,s),!0):!Ca(s)&&((t==null?void 0:t.type)===\"FunctionDeclaration\"||(t==null?void 0:t.type)===\"FunctionExpression\"||(t==null?void 0:t.type)===\"ObjectMethod\")&&(i==null?void 0:i.type)===\"BlockStatement\"&&t.body===i&&e0(n,oi(s))===Ln(i)?(tp(i,s),!0):!1}function ZW({comment:s,enclosingNode:e}){return(e==null?void 0:e.type)===\"LabeledStatement\"?(Us(e,s),!0):!1}function xP({comment:s,enclosingNode:e}){return((e==null?void 0:e.type)===\"ContinueStatement\"||(e==null?void 0:e.type)===\"BreakStatement\")&&!e.label?(pn(e,s),!0):!1}function iee({comment:s,precedingNode:e,enclosingNode:t}){return ui(t)&&e&&t.callee===e&&t.arguments.length>0?(Us(t.arguments[0],s),!0):!1}function nee({comment:s,precedingNode:e,enclosingNode:t,followingNode:i}){return bh(t)?(SS(s)&&(i.prettierIgnore=!0,s.unignore=!0),e?(pn(e,s),!0):!1):(bh(i)&&SS(s)&&(i.types[0].prettierIgnore=!0,s.unignore=!0),!1)}function see({comment:s,enclosingNode:e}){return Qc(e)?(Us(e,s),!0):!1}function kP({comment:s,enclosingNode:e,ast:t,isLastComment:i}){var n;return((n=t==null?void 0:t.body)==null?void 0:n.length)===0?(i?ma(t,s):Us(t,s),!0):(e==null?void 0:e.type)===\"Program\"&&e.body.length===0&&!mi(e.directives)?(i?ma(e,s):Us(e,s),!0):!1}function oee({comment:s,enclosingNode:e}){return(e==null?void 0:e.type)===\"ForInStatement\"||(e==null?void 0:e.type)===\"ForOfStatement\"?(Us(e,s),!0):!1}function XW({comment:s,precedingNode:e,enclosingNode:t,text:i}){if((t==null?void 0:t.type)===\"ImportSpecifier\"||(t==null?void 0:t.type)===\"ExportSpecifier\")return Us(t,s),!0;let n=(e==null?void 0:e.type)===\"ImportSpecifier\"&&(t==null?void 0:t.type)===\"ImportDeclaration\",o=(e==null?void 0:e.type)===\"ExportSpecifier\"&&(t==null?void 0:t.type)===\"ExportNamedDeclaration\";return(n||o)&&Ar(i,oi(s))?(pn(e,s),!0):!1}function ree({comment:s,enclosingNode:e}){return(e==null?void 0:e.type)===\"AssignmentPattern\"?(Us(e,s),!0):!1}var aee=new Set([\"VariableDeclarator\",\"AssignmentExpression\",\"TypeAlias\",\"TSTypeAliasDeclaration\"]),lee=new Set([\"ObjectExpression\",\"RecordExpression\",\"ArrayExpression\",\"TupleExpression\",\"TemplateLiteral\",\"TaggedTemplateExpression\",\"ObjectTypeAnnotation\",\"TSTypeLiteral\"]);function dee({comment:s,enclosingNode:e,followingNode:t}){return aee.has(e==null?void 0:e.type)&&t&&(lee.has(t.type)||Ca(s))?(Us(t,s),!0):!1}function cee({comment:s,enclosingNode:e,followingNode:t,text:i}){return!t&&((e==null?void 0:e.type)===\"TSMethodSignature\"||(e==null?void 0:e.type)===\"TSDeclareFunction\"||(e==null?void 0:e.type)===\"TSAbstractMethodDefinition\")&&nl(i,oi(s))===\";\"?(pn(e,s),!0):!1}function YW({comment:s,enclosingNode:e,followingNode:t}){if(SS(s)&&(e==null?void 0:e.type)===\"TSMappedType\"&&(t==null?void 0:t.type)===\"TSTypeParameter\"&&t.constraint)return e.prettierIgnore=!0,s.unignore=!0,!0}function uee({comment:s,precedingNode:e,enclosingNode:t,followingNode:i}){return(t==null?void 0:t.type)!==\"TSMappedType\"?!1:(i==null?void 0:i.type)===\"TSTypeParameter\"&&i.name?(Us(i.name,s),!0):(e==null?void 0:e.type)===\"TSTypeParameter\"&&e.constraint?(pn(e.constraint,s),!0):!1}function hee({comment:s,enclosingNode:e,followingNode:t}){return!e||e.type!==\"SwitchCase\"||e.test||!t||t!==e.consequent[0]?!1:(t.type===\"BlockStatement\"&&Y_(s)?tp(t,s):ma(e,s),!0)}function gee({comment:s,precedingNode:e,enclosingNode:t,followingNode:i}){return bh(e)&&((t.type===\"TSArrayType\"||t.type===\"ArrayTypeAnnotation\")&&!i||CP(t))?(pn(Si(!1,e.types,-1),s),!0):!1}function fee({comment:s,enclosingNode:e,precedingNode:t,followingNode:i}){if(((e==null?void 0:e.type)===\"ObjectPattern\"||(e==null?void 0:e.type)===\"ArrayPattern\")&&(i==null?void 0:i.type)===\"TSTypeAnnotation\")return t?pn(t,s):ma(e,s),!0}function pee({comment:s,precedingNode:e,enclosingNode:t,followingNode:i}){var n;if(!i&&(t==null?void 0:t.type)===\"UnaryExpression\"&&((e==null?void 0:e.type)===\"LogicalExpression\"||(e==null?void 0:e.type)===\"BinaryExpression\")){let o=((n=t.argument.loc)==null?void 0:n.start.line)!==e.right.loc.start.line,r=Y_(s)||s.loc.start.line===s.loc.end.line,a=s.loc.start.line===e.right.loc.start.line;if(o&&r&&a)return pn(e.right,s),!0}return!1}var QW=wi([\"ArrowFunctionExpression\",\"FunctionExpression\",\"FunctionDeclaration\",\"ObjectMethod\",\"ClassMethod\",\"TSDeclareFunction\",\"TSCallSignatureDeclaration\",\"TSConstructSignatureDeclaration\",\"TSMethodSignature\",\"TSConstructorType\",\"TSFunctionType\",\"TSDeclareMethod\"]),mee=new Set([\"EmptyStatement\",\"TemplateElement\",\"TSEmptyBodyFunctionExpression\",\"ChainExpression\"]);function _ee(s){return!mee.has(s.type)}function vee(s,e){var t;if((e.parser===\"typescript\"||e.parser===\"flow\"||e.parser===\"acorn\"||e.parser===\"espree\"||e.parser===\"meriyah\"||e.parser===\"__babel_estree\")&&s.type===\"MethodDefinition\"&&((t=s.value)==null?void 0:t.type)===\"FunctionExpression\"&&uo(s.value).length===0&&!s.value.returnType&&!mi(s.value.typeParameters)&&s.value.body)return[...s.decorators||[],s.key,s.value.body]}function JW(s){let{node:e,parent:t}=s;return(bs(e)||t&&(t.type===\"JSXSpreadAttribute\"||t.type===\"JSXSpreadChild\"||bh(t)||(t.type===\"ClassDeclaration\"||t.type===\"ClassExpression\")&&t.superClass===e))&&(!OL(e)||bh(t))}function bee(s,{parser:e}){if(e===\"flow\"||e===\"babel-flow\")return s=As(!1,s,/[\\s(]/gu,\"\"),s===\"\"||s===\"/*\"||s===\"/*::\"}function Cee(s){switch(s){case\"cr\":return\"\\r\";case\"crlf\":return`\\r\n`;default:return`\n`}}var Uo=Symbol(\"MODE_BREAK\"),kl=Symbol(\"MODE_FLAT\"),Yp=Symbol(\"cursor\"),PT=Symbol(\"DOC_FILL_PRINTED_LENGTH\");function eH(){return{value:\"\",length:0,queue:[]}}function wee(s,e){return FT(s,{type:\"indent\"},e)}function yee(s,e,t){return e===Number.NEGATIVE_INFINITY?s.root||eH():e<0?FT(s,{type:\"dedent\"},t):e?e.type===\"root\"?{...s,root:s}:FT(s,{type:typeof e==\"string\"?\"stringAlign\":\"numberAlign\",n:e},t):s}function FT(s,e,t){let i=e.type===\"dedent\"?s.queue.slice(0,-1):[...s.queue,e],n=\"\",o=0,r=0,a=0;for(let f of i)switch(f.type){case\"indent\":c(),t.useTabs?l(1):d(t.tabWidth);break;case\"stringAlign\":c(),n+=f.n,o+=f.n.length;break;case\"numberAlign\":r+=1,a+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return h(),{...s,value:n,length:o,queue:i};function l(f){n+=\"\t\".repeat(f),o+=t.tabWidth*f}function d(f){n+=\" \".repeat(f),o+=f}function c(){t.useTabs?u():h()}function u(){r>0&&l(r),g()}function h(){a>0&&d(a),g()}function g(){r=0,a=0}}function OT(s){let e=0,t=0,i=s.length;e:for(;i--;){let n=s[i];if(n===Yp){t++;continue}for(let o=n.length-1;o>=0;o--){let r=n[o];if(r===\" \"||r===\"\t\")e++;else{s[i]=n.slice(0,o+1);break e}}}if(e>0||t>0)for(s.length=i+1;t-- >0;)s.push(Yp);return e}function ow(s,e,t,i,n,o){if(t===Number.POSITIVE_INFINITY)return!0;let r=e.length,a=[s],l=[];for(;t>=0;){if(a.length===0){if(r===0)return!0;a.push(e[--r]);continue}let{mode:d,doc:c}=a.pop(),u=Qh(c);switch(u){case Zf:l.push(c),t-=Qm(c);break;case Oc:case Xh:{let h=u===Oc?c:c.parts,g=c[PT]??0;for(let f=h.length-1;f>=g;f--)a.push({mode:d,doc:h[f]});break}case Xf:case Yf:case Jf:case Jc:a.push({mode:d,doc:c.contents});break;case Qf:t+=OT(l);break;case pa:{if(o&&c.break)return!1;let h=c.break?Uo:d,g=c.expandedStates&&h===Uo?Si(!1,c.expandedStates,-1):c.contents;a.push({mode:h,doc:g});break}case sd:{let h=(c.groupId?n[c.groupId]||kl:d)===Uo?c.breakContents:c.flatContents;h&&a.push({mode:d,doc:h});break}case ur:if(d===Uo||c.hard)return!0;c.soft||(l.push(\" \"),t--);break;case ep:i=!0;break;case Yh:if(i)return!1;break}}return!1}function tH(s,e){let t={},i=e.printWidth,n=Cee(e.endOfLine),o=0,r=[{ind:eH(),mode:Uo,doc:s}],a=[],l=!1,d=[],c=0;for(yJ(s);r.length>0;){let{ind:h,mode:g,doc:f}=r.pop();switch(Qh(f)){case Zf:{let m=n!==`\n`?As(!1,f,`\n`,n):f;a.push(m),r.length>0&&(o+=Qm(m));break}case Oc:for(let m=f.length-1;m>=0;m--)r.push({ind:h,mode:g,doc:f[m]});break;case Q_:if(c>=2)throw new Error(\"There are too many 'cursor' in doc.\");a.push(Yp),c++;break;case Xf:r.push({ind:wee(h,e),mode:g,doc:f.contents});break;case Yf:r.push({ind:yee(h,f.n,e),mode:g,doc:f.contents});break;case Qf:o-=OT(a);break;case pa:switch(g){case kl:if(!l){r.push({ind:h,mode:f.break?Uo:kl,doc:f.contents});break}case Uo:{l=!1;let m={ind:h,mode:kl,doc:f.contents},_=i-o,v=d.length>0;if(!f.break&&ow(m,r,_,v,t))r.push(m);else if(f.expandedStates){let b=Si(!1,f.expandedStates,-1);if(f.break){r.push({ind:h,mode:Uo,doc:b});break}else for(let C=1;C<f.expandedStates.length+1;C++)if(C>=f.expandedStates.length){r.push({ind:h,mode:Uo,doc:b});break}else{let w=f.expandedStates[C],y={ind:h,mode:kl,doc:w};if(ow(y,r,_,v,t)){r.push(y);break}}}else r.push({ind:h,mode:Uo,doc:f.contents});break}}f.id&&(t[f.id]=Si(!1,r,-1).mode);break;case Xh:{let m=i-o,_=f[PT]??0,{parts:v}=f,b=v.length-_;if(b===0)break;let C=v[_+0],w=v[_+1],y={ind:h,mode:kl,doc:C},D={ind:h,mode:Uo,doc:C},L=ow(y,[],m,d.length>0,t,!0);if(b===1){L?r.push(y):r.push(D);break}let k={ind:h,mode:kl,doc:w},I={ind:h,mode:Uo,doc:w};if(b===2){L?r.push(k,y):r.push(I,D);break}let O=v[_+2],R={ind:h,mode:g,doc:{...f,[PT]:_+2}};ow({ind:h,mode:kl,doc:[C,w,O]},[],m,d.length>0,t,!0)?r.push(R,k,y):L?r.push(R,I,y):r.push(R,I,D);break}case sd:case Jf:{let m=f.groupId?t[f.groupId]:g;if(m===Uo){let _=f.type===sd?f.breakContents:f.negate?f.contents:Le(f.contents);_&&r.push({ind:h,mode:g,doc:_})}if(m===kl){let _=f.type===sd?f.flatContents:f.negate?Le(f.contents):f.contents;_&&r.push({ind:h,mode:g,doc:_})}break}case ep:d.push({ind:h,mode:g,doc:f.contents});break;case Yh:d.length>0&&r.push({ind:h,mode:g,doc:HW});break;case ur:switch(g){case kl:if(f.hard)l=!0;else{f.soft||(a.push(\" \"),o+=1);break}case Uo:if(d.length>0){r.push({ind:h,mode:g,doc:f},...d.reverse()),d.length=0;break}f.literal?h.root?(a.push(n,h.root.value),o=h.root.length):(a.push(n),o=0):(o-=OT(a),a.push(n+h.value),o=h.length);break}break;case Jc:r.push({ind:h,mode:g,doc:f.contents});break;case eu:break;default:throw new Sb(f)}r.length===0&&d.length>0&&(r.push(...d.reverse()),d.length=0)}let u=a.indexOf(Yp);if(u!==-1){let h=a.indexOf(Yp,u+1);if(h===-1)return{formatted:a.filter(_=>_!==Yp).join(\"\")};let g=a.slice(0,u).join(\"\"),f=a.slice(u+1,h).join(\"\"),m=a.slice(h+1).join(\"\");return{formatted:g+f+m,cursorNodeStart:g.length,cursorNodeText:f}}return{formatted:a.join(\"\")}}function See(s,e,t=0){let i=0;for(let n=t;n<s.length;++n)s[n]===\"\t\"?i=i+e-i%e:i++;return i}var Dee=See;function Lee(s,e){let t=s.lastIndexOf(`\n`);return t===-1?0:Dee(s.slice(t+1).match(/^[\\t ]*/u)[0],e)}var xee=Lee;function iH(s,e,t){let{node:i}=s;if(i.type===\"TemplateLiteral\"&&Tee(s)){let l=Eee(s,t,e);if(l)return l}let n=\"expressions\";i.type===\"TSTemplateLiteralType\"&&(n=\"types\");let o=[],r=s.map(e,n);o.push(Bc,\"`\");let a=0;return s.each(({index:l,node:d})=>{if(o.push(e()),d.tail)return;let{tabWidth:c}=t,u=d.value.raw,h=u.includes(`\n`)?xee(u,c):a;a=h;let g=r[l],f=i[n][l],m=wh(t.originalText,oi(d),Ln(i.quasis[l+1]));if(!m){let v=tH(g,{...t,printWidth:Number.POSITIVE_INFINITY}).formatted;v.includes(`\n`)?m=!0:g=v}m&&(Re(f)||f.type===\"Identifier\"||Rn(f)||f.type===\"ConditionalExpression\"||f.type===\"SequenceExpression\"||Xl(f)||Fc(f))&&(g=[Le([be,g]),be]);let _=h===0&&u.endsWith(`\n`)?gd(Number.NEGATIVE_INFINITY,g):AJ(g,h,c);o.push(re([\"${\",_,Bc,\"}\"]))},\"quasis\"),o.push(\"`\"),o}function kee(s,e){let t=e(\"quasi\");return s1(t.label&&{tagged:!0,...t.label},[e(\"tag\"),e(s.node.typeArguments?\"typeArguments\":\"typeParameters\"),Bc,t])}function Eee(s,e,t){let{node:i}=s,n=i.quasis[0].value.raw.trim().split(/\\s*\\|\\s*/u);if(n.length>1||n.some(o=>o.length>0)){e.__inJestEach=!0;let o=s.map(t,\"expressions\");e.__inJestEach=!1;let r=[],a=o.map(h=>\"${\"+tH(h,{...e,printWidth:Number.POSITIVE_INFINITY,endOfLine:\"lf\"}).formatted+\"}\"),l=[{hasLineBreak:!1,cells:[]}];for(let h=1;h<i.quasis.length;h++){let g=Si(!1,l,-1),f=a[h-1];g.cells.push(f),f.includes(`\n`)&&(g.hasLineBreak=!0),i.quasis[h].value.raw.includes(`\n`)&&l.push({hasLineBreak:!1,cells:[]})}let d=Math.max(n.length,...l.map(h=>h.cells.length)),c=Array.from({length:d}).fill(0),u=[{cells:n},...l.filter(h=>h.cells.length>0)];for(let{cells:h}of u.filter(g=>!g.hasLineBreak))for(let[g,f]of h.entries())c[g]=Math.max(c[g],Qm(f));return r.push(Bc,\"`\",Le([Se,si(Se,u.map(h=>si(\" | \",h.cells.map((g,f)=>h.hasLineBreak?g:g+\" \".repeat(c[f]-Qm(g))))))]),Se,\"`\"),r}}function Iee(s,e){let{node:t}=s,i=e();return Re(t)&&(i=re([Le([be,i]),be])),[\"${\",i,Bc,\"}\"]}function EP(s,e){return s.map(t=>Iee(t,e),\"expressions\")}function nH(s,e){return J_(s,t=>typeof t==\"string\"?e?As(!1,t,/(\\\\*)`/gu,\"$1$1\\\\`\"):sH(t):t)}function sH(s){return As(!1,s,/([\\\\`]|\\$\\{)/gu,String.raw`\\$1`)}function Tee({node:s,parent:e}){let t=/^[fx]?(?:describe|it|test)$/u;return e.type===\"TaggedTemplateExpression\"&&e.quasi===s&&e.tag.type===\"MemberExpression\"&&e.tag.property.type===\"Identifier\"&&e.tag.property.name===\"each\"&&(e.tag.object.type===\"Identifier\"&&t.test(e.tag.object.name)||e.tag.object.type===\"MemberExpression\"&&e.tag.object.property.type===\"Identifier\"&&(e.tag.object.property.name===\"only\"||e.tag.object.property.name===\"skip\")&&e.tag.object.object.type===\"Identifier\"&&t.test(e.tag.object.object.name))}var BT=[(s,e)=>s.type===\"ObjectExpression\"&&e===\"properties\",(s,e)=>s.type===\"CallExpression\"&&s.callee.type===\"Identifier\"&&s.callee.name===\"Component\"&&e===\"arguments\",(s,e)=>s.type===\"Decorator\"&&e===\"expression\"];function Nee(s){let e=i=>i.type===\"TemplateLiteral\",t=(i,n)=>Qc(i)&&!i.computed&&i.key.type===\"Identifier\"&&i.key.name===\"styles\"&&n===\"value\";return s.match(e,(i,n)=>zs(i)&&n===\"elements\",t,...BT)||s.match(e,t,...BT)}function Aee(s){return s.match(e=>e.type===\"TemplateLiteral\",(e,t)=>Qc(e)&&!e.computed&&e.key.type===\"Identifier\"&&e.key.name===\"template\"&&t===\"value\",...BT)}function CE(s,e){return Re(s,Ze.Block|Ze.Leading,({value:t})=>t===` ${e} `)}function oH({node:s,parent:e},t){return CE(s,t)||Mee(e)&&CE(e,t)||e.type===\"ExpressionStatement\"&&CE(e,t)}function Mee(s){return s.type===\"AsConstExpression\"||s.type===\"TSAsExpression\"&&s.typeAnnotation.type===\"TSTypeReference\"&&s.typeAnnotation.typeName.type===\"Identifier\"&&s.typeAnnotation.typeName.name===\"const\"}async function Ree(s,e,t){let{node:i}=t,n=i.quasis.map(c=>c.value.raw),o=0,r=n.reduce((c,u,h)=>h===0?u:c+\"@prettier-placeholder-\"+o+++\"-id\"+u,\"\"),a=await s(r,{parser:\"scss\"}),l=EP(t,e),d=Pee(a,l);if(!d)throw new Error(\"Couldn't insert all the expressions\");return[\"`\",Le([Se,d]),be,\"`\"]}function Pee(s,e){if(!mi(e))return s;let t=0,i=J_(yP(s),n=>typeof n!=\"string\"||!n.includes(\"@prettier-placeholder\")?n:n.split(/@prettier-placeholder-(\\d+)-id/u).map((o,r)=>r%2===0?_f(o):(t++,e[o])));return e.length===t?i:null}function Fee({node:s,parent:e,grandparent:t}){return t&&s.quasis&&e.type===\"JSXExpressionContainer\"&&t.type===\"JSXElement\"&&t.openingElement.name.name===\"style\"&&t.openingElement.attributes.some(i=>i.type===\"JSXAttribute\"&&i.name.name===\"jsx\")||(e==null?void 0:e.type)===\"TaggedTemplateExpression\"&&e.tag.type===\"Identifier\"&&e.tag.name===\"css\"||(e==null?void 0:e.type)===\"TaggedTemplateExpression\"&&e.tag.type===\"MemberExpression\"&&e.tag.object.name===\"css\"&&(e.tag.property.name===\"global\"||e.tag.property.name===\"resolve\")}function rw(s){return s.type===\"Identifier\"&&s.name===\"styled\"}function I5(s){return/^[A-Z]/u.test(s.object.name)&&s.property.name===\"extend\"}function Oee({parent:s}){if(!s||s.type!==\"TaggedTemplateExpression\")return!1;let e=s.tag.type===\"ParenthesizedExpression\"?s.tag.expression:s.tag;switch(e.type){case\"MemberExpression\":return rw(e.object)||I5(e);case\"CallExpression\":return rw(e.callee)||e.callee.type===\"MemberExpression\"&&(e.callee.object.type===\"MemberExpression\"&&(rw(e.callee.object.object)||I5(e.callee.object))||e.callee.object.type===\"CallExpression\"&&rw(e.callee.object.callee));case\"Identifier\":return e.name===\"css\";default:return!1}}function Bee({parent:s,grandparent:e}){return(e==null?void 0:e.type)===\"JSXAttribute\"&&s.type===\"JSXExpressionContainer\"&&e.name.type===\"JSXIdentifier\"&&e.name.name===\"css\"}function Wee(s){if(Fee(s)||Oee(s)||Bee(s)||Nee(s))return Ree}var Hee=Wee;async function Vee(s,e,t){let{node:i}=t,n=i.quasis.length,o=EP(t,e),r=[];for(let a=0;a<n;a++){let l=i.quasis[a],d=a===0,c=a===n-1,u=l.value.cooked,h=u.split(`\n`),g=h.length,f=o[a],m=g>2&&h[0].trim()===\"\"&&h[1].trim()===\"\",_=g>2&&h[g-1].trim()===\"\"&&h[g-2].trim()===\"\",v=h.every(C=>/^\\s*(?:#[^\\n\\r]*)?$/u.test(C));if(!c&&/#[^\\n\\r]*$/u.test(h[g-1]))return null;let b=null;v?b=zee(h):b=await s(u,{parser:\"graphql\"}),b?(b=nH(b,!1),!d&&m&&r.push(\"\"),r.push(b),!c&&_&&r.push(\"\")):!d&&!c&&m&&r.push(\"\"),f&&r.push(f)}return[\"`\",Le([Se,si(Se,r)]),Se,\"`\"]}function zee(s){let e=[],t=!1,i=s.map(n=>n.trim());for(let[n,o]of i.entries())o!==\"\"&&(i[n-1]===\"\"&&t?e.push([Se,o]):e.push(o),t=!0);return e.length===0?null:si(Se,e)}function Uee({node:s,parent:e}){return oH({node:s,parent:e},\"GraphQL\")||e&&(e.type===\"TaggedTemplateExpression\"&&(e.tag.type===\"MemberExpression\"&&e.tag.object.name===\"graphql\"&&e.tag.property.name===\"experimental\"||e.tag.type===\"Identifier\"&&(e.tag.name===\"gql\"||e.tag.name===\"graphql\"))||e.type===\"CallExpression\"&&e.callee.type===\"Identifier\"&&e.callee.name===\"graphql\")}function $ee(s){if(Uee(s))return Vee}var jee=$ee,wE=0;async function rH(s,e,t,i,n){let{node:o}=i,r=wE;wE=wE+1>>>0;let a=v=>`PRETTIER_HTML_PLACEHOLDER_${v}_${r}_IN_JS`,l=o.quasis.map((v,b,C)=>b===C.length-1?v.value.cooked:v.value.cooked+a(b)).join(\"\"),d=EP(i,t),c=new RegExp(a(String.raw`(\\d+)`),\"gu\"),u=0,h=await e(l,{parser:s,__onHtmlRoot(v){u=v.children.length}}),g=J_(h,v=>{if(typeof v!=\"string\")return v;let b=[],C=v.split(c);for(let w=0;w<C.length;w++){let y=C[w];if(w%2===0){y&&(y=sH(y),n.__embeddedInHtml&&(y=As(!1,y,/<\\/(?=script\\b)/giu,String.raw`<\\/`)),b.push(y));continue}let D=Number(y);b.push(d[D])}return b}),f=/^\\s/u.test(l)?\" \":\"\",m=/\\s$/u.test(l)?\" \":\"\",_=n.htmlWhitespaceSensitivity===\"ignore\"?Se:f&&m?Ue:null;return _?re([\"`\",Le([_,re(g)]),_,\"`\"]):s1({hug:!1},re([\"`\",f,u>1?Le(re(g)):re(g),m,\"`\"]))}function Kee(s){return oH(s,\"HTML\")||s.match(e=>e.type===\"TemplateLiteral\",(e,t)=>e.type===\"TaggedTemplateExpression\"&&e.tag.type===\"Identifier\"&&e.tag.name===\"html\"&&t===\"quasi\")}var qee=rH.bind(void 0,\"html\"),Gee=rH.bind(void 0,\"angular\");function Zee(s){if(Kee(s))return qee;if(Aee(s))return Gee}var Xee=Zee;async function Yee(s,e,t){let{node:i}=t,n=As(!1,i.quasis[0].value.raw,/((?:\\\\\\\\)*)\\\\`/gu,(l,d)=>\"\\\\\".repeat(d.length/2)+\"`\"),o=Qee(n),r=o!==\"\";r&&(n=As(!1,n,new RegExp(`^${o}`,\"gmu\"),\"\"));let a=nH(await s(n,{parser:\"markdown\",__inJsTemplate:!0}),!0);return[\"`\",r?Le([be,a]):[VW,TJ(a)],be,\"`\"]}function Qee(s){let e=s.match(/^([^\\S\\n]*)\\S/mu);return e===null?\"\":e[1]}function Jee(s){if(ete(s))return Yee}function ete({node:s,parent:e}){return(e==null?void 0:e.type)===\"TaggedTemplateExpression\"&&s.quasis.length===1&&e.tag.type===\"Identifier\"&&(e.tag.name===\"md\"||e.tag.name===\"markdown\")}var tte=Jee;function ite(s){let{node:e}=s;if(e.type!==\"TemplateLiteral\"||nte(e))return;let t;for(let i of[Hee,jee,Xee,tte])if(t=i(s),!!t)return e.quasis.length===1&&e.quasis[0].value.raw.trim()===\"\"?\"``\":async(...n)=>{let o=await t(...n);return o&&s1({embed:!0,...o.label},o)}}function nte({quasis:s}){return s.some(({value:{cooked:e}})=>e===null)}var ste=ite,ote=/\\*\\/$/,rte=/^\\/\\*\\*?/,aH=/^\\s*(\\/\\*\\*?(.|\\r?\\n)*?\\*\\/)/,ate=/(^|\\s+)\\/\\/([^\\n\\r]*)/g,T5=/^(\\r?\\n)+/,lte=/(?:^|\\r?\\n) *(@[^\\n\\r]*?) *\\r?\\n *(?![^\\n\\r@]*\\/\\/[^]*)([^\\s@][^\\n\\r@]+?) *\\r?\\n/g,N5=/(?:^|\\r?\\n) *@(\\S+) *([^\\n\\r]*)/g,dte=/(\\r?\\n|^) *\\* ?/g,lH=[];function cte(s){let e=s.match(aH);return e?e[0].trimStart():\"\"}function ute(s){let e=s.match(aH),t=e==null?void 0:e[0];return t==null?s:s.slice(t.length)}function hte(s){let e=`\n`;s=As(!1,s.replace(rte,\"\").replace(ote,\"\"),dte,\"$1\");let t=\"\";for(;t!==s;)t=s,s=As(!1,s,lte,`${e}$1 $2${e}`);s=s.replace(T5,\"\").trimEnd();let i=Object.create(null),n=As(!1,s,N5,\"\").replace(T5,\"\").trimEnd(),o;for(;o=N5.exec(s);){let r=As(!1,o[2],ate,\"\");if(typeof i[o[1]]==\"string\"||Array.isArray(i[o[1]])){let a=i[o[1]];i[o[1]]=[...lH,...Array.isArray(a)?a:[a],r]}else i[o[1]]=r}return{comments:n,pragmas:i}}function gte({comments:s=\"\",pragmas:e={}}){let t=`\n`,i=\"/**\",n=\" *\",o=\" */\",r=Object.keys(e),a=r.flatMap(d=>A5(d,e[d])).map(d=>`${n} ${d}${t}`).join(\"\");if(!s){if(r.length===0)return\"\";if(r.length===1&&!Array.isArray(e[r[0]])){let d=e[r[0]];return`${i} ${A5(r[0],d)[0]}${o}`}}let l=s.split(t).map(d=>`${n} ${d}`).join(t)+t;return i+t+(s?l:\"\")+(s&&r.length>0?n+t:\"\")+a+o}function A5(s,e){return[...lH,...Array.isArray(e)?e:[e]].map(t=>`@${s} ${t}`.trim())}function fte(s){if(!s.startsWith(\"#!\"))return\"\";let e=s.indexOf(`\n`);return e===-1?s:s.slice(0,e)}var pte=fte;function mte(s){let e=pte(s);e&&(s=s.slice(e.length+1));let t=cte(s),{pragmas:i,comments:n}=hte(t);return{shebang:e,text:s,pragmas:i,comments:n}}function _te(s){let{shebang:e,text:t,pragmas:i,comments:n}=mte(s),o=ute(t),r=gte({pragmas:{format:\"\",...i},comments:n.trimStart()});return(e?`${e}\n`:\"\")+r+(o.startsWith(`\n`)?`\n`:`\n\n`)+o}function vte(s,e){let{originalText:t,[Symbol.for(\"comments\")]:i,locStart:n,locEnd:o,[Symbol.for(\"printedComments\")]:r}=e,{node:a}=s,l=n(a),d=o(a);for(let c of i)n(c)>=l&&o(c)<=d&&r.add(c);return t.slice(l,d)}var bte=vte;function WT(s,e){var t,i,n,o,r,a,l,d,c;if(s.isRoot)return!1;let{node:u,key:h,parent:g}=s;if(e.__isInHtmlInterpolation&&!e.bracketSpacing&&Ste(u)&&cv(s))return!0;if(Cte(u))return!1;if(u.type===\"Identifier\"){if((t=u.extra)!=null&&t.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\\d+_\\d+_IN_JS$/u.test(u.name)||h===\"left\"&&(u.name===\"async\"&&!g.await||u.name===\"let\")&&g.type===\"ForOfStatement\")return!0;if(u.name===\"let\"){let f=(i=s.findAncestor(m=>m.type===\"ForOfStatement\"))==null?void 0:i.left;if(f&&Co(f,m=>m===u))return!0}if(h===\"object\"&&u.name===\"let\"&&g.type===\"MemberExpression\"&&g.computed&&!g.optional){let f=s.findAncestor(_=>_.type===\"ExpressionStatement\"||_.type===\"ForStatement\"||_.type===\"ForInStatement\"),m=f?f.type===\"ExpressionStatement\"?f.expression:f.type===\"ForStatement\"?f.init:f.left:void 0;if(m&&Co(m,_=>_===u))return!0}if(h===\"expression\")switch(u.name){case\"await\":case\"interface\":case\"module\":case\"using\":case\"yield\":case\"let\":case\"component\":case\"hook\":case\"type\":{let f=s.findAncestor(m=>!Xl(m));if(f!==g&&f.type===\"ExpressionStatement\")return!0}}return!1}if(u.type===\"ObjectExpression\"||u.type===\"FunctionExpression\"||u.type===\"ClassExpression\"||u.type===\"DoExpression\"){let f=(n=s.findAncestor(m=>m.type===\"ExpressionStatement\"))==null?void 0:n.expression;if(f&&Co(f,m=>m===u))return!0}if(u.type===\"ObjectExpression\"){let f=(o=s.findAncestor(m=>m.type===\"ArrowFunctionExpression\"))==null?void 0:o.body;if(f&&f.type!==\"SequenceExpression\"&&f.type!==\"AssignmentExpression\"&&Co(f,m=>m===u))return!0}switch(g.type){case\"ParenthesizedExpression\":return!1;case\"ClassDeclaration\":case\"ClassExpression\":if(h===\"superClass\"&&(u.type===\"ArrowFunctionExpression\"||u.type===\"AssignmentExpression\"||u.type===\"AwaitExpression\"||u.type===\"BinaryExpression\"||u.type===\"ConditionalExpression\"||u.type===\"LogicalExpression\"||u.type===\"NewExpression\"||u.type===\"ObjectExpression\"||u.type===\"SequenceExpression\"||u.type===\"TaggedTemplateExpression\"||u.type===\"UnaryExpression\"||u.type===\"UpdateExpression\"||u.type===\"YieldExpression\"||u.type===\"TSNonNullExpression\"||u.type===\"ClassExpression\"&&mi(u.decorators)))return!0;break;case\"ExportDefaultDeclaration\":return dH(s,e)||u.type===\"SequenceExpression\";case\"Decorator\":if(h===\"expression\"&&!Lte(u))return!0;break;case\"TypeAnnotation\":if(s.match(void 0,void 0,(f,m)=>m===\"returnType\"&&f.type===\"ArrowFunctionExpression\")&&yte(u))return!0;break;case\"BinaryExpression\":if(h===\"left\"&&(g.operator===\"in\"||g.operator===\"instanceof\")&&u.type===\"UnaryExpression\")return!0;break;case\"VariableDeclarator\":if(h===\"init\"&&s.match(void 0,void 0,(f,m)=>m===\"declarations\"&&f.type===\"VariableDeclaration\",(f,m)=>m===\"left\"&&f.type===\"ForInStatement\"))return!0;break}switch(u.type){case\"UpdateExpression\":if(g.type===\"UnaryExpression\")return u.prefix&&(u.operator===\"++\"&&g.operator===\"+\"||u.operator===\"--\"&&g.operator===\"-\");case\"UnaryExpression\":switch(g.type){case\"UnaryExpression\":return u.operator===g.operator&&(u.operator===\"+\"||u.operator===\"-\");case\"BindExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":return h===\"object\";case\"TaggedTemplateExpression\":return!0;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return h===\"callee\";case\"BinaryExpression\":return h===\"left\"&&g.operator===\"**\";case\"TSNonNullExpression\":return!0;default:return!1}case\"BinaryExpression\":if(g.type===\"UpdateExpression\"||u.operator===\"in\"&&wte(s))return!0;if(u.operator===\"|>\"&&(r=u.extra)!=null&&r.parenthesized){let f=s.grandparent;if(f.type===\"BinaryExpression\"&&f.operator===\"|>\")return!0}case\"TSTypeAssertion\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":case\"LogicalExpression\":switch(g.type){case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":return!Xl(u);case\"ConditionalExpression\":return Xl(u)||QQ(u);case\"CallExpression\":case\"NewExpression\":case\"OptionalCallExpression\":return h===\"callee\";case\"ClassExpression\":case\"ClassDeclaration\":return h===\"superClass\";case\"TSTypeAssertion\":case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"JSXSpreadAttribute\":case\"SpreadElement\":case\"BindExpression\":case\"AwaitExpression\":case\"TSNonNullExpression\":case\"UpdateExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":return h===\"object\";case\"AssignmentExpression\":case\"AssignmentPattern\":return h===\"left\"&&(u.type===\"TSTypeAssertion\"||Xl(u));case\"LogicalExpression\":if(u.type===\"LogicalExpression\")return g.operator!==u.operator;case\"BinaryExpression\":{let{operator:f,type:m}=u;if(!f&&m!==\"TSTypeAssertion\")return!0;let _=wS(f),v=g.operator,b=wS(v);return b>_||h===\"right\"&&b===_||b===_&&!bP(v,f)?!0:b<_&&f===\"%\"?v===\"+\"||v===\"-\":!!uJ(v)}default:return!1}case\"SequenceExpression\":switch(g.type){case\"ReturnStatement\":return!1;case\"ForStatement\":return!1;case\"ExpressionStatement\":return h!==\"expression\";case\"ArrowFunctionExpression\":return h!==\"body\";default:return!0}case\"YieldExpression\":if(g.type===\"AwaitExpression\"||g.type===\"TSTypeAssertion\")return!0;case\"AwaitExpression\":switch(g.type){case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"LogicalExpression\":case\"SpreadElement\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":case\"BindExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":return h===\"object\";case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return h===\"callee\";case\"ConditionalExpression\":return h===\"test\";case\"BinaryExpression\":return!(!u.argument&&g.operator===\"|>\");default:return!1}case\"TSFunctionType\":if(s.match(f=>f.type===\"TSFunctionType\",(f,m)=>m===\"typeAnnotation\"&&f.type===\"TSTypeAnnotation\",(f,m)=>m===\"returnType\"&&f.type===\"ArrowFunctionExpression\"))return!0;case\"TSConditionalType\":case\"TSConstructorType\":case\"ConditionalTypeAnnotation\":if(h===\"extendsType\"&&Ch(u)&&g.type===u.type||h===\"checkType\"&&Ch(g))return!0;if(h===\"extendsType\"&&g.type===\"TSConditionalType\"){let{typeAnnotation:f}=u.returnType||u.typeAnnotation;if(f.type===\"TSTypePredicate\"&&f.typeAnnotation&&(f=f.typeAnnotation.typeAnnotation),f.type===\"TSInferType\"&&f.typeParameter.constraint)return!0}case\"TSUnionType\":case\"TSIntersectionType\":if((bh(g)||CP(g))&&g.types.length>1&&(!u.types||u.types.length>1))return!0;case\"TSInferType\":if(u.type===\"TSInferType\"){if(g.type===\"TSRestType\")return!1;if(h===\"types\"&&(g.type===\"TSUnionType\"||g.type===\"TSIntersectionType\")&&u.typeParameter.type===\"TSTypeParameter\"&&u.typeParameter.constraint)return!0}case\"TSTypeOperator\":return g.type===\"TSArrayType\"||g.type===\"TSOptionalType\"||g.type===\"TSRestType\"||h===\"objectType\"&&g.type===\"TSIndexedAccessType\"||g.type===\"TSTypeOperator\"||g.type===\"TSTypeAnnotation\"&&s.grandparent.type.startsWith(\"TSJSDoc\");case\"TSTypeQuery\":return h===\"objectType\"&&g.type===\"TSIndexedAccessType\"||h===\"elementType\"&&g.type===\"TSArrayType\";case\"TypeOperator\":return g.type===\"ArrayTypeAnnotation\"||g.type===\"NullableTypeAnnotation\"||h===\"objectType\"&&(g.type===\"IndexedAccessType\"||g.type===\"OptionalIndexedAccessType\")||g.type===\"TypeOperator\";case\"TypeofTypeAnnotation\":return h===\"objectType\"&&(g.type===\"IndexedAccessType\"||g.type===\"OptionalIndexedAccessType\")||h===\"elementType\"&&g.type===\"ArrayTypeAnnotation\";case\"ArrayTypeAnnotation\":return g.type===\"NullableTypeAnnotation\";case\"IntersectionTypeAnnotation\":case\"UnionTypeAnnotation\":return g.type===\"TypeOperator\"||g.type===\"ArrayTypeAnnotation\"||g.type===\"NullableTypeAnnotation\"||g.type===\"IntersectionTypeAnnotation\"||g.type===\"UnionTypeAnnotation\"||h===\"objectType\"&&(g.type===\"IndexedAccessType\"||g.type===\"OptionalIndexedAccessType\");case\"InferTypeAnnotation\":case\"NullableTypeAnnotation\":return g.type===\"ArrayTypeAnnotation\"||h===\"objectType\"&&(g.type===\"IndexedAccessType\"||g.type===\"OptionalIndexedAccessType\");case\"ComponentTypeAnnotation\":case\"FunctionTypeAnnotation\":{if(u.type===\"ComponentTypeAnnotation\"&&(u.rendersType===null||u.rendersType===void 0))return!1;if(s.match(void 0,(m,_)=>_===\"typeAnnotation\"&&m.type===\"TypeAnnotation\",(m,_)=>_===\"returnType\"&&m.type===\"ArrowFunctionExpression\")||s.match(void 0,(m,_)=>_===\"typeAnnotation\"&&m.type===\"TypePredicate\",(m,_)=>_===\"typeAnnotation\"&&m.type===\"TypeAnnotation\",(m,_)=>_===\"returnType\"&&m.type===\"ArrowFunctionExpression\"))return!0;let f=g.type===\"NullableTypeAnnotation\"?s.grandparent:g;return f.type===\"UnionTypeAnnotation\"||f.type===\"IntersectionTypeAnnotation\"||f.type===\"ArrayTypeAnnotation\"||h===\"objectType\"&&(f.type===\"IndexedAccessType\"||f.type===\"OptionalIndexedAccessType\")||h===\"checkType\"&&g.type===\"ConditionalTypeAnnotation\"||h===\"extendsType\"&&g.type===\"ConditionalTypeAnnotation\"&&((a=u.returnType)==null?void 0:a.type)===\"InferTypeAnnotation\"&&((l=u.returnType)==null?void 0:l.typeParameter.bound)||f.type===\"NullableTypeAnnotation\"||g.type===\"FunctionTypeParam\"&&g.name===null&&uo(u).some(m=>{var _;return((_=m.typeAnnotation)==null?void 0:_.type)===\"NullableTypeAnnotation\"})}case\"OptionalIndexedAccessType\":return h===\"objectType\"&&g.type===\"IndexedAccessType\";case\"StringLiteral\":case\"NumericLiteral\":case\"Literal\":if(typeof u.value==\"string\"&&g.type===\"ExpressionStatement\"&&!g.directive){let f=s.grandparent;return f.type===\"Program\"||f.type===\"BlockStatement\"}return h===\"object\"&&g.type===\"MemberExpression\"&&typeof u.value==\"number\";case\"AssignmentExpression\":{let f=s.grandparent;return h===\"body\"&&g.type===\"ArrowFunctionExpression\"?!0:h===\"key\"&&(g.type===\"ClassProperty\"||g.type===\"PropertyDefinition\")&&g.computed||(h===\"init\"||h===\"update\")&&g.type===\"ForStatement\"?!1:g.type===\"ExpressionStatement\"?u.left.type===\"ObjectPattern\":!(h===\"key\"&&g.type===\"TSPropertySignature\"||g.type===\"AssignmentExpression\"||g.type===\"SequenceExpression\"&&f.type===\"ForStatement\"&&(f.init===g||f.update===g)||h===\"value\"&&g.type===\"Property\"&&f.type===\"ObjectPattern\"&&f.properties.includes(g)||g.type===\"NGChainedExpression\"||h===\"node\"&&g.type===\"JsExpressionRoot\")}case\"ConditionalExpression\":switch(g.type){case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"SpreadElement\":case\"BinaryExpression\":case\"LogicalExpression\":case\"NGPipeExpression\":case\"ExportDefaultDeclaration\":case\"AwaitExpression\":case\"JSXSpreadAttribute\":case\"TSTypeAssertion\":case\"TypeCastExpression\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":case\"TSNonNullExpression\":return!0;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return h===\"callee\";case\"ConditionalExpression\":return e.experimentalTernaries?!1:h===\"test\";case\"MemberExpression\":case\"OptionalMemberExpression\":return h===\"object\";default:return!1}case\"FunctionExpression\":switch(g.type){case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return h===\"callee\";case\"TaggedTemplateExpression\":return!0;default:return!1}case\"ArrowFunctionExpression\":switch(g.type){case\"BinaryExpression\":return g.operator!==\"|>\"||((d=u.extra)==null?void 0:d.parenthesized);case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return h===\"callee\";case\"MemberExpression\":case\"OptionalMemberExpression\":return h===\"object\";case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":case\"TSNonNullExpression\":case\"BindExpression\":case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"LogicalExpression\":case\"AwaitExpression\":case\"TSTypeAssertion\":return!0;case\"ConditionalExpression\":return h===\"test\";default:return!1}case\"ClassExpression\":switch(g.type){case\"NewExpression\":return h===\"callee\";default:return!1}case\"OptionalMemberExpression\":case\"OptionalCallExpression\":case\"CallExpression\":case\"MemberExpression\":if(Dte(s))return!0;case\"TaggedTemplateExpression\":case\"TSNonNullExpression\":if(h===\"callee\"&&(g.type===\"BindExpression\"||g.type===\"NewExpression\")){let f=u;for(;f;)switch(f.type){case\"CallExpression\":case\"OptionalCallExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":case\"BindExpression\":f=f.object;break;case\"TaggedTemplateExpression\":f=f.tag;break;case\"TSNonNullExpression\":f=f.expression;break;default:return!1}}return!1;case\"BindExpression\":return h===\"callee\"&&(g.type===\"BindExpression\"||g.type===\"NewExpression\")||h===\"object\"&&Rn(g);case\"NGPipeExpression\":return!(g.type===\"NGRoot\"||g.type===\"NGMicrosyntaxExpression\"||g.type===\"ObjectProperty\"&&!((c=u.extra)!=null&&c.parenthesized)||zs(g)||h===\"arguments\"&&ui(g)||h===\"right\"&&g.type===\"NGPipeExpression\"||h===\"property\"&&g.type===\"MemberExpression\"||g.type===\"AssignmentExpression\");case\"JSXFragment\":case\"JSXElement\":return h===\"callee\"||h===\"left\"&&g.type===\"BinaryExpression\"&&g.operator===\"<\"||!zs(g)&&g.type!==\"ArrowFunctionExpression\"&&g.type!==\"AssignmentExpression\"&&g.type!==\"AssignmentPattern\"&&g.type!==\"BinaryExpression\"&&g.type!==\"NewExpression\"&&g.type!==\"ConditionalExpression\"&&g.type!==\"ExpressionStatement\"&&g.type!==\"JsExpressionRoot\"&&g.type!==\"JSXAttribute\"&&g.type!==\"JSXElement\"&&g.type!==\"JSXExpressionContainer\"&&g.type!==\"JSXFragment\"&&g.type!==\"LogicalExpression\"&&!ui(g)&&!Qc(g)&&g.type!==\"ReturnStatement\"&&g.type!==\"ThrowStatement\"&&g.type!==\"TypeCastExpression\"&&g.type!==\"VariableDeclarator\"&&g.type!==\"YieldExpression\";case\"TSInstantiationExpression\":return h===\"object\"&&Rn(g)}return!1}var Cte=wi([\"BlockStatement\",\"BreakStatement\",\"ComponentDeclaration\",\"ClassBody\",\"ClassDeclaration\",\"ClassMethod\",\"ClassProperty\",\"PropertyDefinition\",\"ClassPrivateProperty\",\"ContinueStatement\",\"DebuggerStatement\",\"DeclareComponent\",\"DeclareClass\",\"DeclareExportAllDeclaration\",\"DeclareExportDeclaration\",\"DeclareFunction\",\"DeclareHook\",\"DeclareInterface\",\"DeclareModule\",\"DeclareModuleExports\",\"DeclareNamespace\",\"DeclareVariable\",\"DeclareEnum\",\"DoWhileStatement\",\"EnumDeclaration\",\"ExportAllDeclaration\",\"ExportDefaultDeclaration\",\"ExportNamedDeclaration\",\"ExpressionStatement\",\"ForInStatement\",\"ForOfStatement\",\"ForStatement\",\"FunctionDeclaration\",\"HookDeclaration\",\"IfStatement\",\"ImportDeclaration\",\"InterfaceDeclaration\",\"LabeledStatement\",\"MethodDefinition\",\"ReturnStatement\",\"SwitchStatement\",\"ThrowStatement\",\"TryStatement\",\"TSDeclareFunction\",\"TSEnumDeclaration\",\"TSImportEqualsDeclaration\",\"TSInterfaceDeclaration\",\"TSModuleDeclaration\",\"TSNamespaceExportDeclaration\",\"TypeAlias\",\"VariableDeclaration\",\"WhileStatement\",\"WithStatement\"]);function wte(s){let e=0,{node:t}=s;for(;t;){let i=s.getParentNode(e++);if((i==null?void 0:i.type)===\"ForStatement\"&&i.init===t)return!0;t=i}return!1}function yte(s){return TT(s,e=>e.type===\"ObjectTypeAnnotation\"&&TT(e,t=>t.type===\"FunctionTypeAnnotation\"))}function Ste(s){return il(s)}function cv(s){let{parent:e,key:t}=s;switch(e.type){case\"NGPipeExpression\":if(t===\"arguments\"&&s.isLast)return s.callParent(cv);break;case\"ObjectProperty\":if(t===\"value\")return s.callParent(()=>s.key===\"properties\"&&s.isLast);break;case\"BinaryExpression\":case\"LogicalExpression\":if(t===\"right\")return s.callParent(cv);break;case\"ConditionalExpression\":if(t===\"alternate\")return s.callParent(cv);break;case\"UnaryExpression\":if(e.prefix)return s.callParent(cv);break}return!1}function dH(s,e){let{node:t,parent:i}=s;return t.type===\"FunctionExpression\"||t.type===\"ClassExpression\"?i.type===\"ExportDefaultDeclaration\"||!WT(s,e):!pP(t)||i.type!==\"ExportDefaultDeclaration\"&&WT(s,e)?!1:s.call(()=>dH(s,e),...LW(t))}function Dte(s){return!!(s.match(void 0,(e,t)=>t===\"expression\"&&e.type===\"ChainExpression\",(e,t)=>t===\"tag\"&&e.type===\"TaggedTemplateExpression\")||s.match(e=>e.type===\"OptionalCallExpression\"||e.type===\"OptionalMemberExpression\",(e,t)=>t===\"tag\"&&e.type===\"TaggedTemplateExpression\")||s.match(e=>e.type===\"OptionalCallExpression\"||e.type===\"OptionalMemberExpression\",(e,t)=>t===\"expression\"&&e.type===\"TSNonNullExpression\",(e,t)=>t===\"tag\"&&e.type===\"TaggedTemplateExpression\")||s.match(void 0,(e,t)=>t===\"expression\"&&e.type===\"ChainExpression\",(e,t)=>t===\"expression\"&&e.type===\"TSNonNullExpression\",(e,t)=>t===\"tag\"&&e.type===\"TaggedTemplateExpression\")||s.match(void 0,(e,t)=>t===\"expression\"&&e.type===\"TSNonNullExpression\",(e,t)=>t===\"expression\"&&e.type===\"ChainExpression\",(e,t)=>t===\"tag\"&&e.type===\"TaggedTemplateExpression\")||s.match(e=>e.type===\"OptionalMemberExpression\"||e.type===\"OptionalCallExpression\",(e,t)=>t===\"object\"&&e.type===\"MemberExpression\"||t===\"callee\"&&(e.type===\"CallExpression\"||e.type===\"NewExpression\"))||s.match(e=>e.type===\"OptionalMemberExpression\"||e.type===\"OptionalCallExpression\",(e,t)=>t===\"expression\"&&e.type===\"TSNonNullExpression\",(e,t)=>t===\"object\"&&e.type===\"MemberExpression\"||t===\"callee\"&&e.type===\"CallExpression\")||s.match(e=>e.type===\"CallExpression\"||e.type===\"MemberExpression\",(e,t)=>t===\"expression\"&&e.type===\"ChainExpression\")&&(s.match(void 0,void 0,(e,t)=>t===\"callee\"&&(e.type===\"CallExpression\"&&!e.optional||e.type===\"NewExpression\")||t===\"object\"&&e.type===\"MemberExpression\"&&!e.optional)||s.match(void 0,void 0,(e,t)=>t===\"expression\"&&e.type===\"TSNonNullExpression\",(e,t)=>t===\"object\"&&e.type===\"MemberExpression\"||t===\"callee\"&&e.type===\"CallExpression\"))||s.match(e=>e.type===\"CallExpression\"||e.type===\"MemberExpression\",(e,t)=>t===\"expression\"&&e.type===\"TSNonNullExpression\",(e,t)=>t===\"expression\"&&e.type===\"ChainExpression\",(e,t)=>t===\"object\"&&e.type===\"MemberExpression\"||t===\"callee\"&&e.type===\"CallExpression\"))}function HT(s){return s.type===\"Identifier\"?!0:Rn(s)?!s.computed&&!s.optional&&s.property.type===\"Identifier\"&&HT(s.object):!1}function Lte(s){return s.type===\"ChainExpression\"&&(s=s.expression),HT(s)||ui(s)&&!s.optional&&HT(s.callee)}var ip=WT;function xte(s,e){let t=e-1;t=Jm(s,t,{backwards:!0}),t=e_(s,t,{backwards:!0}),t=Jm(s,t,{backwards:!0});let i=e_(s,t,{backwards:!0});return t!==i}var kte=xte,Ete=()=>!0;function IP(s,e){let t=s.node;return t.printed=!0,e.printer.printComment(s,e)}function Ite(s,e){var t;let i=s.node,n=[IP(s,e)],{printer:o,originalText:r,locStart:a,locEnd:l}=e;if((t=o.isBlockComment)!=null&&t.call(o,i)){let c=Ar(r,l(i))?Ar(r,a(i),{backwards:!0})?Se:Ue:\" \";n.push(c)}else n.push(Se);let d=e_(r,Jm(r,l(i)));return d!==!1&&Ar(r,d)&&n.push(Se),n}function Tte(s,e,t){var i;let n=s.node,o=IP(s,e),{printer:r,originalText:a,locStart:l}=e,d=(i=r.isBlockComment)==null?void 0:i.call(r,n);if(t!=null&&t.hasLineSuffix&&!(t!=null&&t.isBlock)||Ar(a,l(n),{backwards:!0})){let c=kte(a,l(n));return{doc:E5([Se,c?Se:\"\",o]),isBlock:d,hasLineSuffix:!0}}return!d||t!=null&&t.hasLineSuffix?{doc:[E5([\" \",o]),fd],isBlock:d,hasLineSuffix:!0}:{doc:[\" \",o],isBlock:d,hasLineSuffix:!1}}function gn(s,e,t={}){let{node:i}=s;if(!mi(i==null?void 0:i.comments))return\"\";let{indent:n=!1,marker:o,filter:r=Ete}=t,a=[];if(s.each(({node:d})=>{d.leading||d.trailing||d.marker!==o||!r(d)||a.push(IP(s,e))},\"comments\"),a.length===0)return\"\";let l=si(Se,a);return n?Le([Se,l]):l}function cH(s,e){let t=s.node;if(!t)return{};let i=e[Symbol.for(\"printedComments\")];if((t.comments||[]).filter(a=>!i.has(a)).length===0)return{leading:\"\",trailing:\"\"};let n=[],o=[],r;return s.each(()=>{let a=s.node;if(i!=null&&i.has(a))return;let{leading:l,trailing:d}=a;l?n.push(Ite(s,e)):d&&(r=Tte(s,e,r),o.push(r.doc))},\"comments\"),{leading:n,trailing:o}}function Xa(s,e,t){let{leading:i,trailing:n}=cH(s,t);return!i&&!n?e:MT(e,o=>[i,o,n])}var Nte=class extends Error{constructor(e,t,i=\"type\"){super(`Unexpected ${t} node ${i}: ${JSON.stringify(e[i])}.`);Q1(this,\"name\",\"UnexpectedNodeError\");this.node=e}},t0=Nte;function Ate(s){if(typeof s!=\"string\")throw new TypeError(\"Expected a string\");return s.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var Ia,Mte=class{constructor(s){lQ(this,Ia),dQ(this,Ia,new Set(s))}getLeadingWhitespaceCount(s){let e=uu(this,Ia),t=0;for(let i=0;i<s.length&&e.has(s.charAt(i));i++)t++;return t}getTrailingWhitespaceCount(s){let e=uu(this,Ia),t=0;for(let i=s.length-1;i>=0&&e.has(s.charAt(i));i--)t++;return t}getLeadingWhitespace(s){let e=this.getLeadingWhitespaceCount(s);return s.slice(0,e)}getTrailingWhitespace(s){let e=this.getTrailingWhitespaceCount(s);return s.slice(s.length-e)}hasLeadingWhitespace(s){return uu(this,Ia).has(s.charAt(0))}hasTrailingWhitespace(s){return uu(this,Ia).has(Si(!1,s,-1))}trimStart(s){let e=this.getLeadingWhitespaceCount(s);return s.slice(e)}trimEnd(s){let e=this.getTrailingWhitespaceCount(s);return s.slice(0,s.length-e)}trim(s){return this.trimEnd(this.trimStart(s))}split(s,e=!1){let t=`[${Ate([...uu(this,Ia)].join(\"\"))}]+`,i=new RegExp(e?`(${t})`:t,\"u\");return s.split(i)}hasWhitespaceCharacter(s){let e=uu(this,Ia);return Array.prototype.some.call(s,t=>e.has(t))}hasNonWhitespaceCharacter(s){let e=uu(this,Ia);return Array.prototype.some.call(s,t=>!e.has(t))}isWhitespaceOnly(s){let e=uu(this,Ia);return Array.prototype.every.call(s,t=>e.has(t))}};Ia=new WeakMap;var Rte=Mte,Ny=new Rte(` \n\\r\t`),yE=s=>s===\"\"||s===Ue||s===Se||s===be;function Pte(s,e,t){var i,n,o,r,a;let{node:l}=s;if(l.type===\"JSXElement\"&&Xte(l))return[t(\"openingElement\"),t(\"closingElement\")];let d=l.type===\"JSXElement\"?t(\"openingElement\"):t(\"openingFragment\"),c=l.type===\"JSXElement\"?t(\"closingElement\"):t(\"closingFragment\");if(l.children.length===1&&l.children[0].type===\"JSXExpressionContainer\"&&(l.children[0].expression.type===\"TemplateLiteral\"||l.children[0].expression.type===\"TaggedTemplateExpression\"))return[d,...s.map(t,\"children\"),c];l.children=l.children.map(k=>Yte(k)?{type:\"JSXText\",value:\" \",raw:\" \"}:k);let u=l.children.some(bs),h=l.children.filter(k=>k.type===\"JSXExpressionContainer\").length>1,g=l.type===\"JSXElement\"&&l.openingElement.attributes.length>1,f=So(d)||u||g||h,m=s.parent.rootMarker===\"mdx\",_=e.singleQuote?\"{' '}\":'{\" \"}',v=m?Ue:Rt([_,be],\" \"),b=((n=(i=l.openingElement)==null?void 0:i.name)==null?void 0:n.name)===\"fbt\",C=Fte(s,e,t,v,b),w=l.children.some(k=>Db(k));for(let k=C.length-2;k>=0;k--){let I=C[k]===\"\"&&C[k+1]===\"\",O=C[k]===Se&&C[k+1]===\"\"&&C[k+2]===Se,R=(C[k]===be||C[k]===Se)&&C[k+1]===\"\"&&C[k+2]===v,P=C[k]===v&&C[k+1]===\"\"&&(C[k+2]===be||C[k+2]===Se),F=C[k]===v&&C[k+1]===\"\"&&C[k+2]===v,V=C[k]===be&&C[k+1]===\"\"&&C[k+2]===Se||C[k]===Se&&C[k+1]===\"\"&&C[k+2]===be;O&&w||I||R||F||V?C.splice(k,2):P&&C.splice(k+1,2)}for(;C.length>0&&yE(Si(!1,C,-1));)C.pop();for(;C.length>1&&yE(C[0])&&yE(C[1]);)C.shift(),C.shift();let y=[\"\"];for(let[k,I]of C.entries()){if(I===v){if(k===1&&kJ(C[k-1])){if(C.length===2){y.push([y.pop(),_]);continue}y.push([_,Se],\"\");continue}else if(k===C.length-1){y.push([y.pop(),_]);continue}else if(C[k-1]===\"\"&&C[k-2]===Se){y.push([y.pop(),_]);continue}}k%2===0?y.push([y.pop(),I]):y.push(I,\"\"),So(I)&&(f=!0)}let D=w?WW(y):re(y,{shouldBreak:!0});if(((o=e.cursorNode)==null?void 0:o.type)===\"JSXText\"&&l.children.includes(e.cursorNode)?D=[sw,D,sw]:((r=e.nodeBeforeCursor)==null?void 0:r.type)===\"JSXText\"&&l.children.includes(e.nodeBeforeCursor)?D=[sw,D]:((a=e.nodeAfterCursor)==null?void 0:a.type)===\"JSXText\"&&l.children.includes(e.nodeAfterCursor)&&(D=[D,sw]),m)return D;let L=re([d,Le([Se,D]),Se,c]);return f?L:qg([re([d,...C,c]),L])}function Fte(s,e,t,i,n){let o=\"\",r=[o];function a(d){o=d,r.push([r.pop(),d])}function l(d){d!==\"\"&&(o=d,r.push(d,\"\"))}return s.each(({node:d,next:c})=>{if(d.type===\"JSXText\"){let u=fa(d);if(Db(d)){let h=Ny.split(u,!0);h[0]===\"\"&&(h.shift(),/\\n/u.test(h[0])?l(R5(n,h[1],d,c)):l(i),h.shift());let g;if(Si(!1,h,-1)===\"\"&&(h.pop(),g=h.pop()),h.length===0)return;for(let[f,m]of h.entries())f%2===1?l(Ue):a(m);g!==void 0?/\\n/u.test(g)?l(R5(n,o,d,c)):l(i):l(M5(n,o,d,c))}else/\\n/u.test(u)?u.match(/\\n/gu).length>1&&l(Se):l(i)}else{let u=t();if(a(u),c&&Db(c)){let h=Ny.trim(fa(c)),[g]=Ny.split(h);l(M5(n,g,d,c))}else l(Se)}},\"children\"),r}function M5(s,e,t,i){return s?\"\":t.type===\"JSXElement\"&&!t.closingElement||(i==null?void 0:i.type)===\"JSXElement\"&&!i.closingElement?e.length===1?be:Se:be}function R5(s,e,t,i){return s?Se:e.length===1?t.type===\"JSXElement\"&&!t.closingElement||(i==null?void 0:i.type)===\"JSXElement\"&&!i.closingElement?Se:be:Se}var Ote=new Set([\"ArrayExpression\",\"TupleExpression\",\"JSXAttribute\",\"JSXElement\",\"JSXExpressionContainer\",\"JSXFragment\",\"ExpressionStatement\",\"CallExpression\",\"OptionalCallExpression\",\"ConditionalExpression\",\"JsExpressionRoot\"]);function Bte(s,e,t){let{parent:i}=s;if(Ote.has(i.type))return e;let n=s.match(void 0,r=>r.type===\"ArrowFunctionExpression\",ui,r=>r.type===\"JSXExpressionContainer\"),o=ip(s,t);return re([o?\"\":Rt(\"(\"),Le([be,e]),be,o?\"\":Rt(\")\")],{shouldBreak:n})}function Wte(s,e,t){let{node:i}=s,n=[];if(n.push(t(\"name\")),i.value){let o;if(sr(i.value)){let r=fa(i.value),a=As(!1,As(!1,r.slice(1,-1),\"&apos;\",\"'\"),\"&quot;\",'\"'),l=CW(a,e.jsxSingleQuote);a=l==='\"'?As(!1,a,'\"',\"&quot;\"):As(!1,a,\"'\",\"&apos;\"),o=s.call(()=>Xa(s,_f(l+a+l),e),\"value\")}else o=t(\"value\");n.push(\"=\",o)}return n}function Hte(s,e,t){let{node:i}=s,n=(o,r)=>o.type===\"JSXEmptyExpression\"||!Re(o)&&(zs(o)||il(o)||o.type===\"ArrowFunctionExpression\"||o.type===\"AwaitExpression\"&&(n(o.argument,o)||o.argument.type===\"JSXElement\")||ui(o)||o.type===\"ChainExpression\"&&ui(o.expression)||o.type===\"FunctionExpression\"||o.type===\"TemplateLiteral\"||o.type===\"TaggedTemplateExpression\"||o.type===\"DoExpression\"||bs(r)&&(o.type===\"ConditionalExpression\"||Fc(o)));return n(i.expression,s.parent)?re([\"{\",t(\"expression\"),Bc,\"}\"]):re([\"{\",Le([be,t(\"expression\")]),be,Bc,\"}\"])}function Vte(s,e,t){var i,n;let{node:o}=s,r=Re(o.name)||Re(o.typeParameters)||Re(o.typeArguments);if(o.selfClosing&&o.attributes.length===0&&!r)return[\"<\",t(\"name\"),o.typeArguments?t(\"typeArguments\"):t(\"typeParameters\"),\" />\"];if(((i=o.attributes)==null?void 0:i.length)===1&&sr(o.attributes[0].value)&&!o.attributes[0].value.value.includes(`\n`)&&!r&&!Re(o.attributes[0]))return re([\"<\",t(\"name\"),o.typeArguments?t(\"typeArguments\"):t(\"typeParameters\"),\" \",...s.map(t,\"attributes\"),o.selfClosing?\" />\":\">\"]);let a=(n=o.attributes)==null?void 0:n.some(d=>sr(d.value)&&d.value.value.includes(`\n`)),l=e.singleAttributePerLine&&o.attributes.length>1?Se:Ue;return re([\"<\",t(\"name\"),o.typeArguments?t(\"typeArguments\"):t(\"typeParameters\"),Le(s.map(()=>[l,t()],\"attributes\")),...zte(o,e,r)],{shouldBreak:a})}function zte(s,e,t){return s.selfClosing?[Ue,\"/>\"]:Ute(s,e,t)?[\">\"]:[be,\">\"]}function Ute(s,e,t){let i=s.attributes.length>0&&Re(Si(!1,s.attributes,-1),Ze.Trailing);return s.attributes.length===0&&!t||(e.bracketSameLine||e.jsxBracketSameLine)&&(!t||s.attributes.length>0)&&!i}function $te(s,e,t){let{node:i}=s,n=[];n.push(\"</\");let o=t(\"name\");return Re(i.name,Ze.Leading|Ze.Line)?n.push(Le([Se,o]),Se):Re(i.name,Ze.Leading|Ze.Block)?n.push(\" \",o):n.push(o),n.push(\">\"),n}function jte(s,e){let{node:t}=s,i=Re(t),n=Re(t,Ze.Line),o=t.type===\"JSXOpeningFragment\";return[o?\"<\":\"</\",Le([n?Se:i&&!o?\" \":\"\",gn(s,e)]),n?Se:\"\",\">\"]}function Kte(s,e,t){let i=Xa(s,Pte(s,e,t),e);return Bte(s,i,e)}function qte(s,e){let{node:t}=s,i=Re(t,Ze.Line);return[gn(s,e,{indent:i}),i?Se:\"\"]}function Gte(s,e,t){let{node:i}=s;return[\"{\",s.call(({node:n})=>{let o=[\"...\",t()];return!Re(n)||!JW(s)?o:[Le([be,Xa(s,o,e)]),be]},i.type===\"JSXSpreadAttribute\"?\"argument\":\"expression\"),\"}\"]}function Zte(s,e,t){let{node:i}=s;if(i.type.startsWith(\"JSX\"))switch(i.type){case\"JSXAttribute\":return Wte(s,e,t);case\"JSXIdentifier\":return i.name;case\"JSXNamespacedName\":return si(\":\",[t(\"namespace\"),t(\"name\")]);case\"JSXMemberExpression\":return si(\".\",[t(\"object\"),t(\"property\")]);case\"JSXSpreadAttribute\":case\"JSXSpreadChild\":return Gte(s,e,t);case\"JSXExpressionContainer\":return Hte(s,e,t);case\"JSXFragment\":case\"JSXElement\":return Kte(s,e,t);case\"JSXOpeningElement\":return Vte(s,e,t);case\"JSXClosingElement\":return $te(s,e,t);case\"JSXOpeningFragment\":case\"JSXClosingFragment\":return jte(s,e);case\"JSXEmptyExpression\":return qte(s,e);case\"JSXText\":throw new Error(\"JSXText should be handled by JSXElement\");default:throw new t0(i,\"JSX\")}}function Xte(s){if(s.children.length===0)return!0;if(s.children.length>1)return!1;let e=s.children[0];return e.type===\"JSXText\"&&!Db(e)}function Db(s){return s.type===\"JSXText\"&&(Ny.hasNonWhitespaceCharacter(fa(s))||!/\\n/u.test(fa(s)))}function Yte(s){return s.type===\"JSXExpressionContainer\"&&sr(s.expression)&&s.expression.value===\" \"&&!Re(s.expression)}function Qte(s){let{node:e,parent:t}=s;if(!bs(e)||!bs(t))return!1;let{index:i,siblings:n}=s,o;for(let r=i;r>0;r--){let a=n[r-1];if(!(a.type===\"JSXText\"&&!Db(a))){o=a;break}}return(o==null?void 0:o.type)===\"JSXExpressionContainer\"&&o.expression.type===\"JSXEmptyExpression\"&&OL(o.expression)}function Jte(s){return OL(s.node)||Qte(s)}var uH=Jte,eie=0;function hH(s,e,t){var i;let{node:n,parent:o,grandparent:r,key:a}=s,l=a!==\"body\"&&(o.type===\"IfStatement\"||o.type===\"WhileStatement\"||o.type===\"SwitchStatement\"||o.type===\"DoWhileStatement\"),d=n.operator===\"|>\"&&((i=s.root.extra)==null?void 0:i.__isUsingHackPipeline),c=VT(s,t,e,!1,l);if(l)return c;if(d)return re(c);if(ui(o)&&o.callee===n||o.type===\"UnaryExpression\"||Rn(o)&&!o.computed)return re([Le([be,...c]),be]);let u=o.type===\"ReturnStatement\"||o.type===\"ThrowStatement\"||o.type===\"JSXExpressionContainer\"&&r.type===\"JSXAttribute\"||n.operator!==\"|\"&&o.type===\"JsExpressionRoot\"||n.type!==\"NGPipeExpression\"&&(o.type===\"NGRoot\"&&e.parser===\"__ng_binding\"||o.type===\"NGMicrosyntaxExpression\"&&r.type===\"NGMicrosyntax\"&&r.body.length===1)||n===o.body&&o.type===\"ArrowFunctionExpression\"||n!==o.body&&o.type===\"ForStatement\"||o.type===\"ConditionalExpression\"&&r.type!==\"ReturnStatement\"&&r.type!==\"ThrowStatement\"&&!ui(r)||o.type===\"TemplateLiteral\",h=o.type===\"AssignmentExpression\"||o.type===\"VariableDeclarator\"||o.type===\"ClassProperty\"||o.type===\"PropertyDefinition\"||o.type===\"TSAbstractPropertyDefinition\"||o.type===\"ClassPrivateProperty\"||Qc(o),g=Fc(n.left)&&bP(n.operator,n.left.operator);if(u||Lb(n)&&!g||!Lb(n)&&h)return re(c);if(c.length===0)return\"\";let f=bs(n.right),m=c.findIndex(y=>typeof y!=\"string\"&&!Array.isArray(y)&&y.type===pa),_=c.slice(0,m===-1?1:m+1),v=c.slice(_.length,f?-1:void 0),b=Symbol(\"logicalChain-\"+ ++eie),C=re([..._,Le(v)],{id:b});if(!f)return C;let w=Si(!1,c,-1);return re([C,BL(w,{groupId:b})])}function VT(s,e,t,i,n){var o;let{node:r}=s;if(!Fc(r))return[re(e())];let a=[];bP(r.operator,r.left.operator)?a=s.call(_=>VT(_,e,t,!0,n),\"left\"):a.push(re(e(\"left\")));let l=Lb(r),d=(r.operator===\"|>\"||r.type===\"NGPipeExpression\"||tie(s,t))&&!vh(t.originalText,r.right),c=!Re(r.right,Ze.Leading,UW)&&vh(t.originalText,r.right),u=r.type===\"NGPipeExpression\"?\"|\":r.operator,h=r.type===\"NGPipeExpression\"&&r.arguments.length>0?re(Le([be,\": \",si([Ue,\": \"],s.map(()=>gd(2,re(e())),\"arguments\"))])):\"\",g;if(l)g=[u,\" \",e(\"right\"),h];else{let _=u===\"|>\"&&((o=s.root.extra)!=null&&o.__isUsingHackPipeline)?s.call(v=>VT(v,e,t,!0,n),\"right\"):e(\"right\");if(t.experimentalOperatorPosition===\"start\"){let v=\"\";if(c)switch(Qh(_)){case Oc:v=_.splice(0,1)[0];break;case Jc:v=_.contents.splice(0,1)[0];break}g=[Ue,v,u,\" \",_,h]}else g=[d?Ue:\"\",u,d?\" \":Ue,_,h]}let{parent:f}=s,m=Re(r.left,Ze.Trailing|Ze.Line);if((m||!(n&&r.type===\"LogicalExpression\")&&f.type!==r.type&&r.left.type!==r.type&&r.right.type!==r.type)&&(g=re(g,{shouldBreak:m})),t.experimentalOperatorPosition===\"start\"?a.push(l||c?\" \":\"\",g):a.push(d?\"\":\" \",g),i&&Re(r)){let _=yP(Xa(s,a,t));return _.type===Xh?_.parts:Array.isArray(_)?_:[_]}return a}function Lb(s){return s.type!==\"LogicalExpression\"?!1:!!(il(s.right)&&s.right.properties.length>0||zs(s.right)&&s.right.elements.length>0||bs(s.right))}var P5=s=>s.type===\"BinaryExpression\"&&s.operator===\"|\";function tie(s,e){return(e.parser===\"__vue_expression\"||e.parser===\"__vue_ts_expression\")&&P5(s.node)&&!s.hasAncestor(t=>!P5(t)&&t.type!==\"JsExpressionRoot\")}function iie(s,e,t){let{node:i}=s;if(i.type.startsWith(\"NG\"))switch(i.type){case\"NGRoot\":return[t(\"node\"),Re(i.node)?\" //\"+Dm(i.node)[0].value.trimEnd():\"\"];case\"NGPipeExpression\":return hH(s,e,t);case\"NGChainedExpression\":return re(si([\";\",Ue],s.map(()=>sie(s)?t():[\"(\",t(),\")\"],\"expressions\")));case\"NGEmptyExpression\":return\"\";case\"NGMicrosyntax\":return s.map(()=>[s.isFirst?\"\":F5(s)?\" \":[\";\",Ue],t()],\"body\");case\"NGMicrosyntaxKey\":return/^[$_a-z][\\w$]*(?:-[$_a-z][\\w$])*$/iu.test(i.name)?i.name:JSON.stringify(i.name);case\"NGMicrosyntaxExpression\":return[t(\"expression\"),i.alias===null?\"\":[\" as \",t(\"alias\")]];case\"NGMicrosyntaxKeyedExpression\":{let{index:n,parent:o}=s,r=F5(s)||(n===1&&(i.key.name===\"then\"||i.key.name===\"else\"||i.key.name===\"as\")||(n===2||n===3)&&(i.key.name===\"else\"&&o.body[n-1].type===\"NGMicrosyntaxKeyedExpression\"&&o.body[n-1].key.name===\"then\"||i.key.name===\"track\"))&&o.body[0].type===\"NGMicrosyntaxExpression\";return[t(\"key\"),r?\" \":\": \",t(\"expression\")]}case\"NGMicrosyntaxLet\":return[\"let \",t(\"key\"),i.value===null?\"\":[\" = \",t(\"value\")]];case\"NGMicrosyntaxAs\":return[t(\"key\"),\" as \",t(\"alias\")];default:throw new t0(i,\"Angular\")}}function F5({node:s,index:e}){return s.type===\"NGMicrosyntaxKeyedExpression\"&&s.key.name===\"of\"&&e===1}var nie=wi([\"CallExpression\",\"OptionalCallExpression\",\"AssignmentExpression\"]);function sie({node:s}){return TT(s,nie)}function gH(s,e,t){let{node:i}=s;return re([si(Ue,s.map(t,\"decorators\")),fH(i,e)?Se:Ue])}function oie(s,e,t){return pH(s.node)?[si(Se,s.map(t,\"declaration\",\"decorators\")),Se]:\"\"}function rie(s,e,t){let{node:i,parent:n}=s,{decorators:o}=i;if(!mi(o)||pH(n)||uH(s))return\"\";let r=i.type===\"ClassExpression\"||i.type===\"ClassDeclaration\"||fH(i,e);return[s.key===\"declaration\"&&YQ(n)?Se:r?fd:\"\",si(Ue,s.map(t,\"decorators\")),Ue]}function fH(s,e){return s.decorators.some(t=>Ar(e.originalText,oi(t)))}function pH(s){var e;if(s.type!==\"ExportDefaultDeclaration\"&&s.type!==\"ExportNamedDeclaration\"&&s.type!==\"DeclareExportDeclaration\")return!1;let t=(e=s.declaration)==null?void 0:e.decorators;return mi(t)&&RL(s,t[0])}var DS=class extends Error{constructor(){super(...arguments);Q1(this,\"name\",\"ArgExpansionBailout\")}};function aie(s,e,t){let{node:i}=s,n=wa(i);if(n.length===0)return[\"(\",gn(s,e),\")\"];let o=n.length-1;if(cie(n)){let u=[\"(\"];return yS(s,(h,g)=>{u.push(t()),g!==o&&u.push(\", \")}),u.push(\")\"),u}let r=!1,a=[];yS(s,({node:u},h)=>{let g=t();h===o||(Yc(u,e)?(r=!0,g=[g,\",\",Se,Se]):g=[g,\",\",Ue]),a.push(g)});let l=!e.parser.startsWith(\"__ng_\")&&i.type!==\"ImportExpression\"&&Xc(e,\"all\")?\",\":\"\";function d(){return re([\"(\",Le([Ue,...a]),l,Ue,\")\"],{shouldBreak:!0})}if(r||s.parent.type!==\"Decorator\"&&aJ(n))return d();if(die(n)){let u=a.slice(1);if(u.some(So))return d();let h;try{h=t(L5(i,0),{expandFirstArg:!0})}catch(g){if(g instanceof DS)return d();throw g}return So(h)?[fd,qg([[\"(\",re(h,{shouldBreak:!0}),\", \",...u,\")\"],d()])]:qg([[\"(\",h,\", \",...u,\")\"],[\"(\",re(h,{shouldBreak:!0}),\", \",...u,\")\"],d()])}if(lie(n,a,e)){let u=a.slice(0,-1);if(u.some(So))return d();let h;try{h=t(L5(i,-1),{expandLastArg:!0})}catch(g){if(g instanceof DS)return d();throw g}return So(h)?[fd,qg([[\"(\",...u,re(h,{shouldBreak:!0}),\")\"],d()])]:qg([[\"(\",...u,h,\")\"],[\"(\",...u,re(h,{shouldBreak:!0}),\")\"],d()])}let c=[\"(\",Le([be,...a]),Rt(l),be,\")\"];return MW(s)?c:re(c,{shouldBreak:a.some(So)||r})}function Bv(s,e=!1){return il(s)&&(s.properties.length>0||Re(s))||zs(s)&&(s.elements.length>0||Re(s))||s.type===\"TSTypeAssertion\"&&Bv(s.expression)||Xl(s)&&Bv(s.expression)||s.type===\"FunctionExpression\"||s.type===\"ArrowFunctionExpression\"&&(!s.returnType||!s.returnType.typeAnnotation||s.returnType.typeAnnotation.type!==\"TSTypeReference\"||uie(s.body))&&(s.body.type===\"BlockStatement\"||s.body.type===\"ArrowFunctionExpression\"&&Bv(s.body,!0)||il(s.body)||zs(s.body)||!e&&(ui(s.body)||s.body.type===\"ConditionalExpression\")||bs(s.body))||s.type===\"DoExpression\"||s.type===\"ModuleExpression\"}function lie(s,e,t){var i,n;let o=Si(!1,s,-1);if(s.length===1){let a=Si(!1,e,-1);if((i=a.label)!=null&&i.embed&&((n=a.label)==null?void 0:n.hug)!==!1)return!0}let r=Si(!1,s,-2);return!Re(o,Ze.Leading)&&!Re(o,Ze.Trailing)&&Bv(o)&&(!r||r.type!==o.type)&&(s.length!==2||r.type!==\"ArrowFunctionExpression\"||!zs(o))&&!(s.length>1&&VH(o,t))}function die(s){if(s.length!==2)return!1;let[e,t]=s;return e.type===\"ModuleExpression\"&&hie(t)?!0:!Re(e)&&(e.type===\"FunctionExpression\"||e.type===\"ArrowFunctionExpression\"&&e.body.type===\"BlockStatement\")&&t.type!==\"FunctionExpression\"&&t.type!==\"ArrowFunctionExpression\"&&t.type!==\"ConditionalExpression\"&&mH(t)&&!Bv(t)}function mH(s){if(s.type===\"ParenthesizedExpression\")return mH(s.expression);if(Xl(s)||s.type===\"TypeCastExpression\"){let{typeAnnotation:e}=s;if(e.type===\"TypeAnnotation\"&&(e=e.typeAnnotation),e.type===\"TSArrayType\"&&(e=e.elementType,e.type===\"TSArrayType\"&&(e=e.elementType)),e.type===\"GenericTypeAnnotation\"||e.type===\"TSTypeReference\"){let t=e.typeArguments??e.typeParameters;(t==null?void 0:t.params.length)===1&&(e=t.params[0])}return _P(e)&&Wa(s.expression,1)}return i_(s)&&wa(s).length>1?!1:Fc(s)?Wa(s.left,1)&&Wa(s.right,1):kW(s)||Wa(s)}function cie(s){return s.length===2?O5(s,0):s.length===3?s[0].type===\"Identifier\"&&O5(s,1):!1}function O5(s,e){let t=s[e],i=s[e+1];return t.type===\"ArrowFunctionExpression\"&&uo(t).length===0&&t.body.type===\"BlockStatement\"&&i.type===\"ArrayExpression\"&&!s.some(n=>Re(n))}function uie(s){return s.type===\"BlockStatement\"&&(s.body.some(e=>e.type!==\"EmptyStatement\")||Re(s,Ze.Dangling))}function hie(s){return s.type===\"ObjectExpression\"&&s.properties.length===1&&Qc(s.properties[0])&&s.properties[0].key.type===\"Identifier\"&&s.properties[0].key.name===\"type\"&&sr(s.properties[0].value)&&s.properties[0].value.value===\"module\"}var zT=aie,gie=s=>((s.type===\"ChainExpression\"||s.type===\"TSNonNullExpression\")&&(s=s.expression),ui(s)&&wa(s).length>0);function fie(s,e,t){var i;let n=t(\"object\"),o=_H(s,e,t),{node:r}=s,a=s.findAncestor(c=>!(Rn(c)||c.type===\"TSNonNullExpression\")),l=s.findAncestor(c=>!(c.type===\"ChainExpression\"||c.type===\"TSNonNullExpression\")),d=a&&(a.type===\"NewExpression\"||a.type===\"BindExpression\"||a.type===\"AssignmentExpression\"&&a.left.type!==\"Identifier\")||r.computed||r.object.type===\"Identifier\"&&r.property.type===\"Identifier\"&&!Rn(l)||(l.type===\"AssignmentExpression\"||l.type===\"VariableDeclarator\")&&(gie(r.object)||((i=n.label)==null?void 0:i.memberChain));return s1(n.label,[n,d?o:re(Le([be,o]))])}function _H(s,e,t){let i=t(\"property\"),{node:n}=s,o=ko(s);return n.computed?!n.property||Pc(n.property)?[o,\"[\",i,\"]\"]:re([o,\"[\",Le([be,i]),be,\"]\"]):[o,\".\",i]}function vH(s,e,t){if(s.node.type===\"ChainExpression\")return s.call(()=>vH(s,e,t),\"expression\");let{parent:i}=s,n=!i||i.type===\"ExpressionStatement\",o=[];function r(V){let{originalText:U}=e,J=e0(U,oi(V));return U.charAt(J)===\")\"?J!==!1&&gP(U,J+1):Yc(V,e)}function a(){let{node:V}=s;if(V.type===\"ChainExpression\")return s.call(a,\"expression\");if(ui(V)&&(zp(V.callee)||ui(V.callee))){let U=r(V);o.unshift({node:V,hasTrailingEmptyLine:U,printed:[Xa(s,[ko(s),vf(s,e,t),zT(s,e,t)],e),U?Se:\"\"]}),s.call(a,\"callee\")}else zp(V)?(o.unshift({node:V,needsParens:ip(s,e),printed:Xa(s,Rn(V)?_H(s,e,t):WH(s,e,t),e)}),s.call(a,\"object\")):V.type===\"TSNonNullExpression\"?(o.unshift({node:V,printed:Xa(s,\"!\",e)}),s.call(a,\"expression\")):o.unshift({node:V,printed:t()})}let{node:l}=s;o.unshift({node:l,printed:[ko(s),vf(s,e,t),zT(s,e,t)]}),l.callee&&s.call(a,\"callee\");let d=[],c=[o[0]],u=1;for(;u<o.length&&(o[u].node.type===\"TSNonNullExpression\"||ui(o[u].node)||Rn(o[u].node)&&o[u].node.computed&&Pc(o[u].node.property));++u)c.push(o[u]);if(!ui(o[0].node))for(;u+1<o.length&&zp(o[u].node)&&zp(o[u+1].node);++u)c.push(o[u]);d.push(c),c=[];let h=!1;for(;u<o.length;++u){if(h&&zp(o[u].node)){if(o[u].node.computed&&Pc(o[u].node.property)){c.push(o[u]);continue}d.push(c),c=[],h=!1}(ui(o[u].node)||o[u].node.type===\"ImportExpression\")&&(h=!0),c.push(o[u]),Re(o[u].node,Ze.Trailing)&&(d.push(c),c=[],h=!1)}c.length>0&&d.push(c);function g(V){return/^[A-Z]|^[$_]+$/u.test(V)}function f(V){return V.length<=e.tabWidth}function m(V){var U;let J=(U=V[1][0])==null?void 0:U.node.computed;if(V[0].length===1){let De=V[0][0].node;return De.type===\"ThisExpression\"||De.type===\"Identifier\"&&(g(De.name)||n&&f(De.name)||J)}let pe=Si(!1,V[0],-1).node;return Rn(pe)&&pe.property.type===\"Identifier\"&&(g(pe.property.name)||J)}let _=d.length>=2&&!Re(d[1][0].node)&&m(d);function v(V){let U=V.map(J=>J.printed);return V.length>0&&Si(!1,V,-1).needsParens?[\"(\",...U,\")\"]:U}function b(V){return V.length===0?\"\":Le([Se,si(Se,V.map(v))])}let C=d.map(v),w=C,y=_?3:2,D=d.flat(),L=D.slice(1,-1).some(V=>Re(V.node,Ze.Leading))||D.slice(0,-1).some(V=>Re(V.node,Ze.Trailing))||d[y]&&Re(d[y][0].node,Ze.Leading);if(d.length<=y&&!L&&!d.some(V=>Si(!1,V,-1).hasTrailingEmptyLine))return MW(s)?w:re(w);let k=Si(!1,d[_?1:0],-1).node,I=!ui(k)&&r(k),O=[v(d[0]),_?d.slice(1,2).map(v):\"\",I?Se:\"\",b(d.slice(_?2:1))],R=o.map(({node:V})=>V).filter(ui);function P(){let V=Si(!1,Si(!1,d,-1),-1).node,U=Si(!1,C,-1);return ui(V)&&So(U)&&R.slice(0,-1).some(J=>J.arguments.some(yb))}let F;return L||R.length>2&&R.some(V=>!V.arguments.every(U=>Wa(U)))||C.slice(0,-1).some(So)||P()?F=re(O):F=[So(w)||I?fd:\"\",qg([w,O])],s1({memberChain:!0},F)}var pie=vH;function bH(s,e,t){var i;let{node:n}=s,o=n.type===\"NewExpression\",r=n.type===\"ImportExpression\",a=ko(s),l=wa(n),d=l.length===1&&NW(l[0],e.originalText);if(d||mie(s)||FL(n,s.parent)){let u=[];if(yS(s,()=>{u.push(t())}),!(d&&(i=u[0].label)!=null&&i.embed))return[o?\"new \":\"\",B5(s,t),a,vf(s,e,t),\"(\",si(\", \",u),\")\"]}if(!r&&!o&&zp(n.callee)&&!s.call(u=>ip(u,e),\"callee\",...n.callee.type===\"ChainExpression\"?[\"expression\"]:[]))return pie(s,e,t);let c=[o?\"new \":\"\",B5(s,t),a,vf(s,e,t),zT(s,e,t)];return r||ui(n.callee)?re(c):c}function B5(s,e){let{node:t}=s;return t.type===\"ImportExpression\"?`import${t.phase?`.${t.phase}`:\"\"}`:e(\"callee\")}function mie(s){let{node:e}=s;if(e.type!==\"CallExpression\"||e.optional||e.callee.type!==\"Identifier\")return!1;let t=wa(e);return e.callee.name===\"require\"?t.length===1&&sr(t[0])||t.length>1:e.callee.name===\"define\"&&s.parent.type===\"ExpressionStatement\"?t.length===1||t.length===2&&t[0].type===\"ArrayExpression\"||t.length===3&&sr(t[0])&&t[1].type===\"ArrayExpression\":!1}function o1(s,e,t,i,n,o){let r=bie(s,e,t,i,o),a=o?t(o,{assignmentLayout:r}):\"\";switch(r){case\"break-after-operator\":return re([re(i),n,re(Le([Ue,a]))]);case\"never-break-after-operator\":return re([re(i),n,\" \",a]);case\"fluid\":{let l=Symbol(\"assignment\");return re([re(i),n,re(Le(Ue),{id:l}),Bc,BL(a,{groupId:l})])}case\"break-lhs\":return re([i,n,\" \",re(a)]);case\"chain\":return[re(i),n,Ue,a];case\"chain-tail\":return[re(i),n,Le([Ue,a])];case\"chain-tail-arrow-chain\":return[re(i),n,a];case\"only-left\":return i}}function _ie(s,e,t){let{node:i}=s;return o1(s,e,t,t(\"left\"),[\" \",i.operator],\"right\")}function vie(s,e,t){return o1(s,e,t,t(\"id\"),\" =\",\"init\")}function bie(s,e,t,i,n){let{node:o}=s,r=o[n];if(!r)return\"only-left\";let a=!Ay(r);if(s.match(Ay,CH,c=>!a||c.type!==\"ExpressionStatement\"&&c.type!==\"VariableDeclaration\"))return a?r.type===\"ArrowFunctionExpression\"&&r.body.type===\"ArrowFunctionExpression\"?\"chain-tail-arrow-chain\":\"chain-tail\":\"chain\";if(!a&&Ay(r.right)||vh(e.originalText,r))return\"break-after-operator\";if(o.type===\"ImportAttribute\"||r.type===\"CallExpression\"&&r.callee.name===\"require\"||e.parser===\"json5\"||e.parser===\"jsonc\"||e.parser===\"json\")return\"never-break-after-operator\";let l=xJ(i);if(wie(o)||Lie(o)||wH(o)&&l)return\"break-lhs\";let d=kie(o,i,e);return s.call(()=>Cie(s,e,t,d),n)?\"break-after-operator\":yie(o)?\"break-lhs\":!l&&(d||r.type===\"TemplateLiteral\"||r.type===\"TaggedTemplateExpression\"||r.type===\"BooleanLiteral\"||Pc(r)||r.type===\"ClassExpression\")?\"never-break-after-operator\":\"fluid\"}function Cie(s,e,t,i){let n=s.node;if(Fc(n)&&!Lb(n))return!0;switch(n.type){case\"StringLiteralTypeAnnotation\":case\"SequenceExpression\":return!0;case\"TSConditionalType\":case\"ConditionalTypeAnnotation\":if(!e.experimentalTernaries&&!Tie(n))break;return!0;case\"ConditionalExpression\":{if(!e.experimentalTernaries){let{test:d}=n;return Fc(d)&&!Lb(d)}let{consequent:a,alternate:l}=n;return a.type===\"ConditionalExpression\"||l.type===\"ConditionalExpression\"}case\"ClassExpression\":return mi(n.decorators)}if(i)return!1;let o=n,r=[];for(;;)if(o.type===\"UnaryExpression\"||o.type===\"AwaitExpression\"||o.type===\"YieldExpression\"&&o.argument!==null)o=o.argument,r.push(\"argument\");else if(o.type===\"TSNonNullExpression\")o=o.expression,r.push(\"expression\");else break;return!!(sr(o)||s.call(()=>yH(s,e,t),...r))}function wie(s){if(CH(s)){let e=s.left||s.id;return e.type===\"ObjectPattern\"&&e.properties.length>2&&e.properties.some(t=>{var i;return Qc(t)&&(!t.shorthand||((i=t.value)==null?void 0:i.type)===\"AssignmentPattern\")})}return!1}function Ay(s){return s.type===\"AssignmentExpression\"}function CH(s){return Ay(s)||s.type===\"VariableDeclarator\"}function yie(s){let e=Die(s);if(mi(e)){let t=s.type===\"TSTypeAliasDeclaration\"?\"constraint\":\"bound\";if(e.length>1&&e.some(i=>i[t]||i.default))return!0}return!1}var Sie=wi([\"TSTypeAliasDeclaration\",\"TypeAlias\"]);function Die(s){var e;if(Sie(s))return(e=s.typeParameters)==null?void 0:e.params}function Lie(s){if(s.type!==\"VariableDeclarator\")return!1;let{typeAnnotation:e}=s.id;if(!e||!e.typeAnnotation)return!1;let t=W5(e.typeAnnotation);return mi(t)&&t.length>1&&t.some(i=>mi(W5(i))||i.type===\"TSConditionalType\")}function wH(s){var e;return s.type===\"VariableDeclarator\"&&((e=s.init)==null?void 0:e.type)===\"ArrowFunctionExpression\"}var xie=wi([\"TSTypeReference\",\"GenericTypeAnnotation\"]);function W5(s){var e;if(xie(s))return(e=s.typeArguments??s.typeParameters)==null?void 0:e.params}function yH(s,e,t,i=!1){var n;let{node:o}=s,r=()=>yH(s,e,t,!0);if(o.type===\"ChainExpression\"||o.type===\"TSNonNullExpression\")return s.call(r,\"expression\");if(ui(o)){if((n=bH(s,e,t).label)!=null&&n.memberChain)return!1;let a=wa(o);return!(a.length===0||a.length===1&&vP(a[0],e))||Eie(o,t)?!1:s.call(r,\"callee\")}return Rn(o)?s.call(r,\"object\"):i&&(o.type===\"Identifier\"||o.type===\"ThisExpression\")}function kie(s,e,t){return Qc(s)?(e=yP(e),typeof e==\"string\"&&Qm(e)<t.tabWidth+3):!1}function Eie(s,e){let t=Iie(s);if(mi(t)){if(t.length>1)return!0;if(t.length===1){let n=t[0];if(bh(n)||CP(n)||n.type===\"TSTypeLiteral\"||n.type===\"ObjectTypeAnnotation\")return!0}let i=s.typeParameters?\"typeParameters\":\"typeArguments\";if(So(e(i)))return!0}return!1}function Iie(s){var e;return(e=s.typeParameters??s.typeArguments)==null?void 0:e.params}function Tie(s){function e(t){switch(t.type){case\"FunctionTypeAnnotation\":case\"GenericTypeAnnotation\":case\"TSFunctionType\":return!!t.typeParameters;case\"TSTypeReference\":return!!(t.typeArguments??t.typeParameters);default:return!1}}return e(s.checkType)||e(s.extendsType)}function np(s,e,t,i,n){let o=s.node,r=uo(o),a=n?vf(s,t,e):\"\";if(r.length===0)return[a,\"(\",gn(s,t,{filter:g=>nl(t.originalText,oi(g))===\")\"}),\")\"];let{parent:l}=s,d=FL(l),c=SH(o),u=[];if(gJ(s,(g,f)=>{let m=f===r.length-1;m&&o.rest&&u.push(\"...\"),u.push(e()),!m&&(u.push(\",\"),d||c?u.push(\" \"):Yc(r[f],t)?u.push(Se,Se):u.push(Ue))}),i&&!Aie(s)){if(So(a)||So(u))throw new DS;return re([AT(a),\"(\",AT(u),\")\"])}let h=r.every(g=>!mi(g.decorators));return c&&h?[a,\"(\",...u,\")\"]:d?[a,\"(\",...u,\")\"]:(EW(l)||tJ(l)||l.type===\"TypeAlias\"||l.type===\"UnionTypeAnnotation\"||l.type===\"IntersectionTypeAnnotation\"||l.type===\"FunctionTypeAnnotation\"&&l.returnType===o)&&r.length===1&&r[0].name===null&&o.this!==r[0]&&r[0].typeAnnotation&&o.typeParameters===null&&_P(r[0].typeAnnotation)&&!o.rest?t.arrowParens===\"always\"||o.type===\"HookTypeAnnotation\"?[\"(\",...u,\")\"]:u:[a,\"(\",Le([be,...u]),Rt(!hJ(o)&&Xc(t,\"all\")?\",\":\"\"),be,\")\"]}function SH(s){if(!s)return!1;let e=uo(s);if(e.length!==1)return!1;let[t]=e;return!Re(t)&&(t.type===\"ObjectPattern\"||t.type===\"ArrayPattern\"||t.type===\"Identifier\"&&t.typeAnnotation&&(t.typeAnnotation.type===\"TypeAnnotation\"||t.typeAnnotation.type===\"TSTypeAnnotation\")&&_h(t.typeAnnotation.typeAnnotation)||t.type===\"FunctionTypeParam\"&&_h(t.typeAnnotation)&&t!==s.rest||t.type===\"AssignmentPattern\"&&(t.left.type===\"ObjectPattern\"||t.left.type===\"ArrayPattern\")&&(t.right.type===\"Identifier\"||il(t.right)&&t.right.properties.length===0||zs(t.right)&&t.right.elements.length===0))}function Nie(s){let e;return s.returnType?(e=s.returnType,e.typeAnnotation&&(e=e.typeAnnotation)):s.typeAnnotation&&(e=s.typeAnnotation),e}function i0(s,e){var t;let i=Nie(s);if(!i)return!1;let n=(t=s.typeParameters)==null?void 0:t.params;if(n){if(n.length>1)return!1;if(n.length===1){let o=n[0];if(o.constraint||o.default)return!1}}return uo(s).length===1&&(_h(i)||So(e))}function Aie(s){return s.match(e=>e.type===\"ArrowFunctionExpression\"&&e.body.type===\"BlockStatement\",(e,t)=>{if(e.type===\"CallExpression\"&&t===\"arguments\"&&e.arguments.length===1&&e.callee.type===\"CallExpression\"){let i=e.callee.callee;return i.type===\"Identifier\"||i.type===\"MemberExpression\"&&!i.computed&&i.object.type===\"Identifier\"&&i.property.type===\"Identifier\"}return!1},(e,t)=>e.type===\"VariableDeclarator\"&&t===\"init\"||e.type===\"ExportDefaultDeclaration\"&&t===\"declaration\"||e.type===\"TSExportAssignment\"&&t===\"expression\"||e.type===\"AssignmentExpression\"&&t===\"right\"&&e.left.type===\"MemberExpression\"&&e.left.object.type===\"Identifier\"&&e.left.object.name===\"module\"&&e.left.property.type===\"Identifier\"&&e.left.property.name===\"exports\",e=>e.type!==\"VariableDeclaration\"||e.kind===\"const\"&&e.declarations.length===1)}function Mie(s){let e=uo(s);return e.length>1&&e.some(t=>t.type===\"TSParameterProperty\")}var Rie=wi([\"VoidTypeAnnotation\",\"TSVoidKeyword\",\"NullLiteralTypeAnnotation\",\"TSNullKeyword\"]),Pie=wi([\"ObjectTypeAnnotation\",\"TSTypeLiteral\",\"GenericTypeAnnotation\",\"TSTypeReference\"]);function Fie(s){let{types:e}=s;if(e.some(i=>Re(i)))return!1;let t=e.find(i=>Pie(i));return t?e.every(i=>i===t||Rie(i)):!1}function DH(s){return _P(s)||_h(s)?!0:bh(s)?Fie(s):!1}function Oie(s,e,t){let i=e.semi?\";\":\"\",{node:n}=s,o=[or(s),\"opaque type \",t(\"id\"),t(\"typeParameters\")];return n.supertype&&o.push(\": \",t(\"supertype\")),n.impltype&&o.push(\" = \",t(\"impltype\")),o.push(i),o}function LH(s,e,t){let i=e.semi?\";\":\"\",{node:n}=s,o=[or(s)];o.push(\"type \",t(\"id\"),t(\"typeParameters\"));let r=n.type===\"TSTypeAliasDeclaration\"?\"typeAnnotation\":\"right\";return[o1(s,e,t,o,\" =\",r),i]}function xH(s,e,t){let i=!1;return re(s.map(({isFirst:n,previous:o,node:r,index:a})=>{let l=t();if(n)return l;let d=_h(r),c=_h(o);return c&&d?[\" & \",i?Le(l):l]:!c&&!d?e.experimentalOperatorPosition===\"start\"?Le([Ue,\"& \",l]):Le([\" &\",Ue,l]):(a>1&&(i=!0),[\" & \",a>1?Le(l):l])},\"types\"))}function kH(s,e,t){let{node:i}=s,{parent:n}=s,o=n.type!==\"TypeParameterInstantiation\"&&(!Ch(n)||!e.experimentalTernaries)&&n.type!==\"TSTypeParameterInstantiation\"&&n.type!==\"GenericTypeAnnotation\"&&n.type!==\"TSTypeReference\"&&n.type!==\"TSTypeAssertion\"&&n.type!==\"TupleTypeAnnotation\"&&n.type!==\"TSTupleType\"&&!(n.type===\"FunctionTypeParam\"&&!n.name&&s.grandparent.this!==n)&&!((n.type===\"TypeAlias\"||n.type===\"VariableDeclarator\"||n.type===\"TSTypeAliasDeclaration\")&&vh(e.originalText,i)),r=DH(i),a=s.map(c=>{let u=t();return r||(u=gd(2,u)),Xa(c,u,e)},\"types\");if(r)return si(\" | \",a);let l=o&&!vh(e.originalText,i),d=[Rt([l?Ue:\"\",\"| \"]),si([Ue,\"| \"],a)];return ip(s,e)?re([Le(d),be]):(n.type===\"TupleTypeAnnotation\"||n.type===\"TSTupleType\")&&n[n.type===\"TupleTypeAnnotation\"&&n.types?\"types\":\"elementTypes\"].length>1?re([Le([Rt([\"(\",be]),d]),be,Rt(\")\")]):re(o?Le(d):d)}function Bie(s){var e;let{node:t,parent:i}=s;return t.type===\"FunctionTypeAnnotation\"&&(EW(i)||!((i.type===\"ObjectTypeProperty\"||i.type===\"ObjectTypeInternalSlot\")&&!i.variance&&!i.optional&&RL(i,t)||i.type===\"ObjectTypeCallProperty\"||((e=s.getParentNode(2))==null?void 0:e.type)===\"DeclareFunction\"))}function EH(s,e,t){let{node:i}=s,n=[WL(s)];(i.type===\"TSConstructorType\"||i.type===\"TSConstructSignatureDeclaration\")&&n.push(\"new \");let o=np(s,t,e,!1,!0),r=[];return i.type===\"FunctionTypeAnnotation\"?r.push(Bie(s)?\" => \":\": \",t(\"returnType\")):r.push(Hs(s,t,i.returnType?\"returnType\":\"typeAnnotation\")),i0(i,r)&&(o=re(o)),n.push(o,r),re(n)}function IH(s,e,t){return[t(\"objectType\"),ko(s),\"[\",t(\"indexType\"),\"]\"]}function TH(s,e,t){return[\"infer \",t(\"typeParameter\")]}function H5(s,e,t){let{node:i}=s;return[i.postfix?\"\":t,Hs(s,e),i.postfix?t:\"\"]}function NH(s,e,t){let{node:i}=s;return[\"...\",...i.type===\"TupleTypeSpreadElement\"&&i.label?[t(\"label\"),\": \"]:[],t(\"typeAnnotation\")]}function AH(s,e,t){let{node:i}=s;return[i.variance?t(\"variance\"):\"\",t(\"label\"),i.optional?\"?\":\"\",\": \",t(\"elementType\")]}var Wie=new WeakSet;function Hs(s,e,t=\"typeAnnotation\"){let{node:{[t]:i}}=s;if(!i)return\"\";let n=!1;if(i.type===\"TSTypeAnnotation\"||i.type===\"TypeAnnotation\"){let o=s.call(MH,t);(o===\"=>\"||o===\":\"&&Re(i,Ze.Leading))&&(n=!0),Wie.add(i)}return n?[\" \",e(t)]:e(t)}var MH=s=>s.match(e=>e.type===\"TSTypeAnnotation\",(e,t)=>(t===\"returnType\"||t===\"typeAnnotation\")&&(e.type===\"TSFunctionType\"||e.type===\"TSConstructorType\"))?\"=>\":s.match(e=>e.type===\"TSTypeAnnotation\",(e,t)=>t===\"typeAnnotation\"&&(e.type===\"TSJSDocNullableType\"||e.type===\"TSJSDocNonNullableType\"||e.type===\"TSTypePredicate\"))||s.match(e=>e.type===\"TypeAnnotation\",(e,t)=>t===\"typeAnnotation\"&&e.type===\"Identifier\",(e,t)=>t===\"id\"&&e.type===\"DeclareFunction\")||s.match(e=>e.type===\"TypeAnnotation\",(e,t)=>t===\"typeAnnotation\"&&e.type===\"Identifier\",(e,t)=>t===\"id\"&&e.type===\"DeclareHook\")||s.match(e=>e.type===\"TypeAnnotation\",(e,t)=>t===\"bound\"&&e.type===\"TypeParameter\"&&e.usesExtendsBound)?\"\":\":\";function RH(s,e,t){let i=MH(s);return i?[i,\" \",t(\"typeAnnotation\")]:t(\"typeAnnotation\")}function PH(s){return[s(\"elementType\"),\"[]\"]}function FH({node:s},e){let t=s.type===\"TSTypeQuery\"?\"exprName\":\"argument\",i=s.type===\"TypeofTypeAnnotation\"||s.typeArguments?\"typeArguments\":\"typeParameters\";return[\"typeof \",e(t),e(i)]}function OH(s,e){let{node:t}=s;return[t.type===\"TSTypePredicate\"&&t.asserts?\"asserts \":t.type===\"TypePredicate\"&&t.kind?`${t.kind} `:\"\",e(\"parameterName\"),t.typeAnnotation?[\" is \",Hs(s,e)]:\"\"]}function ko(s){let{node:e}=s;return!e.optional||e.type===\"Identifier\"&&e===s.parent.key?\"\":ui(e)||Rn(e)&&e.computed||e.type===\"OptionalIndexedAccessType\"?\"?.\":\"?\"}function BH(s){return s.node.definite||s.match(void 0,(e,t)=>t===\"id\"&&e.type===\"VariableDeclarator\"&&e.definite)?\"!\":\"\"}var Hie=new Set([\"DeclareClass\",\"DeclareComponent\",\"DeclareFunction\",\"DeclareHook\",\"DeclareVariable\",\"DeclareExportDeclaration\",\"DeclareExportAllDeclaration\",\"DeclareOpaqueType\",\"DeclareTypeAlias\",\"DeclareEnum\",\"DeclareInterface\"]);function or(s){let{node:e}=s;return e.declare||Hie.has(e.type)&&s.parent.type!==\"DeclareExportDeclaration\"?\"declare \":\"\"}var Vie=new Set([\"TSAbstractMethodDefinition\",\"TSAbstractPropertyDefinition\",\"TSAbstractAccessorProperty\"]);function WL({node:s}){return s.abstract||Vie.has(s.type)?\"abstract \":\"\"}function vf(s,e,t){let i=s.node;return i.typeArguments?t(\"typeArguments\"):i.typeParameters?t(\"typeParameters\"):\"\"}function WH(s,e,t){return[\"::\",t(\"callee\")]}function hu(s,e,t){return s.type===\"EmptyStatement\"?\";\":s.type===\"BlockStatement\"||t?[\" \",e]:Le([Ue,e])}function HH(s,e){return[\"...\",e(\"argument\"),Hs(s,e)]}function LS(s){return s.accessibility?s.accessibility+\" \":\"\"}function zie(s,e,t,i){let{node:n}=s,o=n.inexact?\"...\":\"\";return Re(n,Ze.Dangling)?re([t,o,gn(s,e,{indent:!0}),be,i]):[t,o,i]}function TP(s,e,t){let{node:i}=s,n=[],o=i.type===\"TupleExpression\"?\"#[\":\"[\",r=\"]\",a=i.type===\"TupleTypeAnnotation\"&&i.types?\"types\":i.type===\"TSTupleType\"||i.type===\"TupleTypeAnnotation\"?\"elementTypes\":\"elements\",l=i[a];if(l.length===0)n.push(zie(s,e,o,r));else{let d=Si(!1,l,-1),c=(d==null?void 0:d.type)!==\"RestElement\"&&!i.inexact,u=d===null,h=Symbol(\"array\"),g=!e.__inJestEach&&l.length>1&&l.every((_,v,b)=>{let C=_==null?void 0:_.type;if(!zs(_)&&!il(_))return!1;let w=b[v+1];if(w&&C!==w.type)return!1;let y=zs(_)?\"elements\":\"properties\";return _[y]&&_[y].length>1}),f=VH(i,e),m=c?u?\",\":Xc(e)?f?Rt(\",\",\"\",{groupId:h}):Rt(\",\"):\"\":\"\";n.push(re([o,Le([be,f?$ie(s,e,t,m):[Uie(s,e,a,i.inexact,t),m],gn(s,e)]),be,r],{shouldBreak:g,id:h}))}return n.push(ko(s),Hs(s,t)),n}function VH(s,e){return zs(s)&&s.elements.length>1&&s.elements.every(t=>t&&(Pc(t)||xW(t)&&!Re(t.argument))&&!Re(t,Ze.Trailing|Ze.Line,i=>!Ar(e.originalText,Ln(i),{backwards:!0})))}function zH({node:s},{originalText:e}){let t=n=>uP(e,hP(e,n)),i=n=>e[n]===\",\"?n:i(t(n+1));return gP(e,i(oi(s)))}function Uie(s,e,t,i,n){let o=[];return s.each(({node:r,isLast:a})=>{o.push(r?re(n()):\"\"),(!a||i)&&o.push([\",\",Ue,r&&zH(s,e)?be:\"\"])},t),i&&o.push(\"...\"),o}function $ie(s,e,t,i){let n=[];return s.each(({isLast:o,next:r})=>{n.push([t(),o?i:\",\"]),o||n.push(zH(s,e)?[Se,Se]:Re(r,Ze.Leading|Ze.Line)?Se:Ue)},\"elements\"),WW(n)}var jie=/^[\\$A-Z_a-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC][\\$0-9A-Z_a-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0AF9\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58-\\u0C5A\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C80-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D54-\\u0D57\\u0D5F-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]*$/,Kie=s=>jie.test(s),qie=Kie;function Gie(s){return s.length===1?s:s.toLowerCase().replace(/^([+-]?[\\d.]+e)(?:\\+|(-))?0*(?=\\d)/u,\"$1$2\").replace(/^([+-]?[\\d.]+)e[+-]?0+$/u,\"$1\").replace(/^([+-])?\\./u,\"$10.\").replace(/(\\.\\d+?)0+(?=e|$)/u,\"$1\").replace(/\\.(?=e|$)/u,\"\")}var n_=Gie,My=new WeakMap;function UH(s){return/^(?:\\d+|\\d+\\.\\d+)$/u.test(s)}function V5(s,e){return e.parser===\"json\"||e.parser===\"jsonc\"||!sr(s.key)||t_(fa(s.key),e).slice(1,-1)!==s.key.value?!1:!!(qie(s.key.value)&&!(e.parser===\"babel-ts\"&&s.type===\"ClassProperty\"||e.parser===\"typescript\"&&s.type===\"PropertyDefinition\")||UH(s.key.value)&&String(Number(s.key.value))===s.key.value&&s.type!==\"ImportAttribute\"&&(e.parser===\"babel\"||e.parser===\"acorn\"||e.parser===\"espree\"||e.parser===\"meriyah\"||e.parser===\"__babel_estree\"))}function Zie(s,e){let{key:t}=s.node;return(t.type===\"Identifier\"||Pc(t)&&UH(n_(fa(t)))&&String(t.value)===n_(fa(t))&&!(e.parser===\"typescript\"||e.parser===\"babel-ts\"))&&(e.parser===\"json\"||e.parser===\"jsonc\"||e.quoteProps===\"consistent\"&&My.get(s.parent))}function r1(s,e,t){let{node:i}=s;if(i.computed)return[\"[\",t(\"key\"),\"]\"];let{parent:n}=s,{key:o}=i;if(e.quoteProps===\"consistent\"&&!My.has(n)){let r=s.siblings.some(a=>!a.computed&&sr(a.key)&&!V5(a,e));My.set(n,r)}if(Zie(s,e)){let r=t_(JSON.stringify(o.type===\"Identifier\"?o.name:o.value.toString()),e);return s.call(a=>Xa(a,r,e),\"key\")}return V5(i,e)&&(e.quoteProps===\"as-needed\"||e.quoteProps===\"consistent\"&&!My.get(n))?s.call(r=>Xa(r,/^\\d/u.test(o.value)?n_(o.value):o.value,e),\"key\"):t(\"key\")}function SE(s,e,t){let{node:i}=s;return i.shorthand?t(\"value\"):o1(s,e,t,r1(s,e,t),\":\",\"value\")}var Xie=({node:s,key:e,parent:t})=>e===\"value\"&&s.type===\"FunctionExpression\"&&(t.type===\"ObjectMethod\"||t.type===\"ClassMethod\"||t.type===\"ClassPrivateMethod\"||t.type===\"MethodDefinition\"||t.type===\"TSAbstractMethodDefinition\"||t.type===\"TSDeclareMethod\"||t.type===\"Property\"&&PL(t));function $H(s,e,t,i){if(Xie(s))return NP(s,t,e);let{node:n}=s,o=!1;if((n.type===\"FunctionDeclaration\"||n.type===\"FunctionExpression\")&&i!=null&&i.expandLastArg){let{parent:c}=s;ui(c)&&(wa(c).length>1||uo(n).every(u=>u.type===\"Identifier\"&&!u.typeAnnotation))&&(o=!0)}let r=[or(s),n.async?\"async \":\"\",`function${n.generator?\"*\":\"\"} `,n.id?e(\"id\"):\"\"],a=np(s,e,t,o),l=HL(s,e),d=i0(n,l);return r.push(vf(s,t,e),re([d?re(a):a,l]),n.body?\" \":\"\",e(\"body\")),t.semi&&(n.declare||!n.body)&&r.push(\";\"),r}function UT(s,e,t){let{node:i}=s,{kind:n}=i,o=i.value||i,r=[];return!n||n===\"init\"||n===\"method\"||n===\"constructor\"?o.async&&r.push(\"async \"):(fP.ok(n===\"get\"||n===\"set\"),r.push(n,\" \")),o.generator&&r.push(\"*\"),r.push(r1(s,e,t),i.optional||i.key.optional?\"?\":\"\",i===o?NP(s,e,t):t(\"value\")),r}function NP(s,e,t){let{node:i}=s,n=np(s,t,e),o=HL(s,t),r=Mie(i),a=i0(i,o),l=[vf(s,e,t),re([r?re(n,{shouldBreak:!0}):a?re(n):n,o])];return i.body?l.push(\" \",t(\"body\")):l.push(e.semi?\";\":\"\"),l}function Yie(s){let e=uo(s);return e.length===1&&!s.typeParameters&&!Re(s,Ze.Dangling)&&e[0].type===\"Identifier\"&&!e[0].typeAnnotation&&!Re(e[0])&&!e[0].optional&&!s.predicate&&!s.returnType}function jH(s,e){if(e.arrowParens===\"always\")return!1;if(e.arrowParens===\"avoid\"){let{node:t}=s;return Yie(t)}return!1}function HL(s,e){let{node:t}=s,i=[Hs(s,e,\"returnType\")];return t.predicate&&i.push(e(\"predicate\")),i}function KH(s,e,t){let{node:i}=s,n=e.semi?\";\":\"\",o=[];if(i.argument){let l=t(\"argument\");ene(e,i.argument)?l=[\"(\",Le([Se,l]),Se,\")\"]:(Fc(i.argument)||i.argument.type===\"SequenceExpression\"||e.experimentalTernaries&&i.argument.type===\"ConditionalExpression\"&&(i.argument.consequent.type===\"ConditionalExpression\"||i.argument.alternate.type===\"ConditionalExpression\"))&&(l=re([Rt(\"(\"),Le([be,l]),be,Rt(\")\")])),o.push(\" \",l)}let r=Re(i,Ze.Dangling),a=n&&r&&Re(i,Ze.Last|Ze.Line);return a&&o.push(n),r&&o.push(\" \",gn(s,e)),a||o.push(n),o}function Qie(s,e,t){return[\"return\",KH(s,e,t)]}function Jie(s,e,t){return[\"throw\",KH(s,e,t)]}function ene(s,e){if(vh(s.originalText,e)||Re(e,Ze.Leading,t=>wh(s.originalText,Ln(t),oi(t)))&&!bs(e))return!0;if(pP(e)){let t=e,i;for(;i=XQ(t);)if(t=i,vh(s.originalText,t))return!0}return!1}var DE=new WeakMap;function qH(s){return DE.has(s)||DE.set(s,s.type===\"ConditionalExpression\"&&!Co(s,e=>e.type===\"ObjectExpression\")),DE.get(s)}var GH=s=>s.type===\"SequenceExpression\";function tne(s,e,t,i={}){let n=[],o,r=[],a=!1,l=!i.expandLastArg&&s.node.body.type===\"ArrowFunctionExpression\",d;(function v(){let{node:b}=s,C=ine(s,e,t,i);if(n.length===0)n.push(C);else{let{leading:w,trailing:y}=cH(s,e);n.push([w,C]),r.unshift(y)}l&&(a||(a=b.returnType&&uo(b).length>0||b.typeParameters||uo(b).some(w=>w.type!==\"Identifier\"))),!l||b.body.type!==\"ArrowFunctionExpression\"?(o=t(\"body\",i),d=b.body):s.call(v,\"body\")})();let c=!vh(e.originalText,d)&&(GH(d)||nne(d,o,e)||!a&&qH(d)),u=s.key===\"callee\"&&i_(s.parent),h=Symbol(\"arrow-chain\"),g=sne(s,i,{signatureDocs:n,shouldBreak:a}),f=!1,m=!1,_=!1;return l&&(u||i.assignmentLayout)&&(m=!0,_=!Re(s.node,Ze.Leading&Ze.Line),f=i.assignmentLayout===\"chain-tail-arrow-chain\"||u&&!c),o=one(s,e,i,{bodyDoc:o,bodyComments:r,functionBody:d,shouldPutBodyOnSameLine:c}),re([re(m?Le([_?be:\"\",g]):g,{shouldBreak:f,id:h}),\" =>\",l?BL(o,{groupId:h}):re(o),l&&u?Rt(be,\"\",{groupId:h}):\"\"])}function ine(s,e,t,i){let{node:n}=s,o=[];if(n.async&&o.push(\"async \"),jH(s,e))o.push(t([\"params\",0]));else{let a=i.expandLastArg||i.expandFirstArg,l=HL(s,t);if(a){if(So(l))throw new DS;l=re(AT(l))}o.push(re([np(s,t,e,a,!0),l]))}let r=gn(s,e,{filter(a){let l=e0(e.originalText,oi(a));return l!==!1&&e.originalText.slice(l,l+2)===\"=>\"}});return r&&o.push(\" \",r),o}function nne(s,e,t){var i,n;return zs(s)||il(s)||s.type===\"ArrowFunctionExpression\"||s.type===\"DoExpression\"||s.type===\"BlockStatement\"||bs(s)||((i=e.label)==null?void 0:i.hug)!==!1&&(((n=e.label)==null?void 0:n.embed)||NW(s,t.originalText))}function sne(s,e,{signatureDocs:t,shouldBreak:i}){if(t.length===1)return t[0];let{parent:n,key:o}=s;return o!==\"callee\"&&i_(n)||Fc(n)?re([t[0],\" =>\",Le([Ue,si([\" =>\",Ue],t.slice(1))])],{shouldBreak:i}):o===\"callee\"&&i_(n)||e.assignmentLayout?re(si([\" =>\",Ue],t),{shouldBreak:i}):re(Le(si([\" =>\",Ue],t)),{shouldBreak:i})}function one(s,e,t,{bodyDoc:i,bodyComments:n,functionBody:o,shouldPutBodyOnSameLine:r}){let{node:a,parent:l}=s,d=t.expandLastArg&&Xc(e,\"all\")?Rt(\",\"):\"\",c=(t.expandLastArg||l.type===\"JSXExpressionContainer\")&&!Re(a)?be:\"\";return r&&qH(o)?[\" \",re([Rt(\"\",\"(\"),Le([be,i]),Rt(\"\",\")\"),d,c]),n]:(GH(o)&&(i=re([\"(\",Le([be,i]),be,\")\"])),r?[\" \",i,n]:[Le([Ue,i,n]),d,c])}var rne=(s,e,t)=>{if(!(s&&e==null)){if(e.findLast)return e.findLast(t);for(let i=e.length-1;i>=0;i--){let n=e[i];if(t(n,i,e))return n}}},ane=rne;function $T(s,e,t,i){let{node:n}=s,o=[],r=ane(!1,n[i],a=>a.type!==\"EmptyStatement\");return s.each(({node:a})=>{a.type!==\"EmptyStatement\"&&(o.push(t()),a!==r&&(o.push(Se),Yc(a,e)&&o.push(Se)))},i),o}function ZH(s,e,t){let i=lne(s,e,t),{node:n,parent:o}=s;if(n.type===\"Program\"&&(o==null?void 0:o.type)!==\"ModuleExpression\")return i?[i,Se]:\"\";let r=[];if(n.type===\"StaticBlock\"&&r.push(\"static \"),r.push(\"{\"),i)r.push(Le([Se,i]),Se);else{let a=s.grandparent;o.type===\"ArrowFunctionExpression\"||o.type===\"FunctionExpression\"||o.type===\"FunctionDeclaration\"||o.type===\"ComponentDeclaration\"||o.type===\"HookDeclaration\"||o.type===\"ObjectMethod\"||o.type===\"ClassMethod\"||o.type===\"ClassPrivateMethod\"||o.type===\"ForStatement\"||o.type===\"WhileStatement\"||o.type===\"DoWhileStatement\"||o.type===\"DoExpression\"||o.type===\"ModuleExpression\"||o.type===\"CatchClause\"&&!a.finalizer||o.type===\"TSModuleDeclaration\"||n.type===\"StaticBlock\"||r.push(Se)}return r.push(\"}\"),r}function lne(s,e,t){let{node:i}=s,n=mi(i.directives),o=i.body.some(l=>l.type!==\"EmptyStatement\"),r=Re(i,Ze.Dangling);if(!n&&!o&&!r)return\"\";let a=[];return n&&(a.push($T(s,e,t,\"directives\")),(o||r)&&(a.push(Se),Yc(Si(!1,i.directives,-1),e)&&a.push(Se))),o&&a.push($T(s,e,t,\"body\")),r&&a.push(gn(s,e)),a}function dne(s){let e=new WeakMap;return function(t){return e.has(t)||e.set(t,Symbol(s)),e.get(t)}}var XH=dne;function cne(s){switch(s){case null:return\"\";case\"PlusOptional\":return\"+?\";case\"MinusOptional\":return\"-?\";case\"Optional\":return\"?\"}}function une(s,e,t){let{node:i}=s;return re([i.variance?t(\"variance\"):\"\",\"[\",Le([t(\"keyTparam\"),\" in \",t(\"sourceType\")]),\"]\",cne(i.optional),\": \",t(\"propType\")])}function YH(s,e){return s===\"+\"||s===\"-\"?s+e:e}function hne(s,e,t){let{node:i}=s,n=e.objectWrap===\"preserve\"&&wh(e.originalText,Ln(i),Ln(i.typeParameter));return re([\"{\",Le([e.bracketSpacing?Ue:be,re([t(\"typeParameter\"),i.optional?YH(i.optional,\"?\"):\"\",i.typeAnnotation?\": \":\"\",t(\"typeAnnotation\")]),e.semi?Rt(\";\"):\"\"]),gn(s,e),e.bracketSpacing?Ue:be,\"}\"],{shouldBreak:n})}var AP=XH(\"typeParameters\");function gne(s,e,t){let{node:i}=s;return uo(i).length===1&&i.type.startsWith(\"TS\")&&!i[t][0].constraint&&s.parent.type===\"ArrowFunctionExpression\"&&!(e.filepath&&/\\.ts$/u.test(e.filepath))}function Wv(s,e,t,i){let{node:n}=s;if(!n[i])return\"\";if(!Array.isArray(n[i]))return t(i);let o=FL(s.grandparent),r=s.match(l=>!(l[i].length===1&&_h(l[i][0])),void 0,(l,d)=>d===\"typeAnnotation\",l=>l.type===\"Identifier\",wH);if(n[i].length===0||!r&&(o||n[i].length===1&&(n[i][0].type===\"NullableTypeAnnotation\"||DH(n[i][0]))))return[\"<\",si(\", \",s.map(t,i)),fne(s,e),\">\"];let a=n.type===\"TSTypeParameterInstantiation\"?\"\":gne(s,e,i)?\",\":Xc(e)?Rt(\",\"):\"\";return re([\"<\",Le([be,si([\",\",Ue],s.map(t,i))]),a,be,\">\"],{id:AP(n)})}function fne(s,e){let{node:t}=s;if(!Re(t,Ze.Dangling))return\"\";let i=!Re(t,Ze.Line),n=gn(s,e,{indent:!i});return i?n:[n,Se]}function QH(s,e,t){let{node:i,parent:n}=s,o=[i.const?\"const \":\"\"],r=i.type===\"TSTypeParameter\"?t(\"name\"):i.name;if(n.type===\"TSMappedType\")return n.readonly&&o.push(YH(n.readonly,\"readonly\"),\" \"),o.push(\"[\",r),i.constraint&&o.push(\" in \",t(\"constraint\")),n.nameType&&o.push(\" as \",s.callParent(()=>t(\"nameType\"))),o.push(\"]\"),o;if(i.variance&&o.push(t(\"variance\")),i.in&&o.push(\"in \"),i.out&&o.push(\"out \"),o.push(r),i.bound&&(i.usesExtendsBound&&o.push(\" extends \"),o.push(Hs(s,t,\"bound\"))),i.constraint){let a=Symbol(\"constraint\");o.push(\" extends\",re(Le(Ue),{id:a}),Bc,BL(t(\"constraint\"),{groupId:a}))}return i.default&&o.push(\" = \",t(\"default\")),re(o)}var JH=wi([\"ClassProperty\",\"PropertyDefinition\",\"ClassPrivateProperty\",\"ClassAccessorProperty\",\"AccessorProperty\",\"TSAbstractPropertyDefinition\",\"TSAbstractAccessorProperty\"]);function eV(s,e,t){let{node:i}=s,n=[or(s),WL(s),\"class\"],o=Re(i.id,Ze.Trailing)||Re(i.typeParameters,Ze.Trailing)||Re(i.superClass)||mi(i.extends)||mi(i.mixins)||mi(i.implements),r=[],a=[];if(i.id&&r.push(\" \",t(\"id\")),r.push(t(\"typeParameters\")),i.superClass){let c=[_ne(s,e,t),t(i.superTypeArguments?\"superTypeArguments\":\"superTypeParameters\")],u=s.call(h=>[\"extends \",Xa(h,c,e)],\"superClass\");o?a.push(Ue,re(u)):a.push(\" \",u)}else a.push(LE(s,e,t,\"extends\"));a.push(LE(s,e,t,\"mixins\"),LE(s,e,t,\"implements\"));let l;if(o){let c;iV(i)?c=[...r,Le(a)]:c=Le([...r,a]),l=tV(i),n.push(re(c,{id:l}))}else n.push(...r,...a);let d=i.body;return o&&mi(d.body)?n.push(Rt(Se,\" \",{groupId:l})):n.push(\" \"),n.push(t(\"body\")),n}var tV=XH(\"heritageGroup\");function pne(s){return Rt(Se,\"\",{groupId:tV(s)})}function mne(s){return[\"extends\",\"mixins\",\"implements\"].reduce((e,t)=>e+(Array.isArray(s[t])?s[t].length:0),s.superClass?1:0)>1}function iV(s){return s.typeParameters&&!Re(s.typeParameters,Ze.Trailing|Ze.Line)&&!mne(s)}function LE(s,e,t,i){let{node:n}=s;if(!mi(n[i]))return\"\";let o=gn(s,e,{marker:i});return[iV(n)?Rt(\" \",Ue,{groupId:AP(n.typeParameters)}):Ue,o,o&&Se,i,re(Le([Ue,si([\",\",Ue],s.map(t,i))]))]}function _ne(s,e,t){let i=t(\"superClass\"),{parent:n}=s;return n.type===\"AssignmentExpression\"?re(Rt([\"(\",Le([be,i]),be,\")\"],i)):i}function nV(s,e,t){let{node:i}=s,n=[];return mi(i.decorators)&&n.push(gH(s,e,t)),n.push(LS(i)),i.static&&n.push(\"static \"),n.push(WL(s)),i.override&&n.push(\"override \"),n.push(UT(s,e,t)),n}function sV(s,e,t){let{node:i}=s,n=[],o=e.semi?\";\":\"\";mi(i.decorators)&&n.push(gH(s,e,t)),n.push(or(s),LS(i)),i.static&&n.push(\"static \"),n.push(WL(s)),i.override&&n.push(\"override \"),i.readonly&&n.push(\"readonly \"),i.variance&&n.push(t(\"variance\")),(i.type===\"ClassAccessorProperty\"||i.type===\"AccessorProperty\"||i.type===\"TSAbstractAccessorProperty\")&&n.push(\"accessor \"),n.push(r1(s,e,t),ko(s),BH(s),Hs(s,t));let r=i.type===\"TSAbstractPropertyDefinition\"||i.type===\"TSAbstractAccessorProperty\";return[o1(s,e,t,n,\" =\",r?void 0:\"value\"),o]}function vne(s,e,t){let{node:i}=s,n=[];return s.each(({node:o,next:r,isLast:a})=>{n.push(t()),!e.semi&&JH(o)&&bne(o,r)&&n.push(\";\"),a||(n.push(Se),Yc(o,e)&&n.push(Se))},\"body\"),Re(i,Ze.Dangling)&&n.push(gn(s,e)),[\"{\",n.length>0?[Le([Se,n]),Se]:\"\",\"}\"]}function bne(s,e){var t;let{type:i,name:n}=s.key;if(!s.computed&&i===\"Identifier\"&&(n===\"static\"||n===\"get\"||n===\"set\")&&!s.value&&!s.typeAnnotation)return!0;if(!e||e.static||e.accessibility||e.readonly)return!1;if(!e.computed){let o=(t=e.key)==null?void 0:t.name;if(o===\"in\"||o===\"instanceof\")return!0}if(JH(e)&&e.variance&&!e.static&&!e.declare)return!0;switch(e.type){case\"ClassProperty\":case\"PropertyDefinition\":case\"TSAbstractPropertyDefinition\":return e.computed;case\"MethodDefinition\":case\"TSAbstractMethodDefinition\":case\"ClassMethod\":case\"ClassPrivateMethod\":{if((e.value?e.value.async:e.async)||e.kind===\"get\"||e.kind===\"set\")return!1;let o=e.value?e.value.generator:e.generator;return!!(e.computed||o)}case\"TSIndexSignature\":return!0}return!1}var Cne=wi([\"TSAsExpression\",\"TSTypeAssertion\",\"TSNonNullExpression\",\"TSInstantiationExpression\",\"TSSatisfiesExpression\"]);function oV(s){return Cne(s)?oV(s.expression):s}var wne=wi([\"FunctionExpression\",\"ArrowFunctionExpression\"]);function yne(s){return s.type===\"MemberExpression\"||s.type===\"OptionalMemberExpression\"||s.type===\"Identifier\"&&s.name!==\"undefined\"}function Sne(s,e){if(e.semi||aV(s,e)||lV(s,e))return!1;let{node:t,key:i,parent:n}=s;return!!(t.type===\"ExpressionStatement\"&&(i===\"body\"&&(n.type===\"Program\"||n.type===\"BlockStatement\"||n.type===\"StaticBlock\"||n.type===\"TSModuleBlock\")||i===\"consequent\"&&n.type===\"SwitchCase\")&&s.call(()=>rV(s,e),\"expression\"))}function rV(s,e){let{node:t}=s;switch(t.type){case\"ParenthesizedExpression\":case\"TypeCastExpression\":case\"ArrayExpression\":case\"ArrayPattern\":case\"TemplateLiteral\":case\"TemplateElement\":case\"RegExpLiteral\":return!0;case\"ArrowFunctionExpression\":if(!jH(s,e))return!0;break;case\"UnaryExpression\":{let{prefix:i,operator:n}=t;if(i&&(n===\"+\"||n===\"-\"))return!0;break}case\"BindExpression\":if(!t.object)return!0;break;case\"Literal\":if(t.regex)return!0;break;default:if(bs(t))return!0}return ip(s,e)?!0:pP(t)?s.call(()=>rV(s,e),...LW(t)):!1}function aV({node:s,parent:e},t){return(t.parentParser===\"markdown\"||t.parentParser===\"mdx\")&&s.type===\"ExpressionStatement\"&&bs(s.expression)&&e.type===\"Program\"&&e.body.length===1}function lV({node:s,parent:e},t){return(t.parser===\"__vue_event_binding\"||t.parser===\"__vue_ts_event_binding\")&&s.type===\"ExpressionStatement\"&&e.type===\"Program\"&&e.body.length===1}function Dne(s,e,t){let i=[t(\"expression\")];if(lV(s,e)){let n=oV(s.node.expression);(wne(n)||yne(n))&&i.push(\";\")}else aV(s,e)||e.semi&&i.push(\";\");return i}function Lne(s,e,t){if(e.__isVueBindings||e.__isVueForBindingLeft){let i=s.map(t,\"program\",\"body\",0,\"params\");if(i.length===1)return i[0];let n=si([\",\",Ue],i);return e.__isVueForBindingLeft?[\"(\",Le([be,re(n)]),be,\")\"]:n}if(e.__isEmbeddedTypescriptGenericParameters){let i=s.map(t,\"program\",\"body\",0,\"typeParameters\",\"params\");return si([\",\",Ue],i)}}function xne(s,e){let{node:t}=s;switch(t.type){case\"RegExpLiteral\":return z5(t);case\"BigIntLiteral\":return jT(t.extra.raw);case\"NumericLiteral\":return n_(t.extra.raw);case\"StringLiteral\":return _f(t_(t.extra.raw,e));case\"NullLiteral\":return\"null\";case\"BooleanLiteral\":return String(t.value);case\"DirectiveLiteral\":return U5(t.extra.raw,e);case\"Literal\":{if(t.regex)return z5(t.regex);if(t.bigint)return jT(t.raw);let{value:i}=t;return typeof i==\"number\"?n_(t.raw):typeof i==\"string\"?kne(s)?U5(t.raw,e):_f(t_(t.raw,e)):String(i)}}}function kne(s){if(s.key!==\"expression\")return;let{parent:e}=s;return e.type===\"ExpressionStatement\"&&e.directive}function jT(s){return s.toLowerCase()}function z5({pattern:s,flags:e}){return e=[...e].sort().join(\"\"),`/${s}/${e}`}function U5(s,e){let t=s.slice(1,-1);if(t.includes('\"')||t.includes(\"'\"))return s;let i=e.singleQuote?\"'\":'\"';return i+t+i}function Ene(s,e,t){let i=s.originalText.slice(e,t);for(let n of s[Symbol.for(\"comments\")]){let o=Ln(n);if(o>t)break;let r=oi(n);if(r<e)continue;let a=r-o;i=i.slice(0,o-e)+\" \".repeat(a)+i.slice(r-e)}return i}var dV=Ene;function Ine(s,e,t){let{node:i}=s;return[\"import\",i.phase?` ${i.phase}`:\"\",hV(i),fV(s,e,t),gV(s,e,t),mV(s,e,t),e.semi?\";\":\"\"]}var cV=s=>s.type===\"ExportDefaultDeclaration\"||s.type===\"DeclareExportDeclaration\"&&s.default;function uV(s,e,t){let{node:i}=s,n=[oie(s,e,t),or(s),\"export\",cV(i)?\" default\":\"\"],{declaration:o,exported:r}=i;return Re(i,Ze.Dangling)&&(n.push(\" \",gn(s,e)),AW(i)&&n.push(Se)),o?n.push(\" \",t(\"declaration\")):(n.push(Ane(i)),i.type===\"ExportAllDeclaration\"||i.type===\"DeclareExportAllDeclaration\"?(n.push(\" *\"),r&&n.push(\" as \",t(\"exported\"))):n.push(fV(s,e,t)),n.push(gV(s,e,t),mV(s,e,t))),n.push(Nne(i,e)),n}var Tne=wi([\"ClassDeclaration\",\"ComponentDeclaration\",\"FunctionDeclaration\",\"TSInterfaceDeclaration\",\"DeclareClass\",\"DeclareComponent\",\"DeclareFunction\",\"DeclareHook\",\"HookDeclaration\",\"TSDeclareFunction\",\"EnumDeclaration\"]);function Nne(s,e){return e.semi&&(!s.declaration||cV(s)&&!Tne(s.declaration))?\";\":\"\"}function MP(s,e=!0){return s&&s!==\"value\"?`${e?\" \":\"\"}${s}${e?\"\":\" \"}`:\"\"}function hV(s,e){return MP(s.importKind,e)}function Ane(s){return MP(s.exportKind)}function gV(s,e,t){let{node:i}=s;if(!i.source)return\"\";let n=[];return pV(i,e)&&n.push(\" from\"),n.push(\" \",t(\"source\")),n}function fV(s,e,t){let{node:i}=s;if(!pV(i,e))return\"\";let n=[\" \"];if(mi(i.specifiers)){let o=[],r=[];s.each(()=>{let a=s.node.type;if(a===\"ExportNamespaceSpecifier\"||a===\"ExportDefaultSpecifier\"||a===\"ImportNamespaceSpecifier\"||a===\"ImportDefaultSpecifier\")o.push(t());else if(a===\"ExportSpecifier\"||a===\"ImportSpecifier\")r.push(t());else throw new t0(i,\"specifier\")},\"specifiers\"),n.push(si(\", \",o)),r.length>0&&(o.length>0&&n.push(\", \"),r.length>1||o.length>0||i.specifiers.some(a=>Re(a))?n.push(re([\"{\",Le([e.bracketSpacing?Ue:be,si([\",\",Ue],r)]),Rt(Xc(e)?\",\":\"\"),e.bracketSpacing?Ue:be,\"}\"])):n.push([\"{\",e.bracketSpacing?\" \":\"\",...r,e.bracketSpacing?\" \":\"\",\"}\"]))}else n.push(\"{}\");return n}function pV(s,e){return s.type!==\"ImportDeclaration\"||mi(s.specifiers)||s.importKind===\"type\"?!0:dV(e,Ln(s),Ln(s.source)).trimEnd().endsWith(\"from\")}function Mne(s,e){var t,i;if((t=s.extra)!=null&&t.deprecatedAssertSyntax)return\"assert\";let n=dV(e,oi(s.source),(i=s.attributes)!=null&&i[0]?Ln(s.attributes[0]):oi(s)).trimStart();return n.startsWith(\"assert\")?\"assert\":n.startsWith(\"with\")||mi(s.attributes)?\"with\":void 0}function mV(s,e,t){let{node:i}=s;if(!i.source)return\"\";let n=Mne(i,e);if(!n)return\"\";let o=[` ${n} {`];return mi(i.attributes)&&(e.bracketSpacing&&o.push(\" \"),o.push(si(\", \",s.map(t,\"attributes\"))),e.bracketSpacing&&o.push(\" \")),o.push(\"}\"),o}function Rne(s,e,t){let{node:i}=s,{type:n}=i,o=n.startsWith(\"Import\"),r=o?\"imported\":\"local\",a=o?\"local\":\"exported\",l=i[r],d=i[a],c=\"\",u=\"\";return n===\"ExportNamespaceSpecifier\"||n===\"ImportNamespaceSpecifier\"?c=\"*\":l&&(c=t(r)),d&&!Pne(i)&&(u=t(a)),[MP(n===\"ImportSpecifier\"?i.importKind:i.exportKind,!1),c,c&&u?\" as \":\"\",u]}function Pne(s){if(s.type!==\"ImportSpecifier\"&&s.type!==\"ExportSpecifier\")return!1;let{local:e,[s.type===\"ImportSpecifier\"?\"imported\":\"exported\"]:t}=s;if(e.type!==t.type||!OQ(e,t))return!1;if(sr(e))return e.value===t.value&&fa(e)===fa(t);switch(e.type){case\"Identifier\":return e.name===t.name;default:return!1}}function VL(s,e,t){var i;let n=e.semi?\";\":\"\",{node:o}=s,r=o.type===\"ObjectTypeAnnotation\",a=o.type===\"TSEnumDeclaration\"||o.type===\"EnumBooleanBody\"||o.type===\"EnumNumberBody\"||o.type===\"EnumBigIntBody\"||o.type===\"EnumStringBody\"||o.type===\"EnumSymbolBody\",l=[o.type===\"TSTypeLiteral\"||a?\"members\":o.type===\"TSInterfaceBody\"?\"body\":\"properties\"];r&&l.push(\"indexers\",\"callProperties\",\"internalSlots\");let d=l.flatMap(D=>s.map(({node:L})=>({node:L,printed:t(),loc:Ln(L)}),D));l.length>1&&d.sort((D,L)=>D.loc-L.loc);let{parent:c,key:u}=s,h=r&&u===\"body\"&&(c.type===\"InterfaceDeclaration\"||c.type===\"DeclareInterface\"||c.type===\"DeclareClass\"),g=o.type===\"TSInterfaceBody\"||a||h||o.type===\"ObjectPattern\"&&c.type!==\"FunctionDeclaration\"&&c.type!==\"FunctionExpression\"&&c.type!==\"ArrowFunctionExpression\"&&c.type!==\"ObjectMethod\"&&c.type!==\"ClassMethod\"&&c.type!==\"ClassPrivateMethod\"&&c.type!==\"AssignmentPattern\"&&c.type!==\"CatchClause\"&&o.properties.some(D=>D.value&&(D.value.type===\"ObjectPattern\"||D.value.type===\"ArrayPattern\"))||o.type!==\"ObjectPattern\"&&e.objectWrap===\"preserve\"&&d.length>0&&wh(e.originalText,Ln(o),d[0].loc),f=h?\";\":o.type===\"TSInterfaceBody\"||o.type===\"TSTypeLiteral\"?Rt(n,\";\"):\",\",m=o.type===\"RecordExpression\"?\"#{\":o.exact?\"{|\":\"{\",_=o.exact?\"|}\":\"}\",v=[],b=d.map(D=>{let L=[...v,re(D.printed)];return v=[f,Ue],(D.node.type===\"TSPropertySignature\"||D.node.type===\"TSMethodSignature\"||D.node.type===\"TSConstructSignatureDeclaration\"||D.node.type===\"TSCallSignatureDeclaration\")&&Re(D.node,Ze.PrettierIgnore)&&v.shift(),Yc(D.node,e)&&v.push(Se),L});if(o.inexact||o.hasUnknownMembers){let D;if(Re(o,Ze.Dangling)){let L=Re(o,Ze.Line);D=[gn(s,e),L||Ar(e.originalText,oi(Si(!1,Dm(o),-1)))?Se:Ue,\"...\"]}else D=[\"...\"];b.push([...v,...D])}let C=(i=Si(!1,d,-1))==null?void 0:i.node,w=!(o.inexact||o.hasUnknownMembers||C&&(C.type===\"RestElement\"||(C.type===\"TSPropertySignature\"||C.type===\"TSCallSignatureDeclaration\"||C.type===\"TSMethodSignature\"||C.type===\"TSConstructSignatureDeclaration\")&&Re(C,Ze.PrettierIgnore))),y;if(b.length===0){if(!Re(o,Ze.Dangling))return[m,_,Hs(s,t)];y=re([m,gn(s,e,{indent:!0}),be,_,ko(s),Hs(s,t)])}else y=[h&&mi(o.properties)?pne(c):\"\",m,Le([e.bracketSpacing?Ue:be,...b]),Rt(w&&(f!==\",\"||Xc(e))?f:\"\"),e.bracketSpacing?Ue:be,_,ko(s),Hs(s,t)];return s.match(D=>D.type===\"ObjectPattern\"&&!mi(D.decorators),xE)||_h(o)&&(s.match(void 0,(D,L)=>L===\"typeAnnotation\",(D,L)=>L===\"typeAnnotation\",xE)||s.match(void 0,(D,L)=>D.type===\"FunctionTypeParam\"&&L===\"typeAnnotation\",xE))||!g&&s.match(D=>D.type===\"ObjectPattern\",D=>D.type===\"AssignmentExpression\"||D.type===\"VariableDeclarator\")?y:re(y,{shouldBreak:g})}function xE(s,e){return(e===\"params\"||e===\"parameters\"||e===\"this\"||e===\"rest\")&&SH(s)}function Fne(s){let e=[s];for(let t=0;t<e.length;t++){let i=e[t];for(let n of[\"test\",\"consequent\",\"alternate\"]){let o=i[n];if(bs(o))return!0;o.type===\"ConditionalExpression\"&&e.push(o)}}return!1}function One(s,e,t){let{node:i}=s,n=i.type===\"ConditionalExpression\",o=n?\"alternate\":\"falseType\",{parent:r}=s,a=n?t(\"test\"):[t(\"checkType\"),\" \",\"extends\",\" \",t(\"extendsType\")];return r.type===i.type&&r[o]===i?gd(2,a):a}var Bne=new Map([[\"AssignmentExpression\",\"right\"],[\"VariableDeclarator\",\"init\"],[\"ReturnStatement\",\"argument\"],[\"ThrowStatement\",\"argument\"],[\"UnaryExpression\",\"argument\"],[\"YieldExpression\",\"argument\"],[\"AwaitExpression\",\"argument\"]]);function Wne(s){let{node:e}=s;if(e.type!==\"ConditionalExpression\")return!1;let t,i=e;for(let n=0;!t;n++){let o=s.getParentNode(n);if(o.type===\"ChainExpression\"&&o.expression===i||ui(o)&&o.callee===i||Rn(o)&&o.object===i||o.type===\"TSNonNullExpression\"&&o.expression===i){i=o;continue}o.type===\"NewExpression\"&&o.callee===i||Xl(o)&&o.expression===i?(t=s.getParentNode(n+1),i=o):t=o}return i===e?!1:t[Bne.get(t.type)]===i}function Hne(s,e,t){let{node:i}=s,n=i.type===\"ConditionalExpression\",o=n?\"consequent\":\"trueType\",r=n?\"alternate\":\"falseType\",a=n?[\"test\"]:[\"checkType\",\"extendsType\"],l=i[o],d=i[r],c=[],u=!1,{parent:h}=s,g=h.type===i.type&&a.some(I=>h[I]===i),f=h.type===i.type&&!g,m,_,v=0;do _=m||i,m=s.getParentNode(v),v++;while(m&&m.type===i.type&&a.every(I=>m[I]!==_));let b=m||h,C=_;if(n&&(bs(i[a[0]])||bs(l)||bs(d)||Fne(C))){u=!0,f=!0;let I=R=>[Rt(\"(\"),Le([be,R]),be,Rt(\")\")],O=R=>R.type===\"NullLiteral\"||R.type===\"Literal\"&&R.value===null||R.type===\"Identifier\"&&R.name===\"undefined\";c.push(\" ? \",O(l)?t(o):I(t(o)),\" : \",d.type===i.type||O(d)?t(r):I(t(r)))}else{let I=R=>e.useTabs?Le(t(R)):gd(2,t(R)),O=[Ue,\"? \",l.type===i.type?Rt(\"\",\"(\"):\"\",I(o),l.type===i.type?Rt(\"\",\")\"):\"\",Ue,\": \",I(r)];c.push(h.type!==i.type||h[r]===i||g?O:e.useTabs?BW(Le(O)):gd(Math.max(0,e.tabWidth-2),O))}let w=[o,r,...a].some(I=>Re(i[I],O=>Ca(O)&&wh(e.originalText,Ln(O),oi(O)))),y=I=>h===b?re(I,{shouldBreak:w}):w?[I,fd]:I,D=!u&&(Rn(h)||h.type===\"NGPipeExpression\"&&h.left===i)&&!h.computed,L=Wne(s),k=y([One(s,e,t),f?c:Le(c),n&&D&&!L?be:\"\"]);return g||L?re([Le([be,k]),be]):k}function Vne(s,e){return(Rn(e)||e.type===\"NGPipeExpression\"&&e.left===s)&&!e.computed}function zne(s,e,t,i){return[...s.map(n=>Dm(n)),Dm(e),Dm(t)].flat().some(n=>Ca(n)&&wh(i.originalText,Ln(n),oi(n)))}var Une=new Map([[\"AssignmentExpression\",\"right\"],[\"VariableDeclarator\",\"init\"],[\"ReturnStatement\",\"argument\"],[\"ThrowStatement\",\"argument\"],[\"UnaryExpression\",\"argument\"],[\"YieldExpression\",\"argument\"],[\"AwaitExpression\",\"argument\"]]);function $ne(s){let{node:e}=s;if(e.type!==\"ConditionalExpression\")return!1;let t,i=e;for(let n=0;!t;n++){let o=s.getParentNode(n);if(o.type===\"ChainExpression\"&&o.expression===i||ui(o)&&o.callee===i||Rn(o)&&o.object===i||o.type===\"TSNonNullExpression\"&&o.expression===i){i=o;continue}o.type===\"NewExpression\"&&o.callee===i||Xl(o)&&o.expression===i?(t=s.getParentNode(n+1),i=o):t=o}return i===e?!1:t[Une.get(t.type)]===i}var kE=s=>[Rt(\"(\"),Le([be,s]),be,Rt(\")\")];function RP(s,e,t,i){if(!e.experimentalTernaries)return Hne(s,e,t);let{node:n}=s,o=n.type===\"ConditionalExpression\",r=Ch(n),a=o?\"consequent\":\"trueType\",l=o?\"alternate\":\"falseType\",d=o?[\"test\"]:[\"checkType\",\"extendsType\"],c=n[a],u=n[l],h=d.map(dn=>n[dn]),{parent:g}=s,f=g.type===n.type,m=f&&d.some(dn=>g[dn]===n),_=f&&g[l]===n,v=c.type===n.type,b=u.type===n.type,C=b||_,w=e.tabWidth>2||e.useTabs,y,D,L=0;do D=y||n,y=s.getParentNode(L),L++;while(y&&y.type===n.type&&d.every(dn=>y[dn]!==D));let k=y||g,I=i&&i.assignmentLayout&&i.assignmentLayout!==\"break-after-operator\"&&(g.type===\"AssignmentExpression\"||g.type===\"VariableDeclarator\"||g.type===\"ClassProperty\"||g.type===\"PropertyDefinition\"||g.type===\"ClassPrivateProperty\"||g.type===\"ObjectProperty\"||g.type===\"Property\"),O=(g.type===\"ReturnStatement\"||g.type===\"ThrowStatement\")&&!(v||b),R=o&&k.type===\"JSXExpressionContainer\"&&s.grandparent.type!==\"JSXAttribute\",P=$ne(s),F=Vne(n,g),V=r&&ip(s,e),U=w?e.useTabs?\"\t\":\" \".repeat(e.tabWidth-1):\"\",J=zne(h,c,u,e)||v||b,pe=!C&&!f&&!r&&(R?c.type===\"NullLiteral\"||c.type===\"Literal\"&&c.value===null:vP(c,e)&&y5(n.test,3)),De=C||_||r&&!f||f&&o&&y5(n.test,1)||pe,ge=[];!v&&Re(c,Ze.Dangling)&&s.call(dn=>{ge.push(gn(dn,e),Se)},\"consequent\");let We=[];Re(n.test,Ze.Dangling)&&s.call(dn=>{We.push(gn(dn,e))},\"test\"),!b&&Re(u,Ze.Dangling)&&s.call(dn=>{We.push(gn(dn,e))},\"alternate\"),Re(n,Ze.Dangling)&&We.push(gn(s,e));let ye=Symbol(\"test\"),ve=Symbol(\"consequent\"),ce=Symbol(\"test-and-consequent\"),Qt=o?[kE(t(\"test\")),n.test.type===\"ConditionalExpression\"?fd:\"\"]:[t(\"checkType\"),\" \",\"extends\",\" \",Ch(n.extendsType)||n.extendsType.type===\"TSMappedType\"?t(\"extendsType\"):re(kE(t(\"extendsType\")))],Ui=re([Qt,\" ?\"],{id:ye}),Gi=t(a),St=Le([v||R&&(bs(c)||f||C)?Se:Ue,ge,Gi]),tn=De?re([Ui,C?St:Rt(St,re(St,{id:ve}),{groupId:ye})],{id:ce}):[Ui,St],Pn=t(l),ln=pe?Rt(Pn,BW(kE(Pn)),{groupId:ce}):Pn,$e=[tn,We.length>0?[Le([Se,We]),Se]:b?Se:pe?Rt(Ue,\" \",{groupId:ce}):Ue,\":\",b?\" \":w?De?Rt(U,Rt(C||pe?\" \":U,\" \"),{groupId:ce}):Rt(U,\" \"):\" \",b?ln:re([Le(ln),R&&!pe?be:\"\"]),F&&!P?be:\"\",J?fd:\"\"];return I&&!J?re(Le([be,re($e)])):I||O?re(Le($e)):P||r&&m?re([Le([be,$e]),V?be:\"\"]):g===k?re($e):$e}function jne(s,e,t,i){let{node:n}=s;if(mP(n))return xne(s,e);let o=e.semi?\";\":\"\",r=[];switch(n.type){case\"JsExpressionRoot\":return t(\"node\");case\"JsonRoot\":return[t(\"node\"),Se];case\"File\":return Lne(s,e,t)??t(\"program\");case\"EmptyStatement\":return\"\";case\"ExpressionStatement\":return Dne(s,e,t);case\"ChainExpression\":return t(\"expression\");case\"ParenthesizedExpression\":return!Re(n.expression)&&(il(n.expression)||zs(n.expression))?[\"(\",t(\"expression\"),\")\"]:re([\"(\",Le([be,t(\"expression\")]),be,\")\"]);case\"AssignmentExpression\":return _ie(s,e,t);case\"VariableDeclarator\":return vie(s,e,t);case\"BinaryExpression\":case\"LogicalExpression\":return hH(s,e,t);case\"AssignmentPattern\":return[t(\"left\"),\" = \",t(\"right\")];case\"OptionalMemberExpression\":case\"MemberExpression\":return fie(s,e,t);case\"MetaProperty\":return[t(\"meta\"),\".\",t(\"property\")];case\"BindExpression\":return n.object&&r.push(t(\"object\")),r.push(re(Le([be,WH(s,e,t)]))),r;case\"Identifier\":return[n.name,ko(s),BH(s),Hs(s,t)];case\"V8IntrinsicIdentifier\":return[\"%\",n.name];case\"SpreadElement\":case\"SpreadElementPattern\":case\"SpreadPropertyPattern\":case\"RestElement\":return HH(s,t);case\"FunctionDeclaration\":case\"FunctionExpression\":return $H(s,t,e,i);case\"ArrowFunctionExpression\":return tne(s,e,t,i);case\"YieldExpression\":return r.push(\"yield\"),n.delegate&&r.push(\"*\"),n.argument&&r.push(\" \",t(\"argument\")),r;case\"AwaitExpression\":if(r.push(\"await\"),n.argument){r.push(\" \",t(\"argument\"));let{parent:a}=s;if(ui(a)&&a.callee===n||Rn(a)&&a.object===n){r=[Le([be,...r]),be];let l=s.findAncestor(d=>d.type===\"AwaitExpression\"||d.type===\"BlockStatement\");if((l==null?void 0:l.type)!==\"AwaitExpression\"||!Co(l.argument,d=>d===n))return re(r)}}return r;case\"ExportDefaultDeclaration\":case\"ExportNamedDeclaration\":case\"ExportAllDeclaration\":return uV(s,e,t);case\"ImportDeclaration\":return Ine(s,e,t);case\"ImportSpecifier\":case\"ExportSpecifier\":case\"ImportNamespaceSpecifier\":case\"ExportNamespaceSpecifier\":case\"ImportDefaultSpecifier\":case\"ExportDefaultSpecifier\":return Rne(s,e,t);case\"ImportAttribute\":return SE(s,e,t);case\"Program\":case\"BlockStatement\":case\"StaticBlock\":return ZH(s,e,t);case\"ClassBody\":return vne(s,e,t);case\"ThrowStatement\":return Jie(s,e,t);case\"ReturnStatement\":return Qie(s,e,t);case\"NewExpression\":case\"ImportExpression\":case\"OptionalCallExpression\":case\"CallExpression\":return bH(s,e,t);case\"ObjectExpression\":case\"ObjectPattern\":case\"RecordExpression\":return VL(s,e,t);case\"Property\":return PL(n)?UT(s,e,t):SE(s,e,t);case\"ObjectProperty\":return SE(s,e,t);case\"ObjectMethod\":return UT(s,e,t);case\"Decorator\":return[\"@\",t(\"expression\")];case\"ArrayExpression\":case\"ArrayPattern\":case\"TupleExpression\":return TP(s,e,t);case\"SequenceExpression\":{let{parent:a}=s;if(a.type===\"ExpressionStatement\"||a.type===\"ForStatement\"){let l=[];return s.each(({isFirst:d})=>{d?l.push(t()):l.push(\",\",Le([Ue,t()]))},\"expressions\"),re(l)}return re(si([\",\",Ue],s.map(t,\"expressions\")))}case\"ThisExpression\":return\"this\";case\"Super\":return\"super\";case\"Directive\":return[t(\"value\"),o];case\"UnaryExpression\":return r.push(n.operator),/[a-z]$/u.test(n.operator)&&r.push(\" \"),Re(n.argument)?r.push(re([\"(\",Le([be,t(\"argument\")]),be,\")\"])):r.push(t(\"argument\")),r;case\"UpdateExpression\":return[n.prefix?n.operator:\"\",t(\"argument\"),n.prefix?\"\":n.operator];case\"ConditionalExpression\":return RP(s,e,t,i);case\"VariableDeclaration\":{let a=s.map(t,\"declarations\"),l=s.parent,d=l.type===\"ForStatement\"||l.type===\"ForInStatement\"||l.type===\"ForOfStatement\",c=n.declarations.some(h=>h.init),u;return a.length===1&&!Re(n.declarations[0])?u=a[0]:a.length>0&&(u=Le(a[0])),r=[or(s),n.kind,u?[\" \",u]:\"\",Le(a.slice(1).map(h=>[\",\",c&&!d?Se:Ue,h]))],d&&l.body!==n||r.push(o),re(r)}case\"WithStatement\":return re([\"with (\",t(\"object\"),\")\",hu(n.body,t(\"body\"))]);case\"IfStatement\":{let a=hu(n.consequent,t(\"consequent\")),l=re([\"if (\",re([Le([be,t(\"test\")]),be]),\")\",a]);if(r.push(l),n.alternate){let d=Re(n.consequent,Ze.Trailing|Ze.Line)||AW(n),c=n.consequent.type===\"BlockStatement\"&&!d;r.push(c?\" \":Se),Re(n,Ze.Dangling)&&r.push(gn(s,e),d?Se:\" \"),r.push(\"else\",re(hu(n.alternate,t(\"alternate\"),n.alternate.type===\"IfStatement\")))}return r}case\"ForStatement\":{let a=hu(n.body,t(\"body\")),l=gn(s,e),d=l?[l,be]:\"\";return!n.init&&!n.test&&!n.update?[d,re([\"for (;;)\",a])]:[d,re([\"for (\",re([Le([be,t(\"init\"),\";\",Ue,t(\"test\"),\";\",Ue,t(\"update\")]),be]),\")\",a])]}case\"WhileStatement\":return re([\"while (\",re([Le([be,t(\"test\")]),be]),\")\",hu(n.body,t(\"body\"))]);case\"ForInStatement\":return re([\"for (\",t(\"left\"),\" in \",t(\"right\"),\")\",hu(n.body,t(\"body\"))]);case\"ForOfStatement\":return re([\"for\",n.await?\" await\":\"\",\" (\",t(\"left\"),\" of \",t(\"right\"),\")\",hu(n.body,t(\"body\"))]);case\"DoWhileStatement\":{let a=hu(n.body,t(\"body\"));return r=[re([\"do\",a])],n.body.type===\"BlockStatement\"?r.push(\" \"):r.push(Se),r.push(\"while (\",re([Le([be,t(\"test\")]),be]),\")\",o),r}case\"DoExpression\":return[n.async?\"async \":\"\",\"do \",t(\"body\")];case\"BreakStatement\":case\"ContinueStatement\":return r.push(n.type===\"BreakStatement\"?\"break\":\"continue\"),n.label&&r.push(\" \",t(\"label\")),r.push(o),r;case\"LabeledStatement\":return n.body.type===\"EmptyStatement\"?[t(\"label\"),\":;\"]:[t(\"label\"),\": \",t(\"body\")];case\"TryStatement\":return[\"try \",t(\"block\"),n.handler?[\" \",t(\"handler\")]:\"\",n.finalizer?[\" finally \",t(\"finalizer\")]:\"\"];case\"CatchClause\":if(n.param){let a=Re(n.param,d=>!Ca(d)||d.leading&&Ar(e.originalText,oi(d))||d.trailing&&Ar(e.originalText,Ln(d),{backwards:!0})),l=t(\"param\");return[\"catch \",a?[\"(\",Le([be,l]),be,\") \"]:[\"(\",l,\") \"],t(\"body\")]}return[\"catch \",t(\"body\")];case\"SwitchStatement\":return[re([\"switch (\",Le([be,t(\"discriminant\")]),be,\")\"]),\" {\",n.cases.length>0?Le([Se,si(Se,s.map(({node:a,isLast:l})=>[t(),!l&&Yc(a,e)?Se:\"\"],\"cases\"))]):\"\",Se,\"}\"];case\"SwitchCase\":{n.test?r.push(\"case \",t(\"test\"),\":\"):r.push(\"default:\"),Re(n,Ze.Dangling)&&r.push(\" \",gn(s,e));let a=n.consequent.filter(l=>l.type!==\"EmptyStatement\");if(a.length>0){let l=$T(s,e,t,\"consequent\");r.push(a.length===1&&a[0].type===\"BlockStatement\"?[\" \",l]:Le([Se,l]))}return r}case\"DebuggerStatement\":return[\"debugger\",o];case\"ClassDeclaration\":case\"ClassExpression\":return eV(s,e,t);case\"ClassMethod\":case\"ClassPrivateMethod\":case\"MethodDefinition\":return nV(s,e,t);case\"ClassProperty\":case\"PropertyDefinition\":case\"ClassPrivateProperty\":case\"ClassAccessorProperty\":case\"AccessorProperty\":return sV(s,e,t);case\"TemplateElement\":return _f(n.value.raw);case\"TemplateLiteral\":return iH(s,t,e);case\"TaggedTemplateExpression\":return kee(s,t);case\"PrivateIdentifier\":return[\"#\",n.name];case\"PrivateName\":return[\"#\",t(\"id\")];case\"TopicReference\":return\"%\";case\"ArgumentPlaceholder\":return\"?\";case\"ModuleExpression\":return[\"module \",t(\"body\")];case\"InterpreterDirective\":default:throw new t0(n,\"ESTree\")}}function _V(s,e,t){let{parent:i,node:n,key:o}=s,r=[t(\"expression\")];switch(n.type){case\"AsConstExpression\":r.push(\" as const\");break;case\"AsExpression\":case\"TSAsExpression\":r.push(\" as \",t(\"typeAnnotation\"));break;case\"SatisfiesExpression\":case\"TSSatisfiesExpression\":r.push(\" satisfies \",t(\"typeAnnotation\"));break}return o===\"callee\"&&ui(i)||o===\"object\"&&Rn(i)?re([Le([be,...r]),be]):r}function Kne(s,e,t){let{node:i}=s,n=[or(s),\"component\"];i.id&&n.push(\" \",t(\"id\")),n.push(t(\"typeParameters\"));let o=qne(s,t,e);return i.rendersType?n.push(re([o,\" \",t(\"rendersType\")])):n.push(re([o])),i.body&&n.push(\" \",t(\"body\")),e.semi&&i.type===\"DeclareComponent\"&&n.push(\";\"),n}function qne(s,e,t){let{node:i}=s,n=i.params;if(i.rest&&(n=[...n,i.rest]),n.length===0)return[\"(\",gn(s,t,{filter:r=>nl(t.originalText,oi(r))===\")\"}),\")\"];let o=[];return Zne(s,(r,a)=>{let l=a===n.length-1;l&&i.rest&&o.push(\"...\"),o.push(e()),!l&&(o.push(\",\"),Yc(n[a],t)?o.push(Se,Se):o.push(Ue))}),[\"(\",Le([be,...o]),Rt(Xc(t,\"all\")&&!Gne(i,n)?\",\":\"\"),be,\")\"]}function Gne(s,e){var t;return s.rest||((t=Si(!1,e,-1))==null?void 0:t.type)===\"RestElement\"}function Zne(s,e){let{node:t}=s,i=0,n=o=>e(o,i++);s.each(n,\"params\"),t.rest&&s.call(n,\"rest\")}function Xne(s,e,t){let{node:i}=s;return i.shorthand?t(\"local\"):[t(\"name\"),\" as \",t(\"local\")]}function Yne(s,e,t){let{node:i}=s,n=[];return i.name&&n.push(t(\"name\"),i.optional?\"?: \":\": \"),n.push(t(\"typeAnnotation\")),n}function vV(s,e,t){return VL(s,t,e)}function bV(s,e){let{node:t}=s,i=e(\"id\");t.computed&&(i=[\"[\",i,\"]\"]);let n=\"\";return t.initializer&&(n=e(\"initializer\")),t.init&&(n=e(\"init\")),n?[i,\" = \",n]:i}function Qne(s,e,t){let{node:i}=s,n;if(i.type===\"EnumSymbolBody\"||i.explicitType)switch(i.type){case\"EnumBooleanBody\":n=\"boolean\";break;case\"EnumNumberBody\":n=\"number\";break;case\"EnumBigIntBody\":n=\"bigint\";break;case\"EnumStringBody\":n=\"string\";break;case\"EnumSymbolBody\":n=\"symbol\";break}return[n?`of ${n} `:\"\",vV(s,e,t)]}function CV(s,e,t){let{node:i}=s;return[or(s),i.const?\"const \":\"\",\"enum \",e(\"id\"),\" \",i.type===\"TSEnumDeclaration\"?vV(s,e,t):e(\"body\")]}function Jne(s,e,t){let{node:i}=s,n=[\"hook\"];i.id&&n.push(\" \",t(\"id\"));let o=np(s,t,e,!1,!0),r=HL(s,t),a=i0(i,r);return n.push(re([a?re(o):o,r]),i.body?\" \":\"\",t(\"body\")),n}function ese(s,e,t){let{node:i}=s,n=[or(s),\"hook\"];return i.id&&n.push(\" \",t(\"id\")),e.semi&&n.push(\";\"),n}function $5(s){var e;let{node:t}=s;return t.type===\"HookTypeAnnotation\"&&((e=s.getParentNode(2))==null?void 0:e.type)===\"DeclareHook\"}function tse(s,e,t){let{node:i}=s,n=[];n.push($5(s)?\"\":\"hook \");let o=np(s,t,e,!1,!0),r=[];return r.push($5(s)?\": \":\" => \",t(\"returnType\")),i0(i,r)&&(o=re(o)),n.push(o,r),re(n)}function wV(s,e,t){let{node:i}=s,n=[or(s),\"interface\"],o=[],r=[];i.type!==\"InterfaceTypeAnnotation\"&&o.push(\" \",t(\"id\"),t(\"typeParameters\"));let a=i.typeParameters&&!Re(i.typeParameters,Ze.Trailing|Ze.Line);return mi(i.extends)&&r.push(a?Rt(\" \",Ue,{groupId:AP(i.typeParameters)}):Ue,\"extends \",(i.extends.length===1?dJ:Le)(si([\",\",Ue],s.map(t,\"extends\")))),Re(i.id,Ze.Trailing)||mi(i.extends)?a?n.push(re([...o,Le(r)])):n.push(re(Le([...o,...r]))):n.push(...o,...r),n.push(\" \",t(\"body\")),re(n)}function ise(s,e,t){let{node:i}=s;if(SW(i))return i.type.slice(0,-14).toLowerCase();let n=e.semi?\";\":\"\";switch(i.type){case\"ComponentDeclaration\":case\"DeclareComponent\":case\"ComponentTypeAnnotation\":return Kne(s,e,t);case\"ComponentParameter\":return Xne(s,e,t);case\"ComponentTypeParameter\":return Yne(s,e,t);case\"HookDeclaration\":return Jne(s,e,t);case\"DeclareHook\":return ese(s,e,t);case\"HookTypeAnnotation\":return tse(s,e,t);case\"DeclareClass\":return eV(s,e,t);case\"DeclareFunction\":return[or(s),\"function \",t(\"id\"),t(\"predicate\"),n];case\"DeclareModule\":return[\"declare module \",t(\"id\"),\" \",t(\"body\")];case\"DeclareModuleExports\":return[\"declare module.exports\",Hs(s,t),n];case\"DeclareNamespace\":return[\"declare namespace \",t(\"id\"),\" \",t(\"body\")];case\"DeclareVariable\":return[or(s),i.kind??\"var\",\" \",t(\"id\"),n];case\"DeclareExportDeclaration\":case\"DeclareExportAllDeclaration\":return uV(s,e,t);case\"DeclareOpaqueType\":case\"OpaqueType\":return Oie(s,e,t);case\"DeclareTypeAlias\":case\"TypeAlias\":return LH(s,e,t);case\"IntersectionTypeAnnotation\":return xH(s,e,t);case\"UnionTypeAnnotation\":return kH(s,e,t);case\"ConditionalTypeAnnotation\":return RP(s,e,t);case\"InferTypeAnnotation\":return TH(s,e,t);case\"FunctionTypeAnnotation\":return EH(s,e,t);case\"TupleTypeAnnotation\":return TP(s,e,t);case\"TupleTypeLabeledElement\":return AH(s,e,t);case\"TupleTypeSpreadElement\":return NH(s,e,t);case\"GenericTypeAnnotation\":return[t(\"id\"),Wv(s,e,t,\"typeParameters\")];case\"IndexedAccessType\":case\"OptionalIndexedAccessType\":return IH(s,e,t);case\"TypeAnnotation\":return RH(s,e,t);case\"TypeParameter\":return QH(s,e,t);case\"TypeofTypeAnnotation\":return FH(s,t);case\"ExistsTypeAnnotation\":return\"*\";case\"ArrayTypeAnnotation\":return PH(t);case\"DeclareEnum\":case\"EnumDeclaration\":return CV(s,t,e);case\"EnumBooleanBody\":case\"EnumNumberBody\":case\"EnumBigIntBody\":case\"EnumStringBody\":case\"EnumSymbolBody\":return Qne(s,t,e);case\"EnumBooleanMember\":case\"EnumNumberMember\":case\"EnumBigIntMember\":case\"EnumStringMember\":case\"EnumDefaultedMember\":return bV(s,t);case\"FunctionTypeParam\":{let o=i.name?t(\"name\"):s.parent.this===i?\"this\":\"\";return[o,ko(s),o?\": \":\"\",t(\"typeAnnotation\")]}case\"DeclareInterface\":case\"InterfaceDeclaration\":case\"InterfaceTypeAnnotation\":return wV(s,e,t);case\"ClassImplements\":case\"InterfaceExtends\":return[t(\"id\"),t(\"typeParameters\")];case\"NullableTypeAnnotation\":return[\"?\",t(\"typeAnnotation\")];case\"Variance\":{let{kind:o}=i;return fP.ok(o===\"plus\"||o===\"minus\"),o===\"plus\"?\"+\":\"-\"}case\"KeyofTypeAnnotation\":return[\"keyof \",t(\"argument\")];case\"ObjectTypeCallProperty\":return[i.static?\"static \":\"\",t(\"value\")];case\"ObjectTypeMappedTypeProperty\":return une(s,e,t);case\"ObjectTypeIndexer\":return[i.static?\"static \":\"\",i.variance?t(\"variance\"):\"\",\"[\",t(\"id\"),i.id?\": \":\"\",t(\"key\"),\"]: \",t(\"value\")];case\"ObjectTypeProperty\":{let o=\"\";return i.proto?o=\"proto \":i.static&&(o=\"static \"),[o,i.kind!==\"init\"?i.kind+\" \":\"\",i.variance?t(\"variance\"):\"\",r1(s,e,t),ko(s),PL(i)?\"\":\": \",t(\"value\")]}case\"ObjectTypeAnnotation\":return VL(s,e,t);case\"ObjectTypeInternalSlot\":return[i.static?\"static \":\"\",\"[[\",t(\"id\"),\"]]\",ko(s),i.method?\"\":\": \",t(\"value\")];case\"ObjectTypeSpreadProperty\":return HH(s,t);case\"QualifiedTypeofIdentifier\":case\"QualifiedTypeIdentifier\":return[t(\"qualification\"),\".\",t(\"id\")];case\"NullLiteralTypeAnnotation\":return\"null\";case\"BooleanLiteralTypeAnnotation\":return String(i.value);case\"StringLiteralTypeAnnotation\":return _f(t_(fa(i),e));case\"NumberLiteralTypeAnnotation\":return n_(i.raw??i.extra.raw);case\"BigIntLiteralTypeAnnotation\":return jT(i.raw??i.extra.raw);case\"TypeCastExpression\":return[\"(\",t(\"expression\"),Hs(s,t),\")\"];case\"TypePredicate\":return OH(s,t);case\"TypeOperator\":return[i.operator,\" \",t(\"typeAnnotation\")];case\"TypeParameterDeclaration\":case\"TypeParameterInstantiation\":return Wv(s,e,t,\"params\");case\"InferredPredicate\":case\"DeclaredPredicate\":return[s.key===\"predicate\"&&s.parent.type!==\"DeclareFunction\"&&!s.parent.returnType?\": \":\" \",\"%checks\",...i.type===\"DeclaredPredicate\"?[\"(\",t(\"value\"),\")\"]:[]];case\"AsExpression\":case\"AsConstExpression\":case\"SatisfiesExpression\":return _V(s,e,t)}}function nse(s,e,t){var i;let{node:n}=s;if(!n.type.startsWith(\"TS\"))return;if(DW(n))return n.type.slice(2,-7).toLowerCase();let o=e.semi?\";\":\"\",r=[];switch(n.type){case\"TSThisType\":return\"this\";case\"TSTypeAssertion\":{let a=!(zs(n.expression)||il(n.expression)),l=re([\"<\",Le([be,t(\"typeAnnotation\")]),be,\">\"]),d=[Rt(\"(\"),Le([be,t(\"expression\")]),be,Rt(\")\")];return a?qg([[l,t(\"expression\")],[l,re(d,{shouldBreak:!0})],[l,t(\"expression\")]]):re([l,t(\"expression\")])}case\"TSDeclareFunction\":return $H(s,t,e);case\"TSExportAssignment\":return[\"export = \",t(\"expression\"),o];case\"TSModuleBlock\":return ZH(s,e,t);case\"TSInterfaceBody\":case\"TSTypeLiteral\":return VL(s,e,t);case\"TSTypeAliasDeclaration\":return LH(s,e,t);case\"TSQualifiedName\":return[t(\"left\"),\".\",t(\"right\")];case\"TSAbstractMethodDefinition\":case\"TSDeclareMethod\":return nV(s,e,t);case\"TSAbstractAccessorProperty\":case\"TSAbstractPropertyDefinition\":return sV(s,e,t);case\"TSInterfaceHeritage\":case\"TSClassImplements\":case\"TSExpressionWithTypeArguments\":case\"TSInstantiationExpression\":return[t(\"expression\"),t(n.typeArguments?\"typeArguments\":\"typeParameters\")];case\"TSTemplateLiteralType\":return iH(s,t,e);case\"TSNamedTupleMember\":return AH(s,e,t);case\"TSRestType\":return NH(s,e,t);case\"TSOptionalType\":return[t(\"typeAnnotation\"),\"?\"];case\"TSInterfaceDeclaration\":return wV(s,e,t);case\"TSTypeParameterDeclaration\":case\"TSTypeParameterInstantiation\":return Wv(s,e,t,\"params\");case\"TSTypeParameter\":return QH(s,e,t);case\"TSAsExpression\":case\"TSSatisfiesExpression\":return _V(s,e,t);case\"TSArrayType\":return PH(t);case\"TSPropertySignature\":return[n.readonly?\"readonly \":\"\",r1(s,e,t),ko(s),Hs(s,t)];case\"TSParameterProperty\":return[LS(n),n.static?\"static \":\"\",n.override?\"override \":\"\",n.readonly?\"readonly \":\"\",t(\"parameter\")];case\"TSTypeQuery\":return FH(s,t);case\"TSIndexSignature\":{let a=n.parameters.length>1?Rt(Xc(e)?\",\":\"\"):\"\",l=re([Le([be,si([\", \",be],s.map(t,\"parameters\"))]),a,be]),d=s.parent.type===\"ClassBody\"&&s.key===\"body\";return[d&&n.static?\"static \":\"\",n.readonly?\"readonly \":\"\",\"[\",n.parameters?l:\"\",\"]\",Hs(s,t),d?o:\"\"]}case\"TSTypePredicate\":return OH(s,t);case\"TSNonNullExpression\":return[t(\"expression\"),\"!\"];case\"TSImportType\":return[\"import(\",t(\"argument\"),\")\",n.qualifier?[\".\",t(\"qualifier\")]:\"\",Wv(s,e,t,n.typeArguments?\"typeArguments\":\"typeParameters\")];case\"TSLiteralType\":return t(\"literal\");case\"TSIndexedAccessType\":return IH(s,e,t);case\"TSTypeOperator\":return[n.operator,\" \",t(\"typeAnnotation\")];case\"TSMappedType\":return hne(s,e,t);case\"TSMethodSignature\":{let a=n.kind&&n.kind!==\"method\"?`${n.kind} `:\"\";r.push(LS(n),a,n.computed?\"[\":\"\",t(\"key\"),n.computed?\"]\":\"\",ko(s));let l=np(s,t,e,!1,!0),d=n.returnType?\"returnType\":\"typeAnnotation\",c=n[d],u=c?Hs(s,t,d):\"\",h=i0(n,u);return r.push(h?re(l):l),c&&r.push(re(u)),re(r)}case\"TSNamespaceExportDeclaration\":return[\"export as namespace \",t(\"id\"),e.semi?\";\":\"\"];case\"TSEnumDeclaration\":return CV(s,t,e);case\"TSEnumMember\":return bV(s,t);case\"TSImportEqualsDeclaration\":return[n.isExport?\"export \":\"\",\"import \",hV(n,!1),t(\"id\"),\" = \",t(\"moduleReference\"),e.semi?\";\":\"\"];case\"TSExternalModuleReference\":return[\"require(\",t(\"expression\"),\")\"];case\"TSModuleDeclaration\":{let{parent:a}=s,l=a.type===\"TSModuleDeclaration\",d=((i=n.body)==null?void 0:i.type)===\"TSModuleDeclaration\";return l?r.push(\".\"):(r.push(or(s)),n.kind!==\"global\"&&r.push(n.kind,\" \")),r.push(t(\"id\")),d?r.push(t(\"body\")):n.body?r.push(\" \",re(t(\"body\"))):r.push(o),r}case\"TSConditionalType\":return RP(s,e,t);case\"TSInferType\":return TH(s,e,t);case\"TSIntersectionType\":return xH(s,e,t);case\"TSUnionType\":return kH(s,e,t);case\"TSFunctionType\":case\"TSCallSignatureDeclaration\":case\"TSConstructorType\":case\"TSConstructSignatureDeclaration\":return EH(s,e,t);case\"TSTupleType\":return TP(s,e,t);case\"TSTypeReference\":return[t(\"typeName\"),Wv(s,e,t,n.typeArguments?\"typeArguments\":\"typeParameters\")];case\"TSTypeAnnotation\":return RH(s,e,t);case\"TSEmptyBodyFunctionExpression\":return NP(s,e,t);case\"TSJSDocAllType\":return\"*\";case\"TSJSDocUnknownType\":return\"?\";case\"TSJSDocNullableType\":return H5(s,t,\"?\");case\"TSJSDocNonNullableType\":return H5(s,t,\"!\");case\"TSParenthesizedType\":default:throw new t0(n,\"TypeScript\")}}function sse(s,e,t,i){if(uH(s))return bte(s,e);for(let n of[iie,Zte,ise,nse,jne]){let o=n(s,e,t,i);if(o!==void 0)return o}}var ose=wi([\"ClassMethod\",\"ClassPrivateMethod\",\"ClassProperty\",\"ClassAccessorProperty\",\"AccessorProperty\",\"TSAbstractAccessorProperty\",\"PropertyDefinition\",\"TSAbstractPropertyDefinition\",\"ClassPrivateProperty\",\"MethodDefinition\",\"TSAbstractMethodDefinition\",\"TSDeclareMethod\"]);function rse(s,e,t,i){var n;s.isRoot&&((n=e.__onHtmlBindingRoot)==null||n.call(e,s.node,e));let o=sse(s,e,t,i);if(!o)return\"\";let{node:r}=s;if(ose(r))return o;let a=mi(r.decorators),l=rie(s,e,t),d=r.type===\"ClassExpression\";if(a&&!d)return MT(o,h=>re([l,h]));let c=ip(s,e),u=Sne(s,e);return!l&&!c&&!u?o:MT(o,h=>[u?\";\":\"\",c?\"(\":\"\",c&&d&&a?[Le([Ue,l,h]),Ue]:[l,h],c?\")\":\"\"])}var ase=rse,lse={avoidAstMutation:!0},dse=[{linguistLanguageId:174,name:\"JSON.stringify\",type:\"data\",color:\"#292929\",tmScope:\"source.json\",aceMode:\"json\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/json\",aliases:[\"geojson\",\"jsonl\",\"topojson\"],extensions:[\".importmap\"],filenames:[\"package.json\",\"package-lock.json\",\"composer.json\"],parsers:[\"json-stringify\"],vscodeLanguageIds:[\"json\"]},{linguistLanguageId:174,name:\"JSON\",type:\"data\",color:\"#292929\",tmScope:\"source.json\",aceMode:\"json\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/json\",aliases:[\"geojson\",\"jsonl\",\"topojson\"],extensions:[\".json\",\".4DForm\",\".4DProject\",\".avsc\",\".geojson\",\".gltf\",\".har\",\".ice\",\".JSON-tmLanguage\",\".mcmeta\",\".tfstate\",\".tfstate.backup\",\".topojson\",\".webapp\",\".webmanifest\",\".yy\",\".yyp\"],filenames:[\".all-contributorsrc\",\".arcconfig\",\".auto-changelog\",\".c8rc\",\".htmlhintrc\",\".imgbotconfig\",\".nycrc\",\".tern-config\",\".tern-project\",\".watchmanconfig\",\"Pipfile.lock\",\"composer.lock\",\"flake.lock\",\"mcmod.info\",\".babelrc\",\".jscsrc\",\".jshintrc\",\".jslintrc\",\".swcrc\"],parsers:[\"json\"],vscodeLanguageIds:[\"json\"]},{linguistLanguageId:423,name:\"JSON with Comments\",type:\"data\",color:\"#292929\",group:\"JSON\",tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"text/javascript\",aliases:[\"jsonc\"],extensions:[\".jsonc\",\".code-snippets\",\".code-workspace\",\".sublime-build\",\".sublime-commands\",\".sublime-completions\",\".sublime-keymap\",\".sublime-macro\",\".sublime-menu\",\".sublime-mousemap\",\".sublime-project\",\".sublime-settings\",\".sublime-theme\",\".sublime-workspace\",\".sublime_metrics\",\".sublime_session\"],filenames:[],parsers:[\"jsonc\"],vscodeLanguageIds:[\"jsonc\"]},{linguistLanguageId:175,name:\"JSON5\",type:\"data\",color:\"#267CB9\",extensions:[\".json5\"],tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/json\",parsers:[\"json5\"],vscodeLanguageIds:[\"json5\"]}],yV={};ML(yV,{getVisitorKeys:()=>gse,massageAstNode:()=>SV,print:()=>fse});var cse={JsonRoot:[\"node\"],ArrayExpression:[\"elements\"],ObjectExpression:[\"properties\"],ObjectProperty:[\"key\",\"value\"],UnaryExpression:[\"argument\"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:[\"quasis\"],TemplateElement:[]},use=cse,hse=wW(use),gse=hse;function fse(s,e,t){let{node:i}=s;switch(i.type){case\"JsonRoot\":return[t(\"node\"),Se];case\"ArrayExpression\":{if(i.elements.length===0)return\"[]\";let n=s.map(()=>s.node===null?\"null\":t(),\"elements\");return[\"[\",Le([Se,si([\",\",Se],n)]),Se,\"]\"]}case\"ObjectExpression\":return i.properties.length===0?\"{}\":[\"{\",Le([Se,si([\",\",Se],s.map(t,\"properties\"))]),Se,\"}\"];case\"ObjectProperty\":return[t(\"key\"),\": \",t(\"value\")];case\"UnaryExpression\":return[i.operator===\"+\"?\"\":i.operator,t(\"argument\")];case\"NullLiteral\":return\"null\";case\"BooleanLiteral\":return i.value?\"true\":\"false\";case\"StringLiteral\":return JSON.stringify(i.value);case\"NumericLiteral\":return j5(s)?JSON.stringify(String(i.value)):JSON.stringify(i.value);case\"Identifier\":return j5(s)?JSON.stringify(i.name):i.name;case\"TemplateLiteral\":return t([\"quasis\",0]);case\"TemplateElement\":return JSON.stringify(i.value.cooked);default:throw new t0(i,\"JSON\")}}function j5(s){return s.key===\"key\"&&s.parent.type===\"ObjectProperty\"}var pse=new Set([\"start\",\"end\",\"extra\",\"loc\",\"comments\",\"leadingComments\",\"trailingComments\",\"innerComments\",\"errors\",\"range\",\"tokens\"]);function SV(s,e){let{type:t}=s;if(t===\"ObjectProperty\"){let{key:i}=s;i.type===\"Identifier\"?e.key={type:\"StringLiteral\",value:i.name}:i.type===\"NumericLiteral\"&&(e.key={type:\"StringLiteral\",value:String(i.value)});return}if(t===\"UnaryExpression\"&&s.operator===\"+\")return e.argument;if(t===\"ArrayExpression\"){for(let[i,n]of s.elements.entries())n===null&&e.elements.splice(i,0,{type:\"NullLiteral\"});return}if(t===\"TemplateLiteral\")return{type:\"StringLiteral\",value:s.quasis[0].value.cooked}}SV.ignoredProperties=pse;var A0={bracketSpacing:{category:\"Common\",type:\"boolean\",default:!0,description:\"Print spaces between brackets.\",oppositeDescription:\"Do not print spaces between brackets.\"},objectWrap:{category:\"Common\",type:\"choice\",default:\"preserve\",description:\"How to wrap object literals.\",choices:[{value:\"preserve\",description:\"Keep as multi-line, if there is a newline between the opening brace and first property.\"},{value:\"collapse\",description:\"Fit to a single line when possible.\"}]},singleQuote:{category:\"Common\",type:\"boolean\",default:!1,description:\"Use single quotes instead of double quotes.\"},bracketSameLine:{category:\"Common\",type:\"boolean\",default:!1,description:\"Put > of opening tags on the last line instead of on a new line.\"},singleAttributePerLine:{category:\"Common\",type:\"boolean\",default:!1,description:\"Enforce single attribute per line in HTML, Vue and JSX.\"}},gu=\"JavaScript\",mse={arrowParens:{category:gu,type:\"choice\",default:\"always\",description:\"Include parentheses around a sole arrow function parameter.\",choices:[{value:\"always\",description:\"Always include parens. Example: `(x) => x`\"},{value:\"avoid\",description:\"Omit parens when possible. Example: `x => x`\"}]},bracketSameLine:A0.bracketSameLine,objectWrap:A0.objectWrap,bracketSpacing:A0.bracketSpacing,jsxBracketSameLine:{category:gu,type:\"boolean\",description:\"Put > on the last line instead of at a new line.\",deprecated:\"2.4.0\"},semi:{category:gu,type:\"boolean\",default:!0,description:\"Print semicolons.\",oppositeDescription:\"Do not print semicolons, except at the beginning of lines which may need them.\"},experimentalOperatorPosition:{category:gu,type:\"choice\",default:\"end\",description:\"Where to print operators when binary expressions wrap lines.\",choices:[{value:\"start\",description:\"Print operators at the start of new lines.\"},{value:\"end\",description:\"Print operators at the end of previous lines.\"}]},experimentalTernaries:{category:gu,type:\"boolean\",default:!1,description:\"Use curious ternaries, with the question mark after the condition.\",oppositeDescription:\"Default behavior of ternaries; keep question marks on the same line as the consequent.\"},singleQuote:A0.singleQuote,jsxSingleQuote:{category:gu,type:\"boolean\",default:!1,description:\"Use single quotes in JSX.\"},quoteProps:{category:gu,type:\"choice\",default:\"as-needed\",description:\"Change when properties in objects are quoted.\",choices:[{value:\"as-needed\",description:\"Only add quotes around object properties where required.\"},{value:\"consistent\",description:\"If at least one property in an object requires quotes, quote all properties.\"},{value:\"preserve\",description:\"Respect the input use of quotes in object properties.\"}]},trailingComma:{category:gu,type:\"choice\",default:\"all\",description:\"Print trailing commas wherever possible when multi-line.\",choices:[{value:\"all\",description:\"Trailing commas wherever possible (including function arguments).\"},{value:\"es5\",description:\"Trailing commas where valid in ES5 (objects, arrays, etc.)\"},{value:\"none\",description:\"No trailing commas.\"}]},singleAttributePerLine:A0.singleAttributePerLine},_se=mse,vse={estree:vW,\"estree-json\":yV},bse=[...cQ,...dse],Cse=_W;function mr(s,e=0){return s[s.length-(1+e)]}function wse(s){if(s.length===0)throw new Error(\"Invalid tail call\");return[s.slice(0,s.length-1),s[s.length-1]]}function Ci(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function yse(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function xb(s,e,t){return Sse(s.length,i=>t(s[i],e))}function Sse(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function KT(s,e,t){if(s=s|0,s>=e.length)throw new TypeError(\"invalid index\");const i=e[Math.floor(e.length*Math.random())],n=[],o=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?o.push(a):r.push(a)}return s<n.length?KT(s,n,t):s<n.length+r.length?r[0]:KT(s-(n.length+r.length),o,t)}function K5(s,e){const t=[];let i;for(const n of s.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*PP(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function DV(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function Dse(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function pd(s){return s.filter(e=>!!e)}function q5(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function LV(s){return!Array.isArray(s)||s.length===0}function rs(s){return Array.isArray(s)&&s.length>0}function Wc(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function FP(s,e){return s.length>0?s[0]:e}function to(s,e){let t=typeof e==\"number\"?s:0;typeof e==\"number\"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function zL(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function EE(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function aw(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function qT(s,e){for(const t of e)s.push(t)}function OP(s){return Array.isArray(s)?s:[s]}function Lse(s,e,t){const i=xV(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function G5(s,e,t,i){const n=xV(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),Lse(s,n,i),o}function xV(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var kb;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(kb||(kb={}));function ao(s,e){return(t,i)=>e(s(t),s(i))}function xse(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!kb.isNeitherLessOrGreaterThan(n))return n}return kb.neitherLessOrGreaterThan}}const ua=(s,e)=>s-e,kse=(s,e)=>ua(s?1:0,e?1:0);function kV(s){return(e,t)=>-s(e,t)}class Hc{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class od{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new od(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new od(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||kb.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}od.empty=new od(s=>{});class xS{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,o)=>t(e[n],e[o]));return new xS(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new xS(e)}}function lo(s){return typeof s==\"string\"}function Ms(s){return typeof s==\"object\"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function Ese(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s==\"object\"&&s instanceof e}function yh(s){return typeof s==\"number\"&&!isNaN(s)}function Z5(s){return!!s&&typeof s[Symbol.iterator]==\"function\"}function EV(s){return s===!0||s===!1}function oo(s){return typeof s>\"u\"}function rd(s){return!Go(s)}function Go(s){return oo(s)||s===null}function yt(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:\"Unexpected type\")}function Ou(s){if(Go(s))throw new Error(\"Assertion Failed: argument is undefined or null\");return s}function kS(s){return typeof s==\"function\"}function Ise(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)Tse(s[i],e[i])}function Tse(s,e){if(lo(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(kS(e)){try{if(s instanceof e)return}catch{}if(!Go(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error(\"argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true\")}}function Jd(s){if(!s||typeof s!=\"object\"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i==\"object\"?Jd(i):i}),e}function Nse(s){if(!s||typeof s!=\"object\")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(IV.call(t,i)){const n=t[i];typeof n==\"object\"&&!Object.isFrozen(n)&&!Ese(n)&&e.push(n)}}return s}const IV=Object.prototype.hasOwnProperty;function TV(s,e){return GT(s,e,new Set)}function GT(s,e,t){if(Go(s))return s;const i=e(s);if(typeof i<\"u\")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(GT(o,e,t));return n}if(Ms(s)){if(t.has(s))throw new Error(\"Cannot clone recursive data-structure\");t.add(s);const n={};for(const o in s)IV.call(s,o)&&(n[o]=GT(s[o],e,t));return t.delete(s),n}return s}function UL(s,e,t=!0){return Ms(s)?(Ms(e)&&Object.keys(e).forEach(i=>{i in s?t&&(Ms(s[i])&&Ms(e[i])?UL(s[i],e[i],t):s[i]=e[i]):s[i]=e[i]}),s):e}function tr(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!=\"object\"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!tr(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!tr(n,o))return!1;for(t=0;t<n.length;t++)if(!tr(s[n[t]],e[n[t]]))return!1}return!0}function Ase(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function BP(s){const e=[];for(const t of Ase(s))typeof s[t]==\"function\"&&e.push(t);return e}function Mse(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}let Rse=typeof document<\"u\"&&document.location&&document.location.hash.indexOf(\"pseudo=true\")>=0;function NV(s,e){let t;return e.length===0?t=s:t=s.replace(/\\{(\\d+)\\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r==\"string\"?a=r:(typeof r==\"number\"||typeof r==\"boolean\"||r===void 0||r===null)&&(a=String(r)),a}),Rse&&(t=\"［\"+t.replace(/[aouei]/g,\"$&$&\")+\"］\"),t}function p(s,e,...t){return NV(e,t)}function Ve(s,e,...t){const i=NV(e,t);return{value:i,original:i}}var IE,TE;const Qp=\"en\";let ES=!1,IS=!1,Ry=!1,AV=!1,WP=!1,HP=!1,MV=!1,lw,Py=Qp,X5=Qp,Pse,Ta;const xc=globalThis;let Ls;typeof xc.vscode<\"u\"&&typeof xc.vscode.process<\"u\"?Ls=xc.vscode.process:typeof process<\"u\"&&typeof((IE=process==null?void 0:process.versions)===null||IE===void 0?void 0:IE.node)==\"string\"&&(Ls=process);const Fse=typeof((TE=Ls==null?void 0:Ls.versions)===null||TE===void 0?void 0:TE.electron)==\"string\",Ose=Fse&&(Ls==null?void 0:Ls.type)===\"renderer\";if(typeof Ls==\"object\"){ES=Ls.platform===\"win32\",IS=Ls.platform===\"darwin\",Ry=Ls.platform===\"linux\",Ry&&Ls.env.SNAP&&Ls.env.SNAP_REVISION,Ls.env.CI||Ls.env.BUILD_ARTIFACTSTAGINGDIRECTORY,lw=Qp,Py=Qp;const s=Ls.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s),t=e.availableLanguages[\"*\"];lw=e.locale,X5=e.osLocale,Py=t||Qp,Pse=e._translationsConfigFile}catch{}AV=!0}else typeof navigator==\"object\"&&!Ose?(Ta=navigator.userAgent,ES=Ta.indexOf(\"Windows\")>=0,IS=Ta.indexOf(\"Macintosh\")>=0,HP=(Ta.indexOf(\"Macintosh\")>=0||Ta.indexOf(\"iPad\")>=0||Ta.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ry=Ta.indexOf(\"Linux\")>=0,MV=(Ta==null?void 0:Ta.indexOf(\"Mobi\"))>=0,WP=!0,p({},\"_\"),lw=Qp,Py=lw,X5=navigator.language):console.error(\"Unable to resolve platform.\");const as=ES,lt=IS,$s=Ry,md=AV,Jh=WP,Bse=WP&&typeof xc.importScripts==\"function\",Wse=Bse?xc.origin:void 0,_d=HP,RV=MV,vd=Ta,Hse=Py,Vse=typeof xc.postMessage==\"function\"&&!xc.importScripts,PV=(()=>{if(Vse){const s=[];xc.addEventListener(\"message\",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),xc.postMessage({vscodeScheduleAsyncWork:i},\"*\")}}return s=>setTimeout(s)})(),Lo=IS||HP?2:ES?1:3;let Y5=!0,Q5=!1;function FV(){if(!Q5){Q5=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,Y5=new Uint16Array(s.buffer)[0]===513}return Y5}const OV=!!(vd&&vd.indexOf(\"Chrome\")>=0),zse=!!(vd&&vd.indexOf(\"Firefox\")>=0),Use=!!(!OV&&vd&&vd.indexOf(\"Safari\")>=0),$se=!!(vd&&vd.indexOf(\"Edg/\")>=0),jse=!!(vd&&vd.indexOf(\"Android\")>=0),ns={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var ft;(function(s){function e(C){return C&&typeof C==\"object\"&&typeof C[Symbol.iterator]==\"function\"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(C){yield C}s.single=n;function o(C){return e(C)?C:n(C)}s.wrap=o;function r(C){return C||t}s.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}s.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}s.isEmpty=l;function d(C){return C[Symbol.iterator]().next().value}s.first=d;function c(C,w){for(const y of C)if(w(y))return!0;return!1}s.some=c;function u(C,w){for(const y of C)if(w(y))return y}s.find=u;function*h(C,w){for(const y of C)w(y)&&(yield y)}s.filter=h;function*g(C,w){let y=0;for(const D of C)yield w(D,y++)}s.map=g;function*f(...C){for(const w of C)yield*w}s.concat=f;function m(C,w,y){let D=y;for(const L of C)D=w(D,L);return D}s.reduce=m;function*_(C,w,y=C.length){for(w<0&&(w+=C.length),y<0?y+=C.length:y>C.length&&(y=C.length);w<y;w++)yield C[w]}s.slice=_;function v(C,w=Number.POSITIVE_INFINITY){const y=[];if(w===0)return[y,C];const D=C[Symbol.iterator]();for(let L=0;L<w;L++){const k=D.next();if(k.done)return[y,s.empty()];y.push(k.value)}return[y,{[Symbol.iterator](){return D}}]}s.consume=v;async function b(C){const w=[];for await(const y of C)w.push(y);return Promise.resolve(w)}s.asyncToArray=b})(ft||(ft={}));let nn=class ZT{constructor(e){this.element=e,this.next=ZT.Undefined,this.prev=ZT.Undefined}};nn.Undefined=new nn(void 0);class Rs{constructor(){this._first=nn.Undefined,this._last=nn.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===nn.Undefined}clear(){let e=this._first;for(;e!==nn.Undefined;){const t=e.next;e.prev=nn.Undefined,e.next=nn.Undefined,e=t}this._first=nn.Undefined,this._last=nn.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new nn(e);if(this._first===nn.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==nn.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==nn.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==nn.Undefined&&e.next!==nn.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===nn.Undefined&&e.next===nn.Undefined?(this._first=nn.Undefined,this._last=nn.Undefined):e.next===nn.Undefined?(this._last=this._last.prev,this._last.next=nn.Undefined):e.prev===nn.Undefined&&(this._first=this._first.next,this._first.prev=nn.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==nn.Undefined;)yield e.element,e=e.next}}const BV=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function Kse(s=\"\"){let e=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const t of BV)s.indexOf(t)>=0||(e+=\"\\\\\"+t);return e+=\"\\\\s]+)\",new RegExp(e,\"g\")}const VP=Kse();function zP(s){let e=VP;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t=\"g\";s.ignoreCase&&(t+=\"i\"),s.multiline&&(t+=\"m\"),s.unicode&&(t+=\"u\"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const WV=new Rs;WV.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Eb(s,e,t,i,n){if(e=zP(e),n||(n=ft.first(WV)),t.length>n.maxLen){let d=s-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,s+n.maxLen/2),Eb(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-o>=n.timeBudget);d++){const c=r-n.windowSize*d;e.lastIndex=Math.max(0,c);const u=qse(e,t,r,a);if(!u&&l||(l=u,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function qse(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const El=8;class HV{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class VV{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class hi{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return $L(e,t)}compute(e,t,i){return i}}class Hv{constructor(e,t){this.newValue=e,this.didChange=t}}function $L(s,e){if(typeof s!=\"object\"||typeof e!=\"object\"||!s||!e)return new Hv(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&Ci(s,e);return new Hv(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=$L(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new Hv(s,t)}class a1{constructor(e){this.schema=void 0,this.id=e,this.name=\"_never_\",this.defaultValue=void 0}applyUpdate(e,t){return $L(e,t)}validate(e){return this.defaultValue}}class n0{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return $L(e,t)}validate(e){return typeof e>\"u\"?this.defaultValue:e}compute(e,t,i){return i}}function xe(s,e){return typeof s>\"u\"?e:s===\"false\"?!1:!!s}class Ct extends n0{constructor(e,t,i,n=void 0){typeof n<\"u\"&&(n.type=\"boolean\",n.default=i),super(e,t,i,n)}validate(e){return xe(e,this.defaultValue)}}function kg(s,e,t,i){if(typeof s>\"u\")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class zt extends n0{static clampedInt(e,t,i,n){return kg(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r<\"u\"&&(r.type=\"integer\",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return zt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function Gse(s,e,t,i){if(typeof s>\"u\")return e;const n=kr.float(s,e);return kr.clamp(n,t,i)}class kr extends n0{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e==\"number\")return e;if(typeof e>\"u\")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o<\"u\"&&(o.type=\"number\",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(kr.float(e,this.defaultValue))}}class ks extends n0{static string(e,t){return typeof e!=\"string\"?t:e}constructor(e,t,i,n=void 0){typeof n<\"u\"&&(n.type=\"string\",n.default=i),super(e,t,i,n)}validate(e){return ks.string(e,this.defaultValue)}}function Ii(s,e,t,i){return typeof s!=\"string\"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class yi extends n0{constructor(e,t,i,n,o=void 0){typeof o<\"u\"&&(o.type=\"string\",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return Ii(e,this.defaultValue,this._allowedValues)}}class dw extends hi{constructor(e,t,i,n,o,r,a=void 0){typeof a<\"u\"&&(a.type=\"string\",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!=\"string\"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function Zse(s){switch(s){case\"none\":return 0;case\"keep\":return 1;case\"brackets\":return 2;case\"advanced\":return 3;case\"full\":return 4}}class Xse extends hi{constructor(){super(2,\"accessibilitySupport\",0,{type:\"string\",enum:[\"auto\",\"on\",\"off\"],enumDescriptions:[p(\"accessibilitySupport.auto\",\"Use platform APIs to detect when a Screen Reader is attached.\"),p(\"accessibilitySupport.on\",\"Optimize for usage with a Screen Reader.\"),p(\"accessibilitySupport.off\",\"Assume a screen reader is not attached.\")],default:\"auto\",tags:[\"accessibility\"],description:p(\"accessibilitySupport\",\"Controls if the UI should run in a mode where it is optimized for screen readers.\")})}validate(e){switch(e){case\"auto\":return 0;case\"off\":return 1;case\"on\":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class Yse extends hi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,\"comments\",e,{\"editor.comments.insertSpace\":{type:\"boolean\",default:e.insertSpace,description:p(\"comments.insertSpace\",\"Controls whether a space character is inserted when commenting.\")},\"editor.comments.ignoreEmptyLines\":{type:\"boolean\",default:e.ignoreEmptyLines,description:p(\"comments.ignoreEmptyLines\",\"Controls if empty lines should be ignored with toggle, add or remove actions for line comments.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{insertSpace:xe(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:xe(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function Qse(s){switch(s){case\"blink\":return 1;case\"smooth\":return 2;case\"phase\":return 3;case\"expand\":return 4;case\"solid\":return 5}}var Hn;(function(s){s[s.Line=1]=\"Line\",s[s.Block=2]=\"Block\",s[s.Underline=3]=\"Underline\",s[s.LineThin=4]=\"LineThin\",s[s.BlockOutline=5]=\"BlockOutline\",s[s.UnderlineThin=6]=\"UnderlineThin\"})(Hn||(Hn={}));function Jse(s){switch(s){case\"line\":return Hn.Line;case\"block\":return Hn.Block;case\"underline\":return Hn.Underline;case\"line-thin\":return Hn.LineThin;case\"block-outline\":return Hn.BlockOutline;case\"underline-thin\":return Hn.UnderlineThin}}class eoe extends a1{constructor(){super(142)}compute(e,t,i){const n=[\"monaco-editor\"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)===\"default\"?n.push(\"mouse-default\"):t.get(74)===\"copy\"&&n.push(\"mouse-copy\"),t.get(111)&&n.push(\"showUnused\"),t.get(140)&&n.push(\"showDeprecated\"),n.join(\" \")}}class toe extends Ct{constructor(){super(37,\"emptySelectionClipboard\",!0,{description:p(\"emptySelectionClipboard\",\"Controls whether copying without a selection copies the current line.\")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class ioe extends hi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:\"always\",autoFindInSelection:\"never\",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,\"find\",e,{\"editor.find.cursorMoveOnType\":{type:\"boolean\",default:e.cursorMoveOnType,description:p(\"find.cursorMoveOnType\",\"Controls whether the cursor should jump to find matches while typing.\")},\"editor.find.seedSearchStringFromSelection\":{type:\"string\",enum:[\"never\",\"always\",\"selection\"],default:e.seedSearchStringFromSelection,enumDescriptions:[p(\"editor.find.seedSearchStringFromSelection.never\",\"Never seed search string from the editor selection.\"),p(\"editor.find.seedSearchStringFromSelection.always\",\"Always seed search string from the editor selection, including word at cursor position.\"),p(\"editor.find.seedSearchStringFromSelection.selection\",\"Only seed search string from the editor selection.\")],description:p(\"find.seedSearchStringFromSelection\",\"Controls whether the search string in the Find Widget is seeded from the editor selection.\")},\"editor.find.autoFindInSelection\":{type:\"string\",enum:[\"never\",\"always\",\"multiline\"],default:e.autoFindInSelection,enumDescriptions:[p(\"editor.find.autoFindInSelection.never\",\"Never turn on Find in Selection automatically (default).\"),p(\"editor.find.autoFindInSelection.always\",\"Always turn on Find in Selection automatically.\"),p(\"editor.find.autoFindInSelection.multiline\",\"Turn on Find in Selection automatically when multiple lines of content are selected.\")],description:p(\"find.autoFindInSelection\",\"Controls the condition for turning on Find in Selection automatically.\")},\"editor.find.globalFindClipboard\":{type:\"boolean\",default:e.globalFindClipboard,description:p(\"find.globalFindClipboard\",\"Controls whether the Find Widget should read or modify the shared find clipboard on macOS.\"),included:lt},\"editor.find.addExtraSpaceOnTop\":{type:\"boolean\",default:e.addExtraSpaceOnTop,description:p(\"find.addExtraSpaceOnTop\",\"Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.\")},\"editor.find.loop\":{type:\"boolean\",default:e.loop,description:p(\"find.loop\",\"Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{cursorMoveOnType:xe(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection==\"boolean\"?e.seedSearchStringFromSelection?\"always\":\"never\":Ii(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,[\"never\",\"always\",\"selection\"]),autoFindInSelection:typeof e.autoFindInSelection==\"boolean\"?e.autoFindInSelection?\"always\":\"never\":Ii(t.autoFindInSelection,this.defaultValue.autoFindInSelection,[\"never\",\"always\",\"multiline\"]),globalFindClipboard:xe(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:xe(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:xe(t.loop,this.defaultValue.loop)}}}class Zo extends hi{constructor(){super(51,\"fontLigatures\",Zo.OFF,{anyOf:[{type:\"boolean\",description:p(\"fontLigatures\",\"Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.\")},{type:\"string\",description:p(\"fontFeatureSettings\",\"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.\")}],description:p(\"fontLigaturesGeneral\",\"Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property.\"),default:!1})}validate(e){return typeof e>\"u\"?this.defaultValue:typeof e==\"string\"?e===\"false\"||e.length===0?Zo.OFF:e===\"true\"?Zo.ON:e:e?Zo.ON:Zo.OFF}}Zo.OFF='\"liga\" off, \"calt\" off';Zo.ON='\"liga\" on, \"calt\" on';class $a extends hi{constructor(){super(54,\"fontVariations\",$a.OFF,{anyOf:[{type:\"boolean\",description:p(\"fontVariations\",\"Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.\")},{type:\"string\",description:p(\"fontVariationSettings\",\"Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.\")}],description:p(\"fontVariationsGeneral\",\"Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property.\"),default:!1})}validate(e){return typeof e>\"u\"?this.defaultValue:typeof e==\"string\"?e===\"false\"?$a.OFF:e===\"true\"?$a.TRANSLATE:e:e?$a.TRANSLATE:$a.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}$a.OFF=\"normal\";$a.TRANSLATE=\"translate\";class noe extends a1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class soe extends n0{constructor(){super(52,\"fontSize\",co.fontSize,{type:\"number\",minimum:6,maximum:100,default:co.fontSize,description:p(\"fontSize\",\"Controls the font size in pixels.\")})}validate(e){const t=kr.float(e,this.defaultValue);return t===0?co.fontSize:kr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class Vl extends hi{constructor(){super(53,\"fontWeight\",co.fontWeight,{anyOf:[{type:\"number\",minimum:Vl.MINIMUM_VALUE,maximum:Vl.MAXIMUM_VALUE,errorMessage:p(\"fontWeightErrorMessage\",'Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed.')},{type:\"string\",pattern:\"^(normal|bold|1000|[1-9][0-9]{0,2})$\"},{enum:Vl.SUGGESTION_VALUES}],default:co.fontWeight,description:p(\"fontWeight\",'Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000.')})}validate(e){return e===\"normal\"||e===\"bold\"?e:String(zt.clampedInt(e,co.fontWeight,Vl.MINIMUM_VALUE,Vl.MAXIMUM_VALUE))}}Vl.SUGGESTION_VALUES=[\"normal\",\"bold\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"];Vl.MINIMUM_VALUE=1;Vl.MAXIMUM_VALUE=1e3;class ooe extends hi{constructor(){const e={multiple:\"peek\",multipleDefinitions:\"peek\",multipleTypeDefinitions:\"peek\",multipleDeclarations:\"peek\",multipleImplementations:\"peek\",multipleReferences:\"peek\",alternativeDefinitionCommand:\"editor.action.goToReferences\",alternativeTypeDefinitionCommand:\"editor.action.goToReferences\",alternativeDeclarationCommand:\"editor.action.goToReferences\",alternativeImplementationCommand:\"\",alternativeReferenceCommand:\"\"},t={type:\"string\",enum:[\"peek\",\"gotoAndPeek\",\"goto\"],default:e.multiple,enumDescriptions:[p(\"editor.gotoLocation.multiple.peek\",\"Show Peek view of the results (default)\"),p(\"editor.gotoLocation.multiple.gotoAndPeek\",\"Go to the primary result and show a Peek view\"),p(\"editor.gotoLocation.multiple.goto\",\"Go to the primary result and enable Peek-less navigation to others\")]},i=[\"\",\"editor.action.referenceSearch.trigger\",\"editor.action.goToReferences\",\"editor.action.peekImplementation\",\"editor.action.goToImplementation\",\"editor.action.peekTypeDefinition\",\"editor.action.goToTypeDefinition\",\"editor.action.peekDeclaration\",\"editor.action.revealDeclaration\",\"editor.action.peekDefinition\",\"editor.action.revealDefinitionAside\",\"editor.action.revealDefinition\"];super(58,\"gotoLocation\",e,{\"editor.gotoLocation.multiple\":{deprecationMessage:p(\"editor.gotoLocation.multiple.deprecated\",\"This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.\")},\"editor.gotoLocation.multipleDefinitions\":{description:p(\"editor.editor.gotoLocation.multipleDefinitions\",\"Controls the behavior the 'Go to Definition'-command when multiple target locations exist.\"),...t},\"editor.gotoLocation.multipleTypeDefinitions\":{description:p(\"editor.editor.gotoLocation.multipleTypeDefinitions\",\"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.\"),...t},\"editor.gotoLocation.multipleDeclarations\":{description:p(\"editor.editor.gotoLocation.multipleDeclarations\",\"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.\"),...t},\"editor.gotoLocation.multipleImplementations\":{description:p(\"editor.editor.gotoLocation.multipleImplemenattions\",\"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.\"),...t},\"editor.gotoLocation.multipleReferences\":{description:p(\"editor.editor.gotoLocation.multipleReferences\",\"Controls the behavior the 'Go to References'-command when multiple target locations exist.\"),...t},\"editor.gotoLocation.alternativeDefinitionCommand\":{type:\"string\",default:e.alternativeDefinitionCommand,enum:i,description:p(\"alternativeDefinitionCommand\",\"Alternative command id that is being executed when the result of 'Go to Definition' is the current location.\")},\"editor.gotoLocation.alternativeTypeDefinitionCommand\":{type:\"string\",default:e.alternativeTypeDefinitionCommand,enum:i,description:p(\"alternativeTypeDefinitionCommand\",\"Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.\")},\"editor.gotoLocation.alternativeDeclarationCommand\":{type:\"string\",default:e.alternativeDeclarationCommand,enum:i,description:p(\"alternativeDeclarationCommand\",\"Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.\")},\"editor.gotoLocation.alternativeImplementationCommand\":{type:\"string\",default:e.alternativeImplementationCommand,enum:i,description:p(\"alternativeImplementationCommand\",\"Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.\")},\"editor.gotoLocation.alternativeReferenceCommand\":{type:\"string\",default:e.alternativeReferenceCommand,enum:i,description:p(\"alternativeReferenceCommand\",\"Alternative command id that is being executed when the result of 'Go to Reference' is the current location.\")}})}validate(e){var t,i,n,o,r;if(!e||typeof e!=\"object\")return this.defaultValue;const a=e;return{multiple:Ii(a.multiple,this.defaultValue.multiple,[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:Ii(a.multipleDefinitions,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:Ii(a.multipleTypeDefinitions,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:Ii(a.multipleDeclarations,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleImplementations:(o=a.multipleImplementations)!==null&&o!==void 0?o:Ii(a.multipleImplementations,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:Ii(a.multipleReferences,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),alternativeDefinitionCommand:ks.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:ks.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:ks.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:ks.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:ks.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class roe extends hi{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,\"hover\",e,{\"editor.hover.enabled\":{type:\"boolean\",default:e.enabled,description:p(\"hover.enabled\",\"Controls whether the hover is shown.\")},\"editor.hover.delay\":{type:\"number\",default:e.delay,minimum:0,maximum:1e4,description:p(\"hover.delay\",\"Controls the delay in milliseconds after which the hover is shown.\")},\"editor.hover.sticky\":{type:\"boolean\",default:e.sticky,description:p(\"hover.sticky\",\"Controls whether the hover should remain visible when mouse is moved over it.\")},\"editor.hover.hidingDelay\":{type:\"integer\",minimum:0,default:e.hidingDelay,description:p(\"hover.hidingDelay\",\"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.\")},\"editor.hover.above\":{type:\"boolean\",default:e.above,description:p(\"hover.above\",\"Prefer showing hovers above the line, if there's space.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),delay:zt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:xe(t.sticky,this.defaultValue.sticky),hidingDelay:zt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:xe(t.above,this.defaultValue.above)}}}class Lm extends a1{constructor(){super(145)}compute(e,t,i){return Lm.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,u=e.minimap.renderCharacters;let h=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=u?2:3;let y=Math.floor(o*n);const D=y/o;let L=!1,k=!1,I=w*h,O=h/o,R=1;if(f===\"fill\"||f===\"fit\"){const{typicalViewportLineCount:De,extraLinesBeforeFirstLine:ge,extraLinesBeyondLastLine:We,desiredRatio:ye,minimapLineCount:ve}=Lm.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(v/ve>1)L=!0,k=!0,h=1,I=1,O=h/o;else{let Qt=!1,Ui=h+1;if(f===\"fit\"){const Gi=Math.ceil((ge+v+We)*I);C&&a&&b<=t.stableFitRemainingWidth?(Qt=!0,Ui=t.stableFitMaxMinimapScale):Qt=Gi>y}if(f===\"fill\"||Qt){L=!0;const Gi=h;I=Math.min(l*o,Math.max(1,Math.floor(1/ye))),C&&a&&b<=t.stableFitRemainingWidth&&(Ui=t.stableFitMaxMinimapScale),h=Math.min(Ui,Math.max(1,Math.floor(I/w))),h>Gi&&(R=Math.min(2,h/Gi)),O=h/o/R,y=Math.ceil(Math.max(De,ge+v+We)*I),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const P=Math.floor(g*O),F=Math.min(P,Math.max(0,Math.floor((b-_-2)*O/(d+O)))+El);let V=Math.floor(o*F);const U=V/o;V=Math.floor(V*R);const J=u?1:2,pe=m===\"left\"?0:i-F-_;return{renderMinimap:J,minimapLeft:pe,minimapWidth:F,minimapHeightIsEditorHeight:L,minimapIsSampling:k,minimapScale:h,minimapLineHeight:I,minimapCanvasInnerWidth:V,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:U,minimapCanvasOuterHeight:D}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,c=t.viewLineCount,u=e.get(137),h=u===\"inherit\"?e.get(136):u,g=h===\"inherit\"?e.get(132):h,f=e.get(135),m=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),y=e.get(73),D=e.get(103),L=D.verticalScrollbarSize,k=D.verticalHasArrows,I=D.arrowSize,O=D.horizontalScrollbarSize,R=e.get(43),P=e.get(110)!==\"never\";let F=e.get(66);R&&P&&(F+=16);let V=0;if(v){const tn=Math.max(r,b);V=Math.round(tn*l)}let U=0;_&&(U=o*t.glyphMarginDecorationLaneCount);let J=0,pe=J+U,De=pe+V,ge=De+F;const We=i-U-V-F;let ye=!1,ve=!1,ce=-1;h===\"inherit\"&&m?(ye=!0,ve=!0):g===\"on\"||g===\"bounded\"?ve=!0:g===\"wordWrapColumn\"&&(ce=f);const Qt=Lm._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:y,verticalScrollbarWidth:L,viewLineCount:c,remainingWidth:We,isViewportWrapping:ve},t.memory||new VV);Qt.renderMinimap!==0&&Qt.minimapLeft===0&&(J+=Qt.minimapWidth,pe+=Qt.minimapWidth,De+=Qt.minimapWidth,ge+=Qt.minimapWidth);const Ui=We-Qt.minimapWidth,Gi=Math.max(1,Math.floor((Ui-L-2)/a)),St=k?I:0;return ve&&(ce=Math.max(1,Gi),g===\"bounded\"&&(ce=Math.min(ce,f))),{width:i,height:n,glyphMarginLeft:J,glyphMarginWidth:U,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:pe,lineNumbersWidth:V,decorationsLeft:De,decorationsWidth:F,contentLeft:ge,contentWidth:Ui,minimap:Qt,viewportColumn:Gi,isWordWrapMinified:ye,isViewportWrapping:ve,wrappingColumn:ce,verticalScrollbarWidth:L,horizontalScrollbarHeight:O,overviewRuler:{top:St,width:L,height:n-2*St,right:0}}}}class aoe extends hi{constructor(){super(139,\"wrappingStrategy\",\"simple\",{\"editor.wrappingStrategy\":{enumDescriptions:[p(\"wrappingStrategy.simple\",\"Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width.\"),p(\"wrappingStrategy.advanced\",\"Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.\")],type:\"string\",enum:[\"simple\",\"advanced\"],default:\"simple\",description:p(\"wrappingStrategy\",\"Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.\")}})}validate(e){return Ii(e,\"simple\",[\"simple\",\"advanced\"])}compute(e,t,i){return t.get(2)===2?\"advanced\":i}}var ia;(function(s){s.Off=\"off\",s.OnCode=\"onCode\",s.On=\"on\"})(ia||(ia={}));class loe extends hi{constructor(){const e={enabled:ia.On};super(65,\"lightbulb\",e,{\"editor.lightbulb.enabled\":{type:\"string\",tags:[\"experimental\"],enum:[ia.Off,ia.OnCode,ia.On],default:e.enabled,enumDescriptions:[p(\"editor.lightbulb.enabled.off\",\"Disable the code action menu.\"),p(\"editor.lightbulb.enabled.onCode\",\"Show the code action menu when the cursor is on lines with code.\"),p(\"editor.lightbulb.enabled.on\",\"Show the code action menu when the cursor is on lines with code or on empty lines.\")],description:p(\"enabled\",\"Enables the Code Action lightbulb in the editor.\")}})}validate(e){return!e||typeof e!=\"object\"?this.defaultValue:{enabled:Ii(e.enabled,this.defaultValue.enabled,[ia.Off,ia.OnCode,ia.On])}}}class doe extends hi{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:\"outlineModel\",scrollWithEditor:!0};super(115,\"stickyScroll\",e,{\"editor.stickyScroll.enabled\":{type:\"boolean\",default:e.enabled,description:p(\"editor.stickyScroll.enabled\",\"Shows the nested current scopes during the scroll at the top of the editor.\"),tags:[\"experimental\"]},\"editor.stickyScroll.maxLineCount\":{type:\"number\",default:e.maxLineCount,minimum:1,maximum:20,description:p(\"editor.stickyScroll.maxLineCount\",\"Defines the maximum number of sticky lines to show.\")},\"editor.stickyScroll.defaultModel\":{type:\"string\",enum:[\"outlineModel\",\"foldingProviderModel\",\"indentationModel\"],default:e.defaultModel,description:p(\"editor.stickyScroll.defaultModel\",\"Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.\")},\"editor.stickyScroll.scrollWithEditor\":{type:\"boolean\",default:e.scrollWithEditor,description:p(\"editor.stickyScroll.scrollWithEditor\",\"Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),maxLineCount:zt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Ii(t.defaultModel,this.defaultValue.defaultModel,[\"outlineModel\",\"foldingProviderModel\",\"indentationModel\"]),scrollWithEditor:xe(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class coe extends hi{constructor(){const e={enabled:\"on\",fontSize:0,fontFamily:\"\",padding:!1};super(141,\"inlayHints\",e,{\"editor.inlayHints.enabled\":{type:\"string\",default:e.enabled,description:p(\"inlayHints.enable\",\"Enables the inlay hints in the editor.\"),enum:[\"on\",\"onUnlessPressed\",\"offUnlessPressed\",\"off\"],markdownEnumDescriptions:[p(\"editor.inlayHints.on\",\"Inlay hints are enabled\"),p(\"editor.inlayHints.onUnlessPressed\",\"Inlay hints are showing by default and hide when holding {0}\",lt?\"Ctrl+Option\":\"Ctrl+Alt\"),p(\"editor.inlayHints.offUnlessPressed\",\"Inlay hints are hidden by default and show when holding {0}\",lt?\"Ctrl+Option\":\"Ctrl+Alt\"),p(\"editor.inlayHints.off\",\"Inlay hints are disabled\")]},\"editor.inlayHints.fontSize\":{type:\"number\",default:e.fontSize,markdownDescription:p(\"inlayHints.fontSize\",\"Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.\",\"`#editor.fontSize#`\",\"`5`\")},\"editor.inlayHints.fontFamily\":{type:\"string\",default:e.fontFamily,markdownDescription:p(\"inlayHints.fontFamily\",\"Controls font family of inlay hints in the editor. When set to empty, the {0} is used.\",\"`#editor.fontFamily#`\")},\"editor.inlayHints.padding\":{type:\"boolean\",default:e.padding,description:p(\"inlayHints.padding\",\"Enables the padding around the inlay hints in the editor.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return typeof t.enabled==\"boolean\"&&(t.enabled=t.enabled?\"on\":\"off\"),{enabled:Ii(t.enabled,this.defaultValue.enabled,[\"on\",\"off\",\"offUnlessPressed\",\"onUnlessPressed\"]),fontSize:zt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:ks.string(t.fontFamily,this.defaultValue.fontFamily),padding:xe(t.padding,this.defaultValue.padding)}}}class uoe extends hi{constructor(){super(66,\"lineDecorationsWidth\",10)}validate(e){return typeof e==\"string\"&&/^\\d+(\\.\\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):zt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?zt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class hoe extends kr{constructor(){super(67,\"lineHeight\",co.lineHeight,e=>kr.clamp(e,0,150),{markdownDescription:p(\"lineHeight\",`Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class goe extends hi{constructor(){const e={enabled:!0,size:\"proportional\",side:\"right\",showSlider:\"mouseover\",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9};super(73,\"minimap\",e,{\"editor.minimap.enabled\":{type:\"boolean\",default:e.enabled,description:p(\"minimap.enabled\",\"Controls whether the minimap is shown.\")},\"editor.minimap.autohide\":{type:\"boolean\",default:e.autohide,description:p(\"minimap.autohide\",\"Controls whether the minimap is hidden automatically.\")},\"editor.minimap.size\":{type:\"string\",enum:[\"proportional\",\"fill\",\"fit\"],enumDescriptions:[p(\"minimap.size.proportional\",\"The minimap has the same size as the editor contents (and might scroll).\"),p(\"minimap.size.fill\",\"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling).\"),p(\"minimap.size.fit\",\"The minimap will shrink as necessary to never be larger than the editor (no scrolling).\")],default:e.size,description:p(\"minimap.size\",\"Controls the size of the minimap.\")},\"editor.minimap.side\":{type:\"string\",enum:[\"left\",\"right\"],default:e.side,description:p(\"minimap.side\",\"Controls the side where to render the minimap.\")},\"editor.minimap.showSlider\":{type:\"string\",enum:[\"always\",\"mouseover\"],default:e.showSlider,description:p(\"minimap.showSlider\",\"Controls when the minimap slider is shown.\")},\"editor.minimap.scale\":{type:\"number\",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:p(\"minimap.scale\",\"Scale of content drawn in the minimap: 1, 2 or 3.\")},\"editor.minimap.renderCharacters\":{type:\"boolean\",default:e.renderCharacters,description:p(\"minimap.renderCharacters\",\"Render the actual characters on a line as opposed to color blocks.\")},\"editor.minimap.maxColumn\":{type:\"number\",default:e.maxColumn,description:p(\"minimap.maxColumn\",\"Limit the width of the minimap to render at most a certain number of columns.\")},\"editor.minimap.showRegionSectionHeaders\":{type:\"boolean\",default:e.showRegionSectionHeaders,description:p(\"minimap.showRegionSectionHeaders\",\"Controls whether named regions are shown as section headers in the minimap.\")},\"editor.minimap.showMarkSectionHeaders\":{type:\"boolean\",default:e.showMarkSectionHeaders,description:p(\"minimap.showMarkSectionHeaders\",\"Controls whether MARK: comments are shown as section headers in the minimap.\")},\"editor.minimap.sectionHeaderFontSize\":{type:\"number\",default:e.sectionHeaderFontSize,description:p(\"minimap.sectionHeaderFontSize\",\"Controls the font size of section headers in the minimap.\")}})}validate(e){var t;if(!e||typeof e!=\"object\")return this.defaultValue;const i=e;return{enabled:xe(i.enabled,this.defaultValue.enabled),autohide:xe(i.autohide,this.defaultValue.autohide),size:Ii(i.size,this.defaultValue.size,[\"proportional\",\"fill\",\"fit\"]),side:Ii(i.side,this.defaultValue.side,[\"right\",\"left\"]),showSlider:Ii(i.showSlider,this.defaultValue.showSlider,[\"always\",\"mouseover\"]),renderCharacters:xe(i.renderCharacters,this.defaultValue.renderCharacters),scale:zt.clampedInt(i.scale,1,1,3),maxColumn:zt.clampedInt(i.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:xe(i.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:xe(i.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:kr.clamp((t=i.sectionHeaderFontSize)!==null&&t!==void 0?t:this.defaultValue.sectionHeaderFontSize,4,32)}}}function foe(s){return s===\"ctrlCmd\"?lt?\"metaKey\":\"ctrlKey\":\"altKey\"}class poe extends hi{constructor(){super(84,\"padding\",{top:0,bottom:0},{\"editor.padding.top\":{type:\"number\",default:0,minimum:0,maximum:1e3,description:p(\"padding.top\",\"Controls the amount of space between the top edge of the editor and the first line.\")},\"editor.padding.bottom\":{type:\"number\",default:0,minimum:0,maximum:1e3,description:p(\"padding.bottom\",\"Controls the amount of space between the bottom edge of the editor and the last line.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{top:zt.clampedInt(t.top,0,0,1e3),bottom:zt.clampedInt(t.bottom,0,0,1e3)}}}class moe extends hi{constructor(){const e={enabled:!0,cycle:!0};super(86,\"parameterHints\",e,{\"editor.parameterHints.enabled\":{type:\"boolean\",default:e.enabled,description:p(\"parameterHints.enabled\",\"Enables a pop-up that shows parameter documentation and type information as you type.\")},\"editor.parameterHints.cycle\":{type:\"boolean\",default:e.cycle,description:p(\"parameterHints.cycle\",\"Controls whether the parameter hints menu cycles or closes when reaching the end of the list.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),cycle:xe(t.cycle,this.defaultValue.cycle)}}}class _oe extends a1{constructor(){super(143)}compute(e,t,i){return e.pixelRatio}}class voe extends hi{constructor(){const e={other:\"on\",comments:\"off\",strings:\"off\"},t=[{type:\"boolean\"},{type:\"string\",enum:[\"on\",\"inline\",\"off\"],enumDescriptions:[p(\"on\",\"Quick suggestions show inside the suggest widget\"),p(\"inline\",\"Quick suggestions show as ghost text\"),p(\"off\",\"Quick suggestions are disabled\")]}];super(89,\"quickSuggestions\",e,{type:\"object\",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:p(\"quickSuggestions.strings\",\"Enable quick suggestions inside strings.\")},comments:{anyOf:t,default:e.comments,description:p(\"quickSuggestions.comments\",\"Enable quick suggestions inside comments.\")},other:{anyOf:t,default:e.other,description:p(\"quickSuggestions.other\",\"Enable quick suggestions outside of strings and comments.\")}},default:e,markdownDescription:p(\"quickSuggestions\",\"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.\",\"#editor.suggestOnTriggerCharacters#\")}),this.defaultValue=e}validate(e){if(typeof e==\"boolean\"){const d=e?\"on\":\"off\";return{comments:d,strings:d,other:d}}if(!e||typeof e!=\"object\")return this.defaultValue;const{other:t,comments:i,strings:n}=e,o=[\"on\",\"inline\",\"off\"];let r,a,l;return typeof t==\"boolean\"?r=t?\"on\":\"off\":r=Ii(t,this.defaultValue.other,o),typeof i==\"boolean\"?a=i?\"on\":\"off\":a=Ii(i,this.defaultValue.comments,o),typeof n==\"boolean\"?l=n?\"on\":\"off\":l=Ii(n,this.defaultValue.strings,o),{other:r,comments:a,strings:l}}}class boe extends hi{constructor(){super(68,\"lineNumbers\",{renderType:1,renderFn:null},{type:\"string\",enum:[\"off\",\"on\",\"relative\",\"interval\"],enumDescriptions:[p(\"lineNumbers.off\",\"Line numbers are not rendered.\"),p(\"lineNumbers.on\",\"Line numbers are rendered as absolute number.\"),p(\"lineNumbers.relative\",\"Line numbers are rendered as distance in lines to cursor position.\"),p(\"lineNumbers.interval\",\"Line numbers are rendered every 10 lines.\")],default:\"on\",description:p(\"lineNumbers\",\"Controls the display of line numbers.\")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<\"u\"&&(typeof e==\"function\"?(t=4,i=e):e===\"interval\"?t=3:e===\"relative\"?t=2:e===\"on\"?t=1:t=0),{renderType:t,renderFn:i}}}function TS(s){const e=s.get(98);return e===\"editable\"?s.get(91):e!==\"on\"}class Coe extends hi{constructor(){const e=[],t={type:\"number\",description:p(\"rulers.size\",\"Number of monospace characters at which this editor ruler will render.\")};super(102,\"rulers\",e,{type:\"array\",items:{anyOf:[t,{type:[\"object\"],properties:{column:t,color:{type:\"string\",description:p(\"rulers.color\",\"Color of this editor ruler.\"),format:\"color-hex\"}}}]},default:e,description:p(\"rulers\",\"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.\")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i==\"number\")t.push({column:zt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i==\"object\"){const n=i;t.push({column:zt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class woe extends hi{constructor(){super(92,\"readOnlyMessage\",void 0)}validate(e){return!e||typeof e!=\"object\"?this.defaultValue:e}}function J5(s,e){if(typeof s!=\"string\")return e;switch(s){case\"hidden\":return 2;case\"visible\":return 3;default:return 1}}let yoe=class extends hi{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(103,\"scrollbar\",e,{\"editor.scrollbar.vertical\":{type:\"string\",enum:[\"auto\",\"visible\",\"hidden\"],enumDescriptions:[p(\"scrollbar.vertical.auto\",\"The vertical scrollbar will be visible only when necessary.\"),p(\"scrollbar.vertical.visible\",\"The vertical scrollbar will always be visible.\"),p(\"scrollbar.vertical.fit\",\"The vertical scrollbar will always be hidden.\")],default:\"auto\",description:p(\"scrollbar.vertical\",\"Controls the visibility of the vertical scrollbar.\")},\"editor.scrollbar.horizontal\":{type:\"string\",enum:[\"auto\",\"visible\",\"hidden\"],enumDescriptions:[p(\"scrollbar.horizontal.auto\",\"The horizontal scrollbar will be visible only when necessary.\"),p(\"scrollbar.horizontal.visible\",\"The horizontal scrollbar will always be visible.\"),p(\"scrollbar.horizontal.fit\",\"The horizontal scrollbar will always be hidden.\")],default:\"auto\",description:p(\"scrollbar.horizontal\",\"Controls the visibility of the horizontal scrollbar.\")},\"editor.scrollbar.verticalScrollbarSize\":{type:\"number\",default:e.verticalScrollbarSize,description:p(\"scrollbar.verticalScrollbarSize\",\"The width of the vertical scrollbar.\")},\"editor.scrollbar.horizontalScrollbarSize\":{type:\"number\",default:e.horizontalScrollbarSize,description:p(\"scrollbar.horizontalScrollbarSize\",\"The height of the horizontal scrollbar.\")},\"editor.scrollbar.scrollByPage\":{type:\"boolean\",default:e.scrollByPage,description:p(\"scrollbar.scrollByPage\",\"Controls whether clicks scroll by page or jump to click position.\")},\"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight\":{type:\"boolean\",default:e.ignoreHorizontalScrollbarInContentHeight,description:p(\"scrollbar.ignoreHorizontalScrollbarInContentHeight\",\"When set, the horizontal scrollbar will not increase the size of the editor's content.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e,i=zt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=zt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:zt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:J5(t.vertical,this.defaultValue.vertical),horizontal:J5(t.horizontal,this.defaultValue.horizontal),useShadows:xe(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:xe(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:xe(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:xe(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:xe(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:zt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:zt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:xe(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:xe(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const zo=\"inUntrustedWorkspace\",no={allowedCharacters:\"editor.unicodeHighlight.allowedCharacters\",invisibleCharacters:\"editor.unicodeHighlight.invisibleCharacters\",nonBasicASCII:\"editor.unicodeHighlight.nonBasicASCII\",ambiguousCharacters:\"editor.unicodeHighlight.ambiguousCharacters\",includeComments:\"editor.unicodeHighlight.includeComments\",includeStrings:\"editor.unicodeHighlight.includeStrings\",allowedLocales:\"editor.unicodeHighlight.allowedLocales\"};class Soe extends hi{constructor(){const e={nonBasicASCII:zo,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:zo,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,\"unicodeHighlight\",e,{[no.nonBasicASCII]:{restricted:!0,type:[\"boolean\",\"string\"],enum:[!0,!1,zo],default:e.nonBasicASCII,description:p(\"unicodeHighlight.nonBasicASCII\",\"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.\")},[no.invisibleCharacters]:{restricted:!0,type:\"boolean\",default:e.invisibleCharacters,description:p(\"unicodeHighlight.invisibleCharacters\",\"Controls whether characters that just reserve space or have no width at all are highlighted.\")},[no.ambiguousCharacters]:{restricted:!0,type:\"boolean\",default:e.ambiguousCharacters,description:p(\"unicodeHighlight.ambiguousCharacters\",\"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.\")},[no.includeComments]:{restricted:!0,type:[\"boolean\",\"string\"],enum:[!0,!1,zo],default:e.includeComments,description:p(\"unicodeHighlight.includeComments\",\"Controls whether characters in comments should also be subject to Unicode highlighting.\")},[no.includeStrings]:{restricted:!0,type:[\"boolean\",\"string\"],enum:[!0,!1,zo],default:e.includeStrings,description:p(\"unicodeHighlight.includeStrings\",\"Controls whether characters in strings should also be subject to Unicode highlighting.\")},[no.allowedCharacters]:{restricted:!0,type:\"object\",default:e.allowedCharacters,description:p(\"unicodeHighlight.allowedCharacters\",\"Defines allowed characters that are not being highlighted.\"),additionalProperties:{type:\"boolean\"}},[no.allowedLocales]:{restricted:!0,type:\"object\",additionalProperties:{type:\"boolean\"},default:e.allowedLocales,description:p(\"unicodeHighlight.allowedLocales\",\"Unicode characters that are common in allowed locales are not being highlighted.\")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(tr(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(tr(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new Hv(n.newValue,!0):n}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{nonBasicASCII:xm(t.nonBasicASCII,zo,[!0,!1,zo]),invisibleCharacters:xe(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:xe(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:xm(t.includeComments,zo,[!0,!1,zo]),includeStrings:xm(t.includeStrings,zo,[!0,!1,zo]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!=\"object\"||!e)return t;const i={};for(const[n,o]of Object.entries(e))o===!0&&(i[n]=!0);return i}}class Doe extends hi{constructor(){const e={enabled:!0,mode:\"subwordSmart\",showToolbar:\"onHover\",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:\"default\"};super(62,\"inlineSuggest\",e,{\"editor.inlineSuggest.enabled\":{type:\"boolean\",default:e.enabled,description:p(\"inlineSuggest.enabled\",\"Controls whether to automatically show inline suggestions in the editor.\")},\"editor.inlineSuggest.showToolbar\":{type:\"string\",default:e.showToolbar,enum:[\"always\",\"onHover\",\"never\"],enumDescriptions:[p(\"inlineSuggest.showToolbar.always\",\"Show the inline suggestion toolbar whenever an inline suggestion is shown.\"),p(\"inlineSuggest.showToolbar.onHover\",\"Show the inline suggestion toolbar when hovering over an inline suggestion.\"),p(\"inlineSuggest.showToolbar.never\",\"Never show the inline suggestion toolbar.\")],description:p(\"inlineSuggest.showToolbar\",\"Controls when to show the inline suggestion toolbar.\")},\"editor.inlineSuggest.suppressSuggestions\":{type:\"boolean\",default:e.suppressSuggestions,description:p(\"inlineSuggest.suppressSuggestions\",\"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.\")},\"editor.inlineSuggest.fontFamily\":{type:\"string\",default:e.fontFamily,description:p(\"inlineSuggest.fontFamily\",\"Controls the font family of the inline suggestions.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),mode:Ii(t.mode,this.defaultValue.mode,[\"prefix\",\"subword\",\"subwordSmart\"]),showToolbar:Ii(t.showToolbar,this.defaultValue.showToolbar,[\"always\",\"onHover\",\"never\"]),suppressSuggestions:xe(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:xe(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:ks.string(t.fontFamily,this.defaultValue.fontFamily)}}}class Loe extends hi{constructor(){const e={enabled:!1,showToolbar:\"onHover\",fontFamily:\"default\",keepOnBlur:!1,backgroundColoring:!1};super(63,\"experimentalInlineEdit\",e,{\"editor.experimentalInlineEdit.enabled\":{type:\"boolean\",default:e.enabled,description:p(\"inlineEdit.enabled\",\"Controls whether to show inline edits in the editor.\")},\"editor.experimentalInlineEdit.showToolbar\":{type:\"string\",default:e.showToolbar,enum:[\"always\",\"onHover\",\"never\"],enumDescriptions:[p(\"inlineEdit.showToolbar.always\",\"Show the inline edit toolbar whenever an inline suggestion is shown.\"),p(\"inlineEdit.showToolbar.onHover\",\"Show the inline edit toolbar when hovering over an inline suggestion.\"),p(\"inlineEdit.showToolbar.never\",\"Never show the inline edit toolbar.\")],description:p(\"inlineEdit.showToolbar\",\"Controls when to show the inline edit toolbar.\")},\"editor.experimentalInlineEdit.fontFamily\":{type:\"string\",default:e.fontFamily,description:p(\"inlineEdit.fontFamily\",\"Controls the font family of the inline edit.\")},\"editor.experimentalInlineEdit.backgroundColoring\":{type:\"boolean\",default:e.backgroundColoring,description:p(\"inlineEdit.backgroundColoring\",\"Controls whether to color the background of inline edits.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),showToolbar:Ii(t.showToolbar,this.defaultValue.showToolbar,[\"always\",\"onHover\",\"never\"]),fontFamily:ks.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:xe(t.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:xe(t.backgroundColoring,this.defaultValue.backgroundColoring)}}}class xoe extends hi{constructor(){const e={enabled:ns.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:ns.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,\"bracketPairColorization\",e,{\"editor.bracketPairColorization.enabled\":{type:\"boolean\",default:e.enabled,markdownDescription:p(\"bracketPairColorization.enabled\",\"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.\",\"`#workbench.colorCustomizations#`\")},\"editor.bracketPairColorization.independentColorPoolPerBracketType\":{type:\"boolean\",default:e.independentColorPoolPerBracketType,description:p(\"bracketPairColorization.independentColorPoolPerBracketType\",\"Controls whether each bracket type has its own independent color pool.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:xe(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class koe extends hi{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:\"active\",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,\"guides\",e,{\"editor.guides.bracketPairs\":{type:[\"boolean\",\"string\"],enum:[!0,\"active\",!1],enumDescriptions:[p(\"editor.guides.bracketPairs.true\",\"Enables bracket pair guides.\"),p(\"editor.guides.bracketPairs.active\",\"Enables bracket pair guides only for the active bracket pair.\"),p(\"editor.guides.bracketPairs.false\",\"Disables bracket pair guides.\")],default:e.bracketPairs,description:p(\"editor.guides.bracketPairs\",\"Controls whether bracket pair guides are enabled or not.\")},\"editor.guides.bracketPairsHorizontal\":{type:[\"boolean\",\"string\"],enum:[!0,\"active\",!1],enumDescriptions:[p(\"editor.guides.bracketPairsHorizontal.true\",\"Enables horizontal guides as addition to vertical bracket pair guides.\"),p(\"editor.guides.bracketPairsHorizontal.active\",\"Enables horizontal guides only for the active bracket pair.\"),p(\"editor.guides.bracketPairsHorizontal.false\",\"Disables horizontal bracket pair guides.\")],default:e.bracketPairsHorizontal,description:p(\"editor.guides.bracketPairsHorizontal\",\"Controls whether horizontal bracket pair guides are enabled or not.\")},\"editor.guides.highlightActiveBracketPair\":{type:\"boolean\",default:e.highlightActiveBracketPair,description:p(\"editor.guides.highlightActiveBracketPair\",\"Controls whether the editor should highlight the active bracket pair.\")},\"editor.guides.indentation\":{type:\"boolean\",default:e.indentation,description:p(\"editor.guides.indentation\",\"Controls whether the editor should render indent guides.\")},\"editor.guides.highlightActiveIndentation\":{type:[\"boolean\",\"string\"],enum:[!0,\"always\",!1],enumDescriptions:[p(\"editor.guides.highlightActiveIndentation.true\",\"Highlights the active indent guide.\"),p(\"editor.guides.highlightActiveIndentation.always\",\"Highlights the active indent guide even if bracket guides are highlighted.\"),p(\"editor.guides.highlightActiveIndentation.false\",\"Do not highlight the active indent guide.\")],default:e.highlightActiveIndentation,description:p(\"editor.guides.highlightActiveIndentation\",\"Controls whether the editor should highlight the active indent guide.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{bracketPairs:xm(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,\"active\"]),bracketPairsHorizontal:xm(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,\"active\"]),highlightActiveBracketPair:xe(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:xe(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:xm(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,\"always\"])}}}function xm(s,e,t){const i=t.indexOf(s);return i===-1?e:t[i]}class Eoe extends hi{constructor(){const e={insertMode:\"insert\",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:\"always\",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:\"subwordSmart\",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(118,\"suggest\",e,{\"editor.suggest.insertMode\":{type:\"string\",enum:[\"insert\",\"replace\"],enumDescriptions:[p(\"suggest.insertMode.insert\",\"Insert suggestion without overwriting text right of the cursor.\"),p(\"suggest.insertMode.replace\",\"Insert suggestion and overwrite text right of the cursor.\")],default:e.insertMode,description:p(\"suggest.insertMode\",\"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.\")},\"editor.suggest.filterGraceful\":{type:\"boolean\",default:e.filterGraceful,description:p(\"suggest.filterGraceful\",\"Controls whether filtering and sorting suggestions accounts for small typos.\")},\"editor.suggest.localityBonus\":{type:\"boolean\",default:e.localityBonus,description:p(\"suggest.localityBonus\",\"Controls whether sorting favors words that appear close to the cursor.\")},\"editor.suggest.shareSuggestSelections\":{type:\"boolean\",default:e.shareSuggestSelections,markdownDescription:p(\"suggest.shareSuggestSelections\",\"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).\")},\"editor.suggest.selectionMode\":{type:\"string\",enum:[\"always\",\"never\",\"whenTriggerCharacter\",\"whenQuickSuggestion\"],enumDescriptions:[p(\"suggest.insertMode.always\",\"Always select a suggestion when automatically triggering IntelliSense.\"),p(\"suggest.insertMode.never\",\"Never select a suggestion when automatically triggering IntelliSense.\"),p(\"suggest.insertMode.whenTriggerCharacter\",\"Select a suggestion only when triggering IntelliSense from a trigger character.\"),p(\"suggest.insertMode.whenQuickSuggestion\",\"Select a suggestion only when triggering IntelliSense as you type.\")],default:e.selectionMode,markdownDescription:p(\"suggest.selectionMode\",\"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.\")},\"editor.suggest.snippetsPreventQuickSuggestions\":{type:\"boolean\",default:e.snippetsPreventQuickSuggestions,description:p(\"suggest.snippetsPreventQuickSuggestions\",\"Controls whether an active snippet prevents quick suggestions.\")},\"editor.suggest.showIcons\":{type:\"boolean\",default:e.showIcons,description:p(\"suggest.showIcons\",\"Controls whether to show or hide icons in suggestions.\")},\"editor.suggest.showStatusBar\":{type:\"boolean\",default:e.showStatusBar,description:p(\"suggest.showStatusBar\",\"Controls the visibility of the status bar at the bottom of the suggest widget.\")},\"editor.suggest.preview\":{type:\"boolean\",default:e.preview,description:p(\"suggest.preview\",\"Controls whether to preview the suggestion outcome in the editor.\")},\"editor.suggest.showInlineDetails\":{type:\"boolean\",default:e.showInlineDetails,description:p(\"suggest.showInlineDetails\",\"Controls whether suggest details show inline with the label or only in the details widget.\")},\"editor.suggest.maxVisibleSuggestions\":{type:\"number\",deprecationMessage:p(\"suggest.maxVisibleSuggestions.dep\",\"This setting is deprecated. The suggest widget can now be resized.\")},\"editor.suggest.filteredTypes\":{type:\"object\",deprecationMessage:p(\"deprecated\",\"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.\")},\"editor.suggest.showMethods\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showMethods\",\"When enabled IntelliSense shows `method`-suggestions.\")},\"editor.suggest.showFunctions\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showFunctions\",\"When enabled IntelliSense shows `function`-suggestions.\")},\"editor.suggest.showConstructors\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showConstructors\",\"When enabled IntelliSense shows `constructor`-suggestions.\")},\"editor.suggest.showDeprecated\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showDeprecated\",\"When enabled IntelliSense shows `deprecated`-suggestions.\")},\"editor.suggest.matchOnWordStartOnly\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.matchOnWordStartOnly\",\"When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.\")},\"editor.suggest.showFields\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showFields\",\"When enabled IntelliSense shows `field`-suggestions.\")},\"editor.suggest.showVariables\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showVariables\",\"When enabled IntelliSense shows `variable`-suggestions.\")},\"editor.suggest.showClasses\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showClasss\",\"When enabled IntelliSense shows `class`-suggestions.\")},\"editor.suggest.showStructs\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showStructs\",\"When enabled IntelliSense shows `struct`-suggestions.\")},\"editor.suggest.showInterfaces\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showInterfaces\",\"When enabled IntelliSense shows `interface`-suggestions.\")},\"editor.suggest.showModules\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showModules\",\"When enabled IntelliSense shows `module`-suggestions.\")},\"editor.suggest.showProperties\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showPropertys\",\"When enabled IntelliSense shows `property`-suggestions.\")},\"editor.suggest.showEvents\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showEvents\",\"When enabled IntelliSense shows `event`-suggestions.\")},\"editor.suggest.showOperators\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showOperators\",\"When enabled IntelliSense shows `operator`-suggestions.\")},\"editor.suggest.showUnits\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showUnits\",\"When enabled IntelliSense shows `unit`-suggestions.\")},\"editor.suggest.showValues\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showValues\",\"When enabled IntelliSense shows `value`-suggestions.\")},\"editor.suggest.showConstants\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showConstants\",\"When enabled IntelliSense shows `constant`-suggestions.\")},\"editor.suggest.showEnums\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showEnums\",\"When enabled IntelliSense shows `enum`-suggestions.\")},\"editor.suggest.showEnumMembers\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showEnumMembers\",\"When enabled IntelliSense shows `enumMember`-suggestions.\")},\"editor.suggest.showKeywords\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showKeywords\",\"When enabled IntelliSense shows `keyword`-suggestions.\")},\"editor.suggest.showWords\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showTexts\",\"When enabled IntelliSense shows `text`-suggestions.\")},\"editor.suggest.showColors\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showColors\",\"When enabled IntelliSense shows `color`-suggestions.\")},\"editor.suggest.showFiles\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showFiles\",\"When enabled IntelliSense shows `file`-suggestions.\")},\"editor.suggest.showReferences\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showReferences\",\"When enabled IntelliSense shows `reference`-suggestions.\")},\"editor.suggest.showCustomcolors\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showCustomcolors\",\"When enabled IntelliSense shows `customcolor`-suggestions.\")},\"editor.suggest.showFolders\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showFolders\",\"When enabled IntelliSense shows `folder`-suggestions.\")},\"editor.suggest.showTypeParameters\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showTypeParameters\",\"When enabled IntelliSense shows `typeParameter`-suggestions.\")},\"editor.suggest.showSnippets\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showSnippets\",\"When enabled IntelliSense shows `snippet`-suggestions.\")},\"editor.suggest.showUsers\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showUsers\",\"When enabled IntelliSense shows `user`-suggestions.\")},\"editor.suggest.showIssues\":{type:\"boolean\",default:!0,markdownDescription:p(\"editor.suggest.showIssues\",\"When enabled IntelliSense shows `issues`-suggestions.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{insertMode:Ii(t.insertMode,this.defaultValue.insertMode,[\"insert\",\"replace\"]),filterGraceful:xe(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:xe(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:xe(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:xe(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:Ii(t.selectionMode,this.defaultValue.selectionMode,[\"always\",\"never\",\"whenQuickSuggestion\",\"whenTriggerCharacter\"]),showIcons:xe(t.showIcons,this.defaultValue.showIcons),showStatusBar:xe(t.showStatusBar,this.defaultValue.showStatusBar),preview:xe(t.preview,this.defaultValue.preview),previewMode:Ii(t.previewMode,this.defaultValue.previewMode,[\"prefix\",\"subword\",\"subwordSmart\"]),showInlineDetails:xe(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:xe(t.showMethods,this.defaultValue.showMethods),showFunctions:xe(t.showFunctions,this.defaultValue.showFunctions),showConstructors:xe(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:xe(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:xe(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:xe(t.showFields,this.defaultValue.showFields),showVariables:xe(t.showVariables,this.defaultValue.showVariables),showClasses:xe(t.showClasses,this.defaultValue.showClasses),showStructs:xe(t.showStructs,this.defaultValue.showStructs),showInterfaces:xe(t.showInterfaces,this.defaultValue.showInterfaces),showModules:xe(t.showModules,this.defaultValue.showModules),showProperties:xe(t.showProperties,this.defaultValue.showProperties),showEvents:xe(t.showEvents,this.defaultValue.showEvents),showOperators:xe(t.showOperators,this.defaultValue.showOperators),showUnits:xe(t.showUnits,this.defaultValue.showUnits),showValues:xe(t.showValues,this.defaultValue.showValues),showConstants:xe(t.showConstants,this.defaultValue.showConstants),showEnums:xe(t.showEnums,this.defaultValue.showEnums),showEnumMembers:xe(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:xe(t.showKeywords,this.defaultValue.showKeywords),showWords:xe(t.showWords,this.defaultValue.showWords),showColors:xe(t.showColors,this.defaultValue.showColors),showFiles:xe(t.showFiles,this.defaultValue.showFiles),showReferences:xe(t.showReferences,this.defaultValue.showReferences),showFolders:xe(t.showFolders,this.defaultValue.showFolders),showTypeParameters:xe(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:xe(t.showSnippets,this.defaultValue.showSnippets),showUsers:xe(t.showUsers,this.defaultValue.showUsers),showIssues:xe(t.showIssues,this.defaultValue.showIssues)}}}class Ioe extends hi{constructor(){super(113,\"smartSelect\",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{\"editor.smartSelect.selectLeadingAndTrailingWhitespace\":{description:p(\"selectLeadingAndTrailingWhitespace\",\"Whether leading and trailing whitespace should always be selected.\"),default:!0,type:\"boolean\"},\"editor.smartSelect.selectSubwords\":{description:p(\"selectSubwords\",\"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected.\"),default:!0,type:\"boolean\"}})}validate(e){return!e||typeof e!=\"object\"?this.defaultValue:{selectLeadingAndTrailingWhitespace:xe(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:xe(e.selectSubwords,this.defaultValue.selectSubwords)}}}class Toe extends hi{constructor(){const e=[];super(130,\"wordSegmenterLocales\",e,{anyOf:[{description:p(\"wordSegmenterLocales\",\"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.).\"),type:\"string\"},{description:p(\"wordSegmenterLocales\",\"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.).\"),type:\"array\",items:{type:\"string\"}}]})}validate(e){if(typeof e==\"string\"&&(e=[e]),Array.isArray(e)){const t=[];for(const i of e)if(typeof i==\"string\")try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch{}return t}return this.defaultValue}}class Noe extends hi{constructor(){super(138,\"wrappingIndent\",1,{\"editor.wrappingIndent\":{type:\"string\",enum:[\"none\",\"same\",\"indent\",\"deepIndent\"],enumDescriptions:[p(\"wrappingIndent.none\",\"No indentation. Wrapped lines begin at column 1.\"),p(\"wrappingIndent.same\",\"Wrapped lines get the same indentation as the parent.\"),p(\"wrappingIndent.indent\",\"Wrapped lines get +1 indentation toward the parent.\"),p(\"wrappingIndent.deepIndent\",\"Wrapped lines get +2 indentation toward the parent.\")],description:p(\"wrappingIndent\",\"Controls the indentation of wrapped lines.\"),default:\"same\"}})}validate(e){switch(e){case\"none\":return 0;case\"same\":return 1;case\"indent\":return 2;case\"deepIndent\":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}}class Aoe extends a1{constructor(){super(146)}compute(e,t,i){const n=t.get(145);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class Moe extends hi{constructor(){const e={enabled:!0,showDropSelector:\"afterDrop\"};super(36,\"dropIntoEditor\",e,{\"editor.dropIntoEditor.enabled\":{type:\"boolean\",default:e.enabled,markdownDescription:p(\"dropIntoEditor.enabled\",\"Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).\")},\"editor.dropIntoEditor.showDropSelector\":{type:\"string\",markdownDescription:p(\"dropIntoEditor.showDropSelector\",\"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped.\"),enum:[\"afterDrop\",\"never\"],enumDescriptions:[p(\"dropIntoEditor.showDropSelector.afterDrop\",\"Show the drop selector widget after a file is dropped into the editor.\"),p(\"dropIntoEditor.showDropSelector.never\",\"Never show the drop selector widget. Instead the default drop provider is always used.\")],default:\"afterDrop\"}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),showDropSelector:Ii(t.showDropSelector,this.defaultValue.showDropSelector,[\"afterDrop\",\"never\"])}}}class Roe extends hi{constructor(){const e={enabled:!0,showPasteSelector:\"afterPaste\"};super(85,\"pasteAs\",e,{\"editor.pasteAs.enabled\":{type:\"boolean\",default:e.enabled,markdownDescription:p(\"pasteAs.enabled\",\"Controls whether you can paste content in different ways.\")},\"editor.pasteAs.showPasteSelector\":{type:\"string\",markdownDescription:p(\"pasteAs.showPasteSelector\",\"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted.\"),enum:[\"afterPaste\",\"never\"],enumDescriptions:[p(\"pasteAs.showPasteSelector.afterPaste\",\"Show the paste selector widget after content is pasted into the editor.\"),p(\"pasteAs.showPasteSelector.never\",\"Never show the paste selector widget. Instead the default pasting behavior is always used.\")],default:\"afterPaste\"}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),showPasteSelector:Ii(t.showPasteSelector,this.defaultValue.showPasteSelector,[\"afterPaste\",\"never\"])}}}const Poe=\"Consolas, 'Courier New', monospace\",Foe=\"Menlo, Monaco, 'Courier New', monospace\",Ooe=\"'Droid Sans Mono', 'monospace', monospace\",co={fontFamily:lt?Foe:$s?Ooe:Poe,fontWeight:\"normal\",fontSize:lt?12:14,lineHeight:0,letterSpacing:0},Jp=[];function ie(s){return Jp[s.id]=s,s}const hl={acceptSuggestionOnCommitCharacter:ie(new Ct(0,\"acceptSuggestionOnCommitCharacter\",!0,{markdownDescription:p(\"acceptSuggestionOnCommitCharacter\",\"Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.\")})),acceptSuggestionOnEnter:ie(new yi(1,\"acceptSuggestionOnEnter\",\"on\",[\"on\",\"smart\",\"off\"],{markdownEnumDescriptions:[\"\",p(\"acceptSuggestionOnEnterSmart\",\"Only accept a suggestion with `Enter` when it makes a textual change.\"),\"\"],markdownDescription:p(\"acceptSuggestionOnEnter\",\"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.\")})),accessibilitySupport:ie(new Xse),accessibilityPageSize:ie(new zt(3,\"accessibilityPageSize\",10,1,1073741824,{description:p(\"accessibilityPageSize\",\"Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.\"),tags:[\"accessibility\"]})),ariaLabel:ie(new ks(4,\"ariaLabel\",p(\"editorViewAccessibleLabel\",\"Editor content\"))),ariaRequired:ie(new Ct(5,\"ariaRequired\",!1,void 0)),screenReaderAnnounceInlineSuggestion:ie(new Ct(8,\"screenReaderAnnounceInlineSuggestion\",!0,{description:p(\"screenReaderAnnounceInlineSuggestion\",\"Control whether inline suggestions are announced by a screen reader.\"),tags:[\"accessibility\"]})),autoClosingBrackets:ie(new yi(6,\"autoClosingBrackets\",\"languageDefined\",[\"always\",\"languageDefined\",\"beforeWhitespace\",\"never\"],{enumDescriptions:[\"\",p(\"editor.autoClosingBrackets.languageDefined\",\"Use language configurations to determine when to autoclose brackets.\"),p(\"editor.autoClosingBrackets.beforeWhitespace\",\"Autoclose brackets only when the cursor is to the left of whitespace.\"),\"\"],description:p(\"autoClosingBrackets\",\"Controls whether the editor should automatically close brackets after the user adds an opening bracket.\")})),autoClosingComments:ie(new yi(7,\"autoClosingComments\",\"languageDefined\",[\"always\",\"languageDefined\",\"beforeWhitespace\",\"never\"],{enumDescriptions:[\"\",p(\"editor.autoClosingComments.languageDefined\",\"Use language configurations to determine when to autoclose comments.\"),p(\"editor.autoClosingComments.beforeWhitespace\",\"Autoclose comments only when the cursor is to the left of whitespace.\"),\"\"],description:p(\"autoClosingComments\",\"Controls whether the editor should automatically close comments after the user adds an opening comment.\")})),autoClosingDelete:ie(new yi(9,\"autoClosingDelete\",\"auto\",[\"always\",\"auto\",\"never\"],{enumDescriptions:[\"\",p(\"editor.autoClosingDelete.auto\",\"Remove adjacent closing quotes or brackets only if they were automatically inserted.\"),\"\"],description:p(\"autoClosingDelete\",\"Controls whether the editor should remove adjacent closing quotes or brackets when deleting.\")})),autoClosingOvertype:ie(new yi(10,\"autoClosingOvertype\",\"auto\",[\"always\",\"auto\",\"never\"],{enumDescriptions:[\"\",p(\"editor.autoClosingOvertype.auto\",\"Type over closing quotes or brackets only if they were automatically inserted.\"),\"\"],description:p(\"autoClosingOvertype\",\"Controls whether the editor should type over closing quotes or brackets.\")})),autoClosingQuotes:ie(new yi(11,\"autoClosingQuotes\",\"languageDefined\",[\"always\",\"languageDefined\",\"beforeWhitespace\",\"never\"],{enumDescriptions:[\"\",p(\"editor.autoClosingQuotes.languageDefined\",\"Use language configurations to determine when to autoclose quotes.\"),p(\"editor.autoClosingQuotes.beforeWhitespace\",\"Autoclose quotes only when the cursor is to the left of whitespace.\"),\"\"],description:p(\"autoClosingQuotes\",\"Controls whether the editor should automatically close quotes after the user adds an opening quote.\")})),autoIndent:ie(new dw(12,\"autoIndent\",4,\"full\",[\"none\",\"keep\",\"brackets\",\"advanced\",\"full\"],Zse,{enumDescriptions:[p(\"editor.autoIndent.none\",\"The editor will not insert indentation automatically.\"),p(\"editor.autoIndent.keep\",\"The editor will keep the current line's indentation.\"),p(\"editor.autoIndent.brackets\",\"The editor will keep the current line's indentation and honor language defined brackets.\"),p(\"editor.autoIndent.advanced\",\"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages.\"),p(\"editor.autoIndent.full\",\"The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.\")],description:p(\"autoIndent\",\"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.\")})),automaticLayout:ie(new Ct(13,\"automaticLayout\",!1)),autoSurround:ie(new yi(14,\"autoSurround\",\"languageDefined\",[\"languageDefined\",\"quotes\",\"brackets\",\"never\"],{enumDescriptions:[p(\"editor.autoSurround.languageDefined\",\"Use language configurations to determine when to automatically surround selections.\"),p(\"editor.autoSurround.quotes\",\"Surround with quotes but not brackets.\"),p(\"editor.autoSurround.brackets\",\"Surround with brackets but not quotes.\"),\"\"],description:p(\"autoSurround\",\"Controls whether the editor should automatically surround selections when typing quotes or brackets.\")})),bracketPairColorization:ie(new xoe),bracketPairGuides:ie(new koe),stickyTabStops:ie(new Ct(116,\"stickyTabStops\",!1,{description:p(\"stickyTabStops\",\"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.\")})),codeLens:ie(new Ct(17,\"codeLens\",!0,{description:p(\"codeLens\",\"Controls whether the editor shows CodeLens.\")})),codeLensFontFamily:ie(new ks(18,\"codeLensFontFamily\",\"\",{description:p(\"codeLensFontFamily\",\"Controls the font family for CodeLens.\")})),codeLensFontSize:ie(new zt(19,\"codeLensFontSize\",0,0,100,{type:\"number\",default:0,minimum:0,maximum:100,markdownDescription:p(\"codeLensFontSize\",\"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.\")})),colorDecorators:ie(new Ct(20,\"colorDecorators\",!0,{description:p(\"colorDecorators\",\"Controls whether the editor should render the inline color decorators and color picker.\")})),colorDecoratorActivatedOn:ie(new yi(148,\"colorDecoratorsActivatedOn\",\"clickAndHover\",[\"clickAndHover\",\"hover\",\"click\"],{enumDescriptions:[p(\"editor.colorDecoratorActivatedOn.clickAndHover\",\"Make the color picker appear both on click and hover of the color decorator\"),p(\"editor.colorDecoratorActivatedOn.hover\",\"Make the color picker appear on hover of the color decorator\"),p(\"editor.colorDecoratorActivatedOn.click\",\"Make the color picker appear on click of the color decorator\")],description:p(\"colorDecoratorActivatedOn\",\"Controls the condition to make a color picker appear from a color decorator\")})),colorDecoratorsLimit:ie(new zt(21,\"colorDecoratorsLimit\",500,1,1e6,{markdownDescription:p(\"colorDecoratorsLimit\",\"Controls the max number of color decorators that can be rendered in an editor at once.\")})),columnSelection:ie(new Ct(22,\"columnSelection\",!1,{description:p(\"columnSelection\",\"Enable that the selection with the mouse and keys is doing column selection.\")})),comments:ie(new Yse),contextmenu:ie(new Ct(24,\"contextmenu\",!0)),copyWithSyntaxHighlighting:ie(new Ct(25,\"copyWithSyntaxHighlighting\",!0,{description:p(\"copyWithSyntaxHighlighting\",\"Controls whether syntax highlighting should be copied into the clipboard.\")})),cursorBlinking:ie(new dw(26,\"cursorBlinking\",1,\"blink\",[\"blink\",\"smooth\",\"phase\",\"expand\",\"solid\"],Qse,{description:p(\"cursorBlinking\",\"Control the cursor animation style.\")})),cursorSmoothCaretAnimation:ie(new yi(27,\"cursorSmoothCaretAnimation\",\"off\",[\"off\",\"explicit\",\"on\"],{enumDescriptions:[p(\"cursorSmoothCaretAnimation.off\",\"Smooth caret animation is disabled.\"),p(\"cursorSmoothCaretAnimation.explicit\",\"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture.\"),p(\"cursorSmoothCaretAnimation.on\",\"Smooth caret animation is always enabled.\")],description:p(\"cursorSmoothCaretAnimation\",\"Controls whether the smooth caret animation should be enabled.\")})),cursorStyle:ie(new dw(28,\"cursorStyle\",Hn.Line,\"line\",[\"line\",\"block\",\"underline\",\"line-thin\",\"block-outline\",\"underline-thin\"],Jse,{description:p(\"cursorStyle\",\"Controls the cursor style.\")})),cursorSurroundingLines:ie(new zt(29,\"cursorSurroundingLines\",0,0,1073741824,{description:p(\"cursorSurroundingLines\",\"Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.\")})),cursorSurroundingLinesStyle:ie(new yi(30,\"cursorSurroundingLinesStyle\",\"default\",[\"default\",\"all\"],{enumDescriptions:[p(\"cursorSurroundingLinesStyle.default\",\"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API.\"),p(\"cursorSurroundingLinesStyle.all\",\"`cursorSurroundingLines` is enforced always.\")],markdownDescription:p(\"cursorSurroundingLinesStyle\",\"Controls when `#editor.cursorSurroundingLines#` should be enforced.\")})),cursorWidth:ie(new zt(31,\"cursorWidth\",0,0,1073741824,{markdownDescription:p(\"cursorWidth\",\"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.\")})),disableLayerHinting:ie(new Ct(32,\"disableLayerHinting\",!1)),disableMonospaceOptimizations:ie(new Ct(33,\"disableMonospaceOptimizations\",!1)),domReadOnly:ie(new Ct(34,\"domReadOnly\",!1)),dragAndDrop:ie(new Ct(35,\"dragAndDrop\",!0,{description:p(\"dragAndDrop\",\"Controls whether the editor should allow moving selections via drag and drop.\")})),emptySelectionClipboard:ie(new toe),dropIntoEditor:ie(new Moe),stickyScroll:ie(new doe),experimentalWhitespaceRendering:ie(new yi(38,\"experimentalWhitespaceRendering\",\"svg\",[\"svg\",\"font\",\"off\"],{enumDescriptions:[p(\"experimentalWhitespaceRendering.svg\",\"Use a new rendering method with svgs.\"),p(\"experimentalWhitespaceRendering.font\",\"Use a new rendering method with font characters.\"),p(\"experimentalWhitespaceRendering.off\",\"Use the stable rendering method.\")],description:p(\"experimentalWhitespaceRendering\",\"Controls whether whitespace is rendered with a new, experimental method.\")})),extraEditorClassName:ie(new ks(39,\"extraEditorClassName\",\"\")),fastScrollSensitivity:ie(new kr(40,\"fastScrollSensitivity\",5,s=>s<=0?5:s,{markdownDescription:p(\"fastScrollSensitivity\",\"Scrolling speed multiplier when pressing `Alt`.\")})),find:ie(new ioe),fixedOverflowWidgets:ie(new Ct(42,\"fixedOverflowWidgets\",!1)),folding:ie(new Ct(43,\"folding\",!0,{description:p(\"folding\",\"Controls whether the editor has code folding enabled.\")})),foldingStrategy:ie(new yi(44,\"foldingStrategy\",\"auto\",[\"auto\",\"indentation\"],{enumDescriptions:[p(\"foldingStrategy.auto\",\"Use a language-specific folding strategy if available, else the indentation-based one.\"),p(\"foldingStrategy.indentation\",\"Use the indentation-based folding strategy.\")],description:p(\"foldingStrategy\",\"Controls the strategy for computing folding ranges.\")})),foldingHighlight:ie(new Ct(45,\"foldingHighlight\",!0,{description:p(\"foldingHighlight\",\"Controls whether the editor should highlight folded ranges.\")})),foldingImportsByDefault:ie(new Ct(46,\"foldingImportsByDefault\",!1,{description:p(\"foldingImportsByDefault\",\"Controls whether the editor automatically collapses import ranges.\")})),foldingMaximumRegions:ie(new zt(47,\"foldingMaximumRegions\",5e3,10,65e3,{description:p(\"foldingMaximumRegions\",\"The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.\")})),unfoldOnClickAfterEndOfLine:ie(new Ct(48,\"unfoldOnClickAfterEndOfLine\",!1,{description:p(\"unfoldOnClickAfterEndOfLine\",\"Controls whether clicking on the empty content after a folded line will unfold the line.\")})),fontFamily:ie(new ks(49,\"fontFamily\",co.fontFamily,{description:p(\"fontFamily\",\"Controls the font family.\")})),fontInfo:ie(new noe),fontLigatures2:ie(new Zo),fontSize:ie(new soe),fontWeight:ie(new Vl),fontVariations:ie(new $a),formatOnPaste:ie(new Ct(55,\"formatOnPaste\",!1,{description:p(\"formatOnPaste\",\"Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.\")})),formatOnType:ie(new Ct(56,\"formatOnType\",!1,{description:p(\"formatOnType\",\"Controls whether the editor should automatically format the line after typing.\")})),glyphMargin:ie(new Ct(57,\"glyphMargin\",!0,{description:p(\"glyphMargin\",\"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.\")})),gotoLocation:ie(new ooe),hideCursorInOverviewRuler:ie(new Ct(59,\"hideCursorInOverviewRuler\",!1,{description:p(\"hideCursorInOverviewRuler\",\"Controls whether the cursor should be hidden in the overview ruler.\")})),hover:ie(new roe),inDiffEditor:ie(new Ct(61,\"inDiffEditor\",!1)),letterSpacing:ie(new kr(64,\"letterSpacing\",co.letterSpacing,s=>kr.clamp(s,-5,20),{description:p(\"letterSpacing\",\"Controls the letter spacing in pixels.\")})),lightbulb:ie(new loe),lineDecorationsWidth:ie(new uoe),lineHeight:ie(new hoe),lineNumbers:ie(new boe),lineNumbersMinChars:ie(new zt(69,\"lineNumbersMinChars\",5,1,300)),linkedEditing:ie(new Ct(70,\"linkedEditing\",!1,{description:p(\"linkedEditing\",\"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.\")})),links:ie(new Ct(71,\"links\",!0,{description:p(\"links\",\"Controls whether the editor should detect links and make them clickable.\")})),matchBrackets:ie(new yi(72,\"matchBrackets\",\"always\",[\"always\",\"near\",\"never\"],{description:p(\"matchBrackets\",\"Highlight matching brackets.\")})),minimap:ie(new goe),mouseStyle:ie(new yi(74,\"mouseStyle\",\"text\",[\"text\",\"default\",\"copy\"])),mouseWheelScrollSensitivity:ie(new kr(75,\"mouseWheelScrollSensitivity\",1,s=>s===0?1:s,{markdownDescription:p(\"mouseWheelScrollSensitivity\",\"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\")})),mouseWheelZoom:ie(new Ct(76,\"mouseWheelZoom\",!1,{markdownDescription:lt?p(\"mouseWheelZoom.mac\",\"Zoom the font of the editor when using mouse wheel and holding `Cmd`.\"):p(\"mouseWheelZoom\",\"Zoom the font of the editor when using mouse wheel and holding `Ctrl`.\")})),multiCursorMergeOverlapping:ie(new Ct(77,\"multiCursorMergeOverlapping\",!0,{description:p(\"multiCursorMergeOverlapping\",\"Merge multiple cursors when they are overlapping.\")})),multiCursorModifier:ie(new dw(78,\"multiCursorModifier\",\"altKey\",\"alt\",[\"ctrlCmd\",\"alt\"],foe,{markdownEnumDescriptions:[p(\"multiCursorModifier.ctrlCmd\",\"Maps to `Control` on Windows and Linux and to `Command` on macOS.\"),p(\"multiCursorModifier.alt\",\"Maps to `Alt` on Windows and Linux and to `Option` on macOS.\")],markdownDescription:p({},\"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).\")})),multiCursorPaste:ie(new yi(79,\"multiCursorPaste\",\"spread\",[\"spread\",\"full\"],{markdownEnumDescriptions:[p(\"multiCursorPaste.spread\",\"Each cursor pastes a single line of the text.\"),p(\"multiCursorPaste.full\",\"Each cursor pastes the full text.\")],markdownDescription:p(\"multiCursorPaste\",\"Controls pasting when the line count of the pasted text matches the cursor count.\")})),multiCursorLimit:ie(new zt(80,\"multiCursorLimit\",1e4,1,1e5,{markdownDescription:p(\"multiCursorLimit\",\"Controls the max number of cursors that can be in an active editor at once.\")})),occurrencesHighlight:ie(new yi(81,\"occurrencesHighlight\",\"singleFile\",[\"off\",\"singleFile\",\"multiFile\"],{markdownEnumDescriptions:[p(\"occurrencesHighlight.off\",\"Does not highlight occurrences.\"),p(\"occurrencesHighlight.singleFile\",\"Highlights occurrences only in the current file.\"),p(\"occurrencesHighlight.multiFile\",\"Experimental: Highlights occurrences across all valid open files.\")],markdownDescription:p(\"occurrencesHighlight\",\"Controls whether occurrences should be highlighted across open files.\")})),overviewRulerBorder:ie(new Ct(82,\"overviewRulerBorder\",!0,{description:p(\"overviewRulerBorder\",\"Controls whether a border should be drawn around the overview ruler.\")})),overviewRulerLanes:ie(new zt(83,\"overviewRulerLanes\",3,0,3)),padding:ie(new poe),pasteAs:ie(new Roe),parameterHints:ie(new moe),peekWidgetDefaultFocus:ie(new yi(87,\"peekWidgetDefaultFocus\",\"tree\",[\"tree\",\"editor\"],{enumDescriptions:[p(\"peekWidgetDefaultFocus.tree\",\"Focus the tree when opening peek\"),p(\"peekWidgetDefaultFocus.editor\",\"Focus the editor when opening peek\")],description:p(\"peekWidgetDefaultFocus\",\"Controls whether to focus the inline editor or the tree in the peek widget.\")})),definitionLinkOpensInPeek:ie(new Ct(88,\"definitionLinkOpensInPeek\",!1,{description:p(\"definitionLinkOpensInPeek\",\"Controls whether the Go to Definition mouse gesture always opens the peek widget.\")})),quickSuggestions:ie(new voe),quickSuggestionsDelay:ie(new zt(90,\"quickSuggestionsDelay\",10,0,1073741824,{description:p(\"quickSuggestionsDelay\",\"Controls the delay in milliseconds after which quick suggestions will show up.\")})),readOnly:ie(new Ct(91,\"readOnly\",!1)),readOnlyMessage:ie(new woe),renameOnType:ie(new Ct(93,\"renameOnType\",!1,{description:p(\"renameOnType\",\"Controls whether the editor auto renames on type.\"),markdownDeprecationMessage:p(\"renameOnTypeDeprecate\",\"Deprecated, use `editor.linkedEditing` instead.\")})),renderControlCharacters:ie(new Ct(94,\"renderControlCharacters\",!0,{description:p(\"renderControlCharacters\",\"Controls whether the editor should render control characters.\"),restricted:!0})),renderFinalNewline:ie(new yi(95,\"renderFinalNewline\",$s?\"dimmed\":\"on\",[\"off\",\"on\",\"dimmed\"],{description:p(\"renderFinalNewline\",\"Render last line number when the file ends with a newline.\")})),renderLineHighlight:ie(new yi(96,\"renderLineHighlight\",\"line\",[\"none\",\"gutter\",\"line\",\"all\"],{enumDescriptions:[\"\",\"\",\"\",p(\"renderLineHighlight.all\",\"Highlights both the gutter and the current line.\")],description:p(\"renderLineHighlight\",\"Controls how the editor should render the current line highlight.\")})),renderLineHighlightOnlyWhenFocus:ie(new Ct(97,\"renderLineHighlightOnlyWhenFocus\",!1,{description:p(\"renderLineHighlightOnlyWhenFocus\",\"Controls if the editor should render the current line highlight only when the editor is focused.\")})),renderValidationDecorations:ie(new yi(98,\"renderValidationDecorations\",\"editable\",[\"editable\",\"on\",\"off\"])),renderWhitespace:ie(new yi(99,\"renderWhitespace\",\"selection\",[\"none\",\"boundary\",\"selection\",\"trailing\",\"all\"],{enumDescriptions:[\"\",p(\"renderWhitespace.boundary\",\"Render whitespace characters except for single spaces between words.\"),p(\"renderWhitespace.selection\",\"Render whitespace characters only on selected text.\"),p(\"renderWhitespace.trailing\",\"Render only trailing whitespace characters.\"),\"\"],description:p(\"renderWhitespace\",\"Controls how the editor should render whitespace characters.\")})),revealHorizontalRightPadding:ie(new zt(100,\"revealHorizontalRightPadding\",15,0,1e3)),roundedSelection:ie(new Ct(101,\"roundedSelection\",!0,{description:p(\"roundedSelection\",\"Controls whether selections should have rounded corners.\")})),rulers:ie(new Coe),scrollbar:ie(new yoe),scrollBeyondLastColumn:ie(new zt(104,\"scrollBeyondLastColumn\",4,0,1073741824,{description:p(\"scrollBeyondLastColumn\",\"Controls the number of extra characters beyond which the editor will scroll horizontally.\")})),scrollBeyondLastLine:ie(new Ct(105,\"scrollBeyondLastLine\",!0,{description:p(\"scrollBeyondLastLine\",\"Controls whether the editor will scroll beyond the last line.\")})),scrollPredominantAxis:ie(new Ct(106,\"scrollPredominantAxis\",!0,{description:p(\"scrollPredominantAxis\",\"Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.\")})),selectionClipboard:ie(new Ct(107,\"selectionClipboard\",!0,{description:p(\"selectionClipboard\",\"Controls whether the Linux primary clipboard should be supported.\"),included:$s})),selectionHighlight:ie(new Ct(108,\"selectionHighlight\",!0,{description:p(\"selectionHighlight\",\"Controls whether the editor should highlight matches similar to the selection.\")})),selectOnLineNumbers:ie(new Ct(109,\"selectOnLineNumbers\",!0)),showFoldingControls:ie(new yi(110,\"showFoldingControls\",\"mouseover\",[\"always\",\"never\",\"mouseover\"],{enumDescriptions:[p(\"showFoldingControls.always\",\"Always show the folding controls.\"),p(\"showFoldingControls.never\",\"Never show the folding controls and reduce the gutter size.\"),p(\"showFoldingControls.mouseover\",\"Only show the folding controls when the mouse is over the gutter.\")],description:p(\"showFoldingControls\",\"Controls when the folding controls on the gutter are shown.\")})),showUnused:ie(new Ct(111,\"showUnused\",!0,{description:p(\"showUnused\",\"Controls fading out of unused code.\")})),showDeprecated:ie(new Ct(140,\"showDeprecated\",!0,{description:p(\"showDeprecated\",\"Controls strikethrough deprecated variables.\")})),inlayHints:ie(new coe),snippetSuggestions:ie(new yi(112,\"snippetSuggestions\",\"inline\",[\"top\",\"bottom\",\"inline\",\"none\"],{enumDescriptions:[p(\"snippetSuggestions.top\",\"Show snippet suggestions on top of other suggestions.\"),p(\"snippetSuggestions.bottom\",\"Show snippet suggestions below other suggestions.\"),p(\"snippetSuggestions.inline\",\"Show snippets suggestions with other suggestions.\"),p(\"snippetSuggestions.none\",\"Do not show snippet suggestions.\")],description:p(\"snippetSuggestions\",\"Controls whether snippets are shown with other suggestions and how they are sorted.\")})),smartSelect:ie(new Ioe),smoothScrolling:ie(new Ct(114,\"smoothScrolling\",!1,{description:p(\"smoothScrolling\",\"Controls whether the editor will scroll using an animation.\")})),stopRenderingLineAfter:ie(new zt(117,\"stopRenderingLineAfter\",1e4,-1,1073741824)),suggest:ie(new Eoe),inlineSuggest:ie(new Doe),inlineEdit:ie(new Loe),inlineCompletionsAccessibilityVerbose:ie(new Ct(149,\"inlineCompletionsAccessibilityVerbose\",!1,{description:p(\"inlineCompletionsAccessibilityVerbose\",\"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.\")})),suggestFontSize:ie(new zt(119,\"suggestFontSize\",0,0,1e3,{markdownDescription:p(\"suggestFontSize\",\"Font size for the suggest widget. When set to {0}, the value of {1} is used.\",\"`0`\",\"`#editor.fontSize#`\")})),suggestLineHeight:ie(new zt(120,\"suggestLineHeight\",0,0,1e3,{markdownDescription:p(\"suggestLineHeight\",\"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.\",\"`0`\",\"`#editor.lineHeight#`\")})),suggestOnTriggerCharacters:ie(new Ct(121,\"suggestOnTriggerCharacters\",!0,{description:p(\"suggestOnTriggerCharacters\",\"Controls whether suggestions should automatically show up when typing trigger characters.\")})),suggestSelection:ie(new yi(122,\"suggestSelection\",\"first\",[\"first\",\"recentlyUsed\",\"recentlyUsedByPrefix\"],{markdownEnumDescriptions:[p(\"suggestSelection.first\",\"Always select the first suggestion.\"),p(\"suggestSelection.recentlyUsed\",\"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.\"),p(\"suggestSelection.recentlyUsedByPrefix\",\"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.\")],description:p(\"suggestSelection\",\"Controls how suggestions are pre-selected when showing the suggest list.\")})),tabCompletion:ie(new yi(123,\"tabCompletion\",\"off\",[\"on\",\"off\",\"onlySnippets\"],{enumDescriptions:[p(\"tabCompletion.on\",\"Tab complete will insert the best matching suggestion when pressing tab.\"),p(\"tabCompletion.off\",\"Disable tab completions.\"),p(\"tabCompletion.onlySnippets\",\"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.\")],description:p(\"tabCompletion\",\"Enables tab completions.\")})),tabIndex:ie(new zt(124,\"tabIndex\",0,-1,1073741824)),unicodeHighlight:ie(new Soe),unusualLineTerminators:ie(new yi(126,\"unusualLineTerminators\",\"prompt\",[\"auto\",\"off\",\"prompt\"],{enumDescriptions:[p(\"unusualLineTerminators.auto\",\"Unusual line terminators are automatically removed.\"),p(\"unusualLineTerminators.off\",\"Unusual line terminators are ignored.\"),p(\"unusualLineTerminators.prompt\",\"Unusual line terminators prompt to be removed.\")],description:p(\"unusualLineTerminators\",\"Remove unusual line terminators that might cause problems.\")})),useShadowDOM:ie(new Ct(127,\"useShadowDOM\",!0)),useTabStops:ie(new Ct(128,\"useTabStops\",!0,{description:p(\"useTabStops\",\"Spaces and tabs are inserted and deleted in alignment with tab stops.\")})),wordBreak:ie(new yi(129,\"wordBreak\",\"normal\",[\"normal\",\"keepAll\"],{markdownEnumDescriptions:[p(\"wordBreak.normal\",\"Use the default line break rule.\"),p(\"wordBreak.keepAll\",\"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.\")],description:p(\"wordBreak\",\"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.\")})),wordSegmenterLocales:ie(new Toe),wordSeparators:ie(new ks(131,\"wordSeparators\",BV,{description:p(\"wordSeparators\",\"Characters that will be used as word separators when doing word related navigations or operations.\")})),wordWrap:ie(new yi(132,\"wordWrap\",\"off\",[\"off\",\"on\",\"wordWrapColumn\",\"bounded\"],{markdownEnumDescriptions:[p(\"wordWrap.off\",\"Lines will never wrap.\"),p(\"wordWrap.on\",\"Lines will wrap at the viewport width.\"),p({},\"Lines will wrap at `#editor.wordWrapColumn#`.\"),p({},\"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.\")],description:p({},\"Controls how lines should wrap.\")})),wordWrapBreakAfterCharacters:ie(new ks(133,\"wordWrapBreakAfterCharacters\",\" \t})]?|/&.,;¢°′″‰℃、。｡､￠，．：；？！％・･ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ｧｨｩｪｫｬｭｮｯｰ”〉》」』】〕）］｝｣\")),wordWrapBreakBeforeCharacters:ie(new ks(134,\"wordWrapBreakBeforeCharacters\",\"([{‘“〈《「『【〔（［｛｢£¥＄￡￥+＋\")),wordWrapColumn:ie(new zt(135,\"wordWrapColumn\",80,1,1073741824,{markdownDescription:p({},\"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.\")})),wordWrapOverride1:ie(new yi(136,\"wordWrapOverride1\",\"inherit\",[\"off\",\"on\",\"inherit\"])),wordWrapOverride2:ie(new yi(137,\"wordWrapOverride2\",\"inherit\",[\"off\",\"on\",\"inherit\"])),editorClassName:ie(new eoe),defaultColorDecorators:ie(new Ct(147,\"defaultColorDecorators\",!1,{markdownDescription:p(\"defaultColorDecorators\",\"Controls whether inline color decorations should be shown using the default document color provider\")})),pixelRatio:ie(new _oe),tabFocusMode:ie(new Ct(144,\"tabFocusMode\",!1,{markdownDescription:p(\"tabFocusMode\",\"Controls whether the editor receives tabs or defers them to the workbench for navigation.\")})),layoutInfo:ie(new Lm),wrappingInfo:ie(new Aoe),wrappingIndent:ie(new Noe),wrappingStrategy:ie(new aoe)};class Boe{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?s_.isErrorNoTelemetry(e)?new s_(e.message+`\n\n`+e.stack):new Error(e.message+`\n\n`+e.stack):e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const zV=new Boe;function Xe(s){Id(s)||zV.onUnexpectedError(s)}function Ai(s){Id(s)||zV.onUnexpectedExternalError(s)}function e3(s){if(s instanceof Error){const{name:e,message:t}=s,i=s.stacktrace||s.stack;return{$isError:!0,name:e,message:t,stack:i,noTelemetry:s_.isErrorNoTelemetry(s)}}return s}const NS=\"Canceled\";function Id(s){return s instanceof sl?!0:s instanceof Error&&s.name===NS&&s.message===NS}class sl extends Error{constructor(){super(NS),this.name=this.message}}function Woe(){const s=new Error(NS);return s.name=s.message,s}function Mr(s){return s?new Error(`Illegal argument: ${s}`):new Error(\"Illegal argument\")}function UP(s){return s?new Error(`Illegal state: ${s}`):new Error(\"Illegal state\")}class Hoe extends Error{constructor(e){super(\"NotSupported\"),e&&(this.message=e)}}class s_ extends Error{constructor(e){super(e),this.name=\"CodeExpectedError\"}static fromError(e){if(e instanceof s_)return e;const t=new s_;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return e.name===\"CodeExpectedError\"}}class Ut extends Error{constructor(e){super(e||\"An unexpected bug occurred.\"),Object.setPrototypeOf(this,Ut.prototype)}}function o_(s,e){const t=this;let i=!1,n;return function(){return i||(i=!0,n=s.apply(t,arguments)),n}}function jL(s){return typeof s==\"object\"&&s!==null&&typeof s.dispose==\"function\"&&s.dispose.length===0}function jt(s){if(ft.is(s)){const e=[];for(const t of s)if(t)try{t.dispose()}catch(i){e.push(i)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,\"Encountered errors while disposing of store\");return Array.isArray(s)?[]:s}else if(s)return s.dispose(),s}function ha(...s){return Ie(()=>jt(s))}function Ie(s){return{dispose:o_(()=>{s()})}}class Y{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{jt(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error(\"Cannot register a disposable on itself!\");return this._isDisposed?Y.DISABLE_DISPOSED_WARNING||console.warn(new Error(\"Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!\").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}}Y.DISABLE_DISPOSED_WARNING=!1;class H{constructor(){this._store=new Y,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error(\"Cannot register a disposable on itself!\");return this._store.add(e)}}H.None=Object.freeze({dispose(){}});class $n{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||((t=this._value)===null||t===void 0||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,(e=this._value)===null||e===void 0||e.dispose(),this._value=void 0}}class Voe{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}class zoe{constructor(e){this.object=e}dispose(){}}class $P{constructor(){this._store=new Map,this._isDisposed=!1}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{jt(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,i=!1){var n;this._isDisposed&&console.warn(new Error(\"Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!\").stack),i||(n=this._store.get(e))===null||n===void 0||n.dispose(),this._store.set(e,t)}deleteAndDispose(e){var t;(t=this._store.get(e))===null||t===void 0||t.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}const Uoe=globalThis.performance&&typeof globalThis.performance.now==\"function\";class Jn{static create(e){return new Jn(e)}constructor(e){this._now=Uoe&&e===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var le;(function(s){s.None=()=>H.None;function e(R,P){return u(R,()=>{},0,void 0,!0,void 0,P)}s.defer=e;function t(R){return(P,F=null,V)=>{let U=!1,J;return J=R(pe=>{if(!U)return J?J.dispose():U=!0,P.call(F,pe)},null,V),U&&J.dispose(),J}}s.once=t;function i(R,P,F){return d((V,U=null,J)=>R(pe=>V.call(U,P(pe)),null,J),F)}s.map=i;function n(R,P,F){return d((V,U=null,J)=>R(pe=>{P(pe),V.call(U,pe)},null,J),F)}s.forEach=n;function o(R,P,F){return d((V,U=null,J)=>R(pe=>P(pe)&&V.call(U,pe),null,J),F)}s.filter=o;function r(R){return R}s.signal=r;function a(...R){return(P,F=null,V)=>{const U=ha(...R.map(J=>J(pe=>P.call(F,pe))));return c(U,V)}}s.any=a;function l(R,P,F,V){let U=F;return i(R,J=>(U=P(U,J),U),V)}s.reduce=l;function d(R,P){let F;const V={onWillAddFirstListener(){F=R(U.fire,U)},onDidRemoveLastListener(){F==null||F.dispose()}},U=new B(V);return P==null||P.add(U),U.event}function c(R,P){return P instanceof Array?P.push(R):P&&P.add(R),R}function u(R,P,F=100,V=!1,U=!1,J,pe){let De,ge,We,ye=0,ve;const ce={leakWarningThreshold:J,onWillAddFirstListener(){De=R(Ui=>{ye++,ge=P(ge,Ui),V&&!We&&(Qt.fire(ge),ge=void 0),ve=()=>{const Gi=ge;ge=void 0,We=void 0,(!V||ye>1)&&Qt.fire(Gi),ye=0},typeof F==\"number\"?(clearTimeout(We),We=setTimeout(ve,F)):We===void 0&&(We=0,queueMicrotask(ve))})},onWillRemoveListener(){U&&ye>0&&(ve==null||ve())},onDidRemoveLastListener(){ve=void 0,De.dispose()}},Qt=new B(ce);return pe==null||pe.add(Qt),Qt.event}s.debounce=u;function h(R,P=0,F){return s.debounce(R,(V,U)=>V?(V.push(U),V):[U],P,void 0,!0,void 0,F)}s.accumulate=h;function g(R,P=(V,U)=>V===U,F){let V=!0,U;return o(R,J=>{const pe=V||!P(J,U);return V=!1,U=J,pe},F)}s.latch=g;function f(R,P,F){return[s.filter(R,P,F),s.filter(R,V=>!P(V),F)]}s.split=f;function m(R,P=!1,F=[],V){let U=F.slice(),J=R(ge=>{U?U.push(ge):De.fire(ge)});V&&V.add(J);const pe=()=>{U==null||U.forEach(ge=>De.fire(ge)),U=null},De=new B({onWillAddFirstListener(){J||(J=R(ge=>De.fire(ge)),V&&V.add(J))},onDidAddFirstListener(){U&&(P?setTimeout(pe):pe())},onDidRemoveLastListener(){J&&J.dispose(),J=null}});return V&&V.add(De),De.event}s.buffer=m;function _(R,P){return(V,U,J)=>{const pe=P(new b);return R(function(De){const ge=pe.evaluate(De);ge!==v&&V.call(U,ge)},void 0,J)}}s.chain=_;const v=Symbol(\"HaltChainable\");class b{constructor(){this.steps=[]}map(P){return this.steps.push(P),this}forEach(P){return this.steps.push(F=>(P(F),F)),this}filter(P){return this.steps.push(F=>P(F)?F:v),this}reduce(P,F){let V=F;return this.steps.push(U=>(V=P(V,U),V)),this}latch(P=(F,V)=>F===V){let F=!0,V;return this.steps.push(U=>{const J=F||!P(U,V);return F=!1,V=U,J?U:v}),this}evaluate(P){for(const F of this.steps)if(P=F(P),P===v)break;return P}}function C(R,P,F=V=>V){const V=(...De)=>pe.fire(F(...De)),U=()=>R.on(P,V),J=()=>R.removeListener(P,V),pe=new B({onWillAddFirstListener:U,onDidRemoveLastListener:J});return pe.event}s.fromNodeEventEmitter=C;function w(R,P,F=V=>V){const V=(...De)=>pe.fire(F(...De)),U=()=>R.addEventListener(P,V),J=()=>R.removeEventListener(P,V),pe=new B({onWillAddFirstListener:U,onDidRemoveLastListener:J});return pe.event}s.fromDOMEventEmitter=w;function y(R){return new Promise(P=>t(R)(P))}s.toPromise=y;function D(R){const P=new B;return R.then(F=>{P.fire(F)},()=>{P.fire(void 0)}).finally(()=>{P.dispose()}),P.event}s.fromPromise=D;function L(R,P,F){return P(F),R(V=>P(V))}s.runAndSubscribe=L;class k{constructor(P,F){this._observable=P,this._counter=0,this._hasChanged=!1;const V={onWillAddFirstListener:()=>{P.addObserver(this)},onDidRemoveLastListener:()=>{P.removeObserver(this)}};this.emitter=new B(V),F&&F.add(this.emitter)}beginUpdate(P){this._counter++}handlePossibleChange(P){}handleChange(P,F){this._hasChanged=!0}endUpdate(P){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function I(R,P){return new k(R,P).emitter.event}s.fromObservable=I;function O(R){return(P,F,V)=>{let U=0,J=!1;const pe={beginUpdate(){U++},endUpdate(){U--,U===0&&(R.reportChanges(),J&&(J=!1,P.call(F)))},handlePossibleChange(){},handleChange(){J=!0}};R.addObserver(pe),R.reportChanges();const De={dispose(){R.removeObserver(pe)}};return V instanceof Y?V.add(De):Array.isArray(V)&&V.push(De),De}}s.fromObservableLight=O})(le||(le={}));class r_{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${r_._idPool++}`,r_.all.add(this)}start(e){this._stopWatch=new Jn,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}r_.all=new Set;r_._idPool=0;let $oe=-1;class joe{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;(e=this._stacks)===null||e===void 0||e.clear()}check(e,t){const i=this.threshold;if(i<=0||t<i)return;this._stacks||(this._stacks=new Map);const n=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,n+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;let o,r=0;for(const[a,l]of this._stacks)(!o||r<l)&&(o=a,r=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${t} listeners already. MOST frequent listener (${r}):`),console.warn(o)}return()=>{const o=this._stacks.get(e.value)||0;this._stacks.set(e.value,o-1)}}}class jP{static create(){var e;return new jP((e=new Error().stack)!==null&&e!==void 0?e:\"\")}constructor(e){this.value=e}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class NE{constructor(e){this.value=e}}const Koe=2;let B=class{constructor(e){var t,i,n,o,r;this._size=0,this._options=e,this._leakageMon=!((t=this._options)===null||t===void 0)&&t.leakWarningThreshold?new joe((n=(i=this._options)===null||i===void 0?void 0:i.leakWarningThreshold)!==null&&n!==void 0?n:$oe):void 0,this._perfMon=!((o=this._options)===null||o===void 0)&&o._profName?new r_(this._options._profName):void 0,this._deliveryQueue=(r=this._options)===null||r===void 0?void 0:r.deliveryQueue}dispose(){var e,t,i,n;this._disposed||(this._disposed=!0,((e=this._deliveryQueue)===null||e===void 0?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(i=(t=this._options)===null||t===void 0?void 0:t.onDidRemoveLastListener)===null||i===void 0||i.call(t),(n=this._leakageMon)===null||n===void 0||n.dispose())}get event(){var e;return(e=this._event)!==null&&e!==void 0||(this._event=(t,i,n)=>{var o,r,a,l,d;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),H.None;if(this._disposed)return H.None;i&&(t=t.bind(i));const c=new NE(t);let u;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(c.stack=jP.create(),u=this._leakageMon.check(c.stack,this._size+1)),this._listeners?this._listeners instanceof NE?((d=this._deliveryQueue)!==null&&d!==void 0||(this._deliveryQueue=new UV),this._listeners=[this._listeners,c]):this._listeners.push(c):((r=(o=this._options)===null||o===void 0?void 0:o.onWillAddFirstListener)===null||r===void 0||r.call(o,this),this._listeners=c,(l=(a=this._options)===null||a===void 0?void 0:a.onDidAddFirstListener)===null||l===void 0||l.call(a,this)),this._size++;const h=Ie(()=>{u==null||u(),this._removeListener(c)});return n instanceof Y?n.add(h):Array.isArray(n)&&n.push(h),h}),this._event}_removeListener(e){var t,i,n,o;if((i=(t=this._options)===null||t===void 0?void 0:t.onWillRemoveListener)===null||i===void 0||i.call(t,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(o=(n=this._options)===null||n===void 0?void 0:n.onDidRemoveLastListener)===null||o===void 0||o.call(n,this),this._size=0;return}const r=this._listeners,a=r.indexOf(e);if(a===-1)throw console.log(\"disposed?\",this._disposed),console.log(\"size?\",this._size),console.log(\"arr?\",JSON.stringify(this._listeners)),new Error(\"Attempted to dispose unknown listener\");this._size--,r[a]=void 0;const l=this._deliveryQueue.current===this;if(this._size*Koe<=r.length){let d=0;for(let c=0;c<r.length;c++)r[c]?r[d++]=r[c]:l&&(this._deliveryQueue.end--,d<this._deliveryQueue.i&&this._deliveryQueue.i--);r.length=d}}_deliver(e,t){var i;if(!e)return;const n=((i=this._options)===null||i===void 0?void 0:i.onListenerError)||Xe;if(!n){e.value(t);return}try{e.value(t)}catch(o){n(o)}}_deliverQueue(e){const t=e.current._listeners;for(;e.i<e.end;)this._deliver(t[e.i++],e.value);e.reset()}fire(e){var t,i,n,o;if(!((t=this._deliveryQueue)===null||t===void 0)&&t.current&&(this._deliverQueue(this._deliveryQueue),(i=this._perfMon)===null||i===void 0||i.stop()),(n=this._perfMon)===null||n===void 0||n.start(this._size),this._listeners)if(this._listeners instanceof NE)this._deliver(this._listeners,e);else{const r=this._deliveryQueue;r.enqueue(this,e,this._listeners.length),this._deliverQueue(r)}(o=this._perfMon)===null||o===void 0||o.stop()}hasListeners(){return this._size>0}};const qoe=()=>new UV;class UV{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class bf extends B{constructor(e){super(e),this._isPaused=0,this._eventQueue=new Rs,this._mergeFn=e==null?void 0:e.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(e){this._size&&(this._isPaused!==0?this._eventQueue.push(e):super.fire(e))}}class $V extends bf{constructor(e){var t;super(e),this._delay=(t=e.delay)!==null&&t!==void 0?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class Goe extends B{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=e==null?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(t=>super.fire(t)),this._queuedEvents=[]}))}}class Zoe{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new B({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){const t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),Ie(o_(()=>{this.hasListeners&&this.unhook(t);const n=this.events.indexOf(t);this.events.splice(n,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(t=>this.emitter.fire(t))}unhook(e){var t;(t=e.listener)===null||t===void 0||t.dispose(),e.listener=null}dispose(){var e;this.emitter.dispose();for(const t of this.events)(e=t.listener)===null||e===void 0||e.dispose();this.events=[]}}class KP{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(o=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(i,o)):t.call(i,o)},void 0,n)}bufferEvents(e){const t=[];this.buffers.push(t);const i=e();return this.buffers.pop(),t.forEach(n=>n()),i}}class t3{constructor(){this.listening=!1,this.inputEvent=le.None,this.inputEventListener=H.None,this.emitter=new B({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const jV=Object.freeze(function(s,e){const t=setTimeout(s.bind(e),0);return{dispose(){clearTimeout(t)}}});var dt;(function(s){function e(t){return t===s.None||t===s.Cancelled||t instanceof Fy?!0:!t||typeof t!=\"object\"?!1:typeof t.isCancellationRequested==\"boolean\"&&typeof t.onCancellationRequested==\"function\"}s.isCancellationToken=e,s.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:le.None}),s.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:jV})})(dt||(dt={}));class Fy{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?jV:(this._emitter||(this._emitter=new B),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}let Vi=class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Fy),this._token}cancel(){this._token?this._token instanceof Fy&&this._token.cancel():this._token=dt.Cancelled}dispose(e=!1){var t;e&&this.cancel(),(t=this._parentListener)===null||t===void 0||t.dispose(),this._token?this._token instanceof Fy&&this._token.dispose():this._token=dt.None}};function i3(s){const e=new Vi;return s.add({dispose(){e.cancel()}}),e.token}class qP{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Oy=new qP,XT=new qP,YT=new qP,KV=new Array(230),Xoe=Object.create(null),Yoe=Object.create(null),GP=[];for(let s=0;s<=193;s++)GP[s]=-1;(function(){const s=\"\",e=[[1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",s,s],[1,1,\"Hyper\",0,s,0,s,s,s],[1,2,\"Super\",0,s,0,s,s,s],[1,3,\"Fn\",0,s,0,s,s,s],[1,4,\"FnLock\",0,s,0,s,s,s],[1,5,\"Suspend\",0,s,0,s,s,s],[1,6,\"Resume\",0,s,0,s,s,s],[1,7,\"Turbo\",0,s,0,s,s,s],[1,8,\"Sleep\",0,s,0,\"VK_SLEEP\",s,s],[1,9,\"WakeUp\",0,s,0,s,s,s],[0,10,\"KeyA\",31,\"A\",65,\"VK_A\",s,s],[0,11,\"KeyB\",32,\"B\",66,\"VK_B\",s,s],[0,12,\"KeyC\",33,\"C\",67,\"VK_C\",s,s],[0,13,\"KeyD\",34,\"D\",68,\"VK_D\",s,s],[0,14,\"KeyE\",35,\"E\",69,\"VK_E\",s,s],[0,15,\"KeyF\",36,\"F\",70,\"VK_F\",s,s],[0,16,\"KeyG\",37,\"G\",71,\"VK_G\",s,s],[0,17,\"KeyH\",38,\"H\",72,\"VK_H\",s,s],[0,18,\"KeyI\",39,\"I\",73,\"VK_I\",s,s],[0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",s,s],[0,20,\"KeyK\",41,\"K\",75,\"VK_K\",s,s],[0,21,\"KeyL\",42,\"L\",76,\"VK_L\",s,s],[0,22,\"KeyM\",43,\"M\",77,\"VK_M\",s,s],[0,23,\"KeyN\",44,\"N\",78,\"VK_N\",s,s],[0,24,\"KeyO\",45,\"O\",79,\"VK_O\",s,s],[0,25,\"KeyP\",46,\"P\",80,\"VK_P\",s,s],[0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",s,s],[0,27,\"KeyR\",48,\"R\",82,\"VK_R\",s,s],[0,28,\"KeyS\",49,\"S\",83,\"VK_S\",s,s],[0,29,\"KeyT\",50,\"T\",84,\"VK_T\",s,s],[0,30,\"KeyU\",51,\"U\",85,\"VK_U\",s,s],[0,31,\"KeyV\",52,\"V\",86,\"VK_V\",s,s],[0,32,\"KeyW\",53,\"W\",87,\"VK_W\",s,s],[0,33,\"KeyX\",54,\"X\",88,\"VK_X\",s,s],[0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",s,s],[0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",s,s],[0,36,\"Digit1\",22,\"1\",49,\"VK_1\",s,s],[0,37,\"Digit2\",23,\"2\",50,\"VK_2\",s,s],[0,38,\"Digit3\",24,\"3\",51,\"VK_3\",s,s],[0,39,\"Digit4\",25,\"4\",52,\"VK_4\",s,s],[0,40,\"Digit5\",26,\"5\",53,\"VK_5\",s,s],[0,41,\"Digit6\",27,\"6\",54,\"VK_6\",s,s],[0,42,\"Digit7\",28,\"7\",55,\"VK_7\",s,s],[0,43,\"Digit8\",29,\"8\",56,\"VK_8\",s,s],[0,44,\"Digit9\",30,\"9\",57,\"VK_9\",s,s],[0,45,\"Digit0\",21,\"0\",48,\"VK_0\",s,s],[1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",s,s],[1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",s,s],[1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",s,s],[1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",s,s],[1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",s,s],[0,51,\"Minus\",88,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[0,52,\"Equal\",86,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[0,53,\"BracketLeft\",92,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[0,54,\"BracketRight\",94,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[0,55,\"Backslash\",93,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,56,\"IntlHash\",0,s,0,s,s,s],[0,57,\"Semicolon\",85,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[0,58,\"Quote\",95,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[0,59,\"Backquote\",91,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[0,60,\"Comma\",87,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[0,61,\"Period\",89,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[0,62,\"Slash\",90,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",s,s],[1,64,\"F1\",59,\"F1\",112,\"VK_F1\",s,s],[1,65,\"F2\",60,\"F2\",113,\"VK_F2\",s,s],[1,66,\"F3\",61,\"F3\",114,\"VK_F3\",s,s],[1,67,\"F4\",62,\"F4\",115,\"VK_F4\",s,s],[1,68,\"F5\",63,\"F5\",116,\"VK_F5\",s,s],[1,69,\"F6\",64,\"F6\",117,\"VK_F6\",s,s],[1,70,\"F7\",65,\"F7\",118,\"VK_F7\",s,s],[1,71,\"F8\",66,\"F8\",119,\"VK_F8\",s,s],[1,72,\"F9\",67,\"F9\",120,\"VK_F9\",s,s],[1,73,\"F10\",68,\"F10\",121,\"VK_F10\",s,s],[1,74,\"F11\",69,\"F11\",122,\"VK_F11\",s,s],[1,75,\"F12\",70,\"F12\",123,\"VK_F12\",s,s],[1,76,\"PrintScreen\",0,s,0,s,s,s],[1,77,\"ScrollLock\",84,\"ScrollLock\",145,\"VK_SCROLL\",s,s],[1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",s,s],[1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",s,s],[1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",s,s],[1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",s,s],[1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",s,s],[1,83,\"End\",13,\"End\",35,\"VK_END\",s,s],[1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",s,s],[1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",s],[1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",s],[1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",s],[1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",s],[1,89,\"NumLock\",83,\"NumLock\",144,\"VK_NUMLOCK\",s,s],[1,90,\"NumpadDivide\",113,\"NumPad_Divide\",111,\"VK_DIVIDE\",s,s],[1,91,\"NumpadMultiply\",108,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",s,s],[1,92,\"NumpadSubtract\",111,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",s,s],[1,93,\"NumpadAdd\",109,\"NumPad_Add\",107,\"VK_ADD\",s,s],[1,94,\"NumpadEnter\",3,s,0,s,s,s],[1,95,\"Numpad1\",99,\"NumPad1\",97,\"VK_NUMPAD1\",s,s],[1,96,\"Numpad2\",100,\"NumPad2\",98,\"VK_NUMPAD2\",s,s],[1,97,\"Numpad3\",101,\"NumPad3\",99,\"VK_NUMPAD3\",s,s],[1,98,\"Numpad4\",102,\"NumPad4\",100,\"VK_NUMPAD4\",s,s],[1,99,\"Numpad5\",103,\"NumPad5\",101,\"VK_NUMPAD5\",s,s],[1,100,\"Numpad6\",104,\"NumPad6\",102,\"VK_NUMPAD6\",s,s],[1,101,\"Numpad7\",105,\"NumPad7\",103,\"VK_NUMPAD7\",s,s],[1,102,\"Numpad8\",106,\"NumPad8\",104,\"VK_NUMPAD8\",s,s],[1,103,\"Numpad9\",107,\"NumPad9\",105,\"VK_NUMPAD9\",s,s],[1,104,\"Numpad0\",98,\"NumPad0\",96,\"VK_NUMPAD0\",s,s],[1,105,\"NumpadDecimal\",112,\"NumPad_Decimal\",110,\"VK_DECIMAL\",s,s],[0,106,\"IntlBackslash\",97,\"OEM_102\",226,\"VK_OEM_102\",s,s],[1,107,\"ContextMenu\",58,\"ContextMenu\",93,s,s,s],[1,108,\"Power\",0,s,0,s,s,s],[1,109,\"NumpadEqual\",0,s,0,s,s,s],[1,110,\"F13\",71,\"F13\",124,\"VK_F13\",s,s],[1,111,\"F14\",72,\"F14\",125,\"VK_F14\",s,s],[1,112,\"F15\",73,\"F15\",126,\"VK_F15\",s,s],[1,113,\"F16\",74,\"F16\",127,\"VK_F16\",s,s],[1,114,\"F17\",75,\"F17\",128,\"VK_F17\",s,s],[1,115,\"F18\",76,\"F18\",129,\"VK_F18\",s,s],[1,116,\"F19\",77,\"F19\",130,\"VK_F19\",s,s],[1,117,\"F20\",78,\"F20\",131,\"VK_F20\",s,s],[1,118,\"F21\",79,\"F21\",132,\"VK_F21\",s,s],[1,119,\"F22\",80,\"F22\",133,\"VK_F22\",s,s],[1,120,\"F23\",81,\"F23\",134,\"VK_F23\",s,s],[1,121,\"F24\",82,\"F24\",135,\"VK_F24\",s,s],[1,122,\"Open\",0,s,0,s,s,s],[1,123,\"Help\",0,s,0,s,s,s],[1,124,\"Select\",0,s,0,s,s,s],[1,125,\"Again\",0,s,0,s,s,s],[1,126,\"Undo\",0,s,0,s,s,s],[1,127,\"Cut\",0,s,0,s,s,s],[1,128,\"Copy\",0,s,0,s,s,s],[1,129,\"Paste\",0,s,0,s,s,s],[1,130,\"Find\",0,s,0,s,s,s],[1,131,\"AudioVolumeMute\",117,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",s,s],[1,132,\"AudioVolumeUp\",118,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",s,s],[1,133,\"AudioVolumeDown\",119,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",s,s],[1,134,\"NumpadComma\",110,\"NumPad_Separator\",108,\"VK_SEPARATOR\",s,s],[0,135,\"IntlRo\",115,\"ABNT_C1\",193,\"VK_ABNT_C1\",s,s],[1,136,\"KanaMode\",0,s,0,s,s,s],[0,137,\"IntlYen\",0,s,0,s,s,s],[1,138,\"Convert\",0,s,0,s,s,s],[1,139,\"NonConvert\",0,s,0,s,s,s],[1,140,\"Lang1\",0,s,0,s,s,s],[1,141,\"Lang2\",0,s,0,s,s,s],[1,142,\"Lang3\",0,s,0,s,s,s],[1,143,\"Lang4\",0,s,0,s,s,s],[1,144,\"Lang5\",0,s,0,s,s,s],[1,145,\"Abort\",0,s,0,s,s,s],[1,146,\"Props\",0,s,0,s,s,s],[1,147,\"NumpadParenLeft\",0,s,0,s,s,s],[1,148,\"NumpadParenRight\",0,s,0,s,s,s],[1,149,\"NumpadBackspace\",0,s,0,s,s,s],[1,150,\"NumpadMemoryStore\",0,s,0,s,s,s],[1,151,\"NumpadMemoryRecall\",0,s,0,s,s,s],[1,152,\"NumpadMemoryClear\",0,s,0,s,s,s],[1,153,\"NumpadMemoryAdd\",0,s,0,s,s,s],[1,154,\"NumpadMemorySubtract\",0,s,0,s,s,s],[1,155,\"NumpadClear\",131,\"Clear\",12,\"VK_CLEAR\",s,s],[1,156,\"NumpadClearEntry\",0,s,0,s,s,s],[1,0,s,5,\"Ctrl\",17,\"VK_CONTROL\",s,s],[1,0,s,4,\"Shift\",16,\"VK_SHIFT\",s,s],[1,0,s,6,\"Alt\",18,\"VK_MENU\",s,s],[1,0,s,57,\"Meta\",91,\"VK_COMMAND\",s,s],[1,157,\"ControlLeft\",5,s,0,\"VK_LCONTROL\",s,s],[1,158,\"ShiftLeft\",4,s,0,\"VK_LSHIFT\",s,s],[1,159,\"AltLeft\",6,s,0,\"VK_LMENU\",s,s],[1,160,\"MetaLeft\",57,s,0,\"VK_LWIN\",s,s],[1,161,\"ControlRight\",5,s,0,\"VK_RCONTROL\",s,s],[1,162,\"ShiftRight\",4,s,0,\"VK_RSHIFT\",s,s],[1,163,\"AltRight\",6,s,0,\"VK_RMENU\",s,s],[1,164,\"MetaRight\",57,s,0,\"VK_RWIN\",s,s],[1,165,\"BrightnessUp\",0,s,0,s,s,s],[1,166,\"BrightnessDown\",0,s,0,s,s,s],[1,167,\"MediaPlay\",0,s,0,s,s,s],[1,168,\"MediaRecord\",0,s,0,s,s,s],[1,169,\"MediaFastForward\",0,s,0,s,s,s],[1,170,\"MediaRewind\",0,s,0,s,s,s],[1,171,\"MediaTrackNext\",124,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",s,s],[1,172,\"MediaTrackPrevious\",125,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",s,s],[1,173,\"MediaStop\",126,\"MediaStop\",178,\"VK_MEDIA_STOP\",s,s],[1,174,\"Eject\",0,s,0,s,s,s],[1,175,\"MediaPlayPause\",127,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",s,s],[1,176,\"MediaSelect\",128,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",s,s],[1,177,\"LaunchMail\",129,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",s,s],[1,178,\"LaunchApp2\",130,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",s,s],[1,179,\"LaunchApp1\",0,s,0,\"VK_MEDIA_LAUNCH_APP1\",s,s],[1,180,\"SelectTask\",0,s,0,s,s,s],[1,181,\"LaunchScreenSaver\",0,s,0,s,s,s],[1,182,\"BrowserSearch\",120,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",s,s],[1,183,\"BrowserHome\",121,\"BrowserHome\",172,\"VK_BROWSER_HOME\",s,s],[1,184,\"BrowserBack\",122,\"BrowserBack\",166,\"VK_BROWSER_BACK\",s,s],[1,185,\"BrowserForward\",123,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",s,s],[1,186,\"BrowserStop\",0,s,0,\"VK_BROWSER_STOP\",s,s],[1,187,\"BrowserRefresh\",0,s,0,\"VK_BROWSER_REFRESH\",s,s],[1,188,\"BrowserFavorites\",0,s,0,\"VK_BROWSER_FAVORITES\",s,s],[1,189,\"ZoomToggle\",0,s,0,s,s,s],[1,190,\"MailReply\",0,s,0,s,s,s],[1,191,\"MailForward\",0,s,0,s,s,s],[1,192,\"MailSend\",0,s,0,s,s,s],[1,0,s,114,\"KeyInComposition\",229,s,s,s],[1,0,s,116,\"ABNT_C2\",194,\"VK_ABNT_C2\",s,s],[1,0,s,96,\"OEM_8\",223,\"VK_OEM_8\",s,s],[1,0,s,0,s,0,\"VK_KANA\",s,s],[1,0,s,0,s,0,\"VK_HANGUL\",s,s],[1,0,s,0,s,0,\"VK_JUNJA\",s,s],[1,0,s,0,s,0,\"VK_FINAL\",s,s],[1,0,s,0,s,0,\"VK_HANJA\",s,s],[1,0,s,0,s,0,\"VK_KANJI\",s,s],[1,0,s,0,s,0,\"VK_CONVERT\",s,s],[1,0,s,0,s,0,\"VK_NONCONVERT\",s,s],[1,0,s,0,s,0,\"VK_ACCEPT\",s,s],[1,0,s,0,s,0,\"VK_MODECHANGE\",s,s],[1,0,s,0,s,0,\"VK_SELECT\",s,s],[1,0,s,0,s,0,\"VK_PRINT\",s,s],[1,0,s,0,s,0,\"VK_EXECUTE\",s,s],[1,0,s,0,s,0,\"VK_SNAPSHOT\",s,s],[1,0,s,0,s,0,\"VK_HELP\",s,s],[1,0,s,0,s,0,\"VK_APPS\",s,s],[1,0,s,0,s,0,\"VK_PROCESSKEY\",s,s],[1,0,s,0,s,0,\"VK_PACKET\",s,s],[1,0,s,0,s,0,\"VK_DBE_SBCSCHAR\",s,s],[1,0,s,0,s,0,\"VK_DBE_DBCSCHAR\",s,s],[1,0,s,0,s,0,\"VK_ATTN\",s,s],[1,0,s,0,s,0,\"VK_CRSEL\",s,s],[1,0,s,0,s,0,\"VK_EXSEL\",s,s],[1,0,s,0,s,0,\"VK_EREOF\",s,s],[1,0,s,0,s,0,\"VK_PLAY\",s,s],[1,0,s,0,s,0,\"VK_ZOOM\",s,s],[1,0,s,0,s,0,\"VK_NONAME\",s,s],[1,0,s,0,s,0,\"VK_PA1\",s,s],[1,0,s,0,s,0,\"VK_OEM_CLEAR\",s,s]],t=[],i=[];for(const n of e){const[o,r,a,l,d,c,u,h,g]=n;if(i[r]||(i[r]=!0,Xoe[a]=r,Yoe[a.toLowerCase()]=r,o&&(GP[r]=l)),!t[l]){if(t[l]=!0,!d)throw new Error(`String representation missing for key code ${l} around scan code ${a}`);Oy.define(l,d),XT.define(l,h||d),YT.define(l,g||h||d)}c&&(KV[c]=l)}})();var sc;(function(s){function e(a){return Oy.keyCodeToStr(a)}s.toString=e;function t(a){return Oy.strToKeyCode(a)}s.fromString=t;function i(a){return XT.keyCodeToStr(a)}s.toUserSettingsUS=i;function n(a){return YT.keyCodeToStr(a)}s.toUserSettingsGeneral=n;function o(a){return XT.strToKeyCode(a)||YT.strToKeyCode(a)}s.fromUserSettings=o;function r(a){if(a>=98&&a<=113)return null;switch(a){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return Oy.keyCodeToStr(a)}s.toElectronAccelerator=r})(sc||(sc={}));function an(s,e){const t=(e&65535)<<16>>>0;return(s|t)>>>0}var n3={};let km;const AE=globalThis.vscode;if(typeof AE<\"u\"&&typeof AE.process<\"u\"){const s=AE.process;km={get platform(){return s.platform},get arch(){return s.arch},get env(){return s.env},cwd(){return s.cwd()}}}else typeof process<\"u\"?km={get platform(){return process.platform},get arch(){return process.arch},get env(){return n3},cwd(){return n3.VSCODE_CWD||process.cwd()}}:km={get platform(){return as?\"win32\":lt?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const AS=km.cwd,QT=km.env,Qoe=km.platform,Joe=65,ere=97,tre=90,ire=122,ih=46,gs=47,Vo=92,fu=58,nre=63;class qV extends Error{constructor(e,t,i){let n;typeof t==\"string\"&&t.indexOf(\"not \")===0?(n=\"must not be\",t=t.replace(/^not /,\"\")):n=\"must be\";const o=e.indexOf(\".\")!==-1?\"property\":\"argument\";let r=`The \"${e}\" ${o} ${n} of type ${t}`;r+=`. Received type ${typeof i}`,super(r),this.code=\"ERR_INVALID_ARG_TYPE\"}}function sre(s,e){if(s===null||typeof s!=\"object\")throw new qV(e,\"Object\",s)}function In(s,e){if(typeof s!=\"string\")throw new qV(e,\"string\",s)}const eg=Qoe===\"win32\";function Pt(s){return s===gs||s===Vo}function JT(s){return s===gs}function pu(s){return s>=Joe&&s<=tre||s>=ere&&s<=ire}function MS(s,e,t,i){let n=\"\",o=0,r=-1,a=0,l=0;for(let d=0;d<=s.length;++d){if(d<s.length)l=s.charCodeAt(d);else{if(i(l))break;l=gs}if(i(l)){if(!(r===d-1||a===1))if(a===2){if(n.length<2||o!==2||n.charCodeAt(n.length-1)!==ih||n.charCodeAt(n.length-2)!==ih){if(n.length>2){const c=n.lastIndexOf(t);c===-1?(n=\"\",o=0):(n=n.slice(0,c),o=n.length-1-n.lastIndexOf(t)),r=d,a=0;continue}else if(n.length!==0){n=\"\",o=0,r=d,a=0;continue}}e&&(n+=n.length>0?`${t}..`:\"..\",o=2)}else n.length>0?n+=`${t}${s.slice(r+1,d)}`:n=s.slice(r+1,d),o=d-r-1;r=d,a=0}else l===ih&&a!==-1?++a:a=-1}return n}function GV(s,e){sre(e,\"pathObject\");const t=e.dir||e.root,i=e.base||`${e.name||\"\"}${e.ext||\"\"}`;return t?t===e.root?`${t}${i}`:`${t}${s}${i}`:i}const xo={resolve(...s){let e=\"\",t=\"\",i=!1;for(let n=s.length-1;n>=-1;n--){let o;if(n>=0){if(o=s[n],In(o,\"path\"),o.length===0)continue}else e.length===0?o=AS():(o=QT[`=${e}`]||AS(),(o===void 0||o.slice(0,2).toLowerCase()!==e.toLowerCase()&&o.charCodeAt(2)===Vo)&&(o=`${e}\\\\`));const r=o.length;let a=0,l=\"\",d=!1;const c=o.charCodeAt(0);if(r===1)Pt(c)&&(a=1,d=!0);else if(Pt(c))if(d=!0,Pt(o.charCodeAt(1))){let u=2,h=u;for(;u<r&&!Pt(o.charCodeAt(u));)u++;if(u<r&&u!==h){const g=o.slice(h,u);for(h=u;u<r&&Pt(o.charCodeAt(u));)u++;if(u<r&&u!==h){for(h=u;u<r&&!Pt(o.charCodeAt(u));)u++;(u===r||u!==h)&&(l=`\\\\\\\\${g}\\\\${o.slice(h,u)}`,a=u)}}}else a=1;else pu(c)&&o.charCodeAt(1)===fu&&(l=o.slice(0,2),a=2,r>2&&Pt(o.charCodeAt(2))&&(d=!0,a=3));if(l.length>0)if(e.length>0){if(l.toLowerCase()!==e.toLowerCase())continue}else e=l;if(i){if(e.length>0)break}else if(t=`${o.slice(a)}\\\\${t}`,i=d,d&&e.length>0)break}return t=MS(t,!i,\"\\\\\",Pt),i?`${e}\\\\${t}`:`${e}${t}`||\".\"},normalize(s){In(s,\"path\");const e=s.length;if(e===0)return\".\";let t=0,i,n=!1;const o=s.charCodeAt(0);if(e===1)return JT(o)?\"\\\\\":s;if(Pt(o))if(n=!0,Pt(s.charCodeAt(1))){let a=2,l=a;for(;a<e&&!Pt(s.charCodeAt(a));)a++;if(a<e&&a!==l){const d=s.slice(l,a);for(l=a;a<e&&Pt(s.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!Pt(s.charCodeAt(a));)a++;if(a===e)return`\\\\\\\\${d}\\\\${s.slice(l)}\\\\`;a!==l&&(i=`\\\\\\\\${d}\\\\${s.slice(l,a)}`,t=a)}}}else t=1;else pu(o)&&s.charCodeAt(1)===fu&&(i=s.slice(0,2),t=2,e>2&&Pt(s.charCodeAt(2))&&(n=!0,t=3));let r=t<e?MS(s.slice(t),!n,\"\\\\\",Pt):\"\";return r.length===0&&!n&&(r=\".\"),r.length>0&&Pt(s.charCodeAt(e-1))&&(r+=\"\\\\\"),i===void 0?n?`\\\\${r}`:r:n?`${i}\\\\${r}`:`${i}${r}`},isAbsolute(s){In(s,\"path\");const e=s.length;if(e===0)return!1;const t=s.charCodeAt(0);return Pt(t)||e>2&&pu(t)&&s.charCodeAt(1)===fu&&Pt(s.charCodeAt(2))},join(...s){if(s.length===0)return\".\";let e,t;for(let o=0;o<s.length;++o){const r=s[o];In(r,\"path\"),r.length>0&&(e===void 0?e=t=r:e+=`\\\\${r}`)}if(e===void 0)return\".\";let i=!0,n=0;if(typeof t==\"string\"&&Pt(t.charCodeAt(0))){++n;const o=t.length;o>1&&Pt(t.charCodeAt(1))&&(++n,o>2&&(Pt(t.charCodeAt(2))?++n:i=!1))}if(i){for(;n<e.length&&Pt(e.charCodeAt(n));)n++;n>=2&&(e=`\\\\${e.slice(n)}`)}return xo.normalize(e)},relative(s,e){if(In(s,\"from\"),In(e,\"to\"),s===e)return\"\";const t=xo.resolve(s),i=xo.resolve(e);if(t===i||(s=t.toLowerCase(),e=i.toLowerCase(),s===e))return\"\";let n=0;for(;n<s.length&&s.charCodeAt(n)===Vo;)n++;let o=s.length;for(;o-1>n&&s.charCodeAt(o-1)===Vo;)o--;const r=o-n;let a=0;for(;a<e.length&&e.charCodeAt(a)===Vo;)a++;let l=e.length;for(;l-1>a&&e.charCodeAt(l-1)===Vo;)l--;const d=l-a,c=r<d?r:d;let u=-1,h=0;for(;h<c;h++){const f=s.charCodeAt(n+h);if(f!==e.charCodeAt(a+h))break;f===Vo&&(u=h)}if(h!==c){if(u===-1)return i}else{if(d>c){if(e.charCodeAt(a+h)===Vo)return i.slice(a+h+1);if(h===2)return i.slice(a+h)}r>c&&(s.charCodeAt(n+h)===Vo?u=h:h===2&&(u=3)),u===-1&&(u=0)}let g=\"\";for(h=n+u+1;h<=o;++h)(h===o||s.charCodeAt(h)===Vo)&&(g+=g.length===0?\"..\":\"\\\\..\");return a+=u,g.length>0?`${g}${i.slice(a,l)}`:(i.charCodeAt(a)===Vo&&++a,i.slice(a,l))},toNamespacedPath(s){if(typeof s!=\"string\"||s.length===0)return s;const e=xo.resolve(s);if(e.length<=2)return s;if(e.charCodeAt(0)===Vo){if(e.charCodeAt(1)===Vo){const t=e.charCodeAt(2);if(t!==nre&&t!==ih)return`\\\\\\\\?\\\\UNC\\\\${e.slice(2)}`}}else if(pu(e.charCodeAt(0))&&e.charCodeAt(1)===fu&&e.charCodeAt(2)===Vo)return`\\\\\\\\?\\\\${e}`;return s},dirname(s){In(s,\"path\");const e=s.length;if(e===0)return\".\";let t=-1,i=0;const n=s.charCodeAt(0);if(e===1)return Pt(n)?s:\".\";if(Pt(n)){if(t=i=1,Pt(s.charCodeAt(1))){let a=2,l=a;for(;a<e&&!Pt(s.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&Pt(s.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!Pt(s.charCodeAt(a));)a++;if(a===e)return s;a!==l&&(t=i=a+1)}}}}else pu(n)&&s.charCodeAt(1)===fu&&(t=e>2&&Pt(s.charCodeAt(2))?3:2,i=t);let o=-1,r=!0;for(let a=e-1;a>=i;--a)if(Pt(s.charCodeAt(a))){if(!r){o=a;break}}else r=!1;if(o===-1){if(t===-1)return\".\";o=t}return s.slice(0,o)},basename(s,e){e!==void 0&&In(e,\"ext\"),In(s,\"path\");let t=0,i=-1,n=!0,o;if(s.length>=2&&pu(s.charCodeAt(0))&&s.charCodeAt(1)===fu&&(t=2),e!==void 0&&e.length>0&&e.length<=s.length){if(e===s)return\"\";let r=e.length-1,a=-1;for(o=s.length-1;o>=t;--o){const l=s.charCodeAt(o);if(Pt(l)){if(!n){t=o+1;break}}else a===-1&&(n=!1,a=o+1),r>=0&&(l===e.charCodeAt(r)?--r===-1&&(i=o):(r=-1,i=a))}return t===i?i=a:i===-1&&(i=s.length),s.slice(t,i)}for(o=s.length-1;o>=t;--o)if(Pt(s.charCodeAt(o))){if(!n){t=o+1;break}}else i===-1&&(n=!1,i=o+1);return i===-1?\"\":s.slice(t,i)},extname(s){In(s,\"path\");let e=0,t=-1,i=0,n=-1,o=!0,r=0;s.length>=2&&s.charCodeAt(1)===fu&&pu(s.charCodeAt(0))&&(e=i=2);for(let a=s.length-1;a>=e;--a){const l=s.charCodeAt(a);if(Pt(l)){if(!o){i=a+1;break}continue}n===-1&&(o=!1,n=a+1),l===ih?t===-1?t=a:r!==1&&(r=1):t!==-1&&(r=-1)}return t===-1||n===-1||r===0||r===1&&t===n-1&&t===i+1?\"\":s.slice(t,n)},format:GV.bind(null,\"\\\\\"),parse(s){In(s,\"path\");const e={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(s.length===0)return e;const t=s.length;let i=0,n=s.charCodeAt(0);if(t===1)return Pt(n)?(e.root=e.dir=s,e):(e.base=e.name=s,e);if(Pt(n)){if(i=1,Pt(s.charCodeAt(1))){let u=2,h=u;for(;u<t&&!Pt(s.charCodeAt(u));)u++;if(u<t&&u!==h){for(h=u;u<t&&Pt(s.charCodeAt(u));)u++;if(u<t&&u!==h){for(h=u;u<t&&!Pt(s.charCodeAt(u));)u++;u===t?i=u:u!==h&&(i=u+1)}}}}else if(pu(n)&&s.charCodeAt(1)===fu){if(t<=2)return e.root=e.dir=s,e;if(i=2,Pt(s.charCodeAt(2))){if(t===3)return e.root=e.dir=s,e;i=3}}i>0&&(e.root=s.slice(0,i));let o=-1,r=i,a=-1,l=!0,d=s.length-1,c=0;for(;d>=i;--d){if(n=s.charCodeAt(d),Pt(n)){if(!l){r=d+1;break}continue}a===-1&&(l=!1,a=d+1),n===ih?o===-1?o=d:c!==1&&(c=1):o!==-1&&(c=-1)}return a!==-1&&(o===-1||c===0||c===1&&o===a-1&&o===r+1?e.base=e.name=s.slice(r,a):(e.name=s.slice(r,o),e.base=s.slice(r,a),e.ext=s.slice(o,a))),r>0&&r!==i?e.dir=s.slice(0,r-1):e.dir=e.root,e},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},ore=(()=>{if(eg){const s=/\\\\/g;return()=>{const e=AS().replace(s,\"/\");return e.slice(e.indexOf(\"/\"))}}return()=>AS()})(),Yi={resolve(...s){let e=\"\",t=!1;for(let i=s.length-1;i>=-1&&!t;i--){const n=i>=0?s[i]:ore();In(n,\"path\"),n.length!==0&&(e=`${n}/${e}`,t=n.charCodeAt(0)===gs)}return e=MS(e,!t,\"/\",JT),t?`/${e}`:e.length>0?e:\".\"},normalize(s){if(In(s,\"path\"),s.length===0)return\".\";const e=s.charCodeAt(0)===gs,t=s.charCodeAt(s.length-1)===gs;return s=MS(s,!e,\"/\",JT),s.length===0?e?\"/\":t?\"./\":\".\":(t&&(s+=\"/\"),e?`/${s}`:s)},isAbsolute(s){return In(s,\"path\"),s.length>0&&s.charCodeAt(0)===gs},join(...s){if(s.length===0)return\".\";let e;for(let t=0;t<s.length;++t){const i=s[t];In(i,\"path\"),i.length>0&&(e===void 0?e=i:e+=`/${i}`)}return e===void 0?\".\":Yi.normalize(e)},relative(s,e){if(In(s,\"from\"),In(e,\"to\"),s===e||(s=Yi.resolve(s),e=Yi.resolve(e),s===e))return\"\";const t=1,i=s.length,n=i-t,o=1,r=e.length-o,a=n<r?n:r;let l=-1,d=0;for(;d<a;d++){const u=s.charCodeAt(t+d);if(u!==e.charCodeAt(o+d))break;u===gs&&(l=d)}if(d===a)if(r>a){if(e.charCodeAt(o+d)===gs)return e.slice(o+d+1);if(d===0)return e.slice(o+d)}else n>a&&(s.charCodeAt(t+d)===gs?l=d:d===0&&(l=0));let c=\"\";for(d=t+l+1;d<=i;++d)(d===i||s.charCodeAt(d)===gs)&&(c+=c.length===0?\"..\":\"/..\");return`${c}${e.slice(o+l)}`},toNamespacedPath(s){return s},dirname(s){if(In(s,\"path\"),s.length===0)return\".\";const e=s.charCodeAt(0)===gs;let t=-1,i=!0;for(let n=s.length-1;n>=1;--n)if(s.charCodeAt(n)===gs){if(!i){t=n;break}}else i=!1;return t===-1?e?\"/\":\".\":e&&t===1?\"//\":s.slice(0,t)},basename(s,e){e!==void 0&&In(e,\"ext\"),In(s,\"path\");let t=0,i=-1,n=!0,o;if(e!==void 0&&e.length>0&&e.length<=s.length){if(e===s)return\"\";let r=e.length-1,a=-1;for(o=s.length-1;o>=0;--o){const l=s.charCodeAt(o);if(l===gs){if(!n){t=o+1;break}}else a===-1&&(n=!1,a=o+1),r>=0&&(l===e.charCodeAt(r)?--r===-1&&(i=o):(r=-1,i=a))}return t===i?i=a:i===-1&&(i=s.length),s.slice(t,i)}for(o=s.length-1;o>=0;--o)if(s.charCodeAt(o)===gs){if(!n){t=o+1;break}}else i===-1&&(n=!1,i=o+1);return i===-1?\"\":s.slice(t,i)},extname(s){In(s,\"path\");let e=-1,t=0,i=-1,n=!0,o=0;for(let r=s.length-1;r>=0;--r){const a=s.charCodeAt(r);if(a===gs){if(!n){t=r+1;break}continue}i===-1&&(n=!1,i=r+1),a===ih?e===-1?e=r:o!==1&&(o=1):e!==-1&&(o=-1)}return e===-1||i===-1||o===0||o===1&&e===i-1&&e===t+1?\"\":s.slice(e,i)},format:GV.bind(null,\"/\"),parse(s){In(s,\"path\");const e={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(s.length===0)return e;const t=s.charCodeAt(0)===gs;let i;t?(e.root=\"/\",i=1):i=0;let n=-1,o=0,r=-1,a=!0,l=s.length-1,d=0;for(;l>=i;--l){const c=s.charCodeAt(l);if(c===gs){if(!a){o=l+1;break}continue}r===-1&&(a=!1,r=l+1),c===ih?n===-1?n=l:d!==1&&(d=1):n!==-1&&(d=-1)}if(r!==-1){const c=o===0&&t?1:o;n===-1||d===0||d===1&&n===r-1&&n===o+1?e.base=e.name=s.slice(c,r):(e.name=s.slice(c,n),e.base=s.slice(c,r),e.ext=s.slice(n,r))}return o>0?e.dir=s.slice(0,o-1):t&&(e.dir=\"/\"),e},sep:\"/\",delimiter:\":\",win32:null,posix:null};Yi.win32=xo.win32=xo;Yi.posix=xo.posix=Yi;const ZV=eg?xo.normalize:Yi.normalize,rre=eg?xo.resolve:Yi.resolve,are=eg?xo.relative:Yi.relative,XV=eg?xo.dirname:Yi.dirname,nh=eg?xo.basename:Yi.basename,lre=eg?xo.extname:Yi.extname,sh=eg?xo.sep:Yi.sep,dre=/^\\w[\\w\\d+.-]*$/,cre=/^\\//,ure=/^\\/\\//;function hre(s,e){if(!s.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${s.authority}\", path: \"${s.path}\", query: \"${s.query}\", fragment: \"${s.fragment}\"}`);if(s.scheme&&!dre.test(s.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(s.path){if(s.authority){if(!cre.test(s.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character')}else if(ure.test(s.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function gre(s,e){return!s&&!e?\"file\":s}function fre(s,e){switch(s){case\"https\":case\"http\":case\"file\":e?e[0]!==Ha&&(e=Ha+e):e=Ha;break}return e}const $i=\"\",Ha=\"/\",pre=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class Ae{static isUri(e){return e instanceof Ae?!0:e?typeof e.authority==\"string\"&&typeof e.fragment==\"string\"&&typeof e.path==\"string\"&&typeof e.query==\"string\"&&typeof e.scheme==\"string\"&&typeof e.fsPath==\"string\"&&typeof e.with==\"function\"&&typeof e.toString==\"function\":!1}constructor(e,t,i,n,o,r=!1){typeof e==\"object\"?(this.scheme=e.scheme||$i,this.authority=e.authority||$i,this.path=e.path||$i,this.query=e.query||$i,this.fragment=e.fragment||$i):(this.scheme=gre(e,r),this.authority=t||$i,this.path=fre(this.scheme,i||$i),this.query=n||$i,this.fragment=o||$i,hre(this,r))}get fsPath(){return RS(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:o,fragment:r}=e;return t===void 0?t=this.scheme:t===null&&(t=$i),i===void 0?i=this.authority:i===null&&(i=$i),n===void 0?n=this.path:n===null&&(n=$i),o===void 0?o=this.query:o===null&&(o=$i),r===void 0?r=this.fragment:r===null&&(r=$i),t===this.scheme&&i===this.authority&&n===this.path&&o===this.query&&r===this.fragment?this:new Sp(t,i,n,o,r)}static parse(e,t=!1){const i=pre.exec(e);return i?new Sp(i[2]||$i,cw(i[4]||$i),cw(i[5]||$i),cw(i[7]||$i),cw(i[9]||$i),t):new Sp($i,$i,$i,$i,$i)}static file(e){let t=$i;if(as&&(e=e.replace(/\\\\/g,Ha)),e[0]===Ha&&e[1]===Ha){const i=e.indexOf(Ha,2);i===-1?(t=e.substring(2),e=Ha):(t=e.substring(2,i),e=e.substring(i)||Ha)}return new Sp(\"file\",t,e,$i,$i)}static from(e,t){return new Sp(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){if(!e.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let i;return as&&e.scheme===\"file\"?i=Ae.file(xo.join(RS(e,!0),...t)).path:i=Yi.join(e.path,...t),e.with({path:i})}toString(e=!1){return eN(this,e)}toJSON(){return this}static revive(e){var t,i;if(e){if(e instanceof Ae)return e;{const n=new Sp(e);return n._formatted=(t=e.external)!==null&&t!==void 0?t:null,n._fsPath=e._sep===YV&&(i=e.fsPath)!==null&&i!==void 0?i:null,n}}else return e}}const YV=as?1:void 0;let Sp=class extends Ae{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=RS(this,!1)),this._fsPath}toString(e=!1){return e?eN(this,!0):(this._formatted||(this._formatted=eN(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=YV),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}};const QV={58:\"%3A\",47:\"%2F\",63:\"%3F\",35:\"%23\",91:\"%5B\",93:\"%5D\",64:\"%40\",33:\"%21\",36:\"%24\",38:\"%26\",39:\"%27\",40:\"%28\",41:\"%29\",42:\"%2A\",43:\"%2B\",44:\"%2C\",59:\"%3B\",61:\"%3D\",32:\"%20\"};function s3(s,e,t){let i,n=-1;for(let o=0;o<s.length;o++){const r=s.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||r===45||r===46||r===95||r===126||e&&r===47||t&&r===91||t&&r===93||t&&r===58)n!==-1&&(i+=encodeURIComponent(s.substring(n,o)),n=-1),i!==void 0&&(i+=s.charAt(o));else{i===void 0&&(i=s.substr(0,o));const a=QV[r];a!==void 0?(n!==-1&&(i+=encodeURIComponent(s.substring(n,o)),n=-1),i+=a):n===-1&&(n=o)}}return n!==-1&&(i+=encodeURIComponent(s.substring(n))),i!==void 0?i:s}function mre(s){let e;for(let t=0;t<s.length;t++){const i=s.charCodeAt(t);i===35||i===63?(e===void 0&&(e=s.substr(0,t)),e+=QV[i]):e!==void 0&&(e+=s[t])}return e!==void 0?e:s}function RS(s,e){let t;return s.authority&&s.path.length>1&&s.scheme===\"file\"?t=`//${s.authority}${s.path}`:s.path.charCodeAt(0)===47&&(s.path.charCodeAt(1)>=65&&s.path.charCodeAt(1)<=90||s.path.charCodeAt(1)>=97&&s.path.charCodeAt(1)<=122)&&s.path.charCodeAt(2)===58?e?t=s.path.substr(1):t=s.path[1].toLowerCase()+s.path.substr(2):t=s.path,as&&(t=t.replace(/\\//g,\"\\\\\")),t}function eN(s,e){const t=e?mre:s3;let i=\"\",{scheme:n,authority:o,path:r,query:a,fragment:l}=s;if(n&&(i+=n,i+=\":\"),(o||n===\"file\")&&(i+=Ha,i+=Ha),o){let d=o.indexOf(\"@\");if(d!==-1){const c=o.substr(0,d);o=o.substr(d+1),d=c.lastIndexOf(\":\"),d===-1?i+=t(c,!1,!1):(i+=t(c.substr(0,d),!1,!1),i+=\":\",i+=t(c.substr(d+1),!1,!0)),i+=\"@\"}o=o.toLowerCase(),d=o.lastIndexOf(\":\"),d===-1?i+=t(o,!1,!0):(i+=t(o.substr(0,d),!1,!0),i+=o.substr(d))}if(r){if(r.length>=3&&r.charCodeAt(0)===47&&r.charCodeAt(2)===58){const d=r.charCodeAt(1);d>=65&&d<=90&&(r=`/${String.fromCharCode(d+32)}:${r.substr(3)}`)}else if(r.length>=2&&r.charCodeAt(1)===58){const d=r.charCodeAt(0);d>=65&&d<=90&&(r=`${String.fromCharCode(d+32)}:${r.substr(2)}`)}i+=t(r,!0,!1)}return a&&(i+=\"?\",i+=t(a,!1,!1)),l&&(i+=\"#\",i+=e?l:s3(l,!1,!1)),i}function JV(s){try{return decodeURIComponent(s)}catch{return s.length>3?s.substr(0,3)+JV(s.substr(3)):s}}const o3=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function cw(s){return s.match(o3)?s.replace(o3,e=>JV(e)):s}let W=class Eg{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new Eg(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return Eg.equals(this,e)}static equals(e,t){return!e&&!t?!0:!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return Eg.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber?!0:t.lineNumber<e.lineNumber?!1:e.column<t.column}isBeforeOrEqual(e){return Eg.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber?!0:t.lineNumber<e.lineNumber?!1:e.column<=t.column}static compare(e,t){const i=e.lineNumber|0,n=t.lineNumber|0;if(i===n){const o=e.column|0,r=t.column|0;return o-r}return i-n}clone(){return new Eg(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(e){return new Eg(e.lineNumber,e.column)}static isIPosition(e){return e&&typeof e.lineNumber==\"number\"&&typeof e.column==\"number\"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}},x=class Fn{constructor(e,t,i,n){e>i||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return Fn.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return Fn.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<e.startColumn||t.lineNumber===e.endLineNumber&&t.column>e.endColumn)}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<=e.startColumn||t.lineNumber===e.endLineNumber&&t.column>=e.endColumn)}containsRange(e){return Fn.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)}strictContainsRange(e){return Fn.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return Fn.plusRange(this,e)}static plusRange(e,t){let i,n,o,r;return t.startLineNumber<e.startLineNumber?(i=t.startLineNumber,n=t.startColumn):t.startLineNumber===e.startLineNumber?(i=t.startLineNumber,n=Math.min(t.startColumn,e.startColumn)):(i=e.startLineNumber,n=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,r=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,r=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,r=e.endColumn),new Fn(i,n,o,r)}intersectRanges(e){return Fn.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn;const a=t.startLineNumber,l=t.startColumn,d=t.endLineNumber,c=t.endColumn;return i<a?(i=a,n=l):i===a&&(n=Math.max(n,l)),o>d?(o=d,r=c):o===d&&(r=Math.min(r,c)),i>o||i===o&&n>r?null:new Fn(i,n,o,r)}equalsRange(e){return Fn.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t?!0:!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return Fn.getEndPosition(this)}static getEndPosition(e){return new W(e.endLineNumber,e.endColumn)}getStartPosition(){return Fn.getStartPosition(this)}static getStartPosition(e){return new W(e.startLineNumber,e.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(e,t){return new Fn(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new Fn(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return Fn.collapseToStart(this)}static collapseToStart(e){return new Fn(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return Fn.collapseToEnd(this)}static collapseToEnd(e){return new Fn(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new Fn(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new Fn(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new Fn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&typeof e.startLineNumber==\"number\"&&typeof e.startColumn==\"number\"&&typeof e.endLineNumber==\"number\"&&typeof e.endColumn==\"number\"}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const o=e.startLineNumber|0,r=t.startLineNumber|0;if(o===r){const a=e.startColumn|0,l=t.startColumn|0;if(a===l){const d=e.endLineNumber|0,c=t.endLineNumber|0;if(d===c){const u=e.endColumn|0,h=t.endColumn|0;return u-h}return d-c}return a-l}return o-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}},we=class Yr extends x{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(e){return Yr.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return this.getDirection()===0?new Yr(this.startLineNumber,this.startColumn,e,t):new Yr(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new W(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new W(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return this.getDirection()===0?new Yr(e,t,this.endLineNumber,this.endColumn):new Yr(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new Yr(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return t===0?new Yr(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new Yr(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new Yr(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i<n;i++)if(!this.selectionsEqual(e[i],t[i]))return!1;return!0}static isISelection(e){return e&&typeof e.selectionStartLineNumber==\"number\"&&typeof e.selectionStartColumn==\"number\"&&typeof e.positionLineNumber==\"number\"&&typeof e.positionColumn==\"number\"}static createWithDirection(e,t,i,n,o){return o===0?new Yr(e,t,i,n):new Yr(i,n,e,t)}};const tN=Object.create(null);function S(s,e){if(lo(e)){const t=tN[e];if(t===void 0)throw new Error(`${s} references an unknown codicon: ${e}`);e=t}return tN[s]=e,{id:s}}function ez(){return tN}const _re={add:S(\"add\",6e4),plus:S(\"plus\",6e4),gistNew:S(\"gist-new\",6e4),repoCreate:S(\"repo-create\",6e4),lightbulb:S(\"lightbulb\",60001),lightBulb:S(\"light-bulb\",60001),repo:S(\"repo\",60002),repoDelete:S(\"repo-delete\",60002),gistFork:S(\"gist-fork\",60003),repoForked:S(\"repo-forked\",60003),gitPullRequest:S(\"git-pull-request\",60004),gitPullRequestAbandoned:S(\"git-pull-request-abandoned\",60004),recordKeys:S(\"record-keys\",60005),keyboard:S(\"keyboard\",60005),tag:S(\"tag\",60006),gitPullRequestLabel:S(\"git-pull-request-label\",60006),tagAdd:S(\"tag-add\",60006),tagRemove:S(\"tag-remove\",60006),person:S(\"person\",60007),personFollow:S(\"person-follow\",60007),personOutline:S(\"person-outline\",60007),personFilled:S(\"person-filled\",60007),gitBranch:S(\"git-branch\",60008),gitBranchCreate:S(\"git-branch-create\",60008),gitBranchDelete:S(\"git-branch-delete\",60008),sourceControl:S(\"source-control\",60008),mirror:S(\"mirror\",60009),mirrorPublic:S(\"mirror-public\",60009),star:S(\"star\",60010),starAdd:S(\"star-add\",60010),starDelete:S(\"star-delete\",60010),starEmpty:S(\"star-empty\",60010),comment:S(\"comment\",60011),commentAdd:S(\"comment-add\",60011),alert:S(\"alert\",60012),warning:S(\"warning\",60012),search:S(\"search\",60013),searchSave:S(\"search-save\",60013),logOut:S(\"log-out\",60014),signOut:S(\"sign-out\",60014),logIn:S(\"log-in\",60015),signIn:S(\"sign-in\",60015),eye:S(\"eye\",60016),eyeUnwatch:S(\"eye-unwatch\",60016),eyeWatch:S(\"eye-watch\",60016),circleFilled:S(\"circle-filled\",60017),primitiveDot:S(\"primitive-dot\",60017),closeDirty:S(\"close-dirty\",60017),debugBreakpoint:S(\"debug-breakpoint\",60017),debugBreakpointDisabled:S(\"debug-breakpoint-disabled\",60017),debugHint:S(\"debug-hint\",60017),terminalDecorationSuccess:S(\"terminal-decoration-success\",60017),primitiveSquare:S(\"primitive-square\",60018),edit:S(\"edit\",60019),pencil:S(\"pencil\",60019),info:S(\"info\",60020),issueOpened:S(\"issue-opened\",60020),gistPrivate:S(\"gist-private\",60021),gitForkPrivate:S(\"git-fork-private\",60021),lock:S(\"lock\",60021),mirrorPrivate:S(\"mirror-private\",60021),close:S(\"close\",60022),removeClose:S(\"remove-close\",60022),x:S(\"x\",60022),repoSync:S(\"repo-sync\",60023),sync:S(\"sync\",60023),clone:S(\"clone\",60024),desktopDownload:S(\"desktop-download\",60024),beaker:S(\"beaker\",60025),microscope:S(\"microscope\",60025),vm:S(\"vm\",60026),deviceDesktop:S(\"device-desktop\",60026),file:S(\"file\",60027),fileText:S(\"file-text\",60027),more:S(\"more\",60028),ellipsis:S(\"ellipsis\",60028),kebabHorizontal:S(\"kebab-horizontal\",60028),mailReply:S(\"mail-reply\",60029),reply:S(\"reply\",60029),organization:S(\"organization\",60030),organizationFilled:S(\"organization-filled\",60030),organizationOutline:S(\"organization-outline\",60030),newFile:S(\"new-file\",60031),fileAdd:S(\"file-add\",60031),newFolder:S(\"new-folder\",60032),fileDirectoryCreate:S(\"file-directory-create\",60032),trash:S(\"trash\",60033),trashcan:S(\"trashcan\",60033),history:S(\"history\",60034),clock:S(\"clock\",60034),folder:S(\"folder\",60035),fileDirectory:S(\"file-directory\",60035),symbolFolder:S(\"symbol-folder\",60035),logoGithub:S(\"logo-github\",60036),markGithub:S(\"mark-github\",60036),github:S(\"github\",60036),terminal:S(\"terminal\",60037),console:S(\"console\",60037),repl:S(\"repl\",60037),zap:S(\"zap\",60038),symbolEvent:S(\"symbol-event\",60038),error:S(\"error\",60039),stop:S(\"stop\",60039),variable:S(\"variable\",60040),symbolVariable:S(\"symbol-variable\",60040),array:S(\"array\",60042),symbolArray:S(\"symbol-array\",60042),symbolModule:S(\"symbol-module\",60043),symbolPackage:S(\"symbol-package\",60043),symbolNamespace:S(\"symbol-namespace\",60043),symbolObject:S(\"symbol-object\",60043),symbolMethod:S(\"symbol-method\",60044),symbolFunction:S(\"symbol-function\",60044),symbolConstructor:S(\"symbol-constructor\",60044),symbolBoolean:S(\"symbol-boolean\",60047),symbolNull:S(\"symbol-null\",60047),symbolNumeric:S(\"symbol-numeric\",60048),symbolNumber:S(\"symbol-number\",60048),symbolStructure:S(\"symbol-structure\",60049),symbolStruct:S(\"symbol-struct\",60049),symbolParameter:S(\"symbol-parameter\",60050),symbolTypeParameter:S(\"symbol-type-parameter\",60050),symbolKey:S(\"symbol-key\",60051),symbolText:S(\"symbol-text\",60051),symbolReference:S(\"symbol-reference\",60052),goToFile:S(\"go-to-file\",60052),symbolEnum:S(\"symbol-enum\",60053),symbolValue:S(\"symbol-value\",60053),symbolRuler:S(\"symbol-ruler\",60054),symbolUnit:S(\"symbol-unit\",60054),activateBreakpoints:S(\"activate-breakpoints\",60055),archive:S(\"archive\",60056),arrowBoth:S(\"arrow-both\",60057),arrowDown:S(\"arrow-down\",60058),arrowLeft:S(\"arrow-left\",60059),arrowRight:S(\"arrow-right\",60060),arrowSmallDown:S(\"arrow-small-down\",60061),arrowSmallLeft:S(\"arrow-small-left\",60062),arrowSmallRight:S(\"arrow-small-right\",60063),arrowSmallUp:S(\"arrow-small-up\",60064),arrowUp:S(\"arrow-up\",60065),bell:S(\"bell\",60066),bold:S(\"bold\",60067),book:S(\"book\",60068),bookmark:S(\"bookmark\",60069),debugBreakpointConditionalUnverified:S(\"debug-breakpoint-conditional-unverified\",60070),debugBreakpointConditional:S(\"debug-breakpoint-conditional\",60071),debugBreakpointConditionalDisabled:S(\"debug-breakpoint-conditional-disabled\",60071),debugBreakpointDataUnverified:S(\"debug-breakpoint-data-unverified\",60072),debugBreakpointData:S(\"debug-breakpoint-data\",60073),debugBreakpointDataDisabled:S(\"debug-breakpoint-data-disabled\",60073),debugBreakpointLogUnverified:S(\"debug-breakpoint-log-unverified\",60074),debugBreakpointLog:S(\"debug-breakpoint-log\",60075),debugBreakpointLogDisabled:S(\"debug-breakpoint-log-disabled\",60075),briefcase:S(\"briefcase\",60076),broadcast:S(\"broadcast\",60077),browser:S(\"browser\",60078),bug:S(\"bug\",60079),calendar:S(\"calendar\",60080),caseSensitive:S(\"case-sensitive\",60081),check:S(\"check\",60082),checklist:S(\"checklist\",60083),chevronDown:S(\"chevron-down\",60084),chevronLeft:S(\"chevron-left\",60085),chevronRight:S(\"chevron-right\",60086),chevronUp:S(\"chevron-up\",60087),chromeClose:S(\"chrome-close\",60088),chromeMaximize:S(\"chrome-maximize\",60089),chromeMinimize:S(\"chrome-minimize\",60090),chromeRestore:S(\"chrome-restore\",60091),circleOutline:S(\"circle-outline\",60092),circle:S(\"circle\",60092),debugBreakpointUnverified:S(\"debug-breakpoint-unverified\",60092),terminalDecorationIncomplete:S(\"terminal-decoration-incomplete\",60092),circleSlash:S(\"circle-slash\",60093),circuitBoard:S(\"circuit-board\",60094),clearAll:S(\"clear-all\",60095),clippy:S(\"clippy\",60096),closeAll:S(\"close-all\",60097),cloudDownload:S(\"cloud-download\",60098),cloudUpload:S(\"cloud-upload\",60099),code:S(\"code\",60100),collapseAll:S(\"collapse-all\",60101),colorMode:S(\"color-mode\",60102),commentDiscussion:S(\"comment-discussion\",60103),creditCard:S(\"credit-card\",60105),dash:S(\"dash\",60108),dashboard:S(\"dashboard\",60109),database:S(\"database\",60110),debugContinue:S(\"debug-continue\",60111),debugDisconnect:S(\"debug-disconnect\",60112),debugPause:S(\"debug-pause\",60113),debugRestart:S(\"debug-restart\",60114),debugStart:S(\"debug-start\",60115),debugStepInto:S(\"debug-step-into\",60116),debugStepOut:S(\"debug-step-out\",60117),debugStepOver:S(\"debug-step-over\",60118),debugStop:S(\"debug-stop\",60119),debug:S(\"debug\",60120),deviceCameraVideo:S(\"device-camera-video\",60121),deviceCamera:S(\"device-camera\",60122),deviceMobile:S(\"device-mobile\",60123),diffAdded:S(\"diff-added\",60124),diffIgnored:S(\"diff-ignored\",60125),diffModified:S(\"diff-modified\",60126),diffRemoved:S(\"diff-removed\",60127),diffRenamed:S(\"diff-renamed\",60128),diff:S(\"diff\",60129),diffSidebyside:S(\"diff-sidebyside\",60129),discard:S(\"discard\",60130),editorLayout:S(\"editor-layout\",60131),emptyWindow:S(\"empty-window\",60132),exclude:S(\"exclude\",60133),extensions:S(\"extensions\",60134),eyeClosed:S(\"eye-closed\",60135),fileBinary:S(\"file-binary\",60136),fileCode:S(\"file-code\",60137),fileMedia:S(\"file-media\",60138),filePdf:S(\"file-pdf\",60139),fileSubmodule:S(\"file-submodule\",60140),fileSymlinkDirectory:S(\"file-symlink-directory\",60141),fileSymlinkFile:S(\"file-symlink-file\",60142),fileZip:S(\"file-zip\",60143),files:S(\"files\",60144),filter:S(\"filter\",60145),flame:S(\"flame\",60146),foldDown:S(\"fold-down\",60147),foldUp:S(\"fold-up\",60148),fold:S(\"fold\",60149),folderActive:S(\"folder-active\",60150),folderOpened:S(\"folder-opened\",60151),gear:S(\"gear\",60152),gift:S(\"gift\",60153),gistSecret:S(\"gist-secret\",60154),gist:S(\"gist\",60155),gitCommit:S(\"git-commit\",60156),gitCompare:S(\"git-compare\",60157),compareChanges:S(\"compare-changes\",60157),gitMerge:S(\"git-merge\",60158),githubAction:S(\"github-action\",60159),githubAlt:S(\"github-alt\",60160),globe:S(\"globe\",60161),grabber:S(\"grabber\",60162),graph:S(\"graph\",60163),gripper:S(\"gripper\",60164),heart:S(\"heart\",60165),home:S(\"home\",60166),horizontalRule:S(\"horizontal-rule\",60167),hubot:S(\"hubot\",60168),inbox:S(\"inbox\",60169),issueReopened:S(\"issue-reopened\",60171),issues:S(\"issues\",60172),italic:S(\"italic\",60173),jersey:S(\"jersey\",60174),json:S(\"json\",60175),kebabVertical:S(\"kebab-vertical\",60176),key:S(\"key\",60177),law:S(\"law\",60178),lightbulbAutofix:S(\"lightbulb-autofix\",60179),linkExternal:S(\"link-external\",60180),link:S(\"link\",60181),listOrdered:S(\"list-ordered\",60182),listUnordered:S(\"list-unordered\",60183),liveShare:S(\"live-share\",60184),loading:S(\"loading\",60185),location:S(\"location\",60186),mailRead:S(\"mail-read\",60187),mail:S(\"mail\",60188),markdown:S(\"markdown\",60189),megaphone:S(\"megaphone\",60190),mention:S(\"mention\",60191),milestone:S(\"milestone\",60192),gitPullRequestMilestone:S(\"git-pull-request-milestone\",60192),mortarBoard:S(\"mortar-board\",60193),move:S(\"move\",60194),multipleWindows:S(\"multiple-windows\",60195),mute:S(\"mute\",60196),noNewline:S(\"no-newline\",60197),note:S(\"note\",60198),octoface:S(\"octoface\",60199),openPreview:S(\"open-preview\",60200),package:S(\"package\",60201),paintcan:S(\"paintcan\",60202),pin:S(\"pin\",60203),play:S(\"play\",60204),run:S(\"run\",60204),plug:S(\"plug\",60205),preserveCase:S(\"preserve-case\",60206),preview:S(\"preview\",60207),project:S(\"project\",60208),pulse:S(\"pulse\",60209),question:S(\"question\",60210),quote:S(\"quote\",60211),radioTower:S(\"radio-tower\",60212),reactions:S(\"reactions\",60213),references:S(\"references\",60214),refresh:S(\"refresh\",60215),regex:S(\"regex\",60216),remoteExplorer:S(\"remote-explorer\",60217),remote:S(\"remote\",60218),remove:S(\"remove\",60219),replaceAll:S(\"replace-all\",60220),replace:S(\"replace\",60221),repoClone:S(\"repo-clone\",60222),repoForcePush:S(\"repo-force-push\",60223),repoPull:S(\"repo-pull\",60224),repoPush:S(\"repo-push\",60225),report:S(\"report\",60226),requestChanges:S(\"request-changes\",60227),rocket:S(\"rocket\",60228),rootFolderOpened:S(\"root-folder-opened\",60229),rootFolder:S(\"root-folder\",60230),rss:S(\"rss\",60231),ruby:S(\"ruby\",60232),saveAll:S(\"save-all\",60233),saveAs:S(\"save-as\",60234),save:S(\"save\",60235),screenFull:S(\"screen-full\",60236),screenNormal:S(\"screen-normal\",60237),searchStop:S(\"search-stop\",60238),server:S(\"server\",60240),settingsGear:S(\"settings-gear\",60241),settings:S(\"settings\",60242),shield:S(\"shield\",60243),smiley:S(\"smiley\",60244),sortPrecedence:S(\"sort-precedence\",60245),splitHorizontal:S(\"split-horizontal\",60246),splitVertical:S(\"split-vertical\",60247),squirrel:S(\"squirrel\",60248),starFull:S(\"star-full\",60249),starHalf:S(\"star-half\",60250),symbolClass:S(\"symbol-class\",60251),symbolColor:S(\"symbol-color\",60252),symbolConstant:S(\"symbol-constant\",60253),symbolEnumMember:S(\"symbol-enum-member\",60254),symbolField:S(\"symbol-field\",60255),symbolFile:S(\"symbol-file\",60256),symbolInterface:S(\"symbol-interface\",60257),symbolKeyword:S(\"symbol-keyword\",60258),symbolMisc:S(\"symbol-misc\",60259),symbolOperator:S(\"symbol-operator\",60260),symbolProperty:S(\"symbol-property\",60261),wrench:S(\"wrench\",60261),wrenchSubaction:S(\"wrench-subaction\",60261),symbolSnippet:S(\"symbol-snippet\",60262),tasklist:S(\"tasklist\",60263),telescope:S(\"telescope\",60264),textSize:S(\"text-size\",60265),threeBars:S(\"three-bars\",60266),thumbsdown:S(\"thumbsdown\",60267),thumbsup:S(\"thumbsup\",60268),tools:S(\"tools\",60269),triangleDown:S(\"triangle-down\",60270),triangleLeft:S(\"triangle-left\",60271),triangleRight:S(\"triangle-right\",60272),triangleUp:S(\"triangle-up\",60273),twitter:S(\"twitter\",60274),unfold:S(\"unfold\",60275),unlock:S(\"unlock\",60276),unmute:S(\"unmute\",60277),unverified:S(\"unverified\",60278),verified:S(\"verified\",60279),versions:S(\"versions\",60280),vmActive:S(\"vm-active\",60281),vmOutline:S(\"vm-outline\",60282),vmRunning:S(\"vm-running\",60283),watch:S(\"watch\",60284),whitespace:S(\"whitespace\",60285),wholeWord:S(\"whole-word\",60286),window:S(\"window\",60287),wordWrap:S(\"word-wrap\",60288),zoomIn:S(\"zoom-in\",60289),zoomOut:S(\"zoom-out\",60290),listFilter:S(\"list-filter\",60291),listFlat:S(\"list-flat\",60292),listSelection:S(\"list-selection\",60293),selection:S(\"selection\",60293),listTree:S(\"list-tree\",60294),debugBreakpointFunctionUnverified:S(\"debug-breakpoint-function-unverified\",60295),debugBreakpointFunction:S(\"debug-breakpoint-function\",60296),debugBreakpointFunctionDisabled:S(\"debug-breakpoint-function-disabled\",60296),debugStackframeActive:S(\"debug-stackframe-active\",60297),circleSmallFilled:S(\"circle-small-filled\",60298),debugStackframeDot:S(\"debug-stackframe-dot\",60298),terminalDecorationMark:S(\"terminal-decoration-mark\",60298),debugStackframe:S(\"debug-stackframe\",60299),debugStackframeFocused:S(\"debug-stackframe-focused\",60299),debugBreakpointUnsupported:S(\"debug-breakpoint-unsupported\",60300),symbolString:S(\"symbol-string\",60301),debugReverseContinue:S(\"debug-reverse-continue\",60302),debugStepBack:S(\"debug-step-back\",60303),debugRestartFrame:S(\"debug-restart-frame\",60304),debugAlt:S(\"debug-alt\",60305),callIncoming:S(\"call-incoming\",60306),callOutgoing:S(\"call-outgoing\",60307),menu:S(\"menu\",60308),expandAll:S(\"expand-all\",60309),feedback:S(\"feedback\",60310),gitPullRequestReviewer:S(\"git-pull-request-reviewer\",60310),groupByRefType:S(\"group-by-ref-type\",60311),ungroupByRefType:S(\"ungroup-by-ref-type\",60312),account:S(\"account\",60313),gitPullRequestAssignee:S(\"git-pull-request-assignee\",60313),bellDot:S(\"bell-dot\",60314),debugConsole:S(\"debug-console\",60315),library:S(\"library\",60316),output:S(\"output\",60317),runAll:S(\"run-all\",60318),syncIgnored:S(\"sync-ignored\",60319),pinned:S(\"pinned\",60320),githubInverted:S(\"github-inverted\",60321),serverProcess:S(\"server-process\",60322),serverEnvironment:S(\"server-environment\",60323),pass:S(\"pass\",60324),issueClosed:S(\"issue-closed\",60324),stopCircle:S(\"stop-circle\",60325),playCircle:S(\"play-circle\",60326),record:S(\"record\",60327),debugAltSmall:S(\"debug-alt-small\",60328),vmConnect:S(\"vm-connect\",60329),cloud:S(\"cloud\",60330),merge:S(\"merge\",60331),export:S(\"export\",60332),graphLeft:S(\"graph-left\",60333),magnet:S(\"magnet\",60334),notebook:S(\"notebook\",60335),redo:S(\"redo\",60336),checkAll:S(\"check-all\",60337),pinnedDirty:S(\"pinned-dirty\",60338),passFilled:S(\"pass-filled\",60339),circleLargeFilled:S(\"circle-large-filled\",60340),circleLarge:S(\"circle-large\",60341),circleLargeOutline:S(\"circle-large-outline\",60341),combine:S(\"combine\",60342),gather:S(\"gather\",60342),table:S(\"table\",60343),variableGroup:S(\"variable-group\",60344),typeHierarchy:S(\"type-hierarchy\",60345),typeHierarchySub:S(\"type-hierarchy-sub\",60346),typeHierarchySuper:S(\"type-hierarchy-super\",60347),gitPullRequestCreate:S(\"git-pull-request-create\",60348),runAbove:S(\"run-above\",60349),runBelow:S(\"run-below\",60350),notebookTemplate:S(\"notebook-template\",60351),debugRerun:S(\"debug-rerun\",60352),workspaceTrusted:S(\"workspace-trusted\",60353),workspaceUntrusted:S(\"workspace-untrusted\",60354),workspaceUnknown:S(\"workspace-unknown\",60355),terminalCmd:S(\"terminal-cmd\",60356),terminalDebian:S(\"terminal-debian\",60357),terminalLinux:S(\"terminal-linux\",60358),terminalPowershell:S(\"terminal-powershell\",60359),terminalTmux:S(\"terminal-tmux\",60360),terminalUbuntu:S(\"terminal-ubuntu\",60361),terminalBash:S(\"terminal-bash\",60362),arrowSwap:S(\"arrow-swap\",60363),copy:S(\"copy\",60364),personAdd:S(\"person-add\",60365),filterFilled:S(\"filter-filled\",60366),wand:S(\"wand\",60367),debugLineByLine:S(\"debug-line-by-line\",60368),inspect:S(\"inspect\",60369),layers:S(\"layers\",60370),layersDot:S(\"layers-dot\",60371),layersActive:S(\"layers-active\",60372),compass:S(\"compass\",60373),compassDot:S(\"compass-dot\",60374),compassActive:S(\"compass-active\",60375),azure:S(\"azure\",60376),issueDraft:S(\"issue-draft\",60377),gitPullRequestClosed:S(\"git-pull-request-closed\",60378),gitPullRequestDraft:S(\"git-pull-request-draft\",60379),debugAll:S(\"debug-all\",60380),debugCoverage:S(\"debug-coverage\",60381),runErrors:S(\"run-errors\",60382),folderLibrary:S(\"folder-library\",60383),debugContinueSmall:S(\"debug-continue-small\",60384),beakerStop:S(\"beaker-stop\",60385),graphLine:S(\"graph-line\",60386),graphScatter:S(\"graph-scatter\",60387),pieChart:S(\"pie-chart\",60388),bracket:S(\"bracket\",60175),bracketDot:S(\"bracket-dot\",60389),bracketError:S(\"bracket-error\",60390),lockSmall:S(\"lock-small\",60391),azureDevops:S(\"azure-devops\",60392),verifiedFilled:S(\"verified-filled\",60393),newline:S(\"newline\",60394),layout:S(\"layout\",60395),layoutActivitybarLeft:S(\"layout-activitybar-left\",60396),layoutActivitybarRight:S(\"layout-activitybar-right\",60397),layoutPanelLeft:S(\"layout-panel-left\",60398),layoutPanelCenter:S(\"layout-panel-center\",60399),layoutPanelJustify:S(\"layout-panel-justify\",60400),layoutPanelRight:S(\"layout-panel-right\",60401),layoutPanel:S(\"layout-panel\",60402),layoutSidebarLeft:S(\"layout-sidebar-left\",60403),layoutSidebarRight:S(\"layout-sidebar-right\",60404),layoutStatusbar:S(\"layout-statusbar\",60405),layoutMenubar:S(\"layout-menubar\",60406),layoutCentered:S(\"layout-centered\",60407),target:S(\"target\",60408),indent:S(\"indent\",60409),recordSmall:S(\"record-small\",60410),errorSmall:S(\"error-small\",60411),terminalDecorationError:S(\"terminal-decoration-error\",60411),arrowCircleDown:S(\"arrow-circle-down\",60412),arrowCircleLeft:S(\"arrow-circle-left\",60413),arrowCircleRight:S(\"arrow-circle-right\",60414),arrowCircleUp:S(\"arrow-circle-up\",60415),layoutSidebarRightOff:S(\"layout-sidebar-right-off\",60416),layoutPanelOff:S(\"layout-panel-off\",60417),layoutSidebarLeftOff:S(\"layout-sidebar-left-off\",60418),blank:S(\"blank\",60419),heartFilled:S(\"heart-filled\",60420),map:S(\"map\",60421),mapHorizontal:S(\"map-horizontal\",60421),foldHorizontal:S(\"fold-horizontal\",60421),mapFilled:S(\"map-filled\",60422),mapHorizontalFilled:S(\"map-horizontal-filled\",60422),foldHorizontalFilled:S(\"fold-horizontal-filled\",60422),circleSmall:S(\"circle-small\",60423),bellSlash:S(\"bell-slash\",60424),bellSlashDot:S(\"bell-slash-dot\",60425),commentUnresolved:S(\"comment-unresolved\",60426),gitPullRequestGoToChanges:S(\"git-pull-request-go-to-changes\",60427),gitPullRequestNewChanges:S(\"git-pull-request-new-changes\",60428),searchFuzzy:S(\"search-fuzzy\",60429),commentDraft:S(\"comment-draft\",60430),send:S(\"send\",60431),sparkle:S(\"sparkle\",60432),insert:S(\"insert\",60433),mic:S(\"mic\",60434),thumbsdownFilled:S(\"thumbsdown-filled\",60435),thumbsupFilled:S(\"thumbsup-filled\",60436),coffee:S(\"coffee\",60437),snake:S(\"snake\",60438),game:S(\"game\",60439),vr:S(\"vr\",60440),chip:S(\"chip\",60441),piano:S(\"piano\",60442),music:S(\"music\",60443),micFilled:S(\"mic-filled\",60444),repoFetch:S(\"repo-fetch\",60445),copilot:S(\"copilot\",60446),lightbulbSparkle:S(\"lightbulb-sparkle\",60447),robot:S(\"robot\",60448),sparkleFilled:S(\"sparkle-filled\",60449),diffSingle:S(\"diff-single\",60450),diffMultiple:S(\"diff-multiple\",60451),surroundWith:S(\"surround-with\",60452),share:S(\"share\",60453),gitStash:S(\"git-stash\",60454),gitStashApply:S(\"git-stash-apply\",60455),gitStashPop:S(\"git-stash-pop\",60456),vscode:S(\"vscode\",60457),vscodeInsiders:S(\"vscode-insiders\",60458),codeOss:S(\"code-oss\",60459),runCoverage:S(\"run-coverage\",60460),runAllCoverage:S(\"run-all-coverage\",60461),coverage:S(\"coverage\",60462),githubProject:S(\"github-project\",60463),mapVertical:S(\"map-vertical\",60464),foldVertical:S(\"fold-vertical\",60464),mapVerticalFilled:S(\"map-vertical-filled\",60465),foldVerticalFilled:S(\"fold-vertical-filled\",60465),goToSearch:S(\"go-to-search\",60466),percentage:S(\"percentage\",60467),sortPercentage:S(\"sort-percentage\",60467)},vre={dialogError:S(\"dialog-error\",\"error\"),dialogWarning:S(\"dialog-warning\",\"warning\"),dialogInfo:S(\"dialog-info\",\"info\"),dialogClose:S(\"dialog-close\",\"close\"),treeItemExpanded:S(\"tree-item-expanded\",\"chevron-down\"),treeFilterOnTypeOn:S(\"tree-filter-on-type-on\",\"list-filter\"),treeFilterOnTypeOff:S(\"tree-filter-on-type-off\",\"list-selection\"),treeFilterClear:S(\"tree-filter-clear\",\"close\"),treeItemLoading:S(\"tree-item-loading\",\"loading\"),menuSelection:S(\"menu-selection\",\"check\"),menuSubmenu:S(\"menu-submenu\",\"chevron-right\"),menuBarMore:S(\"menubar-more\",\"more\"),scrollbarButtonLeft:S(\"scrollbar-button-left\",\"triangle-left\"),scrollbarButtonRight:S(\"scrollbar-button-right\",\"triangle-right\"),scrollbarButtonUp:S(\"scrollbar-button-up\",\"triangle-up\"),scrollbarButtonDown:S(\"scrollbar-button-down\",\"triangle-down\"),toolBarMore:S(\"toolbar-more\",\"more\"),quickInputBack:S(\"quick-input-back\",\"arrow-left\"),dropDownButton:S(\"drop-down-button\",60084),symbolCustomColor:S(\"symbol-customcolor\",60252),exportIcon:S(\"export\",60332),workspaceUnspecified:S(\"workspace-unspecified\",60355),newLine:S(\"newline\",60394),thumbsDownFilled:S(\"thumbsdown-filled\",60435),thumbsUpFilled:S(\"thumbsup-filled\",60436),gitFetch:S(\"git-fetch\",60445),lightbulbSparkleAutofix:S(\"lightbulb-sparkle-autofix\",60447),debugBreakpointPending:S(\"debug-breakpoint-pending\",60377)},oe={..._re,...vre};let bre=class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),Ie(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;(i=this._factories.get(e))===null||i===void 0||i.dispose();const n=new Cre(this,e,t);return this._factories.set(e,n),Ie(()=>{const o=this._factories.get(e);!o||o!==n||(this._factories.delete(e),o.dispose())})}async getOrCreate(e){const t=this.get(e);if(t)return t;const i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const i=this._factories.get(e);return!!(!i||i.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};class Cre extends H{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}let Ib=class{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}};class ZP{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class KL{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}var ja;(function(s){s[s.Increase=0]=\"Increase\",s[s.Decrease=1]=\"Decrease\"})(ja||(ja={}));var Tb;(function(s){const e=new Map;e.set(0,oe.symbolMethod),e.set(1,oe.symbolFunction),e.set(2,oe.symbolConstructor),e.set(3,oe.symbolField),e.set(4,oe.symbolVariable),e.set(5,oe.symbolClass),e.set(6,oe.symbolStruct),e.set(7,oe.symbolInterface),e.set(8,oe.symbolModule),e.set(9,oe.symbolProperty),e.set(10,oe.symbolEvent),e.set(11,oe.symbolOperator),e.set(12,oe.symbolUnit),e.set(13,oe.symbolValue),e.set(15,oe.symbolEnum),e.set(14,oe.symbolConstant),e.set(15,oe.symbolEnum),e.set(16,oe.symbolEnumMember),e.set(17,oe.symbolKeyword),e.set(27,oe.symbolSnippet),e.set(18,oe.symbolText),e.set(19,oe.symbolColor),e.set(20,oe.symbolFile),e.set(21,oe.symbolReference),e.set(22,oe.symbolCustomColor),e.set(23,oe.symbolFolder),e.set(24,oe.symbolTypeParameter),e.set(25,oe.account),e.set(26,oe.issues);function t(o){let r=e.get(o);return r||(console.info(\"No codicon found for CompletionItemKind \"+o),r=oe.symbolProperty),r}s.toIcon=t;const i=new Map;i.set(\"method\",0),i.set(\"function\",1),i.set(\"constructor\",2),i.set(\"field\",3),i.set(\"variable\",4),i.set(\"class\",5),i.set(\"struct\",6),i.set(\"interface\",7),i.set(\"module\",8),i.set(\"property\",9),i.set(\"event\",10),i.set(\"operator\",11),i.set(\"unit\",12),i.set(\"value\",13),i.set(\"constant\",14),i.set(\"enum\",15),i.set(\"enum-member\",16),i.set(\"enumMember\",16),i.set(\"keyword\",17),i.set(\"snippet\",27),i.set(\"text\",18),i.set(\"color\",19),i.set(\"file\",20),i.set(\"reference\",21),i.set(\"customcolor\",22),i.set(\"folder\",23),i.set(\"type-parameter\",24),i.set(\"typeParameter\",24),i.set(\"account\",25),i.set(\"issue\",26);function n(o,r){let a=i.get(o);return typeof a>\"u\"&&!r&&(a=9),a}s.fromString=n})(Tb||(Tb={}));var kc;(function(s){s[s.Automatic=0]=\"Automatic\",s[s.Explicit=1]=\"Explicit\"})(kc||(kc={}));class tz{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return x.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}var Nb;(function(s){s[s.Automatic=0]=\"Automatic\",s[s.PasteAs=1]=\"PasteAs\"})(Nb||(Nb={}));var ad;(function(s){s[s.Invoke=1]=\"Invoke\",s[s.TriggerCharacter=2]=\"TriggerCharacter\",s[s.ContentChange=3]=\"ContentChange\"})(ad||(ad={}));var Ab;(function(s){s[s.Text=0]=\"Text\",s[s.Read=1]=\"Read\",s[s.Write=2]=\"Write\"})(Ab||(Ab={}));function wre(s){return s&&Ae.isUri(s.uri)&&x.isIRange(s.range)&&(x.isIRange(s.originSelectionRange)||x.isIRange(s.targetSelectionRange))}p(\"Array\",\"array\"),p(\"Boolean\",\"boolean\"),p(\"Class\",\"class\"),p(\"Constant\",\"constant\"),p(\"Constructor\",\"constructor\"),p(\"Enum\",\"enumeration\"),p(\"EnumMember\",\"enumeration member\"),p(\"Event\",\"event\"),p(\"Field\",\"field\"),p(\"File\",\"file\"),p(\"Function\",\"function\"),p(\"Interface\",\"interface\"),p(\"Key\",\"key\"),p(\"Method\",\"method\"),p(\"Module\",\"module\"),p(\"Namespace\",\"namespace\"),p(\"Null\",\"null\"),p(\"Number\",\"number\"),p(\"Object\",\"object\"),p(\"Operator\",\"operator\"),p(\"Package\",\"package\"),p(\"Property\",\"property\"),p(\"String\",\"string\"),p(\"Struct\",\"struct\"),p(\"TypeParameter\",\"type parameter\"),p(\"Variable\",\"variable\");var iN;(function(s){const e=new Map;e.set(0,oe.symbolFile),e.set(1,oe.symbolModule),e.set(2,oe.symbolNamespace),e.set(3,oe.symbolPackage),e.set(4,oe.symbolClass),e.set(5,oe.symbolMethod),e.set(6,oe.symbolProperty),e.set(7,oe.symbolField),e.set(8,oe.symbolConstructor),e.set(9,oe.symbolEnum),e.set(10,oe.symbolInterface),e.set(11,oe.symbolFunction),e.set(12,oe.symbolVariable),e.set(13,oe.symbolConstant),e.set(14,oe.symbolString),e.set(15,oe.symbolNumber),e.set(16,oe.symbolBoolean),e.set(17,oe.symbolArray),e.set(18,oe.symbolObject),e.set(19,oe.symbolKey),e.set(20,oe.symbolNull),e.set(21,oe.symbolEnumMember),e.set(22,oe.symbolStruct),e.set(23,oe.symbolEvent),e.set(24,oe.symbolOperator),e.set(25,oe.symbolTypeParameter);function t(i){let n=e.get(i);return n||(console.info(\"No codicon found for SymbolKind \"+i),n=oe.symbolProperty),n}s.toIcon=t})(iN||(iN={}));class Ps{static fromValue(e){switch(e){case\"comment\":return Ps.Comment;case\"imports\":return Ps.Imports;case\"region\":return Ps.Region}return new Ps(e)}constructor(e){this.value=e}}Ps.Comment=new Ps(\"comment\");Ps.Imports=new Ps(\"imports\");Ps.Region=new Ps(\"region\");var nN;(function(s){s[s.AIGenerated=1]=\"AIGenerated\"})(nN||(nN={}));var Mb;(function(s){s[s.Invoke=0]=\"Invoke\",s[s.Automatic=1]=\"Automatic\"})(Mb||(Mb={}));var sN;(function(s){function e(t){return!t||typeof t!=\"object\"?!1:typeof t.id==\"string\"&&typeof t.title==\"string\"}s.is=e})(sN||(sN={}));var PS;(function(s){s[s.Type=1]=\"Type\",s[s.Parameter=2]=\"Parameter\"})(PS||(PS={}));class yre{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}const Ki=new bre;var FS;(function(s){s[s.Invoke=0]=\"Invoke\",s[s.Automatic=1]=\"Automatic\"})(FS||(FS={}));var oN;(function(s){s[s.Unknown=0]=\"Unknown\",s[s.Disabled=1]=\"Disabled\",s[s.Enabled=2]=\"Enabled\"})(oN||(oN={}));var rN;(function(s){s[s.Invoke=1]=\"Invoke\",s[s.Auto=2]=\"Auto\"})(rN||(rN={}));var aN;(function(s){s[s.None=0]=\"None\",s[s.KeepWhitespace=1]=\"KeepWhitespace\",s[s.InsertAsSnippet=4]=\"InsertAsSnippet\"})(aN||(aN={}));var lN;(function(s){s[s.Method=0]=\"Method\",s[s.Function=1]=\"Function\",s[s.Constructor=2]=\"Constructor\",s[s.Field=3]=\"Field\",s[s.Variable=4]=\"Variable\",s[s.Class=5]=\"Class\",s[s.Struct=6]=\"Struct\",s[s.Interface=7]=\"Interface\",s[s.Module=8]=\"Module\",s[s.Property=9]=\"Property\",s[s.Event=10]=\"Event\",s[s.Operator=11]=\"Operator\",s[s.Unit=12]=\"Unit\",s[s.Value=13]=\"Value\",s[s.Constant=14]=\"Constant\",s[s.Enum=15]=\"Enum\",s[s.EnumMember=16]=\"EnumMember\",s[s.Keyword=17]=\"Keyword\",s[s.Text=18]=\"Text\",s[s.Color=19]=\"Color\",s[s.File=20]=\"File\",s[s.Reference=21]=\"Reference\",s[s.Customcolor=22]=\"Customcolor\",s[s.Folder=23]=\"Folder\",s[s.TypeParameter=24]=\"TypeParameter\",s[s.User=25]=\"User\",s[s.Issue=26]=\"Issue\",s[s.Snippet=27]=\"Snippet\"})(lN||(lN={}));var dN;(function(s){s[s.Deprecated=1]=\"Deprecated\"})(dN||(dN={}));var cN;(function(s){s[s.Invoke=0]=\"Invoke\",s[s.TriggerCharacter=1]=\"TriggerCharacter\",s[s.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(cN||(cN={}));var uN;(function(s){s[s.EXACT=0]=\"EXACT\",s[s.ABOVE=1]=\"ABOVE\",s[s.BELOW=2]=\"BELOW\"})(uN||(uN={}));var hN;(function(s){s[s.NotSet=0]=\"NotSet\",s[s.ContentFlush=1]=\"ContentFlush\",s[s.RecoverFromMarkers=2]=\"RecoverFromMarkers\",s[s.Explicit=3]=\"Explicit\",s[s.Paste=4]=\"Paste\",s[s.Undo=5]=\"Undo\",s[s.Redo=6]=\"Redo\"})(hN||(hN={}));var gN;(function(s){s[s.LF=1]=\"LF\",s[s.CRLF=2]=\"CRLF\"})(gN||(gN={}));var fN;(function(s){s[s.Text=0]=\"Text\",s[s.Read=1]=\"Read\",s[s.Write=2]=\"Write\"})(fN||(fN={}));var pN;(function(s){s[s.None=0]=\"None\",s[s.Keep=1]=\"Keep\",s[s.Brackets=2]=\"Brackets\",s[s.Advanced=3]=\"Advanced\",s[s.Full=4]=\"Full\"})(pN||(pN={}));var mN;(function(s){s[s.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",s[s.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",s[s.accessibilitySupport=2]=\"accessibilitySupport\",s[s.accessibilityPageSize=3]=\"accessibilityPageSize\",s[s.ariaLabel=4]=\"ariaLabel\",s[s.ariaRequired=5]=\"ariaRequired\",s[s.autoClosingBrackets=6]=\"autoClosingBrackets\",s[s.autoClosingComments=7]=\"autoClosingComments\",s[s.screenReaderAnnounceInlineSuggestion=8]=\"screenReaderAnnounceInlineSuggestion\",s[s.autoClosingDelete=9]=\"autoClosingDelete\",s[s.autoClosingOvertype=10]=\"autoClosingOvertype\",s[s.autoClosingQuotes=11]=\"autoClosingQuotes\",s[s.autoIndent=12]=\"autoIndent\",s[s.automaticLayout=13]=\"automaticLayout\",s[s.autoSurround=14]=\"autoSurround\",s[s.bracketPairColorization=15]=\"bracketPairColorization\",s[s.guides=16]=\"guides\",s[s.codeLens=17]=\"codeLens\",s[s.codeLensFontFamily=18]=\"codeLensFontFamily\",s[s.codeLensFontSize=19]=\"codeLensFontSize\",s[s.colorDecorators=20]=\"colorDecorators\",s[s.colorDecoratorsLimit=21]=\"colorDecoratorsLimit\",s[s.columnSelection=22]=\"columnSelection\",s[s.comments=23]=\"comments\",s[s.contextmenu=24]=\"contextmenu\",s[s.copyWithSyntaxHighlighting=25]=\"copyWithSyntaxHighlighting\",s[s.cursorBlinking=26]=\"cursorBlinking\",s[s.cursorSmoothCaretAnimation=27]=\"cursorSmoothCaretAnimation\",s[s.cursorStyle=28]=\"cursorStyle\",s[s.cursorSurroundingLines=29]=\"cursorSurroundingLines\",s[s.cursorSurroundingLinesStyle=30]=\"cursorSurroundingLinesStyle\",s[s.cursorWidth=31]=\"cursorWidth\",s[s.disableLayerHinting=32]=\"disableLayerHinting\",s[s.disableMonospaceOptimizations=33]=\"disableMonospaceOptimizations\",s[s.domReadOnly=34]=\"domReadOnly\",s[s.dragAndDrop=35]=\"dragAndDrop\",s[s.dropIntoEditor=36]=\"dropIntoEditor\",s[s.emptySelectionClipboard=37]=\"emptySelectionClipboard\",s[s.experimentalWhitespaceRendering=38]=\"experimentalWhitespaceRendering\",s[s.extraEditorClassName=39]=\"extraEditorClassName\",s[s.fastScrollSensitivity=40]=\"fastScrollSensitivity\",s[s.find=41]=\"find\",s[s.fixedOverflowWidgets=42]=\"fixedOverflowWidgets\",s[s.folding=43]=\"folding\",s[s.foldingStrategy=44]=\"foldingStrategy\",s[s.foldingHighlight=45]=\"foldingHighlight\",s[s.foldingImportsByDefault=46]=\"foldingImportsByDefault\",s[s.foldingMaximumRegions=47]=\"foldingMaximumRegions\",s[s.unfoldOnClickAfterEndOfLine=48]=\"unfoldOnClickAfterEndOfLine\",s[s.fontFamily=49]=\"fontFamily\",s[s.fontInfo=50]=\"fontInfo\",s[s.fontLigatures=51]=\"fontLigatures\",s[s.fontSize=52]=\"fontSize\",s[s.fontWeight=53]=\"fontWeight\",s[s.fontVariations=54]=\"fontVariations\",s[s.formatOnPaste=55]=\"formatOnPaste\",s[s.formatOnType=56]=\"formatOnType\",s[s.glyphMargin=57]=\"glyphMargin\",s[s.gotoLocation=58]=\"gotoLocation\",s[s.hideCursorInOverviewRuler=59]=\"hideCursorInOverviewRuler\",s[s.hover=60]=\"hover\",s[s.inDiffEditor=61]=\"inDiffEditor\",s[s.inlineSuggest=62]=\"inlineSuggest\",s[s.inlineEdit=63]=\"inlineEdit\",s[s.letterSpacing=64]=\"letterSpacing\",s[s.lightbulb=65]=\"lightbulb\",s[s.lineDecorationsWidth=66]=\"lineDecorationsWidth\",s[s.lineHeight=67]=\"lineHeight\",s[s.lineNumbers=68]=\"lineNumbers\",s[s.lineNumbersMinChars=69]=\"lineNumbersMinChars\",s[s.linkedEditing=70]=\"linkedEditing\",s[s.links=71]=\"links\",s[s.matchBrackets=72]=\"matchBrackets\",s[s.minimap=73]=\"minimap\",s[s.mouseStyle=74]=\"mouseStyle\",s[s.mouseWheelScrollSensitivity=75]=\"mouseWheelScrollSensitivity\",s[s.mouseWheelZoom=76]=\"mouseWheelZoom\",s[s.multiCursorMergeOverlapping=77]=\"multiCursorMergeOverlapping\",s[s.multiCursorModifier=78]=\"multiCursorModifier\",s[s.multiCursorPaste=79]=\"multiCursorPaste\",s[s.multiCursorLimit=80]=\"multiCursorLimit\",s[s.occurrencesHighlight=81]=\"occurrencesHighlight\",s[s.overviewRulerBorder=82]=\"overviewRulerBorder\",s[s.overviewRulerLanes=83]=\"overviewRulerLanes\",s[s.padding=84]=\"padding\",s[s.pasteAs=85]=\"pasteAs\",s[s.parameterHints=86]=\"parameterHints\",s[s.peekWidgetDefaultFocus=87]=\"peekWidgetDefaultFocus\",s[s.definitionLinkOpensInPeek=88]=\"definitionLinkOpensInPeek\",s[s.quickSuggestions=89]=\"quickSuggestions\",s[s.quickSuggestionsDelay=90]=\"quickSuggestionsDelay\",s[s.readOnly=91]=\"readOnly\",s[s.readOnlyMessage=92]=\"readOnlyMessage\",s[s.renameOnType=93]=\"renameOnType\",s[s.renderControlCharacters=94]=\"renderControlCharacters\",s[s.renderFinalNewline=95]=\"renderFinalNewline\",s[s.renderLineHighlight=96]=\"renderLineHighlight\",s[s.renderLineHighlightOnlyWhenFocus=97]=\"renderLineHighlightOnlyWhenFocus\",s[s.renderValidationDecorations=98]=\"renderValidationDecorations\",s[s.renderWhitespace=99]=\"renderWhitespace\",s[s.revealHorizontalRightPadding=100]=\"revealHorizontalRightPadding\",s[s.roundedSelection=101]=\"roundedSelection\",s[s.rulers=102]=\"rulers\",s[s.scrollbar=103]=\"scrollbar\",s[s.scrollBeyondLastColumn=104]=\"scrollBeyondLastColumn\",s[s.scrollBeyondLastLine=105]=\"scrollBeyondLastLine\",s[s.scrollPredominantAxis=106]=\"scrollPredominantAxis\",s[s.selectionClipboard=107]=\"selectionClipboard\",s[s.selectionHighlight=108]=\"selectionHighlight\",s[s.selectOnLineNumbers=109]=\"selectOnLineNumbers\",s[s.showFoldingControls=110]=\"showFoldingControls\",s[s.showUnused=111]=\"showUnused\",s[s.snippetSuggestions=112]=\"snippetSuggestions\",s[s.smartSelect=113]=\"smartSelect\",s[s.smoothScrolling=114]=\"smoothScrolling\",s[s.stickyScroll=115]=\"stickyScroll\",s[s.stickyTabStops=116]=\"stickyTabStops\",s[s.stopRenderingLineAfter=117]=\"stopRenderingLineAfter\",s[s.suggest=118]=\"suggest\",s[s.suggestFontSize=119]=\"suggestFontSize\",s[s.suggestLineHeight=120]=\"suggestLineHeight\",s[s.suggestOnTriggerCharacters=121]=\"suggestOnTriggerCharacters\",s[s.suggestSelection=122]=\"suggestSelection\",s[s.tabCompletion=123]=\"tabCompletion\",s[s.tabIndex=124]=\"tabIndex\",s[s.unicodeHighlighting=125]=\"unicodeHighlighting\",s[s.unusualLineTerminators=126]=\"unusualLineTerminators\",s[s.useShadowDOM=127]=\"useShadowDOM\",s[s.useTabStops=128]=\"useTabStops\",s[s.wordBreak=129]=\"wordBreak\",s[s.wordSegmenterLocales=130]=\"wordSegmenterLocales\",s[s.wordSeparators=131]=\"wordSeparators\",s[s.wordWrap=132]=\"wordWrap\",s[s.wordWrapBreakAfterCharacters=133]=\"wordWrapBreakAfterCharacters\",s[s.wordWrapBreakBeforeCharacters=134]=\"wordWrapBreakBeforeCharacters\",s[s.wordWrapColumn=135]=\"wordWrapColumn\",s[s.wordWrapOverride1=136]=\"wordWrapOverride1\",s[s.wordWrapOverride2=137]=\"wordWrapOverride2\",s[s.wrappingIndent=138]=\"wrappingIndent\",s[s.wrappingStrategy=139]=\"wrappingStrategy\",s[s.showDeprecated=140]=\"showDeprecated\",s[s.inlayHints=141]=\"inlayHints\",s[s.editorClassName=142]=\"editorClassName\",s[s.pixelRatio=143]=\"pixelRatio\",s[s.tabFocusMode=144]=\"tabFocusMode\",s[s.layoutInfo=145]=\"layoutInfo\",s[s.wrappingInfo=146]=\"wrappingInfo\",s[s.defaultColorDecorators=147]=\"defaultColorDecorators\",s[s.colorDecoratorsActivatedOn=148]=\"colorDecoratorsActivatedOn\",s[s.inlineCompletionsAccessibilityVerbose=149]=\"inlineCompletionsAccessibilityVerbose\"})(mN||(mN={}));var _N;(function(s){s[s.TextDefined=0]=\"TextDefined\",s[s.LF=1]=\"LF\",s[s.CRLF=2]=\"CRLF\"})(_N||(_N={}));var vN;(function(s){s[s.LF=0]=\"LF\",s[s.CRLF=1]=\"CRLF\"})(vN||(vN={}));var bN;(function(s){s[s.Left=1]=\"Left\",s[s.Center=2]=\"Center\",s[s.Right=3]=\"Right\"})(bN||(bN={}));var CN;(function(s){s[s.Increase=0]=\"Increase\",s[s.Decrease=1]=\"Decrease\"})(CN||(CN={}));var wN;(function(s){s[s.None=0]=\"None\",s[s.Indent=1]=\"Indent\",s[s.IndentOutdent=2]=\"IndentOutdent\",s[s.Outdent=3]=\"Outdent\"})(wN||(wN={}));var yN;(function(s){s[s.Both=0]=\"Both\",s[s.Right=1]=\"Right\",s[s.Left=2]=\"Left\",s[s.None=3]=\"None\"})(yN||(yN={}));var SN;(function(s){s[s.Type=1]=\"Type\",s[s.Parameter=2]=\"Parameter\"})(SN||(SN={}));var DN;(function(s){s[s.Automatic=0]=\"Automatic\",s[s.Explicit=1]=\"Explicit\"})(DN||(DN={}));var LN;(function(s){s[s.Invoke=0]=\"Invoke\",s[s.Automatic=1]=\"Automatic\"})(LN||(LN={}));var xN;(function(s){s[s.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",s[s.Unknown=0]=\"Unknown\",s[s.Backspace=1]=\"Backspace\",s[s.Tab=2]=\"Tab\",s[s.Enter=3]=\"Enter\",s[s.Shift=4]=\"Shift\",s[s.Ctrl=5]=\"Ctrl\",s[s.Alt=6]=\"Alt\",s[s.PauseBreak=7]=\"PauseBreak\",s[s.CapsLock=8]=\"CapsLock\",s[s.Escape=9]=\"Escape\",s[s.Space=10]=\"Space\",s[s.PageUp=11]=\"PageUp\",s[s.PageDown=12]=\"PageDown\",s[s.End=13]=\"End\",s[s.Home=14]=\"Home\",s[s.LeftArrow=15]=\"LeftArrow\",s[s.UpArrow=16]=\"UpArrow\",s[s.RightArrow=17]=\"RightArrow\",s[s.DownArrow=18]=\"DownArrow\",s[s.Insert=19]=\"Insert\",s[s.Delete=20]=\"Delete\",s[s.Digit0=21]=\"Digit0\",s[s.Digit1=22]=\"Digit1\",s[s.Digit2=23]=\"Digit2\",s[s.Digit3=24]=\"Digit3\",s[s.Digit4=25]=\"Digit4\",s[s.Digit5=26]=\"Digit5\",s[s.Digit6=27]=\"Digit6\",s[s.Digit7=28]=\"Digit7\",s[s.Digit8=29]=\"Digit8\",s[s.Digit9=30]=\"Digit9\",s[s.KeyA=31]=\"KeyA\",s[s.KeyB=32]=\"KeyB\",s[s.KeyC=33]=\"KeyC\",s[s.KeyD=34]=\"KeyD\",s[s.KeyE=35]=\"KeyE\",s[s.KeyF=36]=\"KeyF\",s[s.KeyG=37]=\"KeyG\",s[s.KeyH=38]=\"KeyH\",s[s.KeyI=39]=\"KeyI\",s[s.KeyJ=40]=\"KeyJ\",s[s.KeyK=41]=\"KeyK\",s[s.KeyL=42]=\"KeyL\",s[s.KeyM=43]=\"KeyM\",s[s.KeyN=44]=\"KeyN\",s[s.KeyO=45]=\"KeyO\",s[s.KeyP=46]=\"KeyP\",s[s.KeyQ=47]=\"KeyQ\",s[s.KeyR=48]=\"KeyR\",s[s.KeyS=49]=\"KeyS\",s[s.KeyT=50]=\"KeyT\",s[s.KeyU=51]=\"KeyU\",s[s.KeyV=52]=\"KeyV\",s[s.KeyW=53]=\"KeyW\",s[s.KeyX=54]=\"KeyX\",s[s.KeyY=55]=\"KeyY\",s[s.KeyZ=56]=\"KeyZ\",s[s.Meta=57]=\"Meta\",s[s.ContextMenu=58]=\"ContextMenu\",s[s.F1=59]=\"F1\",s[s.F2=60]=\"F2\",s[s.F3=61]=\"F3\",s[s.F4=62]=\"F4\",s[s.F5=63]=\"F5\",s[s.F6=64]=\"F6\",s[s.F7=65]=\"F7\",s[s.F8=66]=\"F8\",s[s.F9=67]=\"F9\",s[s.F10=68]=\"F10\",s[s.F11=69]=\"F11\",s[s.F12=70]=\"F12\",s[s.F13=71]=\"F13\",s[s.F14=72]=\"F14\",s[s.F15=73]=\"F15\",s[s.F16=74]=\"F16\",s[s.F17=75]=\"F17\",s[s.F18=76]=\"F18\",s[s.F19=77]=\"F19\",s[s.F20=78]=\"F20\",s[s.F21=79]=\"F21\",s[s.F22=80]=\"F22\",s[s.F23=81]=\"F23\",s[s.F24=82]=\"F24\",s[s.NumLock=83]=\"NumLock\",s[s.ScrollLock=84]=\"ScrollLock\",s[s.Semicolon=85]=\"Semicolon\",s[s.Equal=86]=\"Equal\",s[s.Comma=87]=\"Comma\",s[s.Minus=88]=\"Minus\",s[s.Period=89]=\"Period\",s[s.Slash=90]=\"Slash\",s[s.Backquote=91]=\"Backquote\",s[s.BracketLeft=92]=\"BracketLeft\",s[s.Backslash=93]=\"Backslash\",s[s.BracketRight=94]=\"BracketRight\",s[s.Quote=95]=\"Quote\",s[s.OEM_8=96]=\"OEM_8\",s[s.IntlBackslash=97]=\"IntlBackslash\",s[s.Numpad0=98]=\"Numpad0\",s[s.Numpad1=99]=\"Numpad1\",s[s.Numpad2=100]=\"Numpad2\",s[s.Numpad3=101]=\"Numpad3\",s[s.Numpad4=102]=\"Numpad4\",s[s.Numpad5=103]=\"Numpad5\",s[s.Numpad6=104]=\"Numpad6\",s[s.Numpad7=105]=\"Numpad7\",s[s.Numpad8=106]=\"Numpad8\",s[s.Numpad9=107]=\"Numpad9\",s[s.NumpadMultiply=108]=\"NumpadMultiply\",s[s.NumpadAdd=109]=\"NumpadAdd\",s[s.NUMPAD_SEPARATOR=110]=\"NUMPAD_SEPARATOR\",s[s.NumpadSubtract=111]=\"NumpadSubtract\",s[s.NumpadDecimal=112]=\"NumpadDecimal\",s[s.NumpadDivide=113]=\"NumpadDivide\",s[s.KEY_IN_COMPOSITION=114]=\"KEY_IN_COMPOSITION\",s[s.ABNT_C1=115]=\"ABNT_C1\",s[s.ABNT_C2=116]=\"ABNT_C2\",s[s.AudioVolumeMute=117]=\"AudioVolumeMute\",s[s.AudioVolumeUp=118]=\"AudioVolumeUp\",s[s.AudioVolumeDown=119]=\"AudioVolumeDown\",s[s.BrowserSearch=120]=\"BrowserSearch\",s[s.BrowserHome=121]=\"BrowserHome\",s[s.BrowserBack=122]=\"BrowserBack\",s[s.BrowserForward=123]=\"BrowserForward\",s[s.MediaTrackNext=124]=\"MediaTrackNext\",s[s.MediaTrackPrevious=125]=\"MediaTrackPrevious\",s[s.MediaStop=126]=\"MediaStop\",s[s.MediaPlayPause=127]=\"MediaPlayPause\",s[s.LaunchMediaPlayer=128]=\"LaunchMediaPlayer\",s[s.LaunchMail=129]=\"LaunchMail\",s[s.LaunchApp2=130]=\"LaunchApp2\",s[s.Clear=131]=\"Clear\",s[s.MAX_VALUE=132]=\"MAX_VALUE\"})(xN||(xN={}));var kN;(function(s){s[s.Hint=1]=\"Hint\",s[s.Info=2]=\"Info\",s[s.Warning=4]=\"Warning\",s[s.Error=8]=\"Error\"})(kN||(kN={}));var EN;(function(s){s[s.Unnecessary=1]=\"Unnecessary\",s[s.Deprecated=2]=\"Deprecated\"})(EN||(EN={}));var IN;(function(s){s[s.Inline=1]=\"Inline\",s[s.Gutter=2]=\"Gutter\"})(IN||(IN={}));var TN;(function(s){s[s.Normal=1]=\"Normal\",s[s.Underlined=2]=\"Underlined\"})(TN||(TN={}));var NN;(function(s){s[s.UNKNOWN=0]=\"UNKNOWN\",s[s.TEXTAREA=1]=\"TEXTAREA\",s[s.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",s[s.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",s[s.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",s[s.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",s[s.CONTENT_TEXT=6]=\"CONTENT_TEXT\",s[s.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",s[s.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",s[s.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",s[s.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",s[s.SCROLLBAR=11]=\"SCROLLBAR\",s[s.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",s[s.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(NN||(NN={}));var AN;(function(s){s[s.AIGenerated=1]=\"AIGenerated\"})(AN||(AN={}));var MN;(function(s){s[s.Invoke=0]=\"Invoke\",s[s.Automatic=1]=\"Automatic\"})(MN||(MN={}));var RN;(function(s){s[s.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",s[s.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",s[s.TOP_CENTER=2]=\"TOP_CENTER\"})(RN||(RN={}));var PN;(function(s){s[s.Left=1]=\"Left\",s[s.Center=2]=\"Center\",s[s.Right=4]=\"Right\",s[s.Full=7]=\"Full\"})(PN||(PN={}));var FN;(function(s){s[s.Word=0]=\"Word\",s[s.Line=1]=\"Line\",s[s.Suggest=2]=\"Suggest\"})(FN||(FN={}));var ON;(function(s){s[s.Left=0]=\"Left\",s[s.Right=1]=\"Right\",s[s.None=2]=\"None\",s[s.LeftOfInjectedText=3]=\"LeftOfInjectedText\",s[s.RightOfInjectedText=4]=\"RightOfInjectedText\"})(ON||(ON={}));var BN;(function(s){s[s.Off=0]=\"Off\",s[s.On=1]=\"On\",s[s.Relative=2]=\"Relative\",s[s.Interval=3]=\"Interval\",s[s.Custom=4]=\"Custom\"})(BN||(BN={}));var WN;(function(s){s[s.None=0]=\"None\",s[s.Text=1]=\"Text\",s[s.Blocks=2]=\"Blocks\"})(WN||(WN={}));var HN;(function(s){s[s.Smooth=0]=\"Smooth\",s[s.Immediate=1]=\"Immediate\"})(HN||(HN={}));var VN;(function(s){s[s.Auto=1]=\"Auto\",s[s.Hidden=2]=\"Hidden\",s[s.Visible=3]=\"Visible\"})(VN||(VN={}));var zN;(function(s){s[s.LTR=0]=\"LTR\",s[s.RTL=1]=\"RTL\"})(zN||(zN={}));var UN;(function(s){s.Off=\"off\",s.OnCode=\"onCode\",s.On=\"on\"})(UN||(UN={}));var $N;(function(s){s[s.Invoke=1]=\"Invoke\",s[s.TriggerCharacter=2]=\"TriggerCharacter\",s[s.ContentChange=3]=\"ContentChange\"})($N||($N={}));var jN;(function(s){s[s.File=0]=\"File\",s[s.Module=1]=\"Module\",s[s.Namespace=2]=\"Namespace\",s[s.Package=3]=\"Package\",s[s.Class=4]=\"Class\",s[s.Method=5]=\"Method\",s[s.Property=6]=\"Property\",s[s.Field=7]=\"Field\",s[s.Constructor=8]=\"Constructor\",s[s.Enum=9]=\"Enum\",s[s.Interface=10]=\"Interface\",s[s.Function=11]=\"Function\",s[s.Variable=12]=\"Variable\",s[s.Constant=13]=\"Constant\",s[s.String=14]=\"String\",s[s.Number=15]=\"Number\",s[s.Boolean=16]=\"Boolean\",s[s.Array=17]=\"Array\",s[s.Object=18]=\"Object\",s[s.Key=19]=\"Key\",s[s.Null=20]=\"Null\",s[s.EnumMember=21]=\"EnumMember\",s[s.Struct=22]=\"Struct\",s[s.Event=23]=\"Event\",s[s.Operator=24]=\"Operator\",s[s.TypeParameter=25]=\"TypeParameter\"})(jN||(jN={}));var KN;(function(s){s[s.Deprecated=1]=\"Deprecated\"})(KN||(KN={}));var qN;(function(s){s[s.Hidden=0]=\"Hidden\",s[s.Blink=1]=\"Blink\",s[s.Smooth=2]=\"Smooth\",s[s.Phase=3]=\"Phase\",s[s.Expand=4]=\"Expand\",s[s.Solid=5]=\"Solid\"})(qN||(qN={}));var GN;(function(s){s[s.Line=1]=\"Line\",s[s.Block=2]=\"Block\",s[s.Underline=3]=\"Underline\",s[s.LineThin=4]=\"LineThin\",s[s.BlockOutline=5]=\"BlockOutline\",s[s.UnderlineThin=6]=\"UnderlineThin\"})(GN||(GN={}));var ZN;(function(s){s[s.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",s[s.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",s[s.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",s[s.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(ZN||(ZN={}));var XN;(function(s){s[s.None=0]=\"None\",s[s.Same=1]=\"Same\",s[s.Indent=2]=\"Indent\",s[s.DeepIndent=3]=\"DeepIndent\"})(XN||(XN={}));let l1=class{static chord(e,t){return an(e,t)}};l1.CtrlCmd=2048;l1.Shift=1024;l1.Alt=512;l1.WinCtrl=256;function iz(){return{editor:void 0,languages:void 0,CancellationTokenSource:Vi,Emitter:B,KeyCode:xN,KeyMod:l1,Position:W,Range:x,Selection:we,SelectionDirection:zN,MarkerSeverity:kN,MarkerTag:EN,Uri:Ae,Token:Ib}}function Sre(s,e){const t=s;typeof t.vscodeWindowId!=\"number\"&&Object.defineProperty(t,\"vscodeWindowId\",{get:()=>e})}const Ht=window;function nz(s){return s}class Dre{constructor(e,t){this.lastCache=void 0,this.lastArgKey=void 0,typeof e==\"function\"?(this._fn=e,this._computeKey=nz):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){const t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this._fn(e)),this.lastCache}}class r3{get cachedValues(){return this._map}constructor(e,t){this._map=new Map,this._map2=new Map,typeof e==\"function\"?(this._fn=e,this._computeKey=nz):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){const t=this._computeKey(e);if(this._map2.has(t))return this._map2.get(t);const i=this._fn(e);return this._map.set(e,i),this._map2.set(t,i),i}}class gl{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var a_;function sz(s){return!s||typeof s!=\"string\"?!0:s.trim().length===0}const Lre=/{(\\d+)}/g;function l_(s,...e){return e.length===0?s:s.replace(Lre,function(t,i){const n=parseInt(i,10);return isNaN(n)||n<0||n>=e.length?t:e[n]})}function xre(s){return s.replace(/[<>\"'&]/g,e=>{switch(e){case\"<\":return\"&lt;\";case\">\":return\"&gt;\";case'\"':return\"&quot;\";case\"'\":return\"&apos;\";case\"&\":return\"&amp;\"}return e})}function OS(s){return s.replace(/[<>&]/g,function(e){switch(e){case\"<\":return\"&lt;\";case\">\":return\"&gt;\";case\"&\":return\"&amp;\";default:return e}})}function rr(s){return s.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function qL(s,e){if(!s||!e)return s;const t=e.length;if(t===0||s.length===0)return s;let i=0;for(;s.indexOf(e,i)===i;)i=i+t;return s.substring(i)}function kre(s,e){if(!s)return s;const t=e.length,i=s.length;if(t===0||i===0)return s;let n=i,o=-1;for(;o=s.lastIndexOf(e,n-1),!(o===-1||o+t!==n);){if(o===0)return\"\";n=o}return s.substring(0,n)}function Ere(s){return s.replace(/[\\-\\\\\\{\\}\\+\\?\\|\\^\\$\\.\\,\\[\\]\\(\\)\\#\\s]/g,\"\\\\$&\").replace(/[\\*]/g,\".*\")}function oz(s,e,t={}){if(!s)throw new Error(\"Cannot create regex from empty string\");e||(s=rr(s)),t.wholeWord&&(/\\B/.test(s.charAt(0))||(s=\"\\\\b\"+s),/\\B/.test(s.charAt(s.length-1))||(s=s+\"\\\\b\"));let i=\"\";return t.global&&(i+=\"g\"),t.matchCase||(i+=\"i\"),t.multiline&&(i+=\"m\"),t.unicode&&(i+=\"u\"),new RegExp(s,i)}function Ire(s){return s.source===\"^\"||s.source===\"^$\"||s.source===\"$\"||s.source===\"^\\\\s*$\"?!1:!!(s.exec(\"\")&&s.lastIndex===0)}function Td(s){return s.split(/\\r\\n|\\r|\\n/)}function Tre(s){var e;const t=[],i=s.split(/(\\r\\n|\\r|\\n)/);for(let n=0;n<Math.ceil(i.length/2);n++)t.push(i[2*n]+((e=i[2*n+1])!==null&&e!==void 0?e:\"\"));return t}function Cs(s){for(let e=0,t=s.length;e<t;e++){const i=s.charCodeAt(e);if(i!==32&&i!==9)return e}return-1}function Zt(s,e=0,t=s.length){for(let i=e;i<t;i++){const n=s.charCodeAt(i);if(n!==32&&n!==9)return s.substring(e,i)}return s.substring(e,t)}function Ya(s,e=s.length-1){for(let t=e;t>=0;t--){const i=s.charCodeAt(t);if(i!==32&&i!==9)return t}return-1}function Rb(s,e){return s<e?-1:s>e?1:0}function XP(s,e,t=0,i=s.length,n=0,o=e.length){for(;t<i&&n<o;t++,n++){const l=s.charCodeAt(t),d=e.charCodeAt(n);if(l<d)return-1;if(l>d)return 1}const r=i-t,a=o-n;return r<a?-1:r>a?1:0}function YN(s,e){return d1(s,e,0,s.length,0,e.length)}function d1(s,e,t=0,i=s.length,n=0,o=e.length){for(;t<i&&n<o;t++,n++){let l=s.charCodeAt(t),d=e.charCodeAt(n);if(l===d)continue;if(l>=128||d>=128)return XP(s.toLowerCase(),e.toLowerCase(),t,i,n,o);Bu(l)&&(l-=32),Bu(d)&&(d-=32);const c=l-d;if(c!==0)return c}const r=i-t,a=o-n;return r<a?-1:r>a?1:0}function uw(s){return s>=48&&s<=57}function Bu(s){return s>=97&&s<=122}function Fl(s){return s>=65&&s<=90}function em(s,e){return s.length===e.length&&d1(s,e)===0}function YP(s,e){const t=e.length;return e.length>s.length?!1:d1(s,e,0,t)===0}function Sh(s,e){const t=Math.min(s.length,e.length);let i;for(i=0;i<t;i++)if(s.charCodeAt(i)!==e.charCodeAt(i))return i;return t}function BS(s,e){const t=Math.min(s.length,e.length);let i;const n=s.length-1,o=e.length-1;for(i=0;i<t;i++)if(s.charCodeAt(n-i)!==e.charCodeAt(o-i))return i;return t}function Cn(s){return 55296<=s&&s<=56319}function Cf(s){return 56320<=s&&s<=57343}function QP(s,e){return(s-55296<<10)+(e-56320)+65536}function WS(s,e,t){const i=s.charCodeAt(t);if(Cn(i)&&t+1<e){const n=s.charCodeAt(t+1);if(Cf(n))return QP(i,n)}return i}function Nre(s,e){const t=s.charCodeAt(e-1);if(Cf(t)&&e>1){const i=s.charCodeAt(e-2);if(Cn(i))return QP(i,t)}return t}class JP{get offset(){return this._offset}constructor(e,t=0){this._str=e,this._len=e.length,this._offset=t}setOffset(e){this._offset=e}prevCodePoint(){const e=Nre(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=WS(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class HS{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new JP(e,t)}nextGraphemeLength(){const e=Wu.getInstance(),t=this._iterator,i=t.offset;let n=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){const o=t.offset,r=e.getGraphemeBreakType(t.nextCodePoint());if(a3(n,r)){t.setOffset(o);break}n=r}return t.offset-i}prevGraphemeLength(){const e=Wu.getInstance(),t=this._iterator,i=t.offset;let n=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){const o=t.offset,r=e.getGraphemeBreakType(t.prevCodePoint());if(a3(r,n)){t.setOffset(o);break}n=r}return i-t.offset}eol(){return this._iterator.eol()}}function eF(s,e){return new HS(s,e).nextGraphemeLength()}function rz(s,e){return new HS(s,e).prevGraphemeLength()}function Are(s,e){e>0&&Cf(s.charCodeAt(e))&&e--;const t=e+eF(s,e);return[t-rz(s,t),t]}let ME;function Mre(){return/(?:[\\u05BE\\u05C0\\u05C3\\u05C6\\u05D0-\\u05F4\\u0608\\u060B\\u060D\\u061B-\\u064A\\u066D-\\u066F\\u0671-\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1-\\u07EA\\u07F4\\u07F5\\u07FA\\u07FE-\\u0815\\u081A\\u0824\\u0828\\u0830-\\u0858\\u085E-\\u088E\\u08A0-\\u08C9\\u200F\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFD3D\\uFD50-\\uFDC7\\uFDF0-\\uFDFC\\uFE70-\\uFEFC]|\\uD802[\\uDC00-\\uDD1B\\uDD20-\\uDE00\\uDE10-\\uDE35\\uDE40-\\uDEE4\\uDEEB-\\uDF35\\uDF40-\\uDFFF]|\\uD803[\\uDC00-\\uDD23\\uDE80-\\uDEA9\\uDEAD-\\uDF45\\uDF51-\\uDF81\\uDF86-\\uDFF6]|\\uD83A[\\uDC00-\\uDCCF\\uDD00-\\uDD43\\uDD4B-\\uDFFF]|\\uD83B[\\uDC00-\\uDEBB])/}function d_(s){return ME||(ME=Mre()),ME.test(s)}const Rre=/^[\\t\\n\\r\\x20-\\x7E]*$/;function c1(s){return Rre.test(s)}const az=/[\\u2028\\u2029]/;function lz(s){return az.test(s)}function Dh(s){return s>=11904&&s<=55215||s>=63744&&s<=64255||s>=65281&&s<=65374}function tF(s){return s>=127462&&s<=127487||s===8986||s===8987||s===9200||s===9203||s>=9728&&s<=10175||s===11088||s===11093||s>=127744&&s<=128591||s>=128640&&s<=128764||s>=128992&&s<=129008||s>=129280&&s<=129535||s>=129648&&s<=129782}const Pre=\"\\uFEFF\";function iF(s){return!!(s&&s.length>0&&s.charCodeAt(0)===65279)}function Fre(s,e=!1){return s?(e&&(s=s.replace(/\\\\./g,\"\")),s.toLowerCase()!==s):!1}function dz(s){return s=s%(2*26),s<26?String.fromCharCode(97+s):String.fromCharCode(65+s-26)}function a3(s,e){return s===0?e!==5&&e!==7:s===2&&e===3?!1:s===4||s===2||s===3||e===4||e===2||e===3?!0:!(s===8&&(e===8||e===9||e===11||e===12)||(s===11||s===9)&&(e===9||e===10)||(s===12||s===10)&&e===10||e===5||e===13||e===7||s===1||s===13&&e===14||s===6&&e===6)}class Wu{static getInstance(){return Wu._INSTANCE||(Wu._INSTANCE=new Wu),Wu._INSTANCE}constructor(){this._data=Ore()}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;const t=this._data,i=t.length/3;let n=1;for(;n<=i;)if(e<t[3*n])n=2*n;else if(e>t[3*n+1])n=2*n+1;else return t[3*n+2];return 0}}Wu._INSTANCE=null;function Ore(){return JSON.parse(\"[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]\")}function Bre(s,e){if(s===0)return 0;const t=Wre(s,e);if(t!==void 0)return t;const i=new JP(e,s);return i.prevCodePoint(),i.offset}function Wre(s,e){const t=new JP(e,s);let i=t.prevCodePoint();for(;Hre(i)||i===65039||i===8419;){if(t.offset===0)return;i=t.prevCodePoint()}if(!tF(i))return;let n=t.offset;return n>0&&t.prevCodePoint()===8205&&(n=t.offset),n}function Hre(s){return 127995<=s&&s<=127999}const cz=\" \";class wf{static getInstance(e){return a_.cache.get(Array.from(e))}static getLocales(){return a_._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}a_=wf;wf.ambiguousCharacterData=new gl(()=>JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'));wf.cache=new Dre({getCacheKey:JSON.stringify},s=>{function e(d){const c=new Map;for(let u=0;u<d.length;u+=2)c.set(d[u],d[u+1]);return c}function t(d,c){const u=new Map(d);for(const[h,g]of c)u.set(h,g);return u}function i(d,c){if(!d)return c;const u=new Map;for(const[h,g]of d)c.has(h)&&u.set(h,g);return u}const n=a_.ambiguousCharacterData.value;let o=s.filter(d=>!d.startsWith(\"_\")&&d in n);o.length===0&&(o=[\"_default\"]);let r;for(const d of o){const c=e(n[d]);r=i(r,c)}const a=e(n._common),l=t(a,r);return new a_(l)});wf._locales=new gl(()=>Object.keys(a_.ambiguousCharacterData.value).filter(s=>!s.startsWith(\"_\")));class ld{static getRawData(){return JSON.parse(\"[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]\")}static getData(){return this._data||(this._data=new Set(ld.getRawData())),this._data}static isInvisibleCharacter(e){return ld.getData().has(e)}static get codePoints(){return ld.getData()}}ld._data=void 0;class QN{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){var t;return(t=this.mapWindowIdToZoomFactor.get(this.getWindowId(e)))!==null&&t!==void 0?t:1}getWindowId(e){return e.vscodeWindowId}}QN.INSTANCE=new QN;function uz(s,e,t){typeof e==\"string\"&&(e=s.matchMedia(e)),e.addEventListener(\"change\",t)}function Vre(s){return QN.INSTANCE.getZoomFactor(s)}const s0=navigator.userAgent,Fr=s0.indexOf(\"Firefox\")>=0,GL=s0.indexOf(\"AppleWebKit\")>=0,u1=s0.indexOf(\"Chrome\")>=0,Lh=!u1&&s0.indexOf(\"Safari\")>=0,hz=!u1&&!Lh&&GL;s0.indexOf(\"Electron/\")>=0;const l3=s0.indexOf(\"Android\")>=0;let RE=!1;if(typeof Ht.matchMedia==\"function\"){const s=Ht.matchMedia(\"(display-mode: standalone) or (display-mode: window-controls-overlay)\"),e=Ht.matchMedia(\"(display-mode: fullscreen)\");RE=s.matches,uz(Ht,s,({matches:t})=>{RE&&e.matches||(RE=t)})}const nF={clipboard:{writeText:md||document.queryCommandSupported&&document.queryCommandSupported(\"copy\")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:md||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},pointerEvents:Ht.PointerEvent&&(\"ontouchstart\"in Ht||navigator.maxTouchPoints>0)};function JN(s,e){if(typeof s==\"number\"){if(s===0)return null;const t=(s&65535)>>>0,i=(s&4294901760)>>>16;return i!==0?new PE([hw(t,e),hw(i,e)]):new PE([hw(t,e)])}else{const t=[];for(let i=0;i<s.length;i++)t.push(hw(s[i],e));return new PE(t)}}function hw(s,e){const t=!!(s&2048),i=!!(s&256),n=e===2?i:t,o=!!(s&1024),r=!!(s&512),a=e===2?t:i,l=s&255;return new Vc(n,o,r,a,l)}class Vc{constructor(e,t,i,n,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyCode=o}equals(e){return e instanceof Vc&&this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}class PE{constructor(e){if(e.length===0)throw Mr(\"chords\");this.chords=e}}class zre{constructor(e,t,i,n,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyLabel=o,this.keyAriaLabel=r}}class Ure{}function $re(s){if(s.charCode){const t=String.fromCharCode(s.charCode).toUpperCase();return sc.fromString(t)}const e=s.keyCode;if(e===3)return 7;if(Fr)switch(e){case 59:return 85;case 60:if($s)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(lt)return 57;break}else if(GL){if(lt&&e===93)return 57;if(!lt&&e===92)return 57}return KV[e]||0}const jre=lt?256:2048,Kre=512,qre=1024,Gre=lt?2048:256;class Kt{constructor(e){var t;this._standardKeyboardEventBrand=!0;const i=e;this.browserEvent=i,this.target=i.target,this.ctrlKey=i.ctrlKey,this.shiftKey=i.shiftKey,this.altKey=i.altKey,this.metaKey=i.metaKey,this.altGraphKey=(t=i.getModifierState)===null||t===void 0?void 0:t.call(i,\"AltGraph\"),this.keyCode=$re(i),this.code=i.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=jre),this.altKey&&(t|=Kre),this.shiftKey&&(t|=qre),this.metaKey&&(t|=Gre),t|=e,t}_computeKeyCodeChord(){let e=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode),new Vc(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}const d3=new WeakMap;function Zre(s){if(!s.parent||s.parent===s)return null;try{const e=s.location,t=s.parent.location;if(e.origin!==\"null\"&&t.origin!==\"null\"&&e.origin!==t.origin)return null}catch{return null}return s.parent}class Xre{static getSameOriginWindowChain(e){let t=d3.get(e);if(!t){t=[],d3.set(e,t);let i=e,n;do n=Zre(i),n?t.push({window:new WeakRef(i),iframeElement:i.frameElement||null}):t.push({window:new WeakRef(i),iframeElement:null}),i=n;while(i)}return t.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){var i,n;if(!t||e===t)return{top:0,left:0};let o=0,r=0;const a=this.getSameOriginWindowChain(e);for(const l of a){const d=l.window.deref();if(o+=(i=d==null?void 0:d.scrollY)!==null&&i!==void 0?i:0,r+=(n=d==null?void 0:d.scrollX)!==null&&n!==void 0?n:0,d===t||!l.iframeElement)break;const c=l.iframeElement.getBoundingClientRect();o+=c.top,r+=c.left}return{top:o,left:r}}}class ra{constructor(e,t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=t.button===0,this.middleButton=t.button===1,this.rightButton=t.button===2,this.buttons=t.buttons,this.target=t.target,this.detail=t.detail||1,t.type===\"dblclick\"&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,typeof t.pageX==\"number\"?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=t.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);const i=Xre.getPositionOfChildWindowRelativeToAncestorWindow(e,t.view);this.posx-=i.left,this.posy-=i.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class yf{constructor(e,t=0,i=0){var n;this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t;let o=!1;if(u1){const r=navigator.userAgent.match(/Chrome\\/(\\d+)/);o=(r?parseInt(r[1]):123)<=122}if(e){const r=e,a=e,l=((n=e.view)===null||n===void 0?void 0:n.devicePixelRatio)||1;if(typeof r.wheelDeltaY<\"u\")o?this.deltaY=r.wheelDeltaY/(120*l):this.deltaY=r.wheelDeltaY/120;else if(typeof a.VERTICAL_AXIS<\"u\"&&a.axis===a.VERTICAL_AXIS)this.deltaY=-a.detail/3;else if(e.type===\"wheel\"){const d=e;d.deltaMode===d.DOM_DELTA_LINE?Fr&&!lt?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(typeof r.wheelDeltaX<\"u\")Lh&&as?this.deltaX=-(r.wheelDeltaX/120):o?this.deltaX=r.wheelDeltaX/(120*l):this.deltaX=r.wheelDeltaX/120;else if(typeof a.HORIZONTAL_AXIS<\"u\"&&a.axis===a.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if(e.type===\"wheel\"){const d=e;d.deltaMode===d.DOM_DELTA_LINE?Fr&&!lt?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}this.deltaY===0&&this.deltaX===0&&e.wheelDelta&&(o?this.deltaY=e.wheelDelta/(120*l):this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;(e=this.browserEvent)===null||e===void 0||e.preventDefault()}stopPropagation(){var e;(e=this.browserEvent)===null||e===void 0||e.stopPropagation()}}const gz=Symbol(\"MicrotaskDelay\");function eA(s){return!!s&&typeof s.then==\"function\"}function Dn(s){const e=new Vi,t=s(e.token),i=new Promise((n,o)=>{const r=e.token.onCancellationRequested(()=>{r.dispose(),o(new sl)});Promise.resolve(t).then(a=>{r.dispose(),e.dispose(),n(a)},a=>{r.dispose(),e.dispose(),o(a)})});return new class{cancel(){e.cancel(),e.dispose()}then(n,o){return i.then(n,o)}catch(n){return this.then(void 0,n)}finally(n){return i.finally(n)}}}function h1(s,e,t){return new Promise((i,n)=>{const o=e.onCancellationRequested(()=>{o.dispose(),i(t)});s.then(i,n).finally(()=>o.dispose())})}class Yre{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.isDisposed)return Promise.reject(new Error(\"Throttler is disposed\"));if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const t=()=>{if(this.queuedPromise=null,this.isDisposed)return;const i=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,i};this.queuedPromise=new Promise(i=>{this.activePromise.then(t,t).then(i)})}return new Promise((t,i)=>{this.queuedPromise.then(t,i)})}return this.activePromise=e(),new Promise((t,i)=>{this.activePromise.then(n=>{this.activePromise=null,t(n)},n=>{this.activePromise=null,i(n)})})}dispose(){this.isDisposed=!0}}const Qre=(s,e)=>{let t=!0;const i=setTimeout(()=>{t=!1,e()},s);return{isTriggered:()=>t,dispose:()=>{clearTimeout(i),t=!1}}},Jre=s=>{let e=!0;return queueMicrotask(()=>{e&&(e=!1,s())}),{isTriggered:()=>e,dispose:()=>{e=!1}}};class _a{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((n,o)=>{this.doResolve=n,this.doReject=o}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const n=this.task;return this.task=null,n()}}));const i=()=>{var n;this.deferred=null,(n=this.doResolve)===null||n===void 0||n.call(this,null)};return this.deferred=t===gz?Jre(i):Qre(t,i),this.completionPromise}isTriggered(){var e;return!!(!((e=this.deferred)===null||e===void 0)&&e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&((e=this.doReject)===null||e===void 0||e.call(this,new sl),this.completionPromise=null)}cancelTimeout(){var e;(e=this.deferred)===null||e===void 0||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class fz{constructor(e){this.delayer=new _a(e),this.throttler=new Yre}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}function xh(s,e){return e?new Promise((t,i)=>{const n=setTimeout(()=>{o.dispose(),t()},s),o=e.onCancellationRequested(()=>{clearTimeout(n),o.dispose(),i(new sl)})}):Dn(t=>xh(s,t))}function kh(s,e=0,t){const i=setTimeout(()=>{s(),t&&n.dispose()},e),n=Ie(()=>{clearTimeout(i),t==null||t.deleteAndLeak(n)});return t==null||t.add(n),n}function sF(s,e=i=>!!i,t=null){let i=0;const n=s.length,o=()=>{if(i>=n)return Promise.resolve(t);const r=s[i++];return Promise.resolve(r()).then(l=>e(l)?Promise.resolve(l):o())};return o()}class ya{constructor(e,t){this._token=-1,typeof e==\"function\"&&typeof t==\"number\"&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class oF{constructor(){this.disposable=void 0}cancel(){var e;(e=this.disposable)===null||e===void 0||e.dispose(),this.disposable=void 0}cancelAndSet(e,t,i=globalThis){this.cancel();const n=i.setInterval(()=>{e()},t);this.disposable=Ie(()=>{i.clearInterval(n),this.disposable=void 0})}dispose(){this.cancel()}}class Wt{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;(e=this.runner)===null||e===void 0||e.call(this)}}let pz,Vv;(function(){typeof globalThis.requestIdleCallback!=\"function\"||typeof globalThis.cancelIdleCallback!=\"function\"?Vv=(s,e)=>{PV(()=>{if(t)return;const i=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,i-Date.now())}}))});let t=!1;return{dispose(){t||(t=!0)}}}:Vv=(s,e,t)=>{const i=s.requestIdleCallback(e,typeof t==\"number\"?{timeout:t}:void 0);let n=!1;return{dispose(){n||(n=!0,s.cancelIdleCallback(i))}}},pz=s=>Vv(globalThis,s)})();class mz{constructor(e,t){this._didRun=!1,this._executor=()=>{try{this._value=t()}catch(i){this._error=i}finally{this._didRun=!0}},this._handle=Vv(e,()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class eae extends mz{constructor(e){super(globalThis,e)}}class ZL{get isRejected(){var e;return((e=this.outcome)===null||e===void 0?void 0:e.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new sl)}}var tA;(function(s){async function e(i){let n;const o=await Promise.all(i.map(r=>r.then(a=>a,a=>{n||(n=a)})));if(typeof n<\"u\")throw n;return o}s.settled=e;function t(i){return new Promise(async(n,o)=>{try{await i(n,o)}catch(r){o(r)}})}s.withAsyncBody=t})(tA||(tA={}));class Xi{static fromArray(e){return new Xi(t=>{t.emitMany(e)})}static fromPromise(e){return new Xi(async t=>{t.emitMany(await e)})}static fromPromises(e){return new Xi(async t=>{await Promise.all(e.map(async i=>t.emitOne(await i)))})}static merge(e){return new Xi(async t=>{await Promise.all(e.map(async i=>{for await(const n of i)t.emitOne(n)}))})}constructor(e,t){this._state=0,this._results=[],this._error=null,this._onReturn=t,this._onStateChanged=new B,queueMicrotask(async()=>{const i={emitOne:n=>this.emitOne(n),emitMany:n=>this.emitMany(n),reject:n=>this.reject(n)};try{await Promise.resolve(e(i)),this.resolve()}catch(n){this.reject(n)}finally{i.emitOne=void 0,i.emitMany=void 0,i.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(this._state===1)return{done:!0,value:void 0};await le.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>{var t;return(t=this._onReturn)===null||t===void 0||t.call(this),{done:!0,value:void 0}}}}static map(e,t){return new Xi(async i=>{for await(const n of e)i.emitOne(t(n))})}map(e){return Xi.map(this,e)}static filter(e,t){return new Xi(async i=>{for await(const n of e)t(n)&&i.emitOne(n)})}filter(e){return Xi.filter(this,e)}static coalesce(e){return Xi.filter(e,t=>!!t)}coalesce(){return Xi.coalesce(this)}static async toPromise(e){const t=[];for await(const i of e)t.push(i);return t}toPromise(){return Xi.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}}Xi.EMPTY=Xi.fromArray([]);class tae extends Xi{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function iae(s){const e=new Vi,t=s(e.token);return new tae(e,async i=>{const n=e.token.onCancellationRequested(()=>{n.dispose(),e.dispose(),i.reject(new sl)});try{for await(const o of t){if(e.token.isCancellationRequested)return;i.emitOne(o)}n.dispose(),e.dispose()}catch(o){n.dispose(),e.dispose(),i.reject(o)}})}/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:_z,setPrototypeOf:c3,isFrozen:nae,getPrototypeOf:sae,getOwnPropertyDescriptor:oae}=Object;let{freeze:No,seal:ol,create:rae}=Object,{apply:iA,construct:nA}=typeof Reflect<\"u\"&&Reflect;iA||(iA=function(e,t,i){return e.apply(t,i)});No||(No=function(e){return e});ol||(ol=function(e){return e});nA||(nA=function(e,t){return new e(...t)});const aae=va(Array.prototype.forEach),u3=va(Array.prototype.pop),M0=va(Array.prototype.push),By=va(String.prototype.toLowerCase),FE=va(String.prototype.toString),lae=va(String.prototype.match),xa=va(String.prototype.replace),dae=va(String.prototype.indexOf),cae=va(String.prototype.trim),_r=va(RegExp.prototype.test),R0=uae(TypeError);function va(s){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return iA(s,e,i)}}function uae(s){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return nA(s,t)}}function Ft(s,e,t){var i;t=(i=t)!==null&&i!==void 0?i:By,c3&&c3(s,null);let n=e.length;for(;n--;){let o=e[n];if(typeof o==\"string\"){const r=t(o);r!==o&&(nae(e)||(e[n]=r),o=r)}s[o]=!0}return s}function Dp(s){const e=rae(null);for(const[t,i]of _z(s))e[t]=i;return e}function gw(s,e){for(;s!==null;){const i=oae(s,e);if(i){if(i.get)return va(i.get);if(typeof i.value==\"function\")return va(i.value)}s=sae(s)}function t(i){return console.warn(\"fallback value for\",i),null}return t}const h3=No([\"a\",\"abbr\",\"acronym\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"bdi\",\"bdo\",\"big\",\"blink\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"center\",\"cite\",\"code\",\"col\",\"colgroup\",\"content\",\"data\",\"datalist\",\"dd\",\"decorator\",\"del\",\"details\",\"dfn\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"element\",\"em\",\"fieldset\",\"figcaption\",\"figure\",\"font\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"img\",\"input\",\"ins\",\"kbd\",\"label\",\"legend\",\"li\",\"main\",\"map\",\"mark\",\"marquee\",\"menu\",\"menuitem\",\"meter\",\"nav\",\"nobr\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"section\",\"select\",\"shadow\",\"small\",\"source\",\"spacer\",\"span\",\"strike\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"template\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"tt\",\"u\",\"ul\",\"var\",\"video\",\"wbr\"]),OE=No([\"svg\",\"a\",\"altglyph\",\"altglyphdef\",\"altglyphitem\",\"animatecolor\",\"animatemotion\",\"animatetransform\",\"circle\",\"clippath\",\"defs\",\"desc\",\"ellipse\",\"filter\",\"font\",\"g\",\"glyph\",\"glyphref\",\"hkern\",\"image\",\"line\",\"lineargradient\",\"marker\",\"mask\",\"metadata\",\"mpath\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialgradient\",\"rect\",\"stop\",\"style\",\"switch\",\"symbol\",\"text\",\"textpath\",\"title\",\"tref\",\"tspan\",\"view\",\"vkern\"]),BE=No([\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feDistantLight\",\"feDropShadow\",\"feFlood\",\"feFuncA\",\"feFuncB\",\"feFuncG\",\"feFuncR\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMergeNode\",\"feMorphology\",\"feOffset\",\"fePointLight\",\"feSpecularLighting\",\"feSpotLight\",\"feTile\",\"feTurbulence\"]),hae=No([\"animate\",\"color-profile\",\"cursor\",\"discard\",\"font-face\",\"font-face-format\",\"font-face-name\",\"font-face-src\",\"font-face-uri\",\"foreignobject\",\"hatch\",\"hatchpath\",\"mesh\",\"meshgradient\",\"meshpatch\",\"meshrow\",\"missing-glyph\",\"script\",\"set\",\"solidcolor\",\"unknown\",\"use\"]),WE=No([\"math\",\"menclose\",\"merror\",\"mfenced\",\"mfrac\",\"mglyph\",\"mi\",\"mlabeledtr\",\"mmultiscripts\",\"mn\",\"mo\",\"mover\",\"mpadded\",\"mphantom\",\"mroot\",\"mrow\",\"ms\",\"mspace\",\"msqrt\",\"mstyle\",\"msub\",\"msup\",\"msubsup\",\"mtable\",\"mtd\",\"mtext\",\"mtr\",\"munder\",\"munderover\",\"mprescripts\"]),gae=No([\"maction\",\"maligngroup\",\"malignmark\",\"mlongdiv\",\"mscarries\",\"mscarry\",\"msgroup\",\"mstack\",\"msline\",\"msrow\",\"semantics\",\"annotation\",\"annotation-xml\",\"mprescripts\",\"none\"]),g3=No([\"#text\"]),f3=No([\"accept\",\"action\",\"align\",\"alt\",\"autocapitalize\",\"autocomplete\",\"autopictureinpicture\",\"autoplay\",\"background\",\"bgcolor\",\"border\",\"capture\",\"cellpadding\",\"cellspacing\",\"checked\",\"cite\",\"class\",\"clear\",\"color\",\"cols\",\"colspan\",\"controls\",\"controlslist\",\"coords\",\"crossorigin\",\"datetime\",\"decoding\",\"default\",\"dir\",\"disabled\",\"disablepictureinpicture\",\"disableremoteplayback\",\"download\",\"draggable\",\"enctype\",\"enterkeyhint\",\"face\",\"for\",\"headers\",\"height\",\"hidden\",\"high\",\"href\",\"hreflang\",\"id\",\"inputmode\",\"integrity\",\"ismap\",\"kind\",\"label\",\"lang\",\"list\",\"loading\",\"loop\",\"low\",\"max\",\"maxlength\",\"media\",\"method\",\"min\",\"minlength\",\"multiple\",\"muted\",\"name\",\"nonce\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"optimum\",\"pattern\",\"placeholder\",\"playsinline\",\"poster\",\"preload\",\"pubdate\",\"radiogroup\",\"readonly\",\"rel\",\"required\",\"rev\",\"reversed\",\"role\",\"rows\",\"rowspan\",\"spellcheck\",\"scope\",\"selected\",\"shape\",\"size\",\"sizes\",\"span\",\"srclang\",\"start\",\"src\",\"srcset\",\"step\",\"style\",\"summary\",\"tabindex\",\"title\",\"translate\",\"type\",\"usemap\",\"valign\",\"value\",\"width\",\"xmlns\",\"slot\"]),HE=No([\"accent-height\",\"accumulate\",\"additive\",\"alignment-baseline\",\"ascent\",\"attributename\",\"attributetype\",\"azimuth\",\"basefrequency\",\"baseline-shift\",\"begin\",\"bias\",\"by\",\"class\",\"clip\",\"clippathunits\",\"clip-path\",\"clip-rule\",\"color\",\"color-interpolation\",\"color-interpolation-filters\",\"color-profile\",\"color-rendering\",\"cx\",\"cy\",\"d\",\"dx\",\"dy\",\"diffuseconstant\",\"direction\",\"display\",\"divisor\",\"dur\",\"edgemode\",\"elevation\",\"end\",\"fill\",\"fill-opacity\",\"fill-rule\",\"filter\",\"filterunits\",\"flood-color\",\"flood-opacity\",\"font-family\",\"font-size\",\"font-size-adjust\",\"font-stretch\",\"font-style\",\"font-variant\",\"font-weight\",\"fx\",\"fy\",\"g1\",\"g2\",\"glyph-name\",\"glyphref\",\"gradientunits\",\"gradienttransform\",\"height\",\"href\",\"id\",\"image-rendering\",\"in\",\"in2\",\"k\",\"k1\",\"k2\",\"k3\",\"k4\",\"kerning\",\"keypoints\",\"keysplines\",\"keytimes\",\"lang\",\"lengthadjust\",\"letter-spacing\",\"kernelmatrix\",\"kernelunitlength\",\"lighting-color\",\"local\",\"marker-end\",\"marker-mid\",\"marker-start\",\"markerheight\",\"markerunits\",\"markerwidth\",\"maskcontentunits\",\"maskunits\",\"max\",\"mask\",\"media\",\"method\",\"mode\",\"min\",\"name\",\"numoctaves\",\"offset\",\"operator\",\"opacity\",\"order\",\"orient\",\"orientation\",\"origin\",\"overflow\",\"paint-order\",\"path\",\"pathlength\",\"patterncontentunits\",\"patterntransform\",\"patternunits\",\"points\",\"preservealpha\",\"preserveaspectratio\",\"primitiveunits\",\"r\",\"rx\",\"ry\",\"radius\",\"refx\",\"refy\",\"repeatcount\",\"repeatdur\",\"restart\",\"result\",\"rotate\",\"scale\",\"seed\",\"shape-rendering\",\"specularconstant\",\"specularexponent\",\"spreadmethod\",\"startoffset\",\"stddeviation\",\"stitchtiles\",\"stop-color\",\"stop-opacity\",\"stroke-dasharray\",\"stroke-dashoffset\",\"stroke-linecap\",\"stroke-linejoin\",\"stroke-miterlimit\",\"stroke-opacity\",\"stroke\",\"stroke-width\",\"style\",\"surfacescale\",\"systemlanguage\",\"tabindex\",\"targetx\",\"targety\",\"transform\",\"transform-origin\",\"text-anchor\",\"text-decoration\",\"text-rendering\",\"textlength\",\"type\",\"u1\",\"u2\",\"unicode\",\"values\",\"viewbox\",\"visibility\",\"version\",\"vert-adv-y\",\"vert-origin-x\",\"vert-origin-y\",\"width\",\"word-spacing\",\"wrap\",\"writing-mode\",\"xchannelselector\",\"ychannelselector\",\"x\",\"x1\",\"x2\",\"xmlns\",\"y\",\"y1\",\"y2\",\"z\",\"zoomandpan\"]),p3=No([\"accent\",\"accentunder\",\"align\",\"bevelled\",\"close\",\"columnsalign\",\"columnlines\",\"columnspan\",\"denomalign\",\"depth\",\"dir\",\"display\",\"displaystyle\",\"encoding\",\"fence\",\"frame\",\"height\",\"href\",\"id\",\"largeop\",\"length\",\"linethickness\",\"lspace\",\"lquote\",\"mathbackground\",\"mathcolor\",\"mathsize\",\"mathvariant\",\"maxsize\",\"minsize\",\"movablelimits\",\"notation\",\"numalign\",\"open\",\"rowalign\",\"rowlines\",\"rowspacing\",\"rowspan\",\"rspace\",\"rquote\",\"scriptlevel\",\"scriptminsize\",\"scriptsizemultiplier\",\"selection\",\"separator\",\"separators\",\"stretchy\",\"subscriptshift\",\"supscriptshift\",\"symmetric\",\"voffset\",\"width\",\"xmlns\"]),fw=No([\"xlink:href\",\"xml:id\",\"xlink:title\",\"xml:space\",\"xmlns:xlink\"]),fae=ol(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm),pae=ol(/<%[\\w\\W]*|[\\w\\W]*%>/gm),mae=ol(/\\${[\\w\\W]*}/gm),_ae=ol(/^data-[\\-\\w.\\u00B7-\\uFFFF]/),vae=ol(/^aria-[\\-\\w]+$/),vz=ol(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i),bae=ol(/^(?:\\w+script|data):/i),Cae=ol(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g),bz=ol(/^html$/i);var m3=Object.freeze({__proto__:null,MUSTACHE_EXPR:fae,ERB_EXPR:pae,TMPLIT_EXPR:mae,DATA_ATTR:_ae,ARIA_ATTR:vae,IS_ALLOWED_URI:vz,IS_SCRIPT_OR_DATA:bae,ATTR_WHITESPACE:Cae,DOCTYPE_NAME:bz});const wae=()=>typeof window>\"u\"?null:window,yae=function(e,t){if(typeof e!=\"object\"||typeof e.createPolicy!=\"function\")return null;let i=null;const n=\"data-tt-policy-suffix\";t&&t.hasAttribute(n)&&(i=t.getAttribute(n));const o=\"dompurify\"+(i?\"#\"+i:\"\");try{return e.createPolicy(o,{createHTML(r){return r},createScriptURL(r){return r}})}catch{return console.warn(\"TrustedTypes policy \"+o+\" could not be created.\"),null}};function Cz(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wae();const e=ct=>Cz(ct);if(e.version=\"3.0.5\",e.removed=[],!s||!s.document||s.document.nodeType!==9)return e.isSupported=!1,e;const t=s.document,i=t.currentScript;let{document:n}=s;const{DocumentFragment:o,HTMLTemplateElement:r,Node:a,Element:l,NodeFilter:d,NamedNodeMap:c=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:u,DOMParser:h,trustedTypes:g}=s,f=l.prototype,m=gw(f,\"cloneNode\"),_=gw(f,\"nextSibling\"),v=gw(f,\"childNodes\"),b=gw(f,\"parentNode\");if(typeof r==\"function\"){const ct=n.createElement(\"template\");ct.content&&ct.content.ownerDocument&&(n=ct.content.ownerDocument)}let C,w=\"\";const{implementation:y,createNodeIterator:D,createDocumentFragment:L,getElementsByTagName:k}=n,{importNode:I}=t;let O={};e.isSupported=typeof _z==\"function\"&&typeof b==\"function\"&&y&&y.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:R,ERB_EXPR:P,TMPLIT_EXPR:F,DATA_ATTR:V,ARIA_ATTR:U,IS_SCRIPT_OR_DATA:J,ATTR_WHITESPACE:pe}=m3;let{IS_ALLOWED_URI:De}=m3,ge=null;const We=Ft({},[...h3,...OE,...BE,...WE,...g3]);let ye=null;const ve=Ft({},[...f3,...HE,...p3,...fw]);let ce=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Qt=null,Ui=null,Gi=!0,St=!0,tn=!1,Pn=!0,ln=!1,$e=!1,dn=!1,qr=!1,Wo=!1,Fd=!1,xn=!1,Da=!0,Z1=!1;const aE=\"user-content-\";let se=!0,X=!1,q={},A=null;const M=Ft({},[\"annotation-xml\",\"audio\",\"colgroup\",\"desc\",\"foreignobject\",\"head\",\"iframe\",\"math\",\"mi\",\"mn\",\"mo\",\"ms\",\"mtext\",\"noembed\",\"noframes\",\"noscript\",\"plaintext\",\"script\",\"style\",\"svg\",\"template\",\"thead\",\"title\",\"video\",\"xmp\"]);let j=null;const z=Ft({},[\"audio\",\"video\",\"img\",\"source\",\"image\",\"track\"]);let ne=null;const _e=Ft({},[\"alt\",\"class\",\"for\",\"id\",\"label\",\"name\",\"pattern\",\"placeholder\",\"role\",\"summary\",\"title\",\"value\",\"style\",\"xmlns\"]),Me=\"http://www.w3.org/1998/Math/MathML\",Oe=\"http://www.w3.org/2000/svg\",ot=\"http://www.w3.org/1999/xhtml\";let tt=ot,Jt=!1,Vt=null;const qe=Ft({},[Me,Oe,ot],FE);let Mi;const Ri=[\"application/xhtml+xml\",\"text/html\"],Gr=\"text/html\";let Mt,cn=null;const hg=n.createElement(\"form\"),gg=function(Z){return Z instanceof RegExp||Z instanceof Function},La=function(Z){if(!(cn&&cn===Z)){if((!Z||typeof Z!=\"object\")&&(Z={}),Z=Dp(Z),Mi=Ri.indexOf(Z.PARSER_MEDIA_TYPE)===-1?Mi=Gr:Mi=Z.PARSER_MEDIA_TYPE,Mt=Mi===\"application/xhtml+xml\"?FE:By,ge=\"ALLOWED_TAGS\"in Z?Ft({},Z.ALLOWED_TAGS,Mt):We,ye=\"ALLOWED_ATTR\"in Z?Ft({},Z.ALLOWED_ATTR,Mt):ve,Vt=\"ALLOWED_NAMESPACES\"in Z?Ft({},Z.ALLOWED_NAMESPACES,FE):qe,ne=\"ADD_URI_SAFE_ATTR\"in Z?Ft(Dp(_e),Z.ADD_URI_SAFE_ATTR,Mt):_e,j=\"ADD_DATA_URI_TAGS\"in Z?Ft(Dp(z),Z.ADD_DATA_URI_TAGS,Mt):z,A=\"FORBID_CONTENTS\"in Z?Ft({},Z.FORBID_CONTENTS,Mt):M,Qt=\"FORBID_TAGS\"in Z?Ft({},Z.FORBID_TAGS,Mt):{},Ui=\"FORBID_ATTR\"in Z?Ft({},Z.FORBID_ATTR,Mt):{},q=\"USE_PROFILES\"in Z?Z.USE_PROFILES:!1,Gi=Z.ALLOW_ARIA_ATTR!==!1,St=Z.ALLOW_DATA_ATTR!==!1,tn=Z.ALLOW_UNKNOWN_PROTOCOLS||!1,Pn=Z.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ln=Z.SAFE_FOR_TEMPLATES||!1,$e=Z.WHOLE_DOCUMENT||!1,Wo=Z.RETURN_DOM||!1,Fd=Z.RETURN_DOM_FRAGMENT||!1,xn=Z.RETURN_TRUSTED_TYPE||!1,qr=Z.FORCE_BODY||!1,Da=Z.SANITIZE_DOM!==!1,Z1=Z.SANITIZE_NAMED_PROPS||!1,se=Z.KEEP_CONTENT!==!1,X=Z.IN_PLACE||!1,De=Z.ALLOWED_URI_REGEXP||vz,tt=Z.NAMESPACE||ot,ce=Z.CUSTOM_ELEMENT_HANDLING||{},Z.CUSTOM_ELEMENT_HANDLING&&gg(Z.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ce.tagNameCheck=Z.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Z.CUSTOM_ELEMENT_HANDLING&&gg(Z.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ce.attributeNameCheck=Z.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Z.CUSTOM_ELEMENT_HANDLING&&typeof Z.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==\"boolean\"&&(ce.allowCustomizedBuiltInElements=Z.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ln&&(St=!1),Fd&&(Wo=!0),q&&(ge=Ft({},[...g3]),ye=[],q.html===!0&&(Ft(ge,h3),Ft(ye,f3)),q.svg===!0&&(Ft(ge,OE),Ft(ye,HE),Ft(ye,fw)),q.svgFilters===!0&&(Ft(ge,BE),Ft(ye,HE),Ft(ye,fw)),q.mathMl===!0&&(Ft(ge,WE),Ft(ye,p3),Ft(ye,fw))),Z.ADD_TAGS&&(ge===We&&(ge=Dp(ge)),Ft(ge,Z.ADD_TAGS,Mt)),Z.ADD_ATTR&&(ye===ve&&(ye=Dp(ye)),Ft(ye,Z.ADD_ATTR,Mt)),Z.ADD_URI_SAFE_ATTR&&Ft(ne,Z.ADD_URI_SAFE_ATTR,Mt),Z.FORBID_CONTENTS&&(A===M&&(A=Dp(A)),Ft(A,Z.FORBID_CONTENTS,Mt)),se&&(ge[\"#text\"]=!0),$e&&Ft(ge,[\"html\",\"head\",\"body\"]),ge.table&&(Ft(ge,[\"tbody\"]),delete Qt.tbody),Z.TRUSTED_TYPES_POLICY){if(typeof Z.TRUSTED_TYPES_POLICY.createHTML!=\"function\")throw R0('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');if(typeof Z.TRUSTED_TYPES_POLICY.createScriptURL!=\"function\")throw R0('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');C=Z.TRUSTED_TYPES_POLICY,w=C.createHTML(\"\")}else C===void 0&&(C=yae(g,i)),C!==null&&typeof w==\"string\"&&(w=C.createHTML(\"\"));No&&No(Z),cn=Z}},cu=Ft({},[\"mi\",\"mo\",\"mn\",\"ms\",\"mtext\"]),fg=Ft({},[\"foreignobject\",\"desc\",\"title\",\"annotation-xml\"]),pg=Ft({},[\"title\",\"style\",\"font\",\"a\",\"script\"]),wp=Ft({},OE);Ft(wp,BE),Ft(wp,hae);const mg=Ft({},WE);Ft(mg,gae);const lE=function(Z){let ke=b(Z);(!ke||!ke.tagName)&&(ke={namespaceURI:tt,tagName:\"template\"});const ze=By(Z.tagName),Pi=By(ke.tagName);return Vt[Z.namespaceURI]?Z.namespaceURI===Oe?ke.namespaceURI===ot?ze===\"svg\":ke.namespaceURI===Me?ze===\"svg\"&&(Pi===\"annotation-xml\"||cu[Pi]):!!wp[ze]:Z.namespaceURI===Me?ke.namespaceURI===ot?ze===\"math\":ke.namespaceURI===Oe?ze===\"math\"&&fg[Pi]:!!mg[ze]:Z.namespaceURI===ot?ke.namespaceURI===Oe&&!fg[Pi]||ke.namespaceURI===Me&&!cu[Pi]?!1:!mg[ze]&&(pg[ze]||!wp[ze]):!!(Mi===\"application/xhtml+xml\"&&Vt[Z.namespaceURI]):!1},bl=function(Z){M0(e.removed,{element:Z});try{Z.parentNode.removeChild(Z)}catch{Z.remove()}},I0=function(Z,ke){try{M0(e.removed,{attribute:ke.getAttributeNode(Z),from:ke})}catch{M0(e.removed,{attribute:null,from:ke})}if(ke.removeAttribute(Z),Z===\"is\"&&!ye[Z])if(Wo||Fd)try{bl(ke)}catch{}else try{ke.setAttribute(Z,\"\")}catch{}},T0=function(Z){let ke,ze;if(qr)Z=\"<remove></remove>\"+Z;else{const Zr=lae(Z,/^[\\r\\n\\t ]+/);ze=Zr&&Zr[0]}Mi===\"application/xhtml+xml\"&&tt===ot&&(Z='<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>'+Z+\"</body></html>\");const Pi=C?C.createHTML(Z):Z;if(tt===ot)try{ke=new h().parseFromString(Pi,Mi)}catch{}if(!ke||!ke.documentElement){ke=y.createDocument(tt,\"template\",null);try{ke.documentElement.innerHTML=Jt?w:Pi}catch{}}const cs=ke.body||ke.documentElement;return Z&&ze&&cs.insertBefore(n.createTextNode(ze),cs.childNodes[0]||null),tt===ot?k.call(ke,$e?\"html\":\"body\")[0]:$e?ke.documentElement:cs},X1=function(Z){return D.call(Z.ownerDocument||Z,Z,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},TZ=function(Z){return Z instanceof u&&(typeof Z.nodeName!=\"string\"||typeof Z.textContent!=\"string\"||typeof Z.removeChild!=\"function\"||!(Z.attributes instanceof c)||typeof Z.removeAttribute!=\"function\"||typeof Z.setAttribute!=\"function\"||typeof Z.namespaceURI!=\"string\"||typeof Z.insertBefore!=\"function\"||typeof Z.hasChildNodes!=\"function\")},Y1=function(Z){return typeof a==\"object\"?Z instanceof a:Z&&typeof Z==\"object\"&&typeof Z.nodeType==\"number\"&&typeof Z.nodeName==\"string\"},Od=function(Z,ke,ze){O[Z]&&aae(O[Z],Pi=>{Pi.call(e,ke,ze,cn)})},n5=function(Z){let ke;if(Od(\"beforeSanitizeElements\",Z,null),TZ(Z))return bl(Z),!0;const ze=Mt(Z.nodeName);if(Od(\"uponSanitizeElement\",Z,{tagName:ze,allowedTags:ge}),Z.hasChildNodes()&&!Y1(Z.firstElementChild)&&(!Y1(Z.content)||!Y1(Z.content.firstElementChild))&&_r(/<[/\\w]/g,Z.innerHTML)&&_r(/<[/\\w]/g,Z.textContent))return bl(Z),!0;if(!ge[ze]||Qt[ze]){if(!Qt[ze]&&o5(ze)&&(ce.tagNameCheck instanceof RegExp&&_r(ce.tagNameCheck,ze)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(ze)))return!1;if(se&&!A[ze]){const Pi=b(Z)||Z.parentNode,cs=v(Z)||Z.childNodes;if(cs&&Pi){const Zr=cs.length;for(let vn=Zr-1;vn>=0;--vn)Pi.insertBefore(m(cs[vn],!0),_(Z))}}return bl(Z),!0}return Z instanceof l&&!lE(Z)||(ze===\"noscript\"||ze===\"noembed\"||ze===\"noframes\")&&_r(/<\\/no(script|embed|frames)/i,Z.innerHTML)?(bl(Z),!0):(ln&&Z.nodeType===3&&(ke=Z.textContent,ke=xa(ke,R,\" \"),ke=xa(ke,P,\" \"),ke=xa(ke,F,\" \"),Z.textContent!==ke&&(M0(e.removed,{element:Z.cloneNode()}),Z.textContent=ke)),Od(\"afterSanitizeElements\",Z,null),!1)},s5=function(Z,ke,ze){if(Da&&(ke===\"id\"||ke===\"name\")&&(ze in n||ze in hg))return!1;if(!(St&&!Ui[ke]&&_r(V,ke))){if(!(Gi&&_r(U,ke))){if(!ye[ke]||Ui[ke]){if(!(o5(Z)&&(ce.tagNameCheck instanceof RegExp&&_r(ce.tagNameCheck,Z)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(Z))&&(ce.attributeNameCheck instanceof RegExp&&_r(ce.attributeNameCheck,ke)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(ke))||ke===\"is\"&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&_r(ce.tagNameCheck,ze)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(ze))))return!1}else if(!ne[ke]){if(!_r(De,xa(ze,pe,\"\"))){if(!((ke===\"src\"||ke===\"xlink:href\"||ke===\"href\")&&Z!==\"script\"&&dae(ze,\"data:\")===0&&j[Z])){if(!(tn&&!_r(J,xa(ze,pe,\"\")))){if(ze)return!1}}}}}}return!0},o5=function(Z){return Z.indexOf(\"-\")>0},r5=function(Z){let ke,ze,Pi,cs;Od(\"beforeSanitizeAttributes\",Z,null);const{attributes:Zr}=Z;if(!Zr)return;const vn={attrName:\"\",attrValue:\"\",keepAttr:!0,allowedAttributes:ye};for(cs=Zr.length;cs--;){ke=Zr[cs];const{name:Cl,namespaceURI:dE}=ke;if(ze=Cl===\"value\"?ke.value:cae(ke.value),Pi=Mt(Cl),vn.attrName=Pi,vn.attrValue=ze,vn.keepAttr=!0,vn.forceKeepAttr=void 0,Od(\"uponSanitizeAttribute\",Z,vn),ze=vn.attrValue,vn.forceKeepAttr||(I0(Cl,Z),!vn.keepAttr))continue;if(!Pn&&_r(/\\/>/i,ze)){I0(Cl,Z);continue}ln&&(ze=xa(ze,R,\" \"),ze=xa(ze,P,\" \"),ze=xa(ze,F,\" \"));const a5=Mt(Z.nodeName);if(s5(a5,Pi,ze)){if(Z1&&(Pi===\"id\"||Pi===\"name\")&&(I0(Cl,Z),ze=aE+ze),C&&typeof g==\"object\"&&typeof g.getAttributeType==\"function\"&&!dE)switch(g.getAttributeType(a5,Pi)){case\"TrustedHTML\":{ze=C.createHTML(ze);break}case\"TrustedScriptURL\":{ze=C.createScriptURL(ze);break}}try{dE?Z.setAttributeNS(dE,Cl,ze):Z.setAttribute(Cl,ze),u3(e.removed)}catch{}}}Od(\"afterSanitizeAttributes\",Z,null)},NZ=function ct(Z){let ke;const ze=X1(Z);for(Od(\"beforeSanitizeShadowDOM\",Z,null);ke=ze.nextNode();)Od(\"uponSanitizeShadowNode\",ke,null),!n5(ke)&&(ke.content instanceof o&&ct(ke.content),r5(ke));Od(\"afterSanitizeShadowDOM\",Z,null)};return e.sanitize=function(ct){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke,ze,Pi,cs;if(Jt=!ct,Jt&&(ct=\"<!-->\"),typeof ct!=\"string\"&&!Y1(ct))if(typeof ct.toString==\"function\"){if(ct=ct.toString(),typeof ct!=\"string\")throw R0(\"dirty is not a string, aborting\")}else throw R0(\"toString is not a function\");if(!e.isSupported)return ct;if(dn||La(Z),e.removed=[],typeof ct==\"string\"&&(X=!1),X){if(ct.nodeName){const Cl=Mt(ct.nodeName);if(!ge[Cl]||Qt[Cl])throw R0(\"root node is forbidden and cannot be sanitized in-place\")}}else if(ct instanceof a)ke=T0(\"<!---->\"),ze=ke.ownerDocument.importNode(ct,!0),ze.nodeType===1&&ze.nodeName===\"BODY\"||ze.nodeName===\"HTML\"?ke=ze:ke.appendChild(ze);else{if(!Wo&&!ln&&!$e&&ct.indexOf(\"<\")===-1)return C&&xn?C.createHTML(ct):ct;if(ke=T0(ct),!ke)return Wo?null:xn?w:\"\"}ke&&qr&&bl(ke.firstChild);const Zr=X1(X?ct:ke);for(;Pi=Zr.nextNode();)n5(Pi)||(Pi.content instanceof o&&NZ(Pi.content),r5(Pi));if(X)return ct;if(Wo){if(Fd)for(cs=L.call(ke.ownerDocument);ke.firstChild;)cs.appendChild(ke.firstChild);else cs=ke;return(ye.shadowroot||ye.shadowrootmode)&&(cs=I.call(t,cs,!0)),cs}let vn=$e?ke.outerHTML:ke.innerHTML;return $e&&ge[\"!doctype\"]&&ke.ownerDocument&&ke.ownerDocument.doctype&&ke.ownerDocument.doctype.name&&_r(bz,ke.ownerDocument.doctype.name)&&(vn=\"<!DOCTYPE \"+ke.ownerDocument.doctype.name+`>\n`+vn),ln&&(vn=xa(vn,R,\" \"),vn=xa(vn,P,\" \"),vn=xa(vn,F,\" \")),C&&xn?C.createHTML(vn):vn},e.setConfig=function(ct){La(ct),dn=!0},e.clearConfig=function(){cn=null,dn=!1},e.isValidAttribute=function(ct,Z,ke){cn||La({});const ze=Mt(ct),Pi=Mt(Z);return s5(ze,Pi,ke)},e.addHook=function(ct,Z){typeof Z==\"function\"&&(O[ct]=O[ct]||[],M0(O[ct],Z))},e.removeHook=function(ct){if(O[ct])return u3(O[ct])},e.removeHooks=function(ct){O[ct]&&(O[ct]=[])},e.removeAllHooks=function(){O={}},e}var Nd=Cz();Nd.version;Nd.isSupported;const wz=Nd.sanitize;Nd.setConfig;Nd.clearConfig;Nd.isValidAttribute;const sA=Nd.addHook,yz=Nd.removeHook;Nd.removeHooks;Nd.removeAllHooks;var Ge;(function(s){s.inMemory=\"inmemory\",s.vscode=\"vscode\",s.internal=\"private\",s.walkThrough=\"walkThrough\",s.walkThroughSnippet=\"walkThroughSnippet\",s.http=\"http\",s.https=\"https\",s.file=\"file\",s.mailto=\"mailto\",s.untitled=\"untitled\",s.data=\"data\",s.command=\"command\",s.vscodeRemote=\"vscode-remote\",s.vscodeRemoteResource=\"vscode-remote-resource\",s.vscodeManagedRemoteResource=\"vscode-managed-remote-resource\",s.vscodeUserData=\"vscode-userdata\",s.vscodeCustomEditor=\"vscode-custom-editor\",s.vscodeNotebookCell=\"vscode-notebook-cell\",s.vscodeNotebookCellMetadata=\"vscode-notebook-cell-metadata\",s.vscodeNotebookCellOutput=\"vscode-notebook-cell-output\",s.vscodeInteractiveInput=\"vscode-interactive-input\",s.vscodeSettings=\"vscode-settings\",s.vscodeWorkspaceTrust=\"vscode-workspace-trust\",s.vscodeTerminal=\"vscode-terminal\",s.vscodeChatCodeBlock=\"vscode-chat-code-block\",s.vscodeChatCodeCompreBlock=\"vscode-chat-code-compare-block\",s.vscodeChatSesssion=\"vscode-chat-editor\",s.webviewPanel=\"webview-panel\",s.vscodeWebview=\"vscode-webview\",s.extension=\"extension\",s.vscodeFileResource=\"vscode-file\",s.tmp=\"tmp\",s.vsls=\"vsls\",s.vscodeSourceControl=\"vscode-scm\",s.commentsInput=\"comment\",s.codeSetting=\"code-setting\"})(Ge||(Ge={}));function rF(s,e){return Ae.isUri(s)?em(s.scheme,e):YP(s,e+\":\")}function _3(s,...e){return e.some(t=>rF(s,t))}const Sae=\"tkn\";class Dae{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema=\"http\",this._delegate=null,this._serverRootPath=\"/\"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return Yi.join(this._serverRootPath,Ge.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(a){return Xe(a),e}const t=e.authority;let i=this._hosts[t];i&&i.indexOf(\":\")!==-1&&i.indexOf(\"[\")===-1&&(i=`[${i}]`);const n=this._ports[t],o=this._connectionTokens[t];let r=`path=${encodeURIComponent(e.path)}`;return typeof o==\"string\"&&(r+=`&${Sae}=${encodeURIComponent(o)}`),Ae.from({scheme:Jh?this._preferredWebSchema:Ge.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:r})}}const Sz=new Dae,Lae=\"vscode-app\";class Pb{uriToBrowserUri(e){return e.scheme===Ge.vscodeRemote?Sz.rewrite(e):e.scheme===Ge.file&&(md||Wse===`${Ge.vscodeFileResource}://${Pb.FALLBACK_AUTHORITY}`)?e.with({scheme:Ge.vscodeFileResource,authority:e.authority||Pb.FALLBACK_AUTHORITY,query:null,fragment:null}):e}}Pb.FALLBACK_AUTHORITY=Lae;const Dz=new Pb;var v3;(function(s){const e=new Map([[\"1\",{\"Cross-Origin-Opener-Policy\":\"same-origin\"}],[\"2\",{\"Cross-Origin-Embedder-Policy\":\"require-corp\"}],[\"3\",{\"Cross-Origin-Opener-Policy\":\"same-origin\",\"Cross-Origin-Embedder-Policy\":\"require-corp\"}]]);s.CoopAndCoep=Object.freeze(e.get(\"3\"));const t=\"vscode-coi\";function i(o){let r;typeof o==\"string\"?r=new URL(o).searchParams:o instanceof URL?r=o.searchParams:Ae.isUri(o)&&(r=new URL(o.toString(!0)).searchParams);const a=r==null?void 0:r.get(t);if(a)return e.get(a)}s.getHeadersFromQuery=i;function n(o,r,a){if(!globalThis.crossOriginIsolated)return;const l=r&&a?\"3\":a?\"2\":\"1\";o instanceof URLSearchParams?o.set(t,l):o[t]=l}s.addSearchParam=n})(v3||(v3={}));function XL(s){return YL(s,0)}function YL(s,e){switch(typeof s){case\"object\":return s===null?cc(349,e):Array.isArray(s)?kae(s,e):Eae(s,e);case\"string\":return aF(s,e);case\"boolean\":return xae(s,e);case\"number\":return cc(s,e);case\"undefined\":return cc(937,e);default:return cc(617,e)}}function cc(s,e){return(e<<5)-e+s|0}function xae(s,e){return cc(s?433:863,e)}function aF(s,e){e=cc(149417,e);for(let t=0,i=s.length;t<i;t++)e=cc(s.charCodeAt(t),e);return e}function kae(s,e){return e=cc(104579,e),s.reduce((t,i)=>YL(i,t),e)}function Eae(s,e){return e=cc(181387,e),Object.keys(s).sort().reduce((t,i)=>(t=aF(i,t),YL(s[i],t)),e)}function VE(s,e,t=32){const i=t-e,n=~((1<<i)-1);return(s<<e|(n&s)>>>i)>>>0}function b3(s,e=0,t=s.byteLength,i=0){for(let n=0;n<t;n++)s[e+n]=i}function Iae(s,e,t=\"0\"){for(;s.length<e;)s=t+s;return s}function P0(s,e=32){return s instanceof ArrayBuffer?Array.from(new Uint8Array(s)).map(t=>t.toString(16).padStart(2,\"0\")).join(\"\"):Iae((s>>>0).toString(16),e/4)}class QL{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(t===0)return;const i=this._buff;let n=this._buffLen,o=this._leftoverHighSurrogate,r,a;for(o!==0?(r=o,a=-1,o=0):(r=e.charCodeAt(0),a=0);;){let l=r;if(Cn(r))if(a+1<t){const d=e.charCodeAt(a+1);Cf(d)?(a++,l=QP(r,d)):l=65533}else{o=r;break}else Cf(r)&&(l=65533);if(n=this._push(i,n,l),a++,a<t)r=e.charCodeAt(a);else break}this._buffLen=n,this._leftoverHighSurrogate=o}_push(e,t,i){return i<128?e[t++]=i:i<2048?(e[t++]=192|(i&1984)>>>6,e[t++]=128|(i&63)>>>0):i<65536?(e[t++]=224|(i&61440)>>>12,e[t++]=128|(i&4032)>>>6,e[t++]=128|(i&63)>>>0):(e[t++]=240|(i&1835008)>>>18,e[t++]=128|(i&258048)>>>12,e[t++]=128|(i&4032)>>>6,e[t++]=128|(i&63)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),P0(this._h0)+P0(this._h1)+P0(this._h2)+P0(this._h3)+P0(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,b3(this._buff,this._buffLen),this._buffLen>56&&(this._step(),b3(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=QL._bigBlock32,t=this._buffDV;for(let u=0;u<64;u+=4)e.setUint32(u,t.getUint32(u,!1),!1);for(let u=64;u<320;u+=4)e.setUint32(u,VE(e.getUint32(u-12,!1)^e.getUint32(u-32,!1)^e.getUint32(u-56,!1)^e.getUint32(u-64,!1),1),!1);let i=this._h0,n=this._h1,o=this._h2,r=this._h3,a=this._h4,l,d,c;for(let u=0;u<80;u++)u<20?(l=n&o|~n&r,d=1518500249):u<40?(l=n^o^r,d=1859775393):u<60?(l=n&o|n&r|o&r,d=2400959708):(l=n^o^r,d=3395469782),c=VE(i,5)+l+a+d+e.getUint32(u*4,!1)&4294967295,a=r,r=o,o=VE(n,30),n=i,i=c;this._h0=this._h0+i&4294967295,this._h1=this._h1+n&4294967295,this._h2=this._h2+o&4294967295,this._h3=this._h3+r&4294967295,this._h4=this._h4+a&4294967295}}QL._bigBlock32=new DataView(new ArrayBuffer(320));const{getWindow:Te,getWindows:Lz,getWindowsCount:Tae,getWindowId:VS,getWindowById:C3,onDidRegisterWindow:JL,onWillUnregisterWindow:Nae,onDidUnregisterWindow:Aae}=function(){const s=new Map;Sre(Ht,1);const e={window:Ht,disposables:new Y};s.set(Ht.vscodeWindowId,e);const t=new B,i=new B,n=new B;function o(r,a){const l=typeof r==\"number\"?s.get(r):void 0;return l??(a?e:void 0)}return{onDidRegisterWindow:t.event,onWillUnregisterWindow:n.event,onDidUnregisterWindow:i.event,registerWindow(r){if(s.has(r.vscodeWindowId))return H.None;const a=new Y,l={window:r,disposables:a.add(new Y)};return s.set(r.vscodeWindowId,l),a.add(Ie(()=>{s.delete(r.vscodeWindowId),i.fire(r)})),a.add(K(r,ee.BEFORE_UNLOAD,()=>{n.fire(r)})),t.fire(l),a},getWindows(){return s.values()},getWindowsCount(){return s.size},getWindowId(r){return r.vscodeWindowId},hasWindow(r){return s.has(r)},getWindowById:o,getWindow(r){var a;const l=r;if(!((a=l==null?void 0:l.ownerDocument)===null||a===void 0)&&a.defaultView)return l.ownerDocument.defaultView.window;const d=r;return d!=null&&d.view?d.view.window:Ht},getDocument(r){return Te(r).document}}}();function zn(s){for(;s.firstChild;)s.firstChild.remove()}class Mae{constructor(e,t,i,n){this._node=e,this._type=t,this._handler=i,this._options=n||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function K(s,e,t,i){return new Mae(s,e,t,i)}function xz(s,e){return function(t){return e(new ra(s,t))}}function Rae(s){return function(e){return s(new Kt(e))}}const Ni=function(e,t,i,n){let o=i;return t===\"click\"||t===\"mousedown\"?o=xz(Te(e),i):(t===\"keydown\"||t===\"keypress\"||t===\"keyup\")&&(o=Rae(i)),K(e,t,o,n)},Pae=function(e,t,i){const n=xz(Te(e),t);return Fae(e,n,i)};function Fae(s,e,t){return K(s,_d&&nF.pointerEvents?ee.POINTER_DOWN:ee.MOUSE_DOWN,e,t)}function uv(s,e,t){return Vv(s,e,t)}class zE extends mz{constructor(e,t){super(e,t)}}let zS,Ao;class lF extends oF{constructor(e){super(),this.defaultTarget=e&&Te(e)}cancelAndSet(e,t,i){return super.cancelAndSet(e,t,i??this.defaultTarget)}}class UE{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){Xe(e)}}static sort(e,t){return t.priority-e.priority}}(function(){const s=new Map,e=new Map,t=new Map,i=new Map,n=o=>{var r;t.set(o,!1);const a=(r=s.get(o))!==null&&r!==void 0?r:[];for(e.set(o,a),s.set(o,[]),i.set(o,!0);a.length>0;)a.sort(UE.sort),a.shift().execute();i.set(o,!1)};Ao=(o,r,a=0)=>{const l=VS(o),d=new UE(r,a);let c=s.get(l);return c||(c=[],s.set(l,c)),c.push(d),t.get(l)||(t.set(l,!0),o.requestAnimationFrame(()=>n(l))),d},zS=(o,r,a)=>{const l=VS(o);if(i.get(l)){const d=new UE(r,a);let c=e.get(l);return c||(c=[],e.set(l,c)),c.push(d),d}else return Ao(o,r,a)}})();function ex(s){return Te(s).getComputedStyle(s,null)}function Eh(s,e){const t=Te(s),i=t.document;if(s!==i.body)return new Dt(s.clientWidth,s.clientHeight);if(_d&&(t!=null&&t.visualViewport))return new Dt(t.visualViewport.width,t.visualViewport.height);if(t!=null&&t.innerWidth&&t.innerHeight)return new Dt(t.innerWidth,t.innerHeight);if(i.body&&i.body.clientWidth&&i.body.clientHeight)return new Dt(i.body.clientWidth,i.body.clientHeight);if(i.documentElement&&i.documentElement.clientWidth&&i.documentElement.clientHeight)return new Dt(i.documentElement.clientWidth,i.documentElement.clientHeight);throw new Error(\"Unable to figure out browser width and height\")}class Oi{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){const n=ex(e),o=n?n.getPropertyValue(t):\"0\";return Oi.convertToPixels(e,o)}static getBorderLeftWidth(e){return Oi.getDimension(e,\"border-left-width\",\"borderLeftWidth\")}static getBorderRightWidth(e){return Oi.getDimension(e,\"border-right-width\",\"borderRightWidth\")}static getBorderTopWidth(e){return Oi.getDimension(e,\"border-top-width\",\"borderTopWidth\")}static getBorderBottomWidth(e){return Oi.getDimension(e,\"border-bottom-width\",\"borderBottomWidth\")}static getPaddingLeft(e){return Oi.getDimension(e,\"padding-left\",\"paddingLeft\")}static getPaddingRight(e){return Oi.getDimension(e,\"padding-right\",\"paddingRight\")}static getPaddingTop(e){return Oi.getDimension(e,\"padding-top\",\"paddingTop\")}static getPaddingBottom(e){return Oi.getDimension(e,\"padding-bottom\",\"paddingBottom\")}static getMarginLeft(e){return Oi.getDimension(e,\"margin-left\",\"marginLeft\")}static getMarginTop(e){return Oi.getDimension(e,\"margin-top\",\"marginTop\")}static getMarginRight(e){return Oi.getDimension(e,\"margin-right\",\"marginRight\")}static getMarginBottom(e){return Oi.getDimension(e,\"margin-bottom\",\"marginBottom\")}}class Dt{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new Dt(e,t):this}static is(e){return typeof e==\"object\"&&typeof e.height==\"number\"&&typeof e.width==\"number\"}static lift(e){return e instanceof Dt?e:new Dt(e.width,e.height)}static equals(e,t){return e===t?!0:!e||!t?!1:e.width===t.width&&e.height===t.height}}Dt.None=new Dt(0,0);function kz(s){let e=s.offsetParent,t=s.offsetTop,i=s.offsetLeft;for(;(s=s.parentNode)!==null&&s!==s.ownerDocument.body&&s!==s.ownerDocument.documentElement;){t-=s.scrollTop;const n=Iz(s)?null:ex(s);n&&(i-=n.direction!==\"rtl\"?s.scrollLeft:-s.scrollLeft),s===e&&(i+=Oi.getBorderLeftWidth(s),t+=Oi.getBorderTopWidth(s),t+=s.offsetTop,i+=s.offsetLeft,e=s.offsetParent)}return{left:i,top:t}}function Oae(s,e,t){typeof e==\"number\"&&(s.style.width=`${e}px`),typeof t==\"number\"&&(s.style.height=`${t}px`)}function qi(s){const e=s.getBoundingClientRect(),t=Te(s);return{left:e.left+t.scrollX,top:e.top+t.scrollY,width:e.width,height:e.height}}function Ez(s){let e=s,t=1;do{const i=ex(e).zoom;i!=null&&i!==\"1\"&&(t*=i),e=e.parentElement}while(e!==null&&e!==e.ownerDocument.documentElement);return t}function wo(s){const e=Oi.getMarginLeft(s)+Oi.getMarginRight(s);return s.offsetWidth+e}function $E(s){const e=Oi.getBorderLeftWidth(s)+Oi.getBorderRightWidth(s),t=Oi.getPaddingLeft(s)+Oi.getPaddingRight(s);return s.offsetWidth-e-t}function Bae(s){const e=Oi.getBorderTopWidth(s)+Oi.getBorderBottomWidth(s),t=Oi.getPaddingTop(s)+Oi.getPaddingBottom(s);return s.offsetHeight-e-t}function uc(s){const e=Oi.getMarginTop(s)+Oi.getMarginBottom(s);return s.offsetHeight+e}function An(s,e){return!!(e!=null&&e.contains(s))}function Wae(s,e,t){for(;s&&s.nodeType===s.ELEMENT_NODE;){if(s.classList.contains(e))return s;if(t){if(typeof t==\"string\"){if(s.classList.contains(t))return null}else if(s===t)return null}s=s.parentNode}return null}function jE(s,e,t){return!!Wae(s,e,t)}function Iz(s){return s&&!!s.host&&!!s.mode}function US(s){return!!Sf(s)}function Sf(s){for(var e;s.parentNode;){if(s===((e=s.ownerDocument)===null||e===void 0?void 0:e.body))return null;s=s.parentNode}return Iz(s)?s:null}function Xn(){let s=o0().activeElement;for(;s!=null&&s.shadowRoot;)s=s.shadowRoot.activeElement;return s}function tx(s){return Xn()===s}function Tz(s){return An(Xn(),s)}function o0(){var s;return Tae()<=1?Ht.document:(s=Array.from(Lz()).map(({window:t})=>t.document).find(t=>t.hasFocus()))!==null&&s!==void 0?s:Ht.document}function Hae(){var s,e;return(e=(s=o0().defaultView)===null||s===void 0?void 0:s.window)!==null&&e!==void 0?e:Ht}const dF=new Map;function Nz(){return new Vae}class Vae{constructor(){this._currentCssStyle=\"\",this._styleSheet=void 0}setStyle(e){e!==this._currentCssStyle&&(this._currentCssStyle=e,this._styleSheet?this._styleSheet.innerText=e:this._styleSheet=ar(Ht.document.head,t=>t.innerText=e))}dispose(){this._styleSheet&&(this._styleSheet.remove(),this._styleSheet=void 0)}}function ar(s=Ht.document.head,e,t){const i=document.createElement(\"style\");if(i.type=\"text/css\",i.media=\"screen\",e==null||e(i),s.appendChild(i),t&&t.add(Ie(()=>s.removeChild(i))),s===Ht.document.head){const n=new Set;dF.set(i,n);for(const{window:o,disposables:r}of Lz()){if(o===Ht)continue;const a=r.add(zae(i,n,o));t==null||t.add(a)}}return i}function zae(s,e,t){var i,n;const o=new Y,r=s.cloneNode(!0);t.document.head.appendChild(r),o.add(Ie(()=>t.document.head.removeChild(r)));for(const a of Mz(s))(i=r.sheet)===null||i===void 0||i.insertRule(a.cssText,(n=r.sheet)===null||n===void 0?void 0:n.cssRules.length);return o.add(Uae.observe(s,o,{childList:!0})(()=>{r.textContent=s.textContent})),e.add(r),o.add(Ie(()=>e.delete(r))),o}const Uae=new class{constructor(){this.mutationObservers=new Map}observe(s,e,t){let i=this.mutationObservers.get(s);i||(i=new Map,this.mutationObservers.set(s,i));const n=XL(t);let o=i.get(n);if(o)o.users+=1;else{const r=new B,a=new MutationObserver(d=>r.fire(d));a.observe(s,t);const l=o={users:1,observer:a,onDidMutate:r.event};e.add(Ie(()=>{l.users-=1,l.users===0&&(r.dispose(),a.disconnect(),i==null||i.delete(n),(i==null?void 0:i.size)===0&&this.mutationObservers.delete(s))})),i.set(n,o)}return o.onDidMutate}};let KE=null;function Az(){return KE||(KE=ar()),KE}function Mz(s){var e,t;return!((e=s==null?void 0:s.sheet)===null||e===void 0)&&e.rules?s.sheet.rules:!((t=s==null?void 0:s.sheet)===null||t===void 0)&&t.cssRules?s.sheet.cssRules:[]}function $S(s,e,t=Az()){var i,n;if(!(!t||!e)){(i=t.sheet)===null||i===void 0||i.insertRule(`${s} {${e}}`,0);for(const o of(n=dF.get(t))!==null&&n!==void 0?n:[])$S(s,e,o)}}function oA(s,e=Az()){var t,i;if(!e)return;const n=Mz(e),o=[];for(let r=0;r<n.length;r++){const a=n[r];$ae(a)&&a.selectorText.indexOf(s)!==-1&&o.push(r)}for(let r=o.length-1;r>=0;r--)(t=e.sheet)===null||t===void 0||t.deleteRule(o[r]);for(const r of(i=dF.get(e))!==null&&i!==void 0?i:[])oA(s,r)}function $ae(s){return typeof s.selectorText==\"string\"}function cF(s){return s instanceof MouseEvent||s instanceof Te(s).MouseEvent}function Iu(s){return s instanceof KeyboardEvent||s instanceof Te(s).KeyboardEvent}const ee={CLICK:\"click\",AUXCLICK:\"auxclick\",DBLCLICK:\"dblclick\",MOUSE_UP:\"mouseup\",MOUSE_DOWN:\"mousedown\",MOUSE_OVER:\"mouseover\",MOUSE_MOVE:\"mousemove\",MOUSE_OUT:\"mouseout\",MOUSE_ENTER:\"mouseenter\",MOUSE_LEAVE:\"mouseleave\",MOUSE_WHEEL:\"wheel\",POINTER_UP:\"pointerup\",POINTER_DOWN:\"pointerdown\",POINTER_MOVE:\"pointermove\",POINTER_LEAVE:\"pointerleave\",CONTEXT_MENU:\"contextmenu\",KEY_DOWN:\"keydown\",KEY_UP:\"keyup\",BEFORE_UNLOAD:\"beforeunload\",CHANGE:\"change\",FOCUS:\"focus\",FOCUS_IN:\"focusin\",FOCUS_OUT:\"focusout\",BLUR:\"blur\",INPUT:\"input\",DRAG_START:\"dragstart\",DRAG:\"drag\",DRAG_ENTER:\"dragenter\",DRAG_LEAVE:\"dragleave\",DRAG_OVER:\"dragover\",DROP:\"drop\",DRAG_END:\"dragend\"};function jae(s){const e=s;return!!(e&&typeof e.preventDefault==\"function\"&&typeof e.stopPropagation==\"function\")}const nt={stop:(s,e)=>(s.preventDefault(),e&&s.stopPropagation(),s)};function Kae(s){const e=[];for(let t=0;s&&s.nodeType===s.ELEMENT_NODE;t++)e[t]=s.scrollTop,s=s.parentNode;return e}function qae(s,e){for(let t=0;s&&s.nodeType===s.ELEMENT_NODE;t++)s.scrollTop!==e[t]&&(s.scrollTop=e[t]),s=s.parentNode}class jS extends H{static hasFocusWithin(e){if(e instanceof HTMLElement){const t=Sf(e),i=t?t.activeElement:e.ownerDocument.activeElement;return An(i,e)}else{const t=e;return An(t.document.activeElement,t.document)}}constructor(e){super(),this._onDidFocus=this._register(new B),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new B),this.onDidBlur=this._onDidBlur.event;let t=jS.hasFocusWithin(e),i=!1;const n=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(i=!0,(e instanceof HTMLElement?Te(e):e).setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{jS.hasFocusWithin(e)!==t&&(t?o():n())},this._register(K(e,ee.FOCUS,n,!0)),this._register(K(e,ee.BLUR,o,!0)),e instanceof HTMLElement&&(this._register(K(e,ee.FOCUS_IN,()=>this._refreshStateHandler())),this._register(K(e,ee.FOCUS_OUT,()=>this._refreshStateHandler())))}}function ba(s){return new jS(s)}function Gae(s,e){return s.after(e),e}function Q(s,...e){if(s.append(...e),e.length===1&&typeof e[0]!=\"string\")return e[0]}function uF(s,e){return s.insertBefore(e,s.firstChild),e}function Yn(s,...e){s.innerText=\"\",Q(s,...e)}const Zae=/([\\w\\-]+)?(#([\\w\\-]+))?((\\.([\\w\\-]+))*)/;var Fb;(function(s){s.HTML=\"http://www.w3.org/1999/xhtml\",s.SVG=\"http://www.w3.org/2000/svg\"})(Fb||(Fb={}));function Rz(s,e,t,...i){const n=Zae.exec(e);if(!n)throw new Error(\"Bad use of emmet\");const o=n[1]||\"div\";let r;return s!==Fb.HTML?r=document.createElementNS(s,o):r=document.createElement(o),n[3]&&(r.id=n[3]),n[4]&&(r.className=n[4].replace(/\\./g,\" \").trim()),t&&Object.entries(t).forEach(([a,l])=>{typeof l>\"u\"||(/^on\\w+$/.test(a)?r[a]=l:a===\"selected\"?l&&r.setAttribute(a,\"true\"):r.setAttribute(a,l))}),r.append(...i),r}function he(s,e,...t){return Rz(Fb.HTML,s,e,...t)}he.SVG=function(s,e,...t){return Rz(Fb.SVG,s,e,...t)};function Xae(s,...e){s?Do(...e):Es(...e)}function Do(...s){for(const e of s)e.style.display=\"\",e.removeAttribute(\"aria-hidden\")}function Es(...s){for(const e of s)e.style.display=\"none\",e.setAttribute(\"aria-hidden\",\"true\")}function w3(s,e){const t=s.devicePixelRatio*e;return Math.max(1,Math.floor(t))/s.devicePixelRatio}function Pz(s){Ht.open(s,\"_blank\",\"noopener\")}function Yae(s,e){const t=()=>{e(),i=Ao(s,t)};let i=Ao(s,t);return Ie(()=>i.dispose())}Sz.setPreferredWebSchema(/^https:/.test(Ht.location.href)?\"https\":\"http\");function Ih(s){return s?`url('${Dz.uriToBrowserUri(s).toString(!0).replace(/'/g,\"%27\")}')`:\"url('')\"}function qE(s){return`'${s.replace(/'/g,\"%27\")}'`}function Ec(s,e){if(s!==void 0){const t=s.match(/^\\s*var\\((.+)\\)$/);if(t){const i=t[1].split(\",\",2);return i.length===2&&(e=Ec(i[1].trim(),e)),`var(${i[0]}, ${e})`}return s}return e}function Qae(s,e=!1){const t=document.createElement(\"a\");return sA(\"afterSanitizeAttributes\",i=>{for(const n of[\"href\",\"src\"])if(i.hasAttribute(n)){const o=i.getAttribute(n);if(n===\"href\"&&o.startsWith(\"#\"))continue;if(t.href=o,!s.includes(t.protocol.replace(/:$/,\"\"))){if(e&&n===\"src\"&&t.href.startsWith(\"data:\"))continue;i.removeAttribute(n)}}}),Ie(()=>{yz(\"afterSanitizeAttributes\")})}const Jae=Object.freeze([\"a\",\"abbr\",\"b\",\"bdo\",\"blockquote\",\"br\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"dd\",\"del\",\"details\",\"dfn\",\"div\",\"dl\",\"dt\",\"em\",\"figcaption\",\"figure\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"hr\",\"i\",\"img\",\"input\",\"ins\",\"kbd\",\"label\",\"li\",\"mark\",\"ol\",\"p\",\"pre\",\"q\",\"rp\",\"rt\",\"ruby\",\"samp\",\"small\",\"small\",\"source\",\"span\",\"strike\",\"strong\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"tt\",\"u\",\"ul\",\"var\",\"video\",\"wbr\"]);class hc extends B{constructor(){super(),this._subscriptions=new Y,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(le.runAndSubscribe(JL,({window:e,disposables:t})=>this.registerListeners(e,t),{window:Ht,disposables:this._subscriptions}))}registerListeners(e,t){t.add(K(e,\"keydown\",i=>{if(i.defaultPrevented)return;const n=new Kt(i);if(!(n.keyCode===6&&i.repeat)){if(i.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed=\"alt\";else if(i.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed=\"ctrl\";else if(i.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed=\"meta\";else if(i.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed=\"shift\";else if(n.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=i.altKey,this._keyStatus.ctrlKey=i.ctrlKey,this._keyStatus.metaKey=i.metaKey,this._keyStatus.shiftKey=i.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=i,this.fire(this._keyStatus))}},!0)),t.add(K(e,\"keyup\",i=>{i.defaultPrevented||(!i.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased=\"alt\":!i.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased=\"ctrl\":!i.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased=\"meta\":!i.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased=\"shift\":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=i.altKey,this._keyStatus.ctrlKey=i.ctrlKey,this._keyStatus.metaKey=i.metaKey,this._keyStatus.shiftKey=i.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=i,this.fire(this._keyStatus)))},!0)),t.add(K(e.document.body,\"mousedown\",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(K(e.document.body,\"mouseup\",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(K(e.document.body,\"mousemove\",i=>{i.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),t.add(K(e,\"blur\",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return hc.instance||(hc.instance=new hc),hc.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class ele extends H{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this.callbacks.onDragStart&&this._register(K(this.element,ee.DRAG_START,e=>{var t,i;(i=(t=this.callbacks).onDragStart)===null||i===void 0||i.call(t,e)})),this.callbacks.onDrag&&this._register(K(this.element,ee.DRAG,e=>{var t,i;(i=(t=this.callbacks).onDrag)===null||i===void 0||i.call(t,e)})),this._register(K(this.element,ee.DRAG_ENTER,e=>{var t,i;this.counter++,this.dragStartTime=e.timeStamp,(i=(t=this.callbacks).onDragEnter)===null||i===void 0||i.call(t,e)})),this._register(K(this.element,ee.DRAG_OVER,e=>{var t,i;e.preventDefault(),(i=(t=this.callbacks).onDragOver)===null||i===void 0||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(K(this.element,ee.DRAG_LEAVE,e=>{var t,i;this.counter--,this.counter===0&&(this.dragStartTime=0,(i=(t=this.callbacks).onDragLeave)===null||i===void 0||i.call(t,e))})),this._register(K(this.element,ee.DRAG_END,e=>{var t,i;this.counter=0,this.dragStartTime=0,(i=(t=this.callbacks).onDragEnd)===null||i===void 0||i.call(t,e)})),this._register(K(this.element,ee.DROP,e=>{var t,i;this.counter=0,this.dragStartTime=0,(i=(t=this.callbacks).onDrop)===null||i===void 0||i.call(t,e)}))}}const tle=/(?<tag>[\\w\\-]+)?(?:#(?<id>[\\w\\-]+))?(?<class>(?:\\.(?:[\\w\\-]+))*)(?:@(?<name>(?:[\\w\\_])+))?/;function Nt(s,...e){let t,i;Array.isArray(e[0])?(t={},i=e[0]):(t=e[0]||{},i=e[1]);const n=tle.exec(s);if(!n||!n.groups)throw new Error(\"Bad use of h\");const o=n.groups.tag||\"div\",r=document.createElement(o);n.groups.id&&(r.id=n.groups.id);const a=[];if(n.groups.class)for(const d of n.groups.class.split(\".\"))d!==\"\"&&a.push(d);if(t.className!==void 0)for(const d of t.className.split(\".\"))d!==\"\"&&a.push(d);a.length>0&&(r.className=a.join(\" \"));const l={};if(n.groups.name&&(l[n.groups.name]=r),i)for(const d of i)d instanceof HTMLElement?r.appendChild(d):typeof d==\"string\"?r.append(d):\"root\"in d&&(Object.assign(l,d),r.appendChild(d.root));for(const[d,c]of Object.entries(t))if(d!==\"className\")if(d===\"style\")for(const[u,h]of Object.entries(c))r.style.setProperty(y3(u),typeof h==\"number\"?h+\"px\":\"\"+h);else d===\"tabIndex\"?r.tabIndex=c:r.setAttribute(y3(d),c.toString());return l.root=r,l}function y3(s){return s.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase()}class ile extends H{constructor(e){super(),this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(e,!0),this._mediaQueryList=null,this._handleChange(e,!1)}_handleChange(e,t){var i;(i=this._mediaQueryList)===null||i===void 0||i.removeEventListener(\"change\",this._listener),this._mediaQueryList=e.matchMedia(`(resolution: ${e.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener(\"change\",this._listener),t&&this._onDidChange.fire()}}class nle extends H{get value(){return this._value}constructor(e){super(),this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio(e);const t=this._register(new ile(e));this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(e),this._onDidChange.fire(this._value)}))}_getPixelRatio(e){const t=document.createElement(\"canvas\").getContext(\"2d\"),i=e.devicePixelRatio||1,n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return i/n}}class sle{constructor(){this.mapWindowIdToPixelRatioMonitor=new Map}_getOrCreatePixelRatioMonitor(e){const t=VS(e);let i=this.mapWindowIdToPixelRatioMonitor.get(t);return i||(i=new nle(e),this.mapWindowIdToPixelRatioMonitor.set(t,i),le.once(Aae)(({vscodeWindowId:n})=>{n===t&&(i==null||i.dispose(),this.mapWindowIdToPixelRatioMonitor.delete(t))})),i}getInstance(e){return this._getOrCreatePixelRatioMonitor(e)}}const Ob=new sle;class Fz{constructor(e){this.domNode=e,this._maxWidth=\"\",this._width=\"\",this._height=\"\",this._top=\"\",this._left=\"\",this._bottom=\"\",this._right=\"\",this._paddingLeft=\"\",this._fontFamily=\"\",this._fontWeight=\"\",this._fontSize=\"\",this._fontStyle=\"\",this._fontFeatureSettings=\"\",this._fontVariationSettings=\"\",this._textDecoration=\"\",this._lineHeight=\"\",this._letterSpacing=\"\",this._className=\"\",this._display=\"\",this._position=\"\",this._visibility=\"\",this._color=\"\",this._backgroundColor=\"\",this._layerHint=!1,this._contain=\"none\",this._boxShadow=\"\"}setMaxWidth(e){const t=ka(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){const t=ka(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){const t=ka(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){const t=ka(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){const t=ka(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){const t=ka(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){const t=ka(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setPaddingLeft(e){const t=ka(e);this._paddingLeft!==t&&(this._paddingLeft=t,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){const t=ka(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){const t=ka(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){const t=ka(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?\"translate3d(0px, 0px, 0px)\":\"\")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function ka(s){return typeof s==\"number\"?`${s}px`:s}function It(s){return new Fz(s)}function Un(s,e){s instanceof Fz?(s.setFontFamily(e.getMassagedFontFamily()),s.setFontWeight(e.fontWeight),s.setFontSize(e.fontSize),s.setFontFeatureSettings(e.fontFeatureSettings),s.setFontVariationSettings(e.fontVariationSettings),s.setLineHeight(e.lineHeight),s.setLetterSpacing(e.letterSpacing)):(s.style.fontFamily=e.getMassagedFontFamily(),s.style.fontWeight=e.fontWeight,s.style.fontSize=e.fontSize+\"px\",s.style.fontFeatureSettings=e.fontFeatureSettings,s.style.fontVariationSettings=e.fontVariationSettings,s.style.lineHeight=e.lineHeight+\"px\",s.style.letterSpacing=e.letterSpacing+\"px\")}class ole{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class hF{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(e){this._createDomElements(),e.document.body.appendChild(this._container),this._readFromDomElements(),e.document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement(\"div\");e.style.position=\"absolute\",e.style.top=\"-50000px\",e.style.width=\"50000px\";const t=document.createElement(\"div\");Un(t,this._bareFontInfo),e.appendChild(t);const i=document.createElement(\"div\");Un(i,this._bareFontInfo),i.style.fontWeight=\"bold\",e.appendChild(i);const n=document.createElement(\"div\");Un(n,this._bareFontInfo),n.style.fontStyle=\"italic\",e.appendChild(n);const o=[];for(const r of this._requests){let a;r.type===0&&(a=t),r.type===2&&(a=i),r.type===1&&(a=n),a.appendChild(document.createElement(\"br\"));const l=document.createElement(\"span\");hF._render(l,r),a.appendChild(l),o.push(l)}this._container=e,this._testElements=o}static _render(e,t){if(t.chr===\" \"){let i=\" \";for(let n=0;n<8;n++)i+=i;e.innerText=i}else{let i=t.chr;for(let n=0;n<8;n++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;e<t;e++){const i=this._requests[e],n=this._testElements[e];i.fulfill(n.offsetWidth/256)}}}function rle(s,e,t){new hF(e,t).read(s)}const Sr=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new B,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(s){s=Math.min(Math.max(-5,s),20),this._zoomLevel!==s&&(this._zoomLevel=s,this._onDidChangeZoomLevel.fire(this._zoomLevel))}},ale=lt?1.5:1.35,GE=8;class rf{static createFromValidatedSettings(e,t,i){const n=e.get(49),o=e.get(53),r=e.get(52),a=e.get(51),l=e.get(54),d=e.get(67),c=e.get(64);return rf._create(n,o,r,a,l,d,c,t,i)}static _create(e,t,i,n,o,r,a,l,d){r===0?r=ale*i:r<GE&&(r=r*i),r=Math.round(r),r<GE&&(r=GE);const c=1+(d?0:Sr.getZoomLevel()*.1);return i*=c,r*=c,o===$a.TRANSLATE&&(t===\"normal\"||t===\"bold\"?o=$a.OFF:(o=`'wght' ${parseInt(t,10)}`,t=\"normal\")),new rf({pixelRatio:l,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:n,fontVariationSettings:o,lineHeight:r,letterSpacing:a})}constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.fontVariationSettings=e.fontVariationSettings,this.lineHeight=e.lineHeight|0,this.letterSpacing=e.letterSpacing}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.fontVariationSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){const e=co.fontFamily,t=rf._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,\"']/.test(e)?e:/[+ ]/.test(e)?`\"${e}\"`:e}}const lle=2;class rA extends rf{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=lle,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.fontVariationSettings===e.fontVariationSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}class dle extends H{constructor(){super(...arguments),this._cache=new Map,this._evictUntrustedReadingsTimeout=-1,this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event}dispose(){this._evictUntrustedReadingsTimeout!==-1&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearAllFontInfos(){this._cache.clear(),this._onDidChange.fire()}_ensureCache(e){const t=VS(e);let i=this._cache.get(t);return i||(i=new cle,this._cache.set(t,i)),i}_writeToCache(e,t,i){this._ensureCache(e).put(t,i),!i.isTrusted&&this._evictUntrustedReadingsTimeout===-1&&(this._evictUntrustedReadingsTimeout=e.setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings(e)},5e3))}_evictUntrustedReadings(e){const t=this._ensureCache(e),i=t.getValues();let n=!1;for(const o of i)o.isTrusted||(n=!0,t.remove(o));n&&this._onDidChange.fire()}readFontInfo(e,t){const i=this._ensureCache(e);if(!i.has(t)){let n=this._actualReadFontInfo(e,t);(n.typicalHalfwidthCharacterWidth<=2||n.typicalFullwidthCharacterWidth<=2||n.spaceWidth<=2||n.maxDigitWidth<=2)&&(n=new rA({pixelRatio:Ob.getInstance(e).value,fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,fontFeatureSettings:n.fontFeatureSettings,fontVariationSettings:n.fontVariationSettings,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,isMonospace:n.isMonospace,typicalHalfwidthCharacterWidth:Math.max(n.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(n.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:n.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(n.spaceWidth,5),middotWidth:Math.max(n.middotWidth,5),wsmiddotWidth:Math.max(n.wsmiddotWidth,5),maxDigitWidth:Math.max(n.maxDigitWidth,5)},!1)),this._writeToCache(e,t,n)}return i.get(t)}_createRequest(e,t,i,n){const o=new ole(e,t);return i.push(o),n==null||n.push(o),o}_actualReadFontInfo(e,t){const i=[],n=[],o=this._createRequest(\"n\",0,i,n),r=this._createRequest(\"ｍ\",0,i,null),a=this._createRequest(\" \",0,i,n),l=this._createRequest(\"0\",0,i,n),d=this._createRequest(\"1\",0,i,n),c=this._createRequest(\"2\",0,i,n),u=this._createRequest(\"3\",0,i,n),h=this._createRequest(\"4\",0,i,n),g=this._createRequest(\"5\",0,i,n),f=this._createRequest(\"6\",0,i,n),m=this._createRequest(\"7\",0,i,n),_=this._createRequest(\"8\",0,i,n),v=this._createRequest(\"9\",0,i,n),b=this._createRequest(\"→\",0,i,n),C=this._createRequest(\"￫\",0,i,null),w=this._createRequest(\"·\",0,i,n),y=this._createRequest(\"⸱\",0,i,null),D=\"|/-_ilm%\";for(let R=0,P=D.length;R<P;R++)this._createRequest(D.charAt(R),0,i,n),this._createRequest(D.charAt(R),1,i,n),this._createRequest(D.charAt(R),2,i,n);rle(e,t,i);const L=Math.max(l.width,d.width,c.width,u.width,h.width,g.width,f.width,m.width,_.width,v.width);let k=t.fontFeatureSettings===Zo.OFF;const I=n[0].width;for(let R=1,P=n.length;k&&R<P;R++){const F=I-n[R].width;if(F<-.001||F>.001){k=!1;break}}let O=!0;return k&&C.width!==I&&(O=!1),C.width>b.width&&(O=!1),new rA({pixelRatio:Ob.getInstance(e).value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,fontVariationSettings:t.fontVariationSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:k,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:O,spaceWidth:a.width,middotWidth:w.width,wsmiddotWidth:y.width,maxDigitWidth:L},!0)}}class cle{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){const t=e.getId();return!!this._values[t]}get(e){const t=e.getId();return this._values[t]}put(e,t){const i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){const t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}const aA=new dle;var qa;(function(s){s.serviceIds=new Map,s.DI_TARGET=\"$di$target\",s.DI_DEPENDENCIES=\"$di$dependencies\";function e(t){return t[s.DI_DEPENDENCIES]||[]}s.getServiceDependencies=e})(qa||(qa={}));const Ne=ut(\"instantiationService\");function ule(s,e,t){e[qa.DI_TARGET]===e?e[qa.DI_DEPENDENCIES].push({id:s,index:t}):(e[qa.DI_DEPENDENCIES]=[{id:s,index:t}],e[qa.DI_TARGET]=e)}function ut(s){if(qa.serviceIds.has(s))return qa.serviceIds.get(s);const e=function(t,i,n){if(arguments.length!==3)throw new Error(\"@IServiceName-decorator can only be used to decorate a parameter\");ule(e,t,n)};return e.toString=()=>s,qa.serviceIds.set(s,e),e}const xt=ut(\"codeEditorService\"),_i=ut(\"modelService\"),mo=ut(\"textModelService\");class Eo extends H{constructor(e,t=\"\",i=\"\",n=!0,o){super(),this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=n,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||\"\"}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}async run(e,t){this._actionCallback&&await this._actionCallback(e)}}class Df extends H{constructor(){super(...arguments),this._onWillRun=this._register(new B),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new B),this.onDidRun=this._onDidRun.event}async run(e,t){if(!e.enabled)return;this._onWillRun.fire({action:e});let i;try{await this.runAction(e,t)}catch(n){i=n}this._onDidRun.fire({action:e,error:i})}async runAction(e,t){await e.run(t)}}class rn{constructor(){this.id=rn.ID,this.label=\"\",this.tooltip=\"\",this.class=\"separator\",this.enabled=!1,this.checked=!1}static join(...e){let t=[];for(const i of e)i.length&&(t.length?t=[...t,new rn,...i]:t=i);return t}async run(){}}rn.ID=\"vs.actions.separator\";class c_{get actions(){return this._actions}constructor(e,t,i,n){this.tooltip=\"\",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=n,this._actions=i}async run(){}}class ix extends Eo{constructor(){super(ix.ID,p(\"submenu.empty\",\"(empty)\"),void 0,!1)}}ix.ID=\"vs.actions.empty\";function af(s){var e;return{id:s.id,label:s.label,class:s.class,enabled:(e=s.enabled)!==null&&e!==void 0?e:!0,checked:s.checked,run:async(...t)=>s.run(...t),tooltip:s.label}}var lA;(function(s){function e(t){return t&&typeof t==\"object\"&&typeof t.id==\"string\"}s.isThemeColor=e})(lA||(lA={}));var Pe;(function(s){s.iconNameSegment=\"[A-Za-z0-9]+\",s.iconNameExpression=\"[A-Za-z0-9-]+\",s.iconModifierExpression=\"~[A-Za-z]+\",s.iconNameCharacter=\"[A-Za-z0-9~-]\";const e=new RegExp(`^(${s.iconNameExpression})(${s.iconModifierExpression})?$`);function t(h){const g=e.exec(h.id);if(!g)return t(oe.error);const[,f,m]=g,_=[\"codicon\",\"codicon-\"+f];return m&&_.push(\"codicon-modifier-\"+m.substring(1)),_}s.asClassNameArray=t;function i(h){return t(h).join(\" \")}s.asClassName=i;function n(h){return\".\"+t(h).join(\".\")}s.asCSSSelector=n;function o(h){return h&&typeof h==\"object\"&&typeof h.id==\"string\"&&(typeof h.color>\"u\"||lA.isThemeColor(h.color))}s.isThemeIcon=o;const r=new RegExp(`^\\\\$\\\\((${s.iconNameExpression}(?:${s.iconModifierExpression})?)\\\\)$`);function a(h){const g=r.exec(h);if(!g)return;const[,f]=g;return{id:f}}s.fromString=a;function l(h){return{id:h}}s.fromId=l;function d(h,g){let f=h.id;const m=f.lastIndexOf(\"~\");return m!==-1&&(f=f.substring(0,m)),g&&(f=`${f}~${g}`),{id:f}}s.modify=d;function c(h){const g=h.id.lastIndexOf(\"~\");if(g!==-1)return h.id.substring(g+1)}s.getModifier=c;function u(h,g){var f,m;return h.id===g.id&&((f=h.color)===null||f===void 0?void 0:f.id)===((m=g.color)===null||m===void 0?void 0:m.id)}s.isEqual=u})(Pe||(Pe={}));const gi=ut(\"commandService\"),pt=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new B,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(s,e){if(!s)throw new Error(\"invalid command\");if(typeof s==\"string\"){if(!e)throw new Error(\"invalid command\");return this.registerCommand({id:s,handler:e})}if(s.metadata&&Array.isArray(s.metadata.args)){const r=[];for(const l of s.metadata.args)r.push(l.constraint);const a=s.handler;s.handler=function(l,...d){return Ise(d,r),a(l,...d)}}const{id:t}=s;let i=this._commands.get(t);i||(i=new Rs,this._commands.set(t,i));const n=i.unshift(s),o=Ie(()=>{n();const r=this._commands.get(t);r!=null&&r.isEmpty()&&this._commands.delete(t)});return this._onDidRegisterCommand.fire(t),o}registerCommandAlias(s,e){return pt.registerCommand(s,(t,...i)=>t.get(gi).executeCommand(e,...i))}getCommand(s){const e=this._commands.get(s);if(!(!e||e.isEmpty()))return ft.first(e)}getCommands(){const s=new Map;for(const e of this._commands.keys()){const t=this.getCommand(e);t&&s.set(e,t)}return s}};pt.registerCommand(\"noop\",()=>{});function ZE(...s){switch(s.length){case 1:return p(\"contextkey.scanner.hint.didYouMean1\",\"Did you mean {0}?\",s[0]);case 2:return p(\"contextkey.scanner.hint.didYouMean2\",\"Did you mean {0} or {1}?\",s[0],s[1]);case 3:return p(\"contextkey.scanner.hint.didYouMean3\",\"Did you mean {0}, {1} or {2}?\",s[0],s[1],s[2]);default:return}}const hle=p(\"contextkey.scanner.hint.didYouForgetToOpenOrCloseQuote\",\"Did you forget to open or close the quote?\"),gle=p(\"contextkey.scanner.hint.didYouForgetToEscapeSlash\",\"Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\\\\\/'.\");let Rg=class dA{constructor(){this._input=\"\",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\\-\\./\\\\:\\*\\?\\+\\[\\]\\^,#@;\"%\\$\\p{L}-]+/uy}static getLexeme(e){switch(e.type){case 0:return\"(\";case 1:return\")\";case 2:return\"!\";case 3:return e.isTripleEq?\"===\":\"==\";case 4:return e.isTripleEq?\"!==\":\"!=\";case 5:return\"<\";case 6:return\"<=\";case 7:return\">=\";case 8:return\">=\";case 9:return\"=~\";case 10:return e.lexeme;case 11:return\"true\";case 12:return\"false\";case 13:return\"in\";case 14:return\"not\";case 15:return\"&&\";case 16:return\"||\";case 17:return e.lexeme;case 18:return e.lexeme;case 19:return e.lexeme;case 20:return\"EOF\";default:throw UP(`unhandled token type: ${JSON.stringify(e)}; have you forgotten to add a case?`)}}reset(e){return this._input=e,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const t=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:t})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const t=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:t})}else this._match(126)?this._addToken(9):this._error(ZE(\"==\",\"=~\"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(ZE(\"&&\"));break;case 124:this._match(124)?this._addToken(16):this._error(ZE(\"||\"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(e){return this._isAtEnd()||this._input.charCodeAt(this._current)!==e?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(e){this._tokens.push({type:e,offset:this._start})}_error(e){const t=this._start,i=this._input.substring(this._start,this._current),n={type:19,offset:this._start,lexeme:i};this._errors.push({offset:t,lexeme:i,additionalInfo:e}),this._tokens.push(n)}_string(){this.stringRe.lastIndex=this._start;const e=this.stringRe.exec(this._input);if(e){this._current=this._start+e[0].length;const t=this._input.substring(this._start,this._current),i=dA._keywords.get(t);i?this._addToken(i):this._tokens.push({type:17,lexeme:t,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(hle);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let e=this._current,t=!1,i=!1;for(;;){if(e>=this._input.length){this._current=e,this._error(gle);return}const o=this._input.charCodeAt(e);if(t)t=!1;else if(o===47&&!i){e++;break}else o===91?i=!0:o===92?t=!0:o===93&&(i=!1);e++}for(;e<this._input.length&&dA._regexFlags.has(this._input.charCodeAt(e));)e++;this._current=e;const n=this._input.substring(this._start,this._current);this._tokens.push({type:10,lexeme:n,offset:this._start})}_isAtEnd(){return this._current>=this._input.length}};Rg._regexFlags=new Set([\"i\",\"g\",\"s\",\"m\",\"y\",\"u\"].map(s=>s.charCodeAt(0)));Rg._keywords=new Map([[\"not\",14],[\"in\",13],[\"false\",12],[\"true\",11]]);const ls=new Map;ls.set(\"false\",!1);ls.set(\"true\",!0);ls.set(\"isMac\",lt);ls.set(\"isLinux\",$s);ls.set(\"isWindows\",as);ls.set(\"isWeb\",Jh);ls.set(\"isMacNative\",lt&&!Jh);ls.set(\"isEdge\",$se);ls.set(\"isFirefox\",zse);ls.set(\"isChrome\",OV);ls.set(\"isSafari\",Use);const fle=Object.prototype.hasOwnProperty,ple={regexParsingWithErrorRecovery:!0},mle=p(\"contextkey.parser.error.emptyString\",\"Empty context key expression\"),_le=p(\"contextkey.parser.error.emptyString.hint\",\"Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.\"),vle=p(\"contextkey.parser.error.noInAfterNot\",\"'in' after 'not'.\"),S3=p(\"contextkey.parser.error.closingParenthesis\",\"closing parenthesis ')'\"),ble=p(\"contextkey.parser.error.unexpectedToken\",\"Unexpected token\"),Cle=p(\"contextkey.parser.error.unexpectedToken.hint\",\"Did you forget to put && or || before the token?\"),wle=p(\"contextkey.parser.error.unexpectedEOF\",\"Unexpected end of expression\"),yle=p(\"contextkey.parser.error.unexpectedEOF.hint\",\"Did you forget to put a context key?\");let Oz=class hv{constructor(e=ple){this._config=e,this._scanner=new Rg,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(e===\"\"){this._parsingErrors.push({message:mle,offset:0,lexeme:\"\",additionalInfo:_le});return}this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{const t=this._expr();if(!this._isAtEnd()){const i=this._peek(),n=i.type===17?Cle:void 0;throw this._parsingErrors.push({message:ble,offset:i.offset,lexeme:Rg.getLexeme(i),additionalInfo:n}),hv._parseError}return t}catch(t){if(t!==hv._parseError)throw t;return}}_expr(){return this._or()}_or(){const e=[this._and()];for(;this._matchOne(16);){const t=this._and();e.push(t)}return e.length===1?e[0]:G.or(...e)}_and(){const e=[this._term()];for(;this._matchOne(15);){const t=this._term();e.push(t)}return e.length===1?e[0]:G.and(...e)}_term(){if(this._matchOne(2)){const e=this._peek();switch(e.type){case 11:return this._advance(),js.INSTANCE;case 12:return this._advance(),ho.INSTANCE;case 0:{this._advance();const t=this._expr();return this._consume(1,S3),t==null?void 0:t.negate()}case 17:return this._advance(),op.create(e.lexeme);default:throw this._errExpectedButGot(\"KEY | true | false | '(' expression ')'\",e)}}return this._primary()}_primary(){const e=this._peek();switch(e.type){case 11:return this._advance(),G.true();case 12:return this._advance(),G.false();case 0:{this._advance();const t=this._expr();return this._consume(1,S3),t}case 17:{const t=e.lexeme;if(this._advance(),this._matchOne(9)){const n=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),n.type!==10)throw this._errExpectedButGot(\"REGEX\",n);const o=n.lexeme,r=o.lastIndexOf(\"/\"),a=r===o.length-1?void 0:this._removeFlagsGY(o.substring(r+1));let l;try{l=new RegExp(o.substring(1,r),a)}catch{throw this._errExpectedButGot(\"REGEX\",n)}return Bb.create(t,l)}switch(n.type){case 10:case 19:{const o=[n.lexeme];this._advance();let r=this._peek(),a=0;for(let h=0;h<n.lexeme.length;h++)n.lexeme.charCodeAt(h)===40?a++:n.lexeme.charCodeAt(h)===41&&a--;for(;!this._isAtEnd()&&r.type!==15&&r.type!==16;){switch(r.type){case 0:a++;break;case 1:a--;break;case 10:case 18:for(let h=0;h<r.lexeme.length;h++)r.lexeme.charCodeAt(h)===40?a++:n.lexeme.charCodeAt(h)===41&&a--}if(a<0)break;o.push(Rg.getLexeme(r)),this._advance(),r=this._peek()}const l=o.join(\"\"),d=l.lastIndexOf(\"/\"),c=d===l.length-1?void 0:this._removeFlagsGY(l.substring(d+1));let u;try{u=new RegExp(l.substring(1,d),c)}catch{throw this._errExpectedButGot(\"REGEX\",n)}return G.regex(t,u)}case 18:{const o=n.lexeme;this._advance();let r=null;if(!sz(o)){const a=o.indexOf(\"/\"),l=o.lastIndexOf(\"/\");if(a!==l&&a>=0){const d=o.slice(a+1,l),c=o[l+1]===\"i\"?\"i\":\"\";try{r=new RegExp(d,c)}catch{throw this._errExpectedButGot(\"REGEX\",n)}}}if(r===null)throw this._errExpectedButGot(\"REGEX\",n);return Bb.create(t,r)}default:throw this._errExpectedButGot(\"REGEX\",this._peek())}}if(this._matchOne(14)){this._consume(13,vle);const n=this._value();return G.notIn(t,n)}switch(this._peek().type){case 3:{this._advance();const n=this._value();if(this._previous().type===18)return G.equals(t,n);switch(n){case\"true\":return G.has(t);case\"false\":return G.not(t);default:return G.equals(t,n)}}case 4:{this._advance();const n=this._value();if(this._previous().type===18)return G.notEquals(t,n);switch(n){case\"true\":return G.not(t);case\"false\":return G.has(t);default:return G.notEquals(t,n)}}case 5:return this._advance(),dx.create(t,this._value());case 6:return this._advance(),cx.create(t,this._value());case 7:return this._advance(),ax.create(t,this._value());case 8:return this._advance(),lx.create(t,this._value());case 13:return this._advance(),G.in(t,this._value());default:return G.has(t)}}case 20:throw this._parsingErrors.push({message:wle,offset:e.offset,lexeme:\"\",additionalInfo:yle}),hv._parseError;default:throw this._errExpectedButGot(`true | false | KEY \n\t| KEY '=~' REGEX \n\t| KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),\"true\";case 12:return this._advance(),\"false\";case 13:return this._advance(),\"in\";default:return\"\"}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,\"\")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return this._check(e)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(e,t){if(this._check(e))return this._advance();throw this._errExpectedButGot(t,this._peek())}_errExpectedButGot(e,t,i){const n=p(\"contextkey.parser.error.expectedButGot\",`Expected: {0}\nReceived: '{1}'.`,e,Rg.getLexeme(t)),o=t.offset,r=Rg.getLexeme(t);return this._parsingErrors.push({message:n,offset:o,lexeme:r,additionalInfo:i}),hv._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}};Oz._parseError=new Error;class G{static false(){return js.INSTANCE}static true(){return ho.INSTANCE}static has(e){return sp.create(e)}static equals(e,t){return r0.create(e,t)}static notEquals(e,t){return ox.create(e,t)}static regex(e,t){return Bb.create(e,t)}static in(e,t){return nx.create(e,t)}static notIn(e,t){return sx.create(e,t)}static not(e){return op.create(e)}static and(...e){return Gg.create(e,null,!0)}static or(...e){return oc.create(e,null,!0)}static deserialize(e){return e==null?void 0:this._parser.parse(e)}}G._parser=new Oz({regexParsingWithErrorRecovery:!1});function Sle(s,e){const t=s?s.substituteConstants():void 0,i=e?e.substituteConstants():void 0;return!t&&!i?!0:!t||!i?!1:t.equals(i)}function zv(s,e){return s.cmp(e)}class js{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return\"false\"}keys(){return[]}negate(){return ho.INSTANCE}}js.INSTANCE=new js;class ho{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return\"true\"}keys(){return[]}negate(){return js.INSTANCE}}ho.INSTANCE=new ho;class sp{static create(e,t=null){const i=ls.get(e);return typeof i==\"boolean\"?i?ho.INSTANCE:js.INSTANCE:new sp(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=2}cmp(e){return e.type!==this.type?this.type-e.type:Wz(this.key,e.key)}equals(e){return e.type===this.type?this.key===e.key:!1}substituteConstants(){const e=ls.get(this.key);return typeof e==\"boolean\"?e?ho.INSTANCE:js.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=op.create(this.key,this)),this.negated}}class r0{static create(e,t,i=null){if(typeof t==\"boolean\")return t?sp.create(e,i):op.create(e,i);const n=ls.get(e);return typeof n==\"boolean\"?t===(n?\"true\":\"false\")?ho.INSTANCE:js.INSTANCE:new r0(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){const e=ls.get(this.key);if(typeof e==\"boolean\"){const t=e?\"true\":\"false\";return this.value===t?ho.INSTANCE:js.INSTANCE}return this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=ox.create(this.key,this.value,this)),this.negated}}class nx{static create(e,t){return new nx(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type?this.key===e.key&&this.valueKey===e.valueKey:!1}substituteConstants(){return this}evaluate(e){const t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):typeof i==\"string\"&&typeof t==\"object\"&&t!==null?fle.call(t,i):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=sx.create(this.key,this.valueKey)),this.negated}}class sx{static create(e,t){return new sx(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=nx.create(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type?this._negated.equals(e._negated):!1}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class ox{static create(e,t,i=null){if(typeof t==\"boolean\")return t?op.create(e,i):sp.create(e,i);const n=ls.get(e);return typeof n==\"boolean\"?t===(n?\"true\":\"false\")?js.INSTANCE:ho.INSTANCE:new ox(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){const e=ls.get(this.key);if(typeof e==\"boolean\"){const t=e?\"true\":\"false\";return this.value===t?js.INSTANCE:ho.INSTANCE}return this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r0.create(this.key,this.value,this)),this.negated}}class op{static create(e,t=null){const i=ls.get(e);return typeof i==\"boolean\"?i?js.INSTANCE:ho.INSTANCE:new op(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=3}cmp(e){return e.type!==this.type?this.type-e.type:Wz(this.key,e.key)}equals(e){return e.type===this.type?this.key===e.key:!1}substituteConstants(){const e=ls.get(this.key);return typeof e==\"boolean\"?e?js.INSTANCE:ho.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=sp.create(this.key,this)),this.negated}}function rx(s,e){if(typeof s==\"string\"){const t=parseFloat(s);isNaN(t)||(s=t)}return typeof s==\"string\"||typeof s==\"number\"?e(s):js.INSTANCE}class ax{static create(e,t,i=null){return rx(t,n=>new ax(e,n,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value==\"string\"?!1:parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=cx.create(this.key,this.value,this)),this.negated}}class lx{static create(e,t,i=null){return rx(t,n=>new lx(e,n,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value==\"string\"?!1:parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=dx.create(this.key,this.value,this)),this.negated}}class dx{static create(e,t,i=null){return rx(t,n=>new dx(e,n,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value==\"string\"?!1:parseFloat(e.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=lx.create(this.key,this.value,this)),this.negated}}class cx{static create(e,t,i=null){return rx(t,n=>new cx(e,n,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:rp(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value==\"string\"?!1:parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=ax.create(this.key,this.value,this)),this.negated}}class Bb{static create(e,t){return new Bb(e,t)}constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:\"\",i=e.regexp?e.regexp.source:\"\";return t<i?-1:t>i?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:\"\",i=e.regexp?e.regexp.source:\"\";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){const t=e.getValue(this.key);return this.regexp?this.regexp.test(t):!1}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:\"/invalid/\";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=gF.create(this)),this.negated}}class gF{static create(e){return new gF(e)}constructor(e){this._actual=e,this.type=8}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type?this._actual.equals(e._actual):!1}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}function Bz(s){let e=null;for(let t=0,i=s.length;t<i;t++){const n=s[t].substituteConstants();if(s[t]!==n&&e===null){e=[];for(let o=0;o<t;o++)e[o]=s[o]}e!==null&&(e[t]=n)}return e===null?s:e}class Gg{static create(e,t,i){return Gg._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=6}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,i=this.expr.length;t<i;t++){const n=zv(this.expr[t],e.expr[t]);if(n!==0)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,i=this.expr.length;t<i;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=Bz(this.expr);return e===this.expr?this:Gg.create(e,this.negated,!1)}evaluate(e){for(let t=0,i=this.expr.length;t<i;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e,t,i){const n=[];let o=!1;for(const r of e)if(r){if(r.type===1){o=!0;continue}if(r.type===0)return js.INSTANCE;if(r.type===6){n.push(...r.expr);continue}n.push(r)}if(n.length===0&&o)return ho.INSTANCE;if(n.length!==0){if(n.length===1)return n[0];n.sort(zv);for(let r=1;r<n.length;r++)n[r-1].equals(n[r])&&(n.splice(r,1),r--);if(n.length===1)return n[0];for(;n.length>1;){const r=n[n.length-1];if(r.type!==9)break;n.pop();const a=n.pop(),l=n.length===0,d=oc.create(r.expr.map(c=>Gg.create([c,a],null,i)),null,l);d&&(n.push(d),n.sort(zv))}if(n.length===1)return n[0];if(i){for(let r=0;r<n.length;r++)for(let a=r+1;a<n.length;a++)if(n[r].negate().equals(n[a]))return js.INSTANCE;if(n.length===1)return n[0]}return new Gg(n,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(\" && \")}keys(){const e=[];for(const t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(const t of this.expr)e.push(t.negate());this.negated=oc.create(e,this,!0)}return this.negated}}class oc{static create(e,t,i){return oc._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,i=this.expr.length;t<i;t++){const n=zv(this.expr[t],e.expr[t]);if(n!==0)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,i=this.expr.length;t<i;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=Bz(this.expr);return e===this.expr?this:oc.create(e,this.negated,!1)}evaluate(e){for(let t=0,i=this.expr.length;t<i;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e,t,i){let n=[],o=!1;if(e){for(let r=0,a=e.length;r<a;r++){const l=e[r];if(l){if(l.type===0){o=!0;continue}if(l.type===1)return ho.INSTANCE;if(l.type===9){n=n.concat(l.expr);continue}n.push(l)}}if(n.length===0&&o)return js.INSTANCE;n.sort(zv)}if(n.length!==0){if(n.length===1)return n[0];for(let r=1;r<n.length;r++)n[r-1].equals(n[r])&&(n.splice(r,1),r--);if(n.length===1)return n[0];if(i){for(let r=0;r<n.length;r++)for(let a=r+1;a<n.length;a++)if(n[r].negate().equals(n[a]))return ho.INSTANCE;if(n.length===1)return n[0]}return new oc(n,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(\" || \")}keys(){const e=[];for(const t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(const t of this.expr)e.push(t.negate());for(;e.length>1;){const t=e.shift(),i=e.shift(),n=[];for(const o of L3(t))for(const r of L3(i))n.push(Gg.create([o,r],null,!1));e.unshift(oc.create(n,null,!1))}this.negated=oc.create(e,this,!0)}return this.negated}}class ue extends sp{static all(){return ue._info.values()}constructor(e,t,i){super(e,null),this._defaultValue=t,typeof i==\"object\"?ue._info.push({...i,key:e}):i!==!0&&ue._info.push({key:e,description:i,type:t!=null?typeof t:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return r0.create(this.key,e)}}ue._info=[];const Be=ut(\"contextKeyService\");function Wz(s,e){return s<e?-1:s>e?1:0}function rp(s,e,t,i){return s<t?-1:s>t?1:e<i?-1:e>i?1:0}function cA(s,e){if(s.type===0||e.type===1)return!0;if(s.type===9)return e.type===9?D3(s.expr,e.expr):!1;if(e.type===9){for(const t of e.expr)if(cA(s,t))return!0;return!1}if(s.type===6){if(e.type===6)return D3(e.expr,s.expr);for(const t of s.expr)if(cA(t,e))return!0;return!1}return s.equals(e)}function D3(s,e){let t=0,i=0;for(;t<s.length&&i<e.length;){const n=s[t].cmp(e[i]);if(n<0)return!1;n===0&&t++,i++}return t===s.length}function L3(s){return s.type===9?s.expr:[s]}function XE(s,e){if(!s)throw new Error(e?`Assertion failed (${e})`:\"Assertion Failed\")}function ux(s,e=\"Unreachable\"){throw new Error(e)}function x3(s){s||Xe(new Ut(\"Soft Assertion Failed\"))}function Lf(s){if(!s()){debugger;s(),Xe(new Ut(\"Assertion Failed\"))}}function fF(s,e){let t=0;for(;t<s.length-1;){const i=s[t],n=s[t+1];if(!e(i,n))return!1;t++}return!0}class Dle{constructor(){this.data=new Map}add(e,t){XE(lo(e)),XE(Ms(t)),XE(!this.data.has(e),\"There is already an extension with this id\"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}const Ji=new Dle;class pF{constructor(){this._coreKeybindings=new Rs,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(Lo===1){if(e&&e.win)return e.win}else if(Lo===2){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=pF.bindToCurrentPlatform(e),i=new Y;if(t&&t.primary){const n=JN(t.primary,Lo);n&&i.add(this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let n=0,o=t.secondary.length;n<o;n++){const r=t.secondary[n],a=JN(r,Lo);a&&i.add(this._registerDefaultKeybinding(a,e.id,e.args,e.weight,-n-1,e.when))}return i}registerCommandAndKeybindingRule(e){return ha(this.registerKeybindingRule(e),pt.registerCommand(e))}_registerDefaultKeybinding(e,t,i,n,o,r){const a=this._coreKeybindings.push({keybinding:e,command:t,commandArgs:i,when:r,weight1:n,weight2:o,extensionId:null,isBuiltinExtension:!1});return this._cachedMergedKeybindings=null,Ie(()=>{a(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(xle)),this._cachedMergedKeybindings.slice(0)}}const go=new pF,Lle={EditorModes:\"platform.keybindingsRegistry\"};Ji.add(Lle.EditorModes,go);function xle(s,e){if(s.weight1!==e.weight1)return s.weight1-e.weight1;if(s.command&&e.command){if(s.command<e.command)return-1;if(s.command>e.command)return 1}return s.weight2-e.weight2}var kle=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},k3=function(s,e){return function(t,i){e(t,i,s)}},Wy;function tm(s){return s.command!==void 0}function Ele(s){return s.submenu!==void 0}class E{constructor(e){if(E._instances.has(e))throw new TypeError(`MenuId with identifier '${e}' already exists. Use MenuId.for(ident) or a unique identifier`);E._instances.set(e,this),this.id=e}}E._instances=new Map;E.CommandPalette=new E(\"CommandPalette\");E.DebugBreakpointsContext=new E(\"DebugBreakpointsContext\");E.DebugCallStackContext=new E(\"DebugCallStackContext\");E.DebugConsoleContext=new E(\"DebugConsoleContext\");E.DebugVariablesContext=new E(\"DebugVariablesContext\");E.NotebookVariablesContext=new E(\"NotebookVariablesContext\");E.DebugHoverContext=new E(\"DebugHoverContext\");E.DebugWatchContext=new E(\"DebugWatchContext\");E.DebugToolBar=new E(\"DebugToolBar\");E.DebugToolBarStop=new E(\"DebugToolBarStop\");E.EditorContext=new E(\"EditorContext\");E.SimpleEditorContext=new E(\"SimpleEditorContext\");E.EditorContent=new E(\"EditorContent\");E.EditorLineNumberContext=new E(\"EditorLineNumberContext\");E.EditorContextCopy=new E(\"EditorContextCopy\");E.EditorContextPeek=new E(\"EditorContextPeek\");E.EditorContextShare=new E(\"EditorContextShare\");E.EditorTitle=new E(\"EditorTitle\");E.EditorTitleRun=new E(\"EditorTitleRun\");E.EditorTitleContext=new E(\"EditorTitleContext\");E.EditorTitleContextShare=new E(\"EditorTitleContextShare\");E.EmptyEditorGroup=new E(\"EmptyEditorGroup\");E.EmptyEditorGroupContext=new E(\"EmptyEditorGroupContext\");E.EditorTabsBarContext=new E(\"EditorTabsBarContext\");E.EditorTabsBarShowTabsSubmenu=new E(\"EditorTabsBarShowTabsSubmenu\");E.EditorTabsBarShowTabsZenModeSubmenu=new E(\"EditorTabsBarShowTabsZenModeSubmenu\");E.EditorActionsPositionSubmenu=new E(\"EditorActionsPositionSubmenu\");E.ExplorerContext=new E(\"ExplorerContext\");E.ExplorerContextShare=new E(\"ExplorerContextShare\");E.ExtensionContext=new E(\"ExtensionContext\");E.GlobalActivity=new E(\"GlobalActivity\");E.CommandCenter=new E(\"CommandCenter\");E.CommandCenterCenter=new E(\"CommandCenterCenter\");E.LayoutControlMenuSubmenu=new E(\"LayoutControlMenuSubmenu\");E.LayoutControlMenu=new E(\"LayoutControlMenu\");E.MenubarMainMenu=new E(\"MenubarMainMenu\");E.MenubarAppearanceMenu=new E(\"MenubarAppearanceMenu\");E.MenubarDebugMenu=new E(\"MenubarDebugMenu\");E.MenubarEditMenu=new E(\"MenubarEditMenu\");E.MenubarCopy=new E(\"MenubarCopy\");E.MenubarFileMenu=new E(\"MenubarFileMenu\");E.MenubarGoMenu=new E(\"MenubarGoMenu\");E.MenubarHelpMenu=new E(\"MenubarHelpMenu\");E.MenubarLayoutMenu=new E(\"MenubarLayoutMenu\");E.MenubarNewBreakpointMenu=new E(\"MenubarNewBreakpointMenu\");E.PanelAlignmentMenu=new E(\"PanelAlignmentMenu\");E.PanelPositionMenu=new E(\"PanelPositionMenu\");E.ActivityBarPositionMenu=new E(\"ActivityBarPositionMenu\");E.MenubarPreferencesMenu=new E(\"MenubarPreferencesMenu\");E.MenubarRecentMenu=new E(\"MenubarRecentMenu\");E.MenubarSelectionMenu=new E(\"MenubarSelectionMenu\");E.MenubarShare=new E(\"MenubarShare\");E.MenubarSwitchEditorMenu=new E(\"MenubarSwitchEditorMenu\");E.MenubarSwitchGroupMenu=new E(\"MenubarSwitchGroupMenu\");E.MenubarTerminalMenu=new E(\"MenubarTerminalMenu\");E.MenubarViewMenu=new E(\"MenubarViewMenu\");E.MenubarHomeMenu=new E(\"MenubarHomeMenu\");E.OpenEditorsContext=new E(\"OpenEditorsContext\");E.OpenEditorsContextShare=new E(\"OpenEditorsContextShare\");E.ProblemsPanelContext=new E(\"ProblemsPanelContext\");E.SCMInputBox=new E(\"SCMInputBox\");E.SCMChangesSeparator=new E(\"SCMChangesSeparator\");E.SCMIncomingChanges=new E(\"SCMIncomingChanges\");E.SCMIncomingChangesContext=new E(\"SCMIncomingChangesContext\");E.SCMIncomingChangesSetting=new E(\"SCMIncomingChangesSetting\");E.SCMOutgoingChanges=new E(\"SCMOutgoingChanges\");E.SCMOutgoingChangesContext=new E(\"SCMOutgoingChangesContext\");E.SCMOutgoingChangesSetting=new E(\"SCMOutgoingChangesSetting\");E.SCMIncomingChangesAllChangesContext=new E(\"SCMIncomingChangesAllChangesContext\");E.SCMIncomingChangesHistoryItemContext=new E(\"SCMIncomingChangesHistoryItemContext\");E.SCMOutgoingChangesAllChangesContext=new E(\"SCMOutgoingChangesAllChangesContext\");E.SCMOutgoingChangesHistoryItemContext=new E(\"SCMOutgoingChangesHistoryItemContext\");E.SCMChangeContext=new E(\"SCMChangeContext\");E.SCMResourceContext=new E(\"SCMResourceContext\");E.SCMResourceContextShare=new E(\"SCMResourceContextShare\");E.SCMResourceFolderContext=new E(\"SCMResourceFolderContext\");E.SCMResourceGroupContext=new E(\"SCMResourceGroupContext\");E.SCMSourceControl=new E(\"SCMSourceControl\");E.SCMSourceControlInline=new E(\"SCMSourceControlInline\");E.SCMSourceControlTitle=new E(\"SCMSourceControlTitle\");E.SCMTitle=new E(\"SCMTitle\");E.SearchContext=new E(\"SearchContext\");E.SearchActionMenu=new E(\"SearchActionContext\");E.StatusBarWindowIndicatorMenu=new E(\"StatusBarWindowIndicatorMenu\");E.StatusBarRemoteIndicatorMenu=new E(\"StatusBarRemoteIndicatorMenu\");E.StickyScrollContext=new E(\"StickyScrollContext\");E.TestItem=new E(\"TestItem\");E.TestItemGutter=new E(\"TestItemGutter\");E.TestMessageContext=new E(\"TestMessageContext\");E.TestMessageContent=new E(\"TestMessageContent\");E.TestPeekElement=new E(\"TestPeekElement\");E.TestPeekTitle=new E(\"TestPeekTitle\");E.TouchBarContext=new E(\"TouchBarContext\");E.TitleBarContext=new E(\"TitleBarContext\");E.TitleBarTitleContext=new E(\"TitleBarTitleContext\");E.TunnelContext=new E(\"TunnelContext\");E.TunnelPrivacy=new E(\"TunnelPrivacy\");E.TunnelProtocol=new E(\"TunnelProtocol\");E.TunnelPortInline=new E(\"TunnelInline\");E.TunnelTitle=new E(\"TunnelTitle\");E.TunnelLocalAddressInline=new E(\"TunnelLocalAddressInline\");E.TunnelOriginInline=new E(\"TunnelOriginInline\");E.ViewItemContext=new E(\"ViewItemContext\");E.ViewContainerTitle=new E(\"ViewContainerTitle\");E.ViewContainerTitleContext=new E(\"ViewContainerTitleContext\");E.ViewTitle=new E(\"ViewTitle\");E.ViewTitleContext=new E(\"ViewTitleContext\");E.CommentEditorActions=new E(\"CommentEditorActions\");E.CommentThreadTitle=new E(\"CommentThreadTitle\");E.CommentThreadActions=new E(\"CommentThreadActions\");E.CommentThreadAdditionalActions=new E(\"CommentThreadAdditionalActions\");E.CommentThreadTitleContext=new E(\"CommentThreadTitleContext\");E.CommentThreadCommentContext=new E(\"CommentThreadCommentContext\");E.CommentTitle=new E(\"CommentTitle\");E.CommentActions=new E(\"CommentActions\");E.CommentsViewThreadActions=new E(\"CommentsViewThreadActions\");E.InteractiveToolbar=new E(\"InteractiveToolbar\");E.InteractiveCellTitle=new E(\"InteractiveCellTitle\");E.InteractiveCellDelete=new E(\"InteractiveCellDelete\");E.InteractiveCellExecute=new E(\"InteractiveCellExecute\");E.InteractiveInputExecute=new E(\"InteractiveInputExecute\");E.IssueReporter=new E(\"IssueReporter\");E.NotebookToolbar=new E(\"NotebookToolbar\");E.NotebookStickyScrollContext=new E(\"NotebookStickyScrollContext\");E.NotebookCellTitle=new E(\"NotebookCellTitle\");E.NotebookCellDelete=new E(\"NotebookCellDelete\");E.NotebookCellInsert=new E(\"NotebookCellInsert\");E.NotebookCellBetween=new E(\"NotebookCellBetween\");E.NotebookCellListTop=new E(\"NotebookCellTop\");E.NotebookCellExecute=new E(\"NotebookCellExecute\");E.NotebookCellExecuteGoTo=new E(\"NotebookCellExecuteGoTo\");E.NotebookCellExecutePrimary=new E(\"NotebookCellExecutePrimary\");E.NotebookDiffCellInputTitle=new E(\"NotebookDiffCellInputTitle\");E.NotebookDiffCellMetadataTitle=new E(\"NotebookDiffCellMetadataTitle\");E.NotebookDiffCellOutputsTitle=new E(\"NotebookDiffCellOutputsTitle\");E.NotebookOutputToolbar=new E(\"NotebookOutputToolbar\");E.NotebookOutlineFilter=new E(\"NotebookOutlineFilter\");E.NotebookOutlineActionMenu=new E(\"NotebookOutlineActionMenu\");E.NotebookEditorLayoutConfigure=new E(\"NotebookEditorLayoutConfigure\");E.NotebookKernelSource=new E(\"NotebookKernelSource\");E.BulkEditTitle=new E(\"BulkEditTitle\");E.BulkEditContext=new E(\"BulkEditContext\");E.TimelineItemContext=new E(\"TimelineItemContext\");E.TimelineTitle=new E(\"TimelineTitle\");E.TimelineTitleContext=new E(\"TimelineTitleContext\");E.TimelineFilterSubMenu=new E(\"TimelineFilterSubMenu\");E.AccountsContext=new E(\"AccountsContext\");E.SidebarTitle=new E(\"SidebarTitle\");E.PanelTitle=new E(\"PanelTitle\");E.AuxiliaryBarTitle=new E(\"AuxiliaryBarTitle\");E.AuxiliaryBarHeader=new E(\"AuxiliaryBarHeader\");E.TerminalInstanceContext=new E(\"TerminalInstanceContext\");E.TerminalEditorInstanceContext=new E(\"TerminalEditorInstanceContext\");E.TerminalNewDropdownContext=new E(\"TerminalNewDropdownContext\");E.TerminalTabContext=new E(\"TerminalTabContext\");E.TerminalTabEmptyAreaContext=new E(\"TerminalTabEmptyAreaContext\");E.TerminalStickyScrollContext=new E(\"TerminalStickyScrollContext\");E.WebviewContext=new E(\"WebviewContext\");E.InlineCompletionsActions=new E(\"InlineCompletionsActions\");E.InlineEditActions=new E(\"InlineEditActions\");E.NewFile=new E(\"NewFile\");E.MergeInput1Toolbar=new E(\"MergeToolbar1Toolbar\");E.MergeInput2Toolbar=new E(\"MergeToolbar2Toolbar\");E.MergeBaseToolbar=new E(\"MergeBaseToolbar\");E.MergeInputResultToolbar=new E(\"MergeToolbarResultToolbar\");E.InlineSuggestionToolbar=new E(\"InlineSuggestionToolbar\");E.InlineEditToolbar=new E(\"InlineEditToolbar\");E.ChatContext=new E(\"ChatContext\");E.ChatCodeBlock=new E(\"ChatCodeblock\");E.ChatCompareBlock=new E(\"ChatCompareBlock\");E.ChatMessageTitle=new E(\"ChatMessageTitle\");E.ChatExecute=new E(\"ChatExecute\");E.ChatExecuteSecondary=new E(\"ChatExecuteSecondary\");E.ChatInputSide=new E(\"ChatInputSide\");E.AccessibleView=new E(\"AccessibleView\");E.MultiDiffEditorFileToolbar=new E(\"MultiDiffEditorFileToolbar\");E.DiffEditorHunkToolbar=new E(\"DiffEditorHunkToolbar\");E.DiffEditorSelectionToolbar=new E(\"DiffEditorSelectionToolbar\");const hr=ut(\"menuService\");class rc{static for(e){let t=this._all.get(e);return t||(t=new rc(e),this._all.set(e,t)),t}static merge(e){const t=new Set;for(const i of e)i instanceof rc&&t.add(i.id);return t}constructor(e){this.id=e,this.has=t=>t===e}}rc._all=new Map;const yn=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new Goe({merge:rc.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(s){return this._commands.set(s.id,s),this._onDidChangeMenu.fire(rc.for(E.CommandPalette)),Ie(()=>{this._commands.delete(s.id)&&this._onDidChangeMenu.fire(rc.for(E.CommandPalette))})}getCommand(s){return this._commands.get(s)}getCommands(){const s=new Map;return this._commands.forEach((e,t)=>s.set(t,e)),s}appendMenuItem(s,e){let t=this._menuItems.get(s);t||(t=new Rs,this._menuItems.set(s,t));const i=t.push(e);return this._onDidChangeMenu.fire(rc.for(s)),Ie(()=>{i(),this._onDidChangeMenu.fire(rc.for(s))})}appendMenuItems(s){const e=new Y;for(const{id:t,item:i}of s)e.add(this.appendMenuItem(t,i));return e}getMenuItems(s){let e;return this._menuItems.has(s)?e=[...this._menuItems.get(s)]:e=[],s===E.CommandPalette&&this._appendImplicitItems(e),e}_appendImplicitItems(s){const e=new Set;for(const t of s)tm(t)&&(e.add(t.command.id),t.alt&&e.add(t.alt.id));this._commands.forEach((t,i)=>{e.has(i)||s.push({command:t})})}};class Em extends c_{constructor(e,t,i){super(`submenuitem.${e.submenu.id}`,typeof e.title==\"string\"?e.title:e.title.value,i,\"submenu\"),this.item=e,this.hideActions=t}}let Io=Wy=class{static label(e,t){return t!=null&&t.renderShortTitle&&e.shortTitle?typeof e.shortTitle==\"string\"?e.shortTitle:e.shortTitle.value:typeof e.title==\"string\"?e.title:e.title.value}constructor(e,t,i,n,o,r,a){var l,d;this.hideActions=n,this.menuKeybinding=o,this._commandService=a,this.id=e.id,this.label=Wy.label(e,i),this.tooltip=(d=typeof e.tooltip==\"string\"?e.tooltip:(l=e.tooltip)===null||l===void 0?void 0:l.value)!==null&&d!==void 0?d:\"\",this.enabled=!e.precondition||r.contextMatchesRules(e.precondition),this.checked=void 0;let c;if(e.toggled){const u=e.toggled.condition?e.toggled:{condition:e.toggled};this.checked=r.contextMatchesRules(u.condition),this.checked&&u.tooltip&&(this.tooltip=typeof u.tooltip==\"string\"?u.tooltip:u.tooltip.value),this.checked&&Pe.isThemeIcon(u.icon)&&(c=u.icon),this.checked&&u.title&&(this.label=typeof u.title==\"string\"?u.title:u.title.value)}c||(c=Pe.isThemeIcon(e.icon)?e.icon:void 0),this.item=e,this.alt=t?new Wy(t,void 0,i,n,void 0,r,a):void 0,this._options=i,this.class=c&&Pe.asClassName(c)}run(...e){var t,i;let n=[];return!((t=this._options)===null||t===void 0)&&t.arg&&(n=[...n,this._options.arg]),!((i=this._options)===null||i===void 0)&&i.shouldForwardArgs&&(n=[...n,...e]),this._commandService.executeCommand(this.id,...n)}};Io=Wy=kle([k3(5,Be),k3(6,gi)],Io);class qs{constructor(e){this.desc=e}}function qt(s){const e=new Y,t=new s,{f1:i,menu:n,keybinding:o,...r}=t.desc;if(pt.getCommand(r.id))throw new Error(`Cannot register two commands with the same id: ${r.id}`);if(e.add(pt.registerCommand({id:r.id,handler:(a,...l)=>t.run(a,...l),metadata:r.metadata})),Array.isArray(n))for(const a of n)e.add(yn.appendMenuItem(a.id,{command:{...r,precondition:a.precondition===null?void 0:r.precondition},...a}));else n&&e.add(yn.appendMenuItem(n.id,{command:{...r,precondition:n.precondition===null?void 0:r.precondition},...n}));if(i&&(e.add(yn.appendMenuItem(E.CommandPalette,{command:r,when:r.precondition})),e.add(yn.addCommand(r))),Array.isArray(o))for(const a of o)e.add(go.registerKeybindingRule({...a,id:r.id,when:r.precondition?G.and(r.precondition,a.when):a.when}));else o&&e.add(go.registerKeybindingRule({...o,id:r.id,when:r.precondition?G.and(r.precondition,o.when):o.when}));return e}const Gs=ut(\"telemetryService\"),ys=ut(\"logService\");var Zn;(function(s){s[s.Off=0]=\"Off\",s[s.Trace=1]=\"Trace\",s[s.Debug=2]=\"Debug\",s[s.Info=3]=\"Info\",s[s.Warning=4]=\"Warning\",s[s.Error=5]=\"Error\"})(Zn||(Zn={}));const Hz=Zn.Info;class Vz extends H{constructor(){super(...arguments),this.level=Hz,this._onDidChangeLogLevel=this._register(new B),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==Zn.Off&&this.level<=e}}class Ile extends Vz{constructor(e=Hz,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(Zn.Trace)&&(this.useColors?console.log(\"%cTRACE\",\"color: #888\",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(Zn.Debug)&&(this.useColors?console.log(\"%cDEBUG\",\"background: #eee; color: #888\",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(Zn.Info)&&(this.useColors?console.log(\"%c INFO\",\"color: #33f\",e,...t):console.log(e,...t))}warn(e,...t){this.checkLogLevel(Zn.Warning)&&(this.useColors?console.log(\"%c WARN\",\"color: #993\",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(Zn.Error)&&(this.useColors?console.log(\"%c  ERR\",\"color: #f33\",e,...t):console.error(e,...t))}}class Tle extends Vz{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(const t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(const i of this.loggers)i.trace(e,...t)}debug(e,...t){for(const i of this.loggers)i.debug(e,...t)}info(e,...t){for(const i of this.loggers)i.info(e,...t)}warn(e,...t){for(const i of this.loggers)i.warn(e,...t)}error(e,...t){for(const i of this.loggers)i.error(e,...t)}dispose(){for(const e of this.loggers)e.dispose();super.dispose()}}function Nle(s){switch(s){case Zn.Trace:return\"trace\";case Zn.Debug:return\"debug\";case Zn.Info:return\"info\";case Zn.Warning:return\"warn\";case Zn.Error:return\"error\";case Zn.Off:return\"off\"}}new ue(\"logLevel\",Nle(Zn.Info));class hx{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this.metadata=e.metadata}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){const e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(const t of e){let i=t.kbExpr;this.precondition&&(i?i=G.and(i,this.precondition):i=this.precondition);const n={id:this.id,weight:t.weight,args:t.args,when:i,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};go.registerKeybindingRule(n)}}pt.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),metadata:this.metadata})}_registerMenuItem(e){yn.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class a0 extends hx{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i,n){return this._implementations.push({priority:e,name:t,implementation:i,when:n}),this._implementations.sort((o,r)=>r.priority-o.priority),{dispose:()=>{for(let o=0;o<this._implementations.length;o++)if(this._implementations[o].implementation===i){this._implementations.splice(o,1);return}}}}runCommand(e,t){const i=e.get(ys),n=e.get(Be);i.trace(`Executing Command '${this.id}' which has ${this._implementations.length} bound.`);for(const o of this._implementations){if(o.when){const a=n.getContext(Xn());if(!o.when.evaluate(a))continue}const r=o.implementation(e,t);if(r)return i.trace(`Command '${this.id}' was handled by '${o.name}'.`),typeof r==\"boolean\"?void 0:r}i.trace(`The Command '${this.id}' was not handled by any implementation.`)}}class zz extends hx{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}}class mn extends hx{static bindToContribution(e){return class extends mn{constructor(i){super(i),this._callback=i.handler}runEditorCommand(i,n,o){const r=e(n);r&&this._callback(r,o)}}}static runEditorCommand(e,t,i,n){const o=e.get(xt),r=o.getFocusedCodeEditor()||o.getActiveCodeEditor();if(r)return r.invokeWithinContext(a=>{if(a.get(Be).contextMatchesRules(i??void 0))return n(a,r,t)})}runCommand(e,t){return mn.runEditorCommand(e,t,this.precondition,(i,n,o)=>this.runEditorCommand(i,n,o))}}class me extends mn{static convertOptions(e){let t;Array.isArray(e.menuOpts)?t=e.menuOpts:e.menuOpts?t=[e.menuOpts]:t=[];function i(n){return n.menuId||(n.menuId=E.EditorContext),n.title||(n.title=e.label),n.when=G.and(e.precondition,n.when),n}return Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}constructor(e){super(me.convertOptions(e)),this.label=e.label,this.alias=e.alias}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(Gs).publicLog2(\"editorActionInvoked\",{name:this.label,id:this.id})}}class Uz extends me{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((i,n)=>n[0]-i[0]),{dispose:()=>{for(let i=0;i<this._implementations.length;i++)if(this._implementations[i][1]===t){this._implementations.splice(i,1);return}}}}run(e,t,i){for(const n of this._implementations){const o=n[1](e,t,i);if(o)return typeof o==\"boolean\"?void 0:o}}}class fl extends qs{run(e,...t){const i=e.get(xt),n=i.getFocusedCodeEditor()||i.getActiveCodeEditor();if(n)return n.invokeWithinContext(o=>{var r,a;const l=o.get(Be),d=o.get(ys);if(!l.contextMatchesRules((r=this.desc.precondition)!==null&&r!==void 0?r:void 0)){d.debug(\"[EditorAction2] NOT running command because its precondition is FALSE\",this.desc.id,(a=this.desc.precondition)===null||a===void 0?void 0:a.serialize());return}return this.runEditorCommand(o,n,...t)})}}function Ad(s,e){pt.registerCommand(s,function(t,...i){const n=t.get(Ne),[o,r]=i;yt(Ae.isUri(o)),yt(W.isIPosition(r));const a=t.get(_i).getModel(o);if(a){const l=W.lift(r);return n.invokeFunction(e,a,l,...i.slice(2))}return t.get(mo).createModelReference(o).then(l=>new Promise((d,c)=>{try{const u=n.invokeFunction(e,l.object.textEditorModel,W.lift(r),i.slice(2));d(u)}catch(u){c(u)}}).finally(()=>{l.dispose()}))})}function de(s){return Dr.INSTANCE.registerEditorCommand(s),s}function te(s){const e=new s;return Dr.INSTANCE.registerEditorAction(e),e}function $z(s){return Dr.INSTANCE.registerEditorAction(s),s}function Ale(s){Dr.INSTANCE.registerEditorAction(s)}function kt(s,e,t){Dr.INSTANCE.registerEditorContribution(s,e,t)}var Im;(function(s){function e(r){return Dr.INSTANCE.getEditorCommand(r)}s.getEditorCommand=e;function t(){return Dr.INSTANCE.getEditorActions()}s.getEditorActions=t;function i(){return Dr.INSTANCE.getEditorContributions()}s.getEditorContributions=i;function n(r){return Dr.INSTANCE.getEditorContributions().filter(a=>r.indexOf(a.id)>=0)}s.getSomeEditorContributions=n;function o(){return Dr.INSTANCE.getDiffEditorContributions()}s.getDiffEditorContributions=o})(Im||(Im={}));const Mle={EditorCommonContributions:\"editor.contributions\"};class Dr{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t,i){this.editorContributions.push({id:e,ctor:t,instantiation:i})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}Dr.INSTANCE=new Dr;Ji.add(Mle.EditorCommonContributions,Dr.INSTANCE);function g1(s){return s.register(),s}const jz=g1(new a0({id:\"undo\",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:E.MenubarEditMenu,group:\"1_do\",title:p({},\"&&Undo\"),order:1},{menuId:E.CommandPalette,group:\"\",title:p(\"undo\",\"Undo\"),order:1}]}));g1(new zz(jz,{id:\"default:undo\",precondition:void 0}));const Kz=g1(new a0({id:\"redo\",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:E.MenubarEditMenu,group:\"1_do\",title:p({},\"&&Redo\"),order:2},{menuId:E.CommandPalette,group:\"\",title:p(\"redo\",\"Redo\"),order:1}]}));g1(new zz(Kz,{id:\"default:redo\",precondition:void 0}));const Rle=g1(new a0({id:\"editor.action.selectAll\",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:E.MenubarSelectionMenu,group:\"1_basic\",title:p({},\"&&Select All\"),order:1},{menuId:E.CommandPalette,group:\"\",title:p(\"selectAll\",\"Select All\"),order:1}]})),Ple=\"$initialize\";let E3=!1;function uA(s){Jh&&(E3||(E3=!0,console.warn(\"Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq\")),console.warn(s.message))}class Fle{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class I3{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class Ole{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class Ble{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class Wle{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Hle{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const i=String(++this._lastSentReq);return new Promise((n,o)=>{this._pendingReplies[i]={resolve:n,reject:o},this._send(new Fle(this._workerId,i,e,t))})}listen(e,t){let i=null;const n=new B({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new Ole(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new Wle(this._workerId,i)),i=null}});return n.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn(\"Got reply to unknown seq\");return}const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&(i=new Error,i.name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req;this._handler.handleMessage(e.method,e.args).then(n=>{this._send(new I3(this._workerId,t,n,void 0))},n=>{n.detail instanceof Error&&(n.detail=e3(n.detail)),this._send(new I3(this._workerId,t,void 0,e3(n)))})}_handleSubscribeEventMessage(e){const t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(n=>{this._send(new Ble(this._workerId,t,n))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn(\"Got event for unknown req\");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn(\"Got unsubscribe for unknown req\");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){const t=[];if(e.type===0)for(let i=0;i<e.args.length;i++)e.args[i]instanceof ArrayBuffer&&t.push(e.args[i]);else e.type===1&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}class Vle extends H{constructor(e,t,i){super();let n=null;this._worker=this._register(e.create(\"vs/base/common/worker/simpleWorker\",c=>{this._protocol.handleMessage(c)},c=>{n==null||n(c)})),this._protocol=new Hle({sendMessage:(c,u)=>{this._worker.postMessage(c,u)},handleMessage:(c,u)=>{if(typeof i[c]!=\"function\")return Promise.reject(new Error(\"Missing method \"+c+\" on main thread host.\"));try{return Promise.resolve(i[c].apply(i,u))}catch(h){return Promise.reject(h)}},handleEvent:(c,u)=>{if(Gz(c)){const h=i[c].call(i,u);if(typeof h!=\"function\")throw new Error(`Missing dynamic event ${c} on main thread host.`);return h}if(qz(c)){const h=i[c];if(typeof h!=\"function\")throw new Error(`Missing event ${c} on main thread host.`);return h}throw new Error(`Malformed event name ${c}`)}}),this._protocol.setWorkerId(this._worker.getId());let o=null;const r=globalThis.require;typeof r<\"u\"&&typeof r.getConfig==\"function\"?o=r.getConfig():typeof globalThis.requirejs<\"u\"&&(o=globalThis.requirejs.s.contexts._.config);const a=BP(i);this._onModuleLoaded=this._protocol.sendMessage(Ple,[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,a]);const l=(c,u)=>this._request(c,u),d=(c,u)=>this._protocol.listen(c,u);this._lazyProxy=new Promise((c,u)=>{n=u,this._onModuleLoaded.then(h=>{c(zle(h,l,d))},h=>{u(h),this._onError(\"Worker failed to load \"+t,h)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){console.error(e),console.info(t)}}function qz(s){return s[0]===\"o\"&&s[1]===\"n\"&&Fl(s.charCodeAt(2))}function Gz(s){return/^onDynamic/.test(s)&&Fl(s.charCodeAt(9))}function zle(s,e,t){const i=r=>function(){const a=Array.prototype.slice.call(arguments,0);return e(r,a)},n=r=>function(a){return t(r,a)},o={};for(const r of s){if(Gz(r)){o[r]=n(r);continue}if(qz(r)){o[r]=t(r,void 0);continue}o[r]=i(r)}return o}function tu(s,e){var t;const i=globalThis.MonacoEnvironment;if(i!=null&&i.createTrustedTypesPolicy)try{return i.createTrustedTypesPolicy(s,e)}catch(n){Xe(n);return}try{return(t=Ht.trustedTypes)===null||t===void 0?void 0:t.createPolicy(s,e)}catch(n){Xe(n);return}}const T3=tu(\"defaultWorkerFactory\",{createScriptURL:s=>s});function Ule(s){const e=globalThis.MonacoEnvironment;if(e){if(typeof e.getWorker==\"function\")return e.getWorker(\"workerMain.js\",s);if(typeof e.getWorkerUrl==\"function\"){const t=e.getWorkerUrl(\"workerMain.js\",s);return new Worker(T3?T3.createScriptURL(t):t,{name:s})}}throw new Error(\"You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker\")}function $le(s){return typeof s.then==\"function\"}class jle extends H{constructor(e,t,i,n,o){super(),this.id=t,this.label=i;const r=Ule(i);$le(r)?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e,[]),this.worker.then(a=>{a.onmessage=function(l){n(l.data)},a.onmessageerror=o,typeof a.addEventListener==\"function\"&&a.addEventListener(\"error\",o)}),this._register(Ie(()=>{var a;(a=this.worker)===null||a===void 0||a.then(l=>{l.onmessage=null,l.onmessageerror=null,l.removeEventListener(\"error\",o),l.terminate()}),this.worker=null}))}getId(){return this.id}postMessage(e,t){var i;(i=this.worker)===null||i===void 0||i.then(n=>{try{n.postMessage(e,t)}catch(o){Xe(o),Xe(new Error(`FAILED to post message to '${this.label}'-worker`,{cause:o}))}})}}class gx{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){const n=++gx.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new jle(e,n,this._label||\"anonymous\"+n,t,o=>{uA(o),this._webWorkerFailedBeforeError=o,i(o)})}}gx.LAST_WORKER_ID=0;var Qi;(function(s){s[s.None=0]=\"None\",s[s.Indent=1]=\"Indent\",s[s.IndentOutdent=2]=\"IndentOutdent\",s[s.Outdent=3]=\"Outdent\"})(Qi||(Qi={}));class YE{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;t<i;t++)switch(e.notIn[t]){case\"string\":this._inString=!1;break;case\"comment\":this._inComment=!1;break;case\"regex\":this._inRegEx=!1;break}}isOK(e){switch(e){case 0:return!0;case 1:return this._inComment;case 2:return this._inString;case 3:return this._inRegEx}}shouldAutoClose(e,t){if(e.getTokenCount()===0)return!0;const i=e.findTokenIndexAtOffset(t-2),n=e.getStandardTokenType(i);return this.isOK(n)}_findNeutralCharacterInRange(e,t){for(let i=e;i<=t;i++){const n=String.fromCharCode(i);if(!this.open.includes(n)&&!this.close.includes(n))return n}return null}findNeutralCharacter(){return this._neutralCharacterSearched||(this._neutralCharacterSearched=!0,this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(48,57)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(97,122)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(65,90))),this._neutralCharacter}}class Kle{constructor(e){this.autoClosingPairsOpenByStart=new Map,this.autoClosingPairsOpenByEnd=new Map,this.autoClosingPairsCloseByStart=new Map,this.autoClosingPairsCloseByEnd=new Map,this.autoClosingPairsCloseSingleChar=new Map;for(const t of e)F0(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),F0(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),F0(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),F0(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),t.close.length===1&&t.open.length===1&&F0(this.autoClosingPairsCloseSingleChar,t.close,t)}}function F0(s,e,t){s.has(e)?s.get(e).push(t):s.set(e,[t])}function fx(s,e){const t=s.getCount(),i=s.findTokenIndexAtOffset(e),n=s.getLanguageId(i);let o=i;for(;o+1<t&&s.getLanguageId(o+1)===n;)o++;let r=i;for(;r>0&&s.getLanguageId(r-1)===n;)r--;return new qle(s,n,r,o+1,s.getStartOffset(r),s.getEndOffset(o))}class qle{constructor(e,t,i,n,o,r){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=i,this._lastTokenIndex=n,this.firstCharOffset=o,this._lastCharOffset=r}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function Il(s){return(s&3)!==0}class u_{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(t=>new YE(t)):e.brackets?this._autoClosingPairs=e.brackets.map(t=>new YE({open:t[0],close:t[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new YE({open:t.open,close:t.close||\"\"}))}this._autoCloseBeforeForQuotes=typeof e.autoCloseBefore==\"string\"?e.autoCloseBefore:u_.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof e.autoCloseBefore==\"string\"?e.autoCloseBefore:u_.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(e){return e?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}u_.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> \n\t`;u_.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'\"\\`;:.,=}])> \n\t`;const N3=typeof Buffer<\"u\";let QE;class px{static wrap(e){return N3&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new px(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return N3?this.buffer.toString():(QE||(QE=new TextDecoder),QE.decode(this.buffer))}}function Gle(s,e){return s[e+0]<<0>>>0|s[e+1]<<8>>>0}function Zle(s,e,t){s[t+0]=e&255,e=e>>>8,s[t+1]=e&255}function Pa(s,e){return s[e]*2**24+s[e+1]*2**16+s[e+2]*2**8+s[e+3]}function Fa(s,e,t){s[t+3]=e,e=e>>>8,s[t+2]=e,e=e>>>8,s[t+1]=e,e=e>>>8,s[t]=e}function A3(s,e){return s[e]}function M3(s,e,t){s[t]=e}let JE;function Zz(){return JE||(JE=new TextDecoder(\"UTF-16LE\")),JE}let eI;function Xle(){return eI||(eI=new TextDecoder(\"UTF-16BE\")),eI}let tI;function Xz(){return tI||(tI=FV()?Zz():Xle()),tI}function Yle(s,e,t){const i=new Uint16Array(s.buffer,e,t);return t>0&&(i[0]===65279||i[0]===65534)?Qle(s,e,t):Zz().decode(i)}function Qle(s,e,t){const i=[];let n=0;for(let o=0;o<t;o++){const r=Gle(s,e);e+=2,i[n++]=String.fromCharCode(r)}return i.join(\"\")}class l0{constructor(e){this._capacity=e|0,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return this._completedStrings!==null?(this._flushBuffer(),this._completedStrings.join(\"\")):this._buildBuffer()}_buildBuffer(){if(this._bufferLength===0)return\"\";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return Xz().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,this._completedStrings===null?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}appendCharCode(e){const t=this._capacity-this._bufferLength;t<=1&&(t===0||Cn(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIICharCode(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendString(e){const t=e.length;if(this._bufferLength+t>=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;i<t;i++)this._buffer[this._bufferLength++]=e.charCodeAt(i)}}class KS{constructor(e,t,i,n,o,r){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=o,this.reversedRegex=r,this._openSet=KS._toSet(this.open),this._closeSet=KS._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const i of e)t.add(i);return t}}function Jle(s){const e=s.length;s=s.map(r=>[r[0].toLowerCase(),r[1].toLowerCase()]);const t=[];for(let r=0;r<e;r++)t[r]=r;const i=(r,a)=>{const[l,d]=r,[c,u]=a;return l===c||l===u||d===c||d===u},n=(r,a)=>{const l=Math.min(r,a),d=Math.max(r,a);for(let c=0;c<e;c++)t[c]===d&&(t[c]=l)};for(let r=0;r<e;r++){const a=s[r];for(let l=r+1;l<e;l++){const d=s[l];i(a,d)&&n(t[r],t[l])}}const o=[];for(let r=0;r<e;r++){const a=[],l=[];for(let d=0;d<e;d++)if(t[d]===r){const[c,u]=s[d];a.push(c),l.push(u)}a.length>0&&o.push({open:a,close:l})}return o}class ede{constructor(e,t){this._richEditBracketsBrand=void 0;const i=Jle(t);this.brackets=i.map((n,o)=>new KS(e,o,n.open,n.close,tde(n.open,n.close,i,o),ide(n.open,n.close,i,o))),this.forwardRegex=nde(this.brackets),this.reversedRegex=sde(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const n of this.brackets){for(const o of n.open)this.textIsBracket[o]=n,this.textIsOpenBracket[o]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,o.length);for(const o of n.close)this.textIsBracket[o]=n,this.textIsOpenBracket[o]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,o.length)}}}function Yz(s,e,t,i){for(let n=0,o=e.length;n<o;n++){if(n===t)continue;const r=e[n];for(const a of r.open)a.indexOf(s)>=0&&i.push(a);for(const a of r.close)a.indexOf(s)>=0&&i.push(a)}}function Qz(s,e){return s.length-e.length}function mx(s){if(s.length<=1)return s;const e=[],t=new Set;for(const i of s)t.has(i)||(e.push(i),t.add(i));return e}function tde(s,e,t,i){let n=[];n=n.concat(s),n=n.concat(e);for(let o=0,r=n.length;o<r;o++)Yz(n[o],t,i,n);return n=mx(n),n.sort(Qz),n.reverse(),_x(n)}function ide(s,e,t,i){let n=[];n=n.concat(s),n=n.concat(e);for(let o=0,r=n.length;o<r;o++)Yz(n[o],t,i,n);return n=mx(n),n.sort(Qz),n.reverse(),_x(n.map(mF))}function nde(s){let e=[];for(const t of s){for(const i of t.open)e.push(i);for(const i of t.close)e.push(i)}return e=mx(e),_x(e)}function sde(s){let e=[];for(const t of s){for(const i of t.open)e.push(i);for(const i of t.close)e.push(i)}return e=mx(e),_x(e.map(mF))}function ode(s){const e=/^[\\w ]+$/.test(s);return s=rr(s),e?`\\\\b${s}\\\\b`:s}function _x(s){const e=`(${s.map(ode).join(\")|(\")})`;return oz(e,!0)}const mF=function(){function s(i){const n=new Uint16Array(i.length);let o=0;for(let r=i.length-1;r>=0;r--)n[o++]=i.charCodeAt(r);return Xz().decode(n)}let e=null,t=null;return function(n){return e!==n&&(e=n,t=s(e)),t}}();class Qr{static _findPrevBracketInText(e,t,i,n){const o=i.match(e);if(!o)return null;const r=i.length-(o.index||0),a=o[0].length,l=n+r;return new x(t,l-a+1,t,l+1)}static findPrevBracketInRange(e,t,i,n,o){const a=mF(i).substring(i.length-o,i.length-n);return this._findPrevBracketInText(e,t,a,n)}static findNextBracketInText(e,t,i,n){const o=i.match(e);if(!o)return null;const r=o.index||0,a=o[0].length;if(a===0)return null;const l=n+r;return new x(t,l+1,t,l+1+a)}static findNextBracketInRange(e,t,i,n,o){const r=i.substring(n,o);return this.findNextBracketInText(e,t,r,n)}}class rde{constructor(e){this._richEditBrackets=e}getElectricCharacters(){const e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const i of t.close){const n=i.charAt(i.length-1);e.push(n)}return Wc(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const n=t.findTokenIndexAtOffset(i-1);if(Il(t.getStandardTokenType(n)))return null;const o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,i-1)+e,a=Qr.findPrevBracketInRange(o,1,r,0,r.length);if(!a)return null;const l=r.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[l])return null;const c=t.getActualLineContentBefore(a.startColumn-1);return/^\\s*$/.test(c)?{matchOpenBracket:l}:null}}function pw(s){return s.global&&(s.lastIndex=0),!0}class ade{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&pw(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&pw(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&pw(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&pw(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}class im{constructor(e){e=e||{},e.brackets=e.brackets||[[\"(\",\")\"],[\"{\",\"}\"],[\"[\",\"]\"]],this._brackets=[],e.brackets.forEach(t=>{const i=im._createOpenBracketRegExp(t[0]),n=im._createCloseBracketRegExp(t[1]);i&&n&&this._brackets.push({open:t[0],openRegExp:i,close:t[1],closeRegExp:n})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(e>=3)for(let o=0,r=this._regExpRules.length;o<r;o++){const a=this._regExpRules[o];if([{reg:a.beforeText,text:i},{reg:a.afterText,text:n},{reg:a.previousLineText,text:t}].every(d=>d.reg?(d.reg.lastIndex=0,d.reg.test(d.text)):!0))return a.action}if(e>=2&&i.length>0&&n.length>0)for(let o=0,r=this._brackets.length;o<r;o++){const a=this._brackets[o];if(a.openRegExp.test(i)&&a.closeRegExp.test(n))return{indentAction:Qi.IndentOutdent}}if(e>=2&&i.length>0){for(let o=0,r=this._brackets.length;o<r;o++)if(this._brackets[o].openRegExp.test(i))return{indentAction:Qi.Indent}}return null}static _createOpenBracketRegExp(e){let t=rr(e);return/\\B/.test(t.charAt(0))||(t=\"\\\\b\"+t),t+=\"\\\\s*$\",im._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=rr(e);return/\\B/.test(t.charAt(t.length-1))||(t=t+\"\\\\b\"),t=\"^\\\\s*\"+t,im._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(t){return Xe(t),null}}}const rt=ut(\"configurationService\");function hA(s,e){const t=Object.create(null);for(const i in s)Jz(t,i,s[i],e);return t}function Jz(s,e,t,i){const n=e.split(\".\"),o=n.pop();let r=s;for(let a=0;a<n.length;a++){const l=n[a];let d=r[l];switch(typeof d){case\"undefined\":d=r[l]=Object.create(null);break;case\"object\":if(d===null){i(`Ignoring ${e} as ${n.slice(0,a+1).join(\".\")} is null`);return}break;default:i(`Ignoring ${e} as ${n.slice(0,a+1).join(\".\")} is ${JSON.stringify(d)}`);return}r=d}if(typeof r==\"object\"&&r!==null)try{r[o]=t}catch{i(`Ignoring ${e} as ${n.join(\".\")} is ${JSON.stringify(r)}`)}else i(`Ignoring ${e} as ${n.join(\".\")} is ${JSON.stringify(r)}`)}function lde(s,e){const t=e.split(\".\");eU(s,t)}function eU(s,e){const t=e.shift();if(e.length===0){delete s[t];return}if(Object.keys(s).indexOf(t)!==-1){const i=s[t];typeof i==\"object\"&&!Array.isArray(i)&&(eU(i,e),Object.keys(i).length===0&&delete s[t])}}function R3(s,e,t){function i(r,a){let l=r;for(const d of a){if(typeof l!=\"object\"||l===null)return;l=l[d]}return l}const n=e.split(\".\"),o=i(s,n);return typeof o>\"u\"?t:o}function dde(s){return s.replace(/[\\[\\]]/g,\"\")}const vi=ut(\"languageService\");class Ol{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}const tU=[];function mt(s,e,t){e instanceof Ol||(e=new Ol(e,[],!!t)),tU.push([s,e])}function P3(){return tU}const Ti=Object.freeze({text:\"text/plain\",binary:\"application/octet-stream\",unknown:\"application/unknown\",markdown:\"text/markdown\",latex:\"text/latex\",uriList:\"text/uri-list\"}),vx={JSONContribution:\"base.contributions.json\"};function cde(s){return s.length>0&&s.charAt(s.length-1)===\"#\"?s.substring(0,s.length-1):s}class ude{constructor(){this._onDidChangeSchema=new B,this.schemasById={}}registerSchema(e,t){this.schemasById[cde(e)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}}const hde=new ude;Ji.add(vx.JSONContribution,hde);const pl={Configuration:\"base.contributions.configuration\"},mw=\"vscode://schemas/settings/resourceLanguage\",F3=Ji.as(vx.JSONContribution);class gde{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new B,this._onDidUpdateConfiguration=new B,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:\"defaultOverrides\",title:p(\"defaultLanguageConfigurationOverrides.title\",\"Default Language Configuration Overrides\"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},F3.registerSchema(mw,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const i=new Set;this.doRegisterConfigurations(e,t,i),F3.registerSchema(mw,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:i})}registerDefaultConfigurations(e){const t=new Set;this.doRegisterDefaultConfigurations(e,t),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:t,defaultsOverrides:!0})}doRegisterDefaultConfigurations(e,t){var i;const n=[];for(const{overrides:o,source:r}of e)for(const a in o)if(t.add(a),Th.test(a)){const l=this.configurationDefaultsOverrides.get(a),d=(i=l==null?void 0:l.valuesSources)!==null&&i!==void 0?i:new Map;if(r)for(const g of Object.keys(o[a]))d.set(g,r);const c={...(l==null?void 0:l.value)||{},...o[a]};this.configurationDefaultsOverrides.set(a,{source:r,value:c,valuesSources:d});const u=dde(a),h={type:\"object\",default:c,description:p(\"defaultLanguageConfiguration.description\",\"Configure settings to be overridden for the {0} language.\",u),$ref:mw,defaultDefaultValue:c,source:lo(r)?void 0:r,defaultValueSource:r};n.push(...qS(a)),this.configurationProperties[a]=h,this.defaultLanguageConfigurationOverridesNode.properties[a]=h}else{this.configurationDefaultsOverrides.set(a,{value:o[a],source:r});const l=this.configurationProperties[a];l&&(this.updatePropertyDefaultValue(a,l),this.updateSchema(a,l))}this.doRegisterOverrideIdentifiers(n)}registerOverrideIdentifiers(e){this.doRegisterOverrideIdentifiers(e),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(e,t,i){e.forEach(n=>{this.validateAndRegisterProperties(n,t,n.extensionInfo,n.restrictedProperties,void 0,i),this.configurationContributors.push(n),this.registerJSONConfiguration(n)})}validateAndRegisterProperties(e,t=!0,i,n,o=3,r){var a;o=Go(e.scope)?o:e.scope;const l=e.properties;if(l)for(const c in l){const u=l[c];if(t&&mde(c,u)){delete l[c];continue}if(u.source=i,u.defaultDefaultValue=l[c].default,this.updatePropertyDefaultValue(c,u),Th.test(c)?u.scope=void 0:(u.scope=Go(u.scope)?o:u.scope,u.restricted=Go(u.restricted)?!!(n!=null&&n.includes(c)):u.restricted),l[c].hasOwnProperty(\"included\")&&!l[c].included){this.excludedConfigurationProperties[c]=l[c],delete l[c];continue}else this.configurationProperties[c]=l[c],!((a=l[c].policy)===null||a===void 0)&&a.name&&this.policyConfigurations.set(l[c].policy.name,c);!l[c].deprecationMessage&&l[c].markdownDeprecationMessage&&(l[c].deprecationMessage=l[c].markdownDeprecationMessage),r.add(c)}const d=e.allOf;if(d)for(const c of d)this.validateAndRegisterProperties(c,t,i,n,o,r)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){const t=i=>{const n=i.properties;if(n)for(const r in n)this.updateSchema(r,n[r]);const o=i.allOf;o==null||o.forEach(t)};t(e)}updateSchema(e,t){switch(t.scope){case 1:break;case 2:break;case 6:break;case 3:break;case 4:break;case 5:this.resourceLanguageSettingsSchema.properties[e]=t;break}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,i={type:\"object\",description:p(\"overrideSettings.defaultDescription\",\"Configure editor settings to be overridden for a language.\"),errorMessage:p(\"overrideSettings.errorMessage\",\"This setting does not support per-language configuration.\"),$ref:mw};this.updatePropertyDefaultValue(t,i)}}registerOverridePropertyPatternKey(){p(\"overrideSettings.defaultDescription\",\"Configure editor settings to be overridden for a language.\"),p(\"overrideSettings.errorMessage\",\"This setting does not support per-language configuration.\"),this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){const i=this.configurationDefaultsOverrides.get(e);let n=i==null?void 0:i.value,o=i==null?void 0:i.source;oo(n)&&(n=t.defaultDefaultValue,o=void 0),oo(n)&&(n=pde(t.type)),t.default=n,t.defaultValueSource=o}}const iU=\"\\\\[([^\\\\]]+)\\\\]\",O3=new RegExp(iU,\"g\"),fde=`^(${iU})+$`,Th=new RegExp(fde);function qS(s){const e=[];if(Th.test(s)){let t=O3.exec(s);for(;t!=null&&t.length;){const i=t[1].trim();i&&e.push(i),t=O3.exec(s)}}return Wc(e)}function pde(s){switch(Array.isArray(s)?s[0]:s){case\"boolean\":return!1;case\"integer\":case\"number\":return 0;case\"string\":return\"\";case\"array\":return[];case\"object\":return{};default:return null}}const Hy=new gde;Ji.add(pl.Configuration,Hy);function mde(s,e){var t,i,n,o;return s.trim()?Th.test(s)?p(\"config.property.languageDefault\",\"Cannot register '{0}'. This matches property pattern '\\\\\\\\[.*\\\\\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.\",s):Hy.getConfigurationProperties()[s]!==void 0?p(\"config.property.duplicate\",\"Cannot register '{0}'. This property is already registered.\",s):!((t=e.policy)===null||t===void 0)&&t.name&&Hy.getPolicyConfigurations().get((i=e.policy)===null||i===void 0?void 0:i.name)!==void 0?p(\"config.policy.duplicate\",\"Cannot register '{0}'. The associated policy {1} is already registered with {2}.\",s,(n=e.policy)===null||n===void 0?void 0:n.name,Hy.getPolicyConfigurations().get((o=e.policy)===null||o===void 0?void 0:o.name)):null:p(\"config.property.empty\",\"Cannot register an empty property\")}const _de={ModesRegistry:\"editor.modesRegistry\"};class vde{constructor(){this._onDidChangeLanguages=new B,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t<i;t++)if(this._languages[t]===e){this._languages.splice(t,1);return}}}}getLanguages(){return this._languages}}const h_=new vde;Ji.add(_de.ModesRegistry,h_);const ir=\"plaintext\",bde=\".txt\";h_.registerLanguage({id:ir,extensions:[bde],aliases:[p(\"plainText.alias\",\"Plain Text\"),\"text\"],mimetypes:[Ti.text]});Ji.as(pl.Configuration).registerDefaultConfigurations([{overrides:{\"[plaintext]\":{\"editor.unicodeHighlight.ambiguousCharacters\":!1,\"editor.unicodeHighlight.invisibleCharacters\":!1}}}]);class Cde{constructor(e,t){this.languageId=e;const i=t.brackets?B3(t.brackets):[],n=new r3(a=>{const l=new Set;return{info:new wde(this,a,l),closing:l}}),o=new r3(a=>{const l=new Set,d=new Set;return{info:new yde(this,a,l,d),opening:l,openingColorized:d}});for(const[a,l]of i){const d=n.get(a),c=o.get(l);d.closing.add(c.info),c.opening.add(d.info)}const r=t.colorizedBracketPairs?B3(t.colorizedBracketPairs):i.filter(a=>!(a[0]===\"<\"&&a[1]===\">\"));for(const[a,l]of r){const d=n.get(a),c=o.get(l);d.closing.add(c.info),c.openingColorized.add(d.info),c.opening.add(d.info)}this._openingBrackets=new Map([...n.cachedValues].map(([a,l])=>[a,l.info])),this._closingBrackets=new Map([...o.cachedValues].map(([a,l])=>[a,l.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}}function B3(s){return s.filter(([e,t])=>e!==\"\"&&t!==\"\")}class nU{constructor(e,t){this.config=e,this.bracketText=t}get languageId(){return this.config.languageId}}class wde extends nU{constructor(e,t,i){super(e,t),this.openedBrackets=i,this.isOpeningBracket=!0}}class yde extends nU{constructor(e,t,i,n){super(e,t),this.openingBrackets=i,this.openingColorizedBrackets=n,this.isOpeningBracket=!1}closes(e){return e.config!==this.config?!1:this.openingBrackets.has(e)}closesColorized(e){return e.config!==this.config?!1:this.openingColorizedBrackets.has(e)}getOpeningBrackets(){return[...this.openingBrackets]}}var Sde=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},W3=function(s,e){return function(t,i){e(t,i,s)}};class iI{constructor(e){this.languageId=e}affects(e){return this.languageId?this.languageId===e:!0}}const Yt=ut(\"languageConfigurationService\");let gA=class extends H{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this._registry=this._register(new kde),this.onDidChangeEmitter=this._register(new B),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;const i=new Set(Object.values(fA));this._register(this.configurationService.onDidChangeConfiguration(n=>{const o=n.change.keys.some(a=>i.has(a)),r=n.change.overrides.filter(([a,l])=>l.some(d=>i.has(d))).map(([a])=>a);if(o)this.configurations.clear(),this.onDidChangeEmitter.fire(new iI(void 0));else for(const a of r)this.languageService.isRegisteredLanguageId(a)&&(this.configurations.delete(a),this.onDidChangeEmitter.fire(new iI(a)))})),this._register(this._registry.onDidChange(n=>{this.configurations.delete(n.languageId),this.onDidChangeEmitter.fire(new iI(n.languageId))}))}register(e,t,i){return this._registry.register(e,t,i)}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=Dde(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};gA=Sde([W3(0,rt),W3(1,vi)],gA);function Dde(s,e,t,i){let n=e.getLanguageConfiguration(s);if(!n){if(!i.isRegisteredLanguageId(s))return new Nm(s,{});n=new Nm(s,{})}const o=Lde(n.languageId,t),r=oU([n.underlyingConfig,o]);return new Nm(n.languageId,r)}const fA={brackets:\"editor.language.brackets\",colorizedBracketPairs:\"editor.language.colorizedBracketPairs\"};function Lde(s,e){const t=e.getValue(fA.brackets,{overrideIdentifier:s}),i=e.getValue(fA.colorizedBracketPairs,{overrideIdentifier:s});return{brackets:H3(t),colorizedBracketPairs:H3(i)}}function H3(s){if(Array.isArray(s))return s.map(e=>{if(!(!Array.isArray(e)||e.length!==2))return[e[0],e[1]]}).filter(e=>!!e)}function sU(s,e,t){const i=s.getLineContent(e);let n=Zt(i);return n.length>t-1&&(n=n.substring(0,t-1)),n}function Tm(s,e,t){s.tokenization.forceTokenization(e);const i=s.tokenization.getLineTokens(e),n=typeof t>\"u\"?s.getLineMaxColumn(e)-1:t-1;return fx(i,n)}class xde{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){const i=new V3(e,t,++this._order);return this._entries.push(i),this._resolved=null,Ie(()=>{for(let n=0;n<this._entries.length;n++)if(this._entries[n]===i){this._entries.splice(n,1),this._resolved=null;break}})}getResolvedConfiguration(){if(!this._resolved){const e=this._resolve();e&&(this._resolved=new Nm(this.languageId,e))}return this._resolved}_resolve(){return this._entries.length===0?null:(this._entries.sort(V3.cmp),oU(this._entries.map(e=>e.configuration)))}}function oU(s){let e={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const t of s)e={comments:t.comments||e.comments,brackets:t.brackets||e.brackets,wordPattern:t.wordPattern||e.wordPattern,indentationRules:t.indentationRules||e.indentationRules,onEnterRules:t.onEnterRules||e.onEnterRules,autoClosingPairs:t.autoClosingPairs||e.autoClosingPairs,surroundingPairs:t.surroundingPairs||e.surroundingPairs,autoCloseBefore:t.autoCloseBefore||e.autoCloseBefore,folding:t.folding||e.folding,colorizedBracketPairs:t.colorizedBracketPairs||e.colorizedBracketPairs,__electricCharacterSupport:t.__electricCharacterSupport||e.__electricCharacterSupport};return e}class V3{constructor(e,t,i){this.configuration=e,this.priority=t,this.order=i}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class z3{constructor(e){this.languageId=e}}class kde extends H{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._register(this.register(ir,{brackets:[[\"(\",\")\"],[\"[\",\"]\"],[\"{\",\"}\"]],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,t,i=0){let n=this._entries.get(e);n||(n=new xde(e),this._entries.set(e,n));const o=n.register(t,i);return this._onDidChange.fire(new z3(e)),Ie(()=>{o.dispose(),this._onDidChange.fire(new z3(e))})}getLanguageConfiguration(e){const t=this._entries.get(e);return(t==null?void 0:t.getResolvedConfiguration())||null}}class Nm{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new im(this.underlyingConfig):null,this.comments=Nm._handleComments(this.underlyingConfig),this.characterPair=new u_(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||VP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new ade(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new Cde(e,this.underlyingConfig)}getWordDefinition(){return zP(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new ede(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new rde(this.brackets)),this._electricCharacter}onEnter(e,t,i,n){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,i,n):null}getAutoClosingPairs(){return new Kle(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(e){return this.characterPair.getAutoCloseBeforeSet(e)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){const t=e.comments;if(!t)return null;const i={};if(t.lineComment&&(i.lineCommentToken=t.lineComment),t.blockComment){const[n,o]=t.blockComment;i.blockCommentStartToken=n,i.blockCommentEndToken=o}return i}}mt(Yt,gA,1);class Cu{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}class U3{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i<n;i++)t[i]=e.charCodeAt(i);return t}}function Ede(s,e,t){return new zl(new U3(s),new U3(e)).ComputeDiff(t).changes}class Lp{static Assert(e,t){if(!e)throw new Error(t)}}class xp{static Copy(e,t,i,n,o){for(let r=0;r<o;r++)i[n+r]=e[t+r]}static Copy2(e,t,i,n,o){for(let r=0;r<o;r++)i[n+r]=e[t+r]}}class $3{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Cu(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class zl{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;const[n,o,r]=zl._getElements(e),[a,l,d]=zl._getElements(t);this._hasStrings=r&&d,this._originalStringElements=n,this._originalElementsOrHash=o,this._modifiedStringElements=a,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]==\"string\"}static _getElements(e){const t=e.getElements();if(zl._isStringArray(t)){const i=new Int32Array(t.length);for(let n=0,o=t.length;n<o;n++)i[n]=aF(t[n],0);return[t,i,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[t]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[t]:!0}ElementsAreStrictEqual(e,t){if(!this.ElementsAreEqual(e,t))return!1;const i=zl._getStrictElement(this._originalSequence,e),n=zl._getStrictElement(this._modifiedSequence,t);return i===n}static _getStrictElement(e,t){return typeof e.getStrictElement==\"function\"?e.getStrictElement(t):null}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[t]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[t]:!0}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[t]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[t]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,i,n,o){const r=[!1];let a=this.ComputeDiffRecursive(e,t,i,n,r);return o&&(a=this.PrettifyChanges(a)),{quitEarly:r[0],changes:a}}ComputeDiffRecursive(e,t,i,n,o){for(o[0]=!1;e<=t&&i<=n&&this.ElementsAreEqual(e,i);)e++,i++;for(;t>=e&&n>=i&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||i>n){let u;return i<=n?(Lp.Assert(e===t+1,\"originalStart should only be one more than originalEnd\"),u=[new Cu(e,0,i,n-i+1)]):e<=t?(Lp.Assert(i===n+1,\"modifiedStart should only be one more than modifiedEnd\"),u=[new Cu(e,t-e+1,i,0)]):(Lp.Assert(e===t+1,\"originalStart should only be one more than originalEnd\"),Lp.Assert(i===n+1,\"modifiedStart should only be one more than modifiedEnd\"),u=[]),u}const r=[0],a=[0],l=this.ComputeRecursionPoint(e,t,i,n,r,a,o),d=r[0],c=a[0];if(l!==null)return l;if(!o[0]){const u=this.ComputeDiffRecursive(e,d,i,c,o);let h=[];return o[0]?h=[new Cu(d+1,t-(d+1)+1,c+1,n-(c+1)+1)]:h=this.ComputeDiffRecursive(d+1,t,c+1,n,o),this.ConcatenateChanges(u,h)}return[new Cu(e,t-e+1,i,n-i+1)]}WALKTRACE(e,t,i,n,o,r,a,l,d,c,u,h,g,f,m,_,v,b){let C=null,w=null,y=new $3,D=t,L=i,k=g[0]-_[0]-n,I=-1073741824,O=this.m_forwardHistory.length-1;do{const R=k+e;R===D||R<L&&d[R-1]<d[R+1]?(u=d[R+1],f=u-k-n,u<I&&y.MarkNextChange(),I=u,y.AddModifiedElement(u+1,f),k=R+1-e):(u=d[R-1]+1,f=u-k-n,u<I&&y.MarkNextChange(),I=u-1,y.AddOriginalElement(u,f+1),k=R-1-e),O>=0&&(d=this.m_forwardHistory[O],e=d[0],D=1,L=d.length-1)}while(--O>=-1);if(C=y.getReverseChanges(),b[0]){let R=g[0]+1,P=_[0]+1;if(C!==null&&C.length>0){const F=C[C.length-1];R=Math.max(R,F.getOriginalEnd()),P=Math.max(P,F.getModifiedEnd())}w=[new Cu(R,h-R+1,P,m-P+1)]}else{y=new $3,D=r,L=a,k=g[0]-_[0]-l,I=1073741824,O=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const R=k+o;R===D||R<L&&c[R-1]>=c[R+1]?(u=c[R+1]-1,f=u-k-l,u>I&&y.MarkNextChange(),I=u+1,y.AddOriginalElement(u+1,f+1),k=R+1-o):(u=c[R-1],f=u-k-l,u>I&&y.MarkNextChange(),I=u,y.AddModifiedElement(u+1,f+1),k=R-1-o),O>=0&&(c=this.m_reverseHistory[O],o=c[0],D=1,L=c.length-1)}while(--O>=-1);w=y.getChanges()}return this.ConcatenateChanges(C,w)}ComputeRecursionPoint(e,t,i,n,o,r,a){let l=0,d=0,c=0,u=0,h=0,g=0;e--,i--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(n-i),m=f+1,_=new Int32Array(m),v=new Int32Array(m),b=n-i,C=t-e,w=e-i,y=t-n,L=(C-b)%2===0;_[b]=e,v[C]=t,a[0]=!1;for(let k=1;k<=f/2+1;k++){let I=0,O=0;c=this.ClipDiagonalBound(b-k,k,b,m),u=this.ClipDiagonalBound(b+k,k,b,m);for(let P=c;P<=u;P+=2){P===c||P<u&&_[P-1]<_[P+1]?l=_[P+1]:l=_[P-1]+1,d=l-(P-b)-w;const F=l;for(;l<t&&d<n&&this.ElementsAreEqual(l+1,d+1);)l++,d++;if(_[P]=l,l+d>I+O&&(I=l,O=d),!L&&Math.abs(P-C)<=k-1&&l>=v[P])return o[0]=l,r[0]=d,F<=v[P]&&k<=1448?this.WALKTRACE(b,c,u,w,C,h,g,y,_,v,l,t,o,d,n,r,L,a):null}const R=(I-e+(O-i)-k)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(I,R))return a[0]=!0,o[0]=I,r[0]=O,R>0&&k<=1448?this.WALKTRACE(b,c,u,w,C,h,g,y,_,v,l,t,o,d,n,r,L,a):(e++,i++,[new Cu(e,t-e+1,i,n-i+1)]);h=this.ClipDiagonalBound(C-k,k,C,m),g=this.ClipDiagonalBound(C+k,k,C,m);for(let P=h;P<=g;P+=2){P===h||P<g&&v[P-1]>=v[P+1]?l=v[P+1]-1:l=v[P-1],d=l-(P-C)-y;const F=l;for(;l>e&&d>i&&this.ElementsAreEqual(l,d);)l--,d--;if(v[P]=l,L&&Math.abs(P-b)<=k&&l<=_[P])return o[0]=l,r[0]=d,F>=_[P]&&k<=1448?this.WALKTRACE(b,c,u,w,C,h,g,y,_,v,l,t,o,d,n,r,L,a):null}if(k<=1447){let P=new Int32Array(u-c+2);P[0]=b-c+1,xp.Copy2(_,c,P,1,u-c+1),this.m_forwardHistory.push(P),P=new Int32Array(g-h+2),P[0]=C-h+1,xp.Copy2(v,h,P,1,g-h+1),this.m_reverseHistory.push(P)}}return this.WALKTRACE(b,c,u,w,C,h,g,y,_,v,l,t,o,d,n,r,L,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const i=e[t],n=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,r=i.originalLength>0,a=i.modifiedLength>0;for(;i.originalStart+i.originalLength<n&&i.modifiedStart+i.modifiedLength<o&&(!r||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!a||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){const d=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!d)break;i.originalStart++,i.modifiedStart++}const l=[null];if(t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],l)){e[t]=l[0],e.splice(t+1,1),t--;continue}}for(let t=e.length-1;t>=0;t--){const i=e[t];let n=0,o=0;if(t>0){const u=e[t-1];n=u.originalStart+u.originalLength,o=u.modifiedStart+u.modifiedLength}const r=i.originalLength>0,a=i.modifiedLength>0;let l=0,d=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let u=1;;u++){const h=i.originalStart-u,g=i.modifiedStart-u;if(h<n||g<o||r&&!this.OriginalElementsAreEqual(h,h+i.originalLength)||a&&!this.ModifiedElementsAreEqual(g,g+i.modifiedLength))break;const m=(h===n&&g===o?5:0)+this._boundaryScore(h,i.originalLength,g,i.modifiedLength);m>d&&(d=m,l=u)}i.originalStart-=l,i.modifiedStart-=l;const c=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],c)){e[t-1]=c[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t<i;t++){const n=e[t-1],o=e[t],r=o.originalStart-n.originalStart-n.originalLength,a=n.originalStart,l=o.originalStart+o.originalLength,d=l-a,c=n.modifiedStart,u=o.modifiedStart+o.modifiedLength,h=u-c;if(r<5&&d<20&&h<20){const g=this._findBetterContiguousSequence(a,d,c,h,r);if(g){const[f,m]=g;(f!==n.originalStart+n.originalLength||m!==n.modifiedStart+n.modifiedLength)&&(n.originalLength=f-n.originalStart,n.modifiedLength=m-n.modifiedStart,o.originalStart=f+r,o.modifiedStart=m+r,o.originalLength=l-o.originalStart,o.modifiedLength=u-o.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,i,n,o){if(t<o||n<o)return null;const r=e+t-o+1,a=i+n-o+1;let l=0,d=0,c=0;for(let u=e;u<r;u++)for(let h=i;h<a;h++){const g=this._contiguousSequenceScore(u,h,o);g>0&&g>l&&(l=g,d=u,c=h)}return l>0?[d,c]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let o=0;o<i;o++){if(!this.ElementsAreEqual(e+o,t+o))return 0;n+=this._originalStringElements[e+o].length}return n}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){const o=this._OriginalRegionIsBoundary(e,t)?1:0,r=this._ModifiedRegionIsBoundary(i,n)?1:0;return o+r}ConcatenateChanges(e,t){const i=[];if(e.length===0||t.length===0)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){const n=new Array(e.length+t.length-1);return xp.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],xp.Copy(t,1,n,e.length,t.length-1),n}else{const n=new Array(e.length+t.length);return xp.Copy(e,0,n,0,e.length),xp.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,i){if(Lp.Assert(e.originalStart<=t.originalStart,\"Left change is not less than or equal to right change\"),Lp.Assert(e.modifiedStart<=t.modifiedStart,\"Left change is not less than or equal to right change\"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const n=e.originalStart;let o=e.originalLength;const r=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new Cu(n,o,r,a),!0}else return i[0]=null,!1}ClipDiagonalBound(e,t,i,n){if(e>=0&&e<n)return e;const o=i,r=n-i-1,a=t%2===0;if(e<0){const l=o%2===0;return a===l?0:1}else{const l=r%2===0;return a===l?n-1:n-2}}}function GS(s){return s<0?0:s>255?255:s|0}function kp(s){return s<0?0:s>4294967295?4294967295:s|0}class Ide{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=kp(e);const i=this.values,n=this.prefixSum,o=t.length;return o===0?!1:(this.values=new Uint32Array(i.length+o),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=kp(e),t=kp(t),this.values[e]===t?!1:(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=kp(e),t=kp(t);const i=this.values,n=this.prefixSum;if(e>=i.length)return!1;const o=i.length-e;return t>=o&&(t=o),t===0?!1:(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=kp(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;t===0&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,o=0,r=0;for(;t<=i;)if(n=t+(i-t)/2|0,o=this.prefixSum[n],r=o-this.values[n],e<r)i=n-1;else if(e>=o)t=n+1;else break;return new rU(n,e-r)}}class Tde{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return this._ensureValid(),e===0?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();const t=this._indexBySum[e],i=t>0?this._prefixSum[t-1]:0;return new rU(t,e-i)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=zL(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e<t;e++){const i=this._values[e],n=e>0?this._prefixSum[e-1]:0;this._prefixSum[e]=n+i;for(let o=0;o<i;o++)this._indexBySum[n+o]=e}this._prefixSum.length=this._values.length,this._indexBySum.length=this._prefixSum[this._prefixSum.length-1],this._isValid=!0,this._validEndIndex=this._values.length-1}}setValue(e,t){this._values[e]!==t&&(this._values[e]=t,this._invalidate(e))}}class rU{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Nde{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const i of t)this._acceptDeleteRange(i.range),this._acceptInsertText(new W(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;n<t;n++)i[n]=this._lines[n].length+e;this._lineStarts=new Ide(i)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1));return}this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){if(t.length===0)return;const i=Td(t);if(i.length===1){this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+i[0]+this._lines[e.lineNumber-1].substring(e.column-1));return}i[i.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+i[0]);const n=new Uint32Array(i.length-1);for(let o=1;o<i.length;o++)this._lines.splice(e.lineNumber+o-1,0,i[o]),n[o-1]=i[o].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,n)}}class d0{constructor(e){const t=GS(e);this._defaultValue=t,this._asciiMap=d0._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);return t.fill(e),t}set(e,t){const i=GS(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class ZS{constructor(){this._actual=new d0(0)}add(e){this._actual.set(e,1)}has(e){return this._actual.get(e)===1}clear(){return this._actual.clear()}}class Ade{constructor(e,t,i){const n=new Uint8Array(e*t);for(let o=0,r=e*t;o<r;o++)n[o]=i;this._data=n,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,i){this._data[e*this.cols+t]=i}}class Mde{constructor(e){let t=0,i=0;for(let o=0,r=e.length;o<r;o++){const[a,l,d]=e[o];l>t&&(t=l),a>i&&(i=a),d>i&&(i=d)}t++,i++;const n=new Ade(i,t,0);for(let o=0,r=e.length;o<r;o++){const[a,l,d]=e[o];n.set(a,l,d)}this._states=n,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let nI=null;function Rde(){return nI===null&&(nI=new Mde([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),nI}let O0=null;function Pde(){if(O0===null){O0=new d0(0);const s=` \t<>'\"、。｡､，．：；‘〈「『〔（［｛｢｣｝］）〕』」〉’｀～…`;for(let t=0;t<s.length;t++)O0.set(s.charCodeAt(t),1);const e=\".,;:\";for(let t=0;t<e.length;t++)O0.set(e.charCodeAt(t),2)}return O0}class XS{static _createLink(e,t,i,n,o){let r=o-1;do{const a=t.charCodeAt(r);if(e.get(a)!==2)break;r--}while(r>n);if(n>0){const a=t.charCodeAt(n-1),l=t.charCodeAt(r);(a===40&&l===41||a===91&&l===93||a===123&&l===125)&&r--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:r+2},url:t.substring(n,r+1)}}static computeLinks(e,t=Rde()){const i=Pde(),n=[];for(let o=1,r=e.getLineCount();o<=r;o++){const a=e.getLineContent(o),l=a.length;let d=0,c=0,u=0,h=1,g=!1,f=!1,m=!1,_=!1;for(;d<l;){let v=!1;const b=a.charCodeAt(d);if(h===13){let C;switch(b){case 40:g=!0,C=0;break;case 41:C=g?0:1;break;case 91:m=!0,f=!0,C=0;break;case 93:m=!1,C=f?0:1;break;case 123:_=!0,C=0;break;case 125:C=_?0:1;break;case 39:case 34:case 96:u===b?C=1:u===39||u===34||u===96?C=0:C=1;break;case 42:C=u===42?1:0;break;case 124:C=u===124?1:0;break;case 32:C=m?0:1;break;default:C=i.get(b)}C===1&&(n.push(XS._createLink(i,a,o,c,d)),v=!0)}else if(h===12){let C;b===91?(f=!0,C=0):C=i.get(b),C===1?v=!0:h=13}else h=t.nextState(h,b),h===0&&(v=!0);v&&(h=1,g=!1,f=!1,_=!1,c=d+1,u=b),d++}h===13&&n.push(XS._createLink(i,a,o,c,l))}return n}}function Fde(s){return!s||typeof s.getLineCount!=\"function\"||typeof s.getLineContent!=\"function\"?[]:XS.computeLinks(s)}class pA{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(e,t,i,n,o){if(e&&t){const r=this.doNavigateValueSet(t,o);if(r)return{range:e,value:r}}if(i&&n){const r=this.doNavigateValueSet(n,o);if(r)return{range:i,value:r}}return null}doNavigateValueSet(e,t){const i=this.numberReplace(e,t);return i!==null?i:this.textReplace(e,t)}numberReplace(e,t){const i=Math.pow(10,e.length-(e.lastIndexOf(\".\")+1));let n=Number(e);const o=parseFloat(e);return!isNaN(n)&&!isNaN(o)&&n===o?n===0&&!t?null:(n=Math.floor(n*i),n+=t?i:-i,String(n/i)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,i){let n=null;for(let o=0,r=e.length;n===null&&o<r;o++)n=this.valueSetReplace(e[o],t,i);return n}valueSetReplace(e,t,i){let n=e.indexOf(t);return n>=0?(n+=i?1:-1,n<0?n=e.length-1:n%=e.length,e[n]):null}}pA.INSTANCE=new pA;var j3,K3;class Ode{constructor(e,t){this.uri=e,this.value=t}}function Bde(s){return Array.isArray(s)}class Wi{constructor(e,t){if(this[j3]=\"ResourceMap\",e instanceof Wi)this.map=new Map(e.map),this.toKey=t??Wi.defaultToKey;else if(Bde(e)){this.map=new Map,this.toKey=t??Wi.defaultToKey;for(const[i,n]of e)this.set(i,n)}else this.map=new Map,this.toKey=e??Wi.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new Ode(e,t)),this}get(e){var t;return(t=this.map.get(this.toKey(e)))===null||t===void 0?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){typeof t<\"u\"&&(e=e.bind(t));for(const[i,n]of this.map)e(n.value,n.uri,this)}*values(){for(const e of this.map.values())yield e.value}*keys(){for(const e of this.map.values())yield e.uri}*entries(){for(const e of this.map.values())yield[e.uri,e.value]}*[(j3=Symbol.toStringTag,Symbol.iterator)](){for(const[,e]of this.map)yield[e.uri,e.value]}}Wi.defaultToKey=s=>s.toString();class Wde{constructor(){this[K3]=\"LinkedMap\",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)===null||e===void 0?void 0:e.value}get last(){var e;return(e=this._tail)===null||e===void 0?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const i=this._map.get(e);if(i)return t!==0&&this.touch(i,t),i.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,i!==0&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:this.addItemLast(n);break;case 1:this.addItemFirst(n);break;case 2:this.addItemLast(n);break;default:this.addItemLast(n);break}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error(\"Invalid list\");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const i=this._state;let n=this._head;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this._state!==i)throw new Error(\"LinkedMap got modified during iteration.\");n=n.next}}keys(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error(\"LinkedMap got modified during iteration.\");if(i){const o={value:i.key,done:!1};return i=i.next,o}else return{value:void 0,done:!0}}};return n}values(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error(\"LinkedMap got modified during iteration.\");if(i){const o={value:i.value,done:!1};return i=i.next,o}else return{value:void 0,done:!0}}};return n}entries(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error(\"LinkedMap got modified during iteration.\");if(i){const o={value:[i.key,i.value],done:!1};return i=i.next,o}else return{value:void 0,done:!0}}};return n}[(K3=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._tail,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.previous,i--;this._tail=t,this._size=i,t&&(t.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error(\"Invalid list\");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error(\"Invalid list\");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error(\"Invalid list\");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error(\"Invalid list\");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,i=e.previous;if(!t||!i)throw new Error(\"Invalid list\");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error(\"Invalid list\");if(!(t!==1&&t!==2)){if(t===1){if(e===this._head)return;const i=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(i.previous=n,n.next=i),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===2){if(e===this._tail)return;const i=e.next,n=e.previous;e===this._head?(i.previous=void 0,this._head=i):(i.previous=n,n.next=i),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){this.clear();for(const[t,i]of e)this.set(t,i)}}class Hde extends Wde{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class iu extends Hde{constructor(e,t=1){super(e,t)}trim(e){this.trimOld(e)}set(e,t){return super.set(e,t),this.checkTrim(),this}}class Vde{constructor(e){if(this._m1=new Map,this._m2=new Map,e)for(const[t,i]of e)this.set(t,i)}clear(){this._m1.clear(),this._m2.clear()}set(e,t){this._m1.set(e,t),this._m2.set(t,e)}get(e){return this._m1.get(e)}getKey(e){return this._m2.get(e)}delete(e){const t=this._m1.get(e);return t===void 0?!1:(this._m1.delete(e),this._m2.delete(t),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}class _F{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){const i=this.map.get(e);i&&(i.delete(t),i.size===0&&this.map.delete(e))}forEach(e,t){const i=this.map.get(e);i&&i.forEach(t)}get(e){const t=this.map.get(e);return t||new Set}}class zde extends d0{constructor(e,t){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=t,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:\"word\"}):this._segmenter=null;for(let i=0,n=e.length;i<n;i++)this.set(e.charCodeAt(i),2);this.set(32,1),this.set(9,1)}findPrevIntlWordBeforeOrAtOffset(e,t){let i=null;for(const n of this._getIntlSegmenterWordsOnLine(e)){if(n.index>t)break;i=n}return i}findNextIntlWordAtOrAfterOffset(e,t){for(const i of this._getIntlSegmenterWordsOnLine(e))if(!(i.index<t))return i;return null}_getIntlSegmenterWordsOnLine(e){return this._segmenter?this._cachedLine===e?this._cachedSegments:(this._cachedLine=e,this._cachedSegments=this._filterWordSegments(this._segmenter.segment(e)),this._cachedSegments):[]}_filterWordSegments(e){const t=[];for(const i of e)this._isWordLike(i)&&t.push(i);return t}_isWordLike(e){return!!e.isWordLike}}const q3=new iu(10);function Or(s,e){const t=`${s}/${e.join(\",\")}`;let i=q3.get(t);return i||(i=new zde(s,e),q3.set(t,i)),i}var Br;(function(s){s[s.Left=1]=\"Left\",s[s.Center=2]=\"Center\",s[s.Right=4]=\"Right\",s[s.Full=7]=\"Full\"})(Br||(Br={}));var bd;(function(s){s[s.Left=1]=\"Left\",s[s.Center=2]=\"Center\",s[s.Right=3]=\"Right\"})(bd||(bd={}));var aa;(function(s){s[s.Both=0]=\"Both\",s[s.Right=1]=\"Right\",s[s.Left=2]=\"Left\",s[s.None=3]=\"None\"})(aa||(aa={}));class Vy{get originalIndentSize(){return this._indentSizeIsTabSize?\"tabSize\":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,e.tabSize|0),e.indentSize===\"tabSize\"?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,e.indentSize|0),this._indentSizeIsTabSize=!1),this.insertSpaces=!!e.insertSpaces,this.defaultEOL=e.defaultEOL|0,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&tr(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class Wb{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function Ude(s){return s&&typeof s.read==\"function\"}class sI{constructor(e,t,i,n,o,r){this.identifier=e,this.range=t,this.text=i,this.forceMoveMarkers=n,this.isAutoWhitespaceEdit=o,this._isTracked=r}}class $de{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}class jde{constructor(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}}function aU(s){return!s.isTooLargeForSyncing()&&!s.isForSimpleWidget}const Kde=999;class Ig{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){if(this.searchString===\"\")return null;let e;this.isRegex?e=qde(this.searchString):e=this.searchString.indexOf(`\n`)>=0;let t=null;try{t=oz(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch{return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new $de(t,this.wordSeparators?Or(this.wordSeparators,[]):null,i?this.searchString:null)}}function qde(s){if(!s||s.length===0)return!1;for(let e=0,t=s.length;e<t;e++){const i=s.charCodeAt(e);if(i===10)return!0;if(i===92){if(e++,e>=t)break;const n=s.charCodeAt(e);if(n===110||n===114||n===87)return!0}}return!1}function Pg(s,e,t){if(!t)return new Wb(s,null);const i=[];for(let n=0,o=e.length;n<o;n++)i[n]=e[n];return new Wb(s,i)}class G3{constructor(e){const t=[];let i=0;for(let n=0,o=e.length;n<o;n++)e.charCodeAt(n)===10&&(t[i++]=n);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let i=0,n=t.length-1;if(n===-1||e<=t[0])return 0;for(;i<n;){const o=i+((n-i)/2>>0);t[o]>=e?n=o-1:t[o+1]>=e?(i=o,n=o):i=o+1}return i+1}}class _w{static findMatches(e,t,i,n,o){const r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,i,new nm(r.wordSeparators,r.regex),n,o):this._doFindMatchesLineByLine(e,i,r,n,o):[]}static _getMultilineMatchRange(e,t,i,n,o,r){let a,l=0;n?(l=n.findLineFeedCountBeforeOffset(o),a=t+o+l):a=t+o;let d;if(n){const g=n.findLineFeedCountBeforeOffset(o+r.length)-l;d=a+r.length+g}else d=a+r.length;const c=e.getPositionAt(a),u=e.getPositionAt(d);return new x(c.lineNumber,c.column,u.lineNumber,u.column)}static _doFindMatchesMultiline(e,t,i,n,o){const r=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l=e.getEOL()===`\\r\n`?new G3(a):null,d=[];let c=0,u;for(i.reset(0);u=i.next(a);)if(d[c++]=Pg(this._getMultilineMatchRange(e,r,a,l,u.index,u[0]),u,n),c>=o)return d;return d}static _doFindMatchesLineByLine(e,t,i,n,o){const r=[];let a=0;if(t.startLineNumber===t.endLineNumber){const d=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return a=this._findMatchesInLine(i,d,t.startLineNumber,t.startColumn-1,a,r,n,o),r}const l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);a=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,a,r,n,o);for(let d=t.startLineNumber+1;d<t.endLineNumber&&a<o;d++)a=this._findMatchesInLine(i,e.getLineContent(d),d,0,a,r,n,o);if(a<o){const d=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);a=this._findMatchesInLine(i,d,t.endLineNumber,0,a,r,n,o)}return r}static _findMatchesInLine(e,t,i,n,o,r,a,l){const d=e.wordSeparators;if(!a&&e.simpleSearch){const h=e.simpleSearch,g=h.length,f=t.length;let m=-g;for(;(m=t.indexOf(h,m+g))!==-1;)if((!d||vF(d,t,f,m,g))&&(r[o++]=new Wb(new x(i,m+1+n,i,m+1+g+n),null),o>=l))return o;return o}const c=new nm(e.wordSeparators,e.regex);let u;c.reset(0);do if(u=c.next(t),u&&(r[o++]=Pg(new x(i,u.index+1+n,i,u.index+1+u[0].length+n),u,a),o>=l))return o;while(u);return o}static findNextMatch(e,t,i,n){const o=t.parseSearchRequest();if(!o)return null;const r=new nm(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,i,r,n):this._doFindNextMatchLineByLine(e,i,r,n)}static _doFindNextMatchMultiline(e,t,i,n){const o=new W(t.lineNumber,1),r=e.getOffsetAt(o),a=e.getLineCount(),l=e.getValueInRange(new x(o.lineNumber,o.column,a,e.getLineMaxColumn(a)),1),d=e.getEOL()===`\\r\n`?new G3(l):null;i.reset(t.column-1);const c=i.next(l);return c?Pg(this._getMultilineMatchRange(e,r,l,d,c.index,c[0]),c,n):t.lineNumber!==1||t.column!==1?this._doFindNextMatchMultiline(e,new W(1,1),i,n):null}static _doFindNextMatchLineByLine(e,t,i,n){const o=e.getLineCount(),r=t.lineNumber,a=e.getLineContent(r),l=this._findFirstMatchInLine(i,a,r,t.column,n);if(l)return l;for(let d=1;d<=o;d++){const c=(r+d-1)%o,u=e.getLineContent(c+1),h=this._findFirstMatchInLine(i,u,c+1,1,n);if(h)return h}return null}static _findFirstMatchInLine(e,t,i,n,o){e.reset(n-1);const r=e.next(t);return r?Pg(new x(i,r.index+1,i,r.index+1+r[0].length),r,o):null}static findPreviousMatch(e,t,i,n){const o=t.parseSearchRequest();if(!o)return null;const r=new nm(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,i,r,n):this._doFindPreviousMatchLineByLine(e,i,r,n)}static _doFindPreviousMatchMultiline(e,t,i,n){const o=this._doFindMatchesMultiline(e,new x(1,1,t.lineNumber,t.column),i,n,10*Kde);if(o.length>0)return o[o.length-1];const r=e.getLineCount();return t.lineNumber!==r||t.column!==e.getLineMaxColumn(r)?this._doFindPreviousMatchMultiline(e,new W(r,e.getLineMaxColumn(r)),i,n):null}static _doFindPreviousMatchLineByLine(e,t,i,n){const o=e.getLineCount(),r=t.lineNumber,a=e.getLineContent(r).substring(0,t.column-1),l=this._findLastMatchInLine(i,a,r,n);if(l)return l;for(let d=1;d<=o;d++){const c=(o+r-d-1)%o,u=e.getLineContent(c+1),h=this._findLastMatchInLine(i,u,c+1,n);if(h)return h}return null}static _findLastMatchInLine(e,t,i,n){let o=null,r;for(e.reset(0);r=e.next(t);)o=Pg(new x(i,r.index+1,i,r.index+1+r[0].length),r,n);return o}}function Gde(s,e,t,i,n){if(i===0)return!0;const o=e.charCodeAt(i-1);if(s.get(o)!==0||o===13||o===10)return!0;if(n>0){const r=e.charCodeAt(i);if(s.get(r)!==0)return!0}return!1}function Zde(s,e,t,i,n){if(i+n===t)return!0;const o=e.charCodeAt(i+n);if(s.get(o)!==0||o===13||o===10)return!0;if(n>0){const r=e.charCodeAt(i+n-1);if(s.get(r)!==0)return!0}return!1}function vF(s,e,t,i,n){return Gde(s,e,t,i,n)&&Zde(s,e,t,i,n)}class nm{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===t||(i=this._searchRegex.exec(e),!i))return null;const n=i.index,o=i[0].length;if(n===this._prevMatchStartIndex&&o===this._prevMatchLength){if(o===0){WS(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=n,this._prevMatchLength=o,!this._wordSeparators||vF(this._wordSeparators,e,t,n,o))return i}while(i);return null}}class bF{static computeUnicodeHighlights(e,t,i){const n=i?i.startLineNumber:1,o=i?i.endLineNumber:e.getLineCount(),r=new Z3(t),a=r.getCandidateCodePoints();let l;a===\"allNonBasicAscii\"?l=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):l=new RegExp(`${Xde(Array.from(a))}`,\"g\");const d=new nm(null,l),c=[];let u=!1,h,g=0,f=0,m=0;e:for(let _=n,v=o;_<=v;_++){const b=e.getLineContent(_),C=b.length;d.reset(0);do if(h=d.next(b),h){let w=h.index,y=h.index+h[0].length;if(w>0){const I=b.charCodeAt(w-1);Cn(I)&&w--}if(y+1<C){const I=b.charCodeAt(y-1);Cn(I)&&y++}const D=b.substring(w,y);let L=Eb(w+1,VP,b,0);L&&L.endColumn<=w+1&&(L=null);const k=r.shouldHighlightNonBasicASCII(D,L?L.word:null);if(k!==0){if(k===3?g++:k===2?f++:k===1?m++:ux(),c.length>=1e3){u=!0;break e}c.push(new x(_,w+1,_,y+1))}}while(h)}return{ranges:c,hasMore:u,ambiguousCharacterCount:g,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){const i=new Z3(t);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const o=e.codePointAt(0),r=i.ambiguousCharacters.getPrimaryConfusable(o),a=wf.getLocales().filter(l=>!wf.getInstance(new Set([...t.allowedLocales,l])).isAmbiguous(o));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:a}}case 1:return{kind:2}}}}function Xde(s,e){return`[${rr(s.map(i=>String.fromCodePoint(i)).join(\"\"))}]`}class Z3{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=wf.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const e=new Set;if(this.options.invisibleCharacters)for(const t of ld.codePoints)X3(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,o=!1;if(t)for(const r of t){const a=r.codePointAt(0),l=c1(r);n=n||l,!l&&!this.ambiguousCharacters.isAmbiguous(a)&&!ld.isInvisibleCharacter(a)&&(o=!0)}return!n&&o?0:this.options.invisibleCharacters&&!X3(e)&&ld.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function X3(s){return s===\" \"||s===`\n`||s===\"\t\"}class zy{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class lU{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class et{static addRange(e,t){let i=0;for(;i<t.length&&t[i].endExclusive<e.start;)i++;let n=i;for(;n<t.length&&t[n].start<=e.endExclusive;)n++;if(i===n)t.splice(i,0,e);else{const o=Math.min(e.start,t[i].start),r=Math.max(e.endExclusive,t[n-1].endExclusive);t.splice(i,n-i,new et(o,r))}}static tryCreate(e,t){if(!(e>t))return new et(e,t)}static ofLength(e){return new et(0,e)}static ofStartAndLength(e,t){return new et(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new Ut(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new et(this.start+e,this.endExclusive+e)}deltaStart(e){return new et(this.start+e,this.endExclusive)}deltaEnd(e){return new et(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new et(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){const t=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);if(t<=i)return new et(t,i)}intersects(e){const t=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return t<i}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new Ut(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new Ut(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;t<this.endExclusive;t++)e(t)}}class CF{constructor(){this._sortedRanges=[]}addRange(e){let t=0;for(;t<this._sortedRanges.length&&this._sortedRanges[t].endExclusive<e.start;)t++;let i=t;for(;i<this._sortedRanges.length&&this._sortedRanges[i].start<=e.endExclusive;)i++;if(t===i)this._sortedRanges.splice(t,0,e);else{const n=Math.min(e.start,this._sortedRanges[t].start),o=Math.max(e.endExclusive,this._sortedRanges[i-1].endExclusive);this._sortedRanges.splice(t,i-t,new et(n,o))}}toString(){return this._sortedRanges.map(e=>e.toString()).join(\", \")}intersectsStrict(e){let t=0;for(;t<this._sortedRanges.length&&this._sortedRanges[t].endExclusive<=e.start;)t++;return t<this._sortedRanges.length&&this._sortedRanges[t].start<e.endExclusive}intersectWithRange(e){const t=new CF;for(const i of this._sortedRanges){const n=i.intersect(e);n&&t.addRange(n)}return t}intersectWithRangeLength(e){return this.intersectWithRange(e).length}get length(){return this._sortedRanges.reduce((e,t)=>e+t.length,0)}}function YS(s,e){const t=Yde(s,e);if(t!==-1)return s[t]}function Yde(s,e,t=s.length-1){for(let i=t;i>=0;i--){const n=s[i];if(e(n))return i}return-1}function g_(s,e){const t=Hb(s,e);return t===-1?void 0:s[t]}function Hb(s,e,t=0,i=s.length){let n=t,o=i;for(;n<o;){const r=Math.floor((n+o)/2);e(s[r])?n=r+1:o=r}return n-1}function Qde(s,e){const t=Vb(s,e);return t===s.length?void 0:s[t]}function Vb(s,e,t=0,i=s.length){let n=t,o=i;for(;n<o;){const r=Math.floor((n+o)/2);e(s[r])?o=r:n=r+1}return n}class f1{constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(f1.assertInvariants){if(this._prevFindLastPredicate){for(const i of this._array)if(this._prevFindLastPredicate(i)&&!e(i))throw new Error(\"MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.\")}this._prevFindLastPredicate=e}const t=Hb(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=t+1,t===-1?void 0:this._array[t]}}f1.assertInvariants=!1;function wF(s,e){if(s.length===0)return;let t=s[0];for(let i=1;i<s.length;i++){const n=s[i];e(n,t)>0&&(t=n)}return t}function Jde(s,e){if(s.length===0)return;let t=s[0];for(let i=1;i<s.length;i++){const n=s[i];e(n,t)>=0&&(t=n)}return t}function ece(s,e){return wF(s,(t,i)=>-e(t,i))}function tce(s,e){if(s.length===0)return-1;let t=0;for(let i=1;i<s.length;i++){const n=s[i];e(n,s[t])>0&&(t=i)}return t}function ice(s,e){for(const t of s){const i=e(t);if(i!==void 0)return i}}let Je=class Kd{static fromRangeInclusive(e){return new Kd(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(e.length===0)return[];let t=new Lr(e[0].slice());for(let i=1;i<e.length;i++)t=t.getUnion(new Lr(e[i].slice()));return t.ranges}static join(e){if(e.length===0)throw new Ut(\"lineRanges cannot be empty\");let t=e[0].startLineNumber,i=e[0].endLineNumberExclusive;for(let n=1;n<e.length;n++)t=Math.min(t,e[n].startLineNumber),i=Math.max(i,e[n].endLineNumberExclusive);return new Kd(t,i)}static ofLength(e,t){return new Kd(e,e+t)}static deserialize(e){return new Kd(e[0],e[1])}constructor(e,t){if(e>t)throw new Ut(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new Kd(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new Kd(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new Kd(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){const t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(t<=i)return new Kd(t,i)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new x(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new x(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){const t=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)t.push(e(i));return t}forEach(e){for(let t=this.startLineNumber;t<this.endLineNumberExclusive;t++)e(t)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}toOffsetRange(){return new et(this.startLineNumber-1,this.endLineNumberExclusive-1)}};class Lr{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(e.length===0)return;const t=Vb(this._normalizedRanges,n=>n.endLineNumberExclusive>=e.startLineNumber),i=Hb(this._normalizedRanges,n=>n.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){const n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{const n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){const t=g_(this._normalizedRanges,i=>i.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){const t=g_(this._normalizedRanges,i=>i.startLineNumber<e.endLineNumberExclusive);return!!t&&t.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(this._normalizedRanges.length===0)return e;if(e._normalizedRanges.length===0)return this;const t=[];let i=0,n=0,o=null;for(;i<this._normalizedRanges.length||n<e._normalizedRanges.length;){let r=null;if(i<this._normalizedRanges.length&&n<e._normalizedRanges.length){const a=this._normalizedRanges[i],l=e._normalizedRanges[n];a.startLineNumber<l.startLineNumber?(r=a,i++):(r=l,n++)}else i<this._normalizedRanges.length?(r=this._normalizedRanges[i],i++):(r=e._normalizedRanges[n],n++);o===null?o=r:o.endLineNumberExclusive>=r.startLineNumber?o=new Je(o.startLineNumber,Math.max(o.endLineNumberExclusive,r.endLineNumberExclusive)):(t.push(o),o=r)}return o!==null&&t.push(o),new Lr(t)}subtractFrom(e){const t=Vb(this._normalizedRanges,r=>r.endLineNumberExclusive>=e.startLineNumber),i=Hb(this._normalizedRanges,r=>r.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new Lr([e]);const n=[];let o=e.startLineNumber;for(let r=t;r<i;r++){const a=this._normalizedRanges[r];a.startLineNumber>o&&n.push(new Je(o,a.startLineNumber)),o=a.endLineNumberExclusive}return o<e.endLineNumberExclusive&&n.push(new Je(o,e.endLineNumberExclusive)),new Lr(n)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(\", \")}getIntersection(e){const t=[];let i=0,n=0;for(;i<this._normalizedRanges.length&&n<e._normalizedRanges.length;){const o=this._normalizedRanges[i],r=e._normalizedRanges[n],a=o.intersect(r);a&&!a.isEmpty&&t.push(a),o.endLineNumberExclusive<r.endLineNumberExclusive?i++:n++}return new Lr(t)}getWithDelta(e){return new Lr(this._normalizedRanges.map(t=>t.delta(e)))}}class Fs{static betweenPositions(e,t){return e.lineNumber===t.lineNumber?new Fs(0,t.column-e.column):new Fs(t.lineNumber-e.lineNumber,t.column-1)}static ofRange(e){return Fs.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let t=0,i=0;for(const n of e)n===`\n`?(t++,i=0):i++;return new Fs(t,i)}constructor(e,t){this.lineCount=e,this.columnCount=t}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return this.lineCount===0?new x(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new x(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return this.lineCount===0?new W(e.lineNumber,e.column+this.columnCount):new W(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}Fs.zero=new Fs(0,0);class nce{constructor(e){this.text=e,this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let t=0;t<e.length;t++)e.charAt(t)===`\n`&&this.lineStartOffsetByLineIdx.push(t+1)}getOffset(e){return this.lineStartOffsetByLineIdx[e.lineNumber-1]+e.column-1}getOffsetRange(e){return new et(this.getOffset(e.getStartPosition()),this.getOffset(e.getEndPosition()))}get textLength(){const e=this.lineStartOffsetByLineIdx.length-1;return new Fs(e,this.text.length-this.lineStartOffsetByLineIdx[e])}}class yF{constructor(e){this.edits=e,Lf(()=>fF(e,(t,i)=>t.range.getEndPosition().isBeforeOrEqual(i.range.getStartPosition())))}apply(e){let t=\"\",i=new W(1,1);for(const o of this.edits){const r=o.range,a=r.getStartPosition(),l=r.getEndPosition(),d=Y3(i,a);d.isEmpty()||(t+=e.getValueOfRange(d)),t+=o.text,i=l}const n=Y3(i,e.endPositionExclusive);return n.isEmpty()||(t+=e.getValueOfRange(n)),t}applyToString(e){const t=new sce(e);return this.apply(t)}getNewRanges(){const e=[];let t=0,i=0,n=0;for(const o of this.edits){const r=Fs.ofText(o.text),a=W.lift({lineNumber:o.range.startLineNumber+i,column:o.range.startColumn+(o.range.startLineNumber===t?n:0)}),l=r.createRange(a);e.push(l),i=l.endLineNumber-o.range.endLineNumber,n=l.endColumn-o.range.endColumn,t=o.range.endLineNumber}return e}}class zc{constructor(e,t){this.range=e,this.text=t}}function Y3(s,e){if(s.lineNumber===e.lineNumber&&s.column===Number.MAX_SAFE_INTEGER)return x.fromPositions(e,e);if(!s.isBeforeOrEqual(e))throw new Ut(\"start must be before end\");return new x(s.lineNumber,s.column,e.lineNumber,e.column)}class dU{get endPositionExclusive(){return this.length.addToPosition(new W(1,1))}}class sce extends dU{constructor(e){super(),this.value=e,this._t=new nce(this.value)}getValueOfRange(e){return this._t.getOffsetRange(e).substring(this.value)}get length(){return this._t.textLength}}class Ns{static inverse(e,t,i){const n=[];let o=1,r=1;for(const l of e){const d=new Ns(new Je(o,l.original.startLineNumber),new Je(r,l.modified.startLineNumber));d.modified.isEmpty||n.push(d),o=l.original.endLineNumberExclusive,r=l.modified.endLineNumberExclusive}const a=new Ns(new Je(o,t+1),new Je(r,i+1));return a.modified.isEmpty||n.push(a),n}static clip(e,t,i){const n=[];for(const o of e){const r=o.original.intersect(t),a=o.modified.intersect(i);r&&!r.isEmpty&&a&&!a.isEmpty&&n.push(new Ns(r,a))}return n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new Ns(this.modified,this.original)}join(e){return new Ns(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){const e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new Qa(e,t);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new Ut(\"not a valid diff\");return new Qa(new x(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new x(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new Qa(new x(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new x(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}}class nr extends Ns{static fromRangeMappings(e){const t=Je.join(e.map(n=>Je.fromRangeInclusive(n.originalRange))),i=Je.join(e.map(n=>Je.fromRangeInclusive(n.modifiedRange)));return new nr(t,i,e)}constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new nr(this.modified,this.original,(e=this.innerChanges)===null||e===void 0?void 0:e.map(t=>t.flip()))}withInnerChangesFromLineRanges(){return new nr(this.original,this.modified,[this.toRangeMapping()])}}class Qa{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new Qa(this.modifiedRange,this.originalRange)}toTextEdit(e){const t=e.getValueOfRange(this.modifiedRange);return new zc(this.originalRange,t)}}const oce=3;class rce{computeDiff(e,t,i){var n;const r=new dce(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[];let l=null;for(const d of r.changes){let c;d.originalEndLineNumber===0?c=new Je(d.originalStartLineNumber+1,d.originalStartLineNumber+1):c=new Je(d.originalStartLineNumber,d.originalEndLineNumber+1);let u;d.modifiedEndLineNumber===0?u=new Je(d.modifiedStartLineNumber+1,d.modifiedStartLineNumber+1):u=new Je(d.modifiedStartLineNumber,d.modifiedEndLineNumber+1);let h=new nr(c,u,(n=d.charChanges)===null||n===void 0?void 0:n.map(g=>new Qa(new x(g.originalStartLineNumber,g.originalStartColumn,g.originalEndLineNumber,g.originalEndColumn),new x(g.modifiedStartLineNumber,g.modifiedStartColumn,g.modifiedEndLineNumber,g.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===h.modified.startLineNumber||l.original.endLineNumberExclusive===h.original.startLineNumber)&&(h=new nr(l.original.join(h.original),l.modified.join(h.modified),l.innerChanges&&h.innerChanges?l.innerChanges.concat(h.innerChanges):void 0),a.pop()),a.push(h),l=h}return Lf(()=>fF(a,(d,c)=>c.original.startLineNumber-d.original.endLineNumberExclusive===c.modified.startLineNumber-d.modified.endLineNumberExclusive&&d.original.endLineNumberExclusive<c.original.startLineNumber&&d.modified.endLineNumberExclusive<c.modified.startLineNumber)),new zy(a,[],r.quitEarly)}}function cU(s,e,t,i){return new zl(s,e,t).ComputeDiff(i)}let Q3=class{constructor(e){const t=[],i=[];for(let n=0,o=e.length;n<o;n++)t[n]=mA(e[n],1),i[n]=_A(e[n],1);this.lines=e,this._startColumns=t,this._endColumns=i}getElements(){const e=[];for(let t=0,i=this.lines.length;t<i;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,i){const n=[],o=[],r=[];let a=0;for(let l=t;l<=i;l++){const d=this.lines[l],c=e?this._startColumns[l]:1,u=e?this._endColumns[l]:d.length+1;for(let h=c;h<u;h++)n[a]=d.charCodeAt(h-1),o[a]=l+1,r[a]=h,a++;!e&&l<i&&(n[a]=10,o[a]=l+1,r[a]=d.length+1,a++)}return new ace(n,o,r)}};class ace{constructor(e,t,i){this._charCodes=e,this._lineNumbers=t,this._columns=i}toString(){return\"[\"+this._charCodes.map((e,t)=>(e===10?\"\\\\n\":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(\", \")+\"]\"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error(\"Illegal index\")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}}class Am{constructor(e,t,i,n,o,r,a,l){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=o,this.modifiedStartColumn=r,this.modifiedEndLineNumber=a,this.modifiedEndColumn=l}static createFromDiffChange(e,t,i){const n=t.getStartLineNumber(e.originalStart),o=t.getStartColumn(e.originalStart),r=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1),l=i.getStartLineNumber(e.modifiedStart),d=i.getStartColumn(e.modifiedStart),c=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new Am(n,o,r,a,l,d,c,u)}}function lce(s){if(s.length<=1)return s;const e=[s[0]];let t=e[0];for(let i=1,n=s.length;i<n;i++){const o=s[i],r=o.originalStart-(t.originalStart+t.originalLength),a=o.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(r,a)<oce?(t.originalLength=o.originalStart+o.originalLength-t.originalStart,t.modifiedLength=o.modifiedStart+o.modifiedLength-t.modifiedStart):(e.push(o),t=o)}return e}class Uv{constructor(e,t,i,n,o){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=o}static createFromDiffResult(e,t,i,n,o,r,a){let l,d,c,u,h;if(t.originalLength===0?(l=i.getStartLineNumber(t.originalStart)-1,d=0):(l=i.getStartLineNumber(t.originalStart),d=i.getEndLineNumber(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(c=n.getStartLineNumber(t.modifiedStart)-1,u=0):(c=n.getStartLineNumber(t.modifiedStart),u=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),r&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&o()){const g=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),f=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(g.getElements().length>0&&f.getElements().length>0){let m=cU(g,f,o,!0).changes;a&&(m=lce(m)),h=[];for(let _=0,v=m.length;_<v;_++)h.push(Am.createFromDiffChange(m[_],g,f))}}return new Uv(l,d,c,u,h)}}class dce{constructor(e,t,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new Q3(e),this.modified=new Q3(t),this.continueLineDiff=J3(i.maxComputationTime),this.continueCharDiff=J3(i.maxComputationTime===0?0:Math.min(i.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const e=cU(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,i=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const a=[];for(let l=0,d=t.length;l<d;l++)a.push(Uv.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[l],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:a}}const n=[];let o=0,r=0;for(let a=-1,l=t.length;a<l;a++){const d=a+1<l?t[a+1]:null,c=d?d.originalStart:this.originalLines.length,u=d?d.modifiedStart:this.modifiedLines.length;for(;o<c&&r<u;){const h=this.originalLines[o],g=this.modifiedLines[r];if(h!==g){{let f=mA(h,1),m=mA(g,1);for(;f>1&&m>1;){const _=h.charCodeAt(f-2),v=g.charCodeAt(m-2);if(_!==v)break;f--,m--}(f>1||m>1)&&this._pushTrimWhitespaceCharChange(n,o+1,1,f,r+1,1,m)}{let f=_A(h,1),m=_A(g,1);const _=h.length+1,v=g.length+1;for(;f<_&&m<v;){const b=h.charCodeAt(f-1),C=h.charCodeAt(m-1);if(b!==C)break;f++,m++}(f<_||m<v)&&this._pushTrimWhitespaceCharChange(n,o+1,f,_,r+1,m,v)}}o++,r++}d&&(n.push(Uv.createFromDiffResult(this.shouldIgnoreTrimWhitespace,d,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),o+=d.originalLength,r+=d.modifiedLength)}return{quitEarly:i,changes:n}}_pushTrimWhitespaceCharChange(e,t,i,n,o,r,a){if(this._mergeTrimWhitespaceCharChange(e,t,i,n,o,r,a))return;let l;this.shouldComputeCharChanges&&(l=[new Am(t,i,t,n,o,r,o,a)]),e.push(new Uv(t,t,o,o,l))}_mergeTrimWhitespaceCharChange(e,t,i,n,o,r,a){const l=e.length;if(l===0)return!1;const d=e[l-1];return d.originalEndLineNumber===0||d.modifiedEndLineNumber===0?!1:d.originalEndLineNumber===t&&d.modifiedEndLineNumber===o?(this.shouldComputeCharChanges&&d.charChanges&&d.charChanges.push(new Am(t,i,t,n,o,r,o,a)),!0):d.originalEndLineNumber+1===t&&d.modifiedEndLineNumber+1===o?(d.originalEndLineNumber=t,d.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&d.charChanges&&d.charChanges.push(new Am(t,i,t,n,o,r,o,a)),!0):!1}}function mA(s,e){const t=Cs(s);return t===-1?e:t+1}function _A(s,e){const t=Ya(s);return t===-1?e:t+2}function J3(s){if(s===0)return()=>!0;const e=Date.now();return()=>Date.now()-e<s}class Ic{static trivial(e,t){return new Ic([new bn(et.ofLength(e.length),et.ofLength(t.length))],!1)}static trivialTimedOut(e,t){return new Ic([new bn(et.ofLength(e.length),et.ofLength(t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class bn{static invert(e,t){const i=[];return DV(e,(n,o)=>{i.push(bn.fromOffsetPairs(n?n.getEndExclusives():Er.zero,o?o.getStarts():new Er(t,(n?n.seq2Range.endExclusive-n.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new bn(new et(e.offset1,t.offset1),new et(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new bn(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new bn(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return e===0?this:new bn(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return e===0?this:new bn(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return e===0?this:new bn(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(!(!t||!i))return new bn(t,i)}getStarts(){return new Er(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Er(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class Er{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return e===0?this:new Er(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}Er.zero=new Er(0,0);Er.max=new Er(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class zb{isValid(){return!0}}zb.instance=new zb;class cce{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new Ut(\"timeout must be positive\")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}}class oI{constructor(e,t){this.width=e,this.height=t,this.array=[],this.array=new Array(e*t)}get(e,t){return this.array[e+t*this.width]}set(e,t,i){this.array[e+t*this.width]=i}}function vA(s){return s===32||s===9}class f_{static getKey(e){let t=this.chrKeys.get(e);return t===void 0&&(t=this.chrKeys.size,this.chrKeys.set(e,t)),t}constructor(e,t,i){this.range=e,this.lines=t,this.source=i,this.histogram=[];let n=0;for(let o=e.startLineNumber-1;o<e.endLineNumberExclusive-1;o++){const r=t[o];for(let l=0;l<r.length;l++){n++;const d=r[l],c=f_.getKey(d);this.histogram[c]=(this.histogram[c]||0)+1}n++;const a=f_.getKey(`\n`);this.histogram[a]=(this.histogram[a]||0)+1}this.totalCount=n}computeSimilarity(e){var t,i;let n=0;const o=Math.max(this.histogram.length,e.histogram.length);for(let r=0;r<o;r++)n+=Math.abs(((t=this.histogram[r])!==null&&t!==void 0?t:0)-((i=e.histogram[r])!==null&&i!==void 0?i:0));return 1-n/(this.totalCount+e.totalCount)}}f_.chrKeys=new Map;class uce{compute(e,t,i=zb.instance,n){if(e.length===0||t.length===0)return Ic.trivial(e,t);const o=new oI(e.length,t.length),r=new oI(e.length,t.length),a=new oI(e.length,t.length);for(let f=0;f<e.length;f++)for(let m=0;m<t.length;m++){if(!i.isValid())return Ic.trivialTimedOut(e,t);const _=f===0?0:o.get(f-1,m),v=m===0?0:o.get(f,m-1);let b;e.getElement(f)===t.getElement(m)?(f===0||m===0?b=0:b=o.get(f-1,m-1),f>0&&m>0&&r.get(f-1,m-1)===3&&(b+=a.get(f-1,m-1)),b+=n?n(f,m):1):b=-1;const C=Math.max(_,v,b);if(C===b){const w=f>0&&m>0?a.get(f-1,m-1):0;a.set(f,m,w+1),r.set(f,m,3)}else C===_?(a.set(f,m,0),r.set(f,m,1)):C===v&&(a.set(f,m,0),r.set(f,m,2));o.set(f,m,C)}const l=[];let d=e.length,c=t.length;function u(f,m){(f+1!==d||m+1!==c)&&l.push(new bn(new et(f+1,d),new et(m+1,c))),d=f,c=m}let h=e.length-1,g=t.length-1;for(;h>=0&&g>=0;)r.get(h,g)===3?(u(h,g),h--,g--):r.get(h,g)===1?h--:g--;return u(-1,-1),l.reverse(),new Ic(l,!1)}}class uU{compute(e,t,i=zb.instance){if(e.length===0||t.length===0)return Ic.trivial(e,t);const n=e,o=t;function r(m,_){for(;m<n.length&&_<o.length&&n.getElement(m)===o.getElement(_);)m++,_++;return m}let a=0;const l=new hce;l.set(0,r(0,0));const d=new gce;d.set(0,l.get(0)===0?null:new eB(null,0,0,l.get(0)));let c=0;e:for(;;){if(a++,!i.isValid())return Ic.trivialTimedOut(n,o);const m=-Math.min(a,o.length+a%2),_=Math.min(a,n.length+a%2);for(c=m;c<=_;c+=2){const v=c===_?-1:l.get(c+1),b=c===m?-1:l.get(c-1)+1,C=Math.min(Math.max(v,b),n.length),w=C-c;if(C>n.length||w>o.length)continue;const y=r(C,w);l.set(c,y);const D=C===v?d.get(c+1):d.get(c-1);if(d.set(c,y!==C?new eB(D,C,w,y-C):D),l.get(c)===n.length&&l.get(c)-c===o.length)break e}}let u=d.get(c);const h=[];let g=n.length,f=o.length;for(;;){const m=u?u.x+u.length:0,_=u?u.y+u.length:0;if((m!==g||_!==f)&&h.push(new bn(new et(m,g),new et(_,f))),!u)break;g=u.x,f=u.y,u=u.prev}return h.reverse(),new Ic(h,!1)}}class eB{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class hce{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if(e=-e-1,e>=this.negativeArr.length){const i=this.negativeArr;this.negativeArr=new Int32Array(i.length*2),this.negativeArr.set(i)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){const i=this.positiveArr;this.positiveArr=new Int32Array(i.length*2),this.positiveArr.set(i)}this.positiveArr[e]=t}}}class gce{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class QS{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new et(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let o=this.lineRange.start;o<this.lineRange.endExclusive;o++){let r=e[o],a=0;if(n)a=r.length,r=\"\",n=!1;else if(!i){const l=r.trimStart();a=r.length-l.length,r=l.trimEnd()}this.additionalOffsetByLine.push(a);for(let l=0;l<r.length;l++)this.elements.push(r.charCodeAt(l));o<e.length-1&&(this.elements.push(10),this.firstCharOffsetByLine[o-this.lineRange.start+1]=this.elements.length)}this.additionalOffsetByLine.push(0)}toString(){return`Slice: \"${this.text}\"`}get text(){return this.getText(new et(0,this.length))}getText(e){return this.elements.slice(e.start,e.endExclusive).map(t=>String.fromCharCode(t)).join(\"\")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const t=iB(e>0?this.elements[e-1]:-1),i=iB(e<this.elements.length?this.elements[e]:-1);if(t===7&&i===8)return 0;if(t===8)return 150;let n=0;return t!==i&&(n+=10,t===0&&i===1&&(n+=1)),n+=tB(t),n+=tB(i),n}translateOffset(e){if(this.lineRange.isEmpty)return new W(this.lineRange.start+1,1);const t=Hb(this.firstCharOffsetByLine,i=>i<=e);return new W(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return x.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!rI(this.elements[e]))return;let t=e;for(;t>0&&rI(this.elements[t-1]);)t--;let i=e;for(;i<this.elements.length&&rI(this.elements[i]);)i++;return new et(t,i)}countLinesIn(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber}isStronglyEqual(e,t){return this.elements[e]===this.elements[t]}extendToFullLines(e){var t,i;const n=(t=g_(this.firstCharOffsetByLine,r=>r<=e.start))!==null&&t!==void 0?t:0,o=(i=Qde(this.firstCharOffsetByLine,r=>e.endExclusive<=r))!==null&&i!==void 0?i:this.elements.length;return new et(n,o)}}function rI(s){return s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57}const fce={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function tB(s){return fce[s]}function iB(s){return s===10?8:s===13?7:vA(s)?6:s>=97&&s<=122?0:s>=65&&s<=90?1:s>=48&&s<=57?2:s===-1?3:s===44||s===59?5:4}function pce(s,e,t,i,n,o){let{moves:r,excludedChanges:a}=_ce(s,e,t,o);if(!o.isValid())return[];const l=s.filter(c=>!a.has(c)),d=vce(l,i,n,e,t,o);return qT(r,d),r=bce(r),r=r.filter(c=>{const u=c.original.toOffsetRange().slice(e).map(g=>g.trim());return u.join(`\n`).length>=15&&mce(u,g=>g.length>=2)>=2}),r=Cce(s,r),r}function mce(s,e){let t=0;for(const i of s)e(i)&&t++;return t}function _ce(s,e,t,i){const n=[],o=s.filter(l=>l.modified.isEmpty&&l.original.length>=3).map(l=>new f_(l.original,e,l)),r=new Set(s.filter(l=>l.original.isEmpty&&l.modified.length>=3).map(l=>new f_(l.modified,t,l))),a=new Set;for(const l of o){let d=-1,c;for(const u of r){const h=l.computeSimilarity(u);h>d&&(d=h,c=u)}if(d>.9&&c&&(r.delete(c),n.push(new Ns(l.range,c.range)),a.add(l.source),a.add(c.source)),!i.isValid())return{moves:n,excludedChanges:a}}return{moves:n,excludedChanges:a}}function vce(s,e,t,i,n,o){const r=[],a=new _F;for(const h of s)for(let g=h.original.startLineNumber;g<h.original.endLineNumberExclusive-2;g++){const f=`${e[g-1]}:${e[g+1-1]}:${e[g+2-1]}`;a.add(f,{range:new Je(g,g+3)})}const l=[];s.sort(ao(h=>h.modified.startLineNumber,ua));for(const h of s){let g=[];for(let f=h.modified.startLineNumber;f<h.modified.endLineNumberExclusive-2;f++){const m=`${t[f-1]}:${t[f+1-1]}:${t[f+2-1]}`,_=new Je(f,f+3),v=[];a.forEach(m,({range:b})=>{for(const w of g)if(w.originalLineRange.endLineNumberExclusive+1===b.endLineNumberExclusive&&w.modifiedLineRange.endLineNumberExclusive+1===_.endLineNumberExclusive){w.originalLineRange=new Je(w.originalLineRange.startLineNumber,b.endLineNumberExclusive),w.modifiedLineRange=new Je(w.modifiedLineRange.startLineNumber,_.endLineNumberExclusive),v.push(w);return}const C={modifiedLineRange:_,originalLineRange:b};l.push(C),v.push(C)}),g=v}if(!o.isValid())return[]}l.sort(kV(ao(h=>h.modifiedLineRange.length,ua)));const d=new Lr,c=new Lr;for(const h of l){const g=h.modifiedLineRange.startLineNumber-h.originalLineRange.startLineNumber,f=d.subtractFrom(h.modifiedLineRange),m=c.subtractFrom(h.originalLineRange).getWithDelta(g),_=f.getIntersection(m);for(const v of _.ranges){if(v.length<3)continue;const b=v,C=v.delta(-g);r.push(new Ns(C,b)),d.addRange(b),c.addRange(C)}}r.sort(ao(h=>h.original.startLineNumber,ua));const u=new f1(s);for(let h=0;h<r.length;h++){const g=r[h],f=u.findLastMonotonous(D=>D.original.startLineNumber<=g.original.startLineNumber),m=g_(s,D=>D.modified.startLineNumber<=g.modified.startLineNumber),_=Math.max(g.original.startLineNumber-f.original.startLineNumber,g.modified.startLineNumber-m.modified.startLineNumber),v=u.findLastMonotonous(D=>D.original.startLineNumber<g.original.endLineNumberExclusive),b=g_(s,D=>D.modified.startLineNumber<g.modified.endLineNumberExclusive),C=Math.max(v.original.endLineNumberExclusive-g.original.endLineNumberExclusive,b.modified.endLineNumberExclusive-g.modified.endLineNumberExclusive);let w;for(w=0;w<_;w++){const D=g.original.startLineNumber-w-1,L=g.modified.startLineNumber-w-1;if(D>i.length||L>n.length||d.contains(L)||c.contains(D)||!nB(i[D-1],n[L-1],o))break}w>0&&(c.addRange(new Je(g.original.startLineNumber-w,g.original.startLineNumber)),d.addRange(new Je(g.modified.startLineNumber-w,g.modified.startLineNumber)));let y;for(y=0;y<C;y++){const D=g.original.endLineNumberExclusive+y,L=g.modified.endLineNumberExclusive+y;if(D>i.length||L>n.length||d.contains(L)||c.contains(D)||!nB(i[D-1],n[L-1],o))break}y>0&&(c.addRange(new Je(g.original.endLineNumberExclusive,g.original.endLineNumberExclusive+y)),d.addRange(new Je(g.modified.endLineNumberExclusive,g.modified.endLineNumberExclusive+y))),(w>0||y>0)&&(r[h]=new Ns(new Je(g.original.startLineNumber-w,g.original.endLineNumberExclusive+y),new Je(g.modified.startLineNumber-w,g.modified.endLineNumberExclusive+y)))}return r}function nB(s,e,t){if(s.trim()===e.trim())return!0;if(s.length>300&&e.length>300)return!1;const n=new uU().compute(new QS([s],new et(0,1),!1),new QS([e],new et(0,1),!1),t);let o=0;const r=bn.invert(n.diffs,s.length);for(const c of r)c.seq1Range.forEach(u=>{vA(s.charCodeAt(u))||o++});function a(c){let u=0;for(let h=0;h<s.length;h++)vA(c.charCodeAt(h))||u++;return u}const l=a(s.length>e.length?s:e);return o/l>.6&&l>10}function bce(s){if(s.length===0)return s;s.sort(ao(t=>t.original.startLineNumber,ua));const e=[s[0]];for(let t=1;t<s.length;t++){const i=e[e.length-1],n=s[t],o=n.original.startLineNumber-i.original.endLineNumberExclusive,r=n.modified.startLineNumber-i.modified.endLineNumberExclusive;if(o>=0&&r>=0&&o+r<=2){e[e.length-1]=i.join(n);continue}e.push(n)}return e}function Cce(s,e){const t=new f1(s);return e=e.filter(i=>{const n=t.findLastMonotonous(a=>a.original.startLineNumber<i.original.endLineNumberExclusive)||new Ns(new Je(1,1),new Je(1,1)),o=g_(s,a=>a.modified.startLineNumber<i.modified.endLineNumberExclusive);return n!==o}),e}function bA(s,e,t){let i=t;return i=sB(s,e,i),i=sB(s,e,i),i=wce(s,e,i),i}function sB(s,e,t){if(t.length===0)return t;const i=[];i.push(t[0]);for(let o=1;o<t.length;o++){const r=i[i.length-1];let a=t[o];if(a.seq1Range.isEmpty||a.seq2Range.isEmpty){const l=a.seq1Range.start-r.seq1Range.endExclusive;let d;for(d=1;d<=l&&!(s.getElement(a.seq1Range.start-d)!==s.getElement(a.seq1Range.endExclusive-d)||e.getElement(a.seq2Range.start-d)!==e.getElement(a.seq2Range.endExclusive-d));d++);if(d--,d===l){i[i.length-1]=new bn(new et(r.seq1Range.start,a.seq1Range.endExclusive-l),new et(r.seq2Range.start,a.seq2Range.endExclusive-l));continue}a=a.delta(-d)}i.push(a)}const n=[];for(let o=0;o<i.length-1;o++){const r=i[o+1];let a=i[o];if(a.seq1Range.isEmpty||a.seq2Range.isEmpty){const l=r.seq1Range.start-a.seq1Range.endExclusive;let d;for(d=0;d<l&&!(!s.isStronglyEqual(a.seq1Range.start+d,a.seq1Range.endExclusive+d)||!e.isStronglyEqual(a.seq2Range.start+d,a.seq2Range.endExclusive+d));d++);if(d===l){i[o+1]=new bn(new et(a.seq1Range.start+l,r.seq1Range.endExclusive),new et(a.seq2Range.start+l,r.seq2Range.endExclusive));continue}d>0&&(a=a.delta(d))}n.push(a)}return i.length>0&&n.push(i[i.length-1]),n}function wce(s,e,t){if(!s.getBoundaryScore||!e.getBoundaryScore)return t;for(let i=0;i<t.length;i++){const n=i>0?t[i-1]:void 0,o=t[i],r=i+1<t.length?t[i+1]:void 0,a=new et(n?n.seq1Range.endExclusive+1:0,r?r.seq1Range.start-1:s.length),l=new et(n?n.seq2Range.endExclusive+1:0,r?r.seq2Range.start-1:e.length);o.seq1Range.isEmpty?t[i]=oB(o,s,e,a,l):o.seq2Range.isEmpty&&(t[i]=oB(o.swap(),e,s,l,a).swap())}return t}function oB(s,e,t,i,n){let r=1;for(;s.seq1Range.start-r>=i.start&&s.seq2Range.start-r>=n.start&&t.isStronglyEqual(s.seq2Range.start-r,s.seq2Range.endExclusive-r)&&r<100;)r++;r--;let a=0;for(;s.seq1Range.start+a<i.endExclusive&&s.seq2Range.endExclusive+a<n.endExclusive&&t.isStronglyEqual(s.seq2Range.start+a,s.seq2Range.endExclusive+a)&&a<100;)a++;if(r===0&&a===0)return s;let l=0,d=-1;for(let c=-r;c<=a;c++){const u=s.seq2Range.start+c,h=s.seq2Range.endExclusive+c,g=s.seq1Range.start+c,f=e.getBoundaryScore(g)+t.getBoundaryScore(u)+t.getBoundaryScore(h);f>d&&(d=f,l=c)}return s.delta(l)}function yce(s,e,t){const i=[];for(const n of t){const o=i[i.length-1];if(!o){i.push(n);continue}n.seq1Range.start-o.seq1Range.endExclusive<=2||n.seq2Range.start-o.seq2Range.endExclusive<=2?i[i.length-1]=new bn(o.seq1Range.join(n.seq1Range),o.seq2Range.join(n.seq2Range)):i.push(n)}return i}function Sce(s,e,t){const i=bn.invert(t,s.length),n=[];let o=new Er(0,0);function r(l,d){if(l.offset1<o.offset1||l.offset2<o.offset2)return;const c=s.findWordContaining(l.offset1),u=e.findWordContaining(l.offset2);if(!c||!u)return;let h=new bn(c,u);const g=h.intersect(d);let f=g.seq1Range.length,m=g.seq2Range.length;for(;i.length>0;){const _=i[0];if(!(_.seq1Range.intersects(h.seq1Range)||_.seq2Range.intersects(h.seq2Range)))break;const b=s.findWordContaining(_.seq1Range.start),C=e.findWordContaining(_.seq2Range.start),w=new bn(b,C),y=w.intersect(_);if(f+=y.seq1Range.length,m+=y.seq2Range.length,h=h.join(w),h.seq1Range.endExclusive>=_.seq1Range.endExclusive)i.shift();else break}f+m<(h.seq1Range.length+h.seq2Range.length)*2/3&&n.push(h),o=h.getEndExclusives()}for(;i.length>0;){const l=i.shift();l.seq1Range.isEmpty||(r(l.getStarts(),l),r(l.getEndExclusives().delta(-1),l))}return Dce(t,n)}function Dce(s,e){const t=[];for(;s.length>0||e.length>0;){const i=s[0],n=e[0];let o;i&&(!n||i.seq1Range.start<n.seq1Range.start)?o=s.shift():o=e.shift(),t.length>0&&t[t.length-1].seq1Range.endExclusive>=o.seq1Range.start?t[t.length-1]=t[t.length-1].join(o):t.push(o)}return t}function Lce(s,e,t){let i=t;if(i.length===0)return i;let n=0,o;do{o=!1;const r=[i[0]];for(let a=1;a<i.length;a++){let c=function(h,g){const f=new et(d.seq1Range.endExclusive,l.seq1Range.start);return s.getText(f).replace(/\\s/g,\"\").length<=4&&(h.seq1Range.length+h.seq2Range.length>5||g.seq1Range.length+g.seq2Range.length>5)};const l=i[a],d=r[r.length-1];c(d,l)?(o=!0,r[r.length-1]=r[r.length-1].join(l)):r.push(l)}i=r}while(n++<10&&o);return i}function xce(s,e,t){let i=t;if(i.length===0)return i;let n=0,o;do{o=!1;const a=[i[0]];for(let l=1;l<i.length;l++){let u=function(g,f){const m=new et(c.seq1Range.endExclusive,d.seq1Range.start);if(s.countLinesIn(m)>5||m.length>500)return!1;const v=s.getText(m).trim();if(v.length>20||v.split(/\\r\\n|\\r|\\n/).length>1)return!1;const b=s.countLinesIn(g.seq1Range),C=g.seq1Range.length,w=e.countLinesIn(g.seq2Range),y=g.seq2Range.length,D=s.countLinesIn(f.seq1Range),L=f.seq1Range.length,k=e.countLinesIn(f.seq2Range),I=f.seq2Range.length,O=2*40+50;function R(P){return Math.min(P,O)}return Math.pow(Math.pow(R(b*40+C),1.5)+Math.pow(R(w*40+y),1.5),1.5)+Math.pow(Math.pow(R(D*40+L),1.5)+Math.pow(R(k*40+I),1.5),1.5)>(O**1.5)**1.5*1.3};const d=i[l],c=a[a.length-1];u(c,d)?(o=!0,a[a.length-1]=a[a.length-1].join(d)):a.push(d)}i=a}while(n++<10&&o);const r=[];return Dse(i,(a,l,d)=>{let c=l;function u(v){return v.length>0&&v.trim().length<=3&&l.seq1Range.length+l.seq2Range.length>100}const h=s.extendToFullLines(l.seq1Range),g=s.getText(new et(h.start,l.seq1Range.start));u(g)&&(c=c.deltaStart(-g.length));const f=s.getText(new et(l.seq1Range.endExclusive,h.endExclusive));u(f)&&(c=c.deltaEnd(f.length));const m=bn.fromOffsetPairs(a?a.getEndExclusives():Er.zero,d?d.getStarts():Er.max),_=c.intersect(m);r.length>0&&_.getStarts().equals(r[r.length-1].getEndExclusives())?r[r.length-1]=r[r.length-1].join(_):r.push(_)}),r}class rB{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){const t=e===0?0:aB(this.lines[e-1]),i=e===this.lines.length?0:aB(this.lines[e]);return 1e3-(t+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join(`\n`)}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function aB(s){let e=0;for(;e<s.length&&(s.charCodeAt(e)===32||s.charCodeAt(e)===9);)e++;return e}class hU{constructor(){this.dynamicProgrammingDiffing=new uce,this.myersDiffingAlgorithm=new uU}computeDiff(e,t,i){if(e.length<=1&&Ci(e,t,(y,D)=>y===D))return new zy([],[],!1);if(e.length===1&&e[0].length===0||t.length===1&&t[0].length===0)return new zy([new nr(new Je(1,e.length+1),new Je(1,t.length+1),[new Qa(new x(1,1,e.length,e[e.length-1].length+1),new x(1,1,t.length,t[t.length-1].length+1))])],[],!1);const n=i.maxComputationTimeMs===0?zb.instance:new cce(i.maxComputationTimeMs),o=!i.ignoreTrimWhitespace,r=new Map;function a(y){let D=r.get(y);return D===void 0&&(D=r.size,r.set(y,D)),D}const l=e.map(y=>a(y.trim())),d=t.map(y=>a(y.trim())),c=new rB(l,e),u=new rB(d,t),h=c.length+u.length<1700?this.dynamicProgrammingDiffing.compute(c,u,n,(y,D)=>e[y]===t[D]?t[D].length===0?.1:1+Math.log(1+t[D].length):.99):this.myersDiffingAlgorithm.compute(c,u);let g=h.diffs,f=h.hitTimeout;g=bA(c,u,g),g=Lce(c,u,g);const m=[],_=y=>{if(o)for(let D=0;D<y;D++){const L=v+D,k=b+D;if(e[L]!==t[k]){const I=this.refineDiff(e,t,new bn(new et(L,L+1),new et(k,k+1)),n,o);for(const O of I.mappings)m.push(O);I.hitTimeout&&(f=!0)}}};let v=0,b=0;for(const y of g){Lf(()=>y.seq1Range.start-v===y.seq2Range.start-b);const D=y.seq1Range.start-v;_(D),v=y.seq1Range.endExclusive,b=y.seq2Range.endExclusive;const L=this.refineDiff(e,t,y,n,o);L.hitTimeout&&(f=!0);for(const k of L.mappings)m.push(k)}_(e.length-v);const C=lB(m,e,t);let w=[];return i.computeMoves&&(w=this.computeMoves(C,e,t,l,d,n,o)),Lf(()=>{function y(L,k){if(L.lineNumber<1||L.lineNumber>k.length)return!1;const I=k[L.lineNumber-1];return!(L.column<1||L.column>I.length+1)}function D(L,k){return!(L.startLineNumber<1||L.startLineNumber>k.length+1||L.endLineNumberExclusive<1||L.endLineNumberExclusive>k.length+1)}for(const L of C){if(!L.innerChanges)return!1;for(const k of L.innerChanges)if(!(y(k.modifiedRange.getStartPosition(),t)&&y(k.modifiedRange.getEndPosition(),t)&&y(k.originalRange.getStartPosition(),e)&&y(k.originalRange.getEndPosition(),e)))return!1;if(!D(L.modified,t)||!D(L.original,e))return!1}return!0}),new zy(C,w,f)}computeMoves(e,t,i,n,o,r,a){return pce(e,t,i,n,o,r).map(c=>{const u=this.refineDiff(t,i,new bn(c.original.toOffsetRange(),c.modified.toOffsetRange()),r,a),h=lB(u.mappings,t,i,!0);return new lU(c,h)})}refineDiff(e,t,i,n,o){const r=new QS(e,i.seq1Range,o),a=new QS(t,i.seq2Range,o),l=r.length+a.length<500?this.dynamicProgrammingDiffing.compute(r,a,n):this.myersDiffingAlgorithm.compute(r,a,n);let d=l.diffs;return d=bA(r,a,d),d=Sce(r,a,d),d=yce(r,a,d),d=xce(r,a,d),{mappings:d.map(u=>new Qa(r.translateRange(u.seq1Range),a.translateRange(u.seq2Range))),hitTimeout:l.hitTimeout}}}function lB(s,e,t,i=!1){const n=[];for(const o of PP(s.map(r=>kce(r,e,t)),(r,a)=>r.original.overlapOrTouch(a.original)||r.modified.overlapOrTouch(a.modified))){const r=o[0],a=o[o.length-1];n.push(new nr(r.original.join(a.original),r.modified.join(a.modified),o.map(l=>l.innerChanges[0])))}return Lf(()=>!i&&n.length>0&&(n[0].modified.startLineNumber!==n[0].original.startLineNumber||t.length-n[n.length-1].modified.endLineNumberExclusive!==e.length-n[n.length-1].original.endLineNumberExclusive)?!1:fF(n,(o,r)=>r.original.startLineNumber-o.original.endLineNumberExclusive===r.modified.startLineNumber-o.modified.endLineNumberExclusive&&o.original.endLineNumberExclusive<r.original.startLineNumber&&o.modified.endLineNumberExclusive<r.modified.startLineNumber)),n}function kce(s,e,t){let i=0,n=0;s.modifiedRange.endColumn===1&&s.originalRange.endColumn===1&&s.originalRange.startLineNumber+i<=s.originalRange.endLineNumber&&s.modifiedRange.startLineNumber+i<=s.modifiedRange.endLineNumber&&(n=-1),s.modifiedRange.startColumn-1>=t[s.modifiedRange.startLineNumber-1].length&&s.originalRange.startColumn-1>=e[s.originalRange.startLineNumber-1].length&&s.originalRange.startLineNumber<=s.originalRange.endLineNumber+n&&s.modifiedRange.startLineNumber<=s.modifiedRange.endLineNumber+n&&(i=1);const o=new Je(s.originalRange.startLineNumber+i,s.originalRange.endLineNumber+1+n),r=new Je(s.modifiedRange.startLineNumber+i,s.modifiedRange.endLineNumber+1+n);return new nr(o,r,[s])}const dB={getLegacy:()=>new rce,getDefault:()=>new hU};function oh(s,e){const t=Math.pow(10,e);return Math.round(s*t)/t}class bt{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,e))|0,this.g=Math.min(255,Math.max(0,t))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=oh(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class na{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=oh(Math.max(Math.min(1,t),0),3),this.l=oh(Math.max(Math.min(1,i),0),3),this.a=oh(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,i=e.g/255,n=e.b/255,o=e.a,r=Math.max(t,i,n),a=Math.min(t,i,n);let l=0,d=0;const c=(a+r)/2,u=r-a;if(u>0){switch(d=Math.min(c<=.5?u/(2*c):u/(2-2*c),1),r){case t:l=(i-n)/u+(i<n?6:0);break;case i:l=(n-t)/u+2;break;case n:l=(t-i)/u+4;break}l*=60,l=Math.round(l)}return new na(l,d,c,o)}static _hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){const t=e.h/360,{s:i,l:n,a:o}=e;let r,a,l;if(i===0)r=a=l=n;else{const d=n<.5?n*(1+i):n+i-n*i,c=2*n-d;r=na._hue2rgb(c,d,t+1/3),a=na._hue2rgb(c,d,t),l=na._hue2rgb(c,d,t-1/3)}return new bt(Math.round(r*255),Math.round(a*255),Math.round(l*255),o)}}class Yl{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=oh(Math.max(Math.min(1,t),0),3),this.v=oh(Math.max(Math.min(1,i),0),3),this.a=oh(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,i=e.g/255,n=e.b/255,o=Math.max(t,i,n),r=Math.min(t,i,n),a=o-r,l=o===0?0:a/o;let d;return a===0?d=0:o===t?d=((i-n)/a%6+6)%6:o===i?d=(n-t)/a+2:d=(t-i)/a+4,new Yl(Math.round(d*60),l,o,e.a)}static toRGBA(e){const{h:t,s:i,v:n,a:o}=e,r=n*i,a=r*(1-Math.abs(t/60%2-1)),l=n-r;let[d,c,u]=[0,0,0];return t<60?(d=r,c=a):t<120?(d=a,c=r):t<180?(c=r,u=a):t<240?(c=a,u=r):t<300?(d=a,u=r):t<=360&&(d=r,u=a),d=Math.round((d+l)*255),c=Math.round((c+l)*255),u=Math.round((u+l)*255),new bt(d,c,u,o)}}class ${static fromHex(e){return $.Format.CSS.parseHex(e)||$.red}static equals(e,t){return!e&&!t?!0:!e||!t?!1:e.equals(t)}get hsla(){return this._hsla?this._hsla:na.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Yl.fromRGBA(this.rgba)}constructor(e){if(e)if(e instanceof bt)this.rgba=e;else if(e instanceof na)this._hsla=e,this.rgba=na.toRGBA(e);else if(e instanceof Yl)this._hsva=e,this.rgba=Yl.toRGBA(e);else throw new Error(\"Invalid color ctor argument\");else throw new Error(\"Color needs a value\")}equals(e){return!!e&&bt.equals(this.rgba,e.rgba)&&na.equals(this.hsla,e.hsla)&&Yl.equals(this.hsva,e.hsva)}getRelativeLuminance(){const e=$._relativeLuminanceForComponent(this.rgba.r),t=$._relativeLuminanceForComponent(this.rgba.g),i=$._relativeLuminanceForComponent(this.rgba.b),n=.2126*e+.7152*t+.0722*i;return oh(n,4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(e){const t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){const t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t<i}lighten(e){return new $(new na(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new $(new na(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:i,b:n,a:o}=this.rgba;return new $(new bt(t,i,n,o*e))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new $(new bt(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(e){if(this.isOpaque()||e.rgba.a!==1)return this;const{r:t,g:i,b:n,a:o}=this.rgba;return new $(new bt(e.rgba.r-o*(e.rgba.r-t),e.rgba.g-o*(e.rgba.g-i),e.rgba.b-o*(e.rgba.b-n),1))}toString(){return this._toString||(this._toString=$.Format.CSS.format(this)),this._toString}static getLighterColor(e,t,i){if(e.isLighterThan(t))return e;i=i||.5;const n=e.getRelativeLuminance(),o=t.getRelativeLuminance();return i=i*(o-n)/o,e.lighten(i)}static getDarkerColor(e,t,i){if(e.isDarkerThan(t))return e;i=i||.5;const n=e.getRelativeLuminance(),o=t.getRelativeLuminance();return i=i*(n-o)/n,e.darken(i)}}$.white=new $(new bt(255,255,255,1));$.black=new $(new bt(0,0,0,1));$.red=new $(new bt(255,0,0,1));$.blue=new $(new bt(0,0,255,1));$.green=new $(new bt(0,255,0,1));$.cyan=new $(new bt(0,255,255,1));$.lightgrey=new $(new bt(211,211,211,1));$.transparent=new $(new bt(0,0,0,0));(function(s){(function(e){(function(t){function i(g){return g.rgba.a===1?`rgb(${g.rgba.r}, ${g.rgba.g}, ${g.rgba.b})`:s.Format.CSS.formatRGBA(g)}t.formatRGB=i;function n(g){return`rgba(${g.rgba.r}, ${g.rgba.g}, ${g.rgba.b}, ${+g.rgba.a.toFixed(2)})`}t.formatRGBA=n;function o(g){return g.hsla.a===1?`hsl(${g.hsla.h}, ${(g.hsla.s*100).toFixed(2)}%, ${(g.hsla.l*100).toFixed(2)}%)`:s.Format.CSS.formatHSLA(g)}t.formatHSL=o;function r(g){return`hsla(${g.hsla.h}, ${(g.hsla.s*100).toFixed(2)}%, ${(g.hsla.l*100).toFixed(2)}%, ${g.hsla.a.toFixed(2)})`}t.formatHSLA=r;function a(g){const f=g.toString(16);return f.length!==2?\"0\"+f:f}function l(g){return`#${a(g.rgba.r)}${a(g.rgba.g)}${a(g.rgba.b)}`}t.formatHex=l;function d(g,f=!1){return f&&g.rgba.a===1?s.Format.CSS.formatHex(g):`#${a(g.rgba.r)}${a(g.rgba.g)}${a(g.rgba.b)}${a(Math.round(g.rgba.a*255))}`}t.formatHexA=d;function c(g){return g.isOpaque()?s.Format.CSS.formatHex(g):s.Format.CSS.formatRGBA(g)}t.format=c;function u(g){const f=g.length;if(f===0||g.charCodeAt(0)!==35)return null;if(f===7){const m=16*h(g.charCodeAt(1))+h(g.charCodeAt(2)),_=16*h(g.charCodeAt(3))+h(g.charCodeAt(4)),v=16*h(g.charCodeAt(5))+h(g.charCodeAt(6));return new s(new bt(m,_,v,1))}if(f===9){const m=16*h(g.charCodeAt(1))+h(g.charCodeAt(2)),_=16*h(g.charCodeAt(3))+h(g.charCodeAt(4)),v=16*h(g.charCodeAt(5))+h(g.charCodeAt(6)),b=16*h(g.charCodeAt(7))+h(g.charCodeAt(8));return new s(new bt(m,_,v,b/255))}if(f===4){const m=h(g.charCodeAt(1)),_=h(g.charCodeAt(2)),v=h(g.charCodeAt(3));return new s(new bt(16*m+m,16*_+_,16*v+v))}if(f===5){const m=h(g.charCodeAt(1)),_=h(g.charCodeAt(2)),v=h(g.charCodeAt(3)),b=h(g.charCodeAt(4));return new s(new bt(16*m+m,16*_+_,16*v+v,(16*b+b)/255))}return null}t.parseHex=u;function h(g){switch(g){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(e.CSS||(e.CSS={}))})(s.Format||(s.Format={}))})($||($={}));function gU(s){const e=[];for(const t of s){const i=Number(t);(i||i===0&&t.replace(/\\s/g,\"\")!==\"\")&&e.push(i)}return e}function SF(s,e,t,i){return{red:s/255,blue:t/255,green:e/255,alpha:i}}function B0(s,e){const t=e.index,i=e[0].length;if(!t)return;const n=s.positionAt(t);return{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:n.lineNumber,endColumn:n.column+i}}function Ece(s,e){if(!s)return;const t=$.Format.CSS.parseHex(e);if(t)return{range:s,color:SF(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}}function cB(s,e,t){if(!s||e.length!==1)return;const n=e[0].values(),o=gU(n);return{range:s,color:SF(o[0],o[1],o[2],t?o[3]:1)}}function uB(s,e,t){if(!s||e.length!==1)return;const n=e[0].values(),o=gU(n),r=new $(new na(o[0],o[1]/100,o[2]/100,t?o[3]:1));return{range:s,color:SF(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function W0(s,e){return typeof s==\"string\"?[...s.matchAll(e)]:s.findMatches(e)}function Ice(s){const e=[],i=W0(s,/\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|(#)([A-Fa-f0-9]{3})\\b|(#)([A-Fa-f0-9]{4})\\b|(#)([A-Fa-f0-9]{6})\\b|(#)([A-Fa-f0-9]{8})\\b/gm);if(i.length>0)for(const n of i){const o=n.filter(d=>d!==void 0),r=o[1],a=o[2];if(!a)continue;let l;if(r===\"rgb\"){const d=/^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*\\)$/gm;l=cB(B0(s,n),W0(a,d),!1)}else if(r===\"rgba\"){const d=/^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;l=cB(B0(s,n),W0(a,d),!0)}else if(r===\"hsl\"){const d=/^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*\\)$/gm;l=uB(B0(s,n),W0(a,d),!1)}else if(r===\"hsla\"){const d=/^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;l=uB(B0(s,n),W0(a,d),!0)}else r===\"#\"&&(l=Ece(B0(s,n),r+a));l&&e.push(l)}return e}function Tce(s){return!s||typeof s.getValue!=\"function\"||typeof s.positionAt!=\"function\"?[]:Ice(s)}const hB=new RegExp(\"\\\\bMARK:\\\\s*(.*)$\",\"d\"),Nce=/^-+|-+$/g;function Ace(s,e){var t;let i=[];if(e.findRegionSectionHeaders&&(!((t=e.foldingRules)===null||t===void 0)&&t.markers)){const n=Mce(s,e);i=i.concat(n)}if(e.findMarkSectionHeaders){const n=Rce(s);i=i.concat(n)}return i}function Mce(s,e){const t=[],i=s.getLineCount();for(let n=1;n<=i;n++){const o=s.getLineContent(n),r=o.match(e.foldingRules.markers.start);if(r){const a={startLineNumber:n,startColumn:r[0].length+1,endLineNumber:n,endColumn:o.length+1};if(a.endColumn>a.startColumn){const l={range:a,...fU(o.substring(r[0].length)),shouldBeInComments:!1};(l.text||l.hasSeparatorLine)&&t.push(l)}}}return t}function Rce(s){const e=[],t=s.getLineCount();for(let i=1;i<=t;i++){const n=s.getLineContent(i);Pce(n,i,e)}return e}function Pce(s,e,t){hB.lastIndex=0;const i=hB.exec(s);if(i){const n=i.indices[1][0]+1,o=i.indices[1][1]+1,r={startLineNumber:e,startColumn:n,endLineNumber:e,endColumn:o};if(r.endColumn>r.startColumn){const a={range:r,...fU(i[1]),shouldBeInComments:!0};(a.text||a.hasSeparatorLine)&&t.push(a)}}}function fU(s){s=s.trim();const e=s.startsWith(\"-\");return s=s.replace(Nce,\"\"),{text:s,hasSeparatorLine:e}}class Fce extends Nde{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const t=[];for(let i=0;i<this._lines.length;i++){const n=this._lines[i],o=this.offsetAt(new W(i+1,1)),r=n.matchAll(e);for(const a of r)(a.index||a.index===0)&&(a.index=a.index+o),t.push(a)}return t}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const i=Eb(e.column,zP(t),this._lines[e.lineNumber-1],0);return i?new x(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn):null}words(e){const t=this._lines,i=this._wordenize.bind(this);let n=0,o=\"\",r=0,a=[];return{*[Symbol.iterator](){for(;;)if(r<a.length){const l=o.substring(a[r].start,a[r].end);r+=1,yield l}else if(n<t.length)o=t[n],a=i(o,e),r=0,n+=1;else break}}}getLineWords(e,t){const i=this._lines[e-1],n=this._wordenize(i,t),o=[];for(const r of n)o.push({word:i.substring(r.start,r.end),startColumn:r.start+1,endColumn:r.end+1});return o}_wordenize(e,t){const i=[];let n;for(t.lastIndex=0;(n=t.exec(e))&&n[0].length!==0;)i.push({start:n.index,end:n.index+n[0].length});return i}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);const t=this._eol,i=e.startLineNumber-1,n=e.endLineNumber-1,o=[];o.push(this._lines[i].substring(e.startColumn-1));for(let r=i+1;r<n;r++)o.push(this._lines[r]);return o.push(this._lines[n].substring(0,e.endColumn-1)),o.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();const t=this._lineStarts.getIndexOf(e),i=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,i)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),i=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||i.lineNumber!==e.endLineNumber||i.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}:e}_validatePosition(e){if(!W.isIPosition(e))throw new Error(\"bad position\");let{lineNumber:t,column:i}=e,n=!1;if(t<1)t=1,i=1,n=!0;else if(t>this._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{const o=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>o&&(i=o,n=!0)}return n?{lineNumber:t,column:i}:e}}class rh{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new Fce(Ae.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,i){const n=this._getModel(e);return n?bF.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async findSectionHeaders(e,t){const i=this._getModel(e);return i?Ace(i,t):[]}async computeDiff(e,t,i,n){const o=this._getModel(e),r=this._getModel(t);return!o||!r?null:rh.computeDiff(o,r,i,n)}static computeDiff(e,t,i,n){const o=n===\"advanced\"?dB.getDefault():dB.getLegacy(),r=e.getLinesContent(),a=t.getLinesContent(),l=o.computeDiff(r,a,i),d=l.changes.length>0?!1:this._modelsAreIdentical(e,t);function c(u){return u.map(h=>{var g;return[h.original.startLineNumber,h.original.endLineNumberExclusive,h.modified.startLineNumber,h.modified.endLineNumberExclusive,(g=h.innerChanges)===null||g===void 0?void 0:g.map(f=>[f.originalRange.startLineNumber,f.originalRange.startColumn,f.originalRange.endLineNumber,f.originalRange.endColumn,f.modifiedRange.startLineNumber,f.modifiedRange.startColumn,f.modifiedRange.endLineNumber,f.modifiedRange.endColumn])]})}return{identical:d,quitEarly:l.hitTimeout,changes:c(l.changes),moves:l.moves.map(u=>[u.lineRangeMapping.original.startLineNumber,u.lineRangeMapping.original.endLineNumberExclusive,u.lineRangeMapping.modified.startLineNumber,u.lineRangeMapping.modified.endLineNumberExclusive,c(u.changes)])}}static _modelsAreIdentical(e,t){const i=e.getLineCount(),n=t.getLineCount();if(i!==n)return!1;for(let o=1;o<=i;o++){const r=e.getLineContent(o),a=t.getLineContent(o);if(r!==a)return!1}return!0}async computeMoreMinimalEdits(e,t,i){const n=this._getModel(e);if(!n)return t;const o=[];let r;t=t.slice(0).sort((l,d)=>{if(l.range&&d.range)return x.compareRangesUsingStarts(l.range,d.range);const c=l.range?0:1,u=d.range?0:1;return c-u});let a=0;for(let l=1;l<t.length;l++)x.getEndPosition(t[a].range).equals(x.getStartPosition(t[l].range))?(t[a].range=x.fromPositions(x.getStartPosition(t[a].range),x.getEndPosition(t[l].range)),t[a].text+=t[l].text):(a++,t[a]=t[l]);t.length=a+1;for(let{range:l,text:d,eol:c}of t){if(typeof c==\"number\"&&(r=c),x.isEmpty(l)&&!d)continue;const u=n.getValueInRange(l);if(d=d.replace(/\\r\\n|\\n|\\r/g,n.eol),u===d)continue;if(Math.max(d.length,u.length)>rh._diffLimit){o.push({range:l,text:d});continue}const h=Ede(u,d,i),g=n.offsetAt(x.lift(l).getStartPosition());for(const f of h){const m=n.positionAt(g+f.originalStart),_=n.positionAt(g+f.originalStart+f.originalLength),v={text:d.substr(f.modifiedStart,f.modifiedLength),range:{startLineNumber:m.lineNumber,startColumn:m.column,endLineNumber:_.lineNumber,endColumn:_.column}};n.getValueInRange(v.range)!==v.text&&o.push(v)}}return typeof r==\"number\"&&o.push({eol:r,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}async computeLinks(e){const t=this._getModel(e);return t?Fde(t):null}async computeDefaultDocumentColors(e){const t=this._getModel(e);return t?Tce(t):null}async textualSuggest(e,t,i,n){const o=new Jn,r=new RegExp(i,n),a=new Set;e:for(const l of e){const d=this._getModel(l);if(d){for(const c of d.words(r))if(!(c===t||!isNaN(Number(c)))&&(a.add(c),a.size>rh._suggestionsLimit))break e}}return{words:Array.from(a),duration:o.elapsed()}}async computeWordRanges(e,t,i,n){const o=this._getModel(e);if(!o)return Object.create(null);const r=new RegExp(i,n),a=Object.create(null);for(let l=t.startLineNumber;l<t.endLineNumber;l++){const d=o.getLineWords(l,r);for(const c of d){if(!isNaN(Number(c.word)))continue;let u=a[c.word];u||(u=[],a[c.word]=u),u.push({startLineNumber:l,startColumn:c.startColumn,endLineNumber:l,endColumn:c.endColumn})}}return a}async navigateValueSet(e,t,i,n,o){const r=this._getModel(e);if(!r)return null;const a=new RegExp(n,o);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});const l=r.getValueInRange(t),d=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!d)return null;const c=r.getValueInRange(d);return pA.INSTANCE.navigateValueSet(t,l,d,c,i)}loadForeignModule(e,t,i){const r={host:Mse(i,(a,l)=>this._host.fhr(a,l)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(BP(this._foreignModule))):Promise.reject(new Error(\"Unexpected usage\"))}fmr(e,t){if(!this._foreignModule||typeof this._foreignModule[e]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(i){return Promise.reject(i)}}}rh._diffLimit=1e5;rh._suggestionsLimit=1e4;typeof importScripts==\"function\"&&(globalThis.monaco=iz());const DF=ut(\"textResourceConfigurationService\"),pU=ut(\"textResourcePropertiesService\"),Ce=ut(\"ILanguageFeaturesService\");var Oce=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},H0=function(s,e){return function(t,i){e(t,i,s)}};const gB=60*1e3,fB=5*60*1e3;function Fg(s,e){const t=s.getModel(e);return!(!t||t.isTooLargeForSyncing())}let CA=class extends H{constructor(e,t,i,n,o){super(),this._modelService=e,this._workerManager=this._register(new Wce(this._modelService,n)),this._logService=i,this._register(o.linkProvider.register({language:\"*\",hasAccessToAllModels:!0},{provideLinks:(r,a)=>Fg(this._modelService,r.uri)?this._workerManager.withWorker().then(l=>l.computeLinks(r.uri)).then(l=>l&&{links:l}):Promise.resolve({links:[]})})),this._register(o.completionProvider.register(\"*\",new Bce(this._workerManager,t,this._modelService,n)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return Fg(this._modelService,e)}computedUnicodeHighlights(e,t,i){return this._workerManager.withWorker().then(n=>n.computedUnicodeHighlights(e,t,i))}async computeDiff(e,t,i,n){const o=await this._workerManager.withWorker().then(l=>l.computeDiff(e,t,i,n));if(!o)return null;return{identical:o.identical,quitEarly:o.quitEarly,changes:a(o.changes),moves:o.moves.map(l=>new lU(new Ns(new Je(l[0],l[1]),new Je(l[2],l[3])),a(l[4])))};function a(l){return l.map(d=>{var c;return new nr(new Je(d[0],d[1]),new Je(d[2],d[3]),(c=d[4])===null||c===void 0?void 0:c.map(u=>new Qa(new x(u[0],u[1],u[2],u[3]),new x(u[4],u[5],u[6],u[7]))))})}}computeMoreMinimalEdits(e,t,i=!1){if(rs(t)){if(!Fg(this._modelService,e))return Promise.resolve(t);const n=Jn.create(),o=this._workerManager.withWorker().then(r=>r.computeMoreMinimalEdits(e,t,i));return o.finally(()=>this._logService.trace(\"FORMAT#computeMoreMinimalEdits\",e.toString(!0),n.elapsed())),Promise.race([o,xh(1e3).then(()=>t)])}else return Promise.resolve(void 0)}canNavigateValueSet(e){return Fg(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return Fg(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}findSectionHeaders(e,t){return this._workerManager.withWorker().then(i=>i.findSectionHeaders(e,t))}};CA=Oce([H0(0,_i),H0(1,DF),H0(2,ys),H0(3,Yt),H0(4,Ce)],CA);class Bce{constructor(e,t,i,n){this.languageConfigurationService=n,this._debugDisplayName=\"wordbasedCompletions\",this._workerManager=e,this._configurationService=t,this._modelService=i}async provideCompletionItems(e,t){const i=this._configurationService.getValue(e.uri,t,\"editor\");if(i.wordBasedSuggestions===\"off\")return;const n=[];if(i.wordBasedSuggestions===\"currentDocument\")Fg(this._modelService,e.uri)&&n.push(e.uri);else for(const u of this._modelService.getModels())Fg(this._modelService,u.uri)&&(u===e?n.unshift(u.uri):(i.wordBasedSuggestions===\"allDocuments\"||u.getLanguageId()===e.getLanguageId())&&n.push(u.uri));if(n.length===0)return;const o=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),r=e.getWordAtPosition(t),a=r?new x(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):x.fromPositions(t),l=a.setEndPosition(t.lineNumber,t.column),c=await(await this._workerManager.withWorker()).textualSuggest(n,r==null?void 0:r.word,o);if(c)return{duration:c.duration,suggestions:c.words.map(u=>({kind:18,label:u,insertText:u,range:{insert:l,replace:a}}))}}}class Wce extends H{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new lF).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(fB/2),Ht),this._register(this._modelService.onModelRemoved(n=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>fB&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new LF(this._modelService,!1,\"editorWorkerService\",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class Hce extends H{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){const n=new oF;n.cancelAndSet(()=>this._checkStopModelSync(),Math.round(gB/2)),this._register(n)}}dispose(){for(const e in this._syncedModels)jt(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(const i of e){const n=i.toString();this._syncedModels[n]||this._beginModelSync(i,t),this._syncedModels[n]&&(this._syncedModelsLastUsedTime[n]=new Date().getTime())}}_checkStopModelSync(){const e=new Date().getTime(),t=[];for(const i in this._syncedModelsLastUsedTime)e-this._syncedModelsLastUsedTime[i]>gB&&t.push(i);for(const i of t)this._stopModelSync(i)}_beginModelSync(e,t){const i=this._modelService.getModel(e);if(!i||!t&&i.isTooLargeForSyncing())return;const n=e.toString();this._proxy.acceptNewModel({url:i.uri.toString(),lines:i.getLinesContent(),EOL:i.getEOL(),versionId:i.getVersionId()});const o=new Y;o.add(i.onDidChangeContent(r=>{this._proxy.acceptModelChanged(n.toString(),r)})),o.add(i.onWillDispose(()=>{this._stopModelSync(n)})),o.add(Ie(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=o}_stopModelSync(e){const t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],jt(t)}}class pB{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class aI{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class LF extends H{constructor(e,t,i,n){super(),this.languageConfigurationService=n,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new gx(i),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error(\"Not implemented!\")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new Vle(this._workerFactory,\"vs/editor/common/services/editorSimpleWorker\",new aI(this)))}catch(e){uA(e),this._worker=new pB(new rh(new aI(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(uA(e),this._worker=new pB(new rh(new aI(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new Hce(e,this._modelService,this._keepIdleModels))),this._modelManager}async _withSyncedResources(e,t=!1){return this._disposed?Promise.reject(Woe()):this._getProxy().then(i=>(this._getOrCreateModelManager(i).ensureSyncedResources(e,t),i))}computedUnicodeHighlights(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeUnicodeHighlights(e.toString(),t,i))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t],!0).then(o=>o.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t,i))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}computeDefaultDocumentColors(e){return this._withSyncedResources([e]).then(t=>t.computeDefaultDocumentColors(e.toString()))}async textualSuggest(e,t,i){const n=await this._withSyncedResources(e),o=i.source,r=i.flags;return n.textualSuggest(e.map(a=>a.toString()),t,o,r)}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{const n=this._modelService.getModel(e);if(!n)return Promise.resolve(null);const o=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId()).getWordDefinition(),r=o.source,a=o.flags;return i.computeWordRanges(e.toString(),t,r,a)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{const o=this._modelService.getModel(e);if(!o)return null;const r=this.languageConfigurationService.getLanguageConfiguration(o.getLanguageId()).getWordDefinition(),a=r.source,l=r.flags;return n.navigateValueSet(e.toString(),t,i,a,l)})}findSectionHeaders(e,t){return this._withSyncedResources([e]).then(i=>i.findSectionHeaders(e.toString(),t))}dispose(){super.dispose(),this._disposed=!0}}function Vce(s,e,t){return new zce(s,e,t)}class zce extends LF{constructor(e,t,i){super(e,i.keepIdleModels||!1,i.label,t),this._foreignModuleId=i.moduleId,this._foreignModuleCreateData=i.createData||null,this._foreignModuleHost=i.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||typeof this._foreignModuleHost[e]!=\"function\")return Promise.reject(new Error(\"Missing method \"+e+\" or missing main thread foreign host.\"));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(i){return Promise.reject(i)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const t=this._foreignModuleHost?BP(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(i=>{this._foreignModuleCreateData=null;const n=(a,l)=>e.fmr(a,l),o=(a,l)=>function(){const d=Array.prototype.slice.call(arguments,0);return l(a,d)},r={};for(const a of i)r[a]=o(a,n);return r})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(t=>this.getProxy())}}const p1={ICodeEditor:\"vs.editor.ICodeEditor\",IDiffEditor:\"vs.editor.IDiffEditor\"},Ub=new class{clone(){return this}equals(s){return this===s}};function mU(s,e){return new ZP([new Ib(0,\"\",s)],e)}function xF(s,e){const t=new Uint32Array(2);return t[0]=0,t[1]=(s<<0|0|0|32768|2<<24)>>>0,new KL(t,e===null?Ub:e)}class yo{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static getClassNameFromMetadata(e){let i=\"mtk\"+this.getForeground(e);const n=this.getFontStyle(e);return n&1&&(i+=\" mtki\"),n&2&&(i+=\" mtkb\"),n&4&&(i+=\" mtku\"),n&8&&(i+=\" mtks\"),i}static getInlineStyleFromMetadata(e,t){const i=this.getForeground(e),n=this.getFontStyle(e);let o=`color: ${t[i]};`;n&1&&(o+=\"font-style: italic;\"),n&2&&(o+=\"font-weight: bold;\");let r=\"\";return n&4&&(r+=\" underline\"),n&8&&(r+=\" line-through\"),r&&(o+=`text-decoration:${r};`),o}static getPresentationFromMetadata(e){const t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(i&1),bold:!!(i&2),underline:!!(i&4),strikethrough:!!(i&8)}}}class wn{static createEmpty(e,t){const i=wn.defaultTokenMetadata,n=new Uint32Array(2);return n[0]=e.length,n[1]=i,new wn(n,e,t)}constructor(e,t,i){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=i}equals(e){return e instanceof wn?this.slicedEquals(e,0,this._tokensCount):!1}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;const n=t<<1,o=n+(i<<1);for(let r=n;r<o;r++)if(this._tokens[r]!==e._tokens[r])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[(e<<1)+1]}getLanguageId(e){const t=this._tokens[(e<<1)+1],i=yo.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){const t=this._tokens[(e<<1)+1];return yo.getTokenType(t)}getForeground(e){const t=this._tokens[(e<<1)+1];return yo.getForeground(t)}getClassName(e){const t=this._tokens[(e<<1)+1];return yo.getClassNameFromMetadata(t)}getInlineStyle(e,t){const i=this._tokens[(e<<1)+1];return yo.getInlineStyleFromMetadata(i,t)}getPresentation(e){const t=this._tokens[(e<<1)+1];return yo.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return wn.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new kF(this,e,t,i)}static convertToEndOffset(e,t){const n=(e.length>>>1)-1;for(let o=0;o<n;o++)e[o<<1]=e[o+1<<1];e[n<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let i=0,n=(e.length>>>1)-1;for(;i<n;){const o=i+Math.floor((n-i)/2),r=e[o<<1];if(r===t)return o+1;r<t?i=o+1:r>t&&(n=o)}return i}withInserted(e){if(e.length===0)return this;let t=0,i=0,n=\"\";const o=new Array;let r=0;for(;;){const a=t<this._tokensCount?this._tokens[t<<1]:-1,l=i<e.length?e[i]:null;if(a!==-1&&(l===null||a<=l.offset)){n+=this._text.substring(r,a);const d=this._tokens[(t<<1)+1];o.push(n.length,d),t++,r=a}else if(l){if(l.offset>r){n+=this._text.substring(r,l.offset);const d=this._tokens[(t<<1)+1];o.push(n.length,d),r=l.offset}n+=l.text,o.push(n.length,l.tokenMetadata),i++}else break}return new wn(new Uint32Array(o),n,this._languageIdCodec)}}wn.defaultTokenMetadata=(32768|2<<24)>>>0;class kF{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let o=this._firstTokenIndex,r=e.getCount();o<r&&!(e.getStartOffset(o)>=i);o++)this._tokensCount++}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof kF?this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}class Os{constructor(e,t,i,n){this.startColumn=e,this.endColumn=t,this.className=i,this.type=n,this._lineDecorationBrand=void 0}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){const i=e.length,n=t.length;if(i!==n)return!1;for(let o=0;o<i;o++)if(!Os._equals(e[o],t[o]))return!1;return!0}static extractWrapped(e,t,i){if(e.length===0)return e;const n=t+1,o=i+1,r=i-t,a=[];let l=0;for(const d of e)d.endColumn<=n||d.startColumn>=o||(a[l++]=new Os(Math.max(1,d.startColumn-n+1),Math.min(r+1,d.endColumn-n+1),d.className,d.type));return a}static filter(e,t,i,n){if(e.length===0)return[];const o=[];let r=0;for(let a=0,l=e.length;a<l;a++){const d=e[a],c=d.range;if(c.endLineNumber<t||c.startLineNumber>t||c.isEmpty()&&(d.type===0||d.type===3))continue;const u=c.startLineNumber===t?c.startColumn:i,h=c.endLineNumber===t?c.endColumn:n;o[r++]=new Os(u,h,d.inlineClassName,d.type)}return o}static _typeCompare(e,t){const i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;const i=Os._typeCompare(e.type,t.type);return i!==0?i:e.className!==t.className?e.className<t.className?-1:1:0}}class mB{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.className=i,this.metadata=n}}class JS{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let i=0,n=e.length;i<n;i++)t|=e[i];return t}consumeLowerThan(e,t,i){for(;this.count>0&&this.stopOffsets[0]<e;){let n=0;for(;n+1<this.count&&this.stopOffsets[n]===this.stopOffsets[n+1];)n++;i.push(new mB(t,this.stopOffsets[n],this.classNames.join(\" \"),JS._metadata(this.metadata))),t=this.stopOffsets[n]+1,this.stopOffsets.splice(0,n+1),this.classNames.splice(0,n+1),this.metadata.splice(0,n+1),this.count-=n+1}return this.count>0&&t<e&&(i.push(new mB(t,e-1,this.classNames.join(\" \"),JS._metadata(this.metadata))),t=e),t}insert(e,t,i){if(this.count===0||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(i);else for(let n=0;n<this.count;n++)if(this.stopOffsets[n]>=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class Uce{static normalize(e,t){if(t.length===0)return[];const i=[],n=new JS;let o=0;for(let r=0,a=t.length;r<a;r++){const l=t[r];let d=l.startColumn,c=l.endColumn;const u=l.className,h=l.type===1?2:l.type===2?4:0;if(d>1){const m=e.charCodeAt(d-2);Cn(m)&&d--}if(c>1){const m=e.charCodeAt(c-2);Cn(m)&&c--}const g=d-1,f=c-2;o=n.consumeLowerThan(g,o,i),n.count===0&&(o=g),n.insert(f,u,h)}return n.consumeLowerThan(1073741824,o,i),i}}class Tn{constructor(e,t,i,n){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=n,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}class _U{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class tg{constructor(e,t,i,n,o,r,a,l,d,c,u,h,g,f,m,_,v,b,C){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=n,this.isBasicASCII=o,this.containsRTL=r,this.fauxIndentLength=a,this.lineTokens=l,this.lineDecorations=d.sort(Os.compare),this.tabSize=c,this.startVisibleColumn=u,this.spaceWidth=h,this.stopRenderingLineAfter=m,this.renderWhitespace=_===\"all\"?4:_===\"boundary\"?1:_===\"selection\"?2:_===\"trailing\"?3:0,this.renderControlCharacters=v,this.fontLigatures=b,this.selectionsOnLine=C&&C.sort((D,L)=>D.startOffset<L.startOffset?-1:1);const w=Math.abs(f-h),y=Math.abs(g-h);w<y?(this.renderSpaceWidth=f,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=g,this.renderSpaceCharCode=183)}sameSelection(e){if(this.selectionsOnLine===null)return e===null;if(e===null||e.length!==this.selectionsOnLine.length)return!1;for(let t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0}equals(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.renderSpaceWidth===e.renderSpaceWidth&&this.renderSpaceCharCode===e.renderSpaceCharCode&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&Os.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class vU{constructor(e,t){this.partIndex=e,this.charIndex=t}}class Bl{static getPartIndex(e){return(e&4294901760)>>>16}static getCharIndex(e){return(e&65535)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,i,n){const o=(t<<16|i<<0)>>>0;this._data[e-1]=o,this._horizontalOffset[e-1]=n}getHorizontalOffset(e){return this._horizontalOffset.length===0?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return this.length===0?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){const t=this.charOffsetToPartData(e-1),i=Bl.getPartIndex(t),n=Bl.getCharIndex(t);return new vU(i,n)}getColumn(e,t){return this.partDataToCharOffset(e.partIndex,t,e.charIndex)+1}partDataToCharOffset(e,t,i){if(this.length===0)return 0;const n=(e<<16|i<<0)>>>0;let o=0,r=this.length-1;for(;o+1<r;){const m=o+r>>>1,_=this._data[m];if(_===n)return m;_>n?r=m:o=m}if(o===r)return o;const a=this._data[o],l=this._data[r];if(a===n)return o;if(l===n)return r;const d=Bl.getPartIndex(a),c=Bl.getCharIndex(a),u=Bl.getPartIndex(l);let h;d!==u?h=t:h=Bl.getCharIndex(l);const g=i-c,f=h-i;return g<=f?o:r}}class wA{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}}function m1(s,e){if(s.lineContent.length===0){if(s.lineDecorations.length>0){e.appendString(\"<span>\");let t=0,i=0,n=0;for(const r of s.lineDecorations)(r.type===1||r.type===2)&&(e.appendString('<span class=\"'),e.appendString(r.className),e.appendString('\"></span>'),r.type===1&&(n|=1,t++),r.type===2&&(n|=2,i++));e.appendString(\"</span>\");const o=new Bl(1,t+i);return o.setColumnInfo(1,t,0,0),new wA(o,!1,n)}return e.appendString(\"<span><span></span></span>\"),new wA(new Bl(0,0),!1,0)}return Qce(Kce(s),e)}class $ce{constructor(e,t,i,n){this.characterMapping=e,this.html=t,this.containsRTL=i,this.containsForeignElements=n}}function bx(s){const e=new l0(1e4),t=m1(s,e);return new $ce(t.characterMapping,e.build(),t.containsRTL,t.containsForeignElements)}class jce{constructor(e,t,i,n,o,r,a,l,d,c,u,h,g,f,m,_){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.len=n,this.isOverflowing=o,this.overflowingCharCount=r,this.parts=a,this.containsForeignElements=l,this.fauxIndentLength=d,this.tabSize=c,this.startVisibleColumn=u,this.containsRTL=h,this.spaceWidth=g,this.renderSpaceCharCode=f,this.renderWhitespace=m,this.renderControlCharacters=_}}function Kce(s){const e=s.lineContent;let t,i,n;s.stopRenderingLineAfter!==-1&&s.stopRenderingLineAfter<e.length?(t=!0,i=e.length-s.stopRenderingLineAfter,n=s.stopRenderingLineAfter):(t=!1,i=0,n=e.length);let o=qce(e,s.containsRTL,s.lineTokens,s.fauxIndentLength,n);s.renderControlCharacters&&!s.isBasicASCII&&(o=Zce(e,o)),(s.renderWhitespace===4||s.renderWhitespace===1||s.renderWhitespace===2&&s.selectionsOnLine||s.renderWhitespace===3&&!s.continuesWithWrappedLine)&&(o=Xce(s,e,n,o));let r=0;if(s.lineDecorations.length>0){for(let a=0,l=s.lineDecorations.length;a<l;a++){const d=s.lineDecorations[a];d.type===3||d.type===1?r|=1:d.type===2&&(r|=2)}o=Yce(e,n,o,s.lineDecorations)}return s.containsRTL||(o=Gce(e,o,!s.isBasicASCII||s.fontLigatures)),new jce(s.useMonospaceOptimizations,s.canUseHalfwidthRightwardsArrow,e,n,t,i,o,r,s.fauxIndentLength,s.tabSize,s.startVisibleColumn,s.containsRTL,s.spaceWidth,s.renderSpaceCharCode,s.renderWhitespace,s.renderControlCharacters)}function qce(s,e,t,i,n){const o=[];let r=0;i>0&&(o[r++]=new Tn(i,\"\",0,!1));let a=i;for(let l=0,d=t.getCount();l<d;l++){const c=t.getEndOffset(l);if(c<=i)continue;const u=t.getClassName(l);if(c>=n){const g=e?d_(s.substring(a,n)):!1;o[r++]=new Tn(n,u,0,g);break}const h=e?d_(s.substring(a,c)):!1;o[r++]=new Tn(c,u,0,h),a=c}return o}function Gce(s,e,t){let i=0;const n=[];let o=0;if(t)for(let r=0,a=e.length;r<a;r++){const l=e[r],d=l.endIndex;if(i+50<d){const c=l.type,u=l.metadata,h=l.containsRTL;let g=-1,f=i;for(let m=i;m<d;m++)s.charCodeAt(m)===32&&(g=m),g!==-1&&m-f>=50&&(n[o++]=new Tn(g+1,c,u,h),f=g+1,g=-1);f!==d&&(n[o++]=new Tn(d,c,u,h))}else n[o++]=l;i=d}else for(let r=0,a=e.length;r<a;r++){const l=e[r],d=l.endIndex,c=d-i;if(c>50){const u=l.type,h=l.metadata,g=l.containsRTL,f=Math.ceil(c/50);for(let m=1;m<f;m++){const _=i+m*50;n[o++]=new Tn(_,u,h,g)}n[o++]=new Tn(d,u,h,g)}else n[o++]=l;i=d}return n}function bU(s){return s<32?s!==9:s===127||s>=8234&&s<=8238||s>=8294&&s<=8297||s>=8206&&s<=8207||s===1564}function Zce(s,e){const t=[];let i=new Tn(0,\"\",0,!1),n=0;for(const o of e){const r=o.endIndex;for(;n<r;n++){const a=s.charCodeAt(n);bU(a)&&(n>i.endIndex&&(i=new Tn(n,o.type,o.metadata,o.containsRTL),t.push(i)),i=new Tn(n+1,\"mtkcontrol\",o.metadata,!1),t.push(i))}n>i.endIndex&&(i=new Tn(r,o.type,o.metadata,o.containsRTL),t.push(i))}return t}function Xce(s,e,t,i){const n=s.continuesWithWrappedLine,o=s.fauxIndentLength,r=s.tabSize,a=s.startVisibleColumn,l=s.useMonospaceOptimizations,d=s.selectionsOnLine,c=s.renderWhitespace===1,u=s.renderWhitespace===3,h=s.renderSpaceWidth!==s.spaceWidth,g=[];let f=0,m=0,_=i[m].type,v=i[m].containsRTL,b=i[m].endIndex;const C=i.length;let w=!1,y=Cs(e),D;y===-1?(w=!0,y=t,D=t):D=Ya(e);let L=!1,k=0,I=d&&d[k],O=a%r;for(let P=o;P<t;P++){const F=e.charCodeAt(P);I&&P>=I.endOffset&&(k++,I=d&&d[k]);let V;if(P<y||P>D)V=!0;else if(F===9)V=!0;else if(F===32)if(c)if(L)V=!0;else{const U=P+1<t?e.charCodeAt(P+1):0;V=U===32||U===9}else V=!0;else V=!1;if(V&&d&&(V=!!I&&I.startOffset<=P&&I.endOffset>P),V&&u&&(V=w||P>D),V&&v&&P>=y&&P<=D&&(V=!1),L){if(!V||!l&&O>=r){if(h){const U=f>0?g[f-1].endIndex:o;for(let J=U+1;J<=P;J++)g[f++]=new Tn(J,\"mtkw\",1,!1)}else g[f++]=new Tn(P,\"mtkw\",1,!1);O=O%r}}else(P===b||V&&P>o)&&(g[f++]=new Tn(P,_,0,v),O=O%r);for(F===9?O=r:Dh(F)?O+=2:O++,L=V;P===b&&(m++,m<C);)_=i[m].type,v=i[m].containsRTL,b=i[m].endIndex}let R=!1;if(L)if(n&&c){const P=t>0?e.charCodeAt(t-1):0,F=t>1?e.charCodeAt(t-2):0;P===32&&F!==32&&F!==9||(R=!0)}else R=!0;if(R)if(h){const P=f>0?g[f-1].endIndex:o;for(let F=P+1;F<=t;F++)g[f++]=new Tn(F,\"mtkw\",1,!1)}else g[f++]=new Tn(t,\"mtkw\",1,!1);else g[f++]=new Tn(t,_,0,v);return g}function Yce(s,e,t,i){i.sort(Os.compare);const n=Uce.normalize(s,i),o=n.length;let r=0;const a=[];let l=0,d=0;for(let u=0,h=t.length;u<h;u++){const g=t[u],f=g.endIndex,m=g.type,_=g.metadata,v=g.containsRTL;for(;r<o&&n[r].startOffset<f;){const b=n[r];if(b.startOffset>d&&(d=b.startOffset,a[l++]=new Tn(d,m,_,v)),b.endOffset+1<=f)d=b.endOffset+1,a[l++]=new Tn(d,m+\" \"+b.className,_|b.metadata,v),r++;else{d=f,a[l++]=new Tn(d,m+\" \"+b.className,_|b.metadata,v);break}}f>d&&(d=f,a[l++]=new Tn(d,m,_,v))}const c=t[t.length-1].endIndex;if(r<o&&n[r].startOffset===c)for(;r<o&&n[r].startOffset===c;){const u=n[r];a[l++]=new Tn(d,u.className,u.metadata,!1),r++}return a}function Qce(s,e){const t=s.fontIsMonospace,i=s.canUseHalfwidthRightwardsArrow,n=s.containsForeignElements,o=s.lineContent,r=s.len,a=s.isOverflowing,l=s.overflowingCharCount,d=s.parts,c=s.fauxIndentLength,u=s.tabSize,h=s.startVisibleColumn,g=s.containsRTL,f=s.spaceWidth,m=s.renderSpaceCharCode,_=s.renderWhitespace,v=s.renderControlCharacters,b=new Bl(r+1,d.length);let C=!1,w=0,y=h,D=0,L=0,k=0;g?e.appendString('<span dir=\"ltr\">'):e.appendString(\"<span>\");for(let I=0,O=d.length;I<O;I++){const R=d[I],P=R.endIndex,F=R.type,V=R.containsRTL,U=_!==0&&R.isWhitespace(),J=U&&!t&&(F===\"mtkw\"||!n),pe=w===P&&R.isPseudoAfter();if(D=0,e.appendString(\"<span \"),V&&e.appendString('style=\"unicode-bidi:isolate\" '),e.appendString('class=\"'),e.appendString(J?\"mtkz\":F),e.appendASCIICharCode(34),U){let De=0;{let ge=w,We=y;for(;ge<P;ge++){const ve=(o.charCodeAt(ge)===9?u-We%u:1)|0;De+=ve,ge>=c&&(We+=ve)}}for(J&&(e.appendString(' style=\"width:'),e.appendString(String(f*De)),e.appendString('px\"')),e.appendASCIICharCode(62);w<P;w++){b.setColumnInfo(w+1,I-k,D,L),k=0;const ge=o.charCodeAt(w);let We,ye;if(ge===9){We=u-y%u|0,ye=We,!i||ye>1?e.appendCharCode(8594):e.appendCharCode(65515);for(let ve=2;ve<=ye;ve++)e.appendCharCode(160)}else We=2,ye=1,e.appendCharCode(m),e.appendCharCode(8204);D+=We,L+=ye,w>=c&&(y+=ye)}}else for(e.appendASCIICharCode(62);w<P;w++){b.setColumnInfo(w+1,I-k,D,L),k=0;const De=o.charCodeAt(w);let ge=1,We=1;switch(De){case 9:ge=u-y%u,We=ge;for(let ye=1;ye<=ge;ye++)e.appendCharCode(160);break;case 32:e.appendCharCode(160);break;case 60:e.appendString(\"&lt;\");break;case 62:e.appendString(\"&gt;\");break;case 38:e.appendString(\"&amp;\");break;case 0:v?e.appendCharCode(9216):e.appendString(\"&#00;\");break;case 65279:case 8232:case 8233:case 133:e.appendCharCode(65533);break;default:Dh(De)&&We++,v&&De<32?e.appendCharCode(9216+De):v&&De===127?e.appendCharCode(9249):v&&bU(De)?(e.appendString(\"[U+\"),e.appendString(Jce(De)),e.appendString(\"]\"),ge=8,We=ge):e.appendCharCode(De)}D+=ge,L+=We,w>=c&&(y+=We)}pe?k++:k=0,w>=r&&!C&&R.isPseudoAfter()&&(C=!0,b.setColumnInfo(w+1,I,D,L)),e.appendString(\"</span>\")}return C||b.setColumnInfo(r+1,d.length-1,D,L),a&&(e.appendString('<span class=\"mtkoverflow\">'),e.appendString(p(\"showMore\",\"Show more ({0})\",eue(l))),e.appendString(\"</span>\")),e.appendString(\"</span>\"),new wA(b,g,n)}function Jce(s){return s.toString(16).toUpperCase().padStart(4,\"0\")}function eue(s){return s<1024?p(\"overflow.chars\",\"{0} chars\",s):s<1024*1024?`${(s/1024).toFixed(1)} KB`:`${(s/1024/1024).toFixed(1)} MB`}class _B{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=e|0,this.left=t|0,this.width=i|0,this.height=n|0}}class tue{constructor(e,t){this.tabSize=e,this.data=t}}class EF{constructor(e,t,i,n,o,r,a){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=n,this.startVisibleColumn=o,this.tokens=r,this.inlineDecorations=a}}class lr{constructor(e,t,i,n,o,r,a,l,d,c){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=n,this.isBasicASCII=lr.isBasicASCII(i,r),this.containsRTL=lr.containsRTL(i,this.isBasicASCII,o),this.tokens=a,this.inlineDecorations=l,this.tabSize=d,this.startVisibleColumn=c}static isBasicASCII(e,t){return t?c1(e):!0}static containsRTL(e,t,i){return!t&&i?d_(e):!1}}class $v{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}}class iue{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=n}toInlineDecoration(e){return new $v(new x(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class CU{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class $b{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static compareByRenderingProps(e,t){return e.zIndex===t.zIndex?e.color<t.color?-1:e.color>t.color?1:0:e.zIndex-t.zIndex}static equals(e,t){return e.color===t.color&&e.zIndex===t.zIndex&&Ci(e.data,t.data)}static equalsArr(e,t){return Ci(e,t,$b.equals)}}function nue(s){return Array.isArray(s)}function sue(s){return!nue(s)}function wU(s){return typeof s==\"string\"}function vB(s){return!wU(s)}function Og(s){return!s}function Tc(s,e){return s.ignoreCase&&e?e.toLowerCase():e}function bB(s){return s.replace(/[&<>'\"_]/g,\"-\")}function oue(s,e){console.log(`${s.languageId}: ${e}`)}function ai(s,e){return new Error(`${s.languageId}: ${e}`)}function Tu(s,e,t,i,n){const o=/\\$((\\$)|(#)|(\\d\\d?)|[sS](\\d\\d?)|@(\\w+))/g;let r=null;return e.replace(o,function(a,l,d,c,u,h,g,f,m){return Og(d)?Og(c)?!Og(u)&&u<i.length?Tc(s,i[u]):!Og(g)&&s&&typeof s[g]==\"string\"?s[g]:(r===null&&(r=n.split(\".\"),r.unshift(n)),!Og(h)&&h<r.length?Tc(s,r[h]):\"\"):Tc(s,t):\"$\"})}function rue(s,e,t){const i=/\\$[sS](\\d\\d?)/g;let n=null;return e.replace(i,function(o,r){return n===null&&(n=t.split(\".\"),n.unshift(t)),!Og(r)&&r<n.length?Tc(s,n[r]):\"\"})}function vw(s,e){let t=e;for(;t&&t.length>0;){const i=s.tokenizer[t];if(i)return i;const n=t.lastIndexOf(\".\");n<0?t=null:t=t.substr(0,n)}return null}function aue(s,e){let t=e;for(;t&&t.length>0;){if(s.stateNames[t])return!0;const n=t.lastIndexOf(\".\");n<0?t=null:t=t.substr(0,n)}return!1}var lue=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},due=function(s,e){return function(t,i){e(t,i,s)}},yA;const yU=5;class jb{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(e!==null&&e.depth>=this._maxCacheDepth)return new Mm(e,t);let i=Mm.getStackElementId(e);i.length>0&&(i+=\"|\"),i+=t;let n=this._entries[i];return n||(n=new Mm(e,t),this._entries[i]=n,n)}}jb._INSTANCE=new jb(yU);class Mm{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t=\"\";for(;e!==null;)t.length>0&&(t+=\"|\"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;e!==null&&t!==null;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return e===null&&t===null}equals(e){return Mm._equals(this,e)}push(e){return jb.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return jb.create(this.parent,e)}}class sm{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new sm(this.languageId,this.state)}}class Nu{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(t!==null)return new jv(e,t);if(e!==null&&e.depth>=this._maxCacheDepth)return new jv(e,t);const i=Mm.getStackElementId(e);let n=this._entries[i];return n||(n=new jv(e,null),this._entries[i]=n,n)}}Nu._INSTANCE=new Nu(yU);class jv{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:Nu.create(this.stack,this.embeddedLanguageData)}equals(e){return!(e instanceof jv)||!this.stack.equals(e.stack)?!1:this.embeddedLanguageData===null&&e.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||e.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(e.embeddedLanguageData)}}class cue{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new Ib(e,t,this._languageId)))}nestedLanguageTokenize(e,t,i,n){const o=i.languageId,r=i.state,a=Ki.get(o);if(!a)return this.enterLanguage(o),this.emit(n,\"\"),r;const l=a.tokenize(e,t,r);if(n!==0)for(const d of l.tokens)this._tokens.push(new Ib(d.offset+n,d.type,d.language));else this._tokens=this._tokens.concat(l.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,l.endState}finalize(e){return new ZP(this._tokens,e)}}class eD{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){const i=this._theme.match(this._currentLanguageId,t)|1024;this._lastTokenMetadata!==i&&(this._lastTokenMetadata=i,this._tokens.push(e),this._tokens.push(i))}static _merge(e,t,i){const n=e!==null?e.length:0,o=t.length,r=i!==null?i.length:0;if(n===0&&o===0&&r===0)return new Uint32Array(0);if(n===0&&o===0)return i;if(o===0&&r===0)return e;const a=new Uint32Array(n+o+r);e!==null&&a.set(e);for(let l=0;l<o;l++)a[n+l]=t[l];return i!==null&&a.set(i,n+o),a}nestedLanguageTokenize(e,t,i,n){const o=i.languageId,r=i.state,a=Ki.get(o);if(!a)return this.enterLanguage(o),this.emit(n,\"\"),r;const l=a.tokenizeEncoded(e,t,r);if(n!==0)for(let d=0,c=l.tokens.length;d<c;d+=2)l.tokens[d]+=n;return this._prependTokens=eD._merge(this._prependTokens,this._tokens,l.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,l.endState}finalize(e){return new KL(eD._merge(this._prependTokens,this._tokens,null),e)}}let Kb=yA=class extends H{constructor(e,t,i,n,o){super(),this._configurationService=o,this._languageService=e,this._standaloneThemeService=t,this._languageId=i,this._lexer=n,this._embeddedLanguages=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let r=!1;this._register(Ki.onDidChange(a=>{if(r)return;let l=!1;for(let d=0,c=a.changedLanguages.length;d<c;d++){const u=a.changedLanguages[d];if(this._embeddedLanguages[u]){l=!0;break}}l&&(r=!0,Ki.handleChange([this._languageId]),r=!1)})),this._maxTokenizationLineLength=this._configurationService.getValue(\"editor.maxTokenizationLineLength\",{overrideIdentifier:this._languageId}),this._register(this._configurationService.onDidChangeConfiguration(a=>{a.affectsConfiguration(\"editor.maxTokenizationLineLength\")&&(this._maxTokenizationLineLength=this._configurationService.getValue(\"editor.maxTokenizationLineLength\",{overrideIdentifier:this._languageId}))}))}getLoadStatus(){const e=[];for(const t in this._embeddedLanguages){const i=Ki.get(t);if(i){if(i instanceof yA){const n=i.getLoadStatus();n.loaded===!1&&e.push(n.promise)}continue}Ki.isResolved(t)||e.push(Ki.getOrCreate(t))}return e.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(t=>{})}}getInitialState(){const e=jb.create(null,this._lexer.start);return Nu.create(e,null)}tokenize(e,t,i){if(e.length>=this._maxTokenizationLineLength)return mU(this._languageId,i);const n=new cue,o=this._tokenize(e,t,i,n);return n.finalize(o)}tokenizeEncoded(e,t,i){if(e.length>=this._maxTokenizationLineLength)return xF(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),i);const n=new eD(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,t,i,n);return n.finalize(o)}_tokenize(e,t,i,n){return i.embeddedLanguageData?this._nestedTokenize(e,t,i,0,n):this._myTokenize(e,t,i,0,n)}_findLeavingNestedLanguageOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&(i=vw(this._lexer,t.stack.state),!i))throw ai(this._lexer,\"tokenizer state is not defined: \"+t.stack.state);let n=-1,o=!1;for(const r of i){if(!vB(r.action)||r.action.nextEmbedded!==\"@pop\")continue;o=!0;let a=r.resolveRegex(t.stack.state);const l=a.source;if(l.substr(0,4)===\"^(?:\"&&l.substr(l.length-1,1)===\")\"){const c=(a.ignoreCase?\"i\":\"\")+(a.unicode?\"u\":\"\");a=new RegExp(l.substr(4,l.length-5),c)}const d=e.search(a);d===-1||d!==0&&r.matchOnlyAtLineStart||(n===-1||d<n)&&(n=d)}if(!o)throw ai(this._lexer,'no rule containing nextEmbedded: \"@pop\" in tokenizer embedded state: '+t.stack.state);return n}_nestedTokenize(e,t,i,n,o){const r=this._findLeavingNestedLanguageOffset(e,i);if(r===-1){const d=o.nestedLanguageTokenize(e,t,i.embeddedLanguageData,n);return Nu.create(i.stack,new sm(i.embeddedLanguageData.languageId,d))}const a=e.substring(0,r);a.length>0&&o.nestedLanguageTokenize(a,!1,i.embeddedLanguageData,n);const l=e.substring(r);return this._myTokenize(l,t,i,n+r,o)}_safeRuleName(e){return e?e.name:\"(unknown)\"}_myTokenize(e,t,i,n,o){o.enterLanguage(this._languageId);const r=e.length,a=t&&this._lexer.includeLF?e+`\n`:e,l=a.length;let d=i.embeddedLanguageData,c=i.stack,u=0,h=null,g=!0;for(;g||u<l;){const f=u,m=c.depth,_=h?h.groups.length:0,v=c.state;let b=null,C=null,w=null,y=null,D=null;if(h){b=h.matches;const I=h.groups.shift();C=I.matched,w=I.action,y=h.rule,h.groups.length===0&&(h=null)}else{if(!g&&u>=l)break;g=!1;let I=this._lexer.tokenizer[v];if(!I&&(I=vw(this._lexer,v),!I))throw ai(this._lexer,\"tokenizer state is not defined: \"+v);const O=a.substr(u);for(const R of I)if((u===0||!R.matchOnlyAtLineStart)&&(b=O.match(R.resolveRegex(v)),b)){C=b[0],w=R.action;break}}if(b||(b=[\"\"],C=\"\"),w||(u<l&&(b=[a.charAt(u)],C=b[0]),w=this._lexer.defaultToken),C===null)break;for(u+=C.length;sue(w)&&vB(w)&&w.test;)w=w.test(C,b,v,u===l);let L=null;if(typeof w==\"string\"||Array.isArray(w))L=w;else if(w.group)L=w.group;else if(w.token!==null&&w.token!==void 0){if(w.tokenSubst?L=Tu(this._lexer,w.token,C,b,v):L=w.token,w.nextEmbedded)if(w.nextEmbedded===\"@pop\"){if(!d)throw ai(this._lexer,\"cannot pop embedded language if not inside one\");d=null}else{if(d)throw ai(this._lexer,\"cannot enter embedded language from within an embedded language\");D=Tu(this._lexer,w.nextEmbedded,C,b,v)}if(w.goBack&&(u=Math.max(0,u-w.goBack)),w.switchTo&&typeof w.switchTo==\"string\"){let I=Tu(this._lexer,w.switchTo,C,b,v);if(I[0]===\"@\"&&(I=I.substr(1)),vw(this._lexer,I))c=c.switchTo(I);else throw ai(this._lexer,\"trying to switch to a state '\"+I+\"' that is undefined in rule: \"+this._safeRuleName(y))}else{if(w.transform&&typeof w.transform==\"function\")throw ai(this._lexer,\"action.transform not supported\");if(w.next)if(w.next===\"@push\"){if(c.depth>=this._lexer.maxStack)throw ai(this._lexer,\"maximum tokenizer stack size reached: [\"+c.state+\",\"+c.parent.state+\",...]\");c=c.push(v)}else if(w.next===\"@pop\"){if(c.depth<=1)throw ai(this._lexer,\"trying to pop an empty stack in rule: \"+this._safeRuleName(y));c=c.pop()}else if(w.next===\"@popall\")c=c.popall();else{let I=Tu(this._lexer,w.next,C,b,v);if(I[0]===\"@\"&&(I=I.substr(1)),vw(this._lexer,I))c=c.push(I);else throw ai(this._lexer,\"trying to set a next state '\"+I+\"' that is undefined in rule: \"+this._safeRuleName(y))}}w.log&&typeof w.log==\"string\"&&oue(this._lexer,this._lexer.languageId+\": \"+Tu(this._lexer,w.log,C,b,v))}if(L===null)throw ai(this._lexer,\"lexer rule has no well-defined action in rule: \"+this._safeRuleName(y));const k=I=>{const O=this._languageService.getLanguageIdByLanguageName(I)||this._languageService.getLanguageIdByMimeType(I)||I,R=this._getNestedEmbeddedLanguageData(O);if(u<l){const P=e.substr(u);return this._nestedTokenize(P,t,Nu.create(c,R),n+u,o)}else return Nu.create(c,R)};if(Array.isArray(L)){if(h&&h.groups.length>0)throw ai(this._lexer,\"groups cannot be nested: \"+this._safeRuleName(y));if(b.length!==L.length+1)throw ai(this._lexer,\"matched number of groups does not match the number of actions in rule: \"+this._safeRuleName(y));let I=0;for(let O=1;O<b.length;O++)I+=b[O].length;if(I!==C.length)throw ai(this._lexer,\"with groups, all characters should be matched in consecutive groups in rule: \"+this._safeRuleName(y));h={rule:y,matches:b,groups:[]};for(let O=0;O<L.length;O++)h.groups[O]={action:L[O],matched:b[O+1]};u-=C.length;continue}else{if(L===\"@rematch\"&&(u-=C.length,C=\"\",b=null,L=\"\",D!==null))return k(D);if(C.length===0){if(l===0||m!==c.depth||v!==c.state||(h?h.groups.length:0)!==_)continue;throw ai(this._lexer,\"no progress in tokenizer in rule: \"+this._safeRuleName(y))}let I=null;if(wU(L)&&L.indexOf(\"@brackets\")===0){const O=L.substr(9),R=uue(this._lexer,C);if(!R)throw ai(this._lexer,\"@brackets token returned but no bracket defined as: \"+C);I=bB(R.token+O)}else{const O=L===\"\"?\"\":L+this._lexer.tokenPostfix;I=bB(O)}f<r&&o.emit(f+n,I)}if(D!==null)return k(D)}return Nu.create(c,d)}_getNestedEmbeddedLanguageData(e){if(!this._languageService.isRegisteredLanguageId(e))return new sm(e,Ub);e!==this._languageId&&(this._languageService.requestBasicLanguageFeatures(e),Ki.getOrCreate(e),this._embeddedLanguages[e]=!0);const t=Ki.get(e);return t?new sm(e,t.getInitialState()):new sm(e,Ub)}};Kb=yA=lue([due(4,rt)],Kb);function uue(s,e){if(!e)return null;e=Tc(s,e);const t=s.brackets;for(const i of t){if(i.open===e)return{token:i.token,bracketType:1};if(i.close===e)return{token:i.token,bracketType:-1}}return null}const lI=tu(\"standaloneColorizer\",{createHTML:s=>s});class IF{static colorizeElement(e,t,i,n){n=n||{};const o=n.theme||\"vs\",r=n.mimeType||i.getAttribute(\"lang\")||i.getAttribute(\"data-lang\");if(!r)return console.error(\"Mode not detected\"),Promise.resolve();const a=t.getLanguageIdByMimeType(r)||r;e.setTheme(o);const l=i.firstChild?i.firstChild.nodeValue:\"\";i.className+=\" \"+o;const d=c=>{var u;const h=(u=lI==null?void 0:lI.createHTML(c))!==null&&u!==void 0?u:c;i.innerHTML=h};return this.colorize(t,l||\"\",a,n).then(d,c=>console.error(c))}static async colorize(e,t,i,n){const o=e.languageIdCodec;let r=4;n&&typeof n.tabSize==\"number\"&&(r=n.tabSize),iF(t)&&(t=t.substr(1));const a=Td(t);if(!e.isRegisteredLanguageId(i))return CB(a,r,o);const l=await Ki.getOrCreate(i);return l?hue(a,r,l,o):CB(a,r,o)}static colorizeLine(e,t,i,n,o=4){const r=lr.isBasicASCII(e,t),a=lr.containsRTL(e,r,i);return bx(new tg(!1,!0,e,!1,r,a,0,n,[],o,0,0,0,0,-1,\"none\",!1,!1,null)).html}static colorizeModelLine(e,t,i=4){const n=e.getLineContent(t);e.tokenization.forceTokenization(t);const r=e.tokenization.getLineTokens(t).inflate();return this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),r,i)}}function hue(s,e,t,i){return new Promise((n,o)=>{const r=()=>{const a=gue(s,e,t,i);if(t instanceof Kb){const l=t.getLoadStatus();if(l.loaded===!1){l.promise.then(r,o);return}}n(a)};r()})}function CB(s,e,t){let i=[];const o=new Uint32Array(2);o[0]=0,o[1]=33587200;for(let r=0,a=s.length;r<a;r++){const l=s[r];o[0]=l.length;const d=new wn(o,l,t),c=lr.isBasicASCII(l,!0),u=lr.containsRTL(l,c,!0),h=bx(new tg(!1,!0,l,!1,c,u,0,d,[],e,0,0,0,0,-1,\"none\",!1,!1,null));i=i.concat(h.html),i.push(\"<br/>\")}return i.join(\"\")}function gue(s,e,t,i){let n=[],o=t.getInitialState();for(let r=0,a=s.length;r<a;r++){const l=s[r],d=t.tokenizeEncoded(l,!0,o);wn.convertToEndOffset(d.tokens,l.length);const c=new wn(d.tokens,l,i),u=lr.isBasicASCII(l,!0),h=lr.containsRTL(l,u,!0),g=bx(new tg(!1,!0,l,!1,u,h,0,c.inflate(),[],e,0,0,0,0,-1,\"none\",!1,!1,null));n=n.concat(g.html),n.push(\"<br/>\"),o=d.endState}return n.join(\"\")}const wB=2e4;let Bg,Uy,SA,$y,DA;function fue(s){Bg=document.createElement(\"div\"),Bg.className=\"monaco-aria-container\";const e=()=>{const i=document.createElement(\"div\");return i.className=\"monaco-alert\",i.setAttribute(\"role\",\"alert\"),i.setAttribute(\"aria-atomic\",\"true\"),Bg.appendChild(i),i};Uy=e(),SA=e();const t=()=>{const i=document.createElement(\"div\");return i.className=\"monaco-status\",i.setAttribute(\"aria-live\",\"polite\"),i.setAttribute(\"aria-atomic\",\"true\"),Bg.appendChild(i),i};$y=t(),DA=t(),s.appendChild(Bg)}function fo(s){Bg&&(Uy.textContent!==s?(zn(SA),tD(Uy,s)):(zn(Uy),tD(SA,s)))}function Uc(s){Bg&&($y.textContent!==s?(zn(DA),tD($y,s)):(zn($y),tD(DA,s)))}function tD(s,e){zn(s),e.length>wB&&(e=e.substr(0,wB)),s.textContent=e,s.style.visibility=\"hidden\",s.style.visibility=\"visible\"}const TF=ut(\"markerDecorationsService\");var pue=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},mue=function(s,e){return function(t,i){e(t,i,s)}};let qb=class{constructor(e,t){}dispose(){}};qb.ID=\"editor.contrib.markerDecorations\";qb=pue([mue(1,TF)],qb);kt(qb.ID,qb,0);class SU extends H{constructor(e,t){super(),this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let e=null;const t=()=>{e?this.observe({width:e.width,height:e.height}):this.observe()};let i=!1,n=!1;const o=()=>{if(i&&!n)try{i=!1,n=!0,t()}finally{Ao(Te(this._referenceDomElement),()=>{n=!1,o()})}};this._resizeObserver=new ResizeObserver(r=>{r&&r[0]&&r[0].contentRect?e={width:r[0].contentRect.width,height:r[0].contentRect.height}:e=null,i=!0,o()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this._referenceDomElement&&(i=this._referenceDomElement.clientWidth,n=this._referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),(this._width!==i||this._height!==n)&&(this._width=i,this._height=n,e&&this._onDidChange.fire())}}class ah{constructor(e,t){this.key=e,this.migrate=t}apply(e){const t=ah._read(e,this.key),i=o=>ah._read(e,o),n=(o,r)=>ah._write(e,o,r);this.migrate(t,i,n)}static _read(e,t){if(typeof e>\"u\")return;const i=t.indexOf(\".\");if(i>=0){const n=t.substring(0,i);return this._read(e[n],t.substring(i+1))}return e[t]}static _write(e,t,i){const n=t.indexOf(\".\");if(n>=0){const o=t.substring(0,n);e[o]=e[o]||{},this._write(e[o],t.substring(n+1),i);return}e[t]=i}}ah.items=[];function ml(s,e){ah.items.push(new ah(s,e))}function Po(s,e){ml(s,(t,i,n)=>{if(typeof t<\"u\"){for(const[o,r]of e)if(t===o){n(s,r);return}}})}function _ue(s){ah.items.forEach(e=>e.apply(s))}Po(\"wordWrap\",[[!0,\"on\"],[!1,\"off\"]]);Po(\"lineNumbers\",[[!0,\"on\"],[!1,\"off\"]]);Po(\"cursorBlinking\",[[\"visible\",\"solid\"]]);Po(\"renderWhitespace\",[[!0,\"boundary\"],[!1,\"none\"]]);Po(\"renderLineHighlight\",[[!0,\"line\"],[!1,\"none\"]]);Po(\"acceptSuggestionOnEnter\",[[!0,\"on\"],[!1,\"off\"]]);Po(\"tabCompletion\",[[!1,\"off\"],[!0,\"onlySnippets\"]]);Po(\"hover\",[[!0,{enabled:!0}],[!1,{enabled:!1}]]);Po(\"parameterHints\",[[!0,{enabled:!0}],[!1,{enabled:!1}]]);Po(\"autoIndent\",[[!1,\"advanced\"],[!0,\"full\"]]);Po(\"matchBrackets\",[[!0,\"always\"],[!1,\"never\"]]);Po(\"renderFinalNewline\",[[!0,\"on\"],[!1,\"off\"]]);Po(\"cursorSmoothCaretAnimation\",[[!0,\"on\"],[!1,\"off\"]]);Po(\"occurrencesHighlight\",[[!0,\"singleFile\"],[!1,\"off\"]]);Po(\"wordBasedSuggestions\",[[!0,\"matchingDocuments\"],[!1,\"off\"]]);ml(\"autoClosingBrackets\",(s,e,t)=>{s===!1&&(t(\"autoClosingBrackets\",\"never\"),typeof e(\"autoClosingQuotes\")>\"u\"&&t(\"autoClosingQuotes\",\"never\"),typeof e(\"autoSurround\")>\"u\"&&t(\"autoSurround\",\"never\"))});ml(\"renderIndentGuides\",(s,e,t)=>{typeof s<\"u\"&&(t(\"renderIndentGuides\",void 0),typeof e(\"guides.indentation\")>\"u\"&&t(\"guides.indentation\",!!s))});ml(\"highlightActiveIndentGuide\",(s,e,t)=>{typeof s<\"u\"&&(t(\"highlightActiveIndentGuide\",void 0),typeof e(\"guides.highlightActiveIndentation\")>\"u\"&&t(\"guides.highlightActiveIndentation\",!!s))});const vue={method:\"showMethods\",function:\"showFunctions\",constructor:\"showConstructors\",deprecated:\"showDeprecated\",field:\"showFields\",variable:\"showVariables\",class:\"showClasses\",struct:\"showStructs\",interface:\"showInterfaces\",module:\"showModules\",property:\"showProperties\",event:\"showEvents\",operator:\"showOperators\",unit:\"showUnits\",value:\"showValues\",constant:\"showConstants\",enum:\"showEnums\",enumMember:\"showEnumMembers\",keyword:\"showKeywords\",text:\"showWords\",color:\"showColors\",file:\"showFiles\",reference:\"showReferences\",folder:\"showFolders\",typeParameter:\"showTypeParameters\",snippet:\"showSnippets\"};ml(\"suggest.filteredTypes\",(s,e,t)=>{if(s&&typeof s==\"object\"){for(const i of Object.entries(vue))s[i[0]]===!1&&typeof e(`suggest.${i[1]}`)>\"u\"&&t(`suggest.${i[1]}`,!1);t(\"suggest.filteredTypes\",void 0)}});ml(\"quickSuggestions\",(s,e,t)=>{if(typeof s==\"boolean\"){const i=s?\"on\":\"off\";t(\"quickSuggestions\",{comments:i,strings:i,other:i})}});ml(\"experimental.stickyScroll.enabled\",(s,e,t)=>{typeof s==\"boolean\"&&(t(\"experimental.stickyScroll.enabled\",void 0),typeof e(\"stickyScroll.enabled\")>\"u\"&&t(\"stickyScroll.enabled\",s))});ml(\"experimental.stickyScroll.maxLineCount\",(s,e,t)=>{typeof s==\"number\"&&(t(\"experimental.stickyScroll.maxLineCount\",void 0),typeof e(\"stickyScroll.maxLineCount\")>\"u\"&&t(\"stickyScroll.maxLineCount\",s))});ml(\"codeActionsOnSave\",(s,e,t)=>{if(s&&typeof s==\"object\"){let i=!1;const n={};for(const o of Object.entries(s))typeof o[1]==\"boolean\"?(i=!0,n[o[0]]=o[1]?\"explicit\":\"never\"):n[o[0]]=o[1];i&&t(\"codeActionsOnSave\",n)}});ml(\"codeActionWidget.includeNearbyQuickfixes\",(s,e,t)=>{typeof s==\"boolean\"&&(t(\"codeActionWidget.includeNearbyQuickfixes\",void 0),typeof e(\"codeActionWidget.includeNearbyQuickFixes\")>\"u\"&&t(\"codeActionWidget.includeNearbyQuickFixes\",s))});ml(\"lightbulb.enabled\",(s,e,t)=>{typeof s==\"boolean\"&&t(\"lightbulb.enabled\",s?void 0:\"off\")});class bue{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new B,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus)}}const p_=new bue,gr=ut(\"accessibilityService\"),_1=new ue(\"accessibilityModeEnabled\",!1);var Cue=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},wue=function(s,e){return function(t,i){e(t,i,s)}};let LA=class extends H{constructor(e,t,i,n,o){super(),this._accessibilityService=o,this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new B),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new VV,this.isSimpleWidget=e,this.contextMenuId=t,this._containerObserver=this._register(new SU(n,i.dimension)),this._targetWindowId=Te(n).vscodeWindowId,this._rawOptions=yB(i),this._validatedOptions=Au.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(13)&&this._containerObserver.startObserving(),this._register(Sr.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(p_.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(aA.onDidChange(()=>this._recomputeOptions())),this._register(Ob.getInstance(Te(n)).onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){const e=this._computeOptions(),t=Au.checkEquals(this.options,e);t!==null&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){const e=this._readEnvConfiguration(),t=rf.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),i=this._readFontInfo(t),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:i,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:p_.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return Au.computeOptions(this._validatedOptions,n)}_readEnvConfiguration(){return{extraEditorClassName:Sue(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:GL||Fr,pixelRatio:Ob.getInstance(C3(this._targetWindowId,!0).window).value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return aA.readFontInfo(C3(this._targetWindowId,!0).window,e)}getRawOptions(){return this._rawOptions}updateOptions(e){const t=yB(e);Au.applyUpdate(this._rawOptions,t)&&(this._validatedOptions=Au.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){const t=yue(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(e){this._glyphMarginDecorationLaneCount!==e&&(this._glyphMarginDecorationLaneCount=e,this._recomputeOptions())}};LA=Cue([wue(4,gr)],LA);function yue(s){let e=0;for(;s;)s=Math.floor(s/10),e++;return e||1}function Sue(){let s=\"\";return!Lh&&!hz&&(s+=\"no-user-select \"),Lh&&(s+=\"no-minimap-shadow \",s+=\"enable-user-select \"),lt&&(s+=\"mac \"),s}class Due{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class Lue{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw new Error(\"Cannot read uninitialized value\");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}}class Au{static validateOptions(e){const t=new Due;for(const i of Jp){const n=i.name===\"_never_\"?void 0:e[i.name];t._write(i.id,i.validate(n))}return t}static computeOptions(e,t){const i=new Lue;for(const n of Jp)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if(typeof e!=\"object\"||typeof t!=\"object\"||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)?Ci(e,t):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e)if(!Au._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){const i=[];let n=!1;for(const o of Jp){const r=!Au._deepEquals(e._read(o.id),t._read(o.id));i[o.id]=r,r&&(n=!0)}return n?new HV(i):null}static applyUpdate(e,t){let i=!1;for(const n of Jp)if(t.hasOwnProperty(n.name)){const o=n.applyUpdate(e[n.name],t[n.name]);e[n.name]=o.newValue,i=i||o.didChange}return i}}function yB(s){const e=Jd(s);return _ue(e),e}var Hu;(function(s){const e={total:0,min:Number.MAX_VALUE,max:0},t={...e},i={...e},n={...e};let o=0;const r={keydown:0,input:0,render:0};function a(){v(),performance.mark(\"inputlatency/start\"),performance.mark(\"keydown/start\"),r.keydown=1,queueMicrotask(l)}s.onKeyDown=a;function l(){r.keydown===1&&(performance.mark(\"keydown/end\"),r.keydown=2)}function d(){performance.mark(\"input/start\"),r.input=1,_()}s.onBeforeInput=d;function c(){r.input===0&&d(),queueMicrotask(u)}s.onInput=c;function u(){r.input===1&&(performance.mark(\"input/end\"),r.input=2)}function h(){v()}s.onKeyUp=h;function g(){v()}s.onSelectionChange=g;function f(){r.keydown===2&&r.input===2&&r.render===0&&(performance.mark(\"render/start\"),r.render=1,queueMicrotask(m),_())}s.onRenderStart=f;function m(){r.render===1&&(performance.mark(\"render/end\"),r.render=2)}function _(){setTimeout(v)}function v(){r.keydown===2&&r.input===2&&r.render===2&&(performance.mark(\"inputlatency/end\"),performance.measure(\"keydown\",\"keydown/start\",\"keydown/end\"),performance.measure(\"input\",\"input/start\",\"input/end\"),performance.measure(\"render\",\"render/start\",\"render/end\"),performance.measure(\"inputlatency\",\"inputlatency/start\",\"inputlatency/end\"),b(\"keydown\",e),b(\"input\",t),b(\"render\",i),b(\"inputlatency\",n),o++,C())}function b(L,k){const I=performance.getEntriesByName(L)[0].duration;k.total+=I,k.min=Math.min(k.min,I),k.max=Math.max(k.max,I)}function C(){performance.clearMarks(\"keydown/start\"),performance.clearMarks(\"keydown/end\"),performance.clearMarks(\"input/start\"),performance.clearMarks(\"input/end\"),performance.clearMarks(\"render/start\"),performance.clearMarks(\"render/end\"),performance.clearMarks(\"inputlatency/start\"),performance.clearMarks(\"inputlatency/end\"),performance.clearMeasures(\"keydown\"),performance.clearMeasures(\"input\"),performance.clearMeasures(\"render\"),performance.clearMeasures(\"inputlatency\"),r.keydown=0,r.input=0,r.render=0}function w(){if(o===0)return;const L={keydown:y(e),input:y(t),render:y(i),total:y(n),sampleCount:o};return D(e),D(t),D(i),D(n),o=0,L}s.getAndClearMeasurements=w;function y(L){return{average:L.total/o,max:L.max,min:L.min}}function D(L){L.total=0,L.min=Number.MAX_VALUE,L.max=0}})(Hu||(Hu={}));class c0{constructor(){this._hooks=new Y,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const i=this._onStopCallback;this._onStopCallback=null,e&&i&&i(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,i,n,o){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=n,this._onStopCallback=o;let r=e;try{e.setPointerCapture(t),this._hooks.add(Ie(()=>{try{e.releasePointerCapture(t)}catch{}}))}catch{r=Te(e)}this._hooks.add(K(r,ee.POINTER_MOVE,a=>{if(a.buttons!==i){this.stopMonitoring(!0);return}a.preventDefault(),this._pointerMoveCallback(a)})),this._hooks.add(K(r,ee.POINTER_UP,a=>this.stopMonitoring(!0)))}}function NF(s){return`--vscode-${s.replace(/\\./g,\"-\")}`}function fe(s){return`var(${NF(s)})`}function xue(s,e){return`var(${NF(s)}, ${e})`}const DU={ColorContribution:\"base.contributions.colors\"};class kue{constructor(){this._onDidChangeSchema=new B,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:\"object\",properties:{}},this.colorReferenceSchema={type:\"string\",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,o){const r={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:o};this.colorsById[e]=r;const a={type:\"string\",description:i,format:\"color-hex\",defaultSnippets:[{body:\"${1:#ff0000}\"}]};return o&&(a.deprecationMessage=o),n&&(a.pattern=\"^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$\",a.patternErrorMessage=\"This color must be transparent or it will obscure content\"),this.colorSchema.properties[e]=a,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){const i=this.colorsById[e];if(i&&i.defaults){const n=i.defaults[t.type];return Na(n,t)}}getColorSchema(){return this.colorSchema}toString(){const e=(t,i)=>{const n=t.indexOf(\".\")===-1?0:1,o=i.indexOf(\".\")===-1?0:1;return n!==o?n-o:t.localeCompare(i)};return Object.keys(this.colorsById).sort(e).map(t=>`- \\`${t}\\`: ${this.colorsById[t].description}`).join(`\n`)}}const Cx=new kue;Ji.add(DU.ColorContribution,Cx);function N(s,e,t,i,n){return Cx.registerColor(s,e,t,i,n)}function Eue(s,e){var t,i,n,o;switch(s.op){case 0:return(t=Na(s.value,e))===null||t===void 0?void 0:t.darken(s.factor);case 1:return(i=Na(s.value,e))===null||i===void 0?void 0:i.lighten(s.factor);case 2:return(n=Na(s.value,e))===null||n===void 0?void 0:n.transparent(s.factor);case 3:{const r=Na(s.background,e);return r?(o=Na(s.value,e))===null||o===void 0?void 0:o.makeOpaque(r):Na(s.value,e)}case 4:for(const r of s.values){const a=Na(r,e);if(a)return a}return;case 6:return Na(e.defines(s.if)?s.then:s.else,e);case 5:{const r=Na(s.value,e);if(!r)return;const a=Na(s.background,e);return a?r.isDarkerThan(a)?$.getLighterColor(r,a,s.factor).transparent(s.transparency):$.getDarkerColor(r,a,s.factor).transparent(s.transparency):r.transparent(s.factor*s.transparency)}default:throw ux()}}function ap(s,e){return{op:0,value:s,factor:e}}function Ja(s,e){return{op:1,value:s,factor:e}}function Ee(s,e){return{op:2,value:s,factor:e}}function Gb(...s){return{op:4,values:s}}function Iue(s,e,t){return{op:6,if:s,then:e,else:t}}function SB(s,e,t,i){return{op:5,value:s,background:e,factor:t,transparency:i}}function Na(s,e){if(s!==null){if(typeof s==\"string\")return s[0]===\"#\"?$.fromHex(s):e.getColor(s);if(s instanceof $)return s;if(typeof s==\"object\")return Eue(s,e)}}const LU=\"vscode://schemas/workbench-colors\",xU=Ji.as(vx.JSONContribution);xU.registerSchema(LU,Cx.getColorSchema());const DB=new Wt(()=>xU.notifySchemaChanged(LU),200);Cx.onDidChangeSchema(()=>{DB.isScheduled()||DB.schedule()});const ae=N(\"foreground\",{dark:\"#CCCCCC\",light:\"#616161\",hcDark:\"#FFFFFF\",hcLight:\"#292929\"},p(\"foreground\",\"Overall foreground color. This color is only used if not overridden by a component.\"));N(\"disabledForeground\",{dark:\"#CCCCCC80\",light:\"#61616180\",hcDark:\"#A5A5A5\",hcLight:\"#7F7F7F\"},p(\"disabledForeground\",\"Overall foreground for disabled elements. This color is only used if not overridden by a component.\"));N(\"errorForeground\",{dark:\"#F48771\",light:\"#A1260D\",hcDark:\"#F48771\",hcLight:\"#B5200D\"},p(\"errorForeground\",\"Overall foreground color for error messages. This color is only used if not overridden by a component.\"));N(\"descriptionForeground\",{light:\"#717171\",dark:Ee(ae,.7),hcDark:Ee(ae,.7),hcLight:Ee(ae,.7)},p(\"descriptionForeground\",\"Foreground color for description text providing additional information, for example for a label.\"));const Ql=N(\"icon.foreground\",{dark:\"#C5C5C5\",light:\"#424242\",hcDark:\"#FFFFFF\",hcLight:\"#292929\"},p(\"iconForeground\",\"The default color for icons in the workbench.\")),Ir=N(\"focusBorder\",{dark:\"#007FD4\",light:\"#0090F1\",hcDark:\"#F38518\",hcLight:\"#006BBD\"},p(\"focusBorder\",\"Overall border color for focused elements. This color is only used if not overridden by a component.\")),gt=N(\"contrastBorder\",{light:null,dark:null,hcDark:\"#6FC3DF\",hcLight:\"#0F4A85\"},p(\"contrastBorder\",\"An extra border around elements to separate them from others for greater contrast.\")),di=N(\"contrastActiveBorder\",{light:null,dark:null,hcDark:Ir,hcLight:Ir},p(\"activeContrastBorder\",\"An extra border around active elements to separate them from others for greater contrast.\"));N(\"selection.background\",{light:null,dark:null,hcDark:null,hcLight:null},p(\"selectionBackground\",\"The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.\"));const Tue=N(\"textLink.foreground\",{light:\"#006AB1\",dark:\"#3794FF\",hcDark:\"#21A6FF\",hcLight:\"#0F4A85\"},p(\"textLinkForeground\",\"Foreground color for links in text.\"));N(\"textLink.activeForeground\",{light:\"#006AB1\",dark:\"#3794FF\",hcDark:\"#21A6FF\",hcLight:\"#0F4A85\"},p(\"textLinkActiveForeground\",\"Foreground color for links in text when clicked on and on mouse hover.\"));N(\"textSeparator.foreground\",{light:\"#0000002e\",dark:\"#ffffff2e\",hcDark:$.black,hcLight:\"#292929\"},p(\"textSeparatorForeground\",\"Color for text separators.\"));N(\"textPreformat.foreground\",{light:\"#A31515\",dark:\"#D7BA7D\",hcDark:\"#000000\",hcLight:\"#FFFFFF\"},p(\"textPreformatForeground\",\"Foreground color for preformatted text segments.\"));N(\"textPreformat.background\",{light:\"#0000001A\",dark:\"#FFFFFF1A\",hcDark:\"#FFFFFF\",hcLight:\"#09345f\"},p(\"textPreformatBackground\",\"Background color for preformatted text segments.\"));N(\"textBlockQuote.background\",{light:\"#f2f2f2\",dark:\"#222222\",hcDark:null,hcLight:\"#F2F2F2\"},p(\"textBlockQuoteBackground\",\"Background color for block quotes in text.\"));N(\"textBlockQuote.border\",{light:\"#007acc80\",dark:\"#007acc80\",hcDark:$.white,hcLight:\"#292929\"},p(\"textBlockQuoteBorder\",\"Border color for block quotes in text.\"));N(\"textCodeBlock.background\",{light:\"#dcdcdc66\",dark:\"#0a0a0a66\",hcDark:$.black,hcLight:\"#F2F2F2\"},p(\"textCodeBlockBackground\",\"Background color for code blocks in text.\"));N(\"sash.hoverBorder\",{dark:Ir,light:Ir,hcDark:Ir,hcLight:Ir},p(\"sashActiveBorder\",\"Border color of active sashes.\"));const jy=N(\"badge.background\",{dark:\"#4D4D4D\",light:\"#C4C4C4\",hcDark:$.black,hcLight:\"#0F4A85\"},p(\"badgeBackground\",\"Badge background color. Badges are small information labels, e.g. for search results count.\")),Nue=N(\"badge.foreground\",{dark:$.white,light:\"#333\",hcDark:$.white,hcLight:$.white},p(\"badgeForeground\",\"Badge foreground color. Badges are small information labels, e.g. for search results count.\")),gv=N(\"scrollbar.shadow\",{dark:\"#000000\",light:\"#DDDDDD\",hcDark:null,hcLight:null},p(\"scrollbarShadow\",\"Scrollbar shadow to indicate that the view is scrolled.\")),fv=N(\"scrollbarSlider.background\",{dark:$.fromHex(\"#797979\").transparent(.4),light:$.fromHex(\"#646464\").transparent(.4),hcDark:Ee(gt,.6),hcLight:Ee(gt,.4)},p(\"scrollbarSliderBackground\",\"Scrollbar slider background color.\")),pv=N(\"scrollbarSlider.hoverBackground\",{dark:$.fromHex(\"#646464\").transparent(.7),light:$.fromHex(\"#646464\").transparent(.7),hcDark:Ee(gt,.8),hcLight:Ee(gt,.8)},p(\"scrollbarSliderHoverBackground\",\"Scrollbar slider background color when hovering.\")),mv=N(\"scrollbarSlider.activeBackground\",{dark:$.fromHex(\"#BFBFBF\").transparent(.4),light:$.fromHex(\"#000000\").transparent(.6),hcDark:gt,hcLight:gt},p(\"scrollbarSliderActiveBackground\",\"Scrollbar slider background color when clicked on.\")),Aue=N(\"progressBar.background\",{dark:$.fromHex(\"#0E70C0\"),light:$.fromHex(\"#0E70C0\"),hcDark:gt,hcLight:gt},p(\"progressBarBackground\",\"Background color of the progress bar that can show for long running operations.\")),Sn=N(\"editor.background\",{light:\"#ffffff\",dark:\"#1E1E1E\",hcDark:$.black,hcLight:$.white},p(\"editorBackground\",\"Editor background color.\")),Tr=N(\"editor.foreground\",{light:\"#333333\",dark:\"#BBBBBB\",hcDark:$.white,hcLight:ae},p(\"editorForeground\",\"Editor default foreground color.\"));N(\"editorStickyScroll.background\",{light:Sn,dark:Sn,hcDark:Sn,hcLight:Sn},p(\"editorStickyScrollBackground\",\"Background color of sticky scroll in the editor\"));N(\"editorStickyScrollHover.background\",{dark:\"#2A2D2E\",light:\"#F0F0F0\",hcDark:null,hcLight:$.fromHex(\"#0F4A85\").transparent(.1)},p(\"editorStickyScrollHoverBackground\",\"Background color of sticky scroll on hover in the editor\"));N(\"editorStickyScroll.border\",{dark:null,light:null,hcDark:gt,hcLight:gt},p(\"editorStickyScrollBorder\",\"Border color of sticky scroll in the editor\"));N(\"editorStickyScroll.shadow\",{dark:gv,light:gv,hcDark:gv,hcLight:gv},p(\"editorStickyScrollShadow\",\" Shadow color of sticky scroll in the editor\"));const Hi=N(\"editorWidget.background\",{dark:\"#252526\",light:\"#F3F3F3\",hcDark:\"#0C141F\",hcLight:$.white},p(\"editorWidgetBackground\",\"Background color of editor widgets, such as find/replace.\")),gc=N(\"editorWidget.foreground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"editorWidgetForeground\",\"Foreground color of editor widgets, such as find/replace.\")),fc=N(\"editorWidget.border\",{dark:\"#454545\",light:\"#C8C8C8\",hcDark:gt,hcLight:gt},p(\"editorWidgetBorder\",\"Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.\"));N(\"editorWidget.resizeBorder\",{light:null,dark:null,hcDark:null,hcLight:null},p(\"editorWidgetResizeBorder\",\"Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.\"));N(\"editorError.background\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"editorError.background\",\"Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.\"),!0);const Jl=N(\"editorError.foreground\",{dark:\"#F14C4C\",light:\"#E51400\",hcDark:\"#F48771\",hcLight:\"#B5200D\"},p(\"editorError.foreground\",\"Foreground color of error squigglies in the editor.\")),Mue=N(\"editorError.border\",{dark:null,light:null,hcDark:$.fromHex(\"#E47777\").transparent(.8),hcLight:\"#B5200D\"},p(\"errorBorder\",\"If set, color of double underlines for errors in the editor.\")),bw=N(\"editorWarning.background\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"editorWarning.background\",\"Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.\"),!0),vs=N(\"editorWarning.foreground\",{dark:\"#CCA700\",light:\"#BF8803\",hcDark:\"#FFD370\",hcLight:\"#895503\"},p(\"editorWarning.foreground\",\"Foreground color of warning squigglies in the editor.\")),Zb=N(\"editorWarning.border\",{dark:null,light:null,hcDark:$.fromHex(\"#FFCC00\").transparent(.8),hcLight:$.fromHex(\"#FFCC00\").transparent(.8)},p(\"warningBorder\",\"If set, color of double underlines for warnings in the editor.\"));N(\"editorInfo.background\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"editorInfo.background\",\"Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.\"),!0);const ro=N(\"editorInfo.foreground\",{dark:\"#3794FF\",light:\"#1a85ff\",hcDark:\"#3794FF\",hcLight:\"#1a85ff\"},p(\"editorInfo.foreground\",\"Foreground color of info squigglies in the editor.\")),Xb=N(\"editorInfo.border\",{dark:null,light:null,hcDark:$.fromHex(\"#3794FF\").transparent(.8),hcLight:\"#292929\"},p(\"infoBorder\",\"If set, color of double underlines for infos in the editor.\")),Rue=N(\"editorHint.foreground\",{dark:$.fromHex(\"#eeeeee\").transparent(.7),light:\"#6c6c6c\",hcDark:null,hcLight:null},p(\"editorHint.foreground\",\"Foreground color of hint squigglies in the editor.\"));N(\"editorHint.border\",{dark:null,light:null,hcDark:$.fromHex(\"#eeeeee\").transparent(.8),hcLight:\"#292929\"},p(\"hintBorder\",\"If set, color of double underlines for hints in the editor.\"));const Pue=N(\"editorLink.activeForeground\",{dark:\"#4E94CE\",light:$.blue,hcDark:$.cyan,hcLight:\"#292929\"},p(\"activeLinkForeground\",\"Color of active links.\")),Vu=N(\"editor.selectionBackground\",{light:\"#ADD6FF\",dark:\"#264F78\",hcDark:\"#f3f518\",hcLight:\"#0F4A85\"},p(\"editorSelectionBackground\",\"Color of the editor selection.\")),Fue=N(\"editor.selectionForeground\",{light:null,dark:null,hcDark:\"#000000\",hcLight:$.white},p(\"editorSelectionForeground\",\"Color of the selected text for high contrast.\")),kU=N(\"editor.inactiveSelectionBackground\",{light:Ee(Vu,.5),dark:Ee(Vu,.5),hcDark:Ee(Vu,.7),hcLight:Ee(Vu,.5)},p(\"editorInactiveSelection\",\"Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations.\"),!0),AF=N(\"editor.selectionHighlightBackground\",{light:SB(Vu,Sn,.3,.6),dark:SB(Vu,Sn,.3,.6),hcDark:null,hcLight:null},p(\"editorSelectionHighlight\",\"Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.selectionHighlightBorder\",{light:null,dark:null,hcDark:di,hcLight:di},p(\"editorSelectionHighlightBorder\",\"Border color for regions with the same content as the selection.\"));N(\"editor.findMatchBackground\",{light:\"#A8AC94\",dark:\"#515C6A\",hcDark:null,hcLight:null},p(\"editorFindMatch\",\"Color of the current search match.\"));const pc=N(\"editor.findMatchHighlightBackground\",{light:\"#EA5C0055\",dark:\"#EA5C0055\",hcDark:null,hcLight:null},p(\"findMatchHighlight\",\"Color of the other search matches. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.findRangeHighlightBackground\",{dark:\"#3a3d4166\",light:\"#b4b4b44d\",hcDark:null,hcLight:null},p(\"findRangeHighlight\",\"Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.findMatchBorder\",{light:null,dark:null,hcDark:di,hcLight:di},p(\"editorFindMatchBorder\",\"Border color of the current search match.\"));const zu=N(\"editor.findMatchHighlightBorder\",{light:null,dark:null,hcDark:di,hcLight:di},p(\"findMatchHighlightBorder\",\"Border color of the other search matches.\")),Oue=N(\"editor.findRangeHighlightBorder\",{dark:null,light:null,hcDark:Ee(di,.4),hcLight:Ee(di,.4)},p(\"findRangeHighlightBorder\",\"Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.hoverHighlightBackground\",{light:\"#ADD6FF26\",dark:\"#264f7840\",hcDark:\"#ADD6FF26\",hcLight:null},p(\"hoverHighlight\",\"Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations.\"),!0);const iD=N(\"editorHoverWidget.background\",{light:Hi,dark:Hi,hcDark:Hi,hcLight:Hi},p(\"hoverBackground\",\"Background color of the editor hover.\"));N(\"editorHoverWidget.foreground\",{light:gc,dark:gc,hcDark:gc,hcLight:gc},p(\"hoverForeground\",\"Foreground color of the editor hover.\"));const EU=N(\"editorHoverWidget.border\",{light:fc,dark:fc,hcDark:fc,hcLight:fc},p(\"hoverBorder\",\"Border color of the editor hover.\"));N(\"editorHoverWidget.statusBarBackground\",{dark:Ja(iD,.2),light:ap(iD,.05),hcDark:Hi,hcLight:Hi},p(\"statusBarBackground\",\"Background color of the editor hover status bar.\"));const mc=N(\"editorInlayHint.foreground\",{dark:\"#969696\",light:\"#969696\",hcDark:$.white,hcLight:$.black},p(\"editorInlayHintForeground\",\"Foreground color of inline hints\")),_c=N(\"editorInlayHint.background\",{dark:Ee(jy,.1),light:Ee(jy,.1),hcDark:Ee($.white,.1),hcLight:Ee(jy,.1)},p(\"editorInlayHintBackground\",\"Background color of inline hints\")),Bue=N(\"editorInlayHint.typeForeground\",{dark:mc,light:mc,hcDark:mc,hcLight:mc},p(\"editorInlayHintForegroundTypes\",\"Foreground color of inline hints for types\")),Wue=N(\"editorInlayHint.typeBackground\",{dark:_c,light:_c,hcDark:_c,hcLight:_c},p(\"editorInlayHintBackgroundTypes\",\"Background color of inline hints for types\")),Hue=N(\"editorInlayHint.parameterForeground\",{dark:mc,light:mc,hcDark:mc,hcLight:mc},p(\"editorInlayHintForegroundParameter\",\"Foreground color of inline hints for parameters\")),Vue=N(\"editorInlayHint.parameterBackground\",{dark:_c,light:_c,hcDark:_c,hcLight:_c},p(\"editorInlayHintBackgroundParameter\",\"Background color of inline hints for parameters\")),Cw=N(\"editorLightBulb.foreground\",{dark:\"#FFCC00\",light:\"#DDB100\",hcDark:\"#FFCC00\",hcLight:\"#007ACC\"},p(\"editorLightBulbForeground\",\"The color used for the lightbulb actions icon.\"));N(\"editorLightBulbAutoFix.foreground\",{dark:\"#75BEFF\",light:\"#007ACC\",hcDark:\"#75BEFF\",hcLight:\"#007ACC\"},p(\"editorLightBulbAutoFixForeground\",\"The color used for the lightbulb auto fix actions icon.\"));N(\"editorLightBulbAi.foreground\",{dark:Cw,light:Cw,hcDark:Cw,hcLight:Cw},p(\"editorLightBulbAiForeground\",\"The color used for the lightbulb AI icon.\"));N(\"editor.snippetTabstopHighlightBackground\",{dark:new $(new bt(124,124,124,.3)),light:new $(new bt(10,50,100,.2)),hcDark:new $(new bt(124,124,124,.3)),hcLight:new $(new bt(10,50,100,.2))},p(\"snippetTabstopHighlightBackground\",\"Highlight background color of a snippet tabstop.\"));N(\"editor.snippetTabstopHighlightBorder\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"snippetTabstopHighlightBorder\",\"Highlight border color of a snippet tabstop.\"));N(\"editor.snippetFinalTabstopHighlightBackground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"snippetFinalTabstopHighlightBackground\",\"Highlight background color of the final tabstop of a snippet.\"));N(\"editor.snippetFinalTabstopHighlightBorder\",{dark:\"#525252\",light:new $(new bt(10,50,100,.5)),hcDark:\"#525252\",hcLight:\"#292929\"},p(\"snippetFinalTabstopHighlightBorder\",\"Highlight border color of the final tabstop of a snippet.\"));const xA=new $(new bt(155,185,85,.2)),kA=new $(new bt(255,0,0,.2)),zue=N(\"diffEditor.insertedTextBackground\",{dark:\"#9ccc2c33\",light:\"#9ccc2c40\",hcDark:null,hcLight:null},p(\"diffEditorInserted\",\"Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations.\"),!0),Uue=N(\"diffEditor.removedTextBackground\",{dark:\"#ff000033\",light:\"#ff000033\",hcDark:null,hcLight:null},p(\"diffEditorRemoved\",\"Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"diffEditor.insertedLineBackground\",{dark:xA,light:xA,hcDark:null,hcLight:null},p(\"diffEditorInsertedLines\",\"Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"diffEditor.removedLineBackground\",{dark:kA,light:kA,hcDark:null,hcLight:null},p(\"diffEditorRemovedLines\",\"Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"diffEditorGutter.insertedLineBackground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"diffEditorInsertedLineGutter\",\"Background color for the margin where lines got inserted.\"));N(\"diffEditorGutter.removedLineBackground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"diffEditorRemovedLineGutter\",\"Background color for the margin where lines got removed.\"));const $ue=N(\"diffEditorOverview.insertedForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"diffEditorOverviewInserted\",\"Diff overview ruler foreground for inserted content.\")),jue=N(\"diffEditorOverview.removedForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"diffEditorOverviewRemoved\",\"Diff overview ruler foreground for removed content.\"));N(\"diffEditor.insertedTextBorder\",{dark:null,light:null,hcDark:\"#33ff2eff\",hcLight:\"#374E06\"},p(\"diffEditorInsertedOutline\",\"Outline color for the text that got inserted.\"));N(\"diffEditor.removedTextBorder\",{dark:null,light:null,hcDark:\"#FF008F\",hcLight:\"#AD0707\"},p(\"diffEditorRemovedOutline\",\"Outline color for text that got removed.\"));N(\"diffEditor.border\",{dark:null,light:null,hcDark:gt,hcLight:gt},p(\"diffEditorBorder\",\"Border color between the two text editors.\"));N(\"diffEditor.diagonalFill\",{dark:\"#cccccc33\",light:\"#22222233\",hcDark:null,hcLight:null},p(\"diffDiagonalFill\",\"Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.\"));N(\"diffEditor.unchangedRegionBackground\",{dark:\"sideBar.background\",light:\"sideBar.background\",hcDark:\"sideBar.background\",hcLight:\"sideBar.background\"},p(\"diffEditor.unchangedRegionBackground\",\"The background color of unchanged blocks in the diff editor.\"));N(\"diffEditor.unchangedRegionForeground\",{dark:\"foreground\",light:\"foreground\",hcDark:\"foreground\",hcLight:\"foreground\"},p(\"diffEditor.unchangedRegionForeground\",\"The foreground color of unchanged blocks in the diff editor.\"));N(\"diffEditor.unchangedCodeBackground\",{dark:\"#74747429\",light:\"#b8b8b829\",hcDark:null,hcLight:null},p(\"diffEditor.unchangedCodeBackground\",\"The background color of unchanged code in the diff editor.\"));const vc=N(\"widget.shadow\",{dark:Ee($.black,.36),light:Ee($.black,.16),hcDark:null,hcLight:null},p(\"widgetShadow\",\"Shadow color of widgets such as find/replace inside the editor.\")),IU=N(\"widget.border\",{dark:null,light:null,hcDark:gt,hcLight:gt},p(\"widgetBorder\",\"Border color of widgets such as find/replace inside the editor.\")),LB=N(\"toolbar.hoverBackground\",{dark:\"#5a5d5e50\",light:\"#b8b8b850\",hcDark:null,hcLight:null},p(\"toolbarHoverBackground\",\"Toolbar background when hovering over actions using the mouse\"));N(\"toolbar.hoverOutline\",{dark:null,light:null,hcDark:di,hcLight:di},p(\"toolbarHoverOutline\",\"Toolbar outline when hovering over actions using the mouse\"));N(\"toolbar.activeBackground\",{dark:Ja(LB,.1),light:ap(LB,.1),hcDark:null,hcLight:null},p(\"toolbarActiveBackground\",\"Toolbar background when holding the mouse over actions\"));const Kue=N(\"breadcrumb.foreground\",{light:Ee(ae,.8),dark:Ee(ae,.8),hcDark:Ee(ae,.8),hcLight:Ee(ae,.8)},p(\"breadcrumbsFocusForeground\",\"Color of focused breadcrumb items.\")),que=N(\"breadcrumb.background\",{light:Sn,dark:Sn,hcDark:Sn,hcLight:Sn},p(\"breadcrumbsBackground\",\"Background color of breadcrumb items.\")),xB=N(\"breadcrumb.focusForeground\",{light:ap(ae,.2),dark:Ja(ae,.1),hcDark:Ja(ae,.1),hcLight:Ja(ae,.1)},p(\"breadcrumbsFocusForeground\",\"Color of focused breadcrumb items.\")),Gue=N(\"breadcrumb.activeSelectionForeground\",{light:ap(ae,.2),dark:Ja(ae,.1),hcDark:Ja(ae,.1),hcLight:Ja(ae,.1)},p(\"breadcrumbsSelectedForeground\",\"Color of selected breadcrumb items.\"));N(\"breadcrumbPicker.background\",{light:Hi,dark:Hi,hcDark:Hi,hcLight:Hi},p(\"breadcrumbsSelectedBackground\",\"Background color of breadcrumb item picker.\"));const TU=.5,kB=$.fromHex(\"#40C8AE\").transparent(TU),EB=$.fromHex(\"#40A6FF\").transparent(TU),IB=$.fromHex(\"#606060\").transparent(.4),la=.4,m_=1,om=N(\"merge.currentHeaderBackground\",{dark:kB,light:kB,hcDark:null,hcLight:null},p(\"mergeCurrentHeaderBackground\",\"Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"merge.currentContentBackground\",{dark:Ee(om,la),light:Ee(om,la),hcDark:Ee(om,la),hcLight:Ee(om,la)},p(\"mergeCurrentContentBackground\",\"Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);const rm=N(\"merge.incomingHeaderBackground\",{dark:EB,light:EB,hcDark:null,hcLight:null},p(\"mergeIncomingHeaderBackground\",\"Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"merge.incomingContentBackground\",{dark:Ee(rm,la),light:Ee(rm,la),hcDark:Ee(rm,la),hcLight:Ee(rm,la)},p(\"mergeIncomingContentBackground\",\"Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);const am=N(\"merge.commonHeaderBackground\",{dark:IB,light:IB,hcDark:null,hcLight:null},p(\"mergeCommonHeaderBackground\",\"Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"merge.commonContentBackground\",{dark:Ee(am,la),light:Ee(am,la),hcDark:Ee(am,la),hcLight:Ee(am,la)},p(\"mergeCommonContentBackground\",\"Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);const __=N(\"merge.border\",{dark:null,light:null,hcDark:\"#C3DF6F\",hcLight:\"#007ACC\"},p(\"mergeBorder\",\"Border color on headers and the splitter in inline merge-conflicts.\"));N(\"editorOverviewRuler.currentContentForeground\",{dark:Ee(om,m_),light:Ee(om,m_),hcDark:__,hcLight:__},p(\"overviewRulerCurrentContentForeground\",\"Current overview ruler foreground for inline merge-conflicts.\"));N(\"editorOverviewRuler.incomingContentForeground\",{dark:Ee(rm,m_),light:Ee(rm,m_),hcDark:__,hcLight:__},p(\"overviewRulerIncomingContentForeground\",\"Incoming overview ruler foreground for inline merge-conflicts.\"));N(\"editorOverviewRuler.commonContentForeground\",{dark:Ee(am,m_),light:Ee(am,m_),hcDark:__,hcLight:__},p(\"overviewRulerCommonContentForeground\",\"Common ancestor overview ruler foreground for inline merge-conflicts.\"));const MF=N(\"editorOverviewRuler.findMatchForeground\",{dark:\"#d186167e\",light:\"#d186167e\",hcDark:\"#AB5A00\",hcLight:\"\"},p(\"overviewRulerFindMatchForeground\",\"Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.\"),!0),_v=N(\"editorOverviewRuler.selectionHighlightForeground\",{dark:\"#A0A0A0CC\",light:\"#A0A0A0CC\",hcDark:\"#A0A0A0CC\",hcLight:\"#A0A0A0CC\"},p(\"overviewRulerSelectionHighlightForeground\",\"Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),Zue=N(\"problemsErrorIcon.foreground\",{dark:Jl,light:Jl,hcDark:Jl,hcLight:Jl},p(\"problemsErrorIconForeground\",\"The color used for the problems error icon.\")),Xue=N(\"problemsWarningIcon.foreground\",{dark:vs,light:vs,hcDark:vs,hcLight:vs},p(\"problemsWarningIconForeground\",\"The color used for the problems warning icon.\")),Yue=N(\"problemsInfoIcon.foreground\",{dark:ro,light:ro,hcDark:ro,hcLight:ro},p(\"problemsInfoIconForeground\",\"The color used for the problems info icon.\")),lm=N(\"minimap.findMatchHighlight\",{light:\"#d18616\",dark:\"#d18616\",hcDark:\"#AB5A00\",hcLight:\"#0F4A85\"},p(\"minimapFindMatchHighlight\",\"Minimap marker color for find matches.\"),!0),wx=N(\"minimap.selectionOccurrenceHighlight\",{light:\"#c9c9c9\",dark:\"#676767\",hcDark:\"#ffffff\",hcLight:\"#0F4A85\"},p(\"minimapSelectionOccurrenceHighlight\",\"Minimap marker color for repeating editor selections.\"),!0),TB=N(\"minimap.selectionHighlight\",{light:\"#ADD6FF\",dark:\"#264F78\",hcDark:\"#ffffff\",hcLight:\"#0F4A85\"},p(\"minimapSelectionHighlight\",\"Minimap marker color for the editor selection.\"),!0),Que=N(\"minimap.infoHighlight\",{dark:ro,light:ro,hcDark:Xb,hcLight:Xb},p(\"minimapInfo\",\"Minimap marker color for infos.\")),Jue=N(\"minimap.warningHighlight\",{dark:vs,light:vs,hcDark:Zb,hcLight:Zb},p(\"overviewRuleWarning\",\"Minimap marker color for warnings.\")),ehe=N(\"minimap.errorHighlight\",{dark:new $(new bt(255,18,18,.7)),light:new $(new bt(255,18,18,.7)),hcDark:new $(new bt(255,50,50,1)),hcLight:\"#B5200D\"},p(\"minimapError\",\"Minimap marker color for errors.\")),the=N(\"minimap.background\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"minimapBackground\",\"Minimap background color.\")),ihe=N(\"minimap.foregroundOpacity\",{dark:$.fromHex(\"#000f\"),light:$.fromHex(\"#000f\"),hcDark:$.fromHex(\"#000f\"),hcLight:$.fromHex(\"#000f\")},p(\"minimapForegroundOpacity\",'Opacity of foreground elements rendered in the minimap. For example, \"#000000c0\" will render the elements with 75% opacity.'));N(\"minimapSlider.background\",{light:Ee(fv,.5),dark:Ee(fv,.5),hcDark:Ee(fv,.5),hcLight:Ee(fv,.5)},p(\"minimapSliderBackground\",\"Minimap slider background color.\"));N(\"minimapSlider.hoverBackground\",{light:Ee(pv,.5),dark:Ee(pv,.5),hcDark:Ee(pv,.5),hcLight:Ee(pv,.5)},p(\"minimapSliderHoverBackground\",\"Minimap slider background color when hovering.\"));N(\"minimapSlider.activeBackground\",{light:Ee(mv,.5),dark:Ee(mv,.5),hcDark:Ee(mv,.5),hcLight:Ee(mv,.5)},p(\"minimapSliderActiveBackground\",\"Minimap slider background color when clicked on.\"));N(\"charts.foreground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"chartsForeground\",\"The foreground color used in charts.\"));N(\"charts.lines\",{dark:Ee(ae,.5),light:Ee(ae,.5),hcDark:Ee(ae,.5),hcLight:Ee(ae,.5)},p(\"chartsLines\",\"The color used for horizontal lines in charts.\"));N(\"charts.red\",{dark:Jl,light:Jl,hcDark:Jl,hcLight:Jl},p(\"chartsRed\",\"The red color used in chart visualizations.\"));N(\"charts.blue\",{dark:ro,light:ro,hcDark:ro,hcLight:ro},p(\"chartsBlue\",\"The blue color used in chart visualizations.\"));N(\"charts.yellow\",{dark:vs,light:vs,hcDark:vs,hcLight:vs},p(\"chartsYellow\",\"The yellow color used in chart visualizations.\"));N(\"charts.orange\",{dark:lm,light:lm,hcDark:lm,hcLight:lm},p(\"chartsOrange\",\"The orange color used in chart visualizations.\"));N(\"charts.green\",{dark:\"#89D185\",light:\"#388A34\",hcDark:\"#89D185\",hcLight:\"#374e06\"},p(\"chartsGreen\",\"The green color used in chart visualizations.\"));N(\"charts.purple\",{dark:\"#B180D7\",light:\"#652D90\",hcDark:\"#B180D7\",hcLight:\"#652D90\"},p(\"chartsPurple\",\"The purple color used in chart visualizations.\"));const EA=N(\"input.background\",{dark:\"#3C3C3C\",light:$.white,hcDark:$.black,hcLight:$.white},p(\"inputBoxBackground\",\"Input box background.\")),NU=N(\"input.foreground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"inputBoxForeground\",\"Input box foreground.\")),AU=N(\"input.border\",{dark:null,light:null,hcDark:gt,hcLight:gt},p(\"inputBoxBorder\",\"Input box border.\")),RF=N(\"inputOption.activeBorder\",{dark:\"#007ACC\",light:\"#007ACC\",hcDark:gt,hcLight:gt},p(\"inputBoxActiveOptionBorder\",\"Border color of activated options in input fields.\"));N(\"inputOption.hoverBackground\",{dark:\"#5a5d5e80\",light:\"#b8b8b850\",hcDark:null,hcLight:null},p(\"inputOption.hoverBackground\",\"Background color of activated options in input fields.\"));const Zg=N(\"inputOption.activeBackground\",{dark:Ee(Ir,.4),light:Ee(Ir,.2),hcDark:$.transparent,hcLight:$.transparent},p(\"inputOption.activeBackground\",\"Background hover color of options in input fields.\")),PF=N(\"inputOption.activeForeground\",{dark:$.white,light:$.black,hcDark:ae,hcLight:ae},p(\"inputOption.activeForeground\",\"Foreground color of activated options in input fields.\"));N(\"input.placeholderForeground\",{light:Ee(ae,.5),dark:Ee(ae,.5),hcDark:Ee(ae,.7),hcLight:Ee(ae,.7)},p(\"inputPlaceholderForeground\",\"Input box foreground color for placeholder text.\"));const nhe=N(\"inputValidation.infoBackground\",{dark:\"#063B49\",light:\"#D6ECF2\",hcDark:$.black,hcLight:$.white},p(\"inputValidationInfoBackground\",\"Input validation background color for information severity.\")),she=N(\"inputValidation.infoForeground\",{dark:null,light:null,hcDark:null,hcLight:ae},p(\"inputValidationInfoForeground\",\"Input validation foreground color for information severity.\")),ohe=N(\"inputValidation.infoBorder\",{dark:\"#007acc\",light:\"#007acc\",hcDark:gt,hcLight:gt},p(\"inputValidationInfoBorder\",\"Input validation border color for information severity.\")),rhe=N(\"inputValidation.warningBackground\",{dark:\"#352A05\",light:\"#F6F5D2\",hcDark:$.black,hcLight:$.white},p(\"inputValidationWarningBackground\",\"Input validation background color for warning severity.\")),ahe=N(\"inputValidation.warningForeground\",{dark:null,light:null,hcDark:null,hcLight:ae},p(\"inputValidationWarningForeground\",\"Input validation foreground color for warning severity.\")),lhe=N(\"inputValidation.warningBorder\",{dark:\"#B89500\",light:\"#B89500\",hcDark:gt,hcLight:gt},p(\"inputValidationWarningBorder\",\"Input validation border color for warning severity.\")),dhe=N(\"inputValidation.errorBackground\",{dark:\"#5A1D1D\",light:\"#F2DEDE\",hcDark:$.black,hcLight:$.white},p(\"inputValidationErrorBackground\",\"Input validation background color for error severity.\")),che=N(\"inputValidation.errorForeground\",{dark:null,light:null,hcDark:null,hcLight:ae},p(\"inputValidationErrorForeground\",\"Input validation foreground color for error severity.\")),uhe=N(\"inputValidation.errorBorder\",{dark:\"#BE1100\",light:\"#BE1100\",hcDark:gt,hcLight:gt},p(\"inputValidationErrorBorder\",\"Input validation border color for error severity.\")),ed=N(\"dropdown.background\",{dark:\"#3C3C3C\",light:$.white,hcDark:$.black,hcLight:$.white},p(\"dropdownBackground\",\"Dropdown background.\")),hhe=N(\"dropdown.listBackground\",{dark:null,light:null,hcDark:$.black,hcLight:$.white},p(\"dropdownListBackground\",\"Dropdown list background.\")),bc=N(\"dropdown.foreground\",{dark:\"#F0F0F0\",light:ae,hcDark:$.white,hcLight:ae},p(\"dropdownForeground\",\"Dropdown foreground.\")),dm=N(\"dropdown.border\",{dark:ed,light:\"#CECECE\",hcDark:gt,hcLight:gt},p(\"dropdownBorder\",\"Dropdown border.\")),vv=N(\"button.foreground\",{dark:$.white,light:$.white,hcDark:$.white,hcLight:$.white},p(\"buttonForeground\",\"Button foreground color.\")),ghe=N(\"button.separator\",{dark:Ee(vv,.4),light:Ee(vv,.4),hcDark:Ee(vv,.4),hcLight:Ee(vv,.4)},p(\"buttonSeparator\",\"Button separator color.\")),bv=N(\"button.background\",{dark:\"#0E639C\",light:\"#007ACC\",hcDark:null,hcLight:\"#0F4A85\"},p(\"buttonBackground\",\"Button background color.\")),fhe=N(\"button.hoverBackground\",{dark:Ja(bv,.2),light:ap(bv,.2),hcDark:bv,hcLight:bv},p(\"buttonHoverBackground\",\"Button background color when hovering.\")),phe=N(\"button.border\",{dark:gt,light:gt,hcDark:gt,hcLight:gt},p(\"buttonBorder\",\"Button border color.\")),mhe=N(\"button.secondaryForeground\",{dark:$.white,light:$.white,hcDark:$.white,hcLight:ae},p(\"buttonSecondaryForeground\",\"Secondary button foreground color.\")),IA=N(\"button.secondaryBackground\",{dark:\"#3A3D41\",light:\"#5F6A79\",hcDark:null,hcLight:$.white},p(\"buttonSecondaryBackground\",\"Secondary button background color.\")),_he=N(\"button.secondaryHoverBackground\",{dark:Ja(IA,.2),light:ap(IA,.2),hcDark:null,hcLight:null},p(\"buttonSecondaryHoverBackground\",\"Secondary button background color when hovering.\")),vhe=N(\"checkbox.background\",{dark:ed,light:ed,hcDark:ed,hcLight:ed},p(\"checkbox.background\",\"Background color of checkbox widget.\"));N(\"checkbox.selectBackground\",{dark:Hi,light:Hi,hcDark:Hi,hcLight:Hi},p(\"checkbox.select.background\",\"Background color of checkbox widget when the element it's in is selected.\"));const bhe=N(\"checkbox.foreground\",{dark:bc,light:bc,hcDark:bc,hcLight:bc},p(\"checkbox.foreground\",\"Foreground color of checkbox widget.\")),Che=N(\"checkbox.border\",{dark:dm,light:dm,hcDark:dm,hcLight:dm},p(\"checkbox.border\",\"Border color of checkbox widget.\"));N(\"checkbox.selectBorder\",{dark:Ql,light:Ql,hcDark:Ql,hcLight:Ql},p(\"checkbox.select.border\",\"Border color of checkbox widget when the element it's in is selected.\"));const whe=N(\"keybindingLabel.background\",{dark:new $(new bt(128,128,128,.17)),light:new $(new bt(221,221,221,.4)),hcDark:$.transparent,hcLight:$.transparent},p(\"keybindingLabelBackground\",\"Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.\")),yhe=N(\"keybindingLabel.foreground\",{dark:$.fromHex(\"#CCCCCC\"),light:$.fromHex(\"#555555\"),hcDark:$.white,hcLight:ae},p(\"keybindingLabelForeground\",\"Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.\")),She=N(\"keybindingLabel.border\",{dark:new $(new bt(51,51,51,.6)),light:new $(new bt(204,204,204,.4)),hcDark:new $(new bt(111,195,223)),hcLight:gt},p(\"keybindingLabelBorder\",\"Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.\")),Dhe=N(\"keybindingLabel.bottomBorder\",{dark:new $(new bt(68,68,68,.6)),light:new $(new bt(187,187,187,.4)),hcDark:new $(new bt(111,195,223)),hcLight:ae},p(\"keybindingLabelBottomBorder\",\"Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.\")),Lhe=N(\"list.focusBackground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listFocusBackground\",\"List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.\")),xhe=N(\"list.focusForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listFocusForeground\",\"List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.\")),khe=N(\"list.focusOutline\",{dark:Ir,light:Ir,hcDark:di,hcLight:di},p(\"listFocusOutline\",\"List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.\")),Ehe=N(\"list.focusAndSelectionOutline\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listFocusAndSelectionOutline\",\"List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.\")),Cc=N(\"list.activeSelectionBackground\",{dark:\"#04395E\",light:\"#0060C0\",hcDark:null,hcLight:$.fromHex(\"#0F4A85\").transparent(.1)},p(\"listActiveSelectionBackground\",\"List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.\")),td=N(\"list.activeSelectionForeground\",{dark:$.white,light:$.white,hcDark:null,hcLight:null},p(\"listActiveSelectionForeground\",\"List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.\")),Cv=N(\"list.activeSelectionIconForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listActiveSelectionIconForeground\",\"List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.\")),Ihe=N(\"list.inactiveSelectionBackground\",{dark:\"#37373D\",light:\"#E4E6F1\",hcDark:null,hcLight:$.fromHex(\"#0F4A85\").transparent(.1)},p(\"listInactiveSelectionBackground\",\"List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.\")),The=N(\"list.inactiveSelectionForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listInactiveSelectionForeground\",\"List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.\")),Nhe=N(\"list.inactiveSelectionIconForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listInactiveSelectionIconForeground\",\"List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.\")),Ahe=N(\"list.inactiveFocusBackground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listInactiveFocusBackground\",\"List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.\")),Mhe=N(\"list.inactiveFocusOutline\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listInactiveFocusOutline\",\"List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.\")),MU=N(\"list.hoverBackground\",{dark:\"#2A2D2E\",light:\"#F0F0F0\",hcDark:$.white.transparent(.1),hcLight:$.fromHex(\"#0F4A85\").transparent(.1)},p(\"listHoverBackground\",\"List/Tree background when hovering over items using the mouse.\")),RU=N(\"list.hoverForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"listHoverForeground\",\"List/Tree foreground when hovering over items using the mouse.\")),Rhe=N(\"list.dropBackground\",{dark:\"#062F4A\",light:\"#D6EBFF\",hcDark:null,hcLight:null},p(\"listDropBackground\",\"List/Tree drag and drop background when moving items over other items when using the mouse.\")),Phe=N(\"list.dropBetweenBackground\",{dark:Ql,light:Ql,hcDark:null,hcLight:null},p(\"listDropBetweenBackground\",\"List/Tree drag and drop border color when moving items between items when using the mouse.\")),da=N(\"list.highlightForeground\",{dark:\"#2AAAFF\",light:\"#0066BF\",hcDark:Ir,hcLight:Ir},p(\"highlight\",\"List/Tree foreground color of the match highlights when searching inside the list/tree.\")),ww=N(\"list.focusHighlightForeground\",{dark:da,light:Iue(Cc,da,\"#BBE7FF\"),hcDark:da,hcLight:da},p(\"listFocusHighlightForeground\",\"List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.\"));N(\"list.invalidItemForeground\",{dark:\"#B89500\",light:\"#B89500\",hcDark:\"#B89500\",hcLight:\"#B5200D\"},p(\"invalidItemForeground\",\"List/Tree foreground color for invalid items, for example an unresolved root in explorer.\"));N(\"list.errorForeground\",{dark:\"#F88070\",light:\"#B01011\",hcDark:null,hcLight:null},p(\"listErrorForeground\",\"Foreground color of list items containing errors.\"));N(\"list.warningForeground\",{dark:\"#CCA700\",light:\"#855F00\",hcDark:null,hcLight:null},p(\"listWarningForeground\",\"Foreground color of list items containing warnings.\"));const Fhe=N(\"listFilterWidget.background\",{light:ap(Hi,0),dark:Ja(Hi,0),hcDark:Hi,hcLight:Hi},p(\"listFilterWidgetBackground\",\"Background color of the type filter widget in lists and trees.\")),Ohe=N(\"listFilterWidget.outline\",{dark:$.transparent,light:$.transparent,hcDark:\"#f38518\",hcLight:\"#007ACC\"},p(\"listFilterWidgetOutline\",\"Outline color of the type filter widget in lists and trees.\")),Bhe=N(\"listFilterWidget.noMatchesOutline\",{dark:\"#BE1100\",light:\"#BE1100\",hcDark:gt,hcLight:gt},p(\"listFilterWidgetNoMatchesOutline\",\"Outline color of the type filter widget in lists and trees, when there are no matches.\")),Whe=N(\"listFilterWidget.shadow\",{dark:vc,light:vc,hcDark:vc,hcLight:vc},p(\"listFilterWidgetShadow\",\"Shadow color of the type filter widget in lists and trees.\"));N(\"list.filterMatchBackground\",{dark:pc,light:pc,hcDark:null,hcLight:null},p(\"listFilterMatchHighlight\",\"Background color of the filtered match.\"));N(\"list.filterMatchBorder\",{dark:zu,light:zu,hcDark:gt,hcLight:di},p(\"listFilterMatchHighlightBorder\",\"Border color of the filtered match.\"));N(\"list.deemphasizedForeground\",{dark:\"#8C8C8C\",light:\"#8E8E90\",hcDark:\"#A7A8A9\",hcLight:\"#666666\"},p(\"listDeemphasizedForeground\",\"List/Tree foreground color for items that are deemphasized.\"));const wv=N(\"tree.indentGuidesStroke\",{dark:\"#585858\",light:\"#a9a9a9\",hcDark:\"#a9a9a9\",hcLight:\"#a5a5a5\"},p(\"treeIndentGuidesStroke\",\"Tree stroke color for the indentation guides.\")),Hhe=N(\"tree.inactiveIndentGuidesStroke\",{dark:Ee(wv,.4),light:Ee(wv,.4),hcDark:Ee(wv,.4),hcLight:Ee(wv,.4)},p(\"treeInactiveIndentGuidesStroke\",\"Tree stroke color for the indentation guides that are not active.\")),Vhe=N(\"tree.tableColumnsBorder\",{dark:\"#CCCCCC20\",light:\"#61616120\",hcDark:null,hcLight:null},p(\"tableColumnsBorder\",\"Table border color between columns.\")),zhe=N(\"tree.tableOddRowsBackground\",{dark:Ee(ae,.04),light:Ee(ae,.04),hcDark:null,hcLight:null},p(\"tableOddRowsBackgroundColor\",\"Background color for odd table rows.\")),Uhe=N(\"menu.border\",{dark:null,light:null,hcDark:gt,hcLight:gt},p(\"menuBorder\",\"Border color of menus.\")),$he=N(\"menu.foreground\",{dark:bc,light:bc,hcDark:bc,hcLight:bc},p(\"menuForeground\",\"Foreground color of menu items.\")),jhe=N(\"menu.background\",{dark:ed,light:ed,hcDark:ed,hcLight:ed},p(\"menuBackground\",\"Background color of menu items.\")),Khe=N(\"menu.selectionForeground\",{dark:td,light:td,hcDark:td,hcLight:td},p(\"menuSelectionForeground\",\"Foreground color of the selected menu item in menus.\")),qhe=N(\"menu.selectionBackground\",{dark:Cc,light:Cc,hcDark:Cc,hcLight:Cc},p(\"menuSelectionBackground\",\"Background color of the selected menu item in menus.\")),Ghe=N(\"menu.selectionBorder\",{dark:null,light:null,hcDark:di,hcLight:di},p(\"menuSelectionBorder\",\"Border color of the selected menu item in menus.\")),Zhe=N(\"menu.separatorBackground\",{dark:\"#606060\",light:\"#D4D4D4\",hcDark:gt,hcLight:gt},p(\"menuSeparatorBackground\",\"Color of a separator menu item in menus.\")),NB=N(\"quickInput.background\",{dark:Hi,light:Hi,hcDark:Hi,hcLight:Hi},p(\"pickerBackground\",\"Quick picker background color. The quick picker widget is the container for pickers like the command palette.\")),Xhe=N(\"quickInput.foreground\",{dark:gc,light:gc,hcDark:gc,hcLight:gc},p(\"pickerForeground\",\"Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.\")),Yhe=N(\"quickInputTitle.background\",{dark:new $(new bt(255,255,255,.105)),light:new $(new bt(0,0,0,.06)),hcDark:\"#000000\",hcLight:$.white},p(\"pickerTitleBackground\",\"Quick picker title background color. The quick picker widget is the container for pickers like the command palette.\")),PU=N(\"pickerGroup.foreground\",{dark:\"#3794FF\",light:\"#0066BF\",hcDark:$.white,hcLight:\"#0F4A85\"},p(\"pickerGroupForeground\",\"Quick picker color for grouping labels.\")),Qhe=N(\"pickerGroup.border\",{dark:\"#3F3F46\",light:\"#CCCEDB\",hcDark:$.white,hcLight:\"#0F4A85\"},p(\"pickerGroupBorder\",\"Quick picker color for grouping borders.\")),AB=N(\"quickInput.list.focusBackground\",{dark:null,light:null,hcDark:null,hcLight:null},\"\",void 0,p(\"quickInput.list.focusBackground deprecation\",\"Please use quickInputList.focusBackground instead\")),Uu=N(\"quickInputList.focusForeground\",{dark:td,light:td,hcDark:td,hcLight:td},p(\"quickInput.listFocusForeground\",\"Quick picker foreground color for the focused item.\")),cm=N(\"quickInputList.focusIconForeground\",{dark:Cv,light:Cv,hcDark:Cv,hcLight:Cv},p(\"quickInput.listFocusIconForeground\",\"Quick picker icon foreground color for the focused item.\")),$u=N(\"quickInputList.focusBackground\",{dark:Gb(AB,Cc),light:Gb(AB,Cc),hcDark:null,hcLight:null},p(\"quickInput.listFocusBackground\",\"Quick picker background color for the focused item.\"));N(\"search.resultsInfoForeground\",{light:ae,dark:Ee(ae,.65),hcDark:ae,hcLight:ae},p(\"search.resultsInfoForeground\",\"Color of the text in the search viewlet's completion message.\"));N(\"searchEditor.findMatchBackground\",{light:Ee(pc,.66),dark:Ee(pc,.66),hcDark:pc,hcLight:pc},p(\"searchEditor.queryMatch\",\"Color of the Search Editor query matches.\"));N(\"searchEditor.findMatchBorder\",{light:Ee(zu,.66),dark:Ee(zu,.66),hcDark:zu,hcLight:zu},p(\"searchEditor.editorFindMatchBorder\",\"Border color of the Search Editor query matches.\"));class yx{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(e){return new FU(this.x-e.scrollX,this.y-e.scrollY)}}class FU{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(e){return new yx(this.clientX+e.scrollX,this.clientY+e.scrollY)}}class Jhe{constructor(e,t,i,n){this.x=e,this.y=t,this.width=i,this.height=n,this._editorPagePositionBrand=void 0}}class ege{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function FF(s){const e=qi(s);return new Jhe(e.left,e.top,e.width,e.height)}function OF(s,e,t){const i=e.width/s.offsetWidth,n=e.height/s.offsetHeight,o=(t.x-e.x)/i,r=(t.y-e.y)/n;return new ege(o,r)}class Nh extends ra{constructor(e,t,i){super(Te(i),e),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=t,this.pos=new yx(this.posx,this.posy),this.editorPos=FF(i),this.relativePos=OF(i,this.editorPos,this.pos)}}class tge{constructor(e){this._editorViewDomNode=e}_create(e){return new Nh(e,!1,this._editorViewDomNode)}onContextMenu(e,t){return K(e,\"contextmenu\",i=>{t(this._create(i))})}onMouseUp(e,t){return K(e,\"mouseup\",i=>{t(this._create(i))})}onMouseDown(e,t){return K(e,ee.MOUSE_DOWN,i=>{t(this._create(i))})}onPointerDown(e,t){return K(e,ee.POINTER_DOWN,i=>{t(this._create(i),i.pointerId)})}onMouseLeave(e,t){return K(e,ee.MOUSE_LEAVE,i=>{t(this._create(i))})}onMouseMove(e,t){return K(e,\"mousemove\",i=>t(this._create(i)))}}class ige{constructor(e){this._editorViewDomNode=e}_create(e){return new Nh(e,!1,this._editorViewDomNode)}onPointerUp(e,t){return K(e,\"pointerup\",i=>{t(this._create(i))})}onPointerDown(e,t){return K(e,ee.POINTER_DOWN,i=>{t(this._create(i),i.pointerId)})}onPointerLeave(e,t){return K(e,ee.POINTER_LEAVE,i=>{t(this._create(i))})}onPointerMove(e,t){return K(e,\"pointermove\",i=>t(this._create(i)))}}class nge extends H{constructor(e){super(),this._editorViewDomNode=e,this._globalPointerMoveMonitor=this._register(new c0),this._keydownListener=null}startMonitoring(e,t,i,n,o){this._keydownListener=Ni(e.ownerDocument,\"keydown\",r=>{r.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,r.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(e,t,i,r=>{n(new Nh(r,!0,this._editorViewDomNode))},r=>{this._keydownListener.dispose(),o(r)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}class v1{constructor(e){this._editor=e,this._instanceId=++v1._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new Wt(()=>this.garbageCollect(),1e3)}createClassNameRef(e){const t=this.getOrCreateRule(e);return t.increaseRefCount(),{className:t.className,dispose:()=>{t.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(e){const t=this.computeUniqueKey(e);let i=this._rules.get(t);if(!i){const n=this._counter++;i=new sge(t,`dyn-rule-${this._instanceId}-${n}`,US(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,i)}return i}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(const e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}}v1._idPool=0;class sge{constructor(e,t,i,n){this.key=e,this.className=t,this.properties=n,this._referenceCount=0,this._styleElementDisposables=new Y,this._styleElement=ar(i,void 0,this._styleElementDisposables),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let i=`.${e} {`;for(const n in t){const o=t[n];let r;typeof o==\"object\"?r=fe(o.id):r=o;const a=oge(n);i+=`\n\t${a}: ${r};`}return i+=`\n}`,i}dispose(){this._styleElementDisposables.dispose(),this._styleElement=void 0}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function oge(s){return s.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`)}class b1 extends H{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let i=0,n=e.length;i<n;i++){const o=e[i];switch(o.type){case 0:this.onCompositionStart(o)&&(t=!0);break;case 1:this.onCompositionEnd(o)&&(t=!0);break;case 2:this.onConfigurationChanged(o)&&(t=!0);break;case 3:this.onCursorStateChanged(o)&&(t=!0);break;case 4:this.onDecorationsChanged(o)&&(t=!0);break;case 5:this.onFlushed(o)&&(t=!0);break;case 6:this.onFocusChanged(o)&&(t=!0);break;case 7:this.onLanguageConfigurationChanged(o)&&(t=!0);break;case 8:this.onLineMappingChanged(o)&&(t=!0);break;case 9:this.onLinesChanged(o)&&(t=!0);break;case 10:this.onLinesDeleted(o)&&(t=!0);break;case 11:this.onLinesInserted(o)&&(t=!0);break;case 12:this.onRevealRangeRequest(o)&&(t=!0);break;case 13:this.onScrollChanged(o)&&(t=!0);break;case 15:this.onTokensChanged(o)&&(t=!0);break;case 14:this.onThemeChanged(o)&&(t=!0);break;case 16:this.onTokensColorsChanged(o)&&(t=!0);break;case 17:this.onZonesChanged(o)&&(t=!0);break;default:console.info(\"View received unknown event: \"),console.info(o)}}t&&(this._shouldRender=!0)}}class Fo extends b1{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class rl{static write(e,t){e.setAttribute(\"data-mprt\",String(t))}static read(e){const t=e.getAttribute(\"data-mprt\");return t===null?0:parseInt(t,10)}static collect(e,t){const i=[];let n=0;for(;e&&e!==e.ownerDocument.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(i[n++]=this.read(e)),e=e.parentElement;const o=new Uint8Array(n);for(let r=0;r<n;r++)o[r]=i[n-r-1];return o}}class rge{constructor(e,t){this._restrictedRenderingContextBrand=void 0,this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e,t){return this._viewLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t){return this._viewLayout.getVerticalOffsetAfterLineNumber(e,t)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class age extends rge{constructor(e,t,i){super(e,t),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class lge{constructor(e,t,i,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=i,this.continuesOnNextLine=n}}class Sx{static from(e){const t=new Array(e.length);for(let i=0,n=e.length;i<n;i++){const o=e[i];t[i]=new Sx(o.left,o.width)}return t}constructor(e,t){this._horizontalRangeBrand=void 0,this.left=Math.round(e),this.width=Math.round(t)}toString(){return`[${this.left},${this.width}]`}}class lf{constructor(e,t){this._floatHorizontalRangeBrand=void 0,this.left=e,this.width=t}toString(){return`[${this.left},${this.width}]`}static compare(e,t){return e.left-t.left}}class dge{constructor(e,t){this.outsideRenderedLine=e,this.originalLeft=t,this.left=Math.round(this.originalLeft)}}class MB{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}class Ky{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(e,t){e.selectNodeContents(t)}static _readClientRects(e,t,i,n,o){const r=this._createRange();try{return r.setStart(e,t),r.setEnd(i,n),r.getClientRects()}catch{return null}finally{this._detachRange(r,o)}}static _mergeAdjacentRanges(e){if(e.length===1)return e;e.sort(lf.compare);const t=[];let i=0,n=e[0];for(let o=1,r=e.length;o<r;o++){const a=e[o];n.left+n.width+.9>=a.left?n.width=Math.max(n.width,a.left+a.width-n.left):(t[i++]=n,n=a)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t,i){if(!e||e.length===0)return null;const n=[];for(let o=0,r=e.length;o<r;o++){const a=e[o];n[o]=new lf(Math.max(0,(a.left-t)/i),a.width/i)}return this._mergeAdjacentRanges(n)}static readHorizontalRanges(e,t,i,n,o,r){const l=e.children.length-1;if(0>l)return null;if(t=Math.min(l,Math.max(0,t)),n=Math.min(l,Math.max(0,n)),t===n&&i===o&&i===0&&!e.children[t].firstChild){const h=e.children[t].getClientRects();return r.markDidDomLayout(),this._createHorizontalRangesFromClientRects(h,r.clientRectDeltaLeft,r.clientRectScale)}t!==n&&n>0&&o===0&&(n--,o=1073741824);let d=e.children[t].firstChild,c=e.children[n].firstChild;if((!d||!c)&&(!d&&i===0&&t>0&&(d=e.children[t-1].firstChild,i=1073741824),!c&&o===0&&n>0&&(c=e.children[n-1].firstChild,o=1073741824)),!d||!c)return null;i=Math.min(d.textContent.length,Math.max(0,i)),o=Math.min(c.textContent.length,Math.max(0,o));const u=this._readClientRects(d,i,c,o,r.endNode);return r.markDidDomLayout(),this._createHorizontalRangesFromClientRects(u,r.clientRectDeltaLeft,r.clientRectScale)}}var Nr;(function(s){s.DARK=\"dark\",s.LIGHT=\"light\",s.HIGH_CONTRAST_DARK=\"hcDark\",s.HIGH_CONTRAST_LIGHT=\"hcLight\"})(Nr||(Nr={}));function dd(s){return s===Nr.HIGH_CONTRAST_DARK||s===Nr.HIGH_CONTRAST_LIGHT}function Dx(s){return s===Nr.DARK||s===Nr.HIGH_CONTRAST_DARK}const cge=function(){return md?!0:!($s||Fr||Lh)}();let Rm=!0;class RB{constructor(e,t){this.themeType=t;const i=e.options,n=i.get(50);i.get(38)===\"off\"?this.renderWhitespace=i.get(99):this.renderWhitespace=\"none\",this.renderControlCharacters=i.get(94),this.spaceWidth=n.spaceWidth,this.middotWidth=n.middotWidth,this.wsmiddotWidth=n.wsmiddotWidth,this.useMonospaceOptimizations=n.isMonospace&&!i.get(33),this.canUseHalfwidthRightwardsArrow=n.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(67),this.stopRenderingLineAfter=i.get(117),this.fontLigatures=i.get(51)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class Ul{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(this._renderedViewLine)this._renderedViewLine.domNode=It(e);else throw new Error(\"I have no rendered view line to set the dom node to...\")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return dd(this._options.themeType)||this._options.renderWhitespace===\"selection\"?(this._isMaybeInvalid=!0,!0):!1}renderLine(e,t,i,n,o){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;const r=n.getViewLineRenderingData(e),a=this._options,l=Os.filter(r.inlineDecorations,e,r.minColumn,r.maxColumn);let d=null;if(dd(a.themeType)||this._options.renderWhitespace===\"selection\"){const g=n.selections;for(const f of g){if(f.endLineNumber<e||f.startLineNumber>e)continue;const m=f.startLineNumber===e?f.startColumn:r.minColumn,_=f.endLineNumber===e?f.endColumn:r.maxColumn;m<_&&(dd(a.themeType)&&l.push(new Os(m,_,\"inline-selected-text\",0)),this._options.renderWhitespace===\"selection\"&&(d||(d=[]),d.push(new _U(m-1,_-1))))}}const c=new tg(a.useMonospaceOptimizations,a.canUseHalfwidthRightwardsArrow,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,r.minColumn-1,r.tokens,l,r.tabSize,r.startVisibleColumn,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,a.stopRenderingLineAfter,a.renderWhitespace,a.renderControlCharacters,a.fontLigatures!==Zo.OFF,d);if(this._renderedViewLine&&this._renderedViewLine.input.equals(c))return!1;o.appendString('<div style=\"top:'),o.appendString(String(t)),o.appendString(\"px;height:\"),o.appendString(String(i)),o.appendString('px;\" class=\"'),o.appendString(Ul.CLASS_NAME),o.appendString('\">');const u=m1(c,o);o.appendString(\"</div>\");let h=null;return Rm&&cge&&r.isBasicASCII&&a.useMonospaceOptimizations&&u.containsForeignElements===0&&(h=new yw(this._renderedViewLine?this._renderedViewLine.domNode:null,c,u.characterMapping)),h||(h=BU(this._renderedViewLine?this._renderedViewLine.domNode:null,c,u.characterMapping,u.containsRTL,u.containsForeignElements)),this._renderedViewLine=h,!0}layoutLine(e,t,i){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(i))}getWidth(e){return this._renderedViewLine?this._renderedViewLine.getWidth(e):0}getWidthIsFast(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}needsMonospaceFontCheck(){return this._renderedViewLine?this._renderedViewLine instanceof yw:!1}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof yw?this._renderedViewLine.monospaceAssumptionsAreValid():Rm}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof yw&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));const o=this._renderedViewLine.input.stopRenderingLineAfter;if(o!==-1&&t>o+1&&i>o+1)return new MB(!0,[new lf(this.getWidth(n),0)]);o!==-1&&t>o+1&&(t=o+1),o!==-1&&i>o+1&&(i=o+1);const r=this._renderedViewLine.getVisibleRangesForRange(e,t,i,n);return r&&r.length>0?new MB(!1,r):null}getColumnOfNodeOffset(e,t){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t):1}}Ul.CLASS_NAME=\"view-line\";class yw{constructor(e,t,i){this._cachedWidth=-1,this.domNode=e,this.input=t;const n=Math.floor(t.lineContent.length/300);if(n>0){this._keyColumnPixelOffsetCache=new Float32Array(n);for(let o=0;o<n;o++)this._keyColumnPixelOffsetCache[o]=-1}else this._keyColumnPixelOffsetCache=null;this._characterMapping=i,this._charWidth=t.spaceWidth}getWidth(e){if(!this.domNode||this.input.lineContent.length<300){const t=this._characterMapping.getHorizontalOffset(this._characterMapping.length);return Math.round(this._charWidth*t)}return this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,e==null||e.markDidDomLayout()),this._cachedWidth}getWidthIsFast(){return this.input.lineContent.length<300||this._cachedWidth!==-1}monospaceAssumptionsAreValid(){if(!this.domNode)return Rm;if(this.input.lineContent.length<300){const e=this.getWidth(null),t=this.domNode.domNode.firstChild.offsetWidth;Math.abs(e-t)>=2&&(console.warn(\"monospace assumptions have been violated, therefore disabling monospace optimizations!\"),Rm=!1)}return Rm}toSlowRenderedLine(){return BU(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,i,n){const o=this._getColumnPixelOffset(e,t,n),r=this._getColumnPixelOffset(e,i,n);return[new lf(o,r-o)]}_getColumnPixelOffset(e,t,i){if(t<=300){const d=this._characterMapping.getHorizontalOffset(t);return this._charWidth*d}const n=Math.floor((t-1)/300)-1,o=(n+1)*300+1;let r=-1;if(this._keyColumnPixelOffsetCache&&(r=this._keyColumnPixelOffsetCache[n],r===-1&&(r=this._actualReadPixelOffset(e,o,i),this._keyColumnPixelOffsetCache[n]=r)),r===-1){const d=this._characterMapping.getHorizontalOffset(t);return this._charWidth*d}const a=this._characterMapping.getHorizontalOffset(o),l=this._characterMapping.getHorizontalOffset(t);return r+this._charWidth*(l-a)}_getReadingTarget(e){return e.domNode.firstChild}_actualReadPixelOffset(e,t,i){if(!this.domNode)return-1;const n=this._characterMapping.getDomPosition(t),o=Ky.readHorizontalRanges(this._getReadingTarget(this.domNode),n.partIndex,n.charIndex,n.partIndex,n.charIndex,i);return!o||o.length===0?-1:o[0].left}getColumnOfNodeOffset(e,t){return BF(this._characterMapping,e,t)}}class OU{constructor(e,t,i,n,o){if(this.domNode=e,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!n||this._characterMapping.length===0){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let r=0,a=this._characterMapping.length;r<=a;r++)this._pixelOffsetCache[r]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(e){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,e==null||e.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(e,t,i,n){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){const o=this._readPixelOffset(this.domNode,e,t,n);if(o===-1)return null;const r=this._readPixelOffset(this.domNode,e,i,n);return r===-1?null:[new lf(o,r-o)]}return this._readVisibleRangesForRange(this.domNode,e,t,i,n)}_readVisibleRangesForRange(e,t,i,n,o){if(i===n){const r=this._readPixelOffset(e,t,i,o);return r===-1?null:[new lf(r,0)]}else return this._readRawVisibleRangesForRange(e,i,n,o)}_readPixelOffset(e,t,i,n){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth(n);const o=this._getReadingTarget(e);return o.firstChild?(n.markDidDomLayout(),o.firstChild.offsetWidth):0}if(this._pixelOffsetCache!==null){const o=this._pixelOffsetCache[i];if(o!==-1)return o;const r=this._actualReadPixelOffset(e,t,i,n);return this._pixelOffsetCache[i]=r,r}return this._actualReadPixelOffset(e,t,i,n)}_actualReadPixelOffset(e,t,i,n){if(this._characterMapping.length===0){const l=Ky.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n);return!l||l.length===0?-1:l[0].left}if(i===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth(n);const o=this._characterMapping.getDomPosition(i),r=Ky.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,o.partIndex,o.charIndex,n);if(!r||r.length===0)return-1;const a=r[0].left;if(this.input.isBasicASCII){const l=this._characterMapping.getHorizontalOffset(i),d=Math.round(this.input.spaceWidth*l);if(Math.abs(d-a)<=1)return d}return a}_readRawVisibleRangesForRange(e,t,i,n){if(t===1&&i===this._characterMapping.length)return[new lf(0,this.getWidth(n))];const o=this._characterMapping.getDomPosition(t),r=this._characterMapping.getDomPosition(i);return Ky.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,r.partIndex,r.charIndex,n)}getColumnOfNodeOffset(e,t){return BF(this._characterMapping,e,t)}}class uge extends OU{_readVisibleRangesForRange(e,t,i,n,o){const r=super._readVisibleRangesForRange(e,t,i,n,o);if(!r||r.length===0||i===n||i===1&&n===this._characterMapping.length)return r;if(!this.input.containsRTL){const a=this._readPixelOffset(e,t,n,o);if(a!==-1){const l=r[r.length-1];l.left<a&&(l.width=a-l.left)}}return r}}const BU=function(){return GL?hge:gge}();function hge(s,e,t,i,n){return new uge(s,e,t,i,n)}function gge(s,e,t,i,n){return new OU(s,e,t,i,n)}function BF(s,e,t){const i=e.textContent.length;let n=-1;for(;e;)e=e.previousSibling,n++;return s.getColumn(new vU(n,t),i)}class hn{static _nextVisibleColumn(e,t,i){return e===9?hn.nextRenderTabStop(t,i):Dh(e)||tF(e)?t+2:t+1}static visibleColumnFromColumn(e,t,i){const n=Math.min(t-1,e.length),o=e.substring(0,n),r=new HS(o);let a=0;for(;!r.eol();){const l=WS(o,n,r.offset);r.nextGraphemeLength(),a=this._nextVisibleColumn(l,a,i)}return a}static columnFromVisibleColumn(e,t,i){if(t<=0)return 1;const n=e.length,o=new HS(e);let r=0,a=1;for(;!o.eol();){const l=WS(e,n,o.offset);o.nextGraphemeLength();const d=this._nextVisibleColumn(l,r,i),c=o.offset+1;if(d>=t){const u=t-r;return d-t<u?c:a}r=d,a=c}return n+1}static nextRenderTabStop(e,t){return e+t-e%t}static nextIndentTabStop(e,t){return e+t-e%t}static prevRenderTabStop(e,t){return Math.max(0,e-1-(e-1)%t)}static prevIndentTabStop(e,t){return Math.max(0,e-1-(e-1)%t)}}class Yb{static whitespaceVisibleColumn(e,t,i){const n=e.length;let o=0,r=-1,a=-1;for(let l=0;l<n;l++){if(l===t)return[r,a,o];switch(o%i===0&&(r=l,a=o),e.charCodeAt(l)){case 32:o+=1;break;case 9:o=hn.nextRenderTabStop(o,i);break;default:return[-1,-1,-1]}}return t===n?[r,a,o]:[-1,-1,-1]}static atomicPosition(e,t,i,n){const o=e.length,[r,a,l]=Yb.whitespaceVisibleColumn(e,t,i);if(l===-1)return-1;let d;switch(n){case 0:d=!0;break;case 1:d=!1;break;case 2:if(l%i===0)return t;d=l%i<=i/2;break}if(d){if(r===-1)return-1;let h=a;for(let g=r;g<o;++g){if(h===a+i)return r;switch(e.charCodeAt(g)){case 32:h+=1;break;case 9:h=hn.nextRenderTabStop(h,i);break;default:return-1}}return h===a+i?r:-1}const c=hn.nextRenderTabStop(l,i);let u=l;for(let h=t;h<o;h++){if(u===c)return h;switch(e.charCodeAt(h)){case 32:u+=1;break;case 9:u=hn.nextRenderTabStop(u,i);break;default:return-1}}return u===c?o:-1}}class wu{constructor(e=null){this.hitTarget=e,this.type=0}}class WU{get hitTarget(){return this.spanNode}constructor(e,t,i){this.position=e,this.spanNode=t,this.injectedText=i,this.type=1}}var Wg;(function(s){function e(t,i,n){const o=t.getPositionFromDOMInfo(i,n);return o?new WU(o,i,null):new wu(i)}s.createFromDOMInfo=e})(Wg||(Wg={}));class fge{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class ms{static _deduceRage(e,t=null){return!t&&e?new x(e.lineNumber,e.column,e.lineNumber,e.column):t??null}static createUnknown(e,t,i){return{type:0,element:e,mouseColumn:t,position:i,range:this._deduceRage(i)}}static createTextarea(e,t){return{type:1,element:e,mouseColumn:t,position:null,range:null}}static createMargin(e,t,i,n,o,r){return{type:e,element:t,mouseColumn:i,position:n,range:o,detail:r}}static createViewZone(e,t,i,n,o){return{type:e,element:t,mouseColumn:i,position:n,range:this._deduceRage(n),detail:o}}static createContentText(e,t,i,n,o){return{type:6,element:e,mouseColumn:t,position:i,range:this._deduceRage(i,n),detail:o}}static createContentEmpty(e,t,i,n){return{type:7,element:e,mouseColumn:t,position:i,range:this._deduceRage(i),detail:n}}static createContentWidget(e,t,i){return{type:9,element:e,mouseColumn:t,position:null,range:null,detail:i}}static createScrollbar(e,t,i){return{type:11,element:e,mouseColumn:t,position:i,range:this._deduceRage(i)}}static createOverlayWidget(e,t,i){return{type:12,element:e,mouseColumn:t,position:null,range:null,detail:i}}static createOutsideEditor(e,t,i,n){return{type:13,element:null,mouseColumn:e,position:t,range:this._deduceRage(t),outsidePosition:i,outsideDistance:n}}static _typeToString(e){return e===1?\"TEXTAREA\":e===2?\"GUTTER_GLYPH_MARGIN\":e===3?\"GUTTER_LINE_NUMBERS\":e===4?\"GUTTER_LINE_DECORATIONS\":e===5?\"GUTTER_VIEW_ZONE\":e===6?\"CONTENT_TEXT\":e===7?\"CONTENT_EMPTY\":e===8?\"CONTENT_VIEW_ZONE\":e===9?\"CONTENT_WIDGET\":e===10?\"OVERVIEW_RULER\":e===11?\"SCROLLBAR\":e===12?\"OVERLAY_WIDGET\":\"UNKNOWN\"}static toString(e){return this._typeToString(e.type)+\": \"+e.position+\" - \"+e.range+\" - \"+JSON.stringify(e.detail)}}class Ds{static isTextArea(e){return e.length===2&&e[0]===3&&e[1]===7}static isChildOfViewLines(e){return e.length>=4&&e[0]===3&&e[3]===8}static isStrictChildOfViewLines(e){return e.length>4&&e[0]===3&&e[3]===8}static isChildOfScrollableElement(e){return e.length>=2&&e[0]===3&&e[1]===6}static isChildOfMinimap(e){return e.length>=2&&e[0]===3&&e[1]===9}static isChildOfContentWidgets(e){return e.length>=4&&e[0]===3&&e[3]===1}static isChildOfOverflowGuard(e){return e.length>=1&&e[0]===3}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&e[0]===2}static isChildOfOverlayWidgets(e){return e.length>=2&&e[0]===3&&e[1]===4}static isChildOfOverflowingOverlayWidgets(e){return e.length>=1&&e[0]===5}}class v_{constructor(e,t,i){this.viewModel=e.viewModel;const n=e.configuration.options;this.layoutInfo=n.get(145),this.viewDomNode=t.viewDomNode,this.lineHeight=n.get(67),this.stickyTabStops=n.get(116),this.typicalHalfwidthCharacterWidth=n.get(50).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return v_.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){const i=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){const n=i.verticalOffset+i.height/2,o=e.viewModel.getLineCount();let r=null,a,l=null;return i.afterLineNumber!==o&&(l=new W(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(r=new W(i.afterLineNumber,e.viewModel.getLineMaxColumn(i.afterLineNumber))),l===null?a=r:r===null?a=l:t<n?a=r:a=l,{viewZoneId:i.id,afterLineNumber:i.afterLineNumber,positionBefore:r,positionAfter:l,position:a}}return null}getFullLineRangeAtCoord(e){if(this._context.viewLayout.isAfterLines(e)){const n=this._context.viewModel.getLineCount(),o=this._context.viewModel.getLineMaxColumn(n);return{range:new x(n,o,n,o),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),i=this._context.viewModel.getLineMaxColumn(t);return{range:new x(t,1,t,i),isAfterLines:!1}}getLineNumberAtVerticalOffset(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)}isAfterLines(e){return this._context.viewLayout.isAfterLines(e)}isInTopPadding(e){return this._context.viewLayout.isInTopPadding(e)}isInBottomPadding(e){return this._context.viewLayout.isInBottomPadding(e)}getVerticalOffsetForLineNumber(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)}findAttribute(e,t){return v_._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,i){for(;e&&e!==e.ownerDocument.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===i)return null;e=e.parentNode}return null}getLineWidth(e){return this._viewHelper.getLineWidth(e)}visibleRangeForPosition(e,t){return this._viewHelper.visibleRangeForPosition(e,t)}getPositionFromDOMInfo(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class pge{constructor(e,t,i,n){this.editorPos=t,this.pos=i,this.relativePos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+this.relativePos.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+this.relativePos.x-e.layoutInfo.contentLeft,this.isInMarginArea=this.relativePos.x<e.layoutInfo.contentLeft&&this.relativePos.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,fs._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class mge extends pge{get target(){return this._useHitTestTarget?this.hitTestResult.value.hitTarget:this._eventTarget}get targetPath(){return this._targetPathCacheElement!==this.target&&(this._targetPathCacheElement=this.target,this._targetPathCacheValue=rl.collect(this.target,this._ctx.viewDomNode)),this._targetPathCacheValue}constructor(e,t,i,n,o){super(e,t,i,n),this.hitTestResult=new gl(()=>fs.doHitTest(this._ctx,this)),this._targetPathCacheElement=null,this._targetPathCacheValue=new Uint8Array(0),this._ctx=e,this._eventTarget=o;const r=!!this._eventTarget;this._useHitTestTarget=!r}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: ${this.target?this.target.outerHTML:null}`}get wouldBenefitFromHitTestTargetSwitch(){return!this._useHitTestTarget&&this.hitTestResult.value.hitTarget!==null&&this.target!==this.hitTestResult.value.hitTarget}switchToHitTestTarget(){this._useHitTestTarget=!0}_getMouseColumn(e=null){return e&&e.column<this._ctx.viewModel.getLineMaxColumn(e.lineNumber)?hn.visibleColumnFromColumn(this._ctx.viewModel.getLineContent(e.lineNumber),e.column,this._ctx.viewModel.model.getOptions().tabSize)+1:this.mouseColumn}fulfillUnknown(e=null){return ms.createUnknown(this.target,this._getMouseColumn(e),e)}fulfillTextarea(){return ms.createTextarea(this.target,this._getMouseColumn())}fulfillMargin(e,t,i,n){return ms.createMargin(e,this.target,this._getMouseColumn(t),t,i,n)}fulfillViewZone(e,t,i){return ms.createViewZone(e,this.target,this._getMouseColumn(t),t,i)}fulfillContentText(e,t,i){return ms.createContentText(this.target,this._getMouseColumn(e),e,t,i)}fulfillContentEmpty(e,t){return ms.createContentEmpty(this.target,this._getMouseColumn(e),e,t)}fulfillContentWidget(e){return ms.createContentWidget(this.target,this._getMouseColumn(),e)}fulfillScrollbar(e){return ms.createScrollbar(this.target,this._getMouseColumn(e),e)}fulfillOverlayWidget(e){return ms.createOverlayWidget(this.target,this._getMouseColumn(),e)}}const PB={isAfterLines:!0};function dI(s){return{isAfterLines:!1,horizontalDistanceToText:s}}class fs{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,i=rl.collect(t,this._viewHelper.viewDomNode);return!!(Ds.isChildOfContentWidgets(i)||Ds.isChildOfOverflowingContentWidgets(i)||Ds.isChildOfOverlayWidgets(i)||Ds.isChildOfOverflowingOverlayWidgets(i))}createMouseTarget(e,t,i,n,o){const r=new v_(this._context,this._viewHelper,e),a=new mge(r,t,i,n,o);try{const l=fs._createMouseTarget(r,a);if(l.type===6&&r.stickyTabStops&&l.position!==null){const d=fs._snapToSoftTabBoundary(l.position,r.viewModel),c=x.fromPositions(d,d).plusRange(l.range);return a.fulfillContentText(d,c,l.detail)}return l}catch{return a.fulfillUnknown()}}static _createMouseTarget(e,t){if(t.target===null)return t.fulfillUnknown();const i=t;let n=null;return!Ds.isChildOfOverflowGuard(t.targetPath)&&!Ds.isChildOfOverflowingContentWidgets(t.targetPath)&&!Ds.isChildOfOverflowingOverlayWidgets(t.targetPath)&&(n=n||t.fulfillUnknown()),n=n||fs._hitTestContentWidget(e,i),n=n||fs._hitTestOverlayWidget(e,i),n=n||fs._hitTestMinimap(e,i),n=n||fs._hitTestScrollbarSlider(e,i),n=n||fs._hitTestViewZone(e,i),n=n||fs._hitTestMargin(e,i),n=n||fs._hitTestViewCursor(e,i),n=n||fs._hitTestTextArea(e,i),n=n||fs._hitTestViewLines(e,i),n=n||fs._hitTestScrollbar(e,i),n||t.fulfillUnknown()}static _hitTestContentWidget(e,t){if(Ds.isChildOfContentWidgets(t.targetPath)||Ds.isChildOfOverflowingContentWidgets(t.targetPath)){const i=e.findAttribute(t.target,\"widgetId\");return i?t.fulfillContentWidget(i):t.fulfillUnknown()}return null}static _hitTestOverlayWidget(e,t){if(Ds.isChildOfOverlayWidgets(t.targetPath)||Ds.isChildOfOverflowingOverlayWidgets(t.targetPath)){const i=e.findAttribute(t.target,\"widgetId\");return i?t.fulfillOverlayWidget(i):t.fulfillUnknown()}return null}static _hitTestViewCursor(e,t){if(t.target){const i=e.lastRenderData.lastViewCursorsRenderData;for(const n of i)if(t.target===n.domNode)return t.fulfillContentText(n.position,null,{mightBeForeignElement:!1,injectedText:null})}if(t.isInContentArea){const i=e.lastRenderData.lastViewCursorsRenderData,n=t.mouseContentHorizontalOffset,o=t.mouseVerticalOffset;for(const r of i){if(n<r.contentLeft||n>r.contentLeft+r.width)continue;const a=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(a<=o&&o<=a+r.height)return t.fulfillContentText(r.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){const i=e.getZoneAtCoord(t.mouseVerticalOffset);if(i){const n=t.isInContentArea?8:5;return t.fulfillViewZone(n,i.position,i)}return null}static _hitTestTextArea(e,t){return Ds.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfillContentText(e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):t.fulfillTextarea():null}static _hitTestMargin(e,t){if(t.isInMarginArea){const i=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),n=i.range.getStartPosition();let o=Math.abs(t.relativePos.x);const r={isAfterLines:i.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};if(o-=e.layoutInfo.glyphMarginLeft,o<=e.layoutInfo.glyphMarginWidth){const a=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(i.range.getStartPosition()),l=e.viewModel.glyphLanes.getLanesAtLine(a.lineNumber);return r.glyphMarginLane=l[Math.floor(o/e.lineHeight)],t.fulfillMargin(2,n,i.range,r)}return o-=e.layoutInfo.glyphMarginWidth,o<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,n,i.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,n,i.range,r))}return null}static _hitTestViewLines(e,t){if(!Ds.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new W(1,1),PB);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){const n=e.viewModel.getLineCount(),o=e.viewModel.getLineMaxColumn(n);return t.fulfillContentEmpty(new W(n,o),PB)}if(Ds.isStrictChildOfViewLines(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(e.viewModel.getLineLength(n)===0){const r=e.getLineWidth(n),a=dI(t.mouseContentHorizontalOffset-r);return t.fulfillContentEmpty(new W(n,1),a)}const o=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=o){const r=dI(t.mouseContentHorizontalOffset-o),a=new W(n,e.viewModel.getLineMaxColumn(n));return t.fulfillContentEmpty(a,r)}}const i=t.hitTestResult.value;return i.type===1?fs.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):t.wouldBenefitFromHitTestTargetSwitch?(t.switchToHitTestTarget(),this._createMouseTarget(e,t)):t.fulfillUnknown()}static _hitTestMinimap(e,t){if(Ds.isChildOfMinimap(t.targetPath)){const i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new W(i,n))}return null}static _hitTestScrollbarSlider(e,t){if(Ds.isChildOfScrollableElement(t.targetPath)&&t.target&&t.target.nodeType===1){const i=t.target.className;if(i&&/\\b(slider|scrollbar)\\b/.test(i)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new W(n,o))}}return null}static _hitTestScrollbar(e,t){if(Ds.isChildOfScrollableElement(t.targetPath)){const i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new W(i,n))}return null}getMouseColumn(e){const t=this._context.configuration.options,i=t.get(145),n=this._context.viewLayout.getCurrentScrollLeft()+e.x-i.contentLeft;return fs._getMouseColumn(n,t.get(50).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,o){const r=n.lineNumber,a=n.column,l=e.getLineWidth(r);if(t.mouseContentHorizontalOffset>l){const v=dI(t.mouseContentHorizontalOffset-l);return t.fulfillContentEmpty(n,v)}const d=e.visibleRangeForPosition(r,a);if(!d)return t.fulfillUnknown(n);const c=d.left;if(Math.abs(t.mouseContentHorizontalOffset-c)<1)return t.fulfillContentText(n,null,{mightBeForeignElement:!!o,injectedText:o});const u=[];if(u.push({offset:d.left,column:a}),a>1){const v=e.visibleRangeForPosition(r,a-1);v&&u.push({offset:v.left,column:a-1})}const h=e.viewModel.getLineMaxColumn(r);if(a<h){const v=e.visibleRangeForPosition(r,a+1);v&&u.push({offset:v.left,column:a+1})}u.sort((v,b)=>v.offset-b.offset);const g=t.pos.toClientCoordinates(Te(e.viewDomNode)),f=i.getBoundingClientRect(),m=f.left<=g.clientX&&g.clientX<=f.right;let _=null;for(let v=1;v<u.length;v++){const b=u[v-1],C=u[v];if(b.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=C.offset){_=new x(r,b.column,r,C.column);const w=Math.abs(b.offset-t.mouseContentHorizontalOffset),y=Math.abs(C.offset-t.mouseContentHorizontalOffset);n=w<y?new W(r,b.column):new W(r,C.column);break}}return t.fulfillContentText(n,_,{mightBeForeignElement:!m||!!o,injectedText:o})}static _doHitTestWithCaretRangeFromPoint(e,t){const i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.getVerticalOffsetForLineNumber(i),o=n+e.lineHeight;if(!(i===e.viewModel.getLineCount()&&t.mouseVerticalOffset>o)){const a=Math.floor((n+o)/2);let l=t.pos.y+(a-t.mouseVerticalOffset);l<=t.editorPos.y&&(l=t.editorPos.y+1),l>=t.editorPos.y+t.editorPos.height&&(l=t.editorPos.y+t.editorPos.height-1);const d=new yx(t.pos.x,l),c=this._actualDoHitTestWithCaretRangeFromPoint(e,d.toClientCoordinates(Te(e.viewDomNode)));if(c.type===1)return c}return this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates(Te(e.viewDomNode)))}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const i=Sf(e.viewDomNode);let n;if(i?typeof i.caretRangeFromPoint>\"u\"?n=_ge(i,t.clientX,t.clientY):n=i.caretRangeFromPoint(t.clientX,t.clientY):n=e.viewDomNode.ownerDocument.caretRangeFromPoint(t.clientX,t.clientY),!n||!n.startContainer)return new wu;const o=n.startContainer;if(o.nodeType===o.TEXT_NODE){const r=o.parentNode,a=r?r.parentNode:null,l=a?a.parentNode:null;return(l&&l.nodeType===l.ELEMENT_NODE?l.className:null)===Ul.CLASS_NAME?Wg.createFromDOMInfo(e,r,n.startOffset):new wu(o.parentNode)}else if(o.nodeType===o.ELEMENT_NODE){const r=o.parentNode,a=r?r.parentNode:null;return(a&&a.nodeType===a.ELEMENT_NODE?a.className:null)===Ul.CLASS_NAME?Wg.createFromDOMInfo(e,o,o.textContent.length):new wu(o)}return new wu}static _doHitTestWithCaretPositionFromPoint(e,t){const i=e.viewDomNode.ownerDocument.caretPositionFromPoint(t.clientX,t.clientY);if(i.offsetNode.nodeType===i.offsetNode.TEXT_NODE){const n=i.offsetNode.parentNode,o=n?n.parentNode:null,r=o?o.parentNode:null;return(r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===Ul.CLASS_NAME?Wg.createFromDOMInfo(e,i.offsetNode.parentNode,i.offset):new wu(i.offsetNode.parentNode)}if(i.offsetNode.nodeType===i.offsetNode.ELEMENT_NODE){const n=i.offsetNode.parentNode,o=n&&n.nodeType===n.ELEMENT_NODE?n.className:null,r=n?n.parentNode:null,a=r&&r.nodeType===r.ELEMENT_NODE?r.className:null;if(o===Ul.CLASS_NAME){const l=i.offsetNode.childNodes[Math.min(i.offset,i.offsetNode.childNodes.length-1)];if(l)return Wg.createFromDOMInfo(e,l,0)}else if(a===Ul.CLASS_NAME)return Wg.createFromDOMInfo(e,i.offsetNode,0)}return new wu(i.offsetNode)}static _snapToSoftTabBoundary(e,t){const i=t.getLineContent(e.lineNumber),{tabSize:n}=t.model.getOptions(),o=Yb.atomicPosition(i,e.column-1,n,2);return o!==-1?new W(e.lineNumber,o+1):e}static doHitTest(e,t){let i=new wu;if(typeof e.viewDomNode.ownerDocument.caretRangeFromPoint==\"function\"?i=this._doHitTestWithCaretRangeFromPoint(e,t):e.viewDomNode.ownerDocument.caretPositionFromPoint&&(i=this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates(Te(e.viewDomNode)))),i.type===1){const n=e.viewModel.getInjectedTextAt(i.position),o=e.viewModel.normalizePosition(i.position,2);(n||!o.equals(i.position))&&(i=new WU(o,i.spanNode,n))}return i}}function _ge(s,e,t){const i=document.createRange();let n=s.elementFromPoint(e,t);if(n!==null){for(;n&&n.firstChild&&n.firstChild.nodeType!==n.firstChild.TEXT_NODE&&n.lastChild&&n.lastChild.firstChild;)n=n.lastChild;const o=n.getBoundingClientRect(),r=Te(n),a=r.getComputedStyle(n,null).getPropertyValue(\"font-style\"),l=r.getComputedStyle(n,null).getPropertyValue(\"font-variant\"),d=r.getComputedStyle(n,null).getPropertyValue(\"font-weight\"),c=r.getComputedStyle(n,null).getPropertyValue(\"font-size\"),u=r.getComputedStyle(n,null).getPropertyValue(\"line-height\"),h=r.getComputedStyle(n,null).getPropertyValue(\"font-family\"),g=`${a} ${l} ${d} ${c}/${u} ${h}`,f=n.innerText;let m=o.left,_=0,v;if(e>o.left+o.width)_=f.length;else{const b=Xg.getInstance();for(let C=0;C<f.length+1;C++){if(v=b.getCharWidth(f.charAt(C),g)/2,m+=v,e<m){_=C;break}m+=v}}i.setStart(n.firstChild,_),i.setEnd(n.firstChild,_)}return i}class Xg{static getInstance(){return Xg._INSTANCE||(Xg._INSTANCE=new Xg),Xg._INSTANCE}constructor(){this._cache={},this._canvas=document.createElement(\"canvas\")}getCharWidth(e,t){const i=e+t;if(this._cache[i])return this._cache[i];const n=this._canvas.getContext(\"2d\");n.font=t;const r=n.measureText(e).width;return this._cache[i]=r,r}}Xg._INSTANCE=null;function zi(s,e,t){let i=null,n=null;if(typeof t.value==\"function\"?(i=\"value\",n=t.value,n.length!==0&&console.warn(\"Memoize should only be used in functions with zero parameters\")):typeof t.get==\"function\"&&(i=\"get\",n=t.get),!n)throw new Error(\"not supported\");const o=`$memoize$${e}`;t[i]=function(...r){return this.hasOwnProperty(o)||Object.defineProperty(this,o,{configurable:!1,enumerable:!1,writable:!1,value:n.apply(this,r)}),this[o]}}var vge=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Xt;(function(s){s.Tap=\"-monaco-gesturetap\",s.Change=\"-monaco-gesturechange\",s.Start=\"-monaco-gesturestart\",s.End=\"-monaco-gesturesend\",s.Contextmenu=\"-monaco-gesturecontextmenu\"})(Xt||(Xt={}));class Gt extends H{constructor(){super(),this.dispatched=!1,this.targets=new Rs,this.ignoreTargets=new Rs,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(le.runAndSubscribe(JL,({window:e,disposables:t})=>{t.add(K(e.document,\"touchstart\",i=>this.onTouchStart(i),{passive:!1})),t.add(K(e.document,\"touchend\",i=>this.onTouchEnd(e,i))),t.add(K(e.document,\"touchmove\",i=>this.onTouchMove(i),{passive:!1}))},{window:Ht,disposables:this._store}))}static addTarget(e){if(!Gt.isTouchDevice())return H.None;Gt.INSTANCE||(Gt.INSTANCE=new Gt);const t=Gt.INSTANCE.targets.push(e);return Ie(t)}static ignoreTarget(e){if(!Gt.isTouchDevice())return H.None;Gt.INSTANCE||(Gt.INSTANCE=new Gt);const t=Gt.INSTANCE.ignoreTargets.push(e);return Ie(t)}static isTouchDevice(){return\"ontouchstart\"in Ht||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){const t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=e.targetTouches.length;i<n;i++){const o=e.targetTouches.item(i);this.activeTouches[o.identifier]={id:o.identifier,initialTarget:o.target,initialTimeStamp:t,initialPageX:o.pageX,initialPageY:o.pageY,rollingTimestamps:[t],rollingPageX:[o.pageX],rollingPageY:[o.pageY]};const r=this.newGestureEvent(Xt.Start,o.target);r.pageX=o.pageX,r.pageY=o.pageY,this.dispatchEvent(r)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e,t){const i=Date.now(),n=Object.keys(this.activeTouches).length;for(let o=0,r=t.changedTouches.length;o<r;o++){const a=t.changedTouches.item(o);if(!this.activeTouches.hasOwnProperty(String(a.identifier))){console.warn(\"move of an UNKNOWN touch\",a);continue}const l=this.activeTouches[a.identifier],d=Date.now()-l.initialTimeStamp;if(d<Gt.HOLD_DELAY&&Math.abs(l.initialPageX-mr(l.rollingPageX))<30&&Math.abs(l.initialPageY-mr(l.rollingPageY))<30){const c=this.newGestureEvent(Xt.Tap,l.initialTarget);c.pageX=mr(l.rollingPageX),c.pageY=mr(l.rollingPageY),this.dispatchEvent(c)}else if(d>=Gt.HOLD_DELAY&&Math.abs(l.initialPageX-mr(l.rollingPageX))<30&&Math.abs(l.initialPageY-mr(l.rollingPageY))<30){const c=this.newGestureEvent(Xt.Contextmenu,l.initialTarget);c.pageX=mr(l.rollingPageX),c.pageY=mr(l.rollingPageY),this.dispatchEvent(c)}else if(n===1){const c=mr(l.rollingPageX),u=mr(l.rollingPageY),h=mr(l.rollingTimestamps)-l.rollingTimestamps[0],g=c-l.rollingPageX[0],f=u-l.rollingPageY[0],m=[...this.targets].filter(_=>l.initialTarget instanceof Node&&_.contains(l.initialTarget));this.inertia(e,m,i,Math.abs(g)/h,g>0?1:-1,c,Math.abs(f)/h,f>0?1:-1,u)}this.dispatchEvent(this.newGestureEvent(Xt.End,l.initialTarget)),delete this.activeTouches[a.identifier]}this.dispatched&&(t.preventDefault(),t.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){const i=document.createEvent(\"CustomEvent\");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===Xt.Tap){const t=new Date().getTime();let i=0;t-this._lastSetTapCountTime>Gt.CLEAR_TAP_COUNT_TIME?i=1:i=2,this._lastSetTapCountTime=t,e.tapCount=i}else(e.type===Xt.Change||e.type===Xt.Contextmenu)&&(this._lastSetTapCountTime=0);if(e.initialTarget instanceof Node){for(const i of this.ignoreTargets)if(i.contains(e.initialTarget))return;const t=[];for(const i of this.targets)if(i.contains(e.initialTarget)){let n=0,o=e.initialTarget;for(;o&&o!==i;)n++,o=o.parentElement;t.push([n,i])}t.sort((i,n)=>i[0]-n[0]);for(const[i,n]of t)n.dispatchEvent(e),this.dispatched=!0}}inertia(e,t,i,n,o,r,a,l,d){this.handle=Ao(e,()=>{const c=Date.now(),u=c-i;let h=0,g=0,f=!0;n+=Gt.SCROLL_FRICTION*u,a+=Gt.SCROLL_FRICTION*u,n>0&&(f=!1,h=o*n*u),a>0&&(f=!1,g=l*a*u);const m=this.newGestureEvent(Xt.Change);m.translationX=h,m.translationY=g,t.forEach(_=>_.dispatchEvent(m)),f||this.inertia(e,t,c,n,o,r+h,a,l,d+g)})}onTouchMove(e){const t=Date.now();for(let i=0,n=e.changedTouches.length;i<n;i++){const o=e.changedTouches.item(i);if(!this.activeTouches.hasOwnProperty(String(o.identifier))){console.warn(\"end of an UNKNOWN touch\",o);continue}const r=this.activeTouches[o.identifier],a=this.newGestureEvent(Xt.Change,r.initialTarget);a.translationX=o.pageX-mr(r.rollingPageX),a.translationY=o.pageY-mr(r.rollingPageY),a.pageX=o.pageX,a.pageY=o.pageY,this.dispatchEvent(a),r.rollingPageX.length>3&&(r.rollingPageX.shift(),r.rollingPageY.shift(),r.rollingTimestamps.shift()),r.rollingPageX.push(o.pageX),r.rollingPageY.push(o.pageY),r.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}Gt.SCROLL_FRICTION=-.005;Gt.HOLD_DELAY=700;Gt.CLEAR_TAP_COUNT_TIME=400;vge([zi],Gt,\"isTouchDevice\",null);let fr=class extends H{onclick(e,t){this._register(K(e,ee.CLICK,i=>t(new ra(Te(e),i))))}onmousedown(e,t){this._register(K(e,ee.MOUSE_DOWN,i=>t(new ra(Te(e),i))))}onmouseover(e,t){this._register(K(e,ee.MOUSE_OVER,i=>t(new ra(Te(e),i))))}onmouseleave(e,t){this._register(K(e,ee.MOUSE_LEAVE,i=>t(new ra(Te(e),i))))}onkeydown(e,t){this._register(K(e,ee.KEY_DOWN,i=>t(new Kt(i))))}onkeyup(e,t){this._register(K(e,ee.KEY_UP,i=>t(new Kt(i))))}oninput(e,t){this._register(K(e,ee.INPUT,t))}onblur(e,t){this._register(K(e,ee.BLUR,t))}onfocus(e,t){this._register(K(e,ee.FOCUS,t))}ignoreGesture(e){return Gt.ignoreTarget(e)}};const b_=11;class bge extends fr{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement(\"div\"),this.bgDomNode.className=\"arrow-background\",this.bgDomNode.style.position=\"absolute\",this.bgDomNode.style.width=e.bgWidth+\"px\",this.bgDomNode.style.height=e.bgHeight+\"px\",typeof e.top<\"u\"&&(this.bgDomNode.style.top=\"0px\"),typeof e.left<\"u\"&&(this.bgDomNode.style.left=\"0px\"),typeof e.bottom<\"u\"&&(this.bgDomNode.style.bottom=\"0px\"),typeof e.right<\"u\"&&(this.bgDomNode.style.right=\"0px\"),this.domNode=document.createElement(\"div\"),this.domNode.className=e.className,this.domNode.classList.add(...Pe.asClassNameArray(e.icon)),this.domNode.style.position=\"absolute\",this.domNode.style.width=b_+\"px\",this.domNode.style.height=b_+\"px\",typeof e.top<\"u\"&&(this.domNode.style.top=e.top+\"px\"),typeof e.left<\"u\"&&(this.domNode.style.left=e.left+\"px\"),typeof e.bottom<\"u\"&&(this.domNode.style.bottom=e.bottom+\"px\"),typeof e.right<\"u\"&&(this.domNode.style.right=e.right+\"px\"),this._pointerMoveMonitor=this._register(new c0),this._register(Ni(this.bgDomNode,ee.POINTER_DOWN,t=>this._arrowPointerDown(t))),this._register(Ni(this.domNode,ee.POINTER_DOWN,t=>this._arrowPointerDown(t))),this._pointerdownRepeatTimer=this._register(new lF),this._pointerdownScheduleRepeatTimer=this._register(new ya)}_arrowPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24,Te(e))};this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(t,200),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,i=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),e.preventDefault()}}class Cge extends H{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new ya)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){const e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{var e;(e=this._domNode)===null||e===void 0||e.setClassName(this._visibleClassName)},0))}_hide(e){var t;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,(t=this._domNode)===null||t===void 0||t.setClassName(this._invisibleClassName+(e?\" fade\":\"\")))}}const wge=140;class HU extends fr{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new Cge(e.visibility,\"visible scrollbar \"+e.extraScrollbarClassName,\"invisible scrollbar \"+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new c0),this._shouldRender=!0,this.domNode=It(document.createElement(\"div\")),this.domNode.setAttribute(\"role\",\"presentation\"),this.domNode.setAttribute(\"aria-hidden\",\"true\"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition(\"absolute\"),this._register(K(this.domNode.domNode,ee.POINTER_DOWN,t=>this._domNodePointerDown(t)))}_createArrow(e){const t=this._register(new bge(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,i,n){this.slider=It(document.createElement(\"div\")),this.slider.setClassName(\"slider\"),this.slider.setPosition(\"absolute\"),this.slider.setTop(e),this.slider.setLeft(t),typeof i==\"number\"&&this.slider.setWidth(i),typeof n==\"number\"&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain(\"strict\"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(K(this.slider.domNode,ee.POINTER_DOWN,o=>{o.button===0&&(o.preventDefault(),this._sliderPointerDown(o))})),this.onclick(this.slider.domNode,o=>{o.leftButton&&o.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(e){e.target===this.domNode.domNode&&this._onPointerDown(e)}delegatePointerDown(e){const t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderPointerPosition(e);i<=o&&o<=n?e.button===0&&(e.preventDefault(),this._sliderPointerDown(e)):this._onPointerDown(e)}_onPointerDown(e){let t,i;if(e.target===this.domNode.domNode&&typeof e.offsetX==\"number\"&&typeof e.offsetY==\"number\")t=e.offsetX,i=e.offsetY;else{const o=qi(this.domNode.domNode);t=e.pageX-o.left,i=e.pageY-o.top}const n=this._pointerDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),e.button===0&&(e.preventDefault(),this._sliderPointerDown(e))}_sliderPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=this._sliderPointerPosition(e),i=this._sliderOrthogonalPointerPosition(e),n=this._scrollbarState.clone();this.slider.toggleClassName(\"active\",!0),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,o=>{const r=this._sliderOrthogonalPointerPosition(o),a=Math.abs(r-i);if(as&&a>wge){this._setDesiredScrollPositionNow(n.getScrollPosition());return}const d=this._sliderPointerPosition(o)-t;this._setDesiredScrollPositionNow(n.getDesiredScrollPositionFromDelta(d))},()=>{this.slider.toggleClassName(\"active\",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){const t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}const yge=20;class C_{constructor(e,t,i,n,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new C_(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){const t=Math.round(e);return this._visibleSize!==t?(this._visibleSize=t,this._refreshComputedValues(),!0):!1}setScrollSize(e){const t=Math.round(e);return this._scrollSize!==t?(this._scrollSize=t,this._refreshComputedValues(),!0):!1}setScrollPosition(e){const t=Math.round(e);return this._scrollPosition!==t?(this._scrollPosition=t,this._refreshComputedValues(),!0):!1}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,o){const r=Math.max(0,i-e),a=Math.max(0,r-2*t),l=n>0&&n>i;if(!l)return{computedAvailableSize:Math.round(r),computedIsNeeded:l,computedSliderSize:Math.round(a),computedSliderRatio:0,computedSliderPosition:0};const d=Math.round(Math.max(yge,Math.floor(i*a/n))),c=(a-d)/(n-i),u=o*c;return{computedAvailableSize:Math.round(r),computedIsNeeded:l,computedSliderSize:Math.round(d),computedSliderRatio:c,computedSliderPosition:Math.round(u)}}_refreshComputedValues(){const e=C_._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize;let i=this._scrollPosition;return t<this._computedSliderPosition?i-=this._visibleSize:i+=this._visibleSize,i}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;const t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}class Sge extends HU{constructor(e,t,i){const n=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new C_(t.horizontalHasArrows?t.arrowSize:0,t.horizontal===2?0:t.horizontalScrollbarSize,t.vertical===2?0:t.verticalScrollbarSize,n.width,n.scrollWidth,o.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:\"horizontal\",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){const r=(t.arrowSize-b_)/2,a=(t.horizontalScrollbarSize-b_)/2;this._createArrow({className:\"scra\",icon:oe.scrollbarButtonLeft,top:a,left:r,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new yf(null,1,0))}),this._createArrow({className:\"scra\",icon:oe.scrollbarButtonRight,top:a,left:void 0,bottom:void 0,right:r,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new yf(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return e}_sliderPointerPosition(e){return e.pageX}_sliderOrthogonalPointerPosition(e){return e.pageY}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(e.horizontal===2?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(e.vertical===2?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class Dge extends HU{constructor(e,t,i){const n=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new C_(t.verticalHasArrows?t.arrowSize:0,t.vertical===2?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:\"vertical\",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){const r=(t.arrowSize-b_)/2,a=(t.verticalScrollbarSize-b_)/2;this._createArrow({className:\"scra\",icon:oe.scrollbarButtonUp,top:r,left:a,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new yf(null,0,1))}),this._createArrow({className:\"scra\",icon:oe.scrollbarButtonDown,top:void 0,left:a,bottom:r,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new yf(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return t}_sliderPointerPosition(e){return e.pageY}_sliderOrthogonalPointerPosition(e){return e.pageX}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(e.vertical===2?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}class nD{constructor(e,t,i,n,o,r,a){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t=t|0,i=i|0,n=n|0,o=o|0,r=r|0,a=a|0),this.rawScrollLeft=n,this.rawScrollTop=a,t<0&&(t=0),n+t>i&&(n=i-t),n<0&&(n=0),o<0&&(o=0),a+o>r&&(a=r-o),a<0&&(a=0),this.width=t,this.scrollWidth=i,this.scrollLeft=n,this.height=o,this.scrollHeight=r,this.scrollTop=a}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new nD(this._forceIntegerValues,typeof e.width<\"u\"?e.width:this.width,typeof e.scrollWidth<\"u\"?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,typeof e.height<\"u\"?e.height:this.height,typeof e.scrollHeight<\"u\"?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new nD(this._forceIntegerValues,this.width,this.scrollWidth,typeof e.scrollLeft<\"u\"?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof e.scrollTop<\"u\"?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){const i=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,r=this.height!==e.height,a=this.scrollHeight!==e.scrollHeight,l=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:n,scrollLeftChanged:o,heightChanged:r,scrollHeightChanged:a,scrollTopChanged:l}}}class u0 extends H{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new B),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new nD(e.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){var i;const n=this._state.withScrollDimensions(e,t);this._setState(n,!!this._smoothScrolling),(i=this._smoothScrolling)===null||i===void 0||i.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:typeof e.scrollLeft>\"u\"?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:typeof e.scrollTop>\"u\"?this._smoothScrolling.to.scrollTop:e.scrollTop};const i=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===i.scrollLeft&&this._smoothScrolling.to.scrollTop===i.scrollTop)return;let n;t?n=new Qb(this._smoothScrolling.from,i,this._smoothScrolling.startTime,this._smoothScrolling.duration):n=this._smoothScrolling.combine(this._state,i,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=n}else{const i=this._state.withScrollPosition(e);this._smoothScrolling=Qb.start(this._state,i,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);if(this._setState(t,!0),!!this._smoothScrolling){if(e.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(e,t){const i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class FB{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function cI(s,e){const t=e-s;return function(i){return s+t*kge(i)}}function Lge(s,e,t){return function(i){return i<t?s(i/t):e((i-t)/(1-t))}}class Qb{constructor(e,t,i,n){this.from=e,this.to=t,this.duration=n,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){if(Math.abs(e-t)>2.5*i){let o,r;return e<t?(o=e+.75*i,r=t-.75*i):(o=e-.75*i,r=t+.75*i),Lge(cI(e,o),cI(r,t),.33)}return cI(e,t)}dispose(){this.animationFrameDisposable!==null&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){const t=(e-this.startTime)/this.duration;if(t<1){const i=this.scrollLeft(t),n=this.scrollTop(t);return new FB(i,n,!1)}return new FB(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,i){return Qb.start(e,t,i)}static start(e,t,i){i=i+10;const n=Date.now()-10;return new Qb(e,t,n,i)}}function xge(s){return Math.pow(s,3)}function kge(s){return 1-xge(1-s)}const Ege=500,OB=50;class Ige{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class sD{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let e=1,t=0,i=1,n=this._rear;do{const o=n===this._front?e:Math.pow(2,-i);if(e-=o,t+=this._memory[n].score*o,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}while(!0);return t<=.5}acceptStandardWheelEvent(e){if(u1){const t=Te(e.browserEvent),i=Vre(t);this.accept(Date.now(),e.deltaX*i,e.deltaY*i)}else this.accept(Date.now(),e.deltaX,e.deltaY)}accept(e,t,i){let n=null;const o=new Ige(e,t,i);this._front===-1&&this._rear===-1?(this._memory[0]=o,this._front=0,this._rear=0):(n=this._memory[this._rear],this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=o),o.score=this._computeScore(o,n)}_computeScore(e,t){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let i=.5;if((!this._isAlmostInt(e.deltaX)||!this._isAlmostInt(e.deltaY))&&(i+=.25),t){const n=Math.abs(e.deltaX),o=Math.abs(e.deltaY),r=Math.abs(t.deltaX),a=Math.abs(t.deltaY),l=Math.max(Math.min(n,r),1),d=Math.max(Math.min(o,a),1),c=Math.max(n,r),u=Math.max(o,a);c%l===0&&u%d===0&&(i-=.5)}return Math.min(Math.max(i,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}sD.INSTANCE=new sD;class WF extends fr{get options(){return this._options}constructor(e,t,i){super(),this._onScroll=this._register(new B),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new B),e.style.overflow=\"hidden\",this._options=Tge(t),this._scrollable=i,this._register(this._scrollable.onScroll(o=>{this._onWillScroll.fire(o),this._onDidScroll(o),this._onScroll.fire(o)}));const n={onMouseWheel:o=>this._onMouseWheel(o),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new Dge(this._scrollable,this._options,n)),this._horizontalScrollbar=this._register(new Sge(this._scrollable,this._options,n)),this._domNode=document.createElement(\"div\"),this._domNode.className=\"monaco-scrollable-element \"+this._options.className,this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.style.position=\"relative\",this._domNode.style.overflow=\"hidden\",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=It(document.createElement(\"div\")),this._leftShadowDomNode.setClassName(\"shadow\"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=It(document.createElement(\"div\")),this._topShadowDomNode.setClassName(\"shadow\"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=It(document.createElement(\"div\")),this._topLeftShadowDomNode.setClassName(\"shadow\"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,o=>this._onMouseOver(o)),this.onmouseleave(this._listenOnDomNode,o=>this._onMouseLeave(o)),this._hideTimeout=this._register(new ya),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=jt(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(e){this._verticalScrollbar.delegatePointerDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,lt&&(this._options.className+=\" mac\"),this._domNode.className=\"monaco-scrollable-element \"+this._options.className}updateOptions(e){typeof e.handleMouseWheel<\"u\"&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof e.mouseWheelScrollSensitivity<\"u\"&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),typeof e.fastScrollSensitivity<\"u\"&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),typeof e.scrollPredominantAxis<\"u\"&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),typeof e.horizontal<\"u\"&&(this._options.horizontal=e.horizontal),typeof e.vertical<\"u\"&&(this._options.vertical=e.vertical),typeof e.horizontalScrollbarSize<\"u\"&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),typeof e.verticalScrollbarSize<\"u\"&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),typeof e.scrollByPage<\"u\"&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(e){this._onMouseWheel(new yf(e))}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=jt(this._mouseWheelToDispose),e)){const i=n=>{this._onMouseWheel(new yf(n))};this._mouseWheelToDispose.push(K(this._listenOnDomNode,ee.MOUSE_WHEEL,i,{passive:!1}))}}_onMouseWheel(e){var t;if(!((t=e.browserEvent)===null||t===void 0)&&t.defaultPrevented)return;const i=sD.INSTANCE;i.acceptStandardWheelEvent(e);let n=!1;if(e.deltaY||e.deltaX){let r=e.deltaY*this._options.mouseWheelScrollSensitivity,a=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&a+r===0?a=r=0:Math.abs(r)>=Math.abs(a)?a=0:r=0),this._options.flipAxes&&([r,a]=[a,r]);const l=!lt&&e.browserEvent&&e.browserEvent.shiftKey;(this._options.scrollYToX||l)&&!a&&(a=r,r=0),e.browserEvent&&e.browserEvent.altKey&&(a=a*this._options.fastScrollSensitivity,r=r*this._options.fastScrollSensitivity);const d=this._scrollable.getFutureScrollPosition();let c={};if(r){const u=OB*r,h=d.scrollTop-(u<0?Math.floor(u):Math.ceil(u));this._verticalScrollbar.writeScrollPosition(c,h)}if(a){const u=OB*a,h=d.scrollLeft-(u<0?Math.floor(u):Math.ceil(u));this._horizontalScrollbar.writeScrollPosition(c,h)}c=this._scrollable.validateScrollPosition(c),(d.scrollLeft!==c.scrollLeft||d.scrollTop!==c.scrollTop)&&(this._options.mouseWheelSmoothScroll&&i.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(c):this._scrollable.setScrollPositionNow(c),n=!0)}let o=n;!o&&this._options.alwaysConsumeMouseWheel&&(o=!0),!o&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(o=!0),o&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error(\"Please use `lazyRender` together with `renderNow`!\");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,i=e.scrollLeft>0,n=i?\" left\":\"\",o=t?\" top\":\"\",r=i||t?\" top-left-corner\":\"\";this._leftShadowDomNode.setClassName(`shadow${n}`),this._topShadowDomNode.setClassName(`shadow${o}`),this._topLeftShadowDomNode.setClassName(`shadow${r}${o}${n}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){!this._mouseIsOver&&!this._isDragging&&(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){!this._mouseIsOver&&!this._isDragging&&this._hideTimeout.cancelAndSet(()=>this._hide(),Ege)}}class VU extends WF{constructor(e,t){t=t||{},t.mouseWheelSmoothScroll=!1;const i=new u0({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:n=>Ao(Te(e),n)});super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class Lx extends WF{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class C1 extends WF{constructor(e,t){t=t||{},t.mouseWheelSmoothScroll=!1;const i=new u0({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:n=>Ao(Te(e),n)});super(e,t,i),this._register(i),this._element=e,this._register(this.onScroll(n=>{n.scrollTopChanged&&(this._element.scrollTop=n.scrollTop),n.scrollLeftChanged&&(this._element.scrollLeft=n.scrollLeft)})),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}function Tge(s){const e={lazyRender:typeof s.lazyRender<\"u\"?s.lazyRender:!1,className:typeof s.className<\"u\"?s.className:\"\",useShadows:typeof s.useShadows<\"u\"?s.useShadows:!0,handleMouseWheel:typeof s.handleMouseWheel<\"u\"?s.handleMouseWheel:!0,flipAxes:typeof s.flipAxes<\"u\"?s.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof s.consumeMouseWheelIfScrollbarIsNeeded<\"u\"?s.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof s.alwaysConsumeMouseWheel<\"u\"?s.alwaysConsumeMouseWheel:!1,scrollYToX:typeof s.scrollYToX<\"u\"?s.scrollYToX:!1,mouseWheelScrollSensitivity:typeof s.mouseWheelScrollSensitivity<\"u\"?s.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof s.fastScrollSensitivity<\"u\"?s.fastScrollSensitivity:5,scrollPredominantAxis:typeof s.scrollPredominantAxis<\"u\"?s.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof s.mouseWheelSmoothScroll<\"u\"?s.mouseWheelSmoothScroll:!0,arrowSize:typeof s.arrowSize<\"u\"?s.arrowSize:11,listenOnDomNode:typeof s.listenOnDomNode<\"u\"?s.listenOnDomNode:null,horizontal:typeof s.horizontal<\"u\"?s.horizontal:1,horizontalScrollbarSize:typeof s.horizontalScrollbarSize<\"u\"?s.horizontalScrollbarSize:10,horizontalSliderSize:typeof s.horizontalSliderSize<\"u\"?s.horizontalSliderSize:0,horizontalHasArrows:typeof s.horizontalHasArrows<\"u\"?s.horizontalHasArrows:!1,vertical:typeof s.vertical<\"u\"?s.vertical:1,verticalScrollbarSize:typeof s.verticalScrollbarSize<\"u\"?s.verticalScrollbarSize:10,verticalHasArrows:typeof s.verticalHasArrows<\"u\"?s.verticalHasArrows:!1,verticalSliderSize:typeof s.verticalSliderSize<\"u\"?s.verticalSliderSize:0,scrollByPage:typeof s.scrollByPage<\"u\"?s.scrollByPage:!1};return e.horizontalSliderSize=typeof s.horizontalSliderSize<\"u\"?s.horizontalSliderSize:e.horizontalScrollbarSize,e.verticalSliderSize=typeof s.verticalSliderSize<\"u\"?s.verticalSliderSize:e.verticalScrollbarSize,lt&&(e.className+=\" mac\"),e}class HF extends b1{constructor(e,t,i){super(),this._mouseLeaveMonitor=null,this._context=e,this.viewController=t,this.viewHelper=i,this.mouseTargetFactory=new fs(this._context,i),this._mouseDownOperation=this._register(new Nge(this._context,this.viewController,this.viewHelper,this.mouseTargetFactory,(r,a)=>this._createMouseTarget(r,a),r=>this._getMouseColumn(r))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(145).height;const n=new tge(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,r=>this._onContextMenu(r,!0))),this._register(n.onMouseMove(this.viewHelper.viewDomNode,r=>{this._onMouseMove(r),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=K(this.viewHelper.viewDomNode.ownerDocument,\"mousemove\",a=>{this.viewHelper.viewDomNode.contains(a.target)||this._onMouseLeave(new Nh(a,!1,this.viewHelper.viewDomNode))}))})),this._register(n.onMouseUp(this.viewHelper.viewDomNode,r=>this._onMouseUp(r))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,r=>this._onMouseLeave(r)));let o=0;this._register(n.onPointerDown(this.viewHelper.viewDomNode,(r,a)=>{o=a})),this._register(K(this.viewHelper.viewDomNode,ee.POINTER_UP,r=>{this._mouseDownOperation.onPointerUp()})),this._register(n.onMouseDown(this.viewHelper.viewDomNode,r=>this._onMouseDown(r,o))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){const e=sD.INSTANCE;let t=0,i=Sr.getZoomLevel(),n=!1,o=0;const r=l=>{if(this.viewController.emitMouseWheel(l),!this._context.configuration.options.get(76))return;const d=new yf(l);if(e.acceptStandardWheelEvent(d),e.isPhysicalMouseWheel()){if(a(l)){const c=Sr.getZoomLevel(),u=d.deltaY>0?1:-1;Sr.setZoomLevel(c+u),d.preventDefault(),d.stopPropagation()}}else Date.now()-t>50&&(i=Sr.getZoomLevel(),n=a(l),o=0),t=Date.now(),o+=d.deltaY,n&&(Sr.setZoomLevel(i+o/5),d.preventDefault(),d.stopPropagation())};this._register(K(this.viewHelper.viewDomNode,ee.MOUSE_WHEEL,r,{capture:!0,passive:!1}));function a(l){return lt?(l.metaKey||l.ctrlKey)&&!l.shiftKey&&!l.altKey:l.ctrlKey&&!l.metaKey&&!l.shiftKey&&!l.altKey}}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(145)){const t=this._context.configuration.options.get(145).height;this._height!==t&&(this._height=t,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}getTargetAtClientPoint(e,t){const n=new FU(e,t).toPageCoordinates(Te(this.viewHelper.viewDomNode)),o=FF(this.viewHelper.viewDomNode);if(n.y<o.y||n.y>o.y+o.height||n.x<o.x||n.x>o.x+o.width)return null;const r=OF(this.viewHelper.viewDomNode,o,n);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),o,n,r,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){const n=Sf(this.viewHelper.viewDomNode);n&&(i=n.elementsFromPoint(e.posx,e.posy).find(o=>this.viewHelper.viewDomNode.contains(o)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.relativePos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){this.mouseTargetFactory.mouseTargetIsWidget(e)||e.preventDefault(),!(this._mouseDownOperation.isActive()||e.timestamp<this.lastMouseLeaveTime)&&this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}_onMouseLeave(e){this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),this.lastMouseLeaveTime=new Date().getTime(),this.viewController.emitMouseLeave({event:e,target:null})}_onMouseUp(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})}_onMouseDown(e,t){const i=this._createMouseTarget(e,!0),n=i.type===6||i.type===7,o=i.type===2||i.type===3||i.type===4,r=i.type===3,a=this._context.configuration.options.get(109),l=i.type===8||i.type===5,d=i.type===9;let c=e.leftButton||e.middleButton;lt&&e.leftButton&&e.ctrlKey&&(c=!1);const u=()=>{e.preventDefault(),this.viewHelper.focusTextArea()};if(c&&(n||r&&a))u(),this._mouseDownOperation.start(i.type,e,t);else if(o)e.preventDefault();else if(l){const h=i.detail;c&&this.viewHelper.shouldSuppressMouseDownOnViewZone(h.viewZoneId)&&(u(),this._mouseDownOperation.start(i.type,e,t),e.preventDefault())}else d&&this.viewHelper.shouldSuppressMouseDownOnWidget(i.detail)&&(u(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:i})}}class Nge extends H{constructor(e,t,i,n,o,r){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._mouseTargetFactory=n,this._createMouseTarget=o,this._getMouseColumn=r,this._mouseMoveMonitor=this._register(new nge(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new Age(this._context,this._viewHelper,this._mouseTargetFactory,(a,l,d)=>this._dispatchMouse(a,l,d))),this._mouseState=new xx,this._currentSelection=new we(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);const t=this._findMousePosition(e,!1);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):t.type===13&&(t.outsidePosition===\"above\"||t.outsidePosition===\"below\")?this._topBottomDragScrolling.start(t,e):(this._topBottomDragScrolling.stop(),this._dispatchMouse(t,!0,1)))}start(e,t,i){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(e===3),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);const n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;const o=this._context.configuration.options;if(!o.get(91)&&o.get(35)&&!o.get(22)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&n.type===6&&n.position&&this._currentSelection.containsPosition(n.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,r=>this._onMouseDownThenMove(r),r=>{const a=this._findMousePosition(this._lastMouseEvent,!1);Iu(r)?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:a?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,r=>this._onMouseDownThenMove(r),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){const t=e.editorPos,i=this._context.viewModel,n=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posy<t.y){const a=t.y-e.posy,l=Math.max(n.getCurrentScrollTop()-a,0),d=v_.getZoneAtCoord(this._context,l);if(d){const u=this._helpPositionJumpOverViewZone(d);if(u)return ms.createOutsideEditor(o,u,\"above\",a)}const c=n.getLineNumberAtVerticalOffset(l);return ms.createOutsideEditor(o,new W(c,1),\"above\",a)}if(e.posy>t.y+t.height){const a=e.posy-t.y-t.height,l=n.getCurrentScrollTop()+e.relativePos.y,d=v_.getZoneAtCoord(this._context,l);if(d){const u=this._helpPositionJumpOverViewZone(d);if(u)return ms.createOutsideEditor(o,u,\"below\",a)}const c=n.getLineNumberAtVerticalOffset(l);return ms.createOutsideEditor(o,new W(c,i.getLineMaxColumn(c)),\"below\",a)}const r=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+e.relativePos.y);if(e.posx<t.x){const a=t.x-e.posx;return ms.createOutsideEditor(o,new W(r,1),\"left\",a)}if(e.posx>t.x+t.width){const a=e.posx-t.x-t.width;return ms.createOutsideEditor(o,new W(r,i.getLineMaxColumn(r)),\"right\",a)}return null}_findMousePosition(e,t){const i=this._getPositionOutsideEditor(e);if(i)return i;const n=this._createMouseTarget(e,t);if(!n.position)return null;if(n.type===8||n.type===5){const r=this._helpPositionJumpOverViewZone(n.detail);if(r)return ms.createViewZone(n.type,n.element,n.mouseColumn,r,n.detail)}return n}_helpPositionJumpOverViewZone(e){const t=new W(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),i=e.positionBefore,n=e.positionAfter;return i&&n?i.isBefore(t)?i:n:null}_dispatchMouse(e,t,i){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:i,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:e.type===6&&e.detail.injectedText!==null})}}class Age extends H{constructor(e,t,i,n){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._operation=null}dispose(){super.dispose(),this.stop()}start(e,t){this._operation?this._operation.setPosition(e,t):this._operation=new Mge(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,e,t)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class Mge extends H{constructor(e,t,i,n,o,r){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._position=o,this._mouseEvent=r,this._lastTime=Date.now(),this._animationFrameDisposable=Ao(Te(r.browserEvent),()=>this._execute())}dispose(){this._animationFrameDisposable.dispose(),super.dispose()}setPosition(e,t){this._position=e,this._mouseEvent=t}_tick(){const e=Date.now(),t=e-this._lastTime;return this._lastTime=e,t}_getScrollSpeed(){const e=this._context.configuration.options.get(67),t=this._context.configuration.options.get(145).height/e,i=this._position.outsideDistance/e;return i<=1.5?Math.max(30,t*(1+i)):i<=3?Math.max(60,t*(2+i)):Math.max(200,t*(7+i))}_execute(){const e=this._context.configuration.options.get(67),t=this._getScrollSpeed(),i=this._tick(),n=t*(i/1e3)*e,o=this._position.outsidePosition===\"above\"?-n:n;this._context.viewModel.viewLayout.deltaScrollNow(0,o),this._viewHelper.renderNow();const r=this._context.viewLayout.getLinesViewportData(),a=this._position.outsidePosition===\"above\"?r.startLineNumber:r.endLineNumber;let l;{const d=FF(this._viewHelper.viewDomNode),c=this._context.configuration.options.get(145).horizontalScrollbarHeight,u=new yx(this._mouseEvent.pos.x,d.y+d.height-c-.1),h=OF(this._viewHelper.viewDomNode,d,u);l=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),d,u,h,null)}(!l.position||l.position.lineNumber!==a)&&(this._position.outsidePosition===\"above\"?l=ms.createOutsideEditor(this._position.mouseColumn,new W(a,1),\"above\",this._position.outsideDistance):l=ms.createOutsideEditor(this._position.mouseColumn,new W(a,this._context.viewModel.getLineMaxColumn(a)),\"below\",this._position.outsideDistance)),this._dispatchMouse(l,!0,2),this._animationFrameDisposable=Ao(Te(l.element),()=>this._execute())}}class xx{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){const i=new Date().getTime();i-this._lastSetMouseDownCountTime>xx.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}xx.CLEAR_MOUSE_DOWN_COUNT_TIME=400;class ht{get event(){return this.emitter.event}constructor(e,t,i){const n=o=>this.emitter.fire(o);this.emitter=new B({onWillAddFirstListener:()=>e.addEventListener(t,n,i),onDidRemoveLastListener:()=>e.removeEventListener(t,n,i)})}dispose(){this.emitter.dispose()}}class Bn{constructor(e,t,i,n,o){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selection=n,this.newlineCountBeforeSelection=o}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e,t){const i=e.getValue(),n=e.getSelectionStart(),o=e.getSelectionEnd();let r;if(t){const a=i.substring(0,n),l=t.value.substring(0,t.selectionStart);a===l&&(r=t.newlineCountBeforeSelection)}return new Bn(i,n,o,null,r)}collapseSelection(){return this.selectionStart===this.value.length?this:new Bn(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(e,t,i){t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t,i,n,o,r,a,l,d;if(e<=this.selectionStart){const h=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition((i=(t=this.selection)===null||t===void 0?void 0:t.getStartPosition())!==null&&i!==void 0?i:null,h,-1)}if(e>=this.selectionEnd){const h=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition((o=(n=this.selection)===null||n===void 0?void 0:n.getEndPosition())!==null&&o!==void 0?o:null,h,1)}const c=this.value.substring(this.selectionStart,e);if(c.indexOf(\"…\")===-1)return this._finishDeduceEditorPosition((a=(r=this.selection)===null||r===void 0?void 0:r.getStartPosition())!==null&&a!==void 0?a:null,c,1);const u=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition((d=(l=this.selection)===null||l===void 0?void 0:l.getEndPosition())!==null&&d!==void 0?d:null,u,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,o=-1;for(;(o=t.indexOf(`\n`,o+1))!==-1;)n++;return[e,i*t.length,n]}static deduceInput(e,t,i){if(!e)return{text:\"\",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};const n=Math.min(Sh(e.value,t.value),e.selectionStart,t.selectionStart),o=Math.min(BS(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd);e.value.substring(n,e.value.length-o);const r=t.value.substring(n,t.value.length-o),a=e.selectionStart-n,l=e.selectionEnd-n,d=t.selectionStart-n,c=t.selectionEnd-n;if(d===c){const h=e.selectionStart-n;return{text:r,replacePrevCharCnt:h,replaceNextCharCnt:0,positionDelta:0}}const u=l-a;return{text:r,replacePrevCharCnt:u,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:\"\",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e.value===t.value)return{text:\"\",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};const i=Math.min(Sh(e.value,t.value),e.selectionEnd),n=Math.min(BS(e.value,t.value),e.value.length-e.selectionEnd),o=e.value.substring(i,e.value.length-n),r=t.value.substring(i,t.value.length-n);e.selectionStart-i;const a=e.selectionEnd-i;t.selectionStart-i;const l=t.selectionEnd-i;return{text:r,replacePrevCharCnt:a,replaceNextCharCnt:o.length-a,positionDelta:l-r.length}}}Bn.EMPTY=new Bn(\"\",0,0,null,void 0);class um{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const i=e*t,n=i+1,o=i+t;return new x(n,1,o+1,1)}static fromEditorSelection(e,t,i,n){const r=um._getPageOfLine(t.startLineNumber,i),a=um._getRangeForPage(r,i),l=um._getPageOfLine(t.endLineNumber,i),d=um._getRangeForPage(l,i);let c=a.intersectRanges(new x(1,1,t.startLineNumber,t.startColumn));if(n&&e.getValueLengthInRange(c,1)>500){const v=e.modifyPosition(c.getEndPosition(),-500);c=x.fromPositions(v,c.getEndPosition())}const u=e.getValueInRange(c,1),h=e.getLineCount(),g=e.getLineMaxColumn(h);let f=d.intersectRanges(new x(t.endLineNumber,t.endColumn,h,g));if(n&&e.getValueLengthInRange(f,1)>500){const v=e.modifyPosition(f.getStartPosition(),500);f=x.fromPositions(f.getStartPosition(),v)}const m=e.getValueInRange(f,1);let _;if(r===l||r+1===l)_=e.getValueInRange(t,1);else{const v=a.intersectRanges(t),b=d.intersectRanges(t);_=e.getValueInRange(v,1)+\"…\"+e.getValueInRange(b,1)}return n&&_.length>2*500&&(_=_.substring(0,500)+\"…\"+_.substring(_.length-500,_.length)),new Bn(u+_+m,u.length,u.length+_.length,t,c.endLineNumber-c.startLineNumber)}}var Rge=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},BB=function(s,e){return function(t,i){e(t,i,s)}},oD;(function(s){s.Tap=\"-monaco-textarea-synthetic-tap\"})(oD||(oD={}));const TA={forceCopyWithSyntaxHighlighting:!1};class Jb{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}Jb.INSTANCE=new Jb;class Pge{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(e){e=e||\"\";const t={text:e,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=e.length,t}}let NA=class extends H{get textAreaState(){return this._textAreaState}constructor(e,t,i,n,o,r){super(),this._host=e,this._textArea=t,this._OS=i,this._browser=n,this._accessibilityService=o,this._logService=r,this._onFocus=this._register(new B),this.onFocus=this._onFocus.event,this._onBlur=this._register(new B),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new B),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new B),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new B),this.onCut=this._onCut.event,this._onPaste=this._register(new B),this.onPaste=this._onPaste.event,this._onType=this._register(new B),this.onType=this._onType.event,this._onCompositionStart=this._register(new B),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new B),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new B),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new B),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncFocusGainWriteScreenReaderContent=this._register(new $n),this._asyncTriggerCut=this._register(new Wt(()=>this._onCut.fire(),0)),this._textAreaState=Bn.EMPTY,this._selectionChangeListener=null,this._accessibilityService.isScreenReaderOptimized()&&this.writeNativeTextAreaContent(\"ctor\"),this._register(le.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>{this._accessibilityService.isScreenReaderOptimized()&&!this._asyncFocusGainWriteScreenReaderContent.value?this._asyncFocusGainWriteScreenReaderContent.value=this._register(new Wt(()=>this.writeNativeTextAreaContent(\"asyncFocusGain\"),0)):this._asyncFocusGainWriteScreenReaderContent.clear()})),this._hasFocus=!1,this._currentComposition=null;let a=null;this._register(this._textArea.onKeyDown(l=>{const d=new Kt(l);(d.keyCode===114||this._currentComposition&&d.keyCode===1)&&d.stopPropagation(),d.equals(9)&&d.preventDefault(),a=d,this._onKeyDown.fire(d)})),this._register(this._textArea.onKeyUp(l=>{const d=new Kt(l);this._onKeyUp.fire(d)})),this._register(this._textArea.onCompositionStart(l=>{const d=new Pge;if(this._currentComposition){this._currentComposition=d;return}if(this._currentComposition=d,this._OS===2&&a&&a.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===l.data&&(a.code===\"ArrowRight\"||a.code===\"ArrowLeft\")){d.handleCompositionUpdate(\"x\"),this._onCompositionStart.fire({data:l.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:l.data});return}this._onCompositionStart.fire({data:l.data})})),this._register(this._textArea.onCompositionUpdate(l=>{const d=this._currentComposition;if(!d)return;if(this._browser.isAndroid){const u=Bn.readFromTextArea(this._textArea,this._textAreaState),h=Bn.deduceAndroidCompositionInput(this._textAreaState,u);this._textAreaState=u,this._onType.fire(h),this._onCompositionUpdate.fire(l);return}const c=d.handleCompositionUpdate(l.data);this._textAreaState=Bn.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(c),this._onCompositionUpdate.fire(l)})),this._register(this._textArea.onCompositionEnd(l=>{const d=this._currentComposition;if(!d)return;if(this._currentComposition=null,this._browser.isAndroid){const u=Bn.readFromTextArea(this._textArea,this._textAreaState),h=Bn.deduceAndroidCompositionInput(this._textAreaState,u);this._textAreaState=u,this._onType.fire(h),this._onCompositionEnd.fire();return}const c=d.handleCompositionUpdate(l.data);this._textAreaState=Bn.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(c),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(l=>{if(this._textArea.setIgnoreSelectionChangeTime(\"received input event\"),this._currentComposition)return;const d=Bn.readFromTextArea(this._textArea,this._textAreaState),c=Bn.deduceInput(this._textAreaState,d,this._OS===2);c.replacePrevCharCnt===0&&c.text.length===1&&(Cn(c.text.charCodeAt(0))||c.text.charCodeAt(0)===127)||(this._textAreaState=d,(c.text!==\"\"||c.replacePrevCharCnt!==0||c.replaceNextCharCnt!==0||c.positionDelta!==0)&&this._onType.fire(c))})),this._register(this._textArea.onCut(l=>{this._textArea.setIgnoreSelectionChangeTime(\"received cut event\"),this._ensureClipboardGetsEditorSelection(l),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(l=>{this._ensureClipboardGetsEditorSelection(l)})),this._register(this._textArea.onPaste(l=>{if(this._textArea.setIgnoreSelectionChangeTime(\"received paste event\"),l.preventDefault(),!l.clipboardData)return;let[d,c]=AA.getTextData(l.clipboardData);d&&(c=c||Jb.INSTANCE.get(d),this._onPaste.fire({text:d,metadata:c}))})),this._register(this._textArea.onFocus(()=>{const l=this._hasFocus;this._setHasFocus(!0),this._accessibilityService.isScreenReaderOptimized()&&this._browser.isSafari&&!l&&this._hasFocus&&(this._asyncFocusGainWriteScreenReaderContent.value||(this._asyncFocusGainWriteScreenReaderContent.value=new Wt(()=>this.writeNativeTextAreaContent(\"asyncFocusGain\"),0)),this._asyncFocusGainWriteScreenReaderContent.value.schedule())})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent(\"blurWithoutCompositionEnd\"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent(\"tapWithoutCompositionEnd\"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return K(this._textArea.ownerDocument,\"selectionchange\",t=>{if(Hu.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const i=Date.now(),n=i-e;if(e=i,n<5)return;const o=i-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),o<100||!this._textAreaState.selection)return;const r=this._textArea.getValue();if(this._textAreaState.value!==r)return;const a=this._textArea.getSelectionStart(),l=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===a&&this._textAreaState.selectionEnd===l)return;const d=this._textAreaState.deduceEditorPosition(a),c=this._host.deduceModelPosition(d[0],d[1],d[2]),u=this._textAreaState.deduceEditorPosition(l),h=this._host.deduceModelPosition(u[0],u[1],u[2]),g=new we(c.lineNumber,c.column,h.lineNumber,h.column);this._onSelectionChangeRequest.fire(g)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeNativeTextAreaContent(\"focusgain\"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeNativeTextAreaContent(e){!this._accessibilityService.isScreenReaderOptimized()&&e===\"render\"||this._currentComposition||(this._logService.trace(`writeTextAreaState(reason: ${e})`),this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent()))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(),i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};Jb.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\\r\\n/g,`\n`):t.text,i),e.preventDefault(),e.clipboardData&&AA.setTextData(e.clipboardData,t.text,t.html,i)}};NA=Rge([BB(4,gr),BB(5,ys)],NA);const AA={getTextData(s){const e=s.getData(Ti.text);let t=null;const i=s.getData(\"vscode-editor-data\");if(typeof i==\"string\")try{t=JSON.parse(i),t.version!==1&&(t=null)}catch{}return e.length===0&&t===null&&s.files.length>0?[Array.prototype.slice.call(s.files,0).map(o=>o.name).join(`\n`),null]:[e,t]},setTextData(s,e,t,i){s.setData(Ti.text,e),typeof t==\"string\"&&s.setData(\"text/html\",t),s.setData(\"vscode-editor-data\",JSON.stringify(i))}};class Fge extends H{get ownerDocument(){return this._actual.ownerDocument}constructor(e){super(),this._actual=e,this.onKeyDown=this._register(new ht(this._actual,\"keydown\")).event,this.onKeyUp=this._register(new ht(this._actual,\"keyup\")).event,this.onCompositionStart=this._register(new ht(this._actual,\"compositionstart\")).event,this.onCompositionUpdate=this._register(new ht(this._actual,\"compositionupdate\")).event,this.onCompositionEnd=this._register(new ht(this._actual,\"compositionend\")).event,this.onBeforeInput=this._register(new ht(this._actual,\"beforeinput\")).event,this.onInput=this._register(new ht(this._actual,\"input\")).event,this.onCut=this._register(new ht(this._actual,\"cut\")).event,this.onCopy=this._register(new ht(this._actual,\"copy\")).event,this.onPaste=this._register(new ht(this._actual,\"paste\")).event,this.onFocus=this._register(new ht(this._actual,\"focus\")).event,this.onBlur=this._register(new ht(this._actual,\"blur\")).event,this._onSyntheticTap=this._register(new B),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>Hu.onKeyDown())),this._register(this.onBeforeInput(()=>Hu.onBeforeInput())),this._register(this.onInput(()=>Hu.onInput())),this._register(this.onKeyUp(()=>Hu.onKeyUp())),this._register(K(this._actual,oD.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const e=Sf(this._actual);return e?e.activeElement===this._actual:this._actual.isConnected?Xn()===this._actual:!1}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(e,t){const i=this._actual;i.value!==t&&(this.setIgnoreSelectionChangeTime(\"setValue\"),i.value=t)}getSelectionStart(){return this._actual.selectionDirection===\"backward\"?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return this._actual.selectionDirection===\"backward\"?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(e,t,i){const n=this._actual;let o=null;const r=Sf(n);r?o=r.activeElement:o=Xn();const a=Te(o),l=o===n,d=n.selectionStart,c=n.selectionEnd;if(l&&d===t&&c===i){Fr&&a.parent!==a&&n.focus();return}if(l){this.setIgnoreSelectionChangeTime(\"setSelectionRange\"),n.setSelectionRange(t,i),Fr&&a.parent!==a&&n.focus();return}try{const u=Kae(n);this.setIgnoreSelectionChangeTime(\"setSelectionRange\"),n.focus(),n.setSelectionRange(t,i),qae(n,u)}catch{}}}class Oge extends HF{constructor(e,t,i){super(e,t,i),this._register(Gt.addTarget(this.viewHelper.linesContentDomNode)),this._register(K(this.viewHelper.linesContentDomNode,Xt.Tap,o=>this.onTap(o))),this._register(K(this.viewHelper.linesContentDomNode,Xt.Change,o=>this.onChange(o))),this._register(K(this.viewHelper.linesContentDomNode,Xt.Contextmenu,o=>this._onContextMenu(new Nh(o,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType=\"mouse\",this._register(K(this.viewHelper.linesContentDomNode,\"pointerdown\",o=>{const r=o.pointerType;if(r===\"mouse\"){this._lastPointerType=\"mouse\";return}else r===\"touch\"?this._lastPointerType=\"touch\":this._lastPointerType=\"pen\"}));const n=new ige(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,o=>this._onMouseMove(o))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,o=>this._onMouseUp(o))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,o=>this._onMouseLeave(o))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(o,r)=>this._onMouseDown(o,r)))}onTap(e){!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget)||(e.preventDefault(),this.viewHelper.focusTextArea(),this._dispatchGesture(e,!1))}onChange(e){this._lastPointerType===\"touch\"&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY),this._lastPointerType===\"pen\"&&this._dispatchGesture(e,!0)}_dispatchGesture(e,t){const i=this._createMouseTarget(new Nh(e,!1,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:e.tapCount,inSelectionMode:t,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:i.type===6&&i.detail.injectedText!==null})}_onMouseDown(e,t){e.browserEvent.pointerType!==\"touch\"&&super._onMouseDown(e,t)}}class Bge extends HF{constructor(e,t,i){super(e,t,i),this._register(Gt.addTarget(this.viewHelper.linesContentDomNode)),this._register(K(this.viewHelper.linesContentDomNode,Xt.Tap,n=>this.onTap(n))),this._register(K(this.viewHelper.linesContentDomNode,Xt.Change,n=>this.onChange(n))),this._register(K(this.viewHelper.linesContentDomNode,Xt.Contextmenu,n=>this._onContextMenu(new Nh(n,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new Nh(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){const i=document.createEvent(\"CustomEvent\");i.initEvent(oD.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(i),this.viewController.moveTo(t.position,1)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class Wge extends H{constructor(e,t,i){super(),(_d||jse&&RV)&&nF.pointerEvents?this.handler=this._register(new Oge(e,t,i)):Ht.TouchEvent?this.handler=this._register(new Bge(e,t,i)):this.handler=this._register(new HF(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}class lp extends b1{}const _n=ut(\"themeService\");function Ei(s){return{id:s}}function MA(s){switch(s){case Nr.DARK:return\"vs-dark\";case Nr.HIGH_CONTRAST_DARK:return\"hc-black\";case Nr.HIGH_CONTRAST_LIGHT:return\"hc-light\";default:return\"vs\"}}const zU={ThemingContribution:\"base.contributions.theming\"};class Hge{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new B}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Ie(()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}}const UU=new Hge;Ji.add(zU.ThemingContribution,UU);function zr(s){return UU.onColorThemeChange(s)}class Vge extends H{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(t=>this.onThemeChange(t)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}const $U=N(\"editor.lineHighlightBackground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"lineHighlight\",\"Background color for the highlight of line at the cursor position.\")),WB=N(\"editor.lineHighlightBorder\",{dark:\"#282828\",light:\"#eeeeee\",hcDark:\"#f38518\",hcLight:gt},p(\"lineHighlightBorderBox\",\"Background color for the border around the line at the cursor position.\"));N(\"editor.rangeHighlightBackground\",{dark:\"#ffffff0b\",light:\"#fdff0033\",hcDark:null,hcLight:null},p(\"rangeHighlight\",\"Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.rangeHighlightBorder\",{dark:null,light:null,hcDark:di,hcLight:di},p(\"rangeHighlightBorder\",\"Background color of the border around highlighted ranges.\"));N(\"editor.symbolHighlightBackground\",{dark:pc,light:pc,hcDark:null,hcLight:null},p(\"symbolHighlight\",\"Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.symbolHighlightBorder\",{dark:null,light:null,hcDark:di,hcLight:di},p(\"symbolHighlightBorder\",\"Background color of the border around highlighted symbols.\"));const id=N(\"editorCursor.foreground\",{dark:\"#AEAFAD\",light:$.black,hcDark:$.white,hcLight:\"#0F4A85\"},p(\"caret\",\"Color of the editor cursor.\")),wc=N(\"editorCursor.background\",null,p(\"editorCursorBackground\",\"The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.\")),jU=N(\"editorMultiCursor.primary.foreground\",{dark:id,light:id,hcDark:id,hcLight:id},p(\"editorMultiCursorPrimaryForeground\",\"Color of the primary editor cursor when multiple cursors are present.\")),zge=N(\"editorMultiCursor.primary.background\",{dark:wc,light:wc,hcDark:wc,hcLight:wc},p(\"editorMultiCursorPrimaryBackground\",\"The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.\")),KU=N(\"editorMultiCursor.secondary.foreground\",{dark:id,light:id,hcDark:id,hcLight:id},p(\"editorMultiCursorSecondaryForeground\",\"Color of secondary editor cursors when multiple cursors are present.\")),Uge=N(\"editorMultiCursor.secondary.background\",{dark:wc,light:wc,hcDark:wc,hcLight:wc},p(\"editorMultiCursorSecondaryBackground\",\"The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.\")),yc=N(\"editorWhitespace.foreground\",{dark:\"#e3e4e229\",light:\"#33333333\",hcDark:\"#e3e4e229\",hcLight:\"#CCCCCC\"},p(\"editorWhitespaces\",\"Color of whitespace characters in the editor.\")),$ge=N(\"editorLineNumber.foreground\",{dark:\"#858585\",light:\"#237893\",hcDark:$.white,hcLight:\"#292929\"},p(\"editorLineNumbers\",\"Color of editor line numbers.\")),Sw=N(\"editorIndentGuide.background\",{dark:yc,light:yc,hcDark:yc,hcLight:yc},p(\"editorIndentGuides\",\"Color of the editor indentation guides.\"),!1,p(\"deprecatedEditorIndentGuides\",\"'editorIndentGuide.background' is deprecated. Use 'editorIndentGuide.background1' instead.\")),Dw=N(\"editorIndentGuide.activeBackground\",{dark:yc,light:yc,hcDark:yc,hcLight:yc},p(\"editorActiveIndentGuide\",\"Color of the active editor indentation guides.\"),!1,p(\"deprecatedEditorActiveIndentGuide\",\"'editorIndentGuide.activeBackground' is deprecated. Use 'editorIndentGuide.activeBackground1' instead.\")),w1=N(\"editorIndentGuide.background1\",{dark:Sw,light:Sw,hcDark:Sw,hcLight:Sw},p(\"editorIndentGuides1\",\"Color of the editor indentation guides (1).\")),jge=N(\"editorIndentGuide.background2\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorIndentGuides2\",\"Color of the editor indentation guides (2).\")),Kge=N(\"editorIndentGuide.background3\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorIndentGuides3\",\"Color of the editor indentation guides (3).\")),qge=N(\"editorIndentGuide.background4\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorIndentGuides4\",\"Color of the editor indentation guides (4).\")),Gge=N(\"editorIndentGuide.background5\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorIndentGuides5\",\"Color of the editor indentation guides (5).\")),Zge=N(\"editorIndentGuide.background6\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorIndentGuides6\",\"Color of the editor indentation guides (6).\")),y1=N(\"editorIndentGuide.activeBackground1\",{dark:Dw,light:Dw,hcDark:Dw,hcLight:Dw},p(\"editorActiveIndentGuide1\",\"Color of the active editor indentation guides (1).\")),Xge=N(\"editorIndentGuide.activeBackground2\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorActiveIndentGuide2\",\"Color of the active editor indentation guides (2).\")),Yge=N(\"editorIndentGuide.activeBackground3\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorActiveIndentGuide3\",\"Color of the active editor indentation guides (3).\")),Qge=N(\"editorIndentGuide.activeBackground4\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorActiveIndentGuide4\",\"Color of the active editor indentation guides (4).\")),Jge=N(\"editorIndentGuide.activeBackground5\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorActiveIndentGuide5\",\"Color of the active editor indentation guides (5).\")),efe=N(\"editorIndentGuide.activeBackground6\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorActiveIndentGuide6\",\"Color of the active editor indentation guides (6).\")),Lw=N(\"editorActiveLineNumber.foreground\",{dark:\"#c6c6c6\",light:\"#0B216F\",hcDark:di,hcLight:di},p(\"editorActiveLineNumber\",\"Color of editor active line number\"),!1,p(\"deprecatedEditorActiveLineNumber\",\"Id is deprecated. Use 'editorLineNumber.activeForeground' instead.\"));N(\"editorLineNumber.activeForeground\",{dark:Lw,light:Lw,hcDark:Lw,hcLight:Lw},p(\"editorActiveLineNumber\",\"Color of editor active line number\"));const tfe=N(\"editorLineNumber.dimmedForeground\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"editorDimmedLineNumber\",\"Color of the final editor line when editor.renderFinalNewline is set to dimmed.\"));N(\"editorRuler.foreground\",{dark:\"#5A5A5A\",light:$.lightgrey,hcDark:$.white,hcLight:\"#292929\"},p(\"editorRuler\",\"Color of the editor rulers.\"));N(\"editorCodeLens.foreground\",{dark:\"#999999\",light:\"#919191\",hcDark:\"#999999\",hcLight:\"#292929\"},p(\"editorCodeLensForeground\",\"Foreground color of editor CodeLens\"));N(\"editorBracketMatch.background\",{dark:\"#0064001a\",light:\"#0064001a\",hcDark:\"#0064001a\",hcLight:\"#0000\"},p(\"editorBracketMatchBackground\",\"Background color behind matching brackets\"));N(\"editorBracketMatch.border\",{dark:\"#888\",light:\"#B9B9B9\",hcDark:gt,hcLight:gt},p(\"editorBracketMatchBorder\",\"Color for matching brackets boxes\"));const ife=N(\"editorOverviewRuler.border\",{dark:\"#7f7f7f4d\",light:\"#7f7f7f4d\",hcDark:\"#7f7f7f4d\",hcLight:\"#666666\"},p(\"editorOverviewRulerBorder\",\"Color of the overview ruler border.\")),nfe=N(\"editorOverviewRuler.background\",null,p(\"editorOverviewRulerBackground\",\"Background color of the editor overview ruler.\"));N(\"editorGutter.background\",{dark:Sn,light:Sn,hcDark:Sn,hcLight:Sn},p(\"editorGutter\",\"Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.\"));N(\"editorUnnecessaryCode.border\",{dark:null,light:null,hcDark:$.fromHex(\"#fff\").transparent(.8),hcLight:gt},p(\"unnecessaryCodeBorder\",\"Border color of unnecessary (unused) source code in the editor.\"));const sfe=N(\"editorUnnecessaryCode.opacity\",{dark:$.fromHex(\"#000a\"),light:$.fromHex(\"#0007\"),hcDark:null,hcLight:null},p(\"unnecessaryCodeOpacity\",`Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the  'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`));N(\"editorGhostText.border\",{dark:null,light:null,hcDark:$.fromHex(\"#fff\").transparent(.8),hcLight:$.fromHex(\"#292929\").transparent(.8)},p(\"editorGhostTextBorder\",\"Border color of ghost text in the editor.\"));N(\"editorGhostText.foreground\",{dark:$.fromHex(\"#ffffff56\"),light:$.fromHex(\"#0007\"),hcDark:null,hcLight:null},p(\"editorGhostTextForeground\",\"Foreground color of the ghost text in the editor.\"));N(\"editorGhostText.background\",{dark:null,light:null,hcDark:null,hcLight:null},p(\"editorGhostTextBackground\",\"Background color of the ghost text in the editor.\"));const xw=new $(new bt(0,122,204,.6)),ofe=N(\"editorOverviewRuler.rangeHighlightForeground\",{dark:xw,light:xw,hcDark:xw,hcLight:xw},p(\"overviewRulerRangeHighlight\",\"Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),rfe=N(\"editorOverviewRuler.errorForeground\",{dark:new $(new bt(255,18,18,.7)),light:new $(new bt(255,18,18,.7)),hcDark:new $(new bt(255,50,50,1)),hcLight:\"#B5200D\"},p(\"overviewRuleError\",\"Overview ruler marker color for errors.\")),afe=N(\"editorOverviewRuler.warningForeground\",{dark:vs,light:vs,hcDark:Zb,hcLight:Zb},p(\"overviewRuleWarning\",\"Overview ruler marker color for warnings.\")),lfe=N(\"editorOverviewRuler.infoForeground\",{dark:ro,light:ro,hcDark:Xb,hcLight:Xb},p(\"overviewRuleInfo\",\"Overview ruler marker color for infos.\")),qU=N(\"editorBracketHighlight.foreground1\",{dark:\"#FFD700\",light:\"#0431FAFF\",hcDark:\"#FFD700\",hcLight:\"#0431FAFF\"},p(\"editorBracketHighlightForeground1\",\"Foreground color of brackets (1). Requires enabling bracket pair colorization.\")),GU=N(\"editorBracketHighlight.foreground2\",{dark:\"#DA70D6\",light:\"#319331FF\",hcDark:\"#DA70D6\",hcLight:\"#319331FF\"},p(\"editorBracketHighlightForeground2\",\"Foreground color of brackets (2). Requires enabling bracket pair colorization.\")),ZU=N(\"editorBracketHighlight.foreground3\",{dark:\"#179FFF\",light:\"#7B3814FF\",hcDark:\"#87CEFA\",hcLight:\"#7B3814FF\"},p(\"editorBracketHighlightForeground3\",\"Foreground color of brackets (3). Requires enabling bracket pair colorization.\")),XU=N(\"editorBracketHighlight.foreground4\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketHighlightForeground4\",\"Foreground color of brackets (4). Requires enabling bracket pair colorization.\")),YU=N(\"editorBracketHighlight.foreground5\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketHighlightForeground5\",\"Foreground color of brackets (5). Requires enabling bracket pair colorization.\")),QU=N(\"editorBracketHighlight.foreground6\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketHighlightForeground6\",\"Foreground color of brackets (6). Requires enabling bracket pair colorization.\")),dfe=N(\"editorBracketHighlight.unexpectedBracket.foreground\",{dark:new $(new bt(255,18,18,.8)),light:new $(new bt(255,18,18,.8)),hcDark:new $(new bt(255,50,50,1)),hcLight:\"\"},p(\"editorBracketHighlightUnexpectedBracketForeground\",\"Foreground color of unexpected brackets.\")),cfe=N(\"editorBracketPairGuide.background1\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.background1\",\"Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.\")),ufe=N(\"editorBracketPairGuide.background2\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.background2\",\"Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.\")),hfe=N(\"editorBracketPairGuide.background3\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.background3\",\"Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.\")),gfe=N(\"editorBracketPairGuide.background4\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.background4\",\"Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.\")),ffe=N(\"editorBracketPairGuide.background5\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.background5\",\"Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.\")),pfe=N(\"editorBracketPairGuide.background6\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.background6\",\"Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.\")),mfe=N(\"editorBracketPairGuide.activeBackground1\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.activeBackground1\",\"Background color of active bracket pair guides (1). Requires enabling bracket pair guides.\")),_fe=N(\"editorBracketPairGuide.activeBackground2\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.activeBackground2\",\"Background color of active bracket pair guides (2). Requires enabling bracket pair guides.\")),vfe=N(\"editorBracketPairGuide.activeBackground3\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.activeBackground3\",\"Background color of active bracket pair guides (3). Requires enabling bracket pair guides.\")),bfe=N(\"editorBracketPairGuide.activeBackground4\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.activeBackground4\",\"Background color of active bracket pair guides (4). Requires enabling bracket pair guides.\")),Cfe=N(\"editorBracketPairGuide.activeBackground5\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.activeBackground5\",\"Background color of active bracket pair guides (5). Requires enabling bracket pair guides.\")),wfe=N(\"editorBracketPairGuide.activeBackground6\",{dark:\"#00000000\",light:\"#00000000\",hcDark:\"#00000000\",hcLight:\"#00000000\"},p(\"editorBracketPairGuide.activeBackground6\",\"Background color of active bracket pair guides (6). Requires enabling bracket pair guides.\"));N(\"editorUnicodeHighlight.border\",{dark:vs,light:vs,hcDark:vs,hcLight:vs},p(\"editorUnicodeHighlight.border\",\"Border color used to highlight unicode characters.\"));N(\"editorUnicodeHighlight.background\",{dark:bw,light:bw,hcDark:bw,hcLight:bw},p(\"editorUnicodeHighlight.background\",\"Background color used to highlight unicode characters.\"));zr((s,e)=>{const t=s.getColor(Sn),i=s.getColor($U),n=i&&!i.isTransparent()?i:t;n&&e.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${n}; }`)});class S1 extends lp{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new W(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(67);const t=e.get(68);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(95);const i=e.get(145);this._lineNumbersLeft=i.lineNumbersLeft,this._lineNumbersWidth=i.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){const t=e.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(t);let i=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,i=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(i=!0),i}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onDecorationsChanged(e){return e.affectsLineNumber}_getLineRenderLineNumber(e){const t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new W(e,1));if(t.column!==1)return\"\";const i=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(i);if(this._renderLineNumbers===2){const n=Math.abs(this._lastCursorModelPosition.lineNumber-i);return n===0?'<span class=\"relative-current-line-number\">'+i+\"</span>\":String(n)}if(this._renderLineNumbers===3){if(this._lastCursorModelPosition.lineNumber===i||i%10===0)return String(i);const n=this._context.viewModel.getLineCount();return i===n?String(i):\"\"}return String(i)}prepareRender(e){if(this._renderLineNumbers===0){this._renderResult=null;return}const t=$s?this._lineHeight%2===0?\" lh-even\":\" lh-odd\":\"\",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._context.viewModel.getDecorationsInViewport(e.visibleRange).filter(d=>!!d.options.lineNumberClassName);o.sort((d,c)=>x.compareRangesUsingEnds(d.range,c.range));let r=0;const a=this._context.viewModel.getLineCount(),l=[];for(let d=i;d<=n;d++){const c=d-i;let u=this._getLineRenderLineNumber(d),h=\"\";for(;r<o.length&&o[r].range.endLineNumber<d;)r++;for(let g=r;g<o.length;g++){const{range:f,options:m}=o[g];f.startLineNumber<=d&&(h+=\" \"+m.lineNumberClassName)}if(!u&&!h){l[c]=\"\";continue}d===a&&this._context.viewModel.getLineLength(d)===0&&(this._renderFinalNewline===\"off\"&&(u=\"\"),this._renderFinalNewline===\"dimmed\"&&(h+=\" dimmed-line-number\")),d===this._activeLineNumber&&(h+=\" active-line-number\"),l[c]=`<div class=\"${S1.CLASS_NAME}${t}${h}\" style=\"left:${this._lineNumbersLeft}px;width:${this._lineNumbersWidth}px;\">${u}</div>`}this._renderResult=l}render(e,t){if(!this._renderResult)return\"\";const i=t-e;return i<0||i>=this._renderResult.length?\"\":this._renderResult[i]}}S1.CLASS_NAME=\"line-numbers\";zr((s,e)=>{const t=s.getColor($ge),i=s.getColor(tfe);i?e.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${i}; }`):t&&e.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${t.transparent(.4)}; }`)});class xf extends Fo{constructor(e){super(e);const t=this._context.configuration.options,i=t.get(145);this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._domNode=It(document.createElement(\"div\")),this._domNode.setClassName(xf.OUTER_CLASS_NAME),this._domNode.setPosition(\"absolute\"),this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._glyphMarginBackgroundDomNode=It(document.createElement(\"div\")),this._glyphMarginBackgroundDomNode.setClassName(xf.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(145);return this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain(\"strict\");const t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);const i=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(i),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(i)}}xf.CLASS_NAME=\"glyph-margin\";xf.OUTER_CLASS_NAME=\"margin\";const Pm=\"monaco-mouse-cursor-text\";class yfe{constructor(){this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._enabled=!0}get enabled(){return this._enabled}enable(){this._enabled=!0,this._onDidChange.fire()}disable(){this._enabled=!1,this._onDidChange.fire()}}const Kv=new yfe,At=ut(\"keybindingService\");var Sfe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},HB=function(s,e){return function(t,i){e(t,i,s)}};class Dfe{constructor(e,t,i,n,o){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=i,this.widthOfHiddenLineTextBefore=n,this.distanceToModelLineEnd=o,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){const t=new W(this.modelLineNumber,this.distanceToModelLineStart+1),i=new W(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=e.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=e.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(e){return this._previousPresentation||(e?this._previousPresentation=e:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}const uI=Fr;let RA=class extends Fo{constructor(e,t,i,n,o){super(e),this._keybindingService=n,this._instantiationService=o,this._primaryCursorPosition=new W(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=i,this._scrollLeft=0,this._scrollTop=0;const r=this._context.configuration.options,a=r.get(145);this._setAccessibilityOptions(r),this._contentLeft=a.contentLeft,this._contentWidth=a.contentWidth,this._contentHeight=a.height,this._fontInfo=r.get(50),this._lineHeight=r.get(67),this._emptySelectionClipboard=r.get(37),this._copyWithSyntaxHighlighting=r.get(25),this._visibleTextArea=null,this._selections=[new we(1,1,1,1)],this._modelSelections=[new we(1,1,1,1)],this._lastRenderPosition=null,this.textArea=It(document.createElement(\"textarea\")),rl.write(this.textArea,7),this.textArea.setClassName(`inputarea ${Pm}`),this.textArea.setAttribute(\"wrap\",this._textAreaWrapping&&!this._visibleTextArea?\"on\":\"off\");const{tabSize:l}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${l*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute(\"autocorrect\",\"off\"),this.textArea.setAttribute(\"autocapitalize\",\"off\"),this.textArea.setAttribute(\"autocomplete\",\"off\"),this.textArea.setAttribute(\"spellcheck\",\"false\"),this.textArea.setAttribute(\"aria-label\",this._getAriaLabel(r)),this.textArea.setAttribute(\"aria-required\",r.get(5)?\"true\":\"false\"),this.textArea.setAttribute(\"tabindex\",String(r.get(124))),this.textArea.setAttribute(\"role\",\"textbox\"),this.textArea.setAttribute(\"aria-roledescription\",p(\"editor\",\"editor\")),this.textArea.setAttribute(\"aria-multiline\",\"true\"),this.textArea.setAttribute(\"aria-autocomplete\",r.get(91)?\"none\":\"both\"),this._ensureReadOnlyAttribute(),this.textAreaCover=It(document.createElement(\"div\")),this.textAreaCover.setPosition(\"absolute\");const d={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:h=>this._context.viewModel.getLineMaxColumn(h),getValueInRange:(h,g)=>this._context.viewModel.getValueInRange(h,g),getValueLengthInRange:(h,g)=>this._context.viewModel.getValueLengthInRange(h,g),modifyPosition:(h,g)=>this._context.viewModel.modifyPosition(h,g)},c={getDataToCopy:()=>{const h=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,as),g=this._context.viewModel.model.getEOL(),f=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),m=Array.isArray(h)?h:null,_=Array.isArray(h)?h.join(g):h;let v,b=null;if(TA.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&_.length<65536){const C=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);C&&(v=C.html,b=C.mode)}return{isFromEmptySelection:f,multicursorText:m,text:_,html:v,mode:b}},getScreenReaderContent:()=>{if(this._accessibilitySupport===1){const h=this._selections[0];if(lt&&h.isEmpty()){const f=h.getStartPosition();let m=this._getWordBeforePosition(f);if(m.length===0&&(m=this._getCharacterBeforePosition(f)),m.length>0)return new Bn(m,m.length,m.length,x.fromPositions(f),0)}if(lt&&!h.isEmpty()&&d.getValueLengthInRange(h,0)<500){const f=d.getValueInRange(h,0);return new Bn(f,0,f.length,h,0)}if(Lh&&!h.isEmpty()){const f=\"vscode-placeholder\";return new Bn(f,0,f.length,null,void 0)}return Bn.EMPTY}if(l3){const h=this._selections[0];if(h.isEmpty()){const g=h.getStartPosition(),[f,m]=this._getAndroidWordAtPosition(g);if(f.length>0)return new Bn(f,m,m,x.fromPositions(g),0)}return Bn.EMPTY}return um.fromEditorSelection(d,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(h,g,f)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(h,g,f)},u=this._register(new Fge(this.textArea.domNode));this._textAreaInput=this._register(this._instantiationService.createInstance(NA,c,u,Lo,{isAndroid:l3,isChrome:u1,isFirefox:Fr,isSafari:Lh})),this._register(this._textAreaInput.onKeyDown(h=>{this._viewController.emitKeyDown(h)})),this._register(this._textAreaInput.onKeyUp(h=>{this._viewController.emitKeyUp(h)})),this._register(this._textAreaInput.onPaste(h=>{let g=!1,f=null,m=null;h.metadata&&(g=this._emptySelectionClipboard&&!!h.metadata.isFromEmptySelection,f=typeof h.metadata.multicursorText<\"u\"?h.metadata.multicursorText:null,m=h.metadata.mode),this._viewController.paste(h.text,g,f,m)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(h=>{h.replacePrevCharCnt||h.replaceNextCharCnt||h.positionDelta?this._viewController.compositionType(h.text,h.replacePrevCharCnt,h.replaceNextCharCnt,h.positionDelta):this._viewController.type(h.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(h=>{this._viewController.setSelection(h)})),this._register(this._textAreaInput.onCompositionStart(h=>{const g=this.textArea.domNode,f=this._modelSelections[0],{distanceToModelLineStart:m,widthOfHiddenTextBefore:_}=(()=>{const b=g.value.substring(0,Math.min(g.selectionStart,g.selectionEnd)),C=b.lastIndexOf(`\n`),w=b.substring(C+1),y=w.lastIndexOf(\"\t\"),D=w.length-y-1,L=f.getStartPosition(),k=Math.min(L.column-1,D),I=L.column-1-k,O=w.substring(0,w.length-k),{tabSize:R}=this._context.viewModel.model.getOptions(),P=Lfe(this.textArea.domNode.ownerDocument,O,this._fontInfo,R);return{distanceToModelLineStart:I,widthOfHiddenTextBefore:P}})(),{distanceToModelLineEnd:v}=(()=>{const b=g.value.substring(Math.max(g.selectionStart,g.selectionEnd)),C=b.indexOf(`\n`),w=C===-1?b:b.substring(0,C),y=w.indexOf(\"\t\"),D=y===-1?w.length:w.length-y-1,L=f.getEndPosition(),k=Math.min(this._context.viewModel.model.getLineMaxColumn(L.lineNumber)-L.column,D);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(L.lineNumber)-L.column-k}})();this._context.viewModel.revealRange(\"keyboard\",!0,x.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new Dfe(this._context,f.startLineNumber,m,_,v),this.textArea.setAttribute(\"wrap\",this._textAreaWrapping&&!this._visibleTextArea?\"on\":\"off\"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${Pm} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(h=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute(\"wrap\",this._textAreaWrapping&&!this._visibleTextArea?\"on\":\"off\"),this._render(),this.textArea.setClassName(`inputarea ${Pm}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(Kv.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(e){this._textAreaInput.writeNativeTextAreaContent(e)}dispose(){super.dispose()}_getAndroidWordAtPosition(e){const t='`~!@#$%^&*()-=+[{]}\\\\|;:\",.<>/?',i=this._context.viewModel.getLineContent(e.lineNumber),n=Or(t,[]);let o=!0,r=e.column,a=!0,l=e.column,d=0;for(;d<50&&(o||a);){if(o&&r<=1&&(o=!1),o){const c=i.charCodeAt(r-2);n.get(c)!==0?o=!1:r--}if(a&&l>i.length&&(a=!1),a){const c=i.charCodeAt(l-1);n.get(c)!==0?a=!1:l++}d++}return[i.substring(r-1,l-1),e.column-r]}_getWordBeforePosition(e){const t=this._context.viewModel.getLineContent(e.lineNumber),i=Or(this._context.configuration.options.get(131),[]);let n=e.column,o=0;for(;n>1;){const r=t.charCodeAt(n-2);if(i.get(r)!==0||o>50)return t.substring(n-1,e.column-1);o++,n--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){const i=this._context.viewModel.getLineContent(e.lineNumber).charAt(e.column-2);if(!Cn(i.charCodeAt(0)))return i}return\"\"}_getAriaLabel(e){var t,i,n;if(e.get(2)===1){const r=(t=this._keybindingService.lookupKeybinding(\"editor.action.toggleScreenReaderAccessibilityMode\"))===null||t===void 0?void 0:t.getAriaLabel(),a=(i=this._keybindingService.lookupKeybinding(\"workbench.action.showCommands\"))===null||i===void 0?void 0:i.getAriaLabel(),l=(n=this._keybindingService.lookupKeybinding(\"workbench.action.openGlobalKeybindings\"))===null||n===void 0?void 0:n.getAriaLabel(),d=p(\"accessibilityModeOff\",\"The editor is not accessible at this time.\");return r?p(\"accessibilityOffAriaLabel\",\"{0} To enable screen reader optimized mode, use {1}\",d,r):a?p(\"accessibilityOffAriaLabelNoKb\",\"{0} To enable screen reader optimized mode, open the quick pick with {1} and run the command Toggle Screen Reader Accessibility Mode, which is currently not triggerable via keyboard.\",d,a):l?p(\"accessibilityOffAriaLabelNoKbs\",\"{0} Please assign a keybinding for the command Toggle Screen Reader Accessibility Mode by accessing the keybindings editor with {1} and run it.\",d,l):d}return e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);const t=e.get(3);this._accessibilitySupport===2&&t===hl.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t;const n=e.get(145).wrappingColumn;if(n!==-1&&this._accessibilitySupport!==1){const o=e.get(50);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(n*o.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=uI?0:1}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(145);this._setAccessibilityOptions(t),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._contentHeight=i.height,this._fontInfo=t.get(50),this._lineHeight=t.get(67),this._emptySelectionClipboard=t.get(37),this._copyWithSyntaxHighlighting=t.get(25),this.textArea.setAttribute(\"wrap\",this._textAreaWrapping&&!this._visibleTextArea?\"on\":\"off\");const{tabSize:n}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${n*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute(\"aria-label\",this._getAriaLabel(t)),this.textArea.setAttribute(\"aria-required\",t.get(5)?\"true\":\"false\"),this.textArea.setAttribute(\"tabindex\",String(t.get(124))),(e.hasChanged(34)||e.hasChanged(91))&&this._ensureReadOnlyAttribute(),e.hasChanged(2)&&this._textAreaInput.writeNativeTextAreaContent(\"strategy changed\"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeNativeTextAreaContent(\"selection changed\"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute(\"aria-haspopup\",\"true\"),this.textArea.setAttribute(\"aria-autocomplete\",\"list\"),this.textArea.setAttribute(\"aria-activedescendant\",e.activeDescendant)):(this.textArea.setAttribute(\"aria-haspopup\",\"false\"),this.textArea.setAttribute(\"aria-autocomplete\",\"both\"),this.textArea.removeAttribute(\"aria-activedescendant\")),e.role&&this.textArea.setAttribute(\"role\",e.role)}_ensureReadOnlyAttribute(){const e=this._context.configuration.options;!Kv.enabled||e.get(34)&&e.get(91)?this.textArea.setAttribute(\"readonly\",\"true\"):this.textArea.removeAttribute(\"readonly\")}prepareRender(e){var t;this._primaryCursorPosition=new W(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),(t=this._visibleTextArea)===null||t===void 0||t.prepareRender(e)}render(e){this._textAreaInput.writeNativeTextAreaContent(\"render\"),this._render()}_render(){var e;if(this._visibleTextArea){const n=this._visibleTextArea.visibleTextareaStart,o=this._visibleTextArea.visibleTextareaEnd,r=this._visibleTextArea.startPosition,a=this._visibleTextArea.endPosition;if(r&&a&&n&&o&&o.left>=this._scrollLeft&&n.left<=this._scrollLeft+this._contentWidth){const l=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,d=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let c=this._visibleTextArea.widthOfHiddenLineTextBefore,u=this._contentLeft+n.left-this._scrollLeft,h=o.left-n.left+1;if(u<this._contentLeft){const b=this._contentLeft-u;u+=b,c+=b,h-=b}h>this._contentWidth&&(h=this._contentWidth);const g=this._context.viewModel.getViewLineData(r.lineNumber),f=g.tokens.findTokenIndexAtOffset(r.column-1),m=g.tokens.findTokenIndexAtOffset(a.column-1),_=f===m,v=this._visibleTextArea.definePresentation(_?g.tokens.getPresentation(f):null);this.textArea.domNode.scrollTop=d*this._lineHeight,this.textArea.domNode.scrollLeft=c,this._doRender({lastRenderPosition:null,top:l,left:u,width:h,height:this._lineHeight,useCover:!1,color:(Ki.getColorMap()||[])[v.foreground],italic:v.italic,bold:v.bold,underline:v.underline,strikethrough:v.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}const t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(t<this._contentLeft||t>this._contentLeft+this._contentWidth){this._renderAtTopLeft();return}const i=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(i<0||i>this._contentHeight){this._renderAtTopLeft();return}if(lt||this._accessibilitySupport===2){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const n=(e=this._textAreaInput.textAreaState.newlineCountBeforeSelection)!==null&&e!==void 0?e:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=n*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:uI?0:1,useCover:!1})}_newlinecount(e){let t=0,i=-1;do{if(i=e.indexOf(`\n`,i+1),i===-1)break;t++}while(!0);return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:uI?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;const t=this.textArea,i=this.textAreaCover;Un(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?$.Format.CSS.formatHex(e.color):\"\"),t.setFontStyle(e.italic?\"italic\":\"\"),e.bold&&t.setFontWeight(\"bold\"),t.setTextDecoration(`${e.underline?\" underline\":\"\"}${e.strikethrough?\" line-through\":\"\"}`),i.setTop(e.useCover?e.top:0),i.setLeft(e.useCover?e.left:0),i.setWidth(e.useCover?e.width:0),i.setHeight(e.useCover?e.height:0);const n=this._context.configuration.options;n.get(57)?i.setClassName(\"monaco-editor-background textAreaCover \"+xf.OUTER_CLASS_NAME):n.get(68).renderType!==0?i.setClassName(\"monaco-editor-background textAreaCover \"+S1.CLASS_NAME):i.setClassName(\"monaco-editor-background textAreaCover\")}};RA=Sfe([HB(3,At),HB(4,Ne)],RA);function Lfe(s,e,t,i){if(e.length===0)return 0;const n=s.createElement(\"div\");n.style.position=\"absolute\",n.style.top=\"-50000px\",n.style.width=\"50000px\";const o=s.createElement(\"span\");Un(o,t),o.style.whiteSpace=\"pre\",o.style.tabSize=`${i*t.spaceWidth}px`,o.append(e),n.appendChild(o),s.body.appendChild(n);const r=o.offsetWidth;return s.body.removeChild(n),r}function xfe(s,e,t){let i=0;for(let o=0;o<s.length;o++)s.charAt(o)===\"\t\"?i=hn.nextIndentTabStop(i,e):i++;let n=\"\";if(!t){const o=Math.floor(i/e);i=i%e;for(let r=0;r<o;r++)n+=\"\t\"}for(let o=0;o<i;o++)n+=\" \";return n}function VF(s,e,t){let i=Cs(s);return i===-1&&(i=s.length),xfe(s.substring(0,i),e,t)+s.substring(i)}const kfe=()=>!0,Efe=()=>!1,Ife=s=>s===\" \"||s===\"\t\";class Ep{static shouldRecreate(e){return e.hasChanged(145)||e.hasChanged(131)||e.hasChanged(37)||e.hasChanged(77)||e.hasChanged(79)||e.hasChanged(80)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(9)||e.hasChanged(10)||e.hasChanged(14)||e.hasChanged(128)||e.hasChanged(50)||e.hasChanged(91)||e.hasChanged(130)}constructor(e,t,i,n){var o;this.languageConfigurationService=n,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;const r=i.options,a=r.get(145),l=r.get(50);this.readOnly=r.get(91),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=r.get(116),this.lineHeight=l.lineHeight,this.typicalHalfwidthCharacterWidth=l.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(a.height/this.lineHeight)-2),this.useTabStops=r.get(128),this.wordSeparators=r.get(131),this.emptySelectionClipboard=r.get(37),this.copyWithSyntaxHighlighting=r.get(25),this.multiCursorMergeOverlapping=r.get(77),this.multiCursorPaste=r.get(79),this.multiCursorLimit=r.get(80),this.autoClosingBrackets=r.get(6),this.autoClosingComments=r.get(7),this.autoClosingQuotes=r.get(11),this.autoClosingDelete=r.get(9),this.autoClosingOvertype=r.get(10),this.autoSurround=r.get(14),this.autoIndent=r.get(12),this.wordSegmenterLocales=r.get(130),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes,!0),comment:this._getShouldAutoClose(e,this.autoClosingComments,!1),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();const d=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(d)for(const u of d)this.surroundingPairs[u.open]=u.close;const c=this.languageConfigurationService.getLanguageConfiguration(e).comments;this.blockCommentStartToken=(o=c==null?void 0:c.blockCommentStartToken)!==null&&o!==void 0?o:null}get electricChars(){var e;if(!this._electricChars){this._electricChars={};const t=(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||e===void 0?void 0:e.getElectricCharacters();if(t)for(const i of t)this._electricChars[i]=!0}return this._electricChars}onElectricCharacter(e,t,i){const n=fx(t,i-1),o=this.languageConfigurationService.getLanguageConfiguration(n.languageId).electricCharacter;return o?o.onElectricCharacter(e,n,i-n.firstCharOffset):null}normalizeIndentation(e){return VF(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t,i){switch(t){case\"beforeWhitespace\":return Ife;case\"languageDefined\":return this._getLanguageDefinedShouldAutoClose(e,i);case\"always\":return kfe;case\"never\":return Efe}}_getLanguageDefinedShouldAutoClose(e,t){const i=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet(t);return n=>i.indexOf(n)!==-1}visibleColumnFromColumn(e,t){return hn.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,i){const n=hn.columnFromVisibleColumn(e.getLineContent(t),i,this.tabSize),o=e.getLineMinColumn(t);if(n<o)return o;const r=e.getLineMaxColumn(t);return n>r?r:n}}let wt=class JU{static fromModelState(e){return new Tfe(e)}static fromViewState(e){return new Nfe(e)}static fromModelSelection(e){const t=we.liftSelection(e),i=new Wn(x.fromPositions(t.getSelectionStart()),0,0,t.getPosition(),0);return JU.fromModelState(i)}static fromModelSelections(e){const t=[];for(let i=0,n=e.length;i<n;i++)t[i]=this.fromModelSelection(e[i]);return t}constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}};class Tfe{constructor(e){this.modelState=e,this.viewState=null}}class Nfe{constructor(e){this.modelState=null,this.viewState=e}}class Wn{constructor(e,t,i,n,o){this.selectionStart=e,this.selectionStartKind=t,this.selectionStartLeftoverVisibleColumns=i,this.position=n,this.leftoverVisibleColumns=o,this._singleCursorStateBrand=void 0,this.selection=Wn._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.selectionStartKind===e.selectionStartKind&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,i,n){return e?new Wn(this.selectionStart,this.selectionStartKind,this.selectionStartLeftoverVisibleColumns,new W(t,i),n):new Wn(new x(t,i,t,i),0,n,new W(t,i),n)}static _computeSelection(e,t){return e.isEmpty()||!t.isBeforeOrEqual(e.getStartPosition())?we.fromPositions(e.getStartPosition(),t):we.fromPositions(e.getEndPosition(),t)}}class Js{constructor(e,t,i){this._editOperationResultBrand=void 0,this.type=e,this.commands=t,this.shouldPushStackElementBefore=i.shouldPushStackElementBefore,this.shouldPushStackElementAfter=i.shouldPushStackElementAfter}}function yu(s){return s===\"'\"||s==='\"'||s===\"`\"}class Hg{static columnSelect(e,t,i,n,o,r){const a=Math.abs(o-i)+1,l=i>o,d=n>r,c=n<r,u=[];for(let h=0;h<a;h++){const g=i+(l?-h:h),f=e.columnFromVisibleColumn(t,g,n),m=e.columnFromVisibleColumn(t,g,r),_=e.visibleColumnFromColumn(t,new W(g,f)),v=e.visibleColumnFromColumn(t,new W(g,m));c&&(_>r||v<n)||d&&(v>n||_<r)||u.push(new Wn(new x(g,f,g,f),0,0,new W(g,m),0))}if(u.length===0)for(let h=0;h<a;h++){const g=i+(l?-h:h),f=t.getLineMaxColumn(g);u.push(new Wn(new x(g,f,g,f),0,0,new W(g,f),0))}return{viewStates:u,reversed:l,fromLineNumber:i,fromVisualColumn:n,toLineNumber:o,toVisualColumn:r}}static columnSelectLeft(e,t,i){let n=i.toViewVisualColumn;return n>0&&n--,Hg.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,n)}static columnSelectRight(e,t,i){let n=0;const o=Math.min(i.fromViewLineNumber,i.toViewLineNumber),r=Math.max(i.fromViewLineNumber,i.toViewLineNumber);for(let l=o;l<=r;l++){const d=t.getLineMaxColumn(l),c=e.visibleColumnFromColumn(t,new W(l,d));n=Math.max(n,c)}let a=i.toViewVisualColumn;return a<n&&a++,this.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,a)}static columnSelectUp(e,t,i,n){const o=n?e.pageSize:1,r=Math.max(1,i.toViewLineNumber-o);return this.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,r,i.toViewVisualColumn)}static columnSelectDown(e,t,i,n){const o=n?e.pageSize:1,r=Math.min(t.getLineCount(),i.toViewLineNumber+o);return this.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,r,i.toViewVisualColumn)}}class qn{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return we.fromPositions(n.getEndPosition())}}class Afe{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return we.fromRange(n,0)}}class kw{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return we.fromPositions(n.getStartPosition())}}class qy{constructor(e,t,i,n,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=i,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return we.fromPositions(n.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class zF{constructor(e,t,i,n=!1){this._range=e,this._text=t,this._initialSelection=i,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class hI{constructor(e,t,i){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=i}}class Tt{static leftPosition(e,t){if(t.column>e.getLineMinColumn(t.lineNumber))return t.delta(void 0,-rz(e.getLineContent(t.lineNumber),t.column-1));if(t.lineNumber>1){const i=t.lineNumber-1;return new W(i,e.getLineMaxColumn(i))}else return t}static leftPositionAtomicSoftTabs(e,t,i){if(t.column<=e.getLineIndentColumn(t.lineNumber)){const n=e.getLineMinColumn(t.lineNumber),o=e.getLineContent(t.lineNumber),r=Yb.atomicPosition(o,t.column-1,i,0);if(r!==-1&&r+1>=n)return new W(t.lineNumber,r+1)}return this.leftPosition(e,t)}static left(e,t,i){const n=e.stickyTabStops?Tt.leftPositionAtomicSoftTabs(t,i,e.tabSize):Tt.leftPosition(t,i);return new hI(n.lineNumber,n.column,0)}static moveLeft(e,t,i,n,o){let r,a;if(i.hasSelection()&&!n)r=i.selection.startLineNumber,a=i.selection.startColumn;else{const l=i.position.delta(void 0,-(o-1)),d=t.normalizePosition(Tt.clipPositionColumn(l,t),0),c=Tt.left(e,t,d);r=c.lineNumber,a=c.column}return i.move(n,r,a,0)}static clipPositionColumn(e,t){return new W(e.lineNumber,Tt.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,i){return e<t?t:e>i?i:e}static rightPosition(e,t,i){return i<e.getLineMaxColumn(t)?i=i+eF(e.getLineContent(t),i-1):t<e.getLineCount()&&(t=t+1,i=e.getLineMinColumn(t)),new W(t,i)}static rightPositionAtomicSoftTabs(e,t,i,n,o){if(i<e.getLineIndentColumn(t)){const r=e.getLineContent(t),a=Yb.atomicPosition(r,i-1,n,1);if(a!==-1)return new W(t,a+1)}return this.rightPosition(e,t,i)}static right(e,t,i){const n=e.stickyTabStops?Tt.rightPositionAtomicSoftTabs(t,i.lineNumber,i.column,e.tabSize,e.indentSize):Tt.rightPosition(t,i.lineNumber,i.column);return new hI(n.lineNumber,n.column,0)}static moveRight(e,t,i,n,o){let r,a;if(i.hasSelection()&&!n)r=i.selection.endLineNumber,a=i.selection.endColumn;else{const l=i.position.delta(void 0,o-1),d=t.normalizePosition(Tt.clipPositionColumn(l,t),1),c=Tt.right(e,t,d);r=c.lineNumber,a=c.column}return i.move(n,r,a,0)}static vertical(e,t,i,n,o,r,a,l){const d=hn.visibleColumnFromColumn(t.getLineContent(i),n,e.tabSize)+o,c=t.getLineCount(),u=i===1&&n===1,h=i===c&&n===t.getLineMaxColumn(i),g=r<i?u:h;if(i=r,i<1?(i=1,a?n=t.getLineMinColumn(i):n=Math.min(t.getLineMaxColumn(i),n)):i>c?(i=c,a?n=t.getLineMaxColumn(i):n=Math.min(t.getLineMaxColumn(i),n)):n=e.columnFromVisibleColumn(t,i,d),g?o=0:o=d-hn.visibleColumnFromColumn(t.getLineContent(i),n,e.tabSize),l!==void 0){const f=new W(i,n),m=t.normalizePosition(f,l);o=o+(n-m.column),i=m.lineNumber,n=m.column}return new hI(i,n,o)}static down(e,t,i,n,o,r,a){return this.vertical(e,t,i,n,o,i+r,a,4)}static moveDown(e,t,i,n,o){let r,a;i.hasSelection()&&!n?(r=i.selection.endLineNumber,a=i.selection.endColumn):(r=i.position.lineNumber,a=i.position.column);let l=0,d;do if(d=Tt.down(e,t,r+l,a,i.leftoverVisibleColumns,o,!0),t.normalizePosition(new W(d.lineNumber,d.column),2).lineNumber>r)break;while(l++<10&&r+l<t.getLineCount());return i.move(n,d.lineNumber,d.column,d.leftoverVisibleColumns)}static translateDown(e,t,i){const n=i.selection,o=Tt.down(e,t,n.selectionStartLineNumber,n.selectionStartColumn,i.selectionStartLeftoverVisibleColumns,1,!1),r=Tt.down(e,t,n.positionLineNumber,n.positionColumn,i.leftoverVisibleColumns,1,!1);return new Wn(new x(o.lineNumber,o.column,o.lineNumber,o.column),0,o.leftoverVisibleColumns,new W(r.lineNumber,r.column),r.leftoverVisibleColumns)}static up(e,t,i,n,o,r,a){return this.vertical(e,t,i,n,o,i-r,a,3)}static moveUp(e,t,i,n,o){let r,a;i.hasSelection()&&!n?(r=i.selection.startLineNumber,a=i.selection.startColumn):(r=i.position.lineNumber,a=i.position.column);const l=Tt.up(e,t,r,a,i.leftoverVisibleColumns,o,!0);return i.move(n,l.lineNumber,l.column,l.leftoverVisibleColumns)}static translateUp(e,t,i){const n=i.selection,o=Tt.up(e,t,n.selectionStartLineNumber,n.selectionStartColumn,i.selectionStartLeftoverVisibleColumns,1,!1),r=Tt.up(e,t,n.positionLineNumber,n.positionColumn,i.leftoverVisibleColumns,1,!1);return new Wn(new x(o.lineNumber,o.column,o.lineNumber,o.column),0,o.leftoverVisibleColumns,new W(r.lineNumber,r.column),r.leftoverVisibleColumns)}static _isBlankLine(e,t){return e.getLineFirstNonWhitespaceColumn(t)===0}static moveToPrevBlankLine(e,t,i,n){let o=i.position.lineNumber;for(;o>1&&this._isBlankLine(t,o);)o--;for(;o>1&&!this._isBlankLine(t,o);)o--;return i.move(n,o,t.getLineMinColumn(o),0)}static moveToNextBlankLine(e,t,i,n){const o=t.getLineCount();let r=i.position.lineNumber;for(;r<o&&this._isBlankLine(t,r);)r++;for(;r<o&&!this._isBlankLine(t,r);)r++;return i.move(n,r,t.getLineMinColumn(r),0)}static moveToBeginningOfLine(e,t,i,n){const o=i.position.lineNumber,r=t.getLineMinColumn(o),a=t.getLineFirstNonWhitespaceColumn(o)||r;let l;return i.position.column===a?l=r:l=a,i.move(n,o,l,0)}static moveToEndOfLine(e,t,i,n,o){const r=i.position.lineNumber,a=t.getLineMaxColumn(r);return i.move(n,r,a,o?1073741824-a:0)}static moveToBeginningOfBuffer(e,t,i,n){return i.move(n,1,1,0)}static moveToEndOfBuffer(e,t,i,n){const o=t.getLineCount(),r=t.getLineMaxColumn(o);return i.move(n,o,r,0)}}class kf{static deleteRight(e,t,i,n){const o=[];let r=e!==3;for(let a=0,l=n.length;a<l;a++){const d=n[a];let c=d;if(c.isEmpty()){const u=d.getPosition(),h=Tt.right(t,i,u);c=new x(h.lineNumber,h.column,u.lineNumber,u.column)}if(c.isEmpty()){o[a]=null;continue}c.startLineNumber!==c.endLineNumber&&(r=!0),o[a]=new qn(c,\"\")}return[r,o]}static isAutoClosingPairDelete(e,t,i,n,o,r,a){if(t===\"never\"&&i===\"never\"||e===\"never\")return!1;for(let l=0,d=r.length;l<d;l++){const c=r[l],u=c.getPosition();if(!c.isEmpty())return!1;const h=o.getLineContent(u.lineNumber);if(u.column<2||u.column>=h.length+1)return!1;const g=h.charAt(u.column-2),f=n.get(g);if(!f)return!1;if(yu(g)){if(i===\"never\")return!1}else if(t===\"never\")return!1;const m=h.charAt(u.column-1);let _=!1;for(const v of f)v.open===g&&v.close===m&&(_=!0);if(!_)return!1;if(e===\"auto\"){let v=!1;for(let b=0,C=a.length;b<C;b++){const w=a[b];if(u.lineNumber===w.startLineNumber&&u.column===w.startColumn){v=!0;break}}if(!v)return!1}}return!0}static _runAutoClosingPairDelete(e,t,i){const n=[];for(let o=0,r=i.length;o<r;o++){const a=i[o].getPosition(),l=new x(a.lineNumber,a.column-1,a.lineNumber,a.column+1);n[o]=new qn(l,\"\")}return[!0,n]}static deleteLeft(e,t,i,n,o){if(this.isAutoClosingPairDelete(t.autoClosingDelete,t.autoClosingBrackets,t.autoClosingQuotes,t.autoClosingPairs.autoClosingPairsOpenByEnd,i,n,o))return this._runAutoClosingPairDelete(t,i,n);const r=[];let a=e!==2;for(let l=0,d=n.length;l<d;l++){const c=kf.getDeleteRange(n[l],i,t);if(c.isEmpty()){r[l]=null;continue}c.startLineNumber!==c.endLineNumber&&(a=!0),r[l]=new qn(c,\"\")}return[a,r]}static getDeleteRange(e,t,i){if(!e.isEmpty())return e;const n=e.getPosition();if(i.useTabStops&&n.column>1){const o=t.getLineContent(n.lineNumber),r=Cs(o),a=r===-1?o.length+1:r+1;if(n.column<=a){const l=i.visibleColumnFromColumn(t,n),d=hn.prevIndentTabStop(l,i.indentSize),c=i.columnFromVisibleColumn(t,n.lineNumber,d);return new x(n.lineNumber,c,n.lineNumber,n.column)}}return x.fromPositions(kf.getPositionAfterDeleteLeft(n,t),n)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){const i=Bre(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,i+1)}else if(e.lineNumber>1){const i=e.lineNumber-1;return new W(i,t.getLineMaxColumn(i))}else return e}static cut(e,t,i){const n=[];let o=null;i.sort((r,a)=>W.compare(r.getStartPosition(),a.getEndPosition()));for(let r=0,a=i.length;r<a;r++){const l=i[r];if(l.isEmpty())if(e.emptySelectionClipboard){const d=l.getPosition();let c,u,h,g;d.lineNumber<t.getLineCount()?(c=d.lineNumber,u=1,h=d.lineNumber+1,g=1):d.lineNumber>1&&(o==null?void 0:o.endLineNumber)!==d.lineNumber?(c=d.lineNumber-1,u=t.getLineMaxColumn(d.lineNumber-1),h=d.lineNumber,g=t.getLineMaxColumn(d.lineNumber)):(c=d.lineNumber,u=1,h=d.lineNumber,g=t.getLineMaxColumn(d.lineNumber));const f=new x(c,u,h,g);o=f,f.isEmpty()?n[r]=null:n[r]=new qn(f,\"\")}else n[r]=null;else n[r]=new qn(l,\"\")}return new Js(0,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}class Et{static _createWord(e,t,i,n,o){return{start:n,end:o,wordType:t,nextCharClass:i}}static _createIntlWord(e,t){return{start:e.index,end:e.index+e.segment.length,wordType:1,nextCharClass:t}}static _findPreviousWordOnLine(e,t,i){const n=t.getLineContent(i.lineNumber);return this._doFindPreviousWordOnLine(n,e,i)}static _doFindPreviousWordOnLine(e,t,i){let n=0;const o=t.findPrevIntlWordBeforeOrAtOffset(e,i.column-2);for(let r=i.column-2;r>=0;r--){const a=e.charCodeAt(r),l=t.get(a);if(o&&r===o.index)return this._createIntlWord(o,l);if(l===0){if(n===2)return this._createWord(e,n,l,r+1,this._findEndOfWord(e,t,n,r+1));n=1}else if(l===2){if(n===1)return this._createWord(e,n,l,r+1,this._findEndOfWord(e,t,n,r+1));n=2}else if(l===1&&n!==0)return this._createWord(e,n,l,r+1,this._findEndOfWord(e,t,n,r+1))}return n!==0?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){const o=t.findNextIntlWordAtOrAfterOffset(e,n),r=e.length;for(let a=n;a<r;a++){const l=e.charCodeAt(a),d=t.get(l);if(o&&a===o.index+o.segment.length||d===1||i===1&&d===2||i===2&&d===0)return a}return r}static _findNextWordOnLine(e,t,i){const n=t.getLineContent(i.lineNumber);return this._doFindNextWordOnLine(n,e,i)}static _doFindNextWordOnLine(e,t,i){let n=0;const o=e.length,r=t.findNextIntlWordAtOrAfterOffset(e,i.column-1);for(let a=i.column-1;a<o;a++){const l=e.charCodeAt(a),d=t.get(l);if(r&&a===r.index)return this._createIntlWord(r,d);if(d===0){if(n===2)return this._createWord(e,n,d,this._findStartOfWord(e,t,n,a-1),a);n=1}else if(d===2){if(n===1)return this._createWord(e,n,d,this._findStartOfWord(e,t,n,a-1),a);n=2}else if(d===1&&n!==0)return this._createWord(e,n,d,this._findStartOfWord(e,t,n,a-1),a)}return n!==0?this._createWord(e,n,1,this._findStartOfWord(e,t,n,o-1),o):null}static _findStartOfWord(e,t,i,n){const o=t.findPrevIntlWordBeforeOrAtOffset(e,n);for(let r=n;r>=0;r--){const a=e.charCodeAt(r),l=t.get(a);if(o&&r===o.index)return r;if(l===1||i===1&&l===2||i===2&&l===0)return r+1}return 0}static moveWordLeft(e,t,i,n){let o=i.lineNumber,r=i.column;r===1&&o>1&&(o=o-1,r=t.getLineMaxColumn(o));let a=Et._findPreviousWordOnLine(e,t,new W(o,r));if(n===0)return new W(o,a?a.start+1:1);if(n===1)return a&&a.wordType===2&&a.end-a.start===1&&a.nextCharClass===0&&(a=Et._findPreviousWordOnLine(e,t,new W(o,a.start+1))),new W(o,a?a.start+1:1);if(n===3){for(;a&&a.wordType===2;)a=Et._findPreviousWordOnLine(e,t,new W(o,a.start+1));return new W(o,a?a.start+1:1)}return a&&r<=a.end+1&&(a=Et._findPreviousWordOnLine(e,t,new W(o,a.start+1))),new W(o,a?a.end+1:1)}static _moveWordPartLeft(e,t){const i=t.lineNumber,n=e.getLineMaxColumn(i);if(t.column===1)return i>1?new W(i-1,e.getLineMaxColumn(i-1)):t;const o=e.getLineContent(i);for(let r=t.column-1;r>1;r--){const a=o.charCodeAt(r-2),l=o.charCodeAt(r-1);if(a===95&&l!==95)return new W(i,r);if(a===45&&l!==45)return new W(i,r);if((Bu(a)||uw(a))&&Fl(l))return new W(i,r);if(Fl(a)&&Fl(l)&&r+1<n){const d=o.charCodeAt(r);if(Bu(d)||uw(d))return new W(i,r)}}return new W(i,1)}static moveWordRight(e,t,i,n){let o=i.lineNumber,r=i.column,a=!1;r===t.getLineMaxColumn(o)&&o<t.getLineCount()&&(a=!0,o=o+1,r=1);let l=Et._findNextWordOnLine(e,t,new W(o,r));if(n===2)l&&l.wordType===2&&l.end-l.start===1&&l.nextCharClass===0&&(l=Et._findNextWordOnLine(e,t,new W(o,l.end+1))),l?r=l.end+1:r=t.getLineMaxColumn(o);else if(n===3){for(a&&(r=0);l&&(l.wordType===2||l.start+1<=r);)l=Et._findNextWordOnLine(e,t,new W(o,l.end+1));l?r=l.start+1:r=t.getLineMaxColumn(o)}else l&&!a&&r>=l.start+1&&(l=Et._findNextWordOnLine(e,t,new W(o,l.end+1))),l?r=l.start+1:r=t.getLineMaxColumn(o);return new W(o,r)}static _moveWordPartRight(e,t){const i=t.lineNumber,n=e.getLineMaxColumn(i);if(t.column===n)return i<e.getLineCount()?new W(i+1,1):t;const o=e.getLineContent(i);for(let r=t.column+1;r<n;r++){const a=o.charCodeAt(r-2),l=o.charCodeAt(r-1);if(a!==95&&l===95)return new W(i,r);if(a!==45&&l===45)return new W(i,r);if((Bu(a)||uw(a))&&Fl(l))return new W(i,r);if(Fl(a)&&Fl(l)&&r+1<n){const d=o.charCodeAt(r);if(Bu(d)||uw(d))return new W(i,r)}}return new W(i,n)}static _deleteWordLeftWhitespace(e,t){const i=e.getLineContent(t.lineNumber),n=t.column-2,o=Ya(i,n);return o+1<n?new x(t.lineNumber,o+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t){const i=e.wordSeparators,n=e.model,o=e.selection,r=e.whitespaceHeuristics;if(!o.isEmpty())return o;if(kf.isAutoClosingPairDelete(e.autoClosingDelete,e.autoClosingBrackets,e.autoClosingQuotes,e.autoClosingPairs.autoClosingPairsOpenByEnd,e.model,[e.selection],e.autoClosedCharacters)){const u=e.selection.getPosition();return new x(u.lineNumber,u.column-1,u.lineNumber,u.column+1)}const a=new W(o.positionLineNumber,o.positionColumn);let l=a.lineNumber,d=a.column;if(l===1&&d===1)return null;if(r){const u=this._deleteWordLeftWhitespace(n,a);if(u)return u}let c=Et._findPreviousWordOnLine(i,n,a);return t===0?c?d=c.start+1:d>1?d=1:(l--,d=n.getLineMaxColumn(l)):(c&&d<=c.end+1&&(c=Et._findPreviousWordOnLine(i,n,new W(l,c.start+1))),c?d=c.end+1:d>1?d=1:(l--,d=n.getLineMaxColumn(l))),new x(l,d,a.lineNumber,a.column)}static deleteInsideWord(e,t,i){if(!i.isEmpty())return i;const n=new W(i.positionLineNumber,i.positionColumn),o=this._deleteInsideWordWhitespace(t,n);return o||this._deleteInsideWordDetermineDeleteRange(e,t,n)}static _charAtIsWhitespace(e,t){const i=e.charCodeAt(t);return i===32||i===9}static _deleteInsideWordWhitespace(e,t){const i=e.getLineContent(t.lineNumber),n=i.length;if(n===0)return null;let o=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(i,o))return null;let r=Math.min(t.column-1,n-1);if(!this._charAtIsWhitespace(i,r))return null;for(;o>0&&this._charAtIsWhitespace(i,o-1);)o--;for(;r+1<n&&this._charAtIsWhitespace(i,r+1);)r++;return new x(t.lineNumber,o+1,t.lineNumber,r+2)}static _deleteInsideWordDetermineDeleteRange(e,t,i){const n=t.getLineContent(i.lineNumber),o=n.length;if(o===0)return i.lineNumber>1?new x(i.lineNumber-1,t.getLineMaxColumn(i.lineNumber-1),i.lineNumber,1):i.lineNumber<t.getLineCount()?new x(i.lineNumber,1,i.lineNumber+1,1):new x(i.lineNumber,1,i.lineNumber,1);const r=u=>u.start+1<=i.column&&i.column<=u.end+1,a=(u,h)=>(u=Math.min(u,i.column),h=Math.max(h,i.column),new x(i.lineNumber,u,i.lineNumber,h)),l=u=>{let h=u.start+1,g=u.end+1,f=!1;for(;g-1<o&&this._charAtIsWhitespace(n,g-1);)f=!0,g++;if(!f)for(;h>1&&this._charAtIsWhitespace(n,h-2);)h--;return a(h,g)},d=Et._findPreviousWordOnLine(e,t,i);if(d&&r(d))return l(d);const c=Et._findNextWordOnLine(e,t,i);return c&&r(c)?l(c):d&&c?a(d.end+1,c.start+1):d?a(d.start+1,d.end+1):c?a(c.start+1,c.end+1):a(1,o+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const i=t.getPosition(),n=Et._moveWordPartLeft(e,i);return new x(i.lineNumber,i.column,n.lineNumber,n.column)}static _findFirstNonWhitespaceChar(e,t){const i=e.length;for(let n=t;n<i;n++){const o=e.charAt(n);if(o!==\" \"&&o!==\"\t\")return n}return i}static _deleteWordRightWhitespace(e,t){const i=e.getLineContent(t.lineNumber),n=t.column-1,o=this._findFirstNonWhitespaceChar(i,n);return n+1<o?new x(t.lineNumber,t.column,t.lineNumber,o+1):null}static deleteWordRight(e,t){const i=e.wordSeparators,n=e.model,o=e.selection,r=e.whitespaceHeuristics;if(!o.isEmpty())return o;const a=new W(o.positionLineNumber,o.positionColumn);let l=a.lineNumber,d=a.column;const c=n.getLineCount(),u=n.getLineMaxColumn(l);if(l===c&&d===u)return null;if(r){const g=this._deleteWordRightWhitespace(n,a);if(g)return g}let h=Et._findNextWordOnLine(i,n,a);return t===2?h?d=h.end+1:d<u||l===c?d=u:(l++,h=Et._findNextWordOnLine(i,n,new W(l,1)),h?d=h.start+1:d=n.getLineMaxColumn(l)):(h&&d>=h.start+1&&(h=Et._findNextWordOnLine(i,n,new W(l,h.end+1))),h?d=h.start+1:d<u||l===c?d=u:(l++,h=Et._findNextWordOnLine(i,n,new W(l,1)),h?d=h.start+1:d=n.getLineMaxColumn(l))),new x(l,d,a.lineNumber,a.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const i=t.getPosition(),n=Et._moveWordPartRight(e,i);return new x(i.lineNumber,i.column,n.lineNumber,n.column)}static _createWordAtPosition(e,t,i){const n=new x(t,i.start+1,t,i.end+1);return{word:e.getValueInRange(n),startColumn:n.startColumn,endColumn:n.endColumn}}static getWordAtPosition(e,t,i,n){const o=Or(t,i),r=Et._findPreviousWordOnLine(o,e,n);if(r&&r.wordType===1&&r.start<=n.column-1&&n.column-1<=r.end)return Et._createWordAtPosition(e,n.lineNumber,r);const a=Et._findNextWordOnLine(o,e,n);return a&&a.wordType===1&&a.start<=n.column-1&&n.column-1<=a.end?Et._createWordAtPosition(e,n.lineNumber,a):null}static word(e,t,i,n,o){const r=Or(e.wordSeparators,e.wordSegmenterLocales),a=Et._findPreviousWordOnLine(r,t,o),l=Et._findNextWordOnLine(r,t,o);if(!n){let g,f;return a&&a.wordType===1&&a.start<=o.column-1&&o.column-1<=a.end?(g=a.start+1,f=a.end+1):l&&l.wordType===1&&l.start<=o.column-1&&o.column-1<=l.end?(g=l.start+1,f=l.end+1):(a?g=a.end+1:g=1,l?f=l.start+1:f=t.getLineMaxColumn(o.lineNumber)),new Wn(new x(o.lineNumber,g,o.lineNumber,f),1,0,new W(o.lineNumber,f),0)}let d,c;a&&a.wordType===1&&a.start<o.column-1&&o.column-1<a.end?(d=a.start+1,c=a.end+1):l&&l.wordType===1&&l.start<o.column-1&&o.column-1<l.end?(d=l.start+1,c=l.end+1):(d=o.column,c=o.column);const u=o.lineNumber;let h;if(i.selectionStart.containsPosition(o))h=i.selectionStart.endColumn;else if(o.isBeforeOrEqual(i.selectionStart.getStartPosition())){h=d;const g=new W(u,h);i.selectionStart.containsPosition(g)&&(h=i.selectionStart.endColumn)}else{h=c;const g=new W(u,h);i.selectionStart.containsPosition(g)&&(h=i.selectionStart.startColumn)}return i.move(!0,u,h,0)}}class kx extends Et{static deleteWordPartLeft(e){const t=Ew([Et.deleteWordLeft(e,0),Et.deleteWordLeft(e,2),Et._deleteWordPartLeft(e.model,e.selection)]);return t.sort(x.compareRangesUsingEnds),t[2]}static deleteWordPartRight(e){const t=Ew([Et.deleteWordRight(e,0),Et.deleteWordRight(e,2),Et._deleteWordPartRight(e.model,e.selection)]);return t.sort(x.compareRangesUsingStarts),t[0]}static moveWordPartLeft(e,t,i){const n=Ew([Et.moveWordLeft(e,t,i,0),Et.moveWordLeft(e,t,i,2),Et._moveWordPartLeft(t,i)]);return n.sort(W.compare),n[2]}static moveWordPartRight(e,t,i){const n=Ew([Et.moveWordRight(e,t,i,0),Et.moveWordRight(e,t,i,2),Et._moveWordPartRight(t,i)]);return n.sort(W.compare),n[0]}}function Ew(s){return s.filter(e=>!!e)}class On{static addCursorDown(e,t,i){const n=[];let o=0;for(let r=0,a=t.length;r<a;r++){const l=t[r];n[o++]=new wt(l.modelState,l.viewState),i?n[o++]=wt.fromModelState(Tt.translateDown(e.cursorConfig,e.model,l.modelState)):n[o++]=wt.fromViewState(Tt.translateDown(e.cursorConfig,e,l.viewState))}return n}static addCursorUp(e,t,i){const n=[];let o=0;for(let r=0,a=t.length;r<a;r++){const l=t[r];n[o++]=new wt(l.modelState,l.viewState),i?n[o++]=wt.fromModelState(Tt.translateUp(e.cursorConfig,e.model,l.modelState)):n[o++]=wt.fromViewState(Tt.translateUp(e.cursorConfig,e,l.viewState))}return n}static moveToBeginningOfLine(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o];n[o]=this._moveToLineStart(e,a,i)}return n}static _moveToLineStart(e,t,i){const n=t.viewState.position.column,o=t.modelState.position.column,r=n===o,a=t.viewState.position.lineNumber,l=e.getLineFirstNonWhitespaceColumn(a);return!r&&!(n===l)?this._moveToLineStartByView(e,t,i):this._moveToLineStartByModel(e,t,i)}static _moveToLineStartByView(e,t,i){return wt.fromViewState(Tt.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,i))}static _moveToLineStartByModel(e,t,i){return wt.fromModelState(Tt.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,i))}static moveToEndOfLine(e,t,i,n){const o=[];for(let r=0,a=t.length;r<a;r++){const l=t[r];o[r]=this._moveToLineEnd(e,l,i,n)}return o}static _moveToLineEnd(e,t,i,n){const o=t.viewState.position,r=e.getLineMaxColumn(o.lineNumber),a=o.column===r,l=t.modelState.position,d=e.model.getLineMaxColumn(l.lineNumber),c=r-o.column===d-l.column;return a||c?this._moveToLineEndByModel(e,t,i,n):this._moveToLineEndByView(e,t,i,n)}static _moveToLineEndByView(e,t,i,n){return wt.fromViewState(Tt.moveToEndOfLine(e.cursorConfig,e,t.viewState,i,n))}static _moveToLineEndByModel(e,t,i,n){return wt.fromModelState(Tt.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,i,n))}static expandLineSelection(e,t){const i=[];for(let n=0,o=t.length;n<o;n++){const r=t[n],a=r.modelState.selection.startLineNumber,l=e.model.getLineCount();let d=r.modelState.selection.endLineNumber,c;d===l?c=e.model.getLineMaxColumn(l):(d++,c=1),i[n]=wt.fromModelState(new Wn(new x(a,1,a,1),0,0,new W(d,c),0))}return i}static moveToBeginningOfBuffer(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o];n[o]=wt.fromModelState(Tt.moveToBeginningOfBuffer(e.cursorConfig,e.model,a.modelState,i))}return n}static moveToEndOfBuffer(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o];n[o]=wt.fromModelState(Tt.moveToEndOfBuffer(e.cursorConfig,e.model,a.modelState,i))}return n}static selectAll(e,t){const i=e.model.getLineCount(),n=e.model.getLineMaxColumn(i);return wt.fromModelState(new Wn(new x(1,1,1,1),0,0,new W(i,n),0))}static line(e,t,i,n,o){const r=e.model.validatePosition(n),a=o?e.coordinatesConverter.validateViewPosition(new W(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);if(!i){const d=e.model.getLineCount();let c=r.lineNumber+1,u=1;return c>d&&(c=d,u=e.model.getLineMaxColumn(c)),wt.fromModelState(new Wn(new x(r.lineNumber,1,c,u),2,0,new W(c,u),0))}const l=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber<l)return wt.fromViewState(t.viewState.move(!0,a.lineNumber,1,0));if(r.lineNumber>l){const d=e.getLineCount();let c=a.lineNumber+1,u=1;return c>d&&(c=d,u=e.getLineMaxColumn(c)),wt.fromViewState(t.viewState.move(!0,c,u,0))}else{const d=t.modelState.selectionStart.getEndPosition();return wt.fromModelState(t.modelState.move(!0,d.lineNumber,d.column,0))}}static word(e,t,i,n){const o=e.model.validatePosition(n);return wt.fromModelState(Et.word(e.cursorConfig,e.model,t.modelState,i,o))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new wt(t.modelState,t.viewState);const i=t.viewState.position.lineNumber,n=t.viewState.position.column;return wt.fromViewState(new Wn(new x(i,n,i,n),0,0,new W(i,n),0))}static moveTo(e,t,i,n,o){if(i){if(t.modelState.selectionStartKind===1)return this.word(e,t,i,n);if(t.modelState.selectionStartKind===2)return this.line(e,t,i,n,o)}const r=e.model.validatePosition(n),a=o?e.coordinatesConverter.validateViewPosition(new W(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);return wt.fromViewState(t.viewState.move(i,a.lineNumber,a.column,0))}static simpleMove(e,t,i,n,o,r){switch(i){case 0:return r===4?this._moveHalfLineLeft(e,t,n):this._moveLeft(e,t,n,o);case 1:return r===4?this._moveHalfLineRight(e,t,n):this._moveRight(e,t,n,o);case 2:return r===2?this._moveUpByViewLines(e,t,n,o):this._moveUpByModelLines(e,t,n,o);case 3:return r===2?this._moveDownByViewLines(e,t,n,o):this._moveDownByModelLines(e,t,n,o);case 4:return r===2?t.map(a=>wt.fromViewState(Tt.moveToPrevBlankLine(e.cursorConfig,e,a.viewState,n))):t.map(a=>wt.fromModelState(Tt.moveToPrevBlankLine(e.cursorConfig,e.model,a.modelState,n)));case 5:return r===2?t.map(a=>wt.fromViewState(Tt.moveToNextBlankLine(e.cursorConfig,e,a.viewState,n))):t.map(a=>wt.fromModelState(Tt.moveToNextBlankLine(e.cursorConfig,e.model,a.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,o){const r=e.getCompletelyVisibleViewRange(),a=e.coordinatesConverter.convertViewRangeToModelRange(r);switch(i){case 11:{const l=this._firstLineNumberInRange(e.model,a,o),d=e.model.getLineFirstNonWhitespaceColumn(l);return[this._moveToModelPosition(e,t[0],n,l,d)]}case 13:{const l=this._lastLineNumberInRange(e.model,a,o),d=e.model.getLineFirstNonWhitespaceColumn(l);return[this._moveToModelPosition(e,t[0],n,l,d)]}case 12:{const l=Math.round((a.startLineNumber+a.endLineNumber)/2),d=e.model.getLineFirstNonWhitespaceColumn(l);return[this._moveToModelPosition(e,t[0],n,l,d)]}case 14:{const l=[];for(let d=0,c=t.length;d<c;d++){const u=t[d];l[d]=this.findPositionInViewportIfOutside(e,u,r,n)}return l}default:return null}}static findPositionInViewportIfOutside(e,t,i,n){const o=t.viewState.position.lineNumber;if(i.startLineNumber<=o&&o<=i.endLineNumber-1)return new wt(t.modelState,t.viewState);{let r;o>i.endLineNumber-1?r=i.endLineNumber-1:o<i.startLineNumber?r=i.startLineNumber:r=o;const a=Tt.vertical(e.cursorConfig,e,o,t.viewState.position.column,t.viewState.leftoverVisibleColumns,r,!1);return wt.fromViewState(t.viewState.move(n,a.lineNumber,a.column,a.leftoverVisibleColumns))}}static _firstLineNumberInRange(e,t,i){let n=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(n)&&n++,Math.min(t.endLineNumber,n+i-1)}static _lastLineNumberInRange(e,t,i){let n=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(n)&&n++,Math.max(n,t.endLineNumber-i+1)}static _moveLeft(e,t,i,n){return t.map(o=>wt.fromViewState(Tt.moveLeft(e.cursorConfig,e,o.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=Math.round(e.getLineLength(l)/2);n[o]=wt.fromViewState(Tt.moveLeft(e.cursorConfig,e,a.viewState,i,d))}return n}static _moveRight(e,t,i,n){return t.map(o=>wt.fromViewState(Tt.moveRight(e.cursorConfig,e,o.viewState,i,n)))}static _moveHalfLineRight(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=Math.round(e.getLineLength(l)/2);n[o]=wt.fromViewState(Tt.moveRight(e.cursorConfig,e,a.viewState,i,d))}return n}static _moveDownByViewLines(e,t,i,n){const o=[];for(let r=0,a=t.length;r<a;r++){const l=t[r];o[r]=wt.fromViewState(Tt.moveDown(e.cursorConfig,e,l.viewState,i,n))}return o}static _moveDownByModelLines(e,t,i,n){const o=[];for(let r=0,a=t.length;r<a;r++){const l=t[r];o[r]=wt.fromModelState(Tt.moveDown(e.cursorConfig,e.model,l.modelState,i,n))}return o}static _moveUpByViewLines(e,t,i,n){const o=[];for(let r=0,a=t.length;r<a;r++){const l=t[r];o[r]=wt.fromViewState(Tt.moveUp(e.cursorConfig,e,l.viewState,i,n))}return o}static _moveUpByModelLines(e,t,i,n){const o=[];for(let r=0,a=t.length;r<a;r++){const l=t[r];o[r]=wt.fromModelState(Tt.moveUp(e.cursorConfig,e.model,l.modelState,i,n))}return o}static _moveToViewPosition(e,t,i,n,o){return wt.fromViewState(t.viewState.move(i,n,o,0))}static _moveToModelPosition(e,t,i,n,o){return wt.fromModelState(t.modelState.move(i,n,o,0))}static _moveToViewMinColumn(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=e.getLineMinColumn(l);n[o]=this._moveToViewPosition(e,a,i,l,d)}return n}static _moveToViewFirstNonWhitespaceColumn(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=e.getLineFirstNonWhitespaceColumn(l);n[o]=this._moveToViewPosition(e,a,i,l,d)}return n}static _moveToViewCenterColumn(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=Math.round((e.getLineMaxColumn(l)+e.getLineMinColumn(l))/2);n[o]=this._moveToViewPosition(e,a,i,l,d)}return n}static _moveToViewMaxColumn(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=e.getLineMaxColumn(l);n[o]=this._moveToViewPosition(e,a,i,l,d)}return n}static _moveToViewLastNonWhitespaceColumn(e,t,i){const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.viewState.position.lineNumber,d=e.getLineLastNonWhitespaceColumn(l);n[o]=this._moveToViewPosition(e,a,i,l,d)}return n}}var rD;(function(s){const e=function(i){if(!Ms(i))return!1;const n=i;return!(!lo(n.to)||!oo(n.select)&&!EV(n.select)||!oo(n.by)&&!lo(n.by)||!oo(n.value)&&!yh(n.value))};s.metadata={description:\"Move cursor to a logical position in the view\",args:[{name:\"Cursor move argument object\",description:`Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t\\`\\`\\`\n\t\t\t\t\t\t'left', 'right', 'up', 'down', 'prevBlankLine', 'nextBlankLine',\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t\\`\\`\\`\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t\\`\\`\\`\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t\\`\\`\\`\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t`,constraint:e,schema:{type:\"object\",required:[\"to\"],properties:{to:{type:\"string\",enum:[\"left\",\"right\",\"up\",\"down\",\"prevBlankLine\",\"nextBlankLine\",\"wrappedLineStart\",\"wrappedLineEnd\",\"wrappedLineColumnCenter\",\"wrappedLineFirstNonWhitespaceCharacter\",\"wrappedLineLastNonWhitespaceCharacter\",\"viewPortTop\",\"viewPortCenter\",\"viewPortBottom\",\"viewPortIfOutside\"]},by:{type:\"string\",enum:[\"line\",\"wrappedLine\",\"character\",\"halfLine\"]},value:{type:\"number\",default:1},select:{type:\"boolean\",default:!1}}}}]},s.RawDirection={Left:\"left\",Right:\"right\",Up:\"up\",Down:\"down\",PrevBlankLine:\"prevBlankLine\",NextBlankLine:\"nextBlankLine\",WrappedLineStart:\"wrappedLineStart\",WrappedLineFirstNonWhitespaceCharacter:\"wrappedLineFirstNonWhitespaceCharacter\",WrappedLineColumnCenter:\"wrappedLineColumnCenter\",WrappedLineEnd:\"wrappedLineEnd\",WrappedLineLastNonWhitespaceCharacter:\"wrappedLineLastNonWhitespaceCharacter\",ViewPortTop:\"viewPortTop\",ViewPortCenter:\"viewPortCenter\",ViewPortBottom:\"viewPortBottom\",ViewPortIfOutside:\"viewPortIfOutside\"},s.RawUnit={Line:\"line\",WrappedLine:\"wrappedLine\",Character:\"character\",HalfLine:\"halfLine\"};function t(i){if(!i.to)return null;let n;switch(i.to){case s.RawDirection.Left:n=0;break;case s.RawDirection.Right:n=1;break;case s.RawDirection.Up:n=2;break;case s.RawDirection.Down:n=3;break;case s.RawDirection.PrevBlankLine:n=4;break;case s.RawDirection.NextBlankLine:n=5;break;case s.RawDirection.WrappedLineStart:n=6;break;case s.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=7;break;case s.RawDirection.WrappedLineColumnCenter:n=8;break;case s.RawDirection.WrappedLineEnd:n=9;break;case s.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=10;break;case s.RawDirection.ViewPortTop:n=11;break;case s.RawDirection.ViewPortBottom:n=13;break;case s.RawDirection.ViewPortCenter:n=12;break;case s.RawDirection.ViewPortIfOutside:n=14;break;default:return null}let o=0;switch(i.by){case s.RawUnit.Line:o=1;break;case s.RawUnit.WrappedLine:o=2;break;case s.RawUnit.Character:o=3;break;case s.RawUnit.HalfLine:o=4;break}return{direction:n,unit:o,select:!!i.select,value:i.value||1}}s.parse=t})(rD||(rD={}));function Fm(s,e,t,i){const n=Tm(e,t.startLineNumber,t.startColumn),o=i.getLanguageConfiguration(n.languageId);if(!o)return null;const r=n.getLineContent(),a=r.substr(0,t.startColumn-1-n.firstCharOffset);let l;t.isEmpty()?l=r.substr(t.startColumn-1-n.firstCharOffset):l=Tm(e,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-n.firstCharOffset);let d=\"\";if(t.startLineNumber>1&&n.firstCharOffset===0){const m=Tm(e,t.startLineNumber-1);m.languageId===n.languageId&&(d=m.getLineContent())}const c=o.onEnter(s,d,a,l);if(!c)return null;const u=c.indentAction;let h=c.appendText;const g=c.removeText||0;h?u===Qi.Indent&&(h=\"\t\"+h):u===Qi.Indent||u===Qi.IndentOutdent?h=\"\t\":h=\"\";let f=sU(e,t.startLineNumber,t.startColumn);return g&&(f=f.substring(0,f.length-g)),{indentAction:u,appendText:h,removeText:g,indentation:f}}var Mfe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Rfe=function(s,e){return function(t,i){e(t,i,s)}},Gy;const gI=Object.create(null);function _g(s,e){if(e<=0)return\"\";gI[s]||(gI[s]=[\"\",s]);const t=gI[s];for(let i=t.length;i<=e;i++)t[i]=t[i-1]+s;return t[e]}let xr=Gy=class{static unshiftIndent(e,t,i,n,o){const r=hn.visibleColumnFromColumn(e,t,i);if(o){const a=_g(\" \",n),d=hn.prevIndentTabStop(r,n)/n;return _g(a,d)}else{const a=\"\t\",d=hn.prevRenderTabStop(r,i)/i;return _g(a,d)}}static shiftIndent(e,t,i,n,o){const r=hn.visibleColumnFromColumn(e,t,i);if(o){const a=_g(\" \",n),d=hn.nextIndentTabStop(r,n)/n;return _g(a,d)}else{const a=\"\t\",d=hn.nextRenderTabStop(r,i)/i;return _g(a,d)}}constructor(e,t,i){this._languageConfigurationService=i,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(e,t){const i=this._selection.startLineNumber;let n=this._selection.endLineNumber;this._selection.endColumn===1&&i!==n&&(n=n-1);const{tabSize:o,indentSize:r,insertSpaces:a}=this._opts,l=i===n;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\\s*$/.test(e.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,c=0;for(let u=i;u<=n;u++,d=c){c=0;const h=e.getLineContent(u);let g=Cs(h);if(this._opts.isUnshift&&(h.length===0||g===0)||!l&&!this._opts.isUnshift&&h.length===0)continue;if(g===-1&&(g=h.length),u>1&&hn.visibleColumnFromColumn(h,g+1,o)%r!==0&&e.tokenization.isCheapToTokenize(u-1)){const _=Fm(this._opts.autoIndent,e,new x(u-1,e.getLineMaxColumn(u-1),u-1,e.getLineMaxColumn(u-1)),this._languageConfigurationService);if(_){if(c=d,_.appendText)for(let v=0,b=_.appendText.length;v<b&&c<r&&_.appendText.charCodeAt(v)===32;v++)c++;_.removeText&&(c=Math.max(0,c-_.removeText));for(let v=0;v<c&&!(g===0||h.charCodeAt(g-1)!==32);v++)g--}}if(this._opts.isUnshift&&g===0)continue;let f;this._opts.isUnshift?f=Gy.unshiftIndent(h,g+1,o,r,a):f=Gy.shiftIndent(h,g+1,o,r,a),this._addEditOperation(t,new x(u,1,u,g+1),f),u===i&&!this._selection.isEmpty()&&(this._selectionStartColumnStaysPut=this._selection.startColumn<=g+1)}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&e.getLineLength(i)===0&&(this._useLastEditRangeForCursorEndPosition=!0);const d=a?_g(\" \",r):\"\t\";for(let c=i;c<=n;c++){const u=e.getLineContent(c);let h=Cs(u);if(!(this._opts.isUnshift&&(u.length===0||h===0))&&!(!l&&!this._opts.isUnshift&&u.length===0)&&(h===-1&&(h=u.length),!(this._opts.isUnshift&&h===0)))if(this._opts.isUnshift){h=Math.min(h,r);for(let g=0;g<h;g++)if(u.charCodeAt(g)===9){h=g+1;break}this._addEditOperation(t,new x(c,1,c,h+1),\"\")}else this._addEditOperation(t,new x(c,1,c,1),d),c===i&&!this._selection.isEmpty()&&(this._selectionStartColumnStaysPut=this._selection.startColumn===1)}}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){const n=t.getInverseEditOperations()[0];return new we(n.range.endLineNumber,n.range.endColumn,n.range.endLineNumber,n.range.endColumn)}const i=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){const n=this._selection.startColumn;return i.startColumn<=n?i:i.getDirection()===0?new we(i.startLineNumber,n,i.endLineNumber,i.endColumn):new we(i.endLineNumber,i.endColumn,i.startLineNumber,n)}return i}};xr=Gy=Mfe([Rfe(2,Yt)],xr);class Pfe{constructor(e,t,i){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=i}getEditOperations(e,t){t.addTrackedEditOperation(new x(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new x(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){const i=t.getInverseEditOperations(),n=i[0].range,o=i[1].range;return new we(n.endLineNumber,n.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)}}class Ffe{constructor(e,t,i){this._position=e,this._text=t,this._charAfter=i}getEditOperations(e,t){t.addTrackedEditOperation(new x(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column),this._text+this._charAfter)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return new we(n.endLineNumber,n.startColumn,n.endLineNumber,n.endColumn-this._charAfter.length)}}function Ofe(s,e,t){const i=s.tokenization.getLanguageIdAtPosition(e,0);if(e>1){let n,o=-1;for(n=e-1;n>=1;n--){if(s.tokenization.getLanguageIdAtPosition(n,0)!==i)return o;const r=s.getLineContent(n);if(t.shouldIgnore(r)||/^\\s+$/.test(r)||r===\"\"){o=n;continue}return n}}return-1}function Ex(s,e,t,i=!0,n){if(s<4)return null;const o=n.getLanguageConfiguration(e.tokenization.getLanguageId()).indentRulesSupport;if(!o)return null;if(t<=1)return{indentation:\"\",action:null};for(let l=t-1;l>0&&e.getLineContent(l)===\"\";l--)if(l===1)return{indentation:\"\",action:null};const r=Ofe(e,t,o);if(r<0)return null;if(r<1)return{indentation:\"\",action:null};const a=e.getLineContent(r);if(o.shouldIncrease(a)||o.shouldIndentNextLine(a))return{indentation:Zt(a),action:Qi.Indent,line:r};if(o.shouldDecrease(a))return{indentation:Zt(a),action:null,line:r};{if(r===1)return{indentation:Zt(e.getLineContent(r)),action:null,line:r};const l=r-1,d=o.getIndentMetadata(e.getLineContent(l));if(!(d&3)&&d&4){let c=0;for(let u=l-1;u>0;u--)if(!o.shouldIndentNextLine(e.getLineContent(u))){c=u;break}return{indentation:Zt(e.getLineContent(c+1)),action:null,line:c+1}}if(i)return{indentation:Zt(e.getLineContent(r)),action:null,line:r};for(let c=r;c>0;c--){const u=e.getLineContent(c);if(o.shouldIncrease(u))return{indentation:Zt(u),action:Qi.Indent,line:c};if(o.shouldIndentNextLine(u)){let h=0;for(let g=c-1;g>0;g--)if(!o.shouldIndentNextLine(e.getLineContent(c))){h=g;break}return{indentation:Zt(e.getLineContent(h+1)),action:null,line:h+1}}else if(o.shouldDecrease(u))return{indentation:Zt(u),action:null,line:c}}return{indentation:Zt(e.getLineContent(1)),action:null,line:1}}}function qv(s,e,t,i,n,o){if(s<4)return null;const r=o.getLanguageConfiguration(t);if(!r)return null;const a=o.getLanguageConfiguration(t).indentRulesSupport;if(!a)return null;const l=Ex(s,e,i,void 0,o),d=e.getLineContent(i);if(l){const c=l.line;if(c!==void 0){let u=!0;for(let h=c;h<i-1;h++)if(!/^\\s*$/.test(e.getLineContent(h))){u=!1;break}if(u){const h=r.onEnter(s,\"\",e.getLineContent(c),\"\");if(h){let g=Zt(e.getLineContent(c));return h.removeText&&(g=g.substring(0,g.length-h.removeText)),h.indentAction===Qi.Indent||h.indentAction===Qi.IndentOutdent?g=n.shiftIndent(g):h.indentAction===Qi.Outdent&&(g=n.unshiftIndent(g)),a.shouldDecrease(d)&&(g=n.unshiftIndent(g)),h.appendText&&(g+=h.appendText),Zt(g)}}}return a.shouldDecrease(d)?l.action===Qi.Indent?l.indentation:n.unshiftIndent(l.indentation):l.action===Qi.Indent?n.shiftIndent(l.indentation):l.indentation}return null}function Bfe(s,e,t,i,n){if(s<4)return null;e.tokenization.forceTokenization(t.startLineNumber);const o=e.tokenization.getLineTokens(t.startLineNumber),r=fx(o,t.startColumn-1),a=r.getLineContent();let l=!1,d;r.firstCharOffset>0&&o.getLanguageId(0)!==r.languageId?(l=!0,d=a.substr(0,t.startColumn-1-r.firstCharOffset)):d=o.getLineContent().substring(0,t.startColumn-1);let c;t.isEmpty()?c=a.substr(t.startColumn-1-r.firstCharOffset):c=Tm(e,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset);const u=n.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!u)return null;const h=d,g=Zt(d),f={tokenization:{getLineTokens:b=>e.tokenization.getLineTokens(b),getLanguageId:()=>e.getLanguageId(),getLanguageIdAtPosition:(b,C)=>e.getLanguageIdAtPosition(b,C)},getLineContent:b=>b===t.startLineNumber?h:e.getLineContent(b)},m=Zt(o.getLineContent()),_=Ex(s,f,t.startLineNumber+1,void 0,n);if(!_){const b=l?m:g;return{beforeEnter:b,afterEnter:b}}let v=l?m:_.indentation;return _.action===Qi.Indent&&(v=i.shiftIndent(v)),u.shouldDecrease(c)&&(v=i.unshiftIndent(v)),{beforeEnter:l?m:g,afterEnter:v}}function Wfe(s,e,t,i,n,o){if(s<4)return null;const r=Tm(e,t.startLineNumber,t.startColumn);if(r.firstCharOffset)return null;const a=o.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!a)return null;const l=r.getLineContent(),d=l.substr(0,t.startColumn-1-r.firstCharOffset);let c;if(t.isEmpty()?c=l.substr(t.startColumn-1-r.firstCharOffset):c=Tm(e,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset),!a.shouldDecrease(d+c)&&a.shouldDecrease(d+i+c)){const u=Ex(s,e,t.startLineNumber,!1,o);if(!u)return null;let h=u.indentation;return u.action!==Qi.Indent&&(h=n.unshiftIndent(h)),h}return null}function e$(s,e,t){const i=t.getLanguageConfiguration(s.getLanguageId()).indentRulesSupport;return!i||e<1||e>s.getLineCount()?null:i.getIndentMetadata(s.getLineContent(e))}class bi{static indent(e,t,i){if(t===null||i===null)return[];const n=[];for(let o=0,r=i.length;o<r;o++)n[o]=new xr(i[o],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent},e.languageConfigurationService);return n}static outdent(e,t,i){const n=[];for(let o=0,r=i.length;o<r;o++)n[o]=new xr(i[o],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent},e.languageConfigurationService);return n}static shiftIndent(e,t,i){return i=i||1,xr.shiftIndent(t,t.length+i,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,i){return i=i||1,xr.unshiftIndent(t,t.length+i,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,i,n){const o=[];for(let r=0,a=i.length;r<a;r++)o[r]=new qn(i[r],n[r]);return new Js(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,i,n,o){const r=[];for(let a=0,l=i.length;a<l;a++){const d=i[a],c=d.getPosition();if(o&&!d.isEmpty()&&(o=!1),o&&n.indexOf(`\n`)!==n.length-1&&(o=!1),o){const u=new x(c.lineNumber,1,c.lineNumber,1);r[a]=new zF(u,n,d,!0)}else r[a]=new qn(d,n)}return new Js(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,i,n,o){if(n||t.length===1)return null;if(o&&o.length===t.length)return o;if(e.multiCursorPaste===\"spread\"){i.charCodeAt(i.length-1)===10&&(i=i.substr(0,i.length-1)),i.charCodeAt(i.length-1)===13&&(i=i.substr(0,i.length-1));const r=Td(i);if(r.length===t.length)return r}return null}static paste(e,t,i,n,o,r){const a=this._distributePasteToCursors(e,i,n,o,r);return a?(i=i.sort(x.compareRangesUsingStarts),this._distributedPaste(e,t,i,a)):this._simplePaste(e,t,i,n,o)}static _goodIndentForLine(e,t,i){let n=null,o=\"\";const r=Ex(e.autoIndent,t,i,!1,e.languageConfigurationService);if(r)n=r.action,o=r.indentation;else if(i>1){let a;for(a=i-1;a>=1;a--){const c=t.getLineContent(a);if(Ya(c)>=0)break}if(a<1)return null;const l=t.getLineMaxColumn(a),d=Fm(e.autoIndent,t,new x(a,l,a,l),e.languageConfigurationService);d&&(o=d.indentation+d.appendText)}return n&&(n===Qi.Indent&&(o=bi.shiftIndent(e,o)),n===Qi.Outdent&&(o=bi.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o||null}static _replaceJumpToNextIndent(e,t,i,n){let o=\"\";const r=i.getStartPosition();if(e.insertSpaces){const a=e.visibleColumnFromColumn(t,r),l=e.indentSize,d=l-a%l;for(let c=0;c<d;c++)o+=\" \"}else o=\"\t\";return new qn(i,o,n)}static tab(e,t,i){const n=[];for(let o=0,r=i.length;o<r;o++){const a=i[o];if(a.isEmpty()){const l=t.getLineContent(a.startLineNumber);if(/^\\s*$/.test(l)&&t.tokenization.isCheapToTokenize(a.startLineNumber)){let d=this._goodIndentForLine(e,t,a.startLineNumber);d=d||\"\t\";const c=e.normalizeIndentation(d);if(!l.startsWith(c)){n[o]=new qn(new x(a.startLineNumber,1,a.startLineNumber,l.length+1),c,!0);continue}}n[o]=this._replaceJumpToNextIndent(e,t,a,!0)}else{if(a.startLineNumber===a.endLineNumber){const l=t.getLineMaxColumn(a.startLineNumber);if(a.startColumn!==1||a.endColumn!==l){n[o]=this._replaceJumpToNextIndent(e,t,a,!1);continue}}n[o]=new xr(a,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent},e.languageConfigurationService)}}return n}static compositionType(e,t,i,n,o,r,a,l){const d=n.map(c=>this._compositionType(i,c,o,r,a,l));return new Js(4,d,{shouldPushStackElementBefore:Iw(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,o,r){if(!t.isEmpty())return null;const a=t.getPosition(),l=Math.max(1,a.column-n),d=Math.min(e.getLineMaxColumn(a.lineNumber),a.column+o),c=new x(a.lineNumber,l,a.lineNumber,d);return e.getValueInRange(c)===i&&r===0?null:new qy(c,i,0,r)}static _typeCommand(e,t,i){return i?new kw(e,t,!0):new qn(e,t,!0)}static _enter(e,t,i,n){if(e.autoIndent===0)return bi._typeCommand(n,`\n`,i);if(!t.tokenization.isCheapToTokenize(n.getStartPosition().lineNumber)||e.autoIndent===1){const l=t.getLineContent(n.startLineNumber),d=Zt(l).substring(0,n.startColumn-1);return bi._typeCommand(n,`\n`+e.normalizeIndentation(d),i)}const o=Fm(e.autoIndent,t,n,e.languageConfigurationService);if(o){if(o.indentAction===Qi.None)return bi._typeCommand(n,`\n`+e.normalizeIndentation(o.indentation+o.appendText),i);if(o.indentAction===Qi.Indent)return bi._typeCommand(n,`\n`+e.normalizeIndentation(o.indentation+o.appendText),i);if(o.indentAction===Qi.IndentOutdent){const l=e.normalizeIndentation(o.indentation),d=e.normalizeIndentation(o.indentation+o.appendText),c=`\n`+d+`\n`+l;return i?new kw(n,c,!0):new qy(n,c,-1,d.length-l.length,!0)}else if(o.indentAction===Qi.Outdent){const l=bi.unshiftIndent(e,o.indentation);return bi._typeCommand(n,`\n`+e.normalizeIndentation(l+o.appendText),i)}}const r=t.getLineContent(n.startLineNumber),a=Zt(r).substring(0,n.startColumn-1);if(e.autoIndent>=4){const l=Bfe(e.autoIndent,t,n,{unshiftIndent:d=>bi.unshiftIndent(e,d),shiftIndent:d=>bi.shiftIndent(e,d),normalizeIndentation:d=>e.normalizeIndentation(d)},e.languageConfigurationService);if(l){let d=e.visibleColumnFromColumn(t,n.getEndPosition());const c=n.endColumn,u=t.getLineContent(n.endLineNumber),h=Cs(u);if(h>=0?n=n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,h+1)):n=n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new kw(n,`\n`+e.normalizeIndentation(l.afterEnter),!0);{let g=0;return c<=h+1&&(e.insertSpaces||(d=Math.ceil(d/e.indentSize)),g=Math.min(d+1-e.normalizeIndentation(l.afterEnter).length-1,0)),new qy(n,`\n`+e.normalizeIndentation(l.afterEnter),0,g,!0)}}}return bi._typeCommand(n,`\n`+e.normalizeIndentation(a),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let n=0,o=i.length;n<o;n++)if(!t.tokenization.isCheapToTokenize(i[n].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,i,n){const o=sU(t,i.startLineNumber,i.startColumn),r=Wfe(e.autoIndent,t,i,n,{shiftIndent:a=>bi.shiftIndent(e,a),unshiftIndent:a=>bi.unshiftIndent(e,a)},e.languageConfigurationService);if(r===null)return null;if(r!==e.normalizeIndentation(o)){const a=t.getLineFirstNonWhitespaceColumn(i.startLineNumber);return a===0?bi._typeCommand(new x(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(r)+n,!1):bi._typeCommand(new x(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(r)+t.getLineContent(i.startLineNumber).substring(a-1,i.startColumn-1)+n,!1)}return null}static _isAutoClosingOvertype(e,t,i,n,o){if(e.autoClosingOvertype===\"never\"||!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(o))return!1;for(let r=0,a=i.length;r<a;r++){const l=i[r];if(!l.isEmpty())return!1;const d=l.getPosition(),c=t.getLineContent(d.lineNumber);if(c.charAt(d.column-1)!==o)return!1;const h=yu(o);if((d.column>2?c.charCodeAt(d.column-2):0)===92&&h)return!1;if(e.autoClosingOvertype===\"auto\"){let f=!1;for(let m=0,_=n.length;m<_;m++){const v=n[m];if(d.lineNumber===v.startLineNumber&&d.column===v.startColumn){f=!0;break}}if(!f)return!1}}return!0}static _runAutoClosingOvertype(e,t,i,n,o){const r=[];for(let a=0,l=n.length;a<l;a++){const c=n[a].getPosition(),u=new x(c.lineNumber,c.column,c.lineNumber,c.column+1);r[a]=new qn(u,o)}return new Js(4,r,{shouldPushStackElementBefore:Iw(e,4),shouldPushStackElementAfter:!1})}static _isBeforeClosingBrace(e,t){const i=t.charAt(0),n=e.autoClosingPairs.autoClosingPairsOpenByStart.get(i)||[],o=e.autoClosingPairs.autoClosingPairsCloseByStart.get(i)||[],r=n.some(l=>t.startsWith(l.open)),a=o.some(l=>t.startsWith(l.close));return!r&&a}static _findAutoClosingPairOpen(e,t,i,n){const o=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n);if(!o)return null;let r=null;for(const a of o)if(r===null||a.open.length>r.open.length){let l=!0;for(const d of i)if(t.getValueInRange(new x(d.lineNumber,d.column-a.open.length+1,d.lineNumber,d.column))+n!==a.open){l=!1;break}l&&(r=a)}return r}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;const i=t.close.charAt(t.close.length-1),n=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[];let o=null;for(const r of n)r.open!==t.open&&t.open.includes(r.open)&&t.close.endsWith(r.close)&&(!o||r.open.length>o.open.length)&&(o=r);return o}static _getAutoClosingPairClose(e,t,i,n,o){for(const f of i)if(!f.isEmpty())return null;const r=i.map(f=>{const m=f.getPosition();return o?{lineNumber:m.lineNumber,beforeColumn:m.column-n.length,afterColumn:m.column}:{lineNumber:m.lineNumber,beforeColumn:m.column,afterColumn:m.column}}),a=this._findAutoClosingPairOpen(e,t,r.map(f=>new W(f.lineNumber,f.beforeColumn)),n);if(!a)return null;let l,d;if(yu(n)?(l=e.autoClosingQuotes,d=e.shouldAutoCloseBefore.quote):(e.blockCommentStartToken?a.open.includes(e.blockCommentStartToken):!1)?(l=e.autoClosingComments,d=e.shouldAutoCloseBefore.comment):(l=e.autoClosingBrackets,d=e.shouldAutoCloseBefore.bracket),l===\"never\")return null;const u=this._findContainedAutoClosingPair(e,a),h=u?u.close:\"\";let g=!0;for(const f of r){const{lineNumber:m,beforeColumn:_,afterColumn:v}=f,b=t.getLineContent(m),C=b.substring(0,_-1),w=b.substring(v-1);if(w.startsWith(h)||(g=!1),w.length>0){const k=w.charAt(0);if(!bi._isBeforeClosingBrace(e,w)&&!d(k))return null}if(a.open.length===1&&(n===\"'\"||n==='\"')&&l!==\"always\"){const k=Or(e.wordSeparators,[]);if(C.length>0){const I=C.charCodeAt(C.length-1);if(k.get(I)===0)return null}}if(!t.tokenization.isCheapToTokenize(m))return null;t.tokenization.forceTokenization(m);const y=t.tokenization.getLineTokens(m),D=fx(y,_-1);if(!a.shouldAutoClose(D,_-D.firstCharOffset))return null;const L=a.findNeutralCharacter();if(L){const k=t.tokenization.getTokenTypeIfInsertingCharacter(m,_,L);if(!a.isOK(k))return null}}return g?a.close.substring(0,a.close.length-h.length):a.close}static _runAutoClosingOpenCharType(e,t,i,n,o,r,a){const l=[];for(let d=0,c=n.length;d<c;d++){const u=n[d];l[d]=new t$(u,o,!r,a)}return new Js(4,l,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return yu(t)?e.autoSurround===\"quotes\"||e.autoSurround===\"languageDefined\":e.autoSurround===\"brackets\"||e.autoSurround===\"languageDefined\"}static _isSurroundSelectionType(e,t,i,n){if(!bi._shouldSurroundChar(e,n)||!e.surroundingPairs.hasOwnProperty(n))return!1;const o=yu(n);for(const r of i){if(r.isEmpty())return!1;let a=!0;for(let l=r.startLineNumber;l<=r.endLineNumber;l++){const d=t.getLineContent(l),c=l===r.startLineNumber?r.startColumn-1:0,u=l===r.endLineNumber?r.endColumn-1:d.length,h=d.substring(c,u);if(/[^ \\t]/.test(h)){a=!1;break}}if(a)return!1;if(o&&r.startLineNumber===r.endLineNumber&&r.startColumn+1===r.endColumn){const l=t.getValueInRange(r);if(yu(l))return!1}}return!0}static _runSurroundSelectionType(e,t,i,n,o){const r=[];for(let a=0,l=n.length;a<l;a++){const d=n[a],c=t.surroundingPairs[o];r[a]=new Pfe(d,o,c)}return new Js(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,i){return!!(i.length===1&&t.tokenization.isCheapToTokenize(i[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,i,n,o){if(!t.electricChars.hasOwnProperty(o)||!n.isEmpty())return null;const r=n.getPosition();i.tokenization.forceTokenization(r.lineNumber);const a=i.tokenization.getLineTokens(r.lineNumber);let l;try{l=t.onElectricCharacter(o,a,r.column)}catch(d){return Xe(d),null}if(!l)return null;if(l.matchOpenBracket){const d=(a.getLineContent()+o).lastIndexOf(l.matchOpenBracket)+1,c=i.bracketPairs.findMatchingBracketUp(l.matchOpenBracket,{lineNumber:r.lineNumber,column:d},500);if(c){if(c.startLineNumber===r.lineNumber)return null;const u=i.getLineContent(c.startLineNumber),h=Zt(u),g=t.normalizeIndentation(h),f=i.getLineContent(r.lineNumber),m=i.getLineFirstNonWhitespaceColumn(r.lineNumber)||r.column,_=f.substring(m-1,r.column-1),v=g+_+o,b=new x(r.lineNumber,1,r.lineNumber,r.column),C=new qn(b,v);return new Js(fI(v,e),[C],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,i,n,o,r){if(!n)return null;let a=null;for(const u of n)if(a===null)a=u.insertedText;else if(a!==u.insertedText)return null;if(!a||a.length!==1)return null;const l=a;let d=!1;for(const u of n)if(u.deletedText.length!==0){d=!0;break}if(d){if(!bi._shouldSurroundChar(t,l)||!t.surroundingPairs.hasOwnProperty(l))return null;const u=yu(l);for(const f of n)if(f.deletedSelectionStart!==0||f.deletedSelectionEnd!==f.deletedText.length||/^[ \\t]+$/.test(f.deletedText)||u&&yu(f.deletedText))return null;const h=[];for(const f of o){if(!f.isEmpty())return null;h.push(f.getPosition())}if(h.length!==n.length)return null;const g=[];for(let f=0,m=h.length;f<m;f++)g.push(new Ffe(h[f],n[f].deletedText,t.surroundingPairs[l]));return new Js(4,g,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(t,i,o,r,l)){const u=o.map(h=>new qn(new x(h.positionLineNumber,h.positionColumn,h.positionLineNumber,h.positionColumn+1),\"\",!1));return new Js(4,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const c=this._getAutoClosingPairClose(t,i,o,l,!0);return c!==null?this._runAutoClosingOpenCharType(e,t,i,o,l,!0,c):null}static typeWithInterceptors(e,t,i,n,o,r,a){if(!e&&a===`\n`){const c=[];for(let u=0,h=o.length;u<h;u++)c[u]=bi._enter(i,n,!1,o[u]);return new Js(4,c,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(i,n,o)){const c=[];let u=!1;for(let h=0,g=o.length;h<g;h++)if(c[h]=this._runAutoIndentType(i,n,o[h],a),!c[h]){u=!0;break}if(!u)return new Js(4,c,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(i,n,o,r,a))return this._runAutoClosingOvertype(t,i,n,o,a);if(!e){const c=this._getAutoClosingPairClose(i,n,o,a,!1);if(c)return this._runAutoClosingOpenCharType(t,i,n,o,a,!1,c)}if(!e&&this._isSurroundSelectionType(i,n,o,a))return this._runSurroundSelectionType(t,i,n,o,a);if(!e&&this._isTypeInterceptorElectricChar(i,n,o)){const c=this._typeInterceptorElectricChar(t,i,n,o[0],a);if(c)return c}const l=[];for(let c=0,u=o.length;c<u;c++)l[c]=new qn(o[c],a);const d=fI(a,t);return new Js(d,l,{shouldPushStackElementBefore:Iw(t,d),shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,i,n,o){const r=[];for(let l=0,d=n.length;l<d;l++)r[l]=new qn(n[l],o);const a=fI(o,e);return new Js(a,r,{shouldPushStackElementBefore:Iw(e,a),shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,i){if(t===null||i===null)return[];const n=[];for(let o=0,r=i.length;o<r;o++){let a=i[o].positionLineNumber;if(a===1)n[o]=new kw(new x(1,1,1,1),`\n`);else{a--;const l=t.getLineMaxColumn(a);n[o]=this._enter(e,t,!1,new x(a,l,a,l))}}return n}static lineInsertAfter(e,t,i){if(t===null||i===null)return[];const n=[];for(let o=0,r=i.length;o<r;o++){const a=i[o].positionLineNumber,l=t.getLineMaxColumn(a);n[o]=this._enter(e,t,!1,new x(a,l,a,l))}return n}static lineBreakInsert(e,t,i){const n=[];for(let o=0,r=i.length;o<r;o++)n[o]=this._enter(e,t,!0,i[o]);return n}}class t$ extends qy{constructor(e,t,i,n){super(e,(i?t:\"\")+n,0,-n.length),this._openCharacter=t,this._closeCharacter=n,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this.closeCharacterRange=new x(n.startLineNumber,n.endColumn-this._closeCharacter.length,n.endLineNumber,n.endColumn),this.enclosingRange=new x(n.startLineNumber,n.endColumn-this._openCharacter.length-this._closeCharacter.length,n.endLineNumber,n.endColumn),super.computeCursorState(e,t)}}class Hfe{constructor(e,t,i,n,o,r){this.deletedText=e,this.deletedSelectionStart=t,this.deletedSelectionEnd=i,this.insertedText=n,this.insertedSelectionStart=o,this.insertedSelectionEnd=r}}function fI(s,e){return s===\" \"?e===5||e===6?6:5:4}function Iw(s,e){return zB(s)&&!zB(e)?!0:s===5?!1:VB(s)!==VB(e)}function VB(s){return s===6||s===5?\"space\":s}function zB(s){return s===4||s===5||s===6}var T;(function(s){s.editorSimpleInput=new ue(\"editorSimpleInput\",!1,!0),s.editorTextFocus=new ue(\"editorTextFocus\",!1,p(\"editorTextFocus\",\"Whether the editor text has focus (cursor is blinking)\")),s.focus=new ue(\"editorFocus\",!1,p(\"editorFocus\",\"Whether the editor or an editor widget has focus (e.g. focus is in the find widget)\")),s.textInputFocus=new ue(\"textInputFocus\",!1,p(\"textInputFocus\",\"Whether an editor or a rich text input has focus (cursor is blinking)\")),s.readOnly=new ue(\"editorReadonly\",!1,p(\"editorReadonly\",\"Whether the editor is read-only\")),s.inDiffEditor=new ue(\"inDiffEditor\",!1,p(\"inDiffEditor\",\"Whether the context is a diff editor\")),s.isEmbeddedDiffEditor=new ue(\"isEmbeddedDiffEditor\",!1,p(\"isEmbeddedDiffEditor\",\"Whether the context is an embedded diff editor\")),s.inMultiDiffEditor=new ue(\"inMultiDiffEditor\",!1,p(\"inMultiDiffEditor\",\"Whether the context is a multi diff editor\")),s.multiDiffEditorAllCollapsed=new ue(\"multiDiffEditorAllCollapsed\",void 0,p(\"multiDiffEditorAllCollapsed\",\"Whether all files in multi diff editor are collapsed\")),s.hasChanges=new ue(\"diffEditorHasChanges\",!1,p(\"diffEditorHasChanges\",\"Whether the diff editor has changes\")),s.comparingMovedCode=new ue(\"comparingMovedCode\",!1,p(\"comparingMovedCode\",\"Whether a moved code block is selected for comparison\")),s.accessibleDiffViewerVisible=new ue(\"accessibleDiffViewerVisible\",!1,p(\"accessibleDiffViewerVisible\",\"Whether the accessible diff viewer is visible\")),s.diffEditorRenderSideBySideInlineBreakpointReached=new ue(\"diffEditorRenderSideBySideInlineBreakpointReached\",!1,p(\"diffEditorRenderSideBySideInlineBreakpointReached\",\"Whether the diff editor render side by side inline breakpoint is reached\")),s.diffEditorInlineMode=new ue(\"diffEditorInlineMode\",!1,p(\"diffEditorInlineMode\",\"Whether inline mode is active\")),s.diffEditorOriginalWritable=new ue(\"diffEditorOriginalWritable\",!1,p(\"diffEditorOriginalWritable\",\"Whether modified is writable in the diff editor\")),s.diffEditorModifiedWritable=new ue(\"diffEditorModifiedWritable\",!1,p(\"diffEditorModifiedWritable\",\"Whether modified is writable in the diff editor\")),s.diffEditorOriginalUri=new ue(\"diffEditorOriginalUri\",\"\",p(\"diffEditorOriginalUri\",\"The uri of the original document\")),s.diffEditorModifiedUri=new ue(\"diffEditorModifiedUri\",\"\",p(\"diffEditorModifiedUri\",\"The uri of the modified document\")),s.columnSelection=new ue(\"editorColumnSelection\",!1,p(\"editorColumnSelection\",\"Whether `editor.columnSelection` is enabled\")),s.writable=s.readOnly.toNegated(),s.hasNonEmptySelection=new ue(\"editorHasSelection\",!1,p(\"editorHasSelection\",\"Whether the editor has text selected\")),s.hasOnlyEmptySelection=s.hasNonEmptySelection.toNegated(),s.hasMultipleSelections=new ue(\"editorHasMultipleSelections\",!1,p(\"editorHasMultipleSelections\",\"Whether the editor has multiple selections\")),s.hasSingleSelection=s.hasMultipleSelections.toNegated(),s.tabMovesFocus=new ue(\"editorTabMovesFocus\",!1,p(\"editorTabMovesFocus\",\"Whether `Tab` will move focus out of the editor\")),s.tabDoesNotMoveFocus=s.tabMovesFocus.toNegated(),s.isInEmbeddedEditor=new ue(\"isInEmbeddedEditor\",!1,!0),s.canUndo=new ue(\"canUndo\",!1,!0),s.canRedo=new ue(\"canRedo\",!1,!0),s.hoverVisible=new ue(\"editorHoverVisible\",!1,p(\"editorHoverVisible\",\"Whether the editor hover is visible\")),s.hoverFocused=new ue(\"editorHoverFocused\",!1,p(\"editorHoverFocused\",\"Whether the editor hover is focused\")),s.stickyScrollFocused=new ue(\"stickyScrollFocused\",!1,p(\"stickyScrollFocused\",\"Whether the sticky scroll is focused\")),s.stickyScrollVisible=new ue(\"stickyScrollVisible\",!1,p(\"stickyScrollVisible\",\"Whether the sticky scroll is visible\")),s.standaloneColorPickerVisible=new ue(\"standaloneColorPickerVisible\",!1,p(\"standaloneColorPickerVisible\",\"Whether the standalone color picker is visible\")),s.standaloneColorPickerFocused=new ue(\"standaloneColorPickerFocused\",!1,p(\"standaloneColorPickerFocused\",\"Whether the standalone color picker is focused\")),s.inCompositeEditor=new ue(\"inCompositeEditor\",void 0,p(\"inCompositeEditor\",\"Whether the editor is part of a larger editor (e.g. notebooks)\")),s.notInCompositeEditor=s.inCompositeEditor.toNegated(),s.languageId=new ue(\"editorLangId\",\"\",p(\"editorLangId\",\"The language identifier of the editor\")),s.hasCompletionItemProvider=new ue(\"editorHasCompletionItemProvider\",!1,p(\"editorHasCompletionItemProvider\",\"Whether the editor has a completion item provider\")),s.hasCodeActionsProvider=new ue(\"editorHasCodeActionsProvider\",!1,p(\"editorHasCodeActionsProvider\",\"Whether the editor has a code actions provider\")),s.hasCodeLensProvider=new ue(\"editorHasCodeLensProvider\",!1,p(\"editorHasCodeLensProvider\",\"Whether the editor has a code lens provider\")),s.hasDefinitionProvider=new ue(\"editorHasDefinitionProvider\",!1,p(\"editorHasDefinitionProvider\",\"Whether the editor has a definition provider\")),s.hasDeclarationProvider=new ue(\"editorHasDeclarationProvider\",!1,p(\"editorHasDeclarationProvider\",\"Whether the editor has a declaration provider\")),s.hasImplementationProvider=new ue(\"editorHasImplementationProvider\",!1,p(\"editorHasImplementationProvider\",\"Whether the editor has an implementation provider\")),s.hasTypeDefinitionProvider=new ue(\"editorHasTypeDefinitionProvider\",!1,p(\"editorHasTypeDefinitionProvider\",\"Whether the editor has a type definition provider\")),s.hasHoverProvider=new ue(\"editorHasHoverProvider\",!1,p(\"editorHasHoverProvider\",\"Whether the editor has a hover provider\")),s.hasDocumentHighlightProvider=new ue(\"editorHasDocumentHighlightProvider\",!1,p(\"editorHasDocumentHighlightProvider\",\"Whether the editor has a document highlight provider\")),s.hasDocumentSymbolProvider=new ue(\"editorHasDocumentSymbolProvider\",!1,p(\"editorHasDocumentSymbolProvider\",\"Whether the editor has a document symbol provider\")),s.hasReferenceProvider=new ue(\"editorHasReferenceProvider\",!1,p(\"editorHasReferenceProvider\",\"Whether the editor has a reference provider\")),s.hasRenameProvider=new ue(\"editorHasRenameProvider\",!1,p(\"editorHasRenameProvider\",\"Whether the editor has a rename provider\")),s.hasSignatureHelpProvider=new ue(\"editorHasSignatureHelpProvider\",!1,p(\"editorHasSignatureHelpProvider\",\"Whether the editor has a signature help provider\")),s.hasInlayHintsProvider=new ue(\"editorHasInlayHintsProvider\",!1,p(\"editorHasInlayHintsProvider\",\"Whether the editor has an inline hints provider\")),s.hasDocumentFormattingProvider=new ue(\"editorHasDocumentFormattingProvider\",!1,p(\"editorHasDocumentFormattingProvider\",\"Whether the editor has a document formatting provider\")),s.hasDocumentSelectionFormattingProvider=new ue(\"editorHasDocumentSelectionFormattingProvider\",!1,p(\"editorHasDocumentSelectionFormattingProvider\",\"Whether the editor has a document selection formatting provider\")),s.hasMultipleDocumentFormattingProvider=new ue(\"editorHasMultipleDocumentFormattingProvider\",!1,p(\"editorHasMultipleDocumentFormattingProvider\",\"Whether the editor has multiple document formatting providers\")),s.hasMultipleDocumentSelectionFormattingProvider=new ue(\"editorHasMultipleDocumentSelectionFormattingProvider\",!1,p(\"editorHasMultipleDocumentSelectionFormattingProvider\",\"Whether the editor has multiple document selection formatting providers\"))})(T||(T={}));const Lt=0;class ki extends mn{runEditorCommand(e,t,i){const n=t._getViewModel();n&&this.runCoreEditorCommand(n,i||{})}}var Kn;(function(s){const e=function(i){if(!Ms(i))return!1;const n=i;return!(!lo(n.to)||!oo(n.by)&&!lo(n.by)||!oo(n.value)&&!yh(n.value)||!oo(n.revealCursor)&&!EV(n.revealCursor))};s.metadata={description:\"Scroll editor in the given direction\",args:[{name:\"Editor scroll argument object\",description:\"Property-value pairs that can be passed through this argument:\\n\t\t\t\t\t* 'to': A mandatory direction value.\\n\t\t\t\t\t\t```\\n\t\t\t\t\t\t'up', 'down'\\n\t\t\t\t\t\t```\\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\\n\t\t\t\t\t\t```\\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage', 'editor'\\n\t\t\t\t\t\t```\\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\\n\t\t\t\t\",constraint:e,schema:{type:\"object\",required:[\"to\"],properties:{to:{type:\"string\",enum:[\"up\",\"down\"]},by:{type:\"string\",enum:[\"line\",\"wrappedLine\",\"page\",\"halfPage\",\"editor\"]},value:{type:\"number\",default:1},revealCursor:{type:\"boolean\"}}}}]},s.RawDirection={Up:\"up\",Right:\"right\",Down:\"down\",Left:\"left\"},s.RawUnit={Line:\"line\",WrappedLine:\"wrappedLine\",Page:\"page\",HalfPage:\"halfPage\",Editor:\"editor\",Column:\"column\"};function t(i){let n;switch(i.to){case s.RawDirection.Up:n=1;break;case s.RawDirection.Right:n=2;break;case s.RawDirection.Down:n=3;break;case s.RawDirection.Left:n=4;break;default:return null}let o;switch(i.by){case s.RawUnit.Line:o=1;break;case s.RawUnit.WrappedLine:o=2;break;case s.RawUnit.Page:o=3;break;case s.RawUnit.HalfPage:o=4;break;case s.RawUnit.Editor:o=5;break;case s.RawUnit.Column:o=6;break;default:o=2}const r=Math.floor(i.value||1),a=!!i.revealCursor;return{direction:n,unit:o,value:r,revealCursor:a,select:!!i.select}}s.parse=t})(Kn||(Kn={}));var hm;(function(s){const e=function(t){if(!Ms(t))return!1;const i=t;return!(!yh(i.lineNumber)&&!lo(i.lineNumber)||!oo(i.at)&&!lo(i.at))};s.metadata={description:\"Reveal the given line at the given logical position\",args:[{name:\"Reveal line argument object\",description:\"Property-value pairs that can be passed through this argument:\\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed.\\n\t\t\t\t\t\t```\\n\t\t\t\t\t\t'top', 'center', 'bottom'\\n\t\t\t\t\t\t```\\n\t\t\t\t\",constraint:e,schema:{type:\"object\",required:[\"lineNumber\"],properties:{lineNumber:{type:[\"number\",\"string\"]},at:{type:\"string\",enum:[\"top\",\"center\",\"bottom\"]}}}}]},s.RawAtArgument={Top:\"top\",Center:\"center\",Bottom:\"bottom\"}})(hm||(hm={}));class PA{constructor(e){e.addImplementation(1e4,\"code-editor\",(t,i)=>{const n=t.get(xt).getFocusedCodeEditor();return n&&n.hasTextFocus()?this._runEditorCommand(t,n,i):!1}),e.addImplementation(1e3,\"generic-dom-input-textarea\",(t,i)=>{const n=Xn();return n&&[\"input\",\"textarea\"].indexOf(n.tagName.toLowerCase())>=0?(this.runDOMCommand(n),!0):!1}),e.addImplementation(0,\"generic-dom\",(t,i)=>{const n=t.get(xt).getActiveCodeEditor();return n?(n.focus(),this._runEditorCommand(t,n,i)):!1})}_runEditorCommand(e,t,i){const n=this.runEditorCommand(e,t,i);return n||!0}}var kn;(function(s){class e extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){if(!C.position)return;b.model.pushStackElement(),b.setCursorStates(C.source,3,[On.moveTo(b,b.getPrimaryCursorState(),this._inSelectionMode,C.position,C.viewPosition)])&&C.revealType!==2&&b.revealAllCursors(C.source,!0,!0)}}s.MoveTo=de(new e({id:\"_moveTo\",inSelectionMode:!1,precondition:void 0})),s.MoveToSelect=de(new e({id:\"_moveToSelect\",inSelectionMode:!0,precondition:void 0}));class t extends ki{runCoreEditorCommand(b,C){b.model.pushStackElement();const w=this._getColumnSelectResult(b,b.getPrimaryCursorState(),b.getCursorColumnSelectData(),C);w!==null&&(b.setCursorStates(C.source,3,w.viewStates.map(y=>wt.fromViewState(y))),b.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:w.fromLineNumber,fromViewVisualColumn:w.fromVisualColumn,toViewLineNumber:w.toLineNumber,toViewVisualColumn:w.toVisualColumn}),w.reversed?b.revealTopMostCursor(C.source):b.revealBottomMostCursor(C.source))}}s.ColumnSelect=de(new class extends t{constructor(){super({id:\"columnSelect\",precondition:void 0})}_getColumnSelectResult(v,b,C,w){if(typeof w.position>\"u\"||typeof w.viewPosition>\"u\"||typeof w.mouseColumn>\"u\")return null;const y=v.model.validatePosition(w.position),D=v.coordinatesConverter.validateViewPosition(new W(w.viewPosition.lineNumber,w.viewPosition.column),y),L=w.doColumnSelect?C.fromViewLineNumber:D.lineNumber,k=w.doColumnSelect?C.fromViewVisualColumn:w.mouseColumn-1;return Hg.columnSelect(v.cursorConfig,v,L,k,D.lineNumber,w.mouseColumn-1)}}),s.CursorColumnSelectLeft=de(new class extends t{constructor(){super({id:\"cursorColumnSelectLeft\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(v,b,C,w){return Hg.columnSelectLeft(v.cursorConfig,v,C)}}),s.CursorColumnSelectRight=de(new class extends t{constructor(){super({id:\"cursorColumnSelectRight\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(v,b,C,w){return Hg.columnSelectRight(v.cursorConfig,v,C)}});class i extends t{constructor(b){super(b),this._isPaged=b.isPaged}_getColumnSelectResult(b,C,w,y){return Hg.columnSelectUp(b.cursorConfig,b,w,this._isPaged)}}s.CursorColumnSelectUp=de(new i({isPaged:!1,id:\"cursorColumnSelectUp\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3600,linux:{primary:0}}})),s.CursorColumnSelectPageUp=de(new i({isPaged:!0,id:\"cursorColumnSelectPageUp\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3595,linux:{primary:0}}}));class n extends t{constructor(b){super(b),this._isPaged=b.isPaged}_getColumnSelectResult(b,C,w,y){return Hg.columnSelectDown(b.cursorConfig,b,w,this._isPaged)}}s.CursorColumnSelectDown=de(new n({isPaged:!1,id:\"cursorColumnSelectDown\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3602,linux:{primary:0}}})),s.CursorColumnSelectPageDown=de(new n({isPaged:!0,id:\"cursorColumnSelectPageDown\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3596,linux:{primary:0}}}));class o extends ki{constructor(){super({id:\"cursorMove\",precondition:void 0,metadata:rD.metadata})}runCoreEditorCommand(b,C){const w=rD.parse(C);w&&this._runCursorMove(b,C.source,w)}_runCursorMove(b,C,w){b.model.pushStackElement(),b.setCursorStates(C,3,o._move(b,b.getCursorStates(),w)),b.revealAllCursors(C,!0)}static _move(b,C,w){const y=w.select,D=w.value;switch(w.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return On.simpleMove(b,C,w.direction,y,D,w.unit);case 11:case 13:case 12:case 14:return On.viewportMove(b,C,w.direction,y,D);default:return null}}}s.CursorMoveImpl=o,s.CursorMove=de(new o);class r extends ki{constructor(b){super(b),this._staticArgs=b.args}runCoreEditorCommand(b,C){let w=this._staticArgs;this._staticArgs.value===-1&&(w={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:C.pageSize||b.cursorConfig.pageSize}),b.model.pushStackElement(),b.setCursorStates(C.source,3,On.simpleMove(b,b.getCursorStates(),w.direction,w.select,w.value,w.unit)),b.revealAllCursors(C.source,!0)}}s.CursorLeft=de(new r({args:{direction:0,unit:0,select:!1,value:1},id:\"cursorLeft\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),s.CursorLeftSelect=de(new r({args:{direction:0,unit:0,select:!0,value:1},id:\"cursorLeftSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1039}})),s.CursorRight=de(new r({args:{direction:1,unit:0,select:!1,value:1},id:\"cursorRight\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),s.CursorRightSelect=de(new r({args:{direction:1,unit:0,select:!0,value:1},id:\"cursorRightSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1041}})),s.CursorUp=de(new r({args:{direction:2,unit:2,select:!1,value:1},id:\"cursorUp\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),s.CursorUpSelect=de(new r({args:{direction:2,unit:2,select:!0,value:1},id:\"cursorUpSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),s.CursorPageUp=de(new r({args:{direction:2,unit:2,select:!1,value:-1},id:\"cursorPageUp\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:11}})),s.CursorPageUpSelect=de(new r({args:{direction:2,unit:2,select:!0,value:-1},id:\"cursorPageUpSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1035}})),s.CursorDown=de(new r({args:{direction:3,unit:2,select:!1,value:1},id:\"cursorDown\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),s.CursorDownSelect=de(new r({args:{direction:3,unit:2,select:!0,value:1},id:\"cursorDownSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),s.CursorPageDown=de(new r({args:{direction:3,unit:2,select:!1,value:-1},id:\"cursorPageDown\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:12}})),s.CursorPageDownSelect=de(new r({args:{direction:3,unit:2,select:!0,value:-1},id:\"cursorPageDownSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1036}})),s.CreateCursor=de(new class extends ki{constructor(){super({id:\"createCursor\",precondition:void 0})}runCoreEditorCommand(v,b){if(!b.position)return;let C;b.wholeLine?C=On.line(v,v.getPrimaryCursorState(),!1,b.position,b.viewPosition):C=On.moveTo(v,v.getPrimaryCursorState(),!1,b.position,b.viewPosition);const w=v.getCursorStates();if(w.length>1){const y=C.modelState?C.modelState.position:null,D=C.viewState?C.viewState.position:null;for(let L=0,k=w.length;L<k;L++){const I=w[L];if(!(y&&!I.modelState.selection.containsPosition(y))&&!(D&&!I.viewState.selection.containsPosition(D))){w.splice(L,1),v.model.pushStackElement(),v.setCursorStates(b.source,3,w);return}}}w.push(C),v.model.pushStackElement(),v.setCursorStates(b.source,3,w)}}),s.LastCursorMoveToSelect=de(new class extends ki{constructor(){super({id:\"_lastCursorMoveToSelect\",precondition:void 0})}runCoreEditorCommand(v,b){if(!b.position)return;const C=v.getLastAddedCursorIndex(),w=v.getCursorStates(),y=w.slice(0);y[C]=On.moveTo(v,w[C],!0,b.position,b.viewPosition),v.model.pushStackElement(),v.setCursorStates(b.source,3,y)}});class a extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){b.model.pushStackElement(),b.setCursorStates(C.source,3,On.moveToBeginningOfLine(b,b.getCursorStates(),this._inSelectionMode)),b.revealAllCursors(C.source,!0)}}s.CursorHome=de(new a({inSelectionMode:!1,id:\"cursorHome\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),s.CursorHomeSelect=de(new a({inSelectionMode:!0,id:\"cursorHomeSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class l extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){b.model.pushStackElement(),b.setCursorStates(C.source,3,this._exec(b.getCursorStates())),b.revealAllCursors(C.source,!0)}_exec(b){const C=[];for(let w=0,y=b.length;w<y;w++){const D=b[w],L=D.modelState.position.lineNumber;C[w]=wt.fromModelState(D.modelState.move(this._inSelectionMode,L,1,0))}return C}}s.CursorLineStart=de(new l({inSelectionMode:!1,id:\"cursorLineStart\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:0,mac:{primary:287}}})),s.CursorLineStartSelect=de(new l({inSelectionMode:!0,id:\"cursorLineStartSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:0,mac:{primary:1311}}}));class d extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){b.model.pushStackElement(),b.setCursorStates(C.source,3,On.moveToEndOfLine(b,b.getCursorStates(),this._inSelectionMode,C.sticky||!1)),b.revealAllCursors(C.source,!0)}}s.CursorEnd=de(new d({inSelectionMode:!1,id:\"cursorEnd\",precondition:void 0,kbOpts:{args:{sticky:!1},weight:Lt,kbExpr:T.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},metadata:{description:\"Go to End\",args:[{name:\"args\",schema:{type:\"object\",properties:{sticky:{description:p(\"stickydesc\",\"Stick to the end even when going to longer lines\"),type:\"boolean\",default:!1}}}}]}})),s.CursorEndSelect=de(new d({inSelectionMode:!0,id:\"cursorEndSelect\",precondition:void 0,kbOpts:{args:{sticky:!1},weight:Lt,kbExpr:T.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},metadata:{description:\"Select to End\",args:[{name:\"args\",schema:{type:\"object\",properties:{sticky:{description:p(\"stickydesc\",\"Stick to the end even when going to longer lines\"),type:\"boolean\",default:!1}}}}]}}));class c extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){b.model.pushStackElement(),b.setCursorStates(C.source,3,this._exec(b,b.getCursorStates())),b.revealAllCursors(C.source,!0)}_exec(b,C){const w=[];for(let y=0,D=C.length;y<D;y++){const L=C[y],k=L.modelState.position.lineNumber,I=b.model.getLineMaxColumn(k);w[y]=wt.fromModelState(L.modelState.move(this._inSelectionMode,k,I,0))}return w}}s.CursorLineEnd=de(new c({inSelectionMode:!1,id:\"cursorLineEnd\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:0,mac:{primary:291}}})),s.CursorLineEndSelect=de(new c({inSelectionMode:!0,id:\"cursorLineEndSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:0,mac:{primary:1315}}}));class u extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){b.model.pushStackElement(),b.setCursorStates(C.source,3,On.moveToBeginningOfBuffer(b,b.getCursorStates(),this._inSelectionMode)),b.revealAllCursors(C.source,!0)}}s.CursorTop=de(new u({inSelectionMode:!1,id:\"cursorTop\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:2062,mac:{primary:2064}}})),s.CursorTopSelect=de(new u({inSelectionMode:!0,id:\"cursorTopSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3086,mac:{primary:3088}}}));class h extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){b.model.pushStackElement(),b.setCursorStates(C.source,3,On.moveToEndOfBuffer(b,b.getCursorStates(),this._inSelectionMode)),b.revealAllCursors(C.source,!0)}}s.CursorBottom=de(new h({inSelectionMode:!1,id:\"cursorBottom\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:2061,mac:{primary:2066}}})),s.CursorBottomSelect=de(new h({inSelectionMode:!0,id:\"cursorBottomSelect\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:3085,mac:{primary:3090}}}));class g extends ki{constructor(){super({id:\"editorScroll\",precondition:void 0,metadata:Kn.metadata})}determineScrollMethod(b){const C=[6],w=[1,2,3,4,5,6],y=[4,2],D=[1,3];return C.includes(b.unit)&&y.includes(b.direction)?this._runHorizontalEditorScroll.bind(this):w.includes(b.unit)&&D.includes(b.direction)?this._runVerticalEditorScroll.bind(this):null}runCoreEditorCommand(b,C){const w=Kn.parse(C);if(!w)return;const y=this.determineScrollMethod(w);y&&y(b,C.source,w)}_runVerticalEditorScroll(b,C,w){const y=this._computeDesiredScrollTop(b,w);if(w.revealCursor){const D=b.getCompletelyVisibleViewRangeAtScrollTop(y);b.setCursorStates(C,3,[On.findPositionInViewportIfOutside(b,b.getPrimaryCursorState(),D,w.select)])}b.viewLayout.setScrollPosition({scrollTop:y},0)}_computeDesiredScrollTop(b,C){if(C.unit===1){const D=b.viewLayout.getFutureViewport(),L=b.getCompletelyVisibleViewRangeAtScrollTop(D.top),k=b.coordinatesConverter.convertViewRangeToModelRange(L);let I;C.direction===1?I=Math.max(1,k.startLineNumber-C.value):I=Math.min(b.model.getLineCount(),k.startLineNumber+C.value);const O=b.coordinatesConverter.convertModelPositionToViewPosition(new W(I,1));return b.viewLayout.getVerticalOffsetForLineNumber(O.lineNumber)}if(C.unit===5){let D=0;return C.direction===3&&(D=b.model.getLineCount()-b.cursorConfig.pageSize),b.viewLayout.getVerticalOffsetForLineNumber(D)}let w;C.unit===3?w=b.cursorConfig.pageSize*C.value:C.unit===4?w=Math.round(b.cursorConfig.pageSize/2)*C.value:w=C.value;const y=(C.direction===1?-1:1)*w;return b.viewLayout.getCurrentScrollTop()+y*b.cursorConfig.lineHeight}_runHorizontalEditorScroll(b,C,w){const y=this._computeDesiredScrollLeft(b,w);b.viewLayout.setScrollPosition({scrollLeft:y},0)}_computeDesiredScrollLeft(b,C){const w=(C.direction===4?-1:1)*C.value;return b.viewLayout.getCurrentScrollLeft()+w*b.cursorConfig.typicalHalfwidthCharacterWidth}}s.EditorScrollImpl=g,s.EditorScroll=de(new g),s.ScrollLineUp=de(new class extends ki{constructor(){super({id:\"scrollLineUp\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Up,by:Kn.RawUnit.WrappedLine,value:1,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollPageUp=de(new class extends ki{constructor(){super({id:\"scrollPageUp\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Up,by:Kn.RawUnit.Page,value:1,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollEditorTop=de(new class extends ki{constructor(){super({id:\"scrollEditorTop\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Up,by:Kn.RawUnit.Editor,value:1,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollLineDown=de(new class extends ki{constructor(){super({id:\"scrollLineDown\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Down,by:Kn.RawUnit.WrappedLine,value:1,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollPageDown=de(new class extends ki{constructor(){super({id:\"scrollPageDown\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Down,by:Kn.RawUnit.Page,value:1,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollEditorBottom=de(new class extends ki{constructor(){super({id:\"scrollEditorBottom\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Down,by:Kn.RawUnit.Editor,value:1,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollLeft=de(new class extends ki{constructor(){super({id:\"scrollLeft\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Left,by:Kn.RawUnit.Column,value:2,revealCursor:!1,select:!1,source:b.source})}}),s.ScrollRight=de(new class extends ki{constructor(){super({id:\"scrollRight\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus}})}runCoreEditorCommand(v,b){s.EditorScroll.runCoreEditorCommand(v,{to:Kn.RawDirection.Right,by:Kn.RawUnit.Column,value:2,revealCursor:!1,select:!1,source:b.source})}});class f extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){C.position&&(b.model.pushStackElement(),b.setCursorStates(C.source,3,[On.word(b,b.getPrimaryCursorState(),this._inSelectionMode,C.position)]),C.revealType!==2&&b.revealAllCursors(C.source,!0,!0))}}s.WordSelect=de(new f({inSelectionMode:!1,id:\"_wordSelect\",precondition:void 0})),s.WordSelectDrag=de(new f({inSelectionMode:!0,id:\"_wordSelectDrag\",precondition:void 0})),s.LastCursorWordSelect=de(new class extends ki{constructor(){super({id:\"lastCursorWordSelect\",precondition:void 0})}runCoreEditorCommand(v,b){if(!b.position)return;const C=v.getLastAddedCursorIndex(),w=v.getCursorStates(),y=w.slice(0),D=w[C];y[C]=On.word(v,D,D.modelState.hasSelection(),b.position),v.model.pushStackElement(),v.setCursorStates(b.source,3,y)}});class m extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){C.position&&(b.model.pushStackElement(),b.setCursorStates(C.source,3,[On.line(b,b.getPrimaryCursorState(),this._inSelectionMode,C.position,C.viewPosition)]),C.revealType!==2&&b.revealAllCursors(C.source,!1,!0))}}s.LineSelect=de(new m({inSelectionMode:!1,id:\"_lineSelect\",precondition:void 0})),s.LineSelectDrag=de(new m({inSelectionMode:!0,id:\"_lineSelectDrag\",precondition:void 0}));class _ extends ki{constructor(b){super(b),this._inSelectionMode=b.inSelectionMode}runCoreEditorCommand(b,C){if(!C.position)return;const w=b.getLastAddedCursorIndex(),y=b.getCursorStates(),D=y.slice(0);D[w]=On.line(b,y[w],this._inSelectionMode,C.position,C.viewPosition),b.model.pushStackElement(),b.setCursorStates(C.source,3,D)}}s.LastCursorLineSelect=de(new _({inSelectionMode:!1,id:\"lastCursorLineSelect\",precondition:void 0})),s.LastCursorLineSelectDrag=de(new _({inSelectionMode:!0,id:\"lastCursorLineSelectDrag\",precondition:void 0})),s.CancelSelection=de(new class extends ki{constructor(){super({id:\"cancelSelection\",precondition:T.hasNonEmptySelection,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(v,b){v.model.pushStackElement(),v.setCursorStates(b.source,3,[On.cancelSelection(v,v.getPrimaryCursorState())]),v.revealAllCursors(b.source,!0)}}),s.RemoveSecondaryCursors=de(new class extends ki{constructor(){super({id:\"removeSecondaryCursors\",precondition:T.hasMultipleSelections,kbOpts:{weight:Lt+1,kbExpr:T.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(v,b){v.model.pushStackElement(),v.setCursorStates(b.source,3,[v.getPrimaryCursorState()]),v.revealAllCursors(b.source,!0),Uc(p(\"removedCursor\",\"Removed secondary cursors\"))}}),s.RevealLine=de(new class extends ki{constructor(){super({id:\"revealLine\",precondition:void 0,metadata:hm.metadata})}runCoreEditorCommand(v,b){const C=b,w=C.lineNumber||0;let y=typeof w==\"number\"?w+1:parseInt(w)+1;y<1&&(y=1);const D=v.model.getLineCount();y>D&&(y=D);const L=new x(y,1,y,v.model.getLineMaxColumn(y));let k=0;if(C.at)switch(C.at){case hm.RawAtArgument.Top:k=3;break;case hm.RawAtArgument.Center:k=1;break;case hm.RawAtArgument.Bottom:k=4;break}const I=v.coordinatesConverter.convertModelRangeToViewRange(L);v.revealRange(b.source,!1,I,k,0)}}),s.SelectAll=new class extends PA{constructor(){super(Rle)}runDOMCommand(v){Fr&&(v.focus(),v.select()),v.ownerDocument.execCommand(\"selectAll\")}runEditorCommand(v,b,C){const w=b._getViewModel();w&&this.runCoreEditorCommand(w,C)}runCoreEditorCommand(v,b){v.model.pushStackElement(),v.setCursorStates(\"keyboard\",3,[On.selectAll(v,v.getPrimaryCursorState())])}},s.SetSelection=de(new class extends ki{constructor(){super({id:\"setSelection\",precondition:void 0})}runCoreEditorCommand(v,b){b.selection&&(v.model.pushStackElement(),v.setCursorStates(b.source,3,[wt.fromModelSelection(b.selection)]))}})})(kn||(kn={}));const Vfe=G.and(T.textInputFocus,T.columnSelection);function h0(s,e){go.registerKeybindingRule({id:s,primary:e,when:Vfe,weight:Lt+1})}h0(kn.CursorColumnSelectLeft.id,1039);h0(kn.CursorColumnSelectRight.id,1041);h0(kn.CursorColumnSelectUp.id,1040);h0(kn.CursorColumnSelectPageUp.id,1035);h0(kn.CursorColumnSelectDown.id,1042);h0(kn.CursorColumnSelectPageDown.id,1036);function UB(s){return s.register(),s}var Om;(function(s){class e extends mn{runEditorCommand(i,n,o){const r=n._getViewModel();r&&this.runCoreEditingCommand(n,r,o||{})}}s.CoreEditingCommand=e,s.LineBreakInsert=de(new class extends e{constructor(){super({id:\"lineBreakInsert\",precondition:T.writable,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(t,i,n){t.pushUndoStop(),t.executeCommands(this.id,bi.lineBreakInsert(i.cursorConfig,i.model,i.getCursorStates().map(o=>o.modelState.selection)))}}),s.Outdent=de(new class extends e{constructor(){super({id:\"outdent\",precondition:T.writable,kbOpts:{weight:Lt,kbExpr:G.and(T.editorTextFocus,T.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(t,i,n){t.pushUndoStop(),t.executeCommands(this.id,bi.outdent(i.cursorConfig,i.model,i.getCursorStates().map(o=>o.modelState.selection))),t.pushUndoStop()}}),s.Tab=de(new class extends e{constructor(){super({id:\"tab\",precondition:T.writable,kbOpts:{weight:Lt,kbExpr:G.and(T.editorTextFocus,T.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(t,i,n){t.pushUndoStop(),t.executeCommands(this.id,bi.tab(i.cursorConfig,i.model,i.getCursorStates().map(o=>o.modelState.selection))),t.pushUndoStop()}}),s.DeleteLeft=de(new class extends e{constructor(){super({id:\"deleteLeft\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(t,i,n){const[o,r]=kf.deleteLeft(i.getPrevEditOperationType(),i.cursorConfig,i.model,i.getCursorStates().map(a=>a.modelState.selection),i.getCursorAutoClosedCharacters());o&&t.pushUndoStop(),t.executeCommands(this.id,r),i.setPrevEditOperationType(2)}}),s.DeleteRight=de(new class extends e{constructor(){super({id:\"deleteRight\",precondition:void 0,kbOpts:{weight:Lt,kbExpr:T.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(t,i,n){const[o,r]=kf.deleteRight(i.getPrevEditOperationType(),i.cursorConfig,i.model,i.getCursorStates().map(a=>a.modelState.selection));o&&t.pushUndoStop(),t.executeCommands(this.id,r),i.setPrevEditOperationType(3)}}),s.Undo=new class extends PA{constructor(){super(jz)}runDOMCommand(t){t.ownerDocument.execCommand(\"undo\")}runEditorCommand(t,i,n){if(!(!i.hasModel()||i.getOption(91)===!0))return i.getModel().undo()}},s.Redo=new class extends PA{constructor(){super(Kz)}runDOMCommand(t){t.ownerDocument.execCommand(\"redo\")}runEditorCommand(t,i,n){if(!(!i.hasModel()||i.getOption(91)===!0))return i.getModel().redo()}}})(Om||(Om={}));class $B extends hx{constructor(e,t,i){super({id:e,precondition:void 0,metadata:i}),this._handlerId=t}runCommand(e,t){const i=e.get(xt).getFocusedCodeEditor();i&&i.trigger(\"keyboard\",this._handlerId,t)}}function dp(s,e){UB(new $B(\"default:\"+s,s)),UB(new $B(s,s,e))}dp(\"type\",{description:\"Type\",args:[{name:\"args\",schema:{type:\"object\",required:[\"text\"],properties:{text:{type:\"string\"}}}}]});dp(\"replacePreviousChar\");dp(\"compositionType\");dp(\"compositionStart\");dp(\"compositionEnd\");dp(\"paste\");dp(\"cut\");class zfe{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){kn.SetSelection.runCoreEditorCommand(this.viewModel,{source:\"keyboard\",selection:e})}_validateViewColumn(e){const t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new W(e.lineNumber,t):e}_hasMulticursorModifier(e){switch(this.configuration.options.get(78)){case\"altKey\":return e.altKey;case\"ctrlKey\":return e.ctrlKey;case\"metaKey\":return e.metaKey;default:return!1}}_hasNonMulticursorModifier(e){switch(this.configuration.options.get(78)){case\"altKey\":return e.ctrlKey||e.metaKey;case\"ctrlKey\":return e.altKey||e.metaKey;case\"metaKey\":return e.ctrlKey||e.altKey;default:return!1}}dispatchMouse(e){const t=this.configuration.options,i=$s&&t.get(107),n=t.get(22);e.middleButton&&!i?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position,e.revealType):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position,e.revealType):this._lineSelect(e.position,e.revealType):e.mouseDownCount>=4?this._selectAll():e.mouseDownCount===3?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position,e.revealType):this._lastCursorLineSelect(e.position,e.revealType):e.inSelectionMode?this._lineSelectDrag(e.position,e.revealType):this._lineSelect(e.position,e.revealType):e.mouseDownCount===2?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position,e.revealType):e.inSelectionMode?this._wordSelectDrag(e.position,e.revealType):this._wordSelect(e.position,e.revealType)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position,e.revealType):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):n?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position,e.revealType):this.moveTo(e.position,e.revealType)}_usualArgs(e,t){return e=this._validateViewColumn(e),{source:\"mouse\",position:this._convertViewToModelPosition(e),viewPosition:e,revealType:t}}moveTo(e,t){kn.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_moveToSelect(e,t){kn.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_columnSelect(e,t,i){e=this._validateViewColumn(e),kn.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:\"mouse\",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:i})}_createCursor(e,t){e=this._validateViewColumn(e),kn.CreateCursor.runCoreEditorCommand(this.viewModel,{source:\"mouse\",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e,t){kn.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelect(e,t){kn.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelectDrag(e,t){kn.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorWordSelect(e,t){kn.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelect(e,t){kn.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelectDrag(e,t){kn.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelect(e,t){kn.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelectDrag(e,t){kn.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_selectAll(){kn.SelectAll.runCoreEditorCommand(this.viewModel,{source:\"mouse\"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}class i${constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){const t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Ut(\"Illegal value for lineNumber\");return this._lines[t]}onLinesDeleted(e,t){if(this.getCount()===0)return null;const i=this.getStartLineNumber(),n=this.getEndLineNumber();if(t<i){const l=t-e+1;return this._rendLineNumberStart-=l,null}if(e>n)return null;let o=0,r=0;for(let l=i;l<=n;l++){const d=l-this._rendLineNumberStart;e<=l&&l<=t&&(r===0?(o=d,r=1):r++)}if(e<i){let l=0;t<i?l=t-e+1:l=i-e,this._rendLineNumberStart-=l}return this._lines.splice(o,r)}onLinesChanged(e,t){const i=e+t-1;if(this.getCount()===0)return!1;const n=this.getStartLineNumber(),o=this.getEndLineNumber();let r=!1;for(let a=e;a<=i;a++)a>=n&&a<=o&&(this._lines[a-this._rendLineNumberStart].onContentChanged(),r=!0);return r}onLinesInserted(e,t){if(this.getCount()===0)return null;const i=t-e+1,n=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=n)return this._rendLineNumberStart+=i,null;if(e>o)return null;if(i+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);const r=[];for(let u=0;u<i;u++)r[u]=this._createLine();const a=e-this._rendLineNumberStart,l=this._lines.slice(0,a),d=this._lines.slice(a,this._lines.length-i),c=this._lines.slice(this._lines.length-i,this._lines.length);return this._lines=l.concat(r).concat(d),c}onTokensChanged(e){if(this.getCount()===0)return!1;const t=this.getStartLineNumber(),i=this.getEndLineNumber();let n=!1;for(let o=0,r=e.length;o<r;o++){const a=e[o];if(a.toLineNumber<t||a.fromLineNumber>i)continue;const l=Math.max(t,a.fromLineNumber),d=Math.min(i,a.toLineNumber);for(let c=l;c<=d;c++){const u=c-this._rendLineNumberStart;this._lines[u].onTokensChanged(),n=!0}}return n}}class n${constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new i$(()=>this._host.createVisibleLine())}_createDomNode(){const e=It(document.createElement(\"div\"));return e.setClassName(\"view-layer\"),e.setPosition(\"absolute\"),e.domNode.setAttribute(\"role\",\"presentation\"),e.domNode.setAttribute(\"aria-hidden\",\"true\"),e}onConfigurationChanged(e){return!!e.hasChanged(145)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.count)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let i=0,n=t.length;i<n;i++){const o=t[i].getDomNode();o&&this.domNode.domNode.removeChild(o)}return!0}onLinesInserted(e){const t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(let i=0,n=t.length;i<n;i++){const o=t[i].getDomNode();o&&this.domNode.domNode.removeChild(o)}return!0}onScrollChanged(e){return e.scrollTopChanged}onTokensChanged(e){return this._linesCollection.onTokensChanged(e.ranges)}onZonesChanged(e){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(e){return this._linesCollection.getLine(e)}renderLines(e){const t=this._linesCollection._get(),i=new ac(this.domNode.domNode,this._host,e),n={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},o=i.render(n,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(o.rendLineNumberStart,o.lines)}}class ac{constructor(e,t,i){this.domNode=e,this.host=t,this.viewportData=i}render(e,t,i,n){const o={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(o.rendLineNumberStart+o.linesLength-1<t||i<o.rendLineNumberStart){o.rendLineNumberStart=t,o.linesLength=i-t+1,o.lines=[];for(let r=t;r<=i;r++)o.lines[r-t]=this.host.createVisibleLine();return this._finishRendering(o,!0,n),o}if(this._renderUntouchedLines(o,Math.max(t-o.rendLineNumberStart,0),Math.min(i-o.rendLineNumberStart,o.linesLength-1),n,t),o.rendLineNumberStart>t){const r=t,a=Math.min(i,o.rendLineNumberStart-1);r<=a&&(this._insertLinesBefore(o,r,a,n,t),o.linesLength+=a-r+1)}else if(o.rendLineNumberStart<t){const r=Math.min(o.linesLength,t-o.rendLineNumberStart);r>0&&(this._removeLinesBefore(o,r),o.linesLength-=r)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1<i){const r=o.rendLineNumberStart+o.linesLength,a=i;r<=a&&(this._insertLinesAfter(o,r,a,n,t),o.linesLength+=a-r+1)}else if(o.rendLineNumberStart+o.linesLength-1>i){const r=Math.max(0,i-o.rendLineNumberStart+1),l=o.linesLength-1-r+1;l>0&&(this._removeLinesAfter(o,l),o.linesLength-=l)}return this._finishRendering(o,!1,n),o}_renderUntouchedLines(e,t,i,n,o){const r=e.rendLineNumberStart,a=e.lines;for(let l=t;l<=i;l++){const d=r+l;a[l].layoutLine(d,n[d-o],this.viewportData.lineHeight)}}_insertLinesBefore(e,t,i,n,o){const r=[];let a=0;for(let l=t;l<=i;l++)r[a++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)}_removeLinesBefore(e,t){for(let i=0;i<t;i++){const n=e.lines[i].getDomNode();n&&this.domNode.removeChild(n)}e.lines.splice(0,t)}_insertLinesAfter(e,t,i,n,o){const r=[];let a=0;for(let l=t;l<=i;l++)r[a++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)}_removeLinesAfter(e,t){const i=e.linesLength-t;for(let n=0;n<t;n++){const o=e.lines[i+n].getDomNode();o&&this.domNode.removeChild(o)}e.lines.splice(i,t)}_finishRenderingNewLines(e,t,i,n){ac._ttPolicy&&(i=ac._ttPolicy.createHTML(i));const o=this.domNode.lastChild;t||!o?this.domNode.innerHTML=i:o.insertAdjacentHTML(\"afterend\",i);let r=this.domNode.lastChild;for(let a=e.linesLength-1;a>=0;a--){const l=e.lines[a];n[a]&&(l.setDomNode(r),r=r.previousSibling)}}_finishRenderingInvalidLines(e,t,i){const n=document.createElement(\"div\");ac._ttPolicy&&(t=ac._ttPolicy.createHTML(t)),n.innerHTML=t;for(let o=0;o<e.linesLength;o++){const r=e.lines[o];if(i[o]){const a=n.firstChild,l=r.getDomNode();l.parentNode.replaceChild(a,l),r.setDomNode(a)}}}_finishRendering(e,t,i){const n=ac._sb,o=e.linesLength,r=e.lines,a=e.rendLineNumberStart,l=[];{n.reset();let d=!1;for(let c=0;c<o;c++){const u=r[c];l[c]=!1,!(u.getDomNode()||!u.renderLine(c+a,i[c],this.viewportData.lineHeight,this.viewportData,n))&&(l[c]=!0,d=!0)}d&&this._finishRenderingNewLines(e,t,n.build(),l)}{n.reset();let d=!1;const c=[];for(let u=0;u<o;u++){const h=r[u];c[u]=!1,!(l[u]||!h.renderLine(u+a,i[u],this.viewportData.lineHeight,this.viewportData,n))&&(c[u]=!0,d=!0)}d&&this._finishRenderingInvalidLines(e,n.build(),c)}}}ac._ttPolicy=tu(\"editorViewLayer\",{createHTML:s=>s});ac._sb=new l0(1e5);class s$ extends Fo{constructor(e){super(e),this._visibleLines=new n$(this),this.domNode=this._visibleLines.domNode;const i=this._context.configuration.options.get(50);Un(this.domNode,i),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName(\"view-overlays\")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;e<t;e++)if(this._dynamicOverlays[e].shouldRender())return!0;return!1}dispose(){super.dispose();for(let e=0,t=this._dynamicOverlays.length;e<t;e++)this._dynamicOverlays[e].dispose();this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new Ufe(this._dynamicOverlays)}addDynamicOverlay(e){this._dynamicOverlays.push(e)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e);const i=this._context.configuration.options.get(50);return Un(this.domNode,i),!0}onFlushed(e){return this._visibleLines.onFlushed(e)}onFocusChanged(e){return this._isFocused=e.isFocused,!0}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onScrollChanged(e){return this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._visibleLines.onZonesChanged(e)}prepareRender(e){const t=this._dynamicOverlays.filter(i=>i.shouldRender());for(let i=0,n=t.length;i<n;i++){const o=t[i];o.prepareRender(e),o.onDidRender()}}render(e){this._viewOverlaysRender(e),this.domNode.toggleClassName(\"focused\",this._isFocused)}_viewOverlaysRender(e){this._visibleLines.renderLines(e.viewportData)}}class Ufe{constructor(e){this._dynamicOverlays=e,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(e){this._domNode=It(e)}onContentChanged(){}onTokensChanged(){}renderLine(e,t,i,n,o){let r=\"\";for(let a=0,l=this._dynamicOverlays.length;a<l;a++){const d=this._dynamicOverlays[a];r+=d.render(n.startLineNumber,e)}return this._renderedContent===r?!1:(this._renderedContent=r,o.appendString('<div style=\"top:'),o.appendString(String(t)),o.appendString(\"px;height:\"),o.appendString(String(i)),o.appendString('px;\">'),o.appendString(r),o.appendString(\"</div>\"),!0)}layoutLine(e,t,i){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(i))}}class $fe extends s${constructor(e){super(e);const i=this._context.configuration.options.get(145);this._contentWidth=i.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const i=this._context.configuration.options.get(145);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class jfe extends s${constructor(e){super(e);const t=this._context.configuration.options,i=t.get(145);this._contentLeft=i.contentLeft,this.domNode.setClassName(\"margin-view-overlays\"),this.domNode.setWidth(1),Un(this.domNode,t.get(50))}onConfigurationChanged(e){const t=this._context.configuration.options;Un(this.domNode,t.get(50));const i=t.get(145);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);const t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class Ix{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){var t;(t=this.onKeyDown)===null||t===void 0||t.call(this,e)}emitKeyUp(e){var t;(t=this.onKeyUp)===null||t===void 0||t.call(this,e)}emitContextMenu(e){var t;(t=this.onContextMenu)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseMove(e){var t;(t=this.onMouseMove)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){var t;(t=this.onMouseLeave)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDown(e){var t;(t=this.onMouseDown)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseUp(e){var t;(t=this.onMouseUp)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){var t;(t=this.onMouseDrag)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){var t;(t=this.onMouseDrop)===null||t===void 0||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){var e;(e=this.onMouseDropCanceled)===null||e===void 0||e.call(this)}emitMouseWheel(e){var t;(t=this.onMouseWheel)===null||t===void 0||t.call(this,e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return Ix.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){const i={...e};return i.position&&(i.position=t.convertViewPositionToModelPosition(i.position)),i.range&&(i.range=t.convertViewRangeToModelRange(i.range)),(i.type===5||i.type===8)&&(i.detail=this.convertViewToModelViewZoneData(i.detail,t)),i}static convertViewToModelViewZoneData(e,t){return{viewZoneId:e.viewZoneId,positionBefore:e.positionBefore?t.convertViewPositionToModelPosition(e.positionBefore):e.positionBefore,positionAfter:e.positionAfter?t.convertViewPositionToModelPosition(e.positionAfter):e.positionAfter,position:t.convertViewPositionToModelPosition(e.position),afterLineNumber:t.convertViewPositionToModelPosition(new W(e.afterLineNumber,1)).lineNumber}}}class Kfe extends Fo{constructor(e){super(e),this.blocks=[],this.contentWidth=-1,this.contentLeft=0,this.domNode=It(document.createElement(\"div\")),this.domNode.setAttribute(\"role\",\"presentation\"),this.domNode.setAttribute(\"aria-hidden\",\"true\"),this.domNode.setClassName(\"blockDecorations-container\"),this.update()}update(){let e=!1;const i=this._context.configuration.options.get(145),n=i.contentWidth-i.verticalScrollbarWidth;this.contentWidth!==n&&(this.contentWidth=n,e=!0);const o=i.contentLeft;return this.contentLeft!==o&&(this.contentLeft=o,e=!0),e}dispose(){super.dispose()}onConfigurationChanged(e){return this.update()}onScrollChanged(e){return e.scrollTopChanged||e.scrollLeftChanged}onDecorationsChanged(e){return!0}onZonesChanged(e){return!0}prepareRender(e){}render(e){var t;let i=0;const n=e.getDecorationsInViewport();for(const o of n){if(!o.options.blockClassName)continue;let r=this.blocks[i];r||(r=this.blocks[i]=It(document.createElement(\"div\")),this.domNode.appendChild(r));let a,l;o.options.blockIsAfterEnd?(a=e.getVerticalOffsetAfterLineNumber(o.range.endLineNumber,!1),l=e.getVerticalOffsetAfterLineNumber(o.range.endLineNumber,!0)):(a=e.getVerticalOffsetForLineNumber(o.range.startLineNumber,!0),l=o.range.isEmpty()&&!o.options.blockDoesNotCollapse?e.getVerticalOffsetForLineNumber(o.range.startLineNumber,!1):e.getVerticalOffsetAfterLineNumber(o.range.endLineNumber,!0));const[d,c,u,h]=(t=o.options.blockPadding)!==null&&t!==void 0?t:[0,0,0,0];r.setClassName(\"blockDecorations-block \"+o.options.blockClassName),r.setLeft(this.contentLeft-h),r.setWidth(this.contentWidth+h+c),r.setTop(a-e.scrollTop-d),r.setHeight(l-a+d+u),i++}for(let o=i;o<this.blocks.length;o++)this.blocks[o].domNode.remove();this.blocks.length=i}}class qfe extends Fo{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=It(document.createElement(\"div\")),rl.write(this.domNode,1),this.domNode.setClassName(\"contentWidgets\"),this.domNode.setPosition(\"absolute\"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=It(document.createElement(\"div\")),rl.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName(\"overflowingContentWidgets\")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){const t=Object.keys(this._widgets);for(const i of t)this._widgets[i].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){return this._updateAnchorsViewPositions(),!0}onLinesChanged(e){return this._updateAnchorsViewPositions(),!0}onLinesDeleted(e){return this._updateAnchorsViewPositions(),!0}onLinesInserted(e){return this._updateAnchorsViewPositions(),!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}_updateAnchorsViewPositions(){const e=Object.keys(this._widgets);for(const t of e)this._widgets[t].updateAnchorViewPosition()}addWidget(e){const t=new Gfe(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()}setWidgetPosition(e,t,i,n,o){this._widgets[e.getId()].setPosition(t,i,n,o),this.setShouldRender()}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const i=this._widgets[t];delete this._widgets[t];const n=i.domNode.domNode;n.parentNode.removeChild(n),n.removeAttribute(\"monaco-visible-content-widget\"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return this._widgets.hasOwnProperty(e)?this._widgets[e].suppressMouseDown:!1}onBeforeRender(e){const t=Object.keys(this._widgets);for(const i of t)this._widgets[i].onBeforeRender(e)}prepareRender(e){const t=Object.keys(this._widgets);for(const i of t)this._widgets[i].prepareRender(e)}render(e){const t=Object.keys(this._widgets);for(const i of t)this._widgets[i].render(e)}}class Gfe{constructor(e,t,i){this._primaryAnchor=new V0(null,null),this._secondaryAnchor=new V0(null,null),this._context=e,this._viewDomNode=t,this._actual=i,this.domNode=It(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const n=this._context.configuration.options,o=n.get(145);this._fixedOverflowWidgets=n.get(42),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=n.get(67),this._affinity=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?\"fixed\":\"absolute\"),this.domNode.setDisplay(\"none\"),this.domNode.setVisibility(\"hidden\"),this.domNode.setAttribute(\"widgetId\",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;if(this._lineHeight=t.get(67),e.hasChanged(145)){const i=t.get(145);this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._maxWidth=this._getMaxWidth()}}updateAnchorViewPosition(){this._setPosition(this._affinity,this._primaryAnchor.modelPosition,this._secondaryAnchor.modelPosition)}_setPosition(e,t,i){this._affinity=e,this._primaryAnchor=n(t,this._context.viewModel,this._affinity),this._secondaryAnchor=n(i,this._context.viewModel,this._affinity);function n(o,r,a){if(!o)return new V0(null,null);const l=r.model.validatePosition(o);if(r.coordinatesConverter.modelPositionIsVisible(l)){const d=r.coordinatesConverter.convertModelPositionToViewPosition(l,a??void 0);return new V0(o,d)}return new V0(o,null)}}_getMaxWidth(){const e=this.domNode.domNode.ownerDocument,t=e.defaultView;return this.allowEditorOverflow?(t==null?void 0:t.innerWidth)||e.documentElement.offsetWidth||e.body.offsetWidth:this._contentWidth}setPosition(e,t,i,n){this._setPosition(n,e,t),this._preference=i,this._primaryAnchor.viewPosition&&this._preference&&this._preference.length>0?this.domNode.setDisplay(\"block\"):this.domNode.setDisplay(\"none\"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,i,n){const o=e.top,r=o,a=e.top+e.height,l=n.viewportHeight-a,d=o-i,c=r>=i,u=a,h=l>=i;let g=e.left;return g+t>n.scrollLeft+n.viewportWidth&&(g=n.scrollLeft+n.viewportWidth-t),g<n.scrollLeft&&(g=n.scrollLeft),{fitsAbove:c,aboveTop:d,fitsBelow:h,belowTop:u,left:g}}_layoutHorizontalSegmentInPage(e,t,i,n){var o;const l=Math.max(15,t.left-n),d=Math.min(t.left+t.width+n,e.width-15),u=this._viewDomNode.domNode.ownerDocument.defaultView;let h=t.left+i-((o=u==null?void 0:u.scrollX)!==null&&o!==void 0?o:0);if(h+n>d){const g=h-(d-n);h-=g,i-=g}if(h<l){const g=h-l;h-=g,i-=g}return[i,h]}_layoutBoxInPage(e,t,i,n){var o,r;const a=e.top-i,l=e.top+e.height,d=qi(this._viewDomNode.domNode),c=this._viewDomNode.domNode.ownerDocument,u=c.defaultView,h=d.top+a-((o=u==null?void 0:u.scrollY)!==null&&o!==void 0?o:0),g=d.top+l-((r=u==null?void 0:u.scrollY)!==null&&r!==void 0?r:0),f=Eh(c.body),[m,_]=this._layoutHorizontalSegmentInPage(f,d,e.left-n.scrollLeft+this._contentLeft,t),v=22,b=22,C=h>=v,w=g+i<=f.height-b;return this._fixedOverflowWidgets?{fitsAbove:C,aboveTop:Math.max(h,v),fitsBelow:w,belowTop:g,left:_}:{fitsAbove:C,aboveTop:a,fitsBelow:w,belowTop:l,left:m}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new z0(e.top,e.left+this._contentLeft)}_getAnchorsCoordinates(e){var t,i;const n=a(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),o=((t=this._secondaryAnchor.viewPosition)===null||t===void 0?void 0:t.lineNumber)===((i=this._primaryAnchor.viewPosition)===null||i===void 0?void 0:i.lineNumber)?this._secondaryAnchor.viewPosition:null,r=a(o,this._affinity,this._lineHeight);return{primary:n,secondary:r};function a(l,d,c){if(!l)return null;const u=e.visibleRangeForPosition(l);if(!u)return null;const h=l.column===1&&d===3?0:u.left,g=e.getVerticalOffsetForLineNumber(l.lineNumber)-e.scrollTop;return new jB(g,h,c)}}_reduceAnchorCoordinates(e,t,i){if(!t)return e;const n=this._context.configuration.options.get(50);let o=t.left;return o<e.left?o=Math.max(o,e.left-i+n.typicalFullwidthCharacterWidth):o=Math.min(o,e.left+i-n.typicalFullwidthCharacterWidth),new jB(e.top,o,e.height)}_prepareRenderWidget(e){if(!this._preference||this._preference.length===0)return null;const{primary:t,secondary:i}=this._getAnchorsCoordinates(e);if(!t)return null;if(this._cachedDomNodeOffsetWidth===-1||this._cachedDomNodeOffsetHeight===-1){let r=null;if(typeof this._actual.beforeRender==\"function\"&&(r=pI(this._actual.beforeRender,this._actual)),r)this._cachedDomNodeOffsetWidth=r.width,this._cachedDomNodeOffsetHeight=r.height;else{const l=this.domNode.domNode.getBoundingClientRect();this._cachedDomNodeOffsetWidth=Math.round(l.width),this._cachedDomNodeOffsetHeight=Math.round(l.height)}}const n=this._reduceAnchorCoordinates(t,i,this._cachedDomNodeOffsetWidth);let o;this.allowEditorOverflow?o=this._layoutBoxInPage(n,this._cachedDomNodeOffsetWidth,this._cachedDomNodeOffsetHeight,e):o=this._layoutBoxInViewport(n,this._cachedDomNodeOffsetWidth,this._cachedDomNodeOffsetHeight,e);for(let r=1;r<=2;r++)for(const a of this._preference)if(a===1){if(!o)return null;if(r===2||o.fitsAbove)return{coordinate:new z0(o.aboveTop,o.left),position:1}}else if(a===2){if(!o)return null;if(r===2||o.fitsBelow)return{coordinate:new z0(o.belowTop,o.left),position:2}}else return this.allowEditorOverflow?{coordinate:this._prepareRenderWidgetAtExactPositionOverflowing(new z0(n.top,n.left)),position:0}:{coordinate:new z0(n.top,n.left),position:0};return null}onBeforeRender(e){!this._primaryAnchor.viewPosition||!this._preference||this._primaryAnchor.viewPosition.lineNumber<e.startLineNumber||this._primaryAnchor.viewPosition.lineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth)}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute(\"monaco-visible-content-widget\"),this._isVisible=!1,this.domNode.setVisibility(\"hidden\")),typeof this._actual.afterRender==\"function\"&&pI(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility(\"inherit\"),this.domNode.setAttribute(\"monaco-visible-content-widget\",\"true\"),this._isVisible=!0),typeof this._actual.afterRender==\"function\"&&pI(this._actual.afterRender,this._actual,this._renderData.position)}}class V0{constructor(e,t){this.modelPosition=e,this.viewPosition=t}}class z0{constructor(e,t){this.top=e,this.left=t,this._coordinateBrand=void 0}}class jB{constructor(e,t,i){this.top=e,this.left=t,this.height=i,this._anchorCoordinateBrand=void 0}}function pI(s,e,...t){try{return s.call(e,...t)}catch{return null}}class o$ extends lp{constructor(e){super(),this._context=e;const t=this._context.configuration.options,i=t.get(145);this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new we(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=new Set;for(const o of this._selections)t.add(o.positionLineNumber);const i=Array.from(t);i.sort((o,r)=>o-r),Ci(this._cursorLineNumbers,i)||(this._cursorLineNumbers=i,e=!0);const n=this._selections.every(o=>o.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(145);return this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return this._renderLineHighlightOnlyWhenFocus?(this._focused=e.isFocused,!0):!1}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}const t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=[];for(let r=t;r<=i;r++){const a=r-t;n[a]=\"\"}if(this._wordWrap){const r=this._renderOne(e,!1);for(const a of this._cursorLineNumbers){const l=this._context.viewModel.coordinatesConverter,d=l.convertViewPositionToModelPosition(new W(a,1)).lineNumber,c=l.convertModelPositionToViewPosition(new W(d,1)).lineNumber,u=l.convertModelPositionToViewPosition(new W(d,this._context.viewModel.model.getLineMaxColumn(d))).lineNumber,h=Math.max(c,t),g=Math.min(u,i);for(let f=h;f<=g;f++){const m=f-t;n[m]=r}}}const o=this._renderOne(e,!0);for(const r of this._cursorLineNumbers){if(r<t||r>i)continue;const a=r-t;n[a]=o}this._renderData=n}render(e,t){if(!this._renderData)return\"\";const i=t-e;return i>=this._renderData.length?\"\":this._renderData[i]}_shouldRenderInMargin(){return(this._renderLineHighlight===\"gutter\"||this._renderLineHighlight===\"all\")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return(this._renderLineHighlight===\"line\"||this._renderLineHighlight===\"all\")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class Zfe extends o${_renderOne(e,t){return`<div class=\"${\"current-line\"+(this._shouldRenderInMargin()?\" current-line-both\":\"\")+(t?\" current-line-exact\":\"\")}\" style=\"width:${Math.max(e.scrollWidth,this._contentWidth)}px;\"></div>`}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class Xfe extends o${_renderOne(e,t){return`<div class=\"${\"current-line\"+(this._shouldRenderInMargin()?\" current-line-margin\":\"\")+(this._shouldRenderOther()?\" current-line-margin-both\":\"\")+(this._shouldRenderInMargin()&&t?\" current-line-exact-margin\":\"\")}\" style=\"width:${this._contentLeft}px\"></div>`}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}zr((s,e)=>{const t=s.getColor($U);if(t&&(e.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${t}; }`),e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${t}; border: none; }`)),!t||t.isTransparent()||s.defines(WB)){const i=s.getColor(WB);i&&(e.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${i}; }`),e.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${i}; }`),dd(s.type)&&(e.addRule(\".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }\"),e.addRule(\".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }\")))}});class Yfe extends lp{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){const t=e.getDecorationsInViewport();let i=[],n=0;for(let l=0,d=t.length;l<d;l++){const c=t[l];c.options.className&&(i[n++]=c)}i=i.sort((l,d)=>{if(l.options.zIndex<d.options.zIndex)return-1;if(l.options.zIndex>d.options.zIndex)return 1;const c=l.options.className,u=d.options.className;return c<u?-1:c>u?1:x.compareRangesUsingStarts(l.range,d.range)});const o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,a=[];for(let l=o;l<=r;l++){const d=l-o;a[d]=\"\"}this._renderWholeLineDecorations(e,i,a),this._renderNormalDecorations(e,i,a),this._renderResult=a}_renderWholeLineDecorations(e,t,i){const n=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber;for(let r=0,a=t.length;r<a;r++){const l=t[r];if(!l.options.isWholeLine)continue;const d='<div class=\"cdr '+l.options.className+'\" style=\"left:0;width:100%;\"></div>',c=Math.max(l.range.startLineNumber,n),u=Math.min(l.range.endLineNumber,o);for(let h=c;h<=u;h++){const g=h-n;i[g]+=d}}}_renderNormalDecorations(e,t,i){var n;const o=e.visibleRange.startLineNumber;let r=null,a=!1,l=null,d=!1;for(let c=0,u=t.length;c<u;c++){const h=t[c];if(h.options.isWholeLine)continue;const g=h.options.className,f=!!h.options.showIfCollapsed;let m=h.range;if(f&&m.endColumn===1&&m.endLineNumber!==m.startLineNumber&&(m=new x(m.startLineNumber,m.startColumn,m.endLineNumber-1,this._context.viewModel.getLineMaxColumn(m.endLineNumber-1))),r===g&&a===f&&x.areIntersectingOrTouching(l,m)){l=x.plusRange(l,m);continue}r!==null&&this._renderNormalDecoration(e,l,r,d,a,o,i),r=g,a=f,l=m,d=(n=h.options.shouldFillLineOnLineBreak)!==null&&n!==void 0?n:!1}r!==null&&this._renderNormalDecoration(e,l,r,d,a,o,i)}_renderNormalDecoration(e,t,i,n,o,r,a){const l=e.linesVisibleRangesForRange(t,i===\"findMatch\");if(l)for(let d=0,c=l.length;d<c;d++){const u=l[d];if(u.outsideRenderedLine)continue;const h=u.lineNumber-r;if(o&&u.ranges.length===1){const g=u.ranges[0];if(g.width<this._typicalHalfwidthCharacterWidth){const f=Math.round(g.left+g.width/2),m=Math.max(0,Math.round(f-this._typicalHalfwidthCharacterWidth/2));u.ranges[0]=new Sx(m,this._typicalHalfwidthCharacterWidth)}}for(let g=0,f=u.ranges.length;g<f;g++){const m=n&&u.continuesOnNextLine&&f===1,_=u.ranges[g],v='<div class=\"cdr '+i+'\" style=\"left:'+String(_.left)+\"px;width:\"+(m?\"100%;\":String(_.width)+\"px;\")+'\"></div>';a[h]+=v}}}render(e,t){if(!this._renderResult)return\"\";const i=t-e;return i<0||i>=this._renderResult.length?\"\":this._renderResult[i]}}class Qfe extends Fo{constructor(e,t,i,n){super(e);const o=this._context.configuration.options,r=o.get(103),a=o.get(75),l=o.get(40),d=o.get(106),c={listenOnDomNode:i.domNode,className:\"editor-scrollable \"+MA(e.theme.type),useShadows:!1,lazyRender:!0,vertical:r.vertical,horizontal:r.horizontal,verticalHasArrows:r.verticalHasArrows,horizontalHasArrows:r.horizontalHasArrows,verticalScrollbarSize:r.verticalScrollbarSize,verticalSliderSize:r.verticalSliderSize,horizontalScrollbarSize:r.horizontalScrollbarSize,horizontalSliderSize:r.horizontalSliderSize,handleMouseWheel:r.handleMouseWheel,alwaysConsumeMouseWheel:r.alwaysConsumeMouseWheel,arrowSize:r.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:l,scrollPredominantAxis:d,scrollByPage:r.scrollByPage};this.scrollbar=this._register(new Lx(t.domNode,c,this._context.viewLayout.getScrollable())),rl.write(this.scrollbar.getDomNode(),6),this.scrollbarDomNode=It(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition(\"absolute\"),this._setLayout();const u=(h,g,f)=>{const m={};{const _=h.scrollTop;_&&(m.scrollTop=this._context.viewLayout.getCurrentScrollTop()+_,h.scrollTop=0)}if(f){const _=h.scrollLeft;_&&(m.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+_,h.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(m,1)};this._register(K(i.domNode,\"scroll\",h=>u(i.domNode,!0,!0))),this._register(K(t.domNode,\"scroll\",h=>u(t.domNode,!0,!1))),this._register(K(n.domNode,\"scroll\",h=>u(n.domNode,!0,!1))),this._register(K(this.scrollbarDomNode.domNode,\"scroll\",h=>u(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options,t=e.get(145);this.scrollbarDomNode.setLeft(t.contentLeft),e.get(73).side===\"right\"?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(e){this.scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this.scrollbar.delegateScrollFromMouseWheelEvent(e)}onConfigurationChanged(e){if(e.hasChanged(103)||e.hasChanged(75)||e.hasChanged(40)){const t=this._context.configuration.options,i=t.get(103),n=t.get(75),o=t.get(40),r=t.get(106),a={vertical:i.vertical,horizontal:i.horizontal,verticalScrollbarSize:i.verticalScrollbarSize,horizontalScrollbarSize:i.horizontalScrollbarSize,scrollByPage:i.scrollByPage,handleMouseWheel:i.handleMouseWheel,mouseWheelScrollSensitivity:n,fastScrollSensitivity:o,scrollPredominantAxis:r};this.scrollbar.updateOptions(a)}return e.hasChanged(145)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName(\"editor-scrollable \"+MA(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}class FA{constructor(e,t,i,n,o){this.startLineNumber=e,this.endLineNumber=t,this.className=i,this.tooltip=n,this._decorationToRenderBrand=void 0,this.zIndex=o??0}}class Jfe{constructor(e,t,i){this.className=e,this.zIndex=t,this.tooltip=i}}class epe{constructor(){this.decorations=[]}add(e){this.decorations.push(e)}getDecorations(){return this.decorations}}class r$ extends lp{_render(e,t,i){const n=[];for(let a=e;a<=t;a++){const l=a-e;n[l]=new epe}if(i.length===0)return n;i.sort((a,l)=>a.className===l.className?a.startLineNumber===l.startLineNumber?a.endLineNumber-l.endLineNumber:a.startLineNumber-l.startLineNumber:a.className<l.className?-1:1);let o=null,r=0;for(let a=0,l=i.length;a<l;a++){const d=i[a],c=d.className,u=d.zIndex;let h=Math.max(d.startLineNumber,e)-e;const g=Math.min(d.endLineNumber,t)-e;o===c?(h=Math.max(r+1,h),r=Math.max(r,g)):(o=c,r=g);for(let f=h;f<=r;f++)n[f].add(new Jfe(c,u,d.tooltip))}return n}}class tpe extends Fo{constructor(e){super(e),this._widgets={},this._context=e;const t=this._context.configuration.options,i=t.get(145);this.domNode=It(document.createElement(\"div\")),this.domNode.setClassName(\"glyph-margin-widgets\"),this.domNode.setPosition(\"absolute\"),this.domNode.setTop(0),this._lineHeight=t.get(67),this._glyphMargin=t.get(57),this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._glyphMarginDecorationLaneCount=i.glyphMarginDecorationLaneCount,this._managedDomNodes=[],this._decorationGlyphsToRender=[]}dispose(){this._managedDomNodes=[],this._decorationGlyphsToRender=[],this._widgets={},super.dispose()}getWidgets(){return Object.values(this._widgets)}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(145);return this._lineHeight=t.get(67),this._glyphMargin=t.get(57),this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._glyphMarginDecorationLaneCount=i.glyphMarginDecorationLaneCount,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}addWidget(e){const t=It(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:e.getPosition(),domNode:t,renderInfo:null},t.setPosition(\"absolute\"),t.setDisplay(\"none\"),t.setAttribute(\"widgetId\",e.getId()),this.domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const i=this._widgets[e.getId()];return i.preference.lane===t.lane&&i.preference.zIndex===t.zIndex&&x.equalsRange(i.preference.range,t.range)?!1:(i.preference=t,this.setShouldRender(),!0)}removeWidget(e){var t;const i=e.getId();if(this._widgets[i]){const o=this._widgets[i].domNode.domNode;delete this._widgets[i],(t=o.parentNode)===null||t===void 0||t.removeChild(o),this.setShouldRender()}}_collectDecorationBasedGlyphRenderRequest(e,t){var i,n,o;const r=e.visibleRange.startLineNumber,a=e.visibleRange.endLineNumber,l=e.getDecorationsInViewport();for(const d of l){const c=d.options.glyphMarginClassName;if(!c)continue;const u=Math.max(d.range.startLineNumber,r),h=Math.min(d.range.endLineNumber,a),g=(n=(i=d.options.glyphMargin)===null||i===void 0?void 0:i.position)!==null&&n!==void 0?n:bd.Center,f=(o=d.options.zIndex)!==null&&o!==void 0?o:0;for(let m=u;m<=h;m++){const _=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new W(m,0)),v=this._context.viewModel.glyphLanes.getLanesAtLine(_.lineNumber).indexOf(g);t.push(new ipe(m,v,f,c))}}}_collectWidgetBasedGlyphRenderRequest(e,t){const i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber;for(const o of Object.values(this._widgets)){const r=o.preference.range,{startLineNumber:a,endLineNumber:l}=this._context.viewModel.coordinatesConverter.convertModelRangeToViewRange(x.lift(r));if(!a||!l||l<i||a>n)continue;const d=Math.max(a,i),c=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new W(d,0)),u=this._context.viewModel.glyphLanes.getLanesAtLine(c.lineNumber).indexOf(o.preference.lane);t.push(new npe(d,u,o.preference.zIndex,o))}}_collectSortedGlyphRenderRequests(e){const t=[];return this._collectDecorationBasedGlyphRenderRequest(e,t),this._collectWidgetBasedGlyphRenderRequest(e,t),t.sort((i,n)=>i.lineNumber===n.lineNumber?i.laneIndex===n.laneIndex?i.zIndex===n.zIndex?n.type===i.type?i.type===0&&n.type===0?i.className<n.className?-1:1:0:n.type-i.type:n.zIndex-i.zIndex:i.laneIndex-n.laneIndex:i.lineNumber-n.lineNumber),t}prepareRender(e){if(!this._glyphMargin){this._decorationGlyphsToRender=[];return}for(const n of Object.values(this._widgets))n.renderInfo=null;const t=new Hc(this._collectSortedGlyphRenderRequests(e)),i=[];for(;t.length>0;){const n=t.peek();if(!n)break;const o=t.takeWhile(a=>a.lineNumber===n.lineNumber&&a.laneIndex===n.laneIndex);if(!o||o.length===0)break;const r=o[0];if(r.type===0){const a=[];for(const l of o){if(l.zIndex!==r.zIndex||l.type!==r.type)break;(a.length===0||a[a.length-1]!==l.className)&&a.push(l.className)}i.push(r.accept(a.join(\" \")))}else r.widget.renderInfo={lineNumber:r.lineNumber,laneIndex:r.laneIndex}}this._decorationGlyphsToRender=i}render(e){if(!this._glyphMargin){for(const i of Object.values(this._widgets))i.domNode.setDisplay(\"none\");for(;this._managedDomNodes.length>0;){const i=this._managedDomNodes.pop();i==null||i.domNode.remove()}return}const t=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(const i of Object.values(this._widgets))if(!i.renderInfo)i.domNode.setDisplay(\"none\");else{const n=e.viewportData.relativeVerticalOffset[i.renderInfo.lineNumber-e.viewportData.startLineNumber],o=this._glyphMarginLeft+i.renderInfo.laneIndex*this._lineHeight;i.domNode.setDisplay(\"block\"),i.domNode.setTop(n),i.domNode.setLeft(o),i.domNode.setWidth(t),i.domNode.setHeight(this._lineHeight)}for(let i=0;i<this._decorationGlyphsToRender.length;i++){const n=this._decorationGlyphsToRender[i],o=e.viewportData.relativeVerticalOffset[n.lineNumber-e.viewportData.startLineNumber],r=this._glyphMarginLeft+n.laneIndex*this._lineHeight;let a;i<this._managedDomNodes.length?a=this._managedDomNodes[i]:(a=It(document.createElement(\"div\")),this._managedDomNodes.push(a),this.domNode.appendChild(a)),a.setClassName(\"cgmr codicon \"+n.combinedClassName),a.setPosition(\"absolute\"),a.setTop(o),a.setLeft(r),a.setWidth(t),a.setHeight(this._lineHeight)}for(;this._managedDomNodes.length>this._decorationGlyphsToRender.length;){const i=this._managedDomNodes.pop();i==null||i.domNode.remove()}}}class ipe{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.className=n,this.type=0}accept(e){return new spe(this.lineNumber,this.laneIndex,e)}}class npe{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.widget=n,this.type=1}}class spe{constructor(e,t,i){this.lineNumber=e,this.laneIndex=t,this.combinedClassName=i}}class a$ extends H{constructor(){super(...arguments),this._isDisposed=!1}dispose(){super.dispose(),this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw new Error(\"TextModelPart is disposed!\")}}function Tx(s,e){let t=0,i=0;const n=s.length;for(;i<n;){const o=s.charCodeAt(i);if(o===32)t++;else if(o===9)t=t-t%e+e;else break;i++}return i===n?-1:t}var df;(function(s){s[s.Disabled=0]=\"Disabled\",s[s.EnabledForActive=1]=\"EnabledForActive\",s[s.Enabled=2]=\"Enabled\"})(df||(df={}));class Yg{constructor(e,t,i,n,o,r){if(this.visibleColumn=e,this.column=t,this.className=i,this.horizontalLine=n,this.forWrappedLinesAfterColumn=o,this.forWrappedLinesBeforeOrAtColumn=r,e!==-1==(t!==-1))throw new Error}}class Gv{constructor(e,t){this.top=e,this.endColumn=t}}class ope extends a${constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return Tx(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,i){this.assertNotDisposed();const n=this.textModel.getLineCount();if(e<1||e>n)throw new Ut(\"Illegal value for lineNumber\");const o=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(o&&o.offSide);let a=-2,l=-1,d=-2,c=-1;const u=L=>{if(a!==-1&&(a===-2||a>L-1)){a=-1,l=-1;for(let k=L-2;k>=0;k--){const I=this._computeIndentLevel(k);if(I>=0){a=k,l=I;break}}}if(d===-2){d=-1,c=-1;for(let k=L;k<n;k++){const I=this._computeIndentLevel(k);if(I>=0){d=k,c=I;break}}}};let h=-2,g=-1,f=-2,m=-1;const _=L=>{if(h===-2){h=-1,g=-1;for(let k=L-2;k>=0;k--){const I=this._computeIndentLevel(k);if(I>=0){h=k,g=I;break}}}if(f!==-1&&(f===-2||f<L-1)){f=-1,m=-1;for(let k=L;k<n;k++){const I=this._computeIndentLevel(k);if(I>=0){f=k,m=I;break}}}};let v=0,b=!0,C=0,w=!0,y=0,D=0;for(let L=0;b||w;L++){const k=e-L,I=e+L;L>1&&(k<1||k<t)&&(b=!1),L>1&&(I>n||I>i)&&(w=!1),L>5e4&&(b=!1,w=!1);let O=-1;if(b&&k>=1){const P=this._computeIndentLevel(k-1);P>=0?(d=k-1,c=P,O=Math.ceil(P/this.textModel.getOptions().indentSize)):(u(k),O=this._getIndentLevelForWhitespaceLine(r,l,c))}let R=-1;if(w&&I<=n){const P=this._computeIndentLevel(I-1);P>=0?(h=I-1,g=P,R=Math.ceil(P/this.textModel.getOptions().indentSize)):(_(I),R=this._getIndentLevelForWhitespaceLine(r,g,m))}if(L===0){D=O;continue}if(L===1){if(I<=n&&R>=0&&D+1===R){b=!1,v=I,C=I,y=R;continue}if(k>=1&&O>=0&&O-1===D){w=!1,v=k,C=k,y=O;continue}if(v=e,C=e,y=D,y===0)return{startLineNumber:v,endLineNumber:C,indent:y}}b&&(O>=y?v=k:b=!1),w&&(R>=y?C=I:w=!1)}return{startLineNumber:v,endLineNumber:C,indent:y}}getLinesBracketGuides(e,t,i,n){var o;const r=[];for(let h=e;h<=t;h++)r.push([]);const a=!0,l=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new x(e,1,t,this.textModel.getLineMaxColumn(t))).toArray();let d;if(i&&l.length>0){const h=(e<=i.lineNumber&&i.lineNumber<=t?l:this.textModel.bracketPairs.getBracketPairsInRange(x.fromPositions(i)).toArray()).filter(g=>x.strictContainsPosition(g.range,i));d=(o=YS(h,g=>a))===null||o===void 0?void 0:o.range}const c=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,u=new l$;for(const h of l){if(!h.closingBracketRange)continue;const g=d&&h.range.equalsRange(d);if(!g&&!n.includeInactive)continue;const f=u.getInlineClassName(h.nestingLevel,h.nestingLevelOfEqualBracketType,c)+(n.highlightActive&&g?\" \"+u.activeClassName:\"\"),m=h.openingBracketRange.getStartPosition(),_=h.closingBracketRange.getStartPosition(),v=n.horizontalGuides===df.Enabled||n.horizontalGuides===df.EnabledForActive&&g;if(h.range.startLineNumber===h.range.endLineNumber){v&&r[h.range.startLineNumber-e].push(new Yg(-1,h.openingBracketRange.getEndPosition().column,f,new Gv(!1,_.column),-1,-1));continue}const b=this.getVisibleColumnFromPosition(_),C=this.getVisibleColumnFromPosition(h.openingBracketRange.getStartPosition()),w=Math.min(C,b,h.minVisibleColumnIndentation+1);let y=!1;Cs(this.textModel.getLineContent(h.closingBracketRange.startLineNumber))<h.closingBracketRange.startColumn-1&&(y=!0);const k=Math.max(m.lineNumber,e),I=Math.min(_.lineNumber,t),O=y?1:0;for(let R=k;R<I+O;R++)r[R-e].push(new Yg(w,-1,f,null,R===m.lineNumber?m.column:-1,R===_.lineNumber?_.column:-1));v&&(m.lineNumber>=e&&C>w&&r[m.lineNumber-e].push(new Yg(w,-1,f,new Gv(!1,m.column),-1,-1)),_.lineNumber<=t&&b>w&&r[_.lineNumber-e].push(new Yg(w,-1,f,new Gv(!y,_.column),-1,-1)))}for(const h of r)h.sort((g,f)=>g.visibleColumn-f.visibleColumn);return r}getVisibleColumnFromPosition(e){return hn.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();const i=this.textModel.getLineCount();if(e<1||e>i)throw new Error(\"Illegal value for startLineNumber\");if(t<1||t>i)throw new Error(\"Illegal value for endLineNumber\");const n=this.textModel.getOptions(),o=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(o&&o.offSide),a=new Array(t-e+1);let l=-2,d=-1,c=-2,u=-1;for(let h=e;h<=t;h++){const g=h-e,f=this._computeIndentLevel(h-1);if(f>=0){l=h-1,d=f,a[g]=Math.ceil(f/n.indentSize);continue}if(l===-2){l=-1,d=-1;for(let m=h-2;m>=0;m--){const _=this._computeIndentLevel(m);if(_>=0){l=m,d=_;break}}}if(c!==-1&&(c===-2||c<h-1)){c=-1,u=-1;for(let m=h;m<i;m++){const _=this._computeIndentLevel(m);if(_>=0){c=m,u=_;break}}}a[g]=this._getIndentLevelForWhitespaceLine(r,d,u)}return a}_getIndentLevelForWhitespaceLine(e,t,i){const n=this.textModel.getOptions();return t===-1||i===-1?0:t<i?1+Math.floor(t/n.indentSize):t===i||e?Math.ceil(i/n.indentSize):1+Math.floor(i/n.indentSize)}}class l${constructor(){this.activeClassName=\"indent-active\"}getInlineClassName(e,t,i){return this.getInlineClassNameOfLevel(i?t:e)}getInlineClassNameOfLevel(e){return`bracket-indent-guide lvl-${e%30}`}}class rpe extends lp{constructor(e){super(),this._context=e,this._primaryPosition=null;const t=this._context.configuration.options,i=t.get(146),n=t.get(50);this._spaceWidth=n.spaceWidth,this._maxIndentLeft=i.wrappingColumn===-1?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(146),n=t.get(50);return this._spaceWidth=n.spaceWidth,this._maxIndentLeft=i.wrappingColumn===-1?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),!0}onCursorStateChanged(e){var t;const n=e.selections[0].getPosition();return!((t=this._primaryPosition)===null||t===void 0)&&t.equals(n)?!1:(this._primaryPosition=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,i,n,o;if(!this._bracketPairGuideOptions.indentation&&this._bracketPairGuideOptions.bracketPairs===!1){this._renderResult=null;return}const r=e.visibleRange.startLineNumber,a=e.visibleRange.endLineNumber,l=e.scrollWidth,d=this._primaryPosition,c=this.getGuidesByLine(r,Math.min(a+1,this._context.viewModel.getLineCount()),d),u=[];for(let h=r;h<=a;h++){const g=h-r,f=c[g];let m=\"\";const _=(i=(t=e.visibleRangeForPosition(new W(h,1)))===null||t===void 0?void 0:t.left)!==null&&i!==void 0?i:0;for(const v of f){const b=v.column===-1?_+(v.visibleColumn-1)*this._spaceWidth:e.visibleRangeForPosition(new W(h,v.column)).left;if(b>l||this._maxIndentLeft>0&&b>this._maxIndentLeft)break;const C=v.horizontalLine?v.horizontalLine.top?\"horizontal-top\":\"horizontal-bottom\":\"vertical\",w=v.horizontalLine?((o=(n=e.visibleRangeForPosition(new W(h,v.horizontalLine.endColumn)))===null||n===void 0?void 0:n.left)!==null&&o!==void 0?o:b+this._spaceWidth)-b:this._spaceWidth;m+=`<div class=\"core-guide ${v.className} ${C}\" style=\"left:${b}px;width:${w}px\"></div>`}u[g]=m}this._renderResult=u}getGuidesByLine(e,t,i){const n=this._bracketPairGuideOptions.bracketPairs!==!1?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,i,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:this._bracketPairGuideOptions.bracketPairsHorizontal===!0?df.Enabled:this._bracketPairGuideOptions.bracketPairsHorizontal===\"active\"?df.EnabledForActive:df.Disabled,includeInactive:this._bracketPairGuideOptions.bracketPairs===!0}):null,o=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null;let r=0,a=0,l=0;if(this._bracketPairGuideOptions.highlightActiveIndentation!==!1&&i){const u=this._context.viewModel.getActiveIndentGuide(i.lineNumber,e,t);r=u.startLineNumber,a=u.endLineNumber,l=u.indent}const{indentSize:d}=this._context.viewModel.model.getOptions(),c=[];for(let u=e;u<=t;u++){const h=new Array;c.push(h);const g=n?n[u-e]:[],f=new Hc(g),m=o?o[u-e]:0;for(let _=1;_<=m;_++){const v=(_-1)*d+1,b=(this._bracketPairGuideOptions.highlightActiveIndentation===\"always\"||g.length===0)&&r<=u&&u<=a&&_===l;h.push(...f.takeWhile(w=>w.visibleColumn<v)||[]);const C=f.peek();(!C||C.visibleColumn!==v||C.horizontalLine)&&h.push(new Yg(v,-1,`core-guide-indent lvl-${(_-1)%30}`+(b?\" indent-active\":\"\"),null,-1,-1))}h.push(...f.takeWhile(_=>!0)||[])}return c}render(e,t){if(!this._renderResult)return\"\";const i=t-e;return i<0||i>=this._renderResult.length?\"\":this._renderResult[i]}}function Ip(s){if(!(s&&s.isTransparent()))return s}zr((s,e)=>{const t=[{bracketColor:qU,guideColor:cfe,guideColorActive:mfe},{bracketColor:GU,guideColor:ufe,guideColorActive:_fe},{bracketColor:ZU,guideColor:hfe,guideColorActive:vfe},{bracketColor:XU,guideColor:gfe,guideColorActive:bfe},{bracketColor:YU,guideColor:ffe,guideColorActive:Cfe},{bracketColor:QU,guideColor:pfe,guideColorActive:wfe}],i=new l$,n=[{indentColor:w1,indentColorActive:y1},{indentColor:jge,indentColorActive:Xge},{indentColor:Kge,indentColorActive:Yge},{indentColor:qge,indentColorActive:Qge},{indentColor:Gge,indentColorActive:Jge},{indentColor:Zge,indentColorActive:efe}],o=t.map(a=>{var l,d;const c=s.getColor(a.bracketColor),u=s.getColor(a.guideColor),h=s.getColor(a.guideColorActive),g=Ip((l=Ip(u))!==null&&l!==void 0?l:c==null?void 0:c.transparent(.3)),f=Ip((d=Ip(h))!==null&&d!==void 0?d:c);if(!(!g||!f))return{guideColor:g,guideColorActive:f}}).filter(rd),r=n.map(a=>{const l=s.getColor(a.indentColor),d=s.getColor(a.indentColorActive),c=Ip(l),u=Ip(d);if(!(!c||!u))return{indentColor:c,indentColorActive:u}}).filter(rd);if(o.length>0){for(let a=0;a<30;a++){const l=o[a%o.length];e.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(a).replace(/ /g,\".\")} { --guide-color: ${l.guideColor}; --guide-color-active: ${l.guideColorActive}; }`)}e.addRule(\".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }\"),e.addRule(\".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }\"),e.addRule(\".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }\"),e.addRule(`.monaco-editor .vertical.${i.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),e.addRule(`.monaco-editor .horizontal-top.${i.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),e.addRule(`.monaco-editor .horizontal-bottom.${i.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let a=0;a<30;a++){const l=r[a%r.length];e.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${a} { --indent-color: ${l.indentColor}; --indent-color-active: ${l.indentColorActive}; }`)}e.addRule(\".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }\"),e.addRule(\".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }\")}});class mI{get didDomLayout(){return this._didDomLayout}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;const e=this._domNode.getBoundingClientRect();this.markDidDomLayout(),this._clientRectDeltaLeft=e.left,this._clientRectScale=e.width/this._domNode.offsetWidth}}get clientRectDeltaLeft(){return this._clientRectRead||this.readClientRect(),this._clientRectDeltaLeft}get clientRectScale(){return this._clientRectRead||this.readClientRect(),this._clientRectScale}constructor(e,t){this._domNode=e,this.endNode=t,this._didDomLayout=!1,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1}markDidDomLayout(){this._didDomLayout=!0}}class ape{constructor(){this._currentVisibleRange=new x(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class lpe{constructor(e,t,i,n,o,r,a){this.minimalReveal=e,this.lineNumber=t,this.startColumn=i,this.endColumn=n,this.startScrollTop=o,this.stopScrollTop=r,this.scrollType=a,this.type=\"range\",this.minLineNumber=t,this.maxLineNumber=t}}class dpe{constructor(e,t,i,n,o){this.minimalReveal=e,this.selections=t,this.startScrollTop=i,this.stopScrollTop=n,this.scrollType=o,this.type=\"selections\";let r=t[0].startLineNumber,a=t[0].endLineNumber;for(let l=1,d=t.length;l<d;l++){const c=t[l];r=Math.min(r,c.startLineNumber),a=Math.max(a,c.endLineNumber)}this.minLineNumber=r,this.maxLineNumber=a}}class Nx extends Fo{constructor(e,t){super(e),this._linesContent=t,this._textRangeRestingSpot=document.createElement(\"div\"),this._visibleLines=new n$(this),this.domNode=this._visibleLines.domNode;const i=this._context.configuration,n=this._context.configuration.options,o=n.get(50),r=n.get(146);this._lineHeight=n.get(67),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=r.isViewportWrapping,this._revealHorizontalRightPadding=n.get(100),this._cursorSurroundingLines=n.get(29),this._cursorSurroundingLinesStyle=n.get(30),this._canUseLayerHinting=!n.get(32),this._viewLineOptions=new RB(i,this._context.theme.type),rl.write(this.domNode,8),this.domNode.setClassName(`view-lines ${Pm}`),Un(this.domNode,o),this._maxLineWidth=0,this._asyncUpdateLineWidths=new Wt(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new Wt(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new ape,this._horizontalRevealRequest=null,this._stickyScrollEnabled=n.get(115).enabled,this._maxNumberStickyLines=n.get(115).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new Ul(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(146)&&(this._maxLineWidth=0);const t=this._context.configuration.options,i=t.get(50),n=t.get(146);return this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(100),this._cursorSurroundingLines=t.get(29),this._cursorSurroundingLinesStyle=t.get(30),this._canUseLayerHinting=!t.get(32),this._stickyScrollEnabled=t.get(115).enabled,this._maxNumberStickyLines=t.get(115).maxLineCount,Un(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(145)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const e=this._context.configuration,t=new RB(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;const i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let o=i;o<=n;o++)this._visibleLines.getVisibleLine(o).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(e){const t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();let n=!1;for(let o=t;o<=i;o++)n=this._visibleLines.getVisibleLine(o).onSelectionChanged()||n;return n}onDecorationsChanged(e){{const t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let n=t;n<=i;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged()}return!0}onFlushed(e){const t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){const t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.minimalReveal,e.range,e.selections,e.verticalType);if(t===-1)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new lpe(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new dpe(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;const o=Math.abs(this._context.viewLayout.getCurrentScrollTop()-i.scrollTop)<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(i,o),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){const t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),i=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>i)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){const i=this._getViewLineDomNode(e);if(i===null)return null;const n=this._getLineNumberFor(i);if(n===-1||n<1||n>this._context.viewModel.getLineCount())return null;if(this._context.viewModel.getLineMaxColumn(n)===1)return new W(n,1);const o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(n<o||n>r)return null;let a=this._visibleLines.getVisibleLine(n).getColumnOfNodeOffset(e,t);const l=this._context.viewModel.getLineMinColumn(n);return a<l&&(a=l),new W(n,a)}_getViewLineDomNode(e){for(;e&&e.nodeType===1;){if(e.className===Ul.CLASS_NAME)return e;e=e.parentElement}return null}_getLineNumberFor(e){const t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let n=t;n<=i;n++){const o=this._visibleLines.getVisibleLine(n);if(e===o.getDomNode())return n}return-1}getLineWidth(e){const t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();if(e<t||e>i)return-1;const n=new mI(this.domNode.domNode,this._textRangeRestingSpot),o=this._visibleLines.getVisibleLine(e).getWidth(n);return this._updateLineWidthsSlowIfDomDidLayout(n),o}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;const i=e.endLineNumber,n=x.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!n)return null;const o=[];let r=0;const a=new mI(this.domNode.domNode,this._textRangeRestingSpot);let l=0;t&&(l=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new W(n.startLineNumber,1)).lineNumber);const d=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let u=n.startLineNumber;u<=n.endLineNumber;u++){if(u<d||u>c)continue;const h=u===n.startLineNumber?n.startColumn:1,g=u!==n.endLineNumber,f=g?this._context.viewModel.getLineMaxColumn(u):n.endColumn,m=this._visibleLines.getVisibleLine(u).getVisibleRangesForRange(u,h,f,a);if(m){if(t&&u<i){const _=l;l=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new W(u+1,1)).lineNumber,_!==l&&(m.ranges[m.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}o[r++]=new lge(m.outsideRenderedLine,u,Sx.from(m.ranges),g)}}return this._updateLineWidthsSlowIfDomDidLayout(a),r===0?null:o}_visibleRangesForLineRange(e,t,i){if(this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber())return null;const n=new mI(this.domNode.domNode,this._textRangeRestingSpot),o=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,n);return this._updateLineWidthsSlowIfDomDidLayout(n),o}visibleRangeForPosition(e){const t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new dge(t.outsideRenderedLine,t.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(e){e.didDomLayout&&(this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow()))}_updateLineWidths(e){const t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();let n=1,o=!0;for(let r=t;r<=i;r++){const a=this._visibleLines.getVisibleLine(r);if(e&&!a.getWidthIsFast()){o=!1;continue}n=Math.max(n,a.getWidth(null))}return o&&t===1&&i===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1;const i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let o=i;o<=n;o++){const r=this._visibleLines.getVisibleLine(o);if(r.needsMonospaceFontCheck()){const a=r.getWidth(null);a>t&&(t=a,e=o)}}if(e!==-1&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let o=i;o<=n;o++)this._visibleLines.getVisibleLine(o).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error(\"Not supported\")}render(){throw new Error(\"Not supported\")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const i=this._horizontalRevealRequest;if(e.startLineNumber<=i.minLineNumber&&i.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const n=this._computeScrollLeftToReveal(i);n&&(this._isViewportWrapping||this._ensureMaxLineWidth(n.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:n.scrollLeft},i.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),$s&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let o=i;o<=n;o++)if(this._visibleLines.getVisibleLine(o).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain(\"strict\");const t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){const t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(e,t,i,n,o,r){const a=e.top,l=e.height,d=a+l;let c,u,h;if(o&&o.length>0){let v=o[0].startLineNumber,b=o[0].endLineNumber;for(let C=1,w=o.length;C<w;C++){const y=o[C];v=Math.min(v,y.startLineNumber),b=Math.max(b,y.endLineNumber)}c=!1,u=this._context.viewLayout.getVerticalOffsetForLineNumber(v),h=this._context.viewLayout.getVerticalOffsetForLineNumber(b)+this._lineHeight}else if(n)c=!0,u=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),h=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight;else return-1;const g=(t===\"mouse\"||i)&&this._cursorSurroundingLinesStyle===\"default\";let f=0,m=0;if(g)i||(f=this._lineHeight);else{const v=Math.min(l/this._lineHeight/2,this._cursorSurroundingLines);this._stickyScrollEnabled?f=Math.max(v,this._maxNumberStickyLines)*this._lineHeight:f=v*this._lineHeight,m=Math.max(0,v-1)*this._lineHeight}i||(r===0||r===4)&&(m+=this._lineHeight),u-=f,h+=m;let _;if(h-u>l){if(!c)return-1;_=u}else if(r===5||r===6)if(r===6&&a<=u&&h<=d)_=a;else{const v=Math.max(5*this._lineHeight,l*.2),b=u-v,C=h-l;_=Math.max(C,b)}else if(r===1||r===2)if(r===2&&a<=u&&h<=d)_=a;else{const v=(u+h)/2;_=Math.max(0,v-l/2)}else _=this._computeMinimumScrolling(a,d,u,h,r===3,r===4);return _}_computeScrollLeftToReveal(e){const t=this._context.viewLayout.getCurrentViewport(),i=this._context.configuration.options.get(145),n=t.left,o=n+t.width-i.verticalScrollbarWidth;let r=1073741824,a=0;if(e.type===\"range\"){const d=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!d)return null;for(const c of d.ranges)r=Math.min(r,Math.round(c.left)),a=Math.max(a,Math.round(c.left+c.width))}else for(const d of e.selections){if(d.startLineNumber!==d.endLineNumber)return null;const c=this._visibleRangesForLineRange(d.startLineNumber,d.startColumn,d.endColumn);if(!c)return null;for(const u of c.ranges)r=Math.min(r,Math.round(u.left)),a=Math.max(a,Math.round(u.left+u.width))}return e.minimalReveal||(r=Math.max(0,r-Nx.HORIZONTAL_EXTRA_PX),a+=this._revealHorizontalRightPadding),e.type===\"selections\"&&a-r>t.width?null:{scrollLeft:this._computeMinimumScrolling(n,o,r,a),maxHorizontalOffset:a}}_computeMinimumScrolling(e,t,i,n,o,r){e=e|0,t=t|0,i=i|0,n=n|0,o=!!o,r=!!r;const a=t-e;if(n-i<a){if(o)return i;if(r)return Math.max(0,n-a);if(i<e)return i;if(n>t)return Math.max(0,n-a)}else return i;return e}}Nx.HORIZONTAL_EXTRA_PX=30;class cpe extends r${constructor(e){super(),this._context=e;const i=this._context.configuration.options.get(145);this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const i=this._context.configuration.options.get(145);return this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){var t,i;const n=e.getDecorationsInViewport(),o=[];let r=0;for(let a=0,l=n.length;a<l;a++){const d=n[a],c=d.options.linesDecorationsClassName,u=d.options.zIndex;c&&(o[r++]=new FA(d.range.startLineNumber,d.range.endLineNumber,c,(t=d.options.linesDecorationsTooltip)!==null&&t!==void 0?t:null,u));const h=d.options.firstLineDecorationClassName;h&&(o[r++]=new FA(d.range.startLineNumber,d.range.startLineNumber,h,(i=d.options.linesDecorationsTooltip)!==null&&i!==void 0?i:null,u))}return o}prepareRender(e){const t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._render(t,i,this._getDecorations(e)),o=this._decorationsLeft.toString(),r=this._decorationsWidth.toString(),a='\" style=\"left:'+o+\"px;width:\"+r+'px;\"></div>',l=[];for(let d=t;d<=i;d++){const c=d-t,u=n[c].getDecorations();let h=\"\";for(const g of u){let f='<div class=\"cldr '+g.className;g.tooltip!==null&&(f+='\" title=\"'+g.tooltip),f+=a,h+=f}l[c]=h}this._renderResult=l}render(e,t){return this._renderResult?this._renderResult[t-e]:\"\"}}class upe extends r${constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport(),i=[];let n=0;for(let o=0,r=t.length;o<r;o++){const a=t[o],l=a.options.marginClassName,d=a.options.zIndex;l&&(i[n++]=new FA(a.range.startLineNumber,a.range.endLineNumber,l,null,d))}return i}prepareRender(e){const t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._render(t,i,this._getDecorations(e)),o=[];for(let r=t;r<=i;r++){const a=r-t,l=n[a].getDecorations();let d=\"\";for(const c of l)d+='<div class=\"cmdr '+c.className+'\" style=\"\"></div>';o[a]=d}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:\"\"}}class Qo{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=Qo._clamp(e),this.g=Qo._clamp(t),this.b=Qo._clamp(i),this.a=Qo._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:e|0}}Qo.Empty=new Qo(0,0,0,0);class D1 extends H{static getInstance(){return this._INSTANCE||(this._INSTANCE=new D1),this._INSTANCE}constructor(){super(),this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(Ki.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){const e=Ki.getColorMap();if(!e){this._colors=[Qo.Empty],this._backgroundIsLight=!0;return}this._colors=[Qo.Empty];for(let i=1;i<e.length;i++){const n=e[i].rgba;this._colors[i]=new Qo(n.r,n.g,n.b,Math.round(n.a*255))}const t=e[2].getRelativeLuminance();this._backgroundIsLight=t>=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}D1._INSTANCE=null;const hpe=(()=>{const s=[];for(let e=32;e<=126;e++)s.push(e);return s.push(65533),s})(),gpe=(s,e)=>(s-=32,s<0||s>96?e<=2?(s+96)%96:95:s);class eC{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=eC.soften(e,12/15),this.charDataLight=eC.soften(e,50/60)}static soften(e,t){const i=new Uint8ClampedArray(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=GS(e[n]*t);return i}renderChar(e,t,i,n,o,r,a,l,d,c,u){const h=1*this.scale,g=2*this.scale,f=u?1:g;if(t+h>e.width||i+f>e.height){console.warn(\"bad render request outside image data\");return}const m=c?this.charDataLight:this.charDataNormal,_=gpe(n,d),v=e.width*4,b=a.r,C=a.g,w=a.b,y=o.r-b,D=o.g-C,L=o.b-w,k=Math.max(r,l),I=e.data;let O=_*h*g,R=i*v+t*4;for(let P=0;P<f;P++){let F=R;for(let V=0;V<h;V++){const U=m[O++]/255*(r/255);I[F++]=b+y*U,I[F++]=C+D*U,I[F++]=w+L*U,I[F++]=k}R+=v}}blockRenderChar(e,t,i,n,o,r,a,l){const d=1*this.scale,c=2*this.scale,u=l?1:c;if(t+d>e.width||i+u>e.height){console.warn(\"bad render request outside image data\");return}const h=e.width*4,g=.5*(o/255),f=r.r,m=r.g,_=r.b,v=n.r-f,b=n.g-m,C=n.b-_,w=f+v*g,y=m+b*g,D=_+C*g,L=Math.max(o,a),k=e.data;let I=i*h+t*4;for(let O=0;O<u;O++){let R=I;for(let P=0;P<d;P++)k[R++]=w,k[R++]=y,k[R++]=D,k[R++]=L;I+=h}}}const KB={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},qB=s=>{const e=new Uint8ClampedArray(s.length/2);for(let t=0;t<s.length;t+=2)e[t>>1]=KB[s[t]]<<4|KB[s[t+1]]&15;return e},GB={1:o_(()=>qB(\"0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792\")),2:o_(()=>qB(\"000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126\"))};class Zv{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let i;return GB[e]?i=new eC(GB[e](),e):i=Zv.createFromSampleData(Zv.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i,i}static createSampleData(e){const t=document.createElement(\"canvas\"),i=t.getContext(\"2d\");t.style.height=\"16px\",t.height=16,t.width=96*10,t.style.width=96*10+\"px\",i.fillStyle=\"#ffffff\",i.font=`bold 16px ${e}`,i.textBaseline=\"middle\";let n=0;for(const o of hpe)i.fillText(String.fromCharCode(o),n,16/2),n+=10;return i.getImageData(0,0,96*10,16)}static createFromSampleData(e,t){if(e.length!==61440)throw new Error(\"Unexpected source in MinimapCharRenderer\");const n=Zv._downsample(e,t);return new eC(n,t)}static _downsampleChar(e,t,i,n,o){const r=1*o,a=2*o;let l=n,d=0;for(let c=0;c<a;c++){const u=c/a*16,h=(c+1)/a*16;for(let g=0;g<r;g++){const f=g/r*10,m=(g+1)/r*10;let _=0,v=0;for(let C=u;C<h;C++){const w=t+Math.floor(C)*3840,y=1-(C-Math.floor(C));for(let D=f;D<m;D++){const L=1-(D-Math.floor(D)),k=w+Math.floor(D)*4,I=L*y;v+=I,_+=e[k]*e[k+3]/255*I}}const b=_/v;d=Math.max(d,b),i[l++]=GS(b)}}return d}static _downsample(e,t){const i=2*t*1*t,n=i*96,o=new Uint8ClampedArray(n);let r=0,a=0,l=0;for(let d=0;d<96;d++)l=Math.max(l,this._downsampleChar(e,a,o,r,t)),r+=i,a+=10*4;if(l>0){const d=255/l;for(let c=0;c<n;c++)o[c]*=d}return o}}const fpe=as?'\"Segoe WPC\", \"Segoe UI\", sans-serif':lt?\"-apple-system, BlinkMacSystemFont, sans-serif\":'system-ui, \"Ubuntu\", \"Droid Sans\", sans-serif',ppe=140,mpe=2;class Bm{constructor(e,t,i){const n=e.options,o=n.get(143),r=n.get(145),a=r.minimap,l=n.get(50),d=n.get(73);this.renderMinimap=a.renderMinimap,this.size=d.size,this.minimapHeightIsEditorHeight=a.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=n.get(105),this.paddingTop=n.get(84).top,this.paddingBottom=n.get(84).bottom,this.showSlider=d.showSlider,this.autohide=d.autohide,this.pixelRatio=o,this.typicalHalfwidthCharacterWidth=l.typicalHalfwidthCharacterWidth,this.lineHeight=n.get(67),this.minimapLeft=a.minimapLeft,this.minimapWidth=a.minimapWidth,this.minimapHeight=r.height,this.canvasInnerWidth=a.minimapCanvasInnerWidth,this.canvasInnerHeight=a.minimapCanvasInnerHeight,this.canvasOuterWidth=a.minimapCanvasOuterWidth,this.canvasOuterHeight=a.minimapCanvasOuterHeight,this.isSampling=a.minimapIsSampling,this.editorHeight=r.height,this.fontScale=a.minimapScale,this.minimapLineHeight=a.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.sectionHeaderFontFamily=fpe,this.sectionHeaderFontSize=d.sectionHeaderFontSize*o,this.sectionHeaderFontColor=Bm._getSectionHeaderColor(t,i.getColor(1)),this.charRenderer=o_(()=>Zv.create(this.fontScale,l.fontFamily)),this.defaultBackgroundColor=i.getColor(2),this.backgroundColor=Bm._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=Bm._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){const i=e.getColor(the);return i?new Qo(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}static _getMinimapForegroundOpacity(e){const t=e.getColor(ihe);return t?Qo._clamp(Math.round(255*t.rgba.a)):255}static _getSectionHeaderColor(e,t){const i=e.getColor(Tr);return i?new Qo(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.paddingTop===e.paddingTop&&this.paddingBottom===e.paddingBottom&&this.showSlider===e.showSlider&&this.autohide===e.autohide&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.sectionHeaderFontSize===e.sectionHeaderFontSize&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class Xv{constructor(e,t,i,n,o,r,a,l,d){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=o,this.sliderHeight=r,this.topPaddingLineCount=a,this.startLineNumber=l,this.endLineNumber=d}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(e){const t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumber,e.endLineNumber);return t>i?null:[t,i]}getYForLineNumber(e,t){return+(e-this.startLineNumber+this.topPaddingLineCount)*t}static create(e,t,i,n,o,r,a,l,d,c,u){const h=e.pixelRatio,g=e.minimapLineHeight,f=Math.floor(e.canvasInnerHeight/g),m=e.lineHeight;if(e.minimapHeightIsEditorHeight){let D=l*e.lineHeight+e.paddingTop+e.paddingBottom;e.scrollBeyondLastLine&&(D+=Math.max(0,o-e.lineHeight-e.paddingBottom));const L=Math.max(1,Math.floor(o*o/D)),k=Math.max(0,e.minimapHeight-L),I=k/(c-o),O=d*I,R=k>0,P=Math.floor(e.canvasInnerHeight/e.minimapLineHeight),F=Math.floor(e.paddingTop/e.lineHeight);return new Xv(d,c,R,I,O,L,F,1,Math.min(a,P))}let _;if(r&&i!==a){const D=i-t+1;_=Math.floor(D*g/h)}else{const D=o/m;_=Math.floor(D*g/h)}const v=Math.floor(e.paddingTop/m);let b=Math.floor(e.paddingBottom/m);if(e.scrollBeyondLastLine){const D=o/m;b=Math.max(b,D-1)}let C;if(b>0){const D=o/m;C=(v+a+b-D-1)*g/h}else C=Math.max(0,(v+a)*g/h-_);C=Math.min(e.minimapHeight-_,C);const w=C/(c-o),y=d*w;if(f>=v+a+b){const D=C>0;return new Xv(d,c,D,w,y,_,v,1,a)}else{let D;t>1?D=t+v:D=Math.max(1,d/m);let L,k=Math.max(1,Math.floor(D-y*h/g));k<v?(L=v-k+1,k=1):(L=0,k=Math.max(1,k-v)),u&&u.scrollHeight===c&&(u.scrollTop>d&&(k=Math.min(k,u.startLineNumber),L=Math.max(L,u.topPaddingLineCount)),u.scrollTop<d&&(k=Math.max(k,u.startLineNumber),L=Math.min(L,u.topPaddingLineCount)));const I=Math.min(a,k-L+f-1),O=(d-n)/m;let R;return d>=e.paddingTop?R=(t-k+L+O)*g/h:R=d/e.paddingTop*(L+O)*g/h,new Xv(d,c,!0,w,R,_,L,k,I)}}}class aD{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}aD.INVALID=new aD(-1);class ZB{constructor(e,t,i){this.renderedLayout=e,this._imageData=t,this._renderedLines=new i$(()=>aD.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;const i=this._renderedLines._get().lines;for(let n=0,o=i.length;n<o;n++)if(i[n].dy===-1)return!1;return!0}scrollEquals(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber}_get(){const e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}}onLinesChanged(e,t){return this._renderedLines.onLinesChanged(e,t)}onLinesDeleted(e,t){this._renderedLines.onLinesDeleted(e,t)}onLinesInserted(e,t){this._renderedLines.onLinesInserted(e,t)}onTokensChanged(e){return this._renderedLines.onTokensChanged(e)}}class UF{constructor(e,t,i,n){this._backgroundFillData=UF._createBackgroundFillData(t,i,n),this._buffers=[e.createImageData(t,i),e.createImageData(t,i)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;const e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e}static _createBackgroundFillData(e,t,i){const n=i.r,o=i.g,r=i.b,a=i.a,l=new Uint8ClampedArray(e*t*4);let d=0;for(let c=0;c<t;c++)for(let u=0;u<e;u++)l[d]=n,l[d+1]=o,l[d+2]=r,l[d+3]=a,d+=4;return l}}class tC{static compute(e,t,i){if(e.renderMinimap===0||!e.isSampling)return[null,[]];const{minimapLineCount:n}=Lm.computeContainedMinimapLineCount({viewLineCount:t,scrollBeyondLastLine:e.scrollBeyondLastLine,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:e.editorHeight,lineHeight:e.lineHeight,pixelRatio:e.pixelRatio}),o=t/n,r=o/2;if(!i||i.minimapLines.length===0){const _=[];if(_[0]=1,n>1){for(let v=0,b=n-1;v<b;v++)_[v]=Math.round(v*o+r);_[n-1]=t}return[new tC(o,_),[]]}const a=i.minimapLines,l=a.length,d=[];let c=0,u=0,h=1;const g=10;let f=[],m=null;for(let _=0;_<n;_++){const v=Math.max(h,Math.round(_*o)),b=Math.max(v,Math.round((_+1)*o));for(;c<l&&a[c]<v;){if(f.length<g){const w=c+1+u;m&&m.type===\"deleted\"&&m._oldIndex===c-1?m.deleteToLineNumber++:(m={type:\"deleted\",_oldIndex:c,deleteFromLineNumber:w,deleteToLineNumber:w},f.push(m)),u--}c++}let C;if(c<l&&a[c]<=b)C=a[c],c++;else if(_===0?C=1:_+1===n?C=t:C=Math.round(_*o+r),f.length<g){const w=c+1+u;m&&m.type===\"inserted\"&&m._i===_-1?m.insertToLineNumber++:(m={type:\"inserted\",_i:_,insertFromLineNumber:w,insertToLineNumber:w},f.push(m)),u++}d[_]=C,h=C}if(f.length<g)for(;c<l;){const _=c+1+u;m&&m.type===\"deleted\"&&m._oldIndex===c-1?m.deleteToLineNumber++:(m={type:\"deleted\",_oldIndex:c,deleteFromLineNumber:_,deleteToLineNumber:_},f.push(m)),u--,c++}else f=[{type:\"flush\"}];return[new tC(o,d),f]}constructor(e,t){this.samplingRatio=e,this.minimapLines=t}modelLineToMinimapLine(e){return Math.min(this.minimapLines.length,Math.max(1,Math.round(e/this.samplingRatio)))}modelLineRangeToMinimapLineRange(e,t){let i=this.modelLineToMinimapLine(e)-1;for(;i>0&&this.minimapLines[i-1]>=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1<this.minimapLines.length&&this.minimapLines[n+1]<=t;)n++;if(i===n){const o=this.minimapLines[i];if(o<e||o>t)return null}return[i+1,n+1]}decorationLineRangeToMinimapLineRange(e,t){let i=this.modelLineToMinimapLine(e),n=this.modelLineToMinimapLine(t);return e!==t&&n===i&&(n===this.minimapLines.length?i>1&&i--:n++),[i,n]}onLinesDeleted(e){const t=e.toLineNumber-e.fromLineNumber+1;let i=this.minimapLines.length,n=0;for(let o=this.minimapLines.length-1;o>=0&&!(this.minimapLines[o]<e.fromLineNumber);o--)this.minimapLines[o]<=e.toLineNumber?(this.minimapLines[o]=Math.max(1,e.fromLineNumber-1),i=Math.min(i,o),n=Math.max(n,o)):this.minimapLines[o]-=t;return[i,n]}onLinesInserted(e){const t=e.toLineNumber-e.fromLineNumber+1;for(let i=this.minimapLines.length-1;i>=0&&!(this.minimapLines[i]<e.fromLineNumber);i--)this.minimapLines[i]+=t}}class _pe extends Fo{constructor(e){super(e),this._sectionHeaderCache=new iu(10,1.5),this.tokensColorTracker=D1.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new Bm(this._context.configuration,this._context.theme,this.tokensColorTracker);const[t]=tC.compute(this.options,this._context.viewModel.getLineCount(),null);this._samplingState=t,this._shouldCheckSampling=!1,this._actual=new gm(e.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const e=new Bm(this._context.configuration,this._context.theme,this.tokensColorTracker);return this.options.equals(e)?!1:(this.options=e,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(e){return this._onOptionsMaybeChanged()}onCursorStateChanged(e){return this._selections=e.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(e){return e.affectsMinimap?this._actual.onDecorationsChanged():!1}onFlushed(e){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(e){if(this._samplingState){const t=this._samplingState.modelLineRangeToMinimapLineRange(e.fromLineNumber,e.fromLineNumber+e.count-1);return t?this._actual.onLinesChanged(t[0],t[1]-t[0]+1):!1}else return this._actual.onLinesChanged(e.fromLineNumber,e.count)}onLinesDeleted(e){if(this._samplingState){const[t,i]=this._samplingState.onLinesDeleted(e);return t<=i&&this._actual.onLinesChanged(t+1,i-t+1),this._shouldCheckSampling=!0,!0}else return this._actual.onLinesDeleted(e.fromLineNumber,e.toLineNumber)}onLinesInserted(e){return this._samplingState?(this._samplingState.onLinesInserted(e),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(e.fromLineNumber,e.toLineNumber)}onScrollChanged(e){return this._actual.onScrollChanged()}onThemeChanged(e){return this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(e){if(this._samplingState){const t=[];for(const i of e.ranges){const n=this._samplingState.modelLineRangeToMinimapLineRange(i.fromLineNumber,i.toLineNumber);n&&t.push({fromLineNumber:n[0],toLineNumber:n[1]})}return t.length?this._actual.onTokensChanged(t):!1}else return this._actual.onTokensChanged(e.ranges)}onTokensColorsChanged(e){return this._onOptionsMaybeChanged(),this._actual.onTokensColorsChanged()}onZonesChanged(e){return this._actual.onZonesChanged()}prepareRender(e){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(e){let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber;this._samplingState&&(t=this._samplingState.modelLineToMinimapLine(t),i=this._samplingState.modelLineToMinimapLine(i));const n={viewportContainsWhitespaceGaps:e.viewportData.whitespaceViewportData.length>0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:i,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(n)}_recreateLineSampling(){this._minimapSelections=null;const e=!!this._samplingState,[t,i]=tC.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(const n of i)switch(n.type){case\"deleted\":this._actual.onLinesDeleted(n.deleteFromLineNumber,n.deleteToLineNumber);break;case\"inserted\":this._actual.onLinesInserted(n.insertFromLineNumber,n.insertToLineNumber);break;case\"flush\":this._actual.onFlushed();break}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(e){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineContent(e)}getLineMaxColumn(e){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineMaxColumn(e)}getMinimapLinesRenderingData(e,t,i){if(this._samplingState){const n=[];for(let o=0,r=t-e+1;o<r;o++)i[o]?n[o]=this._context.viewModel.getViewLineData(this._samplingState.minimapLines[e+o-1]):n[o]=null;return n}return this._context.viewModel.getMinimapLinesRenderingData(e,t,i).data}getSelections(){if(this._minimapSelections===null)if(this._samplingState){this._minimapSelections=[];for(const e of this._selections){const[t,i]=this._samplingState.decorationLineRangeToMinimapLineRange(e.startLineNumber,e.endLineNumber);this._minimapSelections.push(new we(t,e.startColumn,i,e.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(e,t){const i=this._getMinimapDecorationsInViewport(e,t).filter(n=>{var o;return!(!((o=n.options.minimap)===null||o===void 0)&&o.sectionHeaderStyle)});if(this._samplingState){const n=[];for(const o of i){if(!o.options.minimap)continue;const r=o.range,a=this._samplingState.modelLineToMinimapLine(r.startLineNumber),l=this._samplingState.modelLineToMinimapLine(r.endLineNumber);n.push(new CU(new x(a,r.startColumn,l,r.endColumn),o.options))}return n}return i}getSectionHeaderDecorationsInViewport(e,t){const i=this.options.minimapLineHeight,o=this.options.sectionHeaderFontSize/i;return e=Math.floor(Math.max(1,e-o)),this._getMinimapDecorationsInViewport(e,t).filter(r=>{var a;return!!(!((a=r.options.minimap)===null||a===void 0)&&a.sectionHeaderStyle)})}_getMinimapDecorationsInViewport(e,t){let i;if(this._samplingState){const n=this._samplingState.minimapLines[e-1],o=this._samplingState.minimapLines[t-1];i=new x(n,1,o,this._context.viewModel.getLineMaxColumn(o))}else i=new x(e,1,t,this._context.viewModel.getLineMaxColumn(t));return this._context.viewModel.getMinimapDecorationsInRange(i)}getSectionHeaderText(e,t){var i;const n=(i=e.options.minimap)===null||i===void 0?void 0:i.sectionHeaderText;if(!n)return null;const o=this._sectionHeaderCache.get(n);if(o)return o;const r=t(n);return this._sectionHeaderCache.set(n,r),r}getOptions(){return this._context.viewModel.model.getOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.viewModel.revealRange(\"mouse\",!1,new x(e,1,e,1),1,0)}setScrollTop(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e},1)}}class gm extends H{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(TB),this._domNode=It(document.createElement(\"div\")),rl.write(this._domNode,9),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition(\"absolute\"),this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._shadow=It(document.createElement(\"div\")),this._shadow.setClassName(\"minimap-shadow-hidden\"),this._domNode.appendChild(this._shadow),this._canvas=It(document.createElement(\"canvas\")),this._canvas.setPosition(\"absolute\"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=It(document.createElement(\"canvas\")),this._decorationsCanvas.setPosition(\"absolute\"),this._decorationsCanvas.setClassName(\"minimap-decorations-layer\"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=It(document.createElement(\"div\")),this._slider.setPosition(\"absolute\"),this._slider.setClassName(\"minimap-slider\"),this._slider.setLayerHinting(!0),this._slider.setContain(\"strict\"),this._domNode.appendChild(this._slider),this._sliderHorizontal=It(document.createElement(\"div\")),this._sliderHorizontal.setPosition(\"absolute\"),this._sliderHorizontal.setClassName(\"minimap-slider-horizontal\"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._pointerDownListener=Ni(this._domNode.domNode,ee.POINTER_DOWN,i=>{if(i.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!==\"proportional\"){if(i.button===0&&this._lastRenderData){const d=qi(this._slider.domNode),c=d.top+d.height/2;this._startSliderDragging(i,c,this._lastRenderData.renderedLayout)}return}const o=this._model.options.minimapLineHeight,r=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*i.offsetY;let l=Math.floor(r/o)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;l=Math.min(l,this._model.getLineCount()),this._model.revealLineNumber(l)}),this._sliderPointerMoveMonitor=new c0,this._sliderPointerDownListener=Ni(this._slider.domNode,ee.POINTER_DOWN,i=>{i.preventDefault(),i.stopPropagation(),i.button===0&&this._lastRenderData&&this._startSliderDragging(i,i.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=Gt.addTarget(this._domNode.domNode),this._sliderTouchStartListener=K(this._domNode.domNode,Xt.Start,i=>{i.preventDefault(),i.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName(\"active\",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(i))},{passive:!1}),this._sliderTouchMoveListener=K(this._domNode.domNode,Xt.Change,i=>{i.preventDefault(),i.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(i)},{passive:!1}),this._sliderTouchEndListener=Ni(this._domNode.domNode,Xt.End,i=>{i.preventDefault(),i.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName(\"active\",!1)})}_startSliderDragging(e,t,i){if(!e.target||!(e.target instanceof Element))return;const n=e.pageX;this._slider.toggleClassName(\"active\",!0);const o=(r,a)=>{const l=qi(this._domNode.domNode),d=Math.min(Math.abs(a-n),Math.abs(a-l.left),Math.abs(a-l.left-l.width));if(as&&d>ppe){this._model.setScrollTop(i.scrollTop);return}const c=r-t;this._model.setScrollTop(i.getDesiredScrollTopFromDelta(c))};e.pageY!==t&&o(e.pageY,n),this._sliderPointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,r=>o(r.pageY,r.pageX),()=>{this._slider.toggleClassName(\"active\",!1)})}scrollDueToTouchEvent(e){const t=this._domNode.domNode.getBoundingClientRect().top,i=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(i)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){const e=[\"minimap\"];return this._model.options.showSlider===\"always\"?e.push(\"slider-always\"):e.push(\"slider-mouseover\"),this._model.options.autohide&&e.push(\"autohide\"),e.join(\" \")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new UF(this._canvas.domNode.getContext(\"2d\"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return this._lastRenderData?this._lastRenderData.onLinesChanged(e,t):!1}onLinesDeleted(e,t){var i;return(i=this._lastRenderData)===null||i===void 0||i.onLinesDeleted(e,t),!0}onLinesInserted(e,t){var i;return(i=this._lastRenderData)===null||i===void 0||i.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(TB),this._renderDecorations=!0,!0}onTokensChanged(e){return this._lastRenderData?this._lastRenderData.onTokensChanged(e):!1}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){if(this._model.options.renderMinimap===0){this._shadow.setClassName(\"minimap-shadow-hidden\"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName(\"minimap-shadow-hidden\"):this._shadow.setClassName(\"minimap-shadow-visible\");const i=Xv.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(i.sliderNeeded?\"block\":\"none\"),this._slider.setTop(i.sliderTop),this._slider.setHeight(i.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(i.sliderHeight),this.renderDecorations(i),this._lastRenderData=this.renderLines(i)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;const t=this._model.getSelections();t.sort(x.compareRangesUsingStarts);const i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);i.sort((h,g)=>(h.options.zIndex||0)-(g.options.zIndex||0));const{canvasInnerWidth:n,canvasInnerHeight:o}=this._model.options,r=this._model.options.minimapLineHeight,a=this._model.options.minimapCharWidth,l=this._model.getOptions().tabSize,d=this._decorationsCanvas.domNode.getContext(\"2d\");d.clearRect(0,0,n,o);const c=new XB(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(d,t,c,e,r),this._renderDecorationsLineHighlights(d,i,c,e,r);const u=new XB(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(d,t,u,e,r,l,a,n),this._renderDecorationsHighlights(d,i,u,e,r,l,a,n),this._renderSectionHeaders(e)}}_renderSelectionLineHighlights(e,t,i,n,o){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let r=0,a=0;for(const l of t){const d=n.intersectWithViewport(l);if(!d)continue;const[c,u]=d;for(let f=c;f<=u;f++)i.set(f,!0);const h=n.getYForLineNumber(c,o),g=n.getYForLineNumber(u,o);a>=h||(a>r&&e.fillRect(El,r,e.canvas.width,a-r),r=h),a=g}a>r&&e.fillRect(El,r,e.canvas.width,a-r)}_renderDecorationsLineHighlights(e,t,i,n,o){const r=new Map;for(let a=t.length-1;a>=0;a--){const l=t[a],d=l.options.minimap;if(!d||d.position!==1)continue;const c=n.intersectWithViewport(l.range);if(!c)continue;const[u,h]=c,g=d.getColor(this._theme.value);if(!g||g.isTransparent())continue;let f=r.get(g.toString());f||(f=g.transparent(.5).toString(),r.set(g.toString(),f)),e.fillStyle=f;for(let m=u;m<=h;m++){if(i.has(m))continue;i.set(m,!0);const _=n.getYForLineNumber(u,o);e.fillRect(El,_,e.canvas.width,o)}}}_renderSelectionsHighlights(e,t,i,n,o,r,a,l){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(const d of t){const c=n.intersectWithViewport(d);if(!c)continue;const[u,h]=c;for(let g=u;g<=h;g++)this.renderDecorationOnLine(e,i,d,this._selectionColor,n,g,o,o,r,a,l)}}_renderDecorationsHighlights(e,t,i,n,o,r,a,l){for(const d of t){const c=d.options.minimap;if(!c)continue;const u=n.intersectWithViewport(d.range);if(!u)continue;const[h,g]=u,f=c.getColor(this._theme.value);if(!(!f||f.isTransparent()))for(let m=h;m<=g;m++)switch(c.position){case 1:this.renderDecorationOnLine(e,i,d.range,f,n,m,o,o,r,a,l);continue;case 2:{const _=n.getYForLineNumber(m,o);this.renderDecoration(e,f,2,_,mpe,o);continue}}}}renderDecorationOnLine(e,t,i,n,o,r,a,l,d,c,u){const h=o.getYForLineNumber(r,l);if(h+a<0||h>this._model.options.canvasInnerHeight)return;const{startLineNumber:g,endLineNumber:f}=i,m=g===r?i.startColumn:1,_=f===r?i.endColumn:this._model.getLineMaxColumn(r),v=this.getXOffsetForPosition(t,r,m,d,c,u),b=this.getXOffsetForPosition(t,r,_,d,c,u);this.renderDecoration(e,n,v,h,b-v,a)}getXOffsetForPosition(e,t,i,n,o,r){if(i===1)return El;if((i-1)*o>=r)return r;let l=e.get(t);if(!l){const d=this._model.getLineContent(t);l=[El];let c=El;for(let u=1;u<d.length+1;u++){const h=d.charCodeAt(u-1),g=h===9?n*o:Dh(h)?2*o:o,f=c+g;if(f>=r){l[u]=r;break}l[u]=f,c=f}e.set(t,l)}return i-1<l.length?l[i-1]:r}renderDecoration(e,t,i,n,o,r){e.fillStyle=t&&t.toString()||\"\",e.fillRect(i,n,o,r)}_renderSectionHeaders(e){var t;const i=this._model.options.minimapLineHeight,n=this._model.options.sectionHeaderFontSize,o=n*1.5,{canvasInnerWidth:r}=this._model.options,a=this._model.options.backgroundColor,l=`rgb(${a.r} ${a.g} ${a.b} / .7)`,d=this._model.options.sectionHeaderFontColor,c=`rgb(${d.r} ${d.g} ${d.b})`,u=c,h=this._decorationsCanvas.domNode.getContext(\"2d\");h.font=n+\"px \"+this._model.options.sectionHeaderFontFamily,h.strokeStyle=u,h.lineWidth=.2;const g=this._model.getSectionHeaderDecorationsInViewport(e.startLineNumber,e.endLineNumber);g.sort((m,_)=>m.range.startLineNumber-_.range.startLineNumber);const f=gm._fitSectionHeader.bind(null,h,r-El);for(const m of g){const _=e.getYForLineNumber(m.range.startLineNumber,i)+n,v=_-n,b=v+2,C=this._model.getSectionHeaderText(m,f);gm._renderSectionLabel(h,C,((t=m.options.minimap)===null||t===void 0?void 0:t.sectionHeaderStyle)===2,l,c,r,v,o,_,b)}}static _fitSectionHeader(e,t,i){if(!i)return i;const n=\"…\",o=e.measureText(i).width,r=e.measureText(n).width;if(o<=t||o<=r)return i;const a=i.length,l=o/i.length,d=Math.floor((t-r)/l)-1;let c=Math.ceil(d/2);for(;c>0&&/\\s/.test(i[c-1]);)--c;return i.substring(0,c)+n+i.substring(a-(d-c))}static _renderSectionLabel(e,t,i,n,o,r,a,l,d,c){t&&(e.fillStyle=n,e.fillRect(0,a,r,l),e.fillStyle=o,e.fillText(t,El,d)),i&&(e.beginPath(),e.moveTo(0,c),e.lineTo(r,c),e.closePath(),e.stroke())}renderLines(e){const t=e.startLineNumber,i=e.endLineNumber,n=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){const U=this._lastRenderData._get();return new ZB(e,U.imageData,U.lines)}const o=this._getBuffer();if(!o)return null;const[r,a,l]=gm._renderUntouchedLines(o,e.topPaddingLineCount,t,i,n,this._lastRenderData),d=this._model.getMinimapLinesRenderingData(t,i,l),c=this._model.getOptions().tabSize,u=this._model.options.defaultBackgroundColor,h=this._model.options.backgroundColor,g=this._model.options.foregroundAlpha,f=this._model.tokensColorTracker,m=f.backgroundIsLight(),_=this._model.options.renderMinimap,v=this._model.options.charRenderer(),b=this._model.options.fontScale,C=this._model.options.minimapCharWidth,y=(_===1?2:3)*b,D=n>y?Math.floor((n-y)/2):0,L=h.a/255,k=new Qo(Math.round((h.r-u.r)*L+u.r),Math.round((h.g-u.g)*L+u.g),Math.round((h.b-u.b)*L+u.b),255);let I=e.topPaddingLineCount*n;const O=[];for(let U=0,J=i-t+1;U<J;U++)l[U]&&gm._renderLine(o,k,h.a,m,_,C,f,g,v,I,D,c,d[U],b,n),O[U]=new aD(I),I+=n;const R=r===-1?0:r,F=(a===-1?o.height:a)-R;return this._canvas.domNode.getContext(\"2d\").putImageData(o,0,0,0,R,o.width,F),new ZB(e,o,O)}static _renderUntouchedLines(e,t,i,n,o,r){const a=[];if(!r){for(let I=0,O=n-i+1;I<O;I++)a[I]=!0;return[-1,-1,a]}const l=r._get(),d=l.imageData.data,c=l.rendLineNumberStart,u=l.lines,h=u.length,g=e.width,f=e.data,m=(n-i+1)*o*g*4;let _=-1,v=-1,b=-1,C=-1,w=-1,y=-1,D=t*o;for(let I=i;I<=n;I++){const O=I-i,R=I-c,P=R>=0&&R<h?u[R].dy:-1;if(P===-1){a[O]=!0,D+=o;continue}const F=P*g*4,V=(P+o)*g*4,U=D*g*4,J=(D+o)*g*4;C===F&&y===U?(C=V,y=J):(b!==-1&&(f.set(d.subarray(b,C),w),_===-1&&b===0&&b===w&&(_=C),v===-1&&C===m&&b===w&&(v=b)),b=F,C=V,w=U,y=J),a[O]=!1,D+=o}b!==-1&&(f.set(d.subarray(b,C),w),_===-1&&b===0&&b===w&&(_=C),v===-1&&C===m&&b===w&&(v=b));const L=_===-1?-1:_/(g*4),k=v===-1?-1:v/(g*4);return[L,k,a]}static _renderLine(e,t,i,n,o,r,a,l,d,c,u,h,g,f,m){const _=g.content,v=g.tokens,b=e.width-r,C=m===1;let w=El,y=0,D=0;for(let L=0,k=v.getCount();L<k;L++){const I=v.getEndOffset(L),O=v.getForeground(L),R=a.getColor(O);for(;y<I;y++){if(w>b)return;const P=_.charCodeAt(y);if(P===9){const F=h-(y+D)%h;D+=F-1,w+=F*r}else if(P===32)w+=r;else{const F=Dh(P)?2:1;for(let V=0;V<F;V++)if(o===2?d.blockRenderChar(e,w,c+u,R,l,t,i,C):d.renderChar(e,w,c+u,P,R,l,t,i,f,n,C),w+=r,w>b)return}}}}}class XB{constructor(e,t,i){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=i,this._values=[];for(let n=0,o=this._endLineNumber-this._startLineNumber+1;n<o;n++)this._values[n]=i}has(e){return this.get(e)!==this._defaultValue}set(e,t){e<this._startLineNumber||e>this._endLineNumber||(this._values[e-this._startLineNumber]=t)}get(e){return e<this._startLineNumber||e>this._endLineNumber?this._defaultValue:this._values[e-this._startLineNumber]}}class vpe extends Fo{constructor(e,t){super(e),this._viewDomNode=t;const n=this._context.configuration.options.get(145);this._widgets={},this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,this._viewDomNodeRect={top:0,left:0,width:0,height:0},this._domNode=It(document.createElement(\"div\")),rl.write(this._domNode,4),this._domNode.setClassName(\"overlayWidgets\"),this.overflowingOverlayWidgetsDomNode=It(document.createElement(\"div\")),rl.write(this.overflowingOverlayWidgetsDomNode,5),this.overflowingOverlayWidgetsDomNode.setClassName(\"overflowingOverlayWidgets\")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const i=this._context.configuration.options.get(145);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){const t=It(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition(\"absolute\"),t.setAttribute(\"widgetId\",e.getId()),e.allowEditorOverflow?this.overflowingOverlayWidgetsDomNode.appendChild(t):this._domNode.appendChild(t),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(e,t){const i=this._widgets[e.getId()];return i.preference===t?(this._updateMaxMinWidth(),!1):(i.preference=t,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.remove(),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var e,t;let i=0;const n=Object.keys(this._widgets);for(let o=0,r=n.length;o<r;o++){const a=n[o],d=(t=(e=this._widgets[a].widget).getMinContentWidthInPx)===null||t===void 0?void 0:t.call(e);typeof d<\"u\"&&(i=Math.max(i,d))}this._context.viewLayout.setOverlayWidgetsMinWidth(i)}_renderWidget(e){const t=e.domNode;if(e.preference===null){t.setTop(\"\");return}if(e.preference===0)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(e.preference===1){const i=t.domNode.clientHeight;t.setTop(this._editorHeight-i-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else if(e.preference===2)t.setTop(0),t.domNode.style.right=\"50%\";else{const{top:i,left:n}=e.preference;if(this._context.configuration.options.get(42)&&e.widget.allowEditorOverflow){const r=this._viewDomNodeRect;t.setTop(i+r.top),t.setLeft(n+r.left),t.setPosition(\"fixed\")}else t.setTop(i),t.setLeft(n),t.setPosition(\"absolute\")}}prepareRender(e){this._viewDomNodeRect=qi(this._viewDomNode.domNode)}render(e){this._domNode.setWidth(this._editorWidth);const t=Object.keys(this._widgets);for(let i=0,n=t.length;i<n;i++){const o=t[i];this._renderWidget(this._widgets[o])}}}class bpe{constructor(e,t){const i=e.options;this.lineHeight=i.get(67),this.pixelRatio=i.get(143),this.overviewRulerLanes=i.get(83),this.renderBorder=i.get(82);const n=t.getColor(ife);this.borderColor=n?n.toString():null,this.hideCursor=i.get(59);const o=t.getColor(id);this.cursorColorSingle=o?o.transparent(.7).toString():null;const r=t.getColor(jU);this.cursorColorPrimary=r?r.transparent(.7).toString():null;const a=t.getColor(KU);this.cursorColorSecondary=a?a.transparent(.7).toString():null,this.themeType=t.type;const l=i.get(73),d=l.enabled,c=l.side,u=t.getColor(nfe),h=Ki.getDefaultBackground();u?this.backgroundColor=u:d&&c===\"right\"?this.backgroundColor=h:this.backgroundColor=null;const f=i.get(145).overviewRuler;this.top=f.top,this.right=f.right,this.domWidth=f.width,this.domHeight=f.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[m,_]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=m,this.w=_}_initLanes(e,t,i){const n=t-e;if(i>=3){const o=Math.floor(n/3),r=Math.floor(n/3),a=n-o-r,l=e,d=l+o,c=l+o+a;return[[0,l,d,l,c,l,d,l],[0,o,a,o+a,r,o+a+r,a+r,o+a+r]]}else if(i===2){const o=Math.floor(n/2),r=n-o,a=e,l=a+o;return[[0,a,a,a,l,a,a,a],[0,o,o,o,r,o+r,o+r,o+r]]}else{const o=e,r=n;return[[0,o,o,o,o,o,o,o],[0,r,r,r,r,r,r,r]]}}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColorSingle===e.cursorColorSingle&&this.cursorColorPrimary===e.cursorColorPrimary&&this.cursorColorSecondary===e.cursorColorSecondary&&this.themeType===e.themeType&&$.equals(this.backgroundColor,e.backgroundColor)&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class Cpe extends Fo{constructor(e){super(e),this._actualShouldRender=0,this._renderedDecorations=[],this._renderedCursorPositions=[],this._domNode=It(document.createElement(\"canvas\")),this._domNode.setClassName(\"decorationsOverviewRuler\"),this._domNode.setPosition(\"absolute\"),this._domNode.setLayerHinting(!0),this._domNode.setContain(\"strict\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._updateSettings(!1),this._tokensColorTrackerListener=Ki.onDidChange(t=>{t.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[{position:new W(1,1),color:this._settings.cursorColorSingle}]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){const t=new bpe(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(t)?!1:(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}_markRenderingIsNeeded(){return this._actualShouldRender=2,!0}_markRenderingIsMaybeNeeded(){return this._actualShouldRender=1,!0}onConfigurationChanged(e){return this._updateSettings(!1)?this._markRenderingIsNeeded():!1}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;t<i;t++){let n=this._settings.cursorColorSingle;i>1&&(n=t===0?this._settings.cursorColorPrimary:this._settings.cursorColorSecondary),this._cursorPositions.push({position:e.selections[t].getPosition(),color:n})}return this._cursorPositions.sort((t,i)=>W.compare(t.position,i.position)),this._markRenderingIsMaybeNeeded()}onDecorationsChanged(e){return e.affectsOverviewRuler?this._markRenderingIsMaybeNeeded():!1}onFlushed(e){return this._markRenderingIsNeeded()}onScrollChanged(e){return e.scrollHeightChanged?this._markRenderingIsNeeded():!1}onZonesChanged(e){return this._markRenderingIsNeeded()}onThemeChanged(e){return this._updateSettings(!1)?this._markRenderingIsNeeded():!1}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render(),this._actualShouldRender=0}_render(){const e=this._settings.backgroundColor;if(this._settings.overviewRulerLanes===0){this._domNode.setBackgroundColor(e?$.Format.CSS.formatHexA(e):\"\"),this._domNode.setDisplay(\"none\");return}const t=this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme);if(t.sort($b.compareByRenderingProps),this._actualShouldRender===1&&!$b.equalsArr(this._renderedDecorations,t)&&(this._actualShouldRender=2),this._actualShouldRender===1&&!Ci(this._renderedCursorPositions,this._cursorPositions,(f,m)=>f.position.lineNumber===m.position.lineNumber&&f.color===m.color)&&(this._actualShouldRender=2),this._actualShouldRender===1)return;this._renderedDecorations=t,this._renderedCursorPositions=this._cursorPositions,this._domNode.setDisplay(\"block\");const i=this._settings.canvasWidth,n=this._settings.canvasHeight,o=this._settings.lineHeight,r=this._context.viewLayout,a=this._context.viewLayout.getScrollHeight(),l=n/a,d=6*this._settings.pixelRatio|0,c=d/2|0,u=this._domNode.domNode.getContext(\"2d\");e?e.isOpaque()?(u.fillStyle=$.Format.CSS.formatHexA(e),u.fillRect(0,0,i,n)):(u.clearRect(0,0,i,n),u.fillStyle=$.Format.CSS.formatHexA(e),u.fillRect(0,0,i,n)):u.clearRect(0,0,i,n);const h=this._settings.x,g=this._settings.w;for(const f of t){const m=f.color,_=f.data;u.fillStyle=m;let v=0,b=0,C=0;for(let w=0,y=_.length/3;w<y;w++){const D=_[3*w],L=_[3*w+1],k=_[3*w+2];let I=r.getVerticalOffsetForLineNumber(L)*l|0,O=(r.getVerticalOffsetForLineNumber(k)+o)*l|0;if(O-I<d){let P=(I+O)/2|0;P<c?P=c:P+c>n&&(P=n-c),I=P-c,O=P+c}I>C+1||D!==v?(w!==0&&u.fillRect(h[v],b,g[v],C-b),v=D,b=I,C=O):O>C&&(C=O)}u.fillRect(h[v],b,g[v],C-b)}if(!this._settings.hideCursor){const f=2*this._settings.pixelRatio|0,m=f/2|0,_=this._settings.x[7],v=this._settings.w[7];let b=-100,C=-100,w=null;for(let y=0,D=this._cursorPositions.length;y<D;y++){const L=this._cursorPositions[y].color;if(!L)continue;const k=this._cursorPositions[y].position;let I=r.getVerticalOffsetForLineNumber(k.lineNumber)*l|0;I<m?I=m:I+m>n&&(I=n-m);const O=I-m,R=O+f;O>C+1||L!==w?(y!==0&&w&&u.fillRect(_,b,v,C-b),b=O,C=R):R>C&&(C=R),w=L,u.fillStyle=L}w&&u.fillRect(_,b,v,C-b)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,n),u.stroke(),u.moveTo(0,0),u.lineTo(i,0),u.stroke())}}class YB{constructor(e,t,i){this._colorZoneBrand=void 0,this.from=e|0,this.to=t|0,this.colorId=i|0}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class d${constructor(e,t,i,n){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=i,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1}setColorZone(e){this._colorZone=e}getColorZones(){return this._colorZone}}class wpe{constructor(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(e){this._zones=e,this._zones.sort(d$.compare)}setLineHeight(e){return this._lineHeight===e?!1:(this._lineHeight=e,this._colorZonesInvalid=!0,!0)}setPixelRatio(e){this._pixelRatio=e,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(e){return this._domWidth===e?!1:(this._domWidth=e,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(e){return this._domHeight===e?!1:(this._domHeight=e,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(e){return this._outerHeight===e?!1:(this._outerHeight=e,this._colorZonesInvalid=!0,!0)}resolveColorZones(){const e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),i=Math.floor(this.getCanvasHeight()),n=Math.floor(this._outerHeight),o=i/n,r=Math.floor(4*this._pixelRatio/2),a=[];for(let l=0,d=this._zones.length;l<d;l++){const c=this._zones[l];if(!e){const w=c.getColorZones();if(w){a.push(w);continue}}const u=this._getVerticalOffsetForLine(c.startLineNumber),h=c.heightInLines===0?this._getVerticalOffsetForLine(c.endLineNumber)+t:u+c.heightInLines*t,g=Math.floor(o*u),f=Math.floor(o*h);let m=Math.floor((g+f)/2),_=f-m;_<r&&(_=r),m-_<0&&(m=_),m+_>i&&(m=i-_);const v=c.color;let b=this._color2Id[v];b||(b=++this._lastAssignedId,this._color2Id[v]=b,this._id2Color[b]=v);const C=new YB(m-_,m+_,b);c.setColorZone(C),a.push(C)}return this._colorZonesInvalid=!1,a.sort(YB.compare),a}}class ype extends b1{constructor(e,t){super(),this._context=e;const i=this._context.configuration.options;this._domNode=It(document.createElement(\"canvas\")),this._domNode.setClassName(t),this._domNode.setPosition(\"absolute\"),this._domNode.setLayerHinting(!0),this._domNode.setContain(\"strict\"),this._zoneManager=new wpe(n=>this._context.viewLayout.getVerticalOffsetForLineNumber(n)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(67)),this._zoneManager.setPixelRatio(i.get(143)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(67)&&(this._zoneManager.setLineHeight(t.get(67)),this._render()),e.hasChanged(143)&&(this._zoneManager.setPixelRatio(t.get(143)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(this._zoneManager.getOuterHeight()===0)return!1;const e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext(\"2d\");return o.clearRect(0,0,e,t),i.length>0&&this._renderOneLane(o,i,n,e),!0}_renderOneLane(e,t,i,n){let o=0,r=0,a=0;for(const l of t){const d=l.colorId,c=l.from,u=l.to;d!==o?(e.fillRect(0,r,n,a-r),o=d,e.fillStyle=i[o],r=c,a=u):a>=c?a=Math.max(a,u):(e.fillRect(0,r,n,a-r),r=c,a=u)}e.fillRect(0,r,n,a-r)}}class Spe extends Fo{constructor(e){super(e),this.domNode=It(document.createElement(\"div\")),this.domNode.setAttribute(\"role\",\"presentation\"),this.domNode.setAttribute(\"aria-hidden\",\"true\"),this.domNode.setClassName(\"view-rulers\"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){const e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e<t){const{tabSize:n}=this._context.viewModel.model.getOptions(),o=n;let r=t-e;for(;r>0;){const a=It(document.createElement(\"div\"));a.setClassName(\"view-ruler\"),a.setWidth(o),this.domNode.appendChild(a),this._renderedRulers.push(a),r--}return}let i=e-t;for(;i>0;){const n=this._renderedRulers.pop();this.domNode.removeChild(n),i--}}render(e){this._ensureRulersCount();for(let t=0,i=this._rulers.length;t<i;t++){const n=this._renderedRulers[t],o=this._rulers[t];n.setBoxShadow(o.color?`1px 0 0 0 ${o.color} inset`:\"\"),n.setHeight(Math.min(e.scrollHeight,1e6)),n.setLeft(o.column*this._typicalHalfwidthCharacterWidth)}}}class Dpe extends Fo{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const i=this._context.configuration.options.get(103);this._useShadows=i.useShadows,this._domNode=It(document.createElement(\"div\")),this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\")}dispose(){super.dispose()}_updateShouldShow(){const e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e?(this._shouldShow=e,!0):!1}getDomNode(){return this._domNode}_updateWidth(){const t=this._context.configuration.options.get(145);t.minimap.renderMinimap===0||t.minimap.minimapWidth>0&&t.minimap.minimapLeft===0?this._width=t.width:this._width=t.width-t.verticalScrollbarWidth}onConfigurationChanged(e){const i=this._context.configuration.options.get(103);return this._useShadows=i.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?\"scroll-decoration\":\"\")}}class Lpe{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class xpe{constructor(e,t){this.lineNumber=e,this.ranges=t}}function kpe(s){return new Lpe(s)}function Epe(s){return new xpe(s.lineNumber,s.ranges.map(kpe))}class Fi extends lp{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t<i;t++)if(e[t].ranges.length>1)return!0;return!1}_enrichVisibleRangesWithStyle(e,t,i){const n=this._typicalHalfwidthCharacterWidth/4;let o=null,r=null;if(i&&i.length>0&&t.length>0){const a=t[0].lineNumber;if(a===e.startLineNumber)for(let d=0;!o&&d<i.length;d++)i[d].lineNumber===a&&(o=i[d].ranges[0]);const l=t[t.length-1].lineNumber;if(l===e.endLineNumber)for(let d=i.length-1;!r&&d>=0;d--)i[d].lineNumber===l&&(r=i[d].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}for(let a=0,l=t.length;a<l;a++){const d=t[a].ranges[0],c=d.left,u=d.left+d.width,h={top:0,bottom:0},g={top:0,bottom:0};if(a>0){const f=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;Tw(c-f)<n?h.top=2:c>f&&(h.top=1),Tw(u-m)<n?g.top=2:f<u&&u<m&&(g.top=1)}else o&&(h.top=o.startStyle.top,g.top=o.endStyle.top);if(a+1<l){const f=t[a+1].ranges[0].left,m=t[a+1].ranges[0].left+t[a+1].ranges[0].width;Tw(c-f)<n?h.bottom=2:f<c&&c<m&&(h.bottom=1),Tw(u-m)<n?g.bottom=2:u<m&&(g.bottom=1)}else r&&(h.bottom=r.startStyle.bottom,g.bottom=r.endStyle.bottom);d.startStyle=h,d.endStyle=g}}_getVisibleRangesWithStyle(e,t,i){const o=(t.linesVisibleRangesForRange(e,!0)||[]).map(Epe);return!this._visibleRangesHaveGaps(o)&&this._roundedSelection&&this._enrichVisibleRangesWithStyle(t.visibleRange,o,i),o}_createSelectionPiece(e,t,i,n,o){return'<div class=\"cslr '+i+'\" style=\"top:'+e.toString()+\"px;bottom:\"+t.toString()+\"px;left:\"+n.toString()+\"px;width:\"+o.toString()+'px;\"></div>'}_actualRenderOneSelection(e,t,i,n){if(n.length===0)return;const o=!!n[0].ranges[0].startStyle,r=n[0].lineNumber,a=n[n.length-1].lineNumber;for(let l=0,d=n.length;l<d;l++){const c=n[l],u=c.lineNumber,h=u-t,g=i&&u===r?1:0,f=i&&u!==r&&u===a?1:0;let m=\"\",_=\"\";for(let v=0,b=c.ranges.length;v<b;v++){const C=c.ranges[v];if(o){const y=C.startStyle,D=C.endStyle;if(y.top===1||y.bottom===1){m+=this._createSelectionPiece(g,f,Fi.SELECTION_CLASS_NAME,C.left-Fi.ROUNDED_PIECE_WIDTH,Fi.ROUNDED_PIECE_WIDTH);let L=Fi.EDITOR_BACKGROUND_CLASS_NAME;y.top===1&&(L+=\" \"+Fi.SELECTION_TOP_RIGHT),y.bottom===1&&(L+=\" \"+Fi.SELECTION_BOTTOM_RIGHT),m+=this._createSelectionPiece(g,f,L,C.left-Fi.ROUNDED_PIECE_WIDTH,Fi.ROUNDED_PIECE_WIDTH)}if(D.top===1||D.bottom===1){m+=this._createSelectionPiece(g,f,Fi.SELECTION_CLASS_NAME,C.left+C.width,Fi.ROUNDED_PIECE_WIDTH);let L=Fi.EDITOR_BACKGROUND_CLASS_NAME;D.top===1&&(L+=\" \"+Fi.SELECTION_TOP_LEFT),D.bottom===1&&(L+=\" \"+Fi.SELECTION_BOTTOM_LEFT),m+=this._createSelectionPiece(g,f,L,C.left+C.width,Fi.ROUNDED_PIECE_WIDTH)}}let w=Fi.SELECTION_CLASS_NAME;if(o){const y=C.startStyle,D=C.endStyle;y.top===0&&(w+=\" \"+Fi.SELECTION_TOP_LEFT),y.bottom===0&&(w+=\" \"+Fi.SELECTION_BOTTOM_LEFT),D.top===0&&(w+=\" \"+Fi.SELECTION_TOP_RIGHT),D.bottom===0&&(w+=\" \"+Fi.SELECTION_BOTTOM_RIGHT)}_+=this._createSelectionPiece(g,f,w,C.left,C.width)}e[h][0]+=m,e[h][1]+=_}}prepareRender(e){const t=[],i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber;for(let r=i;r<=n;r++){const a=r-i;t[a]=[\"\",\"\"]}const o=[];for(let r=0,a=this._selections.length;r<a;r++){const l=this._selections[r];if(l.isEmpty()){o[r]=null;continue}const d=this._getVisibleRangesWithStyle(l,e,this._previousFrameVisibleRangesWithStyle[r]);o[r]=d,this._actualRenderOneSelection(t,i,this._selections.length>1,d)}this._previousFrameVisibleRangesWithStyle=o,this._renderResult=t.map(([r,a])=>r+a)}render(e,t){if(!this._renderResult)return\"\";const i=t-e;return i<0||i>=this._renderResult.length?\"\":this._renderResult[i]}}Fi.SELECTION_CLASS_NAME=\"selected-text\";Fi.SELECTION_TOP_LEFT=\"top-left-radius\";Fi.SELECTION_BOTTOM_LEFT=\"bottom-left-radius\";Fi.SELECTION_TOP_RIGHT=\"top-right-radius\";Fi.SELECTION_BOTTOM_RIGHT=\"bottom-right-radius\";Fi.EDITOR_BACKGROUND_CLASS_NAME=\"monaco-editor-background\";Fi.ROUNDED_PIECE_WIDTH=10;zr((s,e)=>{const t=s.getColor(Fue);t&&!t.isTransparent()&&e.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${t}; }`)});function Tw(s){return s<0?-s:s}class QB{constructor(e,t,i,n,o,r,a){this.top=e,this.left=t,this.paddingLeft=i,this.width=n,this.height=o,this.textContent=r,this.textContentClassName=a}}var Sc;(function(s){s[s.Single=0]=\"Single\",s[s.MultiPrimary=1]=\"MultiPrimary\",s[s.MultiSecondary=2]=\"MultiSecondary\"})(Sc||(Sc={}));class JB{constructor(e,t){this._context=e;const i=this._context.configuration.options,n=i.get(50);this._cursorStyle=i.get(28),this._lineHeight=i.get(67),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(i.get(31),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=It(document.createElement(\"div\")),this._domNode.setClassName(`cursor ${Pm}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),Un(this._domNode,n),this._domNode.setDisplay(\"none\"),this._position=new W(1,1),this._pluralityClass=\"\",this.setPlurality(t),this._lastRenderedContent=\"\",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}setPlurality(e){switch(e){default:case Sc.Single:this._pluralityClass=\"\";break;case Sc.MultiPrimary:this._pluralityClass=\"cursor-primary\";break;case Sc.MultiSecondary:this._pluralityClass=\"cursor-secondary\";break}}show(){this._isVisible||(this._domNode.setVisibility(\"inherit\"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility(\"hidden\"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(50);return this._cursorStyle=t.get(28),this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(31),this._typicalHalfwidthCharacterWidth),Un(this._domNode,i),!0}onCursorPositionChanged(e,t){return t?this._domNode.domNode.style.transitionProperty=\"none\":this._domNode.domNode.style.transitionProperty=\"\",this._position=e,!0}_getGraphemeAwarePosition(){const{lineNumber:e,column:t}=this._position,i=this._context.viewModel.getLineContent(e),[n,o]=Are(i,t-1);return[new W(e,n+1),i.substring(n,o)]}_prepareRender(e){let t=\"\",i=\"\";const[n,o]=this._getGraphemeAwarePosition();if(this._cursorStyle===Hn.Line||this._cursorStyle===Hn.LineThin){const h=e.visibleRangeForPosition(n);if(!h||h.outsideRenderedLine)return null;const g=Te(this._domNode.domNode);let f;this._cursorStyle===Hn.Line?(f=w3(g,this._lineCursorWidth>0?this._lineCursorWidth:2),f>2&&(t=o,i=this._getTokenClassName(n))):f=w3(g,1);let m=h.left,_=0;f>=2&&m>=1&&(_=1,m-=_);const v=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta;return new QB(v,m,_,f,this._lineHeight,t,i)}const r=e.linesVisibleRangesForRange(new x(n.lineNumber,n.column,n.lineNumber,n.column+o.length),!1);if(!r||r.length===0)return null;const a=r[0];if(a.outsideRenderedLine||a.ranges.length===0)return null;const l=a.ranges[0],d=o===\"\t\"?this._typicalHalfwidthCharacterWidth:l.width<1?this._typicalHalfwidthCharacterWidth:l.width;this._cursorStyle===Hn.Block&&(t=o,i=this._getTokenClassName(n));let c=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta,u=this._lineHeight;return(this._cursorStyle===Hn.Underline||this._cursorStyle===Hn.UnderlineThin)&&(c+=this._lineHeight-2,u=2),new QB(c,l.left,0,d,u,t,i)}_getTokenClassName(e){const t=this._context.viewModel.getViewLineData(e.lineNumber),i=t.tokens.findTokenIndexAtOffset(e.column-1);return t.tokens.getClassName(i)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${this._pluralityClass} ${Pm} ${this._renderData.textContentClassName}`),this._domNode.setDisplay(\"block\"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay(\"none\"),null)}}class iC extends Fo{constructor(e){super(e);const t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new JB(this._context,Sc.Single),this._secondaryCursors=[],this._renderData=[],this._domNode=It(document.createElement(\"div\")),this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new ya,this._cursorFlatBlinkInterval=new lF,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(e){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(e){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(e){const t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let i=0,n=this._secondaryCursors.length;i<n;i++)this._secondaryCursors[i].onConfigurationChanged(e);return!0}_onCursorPositionChanged(e,t,i){const n=this._secondaryCursors.length!==t.length||this._cursorSmoothCaretAnimation===\"explicit\"&&i!==3;if(this._primaryCursor.setPlurality(t.length?Sc.MultiPrimary:Sc.Single),this._primaryCursor.onCursorPositionChanged(e,n),this._updateBlinking(),this._secondaryCursors.length<t.length){const o=t.length-this._secondaryCursors.length;for(let r=0;r<o;r++){const a=new JB(this._context,Sc.MultiSecondary);this._domNode.domNode.insertBefore(a.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(a)}}else if(this._secondaryCursors.length>t.length){const o=this._secondaryCursors.length-t.length;for(let r=0;r<o;r++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let o=0;o<t.length;o++)this._secondaryCursors[o].onCursorPositionChanged(t[o],n)}onCursorStateChanged(e){const t=[];for(let n=0,o=e.selections.length;n<o;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1),e.reason);const i=e.selections[0].isEmpty();return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,this._updateDomClassName()),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onFocusChanged(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onTokensChanged(e){const t=i=>{for(let n=0,o=e.ranges.length;n<o;n++)if(e.ranges[n].fromLineNumber<=i.lineNumber&&i.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(const i of this._secondaryCursors)if(t(i.getPosition()))return!0;return!1}onZonesChanged(e){return!0}_getCursorBlinking(){return this._isComposingInput||!this._editorHasFocus?0:this._readOnly?5:this._cursorBlinking}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();const e=this._getCursorBlinking(),t=e===0,i=e===5;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),!t&&!i&&(e===1?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},iC.BLINK_INTERVAL,Te(this._domNode.domNode)):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},iC.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e=\"cursors-layer\";switch(this._selectionIsEmpty||(e+=\" has-selection\"),this._cursorStyle){case Hn.Line:e+=\" cursor-line-style\";break;case Hn.Block:e+=\" cursor-block-style\";break;case Hn.Underline:e+=\" cursor-underline-style\";break;case Hn.LineThin:e+=\" cursor-line-thin-style\";break;case Hn.BlockOutline:e+=\" cursor-block-outline-style\";break;case Hn.UnderlineThin:e+=\" cursor-underline-thin-style\";break;default:e+=\" cursor-line-style\"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=\" cursor-blink\";break;case 2:e+=\" cursor-smooth\";break;case 3:e+=\" cursor-phase\";break;case 4:e+=\" cursor-expand\";break;case 5:e+=\" cursor-solid\";break;default:e+=\" cursor-solid\"}else e+=\" cursor-solid\";return(this._cursorSmoothCaretAnimation===\"on\"||this._cursorSmoothCaretAnimation===\"explicit\")&&(e+=\" cursor-smooth-caret-animation\"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1}prepareRender(e){this._primaryCursor.prepareRender(e);for(let t=0,i=this._secondaryCursors.length;t<i;t++)this._secondaryCursors[t].prepareRender(e)}render(e){const t=[];let i=0;const n=this._primaryCursor.render(e);n&&(t[i++]=n);for(let o=0,r=this._secondaryCursors.length;o<r;o++){const a=this._secondaryCursors[o].render(e);a&&(t[i++]=a)}this._renderData=t}getLastRenderData(){return this._renderData}}iC.BLINK_INTERVAL=500;zr((s,e)=>{const t=[{class:\".cursor\",foreground:id,background:wc},{class:\".cursor-primary\",foreground:jU,background:zge},{class:\".cursor-secondary\",foreground:KU,background:Uge}];for(const i of t){const n=s.getColor(i.foreground);if(n){let o=s.getColor(i.background);o||(o=n.opposite()),e.addRule(`.monaco-editor .cursors-layer ${i.class} { background-color: ${n}; border-color: ${n}; color: ${o}; }`),dd(s.type)&&e.addRule(`.monaco-editor .cursors-layer.has-selection ${i.class} { border-left: 1px solid ${o}; border-right: 1px solid ${o}; }`)}}});const _I=()=>{throw new Error(\"Invalid change accessor\")};class Ipe extends Fo{constructor(e){super(e);const t=this._context.configuration.options,i=t.get(145);this._lineHeight=t.get(67),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=It(document.createElement(\"div\")),this.domNode.setClassName(\"view-zones\"),this.domNode.setPosition(\"absolute\"),this.domNode.setAttribute(\"role\",\"presentation\"),this.domNode.setAttribute(\"aria-hidden\",\"true\"),this.marginDomNode=It(document.createElement(\"div\")),this.marginDomNode.setClassName(\"margin-view-zones\"),this.marginDomNode.setPosition(\"absolute\"),this.marginDomNode.setAttribute(\"role\",\"presentation\"),this.marginDomNode.setAttribute(\"aria-hidden\",\"true\"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const e=this._context.viewLayout.getWhitespaces(),t=new Map;for(const n of e)t.set(n.id,n);let i=!1;return this._context.viewModel.changeWhitespace(n=>{const o=Object.keys(this._zones);for(let r=0,a=o.length;r<a;r++){const l=o[r],d=this._zones[l],c=this._computeWhitespaceProps(d.delegate);d.isInHiddenArea=c.isInHiddenArea;const u=t.get(l);u&&(u.afterLineNumber!==c.afterViewLineNumber||u.height!==c.heightInPx)&&(n.changeOneWhitespace(l,c.afterViewLineNumber,c.heightInPx),this._safeCallOnComputedHeight(d.delegate,c.heightInPx),i=!0)}}),i}onConfigurationChanged(e){const t=this._context.configuration.options,i=t.get(145);return this._lineHeight=t.get(67),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,e.hasChanged(67)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(e){return this._recomputeWhitespacesProps()}onLinesDeleted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}onLinesInserted(e){return!0}_getZoneOrdinal(e){var t,i;return(i=(t=e.ordinal)!==null&&t!==void 0?t:e.afterColumn)!==null&&i!==void 0?i:1e4}_computeWhitespaceProps(e){if(e.afterLineNumber===0)return{isInHiddenArea:!1,afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};let t;if(typeof e.afterColumn<\"u\")t=this._context.viewModel.model.validatePosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{const r=this._context.viewModel.model.validatePosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new W(r,this._context.viewModel.model.getLineMaxColumn(r))}let i;t.column===this._context.viewModel.model.getLineMaxColumn(t.lineNumber)?i=this._context.viewModel.model.validatePosition({lineNumber:t.lineNumber+1,column:1}):i=this._context.viewModel.model.validatePosition({lineNumber:t.lineNumber,column:t.column+1});const n=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t,e.afterColumnAffinity,!0),o=e.showInHiddenAreas||this._context.viewModel.coordinatesConverter.modelPositionIsVisible(i);return{isInHiddenArea:!o,afterViewLineNumber:n.lineNumber,heightInPx:o?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}}changeViewZones(e){let t=!1;return this._context.viewModel.changeWhitespace(i=>{const n={addZone:o=>(t=!0,this._addZone(i,o)),removeZone:o=>{o&&(t=this._removeZone(i,o)||t)},layoutZone:o=>{o&&(t=this._layoutZone(i,o)||t)}};Tpe(e,n),n.addZone=_I,n.removeZone=_I,n.layoutZone=_I}),t}_addZone(e,t){const i=this._computeWhitespaceProps(t),o={whitespaceId:e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),delegate:t,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:It(t.domNode),marginDomNode:t.marginDomNode?It(t.marginDomNode):null};return this._safeCallOnComputedHeight(o.delegate,i.heightInPx),o.domNode.setPosition(\"absolute\"),o.domNode.domNode.style.width=\"100%\",o.domNode.setDisplay(\"none\"),o.domNode.setAttribute(\"monaco-view-zone\",o.whitespaceId),this.domNode.appendChild(o.domNode),o.marginDomNode&&(o.marginDomNode.setPosition(\"absolute\"),o.marginDomNode.domNode.style.width=\"100%\",o.marginDomNode.setDisplay(\"none\"),o.marginDomNode.setAttribute(\"monaco-view-zone\",o.whitespaceId),this.marginDomNode.appendChild(o.marginDomNode)),this._zones[o.whitespaceId]=o,this.setShouldRender(),o.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute(\"monaco-visible-view-zone\"),i.domNode.removeAttribute(\"monaco-view-zone\"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute(\"monaco-visible-view-zone\"),i.marginDomNode.removeAttribute(\"monaco-view-zone\"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){const i=this._zones[t],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,e.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){return this._zones.hasOwnProperty(e)?!!this._zones[e].delegate.suppressMouseDown:!1}_heightInPixels(e){return typeof e.heightInPx==\"number\"?e.heightInPx:typeof e.heightInLines==\"number\"?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return typeof e.minWidthInPx==\"number\"?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if(typeof e.onComputedHeight==\"function\")try{e.onComputedHeight(t)}catch(i){Xe(i)}}_safeCallOnDomNodeTop(e,t){if(typeof e.onDomNodeTop==\"function\")try{e.onDomNodeTop(t)}catch(i){Xe(i)}}prepareRender(e){}render(e){const t=e.viewportData.whitespaceViewportData,i={};let n=!1;for(const r of t)this._zones[r.id].isInHiddenArea||(i[r.id]=r,n=!0);const o=Object.keys(this._zones);for(let r=0,a=o.length;r<a;r++){const l=o[r],d=this._zones[l];let c=0,u=0,h=\"none\";i.hasOwnProperty(l)?(c=i[l].verticalOffset-e.bigNumbersDelta,u=i[l].height,h=\"block\",d.isVisible||(d.domNode.setAttribute(\"monaco-visible-view-zone\",\"true\"),d.isVisible=!0),this._safeCallOnDomNodeTop(d.delegate,e.getScrolledTopFromAbsoluteTop(i[l].verticalOffset))):(d.isVisible&&(d.domNode.removeAttribute(\"monaco-visible-view-zone\"),d.isVisible=!1),this._safeCallOnDomNodeTop(d.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),d.domNode.setTop(c),d.domNode.setHeight(u),d.domNode.setDisplay(h),d.marginDomNode&&(d.marginDomNode.setTop(c),d.marginDomNode.setHeight(u),d.marginDomNode.setDisplay(h))}n&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}function Tpe(s,e){try{return s(e)}catch(t){Xe(t)}}class Npe extends lp{constructor(e){super(),this._context=e,this._options=new e8(this._context.configuration),this._selection=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=new e8(this._context.configuration);return this._options.equals(t)?e.hasChanged(145):(this._options=t,!0)}onCursorStateChanged(e){return this._selection=e.selections,this._options.renderWhitespace===\"selection\"}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}prepareRender(e){if(this._options.renderWhitespace===\"none\"){this._renderResult=null;return}const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber-t+1,o=new Array(n);for(let a=0;a<n;a++)o[a]=!0;const r=this._context.viewModel.getMinimapLinesRenderingData(e.viewportData.startLineNumber,e.viewportData.endLineNumber,o);this._renderResult=[];for(let a=e.viewportData.startLineNumber;a<=e.viewportData.endLineNumber;a++){const l=a-e.viewportData.startLineNumber,d=r.data[l];let c=null;if(this._options.renderWhitespace===\"selection\"){const u=this._selection;for(const h of u){if(h.endLineNumber<a||h.startLineNumber>a)continue;const g=h.startLineNumber===a?h.startColumn:d.minColumn,f=h.endLineNumber===a?h.endColumn:d.maxColumn;g<f&&(c||(c=[]),c.push(new _U(g-1,f-1)))}}this._renderResult[l]=this._applyRenderWhitespace(e,a,c,d)}}_applyRenderWhitespace(e,t,i,n){if(this._options.renderWhitespace===\"selection\"&&!i||this._options.renderWhitespace===\"trailing\"&&n.continuesWithWrappedLine)return\"\";const o=this._context.theme.getColor(yc),r=this._options.renderWithSVG,a=n.content,l=this._options.stopRenderingLineAfter===-1?a.length:Math.min(this._options.stopRenderingLineAfter,a.length),d=n.continuesWithWrappedLine,c=n.minColumn-1,u=this._options.renderWhitespace===\"boundary\",h=this._options.renderWhitespace===\"trailing\",g=this._options.lineHeight,f=this._options.middotWidth,m=this._options.wsmiddotWidth,_=this._options.spaceWidth,v=Math.abs(m-_),b=Math.abs(f-_),C=v<b?11825:183,w=this._options.canUseHalfwidthRightwardsArrow;let y=\"\",D=!1,L=Cs(a),k;L===-1?(D=!0,L=l,k=l):k=Ya(a);let I=0,O=i&&i[I],R=0;for(let P=c;P<l;P++){const F=a.charCodeAt(P);if(O&&P>=O.endOffset&&(I++,O=i&&i[I]),F!==9&&F!==32||h&&!D&&P<=k)continue;if(u&&P>=L&&P<=k&&F===32){const U=P-1>=0?a.charCodeAt(P-1):0,J=P+1<l?a.charCodeAt(P+1):0;if(U!==32&&J!==32)continue}if(u&&d&&P===l-1){const U=P-1>=0?a.charCodeAt(P-1):0;if(F===32&&U!==32&&U!==9)continue}if(i&&(!O||O.startOffset>P||O.endOffset<=P))continue;const V=e.visibleRangeForPosition(new W(t,P+1));V&&(r?(R=Math.max(R,V.left),F===9?y+=this._renderArrow(g,_,V.left):y+=`<circle cx=\"${(V.left+_/2).toFixed(2)}\" cy=\"${(g/2).toFixed(2)}\" r=\"${(_/7).toFixed(2)}\" />`):F===9?y+=`<div class=\"mwh\" style=\"left:${V.left}px;height:${g}px;\">${w?\"￫\":\"→\"}</div>`:y+=`<div class=\"mwh\" style=\"left:${V.left}px;height:${g}px;\">${String.fromCharCode(C)}</div>`)}return r?(R=Math.round(R+_),`<svg style=\"bottom:0;position:absolute;width:${R}px;height:${g}px\" viewBox=\"0 0 ${R} ${g}\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"${o}\">`+y+\"</svg>\"):y}_renderArrow(e,t,i){const n=t/7,o=t,r=e/2,a=i,l={x:0,y:n/2},d={x:100/125*o,y:l.y},c={x:d.x-.2*d.x,y:d.y+.2*d.x},u={x:c.x+.1*d.x,y:c.y+.1*d.x},h={x:u.x+.35*d.x,y:u.y-.35*d.x},g={x:h.x,y:-h.y},f={x:u.x,y:-u.y},m={x:c.x,y:-c.y},_={x:d.x,y:-d.y},v={x:l.x,y:-l.y};return`<path d=\"M ${[l,d,c,u,h,g,f,m,_,v].map(w=>`${(a+w.x).toFixed(2)} ${(r+w.y).toFixed(2)}`).join(\" L \")}\" />`}render(e,t){if(!this._renderResult)return\"\";const i=t-e;return i<0||i>=this._renderResult.length?\"\":this._renderResult[i]}}class e8{constructor(e){const t=e.options,i=t.get(50),n=t.get(38);n===\"off\"?(this.renderWhitespace=\"none\",this.renderWithSVG=!1):n===\"svg\"?(this.renderWhitespace=t.get(99),this.renderWithSVG=!0):(this.renderWhitespace=t.get(99),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=t.get(67),this.stopRenderingLineAfter=t.get(117)}equals(e){return this.renderWhitespace===e.renderWhitespace&&this.renderWithSVG===e.renderWithSVG&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter}}class Ape{constructor(e,t,i,n){this.selections=e,this.startLineNumber=t.startLineNumber|0,this.endLineNumber=t.endLineNumber|0,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=t.bigNumbersDelta|0,this.lineHeight=t.lineHeight|0,this.whitespaceViewportData=i,this._model=n,this.visibleRange=new x(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewportViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class Mpe{get type(){return this._theme.type}get value(){return this._theme}constructor(e){this._theme=e}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class Rpe{constructor(e,t,i){this.configuration=e,this.theme=new Mpe(t),this.viewModel=i,this.viewLayout=i.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}var Ppe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Fpe=function(s,e){return function(t,i){e(t,i,s)}};let OA=class extends b1{constructor(e,t,i,n,o,r,a){super(),this._instantiationService=a,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new we(1,1,1,1)],this._renderAnimationFrame=null;const l=new zfe(t,n,o,e);this._context=new Rpe(t,i,n),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(RA,this._context,l,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=It(document.createElement(\"div\")),this._linesContent.setClassName(\"lines-content monaco-editor-background\"),this._linesContent.setPosition(\"absolute\"),this.domNode=It(document.createElement(\"div\")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute(\"role\",\"code\"),this._overflowGuardContainer=It(document.createElement(\"div\")),rl.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName(\"overflow-guard\"),this._scrollbar=new Qfe(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new Nx(this._context,this._linesContent),this._viewZones=new Ipe(this._context),this._viewParts.push(this._viewZones);const d=new Cpe(this._context);this._viewParts.push(d);const c=new Dpe(this._context);this._viewParts.push(c);const u=new $fe(this._context);this._viewParts.push(u),u.addDynamicOverlay(new Zfe(this._context)),u.addDynamicOverlay(new Fi(this._context)),u.addDynamicOverlay(new rpe(this._context)),u.addDynamicOverlay(new Yfe(this._context)),u.addDynamicOverlay(new Npe(this._context));const h=new jfe(this._context);this._viewParts.push(h),h.addDynamicOverlay(new Xfe(this._context)),h.addDynamicOverlay(new upe(this._context)),h.addDynamicOverlay(new cpe(this._context)),h.addDynamicOverlay(new S1(this._context)),this._glyphMarginWidgets=new tpe(this._context),this._viewParts.push(this._glyphMarginWidgets);const g=new xf(this._context);g.getDomNode().appendChild(this._viewZones.marginDomNode),g.getDomNode().appendChild(h.getDomNode()),g.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(g),this._contentWidgets=new qfe(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new iC(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new vpe(this._context,this.domNode),this._viewParts.push(this._overlayWidgets);const f=new Spe(this._context);this._viewParts.push(f);const m=new Kfe(this._context);this._viewParts.push(m);const _=new _pe(this._context);if(this._viewParts.push(_),d){const v=this._scrollbar.getOverviewRulerLayoutInfo();v.parent.insertBefore(d.getDomNode(),v.insertBefore)}this._linesContent.appendChild(u.getDomNode()),this._linesContent.appendChild(f.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(g.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(c.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(_.getDomNode()),this._overflowGuardContainer.appendChild(m.domNode),this.domNode.appendChild(this._overflowGuardContainer),r?(r.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode),r.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode.domNode)):(this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this.domNode.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode)),this._applyLayout(),this._pointerHandler=this._register(new Wge(this._context,l,this._createPointerHandlerHelper()))}_computeGlyphMarginLanes(){const e=this._context.viewModel.model,t=this._context.viewModel.glyphLanes;let i=[],n=0;i=i.concat(e.getAllMarginDecorations().map(o=>{var r,a,l;const d=(a=(r=o.options.glyphMargin)===null||r===void 0?void 0:r.position)!==null&&a!==void 0?a:bd.Center;return n=Math.max(n,o.range.endLineNumber),{range:o.range,lane:d,persist:(l=o.options.glyphMargin)===null||l===void 0?void 0:l.persistLane}})),i=i.concat(this._glyphMarginWidgets.getWidgets().map(o=>{const r=e.validateRange(o.preference.range);return n=Math.max(n,r.endLineNumber),{range:r,lane:o.preference.lane}})),i.sort((o,r)=>x.compareRangesUsingStarts(o.range,r.range)),t.reset(n);for(const o of i)t.push(o.lane,o.range,o.persist);return t}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,viewLinesDomNode:this._viewLines.getDomNode().domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{const e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new fge(e,t)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new W(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(e))}}_applyLayout(){const t=this._context.configuration.options.get(145);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(16777216),this._linesContent.setHeight(16777216)}_getEditorClassName(){const e=this._textAreaHandler.isFocused()?\" focused\":\"\";return this._context.configuration.options.get(142)+\" \"+MA(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onDecorationsChanged(e){return e.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this._context.theme.update(e.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const e of this._viewParts)e.dispose();super.dispose()}_scheduleRender(){if(this._store.isDisposed)throw new Ut;if(this._renderAnimationFrame===null){const e=this._createCoordinatedRendering();this._renderAnimationFrame=BA.INSTANCE.scheduleCoordinatedRendering({window:Te(this.domNode.domNode),prepareRenderText:()=>{if(this._store.isDisposed)throw new Ut;try{return e.prepareRenderText()}finally{this._renderAnimationFrame=null}},renderText:()=>{if(this._store.isDisposed)throw new Ut;return e.renderText()},prepareRender:(t,i)=>{if(this._store.isDisposed)throw new Ut;return e.prepareRender(t,i)},render:(t,i)=>{if(this._store.isDisposed)throw new Ut;return e.render(t,i)}})}}_flushAccumulatedAndRenderNow(){const e=this._createCoordinatedRendering();ju(()=>e.prepareRenderText());const t=ju(()=>e.renderText());if(t){const[i,n]=t;ju(()=>e.prepareRender(i,n)),ju(()=>e.render(i,n))}}_getViewPartsToRender(){const e=[];let t=0;for(const i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_createCoordinatedRendering(){return{prepareRenderText:()=>{if(this._shouldRecomputeGlyphMarginLanes){this._shouldRecomputeGlyphMarginLanes=!1;const e=this._computeGlyphMarginLanes();this._context.configuration.setGlyphMarginDecorationLaneCount(e.requiredLanes)}Hu.onRenderStart()},renderText:()=>{if(!this.domNode.domNode.isConnected)return null;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&e.length===0)return null;const t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);const i=new Ape(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);return this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(i),this._viewLines.shouldRender()&&(this._viewLines.renderText(i),this._viewLines.onDidRender(),e=this._getViewPartsToRender()),[e,new age(this._context.viewLayout,i,this._viewLines)]},prepareRender:(e,t)=>{for(const i of e)i.prepareRender(t)},render:(e,t)=>{for(const i of e)i.render(t),i.onDidRender()}}}delegateVerticalScrollbarPointerDown(e){this._scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._scrollbar.delegateScrollFromMouseWheelEvent(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(e,t){const i=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),n=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);this._flushAccumulatedAndRenderNow();const o=this._viewLines.visibleRangeForPosition(new W(n.lineNumber,n.column));return o?o.left:-1}getTargetAtClientPoint(e,t){const i=this._pointerHandler.getTargetAtClientPoint(e,t);return i?Ix.convertViewToModelMouseTarget(i,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new ype(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t){this._viewLines.forceShouldRender();for(const i of this._viewParts)i.forceShouldRender()}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(e){this._textAreaHandler.writeScreenReaderContent(e)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){var t,i,n,o,r,a,l,d;this._contentWidgets.setWidgetPosition(e.widget,(i=(t=e.position)===null||t===void 0?void 0:t.position)!==null&&i!==void 0?i:null,(o=(n=e.position)===null||n===void 0?void 0:n.secondaryPosition)!==null&&o!==void 0?o:null,(a=(r=e.position)===null||r===void 0?void 0:r.preference)!==null&&a!==void 0?a:null,(d=(l=e.position)===null||l===void 0?void 0:l.positionAffinity)!==null&&d!==void 0?d:null),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){const t=e.position?e.position.preference:null;this._overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}addGlyphMarginWidget(e){this._glyphMarginWidgets.addWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(e){const t=e.position;this._glyphMarginWidgets.setWidgetPosition(e.widget,t)&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(e){this._glyphMarginWidgets.removeWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};OA=Ppe([Fpe(6,Ne)],OA);function ju(s){try{return s()}catch(e){return Xe(e),null}}class BA{constructor(){this._coordinatedRenderings=[],this._animationFrameRunners=new Map}scheduleCoordinatedRendering(e){return this._coordinatedRenderings.push(e),this._scheduleRender(e.window),{dispose:()=>{const t=this._coordinatedRenderings.indexOf(e);if(t!==-1&&(this._coordinatedRenderings.splice(t,1),this._coordinatedRenderings.length===0)){for(const[i,n]of this._animationFrameRunners)n.dispose();this._animationFrameRunners.clear()}}}}_scheduleRender(e){if(!this._animationFrameRunners.has(e)){const t=()=>{this._animationFrameRunners.delete(e),this._onRenderScheduled()};this._animationFrameRunners.set(e,zS(e,t,100))}}_onRenderScheduled(){const e=this._coordinatedRenderings.slice(0);this._coordinatedRenderings=[];for(const i of e)ju(()=>i.prepareRenderText());const t=[];for(let i=0,n=e.length;i<n;i++){const o=e[i];t[i]=ju(()=>o.renderText())}for(let i=0,n=e.length;i<n;i++){const o=e[i],r=t[i];if(!r)continue;const[a,l]=r;ju(()=>o.prepareRender(a,l))}for(let i=0,n=e.length;i<n;i++){const o=e[i],r=t[i];if(!r)continue;const[a,l]=r;ju(()=>o.render(a,l))}}}BA.INSTANCE=new BA;class Yv{constructor(e,t,i,n,o){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=i,this.breakOffsetsVisibleColumn=n,this.wrappedTextIndentLength=o}getOutputLineCount(){return this.breakOffsets.length}getMinOutputOffset(e){return e>0?this.wrappedTextIndentLength:0}getLineLength(e){const t=e>0?this.breakOffsets[e-1]:0;let n=this.breakOffsets[e]-t;return e>0&&(n+=this.wrappedTextIndentLength),n}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let n=e===0?t:this.breakOffsets[e-1]+t;if(this.injectionOffsets!==null)for(let o=0;o<this.injectionOffsets.length&&n>this.injectionOffsets[o];o++)n<this.injectionOffsets[o]+this.injectionOptions[o].content.length?n=this.injectionOffsets[o]:n-=this.injectionOptions[o].content.length;return n}translateToOutputPosition(e,t=2){let i=e;if(this.injectionOffsets!==null)for(let n=0;n<this.injectionOffsets.length&&!(e<this.injectionOffsets[n]||t!==1&&e===this.injectionOffsets[n]);n++)i+=this.injectionOptions[n].content.length;return this.offsetInInputWithInjectionsToOutputPosition(i,t)}offsetInInputWithInjectionsToOutputPosition(e,t=2){let i=0,n=this.breakOffsets.length-1,o=0,r=0;for(;i<=n;){o=i+(n-i)/2|0;const l=this.breakOffsets[o];if(r=o>0?this.breakOffsets[o-1]:0,t===0)if(e<=r)n=o-1;else if(e>l)i=o+1;else break;else if(e<r)n=o-1;else if(e>=l)i=o+1;else break}let a=e-r;return o>0&&(a+=this.wrappedTextIndentLength),new Nw(o,a)}normalizeOutputPosition(e,t,i){if(this.injectionOffsets!==null){const n=this.outputPositionToOffsetInInputWithInjections(e,t),o=this.normalizeOffsetInInputWithInjectionsAroundInjections(n,i);if(o!==n)return this.offsetInInputWithInjectionsToOutputPosition(o,i)}if(i===0){if(e>0&&t===this.getMinOutputOffset(e))return new Nw(e-1,this.getMaxOutputOffset(e-1))}else if(i===1){const n=this.getOutputLineCount()-1;if(e<n&&t===this.getMaxOutputOffset(e))return new Nw(e+1,this.getMinOutputOffset(e+1))}return new Nw(e,t)}outputPositionToOffsetInInputWithInjections(e,t){return e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength)),(e>0?this.breakOffsets[e-1]:0)+t}normalizeOffsetInInputWithInjectionsAroundInjections(e,t){const i=this.getInjectedTextAtOffset(e);if(!i)return e;if(t===2){if(e===i.offsetInInputWithInjections+i.length&&t8(this.injectionOptions[i.injectedTextIndex].cursorStops))return i.offsetInInputWithInjections+i.length;{let n=i.offsetInInputWithInjections;if(i8(this.injectionOptions[i.injectedTextIndex].cursorStops))return n;let o=i.injectedTextIndex-1;for(;o>=0&&this.injectionOffsets[o]===this.injectionOffsets[i.injectedTextIndex]&&!(t8(this.injectionOptions[o].cursorStops)||(n-=this.injectionOptions[o].content.length,i8(this.injectionOptions[o].cursorStops)));)o--;return n}}else if(t===1||t===4){let n=i.offsetInInputWithInjections+i.length,o=i.injectedTextIndex;for(;o+1<this.injectionOffsets.length&&this.injectionOffsets[o+1]===this.injectionOffsets[o];)n+=this.injectionOptions[o+1].content.length,o++;return n}else if(t===0||t===3){let n=i.offsetInInputWithInjections,o=i.injectedTextIndex;for(;o-1>=0&&this.injectionOffsets[o-1]===this.injectionOffsets[o];)n-=this.injectionOptions[o-1].content.length,o--;return n}ux()}getInjectedText(e,t){const i=this.outputPositionToOffsetInInputWithInjections(e,t),n=this.getInjectedTextAtOffset(i);return n?{options:this.injectionOptions[n.injectedTextIndex]}:null}getInjectedTextAtOffset(e){const t=this.injectionOffsets,i=this.injectionOptions;if(t!==null){let n=0;for(let o=0;o<t.length;o++){const r=i[o].content.length,a=t[o]+n,l=t[o]+n+r;if(a>e)break;if(e<=l)return{injectedTextIndex:o,offsetInInputWithInjections:a,length:r};n+=r}}}}function t8(s){return s==null?!0:s===aa.Right||s===aa.Both}function i8(s){return s==null?!0:s===aa.Left||s===aa.Both}class Nw{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new W(e+this.outputLineIndex,this.outputOffset+1)}}class Ope{constructor(){this.changeType=1}}class al{static applyInjectedText(e,t){if(!t||t.length===0)return e;let i=\"\",n=0;for(const o of t)i+=e.substring(n,o.column-1),n=o.column-1,i+=o.options.content;return i+=e.substring(n),i}static fromDecorations(e){const t=[];for(const i of e)i.options.before&&i.options.before.content.length>0&&t.push(new al(i.ownerId,i.range.startLineNumber,i.range.startColumn,i.options.before,0)),i.options.after&&i.options.after.content.length>0&&t.push(new al(i.ownerId,i.range.endLineNumber,i.range.endColumn,i.options.after,1));return t.sort((i,n)=>i.lineNumber===n.lineNumber?i.column===n.column?i.order-n.order:i.column-n.column:i.lineNumber-n.lineNumber),t}constructor(e,t,i,n,o){this.ownerId=e,this.lineNumber=t,this.column=i,this.options=n,this.order=o}}class n8{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class Bpe{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class Wpe{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class Hpe{constructor(){this.changeType=5}}class Wm{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;t<i;t++)if(this.changes[t].changeType===e)return!0;return!1}static merge(e,t){const i=[].concat(e.changes).concat(t.changes),n=t.versionId,o=e.isUndoing||t.isUndoing,r=e.isRedoing||t.isRedoing;return new Wm(i,n,o,r)}}class c${constructor(e){this.changes=e}}class cf{constructor(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}merge(e){const t=Wm.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),i=cf._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new cf(t,i)}static _mergeChangeEvents(e,t){const i=[].concat(e.changes).concat(t.changes),n=t.eol,o=t.versionId,r=e.isUndoing||t.isUndoing,a=e.isRedoing||t.isRedoing,l=e.isFlush||t.isFlush,d=e.isEolChange&&t.isEolChange;return{changes:i,eol:n,isEolChange:d,versionId:o,isUndoing:r,isRedoing:a,isFlush:l}}}const vI=tu(\"domLineBreaksComputer\",{createHTML:s=>s});class $F{static create(e){return new $F(new WeakRef(e))}constructor(e){this.targetWindow=e}createLineBreaksComputer(e,t,i,n,o){const r=[],a=[];return{addRequest:(l,d,c)=>{r.push(l),a.push(d)},finalize:()=>Vpe(Ou(this.targetWindow.deref()),r,e,t,i,n,o,a)}}}function Vpe(s,e,t,i,n,o,r,a){var l;function d(O){const R=a[O];if(R){const P=al.applyInjectedText(e[O],R),F=R.map(U=>U.options),V=R.map(U=>U.column-1);return new Yv(V,F,[P.length],[],0)}else return null}if(n===-1){const O=[];for(let R=0,P=e.length;R<P;R++)O[R]=d(R);return O}const c=Math.round(n*t.typicalHalfwidthCharacterWidth),h=Math.round(i*(o===3?2:o===2?1:0)),g=Math.ceil(t.spaceWidth*h),f=document.createElement(\"div\");Un(f,t);const m=new l0(1e4),_=[],v=[],b=[],C=[],w=[];for(let O=0;O<e.length;O++){const R=al.applyInjectedText(e[O],a[O]);let P=0,F=0,V=c;if(o!==0)if(P=Cs(R),P===-1)P=0;else{for(let De=0;De<P;De++){const ge=R.charCodeAt(De)===9?i-F%i:1;F+=ge}const pe=Math.ceil(t.spaceWidth*F);pe+t.typicalFullwidthCharacterWidth>c?(P=0,F=0):V=c-pe}const U=R.substr(P),J=zpe(U,F,i,V,m,g);_[O]=P,v[O]=F,b[O]=U,C[O]=J[0],w[O]=J[1]}const y=m.build(),D=(l=vI==null?void 0:vI.createHTML(y))!==null&&l!==void 0?l:y;f.innerHTML=D,f.style.position=\"absolute\",f.style.top=\"10000\",r===\"keepAll\"?(f.style.wordBreak=\"keep-all\",f.style.overflowWrap=\"anywhere\"):(f.style.wordBreak=\"inherit\",f.style.overflowWrap=\"break-word\"),s.document.body.appendChild(f);const L=document.createRange(),k=Array.prototype.slice.call(f.children,0),I=[];for(let O=0;O<e.length;O++){const R=k[O],P=Upe(L,R,b[O],C[O]);if(P===null){I[O]=d(O);continue}const F=_[O],V=v[O]+h,U=w[O],J=[];for(let We=0,ye=P.length;We<ye;We++)J[We]=U[P[We]];if(F!==0)for(let We=0,ye=P.length;We<ye;We++)P[We]+=F;let pe,De;const ge=a[O];ge?(pe=ge.map(We=>We.options),De=ge.map(We=>We.column-1)):(pe=null,De=null),I[O]=new Yv(De,pe,P,J,V)}return s.document.body.removeChild(f),I}function zpe(s,e,t,i,n,o){if(o!==0){const h=String(o);n.appendString('<div style=\"text-indent: -'),n.appendString(h),n.appendString(\"px; padding-left: \"),n.appendString(h),n.appendString(\"px; box-sizing: border-box; width:\")}else n.appendString('<div style=\"width:');n.appendString(String(i)),n.appendString('px;\">');const r=s.length;let a=e,l=0;const d=[],c=[];let u=0<r?s.charCodeAt(0):0;n.appendString(\"<span>\");for(let h=0;h<r;h++){h!==0&&h%16384===0&&n.appendString(\"</span><span>\"),d[h]=l,c[h]=a;const g=u;u=h+1<r?s.charCodeAt(h+1):0;let f=1,m=1;switch(g){case 9:f=t-a%t,m=f;for(let _=1;_<=f;_++)_<f?n.appendCharCode(160):n.appendASCIICharCode(32);break;case 32:u===32?n.appendCharCode(160):n.appendASCIICharCode(32);break;case 60:n.appendString(\"&lt;\");break;case 62:n.appendString(\"&gt;\");break;case 38:n.appendString(\"&amp;\");break;case 0:n.appendString(\"&#00;\");break;case 65279:case 8232:case 8233:case 133:n.appendCharCode(65533);break;default:Dh(g)&&m++,g<32?n.appendCharCode(9216+g):n.appendCharCode(g)}l+=f,a+=m}return n.appendString(\"</span>\"),d[s.length]=l,c[s.length]=a,n.appendString(\"</div>\"),[d,c]}function Upe(s,e,t,i){if(t.length<=1)return null;const n=Array.prototype.slice.call(e.children,0),o=[];try{WA(s,n,i,0,null,t.length-1,null,o)}catch(r){return console.log(r),null}return o.length===0?null:(o.push(t.length),o)}function WA(s,e,t,i,n,o,r,a){if(i===o||(n=n||bI(s,e,t[i],t[i+1]),r=r||bI(s,e,t[o],t[o+1]),Math.abs(n[0].top-r[0].top)<=.1))return;if(i+1===o){a.push(o);return}const l=i+(o-i)/2|0,d=bI(s,e,t[l],t[l+1]);WA(s,e,t,i,n,l,d,a),WA(s,e,t,l,d,o,r,a)}function bI(s,e,t,i){return s.setStart(e[t/16384|0].firstChild,t%16384),s.setEnd(e[i/16384|0].firstChild,i%16384),s.getClientRects()}class $pe extends H{constructor(){super(),this._editor=null,this._instantiationService=null,this._instances=this._register(new $P),this._pending=new Map,this._finishedInstantiation=[],this._finishedInstantiation[0]=!1,this._finishedInstantiation[1]=!1,this._finishedInstantiation[2]=!1,this._finishedInstantiation[3]=!1}initialize(e,t,i){this._editor=e,this._instantiationService=i;for(const n of t){if(this._pending.has(n.id)){Xe(new Error(`Cannot have two contributions with the same id ${n.id}`));continue}this._pending.set(n.id,n)}this._instantiateSome(0),this._register(uv(Te(this._editor.getDomNode()),()=>{this._instantiateSome(1)})),this._register(uv(Te(this._editor.getDomNode()),()=>{this._instantiateSome(2)})),this._register(uv(Te(this._editor.getDomNode()),()=>{this._instantiateSome(3)},5e3))}saveViewState(){const e={};for(const[t,i]of this._instances)typeof i.saveViewState==\"function\"&&(e[t]=i.saveViewState());return e}restoreViewState(e){for(const[t,i]of this._instances)typeof i.restoreViewState==\"function\"&&i.restoreViewState(e[t])}get(e){return this._instantiateById(e),this._instances.get(e)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){var e;return uv(Te((e=this._editor)===null||e===void 0?void 0:e.getDomNode()),()=>{this._instantiateSome(1)},50)}_instantiateSome(e){if(this._finishedInstantiation[e])return;this._finishedInstantiation[e]=!0;const t=this._findPendingContributionsByInstantiation(e);for(const i of t)this._instantiateById(i.id)}_findPendingContributionsByInstantiation(e){const t=[];for(const[,i]of this._pending)i.instantiation===e&&t.push(i);return t}_instantiateById(e){const t=this._pending.get(e);if(t){if(this._pending.delete(e),!this._instantiationService||!this._editor)throw new Error(\"Cannot instantiate contributions before being initialized!\");try{const i=this._instantiationService.createInstance(t.ctor,this._editor);this._instances.set(t.id,i),typeof i.restoreViewState==\"function\"&&t.instantiation!==0&&console.warn(`Editor contribution '${t.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(i){Xe(i)}}}}class u${constructor(e,t,i,n,o,r,a){this.id=e,this.label=t,this.alias=i,this.metadata=n,this._precondition=o,this._run=r,this._contextKeyService=a}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(e){return this.isSupported()?this._run(e):Promise.resolve(void 0)}}function Ah(s){let e=0,t=0,i=0,n=0;for(let o=0,r=s.length;o<r;o++){const a=s.charCodeAt(o);a===13?(e===0&&(t=o),e++,o+1<r&&s.charCodeAt(o+1)===10?(n|=2,o++):n|=3,i=o+1):a===10&&(n|=1,e===0&&(t=o),e++,i=o+1)}return e===0&&(t=s.length),[e,t,s.length-i,n]}class s8{constructor(e,t,i,n){this.range=e,this.nestingLevel=t,this.nestingLevelOfEqualBracketType=i,this.isInvalid=n}}class jpe{constructor(e,t,i,n,o,r){this.range=e,this.openingBracketRange=t,this.closingBracketRange=i,this.nestingLevel=n,this.nestingLevelOfEqualBracketType=o,this.bracketPairNode=r}get openingBracketInfo(){return this.bracketPairNode.openingBracket.bracketInfo}}class Kpe extends jpe{constructor(e,t,i,n,o,r,a){super(e,t,i,n,o,r),this.minVisibleColumnIndentation=a}}function qpe(s,e,t,i){return s!==t?ji(t-s,i):ji(0,i-e)}const Bs=0;function lD(s){return s===0}const Jo=2**26;function ji(s,e){return s*Jo+e}function Rr(s){const e=s,t=Math.floor(e/Jo),i=e-t*Jo;return new Fs(t,i)}function Gpe(s){return Math.floor(s/Jo)}function Di(s,e){let t=s+e;return e>=Jo&&(t=t-s%Jo),t}function Zpe(s,e){return s.reduce((t,i)=>Di(t,e(i)),Bs)}function h$(s,e){return s===e}function nC(s,e){const t=s,i=e;if(i-t<=0)return Bs;const o=Math.floor(t/Jo),r=Math.floor(i/Jo),a=i-r*Jo;if(o===r){const l=t-o*Jo;return ji(0,a-l)}else return ji(r-o,a)}function Hm(s,e){return s<e}function Vm(s,e){return s<=e}function yv(s,e){return s>=e}function fm(s){return ji(s.lineNumber-1,s.column-1)}function uf(s,e){const t=s,i=Math.floor(t/Jo),n=t-i*Jo,o=e,r=Math.floor(o/Jo),a=o-r*Jo;return new x(i+1,n+1,r+1,a+1)}function Xpe(s){const e=Td(s);return ji(e.length-1,e[e.length-1].length)}class Dc{static fromModelContentChanges(e){return e.map(i=>{const n=x.lift(i.range);return new Dc(fm(n.getStartPosition()),fm(n.getEndPosition()),Xpe(i.text))}).reverse()}constructor(e,t,i){this.startOffset=e,this.endOffset=t,this.newLength=i}toString(){return`[${Rr(this.startOffset)}...${Rr(this.endOffset)}) -> ${Rr(this.newLength)}`}}class Ype{constructor(e){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=e.map(t=>jF.from(t))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);const t=this.edits[this.nextEditIdx],i=t?this.translateOldToCur(t.offsetObj):null;return i===null?null:nC(e,i)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?ji(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):ji(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){const t=Rr(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?ji(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):ji(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx<this.edits.length;){const t=this.edits[this.nextEditIdx],i=this.translateOldToCur(t.endOffsetAfterObj);if(Vm(i,e)){this.nextEditIdx++;const n=Rr(i),o=Rr(this.translateOldToCur(t.endOffsetBeforeObj)),r=n.lineCount-o.lineCount;this.deltaOldToNewLineCount+=r;const a=this.deltaLineIdxInOld===t.endOffsetBeforeObj.lineCount?this.deltaOldToNewColumnCount:0,l=n.columnCount-o.columnCount;this.deltaOldToNewColumnCount=a+l,this.deltaLineIdxInOld=t.endOffsetBeforeObj.lineCount}else break}}}class jF{static from(e){return new jF(e.startOffset,e.endOffset,e.newLength)}constructor(e,t,i){this.endOffsetBeforeObj=Rr(t),this.endOffsetAfterObj=Rr(Di(e,i)),this.offsetObj=Rr(e)}}const Zy=[];class on{static create(e,t){if(e<=128&&t.length===0){let i=on.cache[e];return i||(i=new on(e,t),on.cache[e]=i),i}return new on(e,t)}static getEmpty(){return this.empty}constructor(e,t){this.items=e,this.additionalItems=t}add(e,t){const i=t.getKey(e);let n=i>>5;if(n===0){const r=1<<i|this.items;return r===this.items?this:on.create(r,this.additionalItems)}n--;const o=this.additionalItems.slice(0);for(;o.length<n;)o.push(0);return o[n]|=1<<(i&31),on.create(this.items,o)}merge(e){const t=this.items|e.items;if(this.additionalItems===Zy&&e.additionalItems===Zy)return t===this.items?this:t===e.items?e:on.create(t,Zy);const i=[];for(let n=0;n<Math.max(this.additionalItems.length,e.additionalItems.length);n++){const o=this.additionalItems[n]||0,r=e.additionalItems[n]||0;i.push(o|r)}return on.create(t,i)}intersects(e){if(this.items&e.items)return!0;for(let t=0;t<Math.min(this.additionalItems.length,e.additionalItems.length);t++)if(this.additionalItems[t]&e.additionalItems[t])return!0;return!1}}on.cache=new Array(129);on.empty=on.create(0,Zy);const o8={getKey(s){return s}};class g${constructor(){this.items=new Map}getKey(e){let t=this.items.get(e);return t===void 0&&(t=this.items.size,this.items.set(e,t)),t}}class KF{get length(){return this._length}constructor(e){this._length=e}}class sC extends KF{static create(e,t,i){let n=e.length;return t&&(n=Di(n,t.length)),i&&(n=Di(n,i.length)),new sC(n,e,t,i,t?t.missingOpeningBracketIds:on.getEmpty())}get kind(){return 2}get listHeight(){return 0}get childrenLength(){return 3}getChild(e){switch(e){case 0:return this.openingBracket;case 1:return this.child;case 2:return this.closingBracket}throw new Error(\"Invalid child index\")}get children(){const e=[];return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}constructor(e,t,i,n,o){super(e),this.openingBracket=t,this.child=i,this.closingBracket=n,this.missingOpeningBracketIds=o}canBeReused(e){return!(this.closingBracket===null||e.intersects(this.missingOpeningBracketIds))}deepClone(){return new sC(this.length,this.openingBracket.deepClone(),this.child&&this.child.deepClone(),this.closingBracket&&this.closingBracket.deepClone(),this.missingOpeningBracketIds)}computeMinIndentation(e,t){return this.child?this.child.computeMinIndentation(Di(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class Cd extends KF{static create23(e,t,i,n=!1){let o=e.length,r=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw new Error(\"Invalid list heights\");if(o=Di(o,t.length),r=r.merge(t.missingOpeningBracketIds),i){if(e.listHeight!==i.listHeight)throw new Error(\"Invalid list heights\");o=Di(o,i.length),r=r.merge(i.missingOpeningBracketIds)}return n?new Qpe(o,e.listHeight+1,e,t,i,r):new oC(o,e.listHeight+1,e,t,i,r)}static getEmpty(){return new Jpe(Bs,0,[],on.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}constructor(e,t,i){super(e),this.listHeight=t,this._missingOpeningBracketIds=i,this.cachedMinIndentation=-1}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();const e=this.childrenLength;if(e===0)return;const t=this.getChild(e-1),i=t.kind===4?t.toMutable():t;return t!==i&&this.setChild(e-1,i),i}makeFirstElementMutable(){if(this.throwIfImmutable(),this.childrenLength===0)return;const t=this.getChild(0),i=t.kind===4?t.toMutable():t;return t!==i&&this.setChild(0,i),i}canBeReused(e){if(e.intersects(this.missingOpeningBracketIds)||this.childrenLength===0)return!1;let t=this;for(;t.kind===4;){const i=t.childrenLength;if(i===0)throw new Ut;t=t.getChild(i-1)}return t.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();const e=this.childrenLength;let t=this.getChild(0).length,i=this.getChild(0).missingOpeningBracketIds;for(let n=1;n<e;n++){const o=this.getChild(n);t=Di(t,o.length),i=i.merge(o.missingOpeningBracketIds)}this._length=t,this._missingOpeningBracketIds=i,this.cachedMinIndentation=-1}computeMinIndentation(e,t){if(this.cachedMinIndentation!==-1)return this.cachedMinIndentation;let i=Number.MAX_SAFE_INTEGER,n=e;for(let o=0;o<this.childrenLength;o++){const r=this.getChild(o);r&&(i=Math.min(i,r.computeMinIndentation(n,t)),n=Di(n,r.length))}return this.cachedMinIndentation=i,i}}class oC extends Cd{get childrenLength(){return this._item3!==null?3:2}getChild(e){switch(e){case 0:return this._item1;case 1:return this._item2;case 2:return this._item3}throw new Error(\"Invalid child index\")}setChild(e,t){switch(e){case 0:this._item1=t;return;case 1:this._item2=t;return;case 2:this._item3=t;return}throw new Error(\"Invalid child index\")}get children(){return this._item3?[this._item1,this._item2,this._item3]:[this._item1,this._item2]}get item1(){return this._item1}get item2(){return this._item2}get item3(){return this._item3}constructor(e,t,i,n,o,r){super(e,t,r),this._item1=i,this._item2=n,this._item3=o}deepClone(){return new oC(this.length,this.listHeight,this._item1.deepClone(),this._item2.deepClone(),this._item3?this._item3.deepClone():null,this.missingOpeningBracketIds)}appendChildOfSameHeight(e){if(this._item3)throw new Error(\"Cannot append to a full (2,3) tree node\");this.throwIfImmutable(),this._item3=e,this.handleChildrenChanged()}unappendChild(){if(!this._item3)throw new Error(\"Cannot remove from a non-full (2,3) tree node\");this.throwIfImmutable();const e=this._item3;return this._item3=null,this.handleChildrenChanged(),e}prependChildOfSameHeight(e){if(this._item3)throw new Error(\"Cannot prepend to a full (2,3) tree node\");this.throwIfImmutable(),this._item3=this._item2,this._item2=this._item1,this._item1=e,this.handleChildrenChanged()}unprependChild(){if(!this._item3)throw new Error(\"Cannot remove from a non-full (2,3) tree node\");this.throwIfImmutable();const e=this._item1;return this._item1=this._item2,this._item2=this._item3,this._item3=null,this.handleChildrenChanged(),e}toMutable(){return this}}class Qpe extends oC{toMutable(){return new oC(this.length,this.listHeight,this.item1,this.item2,this.item3,this.missingOpeningBracketIds)}throwIfImmutable(){throw new Error(\"this instance is immutable\")}}class dD extends Cd{get childrenLength(){return this._children.length}getChild(e){return this._children[e]}setChild(e,t){this._children[e]=t}get children(){return this._children}constructor(e,t,i,n){super(e,t,n),this._children=i}deepClone(){const e=new Array(this._children.length);for(let t=0;t<this._children.length;t++)e[t]=this._children[t].deepClone();return new dD(this.length,this.listHeight,e,this.missingOpeningBracketIds)}appendChildOfSameHeight(e){this.throwIfImmutable(),this._children.push(e),this.handleChildrenChanged()}unappendChild(){this.throwIfImmutable();const e=this._children.pop();return this.handleChildrenChanged(),e}prependChildOfSameHeight(e){this.throwIfImmutable(),this._children.unshift(e),this.handleChildrenChanged()}unprependChild(){this.throwIfImmutable();const e=this._children.shift();return this.handleChildrenChanged(),e}toMutable(){return this}}class Jpe extends dD{toMutable(){return new dD(this.length,this.listHeight,[...this.children],this.missingOpeningBracketIds)}throwIfImmutable(){throw new Error(\"this instance is immutable\")}}const eme=[];class qF extends KF{get listHeight(){return 0}get childrenLength(){return 0}getChild(e){return null}get children(){return eme}deepClone(){return this}}class Vg extends qF{get kind(){return 0}get missingOpeningBracketIds(){return on.getEmpty()}canBeReused(e){return!0}computeMinIndentation(e,t){const i=Rr(e),n=(i.columnCount===0?i.lineCount:i.lineCount+1)+1,o=Gpe(Di(e,this.length))+1;let r=Number.MAX_SAFE_INTEGER;for(let a=n;a<=o;a++){const l=t.getLineFirstNonWhitespaceColumn(a),d=t.getLineContent(a);if(l===0)continue;const c=hn.visibleColumnFromColumn(d,l,t.getOptions().tabSize);r=Math.min(r,c)}return r}}class cD extends qF{static create(e,t,i){return new cD(e,t,i)}get kind(){return 1}get missingOpeningBracketIds(){return on.getEmpty()}constructor(e,t,i){super(e),this.bracketInfo=t,this.bracketIds=i}get text(){return this.bracketInfo.bracketText}get languageId(){return this.bracketInfo.languageId}canBeReused(e){return!1}computeMinIndentation(e,t){return Number.MAX_SAFE_INTEGER}}class tme extends qF{get kind(){return 3}constructor(e,t){super(t),this.missingOpeningBracketIds=e}canBeReused(e){return!e.intersects(this.missingOpeningBracketIds)}computeMinIndentation(e,t){return Number.MAX_SAFE_INTEGER}}let Mu=class{constructor(e,t,i,n,o){this.length=e,this.kind=t,this.bracketId=i,this.bracketIds=n,this.astNode=o}};class f${constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new ime(this.textModel,this.bracketTokens),this._offset=Bs,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return ji(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=Di(this._offset,e);const t=Rr(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=Di(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class ime{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,this.line!==null&&(this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const o=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=o.length,o}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const e=this.lineIdx,t=this.lineCharOffset;let i=0;for(;;){const o=this.lineTokens,r=o.getCount();let a=null;if(this.lineTokenOffset<r){const l=o.getMetadata(this.lineTokenOffset);for(;this.lineTokenOffset+1<r&&l===o.getMetadata(this.lineTokenOffset+1);)this.lineTokenOffset++;const d=yo.getTokenType(l)===0,c=yo.containsBalancedBrackets(l),u=o.getEndOffset(this.lineTokenOffset);if(c&&d&&this.lineCharOffset<u){const h=o.getLanguageId(this.lineTokenOffset),g=this.line.substring(this.lineCharOffset,u),f=this.bracketTokens.getSingleLanguageBracketTokens(h),m=f.regExpGlobal;if(m){m.lastIndex=0;const _=m.exec(g);_&&(a=f.getToken(_[0]),a&&(this.lineCharOffset+=_.index))}}if(i+=u-this.lineCharOffset,a)if(e!==this.lineIdx||t!==this.lineCharOffset){this.peekedToken=a;break}else return this.lineCharOffset+=a.length,a;else this.lineTokenOffset++,this.lineCharOffset=u}else if(this.lineIdx===this.textBufferLineCount-1||(this.lineIdx++,this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.lineTokenOffset=0,this.line=this.lineTokens.getLineContent(),this.lineCharOffset=0,i+=33,i>1e3))break;if(i>1500)break}const n=qpe(e,t,this.lineIdx,this.lineCharOffset);return new Mu(n,0,-1,on.getEmpty(),new Vg(n))}}class nme{constructor(e,t){this.text=e,this._offset=Bs,this.idx=0;const i=t.getRegExpStr(),n=i?new RegExp(i+`|\n`,\"gi\"):null,o=[];let r,a=0,l=0,d=0,c=0;const u=[];for(let f=0;f<60;f++)u.push(new Mu(ji(0,f),0,-1,on.getEmpty(),new Vg(ji(0,f))));const h=[];for(let f=0;f<60;f++)h.push(new Mu(ji(1,f),0,-1,on.getEmpty(),new Vg(ji(1,f))));if(n)for(n.lastIndex=0;(r=n.exec(e))!==null;){const f=r.index,m=r[0];if(m===`\n`)a++,l=f+1;else{if(d!==f){let _;if(c===a){const v=f-d;if(v<u.length)_=u[v];else{const b=ji(0,v);_=new Mu(b,0,-1,on.getEmpty(),new Vg(b))}}else{const v=a-c,b=f-l;if(v===1&&b<h.length)_=h[b];else{const C=ji(v,b);_=new Mu(C,0,-1,on.getEmpty(),new Vg(C))}}o.push(_)}o.push(t.getToken(m)),d=f+m.length,c=a}}const g=e.length;if(d!==g){const f=c===a?ji(0,g-d):ji(a-c,g-l);o.push(new Mu(f,0,-1,on.getEmpty(),new Vg(f)))}this.length=ji(a,g-l),this.tokens=o}get offset(){return this._offset}read(){return this.tokens[this.idx++]||null}peek(){return this.tokens[this.idx]||null}skip(e){throw new Hoe}}class GF{static createFromLanguage(e,t){function i(o){return t.getKey(`${o.languageId}:::${o.bracketText}`)}const n=new Map;for(const o of e.bracketsNew.openingBrackets){const r=ji(0,o.bracketText.length),a=i(o),l=on.getEmpty().add(a,o8);n.set(o.bracketText,new Mu(r,1,a,l,cD.create(r,o,l)))}for(const o of e.bracketsNew.closingBrackets){const r=ji(0,o.bracketText.length);let a=on.getEmpty();const l=o.getOpeningBrackets();for(const d of l)a=a.add(i(d),o8);n.set(o.bracketText,new Mu(r,2,i(l[0]),a,cD.create(r,o,a)))}return new GF(n)}constructor(e){this.map=e,this.hasRegExp=!1,this._regExpGlobal=null}getRegExpStr(){if(this.isEmpty)return null;{const e=[...this.map.keys()];return e.sort(),e.reverse(),e.map(t=>sme(t)).join(\"|\")}}get regExpGlobal(){if(!this.hasRegExp){const e=this.getRegExpStr();this._regExpGlobal=e?new RegExp(e,\"gi\"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e.toLowerCase())}findClosingTokenText(e){for(const[t,i]of this.map)if(i.kind===2&&i.bracketIds.intersects(e))return t}get isEmpty(){return this.map.size===0}}function sme(s){let e=rr(s);return/^[\\w ]+/.test(s)&&(e=`\\\\b${e}`),/[\\w ]+$/.test(s)&&(e=`${e}\\\\b`),e}class p${constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){return this.languageIdToBracketTokens.has(e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=GF.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}function ome(s){if(s.length===0)return null;if(s.length===1)return s[0];let e=0;function t(){if(e>=s.length)return null;const r=e,a=s[r].listHeight;for(e++;e<s.length&&s[e].listHeight===a;)e++;return e-r>=2?m$(r===0&&e===s.length?s:s.slice(r,e),!1):s[r]}let i=t(),n=t();if(!n)return i;for(let r=t();r;r=t())r8(i,n)<=r8(n,r)?(i=CI(i,n),n=r):n=CI(n,r);return CI(i,n)}function m$(s,e=!1){if(s.length===0)return null;if(s.length===1)return s[0];let t=s.length;for(;t>3;){const i=t>>1;for(let n=0;n<i;n++){const o=n<<1;s[n]=Cd.create23(s[o],s[o+1],o+3===t?s[o+2]:null,e)}t=i}return Cd.create23(s[0],s[1],t>=3?s[2]:null,e)}function r8(s,e){return Math.abs(s.listHeight-e.listHeight)}function CI(s,e){return s.listHeight===e.listHeight?Cd.create23(s,e,null,!1):s.listHeight>e.listHeight?rme(s,e):ame(e,s)}function rme(s,e){s=s.toMutable();let t=s;const i=[];let n;for(;;){if(e.listHeight===t.listHeight){n=e;break}if(t.kind!==4)throw new Error(\"unexpected\");i.push(t),t=t.makeLastElementMutable()}for(let o=i.length-1;o>=0;o--){const r=i[o];n?r.childrenLength>=3?n=Cd.create23(r.unappendChild(),n,null,!1):(r.appendChildOfSameHeight(n),n=void 0):r.handleChildrenChanged()}return n?Cd.create23(s,n,null,!1):s}function ame(s,e){s=s.toMutable();let t=s;const i=[];for(;e.listHeight!==t.listHeight;){if(t.kind!==4)throw new Error(\"unexpected\");i.push(t),t=t.makeFirstElementMutable()}let n=e;for(let o=i.length-1;o>=0;o--){const r=i[o];n?r.childrenLength>=3?n=Cd.create23(n,r.unprependChild(),null,!1):(r.prependChildOfSameHeight(n),n=void 0):r.handleChildrenChanged()}return n?Cd.create23(n,s,null,!1):s}class lme{constructor(e){this.lastOffset=Bs,this.nextNodes=[e],this.offsets=[Bs],this.idxs=[]}readLongestNodeAt(e,t){if(Hm(e,this.lastOffset))throw new Error(\"Invalid offset\");for(this.lastOffset=e;;){const i=U0(this.nextNodes);if(!i)return;const n=U0(this.offsets);if(Hm(e,n))return;if(Hm(n,e))if(Di(n,i.length)<=e)this.nextNodeAfterCurrent();else{const o=wI(i);o!==-1?(this.nextNodes.push(i.getChild(o)),this.offsets.push(n),this.idxs.push(o)):this.nextNodeAfterCurrent()}else{if(t(i))return this.nextNodeAfterCurrent(),i;{const o=wI(i);if(o===-1){this.nextNodeAfterCurrent();return}else this.nextNodes.push(i.getChild(o)),this.offsets.push(n),this.idxs.push(o)}}}}nextNodeAfterCurrent(){for(;;){const e=U0(this.offsets),t=U0(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),this.idxs.length===0)break;const i=U0(this.nextNodes),n=wI(i,this.idxs[this.idxs.length-1]);if(n!==-1){this.nextNodes.push(i.getChild(n)),this.offsets.push(Di(e,t.length)),this.idxs[this.idxs.length-1]=n;break}else this.idxs.pop()}}}function wI(s,e=-1){for(;;){if(e++,e>=s.childrenLength)return-1;if(s.getChild(e))return e}}function U0(s){return s.length>0?s[s.length-1]:void 0}function HA(s,e,t,i){return new dme(s,e,t,i).parseDocument()}class dme{constructor(e,t,i,n){if(this.tokenizer=e,this.createImmutableLists=n,this._itemsConstructed=0,this._itemsFromCache=0,i&&n)throw new Error(\"Not supported\");this.oldNodeReader=i?new lme(i):void 0,this.positionMapper=new Ype(t)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(on.getEmpty(),0);return e||(e=Cd.getEmpty()),e}parseList(e,t){const i=[];for(;;){let o=this.tryReadChildFromCache(e);if(!o){const r=this.tokenizer.peek();if(!r||r.kind===2&&r.bracketIds.intersects(e))break;o=this.parseChild(e,t+1)}o.kind===4&&o.childrenLength===0||i.push(o)}return this.oldNodeReader?ome(i):m$(i,this.createImmutableLists)}tryReadChildFromCache(e){if(this.oldNodeReader){const t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(t===null||!lD(t)){const i=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),n=>t!==null&&!Hm(n.length,t)?!1:n.canBeReused(e));if(i)return this._itemsFromCache++,this.tokenizer.skip(i.length),i}}}parseChild(e,t){this._itemsConstructed++;const i=this.tokenizer.read();switch(i.kind){case 2:return new tme(i.bracketIds,i.length);case 0:return i.astNode;case 1:{if(t>300)return new Vg(i.length);const n=e.merge(i.bracketIds),o=this.parseList(n,t+1),r=this.tokenizer.peek();return r&&r.kind===2&&(r.bracketId===i.bracketId||r.bracketIds.intersects(i.bracketIds))?(this.tokenizer.read(),sC.create(i.astNode,o,r.astNode)):sC.create(i.astNode,o,null)}default:throw new Error(\"unexpected\")}}}function uD(s,e){if(s.length===0)return e;if(e.length===0)return s;const t=new Hc(a8(s)),i=a8(e);i.push({modified:!1,lengthBefore:void 0,lengthAfter:void 0});let n=t.dequeue();function o(d){if(d===void 0){const u=t.takeWhile(h=>!0)||[];return n&&u.unshift(n),u}const c=[];for(;n&&!lD(d);){const[u,h]=n.splitAt(d);c.push(u),d=nC(u.lengthAfter,d),n=h??t.dequeue()}return lD(d)||c.push(new Ku(!1,d,d)),c}const r=[];function a(d,c,u){if(r.length>0&&h$(r[r.length-1].endOffset,d)){const h=r[r.length-1];r[r.length-1]=new Dc(h.startOffset,c,Di(h.newLength,u))}else r.push({startOffset:d,endOffset:c,newLength:u})}let l=Bs;for(const d of i){const c=o(d.lengthBefore);if(d.modified){const u=Zpe(c,g=>g.lengthBefore),h=Di(l,u);a(l,h,d.lengthAfter),l=h}else for(const u of c){const h=l;l=Di(l,u.lengthBefore),u.modified&&a(h,l,u.lengthAfter)}}return r}class Ku{constructor(e,t,i){this.modified=e,this.lengthBefore=t,this.lengthAfter=i}splitAt(e){const t=nC(e,this.lengthAfter);return h$(t,Bs)?[this,void 0]:this.modified?[new Ku(this.modified,this.lengthBefore,e),new Ku(this.modified,Bs,t)]:[new Ku(this.modified,e,e),new Ku(this.modified,t,t)]}toString(){return`${this.modified?\"M\":\"U\"}:${Rr(this.lengthBefore)} -> ${Rr(this.lengthAfter)}`}}function a8(s){const e=[];let t=Bs;for(const i of s){const n=nC(t,i.startOffset);lD(n)||e.push(new Ku(!1,n,n));const o=nC(i.startOffset,i.endOffset);e.push(new Ku(!0,o,i.newLength)),t=i.endOffset}return e}class cme extends H{didLanguageChange(e){return this.brackets.didLanguageChange(e)}constructor(e,t){if(super(),this.textModel=e,this.getLanguageConfiguration=t,this.didChangeEmitter=new B,this.denseKeyProvider=new g$,this.brackets=new p$(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,this.queuedTextEditsForInitialAstWithoutTokens=[],this.queuedTextEdits=[],e.tokenization.hasTokens)e.tokenization.backgroundTokenizationState===2?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens);else{const i=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),n=new nme(this.textModel.getValue(),i);this.initialAstWithoutTokens=HA(n,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}}handleDidChangeBackgroundTokenizationState(){if(this.textModel.tokenization.backgroundTokenizationState===2){const e=this.initialAstWithoutTokens===void 0;this.initialAstWithoutTokens=void 0,e||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:e}){const t=e.map(i=>new Dc(ji(i.fromLineNumber-1,0),ji(i.toLineNumber,0),ji(i.toLineNumber-i.fromLineNumber+1,0)));this.handleEdits(t,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){const t=Dc.fromModelContentChanges(e.changes);this.handleEdits(t,!1)}handleEdits(e,t){const i=uD(this.queuedTextEdits,e);this.queuedTextEdits=i,this.initialAstWithoutTokens&&!t&&(this.queuedTextEditsForInitialAstWithoutTokens=uD(this.queuedTextEditsForInitialAstWithoutTokens,e))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(e,t,i){const n=t,o=new f$(this.textModel,this.brackets);return HA(o,e,n,i)}getBracketsInRange(e,t){this.flushQueue();const i=ji(e.startLineNumber-1,e.startColumn-1),n=ji(e.endLineNumber-1,e.endColumn-1);return new od(o=>{const r=this.initialAstWithoutTokens||this.astWithTokens;VA(r,Bs,r.length,i,n,o,0,0,new Map,t)})}getBracketPairsInRange(e,t){this.flushQueue();const i=fm(e.getStartPosition()),n=fm(e.getEndPosition());return new od(o=>{const r=this.initialAstWithoutTokens||this.astWithTokens,a=new ume(o,t,this.textModel);zA(r,Bs,r.length,i,n,a,0,new Map)})}getFirstBracketAfter(e){this.flushQueue();const t=this.initialAstWithoutTokens||this.astWithTokens;return v$(t,Bs,t.length,fm(e))}getFirstBracketBefore(e){this.flushQueue();const t=this.initialAstWithoutTokens||this.astWithTokens;return _$(t,Bs,t.length,fm(e))}}function _$(s,e,t,i){if(s.kind===4||s.kind===2){const n=[];for(const o of s.children)t=Di(e,o.length),n.push({nodeOffsetStart:e,nodeOffsetEnd:t}),e=t;for(let o=n.length-1;o>=0;o--){const{nodeOffsetStart:r,nodeOffsetEnd:a}=n[o];if(Hm(r,i)){const l=_$(s.children[o],r,a,i);if(l)return l}}return null}else{if(s.kind===3)return null;if(s.kind===1){const n=uf(e,t);return{bracketInfo:s.bracketInfo,range:n}}}return null}function v$(s,e,t,i){if(s.kind===4||s.kind===2){for(const n of s.children){if(t=Di(e,n.length),Hm(i,t)){const o=v$(n,e,t,i);if(o)return o}e=t}return null}else{if(s.kind===3)return null;if(s.kind===1){const n=uf(e,t);return{bracketInfo:s.bracketInfo,range:n}}}return null}function VA(s,e,t,i,n,o,r,a,l,d,c=!1){if(r>200)return!0;e:for(;;)switch(s.kind){case 4:{const u=s.childrenLength;for(let h=0;h<u;h++){const g=s.getChild(h);if(g){if(t=Di(e,g.length),Vm(e,n)&&yv(t,i)){if(yv(t,n)){s=g;continue e}if(!VA(g,e,t,i,n,o,r,0,l,d))return!1}e=t}}return!0}case 2:{const u=!d||!s.closingBracket||s.closingBracket.bracketInfo.closesColorized(s.openingBracket.bracketInfo);let h=0;if(l){let f=l.get(s.openingBracket.text);f===void 0&&(f=0),h=f,u&&(f++,l.set(s.openingBracket.text,f))}const g=s.childrenLength;for(let f=0;f<g;f++){const m=s.getChild(f);if(m){if(t=Di(e,m.length),Vm(e,n)&&yv(t,i)){if(yv(t,n)&&m.kind!==1){s=m,u?(r++,a=h+1):a=h;continue e}if((u||m.kind!==1||!s.closingBracket)&&!VA(m,e,t,i,n,o,u?r+1:r,u?h+1:h,l,d,!s.closingBracket))return!1}e=t}}return l==null||l.set(s.openingBracket.text,h),!0}case 3:{const u=uf(e,t);return o(new s8(u,r-1,0,!0))}case 1:{const u=uf(e,t);return o(new s8(u,r-1,a-1,c))}case 0:return!0}}class ume{constructor(e,t,i){this.push=e,this.includeMinIndentation=t,this.textModel=i}}function zA(s,e,t,i,n,o,r,a){var l;if(r>200)return!0;let d=!0;if(s.kind===2){let c=0;if(a){let g=a.get(s.openingBracket.text);g===void 0&&(g=0),c=g,g++,a.set(s.openingBracket.text,g)}const u=Di(e,s.openingBracket.length);let h=-1;if(o.includeMinIndentation&&(h=s.computeMinIndentation(e,o.textModel)),d=o.push(new Kpe(uf(e,t),uf(e,u),s.closingBracket?uf(Di(u,((l=s.child)===null||l===void 0?void 0:l.length)||Bs),t):void 0,r,c,s,h)),e=u,d&&s.child){const g=s.child;if(t=Di(e,g.length),Vm(e,n)&&yv(t,i)&&(d=zA(g,e,t,i,n,o,r+1,a),!d))return!1}a==null||a.set(s.openingBracket.text,c)}else{let c=e;for(const u of s.children){const h=c;if(c=Di(c,u.length),Vm(h,n)&&Vm(i,c)&&(d=zA(u,h,c,i,n,o,r,a),!d))return!1}}return d}class hme extends H{get canBuildAST(){return this.textModel.getValueLength()<=5e6}constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new $n),this.onDidChangeEmitter=new B,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(i=>{var n;(!i.languageId||!((n=this.bracketPairsTree.value)===null||n===void 0)&&n.object.didLanguageChange(i.languageId))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(e){var t;(t=this.bracketPairsTree.value)===null||t===void 0||t.object.handleContentChanged(e)}handleDidChangeBackgroundTokenizationState(){var e;(e=this.bracketPairsTree.value)===null||e===void 0||e.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(e){var t;(t=this.bracketPairsTree.value)===null||t===void 0||t.object.handleDidChangeTokens(e)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){const e=new Y;this.bracketPairsTree.value=gme(e.add(new cme(this.textModel,t=>this.languageConfigurationService.getLanguageConfiguration(t))),e),e.add(this.bracketPairsTree.value.object.onDidChange(t=>this.onDidChangeEmitter.fire(t))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((t=this.bracketPairsTree.value)===null||t===void 0?void 0:t.object.getBracketPairsInRange(e,!1))||od.empty}getBracketPairsInRangeWithMinIndentation(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((t=this.bracketPairsTree.value)===null||t===void 0?void 0:t.object.getBracketPairsInRange(e,!0))||od.empty}getBracketsInRange(e,t=!1){var i;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((i=this.bracketPairsTree.value)===null||i===void 0?void 0:i.object.getBracketsInRange(e,t))||od.empty}findMatchingBracketUp(e,t,i){const n=this.textModel.validatePosition(t),o=this.textModel.getLanguageIdAtPosition(n.lineNumber,n.column);if(this.canBuildAST){const r=this.languageConfigurationService.getLanguageConfiguration(o).bracketsNew.getClosingBracketInfo(e);if(!r)return null;const a=this.getBracketPairsInRange(x.fromPositions(t,t)).findLast(l=>r.closes(l.openingBracketInfo));return a?a.openingBracketRange:null}else{const r=e.toLowerCase(),a=this.languageConfigurationService.getLanguageConfiguration(o).brackets;if(!a)return null;const l=a.textIsBracket[r];return l?Aw(this._findMatchingBracketUp(l,n,yI(i))):null}}matchBracket(e,t){if(this.canBuildAST){const i=this.getBracketPairsInRange(x.fromPositions(e,e)).filter(n=>n.closingBracketRange!==void 0&&(n.openingBracketRange.containsPosition(e)||n.closingBracketRange.containsPosition(e))).findLastMaxBy(ao(n=>n.openingBracketRange.containsPosition(e)?n.openingBracketRange:n.closingBracketRange,x.compareRangesUsingStarts));return i?[i.openingBracketRange,i.closingBracketRange]:null}else{const i=yI(t);return this._matchBracket(this.textModel.validatePosition(e),i)}}_establishBracketSearchOffsets(e,t,i,n){const o=t.getCount(),r=t.getLanguageId(n);let a=Math.max(0,e.column-1-i.maxBracketLength);for(let d=n-1;d>=0;d--){const c=t.getEndOffset(d);if(c<=a)break;if(Il(t.getStandardTokenType(d))||t.getLanguageId(d)!==r){a=c;break}}let l=Math.min(t.getLineContent().length,e.column-1+i.maxBracketLength);for(let d=n+1;d<o;d++){const c=t.getStartOffset(d);if(c>=l)break;if(Il(t.getStandardTokenType(d))||t.getLanguageId(d)!==r){l=c;break}}return{searchStartOffset:a,searchEndOffset:l}}_matchBracket(e,t){const i=e.lineNumber,n=this.textModel.tokenization.getLineTokens(i),o=this.textModel.getLineContent(i),r=n.findTokenIndexAtOffset(e.column-1);if(r<0)return null;const a=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(r)).brackets;if(a&&!Il(n.getStandardTokenType(r))){let{searchStartOffset:l,searchEndOffset:d}=this._establishBracketSearchOffsets(e,n,a,r),c=null;for(;;){const u=Qr.findNextBracketInRange(a.forwardRegex,i,o,l,d);if(!u)break;if(u.startColumn<=e.column&&e.column<=u.endColumn){const h=o.substring(u.startColumn-1,u.endColumn-1).toLowerCase(),g=this._matchFoundBracket(u,a.textIsBracket[h],a.textIsOpenBracket[h],t);if(g){if(g instanceof ec)return null;c=g}}l=u.endColumn-1}if(c)return c}if(r>0&&n.getStartOffset(r)===e.column-1){const l=r-1,d=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(l)).brackets;if(d&&!Il(n.getStandardTokenType(l))){const{searchStartOffset:c,searchEndOffset:u}=this._establishBracketSearchOffsets(e,n,d,l),h=Qr.findPrevBracketInRange(d.reversedRegex,i,o,c,u);if(h&&h.startColumn<=e.column&&e.column<=h.endColumn){const g=o.substring(h.startColumn-1,h.endColumn-1).toLowerCase(),f=this._matchFoundBracket(h,d.textIsBracket[g],d.textIsOpenBracket[g],t);if(f)return f instanceof ec?null:f}}}return null}_matchFoundBracket(e,t,i,n){if(!t)return null;const o=i?this._findMatchingBracketDown(t,e.getEndPosition(),n):this._findMatchingBracketUp(t,e.getStartPosition(),n);return o?o instanceof ec?o:[e,o]:null}_findMatchingBracketUp(e,t,i){const n=e.languageId,o=e.reversedRegex;let r=-1,a=0;const l=(d,c,u,h)=>{for(;;){if(i&&++a%100===0&&!i())return ec.INSTANCE;const g=Qr.findPrevBracketInRange(o,d,c,u,h);if(!g)break;const f=c.substring(g.startColumn-1,g.endColumn-1).toLowerCase();if(e.isOpen(f)?r++:e.isClose(f)&&r--,r===0)return g;h=g.startColumn-1}return null};for(let d=t.lineNumber;d>=1;d--){const c=this.textModel.tokenization.getLineTokens(d),u=c.getCount(),h=this.textModel.getLineContent(d);let g=u-1,f=h.length,m=h.length;d===t.lineNumber&&(g=c.findTokenIndexAtOffset(t.column-1),f=t.column-1,m=t.column-1);let _=!0;for(;g>=0;g--){const v=c.getLanguageId(g)===n&&!Il(c.getStandardTokenType(g));if(v)_?f=c.getStartOffset(g):(f=c.getStartOffset(g),m=c.getEndOffset(g));else if(_&&f!==m){const b=l(d,h,f,m);if(b)return b}_=v}if(_&&f!==m){const v=l(d,h,f,m);if(v)return v}}return null}_findMatchingBracketDown(e,t,i){const n=e.languageId,o=e.forwardRegex;let r=1,a=0;const l=(c,u,h,g)=>{for(;;){if(i&&++a%100===0&&!i())return ec.INSTANCE;const f=Qr.findNextBracketInRange(o,c,u,h,g);if(!f)break;const m=u.substring(f.startColumn-1,f.endColumn-1).toLowerCase();if(e.isOpen(m)?r++:e.isClose(m)&&r--,r===0)return f;h=f.endColumn-1}return null},d=this.textModel.getLineCount();for(let c=t.lineNumber;c<=d;c++){const u=this.textModel.tokenization.getLineTokens(c),h=u.getCount(),g=this.textModel.getLineContent(c);let f=0,m=0,_=0;c===t.lineNumber&&(f=u.findTokenIndexAtOffset(t.column-1),m=t.column-1,_=t.column-1);let v=!0;for(;f<h;f++){const b=u.getLanguageId(f)===n&&!Il(u.getStandardTokenType(f));if(b)v||(m=u.getStartOffset(f)),_=u.getEndOffset(f);else if(v&&m!==_){const C=l(c,g,m,_);if(C)return C}v=b}if(v&&m!==_){const b=l(c,g,m,_);if(b)return b}}return null}findPrevBracket(e){var t;const i=this.textModel.validatePosition(e);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),((t=this.bracketPairsTree.value)===null||t===void 0?void 0:t.object.getFirstBracketBefore(i))||null;let n=null,o=null,r=null;for(let a=i.lineNumber;a>=1;a--){const l=this.textModel.tokenization.getLineTokens(a),d=l.getCount(),c=this.textModel.getLineContent(a);let u=d-1,h=c.length,g=c.length;if(a===i.lineNumber){u=l.findTokenIndexAtOffset(i.column-1),h=i.column-1,g=i.column-1;const m=l.getLanguageId(u);n!==m&&(n=m,o=this.languageConfigurationService.getLanguageConfiguration(n).brackets,r=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew)}let f=!0;for(;u>=0;u--){const m=l.getLanguageId(u);if(n!==m){if(o&&r&&f&&h!==g){const v=Qr.findPrevBracketInRange(o.reversedRegex,a,c,h,g);if(v)return this._toFoundBracket(r,v);f=!1}n=m,o=this.languageConfigurationService.getLanguageConfiguration(n).brackets,r=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew}const _=!!o&&!Il(l.getStandardTokenType(u));if(_)f?h=l.getStartOffset(u):(h=l.getStartOffset(u),g=l.getEndOffset(u));else if(r&&o&&f&&h!==g){const v=Qr.findPrevBracketInRange(o.reversedRegex,a,c,h,g);if(v)return this._toFoundBracket(r,v)}f=_}if(r&&o&&f&&h!==g){const m=Qr.findPrevBracketInRange(o.reversedRegex,a,c,h,g);if(m)return this._toFoundBracket(r,m)}}return null}findNextBracket(e){var t;const i=this.textModel.validatePosition(e);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),((t=this.bracketPairsTree.value)===null||t===void 0?void 0:t.object.getFirstBracketAfter(i))||null;const n=this.textModel.getLineCount();let o=null,r=null,a=null;for(let l=i.lineNumber;l<=n;l++){const d=this.textModel.tokenization.getLineTokens(l),c=d.getCount(),u=this.textModel.getLineContent(l);let h=0,g=0,f=0;if(l===i.lineNumber){h=d.findTokenIndexAtOffset(i.column-1),g=i.column-1,f=i.column-1;const _=d.getLanguageId(h);o!==_&&(o=_,r=this.languageConfigurationService.getLanguageConfiguration(o).brackets,a=this.languageConfigurationService.getLanguageConfiguration(o).bracketsNew)}let m=!0;for(;h<c;h++){const _=d.getLanguageId(h);if(o!==_){if(a&&r&&m&&g!==f){const b=Qr.findNextBracketInRange(r.forwardRegex,l,u,g,f);if(b)return this._toFoundBracket(a,b);m=!1}o=_,r=this.languageConfigurationService.getLanguageConfiguration(o).brackets,a=this.languageConfigurationService.getLanguageConfiguration(o).bracketsNew}const v=!!r&&!Il(d.getStandardTokenType(h));if(v)m||(g=d.getStartOffset(h)),f=d.getEndOffset(h);else if(a&&r&&m&&g!==f){const b=Qr.findNextBracketInRange(r.forwardRegex,l,u,g,f);if(b)return this._toFoundBracket(a,b)}m=v}if(a&&r&&m&&g!==f){const _=Qr.findNextBracketInRange(r.forwardRegex,l,u,g,f);if(_)return this._toFoundBracket(a,_)}}return null}findEnclosingBrackets(e,t){const i=this.textModel.validatePosition(e);if(this.canBuildAST){const g=x.fromPositions(i),f=this.getBracketPairsInRange(x.fromPositions(i,i)).findLast(m=>m.closingBracketRange!==void 0&&m.range.strictContainsRange(g));return f?[f.openingBracketRange,f.closingBracketRange]:null}const n=yI(t),o=this.textModel.getLineCount(),r=new Map;let a=[];const l=(g,f)=>{if(!r.has(g)){const m=[];for(let _=0,v=f?f.brackets.length:0;_<v;_++)m[_]=0;r.set(g,m)}a=r.get(g)};let d=0;const c=(g,f,m,_,v)=>{for(;;){if(n&&++d%100===0&&!n())return ec.INSTANCE;const b=Qr.findNextBracketInRange(g.forwardRegex,f,m,_,v);if(!b)break;const C=m.substring(b.startColumn-1,b.endColumn-1).toLowerCase(),w=g.textIsBracket[C];if(w&&(w.isOpen(C)?a[w.index]++:w.isClose(C)&&a[w.index]--,a[w.index]===-1))return this._matchFoundBracket(b,w,!1,n);_=b.endColumn-1}return null};let u=null,h=null;for(let g=i.lineNumber;g<=o;g++){const f=this.textModel.tokenization.getLineTokens(g),m=f.getCount(),_=this.textModel.getLineContent(g);let v=0,b=0,C=0;if(g===i.lineNumber){v=f.findTokenIndexAtOffset(i.column-1),b=i.column-1,C=i.column-1;const y=f.getLanguageId(v);u!==y&&(u=y,h=this.languageConfigurationService.getLanguageConfiguration(u).brackets,l(u,h))}let w=!0;for(;v<m;v++){const y=f.getLanguageId(v);if(u!==y){if(h&&w&&b!==C){const L=c(h,g,_,b,C);if(L)return Aw(L);w=!1}u=y,h=this.languageConfigurationService.getLanguageConfiguration(u).brackets,l(u,h)}const D=!!h&&!Il(f.getStandardTokenType(v));if(D)w||(b=f.getStartOffset(v)),C=f.getEndOffset(v);else if(h&&w&&b!==C){const L=c(h,g,_,b,C);if(L)return Aw(L)}w=D}if(h&&w&&b!==C){const y=c(h,g,_,b,C);if(y)return Aw(y)}}return null}_toFoundBracket(e,t){if(!t)return null;let i=this.textModel.getValueInRange(t);i=i.toLowerCase();const n=e.getBracketInfo(i);return n?{range:t,bracketInfo:n}:null}}function gme(s,e){return{object:s,dispose:()=>e==null?void 0:e.dispose()}}function yI(s){if(typeof s>\"u\")return()=>!0;{const e=Date.now();return()=>Date.now()-e<=s}}class ec{constructor(){this._searchCanceledBrand=void 0}}ec.INSTANCE=new ec;function Aw(s){return s instanceof ec?null:s}class fme extends H{constructor(e){super(),this.textModel=e,this.colorProvider=new b$,this.onDidChangeEmitter=new B,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=e.getOptions().bracketPairColorizationOptions,this._register(e.bracketPairs.onDidChange(t=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(e){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(e,t,i,n){return n?[]:t===void 0?[]:this.colorizationOptions.enabled?this.textModel.bracketPairs.getBracketsInRange(e,!0).map(r=>({id:`bracket${r.range.toString()}-${r.nestingLevel}`,options:{description:\"BracketPairColorization\",inlineClassName:this.colorProvider.getInlineClassName(r,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:r.range})).toArray():[]}getAllDecorations(e,t){return e===void 0?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new x(1,1,this.textModel.getLineCount(),1),e,t):[]}}class b${constructor(){this.unexpectedClosingBracketClassName=\"unexpected-closing-bracket\"}getInlineClassName(e,t){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(t?e.nestingLevelOfEqualBracketType:e.nestingLevel)}getInlineClassNameOfLevel(e){return`bracket-highlighting-${e%30}`}}zr((s,e)=>{const t=[qU,GU,ZU,XU,YU,QU],i=new b$;e.addRule(`.monaco-editor .${i.unexpectedClosingBracketClassName} { color: ${s.getColor(dfe)}; }`);const n=t.map(o=>s.getColor(o)).filter(o=>!!o).filter(o=>!o.isTransparent());for(let o=0;o<30;o++){const r=n[o%n.length];e.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(o)} { color: ${r}; }`)}});function Mw(s){return s.replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\")}class Gn{get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}constructor(e,t,i,n){this.oldPosition=e,this.oldText=t,this.newPosition=i,this.newText=n}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} \"${Mw(this.newText)}\")`:this.newText.length===0?`(delete@${this.oldPosition} \"${Mw(this.oldText)}\")`:`(replace@${this.oldPosition} \"${Mw(this.oldText)}\" with \"${Mw(this.newText)}\")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,i){const n=t.length;Fa(e,n,i),i+=4;for(let o=0;o<n;o++)Zle(e,t.charCodeAt(o),i),i+=2;return i}static _readString(e,t){const i=Pa(e,t);return t+=4,Yle(e,t,i)}writeSize(){return 8+Gn._writeStringSize(this.oldText)+Gn._writeStringSize(this.newText)}write(e,t){return Fa(e,this.oldPosition,t),t+=4,Fa(e,this.newPosition,t),t+=4,t=Gn._writeString(e,this.oldText,t),t=Gn._writeString(e,this.newText,t),t}static read(e,t,i){const n=Pa(e,t);t+=4;const o=Pa(e,t);t+=4;const r=Gn._readString(e,t);t+=Gn._writeStringSize(r);const a=Gn._readString(e,t);return t+=Gn._writeStringSize(a),i.push(new Gn(n,r,o,a)),t}}function pme(s,e){return s===null||s.length===0?e:new Al(s,e).compress()}class Al{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,i=this._getPrev(e),n=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){if(i===null){this._acceptCurr(n),n=this._getCurr(++t);continue}if(n===null){this._acceptPrev(i),i=this._getPrev(++e);continue}if(n.oldEnd<=i.newPosition){this._acceptCurr(n),n=this._getCurr(++t);continue}if(i.newEnd<=n.oldPosition){this._acceptPrev(i),i=this._getPrev(++e);continue}if(n.oldPosition<i.newPosition){const[d,c]=Al._splitCurr(n,i.newPosition-n.oldPosition);this._acceptCurr(d),n=c;continue}if(i.newPosition<n.oldPosition){const[d,c]=Al._splitPrev(i,n.oldPosition-i.newPosition);this._acceptPrev(d),i=c;continue}let a,l;if(n.oldEnd===i.newEnd)a=i,l=n,i=this._getPrev(++e),n=this._getCurr(++t);else if(n.oldEnd<i.newEnd){const[d,c]=Al._splitPrev(i,n.oldLength);a=d,l=n,i=c,n=this._getCurr(++t)}else{const[d,c]=Al._splitCurr(n,i.newLength);a=i,l=d,i=this._getPrev(++e),n=c}this._result[this._resultLen++]=new Gn(a.oldPosition,a.oldText,l.newPosition,l.newText),this._prevDeltaOffset+=a.newLength-a.oldLength,this._currDeltaOffset+=l.newLength-l.oldLength}const o=Al._merge(this._result);return Al._removeNoOps(o)}_acceptCurr(e){this._result[this._resultLen++]=Al._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=Al._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new Gn(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new Gn(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const i=e.newText.substr(0,t),n=e.newText.substr(t);return[new Gn(e.oldPosition,e.oldText,e.newPosition,i),new Gn(e.oldEnd,\"\",e.newPosition+t,n)]}static _splitCurr(e,t){const i=e.oldText.substr(0,t),n=e.oldText.substr(t);return[new Gn(e.oldPosition,i,e.newPosition,e.newText),new Gn(e.oldPosition+t,n,e.newEnd,\"\")]}static _merge(e){if(e.length===0)return e;const t=[];let i=0,n=e[0];for(let o=1;o<e.length;o++){const r=e[o];n.oldEnd===r.oldPosition?n=new Gn(n.oldPosition,n.oldText+r.oldText,n.newPosition,n.newText+r.newText):(t[i++]=n,n=r)}return t[i++]=n,t}static _removeNoOps(e){if(e.length===0)return e;const t=[];let i=0;for(let n=0;n<e.length;n++){const o=e[n];o.oldText!==o.newText&&(t[i++]=o)}return t}}function mu(s){return s===47||s===92}function C$(s){return s.replace(/[\\\\/]/g,Yi.sep)}function mme(s){return s.indexOf(\"/\")===-1&&(s=C$(s)),/^[a-zA-Z]:(\\/|$)/.test(s)&&(s=\"/\"+s),s}function l8(s,e=Yi.sep){if(!s)return\"\";const t=s.length,i=s.charCodeAt(0);if(mu(i)){if(mu(s.charCodeAt(1))&&!mu(s.charCodeAt(2))){let o=3;const r=o;for(;o<t&&!mu(s.charCodeAt(o));o++);if(r!==o&&!mu(s.charCodeAt(o+1))){for(o+=1;o<t;o++)if(mu(s.charCodeAt(o)))return s.slice(0,o+1).replace(/[\\\\/]/g,e)}}return e}else if(w$(i)&&s.charCodeAt(1)===58)return mu(s.charCodeAt(2))?s.slice(0,2)+e:s.slice(0,2);let n=s.indexOf(\"://\");if(n!==-1){for(n+=3;n<t;n++)if(mu(s.charCodeAt(n)))return s.slice(0,n+1)}return\"\"}function UA(s,e,t,i=sh){if(s===e)return!0;if(!s||!e||e.length>s.length)return!1;if(t){if(!YP(s,e))return!1;if(e.length===s.length)return!0;let o=e.length;return e.charAt(e.length-1)===i&&o--,s.charAt(o)===i}return e.charAt(e.length-1)!==i&&(e+=i),s.indexOf(e)===0}function w$(s){return s>=65&&s<=90||s>=97&&s<=122}function _me(s,e=as){return e?w$(s.charCodeAt(0))&&s.charCodeAt(1)===58:!1}function Tl(s){return RS(s,!0)}class vme{constructor(e){this._ignorePathCasing=e}compare(e,t,i=!1){return e===t?0:Rb(this.getComparisonKey(e,i),this.getComparisonKey(t,i))}isEqual(e,t,i=!1){return e===t?!0:!e||!t?!1:this.getComparisonKey(e,i)===this.getComparisonKey(t,i)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,i=!1){if(e.scheme===t.scheme){if(e.scheme===Ge.file)return UA(Tl(e),Tl(t),this._ignorePathCasing(e))&&e.query===t.query&&(i||e.fragment===t.fragment);if(c8(e.authority,t.authority))return UA(e.path,t.path,this._ignorePathCasing(e),\"/\")&&e.query===t.query&&(i||e.fragment===t.fragment)}return!1}joinPath(e,...t){return Ae.joinPath(e,...t)}basenameOrAuthority(e){return Wr(e)||e.authority}basename(e){return Yi.basename(e.path)}extname(e){return Yi.extname(e.path)}dirname(e){if(e.path.length===0)return e;let t;return e.scheme===Ge.file?t=Ae.file(XV(Tl(e))).path:(t=Yi.dirname(e.path),e.authority&&t.length&&t.charCodeAt(0)!==47&&(console.error(`dirname(\"${e.toString})) resulted in a relative path`),t=\"/\")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return e.scheme===Ge.file?t=Ae.file(ZV(Tl(e))).path:t=Yi.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!c8(e.authority,t.authority))return;if(e.scheme===Ge.file){const o=are(Tl(e),Tl(t));return as?C$(o):o}let i=e.path||\"/\";const n=t.path||\"/\";if(this._ignorePathCasing(e)){let o=0;for(const r=Math.min(i.length,n.length);o<r&&!(i.charCodeAt(o)!==n.charCodeAt(o)&&i.charAt(o).toLowerCase()!==n.charAt(o).toLowerCase());o++);i=n.substr(0,o)+i.substr(o)}return Yi.relative(i,n)}resolvePath(e,t){if(e.scheme===Ge.file){const i=Ae.file(rre(Tl(e),t));return e.with({authority:i.authority,path:i.path})}return t=mme(t),e.with({path:Yi.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&e.path[0]===\"/\"}isEqualAuthority(e,t){return e===t||e!==void 0&&t!==void 0&&em(e,t)}hasTrailingPathSeparator(e,t=sh){if(e.scheme===Ge.file){const i=Tl(e);return i.length>l8(i).length&&i[i.length-1]===t}else{const i=e.path;return i.length>1&&i.charCodeAt(i.length-1)===47&&!/^[a-zA-Z]:(\\/$|\\\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=sh){return u8(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=sh){let i=!1;if(e.scheme===Ge.file){const n=Tl(e);i=n!==void 0&&n.length===l8(n).length&&n[n.length-1]===t}else{t=\"/\";const n=e.path;i=n.length===1&&n.charCodeAt(n.length-1)===47}return!i&&!u8(e,t)?e.with({path:e.path+\"/\"}):e}}const ci=new vme(()=>!1),ZF=ci.isEqual.bind(ci);ci.isEqualOrParent.bind(ci);ci.getComparisonKey.bind(ci);const bme=ci.basenameOrAuthority.bind(ci),Wr=ci.basename.bind(ci),Cme=ci.extname.bind(ci),Ax=ci.dirname.bind(ci),wme=ci.joinPath.bind(ci),yme=ci.normalizePath.bind(ci),Sme=ci.relativePath.bind(ci),d8=ci.resolvePath.bind(ci);ci.isAbsolutePath.bind(ci);const c8=ci.isEqualAuthority.bind(ci),u8=ci.hasTrailingPathSeparator.bind(ci);ci.removeTrailingPathSeparator.bind(ci);ci.addTrailingPathSeparator.bind(ci);var Mh;(function(s){s.META_DATA_LABEL=\"label\",s.META_DATA_DESCRIPTION=\"description\",s.META_DATA_SIZE=\"size\",s.META_DATA_MIME=\"mime\";function e(t){const i=new Map;t.path.substring(t.path.indexOf(\";\")+1,t.path.lastIndexOf(\";\")).split(\";\").forEach(r=>{const[a,l]=r.split(\":\");a&&l&&i.set(a,l)});const o=t.path.substring(0,t.path.indexOf(\";\"));return o&&i.set(s.META_DATA_MIME,o),i}s.parseMetaData=e})(Mh||(Mh={}));function Tp(s){return s.toString()}class En{static create(e,t){const i=e.getAlternativeVersionId(),n=$A(e);return new En(i,i,n,n,t,t,[])}constructor(e,t,i,n,o,r,a){this.beforeVersionId=e,this.afterVersionId=t,this.beforeEOL=i,this.afterEOL=n,this.beforeCursorState=o,this.afterCursorState=r,this.changes=a}append(e,t,i,n,o){t.length>0&&(this.changes=pme(this.changes,t)),this.afterEOL=i,this.afterVersionId=n,this.afterCursorState=o}static _writeSelectionsSize(e){return 4+4*4*(e?e.length:0)}static _writeSelections(e,t,i){if(Fa(e,t?t.length:0,i),i+=4,t)for(const n of t)Fa(e,n.selectionStartLineNumber,i),i+=4,Fa(e,n.selectionStartColumn,i),i+=4,Fa(e,n.positionLineNumber,i),i+=4,Fa(e,n.positionColumn,i),i+=4;return i}static _readSelections(e,t,i){const n=Pa(e,t);t+=4;for(let o=0;o<n;o++){const r=Pa(e,t);t+=4;const a=Pa(e,t);t+=4;const l=Pa(e,t);t+=4;const d=Pa(e,t);t+=4,i.push(new we(r,a,l,d))}return t}serialize(){let e=10+En._writeSelectionsSize(this.beforeCursorState)+En._writeSelectionsSize(this.afterCursorState)+4;for(const n of this.changes)e+=n.writeSize();const t=new Uint8Array(e);let i=0;Fa(t,this.beforeVersionId,i),i+=4,Fa(t,this.afterVersionId,i),i+=4,M3(t,this.beforeEOL,i),i+=1,M3(t,this.afterEOL,i),i+=1,i=En._writeSelections(t,this.beforeCursorState,i),i=En._writeSelections(t,this.afterCursorState,i),Fa(t,this.changes.length,i),i+=4;for(const n of this.changes)i=n.write(t,i);return t.buffer}static deserialize(e){const t=new Uint8Array(e);let i=0;const n=Pa(t,i);i+=4;const o=Pa(t,i);i+=4;const r=A3(t,i);i+=1;const a=A3(t,i);i+=1;const l=[];i=En._readSelections(t,i,l);const d=[];i=En._readSelections(t,i,d);const c=Pa(t,i);i+=4;const u=[];for(let h=0;h<c;h++)i=Gn.read(t,i,u);return new En(n,o,r,a,l,d,u)}}class y${get type(){return 0}get resource(){return Ae.isUri(this.model)?this.model:this.model.uri}constructor(e,t,i,n){this.label=e,this.code=t,this.model=i,this._data=En.create(i,n)}toString(){return(this._data instanceof En?this._data:En.deserialize(this._data)).changes.map(t=>t.toString()).join(\", \")}matchesResource(e){return(Ae.isUri(this.model)?this.model:this.model.uri).toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof En}append(e,t,i,n,o){this._data instanceof En&&this._data.append(e,t,i,n,o)}close(){this._data instanceof En&&(this._data=this._data.serialize())}open(){this._data instanceof En||(this._data=En.deserialize(this._data))}undo(){if(Ae.isUri(this.model))throw new Error(\"Invalid SingleModelEditStackElement\");this._data instanceof En&&(this._data=this._data.serialize());const e=En.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(Ae.isUri(this.model))throw new Error(\"Invalid SingleModelEditStackElement\");this._data instanceof En&&(this._data=this._data.serialize());const e=En.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof En&&(this._data=this._data.serialize()),this._data.byteLength+168}}class Dme{get resources(){return this._editStackElementsArr.map(e=>e.resource)}constructor(e,t,i){this.label=e,this.code=t,this.type=1,this._isOpen=!0,this._editStackElementsArr=i.slice(0),this._editStackElementsMap=new Map;for(const n of this._editStackElementsArr){const o=Tp(n.resource);this._editStackElementsMap.set(o,n)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){const t=Tp(e);return this._editStackElementsMap.has(t)}setModel(e){const t=Tp(Ae.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;const t=Tp(e.uri);return this._editStackElementsMap.has(t)?this._editStackElementsMap.get(t).canAppend(e):!1}append(e,t,i,n,o){const r=Tp(e.uri);this._editStackElementsMap.get(r).append(e,t,i,n,o)}close(){this._isOpen=!1}open(){}undo(){this._isOpen=!1;for(const e of this._editStackElementsArr)e.undo()}redo(){for(const e of this._editStackElementsArr)e.redo()}heapSize(e){const t=Tp(e);return this._editStackElementsMap.has(t)?this._editStackElementsMap.get(t).heapSize():0}split(){return this._editStackElementsArr}toString(){const e=[];for(const t of this._editStackElementsArr)e.push(`${Wr(t.resource)}: ${t}`);return`{${e.join(\", \")}}`}}function $A(s){return s.getEOL()===`\n`?0:1}function tc(s){return s?s instanceof y$||s instanceof Dme:!1}class XF{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);tc(e)&&e.close()}popStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);tc(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e,t){const i=this._undoRedoService.getLastElement(this._model.uri);if(tc(i)&&i.canAppend(this._model))return i;const n=new y$(p(\"edit\",\"Typing\"),\"undoredo.textBufferEdit\",this._model,e);return this._undoRedoService.pushElement(n,t),n}pushEOL(e){const t=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(e),t.append(this._model,[],$A(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i,n){const o=this._getOrCreateEditStackElement(e,n),r=this._model.applyEdits(t,!0),a=XF._computeCursorState(i,r),l=r.map((d,c)=>({index:c,textChange:d.textChange}));return l.sort((d,c)=>d.textChange.oldPosition===c.textChange.oldPosition?d.index-c.index:d.textChange.oldPosition-c.textChange.oldPosition),o.append(this._model,l.map(d=>d.textChange),$A(this._model),this._model.getAlternativeVersionId(),a),a}static _computeCursorState(e,t){try{return e?e(t):null}catch(i){return Xe(i),null}}}class Lme{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function xme(s,e,t,i,n){n.spacesDiff=0,n.looksLikeAlignment=!1;let o;for(o=0;o<e&&o<i;o++){const h=s.charCodeAt(o),g=t.charCodeAt(o);if(h!==g)break}let r=0,a=0;for(let h=o;h<e;h++)s.charCodeAt(h)===32?r++:a++;let l=0,d=0;for(let h=o;h<i;h++)t.charCodeAt(h)===32?l++:d++;if(r>0&&a>0||l>0&&d>0)return;const c=Math.abs(a-d),u=Math.abs(r-l);if(c===0){n.spacesDiff=u,u>0&&0<=l-1&&l-1<s.length&&l<t.length&&t.charCodeAt(l)!==32&&s.charCodeAt(l-1)===32&&s.charCodeAt(s.length-1)===44&&(n.looksLikeAlignment=!0);return}if(u%c===0){n.spacesDiff=u/c;return}}function h8(s,e,t){const i=Math.min(s.getLineCount(),1e4);let n=0,o=0,r=\"\",a=0;const l=[2,4,6,8,3,5,7],d=8,c=[0,0,0,0,0,0,0,0,0],u=new Lme;for(let f=1;f<=i;f++){const m=s.getLineLength(f),_=s.getLineContent(f),v=m<=65536;let b=!1,C=0,w=0,y=0;for(let L=0,k=m;L<k;L++){const I=v?_.charCodeAt(L):s.getLineCharCode(f,L);if(I===9)y++;else if(I===32)w++;else{b=!0,C=L;break}}if(!b||(y>0?n++:w>1&&o++,xme(r,a,_,C,u),u.looksLikeAlignment&&!(t&&e===u.spacesDiff)))continue;const D=u.spacesDiff;D<=d&&c[D]++,r=_,a=C}let h=t;n!==o&&(h=n<o);let g=e;if(h){let f=h?0:.1*i;l.forEach(m=>{const _=c[m];_>f&&(f=_,g=m)}),g===4&&c[4]>0&&c[2]>0&&c[2]>=c[4]/2&&(g=2)}return{insertSpaces:h,tabSize:g}}function eo(s){return(s.metadata&1)>>>0}function ri(s,e){s.metadata=s.metadata&254|e<<0}function Qn(s){return(s.metadata&2)>>>1===1}function ii(s,e){s.metadata=s.metadata&253|(e?1:0)<<1}function S$(s){return(s.metadata&4)>>>2===1}function g8(s,e){s.metadata=s.metadata&251|(e?1:0)<<2}function D$(s){return(s.metadata&64)>>>6===1}function f8(s,e){s.metadata=s.metadata&191|(e?1:0)<<6}function kme(s){return(s.metadata&24)>>>3}function p8(s,e){s.metadata=s.metadata&231|e<<3}function Eme(s){return(s.metadata&32)>>>5===1}function m8(s,e){s.metadata=s.metadata&223|(e?1:0)<<5}class L${constructor(e,t,i){this.metadata=0,this.parent=this,this.left=this,this.right=this,ri(this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,g8(this,!1),f8(this,!1),p8(this,1),m8(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,ii(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e;const t=this.options.className;g8(this,t===\"squiggly-error\"||t===\"squiggly-warning\"||t===\"squiggly-info\"),f8(this,this.options.glyphMarginClassName!==null),p8(this,this.options.stickiness),m8(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const at=new L$(null,0,0);at.parent=at;at.left=at;at.right=at;ri(at,0);class SI{constructor(){this.root=at,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,o,r){return this.root===at?[]:Fme(this,e,t,i,n,o,r)}search(e,t,i,n){return this.root===at?[]:Pme(this,e,t,i,n)}collectNodesFromOwner(e){return Mme(this,e)}collectNodesPostOrder(){return Rme(this)}insert(e){_8(this,e),this._normalizeDeltaIfNecessary()}delete(e){v8(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){const i=e;let n=0;for(;e!==this.root;)e===e.parent.right&&(n+=e.parent.delta),e=e.parent;const o=i.start+n,r=i.end+n;i.setCachedOffsets(o,r,t)}acceptReplace(e,t,i,n){const o=Nme(this,e,e+t);for(let r=0,a=o.length;r<a;r++){const l=o[r];v8(this,l)}this._normalizeDeltaIfNecessary(),Ame(this,e,e+t,i),this._normalizeDeltaIfNecessary();for(let r=0,a=o.length;r<a;r++){const l=o[r];l.start=l.cachedAbsoluteStart,l.end=l.cachedAbsoluteEnd,Tme(l,e,e+t,i,n),l.maxEnd=l.end,_8(this,l)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,Ime(this))}}function Ime(s){let e=s.root,t=0;for(;e!==at;){if(e.left!==at&&!Qn(e.left)){e=e.left;continue}if(e.right!==at&&!Qn(e.right)){t+=e.delta,e=e.right;continue}e.start=t+e.start,e.end=t+e.end,e.delta=0,Rh(e),ii(e,!0),ii(e.left,!1),ii(e.right,!1),e===e.parent.right&&(t-=e.parent.delta),e=e.parent}ii(s.root,!1)}function Np(s,e,t,i){return s<t?!0:s>t||i===1?!1:i===2?!0:e}function Tme(s,e,t,i,n){const o=kme(s),r=o===0||o===2,a=o===1||o===2,l=t-e,d=i,c=Math.min(l,d),u=s.start;let h=!1;const g=s.end;let f=!1;e<=u&&g<=t&&Eme(s)&&(s.start=e,h=!0,s.end=e,f=!0);{const _=n?1:l>0?2:0;!h&&Np(u,r,e,_)&&(h=!0),!f&&Np(g,a,e,_)&&(f=!0)}if(c>0&&!n){const _=l>d?2:0;!h&&Np(u,r,e+c,_)&&(h=!0),!f&&Np(g,a,e+c,_)&&(f=!0)}{const _=n?1:0;!h&&Np(u,r,t,_)&&(s.start=e+d,h=!0),!f&&Np(g,a,t,_)&&(s.end=e+d,f=!0)}const m=d-l;h||(s.start=Math.max(0,u+m)),f||(s.end=Math.max(0,g+m)),s.start>s.end&&(s.end=s.start)}function Nme(s,e,t){let i=s.root,n=0,o=0,r=0,a=0;const l=[];let d=0;for(;i!==at;){if(Qn(i)){ii(i.left,!1),ii(i.right,!1),i===i.parent.right&&(n-=i.parent.delta),i=i.parent;continue}if(!Qn(i.left)){if(o=n+i.maxEnd,o<e){ii(i,!0);continue}if(i.left!==at){i=i.left;continue}}if(r=n+i.start,r>t){ii(i,!0);continue}if(a=n+i.end,a>=e&&(i.setCachedOffsets(r,a,0),l[d++]=i),ii(i,!0),i.right!==at&&!Qn(i.right)){n+=i.delta,i=i.right;continue}}return ii(s.root,!1),l}function Ame(s,e,t,i){let n=s.root,o=0,r=0,a=0;const l=i-(t-e);for(;n!==at;){if(Qn(n)){ii(n.left,!1),ii(n.right,!1),n===n.parent.right&&(o-=n.parent.delta),Rh(n),n=n.parent;continue}if(!Qn(n.left)){if(r=o+n.maxEnd,r<e){ii(n,!0);continue}if(n.left!==at){n=n.left;continue}}if(a=o+n.start,a>t){n.start+=l,n.end+=l,n.delta+=l,(n.delta<-1073741824||n.delta>1073741824)&&(s.requestNormalizeDelta=!0),ii(n,!0);continue}if(ii(n,!0),n.right!==at&&!Qn(n.right)){o+=n.delta,n=n.right;continue}}ii(s.root,!1)}function Mme(s,e){let t=s.root;const i=[];let n=0;for(;t!==at;){if(Qn(t)){ii(t.left,!1),ii(t.right,!1),t=t.parent;continue}if(t.left!==at&&!Qn(t.left)){t=t.left;continue}if(t.ownerId===e&&(i[n++]=t),ii(t,!0),t.right!==at&&!Qn(t.right)){t=t.right;continue}}return ii(s.root,!1),i}function Rme(s){let e=s.root;const t=[];let i=0;for(;e!==at;){if(Qn(e)){ii(e.left,!1),ii(e.right,!1),e=e.parent;continue}if(e.left!==at&&!Qn(e.left)){e=e.left;continue}if(e.right!==at&&!Qn(e.right)){e=e.right;continue}t[i++]=e,ii(e,!0)}return ii(s.root,!1),t}function Pme(s,e,t,i,n){let o=s.root,r=0,a=0,l=0;const d=[];let c=0;for(;o!==at;){if(Qn(o)){ii(o.left,!1),ii(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==at&&!Qn(o.left)){o=o.left;continue}a=r+o.start,l=r+o.end,o.setCachedOffsets(a,l,i);let u=!0;if(e&&o.ownerId&&o.ownerId!==e&&(u=!1),t&&S$(o)&&(u=!1),n&&!D$(o)&&(u=!1),u&&(d[c++]=o),ii(o,!0),o.right!==at&&!Qn(o.right)){r+=o.delta,o=o.right;continue}}return ii(s.root,!1),d}function Fme(s,e,t,i,n,o,r){let a=s.root,l=0,d=0,c=0,u=0;const h=[];let g=0;for(;a!==at;){if(Qn(a)){ii(a.left,!1),ii(a.right,!1),a===a.parent.right&&(l-=a.parent.delta),a=a.parent;continue}if(!Qn(a.left)){if(d=l+a.maxEnd,d<e){ii(a,!0);continue}if(a.left!==at){a=a.left;continue}}if(c=l+a.start,c>t){ii(a,!0);continue}if(u=l+a.end,u>=e){a.setCachedOffsets(c,u,o);let f=!0;i&&a.ownerId&&a.ownerId!==i&&(f=!1),n&&S$(a)&&(f=!1),r&&!D$(a)&&(f=!1),f&&(h[g++]=a)}if(ii(a,!0),a.right!==at&&!Qn(a.right)){l+=a.delta,a=a.right;continue}}return ii(s.root,!1),h}function _8(s,e){if(s.root===at)return e.parent=at,e.left=at,e.right=at,ri(e,0),s.root=e,s.root;Ome(s,e),Su(e.parent);let t=e;for(;t!==s.root&&eo(t.parent)===1;)if(t.parent===t.parent.parent.left){const i=t.parent.parent.right;eo(i)===1?(ri(t.parent,0),ri(i,0),ri(t.parent.parent,1),t=t.parent.parent):(t===t.parent.right&&(t=t.parent,Qv(s,t)),ri(t.parent,0),ri(t.parent.parent,1),Jv(s,t.parent.parent))}else{const i=t.parent.parent.left;eo(i)===1?(ri(t.parent,0),ri(i,0),ri(t.parent.parent,1),t=t.parent.parent):(t===t.parent.left&&(t=t.parent,Jv(s,t)),ri(t.parent,0),ri(t.parent.parent,1),Qv(s,t.parent.parent))}return ri(s.root,0),e}function Ome(s,e){let t=0,i=s.root;const n=e.start,o=e.end;for(;;)if(Wme(n,o,i.start+t,i.end+t)<0)if(i.left===at){e.start-=t,e.end-=t,e.maxEnd-=t,i.left=e;break}else i=i.left;else if(i.right===at){e.start-=t+i.delta,e.end-=t+i.delta,e.maxEnd-=t+i.delta,i.right=e;break}else t+=i.delta,i=i.right;e.parent=i,e.left=at,e.right=at,ri(e,1)}function v8(s,e){let t,i;if(e.left===at?(t=e.right,i=e,t.delta+=e.delta,(t.delta<-1073741824||t.delta>1073741824)&&(s.requestNormalizeDelta=!0),t.start+=e.delta,t.end+=e.delta):e.right===at?(t=e.left,i=e):(i=Bme(e.right),t=i.right,t.start+=i.delta,t.end+=i.delta,t.delta+=i.delta,(t.delta<-1073741824||t.delta>1073741824)&&(s.requestNormalizeDelta=!0),i.start+=e.delta,i.end+=e.delta,i.delta=e.delta,(i.delta<-1073741824||i.delta>1073741824)&&(s.requestNormalizeDelta=!0)),i===s.root){s.root=t,ri(t,0),e.detach(),DI(),Rh(t),s.root.parent=at;return}const n=eo(i)===1;if(i===i.parent.left?i.parent.left=t:i.parent.right=t,i===e?t.parent=i.parent:(i.parent===e?t.parent=i:t.parent=i.parent,i.left=e.left,i.right=e.right,i.parent=e.parent,ri(i,eo(e)),e===s.root?s.root=i:e===e.parent.left?e.parent.left=i:e.parent.right=i,i.left!==at&&(i.left.parent=i),i.right!==at&&(i.right.parent=i)),e.detach(),n){Su(t.parent),i!==e&&(Su(i),Su(i.parent)),DI();return}Su(t),Su(t.parent),i!==e&&(Su(i),Su(i.parent));let o;for(;t!==s.root&&eo(t)===0;)t===t.parent.left?(o=t.parent.right,eo(o)===1&&(ri(o,0),ri(t.parent,1),Qv(s,t.parent),o=t.parent.right),eo(o.left)===0&&eo(o.right)===0?(ri(o,1),t=t.parent):(eo(o.right)===0&&(ri(o.left,0),ri(o,1),Jv(s,o),o=t.parent.right),ri(o,eo(t.parent)),ri(t.parent,0),ri(o.right,0),Qv(s,t.parent),t=s.root)):(o=t.parent.left,eo(o)===1&&(ri(o,0),ri(t.parent,1),Jv(s,t.parent),o=t.parent.left),eo(o.left)===0&&eo(o.right)===0?(ri(o,1),t=t.parent):(eo(o.left)===0&&(ri(o.right,0),ri(o,1),Qv(s,o),o=t.parent.left),ri(o,eo(t.parent)),ri(t.parent,0),ri(o.left,0),Jv(s,t.parent),t=s.root));ri(t,0),DI()}function Bme(s){for(;s.left!==at;)s=s.left;return s}function DI(){at.parent=at,at.delta=0,at.start=0,at.end=0}function Qv(s,e){const t=e.right;t.delta+=e.delta,(t.delta<-1073741824||t.delta>1073741824)&&(s.requestNormalizeDelta=!0),t.start+=e.delta,t.end+=e.delta,e.right=t.left,t.left!==at&&(t.left.parent=e),t.parent=e.parent,e.parent===at?s.root=t:e===e.parent.left?e.parent.left=t:e.parent.right=t,t.left=e,e.parent=t,Rh(e),Rh(t)}function Jv(s,e){const t=e.left;e.delta-=t.delta,(e.delta<-1073741824||e.delta>1073741824)&&(s.requestNormalizeDelta=!0),e.start-=t.delta,e.end-=t.delta,e.left=t.right,t.right!==at&&(t.right.parent=e),t.parent=e.parent,e.parent===at?s.root=t:e===e.parent.right?e.parent.right=t:e.parent.left=t,t.right=e,e.parent=t,Rh(e),Rh(t)}function x$(s){let e=s.end;if(s.left!==at){const t=s.left.maxEnd;t>e&&(e=t)}if(s.right!==at){const t=s.right.maxEnd+s.delta;t>e&&(e=t)}return e}function Rh(s){s.maxEnd=x$(s)}function Su(s){for(;s!==at;){const e=x$(s);if(s.maxEnd===e)return;s.maxEnd=e,s=s.parent}}function Wme(s,e,t,i){return s===t?e-i:s-t}class jA{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==Qe)return YF(this.right);let e=this;for(;e.parent!==Qe&&e.parent.left!==e;)e=e.parent;return e.parent===Qe?Qe:e.parent}prev(){if(this.left!==Qe)return k$(this.left);let e=this;for(;e.parent!==Qe&&e.parent.right!==e;)e=e.parent;return e.parent===Qe?Qe:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const Qe=new jA(null,0);Qe.parent=Qe;Qe.left=Qe;Qe.right=Qe;Qe.color=0;function YF(s){for(;s.left!==Qe;)s=s.left;return s}function k$(s){for(;s.right!==Qe;)s=s.right;return s}function QF(s){return s===Qe?0:s.size_left+s.piece.length+QF(s.right)}function JF(s){return s===Qe?0:s.lf_left+s.piece.lineFeedCnt+JF(s.right)}function LI(){Qe.parent=Qe}function eb(s,e){const t=e.right;t.size_left+=e.size_left+(e.piece?e.piece.length:0),t.lf_left+=e.lf_left+(e.piece?e.piece.lineFeedCnt:0),e.right=t.left,t.left!==Qe&&(t.left.parent=e),t.parent=e.parent,e.parent===Qe?s.root=t:e.parent.left===e?e.parent.left=t:e.parent.right=t,t.left=e,e.parent=t}function tb(s,e){const t=e.left;e.left=t.right,t.right!==Qe&&(t.right.parent=e),t.parent=e.parent,e.size_left-=t.size_left+(t.piece?t.piece.length:0),e.lf_left-=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),e.parent===Qe?s.root=t:e===e.parent.right?e.parent.right=t:e.parent.left=t,t.right=e,e.parent=t}function Rw(s,e){let t,i;if(e.left===Qe?(i=e,t=i.right):e.right===Qe?(i=e,t=i.left):(i=YF(e.right),t=i.right),i===s.root){s.root=t,t.color=0,e.detach(),LI(),s.root.parent=Qe;return}const n=i.color===1;if(i===i.parent.left?i.parent.left=t:i.parent.right=t,i===e?(t.parent=i.parent,Sv(s,t)):(i.parent===e?t.parent=i:t.parent=i.parent,Sv(s,t),i.left=e.left,i.right=e.right,i.parent=e.parent,i.color=e.color,e===s.root?s.root=i:e===e.parent.left?e.parent.left=i:e.parent.right=i,i.left!==Qe&&(i.left.parent=i),i.right!==Qe&&(i.right.parent=i),i.size_left=e.size_left,i.lf_left=e.lf_left,Sv(s,i)),e.detach(),t.parent.left===t){const r=QF(t),a=JF(t);if(r!==t.parent.size_left||a!==t.parent.lf_left){const l=r-t.parent.size_left,d=a-t.parent.lf_left;t.parent.size_left=r,t.parent.lf_left=a,qd(s,t.parent,l,d)}}if(Sv(s,t.parent),n){LI();return}let o;for(;t!==s.root&&t.color===0;)t===t.parent.left?(o=t.parent.right,o.color===1&&(o.color=0,t.parent.color=1,eb(s,t.parent),o=t.parent.right),o.left.color===0&&o.right.color===0?(o.color=1,t=t.parent):(o.right.color===0&&(o.left.color=0,o.color=1,tb(s,o),o=t.parent.right),o.color=t.parent.color,t.parent.color=0,o.right.color=0,eb(s,t.parent),t=s.root)):(o=t.parent.left,o.color===1&&(o.color=0,t.parent.color=1,tb(s,t.parent),o=t.parent.left),o.left.color===0&&o.right.color===0?(o.color=1,t=t.parent):(o.left.color===0&&(o.right.color=0,o.color=1,eb(s,o),o=t.parent.left),o.color=t.parent.color,t.parent.color=0,o.left.color=0,tb(s,t.parent),t=s.root));t.color=0,LI()}function b8(s,e){for(Sv(s,e);e!==s.root&&e.parent.color===1;)if(e.parent===e.parent.parent.left){const t=e.parent.parent.right;t.color===1?(e.parent.color=0,t.color=0,e.parent.parent.color=1,e=e.parent.parent):(e===e.parent.right&&(e=e.parent,eb(s,e)),e.parent.color=0,e.parent.parent.color=1,tb(s,e.parent.parent))}else{const t=e.parent.parent.left;t.color===1?(e.parent.color=0,t.color=0,e.parent.parent.color=1,e=e.parent.parent):(e===e.parent.left&&(e=e.parent,tb(s,e)),e.parent.color=0,e.parent.parent.color=1,eb(s,e.parent.parent))}s.root.color=0}function qd(s,e,t,i){for(;e!==s.root&&e!==Qe;)e.parent.left===e&&(e.parent.size_left+=t,e.parent.lf_left+=i),e=e.parent}function Sv(s,e){let t=0,i=0;if(e!==s.root){for(;e!==s.root&&e===e.parent.right;)e=e.parent;if(e!==s.root)for(e=e.parent,t=QF(e.left)-e.size_left,i=JF(e.left)-e.lf_left,e.size_left+=t,e.lf_left+=i;e!==s.root&&(t!==0||i!==0);)e.parent.left===e&&(e.parent.size_left+=t,e.parent.lf_left+=i),e=e.parent}}const Wd=65535;function E$(s){let e;return s[s.length-1]<65536?e=new Uint16Array(s.length):e=new Uint32Array(s.length),e.set(s,0),e}class Hme{constructor(e,t,i,n,o){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=o}}function Zd(s,e=!0){const t=[0];let i=1;for(let n=0,o=s.length;n<o;n++){const r=s.charCodeAt(n);r===13?n+1<o&&s.charCodeAt(n+1)===10?(t[i++]=n+2,n++):t[i++]=n+1:r===10&&(t[i++]=n+1)}return e?E$(t):t}function Vme(s,e){s.length=0,s[0]=0;let t=1,i=0,n=0,o=0,r=!0;for(let l=0,d=e.length;l<d;l++){const c=e.charCodeAt(l);c===13?l+1<d&&e.charCodeAt(l+1)===10?(o++,s[t++]=l+2,l++):(i++,s[t++]=l+1):c===10?(n++,s[t++]=l+1):r&&c!==9&&(c<32||c>126)&&(r=!1)}const a=new Hme(E$(s),i,n,o,r);return s.length=0,a}class _o{constructor(e,t,i,n,o){this.bufferIndex=e,this.start=t,this.end=i,this.lineFeedCnt=n,this.length=o}}class zg{constructor(e,t){this.buffer=e,this.lineStarts=t}}class zme{constructor(e,t){this._pieces=[],this._tree=e,this._BOM=t,this._index=0,e.root!==Qe&&e.iterate(e.root,i=>(i!==Qe&&this._pieces.push(i.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class Ume{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){const i=this._cache[t];if(i.nodeStartOffset<=e&&i.nodeStartOffset+i.node.piece.length>=e)return i}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){const i=this._cache[t];if(i.nodeStartLineNumber&&i.nodeStartLineNumber<e&&i.nodeStartLineNumber+i.node.piece.lineFeedCnt>=e)return i}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1;const i=this._cache;for(let n=0;n<i.length;n++){const o=i[n];if(o.node.parent===null||o.nodeStartOffset>=e){i[n]=null,t=!0;continue}}if(t){const n=[];for(const o of i)o!==null&&n.push(o);this._cache=n}}}class $me{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new zg(\"\",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=Qe,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let o=0,r=e.length;o<r;o++)if(e[o].buffer.length>0){e[o].lineStarts||(e[o].lineStarts=Zd(e[o].buffer));const a=new _o(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),n=this.rbInsertRight(n,a)}this._searchCache=new Ume(1),this._lastVisitedLine={lineNumber:0,value:\"\"},this.computeBufferMetadata()}normalizeEOL(e){const t=Wd,i=t-Math.floor(t/3),n=i*2;let o=\"\",r=0;const a=[];if(this.iterate(this.root,l=>{const d=this.getNodeContent(l),c=d.length;if(r<=i||r+c<n)return o+=d,r+=c,!0;const u=o.replace(/\\r\\n|\\r|\\n/g,e);return a.push(new zg(u,Zd(u))),o=d,r=c,!0}),r>0){const l=o.replace(/\\r\\n|\\r|\\n/g,e);a.push(new zg(l,Zd(l)))}this.create(a,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new zme(this,e)}getOffsetAt(e,t){let i=0,n=this.root;for(;n!==Qe;)if(n.left!==Qe&&n.lf_left+1>=e)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt+1>=e){i+=n.size_left;const o=this.getAccumulatedValue(n,e-n.lf_left-2);return i+=o+t-1}else e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right;return i}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,i=0;const n=e;for(;t!==Qe;)if(t.size_left!==0&&t.size_left>=e)t=t.left;else if(t.size_left+t.piece.length>=e){const o=this.getIndexOf(t,e-t.size_left);if(i+=t.lf_left+o.index,o.index===0){const r=this.getOffsetAt(i+1,1),a=n-r;return new W(i+1,a+1)}return new W(i+1,o.remainder+1)}else if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===Qe){const o=this.getOffsetAt(i+1,1),r=n-e-o;return new W(i+1,r+1)}else t=t.right;return new W(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return\"\";const i=this.nodeAt2(e.startLineNumber,e.startColumn),n=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(i,n);return t?t!==this._EOL||!this._EOLNormalized?o.replace(/\\r\\n|\\r|\\n/g,t):t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\\r\\n|\\r|\\n/g,t):o}getValueInRange2(e,t){if(e.node===t.node){const a=e.node,l=this._buffers[a.piece.bufferIndex].buffer,d=this.offsetInBuffer(a.piece.bufferIndex,a.piece.start);return l.substring(d+e.remainder,d+t.remainder)}let i=e.node;const n=this._buffers[i.piece.bufferIndex].buffer,o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);let r=n.substring(o+e.remainder,o+i.piece.length);for(i=i.next();i!==Qe;){const a=this._buffers[i.piece.bufferIndex].buffer,l=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);if(i===t.node){r+=a.substring(l,l+t.remainder);break}else r+=a.substr(l,i.piece.length);i=i.next()}return r}getLinesContent(){const e=[];let t=0,i=\"\",n=!1;return this.iterate(this.root,o=>{if(o===Qe)return!0;const r=o.piece;let a=r.length;if(a===0)return!0;const l=this._buffers[r.bufferIndex].buffer,d=this._buffers[r.bufferIndex].lineStarts,c=r.start.line,u=r.end.line;let h=d[c]+r.start.column;if(n&&(l.charCodeAt(h)===10&&(h++,a--),e[t++]=i,i=\"\",n=!1,a===0))return!0;if(c===u)return!this._EOLNormalized&&l.charCodeAt(h+a-1)===13?(n=!0,i+=l.substr(h,a-1)):i+=l.substr(h,a),!0;i+=this._EOLNormalized?l.substring(h,Math.max(h,d[c+1]-this._EOLLength)):l.substring(h,d[c+1]).replace(/(\\r\\n|\\r|\\n)$/,\"\"),e[t++]=i;for(let g=c+1;g<u;g++)i=this._EOLNormalized?l.substring(d[g],d[g+1]-this._EOLLength):l.substring(d[g],d[g+1]).replace(/(\\r\\n|\\r|\\n)$/,\"\"),e[t++]=i;return!this._EOLNormalized&&l.charCodeAt(d[u]+r.end.column-1)===13?(n=!0,r.end.column===0?t--:i=l.substr(d[u],r.end.column-1)):i=l.substr(d[u],r.end.column),!0}),n&&(e[t++]=i,i=\"\"),e[t++]=i,e}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(e){return this._lastVisitedLine.lineNumber===e?this._lastVisitedLine.value:(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\\r\\n|\\r|\\n)$/,\"\"),this._lastVisitedLine.value)}_getCharCode(e){if(e.remainder===e.node.piece.length){const t=e.node.next();if(!t)return 0;const i=this._buffers[t.piece.bufferIndex],n=this.offsetInBuffer(t.piece.bufferIndex,t.piece.start);return i.buffer.charCodeAt(n)}else{const t=this._buffers[e.node.piece.bufferIndex],n=this.offsetInBuffer(e.node.piece.bufferIndex,e.node.piece.start)+e.remainder;return t.buffer.charCodeAt(n)}}getLineCharCode(e,t){const i=this.nodeAt2(e,t+1);return this._getCharCode(i)}getLineLength(e){if(e===this.getLineCount()){const t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength}findMatchesInNode(e,t,i,n,o,r,a,l,d,c,u){const h=this._buffers[e.piece.bufferIndex],g=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),f=this.offsetInBuffer(e.piece.bufferIndex,o),m=this.offsetInBuffer(e.piece.bufferIndex,r);let _;const v={line:0,column:0};let b,C;t._wordSeparators?(b=h.buffer.substring(f,m),C=w=>w+f,t.reset(0)):(b=h.buffer,C=w=>w,t.reset(f));do if(_=t.next(b),_){if(C(_.index)>=m)return c;this.positionInBuffer(e,C(_.index)-g,v);const w=this.getLineFeedCnt(e.piece.bufferIndex,o,v),y=v.line===o.line?v.column-o.column+n:v.column+1,D=y+_[0].length;if(u[c++]=Pg(new x(i+w,y,i+w,D),_,l),C(_.index)+_[0].length>=m||c>=d)return c}while(_);return c}findMatchesLineByLine(e,t,i,n){const o=[];let r=0;const a=new nm(t.wordSeparators,t.regex);let l=this.nodeAt2(e.startLineNumber,e.startColumn);if(l===null)return[];const d=this.nodeAt2(e.endLineNumber,e.endColumn);if(d===null)return[];let c=this.positionInBuffer(l.node,l.remainder);const u=this.positionInBuffer(d.node,d.remainder);if(l.node===d.node)return this.findMatchesInNode(l.node,a,e.startLineNumber,e.startColumn,c,u,t,i,n,r,o),o;let h=e.startLineNumber,g=l.node;for(;g!==d.node;){const m=this.getLineFeedCnt(g.piece.bufferIndex,c,g.piece.end);if(m>=1){const v=this._buffers[g.piece.bufferIndex].lineStarts,b=this.offsetInBuffer(g.piece.bufferIndex,g.piece.start),C=v[c.line+m],w=h===e.startLineNumber?e.startColumn:1;if(r=this.findMatchesInNode(g,a,h,w,c,this.positionInBuffer(g,C-b),t,i,n,r,o),r>=n)return o;h+=m}const _=h===e.startLineNumber?e.startColumn-1:0;if(h===e.endLineNumber){const v=this.getLineContent(h).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,a,v,e.endLineNumber,_,r,o,i,n),o}if(r=this._findMatchesInLine(t,a,this.getLineContent(h).substr(_),h,_,r,o,i,n),r>=n)return o;h++,l=this.nodeAt2(h,1),g=l.node,c=this.positionInBuffer(l.node,l.remainder)}if(h===e.endLineNumber){const m=h===e.startLineNumber?e.startColumn-1:0,_=this.getLineContent(h).substring(m,e.endColumn-1);return r=this._findMatchesInLine(t,a,_,e.endLineNumber,m,r,o,i,n),o}const f=h===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(d.node,a,h,f,c,u,t,i,n,r,o),o}_findMatchesInLine(e,t,i,n,o,r,a,l,d){const c=e.wordSeparators;if(!l&&e.simpleSearch){const h=e.simpleSearch,g=h.length,f=i.length;let m=-g;for(;(m=i.indexOf(h,m+g))!==-1;)if((!c||vF(c,i,f,m,g))&&(a[r++]=new Wb(new x(n,m+1+o,n,m+1+g+o),null),r>=d))return r;return r}let u;t.reset(0);do if(u=t.next(i),u&&(a[r++]=Pg(new x(n,u.index+1+o,n,u.index+1+u[0].length+o),u,l),r>=d))return r;while(u);return r}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value=\"\",this.root!==Qe){const{node:n,remainder:o,nodeStartOffset:r}=this.nodeAt(e),a=n.piece,l=a.bufferIndex,d=this.positionInBuffer(n,o);if(n.piece.bufferIndex===0&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&r+a.length===e&&t.length<Wd){this.appendToNode(n,t),this.computeBufferMetadata();return}if(r===e)this.insertContentToNodeLeft(t,n),this._searchCache.validate(e);else if(r+n.piece.length>e){const c=[];let u=new _o(a.bufferIndex,d,a.end,this.getLineFeedCnt(a.bufferIndex,d,a.end),this.offsetInBuffer(l,a.end)-this.offsetInBuffer(l,d));if(this.shouldCheckCRLF()&&this.endWithCR(t)&&this.nodeCharCodeAt(n,o)===10){const m={line:u.start.line+1,column:0};u=new _o(u.bufferIndex,m,u.end,this.getLineFeedCnt(u.bufferIndex,m,u.end),u.length-1),t+=`\n`}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(this.nodeCharCodeAt(n,o-1)===13){const m=this.positionInBuffer(n,o-1);this.deleteNodeTail(n,m),t=\"\\r\"+t,n.piece.length===0&&c.push(n)}else this.deleteNodeTail(n,d);else this.deleteNodeTail(n,d);const h=this.createNewPieces(t);u.length>0&&this.rbInsertRight(n,u);let g=n;for(let f=0;f<h.length;f++)g=this.rbInsertRight(g,h[f]);this.deleteNodes(c)}else this.insertContentToNodeRight(t,n)}else{const n=this.createNewPieces(t);let o=this.rbInsertLeft(null,n[0]);for(let r=1;r<n.length;r++)o=this.rbInsertRight(o,n[r])}this.computeBufferMetadata()}delete(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value=\"\",t<=0||this.root===Qe)return;const i=this.nodeAt(e),n=this.nodeAt(e+t),o=i.node,r=n.node;if(o===r){const h=this.positionInBuffer(o,i.remainder),g=this.positionInBuffer(o,n.remainder);if(i.nodeStartOffset===e){if(t===o.piece.length){const f=o.next();Rw(this,o),this.validateCRLFWithPrevNode(f),this.computeBufferMetadata();return}this.deleteNodeHead(o,g),this._searchCache.validate(e),this.validateCRLFWithPrevNode(o),this.computeBufferMetadata();return}if(i.nodeStartOffset+o.piece.length===e+t){this.deleteNodeTail(o,h),this.validateCRLFWithNextNode(o),this.computeBufferMetadata();return}this.shrinkNode(o,h,g),this.computeBufferMetadata();return}const a=[],l=this.positionInBuffer(o,i.remainder);this.deleteNodeTail(o,l),this._searchCache.validate(e),o.piece.length===0&&a.push(o);const d=this.positionInBuffer(r,n.remainder);this.deleteNodeHead(r,d),r.piece.length===0&&a.push(r);const c=o.next();for(let h=c;h!==Qe&&h!==r;h=h.next())a.push(h);const u=o.piece.length===0?o.prev():o;this.deleteNodes(a),this.validateCRLFWithNextNode(u),this.computeBufferMetadata()}insertContentToNodeLeft(e,t){const i=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){const r=t.piece,a={line:r.start.line+1,column:0},l=new _o(r.bufferIndex,a,r.end,this.getLineFeedCnt(r.bufferIndex,a,r.end),r.length-1);t.piece=l,e+=`\n`,qd(this,t,-1,-1),t.piece.length===0&&i.push(t)}const n=this.createNewPieces(e);let o=this.rbInsertLeft(t,n[n.length-1]);for(let r=n.length-2;r>=0;r--)o=this.rbInsertLeft(o,n[r]);this.validateCRLFWithPrevNode(o),this.deleteNodes(i)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+=`\n`);const i=this.createNewPieces(e),n=this.rbInsertRight(t,i[0]);let o=n;for(let r=1;r<i.length;r++)o=this.rbInsertRight(o,i[r]);this.validateCRLFWithPrevNode(n)}positionInBuffer(e,t,i){const n=e.piece,o=e.piece.bufferIndex,r=this._buffers[o].lineStarts,l=r[n.start.line]+n.start.column+t;let d=n.start.line,c=n.end.line,u=0,h=0,g=0;for(;d<=c&&(u=d+(c-d)/2|0,g=r[u],u!==c);)if(h=r[u+1],l<g)c=u-1;else if(l>=h)d=u+1;else break;return i?(i.line=u,i.column=l-g,null):{line:u,column:l-g}}getLineFeedCnt(e,t,i){if(i.column===0)return i.line-t.line;const n=this._buffers[e].lineStarts;if(i.line===n.length-1)return i.line-t.line;const o=n[i.line+1],r=n[i.line]+i.column;if(o>r+1)return i.line-t.line;const a=r-1;return this._buffers[e].buffer.charCodeAt(a)===13?i.line-t.line+1:i.line-t.line}offsetInBuffer(e,t){return this._buffers[e].lineStarts[t.line]+t.column}deleteNodes(e){for(let t=0;t<e.length;t++)Rw(this,e[t])}createNewPieces(e){if(e.length>Wd){const c=[];for(;e.length>Wd;){const h=e.charCodeAt(Wd-1);let g;h===13||h>=55296&&h<=56319?(g=e.substring(0,Wd-1),e=e.substring(Wd-1)):(g=e.substring(0,Wd),e=e.substring(Wd));const f=Zd(g);c.push(new _o(this._buffers.length,{line:0,column:0},{line:f.length-1,column:g.length-f[f.length-1]},f.length-1,g.length)),this._buffers.push(new zg(g,f))}const u=Zd(e);return c.push(new _o(this._buffers.length,{line:0,column:0},{line:u.length-1,column:e.length-u[u.length-1]},u.length-1,e.length)),this._buffers.push(new zg(e,u)),c}let t=this._buffers[0].buffer.length;const i=Zd(e,!1);let n=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&t!==0&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},n=this._lastChangeBufferPos;for(let c=0;c<i.length;c++)i[c]+=t+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(i.slice(1)),this._buffers[0].buffer+=\"_\"+e,t+=1}else{if(t!==0)for(let c=0;c<i.length;c++)i[c]+=t;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(i.slice(1)),this._buffers[0].buffer+=e}const o=this._buffers[0].buffer.length,r=this._buffers[0].lineStarts.length-1,a=o-this._buffers[0].lineStarts[r],l={line:r,column:a},d=new _o(0,n,l,this.getLineFeedCnt(0,n,l),o-t);return this._lastChangeBufferPos=l,[d]}getLineRawContent(e,t=0){let i=this.root,n=\"\";const o=this._searchCache.get2(e);if(o){i=o.node;const r=this.getAccumulatedValue(i,e-o.nodeStartLineNumber-1),a=this._buffers[i.piece.bufferIndex].buffer,l=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);if(o.nodeStartLineNumber+i.piece.lineFeedCnt===e)n=a.substring(l+r,l+i.piece.length);else{const d=this.getAccumulatedValue(i,e-o.nodeStartLineNumber);return a.substring(l+r,l+d-t)}}else{let r=0;const a=e;for(;i!==Qe;)if(i.left!==Qe&&i.lf_left>=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){const l=this.getAccumulatedValue(i,e-i.lf_left-2),d=this.getAccumulatedValue(i,e-i.lf_left-1),c=this._buffers[i.piece.bufferIndex].buffer,u=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return r+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:r,nodeStartLineNumber:a-(e-1-i.lf_left)}),c.substring(u+l,u+d-t)}else if(i.lf_left+i.piece.lineFeedCnt===e-1){const l=this.getAccumulatedValue(i,e-i.lf_left-2),d=this._buffers[i.piece.bufferIndex].buffer,c=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n=d.substring(c+l,c+i.piece.length);break}else e-=i.lf_left+i.piece.lineFeedCnt,r+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==Qe;){const r=this._buffers[i.piece.bufferIndex].buffer;if(i.piece.lineFeedCnt>0){const a=this.getAccumulatedValue(i,0),l=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return n+=r.substring(l,l+a-t),n}else{const a=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=r.substr(a,i.piece.length)}i=i.next()}return n}computeBufferMetadata(){let e=this.root,t=1,i=0;for(;e!==Qe;)t+=e.lf_left+e.piece.lineFeedCnt,i+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=i,this._searchCache.validate(this._length)}getIndexOf(e,t){const i=e.piece,n=this.positionInBuffer(e,t),o=n.line-i.start.line;if(this.offsetInBuffer(i.bufferIndex,i.end)-this.offsetInBuffer(i.bufferIndex,i.start)===t){const r=this.getLineFeedCnt(e.piece.bufferIndex,i.start,n);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:n.column}}getAccumulatedValue(e,t){if(t<0)return 0;const i=e.piece,n=this._buffers[i.bufferIndex].lineStarts,o=i.start.line+t+1;return o>i.end.line?n[i.end.line]+i.end.column-n[i.start.line]-i.start.column:n[o]-n[i.start.line]-i.start.column}deleteNodeTail(e,t){const i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.end),r=t,a=this.offsetInBuffer(i.bufferIndex,r),l=this.getLineFeedCnt(i.bufferIndex,i.start,r),d=l-n,c=a-o,u=i.length+c;e.piece=new _o(i.bufferIndex,i.start,r,l,u),qd(this,e,c,d)}deleteNodeHead(e,t){const i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.start),r=t,a=this.getLineFeedCnt(i.bufferIndex,r,i.end),l=this.offsetInBuffer(i.bufferIndex,r),d=a-n,c=o-l,u=i.length+c;e.piece=new _o(i.bufferIndex,r,i.end,a,u),qd(this,e,c,d)}shrinkNode(e,t,i){const n=e.piece,o=n.start,r=n.end,a=n.length,l=n.lineFeedCnt,d=t,c=this.getLineFeedCnt(n.bufferIndex,n.start,d),u=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,o);e.piece=new _o(n.bufferIndex,n.start,d,c,u),qd(this,e,u-a,c-l);const h=new _o(n.bufferIndex,i,r,this.getLineFeedCnt(n.bufferIndex,i,r),this.offsetInBuffer(n.bufferIndex,r)-this.offsetInBuffer(n.bufferIndex,i)),g=this.rbInsertRight(e,h);this.validateCRLFWithPrevNode(g)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+=`\n`);const i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const o=Zd(t,!1);for(let g=0;g<o.length;g++)o[g]+=n;if(i){const g=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:n-g}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(o.slice(1));const r=this._buffers[0].lineStarts.length-1,a=this._buffers[0].buffer.length-this._buffers[0].lineStarts[r],l={line:r,column:a},d=e.piece.length+t.length,c=e.piece.lineFeedCnt,u=this.getLineFeedCnt(0,e.piece.start,l),h=u-c;e.piece=new _o(e.piece.bufferIndex,e.piece.start,l,u,d),this._lastChangeBufferPos=l,qd(this,e,t.length,h)}nodeAt(e){let t=this.root;const i=this._searchCache.get(e);if(i)return{node:i.node,nodeStartOffset:i.nodeStartOffset,remainder:e-i.nodeStartOffset};let n=0;for(;t!==Qe;)if(t.size_left>e)t=t.left;else if(t.size_left+t.piece.length>=e){n+=t.size_left;const o={node:t,remainder:e-t.size_left,nodeStartOffset:n};return this._searchCache.set(o),o}else e-=t.size_left+t.piece.length,n+=t.size_left+t.piece.length,t=t.right;return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==Qe;)if(i.left!==Qe&&i.lf_left>=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){const o=this.getAccumulatedValue(i,e-i.lf_left-2),r=this.getAccumulatedValue(i,e-i.lf_left-1);return n+=i.size_left,{node:i,remainder:Math.min(o+t-1,r),nodeStartOffset:n}}else if(i.lf_left+i.piece.lineFeedCnt===e-1){const o=this.getAccumulatedValue(i,e-i.lf_left-2);if(o+t-1<=i.piece.length)return{node:i,remainder:o+t-1,nodeStartOffset:n};t-=i.piece.length-o;break}else e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right;for(i=i.next();i!==Qe;){if(i.piece.lineFeedCnt>0){const o=this.getAccumulatedValue(i,0),r=this.offsetOfNode(i);return{node:i,remainder:Math.min(t-1,o),nodeStartOffset:r}}else if(i.piece.length>=t-1){const o=this.offsetOfNode(i);return{node:i,remainder:t-1,nodeStartOffset:o}}else t-=i.piece.length;i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;const i=this._buffers[e.piece.bufferIndex],n=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return i.buffer.charCodeAt(n)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===`\n`)}startWithLF(e){if(typeof e==\"string\")return e.charCodeAt(0)===10;if(e===Qe||e.piece.lineFeedCnt===0)return!1;const t=e.piece,i=this._buffers[t.bufferIndex].lineStarts,n=t.start.line,o=i[n]+t.start.column;return n===i.length-1||i[n+1]>o+1?!1:this._buffers[t.bufferIndex].buffer.charCodeAt(o)===10}endWithCR(e){return typeof e==\"string\"?e.charCodeAt(e.length-1)===13:e===Qe||e.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(e,e.piece.length-1)===13}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){const t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){const t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){const i=[],n=this._buffers[e.piece.bufferIndex].lineStarts;let o;e.piece.end.column===0?o={line:e.piece.end.line-1,column:n[e.piece.end.line]-n[e.piece.end.line-1]-1}:o={line:e.piece.end.line,column:e.piece.end.column-1};const r=e.piece.length-1,a=e.piece.lineFeedCnt-1;e.piece=new _o(e.piece.bufferIndex,e.piece.start,o,a,r),qd(this,e,-1,-1),e.piece.length===0&&i.push(e);const l={line:t.piece.start.line+1,column:0},d=t.piece.length-1,c=this.getLineFeedCnt(t.piece.bufferIndex,l,t.piece.end);t.piece=new _o(t.piece.bufferIndex,l,t.piece.end,c,d),qd(this,t,-1,-1),t.piece.length===0&&i.push(t);const u=this.createNewPieces(`\\r\n`);this.rbInsertRight(e,u[0]);for(let h=0;h<i.length;h++)Rw(this,i[h])}adjustCarriageReturnFromNext(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){const i=t.next();if(this.startWithLF(i)){if(e+=`\n`,i.piece.length===1)Rw(this,i);else{const n=i.piece,o={line:n.start.line+1,column:0},r=n.length-1,a=this.getLineFeedCnt(n.bufferIndex,o,n.end);i.piece=new _o(n.bufferIndex,o,n.end,a,r),qd(this,i,-1,-1)}return!0}}return!1}iterate(e,t){if(e===Qe)return t(Qe);const i=this.iterate(e.left,t);return i&&t(e)&&this.iterate(e.right,t)}getNodeContent(e){if(e===Qe)return\"\";const t=this._buffers[e.piece.bufferIndex],i=e.piece,n=this.offsetInBuffer(i.bufferIndex,i.start),o=this.offsetInBuffer(i.bufferIndex,i.end);return t.buffer.substring(n,o)}getPieceContent(e){const t=this._buffers[e.bufferIndex],i=this.offsetInBuffer(e.bufferIndex,e.start),n=this.offsetInBuffer(e.bufferIndex,e.end);return t.buffer.substring(i,n)}rbInsertRight(e,t){const i=new jA(t,1);if(i.left=Qe,i.right=Qe,i.parent=Qe,i.size_left=0,i.lf_left=0,this.root===Qe)this.root=i,i.color=0;else if(e.right===Qe)e.right=i,i.parent=e;else{const o=YF(e.right);o.left=i,i.parent=o}return b8(this,i),i}rbInsertLeft(e,t){const i=new jA(t,1);if(i.left=Qe,i.right=Qe,i.parent=Qe,i.size_left=0,i.lf_left=0,this.root===Qe)this.root=i,i.color=0;else if(e.left===Qe)e.left=i,i.parent=e;else{const n=k$(e.left);n.right=i,i.parent=n}return b8(this,i),i}}class zm extends H{constructor(e,t,i,n,o,r,a){super(),this._onDidChangeContent=this._register(new B),this._BOM=t,this._mightContainNonBasicASCII=!r,this._mightContainRTL=n,this._mightContainUnusualLineTerminators=o,this._pieceTree=new $me(e,i,a)}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(e){return this._pieceTree.createSnapshot(e?this._BOM:\"\")}getOffsetAt(e,t){return this._pieceTree.getOffsetAt(e,t)}getPositionAt(e){return this._pieceTree.getPositionAt(e)}getRangeAt(e,t){const i=e+t,n=this.getPositionAt(e),o=this.getPositionAt(i);return new x(n.lineNumber,n.column,o.lineNumber,o.column)}getValueInRange(e,t=0){if(e.isEmpty())return\"\";const i=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,i)}getValueLengthInRange(e,t=0){if(e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;const i=this.getOffsetAt(e.startLineNumber,e.startColumn),n=this.getOffsetAt(e.endLineNumber,e.endColumn);let o=0;const r=this._getEndOfLine(t),a=this.getEOL();if(r.length!==a.length){const l=r.length-a.length,d=e.endLineNumber-e.startLineNumber;o=l*d}return n-i+o}getCharacterCountInRange(e,t=0){if(this._mightContainNonBasicASCII){let i=0;const n=e.startLineNumber,o=e.endLineNumber;for(let r=n;r<=o;r++){const a=this.getLineContent(r),l=r===n?e.startColumn-1:0,d=r===o?e.endColumn-1:a.length;for(let c=l;c<d;c++)Cn(a.charCodeAt(c))?(i=i+1,c=c+1):i=i+1}return i+=this._getEndOfLine(t).length*(o-n),i}return this.getValueLengthInRange(e,t)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(e){return this._pieceTree.getLineContent(e)}getLineCharCode(e,t){return this._pieceTree.getLineCharCode(e,t)}getLineLength(e){return this._pieceTree.getLineLength(e)}getLineFirstNonWhitespaceColumn(e){const t=Cs(this.getLineContent(e));return t===-1?0:t+1}getLineLastNonWhitespaceColumn(e){const t=Ya(this.getLineContent(e));return t===-1?0:t+2}_getEndOfLine(e){switch(e){case 1:return`\n`;case 2:return`\\r\n`;case 0:return this.getEOL();default:throw new Error(\"Unknown EOL preference\")}}setEOL(e){this._pieceTree.setEOL(e)}applyEdits(e,t,i){let n=this._mightContainRTL,o=this._mightContainUnusualLineTerminators,r=this._mightContainNonBasicASCII,a=!0,l=[];for(let m=0;m<e.length;m++){const _=e[m];a&&_._isTracked&&(a=!1);const v=_.range;if(_.text){let D=!0;r||(D=!c1(_.text),r=D),!n&&D&&(n=d_(_.text)),!o&&D&&(o=lz(_.text))}let b=\"\",C=0,w=0,y=0;if(_.text){let D;[C,w,y,D]=Ah(_.text);const L=this.getEOL();D===0||D===(L===`\\r\n`?2:1)?b=_.text:b=_.text.replace(/\\r\\n|\\r|\\n/g,L)}l[m]={sortIndex:m,identifier:_.identifier||null,range:v,rangeOffset:this.getOffsetAt(v.startLineNumber,v.startColumn),rangeLength:this.getValueLengthInRange(v),text:b,eolCount:C,firstLineLength:w,lastLineLength:y,forceMoveMarkers:!!_.forceMoveMarkers,isAutoWhitespaceEdit:_.isAutoWhitespaceEdit||!1}}l.sort(zm._sortOpsAscending);let d=!1;for(let m=0,_=l.length-1;m<_;m++){const v=l[m].range.getEndPosition(),b=l[m+1].range.getStartPosition();if(b.isBeforeOrEqual(v)){if(b.isBefore(v))throw new Error(\"Overlapping ranges are not allowed!\");d=!0}}a&&(l=this._reduceOperations(l));const c=i||t?zm._getInverseEditRanges(l):[],u=[];if(t)for(let m=0;m<l.length;m++){const _=l[m],v=c[m];if(_.isAutoWhitespaceEdit&&_.range.isEmpty())for(let b=v.startLineNumber;b<=v.endLineNumber;b++){let C=\"\";b===v.startLineNumber&&(C=this.getLineContent(_.range.startLineNumber),Cs(C)!==-1)||u.push({lineNumber:b,oldContent:C})}}let h=null;if(i){let m=0;h=[];for(let _=0;_<l.length;_++){const v=l[_],b=c[_],C=this.getValueInRange(v.range),w=v.rangeOffset+m;m+=v.text.length-C.length,h[_]={sortIndex:v.sortIndex,identifier:v.identifier,range:b,text:C,textChange:new Gn(v.rangeOffset,C,w,v.text)}}d||h.sort((_,v)=>_.sortIndex-v.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=r;const g=this._doApplyEdits(l);let f=null;if(t&&u.length>0){u.sort((m,_)=>_.lineNumber-m.lineNumber),f=[];for(let m=0,_=u.length;m<_;m++){const v=u[m].lineNumber;if(m>0&&u[m-1].lineNumber===v)continue;const b=u[m].oldContent,C=this.getLineContent(v);C.length===0||C===b||Cs(C)!==-1||f.push(v)}}return this._onDidChangeContent.fire(),new jde(h,g,f)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1;const i=e[0].range,n=e[e.length-1].range,o=new x(i.startLineNumber,i.startColumn,n.endLineNumber,n.endColumn);let r=i.startLineNumber,a=i.startColumn;const l=[];for(let g=0,f=e.length;g<f;g++){const m=e[g],_=m.range;t=t||m.forceMoveMarkers,l.push(this.getValueInRange(new x(r,a,_.startLineNumber,_.startColumn))),m.text.length>0&&l.push(m.text),r=_.endLineNumber,a=_.endColumn}const d=l.join(\"\"),[c,u,h]=Ah(d);return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),text:d,eolCount:c,firstLineLength:u,lastLineLength:h,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(zm._sortOpsDescending);const t=[];for(let i=0;i<e.length;i++){const n=e[i],o=n.range.startLineNumber,r=n.range.startColumn,a=n.range.endLineNumber,l=n.range.endColumn;if(o===a&&r===l&&n.text.length===0)continue;n.text?(this._pieceTree.delete(n.rangeOffset,n.rangeLength),this._pieceTree.insert(n.rangeOffset,n.text,!0)):this._pieceTree.delete(n.rangeOffset,n.rangeLength);const d=new x(o,r,a,l);t.push({range:d,rangeLength:n.rangeLength,text:n.text,rangeOffset:n.rangeOffset,forceMoveMarkers:n.forceMoveMarkers})}return t}findMatchesLineByLine(e,t,i,n){return this._pieceTree.findMatchesLineByLine(e,t,i,n)}static _getInverseEditRanges(e){const t=[];let i=0,n=0,o=null;for(let r=0,a=e.length;r<a;r++){const l=e[r];let d,c;o?o.range.endLineNumber===l.range.startLineNumber?(d=i,c=n+(l.range.startColumn-o.range.endColumn)):(d=i+(l.range.startLineNumber-o.range.endLineNumber),c=l.range.startColumn):(d=l.range.startLineNumber,c=l.range.startColumn);let u;if(l.text.length>0){const h=l.eolCount+1;h===1?u=new x(d,c,d,c+l.firstLineLength):u=new x(d,c,d+h-1,l.lastLineLength+1)}else u=new x(d,c,d,c);i=u.endLineNumber,n=u.endColumn,t.push(u),o=l}return t}static _sortOpsAscending(e,t){const i=x.compareRangesUsingEnds(e.range,t.range);return i===0?e.sortIndex-t.sortIndex:i}static _sortOpsDescending(e,t){const i=x.compareRangesUsingEnds(e.range,t.range);return i===0?t.sortIndex-e.sortIndex:-i}}class jme{constructor(e,t,i,n,o,r,a,l,d){this._chunks=e,this._bom=t,this._cr=i,this._lf=n,this._crlf=o,this._containsRTL=r,this._containsUnusualLineTerminators=a,this._isBasicASCII=l,this._normalizeEOL=d}_getEOL(e){const t=this._cr+this._lf+this._crlf,i=this._cr+this._crlf;return t===0?e===1?`\n`:`\\r\n`:i>t/2?`\\r\n`:`\n`}create(e){const t=this._getEOL(e),i=this._chunks;if(this._normalizeEOL&&(t===`\\r\n`&&(this._cr>0||this._lf>0)||t===`\n`&&(this._cr>0||this._crlf>0)))for(let o=0,r=i.length;o<r;o++){const a=i[o].buffer.replace(/\\r\\n|\\r|\\n/g,t),l=Zd(a);i[o]=new zg(a,l)}const n=new zm(i,this._bom,t,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL);return{textBuffer:n,disposable:n}}}class I${constructor(){this.chunks=[],this.BOM=\"\",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(e){if(e.length===0)return;this.chunks.length===0&&iF(e)&&(this.BOM=Pre,e=e.substr(1));const t=e.charCodeAt(e.length-1);t===13||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){!t&&e.length===0||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){const t=Vme(this._tmpLineStarts,e);this.chunks.push(new zg(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,t.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=d_(e)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=lz(e)))}finish(e=!0){return this._finish(),new jme(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(this.chunks.length===0&&this._acceptChunk1(\"\",!0),this._hasPreviousChar){this._hasPreviousChar=!1;const e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);const t=Zd(e.buffer);e.lineStarts=t,this._previousChar===13&&this.cr++}}}class Kme{constructor(e){this._default=e,this._store=[]}get(e){return e<this._store.length?this._store[e]:this._default}set(e,t){for(;e>=this._store.length;)this._store[this._store.length]=this._default;this._store[e]=t}replace(e,t,i){if(e>=this._store.length)return;if(t===0){this.insert(e,i);return}else if(i===0){this.delete(e,t);return}const n=this._store.slice(0,e),o=this._store.slice(e+t),r=qme(i,this._default);this._store=n.concat(r,o)}delete(e,t){t===0||e>=this._store.length||this._store.splice(e,t)}insert(e,t){if(t===0||e>=this._store.length)return;const i=[];for(let n=0;n<t;n++)i[n]=this._default;this._store=zL(this._store,e,i)}}function qme(s,e){const t=[];for(let i=0;i<s;i++)t[i]=e;return t}class Gme{get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}constructor(e,t){this._startLineNumber=e,this._tokens=t}getLineTokens(e){return this._tokens[e-this._startLineNumber]}appendLineTokens(e){this._tokens.push(e)}}class KA{constructor(){this._tokens=[]}add(e,t){if(this._tokens.length>0){const i=this._tokens[this._tokens.length-1];if(i.endLineNumber+1===e){i.appendLineTokens(t);return}}this._tokens.push(new Gme(e,[t]))}finalize(){return this._tokens}}class Zme{constructor(e,t){this.tokenizationSupport=t,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new qA(e)}getStartState(e){return this.store.getStartState(e,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}class Xme extends Zme{constructor(e,t,i,n){super(e,t),this._textModel=i,this._languageIdCodec=n}updateTokensUntilLine(e,t){const i=this._textModel.getLanguageId();for(;;){const n=this.getFirstInvalidLine();if(!n||n.lineNumber>t)break;const o=this._textModel.getLineContent(n.lineNumber),r=$0(this._languageIdCodec,i,this.tokenizationSupport,o,!0,n.startState);e.add(n.lineNumber,r.tokens),this.store.setEndState(n.lineNumber,r.endState)}}getTokenTypeIfInsertingCharacter(e,t){const i=this.getStartState(e.lineNumber);if(!i)return 0;const n=this._textModel.getLanguageId(),o=this._textModel.getLineContent(e.lineNumber),r=o.substring(0,e.column-1)+t+o.substring(e.column-1),a=$0(this._languageIdCodec,n,this.tokenizationSupport,r,!0,i),l=new wn(a.tokens,r,this._languageIdCodec);if(l.getCount()===0)return 0;const d=l.findTokenIndexAtOffset(e.column-1);return l.getStandardTokenType(d)}tokenizeLineWithEdit(e,t,i){const n=e.lineNumber,o=e.column,r=this.getStartState(n);if(!r)return null;const a=this._textModel.getLineContent(n),l=a.substring(0,o-1)+i+a.substring(o-1+t),d=this._textModel.getLanguageIdAtPosition(n,0),c=$0(this._languageIdCodec,d,this.tokenizationSupport,l,!0,r);return new wn(c.tokens,l,this._languageIdCodec)}hasAccurateTokensForLine(e){const t=this.store.getFirstInvalidEndStateLineNumberOrMax();return e<t}isCheapToTokenize(e){const t=this.store.getFirstInvalidEndStateLineNumberOrMax();return e<t||e===t&&this._textModel.getLineLength(e)<2048}tokenizeHeuristically(e,t,i){if(i<=this.store.getFirstInvalidEndStateLineNumberOrMax())return{heuristicTokens:!1};if(t<=this.store.getFirstInvalidEndStateLineNumberOrMax())return this.updateTokensUntilLine(e,i),{heuristicTokens:!1};let n=this.guessStartState(t);const o=this._textModel.getLanguageId();for(let r=t;r<=i;r++){const a=this._textModel.getLineContent(r),l=$0(this._languageIdCodec,o,this.tokenizationSupport,a,!0,n);e.add(r,l.tokens),n=l.endState}return{heuristicTokens:!0}}guessStartState(e){let t=this._textModel.getLineFirstNonWhitespaceColumn(e);const i=[];let n=null;for(let a=e-1;t>1&&a>=1;a--){const l=this._textModel.getLineFirstNonWhitespaceColumn(a);if(l!==0&&l<t&&(i.push(this._textModel.getLineContent(a)),t=l,n=this.getStartState(a),n))break}n||(n=this.tokenizationSupport.getInitialState()),i.reverse();const o=this._textModel.getLanguageId();let r=n;for(const a of i)r=$0(this._languageIdCodec,o,this.tokenizationSupport,a,!1,r).endState;return r}}class qA{constructor(e){this.lineCount=e,this._tokenizationStateStore=new Yme,this._invalidEndStatesLineNumbers=new Qme,this._invalidEndStatesLineNumbers.addRange(new et(1,e+1))}getEndState(e){return this._tokenizationStateStore.getEndState(e)}setEndState(e,t){if(!t)throw new Ut(\"Cannot set null/undefined state\");this._invalidEndStatesLineNumbers.delete(e);const i=this._tokenizationStateStore.setEndState(e,t);return i&&e<this.lineCount&&this._invalidEndStatesLineNumbers.addRange(new et(e+1,e+2)),i}acceptChange(e,t){this.lineCount+=t-e.length,this._tokenizationStateStore.acceptChange(e,t),this._invalidEndStatesLineNumbers.addRangeAndResize(new et(e.startLineNumber,e.endLineNumberExclusive),t)}acceptChanges(e){for(const t of e){const[i]=Ah(t.text);this.acceptChange(new Je(t.range.startLineNumber,t.range.endLineNumber+1),i+1)}}invalidateEndStateRange(e){this._invalidEndStatesLineNumbers.addRange(new et(e.startLineNumber,e.endLineNumberExclusive))}getFirstInvalidEndStateLineNumber(){return this._invalidEndStatesLineNumbers.min}getFirstInvalidEndStateLineNumberOrMax(){return this.getFirstInvalidEndStateLineNumber()||Number.MAX_SAFE_INTEGER}allStatesValid(){return this._invalidEndStatesLineNumbers.min===null}getStartState(e,t){return e===1?t:this.getEndState(e-1)}getFirstInvalidLine(e){const t=this.getFirstInvalidEndStateLineNumber();if(t===null)return null;const i=this.getStartState(t,e);if(!i)throw new Ut(\"Start state must be defined\");return{lineNumber:t,startState:i}}}class Yme{constructor(){this._lineEndStates=new Kme(null)}getEndState(e){return this._lineEndStates.get(e)}setEndState(e,t){const i=this._lineEndStates.get(e);return i&&i.equals(t)?!1:(this._lineEndStates.set(e,t),!0)}acceptChange(e,t){let i=e.length;t>0&&i>0&&(i--,t--),this._lineEndStates.replace(e.startLineNumber,i,t)}}class Qme{constructor(){this._ranges=[]}get min(){return this._ranges.length===0?null:this._ranges[0].start}delete(e){const t=this._ranges.findIndex(i=>i.contains(e));if(t!==-1){const i=this._ranges[t];i.start===e?i.endExclusive===e+1?this._ranges.splice(t,1):this._ranges[t]=new et(e+1,i.endExclusive):i.endExclusive===e+1?this._ranges[t]=new et(i.start,e):this._ranges.splice(t,1,new et(i.start,e),new et(e+1,i.endExclusive))}}addRange(e){et.addRange(e,this._ranges)}addRangeAndResize(e,t){let i=0;for(;!(i>=this._ranges.length||e.start<=this._ranges[i].endExclusive);)i++;let n=i;for(;!(n>=this._ranges.length||e.endExclusive<this._ranges[n].start);)n++;const o=t-e.length;for(let r=n;r<this._ranges.length;r++)this._ranges[r]=this._ranges[r].delta(o);if(i===n){const r=new et(e.start,e.start+t);r.isEmpty||this._ranges.splice(i,0,r)}else{const r=Math.min(e.start,this._ranges[i].start),a=Math.max(e.endExclusive,this._ranges[n-1].endExclusive),l=new et(r,a+o);l.isEmpty?this._ranges.splice(i,n-i):this._ranges.splice(i,n-i,l)}}toString(){return this._ranges.map(e=>e.toString()).join(\" + \")}}function $0(s,e,t,i,n,o){let r=null;if(t)try{r=t.tokenizeEncoded(i,n,o.clone())}catch(a){Xe(a)}return r||(r=xF(s.encodeLanguageId(e),o)),wn.convertToEndOffset(r.tokens,i.length),r}class Jme{constructor(e,t){this._tokenizerWithStateStore=e,this._backgroundTokenStore=t,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._isScheduled||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._isScheduled=!0,pz(e=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)}))}_backgroundTokenizeWithDeadline(e){const t=Date.now()+e.timeRemaining(),i=()=>{this._isDisposed||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._backgroundTokenizeForAtLeast1ms(),Date.now()<t?PV(i):this._beginBackgroundTokenization())};i()}_backgroundTokenizeForAtLeast1ms(){const e=this._tokenizerWithStateStore._textModel.getLineCount(),t=new KA,i=Jn.create(!1);do if(i.elapsed()>1||this._tokenizeOneInvalidLine(t)>=e)break;while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(t.finalize()),this.checkFinished()}_hasLinesToTokenize(){return this._tokenizerWithStateStore?!this._tokenizerWithStateStore.store.allStatesValid():!1}_tokenizeOneInvalidLine(e){var t;const i=(t=this._tokenizerWithStateStore)===null||t===void 0?void 0:t.getFirstInvalidLine();return i?(this._tokenizerWithStateStore.updateTokensUntilLine(e,i.lineNumber),i.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){this._isDisposed||this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(e,t){this._tokenizerWithStateStore.store.invalidateEndStateRange(new Je(e,t))}}const Xd=new Uint32Array(0).buffer;class Ml{static deleteBeginning(e,t){return e===null||e===Xd?e:Ml.delete(e,0,t)}static deleteEnding(e,t){if(e===null||e===Xd)return e;const i=lc(e),n=i[i.length-2];return Ml.delete(e,t,n)}static delete(e,t,i){if(e===null||e===Xd||t===i)return e;const n=lc(e),o=n.length>>>1;if(t===0&&n[n.length-2]===i)return Xd;const r=wn.findIndexInTokensArray(n,t),a=r>0?n[r-1<<1]:0,l=n[r<<1];if(i<l){const g=i-t;for(let f=r;f<o;f++)n[f<<1]-=g;return e}let d,c;a!==t?(n[r<<1]=t,d=r+1<<1,c=t):(d=r<<1,c=a);const u=i-t;for(let g=r+1;g<o;g++){const f=n[g<<1]-u;f>c&&(n[d++]=f,n[d++]=n[(g<<1)+1],c=f)}if(d===n.length)return e;const h=new Uint32Array(d);return h.set(n.subarray(0,d),0),h.buffer}static append(e,t){if(t===Xd)return e;if(e===Xd)return t;if(e===null)return e;if(t===null)return null;const i=lc(e),n=lc(t),o=n.length>>>1,r=new Uint32Array(i.length+n.length);r.set(i,0);let a=i.length;const l=i[i.length-2];for(let d=0;d<o;d++)r[a++]=n[d<<1]+l,r[a++]=n[(d<<1)+1];return r.buffer}static insert(e,t,i){if(e===null||e===Xd)return e;const n=lc(e),o=n.length>>>1;let r=wn.findIndexInTokensArray(n,t);r>0&&n[r-1<<1]===t&&r--;for(let a=r;a<o;a++)n[a<<1]+=i;return e}}function lc(s){return s instanceof Uint32Array?s:new Uint32Array(s)}class rC{constructor(e){this._lineTokens=[],this._len=0,this._languageIdCodec=e}flush(){this._lineTokens=[],this._len=0}get hasTokens(){return this._lineTokens.length>0}getTokens(e,t,i){let n=null;if(t<this._len&&(n=this._lineTokens[t]),n!==null&&n!==Xd)return new wn(lc(n),i,this._languageIdCodec);const o=new Uint32Array(2);return o[0]=i.length,o[1]=C8(this._languageIdCodec.encodeLanguageId(e)),new wn(o,i,this._languageIdCodec)}static _massageTokens(e,t,i){const n=i?lc(i):null;if(t===0){let o=!1;if(n&&n.length>1&&(o=yo.getLanguageId(n[1])!==e),!o)return Xd}if(!n||n.length===0){const o=new Uint32Array(2);return o[0]=t,o[1]=C8(e),o.buffer}return n[n.length-2]=t,n.byteOffset===0&&n.byteLength===n.buffer.byteLength?n.buffer:n}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){t!==0&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(t===0)return;const i=[];for(let n=0;n<t;n++)i[n]=null;this._lineTokens=zL(this._lineTokens,e,i),this._len+=t}setTokens(e,t,i,n,o){const r=rC._massageTokens(this._languageIdCodec.encodeLanguageId(e),i,n);this._ensureLine(t);const a=this._lineTokens[t];return this._lineTokens[t]=r,o?!rC._equals(a,r):!1}static _equals(e,t){if(!e||!t)return!e&&!t;const i=lc(e),n=lc(t);if(i.length!==n.length)return!1;for(let o=0,r=i.length;o<r;o++)if(i[o]!==n[o])return!1;return!0}acceptEdit(e,t,i){this._acceptDeleteRange(e),this._acceptInsertText(new W(e.startLineNumber,e.startColumn),t,i)}_acceptDeleteRange(e){const t=e.startLineNumber-1;if(t>=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._lineTokens[t]=Ml.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1);return}this._lineTokens[t]=Ml.deleteEnding(this._lineTokens[t],e.startColumn-1);const i=e.endLineNumber-1;let n=null;i<this._len&&(n=Ml.deleteBeginning(this._lineTokens[i],e.endColumn-1)),this._lineTokens[t]=Ml.append(this._lineTokens[t],n),this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t,i){if(t===0&&i===0)return;const n=e.lineNumber-1;if(!(n>=this._len)){if(t===0){this._lineTokens[n]=Ml.insert(this._lineTokens[n],e.column-1,i);return}this._lineTokens[n]=Ml.deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=Ml.insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)}}setMultilineTokens(e,t){if(e.length===0)return{changes:[]};const i=[];for(let n=0,o=e.length;n<o;n++){const r=e[n];let a=0,l=0,d=!1;for(let c=r.startLineNumber;c<=r.endLineNumber;c++)d?(this.setTokens(t.getLanguageId(),c-1,t.getLineLength(c),r.getLineTokens(c),!1),l=c):this.setTokens(t.getLanguageId(),c-1,t.getLineLength(c),r.getLineTokens(c),!0)&&(d=!0,a=c,l=c);d&&i.push({fromLineNumber:a,toLineNumber:l})}return{changes:i}}}function C8(s){return(s<<0|0|0|32768|2<<24|1024)>>>0}class eO{constructor(e){this._pieces=[],this._isComplete=!1,this._languageIdCodec=e}flush(){this._pieces=[],this._isComplete=!1}isEmpty(){return this._pieces.length===0}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let i=e;if(t.length>0){const o=t[0].getRange(),r=t[t.length-1].getRange();if(!o||!r)return e;i=e.plusRange(o).plusRange(r)}let n=null;for(let o=0,r=this._pieces.length;o<r;o++){const a=this._pieces[o];if(a.endLineNumber<i.startLineNumber)continue;if(a.startLineNumber>i.endLineNumber){n=n||{index:o};break}if(a.removeTokens(i),a.isEmpty()){this._pieces.splice(o,1),o--,r--;continue}if(a.endLineNumber<i.startLineNumber)continue;if(a.startLineNumber>i.endLineNumber){n=n||{index:o};continue}const[l,d]=a.split(i);if(l.isEmpty()){n=n||{index:o};continue}d.isEmpty()||(this._pieces.splice(o,1,l,d),o++,r++,n=n||{index:o})}return n=n||{index:this._pieces.length},t.length>0&&(this._pieces=zL(this._pieces,n.index,t)),i}isComplete(){return this._isComplete}addSparseTokens(e,t){if(t.getLineContent().length===0)return t;const i=this._pieces;if(i.length===0)return t;const n=eO._findFirstPieceWithLine(i,e),o=i[n].getLineTokens(e);if(!o)return t;const r=t.getCount(),a=o.getCount();let l=0;const d=[];let c=0,u=0;const h=(g,f)=>{g!==u&&(u=g,d[c++]=g,d[c++]=f)};for(let g=0;g<a;g++){const f=o.getStartCharacter(g),m=o.getEndCharacter(g),_=o.getMetadata(g),v=((_&1?2048:0)|(_&2?4096:0)|(_&4?8192:0)|(_&8?16384:0)|(_&16?16744448:0)|(_&32?4278190080:0))>>>0,b=~v>>>0;for(;l<r&&t.getEndOffset(l)<=f;)h(t.getEndOffset(l),t.getMetadata(l)),l++;for(l<r&&t.getStartOffset(l)<f&&h(f,t.getMetadata(l));l<r&&t.getEndOffset(l)<m;)h(t.getEndOffset(l),t.getMetadata(l)&b|_&v),l++;if(l<r)h(m,t.getMetadata(l)&b|_&v),t.getEndOffset(l)===m&&l++;else{const C=Math.min(Math.max(0,l-1),r-1);h(m,t.getMetadata(C)&b|_&v)}}for(;l<r;)h(t.getEndOffset(l),t.getMetadata(l)),l++;return new wn(new Uint32Array(d),t.getLineContent(),this._languageIdCodec)}static _findFirstPieceWithLine(e,t){let i=0,n=e.length-1;for(;i<n;){let o=i+Math.floor((n-i)/2);if(e[o].endLineNumber<t)i=o+1;else if(e[o].startLineNumber>t)n=o-1;else{for(;o>i&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}}return i}acceptEdit(e,t,i,n,o){for(const r of this._pieces)r.acceptEdit(e,t,i,n,o)}}class hD extends a${constructor(e,t,i,n,o,r){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this._bracketPairsTextModelPart=n,this._languageId=o,this._attachedViews=r,this._semanticTokens=new eO(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new B),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new B),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new B),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new e_e(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(a=>{a.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(a=>{this._emitModelTokensChangedEvent(a)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(a=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(e){if(e.isFlush)this._semanticTokens.flush();else if(!e.isEolChange)for(const t of e.changes){const[i,n,o]=Ah(t.text);this._semanticTokens.acceptEdit(t.range,i,n,o,t.text.length>0?t.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(e)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(e){this.validateLineNumber(e);const t=this.grammarTokens.getLineTokens(e);return this._semanticTokens.addSparseTokens(e,t)}_emitModelTokensChangedEvent(e){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}validateLineNumber(e){if(e<1||e>this._textModel.getLineCount())throw new Ut(\"Illegal value for lineNumber\")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(e){this.validateLineNumber(e),this.grammarTokens.forceTokenization(e)}hasAccurateTokensForLine(e){return this.validateLineNumber(e),this.grammarTokens.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return this.validateLineNumber(e),this.grammarTokens.isCheapToTokenize(e)}tokenizeIfCheap(e){this.validateLineNumber(e),this.grammarTokens.tokenizeIfCheap(e)}getTokenTypeIfInsertingCharacter(e,t,i){return this.grammarTokens.getTokenTypeIfInsertingCharacter(e,t,i)}tokenizeLineWithEdit(e,t,i){return this.grammarTokens.tokenizeLineWithEdit(e,t,i)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({semanticTokensApplied:e!==null,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;const i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}getWordAtPosition(e){this.assertNotDisposed();const t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this.getLineTokens(t.lineNumber),o=n.findTokenIndexAtOffset(t.column-1),[r,a]=hD._findLanguageBoundaries(n,o),l=Eb(t.column,this.getLanguageConfiguration(n.getLanguageId(o)).getWordDefinition(),i.substring(r,a),r);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(o>0&&r===t.column-1){const[d,c]=hD._findLanguageBoundaries(n,o-1),u=Eb(t.column,this.getLanguageConfiguration(n.getLanguageId(o-1)).getWordDefinition(),i.substring(d,c),d);if(u&&u.startColumn<=e.column&&e.column<=u.endColumn)return u}return null}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}static _findLanguageBoundaries(e,t){const i=e.getLanguageId(t);let n=0;for(let r=t;r>=0&&e.getLanguageId(r)===i;r--)n=e.getStartOffset(r);let o=e.getLineContent().length;for(let r=t,a=e.getCount();r<a&&e.getLanguageId(r)===i;r++)o=e.getEndOffset(r);return[n,o]}getWordUntilPosition(e){const t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:\"\",startColumn:e.column,endColumn:e.column}}getLanguageId(){return this._languageId}getLanguageIdAtPosition(e,t){const i=this._textModel.validatePosition(new W(e,t)),n=this.getLineTokens(i.lineNumber);return n.getLanguageId(n.findTokenIndexAtOffset(i.column-1))}setLanguageId(e,t=\"api\"){if(this._languageId===e)return;const i={oldLanguage:this._languageId,newLanguage:e,source:t};this._languageId=e,this._bracketPairsTextModelPart.handleDidChangeLanguage(i),this.grammarTokens.resetTokenization(),this._onDidChangeLanguage.fire(i),this._onDidChangeLanguageConfiguration.fire({})}}class e_e extends H{get backgroundTokenizationState(){return this._backgroundTokenizationState}constructor(e,t,i,n){super(),this._languageIdCodec=e,this._textModel=t,this.getLanguageId=i,this._tokenizer=null,this._defaultBackgroundTokenizer=null,this._backgroundTokenizer=this._register(new $n),this._tokens=new rC(this._languageIdCodec),this._debugBackgroundTokenizer=this._register(new $n),this._backgroundTokenizationState=1,this._onDidChangeBackgroundTokenizationState=this._register(new B),this.onDidChangeBackgroundTokenizationState=this._onDidChangeBackgroundTokenizationState.event,this._onDidChangeTokens=this._register(new B),this.onDidChangeTokens=this._onDidChangeTokens.event,this._attachedViewStates=this._register(new $P),this._register(Ki.onDidChange(o=>{const r=this.getLanguageId();o.changedLanguages.indexOf(r)!==-1&&this.resetTokenization()})),this.resetTokenization(),this._register(n.onDidChangeVisibleRanges(({view:o,state:r})=>{if(r){let a=this._attachedViewStates.get(o);a||(a=new t_e(()=>this.refreshRanges(a.lineRanges)),this._attachedViewStates.set(o,a)),a.handleStateChange(r)}else this._attachedViewStates.deleteAndDispose(o)}))}resetTokenization(e=!0){var t;this._tokens.flush(),(t=this._debugBackgroundTokens)===null||t===void 0||t.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new qA(this._textModel.getLineCount())),e&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});const i=()=>{if(this._textModel.isTooLargeForTokenization())return[null,null];const r=Ki.get(this.getLanguageId());if(!r)return[null,null];let a;try{a=r.getInitialState()}catch(l){return Xe(l),[null,null]}return[r,a]},[n,o]=i();if(n&&o?this._tokenizer=new Xme(this._textModel.getLineCount(),n,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){const r={setTokens:a=>{this.setTokens(a)},backgroundTokenizationFinished:()=>{if(this._backgroundTokenizationState===2)return;const a=2;this._backgroundTokenizationState=a,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(a,l)=>{var d;if(!this._tokenizer)return;const c=this._tokenizer.store.getFirstInvalidEndStateLineNumber();c!==null&&a>=c&&((d=this._tokenizer)===null||d===void 0||d.store.setEndState(a,l))}};n&&n.createBackgroundTokenizer&&!n.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=n.createBackgroundTokenizer(this._textModel,r)),!this._backgroundTokenizer.value&&!this._textModel.isTooLargeForTokenization()&&(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new Jme(this._tokenizer,r),this._defaultBackgroundTokenizer.handleChanges()),n!=null&&n.backgroundTokenizerShouldOnlyVerifyTokens&&n.createBackgroundTokenizer?(this._debugBackgroundTokens=new rC(this._languageIdCodec),this._debugBackgroundStates=new qA(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=n.createBackgroundTokenizer(this._textModel,{setTokens:a=>{var l;(l=this._debugBackgroundTokens)===null||l===void 0||l.setMultilineTokens(a,this._textModel)},backgroundTokenizationFinished(){},setEndState:(a,l)=>{var d;(d=this._debugBackgroundStates)===null||d===void 0||d.setEndState(a,l)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var e;(e=this._defaultBackgroundTokenizer)===null||e===void 0||e.handleChanges()}handleDidChangeContent(e){var t,i,n;if(e.isFlush)this.resetTokenization(!1);else if(!e.isEolChange){for(const o of e.changes){const[r,a]=Ah(o.text);this._tokens.acceptEdit(o.range,r,a),(t=this._debugBackgroundTokens)===null||t===void 0||t.acceptEdit(o.range,r,a)}(i=this._debugBackgroundStates)===null||i===void 0||i.acceptChanges(e.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(e.changes),(n=this._defaultBackgroundTokenizer)===null||n===void 0||n.handleChanges()}}setTokens(e){const{changes:t}=this._tokens.setMultilineTokens(e,this._textModel);return t.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:t}),{changes:t}}refreshAllVisibleLineTokens(){const e=Je.joinMany([...this._attachedViewStates].map(([t,i])=>i.lineRanges));this.refreshRanges(e)}refreshRanges(e){for(const t of e)this.refreshRange(t.startLineNumber,t.endLineNumberExclusive-1)}refreshRange(e,t){var i,n;if(!this._tokenizer)return;e=Math.max(1,Math.min(this._textModel.getLineCount(),e)),t=Math.min(this._textModel.getLineCount(),t);const o=new KA,{heuristicTokens:r}=this._tokenizer.tokenizeHeuristically(o,e,t),a=this.setTokens(o.finalize());if(r)for(const l of a.changes)(i=this._backgroundTokenizer.value)===null||i===void 0||i.requestTokens(l.fromLineNumber,l.toLineNumber+1);(n=this._defaultBackgroundTokenizer)===null||n===void 0||n.checkFinished()}forceTokenization(e){var t,i;const n=new KA;(t=this._tokenizer)===null||t===void 0||t.updateTokensUntilLine(n,e),this.setTokens(n.finalize()),(i=this._defaultBackgroundTokenizer)===null||i===void 0||i.checkFinished()}hasAccurateTokensForLine(e){return this._tokenizer?this._tokenizer.hasAccurateTokensForLine(e):!0}isCheapToTokenize(e){return this._tokenizer?this._tokenizer.isCheapToTokenize(e):!0}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){var t;const i=this._textModel.getLineContent(e),n=this._tokens.getTokens(this._textModel.getLanguageId(),e-1,i);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>e&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>e){const o=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),e-1,i);!n.equals(o)&&(!((t=this._debugBackgroundTokenizer.value)===null||t===void 0)&&t.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(e)}return n}getTokenTypeIfInsertingCharacter(e,t,i){if(!this._tokenizer)return 0;const n=this._textModel.validatePosition(new W(e,t));return this.forceTokenization(n.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){if(!this._tokenizer)return null;const n=this._textModel.validatePosition(e);return this.forceTokenization(n.lineNumber),this._tokenizer.tokenizeLineWithEdit(n,t,i)}get hasTokens(){return this._tokens.hasTokens}}class t_e extends H{get lineRanges(){return this._lineRanges}constructor(e){super(),this._refreshTokens=e,this.runner=this._register(new Wt(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){Ci(this._computedLineRanges,this._lineRanges,(e,t)=>e.equals(t))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(e){this._lineRanges=e.visibleLineRanges,e.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}const Mx=ut(\"undoRedoService\");class T${constructor(e,t){this.resource=e,this.elements=t}}class w_{constructor(){this.id=w_._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}w_._ID=0;w_.None=new w_;class $l{constructor(){this.id=$l._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}$l._ID=0;$l.None=new $l;var i_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},xI=function(s,e){return function(t,i){e(t,i,s)}},Tg;function n_e(s){const e=new I$;return e.acceptChunk(s),e.finish()}function s_e(s){const e=new I$;let t;for(;typeof(t=s.read())==\"string\";)e.acceptChunk(t);return e.finish()}function w8(s,e){let t;return typeof s==\"string\"?t=n_e(s):Ude(s)?t=s_e(s):t=s,t.create(e)}let Pw=0;const o_e=999,r_e=1e4;class a_e{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;const e=[];let t=0,i=0;do{const n=this._source.read();if(n===null)return this._eos=!0,t===0?null:e.join(\"\");if(n.length>0&&(e[t++]=n,i+=n.length),i>=64*1024)return e.join(\"\")}while(!0)}}const j0=()=>{throw new Error(\"Invalid change accessor\")};let wd=Tg=class extends H{static resolveOptions(e,t){if(t.detectIndentation){const i=h8(e,t.tabSize,t.insertSpaces);return new Vy({tabSize:i.tabSize,indentSize:\"tabSize\",insertSpaces:i.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new Vy(t)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}onDidChangeContentOrInjectedText(e){return ha(this._eventEmitter.fastEvent(t=>e(t)),this._onDidChangeInjectedText.event(t=>e(t)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(e,t,i,n=null,o,r,a){super(),this._undoRedoService=o,this._languageService=r,this._languageConfigurationService=a,this._onWillDispose=this._register(new B),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new g_e(g=>this.handleBeforeFireDecorationsChangedEvent(g))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new B),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new B),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new B),this._eventEmitter=this._register(new f_e),this._languageSelectionListener=this._register(new $n),this._deltaDecorationCallCnt=0,this._attachedViews=new p_e,Pw++,this.id=\"$model\"+Pw,this.isForSimpleWidget=i.isForSimpleWidget,typeof n>\"u\"||n===null?this._associatedResource=Ae.parse(\"inmemory://model/\"+Pw):this._associatedResource=n,this._attachedEditorCount=0;const{textBuffer:l,disposable:d}=w8(e,i.defaultEOL);this._buffer=l,this._bufferDisposable=d,this._options=Tg.resolveOptions(this._buffer,i);const c=typeof t==\"string\"?t:t.languageId;typeof t!=\"string\"&&(this._languageSelectionListener.value=t.onDidChange(()=>this._setLanguage(t.languageId))),this._bracketPairs=this._register(new hme(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new ope(this,this._languageConfigurationService)),this._decorationProvider=this._register(new fme(this)),this._tokenizationTextModelPart=new hD(this._languageService,this._languageConfigurationService,this,this._bracketPairs,c,this._attachedViews);const u=this._buffer.getLineCount(),h=this._buffer.getValueLengthInRange(new x(1,1,u,this._buffer.getLineLength(u)+1),0);i.largeFileOptimizations?(this._isTooLargeForTokenization=h>Tg.LARGE_FILE_SIZE_THRESHOLD||u>Tg.LARGE_FILE_LINE_COUNT_THRESHOLD,this._isTooLargeForHeapOperation=h>Tg.LARGE_FILE_HEAP_OPERATION_THRESHOLD):(this._isTooLargeForTokenization=!1,this._isTooLargeForHeapOperation=!1),this._isTooLargeForSyncing=h>Tg._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=dz(Pw),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new y8,this._commandManager=new XF(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(c)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;const e=new zm([],\"\",`\n`,!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=H.None}_assertNotDisposed(){if(this._isDisposed)throw new Error(\"Model is disposed!\")}_emitContentChangedEvent(e,t){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(t),this._bracketPairs.handleDidChangeContent(t),this._eventEmitter.fire(new cf(e,t)))}setValue(e){if(this._assertNotDisposed(),e==null)throw Mr();const{textBuffer:t,disposable:i}=w8(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,i)}_createContentChanged2(e,t,i,n,o,r,a,l){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),isEolChange:l,versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:a}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();const i=this.getFullModelRange(),n=this.getValueLengthInRange(i),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new y8,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Wm([new Ope],this._versionId,!1,!1),this._createContentChanged2(new x(1,1,o,r),0,n,this.getValue(),!1,!1,!0,!1))}setEOL(e){this._assertNotDisposed();const t=e===1?`\\r\n`:`\n`;if(this._buffer.getEOL()===t)return;const i=this.getFullModelRange(),n=this.getValueLengthInRange(i),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new Wm([new Hpe],this._versionId,!1,!1),this._createContentChanged2(new x(1,1,o,r),0,n,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let i=0,n=t.length;i<n;i++){const o=t[i],r=o.range,a=o.cachedAbsoluteStart-o.start,l=this._buffer.getOffsetAt(r.startLineNumber,r.startColumn),d=this._buffer.getOffsetAt(r.endLineNumber,r.endColumn);o.cachedAbsoluteStart=l,o.cachedAbsoluteEnd=d,o.cachedVersionId=e,o.start=l-a,o.end=d-a,Rh(o)}}onBeforeAttached(){return this._attachedEditorCount++,this._attachedEditorCount===1&&(this._tokenizationTextModelPart.handleDidChangeAttached(),this._onDidChangeAttached.fire(void 0)),this._attachedViews.attachView()}onBeforeDetached(e){this._attachedEditorCount--,this._attachedEditorCount===0&&(this._tokenizationTextModelPart.handleDidChangeAttached(),this._onDidChangeAttached.fire(void 0)),this._attachedViews.detachView(e)}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isTooLargeForHeapOperation(){return this._isTooLargeForHeapOperation}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0;const i=this._buffer.getLineCount();for(let n=1;n<=i;n++){const o=this._buffer.getLineLength(n);o>=r_e?t+=o:e+=o}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();const t=typeof e.tabSize<\"u\"?e.tabSize:this._options.tabSize,i=typeof e.indentSize<\"u\"?e.indentSize:this._options.originalIndentSize,n=typeof e.insertSpaces<\"u\"?e.insertSpaces:this._options.insertSpaces,o=typeof e.trimAutoWhitespace<\"u\"?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=typeof e.bracketColorizationOptions<\"u\"?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,a=new Vy({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o,bracketPairColorizationOptions:r});if(this._options.equals(a))return;const l=this._options.createChangeEvent(a);this._options=a,this._bracketPairs.handleDidChangeOptions(l),this._decorationProvider.handleDidChangeOptions(l),this._onDidChangeOptions.fire(l)}detectIndentation(e,t){this._assertNotDisposed();const i=h8(this._buffer,t,e);this.updateOptions({insertSpaces:i.insertSpaces,tabSize:i.tabSize,indentSize:i.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),VF(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){const t=this.findMatches(az.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(i=>({range:i.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){this._assertNotDisposed();const t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();const t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new Ut(\"Operation would exceed heap memory limits\");const i=this.getFullModelRange(),n=this.getValueInRange(i,e);return t?this._buffer.getBOM()+n:n}createSnapshot(e=!1){return new a_e(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();const i=this.getFullModelRange(),n=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+n:n}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Ut(\"Illegal value for lineNumber\");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Ut(\"Illegal value for lineNumber\");return this._buffer.getLineLength(e)}getLinesContent(){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new Ut(\"Operation would exceed heap memory limits\");return this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),this._buffer.getEOL()===`\n`?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Ut(\"Illegal value for lineNumber\");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Ut(\"Illegal value for lineNumber\");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Ut(\"Illegal value for lineNumber\");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){const t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn;let o=Math.floor(typeof i==\"number\"&&!isNaN(i)?i:1),r=Math.floor(typeof n==\"number\"&&!isNaN(n)?n:1);if(o<1)o=1,r=1;else if(o>t)o=t,r=this.getLineMaxColumn(o);else if(r<=1)r=1;else{const u=this.getLineMaxColumn(o);r>=u&&(r=u)}const a=e.endLineNumber,l=e.endColumn;let d=Math.floor(typeof a==\"number\"&&!isNaN(a)?a:1),c=Math.floor(typeof l==\"number\"&&!isNaN(l)?l:1);if(d<1)d=1,c=1;else if(d>t)d=t,c=this.getLineMaxColumn(d);else if(c<=1)c=1;else{const u=this.getLineMaxColumn(d);c>=u&&(c=u)}return i===o&&n===r&&a===d&&l===c&&e instanceof x&&!(e instanceof we)?e:new x(o,r,d,c)}_isValidPosition(e,t,i){if(typeof e!=\"number\"||typeof t!=\"number\"||isNaN(e)||isNaN(t)||e<1||t<1||(e|0)!==e||(t|0)!==t)return!1;const n=this._buffer.getLineCount();if(e>n)return!1;if(t===1)return!0;const o=this.getLineMaxColumn(e);if(t>o)return!1;if(i===1){const r=this._buffer.getLineCharCode(e,t-2);if(Cn(r))return!1}return!0}_validatePosition(e,t,i){const n=Math.floor(typeof e==\"number\"&&!isNaN(e)?e:1),o=Math.floor(typeof t==\"number\"&&!isNaN(t)?t:1),r=this._buffer.getLineCount();if(n<1)return new W(1,1);if(n>r)return new W(r,this.getLineMaxColumn(r));if(o<=1)return new W(n,1);const a=this.getLineMaxColumn(n);if(o>=a)return new W(n,a);if(i===1){const l=this._buffer.getLineCharCode(n,o-2);if(Cn(l))return new W(n,o-1)}return new W(n,o)}validatePosition(e){return this._assertNotDisposed(),e instanceof W&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){const i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(i,n,0)||!this._isValidPosition(o,r,0))return!1;if(t===1){const a=n>1?this._buffer.getLineCharCode(i,n-2):0,l=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,d=Cn(a),c=Cn(l);return!d&&!c}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof x&&!(e instanceof we)&&this._isValidRange(e,1))return e;const i=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),o=i.lineNumber,r=i.column,a=n.lineNumber,l=n.column;{const d=r>1?this._buffer.getLineCharCode(o,r-2):0,c=l>1&&l<=this._buffer.getLineLength(a)?this._buffer.getLineCharCode(a,l-2):0,u=Cn(d),h=Cn(c);return!u&&!h?new x(o,r,a,l):o===a&&r===l?new x(o,r-1,a,l-1):u&&h?new x(o,r-1,a,l+1):u?new x(o,r-1,a,l):new x(o,r,a,l+1)}}modifyPosition(e,t){this._assertNotDisposed();const i=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,i)))}getFullModelRange(){this._assertNotDisposed();const e=this.getLineCount();return new x(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,i,n){return this._buffer.findMatchesLineByLine(e,t,i,n)}findMatches(e,t,i,n,o,r,a=o_e){this._assertNotDisposed();let l=null;t!==null&&(Array.isArray(t)||(t=[t]),t.every(u=>x.isIRange(u))&&(l=t.map(u=>this.validateRange(u)))),l===null&&(l=[this.getFullModelRange()]),l=l.sort((u,h)=>u.startLineNumber-h.startLineNumber||u.startColumn-h.startColumn);const d=[];d.push(l.reduce((u,h)=>x.areIntersecting(u,h)?u.plusRange(h):(d.push(u),h)));let c;if(!i&&e.indexOf(`\n`)<0){const h=new Ig(e,i,n,o).parseSearchRequest();if(!h)return[];c=g=>this.findMatchesLineByLine(g,h,r,a)}else c=u=>_w.findMatches(this,new Ig(e,i,n,o),u,r,a);return d.map(c).reduce((u,h)=>u.concat(h),[])}findNextMatch(e,t,i,n,o,r){this._assertNotDisposed();const a=this.validatePosition(t);if(!i&&e.indexOf(`\n`)<0){const d=new Ig(e,i,n,o).parseSearchRequest();if(!d)return null;const c=this.getLineCount();let u=new x(a.lineNumber,a.column,c,this.getLineMaxColumn(c)),h=this.findMatchesLineByLine(u,d,r,1);return _w.findNextMatch(this,new Ig(e,i,n,o),a,r),h.length>0||(u=new x(1,1,a.lineNumber,this.getLineMaxColumn(a.lineNumber)),h=this.findMatchesLineByLine(u,d,r,1),h.length>0)?h[0]:null}return _w.findNextMatch(this,new Ig(e,i,n,o),a,r)}findPreviousMatch(e,t,i,n,o,r){this._assertNotDisposed();const a=this.validatePosition(t);return _w.findPreviousMatch(this,new Ig(e,i,n,o),a,r)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(e){if((this.getEOL()===`\n`?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof sI?e:new sI(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){const t=[];for(let i=0,n=e.length;i<n;i++)t[i]=this._validateEditOperation(e[i]);return t}pushEditOperations(e,t,i,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,this._validateEditOperations(t),i,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(e,t,i,n){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){const o=t.map(a=>({range:this.validateRange(a.range),text:a.text}));let r=!0;if(e)for(let a=0,l=e.length;a<l;a++){const d=e[a];let c=!1;for(let u=0,h=o.length;u<h;u++){const g=o[u].range,f=g.startLineNumber>d.endLineNumber,m=d.startLineNumber>g.endLineNumber;if(!f&&!m){c=!0;break}}if(!c){r=!1;break}}if(r)for(let a=0,l=this._trimAutoWhitespaceLines.length;a<l;a++){const d=this._trimAutoWhitespaceLines[a],c=this.getLineMaxColumn(d);let u=!0;for(let h=0,g=o.length;h<g;h++){const f=o[h].range,m=o[h].text;if(!(d<f.startLineNumber||d>f.endLineNumber)&&!(d===f.startLineNumber&&f.startColumn===c&&f.isEmpty()&&m&&m.length>0&&m.charAt(0)===`\n`)&&!(d===f.startLineNumber&&f.startColumn===1&&f.isEmpty()&&m&&m.length>0&&m.charAt(m.length-1)===`\n`)){u=!1;break}}if(u){const h=new x(d,1,d,c);t.push(new sI(null,h,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,i,n)}_applyUndo(e,t,i,n){const o=e.map(r=>{const a=this.getPositionAt(r.newPosition),l=this.getPositionAt(r.newEnd);return{range:new x(a.lineNumber,a.column,l.lineNumber,l.column),text:r.oldText}});this._applyUndoRedoEdits(o,t,!0,!1,i,n)}_applyRedo(e,t,i,n){const o=e.map(r=>{const a=this.getPositionAt(r.oldPosition),l=this.getPositionAt(r.oldEnd);return{range:new x(a.lineNumber,a.column,l.lineNumber,l.column),text:r.newText}});this._applyUndoRedoEdits(o,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,o,r){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(r),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){const i=this._buffer.getLineCount(),n=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),o=this._buffer.getLineCount(),r=n.changes;if(this._trimAutoWhitespaceLines=n.trimAutoWhitespaceLineNumbers,r.length!==0){for(let d=0,c=r.length;d<c;d++){const u=r[d];this._decorationsTree.acceptReplace(u.rangeOffset,u.rangeLength,u.text.length,u.forceMoveMarkers)}const a=[];this._increaseVersionId();let l=i;for(let d=0,c=r.length;d<c;d++){const u=r[d],[h]=Ah(u.text);this._onDidChangeDecorations.fire();const g=u.range.startLineNumber,f=u.range.endLineNumber,m=f-g,_=h,v=Math.min(m,_),b=_-m,C=o-l-b+g,w=C,y=C+_,D=this._decorationsTree.getInjectedTextInInterval(this,this.getOffsetAt(new W(w,1)),this.getOffsetAt(new W(y,this.getLineMaxColumn(y))),0),L=al.fromDecorations(D),k=new Hc(L);for(let I=v;I>=0;I--){const O=g+I,R=C+I;k.takeFromEndWhile(F=>F.lineNumber>R);const P=k.takeFromEndWhile(F=>F.lineNumber===R);a.push(new n8(O,this.getLineContent(R),P))}if(v<m){const I=g+v;a.push(new Bpe(I+1,f))}if(v<_){const I=new Hc(L),O=g+v,R=_-v,P=o-l-R+O+1,F=[],V=[];for(let U=0;U<R;U++){const J=P+U;V[U]=this.getLineContent(J),I.takeWhile(pe=>pe.lineNumber<J),F[U]=I.takeWhile(pe=>pe.lineNumber===J)}a.push(new Wpe(O+1,g+_,V,F))}l+=b}this._emitContentChangedEvent(new Wm(a,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:r,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return n.reverseEdits===null?void 0:n.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(e===null||e.size===0)return;const i=Array.from(e).map(n=>new n8(n,this.getLineContent(n),this._getInjectedTextInLine(n)));this._onDidChangeInjectedText.fire(new c$(i))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){const i={addDecoration:(o,r)=>this._deltaDecorationsImpl(e,[],[{range:o,options:r}])[0],changeDecoration:(o,r)=>{this._changeDecorationImpl(o,r)},changeDecorationOptions:(o,r)=>{this._changeDecorationOptionsImpl(o,D8(r))},removeDecoration:o=>{this._deltaDecorationsImpl(e,[o],[])},deltaDecorations:(o,r)=>o.length===0&&r.length===0?[]:this._deltaDecorationsImpl(e,o,r)};let n=null;try{n=t(i)}catch(o){Xe(o)}return i.addDecoration=j0,i.changeDecoration=j0,i.changeDecorationOptions=j0,i.removeDecoration=j0,i.deltaDecorations=j0,n}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),e||(e=[]),e.length===0&&t.length===0)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn(\"Invoking deltaDecorations recursively could lead to leaking decorations.\"),Xe(new Error(\"Invoking deltaDecorations recursively could lead to leaking decorations.\"))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){const n=e?this._decorations[e]:null;if(!n)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:S8[i]}],!0)[0]:null;if(!t)return this._decorationsTree.delete(n),delete this._decorations[n.id],null;const o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),a=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(n),n.reset(this.getVersionId(),r,a,o),n.setOptions(S8[i]),this._decorationsTree.insert(n),n.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;const t=this._decorationsTree.collectNodesFromOwner(e);for(let i=0,n=t.length;i<n;i++){const o=t[i];this._decorationsTree.delete(o),delete this._decorations[o.id]}}getDecorationOptions(e){const t=this._decorations[e];return t?t.options:null}getDecorationRange(e){const t=this._decorations[e];return t?this._decorationsTree.getNodeRange(this,t):null}getLineDecorations(e,t=0,i=!1){return e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,n=!1,o=!1){const r=this.getLineCount(),a=Math.min(r,Math.max(1,e)),l=Math.min(r,Math.max(1,t)),d=this.getLineMaxColumn(l),c=new x(a,1,l,d),u=this._getDecorationsInRange(c,i,n,o);return qT(u,this._decorationProvider.getDecorationsInRange(c,i,n)),u}getDecorationsInRange(e,t=0,i=!1,n=!1,o=!1){const r=this.validateRange(e),a=this._getDecorationsInRange(r,t,i,o);return qT(a,this._decorationProvider.getDecorationsInRange(r,t,i,n)),a}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0,!1)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){const t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e),n=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return al.fromDecorations(n).filter(o=>o.lineNumber===e)}getAllDecorations(e=0,t=!1){let i=this._decorationsTree.getAll(this,e,t,!1,!1);return i=i.concat(this._decorationProvider.getAllDecorations(e,t)),i}getAllMarginDecorations(e=0){return this._decorationsTree.getAll(this,e,!1,!1,!0)}_getDecorationsInRange(e,t,i,n){const o=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),r=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,o,r,t,i,n)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const i=this._decorations[e];if(!i)return;if(i.options.after){const a=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(a.endLineNumber)}if(i.options.before){const a=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(a.startLineNumber)}const n=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(n.startLineNumber,n.startColumn),r=this._buffer.getOffsetAt(n.endLineNumber,n.endColumn);this._decorationsTree.delete(i),i.reset(this.getVersionId(),o,r,n),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)}_changeDecorationOptionsImpl(e,t){const i=this._decorations[e];if(!i)return;const n=!!(i.options.overviewRuler&&i.options.overviewRuler.color),o=!!(t.overviewRuler&&t.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i.options.after||t.after){const l=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(l.endLineNumber)}if(i.options.before||t.before){const l=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(l.startLineNumber)}const r=n!==o,a=d_e(t)!==Xy(i);r||a?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t)}_deltaDecorationsImpl(e,t,i,n=!1){const o=this.getVersionId(),r=t.length;let a=0;const l=i.length;let d=0;this._onDidChangeDecorations.beginDeferredEmit();try{const c=new Array(l);for(;a<r||d<l;){let u=null;if(a<r){do u=this._decorations[t[a++]];while(!u&&a<r);if(u){if(u.options.after){const h=this._decorationsTree.getNodeRange(this,u);this._onDidChangeDecorations.recordLineAffectedByInjectedText(h.endLineNumber)}if(u.options.before){const h=this._decorationsTree.getNodeRange(this,u);this._onDidChangeDecorations.recordLineAffectedByInjectedText(h.startLineNumber)}this._decorationsTree.delete(u),n||this._onDidChangeDecorations.checkAffectedAndFire(u.options)}}if(d<l){if(!u){const v=++this._lastDecorationId,b=`${this._instanceId};${v}`;u=new L$(b,0,0),this._decorations[b]=u}const h=i[d],g=this._validateRangeRelaxedNoAllocations(h.range),f=D8(h.options),m=this._buffer.getOffsetAt(g.startLineNumber,g.startColumn),_=this._buffer.getOffsetAt(g.endLineNumber,g.endColumn);u.ownerId=e,u.reset(o,m,_,g),u.setOptions(f),u.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(g.endLineNumber),u.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(g.startLineNumber),n||this._onDidChangeDecorations.checkAffectedAndFire(f),this._decorationsTree.insert(u),c[d]=u.id,d++}else u&&delete this._decorations[u.id]}return c}finally{this._onDidChangeDecorations.endDeferredEmit()}}getLanguageId(){return this.tokenization.getLanguageId()}setLanguage(e,t){typeof e==\"string\"?(this._languageSelectionListener.clear(),this._setLanguage(e,t)):(this._languageSelectionListener.value=e.onDidChange(()=>this._setLanguage(e.languageId,t)),this._setLanguage(e.languageId,t))}_setLanguage(e,t){this.tokenization.setLanguageId(e,t),this._languageService.requestRichLanguageFeatures(e)}getLanguageIdAtPosition(e,t){return this.tokenization.getLanguageIdAtPosition(e,t)}getWordAtPosition(e){return this._tokenizationTextModelPart.getWordAtPosition(e)}getWordUntilPosition(e){return this._tokenizationTextModelPart.getWordUntilPosition(e)}normalizePosition(e,t){return e}getLineIndentColumn(e){return l_e(this.getLineContent(e))+1}};wd._MODEL_SYNC_LIMIT=50*1024*1024;wd.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024;wd.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3;wd.LARGE_FILE_HEAP_OPERATION_THRESHOLD=256*1024*1024;wd.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:ns.tabSize,indentSize:ns.indentSize,insertSpaces:ns.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:ns.trimAutoWhitespace,largeFileOptimizations:ns.largeFileOptimizations,bracketPairColorizationOptions:ns.bracketPairColorizationOptions};wd=Tg=i_e([xI(4,Mx),xI(5,vi),xI(6,Yt)],wd);function l_e(s){let e=0;for(const t of s)if(t===\" \"||t===\"\t\")e++;else break;return e}function kI(s){return!!(s.options.overviewRuler&&s.options.overviewRuler.color)}function d_e(s){return!!s.after||!!s.before}function Xy(s){return!!s.options.after||!!s.options.before}class y8{constructor(){this._decorationsTree0=new SI,this._decorationsTree1=new SI,this._injectedTextDecorationsTree=new SI}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1,!1)}_ensureNodesHaveRanges(e,t){for(const i of t)i.range===null&&(i.range=e.getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd));return t}getAllInInterval(e,t,i,n,o,r){const a=e.getVersionId(),l=this._intervalSearch(t,i,n,o,a,r);return this._ensureNodesHaveRanges(e,l)}_intervalSearch(e,t,i,n,o,r){const a=this._decorationsTree0.intervalSearch(e,t,i,n,o,r),l=this._decorationsTree1.intervalSearch(e,t,i,n,o,r),d=this._injectedTextDecorationsTree.intervalSearch(e,t,i,n,o,r);return a.concat(l).concat(d)}getInjectedTextInInterval(e,t,i,n){const o=e.getVersionId(),r=this._injectedTextDecorationsTree.intervalSearch(t,i,n,!1,o,!1);return this._ensureNodesHaveRanges(e,r).filter(a=>a.options.showIfCollapsed||!a.range.isEmpty())}getAllInjectedText(e,t){const i=e.getVersionId(),n=this._injectedTextDecorationsTree.search(t,!1,i,!1);return this._ensureNodesHaveRanges(e,n).filter(o=>o.options.showIfCollapsed||!o.range.isEmpty())}getAll(e,t,i,n,o){const r=e.getVersionId(),a=this._search(t,i,n,r,o);return this._ensureNodesHaveRanges(e,a)}_search(e,t,i,n,o){if(i)return this._decorationsTree1.search(e,t,n,o);{const r=this._decorationsTree0.search(e,t,n,o),a=this._decorationsTree1.search(e,t,n,o),l=this._injectedTextDecorationsTree.search(e,t,n,o);return r.concat(a).concat(l)}}collectNodesFromOwner(e){const t=this._decorationsTree0.collectNodesFromOwner(e),i=this._decorationsTree1.collectNodesFromOwner(e),n=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(i).concat(n)}collectNodesPostOrder(){const e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),i=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(i)}insert(e){Xy(e)?this._injectedTextDecorationsTree.insert(e):kI(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){Xy(e)?this._injectedTextDecorationsTree.delete(e):kI(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){const i=e.getVersionId();return t.cachedVersionId!==i&&this._resolveNode(t,i),t.range===null&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){Xy(e)?this._injectedTextDecorationsTree.resolveNode(e,t):kI(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,i,n){this._decorationsTree0.acceptReplace(e,t,i,n),this._decorationsTree1.acceptReplace(e,t,i,n),this._injectedTextDecorationsTree.acceptReplace(e,t,i,n)}}function wl(s){return s.replace(/[^a-z0-9\\-_]/gi,\" \")}class N${constructor(e){this.color=e.color||\"\",this.darkColor=e.darkColor||\"\"}}class c_e extends N${constructor(e){super(e),this._resolvedColor=null,this.position=typeof e.position==\"number\"?e.position:Br.Center}getColor(e){return this._resolvedColor||(e.type!==\"light\"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if(typeof e==\"string\")return e;const i=e?t.getColor(e.id):null;return i?i.toString():\"\"}}class u_e{constructor(e){var t;this.position=(t=e==null?void 0:e.position)!==null&&t!==void 0?t:bd.Center,this.persistLane=e==null?void 0:e.persistLane}}class h_e extends N${constructor(e){var t,i;super(e),this.position=e.position,this.sectionHeaderStyle=(t=e.sectionHeaderStyle)!==null&&t!==void 0?t:null,this.sectionHeaderText=(i=e.sectionHeaderText)!==null&&i!==void 0?i:null}getColor(e){return this._resolvedColor||(e.type!==\"light\"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return typeof e==\"string\"?$.fromHex(e):t.getColor(e.id)}}class Ph{static from(e){return e instanceof Ph?e:new Ph(e)}constructor(e){this.content=e.content||\"\",this.inlineClassName=e.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=e.attachedData||null,this.cursorStops=e.cursorStops||null}}class Ye{static register(e){return new Ye(e)}static createDynamic(e){return new Ye(e)}constructor(e){var t,i,n,o,r,a;this.description=e.description,this.blockClassName=e.blockClassName?wl(e.blockClassName):null,this.blockDoesNotCollapse=(t=e.blockDoesNotCollapse)!==null&&t!==void 0?t:null,this.blockIsAfterEnd=(i=e.blockIsAfterEnd)!==null&&i!==void 0?i:null,this.blockPadding=(n=e.blockPadding)!==null&&n!==void 0?n:null,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?wl(e.className):null,this.shouldFillLineOnLineBreak=(o=e.shouldFillLineOnLineBreak)!==null&&o!==void 0?o:null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.lineNumberHoverMessage=e.lineNumberHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new c_e(e.overviewRuler):null,this.minimap=e.minimap?new h_e(e.minimap):null,this.glyphMargin=e.glyphMarginClassName?new u_e(e.glyphMargin):null,this.glyphMarginClassName=e.glyphMarginClassName?wl(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?wl(e.linesDecorationsClassName):null,this.lineNumberClassName=e.lineNumberClassName?wl(e.lineNumberClassName):null,this.linesDecorationsTooltip=e.linesDecorationsTooltip?xre(e.linesDecorationsTooltip):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?wl(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?wl(e.marginClassName):null,this.inlineClassName=e.inlineClassName?wl(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?wl(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?wl(e.afterContentClassName):null,this.after=e.after?Ph.from(e.after):null,this.before=e.before?Ph.from(e.before):null,this.hideInCommentTokens=(r=e.hideInCommentTokens)!==null&&r!==void 0?r:!1,this.hideInStringTokens=(a=e.hideInStringTokens)!==null&&a!==void 0?a:!1}}Ye.EMPTY=Ye.register({description:\"empty\"});const S8=[Ye.register({description:\"tracked-range-always-grows-when-typing-at-edges\",stickiness:0}),Ye.register({description:\"tracked-range-never-grows-when-typing-at-edges\",stickiness:1}),Ye.register({description:\"tracked-range-grows-only-when-typing-before\",stickiness:2}),Ye.register({description:\"tracked-range-grows-only-when-typing-after\",stickiness:3})];function D8(s){return s instanceof Ye?s:Ye.createDynamic(s)}class g_e extends H{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new B),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._affectsLineNumber=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;this._deferredCnt--,this._deferredCnt===0&&(this._shouldFireDeferred&&this.doFire(),(e=this._affectedInjectedTextLines)===null||e===void 0||e.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(e){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(e)}checkAffectedAndFire(e){var t,i;this._affectsMinimap||(this._affectsMinimap=!!(!((t=e.minimap)===null||t===void 0)&&t.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(!((i=e.overviewRuler)===null||i===void 0)&&i.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!e.glyphMarginClassName),this._affectsLineNumber||(this._affectsLineNumber=!!e.lineNumberClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){this._deferredCnt===0?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);const e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin,affectsLineNumber:this._affectsLineNumber};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(e)}}class f_e extends H{constructor(){super(),this._fastEmitter=this._register(new B),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new B),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;const t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e;return}this._fastEmitter.fire(e),this._slowEmitter.fire(e)}}class p_e{constructor(){this._onDidChangeVisibleRanges=new B,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){const e=new m_e(t=>{this._onDidChangeVisibleRanges.fire({view:e,state:t})});return this._views.add(e),e}detachView(e){this._views.delete(e),this._onDidChangeVisibleRanges.fire({view:e,state:void 0})}}class m_e{constructor(e){this.handleStateChange=e}setVisibleLines(e,t){const i=e.map(n=>new Je(n.startLineNumber,n.endLineNumber+1));this.handleStateChange({visibleLineRanges:i,stabilized:t})}}class tO{static create(e){return new tO(e.get(134),e.get(133))}constructor(e,t){this.classifier=new __e(e,t)}createLineBreaksComputer(e,t,i,n,o){const r=[],a=[],l=[];return{addRequest:(d,c,u)=>{r.push(d),a.push(c),l.push(u)},finalize:()=>{const d=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,c=[];for(let u=0,h=r.length;u<h;u++){const g=a[u],f=l[u];f&&!f.injectionOptions&&!g?c[u]=v_e(this.classifier,f,r[u],t,i,d,n,o):c[u]=b_e(this.classifier,r[u],g,t,i,d,n,o)}return GA.length=0,ZA.length=0,c}}}}class __e extends d0{constructor(e,t){super(0);for(let i=0;i<e.length;i++)this.set(e.charCodeAt(i),1);for(let i=0;i<t.length;i++)this.set(t.charCodeAt(i),2)}get(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let GA=[],ZA=[];function v_e(s,e,t,i,n,o,r,a){if(n===-1)return null;const l=t.length;if(l<=1)return null;const d=a===\"keepAll\",c=e.breakOffsets,u=e.breakOffsetsVisibleColumn,h=A$(t,i,n,o,r),g=n-h,f=GA,m=ZA;let _=0,v=0,b=0,C=n;const w=c.length;let y=0;if(y>=0){let D=Math.abs(u[y]-C);for(;y+1<w;){const L=Math.abs(u[y+1]-C);if(L>=D)break;D=L,y++}}for(;y<w;){let D=y<0?0:c[y],L=y<0?0:u[y];v>D&&(D=v,L=b);let k=0,I=0,O=0,R=0;if(L<=C){let F=L,V=D===0?0:t.charCodeAt(D-1),U=D===0?0:s.get(V),J=!0;for(let pe=D;pe<l;pe++){const De=pe,ge=t.charCodeAt(pe);let We,ye;if(Cn(ge)?(pe++,We=0,ye=2):(We=s.get(ge),ye=ib(ge,F,i,o)),De>v&&XA(V,U,ge,We,d)&&(k=De,I=F),F+=ye,F>C){De>v?(O=De,R=F-ye):(O=pe+1,R=F),F-I>g&&(k=0),J=!1;break}V=ge,U=We}if(J){_>0&&(f[_]=c[c.length-1],m[_]=u[c.length-1],_++);break}}if(k===0){let F=L,V=t.charCodeAt(D),U=s.get(V),J=!1;for(let pe=D-1;pe>=v;pe--){const De=pe+1,ge=t.charCodeAt(pe);if(ge===9){J=!0;break}let We,ye;if(Cf(ge)?(pe--,We=0,ye=2):(We=s.get(ge),ye=Dh(ge)?o:1),F<=C){if(O===0&&(O=De,R=F),F<=C-g)break;if(XA(ge,We,V,U,d)){k=De,I=F;break}}F-=ye,V=ge,U=We}if(k!==0){const pe=g-(R-I);if(pe<=i){const De=t.charCodeAt(O);let ge;Cn(De)?ge=2:ge=ib(De,R,i,o),pe-ge<0&&(k=0)}}if(J){y--;continue}}if(k===0&&(k=O,I=R),k<=v){const F=t.charCodeAt(v);Cn(F)?(k=v+2,I=b+2):(k=v+1,I=b+ib(F,b,i,o))}for(v=k,f[_]=k,b=I,m[_]=I,_++,C=I+g;y<0||y<w&&u[y]<I;)y++;let P=Math.abs(u[y]-C);for(;y+1<w;){const F=Math.abs(u[y+1]-C);if(F>=P)break;P=F,y++}}return _===0?null:(f.length=_,m.length=_,GA=e.breakOffsets,ZA=e.breakOffsetsVisibleColumn,e.breakOffsets=f,e.breakOffsetsVisibleColumn=m,e.wrappedTextIndentLength=h,e)}function b_e(s,e,t,i,n,o,r,a){const l=al.applyInjectedText(e,t);let d,c;if(t&&t.length>0?(d=t.map(I=>I.options),c=t.map(I=>I.column-1)):(d=null,c=null),n===-1)return d?new Yv(c,d,[l.length],[],0):null;const u=l.length;if(u<=1)return d?new Yv(c,d,[l.length],[],0):null;const h=a===\"keepAll\",g=A$(l,i,n,o,r),f=n-g,m=[],_=[];let v=0,b=0,C=0,w=n,y=l.charCodeAt(0),D=s.get(y),L=ib(y,0,i,o),k=1;Cn(y)&&(L+=1,y=l.charCodeAt(1),D=s.get(y),k++);for(let I=k;I<u;I++){const O=I,R=l.charCodeAt(I);let P,F;Cn(R)?(I++,P=0,F=2):(P=s.get(R),F=ib(R,L,i,o)),XA(y,D,R,P,h)&&(b=O,C=L),L+=F,L>w&&((b===0||L-C>f)&&(b=O,C=L-F),m[v]=b,_[v]=C,v++,w=C+f,b=0),y=R,D=P}return v===0&&(!t||t.length===0)?null:(m[v]=u,_[v]=L,new Yv(c,d,m,_,g))}function ib(s,e,t,i){return s===9?t-e%t:Dh(s)||s<32?i:1}function L8(s,e){return e-s%e}function XA(s,e,t,i,n){return t!==32&&(e===2&&i!==2||e!==1&&i===1||!n&&e===3&&i!==2||!n&&i===3&&e!==1)}function A$(s,e,t,i,n){let o=0;if(n!==0){const r=Cs(s);if(r!==-1){for(let l=0;l<r;l++){const d=s.charCodeAt(l)===9?L8(o,e):1;o+=d}const a=n===3?2:n===2?1:0;for(let l=0;l<a;l++){const d=L8(o,e);o+=d}o+i>t&&(o=0)}}return o}class gD{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new Wn(new x(1,1,1,1),0,0,new W(1,1),0),new Wn(new x(1,1,1,1),0,0,new W(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new wt(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.isEmpty()&&!t.isEmpty()?we.fromRange(t.collapseToEnd(),this.modelState.selection.getDirection()):we.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,i){this._setState(e,t,i)}static _validatePositionWithCache(e,t,i,n){return t.equals(i)?n:e.normalizePosition(t,2)}static _validateViewState(e,t){const i=t.position,n=t.selectionStart.getStartPosition(),o=t.selectionStart.getEndPosition(),r=e.normalizePosition(i,2),a=this._validatePositionWithCache(e,n,i,r),l=this._validatePositionWithCache(e,o,n,a);return i.equals(r)&&n.equals(a)&&o.equals(l)?t:new Wn(x.fromPositions(a,l),t.selectionStartKind,t.selectionStartLeftoverVisibleColumns+n.column-a.column,r,t.leftoverVisibleColumns+i.column-r.column)}_setState(e,t,i){if(i&&(i=gD._validateViewState(e.viewModel,i)),t){const n=e.model.validateRange(t.selectionStart),o=t.selectionStart.equalsRange(n)?t.selectionStartLeftoverVisibleColumns:0,r=e.model.validatePosition(t.position),a=t.position.equals(r)?t.leftoverVisibleColumns:0;t=new Wn(n,t.selectionStartKind,o,r,a)}else{if(!i)return;const n=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(i.selectionStart)),o=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(i.position));t=new Wn(n,i.selectionStartKind,i.selectionStartLeftoverVisibleColumns,o,i.leftoverVisibleColumns)}if(i){const n=e.coordinatesConverter.validateViewRange(i.selectionStart,t.selectionStart),o=e.coordinatesConverter.validateViewPosition(i.position,t.position);i=new Wn(n,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,o,t.leftoverVisibleColumns)}else{const n=e.coordinatesConverter.convertModelPositionToViewPosition(new W(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),o=e.coordinatesConverter.convertModelPositionToViewPosition(new W(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),r=new x(n.lineNumber,n.column,o.lineNumber,o.column),a=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);i=new Wn(r,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,a,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=i,this._updateTrackedRange(e)}}class x8{constructor(e){this.context=e,this.cursors=[new gD(e)],this.lastAddedCursorIndex=0}dispose(){for(const e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(const e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(const e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(const e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map(e=>e.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(e=>e.asCursorState())}getViewPositions(){return this.cursors.map(e=>e.viewState.position)}getTopMostViewPosition(){return ece(this.cursors,ao(e=>e.viewState.position,W.compare)).viewState.position}getBottomMostViewPosition(){return Jde(this.cursors,ao(e=>e.viewState.position,W.compare)).viewState.position}getSelections(){return this.cursors.map(e=>e.modelState.selection)}getViewSelections(){return this.cursors.map(e=>e.viewState.selection)}setSelections(e){this.setStates(wt.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){e!==null&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){const t=this.cursors.length-1,i=e.length;if(t<i){const n=i-t;for(let o=0;o<n;o++)this._addSecondaryCursor()}else if(t>i){const n=t-i;for(let o=0;o<n;o++)this._removeSecondaryCursor(this.cursors.length-2)}for(let n=0;n<i;n++)this.cursors[n+1].setState(this.context,e[n].modelState,e[n].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.cursors.push(new gD(this.context)),this.lastAddedCursorIndex=this.cursors.length-1}getLastAddedCursorIndex(){return this.cursors.length===1||this.lastAddedCursorIndex===0?0:this.lastAddedCursorIndex}_removeSecondaryCursor(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(this.cursors.length===1)return;const e=this.cursors.slice(0),t=[];for(let i=0,n=e.length;i<n;i++)t.push({index:i,selection:e[i].modelState.selection});t.sort(ao(i=>i.selection,x.compareRangesUsingStarts));for(let i=0;i<t.length-1;i++){const n=t[i],o=t[i+1],r=n.selection,a=o.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let l;if(a.isEmpty()||r.isEmpty()?l=a.getStartPosition().isBeforeOrEqual(r.getEndPosition()):l=a.getStartPosition().isBefore(r.getEndPosition()),l){const d=n.index<o.index?i:i+1,c=n.index<o.index?i+1:i,u=t[c].index,h=t[d].index,g=t[c].selection,f=t[d].selection;if(!g.equalsSelection(f)){const m=g.plusRange(f),_=g.selectionStartLineNumber===g.startLineNumber&&g.selectionStartColumn===g.startColumn,v=f.selectionStartLineNumber===f.startLineNumber&&f.selectionStartColumn===f.startColumn;let b;u===this.lastAddedCursorIndex?(b=_,this.lastAddedCursorIndex=h):b=v;let C;b?C=new we(m.startLineNumber,m.startColumn,m.endLineNumber,m.endColumn):C=new we(m.endLineNumber,m.endColumn,m.startLineNumber,m.startColumn),t[d].selection=C;const w=wt.fromModelSelection(C);e[h].setState(this.context,w.modelState,w.viewState)}for(const m of t)m.index>u&&m.index--;e.splice(u,1),t.splice(c,1),this._removeSecondaryCursor(u-1),i--}}}}class k8{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}class C_e{constructor(){this.type=0}}class w_e{constructor(){this.type=1}}class y_e{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class S_e{constructor(e,t,i){this.selections=e,this.modelSelections=t,this.reason=i,this.type=3}}class vg{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler,this.affectsGlyphMargin=e.affectsGlyphMargin,this.affectsLineNumber=e.affectsLineNumber):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0,this.affectsGlyphMargin=!0,this.affectsLineNumber=!0)}}class Fw{constructor(){this.type=5}}class D_e{constructor(e){this.type=6,this.isFocused=e}}class L_e{constructor(){this.type=7}}class Ow{constructor(){this.type=8}}class M${constructor(e,t){this.fromLineNumber=e,this.count=t,this.type=9}}class YA{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class QA{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class nb{constructor(e,t,i,n,o,r,a){this.source=e,this.minimalReveal=t,this.range=i,this.selections=n,this.verticalType=o,this.revealHorizontal=r,this.scrollType=a,this.type=12}}class x_e{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class k_e{constructor(e){this.theme=e,this.type=14}}class E_e{constructor(e){this.type=15,this.ranges=e}}class I_e{constructor(){this.type=16}}let T_e=class{constructor(){this.type=17}};class N_e extends H{constructor(){super(),this._onEvent=this._register(new B),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t<i;t++){const n=this._outgoingEvents[t].kind===e.kind?this._outgoingEvents[t].attemptToMerge(e):null;if(n){this._outgoingEvents[t]=n;return}}this._outgoingEvents.push(e)}_emitOutgoingEvents(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;const e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,i=this._eventHandlers.length;t<i;t++)this._eventHandlers[t]===e&&console.warn(\"Detected duplicate listener in ViewEventDispatcher\",e);this._eventHandlers.push(e)}removeViewEventHandler(e){for(let t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}}beginEmitViewEvents(){return this._collectorCnt++,this._collectorCnt===1&&(this._collector=new A_e),this._collector}endEmitViewEvents(){if(this._collectorCnt--,this._collectorCnt===0){const e=this._collector.outgoingEvents,t=this._collector.viewEvents;this._collector=null;for(const i of e)this._addOutgoingEvent(i);t.length>0&&this._emitMany(t)}this._emitOutgoingEvents()}emitSingleViewEvent(e){try{this.beginEmitViewEvents().emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const e=this._viewEventQueue;this._viewEventQueue=null;const t=this._eventHandlers.slice(0);for(const i of t)i.handleEvents(e)}}}class A_e{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class iO{constructor(e,t,i,n){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=i,this.contentHeight=n,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(e){return e.kind!==this.kind?null:new iO(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class nO{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(e){return e.kind!==this.kind?null:new nO(this.oldHasFocus,e.hasFocus)}}class sO{constructor(e,t,i,n,o,r,a,l){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=i,this._oldScrollTop=n,this.scrollWidth=o,this.scrollLeft=r,this.scrollHeight=a,this.scrollTop=l,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(e){return e.kind!==this.kind?null:new sO(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class M_e{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class R_e{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class fD{constructor(e,t,i,n,o,r,a){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=i,this.modelVersionId=n,this.source=o,this.reason=r,this.reachedMaxCursorCount=a}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;const i=e.length,n=t.length;if(i!==n)return!1;for(let o=0;o<i;o++)if(!e[o].equalsSelection(t[o]))return!1;return!0}isNoOp(){return fD._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}attemptToMerge(e){return e.kind!==this.kind?null:new fD(this.oldSelections,e.selections,this.oldModelVersionId,e.modelVersionId,e.source,e.reason,this.reachedMaxCursorCount||e.reachedMaxCursorCount)}}class P_e{constructor(){this.kind=5}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class F_e{constructor(e){this.event=e,this.kind=7}isNoOp(){return!1}attemptToMerge(e){return null}}class O_e{constructor(e){this.event=e,this.kind=8}isNoOp(){return!1}attemptToMerge(e){return null}}class B_e{constructor(e){this.event=e,this.kind=9}isNoOp(){return!1}attemptToMerge(e){return null}}class W_e{constructor(e){this.event=e,this.kind=10}isNoOp(){return!1}attemptToMerge(e){return null}}class H_e{constructor(e){this.event=e,this.kind=11}isNoOp(){return!1}attemptToMerge(e){return null}}class V_e{constructor(e){this.event=e,this.kind=12}isNoOp(){return!1}attemptToMerge(e){return null}}class z_e extends H{constructor(e,t,i,n){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=i,this.context=new k8(this._model,this._viewModel,this._coordinatesConverter,n),this._cursors=new x8(this.context),this._hasFocus=!1,this._isHandling=!1,this._compositionState=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=jt(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new k8(this._model,this._viewModel,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,\"viewModel\",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){const e=this._cursors.getSelections();for(let t=0;t<this._autoClosedActions.length;t++){const i=this._autoClosedActions[t];i.isValid(e)||(i.dispose(),this._autoClosedActions.splice(t,1),t--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(e,t,i,n){let o=!1;const r=this.context.cursorConfig.multiCursorLimit;n!==null&&n.length>r&&(n=n.slice(0,r),o=!0);const a=sb.from(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,a,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealAll(e,t,i,n,o,r){const a=this._cursors.getViewPositions();let l=null,d=null;a.length>1?d=this._cursors.getViewSelections():l=x.fromPositions(a[0],a[0]),e.emitViewEvent(new nb(t,i,l,d,n,o,r))}revealPrimary(e,t,i,n,o,r){const l=[this._cursors.getPrimaryCursor().viewState.selection];e.emitViewEvent(new nb(t,i,null,l,n,o,r))}saveState(){const e=[],t=this._cursors.getSelections();for(let i=0,n=t.length;i<n;i++){const o=t[i];e.push({inSelectionMode:!o.isEmpty(),selectionStart:{lineNumber:o.selectionStartLineNumber,column:o.selectionStartColumn},position:{lineNumber:o.positionLineNumber,column:o.positionColumn}})}return e}restoreState(e,t){const i=[];for(let n=0,o=t.length;n<o;n++){const r=t[n];let a=1,l=1;r.position&&r.position.lineNumber&&(a=r.position.lineNumber),r.position&&r.position.column&&(l=r.position.column);let d=a,c=l;r.selectionStart&&r.selectionStart.lineNumber&&(d=r.selectionStart.lineNumber),r.selectionStart&&r.selectionStart.column&&(c=r.selectionStart.column),i.push({selectionStartLineNumber:d,selectionStartColumn:c,positionLineNumber:a,positionColumn:l})}this.setStates(e,\"restoreState\",0,wt.fromModelSelections(i)),this.revealAll(e,\"restoreState\",!1,0,!0,1)}onModelContentChanged(e,t){if(t instanceof c$){if(this._isHandling)return;this._isHandling=!0;try{this.setStates(e,\"modelChange\",0,this.getCursorStates())}finally{this._isHandling=!1}}else{const i=t.rawContentChangedEvent;if(this._knownModelVersionId=i.versionId,this._isHandling)return;const n=i.containsEvent(1);if(this._prevEditOperationType=0,n)this._cursors.dispose(),this._cursors=new x8(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,\"model\",1,null,!1);else if(this._hasFocus&&i.resultingSelection&&i.resultingSelection.length>0){const o=wt.fromModelSelections(i.resultingSelection);this.setStates(e,\"modelChange\",i.isUndoing?5:i.isRedoing?6:2,o)&&this.revealAll(e,\"modelChange\",!1,0,!0,0)}else{const o=this._cursors.readSelectionFromMarkers();this.setStates(e,\"modelChange\",2,wt.fromModelSelections(o))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),i=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:i.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,i)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,i,n){this.setStates(e,t,n,wt.fromModelSelections(i))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){const i=[],n=[];for(let a=0,l=e.length;a<l;a++)i.push({range:e[a],options:{description:\"auto-closed-character\",inlineClassName:\"auto-closed-character\",stickiness:1}}),n.push({range:t[a],options:{description:\"auto-closed-enclosing\",stickiness:1}});const o=this._model.deltaDecorations([],i),r=this._model.deltaDecorations([],n);this._autoClosedActions.push(new E8(this._model,o,r))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=U_e.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);const i=[],n=[];for(let o=0;o<e.commands.length;o++){const r=e.commands[o];r instanceof t$&&r.enclosingRange&&r.closeCharacterRange&&(i.push(r.closeCharacterRange),n.push(r.enclosingRange))}i.length>0&&this._pushAutoClosedAction(i,n),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){(!e||e.length===0)&&(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,i,n,o){const r=sb.from(this._model,this);if(r.equals(n))return!1;const a=this._cursors.getSelections(),l=this._cursors.getViewSelections();if(e.emitViewEvent(new S_e(l,a,i)),!n||n.cursorState.length!==r.cursorState.length||r.cursorState.some((d,c)=>!d.modelState.equals(n.cursorState[c].modelState))){const d=n?n.cursorState.map(u=>u.modelState.selection):null,c=n?n.modelVersionId:0;e.emitOutgoingEvent(new fD(d,a,c,r.modelVersionId,t||\"keyboard\",i,o))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;const t=[];for(let i=0,n=e.length;i<n;i++){const o=e[i];if(!o.text||o.text.indexOf(`\n`)>=0)return null;const r=o.text.match(/([)\\]}>'\"`])([^)\\]}>'\"`]*)$/);if(!r)return null;const a=r[1],l=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(a);if(!l||l.length!==1)return null;const d=l[0].open,c=o.text.length-r[2].length-1,u=o.text.lastIndexOf(d,c-1);if(u===-1)return null;t.push([u,c])}return t}executeEdits(e,t,i,n){let o=null;t===\"snippet\"&&(o=this._findAutoClosingPairs(i)),o&&(i[0]._isTracked=!0);const r=[],a=[],l=this._model.pushEditOperations(this.getSelections(),i,d=>{if(o)for(let u=0,h=o.length;u<h;u++){const[g,f]=o[u],m=d[u],_=m.range.startLineNumber,v=m.range.startColumn-1+g,b=m.range.startColumn-1+f;r.push(new x(_,b+1,_,b+2)),a.push(new x(_,v+1,_,b+2))}const c=n(d);return c&&(this._isHandling=!0),c});l&&(this._isHandling=!1,this.setSelections(e,t,l,0)),r.length>0&&this._pushAutoClosedAction(r,a)}_executeEdit(e,t,i,n=0){if(this.context.cursorConfig.readOnly)return;const o=sb.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(r){Xe(r)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,n,o,!1)&&this.revealAll(t,i,!1,0,!0,0)}getAutoClosedCharacters(){return E8.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._compositionState=new ob(this._model,this.getSelections())}endComposition(e,t){const i=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{t===\"keyboard\"&&this._executeEditOperation(bi.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,i,this.getSelections(),this.getAutoClosedCharacters()))},e,t)}type(e,t,i){this._executeEdit(()=>{if(i===\"keyboard\"){const n=t.length;let o=0;for(;o<n;){const r=eF(t,o),a=t.substr(o,r);this._executeEditOperation(bi.typeWithInterceptors(!!this._compositionState,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),this.getAutoClosedCharacters(),a)),o+=r}}else this._executeEditOperation(bi.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))},e,i)}compositionType(e,t,i,n,o,r){if(t.length===0&&i===0&&n===0){if(o!==0){const a=this.getSelections().map(l=>{const d=l.getPosition();return new we(d.lineNumber,d.column+o,d.lineNumber,d.column+o)});this.setSelections(e,r,a,0)}return}this._executeEdit(()=>{this._executeEditOperation(bi.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,o))},e,r)}paste(e,t,i,n,o){this._executeEdit(()=>{this._executeEditOperation(bi.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,o,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(kf.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new Js(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new Js(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}class sb{static from(e,t){return new sb(e.getVersionId(),t.getCursorStates())}constructor(e,t){this.modelVersionId=e,this.cursorState=t}equals(e){if(!e||this.modelVersionId!==e.modelVersionId||this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,i=this.cursorState.length;t<i;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class E8{static getAllAutoClosedCharacters(e){let t=[];for(const i of e)t=t.concat(i.getAutoClosedCharactersRanges());return t}constructor(e,t,i){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=i}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){const e=[];for(let t=0;t<this._autoClosedCharactersDecorations.length;t++){const i=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);i&&e.push(i)}return e}isValid(e){const t=[];for(let i=0;i<this._autoClosedEnclosingDecorations.length;i++){const n=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[i]);if(n&&(t.push(n),n.startLineNumber!==n.endLineNumber))return!1}t.sort(x.compareRangesUsingStarts),e.sort(x.compareRangesUsingStarts);for(let i=0;i<e.length;i++)if(i>=t.length||!t[i].strictContainsRange(e[i]))return!1;return!0}}class U_e{static executeCommands(e,t,i){const n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(n,i);for(let r=0,a=n.trackedRanges.length;r<a;r++)n.model._setTrackedRange(n.trackedRanges[r],null,0);return o}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const i=this._getEditOperations(e,t);if(i.operations.length===0)return null;const n=i.operations,o=this._getLoserCursorMap(n);if(o.hasOwnProperty(\"0\"))return console.warn(\"Ignoring commands\"),null;const r=[];for(let d=0,c=n.length;d<c;d++)o.hasOwnProperty(n[d].identifier.major.toString())||r.push(n[d]);i.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);let a=e.model.pushEditOperations(e.selectionsBefore,r,d=>{const c=[];for(let g=0;g<e.selectionsBefore.length;g++)c[g]=[];for(const g of d)g.identifier&&c[g.identifier.major].push(g);const u=(g,f)=>g.identifier.minor-f.identifier.minor,h=[];for(let g=0;g<e.selectionsBefore.length;g++)c[g].length>0?(c[g].sort(u),h[g]=t[g].computeCursorState(e.model,{getInverseEditOperations:()=>c[g],getTrackedSelection:f=>{const m=parseInt(f,10),_=e.model._getTrackedRange(e.trackedRanges[m]);return e.trackedRangesDirection[m]===0?new we(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn):new we(_.endLineNumber,_.endColumn,_.startLineNumber,_.startColumn)}})):h[g]=e.selectionsBefore[g];return h});a||(a=e.selectionsBefore);const l=[];for(const d in o)o.hasOwnProperty(d)&&l.push(parseInt(d,10));l.sort((d,c)=>c-d);for(const d of l)a.splice(d,1);return a}static _arrayIsEmpty(e){for(let t=0,i=e.length;t<i;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let i=[],n=!1;for(let o=0,r=t.length;o<r;o++){const a=t[o];if(a){const l=this._getEditOperationsFromCommand(e,o,a);i=i.concat(l.operations),n=n||l.hadTrackedEditOperation}}return{operations:i,hadTrackedEditOperation:n}}static _getEditOperationsFromCommand(e,t,i){const n=[];let o=0;const r=(u,h,g=!1)=>{x.isEmpty(u)&&h===\"\"||n.push({identifier:{major:t,minor:o++},range:u,text:h,forceMoveMarkers:g,isAutoWhitespaceEdit:i.insertsAutoWhitespace})};let a=!1;const c={addEditOperation:r,addTrackedEditOperation:(u,h,g)=>{a=!0,r(u,h,g)},trackSelection:(u,h)=>{const g=we.liftSelection(u);let f;if(g.isEmpty())if(typeof h==\"boolean\")h?f=2:f=3;else{const v=e.model.getLineMaxColumn(g.startLineNumber);g.startColumn===v?f=2:f=3}else f=1;const m=e.trackedRanges.length,_=e.model._setTrackedRange(null,g,f);return e.trackedRanges[m]=_,e.trackedRangesDirection[m]=g.getDirection(),m.toString()}};try{i.getEditOperations(e.model,c)}catch(u){return Xe(u),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:a}}static _getLoserCursorMap(e){e=e.slice(0),e.sort((i,n)=>-x.compareRangesUsingEnds(i.range,n.range));const t={};for(let i=1;i<e.length;i++){const n=e[i-1],o=e[i];if(x.getStartPosition(n.range).isBefore(x.getEndPosition(o.range))){let r;n.identifier.major>o.identifier.major?r=n.identifier.major:r=o.identifier.major,t[r.toString()]=!0;for(let a=0;a<e.length;a++)e[a].identifier.major===r&&(e.splice(a,1),a<i&&i--,a--);i>0&&i--}}return t}}class $_e{constructor(e,t,i){this.text=e,this.startSelection=t,this.endSelection=i}}class ob{static _capture(e,t){const i=[];for(const n of t){if(n.startLineNumber!==n.endLineNumber)return null;i.push(new $_e(e.getLineContent(n.startLineNumber),n.startColumn-1,n.endColumn-1))}return i}constructor(e,t){this._original=ob._capture(e,t)}deduceOutcome(e,t){if(!this._original)return null;const i=ob._capture(e,t);if(!i||this._original.length!==i.length)return null;const n=[];for(let o=0,r=this._original.length;o<r;o++)n.push(ob._deduceOutcome(this._original[o],i[o]));return n}static _deduceOutcome(e,t){const i=Math.min(e.startSelection,t.startSelection,Sh(e.text,t.text)),n=Math.min(e.text.length-e.endSelection,t.text.length-t.endSelection,BS(e.text,t.text)),o=e.text.substring(i,e.text.length-n),r=t.text.substring(i,t.text.length-n);return new Hfe(o,e.startSelection-i,e.endSelection-i,r,t.startSelection-i,t.endSelection-i)}}const I8={getInitialState:()=>Ub,tokenizeEncoded:(s,e,t)=>xF(0,t)};async function j_e(s,e,t){if(!t)return T8(e,s.languageIdCodec,I8);const i=await Ki.getOrCreate(t);return T8(e,s.languageIdCodec,i||I8)}function K_e(s,e,t,i,n,o,r){let a=\"<div>\",l=i,d=0,c=!0;for(let u=0,h=e.getCount();u<h;u++){const g=e.getEndOffset(u);if(g<=i)continue;let f=\"\";for(;l<g&&l<n;l++){const m=s.charCodeAt(l);switch(m){case 9:{let _=o-(l+d)%o;for(d+=_-1;_>0;)r&&c?(f+=\"&#160;\",c=!1):(f+=\" \",c=!0),_--;break}case 60:f+=\"&lt;\",c=!1;break;case 62:f+=\"&gt;\",c=!1;break;case 38:f+=\"&amp;\",c=!1;break;case 0:f+=\"&#00;\",c=!1;break;case 65279:case 8232:case 8233:case 133:f+=\"�\",c=!1;break;case 13:f+=\"&#8203\",c=!1;break;case 32:r&&c?(f+=\"&#160;\",c=!1):(f+=\" \",c=!0);break;default:f+=String.fromCharCode(m),c=!1}}if(a+=`<span style=\"${e.getInlineStyle(u,t)}\">${f}</span>`,g>n||l>=n)break}return a+=\"</div>\",a}function T8(s,e,t){let i='<div class=\"monaco-tokenized-source\">';const n=Td(s);let o=t.getInitialState();for(let r=0,a=n.length;r<a;r++){const l=n[r];r>0&&(i+=\"<br/>\");const d=t.tokenizeEncoded(l,!0,o);wn.convertToEndOffset(d.tokens,l.length);const u=new wn(d.tokens,l,e).inflate();let h=0;for(let g=0,f=u.getCount();g<f;g++){const m=u.getClassName(g),_=u.getEndOffset(g);i+=`<span class=\"${m}\">${OS(l.substring(h,_))}</span>`,h=_}o=d.endState}return i+=\"</div>\",i}class q_e{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(e){this._hasPending=!0,this._inserts.push(e)}change(e){this._hasPending=!0,this._changes.push(e)}remove(e){this._hasPending=!0,this._removes.push(e)}mustCommit(){return this._hasPending}commit(e){if(!this._hasPending)return;const t=this._inserts,i=this._changes,n=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,i,n)}}class G_e{constructor(e,t,i,n,o){this.id=e,this.afterLineNumber=t,this.ordinal=i,this.height=n,this.minWidth=o,this.prefixSum=0}}let R$=class JA{constructor(e,t,i,n){this._instanceId=dz(++JA.INSTANCE_COUNT),this._pendingChanges=new q_e,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=e,this._lineHeight=t,this._paddingTop=i,this._paddingBottom=n}static findInsertionIndex(e,t,i){let n=0,o=e.length;for(;n<o;){const r=n+o>>>1;t===e[r].afterLineNumber?i<e[r].ordinal?o=r:n=r+1:t<e[r].afterLineNumber?o=r:n=r+1}return n}setLineHeight(e){this._checkPendingChanges(),this._lineHeight=e}setPadding(e,t){this._paddingTop=e,this._paddingBottom=t}onFlushed(e){this._checkPendingChanges(),this._lineCount=e}changeWhitespace(e){let t=!1;try{e({insertWhitespace:(n,o,r,a)=>{t=!0,n=n|0,o=o|0,r=r|0,a=a|0;const l=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new G_e(l,n,o,r,a)),l},changeOneWhitespace:(n,o,r)=>{t=!0,o=o|0,r=r|0,this._pendingChanges.change({id:n,newAfterLineNumber:o,newHeight:r})},removeWhitespace:n=>{t=!0,this._pendingChanges.remove({id:n})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((e.length>0||i.length>0)&&(this._minWidth=-1),e.length+t.length+i.length<=1){for(const l of e)this._insertWhitespace(l);for(const l of t)this._changeOneWhitespace(l.id,l.newAfterLineNumber,l.newHeight);for(const l of i){const d=this._findWhitespaceIndex(l.id);d!==-1&&this._removeWhitespace(d)}return}const n=new Set;for(const l of i)n.add(l.id);const o=new Map;for(const l of t)o.set(l.id,l);const r=l=>{const d=[];for(const c of l)if(!n.has(c.id)){if(o.has(c.id)){const u=o.get(c.id);c.afterLineNumber=u.newAfterLineNumber,c.height=u.newHeight}d.push(c)}return d},a=r(this._arr).concat(r(e));a.sort((l,d)=>l.afterLineNumber===d.afterLineNumber?l.ordinal-d.ordinal:l.afterLineNumber-d.afterLineNumber),this._arr=a,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){const t=JA.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){const t=this._arr;for(let i=0,n=t.length;i<n;i++)if(t[i].id===e)return i;return-1}_changeOneWhitespace(e,t,i){const n=this._findWhitespaceIndex(e);if(n!==-1&&(this._arr[n].height!==i&&(this._arr[n].height=i,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,n-1)),this._arr[n].afterLineNumber!==t)){const o=this._arr[n];this._removeWhitespace(n),o.afterLineNumber=t,this._insertWhitespace(o)}}_removeWhitespace(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)}onLinesDeleted(e,t){this._checkPendingChanges(),e=e|0,t=t|0,this._lineCount-=t-e+1;for(let i=0,n=this._arr.length;i<n;i++){const o=this._arr[i].afterLineNumber;e<=o&&o<=t?this._arr[i].afterLineNumber=e-1:o>t&&(this._arr[i].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e=e|0,t=t|0,this._lineCount+=t-e+1;for(let i=0,n=this._arr.length;i<n;i++){const o=this._arr[i].afterLineNumber;e<=o&&(this._arr[i].afterLineNumber+=t-e+1)}}getWhitespacesTotalHeight(){return this._checkPendingChanges(),this._arr.length===0?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(e){this._checkPendingChanges(),e=e|0;let t=Math.max(0,this._prefixSumValidIndex+1);t===0&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(let i=t;i<=e;i++)this._arr[i].prefixSum=this._arr[i-1].prefixSum+this._arr[i].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum}getLinesTotalHeight(){this._checkPendingChanges();const e=this._lineHeight*this._lineCount,t=this.getWhitespacesTotalHeight();return e+t+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(e){this._checkPendingChanges(),e=e|0;const t=this._findLastWhitespaceBeforeLineNumber(e);return t===-1?0:this.getWhitespacesAccumulatedHeight(t)}_findLastWhitespaceBeforeLineNumber(e){e=e|0;const t=this._arr;let i=0,n=t.length-1;for(;i<=n;){const r=(n-i|0)/2|0,a=i+r|0;if(t[a].afterLineNumber<e){if(a+1>=t.length||t[a+1].afterLineNumber>=e)return a;i=a+1|0}else n=a-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){e=e|0;const i=this._findLastWhitespaceBeforeLineNumber(e)+1;return i<this._arr.length?i:-1}getFirstWhitespaceIndexAfterLineNumber(e){return this._checkPendingChanges(),e=e|0,this._findFirstWhitespaceAfterLineNumber(e)}getVerticalOffsetForLineNumber(e,t=!1){this._checkPendingChanges(),e=e|0;let i;e>1?i=this._lineHeight*(e-1):i=0;const n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e-(t?1:0));return i+n+this._paddingTop}getVerticalOffsetAfterLineNumber(e,t=!1){this._checkPendingChanges(),e=e|0;const i=this._lineHeight*e,n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e+(t?1:0));return i+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let e=0;for(let t=0,i=this._arr.length;t<i;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth}isAfterLines(e){this._checkPendingChanges();const t=this.getLinesTotalHeight();return e>t}isInTopPadding(e){return this._paddingTop===0?!1:(this._checkPendingChanges(),e<this._paddingTop)}isInBottomPadding(e){if(this._paddingBottom===0)return!1;this._checkPendingChanges();const t=this.getLinesTotalHeight();return e>=t-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),e=e|0,e<0)return 1;const t=this._lineCount|0,i=this._lineHeight;let n=1,o=t;for(;n<o;){const r=(n+o)/2|0,a=this.getVerticalOffsetForLineNumber(r)|0;if(e>=a+i)n=r+1;else{if(e>=a)return r;o=r}}return n>t?t:n}getLinesViewportData(e,t){this._checkPendingChanges(),e=e|0,t=t|0;const i=this._lineHeight,n=this.getLineNumberAtOrAfterVerticalOffset(e)|0,o=this.getVerticalOffsetForLineNumber(n)|0;let r=this._lineCount|0,a=this.getFirstWhitespaceIndexAfterLineNumber(n)|0;const l=this.getWhitespacesCount()|0;let d,c;a===-1?(a=l,c=r+1,d=0):(c=this.getAfterLineNumberForWhitespaceIndex(a)|0,d=this.getHeightForWhitespaceIndex(a)|0);let u=o,h=u;const g=5e5;let f=0;o>=g&&(f=Math.floor(o/g)*g,f=Math.floor(f/i)*i,h-=f);const m=[],_=e+(t-e)/2;let v=-1;for(let y=n;y<=r;y++){if(v===-1){const D=u,L=u+i;(D<=_&&_<L||D>_)&&(v=y)}for(u+=i,m[y-n]=h,h+=i;c===y;)h+=d,u+=d,a++,a>=l?c=r+1:(c=this.getAfterLineNumberForWhitespaceIndex(a)|0,d=this.getHeightForWhitespaceIndex(a)|0);if(u>=t){r=y;break}}v===-1&&(v=r);const b=this.getVerticalOffsetForLineNumber(r)|0;let C=n,w=r;return C<w&&o<e&&C++,C<w&&b+i>t&&w--,{bigNumbersDelta:f,startLineNumber:n,endLineNumber:r,relativeVerticalOffset:m,centeredLineNumber:v,completelyVisibleStartLineNumber:C,completelyVisibleEndLineNumber:w,lineHeight:this._lineHeight}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e=e|0;const t=this.getAfterLineNumberForWhitespaceIndex(e);let i;t>=1?i=this._lineHeight*t:i=0;let n;return e>0?n=this.getWhitespacesAccumulatedHeight(e-1):n=0,i+n+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e=e|0;let t=0,i=this.getWhitespacesCount()-1;if(i<0)return-1;const n=this.getVerticalOffsetForWhitespaceIndex(i),o=this.getHeightForWhitespaceIndex(i);if(e>=n+o)return-1;for(;t<i;){const r=Math.floor((t+i)/2),a=this.getVerticalOffsetForWhitespaceIndex(r),l=this.getHeightForWhitespaceIndex(r);if(e>=a+l)t=r+1;else{if(e>=a)return r;i=r}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e=e|0;const t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0||t>=this.getWhitespacesCount())return null;const i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>e)return null;const n=this.getHeightForWhitespaceIndex(t),o=this.getIdForWhitespaceIndex(t),r=this.getAfterLineNumberForWhitespaceIndex(t);return{id:o,afterLineNumber:r,verticalOffset:i,height:n}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e=e|0,t=t|0;const i=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),n=this.getWhitespacesCount()-1;if(i<0)return[];const o=[];for(let r=i;r<=n;r++){const a=this.getVerticalOffsetForWhitespaceIndex(r),l=this.getHeightForWhitespaceIndex(r);if(a>=t)break;o.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:a,height:l})}return o}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e=e|0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e=e|0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e=e|0,this._arr[e].height}};R$.INSTANCE_COUNT=0;const Z_e=125;class Dv{constructor(e,t,i,n){e=e|0,t=t|0,i=i|0,n=n|0,e<0&&(e=0),t<0&&(t=0),i<0&&(i=0),n<0&&(n=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class X_e extends H{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new B),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new Dv(0,0,0,0),this._scrollable=this._register(new u0({forceIntegerValues:!0,smoothScrollDuration:e,scheduleAtNextAnimationFrame:t})),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;const t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);const i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight;(i||n)&&this._onDidContentSizeChange.fire(new iO(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}}class Y_e extends H{constructor(e,t,i){super(),this._configuration=e;const n=this._configuration.options,o=n.get(145),r=n.get(84);this._linesLayout=new R$(t,n.get(67),r.top,r.bottom),this._maxLineWidth=0,this._overlayWidgetsMinWidth=0,this._scrollable=this._register(new X_e(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new Dv(o.contentWidth,0,o.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(114)?Z_e:0)}onConfigurationChanged(e){const t=this._configuration.options;if(e.hasChanged(67)&&this._linesLayout.setLineHeight(t.get(67)),e.hasChanged(84)){const i=t.get(84);this._linesLayout.setPadding(i.top,i.bottom)}if(e.hasChanged(145)){const i=t.get(145),n=i.contentWidth,o=i.height,r=this._scrollable.getScrollDimensions(),a=r.contentWidth;this._scrollable.setScrollDimensions(new Dv(n,r.contentWidth,o,this._getContentHeight(n,o,a)))}else this._updateHeight();e.hasChanged(114)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const n=this._configuration.options.get(103);return n.horizontal===2||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){const n=this._configuration.options;let o=this._linesLayout.getLinesTotalHeight();return n.get(105)?o+=Math.max(0,t-n.get(67)-n.get(84).bottom):n.get(103).ignoreHorizontalScrollbarInContentHeight||(o+=this._getHorizontalScrollbarHeight(e,i)),o}_updateHeight(){const e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new Dv(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new _B(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new _B(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(){const e=this._configuration.options,t=this._maxLineWidth,i=e.get(146),n=e.get(50),o=e.get(145);if(i.isViewportWrapping){const r=e.get(73);return t>o.contentWidth+n.typicalHalfwidthCharacterWidth&&r.enabled&&r.side===\"right\"?t+o.verticalScrollbarWidth:t}else{const r=e.get(104)*n.typicalHalfwidthCharacterWidth,a=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+r+o.verticalScrollbarWidth,a,this._overlayWidgetsMinWidth)}}setMaxLineWidth(e){this._maxLineWidth=e,this._updateContentWidth()}setOverlayWidgetsMinWidth(e){this._overlayWidgetsMinWidth=e,this._updateContentWidth()}_updateContentWidth(){const e=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Dv(e.width,this._computeContentWidth(),e.height,e.contentHeight)),this._updateHeight()}saveState(){const e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),n=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i);return{scrollTop:t,scrollTopWithoutViewZones:t-n,scrollLeft:e.scrollLeft}}changeWhitespace(e){const t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(e,t)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){const t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){t===1?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(e,t){const i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}class Q_e{constructor(e,t,i,n,o){this.editorId=e,this.model=t,this.configuration=i,this._linesCollection=n,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){const t=e.id;let i=this._decorationsCache[t];if(!i){const n=e.range,o=e.options;let r;if(o.isWholeLine){const a=this._coordinatesConverter.convertModelPositionToViewPosition(new W(n.startLineNumber,1),0,!1,!0),l=this._coordinatesConverter.convertModelPositionToViewPosition(new W(n.endLineNumber,this.model.getLineMaxColumn(n.endLineNumber)),1);r=new x(a.lineNumber,a.column,l.lineNumber,l.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(n,1);i=new CU(r,o),this._decorationsCache[t]=i}return i}getMinimapDecorationsInRange(e){return this._getDecorationsInRange(e,!0,!1).decorations}getDecorationsViewportData(e){let t=this._cachedModelDecorationsResolver!==null;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(e,!1,!1),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(e,t=!1,i=!1){const n=new x(e,this._linesCollection.getViewLineMinColumn(e),e,this._linesCollection.getViewLineMaxColumn(e));return this._getDecorationsInRange(n,t,i).inlineDecorations[0]}_getDecorationsInRange(e,t,i){const n=this._linesCollection.getDecorationsInRange(e,this.editorId,TS(this.configuration.options),t,i),o=e.startLineNumber,r=e.endLineNumber,a=[];let l=0;const d=[];for(let c=o;c<=r;c++)d[c-o]=[];for(let c=0,u=n.length;c<u;c++){const h=n[c],g=h.options;if(!oO(this.model,h))continue;const f=this._getOrCreateViewModelDecoration(h),m=f.range;if(a[l++]=f,g.inlineClassName){const _=new $v(m,g.inlineClassName,g.inlineClassNameAffectsLetterSpacing?3:0),v=Math.max(o,m.startLineNumber),b=Math.min(r,m.endLineNumber);for(let C=v;C<=b;C++)d[C-o].push(_)}if(g.beforeContentClassName&&o<=m.startLineNumber&&m.startLineNumber<=r){const _=new $v(new x(m.startLineNumber,m.startColumn,m.startLineNumber,m.startColumn),g.beforeContentClassName,1);d[m.startLineNumber-o].push(_)}if(g.afterContentClassName&&o<=m.endLineNumber&&m.endLineNumber<=r){const _=new $v(new x(m.endLineNumber,m.endColumn,m.endLineNumber,m.endColumn),g.afterContentClassName,2);d[m.endLineNumber-o].push(_)}}return{decorations:a,inlineDecorations:d}}}function oO(s,e){return!(e.options.hideInCommentTokens&&rO(s,e)||e.options.hideInStringTokens&&aO(s,e))}function rO(s,e){return P$(s,e.range,t=>t===1)}function aO(s,e){return P$(s,e.range,t=>t===2)}function P$(s,e,t){for(let i=e.startLineNumber;i<=e.endLineNumber;i++){const n=s.tokenization.getLineTokens(i),o=i===e.startLineNumber,r=i===e.endLineNumber;let a=o?n.findTokenIndexAtOffset(e.startColumn-1):0;for(;a<n.getCount()&&!(r&&n.getStartOffset(a)>e.endColumn-1);){if(!t(n.getStandardTokenType(a)))return!1;a++}}return!0}function EI(s,e){return s===null?e?pD.INSTANCE:mD.INSTANCE:new J_e(s,e)}class J_e{constructor(e,t){this._projectionData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(e,t,i){this._assertVisible();const n=i>0?this._projectionData.breakOffsets[i-1]:0,o=this._projectionData.breakOffsets[i];let r;if(this._projectionData.injectionOffsets!==null){const a=this._projectionData.injectionOffsets.map((d,c)=>new al(0,0,d+1,this._projectionData.injectionOptions[c],0));r=al.applyInjectedText(e.getLineContent(t),a).substring(n,o)}else r=e.getValueInRange({startLineNumber:t,startColumn:n+1,endLineNumber:t,endColumn:o+1});return i>0&&(r=N8(this._projectionData.wrappedTextIndentLength)+r),r}getViewLineLength(e,t,i){return this._assertVisible(),this._projectionData.getLineLength(i)}getViewLineMinColumn(e,t,i){return this._assertVisible(),this._projectionData.getMinOutputOffset(i)+1}getViewLineMaxColumn(e,t,i){return this._assertVisible(),this._projectionData.getMaxOutputOffset(i)+1}getViewLineData(e,t,i){const n=new Array;return this.getViewLinesData(e,t,i,1,0,[!0],n),n[0]}getViewLinesData(e,t,i,n,o,r,a){this._assertVisible();const l=this._projectionData,d=l.injectionOffsets,c=l.injectionOptions;let u=null;if(d){u=[];let g=0,f=0;for(let m=0;m<l.getOutputLineCount();m++){const _=new Array;u[m]=_;const v=m>0?l.breakOffsets[m-1]:0,b=l.breakOffsets[m];for(;f<d.length;){const C=c[f].content.length,w=d[f]+g,y=w+C;if(w>b)break;if(v<y){const D=c[f];if(D.inlineClassName){const L=m>0?l.wrappedTextIndentLength:0,k=L+Math.max(w-v,0),I=L+Math.min(y-v,b-v);k!==I&&_.push(new iue(k,I,D.inlineClassName,D.inlineClassNameAffectsLetterSpacing))}}if(y<=b)g+=C,f++;else break}}}let h;d?h=e.tokenization.getLineTokens(t).withInserted(d.map((g,f)=>({offset:g,text:c[f].content,tokenMetadata:wn.defaultTokenMetadata}))):h=e.tokenization.getLineTokens(t);for(let g=i;g<i+n;g++){const f=o+g-i;if(!r[f]){a[f]=null;continue}a[f]=this._getViewLineData(h,u?u[g]:null,g)}}_getViewLineData(e,t,i){this._assertVisible();const n=this._projectionData,o=i>0?n.wrappedTextIndentLength:0,r=i>0?n.breakOffsets[i-1]:0,a=n.breakOffsets[i],l=e.sliceAndInflate(r,a,o);let d=l.getLineContent();i>0&&(d=N8(n.wrappedTextIndentLength)+d);const c=this._projectionData.getMinOutputOffset(i)+1,u=d.length+1,h=i+1<this.getViewLineCount(),g=i===0?0:n.breakOffsetsVisibleColumn[i-1];return new EF(d,h,c,u,g,l,t)}getModelColumnOfViewPosition(e,t){return this._assertVisible(),this._projectionData.translateToInputOffset(e,t-1)+1}getViewPositionOfModelPosition(e,t,i=2){return this._assertVisible(),this._projectionData.translateToOutputPosition(t-1,i).toPosition(e)}getViewLineNumberOfModelPosition(e,t){this._assertVisible();const i=this._projectionData.translateToOutputPosition(t-1);return e+i.outputLineIndex}normalizePosition(e,t,i){const n=t.lineNumber-e;return this._projectionData.normalizeOutputPosition(e,t.column-1,i).toPosition(n)}getInjectedTextAt(e,t){return this._projectionData.getInjectedText(e,t-1)}_assertVisible(){if(!this._isVisible)throw new Error(\"Not supported\")}}class pD{constructor(){}isVisible(){return!0}setVisible(e){return e?this:mD.INSTANCE}getProjectionData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,i){return e.getLineContent(t)}getViewLineLength(e,t,i){return e.getLineLength(t)}getViewLineMinColumn(e,t,i){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,i){return e.getLineMaxColumn(t)}getViewLineData(e,t,i){const n=e.tokenization.getLineTokens(t),o=n.getLineContent();return new EF(o,!1,1,o.length+1,0,n.inflate(),null)}getViewLinesData(e,t,i,n,o,r,a){if(!r[o]){a[o]=null;return}a[o]=this.getViewLineData(e,t,0)}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new W(e,t)}getViewLineNumberOfModelPosition(e,t){return e}normalizePosition(e,t,i){return t}getInjectedTextAt(e,t){return null}}pD.INSTANCE=new pD;class mD{constructor(){}isVisible(){return!1}setVisible(e){return e?pD.INSTANCE:this}getProjectionData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,i){throw new Error(\"Not supported\")}getViewLineLength(e,t,i){throw new Error(\"Not supported\")}getViewLineMinColumn(e,t,i){throw new Error(\"Not supported\")}getViewLineMaxColumn(e,t,i){throw new Error(\"Not supported\")}getViewLineData(e,t,i){throw new Error(\"Not supported\")}getViewLinesData(e,t,i,n,o,r,a){throw new Error(\"Not supported\")}getModelColumnOfViewPosition(e,t){throw new Error(\"Not supported\")}getViewPositionOfModelPosition(e,t){throw new Error(\"Not supported\")}getViewLineNumberOfModelPosition(e,t){throw new Error(\"Not supported\")}normalizePosition(e,t,i){throw new Error(\"Not supported\")}getInjectedTextAt(e,t){throw new Error(\"Not supported\")}}mD.INSTANCE=new mD;const II=[\"\"];function N8(s){if(s>=II.length)for(let e=1;e<=s;e++)II[e]=e0e(e);return II[s]}function e0e(s){return new Array(s+1).join(\" \")}class t0e{constructor(e,t,i,n,o,r,a,l,d,c){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=i,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=o,this.tabSize=r,this.wrappingStrategy=a,this.wrappingColumn=l,this.wrappingIndent=d,this.wordBreak=c,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new n0e(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const i=this.model.getLinesContent(),n=this.model.getInjectedTextDecorations(this._editorId),o=i.length,r=this.createLineBreaksComputer(),a=new Hc(al.fromDecorations(n));for(let m=0;m<o;m++){const _=a.takeWhile(v=>v.lineNumber===m+1);r.addRequest(i[m],_,t?t[m]:null)}const l=r.finalize(),d=[],c=this.hiddenAreasDecorationIds.map(m=>this.model.getDecorationRange(m)).sort(x.compareRangesUsingStarts);let u=1,h=0,g=-1,f=g+1<c.length?h+1:o+2;for(let m=0;m<o;m++){const _=m+1;_===f&&(g++,u=c[g].startLineNumber,h=c[g].endLineNumber,f=g+1<c.length?h+1:o+2);const v=_>=u&&_<=h,b=EI(l[m],!v);d[m]=b.getViewLineCount(),this.modelLineProjections[m]=b}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new Tde(d)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){const t=e.map(h=>this.model.validateRange(h)),i=i0e(t),n=this.hiddenAreasDecorationIds.map(h=>this.model.getDecorationRange(h)).sort(x.compareRangesUsingStarts);if(i.length===n.length){let h=!1;for(let g=0;g<i.length;g++)if(!i[g].equalsRange(n[g])){h=!0;break}if(!h)return!1}const o=i.map(h=>({range:h,options:Ye.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,o);const r=i;let a=1,l=0,d=-1,c=d+1<r.length?l+1:this.modelLineProjections.length+2,u=!1;for(let h=0;h<this.modelLineProjections.length;h++){const g=h+1;g===c&&(d++,a=r[d].startLineNumber,l=r[d].endLineNumber,c=d+1<r.length?l+1:this.modelLineProjections.length+2);let f=!1;if(g>=a&&g<=l?this.modelLineProjections[h].isVisible()&&(this.modelLineProjections[h]=this.modelLineProjections[h].setVisible(!1),f=!0):(u=!0,this.modelLineProjections[h].isVisible()||(this.modelLineProjections[h]=this.modelLineProjections[h].setVisible(!0),f=!0)),f){const m=this.modelLineProjections[h].getViewLineCount();this.projectedModelLineLineCounts.setValue(h,m)}}return u||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return e<1||e>this.modelLineProjections.length?!1:this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize===e?!1:(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n,o){const r=this.fontInfo.equals(e),a=this.wrappingStrategy===t,l=this.wrappingColumn===i,d=this.wrappingIndent===n,c=this.wordBreak===o;if(r&&a&&l&&d&&c)return!1;const u=r&&a&&!l&&d&&c;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n,this.wordBreak=o;let h=null;if(u){h=[];for(let g=0,f=this.modelLineProjections.length;g<f;g++)h[g]=this.modelLineProjections[g].getProjectionData()}return this._constructLines(!1,h),!0}createLineBreaksComputer(){return(this.wrappingStrategy===\"advanced\"?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent,this.wordBreak)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,i){if(!e||e<=this._validModelVersionId)return null;const n=t===1?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,o=this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections.splice(t-1,i-t+1),this.projectedModelLineLineCounts.removeValues(t-1,i-t+1),new YA(n,o)}onModelLinesInserted(e,t,i,n){if(!e||e<=this._validModelVersionId)return null;const o=t>2&&!this.modelLineProjections[t-2].isVisible(),r=t===1?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1;let a=0;const l=[],d=[];for(let c=0,u=n.length;c<u;c++){const h=EI(n[c],!o);l.push(h);const g=h.getViewLineCount();a+=g,d[c]=g}return this.modelLineProjections=this.modelLineProjections.slice(0,t-1).concat(l).concat(this.modelLineProjections.slice(t-1)),this.projectedModelLineLineCounts.insertValues(t-1,d),new QA(r,r+a-1)}onModelLineChanged(e,t,i){if(e!==null&&e<=this._validModelVersionId)return[!1,null,null,null];const n=t-1,o=this.modelLineProjections[n].getViewLineCount(),r=this.modelLineProjections[n].isVisible(),a=EI(i,r);this.modelLineProjections[n]=a;const l=this.modelLineProjections[n].getViewLineCount();let d=!1,c=0,u=-1,h=0,g=-1,f=0,m=-1;o>l?(c=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,u=c+l-1,f=u+1,m=f+(o-l)-1,d=!0):o<l?(c=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,u=c+o-1,h=u+1,g=h+(l-o)-1,d=!0):(c=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,u=c+l-1),this.projectedModelLineLineCounts.setValue(n,l);const _=c<=u?new M$(c,u-c+1):null,v=h<=g?new QA(h,g):null,b=f<=m?new YA(f,m):null;return[d,_,v,b]}acceptVersionId(e){this._validModelVersionId=e,this.modelLineProjections.length===1&&!this.modelLineProjections[0].isVisible()&&this.setHiddenAreas([])}getViewLineCount(){return this.projectedModelLineLineCounts.getTotalSum()}_toValidViewLineNumber(e){if(e<1)return 1;const t=this.getViewLineCount();return e>t?t:e|0}getActiveIndentGuide(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);const n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),a=this.model.guides.getActiveIndentGuide(n.lineNumber,o.lineNumber,r.lineNumber),l=this.convertModelPositionToViewPosition(a.startLineNumber,1),d=this.convertModelPositionToViewPosition(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber));return{startLineNumber:l.lineNumber,endLineNumber:d.lineNumber,indent:a.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);const t=this.projectedModelLineLineCounts.getIndexOf(e-1),i=t.index,n=t.remainder;return new A8(i+1,n)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){const t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new W(e.modelLineNumber,n)}getModelEndPositionOfViewLine(e){const t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new W(e.modelLineNumber,n)}getViewLineInfosGroupedByModelRanges(e,t){const i=this.getViewLineInfo(e),n=this.getViewLineInfo(t),o=new Array;let r=this.getModelStartPositionOfViewLine(i),a=new Array;for(let l=i.modelLineNumber;l<=n.modelLineNumber;l++){const d=this.modelLineProjections[l-1];if(d.isVisible()){const c=l===i.modelLineNumber?i.modelLineWrappedLineIdx:0,u=l===n.modelLineNumber?n.modelLineWrappedLineIdx+1:d.getViewLineCount();for(let h=c;h<u;h++)a.push(new A8(l,h))}if(!d.isVisible()&&r){const c=new W(l-1,this.model.getLineMaxColumn(l-1)+1),u=x.fromPositions(r,c);o.push(new M8(u,a)),a=[],r=null}else d.isVisible()&&!r&&(r=new W(l,1))}if(r){const l=x.fromPositions(r,this.getModelEndPositionOfViewLine(n));o.push(new M8(l,a))}return o}getViewLinesBracketGuides(e,t,i,n){const o=i?this.convertViewPositionToModelPosition(i.lineNumber,i.column):null,r=[];for(const a of this.getViewLineInfosGroupedByModelRanges(e,t)){const l=a.modelRange.startLineNumber,d=this.model.guides.getLinesBracketGuides(l,a.modelRange.endLineNumber,o,n);for(const c of a.viewLines){const h=d[c.modelLineNumber-l].map(g=>{if(g.forWrappedLinesAfterColumn!==-1&&this.modelLineProjections[c.modelLineNumber-1].getViewPositionOfModelPosition(0,g.forWrappedLinesAfterColumn).lineNumber>=c.modelLineWrappedLineIdx||g.forWrappedLinesBeforeOrAtColumn!==-1&&this.modelLineProjections[c.modelLineNumber-1].getViewPositionOfModelPosition(0,g.forWrappedLinesBeforeOrAtColumn).lineNumber<c.modelLineWrappedLineIdx)return;if(!g.horizontalLine)return g;let f=-1;if(g.column!==-1){const v=this.modelLineProjections[c.modelLineNumber-1].getViewPositionOfModelPosition(0,g.column);if(v.lineNumber===c.modelLineWrappedLineIdx)f=v.column;else if(v.lineNumber<c.modelLineWrappedLineIdx)f=this.getMinColumnOfViewLine(c);else if(v.lineNumber>c.modelLineWrappedLineIdx)return}const m=this.convertModelPositionToViewPosition(c.modelLineNumber,g.horizontalLine.endColumn),_=this.modelLineProjections[c.modelLineNumber-1].getViewPositionOfModelPosition(0,g.horizontalLine.endColumn);return _.lineNumber===c.modelLineWrappedLineIdx?new Yg(g.visibleColumn,f,g.className,new Gv(g.horizontalLine.top,m.column),-1,-1):_.lineNumber<c.modelLineWrappedLineIdx||g.visibleColumn!==-1?void 0:new Yg(g.visibleColumn,f,g.className,new Gv(g.horizontalLine.top,this.getMaxColumnOfViewLine(c)),-1,-1)});r.push(h.filter(g=>!!g))}}return r}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t));let o=[];const r=[],a=[],l=i.lineNumber-1,d=n.lineNumber-1;let c=null;for(let f=l;f<=d;f++){const m=this.modelLineProjections[f];if(m.isVisible()){const _=m.getViewLineNumberOfModelPosition(0,f===l?i.column:1),v=m.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(f+1)),b=v-_+1;let C=0;b>1&&m.getViewLineMinColumn(this.model,f+1,v)===1&&(C=_===0?1:2),r.push(b),a.push(C),c===null&&(c=new W(f+1,0))}else c!==null&&(o=o.concat(this.model.guides.getLinesIndentGuides(c.lineNumber,f)),c=null)}c!==null&&(o=o.concat(this.model.guides.getLinesIndentGuides(c.lineNumber,n.lineNumber)),c=null);const u=t-e+1,h=new Array(u);let g=0;for(let f=0,m=o.length;f<m;f++){let _=o[f];const v=Math.min(u-g,r[f]),b=a[f];let C;b===2?C=0:b===1?C=1:C=v;for(let w=0;w<v;w++)w===C&&(_=0),h[g++]=_}return h}getViewLineContent(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineContent(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineLength(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineLength(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineMinColumn(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineMinColumn(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineMaxColumn(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineMaxColumn(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineData(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineData(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLinesData(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const n=this.projectedModelLineLineCounts.getIndexOf(e-1);let o=e;const r=n.index,a=n.remainder,l=[];for(let d=r,c=this.model.getLineCount();d<c;d++){const u=this.modelLineProjections[d];if(!u.isVisible())continue;const h=d===r?a:0;let g=u.getViewLineCount()-h,f=!1;if(o+g>t&&(f=!0,g=t-o+1),u.getViewLinesData(this.model,d+1,h,g,o-e,i,l),o+=g,f)break}return l}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);const n=this.projectedModelLineLineCounts.getIndexOf(e-1),o=n.index,r=n.remainder,a=this.modelLineProjections[o],l=a.getViewLineMinColumn(this.model,o+1,r),d=a.getViewLineMaxColumn(this.model,o+1,r);t<l&&(t=l),t>d&&(t=d);const c=a.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new W(o+1,c)).equals(i)?new W(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)}validateViewRange(e,t){const i=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new x(i.lineNumber,i.column,n.lineNumber,n.column)}convertViewPositionToModelPosition(e,t){const i=this.getViewLineInfo(e),n=this.modelLineProjections[i.modelLineNumber-1].getModelColumnOfViewPosition(i.modelLineWrappedLineIdx,t);return this.model.validatePosition(new W(i.modelLineNumber,n))}convertViewRangeToModelRange(e){const t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new x(t.lineNumber,t.column,i.lineNumber,i.column)}convertModelPositionToViewPosition(e,t,i=2,n=!1,o=!1){const r=this.model.validatePosition(new W(e,t)),a=r.lineNumber,l=r.column;let d=a-1,c=!1;if(o)for(;d<this.modelLineProjections.length&&!this.modelLineProjections[d].isVisible();)d++,c=!0;else for(;d>0&&!this.modelLineProjections[d].isVisible();)d--,c=!0;if(d===0&&!this.modelLineProjections[d].isVisible())return new W(n?0:1,1);const u=1+this.projectedModelLineLineCounts.getPrefixSum(d);let h;return c?o?h=this.modelLineProjections[d].getViewPositionOfModelPosition(u,1,i):h=this.modelLineProjections[d].getViewPositionOfModelPosition(u,this.model.getLineMaxColumn(d+1),i):h=this.modelLineProjections[a-1].getViewPositionOfModelPosition(u,l,i),h}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){const i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return x.fromPositions(i)}else{const i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new x(i.lineNumber,i.column,n.lineNumber,n.column)}}getViewLineNumberOfModelPosition(e,t){let i=e-1;if(this.modelLineProjections[i].isVisible()){const o=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(o,t)}for(;i>0&&!this.modelLineProjections[i].isVisible();)i--;if(i===0&&!this.modelLineProjections[i].isVisible())return 1;const n=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(n,this.model.getLineMaxColumn(i+1))}getDecorationsInRange(e,t,i,n,o){const r=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),a=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(a.lineNumber-r.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new x(r.lineNumber,1,a.lineNumber,a.column),t,i,n,o);let l=[];const d=r.lineNumber-1,c=a.lineNumber-1;let u=null;for(let m=d;m<=c;m++)if(this.modelLineProjections[m].isVisible())u===null&&(u=new W(m+1,m===d?r.column:1));else if(u!==null){const v=this.model.getLineMaxColumn(m);l=l.concat(this.model.getDecorationsInRange(new x(u.lineNumber,u.column,m,v),t,i,n)),u=null}u!==null&&(l=l.concat(this.model.getDecorationsInRange(new x(u.lineNumber,u.column,a.lineNumber,a.column),t,i,n)),u=null),l.sort((m,_)=>{const v=x.compareRangesUsingStarts(m.range,_.range);return v===0?m.id<_.id?-1:m.id>_.id?1:0:v});const h=[];let g=0,f=null;for(const m of l){const _=m.id;f!==_&&(f=_,h[g++]=m)}return h}getInjectedTextAt(e){const t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){const i=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[i.modelLineNumber-1].normalizePosition(i.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){const t=this.getViewLineInfo(e);return t.modelLineWrappedLineIdx===0?this.model.getLineIndentColumn(t.modelLineNumber):0}}function i0e(s){if(s.length===0)return[];const e=s.slice();e.sort(x.compareRangesUsingStarts);const t=[];let i=e[0].startLineNumber,n=e[0].endLineNumber;for(let o=1,r=e.length;o<r;o++){const a=e[o];a.startLineNumber>n+1?(t.push(new x(i,1,n,1)),i=a.startLineNumber,n=a.endLineNumber):a.endLineNumber>n&&(n=a.endLineNumber)}return t.push(new x(i,1,n,1)),t}class A8{constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}}class M8{constructor(e,t){this.modelRange=e,this.viewLines=t}}class n0e{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t,i,n){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t,i,n)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class s0e{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new o0e(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){const e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new YA(t,i)}onModelLinesInserted(e,t,i,n){return new QA(t,i)}onModelLineChanged(e,t,i){return[!1,new M$(t,1),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,i){return new Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){const i=t-e+1,n=new Array(i);for(let o=0;o<i;o++)n[o]=0;return n}getViewLineContent(e){return this.model.getLineContent(e)}getViewLineLength(e){return this.model.getLineLength(e)}getViewLineMinColumn(e){return this.model.getLineMinColumn(e)}getViewLineMaxColumn(e){return this.model.getLineMaxColumn(e)}getViewLineData(e){const t=this.model.tokenization.getLineTokens(e),i=t.getLineContent();return new EF(i,!1,1,i.length+1,0,t.inflate(),null)}getViewLinesData(e,t,i){const n=this.model.getLineCount();e=Math.min(Math.max(1,e),n),t=Math.min(Math.max(1,t),n);const o=[];for(let r=e;r<=t;r++){const a=r-e;o[a]=i[a]?this.getViewLineData(r):null}return o}getDecorationsInRange(e,t,i,n,o){return this.model.getDecorationsInRange(e,t,i,n,o)}normalizePosition(e,t){return this.model.normalizePosition(e,t)}getLineIndentColumn(e){return this.model.getLineIndentColumn(e)}getInjectedTextAt(e){return null}}class o0e{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){const t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}const bg=bd.Right;class r0e{constructor(e){this.persist=0,this._requiredLanes=1,this.lanes=new Uint8Array(Math.ceil((e+1)*bg/8))}reset(e){const t=Math.ceil((e+1)*bg/8);this.lanes.length<t?this.lanes=new Uint8Array(t):this.lanes.fill(0),this._requiredLanes=1}get requiredLanes(){return this._requiredLanes}push(e,t,i){i&&(this.persist|=1<<e-1);for(let n=t.startLineNumber;n<=t.endLineNumber;n++){const o=bg*n+(e-1);this.lanes[o>>>3]|=1<<o%8,this._requiredLanes=Math.max(this._requiredLanes,this.countAtLine(n))}}getLanesAtLine(e){const t=[];let i=bg*e;for(let n=0;n<bg;n++)(this.persist&1<<n||this.lanes[i>>>3]&1<<i%8)&&t.push(n+1),i++;return t.length?t:[bd.Center]}countAtLine(e){let t=bg*e,i=0;for(let n=0;n<bg;n++)(this.persist&1<<n||this.lanes[t>>>3]&1<<t%8)&&i++,t++;return i}}let a0e=class extends H{constructor(e,t,i,n,o,r,a,l,d){if(super(),this.languageConfigurationService=a,this._themeService=l,this._attachedView=d,this.hiddenAreasModel=new d0e,this.previousHiddenAreas=[],this._editorId=e,this._configuration=t,this.model=i,this._eventDispatcher=new N_e,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new Ep(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._updateConfigurationViewLineCount=this._register(new Wt(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=lO.create(this.model),this.glyphLanes=new r0e(0),this.model.isTooLargeForTokenization())this._lines=new s0e(this.model);else{const c=this._configuration.options,u=c.get(50),h=c.get(139),g=c.get(146),f=c.get(138),m=c.get(129);this._lines=new t0e(this._editorId,this.model,n,o,u,this.model.getOptions().tabSize,h,g.wrappingColumn,f,m)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new z_e(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new Y_e(this._configuration,this.getLineCount(),r)),this._register(this.viewLayout.onDidScroll(c=>{c.scrollTopChanged&&this._handleVisibleLinesChanged(),c.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new x_e(c)),this._eventDispatcher.emitOutgoingEvent(new sO(c.oldScrollWidth,c.oldScrollLeft,c.oldScrollHeight,c.oldScrollTop,c.scrollWidth,c.scrollLeft,c.scrollHeight,c.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(c=>{this._eventDispatcher.emitOutgoingEvent(c)})),this._decorations=new Q_e(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(c=>{try{const u=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(u,c)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(D1.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new I_e)})),this._register(this._themeService.onDidColorThemeChange(c=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new k_e(c))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){const e=this.viewLayout.getLinesViewportData(),t=new x(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber));return this._toModelVisibleRanges(t)}visibleLinesStabilized(){const e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!0)}_handleVisibleLinesChanged(){const e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!1)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new D_e(e)),this._eventDispatcher.emitOutgoingEvent(new nO(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new C_e)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new w_e)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){const e=new W(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),t=this.coordinatesConverter.convertViewPositionToModelPosition(e);return new P8(t,this._viewportStart.startLineDelta)}return new P8(null,0)}_onConfigurationChanged(e,t){const i=this._captureStableViewport(),n=this._configuration.options,o=n.get(50),r=n.get(139),a=n.get(146),l=n.get(138),d=n.get(129);this._lines.setWrappingSettings(o,r,a.wrappingColumn,l,d)&&(e.emitViewEvent(new Fw),e.emitViewEvent(new Ow),e.emitViewEvent(new vg(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(91)&&(this._decorations.reset(),e.emitViewEvent(new vg(null))),t.hasChanged(98)&&(this._decorations.reset(),e.emitViewEvent(new vg(null))),e.emitViewEvent(new y_e(t)),this.viewLayout.onConfigurationChanged(t),i.recoverViewportStart(this.coordinatesConverter,this.viewLayout),Ep.shouldRecreate(t)&&(this.cursorConfig=new Ep(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{const i=this._eventDispatcher.beginEmitViewEvents();let n=!1,o=!1;const r=e instanceof cf?e.rawContentChangedEvent.changes:e.changes,a=e instanceof cf?e.rawContentChangedEvent.versionId:null,l=this._lines.createLineBreaksComputer();for(const u of r)switch(u.changeType){case 4:{for(let h=0;h<u.detail.length;h++){const g=u.detail[h];let f=u.injectedTexts[h];f&&(f=f.filter(m=>!m.ownerId||m.ownerId===this._editorId)),l.addRequest(g,f,null)}break}case 2:{let h=null;u.injectedText&&(h=u.injectedText.filter(g=>!g.ownerId||g.ownerId===this._editorId)),l.addRequest(u.detail,h,null);break}}const d=l.finalize(),c=new Hc(d);for(const u of r)switch(u.changeType){case 1:{this._lines.onModelFlushed(),i.emitViewEvent(new Fw),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),n=!0;break}case 3:{const h=this._lines.onModelLinesDeleted(a,u.fromLineNumber,u.toLineNumber);h!==null&&(i.emitViewEvent(h),this.viewLayout.onLinesDeleted(h.fromLineNumber,h.toLineNumber)),n=!0;break}case 4:{const h=c.takeCount(u.detail.length),g=this._lines.onModelLinesInserted(a,u.fromLineNumber,u.toLineNumber,h);g!==null&&(i.emitViewEvent(g),this.viewLayout.onLinesInserted(g.fromLineNumber,g.toLineNumber)),n=!0;break}case 2:{const h=c.dequeue(),[g,f,m,_]=this._lines.onModelLineChanged(a,u.lineNumber,h);o=g,f&&i.emitViewEvent(f),m&&(i.emitViewEvent(m),this.viewLayout.onLinesInserted(m.fromLineNumber,m.toLineNumber)),_&&(i.emitViewEvent(_),this.viewLayout.onLinesDeleted(_.fromLineNumber,_.toLineNumber));break}case 5:break}a!==null&&this._lines.acceptVersionId(a),this.viewLayout.onHeightMaybeChanged(),!n&&o&&(i.emitViewEvent(new Ow),i.emitViewEvent(new vg(null)),this._cursor.onLineMappingChanged(i),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}const t=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&t){const i=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(i){const n=this.coordinatesConverter.convertModelPositionToViewPosition(i.getStartPosition()),o=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber);this.viewLayout.setScrollPosition({scrollTop:o+this._viewportStart.startLineDelta},1)}}try{const i=this._eventDispatcher.beginEmitViewEvents();e instanceof cf&&i.emitOutgoingEvent(new W_e(e.contentChangedEvent)),this._cursor.onModelContentChanged(i,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(e=>{const t=[];for(let i=0,n=e.ranges.length;i<n;i++){const o=e.ranges[i],r=this.coordinatesConverter.convertModelPositionToViewPosition(new W(o.fromLineNumber,1)).lineNumber,a=this.coordinatesConverter.convertModelPositionToViewPosition(new W(o.toLineNumber,this.model.getLineMaxColumn(o.toLineNumber))).lineNumber;t[i]={fromLineNumber:r,toLineNumber:a}}this._eventDispatcher.emitSingleViewEvent(new E_e(t)),this._eventDispatcher.emitOutgoingEvent(new V_e(e))})),this._register(this.model.onDidChangeLanguageConfiguration(e=>{this._eventDispatcher.emitSingleViewEvent(new L_e),this.cursorConfig=new Ep(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new B_e(e))})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new Ep(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new O_e(e))})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const t=this._eventDispatcher.beginEmitViewEvents();t.emitViewEvent(new Fw),t.emitViewEvent(new Ow),t.emitViewEvent(new vg(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new Ep(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new H_e(e))})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new vg(e)),this._eventDispatcher.emitOutgoingEvent(new F_e(e))}))}setHiddenAreas(e,t){var i;this.hiddenAreasModel.setHiddenAreas(t,e);const n=this.hiddenAreasModel.getMergedRanges();if(n===this.previousHiddenAreas)return;this.previousHiddenAreas=n;const o=this._captureStableViewport();let r=!1;try{const a=this._eventDispatcher.beginEmitViewEvents();r=this._lines.setHiddenAreas(n),r&&(a.emitViewEvent(new Fw),a.emitViewEvent(new Ow),a.emitViewEvent(new vg(null)),this._cursor.onLineMappingChanged(a),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged());const l=(i=o.viewportStartModelPosition)===null||i===void 0?void 0:i.lineNumber;l&&n.some(c=>c.startLineNumber<=l&&l<=c.endLineNumber)||o.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),r&&this._eventDispatcher.emitOutgoingEvent(new R_e)}getVisibleRangesPlusViewportAboveBelow(){const e=this._configuration.options.get(145),t=this._configuration.options.get(67),i=Math.max(20,Math.round(e.height/t)),n=this.viewLayout.getLinesViewportData(),o=Math.max(1,n.completelyVisibleStartLineNumber-i),r=Math.min(this.getLineCount(),n.completelyVisibleEndLineNumber+i);return this._toModelVisibleRanges(new x(o,this.getLineMinColumn(o),r,this.getLineMaxColumn(r)))}getVisibleRanges(){const e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(e){const t=this.coordinatesConverter.convertViewRangeToModelRange(e),i=this._lines.getHiddenAreas();if(i.length===0)return[t];const n=[];let o=0,r=t.startLineNumber,a=t.startColumn;const l=t.endLineNumber,d=t.endColumn;for(let c=0,u=i.length;c<u;c++){const h=i[c].startLineNumber,g=i[c].endLineNumber;g<r||h>l||(r<h&&(n[o++]=new x(r,a,h-1,this.model.getLineMaxColumn(h-1))),r=g+1,a=1)}return(r<l||r===l&&a<d)&&(n[o++]=new x(r,a,l,d)),n}getCompletelyVisibleViewRange(){const e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,i=e.completelyVisibleEndLineNumber;return new x(t,this.getLineMinColumn(t),i,this.getLineMaxColumn(i))}getCompletelyVisibleViewRangeAtScrollTop(e){const t=this.viewLayout.getLinesViewportDataAtScrollTop(e),i=t.completelyVisibleStartLineNumber,n=t.completelyVisibleEndLineNumber;return new x(i,this.getLineMinColumn(i),n,this.getLineMaxColumn(n))}saveState(){const e=this.viewLayout.saveState(),t=e.scrollTop,i=this.viewLayout.getLineNumberAtVerticalOffset(t),n=this.coordinatesConverter.convertViewPositionToModelPosition(new W(i,this.getLineMinColumn(i))),o=this.viewLayout.getVerticalOffsetForLineNumber(i)-t;return{scrollLeft:e.scrollLeft,firstPosition:n,firstPositionDeltaTop:o}}reduceRestoreState(e){if(typeof e.firstPosition>\"u\")return this._reduceRestoreStateCompatibility(e);const t=this.model.validatePosition(e.firstPosition),i=this.coordinatesConverter.convertModelPositionToViewPosition(t),n=this.viewLayout.getVerticalOffsetForLineNumber(i.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:n}}_reduceRestoreStateCompatibility(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(e,t,i){this._viewportStart.update(this,e)}getActiveIndentGuide(e,t,i){return this._lines.getActiveIndentGuide(e,t,i)}getLinesIndentGuides(e,t){return this._lines.getViewLinesIndentGuides(e,t)}getBracketGuidesInRangeByLine(e,t,i,n){return this._lines.getViewLinesBracketGuides(e,t,i,n)}getLineContent(e){return this._lines.getViewLineContent(e)}getLineLength(e){return this._lines.getViewLineLength(e)}getLineMinColumn(e){return this._lines.getViewLineMinColumn(e)}getLineMaxColumn(e){return this._lines.getViewLineMaxColumn(e)}getLineFirstNonWhitespaceColumn(e){const t=Cs(this.getLineContent(e));return t===-1?0:t+1}getLineLastNonWhitespaceColumn(e){const t=Ya(this.getLineContent(e));return t===-1?0:t+2}getMinimapDecorationsInRange(e){return this._decorations.getMinimapDecorationsInRange(e)}getDecorationsInViewport(e){return this._decorations.getDecorationsViewportData(e).decorations}getInjectedTextAt(e){return this._lines.getInjectedTextAt(e)}getViewportViewLineRenderingData(e,t){const n=this._decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return this._getViewLineRenderingData(t,n)}getViewLineRenderingData(e){const t=this._decorations.getInlineDecorationsOnLine(e);return this._getViewLineRenderingData(e,t)}_getViewLineRenderingData(e,t){const i=this.model.mightContainRTL(),n=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this._lines.getViewLineData(e);return r.inlineDecorations&&(t=[...t,...r.inlineDecorations.map(a=>a.toInlineDecoration(e))]),new lr(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,i,n,r.tokens,t,o,r.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){const n=this._lines.getViewLinesData(e,t,i);return new tue(this.getTabSize(),n)}getAllOverviewRulerDecorations(e){const t=this.model.getOverviewRulerDecorations(this._editorId,TS(this._configuration.options)),i=new l0e;for(const n of t){const o=n.options,r=o.overviewRuler;if(!r)continue;const a=r.position;if(a===0)continue;const l=r.getColor(e.value),d=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.startLineNumber,n.range.startColumn),c=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.endLineNumber,n.range.endColumn);i.accept(l,o.zIndex,d,c,a)}return i.asArray}_invalidateDecorationsColorCache(){const e=this.model.getOverviewRulerDecorations();for(const t of e){const i=t.options.overviewRuler;i==null||i.invalidateCachedColor();const n=t.options.minimap;n==null||n.invalidateCachedColor()}}getValueInRange(e,t){const i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(i,t)}getValueLengthInRange(e,t){const i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueLengthInRange(i,t)}modifyPosition(e,t){const i=this.coordinatesConverter.convertViewPositionToModelPosition(e),n=this.model.modifyPosition(i,t);return this.coordinatesConverter.convertModelPositionToViewPosition(n)}deduceModelPositionRelativeToViewPosition(e,t,i){const n=this.coordinatesConverter.convertViewPositionToModelPosition(e);this.model.getEOL().length===2&&(t<0?t-=i:t+=i);const r=this.model.getOffsetAt(n)+t;return this.model.getPositionAt(r)}getPlainTextToCopy(e,t,i){const n=i?`\\r\n`:this.model.getEOL();e=e.slice(0),e.sort(x.compareRangesUsingStarts);let o=!1,r=!1;for(const l of e)l.isEmpty()?o=!0:r=!0;if(!r){if(!t)return\"\";const l=e.map(c=>c.startLineNumber);let d=\"\";for(let c=0;c<l.length;c++)c>0&&l[c-1]===l[c]||(d+=this.model.getLineContent(l[c])+n);return d}if(o&&t){const l=[];let d=0;for(const c of e){const u=c.startLineNumber;c.isEmpty()?u!==d&&l.push(this.model.getLineContent(u)):l.push(this.model.getValueInRange(c,i?2:0)),d=u}return l.length===1?l[0]:l}const a=[];for(const l of e)l.isEmpty()||a.push(this.model.getValueInRange(l,i?2:0));return a.length===1?a[0]:a}getRichTextToCopy(e,t){const i=this.model.getLanguageId();if(i===ir||e.length!==1)return null;let n=e[0];if(n.isEmpty()){if(!t)return null;const c=n.startLineNumber;n=new x(c,this.model.getLineMinColumn(c),c,this.model.getLineMaxColumn(c))}const o=this._configuration.options.get(50),r=this._getColorMap(),l=/[:;\\\\\\/<>]/.test(o.fontFamily)||o.fontFamily===co.fontFamily;let d;return l?d=co.fontFamily:(d=o.fontFamily,d=d.replace(/\"/g,\"'\"),/[,']/.test(d)||/[+ ]/.test(d)&&(d=`'${d}'`),d=`${d}, ${co.fontFamily}`),{mode:i,html:`<div style=\"color: ${r[1]};background-color: ${r[2]};font-family: ${d};font-weight: ${o.fontWeight};font-size: ${o.fontSize}px;line-height: ${o.lineHeight}px;white-space: pre;\">`+this._getHTMLToCopy(n,r)+\"</div>\"}}_getHTMLToCopy(e,t){const i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn,a=this.getTabSize();let l=\"\";for(let d=i;d<=o;d++){const c=this.model.tokenization.getLineTokens(d),u=c.getLineContent(),h=d===i?n-1:0,g=d===o?r-1:u.length;u===\"\"?l+=\"<br>\":l+=K_e(u,c.inflate(),t,h,g,a,as)}return l}_getColorMap(){const e=Ki.getColorMap(),t=[\"#000000\"];if(e)for(let i=1,n=e.length;i<n;i++)t[i]=$.Format.CSS.formatHex(e[i]);return t}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(e,t,i){return this._withViewEventsCollector(n=>this._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new P_e);return}this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,o){this._executeCursorEdit(r=>this._cursor.compositionType(r,e,t,i,n,o))}paste(e,t,i,n){this._executeCursorEdit(o=>this._cursor.paste(o,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealAllCursors(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealAll(n,e,i,0,t,0))}revealPrimaryCursor(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,i,0,t,0))}revealTopMostCursor(e){const t=this._cursor.getTopMostViewPosition(),i=new x(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(n=>n.emitViewEvent(new nb(e,!1,i,null,0,!0,0)))}revealBottomMostCursor(e){const t=this._cursor.getBottomMostViewPosition(),i=new x(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(n=>n.emitViewEvent(new nb(e,!1,i,null,0,!0,0)))}revealRange(e,t,i,n,o){this._withViewEventsCollector(r=>r.emitViewEvent(new nb(e,!1,i,null,n,t,o)))}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new T_e),this._eventDispatcher.emitOutgoingEvent(new M_e))}_withViewEventsCollector(e){try{const t=this._eventDispatcher.beginEmitViewEvents();return e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}batchEvents(e){this._withViewEventsCollector(()=>{e()})}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}};class lO{static create(e){const t=e._setTrackedRange(null,new x(1,1,1,1),1);return new lO(e,1,!1,t,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(e,t,i,n,o){this._model=e,this._viewLineNumber=t,this._isValid=i,this._modelTrackedRange=n,this._startLineDelta=o}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(e,t){const i=e.coordinatesConverter.convertViewPositionToModelPosition(new W(t,e.getLineMinColumn(t))),n=e.model._setTrackedRange(this._modelTrackedRange,new x(i.lineNumber,i.column,i.lineNumber,i.column),1),o=e.viewLayout.getVerticalOffsetForLineNumber(t),r=e.viewLayout.getCurrentScrollTop();this._viewLineNumber=t,this._isValid=!0,this._modelTrackedRange=n,this._startLineDelta=r-o}invalidate(){this._isValid=!1}}class l0e{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,i,n,o){const r=this._asMap[e];if(r){const a=r.data,l=a[a.length-3],d=a[a.length-1];if(l===o&&d+1>=i){n>d&&(a[a.length-1]=n);return}a.push(o,i,n)}else{const a=new $b(e,t,[o,i,n]);this._asMap[e]=a,this.asArray.push(a)}}}class d0e{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(e,t){const i=this.hiddenAreas.get(e);i&&R8(i,t)||(this.hiddenAreas.set(e,t),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;const e=Array.from(this.hiddenAreas.values()).reduce((t,i)=>c0e(t,i),[]);return R8(this.ranges,e)?this.ranges:(this.ranges=e,this.ranges)}}function c0e(s,e){const t=[];let i=0,n=0;for(;i<s.length&&n<e.length;){const o=s[i],r=e[n];if(o.endLineNumber<r.startLineNumber-1)t.push(s[i++]);else if(r.endLineNumber<o.startLineNumber-1)t.push(e[n++]);else{const a=Math.min(o.startLineNumber,r.startLineNumber),l=Math.max(o.endLineNumber,r.endLineNumber);t.push(new x(a,1,l,1)),i++,n++}}for(;i<s.length;)t.push(s[i++]);for(;n<e.length;)t.push(e[n++]);return t}function R8(s,e){if(s.length!==e.length)return!1;for(let t=0;t<s.length;t++)if(!s[t].equalsRange(e[t]))return!1;return!0}class P8{constructor(e,t){this.viewportStartModelPosition=e,this.startLineDelta=t}recoverViewportStart(e,t){if(!this.viewportStartModelPosition)return;const i=e.convertModelPositionToViewPosition(this.viewportStartModelPosition),n=t.getVerticalOffsetForLineNumber(i.lineNumber);t.setScrollPosition({scrollTop:n+this.startLineDelta},1)}}class L1{constructor(...e){this._entries=new Map;for(const[t,i]of e)this.set(t,i)}set(e,t){const i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}var aC;(function(s){s[s.Ignore=0]=\"Ignore\",s[s.Info=1]=\"Info\",s[s.Warning=2]=\"Warning\",s[s.Error=3]=\"Error\"})(aC||(aC={}));(function(s){const e=\"error\",t=\"warning\",i=\"warn\",n=\"info\",o=\"ignore\";function r(l){return l?em(e,l)?s.Error:em(t,l)||em(i,l)?s.Warning:em(n,l)?s.Info:s.Ignore:s.Ignore}s.fromValue=r;function a(l){switch(l){case s.Error:return e;case s.Warning:return t;case s.Info:return n;default:return o}}s.toString=a})(aC||(aC={}));const Bi=aC;var Rx=Bi;const en=ut(\"notificationService\");class u0e{}var h0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Hd=function(s,e){return function(t,i){e(t,i,s)}},Ng;let y_=Ng=class extends H{get isSimpleWidget(){return this._configuration.isSimpleWidget}get contextMenuId(){return this._configuration.contextMenuId}constructor(e,t,i,n,o,r,a,l,d,c,u,h){var g,f;super(),this.languageConfigurationService=u,this._deliveryQueue=qoe(),this._contributions=this._register(new $pe),this._onDidDispose=this._register(new B),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeModelTokens=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelTokens=this._onDidChangeModelTokens.event,this._onDidChangeConfiguration=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onWillChangeModel=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onWillChangeModel=this._onWillChangeModel.event,this._onDidChangeModel=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new us(this._contributions,this._deliveryQueue)),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new F8({deliveryQueue:this._deliveryQueue})),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new F8({deliveryQueue:this._deliveryQueue})),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new us(this._contributions,this._deliveryQueue)),this.onWillType=this._onWillType.event,this._onDidType=this._register(new us(this._contributions,this._deliveryQueue)),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new us(this._contributions,this._deliveryQueue)),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new us(this._contributions,this._deliveryQueue)),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new us(this._contributions,this._deliveryQueue)),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseDrop=this._onMouseDrop.event,this._onMouseDropCanceled=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseDropCanceled=this._onMouseDropCanceled.event,this._onDropIntoEditor=this._register(new us(this._contributions,this._deliveryQueue)),this.onDropIntoEditor=this._onDropIntoEditor.event,this._onContextMenu=this._register(new us(this._contributions,this._deliveryQueue)),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new us(this._contributions,this._deliveryQueue)),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new us(this._contributions,this._deliveryQueue)),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new us(this._contributions,this._deliveryQueue)),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeViewZones=this._onDidChangeViewZones.event,this._onDidChangeHiddenAreas=this._register(new B({deliveryQueue:this._deliveryQueue})),this.onDidChangeHiddenAreas=this._onDidChangeHiddenAreas.event,this._actions=new Map,this._bannerDomNode=null,this._dropIntoEditorDecorations=this.createDecorationsCollection(),o.willCreateCodeEditor();const m={...t};this._domElement=e,this._overflowWidgetsDomNode=m.overflowWidgetsDomNode,delete m.overflowWidgetsDomNode,this._id=++g0e,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this._telemetryData=i.telemetryData,this._configuration=this._register(this._createConfiguration(i.isSimpleWidget||!1,(g=i.contextMenuId)!==null&&g!==void 0?g:i.isSimpleWidget?E.SimpleEditorContext:E.EditorContext,m,c)),this._register(this._configuration.onDidChange(b=>{this._onDidChangeConfiguration.fire(b);const C=this._configuration.options;if(b.hasChanged(145)){const w=C.get(145);this._onDidLayoutChange.fire(w)}})),this._contextKeyService=this._register(a.createScoped(this._domElement)),this._notificationService=d,this._codeEditorService=o,this._commandService=r,this._themeService=l,this._register(new p0e(this,this._contextKeyService)),this._register(new m0e(this,this._contextKeyService,h)),this._instantiationService=n.createChild(new L1([Be,this._contextKeyService])),this._modelData=null,this._focusTracker=new _0e(e,this._overflowWidgetsDomNode),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={};let _;Array.isArray(i.contributions)?_=i.contributions:_=Im.getEditorContributions(),this._contributions.initialize(this,_,this._instantiationService);for(const b of Im.getEditorActions()){if(this._actions.has(b.id)){Xe(new Error(`Cannot have two actions with the same id ${b.id}`));continue}const C=new u$(b.id,b.label,b.alias,b.metadata,(f=b.precondition)!==null&&f!==void 0?f:void 0,w=>this._instantiationService.invokeFunction(y=>Promise.resolve(b.runEditorCommand(y,this,w))),this._contextKeyService);this._actions.set(C.id,C)}const v=()=>!this._configuration.options.get(91)&&this._configuration.options.get(36).enabled;this._register(new ele(this._domElement,{onDragOver:b=>{if(!v())return;const C=this.getTargetAtClientPoint(b.clientX,b.clientY);C!=null&&C.position&&this.showDropIndicatorAt(C.position)},onDrop:async b=>{if(!v()||(this.removeDropIndicator(),!b.dataTransfer))return;const C=this.getTargetAtClientPoint(b.clientX,b.clientY);C!=null&&C.position&&this._onDropIntoEditor.fire({position:C.position,event:b})},onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(e){var t;(t=this._modelData)===null||t===void 0||t.view.writeScreenReaderContent(e)}_createConfiguration(e,t,i,n){return new LA(e,t,i,this._domElement,n)}getId(){return this.getEditorType()+\":\"+this._id}getEditorType(){return p1.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e||{})}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?Et.getWordAtPosition(this._modelData.model,this._configuration.options.get(131),this._configuration.options.get(130),e):null}getValue(e=null){if(!this._modelData)return\"\";const t=!!(e&&e.preserveBOM);let i=0;return e&&e.lineEnding&&e.lineEnding===`\n`?i=1:e&&e.lineEnding&&e.lineEnding===`\\r\n`&&(i=2),this._modelData.model.getValue(i,t)}setValue(e){this._modelData&&this._modelData.model.setValue(e)}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){var t;const i=e;if(this._modelData===null&&i===null||this._modelData&&this._modelData.model===i)return;const n={oldModelUrl:((t=this._modelData)===null||t===void 0?void 0:t.model.uri)||null,newModelUrl:(i==null?void 0:i.uri)||null};this._onWillChangeModel.fire(n);const o=this.hasTextFocus(),r=this._detachModel();this._attachModel(i),o&&this.hasModel()&&this.focus(),this._removeDecorationTypes(),this._onDidChangeModel.fire(n),this._postDetachModelCleanup(r),this._contributionsDisposable=this._contributions.onAfterModelAttached()}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(const e in this._decorationTypeSubtypes){const t=this._decorationTypeSubtypes[e];for(const i in t)this._removeDecorationType(e+\"-\"+i)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(e,t,i,n){const o=e.model.validatePosition({lineNumber:t,column:i}),r=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(o);return e.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(r.lineNumber,n)}getTopForLineNumber(e,t=!1){return this._modelData?Ng._getVerticalOffsetForPosition(this._modelData,e,1,t):-1}getTopForPosition(e,t){return this._modelData?Ng._getVerticalOffsetForPosition(this._modelData,e,t,!1):-1}static _getVerticalOffsetForPosition(e,t,i,n=!1){const o=e.model.validatePosition({lineNumber:t,column:i}),r=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(o);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(r.lineNumber,n)}getBottomForLineNumber(e,t=!1){return this._modelData?Ng._getVerticalOffsetAfterPosition(this._modelData,e,1,t):-1}setHiddenAreas(e,t){var i;(i=this._modelData)===null||i===void 0||i.viewModel.setHiddenAreas(e.map(n=>x.lift(n)),t)}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;const t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize;return hn.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t=\"api\"){if(this._modelData){if(!W.isIPosition(e))throw new Error(\"Invalid arguments\");this._modelData.viewModel.setSelections(t,[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(!this._modelData)return;if(!x.isIRange(e))throw new Error(\"Invalid arguments\");const o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.viewModel.revealRange(\"api\",i,r,t,n)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if(typeof e!=\"number\")throw new Error(\"Invalid arguments\");this._sendRevealRange(new x(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!W.isIPosition(e))throw new Error(\"Invalid arguments\");this._sendRevealRange(new x(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t=\"api\"){const i=we.isISelection(e),n=x.isIRange(e);if(!i&&!n)throw new Error(\"Invalid arguments\");if(i)this._setSelectionImpl(e,t);else if(n){const o={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(o,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;const i=new we(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[i])}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if(typeof e!=\"number\"||typeof t!=\"number\")throw new Error(\"Invalid arguments\");this._sendRevealRange(new x(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!x.isIRange(e))throw new Error(\"Invalid arguments\");this._sendRevealRange(x.lift(e),t,i,n)}setSelections(e,t=\"api\",i=0){if(this._modelData){if(!e||e.length===0)throw new Error(\"Invalid arguments\");for(let n=0,o=e.length;n<o;n++)if(!we.isISelection(e[n]))throw new Error(\"Invalid arguments\");this._modelData.viewModel.setSelections(t,e,i)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(e,t=1){if(this._modelData){if(typeof e!=\"number\")throw new Error(\"Invalid arguments\");this._modelData.viewModel.viewLayout.setScrollPosition({scrollLeft:e},t)}}setScrollTop(e,t=1){if(this._modelData){if(typeof e!=\"number\")throw new Error(\"Invalid arguments\");this._modelData.viewModel.viewLayout.setScrollPosition({scrollTop:e},t)}}setScrollPosition(e,t=1){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPosition(e,t)}hasPendingScrollAnimation(){return this._modelData?this._modelData.viewModel.viewLayout.hasPendingScrollAnimation():!1}saveViewState(){if(!this._modelData)return null;const e=this._contributions.saveViewState(),t=this._modelData.viewModel.saveCursorState(),i=this._modelData.viewModel.saveState();return{cursorState:t,viewState:i,contributionsState:e}}restoreViewState(e){if(!this._modelData||!this._modelData.hasRealView)return;const t=e;if(t&&t.cursorState&&t.viewState){const i=t.cursorState;Array.isArray(i)?i.length>0&&this._modelData.viewModel.restoreCursorState(i):this._modelData.viewModel.restoreCursorState([i]),this._contributions.restoreViewState(t.contributionsState||{});const n=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(n)}}handleInitialized(){var e;(e=this._getViewModel())===null||e===void 0||e.visibleLinesStabilized()}getContribution(e){return this._contributions.get(e)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){let e=this.getActions();return e=e.filter(t=>t.isSupported()),e}getAction(e){return this._actions.get(e)||null}trigger(e,t,i){switch(i=i||{},t){case\"compositionStart\":this._startComposition();return;case\"compositionEnd\":this._endComposition(e);return;case\"type\":{const o=i;this._type(e,o.text||\"\");return}case\"replacePreviousChar\":{const o=i;this._compositionType(e,o.text||\"\",o.replaceCharCnt||0,0,0);return}case\"compositionType\":{const o=i;this._compositionType(e,o.text||\"\",o.replacePrevCharCnt||0,o.replaceNextCharCnt||0,o.positionDelta||0);return}case\"paste\":{const o=i;this._paste(e,o.text||\"\",o.pasteOnNewLine||!1,o.multicursorText||null,o.mode||null,o.clipboardEvent);return}case\"cut\":this._cut(e);return}const n=this.getAction(t);if(n){Promise.resolve(n.run(i)).then(void 0,Xe);return}this._modelData&&(this._triggerEditorCommand(e,t,i)||this._triggerCommand(t,i))}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){!this._modelData||t.length===0||(e===\"keyboard\"&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),e===\"keyboard\"&&this._onDidType.fire(t))}_compositionType(e,t,i,n,o){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,o,e)}_paste(e,t,i,n,o,r){if(!this._modelData)return;const a=this._modelData.viewModel,l=a.getSelection().getStartPosition();a.paste(t,i,n,e);const d=a.getSelection().getStartPosition();e===\"keyboard\"&&this._onDidPaste.fire({clipboardEvent:r,range:new x(l.lineNumber,l.column,d.lineNumber,d.column),languageId:o})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){const n=Im.getEditorCommand(t);return n?(i=i||{},i.source=e,this._instantiationService.invokeFunction(o=>{Promise.resolve(n.runEditorCommand(o,this,i)).then(void 0,Xe)}),!0):!1}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!this._modelData||this._configuration.options.get(91)?!1:(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!this._modelData||this._configuration.options.get(91)?!1:(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){if(!this._modelData||this._configuration.options.get(91))return!1;let n;return i?Array.isArray(i)?n=()=>i:n=i:n=()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}createDecorationsCollection(e){return new v0e(this,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,TS(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,TS(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?e.length===0&&t.length===0?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){!this._modelData||e.length===0||this._modelData.model.changeDecorations(t=>{t.deltaDecorations(e,[])})}removeDecorationsByType(e){const t=this._decorationTypeKeysToIds[e];t&&this.changeDecorations(i=>i.deltaDecorations(t,[])),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){return this._configuration.options.get(145)}createOverviewRuler(e){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.createOverviewRuler(e)}getContainerDomNode(){return this._domElement}getDomNode(){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.domNode.domNode}delegateVerticalScrollbarPointerDown(e){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateScrollFromMouseWheelEvent(e)}layout(e,t=!1){this._configuration.observeContainer(e),t||this.render()}focus(){!this._modelData||!this._modelData.hasRealView||this._modelData.view.focus()}hasTextFocus(){return!this._modelData||!this._modelData.hasRealView?!1:this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){const t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn(\"Overwriting a content widget with the same id:\"+e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const i=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(i)}}addOverlayWidget(e){const t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn(\"Overwriting an overlay widget with the same id.\"),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const i=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(i)}}addGlyphMarginWidget(e){const t={widget:e,position:e.getPosition()};this._glyphMarginWidgets.hasOwnProperty(e.getId())&&console.warn(\"Overwriting a glyph margin widget with the same id.\"),this._glyphMarginWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(t)}layoutGlyphMarginWidget(e){const t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){const i=this._glyphMarginWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(i)}}removeGlyphMarginWidget(e){const t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){const i=this._glyphMarginWidgets[t];delete this._glyphMarginWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(i)}}changeViewZones(e){!this._modelData||!this._modelData.hasRealView||this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.getTargetAtClientPoint(e,t)}getScrolledVisiblePosition(e){if(!this._modelData||!this._modelData.hasRealView)return null;const t=this._modelData.model.validatePosition(e),i=this._configuration.options,n=i.get(145),o=Ng._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),r=this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft();return{top:o,left:r,height:i.get(67)}}getOffsetForColumn(e,t){return!this._modelData||!this._modelData.hasRealView?-1:this._modelData.view.getOffsetForColumn(e,t)}render(e=!1){!this._modelData||!this._modelData.hasRealView||this._modelData.viewModel.batchEvents(()=>{this._modelData.view.render(!0,e)})}setAriaOptions(e){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(e)}applyFontInfo(e){Un(e,this._configuration.options.get(50))}setBanner(e,t){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=e,this._configuration.setReservedHeight(e?t:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(e){if(!e){this._modelData=null;return}const t=[];this._domElement.setAttribute(\"data-mode-id\",e.getLanguageId()),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setModelLineCount(e.getLineCount());const i=e.onBeforeAttached(),n=new a0e(this._id,this._configuration,e,$F.create(Te(this._domElement)),tO.create(this._configuration.options),a=>Ao(Te(this._domElement),a),this.languageConfigurationService,this._themeService,i);t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(a=>{switch(a.kind){case 0:this._onDidContentSizeChange.fire(a);break;case 1:this._editorTextFocus.setValue(a.hasFocus);break;case 2:this._onDidScrollChange.fire(a);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(a.reachedMaxCursorCount){const u=this.getOption(80),h=p(\"cursors.maximum\",\"The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.\",u);this._notificationService.prompt(Rx.Warning,h,[{label:\"Find and Replace\",run:()=>{this._commandService.executeCommand(\"editor.action.startFindReplaceAction\")}},{label:p(\"goToSetting\",\"Increase Multi Cursor Limit\"),run:()=>{this._commandService.executeCommand(\"workbench.action.openSettings2\",{query:\"editor.multiCursorLimit\"})}}])}const l=[];for(let u=0,h=a.selections.length;u<h;u++)l[u]=a.selections[u].getPosition();const d={position:l[0],secondaryPositions:l.slice(1),reason:a.reason,source:a.source};this._onDidChangeCursorPosition.fire(d);const c={selection:a.selections[0],secondarySelections:a.selections.slice(1),modelVersionId:a.modelVersionId,oldSelections:a.oldSelections,oldModelVersionId:a.oldModelVersionId,source:a.source,reason:a.reason};this._onDidChangeCursorSelection.fire(c);break}case 7:this._onDidChangeModelDecorations.fire(a.event);break;case 8:this._domElement.setAttribute(\"data-mode-id\",e.getLanguageId()),this._onDidChangeModelLanguage.fire(a.event);break;case 9:this._onDidChangeModelLanguageConfiguration.fire(a.event);break;case 10:this._onDidChangeModelContent.fire(a.event);break;case 11:this._onDidChangeModelOptions.fire(a.event);break;case 12:this._onDidChangeModelTokens.fire(a.event);break}}));const[o,r]=this._createView(n);if(r){this._domElement.appendChild(o.domNode.domNode);let a=Object.keys(this._contentWidgets);for(let l=0,d=a.length;l<d;l++){const c=a[l];o.addContentWidget(this._contentWidgets[c])}a=Object.keys(this._overlayWidgets);for(let l=0,d=a.length;l<d;l++){const c=a[l];o.addOverlayWidget(this._overlayWidgets[c])}a=Object.keys(this._glyphMarginWidgets);for(let l=0,d=a.length;l<d;l++){const c=a[l];o.addGlyphMarginWidget(this._glyphMarginWidgets[c])}o.render(!1,!0),o.domNode.domNode.setAttribute(\"data-uri\",e.uri.toString())}this._modelData=new f0e(e,n,o,r,t,i)}_createView(e){let t;this.isSimpleWidget?t={paste:(o,r,a,l)=>{this._paste(\"keyboard\",o,r,a,l)},type:o=>{this._type(\"keyboard\",o)},compositionType:(o,r,a,l)=>{this._compositionType(\"keyboard\",o,r,a,l)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition(\"keyboard\")},cut:()=>{this._cut(\"keyboard\")}}:t={paste:(o,r,a,l)=>{const d={text:o,pasteOnNewLine:r,multicursorText:a,mode:l};this._commandService.executeCommand(\"paste\",d)},type:o=>{const r={text:o};this._commandService.executeCommand(\"type\",r)},compositionType:(o,r,a,l)=>{if(a||l){const d={text:o,replacePrevCharCnt:r,replaceNextCharCnt:a,positionDelta:l};this._commandService.executeCommand(\"compositionType\",d)}else{const d={text:o,replaceCharCnt:r};this._commandService.executeCommand(\"replacePreviousChar\",d)}},startComposition:()=>{this._commandService.executeCommand(\"compositionStart\",{})},endComposition:()=>{this._commandService.executeCommand(\"compositionEnd\",{})},cut:()=>{this._commandService.executeCommand(\"cut\",{})}};const i=new Ix(e.coordinatesConverter);return i.onKeyDown=o=>this._onKeyDown.fire(o),i.onKeyUp=o=>this._onKeyUp.fire(o),i.onContextMenu=o=>this._onContextMenu.fire(o),i.onMouseMove=o=>this._onMouseMove.fire(o),i.onMouseLeave=o=>this._onMouseLeave.fire(o),i.onMouseDown=o=>this._onMouseDown.fire(o),i.onMouseUp=o=>this._onMouseUp.fire(o),i.onMouseDrag=o=>this._onMouseDrag.fire(o),i.onMouseDrop=o=>this._onMouseDrop.fire(o),i.onMouseDropCanceled=o=>this._onMouseDropCanceled.fire(o),i.onMouseWheel=o=>this._onMouseWheel.fire(o),[new OA(t,this._configuration,this._themeService.getColorTheme(),e,i,this._overflowWidgetsDomNode,this._instantiationService),!0]}_postDetachModelCleanup(e){e==null||e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){var e;if((e=this._contributionsDisposable)===null||e===void 0||e.dispose(),this._contributionsDisposable=void 0,!this._modelData)return null;const t=this._modelData.model,i=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute(\"data-mode-id\"),i&&this._domElement.contains(i)&&this._domElement.removeChild(i),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),t}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return this._modelData!==null}showDropIndicatorAt(e){const t=[{range:new x(e.lineNumber,e.column,e.lineNumber,e.column),options:Ng.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(t),this.revealPosition(e,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(e,t){this._contextKeyService.createKey(e,t)}};y_.dropIntoEditorDecorationOptions=Ye.register({description:\"workbench-dnd-target\",className:\"dnd-target\"});y_=Ng=h0e([Hd(3,Ne),Hd(4,xt),Hd(5,gi),Hd(6,Be),Hd(7,_n),Hd(8,en),Hd(9,gr),Hd(10,Yt),Hd(11,Ce)],y_);let g0e=0,f0e=class{constructor(e,t,i,n,o,r){this.model=e,this.viewModel=t,this.view=i,this.hasRealView=n,this.listenersToRemove=o,this.attachedView=r}dispose(){jt(this.listenersToRemove),this.model.onBeforeDetached(this.attachedView),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}};class F8 extends H{constructor(e){super(),this._emitterOptions=e,this._onDidChangeToTrue=this._register(new B(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new B(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){const t=e?2:1;this._value!==t&&(this._value=t,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}class us extends B{constructor(e,t){super({deliveryQueue:t}),this._contributions=e}fire(e){this._contributions.onBeforeInteractionEvent(),super.fire(e)}}class p0e extends H{constructor(e,t){super(),this._editor=e,t.createKey(\"editorId\",e.getId()),this._editorSimpleInput=T.editorSimpleInput.bindTo(t),this._editorFocus=T.focus.bindTo(t),this._textInputFocus=T.textInputFocus.bindTo(t),this._editorTextFocus=T.editorTextFocus.bindTo(t),this._tabMovesFocus=T.tabMovesFocus.bindTo(t),this._editorReadonly=T.readOnly.bindTo(t),this._inDiffEditor=T.inDiffEditor.bindTo(t),this._editorColumnSelection=T.columnSelection.bindTo(t),this._hasMultipleSelections=T.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=T.hasNonEmptySelection.bindTo(t),this._canUndo=T.canUndo.bindTo(t),this._canRedo=T.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(p_.onDidChangeTabFocus(i=>this._tabMovesFocus.set(i))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._tabMovesFocus.set(p_.getTabFocusMode()),this._editorReadonly.set(e.get(91)),this._inDiffEditor.set(e.get(61)),this._editorColumnSelection.set(e.get(22))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(t=>!t.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(!!(e&&e.canUndo())),this._canRedo.set(!!(e&&e.canRedo()))}}class m0e extends H{constructor(e,t,i){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=i,this._langId=T.languageId.bindTo(t),this._hasCompletionItemProvider=T.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=T.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=T.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=T.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=T.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=T.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=T.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=T.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=T.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=T.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=T.hasReferenceProvider.bindTo(t),this._hasRenameProvider=T.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=T.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=T.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=T.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=T.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=T.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=T.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInEmbeddedEditor=T.isInEmbeddedEditor.bindTo(t);const n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(i.completionProvider.onDidChange(n)),this._register(i.codeActionProvider.onDidChange(n)),this._register(i.codeLensProvider.onDidChange(n)),this._register(i.definitionProvider.onDidChange(n)),this._register(i.declarationProvider.onDidChange(n)),this._register(i.implementationProvider.onDidChange(n)),this._register(i.typeDefinitionProvider.onDidChange(n)),this._register(i.hoverProvider.onDidChange(n)),this._register(i.documentHighlightProvider.onDidChange(n)),this._register(i.documentSymbolProvider.onDidChange(n)),this._register(i.referenceProvider.onDidChange(n)),this._register(i.renameProvider.onDidChange(n)),this._register(i.documentFormattingEditProvider.onDidChange(n)),this._register(i.documentRangeFormattingEditProvider.onDidChange(n)),this._register(i.signatureHelpProvider.onDidChange(n)),this._register(i.inlayHintsProvider.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInEmbeddedEditor.reset()})}_update(){const e=this._editor.getModel();if(!e){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(e)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(e)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(e)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(e)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(e)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(e)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(e)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(e)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(e)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(e)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(e)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(e)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(e)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(e)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(e)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(e).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._isInEmbeddedEditor.set(e.uri.scheme===Ge.walkThroughSnippet||e.uri.scheme===Ge.vscodeChatCodeBlock)})}}class _0e extends H{constructor(e,t){super(),this._onChange=this._register(new B),this.onChange=this._onChange.event,this._hadFocus=void 0,this._hasDomElementFocus=!1,this._domFocusTracker=this._register(ba(e)),this._overflowWidgetsDomNodeHasFocus=!1,this._register(this._domFocusTracker.onDidFocus(()=>{this._hasDomElementFocus=!0,this._update()})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasDomElementFocus=!1,this._update()})),t&&(this._overflowWidgetsDomNode=this._register(ba(t)),this._register(this._overflowWidgetsDomNode.onDidFocus(()=>{this._overflowWidgetsDomNodeHasFocus=!0,this._update()})),this._register(this._overflowWidgetsDomNode.onDidBlur(()=>{this._overflowWidgetsDomNodeHasFocus=!1,this._update()})))}_update(){const e=this._hasDomElementFocus||this._overflowWidgetsDomNodeHasFocus;this._hadFocus!==e&&(this._hadFocus=e,this._onChange.fire(void 0))}hasFocus(){var e;return(e=this._hadFocus)!==null&&e!==void 0?e:!1}}class v0e{get length(){return this._decorationIds.length}constructor(e,t){this._editor=e,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(t)&&t.length>0&&this.set(t)}onDidChange(e,t,i){return this._editor.onDidChangeModelDecorations(n=>{this._isChangingDecorations||e.call(t,n)},i)}getRange(e){return!this._editor.hasModel()||e>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[e])}getRanges(){if(!this._editor.hasModel())return[];const e=this._editor.getModel(),t=[];for(const i of this._decorationIds){const n=e.getDecorationRange(i);n&&t.push(n)}return t}has(e){return this._decorationIds.includes(e.id)}clear(){this._decorationIds.length!==0&&this.set([])}set(e){try{this._isChangingDecorations=!0,this._editor.changeDecorations(t=>{this._decorationIds=t.deltaDecorations(this._decorationIds,e)})}finally{this._isChangingDecorations=!1}return this._decorationIds}append(e){let t=[];try{this._isChangingDecorations=!0,this._editor.changeDecorations(i=>{t=i.deltaDecorations([],e),this._decorationIds=this._decorationIds.concat(t)})}finally{this._isChangingDecorations=!1}return t}}const b0e=encodeURIComponent(\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='\"),C0e=encodeURIComponent(\"'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>\");function TI(s){return b0e+encodeURIComponent(s.toString())+C0e}const w0e=encodeURIComponent('<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"3\" width=\"12\"><g fill=\"'),y0e=encodeURIComponent('\"><circle cx=\"1\" cy=\"1\" r=\"1\"/><circle cx=\"5\" cy=\"1\" r=\"1\"/><circle cx=\"9\" cy=\"1\" r=\"1\"/></g></svg>');function S0e(s){return w0e+encodeURIComponent(s.toString())+y0e}zr((s,e)=>{const t=s.getColor(Jl);t&&e.addRule(`.monaco-editor .squiggly-error { background: url(\"data:image/svg+xml,${TI(t)}\") repeat-x bottom left; }`);const i=s.getColor(vs);i&&e.addRule(`.monaco-editor .squiggly-warning { background: url(\"data:image/svg+xml,${TI(i)}\") repeat-x bottom left; }`);const n=s.getColor(ro);n&&e.addRule(`.monaco-editor .squiggly-info { background: url(\"data:image/svg+xml,${TI(n)}\") repeat-x bottom left; }`);const o=s.getColor(Rue);o&&e.addRule(`.monaco-editor .squiggly-hint { background: url(\"data:image/svg+xml,${S0e(o)}\") no-repeat bottom left; }`);const r=s.getColor(sfe);r&&e.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${r.rgba.a}; }`)});var D0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},L0e=function(s,e){return function(t,i){e(t,i,s)}};let e2=class extends H{constructor(e){super(),this._themeService=e,this._onWillCreateCodeEditor=this._register(new B),this._onCodeEditorAdd=this._register(new B),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new B),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new B),this._onDiffEditorAdd=this._register(new B),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new B),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new Rs,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;const t=this.listCodeEditors();for(const i of t){if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e}removeDecorationType(e){const t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(i=>i.removeDecorationsByType(e))))}setModelProperty(e,t,i){const n=e.toString();let o;this._modelProperties.has(n)?o=this._modelProperties.get(n):(o=new Map,this._modelProperties.set(n,o)),o.set(t,i)}getModelProperty(e,t){const i=e.toString();if(this._modelProperties.has(i))return this._modelProperties.get(i).get(t)}async openCodeEditor(e,t,i){for(const n of this._codeEditorOpenHandlers){const o=await n(e,t,i);if(o!==null)return o}return null}registerCodeEditorOpenHandler(e){const t=this._codeEditorOpenHandlers.unshift(e);return Ie(t)}};e2=D0e([L0e(0,_n)],e2);var x0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},O8=function(s,e){return function(t,i){e(t,i,s)}};let _D=class extends e2{constructor(e,t){super(t),this._register(this.onCodeEditorAdd(()=>this._checkContextKey())),this._register(this.onCodeEditorRemove(()=>this._checkContextKey())),this._editorIsOpen=e.createKey(\"editorIsOpen\",!1),this._activeCodeEditor=null,this._register(this.registerCodeEditorOpenHandler(async(i,n,o)=>n?this.doOpenEditor(n,i):null))}_checkContextKey(){let e=!1;for(const t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(e,t){if(!this.findModel(e,t.resource)){if(t.resource){const o=t.resource.scheme;if(o===Ge.http||o===Ge.https)return Pz(t.resource.toString()),e}return null}const n=t.options?t.options.selection:null;if(n)if(typeof n.endLineNumber==\"number\"&&typeof n.endColumn==\"number\")e.setSelection(n),e.revealRangeInCenter(n,1);else{const o={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(o),e.revealPositionInCenter(o,1)}return e}findModel(e,t){const i=e.getModel();return i&&i.uri.toString()!==t.toString()?null:i}};_D=x0e([O8(0,Be),O8(1,_n)],_D);mt(xt,_D,0);const ig=ut(\"layoutService\");var F$=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},O$=function(s,e){return function(t,i){e(t,i,s)}};let vD=class{get mainContainer(){var e,t;return(t=(e=FP(this._codeEditorService.listCodeEditors()))===null||e===void 0?void 0:e.getContainerDomNode())!==null&&t!==void 0?t:Ht.document.body}get activeContainer(){var e,t;const i=(e=this._codeEditorService.getFocusedCodeEditor())!==null&&e!==void 0?e:this._codeEditorService.getActiveCodeEditor();return(t=i==null?void 0:i.getContainerDomNode())!==null&&t!==void 0?t:this.mainContainer}get mainContainerDimension(){return Eh(this.mainContainer)}get activeContainerDimension(){return Eh(this.activeContainer)}get containers(){return pd(this._codeEditorService.listCodeEditors().map(e=>e.getContainerDomNode()))}getContainer(){return this.activeContainer}whenContainerStylesLoaded(){}focus(){var e;(e=this._codeEditorService.getFocusedCodeEditor())===null||e===void 0||e.focus()}constructor(e){this._codeEditorService=e,this.onDidLayoutMainContainer=le.None,this.onDidLayoutActiveContainer=le.None,this.onDidLayoutContainer=le.None,this.onDidChangeActiveContainer=le.None,this.onDidAddContainer=le.None,this.mainContainerOffset={top:0,quickPickTop:0},this.activeContainerOffset={top:0,quickPickTop:0}}};vD=F$([O$(0,xt)],vD);let t2=class extends vD{get mainContainer(){return this._container}constructor(e,t){super(t),this._container=e}};t2=F$([O$(1,xt)],t2);mt(ig,vD,1);const dO=ut(\"dialogService\");var k0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},B8=function(s,e){return function(t,i){e(t,i,s)}};function Bw(s){return s.scheme===Ge.file?s.fsPath:s.path}let B$=0;class Ww{constructor(e,t,i,n,o,r,a){this.id=++B$,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=i,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=n,this.groupOrder=o,this.sourceId=r,this.sourceOrder=a,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?\"  VALID\":\"INVALID\"}] ${this.actual.constructor.name} - ${this.actual}`}}class W8{constructor(e,t){this.resourceLabel=e,this.reason=t}}class H8{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,n]of this.elements)(n.reason===0?e:t).push(n.resourceLabel);const i=[];return e.length>0&&i.push(p({},\"The following files have been closed and modified on disk: {0}.\",e.join(\", \"))),t.length>0&&i.push(p({},\"The following files have been modified in an incompatible way: {0}.\",t.join(\", \"))),i.join(`\n`)}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class E0e{constructor(e,t,i,n,o,r,a){this.id=++B$,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=i,this.groupId=n,this.groupOrder=o,this.sourceId=r,this.sourceOrder=a,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split==\"function\"}removeResource(e,t,i){this.removedResources||(this.removedResources=new H8),this.removedResources.has(t)||this.removedResources.set(t,new W8(e,i))}setValid(e,t,i){i?this.invalidatedResources&&(this.invalidatedResources.delete(t),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new H8),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new W8(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?\"INVALID\":\"  VALID\"}] ${this.actual.constructor.name} - ${this.actual}`}}class W${constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)e.type===1&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)e.type===1&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){const e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push(`   * [UNDO] ${this._past[t]}`);for(let t=this._future.length-1;t>=0;t--)e.push(`   * [REDO] ${this._future[t]}`);return e.join(`\n`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){e.type===1?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const i of this._past)t(i.actual)&&this._setElementValidFlag(i,e);for(const i of this._future)t(i.actual)&&this._setElementValidFlag(i,e)}pushElement(e){for(const t of this._future)t.type===1&&t.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let i=0,n=this._past.length;i<n;i++)t.push(this._past[i].id);for(let i=this._future.length-1;i>=0;i--)t.push(this._future[i].id);return new T$(e,t)}restoreSnapshot(e){const t=e.elements.length;let i=!0,n=0,o=-1;for(let a=0,l=this._past.length;a<l;a++,n++){const d=this._past[a];i&&(n>=t||d.id!==e.elements[n])&&(i=!1,o=0),!i&&d.type===1&&d.removeResource(this.resourceLabel,this.strResource,0)}let r=-1;for(let a=this._future.length-1;a>=0;a--,n++){const l=this._future[a];i&&(n>=t||l.id!==e.elements[n])&&(i=!1,r=a),!i&&l.type===1&&l.removeResource(this.resourceLabel,this.strResource,0)}o!==-1&&(this._past=this._past.slice(0,o)),r!==-1&&(this._future=this._future.slice(r+1)),this.versionId++}getElements(){const e=[],t=[];for(const i of this._past)e.push(i.actual);for(const i of this._future)t.push(i.actual);return{past:e,future:t}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let i=this._past.length-1;i>=0;i--)if(this._past[i]===e){t.has(this.strResource)?this._past[i]=t.get(this.strResource):this._past.splice(i,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let i=this._future.length-1;i>=0;i--)if(this._future[i]===e){t.has(this.strResource)?this._future[i]=t.get(this.strResource):this._future.splice(i,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class NI{constructor(e){this.editStacks=e,this._versionIds=[];for(let t=0,i=this.editStacks.length;t<i;t++)this._versionIds[t]=this.editStacks[t].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const H$=new W$(\"\",\"\");H$.locked=!0;let i2=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){console.log(\"------------------------------------\"),console.log(`AFTER ${e}: `);const t=[];for(const i of this._editStacks)t.push(i[1].toString());console.log(t.join(`\n`))}pushElement(e,t=w_.None,i=$l.None){if(e.type===0){const n=Bw(e.resource),o=this.getUriComparisonKey(e.resource);this._pushElement(new Ww(e,n,o,t.id,t.nextOrder(),i.id,i.nextOrder()))}else{const n=new Set,o=[],r=[];for(const a of e.resources){const l=Bw(a),d=this.getUriComparisonKey(a);n.has(d)||(n.add(d),o.push(l),r.push(d))}o.length===1?this._pushElement(new Ww(e,o[0],r[0],t.id,t.nextOrder(),i.id,i.nextOrder())):this._pushElement(new E0e(e,o,r,t.id,t.nextOrder(),i.id,i.nextOrder()))}}_pushElement(e){for(let t=0,i=e.strResources.length;t<i;t++){const n=e.resourceLabels[t],o=e.strResources[t];let r;this._editStacks.has(o)?r=this._editStacks.get(o):(r=new W$(n,o),this._editStacks.set(o,r)),r.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const i=this._editStacks.get(t);if(i.hasFutureElements())return null;const n=i.getClosestPastElement();return n?n.actual:null}return null}_splitPastWorkspaceElement(e,t){const i=e.actual.split(),n=new Map;for(const o of i){const r=Bw(o.resource),a=this.getUriComparisonKey(o.resource),l=new Ww(o,r,a,0,0,0,0);n.set(l.strResource,l)}for(const o of e.strResources){if(t&&t.has(o))continue;this._editStacks.get(o).splitPastWorkspaceElement(e,n)}}_splitFutureWorkspaceElement(e,t){const i=e.actual.split(),n=new Map;for(const o of i){const r=Bw(o.resource),a=this.getUriComparisonKey(o.resource),l=new Ww(o,r,a,0,0,0,0);n.set(l.strResource,l)}for(const o of e.strResources){if(t&&t.has(o))continue;this._editStacks.get(o).splitFutureWorkspaceElement(e,n)}}removeElements(e){const t=typeof e==\"string\"?e:this.getUriComparisonKey(e);this._editStacks.has(t)&&(this._editStacks.get(t).dispose(),this._editStacks.delete(t))}setElementsValidFlag(e,t,i){const n=this.getUriComparisonKey(e);this._editStacks.has(n)&&this._editStacks.get(n).setElementsValidFlag(t,i)}createSnapshot(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).createSnapshot(e):new T$(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const i=this._editStacks.get(t);i.restoreSnapshot(e),!i.hasPastElements()&&!i.hasFutureElements()&&(i.dispose(),this._editStacks.delete(t))}}getElements(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).getElements():{past:[],future:[]}}_findClosestUndoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(const[n,o]of this._editStacks){const r=o.getClosestPastElement();r&&r.sourceId===e&&(!t||r.sourceOrder>t.sourceOrder)&&(t=r,i=n)}return[t,i]}canUndo(e){if(e instanceof $l){const[,i]=this._findClosestUndoElementWithSource(e.id);return!!i}const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).hasPastElements():!1}_onError(e,t){Xe(e);for(const i of t.strResources)this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error(\"Cannot acquire edit stack lock\");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,n,o){const r=this._acquireLocks(i);let a;try{a=t()}catch(l){return r(),n.dispose(),this._onError(l,e)}return a?a.then(()=>(r(),n.dispose(),o()),l=>(r(),n.dispose(),this._onError(l,e))):(r(),n.dispose(),o())}async _invokeWorkspacePrepare(e){if(typeof e.actual.prepareUndoRedo>\"u\")return H.None;const t=e.actual.prepareUndoRedo();return typeof t>\"u\"?H.None:t}_invokeResourcePrepare(e,t){if(e.actual.type!==1||typeof e.actual.prepareUndoRedo>\"u\")return t(H.None);const i=e.actual.prepareUndoRedo();return i?jL(i)?t(i):i.then(n=>t(n)):t(H.None)}_getAffectedEditStacks(e){const t=[];for(const i of e.strResources)t.push(this._editStacks.get(i)||H$);return new NI(t)}_tryToSplitAndUndo(e,t,i,n){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(n),new Hw(this._undo(e,0,!0));for(const o of t.strResources)this.removeElements(o);return this._notificationService.warn(n),new Hw}_checkWorkspaceUndo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,p({},\"Could not undo '{0}' across all files. {1}\",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,p({},\"Could not undo '{0}' across all files. {1}\",t.label,t.invalidatedResources.createMessage()));const o=[];for(const a of i.editStacks)a.getClosestPastElement()!==t&&o.push(a.resourceLabel);if(o.length>0)return this._tryToSplitAndUndo(e,t,null,p({},\"Could not undo '{0}' across all files because changes were made to {1}\",t.label,o.join(\", \")));const r=[];for(const a of i.editStacks)a.locked&&r.push(a.resourceLabel);return r.length>0?this._tryToSplitAndUndo(e,t,null,p({},\"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}\",t.label,r.join(\", \"))):i.isValid()?null:this._tryToSplitAndUndo(e,t,null,p({},\"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime\",t.label))}_workspaceUndo(e,t,i){const n=this._getAffectedEditStacks(t),o=this._checkWorkspaceUndo(e,t,n,!1);return o?o.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n,i)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(const[,t]of this._editStacks){const i=t.getClosestPastElement();if(i){if(i===e){const n=t.getSecondClosestPastElement();if(n&&n.groupId===e.groupId)return!0}if(i.groupId===e.groupId)return!0}}return!1}async _confirmAndExecuteWorkspaceUndo(e,t,i,n){if(t.canSplit()&&!this._isPartOfUndoGroup(t)){let a;(function(c){c[c.All=0]=\"All\",c[c.This=1]=\"This\",c[c.Cancel=2]=\"Cancel\"})(a||(a={}));const{result:l}=await this._dialogService.prompt({type:Bi.Info,message:p(\"confirmWorkspace\",\"Would you like to undo '{0}' across all files?\",t.label),buttons:[{label:p({},\"&&Undo in {0} Files\",i.editStacks.length),run:()=>a.All},{label:p({},\"Undo this &&File\"),run:()=>a.This}],cancelButton:{run:()=>a.Cancel}});if(l===a.Cancel)return;if(l===a.This)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);const d=this._checkWorkspaceUndo(e,t,i,!1);if(d)return d.returnValue;n=!0}let o;try{o=await this._invokeWorkspacePrepare(t)}catch(a){return this._onError(a,t)}const r=this._checkWorkspaceUndo(e,t,i,!0);if(r)return o.dispose(),r.returnValue;for(const a of i.editStacks)a.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),i,o,()=>this._continueUndoInGroup(t.groupId,n))}_resourceUndo(e,t,i){if(!t.isValid){e.flushAllElements();return}if(e.locked){const n=p({},\"Could not undo '{0}' because there is already an undo or redo operation running.\",t.label);this._notificationService.warn(n);return}return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new NI([e]),n,()=>this._continueUndoInGroup(t.groupId,i))))}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(const[n,o]of this._editStacks){const r=o.getClosestPastElement();r&&r.groupId===e&&(!t||r.groupOrder>t.groupOrder)&&(t=r,i=n)}return[t,i]}_continueUndoInGroup(e,t){if(!e)return;const[,i]=this._findClosestUndoElementInGroup(e);if(i)return this._undo(i,0,t)}undo(e){if(e instanceof $l){const[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return typeof e==\"string\"?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(!this._editStacks.has(e))return;const n=this._editStacks.get(e),o=n.getClosestPastElement();if(!o)return;if(o.groupId){const[a,l]=this._findClosestUndoElementInGroup(o.groupId);if(o!==a&&l)return this._undo(l,t,i)}if((o.sourceId!==t||o.confirmBeforeUndo)&&!i)return this._confirmAndContinueUndo(e,t,o);try{return o.type===1?this._workspaceUndo(e,o,i):this._resourceUndo(n,o,i)}finally{}}async _confirmAndContinueUndo(e,t,i){if((await this._dialogService.confirm({message:p(\"confirmDifferentSource\",\"Would you like to undo '{0}'?\",i.label),primaryButton:p({},\"&&Yes\"),cancelButton:p(\"confirmDifferentSource.no\",\"No\")})).confirmed)return this._undo(e,t,!0)}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(const[n,o]of this._editStacks){const r=o.getClosestFutureElement();r&&r.sourceId===e&&(!t||r.sourceOrder<t.sourceOrder)&&(t=r,i=n)}return[t,i]}canRedo(e){if(e instanceof $l){const[,i]=this._findClosestRedoElementWithSource(e.id);return!!i}const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).hasFutureElements():!1}_tryToSplitAndRedo(e,t,i,n){if(t.canSplit())return this._splitFutureWorkspaceElement(t,i),this._notificationService.warn(n),new Hw(this._redo(e));for(const o of t.strResources)this.removeElements(o);return this._notificationService.warn(n),new Hw}_checkWorkspaceRedo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,p({},\"Could not redo '{0}' across all files. {1}\",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,p({},\"Could not redo '{0}' across all files. {1}\",t.label,t.invalidatedResources.createMessage()));const o=[];for(const a of i.editStacks)a.getClosestFutureElement()!==t&&o.push(a.resourceLabel);if(o.length>0)return this._tryToSplitAndRedo(e,t,null,p({},\"Could not redo '{0}' across all files because changes were made to {1}\",t.label,o.join(\", \")));const r=[];for(const a of i.editStacks)a.locked&&r.push(a.resourceLabel);return r.length>0?this._tryToSplitAndRedo(e,t,null,p({},\"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}\",t.label,r.join(\", \"))):i.isValid()?null:this._tryToSplitAndRedo(e,t,null,p({},\"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime\",t.label))}_workspaceRedo(e,t){const i=this._getAffectedEditStacks(t),n=this._checkWorkspaceRedo(e,t,i,!1);return n?n.returnValue:this._executeWorkspaceRedo(e,t,i)}async _executeWorkspaceRedo(e,t,i){let n;try{n=await this._invokeWorkspacePrepare(t)}catch(r){return this._onError(r,t)}const o=this._checkWorkspaceRedo(e,t,i,!0);if(o)return n.dispose(),o.returnValue;for(const r of i.editStacks)r.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),i,n,()=>this._continueRedoInGroup(t.groupId))}_resourceRedo(e,t){if(!t.isValid){e.flushAllElements();return}if(e.locked){const i=p({},\"Could not redo '{0}' because there is already an undo or redo operation running.\",t.label);this._notificationService.warn(i);return}return this._invokeResourcePrepare(t,i=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new NI([e]),i,()=>this._continueRedoInGroup(t.groupId))))}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(const[n,o]of this._editStacks){const r=o.getClosestFutureElement();r&&r.groupId===e&&(!t||r.groupOrder<t.groupOrder)&&(t=r,i=n)}return[t,i]}_continueRedoInGroup(e){if(!e)return;const[,t]=this._findClosestRedoElementInGroup(e);if(t)return this._redo(t)}redo(e){if(e instanceof $l){const[,t]=this._findClosestRedoElementWithSource(e.id);return t?this._redo(t):void 0}return typeof e==\"string\"?this._redo(e):this._redo(this.getUriComparisonKey(e))}_redo(e){if(!this._editStacks.has(e))return;const t=this._editStacks.get(e),i=t.getClosestFutureElement();if(i){if(i.groupId){const[n,o]=this._findClosestRedoElementInGroup(i.groupId);if(i!==n&&o)return this._redo(o)}try{return i.type===1?this._workspaceRedo(e,i):this._resourceRedo(t,i)}finally{}}}};i2=k0e([B8(0,dO),B8(1,en)],i2);class Hw{constructor(e){this.returnValue=e}}mt(Mx,i2,1);function xs(s,e,t){return Math.min(Math.max(s,e),t)}class V${constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}class I0e{constructor(e){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(e),this._values.fill(0,0,e)}update(e){const t=this._values[this._index];return this._values[this._index]=e,this._index=(this._index+1)%this._values.length,this._sum-=t,this._sum+=e,this._n<this._values.length&&(this._n+=1),this._val=this._sum/this._n,this._val}get value(){return this._val}}const cO=ut(\"environmentService\");var T0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},V8=function(s,e){return function(t,i){e(t,i,s)}};const Ur=ut(\"ILanguageFeatureDebounceService\");var bD;(function(s){const e=new WeakMap;let t=0;function i(n){let o=e.get(n);return o===void 0&&(o=++t,e.set(n,o)),o}s.of=i})(bD||(bD={}));class N0e{constructor(e){this._default=e}get(e){return this._default}update(e,t){return this._default}default(){return this._default}}class A0e{constructor(e,t,i,n,o,r){this._logService=e,this._name=t,this._registry=i,this._default=n,this._min=o,this._max=r,this._cache=new iu(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((t,i)=>YL(bD.of(i),t),0)}get(e){const t=this._key(e),i=this._cache.get(t);return i?xs(i.value,this._min,this._max):this.default()}update(e,t){const i=this._key(e);let n=this._cache.get(i);n||(n=new I0e(6),this._cache.set(i,n));const o=xs(n.update(t),this._min,this._max);return rF(e.uri,\"output\")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${o}ms`),o}_overall(){const e=new V$;for(const[,t]of this._cache)e.update(t.value);return e.value}default(){const e=this._overall()|0||this._default;return xs(e,this._min,this._max)}}let n2=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,i){var n,o,r;const a=(n=i==null?void 0:i.min)!==null&&n!==void 0?n:50,l=(o=i==null?void 0:i.max)!==null&&o!==void 0?o:a**2,d=(r=i==null?void 0:i.key)!==null&&r!==void 0?r:void 0,c=`${bD.of(e)},${a}${d?\",\"+d:\"\"}`;let u=this._data.get(c);return u||(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),u=new N0e(a*1.5)):u=new A0e(this._logService,t,e,this._overallAverage()|0||a*1.5,a,l),this._data.set(c,u)),u}_overallAverage(){const e=new V$;for(const t of this._data.values())e.update(t.default());return e.value}};n2=T0e([V8(0,ys),V8(1,cO)],n2);mt(Ur,n2,1);class rb{static create(e,t){return new rb(e,new CD(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){const e=this._tokens.getRange();return e&&new x(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn)}removeTokens(e){const t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,i,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber,[n,o,r]=this._tokens.split(t,e.startColumn-1,i,e.endColumn-1);return[new rb(this._startLineNumber,n),new rb(this._startLineNumber+r,o)]}applyEdit(e,t){const[i,n,o]=Ah(t);this.acceptEdit(e,i,n,o,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,i,n,o){this._acceptDeleteRange(e),this._acceptInsertText(new W(e.startLineNumber,e.startColumn),t,i,n,o),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;if(i<0){const o=i-t;this._startLineNumber-=o;return}const n=this._tokens.getMaxDeltaLine();if(!(t>=n+1)){if(t<0&&i>=n+1){this._startLineNumber=0,this._tokens.clear();return}if(t<0){const o=-t;this._startLineNumber-=o,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,i,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,i,e.endColumn-1)}}_acceptInsertText(e,t,i,n,o){if(t===0&&i===0)return;const r=e.lineNumber-this._startLineNumber;if(r<0){this._startLineNumber+=t;return}const a=this._tokens.getMaxDeltaLine();r>=a+1||this._tokens.acceptInsertText(r,e.column-1,t,i,n,o)}}class CD{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){const t=[];for(let i=0;i<this._tokenCount;i++)t.push(`(${this._getDeltaLine(i)+e},${this._getStartCharacter(i)}-${this._getEndCharacter(i)})`);return`[${t.join(\",\")}]`}getMaxDeltaLine(){const e=this._getTokenCount();return e===0?-1:this._getDeltaLine(e-1)}getRange(){const e=this._getTokenCount();if(e===0)return null;const t=this._getStartCharacter(0),i=this._getDeltaLine(e-1),n=this._getEndCharacter(e-1);return new x(0,t+1,i,n+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(e){return this._tokens[4*e]}_getStartCharacter(e){return this._tokens[4*e+1]}_getEndCharacter(e){return this._tokens[4*e+2]}isEmpty(){return this._getTokenCount()===0}getLineTokens(e){let t=0,i=this._getTokenCount()-1;for(;t<i;){const n=t+Math.floor((i-t)/2),o=this._getDeltaLine(n);if(o<e)t=n+1;else if(o>e)i=n-1;else{let r=n;for(;r>t&&this._getDeltaLine(r-1)===e;)r--;let a=n;for(;a<i&&this._getDeltaLine(a+1)===e;)a++;return new z8(this._tokens.subarray(4*r,4*a+4))}}return this._getDeltaLine(t)===e?new z8(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,i,n){const o=this._tokens,r=this._tokenCount;let a=0,l=!1,d=0;for(let c=0;c<r;c++){const u=4*c,h=o[u],g=o[u+1],f=o[u+2],m=o[u+3];if((h>e||h===e&&f>=t)&&(h<i||h===i&&g<=n))l=!0;else{if(a===0&&(d=h),l){const _=4*a;o[_]=h-d,o[_+1]=g,o[_+2]=f,o[_+3]=m}a++}}return this._tokenCount=a,d}split(e,t,i,n){const o=this._tokens,r=this._tokenCount,a=[],l=[];let d=a,c=0,u=0;for(let h=0;h<r;h++){const g=4*h,f=o[g],m=o[g+1],_=o[g+2],v=o[g+3];if(f>e||f===e&&_>=t){if(f<i||f===i&&m<=n)continue;d!==l&&(d=l,c=0,u=f)}d[c++]=f-u,d[c++]=m,d[c++]=_,d[c++]=v}return[new CD(new Uint32Array(a)),new CD(new Uint32Array(l)),u]}acceptDeleteRange(e,t,i,n,o){const r=this._tokens,a=this._tokenCount,l=n-t;let d=0,c=!1;for(let u=0;u<a;u++){const h=4*u;let g=r[h],f=r[h+1],m=r[h+2];const _=r[h+3];if(g<t||g===t&&m<=i){d++;continue}else if(g===t&&f<i)g===n&&m>o?m-=o-i:m=i;else if(g===t&&f===i)if(g===n&&m>o)m-=o-i;else{c=!0;continue}else if(g<n||g===n&&f<o)if(g===n&&m>o)g=t,f=i,m=f+(m-o);else{c=!0;continue}else if(g>n){if(l===0&&!c){d=a;break}g-=l}else if(g===n&&f>=o)e&&g===0&&(f+=e,m+=e),g-=l,f-=o-i,m-=o-i;else throw new Error(\"Not possible!\");const v=4*d;r[v]=g,r[v+1]=f,r[v+2]=m,r[v+3]=_,d++}this._tokenCount=d}acceptInsertText(e,t,i,n,o,r){const a=i===0&&n===1&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),l=this._tokens,d=this._tokenCount;for(let c=0;c<d;c++){const u=4*c;let h=l[u],g=l[u+1],f=l[u+2];if(!(h<e||h===e&&f<t)){if(h===e&&f===t)if(a)f+=1;else continue;else if(h===e&&g<t&&t<f)i===0?f+=n:f=t;else{if(h===e&&g===t&&a)continue;if(h===e)if(h+=i,i===0)g+=n,f+=n;else{const m=f-g;g=o+(g-t),f=g+m}else h+=i}l[u]=h,l[u+1]=g,l[u+2]=f}}}}class z8{constructor(e){this._tokens=e}getCount(){return this._tokens.length/4}getStartCharacter(e){return this._tokens[4*e+1]}getEndCharacter(e){return this._tokens[4*e+2]}getMetadata(e){return this._tokens[4*e+3]}}var M0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},AI=function(s,e){return function(t,i){e(t,i,s)}};let s2=class{constructor(e,t,i,n){this._legend=e,this._themeService=t,this._languageService=i,this._logService=n,this._hasWarnedOverlappingTokens=!1,this._hasWarnedInvalidLengthTokens=!1,this._hasWarnedInvalidEditStart=!1,this._hashTable=new ic}getMetadata(e,t,i){const n=this._languageService.languageIdCodec.encodeLanguageId(i),o=this._hashTable.get(e,t,n);let r;if(o)r=o.metadata,this._logService.getLevel()===Zn.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${yo.getForeground(r)}, fontStyle ${yo.getFontStyle(r).toString(2)}`);else{let a=this._legend.tokenTypes[e];const l=[];if(a){let d=t;for(let u=0;d>0&&u<this._legend.tokenModifiers.length;u++)d&1&&l.push(this._legend.tokenModifiers[u]),d=d>>1;d>0&&this._logService.getLevel()===Zn.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),l.push(\"not-in-legend\"));const c=this._themeService.getColorTheme().getTokenStyleMetadata(a,l,i);if(typeof c>\"u\")r=2147483647;else{if(r=0,typeof c.italic<\"u\"){const u=(c.italic?1:0)<<11;r|=u|1}if(typeof c.bold<\"u\"){const u=(c.bold?2:0)<<11;r|=u|2}if(typeof c.underline<\"u\"){const u=(c.underline?4:0)<<11;r|=u|4}if(typeof c.strikethrough<\"u\"){const u=(c.strikethrough?8:0)<<11;r|=u|8}if(c.foreground){const u=c.foreground<<15;r|=u|16}r===0&&(r=2147483647)}}else this._logService.getLevel()===Zn.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),r=2147483647,a=\"not-in-legend\";this._hashTable.add(e,t,n,r),this._logService.getLevel()===Zn.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${a}) / ${t} (${l.join(\" \")}): foreground ${yo.getForeground(r)}, fontStyle ${yo.getFontStyle(r).toString(2)}`)}return r}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,this._logService.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}warnInvalidLengthSemanticTokens(e,t){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,this._logService.warn(`Semantic token with invalid length detected at lineNumber ${e}, column ${t}`))}warnInvalidEditStart(e,t,i,n,o){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,this._logService.warn(`Invalid semantic tokens edit detected (previousResultId: ${e}, resultId: ${t}) at edit #${i}: The provided start offset ${n} is outside the previous data (length ${o}).`))}};s2=M0e([AI(1,_n),AI(2,vi),AI(3,ys)],s2);function z$(s,e,t){const i=s.data,n=s.data.length/5|0,o=Math.max(Math.ceil(n/1024),400),r=[];let a=0,l=1,d=0;for(;a<n;){const c=a;let u=Math.min(c+o,n);if(u<n){let b=u;for(;b-1>c&&i[5*b]===0;)b--;if(b-1===c){let C=u;for(;C+1<n&&i[5*C]===0;)C++;u=C}else u=b}let h=new Uint32Array((u-c)*4),g=0,f=0,m=0,_=0;for(;a<u;){const b=5*a,C=i[b],w=i[b+1],y=l+C|0,D=C===0?d+w|0:w,L=i[b+2],k=D+L|0,I=i[b+3],O=i[b+4];if(k<=D)e.warnInvalidLengthSemanticTokens(y,D+1);else if(m===y&&_>D)e.warnOverlappingSemanticTokens(y,D+1);else{const R=e.getMetadata(I,O,t);R!==2147483647&&(f===0&&(f=y),h[g]=y-f,h[g+1]=D,h[g+2]=k,h[g+3]=R,g+=4,m=y,_=k)}l=y,d=D,a++}g!==h.length&&(h=h.subarray(0,g));const v=rb.create(f,h);r.push(v)}return r}class R0e{constructor(e,t,i,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=i,this.metadata=n,this.next=null}}class ic{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=ic._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<ic._SIZES.length?2/3*this._currentLength:0),this._elements=[],ic._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let i=0;i<t;i++)e[i]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,i){return this._hash2(this._hash2(e,t),i)%this._currentLength}get(e,t,i){const n=this._hashFunc(e,t,i);let o=this._elements[n];for(;o;){if(o.tokenTypeIndex===e&&o.tokenModifierSet===t&&o.languageId===i)return o;o=o.next}return null}add(e,t,i,n){if(this._elementsCount++,this._growCount!==0&&this._elementsCount>=this._growCount){const o=this._elements;this._currentLengthIndex++,this._currentLength=ic._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<ic._SIZES.length?2/3*this._currentLength:0),this._elements=[],ic._nullOutEntries(this._elements,this._currentLength);for(const r of o){let a=r;for(;a;){const l=a.next;a.next=null,this._add(a),a=l}}}this._add(new R0e(e,t,i,n))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}ic._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143];const Px=ut(\"semanticTokensStylingService\");var P0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},MI=function(s,e){return function(t,i){e(t,i,s)}};let o2=class extends H{constructor(e,t,i){super(),this._themeService=e,this._logService=t,this._languageService=i,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}getStyling(e){return this._caches.has(e)||this._caches.set(e,new s2(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}};o2=P0e([MI(0,_n),MI(1,ys),MI(2,vi)],o2);mt(Px,o2,1);const Vw=\"**\",U8=\"/\",Yy=\"[/\\\\\\\\]\",Qy=\"[^/\\\\\\\\]\",F0e=/\\//g;function $8(s,e){switch(s){case 0:return\"\";case 1:return`${Qy}*?`;default:return`(?:${Yy}|${Qy}+${Yy}${e?`|${Yy}${Qy}+`:\"\"})*?`}}function j8(s,e){if(!s)return[];const t=[];let i=!1,n=!1,o=\"\";for(const r of s){switch(r){case e:if(!i&&!n){t.push(o),o=\"\";continue}break;case\"{\":i=!0;break;case\"}\":i=!1;break;case\"[\":n=!0;break;case\"]\":n=!1;break}o+=r}return o&&t.push(o),t}function U$(s){if(!s)return\"\";let e=\"\";const t=j8(s,U8);if(t.every(i=>i===Vw))e=\".*\";else{let i=!1;t.forEach((n,o)=>{if(n===Vw){if(i)return;e+=$8(2,o===t.length-1)}else{let r=!1,a=\"\",l=!1,d=\"\";for(const c of n){if(c!==\"}\"&&r){a+=c;continue}if(l&&(c!==\"]\"||!d)){let u;c===\"-\"?u=c:(c===\"^\"||c===\"!\")&&!d?u=\"^\":c===U8?u=\"\":u=rr(c),d+=u;continue}switch(c){case\"{\":r=!0;continue;case\"[\":l=!0;continue;case\"}\":{const h=`(?:${j8(a,\",\").map(g=>U$(g)).join(\"|\")})`;e+=h,r=!1,a=\"\";break}case\"]\":{e+=\"[\"+d+\"]\",l=!1,d=\"\";break}case\"?\":e+=Qy;continue;case\"*\":e+=$8(1);continue;default:e+=rr(c)}}o<t.length-1&&(t[o+1]!==Vw||o+2<t.length)&&(e+=Yy)}i=n===Vw})}return e}const O0e=/^\\*\\*\\/\\*\\.[\\w\\.-]+$/,B0e=/^\\*\\*\\/([\\w\\.-]+)\\/?$/,W0e=/^{\\*\\*\\/\\*?[\\w\\.-]+\\/?(,\\*\\*\\/\\*?[\\w\\.-]+\\/?)*}$/,H0e=/^{\\*\\*\\/\\*?[\\w\\.-]+(\\/(\\*\\*)?)?(,\\*\\*\\/\\*?[\\w\\.-]+(\\/(\\*\\*)?)?)*}$/,V0e=/^\\*\\*((\\/[\\w\\.-]+)+)\\/?$/,z0e=/^([\\w\\.-]+(\\/[\\w\\.-]+)*)\\/?$/,K8=new iu(1e4),q8=function(){return!1},cd=function(){return null};function uO(s,e){if(!s)return cd;let t;typeof s!=\"string\"?t=s.pattern:t=s,t=t.trim();const i=`${t}_${!!e.trimForExclusions}`;let n=K8.get(i);if(n)return G8(n,s);let o;return O0e.test(t)?n=U0e(t.substr(4),t):(o=B0e.exec(RI(t,e)))?n=$0e(o[1],t):(e.trimForExclusions?H0e:W0e).test(t)?n=j0e(t,e):(o=V0e.exec(RI(t,e)))?n=Z8(o[1].substr(1),t,!0):(o=z0e.exec(RI(t,e)))?n=Z8(o[1],t,!1):n=K0e(t),K8.set(i,n),G8(n,s)}function G8(s,e){if(typeof e==\"string\")return s;const t=function(i,n){return UA(i,e.base,!$s)?s(qL(i.substr(e.base.length),sh),n):null};return t.allBasenames=s.allBasenames,t.allPaths=s.allPaths,t.basenames=s.basenames,t.patterns=s.patterns,t}function RI(s,e){return e.trimForExclusions&&s.endsWith(\"/**\")?s.substr(0,s.length-2):s}function U0e(s,e){return function(t,i){return typeof t==\"string\"&&t.endsWith(s)?e:null}}function $0e(s,e){const t=`/${s}`,i=`\\\\${s}`,n=function(r,a){return typeof r!=\"string\"?null:a?a===s?e:null:r===s||r.endsWith(t)||r.endsWith(i)?e:null},o=[s];return n.basenames=o,n.patterns=[e],n.allBasenames=o,n}function j0e(s,e){const t=j$(s.slice(1,-1).split(\",\").map(a=>uO(a,e)).filter(a=>a!==cd),s),i=t.length;if(!i)return cd;if(i===1)return t[0];const n=function(a,l){for(let d=0,c=t.length;d<c;d++)if(t[d](a,l))return s;return null},o=t.find(a=>!!a.allBasenames);o&&(n.allBasenames=o.allBasenames);const r=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return r.length&&(n.allPaths=r),n}function Z8(s,e,t){const i=sh===Yi.sep,n=i?s:s.replace(F0e,sh),o=sh+n,r=Yi.sep+s;let a;return t?a=function(l,d){return typeof l==\"string\"&&(l===n||l.endsWith(o)||!i&&(l===s||l.endsWith(r)))?e:null}:a=function(l,d){return typeof l==\"string\"&&(l===n||!i&&l===s)?e:null},a.allPaths=[(t?\"*/\":\"./\")+s],a}function K0e(s){try{const e=new RegExp(`^${U$(s)}$`);return function(t){return e.lastIndex=0,typeof t==\"string\"&&e.test(t)?s:null}}catch{return cd}}function q0e(s,e,t){return!s||typeof e!=\"string\"?!1:$$(s)(e,void 0,t)}function $$(s,e={}){if(!s)return q8;if(typeof s==\"string\"||G0e(s)){const t=uO(s,e);if(t===cd)return q8;const i=function(n,o){return!!t(n,o)};return t.allBasenames&&(i.allBasenames=t.allBasenames),t.allPaths&&(i.allPaths=t.allPaths),i}return Z0e(s,e)}function G0e(s){const e=s;return e?typeof e.base==\"string\"&&typeof e.pattern==\"string\":!1}function Z0e(s,e){const t=j$(Object.getOwnPropertyNames(s).map(a=>X0e(a,s[a],e)).filter(a=>a!==cd)),i=t.length;if(!i)return cd;if(!t.some(a=>!!a.requiresSiblings)){if(i===1)return t[0];const a=function(c,u){let h;for(let g=0,f=t.length;g<f;g++){const m=t[g](c,u);if(typeof m==\"string\")return m;eA(m)&&(h||(h=[]),h.push(m))}return h?(async()=>{for(const g of h){const f=await g;if(typeof f==\"string\")return f}return null})():null},l=t.find(c=>!!c.allBasenames);l&&(a.allBasenames=l.allBasenames);const d=t.reduce((c,u)=>u.allPaths?c.concat(u.allPaths):c,[]);return d.length&&(a.allPaths=d),a}const n=function(a,l,d){let c,u;for(let h=0,g=t.length;h<g;h++){const f=t[h];f.requiresSiblings&&d&&(l||(l=nh(a)),c||(c=l.substr(0,l.length-lre(a).length)));const m=f(a,l,c,d);if(typeof m==\"string\")return m;eA(m)&&(u||(u=[]),u.push(m))}return u?(async()=>{for(const h of u){const g=await h;if(typeof g==\"string\")return g}return null})():null},o=t.find(a=>!!a.allBasenames);o&&(n.allBasenames=o.allBasenames);const r=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return r.length&&(n.allPaths=r),n}function X0e(s,e,t){if(e===!1)return cd;const i=uO(s,t);if(i===cd)return cd;if(typeof e==\"boolean\")return i;if(e){const n=e.when;if(typeof n==\"string\"){const o=(r,a,l,d)=>{if(!d||!i(r,a))return null;const c=n.replace(\"$(basename)\",()=>l),u=d(c);return eA(u)?u.then(h=>h?s:null):u?s:null};return o.requiresSiblings=!0,o}}return i}function j$(s,e){const t=s.filter(a=>!!a.basenames);if(t.length<2)return s;const i=t.reduce((a,l)=>{const d=l.basenames;return d?a.concat(d):a},[]);let n;if(e){n=[];for(let a=0,l=i.length;a<l;a++)n.push(e)}else n=t.reduce((a,l)=>{const d=l.patterns;return d?a.concat(d):a},[]);const o=function(a,l){if(typeof a!=\"string\")return null;if(!l){let c;for(c=a.length;c>0;c--){const u=a.charCodeAt(c-1);if(u===47||u===92)break}l=a.substr(c)}const d=i.indexOf(l);return d!==-1?n[d]:null};o.basenames=i,o.patterns=n,o.allBasenames=i;const r=s.filter(a=>!a.basenames);return r.push(o),r}function hO(s,e,t,i,n,o){if(Array.isArray(s)){let r=0;for(const a of s){const l=hO(a,e,t,i,n,o);if(l===10)return l;l>r&&(r=l)}return r}else{if(typeof s==\"string\")return i?s===\"*\"?5:s===t?10:0:0;if(s){const{language:r,pattern:a,scheme:l,hasAccessToAllModels:d,notebookType:c}=s;if(!i&&!d)return 0;c&&n&&(e=n);let u=0;if(l)if(l===e.scheme)u=10;else if(l===\"*\")u=5;else return 0;if(r)if(r===t)u=10;else if(r===\"*\")u=Math.max(u,5);else return 0;if(c)if(c===o)u=10;else if(c===\"*\"&&o!==void 0)u=Math.max(u,5);else return 0;if(a){let h;if(typeof a==\"string\"?h=a:h={...a,base:ZV(a.base)},h===e.fsPath||q0e(h,e.fsPath))u=10;else return 0}return u}else return 0}}function K$(s){return typeof s==\"string\"?!1:Array.isArray(s)?s.every(K$):!!s.exclusive}class X8{constructor(e,t,i,n){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n}equals(e){var t,i;return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&((t=this.notebookUri)===null||t===void 0?void 0:t.toString())===((i=e.notebookUri)===null||i===void 0?void 0:i.toString())}}class fi{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new B,this.onDidChange=this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Ie(()=>{if(i){const n=this._entries.indexOf(i);n>=0&&(this._entries.splice(n,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(const i of this._entries)i._score>0&&t.push(i.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,i=>t.push(i.provider)),t}orderedGroups(e){const t=[];let i,n;return this._orderedForEach(e,o=>{i&&n===o._score?i.push(o.provider):(n=o._score,i=[o.provider],t.push(i))}),t}_orderedForEach(e,t){this._updateScores(e);for(const i of this._entries)i._score>0&&t(i)}_updateScores(e){var t,i;const n=(t=this._notebookInfoResolver)===null||t===void 0?void 0:t.call(this,e.uri),o=n?new X8(e.uri,e.getLanguageId(),n.uri,n.type):new X8(e.uri,e.getLanguageId(),void 0,void 0);if(!(!((i=this._lastCandidate)===null||i===void 0)&&i.equals(o))){this._lastCandidate=o;for(const r of this._entries)if(r._score=hO(r.selector,o.uri,o.languageId,aU(e),o.notebookUri,o.notebookType),K$(r.selector)&&r._score>0){for(const a of this._entries)a._score=0;r._score=1e3;break}this._entries.sort(fi._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:Lv(e.selector)&&!Lv(t.selector)?1:!Lv(e.selector)&&Lv(t.selector)?-1:e._time<t._time?1:e._time>t._time?-1:0}}function Lv(s){return typeof s==\"string\"?!1:Array.isArray(s)?s.some(Lv):!!s.isBuiltin}class Y0e{constructor(){this.referenceProvider=new fi(this._score.bind(this)),this.renameProvider=new fi(this._score.bind(this)),this.newSymbolNamesProvider=new fi(this._score.bind(this)),this.codeActionProvider=new fi(this._score.bind(this)),this.definitionProvider=new fi(this._score.bind(this)),this.typeDefinitionProvider=new fi(this._score.bind(this)),this.declarationProvider=new fi(this._score.bind(this)),this.implementationProvider=new fi(this._score.bind(this)),this.documentSymbolProvider=new fi(this._score.bind(this)),this.inlayHintsProvider=new fi(this._score.bind(this)),this.colorProvider=new fi(this._score.bind(this)),this.codeLensProvider=new fi(this._score.bind(this)),this.documentFormattingEditProvider=new fi(this._score.bind(this)),this.documentRangeFormattingEditProvider=new fi(this._score.bind(this)),this.onTypeFormattingEditProvider=new fi(this._score.bind(this)),this.signatureHelpProvider=new fi(this._score.bind(this)),this.hoverProvider=new fi(this._score.bind(this)),this.documentHighlightProvider=new fi(this._score.bind(this)),this.multiDocumentHighlightProvider=new fi(this._score.bind(this)),this.selectionRangeProvider=new fi(this._score.bind(this)),this.foldingRangeProvider=new fi(this._score.bind(this)),this.linkProvider=new fi(this._score.bind(this)),this.inlineCompletionsProvider=new fi(this._score.bind(this)),this.inlineEditProvider=new fi(this._score.bind(this)),this.completionProvider=new fi(this._score.bind(this)),this.linkedEditingRangeProvider=new fi(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new fi(this._score.bind(this)),this.documentSemanticTokensProvider=new fi(this._score.bind(this)),this.documentDropEditProvider=new fi(this._score.bind(this)),this.documentPasteEditProvider=new fi(this._score.bind(this))}_score(e){var t;return(t=this._notebookTypeResolver)===null||t===void 0?void 0:t.call(this,e)}}mt(Ce,Y0e,1);var Q0e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Y8=function(s,e){return function(t,i){e(t,i,s)}};const Md=ut(\"hoverService\");let S_=class extends H{get delay(){return this.isInstantlyHovering()?0:this._delay}constructor(e,t,i={},n,o){super(),this.placement=e,this.instantHover=t,this.overrideOptions=i,this.configurationService=n,this.hoverService=o,this.lastHoverHideTime=0,this.timeLimit=200,this.hoverDisposables=this._register(new Y),this._delay=this.configurationService.getValue(\"workbench.hover.delay\"),this._register(this.configurationService.onDidChangeConfiguration(r=>{r.affectsConfiguration(\"workbench.hover.delay\")&&(this._delay=this.configurationService.getValue(\"workbench.hover.delay\"))}))}showHover(e,t){const i=typeof this.overrideOptions==\"function\"?this.overrideOptions(e,t):this.overrideOptions;this.hoverDisposables.clear();const n=e.target instanceof HTMLElement?[e.target]:e.target.targetElements;for(const r of n)this.hoverDisposables.add(Ni(r,\"keydown\",a=>{a.equals(9)&&this.hoverService.hideHover()}));const o=e.content instanceof HTMLElement?void 0:e.content.toString();return this.hoverService.showHover({...e,...i,persistence:{hideOnKeyDown:!0,...i.persistence},id:o,appearance:{...e.appearance,compact:!0,skipFadeInAnimation:this.isInstantlyHovering(),...i.appearance}},t)}isInstantlyHovering(){return this.instantHover&&Date.now()-this.lastHoverHideTime<this.timeLimit}onDidHideHover(){this.hoverDisposables.clear(),this.instantHover&&(this.lastHoverHideTime=Date.now())}};S_=Q0e([Y8(3,rt),Y8(4,Md)],S_);const nu=ut(\"contextViewService\"),Oo=ut(\"contextMenuService\"),zw=he;let gO=class extends H{constructor(){super(),this.containerDomNode=document.createElement(\"div\"),this.containerDomNode.className=\"monaco-hover\",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute(\"role\",\"tooltip\"),this.contentsDomNode=document.createElement(\"div\"),this.contentsDomNode.className=\"monaco-hover-content\",this.scrollbar=this._register(new C1(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}};class Fx extends H{static render(e,t,i){return new Fx(e,t,i)}constructor(e,t,i){super(),this.actionContainer=Q(e,zw(\"div.action-container\")),this.actionContainer.setAttribute(\"tabindex\",\"0\"),this.action=Q(this.actionContainer,zw(\"a.action\")),this.action.setAttribute(\"role\",\"button\"),t.iconClass&&Q(this.action,zw(`span.icon.${t.iconClass}`));const n=Q(this.action,zw(\"span\"));n.textContent=i?`${t.label} (${i})`:t.label,this._store.add(new G$(this.actionContainer,t.run)),this._store.add(new Z$(this.actionContainer,t.run,[3,10])),this.setEnabled(!0)}setEnabled(e){e?(this.actionContainer.classList.remove(\"disabled\"),this.actionContainer.removeAttribute(\"aria-disabled\")):(this.actionContainer.classList.add(\"disabled\"),this.actionContainer.setAttribute(\"aria-disabled\",\"true\"))}}function q$(s,e){return s&&e?p(\"acessibleViewHint\",\"Inspect this in the accessible view with {0}.\",e):s?p(\"acessibleViewHintNoKbOpen\",\"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\"):\"\"}class G$ extends H{constructor(e,t){super(),this._register(K(e,ee.CLICK,i=>{i.stopPropagation(),i.preventDefault(),t(e)}))}}class Z$ extends H{constructor(e,t,i){super(),this._register(K(e,ee.KEY_DOWN,n=>{const o=new Kt(n);i.some(r=>o.equals(r))&&(n.stopPropagation(),n.preventDefault(),t(e))}))}}const Bo=ut(\"openerService\");function J0e(s){let e;const t=/^L?(\\d+)(?:,(\\d+))?(-L?(\\d+)(?:,(\\d+))?)?/.exec(s.fragment);return t&&(e={startLineNumber:parseInt(t[1]),startColumn:t[2]?parseInt(t[2]):1,endLineNumber:t[4]?parseInt(t[4]):void 0,endColumn:t[4]?t[5]?parseInt(t[5]):1:void 0},s=s.with({fragment:\"\"})),{selection:e,uri:s}}function eve(s,e={}){const t=fO(e);return t.textContent=s,t}function tve(s,e={}){const t=fO(e);return X$(t,nve(s,!!e.renderCodeSegments),e.actionHandler,e.renderCodeSegments),t}function fO(s){const e=s.inline?\"span\":\"div\",t=document.createElement(e);return s.className&&(t.className=s.className),t}class ive{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function X$(s,e,t,i){let n;if(e.type===2)n=document.createTextNode(e.content||\"\");else if(e.type===3)n=document.createElement(\"b\");else if(e.type===4)n=document.createElement(\"i\");else if(e.type===7&&i)n=document.createElement(\"code\");else if(e.type===5&&t){const o=document.createElement(\"a\");t.disposables.add(Ni(o,\"click\",r=>{t.callback(String(e.index),r)})),n=o}else e.type===8?n=document.createElement(\"br\"):e.type===1&&(n=s);n&&s!==n&&s.appendChild(n),n&&Array.isArray(e.children)&&e.children.forEach(o=>{X$(n,o,t,i)})}function nve(s,e){const t={type:1,children:[]};let i=0,n=t;const o=[],r=new ive(s);for(;!r.eos();){let a=r.next();const l=a===\"\\\\\"&&r2(r.peek(),e)!==0;if(l&&(a=r.next()),!l&&sve(a,e)&&a===r.peek()){r.advance(),n.type===2&&(n=o.pop());const d=r2(a,e);if(n.type===d||n.type===5&&d===6)n=o.pop();else{const c={type:d,children:[]};d===5&&(c.index=i,i++),n.children.push(c),o.push(n),n=c}}else if(a===`\n`)n.type===2&&(n=o.pop()),n.children.push({type:8});else if(n.type!==2){const d={type:2,content:a};n.children.push(d),o.push(n),n=d}else n.content+=a}return n.type===2&&(n=o.pop()),t}function sve(s,e){return r2(s,e)!==0}function r2(s,e){switch(s){case\"*\":return 3;case\"_\":return 4;case\"[\":return 5;case\"]\":return 6;case\"`\":return e?7:0;default:return 0}}const ove=new RegExp(`(\\\\\\\\)?\\\\$\\\\((${Pe.iconNameExpression}(?:${Pe.iconModifierExpression})?)\\\\)`,\"g\");function lh(s){const e=new Array;let t,i=0,n=0;for(;(t=ove.exec(s))!==null;){n=t.index||0,i<n&&e.push(s.substring(i,n)),i=(t.index||0)+t[0].length;const[,o,r]=t;e.push(o?`$(${r})`:Ef({id:r}))}return i<s.length&&e.push(s.substring(i)),e}function Ef(s){const e=he(\"span\");return e.classList.add(...Pe.asClassNameArray(s)),e}function Y$(...s){return function(e,t){for(let i=0,n=s.length;i<n;i++){const o=s[i](e,t);if(o)return o}return null}}Q$.bind(void 0,!1);const wD=Q$.bind(void 0,!0);function Q$(s,e,t){if(!t||t.length<e.length)return null;let i;return s?i=YP(t,e):i=t.indexOf(e)===0,i?e.length>0?[{start:0,end:e.length}]:[]:null}function rve(s,e){const t=e.toLowerCase().indexOf(s.toLowerCase());return t===-1?null:[{start:t,end:t+s.length}]}function J$(s,e){return a2(s.toLowerCase(),e.toLowerCase(),0,0)}function a2(s,e,t,i){if(t===s.length)return[];if(i===e.length)return null;if(s[t]===e[i]){let n=null;return(n=a2(s,e,t+1,i+1))?tj({start:i,end:i+1},n):null}return a2(s,e,t,i+1)}function pO(s){return 97<=s&&s<=122}function Ox(s){return 65<=s&&s<=90}function mO(s){return 48<=s&&s<=57}function ave(s){return s===32||s===9||s===10||s===13}const lve=new Set;\"()[]{}<>`'\\\"-/;:,.?!\".split(\"\").forEach(s=>lve.add(s.charCodeAt(0)));function ej(s){return pO(s)||Ox(s)||mO(s)}function tj(s,e){return e.length===0?e=[s]:s.end===e[0].start?e[0].start=s.start:e.unshift(s),e}function ij(s,e){for(let t=e;t<s.length;t++){const i=s.charCodeAt(t);if(Ox(i)||mO(i)||t>0&&!ej(s.charCodeAt(t-1)))return t}return s.length}function l2(s,e,t,i){if(t===s.length)return[];if(i===e.length)return null;if(s[t]!==e[i].toLowerCase())return null;{let n=null,o=i+1;for(n=l2(s,e,t+1,i+1);!n&&(o=ij(e,o))<e.length;)n=l2(s,e,t+1,o),o++;return n===null?null:tj({start:i,end:i+1},n)}}function dve(s){let e=0,t=0,i=0,n=0,o=0;for(let c=0;c<s.length;c++)o=s.charCodeAt(c),Ox(o)&&e++,pO(o)&&t++,ej(o)&&i++,mO(o)&&n++;const r=e/s.length,a=t/s.length,l=i/s.length,d=n/s.length;return{upperPercent:r,lowerPercent:a,alphaPercent:l,numericPercent:d}}function cve(s){const{upperPercent:e,lowerPercent:t}=s;return t===0&&e>.6}function uve(s){const{upperPercent:e,lowerPercent:t,alphaPercent:i,numericPercent:n}=s;return t>.2&&e<.8&&i>.6&&n<.2}function hve(s){let e=0,t=0,i=0,n=0;for(let o=0;o<s.length;o++)i=s.charCodeAt(o),Ox(i)&&e++,pO(i)&&t++,ave(i)&&n++;return(e===0||t===0)&&n===0?s.length<=30:e<=5}function nj(s,e){if(!e||(e=e.trim(),e.length===0)||!hve(s))return null;e.length>60&&(e=e.substring(0,60));const t=dve(e);if(!uve(t)){if(!cve(t))return null;e=e.toLowerCase()}let i=null,n=0;for(s=s.toLowerCase();n<e.length&&(i=l2(s,e,0,n))===null;)n=ij(e,n+1);return i}const gve=Y$(wD,nj,rve),fve=Y$(wD,nj,J$),Q8=new iu(1e4);function J8(s,e,t=!1){if(typeof s!=\"string\"||typeof e!=\"string\")return null;let i=Q8.get(s);i||(i=new RegExp(Ere(s),\"i\"),Q8.set(s,i));const n=i.exec(e);return n?[{start:n.index,end:n.index+n[0].length}]:t?fve(s,e):gve(s,e)}function pve(s,e){const t=D_(s,s.toLowerCase(),0,e,e.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return t?Bx(t):null}function mve(s,e,t,i,n,o){const r=Math.min(13,s.length);for(;t<r;t++){const a=D_(s,e,t,i,n,o,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(a)return a}return[0,o]}function Bx(s){if(typeof s>\"u\")return[];const e=[],t=s[1];for(let i=s.length-1;i>1;i--){const n=s[i]+t,o=e[e.length-1];o&&o.end===n?o.end=n+1:e.push({start:n,end:n+1})}return e}const qu=128;function _O(){const s=[],e=[];for(let t=0;t<=qu;t++)e[t]=0;for(let t=0;t<=qu;t++)s.push(e.slice(0));return s}function sj(s){const e=[];for(let t=0;t<=s;t++)e[t]=0;return e}const oj=sj(2*qu),d2=sj(2*qu),Vd=_O(),Cg=_O(),Uw=_O();function $w(s,e){if(e<0||e>=s.length)return!1;const t=s.codePointAt(e);switch(t){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!tF(t)}}function e6(s,e){if(e<0||e>=s.length)return!1;switch(s.charCodeAt(e)){case 32:case 9:return!0;default:return!1}}function Jy(s,e,t){return e[s]!==t[s]}function _ve(s,e,t,i,n,o,r=!1){for(;e<t&&n<o;)s[e]===i[n]&&(r&&(oj[e]=n),e+=1),n+=1;return e===t}var el;(function(s){s.Default=[-100,0];function e(t){return!t||t.length===2&&t[0]===-100&&t[1]===0}s.isDefault=e})(el||(el={}));class Wx{constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}Wx.default={boostFullMatch:!0,firstMatchCanBeWeak:!1};function D_(s,e,t,i,n,o,r=Wx.default){const a=s.length>qu?qu:s.length,l=i.length>qu?qu:i.length;if(t>=a||o>=l||a-t>l-o||!_ve(e,t,a,n,o,l,!0))return;vve(a,l,t,o,e,n);let d=1,c=1,u=t,h=o;const g=[!1];for(d=1,u=t;u<a;d++,u++){const b=oj[u],C=d2[u],w=u+1<a?d2[u+1]:l;for(c=b-o+1,h=b;h<w;c++,h++){let y=Number.MIN_SAFE_INTEGER,D=!1;h<=C&&(y=bve(s,e,u,t,i,n,h,l,o,Vd[d-1][c-1]===0,g));let L=0;y!==Number.MAX_SAFE_INTEGER&&(D=!0,L=y+Cg[d-1][c-1]);const k=h>b,I=k?Cg[d][c-1]+(Vd[d][c-1]>0?-5:0):0,O=h>b+1&&Vd[d][c-1]>0,R=O?Cg[d][c-2]+(Vd[d][c-2]>0?-5:0):0;if(O&&(!k||R>=I)&&(!D||R>=L))Cg[d][c]=R,Uw[d][c]=3,Vd[d][c]=0;else if(k&&(!D||I>=L))Cg[d][c]=I,Uw[d][c]=2,Vd[d][c]=0;else if(D)Cg[d][c]=L,Uw[d][c]=1,Vd[d][c]=Vd[d-1][c-1]+1;else throw new Error(\"not possible\")}}if(!g[0]&&!r.firstMatchCanBeWeak)return;d--,c--;const f=[Cg[d][c],o];let m=0,_=0;for(;d>=1;){let b=c;do{const C=Uw[d][b];if(C===3)b=b-2;else if(C===2)b=b-1;else break}while(b>=1);m>1&&e[t+d-1]===n[o+c-1]&&!Jy(b+o-1,i,n)&&m+1>Vd[d][b]&&(b=c),b===c?m++:m=1,_||(_=b),d--,c=b-1,f.push(c)}l===a&&r.boostFullMatch&&(f[0]+=2);const v=_-a;return f[0]-=v,f}function vve(s,e,t,i,n,o){let r=s-1,a=e-1;for(;r>=t&&a>=i;)n[r]===o[a]&&(d2[r]=a,r--),a--}function bve(s,e,t,i,n,o,r,a,l,d,c){if(e[t]!==o[r])return Number.MIN_SAFE_INTEGER;let u=1,h=!1;return r===t-i?u=s[t]===n[r]?7:5:Jy(r,n,o)&&(r===0||!Jy(r-1,n,o))?(u=s[t]===n[r]?7:5,h=!0):$w(o,r)&&(r===0||!$w(o,r-1))?u=5:($w(o,r-1)||e6(o,r-1))&&(u=5,h=!0),u>1&&t===i&&(c[0]=!0),h||(h=Jy(r,n,o)||$w(o,r-1)||e6(o,r-1)),t===i?r>l&&(u-=h?3:5):d?u+=h?2:0:u+=h?0:1,r+1===a&&(u-=h?3:5),u}function Cve(s,e,t,i,n,o,r){return wve(s,e,t,i,n,o,!0,r)}function wve(s,e,t,i,n,o,r,a){let l=D_(s,e,t,i,n,o,a);if(s.length>=3){const d=Math.min(7,s.length-1);for(let c=t+1;c<d;c++){const u=yve(s,c);if(u){const h=D_(u,u.toLowerCase(),t,i,n,o,a);h&&(h[0]-=3,(!l||h[0]>l[0])&&(l=h))}}}return l}function yve(s,e){if(e+1>=s.length)return;const t=s[e],i=s[e+1];if(t!==i)return s.slice(0,e)+i+t+s.slice(e+2)}const Sve=\"$(\",vO=new RegExp(`\\\\$\\\\(${Pe.iconNameExpression}(?:${Pe.iconModifierExpression})?\\\\)`,\"g\"),Dve=new RegExp(`(\\\\\\\\)?${vO.source}`,\"g\");function Lve(s){return s.replace(Dve,(e,t)=>t?e:`\\\\${e}`)}const xve=new RegExp(`\\\\\\\\${vO.source}`,\"g\");function kve(s){return s.replace(xve,e=>`\\\\${e}`)}const Eve=new RegExp(`(\\\\s)?(\\\\\\\\)?${vO.source}(\\\\s)?`,\"g\");function rj(s){return s.indexOf(Sve)===-1?s:s.replace(Eve,(e,t,i,n)=>i?e:t||n||\"\")}function Ive(s){return s?s.replace(/\\$\\((.*?)\\)/g,(e,t)=>` ${t} `).trim():\"\"}const PI=new RegExp(`\\\\$\\\\(${Pe.iconNameCharacter}+\\\\)`,\"g\");function xv(s){PI.lastIndex=0;let e=\"\";const t=[];let i=0;for(;;){const n=PI.lastIndex,o=PI.exec(s),r=s.substring(n,o==null?void 0:o.index);if(r.length>0){e+=r;for(let a=0;a<r.length;a++)t.push(i)}if(!o)break;i+=o[0].length}return{text:e,iconOffsets:t}}function FI(s,e,t=!1){const{text:i,iconOffsets:n}=e;if(!n||n.length===0)return J8(s,i,t);const o=qL(i,\" \"),r=i.length-o.length,a=J8(s,o,t);if(a)for(const l of a){const d=n[l.start+r]+r;l.start+=d,l.end+=d}return a}class ss{constructor(e=\"\",t=!1){var i,n,o;if(this.value=e,typeof this.value!=\"string\")throw Mr(\"value\");typeof t==\"boolean\"?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=(i=t.isTrusted)!==null&&i!==void 0?i:void 0,this.supportThemeIcons=(n=t.supportThemeIcons)!==null&&n!==void 0?n:!1,this.supportHtml=(o=t.supportHtml)!==null&&o!==void 0?o:!1)}appendText(e,t=0){return this.value+=Nve(this.supportThemeIcons?Lve(e):e).replace(/([ \\t]+)/g,(i,n)=>\"&nbsp;\".repeat(n.length)).replace(/\\>/gm,\"\\\\>\").replace(/\\n/g,t===1?`\\\\\n`:`\n\n`),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+=`\n${Ave(t,e)}\n`,this}appendLink(e,t,i){return this.value+=\"[\",this.value+=this._escape(t,\"]\"),this.value+=\"](\",this.value+=this._escape(String(e),\")\"),i&&(this.value+=` \"${this._escape(this._escape(i,'\"'),\")\")}\"`),this.value+=\")\",this}_escape(e,t){const i=new RegExp(rr(t),\"g\");return e.replace(i,(n,o)=>e.charAt(o-1)!==\"\\\\\"?`\\\\${n}`:n)}}function L_(s){return tl(s)?!s.value:Array.isArray(s)?s.every(L_):!0}function tl(s){return s instanceof ss?!0:s&&typeof s==\"object\"?typeof s.value==\"string\"&&(typeof s.isTrusted==\"boolean\"||typeof s.isTrusted==\"object\"||s.isTrusted===void 0)&&(typeof s.supportThemeIcons==\"boolean\"||s.supportThemeIcons===void 0):!1}function Tve(s,e){return s===e?!0:!s||!e?!1:s.value===e.value&&s.isTrusted===e.isTrusted&&s.supportThemeIcons===e.supportThemeIcons&&s.supportHtml===e.supportHtml&&(s.baseUri===e.baseUri||!!s.baseUri&&!!e.baseUri&&ZF(Ae.from(s.baseUri),Ae.from(e.baseUri)))}function Nve(s){return s.replace(/[\\\\`*_{}[\\]()#+\\-!~]/g,\"\\\\$&\")}function Ave(s,e){var t,i;const n=(i=(t=s.match(/^`+/gm))===null||t===void 0?void 0:t.reduce((r,a)=>r.length>a.length?r:a).length)!==null&&i!==void 0?i:0,o=n>=3?n+1:3;return[`${\"`\".repeat(o)}${e}`,s,`${\"`\".repeat(o)}`].join(`\n`)}function jw(s){return s.replace(/\"/g,\"&quot;\")}function OI(s){return s&&s.replace(/\\\\([\\\\`*_{}[\\]()#+\\-.!~])/g,\"$1\")}function Mve(s){const e=[],t=s.split(\"|\").map(n=>n.trim());s=t[0];const i=t[1];if(i){const n=/height=(\\d+)/.exec(i),o=/width=(\\d+)/.exec(i),r=n?n[1]:\"\",a=o?o[1]:\"\",l=isFinite(parseInt(a)),d=isFinite(parseInt(r));l&&e.push(`width=\"${a}\"`),d&&e.push(`height=\"${r}\"`)}return{href:s,dimensions:e}}class bO{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const c2=new bO(\"id#\");let Zs={};(function(){function s(e,t){t(Zs)}s.amd=!0,function(e,t){typeof s==\"function\"&&s.amd?s([\"exports\"],t):typeof exports==\"object\"&&typeof module<\"u\"?t(exports):(e=typeof globalThis<\"u\"?globalThis:e||self,t(e.marked={}))}(this,function(e){function t(se,X){for(var q=0;q<X.length;q++){var A=X[q];A.enumerable=A.enumerable||!1,A.configurable=!0,\"value\"in A&&(A.writable=!0),Object.defineProperty(se,A.key,A)}}function i(se,X,q){return q&&t(se,q),Object.defineProperty(se,\"prototype\",{writable:!1}),se}function n(se,X){if(se){if(typeof se==\"string\")return o(se,X);var q=Object.prototype.toString.call(se).slice(8,-1);if(q===\"Object\"&&se.constructor&&(q=se.constructor.name),q===\"Map\"||q===\"Set\")return Array.from(se);if(q===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return o(se,X)}}function o(se,X){(X==null||X>se.length)&&(X=se.length);for(var q=0,A=new Array(X);q<X;q++)A[q]=se[q];return A}function r(se,X){var q=typeof Symbol<\"u\"&&se[Symbol.iterator]||se[\"@@iterator\"];if(q)return(q=q.call(se)).next.bind(q);if(Array.isArray(se)||(q=n(se))||X){q&&(se=q);var A=0;return function(){return A>=se.length?{done:!0}:{done:!1,value:se[A++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:\"\",highlight:null,langPrefix:\"language-\",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=a();function l(se){e.defaults=se}var d=/[&<>\"']/,c=/[&<>\"']/g,u=/[<>\"']|&(?!#?\\w+;)/,h=/[<>\"']|&(?!#?\\w+;)/g,g={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},f=function(X){return g[X]};function m(se,X){if(X){if(d.test(se))return se.replace(c,f)}else if(u.test(se))return se.replace(h,f);return se}var _=/&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/ig;function v(se){return se.replace(_,function(X,q){return q=q.toLowerCase(),q===\"colon\"?\":\":q.charAt(0)===\"#\"?q.charAt(1)===\"x\"?String.fromCharCode(parseInt(q.substring(2),16)):String.fromCharCode(+q.substring(1)):\"\"})}var b=/(^|[^\\[])\\^/g;function C(se,X){se=typeof se==\"string\"?se:se.source,X=X||\"\";var q={replace:function(M,j){return j=j.source||j,j=j.replace(b,\"$1\"),se=se.replace(M,j),q},getRegex:function(){return new RegExp(se,X)}};return q}var w=/[^\\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function D(se,X,q){if(se){var A;try{A=decodeURIComponent(v(q)).replace(w,\"\").toLowerCase()}catch{return null}if(A.indexOf(\"javascript:\")===0||A.indexOf(\"vbscript:\")===0||A.indexOf(\"data:\")===0)return null}X&&!y.test(q)&&(q=R(X,q));try{q=encodeURI(q).replace(/%25/g,\"%\")}catch{return null}return q}var L={},k=/^[^:]+:\\/*[^/]*$/,I=/^([^:]+:)[\\s\\S]*$/,O=/^([^:]+:\\/*[^/]*)[\\s\\S]*$/;function R(se,X){L[\" \"+se]||(k.test(se)?L[\" \"+se]=se+\"/\":L[\" \"+se]=U(se,\"/\",!0)),se=L[\" \"+se];var q=se.indexOf(\":\")===-1;return X.substring(0,2)===\"//\"?q?X:se.replace(I,\"$1\")+X:X.charAt(0)===\"/\"?q?X:se.replace(O,\"$1\")+X:se+X}var P={exec:function(){}};function F(se){for(var X=1,q,A;X<arguments.length;X++){q=arguments[X];for(A in q)Object.prototype.hasOwnProperty.call(q,A)&&(se[A]=q[A])}return se}function V(se,X){var q=se.replace(/\\|/g,function(j,z,ne){for(var _e=!1,Me=z;--Me>=0&&ne[Me]===\"\\\\\";)_e=!_e;return _e?\"|\":\" |\"}),A=q.split(/ \\|/),M=0;if(A[0].trim()||A.shift(),A.length>0&&!A[A.length-1].trim()&&A.pop(),A.length>X)A.splice(X);else for(;A.length<X;)A.push(\"\");for(;M<A.length;M++)A[M]=A[M].trim().replace(/\\\\\\|/g,\"|\");return A}function U(se,X,q){var A=se.length;if(A===0)return\"\";for(var M=0;M<A;){var j=se.charAt(A-M-1);if(j===X&&!q)M++;else if(j!==X&&q)M++;else break}return se.slice(0,A-M)}function J(se,X){if(se.indexOf(X[1])===-1)return-1;for(var q=se.length,A=0,M=0;M<q;M++)if(se[M]===\"\\\\\")M++;else if(se[M]===X[0])A++;else if(se[M]===X[1]&&(A--,A<0))return M;return-1}function pe(se){se&&se.sanitize&&!se.silent&&console.warn(\"marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options\")}function De(se,X){if(X<1)return\"\";for(var q=\"\";X>1;)X&1&&(q+=se),X>>=1,se+=se;return q+se}function ge(se,X,q,A){var M=X.href,j=X.title?m(X.title):null,z=se[1].replace(/\\\\([\\[\\]])/g,\"$1\");if(se[0].charAt(0)!==\"!\"){A.state.inLink=!0;var ne={type:\"link\",raw:q,href:M,title:j,text:z,tokens:A.inlineTokens(z)};return A.state.inLink=!1,ne}return{type:\"image\",raw:q,href:M,title:j,text:m(z)}}function We(se,X){var q=se.match(/^(\\s+)(?:```)/);if(q===null)return X;var A=q[1];return X.split(`\n`).map(function(M){var j=M.match(/^\\s+/);if(j===null)return M;var z=j[0];return z.length>=A.length?M.slice(A.length):M}).join(`\n`)}var ye=function(){function se(q){this.options=q||e.defaults}var X=se.prototype;return X.space=function(A){var M=this.rules.block.newline.exec(A);if(M&&M[0].length>0)return{type:\"space\",raw:M[0]}},X.code=function(A){var M=this.rules.block.code.exec(A);if(M){var j=M[0].replace(/^ {1,4}/gm,\"\");return{type:\"code\",raw:M[0],codeBlockStyle:\"indented\",text:this.options.pedantic?j:U(j,`\n`)}}},X.fences=function(A){var M=this.rules.block.fences.exec(A);if(M){var j=M[0],z=We(j,M[3]||\"\");return{type:\"code\",raw:j,lang:M[2]?M[2].trim():M[2],text:z}}},X.heading=function(A){var M=this.rules.block.heading.exec(A);if(M){var j=M[2].trim();if(/#$/.test(j)){var z=U(j,\"#\");(this.options.pedantic||!z||/ $/.test(z))&&(j=z.trim())}return{type:\"heading\",raw:M[0],depth:M[1].length,text:j,tokens:this.lexer.inline(j)}}},X.hr=function(A){var M=this.rules.block.hr.exec(A);if(M)return{type:\"hr\",raw:M[0]}},X.blockquote=function(A){var M=this.rules.block.blockquote.exec(A);if(M){var j=M[0].replace(/^ *>[ \\t]?/gm,\"\");return{type:\"blockquote\",raw:M[0],tokens:this.lexer.blockTokens(j,[]),text:j}}},X.list=function(A){var M=this.rules.block.list.exec(A);if(M){var j,z,ne,_e,Me,Oe,ot,tt,Jt,Vt,qe,Mi,Ri=M[1].trim(),Gr=Ri.length>1,Mt={type:\"list\",raw:\"\",ordered:Gr,start:Gr?+Ri.slice(0,-1):\"\",loose:!1,items:[]};Ri=Gr?\"\\\\d{1,9}\\\\\"+Ri.slice(-1):\"\\\\\"+Ri,this.options.pedantic&&(Ri=Gr?Ri:\"[*+-]\");for(var cn=new RegExp(\"^( {0,3}\"+Ri+\")((?:[\t ][^\\\\n]*)?(?:\\\\n|$))\");A&&(Mi=!1,!(!(M=cn.exec(A))||this.rules.block.hr.test(A)));){if(j=M[0],A=A.substring(j.length),tt=M[2].split(`\n`,1)[0],Jt=A.split(`\n`,1)[0],this.options.pedantic?(_e=2,qe=tt.trimLeft()):(_e=M[2].search(/[^ ]/),_e=_e>4?1:_e,qe=tt.slice(_e),_e+=M[1].length),Oe=!1,!tt&&/^ *$/.test(Jt)&&(j+=Jt+`\n`,A=A.substring(Jt.length+1),Mi=!0),!Mi)for(var hg=new RegExp(\"^ {0,\"+Math.min(3,_e-1)+\"}(?:[*+-]|\\\\d{1,9}[.)])((?: [^\\\\n]*)?(?:\\\\n|$))\"),gg=new RegExp(\"^ {0,\"+Math.min(3,_e-1)+\"}((?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$)\"),La=new RegExp(\"^ {0,\"+Math.min(3,_e-1)+\"}(?:```|~~~)\"),cu=new RegExp(\"^ {0,\"+Math.min(3,_e-1)+\"}#\");A&&(Vt=A.split(`\n`,1)[0],tt=Vt,this.options.pedantic&&(tt=tt.replace(/^ {1,4}(?=( {4})*[^ ])/g,\"  \")),!(La.test(tt)||cu.test(tt)||hg.test(tt)||gg.test(A)));){if(tt.search(/[^ ]/)>=_e||!tt.trim())qe+=`\n`+tt.slice(_e);else if(!Oe)qe+=`\n`+tt;else break;!Oe&&!tt.trim()&&(Oe=!0),j+=Vt+`\n`,A=A.substring(Vt.length+1)}Mt.loose||(ot?Mt.loose=!0:/\\n *\\n *$/.test(j)&&(ot=!0)),this.options.gfm&&(z=/^\\[[ xX]\\] /.exec(qe),z&&(ne=z[0]!==\"[ ] \",qe=qe.replace(/^\\[[ xX]\\] +/,\"\"))),Mt.items.push({type:\"list_item\",raw:j,task:!!z,checked:ne,loose:!1,text:qe}),Mt.raw+=j}Mt.items[Mt.items.length-1].raw=j.trimRight(),Mt.items[Mt.items.length-1].text=qe.trimRight(),Mt.raw=Mt.raw.trimRight();var fg=Mt.items.length;for(Me=0;Me<fg;Me++){this.lexer.state.top=!1,Mt.items[Me].tokens=this.lexer.blockTokens(Mt.items[Me].text,[]);var pg=Mt.items[Me].tokens.filter(function(mg){return mg.type===\"space\"}),wp=pg.every(function(mg){for(var lE=mg.raw.split(\"\"),bl=0,I0=r(lE),T0;!(T0=I0()).done;){var X1=T0.value;if(X1===`\n`&&(bl+=1),bl>1)return!0}return!1});!Mt.loose&&pg.length&&wp&&(Mt.loose=!0,Mt.items[Me].loose=!0)}return Mt}},X.html=function(A){var M=this.rules.block.html.exec(A);if(M){var j={type:\"html\",raw:M[0],pre:!this.options.sanitizer&&(M[1]===\"pre\"||M[1]===\"script\"||M[1]===\"style\"),text:M[0]};if(this.options.sanitize){var z=this.options.sanitizer?this.options.sanitizer(M[0]):m(M[0]);j.type=\"paragraph\",j.text=z,j.tokens=this.lexer.inline(z)}return j}},X.def=function(A){var M=this.rules.block.def.exec(A);if(M){M[3]&&(M[3]=M[3].substring(1,M[3].length-1));var j=M[1].toLowerCase().replace(/\\s+/g,\" \");return{type:\"def\",tag:j,raw:M[0],href:M[2],title:M[3]}}},X.table=function(A){var M=this.rules.block.table.exec(A);if(M){var j={type:\"table\",header:V(M[1]).map(function(ot){return{text:ot}}),align:M[2].replace(/^ *|\\| *$/g,\"\").split(/ *\\| */),rows:M[3]&&M[3].trim()?M[3].replace(/\\n[ \\t]*$/,\"\").split(`\n`):[]};if(j.header.length===j.align.length){j.raw=M[0];var z=j.align.length,ne,_e,Me,Oe;for(ne=0;ne<z;ne++)/^ *-+: *$/.test(j.align[ne])?j.align[ne]=\"right\":/^ *:-+: *$/.test(j.align[ne])?j.align[ne]=\"center\":/^ *:-+ *$/.test(j.align[ne])?j.align[ne]=\"left\":j.align[ne]=null;for(z=j.rows.length,ne=0;ne<z;ne++)j.rows[ne]=V(j.rows[ne],j.header.length).map(function(ot){return{text:ot}});for(z=j.header.length,_e=0;_e<z;_e++)j.header[_e].tokens=this.lexer.inline(j.header[_e].text);for(z=j.rows.length,_e=0;_e<z;_e++)for(Oe=j.rows[_e],Me=0;Me<Oe.length;Me++)Oe[Me].tokens=this.lexer.inline(Oe[Me].text);return j}}},X.lheading=function(A){var M=this.rules.block.lheading.exec(A);if(M)return{type:\"heading\",raw:M[0],depth:M[2].charAt(0)===\"=\"?1:2,text:M[1],tokens:this.lexer.inline(M[1])}},X.paragraph=function(A){var M=this.rules.block.paragraph.exec(A);if(M){var j=M[1].charAt(M[1].length-1)===`\n`?M[1].slice(0,-1):M[1];return{type:\"paragraph\",raw:M[0],text:j,tokens:this.lexer.inline(j)}}},X.text=function(A){var M=this.rules.block.text.exec(A);if(M)return{type:\"text\",raw:M[0],text:M[0],tokens:this.lexer.inline(M[0])}},X.escape=function(A){var M=this.rules.inline.escape.exec(A);if(M)return{type:\"escape\",raw:M[0],text:m(M[1])}},X.tag=function(A){var M=this.rules.inline.tag.exec(A);if(M)return!this.lexer.state.inLink&&/^<a /i.test(M[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\\/a>/i.test(M[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\\s|>)/i.test(M[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\\/(pre|code|kbd|script)(\\s|>)/i.test(M[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?\"text\":\"html\",raw:M[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(M[0]):m(M[0]):M[0]}},X.link=function(A){var M=this.rules.inline.link.exec(A);if(M){var j=M[2].trim();if(!this.options.pedantic&&/^</.test(j)){if(!/>$/.test(j))return;var z=U(j.slice(0,-1),\"\\\\\");if((j.length-z.length)%2===0)return}else{var ne=J(M[2],\"()\");if(ne>-1){var _e=M[0].indexOf(\"!\")===0?5:4,Me=_e+M[1].length+ne;M[2]=M[2].substring(0,ne),M[0]=M[0].substring(0,Me).trim(),M[3]=\"\"}}var Oe=M[2],ot=\"\";if(this.options.pedantic){var tt=/^([^'\"]*[^\\s])\\s+(['\"])(.*)\\2/.exec(Oe);tt&&(Oe=tt[1],ot=tt[3])}else ot=M[3]?M[3].slice(1,-1):\"\";return Oe=Oe.trim(),/^</.test(Oe)&&(this.options.pedantic&&!/>$/.test(j)?Oe=Oe.slice(1):Oe=Oe.slice(1,-1)),ge(M,{href:Oe&&Oe.replace(this.rules.inline._escapes,\"$1\"),title:ot&&ot.replace(this.rules.inline._escapes,\"$1\")},M[0],this.lexer)}},X.reflink=function(A,M){var j;if((j=this.rules.inline.reflink.exec(A))||(j=this.rules.inline.nolink.exec(A))){var z=(j[2]||j[1]).replace(/\\s+/g,\" \");if(z=M[z.toLowerCase()],!z||!z.href){var ne=j[0].charAt(0);return{type:\"text\",raw:ne,text:ne}}return ge(j,z,j[0],this.lexer)}},X.emStrong=function(A,M,j){j===void 0&&(j=\"\");var z=this.rules.inline.emStrong.lDelim.exec(A);if(z&&!(z[3]&&j.match(/(?:[0-9A-Za-z\\xAA\\xB2\\xB3\\xB5\\xB9\\xBA\\xBC-\\xBE\\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\\u0660-\\u0669\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07C0-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0966-\\u096F\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09E6-\\u09F1\\u09F4-\\u09F9\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A6F\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AE6-\\u0AEF\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B66-\\u0B6F\\u0B71-\\u0B77\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0BE6-\\u0BF2\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5D\\u0C60\\u0C61\\u0C66-\\u0C6F\\u0C78-\\u0C7E\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDD\\u0CDE\\u0CE0\\u0CE1\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D58-\\u0D61\\u0D66-\\u0D78\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DE6-\\u0DEF\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F20-\\u0F33\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F-\\u1049\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u1090-\\u1099\\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\\u1369-\\u137C\\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\\u17E0-\\u17E9\\u17F0-\\u17F9\\u1810-\\u1819\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B50-\\u1B59\\u1B83-\\u1BA0\\u1BAE-\\u1BE5\\u1C00-\\u1C23\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2070\\u2071\\u2074-\\u2079\\u207F-\\u2089\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2150-\\u2189\\u2460-\\u249B\\u24EA-\\u24FF\\u2776-\\u2793\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2CFD\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u3192-\\u3195\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3220-\\u3229\\u3248-\\u324F\\u3251-\\u325F\\u3280-\\u3289\\u32B1-\\u32BF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA830-\\uA835\\uA840-\\uA873\\uA882-\\uA8B3\\uA8D0-\\uA8D9\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA8FE\\uA900-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF-\\uA9D9\\uA9E0-\\uA9E4\\uA9E6-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA50-\\uAA59\\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\\uABF0-\\uABF9\\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\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD07-\\uDD33\\uDD40-\\uDD78\\uDD8A\\uDD8B\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDEE1-\\uDEFB\\uDF00-\\uDF23\\uDF2D-\\uDF4A\\uDF50-\\uDF75\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCA0-\\uDCA9\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDD70-\\uDD7A\\uDD7C-\\uDD8A\\uDD8C-\\uDD92\\uDD94\\uDD95\\uDD97-\\uDDA1\\uDDA3-\\uDDB1\\uDDB3-\\uDDB9\\uDDBB\\uDDBC\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67\\uDF80-\\uDF85\\uDF87-\\uDFB0\\uDFB2-\\uDFBA]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC58-\\uDC76\\uDC79-\\uDC9E\\uDCA7-\\uDCAF\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDCFB-\\uDD1B\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBC-\\uDDCF\\uDDD2-\\uDE00\\uDE10-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE35\\uDE40-\\uDE48\\uDE60-\\uDE7E\\uDE80-\\uDE9F\\uDEC0-\\uDEC7\\uDEC9-\\uDEE4\\uDEEB-\\uDEEF\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF58-\\uDF72\\uDF78-\\uDF91\\uDFA9-\\uDFAF]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2\\uDCFA-\\uDD23\\uDD30-\\uDD39\\uDE60-\\uDE7E\\uDE80-\\uDEA9\\uDEB0\\uDEB1\\uDF00-\\uDF27\\uDF30-\\uDF45\\uDF51-\\uDF54\\uDF70-\\uDF81\\uDFB0-\\uDFCB\\uDFE0-\\uDFF6]|\\uD804[\\uDC03-\\uDC37\\uDC52-\\uDC6F\\uDC71\\uDC72\\uDC75\\uDC83-\\uDCAF\\uDCD0-\\uDCE8\\uDCF0-\\uDCF9\\uDD03-\\uDD26\\uDD36-\\uDD3F\\uDD44\\uDD47\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDD0-\\uDDDA\\uDDDC\\uDDE1-\\uDDF4\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDEF0-\\uDEF9\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC50-\\uDC59\\uDC5F-\\uDC61\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEAA\\uDEB8\\uDEC0-\\uDEC9\\uDF00-\\uDF1A\\uDF30-\\uDF3B\\uDF40-\\uDF46]|\\uD806[\\uDC00-\\uDC2B\\uDCA0-\\uDCF2\\uDCFF-\\uDD06\\uDD09\\uDD0C-\\uDD13\\uDD15\\uDD16\\uDD18-\\uDD2F\\uDD3F\\uDD41\\uDD50-\\uDD59\\uDDA0-\\uDDA7\\uDDAA-\\uDDD0\\uDDE1\\uDDE3\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE89\\uDE9D\\uDEB0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC50-\\uDC6C\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46\\uDD50-\\uDD59\\uDD60-\\uDD65\\uDD67\\uDD68\\uDD6A-\\uDD89\\uDD98\\uDDA0-\\uDDA9\\uDEE0-\\uDEF2\\uDFB0\\uDFC0-\\uDFD4]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDE70-\\uDEBE\\uDEC0-\\uDEC9\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF5B-\\uDF61\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE96\\uDF00-\\uDF4A\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1\\uDFE3]|\\uD821[\\uDC00-\\uDFF7]|\\uD823[\\uDC00-\\uDCD5\\uDD00-\\uDD08]|\\uD82B[\\uDFF0-\\uDFF3\\uDFF5-\\uDFFB\\uDFFD\\uDFFE]|\\uD82C[\\uDC00-\\uDD22\\uDD50-\\uDD52\\uDD64-\\uDD67\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD834[\\uDEE0-\\uDEF3\\uDF60-\\uDF78]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB\\uDFCE-\\uDFFF]|\\uD837[\\uDF00-\\uDF1E]|\\uD838[\\uDD00-\\uDD2C\\uDD37-\\uDD3D\\uDD40-\\uDD49\\uDD4E\\uDE90-\\uDEAD\\uDEC0-\\uDEEB\\uDEF0-\\uDEF9]|\\uD839[\\uDFE0-\\uDFE6\\uDFE8-\\uDFEB\\uDFED\\uDFEE\\uDFF0-\\uDFFE]|\\uD83A[\\uDC00-\\uDCC4\\uDCC7-\\uDCCF\\uDD00-\\uDD43\\uDD4B\\uDD50-\\uDD59]|\\uD83B[\\uDC71-\\uDCAB\\uDCAD-\\uDCAF\\uDCB1-\\uDCB4\\uDD01-\\uDD2D\\uDD2F-\\uDD3D\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD83C[\\uDD00-\\uDD0C]|\\uD83E[\\uDFF0-\\uDFF9]|\\uD869[\\uDC00-\\uDEDF\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF38\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uD884[\\uDC00-\\uDF4A])/))){var ne=z[1]||z[2]||\"\";if(!ne||ne&&(j===\"\"||this.rules.inline.punctuation.exec(j))){var _e=z[0].length-1,Me,Oe,ot=_e,tt=0,Jt=z[0][0]===\"*\"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Jt.lastIndex=0,M=M.slice(-1*A.length+_e);(z=Jt.exec(M))!=null;)if(Me=z[1]||z[2]||z[3]||z[4]||z[5]||z[6],!!Me){if(Oe=Me.length,z[3]||z[4]){ot+=Oe;continue}else if((z[5]||z[6])&&_e%3&&!((_e+Oe)%3)){tt+=Oe;continue}if(ot-=Oe,!(ot>0)){if(Oe=Math.min(Oe,Oe+ot+tt),Math.min(_e,Oe)%2){var Vt=A.slice(1,_e+z.index+Oe);return{type:\"em\",raw:A.slice(0,_e+z.index+Oe+1),text:Vt,tokens:this.lexer.inlineTokens(Vt)}}var qe=A.slice(2,_e+z.index+Oe-1);return{type:\"strong\",raw:A.slice(0,_e+z.index+Oe+1),text:qe,tokens:this.lexer.inlineTokens(qe)}}}}}},X.codespan=function(A){var M=this.rules.inline.code.exec(A);if(M){var j=M[2].replace(/\\n/g,\" \"),z=/[^ ]/.test(j),ne=/^ /.test(j)&&/ $/.test(j);return z&&ne&&(j=j.substring(1,j.length-1)),j=m(j,!0),{type:\"codespan\",raw:M[0],text:j}}},X.br=function(A){var M=this.rules.inline.br.exec(A);if(M)return{type:\"br\",raw:M[0]}},X.del=function(A){var M=this.rules.inline.del.exec(A);if(M)return{type:\"del\",raw:M[0],text:M[2],tokens:this.lexer.inlineTokens(M[2])}},X.autolink=function(A,M){var j=this.rules.inline.autolink.exec(A);if(j){var z,ne;return j[2]===\"@\"?(z=m(this.options.mangle?M(j[1]):j[1]),ne=\"mailto:\"+z):(z=m(j[1]),ne=z),{type:\"link\",raw:j[0],text:z,href:ne,tokens:[{type:\"text\",raw:z,text:z}]}}},X.url=function(A,M){var j;if(j=this.rules.inline.url.exec(A)){var z,ne;if(j[2]===\"@\")z=m(this.options.mangle?M(j[0]):j[0]),ne=\"mailto:\"+z;else{var _e;do _e=j[0],j[0]=this.rules.inline._backpedal.exec(j[0])[0];while(_e!==j[0]);z=m(j[0]),j[1]===\"www.\"?ne=\"http://\"+z:ne=z}return{type:\"link\",raw:j[0],text:z,href:ne,tokens:[{type:\"text\",raw:z,text:z}]}}},X.inlineText=function(A,M){var j=this.rules.inline.text.exec(A);if(j){var z;return this.lexer.state.inRawBlock?z=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(j[0]):m(j[0]):j[0]:z=m(this.options.smartypants?M(j[0]):j[0]),{type:\"text\",raw:j[0],text:z}}},se}(),ve={newline:/^(?: *(?:\\n|$))+/,code:/^( {4}[^\\n]+(?:\\n(?: *(?:\\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\\n]*\\n)|~{3,})([^\\n]*)\\n(?:|([\\s\\S]*?)\\n)(?: {0,3}\\1[~`]* *(?=\\n|$)|$)/,hr:/^ {0,3}((?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,list:/^( {0,3}bull)([ \\t][^\\n]+?)?(?:\\n|$)/,html:\"^ {0,3}(?:<(script|pre|style|textarea)[\\\\s>][\\\\s\\\\S]*?(?:</\\\\1>[^\\\\n]*\\\\n+|$)|comment[^\\\\n]*(\\\\n+|$)|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>\\\\n*|$)|<![A-Z][\\\\s\\\\S]*?(?:>\\\\n*|$)|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?(?:\\\\]\\\\]>\\\\n*|$)|</?(tag)(?: +|\\\\n|/?>)[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)|<(?!script|pre|style|textarea)([a-z][\\\\w-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)|</(?!script|pre|style|textarea)[a-z][\\\\w-]*\\\\s*>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$))\",def:/^ {0,3}\\[(label)\\]: *(?:\\n *)?<?([^\\s>]+)>?(?:(?: +(?:\\n *)?| *\\n *)(title))? *(?:\\n+|$)/,table:P,lheading:/^([^\\n]+)\\n {0,3}(=+|-+) *(?:\\n+|$)/,_paragraph:/^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\\n)[^\\n]+)*)/,text:/^[^\\n]+/};ve._label=/(?!\\s*\\])(?:\\\\.|[^\\[\\]\\\\])+/,ve._title=/(?:\"(?:\\\\\"?|[^\"\\\\])*\"|'[^'\\n]*(?:\\n[^'\\n]+)*\\n?'|\\([^()]*\\))/,ve.def=C(ve.def).replace(\"label\",ve._label).replace(\"title\",ve._title).getRegex(),ve.bullet=/(?:[*+-]|\\d{1,9}[.)])/,ve.listItemStart=C(/^( *)(bull) */).replace(\"bull\",ve.bullet).getRegex(),ve.list=C(ve.list).replace(/bull/g,ve.bullet).replace(\"hr\",\"\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))\").replace(\"def\",\"\\\\n+(?=\"+ve.def.source+\")\").getRegex(),ve._tag=\"address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul\",ve._comment=/<!--(?!-?>)[\\s\\S]*?(?:-->|$)/,ve.html=C(ve.html,\"i\").replace(\"comment\",ve._comment).replace(\"tag\",ve._tag).replace(\"attribute\",/ +[a-zA-Z:_][\\w.:-]*(?: *= *\"[^\"\\n]*\"| *= *'[^'\\n]*'| *= *[^\\s\"'=<>`]+)?/).getRegex(),ve.paragraph=C(ve._paragraph).replace(\"hr\",ve.hr).replace(\"heading\",\" {0,3}#{1,6} \").replace(\"|lheading\",\"\").replace(\"|table\",\"\").replace(\"blockquote\",\" {0,3}>\").replace(\"fences\",\" {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n\").replace(\"list\",\" {0,3}(?:[*+-]|1[.)]) \").replace(\"html\",\"</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|textarea|!--)\").replace(\"tag\",ve._tag).getRegex(),ve.blockquote=C(ve.blockquote).replace(\"paragraph\",ve.paragraph).getRegex(),ve.normal=F({},ve),ve.gfm=F({},ve.normal,{table:\"^ *([^\\\\n ].*\\\\|.*)\\\\n {0,3}(?:\\\\| *)?(:?-+:? *(?:\\\\| *:?-+:? *)*)(?:\\\\| *)?(?:\\\\n((?:(?! *\\\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\\\n|$))*)\\\\n*|$)\"}),ve.gfm.table=C(ve.gfm.table).replace(\"hr\",ve.hr).replace(\"heading\",\" {0,3}#{1,6} \").replace(\"blockquote\",\" {0,3}>\").replace(\"code\",\" {4}[^\\\\n]\").replace(\"fences\",\" {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n\").replace(\"list\",\" {0,3}(?:[*+-]|1[.)]) \").replace(\"html\",\"</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|textarea|!--)\").replace(\"tag\",ve._tag).getRegex(),ve.gfm.paragraph=C(ve._paragraph).replace(\"hr\",ve.hr).replace(\"heading\",\" {0,3}#{1,6} \").replace(\"|lheading\",\"\").replace(\"table\",ve.gfm.table).replace(\"blockquote\",\" {0,3}>\").replace(\"fences\",\" {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n\").replace(\"list\",\" {0,3}(?:[*+-]|1[.)]) \").replace(\"html\",\"</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|textarea|!--)\").replace(\"tag\",ve._tag).getRegex(),ve.pedantic=F({},ve.normal,{html:C(`^ *(?:comment *(?:\\\\n|\\\\s*$)|<(tag)[\\\\s\\\\S]+?</\\\\1> *(?:\\\\n{2,}|\\\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\\\s[^'\"/>\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))`).replace(\"comment\",ve._comment).replace(/tag/g,\"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b\").getRegex(),def:/^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +([\"(][^\\n]+[\")]))? *(?:\\n+|$)/,heading:/^(#{1,6})(.*)(?:\\n+|$)/,fences:P,paragraph:C(ve.normal._paragraph).replace(\"hr\",ve.hr).replace(\"heading\",` *#{1,6} *[^\n]`).replace(\"lheading\",ve.lheading).replace(\"blockquote\",\" {0,3}>\").replace(\"|fences\",\"\").replace(\"|list\",\"\").replace(\"|html\",\"\").getRegex()});var ce={escape:/^\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,autolink:/^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,url:P,tag:\"^comment|^</[a-zA-Z][\\\\w:-]*\\\\s*>|^<[a-zA-Z][\\\\w-]*(?:attribute)*?\\\\s*/?>|^<\\\\?[\\\\s\\\\S]*?\\\\?>|^<![a-zA-Z]+\\\\s[\\\\s\\\\S]*?>|^<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>\",link:/^!?\\[(label)\\]\\(\\s*(href)(?:\\s+(title))?\\s*\\)/,reflink:/^!?\\[(label)\\]\\[(ref)\\]/,nolink:/^!?\\[(ref)\\](?:\\[\\])?/,reflinkSearch:\"reflink|nolink(?!\\\\()\",emStrong:{lDelim:/^(?:\\*+(?:([punct_])|[^\\s*]))|^_+(?:([punct*])|([^\\s_]))/,rDelimAst:/^[^_*]*?\\_\\_[^_*]*?\\*[^_*]*?(?=\\_\\_)|[^*]+(?=[^*])|[punct_](\\*+)(?=[\\s]|$)|[^punct*_\\s](\\*+)(?=[punct_\\s]|$)|[punct_\\s](\\*+)(?=[^punct*_\\s])|[\\s](\\*+)(?=[punct_])|[punct_](\\*+)(?=[punct_])|[^punct*_\\s](\\*+)(?=[^punct*_\\s])/,rDelimUnd:/^[^_*]*?\\*\\*[^_*]*?\\_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|[punct*](\\_+)(?=[\\s]|$)|[^punct*_\\s](\\_+)(?=[punct*\\s]|$)|[punct*\\s](\\_+)(?=[^punct*_\\s])|[\\s](\\_+)(?=[punct*])|[punct*](\\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/,br:/^( {2,}|\\\\)\\n(?!\\s*$)/,del:P,text:/^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*_]|\\b_|$)|[^ ](?= {2,}\\n)))/,punctuation:/^([\\spunctuation])/};ce._punctuation=\"!\\\"#$%&'()+\\\\-.,/:;<=>?@\\\\[\\\\]`^{|}~\",ce.punctuation=C(ce.punctuation).replace(/punctuation/g,ce._punctuation).getRegex(),ce.blockSkip=/\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>/g,ce.escapedEmSt=/\\\\\\*|\\\\_/g,ce._comment=C(ve._comment).replace(\"(?:-->|$)\",\"-->\").getRegex(),ce.emStrong.lDelim=C(ce.emStrong.lDelim).replace(/punct/g,ce._punctuation).getRegex(),ce.emStrong.rDelimAst=C(ce.emStrong.rDelimAst,\"g\").replace(/punct/g,ce._punctuation).getRegex(),ce.emStrong.rDelimUnd=C(ce.emStrong.rDelimUnd,\"g\").replace(/punct/g,ce._punctuation).getRegex(),ce._escapes=/\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/g,ce._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ce._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ce.autolink=C(ce.autolink).replace(\"scheme\",ce._scheme).replace(\"email\",ce._email).getRegex(),ce._attribute=/\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*\"[^\"]*\"|\\s*=\\s*'[^']*'|\\s*=\\s*[^\\s\"'=<>`]+)?/,ce.tag=C(ce.tag).replace(\"comment\",ce._comment).replace(\"attribute\",ce._attribute).getRegex(),ce._label=/(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/,ce._href=/<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/,ce._title=/\"(?:\\\\\"?|[^\"\\\\])*\"|'(?:\\\\'?|[^'\\\\])*'|\\((?:\\\\\\)?|[^)\\\\])*\\)/,ce.link=C(ce.link).replace(\"label\",ce._label).replace(\"href\",ce._href).replace(\"title\",ce._title).getRegex(),ce.reflink=C(ce.reflink).replace(\"label\",ce._label).replace(\"ref\",ve._label).getRegex(),ce.nolink=C(ce.nolink).replace(\"ref\",ve._label).getRegex(),ce.reflinkSearch=C(ce.reflinkSearch,\"g\").replace(\"reflink\",ce.reflink).replace(\"nolink\",ce.nolink).getRegex(),ce.normal=F({},ce),ce.pedantic=F({},ce.normal,{strong:{start:/^__|\\*\\*/,middle:/^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,endAst:/\\*\\*(?!\\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\\*/,middle:/^()\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)|^_(?=\\S)([\\s\\S]*?\\S)_(?!_)/,endAst:/\\*(?!\\*)/g,endUnd:/_(?!_)/g},link:C(/^!?\\[(label)\\]\\((.*?)\\)/).replace(\"label\",ce._label).getRegex(),reflink:C(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/).replace(\"label\",ce._label).getRegex()}),ce.gfm=F({},ce.normal,{escape:C(ce.escape).replace(\"])\",\"~|])\").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\\s~])([\\s\\S]*?[^\\s~])\\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\\n)|(?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*~_]|\\b_|https?:\\/\\/|ftp:\\/\\/|www\\.|$)|[^ ](?= {2,}\\n)|[^a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-](?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)))/}),ce.gfm.url=C(ce.gfm.url,\"i\").replace(\"email\",ce.gfm._extended_email).getRegex(),ce.breaks=F({},ce.gfm,{br:C(ce.br).replace(\"{2,}\",\"*\").getRegex(),text:C(ce.gfm.text).replace(\"\\\\b_\",\"\\\\b_| {2,}\\\\n\").replace(/\\{2,\\}/g,\"*\").getRegex()});function Qt(se){return se.replace(/---/g,\"—\").replace(/--/g,\"–\").replace(/(^|[-\\u2014/(\\[{\"\\s])'/g,\"$1‘\").replace(/'/g,\"’\").replace(/(^|[-\\u2014/(\\[{\\u2018\\s])\"/g,\"$1“\").replace(/\"/g,\"”\").replace(/\\.{3}/g,\"…\")}function Ui(se){var X=\"\",q,A,M=se.length;for(q=0;q<M;q++)A=se.charCodeAt(q),Math.random()>.5&&(A=\"x\"+A.toString(16)),X+=\"&#\"+A+\";\";return X}var Gi=function(){function se(q){this.tokens=[],this.tokens.links=Object.create(null),this.options=q||e.defaults,this.options.tokenizer=this.options.tokenizer||new ye,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var A={block:ve.normal,inline:ce.normal};this.options.pedantic?(A.block=ve.pedantic,A.inline=ce.pedantic):this.options.gfm&&(A.block=ve.gfm,this.options.breaks?A.inline=ce.breaks:A.inline=ce.gfm),this.tokenizer.rules=A}se.lex=function(A,M){var j=new se(M);return j.lex(A)},se.lexInline=function(A,M){var j=new se(M);return j.inlineTokens(A)};var X=se.prototype;return X.lex=function(A){A=A.replace(/\\r\\n|\\r/g,`\n`),this.blockTokens(A,this.tokens);for(var M;M=this.inlineQueue.shift();)this.inlineTokens(M.src,M.tokens);return this.tokens},X.blockTokens=function(A,M){var j=this;M===void 0&&(M=[]),this.options.pedantic?A=A.replace(/\\t/g,\"    \").replace(/^ +$/gm,\"\"):A=A.replace(/^( *)(\\t+)/gm,function(ot,tt,Jt){return tt+\"    \".repeat(Jt.length)});for(var z,ne,_e,Me;A;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(ot){return(z=ot.call({lexer:j},A,M))?(A=A.substring(z.raw.length),M.push(z),!0):!1}))){if(z=this.tokenizer.space(A)){A=A.substring(z.raw.length),z.raw.length===1&&M.length>0?M[M.length-1].raw+=`\n`:M.push(z);continue}if(z=this.tokenizer.code(A)){A=A.substring(z.raw.length),ne=M[M.length-1],ne&&(ne.type===\"paragraph\"||ne.type===\"text\")?(ne.raw+=`\n`+z.raw,ne.text+=`\n`+z.text,this.inlineQueue[this.inlineQueue.length-1].src=ne.text):M.push(z);continue}if(z=this.tokenizer.fences(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.heading(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.hr(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.blockquote(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.list(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.html(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.def(A)){A=A.substring(z.raw.length),ne=M[M.length-1],ne&&(ne.type===\"paragraph\"||ne.type===\"text\")?(ne.raw+=`\n`+z.raw,ne.text+=`\n`+z.raw,this.inlineQueue[this.inlineQueue.length-1].src=ne.text):this.tokens.links[z.tag]||(this.tokens.links[z.tag]={href:z.href,title:z.title});continue}if(z=this.tokenizer.table(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.lheading(A)){A=A.substring(z.raw.length),M.push(z);continue}if(_e=A,this.options.extensions&&this.options.extensions.startBlock&&function(){var ot=1/0,tt=A.slice(1),Jt=void 0;j.options.extensions.startBlock.forEach(function(Vt){Jt=Vt.call({lexer:this},tt),typeof Jt==\"number\"&&Jt>=0&&(ot=Math.min(ot,Jt))}),ot<1/0&&ot>=0&&(_e=A.substring(0,ot+1))}(),this.state.top&&(z=this.tokenizer.paragraph(_e))){ne=M[M.length-1],Me&&ne.type===\"paragraph\"?(ne.raw+=`\n`+z.raw,ne.text+=`\n`+z.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ne.text):M.push(z),Me=_e.length!==A.length,A=A.substring(z.raw.length);continue}if(z=this.tokenizer.text(A)){A=A.substring(z.raw.length),ne=M[M.length-1],ne&&ne.type===\"text\"?(ne.raw+=`\n`+z.raw,ne.text+=`\n`+z.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ne.text):M.push(z);continue}if(A){var Oe=\"Infinite loop on byte: \"+A.charCodeAt(0);if(this.options.silent){console.error(Oe);break}else throw new Error(Oe)}}return this.state.top=!0,M},X.inline=function(A,M){return M===void 0&&(M=[]),this.inlineQueue.push({src:A,tokens:M}),M},X.inlineTokens=function(A,M){var j=this;M===void 0&&(M=[]);var z,ne,_e,Me=A,Oe,ot,tt;if(this.tokens.links){var Jt=Object.keys(this.tokens.links);if(Jt.length>0)for(;(Oe=this.tokenizer.rules.inline.reflinkSearch.exec(Me))!=null;)Jt.includes(Oe[0].slice(Oe[0].lastIndexOf(\"[\")+1,-1))&&(Me=Me.slice(0,Oe.index)+\"[\"+De(\"a\",Oe[0].length-2)+\"]\"+Me.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Oe=this.tokenizer.rules.inline.blockSkip.exec(Me))!=null;)Me=Me.slice(0,Oe.index)+\"[\"+De(\"a\",Oe[0].length-2)+\"]\"+Me.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Oe=this.tokenizer.rules.inline.escapedEmSt.exec(Me))!=null;)Me=Me.slice(0,Oe.index)+\"++\"+Me.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;A;)if(ot||(tt=\"\"),ot=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(qe){return(z=qe.call({lexer:j},A,M))?(A=A.substring(z.raw.length),M.push(z),!0):!1}))){if(z=this.tokenizer.escape(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.tag(A)){A=A.substring(z.raw.length),ne=M[M.length-1],ne&&z.type===\"text\"&&ne.type===\"text\"?(ne.raw+=z.raw,ne.text+=z.text):M.push(z);continue}if(z=this.tokenizer.link(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.reflink(A,this.tokens.links)){A=A.substring(z.raw.length),ne=M[M.length-1],ne&&z.type===\"text\"&&ne.type===\"text\"?(ne.raw+=z.raw,ne.text+=z.text):M.push(z);continue}if(z=this.tokenizer.emStrong(A,Me,tt)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.codespan(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.br(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.del(A)){A=A.substring(z.raw.length),M.push(z);continue}if(z=this.tokenizer.autolink(A,Ui)){A=A.substring(z.raw.length),M.push(z);continue}if(!this.state.inLink&&(z=this.tokenizer.url(A,Ui))){A=A.substring(z.raw.length),M.push(z);continue}if(_e=A,this.options.extensions&&this.options.extensions.startInline&&function(){var qe=1/0,Mi=A.slice(1),Ri=void 0;j.options.extensions.startInline.forEach(function(Gr){Ri=Gr.call({lexer:this},Mi),typeof Ri==\"number\"&&Ri>=0&&(qe=Math.min(qe,Ri))}),qe<1/0&&qe>=0&&(_e=A.substring(0,qe+1))}(),z=this.tokenizer.inlineText(_e,Qt)){A=A.substring(z.raw.length),z.raw.slice(-1)!==\"_\"&&(tt=z.raw.slice(-1)),ot=!0,ne=M[M.length-1],ne&&ne.type===\"text\"?(ne.raw+=z.raw,ne.text+=z.text):M.push(z);continue}if(A){var Vt=\"Infinite loop on byte: \"+A.charCodeAt(0);if(this.options.silent){console.error(Vt);break}else throw new Error(Vt)}}return M},i(se,null,[{key:\"rules\",get:function(){return{block:ve,inline:ce}}}]),se}(),St=function(){function se(q){this.options=q||e.defaults}var X=se.prototype;return X.code=function(A,M,j){var z=(M||\"\").match(/\\S*/)[0];if(this.options.highlight){var ne=this.options.highlight(A,z);ne!=null&&ne!==A&&(j=!0,A=ne)}return A=A.replace(/\\n$/,\"\")+`\n`,z?'<pre><code class=\"'+this.options.langPrefix+m(z,!0)+'\">'+(j?A:m(A,!0))+`</code></pre>\n`:\"<pre><code>\"+(j?A:m(A,!0))+`</code></pre>\n`},X.blockquote=function(A){return`<blockquote>\n`+A+`</blockquote>\n`},X.html=function(A){return A},X.heading=function(A,M,j,z){if(this.options.headerIds){var ne=this.options.headerPrefix+z.slug(j);return\"<h\"+M+' id=\"'+ne+'\">'+A+\"</h\"+M+`>\n`}return\"<h\"+M+\">\"+A+\"</h\"+M+`>\n`},X.hr=function(){return this.options.xhtml?`<hr/>\n`:`<hr>\n`},X.list=function(A,M,j){var z=M?\"ol\":\"ul\",ne=M&&j!==1?' start=\"'+j+'\"':\"\";return\"<\"+z+ne+`>\n`+A+\"</\"+z+`>\n`},X.listitem=function(A){return\"<li>\"+A+`</li>\n`},X.checkbox=function(A){return\"<input \"+(A?'checked=\"\" ':\"\")+'disabled=\"\" type=\"checkbox\"'+(this.options.xhtml?\" /\":\"\")+\"> \"},X.paragraph=function(A){return\"<p>\"+A+`</p>\n`},X.table=function(A,M){return M&&(M=\"<tbody>\"+M+\"</tbody>\"),`<table>\n<thead>\n`+A+`</thead>\n`+M+`</table>\n`},X.tablerow=function(A){return`<tr>\n`+A+`</tr>\n`},X.tablecell=function(A,M){var j=M.header?\"th\":\"td\",z=M.align?\"<\"+j+' align=\"'+M.align+'\">':\"<\"+j+\">\";return z+A+(\"</\"+j+`>\n`)},X.strong=function(A){return\"<strong>\"+A+\"</strong>\"},X.em=function(A){return\"<em>\"+A+\"</em>\"},X.codespan=function(A){return\"<code>\"+A+\"</code>\"},X.br=function(){return this.options.xhtml?\"<br/>\":\"<br>\"},X.del=function(A){return\"<del>\"+A+\"</del>\"},X.link=function(A,M,j){if(A=D(this.options.sanitize,this.options.baseUrl,A),A===null)return j;var z='<a href=\"'+m(A)+'\"';return M&&(z+=' title=\"'+M+'\"'),z+=\">\"+j+\"</a>\",z},X.image=function(A,M,j){if(A=D(this.options.sanitize,this.options.baseUrl,A),A===null)return j;var z='<img src=\"'+A+'\" alt=\"'+j+'\"';return M&&(z+=' title=\"'+M+'\"'),z+=this.options.xhtml?\"/>\":\">\",z},X.text=function(A){return A},se}(),tn=function(){function se(){}var X=se.prototype;return X.strong=function(A){return A},X.em=function(A){return A},X.codespan=function(A){return A},X.del=function(A){return A},X.html=function(A){return A},X.text=function(A){return A},X.link=function(A,M,j){return\"\"+j},X.image=function(A,M,j){return\"\"+j},X.br=function(){return\"\"},se}(),Pn=function(){function se(){this.seen={}}var X=se.prototype;return X.serialize=function(A){return A.toLowerCase().trim().replace(/<[!\\/a-z].*?>/ig,\"\").replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\'!\"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g,\"\").replace(/\\s/g,\"-\")},X.getNextSafeSlug=function(A,M){var j=A,z=0;if(this.seen.hasOwnProperty(j)){z=this.seen[A];do z++,j=A+\"-\"+z;while(this.seen.hasOwnProperty(j))}return M||(this.seen[A]=z,this.seen[j]=0),j},X.slug=function(A,M){M===void 0&&(M={});var j=this.serialize(A);return this.getNextSafeSlug(j,M.dryrun)},se}(),ln=function(){function se(q){this.options=q||e.defaults,this.options.renderer=this.options.renderer||new St,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new tn,this.slugger=new Pn}se.parse=function(A,M){var j=new se(M);return j.parse(A)},se.parseInline=function(A,M){var j=new se(M);return j.parseInline(A)};var X=se.prototype;return X.parse=function(A,M){M===void 0&&(M=!0);var j=\"\",z,ne,_e,Me,Oe,ot,tt,Jt,Vt,qe,Mi,Ri,Gr,Mt,cn,hg,gg,La,cu,fg=A.length;for(z=0;z<fg;z++){if(qe=A[z],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[qe.type]&&(cu=this.options.extensions.renderers[qe.type].call({parser:this},qe),cu!==!1||![\"space\",\"hr\",\"heading\",\"code\",\"table\",\"blockquote\",\"list\",\"html\",\"paragraph\",\"text\"].includes(qe.type))){j+=cu||\"\";continue}switch(qe.type){case\"space\":continue;case\"hr\":{j+=this.renderer.hr();continue}case\"heading\":{j+=this.renderer.heading(this.parseInline(qe.tokens),qe.depth,v(this.parseInline(qe.tokens,this.textRenderer)),this.slugger);continue}case\"code\":{j+=this.renderer.code(qe.text,qe.lang,qe.escaped);continue}case\"table\":{for(Jt=\"\",tt=\"\",Me=qe.header.length,ne=0;ne<Me;ne++)tt+=this.renderer.tablecell(this.parseInline(qe.header[ne].tokens),{header:!0,align:qe.align[ne]});for(Jt+=this.renderer.tablerow(tt),Vt=\"\",Me=qe.rows.length,ne=0;ne<Me;ne++){for(ot=qe.rows[ne],tt=\"\",Oe=ot.length,_e=0;_e<Oe;_e++)tt+=this.renderer.tablecell(this.parseInline(ot[_e].tokens),{header:!1,align:qe.align[_e]});Vt+=this.renderer.tablerow(tt)}j+=this.renderer.table(Jt,Vt);continue}case\"blockquote\":{Vt=this.parse(qe.tokens),j+=this.renderer.blockquote(Vt);continue}case\"list\":{for(Mi=qe.ordered,Ri=qe.start,Gr=qe.loose,Me=qe.items.length,Vt=\"\",ne=0;ne<Me;ne++)cn=qe.items[ne],hg=cn.checked,gg=cn.task,Mt=\"\",cn.task&&(La=this.renderer.checkbox(hg),Gr?cn.tokens.length>0&&cn.tokens[0].type===\"paragraph\"?(cn.tokens[0].text=La+\" \"+cn.tokens[0].text,cn.tokens[0].tokens&&cn.tokens[0].tokens.length>0&&cn.tokens[0].tokens[0].type===\"text\"&&(cn.tokens[0].tokens[0].text=La+\" \"+cn.tokens[0].tokens[0].text)):cn.tokens.unshift({type:\"text\",text:La}):Mt+=La),Mt+=this.parse(cn.tokens,Gr),Vt+=this.renderer.listitem(Mt,gg,hg);j+=this.renderer.list(Vt,Mi,Ri);continue}case\"html\":{j+=this.renderer.html(qe.text);continue}case\"paragraph\":{j+=this.renderer.paragraph(this.parseInline(qe.tokens));continue}case\"text\":{for(Vt=qe.tokens?this.parseInline(qe.tokens):qe.text;z+1<fg&&A[z+1].type===\"text\";)qe=A[++z],Vt+=`\n`+(qe.tokens?this.parseInline(qe.tokens):qe.text);j+=M?this.renderer.paragraph(Vt):Vt;continue}default:{var pg='Token with \"'+qe.type+'\" type was not found.';if(this.options.silent){console.error(pg);return}else throw new Error(pg)}}}return j},X.parseInline=function(A,M){M=M||this.renderer;var j=\"\",z,ne,_e,Me=A.length;for(z=0;z<Me;z++){if(ne=A[z],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ne.type]&&(_e=this.options.extensions.renderers[ne.type].call({parser:this},ne),_e!==!1||![\"escape\",\"html\",\"link\",\"image\",\"strong\",\"em\",\"codespan\",\"br\",\"del\",\"text\"].includes(ne.type))){j+=_e||\"\";continue}switch(ne.type){case\"escape\":{j+=M.text(ne.text);break}case\"html\":{j+=M.html(ne.text);break}case\"link\":{j+=M.link(ne.href,ne.title,this.parseInline(ne.tokens,M));break}case\"image\":{j+=M.image(ne.href,ne.title,ne.text);break}case\"strong\":{j+=M.strong(this.parseInline(ne.tokens,M));break}case\"em\":{j+=M.em(this.parseInline(ne.tokens,M));break}case\"codespan\":{j+=M.codespan(ne.text);break}case\"br\":{j+=M.br();break}case\"del\":{j+=M.del(this.parseInline(ne.tokens,M));break}case\"text\":{j+=M.text(ne.text);break}default:{var Oe='Token with \"'+ne.type+'\" type was not found.';if(this.options.silent){console.error(Oe);return}else throw new Error(Oe)}}}return j},se}();function $e(se,X,q){if(typeof se>\"u\"||se===null)throw new Error(\"marked(): input parameter is undefined or null\");if(typeof se!=\"string\")throw new Error(\"marked(): input parameter is of type \"+Object.prototype.toString.call(se)+\", string expected\");if(typeof X==\"function\"&&(q=X,X=null),X=F({},$e.defaults,X||{}),pe(X),q){var A=X.highlight,M;try{M=Gi.lex(se,X)}catch(Me){return q(Me)}var j=function(Oe){var ot;if(!Oe)try{X.walkTokens&&$e.walkTokens(M,X.walkTokens),ot=ln.parse(M,X)}catch(tt){Oe=tt}return X.highlight=A,Oe?q(Oe):q(null,ot)};if(!A||A.length<3||(delete X.highlight,!M.length))return j();var z=0;$e.walkTokens(M,function(Me){Me.type===\"code\"&&(z++,setTimeout(function(){A(Me.text,Me.lang,function(Oe,ot){if(Oe)return j(Oe);ot!=null&&ot!==Me.text&&(Me.text=ot,Me.escaped=!0),z--,z===0&&j()})},0))}),z===0&&j();return}function ne(Me){if(Me.message+=`\nPlease report this to https://github.com/markedjs/marked.`,X.silent)return\"<p>An error occurred:</p><pre>\"+m(Me.message+\"\",!0)+\"</pre>\";throw Me}try{var _e=Gi.lex(se,X);if(X.walkTokens){if(X.async)return Promise.all($e.walkTokens(_e,X.walkTokens)).then(function(){return ln.parse(_e,X)}).catch(ne);$e.walkTokens(_e,X.walkTokens)}return ln.parse(_e,X)}catch(Me){ne(Me)}}$e.options=$e.setOptions=function(se){return F($e.defaults,se),l($e.defaults),$e},$e.getDefaults=a,$e.defaults=e.defaults,$e.use=function(){for(var se=arguments.length,X=new Array(se),q=0;q<se;q++)X[q]=arguments[q];var A=F.apply(void 0,[{}].concat(X)),M=$e.defaults.extensions||{renderers:{},childTokens:{}},j;X.forEach(function(z){if(z.extensions&&(j=!0,z.extensions.forEach(function(_e){if(!_e.name)throw new Error(\"extension name required\");if(_e.renderer){var Me=M.renderers?M.renderers[_e.name]:null;Me?M.renderers[_e.name]=function(){for(var Oe=arguments.length,ot=new Array(Oe),tt=0;tt<Oe;tt++)ot[tt]=arguments[tt];var Jt=_e.renderer.apply(this,ot);return Jt===!1&&(Jt=Me.apply(this,ot)),Jt}:M.renderers[_e.name]=_e.renderer}if(_e.tokenizer){if(!_e.level||_e.level!==\"block\"&&_e.level!==\"inline\")throw new Error(\"extension level must be 'block' or 'inline'\");M[_e.level]?M[_e.level].unshift(_e.tokenizer):M[_e.level]=[_e.tokenizer],_e.start&&(_e.level===\"block\"?M.startBlock?M.startBlock.push(_e.start):M.startBlock=[_e.start]:_e.level===\"inline\"&&(M.startInline?M.startInline.push(_e.start):M.startInline=[_e.start]))}_e.childTokens&&(M.childTokens[_e.name]=_e.childTokens)})),z.renderer&&function(){var _e=$e.defaults.renderer||new St,Me=function(tt){var Jt=_e[tt];_e[tt]=function(){for(var Vt=arguments.length,qe=new Array(Vt),Mi=0;Mi<Vt;Mi++)qe[Mi]=arguments[Mi];var Ri=z.renderer[tt].apply(_e,qe);return Ri===!1&&(Ri=Jt.apply(_e,qe)),Ri}};for(var Oe in z.renderer)Me(Oe);A.renderer=_e}(),z.tokenizer&&function(){var _e=$e.defaults.tokenizer||new ye,Me=function(tt){var Jt=_e[tt];_e[tt]=function(){for(var Vt=arguments.length,qe=new Array(Vt),Mi=0;Mi<Vt;Mi++)qe[Mi]=arguments[Mi];var Ri=z.tokenizer[tt].apply(_e,qe);return Ri===!1&&(Ri=Jt.apply(_e,qe)),Ri}};for(var Oe in z.tokenizer)Me(Oe);A.tokenizer=_e}(),z.walkTokens){var ne=$e.defaults.walkTokens;A.walkTokens=function(_e){var Me=[];return Me.push(z.walkTokens.call(this,_e)),ne&&(Me=Me.concat(ne.call(this,_e))),Me}}j&&(A.extensions=M),$e.setOptions(A)})},$e.walkTokens=function(se,X){for(var q=[],A=function(){var ne=j.value;switch(q=q.concat(X.call($e,ne)),ne.type){case\"table\":{for(var _e=r(ne.header),Me;!(Me=_e()).done;){var Oe=Me.value;q=q.concat($e.walkTokens(Oe.tokens,X))}for(var ot=r(ne.rows),tt;!(tt=ot()).done;)for(var Jt=tt.value,Vt=r(Jt),qe;!(qe=Vt()).done;){var Mi=qe.value;q=q.concat($e.walkTokens(Mi.tokens,X))}break}case\"list\":{q=q.concat($e.walkTokens(ne.items,X));break}default:$e.defaults.extensions&&$e.defaults.extensions.childTokens&&$e.defaults.extensions.childTokens[ne.type]?$e.defaults.extensions.childTokens[ne.type].forEach(function(Ri){q=q.concat($e.walkTokens(ne[Ri],X))}):ne.tokens&&(q=q.concat($e.walkTokens(ne.tokens,X)))}},M=r(se),j;!(j=M()).done;)A();return q},$e.parseInline=function(se,X){if(typeof se>\"u\"||se===null)throw new Error(\"marked.parseInline(): input parameter is undefined or null\");if(typeof se!=\"string\")throw new Error(\"marked.parseInline(): input parameter is of type \"+Object.prototype.toString.call(se)+\", string expected\");X=F({},$e.defaults,X||{}),pe(X);try{var q=Gi.lexInline(se,X);return X.walkTokens&&$e.walkTokens(q,X.walkTokens),ln.parseInline(q,X)}catch(A){if(A.message+=`\nPlease report this to https://github.com/markedjs/marked.`,X.silent)return\"<p>An error occurred:</p><pre>\"+m(A.message+\"\",!0)+\"</pre>\";throw A}},$e.Parser=ln,$e.parser=ln.parse,$e.Renderer=St,$e.TextRenderer=tn,$e.Lexer=Gi,$e.lexer=Gi.lex,$e.Tokenizer=ye,$e.Slugger=Pn,$e.parse=$e;var dn=$e.options,qr=$e.setOptions,Wo=$e.use,Fd=$e.walkTokens,xn=$e.parseInline,Da=$e,Z1=ln.parse,aE=Gi.lex;e.Lexer=Gi,e.Parser=ln,e.Renderer=St,e.Slugger=Pn,e.TextRenderer=tn,e.Tokenizer=ye,e.getDefaults=a,e.lexer=aE,e.marked=$e,e.options=dn,e.parse=Da,e.parseInline=xn,e.parser=Z1,e.setOptions=qr,e.use=Wo,e.walkTokens=Fd,Object.defineProperty(e,\"__esModule\",{value:!0})})})();Zs.Lexer||exports.Lexer;Zs.Parser||exports.Parser;Zs.Renderer||exports.Renderer;Zs.Slugger||exports.Slugger;Zs.TextRenderer||exports.TextRenderer;Zs.Tokenizer||exports.Tokenizer;Zs.getDefaults||exports.getDefaults;Zs.lexer||exports.lexer;var jl=Zs.marked||exports.marked;Zs.options||exports.options;Zs.parse||exports.parse;Zs.parseInline||exports.parseInline;Zs.parser||exports.parser;Zs.setOptions||exports.setOptions;Zs.use||exports.use;Zs.walkTokens||exports.walkTokens;function Rve(s){return JSON.stringify(s,Pve)}function u2(s){let e=JSON.parse(s);return e=h2(e),e}function Pve(s,e){return e instanceof RegExp?{$mid:2,source:e.source,flags:e.flags}:e}function h2(s,e=0){if(!s||e>200)return s;if(typeof s==\"object\"){switch(s.$mid){case 1:return Ae.revive(s);case 2:return new RegExp(s.source,s.flags);case 17:return new Date(s.source)}if(s instanceof px||s instanceof Uint8Array)return s;if(Array.isArray(s))for(let t=0;t<s.length;++t)s[t]=h2(s[t],e+1);else for(const t in s)Object.hasOwnProperty.call(s,t)&&(s[t]=h2(s[t],e+1))}return s}const BI=Object.freeze({image:(s,e,t)=>{let i=[],n=[];return s&&({href:s,dimensions:i}=Mve(s),n.push(`src=\"${jw(s)}\"`)),t&&n.push(`alt=\"${jw(t)}\"`),e&&n.push(`title=\"${jw(e)}\"`),i.length&&(n=n.concat(i)),\"<img \"+n.join(\" \")+\">\"},paragraph:s=>`<p>${s}</p>`,link:(s,e,t)=>typeof s!=\"string\"?\"\":(s===t&&(t=OI(t)),e=typeof e==\"string\"?jw(OI(e)):\"\",s=OI(s),s=s.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#39;\"),`<a href=\"${s}\" title=\"${e||s}\" draggable=\"false\">${t}</a>`)});function Hx(s,e={},t={}){var i,n;const o=new Y;let r=!1;const a=fO(e),l=function(v){let b;try{b=u2(decodeURIComponent(v))}catch{}return b?(b=TV(b,C=>{if(s.uris&&s.uris[C])return Ae.revive(s.uris[C])}),encodeURIComponent(JSON.stringify(b))):v},d=function(v,b){const C=s.uris&&s.uris[v];let w=Ae.revive(C);return b?v.startsWith(Ge.data+\":\")?v:(w||(w=Ae.parse(v)),Dz.uriToBrowserUri(w).toString(!0)):!w||Ae.parse(v).toString()===w.toString()?v:(w.query&&(w=w.with({query:l(w.query)})),w.toString())},c=new jl.Renderer;c.image=BI.image,c.link=BI.link,c.paragraph=BI.paragraph;const u=[],h=[];if(e.codeBlockRendererSync?c.code=(v,b)=>{const C=c2.nextId(),w=e.codeBlockRendererSync(t6(b),v);return h.push([C,w]),`<div class=\"code\" data-code=\"${C}\">${OS(v)}</div>`}:e.codeBlockRenderer&&(c.code=(v,b)=>{const C=c2.nextId(),w=e.codeBlockRenderer(t6(b),v);return u.push(w.then(y=>[C,y])),`<div class=\"code\" data-code=\"${C}\">${OS(v)}</div>`}),e.actionHandler){const v=function(w){let y=w.target;if(!(y.tagName!==\"A\"&&(y=y.parentElement,!y||y.tagName!==\"A\")))try{let D=y.dataset.href;D&&(s.baseUri&&(D=WI(Ae.from(s.baseUri),D)),e.actionHandler.callback(D,w))}catch(D){Xe(D)}finally{w.preventDefault()}},b=e.actionHandler.disposables.add(new ht(a,\"click\")),C=e.actionHandler.disposables.add(new ht(a,\"auxclick\"));e.actionHandler.disposables.add(le.any(b.event,C.event)(w=>{const y=new ra(Te(a),w);!y.leftButton&&!y.middleButton||v(y)})),e.actionHandler.disposables.add(K(a,\"keydown\",w=>{const y=new Kt(w);!y.equals(10)&&!y.equals(3)||v(y)}))}s.supportHtml||(t.sanitizer=v=>(s.isTrusted?v.match(/^(<span[^>]+>)|(<\\/\\s*span>)$/):void 0)?v:\"\",t.sanitize=!0,t.silent=!0),t.renderer=c;let g=(i=s.value)!==null&&i!==void 0?i:\"\";g.length>1e5&&(g=`${g.substr(0,1e5)}…`),s.supportThemeIcons&&(g=kve(g));let f;if(e.fillInIncompleteTokens){const v={...jl.defaults,...t},b=jl.lexer(g,v),C=Uve(b);f=jl.parser(C,v)}else f=jl.parse(g,t);s.supportThemeIcons&&(f=lh(f).map(b=>typeof b==\"string\"?b:b.outerHTML).join(\"\"));const _=new DOMParser().parseFromString(g2(s,f),\"text/html\");if(_.body.querySelectorAll(\"img, audio, video, source\").forEach(v=>{const b=v.getAttribute(\"src\");if(b){let C=b;try{s.baseUri&&(C=WI(Ae.from(s.baseUri),C))}catch{}if(v.setAttribute(\"src\",d(C,!0)),e.disallowRemoteImages){const w=Ae.parse(C).scheme;w!==Ge.file&&w!==Ge.data&&v.replaceWith(he(\"\",void 0,v.outerHTML))}}}),_.body.querySelectorAll(\"a\").forEach(v=>{const b=v.getAttribute(\"href\");if(v.setAttribute(\"href\",\"\"),!b||/^data:|javascript:/i.test(b)||/^command:/i.test(b)&&!s.isTrusted||/^command:(\\/\\/\\/)?_workbench\\.downloadResource/i.test(b))v.replaceWith(...v.childNodes);else{let C=d(b,!1);s.baseUri&&(C=WI(Ae.from(s.baseUri),b)),v.dataset.href=C}}),a.innerHTML=g2(s,_.body.innerHTML),u.length>0)Promise.all(u).then(v=>{var b,C;if(r)return;const w=new Map(v),y=a.querySelectorAll(\"div[data-code]\");for(const D of y){const L=w.get((b=D.dataset.code)!==null&&b!==void 0?b:\"\");L&&Yn(D,L)}(C=e.asyncRenderCallback)===null||C===void 0||C.call(e)});else if(h.length>0){const v=new Map(h),b=a.querySelectorAll(\"div[data-code]\");for(const C of b){const w=v.get((n=C.dataset.code)!==null&&n!==void 0?n:\"\");w&&Yn(C,w)}}if(e.asyncRenderCallback)for(const v of a.getElementsByTagName(\"img\")){const b=o.add(K(v,\"load\",()=>{b.dispose(),e.asyncRenderCallback()}))}return{element:a,dispose:()=>{r=!0,o.dispose()}}}function t6(s){if(!s)return\"\";const e=s.split(/[\\s+|:|,|\\{|\\?]/,1);return e.length?e[0]:s}function WI(s,e){return/^\\w[\\w\\d+.-]*:/.test(e)?e:s.path.endsWith(\"/\")?d8(s,e).toString():d8(Ax(s),e).toString()}function g2(s,e){const{config:t,allowedSchemes:i}=Ove(s);sA(\"uponSanitizeAttribute\",(o,r)=>{var a;if(r.attrName===\"style\"||r.attrName===\"class\"){if(o.tagName===\"SPAN\"){if(r.attrName===\"style\"){r.keepAttr=/^(color\\:(#[0-9a-fA-F]+|var\\(--vscode(-[a-zA-Z]+)+\\));)?(background-color\\:(#[0-9a-fA-F]+|var\\(--vscode(-[a-zA-Z]+)+\\));)?$/.test(r.attrValue);return}else if(r.attrName===\"class\"){r.keepAttr=/^codicon codicon-[a-z\\-]+( codicon-modifier-[a-z\\-]+)?$/.test(r.attrValue);return}}r.keepAttr=!1;return}else if(o.tagName===\"INPUT\"&&((a=o.attributes.getNamedItem(\"type\"))===null||a===void 0?void 0:a.value)===\"checkbox\"){if(r.attrName===\"type\"&&r.attrValue===\"checkbox\"||r.attrName===\"disabled\"||r.attrName===\"checked\"){r.keepAttr=!0;return}r.keepAttr=!1}}),sA(\"uponSanitizeElement\",(o,r)=>{var a,l;r.tagName===\"input\"&&(((a=o.attributes.getNamedItem(\"type\"))===null||a===void 0?void 0:a.value)===\"checkbox\"?o.setAttribute(\"disabled\",\"\"):(l=o.parentElement)===null||l===void 0||l.removeChild(o))});const n=Qae(i);try{return wz(e,{...t,RETURN_TRUSTED_TYPE:!0})}finally{yz(\"uponSanitizeAttribute\"),n.dispose()}}const Fve=[\"align\",\"autoplay\",\"alt\",\"checked\",\"class\",\"controls\",\"data-code\",\"data-href\",\"disabled\",\"draggable\",\"height\",\"href\",\"loop\",\"muted\",\"playsinline\",\"poster\",\"src\",\"style\",\"target\",\"title\",\"type\",\"width\",\"start\"];function Ove(s){const e=[Ge.http,Ge.https,Ge.mailto,Ge.data,Ge.file,Ge.vscodeFileResource,Ge.vscodeRemote,Ge.vscodeRemoteResource];return s.isTrusted&&e.push(Ge.command),{config:{ALLOWED_TAGS:[...Jae],ALLOWED_ATTR:Fve,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:e}}function Bve(s){return typeof s==\"string\"?s:Wve(s)}function Wve(s){var e;let t=(e=s.value)!==null&&e!==void 0?e:\"\";t.length>1e5&&(t=`${t.substr(0,1e5)}…`);const i=jl.parse(t,{renderer:Vve.value}).replace(/&(#\\d+|[a-zA-Z]+);/g,n=>{var o;return(o=Hve.get(n))!==null&&o!==void 0?o:n});return g2({isTrusted:!1},i).toString()}const Hve=new Map([[\"&quot;\",'\"'],[\"&nbsp;\",\" \"],[\"&amp;\",\"&\"],[\"&#39;\",\"'\"],[\"&lt;\",\"<\"],[\"&gt;\",\">\"]]),Vve=new gl(()=>{const s=new jl.Renderer;return s.code=e=>e,s.blockquote=e=>e,s.html=e=>\"\",s.heading=(e,t,i)=>e+`\n`,s.hr=()=>\"\",s.list=(e,t)=>e,s.listitem=e=>e+`\n`,s.paragraph=e=>e+`\n`,s.table=(e,t)=>e+t+`\n`,s.tablerow=e=>e,s.tablecell=(e,t)=>e+\" \",s.strong=e=>e,s.em=e=>e,s.codespan=e=>e,s.br=()=>`\n`,s.del=e=>e,s.image=(e,t,i)=>\"\",s.text=e=>e,s.link=(e,t,i)=>i,s});function CO(s){let e=\"\";return s.forEach(t=>{e+=t.raw}),e}function zve(s){var e,t;for(let i=0;i<s.tokens.length;i++){const n=s.tokens[i];if(n.type===\"text\"){const o=n.raw.split(`\n`),r=o[o.length-1];if(r.includes(\"`\"))return jve(s);if(r.includes(\"**\"))return Xve(s);if(r.match(/\\*\\w/))return Kve(s);if(r.match(/(^|\\s)__\\w/))return Yve(s);if(r.match(/(^|\\s)_\\w/))return qve(s);if(r.match(/(^|\\s)\\[.*\\]\\(\\w*/)){const a=s.tokens.slice(i+1);return((e=a[0])===null||e===void 0?void 0:e.type)===\"link\"&&((t=a[1])===null||t===void 0?void 0:t.type)===\"text\"&&a[1].raw.match(/^ *\"[^\"]*$/)?Gve(s):n6(s)}else{if(i6(r))return n6(s);if(r.match(/(^|\\s)\\[\\w/)&&!s.tokens.slice(i+1).some(a=>i6(a.raw)))return Zve(s)}}}}function i6(s){return!!s.match(/^[^\\[]*\\]\\([^\\)]*$/)}function Uve(s){let e,t;for(e=0;e<s.length;e++){const i=s[e];let n;if(i.type===\"paragraph\"&&(n=i.raw.match(/(\\n|^)(````*)/))){const o=n[2];t=$ve(s.slice(e),o);break}if(i.type===\"paragraph\"&&i.raw.match(/(\\n|^)\\|/)){t=Qve(s.slice(e));break}if(e===s.length-1&&i.type===\"paragraph\"){const o=zve(i);if(o){t=[o];break}}}if(t){const i=[...s.slice(0,e),...t];return i.links=s.links,i}return s}function $ve(s,e){const t=CO(s);return jl.lexer(t+`\n${e}`)}function jve(s){return ng(s,\"`\")}function Kve(s){return ng(s,\"*\")}function qve(s){return ng(s,\"_\")}function n6(s){return ng(s,\")\")}function Gve(s){return ng(s,'\")')}function Zve(s){return ng(s,\"](about:blank)\")}function Xve(s){return ng(s,\"**\")}function Yve(s){return ng(s,\"__\")}function ng(s,e){const t=CO(Array.isArray(s)?s:[s]);return jl.lexer(t+e)[0]}function Qve(s){const e=CO(s),t=e.split(`\n`);let i,n=!1;for(let o=0;o<t.length;o++){const r=t[o].trim();if(typeof i>\"u\"&&r.match(/^\\s*\\|/)){const a=r.match(/(\\|[^\\|]+)(?=\\||$)/g);a&&(i=a.length)}else if(typeof i==\"number\")if(r.match(/^\\s*\\|/)){if(o!==t.length-1)return;n=!0}else return}if(typeof i==\"number\"&&i>0){const o=n?t.slice(0,-1).join(`\n`):e,r=!!o.match(/\\|\\s*$/),a=o+(r?\"\":\"|\")+`\n|${\" --- |\".repeat(i)}`;return jl.lexer(a)}}var Jve=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},s6=function(s,e){return function(t,i){e(t,i,s)}},f2;let yd=f2=class{constructor(e,t,i){this._options=e,this._languageService=t,this._openerService=i,this._onDidRenderAsync=new B,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,i){if(!e)return{element:document.createElement(\"span\"),dispose:()=>{}};const n=new Y,o=n.add(Hx(e,{...this._getRenderOptions(e,n),...t},i));return o.element.classList.add(\"rendered-markdown\"),{element:o.element,dispose:()=>n.dispose()}}_getRenderOptions(e,t){return{codeBlockRenderer:async(i,n)=>{var o,r,a;let l;i?l=this._languageService.getLanguageIdByLanguageName(i):this._options.editor&&(l=(o=this._options.editor.getModel())===null||o===void 0?void 0:o.getLanguageId()),l||(l=ir);const d=await j_e(this._languageService,n,l),c=document.createElement(\"span\");if(c.innerHTML=(a=(r=f2._ttpTokenizer)===null||r===void 0?void 0:r.createHTML(d))!==null&&a!==void 0?a:d,this._options.editor){const u=this._options.editor.getOption(50);Un(c,u)}else this._options.codeBlockFontFamily&&(c.style.fontFamily=this._options.codeBlockFontFamily);return this._options.codeBlockFontSize!==void 0&&(c.style.fontSize=this._options.codeBlockFontSize),c},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:i=>wO(this._openerService,i,e.isTrusted),disposables:t}}}};yd._ttpTokenizer=tu(\"tokenizeToString\",{createHTML(s){return s}});yd=f2=Jve([s6(1,vi),s6(2,Bo)],yd);async function wO(s,e,t){try{return await s.open(e,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:ebe(t)})}catch(i){return Xe(i),!1}}function ebe(s){return s===!0?!0:s&&Array.isArray(s.enabledCommands)?s.enabledCommands:!1}var tbe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},K0=function(s,e){return function(t,i){e(t,i,s)}};const yl=he;let p2=class extends fr{get _targetWindow(){return Te(this._target.targetElements[0])}get _targetDocumentElement(){return Te(this._target.targetElements[0]).document.documentElement}get isDisposed(){return this._isDisposed}get isMouseIn(){return this._lockMouseTracker.isMouseIn}get domNode(){return this._hover.containerDomNode}get onDispose(){return this._onDispose.event}get onRequestLayout(){return this._onRequestLayout.event}get anchor(){return this._hoverPosition===2?0:1}get x(){return this._x}get y(){return this._y}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this._hoverContainer.classList.toggle(\"locked\",this._isLocked))}constructor(e,t,i,n,o,r){var a,l,d,c,u,h,g,f;super(),this._keybindingService=t,this._configurationService=i,this._openerService=n,this._instantiationService=o,this._accessibilityService=r,this._messageListeners=new Y,this._isDisposed=!1,this._forcePosition=!1,this._x=0,this._y=0,this._isLocked=!1,this._enableFocusTraps=!1,this._addedFocusTrap=!1,this._onDispose=this._register(new B),this._onRequestLayout=this._register(new B),this._linkHandler=e.linkHandler||(w=>wO(this._openerService,w,tl(e.content)?e.content.isTrusted:void 0)),this._target=\"targetElements\"in e.target?e.target:new ibe(e.target),this._hoverPointer=!((a=e.appearance)===null||a===void 0)&&a.showPointer?yl(\"div.workbench-hover-pointer\"):void 0,this._hover=this._register(new gO),this._hover.containerDomNode.classList.add(\"workbench-hover\",\"fadeIn\"),!((l=e.appearance)===null||l===void 0)&&l.compact&&this._hover.containerDomNode.classList.add(\"workbench-hover\",\"compact\"),!((d=e.appearance)===null||d===void 0)&&d.skipFadeInAnimation&&this._hover.containerDomNode.classList.add(\"skip-fade-in\"),e.additionalClasses&&this._hover.containerDomNode.classList.add(...e.additionalClasses),!((c=e.position)===null||c===void 0)&&c.forcePosition&&(this._forcePosition=!0),e.trapFocus&&(this._enableFocusTraps=!0),this._hoverPosition=(h=(u=e.position)===null||u===void 0?void 0:u.hoverPosition)!==null&&h!==void 0?h:3,this.onmousedown(this._hover.containerDomNode,w=>w.stopPropagation()),this.onkeydown(this._hover.containerDomNode,w=>{w.equals(9)&&this.dispose()}),this._register(K(this._targetWindow,\"blur\",()=>this.dispose()));const m=yl(\"div.hover-row.markdown-hover\"),_=yl(\"div.hover-contents\");if(typeof e.content==\"string\")_.textContent=e.content,_.style.whiteSpace=\"pre-wrap\";else if(e.content instanceof HTMLElement)_.appendChild(e.content),_.classList.add(\"html-hover-contents\");else{const w=e.content,y=this._instantiationService.createInstance(yd,{codeBlockFontFamily:this._configurationService.getValue(\"editor\").fontFamily||co.fontFamily}),{element:D}=y.render(w,{actionHandler:{callback:L=>this._linkHandler(L),disposables:this._messageListeners},asyncRenderCallback:()=>{_.classList.add(\"code-hover-contents\"),this.layout(),this._onRequestLayout.fire()}});_.appendChild(D)}if(m.appendChild(_),this._hover.contentsDomNode.appendChild(m),e.actions&&e.actions.length>0){const w=yl(\"div.hover-row.status-bar\"),y=yl(\"div.actions\");e.actions.forEach(D=>{const L=this._keybindingService.lookupKeybinding(D.commandId),k=L?L.getLabel():null;Fx.render(y,{label:D.label,commandId:D.commandId,run:I=>{D.run(I),this.dispose()},iconClass:D.iconClass},k)}),w.appendChild(y),this._hover.containerDomNode.appendChild(w)}this._hoverContainer=yl(\"div.workbench-hover-container\"),this._hoverPointer&&this._hoverContainer.appendChild(this._hoverPointer),this._hoverContainer.appendChild(this._hover.containerDomNode);let v;if(e.actions&&e.actions.length>0?v=!1:((g=e.persistence)===null||g===void 0?void 0:g.hideOnHover)===void 0?v=typeof e.content==\"string\"||tl(e.content)&&!e.content.value.includes(\"](\")&&!e.content.value.includes(\"</a>\"):v=e.persistence.hideOnHover,v&&(!((f=e.appearance)===null||f===void 0)&&f.showHoverHint)){const w=yl(\"div.hover-row.status-bar\"),y=yl(\"div.info\");y.textContent=p(\"hoverhint\",\"Hold {0} key to mouse over\",lt?\"Option\":\"Alt\"),w.appendChild(y),this._hover.containerDomNode.appendChild(w)}const b=[...this._target.targetElements];v||b.push(this._hoverContainer);const C=this._register(new o6(b));if(this._register(C.onMouseOut(()=>{this._isLocked||this.dispose()})),v){const w=[...this._target.targetElements,this._hoverContainer];this._lockMouseTracker=this._register(new o6(w)),this._register(this._lockMouseTracker.onMouseOut(()=>{this._isLocked||this.dispose()}))}else this._lockMouseTracker=C}addFocusTrap(){if(!this._enableFocusTraps||this._addedFocusTrap)return;this._addedFocusTrap=!0;const e=this._hover.containerDomNode,t=this.findLastFocusableChild(this._hover.containerDomNode);if(t){const i=uF(this._hoverContainer,yl(\"div\")),n=Q(this._hoverContainer,yl(\"div\"));i.tabIndex=0,n.tabIndex=0,this._register(K(n,\"focus\",o=>{e.focus(),o.preventDefault()})),this._register(K(i,\"focus\",o=>{t.focus(),o.preventDefault()}))}}findLastFocusableChild(e){if(e.hasChildNodes())for(let t=0;t<e.childNodes.length;t++){const i=e.childNodes.item(e.childNodes.length-t-1);if(i.nodeType===i.ELEMENT_NODE){const o=i;if(typeof o.tabIndex==\"number\"&&o.tabIndex>=0)return o}const n=this.findLastFocusableChild(i);if(n)return n}}render(e){var t;e.appendChild(this._hoverContainer);const n=this._hoverContainer.contains(this._hoverContainer.ownerDocument.activeElement)&&q$(this._configurationService.getValue(\"accessibility.verbosity.hover\")===!0&&this._accessibilityService.isScreenReaderOptimized(),(t=this._keybindingService.lookupKeybinding(\"editor.action.accessibleView\"))===null||t===void 0?void 0:t.getAriaLabel());n&&Uc(n),this.layout(),this.addFocusTrap()}layout(){this._hover.containerDomNode.classList.remove(\"right-aligned\"),this._hover.contentsDomNode.style.maxHeight=\"\";const e=c=>{const u=Ez(c),h=c.getBoundingClientRect();return{top:h.top*u,bottom:h.bottom*u,right:h.right*u,left:h.left*u}},t=this._target.targetElements.map(c=>e(c)),{top:i,right:n,bottom:o,left:r}=t[0],a=n-r,l=o-i,d={top:i,right:n,bottom:o,left:r,width:a,height:l,center:{x:r+a/2,y:i+l/2}};if(this.adjustHorizontalHoverPosition(d),this.adjustVerticalHoverPosition(d),this.adjustHoverMaxHeight(d),this._hoverContainer.style.padding=\"\",this._hoverContainer.style.margin=\"\",this._hoverPointer){switch(this._hoverPosition){case 1:d.left+=3,d.right+=3,this._hoverContainer.style.paddingLeft=\"3px\",this._hoverContainer.style.marginLeft=\"-3px\";break;case 0:d.left-=3,d.right-=3,this._hoverContainer.style.paddingRight=\"3px\",this._hoverContainer.style.marginRight=\"-3px\";break;case 2:d.top+=3,d.bottom+=3,this._hoverContainer.style.paddingTop=\"3px\",this._hoverContainer.style.marginTop=\"-3px\";break;case 3:d.top-=3,d.bottom-=3,this._hoverContainer.style.paddingBottom=\"3px\",this._hoverContainer.style.marginBottom=\"-3px\";break}d.center.x=d.left+a/2,d.center.y=d.top+l/2}this.computeXCordinate(d),this.computeYCordinate(d),this._hoverPointer&&(this._hoverPointer.classList.remove(\"top\"),this._hoverPointer.classList.remove(\"left\"),this._hoverPointer.classList.remove(\"right\"),this._hoverPointer.classList.remove(\"bottom\"),this.setHoverPointerPosition(d)),this._hover.onContentsChanged()}computeXCordinate(e){const t=this._hover.containerDomNode.clientWidth+2;this._target.x!==void 0?this._x=this._target.x:this._hoverPosition===1?this._x=e.right:this._hoverPosition===0?this._x=e.left-t:(this._hoverPointer?this._x=e.center.x-this._hover.containerDomNode.clientWidth/2:this._x=e.left,this._x+t>=this._targetDocumentElement.clientWidth&&(this._hover.containerDomNode.classList.add(\"right-aligned\"),this._x=Math.max(this._targetDocumentElement.clientWidth-t-2,this._targetDocumentElement.clientLeft))),this._x<this._targetDocumentElement.clientLeft&&(this._x=e.left+2)}computeYCordinate(e){this._target.y!==void 0?this._y=this._target.y:this._hoverPosition===3?this._y=e.top:this._hoverPosition===2?this._y=e.bottom-2:this._hoverPointer?this._y=e.center.y+this._hover.containerDomNode.clientHeight/2:this._y=e.bottom,this._y>this._targetWindow.innerHeight&&(this._y=e.bottom)}adjustHorizontalHoverPosition(e){if(this._target.x!==void 0)return;const t=this._hoverPointer?3:0;if(this._forcePosition){const i=t+2;this._hoverPosition===1?this._hover.containerDomNode.style.maxWidth=`${this._targetDocumentElement.clientWidth-e.right-i}px`:this._hoverPosition===0&&(this._hover.containerDomNode.style.maxWidth=`${e.left-i}px`);return}this._hoverPosition===1?this._targetDocumentElement.clientWidth-e.right<this._hover.containerDomNode.clientWidth+t&&(e.left>=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=0:this._hoverPosition=2):this._hoverPosition===0&&(e.left<this._hover.containerDomNode.clientWidth+t&&(this._targetDocumentElement.clientWidth-e.right>=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=1:this._hoverPosition=2),e.left-this._hover.containerDomNode.clientWidth-t<=this._targetDocumentElement.clientLeft&&(this._hoverPosition=1))}adjustVerticalHoverPosition(e){if(this._target.y!==void 0||this._forcePosition)return;const t=this._hoverPointer?3:0;this._hoverPosition===3?e.top-this._hover.containerDomNode.clientHeight-t<0&&(this._hoverPosition=2):this._hoverPosition===2&&e.bottom+this._hover.containerDomNode.clientHeight+t>this._targetWindow.innerHeight&&(this._hoverPosition=3)}adjustHoverMaxHeight(e){let t=this._targetWindow.innerHeight/2;if(this._forcePosition){const i=(this._hoverPointer?3:0)+2;this._hoverPosition===3?t=Math.min(t,e.top-i):this._hoverPosition===2&&(t=Math.min(t,this._targetWindow.innerHeight-e.bottom-i))}if(this._hover.containerDomNode.style.maxHeight=`${t}px`,this._hover.contentsDomNode.clientHeight<this._hover.contentsDomNode.scrollHeight){const i=`${this._hover.scrollbar.options.verticalScrollbarSize}px`;this._hover.contentsDomNode.style.paddingRight!==i&&(this._hover.contentsDomNode.style.paddingRight=i)}}setHoverPointerPosition(e){if(this._hoverPointer)switch(this._hoverPosition){case 0:case 1:{this._hoverPointer.classList.add(this._hoverPosition===0?\"right\":\"left\");const t=this._hover.containerDomNode.clientHeight;t>e.height?this._hoverPointer.style.top=`${e.center.y-(this._y-t)-3}px`:this._hoverPointer.style.top=`${Math.round(t/2)-3}px`;break}case 3:case 2:{this._hoverPointer.classList.add(this._hoverPosition===3?\"bottom\":\"top\");const t=this._hover.containerDomNode.clientWidth;let i=Math.round(t/2)-3;const n=this._x+i;(n<e.left||n>e.right)&&(i=e.center.x-this._x-3),this._hoverPointer.style.left=`${i}px`;break}}}focus(){this._hover.containerDomNode.focus()}dispose(){this._isDisposed||(this._onDispose.fire(),this._hoverContainer.remove(),this._messageListeners.dispose(),this._target.dispose(),super.dispose()),this._isDisposed=!0}};p2=tbe([K0(1,At),K0(2,rt),K0(3,Bo),K0(4,Ne),K0(5,gr)],p2);class o6 extends fr{get onMouseOut(){return this._onMouseOut.event}get isMouseIn(){return this._isMouseIn}constructor(e){super(),this._elements=e,this._isMouseIn=!0,this._onMouseOut=this._register(new B),this._elements.forEach(t=>this.onmouseover(t,()=>this._onTargetMouseOver(t))),this._elements.forEach(t=>this.onmouseleave(t,()=>this._onTargetMouseLeave(t)))}_onTargetMouseOver(e){this._isMouseIn=!0,this._clearEvaluateMouseStateTimeout(e)}_onTargetMouseLeave(e){this._isMouseIn=!1,this._evaluateMouseState(e)}_evaluateMouseState(e){this._clearEvaluateMouseStateTimeout(e),this._mouseTimeout=Te(e).setTimeout(()=>this._fireIfMouseOutside(),0)}_clearEvaluateMouseStateTimeout(e){this._mouseTimeout&&(Te(e).clearTimeout(this._mouseTimeout),this._mouseTimeout=void 0)}_fireIfMouseOutside(){this._isMouseIn||this._onMouseOut.fire()}}class ibe{constructor(e){this._element=e,this.targetElements=[this._element]}dispose(){}}var ts;(function(s){function e(o,r){if(o.start>=r.end||r.start>=o.end)return{start:0,end:0};const a=Math.max(o.start,r.start),l=Math.min(o.end,r.end);return l-a<=0?{start:0,end:0}:{start:a,end:l}}s.intersect=e;function t(o){return o.end-o.start<=0}s.isEmpty=t;function i(o,r){return!t(e(o,r))}s.intersects=i;function n(o,r){const a=[],l={start:o.start,end:Math.min(r.start,o.end)},d={start:Math.max(r.end,o.start),end:o.end};return t(l)||a.push(l),t(d)||a.push(d),a}s.relativeComplement=n})(ts||(ts={}));function nbe(s){const e=s;return!!e&&typeof e.x==\"number\"&&typeof e.y==\"number\"}var Gu;(function(s){s[s.AVOID=0]=\"AVOID\",s[s.ALIGN=1]=\"ALIGN\"})(Gu||(Gu={}));function pm(s,e,t){const i=t.mode===Gu.ALIGN?t.offset:t.offset+t.size,n=t.mode===Gu.ALIGN?t.offset+t.size:t.offset;return t.position===0?e<=s-i?i:e<=n?n-e:Math.max(s-e,0):e<=n?n-e:e<=s-i?i:0}class x_ extends H{constructor(e,t){super(),this.container=null,this.useFixedPosition=!1,this.useShadowDOM=!1,this.delegate=null,this.toDisposeOnClean=H.None,this.toDisposeOnSetContainer=H.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=he(\".context-view\"),Es(this.view),this.setContainer(e,t),this._register(Ie(()=>this.setContainer(null,1)))}setContainer(e,t){var i;this.useFixedPosition=t!==1;const n=this.useShadowDOM;if(this.useShadowDOM=t===3,!(e===this.container&&n===this.useShadowDOM)&&(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(i=this.shadowRootHostElement)===null||i===void 0||i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e)){if(this.container=e,this.useShadowDOM){this.shadowRootHostElement=he(\".shadow-root-host\"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:\"open\"});const r=document.createElement(\"style\");r.textContent=sbe,this.shadowRoot.appendChild(r),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(he(\"slot\"))}else this.container.appendChild(this.view);const o=new Y;x_.BUBBLE_UP_EVENTS.forEach(r=>{o.add(Ni(this.container,r,a=>{this.onDOMEvent(a,!1)}))}),x_.BUBBLE_DOWN_EVENTS.forEach(r=>{o.add(Ni(this.container,r,a=>{this.onDOMEvent(a,!0)},!0))}),this.toDisposeOnSetContainer=o}}show(e){var t,i,n;this.isVisible()&&this.hide(),zn(this.view),this.view.className=\"context-view monaco-component\",this.view.style.top=\"0px\",this.view.style.left=\"0px\",this.view.style.zIndex=`${2575+((t=e.layer)!==null&&t!==void 0?t:0)}`,this.view.style.position=this.useFixedPosition?\"fixed\":\"absolute\",Do(this.view),this.toDisposeOnClean=e.render(this.view)||H.None,this.delegate=e,this.doLayout(),(n=(i=this.delegate).focus)===null||n===void 0||n.call(i)}getViewElement(){return this.view}layout(){var e,t;if(this.isVisible()){if(this.delegate.canRelayout===!1&&!(_d&&nF.pointerEvents)){this.hide();return}(t=(e=this.delegate)===null||e===void 0?void 0:e.layout)===null||t===void 0||t.call(e),this.doLayout()}}doLayout(){if(!this.isVisible())return;const e=this.delegate.getAnchor();let t;if(e instanceof HTMLElement){const h=qi(e),g=Ez(e);t={top:h.top*g,left:h.left*g,width:h.width*g,height:h.height*g}}else nbe(e)?t={top:e.y,left:e.x,width:e.width||1,height:e.height||2}:t={top:e.posy,left:e.posx,width:2,height:2};const i=wo(this.view),n=uc(this.view),o=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,a=this.delegate.anchorAxisAlignment||0;let l,d;const c=Hae();if(a===0){const h={offset:t.top-c.pageYOffset,size:t.height,position:o===0?0:1},g={offset:t.left,size:t.width,position:r===0?0:1,mode:Gu.ALIGN};l=pm(c.innerHeight,n,h)+c.pageYOffset,ts.intersects({start:l,end:l+n},{start:h.offset,end:h.offset+h.size})&&(g.mode=Gu.AVOID),d=pm(c.innerWidth,i,g)}else{const h={offset:t.left,size:t.width,position:r===0?0:1},g={offset:t.top,size:t.height,position:o===0?0:1,mode:Gu.ALIGN};d=pm(c.innerWidth,i,h),ts.intersects({start:d,end:d+i},{start:h.offset,end:h.offset+h.size})&&(g.mode=Gu.AVOID),l=pm(c.innerHeight,n,g)+c.pageYOffset}this.view.classList.remove(\"top\",\"bottom\",\"left\",\"right\"),this.view.classList.add(o===0?\"bottom\":\"top\"),this.view.classList.add(r===0?\"left\":\"right\"),this.view.classList.toggle(\"fixed\",this.useFixedPosition);const u=qi(this.container);this.view.style.top=`${l-(this.useFixedPosition?qi(this.view).top:u.top)}px`,this.view.style.left=`${d-(this.useFixedPosition?qi(this.view).left:u.left)}px`,this.view.style.width=\"initial\"}hide(e){const t=this.delegate;this.delegate=null,t!=null&&t.onHide&&t.onHide(e),this.toDisposeOnClean.dispose(),Es(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,Te(e).document.activeElement):t&&!An(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}x_.BUBBLE_UP_EVENTS=[\"click\",\"keydown\",\"focus\",\"blur\"];x_.BUBBLE_DOWN_EVENTS=[\"click\"];const sbe=`\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t.codicon[class*='codicon-'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, \"Segoe WPC\", \"Segoe UI\", \"HelveticaNeue-Light\", system-ui, \"Ubuntu\", \"Droid Sans\", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, \"PingFang SC\", \"Hiragino Sans GB\", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, \"PingFang TC\", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, \"Hiragino Kaku Gothic Pro\", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, \"Nanum Gothic\", \"Apple SD Gothic Neo\", \"AppleGothic\", sans-serif; }\n\n\t:host-context(.windows) { font-family: \"Segoe WPC\", \"Segoe UI\", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: \"Segoe WPC\", \"Segoe UI\", \"Microsoft YaHei\", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: \"Segoe WPC\", \"Segoe UI\", \"Microsoft Jhenghei\", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: \"Segoe WPC\", \"Segoe UI\", \"Yu Gothic UI\", \"Meiryo UI\", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: \"Segoe WPC\", \"Segoe UI\", \"Malgun Gothic\", \"Dotom\", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, \"Ubuntu\", \"Droid Sans\", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, \"Ubuntu\", \"Droid Sans\", \"Source Han Sans SC\", \"Source Han Sans CN\", \"Source Han Sans\", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, \"Ubuntu\", \"Droid Sans\", \"Source Han Sans TC\", \"Source Han Sans TW\", \"Source Han Sans\", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, \"Ubuntu\", \"Droid Sans\", \"Source Han Sans J\", \"Source Han Sans JP\", \"Source Han Sans\", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, \"Ubuntu\", \"Droid Sans\", \"Source Han Sans K\", \"Source Han Sans JR\", \"Source Han Sans\", \"UnDotum\", \"FBaekmuk Gulim\", sans-serif; }\n`;var obe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rbe=function(s,e){return function(t,i){e(t,i,s)}};let yD=class extends H{constructor(e){super(),this.layoutService=e,this.contextView=this._register(new x_(this.layoutService.mainContainer,1)),this.layout(),this._register(e.onDidLayoutContainer(()=>this.layout()))}showContextView(e,t,i){let n;t?t===this.layoutService.getContainer(Te(t))?n=1:i?n=3:n=2:n=1,this.contextView.setContainer(t??this.layoutService.activeContainer,n),this.contextView.show(e);const o={close:()=>{this.openContextView===o&&this.hideContextView()}};return this.openContextView=o,o}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e),this.openContextView=void 0}};yD=obe([rbe(0,ig)],yD);class abe extends yD{getContextViewElement(){return this.contextView.getViewElement()}}class lbe{constructor(e,t,i){this.hoverDelegate=e,this.target=t,this.fadeInAnimation=i}async update(e,t,i){var n;if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let o;if(e===void 0||lo(e)||e instanceof HTMLElement)o=e;else if(!kS(e.markdown))o=(n=e.markdown)!==null&&n!==void 0?n:e.markdownNotSupportedFallback;else{this._hoverWidget||this.show(p(\"iconLabel.loading\",\"Loading...\"),t),this._cancellationTokenSource=new Vi;const r=this._cancellationTokenSource.token;if(o=await e.markdown(r),o===void 0&&(o=e.markdownNotSupportedFallback),this.isDisposed||r.isCancellationRequested)return}this.show(o,t,i)}show(e,t,i){const n=this._hoverWidget;if(this.hasContent(e)){const o={content:e,target:this.target,appearance:{showPointer:this.hoverDelegate.placement===\"element\",skipFadeInAnimation:!this.fadeInAnimation||!!n},position:{hoverPosition:2},...i};this._hoverWidget=this.hoverDelegate.showHover(o,t)}n==null||n.dispose()}hasContent(e){return e?tl(e)?!!e.value:!0:!1}get isDisposed(){var e;return(e=this._hoverWidget)===null||e===void 0?void 0:e.isDisposed}dispose(){var e,t;(e=this._hoverWidget)===null||e===void 0||e.dispose(),(t=this._cancellationTokenSource)===null||t===void 0||t.dispose(!0),this._cancellationTokenSource=void 0}}var dbe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},q0=function(s,e){return function(t,i){e(t,i,s)}};let m2=class extends H{constructor(e,t,i,n,o){super(),this._instantiationService=e,this._keybindingService=i,this._layoutService=n,this._accessibilityService=o,t.onDidShowContextMenu(()=>this.hideHover()),this._contextViewHandler=this._register(new yD(this._layoutService))}showHover(e,t,i){var n,o,r,a;if(r6(this._currentHoverOptions)===r6(e)||this._currentHover&&(!((o=(n=this._currentHoverOptions)===null||n===void 0?void 0:n.persistence)===null||o===void 0)&&o.sticky))return;this._currentHoverOptions=e,this._lastHoverOptions=e;const l=e.trapFocus||this._accessibilityService.isScreenReaderOptimized(),d=Xn();i||(l&&d?this._lastFocusedElementBeforeOpen=d:this._lastFocusedElementBeforeOpen=void 0);const c=new Y,u=this._instantiationService.createInstance(p2,e);if(!((r=e.persistence)===null||r===void 0)&&r.sticky&&(u.isLocked=!0),u.onDispose(()=>{var h,g;((h=this._currentHover)===null||h===void 0?void 0:h.domNode)&&Tz(this._currentHover.domNode)&&((g=this._lastFocusedElementBeforeOpen)===null||g===void 0||g.focus()),this._currentHoverOptions===e&&(this._currentHoverOptions=void 0),c.dispose()},void 0,c),!e.container){const h=e.target instanceof HTMLElement?e.target:e.target.targetElements[0];e.container=this._layoutService.getContainer(Te(h))}if(this._contextViewHandler.showContextView(new cbe(u,t),e.container),u.onRequestLayout(()=>this._contextViewHandler.layout(),void 0,c),!((a=e.persistence)===null||a===void 0)&&a.sticky)c.add(K(Te(e.container).document,ee.MOUSE_DOWN,h=>{An(h.target,u.domNode)||this.doHideHover()}));else{if(\"targetElements\"in e.target)for(const g of e.target.targetElements)c.add(K(g,ee.CLICK,()=>this.hideHover()));else c.add(K(e.target,ee.CLICK,()=>this.hideHover()));const h=Xn();if(h){const g=Te(h).document;c.add(K(h,ee.KEY_DOWN,f=>{var m;return this._keyDown(f,u,!!(!((m=e.persistence)===null||m===void 0)&&m.hideOnKeyDown))})),c.add(K(g,ee.KEY_DOWN,f=>{var m;return this._keyDown(f,u,!!(!((m=e.persistence)===null||m===void 0)&&m.hideOnKeyDown))})),c.add(K(h,ee.KEY_UP,f=>this._keyUp(f,u))),c.add(K(g,ee.KEY_UP,f=>this._keyUp(f,u)))}}if(\"IntersectionObserver\"in Ht){const h=new IntersectionObserver(f=>this._intersectionChange(f,u),{threshold:0}),g=\"targetElements\"in e.target?e.target.targetElements[0]:e.target;h.observe(g),c.add(Ie(()=>h.disconnect()))}return this._currentHover=u,u}hideHover(){var e;!((e=this._currentHover)===null||e===void 0)&&e.isLocked||!this._currentHoverOptions||this.doHideHover()}doHideHover(){this._currentHover=void 0,this._currentHoverOptions=void 0,this._contextViewHandler.hideContextView()}_intersectionChange(e,t){e[e.length-1].isIntersecting||t.dispose()}showAndFocusLastHover(){this._lastHoverOptions&&this.showHover(this._lastHoverOptions,!0,!0)}_keyDown(e,t,i){var n,o;if(e.key===\"Alt\"){t.isLocked=!0;return}const r=new Kt(e);this._keybindingService.resolveKeyboardEvent(r).getSingleModifierDispatchChords().some(l=>!!l)||this._keybindingService.softDispatch(r,r.target).kind!==0||i&&(!(!((n=this._currentHoverOptions)===null||n===void 0)&&n.trapFocus)||e.key!==\"Tab\")&&(this.hideHover(),(o=this._lastFocusedElementBeforeOpen)===null||o===void 0||o.focus())}_keyUp(e,t){var i;e.key===\"Alt\"&&(t.isLocked=!1,t.isMouseIn||(this.hideHover(),(i=this._lastFocusedElementBeforeOpen)===null||i===void 0||i.focus()))}setupUpdatableHover(e,t,i,n){t.setAttribute(\"custom-hover\",\"true\"),t.title!==\"\"&&(console.warn(\"HTML element already has a title attribute, which will conflict with the custom hover. Please remove the title attribute.\"),console.trace(\"Stack trace:\",t.title),t.title=\"\");let o,r;const a=(C,w)=>{var y;const D=r!==void 0;C&&(r==null||r.dispose(),r=void 0),w&&(o==null||o.dispose(),o=void 0),D&&((y=e.onDidHideHover)===null||y===void 0||y.call(e),r=void 0)},l=(C,w,y)=>new ya(async()=>{(!r||r.isDisposed)&&(r=new lbe(e,y||t,C>0),await r.update(typeof i==\"function\"?i():i,w,n))},C);let d=!1;const c=K(t,ee.MOUSE_DOWN,()=>{d=!0,a(!0,!0)},!0),u=K(t,ee.MOUSE_UP,()=>{d=!1},!0),h=K(t,ee.MOUSE_LEAVE,C=>{d=!1,a(!1,C.fromElement===t)},!0),g=C=>{if(o)return;const w=new Y,y={targetElements:[t],dispose:()=>{}};if(e.placement===void 0||e.placement===\"mouse\"){const D=L=>{y.x=L.x+10,L.target instanceof HTMLElement&&a6(L.target,t)!==t&&a(!0,!0)};w.add(K(t,ee.MOUSE_MOVE,D,!0))}o=w,!(C.target instanceof HTMLElement&&a6(C.target,t)!==t)&&w.add(l(e.delay,!1,y))},f=K(t,ee.MOUSE_OVER,g,!0),m=()=>{if(d||o)return;const C={targetElements:[t],dispose:()=>{}},w=new Y,y=()=>a(!0,!0);w.add(K(t,ee.BLUR,y,!0)),w.add(l(e.delay,!1,C)),o=w};let _;const v=t.tagName.toLowerCase();return v!==\"input\"&&v!==\"textarea\"&&(_=K(t,ee.FOCUS,m,!0)),{show:C=>{a(!1,!0),l(0,C)},hide:()=>{a(!0,!0)},update:async(C,w)=>{i=C,await(r==null?void 0:r.update(i,void 0,w))},dispose:()=>{f.dispose(),h.dispose(),c.dispose(),u.dispose(),_==null||_.dispose(),a(!0,!0)}}}};m2=dbe([q0(0,Ne),q0(1,Oo),q0(2,At),q0(3,ig),q0(4,gr)],m2);function r6(s){var e;if(s!==void 0)return(e=s==null?void 0:s.id)!==null&&e!==void 0?e:s}class cbe{get anchorPosition(){return this._hover.anchor}constructor(e,t=!1){this._hover=e,this._focus=t,this.layer=1}render(e){return this._hover.render(e),this._focus&&this._hover.focus(),this._hover}getAnchor(){return{x:this._hover.x,y:this._hover.y}}layout(){this._hover.layout()}}function a6(s,e){for(e=e??Te(s).document.body;!s.hasAttribute(\"custom-hover\")&&s!==e;)s=s.parentElement;return s}mt(Md,m2,1);zr((s,e)=>{const t=s.getColor(EU);t&&(e.addRule(`.monaco-workbench .workbench-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-workbench .workbench-hover hr { border-top: 1px solid ${t.transparent(.5)}; }`))});const x1=ut(\"IWorkspaceEditService\");class yO{constructor(e){this.metadata=e}static convert(e){return e.edits.map(t=>{if(dh.is(t))return dh.lift(t);if(Um.is(t))return Um.lift(t);throw new Error(\"Unsupported edit\")})}}class dh extends yO{static is(e){return e instanceof dh?!0:Ms(e)&&Ae.isUri(e.resource)&&Ms(e.textEdit)}static lift(e){return e instanceof dh?e:new dh(e.resource,e.textEdit,e.versionId,e.metadata)}constructor(e,t,i=void 0,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}}class Um extends yO{static is(e){return e instanceof Um?!0:Ms(e)&&(!!e.newResource||!!e.oldResource)}static lift(e){return e instanceof Um?e:new Um(e.oldResource,e.newResource,e.options,e.metadata)}constructor(e,t,i={},n){super(n),this.oldResource=e,this.newResource=t,this.options=i}}const es={enableSplitViewResizing:!0,renderSideBySide:!0,renderMarginRevertIcon:!0,renderGutterMenu:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:\"inherit\",diffAlgorithm:\"advanced\",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0},Vx=Object.freeze({id:\"editor\",order:5,type:\"object\",title:p(\"editorConfigurationTitle\",\"Editor\"),scope:5}),SD={...Vx,properties:{\"editor.tabSize\":{type:\"number\",default:ns.tabSize,minimum:1,markdownDescription:p(\"tabSize\",\"The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.\",\"`#editor.detectIndentation#`\")},\"editor.indentSize\":{anyOf:[{type:\"string\",enum:[\"tabSize\"]},{type:\"number\",minimum:1}],default:\"tabSize\",markdownDescription:p(\"indentSize\",'The number of spaces used for indentation or `\"tabSize\"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')},\"editor.insertSpaces\":{type:\"boolean\",default:ns.insertSpaces,markdownDescription:p(\"insertSpaces\",\"Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.\",\"`#editor.detectIndentation#`\")},\"editor.detectIndentation\":{type:\"boolean\",default:ns.detectIndentation,markdownDescription:p(\"detectIndentation\",\"Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.\",\"`#editor.tabSize#`\",\"`#editor.insertSpaces#`\")},\"editor.trimAutoWhitespace\":{type:\"boolean\",default:ns.trimAutoWhitespace,description:p(\"trimAutoWhitespace\",\"Remove trailing auto inserted whitespace.\")},\"editor.largeFileOptimizations\":{type:\"boolean\",default:ns.largeFileOptimizations,description:p(\"largeFileOptimizations\",\"Special handling for large files to disable certain memory intensive features.\")},\"editor.wordBasedSuggestions\":{enum:[\"off\",\"currentDocument\",\"matchingDocuments\",\"allDocuments\"],default:\"matchingDocuments\",enumDescriptions:[p(\"wordBasedSuggestions.off\",\"Turn off Word Based Suggestions.\"),p(\"wordBasedSuggestions.currentDocument\",\"Only suggest words from the active document.\"),p(\"wordBasedSuggestions.matchingDocuments\",\"Suggest words from all open documents of the same language.\"),p(\"wordBasedSuggestions.allDocuments\",\"Suggest words from all open documents.\")],description:p(\"wordBasedSuggestions\",\"Controls whether completions should be computed based on words in the document and from which documents they are computed.\")},\"editor.semanticHighlighting.enabled\":{enum:[!0,!1,\"configuredByTheme\"],enumDescriptions:[p(\"semanticHighlighting.true\",\"Semantic highlighting enabled for all color themes.\"),p(\"semanticHighlighting.false\",\"Semantic highlighting disabled for all color themes.\"),p(\"semanticHighlighting.configuredByTheme\",\"Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.\")],default:\"configuredByTheme\",description:p(\"semanticHighlighting.enabled\",\"Controls whether the semanticHighlighting is shown for the languages that support it.\")},\"editor.stablePeek\":{type:\"boolean\",default:!1,markdownDescription:p(\"stablePeek\",\"Keep peek editors open even when double-clicking their content or when hitting `Escape`.\")},\"editor.maxTokenizationLineLength\":{type:\"integer\",default:2e4,description:p(\"maxTokenizationLineLength\",\"Lines above this length will not be tokenized for performance reasons\")},\"editor.experimental.asyncTokenization\":{type:\"boolean\",default:!1,description:p(\"editor.experimental.asyncTokenization\",\"Controls whether the tokenization should happen asynchronously on a web worker.\"),tags:[\"experimental\"]},\"editor.experimental.asyncTokenizationLogging\":{type:\"boolean\",default:!1,description:p(\"editor.experimental.asyncTokenizationLogging\",\"Controls whether async tokenization should be logged. For debugging only.\")},\"editor.experimental.asyncTokenizationVerification\":{type:\"boolean\",default:!1,description:p(\"editor.experimental.asyncTokenizationVerification\",\"Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only.\"),tags:[\"experimental\"]},\"editor.language.brackets\":{type:[\"array\",\"null\"],default:null,description:p(\"schema.brackets\",\"Defines the bracket symbols that increase or decrease the indentation.\"),items:{type:\"array\",items:[{type:\"string\",description:p(\"schema.openBracket\",\"The opening bracket character or string sequence.\")},{type:\"string\",description:p(\"schema.closeBracket\",\"The closing bracket character or string sequence.\")}]}},\"editor.language.colorizedBracketPairs\":{type:[\"array\",\"null\"],default:null,description:p(\"schema.colorizedBracketPairs\",\"Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled.\"),items:{type:\"array\",items:[{type:\"string\",description:p(\"schema.openBracket\",\"The opening bracket character or string sequence.\")},{type:\"string\",description:p(\"schema.closeBracket\",\"The closing bracket character or string sequence.\")}]}},\"diffEditor.maxComputationTime\":{type:\"number\",default:es.maxComputationTime,description:p(\"maxComputationTime\",\"Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.\")},\"diffEditor.maxFileSize\":{type:\"number\",default:es.maxFileSize,description:p(\"maxFileSize\",\"Maximum file size in MB for which to compute diffs. Use 0 for no limit.\")},\"diffEditor.renderSideBySide\":{type:\"boolean\",default:es.renderSideBySide,description:p(\"sideBySide\",\"Controls whether the diff editor shows the diff side by side or inline.\")},\"diffEditor.renderSideBySideInlineBreakpoint\":{type:\"number\",default:es.renderSideBySideInlineBreakpoint,description:p(\"renderSideBySideInlineBreakpoint\",\"If the diff editor width is smaller than this value, the inline view is used.\")},\"diffEditor.useInlineViewWhenSpaceIsLimited\":{type:\"boolean\",default:es.useInlineViewWhenSpaceIsLimited,description:p(\"useInlineViewWhenSpaceIsLimited\",\"If enabled and the editor width is too small, the inline view is used.\")},\"diffEditor.renderMarginRevertIcon\":{type:\"boolean\",default:es.renderMarginRevertIcon,description:p(\"renderMarginRevertIcon\",\"When enabled, the diff editor shows arrows in its glyph margin to revert changes.\")},\"diffEditor.renderGutterMenu\":{type:\"boolean\",default:es.renderGutterMenu,description:p(\"renderGutterMenu\",\"When enabled, the diff editor shows a special gutter for revert and stage actions.\")},\"diffEditor.ignoreTrimWhitespace\":{type:\"boolean\",default:es.ignoreTrimWhitespace,description:p(\"ignoreTrimWhitespace\",\"When enabled, the diff editor ignores changes in leading or trailing whitespace.\")},\"diffEditor.renderIndicators\":{type:\"boolean\",default:es.renderIndicators,description:p(\"renderIndicators\",\"Controls whether the diff editor shows +/- indicators for added/removed changes.\")},\"diffEditor.codeLens\":{type:\"boolean\",default:es.diffCodeLens,description:p(\"codeLens\",\"Controls whether the editor shows CodeLens.\")},\"diffEditor.wordWrap\":{type:\"string\",enum:[\"off\",\"on\",\"inherit\"],default:es.diffWordWrap,markdownEnumDescriptions:[p(\"wordWrap.off\",\"Lines will never wrap.\"),p(\"wordWrap.on\",\"Lines will wrap at the viewport width.\"),p(\"wordWrap.inherit\",\"Lines will wrap according to the {0} setting.\",\"`#editor.wordWrap#`\")]},\"diffEditor.diffAlgorithm\":{type:\"string\",enum:[\"legacy\",\"advanced\"],default:es.diffAlgorithm,markdownEnumDescriptions:[p(\"diffAlgorithm.legacy\",\"Uses the legacy diffing algorithm.\"),p(\"diffAlgorithm.advanced\",\"Uses the advanced diffing algorithm.\")],tags:[\"experimental\"]},\"diffEditor.hideUnchangedRegions.enabled\":{type:\"boolean\",default:es.hideUnchangedRegions.enabled,markdownDescription:p(\"hideUnchangedRegions.enabled\",\"Controls whether the diff editor shows unchanged regions.\")},\"diffEditor.hideUnchangedRegions.revealLineCount\":{type:\"integer\",default:es.hideUnchangedRegions.revealLineCount,markdownDescription:p(\"hideUnchangedRegions.revealLineCount\",\"Controls how many lines are used for unchanged regions.\"),minimum:1},\"diffEditor.hideUnchangedRegions.minimumLineCount\":{type:\"integer\",default:es.hideUnchangedRegions.minimumLineCount,markdownDescription:p(\"hideUnchangedRegions.minimumLineCount\",\"Controls how many lines are used as a minimum for unchanged regions.\"),minimum:1},\"diffEditor.hideUnchangedRegions.contextLineCount\":{type:\"integer\",default:es.hideUnchangedRegions.contextLineCount,markdownDescription:p(\"hideUnchangedRegions.contextLineCount\",\"Controls how many lines are used as context when comparing unchanged regions.\"),minimum:1},\"diffEditor.experimental.showMoves\":{type:\"boolean\",default:es.experimental.showMoves,markdownDescription:p(\"showMoves\",\"Controls whether the diff editor should show detected code moves.\")},\"diffEditor.experimental.showEmptyDecorations\":{type:\"boolean\",default:es.experimental.showEmptyDecorations,description:p(\"showEmptyDecorations\",\"Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted.\")}}};function ube(s){return typeof s.type<\"u\"||typeof s.anyOf<\"u\"}for(const s of Jp){const e=s.schema;if(typeof e<\"u\")if(ube(e))SD.properties[`editor.${s.name}`]=e;else for(const t in e)Object.hasOwnProperty.call(e,t)&&(SD.properties[t]=e[t])}let Kw=null;function aj(){return Kw===null&&(Kw=Object.create(null),Object.keys(SD.properties).forEach(s=>{Kw[s]=!0})),Kw}function hbe(s){return aj()[`editor.${s}`]||!1}function gbe(s){return aj()[`diffEditor.${s}`]||!1}const fbe=Ji.as(pl.Configuration);fbe.registerConfiguration(SD);class pi{static insert(e,t){return{range:new x(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}function qw(s){return Object.isFrozen(s)?s:Nse(s)}class Vn{static createEmptyModel(e){return new Vn({},[],[],void 0,e)}constructor(e,t,i,n,o){this._contents=e,this._keys=t,this._overrides=i,this.raw=n,this.logService=o,this.overrideConfigurations=new Map}get rawConfiguration(){var e;if(!this._rawConfiguration)if(!((e=this.raw)===null||e===void 0)&&e.length){const t=this.raw.map(i=>{if(i instanceof Vn)return i;const n=new pbe(\"\",this.logService);return n.parseRaw(i),n.configurationModel});this._rawConfiguration=t.reduce((i,n)=>n===i?n:i.merge(n),t[0])}else this._rawConfiguration=this;return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(e){return e?R3(this.contents,e):this.contents}inspect(e,t){const i=this;return{get value(){return qw(i.rawConfiguration.getValue(e))},get override(){return t?qw(i.rawConfiguration.getOverrideValue(e,t)):void 0},get merged(){return qw(t?i.rawConfiguration.override(t).getValue(e):i.rawConfiguration.getValue(e))},get overrides(){const n=[];for(const{contents:o,identifiers:r,keys:a}of i.rawConfiguration.overrides){const l=new Vn(o,a,[],void 0,i.logService).getValue(e);l!==void 0&&n.push({identifiers:r,value:l})}return n.length?qw(n):void 0}}}getOverrideValue(e,t){const i=this.getContentsForOverrideIdentifer(t);return i?e?R3(i,e):i:void 0}override(e){let t=this.overrideConfigurations.get(e);return t||(t=this.createOverrideConfigurationModel(e),this.overrideConfigurations.set(e,t)),t}merge(...e){var t,i;const n=Jd(this.contents),o=Jd(this.overrides),r=[...this.keys],a=!((t=this.raw)===null||t===void 0)&&t.length?[...this.raw]:[this];for(const l of e)if(a.push(...!((i=l.raw)===null||i===void 0)&&i.length?l.raw:[l]),!l.isEmpty()){this.mergeContents(n,l.contents);for(const d of l.overrides){const[c]=o.filter(u=>Ci(u.identifiers,d.identifiers));c?(this.mergeContents(c.contents,d.contents),c.keys.push(...d.keys),c.keys=Wc(c.keys)):o.push(Jd(d))}for(const d of l.keys)r.indexOf(d)===-1&&r.push(d)}return new Vn(n,r,o,a.every(l=>l instanceof Vn)?void 0:a,this.logService)}createOverrideConfigurationModel(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||typeof t!=\"object\"||!Object.keys(t).length)return this;const i={};for(const n of Wc([...Object.keys(this.contents),...Object.keys(t)])){let o=this.contents[n];const r=t[n];r&&(typeof o==\"object\"&&typeof r==\"object\"?(o=Jd(o),this.mergeContents(o,r)):o=r),i[n]=o}return new Vn(i,this.keys,this.overrides,void 0,this.logService)}mergeContents(e,t){for(const i of Object.keys(t)){if(i in e&&Ms(e[i])&&Ms(t[i])){this.mergeContents(e[i],t[i]);continue}e[i]=Jd(t[i])}}getContentsForOverrideIdentifer(e){let t=null,i=null;const n=o=>{o&&(i?this.mergeContents(i,o):i=Jd(o))};for(const o of this.overrides)o.identifiers.length===1&&o.identifiers[0]===e?t=o.contents:o.identifiers.includes(e)&&n(o.contents);return n(t),i}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(e,t){this.updateValue(e,t,!0)}setValue(e,t){this.updateValue(e,t,!1)}removeValue(e){const t=this.keys.indexOf(e);t!==-1&&(this.keys.splice(t,1),lde(this.contents,e),Th.test(e)&&this.overrides.splice(this.overrides.findIndex(i=>Ci(i.identifiers,qS(e))),1))}updateValue(e,t,i){Jz(this.contents,e,t,n=>this.logService.error(n)),i=i||this.keys.indexOf(e)===-1,i&&this.keys.push(e),Th.test(e)&&this.overrides.push({identifiers:qS(e),keys:Object.keys(this.contents[e]),contents:hA(this.contents[e],n=>this.logService.error(n))})}}class pbe{constructor(e,t){this._name=e,this.logService=t,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||Vn.createEmptyModel(this.logService)}parseRaw(e,t){this._raw=e;const{contents:i,keys:n,overrides:o,restricted:r,hasExcludedProperties:a}=this.doParseRaw(e,t);this._configurationModel=new Vn(i,n,o,a?[e]:void 0,this.logService),this._restrictedConfigurations=r||[]}doParseRaw(e,t){const i=Ji.as(pl.Configuration).getConfigurationProperties(),n=this.filter(e,i,!0,t);e=n.raw;const o=hA(e,l=>this.logService.error(`Conflict in settings file ${this._name}: ${l}`)),r=Object.keys(e),a=this.toOverrides(e,l=>this.logService.error(`Conflict in settings file ${this._name}: ${l}`));return{contents:o,keys:r,overrides:a,restricted:n.restricted,hasExcludedProperties:n.hasExcludedProperties}}filter(e,t,i,n){var o,r,a;let l=!1;if(!(n!=null&&n.scopes)&&!(n!=null&&n.skipRestricted)&&!(!((o=n==null?void 0:n.exclude)===null||o===void 0)&&o.length))return{raw:e,restricted:[],hasExcludedProperties:l};const d={},c=[];for(const u in e)if(Th.test(u)&&i){const h=this.filter(e[u],t,!1,n);d[u]=h.raw,l=l||h.hasExcludedProperties,c.push(...h.restricted)}else{const h=t[u],g=h?typeof h.scope<\"u\"?h.scope:3:void 0;h!=null&&h.restricted&&c.push(u),!(!((r=n.exclude)===null||r===void 0)&&r.includes(u))&&(!((a=n.include)===null||a===void 0)&&a.includes(u)||(g===void 0||n.scopes===void 0||n.scopes.includes(g))&&!(n.skipRestricted&&(h!=null&&h.restricted)))?d[u]=e[u]:l=!0}return{raw:d,restricted:c,hasExcludedProperties:l}}toOverrides(e,t){const i=[];for(const n of Object.keys(e))if(Th.test(n)){const o={};for(const r in e[n])o[r]=e[n][r];i.push({identifiers:qS(n),keys:Object.keys(o),contents:hA(o,t)})}return i}}class mbe{constructor(e,t,i,n,o,r,a,l,d,c,u,h,g){this.key=e,this.overrides=t,this._value=i,this.overrideIdentifiers=n,this.defaultConfiguration=o,this.policyConfiguration=r,this.applicationConfiguration=a,this.userConfiguration=l,this.localUserConfiguration=d,this.remoteUserConfiguration=c,this.workspaceConfiguration=u,this.folderConfigurationModel=h,this.memoryConfigurationModel=g}toInspectValue(e){return(e==null?void 0:e.value)!==void 0||(e==null?void 0:e.override)!==void 0||(e==null?void 0:e.overrides)!==void 0?e:void 0}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.userConfiguration.inspect(this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return this.toInspectValue(this.userInspectValue)}}class zx{constructor(e,t,i,n,o,r,a,l,d,c){this._defaultConfiguration=e,this._policyConfiguration=t,this._applicationConfiguration=i,this._localUserConfiguration=n,this._remoteUserConfiguration=o,this._workspaceConfiguration=r,this._folderConfigurations=a,this._memoryConfiguration=l,this._memoryConfigurationByResource=d,this.logService=c,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Wi,this._userConfiguration=null}getValue(e,t,i){return this.getConsolidatedConfigurationModel(e,t,i).getValue(e)}updateValue(e,t,i={}){let n;i.resource?(n=this._memoryConfigurationByResource.get(i.resource),n||(n=Vn.createEmptyModel(this.logService),this._memoryConfigurationByResource.set(i.resource,n))):n=this._memoryConfiguration,t===void 0?n.removeValue(e):n.setValue(e,t),i.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(e,t,i){const n=this.getConsolidatedConfigurationModel(e,t,i),o=this.getFolderConfigurationModelForResource(t.resource,i),r=t.resource?this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration:this._memoryConfiguration,a=new Set;for(const l of n.overrides)for(const d of l.identifiers)n.getOverrideValue(e,d)!==void 0&&a.add(d);return new mbe(e,t,n.getValue(e),a.size?[...a]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,i?this._workspaceConfiguration:void 0,o||void 0,r)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(e,t,i){let n=this.getConsolidatedConfigurationModelForResource(t,i);return t.overrideIdentifier&&(n=n.override(t.overrideIdentifier)),!this._policyConfiguration.isEmpty()&&this._policyConfiguration.getValue(e)!==void 0&&(n=n.merge(this._policyConfiguration)),n}getConsolidatedConfigurationModelForResource({resource:e},t){let i=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const n=t.getFolder(e);n&&(i=this.getFolderConsolidatedConfiguration(n.uri)||i);const o=this._memoryConfigurationByResource.get(e);o&&(i=i.merge(o))}return i}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const i=this.getWorkspaceConsolidatedConfiguration(),n=this._folderConfigurations.get(e);n?(t=i.merge(n),this._foldersConsolidatedConfigurations.set(e,t)):t=i}return t}getFolderConfigurationModelForResource(e,t){if(t&&e){const i=t.getFolder(e);if(i)return this._folderConfigurations.get(i.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{const{contents:i,overrides:n,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:i,overrides:n,keys:o}]),e},[])}}static parse(e,t){const i=this.parseConfigurationModel(e.defaults,t),n=this.parseConfigurationModel(e.policy,t),o=this.parseConfigurationModel(e.application,t),r=this.parseConfigurationModel(e.user,t),a=this.parseConfigurationModel(e.workspace,t),l=e.folders.reduce((d,c)=>(d.set(Ae.revive(c[0]),this.parseConfigurationModel(c[1],t)),d),new Wi);return new zx(i,n,o,r,Vn.createEmptyModel(t),a,l,Vn.createEmptyModel(t),new Wi,t)}static parseConfigurationModel(e,t){return new Vn(e.contents,e.keys,e.overrides,void 0,t)}}class _be{constructor(e,t,i,n,o){this.change=e,this.previous=t,this.currentConfiguraiton=i,this.currentWorkspace=n,this.logService=o,this._marker=`\n`,this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=46,this.affectedKeys=new Set,this._previousConfiguration=void 0;for(const r of e.keys)this.affectedKeys.add(r);for(const[,r]of e.overrides)for(const a of r)this.affectedKeys.add(a);this._affectsConfigStr=this._marker;for(const r of this.affectedKeys)this._affectsConfigStr+=r+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=zx.parse(this.previous.data,this.logService)),this._previousConfiguration}affectsConfiguration(e,t){var i;const n=this._marker+e,o=this._affectsConfigStr.indexOf(n);if(o<0)return!1;const r=o+n.length;if(r>=this._affectsConfigStr.length)return!1;const a=this._affectsConfigStr.charCodeAt(r);if(a!==this._markerCode1&&a!==this._markerCode2)return!1;if(t){const l=this.previousConfiguration?this.previousConfiguration.getValue(e,t,(i=this.previous)===null||i===void 0?void 0:i.workspace):void 0,d=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!tr(l,d)}return!0}}const DD={kind:0},vbe={kind:1};function bbe(s,e,t){return{kind:2,commandId:s,commandArgs:e,isBubble:t}}class ab{constructor(e,t,i){var n;this._log=i,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(const o of e){const r=o.command;r&&r.charAt(0)!==\"-\"&&this._defaultBoundCommands.set(r,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=ab.handleRemovals([].concat(e).concat(t));for(let o=0,r=this._keybindings.length;o<r;o++){const a=this._keybindings[o];if(a.chords.length===0)continue;const l=(n=a.when)===null||n===void 0?void 0:n.substituteConstants();l&&l.type===0||this._addKeyPress(a.chords[0],a)}}static _isTargetedForRemoval(e,t,i){if(t){for(let n=0;n<t.length;n++)if(t[n]!==e.chords[n])return!1}return!(i&&i.type!==1&&(!e.when||!Sle(i,e.when)))}static handleRemovals(e){const t=new Map;for(let n=0,o=e.length;n<o;n++){const r=e[n];if(r.command&&r.command.charAt(0)===\"-\"){const a=r.command.substring(1);t.has(a)?t.get(a).push(r):t.set(a,[r])}}if(t.size===0)return e;const i=[];for(let n=0,o=e.length;n<o;n++){const r=e[n];if(!r.command||r.command.length===0){i.push(r);continue}if(r.command.charAt(0)===\"-\")continue;const a=t.get(r.command);if(!a||!r.isDefault){i.push(r);continue}let l=!1;for(const d of a){const c=d.when;if(this._isTargetedForRemoval(r,d.chords,c)){l=!0;break}}if(!l){i.push(r);continue}}return i}_addKeyPress(e,t){const i=this._map.get(e);if(typeof i>\"u\"){this._map.set(e,[t]),this._addToLookupMap(t);return}for(let n=i.length-1;n>=0;n--){const o=i[n];if(o.command===t.command)continue;let r=!0;for(let a=1;a<o.chords.length&&a<t.chords.length;a++)if(o.chords[a]!==t.chords[a]){r=!1;break}r&&ab.whenIsEntirelyIncluded(o.when,t.when)&&this._removeFromLookupMap(o)}i.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);typeof t>\"u\"?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;const t=this._lookupMap.get(e.command);if(!(typeof t>\"u\")){for(let i=0,n=t.length;i<n;i++)if(t[i]===e){t.splice(i,1);return}}}static whenIsEntirelyIncluded(e,t){return!t||t.type===1?!0:!e||e.type===1?!1:cA(e,t)}getKeybindings(){return this._keybindings}lookupPrimaryKeybinding(e,t){const i=this._lookupMap.get(e);if(typeof i>\"u\"||i.length===0)return null;if(i.length===1)return i[0];for(let n=i.length-1;n>=0;n--){const o=i[n];if(t.contextMatchesRules(o.when))return o}return i[i.length-1]}resolve(e,t,i){const n=[...t,i];this._log(`| Resolving ${n}`);const o=this._map.get(n[0]);if(o===void 0)return this._log(\"\\\\ No keybinding entries.\"),DD;let r=null;if(n.length<2)r=o;else{r=[];for(let l=0,d=o.length;l<d;l++){const c=o[l];if(n.length>c.chords.length)continue;let u=!0;for(let h=1;h<n.length;h++)if(c.chords[h]!==n[h]){u=!1;break}u&&r.push(c)}}const a=this._findCommand(e,r);return a?n.length<a.chords.length?(this._log(`\\\\ From ${r.length} keybinding entries, awaiting ${a.chords.length-n.length} more chord(s), when: ${l6(a.when)}, source: ${d6(a)}.`),vbe):(this._log(`\\\\ From ${r.length} keybinding entries, matched ${a.command}, when: ${l6(a.when)}, source: ${d6(a)}.`),bbe(a.command,a.commandArgs,a.bubble)):(this._log(`\\\\ From ${r.length} keybinding entries, no when clauses matched the context.`),DD)}_findCommand(e,t){for(let i=t.length-1;i>=0;i--){const n=t[i];if(ab._contextMatchesRules(e,n.when))return n}return null}static _contextMatchesRules(e,t){return t?t.evaluate(e):!0}}function l6(s){return s?`${s.serialize()}`:\"no when condition\"}function d6(s){return s.extensionId?s.isBuiltinExtension?`built-in extension ${s.extensionId}`:`user extension ${s.extensionId}`:s.isDefault?\"built-in\":\"user\"}const Cbe=/^(cursor|delete|undo|redo|tab|editor\\.action\\.clipboard)/;class wbe extends H{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:le.None}get inChordMode(){return this._currentChords.length>0}constructor(e,t,i,n,o){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=i,this._notificationService=n,this._logService=o,this._onDidUpdateKeybindings=this._register(new B),this._currentChords=[],this._currentChordChecker=new oF,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=mm.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new ya,this._currentlyDispatchingCommandId=null,this._logging=!1}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){const i=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService);if(i)return i.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){this._log(\"/ Soft dispatching keyboard event\");const i=this.resolveKeyboardEvent(e);if(i.hasMultipleChords())return console.warn(\"keyboard event should not be mapped to multiple chords\"),DD;const[n]=i.getDispatchChords();if(n===null)return this._log(\"\\\\ Keyboard event cannot be dispatched\"),DD;const o=this._contextKeyService.getContext(t),r=this._currentChords.map(({keypress:a})=>a);return this._getResolver().resolve(o,r,n)}_scheduleLeaveChordMode(){const e=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-e>5e3&&this._leaveChordMode()},500)}_expectAnotherChord(e,t){switch(this._currentChords.push({keypress:e,label:t}),this._currentChords.length){case 0:throw UP(\"impossible\");case 1:this._currentChordStatusMessage=this._notificationService.status(p(\"first.chord\",\"({0}) was pressed. Waiting for second key of chord...\",t));break;default:{const i=this._currentChords.map(({label:n})=>n).join(\", \");this._currentChordStatusMessage=this._notificationService.status(p(\"next.chord\",\"({0}) was pressed. Waiting for next key of chord...\",i))}}this._scheduleLeaveChordMode(),Kv.enabled&&Kv.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],Kv.enable()}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t,!1)}_singleModifierDispatch(e,t){const i=this.resolveKeyboardEvent(e),[n]=i.getSingleModifierDispatchChords();if(n)return this._ignoreSingleModifiers.has(n)?(this._log(`+ Ignoring single modifier ${n} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=mm.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=mm.EMPTY,this._currentSingleModifier===null?(this._log(`+ Storing single modifier for possible chord ${n}.`),this._currentSingleModifier=n,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log(\"+ Clearing single modifier due to 300ms elapsed.\"),this._currentSingleModifier=null},300),!1):n===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${n} ${n}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(i,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${n}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[o]=i.getChords();return this._ignoreSingleModifiers=new mm(o),this._currentSingleModifier!==null&&this._log(\"+ Clearing single modifier due to other key up.\"),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(e,t,i=!1){var n;let o=!1;if(e.hasMultipleChords())return console.warn(\"Unexpected keyboard event mapped to multiple chords\"),!1;let r=null,a=null;if(i){const[u]=e.getSingleModifierDispatchChords();r=u,a=u?[u]:[]}else[r]=e.getDispatchChords(),a=this._currentChords.map(({keypress:u})=>u);if(r===null)return this._log(\"\\\\ Keyboard event cannot be dispatched in keydown phase.\"),o;const l=this._contextKeyService.getContext(t),d=e.getLabel(),c=this._getResolver().resolve(l,a,r);switch(c.kind){case 0:{if(this._logService.trace(\"KeybindingService#dispatch\",d,\"[ No matching keybinding ]\"),this.inChordMode){const u=this._currentChords.map(({label:h})=>h).join(\", \");this._log(`+ Leaving multi-chord mode: Nothing bound to \"${u}, ${d}\".`),this._notificationService.status(p(\"missing.chord\",\"The key combination ({0}, {1}) is not a command.\",u,d),{hideAfter:10*1e3}),this._leaveChordMode(),o=!0}return o}case 1:return this._logService.trace(\"KeybindingService#dispatch\",d,\"[ Several keybindings match - more chords needed ]\"),o=!0,this._expectAnotherChord(r,d),this._log(this._currentChords.length===1?\"+ Entering multi-chord mode...\":\"+ Continuing multi-chord mode...\"),o;case 2:{if(this._logService.trace(\"KeybindingService#dispatch\",d,`[ Will dispatch command ${c.commandId} ]`),c.commandId===null||c.commandId===\"\"){if(this.inChordMode){const u=this._currentChords.map(({label:h})=>h).join(\", \");this._log(`+ Leaving chord mode: Nothing bound to \"${u}, ${d}\".`),this._notificationService.status(p(\"missing.chord\",\"The key combination ({0}, {1}) is not a command.\",u,d),{hideAfter:10*1e3}),this._leaveChordMode(),o=!0}}else{this.inChordMode&&this._leaveChordMode(),c.isBubble||(o=!0),this._log(`+ Invoking command ${c.commandId}.`),this._currentlyDispatchingCommandId=c.commandId;try{typeof c.commandArgs>\"u\"?this._commandService.executeCommand(c.commandId).then(void 0,u=>this._notificationService.warn(u)):this._commandService.executeCommand(c.commandId,c.commandArgs).then(void 0,u=>this._notificationService.warn(u))}finally{this._currentlyDispatchingCommandId=null}Cbe.test(c.commandId)||this._telemetryService.publicLog2(\"workbenchActionExecuted\",{id:c.commandId,from:\"keybinding\",detail:(n=e.getUserSettingsLabel())!==null&&n!==void 0?n:void 0})}return o}}}mightProducePrintableCharacter(e){return e.ctrlKey||e.metaKey?!1:e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30}}class mm{constructor(e){this._ctrlKey=e?e.ctrlKey:!1,this._shiftKey=e?e.shiftKey:!1,this._altKey=e?e.altKey:!1,this._metaKey=e?e.metaKey:!1}has(e){switch(e){case\"ctrl\":return this._ctrlKey;case\"shift\":return this._shiftKey;case\"alt\":return this._altKey;case\"meta\":return this._metaKey}}}mm.EMPTY=new mm(null);class c6{constructor(e,t,i,n,o,r,a){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=e,this.chords=e?_2(e.getDispatchChords()):[],e&&this.chords.length===0&&(this.chords=_2(e.getSingleModifierDispatchChords())),this.bubble=t?t.charCodeAt(0)===94:!1,this.command=this.bubble?t.substr(1):t,this.commandArgs=i,this.when=n,this.isDefault=o,this.extensionId=r,this.isBuiltinExtension=a}}function _2(s){const e=[];for(let t=0,i=s.length;t<i;t++){const n=s[t];if(!n)return[];e.push(n)}return e}class Ux{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(t.length===0)return null;const n=[];for(let o=0,r=t.length;o<r;o++){const a=t[o],l=i(a);if(l===null)return null;n[o]=Lbe(a,l,this.modifierLabels[e])}return n.join(\" \")}}const SO=new Ux({ctrlKey:\"⌃\",shiftKey:\"⇧\",altKey:\"⌥\",metaKey:\"⌘\",separator:\"\"},{ctrlKey:p({},\"Ctrl\"),shiftKey:p({},\"Shift\"),altKey:p({},\"Alt\"),metaKey:p({},\"Windows\"),separator:\"+\"},{ctrlKey:p({},\"Ctrl\"),shiftKey:p({},\"Shift\"),altKey:p({},\"Alt\"),metaKey:p({},\"Super\"),separator:\"+\"}),ybe=new Ux({ctrlKey:p({},\"Control\"),shiftKey:p({},\"Shift\"),altKey:p({},\"Option\"),metaKey:p({},\"Command\"),separator:\"+\"},{ctrlKey:p({},\"Control\"),shiftKey:p({},\"Shift\"),altKey:p({},\"Alt\"),metaKey:p({},\"Windows\"),separator:\"+\"},{ctrlKey:p({},\"Control\"),shiftKey:p({},\"Shift\"),altKey:p({},\"Alt\"),metaKey:p({},\"Super\"),separator:\"+\"}),Sbe=new Ux({ctrlKey:\"Ctrl\",shiftKey:\"Shift\",altKey:\"Alt\",metaKey:\"Cmd\",separator:\"+\"},{ctrlKey:\"Ctrl\",shiftKey:\"Shift\",altKey:\"Alt\",metaKey:\"Super\",separator:\"+\"}),Dbe=new Ux({ctrlKey:\"ctrl\",shiftKey:\"shift\",altKey:\"alt\",metaKey:\"cmd\",separator:\"+\"},{ctrlKey:\"ctrl\",shiftKey:\"shift\",altKey:\"alt\",metaKey:\"win\",separator:\"+\"},{ctrlKey:\"ctrl\",shiftKey:\"shift\",altKey:\"alt\",metaKey:\"meta\",separator:\"+\"});function Lbe(s,e,t){if(e===null)return\"\";const i=[];return s.ctrlKey&&i.push(t.ctrlKey),s.shiftKey&&i.push(t.shiftKey),s.altKey&&i.push(t.altKey),s.metaKey&&i.push(t.metaKey),e!==\"\"&&i.push(e),i.join(t.separator)}class xbe extends Ure{constructor(e,t){if(super(),t.length===0)throw Mr(\"chords\");this._os=e,this._chords=t}getLabel(){return SO.toLabel(this._os,this._chords,e=>this._getLabel(e))}getAriaLabel(){return ybe.toLabel(this._os,this._chords,e=>this._getAriaLabel(e))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:Sbe.toLabel(this._os,this._chords,e=>this._getElectronAccelerator(e))}getUserSettingsLabel(){return Dbe.toLabel(this._os,this._chords,e=>this._getUserSettingsLabel(e))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map(e=>this._getChord(e))}_getChord(e){return new zre(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchChords(){return this._chords.map(e=>this._getChordDispatch(e))}getSingleModifierDispatchChords(){return this._chords.map(e=>this._getSingleModifierChordDispatch(e))}}class lC extends xbe{constructor(e,t){super(t,e)}_keyCodeToUILabel(e){if(this._os===2)switch(e){case 15:return\"←\";case 16:return\"↑\";case 17:return\"→\";case 18:return\"↓\"}return sc.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?\"\":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?\"\":sc.toString(e.keyCode)}_getElectronAccelerator(e){return sc.toElectronAccelerator(e.keyCode)}_getUserSettingsLabel(e){if(e.isDuplicateModifierCase())return\"\";const t=sc.toUserSettingsUS(e.keyCode);return t&&t.toLowerCase()}_getChordDispatch(e){return lC.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t=\"\";return e.ctrlKey&&(t+=\"ctrl+\"),e.shiftKey&&(t+=\"shift+\"),e.altKey&&(t+=\"alt+\"),e.metaKey&&(t+=\"meta+\"),t+=sc.toString(e.keyCode),t}_getSingleModifierChordDispatch(e){return e.keyCode===5&&!e.shiftKey&&!e.altKey&&!e.metaKey?\"ctrl\":e.keyCode===4&&!e.ctrlKey&&!e.altKey&&!e.metaKey?\"shift\":e.keyCode===6&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey?\"alt\":e.keyCode===57&&!e.ctrlKey&&!e.shiftKey&&!e.altKey?\"meta\":null}static _scanCodeToKeyCode(e){const t=GP[e];if(t!==-1)return t;switch(e){case 10:return 31;case 11:return 32;case 12:return 33;case 13:return 34;case 14:return 35;case 15:return 36;case 16:return 37;case 17:return 38;case 18:return 39;case 19:return 40;case 20:return 41;case 21:return 42;case 22:return 43;case 23:return 44;case 24:return 45;case 25:return 46;case 26:return 47;case 27:return 48;case 28:return 49;case 29:return 50;case 30:return 51;case 31:return 52;case 32:return 53;case 33:return 54;case 34:return 55;case 35:return 56;case 36:return 22;case 37:return 23;case 38:return 24;case 39:return 25;case 40:return 26;case 41:return 27;case 42:return 28;case 43:return 29;case 44:return 30;case 45:return 21;case 51:return 88;case 52:return 86;case 53:return 92;case 54:return 94;case 55:return 93;case 56:return 0;case 57:return 85;case 58:return 95;case 59:return 91;case 60:return 87;case 61:return 89;case 62:return 90;case 106:return 97}return 0}static _toKeyCodeChord(e){if(!e)return null;if(e instanceof Vc)return e;const t=this._scanCodeToKeyCode(e.scanCode);return t===0?null:new Vc(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,t)}static resolveKeybinding(e,t){const i=_2(e.chords.map(n=>this._toKeyCodeChord(n)));return i.length>0?[new lC(i,t)]:[]}}const k_=ut(\"labelService\"),lj=ut(\"progressService\");class Nc{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}Nc.None=Object.freeze({report(){}});const sg=ut(\"editorProgressService\");class kbe{constructor(){this._value=\"\",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){const t=e.charCodeAt(0),i=this._value.charCodeAt(this._pos);return t-i}value(){return this._value[this._pos]}}class Ebe{constructor(e=!0){this._caseSensitive=e}reset(e){return this._value=e,this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++)if(this._value.charCodeAt(this._to)===46)if(e)this._from++;else break;else e=!1;return this}cmp(e){return this._caseSensitive?XP(e,this._value,0,e.length,this._from,this._to):d1(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class Ibe{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){this._from=0,this._to=0,this._value=e,this._valueLen=e.length;for(let t=e.length-1;t>=0;t--,this._valueLen--){const i=this._value.charCodeAt(t);if(!(i===47||this._splitOnBackslash&&i===92))break}return this.next()}hasNext(){return this._to<this._valueLen}next(){this._from=this._to;let e=!0;for(;this._to<this._valueLen;this._to++){const t=this._value.charCodeAt(this._to);if(t===47||this._splitOnBackslash&&t===92)if(e)this._from++;else break;else e=!1}return this}cmp(e){return this._caseSensitive?XP(e,this._value,0,e.length,this._from,this._to):d1(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class Tbe{constructor(e,t){this._ignorePathCasing=e,this._ignoreQueryAndFragment=t,this._states=[],this._stateIdx=0}reset(e){return this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path&&(this._pathIterator=new Ibe(!1,!this._ignorePathCasing(e)),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)),this._ignoreQueryAndFragment(e)||(this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5)),this._stateIdx=0,this}next(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(this._states[this._stateIdx]===1)return YN(e,this._value.scheme);if(this._states[this._stateIdx]===2)return YN(e,this._value.authority);if(this._states[this._stateIdx]===3)return this._pathIterator.cmp(e);if(this._states[this._stateIdx]===4)return Rb(e,this._value.query);if(this._states[this._stateIdx]===5)return Rb(e,this._value.fragment);throw new Error}value(){if(this._states[this._stateIdx]===1)return this._value.scheme;if(this._states[this._stateIdx]===2)return this._value.authority;if(this._states[this._stateIdx]===3)return this._pathIterator.value();if(this._states[this._stateIdx]===4)return this._value.query;if(this._states[this._stateIdx]===5)return this._value.fragment;throw new Error}}class Gw{constructor(){this.height=1}rotateLeft(){const e=this.right;return this.right=e.left,e.left=this,this.updateHeight(),e.updateHeight(),e}rotateRight(){const e=this.left;return this.left=e.right,e.right=this,this.updateHeight(),e.updateHeight(),e}updateHeight(){this.height=1+Math.max(this.heightLeft,this.heightRight)}balanceFactor(){return this.heightRight-this.heightLeft}get heightLeft(){var e,t;return(t=(e=this.left)===null||e===void 0?void 0:e.height)!==null&&t!==void 0?t:0}get heightRight(){var e,t;return(t=(e=this.right)===null||e===void 0?void 0:e.height)!==null&&t!==void 0?t:0}}class $m{static forUris(e=()=>!1,t=()=>!1){return new $m(new Tbe(e,t))}static forStrings(){return new $m(new kbe)}static forConfigKeys(){return new $m(new Ebe)}constructor(e){this._iter=e}clear(){this._root=void 0}set(e,t){const i=this._iter.reset(e);let n;this._root||(this._root=new Gw,this._root.segment=i.value());const o=[];for(n=this._root;;){const a=i.cmp(n.segment);if(a>0)n.left||(n.left=new Gw,n.left.segment=i.value()),o.push([-1,n]),n=n.left;else if(a<0)n.right||(n.right=new Gw,n.right.segment=i.value()),o.push([1,n]),n=n.right;else if(i.hasNext())i.next(),n.mid||(n.mid=new Gw,n.mid.segment=i.value()),o.push([0,n]),n=n.mid;else break}const r=n.value;n.value=t,n.key=e;for(let a=o.length-1;a>=0;a--){const l=o[a][1];l.updateHeight();const d=l.balanceFactor();if(d<-1||d>1){const c=o[a][0],u=o[a+1][0];if(c===1&&u===1)o[a][1]=l.rotateLeft();else if(c===-1&&u===-1)o[a][1]=l.rotateRight();else if(c===1&&u===-1)l.right=o[a+1][1]=o[a+1][1].rotateRight(),o[a][1]=l.rotateLeft();else if(c===-1&&u===1)l.left=o[a+1][1]=o[a+1][1].rotateLeft(),o[a][1]=l.rotateRight();else throw new Error;if(a>0)switch(o[a-1][0]){case-1:o[a-1][1].left=o[a][1];break;case 1:o[a-1][1].right=o[a][1];break;case 0:o[a-1][1].mid=o[a][1];break}else this._root=o[0][1]}}return r}get(e){var t;return(t=this._getNode(e))===null||t===void 0?void 0:t.value}_getNode(e){const t=this._iter.reset(e);let i=this._root;for(;i;){const n=t.cmp(i.segment);if(n>0)i=i.left;else if(n<0)i=i.right;else if(t.hasNext())t.next(),i=i.mid;else break}return i}has(e){const t=this._getNode(e);return!((t==null?void 0:t.value)===void 0&&(t==null?void 0:t.mid)===void 0)}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var i;const n=this._iter.reset(e),o=[];let r=this._root;for(;r;){const a=n.cmp(r.segment);if(a>0)o.push([-1,r]),r=r.left;else if(a<0)o.push([1,r]),r=r.right;else if(n.hasNext())n.next(),o.push([0,r]),r=r.mid;else break}if(r){if(t?(r.left=void 0,r.mid=void 0,r.right=void 0,r.height=1):(r.key=void 0,r.value=void 0),!r.mid&&!r.value)if(r.left&&r.right){const a=this._min(r.right);if(a.key){const{key:l,value:d,segment:c}=a;this._delete(a.key,!1),r.key=l,r.value=d,r.segment=c}}else{const a=(i=r.left)!==null&&i!==void 0?i:r.right;if(o.length>0){const[l,d]=o[o.length-1];switch(l){case-1:d.left=a;break;case 0:d.mid=a;break;case 1:d.right=a;break}}else this._root=a}for(let a=o.length-1;a>=0;a--){const l=o[a][1];l.updateHeight();const d=l.balanceFactor();if(d>1?(l.right.balanceFactor()>=0||(l.right=l.right.rotateRight()),o[a][1]=l.rotateLeft()):d<-1&&(l.left.balanceFactor()<=0||(l.left=l.left.rotateLeft()),o[a][1]=l.rotateRight()),a>0)switch(o[a-1][0]){case-1:o[a-1][1].left=o[a][1];break;case 1:o[a-1][1].right=o[a][1];break;case 0:o[a-1][1].mid=o[a][1];break}else this._root=o[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){const t=this._iter.reset(e);let i=this._root,n;for(;i;){const o=t.cmp(i.segment);if(o>0)i=i.left;else if(o<0)i=i.right;else if(t.hasNext())t.next(),n=i.value||n,i=i.mid;else break}return i&&i.value||n}findSuperstr(e){return this._findSuperstrOrElement(e,!1)}_findSuperstrOrElement(e,t){const i=this._iter.reset(e);let n=this._root;for(;n;){const o=i.cmp(n.segment);if(o>0)n=n.left;else if(o<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else return n.mid?this._entries(n.mid):t?n.value:void 0}}forEach(e){for(const[t,i]of this)e(i,t)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(e){const t=[];return this._dfsEntries(e,t),t[Symbol.iterator]()}_dfsEntries(e,t){e&&(e.left&&this._dfsEntries(e.left,t),e.value&&t.push([e.key,e.value]),e.mid&&this._dfsEntries(e.mid,t),e.right&&this._dfsEntries(e.right,t))}}const If=ut(\"contextService\");function v2(s){const e=s;return typeof(e==null?void 0:e.id)==\"string\"&&Ae.isUri(e.uri)}function Nbe(s){const e=s;return typeof(e==null?void 0:e.id)==\"string\"&&!v2(s)&&!Rbe(s)}const Abe={id:\"empty-window\"};function Mbe(s,e){if(typeof s==\"string\"||typeof s>\"u\")return typeof s==\"string\"?{id:nh(s)}:Abe;const t=s;return t.configuration?{id:t.id,configPath:t.configuration}:t.folders.length===1?{id:t.id,uri:t.folders[0].uri}:{id:t.id}}function Rbe(s){const e=s;return typeof(e==null?void 0:e.id)==\"string\"&&Ae.isUri(e.configPath)}class Pbe{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}const b2=\"code-workspace\";p(\"codeWorkspace\",\"Code Workspace\");const dj=\"4064f6ec-cb38-4ad0-af64-ee6467e63c82\";function Fbe(s){return s.id===dj}var u6;(function(s){s.inspectTokensAction=p(\"inspectTokens\",\"Developer: Inspect Tokens\")})(u6||(u6={}));var h6;(function(s){s.gotoLineActionLabel=p(\"gotoLineActionLabel\",\"Go to Line/Column...\")})(h6||(h6={}));var g6;(function(s){s.helpQuickAccessActionLabel=p(\"helpQuickAccess\",\"Show all Quick Access Providers\")})(g6||(g6={}));var f6;(function(s){s.quickCommandActionLabel=p(\"quickCommandActionLabel\",\"Command Palette\"),s.quickCommandHelp=p(\"quickCommandActionHelp\",\"Show And Run Commands\")})(f6||(f6={}));var p6;(function(s){s.quickOutlineActionLabel=p(\"quickOutlineActionLabel\",\"Go to Symbol...\"),s.quickOutlineByCategoryActionLabel=p(\"quickOutlineByCategoryActionLabel\",\"Go to Symbol by Category...\")})(p6||(p6={}));var LD;(function(s){s.editorViewAccessibleLabel=p(\"editorViewAccessibleLabel\",\"Editor content\"),s.accessibilityHelpMessage=p(\"accessibilityHelpMessage\",\"Press Alt+F1 for Accessibility Options.\")})(LD||(LD={}));var m6;(function(s){s.toggleHighContrast=p(\"toggleHighContrast\",\"Toggle High Contrast Theme\")})(m6||(m6={}));var C2;(function(s){s.bulkEditServiceSummary=p(\"bulkEditServiceSummary\",\"Made {0} edits in {1} files\")})(C2||(C2={}));const cj=ut(\"workspaceTrustManagementService\");let E_=[],DO=[],uj=[];function Zw(s,e=!1){Obe(s,!1,e)}function Obe(s,e,t){const i=Bbe(s,e);E_.push(i),i.userConfigured?uj.push(i):DO.push(i),t&&!i.userConfigured&&E_.forEach(n=>{n.mime===i.mime||n.userConfigured||(i.extension&&n.extension===i.extension&&console.warn(`Overwriting extension <<${i.extension}>> to now point to mime <<${i.mime}>>`),i.filename&&n.filename===i.filename&&console.warn(`Overwriting filename <<${i.filename}>> to now point to mime <<${i.mime}>>`),i.filepattern&&n.filepattern===i.filepattern&&console.warn(`Overwriting filepattern <<${i.filepattern}>> to now point to mime <<${i.mime}>>`),i.firstline&&n.firstline===i.firstline&&console.warn(`Overwriting firstline <<${i.firstline}>> to now point to mime <<${i.mime}>>`))})}function Bbe(s,e){return{id:s.id,mime:s.mime,filename:s.filename,extension:s.extension,filepattern:s.filepattern,firstline:s.firstline,userConfigured:e,filenameLowercase:s.filename?s.filename.toLowerCase():void 0,extensionLowercase:s.extension?s.extension.toLowerCase():void 0,filepatternLowercase:s.filepattern?$$(s.filepattern.toLowerCase()):void 0,filepatternOnPath:s.filepattern?s.filepattern.indexOf(Yi.sep)>=0:!1}}function Wbe(){E_=E_.filter(s=>s.userConfigured),DO=[]}function Hbe(s,e){return Vbe(s,e).map(t=>t.id)}function Vbe(s,e){let t;if(s)switch(s.scheme){case Ge.file:t=s.fsPath;break;case Ge.data:{t=Mh.parseMetaData(s).get(Mh.META_DATA_LABEL);break}case Ge.vscodeNotebookCell:t=void 0;break;default:t=s.path}if(!t)return[{id:\"unknown\",mime:Ti.unknown}];t=t.toLowerCase();const i=nh(t),n=_6(t,i,uj);if(n)return[n,{id:ir,mime:Ti.text}];const o=_6(t,i,DO);if(o)return[o,{id:ir,mime:Ti.text}];if(e){const r=zbe(e);if(r)return[r,{id:ir,mime:Ti.text}]}return[{id:\"unknown\",mime:Ti.unknown}]}function _6(s,e,t){var i;let n,o,r;for(let a=t.length-1;a>=0;a--){const l=t[a];if(e===l.filenameLowercase){n=l;break}if(l.filepattern&&(!o||l.filepattern.length>o.filepattern.length)){const d=l.filepatternOnPath?s:e;!((i=l.filepatternLowercase)===null||i===void 0)&&i.call(l,d)&&(o=l)}l.extension&&(!r||l.extension.length>r.extension.length)&&e.endsWith(l.extensionLowercase)&&(r=l)}if(n)return n;if(o)return o;if(r)return r}function zbe(s){if(iF(s)&&(s=s.substr(1)),s.length>0)for(let e=E_.length-1;e>=0;e--){const t=E_[e];if(!t.firstline)continue;const i=s.match(t.firstline);if(i&&i.length>0)return t}}const Xw=Object.prototype.hasOwnProperty,v6=\"vs.editor.nullLanguage\";class Ube{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(v6,0),this._register(ir,1),this._nextLanguageId=2}_register(e,t){this._languageIdToLanguage[t]=e,this._languageToLanguageId.set(e,t)}register(e){if(this._languageToLanguageId.has(e))return;const t=this._nextLanguageId++;this._register(e,t)}encodeLanguageId(e){return this._languageToLanguageId.get(e)||0}decodeLanguageId(e){return this._languageIdToLanguage[e]||v6}}class dC extends H{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,dC.instanceCount++,this._warnOnOverwrite=t,this.languageIdCodec=new Ube,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(h_.onDidChangeLanguages(i=>{this._initializeFromRegistry()})))}dispose(){dC.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Wbe();const e=[].concat(h_.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(t=>{const i=this._languages[t];i.name&&(this._nameMap[i.name]=i.identifier),i.aliases.forEach(n=>{this._lowercaseNameMap[n.toLowerCase()]=i.identifier}),i.mimetypes.forEach(n=>{this._mimeTypesMap[n]=i.identifier})}),Ji.as(pl.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(e){const t=e.id;let i;Xw.call(this._languages,t)?i=this._languages[t]:(this.languageIdCodec.register(t),i={identifier:t,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[t]=i),this._mergeLanguage(i,e)}_mergeLanguage(e,t){const i=t.id;let n=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),n=t.mimetypes[0]),n||(n=`text/x-${i}`,e.mimetypes.push(n)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(const a of t.extensions)Zw({id:i,mime:n,extension:a},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(const a of t.filenames)Zw({id:i,mime:n,filename:a},this._warnOnOverwrite),e.filenames.push(a);if(Array.isArray(t.filenamePatterns))for(const a of t.filenamePatterns)Zw({id:i,mime:n,filepattern:a},this._warnOnOverwrite);if(typeof t.firstLine==\"string\"&&t.firstLine.length>0){let a=t.firstLine;a.charAt(0)!==\"^\"&&(a=\"^\"+a);try{const l=new RegExp(a);Ire(l)||Zw({id:i,mime:n,firstline:l},this._warnOnOverwrite)}catch(l){console.warn(`[${t.id}]: Invalid regular expression \\`${a}\\`: `,l)}}e.aliases.push(i);let o=null;if(typeof t.aliases<\"u\"&&Array.isArray(t.aliases)&&(t.aliases.length===0?o=[null]:o=t.aliases),o!==null)for(const a of o)!a||a.length===0||e.aliases.push(a);const r=o!==null&&o.length>0;if(!(r&&o[0]===null)){const a=(r?o[0]:null)||i;(r||!e.name)&&(e.name=a)}t.configuration&&e.configurationFiles.push(t.configuration),t.icon&&e.icons.push(t.icon)}isRegisteredLanguageId(e){return e?Xw.call(this._languages,e):!1}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(e){const t=e.toLowerCase();return Xw.call(this._lowercaseNameMap,t)?this._lowercaseNameMap[t]:null}getLanguageIdByMimeType(e){return e&&Xw.call(this._mimeTypesMap,e)?this._mimeTypesMap[e]:null}guessLanguageIdByFilepathOrFirstLine(e,t){return!e&&!t?[]:Hbe(e,t)}}dC.instanceCount=0;class cC extends H{constructor(e=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new B),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new B),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new B({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,cC.instanceCount++,this._registry=this._register(new dC(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){cC.instanceCount--,super.dispose()}isRegisteredLanguageId(e){return this._registry.isRegisteredLanguageId(e)}getLanguageIdByLanguageName(e){return this._registry.getLanguageIdByLanguageName(e)}getLanguageIdByMimeType(e){return this._registry.getLanguageIdByMimeType(e)}guessLanguageIdByFilepathOrFirstLine(e,t){const i=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return FP(i,null)}createById(e){return new b6(this.onDidChange,()=>this._createAndGetLanguageIdentifier(e))}createByFilepathOrFirstLine(e,t){return new b6(this.onDidChange,()=>{const i=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(i)})}_createAndGetLanguageIdentifier(e){return(!e||!this.isRegisteredLanguageId(e))&&(e=ir),e}requestBasicLanguageFeatures(e){this._requestedBasicLanguages.has(e)||(this._requestedBasicLanguages.add(e),this._onDidRequestBasicLanguageFeatures.fire(e))}requestRichLanguageFeatures(e){this._requestedRichLanguages.has(e)||(this._requestedRichLanguages.add(e),this.requestBasicLanguageFeatures(e),Ki.getOrCreate(e),this._onDidRequestRichLanguageFeatures.fire(e))}}cC.instanceCount=0;class b6{constructor(e,t){this._onDidChangeLanguages=e,this._selector=t,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new B({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var e;const t=this._selector();t!==this.languageId&&(this.languageId=t,(e=this._emitter)===null||e===void 0||e.fire(this.languageId))}}const uC={RESOURCES:\"ResourceURLs\",TEXT:Ti.text,INTERNAL_URI_LIST:\"application/vnd.code.uri-list\"},$be=()=>({get delay(){return-1},dispose:()=>{},showHover:()=>{}});let $x=$be;const jbe=new gl(()=>$x(\"mouse\",!1)),Kbe=new gl(()=>$x(\"element\",!1));function qbe(s){$x=s}function Xs(s){return s===\"element\"?Kbe.value:jbe.value}function I_(){return $x(\"element\",!0)}let hj={showHover:()=>{},hideHover:()=>{},showAndFocusLastHover:()=>{},setupUpdatableHover:()=>null};function Gbe(s){hj=s}function _l(){return hj}class Zbe{constructor(e){this.spliceables=e}splice(e,t,i){this.spliceables.forEach(n=>n.splice(e,t,i))}}class wg extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}function C6(s,e){const t=[];for(const i of e){if(s.start>=i.range.end)continue;if(s.end<i.range.start)break;const n=ts.intersect(s,i.range);ts.isEmpty(n)||t.push({range:n,size:i.size})}return t}function w2({start:s,end:e},t){return{start:s+t,end:e+t}}function Xbe(s){const e=[];let t=null;for(const i of s){const n=i.range.start,o=i.range.end,r=i.size;if(t&&r===t.size){t.range.end=o;continue}t={range:{start:n,end:o},size:r},e.push(t)}return e}function Ybe(...s){return Xbe(s.reduce((e,t)=>e.concat(t),[]))}class Qbe{get paddingTop(){return this._paddingTop}set paddingTop(e){this._size=this._size+e-this._paddingTop,this._paddingTop=e}constructor(e){this.groups=[],this._size=0,this._paddingTop=0,this._paddingTop=e??0,this._size=this._paddingTop}splice(e,t,i=[]){const n=i.length-t,o=C6({start:0,end:e},this.groups),r=C6({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map(l=>({range:w2(l.range,n),size:l.size})),a=i.map((l,d)=>({range:{start:e+d,end:e+d+1},size:l.size}));this.groups=Ybe(o,a,r),this._size=this._paddingTop+this.groups.reduce((l,d)=>l+d.size*(d.range.end-d.range.start),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;if(e<this._paddingTop)return 0;let t=0,i=this._paddingTop;for(const n of this.groups){const o=n.range.end-n.range.start,r=i+o*n.size;if(e<r)return t+Math.floor((e-i)/n.size);t+=o,i=r}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,i=0;for(const n of this.groups){const o=n.range.end-n.range.start,r=i+o;if(e<r)return this._paddingTop+t+(e-i)*n.size;t+=o*n.size,i=r}return-1}}function Jbe(s){var e;try{(e=s.parentElement)===null||e===void 0||e.removeChild(s)}catch{}}class eCe{constructor(e){this.renderers=e,this.cache=new Map,this.transactionNodesPendingRemoval=new Set,this.inTransaction=!1}alloc(e){let t=this.getTemplateCache(e).pop(),i=!1;if(t)i=this.transactionNodesPendingRemoval.has(t.domNode),i&&this.transactionNodesPendingRemoval.delete(t.domNode);else{const n=he(\".monaco-list-row\"),r=this.getRenderer(e).renderTemplate(n);t={domNode:n,templateId:e,templateData:r}}return{row:t,isReusingConnectedDomNode:i}}release(e){e&&this.releaseRow(e)}transact(e){if(this.inTransaction)throw new Error(\"Already in transaction\");this.inTransaction=!0;try{e()}finally{for(const t of this.transactionNodesPendingRemoval)this.doRemoveNode(t);this.transactionNodesPendingRemoval.clear(),this.inTransaction=!1}}releaseRow(e){const{domNode:t,templateId:i}=e;t&&(this.inTransaction?this.transactionNodesPendingRemoval.add(t):this.doRemoveNode(t)),this.getTemplateCache(i).push(e)}doRemoveNode(e){e.classList.remove(\"scrolling\"),Jbe(e)}getTemplateCache(e){let t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t}dispose(){this.cache.forEach((e,t)=>{for(const i of e)this.getRenderer(t).disposeTemplate(i.templateData),i.templateData=null}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error(`No renderer found for ${e}`);return t}}var su=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o};const yg={CurrentDragAndDropData:void 0},Sl={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(s){return[s]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){},dispose(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class k1{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class tCe{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class iCe{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;t<e.files.length;t++){const i=e.files.item(t);i&&(i.size||i.type)&&this.files.push(i)}}}getData(){return{types:this.types,files:this.files}}}function nCe(s,e){return Array.isArray(s)&&Array.isArray(e)?Ci(s,e):s===e}class sCe{constructor(e){e!=null&&e.getSetSize?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(t,i,n)=>n,e!=null&&e.getPosInSet?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(t,i)=>i+1,e!=null&&e.getRole?this.getRole=e.getRole.bind(e):this.getRole=t=>\"listitem\",e!=null&&e.isChecked?this.isChecked=e.isChecked.bind(e):this.isChecked=t=>{}}}class $r{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get scrollableElementDomNode(){return this.scrollableElement.getDomNode()}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error(\"Horizontal scrolling and dynamic heights not supported simultaneously\");if(this._horizontalScrolling=e,this.domNode.classList.toggle(\"horizontal-scrolling\",this._horizontalScrolling),this._horizontalScrolling){for(const t of this.items)this.measureItemWidth(t);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:$E(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=\"\"}}constructor(e,t,i,n=Sl){var o,r,a,l,d,c,u,h,g,f,m,_,v;if(this.virtualDelegate=t,this.domId=`list_id_${++$r.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new _a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=H.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=H.None,this.onDragLeaveTimeout=H.None,this.disposables=new Y,this._onDidChangeContentHeight=new B,this._onDidChangeContentWidth=new B,this.onDidChangeContentHeight=le.latch(this._onDidChangeContentHeight.event,void 0,this.disposables),this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw new Error(\"Horizontal scrolling and dynamic heights not supported simultaneously\");this.items=[],this.itemId=0,this.rangeMap=this.createRangeMap((o=n.paddingTop)!==null&&o!==void 0?o:0);for(const C of i)this.renderers.set(C.templateId,C);this.cache=this.disposables.add(new eCe(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement(\"div\"),this.domNode.className=\"monaco-list\",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle(\"mouse-support\",typeof n.mouseSupport==\"boolean\"?n.mouseSupport:!0),this._horizontalScrolling=(r=n.horizontalScrolling)!==null&&r!==void 0?r:Sl.horizontalScrolling,this.domNode.classList.toggle(\"horizontal-scrolling\",this._horizontalScrolling),this.paddingBottom=typeof n.paddingBottom>\"u\"?0:n.paddingBottom,this.accessibilityProvider=new sCe(n.accessibilityProvider),this.rowsContainer=document.createElement(\"div\"),this.rowsContainer.className=\"monaco-list-rows\",((a=n.transformOptimization)!==null&&a!==void 0?a:Sl.transformOptimization)&&(this.rowsContainer.style.transform=\"translate3d(0px, 0px, 0px)\",this.rowsContainer.style.overflow=\"hidden\",this.rowsContainer.style.contain=\"strict\"),this.disposables.add(Gt.addTarget(this.rowsContainer)),this.scrollable=this.disposables.add(new u0({forceIntegerValues:!0,smoothScrollDuration:(l=n.smoothScrolling)!==null&&l!==void 0&&l?125:0,scheduleAtNextAnimationFrame:C=>Ao(Te(this.domNode),C)})),this.scrollableElement=this.disposables.add(new Lx(this.rowsContainer,{alwaysConsumeMouseWheel:(d=n.alwaysConsumeMouseWheel)!==null&&d!==void 0?d:Sl.alwaysConsumeMouseWheel,horizontal:1,vertical:(c=n.verticalScrollMode)!==null&&c!==void 0?c:Sl.verticalScrollMode,useShadows:(u=n.useShadows)!==null&&u!==void 0?u:Sl.useShadows,mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity,scrollByPage:n.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add(K(this.rowsContainer,Xt.Change,C=>this.onTouchChange(C))),this.disposables.add(K(this.scrollableElement.getDomNode(),\"scroll\",C=>C.target.scrollTop=0)),this.disposables.add(K(this.domNode,\"dragover\",C=>this.onDragOver(this.toDragEvent(C)))),this.disposables.add(K(this.domNode,\"drop\",C=>this.onDrop(this.toDragEvent(C)))),this.disposables.add(K(this.domNode,\"dragleave\",C=>this.onDragLeave(this.toDragEvent(C)))),this.disposables.add(K(this.domNode,\"dragend\",C=>this.onDragEnd(C))),this.setRowLineHeight=(h=n.setRowLineHeight)!==null&&h!==void 0?h:Sl.setRowLineHeight,this.setRowHeight=(g=n.setRowHeight)!==null&&g!==void 0?g:Sl.setRowHeight,this.supportDynamicHeights=(f=n.supportDynamicHeights)!==null&&f!==void 0?f:Sl.supportDynamicHeights,this.dnd=(m=n.dnd)!==null&&m!==void 0?m:this.disposables.add(Sl.dnd),this.layout((_=n.initialSize)===null||_===void 0?void 0:_.height,(v=n.initialSize)===null||v===void 0?void 0:v.width)}updateOptions(e){e.paddingBottom!==void 0&&(this.paddingBottom=e.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),e.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),e.horizontalScrolling!==void 0&&(this.horizontalScrolling=e.horizontalScrolling);let t;if(e.scrollByPage!==void 0&&(t={...t??{},scrollByPage:e.scrollByPage}),e.mouseWheelScrollSensitivity!==void 0&&(t={...t??{},mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),e.fastScrollSensitivity!==void 0&&(t={...t??{},fastScrollSensitivity:e.fastScrollSensitivity}),t&&this.scrollableElement.updateOptions(t),e.paddingTop!==void 0&&e.paddingTop!==this.rangeMap.paddingTop){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),n=e.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=e.paddingTop,this.render(i,Math.max(0,this.lastRenderTop+n),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}createRangeMap(e){return new Qbe(e)}splice(e,t,i=[]){if(this.splicing)throw new Error(\"Can't run recursive splices.\");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){const n=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o={start:e,end:e+t},r=ts.intersect(n,o),a=new Map;for(let y=r.end-1;y>=r.start;y--){const D=this.items[y];if(D.dragStartDisposable.dispose(),D.checkedDisposable.dispose(),D.row){let L=a.get(D.templateId);L||(L=[],a.set(D.templateId,L));const k=this.renderers.get(D.templateId);k&&k.disposeElement&&k.disposeElement(D.element,y,D.row.templateData,D.size),L.unshift(D.row)}D.row=null,D.stale=!0}const l={start:e+t,end:this.items.length},d=ts.intersect(l,n),c=ts.relativeComplement(l,n),u=i.map(y=>({id:String(this.itemId++),element:y,templateId:this.virtualDelegate.getTemplateId(y),size:this.virtualDelegate.getHeight(y),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(y),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:H.None,checkedDisposable:H.None,stale:!1}));let h;e===0&&t>=this.items.length?(this.rangeMap=this.createRangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,u),h=this.items,this.items=u):(this.rangeMap.splice(e,t,u),h=this.items.splice(e,t,...u));const g=i.length-t,f=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=w2(d,g),_=ts.intersect(f,m);for(let y=_.start;y<_.end;y++)this.updateItemInDOM(this.items[y],y);const v=ts.relativeComplement(m,f);for(const y of v)for(let D=y.start;D<y.end;D++)this.removeItemFromDOM(D);const b=c.map(y=>w2(y,g)),w=[{start:e,end:e+i.length},...b].map(y=>ts.intersect(f,y)).reverse();for(const y of w)for(let D=y.end-1;D>=y.start;D--){const L=this.items[D],k=a.get(L.templateId),I=k==null?void 0:k.pop();this.insertItemInDOM(D,I)}for(const y of a.values())for(const D of y)this.cache.release(D);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),h.map(y=>y.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Ao(Te(this.domNode),()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth())}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)typeof t.width<\"u\"&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e===0?0:e+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}get firstVisibleIndex(){return this.getRenderRange(this.lastRenderTop,this.lastRenderHeight).start}element(e){return this.items[e].element}indexOf(e){return this.items.findIndex(t=>t.element===e)}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){const i={height:typeof e==\"number\"?e:Bae(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),typeof t<\"u\"&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:typeof t==\"number\"?t:$E(this.domNode)})}render(e,t,i,n,o,r=!1){const a=this.getRenderRange(t,i),l=ts.relativeComplement(a,e).reverse(),d=ts.relativeComplement(e,a);if(r){const c=ts.intersect(e,a);for(let u=c.start;u<c.end;u++)this.updateItemInDOM(this.items[u],u)}this.cache.transact(()=>{for(const c of d)for(let u=c.start;u<c.end;u++)this.removeItemFromDOM(u);for(const c of l)for(let u=c.end-1;u>=c.start;u--)this.insertItemInDOM(u)}),n!==void 0&&(this.rowsContainer.style.left=`-${n}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&o!==void 0&&(this.rowsContainer.style.width=`${Math.max(o,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=i}insertItemInDOM(e,t){var i,n,o;const r=this.items[e];if(!r.row)if(t)r.row=t,r.stale=!0;else{const u=this.cache.alloc(r.templateId);r.row=u.row,r.stale||(r.stale=u.isReusingConnectedDomNode)}const a=this.accessibilityProvider.getRole(r.element)||\"listitem\";r.row.domNode.setAttribute(\"role\",a);const l=this.accessibilityProvider.isChecked(r.element);if(typeof l==\"boolean\")r.row.domNode.setAttribute(\"aria-checked\",String(!!l));else if(l){const u=h=>r.row.domNode.setAttribute(\"aria-checked\",String(!!h));u(l.value),r.checkedDisposable=l.onDidChange(()=>u(l.value))}if(r.stale||!r.row.domNode.parentElement){const u=(o=(n=(i=this.items.at(e+1))===null||i===void 0?void 0:i.row)===null||n===void 0?void 0:n.domNode)!==null&&o!==void 0?o:null;(r.row.domNode.parentElement!==this.rowsContainer||r.row.domNode.nextElementSibling!==u)&&this.rowsContainer.insertBefore(r.row.domNode,u),r.stale=!1}this.updateItemInDOM(r,e);const d=this.renderers.get(r.templateId);if(!d)throw new Error(`No renderer found for template id ${r.templateId}`);d==null||d.renderElement(r.element,e,r.row.templateData,r.size);const c=this.dnd.getDragURI(r.element);r.dragStartDisposable.dispose(),r.row.domNode.draggable=!!c,c&&(r.dragStartDisposable=K(r.row.domNode,\"dragstart\",u=>this.onDragStart(r.element,c,u))),this.horizontalScrolling&&(this.measureItemWidth(r),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=\"fit-content\",e.width=$E(e.row.domNode);const t=Te(e.row.domNode).getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=\"\"}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute(\"data-index\",`${t}`),e.row.domNode.setAttribute(\"data-last-element\",t===this.length-1?\"true\":\"false\"),e.row.domNode.setAttribute(\"data-parity\",t%2===0?\"even\":\"odd\"),e.row.domNode.setAttribute(\"aria-setsize\",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute(\"aria-posinset\",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute(\"id\",this.getElementDomId(t)),e.row.domNode.classList.toggle(\"drop-target\",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){const i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return le.map(this.disposables.add(new ht(this.domNode,\"click\")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseDblClick(){return le.map(this.disposables.add(new ht(this.domNode,\"dblclick\")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseMiddleClick(){return le.filter(le.map(this.disposables.add(new ht(this.domNode,\"auxclick\")).event,e=>this.toMouseEvent(e),this.disposables),e=>e.browserEvent.button===1,this.disposables)}get onMouseDown(){return le.map(this.disposables.add(new ht(this.domNode,\"mousedown\")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOver(){return le.map(this.disposables.add(new ht(this.domNode,\"mouseover\")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOut(){return le.map(this.disposables.add(new ht(this.domNode,\"mouseout\")).event,e=>this.toMouseEvent(e),this.disposables)}get onContextMenu(){return le.any(le.map(this.disposables.add(new ht(this.domNode,\"contextmenu\")).event,e=>this.toMouseEvent(e),this.disposables),le.map(this.disposables.add(new ht(this.domNode,Xt.Contextmenu)).event,e=>this.toGestureEvent(e),this.disposables))}get onTouchStart(){return le.map(this.disposables.add(new ht(this.domNode,\"touchstart\")).event,e=>this.toTouchEvent(e),this.disposables)}get onTap(){return le.map(this.disposables.add(new ht(this.rowsContainer,Xt.Tap)).event,e=>this.toGestureEvent(e),this.disposables)}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),i=typeof t>\"u\"?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),i=typeof t>\"u\"?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=typeof t>\"u\"?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),i=typeof t>\"u\"?void 0:this.items[t],n=i&&i.element,o=this.getTargetSector(e,t);return{browserEvent:e,index:t,element:n,sector:o}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error(\"Got bad scroll event:\",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){var n,o;if(!i.dataTransfer)return;const r=this.dnd.getDragElements(e);if(i.dataTransfer.effectAllowed=\"copyMove\",i.dataTransfer.setData(uC.TEXT,t),i.dataTransfer.setDragImage){let a;this.dnd.getDragLabel&&(a=this.dnd.getDragLabel(r,i)),typeof a>\"u\"&&(a=String(r.length));const l=he(\".monaco-drag-image\");l.textContent=a;const c=(u=>{for(;u&&!u.classList.contains(\"monaco-workbench\");)u=u.parentElement;return u||this.domNode.ownerDocument})(this.domNode);c.appendChild(l),i.dataTransfer.setDragImage(l,-10,-10),setTimeout(()=>c.removeChild(l),0)}this.domNode.classList.add(\"dragging\"),this.currentDragData=new k1(r),yg.CurrentDragAndDropData=new tCe(r),(o=(n=this.dnd).onDragStart)===null||o===void 0||o.call(n,this.currentDragData,i)}onDragOver(e){var t,i;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),yg.CurrentDragAndDropData&&yg.CurrentDragAndDropData.getData()===\"vscode-ui\"||(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(yg.CurrentDragAndDropData)this.currentDragData=yg.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new iCe}const n=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.sector,e.browserEvent);if(this.canDrop=typeof n==\"boolean\"?n:n.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;e.browserEvent.dataTransfer.dropEffect=typeof n!=\"boolean\"&&((t=n.effect)===null||t===void 0?void 0:t.type)===0?\"copy\":\"move\";let o;typeof n!=\"boolean\"&&n.feedback?o=n.feedback:typeof e.index>\"u\"?o=[-1]:o=[e.index],o=Wc(o).filter(a=>a>=-1&&a<this.length).sort((a,l)=>a-l),o=o[0]===-1?[-1]:o;let r=typeof n!=\"boolean\"&&n.effect&&n.effect.position?n.effect.position:\"drop-target\";if(nCe(this.currentDragFeedback,o)&&this.currentDragFeedbackPosition===r)return!0;if(this.currentDragFeedback=o,this.currentDragFeedbackPosition=r,this.currentDragFeedbackDisposable.dispose(),o[0]===-1)this.domNode.classList.add(r),this.rowsContainer.classList.add(r),this.currentDragFeedbackDisposable=Ie(()=>{this.domNode.classList.remove(r),this.rowsContainer.classList.remove(r)});else{if(o.length>1&&r!==\"drop-target\")throw new Error(\"Can't use multiple feedbacks with position different than 'over'\");r===\"drop-target-after\"&&o[0]<this.length-1&&(o[0]+=1,r=\"drop-target-before\");for(const a of o){const l=this.items[a];l.dropTarget=!0,(i=l.row)===null||i===void 0||i.domNode.classList.add(r)}this.currentDragFeedbackDisposable=Ie(()=>{var a;for(const l of o){const d=this.items[l];d.dropTarget=!1,(a=d.row)===null||a===void 0||a.domNode.classList.remove(r)}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=kh(()=>this.clearDragOverFeedback(),100,this.disposables),this.currentDragData&&((i=(t=this.dnd).onDragLeave)===null||i===void 0||i.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove(\"dragging\"),this.currentDragData=void 0,yg.CurrentDragAndDropData=void 0,!(!t||!e.browserEvent.dataTransfer)&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.sector,e.browserEvent))}onDragEnd(e){var t,i;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove(\"dragging\"),this.currentDragData=void 0,yg.CurrentDragAndDropData=void 0,(i=(t=this.dnd).onDragEnd)===null||i===void 0||i.call(t,e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackPosition=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=H.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const t=kz(this.domNode).top;this.dragOverAnimationDisposable=Yae(Te(this.domNode),this.animateDragAndDropScrollTop.bind(this,t))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=kh(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3,this.disposables),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(this.dragOverMouseY===void 0)return;const t=this.dragOverMouseY-e,i=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>i&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-i))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getTargetSector(e,t){if(t===void 0)return;const i=e.offsetY/this.items[t].size,n=Math.floor(i/.25);return xs(n,0,3)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let i=e;for(;i instanceof HTMLElement&&i!==this.rowsContainer&&t.contains(i);){const n=i.getAttribute(\"data-index\");if(n){const o=Number(n);if(!isNaN(o))return o}i=i.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,i){const n=this.getRenderRange(e,t);let o,r;e===this.elementTop(n.start)?(o=n.start,r=0):n.end-n.start>1&&(o=n.start+1,r=this.elementTop(o)-e);let a=0;for(;;){const l=this.getRenderRange(e,t);let d=!1;for(let c=l.start;c<l.end;c++){const u=this.probeDynamicHeight(c);u!==0&&this.rangeMap.splice(c,1,[this.items[c]]),a+=u,d=d||u!==0}if(!d){a!==0&&this.eventuallyUpdateScrollDimensions();const c=ts.relativeComplement(n,l);for(const h of c)for(let g=h.start;g<h.end;g++)this.items[g].row&&this.removeItemFromDOM(g);const u=ts.relativeComplement(l,n).reverse();for(const h of u)for(let g=h.end-1;g>=h.start;g--)this.insertItemInDOM(g);for(let h=l.start;h<l.end;h++)this.items[h].row&&this.updateItemInDOM(this.items[h],h);if(typeof o==\"number\"){const h=this.scrollable.getFutureScrollPosition().scrollTop-e,g=this.elementTop(o)-r+h;this.setScrollTop(g,i)}this._onDidChangeContentHeight.fire(this.contentHeight);return}}}probeDynamicHeight(e){var t,i,n;const o=this.items[e];if(this.virtualDelegate.getDynamicHeight){const d=this.virtualDelegate.getDynamicHeight(o.element);if(d!==null){const c=o.size;return o.size=d,o.lastDynamicHeightWidth=this.renderWidth,d-c}}if(!o.hasDynamicHeight||o.lastDynamicHeightWidth===this.renderWidth||this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(o.element))return 0;const r=o.size;if(o.row)return o.row.domNode.style.height=\"\",o.size=o.row.domNode.offsetHeight,o.size===0&&!An(o.row.domNode,Te(o.row.domNode).document.body)&&console.warn(\"Measuring item node that is not in DOM! Add ListView to the DOM before measuring row height!\"),o.lastDynamicHeightWidth=this.renderWidth,o.size-r;const{row:a}=this.cache.alloc(o.templateId);a.domNode.style.height=\"\",this.rowsContainer.appendChild(a.domNode);const l=this.renderers.get(o.templateId);if(!l)throw new Ut(\"Missing renderer for templateId: \"+o.templateId);return l.renderElement(o.element,e,a.templateData,void 0),o.size=a.domNode.offsetHeight,(t=l.disposeElement)===null||t===void 0||t.call(l,o.element,e,a.templateData,void 0),(n=(i=this.virtualDelegate).setDynamicHeight)===null||n===void 0||n.call(i,o.element,o.size),o.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(a.domNode),this.cache.release(a),o.size-r}getElementDomId(e){return`${this.domId}_${e}`}dispose(){var e,t;for(const i of this.items)if(i.dragStartDisposable.dispose(),i.checkedDisposable.dispose(),i.row){const n=this.renderers.get(i.row.templateId);n&&((e=n.disposeElement)===null||e===void 0||e.call(n,i.element,-1,i.row.templateData,void 0),n.disposeTemplate(i.row.templateData))}this.items=[],this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),(t=this.dragOverAnimationDisposable)===null||t===void 0||t.dispose(),this.disposables.dispose()}}$r.InstanceCount=0;su([zi],$r.prototype,\"onMouseClick\",null);su([zi],$r.prototype,\"onMouseDblClick\",null);su([zi],$r.prototype,\"onMouseMiddleClick\",null);su([zi],$r.prototype,\"onMouseDown\",null);su([zi],$r.prototype,\"onMouseOver\",null);su([zi],$r.prototype,\"onMouseOut\",null);su([zi],$r.prototype,\"onContextMenu\",null);su([zi],$r.prototype,\"onTouchStart\",null);su([zi],$r.prototype,\"onTap\",null);const Sd=(s,e)=>s===e;function y2(s=Sd){return(e,t)=>Ci(e,t,s)}function gj(){return(s,e)=>s.equals(e)}function oCe(s,e,t){return!s||!e?s===e:t(s,e)}class Mo{constructor(e,t,i){this.owner=e,this.debugNameSource=t,this.referenceFn=i}getDebugName(e){return rCe(e,this)}}const w6=new Map,S2=new WeakMap;function rCe(s,e){var t;const i=S2.get(s);if(i)return i;const n=aCe(s,e);if(n){let o=(t=w6.get(n))!==null&&t!==void 0?t:0;o++,w6.set(n,o);const r=o===1?n:`${n}#${o}`;return S2.set(s,r),r}}function aCe(s,e){const t=S2.get(s);if(t)return t;const i=e.owner?dCe(e.owner)+\".\":\"\";let n;const o=e.debugNameSource;if(o!==void 0)if(typeof o==\"function\"){if(n=o(),n!==void 0)return i+n}else return i+o;const r=e.referenceFn;if(r!==void 0&&(n=jx(r),n!==void 0))return i+n;if(e.owner!==void 0){const a=lCe(e.owner,s);if(a!==void 0)return i+a}}function lCe(s,e){for(const t in s)if(s[t]===e)return t}const y6=new Map,S6=new WeakMap;function dCe(s){var e;const t=S6.get(s);if(t)return t;const i=cCe(s);let n=(e=y6.get(i))!==null&&e!==void 0?e:0;n++,y6.set(i,n);const o=n===1?i:`${i}#${n}`;return S6.set(s,o),o}function cCe(s){const e=s.constructor;return e?e.name:\"Object\"}function jx(s){const e=s.toString(),i=/\\/\\*\\*\\s*@description\\s*([^*]*)\\*\\//.exec(e),n=i?i[1]:void 0;return n==null?void 0:n.trim()}let uCe;function ud(){return uCe}let fj;function hCe(s){fj=s}let pj;function gCe(s){pj=s}class mj{get TChange(){return null}reportChanges(){this.get()}read(e){return e?e.readObservable(this):this.get()}map(e,t){const i=t===void 0?void 0:e,n=t===void 0?e:t;return pj({owner:i,debugName:()=>{const o=jx(n);if(o!==void 0)return o;const a=/^\\s*\\(?\\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\\s*\\)?\\s*=>\\s*\\1(?:\\??)\\.([a-zA-Z_$][a-zA-Z_$0-9]*)\\s*$/.exec(n.toString());if(a)return`${this.debugName}.${a[2]}`;if(!i)return`${this.debugName} (mapped)`},debugReferenceFn:n},o=>n(this.read(o),o))}recomputeInitiallyAndOnChange(e,t){return e.add(fj(this,t)),this}}class E1 extends mj{constructor(){super(...arguments),this.observers=new Set}addObserver(e){const t=this.observers.size;this.observers.add(e),t===0&&this.onFirstObserverAdded()}removeObserver(e){this.observers.delete(e)&&this.observers.size===0&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}function $t(s,e){const t=new Kx(s,e);try{s(t)}finally{t.finish()}}let Yw;function eS(s){if(Yw)s(Yw);else{const e=new Kx(s,void 0);Yw=e;try{s(e)}finally{e.finish(),Yw=void 0}}}async function fCe(s,e){const t=new Kx(s,e);try{await s(t)}finally{t.finish()}}function hC(s,e,t){s?e(s):$t(e,t)}class Kx{constructor(e,t){var i;this._fn=e,this._getDebugName=t,this.updatingObservers=[],(i=ud())===null||i===void 0||i.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():jx(this._fn)}updateObserver(e,t){this.updatingObservers.push({observer:e,observable:t}),e.beginUpdate(t)}finish(){var e;const t=this.updatingObservers;for(let i=0;i<t.length;i++){const{observer:n,observable:o}=t[i];n.endUpdate(o)}this.updatingObservers=null,(e=ud())===null||e===void 0||e.handleEndTransaction()}}function vt(s,e){let t;return typeof s==\"string\"?t=new Mo(void 0,s,void 0):t=new Mo(s,void 0,void 0),new LO(t,e,Sd)}function pCe(s,e){var t;return new LO(new Mo(s.owner,s.debugName,void 0),e,(t=s.equalsFn)!==null&&t!==void 0?t:Sd)}class LO extends E1{get debugName(){var e;return(e=this._debugNameData.getDebugName(this))!==null&&e!==void 0?e:\"ObservableValue\"}constructor(e,t,i){super(),this._debugNameData=e,this._equalityComparator=i,this._value=t}get(){return this._value}set(e,t,i){var n;if(this._equalityComparator(this._value,e))return;let o;t||(t=o=new Kx(()=>{},()=>`Setting ${this.debugName}`));try{const r=this._value;this._setValue(e),(n=ud())===null||n===void 0||n.handleObservableChanged(this,{oldValue:r,newValue:e,change:i,didChange:!0,hadValue:!0});for(const a of this.observers)t.updateObserver(a,this),a.handleChange(this,i)}finally{o&&o.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(e){this._value=e}}function gC(s,e){let t;return typeof s==\"string\"?t=new Mo(void 0,s,void 0):t=new Mo(s,void 0,void 0),new mCe(t,e,Sd)}class mCe extends LO{_setValue(e){this._value!==e&&(this._value&&this._value.dispose(),this._value=e)}dispose(){var e;(e=this._value)===null||e===void 0||e.dispose()}}function je(s,e){return e!==void 0?new T_(new Mo(s,void 0,e),e,void 0,void 0,void 0,Sd):new T_(new Mo(void 0,void 0,s),s,void 0,void 0,void 0,Sd)}function dc(s,e){var t;return new T_(new Mo(s.owner,s.debugName,s.debugReferenceFn),e,void 0,void 0,s.onLastObserverRemoved,(t=s.equalsFn)!==null&&t!==void 0?t:Sd)}gCe(dc);function _Ce(s,e){var t;return new T_(new Mo(s.owner,s.debugName,void 0),e,s.createEmptyChangeSummary,s.handleChange,void 0,(t=s.equalityComparer)!==null&&t!==void 0?t:Sd)}function g0(s,e){let t,i;e===void 0?(t=s,i=void 0):(i=s,t=e);const n=new Y;return new T_(new Mo(i,void 0,t),o=>(n.clear(),t(o,n)),void 0,void 0,()=>n.dispose(),Sd)}function Gd(s,e){let t,i;e===void 0?(t=s,i=void 0):(i=s,t=e);const n=new Y;return new T_(new Mo(i,void 0,t),o=>{n.clear();const r=t(o);return r&&n.add(r),r},void 0,void 0,()=>n.dispose(),Sd)}class T_ extends E1{get debugName(){var e;return(e=this._debugNameData.getDebugName(this))!==null&&e!==void 0?e:\"(anonymous)\"}constructor(e,t,i,n,o=void 0,r){var a,l;super(),this._debugNameData=e,this._computeFn=t,this.createChangeSummary=i,this._handleChange=n,this._handleLastObserverRemoved=o,this._equalityComparator=r,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=(a=this.createChangeSummary)===null||a===void 0?void 0:a.call(this),(l=ud())===null||l===void 0||l.handleDerivedCreated(this)}onLastObserverRemoved(){var e;this.state=0,this.value=void 0;for(const t of this.dependencies)t.removeObserver(this);this.dependencies.clear(),(e=this._handleLastObserverRemoved)===null||e===void 0||e.call(this)}get(){var e;if(this.observers.size===0){const t=this._computeFn(this,(e=this.createChangeSummary)===null||e===void 0?void 0:e.call(this));return this.onLastObserverRemoved(),t}else{do{if(this.state===1){for(const t of this.dependencies)if(t.reportChanges(),this.state===2)break}this.state===1&&(this.state=3),this._recomputeIfNeeded()}while(this.state!==3);return this.value}}_recomputeIfNeeded(){var e,t;if(this.state===3)return;const i=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=i;const n=this.state!==0,o=this.value;this.state=3;const r=this.changeSummary;this.changeSummary=(e=this.createChangeSummary)===null||e===void 0?void 0:e.call(this);try{this.value=this._computeFn(this,r)}finally{for(const l of this.dependenciesToBeRemoved)l.removeObserver(this);this.dependenciesToBeRemoved.clear()}const a=n&&!this._equalityComparator(o,this.value);if((t=ud())===null||t===void 0||t.handleDerivedRecomputed(this,{oldValue:o,newValue:this.value,change:void 0,didChange:a,hadValue:n}),a)for(const l of this.observers)l.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(e){this.updateCount++;const t=this.updateCount===1;if(this.state===3&&(this.state=1,!t))for(const i of this.observers)i.handlePossibleChange(this);if(t)for(const i of this.observers)i.beginUpdate(this)}endUpdate(e){if(this.updateCount--,this.updateCount===0){const t=[...this.observers];for(const i of t)i.endUpdate(this)}Lf(()=>this.updateCount>=0)}handlePossibleChange(e){if(this.state===3&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){this.state=1;for(const t of this.observers)t.handlePossibleChange(this)}}handleChange(e,t){if(this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){const i=this._handleChange?this._handleChange({changedObservable:e,change:t,didChange:o=>o===e},this.changeSummary):!0,n=this.state===3;if(i&&(this.state===1||n)&&(this.state=2,n))for(const o of this.observers)o.handlePossibleChange(this)}}readObservable(e){e.addObserver(this);const t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}addObserver(e){const t=!this.observers.has(e)&&this.updateCount>0;super.addObserver(e),t&&e.beginUpdate(this)}removeObserver(e){const t=this.observers.has(e)&&this.updateCount>0;super.removeObserver(e),t&&e.endUpdate(this)}}function st(s){return new Gx(new Mo(void 0,void 0,s),s,void 0,void 0)}function qx(s,e){var t;return new Gx(new Mo(s.owner,s.debugName,(t=s.debugReferenceFn)!==null&&t!==void 0?t:e),e,void 0,void 0)}function I1(s,e){var t;return new Gx(new Mo(s.owner,s.debugName,(t=s.debugReferenceFn)!==null&&t!==void 0?t:e),e,s.createEmptyChangeSummary,s.handleChange)}function Hr(s){const e=new Y,t=qx({owner:void 0,debugName:void 0,debugReferenceFn:s},i=>{e.clear(),s(i,e)});return Ie(()=>{t.dispose(),e.dispose()})}class Gx{get debugName(){var e;return(e=this._debugNameData.getDebugName(this))!==null&&e!==void 0?e:\"(anonymous)\"}constructor(e,t,i,n){var o,r;this._debugNameData=e,this._runFn=t,this.createChangeSummary=i,this._handleChange=n,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=(o=this.createChangeSummary)===null||o===void 0?void 0:o.call(this),(r=ud())===null||r===void 0||r.handleAutorunCreated(this),this._runIfNeeded()}dispose(){this.disposed=!0;for(const e of this.dependencies)e.removeObserver(this);this.dependencies.clear()}_runIfNeeded(){var e,t,i;if(this.state===3)return;const n=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=n,this.state=3;const o=this.disposed;try{if(!o){(e=ud())===null||e===void 0||e.handleAutorunTriggered(this);const r=this.changeSummary;this.changeSummary=(t=this.createChangeSummary)===null||t===void 0?void 0:t.call(this),this._runFn(this,r)}}finally{o||(i=ud())===null||i===void 0||i.handleAutorunFinished(this);for(const r of this.dependenciesToBeRemoved)r.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){this.state===3&&(this.state=1),this.updateCount++}endUpdate(){if(this.updateCount===1)do{if(this.state===1){this.state=3;for(const e of this.dependencies)if(e.reportChanges(),this.state===2)break}this._runIfNeeded()}while(this.state!==3);this.updateCount--,Lf(()=>this.updateCount>=0)}handlePossibleChange(e){this.state===3&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(this.state=1)}handleChange(e,t){this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:n=>n===e},this.changeSummary))&&(this.state=2)}readObservable(e){if(this.disposed)return e.get();e.addObserver(this);const t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}}(function(s){s.Observer=Gx})(st||(st={}));function Ga(s){return new vCe(s)}class vCe extends mj{constructor(e){super(),this.value=e}get debugName(){return this.toString()}get(){return this.value}addObserver(e){}removeObserver(e){}toString(){return`Const: ${this.value}`}}function Ot(s,e){return new Qg(s,e)}class Qg extends E1{constructor(e,t){super(),this.event=e,this._getValue=t,this.hasValue=!1,this.handleEvent=i=>{var n;const o=this._getValue(i),r=this.value,a=!this.hasValue||r!==o;let l=!1;a&&(this.value=o,this.hasValue&&(l=!0,hC(Qg.globalTransaction,d=>{var c;(c=ud())===null||c===void 0||c.handleFromEventObservableTriggered(this,{oldValue:r,newValue:o,change:void 0,didChange:a,hadValue:this.hasValue});for(const u of this.observers)d.updateObserver(u,this),u.handleChange(this,void 0)},()=>{const d=this.getDebugName();return\"Event fired\"+(d?`: ${d}`:\"\")})),this.hasValue=!0),l||(n=ud())===null||n===void 0||n.handleFromEventObservableTriggered(this,{oldValue:r,newValue:o,change:void 0,didChange:a,hadValue:this.hasValue})}}getDebugName(){return jx(this._getValue)}get debugName(){const e=this.getDebugName();return\"From Event\"+(e?`: ${e}`:\"\")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this._getValue(void 0)}}(function(s){s.Observer=Qg;function e(t,i){let n=!1;Qg.globalTransaction===void 0&&(Qg.globalTransaction=t,n=!0);try{i()}finally{n&&(Qg.globalTransaction=void 0)}}s.batchEventsGlobally=e})(Ot||(Ot={}));function os(s,e){return new bCe(s,e)}class bCe extends E1{constructor(e,t){super(),this.debugName=e,this.event=t,this.handleEvent=()=>{$t(i=>{for(const n of this.observers)i.updateObserver(n,this),n.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function Zx(s){return typeof s==\"string\"?new D6(s):new D6(void 0,s)}class D6 extends E1{get debugName(){var e;return(e=new Mo(this._owner,this._debugName,void 0).getDebugName(this))!==null&&e!==void 0?e:\"Observable Signal\"}constructor(e,t){super(),this._debugName=e,this._owner=t}trigger(e,t){if(!e){$t(i=>{this.trigger(i,t)},()=>`Trigger signal ${this.debugName}`);return}for(const i of this.observers)e.updateObserver(i,this),i.handleChange(this,t)}get(){}}function T1(s,e){const t=new CCe(!0,e);return s.addObserver(t),e?e(s.get()):s.reportChanges(),Ie(()=>{s.removeObserver(t)})}hCe(T1);class CCe{constructor(e,t){this._forceRecompute=e,this._handleValue=t,this._counter=0}beginUpdate(e){this._counter++}endUpdate(e){this._counter--,this._counter===0&&this._forceRecompute&&(this._handleValue?this._handleValue(e.get()):e.reportChanges())}handlePossibleChange(e){}handleChange(e,t){}}function wCe(s,e,t,i){let n=new L6(t,i);return dc({debugReferenceFn:t,owner:s,onLastObserverRemoved:()=>{n.dispose(),n=new L6(t)}},r=>(n.setItems(e.read(r)),n.getItems()))}class L6{constructor(e,t){this._map=e,this._keySelector=t,this._cache=new Map,this._items=[]}dispose(){this._cache.forEach(e=>e.store.dispose()),this._cache.clear()}setItems(e){const t=[],i=new Set(this._cache.keys());for(const n of e){const o=this._keySelector?this._keySelector(n):n;let r=this._cache.get(o);if(r)i.delete(o);else{const a=new Y;r={out:this._map(n,a),store:a},this._cache.set(o,r)}t.push(r.out)}for(const n of i)this._cache.get(n).store.dispose(),this._cache.delete(n);this._items=t}getItems(){return this._items}}function _j(s,e,t,i){return e||(e=n=>n!=null),new Promise((n,o)=>{let r=!0,a=!1;const l=s.map(c=>({isFinished:e(c),error:t?t(c):!1,state:c})),d=st(c=>{const{isFinished:u,error:h,state:g}=l.read(c);(u||h)&&(r?a=!0:d.dispose(),h?o(h===!0?g:h):n(g))});if(i){const c=i.onCancellationRequested(()=>{d.dispose(),c.dispose(),o(new sl)});if(i.isCancellationRequested){d.dispose(),c.dispose(),o(new sl);return}}r=!1,a&&d.dispose()})}var og=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o};class yCe{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,i){const n=this.renderedElements.findIndex(o=>o.templateData===i);if(n>=0){const o=this.renderedElements[n];this.trait.unrender(i),o.index=t}else{const o={index:t,templateData:i};this.renderedElements.push(o)}this.trait.renderIndex(t,i)}splice(e,t,i){const n=[];for(const o of this.renderedElements)o.index<e?n.push(o):o.index>=e+t&&n.push({index:o.index+i-t,templateData:o.templateData});this.renderedElements=n}renderIndexes(e){for(const{index:t,templateData:i}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,i)}disposeTemplate(e){const t=this.renderedElements.findIndex(i=>i.templateData===e);t<0||this.renderedElements.splice(t,1)}}let xD=class{get name(){return this._trait}get renderer(){return new yCe(this)}constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new B,this.onChange=this._onChange.event}splice(e,t,i){const n=i.length-t,o=e+t,r=[];let a=0;for(;a<this.sortedIndexes.length&&this.sortedIndexes[a]<e;)r.push(this.sortedIndexes[a++]);for(let l=0;l<i.length;l++)i[l]&&r.push(l+e);for(;a<this.sortedIndexes.length&&this.sortedIndexes[a]>=o;)r.push(this.sortedIndexes[a++]+n);this.renderer.splice(e,t,i.length),this._set(r,r)}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(k6),t)}_set(e,t,i){const n=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const r=D2(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return xb(this.sortedIndexes,e,k6)>=0}dispose(){jt(this._onChange)}};og([zi],xD.prototype,\"renderer\",null);class SCe extends xD{constructor(e){super(\"selected\"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute(\"aria-selected\",\"true\"):t.setAttribute(\"aria-selected\",\"false\"))}}class HI{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,new Array(i.length).fill(!1));const n=this.trait.get().map(a=>this.identityProvider.getId(this.view.element(a)).toString());if(n.length===0)return this.trait.splice(e,t,new Array(i.length).fill(!1));const o=new Set(n),r=i.map(a=>o.has(this.identityProvider.getId(a).toString()));this.trait.splice(e,t,r)}}function ch(s){return s.tagName===\"INPUT\"||s.tagName===\"TEXTAREA\"}function N1(s,e){return s.classList.contains(e)?!0:s.classList.contains(\"monaco-list\")||!s.parentElement?!1:N1(s.parentElement,e)}function kv(s){return N1(s,\"monaco-editor\")}function DCe(s){return N1(s,\"monaco-custom-toggle\")}function LCe(s){return N1(s,\"action-item\")}function lb(s){return N1(s,\"monaco-tree-sticky-row\")}function fC(s){return s.classList.contains(\"monaco-tree-sticky-container\")}function vj(s){return s.tagName===\"A\"&&s.classList.contains(\"monaco-button\")||s.tagName===\"DIV\"&&s.classList.contains(\"monaco-button-dropdown\")?!0:s.classList.contains(\"monaco-list\")||!s.parentElement?!1:vj(s.parentElement)}class bj{get onKeyDown(){return le.chain(this.disposables.add(new ht(this.view.domNode,\"keydown\")).event,e=>e.filter(t=>!ch(t.target)).map(t=>new Kt(t)))}constructor(e,t,i){this.list=e,this.view=t,this.disposables=new Y,this.multipleSelectionDisposables=new Y,this.multipleSelectionSupport=i.multipleSelectionSupport,this.disposables.add(this.onKeyDown(n=>{switch(n.keyCode){case 3:return this.onEnter(n);case 16:return this.onUpArrow(n);case 18:return this.onDownArrow(n);case 11:return this.onPageUpArrow(n);case 12:return this.onPageDownArrow(n);case 9:return this.onEscape(n);case 31:this.multipleSelectionSupport&&(lt?n.metaKey:n.ctrlKey)&&this.onCtrlA(n)}}))}updateOptions(e){e.multipleSelectionSupport!==void 0&&(this.multipleSelectionSupport=e.multipleSelectionSupport)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(to(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}og([zi],bj.prototype,\"onKeyDown\",null);var Kl;(function(s){s[s.Automatic=0]=\"Automatic\",s[s.Trigger=1]=\"Trigger\"})(Kl||(Kl={}));var _m;(function(s){s[s.Idle=0]=\"Idle\",s[s.Typing=1]=\"Typing\"})(_m||(_m={}));const xCe=new class{mightProducePrintableCharacter(s){return s.ctrlKey||s.metaKey||s.altKey?!1:s.keyCode>=31&&s.keyCode<=56||s.keyCode>=21&&s.keyCode<=30||s.keyCode>=98&&s.keyCode<=107||s.keyCode>=85&&s.keyCode<=95}};class kCe{constructor(e,t,i,n,o){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.keyboardNavigationEventFilter=n,this.delegate=o,this.enabled=!1,this.state=_m.Idle,this.mode=Kl.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new Y,this.disposables=new Y,this.updateOptions(e.options)}updateOptions(e){var t,i;!((t=e.typeNavigationEnabled)!==null&&t!==void 0)||t?this.enable():this.disable(),this.mode=(i=e.typeNavigationMode)!==null&&i!==void 0?i:Kl.Automatic}enable(){if(this.enabled)return;let e=!1;const t=le.chain(this.enabledDisposables.add(new ht(this.view.domNode,\"keydown\")).event,o=>o.filter(r=>!ch(r.target)).filter(()=>this.mode===Kl.Automatic||this.triggered).map(r=>new Kt(r)).filter(r=>e||this.keyboardNavigationEventFilter(r)).filter(r=>this.delegate.mightProducePrintableCharacter(r)).forEach(r=>nt.stop(r,!0)).map(r=>r.browserEvent.key)),i=le.debounce(t,()=>null,800,void 0,void 0,void 0,this.enabledDisposables);le.reduce(le.any(t,i),(o,r)=>r===null?null:(o||\"\")+r,void 0,this.enabledDisposables)(this.onInput,this,this.enabledDisposables),i(this.onClear,this,this.enabledDisposables),t(()=>e=!0,void 0,this.enabledDisposables),i(()=>e=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const i=(e=this.list.options.accessibilityProvider)===null||e===void 0?void 0:e.getAriaLabel(this.list.element(t[0]));typeof i==\"string\"?fo(i):i&&fo(i.get())}this.previouslyFocused=-1}onInput(e){if(!e){this.state=_m.Idle,this.triggered=!1;return}const t=this.list.getFocus(),i=t.length>0?t[0]:0,n=this.state===_m.Idle?1:0;this.state=_m.Typing;for(let o=0;o<this.list.length;o++){const r=(i+o+n)%this.list.length,a=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(r)),l=a&&a.toString();if(this.list.options.typeNavigationEnabled){if(typeof l<\"u\"){if(wD(e,l)){this.previouslyFocused=i,this.list.setFocus([r]),this.list.reveal(r);return}const d=pve(e,l);if(d&&d[0].end-d[0].start>1&&d.length===1){this.previouslyFocused=i,this.list.setFocus([r]),this.list.reveal(r);return}}}else if(typeof l>\"u\"||wD(e,l)){this.previouslyFocused=i,this.list.setFocus([r]),this.list.reveal(r);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class ECe{constructor(e,t){this.list=e,this.view=t,this.disposables=new Y;const i=le.chain(this.disposables.add(new ht(t.domNode,\"keydown\")).event,o=>o.filter(r=>!ch(r.target)).map(r=>new Kt(r)));le.chain(i,o=>o.filter(r=>r.keyCode===2&&!r.ctrlKey&&!r.metaKey&&!r.shiftKey&&!r.altKey))(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(t.length===0)return;const i=this.view.domElement(t[0]);if(!i)return;const n=i.querySelector(\"[tabIndex]\");if(!n||!(n instanceof HTMLElement)||n.tabIndex===-1)return;const o=Te(n).getComputedStyle(n);o.visibility===\"hidden\"||o.display===\"none\"||(e.preventDefault(),e.stopPropagation(),n.focus())}dispose(){this.disposables.dispose()}}function Cj(s){return lt?s.browserEvent.metaKey:s.browserEvent.ctrlKey}function wj(s){return s.browserEvent.shiftKey}function ICe(s){return cF(s)&&s.button===2}const x6={isSelectionSingleChangeEvent:Cj,isSelectionRangeChangeEvent:wj};class yj{constructor(e){this.list=e,this.disposables=new Y,this._onPointer=new B,this.onPointer=this._onPointer.event,e.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||x6),this.mouseSupport=typeof e.options.mouseSupport>\"u\"||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(Gt.addTarget(e.getHTMLElement()))),le.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){e.multipleSelectionSupport!==void 0&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||x6))}isSelectionSingleChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):!1}isSelectionRangeChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):!1}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){kv(e.browserEvent.target)||Xn()!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(ch(e.browserEvent.target)||kv(e.browserEvent.target))return;const t=typeof e.index>\"u\"?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport||ch(e.browserEvent.target)||kv(e.browserEvent.target)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;const t=e.index;if(typeof t>\"u\"){this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(e))return this.changeSelection(e);this.list.setFocus([t],e.browserEvent),this.list.setAnchor(t),ICe(e.browserEvent)||this.list.setSelection([t],e.browserEvent),this._onPointer.fire(e)}onDoubleClick(e){if(ch(e.browserEvent.target)||kv(e.browserEvent.target)||this.isSelectionChangeEvent(e)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){const t=e.index;let i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(typeof i>\"u\"){const c=this.list.getFocus()[0];i=c??t,this.list.setAnchor(i)}const n=Math.min(i,t),o=Math.max(i,t),r=to(n,o+1),a=this.list.getSelection(),l=ACe(D2(a,[i]),i);if(l.length===0)return;const d=D2(r,MCe(a,l));this.list.setSelection(d,e.browserEvent),this.list.setFocus([t],e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const n=this.list.getSelection(),o=n.filter(r=>r!==t);this.list.setFocus([t]),this.list.setAnchor(t),n.length===o.length?this.list.setSelection([...o,t],e.browserEvent):this.list.setSelection(o,e.browserEvent)}}dispose(){this.disposables.dispose()}}class Sj{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){var t,i;const n=this.selectorSuffix&&`.${this.selectorSuffix}`,o=[];e.listBackground&&o.push(`.monaco-list${n} .monaco-list-rows { background: ${e.listBackground}; }`),e.listFocusBackground&&(o.push(`.monaco-list${n}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),o.push(`.monaco-list${n}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&o.push(`.monaco-list${n}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(o.push(`.monaco-list${n}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),o.push(`.monaco-list${n}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&o.push(`.monaco-list${n}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&o.push(`.monaco-list${n}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&o.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${n}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&o.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${n}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusForeground&&(o.push(`.monaco-list${n} .monaco-list-row.focused { color:  ${e.listInactiveFocusForeground}; }`),o.push(`.monaco-list${n} .monaco-list-row.focused:hover { color:  ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&o.push(`.monaco-list${n} .monaco-list-row.focused .codicon { color:  ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(o.push(`.monaco-list${n} .monaco-list-row.focused { background-color:  ${e.listInactiveFocusBackground}; }`),o.push(`.monaco-list${n} .monaco-list-row.focused:hover { background-color:  ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(o.push(`.monaco-list${n} .monaco-list-row.selected { background-color:  ${e.listInactiveSelectionBackground}; }`),o.push(`.monaco-list${n} .monaco-list-row.selected:hover { background-color:  ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&o.push(`.monaco-list${n} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&o.push(`.monaco-list${n}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&o.push(`.monaco-list${n}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color:  ${e.listHoverForeground}; }`);const r=Ec(e.listFocusAndSelectionOutline,Ec(e.listSelectionOutline,(t=e.listFocusOutline)!==null&&t!==void 0?t:\"\"));r&&o.push(`.monaco-list${n}:focus .monaco-list-row.focused.selected { outline: 1px solid ${r}; outline-offset: -1px;}`),e.listFocusOutline&&o.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${n}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t\t.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`);const a=Ec(e.listSelectionOutline,(i=e.listInactiveFocusOutline)!==null&&i!==void 0?i:\"\");a&&o.push(`.monaco-list${n} .monaco-list-row.focused.selected { outline: 1px dotted ${a}; outline-offset: -1px; }`),e.listSelectionOutline&&o.push(`.monaco-list${n} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listInactiveFocusOutline&&o.push(`.monaco-list${n} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&o.push(`.monaco-list${n} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropOverBackground&&o.push(`\n\t\t\t\t.monaco-list${n}.drop-target,\n\t\t\t\t.monaco-list${n} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${n} .monaco-list-row.drop-target { background-color: ${e.listDropOverBackground} !important; color: inherit !important; }\n\t\t\t`),e.listDropBetweenBackground&&(o.push(`\n\t\t\t.monaco-list${n} .monaco-list-rows.drop-target-before .monaco-list-row:first-child::before,\n\t\t\t.monaco-list${n} .monaco-list-row.drop-target-before::before {\n\t\t\t\tcontent: \"\"; position: absolute; top: 0px; left: 0px; width: 100%; height: 1px;\n\t\t\t\tbackground-color: ${e.listDropBetweenBackground};\n\t\t\t}`),o.push(`\n\t\t\t.monaco-list${n} .monaco-list-rows.drop-target-after .monaco-list-row:last-child::after,\n\t\t\t.monaco-list${n} .monaco-list-row.drop-target-after::after {\n\t\t\t\tcontent: \"\"; position: absolute; bottom: 0px; left: 0px; width: 100%; height: 1px;\n\t\t\t\tbackground-color: ${e.listDropBetweenBackground};\n\t\t\t}`)),e.tableColumnsBorder&&o.push(`\n\t\t\t\t.monaco-table > .monaco-split-view2,\n\t\t\t\t.monaco-table > .monaco-split-view2 .monaco-sash.vertical::before,\n\t\t\t\t.monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2,\n\t\t\t\t.monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: ${e.tableColumnsBorder};\n\t\t\t\t}\n\n\t\t\t\t.monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2,\n\t\t\t\t.monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: transparent;\n\t\t\t\t}\n\t\t\t`),e.tableOddRowsBackgroundColor&&o.push(`\n\t\t\t\t.monaco-table .monaco-list-row[data-parity=odd]:not(.focused):not(.selected):not(:hover) .monaco-table-tr,\n\t\t\t\t.monaco-table .monaco-list:not(:focus) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr,\n\t\t\t\t.monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr {\n\t\t\t\t\tbackground-color: ${e.tableOddRowsBackgroundColor};\n\t\t\t\t}\n\t\t\t`),this.styleElement.textContent=o.join(`\n`)}}const TCe={listFocusBackground:\"#7FB0D0\",listActiveSelectionBackground:\"#0E639C\",listActiveSelectionForeground:\"#FFFFFF\",listActiveSelectionIconForeground:\"#FFFFFF\",listFocusAndSelectionOutline:\"#90C2F9\",listFocusAndSelectionBackground:\"#094771\",listFocusAndSelectionForeground:\"#FFFFFF\",listInactiveSelectionBackground:\"#3F3F46\",listInactiveSelectionIconForeground:\"#FFFFFF\",listHoverBackground:\"#2A2D2E\",listDropOverBackground:\"#383B3D\",listDropBetweenBackground:\"#EEEEEE\",treeIndentGuidesStroke:\"#a9a9a9\",treeInactiveIndentGuidesStroke:$.fromHex(\"#a9a9a9\").transparent(.4).toString(),tableColumnsBorder:$.fromHex(\"#cccccc\").transparent(.2).toString(),tableOddRowsBackgroundColor:$.fromHex(\"#cccccc\").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},NCe={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){},dispose(){}}};function ACe(s,e){const t=s.indexOf(e);if(t===-1)return[];const i=[];let n=t-1;for(;n>=0&&s[n]===e-(t-n);)i.push(s[n--]);for(i.reverse(),n=t;n<s.length&&s[n]===e+(n-t);)i.push(s[n++]);return i}function D2(s,e){const t=[];let i=0,n=0;for(;i<s.length||n<e.length;)if(i>=s.length)t.push(e[n++]);else if(n>=e.length)t.push(s[i++]);else if(s[i]===e[n]){t.push(s[i]),i++,n++;continue}else s[i]<e[n]?t.push(s[i++]):t.push(e[n++]);return t}function MCe(s,e){const t=[];let i=0,n=0;for(;i<s.length||n<e.length;)if(i>=s.length)t.push(e[n++]);else if(n>=e.length)t.push(s[i++]);else if(s[i]===e[n]){i++,n++;continue}else s[i]<e[n]?t.push(s[i++]):n++;return t}const k6=(s,e)=>s-e;class RCe{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let o=0;for(const r of this.renderers)r.renderElement(e,t,i[o++],n)}disposeElement(e,t,i,n){var o;let r=0;for(const a of this.renderers)(o=a.disposeElement)===null||o===void 0||o.call(a,e,t,i[r],n),r+=1}disposeTemplate(e){let t=0;for(const i of this.renderers)i.disposeTemplate(e[t++])}}class PCe{constructor(e){this.accessibilityProvider=e,this.templateId=\"a18n\"}renderTemplate(e){return{container:e,disposables:new Y}}renderElement(e,t,i){const n=this.accessibilityProvider.getAriaLabel(e),o=n&&typeof n!=\"string\"?n:Ga(n);i.disposables.add(st(a=>{this.setAriaLabel(a.readObservable(o),i.container)}));const r=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);typeof r==\"number\"?i.container.setAttribute(\"aria-level\",`${r}`):i.container.removeAttribute(\"aria-level\")}setAriaLabel(e,t){e?t.setAttribute(\"aria-label\",e):t.removeAttribute(\"aria-label\")}disposeElement(e,t,i,n){i.disposables.clear()}disposeTemplate(e){e.disposables.dispose()}}class FCe{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){var i,n;(n=(i=this.dnd).onDragStart)===null||n===void 0||n.call(i,e,t)}onDragOver(e,t,i,n,o){return this.dnd.onDragOver(e,t,i,n,o)}onDragLeave(e,t,i,n){var o,r;(r=(o=this.dnd).onDragLeave)===null||r===void 0||r.call(o,e,t,i,n)}onDragEnd(e){var t,i;(i=(t=this.dnd).onDragEnd)===null||i===void 0||i.call(t,e)}drop(e,t,i,n,o){this.dnd.drop(e,t,i,n,o)}dispose(){this.dnd.dispose()}}class pr{get onDidChangeFocus(){return le.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e),this.disposables)}get onDidChangeSelection(){return le.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1;const t=le.chain(this.disposables.add(new ht(this.view.domNode,\"keydown\")).event,o=>o.map(r=>new Kt(r)).filter(r=>e=r.keyCode===58||r.shiftKey&&r.keyCode===68).map(r=>nt.stop(r,!0)).filter(()=>!1)),i=le.chain(this.disposables.add(new ht(this.view.domNode,\"keyup\")).event,o=>o.forEach(()=>e=!1).map(r=>new Kt(r)).filter(r=>r.keyCode===58||r.shiftKey&&r.keyCode===68).map(r=>nt.stop(r,!0)).map(({browserEvent:r})=>{const a=this.getFocus(),l=a.length?a[0]:void 0,d=typeof l<\"u\"?this.view.element(l):void 0,c=typeof l<\"u\"?this.view.domElement(l):this.view.domNode;return{index:l,element:d,anchor:c,browserEvent:r}})),n=le.chain(this.view.onContextMenu,o=>o.filter(r=>!e).map(({element:r,index:a,browserEvent:l})=>({element:r,index:a,anchor:new ra(Te(this.view.domNode),l),browserEvent:l})));return le.any(t,i,n)}get onKeyDown(){return this.disposables.add(new ht(this.view.domNode,\"keydown\")).event}get onDidFocus(){return le.signal(this.disposables.add(new ht(this.view.domNode,\"focus\",!0)).event)}get onDidBlur(){return le.signal(this.disposables.add(new ht(this.view.domNode,\"blur\",!0)).event)}constructor(e,t,i,n,o=NCe){var r,a,l,d;this.user=e,this._options=o,this.focus=new xD(\"focused\"),this.anchor=new xD(\"anchor\"),this.eventBufferer=new KP,this._ariaLabel=\"\",this.disposables=new Y,this._onDidDispose=new B,this.onDidDispose=this._onDidDispose.event;const c=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(r=this._options.accessibilityProvider)===null||r===void 0?void 0:r.getWidgetRole():\"list\";this.selection=new SCe(c!==\"listbox\");const u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(u.push(new PCe(this.accessibilityProvider)),(l=(a=this.accessibilityProvider).onDidChangeActiveDescendant)===null||l===void 0||l.call(a,this.onDidChangeActiveDescendant,this,this.disposables)),n=n.map(g=>new RCe(g.templateId,[...u,g]));const h={...o,dnd:o.dnd&&new FCe(this,o.dnd)};if(this.view=this.createListView(t,i,n,h),this.view.domNode.setAttribute(\"role\",c),o.styleController)this.styleController=o.styleController(this.view.domId);else{const g=ar(this.view.domNode);this.styleController=new Sj(g,this.view.domId)}if(this.spliceable=new Zbe([new HI(this.focus,this.view,o.identityProvider),new HI(this.selection,this.view,o.identityProvider),new HI(this.anchor,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new ECe(this,this.view)),(typeof o.keyboardSupport!=\"boolean\"||o.keyboardSupport)&&(this.keyboardController=new bj(this,this.view,o),this.disposables.add(this.keyboardController)),o.keyboardNavigationLabelProvider){const g=o.keyboardNavigationDelegate||xCe;this.typeNavigationController=new kCe(this,this.view,o.keyboardNavigationLabelProvider,(d=o.keyboardNavigationEventFilter)!==null&&d!==void 0?d:()=>!0,g),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(o),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),this._options.multipleSelectionSupport!==!1&&this.view.domNode.setAttribute(\"aria-multiselectable\",\"true\")}createListView(e,t,i,n){return new $r(e,t,i,n)}createMouseController(e){return new yj(this)}updateOptions(e={}){var t,i;this._options={...this._options,...e},(t=this.typeNavigationController)===null||t===void 0||t.updateOptions(this._options),this._options.multipleSelectionController!==void 0&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute(\"aria-multiselectable\",\"true\"):this.view.domNode.removeAttribute(\"aria-multiselectable\")),this.mouseController.updateOptions(e),(i=this.keyboardController)===null||i===void 0||i.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new wg(this.user,`Invalid start index: ${e}`);if(t<0)throw new wg(this.user,`Invalid delete count: ${t}`);t===0&&i.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}indexOf(e){return this.view.indexOf(e)}indexAt(e){return this.view.indexAt(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get onDidChangeContentHeight(){return this.view.onDidChangeContentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute(\"aria-label\",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const i of e)if(i<0||i>=this.length)throw new wg(this.user,`Invalid index ${i}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(typeof e>\"u\"){this.anchor.set([]);return}if(e<0||e>=this.length)throw new wg(this.user,`Invalid index ${e}`);this.anchor.set([e])}getAnchor(){return FP(this.anchor.get(),void 0)}getAnchorElement(){const e=this.getAnchor();return typeof e>\"u\"?void 0:this.element(e)}setFocus(e,t){for(const i of e)if(i<0||i>=this.length)throw new wg(this.user,`Invalid index ${i}`);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){if(this.length===0)return;const o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,n);r>-1&&this.setFocus([r],i)}focusPrevious(e=1,t=!1,i,n){if(this.length===0)return;const o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,n);r>-1&&this.setFocus([r],i)}async focusNextPage(e,t){let i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=i===0?0:i-1;const n=this.getFocus()[0];if(n!==i&&(n===void 0||i>n)){const o=this.findPreviousIndex(i,!1,t);o>-1&&n!==o?this.setFocus([o],e):this.setFocus([i],e)}else{const o=this.view.getScrollTop();let r=o+this.view.renderHeight;i>n&&(r-=this.view.elementHeight(i)),this.view.setScrollTop(r),this.view.getScrollTop()!==o&&(this.setFocus([]),await xh(0),await this.focusNextPage(e,t))}}async focusPreviousPage(e,t,i=()=>0){let n;const o=i(),r=this.view.getScrollTop()+o;r===0?n=this.view.indexAt(r):n=this.view.indexAfter(r-1);const a=this.getFocus()[0];if(a!==n&&(a===void 0||a>=n)){const l=this.findNextIndex(n,!1,t);l>-1&&a!==l?this.setFocus([l],e):this.setFocus([n],e)}else{const l=r;this.view.setScrollTop(r-this.view.renderHeight-o),this.view.getScrollTop()+i()!==l&&(this.setFocus([]),await xh(0),await this.focusPreviousPage(e,t,i))}}focusLast(e,t){if(this.length===0)return;const i=this.findPreviousIndex(this.length-1,!1,t);i>-1&&this.setFocus([i],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,i){if(this.length===0)return;const n=this.findNextIndex(e,!1,i);n>-1&&this.setFocus([n],t)}findNextIndex(e,t=!1,i){for(let n=0;n<this.length;n++){if(e>=this.length&&!t)return-1;if(e=e%this.length,!i||i(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,i){for(let n=0;n<this.length;n++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!i||i(this.element(e)))return e;e--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map(e=>this.view.element(e))}reveal(e,t,i=0){if(e<0||e>=this.length)throw new wg(this.user,`Invalid index ${e}`);const n=this.view.getScrollTop(),o=this.view.elementTop(e),r=this.view.elementHeight(e);if(yh(t)){const a=r-this.view.renderHeight+i;this.view.setScrollTop(a*xs(t,0,1)+o-i)}else{const a=o+r,l=n+this.view.renderHeight;o<n+i&&a>=l||(o<n+i||a>=l&&r>=this.view.renderHeight?this.view.setScrollTop(o-i):a>=l&&this.view.setScrollTop(a-this.view.renderHeight))}}getRelativeTop(e,t=0){if(e<0||e>=this.length)throw new wg(this.user,`Invalid index ${e}`);const i=this.view.getScrollTop(),n=this.view.elementTop(e),o=this.view.elementHeight(e);if(n<i+t||n+o>i+this.view.renderHeight)return null;const r=o-this.view.renderHeight+t;return Math.abs((i+t-n)/r)}getHTMLElement(){return this.view.domNode}getScrollableElement(){return this.view.scrollableElementDomNode}getElementID(e){return this.view.getElementDomId(e)}getElementTop(e){return this.view.elementTop(e)}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(i=>this.view.element(i)),browserEvent:t}}_onFocusChange(){const e=this.focus.get();this.view.domNode.classList.toggle(\"element-focused\",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let i;!((e=this.accessibilityProvider)===null||e===void 0)&&e.getActiveDescendantId&&(i=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute(\"aria-activedescendant\",i||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute(\"aria-activedescendant\")}_onSelectionChange(){const e=this.selection.get();this.view.domNode.classList.toggle(\"selection-none\",e.length===0),this.view.domNode.classList.toggle(\"selection-single\",e.length===1),this.view.domNode.classList.toggle(\"selection-multiple\",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}og([zi],pr.prototype,\"onDidChangeFocus\",null);og([zi],pr.prototype,\"onDidChangeSelection\",null);og([zi],pr.prototype,\"onContextMenu\",null);og([zi],pr.prototype,\"onKeyDown\",null);og([zi],pr.prototype,\"onDidFocus\",null);og([zi],pr.prototype,\"onDidBlur\",null);const Jg=he,Dj=\"selectOption.entry.template\";class OCe{get templateId(){return Dj}renderTemplate(e){const t=Object.create(null);return t.root=e,t.text=Q(e,Jg(\".option-text\")),t.detail=Q(e,Jg(\".option-detail\")),t.decoratorRight=Q(e,Jg(\".option-decorator-right\")),t}renderElement(e,t,i){const n=i,o=e.text,r=e.detail,a=e.decoratorRight,l=e.isDisabled;n.text.textContent=o,n.detail.textContent=r||\"\",n.decoratorRight.innerText=a||\"\",l?n.root.classList.add(\"option-disabled\"):n.root.classList.remove(\"option-disabled\")}disposeTemplate(e){}}class ql extends H{constructor(e,t,i,n,o){super(),this.options=[],this._currentSelection=0,this._hasDetails=!1,this._skipLayout=!1,this._sticky=!1,this._isVisible=!1,this.styles=n,this.selectBoxOptions=o||Object.create(null),typeof this.selectBoxOptions.minBottomMargin!=\"number\"?this.selectBoxOptions.minBottomMargin=ql.DEFAULT_DROPDOWN_MINIMUM_BOTTOM_MARGIN:this.selectBoxOptions.minBottomMargin<0&&(this.selectBoxOptions.minBottomMargin=0),this.selectElement=document.createElement(\"select\"),this.selectElement.className=\"monaco-select-box monaco-select-box-dropdown-padding\",typeof this.selectBoxOptions.ariaLabel==\"string\"&&this.selectElement.setAttribute(\"aria-label\",this.selectBoxOptions.ariaLabel),typeof this.selectBoxOptions.ariaDescription==\"string\"&&this.selectElement.setAttribute(\"aria-description\",this.selectBoxOptions.ariaDescription),this._onDidSelect=new B,this._register(this._onDidSelect),this.registerListeners(),this.constructSelectDropDown(i),this.selected=t||0,e&&this.setOptions(e,t),this.initStyleSheet()}setTitle(e){!this._hover&&e?this._hover=this._register(_l().setupUpdatableHover(Xs(\"mouse\"),this.selectElement,e)):this._hover&&this._hover.update(e)}getHeight(){return 22}getTemplateId(){return Dj}constructSelectDropDown(e){this.contextViewProvider=e,this.selectDropDownContainer=he(\".monaco-select-box-dropdown-container\"),this.selectDropDownContainer.classList.add(\"monaco-select-box-dropdown-padding\"),this.selectionDetailsPane=Q(this.selectDropDownContainer,Jg(\".select-box-details-pane\"));const t=Q(this.selectDropDownContainer,Jg(\".select-box-dropdown-container-width-control\")),i=Q(t,Jg(\".width-control-div\"));this.widthControlElement=document.createElement(\"span\"),this.widthControlElement.className=\"option-text-width-control\",Q(i,this.widthControlElement),this._dropDownPosition=0,this.styleElement=ar(this.selectDropDownContainer),this.selectDropDownContainer.setAttribute(\"draggable\",\"true\"),this._register(K(this.selectDropDownContainer,ee.DRAG_START,n=>{nt.stop(n,!0)}))}registerListeners(){this._register(Ni(this.selectElement,\"change\",t=>{this.selected=t.target.selectedIndex,this._onDidSelect.fire({index:t.target.selectedIndex,selected:t.target.value}),this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)})),this._register(K(this.selectElement,ee.CLICK,t=>{nt.stop(t),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(K(this.selectElement,ee.MOUSE_DOWN,t=>{nt.stop(t)}));let e;this._register(K(this.selectElement,\"touchstart\",t=>{e=this._isVisible})),this._register(K(this.selectElement,\"touchend\",t=>{nt.stop(t),e?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(K(this.selectElement,ee.KEY_DOWN,t=>{const i=new Kt(t);let n=!1;lt?(i.keyCode===18||i.keyCode===16||i.keyCode===10||i.keyCode===3)&&(n=!0):(i.keyCode===18&&i.altKey||i.keyCode===16&&i.altKey||i.keyCode===10||i.keyCode===3)&&(n=!0),n&&(this.showSelectDropDown(),nt.stop(t,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){Ci(this.options,e)||(this.options=e,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((i,n)=>{this.selectElement.add(this.createOption(i.text,n,i.isDisabled)),typeof i.description==\"string\"&&(this._hasDetails=!0)})),t!==void 0&&(this.select(t),this._currentSelection=this.selected)}setOptionsList(){var e;(e=this.selectList)===null||e===void 0||e.splice(0,this.selectList.length,this.options)}select(e){e>=0&&e<this.options.length?this.selected=e:e>this.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(e){this.selectElement.tabIndex=e?0:-1}render(e){this.container=e,e.classList.add(\"select-container\"),e.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){const e=[];this.styles.listFocusBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(e.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),e.push(\".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }\"),e.push(\".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }\"),this.styleElement.textContent=e.join(`\n`)}styleSelectElement(){var e,t,i;const n=(e=this.styles.selectBackground)!==null&&e!==void 0?e:\"\",o=(t=this.styles.selectForeground)!==null&&t!==void 0?t:\"\",r=(i=this.styles.selectBorder)!==null&&i!==void 0?i:\"\";this.selectElement.style.backgroundColor=n,this.selectElement.style.color=o,this.selectElement.style.borderColor=r}styleList(){var e,t;const i=(e=this.styles.selectBackground)!==null&&e!==void 0?e:\"\",n=Ec(this.styles.selectListBackground,i);this.selectDropDownListContainer.style.backgroundColor=n,this.selectionDetailsPane.style.backgroundColor=n;const o=(t=this.styles.focusBorder)!==null&&t!==void 0?t:\"\";this.selectDropDownContainer.style.outlineColor=o,this.selectDropDownContainer.style.outlineOffset=\"-1px\",this.selectList.style(this.styles)}createOption(e,t,i){const n=document.createElement(\"option\");return n.value=e,n.text=e,n.disabled=!!i,n}showSelectDropDown(){this.selectionDetailsPane.innerText=\"\",!(!this.contextViewProvider||this._isVisible)&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove(\"visible\"),this.selectElement.classList.remove(\"synthetic-focus\")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove(\"visible\"),this.selectElement.classList.remove(\"synthetic-focus\")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute(\"aria-expanded\",\"true\"))}hideSelectDropDown(e){!this.contextViewProvider||!this._isVisible||(this._isVisible=!1,this.selectElement.setAttribute(\"aria-expanded\",\"false\"),e&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(e,t){return e.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(t),{dispose:()=>{try{e.removeChild(this.selectDropDownContainer)}catch{}}}}measureMaxDetailsHeight(){let e=0;return this.options.forEach((t,i)=>{this.updateDetail(i),this.selectionDetailsPane.offsetHeight>e&&(e=this.selectionDetailsPane.offsetHeight)}),e}layoutSelectDropDown(e){if(this._skipLayout)return!1;if(this.selectList){this.selectDropDownContainer.classList.add(\"visible\");const t=Te(this.selectElement),i=qi(this.selectElement),n=Te(this.selectElement).getComputedStyle(this.selectElement),o=parseFloat(n.getPropertyValue(\"--dropdown-padding-top\"))+parseFloat(n.getPropertyValue(\"--dropdown-padding-bottom\")),r=t.innerHeight-i.top-i.height-(this.selectBoxOptions.minBottomMargin||0),a=i.top-ql.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,l=this.selectElement.offsetWidth,d=this.setWidthControlElement(this.widthControlElement),c=Math.max(d,Math.round(l)).toString()+\"px\";this.selectDropDownContainer.style.width=c,this.selectList.getHTMLElement().style.height=\"\",this.selectList.layout();let u=this.selectList.contentHeight;this._hasDetails&&this._cachedMaxDetailsHeight===void 0&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());const h=this._hasDetails?this._cachedMaxDetailsHeight:0,g=u+o+h,f=Math.floor((r-o-h)/this.getHeight()),m=Math.floor((a-o-h)/this.getHeight());if(e)return i.top+i.height>t.innerHeight-22||i.top<ql.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN||f<1&&m<1?!1:(f<ql.DEFAULT_MINIMUM_VISIBLE_OPTIONS&&m>f&&this.options.length>f?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove(\"border-top\"),this.selectionDetailsPane.classList.add(\"border-bottom\")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove(\"border-bottom\"),this.selectionDetailsPane.classList.add(\"border-top\")),!0);if(i.top+i.height>t.innerHeight-22||i.top<ql.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN||this._dropDownPosition===0&&f<1||this._dropDownPosition===1&&m<1)return this.hideSelectDropDown(!0),!1;if(this._dropDownPosition===0){if(this._isVisible&&f+m<1)return this.hideSelectDropDown(!0),!1;g>r&&(u=f*this.getHeight())}else g>a&&(u=m*this.getHeight());return this.selectList.layout(u),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=u+o+\"px\",this.selectDropDownContainer.style.height=\"\"):this.selectDropDownContainer.style.height=u+o+\"px\",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=c,this.selectDropDownListContainer.setAttribute(\"tabindex\",\"0\"),this.selectElement.classList.add(\"synthetic-focus\"),this.selectDropDownContainer.classList.add(\"synthetic-focus\"),!0}else return!1}setWidthControlElement(e){let t=0;if(e){let i=0,n=0;this.options.forEach((o,r)=>{const a=o.detail?o.detail.length:0,l=o.decoratorRight?o.decoratorRight.length:0,d=o.text.length+a+l;d>n&&(i=r,n=d)}),e.textContent=this.options[i].text+(this.options[i].decoratorRight?this.options[i].decoratorRight+\" \":\"\"),t=wo(e)}return t}createSelectList(e){if(this.selectList)return;this.selectDropDownListContainer=Q(e,Jg(\".select-box-dropdown-list-container\")),this.listRenderer=new OCe,this.selectList=new pr(\"SelectBoxCustom\",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:n=>{let o=n.text;return n.detail&&(o+=`. ${n.detail}`),n.decoratorRight&&(o+=`. ${n.decoratorRight}`),n.description&&(o+=`. ${n.description}`),o},getWidgetAriaLabel:()=>p({},\"Select Box\"),getRole:()=>lt?\"\":\"option\",getWidgetRole:()=>\"listbox\"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);const t=this._register(new ht(this.selectDropDownListContainer,\"keydown\")),i=le.chain(t.event,n=>n.filter(()=>this.selectList.length>0).map(o=>new Kt(o)));this._register(le.chain(i,n=>n.filter(o=>o.keyCode===3))(this.onEnter,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===2))(this.onEnter,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===9))(this.onEscape,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===16))(this.onUpArrow,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===18))(this.onDownArrow,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===12))(this.onPageDown,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===11))(this.onPageUp,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===14))(this.onHome,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode===13))(this.onEnd,this)),this._register(le.chain(i,n=>n.filter(o=>o.keyCode>=21&&o.keyCode<=56||o.keyCode>=85&&o.keyCode<=113))(this.onCharacter,this)),this._register(K(this.selectList.getHTMLElement(),ee.POINTER_UP,n=>this.onPointerUp(n))),this._register(this.selectList.onMouseOver(n=>typeof n.index<\"u\"&&this.selectList.setFocus([n.index]))),this._register(this.selectList.onDidChangeFocus(n=>this.onListFocus(n))),this._register(K(this.selectDropDownContainer,ee.FOCUS_OUT,n=>{!this._isVisible||An(n.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute(\"aria-label\",this.selectBoxOptions.ariaLabel||\"\"),this.selectList.getHTMLElement().setAttribute(\"aria-expanded\",\"true\"),this.styleList()}onPointerUp(e){if(!this.selectList.length)return;nt.stop(e);const t=e.target;if(!t||t.classList.contains(\"slider\"))return;const i=t.closest(\".monaco-list-row\");if(!i)return;const n=Number(i.getAttribute(\"data-index\")),o=i.classList.contains(\"option-disabled\");n>=0&&n<this.options.length&&!o&&(this.selected=n,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0]),this.selected!==this._currentSelection&&(this._currentSelection=this.selected,this._onDidSelect.fire({index:this.selectElement.selectedIndex,selected:this.options[this.selected].text}),this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)),this.hideSelectDropDown(!0))}onListBlur(){this._sticky||(this.selected!==this._currentSelection&&this.select(this._currentSelection),this.hideSelectDropDown(!1))}renderDescriptionMarkdown(e,t){const i=o=>{for(let r=0;r<o.childNodes.length;r++){const a=o.childNodes.item(r);(a.tagName&&a.tagName.toLowerCase())===\"img\"?o.removeChild(a):i(a)}},n=Hx({value:e,supportThemeIcons:!0},{actionHandler:t});return n.element.classList.add(\"select-box-description-markdown\"),i(n.element),n.element}onListFocus(e){!this._isVisible||!this._hasDetails||this.updateDetail(e.indexes[0])}updateDetail(e){var t,i;this.selectionDetailsPane.innerText=\"\";const n=this.options[e],o=(t=n==null?void 0:n.description)!==null&&t!==void 0?t:\"\",r=(i=n==null?void 0:n.descriptionIsMarkdown)!==null&&i!==void 0?i:!1;if(o){if(r){const a=n.descriptionMarkdownActionHandler;this.selectionDetailsPane.appendChild(this.renderDescriptionMarkdown(o,a))}else this.selectionDetailsPane.innerText=o;this.selectionDetailsPane.style.display=\"block\"}else this.selectionDetailsPane.style.display=\"none\";this._skipLayout=!0,this.contextViewProvider.layout(),this._skipLayout=!1}onEscape(e){nt.stop(e),this.select(this._currentSelection),this.hideSelectDropDown(!0)}onEnter(e){nt.stop(e),this.selected!==this._currentSelection&&(this._currentSelection=this.selected,this._onDidSelect.fire({index:this.selectElement.selectedIndex,selected:this.options[this.selected].text}),this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)),this.hideSelectDropDown(!0)}onDownArrow(e){if(this.selected<this.options.length-1){nt.stop(e,!0);const t=this.options[this.selected+1].isDisabled;if(t&&this.options.length>this.selected+2)this.selected+=2;else{if(t)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(e){this.selected>0&&(nt.stop(e,!0),this.options[this.selected-1].isDisabled&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0]))}onPageUp(e){nt.stop(e),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected<this.options.length-1&&(this.selected++,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onPageDown(e){nt.stop(e),this.selectList.focusNextPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(e){nt.stop(e),!(this.options.length<2)&&(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(e){nt.stop(e),!(this.options.length<2)&&(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(e){const t=sc.toString(e.keyCode);let i=-1;for(let n=0;n<this.options.length-1;n++)if(i=(n+this.selected+1)%this.options.length,this.options[i].text.charAt(0).toUpperCase()===t&&!this.options[i].isDisabled){this.select(i),this.selectList.setFocus([i]),this.selectList.reveal(this.selectList.getFocus()[0]),nt.stop(e);break}}dispose(){this.hideSelectDropDown(!1),super.dispose()}}ql.DEFAULT_DROPDOWN_MINIMUM_BOTTOM_MARGIN=32;ql.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN=2;ql.DEFAULT_MINIMUM_VISIBLE_OPTIONS=3;class BCe extends H{constructor(e,t,i,n){super(),this.selected=0,this.selectBoxOptions=n||Object.create(null),this.options=[],this.selectElement=document.createElement(\"select\"),this.selectElement.className=\"monaco-select-box\",typeof this.selectBoxOptions.ariaLabel==\"string\"&&this.selectElement.setAttribute(\"aria-label\",this.selectBoxOptions.ariaLabel),typeof this.selectBoxOptions.ariaDescription==\"string\"&&this.selectElement.setAttribute(\"aria-description\",this.selectBoxOptions.ariaDescription),this._onDidSelect=this._register(new B),this.styles=i,this.registerListeners(),this.setOptions(e,t)}registerListeners(){this._register(Gt.addTarget(this.selectElement)),[Xt.Tap].forEach(e=>{this._register(K(this.selectElement,e,t=>{this.selectElement.focus()}))}),this._register(Ni(this.selectElement,\"click\",e=>{nt.stop(e,!0)})),this._register(Ni(this.selectElement,\"change\",e=>{this.selectElement.title=e.target.value,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value})})),this._register(Ni(this.selectElement,\"keydown\",e=>{let t=!1;lt?(e.keyCode===18||e.keyCode===16||e.keyCode===10)&&(t=!0):(e.keyCode===18&&e.altKey||e.keyCode===10||e.keyCode===3)&&(t=!0),t&&e.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){(!this.options||!Ci(this.options,e))&&(this.options=e,this.selectElement.options.length=0,this.options.forEach((i,n)=>{this.selectElement.add(this.createOption(i.text,n,i.isDisabled))})),t!==void 0&&this.select(t)}select(e){this.options.length===0?this.selected=0:e>=0&&e<this.options.length?this.selected=e:e>this.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selected<this.options.length&&typeof this.options[this.selected].text==\"string\"?this.selectElement.title=this.options[this.selected].text:this.selectElement.title=\"\"}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(e){this.selectElement.tabIndex=e?0:-1}render(e){e.classList.add(\"select-container\"),e.appendChild(this.selectElement),this.setOptions(this.options,this.selected),this.applyStyles()}applyStyles(){var e,t,i;this.selectElement&&(this.selectElement.style.backgroundColor=(e=this.styles.selectBackground)!==null&&e!==void 0?e:\"\",this.selectElement.style.color=(t=this.styles.selectForeground)!==null&&t!==void 0?t:\"\",this.selectElement.style.borderColor=(i=this.styles.selectBorder)!==null&&i!==void 0?i:\"\")}createOption(e,t,i){const n=document.createElement(\"option\");return n.value=e,n.text=e,n.disabled=!!i,n}}class WCe extends fr{constructor(e,t,i,n,o){super(),lt&&!(o!=null&&o.useCustomDrawn)?this.selectBoxDelegate=new BCe(e,t,n,o):this.selectBoxDelegate=new ql(e,t,i,n,o),this._register(this.selectBoxDelegate)}get onDidSelect(){return this.selectBoxDelegate.onDidSelect}setOptions(e,t){this.selectBoxDelegate.setOptions(e,t)}select(e){this.selectBoxDelegate.select(e)}focus(){this.selectBoxDelegate.focus()}blur(){this.selectBoxDelegate.blur()}setFocusable(e){this.selectBoxDelegate.setFocusable(e)}render(e){this.selectBoxDelegate.render(e)}}class Va extends H{get action(){return this._action}constructor(e,t,i={}){super(),this.options=i,this._context=e||this,this._action=t,t instanceof Eo&&this._register(t.onDidChange(n=>{this.element&&this.handleActionChangeEvent(n)}))}handleActionChangeEvent(e){e.enabled!==void 0&&this.updateEnabled(),e.checked!==void 0&&this.updateChecked(),e.class!==void 0&&this.updateClass(),e.label!==void 0&&(this.updateLabel(),this.updateTooltip()),e.tooltip!==void 0&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new Df)),this._actionRunner}set actionRunner(e){this._actionRunner=e}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(Gt.addTarget(e));const i=this.options&&this.options.draggable;i&&(e.draggable=!0,Fr&&this._register(K(e,ee.DRAG_START,n=>{var o;return(o=n.dataTransfer)===null||o===void 0?void 0:o.setData(uC.TEXT,this._action.label)}))),this._register(K(t,Xt.Tap,n=>this.onClick(n,!0))),this._register(K(t,ee.MOUSE_DOWN,n=>{i||nt.stop(n,!0),this._action.enabled&&n.button===0&&t.classList.add(\"active\")})),lt&&this._register(K(t,ee.CONTEXT_MENU,n=>{n.button===0&&n.ctrlKey===!0&&this.onClick(n)})),this._register(K(t,ee.CLICK,n=>{nt.stop(n,!0),this.options&&this.options.isMenu||this.onClick(n)})),this._register(K(t,ee.DBLCLICK,n=>{nt.stop(n,!0)})),[ee.MOUSE_UP,ee.MOUSE_OUT].forEach(n=>{this._register(K(t,n,o=>{nt.stop(o),t.classList.remove(\"active\")}))})}onClick(e,t=!1){var i;nt.stop(e,!0);const n=Go(this._context)?!((i=this.options)===null||i===void 0)&&i.useEventAsContext?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add(\"focused\"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove(\"focused\"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getClass(){return this.action.class}getTooltip(){return this.action.tooltip}updateTooltip(){var e,t,i;if(!this.element)return;const n=(e=this.getTooltip())!==null&&e!==void 0?e:\"\";if(this.updateAriaLabel(),!((t=this.options.hoverDelegate)===null||t===void 0)&&t.showNativeHover)this.element.title=n;else if(!this.customHover&&n!==\"\"){const o=(i=this.options.hoverDelegate)!==null&&i!==void 0?i:Xs(\"element\");this.customHover=this._store.add(_l().setupUpdatableHover(o,this.element,n))}else this.customHover&&this.customHover.update(n)}updateAriaLabel(){var e;if(this.element){const t=(e=this.getTooltip())!==null&&e!==void 0?e:\"\";this.element.setAttribute(\"aria-label\",t)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}class N_ extends Va{constructor(e,t,i){super(e,t,i),this.options=i,this.options.icon=i.icon!==void 0?i.icon:!1,this.options.label=i.label!==void 0?i.label:!0,this.cssClass=\"\"}render(e){super.render(e),yt(this.element);const t=document.createElement(\"a\");if(t.classList.add(\"action-label\"),t.setAttribute(\"role\",this.getDefaultAriaRole()),this.label=t,this.element.appendChild(t),this.options.label&&this.options.keybinding){const i=document.createElement(\"span\");i.classList.add(\"keybinding\"),i.textContent=this.options.keybinding,this.element.appendChild(i)}this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===rn.ID?\"presentation\":this.options.isMenu?\"menuitem\":\"button\"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(e=this.action.label,this.options.keybinding&&(e=p({},\"{0} ({1})\",e,this.options.keybinding))),e??void 0}updateClass(){var e;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(\" \")),this.options.icon?(this.cssClass=this.getClass(),this.label&&(this.label.classList.add(\"codicon\"),this.cssClass&&this.label.classList.add(...this.cssClass.split(\" \"))),this.updateEnabled()):(e=this.label)===null||e===void 0||e.classList.remove(\"codicon\")}updateEnabled(){var e,t;this.action.enabled?(this.label&&(this.label.removeAttribute(\"aria-disabled\"),this.label.classList.remove(\"disabled\")),(e=this.element)===null||e===void 0||e.classList.remove(\"disabled\")):(this.label&&(this.label.setAttribute(\"aria-disabled\",\"true\"),this.label.classList.add(\"disabled\")),(t=this.element)===null||t===void 0||t.classList.add(\"disabled\"))}updateAriaLabel(){var e;if(this.label){const t=(e=this.getTooltip())!==null&&e!==void 0?e:\"\";this.label.setAttribute(\"aria-label\",t)}}updateChecked(){this.label&&(this.action.checked!==void 0?(this.label.classList.toggle(\"checked\",this.action.checked),this.label.setAttribute(\"aria-checked\",this.action.checked?\"true\":\"false\"),this.label.setAttribute(\"role\",\"checkbox\")):(this.label.classList.remove(\"checked\"),this.label.removeAttribute(\"aria-checked\"),this.label.setAttribute(\"role\",this.getDefaultAriaRole())))}}class HCe extends Va{constructor(e,t,i,n,o,r,a){super(e,t),this.selectBox=new WCe(i,n,o,r,a),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(e){this.selectBox.select(e)}registerListeners(){this._register(this.selectBox.onDidSelect(e=>this.runAction(e.selected,e.index)))}runAction(e,t){this.actionRunner.run(this._action,this.getActionContext(e,t))}getActionContext(e,t){return e}setFocusable(e){this.selectBox.setFocusable(e)}focus(){var e;(e=this.selectBox)===null||e===void 0||e.focus()}blur(){var e;(e=this.selectBox)===null||e===void 0||e.blur()}render(e){this.selectBox.render(e)}}class VCe extends Df{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new B),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Q(e,he(\".monaco-dropdown\")),this._label=Q(this._element,he(\".dropdown-label\"));let i=t.labelRenderer;i||(i=o=>(o.textContent=t.label||\"\",null));for(const o of[ee.CLICK,ee.MOUSE_DOWN,Xt.Tap])this._register(K(this.element,o,r=>nt.stop(r,!0)));for(const o of[ee.MOUSE_DOWN,Xt.Tap])this._register(K(this._label,o,r=>{cF(r)&&(r.detail>1||r.button!==0)||(this.visible?this.hide():this.show())}));this._register(K(this._label,ee.KEY_UP,o=>{const r=new Kt(o);(r.equals(3)||r.equals(10))&&(nt.stop(o,!0),this.visible?this.hide():this.show())}));const n=i(this._label);n&&this._register(n),this._register(Gt.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class zCe extends VCe{constructor(e,t){super(e,t),this._options=t,this._actions=[],this.actions=t.actions||[]}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add(\"active\"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(e,t)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e,t):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this._options.menuClassName||\"\",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove(\"active\")}}class kD extends Va{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new B),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;const t=o=>{var r;this.element=Q(o,he(\"a.action-label\"));let a=[];return typeof this.options.classNames==\"string\"?a=this.options.classNames.split(/\\s+/g).filter(l=>!!l):this.options.classNames&&(a=this.options.classNames),a.find(l=>l===\"icon\")||a.push(\"codicon\"),this.element.classList.add(...a),this.element.setAttribute(\"role\",\"button\"),this.element.setAttribute(\"aria-haspopup\",\"true\"),this.element.setAttribute(\"aria-expanded\",\"false\"),this._action.label&&this._register(_l().setupUpdatableHover((r=this.options.hoverDelegate)!==null&&r!==void 0?r:Xs(\"mouse\"),this.element,this._action.label)),this.element.ariaLabel=this._action.label||\"\",null},i=Array.isArray(this.menuActionsOrProvider),n={contextMenuProvider:this.contextMenuProvider,labelRenderer:t,menuAsChild:this.options.menuAsChild,actions:i?this.menuActionsOrProvider:void 0,actionProvider:i?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new zCe(e,n)),this._register(this.dropdownMenu.onDidChangeVisibility(o=>{var r;(r=this.element)===null||r===void 0||r.setAttribute(\"aria-expanded\",`${o}`),this._onDidChangeVisibility.fire(o)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const o=this;this.dropdownMenu.menuOptions={...this.dropdownMenu.menuOptions,get anchorAlignment(){return o.options.anchorAlignmentProvider()}}}this.updateTooltip(),this.updateEnabled()}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:this.action.label&&(e=this.action.label),e??void 0}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}show(){var e;(e=this.dropdownMenu)===null||e===void 0||e.show()}updateEnabled(){var e,t;const i=!this.action.enabled;(e=this.actionItem)===null||e===void 0||e.classList.toggle(\"disabled\",i),(t=this.element)===null||t===void 0||t.classList.toggle(\"disabled\",i)}}function UCe(s){return s?s.condition!==void 0:!1}var jm;(function(s){s[s.STORAGE_DOES_NOT_EXIST=0]=\"STORAGE_DOES_NOT_EXIST\",s[s.STORAGE_IN_MEMORY=1]=\"STORAGE_IN_MEMORY\"})(jm||(jm={}));var vm;(function(s){s[s.None=0]=\"None\",s[s.Initialized=1]=\"Initialized\",s[s.Closed=2]=\"Closed\"})(vm||(vm={}));class Km extends H{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new bf),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=vm.None,this.cache=new Map,this.flushDelayer=this._register(new fz(Km.DEFAULT_FLUSH_DELAY)),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t,i;this._onDidChangeStorage.pause();try{(t=e.changed)===null||t===void 0||t.forEach((n,o)=>this.acceptExternal(o,n)),(i=e.deleted)===null||i===void 0||i.forEach(n=>this.acceptExternal(n,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(e,t){if(this.state===vm.Closed)return;let i=!1;Go(t)?i=this.cache.delete(e):this.cache.get(e)!==t&&(this.cache.set(e,t),i=!0),i&&this._onDidChangeStorage.fire({key:e,external:!0})}get(e,t){const i=this.cache.get(e);return Go(i)?t:i}getBoolean(e,t){const i=this.get(e);return Go(i)?t:i===\"true\"}getNumber(e,t){const i=this.get(e);return Go(i)?t:parseInt(i,10)}async set(e,t,i=!1){if(this.state===vm.Closed)return;if(Go(t))return this.delete(e,i);const n=Ms(t)||Array.isArray(t)?Rve(t):String(t);if(this.cache.get(e)!==n)return this.cache.set(e,n),this.pendingInserts.set(e,n),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire({key:e,external:i}),this.doFlush()}async delete(e,t=!1){if(!(this.state===vm.Closed||!this.cache.delete(e)))return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire({key:e,external:t}),this.doFlush()}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}async flushPending(){if(!this.hasPending)return;const e={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(e).finally(()=>{var t;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)(t=this.whenFlushedCallbacks.pop())===null||t===void 0||t()})}async doFlush(e){return this.options.hint===jm.STORAGE_IN_MEMORY?this.flushPending():this.flushDelayer.trigger(()=>this.flushPending(),e)}}Km.DEFAULT_FLUSH_DELAY=100;class VI{constructor(){this.onDidChangeItemsExternal=le.None,this.items=new Map}async updateItems(e){var t,i;(t=e.insert)===null||t===void 0||t.forEach((n,o)=>this.items.set(o,n)),(i=e.delete)===null||i===void 0||i.forEach(n=>this.items.delete(n))}}const tS=\"__$__targetStorageMarker\",Rd=ut(\"storageService\");var ED;(function(s){s[s.NONE=0]=\"NONE\",s[s.SHUTDOWN=1]=\"SHUTDOWN\"})(ED||(ED={}));function $Ce(s){const e=s.get(tS);if(e)try{return JSON.parse(e)}catch{}return Object.create(null)}class Xx extends H{constructor(e={flushInterval:Xx.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new bf),this._onDidChangeTarget=this._register(new bf),this._onWillSaveState=this._register(new B),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(e,t,i){return le.filter(this._onDidChangeValue.event,n=>n.scope===e&&(t===void 0||n.key===t),i)}emitDidChangeValue(e,t){const{key:i,external:n}=t;if(i===tS){switch(e){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0;break}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:i,target:this.getKeyTargets(e)[i],external:n})}get(e,t,i){var n;return(n=this.getStorage(t))===null||n===void 0?void 0:n.get(e,i)}getBoolean(e,t,i){var n;return(n=this.getStorage(t))===null||n===void 0?void 0:n.getBoolean(e,i)}getNumber(e,t,i){var n;return(n=this.getStorage(t))===null||n===void 0?void 0:n.getNumber(e,i)}store(e,t,i,n,o=!1){if(Go(t)){this.remove(e,i,o);return}this.withPausedEmitters(()=>{var r;this.updateKeyTarget(e,i,n),(r=this.getStorage(i))===null||r===void 0||r.set(e,t,o)})}remove(e,t,i=!1){this.withPausedEmitters(()=>{var n;this.updateKeyTarget(e,t,void 0),(n=this.getStorage(t))===null||n===void 0||n.delete(e,i)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i,n=!1){var o,r;const a=this.getKeyTargets(t);typeof i==\"number\"?a[e]!==i&&(a[e]=i,(o=this.getStorage(t))===null||o===void 0||o.set(tS,JSON.stringify(a),n)):typeof a[e]==\"number\"&&(delete a[e],(r=this.getStorage(t))===null||r===void 0||r.set(tS,JSON.stringify(a),n))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){const t=this.getStorage(e);return t?$Ce(t):Object.create(null)}}Xx.DEFAULT_FLUSH_INTERVAL=60*1e3;class jCe extends Xx{constructor(){super(),this.applicationStorage=this._register(new Km(new VI,{hint:jm.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new Km(new VI,{hint:jm.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new Km(new VI,{hint:jm.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.profileStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e))),this._register(this.applicationStorage.onDidChangeStorage(e=>this.emitDidChangeValue(-1,e)))}getStorage(e){switch(e){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}function KCe(s,e){const t={...e};for(const i in s){const n=s[i];t[i]=n!==void 0?fe(n):void 0}return t}const qCe={keybindingLabelBackground:fe(whe),keybindingLabelForeground:fe(yhe),keybindingLabelBorder:fe(She),keybindingLabelBottomBorder:fe(Dhe),keybindingLabelShadow:fe(vc)},GCe={buttonForeground:fe(vv),buttonSeparator:fe(ghe),buttonBackground:fe(bv),buttonHoverBackground:fe(fhe),buttonSecondaryForeground:fe(mhe),buttonSecondaryBackground:fe(IA),buttonSecondaryHoverBackground:fe(_he),buttonBorder:fe(phe)},ZCe={progressBarBackground:fe(Aue)},ID={inputActiveOptionBorder:fe(RF),inputActiveOptionForeground:fe(PF),inputActiveOptionBackground:fe(Zg)};fe(vhe),fe(Che),fe(bhe);fe(Hi),fe(gc),fe(vc),fe(gt),fe(Zue),fe(Xue),fe(Yue),fe(Tue);const TD={inputBackground:fe(EA),inputForeground:fe(NU),inputBorder:fe(AU),inputValidationInfoBorder:fe(ohe),inputValidationInfoBackground:fe(nhe),inputValidationInfoForeground:fe(she),inputValidationWarningBorder:fe(lhe),inputValidationWarningBackground:fe(rhe),inputValidationWarningForeground:fe(ahe),inputValidationErrorBorder:fe(uhe),inputValidationErrorBackground:fe(dhe),inputValidationErrorForeground:fe(che)},XCe={listFilterWidgetBackground:fe(Fhe),listFilterWidgetOutline:fe(Ohe),listFilterWidgetNoMatchesOutline:fe(Bhe),listFilterWidgetShadow:fe(Whe),inputBoxStyles:TD,toggleStyles:ID},Lj={badgeBackground:fe(jy),badgeForeground:fe(Nue),badgeBorder:fe(gt)};fe(que),fe(Kue),fe(xB),fe(xB),fe(Gue);const cp={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:fe(Lhe),listFocusForeground:fe(xhe),listFocusOutline:fe(khe),listActiveSelectionBackground:fe(Cc),listActiveSelectionForeground:fe(td),listActiveSelectionIconForeground:fe(Cv),listFocusAndSelectionOutline:fe(Ehe),listFocusAndSelectionBackground:fe(Cc),listFocusAndSelectionForeground:fe(td),listInactiveSelectionBackground:fe(Ihe),listInactiveSelectionIconForeground:fe(Nhe),listInactiveSelectionForeground:fe(The),listInactiveFocusBackground:fe(Ahe),listInactiveFocusOutline:fe(Mhe),listHoverBackground:fe(MU),listHoverForeground:fe(RU),listDropOverBackground:fe(Rhe),listDropBetweenBackground:fe(Phe),listSelectionOutline:fe(di),listHoverOutline:fe(di),treeIndentGuidesStroke:fe(wv),treeInactiveIndentGuidesStroke:fe(Hhe),treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0,tableColumnsBorder:fe(Vhe),tableOddRowsBackgroundColor:fe(zhe)};function up(s){return KCe(s,cp)}const YCe={selectBackground:fe(ed),selectListBackground:fe(hhe),selectForeground:fe(bc),decoratorRightForeground:fe(PU),selectBorder:fe(dm),focusBorder:fe(Ir),listFocusBackground:fe($u),listInactiveSelectionIconForeground:fe(cm),listFocusForeground:fe(Uu),listFocusOutline:xue(di,$.transparent.toString()),listHoverBackground:fe(MU),listHoverForeground:fe(RU),listHoverOutline:fe(di),selectListBorder:fe(fc),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropOverBackground:void 0,listDropBetweenBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},QCe={shadowColor:fe(vc),borderColor:fe(Uhe),foregroundColor:fe($he),backgroundColor:fe(jhe),selectionForegroundColor:fe(Khe),selectionBackgroundColor:fe(qhe),selectionBorderColor:fe(Ghe),separatorColor:fe(Zhe),scrollbarShadow:fe(gv),scrollbarSliderBackground:fe(fv),scrollbarSliderHoverBackground:fe(pv),scrollbarSliderActiveBackground:fe(mv)};var Yx=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},so=function(s,e){return function(t,i){e(t,i,s)}};function JCe(s,e,t,i){const n=s.getActions(e),o=hc.getInstance(),r=o.keyStatus.altKey||(as||$s)&&o.keyStatus.shiftKey;xj(n,t,r,a=>a===\"navigation\")}function Qx(s,e,t,i,n,o){const r=s.getActions(e);xj(r,t,!1,typeof i==\"string\"?l=>l===i:i,n,o)}function xj(s,e,t,i=r=>r===\"navigation\",n=()=>!1,o=!1){let r,a;Array.isArray(e)?(r=e,a=e):(r=e.primary,a=e.secondary);const l=new Set;for(const[d,c]of s){let u;i(d)?(u=r,u.length>0&&o&&u.push(new rn)):(u=a,u.length>0&&u.push(new rn));for(let h of c){t&&(h=h instanceof Io&&h.alt?h.alt:h);const g=u.push(h);h instanceof c_&&l.add({group:d,action:h,index:g-1})}}for(const{group:d,action:c,index:u}of l){const h=i(d)?r:a,g=c.actions;n(c,d,h.length)&&h.splice(u,1,...g)}}let Fh=class extends N_{constructor(e,t,i,n,o,r,a,l){super(void 0,e,{icon:!!(e.class||e.item.icon),label:!e.class&&!e.item.icon,draggable:t==null?void 0:t.draggable,keybinding:t==null?void 0:t.keybinding,hoverDelegate:t==null?void 0:t.hoverDelegate}),this._keybindingService=i,this._notificationService=n,this._contextKeyService=o,this._themeService=r,this._contextMenuService=a,this._accessibilityService=l,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new $n),this._altKey=hc.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}async onClick(e){e.preventDefault(),e.stopPropagation();try{await this.actionRunner.run(this._commandAction,this._context)}catch(t){this._notificationService.error(t)}}render(e){if(super.render(e),e.classList.add(\"menu-entry\"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let t=!1;const i=()=>{var n;const o=!!(!((n=this._menuItemAction.alt)===null||n===void 0)&&n.enabled)&&(!this._accessibilityService.isMotionReduced()||t)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&t);o!==this._wantsAltCommand&&(this._wantsAltCommand=o,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(i)),this._register(K(e,\"mouseleave\",n=>{t=!1,i()})),this._register(K(e,\"mouseenter\",n=>{t=!0,i()})),i()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var e;const t=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),i=t&&t.getLabel(),n=this._commandAction.tooltip||this._commandAction.label;let o=i?p(\"titleAndKb\",\"{0} ({1})\",n,i):n;if(!this._wantsAltCommand&&(!((e=this._menuItemAction.alt)===null||e===void 0)&&e.enabled)){const r=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,a=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),l=a&&a.getLabel(),d=l?p(\"titleAndKb\",\"{0} ({1})\",r,l):r;o=p(\"titleAndKbAndAlt\",`{0}\n[{1}] {2}`,o,SO.modifierLabels[Lo].altKey,d)}return o}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){this._itemClassDispose.value=void 0;const{element:t,label:i}=this;if(!t||!i)return;const n=this._commandAction.checked&&UCe(e.toggled)&&e.toggled.icon?e.toggled.icon:e.icon;if(n)if(Pe.isThemeIcon(n)){const o=Pe.asClassNameArray(n);i.classList.add(...o),this._itemClassDispose.value=Ie(()=>{i.classList.remove(...o)})}else i.style.backgroundImage=Dx(this._themeService.getColorTheme().type)?Ih(n.dark):Ih(n.light),i.classList.add(\"icon\"),this._itemClassDispose.value=ha(Ie(()=>{i.style.backgroundImage=\"\",i.classList.remove(\"icon\")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}};Fh=Yx([so(2,At),so(3,en),so(4,Be),so(5,_n),so(6,Oo),so(7,gr)],Fh);let L2=class extends kD{constructor(e,t,i,n,o){var r,a,l;const d={...t,menuAsChild:(r=t==null?void 0:t.menuAsChild)!==null&&r!==void 0?r:!1,classNames:(a=t==null?void 0:t.classNames)!==null&&a!==void 0?a:Pe.isThemeIcon(e.item.icon)?Pe.asClassName(e.item.icon):void 0,keybindingProvider:(l=t==null?void 0:t.keybindingProvider)!==null&&l!==void 0?l:c=>i.lookupKeybinding(c.id)};super(e,{getActions:()=>e.actions},n,d),this._keybindingService=i,this._contextMenuService=n,this._themeService=o}render(e){super.render(e),yt(this.element),e.classList.add(\"menu-entry\");const t=this._action,{icon:i}=t.item;if(i&&!Pe.isThemeIcon(i)){this.element.classList.add(\"icon\");const n=()=>{this.element&&(this.element.style.backgroundImage=Dx(this._themeService.getColorTheme().type)?Ih(i.dark):Ih(i.light))};n(),this._register(this._themeService.onDidColorThemeChange(()=>{n()}))}}};L2=Yx([so(2,At),so(3,Oo),so(4,_n)],L2);let x2=class extends Va{constructor(e,t,i,n,o,r,a,l){var d,c,u;super(null,e),this._keybindingService=i,this._notificationService=n,this._contextMenuService=o,this._menuService=r,this._instaService=a,this._storageService=l,this._container=null,this._options=t,this._storageKey=`${e.item.submenu.id}_lastActionId`;let h;const g=t!=null&&t.persistLastActionId?l.get(this._storageKey,1):void 0;g&&(h=e.actions.find(m=>g===m.id)),h||(h=e.actions[0]),this._defaultAction=this._instaService.createInstance(Fh,h,{keybinding:this._getDefaultActionKeybindingLabel(h)});const f={keybindingProvider:m=>this._keybindingService.lookupKeybinding(m.id),...t,menuAsChild:(d=t==null?void 0:t.menuAsChild)!==null&&d!==void 0?d:!0,classNames:(c=t==null?void 0:t.classNames)!==null&&c!==void 0?c:[\"codicon\",\"codicon-chevron-down\"],actionRunner:(u=t==null?void 0:t.actionRunner)!==null&&u!==void 0?u:new Df};this._dropdown=new kD(e,e.actions,this._contextMenuService,f),this._register(this._dropdown.actionRunner.onDidRun(m=>{m.action instanceof Io&&this.update(m.action)}))}update(e){var t;!((t=this._options)===null||t===void 0)&&t.persistLastActionId&&this._storageService.store(this._storageKey,e.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(Fh,e,{keybinding:this._getDefaultActionKeybindingLabel(e)}),this._defaultAction.actionRunner=new class extends Df{async runAction(i,n){await i.run(void 0)}},this._container&&this._defaultAction.render(uF(this._container,he(\".action-container\")))}_getDefaultActionKeybindingLabel(e){var t;let i;if(!((t=this._options)===null||t===void 0)&&t.renderKeybindingWithDefaultActionLabel){const n=this._keybindingService.lookupKeybinding(e.id);n&&(i=`(${n.getLabel()})`)}return i}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add(\"monaco-dropdown-with-default\");const t=he(\".action-container\");this._defaultAction.render(Q(this._container,t)),this._register(K(t,ee.KEY_DOWN,n=>{const o=new Kt(n);o.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),o.stopPropagation())}));const i=he(\".dropdown-action-container\");this._dropdown.render(Q(this._container,i)),this._register(K(i,ee.KEY_DOWN,n=>{var o;const r=new Kt(n);r.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(o=this._defaultAction.element)===null||o===void 0||o.focus(),r.stopPropagation())}))}focus(e){e?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};x2=Yx([so(2,At),so(3,en),so(4,Oo),so(5,hr),so(6,Ne),so(7,Rd)],x2);let k2=class extends HCe{constructor(e,t){super(null,e,e.actions.map(i=>({text:i.id===rn.ID?\"─────────\":i.label,isDisabled:!i.enabled})),0,t,YCe,{ariaLabel:e.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,e.actions.findIndex(i=>i.checked)))}render(e){super.render(e),e.style.borderColor=fe(dm)}runAction(e,t){const i=this.action.actions[t];i&&this.actionRunner.run(i)}};k2=Yx([so(1,nu)],k2);function kj(s,e,t){return e instanceof Io?s.createInstance(Fh,e,t):e instanceof Em?e.item.isSelection?s.createInstance(k2,e):e.item.rememberDefaultAction?s.createInstance(x2,e,{...t,persistLastActionId:!0}):s.createInstance(L2,e,t):void 0}class Vr extends H{constructor(e,t={}){var i,n,o,r,a,l,d;super(),this._actionRunnerDisposables=this._register(new Y),this.viewItemDisposables=this._register(new $P),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new B),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new B({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new B),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new B),this.onWillRun=this._onWillRun.event,this.options=t,this._context=(i=t.context)!==null&&i!==void 0?i:null,this._orientation=(n=this.options.orientation)!==null&&n!==void 0?n:0,this._triggerKeys={keyDown:(r=(o=this.options.triggerKeys)===null||o===void 0?void 0:o.keyDown)!==null&&r!==void 0?r:!1,keys:(l=(a=this.options.triggerKeys)===null||a===void 0?void 0:a.keys)!==null&&l!==void 0?l:[3,10]},this._hoverDelegate=(d=t.hoverDelegate)!==null&&d!==void 0?d:this._register(I_()),this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new Df,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(h=>this._onDidRun.fire(h))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(h=>this._onWillRun.fire(h))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement(\"div\"),this.domNode.className=\"monaco-action-bar\";let c,u;switch(this._orientation){case 0:c=[15],u=[17];break;case 1:c=[16],u=[18],this.domNode.className+=\" vertical\";break}this._register(K(this.domNode,ee.KEY_DOWN,h=>{const g=new Kt(h);let f=!0;const m=typeof this.focusedItem==\"number\"?this.viewItems[this.focusedItem]:void 0;c&&(g.equals(c[0])||g.equals(c[1]))?f=this.focusPrevious():u&&(g.equals(u[0])||g.equals(u[1]))?f=this.focusNext():g.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():g.equals(14)?f=this.focusFirst():g.equals(13)?f=this.focusLast():g.equals(2)&&m instanceof Va&&m.trapsArrowNavigation?f=this.focusNext():this.isTriggerKeyEvent(g)?this._triggerKeys.keyDown?this.doTrigger(g):this.triggerKeyDown=!0:f=!1,f&&(g.preventDefault(),g.stopPropagation())})),this._register(K(this.domNode,ee.KEY_UP,h=>{const g=new Kt(h);this.isTriggerKeyEvent(g)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(g)),g.preventDefault(),g.stopPropagation()):(g.equals(2)||g.equals(1026)||g.equals(16)||g.equals(18)||g.equals(15)||g.equals(17))&&this.updateFocusedItem()})),this.focusTracker=this._register(ba(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{(Xn()===this.domNode||!An(Xn(),this.domNode))&&(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement(\"ul\"),this.actionsList.className=\"actions-container\",this.options.highlightToggledItems&&this.actionsList.classList.add(\"highlight-toggled\"),this.actionsList.setAttribute(\"role\",this.options.ariaRole||\"toolbar\"),this.options.ariaLabel&&this.actionsList.setAttribute(\"aria-label\",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=1?this.actionsList.setAttribute(\"role\",this.options.ariaRole||\"toolbar\"):this.actionsList.setAttribute(\"role\",\"presentation\")}setFocusable(e){if(this.focusable=e,this.focusable){const t=this.viewItems.find(i=>i instanceof Va&&i.isEnabled());t instanceof Va&&t.setFocusable(!0)}else this.viewItems.forEach(t=>{t instanceof Va&&t.setFocusable(!1)})}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){var e,t;for(let i=0;i<this.actionsList.children.length;i++){const n=this.actionsList.children[i];if(An(Xn(),n)){this.focusedItem=i,(t=(e=this.viewItems[this.focusedItem])===null||e===void 0?void 0:e.showHover)===null||t===void 0||t.call(e);break}}}get context(){return this._context}set context(e){this._context=e,this.viewItems.forEach(t=>t.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){this._actionRunner=e,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(t=>this._onDidRun.fire(t))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(t=>this._onWillRun.fire(t))),this.viewItems.forEach(t=>t.actionRunner=e)}getContainer(){return this.domNode}getAction(e){var t;if(typeof e==\"number\")return(t=this.viewItems[e])===null||t===void 0?void 0:t.action;if(e instanceof HTMLElement){for(;e.parentElement!==this.actionsList;){if(!e.parentElement)return;e=e.parentElement}for(let i=0;i<this.actionsList.childNodes.length;i++)if(this.actionsList.childNodes[i]===e)return this.viewItems[i].action}}push(e,t={}){const i=Array.isArray(e)?e:[e];let n=yh(t.index)?t.index:null;i.forEach(o=>{const r=document.createElement(\"li\");r.className=\"action-item\",r.setAttribute(\"role\",\"presentation\");let a;const l={hoverDelegate:this._hoverDelegate,...t};this.options.actionViewItemProvider&&(a=this.options.actionViewItemProvider(o,l)),a||(a=new N_(this.context,o,l)),this.options.allowContextMenu||this.viewItemDisposables.set(a,K(r,ee.CONTEXT_MENU,d=>{nt.stop(d,!0)})),a.actionRunner=this._actionRunner,a.setActionContext(this.context),a.render(r),this.focusable&&a instanceof Va&&this.viewItems.length===0&&a.setFocusable(!0),n===null||n<0||n>=this.actionsList.children.length?(this.actionsList.appendChild(r),this.viewItems.push(a)):(this.actionsList.insertBefore(r,this.actionsList.children[n]),this.viewItems.splice(n,0,a),n++)}),typeof this.focusedItem==\"number\"&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=jt(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),zn(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return this.viewItems.length===0}focus(e){let t=!1,i;if(e===void 0?t=!0:typeof e==\"number\"?i=e:typeof e==\"boolean\"&&(t=e),t&&typeof this.focusedItem>\"u\"){const n=this.viewItems.findIndex(o=>o.isEnabled());this.focusedItem=n===-1?void 0:n,this.updateFocus(void 0,void 0,!0)}else i!==void 0&&(this.focusedItem=i),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){if(typeof this.focusedItem>\"u\")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let i;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=t,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,i=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&(this.options.focusOnlyEnabledItems&&!i.isEnabled()||i.action.id===rn.ID));return this.updateFocus(),!0}focusPrevious(e){if(typeof this.focusedItem>\"u\")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let i;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=t,!1;this.focusedItem=this.viewItems.length-1}i=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&(this.options.focusOnlyEnabledItems&&!i.isEnabled()||i.action.id===rn.ID));return this.updateFocus(!0),!0}updateFocus(e,t,i=!1){var n,o;typeof this.focusedItem>\"u\"&&this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem!==void 0&&this.previouslyFocusedItem!==this.focusedItem&&((n=this.viewItems[this.previouslyFocusedItem])===null||n===void 0||n.blur());const r=this.focusedItem!==void 0?this.viewItems[this.focusedItem]:void 0;if(r){let a=!0;kS(r.focus)||(a=!1),this.options.focusOnlyEnabledItems&&kS(r.isEnabled)&&!r.isEnabled()&&(a=!1),r.action.id===rn.ID&&(a=!1),a?(i||this.previouslyFocusedItem!==this.focusedItem)&&(r.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0),a&&((o=r.showHover)===null||o===void 0||o.call(r))}}doTrigger(e){if(typeof this.focusedItem>\"u\")return;const t=this.viewItems[this.focusedItem];if(t instanceof Va){const i=t._context===null||t._context===void 0?e:t._context;this.run(t._action,i)}}async run(e,t){await this._actionRunner.run(e,t)}dispose(){this._context=void 0,this.viewItems=jt(this.viewItems),this.getContainer().remove(),super.dispose()}}const E2=/\\(&([^\\s&])\\)|(^|[^&])&([^\\s&])/,zI=/(&amp;)?(&amp;)([^\\s&])/g;var ND;(function(s){s[s.Right=0]=\"Right\",s[s.Left=1]=\"Left\"})(ND||(ND={}));var I2;(function(s){s[s.Above=0]=\"Above\",s[s.Below=1]=\"Below\"})(I2||(I2={}));class qm extends Vr{constructor(e,t,i,n){e.classList.add(\"monaco-menu-container\"),e.setAttribute(\"role\",\"presentation\");const o=document.createElement(\"div\");o.classList.add(\"monaco-menu\"),o.setAttribute(\"role\",\"presentation\"),super(o,{orientation:1,actionViewItemProvider:d=>this.doGetActionViewItem(d,i,r),context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,ariaRole:\"menu\",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...lt||$s?[10]:[]],keyDown:!0}}),this.menuStyles=n,this.menuElement=o,this.actionsList.tabIndex=0,this.initializeOrUpdateStyleSheet(e,n),this._register(Gt.addTarget(o)),this._register(K(o,ee.KEY_DOWN,d=>{new Kt(d).equals(2)&&d.preventDefault()})),i.enableMnemonics&&this._register(K(o,ee.KEY_DOWN,d=>{const c=d.key.toLocaleLowerCase();if(this.mnemonics.has(c)){nt.stop(d,!0);const u=this.mnemonics.get(c);if(u.length===1&&(u[0]instanceof E6&&u[0].container&&this.focusItemByElement(u[0].container),u[0].onClick(d)),u.length>1){const h=u.shift();h&&h.container&&(this.focusItemByElement(h.container),u.push(h)),this.mnemonics.set(c,u)}}})),$s&&this._register(K(o,ee.KEY_DOWN,d=>{const c=new Kt(d);c.equals(14)||c.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),nt.stop(d,!0)):(c.equals(13)||c.equals(12))&&(this.focusedItem=0,this.focusPrevious(),nt.stop(d,!0))})),this._register(K(this.domNode,ee.MOUSE_OUT,d=>{const c=d.relatedTarget;An(c,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),d.stopPropagation())})),this._register(K(this.actionsList,ee.MOUSE_OVER,d=>{let c=d.target;if(!(!c||!An(c,this.actionsList)||c===this.actionsList)){for(;c.parentElement!==this.actionsList&&c.parentElement!==null;)c=c.parentElement;if(c.classList.contains(\"action-item\")){const u=this.focusedItem;this.setFocusedItem(c),u!==this.focusedItem&&this.updateFocus()}}})),this._register(Gt.addTarget(this.actionsList)),this._register(K(this.actionsList,Xt.Tap,d=>{let c=d.initialTarget;if(!(!c||!An(c,this.actionsList)||c===this.actionsList)){for(;c.parentElement!==this.actionsList&&c.parentElement!==null;)c=c.parentElement;if(c.classList.contains(\"action-item\")){const u=this.focusedItem;this.setFocusedItem(c),u!==this.focusedItem&&this.updateFocus()}}}));const r={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new C1(o,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const a=this.scrollableElement.getDomNode();a.style.position=\"\",this.styleScrollElement(a,n),this._register(K(o,Xt.Change,d=>{nt.stop(d,!0);const c=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:c-d.translationY})})),this._register(K(a,ee.MOUSE_UP,d=>{d.preventDefault()}));const l=Te(e);o.style.maxHeight=`${Math.max(10,l.innerHeight-e.getBoundingClientRect().top-35)}px`,t=t.filter((d,c)=>{var u;return!((u=i.submenuIds)===null||u===void 0)&&u.has(d.id)?(console.warn(`Found submenu cycle: ${d.id}`),!1):!(d instanceof rn&&(c===t.length-1||c===0||t[c-1]instanceof rn))}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(d=>!(d instanceof I6)).forEach((d,c,u)=>{d.updatePositionInSet(c+1,u.length)})}initializeOrUpdateStyleSheet(e,t){this.styleSheet||(US(e)?this.styleSheet=ar(e):(qm.globalStyleSheet||(qm.globalStyleSheet=ar()),this.styleSheet=qm.globalStyleSheet)),this.styleSheet.textContent=t1e(t,US(e))}styleScrollElement(e,t){var i,n;const o=(i=t.foregroundColor)!==null&&i!==void 0?i:\"\",r=(n=t.backgroundColor)!==null&&n!==void 0?n:\"\",a=t.borderColor?`1px solid ${t.borderColor}`:\"\",l=\"5px\",d=t.shadowColor?`0 2px 8px ${t.shadowColor}`:\"\";e.style.outline=a,e.style.borderRadius=l,e.style.color=o,e.style.backgroundColor=r,e.style.boxShadow=d}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t<this.actionsList.children.length;t++){const i=this.actionsList.children[t];if(e===i){this.focusedItem=t;break}}}updateFocus(e){super.updateFocus(e,!0,!0),typeof this.focusedItem<\"u\"&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,i){if(e instanceof rn)return new I6(t.context,e,{icon:!0},this.menuStyles);if(e instanceof c_){const n=new E6(e,e.actions,i,{...t,submenuIds:new Set([...t.submenuIds||[],e.id])},this.menuStyles);if(t.enableMnemonics){const o=n.getMnemonic();if(o&&n.isEnabled()){let r=[];this.mnemonics.has(o)&&(r=this.mnemonics.get(o)),r.push(n),this.mnemonics.set(o,r)}}return n}else{const n={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const r=t.getKeyBinding(e);if(r){const a=r.getLabel();a&&(n.keybinding=a)}}const o=new Ej(t.context,e,n,this.menuStyles);if(t.enableMnemonics){const r=o.getMnemonic();if(r&&o.isEnabled()){let a=[];this.mnemonics.has(r)&&(a=this.mnemonics.get(r)),a.push(o),this.mnemonics.set(r,a)}}return o}}}class Ej extends Va{constructor(e,t,i,n){if(i.isMenu=!0,super(t,t,i),this.menuStyle=n,this.options=i,this.options.icon=i.icon!==void 0?i.icon:!1,this.options.label=i.label!==void 0?i.label:!0,this.cssClass=\"\",this.options.label&&i.enableMnemonics){const o=this.action.label;if(o){const r=E2.exec(o);r&&(this.mnemonic=(r[1]?r[1]:r[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new Wt(()=>{this.element&&(this._register(K(this.element,ee.MOUSE_UP,o=>{if(nt.stop(o,!0),Fr){if(new ra(Te(this.element),o).rightButton)return;this.onClick(o)}else setTimeout(()=>{this.onClick(o)},0)})),this._register(K(this.element,ee.CONTEXT_MENU,o=>{nt.stop(o,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=Q(this.element,he(\"a.action-menu-item\")),this._action.id===rn.ID?this.item.setAttribute(\"role\",\"presentation\"):(this.item.setAttribute(\"role\",\"menuitem\"),this.mnemonic&&this.item.setAttribute(\"aria-keyshortcuts\",`${this.mnemonic}`)),this.check=Q(this.item,he(\"span.menu-item-check\"+Pe.asCSSSelector(oe.menuSelection))),this.check.setAttribute(\"role\",\"none\"),this.label=Q(this.item,he(\"span.action-label\")),this.options.label&&this.options.keybinding&&(Q(this.item,he(\"span.keybinding\")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked(),this.applyStyle())}blur(){super.blur(),this.applyStyle()}focus(){var e;super.focus(),(e=this.item)===null||e===void 0||e.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute(\"aria-posinset\",`${e}`),this.item.setAttribute(\"aria-setsize\",`${t}`))}updateLabel(){var e;if(this.label&&this.options.label){zn(this.label);let t=rj(this.action.label);if(t){const i=e1e(t);this.options.enableMnemonics||(t=i),this.label.setAttribute(\"aria-label\",i.replace(/&&/g,\"&\"));const n=E2.exec(t);if(n){t=OS(t),zI.lastIndex=0;let o=zI.exec(t);for(;o&&o[1];)o=zI.exec(t);const r=a=>a.replace(/&amp;&amp;/g,\"&amp;\");o?this.label.append(qL(r(t.substr(0,o.index)),\" \"),he(\"u\",{\"aria-hidden\":\"true\"},o[3]),kre(r(t.substr(o.index+o[0].length)),\" \")):this.label.innerText=r(t).trim(),(e=this.item)===null||e===void 0||e.setAttribute(\"aria-keyshortcuts\",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=t.replace(/&&/g,\"&\").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(\" \")),this.options.icon&&this.label?(this.cssClass=this.action.class||\"\",this.label.classList.add(\"icon\"),this.cssClass&&this.label.classList.add(...this.cssClass.split(\" \")),this.updateEnabled()):this.label&&this.label.classList.remove(\"icon\")}updateEnabled(){this.action.enabled?(this.element&&(this.element.classList.remove(\"disabled\"),this.element.removeAttribute(\"aria-disabled\")),this.item&&(this.item.classList.remove(\"disabled\"),this.item.removeAttribute(\"aria-disabled\"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add(\"disabled\"),this.element.setAttribute(\"aria-disabled\",\"true\")),this.item&&(this.item.classList.add(\"disabled\"),this.item.setAttribute(\"aria-disabled\",\"true\")))}updateChecked(){if(!this.item)return;const e=this.action.checked;this.item.classList.toggle(\"checked\",!!e),e!==void 0?(this.item.setAttribute(\"role\",\"menuitemcheckbox\"),this.item.setAttribute(\"aria-checked\",e?\"true\":\"false\")):(this.item.setAttribute(\"role\",\"menuitem\"),this.item.setAttribute(\"aria-checked\",\"\"))}getMnemonic(){return this.mnemonic}applyStyle(){const e=this.element&&this.element.classList.contains(\"focused\"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,i=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,n=e&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:\"\",o=e&&this.menuStyle.selectionBorderColor?\"-1px\":\"\";this.item&&(this.item.style.color=t??\"\",this.item.style.backgroundColor=i??\"\",this.item.style.outline=n,this.item.style.outlineOffset=o),this.check&&(this.check.style.color=t??\"\")}}class E6 extends Ej{constructor(e,t,i,n,o){super(e,e,n,o),this.submenuActions=t,this.parentData=i,this.submenuOptions=n,this.mysubmenu=null,this.submenuDisposables=this._register(new Y),this.mouseOver=!1,this.expandDirection=n&&n.expandDirection!==void 0?n.expandDirection:{horizontal:ND.Right,vertical:I2.Below},this.showScheduler=new Wt(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new Wt(()=>{this.element&&!An(Xn(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add(\"monaco-submenu-item\"),this.item.tabIndex=0,this.item.setAttribute(\"aria-haspopup\",\"true\"),this.updateAriaExpanded(\"false\"),this.submenuIndicator=Q(this.item,he(\"span.submenu-indicator\"+Pe.asCSSSelector(oe.menuSubmenu))),this.submenuIndicator.setAttribute(\"aria-hidden\",\"true\")),this._register(K(this.element,ee.KEY_UP,t=>{const i=new Kt(t);(i.equals(17)||i.equals(3))&&(nt.stop(t,!0),this.createSubmenu(!0))})),this._register(K(this.element,ee.KEY_DOWN,t=>{const i=new Kt(t);Xn()===this.item&&(i.equals(17)||i.equals(3))&&nt.stop(t,!0)})),this._register(K(this.element,ee.MOUSE_OVER,t=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(K(this.element,ee.MOUSE_LEAVE,t=>{this.mouseOver=!1})),this._register(K(this.element,ee.FOCUS_OUT,t=>{this.element&&!An(Xn(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))})))}updateEnabled(){}onClick(e){nt.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch{}this.parentData.submenu=void 0,this.updateAriaExpanded(\"false\"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,i,n){const o={top:0,left:0};return o.left=pm(e.width,t.width,{position:n.horizontal===ND.Right?0:1,offset:i.left,size:i.width}),o.left>=i.left&&o.left<i.left+i.width&&(i.left+10+t.width<=e.width&&(o.left=i.left+10),i.top+=10,i.height=0),o.top=pm(e.height,t.height,{position:0,offset:i.top,size:0}),o.top+t.height===i.top&&o.top+i.height+t.height<=e.height&&(o.top+=i.height),o}createSubmenu(e=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded(\"true\"),this.submenuContainer=Q(this.element,he(\"div.monaco-submenu\")),this.submenuContainer.classList.add(\"menubar-menu-items-holder\",\"context-view\");const t=Te(this.parentData.parent.domNode).getComputedStyle(this.parentData.parent.domNode),i=parseFloat(t.paddingTop||\"0\")||0;this.submenuContainer.style.zIndex=\"1\",this.submenuContainer.style.position=\"fixed\",this.submenuContainer.style.top=\"0\",this.submenuContainer.style.left=\"0\",this.parentData.submenu=new qm(this.submenuContainer,this.submenuActions.length?this.submenuActions:[new ix],this.submenuOptions,this.menuStyle);const n=this.element.getBoundingClientRect(),o={top:n.top-i,left:n.left,height:n.height+2*i,width:n.width},r=this.submenuContainer.getBoundingClientRect(),a=Te(this.element),{top:l,left:d}=this.calculateSubmenuMenuLayout(new Dt(a.innerWidth,a.innerHeight),Dt.lift(r),o,this.expandDirection);this.submenuContainer.style.left=`${d-r.left}px`,this.submenuContainer.style.top=`${l-r.top}px`,this.submenuDisposables.add(K(this.submenuContainer,ee.KEY_UP,c=>{new Kt(c).equals(15)&&(nt.stop(c,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(K(this.submenuContainer,ee.KEY_DOWN,c=>{new Kt(c).equals(15)&&nt.stop(c,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&((t=this.item)===null||t===void 0||t.setAttribute(\"aria-expanded\",e))}applyStyle(){super.applyStyle();const t=this.element&&this.element.classList.contains(\"focused\")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=t??\"\")}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class I6 extends N_{constructor(e,t,i,n){super(e,t,i),this.menuStyles=n}render(e){super.render(e),this.label&&(this.label.style.borderBottomColor=this.menuStyles.separatorColor?`${this.menuStyles.separatorColor}`:\"\")}}function e1e(s){const e=E2,t=e.exec(s);if(!t)return s;const i=!t[1];return s.replace(e,i?\"$2$3\":\"\").trim()}function T6(s){const e=ez()[s.id];return`.codicon-${s.id}:before { content: '\\\\${e.toString(16)}'; }`}function t1e(s,e){let t=`\n.monaco-menu {\n\tfont-size: 13px;\n\tborder-radius: 5px;\n\tmin-width: 160px;\n}\n\n${T6(oe.menuSelection)}\n${T6(oe.menuSubmenu)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative;  /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\tcolor: var(--vscode-disabledForeground);\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid var(--vscode-menu-separatorBackground);\n\tpadding-top: 1px;\n\tpadding: 30px;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n\tmargin: 0 4px;\n\tborder-radius: 4px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding {\n\topacity: unset;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\twidth: 100%;\n\theight: 0px !important;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n\t-webkit-app-region: no-drag;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.hc-black .context-view.monaco-menu-container,\n.hc-light .context-view.monaco-menu-container,\n:host-context(.hc-black) .context-view.monaco-menu-container,\n:host-context(.hc-light) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused,\n.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused,\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused,\n:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: 4px 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n\tmax-height: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tmargin: 5px 0 !important;\n\tpadding: 0;\n\tborder-radius: 0;\n}\n\n.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator,\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator,\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}`;if(e){t+=`\n\t\t\t/* Arrows */\n\t\t\t.monaco-scrollable-element > .scrollbar > .scra {\n\t\t\t\tcursor: pointer;\n\t\t\t\tfont-size: 11px !important;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .visible {\n\t\t\t\topacity: 1;\n\n\t\t\t\t/* Background rule added for IE9 - to allow clicks on dom node */\n\t\t\t\tbackground:rgba(0,0,0,0);\n\n\t\t\t\ttransition: opacity 100ms linear;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .invisible {\n\t\t\t\topacity: 0;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .invisible.fade {\n\t\t\t\ttransition: opacity 800ms linear;\n\t\t\t}\n\n\t\t\t/* Scrollable Content Inset Shadow */\n\t\t\t.monaco-scrollable-element > .shadow {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 3px;\n\t\t\t\theight: 3px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 3px;\n\t\t\t\tleft: 0;\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 3px;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.top-left-corner {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\theight: 3px;\n\t\t\t\twidth: 3px;\n\t\t\t}\n\t\t`;const i=s.scrollbarShadow;i&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\t\tbox-shadow: ${i} 0 6px 6px -6px inset;\n\t\t\t\t}\n\n\t\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\t\tbox-shadow: ${i} 6px 0 6px -6px inset;\n\t\t\t\t}\n\n\t\t\t\t.monaco-scrollable-element > .shadow.top.left {\n\t\t\t\t\tbox-shadow: ${i} 6px 6px 6px -6px inset;\n\t\t\t\t}\n\t\t\t`);const n=s.scrollbarSliderBackground;n&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider {\n\t\t\t\t\tbackground: ${n};\n\t\t\t\t}\n\t\t\t`);const o=s.scrollbarSliderHoverBackground;o&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\t\t\t\tbackground: ${o};\n\t\t\t\t}\n\t\t\t`);const r=s.scrollbarSliderActiveBackground;r&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider.active {\n\t\t\t\t\tbackground: ${r};\n\t\t\t\t}\n\t\t\t`)}return t}class i1e{constructor(e,t,i,n){this.contextViewService=e,this.telemetryService=t,this.notificationService=i,this.keybindingService=n,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;this.focusToReturn=Xn();let i;const n=e.domForShadowRoot instanceof HTMLElement?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:o=>{var r;this.lastContainer=o;const a=e.getMenuClassName?e.getMenuClassName():\"\";a&&(o.className+=\" \"+a),this.options.blockMouse&&(this.block=o.appendChild(he(\".context-view-block\")),this.block.style.position=\"fixed\",this.block.style.cursor=\"initial\",this.block.style.left=\"0\",this.block.style.top=\"0\",this.block.style.width=\"100%\",this.block.style.height=\"100%\",this.block.style.zIndex=\"-1\",(r=this.blockDisposable)===null||r===void 0||r.dispose(),this.blockDisposable=K(this.block,ee.MOUSE_DOWN,u=>u.stopPropagation()));const l=new Y,d=e.actionRunner||new Df;d.onWillRun(u=>this.onActionRun(u,!e.skipTelemetry),this,l),d.onDidRun(this.onDidActionRun,this,l),i=new qm(o,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:d,getKeyBinding:e.getKeyBinding?e.getKeyBinding:u=>this.keybindingService.lookupKeybinding(u.id)},QCe),i.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,l),i.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,l);const c=Te(o);return l.add(K(c,ee.BLUR,()=>this.contextViewService.hideContextView(!0))),l.add(K(c,ee.MOUSE_DOWN,u=>{if(u.defaultPrevented)return;const h=new ra(c,u);let g=h.target;if(!h.rightButton){for(;g;){if(g===o)return;g=g.parentElement}this.contextViewService.hideContextView(!0)}})),ha(l,i)},focus:()=>{i==null||i.focus(!!e.autoSelectFirstItem)},onHide:o=>{var r,a,l;(r=e.onHide)===null||r===void 0||r.call(e,!!o),this.block&&(this.block.remove(),this.block=null),(a=this.blockDisposable)===null||a===void 0||a.dispose(),this.blockDisposable=null,this.lastContainer&&(Xn()===this.lastContainer||An(Xn(),this.lastContainer))&&((l=this.focusToReturn)===null||l===void 0||l.focus()),this.lastContainer=null}},n,!!n)}onActionRun(e,t){t&&this.telemetryService.publicLog2(\"workbenchActionExecuted\",{id:e.action.id,from:\"contextMenu\"}),this.contextViewService.hideContextView(!1)}onDidActionRun(e){e.error&&!Id(e.error)&&this.notificationService.error(e.error)}}var n1e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ap=function(s,e){return function(t,i){e(t,i,s)}};let T2=class extends H{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new i1e(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(e,t,i,n,o,r){super(),this.telemetryService=e,this.notificationService=t,this.contextViewService=i,this.keybindingService=n,this.menuService=o,this.contextKeyService=r,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new B),this.onDidShowContextMenu=this._onDidShowContextMenu.event,this._onDidHideContextMenu=this._store.add(new B)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){e=N2.transform(e,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu({...e,onHide:t=>{var i;(i=e.onHide)===null||i===void 0||i.call(e,t),this._onDidHideContextMenu.fire()}}),hc.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};T2=n1e([Ap(0,Gs),Ap(1,en),Ap(2,nu),Ap(3,At),Ap(4,hr),Ap(5,Be)],T2);var N2;(function(s){function e(i){return i&&i.menuId instanceof E}function t(i,n,o){if(!e(i))return i;const{menuId:r,menuActionOptions:a,contextKeyService:l}=i;return{...i,getActions:()=>{const d=[];if(r){const c=n.createMenu(r,l??o);JCe(c,a,d),c.dispose()}return i.getActions?rn.join(i.getActions(),d):d}}}s.transform=t})(N2||(N2={}));var AD;(function(s){s[s.API=0]=\"API\",s[s.USER=1]=\"USER\"})(AD||(AD={}));var xO=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},MD=function(s,e){return function(t,i){e(t,i,s)}};let A2=class{constructor(e){this._commandService=e}async open(e,t){if(!rF(e,Ge.command))return!1;if(!(t!=null&&t.allowCommands)||(typeof e==\"string\"&&(e=Ae.parse(e)),Array.isArray(t.allowCommands)&&!t.allowCommands.includes(e.path)))return!0;let i=[];try{i=u2(decodeURIComponent(e.query))}catch{try{i=u2(e.query)}catch{}}return Array.isArray(i)||(i=[i]),await this._commandService.executeCommand(e.path,...i),!0}};A2=xO([MD(0,gi)],A2);let M2=class{constructor(e){this._editorService=e}async open(e,t){typeof e==\"string\"&&(e=Ae.parse(e));const{selection:i,uri:n}=J0e(e);return e=n,e.scheme===Ge.file&&(e=yme(e)),await this._editorService.openCodeEditor({resource:e,options:{selection:i,source:t!=null&&t.fromUserGesture?AD.USER:AD.API,...t==null?void 0:t.editorOptions}},this._editorService.getFocusedCodeEditor(),t==null?void 0:t.openToSide),!0}};M2=xO([MD(0,xt)],M2);let R2=class{constructor(e,t){this._openers=new Rs,this._validators=new Rs,this._resolvers=new Rs,this._resolvedUriTargets=new Wi(i=>i.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new Rs,this._defaultExternalOpener={openExternal:async i=>(_3(i,Ge.http,Ge.https)?Pz(i):Ht.location.href=i,!0)},this._openers.push({open:async(i,n)=>n!=null&&n.openExternal||_3(i,Ge.mailto,Ge.http,Ge.https,Ge.vsls)?(await this._doOpenExternal(i,n),!0):!1}),this._openers.push(new A2(t)),this._openers.push(new M2(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}async open(e,t){var i;const n=typeof e==\"string\"?Ae.parse(e):e,o=(i=this._resolvedUriTargets.get(n))!==null&&i!==void 0?i:e;for(const r of this._validators)if(!await r.shouldOpen(o,t))return!1;for(const r of this._openers)if(await r.open(e,t))return!0;return!1}async resolveExternalUri(e,t){for(const i of this._resolvers)try{const n=await i.resolveExternalUri(e,t);if(n)return this._resolvedUriTargets.has(n.resolved)||this._resolvedUriTargets.set(n.resolved,e),n}catch{}throw new Error(\"Could not resolve external URI: \"+e.toString())}async _doOpenExternal(e,t){const i=typeof e==\"string\"?Ae.parse(e):e;let n;try{n=(await this.resolveExternalUri(i,t)).resolved}catch{n=i}let o;if(typeof e==\"string\"&&i.toString()===n.toString()?o=e:o=encodeURI(n.toString(!0)),t!=null&&t.allowContributedOpeners){const r=typeof(t==null?void 0:t.allowContributedOpeners)==\"string\"?t==null?void 0:t.allowContributedOpeners:void 0;for(const a of this._externalOpeners)if(await a.openExternal(o,{sourceUri:i,preferredOpenerId:r},dt.None))return!0}return this._defaultExternalOpener.openExternal(o,{sourceUri:i},dt.None)}dispose(){this._validators.clear()}};R2=xO([MD(0,xt),MD(1,gi)],R2);const jr=ut(\"editorWorkerService\");var Li;(function(s){s[s.Hint=1]=\"Hint\",s[s.Info=2]=\"Info\",s[s.Warning=4]=\"Warning\",s[s.Error=8]=\"Error\"})(Li||(Li={}));(function(s){function e(r,a){return a-r}s.compare=e;const t=Object.create(null);t[s.Error]=p(\"sev.error\",\"Error\"),t[s.Warning]=p(\"sev.warning\",\"Warning\"),t[s.Info]=p(\"sev.info\",\"Info\");function i(r){return t[r]||\"\"}s.toString=i;function n(r){switch(r){case Bi.Error:return s.Error;case Bi.Warning:return s.Warning;case Bi.Info:return s.Info;case Bi.Ignore:return s.Hint}}s.fromSeverity=n;function o(r){switch(r){case s.Error:return Bi.Error;case s.Warning:return Bi.Warning;case s.Info:return Bi.Info;case s.Hint:return Bi.Ignore}}s.toSeverity=o})(Li||(Li={}));var RD;(function(s){const e=\"\";function t(n){return i(n,!0)}s.makeKey=t;function i(n,o){const r=[e];return n.source?r.push(n.source.replace(\"¦\",\"\\\\¦\")):r.push(e),n.code?typeof n.code==\"string\"?r.push(n.code.replace(\"¦\",\"\\\\¦\")):r.push(n.code.value.replace(\"¦\",\"\\\\¦\")):r.push(e),n.severity!==void 0&&n.severity!==null?r.push(Li.toString(n.severity)):r.push(e),n.message&&o?r.push(n.message.replace(\"¦\",\"\\\\¦\")):r.push(e),n.startLineNumber!==void 0&&n.startLineNumber!==null?r.push(n.startLineNumber.toString()):r.push(e),n.startColumn!==void 0&&n.startColumn!==null?r.push(n.startColumn.toString()):r.push(e),n.endLineNumber!==void 0&&n.endLineNumber!==null?r.push(n.endLineNumber.toString()):r.push(e),n.endColumn!==void 0&&n.endColumn!==null?r.push(n.endColumn.toString()):r.push(e),r.push(e),r.join(\"¦\")}s.makeKeyOptionalMessage=i})(RD||(RD={}));const Pd=ut(\"markerService\");function s1e(s,e){const t=[],i=[];for(const n of s)e.has(n)||t.push(n);for(const n of e)s.has(n)||i.push(n);return{removed:t,added:i}}function o1e(s,e){const t=new Set;for(const i of e)s.has(i)&&t.add(i);return t}var r1e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},N6=function(s,e){return function(t,i){e(t,i,s)}};let P2=class extends H{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new B),this._markerDecorations=new Wi,e.getModels().forEach(i=>this._onModelAdded(i)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const i=this._markerDecorations.get(e);return i&&i.getMarker(t)||null}_handleMarkerChange(e){e.forEach(t=>{const i=this._markerDecorations.get(t);i&&this._updateDecorations(i)})}_onModelAdded(e){const t=new a1e(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){var t;const i=this._markerDecorations.get(e.uri);i&&(i.dispose(),this._markerDecorations.delete(e.uri)),(e.uri.scheme===Ge.inMemory||e.uri.scheme===Ge.internal||e.uri.scheme===Ge.vscode)&&((t=this._markerService)===null||t===void 0||t.read({resource:e.uri}).map(n=>n.owner).forEach(n=>this._markerService.remove(n,[e.uri])))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});e.update(t)&&this._onDidChangeMarker.fire(e.model)}};P2=r1e([N6(0,_i),N6(1,Pd)],P2);class a1e extends H{constructor(e){super(),this.model=e,this._map=new Vde,this._register(Ie(()=>{this.model.deltaDecorations([...this._map.values()],[]),this._map.clear()}))}update(e){const{added:t,removed:i}=s1e(new Set(this._map.keys()),new Set(e));if(t.length===0&&i.length===0)return!1;const n=i.map(a=>this._map.get(a)),o=t.map(a=>({range:this._createDecorationRange(this.model,a),options:this._createDecorationOption(a)})),r=this.model.deltaDecorations(n,o);for(const a of i)this._map.delete(a);for(let a=0;a<r.length;a++)this._map.set(t[a],r[a]);return!0}getMarker(e){return this._map.getKey(e.id)}_createDecorationRange(e,t){let i=x.lift(t);if(t.severity===Li.Hint&&!this._hasMarkerTag(t,1)&&!this._hasMarkerTag(t,2)&&(i=i.setEndPosition(i.startLineNumber,i.startColumn+2)),i=e.validateRange(i),i.isEmpty()){const n=e.getLineLastNonWhitespaceColumn(i.startLineNumber)||e.getLineMaxColumn(i.startLineNumber);if(n===1||i.endColumn>=n)return i;const o=e.getWordAtPosition(i.getStartPosition());o&&(i=new x(i.startLineNumber,o.startColumn,i.endLineNumber,o.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&t.startColumn===1&&i.startLineNumber===i.endLineNumber){const n=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);n<i.endColumn&&(i=new x(i.startLineNumber,n,i.endLineNumber,i.endColumn),t.startColumn=n)}return i}_createDecorationOption(e){let t,i,n,o,r;switch(e.severity){case Li.Hint:this._hasMarkerTag(e,2)?t=void 0:this._hasMarkerTag(e,1)?t=\"squiggly-unnecessary\":t=\"squiggly-hint\",n=0;break;case Li.Info:t=\"squiggly-info\",i=Ei(lfe),n=10,r={color:Ei(Que),position:1};break;case Li.Warning:t=\"squiggly-warning\",i=Ei(afe),n=20,r={color:Ei(Jue),position:1};break;case Li.Error:default:t=\"squiggly-error\",i=Ei(rfe),n=30,r={color:Ei(ehe),position:1};break}return e.tags&&(e.tags.indexOf(1)!==-1&&(o=\"squiggly-inline-unnecessary\"),e.tags.indexOf(2)!==-1&&(o=\"squiggly-inline-deprecated\")),{description:\"marker-decoration\",stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:i,position:Br.Right},minimap:r,zIndex:n,inlineClassName:o}}_hasMarkerTag(e,t){return e.tags?e.tags.indexOf(t)>=0:!1}}var l1e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},G0=function(s,e){return function(t,i){e(t,i,s)}},Up;function Sg(s){return s.toString()}class d1e{constructor(e,t,i){this.model=e,this._modelEventListeners=new Y,this.model=e,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(n=>i(e,n)))}dispose(){this._modelEventListeners.dispose()}}const c1e=$s||lt?1:2;class u1e{constructor(e,t,i,n,o,r,a,l){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=i,this.sharesUndoRedoStack=n,this.heapSize=o,this.sha1=r,this.versionId=a,this.alternativeVersionId=l}}let PD=Up=class extends H{constructor(e,t,i,n,o){super(),this._configurationService=e,this._resourcePropertiesService=t,this._undoRedoService=i,this._languageService=n,this._languageConfigurationService=o,this._onModelAdded=this._register(new B),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new B),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new B),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._register(this._configurationService.onDidChangeConfiguration(r=>this._updateModelOptions(r))),this._updateModelOptions(void 0)}static _readModelOptions(e,t){var i;let n=ns.tabSize;if(e.editor&&typeof e.editor.tabSize<\"u\"){const g=parseInt(e.editor.tabSize,10);isNaN(g)||(n=g),n<1&&(n=1)}let o=\"tabSize\";if(e.editor&&typeof e.editor.indentSize<\"u\"&&e.editor.indentSize!==\"tabSize\"){const g=parseInt(e.editor.indentSize,10);isNaN(g)||(o=Math.max(g,1))}let r=ns.insertSpaces;e.editor&&typeof e.editor.insertSpaces<\"u\"&&(r=e.editor.insertSpaces===\"false\"?!1:!!e.editor.insertSpaces);let a=c1e;const l=e.eol;l===`\\r\n`?a=2:l===`\n`&&(a=1);let d=ns.trimAutoWhitespace;e.editor&&typeof e.editor.trimAutoWhitespace<\"u\"&&(d=e.editor.trimAutoWhitespace===\"false\"?!1:!!e.editor.trimAutoWhitespace);let c=ns.detectIndentation;e.editor&&typeof e.editor.detectIndentation<\"u\"&&(c=e.editor.detectIndentation===\"false\"?!1:!!e.editor.detectIndentation);let u=ns.largeFileOptimizations;e.editor&&typeof e.editor.largeFileOptimizations<\"u\"&&(u=e.editor.largeFileOptimizations===\"false\"?!1:!!e.editor.largeFileOptimizations);let h=ns.bracketPairColorizationOptions;return!((i=e.editor)===null||i===void 0)&&i.bracketPairColorization&&typeof e.editor.bracketPairColorization==\"object\"&&(h={enabled:!!e.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!e.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:t,tabSize:n,indentSize:o,insertSpaces:r,detectIndentation:c,defaultEOL:a,trimAutoWhitespace:d,largeFileOptimizations:u,bracketPairColorizationOptions:h}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const i=this._configurationService.getValue(\"files.eol\",{overrideIdentifier:t});return i&&typeof i==\"string\"&&i!==\"auto\"?i:Lo===3||Lo===2?`\n`:`\\r\n`}_shouldRestoreUndoStack(){const e=this._configurationService.getValue(\"files.restoreUndoStack\");return typeof e==\"boolean\"?e:!0}getCreationOptions(e,t,i){const n=typeof e==\"string\"?e:e.languageId;let o=this._modelCreationOptionsByLanguageAndResource[n+t];if(!o){const r=this._configurationService.getValue(\"editor\",{overrideIdentifier:n,resource:t}),a=this._getEOL(t,n);o=Up._readModelOptions({editor:r,eol:a},i),this._modelCreationOptionsByLanguageAndResource[n+t]=o}return o}_updateModelOptions(e){const t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const i=Object.keys(this._models);for(let n=0,o=i.length;n<o;n++){const r=i[n],a=this._models[r],l=a.model.getLanguageId(),d=a.model.uri;if(e&&!e.affectsConfiguration(\"editor\",{overrideIdentifier:l,resource:d})&&!e.affectsConfiguration(\"files.eol\",{overrideIdentifier:l,resource:d}))continue;const c=t[l+d],u=this.getCreationOptions(l,d,a.model.isForSimpleWidget);Up._setModelOptionsForModel(a.model,u,c)}}static _setModelOptionsForModel(e,t,i){i&&i.defaultEOL!==t.defaultEOL&&e.getLineCount()===1&&e.setEOL(t.defaultEOL===1?0:1),!(i&&i.detectIndentation===t.detectIndentation&&i.insertSpaces===t.insertSpaces&&i.tabSize===t.tabSize&&i.indentSize===t.indentSize&&i.trimAutoWhitespace===t.trimAutoWhitespace&&tr(i.bracketPairColorizationOptions,t.bracketPairColorizationOptions))&&(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace,bracketColorizationOptions:t.bracketPairColorizationOptions})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace,bracketColorizationOptions:t.bracketPairColorizationOptions}))}_insertDisposedModel(e){this._disposedModels.set(Sg(e.uri),e),this._disposedModelsHeapSize+=e.heapSize}_removeDisposedModel(e){const t=this._disposedModels.get(Sg(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(Sg(e)),t}_ensureDisposedModelsHeapSize(e){if(this._disposedModelsHeapSize>e){const t=[];for(this._disposedModels.forEach(i=>{i.sharesUndoRedoStack||t.push(i)}),t.sort((i,n)=>i.time-n.time);t.length>0&&this._disposedModelsHeapSize>e;){const i=t.shift();this._removeDisposedModel(i.uri),i.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(i.initialUndoRedoSnapshot)}}}_createModelData(e,t,i,n){const o=this.getCreationOptions(t,i,n),r=new wd(e,t,o,i,this._undoRedoService,this._languageService,this._languageConfigurationService);if(i&&this._disposedModels.has(Sg(i))){const d=this._removeDisposedModel(i),c=this._undoRedoService.getElements(i),u=this._getSHA1Computer(),h=u.canComputeSHA1(r)?u.computeSHA1(r)===d.sha1:!1;if(h||d.sharesUndoRedoStack){for(const g of c.past)tc(g)&&g.matchesResource(i)&&g.setModel(r);for(const g of c.future)tc(g)&&g.matchesResource(i)&&g.setModel(r);this._undoRedoService.setElementsValidFlag(i,!0,g=>tc(g)&&g.matchesResource(i)),h&&(r._overwriteVersionId(d.versionId),r._overwriteAlternativeVersionId(d.alternativeVersionId),r._overwriteInitialUndoRedoSnapshot(d.initialUndoRedoSnapshot))}else d.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(d.initialUndoRedoSnapshot)}const a=Sg(r.uri);if(this._models[a])throw new Error(\"ModelService: Cannot add model because it already exists!\");const l=new d1e(r,d=>this._onWillDispose(d),(d,c)=>this._onDidChangeLanguage(d,c));return this._models[a]=l,l}createModel(e,t,i,n=!1){let o;return t?o=this._createModelData(e,t,i,n):o=this._createModelData(e,ir,i,n),this._onModelAdded.fire(o.model),o.model}getModels(){const e=[],t=Object.keys(this._models);for(let i=0,n=t.length;i<n;i++){const o=t[i];e.push(this._models[o].model)}return e}getModel(e){const t=Sg(e),i=this._models[t];return i?i.model:null}_schemaShouldMaintainUndoRedoElements(e){return e.scheme===Ge.file||e.scheme===Ge.vscodeRemote||e.scheme===Ge.vscodeUserData||e.scheme===Ge.vscodeNotebookCell||e.scheme===\"fake-fs\"}_onWillDispose(e){const t=Sg(e.uri),i=this._models[t],n=this._undoRedoService.getUriComparisonKey(e.uri)!==e.uri.toString();let o=!1,r=0;if(n||this._shouldRestoreUndoStack()&&this._schemaShouldMaintainUndoRedoElements(e.uri)){const d=this._undoRedoService.getElements(e.uri);if(d.past.length>0||d.future.length>0){for(const c of d.past)tc(c)&&c.matchesResource(e.uri)&&(o=!0,r+=c.heapSize(e.uri),c.setModel(e.uri));for(const c of d.future)tc(c)&&c.matchesResource(e.uri)&&(o=!0,r+=c.heapSize(e.uri),c.setModel(e.uri))}}const a=Up.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK,l=this._getSHA1Computer();if(o)if(!n&&(r>a||!l.canComputeSHA1(e))){const d=i.model.getInitialUndoRedoSnapshot();d!==null&&this._undoRedoService.restoreSnapshot(d)}else this._ensureDisposedModelsHeapSize(a-r),this._undoRedoService.setElementsValidFlag(e.uri,!1,d=>tc(d)&&d.matchesResource(e.uri)),this._insertDisposedModel(new u1e(e.uri,i.model.getInitialUndoRedoSnapshot(),Date.now(),n,r,l.computeSHA1(e),e.getVersionId(),e.getAlternativeVersionId()));else if(!n){const d=i.model.getInitialUndoRedoSnapshot();d!==null&&this._undoRedoService.restoreSnapshot(d)}delete this._models[t],i.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageId()+e.uri],this._onModelRemoved.fire(e)}_onDidChangeLanguage(e,t){const i=t.oldLanguage,n=e.getLanguageId(),o=this.getCreationOptions(i,e.uri,e.isForSimpleWidget),r=this.getCreationOptions(n,e.uri,e.isForSimpleWidget);Up._setModelOptionsForModel(e,r,o),this._onModelModeChanged.fire({model:e,oldLanguageId:i})}_getSHA1Computer(){return new Jx}};PD.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024;PD=Up=l1e([G0(0,rt),G0(1,pU),G0(2,Mx),G0(3,vi),G0(4,Yt)],PD);class Jx{canComputeSHA1(e){return e.getValueLength()<=Jx.MAX_MODEL_SIZE}computeSHA1(e){const t=new QL,i=e.createSnapshot();let n;for(;n=i.read();)t.update(n);return t.digest()}}Jx.MAX_MODEL_SIZE=10*1024*1024;var F2;(function(s){s[s.PRESERVE=0]=\"PRESERVE\",s[s.LAST=1]=\"LAST\"})(F2||(F2={}));const Ij={Quickaccess:\"workbench.contributions.quickaccess\"};class h1e{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return e.prefix.length===0?this.defaultProvider=e:this.providers.push(e),this.providers.sort((t,i)=>i.prefix.length-t.prefix.length),Ie(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return pd([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(i=>e.startsWith(i.prefix))||void 0||this.defaultProvider}}Ji.add(Ij.Quickaccess,new h1e);const g1e={ctrlCmd:!1,alt:!1};var A_;(function(s){s[s.Blur=1]=\"Blur\",s[s.Gesture=2]=\"Gesture\",s[s.Other=3]=\"Other\"})(A_||(A_={}));var Rl;(function(s){s[s.NONE=0]=\"NONE\",s[s.FIRST=1]=\"FIRST\",s[s.SECOND=2]=\"SECOND\",s[s.LAST=3]=\"LAST\"})(Rl||(Rl={}));const hp=ut(\"quickInputService\");var f1e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},A6=function(s,e){return function(t,i){e(t,i,s)}};let O2=class extends H{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=Ji.as(Ij.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e=\"\",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,i){var n,o,r;const[a,l]=this.getOrInstantiateProvider(e),d=this.visibleQuickAccess,c=d==null?void 0:d.descriptor;if(d&&l&&c===l){e!==l.prefix&&!(i!=null&&i.preserveValue)&&(d.picker.value=e),this.adjustValueSelection(d.picker,l,i);return}if(l&&!(i!=null&&i.preserveValue)){let v;if(d&&c&&c!==l){const b=d.value.substr(c.prefix.length);b&&(v=`${l.prefix}${b}`)}if(!v){const b=a==null?void 0:a.defaultFilterValue;b===F2.LAST?v=this.lastAcceptedPickerValues.get(l):typeof b==\"string\"&&(v=`${l.prefix}${b}`)}typeof v==\"string\"&&(e=v)}const u=(n=d==null?void 0:d.picker)===null||n===void 0?void 0:n.valueSelection,h=(o=d==null?void 0:d.picker)===null||o===void 0?void 0:o.value,g=new Y,f=g.add(this.quickInputService.createQuickPick());f.value=e,this.adjustValueSelection(f,l,i),f.placeholder=l==null?void 0:l.placeholder,f.quickNavigate=i==null?void 0:i.quickNavigateConfiguration,f.hideInput=!!f.quickNavigate&&!d,(typeof(i==null?void 0:i.itemActivation)==\"number\"||i!=null&&i.quickNavigateConfiguration)&&(f.itemActivation=(r=i==null?void 0:i.itemActivation)!==null&&r!==void 0?r:Rl.SECOND),f.contextKey=l==null?void 0:l.contextKey,f.filterValue=v=>v.substring(l?l.prefix.length:0);let m;t&&(m=new ZL,g.add(le.once(f.onWillAccept)(v=>{v.veto(),f.hide()}))),g.add(this.registerPickerListeners(f,a,l,e,i==null?void 0:i.providerOptions));const _=g.add(new Vi);if(a&&g.add(a.provide(f,_.token,i==null?void 0:i.providerOptions)),le.once(f.onDidHide)(()=>{f.selectedItems.length===0&&_.cancel(),g.dispose(),m==null||m.complete(f.selectedItems.slice(0))}),f.show(),u&&h===e&&(f.valueSelection=u),t)return m==null?void 0:m.p}adjustValueSelection(e,t,i){var n;let o;i!=null&&i.preserveValue?o=[e.value.length,e.value.length]:o=[(n=t==null?void 0:t.prefix.length)!==null&&n!==void 0?n:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,i,n,o){const r=new Y,a=this.visibleQuickAccess={picker:e,descriptor:i,value:n};return r.add(Ie(()=>{a===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),r.add(e.onDidChangeValue(l=>{const[d]=this.getOrInstantiateProvider(l);d!==t?this.show(l,{preserveValue:!0,providerOptions:o}):a.value=l})),i&&r.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(i,e.value)})),r}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let i=this.mapProviderToDescriptor.get(t);return i||(i=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,i)),[i,t]}};O2=f1e([A6(0,hp),A6(1,Ne)],O2);class f0 extends fr{constructor(e){var t;super(),this._onChange=this._register(new B),this.onChange=this._onChange.event,this._onKeyDown=this._register(new B),this.onKeyDown=this._onKeyDown.event,this._opts=e,this._checked=this._opts.isChecked;const i=[\"monaco-custom-toggle\"];this._opts.icon&&(this._icon=this._opts.icon,i.push(...Pe.asClassNameArray(this._icon))),this._opts.actionClassName&&i.push(...this._opts.actionClassName.split(\" \")),this._checked&&i.push(\"checked\"),this.domNode=document.createElement(\"div\"),this._hover=this._register(_l().setupUpdatableHover((t=e.hoverDelegate)!==null&&t!==void 0?t:Xs(\"mouse\"),this.domNode,this._opts.title)),this.domNode.classList.add(...i),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute(\"role\",\"checkbox\"),this.domNode.setAttribute(\"aria-checked\",String(this._checked)),this.domNode.setAttribute(\"aria-label\",this._opts.title),this.applyStyles(),this.onclick(this.domNode,n=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),n.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,n=>{if(n.keyCode===10||n.keyCode===3){this.checked=!this._checked,this._onChange.fire(!0),n.preventDefault(),n.stopPropagation();return}this._onKeyDown.fire(n)})}get enabled(){return this.domNode.getAttribute(\"aria-disabled\")!==\"true\"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute(\"aria-checked\",String(this._checked)),this.domNode.classList.toggle(\"checked\",this._checked),this.applyStyles()}width(){return 22}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||\"\",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||\"inherit\",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||\"\")}enable(){this.domNode.setAttribute(\"aria-disabled\",String(!1))}disable(){this.domNode.setAttribute(\"aria-disabled\",String(!0))}}var p1e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o};class Tj{constructor(e){this.nodes=e}toString(){return this.nodes.map(e=>typeof e==\"string\"?e:e.label).join(\"\")}}p1e([zi],Tj.prototype,\"toString\",null);const m1e=/\\[([^\\]]+)\\]\\(((?:https?:\\/\\/|command:|file:)[^\\)\\s]+)(?: ([\"'])(.+?)(\\3))?\\)/gi;function _1e(s){const e=[];let t=0,i;for(;i=m1e.exec(s);){i.index-t>0&&e.push(s.substring(t,i.index));const[,n,o,,r]=i;r?e.push({label:n,href:o,title:r}):e.push({label:n,href:o}),t=i.index+i[0].length}return t<s.length&&e.push(s.substring(t)),new Tj(e)}const UI={},v1e=new bO(\"quick-input-button-icon-\");function b1e(s){if(!s)return;let e;const t=s.dark.toString();return UI[t]?e=UI[t]:(e=v1e.nextId(),$S(`.${e}, .hc-light .${e}`,`background-image: ${Ih(s.light||s.dark)}`),$S(`.vs-dark .${e}, .hc-black .${e}`,`background-image: ${Ih(s.dark)}`),UI[t]=e),e}function FD(s,e,t){let i=s.iconClass||b1e(s.iconPath);return s.alwaysVisible&&(i=i?`${i} always-visible`:\"always-visible\"),{id:e,label:\"\",tooltip:s.tooltip||\"\",class:i,enabled:!0,run:t}}function C1e(s,e,t){Yn(e);const i=_1e(s);let n=0;for(const o of i.nodes)if(typeof o==\"string\")e.append(...lh(o));else{let r=o.title;!r&&o.href.startsWith(\"command:\")?r=p(\"executeCommand\",\"Click to execute command '{0}'\",o.href.substring(8)):r||(r=o.href);const a=he(\"a\",{href:o.href,title:r,tabIndex:n++},o.label);a.style.textDecoration=\"underline\";const l=g=>{jae(g)&&nt.stop(g,!0),t.callback(o.href)},d=t.disposables.add(new ht(a,ee.CLICK)).event,c=t.disposables.add(new ht(a,ee.KEY_DOWN)).event,u=le.chain(c,g=>g.filter(f=>{const m=new Kt(f);return m.equals(10)||m.equals(3)}));t.disposables.add(Gt.addTarget(a));const h=t.disposables.add(new ht(a,Xt.Tap)).event;le.any(d,h,u)(l,null,t.disposables),e.appendChild(a)}}class w1e{get templateId(){return this.renderer.templateId}constructor(e,t){this.renderer=e,this.modelProvider=t}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:H.None}}renderElement(e,t,i,n){var o;if((o=i.disposable)===null||o===void 0||o.dispose(),!i.data)return;const r=this.modelProvider();if(r.isResolved(e))return this.renderer.renderElement(r.get(e),e,i.data,n);const a=new Vi,l=r.resolve(e,a.token);i.disposable={dispose:()=>a.cancel()},this.renderer.renderPlaceholder(e,i.data),l.then(d=>this.renderer.renderElement(d,e,i.data,n))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class y1e{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}function S1e(s,e){return{...e,accessibilityProvider:e.accessibilityProvider&&new y1e(s,e.accessibilityProvider)}}class D1e{constructor(e,t,i,n,o={}){const r=()=>this.model,a=n.map(l=>new w1e(l,r));this.list=new pr(e,t,i,a,S1e(r,o))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return le.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:e===void 0?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return le.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:e===void 0?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return le.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(n=>this._model.get(n)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,to(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var p0=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o};const L1e=!1;var OD;(function(s){s.North=\"north\",s.South=\"south\",s.East=\"east\",s.West=\"west\"})(OD||(OD={}));let x1e=4;const k1e=new B;let E1e=300;const I1e=new B;class kO{constructor(e){this.el=e,this.disposables=new Y}get onPointerMove(){return this.disposables.add(new ht(Te(this.el),\"mousemove\")).event}get onPointerUp(){return this.disposables.add(new ht(Te(this.el),\"mouseup\")).event}dispose(){this.disposables.dispose()}}p0([zi],kO.prototype,\"onPointerMove\",null);p0([zi],kO.prototype,\"onPointerUp\",null);class EO{get onPointerMove(){return this.disposables.add(new ht(this.el,Xt.Change)).event}get onPointerUp(){return this.disposables.add(new ht(this.el,Xt.End)).event}constructor(e){this.el=e,this.disposables=new Y}dispose(){this.disposables.dispose()}}p0([zi],EO.prototype,\"onPointerMove\",null);p0([zi],EO.prototype,\"onPointerUp\",null);class BD{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(e){this.factory=e}dispose(){}}p0([zi],BD.prototype,\"onPointerMove\",null);p0([zi],BD.prototype,\"onPointerUp\",null);const M6=\"pointer-events-disabled\";class is extends H{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle(\"disabled\",e===0),this.el.classList.toggle(\"minimum\",e===1),this.el.classList.toggle(\"maximum\",e===2),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this._orthogonalStartSash!==e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){const t=i=>{this.orthogonalStartDragHandleDisposables.clear(),i!==0&&(this._orthogonalStartDragHandle=Q(this.el,he(\".orthogonal-drag-handle.start\")),this.orthogonalStartDragHandleDisposables.add(Ie(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new ht(this._orthogonalStartDragHandle,\"mouseenter\")).event(()=>is.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new ht(this._orthogonalStartDragHandle,\"mouseleave\")).event(()=>is.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}}set orthogonalEndSash(e){if(this._orthogonalEndSash!==e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){const t=i=>{this.orthogonalEndDragHandleDisposables.clear(),i!==0&&(this._orthogonalEndDragHandle=Q(this.el,he(\".orthogonal-drag-handle.end\")),this.orthogonalEndDragHandleDisposables.add(Ie(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new ht(this._orthogonalEndDragHandle,\"mouseenter\")).event(()=>is.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new ht(this._orthogonalEndDragHandle,\"mouseleave\")).event(()=>is.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}}constructor(e,t,i){super(),this.hoverDelay=E1e,this.hoverDelayer=this._register(new _a(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new B),this._onDidStart=this._register(new B),this._onDidChange=this._register(new B),this._onDidReset=this._register(new B),this._onDidEnd=this._register(new B),this.orthogonalStartSashDisposables=this._register(new Y),this.orthogonalStartDragHandleDisposables=this._register(new Y),this.orthogonalEndSashDisposables=this._register(new Y),this.orthogonalEndDragHandleDisposables=this._register(new Y),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=Q(e,he(\".monaco-sash\")),i.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`),lt&&this.el.classList.add(\"mac\");const n=this._register(new ht(this.el,\"mousedown\")).event;this._register(n(u=>this.onPointerStart(u,new kO(e)),this));const o=this._register(new ht(this.el,\"dblclick\")).event;this._register(o(this.onPointerDoublePress,this));const r=this._register(new ht(this.el,\"mouseenter\")).event;this._register(r(()=>is.onMouseEnter(this)));const a=this._register(new ht(this.el,\"mouseleave\")).event;this._register(a(()=>is.onMouseLeave(this))),this._register(Gt.addTarget(this.el));const l=this._register(new ht(this.el,Xt.Start)).event;this._register(l(u=>this.onPointerStart(u,new EO(this.el)),this));const d=this._register(new ht(this.el,Xt.Tap)).event;let c;this._register(d(u=>{if(c){clearTimeout(c),c=void 0,this.onPointerDoublePress(u);return}clearTimeout(c),c=setTimeout(()=>c=void 0,250)},this)),typeof i.size==\"number\"?(this.size=i.size,i.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=x1e,this._register(k1e.event(u=>{this.size=u,this.layout()}))),this._register(I1e.event(u=>this.hoverDelay=u)),this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,this.orientation===1?(this.el.classList.add(\"horizontal\"),this.el.classList.remove(\"vertical\")):(this.el.classList.remove(\"horizontal\"),this.el.classList.add(\"vertical\")),this.el.classList.toggle(\"debug\",L1e),this.layout()}onPointerStart(e,t){nt.stop(e);let i=!1;if(!e.__orthogonalSashEvent){const f=this.getOrthogonalSash(e);f&&(i=!0,e.__orthogonalSashEvent=!0,f.onPointerStart(e,new BD(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new BD(t))),!this.state)return;const n=this.el.ownerDocument.getElementsByTagName(\"iframe\");for(const f of n)f.classList.add(M6);const o=e.pageX,r=e.pageY,a=e.altKey,l={startX:o,currentX:o,startY:r,currentY:r,altKey:a};this.el.classList.add(\"active\"),this._onDidStart.fire(l);const d=ar(this.el),c=()=>{let f=\"\";i?f=\"all-scroll\":this.orientation===1?this.state===1?f=\"s-resize\":this.state===2?f=\"n-resize\":f=lt?\"row-resize\":\"ns-resize\":this.state===1?f=\"e-resize\":this.state===2?f=\"w-resize\":f=lt?\"col-resize\":\"ew-resize\",d.textContent=`* { cursor: ${f} !important; }`},u=new Y;c(),i||this.onDidEnablementChange.event(c,null,u);const h=f=>{nt.stop(f,!1);const m={startX:o,currentX:f.pageX,startY:r,currentY:f.pageY,altKey:a};this._onDidChange.fire(m)},g=f=>{nt.stop(f,!1),this.el.removeChild(d),this.el.classList.remove(\"active\"),this._onDidEnd.fire(),u.dispose();for(const m of n)m.classList.remove(M6)};t.onPointerMove(h,null,u),t.onPointerUp(g,null,u),u.add(t)}onPointerDoublePress(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains(\"active\")?(e.hoverDelayer.cancel(),e.el.classList.add(\"hover\")):e.hoverDelayer.trigger(()=>e.el.classList.add(\"hover\"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&is.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove(\"hover\"),!t&&e.linkedSash&&is.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){is.onMouseLeave(this)}layout(){if(this.orientation===0){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+\"px\",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+\"px\"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+\"px\")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+\"px\",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+\"px\"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+\"px\")}}getOrthogonalSash(e){var t;const i=(t=e.initialTarget)!==null&&t!==void 0?t:e.target;if(!(!i||!(i instanceof HTMLElement))&&i.classList.contains(\"orthogonal-drag-handle\"))return i.classList.contains(\"start\")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}const T1e={separatorBorder:$.transparent};class Nj{set size(e){this._size=e}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize>\"u\"}setVisible(e,t){var i,n;if(e!==this.visible){e?(this.size=xs(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof t==\"number\"?t:this.size,this.size=0),this.container.classList.toggle(\"visible\",e);try{(n=(i=this.view).setVisible)===null||n===void 0||n.call(i,e)}catch(o){console.error(\"Splitview: Failed to set visible view\"),console.error(o)}}}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get proportionalLayout(){var e;return(e=this.view.proportionalLayout)!==null&&e!==void 0?e:!0}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?\"\":\"none\"}constructor(e,t,i,n){this.container=e,this.view=t,this.disposable=n,this._cachedVisibleSize=void 0,typeof i==\"number\"?(this._size=i,this._cachedVisibleSize=void 0,e.classList.add(\"visible\")):(this._size=0,this._cachedVisibleSize=i.cachedVisibleSize)}layout(e,t){this.layoutContainer(e);try{this.view.layout(this.size,e,t)}catch(i){console.error(\"Splitview: Failed to layout view\"),console.error(i)}}dispose(){this.disposable.dispose()}}class N1e extends Nj{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class A1e extends Nj{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}var Yd;(function(s){s[s.Idle=0]=\"Idle\",s[s.Busy=1]=\"Busy\"})(Yd||(Yd={}));var WD;(function(s){s.Distribute={type:\"distribute\"};function e(n){return{type:\"split\",index:n}}s.Split=e;function t(n){return{type:\"auto\",index:n}}s.Auto=t;function i(n){return{type:\"invisible\",cachedVisibleSize:n}}s.Invisible=i})(WD||(WD={}));class Aj extends H{get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,t={}){var i,n,o,r,a;super(),this.size=0,this._contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=Yd.Idle,this._onDidSashChange=this._register(new B),this._onDidSashReset=this._register(new B),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(i=t.orientation)!==null&&i!==void 0?i:0,this.inverseAltBehavior=(n=t.inverseAltBehavior)!==null&&n!==void 0?n:!1,this.proportionalLayout=(o=t.proportionalLayout)!==null&&o!==void 0?o:!0,this.getSashOrthogonalSize=t.getSashOrthogonalSize,this.el=document.createElement(\"div\"),this.el.classList.add(\"monaco-split-view2\"),this.el.classList.add(this.orientation===0?\"vertical\":\"horizontal\"),e.appendChild(this.el),this.sashContainer=Q(this.el,he(\".sash-container\")),this.viewContainer=he(\".split-view-container\"),this.scrollable=this._register(new u0({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:d=>Ao(Te(this.el),d)})),this.scrollableElement=this._register(new Lx(this.viewContainer,{vertical:this.orientation===0?(r=t.scrollbarVisibility)!==null&&r!==void 0?r:1:2,horizontal:this.orientation===1?(a=t.scrollbarVisibility)!==null&&a!==void 0?a:1:2},this.scrollable));const l=this._register(new ht(this.viewContainer,\"scroll\")).event;this._register(l(d=>{const c=this.scrollableElement.getScrollPosition(),u=Math.abs(this.viewContainer.scrollLeft-c.scrollLeft)<=1?void 0:this.viewContainer.scrollLeft,h=Math.abs(this.viewContainer.scrollTop-c.scrollTop)<=1?void 0:this.viewContainer.scrollTop;(u!==void 0||h!==void 0)&&this.scrollableElement.setScrollPosition({scrollLeft:u,scrollTop:h})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(d=>{d.scrollTopChanged&&(this.viewContainer.scrollTop=d.scrollTop),d.scrollLeftChanged&&(this.viewContainer.scrollLeft=d.scrollLeft)})),Q(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||T1e),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((d,c)=>{const u=oo(d.visible)||d.visible?d.size:{type:\"invisible\",cachedVisibleSize:d.size},h=d.view;this.doAddView(h,u,c,!0)}),this._contentSize=this.viewItems.reduce((d,c)=>d+c.size,0),this.saveProportions())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove(\"separator-border\"),this.el.style.removeProperty(\"--separator-border\")):(this.el.classList.add(\"separator-border\"),this.el.style.setProperty(\"--separator-border\",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){const i=Math.max(this.size,this._contentSize);if(this.size=e,this.layoutContext=t,this.proportions){let n=0;for(let o=0;o<this.viewItems.length;o++){const r=this.viewItems[o],a=this.proportions[o];typeof a==\"number\"?n+=a:e-=r.size}for(let o=0;o<this.viewItems.length;o++){const r=this.viewItems[o],a=this.proportions[o];typeof a==\"number\"&&n>0&&(r.size=xs(Math.round(a*e/n),r.minimumSize,r.maximumSize))}}else{const n=to(this.viewItems.length),o=n.filter(a=>this.viewItems[a].priority===1),r=n.filter(a=>this.viewItems[a].priority===2);this.resize(this.viewItems.length-1,e-i,void 0,o,r)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this._contentSize>0&&(this.proportions=this.viewItems.map(e=>e.proportionalLayout&&e.visible?e.size/this._contentSize:void 0))}onSashStart({sash:e,start:t,alt:i}){for(const a of this.viewItems)a.enabled=!1;const n=this.sashItems.findIndex(a=>a.sash===e),o=ha(K(this.el.ownerDocument.body,\"keydown\",a=>r(this.sashDragState.current,a.altKey)),K(this.el.ownerDocument.body,\"keyup\",()=>r(this.sashDragState.current,!1))),r=(a,l)=>{const d=this.viewItems.map(f=>f.size);let c=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(l=!l),l)if(n===this.sashItems.length-1){const m=this.viewItems[n];c=(m.minimumSize-m.size)/2,u=(m.maximumSize-m.size)/2}else{const m=this.viewItems[n+1];c=(m.size-m.maximumSize)/2,u=(m.size-m.minimumSize)/2}let h,g;if(!l){const f=to(n,-1),m=to(n+1,this.viewItems.length),_=f.reduce((k,I)=>k+(this.viewItems[I].minimumSize-d[I]),0),v=f.reduce((k,I)=>k+(this.viewItems[I].viewMaximumSize-d[I]),0),b=m.length===0?Number.POSITIVE_INFINITY:m.reduce((k,I)=>k+(d[I]-this.viewItems[I].minimumSize),0),C=m.length===0?Number.NEGATIVE_INFINITY:m.reduce((k,I)=>k+(d[I]-this.viewItems[I].viewMaximumSize),0),w=Math.max(_,C),y=Math.min(b,v),D=this.findFirstSnapIndex(f),L=this.findFirstSnapIndex(m);if(typeof D==\"number\"){const k=this.viewItems[D],I=Math.floor(k.viewMinimumSize/2);h={index:D,limitDelta:k.visible?w-I:w+I,size:k.size}}if(typeof L==\"number\"){const k=this.viewItems[L],I=Math.floor(k.viewMinimumSize/2);g={index:L,limitDelta:k.visible?y+I:y-I,size:k.size}}}this.sashDragState={start:a,current:a,index:n,sizes:d,minDelta:c,maxDelta:u,alt:l,snapBefore:h,snapAfter:g,disposable:o}};r(t,i)}onSashChange({current:e}){const{index:t,start:i,sizes:n,alt:o,minDelta:r,maxDelta:a,snapBefore:l,snapAfter:d}=this.sashDragState;this.sashDragState.current=e;const c=e-i,u=this.resize(t,c,n,void 0,void 0,r,a,l,d);if(o){const h=t===this.sashItems.length-1,g=this.viewItems.map(C=>C.size),f=h?t:t+1,m=this.viewItems[f],_=m.size-m.maximumSize,v=m.size-m.minimumSize,b=h?t-1:t+1;this.resize(b,-u,g,void 0,void 0,_,v)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const t of this.viewItems)t.enabled=!0}onViewChange(e,t){const i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t=typeof t==\"number\"?t:e.size,t=xs(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([i],void 0)))}resizeView(e,t){if(!(e<0||e>=this.viewItems.length)){if(this.state!==Yd.Idle)throw new Error(\"Cant modify splitview\");this.state=Yd.Busy;try{const i=to(this.viewItems.length).filter(a=>a!==e),n=[...i.filter(a=>this.viewItems[a].priority===1),e],o=i.filter(a=>this.viewItems[a].priority===2),r=this.viewItems[e];t=Math.round(t),t=xs(t,r.minimumSize,Math.min(r.maximumSize,this.size)),r.size=t,this.relayout(n,o)}finally{this.state=Yd.Idle}}}distributeViewSizes(){const e=[];let t=0;for(const a of this.viewItems)a.maximumSize-a.minimumSize>0&&(e.push(a),t+=a.size);const i=Math.floor(t/e.length);for(const a of e)a.size=xs(i,a.minimumSize,a.maximumSize);const n=to(this.viewItems.length),o=n.filter(a=>this.viewItems[a].priority===1),r=n.filter(a=>this.viewItems[a].priority===2);this.relayout(o,r)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,n){if(this.state!==Yd.Idle)throw new Error(\"Cant modify splitview\");this.state=Yd.Busy;try{const o=he(\".split-view-view\");i===this.viewItems.length?this.viewContainer.appendChild(o):this.viewContainer.insertBefore(o,this.viewContainer.children.item(i));const r=e.onDidChange(h=>this.onViewChange(c,h)),a=Ie(()=>this.viewContainer.removeChild(o)),l=ha(r,a);let d;typeof t==\"number\"?d=t:(t.type===\"auto\"&&(this.areViewsDistributed()?t={type:\"distribute\"}:t={type:\"split\",index:t.index}),t.type===\"split\"?d=this.getViewSize(t.index)/2:t.type===\"invisible\"?d={cachedVisibleSize:t.cachedVisibleSize}:d=e.minimumSize);const c=this.orientation===0?new N1e(o,e,d,l):new A1e(o,e,d,l);if(this.viewItems.splice(i,0,c),this.viewItems.length>1){const h={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},g=this.orientation===0?new is(this.sashContainer,{getHorizontalSashTop:k=>this.getSashPosition(k),getHorizontalSashWidth:this.getSashOrthogonalSize},{...h,orientation:1}):new is(this.sashContainer,{getVerticalSashLeft:k=>this.getSashPosition(k),getVerticalSashHeight:this.getSashOrthogonalSize},{...h,orientation:0}),f=this.orientation===0?k=>({sash:g,start:k.startY,current:k.currentY,alt:k.altKey}):k=>({sash:g,start:k.startX,current:k.currentX,alt:k.altKey}),_=le.map(g.onDidStart,f)(this.onSashStart,this),b=le.map(g.onDidChange,f)(this.onSashChange,this),w=le.map(g.onDidEnd,()=>this.sashItems.findIndex(k=>k.sash===g))(this.onSashEnd,this),y=g.onDidReset(()=>{const k=this.sashItems.findIndex(F=>F.sash===g),I=to(k,-1),O=to(k+1,this.viewItems.length),R=this.findFirstSnapIndex(I),P=this.findFirstSnapIndex(O);typeof R==\"number\"&&!this.viewItems[R].visible||typeof P==\"number\"&&!this.viewItems[P].visible||this._onDidSashReset.fire(k)}),D=ha(_,b,w,y,g),L={sash:g,disposable:D};this.sashItems.splice(i-1,0,L)}o.appendChild(e.element);let u;typeof t!=\"number\"&&t.type===\"split\"&&(u=[t.index]),n||this.relayout([i],u),!n&&typeof t!=\"number\"&&t.type===\"distribute\"&&this.distributeViewSizes()}finally{this.state=Yd.Idle}}relayout(e,t){const i=this.viewItems.reduce((n,o)=>n+o.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(c=>c.size),n,o,r=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY,l,d){if(e<0||e>=this.viewItems.length)return 0;const c=to(e,-1),u=to(e+1,this.viewItems.length);if(o)for(const L of o)EE(c,L),EE(u,L);if(n)for(const L of n)aw(c,L),aw(u,L);const h=c.map(L=>this.viewItems[L]),g=c.map(L=>i[L]),f=u.map(L=>this.viewItems[L]),m=u.map(L=>i[L]),_=c.reduce((L,k)=>L+(this.viewItems[k].minimumSize-i[k]),0),v=c.reduce((L,k)=>L+(this.viewItems[k].maximumSize-i[k]),0),b=u.length===0?Number.POSITIVE_INFINITY:u.reduce((L,k)=>L+(i[k]-this.viewItems[k].minimumSize),0),C=u.length===0?Number.NEGATIVE_INFINITY:u.reduce((L,k)=>L+(i[k]-this.viewItems[k].maximumSize),0),w=Math.max(_,C,r),y=Math.min(b,v,a);let D=!1;if(l){const L=this.viewItems[l.index],k=t>=l.limitDelta;D=k!==L.visible,L.setVisible(k,l.size)}if(!D&&d){const L=this.viewItems[d.index],k=t<d.limitDelta;D=k!==L.visible,L.setVisible(k,d.size)}if(D)return this.resize(e,t,i,n,o,r,a);t=xs(t,w,y);for(let L=0,k=t;L<h.length;L++){const I=h[L],O=xs(g[L]+k,I.minimumSize,I.maximumSize),R=O-g[L];k-=R,I.size=O}for(let L=0,k=t;L<f.length;L++){const I=f[L],O=xs(m[L]-k,I.minimumSize,I.maximumSize),R=O-m[L];k+=R,I.size=O}return t}distributeEmptySpace(e){const t=this.viewItems.reduce((a,l)=>a+l.size,0);let i=this.size-t;const n=to(this.viewItems.length-1,-1),o=n.filter(a=>this.viewItems[a].priority===1),r=n.filter(a=>this.viewItems[a].priority===2);for(const a of r)EE(n,a);for(const a of o)aw(n,a);typeof e==\"number\"&&aw(n,e);for(let a=0;i!==0&&a<n.length;a++){const l=this.viewItems[n[a]],d=xs(l.size+i,l.minimumSize,l.maximumSize),c=d-l.size;i-=c,l.size=d}}layoutViews(){this._contentSize=this.viewItems.reduce((t,i)=>t+i.size,0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(t=>t.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){this.orientation===0?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this._contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this._contentSize})}updateSashEnablement(){let e=!1;const t=this.viewItems.map(l=>e=l.size-l.minimumSize>0||e);e=!1;const i=this.viewItems.map(l=>e=l.maximumSize-l.size>0||e),n=[...this.viewItems].reverse();e=!1;const o=n.map(l=>e=l.size-l.minimumSize>0||e).reverse();e=!1;const r=n.map(l=>e=l.maximumSize-l.size>0||e).reverse();let a=0;for(let l=0;l<this.sashItems.length;l++){const{sash:d}=this.sashItems[l],c=this.viewItems[l];a+=c.size;const u=!(t[l]&&r[l+1]),h=!(i[l]&&o[l+1]);if(u&&h){const g=to(l,-1),f=to(l+1,this.viewItems.length),m=this.findFirstSnapIndex(g),_=this.findFirstSnapIndex(f),v=typeof m==\"number\"&&!this.viewItems[m].visible,b=typeof _==\"number\"&&!this.viewItems[_].visible;v&&o[l]&&(a>0||this.startSnappingEnabled)?d.state=1:b&&t[l]&&(a<this._contentSize||this.endSnappingEnabled)?d.state=2:d.state=0}else u&&!h?d.state=1:!u&&h?d.state=2:d.state=3}}getSashPosition(e){let t=0;for(let i=0;i<this.sashItems.length;i++)if(t+=this.viewItems[i].size,this.sashItems[i].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const i=this.viewItems[t];if(i.visible&&i.snap)return t}for(const t of e){const i=this.viewItems[t];if(i.visible&&i.maximumSize-i.minimumSize>0)return;if(!i.visible&&i.snap)return t}}areViewsDistributed(){let e,t;for(const i of this.viewItems)if(e=e===void 0?i.size:Math.min(e,i.size),t=t===void 0?i.size:Math.max(t,i.size),t-e>2)return!1;return!0}dispose(){var e;(e=this.sashDragState)===null||e===void 0||e.disposable.dispose(),jt(this.viewItems),this.viewItems=[],this.sashItems.forEach(t=>t.disposable.dispose()),this.sashItems=[],super.dispose()}}class A1{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=A1.TemplateId,this.renderedTemplates=new Set;const n=new Map(t.map(o=>[o.templateId,o]));this.renderers=[];for(const o of e){const r=n.get(o.templateId);if(!r)throw new Error(`Table cell renderer for template id ${o.templateId} not found.`);this.renderers.push(r)}}renderTemplate(e){const t=Q(e,he(\".monaco-table-tr\")),i=[],n=[];for(let r=0;r<this.columns.length;r++){const a=this.renderers[r],l=Q(t,he(\".monaco-table-td\",{\"data-col-index\":r}));l.style.width=`${this.getColumnSize(r)}px`,i.push(l),n.push(a.renderTemplate(l))}const o={container:e,cellContainers:i,cellTemplateData:n};return this.renderedTemplates.add(o),o}renderElement(e,t,i,n){for(let o=0;o<this.columns.length;o++){const a=this.columns[o].project(e);this.renderers[o].renderElement(a,t,i.cellTemplateData[o],n)}}disposeElement(e,t,i,n){for(let o=0;o<this.columns.length;o++){const r=this.renderers[o];if(r.disposeElement){const l=this.columns[o].project(e);r.disposeElement(l,t,i.cellTemplateData[o],n)}}}disposeTemplate(e){for(let t=0;t<this.columns.length;t++)this.renderers[t].disposeTemplate(e.cellTemplateData[t]);zn(e.container),this.renderedTemplates.delete(e)}layoutColumn(e,t){for(const{cellContainers:i}of this.renderedTemplates)i[e].style.width=`${t}px`}}A1.TemplateId=\"row\";function M1e(s){return{getHeight(e){return s.getHeight(e)},getTemplateId(){return A1.TemplateId}}}class R1e extends H{get minimumSize(){var e;return(e=this.column.minimumWidth)!==null&&e!==void 0?e:120}get maximumSize(){var e;return(e=this.column.maximumWidth)!==null&&e!==void 0?e:Number.POSITIVE_INFINITY}get onDidChange(){var e;return(e=this.column.onDidChangeWidthConstraints)!==null&&e!==void 0?e:le.None}constructor(e,t){super(),this.column=e,this.index=t,this._onDidLayout=new B,this.onDidLayout=this._onDidLayout.event,this.element=he(\".monaco-table-th\",{\"data-col-index\":t},e.label),e.tooltip&&this._register(_l().setupUpdatableHover(Xs(\"mouse\"),this.element,e.tooltip))}layout(e){this._onDidLayout.fire([this.index,e])}}class ek{get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onDidScroll(){return this.list.onDidScroll}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}get scrollHeight(){return this.list.scrollHeight}get renderHeight(){return this.list.renderHeight}get onDidDispose(){return this.list.onDidDispose}constructor(e,t,i,n,o,r){this.virtualDelegate=i,this.domId=`table_id_${++ek.InstanceCount}`,this.disposables=new Y,this.cachedWidth=0,this.cachedHeight=0,this.domNode=Q(t,he(`.monaco-table.${this.domId}`));const a=n.map((c,u)=>this.disposables.add(new R1e(c,u))),l={size:a.reduce((c,u)=>c+u.column.weight,0),views:a.map(c=>({size:c.column.weight,view:c}))};this.splitview=this.disposables.add(new Aj(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:l})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;const d=new A1(n,o,c=>this.splitview.getViewSize(c));this.list=this.disposables.add(new pr(e,this.domNode,M1e(i),[d],r)),le.any(...a.map(c=>c.onDidLayout))(([c,u])=>d.layoutColumn(c,u),null,this.disposables),this.splitview.onDidSashReset(c=>{const u=n.reduce((g,f)=>g+f.weight,0),h=n[c].weight/u*this.cachedWidth;this.splitview.resizeView(c,h)},null,this.disposables),this.styleElement=ar(this.domNode),this.style(TCe)}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){const t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\ttop: ${this.virtualDelegate.headerRowHeight+1}px;\n\t\t\theight: calc(100% - ${this.virtualDelegate.headerRowHeight}px);\n\t\t}`),this.styleElement.textContent=t.join(`\n`),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}ek.InstanceCount=0;const P1e=p(\"caseDescription\",\"Match Case\"),F1e=p(\"wordsDescription\",\"Match Whole Word\"),O1e=p(\"regexDescription\",\"Use Regular Expression\");class Mj extends f0{constructor(e){var t;super({icon:oe.caseSensitive,title:P1e+e.appendTitle,isChecked:e.isChecked,hoverDelegate:(t=e.hoverDelegate)!==null&&t!==void 0?t:Xs(\"element\"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Rj extends f0{constructor(e){var t;super({icon:oe.wholeWord,title:F1e+e.appendTitle,isChecked:e.isChecked,hoverDelegate:(t=e.hoverDelegate)!==null&&t!==void 0?t:Xs(\"element\"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Pj extends f0{constructor(e){var t;super({icon:oe.regex,title:O1e+e.appendTitle,isChecked:e.isChecked,hoverDelegate:(t=e.hoverDelegate)!==null&&t!==void 0?t:Xs(\"element\"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class B1e{constructor(e,t=0,i=e.length,n=t-1){this.items=e,this.start=t,this.end=i,this.index=n}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class W1e{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}getHistory(){return this._elements}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._navigator.next()}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}isLast(){return this._currentPosition()>=this._elements.length-1}isNowhere(){return this._navigator.current()===null}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new B1e(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){const e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach(t=>e.push(t)),e}}const Z0=he;let H1e=class extends fr{constructor(e,t,i){var n;super(),this.state=\"idle\",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new B),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new B),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i,this.message=null,this.placeholder=this.options.placeholder||\"\",this.tooltip=(n=this.options.tooltip)!==null&&n!==void 0?n:this.placeholder||\"\",this.ariaLabel=this.options.ariaLabel||\"\",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=Q(e,Z0(\".monaco-inputbox.idle\"));const o=this.options.flexibleHeight?\"textarea\":\"input\",r=Q(this.element,Z0(\".ibwrapper\"));if(this.input=Q(r,Z0(o+\".input.empty\")),this.input.setAttribute(\"autocorrect\",\"off\"),this.input.setAttribute(\"autocapitalize\",\"off\"),this.input.setAttribute(\"spellcheck\",\"false\"),this.onfocus(this.input,()=>this.element.classList.add(\"synthetic-focus\")),this.onblur(this.input,()=>this.element.classList.remove(\"synthetic-focus\")),this.options.flexibleHeight){this.maxHeight=typeof this.options.flexibleMaxHeight==\"number\"?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=Q(r,Z0(\"div.mirror\")),this.mirror.innerText=\" \",this.scrollableElement=new VU(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute(\"wrap\",\"off\"),this.mirror.style.whiteSpace=\"pre\",this.mirror.style.wordWrap=\"initial\"),Q(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(d=>this.input.scrollTop=d.scrollTop));const a=this._register(new ht(e.ownerDocument,\"selectionchange\")),l=le.filter(a.event,()=>{const d=e.ownerDocument.getSelection();return(d==null?void 0:d.anchorNode)===r});this._register(l(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||\"text\",this.input.setAttribute(\"wrap\",\"off\");this.ariaLabel&&this.input.setAttribute(\"aria-label\",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new Vr(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute(\"placeholder\",\"\")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute(\"placeholder\",this.placeholder||\"\")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute(\"placeholder\",e)}setTooltip(e){this.tooltip=e,this.hover?this.hover.update(e):this.hover=this._register(_l().setupUpdatableHover(Xs(\"mouse\"),this.input,e))}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return typeof this.cachedHeight==\"number\"?this.cachedHeight:uc(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return tx(this.input)}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}getSelection(){var e;const t=this.input.selectionStart;if(t===null)return null;const i=(e=this.input.selectionEnd)!==null&&e!==void 0?e:t;return{start:t,end:i}}enable(){this.input.removeAttribute(\"disabled\")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+\"px\")}updateScrollDimensions(){if(typeof this.cachedContentHeight!=\"number\"||typeof this.cachedHeight!=\"number\"||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i})}showMessage(e,t){if(this.state===\"open\"&&tr(this.message,e))return;this.message=e,this.element.classList.remove(\"idle\"),this.element.classList.remove(\"info\"),this.element.classList.remove(\"warning\"),this.element.classList.remove(\"error\"),this.element.classList.add(this.classForType(e.type));const i=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${Ec(i.border,\"transparent\")}`,this.message.content&&(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove(\"info\"),this.element.classList.remove(\"warning\"),this.element.classList.remove(\"error\"),this.element.classList.add(\"idle\"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute(\"aria-invalid\",\"true\"),this.showMessage(e)):this.inputElement.hasAttribute(\"aria-invalid\")&&(this.inputElement.removeAttribute(\"aria-invalid\"),this.hideMessage())),e==null?void 0:e.type}stylesForType(e){const t=this.options.inputBoxStyles;switch(e){case 1:return{border:t.inputValidationInfoBorder,background:t.inputValidationInfoBackground,foreground:t.inputValidationInfoForeground};case 2:return{border:t.inputValidationWarningBorder,background:t.inputValidationWarningBackground,foreground:t.inputValidationWarningForeground};default:return{border:t.inputValidationErrorBorder,background:t.inputValidationErrorBackground,foreground:t.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return\"info\";case 2:return\"warning\";default:return\"error\"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e;const t=()=>e.style.width=wo(this.element)+\"px\";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:n=>{var o,r;if(!this.message)return null;e=Q(n,Z0(\".monaco-inputbox-container\")),t();const a={inline:!0,className:\"monaco-inputbox-message\"},l=this.message.formatContent?tve(this.message.content,a):eve(this.message.content,a);l.classList.add(this.classForType(this.message.type));const d=this.stylesForType(this.message.type);return l.style.backgroundColor=(o=d.background)!==null&&o!==void 0?o:\"\",l.style.color=(r=d.foreground)!==null&&r!==void 0?r:\"\",l.style.border=d.border?`1px solid ${d.border}`:\"\",Q(e,l),null},onHide:()=>{this.state=\"closed\"},layout:t});let i;this.message.type===3?i=p(\"alertErrorMessage\",\"Error: {0}\",this.message.content):this.message.type===2?i=p(\"alertWarningMessage\",\"Warning: {0}\",this.message.content):i=p(\"alertInfoMessage\",\"Info: {0}\",this.message.content),fo(i),this.state=\"open\"}_hideMessage(){this.contextViewProvider&&(this.state===\"open\"&&this.contextViewProvider.hideContextView(),this.state=\"idle\")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle(\"empty\",!this.value),this.state===\"open\"&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,i=e.charCodeAt(e.length-1)===10?\" \":\"\";(e+i).replace(/\\u000c/g,\"\")?this.mirror.textContent=e+i:this.mirror.innerText=\" \",this.layout()}applyStyles(){var e,t,i;const n=this.options.inputBoxStyles,o=(e=n.inputBackground)!==null&&e!==void 0?e:\"\",r=(t=n.inputForeground)!==null&&t!==void 0?t:\"\",a=(i=n.inputBorder)!==null&&i!==void 0?i:\"\";this.element.style.backgroundColor=o,this.element.style.color=r,this.input.style.backgroundColor=\"inherit\",this.input.style.color=r,this.element.style.border=`1px solid ${Ec(a,\"transparent\")}`}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=uc(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+\"px\",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,i=t.selectionStart,n=t.selectionEnd,o=t.value;i!==null&&n!==null&&(this.value=o.substr(0,i)+e+o.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){var e;this._hideMessage(),this.message=null,(e=this.actionbar)===null||e===void 0||e.dispose(),super.dispose()}};class Fj extends H1e{constructor(e,t,i){const n=p({},\" or {0} for history\",\"⇅\"),o=p({},\" ({0} for history)\",\"⇅\");super(e,t,i),this._onDidFocus=this._register(new B),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new B),this.onDidBlur=this._onDidBlur.event,this.history=new W1e(i.history,100);const r=()=>{if(i.showHistoryHint&&i.showHistoryHint()&&!this.placeholder.endsWith(n)&&!this.placeholder.endsWith(o)&&this.history.getHistory().length){const a=this.placeholder.endsWith(\")\")?n:o,l=this.placeholder+a;i.showPlaceholderOnFocus&&!tx(this.input)?this.placeholder=l:this.setPlaceHolder(l)}};this.observer=new MutationObserver((a,l)=>{a.forEach(d=>{d.target.textContent||r()})}),this.observer.observe(this.input,{attributeFilter:[\"class\"]}),this.onfocus(this.input,()=>r()),this.onblur(this.input,()=>{const a=l=>{if(this.placeholder.endsWith(l)){const d=this.placeholder.slice(0,this.placeholder.length-l.length);return i.showPlaceholderOnFocus?this.placeholder=d:this.setPlaceHolder(d),!0}else return!1};a(o)||a(n)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(e){this.value&&(e||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),this.value=e??\"\",Uc(this.value?this.value:p(\"clearedInput\",\"Cleared Input\"))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,Uc(this.value))}setPlaceHolder(e){super.setPlaceHolder(e),this.setTooltip(e)}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}const V1e=p(\"defaultLabel\",\"input\");class Oj extends fr{constructor(e,t,i){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=this._register(new $n),this.additionalToggles=[],this._onDidOptionChange=this._register(new B),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new B),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new B),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new B),this._onKeyUp=this._register(new B),this._onCaseSensitiveKeyDown=this._register(new B),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new B),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=i.placeholder||\"\",this.validation=i.validation,this.label=i.label||V1e,this.showCommonFindToggles=!!i.showCommonFindToggles;const n=i.appendCaseSensitiveLabel||\"\",o=i.appendWholeWordsLabel||\"\",r=i.appendRegexLabel||\"\",a=i.history||[],l=!!i.flexibleHeight,d=!!i.flexibleWidth,c=i.flexibleMaxHeight;this.domNode=document.createElement(\"div\"),this.domNode.classList.add(\"monaco-findInput\"),this.inputBox=this._register(new Fj(this.domNode,t,{placeholder:this.placeholder||\"\",ariaLabel:this.label||\"\",validationOptions:{validation:this.validation},history:a,showHistoryHint:i.showHistoryHint,flexibleHeight:l,flexibleWidth:d,flexibleMaxHeight:c,inputBoxStyles:i.inputBoxStyles}));const u=this._register(I_());if(this.showCommonFindToggles){this.regex=this._register(new Pj({appendTitle:r,isChecked:!1,hoverDelegate:u,...i.toggleStyles})),this._register(this.regex.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(g=>{this._onRegexKeyDown.fire(g)})),this.wholeWords=this._register(new Rj({appendTitle:o,isChecked:!1,hoverDelegate:u,...i.toggleStyles})),this._register(this.wholeWords.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new Mj({appendTitle:n,isChecked:!1,hoverDelegate:u,...i.toggleStyles})),this._register(this.caseSensitive.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(g=>{this._onCaseSensitiveKeyDown.fire(g)}));const h=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,g=>{if(g.equals(15)||g.equals(17)||g.equals(9)){const f=h.indexOf(this.domNode.ownerDocument.activeElement);if(f>=0){let m=-1;g.equals(17)?m=(f+1)%h.length:g.equals(15)&&(f===0?m=h.length-1:m=f-1),g.equals(9)?(h[f].blur(),this.inputBox.focus()):m>=0&&h[m].focus(),nt.stop(g,!0)}}})}this.controls=document.createElement(\"div\"),this.controls.className=\"controls\",this.controls.style.display=this.showCommonFindToggles?\"\":\"none\",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(i==null?void 0:i.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),e==null||e.appendChild(this.domNode),this._register(K(this.inputBox.inputElement,\"compositionstart\",h=>{this.imeSessionInProgress=!0})),this._register(K(this.inputBox.inputElement,\"compositionend\",h=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,h=>this._onKeyDown.fire(h)),this.onkeyup(this.inputBox.inputElement,h=>this._onKeyUp.fire(h)),this.oninput(this.inputBox.inputElement,h=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,h=>this._onMouseDown.fire(h))}get onDidChange(){return this.inputBox.onDidChange}layout(e){this.inputBox.layout(),this.updateInputBoxPadding(e.collapsedFindWidget)}enable(){var e,t,i;this.domNode.classList.remove(\"disabled\"),this.inputBox.enable(),(e=this.regex)===null||e===void 0||e.enable(),(t=this.wholeWords)===null||t===void 0||t.enable(),(i=this.caseSensitive)===null||i===void 0||i.enable();for(const n of this.additionalToggles)n.enable()}disable(){var e,t,i;this.domNode.classList.add(\"disabled\"),this.inputBox.disable(),(e=this.regex)===null||e===void 0||e.disable(),(t=this.wholeWords)===null||t===void 0||t.disable(),(i=this.caseSensitive)===null||i===void 0||i.disable();for(const n of this.additionalToggles)n.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}setAdditionalToggles(e){for(const t of this.additionalToggles)t.domNode.remove();this.additionalToggles=[],this.additionalTogglesDisposables.value=new Y;for(const t of e??[])this.additionalTogglesDisposables.value.add(t),this.controls.appendChild(t.domNode),this.additionalTogglesDisposables.value.add(t.onChange(i=>{this._onDidOptionChange.fire(i),!i&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(t);this.additionalToggles.length>0&&(this.controls.style.display=\"\"),this.updateInputBoxPadding()}updateInputBoxPadding(e=!1){var t,i,n,o,r,a;e?this.inputBox.paddingRight=0:this.inputBox.paddingRight=((i=(t=this.caseSensitive)===null||t===void 0?void 0:t.width())!==null&&i!==void 0?i:0)+((o=(n=this.wholeWords)===null||n===void 0?void 0:n.width())!==null&&o!==void 0?o:0)+((a=(r=this.regex)===null||r===void 0?void 0:r.width())!==null&&a!==void 0?a:0)+this.additionalToggles.reduce((l,d)=>l+d.width(),0)}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var e,t;return(t=(e=this.caseSensitive)===null||e===void 0?void 0:e.checked)!==null&&t!==void 0?t:!1}setCaseSensitive(e){this.caseSensitive&&(this.caseSensitive.checked=e)}getWholeWords(){var e,t;return(t=(e=this.wholeWords)===null||e===void 0?void 0:e.checked)!==null&&t!==void 0?t:!1}setWholeWords(e){this.wholeWords&&(this.wholeWords.checked=e)}getRegex(){var e,t;return(t=(e=this.regex)===null||e===void 0?void 0:e.checked)!==null&&t!==void 0?t:!1}setRegex(e){this.regex&&(this.regex.checked=e,this.validate())}focusOnCaseSensitive(){var e;(e=this.caseSensitive)===null||e===void 0||e.focus()}highlightFindOptions(){this.domNode.classList.remove(\"highlight-\"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add(\"highlight-\"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(e){this.inputBox.showMessage(e)}clearMessage(){this.inputBox.hideMessage()}}var Ko;(function(s){s[s.Expanded=0]=\"Expanded\",s[s.Collapsed=1]=\"Collapsed\",s[s.PreserveOrExpanded=2]=\"PreserveOrExpanded\",s[s.PreserveOrCollapsed=3]=\"PreserveOrCollapsed\"})(Ko||(Ko={}));var ef;(function(s){s[s.Unknown=0]=\"Unknown\",s[s.Twistie=1]=\"Twistie\",s[s.Element=2]=\"Element\",s[s.Filter=3]=\"Filter\"})(ef||(ef={}));class Xo extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class IO{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}function TO(s){return typeof s==\"object\"&&\"visibility\"in s&&\"data\"in s}function pC(s){switch(s){case!0:return 1;case!1:return 0;default:return s}}function $I(s){return typeof s.collapsible==\"boolean\"}class z1e{constructor(e,t,i,n={}){var o;this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new KP,this._onDidChangeCollapseState=new B,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new B,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new B,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new _a(gz),this.collapseByDefault=typeof n.collapseByDefault>\"u\"?!1:n.collapseByDefault,this.allowNonCollapsibleParents=(o=n.allowNonCollapsibleParents)!==null&&o!==void 0?o:!1,this.filter=n.filter,this.autoExpandSingleChildren=typeof n.autoExpandSingleChildren>\"u\"?!1:n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=ft.empty(),n={}){if(e.length===0)throw new Xo(this.user,\"Invalid tree location\");n.diffIdentityProvider?this.spliceSmart(n.diffIdentityProvider,e,t,i,n):this.spliceSimple(e,t,i,n)}spliceSmart(e,t,i,n,o,r){var a;n===void 0&&(n=ft.empty()),r===void 0&&(r=(a=o.diffDepth)!==null&&a!==void 0?a:0);const{parentNode:l}=this.getParentNodeWithListIndex(t);if(!l.lastDiffIds)return this.spliceSimple(t,i,n,o);const d=[...n],c=t[t.length-1],u=new zl({getElements:()=>l.lastDiffIds},{getElements:()=>[...l.children.slice(0,c),...d,...l.children.slice(c+i)].map(_=>e.getId(_.element).toString())}).ComputeDiff(!1);if(u.quitEarly)return l.lastDiffIds=void 0,this.spliceSimple(t,i,d,o);const h=t.slice(0,-1),g=(_,v,b)=>{if(r>0)for(let C=0;C<b;C++)_--,v--,this.spliceSmart(e,[...h,_,0],Number.MAX_SAFE_INTEGER,d[v].children,o,r-1)};let f=Math.min(l.children.length,c+i),m=d.length;for(const _ of u.changes.sort((v,b)=>b.originalStart-v.originalStart))g(f,m,f-(_.originalStart+_.originalLength)),f=_.originalStart,m=_.modifiedStart-c,this.spliceSimple([...h,f],_.originalLength,ft.slice(d,m,m+_.modifiedLength),o);g(f,m,f)}spliceSimple(e,t,i=ft.empty(),{onDidCreateNode:n,onDidDeleteNode:o,diffIdentityProvider:r}){const{parentNode:a,listIndex:l,revealed:d,visible:c}=this.getParentNodeWithListIndex(e),u=[],h=ft.map(i,y=>this.createTreeNode(y,a,a.visible?1:0,d,u,n)),g=e[e.length-1];let f=0;for(let y=g;y>=0&&y<a.children.length;y--){const D=a.children[y];if(D.visible){f=D.visibleChildIndex;break}}const m=[];let _=0,v=0;for(const y of h)m.push(y),v+=y.renderNodeCount,y.visible&&(y.visibleChildIndex=f+_++);const b=G5(a.children,g,t,m);r?a.lastDiffIds?G5(a.lastDiffIds,g,t,m.map(y=>r.getId(y.element).toString())):a.lastDiffIds=a.children.map(y=>r.getId(y.element).toString()):a.lastDiffIds=void 0;let C=0;for(const y of b)y.visible&&C++;if(C!==0)for(let y=g+m.length;y<a.children.length;y++){const D=a.children[y];D.visible&&(D.visibleChildIndex-=C)}if(a.visibleChildrenCount+=_-C,d&&c){const y=b.reduce((D,L)=>D+(L.visible?L.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(a,v-y),this.list.splice(l,y,u)}if(b.length>0&&o){const y=D=>{o(D),D.children.forEach(y)};b.forEach(y)}this._onDidSplice.fire({insertedNodes:m,deletedNodes:b});let w=a;for(;w;){if(w.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}w=w.parent}}rerender(e){if(e.length===0)throw new Xo(this.user,\"Invalid tree location\");const{node:t,listIndex:i,revealed:n}=this.getTreeNodeWithListIndex(e);t.visible&&n&&this.list.splice(i,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:i,revealed:n}=this.getTreeNodeWithListIndex(e);return i&&n?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const i=this.getTreeNode(e);typeof t>\"u\"&&(t=!i.collapsible);const n={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){const n=this.getTreeNode(e);typeof t>\"u\"&&(t=!n.collapsed);const o={collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,o))}_setCollapseState(e,t){const{node:i,listIndex:n,revealed:o}=this.getTreeNodeWithListIndex(e),r=this._setListNodeCollapseState(i,n,o,t);if(i!==this.root&&this.autoExpandSingleChildren&&r&&!$I(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let a=-1;for(let l=0;l<i.children.length;l++)if(i.children[l].visible)if(a>-1){a=-1;break}else a=l;a>-1&&this._setCollapseState([...e,a],t)}return r}_setListNodeCollapseState(e,t,i,n){const o=this._setNodeCollapseState(e,n,!1);if(!i||!e.visible||!o)return o;const r=e.renderNodeCount,a=this.updateNodeAfterCollapseChange(e),l=r-(t===-1?0:1);return this.list.splice(t+1,l,a.slice(1)),o}_setNodeCollapseState(e,t,i){let n;if(e===this.root?n=!1:($I(t)?(n=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(n=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):n=!1,n&&this._onDidChangeCollapseState.fire({node:e,deep:i})),!$I(t)&&t.recursive)for(const o of e.children)n=this._setNodeCollapseState(o,t,!0)||n;return n}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,i,n,o,r){const a={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof e.collapsible==\"boolean\"?e.collapsible:typeof e.collapsed<\"u\",collapsed:typeof e.collapsed>\"u\"?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(a,i);a.visibility=l,n&&o.push(a);const d=e.children||ft.empty(),c=n&&l!==0&&!a.collapsed;let u=0,h=1;for(const g of d){const f=this.createTreeNode(g,a,l,c,o,r);a.children.push(f),h+=f.renderNodeCount,f.visible&&(f.visibleChildIndex=u++)}return this.allowNonCollapsibleParents||(a.collapsible=a.collapsible||a.children.length>0),a.visibleChildrenCount=u,a.visible=l===2?u>0:l===1,a.visible?a.collapsed||(a.renderNodeCount=h):(a.renderNodeCount=0,n&&o.pop()),r==null||r(a),a}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,i=[];return this._updateNodeAfterCollapseChange(e,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterCollapseChange(e,t){if(e.visible===!1)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const i of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,i=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterFilterChange(e,t,i,n=!0){let o;if(e!==this.root){if(o=this._filterNode(e,t),o===0)return e.visible=!1,e.renderNodeCount=0,!1;n&&i.push(e)}const r=i.length;e.renderNodeCount=e===this.root?0:1;let a=!1;if(!e.collapsed||o!==0){let l=0;for(const d of e.children)a=this._updateNodeAfterFilterChange(d,o,i,n&&!e.collapsed)||a,d.visible&&(d.visibleChildIndex=l++);e.visibleChildrenCount=l}else e.visibleChildrenCount=0;return e!==this.root&&(e.visible=o===2?a:o===1,e.visibility=o),e.visible?e.collapsed||(e.renderNodeCount+=i.length-r):(e.renderNodeCount=0,n&&i.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(t!==0)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const i=this.filter?this.filter.filter(e.element,t):1;return typeof i==\"boolean\"?(e.filterData=void 0,i?1:0):TO(i)?(e.filterData=i.data,pC(i.visibility)):(e.filterData=void 0,pC(i))}hasTreeNode(e,t=this.root){if(!e||e.length===0)return!0;const[i,...n]=e;return i<0||i>t.children.length?!1:this.hasTreeNode(n,t.children[i])}getTreeNode(e,t=this.root){if(!e||e.length===0)return t;const[i,...n]=e;if(i<0||i>t.children.length)throw new Xo(this.user,\"Invalid tree location\");return this.getTreeNode(n,t.children[i])}getTreeNodeWithListIndex(e){if(e.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:i,revealed:n,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new Xo(this.user,\"Invalid tree location\");const a=t.children[r];return{node:a,listIndex:i,revealed:n,visible:o&&a.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,n=!0,o=!0){const[r,...a]=e;if(r<0||r>t.children.length)throw new Xo(this.user,\"Invalid tree location\");for(let l=0;l<r;l++)i+=t.children[l].renderNodeCount;return n=n&&!t.collapsed,o=o&&t.visible,a.length===0?{parentNode:t,listIndex:i,revealed:n,visible:o}:this.getParentNodeWithListIndex(a,t.children[r],i+1,n,o)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let i=e;for(;i.parent;)t.push(i.parent.children.indexOf(i)),i=i.parent;return t.reverse()}getParentNodeLocation(e){if(e.length!==0)return e.length===1?[]:wse(e)[0]}getFirstElementChild(e){const t=this.getTreeNode(e);if(t.children.length!==0)return t.children[0].element}}class U1e extends k1{constructor(e){super(e.elements.map(t=>t.element)),this.data=e}}function jI(s){return s instanceof k1?new U1e(s):s}class $1e{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=H.None,this.disposables=new Y}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(i=>i.element),t)}onDragStart(e,t){var i,n;(n=(i=this.dnd).onDragStart)===null||n===void 0||n.call(i,jI(e),t)}onDragOver(e,t,i,n,o,r=!0){const a=this.dnd.onDragOver(jI(e),t&&t.element,i,n,o),l=this.autoExpandNode!==t;if(l&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),typeof t>\"u\")return a;if(l&&typeof a!=\"boolean\"&&a.autoExpand&&(this.autoExpandDisposable=kh(()=>{const g=this.modelProvider(),f=g.getNodeLocation(t);g.isCollapsed(f)&&g.setCollapsed(f,!1),this.autoExpandNode=void 0},500,this.disposables)),typeof a==\"boolean\"||!a.accept||typeof a.bubble>\"u\"||a.feedback){if(!r){const g=typeof a==\"boolean\"?a:a.accept,f=typeof a==\"boolean\"?void 0:a.effect;return{accept:g,effect:f,feedback:[i]}}return a}if(a.bubble===1){const g=this.modelProvider(),f=g.getNodeLocation(t),m=g.getParentNodeLocation(f),_=g.getNode(m),v=m&&g.getListIndex(m);return this.onDragOver(e,_,v,n,o,!1)}const d=this.modelProvider(),c=d.getNodeLocation(t),u=d.getListIndex(c),h=d.getListRenderCount(c);return{...a,feedback:to(u,u+h)}}drop(e,t,i,n,o){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(jI(e),t&&t.element,i,n,o)}onDragEnd(e){var t,i;(i=(t=this.dnd).onDragEnd)===null||i===void 0||i.call(t,e)}dispose(){this.disposables.dispose(),this.dnd.dispose()}}function j1e(s,e){return e&&{...e,identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new $1e(s,e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent(t){return e.multipleSelectionController.isSelectionSingleChangeEvent({...t,element:t.element})},isSelectionRangeChangeEvent(t){return e.multipleSelectionController.isSelectionRangeChangeEvent({...t,element:t.element})}},accessibilityProvider:e.accessibilityProvider&&{...e.accessibilityProvider,getSetSize(t){const i=s(),n=i.getNodeLocation(t),o=i.getParentNodeLocation(n);return i.getNode(o).visibleChildrenCount},getPosInSet(t){return t.visibleChildIndex+1},isChecked:e.accessibilityProvider&&e.accessibilityProvider.isChecked?t=>e.accessibilityProvider.isChecked(t.element):void 0,getRole:e.accessibilityProvider&&e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>\"treeitem\",getAriaLabel(t){return e.accessibilityProvider.getAriaLabel(t.element)},getWidgetAriaLabel(){return e.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:e.accessibilityProvider&&e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>\"tree\",getAriaLevel:e.accessibilityProvider&&e.accessibilityProvider.getAriaLevel?t=>e.accessibilityProvider.getAriaLevel(t.element):t=>t.depth,getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{...e.keyboardNavigationLabelProvider,getKeyboardNavigationLabel(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}}}class NO{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){var i,n;(n=(i=this.delegate).setDynamicHeight)===null||n===void 0||n.call(i,e.element,t)}}var M_;(function(s){s.None=\"none\",s.OnHover=\"onHover\",s.Always=\"always\"})(M_||(M_={}));class K1e{get elements(){return this._elements}constructor(e,t=[]){this._elements=t,this.disposables=new Y,this.onDidChange=le.forEach(e,i=>this._elements=i,this.disposables)}dispose(){this.disposables.dispose()}}class mC{constructor(e,t,i,n,o,r={}){var a;this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedIndentGuides=o,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=mC.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=H.None,this.disposables=new Y,this.templateId=e.templateId,this.updateOptions(r),le.map(i,l=>l.node)(this.onDidChangeNodeTwistieState,this,this.disposables),(a=e.onDidChangeTwistieState)===null||a===void 0||a.call(e,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(typeof e.indent<\"u\"){const t=xs(e.indent,0,40);if(t!==this.indent){this.indent=t;for(const[i,n]of this.renderedNodes)this.renderTreeElement(i,n)}}if(typeof e.renderIndentGuides<\"u\"){const t=e.renderIndentGuides!==M_.None;if(t!==this.shouldRenderIndentGuides){this.shouldRenderIndentGuides=t;for(const[i,n]of this.renderedNodes)this._renderIndentGuides(i,n);if(this.indentGuidesDisposable.dispose(),t){const i=new Y;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,i),this.indentGuidesDisposable=i,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}typeof e.hideTwistiesOfChildlessElements<\"u\"&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=Q(e,he(\".monaco-tl-row\")),i=Q(t,he(\".monaco-tl-indent\")),n=Q(t,he(\".monaco-tl-twistie\")),o=Q(t,he(\".monaco-tl-contents\")),r=this.renderer.renderTemplate(o);return{container:e,indent:i,twistie:n,indentGuidesDisposable:H.None,templateData:r}}renderElement(e,t,i,n){this.renderedNodes.set(e,i),this.renderedElements.set(e.element,e),this.renderTreeElement(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){var o,r;i.indentGuidesDisposable.dispose(),(r=(o=this.renderer).disposeElement)===null||r===void 0||r.call(o,e,t,i.templateData,n),typeof n==\"number\"&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(e,t))}renderTreeElement(e,t){const i=mC.DefaultIndent+(e.depth-1)*this.indent;t.twistie.style.paddingLeft=`${i}px`,t.indent.style.width=`${i+this.indent-16}px`,e.collapsible?t.container.setAttribute(\"aria-expanded\",String(!e.collapsed)):t.container.removeAttribute(\"aria-expanded\"),t.twistie.classList.remove(...Pe.asClassNameArray(oe.treeItemExpanded));let n=!1;this.renderer.renderTwistie&&(n=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(n||t.twistie.classList.add(...Pe.asClassNameArray(oe.treeItemExpanded)),t.twistie.classList.add(\"collapsible\"),t.twistie.classList.toggle(\"collapsed\",e.collapsed)):t.twistie.classList.remove(\"collapsible\",\"collapsed\"),this._renderIndentGuides(e,t)}_renderIndentGuides(e,t){if(zn(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const i=new Y,n=this.modelProvider();for(;;){const o=n.getNodeLocation(e),r=n.getParentNodeLocation(o);if(!r)break;const a=n.getNode(r),l=he(\".indent-guide\",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(a)&&l.classList.add(\"active\"),t.indent.childElementCount===0?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),this.renderedIndentGuides.add(a,l),i.add(Ie(()=>this.renderedIndentGuides.delete(a,l))),e=a}t.indentGuidesDisposable=i}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,i=this.modelProvider();e.forEach(n=>{const o=i.getNodeLocation(n);try{const r=i.getParentNodeLocation(o);n.collapsible&&n.children.length>0&&!n.collapsed?t.add(n):r&&t.add(i.getNode(r))}catch{}}),this.activeIndentNodes.forEach(n=>{t.has(n)||this.renderedIndentGuides.forEach(n,o=>o.classList.remove(\"active\"))}),t.forEach(n=>{this.activeIndentNodes.has(n)||this.renderedIndentGuides.forEach(n,o=>o.classList.add(\"active\"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),jt(this.disposables)}}mC.DefaultIndent=8;class q1e{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern=\"\",this._lowercasePattern=\"\",this.disposables=new Y,e.onWillRefilter(this.reset,this,this.disposables)}filter(e,t){let i=1;if(this._filter){const r=this._filter.filter(e,t);if(typeof r==\"boolean\"?i=r?1:0:TO(r)?i=pC(r.visibility):i=r,i===0)return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:el.Default,visibility:i};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=Array.isArray(n)?n:[n];for(const r of o){const a=r&&r.toString();if(typeof a>\"u\")return{data:el.Default,visibility:i};let l;if(this.tree.findMatchType===Tf.Contiguous){const d=a.toLowerCase().indexOf(this._lowercasePattern);if(d>-1){l=[Number.MAX_SAFE_INTEGER,0];for(let c=this._lowercasePattern.length;c>0;c--)l.push(d+c-1)}}else l=D_(this._pattern,this._lowercasePattern,0,a,a.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(l)return this._matchCount++,o.length===1?{data:l,visibility:i}:{data:{label:a,score:l},visibility:i}}return this.tree.findMode===Lc.Filter?typeof this.tree.options.defaultFindVisibility==\"number\"?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(e):2:{data:el.Default,visibility:i}}reset(){this._totalCount=0,this._matchCount=0}dispose(){jt(this.disposables)}}var Lc;(function(s){s[s.Highlight=0]=\"Highlight\",s[s.Filter=1]=\"Filter\"})(Lc||(Lc={}));var Tf;(function(s){s[s.Fuzzy=0]=\"Fuzzy\",s[s.Contiguous=1]=\"Contiguous\"})(Tf||(Tf={}));let G1e=class{get pattern(){return this._pattern}get mode(){return this._mode}set mode(e){e!==this._mode&&(this._mode=e,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(e))}get matchType(){return this._matchType}set matchType(e){e!==this._matchType&&(this._matchType=e,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(e))}constructor(e,t,i,n,o,r={}){var a,l;this.tree=e,this.view=i,this.filter=n,this.contextViewProvider=o,this.options=r,this._pattern=\"\",this.width=0,this._onDidChangeMode=new B,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new B,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new B,this._onDidChangeOpenState=new B,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new Y,this.disposables=new Y,this._mode=(a=e.options.defaultFindMode)!==null&&a!==void 0?a:Lc.Highlight,this._matchType=(l=e.options.defaultFindMatchType)!==null&&l!==void 0?l:Tf.Fuzzy,t.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(e={}){e.defaultFindMode!==void 0&&(this.mode=e.defaultFindMode),e.defaultFindMatchType!==void 0&&(this.matchType=e.defaultFindMatchType)}onDidSpliceModel(){!this.widget||this.pattern.length===0||(this.tree.refilter(),this.render())}render(){var e,t,i,n;const o=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&o?!((e=this.tree.options.showNotFoundMessage)!==null&&e!==void 0)||e?(t=this.widget)===null||t===void 0||t.showMessage({type:2,content:p(\"not found\",\"No elements found.\")}):(i=this.widget)===null||i===void 0||i.showMessage({type:2}):(n=this.widget)===null||n===void 0||n.clearMessage()}shouldAllowFocus(e){return!this.widget||!this.pattern||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!el.isDefault(e.filterData)}layout(e){var t;this.width=e,(t=this.widget)===null||t===void 0||t.layout(e)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}};function Z1e(s,e){return s.position===e.position&&Bj(s,e)}function Bj(s,e){return s.node.element===e.node.element&&s.startIndex===e.startIndex&&s.height===e.height&&s.endIndex===e.endIndex}class X1e{constructor(e=[]){this.stickyNodes=e}get count(){return this.stickyNodes.length}equal(e){return Ci(this.stickyNodes,e.stickyNodes,Z1e)}lastNodePartiallyVisible(){if(this.count===0)return!1;const e=this.stickyNodes[this.count-1];if(this.count===1)return e.position!==0;const t=this.stickyNodes[this.count-2];return t.position+t.height!==e.position}animationStateChanged(e){if(!Ci(this.stickyNodes,e.stickyNodes,Bj)||this.count===0)return!1;const t=this.stickyNodes[this.count-1],i=e.stickyNodes[e.count-1];return t.position!==i.position}}class Y1e{constrainStickyScrollNodes(e,t,i){for(let n=0;n<e.length;n++){const o=e[n];if(o.position+o.height>i||n>=t)return e.slice(0,n)}return e}}let R6=class extends H{constructor(e,t,i,n,o,r={}){var a;super(),this.tree=e,this.model=t,this.view=i,this.treeDelegate=o,this.maxWidgetViewRatio=.4;const l=this.validateStickySettings(r);this.stickyScrollMaxItemCount=l.stickyScrollMaxItemCount,this.stickyScrollDelegate=(a=r.stickyScrollDelegate)!==null&&a!==void 0?a:new Y1e,this._widget=this._register(new Q1e(i.getScrollableElement(),i,e,n,o,r.accessibilityProvider)),this.onDidChangeHasFocus=this._widget.onDidChangeHasFocus,this.onContextMenu=this._widget.onContextMenu,this._register(i.onDidScroll(()=>this.update())),this._register(i.onDidChangeContentHeight(()=>this.update())),this._register(e.onDidChangeCollapseState(()=>this.update())),this.update()}get height(){return this._widget.height}getNodeAtHeight(e){let t;if(e===0?t=this.view.firstVisibleIndex:t=this.view.indexAt(e+this.view.scrollTop),!(t<0||t>=this.view.length))return this.view.element(t)}update(){const e=this.getNodeAtHeight(0);if(!e||this.tree.scrollTop===0){this._widget.setState(void 0);return}const t=this.findStickyState(e);this._widget.setState(t)}findStickyState(e){const t=[];let i=e,n=0,o=this.getNextStickyNode(i,void 0,n);for(;o&&(t.push(o),n+=o.height,!(t.length<=this.stickyScrollMaxItemCount&&(i=this.getNextVisibleNode(o),!i)));)o=this.getNextStickyNode(i,o.node,n);const r=this.constrainStickyNodes(t);return r.length?new X1e(r):void 0}getNextVisibleNode(e){return this.getNodeAtHeight(e.position+e.height)}getNextStickyNode(e,t,i){const n=this.getAncestorUnderPrevious(e,t);if(n&&!(n===e&&(!this.nodeIsUncollapsedParent(e)||this.nodeTopAlignsWithStickyNodesBottom(e,i))))return this.createStickyScrollNode(n,i)}nodeTopAlignsWithStickyNodesBottom(e,t){const i=this.getNodeIndex(e),n=this.view.getElementTop(i),o=t;return this.view.scrollTop===n-o}createStickyScrollNode(e,t){const i=this.treeDelegate.getHeight(e),{startIndex:n,endIndex:o}=this.getNodeRange(e),r=this.calculateStickyNodePosition(o,t,i);return{node:e,position:r,height:i,startIndex:n,endIndex:o}}getAncestorUnderPrevious(e,t=void 0){let i=e,n=this.getParentNode(i);for(;n;){if(n===t)return i;i=n,n=this.getParentNode(i)}if(t===void 0)return i}calculateStickyNodePosition(e,t,i){let n=this.view.getRelativeTop(e);if(n===null&&this.view.firstVisibleIndex===e&&e+1<this.view.length){const d=this.treeDelegate.getHeight(this.view.element(e)),c=this.view.getRelativeTop(e+1);n=c?c-d/this.view.renderHeight:null}if(n===null)return t;const o=this.view.element(e),r=this.treeDelegate.getHeight(o),l=n*this.view.renderHeight+r;return t+i>l&&t<=l?l-i:t}constrainStickyNodes(e){if(e.length===0)return[];const t=this.view.renderHeight*this.maxWidgetViewRatio,i=e[e.length-1];if(e.length<=this.stickyScrollMaxItemCount&&i.position+i.height<=t)return e;const n=this.stickyScrollDelegate.constrainStickyScrollNodes(e,this.stickyScrollMaxItemCount,t);if(!n.length)return[];const o=n[n.length-1];if(n.length>this.stickyScrollMaxItemCount||o.position+o.height>t)throw new Error(\"stickyScrollDelegate violates constraints\");return n}getParentNode(e){const t=this.model.getNodeLocation(e),i=this.model.getParentNodeLocation(t);return i?this.model.getNode(i):void 0}nodeIsUncollapsedParent(e){const t=this.model.getNodeLocation(e);return this.model.getListRenderCount(t)>1}getNodeIndex(e){const t=this.model.getNodeLocation(e);return this.model.getListIndex(t)}getNodeRange(e){const t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);if(i<0)throw new Error(\"Node not found in tree\");const n=this.model.getListRenderCount(t),o=i+n-1;return{startIndex:i,endIndex:o}}nodePositionTopBelowWidget(e){const t=[];let i=this.getParentNode(e);for(;i;)t.push(i),i=this.getParentNode(i);let n=0;for(let o=0;o<t.length&&o<this.stickyScrollMaxItemCount;o++)n+=this.treeDelegate.getHeight(t[o]);return n}domFocus(){this._widget.domFocus()}focusedLast(){return this._widget.focusedLast()}updateOptions(e={}){if(!e.stickyScrollMaxItemCount)return;const t=this.validateStickySettings(e);this.stickyScrollMaxItemCount!==t.stickyScrollMaxItemCount&&(this.stickyScrollMaxItemCount=t.stickyScrollMaxItemCount,this.update())}validateStickySettings(e){let t=7;return typeof e.stickyScrollMaxItemCount==\"number\"&&(t=Math.max(e.stickyScrollMaxItemCount,1)),{stickyScrollMaxItemCount:t}}},Q1e=class{constructor(e,t,i,n,o,r){this.view=t,this.tree=i,this.treeRenderers=n,this.treeDelegate=o,this.accessibilityProvider=r,this._previousElements=[],this._previousStateDisposables=new Y,this._rootDomNode=he(\".monaco-tree-sticky-container.empty\"),e.appendChild(this._rootDomNode);const a=he(\".monaco-tree-sticky-container-shadow\");this._rootDomNode.appendChild(a),this.stickyScrollFocus=new J1e(this._rootDomNode,t),this.onDidChangeHasFocus=this.stickyScrollFocus.onDidChangeHasFocus,this.onContextMenu=this.stickyScrollFocus.onContextMenu}get height(){if(!this._previousState)return 0;const e=this._previousState.stickyNodes[this._previousState.count-1];return e.position+e.height}setState(e){const t=!!this._previousState&&this._previousState.count>0,i=!!e&&e.count>0;if(!t&&!i||t&&i&&this._previousState.equal(e))return;if(t!==i&&this.setVisible(i),!i){this._previousState=void 0,this._previousElements=[],this._previousStateDisposables.clear();return}const n=e.stickyNodes[e.count-1];if(this._previousState&&e.animationStateChanged(this._previousState))this._previousElements[this._previousState.count-1].style.top=`${n.position}px`;else{this._previousStateDisposables.clear();const o=Array(e.count);for(let r=e.count-1;r>=0;r--){const a=e.stickyNodes[r],{element:l,disposable:d}=this.createElement(a,r,e.count);o[r]=l,this._rootDomNode.appendChild(l),this._previousStateDisposables.add(d)}this.stickyScrollFocus.updateElements(o,e),this._previousElements=o}this._previousState=e,this._rootDomNode.style.height=`${n.position+n.height}px`}createElement(e,t,i){const n=e.startIndex,o=document.createElement(\"div\");o.style.top=`${e.position}px`,this.tree.options.setRowHeight!==!1&&(o.style.height=`${e.height}px`),this.tree.options.setRowLineHeight!==!1&&(o.style.lineHeight=`${e.height}px`),o.classList.add(\"monaco-tree-sticky-row\"),o.classList.add(\"monaco-list-row\"),o.setAttribute(\"data-index\",`${n}`),o.setAttribute(\"data-parity\",n%2===0?\"even\":\"odd\"),o.setAttribute(\"id\",this.view.getElementID(n));const r=this.setAccessibilityAttributes(o,e.node.element,t,i),a=this.treeDelegate.getTemplateId(e.node),l=this.treeRenderers.find(h=>h.templateId===a);if(!l)throw new Error(`No renderer found for template id ${a}`);let d=e.node;d===this.tree.getNode(this.tree.getNodeLocation(e.node))&&(d=new Proxy(e.node,{}));const c=l.renderTemplate(o);l.renderElement(d,e.startIndex,c,e.height);const u=Ie(()=>{r.dispose(),l.disposeElement(d,e.startIndex,c,e.height),l.disposeTemplate(c),o.remove()});return{element:o,disposable:u}}setAccessibilityAttributes(e,t,i,n){var o;if(!this.accessibilityProvider)return H.None;this.accessibilityProvider.getSetSize&&e.setAttribute(\"aria-setsize\",String(this.accessibilityProvider.getSetSize(t,i,n))),this.accessibilityProvider.getPosInSet&&e.setAttribute(\"aria-posinset\",String(this.accessibilityProvider.getPosInSet(t,i))),this.accessibilityProvider.getRole&&e.setAttribute(\"role\",(o=this.accessibilityProvider.getRole(t))!==null&&o!==void 0?o:\"treeitem\");const r=this.accessibilityProvider.getAriaLabel(t),a=r&&typeof r!=\"string\"?r:Ga(r),l=st(c=>{const u=c.readObservable(a);u?e.setAttribute(\"aria-label\",u):e.removeAttribute(\"aria-label\")});typeof r==\"string\"||r&&e.setAttribute(\"aria-label\",r.get());const d=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(t);return typeof d==\"number\"&&e.setAttribute(\"aria-level\",`${d}`),e.setAttribute(\"aria-selected\",String(!1)),l}setVisible(e){this._rootDomNode.classList.toggle(\"empty\",!e),e||this.stickyScrollFocus.updateElements([],void 0)}domFocus(){this.stickyScrollFocus.domFocus()}focusedLast(){return this.stickyScrollFocus.focusedLast()}dispose(){this.stickyScrollFocus.dispose(),this._previousStateDisposables.dispose(),this._rootDomNode.remove()}};class J1e extends H{get domHasFocus(){return this._domHasFocus}set domHasFocus(e){e!==this._domHasFocus&&(this._onDidChangeHasFocus.fire(e),this._domHasFocus=e)}constructor(e,t){super(),this.container=e,this.view=t,this.focusedIndex=-1,this.elements=[],this._onDidChangeHasFocus=new B,this.onDidChangeHasFocus=this._onDidChangeHasFocus.event,this._onContextMenu=new B,this.onContextMenu=this._onContextMenu.event,this._domHasFocus=!1,this.container.addEventListener(\"focus\",()=>this.onFocus()),this.container.addEventListener(\"blur\",()=>this.onBlur()),this._register(this.view.onDidFocus(()=>this.toggleStickyScrollFocused(!1))),this._register(this.view.onKeyDown(i=>this.onKeyDown(i))),this._register(this.view.onMouseDown(i=>this.onMouseDown(i))),this._register(this.view.onContextMenu(i=>this.handleContextMenu(i)))}handleContextMenu(e){const t=e.browserEvent.target;if(!fC(t)&&!lb(t)){this.focusedLast()&&this.view.domFocus();return}if(!Iu(e.browserEvent)){if(!this.state)throw new Error(\"Context menu should not be triggered when state is undefined\");const r=this.state.stickyNodes.findIndex(a=>{var l;return a.node.element===((l=e.element)===null||l===void 0?void 0:l.element)});if(r===-1)throw new Error(\"Context menu should not be triggered when element is not in sticky scroll widget\");this.container.focus(),this.setFocus(r);return}if(!this.state||this.focusedIndex<0)throw new Error(\"Context menu key should not be triggered when focus is not in sticky scroll widget\");const n=this.state.stickyNodes[this.focusedIndex].node.element,o=this.elements[this.focusedIndex];this._onContextMenu.fire({element:n,anchor:o,browserEvent:e.browserEvent,isStickyScroll:!0})}onKeyDown(e){if(this.domHasFocus&&this.state){if(e.key===\"ArrowUp\")this.setFocusedElement(Math.max(0,this.focusedIndex-1)),e.preventDefault(),e.stopPropagation();else if(e.key===\"ArrowDown\"||e.key===\"ArrowRight\"){if(this.focusedIndex>=this.state.count-1){const t=this.state.stickyNodes[this.state.count-1].startIndex+1;this.view.domFocus(),this.view.setFocus([t]),this.scrollNodeUnderWidget(t,this.state)}else this.setFocusedElement(this.focusedIndex+1);e.preventDefault(),e.stopPropagation()}}}onMouseDown(e){const t=e.browserEvent.target;!fC(t)&&!lb(t)||(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation())}updateElements(e,t){if(t&&t.count===0)throw new Error(\"Sticky scroll state must be undefined when there are no sticky nodes\");if(t&&t.count!==e.length)throw new Error(\"Sticky scroll focus received illigel state\");const i=this.focusedIndex;if(this.removeFocus(),this.elements=e,this.state=t,t){const n=xs(i,0,t.count-1);this.setFocus(n)}else this.domHasFocus&&this.view.domFocus();this.container.tabIndex=t?0:-1}setFocusedElement(e){const t=this.state;if(!t)throw new Error(\"Cannot set focus when state is undefined\");if(this.setFocus(e),!(e<t.count-1)&&t.lastNodePartiallyVisible()){const i=t.stickyNodes[e];this.scrollNodeUnderWidget(i.endIndex+1,t)}}scrollNodeUnderWidget(e,t){const i=t.stickyNodes[t.count-1],n=t.count>1?t.stickyNodes[t.count-2]:void 0,o=this.view.getElementTop(e),r=n?n.position+n.height+i.height:i.height;this.view.scrollTop=o-r}domFocus(){if(!this.state)throw new Error(\"Cannot focus when state is undefined\");this.container.focus()}focusedLast(){return this.state?this.view.getHTMLElement().classList.contains(\"sticky-scroll-focused\"):!1}removeFocus(){this.focusedIndex!==-1&&(this.toggleElementFocus(this.elements[this.focusedIndex],!1),this.focusedIndex=-1)}setFocus(e){if(0>e)throw new Error(\"addFocus() can not remove focus\");if(!this.state&&e>=0)throw new Error(\"Cannot set focus index when state is undefined\");if(this.state&&e>=this.state.count)throw new Error(\"Cannot set focus index to an index that does not exist\");const t=this.focusedIndex;t>=0&&this.toggleElementFocus(this.elements[t],!1),e>=0&&this.toggleElementFocus(this.elements[e],!0),this.focusedIndex=e}toggleElementFocus(e,t){this.toggleElementActiveFocus(e,t&&this.domHasFocus),this.toggleElementPassiveFocus(e,t)}toggleCurrentElementActiveFocus(e){this.focusedIndex!==-1&&this.toggleElementActiveFocus(this.elements[this.focusedIndex],e)}toggleElementActiveFocus(e,t){e.classList.toggle(\"focused\",t)}toggleElementPassiveFocus(e,t){e.classList.toggle(\"passive-focused\",t)}toggleStickyScrollFocused(e){this.view.getHTMLElement().classList.toggle(\"sticky-scroll-focused\",e)}onFocus(){if(!this.state||this.elements.length===0)throw new Error(\"Cannot focus when state is undefined or elements are empty\");this.domHasFocus=!0,this.toggleStickyScrollFocused(!0),this.toggleCurrentElementActiveFocus(!0),this.focusedIndex===-1&&this.setFocus(0)}onBlur(){this.domHasFocus=!1,this.toggleCurrentElementActiveFocus(!1)}dispose(){this.toggleStickyScrollFocused(!1),this._onDidChangeHasFocus.fire(!1),super.dispose()}}function Qw(s){let e=ef.Unknown;return jE(s.browserEvent.target,\"monaco-tl-twistie\",\"monaco-tl-row\")?e=ef.Twistie:jE(s.browserEvent.target,\"monaco-tl-contents\",\"monaco-tl-row\")?e=ef.Element:jE(s.browserEvent.target,\"monaco-tree-type-filter\",\"monaco-list\")&&(e=ef.Filter),{browserEvent:s.browserEvent,element:s.element?s.element.element:null,target:e}}function ewe(s){const e=fC(s.browserEvent.target);return{element:s.element?s.element.element:null,browserEvent:s.browserEvent,anchor:s.anchor,isStickyScroll:e}}function iS(s,e){e(s),s.children.forEach(t=>iS(t,e))}class KI{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new B,this.onDidChange=this._onDidChange.event}set(e,t){!(t!=null&&t.__forceEvent)&&Ci(this.nodes,e)||this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const n=this;this._onDidChange.fire({get elements(){return n.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const l=this.createNodeSet(),d=c=>l.delete(c);t.forEach(c=>iS(c,d)),this.set([...l.values()]);return}const i=new Set,n=l=>i.add(this.identityProvider.getId(l.element).toString());t.forEach(l=>iS(l,n));const o=new Map,r=l=>o.set(this.identityProvider.getId(l.element).toString(),l);e.forEach(l=>iS(l,r));const a=[];for(const l of this.nodes){const d=this.identityProvider.getId(l.element).toString();if(!i.has(d))a.push(l);else{const u=o.get(d);u&&u.visible&&a.push(u)}}if(this.nodes.length>0&&a.length===0){const l=this.getFirstViewElementWithTrait();l&&a.push(l)}this._set(a,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class twe extends yj{constructor(e,t,i){super(e),this.tree=t,this.stickyScrollProvider=i}onViewPointer(e){if(vj(e.browserEvent.target)||ch(e.browserEvent.target)||kv(e.browserEvent.target)||e.browserEvent.isHandledByList)return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const i=e.browserEvent.target,n=i.classList.contains(\"monaco-tl-twistie\")||i.classList.contains(\"monaco-icon-label\")&&i.classList.contains(\"folder-icon\")&&e.browserEvent.offsetX<16,o=lb(e.browserEvent.target);let r=!1;if(o?r=!0:typeof this.tree.expandOnlyOnTwistieClick==\"function\"?r=this.tree.expandOnlyOnTwistieClick(t.element):r=!!this.tree.expandOnlyOnTwistieClick,o)this.handleStickyScrollMouseEvent(e,t);else{if(r&&!n&&e.browserEvent.detail!==2)return super.onViewPointer(e);if(!this.tree.expandOnDoubleClick&&e.browserEvent.detail===2)return super.onViewPointer(e)}if(t.collapsible&&(!o||n)){const a=this.tree.getNodeLocation(t),l=e.browserEvent.altKey;if(this.tree.setFocus([a]),this.tree.toggleCollapsed(a,l),n){e.browserEvent.isHandledByList=!0;return}}o||super.onViewPointer(e)}handleStickyScrollMouseEvent(e,t){if(DCe(e.browserEvent.target)||LCe(e.browserEvent.target))return;const i=this.stickyScrollProvider();if(!i)throw new Error(\"Sticky scroll controller not found\");const n=this.list.indexOf(t),o=this.list.getElementTop(n),r=i.nodePositionTopBelowWidget(t);this.tree.scrollTop=o-r,this.list.domFocus(),this.list.setFocus([n]),this.list.setSelection([n])}onDoubleClick(e){e.browserEvent.target.classList.contains(\"monaco-tl-twistie\")||!this.tree.expandOnDoubleClick||e.browserEvent.isHandledByList||super.onDoubleClick(e)}onMouseDown(e){const t=e.browserEvent.target;if(!fC(t)&&!lb(t)){super.onMouseDown(e);return}}onContextMenu(e){const t=e.browserEvent.target;if(!fC(t)&&!lb(t)){super.onContextMenu(e);return}}}class iwe extends pr{constructor(e,t,i,n,o,r,a,l){super(e,t,i,n,l),this.focusTrait=o,this.selectionTrait=r,this.anchorTrait=a}createMouseController(e){return new twe(this,e.tree,e.stickyScrollProvider)}splice(e,t,i=[]){if(super.splice(e,t,i),i.length===0)return;const n=[],o=[];let r;i.forEach((a,l)=>{this.focusTrait.has(a)&&n.push(e+l),this.selectionTrait.has(a)&&o.push(e+l),this.anchorTrait.has(a)&&(r=e+l)}),n.length>0&&super.setFocus(Wc([...super.getFocus(),...n])),o.length>0&&super.setSelection(Wc([...super.getSelection(),...o])),typeof r==\"number\"&&super.setAnchor(r)}setFocus(e,t,i=!1){super.setFocus(e,t),i||this.focusTrait.set(e.map(n=>this.element(n)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(n=>this.element(n)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(typeof e>\"u\"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class Wj{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return le.filter(le.map(this.view.onMouseDblClick,Qw),e=>e.target!==ef.Filter)}get onMouseOver(){return le.map(this.view.onMouseOver,Qw)}get onMouseOut(){return le.map(this.view.onMouseOut,Qw)}get onContextMenu(){var e,t;return le.any(le.filter(le.map(this.view.onContextMenu,ewe),i=>!i.isStickyScroll),(t=(e=this.stickyScrollController)===null||e===void 0?void 0:e.onContextMenu)!==null&&t!==void 0?t:le.None)}get onPointer(){return le.map(this.view.onPointer,Qw)}get onKeyDown(){return this.view.onKeyDown}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return le.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var e,t;return(t=(e=this.findController)===null||e===void 0?void 0:e.mode)!==null&&t!==void 0?t:Lc.Highlight}set findMode(e){this.findController&&(this.findController.mode=e)}get findMatchType(){var e,t;return(t=(e=this.findController)===null||e===void 0?void 0:e.matchType)!==null&&t!==void 0?t:Tf.Fuzzy}set findMatchType(e){this.findController&&(this.findController.matchType=e)}get expandOnDoubleClick(){return typeof this._options.expandOnDoubleClick>\"u\"?!0:this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return typeof this._options.expandOnlyOnTwistieClick>\"u\"?!0:this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(e,t,i,n,o={}){var r;this._user=e,this._options=o,this.eventBufferer=new KP,this.onDidChangeFindOpenState=le.None,this.onDidChangeStickyScrollFocused=le.None,this.disposables=new Y,this._onWillRefilter=new B,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new B,this.treeDelegate=new NO(i);const a=new t3,l=new t3,d=this.disposables.add(new K1e(l.event)),c=new _F;this.renderers=n.map(m=>new mC(m,()=>this.model,a.event,d,c,o));for(const m of this.renderers)this.disposables.add(m);let u;o.keyboardNavigationLabelProvider&&(u=new q1e(this,o.keyboardNavigationLabelProvider,o.filter),o={...o,filter:u},this.disposables.add(u)),this.focus=new KI(()=>this.view.getFocusedElements()[0],o.identityProvider),this.selection=new KI(()=>this.view.getSelectedElements()[0],o.identityProvider),this.anchor=new KI(()=>this.view.getAnchorElement(),o.identityProvider),this.view=new iwe(e,t,this.treeDelegate,this.renderers,this.focus,this.selection,this.anchor,{...j1e(()=>this.model,o),tree:this,stickyScrollProvider:()=>this.stickyScrollController}),this.model=this.createModel(e,this.view,o),a.input=this.model.onDidChangeCollapseState;const h=le.forEach(this.model.onDidSplice,m=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(m),this.selection.onDidModelSplice(m)})},this.disposables);h(()=>null,null,this.disposables);const g=this.disposables.add(new B),f=this.disposables.add(new _a(0));if(this.disposables.add(le.any(h,this.focus.onDidChange,this.selection.onDidChange)(()=>{f.trigger(()=>{const m=new Set;for(const _ of this.focus.getNodes())m.add(_);for(const _ of this.selection.getNodes())m.add(_);g.fire([...m.values()])})})),l.input=g.event,o.keyboardSupport!==!1){const m=le.chain(this.view.onKeyDown,_=>_.filter(v=>!ch(v.target)).map(v=>new Kt(v)));le.chain(m,_=>_.filter(v=>v.keyCode===15))(this.onLeftArrow,this,this.disposables),le.chain(m,_=>_.filter(v=>v.keyCode===17))(this.onRightArrow,this,this.disposables),le.chain(m,_=>_.filter(v=>v.keyCode===10))(this.onSpace,this,this.disposables)}if((!((r=o.findWidgetEnabled)!==null&&r!==void 0)||r)&&o.keyboardNavigationLabelProvider&&o.contextViewProvider){const m=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new G1e(this,this.model,this.view,u,o.contextViewProvider,m),this.focusNavigationFilter=_=>this.findController.shouldAllowFocus(_),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=le.None,this.onDidChangeFindMatchType=le.None;o.enableStickyScroll&&(this.stickyScrollController=new R6(this,this.model,this.view,this.renderers,this.treeDelegate,o),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus),this.styleElement=ar(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle(\"always\",this._options.renderIndentGuides===M_.Always)}updateOptions(e={}){var t;this._options={...this._options,...e};for(const i of this.renderers)i.updateOptions(e);this.view.updateOptions(this._options),(t=this.findController)===null||t===void 0||t.updateOptions(e),this.updateStickyScroll(e),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle(\"always\",this._options.renderIndentGuides===M_.Always)}get options(){return this._options}updateStickyScroll(e){var t;!this.stickyScrollController&&this._options.enableStickyScroll?(this.stickyScrollController=new R6(this,this.model,this.view,this.renderers,this.treeDelegate,this._options),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus):this.stickyScrollController&&!this._options.enableStickyScroll&&(this.onDidChangeStickyScrollFocused=le.None,this.stickyScrollController.dispose(),this.stickyScrollController=void 0),(t=this.stickyScrollController)===null||t===void 0||t.updateOptions(e)}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get ariaLabel(){return this.view.ariaLabel}set ariaLabel(e){this.view.ariaLabel=e}domFocus(){var e;!((e=this.stickyScrollController)===null||e===void 0)&&e.focusedLast()?this.stickyScrollController.domFocus():this.view.domFocus()}layout(e,t){var i;this.view.layout(e,t),yh(t)&&((i=this.findController)===null||i===void 0||i.layout(t))}style(e){var t,i;const n=`.${this.view.domId}`,o=[];e.treeIndentGuidesStroke&&(o.push(`.monaco-list${n}:hover .monaco-tl-indent > .indent-guide, .monaco-list${n}.always .monaco-tl-indent > .indent-guide  { border-color: ${e.treeInactiveIndentGuidesStroke}; }`),o.push(`.monaco-list${n} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));const r=(t=e.treeStickyScrollBackground)!==null&&t!==void 0?t:e.listBackground;r&&(o.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { background-color: ${r}; }`),o.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row { background-color: ${r}; }`)),e.treeStickyScrollBorder&&o.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { border-bottom: 1px solid ${e.treeStickyScrollBorder}; }`),e.treeStickyScrollShadow&&o.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow { box-shadow: ${e.treeStickyScrollShadow} 0 6px 6px -6px inset; height: 3px; }`),e.listFocusForeground&&(o.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),o.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { color: inherit; }`));const a=Ec(e.listFocusAndSelectionOutline,Ec(e.listSelectionOutline,(i=e.listFocusOutline)!==null&&i!==void 0?i:\"\"));a&&(o.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused.selected { outline: 1px solid ${a}; outline-offset: -1px;}`),o.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused.selected { outline: inherit;}`)),e.listFocusOutline&&(o.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),o.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { outline: inherit; }`),o.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.passive-focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),o.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`),o.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused:not(.sticky-scroll-focused) .monaco-tree-sticky-container .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`)),this.styleElement.textContent=o.join(`\n`),this.view.style(e)}getParentElement(e){const t=this.model.getParentNodeLocation(e);return this.model.getNode(t).element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}getNodeLocation(e){return this.model.getNodeLocation(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}toggleCollapsed(e,t=!1){return this.model.setCollapsed(e,void 0,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){this.eventBufferer.bufferEvents(()=>{const i=e.map(o=>this.model.getNode(o));this.selection.set(i,t);const n=e.map(o=>this.model.getListIndex(o)).filter(o=>o>-1);this.view.setSelection(n,t,!0)})}getSelection(){return this.selection.get()}setFocus(e,t){this.eventBufferer.bufferEvents(()=>{const i=e.map(o=>this.model.getNode(o));this.focus.set(i,t);const n=e.map(o=>this.model.getListIndex(o)).filter(o=>o>-1);this.view.setFocus(n,t,!0)})}focusNext(e=1,t=!1,i,n=Iu(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusNext(e,t,i,n)}focusPrevious(e=1,t=!1,i,n=Iu(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusPrevious(e,t,i,n)}focusNextPage(e,t=Iu(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusNextPage(e,t)}focusPreviousPage(e,t=Iu(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusPreviousPage(e,t,()=>{var i,n;return(n=(i=this.stickyScrollController)===null||i===void 0?void 0:i.height)!==null&&n!==void 0?n:0})}focusFirst(e,t=Iu(e)&&e.altKey?void 0:this.focusNavigationFilter){this.view.focusFirst(e,t)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const i=this.model.getListIndex(e);if(i!==-1)if(!this.stickyScrollController)this.view.reveal(i,t);else{const n=this.stickyScrollController.nodePositionTopBelowWidget(this.getNode(e));this.view.reveal(i,t,n)}}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(t.length===0)return;const i=t[0],n=this.model.getNodeLocation(i);if(!this.model.setCollapsed(n,!0)){const r=this.model.getParentNodeLocation(n);if(!r)return;const a=this.model.getListIndex(r);this.view.reveal(a),this.view.setFocus([a])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(t.length===0)return;const i=t[0],n=this.model.getNodeLocation(i);if(!this.model.setCollapsed(n,!1)){if(!i.children.some(l=>l.visible))return;const[r]=this.view.getFocus(),a=r+1;this.view.reveal(a),this.view.setFocus([a])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(t.length===0)return;const i=t[0],n=this.model.getNodeLocation(i),o=e.browserEvent.altKey;this.model.setCollapsed(n,void 0,o)}dispose(){var e;jt(this.disposables),(e=this.stickyScrollController)===null||e===void 0||e.dispose(),this.view.dispose()}}class AO{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new z1e(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare(n,o){return i.sorter.compare(n.element,o.element)}}),this.identityProvider=i.identityProvider}setChildren(e,t=ft.empty(),i={}){const n=this.getElementLocation(e);this._setChildren(n,this.preserveCollapseState(t),i)}_setChildren(e,t=ft.empty(),i){const n=new Set,o=new Set,r=l=>{var d;if(l.element===null)return;const c=l;if(n.add(c.element),this.nodes.set(c.element,c),this.identityProvider){const u=this.identityProvider.getId(c.element).toString();o.add(u),this.nodesByIdentity.set(u,c)}(d=i.onDidCreateNode)===null||d===void 0||d.call(i,c)},a=l=>{var d;if(l.element===null)return;const c=l;if(n.has(c.element)||this.nodes.delete(c.element),this.identityProvider){const u=this.identityProvider.getId(c.element).toString();o.has(u)||this.nodesByIdentity.delete(u)}(d=i.onDidDeleteNode)===null||d===void 0||d.call(i,c)};this.model.splice([...e,0],Number.MAX_VALUE,t,{...i,onDidCreateNode:r,onDidDeleteNode:a})}preserveCollapseState(e=ft.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),ft.map(e,t=>{let i=this.nodes.get(t.element);if(!i&&this.identityProvider){const r=this.identityProvider.getId(t.element).toString();i=this.nodesByIdentity.get(r)}if(!i){let r;return typeof t.collapsed>\"u\"?r=void 0:t.collapsed===Ko.Collapsed||t.collapsed===Ko.PreserveOrCollapsed?r=!0:t.collapsed===Ko.Expanded||t.collapsed===Ko.PreserveOrExpanded?r=!1:r=!!t.collapsed,{...t,children:this.preserveCollapseState(t.children),collapsed:r}}const n=typeof t.collapsible==\"boolean\"?t.collapsible:i.collapsible;let o;return typeof t.collapsed>\"u\"||t.collapsed===Ko.PreserveOrCollapsed||t.collapsed===Ko.PreserveOrExpanded?o=i.collapsed:t.collapsed===Ko.Collapsed?o=!0:t.collapsed===Ko.Expanded?o=!1:o=!!t.collapsed,{...t,collapsible:n,collapsed:o,children:this.preserveCollapseState(t.children)}})}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){const t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const i=this.getElementLocation(e);return this.model.setCollapsible(i,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){const n=this.getElementLocation(e);return this.model.setCollapsed(n,t,i)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(e===null)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new Xo(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(e===null)throw new Xo(this.user,\"Invalid getParentNodeLocation call\");const t=this.nodes.get(e);if(!t)throw new Xo(this.user,`Tree element not found: ${e}`);const i=this.model.getNodeLocation(t),n=this.model.getParentNodeLocation(i);return this.model.getNode(n).element}getElementLocation(e){if(e===null)return[];const t=this.nodes.get(e);if(!t)throw new Xo(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function nS(s){const e=[s.element],t=s.incompressible||!1;return{element:{elements:e,incompressible:t},children:ft.map(ft.from(s.children),nS),collapsible:s.collapsible,collapsed:s.collapsed}}function sS(s){const e=[s.element],t=s.incompressible||!1;let i,n;for(;[n,i]=ft.consume(ft.from(s.children),2),!(n.length!==1||n[0].incompressible);)s=n[0],e.push(s.element);return{element:{elements:e,incompressible:t},children:ft.map(ft.concat(n,i),sS),collapsible:s.collapsible,collapsed:s.collapsed}}function B2(s,e=0){let t;return e<s.element.elements.length-1?t=[B2(s,e+1)]:t=ft.map(ft.from(s.children),i=>B2(i,0)),e===0&&s.element.incompressible?{element:s.element.elements[e],children:t,incompressible:!0,collapsible:s.collapsible,collapsed:s.collapsed}:{element:s.element.elements[e],children:t,collapsible:s.collapsible,collapsed:s.collapsed}}function P6(s){return B2(s,0)}function Hj(s,e,t){return s.element===e?{...s,children:t}:{...s,children:ft.map(ft.from(s.children),i=>Hj(i,e,t))}}const nwe=s=>({getId(e){return e.elements.map(t=>s.getId(t).toString()).join(\"\\0\")}});class swe{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new AO(e,t,i),this.enabled=typeof i.compressionEnabled>\"u\"?!0:i.compressionEnabled,this.identityProvider=i.identityProvider}setChildren(e,t=ft.empty(),i){const n=i.diffIdentityProvider&&nwe(i.diffIdentityProvider);if(e===null){const f=ft.map(t,this.enabled?sS:nS);this._setChildren(null,f,{diffIdentityProvider:n,diffDepth:1/0});return}const o=this.nodes.get(e);if(!o)throw new Xo(this.user,\"Unknown compressed tree node\");const r=this.model.getNode(o),a=this.model.getParentNodeLocation(o),l=this.model.getNode(a),d=P6(r),c=Hj(d,e,t),u=(this.enabled?sS:nS)(c),h=i.diffIdentityProvider?(f,m)=>i.diffIdentityProvider.getId(f)===i.diffIdentityProvider.getId(m):void 0;if(Ci(u.element.elements,r.element.elements,h)){this._setChildren(o,u.children||ft.empty(),{diffIdentityProvider:n,diffDepth:1});return}const g=l.children.map(f=>f===r?u:f);this._setChildren(l.element,g,{diffIdentityProvider:n,diffDepth:r.depth-l.depth})}isCompressionEnabled(){return this.enabled}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const i=this.model.getNode().children,n=ft.map(i,P6),o=ft.map(n,e?sS:nS);this._setChildren(null,o,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,i){const n=new Set,o=a=>{for(const l of a.element.elements)n.add(l),this.nodes.set(l,a.element)},r=a=>{for(const l of a.element.elements)n.has(l)||this.nodes.delete(l)};this.model.setChildren(e,t,{...i,onDidCreateNode:o,onDidDeleteNode:r})}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(typeof e>\"u\")return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return t===null?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),i=this.model.getParentNodeLocation(t);return i===null?null:i.elements[i.elements.length-1]}getFirstElementChild(e){const t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const i=this.getCompressedNode(e);return this.model.setCollapsible(i,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){const n=this.getCompressedNode(e);return this.model.setCollapsed(n,t,i)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(e===null)return null;const t=this.nodes.get(e);if(!t)throw new Xo(this.user,`Tree element not found: ${e}`);return t}}const owe=s=>s[s.length-1];class MO{get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new MO(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e,t){this.unwrapper=e,this.node=t}}function rwe(s,e){return{splice(t,i,n){e.splice(t,i,n.map(o=>s.map(o)))},updateElementHeight(t,i){e.updateElementHeight(t,i)}}}function awe(s,e){return{...e,identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(s(t))}},sorter:e.sorter&&{compare(t,i){return e.sorter.compare(t.elements[0],i.elements[0])}},filter:e.filter&&{filter(t,i){return e.filter.filter(s(t),i)}}}}class lwe{get onDidSplice(){return le.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(i=>this.nodeMapper.map(i)),deletedNodes:t.map(i=>this.nodeMapper.map(i))}))}get onDidChangeCollapseState(){return le.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return le.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}constructor(e,t,i={}){this.rootRef=null,this.elementMapper=i.elementMapper||owe;const n=o=>this.elementMapper(o.elements);this.nodeMapper=new IO(o=>new MO(n,o)),this.model=new swe(e,rwe(this.nodeMapper,t),awe(n,i))}setChildren(e,t=ft.empty(),i={}){this.model.setChildren(e,t,i)}isCompressionEnabled(){return this.model.isCompressionEnabled()}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){const t=this.model.getFirstElementChild(e);return t===null||typeof t>\"u\"?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var dwe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o};class RO extends Wj{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(e,t,i,n,o={}){super(e,t,i,n,o),this.user=e}setChildren(e,t=ft.empty(),i){this.model.setChildren(e,t,i)}rerender(e){if(e===void 0){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new AO(e,t,i)}}class Vj{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(e,t,i){this._compressedTreeNodeProvider=e,this.stickyScrollDelegate=t,this.renderer=i,this.templateId=i.templateId,i.onDidChangeTwistieState&&(this.onDidChangeTwistieState=i.onDidChangeTwistieState)}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){let o=this.stickyScrollDelegate.getCompressedNode(e);o||(o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element)),o.element.elements.length===1?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,i.data,n))}disposeElement(e,t,i,n){var o,r,a,l;i.compressedTreeNode?(r=(o=this.renderer).disposeCompressedElements)===null||r===void 0||r.call(o,i.compressedTreeNode,t,i.data,n):(l=(a=this.renderer).disposeElement)===null||l===void 0||l.call(a,e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return this.renderer.renderTwistie?this.renderer.renderTwistie(e,t):!1}}dwe([zi],Vj.prototype,\"compressedTreeNodeProvider\",null);class cwe{constructor(e){this.modelProvider=e,this.compressedStickyNodes=new Map}getCompressedNode(e){return this.compressedStickyNodes.get(e)}constrainStickyScrollNodes(e,t,i){if(this.compressedStickyNodes.clear(),e.length===0)return[];for(let n=0;n<e.length;n++){const o=e[n],r=o.position+o.height;if(n+1<e.length&&r+e[n+1].height>i||n>=t-1&&t<e.length){const l=e.slice(0,n),d=e.slice(n),c=this.compressStickyNodes(d);return[...l,c]}}return e}compressStickyNodes(e){if(e.length===0)throw new Error(\"Can't compress empty sticky nodes\");const t=this.modelProvider();if(!t.isCompressionEnabled())return e[0];const i=[];for(let d=0;d<e.length;d++){const c=e[d],u=t.getCompressedTreeNode(c.node.element);if(u.element){if(d!==0&&u.element.incompressible)break;i.push(...u.element.elements)}}if(i.length<2)return e[0];const n=e[e.length-1],o={elements:i,incompressible:!1},r={...n.node,children:[],element:o},a=new Proxy(e[0].node,{}),l={node:a,startIndex:e[0].startIndex,endIndex:n.endIndex,position:e[0].position,height:e[0].height};return this.compressedStickyNodes.set(a,r),l}}function uwe(s,e){return e&&{...e,keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(t){let i;try{i=s().getCompressedTreeNode(t)}catch{return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t)}return i.element.elements.length===1?e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t):e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}}}class zj extends RO{constructor(e,t,i,n,o={}){const r=()=>this,a=new cwe(()=>this.model),l=n.map(d=>new Vj(r,a,d));super(e,t,i,l,{...uwe(r,o),stickyScrollDelegate:a})}setChildren(e,t=ft.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new lwe(e,t,i)}updateOptions(e={}){super.updateOptions(e),typeof e.compressionEnabled<\"u\"&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}function qI(s){return{...s,children:[],refreshPromise:void 0,stale:!0,slow:!1,forceExpanded:!1}}function W2(s,e){return e.parent?e.parent===s?!0:W2(s,e.parent):!1}function hwe(s,e){return s===e||W2(s,e)||W2(e,s)}class PO{get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new PO(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class gwe{constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...Pe.asClassNameArray(oe.treeItemLoading)),!0):(t.classList.remove(...Pe.asClassNameArray(oe.treeItemLoading)),!1)}disposeElement(e,t,i,n){var o,r;(r=(o=this.renderer).disposeElement)===null||r===void 0||r.call(o,this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function F6(s){return{browserEvent:s.browserEvent,elements:s.elements.map(e=>e.element)}}function O6(s){return{browserEvent:s.browserEvent,element:s.element&&s.element.element,target:s.target}}class fwe extends k1{constructor(e){super(e.elements.map(t=>t.element)),this.data=e}}function GI(s){return s instanceof k1?new fwe(s):s}class pwe{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(i=>i.element),t)}onDragStart(e,t){var i,n;(n=(i=this.dnd).onDragStart)===null||n===void 0||n.call(i,GI(e),t)}onDragOver(e,t,i,n,o,r=!0){return this.dnd.onDragOver(GI(e),t&&t.element,i,n,o)}drop(e,t,i,n,o){this.dnd.drop(GI(e),t&&t.element,i,n,o)}onDragEnd(e){var t,i;(i=(t=this.dnd).onDragEnd)===null||i===void 0||i.call(t,e)}dispose(){this.dnd.dispose()}}function Uj(s){return s&&{...s,collapseByDefault:!0,identityProvider:s.identityProvider&&{getId(e){return s.identityProvider.getId(e.element)}},dnd:s.dnd&&new pwe(s.dnd),multipleSelectionController:s.multipleSelectionController&&{isSelectionSingleChangeEvent(e){return s.multipleSelectionController.isSelectionSingleChangeEvent({...e,element:e.element})},isSelectionRangeChangeEvent(e){return s.multipleSelectionController.isSelectionRangeChangeEvent({...e,element:e.element})}},accessibilityProvider:s.accessibilityProvider&&{...s.accessibilityProvider,getPosInSet:void 0,getSetSize:void 0,getRole:s.accessibilityProvider.getRole?e=>s.accessibilityProvider.getRole(e.element):()=>\"treeitem\",isChecked:s.accessibilityProvider.isChecked?e=>{var t;return!!(!((t=s.accessibilityProvider)===null||t===void 0)&&t.isChecked(e.element))}:void 0,getAriaLabel(e){return s.accessibilityProvider.getAriaLabel(e.element)},getWidgetAriaLabel(){return s.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:s.accessibilityProvider.getWidgetRole?()=>s.accessibilityProvider.getWidgetRole():()=>\"tree\",getAriaLevel:s.accessibilityProvider.getAriaLevel&&(e=>s.accessibilityProvider.getAriaLevel(e.element)),getActiveDescendantId:s.accessibilityProvider.getActiveDescendantId&&(e=>s.accessibilityProvider.getActiveDescendantId(e.element))},filter:s.filter&&{filter(e,t){return s.filter.filter(e.element,t)}},keyboardNavigationLabelProvider:s.keyboardNavigationLabelProvider&&{...s.keyboardNavigationLabelProvider,getKeyboardNavigationLabel(e){return s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}},sorter:void 0,expandOnlyOnTwistieClick:typeof s.expandOnlyOnTwistieClick>\"u\"?void 0:typeof s.expandOnlyOnTwistieClick!=\"function\"?s.expandOnlyOnTwistieClick:e=>s.expandOnlyOnTwistieClick(e.element),defaultFindVisibility:e=>e.hasChildren&&e.stale?1:typeof s.defaultFindVisibility==\"number\"?s.defaultFindVisibility:typeof s.defaultFindVisibility>\"u\"?2:s.defaultFindVisibility(e.element)}}function H2(s,e){e(s),s.children.forEach(t=>H2(t,e))}class $j{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return le.map(this.tree.onDidChangeFocus,F6)}get onDidChangeSelection(){return le.map(this.tree.onDidChangeSelection,F6)}get onMouseDblClick(){return le.map(this.tree.onMouseDblClick,O6)}get onPointer(){return le.map(this.tree.onPointer,O6)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidChangeStickyScrollFocused(){return this.tree.onDidChangeStickyScrollFocused}get onDidDispose(){return this.tree.onDidDispose}constructor(e,t,i,n,o,r={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new B,this._onDidChangeNodeSlowState=new B,this.nodeMapper=new IO(a=>new PO(a)),this.disposables=new Y,this.identityProvider=r.identityProvider,this.autoExpandSingleChildren=typeof r.autoExpandSingleChildren>\"u\"?!1:r.autoExpandSingleChildren,this.sorter=r.sorter,this.getDefaultCollapseState=a=>r.collapseByDefault?r.collapseByDefault(a)?Ko.PreserveOrCollapsed:Ko.PreserveOrExpanded:void 0,this.tree=this.createTree(e,t,i,n,r),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.onDidChangeFindMatchType=this.tree.onDidChangeFindMatchType,this.root=qI({element:void 0,parent:null,hasChildren:!0,defaultCollapseState:void 0}),this.identityProvider&&(this.root={...this.root,id:null}),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(e,t,i,n,o){const r=new NO(i),a=n.map(d=>new gwe(d,this.nodeMapper,this._onDidChangeNodeSlowState.event)),l=Uj(o)||{};return new RO(e,t,r,a,l)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}async setInput(e,t){this.refreshPromises.forEach(n=>n.cancel()),this.refreshPromises.clear(),this.root.element=e;const i=t&&{viewState:t,focus:[],selection:[]};await this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&typeof t.scrollTop==\"number\"&&(this.scrollTop=t.scrollTop)}async _updateChildren(e=this.root.element,t=!0,i=!1,n,o){if(typeof this.root.element>\"u\")throw new Xo(this.user,\"Tree input not set\");this.root.refreshPromise&&(await this.root.refreshPromise,await le.toPromise(this._onDidRender.event));const r=this.getDataNode(e);if(await this.refreshAndRenderNode(r,t,n,o),i)try{this.tree.rerender(r)}catch{}}rerender(e){if(e===void 0||e===this.root.element){this.tree.rerender();return}const t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){const t=this.getDataNode(e),i=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(i)}collapse(e,t=!1){const i=this.getDataNode(e);return this.tree.collapse(i===this.root?null:i,t)}async expand(e,t=!1){if(typeof this.root.element>\"u\")throw new Xo(this.user,\"Tree input not set\");this.root.refreshPromise&&(await this.root.refreshPromise,await le.toPromise(this._onDidRender.event));const i=this.getDataNode(e);if(this.tree.hasElement(i)&&!this.tree.isCollapsible(i)||(i.refreshPromise&&(await this.root.refreshPromise,await le.toPromise(this._onDidRender.event)),i!==this.root&&!i.refreshPromise&&!this.tree.isCollapsed(i)))return!1;const n=this.tree.expand(i===this.root?null:i,t);return i.refreshPromise&&(await this.root.refreshPromise,await le.toPromise(this._onDidRender.event)),n}setSelection(e,t){const i=e.map(n=>this.getDataNode(n));this.tree.setSelection(i,t)}getSelection(){return this.tree.getSelection().map(t=>t.element)}setFocus(e,t){const i=e.map(n=>this.getDataNode(n));this.tree.setFocus(i,t)}getFocus(){return this.tree.getFocus().map(t=>t.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){const t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){const t=this.getDataNode(e),i=this.tree.getFirstElementChild(t===this.root?null:t);return i&&i.element}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new Xo(this.user,`Data tree node not found: ${e}`);return t}async refreshAndRenderNode(e,t,i,n){await this.refreshNode(e,t,i),!this.disposables.isDisposed&&this.render(e,i,n)}async refreshNode(e,t,i){let n;if(this.subTreeRefreshPromises.forEach((o,r)=>{!n&&hwe(r,e)&&(n=o.then(()=>this.refreshNode(e,t,i)))}),n)return n;if(e!==this.root&&this.tree.getNode(e).collapsed){e.hasChildren=!!this.dataSource.hasChildren(e.element),e.stale=!0,this.setChildren(e,[],t,i);return}return this.doRefreshSubTree(e,t,i)}async doRefreshSubTree(e,t,i){let n;e.refreshPromise=new Promise(o=>n=o),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const o=await this.doRefreshNode(e,t,i);e.stale=!1,await tA.settled(o.map(r=>this.doRefreshSubTree(r,t,i)))}finally{n()}}async doRefreshNode(e,t,i){e.hasChildren=!!this.dataSource.hasChildren(e.element);let n;if(!e.hasChildren)n=Promise.resolve(ft.empty());else{const o=this.doGetChildren(e);if(Z5(o))n=Promise.resolve(o);else{const r=xh(800);r.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},a=>null),n=o.finally(()=>r.cancel())}}try{const o=await n;return this.setChildren(e,o,t,i)}catch(o){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),Id(o))return[];throw o}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;const i=this.dataSource.getChildren(e.element);return Z5(i)?this.processChildren(i):(t=Dn(async()=>this.processChildren(await i)),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){e.element!==null&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(Xe))}setChildren(e,t,i,n){const o=[...t];if(e.children.length===0&&o.length===0)return[];const r=new Map,a=new Map;for(const c of e.children)r.set(c.element,c),this.identityProvider&&a.set(c.id,{node:c,collapsed:this.tree.hasElement(c)&&this.tree.isCollapsed(c)});const l=[],d=o.map(c=>{const u=!!this.dataSource.hasChildren(c);if(!this.identityProvider){const m=qI({element:c,parent:e,hasChildren:u,defaultCollapseState:this.getDefaultCollapseState(c)});return u&&m.defaultCollapseState===Ko.PreserveOrExpanded&&l.push(m),m}const h=this.identityProvider.getId(c).toString(),g=a.get(h);if(g){const m=g.node;return r.delete(m.element),this.nodes.delete(m.element),this.nodes.set(c,m),m.element=c,m.hasChildren=u,i?g.collapsed?(m.children.forEach(_=>H2(_,v=>this.nodes.delete(v.element))),m.children.splice(0,m.children.length),m.stale=!0):l.push(m):u&&!g.collapsed&&l.push(m),m}const f=qI({element:c,parent:e,id:h,hasChildren:u,defaultCollapseState:this.getDefaultCollapseState(c)});return n&&n.viewState.focus&&n.viewState.focus.indexOf(h)>-1&&n.focus.push(f),n&&n.viewState.selection&&n.viewState.selection.indexOf(h)>-1&&n.selection.push(f),(n&&n.viewState.expanded&&n.viewState.expanded.indexOf(h)>-1||u&&f.defaultCollapseState===Ko.PreserveOrExpanded)&&l.push(f),f});for(const c of r.values())H2(c,u=>this.nodes.delete(u.element));for(const c of d)this.nodes.set(c.element,c);return e.children.splice(0,e.children.length,...d),e!==this.root&&this.autoExpandSingleChildren&&d.length===1&&l.length===0&&(d[0].forceExpanded=!0,l.push(d[0])),l}render(e,t,i){const n=e.children.map(r=>this.asTreeElement(r,t)),o=i&&{...i,diffIdentityProvider:i.diffIdentityProvider&&{getId(r){return i.diffIdentityProvider.getId(r.element)}}};this.tree.setChildren(e===this.root?null:e,n,o),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let i;return t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1?i=!1:e.forceExpanded?(i=!1,e.forceExpanded=!1):i=e.defaultCollapseState,{element:e,children:e.hasChildren?ft.map(e.children,n=>this.asTreeElement(n,t)):[],collapsible:e.hasChildren,collapsed:i}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose(),this.tree.dispose()}}class FO{get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new FO(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class mwe{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...Pe.asClassNameArray(oe.treeItemLoading)),!0):(t.classList.remove(...Pe.asClassNameArray(oe.treeItemLoading)),!1)}disposeElement(e,t,i,n){var o,r;(r=(o=this.renderer).disposeElement)===null||r===void 0||r.call(o,this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){var o,r;(r=(o=this.renderer).disposeCompressedElements)===null||r===void 0||r.call(o,this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=jt(this.disposables)}}function _we(s){const e=s&&Uj(s);return e&&{...e,keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{...e.keyboardNavigationLabelProvider,getCompressedNodeKeyboardNavigationLabel(t){return s.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(i=>i.element))}}}}class vwe extends $j{constructor(e,t,i,n,o,r,a={}){super(e,t,i,o,r,a),this.compressionDelegate=n,this.compressibleNodeMapper=new IO(l=>new FO(l)),this.filter=a.filter}createTree(e,t,i,n,o){const r=new NO(i),a=n.map(d=>new mwe(d,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),l=_we(o)||{};return new zj(e,t,r,a,l)}asTreeElement(e,t){return{incompressible:this.compressionDelegate.isIncompressible(e.element),...super.asTreeElement(e,t)}}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t,i){if(!this.identityProvider)return super.render(e,t);const n=g=>this.identityProvider.getId(g).toString(),o=g=>{const f=new Set;for(const m of g){const _=this.tree.getCompressedTreeNode(m===this.root?null:m);if(_.element)for(const v of _.element.elements)f.add(n(v.element))}return f},r=o(this.tree.getSelection()),a=o(this.tree.getFocus());super.render(e,t,i);const l=this.getSelection();let d=!1;const c=this.getFocus();let u=!1;const h=g=>{const f=g.element;if(f)for(let m=0;m<f.elements.length;m++){const _=n(f.elements[m].element),v=f.elements[f.elements.length-1].element;r.has(_)&&l.indexOf(v)===-1&&(l.push(v),d=!0),a.has(_)&&c.indexOf(v)===-1&&(c.push(v),u=!0)}g.children.forEach(h)};h(this.tree.getCompressedTreeNode(e===this.root?null:e)),d&&this.setSelection(l),u&&this.setFocus(c)}processChildren(e){return this.filter&&(e=ft.filter(e,t=>{const i=this.filter.filter(t,1),n=bwe(i);if(n===2)throw new Error(\"Recursive tree visibility not supported in async data compressed trees\");return n===1})),super.processChildren(e)}}function bwe(s){return typeof s==\"boolean\"?s?1:0:TO(s)?pC(s.visibility):pC(s)}class Cwe extends Wj{constructor(e,t,i,n,o,r={}){super(e,t,i,n,r),this.user=e,this.dataSource=o,this.identityProvider=r.identityProvider}createModel(e,t,i){return new AO(e,t,i)}}new ue(\"isMac\",lt,p(\"isMac\",\"Whether the operating system is macOS\"));new ue(\"isLinux\",$s,p(\"isLinux\",\"Whether the operating system is Linux\"));const tk=new ue(\"isWindows\",as,p(\"isWindows\",\"Whether the operating system is Windows\")),jj=new ue(\"isWeb\",Jh,p(\"isWeb\",\"Whether the platform is a web browser\"));new ue(\"isMacNative\",lt&&!Jh,p(\"isMacNative\",\"Whether the operating system is macOS on a non-browser platform\"));new ue(\"isIOS\",_d,p(\"isIOS\",\"Whether the operating system is iOS\"));new ue(\"isMobile\",RV,p(\"isMobile\",\"Whether the platform is a mobile web browser\"));new ue(\"isDevelopment\",!1,!0);new ue(\"productQualityType\",\"\",p(\"productQualityType\",\"Quality type of VS Code\"));const Kj=\"inputFocus\",wwe=new ue(Kj,!1,p(\"inputFocus\",\"Whether keyboard focus is inside an input box\"));var ou=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ni=function(s,e){return function(t,i){e(t,i,s)}};const Kr=ut(\"listService\");class ywe{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new Y,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&((t=this._lastFocusedWidget)===null||t===void 0||t.getHTMLElement().classList.remove(\"last-focused\"),this._lastFocusedWidget=e,(i=this._lastFocusedWidget)===null||i===void 0||i.getHTMLElement().classList.add(\"last-focused\"))}register(e,t){if(this._hasCreatedStyleController||(this._hasCreatedStyleController=!0,new Sj(ar(),\"\").style(cp)),this.lists.some(n=>n.widget===e))throw new Error(\"Cannot register the same widget multiple times\");const i={widget:e,extraContextKeys:t};return this.lists.push(i),tx(e.getHTMLElement())&&this.setLastFocusedList(e),ha(e.onDidFocus(()=>this.setLastFocusedList(e)),Ie(()=>this.lists.splice(this.lists.indexOf(i),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(n=>n!==i),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}const _C=new ue(\"listScrollAtBoundary\",\"none\");G.or(_C.isEqualTo(\"top\"),_C.isEqualTo(\"both\"));G.or(_C.isEqualTo(\"bottom\"),_C.isEqualTo(\"both\"));const qj=new ue(\"listFocus\",!0),Gj=new ue(\"treestickyScrollFocused\",!1),ik=new ue(\"listSupportsMultiselect\",!0),Zj=G.and(qj,G.not(Kj),Gj.negate()),OO=new ue(\"listHasSelectionOrFocus\",!1),BO=new ue(\"listDoubleSelection\",!1),WO=new ue(\"listMultiSelection\",!1),nk=new ue(\"listSelectionNavigation\",!1),Swe=new ue(\"listSupportsFind\",!0),HO=new ue(\"treeElementCanCollapse\",!1),Dwe=new ue(\"treeElementHasParent\",!1),VO=new ue(\"treeElementCanExpand\",!1),Lwe=new ue(\"treeElementHasChild\",!1),xwe=new ue(\"treeFindOpen\",!1),Xj=\"listTypeNavigationMode\",Yj=\"listAutomaticKeyboardNavigation\";function sk(s,e){const t=s.createScoped(e.getHTMLElement());return qj.bindTo(t),t}function ok(s,e){const t=_C.bindTo(s),i=()=>{const n=e.scrollTop===0,o=e.scrollHeight-e.renderHeight-e.scrollTop<1;n&&o?t.set(\"both\"):n?t.set(\"top\"):o?t.set(\"bottom\"):t.set(\"none\")};return i(),e.onDidScroll(i)}const gp=\"workbench.list.multiSelectModifier\",oS=\"workbench.list.openMode\",Pr=\"workbench.list.horizontalScrolling\",zO=\"workbench.list.defaultFindMode\",UO=\"workbench.list.typeNavigationMode\",HD=\"workbench.list.keyboardNavigation\",ll=\"workbench.list.scrollByPage\",$O=\"workbench.list.defaultFindMatchType\",vC=\"workbench.tree.indent\",VD=\"workbench.tree.renderIndentGuides\",dl=\"workbench.list.smoothScrolling\",Dd=\"workbench.list.mouseWheelScrollSensitivity\",Ld=\"workbench.list.fastScrollSensitivity\",zD=\"workbench.tree.expandMode\",UD=\"workbench.tree.enableStickyScroll\",$D=\"workbench.tree.stickyScrollMaxItemCount\";function xd(s){return s.getValue(gp)===\"alt\"}class kwe extends H{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=xd(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(gp)&&(this.useAltAsMultipleSelectionModifier=xd(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Cj(e)}isSelectionRangeChangeEvent(e){return wj(e)}}function rk(s,e){var t;const i=s.get(rt),n=s.get(At),o=new Y;return[{...e,keyboardNavigationDelegate:{mightProducePrintableCharacter(a){return n.mightProducePrintableCharacter(a)}},smoothScrolling:!!i.getValue(dl),mouseWheelScrollSensitivity:i.getValue(Dd),fastScrollSensitivity:i.getValue(Ld),multipleSelectionController:(t=e.multipleSelectionController)!==null&&t!==void 0?t:o.add(new kwe(i)),keyboardNavigationEventFilter:Twe(n),scrollByPage:!!i.getValue(ll)},o]}let B6=class extends pr{constructor(e,t,i,n,o,r,a,l,d){const c=typeof o.horizontalScrolling<\"u\"?o.horizontalScrolling:!!l.getValue(Pr),[u,h]=d.invokeFunction(rk,o);super(e,t,i,n,{keyboardSupport:!1,...u,horizontalScrolling:c}),this.disposables.add(h),this.contextKeyService=sk(r,this),this.disposables.add(ok(this.contextKeyService,this)),this.listSupportsMultiSelect=ik.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(o.multipleSelectionSupport!==!1),nk.bindTo(this.contextKeyService).set(!!o.selectionNavigation),this.listHasSelectionOrFocus=OO.bindTo(this.contextKeyService),this.listDoubleSelection=BO.bindTo(this.contextKeyService),this.listMultiSelection=WO.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=xd(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const f=this.getSelection(),m=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(f.length>0||m.length>0),this.listMultiSelection.set(f.length>1),this.listDoubleSelection.set(f.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const f=this.getSelection(),m=this.getFocus();this.listHasSelectionOrFocus.set(f.length>0||m.length>0)})),this.disposables.add(l.onDidChangeConfiguration(f=>{f.affectsConfiguration(gp)&&(this._useAltAsMultipleSelectionModifier=xd(l));let m={};if(f.affectsConfiguration(Pr)&&this.horizontalScrolling===void 0){const _=!!l.getValue(Pr);m={...m,horizontalScrolling:_}}if(f.affectsConfiguration(ll)){const _=!!l.getValue(ll);m={...m,scrollByPage:_}}if(f.affectsConfiguration(dl)){const _=!!l.getValue(dl);m={...m,smoothScrolling:_}}if(f.affectsConfiguration(Dd)){const _=l.getValue(Dd);m={...m,mouseWheelScrollSensitivity:_}}if(f.affectsConfiguration(Ld)){const _=l.getValue(Ld);m={...m,fastScrollSensitivity:_}}Object.keys(m).length>0&&this.updateOptions(m)})),this.navigator=new Qj(this,{configurationService:l,...o}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles!==void 0&&this.updateStyles(e.overrideStyles),e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?up(e):cp)}};B6=ou([ni(5,Be),ni(6,Kr),ni(7,rt),ni(8,Ne)],B6);let W6=class extends D1e{constructor(e,t,i,n,o,r,a,l,d){const c=typeof o.horizontalScrolling<\"u\"?o.horizontalScrolling:!!l.getValue(Pr),[u,h]=d.invokeFunction(rk,o);super(e,t,i,n,{keyboardSupport:!1,...u,horizontalScrolling:c}),this.disposables=new Y,this.disposables.add(h),this.contextKeyService=sk(r,this),this.disposables.add(ok(this.contextKeyService,this.widget)),this.horizontalScrolling=o.horizontalScrolling,this.listSupportsMultiSelect=ik.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(o.multipleSelectionSupport!==!1),nk.bindTo(this.contextKeyService).set(!!o.selectionNavigation),this._useAltAsMultipleSelectionModifier=xd(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),this.updateStyles(o.overrideStyles),this.disposables.add(l.onDidChangeConfiguration(f=>{f.affectsConfiguration(gp)&&(this._useAltAsMultipleSelectionModifier=xd(l));let m={};if(f.affectsConfiguration(Pr)&&this.horizontalScrolling===void 0){const _=!!l.getValue(Pr);m={...m,horizontalScrolling:_}}if(f.affectsConfiguration(ll)){const _=!!l.getValue(ll);m={...m,scrollByPage:_}}if(f.affectsConfiguration(dl)){const _=!!l.getValue(dl);m={...m,smoothScrolling:_}}if(f.affectsConfiguration(Dd)){const _=l.getValue(Dd);m={...m,mouseWheelScrollSensitivity:_}}if(f.affectsConfiguration(Ld)){const _=l.getValue(Ld);m={...m,fastScrollSensitivity:_}}Object.keys(m).length>0&&this.updateOptions(m)})),this.navigator=new Qj(this,{configurationService:l,...o}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles!==void 0&&this.updateStyles(e.overrideStyles),e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?up(e):cp)}dispose(){this.disposables.dispose(),super.dispose()}};W6=ou([ni(5,Be),ni(6,Kr),ni(7,rt),ni(8,Ne)],W6);let H6=class extends ek{constructor(e,t,i,n,o,r,a,l,d,c){const u=typeof r.horizontalScrolling<\"u\"?r.horizontalScrolling:!!d.getValue(Pr),[h,g]=c.invokeFunction(rk,r);super(e,t,i,n,o,{keyboardSupport:!1,...h,horizontalScrolling:u}),this.disposables.add(g),this.contextKeyService=sk(a,this),this.disposables.add(ok(this.contextKeyService,this)),this.listSupportsMultiSelect=ik.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(r.multipleSelectionSupport!==!1),nk.bindTo(this.contextKeyService).set(!!r.selectionNavigation),this.listHasSelectionOrFocus=OO.bindTo(this.contextKeyService),this.listDoubleSelection=BO.bindTo(this.contextKeyService),this.listMultiSelection=WO.bindTo(this.contextKeyService),this.horizontalScrolling=r.horizontalScrolling,this._useAltAsMultipleSelectionModifier=xd(d),this.disposables.add(this.contextKeyService),this.disposables.add(l.register(this)),this.updateStyles(r.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const m=this.getSelection(),_=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(m.length>0||_.length>0),this.listMultiSelection.set(m.length>1),this.listDoubleSelection.set(m.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const m=this.getSelection(),_=this.getFocus();this.listHasSelectionOrFocus.set(m.length>0||_.length>0)})),this.disposables.add(d.onDidChangeConfiguration(m=>{m.affectsConfiguration(gp)&&(this._useAltAsMultipleSelectionModifier=xd(d));let _={};if(m.affectsConfiguration(Pr)&&this.horizontalScrolling===void 0){const v=!!d.getValue(Pr);_={..._,horizontalScrolling:v}}if(m.affectsConfiguration(ll)){const v=!!d.getValue(ll);_={..._,scrollByPage:v}}if(m.affectsConfiguration(dl)){const v=!!d.getValue(dl);_={..._,smoothScrolling:v}}if(m.affectsConfiguration(Dd)){const v=d.getValue(Dd);_={..._,mouseWheelScrollSensitivity:v}}if(m.affectsConfiguration(Ld)){const v=d.getValue(Ld);_={..._,fastScrollSensitivity:v}}Object.keys(_).length>0&&this.updateOptions(_)})),this.navigator=new Ewe(this,{configurationService:d,...r}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles!==void 0&&this.updateStyles(e.overrideStyles),e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?up(e):cp)}dispose(){this.disposables.dispose(),super.dispose()}};H6=ou([ni(6,Be),ni(7,Kr),ni(8,rt),ni(9,Ne)],H6);class jO extends H{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new B),this.onDidOpen=this._onDidOpen.event,this._register(le.filter(this.widget.onDidChangeSelection,n=>Iu(n.browserEvent))(n=>this.onSelectionFromKeyboard(n))),this._register(this.widget.onPointer(n=>this.onPointer(n.element,n.browserEvent))),this._register(this.widget.onMouseDblClick(n=>this.onMouseDblClick(n.element,n.browserEvent))),typeof(t==null?void 0:t.openOnSingleClick)!=\"boolean\"&&(t!=null&&t.configurationService)?(this.openOnSingleClick=(t==null?void 0:t.configurationService.getValue(oS))!==\"doubleClick\",this._register(t==null?void 0:t.configurationService.onDidChangeConfiguration(n=>{n.affectsConfiguration(oS)&&(this.openOnSingleClick=(t==null?void 0:t.configurationService.getValue(oS))!==\"doubleClick\")}))):this.openOnSingleClick=(i=t==null?void 0:t.openOnSingleClick)!==null&&i!==void 0?i:!0}onSelectionFromKeyboard(e){if(e.elements.length!==1)return;const t=e.browserEvent,i=typeof t.preserveFocus==\"boolean\"?t.preserveFocus:!0,n=typeof t.pinned==\"boolean\"?t.pinned:!i;this._open(this.getSelectedElement(),i,n,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick||t.detail===2)return;const n=t.button===1,o=!0,r=n,a=t.ctrlKey||t.metaKey||t.altKey;this._open(e,o,r,a,t)}onMouseDblClick(e,t){if(!t)return;const i=t.target;if(i.classList.contains(\"monaco-tl-twistie\")||i.classList.contains(\"monaco-icon-label\")&&i.classList.contains(\"folder-icon\")&&t.offsetX<16)return;const o=!1,r=!0,a=t.ctrlKey||t.metaKey||t.altKey;this._open(e,o,r,a,t)}_open(e,t,i,n,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:o})}}class Qj extends jO{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Ewe extends jO{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Iwe extends jO{constructor(e,t){super(e,t)}getSelectedElement(){var e;return(e=this.widget.getSelection()[0])!==null&&e!==void 0?e:void 0}}function Twe(s){let e=!1;return t=>{if(t.toKeyCodeChord().isModifierKey())return!1;if(e)return e=!1,!1;const i=s.softDispatch(t,t.target);return i.kind===1?(e=!0,!1):(e=!1,i.kind===0)}}let V2=class extends RO{constructor(e,t,i,n,o,r,a,l,d){const{options:c,getTypeNavigationMode:u,disposable:h}=r.invokeFunction(M1,o);super(e,t,i,n,c),this.disposables.add(h),this.internals=new Nf(this,o,u,o.overrideStyles,a,l,d),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};V2=ou([ni(5,Ne),ni(6,Be),ni(7,Kr),ni(8,rt)],V2);let V6=class extends zj{constructor(e,t,i,n,o,r,a,l,d){const{options:c,getTypeNavigationMode:u,disposable:h}=r.invokeFunction(M1,o);super(e,t,i,n,c),this.disposables.add(h),this.internals=new Nf(this,o,u,o.overrideStyles,a,l,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};V6=ou([ni(5,Ne),ni(6,Be),ni(7,Kr),ni(8,rt)],V6);let z6=class extends Cwe{constructor(e,t,i,n,o,r,a,l,d,c){const{options:u,getTypeNavigationMode:h,disposable:g}=a.invokeFunction(M1,r);super(e,t,i,n,o,u),this.disposables.add(g),this.internals=new Nf(this,r,h,r.overrideStyles,l,d,c),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles!==void 0&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};z6=ou([ni(6,Ne),ni(7,Be),ni(8,Kr),ni(9,rt)],z6);let z2=class extends $j{get onDidOpen(){return this.internals.onDidOpen}constructor(e,t,i,n,o,r,a,l,d,c){const{options:u,getTypeNavigationMode:h,disposable:g}=a.invokeFunction(M1,r);super(e,t,i,n,o,u),this.disposables.add(g),this.internals=new Nf(this,r,h,r.overrideStyles,l,d,c),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};z2=ou([ni(6,Ne),ni(7,Be),ni(8,Kr),ni(9,rt)],z2);let U6=class extends vwe{constructor(e,t,i,n,o,r,a,l,d,c,u){const{options:h,getTypeNavigationMode:g,disposable:f}=l.invokeFunction(M1,a);super(e,t,i,n,o,r,h),this.disposables.add(f),this.internals=new Nf(this,a,g,a.overrideStyles,d,c,u),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};U6=ou([ni(7,Ne),ni(8,Be),ni(9,Kr),ni(10,rt)],U6);function Jj(s){const e=s.getValue(zO);if(e===\"highlight\")return Lc.Highlight;if(e===\"filter\")return Lc.Filter;const t=s.getValue(HD);if(t===\"simple\"||t===\"highlight\")return Lc.Highlight;if(t===\"filter\")return Lc.Filter}function eK(s){const e=s.getValue($O);if(e===\"fuzzy\")return Tf.Fuzzy;if(e===\"contiguous\")return Tf.Contiguous}function M1(s,e){var t;const i=s.get(rt),n=s.get(nu),o=s.get(Be),r=s.get(Ne),a=()=>{const g=o.getContextKeyValue(Xj);if(g===\"automatic\")return Kl.Automatic;if(g===\"trigger\"||o.getContextKeyValue(Yj)===!1)return Kl.Trigger;const m=i.getValue(UO);if(m===\"automatic\")return Kl.Automatic;if(m===\"trigger\")return Kl.Trigger},l=e.horizontalScrolling!==void 0?e.horizontalScrolling:!!i.getValue(Pr),[d,c]=r.invokeFunction(rk,e),u=e.paddingBottom,h=e.renderIndentGuides!==void 0?e.renderIndentGuides:i.getValue(VD);return{getTypeNavigationMode:a,disposable:c,options:{keyboardSupport:!1,...d,indent:typeof i.getValue(vC)==\"number\"?i.getValue(vC):void 0,renderIndentGuides:h,smoothScrolling:!!i.getValue(dl),defaultFindMode:Jj(i),defaultFindMatchType:eK(i),horizontalScrolling:l,scrollByPage:!!i.getValue(ll),paddingBottom:u,hideTwistiesOfChildlessElements:e.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(t=e.expandOnlyOnTwistieClick)!==null&&t!==void 0?t:i.getValue(zD)===\"doubleClick\",contextViewProvider:n,findWidgetStyles:XCe,enableStickyScroll:!!i.getValue(UD),stickyScrollMaxItemCount:Number(i.getValue($D))}}}let Nf=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(e,t,i,n,o,r,a){var l;this.tree=e,this.disposables=[],this.contextKeyService=sk(o,e),this.disposables.push(ok(this.contextKeyService,e)),this.listSupportsMultiSelect=ik.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(t.multipleSelectionSupport!==!1),nk.bindTo(this.contextKeyService).set(!!t.selectionNavigation),this.listSupportFindWidget=Swe.bindTo(this.contextKeyService),this.listSupportFindWidget.set((l=t.findWidgetEnabled)!==null&&l!==void 0?l:!0),this.hasSelectionOrFocus=OO.bindTo(this.contextKeyService),this.hasDoubleSelection=BO.bindTo(this.contextKeyService),this.hasMultiSelection=WO.bindTo(this.contextKeyService),this.treeElementCanCollapse=HO.bindTo(this.contextKeyService),this.treeElementHasParent=Dwe.bindTo(this.contextKeyService),this.treeElementCanExpand=VO.bindTo(this.contextKeyService),this.treeElementHasChild=Lwe.bindTo(this.contextKeyService),this.treeFindOpen=xwe.bindTo(this.contextKeyService),this.treeStickyScrollFocused=Gj.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=xd(a),this.updateStyleOverrides(n);const c=()=>{const h=e.getFocus()[0];if(!h)return;const g=e.getNode(h);this.treeElementCanCollapse.set(g.collapsible&&!g.collapsed),this.treeElementHasParent.set(!!e.getParentElement(h)),this.treeElementCanExpand.set(g.collapsible&&g.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(h))},u=new Set;u.add(Xj),u.add(Yj),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection(()=>{const h=e.getSelection(),g=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(h.length>0||g.length>0),this.hasMultiSelection.set(h.length>1),this.hasDoubleSelection.set(h.length===2)})}),e.onDidChangeFocus(()=>{const h=e.getSelection(),g=e.getFocus();this.hasSelectionOrFocus.set(h.length>0||g.length>0),c()}),e.onDidChangeCollapseState(c),e.onDidChangeModel(c),e.onDidChangeFindOpenState(h=>this.treeFindOpen.set(h)),e.onDidChangeStickyScrollFocused(h=>this.treeStickyScrollFocused.set(h)),a.onDidChangeConfiguration(h=>{let g={};if(h.affectsConfiguration(gp)&&(this._useAltAsMultipleSelectionModifier=xd(a)),h.affectsConfiguration(vC)){const f=a.getValue(vC);g={...g,indent:f}}if(h.affectsConfiguration(VD)&&t.renderIndentGuides===void 0){const f=a.getValue(VD);g={...g,renderIndentGuides:f}}if(h.affectsConfiguration(dl)){const f=!!a.getValue(dl);g={...g,smoothScrolling:f}}if(h.affectsConfiguration(zO)||h.affectsConfiguration(HD)){const f=Jj(a);g={...g,defaultFindMode:f}}if(h.affectsConfiguration(UO)||h.affectsConfiguration(HD)){const f=i();g={...g,typeNavigationMode:f}}if(h.affectsConfiguration($O)){const f=eK(a);g={...g,defaultFindMatchType:f}}if(h.affectsConfiguration(Pr)&&t.horizontalScrolling===void 0){const f=!!a.getValue(Pr);g={...g,horizontalScrolling:f}}if(h.affectsConfiguration(ll)){const f=!!a.getValue(ll);g={...g,scrollByPage:f}}if(h.affectsConfiguration(zD)&&t.expandOnlyOnTwistieClick===void 0&&(g={...g,expandOnlyOnTwistieClick:a.getValue(zD)===\"doubleClick\"}),h.affectsConfiguration(UD)){const f=a.getValue(UD);g={...g,enableStickyScroll:f}}if(h.affectsConfiguration($D)){const f=Math.max(1,a.getValue($D));g={...g,stickyScrollMaxItemCount:f}}if(h.affectsConfiguration(Dd)){const f=a.getValue(Dd);g={...g,mouseWheelScrollSensitivity:f}}if(h.affectsConfiguration(Ld)){const f=a.getValue(Ld);g={...g,fastScrollSensitivity:f}}Object.keys(g).length>0&&e.updateOptions(g)}),this.contextKeyService.onDidChangeContext(h=>{h.affectsSome(u)&&e.updateOptions({typeNavigationMode:i()})})),this.navigator=new Iwe(e,{configurationService:a,...t}),this.disposables.push(this.navigator)}updateOptions(e){e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){this.tree.style(e?up(e):cp)}dispose(){this.disposables=jt(this.disposables)}};Nf=ou([ni(4,Be),ni(5,Kr),ni(6,rt)],Nf);const Nwe=Ji.as(pl.Configuration);Nwe.registerConfiguration({id:\"workbench\",order:7,title:p(\"workbenchConfigurationTitle\",\"Workbench\"),type:\"object\",properties:{[gp]:{type:\"string\",enum:[\"ctrlCmd\",\"alt\"],markdownEnumDescriptions:[p(\"multiSelectModifier.ctrlCmd\",\"Maps to `Control` on Windows and Linux and to `Command` on macOS.\"),p(\"multiSelectModifier.alt\",\"Maps to `Alt` on Windows and Linux and to `Option` on macOS.\")],default:\"ctrlCmd\",description:p({},\"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.\")},[oS]:{type:\"string\",enum:[\"singleClick\",\"doubleClick\"],default:\"singleClick\",description:p({},\"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.\")},[Pr]:{type:\"boolean\",default:!1,description:p(\"horizontalScrolling setting\",\"Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.\")},[ll]:{type:\"boolean\",default:!1,description:p(\"list.scrollByPage\",\"Controls whether clicks in the scrollbar scroll page by page.\")},[vC]:{type:\"number\",default:8,minimum:4,maximum:40,description:p(\"tree indent setting\",\"Controls tree indentation in pixels.\")},[VD]:{type:\"string\",enum:[\"none\",\"onHover\",\"always\"],default:\"onHover\",description:p(\"render tree indent guides\",\"Controls whether the tree should render indent guides.\")},[dl]:{type:\"boolean\",default:!1,description:p(\"list smoothScrolling setting\",\"Controls whether lists and trees have smooth scrolling.\")},[Dd]:{type:\"number\",default:1,markdownDescription:p(\"Mouse Wheel Scroll Sensitivity\",\"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\")},[Ld]:{type:\"number\",default:5,markdownDescription:p(\"Fast Scroll Sensitivity\",\"Scrolling speed multiplier when pressing `Alt`.\")},[zO]:{type:\"string\",enum:[\"highlight\",\"filter\"],enumDescriptions:[p(\"defaultFindModeSettingKey.highlight\",\"Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements.\"),p(\"defaultFindModeSettingKey.filter\",\"Filter elements when searching.\")],default:\"highlight\",description:p(\"defaultFindModeSettingKey\",\"Controls the default find mode for lists and trees in the workbench.\")},[HD]:{type:\"string\",enum:[\"simple\",\"highlight\",\"filter\"],enumDescriptions:[p(\"keyboardNavigationSettingKey.simple\",\"Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes.\"),p(\"keyboardNavigationSettingKey.highlight\",\"Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements.\"),p(\"keyboardNavigationSettingKey.filter\",\"Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.\")],default:\"highlight\",description:p(\"keyboardNavigationSettingKey\",\"Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.\"),deprecated:!0,deprecationMessage:p(\"keyboardNavigationSettingKeyDeprecated\",\"Please use 'workbench.list.defaultFindMode' and\t'workbench.list.typeNavigationMode' instead.\")},[$O]:{type:\"string\",enum:[\"fuzzy\",\"contiguous\"],enumDescriptions:[p(\"defaultFindMatchTypeSettingKey.fuzzy\",\"Use fuzzy matching when searching.\"),p(\"defaultFindMatchTypeSettingKey.contiguous\",\"Use contiguous matching when searching.\")],default:\"fuzzy\",description:p(\"defaultFindMatchTypeSettingKey\",\"Controls the type of matching used when searching lists and trees in the workbench.\")},[zD]:{type:\"string\",enum:[\"singleClick\",\"doubleClick\"],default:\"singleClick\",description:p(\"expand mode\",\"Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.\")},[UD]:{type:\"boolean\",default:!0,description:p(\"sticky scroll\",\"Controls whether sticky scrolling is enabled in trees.\")},[$D]:{type:\"number\",minimum:1,default:7,markdownDescription:p(\"sticky scroll maximum items\",\"Controls the number of sticky elements displayed in the tree when `#workbench.tree.enableStickyScroll#` is enabled.\")},[UO]:{type:\"string\",enum:[\"automatic\",\"trigger\"],default:\"automatic\",markdownDescription:p(\"typeNavigationMode2\",\"Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.\")}}});class uh extends H{constructor(e,t){var i;super(),this.options=t,this.text=\"\",this.title=\"\",this.highlights=[],this.didEverRender=!1,this.supportIcons=(i=t==null?void 0:t.supportIcons)!==null&&i!==void 0?i:!1,this.domNode=Q(e,he(\"span.monaco-highlighted-label\"))}get element(){return this.domNode}set(e,t=[],i=\"\",n){e||(e=\"\"),n&&(e=uh.escapeNewLines(e,t)),!(this.didEverRender&&this.text===e&&this.title===i&&tr(this.highlights,t))&&(this.text=e,this.title=i,this.highlights=t,this.render())}render(){var e,t,i,n;const o=[];let r=0;for(const a of this.highlights){if(a.end===a.start)continue;if(r<a.start){const c=this.text.substring(r,a.start);this.supportIcons?o.push(...lh(c)):o.push(c),r=a.start}const l=this.text.substring(r,a.end),d=he(\"span.highlight\",void 0,...this.supportIcons?lh(l):[l]);a.extraClasses&&d.classList.add(...a.extraClasses),o.push(d),r=a.end}if(r<this.text.length){const a=this.text.substring(r);this.supportIcons?o.push(...lh(a)):o.push(a)}if(Yn(this.domNode,...o),!((t=(e=this.options)===null||e===void 0?void 0:e.hoverDelegate)===null||t===void 0)&&t.showNativeHover)this.domNode.title=this.title;else if(!this.customHover&&this.title!==\"\"){const a=(n=(i=this.options)===null||i===void 0?void 0:i.hoverDelegate)!==null&&n!==void 0?n:Xs(\"mouse\");this.customHover=this._register(_l().setupUpdatableHover(a,this.domNode,this.title))}else this.customHover&&this.customHover.update(this.title);this.didEverRender=!0}static escapeNewLines(e,t){let i=0,n=0;return e.replace(/\\r\\n|\\r|\\n/g,(o,r)=>{n=o===`\\r\n`?-1:0,r+=i;for(const a of t)a.end<=r||(a.start>=r&&(a.start+=n),a.end>=r&&(a.end+=n));return i+=n,\"⏎\"})}}class X0{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?\"0\":\"\")}dispose(){this.disposed=!0}}class jD extends H{constructor(e,t){var i;super(),this.customHovers=new Map,this.creationOptions=t,this.domNode=this._register(new X0(Q(e,he(\".monaco-icon-label\")))),this.labelContainer=Q(this.domNode.element,he(\".monaco-icon-label-container\")),this.nameContainer=Q(this.labelContainer,he(\"span.monaco-icon-name-container\")),t!=null&&t.supportHighlights||t!=null&&t.supportIcons?this.nameNode=this._register(new Rwe(this.nameContainer,!!t.supportIcons)):this.nameNode=new Awe(this.nameContainer),this.hoverDelegate=(i=t==null?void 0:t.hoverDelegate)!==null&&i!==void 0?i:Xs(\"mouse\")}get element(){return this.domNode.element}setLabel(e,t,i){var n;const o=[\"monaco-icon-label\"],r=[\"monaco-icon-label-container\"];let a=\"\";if(i&&(i.extraClasses&&o.push(...i.extraClasses),i.italic&&o.push(\"italic\"),i.strikethrough&&o.push(\"strikethrough\"),i.disabledCommand&&r.push(\"disabled\"),i.title&&(typeof i.title==\"string\"?a+=i.title:a+=e)),this.domNode.className=o.join(\" \"),this.domNode.element.setAttribute(\"aria-label\",a),this.labelContainer.className=r.join(\" \"),this.setupHover(i!=null&&i.descriptionTitle?this.labelContainer:this.element,i==null?void 0:i.title),this.nameNode.setLabel(e,i),t||this.descriptionNode){const l=this.getOrCreateDescriptionNode();l instanceof uh?(l.set(t||\"\",i?i.descriptionMatches:void 0,void 0,i==null?void 0:i.labelEscapeNewLines),this.setupHover(l.element,i==null?void 0:i.descriptionTitle)):(l.textContent=t&&(i!=null&&i.labelEscapeNewLines)?uh.escapeNewLines(t,[]):t||\"\",this.setupHover(l.element,(i==null?void 0:i.descriptionTitle)||\"\"),l.empty=!t)}if(i!=null&&i.suffix||this.suffixNode){const l=this.getOrCreateSuffixNode();l.textContent=(n=i==null?void 0:i.suffix)!==null&&n!==void 0?n:\"\"}}setupHover(e,t){const i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute(\"title\");return}if(this.hoverDelegate.showNativeHover)(function(o,r){lo(r)?o.title=rj(r):r!=null&&r.markdownNotSupportedFallback?o.title=r.markdownNotSupportedFallback:o.removeAttribute(\"title\")})(e,t);else{const n=_l().setupUpdatableHover(this.hoverDelegate,e,t);n&&this.customHovers.set(e,n)}}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}getOrCreateSuffixNode(){if(!this.suffixNode){const e=this._register(new X0(Gae(this.nameContainer,he(\"span.monaco-icon-suffix-container\"))));this.suffixNode=this._register(new X0(Q(e.element,he(\"span.label-suffix\"))))}return this.suffixNode}getOrCreateDescriptionNode(){var e;if(!this.descriptionNode){const t=this._register(new X0(Q(this.labelContainer,he(\"span.monaco-icon-description-container\"))));!((e=this.creationOptions)===null||e===void 0)&&e.supportDescriptionHighlights?this.descriptionNode=this._register(new uh(Q(t.element,he(\"span.label-description\")),{supportIcons:!!this.creationOptions.supportIcons})):this.descriptionNode=this._register(new X0(Q(t.element,he(\"span.label-description\"))))}return this.descriptionNode}}class Awe{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&tr(this.options,t)))if(this.label=e,this.options=t,typeof e==\"string\")this.singleLabel||(this.container.innerText=\"\",this.container.classList.remove(\"multiple\"),this.singleLabel=Q(this.container,he(\"a.label-name\",{id:t==null?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText=\"\",this.container.classList.add(\"multiple\"),this.singleLabel=void 0;for(let i=0;i<e.length;i++){const n=e[i],o=(t==null?void 0:t.domId)&&`${t==null?void 0:t.domId}_${i}`;Q(this.container,he(\"a.label-name\",{id:o,\"data-icon-label-count\":e.length,\"data-icon-label-index\":i,role:\"treeitem\"},n)),i<e.length-1&&Q(this.container,he(\"span.label-separator\",void 0,(t==null?void 0:t.separator)||\"/\"))}}}}function Mwe(s,e,t){if(!t)return;let i=0;return s.map(n=>{const o={start:i,end:i+n.length},r=t.map(a=>ts.intersect(o,a)).filter(a=>!ts.isEmpty(a)).map(({start:a,end:l})=>({start:a-i,end:l-i}));return i=o.end+e.length,r})}class Rwe extends H{constructor(e,t){super(),this.container=e,this.supportIcons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&tr(this.options,t)))if(this.label=e,this.options=t,typeof e==\"string\")this.singleLabel||(this.container.innerText=\"\",this.container.classList.remove(\"multiple\"),this.singleLabel=this._register(new uh(Q(this.container,he(\"a.label-name\",{id:t==null?void 0:t.domId})),{supportIcons:this.supportIcons}))),this.singleLabel.set(e,t==null?void 0:t.matches,void 0,t==null?void 0:t.labelEscapeNewLines);else{this.container.innerText=\"\",this.container.classList.add(\"multiple\"),this.singleLabel=void 0;const i=(t==null?void 0:t.separator)||\"/\",n=Mwe(e,i,t==null?void 0:t.matches);for(let o=0;o<e.length;o++){const r=e[o],a=n?n[o]:void 0,l=(t==null?void 0:t.domId)&&`${t==null?void 0:t.domId}_${o}`,d=he(\"a.label-name\",{id:l,\"data-icon-label-count\":e.length,\"data-icon-label-index\":o,role:\"treeitem\"});this._register(new uh(Q(this.container,d),{supportIcons:this.supportIcons})).set(r,a,void 0,t==null?void 0:t.labelEscapeNewLines),o<e.length-1&&Q(d,he(\"span.label-separator\",void 0,i))}}}}const Jw=he,tK={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class m0 extends H{constructor(e,t,i){super(),this.os=t,this.keyElements=new Set,this.options=i||Object.create(null);const n=this.options.keybindingLabelForeground;this.domNode=Q(e,Jw(\".monaco-keybinding\")),n&&(this.domNode.style.color=n),this.hover=this._register(_l().setupUpdatableHover(Xs(\"mouse\"),this.domNode,\"\")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&m0.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){var e;if(this.clear(),this.keybinding){const t=this.keybinding.getChords();t[0]&&this.renderChord(this.domNode,t[0],this.matches?this.matches.firstPart:null);for(let n=1;n<t.length;n++)Q(this.domNode,Jw(\"span.monaco-keybinding-key-chord-separator\",void 0,\" \")),this.renderChord(this.domNode,t[n],this.matches?this.matches.chordPart:null);const i=(e=this.options.disableTitle)!==null&&e!==void 0&&e?void 0:this.keybinding.getAriaLabel()||void 0;this.hover.update(i),this.domNode.setAttribute(\"aria-label\",i||\"\")}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}clear(){zn(this.domNode),this.keyElements.clear()}renderChord(e,t,i){const n=SO.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,n.ctrlKey,!!(i!=null&&i.ctrlKey),n.separator),t.shiftKey&&this.renderKey(e,n.shiftKey,!!(i!=null&&i.shiftKey),n.separator),t.altKey&&this.renderKey(e,n.altKey,!!(i!=null&&i.altKey),n.separator),t.metaKey&&this.renderKey(e,n.metaKey,!!(i!=null&&i.metaKey),n.separator);const o=t.keyLabel;o&&this.renderKey(e,o,!!(i!=null&&i.keyCode),\"\")}renderKey(e,t,i,n){Q(e,this.createKeyElement(t,i?\".highlight\":\"\")),n&&Q(e,Jw(\"span.monaco-keybinding-key-separator\",void 0,n))}renderUnbound(e){Q(e,this.createKeyElement(p(\"unbound\",\"Unbound\")))}createKeyElement(e,t=\"\"){const i=Jw(\"span.monaco-keybinding-key\"+t,void 0,e);return this.keyElements.add(i),this.options.keybindingLabelBackground&&(i.style.backgroundColor=this.options.keybindingLabelBackground),this.options.keybindingLabelBorder&&(i.style.borderColor=this.options.keybindingLabelBorder),this.options.keybindingLabelBottomBorder&&(i.style.borderBottomColor=this.options.keybindingLabelBottomBorder),this.options.keybindingLabelShadow&&(i.style.boxShadow=`inset 0 -1px 0 ${this.options.keybindingLabelShadow}`),i}static areSame(e,t){return e===t||!e&&!t?!0:!!e&&!!t&&tr(e.firstPart,t.firstPart)&&tr(e.chordPart,t.chordPart)}}const $6=new gl(()=>{const s=new Intl.Collator(void 0,{numeric:!0,sensitivity:\"base\"});return{collator:s,collatorIsNumeric:s.resolvedOptions().numeric}});function Pwe(s,e,t=!1){const i=s||\"\",n=e||\"\",o=$6.value.collator.compare(i,n);return $6.value.collatorIsNumeric&&o===0&&i!==n?i<n?-1:1:o}function Fwe(s,e,t){const i=s.toLowerCase(),n=e.toLowerCase(),o=Owe(s,e,t);if(o)return o;const r=i.endsWith(t),a=n.endsWith(t);if(r!==a)return r?-1:1;const l=Pwe(i,n);return l!==0?l:i.localeCompare(n)}function Owe(s,e,t){const i=s.toLowerCase(),n=e.toLowerCase(),o=i.startsWith(t),r=n.startsWith(t);if(o!==r)return o?-1:1;if(o&&r){if(i.length<n.length)return-1;if(i.length>n.length)return 1}return 0}var ak=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},iK=function(s,e){return function(t,i){e(t,i,s)}},U2;const Aa=he;var sn;(function(s){s[s.First=1]=\"First\",s[s.Second=2]=\"Second\",s[s.Last=3]=\"Last\",s[s.Next=4]=\"Next\",s[s.Previous=5]=\"Previous\",s[s.NextPage=6]=\"NextPage\",s[s.PreviousPage=7]=\"PreviousPage\",s[s.NextSeparator=8]=\"NextSeparator\",s[s.PreviousSeparator=9]=\"PreviousSeparator\"})(sn||(sn={}));class nK{constructor(e,t,i){this.index=e,this.hasCheckbox=t,this._hidden=!1,this._init=new gl(()=>{var n;const o=(n=i.label)!==null&&n!==void 0?n:\"\",r=xv(o).text.trim(),a=i.ariaLabel||[o,this.saneDescription,this.saneDetail].map(l=>Ive(l)).filter(l=>!!l).join(\", \");return{saneLabel:o,saneSortLabel:r,saneAriaLabel:a}}),this._saneDescription=i.description,this._saneTooltip=i.tooltip}get saneLabel(){return this._init.value.saneLabel}get saneSortLabel(){return this._init.value.saneSortLabel}get saneAriaLabel(){return this._init.value.saneAriaLabel}get element(){return this._element}set element(e){this._element=e}get hidden(){return this._hidden}set hidden(e){this._hidden=e}get saneDescription(){return this._saneDescription}set saneDescription(e){this._saneDescription=e}get saneDetail(){return this._saneDetail}set saneDetail(e){this._saneDetail=e}get saneTooltip(){return this._saneTooltip}set saneTooltip(e){this._saneTooltip=e}get labelHighlights(){return this._labelHighlights}set labelHighlights(e){this._labelHighlights=e}get descriptionHighlights(){return this._descriptionHighlights}set descriptionHighlights(e){this._descriptionHighlights=e}get detailHighlights(){return this._detailHighlights}set detailHighlights(e){this._detailHighlights=e}}class hs extends nK{constructor(e,t,i,n,o,r){var a,l,d;super(e,t,o),this.fireButtonTriggered=i,this._onChecked=n,this.item=o,this._separator=r,this._checked=!1,this.onChecked=t?le.map(le.filter(this._onChecked.event,c=>c.element===this),c=>c.checked):le.None,this._saneDetail=o.detail,this._labelHighlights=(a=o.highlights)===null||a===void 0?void 0:a.label,this._descriptionHighlights=(l=o.highlights)===null||l===void 0?void 0:l.description,this._detailHighlights=(d=o.highlights)===null||d===void 0?void 0:d.detail}get separator(){return this._separator}set separator(e){this._separator=e}get checked(){return this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire({element:this,checked:e}))}get checkboxDisabled(){return!!this.item.disabled}}var Pl;(function(s){s[s.NONE=0]=\"NONE\",s[s.MOUSE_HOVER=1]=\"MOUSE_HOVER\",s[s.ACTIVE_ITEM=2]=\"ACTIVE_ITEM\"})(Pl||(Pl={}));class Du extends nK{constructor(e,t,i){super(e,!1,i),this.fireSeparatorButtonTriggered=t,this.separator=i,this.children=new Array,this.focusInsideSeparator=Pl.NONE}}class Bwe{getHeight(e){return e instanceof Du?30:e.saneDetail?44:22}getTemplateId(e){return e instanceof hs?bC.ID:R1.ID}}class Wwe{getWidgetAriaLabel(){return p(\"quickInput\",\"Quick Input\")}getAriaLabel(e){var t;return!((t=e.separator)===null||t===void 0)&&t.label?`${e.saneAriaLabel}, ${e.separator.label}`:e.saneAriaLabel}getWidgetRole(){return\"listbox\"}getRole(e){return e.hasCheckbox?\"checkbox\":\"option\"}isChecked(e){if(!(!e.hasCheckbox||!(e instanceof hs)))return{get value(){return e.checked},onDidChange:t=>e.onChecked(()=>t())}}}class sK{constructor(e){this.hoverDelegate=e}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=new Y,t.toDisposeTemplate=new Y,t.entry=Q(e,Aa(\".quick-input-list-entry\"));const i=Q(t.entry,Aa(\"label.quick-input-list-label\"));t.toDisposeTemplate.add(Ni(i,ee.CLICK,d=>{t.checkbox.offsetParent||d.preventDefault()})),t.checkbox=Q(i,Aa(\"input.quick-input-list-checkbox\")),t.checkbox.type=\"checkbox\";const n=Q(i,Aa(\".quick-input-list-rows\")),o=Q(n,Aa(\".quick-input-list-row\")),r=Q(n,Aa(\".quick-input-list-row\"));t.label=new jD(o,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0,hoverDelegate:this.hoverDelegate}),t.toDisposeTemplate.add(t.label),t.icon=uF(t.label.element,Aa(\".quick-input-list-icon\"));const a=Q(o,Aa(\".quick-input-list-entry-keybinding\"));t.keybinding=new m0(a,Lo),t.toDisposeTemplate.add(t.keybinding);const l=Q(r,Aa(\".quick-input-list-label-meta\"));return t.detail=new jD(l,{supportHighlights:!0,supportIcons:!0,hoverDelegate:this.hoverDelegate}),t.toDisposeTemplate.add(t.detail),t.separator=Q(t.entry,Aa(\".quick-input-list-separator\")),t.actionBar=new Vr(t.entry,this.hoverDelegate?{hoverDelegate:this.hoverDelegate}:void 0),t.actionBar.domNode.classList.add(\"quick-input-list-entry-action-bar\"),t.toDisposeTemplate.add(t.actionBar),t}disposeTemplate(e){e.toDisposeElement.dispose(),e.toDisposeTemplate.dispose()}disposeElement(e,t,i){i.toDisposeElement.clear(),i.actionBar.clear()}}let bC=U2=class extends sK{constructor(e,t){super(e),this.themeService=t,this._itemsWithSeparatorsFrequency=new Map}get templateId(){return U2.ID}renderTemplate(e){const t=super.renderTemplate(e);return t.toDisposeTemplate.add(Ni(t.checkbox,ee.CHANGE,i=>{t.element.checked=t.checkbox.checked})),t}renderElement(e,t,i){var n,o,r;const a=e.element;i.element=a,a.element=(n=i.entry)!==null&&n!==void 0?n:void 0;const l=a.item;i.checkbox.checked=a.checked,i.toDisposeElement.add(a.onChecked(m=>i.checkbox.checked=m)),i.checkbox.disabled=a.checkboxDisabled;const{labelHighlights:d,descriptionHighlights:c,detailHighlights:u}=a;if(l.iconPath){const m=Dx(this.themeService.getColorTheme().type)?l.iconPath.dark:(o=l.iconPath.light)!==null&&o!==void 0?o:l.iconPath.dark,_=Ae.revive(m);i.icon.className=\"quick-input-list-icon\",i.icon.style.backgroundImage=Ih(_)}else i.icon.style.backgroundImage=\"\",i.icon.className=l.iconClass?`quick-input-list-icon ${l.iconClass}`:\"\";let h;!a.saneTooltip&&a.saneDescription&&(h={markdown:{value:a.saneDescription,supportThemeIcons:!0},markdownNotSupportedFallback:a.saneDescription});const g={matches:d||[],descriptionTitle:h,descriptionMatches:c||[],labelEscapeNewLines:!0};if(g.extraClasses=l.iconClasses,g.italic=l.italic,g.strikethrough=l.strikethrough,i.entry.classList.remove(\"quick-input-list-separator-as-item\"),i.label.setLabel(a.saneLabel,a.saneDescription,g),i.keybinding.set(l.keybinding),a.saneDetail){let m;a.saneTooltip||(m={markdown:{value:a.saneDetail,supportThemeIcons:!0},markdownNotSupportedFallback:a.saneDetail}),i.detail.element.style.display=\"\",i.detail.setLabel(a.saneDetail,void 0,{matches:u,title:m,labelEscapeNewLines:!0})}else i.detail.element.style.display=\"none\";!((r=a.separator)===null||r===void 0)&&r.label?(i.separator.textContent=a.separator.label,i.separator.style.display=\"\",this.addItemWithSeparator(a)):i.separator.style.display=\"none\",i.entry.classList.toggle(\"quick-input-list-separator-border\",!!a.separator);const f=l.buttons;f&&f.length?(i.actionBar.push(f.map((m,_)=>FD(m,`id-${_}`,()=>a.fireButtonTriggered({button:m,item:a.item}))),{icon:!0,label:!1}),i.entry.classList.add(\"has-actions\")):i.entry.classList.remove(\"has-actions\")}disposeElement(e,t,i){this.removeItemWithSeparator(e.element),super.disposeElement(e,t,i)}isItemWithSeparatorVisible(e){return this._itemsWithSeparatorsFrequency.has(e)}addItemWithSeparator(e){this._itemsWithSeparatorsFrequency.set(e,(this._itemsWithSeparatorsFrequency.get(e)||0)+1)}removeItemWithSeparator(e){const t=this._itemsWithSeparatorsFrequency.get(e)||0;t>1?this._itemsWithSeparatorsFrequency.set(e,t-1):this._itemsWithSeparatorsFrequency.delete(e)}};bC.ID=\"quickpickitem\";bC=U2=ak([iK(1,_n)],bC);class R1 extends sK{constructor(){super(...arguments),this._visibleSeparatorsFrequency=new Map}get templateId(){return R1.ID}get visibleSeparators(){return[...this._visibleSeparatorsFrequency.keys()]}isSeparatorVisible(e){return this._visibleSeparatorsFrequency.has(e)}renderElement(e,t,i){var n;const o=e.element;i.element=o,o.element=(n=i.entry)!==null&&n!==void 0?n:void 0,o.element.classList.toggle(\"focus-inside\",!!o.focusInsideSeparator);const r=o.separator,{labelHighlights:a,descriptionHighlights:l,detailHighlights:d}=o;i.icon.style.backgroundImage=\"\",i.icon.className=\"\";let c;!o.saneTooltip&&o.saneDescription&&(c={markdown:{value:o.saneDescription,supportThemeIcons:!0},markdownNotSupportedFallback:o.saneDescription});const u={matches:a||[],descriptionTitle:c,descriptionMatches:l||[],labelEscapeNewLines:!0};if(i.entry.classList.add(\"quick-input-list-separator-as-item\"),i.label.setLabel(o.saneLabel,o.saneDescription,u),o.saneDetail){let g;o.saneTooltip||(g={markdown:{value:o.saneDetail,supportThemeIcons:!0},markdownNotSupportedFallback:o.saneDetail}),i.detail.element.style.display=\"\",i.detail.setLabel(o.saneDetail,void 0,{matches:d,title:g,labelEscapeNewLines:!0})}else i.detail.element.style.display=\"none\";i.separator.style.display=\"none\",i.entry.classList.add(\"quick-input-list-separator-border\");const h=r.buttons;h&&h.length?(i.actionBar.push(h.map((g,f)=>FD(g,`id-${f}`,()=>o.fireSeparatorButtonTriggered({button:g,separator:o.separator}))),{icon:!0,label:!1}),i.entry.classList.add(\"has-actions\")):i.entry.classList.remove(\"has-actions\"),this.addSeparator(o)}disposeElement(e,t,i){var n;this.removeSeparator(e.element),this.isSeparatorVisible(e.element)||(n=e.element.element)===null||n===void 0||n.classList.remove(\"focus-inside\"),super.disposeElement(e,t,i)}addSeparator(e){this._visibleSeparatorsFrequency.set(e,(this._visibleSeparatorsFrequency.get(e)||0)+1)}removeSeparator(e){const t=this._visibleSeparatorsFrequency.get(e)||0;t>1?this._visibleSeparatorsFrequency.set(e,t-1):this._visibleSeparatorsFrequency.delete(e)}}R1.ID=\"quickpickseparator\";let CC=class extends H{constructor(e,t,i,n,o){super(),this.parent=e,this.hoverDelegate=t,this.linkOpenerDelegate=i,this._onKeyDown=new B,this.onKeyDown=this._onKeyDown.event,this._onLeave=new B,this.onLeave=this._onLeave.event,this._onChangedAllVisibleChecked=new B,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new B,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new B,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new B,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new B,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new B,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._onTriggerEmptySelectionOrFocus=new B,this._elementChecked=new B,this._inputElements=new Array,this._elementTree=new Array,this._itemElements=new Array,this._elementDisposable=this._register(new Y),this._shouldFireCheckedEvents=!0,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode=\"fuzzy\",this._sortByLabel=!0,this._container=Q(this.parent,Aa(\".quick-input-list\")),this._separatorRenderer=new R1(t),this._itemRenderer=o.createInstance(bC,t),this._tree=this._register(o.createInstance(V2,\"QuickInput\",this._container,new Bwe,[this._itemRenderer,this._separatorRenderer],{accessibilityProvider:new Wwe,setRowLineHeight:!1,multipleSelectionSupport:!1,hideTwistiesOfChildlessElements:!0,renderIndentGuides:M_.None,findWidgetEnabled:!1,indent:0,horizontalScrolling:!1,allowNonCollapsibleParents:!0,identityProvider:{getId:r=>{const a=r.item||r.separator;if(a===void 0)return\"\";if(a.id!==void 0)return a.id;let l=`label:${a.label}`;return l+=`$$description:${a.description}`,a.type!==\"separator\"&&(l+=`$$detail:${a.detail}`),l}},alwaysConsumeMouseWheel:!0})),this._tree.getHTMLElement().id=n,this._registerListeners()}get onDidChangeFocus(){return le.map(le.any(this._tree.onDidChangeFocus,this._onTriggerEmptySelectionOrFocus.event),e=>e.elements.filter(t=>t instanceof hs).map(t=>t.item))}get onDidChangeSelection(){return le.map(le.any(this._tree.onDidChangeSelection,this._onTriggerEmptySelectionOrFocus.event),e=>({items:e.elements.filter(t=>t instanceof hs).map(t=>t.item),event:e.browserEvent}))}get scrollTop(){return this._tree.scrollTop}set scrollTop(e){this._tree.scrollTop=e}get ariaLabel(){return this._tree.ariaLabel}set ariaLabel(e){this._tree.ariaLabel=e??\"\"}set enabled(e){this._tree.getHTMLElement().style.pointerEvents=e?\"\":\"none\"}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(e){this._matchOnLabelMode=e}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e}_registerListeners(){this._registerOnKeyDown(),this._registerOnContainerClick(),this._registerOnMouseMiddleClick(),this._registerOnElementChecked(),this._registerOnContextMenu(),this._registerHoverListeners(),this._registerSelectionChangeListener(),this._registerSeparatorActionShowingListeners()}_registerOnKeyDown(){this._register(this._tree.onKeyDown(e=>{const t=new Kt(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(lt?e.metaKey:e.ctrlKey)&&this._tree.setFocus(this._itemElements);break;case 16:{const i=this._tree.getFocus();i.length===1&&i[0]===this._itemElements[0]&&this._onLeave.fire();break}case 18:{const i=this._tree.getFocus();i.length===1&&i[0]===this._itemElements[this._itemElements.length-1]&&this._onLeave.fire();break}}this._onKeyDown.fire(t)}))}_registerOnContainerClick(){this._register(K(this._container,ee.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()}))}_registerOnMouseMiddleClick(){this._register(K(this._container,ee.AUXCLICK,e=>{e.button===1&&this._onLeave.fire()}))}_registerOnElementChecked(){this._register(this._elementChecked.event(e=>this._fireCheckedEvents()))}_registerOnContextMenu(){this._register(this._tree.onContextMenu(e=>{e.element&&(e.browserEvent.preventDefault(),this._tree.setSelection([e.element]))}))}_registerHoverListeners(){const e=this._register(new fz(this.hoverDelegate.delay));this._register(this._tree.onMouseOver(async t=>{var i;if(t.browserEvent.target instanceof HTMLAnchorElement){e.cancel();return}if(!(!(t.browserEvent.relatedTarget instanceof HTMLAnchorElement)&&An(t.browserEvent.relatedTarget,(i=t.element)===null||i===void 0?void 0:i.element)))try{await e.trigger(async()=>{t.element instanceof hs&&this.showHover(t.element)})}catch(n){if(!Id(n))throw n}})),this._register(this._tree.onMouseOut(t=>{var i;An(t.browserEvent.relatedTarget,(i=t.element)===null||i===void 0?void 0:i.element)||e.cancel()}))}_registerSeparatorActionShowingListeners(){this._register(this._tree.onDidChangeFocus(e=>{const t=e.elements[0]?this._tree.getParentElement(e.elements[0]):null;for(const i of this._separatorRenderer.visibleSeparators){const n=i===t;!!(i.focusInsideSeparator&Pl.ACTIVE_ITEM)!==n&&(n?i.focusInsideSeparator|=Pl.ACTIVE_ITEM:i.focusInsideSeparator&=~Pl.ACTIVE_ITEM,this._tree.rerender(i))}})),this._register(this._tree.onMouseOver(e=>{const t=e.element?this._tree.getParentElement(e.element):null;for(const i of this._separatorRenderer.visibleSeparators){if(i!==t)continue;!!(i.focusInsideSeparator&Pl.MOUSE_HOVER)||(i.focusInsideSeparator|=Pl.MOUSE_HOVER,this._tree.rerender(i))}})),this._register(this._tree.onMouseOut(e=>{const t=e.element?this._tree.getParentElement(e.element):null;for(const i of this._separatorRenderer.visibleSeparators){if(i!==t)continue;!!(i.focusInsideSeparator&Pl.MOUSE_HOVER)&&(i.focusInsideSeparator&=~Pl.MOUSE_HOVER,this._tree.rerender(i))}}))}_registerSelectionChangeListener(){this._register(this._tree.onDidChangeSelection(e=>{const t=e.elements.filter(i=>i instanceof hs);t.length!==e.elements.length&&(e.elements.length===1&&e.elements[0]instanceof Du&&(this._tree.setFocus([e.elements[0].children[0]]),this._tree.reveal(e.elements[0],0)),this._tree.setSelection(t))}))}getAllVisibleChecked(){return this._allVisibleChecked(this._itemElements,!1)}getCheckedCount(){return this._itemElements.filter(e=>e.checked).length}getVisibleCount(){return this._itemElements.filter(e=>!e.hidden).length}setAllVisibleChecked(e){try{this._shouldFireCheckedEvents=!1,this._itemElements.forEach(t=>{!t.hidden&&!t.checkboxDisabled&&(t.checked=e)})}finally{this._shouldFireCheckedEvents=!0,this._fireCheckedEvents()}}setElements(e){this._elementDisposable.clear(),this._inputElements=e;const t=this.parent.classList.contains(\"show-checkboxes\");let i;this._itemElements=new Array,this._elementTree=e.reduce((r,a,l)=>{let d;if(a.type===\"separator\"){if(!a.buttons)return r;i=new Du(l,c=>this.fireSeparatorButtonTriggered(c),a),d=i}else{const c=l>0?e[l-1]:void 0;let u;c&&c.type===\"separator\"&&!c.buttons&&(i=void 0,u=c);const h=new hs(l,t,g=>this.fireButtonTriggered(g),this._elementChecked,a,u);if(this._itemElements.push(h),i)return i.children.push(h),r;d=h}return r.push(d),r},new Array);const n=new Array;let o=0;for(const r of this._elementTree)r instanceof Du?(n.push({element:r,collapsible:!1,collapsed:!1,children:r.children.map(a=>({element:a,collapsible:!1,collapsed:!1}))}),o+=r.children.length+1):(n.push({element:r,collapsible:!1,collapsed:!1}),o++);this._tree.setChildren(null,n),this._onChangedVisibleCount.fire(o)}setFocusedElements(e){const t=e.map(i=>this._itemElements.find(n=>n.item===i)).filter(i=>!!i);if(this._tree.setFocus(t),e.length>0){const i=this._tree.getFocus()[0];i&&this._tree.reveal(i)}}getActiveDescendant(){return this._tree.getHTMLElement().getAttribute(\"aria-activedescendant\")}setSelectedElements(e){const t=e.map(i=>this._itemElements.find(n=>n.item===i)).filter(i=>!!i);this._tree.setSelection(t)}getCheckedElements(){return this._itemElements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._shouldFireCheckedEvents=!1;const t=new Set;for(const i of e)t.add(i);for(const i of this._itemElements)i.checked=t.has(i.item)}finally{this._shouldFireCheckedEvents=!0,this._fireCheckedEvents()}}focus(e){var t;if(this._itemElements.length)switch(e===sn.Second&&this._itemElements.length<2&&(e=sn.First),e){case sn.First:this._tree.scrollTop=0,this._tree.focusFirst(void 0,i=>i.element instanceof hs);break;case sn.Second:this._tree.scrollTop=0,this._tree.setFocus([this._itemElements[1]]);break;case sn.Last:this._tree.scrollTop=this._tree.scrollHeight,this._tree.setFocus([this._itemElements[this._itemElements.length-1]]);break;case sn.Next:this._tree.focusNext(void 0,!0,void 0,i=>i.element instanceof hs?(this._tree.reveal(i.element),!0):!1);break;case sn.Previous:this._tree.focusPrevious(void 0,!0,void 0,i=>{if(!(i.element instanceof hs))return!1;const n=this._tree.getParentElement(i.element);return n===null||n.children[0]!==i.element?this._tree.reveal(i.element):this._tree.reveal(n),!0});break;case sn.NextPage:this._tree.focusNextPage(void 0,i=>i.element instanceof hs?(this._tree.reveal(i.element),!0):!1);break;case sn.PreviousPage:this._tree.focusPreviousPage(void 0,i=>{if(!(i.element instanceof hs))return!1;const n=this._tree.getParentElement(i.element);return n===null||n.children[0]!==i.element?this._tree.reveal(i.element):this._tree.reveal(n),!0});break;case sn.NextSeparator:{let i=!1;const n=this._tree.getFocus()[0];this._tree.focusNext(void 0,!0,void 0,r=>{if(i)return!0;if(r.element instanceof Du)i=!0,this._separatorRenderer.isSeparatorVisible(r.element)?this._tree.reveal(r.element.children[0]):this._tree.reveal(r.element,0);else if(r.element instanceof hs){if(r.element.separator)return this._itemRenderer.isItemWithSeparatorVisible(r.element)?this._tree.reveal(r.element):this._tree.reveal(r.element,0),!0;if(r.element===this._elementTree[0])return this._tree.reveal(r.element,0),!0}return!1});const o=this._tree.getFocus()[0];n===o&&(this._tree.scrollTop=this._tree.scrollHeight,this._tree.setFocus([this._itemElements[this._itemElements.length-1]]));break}case sn.PreviousSeparator:{let i,n=!!(!((t=this._tree.getFocus()[0])===null||t===void 0)&&t.separator);this._tree.focusPrevious(void 0,!0,void 0,o=>{if(o.element instanceof Du)n?i||(this._separatorRenderer.isSeparatorVisible(o.element)?this._tree.reveal(o.element):this._tree.reveal(o.element,0),i=o.element.children[0]):n=!0;else if(o.element instanceof hs&&!i){if(o.element.separator)this._itemRenderer.isItemWithSeparatorVisible(o.element)?this._tree.reveal(o.element):this._tree.reveal(o.element,0),i=o.element;else if(o.element===this._elementTree[0])return this._tree.reveal(o.element,0),!0}return!1}),i&&this._tree.setFocus([i]);break}}}clearFocus(){this._tree.setFocus([])}domFocus(){this._tree.domFocus()}layout(e){this._tree.getHTMLElement().style.maxHeight=e?`${Math.floor(e/44)*44+6}px`:\"\",this._tree.layout()}filter(e){if(!(this._sortByLabel||this._matchOnLabel||this._matchOnDescription||this._matchOnDetail))return this._tree.layout(),!1;const t=e;if(e=e.trim(),!e||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this._itemElements.forEach(l=>{l.labelHighlights=void 0,l.descriptionHighlights=void 0,l.detailHighlights=void 0,l.hidden=!1;const d=l.index&&this._inputElements[l.index-1];l.item&&(l.separator=d&&d.type===\"separator\"&&!d.buttons?d:void 0)});else{let l;this._elementTree.forEach(d=>{var c,u,h,g;let f;this.matchOnLabelMode===\"fuzzy\"?f=this.matchOnLabel&&(c=FI(e,xv(d.saneLabel)))!==null&&c!==void 0?c:void 0:f=this.matchOnLabel&&(u=Hwe(t,xv(d.saneLabel)))!==null&&u!==void 0?u:void 0;const m=this.matchOnDescription&&(h=FI(e,xv(d.saneDescription||\"\")))!==null&&h!==void 0?h:void 0,_=this.matchOnDetail&&(g=FI(e,xv(d.saneDetail||\"\")))!==null&&g!==void 0?g:void 0;if(f||m||_?(d.labelHighlights=f,d.descriptionHighlights=m,d.detailHighlights=_,d.hidden=!1):(d.labelHighlights=void 0,d.descriptionHighlights=void 0,d.detailHighlights=void 0,d.hidden=d.item?!d.item.alwaysShow:!0),d.item?d.separator=void 0:d.separator&&(d.hidden=!0),!this.sortByLabel){const v=d.index&&this._inputElements[d.index-1];l=v&&v.type===\"separator\"?v:l,l&&!d.hidden&&(d.separator=l,l=void 0)}})}const i=this._elementTree.filter(l=>!l.hidden);if(this.sortByLabel&&e){const l=e.toLowerCase();i.sort((d,c)=>Vwe(d,c,l))}let n;const o=i.reduce((l,d,c)=>(d instanceof hs?n?n.children.push(d):l.push(d):d instanceof Du&&(d.children=[],n=d,l.push(d)),l),new Array),r=new Array;for(const l of o)l instanceof Du?r.push({element:l,collapsible:!1,collapsed:!1,children:l.children.map(d=>({element:d,collapsible:!1,collapsed:!1}))}):r.push({element:l,collapsible:!1,collapsed:!1});const a=this._tree.getFocus().length;return this._tree.setChildren(null,r),a>0&&r.length===0&&this._onTriggerEmptySelectionOrFocus.fire({elements:[]}),this._tree.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(i.length),!0}toggleCheckbox(){try{this._shouldFireCheckedEvents=!1;const e=this._tree.getFocus().filter(i=>i instanceof hs),t=this._allVisibleChecked(e);for(const i of e)i.checkboxDisabled||(i.checked=!t)}finally{this._shouldFireCheckedEvents=!0,this._fireCheckedEvents()}}display(e){this._container.style.display=e?\"\":\"none\"}isDisplayed(){return this._container.style.display!==\"none\"}style(e){this._tree.style(e)}toggleHover(){const e=this._tree.getFocus()[0];if(!(e!=null&&e.saneTooltip)||!(e instanceof hs))return;if(this._lastHover&&!this._lastHover.isDisposed){this._lastHover.dispose();return}this.showHover(e);const t=new Y;t.add(this._tree.onDidChangeFocus(i=>{i.elements[0]instanceof hs&&this.showHover(i.elements[0])})),this._lastHover&&t.add(this._lastHover),this._elementDisposable.add(t)}_allVisibleChecked(e,t=!0){for(let i=0,n=e.length;i<n;i++){const o=e[i];if(!o.hidden)if(o.checked)t=!0;else return!1}return t}_fireCheckedEvents(){this._shouldFireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}fireSeparatorButtonTriggered(e){this._onSeparatorButtonTriggered.fire(e)}showHover(e){var t,i,n;this._lastHover&&!this._lastHover.isDisposed&&((i=(t=this.hoverDelegate).onDidHideHover)===null||i===void 0||i.call(t),(n=this._lastHover)===null||n===void 0||n.dispose()),!(!e.element||!e.saneTooltip)&&(this._lastHover=this.hoverDelegate.showHover({content:e.saneTooltip,target:e.element,linkHandler:o=>{this.linkOpenerDelegate(o)},appearance:{showPointer:!0},container:this._container,position:{hoverPosition:1}},!1))}};ak([zi],CC.prototype,\"onDidChangeFocus\",null);ak([zi],CC.prototype,\"onDidChangeSelection\",null);CC=ak([iK(4,Ne)],CC);function Hwe(s,e){const{text:t,iconOffsets:i}=e;if(!i||i.length===0)return j6(s,t);const n=qL(t,\" \"),o=t.length-n.length,r=j6(s,n);if(r)for(const a of r){const l=i[a.start+o]+o;a.start+=l,a.end+=l}return r}function j6(s,e){const t=e.toLowerCase().indexOf(s.toLowerCase());return t!==-1?[{start:t,end:t+s.length}]:null}function Vwe(s,e,t){const i=s.labelHighlights||[],n=e.labelHighlights||[];return i.length&&!n.length?-1:!i.length&&n.length?1:i.length===0&&n.length===0?0:Fwe(s.saneSortLabel,e.saneSortLabel,t)}var zwe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},K6=function(s,e){return function(t,i){e(t,i,s)}};const $2={iconClass:Pe.asClassName(oe.quickInputBack),tooltip:p(\"quickInput.back\",\"Back\")};class P1 extends H{constructor(e){super(),this.ui=e,this._widgetUpdated=!1,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=P1.noPromptMessage,this._severity=Bi.Ignore,this.onDidTriggerButtonEmitter=this._register(new B),this.onDidHideEmitter=this._register(new B),this.onWillHideEmitter=this._register(new B),this.onDisposeEmitter=this._register(new B),this.visibleDisposables=this._register(new Y),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){const t=this._ignoreFocusOut!==e&&!_d;this._ignoreFocusOut=e&&!_d,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(e){this._toggles=e??[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{this.buttons.indexOf(e)!==-1&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=A_.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}willHide(e=A_.Other){this.onWillHideEmitter.fire({reason:e})}update(){var e,t;if(!this.visible)return;const i=this.getTitle();i&&this.ui.title.textContent!==i?this.ui.title.textContent=i:!i&&this.ui.title.innerHTML!==\"&nbsp;\"&&(this.ui.title.innerText=\" \");const n=this.getDescription();if(this.ui.description1.textContent!==n&&(this.ui.description1.textContent=n),this.ui.description2.textContent!==n&&(this.ui.description2.textContent=n),this._widgetUpdated&&(this._widgetUpdated=!1,this._widget?Yn(this.ui.widget,this._widget):Yn(this.ui.widget)),this.busy&&!this.busyDelay&&(this.busyDelay=new ya,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const r=this.buttons.filter(l=>l===$2).map((l,d)=>FD(l,`id-${d}`,async()=>this.onDidTriggerButtonEmitter.fire(l)));this.ui.leftActionBar.push(r,{icon:!0,label:!1}),this.ui.rightActionBar.clear();const a=this.buttons.filter(l=>l!==$2).map((l,d)=>FD(l,`id-${d}`,async()=>this.onDidTriggerButtonEmitter.fire(l)));this.ui.rightActionBar.push(a,{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;const r=(t=(e=this.toggles)===null||e===void 0?void 0:e.filter(a=>a instanceof f0))!==null&&t!==void 0?t:[];this.ui.inputBox.toggles=r}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const o=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==o&&(this._lastValidationMessage=o,Yn(this.ui.message),C1e(o,this.ui.message,{callback:r=>{this.ui.linkOpenerDelegate(r)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():\"\"}getDescription(){return this.description||\"\"}getSteps(){return this.step&&this.totalSteps?p(\"quickInput.steps\",\"{0}/{1}\",this.step,this.totalSteps):this.step?String(this.step):\"\"}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e!==Bi.Ignore){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?`${t.foreground}`:\"\",this.ui.message.style.backgroundColor=t.background?`${t.background}`:\"\",this.ui.message.style.border=t.border?`1px solid ${t.border}`:\"\",this.ui.message.style.marginBottom=\"-2px\"}else this.ui.message.style.color=\"\",this.ui.message.style.backgroundColor=\"\",this.ui.message.style.border=\"\",this.ui.message.style.marginBottom=\"\"}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}P1.noPromptMessage=p(\"inputModeEntry\",\"Press 'Enter' to confirm your input or 'Escape' to cancel\");class wC extends P1{constructor(){super(...arguments),this._value=\"\",this.onDidChangeValueEmitter=this._register(new B),this.onWillAcceptEmitter=this._register(new B),this.onDidAcceptEmitter=this._register(new B),this.onDidCustomEmitter=this._register(new B),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode=\"fuzzy\",this._sortByLabel=!0,this._keepScrollPosition=!1,this._itemActivation=Rl.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new B),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new B),this.onDidTriggerItemButtonEmitter=this._register(new B),this.onDidTriggerSeparatorButtonEmitter=this._register(new B),this.valueSelectionUpdated=!0,this._ok=\"default\",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this.doSetValue(e)}doSetValue(e,t){this._value!==e&&(this._value=e,t||this.update(),this.visible&&this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(e){this.ui.list.scrollTop=e}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(e){this._matchOnLabelMode=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(e){this._keepScrollPosition=e}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?g1e:this.ui.keyMods}get valueSelection(){const e=this.ui.inputBox.getSelection();if(e)return[e.start,e.end]}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.canSelectMany||this.ui.list.focus(sn.First)}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{this.doSetValue(e,!0)})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.quickNavigate===void 0&&(lt?e.metaKey:e.altKey)?this.ui.list.focus(sn.NextSeparator):this.ui.list.focus(sn.Next),this.canSelectMany&&this.ui.list.domFocus(),nt.stop(e,!0);break;case 16:this.quickNavigate===void 0&&(lt?e.metaKey:e.altKey)?this.ui.list.focus(sn.PreviousSeparator):this.ui.list.focus(sn.Previous),this.canSelectMany&&this.ui.list.domFocus(),nt.stop(e,!0);break;case 12:this.ui.list.focus(sn.NextPage),this.canSelectMany&&this.ui.list.domFocus(),nt.stop(e,!0);break;case 11:this.ui.list.focus(sn.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),nt.stop(e,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&(this.ui.list.focus(sn.First),nt.stop(e,!0));break;case 13:(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&(this.ui.list.focus(sn.Last),nt.stop(e,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Ci(e,this._activeItems,(t,i)=>t===i)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{if(this.canSelectMany){e.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&Ci(e,this._selectedItems,(i,n)=>i===n)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(cF(t)&&t.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&Ci(e,this._selectedItems,(t,i)=>t===i)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.ui.list.onSeparatorButtonTriggered(e=>this.onDidTriggerSeparatorButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return K(this.ui.container,ee.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new Kt(e),i=t.keyCode;this._quickNavigate.keybindings.some(r=>{const a=r.getChords();return a.length>1?!1:a[0].shiftKey&&i===4?!(t.ctrlKey||t.altKey||t.metaKey):!!(a[0].altKey&&i===6||a[0].ctrlKey&&i===5||a[0].metaKey&&i===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const e=this.keepScrollPosition?this.scrollTop:0,t=!!this.description,i={title:!!this.title||!!this.step||!!this.buttons.length,description:t,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||t,visibleCount:!0,count:this.canSelectMany&&!this._hideCountBadge,ok:this.ok===\"default\"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(i),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||\"\")&&(this.ui.inputBox.placeholder=this.placeholder||\"\");let n=this.ariaLabel;if(!n&&i.inputBox&&(n=this.placeholder||wC.DEFAULT_ARIA_LABEL,this.title&&(n+=` - ${this.title}`)),this.ui.list.ariaLabel!==n&&(this.ui.list.ariaLabel=n??null),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated){this.itemsUpdated=!1;const o=this._activeItems;switch(this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Rl.NONE:o.length>0&&(this._activeItems=[],this.onDidChangeActiveEmitter.fire(this._activeItems)),this._itemActivation=Rl.FIRST;break;case Rl.SECOND:this.ui.list.focus(sn.Second),this._itemActivation=Rl.FIRST;break;case Rl.LAST:this.ui.list.focus(sn.Last),this._itemActivation=Rl.FIRST;break;default:this.trySelectFirst();break}}this.ui.container.classList.contains(\"show-checkboxes\")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||\"\",this.ui.customButton.element.title=this.customHover||\"\",i.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(sn.First)),this.keepScrollPosition&&(this.scrollTop=e)}}wC.DEFAULT_ARIA_LABEL=p(\"quickInputBox.ariaLabel\",\"Type to narrow down results.\");class Uwe extends P1{constructor(){super(...arguments),this._value=\"\",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new B),this.onDidAcceptEmitter=this._register(new B),this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(e){this._value=e||\"\",this.update()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get password(){return this._password}set password(e){this._password=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{e!==this.value&&(this._value=e,this.onDidValueChangeEmitter.fire(e))})),this.visibleDisposables.add(this.ui.onDidAccept(()=>this.onDidAcceptEmitter.fire())),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove(\"hidden-input\");const e={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0,progressBar:!0};this.ui.setVisibilities(e),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||\"\")&&(this.ui.inputBox.placeholder=this.placeholder||\"\"),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}let j2=class extends S_{constructor(e,t){super(\"element\",!1,i=>this.getOverrideOptions(i),e,t)}getOverrideOptions(e){var t;const i=(e.content instanceof HTMLElement?(t=e.content.textContent)!==null&&t!==void 0?t:\"\":typeof e.content==\"string\"?e.content:e.content.value).includes(`\n`);return{persistence:{hideOnKeyDown:!1},appearance:{showHoverHint:i,skipFadeInAnimation:!0}}}};j2=zwe([K6(0,rt),K6(1,Md)],j2);$.white.toString(),$.white.toString();class KD extends H{get onDidClick(){return this._onDidClick.event}constructor(e,t){super(),this._label=\"\",this._onDidClick=this._register(new B),this._onDidEscape=this._register(new B),this.options=t,this._element=document.createElement(\"a\"),this._element.classList.add(\"monaco-button\"),this._element.tabIndex=0,this._element.setAttribute(\"role\",\"button\"),this._element.classList.toggle(\"secondary\",!!t.secondary);const i=t.secondary?t.buttonSecondaryBackground:t.buttonBackground,n=t.secondary?t.buttonSecondaryForeground:t.buttonForeground;this._element.style.color=n||\"\",this._element.style.backgroundColor=i||\"\",t.supportShortLabel&&(this._labelShortElement=document.createElement(\"div\"),this._labelShortElement.classList.add(\"monaco-button-label-short\"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement(\"div\"),this._labelElement.classList.add(\"monaco-button-label\"),this._element.appendChild(this._labelElement),this._element.classList.add(\"monaco-text-button-with-short-label\")),typeof t.title==\"string\"&&this.setTitle(t.title),typeof t.ariaLabel==\"string\"&&this._element.setAttribute(\"aria-label\",t.ariaLabel),e.appendChild(this._element),this._register(Gt.addTarget(this._element)),[ee.CLICK,Xt.Tap].forEach(o=>{this._register(K(this._element,o,r=>{if(!this.enabled){nt.stop(r);return}this._onDidClick.fire(r)}))}),this._register(K(this._element,ee.KEY_DOWN,o=>{const r=new Kt(o);let a=!1;this.enabled&&(r.equals(3)||r.equals(10))?(this._onDidClick.fire(o),a=!0):r.equals(9)&&(this._onDidEscape.fire(o),this._element.blur(),a=!0),a&&nt.stop(r,!0)})),this._register(K(this._element,ee.MOUSE_OVER,o=>{this._element.classList.contains(\"disabled\")||this.updateBackground(!0)})),this._register(K(this._element,ee.MOUSE_OUT,o=>{this.updateBackground(!1)})),this.focusTracker=this._register(ba(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(e){const t=[];for(let i of lh(e))if(typeof i==\"string\"){if(i=i.trim(),i===\"\")continue;const n=document.createElement(\"span\");n.textContent=i,t.push(n)}else t.push(i);return t}updateBackground(e){let t;this.options.secondary?t=e?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:t=e?this.options.buttonHoverBackground:this.options.buttonBackground,t&&(this._element.style.backgroundColor=t)}get element(){return this._element}set label(e){var t;if(this._label===e||tl(this._label)&&tl(e)&&Tve(this._label,e))return;this._element.classList.add(\"monaco-text-button\");const i=this.options.supportShortLabel?this._labelElement:this._element;if(tl(e)){const o=Hx(e,{inline:!0});o.dispose();const r=(t=o.element.querySelector(\"p\"))===null||t===void 0?void 0:t.innerHTML;if(r){const a=wz(r,{ADD_TAGS:[\"b\",\"i\",\"u\",\"code\",\"span\"],ALLOWED_ATTR:[\"class\"],RETURN_TRUSTED_TYPE:!0});i.innerHTML=a}else Yn(i)}else this.options.supportIcons?Yn(i,...this.getContentElements(e)):i.textContent=e;let n=\"\";typeof this.options.title==\"string\"?n=this.options.title:this.options.title&&(n=Bve(e)),this.setTitle(n),typeof this.options.ariaLabel==\"string\"?this._element.setAttribute(\"aria-label\",this.options.ariaLabel):this.options.ariaLabel&&this._element.setAttribute(\"aria-label\",n),this._label=e}get label(){return this._label}set icon(e){this._element.classList.add(...Pe.asClassNameArray(e))}set enabled(e){e?(this._element.classList.remove(\"disabled\"),this._element.setAttribute(\"aria-disabled\",String(!1)),this._element.tabIndex=0):(this._element.classList.add(\"disabled\"),this._element.setAttribute(\"aria-disabled\",String(!0)))}get enabled(){return!this._element.classList.contains(\"disabled\")}setTitle(e){var t;!this._hover&&e!==\"\"?this._hover=this._register(_l().setupUpdatableHover((t=this.options.hoverDelegate)!==null&&t!==void 0?t:Xs(\"mouse\"),this._element,e)):this._hover&&this._hover.update(e)}}class K2{constructor(e,t,i){this.options=t,this.styles=i,this.count=0,this.element=Q(e,he(\".monaco-count-badge\")),this.countFormat=this.options.countFormat||\"{0}\",this.titleFormat=this.options.titleFormat||\"\",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){var e,t;this.element.textContent=l_(this.countFormat,this.count),this.element.title=l_(this.titleFormat,this.count),this.element.style.backgroundColor=(e=this.styles.badgeBackground)!==null&&e!==void 0?e:\"\",this.element.style.color=(t=this.styles.badgeForeground)!==null&&t!==void 0?t:\"\",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}const q6=\"done\",G6=\"active\",ZI=\"infinite\",XI=\"infinite-long-running\",Z6=\"discrete\";class lk extends H{constructor(e,t){super(),this.progressSignal=this._register(new $n),this.workedVal=0,this.showDelayedScheduler=this._register(new Wt(()=>Do(this.element),0)),this.longRunningScheduler=this._register(new Wt(()=>this.infiniteLongRunning(),lk.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(e,t)}create(e,t){this.element=document.createElement(\"div\"),this.element.classList.add(\"monaco-progress-container\"),this.element.setAttribute(\"role\",\"progressbar\"),this.element.setAttribute(\"aria-valuemin\",\"0\"),e.appendChild(this.element),this.bit=document.createElement(\"div\"),this.bit.classList.add(\"progress-bit\"),this.bit.style.backgroundColor=(t==null?void 0:t.progressBarBackground)||\"#0E70C0\",this.element.appendChild(this.bit)}off(){this.bit.style.width=\"inherit\",this.bit.style.opacity=\"1\",this.element.classList.remove(G6,ZI,XI,Z6),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel(),this.progressSignal.clear()}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(q6),this.element.classList.contains(ZI)?(this.bit.style.opacity=\"0\",e?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width=\"inherit\",e?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width=\"2%\",this.bit.style.opacity=\"1\",this.element.classList.remove(Z6,q6,XI),this.element.classList.add(G6,ZI),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(XI)}getContainer(){return this.element}}lk.LONG_RUNNING_INFINITE_THRESHOLD=1e4;const $we=he;class jwe extends H{constructor(e,t,i){super(),this.parent=e,this.onKeyDown=o=>Ni(this.findInput.inputBox.inputElement,ee.KEY_DOWN,o),this.onDidChange=o=>this.findInput.onDidChange(o),this.container=Q(this.parent,$we(\".quick-input-box\")),this.findInput=this._register(new Oj(this.container,void 0,{label:\"\",inputBoxStyles:t,toggleStyles:i}));const n=this.findInput.inputBox.inputElement;n.role=\"combobox\",n.ariaHasPopup=\"menu\",n.ariaAutoComplete=\"list\",n.ariaExpanded=\"true\"}get value(){return this.findInput.getValue()}set value(e){this.findInput.setValue(e)}select(e=null){this.findInput.inputBox.select(e)}getSelection(){return this.findInput.inputBox.getSelection()}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute(\"placeholder\")||\"\"}set placeholder(e){this.findInput.inputBox.setPlaceHolder(e)}get password(){return this.findInput.inputBox.inputElement.type===\"password\"}set password(e){this.findInput.inputBox.inputElement.type=e?\"password\":\"text\"}set enabled(e){this.findInput.inputBox.inputElement.toggleAttribute(\"readonly\",!e)}set toggles(e){this.findInput.setAdditionalToggles(e)}setAttribute(e,t){this.findInput.inputBox.inputElement.setAttribute(e,t)}showDecoration(e){e===Bi.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:e===Bi.Info?1:e===Bi.Warning?2:3,content:\"\"})}stylesForType(e){return this.findInput.inputBox.stylesForType(e===Bi.Info?1:e===Bi.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}var Kwe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},X6=function(s,e){return function(t,i){e(t,i,s)}},q2;const vo=he;let qD=q2=class extends H{get container(){return this._container}constructor(e,t,i){super(),this.options=e,this.layoutService=t,this.instantiationService=i,this.enabled=!0,this.onDidAcceptEmitter=this._register(new B),this.onDidCustomEmitter=this._register(new B),this.onDidTriggerButtonEmitter=this._register(new B),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new B),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new B),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this._container=e.container,this.styles=e.styles,this._register(le.runAndSubscribe(JL,({window:n,disposables:o})=>this.registerKeyModsListeners(n,o),{window:Ht,disposables:this._store})),this._register(Nae(n=>{this.ui&&Te(this.ui.container)===n&&(this.reparentUI(this.layoutService.mainContainer),this.layout(this.layoutService.mainContainerDimension,this.layoutService.mainContainerOffset.quickPickTop))}))}registerKeyModsListeners(e,t){const i=n=>{this.keyMods.ctrlCmd=n.ctrlKey||n.metaKey,this.keyMods.alt=n.altKey};for(const n of[ee.KEY_DOWN,ee.KEY_UP,ee.MOUSE_DOWN])t.add(K(e,n,i,!0))}getUI(e){if(this.ui)return e&&Te(this._container)!==Te(this.layoutService.activeContainer)&&(this.reparentUI(this.layoutService.activeContainer),this.layout(this.layoutService.activeContainerDimension,this.layoutService.activeContainerOffset.quickPickTop)),this.ui;const t=Q(this._container,vo(\".quick-input-widget.show-file-icons\"));t.tabIndex=-1,t.style.display=\"none\";const i=ar(t),n=Q(t,vo(\".quick-input-titlebar\")),o=this._register(new Vr(n,{hoverDelegate:this.options.hoverDelegate}));o.domNode.classList.add(\"quick-input-left-action-bar\");const r=Q(n,vo(\".quick-input-title\")),a=this._register(new Vr(n,{hoverDelegate:this.options.hoverDelegate}));a.domNode.classList.add(\"quick-input-right-action-bar\");const l=Q(t,vo(\".quick-input-header\")),d=Q(l,vo(\"input.quick-input-check-all\"));d.type=\"checkbox\",d.setAttribute(\"aria-label\",p(\"quickInput.checkAll\",\"Toggle all checkboxes\")),this._register(Ni(d,ee.CHANGE,F=>{const V=d.checked;R.setAllVisibleChecked(V)})),this._register(K(d,ee.CLICK,F=>{(F.x||F.y)&&g.setFocus()}));const c=Q(l,vo(\".quick-input-description\")),u=Q(l,vo(\".quick-input-and-message\")),h=Q(u,vo(\".quick-input-filter\")),g=this._register(new jwe(h,this.styles.inputBox,this.styles.toggle));g.setAttribute(\"aria-describedby\",`${this.idPrefix}message`);const f=Q(h,vo(\".quick-input-visible-count\"));f.setAttribute(\"aria-live\",\"polite\"),f.setAttribute(\"aria-atomic\",\"true\");const m=new K2(f,{countFormat:p({},\"{0} Results\")},this.styles.countBadge),_=Q(h,vo(\".quick-input-count\"));_.setAttribute(\"aria-live\",\"polite\");const v=new K2(_,{countFormat:p({},\"{0} Selected\")},this.styles.countBadge),b=Q(l,vo(\".quick-input-action\")),C=this._register(new KD(b,this.styles.button));C.label=p(\"ok\",\"OK\"),this._register(C.onDidClick(F=>{this.onDidAcceptEmitter.fire()}));const w=Q(l,vo(\".quick-input-action\")),y=this._register(new KD(w,{...this.styles.button,supportIcons:!0}));y.label=p(\"custom\",\"Custom\"),this._register(y.onDidClick(F=>{this.onDidCustomEmitter.fire()}));const D=Q(u,vo(`#${this.idPrefix}message.quick-input-message`)),L=this._register(new lk(t,this.styles.progressBar));L.getContainer().classList.add(\"quick-input-progress\");const k=Q(t,vo(\".quick-input-html-widget\"));k.tabIndex=-1;const I=Q(t,vo(\".quick-input-description\")),O=this.idPrefix+\"list\",R=this._register(this.instantiationService.createInstance(CC,t,this.options.hoverDelegate,this.options.linkOpenerDelegate,O));g.setAttribute(\"aria-controls\",O),this._register(R.onDidChangeFocus(()=>{var F;g.setAttribute(\"aria-activedescendant\",(F=R.getActiveDescendant())!==null&&F!==void 0?F:\"\")})),this._register(R.onChangedAllVisibleChecked(F=>{d.checked=F})),this._register(R.onChangedVisibleCount(F=>{m.setCount(F)})),this._register(R.onChangedCheckedCount(F=>{v.setCount(F)})),this._register(R.onLeave(()=>{setTimeout(()=>{this.controller&&(g.setFocus(),this.controller instanceof wC&&this.controller.canSelectMany&&R.clearFocus())},0)}));const P=ba(t);return this._register(P),this._register(K(t,ee.FOCUS,F=>{An(F.relatedTarget,t)||(this.previousFocusElement=F.relatedTarget instanceof HTMLElement?F.relatedTarget:void 0)},!0)),this._register(P.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(A_.Blur),this.previousFocusElement=void 0})),this._register(K(t,ee.FOCUS,F=>{g.setFocus()})),this._register(Ni(t,ee.KEY_DOWN,F=>{if(!An(F.target,k))switch(F.keyCode){case 3:nt.stop(F,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:nt.stop(F,!0),this.hide(A_.Gesture);break;case 2:if(!F.altKey&&!F.ctrlKey&&!F.metaKey){const V=[\".quick-input-list .monaco-action-bar .always-visible\",\".quick-input-list-entry:hover .monaco-action-bar\",\".monaco-list-row.focused .monaco-action-bar\"];if(t.classList.contains(\"show-checkboxes\")?V.push(\"input\"):V.push(\"input[type=text]\"),this.getUI().list.isDisplayed()&&V.push(\".monaco-list\"),this.getUI().message&&V.push(\".quick-input-message a\"),this.getUI().widget){if(An(F.target,this.getUI().widget))break;V.push(\".quick-input-html-widget\")}const U=t.querySelectorAll(V.join(\", \"));F.shiftKey&&F.target===U[0]?(nt.stop(F,!0),R.clearFocus()):!F.shiftKey&&An(F.target,U[U.length-1])&&(nt.stop(F,!0),U[0].focus())}break;case 10:F.ctrlKey&&(nt.stop(F,!0),this.getUI().list.toggleHover());break}})),this.ui={container:t,styleSheet:i,leftActionBar:o,titleBar:n,title:r,description1:I,description2:c,widget:k,rightActionBar:a,checkAll:d,inputContainer:u,filterContainer:h,inputBox:g,visibleCountContainer:f,visibleCount:m,countContainer:_,count:v,okContainer:b,ok:C,message:D,customButtonContainer:w,customButton:y,list:R,progressBar:L,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:F=>this.show(F),hide:()=>this.hide(),setVisibilities:F=>this.setVisibilities(F),setEnabled:F=>this.setEnabled(F),setContextKey:F=>this.options.setContextKey(F),linkOpenerDelegate:F=>this.options.linkOpenerDelegate(F)},this.updateStyles(),this.ui}reparentUI(e){this.ui&&(this._container=e,Q(this._container,this.ui.container))}pick(e,t={},i=dt.None){return new Promise((n,o)=>{let r=c=>{var u;r=n,(u=t.onKeyMods)===null||u===void 0||u.call(t,a.keyMods),n(c)};if(i.isCancellationRequested){r(void 0);return}const a=this.createQuickPick();let l;const d=[a,a.onDidAccept(()=>{if(a.canSelectMany)r(a.selectedItems.slice()),a.hide();else{const c=a.activeItems[0];c&&(r(c),a.hide())}}),a.onDidChangeActive(c=>{const u=c[0];u&&t.onDidFocus&&t.onDidFocus(u)}),a.onDidChangeSelection(c=>{if(!a.canSelectMany){const u=c[0];u&&(r(u),a.hide())}}),a.onDidTriggerItemButton(c=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton({...c,removeItem:()=>{const u=a.items.indexOf(c.item);if(u!==-1){const h=a.items.slice(),g=h.splice(u,1),f=a.activeItems.filter(_=>_!==g[0]),m=a.keepScrollPosition;a.keepScrollPosition=!0,a.items=h,f&&(a.activeItems=f),a.keepScrollPosition=m}}})),a.onDidTriggerSeparatorButton(c=>{var u;return(u=t.onDidTriggerSeparatorButton)===null||u===void 0?void 0:u.call(t,c)}),a.onDidChangeValue(c=>{l&&!c&&(a.activeItems.length!==1||a.activeItems[0]!==l)&&(a.activeItems=[l])}),i.onCancellationRequested(()=>{a.hide()}),a.onDidHide(()=>{jt(d),r(void 0)})];a.title=t.title,a.canSelectMany=!!t.canPickMany,a.placeholder=t.placeHolder,a.ignoreFocusOut=!!t.ignoreFocusLost,a.matchOnDescription=!!t.matchOnDescription,a.matchOnDetail=!!t.matchOnDetail,a.matchOnLabel=t.matchOnLabel===void 0||t.matchOnLabel,a.quickNavigate=t.quickNavigate,a.hideInput=!!t.hideInput,a.contextKey=t.contextKey,a.busy=!0,Promise.all([e,t.activeItem]).then(([c,u])=>{l=u,a.busy=!1,a.items=c,a.canSelectMany&&(a.selectedItems=c.filter(h=>h.type!==\"separator\"&&h.picked)),l&&(a.activeItems=[l])}),a.show(),Promise.resolve(e).then(void 0,c=>{o(c),a.hide()})})}createQuickPick(){const e=this.getUI(!0);return new wC(e)}createInputBox(){const e=this.getUI(!0);return new Uwe(e)}show(e){const t=this.getUI(!0);this.onShowEmitter.fire();const i=this.controller;this.controller=e,i==null||i.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent=\"\",t.description1.textContent=\"\",t.description2.textContent=\"\",Yn(t.widget),t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder=\"\",t.inputBox.password=!1,t.inputBox.showDecoration(Bi.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),Yn(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,t.inputBox.toggles=void 0;const n=this.options.backKeybindingLabel();$2.tooltip=n?p(\"quickInput.backWithKeybinding\",\"Back ({0})\",n):p(\"quickInput.back\",\"Back\"),t.container.style.display=\"\",this.updateLayout(),t.inputBox.setFocus()}isVisible(){return!!this.ui&&this.ui.container.style.display!==\"none\"}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?\"\":\"none\",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?\"\":\"none\",t.description2.style.display=e.description&&!(e.inputBox||e.checkAll)?\"\":\"none\",t.checkAll.style.display=e.checkAll?\"\":\"none\",t.inputContainer.style.display=e.inputBox?\"\":\"none\",t.filterContainer.style.display=e.inputBox?\"\":\"none\",t.visibleCountContainer.style.display=e.visibleCount?\"\":\"none\",t.countContainer.style.display=e.count?\"\":\"none\",t.okContainer.style.display=e.ok?\"\":\"none\",t.customButtonContainer.style.display=e.customButton?\"\":\"none\",t.message.style.display=e.message?\"\":\"none\",t.progressBar.getContainer().style.display=e.progressBar?\"\":\"none\",t.list.display(!!e.list),t.container.classList.toggle(\"show-checkboxes\",!!e.checkBox),t.container.classList.toggle(\"hidden-input\",!e.inputBox&&!e.description),this.updateLayout()}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.action.enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.action.enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().inputBox.enabled=e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t,i;const n=this.controller;if(!n)return;n.willHide(e);const o=(t=this.ui)===null||t===void 0?void 0:t.container,r=o&&!Tz(o);if(this.controller=null,this.onHideEmitter.fire(),o&&(o.style.display=\"none\"),!r){let a=this.previousFocusElement;for(;a&&!a.offsetParent;)a=(i=a.parentElement)!==null&&i!==void 0?i:void 0;a!=null&&a.offsetParent?(a.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}n.didHide(e)}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui&&this.isVisible()){this.ui.container.style.top=`${this.titleBarOffset}px`;const e=this.ui.container.style,t=Math.min(this.dimension.width*.62,q2.MAX_WIDTH);e.width=t+\"px\",e.marginLeft=\"-\"+t/2+\"px\",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:i,widgetBorder:n,widgetShadow:o}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e??\"\",this.ui.container.style.backgroundColor=t??\"\",this.ui.container.style.color=i??\"\",this.ui.container.style.border=n?`1px solid ${n}`:\"\",this.ui.container.style.boxShadow=o?`0 0 8px 2px ${o}`:\"\",this.ui.list.style(this.styles.list);const r=[];this.styles.pickerGroup.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color:  ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color:  ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&r.push(\".quick-input-list .quick-input-list-separator-as-item { color: var(--vscode-descriptionForeground); }\"),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(r.push(\".quick-input-list .monaco-keybinding > .monaco-keybinding-key {\"),this.styles.keybindingLabel.keybindingLabelBackground&&r.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&r.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&r.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&r.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&r.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),r.push(\"}\"));const a=r.join(`\n`);a!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=a)}}};qD.MAX_WIDTH=600;qD=q2=Kwe([X6(1,ig),X6(2,Ne)],qD);var qwe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Y0=function(s,e){return function(t,i){e(t,i,s)}};let G2=class extends Vge{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(O2))),this._quickAccess}constructor(e,t,i,n,o){super(i),this.instantiationService=e,this.contextKeyService=t,this.layoutService=n,this.configurationService=o,this._onShow=this._register(new B),this._onHide=this._register(new B),this.contexts=new Map}createController(e=this.layoutService,t){const i={idPrefix:\"quickInput_\",container:e.activeContainer,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>{},setContextKey:o=>this.setContextKey(o),linkOpenerDelegate:o=>{this.instantiationService.invokeFunction(r=>{r.get(Bo).open(o,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>e.focus(),styles:this.computeStyles(),hoverDelegate:this._register(this.instantiationService.createInstance(j2))},n=this._register(this.instantiationService.createInstance(qD,{...i,...t}));return n.layout(e.activeContainerDimension,e.activeContainerOffset.quickPickTop),this._register(e.onDidLayoutActiveContainer(o=>{Te(e.activeContainer)===Te(n.container)&&n.layout(o,e.activeContainerOffset.quickPickTop)})),this._register(e.onDidChangeActiveContainer(()=>{n.isVisible()||n.layout(e.activeContainerDimension,e.activeContainerOffset.quickPickTop)})),this._register(n.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(n.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),n}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new ue(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),!(t&&t.get())&&(this.resetContextKeys(),t==null||t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=dt.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:fe(NB),quickInputForeground:fe(Xhe),quickInputTitleBackground:fe(Yhe),widgetBorder:fe(IU),widgetShadow:fe(vc)},inputBox:TD,toggle:ID,countBadge:Lj,button:GCe,progressBar:ZCe,keybindingLabel:qCe,list:up({listBackground:NB,listFocusBackground:$u,listFocusForeground:Uu,listInactiveFocusForeground:Uu,listInactiveSelectionIconForeground:cm,listInactiveFocusBackground:$u,listFocusOutline:di,listInactiveFocusOutline:di}),pickerGroup:{pickerGroupBorder:fe(Qhe),pickerGroupForeground:fe(PU)}}}};G2=qwe([Y0(0,Ne),Y0(1,Be),Y0(2,_n),Y0(3,ig),Y0(4,rt)],G2);var oK=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ug=function(s,e){return function(t,i){e(t,i,s)}};let Z2=class extends G2{constructor(e,t,i,n,o,r){super(t,i,n,new t2(e.getContainerDomNode(),o),r),this.host=void 0;const a=R_.get(e);if(a){const l=a.widget;this.host={_serviceBrand:void 0,get mainContainer(){return l.getDomNode()},getContainer(){return l.getDomNode()},whenContainerStylesLoaded(){},get containers(){return[l.getDomNode()]},get activeContainer(){return l.getDomNode()},get mainContainerDimension(){return e.getLayoutInfo()},get activeContainerDimension(){return e.getLayoutInfo()},get onDidLayoutMainContainer(){return e.onDidLayoutChange},get onDidLayoutActiveContainer(){return e.onDidLayoutChange},get onDidLayoutContainer(){return le.map(e.onDidLayoutChange,d=>({container:l.getDomNode(),dimension:d}))},get onDidChangeActiveContainer(){return le.None},get onDidAddContainer(){return le.None},get mainContainerOffset(){return{top:0,quickPickTop:0}},get activeContainerOffset(){return{top:0,quickPickTop:0}},focus:()=>e.focus()}}else this.host=void 0}createController(){return super.createController(this.host)}};Z2=oK([Ug(1,Ne),Ug(2,Be),Ug(3,_n),Ug(4,xt),Ug(5,rt)],Z2);let X2=class{get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error(\"Quick input service needs a focused editor to work.\");let t=this.mapEditorToService.get(e);if(!t){const i=t=this.instantiationService.createInstance(Z2,e);this.mapEditorToService.set(e,t),o_(e.onDidDispose)(()=>{i.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}pick(e,t={},i=dt.None){return this.activeService.pick(e,t,i)}createQuickPick(){return this.activeService.createQuickPick()}createInputBox(){return this.activeService.createInputBox()}};X2=oK([Ug(0,Ne),Ug(1,xt)],X2);class R_{static get(e){return e.getContribution(R_.ID)}constructor(e){this.editor=e,this.widget=new dk(this.editor)}dispose(){this.widget.dispose()}}R_.ID=\"editor.controller.quickInput\";class dk{constructor(e){this.codeEditor=e,this.domNode=document.createElement(\"div\"),this.codeEditor.addOverlayWidget(this)}getId(){return dk.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}dk.ID=\"editor.contrib.quickInputWidget\";kt(R_.ID,R_,4);class Gwe{constructor(e,t,i,n,o){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=o}}function Zwe(s){if(!s||!Array.isArray(s))return[];const e=[];let t=0;for(let i=0,n=s.length;i<n;i++){const o=s[i];let r=-1;if(typeof o.fontStyle==\"string\"){r=0;const d=o.fontStyle.split(\" \");for(let c=0,u=d.length;c<u;c++)switch(d[c]){case\"italic\":r=r|1;break;case\"bold\":r=r|2;break;case\"underline\":r=r|4;break;case\"strikethrough\":r=r|8;break}}let a=null;typeof o.foreground==\"string\"&&(a=o.foreground);let l=null;typeof o.background==\"string\"&&(l=o.background),e[t++]=new Gwe(o.token||\"\",i,r,a,l)}return e}function Xwe(s,e){s.sort((c,u)=>{const h=tye(c.token,u.token);return h!==0?h:c.index-u.index});let t=0,i=\"000000\",n=\"ffffff\";for(;s.length>=1&&s[0].token===\"\";){const c=s.shift();c.fontStyle!==-1&&(t=c.fontStyle),c.foreground!==null&&(i=c.foreground),c.background!==null&&(n=c.background)}const o=new Qwe;for(const c of e)o.getId(c);const r=o.getId(i),a=o.getId(n),l=new KO(t,r,a),d=new qO(l);for(let c=0,u=s.length;c<u;c++){const h=s[c];d.insert(h.token,h.fontStyle,o.getId(h.foreground),o.getId(h.background))}return new rK(o,d)}const Ywe=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class Qwe{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(e===null)return 0;const t=e.match(Ywe);if(!t)throw new Error(\"Illegal value for token color: \"+e);e=t[1].toUpperCase();let i=this._color2id.get(e);return i||(i=++this._lastColorId,this._color2id.set(e,i),this._id2color[i]=$.fromHex(\"#\"+e),i)}getColorMap(){return this._id2color.slice(0)}}class rK{static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(Zwe(e),t)}static createFromParsedTokenTheme(e,t){return Xwe(e,t)}constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}getColorMap(){return this._colorMap.getColorMap()}_match(e){return this._root.match(e)}match(e,t){let i=this._cache.get(t);if(typeof i>\"u\"){const n=this._match(t),o=eye(t);i=(n.metadata|o<<8)>>>0,this._cache.set(t,i)}return(i|e<<0)>>>0}}const Jwe=/\\b(comment|string|regex|regexp)\\b/;function eye(s){const e=s.match(Jwe);if(!e)return 0;switch(e[1]){case\"comment\":return 1;case\"string\":return 2;case\"regex\":return 3;case\"regexp\":return 3}throw new Error(\"Unexpected match for standard token type!\")}function tye(s,e){return s<e?-1:s>e?1:0}class KO{constructor(e,t,i){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=i,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new KO(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,i){e!==-1&&(this._fontStyle=e),t!==0&&(this._foreground=t),i!==0&&(this._background=i),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}class qO{constructor(e){this._themeTrieElementBrand=void 0,this._mainRule=e,this._children=new Map}match(e){if(e===\"\")return this._mainRule;const t=e.indexOf(\".\");let i,n;t===-1?(i=e,n=\"\"):(i=e.substring(0,t),n=e.substring(t+1));const o=this._children.get(i);return typeof o<\"u\"?o.match(n):this._mainRule}insert(e,t,i,n){if(e===\"\"){this._mainRule.acceptOverwrite(t,i,n);return}const o=e.indexOf(\".\");let r,a;o===-1?(r=e,a=\"\"):(r=e.substring(0,o),a=e.substring(o+1));let l=this._children.get(r);typeof l>\"u\"&&(l=new qO(this._mainRule.clone()),this._children.set(r,l)),l.insert(a,t,i,n)}}function iye(s){const e=[];for(let t=1,i=s.length;t<i;t++){const n=s[t];e[t]=`.mtk${t} { color: ${n}; }`}return e.push(\".mtki { font-style: italic; }\"),e.push(\".mtkb { font-weight: bold; }\"),e.push(\".mtku { text-decoration: underline; text-underline-position: under; }\"),e.push(\".mtks { text-decoration: line-through; }\"),e.push(\".mtks.mtku { text-decoration: underline line-through; text-underline-position: under; }\"),e.join(`\n`)}const nye={base:\"vs\",inherit:!1,rules:[{token:\"\",foreground:\"000000\",background:\"fffffe\"},{token:\"invalid\",foreground:\"cd3131\"},{token:\"emphasis\",fontStyle:\"italic\"},{token:\"strong\",fontStyle:\"bold\"},{token:\"variable\",foreground:\"001188\"},{token:\"variable.predefined\",foreground:\"4864AA\"},{token:\"constant\",foreground:\"dd0000\"},{token:\"comment\",foreground:\"008000\"},{token:\"number\",foreground:\"098658\"},{token:\"number.hex\",foreground:\"3030c0\"},{token:\"regexp\",foreground:\"800000\"},{token:\"annotation\",foreground:\"808080\"},{token:\"type\",foreground:\"008080\"},{token:\"delimiter\",foreground:\"000000\"},{token:\"delimiter.html\",foreground:\"383838\"},{token:\"delimiter.xml\",foreground:\"0000FF\"},{token:\"tag\",foreground:\"800000\"},{token:\"tag.id.pug\",foreground:\"4F76AC\"},{token:\"tag.class.pug\",foreground:\"4F76AC\"},{token:\"meta.scss\",foreground:\"800000\"},{token:\"metatag\",foreground:\"e00000\"},{token:\"metatag.content.html\",foreground:\"FF0000\"},{token:\"metatag.html\",foreground:\"808080\"},{token:\"metatag.xml\",foreground:\"808080\"},{token:\"metatag.php\",fontStyle:\"bold\"},{token:\"key\",foreground:\"863B00\"},{token:\"string.key.json\",foreground:\"A31515\"},{token:\"string.value.json\",foreground:\"0451A5\"},{token:\"attribute.name\",foreground:\"FF0000\"},{token:\"attribute.value\",foreground:\"0451A5\"},{token:\"attribute.value.number\",foreground:\"098658\"},{token:\"attribute.value.unit\",foreground:\"098658\"},{token:\"attribute.value.html\",foreground:\"0000FF\"},{token:\"attribute.value.xml\",foreground:\"0000FF\"},{token:\"string\",foreground:\"A31515\"},{token:\"string.html\",foreground:\"0000FF\"},{token:\"string.sql\",foreground:\"FF0000\"},{token:\"string.yaml\",foreground:\"0451A5\"},{token:\"keyword\",foreground:\"0000FF\"},{token:\"keyword.json\",foreground:\"0451A5\"},{token:\"keyword.flow\",foreground:\"AF00DB\"},{token:\"keyword.flow.scss\",foreground:\"0000FF\"},{token:\"operator.scss\",foreground:\"666666\"},{token:\"operator.sql\",foreground:\"778899\"},{token:\"operator.swift\",foreground:\"666666\"},{token:\"predefined.sql\",foreground:\"C700C7\"}],colors:{[Sn]:\"#FFFFFE\",[Tr]:\"#000000\",[kU]:\"#E5EBF1\",[w1]:\"#D3D3D3\",[y1]:\"#939393\",[AF]:\"#ADD6FF4D\"}},sye={base:\"vs-dark\",inherit:!1,rules:[{token:\"\",foreground:\"D4D4D4\",background:\"1E1E1E\"},{token:\"invalid\",foreground:\"f44747\"},{token:\"emphasis\",fontStyle:\"italic\"},{token:\"strong\",fontStyle:\"bold\"},{token:\"variable\",foreground:\"74B0DF\"},{token:\"variable.predefined\",foreground:\"4864AA\"},{token:\"variable.parameter\",foreground:\"9CDCFE\"},{token:\"constant\",foreground:\"569CD6\"},{token:\"comment\",foreground:\"608B4E\"},{token:\"number\",foreground:\"B5CEA8\"},{token:\"number.hex\",foreground:\"5BB498\"},{token:\"regexp\",foreground:\"B46695\"},{token:\"annotation\",foreground:\"cc6666\"},{token:\"type\",foreground:\"3DC9B0\"},{token:\"delimiter\",foreground:\"DCDCDC\"},{token:\"delimiter.html\",foreground:\"808080\"},{token:\"delimiter.xml\",foreground:\"808080\"},{token:\"tag\",foreground:\"569CD6\"},{token:\"tag.id.pug\",foreground:\"4F76AC\"},{token:\"tag.class.pug\",foreground:\"4F76AC\"},{token:\"meta.scss\",foreground:\"A79873\"},{token:\"meta.tag\",foreground:\"CE9178\"},{token:\"metatag\",foreground:\"DD6A6F\"},{token:\"metatag.content.html\",foreground:\"9CDCFE\"},{token:\"metatag.html\",foreground:\"569CD6\"},{token:\"metatag.xml\",foreground:\"569CD6\"},{token:\"metatag.php\",fontStyle:\"bold\"},{token:\"key\",foreground:\"9CDCFE\"},{token:\"string.key.json\",foreground:\"9CDCFE\"},{token:\"string.value.json\",foreground:\"CE9178\"},{token:\"attribute.name\",foreground:\"9CDCFE\"},{token:\"attribute.value\",foreground:\"CE9178\"},{token:\"attribute.value.number.css\",foreground:\"B5CEA8\"},{token:\"attribute.value.unit.css\",foreground:\"B5CEA8\"},{token:\"attribute.value.hex.css\",foreground:\"D4D4D4\"},{token:\"string\",foreground:\"CE9178\"},{token:\"string.sql\",foreground:\"FF0000\"},{token:\"keyword\",foreground:\"569CD6\"},{token:\"keyword.flow\",foreground:\"C586C0\"},{token:\"keyword.json\",foreground:\"CE9178\"},{token:\"keyword.flow.scss\",foreground:\"569CD6\"},{token:\"operator.scss\",foreground:\"909090\"},{token:\"operator.sql\",foreground:\"778899\"},{token:\"operator.swift\",foreground:\"909090\"},{token:\"predefined.sql\",foreground:\"FF00FF\"}],colors:{[Sn]:\"#1E1E1E\",[Tr]:\"#D4D4D4\",[kU]:\"#3A3D41\",[w1]:\"#404040\",[y1]:\"#707070\",[AF]:\"#ADD6FF26\"}},oye={base:\"hc-black\",inherit:!1,rules:[{token:\"\",foreground:\"FFFFFF\",background:\"000000\"},{token:\"invalid\",foreground:\"f44747\"},{token:\"emphasis\",fontStyle:\"italic\"},{token:\"strong\",fontStyle:\"bold\"},{token:\"variable\",foreground:\"1AEBFF\"},{token:\"variable.parameter\",foreground:\"9CDCFE\"},{token:\"constant\",foreground:\"569CD6\"},{token:\"comment\",foreground:\"608B4E\"},{token:\"number\",foreground:\"FFFFFF\"},{token:\"regexp\",foreground:\"C0C0C0\"},{token:\"annotation\",foreground:\"569CD6\"},{token:\"type\",foreground:\"3DC9B0\"},{token:\"delimiter\",foreground:\"FFFF00\"},{token:\"delimiter.html\",foreground:\"FFFF00\"},{token:\"tag\",foreground:\"569CD6\"},{token:\"tag.id.pug\",foreground:\"4F76AC\"},{token:\"tag.class.pug\",foreground:\"4F76AC\"},{token:\"meta\",foreground:\"D4D4D4\"},{token:\"meta.tag\",foreground:\"CE9178\"},{token:\"metatag\",foreground:\"569CD6\"},{token:\"metatag.content.html\",foreground:\"1AEBFF\"},{token:\"metatag.html\",foreground:\"569CD6\"},{token:\"metatag.xml\",foreground:\"569CD6\"},{token:\"metatag.php\",fontStyle:\"bold\"},{token:\"key\",foreground:\"9CDCFE\"},{token:\"string.key\",foreground:\"9CDCFE\"},{token:\"string.value\",foreground:\"CE9178\"},{token:\"attribute.name\",foreground:\"569CD6\"},{token:\"attribute.value\",foreground:\"3FF23F\"},{token:\"string\",foreground:\"CE9178\"},{token:\"string.sql\",foreground:\"FF0000\"},{token:\"keyword\",foreground:\"569CD6\"},{token:\"keyword.flow\",foreground:\"C586C0\"},{token:\"operator.sql\",foreground:\"778899\"},{token:\"operator.swift\",foreground:\"909090\"},{token:\"predefined.sql\",foreground:\"FF00FF\"}],colors:{[Sn]:\"#000000\",[Tr]:\"#FFFFFF\",[w1]:\"#FFFFFF\",[y1]:\"#FFFFFF\"}},rye={base:\"hc-light\",inherit:!1,rules:[{token:\"\",foreground:\"292929\",background:\"FFFFFF\"},{token:\"invalid\",foreground:\"B5200D\"},{token:\"emphasis\",fontStyle:\"italic\"},{token:\"strong\",fontStyle:\"bold\"},{token:\"variable\",foreground:\"264F70\"},{token:\"variable.predefined\",foreground:\"4864AA\"},{token:\"constant\",foreground:\"dd0000\"},{token:\"comment\",foreground:\"008000\"},{token:\"number\",foreground:\"098658\"},{token:\"number.hex\",foreground:\"3030c0\"},{token:\"regexp\",foreground:\"800000\"},{token:\"annotation\",foreground:\"808080\"},{token:\"type\",foreground:\"008080\"},{token:\"delimiter\",foreground:\"000000\"},{token:\"delimiter.html\",foreground:\"383838\"},{token:\"tag\",foreground:\"800000\"},{token:\"tag.id.pug\",foreground:\"4F76AC\"},{token:\"tag.class.pug\",foreground:\"4F76AC\"},{token:\"meta.scss\",foreground:\"800000\"},{token:\"metatag\",foreground:\"e00000\"},{token:\"metatag.content.html\",foreground:\"B5200D\"},{token:\"metatag.html\",foreground:\"808080\"},{token:\"metatag.xml\",foreground:\"808080\"},{token:\"metatag.php\",fontStyle:\"bold\"},{token:\"key\",foreground:\"863B00\"},{token:\"string.key.json\",foreground:\"A31515\"},{token:\"string.value.json\",foreground:\"0451A5\"},{token:\"attribute.name\",foreground:\"264F78\"},{token:\"attribute.value\",foreground:\"0451A5\"},{token:\"string\",foreground:\"A31515\"},{token:\"string.sql\",foreground:\"B5200D\"},{token:\"keyword\",foreground:\"0000FF\"},{token:\"keyword.flow\",foreground:\"AF00DB\"},{token:\"operator.sql\",foreground:\"778899\"},{token:\"operator.swift\",foreground:\"666666\"},{token:\"predefined.sql\",foreground:\"C700C7\"}],colors:{[Sn]:\"#FFFFFF\",[Tr]:\"#292929\",[w1]:\"#292929\",[y1]:\"#292929\"}},aye={IconContribution:\"base.contributions.icons\"};var Y6;(function(s){function e(t,i){let n=t.defaults;for(;Pe.isThemeIcon(n);){const o=fp.getIcon(n.id);if(!o)return;n=o.defaults}return n}s.getDefinition=e})(Y6||(Y6={}));var Q6;(function(s){function e(i){return{weight:i.weight,style:i.style,src:i.src.map(n=>({format:n.format,location:n.location.toString()}))}}s.toJSONObject=e;function t(i){const n=o=>lo(o)?o:void 0;if(i&&Array.isArray(i.src)&&i.src.every(o=>lo(o.format)&&lo(o.location)))return{weight:n(i.weight),style:n(i.style),src:i.src.map(o=>({format:o.format,location:Ae.parse(o.location)}))}}s.fromJSONObject=t})(Q6||(Q6={}));class lye{constructor(){this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:\"object\",properties:{fontId:{type:\"string\",description:p(\"iconDefinition.fontId\",\"The id of the font to use. If not set, the font that is defined first is used.\")},fontCharacter:{type:\"string\",description:p(\"iconDefinition.fontCharacter\",\"The font character associated with the icon definition.\")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:\"\\\\\\\\e030\"}}]}},type:\"object\",properties:{}},this.iconReferenceSchema={type:\"string\",pattern:`^${Pe.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){const o=this.iconsById[e];if(o){if(i&&!o.description){o.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;const l=this.iconReferenceSchema.enum.indexOf(e);l!==-1&&(this.iconReferenceSchema.enumDescriptions[l]=i),this._onDidChange.fire()}return o}const r={id:e,description:i,defaults:t,deprecationMessage:n};this.iconsById[e]=r;const a={$ref:\"#/definitions/icons\"};return n&&(a.deprecationMessage=n),i&&(a.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=a,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||\"\"),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){const e=(o,r)=>o.id.localeCompare(r.id),t=o=>{for(;Pe.isThemeIcon(o.defaults);)o=this.iconsById[o.defaults.id];return`codicon codicon-${o?o.id:\"\"}`},i=[];i.push(\"| preview     | identifier                        | default codicon ID                | description\"),i.push(\"| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |\");const n=Object.keys(this.iconsById).map(o=>this.iconsById[o]);for(const o of n.filter(r=>!!r.description).sort(e))i.push(`|<i class=\"${t(o)}\"></i>|${o.id}|${Pe.isThemeIcon(o.defaults)?o.defaults.id:o.id}|${o.description||\"\"}|`);i.push(\"| preview     | identifier                        \"),i.push(\"| ----------- | --------------------------------- |\");for(const o of n.filter(r=>!Pe.isThemeIcon(r.defaults)).sort(e))i.push(`|<i class=\"${t(o)}\"></i>|${o.id}|`);return i.join(`\n`)}}const fp=new lye;Ji.add(aye.IconContribution,fp);function xi(s,e,t,i){return fp.registerIcon(s,e,t,i)}function aK(){return fp}function dye(){const s=ez();for(const e in s){const t=\"\\\\\"+s[e].toString(16);fp.registerIcon(e,{fontCharacter:t})}}dye();const lK=\"vscode://schemas/icons\",dK=Ji.as(vx.JSONContribution);dK.registerSchema(lK,fp.getIconSchema());const J6=new Wt(()=>dK.notifySchemaChanged(lK),200);fp.onDidChange(()=>{J6.isScheduled()||J6.schedule()});const cK=xi(\"widget-close\",oe.close,p(\"widgetClose\",\"Icon for the close action in widgets.\"));xi(\"goto-previous-location\",oe.arrowUp,p(\"previousChangeIcon\",\"Icon for goto previous editor location.\"));xi(\"goto-next-location\",oe.arrowDown,p(\"nextChangeIcon\",\"Icon for goto next editor location.\"));Pe.modify(oe.sync,\"spin\");Pe.modify(oe.loading,\"spin\");function cye(s){const e=new Y,t=e.add(new B),i=aK();return e.add(i.onDidChange(()=>t.fire())),s&&e.add(s.onDidProductIconThemeChange(()=>t.fire())),{dispose:()=>e.dispose(),onDidChange:t.event,getCSS(){const n=s?s.getProductIconTheme():new uK,o={},r=[],a=[];for(const l of i.getIcons()){const d=n.getIcon(l);if(!d)continue;const c=d.font,u=`--vscode-icon-${l.id}-font-family`,h=`--vscode-icon-${l.id}-content`;c?(o[c.id]=c.definition,a.push(`${u}: ${qE(c.id)};`,`${h}: '${d.fontCharacter}';`),r.push(`.codicon-${l.id}:before { content: '${d.fontCharacter}'; font-family: ${qE(c.id)}; }`)):(a.push(`${h}: '${d.fontCharacter}'; ${u}: 'codicon';`),r.push(`.codicon-${l.id}:before { content: '${d.fontCharacter}'; }`))}for(const l in o){const d=o[l],c=d.weight?`font-weight: ${d.weight};`:\"\",u=d.style?`font-style: ${d.style};`:\"\",h=d.src.map(g=>`${Ih(g.location)} format('${g.format}')`).join(\", \");r.push(`@font-face { src: ${h}; font-family: ${qE(l)};${c}${u} font-display: block; }`)}return r.push(`:root { ${a.join(\" \")} }`),r.join(`\n`)}}}class uK{getIcon(e){const t=aK();let i=e.defaults;for(;Pe.isThemeIcon(i);){const n=t.getIcon(i.id);if(!n)return;i=n.defaults}return i}}const Ru=\"vs\",db=\"vs-dark\",Gm=\"hc-black\",Zm=\"hc-light\",hK=Ji.as(DU.ColorContribution),uye=Ji.as(zU.ThemingContribution);class gK{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;const i=t.base;e.length>0?(rS(e)?this.id=e:this.id=i+\" \"+e,this.themeName=e):(this.id=i,this.themeName=i),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const e=new Map;for(const t in this.themeData.colors)e.set(t,$.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){const t=Y2(this.themeData.base);for(const i in t.colors)e.has(i)||e.set(i,$.fromHex(t.colors[i]))}this.colors=e}return this.colors}getColor(e,t){const i=this.getColors().get(e);if(i)return i;if(t!==!1)return this.getDefault(e)}getDefault(e){let t=this.defaultColors[e];return t||(t=hK.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return this.getColors().has(e)}get type(){switch(this.base){case Ru:return Nr.LIGHT;case Gm:return Nr.HIGH_CONTRAST_DARK;case Zm:return Nr.HIGH_CONTRAST_LIGHT;default:return Nr.DARK}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){const o=Y2(this.themeData.base);e=o.rules,o.encodedTokensColors&&(t=o.encodedTokensColors)}const i=this.themeData.colors[\"editor.foreground\"],n=this.themeData.colors[\"editor.background\"];if(i||n){const o={token:\"\"};i&&(o.foreground=i),n&&(o.background=n),e.push(o)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=rK.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,i){const o=this.tokenTheme._match([e].concat(t).join(\".\")).metadata,r=yo.getForeground(o),a=yo.getFontStyle(o);return{foreground:r,italic:!!(a&1),bold:!!(a&2),underline:!!(a&4),strikethrough:!!(a&8)}}}function rS(s){return s===Ru||s===db||s===Gm||s===Zm}function Y2(s){switch(s){case Ru:return nye;case db:return sye;case Gm:return oye;case Zm:return rye}}function ey(s){const e=Y2(s);return new gK(s,e)}class hye extends H{constructor(){super(),this._onColorThemeChange=this._register(new B),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new B),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new uK,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(Ru,ey(Ru)),this._knownThemes.set(db,ey(db)),this._knownThemes.set(Gm,ey(Gm)),this._knownThemes.set(Zm,ey(Zm));const e=this._register(cye(this));this._codiconCSS=e.getCSS(),this._themeCSS=\"\",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(Ru),this._onOSSchemeChanged(),this._register(e.onDidChange(()=>{this._codiconCSS=e.getCSS(),this._updateCSS()})),uz(Ht,\"(forced-colors: active)\",()=>{this._onOSSchemeChanged()})}registerEditorContainer(e){return US(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=ar(void 0,e=>{e.className=\"monaco-colors\",e.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),H.None}_registerShadowDomContainer(e){const t=ar(e,i=>{i.className=\"monaco-colors\",i.textContent=this._allCSS});return this._styleElements.push(t),{dispose:()=>{for(let i=0;i<this._styleElements.length;i++)if(this._styleElements[i]===t){this._styleElements.splice(i,1);return}}}}defineTheme(e,t){if(!/^[a-z0-9\\-]+$/i.test(e))throw new Error(\"Illegal theme name!\");if(!rS(t.base)&&!rS(e))throw new Error(\"Illegal theme base!\");this._knownThemes.set(e,new gK(e,t)),rS(e)&&this._knownThemes.forEach(i=>{i.base===e&&i.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;this._knownThemes.has(e)?t=this._knownThemes.get(e):t=this._knownThemes.get(Ru),this._updateActualTheme(t)}_updateActualTheme(e){!e||this._theme===e||(this._theme=e,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){const e=Ht.matchMedia(\"(forced-colors: active)\").matches;if(e!==dd(this._theme.type)){let t;Dx(this._theme.type)?t=e?Gm:db:t=e?Zm:Ru,this._updateActualTheme(this._knownThemes.get(t))}}}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._onOSSchemeChanged()}_updateThemeOrColorMap(){const e=[],t={},i={addRule:r=>{t[r]||(e.push(r),t[r]=!0)}};uye.getThemingParticipants().forEach(r=>r(this._theme,i,this._environment));const n=[];for(const r of hK.getColors()){const a=this._theme.getColor(r.id,!0);a&&n.push(`${NF(r.id)}: ${a.toString()};`)}i.addRule(`.monaco-editor, .monaco-diff-editor, .monaco-component { ${n.join(`\n`)} }`);const o=this._colorMapOverride||this._theme.tokenTheme.getColorMap();i.addRule(iye(o)),this._themeCSS=e.join(`\n`),this._updateCSS(),Ki.setColorMap(o),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._styleElements.forEach(e=>e.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}const Sa=ut(\"themeService\");var gye=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},YI=function(s,e){return function(t,i){e(t,i,s)}};let Q2=class extends H{constructor(e,t,i){super(),this._contextKeyService=e,this._layoutService=t,this._configurationService=i,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new B,this._onDidChangeReducedMotion=new B,this._accessibilityModeEnabledContext=_1.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(r=>{r.affectsConfiguration(\"editor.accessibilitySupport\")&&(n(),this._onDidChangeScreenReaderOptimized.fire()),r.affectsConfiguration(\"workbench.reduceMotion\")&&(this._configMotionReduced=this._configurationService.getValue(\"workbench.reduceMotion\"),this._onDidChangeReducedMotion.fire())})),n(),this._register(this.onDidChangeScreenReaderOptimized(()=>n()));const o=Ht.matchMedia(\"(prefers-reduced-motion: reduce)\");this._systemMotionReduced=o.matches,this._configMotionReduced=this._configurationService.getValue(\"workbench.reduceMotion\"),this.initReducedMotionListeners(o)}initReducedMotionListeners(e){this._register(K(e,\"change\",()=>{this._systemMotionReduced=e.matches,this._configMotionReduced===\"auto\"&&this._onDidChangeReducedMotion.fire()}));const t=()=>{const i=this.isMotionReduced();this._layoutService.mainContainer.classList.toggle(\"reduce-motion\",i),this._layoutService.mainContainer.classList.toggle(\"enable-motion\",!i)};t(),this._register(this.onDidChangeReducedMotion(()=>t()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue(\"editor.accessibilitySupport\");return e===\"on\"||e===\"auto\"&&this._accessibilitySupport===2}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){const e=this._configMotionReduced;return e===\"on\"||e===\"auto\"&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};Q2=gye([YI(0,Be),YI(1,ig),YI(2,rt)],Q2);var ck=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},hd=function(s,e){return function(t,i){e(t,i,s)}},$p,Lu;let J2=class{constructor(e,t,i){this._commandService=e,this._keybindingService=t,this._hiddenStates=new GD(i)}createMenu(e,t,i){return new tM(e,this._hiddenStates,{emitEventsForSubmenuChanges:!1,eventDebounceDelay:50,...i},this._commandService,this._keybindingService,t)}resetHiddenStates(e){this._hiddenStates.reset(e)}};J2=ck([hd(0,gi),hd(1,At),hd(2,Rd)],J2);let GD=$p=class{constructor(e){this._storageService=e,this._disposables=new Y,this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{const t=e.get($p._key,0,\"{}\");this._data=JSON.parse(t)}catch{this._data=Object.create(null)}this._disposables.add(e.onDidChangeValue(0,$p._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{const t=e.get($p._key,0,\"{}\");this._data=JSON.parse(t)}catch(t){console.log(\"FAILED to read storage after UPDATE\",t)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(e,t){var i;return(i=this._hiddenByDefaultCache.get(`${e.id}/${t}`))!==null&&i!==void 0?i:!1}setDefaultState(e,t,i){this._hiddenByDefaultCache.set(`${e.id}/${t}`,i)}isHidden(e,t){var i,n;const o=this._isHiddenByDefault(e,t),r=(n=(i=this._data[e.id])===null||i===void 0?void 0:i.includes(t))!==null&&n!==void 0?n:!1;return o?!r:r}updateHidden(e,t,i){this._isHiddenByDefault(e,t)&&(i=!i);const o=this._data[e.id];if(i)o?o.indexOf(t)<0&&o.push(t):this._data[e.id]=[t];else if(o){const r=o.indexOf(t);r>=0&&yse(o,r),o.length===0&&delete this._data[e.id]}this._persist()}reset(e){if(e===void 0)this._data=Object.create(null),this._persist();else{for(const{id:t}of e)this._data[t]&&delete this._data[t];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;const e=JSON.stringify(this._data);this._storageService.store($p._key,e,0,0)}finally{this._ignoreChangeEvent=!1}}};GD._key=\"menu.hiddenCommands\";GD=$p=ck([hd(0,Rd)],GD);let eM=Lu=class{constructor(e,t,i,n,o,r){this._id=e,this._hiddenStates=t,this._collectContextKeysForSubmenus=i,this._commandService=n,this._keybindingService=o,this._contextKeyService=r,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();const e=yn.getMenuItems(this._id);let t;e.sort(Lu._compareMenuItems);for(const i of e){const n=i.group||\"\";(!t||t[0]!==n)&&(t=[n,[]],this._menuGroups.push(t)),t[1].push(i),this._collectContextKeys(i)}}_collectContextKeys(e){if(Lu._fillInKbExprKeys(e.when,this._structureContextKeys),tm(e)){if(e.command.precondition&&Lu._fillInKbExprKeys(e.command.precondition,this._preconditionContextKeys),e.command.toggled){const t=e.command.toggled.condition||e.command.toggled;Lu._fillInKbExprKeys(t,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&yn.getMenuItems(e.submenu).forEach(this._collectContextKeys,this)}createActionGroups(e){const t=[];for(const i of this._menuGroups){const[n,o]=i,r=[];for(const a of o)if(this._contextKeyService.contextMatchesRules(a.when)){const l=tm(a);l&&this._hiddenStates.setDefaultState(this._id,a.command.id,!!a.isHiddenByDefault);const d=fye(this._id,l?a.command:a,this._hiddenStates);if(l){const c=fK(a.command.id,a.when,this._commandService,this._keybindingService);r.push(new Io(a.command,a.alt,e,d,c,this._contextKeyService,this._commandService))}else{const c=new Lu(a.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._keybindingService,this._contextKeyService).createActionGroups(e),u=rn.join(...c.map(h=>h[1]));u.length>0&&r.push(new Em(a,d,u))}}r.length>0&&t.push([n,r])}return t}static _fillInKbExprKeys(e,t){if(e)for(const i of e.keys())t.add(i)}static _compareMenuItems(e,t){const i=e.group,n=t.group;if(i!==n){if(i){if(!n)return-1}else return 1;if(i===\"navigation\")return-1;if(n===\"navigation\")return 1;const a=i.localeCompare(n);if(a!==0)return a}const o=e.order||0,r=t.order||0;return o<r?-1:o>r?1:Lu._compareTitles(tm(e)?e.command.title:e.title,tm(t)?t.command.title:t.title)}static _compareTitles(e,t){const i=typeof e==\"string\"?e:e.original,n=typeof t==\"string\"?t:t.original;return i.localeCompare(n)}};eM=Lu=ck([hd(3,gi),hd(4,At),hd(5,Be)],eM);let tM=class{constructor(e,t,i,n,o,r){this._disposables=new Y,this._menuInfo=new eM(e,t,i.emitEventsForSubmenuChanges,n,o,r);const a=new Wt(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},i.eventDebounceDelay);this._disposables.add(a),this._disposables.add(yn.onDidChangeMenu(u=>{u.has(e)&&a.schedule()}));const l=this._disposables.add(new Y),d=u=>{let h=!1,g=!1,f=!1;for(const m of u)if(h=h||m.isStructuralChange,g=g||m.isEnablementChange,f=f||m.isToggleChange,h&&g&&f)break;return{menu:this,isStructuralChange:h,isEnablementChange:g,isToggleChange:f}},c=()=>{l.add(r.onDidChangeContext(u=>{const h=u.affectsSome(this._menuInfo.structureContextKeys),g=u.affectsSome(this._menuInfo.preconditionContextKeys),f=u.affectsSome(this._menuInfo.toggledContextKeys);(h||g||f)&&this._onDidChange.fire({menu:this,isStructuralChange:h,isEnablementChange:g,isToggleChange:f})})),l.add(t.onDidChange(u=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))};this._onDidChange=new $V({onWillAddFirstListener:c,onDidRemoveLastListener:l.clear.bind(l),delay:i.eventDebounceDelay,merge:d}),this.onDidChange=this._onDidChange.event}getActions(e){return this._menuInfo.createActionGroups(e)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};tM=ck([hd(3,gi),hd(4,At),hd(5,Be)],tM);function fye(s,e,t){const i=Ele(e)?e.submenu.id:e.id,n=typeof e.title==\"string\"?e.title:e.title.value,o=af({id:`hide/${s.id}/${i}`,label:p(\"hide.label\",\"Hide '{0}'\",n),run(){t.updateHidden(s,i,!0)}}),r=af({id:`toggle/${s.id}/${i}`,label:n,get checked(){return!t.isHidden(s,i)},run(){t.updateHidden(s,i,!!this.checked)}});return{hide:o,toggle:r,get isHidden(){return!r.checked}}}function fK(s,e=void 0,t,i){return af({id:`configureKeybinding/${s}`,label:p(\"configure keybinding\",\"Configure Keybinding\"),run(){const o=!!!i.lookupKeybinding(s)&&e?e.serialize():void 0;t.executeCommand(\"workbench.action.openGlobalKeybindings\",`@command:${s}`+(o?` +when:${o}`:\"\"))}})}var pye=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},e7=function(s,e){return function(t,i){e(t,i,s)}},iM;let ZD=iM=class extends H{constructor(e,t){super(),this.layoutService=e,this.logService=t,this.mapTextToType=new Map,this.findText=\"\",this.resources=[],this.resourcesStateHash=void 0,(Lh||hz)&&this.installWebKitWriteTextWorkaround(),this._register(le.runAndSubscribe(JL,({window:i,disposables:n})=>{n.add(K(i.document,\"copy\",()=>this.clearResources()))},{window:Ht,disposables:this._store}))}installWebKitWriteTextWorkaround(){const e=()=>{const t=new ZL;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=t,navigator.clipboard.write([new ClipboardItem({\"text/plain\":t.p})]).catch(async i=>{(!(i instanceof Error)||i.name!==\"NotAllowedError\"||!t.isRejected)&&this.logService.error(i)})};this._register(le.runAndSubscribe(this.layoutService.onDidAddContainer,({container:t,disposables:i})=>{i.add(K(t,\"click\",e)),i.add(K(t,\"keydown\",e))},{container:this.layoutService.mainContainer,disposables:this._store}))}async writeText(e,t){if(this.writeResources([]),t){this.mapTextToType.set(t,e);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(e);try{return await navigator.clipboard.writeText(e)}catch(i){console.error(i)}this.fallbackWriteText(e)}fallbackWriteText(e){const t=o0(),i=t.activeElement,n=t.body.appendChild(he(\"textarea\",{\"aria-hidden\":!0}));n.style.height=\"1px\",n.style.width=\"1px\",n.style.position=\"absolute\",n.value=e,n.focus(),n.select(),t.execCommand(\"copy\"),i instanceof HTMLElement&&i.focus(),t.body.removeChild(n)}async readText(e){if(e)return this.mapTextToType.get(e)||\"\";try{return await navigator.clipboard.readText()}catch(t){console.error(t)}return\"\"}async readFindText(){return this.findText}async writeFindText(e){this.findText=e}async writeResources(e){e.length===0?this.clearResources():(this.resources=e,this.resourcesStateHash=await this.computeResourcesStateHash())}async readResources(){const e=await this.computeResourcesStateHash();return this.resourcesStateHash!==e&&this.clearResources(),this.resources}async computeResourcesStateHash(){if(this.resources.length===0)return;const e=await this.readText();return XL(e.substring(0,iM.MAX_RESOURCE_STATE_SOURCE_LENGTH))}clearResources(){this.resources=[],this.resourcesStateHash=void 0}};ZD.MAX_RESOURCE_STATE_SOURCE_LENGTH=1e3;ZD=iM=pye([e7(0,ig),e7(1,ys)],ZD);const ru=ut(\"clipboardService\");var mye=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},_ye=function(s,e){return function(t,i){e(t,i,s)}};const cb=\"data-keybinding-context\";let GO=class{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}get value(){return{...this._value}}setValue(e,t){return this._value[e]!==t?(this._value[e]=t,!0):!1}removeValue(e){return e in this._value?(delete this._value[e],!0):!1}getValue(e){const t=this._value[e];return typeof t>\"u\"&&this._parent?this._parent.getValue(e):t}};class P_ extends GO{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}P_.INSTANCE=new P_;class yC extends GO{constructor(e,t,i){super(e,null),this._configurationService=t,this._values=$m.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(n=>{if(n.source===7){const o=Array.from(this._values,([r])=>r);this._values.clear(),i.fire(new i7(o))}else{const o=[];for(const r of n.affectedKeys){const a=`config.${r}`,l=this._values.findSuperstr(a);l!==void 0&&(o.push(...ft.map(l,([d])=>d)),this._values.deleteSuperstr(a)),this._values.has(a)&&(o.push(a),this._values.delete(a))}i.fire(new i7(o))}})}dispose(){this._listener.dispose()}getValue(e){if(e.indexOf(yC._keyPrefix)!==0)return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(yC._keyPrefix.length),i=this._configurationService.getValue(t);let n;switch(typeof i){case\"number\":case\"boolean\":case\"string\":n=i;break;default:Array.isArray(i)?n=JSON.stringify(i):n=i}return this._values.set(e,n),n}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}yC._keyPrefix=\"config.\";class vye{constructor(e,t,i){this._service=e,this._key=t,this._defaultValue=i,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){typeof this._defaultValue>\"u\"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class t7{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}allKeysContainedIn(e){return this.affectsSome(e)}}class i7{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}allKeysContainedIn(e){return this.keys.every(t=>e.has(t))}}class bye{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}allKeysContainedIn(e){return this.events.every(t=>t.allKeysContainedIn(e))}}function Cye(s,e){return s.allKeysContainedIn(new Set(Object.keys(e)))}class pK extends H{constructor(e){super(),this._onDidChangeContext=this._register(new bf({merge:t=>new bye(t)})),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error(\"AbstractContextKeyService has been disposed\");return new vye(this,e,t)}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error(\"AbstractContextKeyService has been disposed\");return new wye(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error(\"AbstractContextKeyService has been disposed\");const t=this.getContextValuesContainer(this._myContextId);return e?e.evaluate(t):!0}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const i=this.getContextValuesContainer(this._myContextId);i&&i.setValue(e,t)&&this._onDidChangeContext.fire(new t7(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new t7(e))}getContext(e){return this._isDisposed?P_.INSTANCE:this.getContextValuesContainer(yye(e))}dispose(){super.dispose(),this._isDisposed=!0}}let nM=class extends pK{constructor(e){super(0),this._contexts=new Map,this._lastContextId=0;const t=this._register(new yC(this._myContextId,e,this._onDidChangeContext));this._contexts.set(this._myContextId,t)}getContextValuesContainer(e){return this._isDisposed?P_.INSTANCE:this._contexts.get(e)||P_.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error(\"ContextKeyService has been disposed\");const t=++this._lastContextId;return this._contexts.set(t,new GO(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};nM=mye([_ye(0,rt)],nM);class wye extends pK{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=this._register(new $n),this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(cb)){let i=\"\";this._domNode.classList&&(i=Array.from(this._domNode.classList.values()).join(\", \")),console.error(`Element already has context attribute${i?\": \"+i:\"\"}`)}this._domNode.setAttribute(cb,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(e=>{const i=this._parent.getContextValuesContainer(this._myContextId).value;Cye(e,i)||this._onDidChangeContext.fire(e)})}dispose(){this._isDisposed||(this._parent.disposeContext(this._myContextId),this._domNode.removeAttribute(cb),super.dispose())}getContextValuesContainer(e){return this._isDisposed?P_.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error(\"ScopedContextKeyService has been disposed\");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}function yye(s){for(;s;){if(s.hasAttribute(cb)){const e=s.getAttribute(cb);return e?parseInt(e,10):NaN}s=s.parentElement}return 0}function Sye(s,e,t){s.get(Be).createKey(String(e),Dye(t))}function Dye(s){return TV(s,e=>{if(typeof e==\"object\"&&e.$mid===1)return Ae.revive(e).toString();if(e instanceof Ae)return e.toString()})}pt.registerCommand(\"_setContext\",Sye);pt.registerCommand({id:\"getContextKeyInfo\",handler(){return[...ue.all()].sort((s,e)=>s.key.localeCompare(e.key))},metadata:{description:p(\"getContextKeyInfo\",\"A command that returns information about context keys\"),args:[]}});pt.registerCommand(\"_generateContextKeyInfo\",function(){const s=[],e=new Set;for(const t of ue.all())e.has(t.key)||(e.add(t.key),s.push(t));s.sort((t,i)=>t.key.localeCompare(i.key)),console.log(JSON.stringify(s,void 0,2))});let Lye=class{constructor(e,t){this.key=e,this.data=t,this.incoming=new Map,this.outgoing=new Map}};class n7{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(const t of this._nodes.values())t.outgoing.size===0&&e.push(t);return e}insertEdge(e,t){const i=this.lookupOrInsertNode(e),n=this.lookupOrInsertNode(t);i.outgoing.set(n.key,n),n.incoming.set(i.key,i)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(const i of this._nodes.values())i.outgoing.delete(t),i.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let i=this._nodes.get(t);return i||(i=new Lye(t,e),this._nodes.set(t,i)),i}isEmpty(){return this._nodes.size===0}toString(){const e=[];for(const[t,i]of this._nodes)e.push(`${t}\n\t(-> incoming)[${[...i.incoming.keys()].join(\", \")}]\n\t(outgoing ->)[${[...i.outgoing.keys()].join(\",\")}]\n`);return e.join(`\n`)}findCycleSlow(){for(const[e,t]of this._nodes){const i=new Set([e]),n=this._findCycle(t,i);if(n)return n}}_findCycle(e,t){for(const[i,n]of e.outgoing){if(t.has(i))return[...t,i].join(\" -> \");t.add(i);const o=this._findCycle(n,t);if(o)return o;t.delete(i)}}}const xye=!1;class s7 extends Error{constructor(e){var t;super(\"cyclic dependency between services\"),this.message=(t=e.findCycleSlow())!==null&&t!==void 0?t:`UNABLE to detect cycle, dumping graph: \n${e.toString()}`}}class XD{constructor(e=new L1,t=!1,i,n=xye){var o;this._services=e,this._strict=t,this._parent=i,this._enableTracing=n,this._isDisposed=!1,this._servicesToMaybeDispose=new Set,this._children=new Set,this._activeInstantiations=new Set,this._services.set(Ne,this),this._globalGraph=n?(o=i==null?void 0:i._globalGraph)!==null&&o!==void 0?o:new n7(r=>r):void 0}dispose(){if(!this._isDisposed){this._isDisposed=!0,jt(this._children),this._children.clear();for(const e of this._servicesToMaybeDispose)jL(e)&&e.dispose();this._servicesToMaybeDispose.clear()}}_throwIfDisposed(){if(this._isDisposed)throw new Error(\"InstantiationService has been disposed\")}createChild(e){this._throwIfDisposed();const t=new class extends XD{dispose(){this._children.delete(t),super.dispose()}}(e,this._strict,this,this._enableTracing);return this._children.add(t),t}invokeFunction(e,...t){this._throwIfDisposed();const i=io.traceInvocation(this._enableTracing,e);let n=!1;try{return e({get:r=>{if(n)throw UP(\"service accessor is only valid during the invocation of its target method\");const a=this._getOrCreateServiceInstance(r,i);if(!a)throw new Error(`[invokeFunction] unknown service '${r}'`);return a}},...t)}finally{n=!0,i.stop()}}createInstance(e,...t){this._throwIfDisposed();let i,n;return e instanceof Ol?(i=io.traceCreation(this._enableTracing,e.ctor),n=this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=io.traceCreation(this._enableTracing,e),n=this._createInstance(e,t,i)),i.stop(),n}_createInstance(e,t=[],i){const n=qa.getServiceDependencies(e).sort((a,l)=>a.index-l.index),o=[];for(const a of n){const l=this._getOrCreateServiceInstance(a.id,i);l||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${a.id}.`,!1),o.push(l)}const r=n.length>0?n[0].index:t.length;if(t.length!==r){console.trace(`[createInstance] First service dependency of ${e.name} at position ${r+1} conflicts with ${t.length} static arguments`);const a=r-t.length;a>0?t=t.concat(new Array(a)):t=t.slice(0,r)}return Reflect.construct(e,t.concat(o))}_setCreatedServiceInstance(e,t){if(this._services.get(e)instanceof Ol)this._services.set(e,t);else if(this._parent)this._parent._setCreatedServiceInstance(e,t);else throw new Error(\"illegalState - setting UNKNOWN service instance\")}_getServiceInstanceOrDescriptor(e){const t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(e));const i=this._getServiceInstanceOrDescriptor(e);return i instanceof Ol?this._safeCreateAndCacheServiceInstance(e,i,t.branch(e,!0)):(t.branch(e,!1),i)}_safeCreateAndCacheServiceInstance(e,t,i){if(this._activeInstantiations.has(e))throw new Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,i)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,i){var n;const o=new n7(l=>l.id.toString());let r=0;const a=[{id:e,desc:t,_trace:i}];for(;a.length;){const l=a.pop();if(o.lookupOrInsertNode(l),r++>1e3)throw new s7(o);for(const d of qa.getServiceDependencies(l.desc.ctor)){const c=this._getServiceInstanceOrDescriptor(d.id);if(c||this._throwIfStrict(`[createInstance] ${e} depends on ${d.id} which is NOT registered.`,!0),(n=this._globalGraph)===null||n===void 0||n.insertEdge(String(l.id),String(d.id)),c instanceof Ol){const u={id:d.id,desc:c,_trace:l._trace.branch(d.id,!0)};o.insertEdge(l,u),a.push(u)}}}for(;;){const l=o.roots();if(l.length===0){if(!o.isEmpty())throw new s7(o);break}for(const{data:d}of l){if(this._getServiceInstanceOrDescriptor(d.id)instanceof Ol){const u=this._createServiceInstanceWithOwner(d.id,d.desc.ctor,d.desc.staticArguments,d.desc.supportsDelayedInstantiation,d._trace);this._setCreatedServiceInstance(d.id,u)}o.removeNode(d)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,i=[],n,o){if(this._services.get(e)instanceof Ol)return this._createServiceInstance(e,t,i,n,o,this._servicesToMaybeDispose);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,i,n,o);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t,i=[],n,o,r){if(n){const a=new XD(void 0,this._strict,this,this._enableTracing);a._globalGraphImplicitDependency=String(e);const l=new Map,d=new eae(()=>{const c=a._createInstance(t,i,o);for(const[u,h]of l){const g=c[u];if(typeof g==\"function\")for(const f of h)f.disposable=g.apply(c,f.listener)}return l.clear(),r.add(c),c});return new Proxy(Object.create(null),{get(c,u){if(!d.isInitialized&&typeof u==\"string\"&&(u.startsWith(\"onDid\")||u.startsWith(\"onWill\"))){let f=l.get(u);return f||(f=new Rs,l.set(u,f)),(_,v,b)=>{if(d.isInitialized)return d.value[u](_,v,b);{const C={listener:[_,v,b],disposable:void 0},w=f.push(C);return Ie(()=>{var D;w(),(D=C.disposable)===null||D===void 0||D.dispose()})}}}if(u in c)return c[u];const h=d.value;let g=h[u];return typeof g!=\"function\"||(g=g.bind(h),c[u]=g),g},set(c,u,h){return d.value[u]=h,!0},getPrototypeOf(c){return t.prototype}})}else{const a=this._createInstance(t,i,o);return r.add(a),a}}_throwIfStrict(e,t){if(t&&console.warn(e),this._strict)throw new Error(e)}}class io{static traceInvocation(e,t){return e?new io(2,t.name||new Error().stack.split(`\n`).slice(3,4).join(`\n`)):io._None}static traceCreation(e,t){return e?new io(1,t.name):io._None}constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}branch(e,t){const i=new io(3,e.toString());return this._dep.push([e,t,i]),i}stop(){const e=Date.now()-this._start;io._totals+=e;let t=!1;function i(o,r){const a=[],l=new Array(o+1).join(\"\t\");for(const[d,c,u]of r._dep)if(c&&u){t=!0,a.push(`${l}CREATES -> ${d}`);const h=i(o+1,u);h&&a.push(h)}else a.push(`${l}uses -> ${d}`);return a.join(`\n`)}const n=[`${this.type===1?\"CREATE\":\"CALL\"} ${this.name}`,`${i(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${io._totals.toFixed(2)}ms)`];(e>2||t)&&io.all.add(n.join(`\n`))}}io.all=new Set;io._None=new class extends io{constructor(){super(0,null)}stop(){}branch(){return this}};io._totals=0;const kye=new Set([Ge.inMemory,Ge.vscodeSourceControl,Ge.walkThrough,Ge.walkThroughSnippet,Ge.vscodeChatCodeBlock]);class Eye{constructor(){this._byResource=new Wi,this._byOwner=new Map}set(e,t,i){let n=this._byResource.get(e);n||(n=new Map,this._byResource.set(e,n)),n.set(t,i);let o=this._byOwner.get(t);o||(o=new Wi,this._byOwner.set(t,o)),o.set(e,i)}get(e,t){const i=this._byResource.get(e);return i==null?void 0:i.get(t)}delete(e,t){let i=!1,n=!1;const o=this._byResource.get(e);o&&(i=o.delete(t));const r=this._byOwner.get(t);if(r&&(n=r.delete(e)),i!==n)throw new Error(\"illegal state\");return i&&n}values(e){var t,i,n,o;return typeof e==\"string\"?(i=(t=this._byOwner.get(e))===null||t===void 0?void 0:t.values())!==null&&i!==void 0?i:ft.empty():Ae.isUri(e)?(o=(n=this._byResource.get(e))===null||n===void 0?void 0:n.values())!==null&&o!==void 0?o:ft.empty():ft.map(ft.concat(...this._byOwner.values()),r=>r[1])}}class Iye{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new Wi,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const i=this._data.get(t);i&&this._substract(i);const n=this._resourceStats(t);this._add(n),this._data.set(t,n)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(kye.has(e.scheme))return t;for(const{severity:i}of this._service.read({resource:e}))i===Li.Error?t.errors+=1:i===Li.Warning?t.warnings+=1:i===Li.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class ku{constructor(){this._onMarkerChanged=new $V({delay:0,merge:ku._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new Eye,this._stats=new Iye(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if(LV(i))this._data.delete(t,e)&&this._onMarkerChanged.fire([t]);else{const n=[];for(const o of i){const r=ku._toMarker(e,t,o);r&&n.push(r)}this._data.set(t,e,n),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:n,severity:o,message:r,source:a,startLineNumber:l,startColumn:d,endLineNumber:c,endColumn:u,relatedInformation:h,tags:g}=i;if(r)return l=l>0?l:1,d=d>0?d:1,c=c>=l?c:l,u=u>0?u:d,{resource:t,owner:e,code:n,severity:o,message:r,source:a,startLineNumber:l,startColumn:d,endLineNumber:c,endColumn:u,relatedInformation:h,tags:g}}changeAll(e,t){const i=[],n=this._data.values(e);if(n)for(const o of n){const r=ft.first(o);r&&(i.push(r.resource),this._data.delete(r.resource,e))}if(rs(t)){const o=new Wi;for(const{resource:r,marker:a}of t){const l=ku._toMarker(e,r,a);if(!l)continue;const d=o.get(r);d?d.push(l):(o.set(r,[l]),i.push(r))}for(const[r,a]of o)this._data.set(r,e,a)}i.length>0&&this._onMarkerChanged.fire(i)}read(e=Object.create(null)){let{owner:t,resource:i,severities:n,take:o}=e;if((!o||o<0)&&(o=-1),t&&i){const r=this._data.get(i,t);if(r){const a=[];for(const l of r)if(ku._accept(l,n)){const d=a.push(l);if(o>0&&d===o)break}return a}else return[]}else if(!t&&!i){const r=[];for(const a of this._data.values())for(const l of a)if(ku._accept(l,n)){const d=r.push(l);if(o>0&&d===o)return r}return r}else{const r=this._data.values(i??t),a=[];for(const l of r)for(const d of l)if(ku._accept(d,n)){const c=a.push(d);if(o>0&&c===o)return a}return a}}static _accept(e,t){return t===void 0||(t&e.severity)===e.severity}static _merge(e){const t=new Wi;for(const i of e)for(const n of i)t.set(n,!0);return Array.from(t.keys())}}class Tye extends H{get configurationModel(){return this._configurationModel}constructor(e){super(),this.logService=e,this._configurationModel=Vn.createEmptyModel(this.logService)}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=Vn.createEmptyModel(this.logService);const e=Ji.as(pl.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(e),e)}updateConfigurationModel(e,t){const i=this.getConfigurationDefaultOverrides();for(const n of e){const o=i[n],r=t[n];o!==void 0?this._configurationModel.addValue(n,o):r?this._configurationModel.addValue(n,r.default):this._configurationModel.removeValue(n)}}}const rg=ut(\"accessibilitySignalService\");class He{static register(e){return new He(e.fileName)}constructor(e){this.fileName=e}}He.error=He.register({fileName:\"error.mp3\"});He.warning=He.register({fileName:\"warning.mp3\"});He.foldedArea=He.register({fileName:\"foldedAreas.mp3\"});He.break=He.register({fileName:\"break.mp3\"});He.quickFixes=He.register({fileName:\"quickFixes.mp3\"});He.taskCompleted=He.register({fileName:\"taskCompleted.mp3\"});He.taskFailed=He.register({fileName:\"taskFailed.mp3\"});He.terminalBell=He.register({fileName:\"terminalBell.mp3\"});He.diffLineInserted=He.register({fileName:\"diffLineInserted.mp3\"});He.diffLineDeleted=He.register({fileName:\"diffLineDeleted.mp3\"});He.diffLineModified=He.register({fileName:\"diffLineModified.mp3\"});He.chatRequestSent=He.register({fileName:\"chatRequestSent.mp3\"});He.chatResponseReceived1=He.register({fileName:\"chatResponseReceived1.mp3\"});He.chatResponseReceived2=He.register({fileName:\"chatResponseReceived2.mp3\"});He.chatResponseReceived3=He.register({fileName:\"chatResponseReceived3.mp3\"});He.chatResponseReceived4=He.register({fileName:\"chatResponseReceived4.mp3\"});He.clear=He.register({fileName:\"clear.mp3\"});He.save=He.register({fileName:\"save.mp3\"});He.format=He.register({fileName:\"format.mp3\"});He.voiceRecordingStarted=He.register({fileName:\"voiceRecordingStarted.mp3\"});He.voiceRecordingStopped=He.register({fileName:\"voiceRecordingStopped.mp3\"});He.progress=He.register({fileName:\"progress.mp3\"});class Nye{constructor(e){this.randomOneOf=e}}class Ke{constructor(e,t,i,n,o,r){this.sound=e,this.name=t,this.legacySoundSettingsKey=i,this.settingsKey=n,this.legacyAnnouncementSettingsKey=o,this.announcementMessage=r}static register(e){const t=new Nye(\"randomOneOf\"in e.sound?e.sound.randomOneOf:[e.sound]),i=new Ke(t,e.name,e.legacySoundSettingsKey,e.settingsKey,e.legacyAnnouncementSettingsKey,e.announcementMessage);return Ke._signals.add(i),i}}Ke._signals=new Set;Ke.errorAtPosition=Ke.register({name:p(\"accessibilitySignals.positionHasError.name\",\"Error at Position\"),sound:He.error,announcementMessage:p(\"accessibility.signals.positionHasError\",\"Error\"),settingsKey:\"accessibility.signals.positionHasError\"});Ke.warningAtPosition=Ke.register({name:p(\"accessibilitySignals.positionHasWarning.name\",\"Warning at Position\"),sound:He.warning,announcementMessage:p(\"accessibility.signals.positionHasWarning\",\"Warning\"),settingsKey:\"accessibility.signals.positionHasWarning\"});Ke.errorOnLine=Ke.register({name:p(\"accessibilitySignals.lineHasError.name\",\"Error on Line\"),sound:He.error,legacySoundSettingsKey:\"audioCues.lineHasError\",legacyAnnouncementSettingsKey:\"accessibility.alert.error\",announcementMessage:p(\"accessibility.signals.lineHasError\",\"Error on Line\"),settingsKey:\"accessibility.signals.lineHasError\"});Ke.warningOnLine=Ke.register({name:p(\"accessibilitySignals.lineHasWarning.name\",\"Warning on Line\"),sound:He.warning,legacySoundSettingsKey:\"audioCues.lineHasWarning\",legacyAnnouncementSettingsKey:\"accessibility.alert.warning\",announcementMessage:p(\"accessibility.signals.lineHasWarning\",\"Warning on Line\"),settingsKey:\"accessibility.signals.lineHasWarning\"});Ke.foldedArea=Ke.register({name:p(\"accessibilitySignals.lineHasFoldedArea.name\",\"Folded Area on Line\"),sound:He.foldedArea,legacySoundSettingsKey:\"audioCues.lineHasFoldedArea\",legacyAnnouncementSettingsKey:\"accessibility.alert.foldedArea\",announcementMessage:p(\"accessibility.signals.lineHasFoldedArea\",\"Folded\"),settingsKey:\"accessibility.signals.lineHasFoldedArea\"});Ke.break=Ke.register({name:p(\"accessibilitySignals.lineHasBreakpoint.name\",\"Breakpoint on Line\"),sound:He.break,legacySoundSettingsKey:\"audioCues.lineHasBreakpoint\",legacyAnnouncementSettingsKey:\"accessibility.alert.breakpoint\",announcementMessage:p(\"accessibility.signals.lineHasBreakpoint\",\"Breakpoint\"),settingsKey:\"accessibility.signals.lineHasBreakpoint\"});Ke.inlineSuggestion=Ke.register({name:p(\"accessibilitySignals.lineHasInlineSuggestion.name\",\"Inline Suggestion on Line\"),sound:He.quickFixes,legacySoundSettingsKey:\"audioCues.lineHasInlineSuggestion\",settingsKey:\"accessibility.signals.lineHasInlineSuggestion\"});Ke.terminalQuickFix=Ke.register({name:p(\"accessibilitySignals.terminalQuickFix.name\",\"Terminal Quick Fix\"),sound:He.quickFixes,legacySoundSettingsKey:\"audioCues.terminalQuickFix\",legacyAnnouncementSettingsKey:\"accessibility.alert.terminalQuickFix\",announcementMessage:p(\"accessibility.signals.terminalQuickFix\",\"Quick Fix\"),settingsKey:\"accessibility.signals.terminalQuickFix\"});Ke.onDebugBreak=Ke.register({name:p(\"accessibilitySignals.onDebugBreak.name\",\"Debugger Stopped on Breakpoint\"),sound:He.break,legacySoundSettingsKey:\"audioCues.onDebugBreak\",legacyAnnouncementSettingsKey:\"accessibility.alert.onDebugBreak\",announcementMessage:p(\"accessibility.signals.onDebugBreak\",\"Breakpoint\"),settingsKey:\"accessibility.signals.onDebugBreak\"});Ke.noInlayHints=Ke.register({name:p(\"accessibilitySignals.noInlayHints\",\"No Inlay Hints on Line\"),sound:He.error,legacySoundSettingsKey:\"audioCues.noInlayHints\",legacyAnnouncementSettingsKey:\"accessibility.alert.noInlayHints\",announcementMessage:p(\"accessibility.signals.noInlayHints\",\"No Inlay Hints\"),settingsKey:\"accessibility.signals.noInlayHints\"});Ke.taskCompleted=Ke.register({name:p(\"accessibilitySignals.taskCompleted\",\"Task Completed\"),sound:He.taskCompleted,legacySoundSettingsKey:\"audioCues.taskCompleted\",legacyAnnouncementSettingsKey:\"accessibility.alert.taskCompleted\",announcementMessage:p(\"accessibility.signals.taskCompleted\",\"Task Completed\"),settingsKey:\"accessibility.signals.taskCompleted\"});Ke.taskFailed=Ke.register({name:p(\"accessibilitySignals.taskFailed\",\"Task Failed\"),sound:He.taskFailed,legacySoundSettingsKey:\"audioCues.taskFailed\",legacyAnnouncementSettingsKey:\"accessibility.alert.taskFailed\",announcementMessage:p(\"accessibility.signals.taskFailed\",\"Task Failed\"),settingsKey:\"accessibility.signals.taskFailed\"});Ke.terminalCommandFailed=Ke.register({name:p(\"accessibilitySignals.terminalCommandFailed\",\"Terminal Command Failed\"),sound:He.error,legacySoundSettingsKey:\"audioCues.terminalCommandFailed\",legacyAnnouncementSettingsKey:\"accessibility.alert.terminalCommandFailed\",announcementMessage:p(\"accessibility.signals.terminalCommandFailed\",\"Command Failed\"),settingsKey:\"accessibility.signals.terminalCommandFailed\"});Ke.terminalBell=Ke.register({name:p(\"accessibilitySignals.terminalBell\",\"Terminal Bell\"),sound:He.terminalBell,legacySoundSettingsKey:\"audioCues.terminalBell\",legacyAnnouncementSettingsKey:\"accessibility.alert.terminalBell\",announcementMessage:p(\"accessibility.signals.terminalBell\",\"Terminal Bell\"),settingsKey:\"accessibility.signals.terminalBell\"});Ke.notebookCellCompleted=Ke.register({name:p(\"accessibilitySignals.notebookCellCompleted\",\"Notebook Cell Completed\"),sound:He.taskCompleted,legacySoundSettingsKey:\"audioCues.notebookCellCompleted\",legacyAnnouncementSettingsKey:\"accessibility.alert.notebookCellCompleted\",announcementMessage:p(\"accessibility.signals.notebookCellCompleted\",\"Notebook Cell Completed\"),settingsKey:\"accessibility.signals.notebookCellCompleted\"});Ke.notebookCellFailed=Ke.register({name:p(\"accessibilitySignals.notebookCellFailed\",\"Notebook Cell Failed\"),sound:He.taskFailed,legacySoundSettingsKey:\"audioCues.notebookCellFailed\",legacyAnnouncementSettingsKey:\"accessibility.alert.notebookCellFailed\",announcementMessage:p(\"accessibility.signals.notebookCellFailed\",\"Notebook Cell Failed\"),settingsKey:\"accessibility.signals.notebookCellFailed\"});Ke.diffLineInserted=Ke.register({name:p(\"accessibilitySignals.diffLineInserted\",\"Diff Line Inserted\"),sound:He.diffLineInserted,legacySoundSettingsKey:\"audioCues.diffLineInserted\",settingsKey:\"accessibility.signals.diffLineInserted\"});Ke.diffLineDeleted=Ke.register({name:p(\"accessibilitySignals.diffLineDeleted\",\"Diff Line Deleted\"),sound:He.diffLineDeleted,legacySoundSettingsKey:\"audioCues.diffLineDeleted\",settingsKey:\"accessibility.signals.diffLineDeleted\"});Ke.diffLineModified=Ke.register({name:p(\"accessibilitySignals.diffLineModified\",\"Diff Line Modified\"),sound:He.diffLineModified,legacySoundSettingsKey:\"audioCues.diffLineModified\",settingsKey:\"accessibility.signals.diffLineModified\"});Ke.chatRequestSent=Ke.register({name:p(\"accessibilitySignals.chatRequestSent\",\"Chat Request Sent\"),sound:He.chatRequestSent,legacySoundSettingsKey:\"audioCues.chatRequestSent\",legacyAnnouncementSettingsKey:\"accessibility.alert.chatRequestSent\",announcementMessage:p(\"accessibility.signals.chatRequestSent\",\"Chat Request Sent\"),settingsKey:\"accessibility.signals.chatRequestSent\"});Ke.chatResponseReceived=Ke.register({name:p(\"accessibilitySignals.chatResponseReceived\",\"Chat Response Received\"),legacySoundSettingsKey:\"audioCues.chatResponseReceived\",sound:{randomOneOf:[He.chatResponseReceived1,He.chatResponseReceived2,He.chatResponseReceived3,He.chatResponseReceived4]},settingsKey:\"accessibility.signals.chatResponseReceived\"});Ke.progress=Ke.register({name:p(\"accessibilitySignals.progress\",\"Progress\"),sound:He.progress,legacySoundSettingsKey:\"audioCues.chatResponsePending\",legacyAnnouncementSettingsKey:\"accessibility.alert.chatResponseProgress\",announcementMessage:p(\"accessibility.signals.progress\",\"Progress\"),settingsKey:\"accessibility.signals.progress\"});Ke.clear=Ke.register({name:p(\"accessibilitySignals.clear\",\"Clear\"),sound:He.clear,legacySoundSettingsKey:\"audioCues.clear\",legacyAnnouncementSettingsKey:\"accessibility.alert.clear\",announcementMessage:p(\"accessibility.signals.clear\",\"Clear\"),settingsKey:\"accessibility.signals.clear\"});Ke.save=Ke.register({name:p(\"accessibilitySignals.save\",\"Save\"),sound:He.save,legacySoundSettingsKey:\"audioCues.save\",legacyAnnouncementSettingsKey:\"accessibility.alert.save\",announcementMessage:p(\"accessibility.signals.save\",\"Save\"),settingsKey:\"accessibility.signals.save\"});Ke.format=Ke.register({name:p(\"accessibilitySignals.format\",\"Format\"),sound:He.format,legacySoundSettingsKey:\"audioCues.format\",legacyAnnouncementSettingsKey:\"accessibility.alert.format\",announcementMessage:p(\"accessibility.signals.format\",\"Format\"),settingsKey:\"accessibility.signals.format\"});Ke.voiceRecordingStarted=Ke.register({name:p(\"accessibilitySignals.voiceRecordingStarted\",\"Voice Recording Started\"),sound:He.voiceRecordingStarted,legacySoundSettingsKey:\"audioCues.voiceRecordingStarted\",settingsKey:\"accessibility.signals.voiceRecordingStarted\"});Ke.voiceRecordingStopped=Ke.register({name:p(\"accessibilitySignals.voiceRecordingStopped\",\"Voice Recording Stopped\"),sound:He.voiceRecordingStopped,legacySoundSettingsKey:\"audioCues.voiceRecordingStopped\",settingsKey:\"accessibility.signals.voiceRecordingStopped\"});class Aye extends H{constructor(e,t=[]){super(),this.logger=new Tle([e,...t]),this._register(e.onDidChangeLogLevel(i=>this.setLevel(i)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(e){this.logger.setLevel(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}warn(e,...t){this.logger.warn(e,...t)}error(e,...t){this.logger.error(e,...t)}}const mK=[];function F1(s){mK.push(s)}function Mye(){return mK.slice(0)}var au=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Nn=function(s,e){return function(t,i){e(t,i,s)}};class Rye{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new B}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let sM=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new zoe(new Rye(t))):Promise.reject(new Error(\"Model not found\"))}};sM=au([Nn(0,_i)],sM);class uk{show(){return uk.NULL_PROGRESS_RUNNER}async showWhile(e,t){await e}}uk.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Pye{withProgress(e,t,i){return t({report:()=>{}})}}class Fye{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}}class Oye{async confirm(e){return{confirmed:this.doConfirm(e.message,e.detail),checkboxChecked:!1}}doConfirm(e,t){let i=e;return t&&(i=i+`\n\n`+t),Ht.confirm(i)}async prompt(e){var t,i;let n;if(this.doConfirm(e.message,e.detail)){const r=[...(t=e.buttons)!==null&&t!==void 0?t:[]];e.cancelButton&&typeof e.cancelButton!=\"string\"&&typeof e.cancelButton!=\"boolean\"&&r.push(e.cancelButton),n=await((i=r[0])===null||i===void 0?void 0:i.run({checkboxChecked:!1}))}return{result:n}}async error(e,t){await this.prompt({type:Bi.Error,message:e,detail:t})}}class SC{info(e){return this.notify({severity:Bi.Info,message:e})}warn(e){return this.notify({severity:Bi.Warning,message:e})}error(e){return this.notify({severity:Bi.Error,message:e})}notify(e){switch(e.severity){case Bi.Error:console.error(e.message);break;case Bi.Warning:console.warn(e.message);break;default:console.log(e.message);break}return SC.NO_OP}prompt(e,t,i,n){return SC.NO_OP}status(e,t){return H.None}}SC.NO_OP=new u0e;let oM=class{constructor(e){this._onWillExecuteCommand=new B,this._onDidExecuteCommand=new B,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const i=pt.getCommand(e);if(!i)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const n=this._instantiationService.invokeFunction.apply(this._instantiationService,[i.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}};oM=au([Nn(0,Ne)],oM);let F_=class extends wbe{constructor(e,t,i,n,o,r){super(e,t,i,n,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const a=g=>{const f=new Y;f.add(K(g,ee.KEY_DOWN,m=>{const _=new Kt(m);this._dispatch(_,_.target)&&(_.preventDefault(),_.stopPropagation())})),f.add(K(g,ee.KEY_UP,m=>{const _=new Kt(m);this._singleModifierDispatch(_,_.target)&&_.preventDefault()})),this._domNodeListeners.push(new Bye(g,f))},l=g=>{for(let f=0;f<this._domNodeListeners.length;f++){const m=this._domNodeListeners[f];m.domNode===g&&(this._domNodeListeners.splice(f,1),m.dispose())}},d=g=>{g.getOption(61)||a(g.getContainerDomNode())},c=g=>{g.getOption(61)||l(g.getContainerDomNode())};this._register(r.onCodeEditorAdd(d)),this._register(r.onCodeEditorRemove(c)),r.listCodeEditors().forEach(d);const u=g=>{a(g.getContainerDomNode())},h=g=>{l(g.getContainerDomNode())};this._register(r.onDiffEditorAdd(u)),this._register(r.onDiffEditorRemove(h)),r.listDiffEditors().forEach(u)}addDynamicKeybinding(e,t,i,n){return ha(pt.registerCommand(e,i),this.addDynamicKeybindings([{keybinding:t,command:e,when:n}]))}addDynamicKeybindings(e){const t=e.map(i=>{var n;return{keybinding:JN(i.keybinding,Lo),command:(n=i.command)!==null&&n!==void 0?n:null,commandArgs:i.commandArgs,when:i.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(t),this.updateResolver(),Ie(()=>{for(let i=0;i<this._dynamicKeybindings.length;i++)if(this._dynamicKeybindings[i]===t[0]){this._dynamicKeybindings.splice(i,t.length),this.updateResolver();return}})}updateResolver(){this._cachedResolver=null,this._onDidUpdateKeybindings.fire()}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(go.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new ab(e,t,i=>this._log(i))}return this._cachedResolver}_documentHasFocus(){return Ht.document.hasFocus()}_toNormalizedKeybindingItems(e,t){const i=[];let n=0;for(const o of e){const r=o.when||void 0,a=o.keybinding;if(!a)i[n++]=new c6(void 0,o.command,o.commandArgs,r,t,null,!1);else{const l=lC.resolveKeybinding(a,Lo);for(const d of l)i[n++]=new c6(d,o.command,o.commandArgs,r,t,null,!1)}}return i}resolveKeyboardEvent(e){const t=new Vc(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode);return new lC([t],Lo)}};F_=au([Nn(0,Be),Nn(1,gi),Nn(2,Gs),Nn(3,en),Nn(4,ys),Nn(5,xt)],F_);class Bye extends H{constructor(e,t){super(),this.domNode=e,this._register(t)}}function o7(s){return s&&typeof s==\"object\"&&(!s.overrideIdentifier||typeof s.overrideIdentifier==\"string\")&&(!s.resource||s.resource instanceof Ae)}let YD=class{constructor(e){this.logService=e,this._onDidChangeConfiguration=new B,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;const t=new Tye(e);this._configuration=new zx(t.reload(),Vn.createEmptyModel(e),Vn.createEmptyModel(e),Vn.createEmptyModel(e),Vn.createEmptyModel(e),Vn.createEmptyModel(e),new Wi,Vn.createEmptyModel(e),new Wi,e),t.dispose()}getValue(e,t){const i=typeof e==\"string\"?e:void 0,n=o7(e)?e:o7(t)?t:{};return this._configuration.getValue(i,n,void 0)}updateValues(e){const t={data:this._configuration.toData()},i=[];for(const n of e){const[o,r]=n;this.getValue(o)!==r&&(this._configuration.updateValue(o,r),i.push(o))}if(i.length>0){const n=new _be({keys:i,overrides:[]},t,this._configuration,void 0,this.logService);n.source=8,this._onDidChangeConfiguration.fire(n)}return Promise.resolve()}updateValue(e,t,i,n){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}};YD=au([Nn(0,ys)],YD);let rM=class{constructor(e,t,i){this.configurationService=e,this.modelService=t,this.languageService=i,this._onDidChangeConfiguration=new B,this.configurationService.onDidChangeConfiguration(n=>{this._onDidChangeConfiguration.fire({affectedKeys:n.affectedKeys,affectsConfiguration:(o,r)=>n.affectsConfiguration(r)})})}getValue(e,t,i){const n=W.isIPosition(t)?t:null,o=n?typeof i==\"string\"?i:void 0:typeof t==\"string\"?t:void 0,r=e?this.getLanguage(e,n):void 0;return typeof o>\"u\"?this.configurationService.getValue({resource:e,overrideIdentifier:r}):this.configurationService.getValue(o,{resource:e,overrideIdentifier:r})}getLanguage(e,t){const i=this.modelService.getModel(e);return i?t?i.getLanguageIdAtPosition(t.lineNumber,t.column):i.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(e)}};rM=au([Nn(0,rt),Nn(1,_i),Nn(2,vi)],rM);let aM=class{constructor(e){this.configurationService=e}getEOL(e,t){const i=this.configurationService.getValue(\"files.eol\",{overrideIdentifier:t,resource:e});return i&&typeof i==\"string\"&&i!==\"auto\"?i:$s||lt?`\n`:`\\r\n`}};aM=au([Nn(0,rt)],aM);class Wye{publicLog2(){}}class DC{constructor(){const e=Ae.from({scheme:DC.SCHEME,authority:\"model\",path:\"/\"});this.workspace={id:dj,folders:[new Pbe({uri:e,name:\"\",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===DC.SCHEME?this.workspace.folders[0]:null}}DC.SCHEME=\"inmemory\";function QD(s,e,t){if(!e||!(s instanceof YD))return;const i=[];Object.keys(e).forEach(n=>{hbe(n)&&i.push([`editor.${n}`,e[n]]),t&&gbe(n)&&i.push([`diffEditor.${n}`,e[n]])}),i.length>0&&s.updateValues(i)}let lM=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}async apply(e,t){const i=Array.isArray(e)?e:yO.convert(e),n=new Map;for(const a of i){if(!(a instanceof dh))throw new Error(\"bad edit - only text edits are supported\");const l=this._modelService.getModel(a.resource);if(!l)throw new Error(\"bad edit - model not found\");if(typeof a.versionId==\"number\"&&l.getVersionId()!==a.versionId)throw new Error(\"bad state - model changed in the meantime\");let d=n.get(l);d||(d=[],n.set(l,d)),d.push(pi.replaceMove(x.lift(a.textEdit.range),a.textEdit.text))}let o=0,r=0;for(const[a,l]of n)a.pushStackElement(),a.pushEditOperations([],l,()=>[]),a.pushStackElement(),r+=1,o+=l.length;return{ariaSummary:l_(C2.bulkEditServiceSummary,o,r),isApplied:o>0}}};lM=au([Nn(0,_i)],lM);class Hye{getUriLabel(e,t){return e.scheme===\"file\"?e.fsPath:e.path}getUriBasenameLabel(e){return Wr(e)}}let dM=class extends abe{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,i){if(!t){const n=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();n&&(t=n.getContainerDomNode())}return super.showContextView(e,t,i)}};dM=au([Nn(0,ig),Nn(1,xt)],dM);class Vye{constructor(){this._neverEmitter=new B,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class zye extends cC{constructor(){super()}}class Uye extends Aye{constructor(){super(new Ile)}}let cM=class extends T2{constructor(e,t,i,n,o,r){super(e,t,i,n,o,r),this.configure({blockMouse:!1})}};cM=au([Nn(0,Gs),Nn(1,en),Nn(2,nu),Nn(3,At),Nn(4,hr),Nn(5,Be)],cM);class $ye{async playSignal(e,t){}}mt(ys,Uye,0);mt(rt,YD,0);mt(DF,rM,0);mt(pU,aM,0);mt(If,DC,0);mt(k_,Hye,0);mt(Gs,Wye,0);mt(dO,Oye,0);mt(cO,Fye,0);mt(en,SC,0);mt(Pd,ku,0);mt(vi,zye,0);mt(Sa,hye,0);mt(_i,PD,0);mt(TF,P2,0);mt(Be,nM,0);mt(lj,Pye,0);mt(sg,uk,0);mt(Rd,jCe,0);mt(jr,CA,0);mt(x1,lM,0);mt(cj,Vye,0);mt(mo,sM,0);mt(gr,Q2,0);mt(Kr,ywe,0);mt(gi,oM,0);mt(At,F_,0);mt(hp,X2,0);mt(nu,dM,0);mt(Bo,R2,0);mt(ru,ZD,0);mt(Oo,cM,0);mt(hr,J2,0);mt(rg,$ye,0);var Fe;(function(s){const e=new L1;for(const[l,d]of P3())e.set(l,d);const t=new XD(e,!0);e.set(Ne,t);function i(l){n||r({});const d=e.get(l);if(!d)throw new Error(\"Missing service \"+l);return d instanceof Ol?t.invokeFunction(c=>c.get(l)):d}s.get=i;let n=!1;const o=new B;function r(l){if(n)return t;n=!0;for(const[c,u]of P3())e.get(c)||e.set(c,u);for(const c in l)if(l.hasOwnProperty(c)){const u=ut(c);e.get(u)instanceof Ol&&e.set(u,l[c])}const d=Mye();for(const c of d)try{t.createInstance(c)}catch(u){Xe(u)}return o.fire(),t}s.initialize=r;function a(l){if(n)return l();const d=new Y,c=d.add(o.event(()=>{c.dispose(),d.add(l())}));return d}s.withServices=a})(Fe||(Fe={}));class cl{static capture(e){if(e.getScrollTop()===0||e.hasPendingScrollAnimation())return new cl(e.getScrollTop(),e.getContentHeight(),null,0,null);let t=null,i=0;const n=e.getVisibleRanges();if(n.length>0){t=n[0].getStartPosition();const o=e.getTopForPosition(t.lineNumber,t.column);i=e.getScrollTop()-o}return new cl(e.getScrollTop(),e.getContentHeight(),t,i,e.getPosition())}constructor(e,t,i,n,o){this._initialScrollTop=e,this._initialContentHeight=t,this._visiblePosition=i,this._visiblePositionScrollDelta=n,this._cursorPosition=o}restore(e){if(!(this._initialContentHeight===e.getContentHeight()&&this._initialScrollTop===e.getScrollTop())&&this._visiblePosition){const t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){if(this._initialContentHeight===e.getContentHeight()&&this._initialScrollTop===e.getScrollTop())return;const t=e.getPosition();if(!this._cursorPosition||!t)return;const i=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+i)}}function ZO(){return QT&&!!QT.VSCODE_DEV}function _K(s){if(ZO()){const e=jye();return e.add(s),{dispose(){e.delete(s)}}}else return{dispose(){}}}function jye(){ty||(ty=new Set);const s=globalThis;return s.$hotReload_applyNewExports||(s.$hotReload_applyNewExports=e=>{const t={config:{mode:void 0},...e};for(const i of ty){const n=i(t);if(n)return n}}),ty}let ty;ZO()&&_K(({oldExports:s,newSrc:e,config:t})=>{if(t.mode===\"patch-prototype\")return i=>{var n,o;for(const r in i){const a=i[r];if(console.log(`[hot-reload] Patching prototype methods of '${r}'`,{exportedItem:a}),typeof a==\"function\"&&a.prototype){const l=s[r];if(l){for(const d of Object.getOwnPropertyNames(a.prototype)){const c=Object.getOwnPropertyDescriptor(a.prototype,d),u=Object.getOwnPropertyDescriptor(l.prototype,d);((n=c==null?void 0:c.value)===null||n===void 0?void 0:n.toString())!==((o=u==null?void 0:u.value)===null||o===void 0?void 0:o.toString())&&console.log(`[hot-reload] Patching prototype method '${r}.${d}'`),Object.defineProperty(l.prototype,d,c)}i[r]=l}}}return!0}});function Kye(s,e,t,i){if(s.length===0)return e;if(e.length===0)return s;const n=[];let o=0,r=0;for(;o<s.length&&r<e.length;){const a=s[o],l=e[r],d=t(a),c=t(l);d<c?(n.push(a),o++):d>c?(n.push(l),r++):(n.push(i(a,l)),o++,r++)}for(;o<s.length;)n.push(s[o]),o++;for(;r<e.length;)n.push(e[r]),r++;return n}function JD(s,e){const t=new Y,i=s.createDecorationsCollection();return t.add(qx({debugName:()=>`Apply decorations from ${e.debugName}`},n=>{const o=e.read(n);i.set(o)})),t.add({dispose:()=>{i.clear()}}),t}function Ev(s,e){return s.appendChild(e),Ie(()=>{s.removeChild(e)})}function qye(s,e){return s.prepend(e),Ie(()=>{s.removeChild(e)})}class vK extends H{get width(){return this._width}get height(){return this._height}constructor(e,t){super(),this.elementSizeObserver=this._register(new SU(e,t)),this._width=vt(this,this.elementSizeObserver.getWidth()),this._height=vt(this,this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(i=>$t(n=>{this._width.set(this.elementSizeObserver.getWidth(),n),this._height.set(this.elementSizeObserver.getHeight(),n)})))}observe(e){this.elementSizeObserver.observe(e)}setAutomaticLayout(e){e?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}function r7(s,e,t){let i=e.get(),n=i,o=i;const r=vt(\"animatedValue\",i);let a=-1;const l=300;let d;t.add(I1({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(u,h)=>(u.didChange(e)&&(h.animate=h.animate||u.change),!0)},(u,h)=>{d!==void 0&&(s.cancelAnimationFrame(d),d=void 0),n=o,i=e.read(u),a=Date.now()-(h.animate?0:l),c()}));function c(){const u=Date.now()-a;o=Math.floor(Gye(u,n,i-n,l)),u<l?d=s.requestAnimationFrame(c):o=i,r.set(o,void 0)}return r}function Gye(s,e,t,i){return s===i?e+t:t*(-Math.pow(2,-10*s/i)+1)+e}class bK extends H{constructor(e,t,i){super(),this._register(new hk(e,i)),this._register(Oh(i,{height:t.actualHeight,top:t.actualTop}))}}class eL{get afterLineNumber(){return this._afterLineNumber.get()}constructor(e,t){this._afterLineNumber=e,this.heightInPx=t,this.domNode=document.createElement(\"div\"),this._actualTop=vt(this,void 0),this._actualHeight=vt(this,void 0),this.actualTop=this._actualTop,this.actualHeight=this._actualHeight,this.showInHiddenAreas=!0,this.onChange=this._afterLineNumber,this.onDomNodeTop=i=>{this._actualTop.set(i,void 0)},this.onComputedHeight=i=>{this._actualHeight.set(i,void 0)}}}class hk{constructor(e,t){this._editor=e,this._domElement=t,this._overlayWidgetId=`managedOverlayWidget-${hk._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}hk._counter=0;function Oh(s,e){return st(t=>{for(let[i,n]of Object.entries(e))n&&typeof n==\"object\"&&\"read\"in n&&(n=n.read(t)),typeof n==\"number\"&&(n=`${n}px`),i=i.replace(/[A-Z]/g,o=>\"-\"+o.toLowerCase()),s.style[i]=n})}function ta(s,e){return Zye([s],e),s}function Zye(s,e){ZO()&&os(\"reload\",i=>_K(({oldExports:n})=>{if([...Object.values(n)].some(o=>s.includes(o)))return o=>(i(void 0),!0)})).read(e)}function tL(s,e,t,i){const n=new Y,o=[];return n.add(Hr((r,a)=>{const l=e.read(r),d=new Map,c=new Map;t&&t(!0),s.changeViewZones(u=>{for(const h of o)u.removeZone(h),i==null||i.delete(h);o.length=0;for(const h of l){const g=u.addZone(h);h.setZoneId&&h.setZoneId(g),o.push(g),i==null||i.add(g),d.set(h,g)}}),t&&t(!1),a.add(I1({createEmptyChangeSummary(){return{zoneIds:[]}},handleChange(u,h){const g=c.get(u.changedObservable);return g!==void 0&&h.zoneIds.push(g),!0}},(u,h)=>{for(const g of l)g.onChange&&(c.set(g.onChange,d.get(g)),g.onChange.read(u));t&&t(!0),s.changeViewZones(g=>{for(const f of h.zoneIds)g.layoutZone(f)}),t&&t(!1)}))})),n.add({dispose(){t&&t(!0),s.changeViewZones(r=>{for(const a of o)r.removeZone(a)}),i==null||i.clear(),t&&t(!1)}}),n}class Xye extends Vi{dispose(){super.dispose(!0)}}function a7(s,e){const t=YS(e,n=>n.original.startLineNumber<=s.lineNumber);if(!t)return x.fromPositions(s);if(t.original.endLineNumberExclusive<=s.lineNumber){const n=s.lineNumber-t.original.endLineNumberExclusive+t.modified.endLineNumberExclusive;return x.fromPositions(new W(n,s.column))}if(!t.innerChanges)return x.fromPositions(new W(t.modified.startLineNumber,1));const i=YS(t.innerChanges,n=>n.originalRange.getStartPosition().isBeforeOrEqual(s));if(!i){const n=s.lineNumber-t.original.startLineNumber+t.modified.startLineNumber;return x.fromPositions(new W(n,s.column))}if(i.originalRange.containsPosition(s))return i.modifiedRange;{const n=Yye(i.originalRange.getEndPosition(),s);return x.fromPositions(n.addToPosition(i.modifiedRange.getEndPosition()))}}function Yye(s,e){return s.lineNumber===e.lineNumber?new Fs(0,e.column-s.column):new Fs(e.lineNumber-s.lineNumber,e.column-1)}function zd(s,e,t){const i=s.bindTo(e);return qx({debugName:()=>`Set Context Key \"${s.key}\"`},n=>{i.set(t(n))})}function Qye(s,e){let t;return s.filter(i=>{const n=e(i,t);return t=i,n})}var XO=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},YO=function(s,e){return function(t,i){e(t,i,s)}};const Jye=xi(\"diff-review-insert\",oe.add,p(\"accessibleDiffViewerInsertIcon\",\"Icon for 'Insert' in accessible diff viewer.\")),eSe=xi(\"diff-review-remove\",oe.remove,p(\"accessibleDiffViewerRemoveIcon\",\"Icon for 'Remove' in accessible diff viewer.\")),tSe=xi(\"diff-review-close\",oe.close,p(\"accessibleDiffViewerCloseIcon\",\"Icon for 'Close' in accessible diff viewer.\"));let Zu=class extends H{constructor(e,t,i,n,o,r,a,l,d){super(),this._parentNode=e,this._visible=t,this._setVisible=i,this._canClose=n,this._width=o,this._height=r,this._diffs=a,this._models=l,this._instantiationService=d,this._state=g0(this,(c,u)=>{const h=this._visible.read(c);if(this._parentNode.style.visibility=h?\"visible\":\"hidden\",!h)return null;const g=u.add(this._instantiationService.createInstance(uM,this._diffs,this._models,this._setVisible,this._canClose)),f=u.add(this._instantiationService.createInstance(hM,this._parentNode,g,this._width,this._height,this._models));return{model:g,view:f}}).recomputeInitiallyAndOnChange(this._store)}next(){$t(e=>{const t=this._visible.get();this._setVisible(!0,e),t&&this._state.get().model.nextGroup(e)})}prev(){$t(e=>{this._setVisible(!0,e),this._state.get().model.previousGroup(e)})}close(){$t(e=>{this._setVisible(!1,e)})}};Zu._ttPolicy=tu(\"diffReview\",{createHTML:s=>s});Zu=XO([YO(8,Ne)],Zu);let uM=class extends H{constructor(e,t,i,n,o){super(),this._diffs=e,this._models=t,this._setVisible=i,this.canClose=n,this._accessibilitySignalService=o,this._groups=vt(this,[]),this._currentGroupIdx=vt(this,0),this._currentElementIdx=vt(this,0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((r,a)=>this._groups.read(a)[r]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((r,a)=>{var l;return(l=this.currentGroup.read(a))===null||l===void 0?void 0:l.lines[r]}),this._register(st(r=>{const a=this._diffs.read(r);if(!a){this._groups.set([],void 0);return}const l=iSe(a,this._models.getOriginalModel().getLineCount(),this._models.getModifiedModel().getLineCount());$t(d=>{const c=this._models.getModifiedPosition();if(c){const u=l.findIndex(h=>(c==null?void 0:c.lineNumber)<h.range.modified.endLineNumberExclusive);u!==-1&&this._currentGroupIdx.set(u,d)}this._groups.set(l,d)})})),this._register(st(r=>{const a=this.currentElement.read(r);(a==null?void 0:a.type)===Is.Deleted?this._accessibilitySignalService.playSignal(Ke.diffLineDeleted,{source:\"accessibleDiffViewer.currentElementChanged\"}):(a==null?void 0:a.type)===Is.Added&&this._accessibilitySignalService.playSignal(Ke.diffLineInserted,{source:\"accessibleDiffViewer.currentElementChanged\"})})),this._register(st(r=>{var a;const l=this.currentElement.read(r);if(l&&l.type!==Is.Header){const d=(a=l.modifiedLineNumber)!==null&&a!==void 0?a:l.diff.modified.startLineNumber;this._models.modifiedSetSelection(x.fromPositions(new W(d,1)))}}))}_goToGroupDelta(e,t){const i=this.groups.get();!i||i.length<=1||hC(t,n=>{this._currentGroupIdx.set(et.ofLength(i.length).clipCyclic(this._currentGroupIdx.get()+e),n),this._currentElementIdx.set(0,n)})}nextGroup(e){this._goToGroupDelta(1,e)}previousGroup(e){this._goToGroupDelta(-1,e)}_goToLineDelta(e){const t=this.currentGroup.get();!t||t.lines.length<=1||$t(i=>{this._currentElementIdx.set(et.ofLength(t.lines.length).clip(this._currentElementIdx.get()+e),i)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(e){const t=this.currentGroup.get();if(!t)return;const i=t.lines.indexOf(e);i!==-1&&$t(n=>{this._currentElementIdx.set(i,n)})}revealCurrentElementInEditor(){if(!this.canClose.get())return;this._setVisible(!1,void 0);const e=this.currentElement.get();e&&(e.type===Is.Deleted?this._models.originalReveal(x.fromPositions(new W(e.originalLineNumber,1))):this._models.modifiedReveal(e.type!==Is.Header?x.fromPositions(new W(e.modifiedLineNumber,1)):void 0))}close(){this.canClose.get()&&(this._setVisible(!1,void 0),this._models.modifiedFocus())}};uM=XO([YO(4,rg)],uM);const Q0=3;function iSe(s,e,t){const i=[];for(const n of PP(s,(o,r)=>r.modified.startLineNumber-o.modified.endLineNumberExclusive<2*Q0)){const o=[];o.push(new sSe);const r=new Je(Math.max(1,n[0].original.startLineNumber-Q0),Math.min(n[n.length-1].original.endLineNumberExclusive+Q0,e+1)),a=new Je(Math.max(1,n[0].modified.startLineNumber-Q0),Math.min(n[n.length-1].modified.endLineNumberExclusive+Q0,t+1));DV(n,(c,u)=>{const h=new Je(c?c.original.endLineNumberExclusive:r.startLineNumber,u?u.original.startLineNumber:r.endLineNumberExclusive),g=new Je(c?c.modified.endLineNumberExclusive:a.startLineNumber,u?u.modified.startLineNumber:a.endLineNumberExclusive);h.forEach(f=>{o.push(new aSe(f,g.startLineNumber+(f-h.startLineNumber)))}),u&&(u.original.forEach(f=>{o.push(new oSe(u,f))}),u.modified.forEach(f=>{o.push(new rSe(u,f))}))});const l=n[0].modified.join(n[n.length-1].modified),d=n[0].original.join(n[n.length-1].original);i.push(new nSe(new Ns(l,d),o))}return i}var Is;(function(s){s[s.Header=0]=\"Header\",s[s.Unchanged=1]=\"Unchanged\",s[s.Deleted=2]=\"Deleted\",s[s.Added=3]=\"Added\"})(Is||(Is={}));class nSe{constructor(e,t){this.range=e,this.lines=t}}class sSe{constructor(){this.type=Is.Header}}class oSe{constructor(e,t){this.diff=e,this.originalLineNumber=t,this.type=Is.Deleted,this.modifiedLineNumber=void 0}}class rSe{constructor(e,t){this.diff=e,this.modifiedLineNumber=t,this.type=Is.Added,this.originalLineNumber=void 0}}class aSe{constructor(e,t){this.originalLineNumber=e,this.modifiedLineNumber=t,this.type=Is.Unchanged}}let hM=class extends H{constructor(e,t,i,n,o,r){super(),this._element=e,this._model=t,this._width=i,this._height=n,this._models=o,this._languageService=r,this.domNode=this._element,this.domNode.className=\"monaco-component diff-review monaco-editor-background\";const a=document.createElement(\"div\");a.className=\"diff-review-actions\",this._actionBar=this._register(new Vr(a)),this._register(st(l=>{this._actionBar.clear(),this._model.canClose.read(l)&&this._actionBar.push(new Eo(\"diffreview.close\",p(\"label.close\",\"Close\"),\"close-diff-review \"+Pe.asClassName(tSe),!0,async()=>t.close()),{label:!1,icon:!0})})),this._content=document.createElement(\"div\"),this._content.className=\"diff-review-content\",this._content.setAttribute(\"role\",\"code\"),this._scrollbar=this._register(new C1(this._content,{})),Yn(this.domNode,this._scrollbar.getDomNode(),a),this._register(st(l=>{this._height.read(l),this._width.read(l),this._scrollbar.scanDomNode()})),this._register(Ie(()=>{Yn(this.domNode)})),this._register(Oh(this.domNode,{width:this._width,height:this._height})),this._register(Oh(this._content,{width:this._width,height:this._height})),this._register(Hr((l,d)=>{this._model.currentGroup.read(l),this._render(d)})),this._register(Ni(this.domNode,\"keydown\",l=>{(l.equals(18)||l.equals(2066)||l.equals(530))&&(l.preventDefault(),this._model.goToNextLine()),(l.equals(16)||l.equals(2064)||l.equals(528))&&(l.preventDefault(),this._model.goToPreviousLine()),(l.equals(9)||l.equals(2057)||l.equals(521)||l.equals(1033))&&(l.preventDefault(),this._model.close()),(l.equals(10)||l.equals(3))&&(l.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(e){const t=this._models.getOriginalOptions(),i=this._models.getModifiedOptions(),n=document.createElement(\"div\");n.className=\"diff-review-table\",n.setAttribute(\"role\",\"list\"),n.setAttribute(\"aria-label\",p(\"ariaLabel\",\"Accessible Diff Viewer. Use arrow up and down to navigate.\")),Un(n,i.get(50)),Yn(this._content,n);const o=this._models.getOriginalModel(),r=this._models.getModifiedModel();if(!o||!r)return;const a=o.getOptions(),l=r.getOptions(),d=i.get(67),c=this._model.currentGroup.get();for(const u of(c==null?void 0:c.lines)||[]){if(!c)break;let h;if(u.type===Is.Header){const f=document.createElement(\"div\");f.className=\"diff-review-row\",f.setAttribute(\"role\",\"listitem\");const m=c.range,_=this._model.currentGroupIndex.get(),v=this._model.groups.get().length,b=D=>D===0?p(\"no_lines_changed\",\"no lines changed\"):D===1?p(\"one_line_changed\",\"1 line changed\"):p(\"more_lines_changed\",\"{0} lines changed\",D),C=b(m.original.length),w=b(m.modified.length);f.setAttribute(\"aria-label\",p({},\"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}\",_+1,v,m.original.startLineNumber,C,m.modified.startLineNumber,w));const y=document.createElement(\"div\");y.className=\"diff-review-cell diff-review-summary\",y.appendChild(document.createTextNode(`${_+1}/${v}: @@ -${m.original.startLineNumber},${m.original.length} +${m.modified.startLineNumber},${m.modified.length} @@`)),f.appendChild(y),h=f}else h=this._createRow(u,d,this._width.get(),t,o,a,i,r,l);n.appendChild(h);const g=je(f=>this._model.currentElement.read(f)===u);e.add(st(f=>{const m=g.read(f);h.tabIndex=m?0:-1,m&&h.focus()})),e.add(K(h,\"focus\",()=>{this._model.goToLine(u)}))}this._scrollbar.scanDomNode()}_createRow(e,t,i,n,o,r,a,l,d){const c=n.get(145),u=c.glyphMarginWidth+c.lineNumbersWidth,h=a.get(145),g=10+h.glyphMarginWidth+h.lineNumbersWidth;let f=\"diff-review-row\",m=\"\";const _=\"diff-review-spacer\";let v=null;switch(e.type){case Is.Added:f=\"diff-review-row line-insert\",m=\" char-insert\",v=Jye;break;case Is.Deleted:f=\"diff-review-row line-delete\",m=\" char-delete\",v=eSe;break}const b=document.createElement(\"div\");b.style.minWidth=i+\"px\",b.className=f,b.setAttribute(\"role\",\"listitem\"),b.ariaLevel=\"\";const C=document.createElement(\"div\");C.className=\"diff-review-cell\",C.style.height=`${t}px`,b.appendChild(C);const w=document.createElement(\"span\");w.style.width=u+\"px\",w.style.minWidth=u+\"px\",w.className=\"diff-review-line-number\"+m,e.originalLineNumber!==void 0?w.appendChild(document.createTextNode(String(e.originalLineNumber))):w.innerText=\" \",C.appendChild(w);const y=document.createElement(\"span\");y.style.width=g+\"px\",y.style.minWidth=g+\"px\",y.style.paddingRight=\"10px\",y.className=\"diff-review-line-number\"+m,e.modifiedLineNumber!==void 0?y.appendChild(document.createTextNode(String(e.modifiedLineNumber))):y.innerText=\" \",C.appendChild(y);const D=document.createElement(\"span\");if(D.className=_,v){const I=document.createElement(\"span\");I.className=Pe.asClassName(v),I.innerText=\"  \",D.appendChild(I)}else D.innerText=\"  \";C.appendChild(D);let L;if(e.modifiedLineNumber!==void 0){let I=this._getLineHtml(l,a,d.tabSize,e.modifiedLineNumber,this._languageService.languageIdCodec);Zu._ttPolicy&&(I=Zu._ttPolicy.createHTML(I)),C.insertAdjacentHTML(\"beforeend\",I),L=l.getLineContent(e.modifiedLineNumber)}else{let I=this._getLineHtml(o,n,r.tabSize,e.originalLineNumber,this._languageService.languageIdCodec);Zu._ttPolicy&&(I=Zu._ttPolicy.createHTML(I)),C.insertAdjacentHTML(\"beforeend\",I),L=o.getLineContent(e.originalLineNumber)}L.length===0&&(L=p(\"blankLine\",\"blank\"));let k=\"\";switch(e.type){case Is.Unchanged:e.originalLineNumber===e.modifiedLineNumber?k=p({},\"{0} unchanged line {1}\",L,e.originalLineNumber):k=p(\"equalLine\",\"{0} original line {1} modified line {2}\",L,e.originalLineNumber,e.modifiedLineNumber);break;case Is.Added:k=p(\"insertLine\",\"+ {0} modified line {1}\",L,e.modifiedLineNumber);break;case Is.Deleted:k=p(\"deleteLine\",\"- {0} original line {1}\",L,e.originalLineNumber);break}return b.setAttribute(\"aria-label\",k),b}_getLineHtml(e,t,i,n,o){const r=e.getLineContent(n),a=t.get(50),l=wn.createEmpty(r,o),d=lr.isBasicASCII(r,e.mightContainNonBasicASCII()),c=lr.containsRTL(r,d,e.mightContainRTL());return bx(new tg(a.isMonospace&&!t.get(33),a.canUseHalfwidthRightwardsArrow,r,!1,d,c,0,l,[],i,0,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,t.get(117),t.get(99),t.get(94),t.get(51)!==Zo.OFF,null)).html}};hM=XO([YO(5,vi)],hM);class lSe{constructor(e){this.editors=e}getOriginalModel(){return this.editors.original.getModel()}getOriginalOptions(){return this.editors.original.getOptions()}originalReveal(e){this.editors.original.revealRange(e),this.editors.original.setSelection(e),this.editors.original.focus()}getModifiedModel(){return this.editors.modified.getModel()}getModifiedOptions(){return this.editors.modified.getOptions()}modifiedReveal(e){e&&(this.editors.modified.revealRange(e),this.editors.modified.setSelection(e)),this.editors.modified.focus()}modifiedSetSelection(e){this.editors.modified.setSelection(e)}modifiedFocus(){this.editors.modified.focus()}getModifiedPosition(){var e;return(e=this.editors.modified.getPosition())!==null&&e!==void 0?e:void 0}}class hh extends H{constructor(e,t,i,n,o){super(),this._rootElement=e,this._diffModel=t,this._originalEditorLayoutInfo=i,this._modifiedEditorLayoutInfo=n,this._editors=o,this._originalScrollTop=Ot(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=Ot(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=os(\"onDidChangeViewZones\",this._editors.modified.onDidChangeViewZones),this.width=vt(this,0),this._modifiedViewZonesChangedSignal=os(\"modified.onDidChangeViewZones\",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=os(\"original.onDidChangeViewZones\",this._editors.original.onDidChangeViewZones),this._state=g0(this,(c,u)=>{var h;this._element.replaceChildren();const g=this._diffModel.read(c),f=(h=g==null?void 0:g.diff.read(c))===null||h===void 0?void 0:h.movedTexts;if(!f||f.length===0){this.width.set(0,void 0);return}this._viewZonesChanged.read(c);const m=this._originalEditorLayoutInfo.read(c),_=this._modifiedEditorLayoutInfo.read(c);if(!m||!_){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(c),this._originalViewZonesChangedSignal.read(c);const v=f.map(k=>{function I(De,ge){const We=ge.getTopForLineNumber(De.startLineNumber,!0),ye=ge.getTopForLineNumber(De.endLineNumberExclusive,!0);return(We+ye)/2}const O=I(k.lineRangeMapping.original,this._editors.original),R=this._originalScrollTop.read(c),P=I(k.lineRangeMapping.modified,this._editors.modified),F=this._modifiedScrollTop.read(c),V=O-R,U=P-F,J=Math.min(O,P),pe=Math.max(O,P);return{range:new et(J,pe),from:V,to:U,fromWithoutScroll:O,toWithoutScroll:P,move:k}});v.sort(xse(ao(k=>k.fromWithoutScroll>k.toWithoutScroll,kse),ao(k=>k.fromWithoutScroll>k.toWithoutScroll?k.fromWithoutScroll:-k.toWithoutScroll,ua)));const b=QO.compute(v.map(k=>k.range)),C=10,w=m.verticalScrollbarWidth,y=(b.getTrackCount()-1)*10+C*2,D=w+y+(_.contentLeft-hh.movedCodeBlockPadding);let L=0;for(const k of v){const I=b.getTrack(L),O=w+C+I*10,R=15,P=15,F=D,V=_.glyphMarginWidth+_.lineNumbersWidth,U=18,J=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");J.classList.add(\"arrow-rectangle\"),J.setAttribute(\"x\",`${F-V}`),J.setAttribute(\"y\",`${k.to-U/2}`),J.setAttribute(\"width\",`${V}`),J.setAttribute(\"height\",`${U}`),this._element.appendChild(J);const pe=document.createElementNS(\"http://www.w3.org/2000/svg\",\"g\"),De=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");De.setAttribute(\"d\",`M 0 ${k.from} L ${O} ${k.from} L ${O} ${k.to} L ${F-P} ${k.to}`),De.setAttribute(\"fill\",\"none\"),pe.appendChild(De);const ge=document.createElementNS(\"http://www.w3.org/2000/svg\",\"polygon\");ge.classList.add(\"arrow\"),u.add(st(We=>{De.classList.toggle(\"currentMove\",k.move===g.activeMovedText.read(We)),ge.classList.toggle(\"currentMove\",k.move===g.activeMovedText.read(We))})),ge.setAttribute(\"points\",`${F-P},${k.to-R/2} ${F},${k.to} ${F-P},${k.to+R/2}`),pe.appendChild(ge),this._element.appendChild(pe),L++}this.width.set(y,void 0)}),this._element=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\"),this._element.setAttribute(\"class\",\"moved-blocks-lines\"),this._rootElement.appendChild(this._element),this._register(Ie(()=>this._element.remove())),this._register(st(c=>{const u=this._originalEditorLayoutInfo.read(c),h=this._modifiedEditorLayoutInfo.read(c);!u||!h||(this._element.style.left=`${u.width-u.verticalScrollbarWidth}px`,this._element.style.height=`${u.height}px`,this._element.style.width=`${u.verticalScrollbarWidth+u.contentLeft-hh.movedCodeBlockPadding+this.width.read(c)}px`)})),this._register(T1(this._state));const r=je(c=>{const u=this._diffModel.read(c),h=u==null?void 0:u.diff.read(c);return h?h.movedTexts.map(g=>({move:g,original:new eL(Ga(g.lineRangeMapping.original.startLineNumber-1),18),modified:new eL(Ga(g.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register(tL(this._editors.original,r.map(c=>c.map(u=>u.original)))),this._register(tL(this._editors.modified,r.map(c=>c.map(u=>u.modified)))),this._register(Hr((c,u)=>{const h=r.read(c);for(const g of h)u.add(new l7(this._editors.original,g.original,g.move,\"original\",this._diffModel.get())),u.add(new l7(this._editors.modified,g.modified,g.move,\"modified\",this._diffModel.get()))}));const a=os(\"original.onDidFocusEditorWidget\",c=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>c(void 0),0))),l=os(\"modified.onDidFocusEditorWidget\",c=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>c(void 0),0)));let d=\"modified\";this._register(I1({createEmptyChangeSummary:()=>{},handleChange:(c,u)=>(c.didChange(a)&&(d=\"original\"),c.didChange(l)&&(d=\"modified\"),!0)},c=>{a.read(c),l.read(c);const u=this._diffModel.read(c);if(!u)return;const h=u.diff.read(c);let g;if(h&&d===\"original\"){const f=this._editors.originalCursor.read(c);f&&(g=h.movedTexts.find(m=>m.lineRangeMapping.original.contains(f.lineNumber)))}if(h&&d===\"modified\"){const f=this._editors.modifiedCursor.read(c);f&&(g=h.movedTexts.find(m=>m.lineRangeMapping.modified.contains(f.lineNumber)))}g!==u.movedTextToCompare.get()&&u.movedTextToCompare.set(void 0,void 0),u.setActiveMovedText(g)}))}}hh.movedCodeBlockPadding=4;class QO{static compute(e){const t=[],i=[];for(const n of e){let o=t.findIndex(r=>!r.intersectsStrict(n));o===-1&&(t.length>=6?o=tce(t,ao(a=>a.intersectWithRangeLength(n),ua)):(o=t.length,t.push(new CF))),t[o].addRange(n),i.push(o)}return new QO(t.length,i)}constructor(e,t){this._trackCount=e,this.trackPerLineIdx=t}getTrack(e){return this.trackPerLineIdx[e]}getTrackCount(){return this._trackCount}}class l7 extends bK{constructor(e,t,i,n,o){const r=Nt(\"div.diff-hidden-lines-widget\");super(e,t,r.root),this._editor=e,this._move=i,this._kind=n,this._diffModel=o,this._nodes=Nt(\"div.diff-moved-code-block\",{style:{marginRight:\"4px\"}},[Nt(\"div.text-content@textContent\"),Nt(\"div.action-bar@actionBar\")]),r.root.appendChild(this._nodes.root);const a=Ot(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register(Oh(this._nodes.root,{paddingRight:a.map(h=>h.verticalScrollbarWidth)}));let l;i.changes.length>0?l=this._kind===\"original\"?p(\"codeMovedToWithChanges\",\"Code moved with changes to line {0}-{1}\",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):p(\"codeMovedFromWithChanges\",\"Code moved with changes from line {0}-{1}\",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1):l=this._kind===\"original\"?p(\"codeMovedTo\",\"Code moved to line {0}-{1}\",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):p(\"codeMovedFrom\",\"Code moved from line {0}-{1}\",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1);const d=this._register(new Vr(this._nodes.actionBar,{highlightToggledItems:!0})),c=new Eo(\"\",l,\"\",!1);d.push(c,{icon:!1,label:!0});const u=new Eo(\"\",\"Compare\",Pe.asClassName(oe.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===i?void 0:this._move,void 0)});this._register(st(h=>{const g=this._diffModel.movedTextToCompare.read(h)===i;u.checked=g})),d.push(u,{icon:!1,label:!0})}}N(\"diffEditor.move.border\",{dark:\"#8b8b8b9c\",light:\"#8b8b8b9c\",hcDark:\"#8b8b8b9c\",hcLight:\"#8b8b8b9c\"},p(\"diffEditor.move.border\",\"The border color for text that got moved in the diff editor.\"));N(\"diffEditor.moveActive.border\",{dark:\"#FFA500\",light:\"#FFA500\",hcDark:\"#FFA500\",hcLight:\"#FFA500\"},p(\"diffEditor.moveActive.border\",\"The active border color for text that got moved in the diff editor.\"));N(\"diffEditor.unchangedRegionShadow\",{dark:\"#000000\",light:\"#737373BF\",hcDark:\"#000000\",hcLight:\"#737373BF\"},p(\"diffEditor.unchangedRegionShadow\",\"The color of the shadow around unchanged region widgets.\"));const dSe=xi(\"diff-insert\",oe.add,p(\"diffInsertIcon\",\"Line decoration for inserts in the diff editor.\")),CK=xi(\"diff-remove\",oe.remove,p(\"diffRemoveIcon\",\"Line decoration for removals in the diff editor.\")),d7=Ye.register({className:\"line-insert\",description:\"line-insert\",isWholeLine:!0,linesDecorationsClassName:\"insert-sign \"+Pe.asClassName(dSe),marginClassName:\"gutter-insert\"}),c7=Ye.register({className:\"line-delete\",description:\"line-delete\",isWholeLine:!0,linesDecorationsClassName:\"delete-sign \"+Pe.asClassName(CK),marginClassName:\"gutter-delete\"}),u7=Ye.register({className:\"line-insert\",description:\"line-insert\",isWholeLine:!0,marginClassName:\"gutter-insert\"}),h7=Ye.register({className:\"line-delete\",description:\"line-delete\",isWholeLine:!0,marginClassName:\"gutter-delete\"}),g7=Ye.register({className:\"char-insert\",description:\"char-insert\",shouldFillLineOnLineBreak:!0}),cSe=Ye.register({className:\"char-insert\",description:\"char-insert\",isWholeLine:!0}),uSe=Ye.register({className:\"char-insert diff-range-empty\",description:\"char-insert diff-range-empty\"}),gM=Ye.register({className:\"char-delete\",description:\"char-delete\",shouldFillLineOnLineBreak:!0}),hSe=Ye.register({className:\"char-delete\",description:\"char-delete\",isWholeLine:!0}),gSe=Ye.register({className:\"char-delete diff-range-empty\",description:\"char-delete diff-range-empty\"});class fSe extends H{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._decorations=je(this,o=>{var r;const a=(r=this._diffModel.read(o))===null||r===void 0?void 0:r.diff.read(o);if(!a)return null;const l=this._diffModel.read(o).movedTextToCompare.read(o),d=this._options.renderIndicators.read(o),c=this._options.showEmptyDecorations.read(o),u=[],h=[];if(!l)for(const f of a.mappings)if(f.lineRangeMapping.original.isEmpty||u.push({range:f.lineRangeMapping.original.toInclusiveRange(),options:d?c7:h7}),f.lineRangeMapping.modified.isEmpty||h.push({range:f.lineRangeMapping.modified.toInclusiveRange(),options:d?d7:u7}),f.lineRangeMapping.modified.isEmpty||f.lineRangeMapping.original.isEmpty)f.lineRangeMapping.original.isEmpty||u.push({range:f.lineRangeMapping.original.toInclusiveRange(),options:hSe}),f.lineRangeMapping.modified.isEmpty||h.push({range:f.lineRangeMapping.modified.toInclusiveRange(),options:cSe});else for(const m of f.lineRangeMapping.innerChanges||[])f.lineRangeMapping.original.contains(m.originalRange.startLineNumber)&&u.push({range:m.originalRange,options:m.originalRange.isEmpty()&&c?gSe:gM}),f.lineRangeMapping.modified.contains(m.modifiedRange.startLineNumber)&&h.push({range:m.modifiedRange,options:m.modifiedRange.isEmpty()&&c?uSe:g7});if(l)for(const f of l.changes){const m=f.original.toInclusiveRange();m&&u.push({range:m,options:d?c7:h7});const _=f.modified.toInclusiveRange();_&&h.push({range:_,options:d?d7:u7});for(const v of f.innerChanges||[])u.push({range:v.originalRange,options:gM}),h.push({range:v.modifiedRange,options:g7})}const g=this._diffModel.read(o).activeMovedText.read(o);for(const f of a.movedTexts)u.push({range:f.lineRangeMapping.original.toInclusiveRange(),options:{description:\"moved\",blockClassName:\"movedOriginal\"+(f===g?\" currentMove\":\"\"),blockPadding:[hh.movedCodeBlockPadding,0,hh.movedCodeBlockPadding,hh.movedCodeBlockPadding]}}),h.push({range:f.lineRangeMapping.modified.toInclusiveRange(),options:{description:\"moved\",blockClassName:\"movedModified\"+(f===g?\" currentMove\":\"\"),blockPadding:[4,0,4,4]}});return{originalDecorations:u,modifiedDecorations:h}}),this._register(JD(this._editors.original,this._decorations.map(o=>(o==null?void 0:o.originalDecorations)||[]))),this._register(JD(this._editors.modified,this._decorations.map(o=>(o==null?void 0:o.modifiedDecorations)||[])))}}class pSe extends H{constructor(e,t,i,n){super(),this._options=e,this._domNode=t,this._dimensions=i,this._sashes=n,this._sashRatio=vt(this,void 0),this.sashLeft=je(this,o=>{var r;const a=(r=this._sashRatio.read(o))!==null&&r!==void 0?r:this._options.splitViewDefaultRatio.read(o);return this._computeSashLeft(a,o)}),this._sash=this._register(new is(this._domNode,{getVerticalSashTop:o=>0,getVerticalSashLeft:o=>this.sashLeft.get(),getVerticalSashHeight:o=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(o=>{const r=this._dimensions.width.get(),a=this._computeSashLeft((this._startSashPosition+(o.currentX-o.startX))/r,void 0);this._sashRatio.set(a/r,void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._sashRatio.set(void 0,void 0))),this._register(st(o=>{const r=this._sashes.read(o);r&&(this._sash.orthogonalEndSash=r.bottom)})),this._register(st(o=>{const r=this._options.enableSplitViewResizing.read(o);this._sash.state=r?3:0,this.sashLeft.read(o),this._dimensions.height.read(o),this._sash.layout()}))}_computeSashLeft(e,t){const i=this._dimensions.width.read(t),n=Math.floor(this._options.splitViewDefaultRatio.read(t)*i),o=this._options.enableSplitViewResizing.read(t)?Math.floor(e*i):n,r=100;return i<=r*2?n:o<r?r:o>i-r?i-r:o}}var wK=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},fM=function(s,e){return function(t,i){e(t,i,s)}},Ag;const yK=ut(\"diffProviderFactoryService\");let pM=class{constructor(e){this.instantiationService=e}createDiffProvider(e){return this.instantiationService.createInstance(iL,e)}};pM=wK([fM(0,Ne)],pM);mt(yK,pM,1);let iL=Ag=class{constructor(e,t,i){this.editorWorkerService=t,this.telemetryService=i,this.onDidChangeEventEmitter=new B,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm=\"advanced\",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(e)}dispose(){var e;(e=this.diffAlgorithmOnDidChangeSubscription)===null||e===void 0||e.dispose()}async computeDiff(e,t,i,n){var o,r;if(typeof this.diffAlgorithm!=\"string\")return this.diffAlgorithm.computeDiff(e,t,i,n);if(e.isDisposed()||t.isDisposed())return{changes:[],identical:!0,quitEarly:!1,moves:[]};if(e.getLineCount()===1&&e.getLineMaxColumn(1)===1)return t.getLineCount()===1&&t.getLineMaxColumn(1)===1?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new nr(new Je(1,2),new Je(1,t.getLineCount()+1),[new Qa(e.getFullModelRange(),t.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};const a=JSON.stringify([e.uri.toString(),t.uri.toString()]),l=JSON.stringify([e.id,t.id,e.getAlternativeVersionId(),t.getAlternativeVersionId(),JSON.stringify(i)]),d=Ag.diffCache.get(a);if(d&&d.context===l)return d.result;const c=Jn.create(),u=await this.editorWorkerService.computeDiff(e.uri,t.uri,i,this.diffAlgorithm),h=c.elapsed();if(this.telemetryService.publicLog2(\"diffEditor.computeDiff\",{timeMs:h,timedOut:(o=u==null?void 0:u.quitEarly)!==null&&o!==void 0?o:!0,detectedMoves:i.computeMoves?(r=u==null?void 0:u.moves.length)!==null&&r!==void 0?r:0:-1}),n.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!u)throw new Error(\"no diff result available\");return Ag.diffCache.size>10&&Ag.diffCache.delete(Ag.diffCache.keys().next().value),Ag.diffCache.set(a,{result:u,context:l}),u}setOptions(e){var t;let i=!1;e.diffAlgorithm&&this.diffAlgorithm!==e.diffAlgorithm&&((t=this.diffAlgorithmOnDidChangeSubscription)===null||t===void 0||t.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=e.diffAlgorithm,typeof e.diffAlgorithm!=\"string\"&&(this.diffAlgorithmOnDidChangeSubscription=e.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),i=!0),i&&this.onDidChangeEventEmitter.fire()}};iL.diffCache=new Map;iL=Ag=wK([fM(1,jr),fM(2,Gs)],iL);var mSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},_Se=function(s,e){return function(t,i){e(t,i,s)}};let mM=class extends H{setActiveMovedText(e){this._activeMovedText.set(e,void 0)}constructor(e,t,i){super(),this.model=e,this._options=t,this._diffProviderFactoryService=i,this._isDiffUpToDate=vt(this,!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=vt(this,void 0),this.diff=this._diff,this._unchangedRegions=vt(this,void 0),this.unchangedRegions=je(this,a=>{var l,d;return this._options.hideUnchangedRegions.read(a)?(d=(l=this._unchangedRegions.read(a))===null||l===void 0?void 0:l.regions)!==null&&d!==void 0?d:[]:($t(c=>{var u;for(const h of((u=this._unchangedRegions.get())===null||u===void 0?void 0:u.regions)||[])h.collapseAll(c)}),[])}),this.movedTextToCompare=vt(this,void 0),this._activeMovedText=vt(this,void 0),this._hoveredMovedText=vt(this,void 0),this.activeMovedText=je(this,a=>{var l,d;return(d=(l=this.movedTextToCompare.read(a))!==null&&l!==void 0?l:this._hoveredMovedText.read(a))!==null&&d!==void 0?d:this._activeMovedText.read(a)}),this._cancellationTokenSource=new Vi,this._diffProvider=je(this,a=>{const l=this._diffProviderFactoryService.createDiffProvider({diffAlgorithm:this._options.diffAlgorithm.read(a)}),d=os(\"onDidChange\",l.onDidChange);return{diffProvider:l,onChangeSignal:d}}),this._register(Ie(()=>this._cancellationTokenSource.cancel()));const n=Zx(\"contentChangedSignal\"),o=this._register(new Wt(()=>n.trigger(void 0),200));this._register(st(a=>{const l=this._unchangedRegions.read(a);if(!l||l.regions.some(f=>f.isDragged.read(a)))return;const d=l.originalDecorationIds.map(f=>e.original.getDecorationRange(f)).map(f=>f?Je.fromRangeInclusive(f):void 0),c=l.modifiedDecorationIds.map(f=>e.modified.getDecorationRange(f)).map(f=>f?Je.fromRangeInclusive(f):void 0),u=l.regions.map((f,m)=>!d[m]||!c[m]?void 0:new Xu(d[m].startLineNumber,c[m].startLineNumber,d[m].length,f.visibleLineCountTop.read(a),f.visibleLineCountBottom.read(a))).filter(rd),h=[];let g=!1;for(const f of PP(u,(m,_)=>m.getHiddenModifiedRange(a).endLineNumberExclusive===_.getHiddenModifiedRange(a).startLineNumber))if(f.length>1){g=!0;const m=f.reduce((v,b)=>v+b.lineCount,0),_=new Xu(f[0].originalLineNumber,f[0].modifiedLineNumber,m,f[0].visibleLineCountTop.get(),f[f.length-1].visibleLineCountBottom.get());h.push(_)}else h.push(f[0]);if(g){const f=e.original.deltaDecorations(l.originalDecorationIds,h.map(_=>({range:_.originalUnchangedRange.toInclusiveRange(),options:{description:\"unchanged\"}}))),m=e.modified.deltaDecorations(l.modifiedDecorationIds,h.map(_=>({range:_.modifiedUnchangedRange.toInclusiveRange(),options:{description:\"unchanged\"}})));$t(_=>{this._unchangedRegions.set({regions:h,originalDecorationIds:f,modifiedDecorationIds:m},_)})}}));const r=(a,l,d)=>{const c=Xu.fromDiffs(a.changes,e.original.getLineCount(),e.modified.getLineCount(),this._options.hideUnchangedRegionsMinimumLineCount.read(d),this._options.hideUnchangedRegionsContextLineCount.read(d));let u;const h=this._unchangedRegions.get();if(h){const _=h.originalDecorationIds.map(w=>e.original.getDecorationRange(w)).map(w=>w?Je.fromRangeInclusive(w):void 0),v=h.modifiedDecorationIds.map(w=>e.modified.getDecorationRange(w)).map(w=>w?Je.fromRangeInclusive(w):void 0);let C=Qye(h.regions.map((w,y)=>{if(!_[y]||!v[y])return;const D=_[y].length;return new Xu(_[y].startLineNumber,v[y].startLineNumber,D,Math.min(w.visibleLineCountTop.get(),D),Math.min(w.visibleLineCountBottom.get(),D-w.visibleLineCountTop.get()))}).filter(rd),(w,y)=>!y||w.modifiedLineNumber>=y.modifiedLineNumber+y.lineCount&&w.originalLineNumber>=y.originalLineNumber+y.lineCount).map(w=>new Ns(w.getHiddenOriginalRange(d),w.getHiddenModifiedRange(d)));C=Ns.clip(C,Je.ofLength(1,e.original.getLineCount()),Je.ofLength(1,e.modified.getLineCount())),u=Ns.inverse(C,e.original.getLineCount(),e.modified.getLineCount())}const g=[];if(u)for(const _ of c){const v=u.filter(b=>b.original.intersectsStrict(_.originalUnchangedRange)&&b.modified.intersectsStrict(_.modifiedUnchangedRange));g.push(..._.setVisibleRanges(v,l))}else g.push(...c);const f=e.original.deltaDecorations((h==null?void 0:h.originalDecorationIds)||[],g.map(_=>({range:_.originalUnchangedRange.toInclusiveRange(),options:{description:\"unchanged\"}}))),m=e.modified.deltaDecorations((h==null?void 0:h.modifiedDecorationIds)||[],g.map(_=>({range:_.modifiedUnchangedRange.toInclusiveRange(),options:{description:\"unchanged\"}})));this._unchangedRegions.set({regions:g,originalDecorationIds:f,modifiedDecorationIds:m},l)};this._register(e.modified.onDidChangeContent(a=>{if(this._diff.get()){const d=Dc.fromModelContentChanges(a.changes);this._lastDiff,e.original,e.modified}this._isDiffUpToDate.set(!1,void 0),o.schedule()})),this._register(e.original.onDidChangeContent(a=>{if(this._diff.get()){const d=Dc.fromModelContentChanges(a.changes);this._lastDiff,e.original,e.modified}this._isDiffUpToDate.set(!1,void 0),o.schedule()})),this._register(Hr(async(a,l)=>{var d,c;this._options.hideUnchangedRegionsMinimumLineCount.read(a),this._options.hideUnchangedRegionsContextLineCount.read(a),o.cancel(),n.read(a);const u=this._diffProvider.read(a);u.onChangeSignal.read(a),ta(hU,a),ta(bA,a),this._isDiffUpToDate.set(!1,void 0);let h=[];l.add(e.original.onDidChangeContent(m=>{const _=Dc.fromModelContentChanges(m.changes);h=uD(h,_)}));let g=[];l.add(e.modified.onDidChangeContent(m=>{const _=Dc.fromModelContentChanges(m.changes);g=uD(g,_)}));let f=await u.diffProvider.computeDiff(e.original,e.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(a),maxComputationTimeMs:this._options.maxComputationTimeMs.read(a),computeMoves:this._options.showMoves.read(a)},this._cancellationTokenSource.token);this._cancellationTokenSource.token.isCancellationRequested||e.original.isDisposed()||e.modified.isDisposed()||(f=vSe(f,e.original,e.modified),f=(d=(e.original,e.modified,void 0))!==null&&d!==void 0?d:f,f=(c=(e.original,e.modified,void 0))!==null&&c!==void 0?c:f,$t(m=>{r(f,m),this._lastDiff=f;const _=JO.fromDiffResult(f);this._diff.set(_,m),this._isDiffUpToDate.set(!0,m);const v=this.movedTextToCompare.get();this.movedTextToCompare.set(v?this._lastDiff.moves.find(b=>b.lineRangeMapping.modified.intersect(v.lineRangeMapping.modified)):void 0,m)}))}))}ensureModifiedLineIsVisible(e,t,i){var n,o;if(((n=this.diff.get())===null||n===void 0?void 0:n.mappings.length)===0)return;const r=((o=this._unchangedRegions.get())===null||o===void 0?void 0:o.regions)||[];for(const a of r)if(a.getHiddenModifiedRange(void 0).contains(e)){a.showModifiedLine(e,t,i);return}}ensureOriginalLineIsVisible(e,t,i){var n,o;if(((n=this.diff.get())===null||n===void 0?void 0:n.mappings.length)===0)return;const r=((o=this._unchangedRegions.get())===null||o===void 0?void 0:o.regions)||[];for(const a of r)if(a.getHiddenOriginalRange(void 0).contains(e)){a.showOriginalLine(e,t,i);return}}async waitForDiff(){await _j(this.isDiffUpToDate,e=>e)}serializeState(){const e=this._unchangedRegions.get();return{collapsedRegions:e==null?void 0:e.regions.map(t=>({range:t.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(e){var t;const i=(t=e.collapsedRegions)===null||t===void 0?void 0:t.map(o=>Je.deserialize(o.range)),n=this._unchangedRegions.get();!n||!i||$t(o=>{for(const r of n.regions)for(const a of i)if(r.modifiedUnchangedRange.intersect(a)){r.setHiddenModifiedRange(a,o);break}})}};mM=mSe([_Se(2,yK)],mM);function vSe(s,e,t){return{changes:s.changes.map(i=>new nr(i.original,i.modified,i.innerChanges?i.innerChanges.map(n=>bSe(n,e,t)):void 0)),moves:s.moves,identical:s.identical,quitEarly:s.quitEarly}}function bSe(s,e,t){let i=s.originalRange,n=s.modifiedRange;return(i.endColumn!==1||n.endColumn!==1)&&i.endColumn===e.getLineMaxColumn(i.endLineNumber)&&n.endColumn===t.getLineMaxColumn(n.endLineNumber)&&i.endLineNumber<e.getLineCount()&&n.endLineNumber<t.getLineCount()&&(i=i.setEndPosition(i.endLineNumber+1,1),n=n.setEndPosition(n.endLineNumber+1,1)),new Qa(i,n)}class JO{static fromDiffResult(e){return new JO(e.changes.map(t=>new SK(t)),e.moves||[],e.identical,e.quitEarly)}constructor(e,t,i,n){this.mappings=e,this.movedTexts=t,this.identical=i,this.quitEarly=n}}class SK{constructor(e){this.lineRangeMapping=e}}class Xu{static fromDiffs(e,t,i,n,o){const r=nr.inverse(e,t,i),a=[];for(const l of r){let d=l.original.startLineNumber,c=l.modified.startLineNumber,u=l.original.length;const h=d===1&&c===1,g=d+u===t+1&&c+u===i+1;(h||g)&&u>=o+n?(h&&!g&&(u-=o),g&&!h&&(d+=o,c+=o,u-=o),a.push(new Xu(d,c,u,0,0))):u>=o*2+n&&(d+=o,c+=o,u-=o*2,a.push(new Xu(d,c,u,0,0)))}return a}get originalUnchangedRange(){return Je.ofLength(this.originalLineNumber,this.lineCount)}get modifiedUnchangedRange(){return Je.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(e,t,i,n,o){this.originalLineNumber=e,this.modifiedLineNumber=t,this.lineCount=i,this._visibleLineCountTop=vt(this,0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=vt(this,0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=je(this,l=>this.visibleLineCountTop.read(l)+this.visibleLineCountBottom.read(l)===this.lineCount&&!this.isDragged.read(l)),this.isDragged=vt(this,void 0);const r=Math.max(Math.min(n,this.lineCount),0),a=Math.max(Math.min(o,this.lineCount-n),0);x3(n===r),x3(o===a),this._visibleLineCountTop.set(r,void 0),this._visibleLineCountBottom.set(a,void 0)}setVisibleRanges(e,t){const i=[],n=new Lr(e.map(l=>l.modified)).subtractFrom(this.modifiedUnchangedRange);let o=this.originalLineNumber,r=this.modifiedLineNumber;const a=this.modifiedLineNumber+this.lineCount;if(n.ranges.length===0)this.showAll(t),i.push(this);else{let l=0;for(const d of n.ranges){const c=l===n.ranges.length-1;l++;const u=(c?a:d.endLineNumberExclusive)-r,h=new Xu(o,r,u,0,0);h.setHiddenModifiedRange(d,t),i.push(h),o=h.originalUnchangedRange.endLineNumberExclusive,r=h.modifiedUnchangedRange.endLineNumberExclusive}}return i}shouldHideControls(e){return this._shouldHideControls.read(e)}getHiddenOriginalRange(e){return Je.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}getHiddenModifiedRange(e){return Je.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}setHiddenModifiedRange(e,t){const i=e.startLineNumber-this.modifiedLineNumber,n=this.modifiedLineNumber+this.lineCount-e.endLineNumberExclusive;this.setState(i,n,t)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(e=10,t){const i=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+e,i),t)}showMoreBelow(e=10,t){const i=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+e,i),t)}showAll(e){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),e)}showModifiedLine(e,t,i){const n=e+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),o=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-e;t===0&&n<o||t===1?this._visibleLineCountTop.set(this._visibleLineCountTop.get()+n,i):this._visibleLineCountBottom.set(this._visibleLineCountBottom.get()+o,i)}showOriginalLine(e,t,i){const n=e-this.originalLineNumber,o=this.originalLineNumber+this.lineCount-e;t===0&&n<o||t===1?this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+o-n,this.getMaxVisibleLineCountTop()),i):this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+n-o,this.getMaxVisibleLineCountBottom()),i)}collapseAll(e){this._visibleLineCountTop.set(0,e),this._visibleLineCountBottom.set(0,e)}setState(e,t,i){e=Math.max(Math.min(e,this.lineCount),0),t=Math.max(Math.min(t,this.lineCount-e),0),this._visibleLineCountTop.set(e,i),this._visibleLineCountBottom.set(t,i)}}class CSe extends H{get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?\"visible\":\"hidden\")}constructor(e,t,i,n,o,r,a,l,d){super(),this._getViewZoneId=e,this._marginDomNode=t,this._modifiedEditor=i,this._diff=n,this._editor=o,this._viewLineCounts=r,this._originalTextModel=a,this._contextMenuService=l,this._clipboardService=d,this._visibility=!1,this._marginDomNode.style.zIndex=\"10\",this._diffActions=document.createElement(\"div\"),this._diffActions.className=Pe.asClassName(oe.lightBulb)+\" lightbulb-glyph\",this._diffActions.style.position=\"absolute\";const c=this._modifiedEditor.getOption(67);this._diffActions.style.right=\"0px\",this._diffActions.style.visibility=\"hidden\",this._diffActions.style.height=`${c}px`,this._diffActions.style.lineHeight=`${c}px`,this._marginDomNode.appendChild(this._diffActions);let u=0;const h=i.getOption(127)&&!_d,g=(f,m)=>{var _;this._contextMenuService.showContextMenu({domForShadowRoot:h&&(_=i.getDomNode())!==null&&_!==void 0?_:void 0,getAnchor:()=>({x:f,y:m}),getActions:()=>{const v=[],b=n.modified.isEmpty;return v.push(new Eo(\"diff.clipboard.copyDeletedContent\",b?n.original.length>1?p(\"diff.clipboard.copyDeletedLinesContent.label\",\"Copy deleted lines\"):p(\"diff.clipboard.copyDeletedLinesContent.single.label\",\"Copy deleted line\"):n.original.length>1?p(\"diff.clipboard.copyChangedLinesContent.label\",\"Copy changed lines\"):p(\"diff.clipboard.copyChangedLinesContent.single.label\",\"Copy changed line\"),void 0,!0,async()=>{const w=this._originalTextModel.getValueInRange(n.original.toExclusiveRange());await this._clipboardService.writeText(w)})),n.original.length>1&&v.push(new Eo(\"diff.clipboard.copyDeletedLineContent\",b?p(\"diff.clipboard.copyDeletedLineContent.label\",\"Copy deleted line ({0})\",n.original.startLineNumber+u):p(\"diff.clipboard.copyChangedLineContent.label\",\"Copy changed line ({0})\",n.original.startLineNumber+u),void 0,!0,async()=>{let w=this._originalTextModel.getLineContent(n.original.startLineNumber+u);w===\"\"&&(w=this._originalTextModel.getEndOfLineSequence()===0?`\n`:`\\r\n`),await this._clipboardService.writeText(w)})),i.getOption(91)||v.push(new Eo(\"diff.inline.revertChange\",p(\"diff.inline.revertChange.label\",\"Revert this change\"),void 0,!0,async()=>{this._editor.revert(this._diff)})),v},autoSelectFirstItem:!0})};this._register(Ni(this._diffActions,\"mousedown\",f=>{if(!f.leftButton)return;const{top:m,height:_}=qi(this._diffActions),v=Math.floor(c/3);f.preventDefault(),g(f.posx,m+_+v)})),this._register(i.onMouseMove(f=>{(f.target.type===8||f.target.type===5)&&f.target.detail.viewZoneId===this._getViewZoneId()?(u=this._updateLightBulbPosition(this._marginDomNode,f.event.browserEvent.y,c),this.visibility=!0):this.visibility=!1})),this._register(i.onMouseDown(f=>{f.event.leftButton&&(f.target.type===8||f.target.type===5)&&f.target.detail.viewZoneId===this._getViewZoneId()&&(f.event.preventDefault(),u=this._updateLightBulbPosition(this._marginDomNode,f.event.browserEvent.y,c),g(f.event.posx,f.event.posy+c))}))}_updateLightBulbPosition(e,t,i){const{top:n}=qi(e),o=t-n,r=Math.floor(o/i),a=r*i;if(this._diffActions.style.top=`${a}px`,this._viewLineCounts){let l=0;for(let d=0;d<this._viewLineCounts.length;d++)if(l+=this._viewLineCounts[d],r<l)return d}return r}}const f7=tu(\"diffEditorWidget\",{createHTML:s=>s});function wSe(s,e,t,i){Un(i,e.fontInfo);const n=t.length>0,o=new l0(1e4);let r=0,a=0;const l=[];for(let h=0;h<s.lineTokens.length;h++){const g=h+1,f=s.lineTokens[h],m=s.lineBreakData[h],_=Os.filter(t,g,1,Number.MAX_SAFE_INTEGER);if(m){let v=0;for(const b of m.breakOffsets){const C=f.sliceAndInflate(v,b,0);r=Math.max(r,p7(a,C,Os.extractWrapped(_,v,b),n,s.mightContainNonBasicASCII,s.mightContainRTL,e,o)),a++,v=b}l.push(m.breakOffsets.length)}else l.push(1),r=Math.max(r,p7(a,f,_,n,s.mightContainNonBasicASCII,s.mightContainRTL,e,o)),a++}r+=e.scrollBeyondLastColumn;const d=o.build(),c=f7?f7.createHTML(d):d;i.innerHTML=c;const u=r*e.typicalHalfwidthCharacterWidth;return{heightInLines:a,minWidthInPx:u,viewLineCounts:l}}class ySe{constructor(e,t,i,n){this.lineTokens=e,this.lineBreakData=t,this.mightContainNonBasicASCII=i,this.mightContainRTL=n}}class e4{static fromEditor(e){var t;const i=e.getOptions(),n=i.get(50),o=i.get(145);return new e4(((t=e.getModel())===null||t===void 0?void 0:t.getOptions().tabSize)||0,n,i.get(33),n.typicalHalfwidthCharacterWidth,i.get(104),i.get(67),o.decorationsWidth,i.get(117),i.get(99),i.get(94),i.get(51))}constructor(e,t,i,n,o,r,a,l,d,c,u){this.tabSize=e,this.fontInfo=t,this.disableMonospaceOptimizations=i,this.typicalHalfwidthCharacterWidth=n,this.scrollBeyondLastColumn=o,this.lineHeight=r,this.lineDecorationsWidth=a,this.stopRenderingLineAfter=l,this.renderWhitespace=d,this.renderControlCharacters=c,this.fontLigatures=u}}function p7(s,e,t,i,n,o,r,a){a.appendString('<div class=\"view-line'),i||a.appendString(\" char-delete\"),a.appendString('\" style=\"top:'),a.appendString(String(s*r.lineHeight)),a.appendString('px;width:1000000px;\">');const l=e.getLineContent(),d=lr.isBasicASCII(l,n),c=lr.containsRTL(l,d,o),u=m1(new tg(r.fontInfo.isMonospace&&!r.disableMonospaceOptimizations,r.fontInfo.canUseHalfwidthRightwardsArrow,l,!1,d,c,0,e,t,r.tabSize,0,r.fontInfo.spaceWidth,r.fontInfo.middotWidth,r.fontInfo.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==Zo.OFF,null),a);return a.appendString(\"</div>\"),u.characterMapping.getHorizontalOffset(u.characterMapping.length)}var SSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},m7=function(s,e){return function(t,i){e(t,i,s)}};let _M=class extends H{constructor(e,t,i,n,o,r,a,l,d,c){super(),this._targetWindow=e,this._editors=t,this._diffModel=i,this._options=n,this._diffEditorWidget=o,this._canIgnoreViewZoneUpdateEvent=r,this._origViewZonesToIgnore=a,this._modViewZonesToIgnore=l,this._clipboardService=d,this._contextMenuService=c,this._originalTopPadding=vt(this,0),this._originalScrollOffset=vt(this,0),this._originalScrollOffsetAnimated=r7(this._targetWindow,this._originalScrollOffset,this._store),this._modifiedTopPadding=vt(this,0),this._modifiedScrollOffset=vt(this,0),this._modifiedScrollOffsetAnimated=r7(this._targetWindow,this._modifiedScrollOffset,this._store);const u=vt(\"invalidateAlignmentsState\",0),h=this._register(new Wt(()=>{u.set(u.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(C=>{this._canIgnoreViewZoneUpdateEvent()||h.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(C=>{this._canIgnoreViewZoneUpdateEvent()||h.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(C=>{(C.hasChanged(146)||C.hasChanged(67))&&h.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(C=>{(C.hasChanged(146)||C.hasChanged(67))&&h.schedule()}));const g=this._diffModel.map(C=>C?Ot(C.model.original.onDidChangeTokens,()=>C.model.original.tokenization.backgroundTokenizationState===2):void 0).map((C,w)=>C==null?void 0:C.read(w)),f=je(C=>{const w=this._diffModel.read(C),y=w==null?void 0:w.diff.read(C);if(!w||!y)return null;u.read(C);const L=this._options.renderSideBySide.read(C);return _7(this._editors.original,this._editors.modified,y.mappings,this._origViewZonesToIgnore,this._modViewZonesToIgnore,L)}),m=je(C=>{var w;const y=(w=this._diffModel.read(C))===null||w===void 0?void 0:w.movedTextToCompare.read(C);if(!y)return null;u.read(C);const D=y.changes.map(L=>new SK(L));return _7(this._editors.original,this._editors.modified,D,this._origViewZonesToIgnore,this._modViewZonesToIgnore,!0)});function _(){const C=document.createElement(\"div\");return C.className=\"diagonal-fill\",C}const v=this._register(new Y);this.viewZones=g0(this,(C,w)=>{var y,D,L,k,I,O,R,P;v.clear();const F=f.read(C)||[],V=[],U=[],J=this._modifiedTopPadding.read(C);J>0&&U.push({afterLineNumber:0,domNode:document.createElement(\"div\"),heightInPx:J,showInHiddenAreas:!0,suppressMouseDown:!0});const pe=this._originalTopPadding.read(C);pe>0&&V.push({afterLineNumber:0,domNode:document.createElement(\"div\"),heightInPx:pe,showInHiddenAreas:!0,suppressMouseDown:!0});const De=this._options.renderSideBySide.read(C),ge=De||(y=this._editors.modified._getViewModel())===null||y===void 0?void 0:y.createLineBreaksComputer();if(ge){const St=this._editors.original.getModel();for(const tn of F)if(tn.diff)for(let Pn=tn.originalRange.startLineNumber;Pn<tn.originalRange.endLineNumberExclusive;Pn++){if(Pn>St.getLineCount())return{orig:V,mod:U};ge==null||ge.addRequest(St.getLineContent(Pn),null,null)}}const We=(D=ge==null?void 0:ge.finalize())!==null&&D!==void 0?D:[];let ye=0;const ve=this._editors.modified.getOption(67),ce=(L=this._diffModel.read(C))===null||L===void 0?void 0:L.movedTextToCompare.read(C),Qt=(I=(k=this._editors.original.getModel())===null||k===void 0?void 0:k.mightContainNonBasicASCII())!==null&&I!==void 0?I:!1,Ui=(R=(O=this._editors.original.getModel())===null||O===void 0?void 0:O.mightContainRTL())!==null&&R!==void 0?R:!1,Gi=e4.fromEditor(this._editors.modified);for(const St of F)if(St.diff&&!De){if(!St.originalRange.isEmpty){g.read(C);const Pn=document.createElement(\"div\");Pn.classList.add(\"view-lines\",\"line-delete\",\"monaco-mouse-cursor-text\");const ln=this._editors.original.getModel();if(St.originalRange.endLineNumberExclusive-1>ln.getLineCount())return{orig:V,mod:U};const $e=new ySe(St.originalRange.mapToLineArray(xn=>ln.tokenization.getLineTokens(xn)),St.originalRange.mapToLineArray(xn=>We[ye++]),Qt,Ui),dn=[];for(const xn of St.diff.innerChanges||[])dn.push(new $v(xn.originalRange.delta(-(St.diff.original.startLineNumber-1)),gM.className,0));const qr=wSe($e,Gi,dn,Pn),Wo=document.createElement(\"div\");if(Wo.className=\"inline-deleted-margin-view-zone\",Un(Wo,Gi.fontInfo),this._options.renderIndicators.read(C))for(let xn=0;xn<qr.heightInLines;xn++){const Da=document.createElement(\"div\");Da.className=`delete-sign ${Pe.asClassName(CK)}`,Da.setAttribute(\"style\",`position:absolute;top:${xn*ve}px;width:${Gi.lineDecorationsWidth}px;height:${ve}px;right:0;`),Wo.appendChild(Da)}let Fd;v.add(new CSe(()=>Ou(Fd),Wo,this._editors.modified,St.diff,this._diffEditorWidget,qr.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let xn=0;xn<qr.viewLineCounts.length;xn++){const Da=qr.viewLineCounts[xn];Da>1&&V.push({afterLineNumber:St.originalRange.startLineNumber+xn,domNode:_(),heightInPx:(Da-1)*ve,showInHiddenAreas:!0,suppressMouseDown:!0})}U.push({afterLineNumber:St.modifiedRange.startLineNumber-1,domNode:Pn,heightInPx:qr.heightInLines*ve,minWidthInPx:qr.minWidthInPx,marginDomNode:Wo,setZoneId(xn){Fd=xn},showInHiddenAreas:!0,suppressMouseDown:!0})}const tn=document.createElement(\"div\");tn.className=\"gutter-delete\",V.push({afterLineNumber:St.originalRange.endLineNumberExclusive-1,domNode:_(),heightInPx:St.modifiedHeightInPx,marginDomNode:tn,showInHiddenAreas:!0,suppressMouseDown:!0})}else{const tn=St.modifiedHeightInPx-St.originalHeightInPx;if(tn>0){if(ce!=null&&ce.lineRangeMapping.original.delta(-1).deltaLength(2).contains(St.originalRange.endLineNumberExclusive-1))continue;V.push({afterLineNumber:St.originalRange.endLineNumberExclusive-1,domNode:_(),heightInPx:tn,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let Pn=function(){const $e=document.createElement(\"div\");return $e.className=\"arrow-revert-change \"+Pe.asClassName(oe.arrowRight),w.add(K($e,\"mousedown\",dn=>dn.stopPropagation())),w.add(K($e,\"click\",dn=>{dn.stopPropagation(),o.revert(St.diff)})),he(\"div\",{},$e)};if(ce!=null&&ce.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(St.modifiedRange.endLineNumberExclusive-1))continue;let ln;St.diff&&St.diff.modified.isEmpty&&this._options.shouldRenderOldRevertArrows.read(C)&&(ln=Pn()),U.push({afterLineNumber:St.modifiedRange.endLineNumberExclusive-1,domNode:_(),heightInPx:-tn,marginDomNode:ln,showInHiddenAreas:!0,suppressMouseDown:!0})}}for(const St of(P=m.read(C))!==null&&P!==void 0?P:[]){if(!(ce!=null&&ce.lineRangeMapping.original.intersect(St.originalRange))||!(ce!=null&&ce.lineRangeMapping.modified.intersect(St.modifiedRange)))continue;const tn=St.modifiedHeightInPx-St.originalHeightInPx;tn>0?V.push({afterLineNumber:St.originalRange.endLineNumberExclusive-1,domNode:_(),heightInPx:tn,showInHiddenAreas:!0,suppressMouseDown:!0}):U.push({afterLineNumber:St.modifiedRange.endLineNumberExclusive-1,domNode:_(),heightInPx:-tn,showInHiddenAreas:!0,suppressMouseDown:!0})}return{orig:V,mod:U}});let b=!1;this._register(this._editors.original.onDidScrollChange(C=>{C.scrollLeftChanged&&!b&&(b=!0,this._editors.modified.setScrollLeft(C.scrollLeft),b=!1)})),this._register(this._editors.modified.onDidScrollChange(C=>{C.scrollLeftChanged&&!b&&(b=!0,this._editors.original.setScrollLeft(C.scrollLeft),b=!1)})),this._originalScrollTop=Ot(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=Ot(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register(st(C=>{const w=this._originalScrollTop.read(C)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(C))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(C));w!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(w,1)})),this._register(st(C=>{const w=this._modifiedScrollTop.read(C)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(C))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(C));w!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(w,1)})),this._register(st(C=>{var w;const y=(w=this._diffModel.read(C))===null||w===void 0?void 0:w.movedTextToCompare.read(C);let D=0;if(y){const L=this._editors.original.getTopForLineNumber(y.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get();D=this._editors.modified.getTopForLineNumber(y.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get()-L}D>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(D,void 0)):D<0?(this._modifiedTopPadding.set(-D,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-D,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+D,void 0,!0)}))}};_M=SSe([m7(8,ru),m7(9,Oo)],_M);function _7(s,e,t,i,n,o){const r=new Hc(v7(s,i)),a=new Hc(v7(e,n)),l=s.getOption(67),d=e.getOption(67),c=[];let u=0,h=0;function g(f,m){for(;;){let _=r.peek(),v=a.peek();if(_&&_.lineNumber>=f&&(_=void 0),v&&v.lineNumber>=m&&(v=void 0),!_&&!v)break;const b=_?_.lineNumber-u:Number.MAX_VALUE,C=v?v.lineNumber-h:Number.MAX_VALUE;b<C?(r.dequeue(),v={lineNumber:_.lineNumber-u+h,heightInPx:0}):b>C?(a.dequeue(),_={lineNumber:v.lineNumber-h+u,heightInPx:0}):(r.dequeue(),a.dequeue()),c.push({originalRange:Je.ofLength(_.lineNumber,1),modifiedRange:Je.ofLength(v.lineNumber,1),originalHeightInPx:l+_.heightInPx,modifiedHeightInPx:d+v.heightInPx,diff:void 0})}}for(const f of t){let C=function(w,y){var D,L,k,I;if(w<b||y<v)return;if(_)_=!1;else if(w===b||y===v)return;const O=new Je(b,w),R=new Je(v,y);if(O.isEmpty&&R.isEmpty)return;const P=(L=(D=r.takeWhile(V=>V.lineNumber<w))===null||D===void 0?void 0:D.reduce((V,U)=>V+U.heightInPx,0))!==null&&L!==void 0?L:0,F=(I=(k=a.takeWhile(V=>V.lineNumber<y))===null||k===void 0?void 0:k.reduce((V,U)=>V+U.heightInPx,0))!==null&&I!==void 0?I:0;c.push({originalRange:O,modifiedRange:R,originalHeightInPx:O.length*l+P,modifiedHeightInPx:R.length*d+F,diff:f.lineRangeMapping}),b=w,v=y};const m=f.lineRangeMapping;g(m.original.startLineNumber,m.modified.startLineNumber);let _=!0,v=m.modified.startLineNumber,b=m.original.startLineNumber;if(o)for(const w of m.innerChanges||[]){w.originalRange.startColumn>1&&w.modifiedRange.startColumn>1&&C(w.originalRange.startLineNumber,w.modifiedRange.startLineNumber);const y=s.getModel(),D=w.originalRange.endLineNumber<=y.getLineCount()?y.getLineMaxColumn(w.originalRange.endLineNumber):Number.MAX_SAFE_INTEGER;w.originalRange.endColumn<D&&C(w.originalRange.endLineNumber,w.modifiedRange.endLineNumber)}C(m.original.endLineNumberExclusive,m.modified.endLineNumberExclusive),u=m.original.endLineNumberExclusive,h=m.modified.endLineNumberExclusive}return g(Number.MAX_VALUE,Number.MAX_VALUE),c}function v7(s,e){const t=[],i=[],n=s.getOption(146).wrappingColumn!==-1,o=s._getViewModel().coordinatesConverter,r=s.getOption(67);if(n)for(let l=1;l<=s.getModel().getLineCount();l++){const d=o.getModelLineViewLineCount(l);d>1&&i.push({lineNumber:l,heightInPx:r*(d-1)})}for(const l of s.getWhitespaces()){if(e.has(l.id))continue;const d=l.afterLineNumber===0?0:o.convertViewPositionToModelPosition(new W(l.afterLineNumber,1)).lineNumber;t.push({lineNumber:d,heightInPx:l.height})}return Kye(t,i,l=>l.lineNumber,(l,d)=>({lineNumber:l.lineNumber,heightInPx:l.heightInPx+d.heightInPx}))}class DSe extends H{constructor(e,t,i){super(),this._editor=e,this._domNode=t,this.itemProvider=i,this.scrollTop=Ot(this._editor.onDidScrollChange,r=>this._editor.getScrollTop()),this.isScrollTopZero=this.scrollTop.map(r=>r===0),this.modelAttached=Ot(this._editor.onDidChangeModel,r=>this._editor.hasModel()),this.editorOnDidChangeViewZones=os(\"onDidChangeViewZones\",this._editor.onDidChangeViewZones),this.editorOnDidContentSizeChange=os(\"onDidContentSizeChange\",this._editor.onDidContentSizeChange),this.domNodeSizeChanged=Zx(\"domNodeSizeChanged\"),this.views=new Map,this._domNode.className=\"gutter monaco-editor\";const n=this._domNode.appendChild(Nt(\"div.scroll-decoration\",{role:\"presentation\",ariaHidden:\"true\",style:{width:\"100%\"}}).root),o=new ResizeObserver(()=>{$t(r=>{this.domNodeSizeChanged.trigger(r)})});o.observe(this._domNode),this._register(Ie(()=>o.disconnect())),this._register(st(r=>{n.className=this.isScrollTopZero.read(r)?\"\":\"scroll-decoration\"})),this._register(st(r=>this.render(r)))}dispose(){super.dispose(),Yn(this._domNode)}render(e){if(!this.modelAttached.read(e))return;this.domNodeSizeChanged.read(e),this.editorOnDidChangeViewZones.read(e),this.editorOnDidContentSizeChange.read(e);const t=this.scrollTop.read(e),i=this._editor.getVisibleRanges(),n=new Set(this.views.keys()),o=et.ofStartAndLength(0,this._domNode.clientHeight);if(!o.isEmpty)for(const r of i){const a=new Je(r.startLineNumber,r.endLineNumber+1),l=this.itemProvider.getIntersectingGutterItems(a,e);$t(d=>{for(const c of l){if(!c.range.intersect(a))continue;n.delete(c.id);let u=this.views.get(c.id);if(u)u.item.set(c,d);else{const m=document.createElement(\"div\");this._domNode.appendChild(m);const _=vt(\"item\",c),v=this.itemProvider.createView(_,m);u=new LSe(_,v,m),this.views.set(c.id,u)}const h=c.range.startLineNumber<=this._editor.getModel().getLineCount()?this._editor.getTopForLineNumber(c.range.startLineNumber,!0)-t:this._editor.getBottomForLineNumber(c.range.startLineNumber-1,!1)-t,f=(c.range.isEmpty?h:this._editor.getBottomForLineNumber(c.range.endLineNumberExclusive-1,!0)-t)-h;u.domNode.style.top=`${h}px`,u.domNode.style.height=`${f}px`,u.gutterItemView.layout(et.ofStartAndLength(h,f),o)}})}for(const r of n){const a=this.views.get(r);a.gutterItemView.dispose(),this._domNode.removeChild(a.domNode),this.views.delete(r)}}}class LSe{constructor(e,t,i){this.item=e,this.gutterItemView=t,this.domNode=i}}class DK extends Df{constructor(e){super(),this._getContext=e}runAction(e,t){const i=this._getContext();return super.runAction(e,i)}}class b7 extends dU{constructor(e){super(),this._textModel=e}getValueOfRange(e){return this._textModel.getValueInRange(e)}get length(){const e=this._textModel.getLineCount(),t=this._textModel.getLineLength(e);return new Fs(e-1,t)}}class xSe extends H{constructor(e,t,i={orientation:0}){var n;super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new Zoe),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new Y),i.hoverDelegate=(n=i.hoverDelegate)!==null&&n!==void 0?n:this._register(I_()),this.options=i,this.lookupKeybindings=typeof this.options.getKeyBinding==\"function\",this.toggleMenuAction=this._register(new O_(()=>{var o;return(o=this.toggleMenuActionViewItem)===null||o===void 0?void 0:o.show()},i.toggleMenuTitle)),this.element=document.createElement(\"div\"),this.element.className=\"monaco-toolbar\",e.appendChild(this.element),this.actionBar=this._register(new Vr(this.element,{orientation:i.orientation,ariaLabel:i.ariaLabel,actionRunner:i.actionRunner,allowContextMenu:i.allowContextMenu,highlightToggledItems:i.highlightToggledItems,hoverDelegate:i.hoverDelegate,actionViewItemProvider:(o,r)=>{var a;if(o.id===O_.ID)return this.toggleMenuActionViewItem=new kD(o,o.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:Pe.asClassNameArray((a=i.moreIcon)!==null&&a!==void 0?a:oe.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry,isMenu:!0,hoverDelegate:this.options.hoverDelegate}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(i.actionViewItemProvider){const l=i.actionViewItemProvider(o,r);if(l)return l}if(o instanceof c_){const l=new kD(o,o.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:o.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry,hoverDelegate:this.options.hoverDelegate});return l.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(l),this.disposables.add(this._onDidChangeDropdownVisibility.add(l.onDidChangeVisibility)),l}}}))}set actionRunner(e){this.actionBar.actionRunner=e}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(e){return this.actionBar.getAction(e)}setActions(e,t){this.clear();const i=e?e.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),i.push(this.toggleMenuAction)),i.forEach(n=>{this.actionBar.push(n,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(n)})})}getKeybindingLabel(e){var t,i,n;const o=this.lookupKeybindings?(i=(t=this.options).getKeyBinding)===null||i===void 0?void 0:i.call(t,e):void 0;return(n=o==null?void 0:o.getLabel())!==null&&n!==void 0?n:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),this.disposables.dispose(),super.dispose()}}class O_ extends Eo{constructor(e,t){t=t||p(\"moreActions\",\"More Actions...\"),super(O_.ID,t,void 0,!0),this._menuActions=[],this.toggleDropdownMenu=e}async run(){this.toggleDropdownMenu()}get menuActions(){return this._menuActions}set menuActions(e){this._menuActions=e}}O_.ID=\"toolbar.toggle.more\";var LK=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},sa=function(s,e){return function(t,i){e(t,i,s)}};let LC=class extends xSe{constructor(e,t,i,n,o,r,a,l){super(e,o,{getKeyBinding:c=>{var u;return(u=r.lookupKeybinding(c.id))!==null&&u!==void 0?u:void 0},...t,allowContextMenu:!0,skipTelemetry:typeof(t==null?void 0:t.telemetrySource)==\"string\"}),this._options=t,this._menuService=i,this._contextKeyService=n,this._contextMenuService=o,this._keybindingService=r,this._commandService=a,this._sessionDisposables=this._store.add(new Y);const d=t==null?void 0:t.telemetrySource;d&&this._store.add(this.actionBar.onDidRun(c=>l.publicLog2(\"workbenchActionExecuted\",{id:c.action.id,from:d})))}setActions(e,t=[],i){var n,o,r;this._sessionDisposables.clear();const a=e.slice(),l=t.slice(),d=[];let c=0;const u=[];let h=!1;if(((n=this._options)===null||n===void 0?void 0:n.hiddenItemStrategy)!==-1)for(let g=0;g<a.length;g++){const f=a[g];!(f instanceof Io)&&!(f instanceof Em)||f.hideActions&&(d.push(f.hideActions.toggle),f.hideActions.toggle.checked&&c++,f.hideActions.isHidden&&(h=!0,a[g]=void 0,((o=this._options)===null||o===void 0?void 0:o.hiddenItemStrategy)!==0&&(u[g]=f)))}if(((r=this._options)===null||r===void 0?void 0:r.overflowBehavior)!==void 0){const g=o1e(new Set(this._options.overflowBehavior.exempted),ft.map(a,_=>_==null?void 0:_.id)),f=this._options.overflowBehavior.maxItems-g.size;let m=0;for(let _=0;_<a.length;_++){const v=a[_];v&&(m++,!g.has(v.id)&&m>=f&&(a[_]=void 0,u[_]=v))}}q5(a),q5(u),super.setActions(a,rn.join(u,l)),(d.length>0||a.length>0)&&this._sessionDisposables.add(K(this.getElement(),\"contextmenu\",g=>{var f,m,_,v,b;const C=new ra(Te(this.getElement()),g),w=this.getItemAction(C.target);if(!w)return;C.preventDefault(),C.stopPropagation();const y=[];if(w instanceof Io&&w.menuKeybinding?y.push(w.menuKeybinding):w instanceof Em||w instanceof O_||y.push(fK(w.id,void 0,this._commandService,this._keybindingService)),d.length>0){let L=!1;if(c===1&&((f=this._options)===null||f===void 0?void 0:f.hiddenItemStrategy)===0){L=!0;for(let k=0;k<d.length;k++)if(d[k].checked){d[k]=af({id:w.id,label:w.label,checked:!0,enabled:!1,run(){}});break}}if(!L&&(w instanceof Io||w instanceof Em)){if(!w.hideActions)return;y.push(w.hideActions.hide)}else y.push(af({id:\"label\",label:p(\"hide\",\"Hide\"),enabled:!1,run(){}}))}const D=rn.join(y,d);!((m=this._options)===null||m===void 0)&&m.resetMenu&&!i&&(i=[this._options.resetMenu]),h&&i&&(D.push(new rn),D.push(af({id:\"resetThisMenu\",label:p(\"resetThisMenu\",\"Reset Menu\"),run:()=>this._menuService.resetHiddenStates(i)}))),D.length!==0&&this._contextMenuService.showContextMenu({getAnchor:()=>C,getActions:()=>D,menuId:(_=this._options)===null||_===void 0?void 0:_.contextMenu,menuActionOptions:{renderShortTitle:!0,...(v=this._options)===null||v===void 0?void 0:v.menuOptions},skipTelemetry:typeof((b=this._options)===null||b===void 0?void 0:b.telemetrySource)==\"string\",contextKeyService:this._contextKeyService})}))}};LC=LK([sa(2,hr),sa(3,Be),sa(4,Oo),sa(5,At),sa(6,gi),sa(7,Gs)],LC);let nL=class extends LC{constructor(e,t,i,n,o,r,a,l,d){super(e,{resetMenu:t,...i},n,o,r,a,l,d),this._onDidChangeMenuItems=this._store.add(new B),this.onDidChangeMenuItems=this._onDidChangeMenuItems.event;const c=this._store.add(n.createMenu(t,o,{emitEventsForSubmenuChanges:!0})),u=()=>{var h,g,f;const m=[],_=[];Qx(c,i==null?void 0:i.menuOptions,{primary:m,secondary:_},(h=i==null?void 0:i.toolbarOptions)===null||h===void 0?void 0:h.primaryGroup,(g=i==null?void 0:i.toolbarOptions)===null||g===void 0?void 0:g.shouldInlineSubmenu,(f=i==null?void 0:i.toolbarOptions)===null||f===void 0?void 0:f.useSeparatorsInPrimaryActions),e.classList.toggle(\"has-no-actions\",m.length===0&&_.length===0),super.setActions(m,_)};this._store.add(c.onDidChange(()=>{u(),this._onDidChangeMenuItems.fire(this)})),u()}setActions(){throw new Ut(\"This toolbar is populated from a menu.\")}};nL=LK([sa(3,hr),sa(4,Be),sa(5,Oo),sa(6,At),sa(7,gi),sa(8,Gs)],nL);var xK=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},aS=function(s,e){return function(t,i){e(t,i,s)}};const QI=[],C7=35;let vM=class extends H{constructor(e,t,i,n,o,r){super(),this._diffModel=t,this._editors=i,this._instantiationService=n,this._contextKeyService=o,this._menuService=r,this._menu=this._register(this._menuService.createMenu(E.DiffEditorHunkToolbar,this._contextKeyService)),this._actions=Ot(this._menu.onDidChange,()=>this._menu.getActions()),this._hasActions=this._actions.map(a=>a.length>0),this.width=je(this,a=>this._hasActions.read(a)?C7:0),this.elements=Nt(\"div.gutter@gutter\",{style:{position:\"absolute\",height:\"100%\",width:C7+\"px\"}},[]),this._currentDiff=je(this,a=>{var l;const d=this._diffModel.read(a);if(!d)return;const c=(l=d.diff.read(a))===null||l===void 0?void 0:l.mappings,u=this._editors.modifiedCursor.read(a);if(u)return c==null?void 0:c.find(h=>h.lineRangeMapping.modified.contains(u.lineNumber))}),this._selectedDiffs=je(this,a=>{const l=this._diffModel.read(a),d=l==null?void 0:l.diff.read(a);if(!d)return QI;const c=this._editors.modifiedSelections.read(a);if(c.every(f=>f.isEmpty()))return QI;const u=new Lr(c.map(f=>Je.fromRangeInclusive(f))),g=d.mappings.filter(f=>f.lineRangeMapping.innerChanges&&u.intersects(f.lineRangeMapping.modified)).map(f=>({mapping:f,rangeMappings:f.lineRangeMapping.innerChanges.filter(m=>c.some(_=>x.areIntersecting(m.modifiedRange,_)))}));return g.length===0||g.every(f=>f.rangeMappings.length===0)?QI:g}),this._register(qye(e,this.elements.root)),this._register(K(this.elements.root,\"click\",()=>{this._editors.modified.focus()})),this._register(Oh(this.elements.root,{display:this._hasActions.map(a=>a?\"block\":\"none\")})),this._register(new DSe(this._editors.modified,this.elements.root,{getIntersectingGutterItems:(a,l)=>{const d=this._diffModel.read(l);if(!d)return[];const c=d.diff.read(l);if(!c)return[];const u=this._selectedDiffs.read(l);if(u.length>0){const g=nr.fromRangeMappings(u.flatMap(f=>f.rangeMappings));return[new w7(g,!0,E.DiffEditorSelectionToolbar,void 0,d.model.original.uri,d.model.modified.uri)]}const h=this._currentDiff.read(l);return c.mappings.map(g=>new w7(g.lineRangeMapping.withInnerChangesFromLineRanges(),g.lineRangeMapping===(h==null?void 0:h.lineRangeMapping),E.DiffEditorHunkToolbar,void 0,d.model.original.uri,d.model.modified.uri))},createView:(a,l)=>this._instantiationService.createInstance(bM,a,l,this)})),this._register(K(this.elements.gutter,ee.MOUSE_WHEEL,a=>{this._editors.modified.getOption(103).handleMouseWheel&&this._editors.modified.delegateScrollFromMouseWheelEvent(a)},{passive:!1}))}computeStagedValue(e){var t;const i=(t=e.innerChanges)!==null&&t!==void 0?t:[],n=new b7(this._editors.modifiedModel.get()),o=new b7(this._editors.original.getModel());return new yF(i.map(l=>l.toTextEdit(n))).apply(o)}layout(e){this.elements.gutter.style.left=e+\"px\"}};vM=xK([aS(3,Ne),aS(4,Be),aS(5,hr)],vM);class w7{constructor(e,t,i,n,o,r){this.mapping=e,this.showAlways=t,this.menuId=i,this.rangeOverride=n,this.originalUri=o,this.modifiedUri=r}get id(){return this.mapping.modified.toString()}get range(){var e;return(e=this.rangeOverride)!==null&&e!==void 0?e:this.mapping.modified}}let bM=class extends H{constructor(e,t,i,n){super(),this._item=e,this._elements=Nt(\"div.gutterItem\",{style:{height:\"20px\",width:\"34px\"}},[Nt(\"div.background@background\",{},[]),Nt(\"div.buttons@buttons\",{},[])]),this._showAlways=this._item.map(this,r=>r.showAlways),this._menuId=this._item.map(this,r=>r.menuId),this._isSmall=vt(this,!1),this._lastItemRange=void 0,this._lastViewRange=void 0;const o=this._register(n.createInstance(S_,\"element\",!0,{position:{hoverPosition:1}}));this._register(Ev(t,this._elements.root)),this._register(st(r=>{const a=this._showAlways.read(r);this._elements.root.classList.toggle(\"noTransition\",!0),this._elements.root.classList.toggle(\"showAlways\",a),setTimeout(()=>{this._elements.root.classList.toggle(\"noTransition\",!1)},0)})),this._register(Hr((r,a)=>{this._elements.buttons.replaceChildren();const l=a.add(n.createInstance(nL,this._elements.buttons,this._menuId.read(r),{orientation:1,hoverDelegate:o,toolbarOptions:{primaryGroup:d=>d.startsWith(\"primary\")},overflowBehavior:{maxItems:this._isSmall.read(r)?1:3},hiddenItemStrategy:0,actionRunner:new DK(()=>{const d=this._item.get(),c=d.mapping;return{mapping:c,originalWithModifiedChanges:i.computeStagedValue(c),originalUri:d.originalUri,modifiedUri:d.modifiedUri}}),menuOptions:{shouldForwardArgs:!0}}));a.add(l.onDidChangeMenuItems(()=>{this._lastItemRange&&this.layout(this._lastItemRange,this._lastViewRange)}))}))}layout(e,t){this._lastItemRange=e,this._lastViewRange=t;let i=this._elements.buttons.clientHeight;this._isSmall.set(this._item.get().mapping.original.startLineNumber===1&&e.length<30,void 0),i=this._elements.buttons.clientHeight,this._elements.root.style.top=e.start+\"px\",this._elements.root.style.height=e.length+\"px\";const n=e.length/2-i/2,o=i;let r=e.start+n;const a=et.tryCreate(o,t.endExclusive-o-i),l=et.tryCreate(e.start+o,e.endExclusive-i-o);l&&a&&l.start<l.endExclusive&&(r=a.clip(r),r=l.clip(r)),this._elements.buttons.style.top=`${r-e.start}px`}};bM=xK([aS(3,Ne)],bM);var kSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ESe=function(s,e){return function(t,i){e(t,i,s)}},CM;let xC=CM=class extends H{static setBreadcrumbsSourceFactory(e){this._breadcrumbsSourceFactory.set(e,void 0)}get isUpdatingHiddenAreas(){return this._isUpdatingHiddenAreas}constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._instantiationService=n,this._modifiedOutlineSource=Gd(this,l=>{const d=this._editors.modifiedModel.read(l),c=CM._breadcrumbsSourceFactory.read(l);return!d||!c?void 0:c(d,this._instantiationService)}),this._isUpdatingHiddenAreas=!1,this._register(this._editors.original.onDidChangeCursorPosition(l=>{if(l.reason===1)return;const d=this._diffModel.get();$t(c=>{for(const u of this._editors.original.getSelections()||[])d==null||d.ensureOriginalLineIsVisible(u.getStartPosition().lineNumber,0,c),d==null||d.ensureOriginalLineIsVisible(u.getEndPosition().lineNumber,0,c)})})),this._register(this._editors.modified.onDidChangeCursorPosition(l=>{if(l.reason===1)return;const d=this._diffModel.get();$t(c=>{for(const u of this._editors.modified.getSelections()||[])d==null||d.ensureModifiedLineIsVisible(u.getStartPosition().lineNumber,0,c),d==null||d.ensureModifiedLineIsVisible(u.getEndPosition().lineNumber,0,c)})}));const o=this._diffModel.map((l,d)=>{var c,u;const h=(c=l==null?void 0:l.unchangedRegions.read(d))!==null&&c!==void 0?c:[];return h.length===1&&h[0].modifiedLineNumber===1&&h[0].lineCount===((u=this._editors.modifiedModel.read(d))===null||u===void 0?void 0:u.getLineCount())?[]:h});this.viewZones=g0(this,(l,d)=>{const c=this._modifiedOutlineSource.read(l);if(!c)return{origViewZones:[],modViewZones:[]};const u=[],h=[],g=this._options.renderSideBySide.read(l),f=o.read(l);for(const m of f)if(!m.shouldHideControls(l)){{const _=je(this,b=>m.getHiddenOriginalRange(b).startLineNumber-1),v=new eL(_,24);u.push(v),d.add(new y7(this._editors.original,v,m,m.originalUnchangedRange,!g,c,b=>this._diffModel.get().ensureModifiedLineIsVisible(b,2,void 0),this._options))}{const _=je(this,b=>m.getHiddenModifiedRange(b).startLineNumber-1),v=new eL(_,24);h.push(v),d.add(new y7(this._editors.modified,v,m,m.modifiedUnchangedRange,!1,c,b=>this._diffModel.get().ensureModifiedLineIsVisible(b,2,void 0),this._options))}}return{origViewZones:u,modViewZones:h}});const r={description:\"unchanged lines\",className:\"diff-unchanged-lines\",isWholeLine:!0},a={description:\"Fold Unchanged\",glyphMarginHoverMessage:new ss(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown(p(\"foldUnchanged\",\"Fold Unchanged Region\")),glyphMarginClassName:\"fold-unchanged \"+Pe.asClassName(oe.fold),zIndex:10001};this._register(JD(this._editors.original,je(this,l=>{const d=o.read(l),c=d.map(u=>({range:u.originalUnchangedRange.toInclusiveRange(),options:r}));for(const u of d)u.shouldHideControls(l)&&c.push({range:x.fromPositions(new W(u.originalLineNumber,1)),options:a});return c}))),this._register(JD(this._editors.modified,je(this,l=>{const d=o.read(l),c=d.map(u=>({range:u.modifiedUnchangedRange.toInclusiveRange(),options:r}));for(const u of d)u.shouldHideControls(l)&&c.push({range:Je.ofLength(u.modifiedLineNumber,1).toInclusiveRange(),options:a});return c}))),this._register(st(l=>{const d=o.read(l);this._isUpdatingHiddenAreas=!0;try{this._editors.original.setHiddenAreas(d.map(c=>c.getHiddenOriginalRange(l).toInclusiveRange()).filter(rd)),this._editors.modified.setHiddenAreas(d.map(c=>c.getHiddenModifiedRange(l).toInclusiveRange()).filter(rd))}finally{this._isUpdatingHiddenAreas=!1}})),this._register(this._editors.modified.onMouseUp(l=>{var d;if(!l.event.rightButton&&l.target.position&&(!((d=l.target.element)===null||d===void 0)&&d.className.includes(\"fold-unchanged\"))){const c=l.target.position.lineNumber,u=this._diffModel.get();if(!u)return;const h=u.unchangedRegions.get().find(g=>g.modifiedUnchangedRange.includes(c));if(!h)return;h.collapseAll(void 0),l.event.stopPropagation(),l.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(l=>{var d;if(!l.event.rightButton&&l.target.position&&(!((d=l.target.element)===null||d===void 0)&&d.className.includes(\"fold-unchanged\"))){const c=l.target.position.lineNumber,u=this._diffModel.get();if(!u)return;const h=u.unchangedRegions.get().find(g=>g.originalUnchangedRange.includes(c));if(!h)return;h.collapseAll(void 0),l.event.stopPropagation(),l.event.preventDefault()}}))}};xC._breadcrumbsSourceFactory=vt(\"breadcrumbsSourceFactory\",void 0);xC=CM=kSe([ESe(3,Ne)],xC);class y7 extends bK{constructor(e,t,i,n,o,r,a,l){const d=Nt(\"div.diff-hidden-lines-widget\");super(e,t,d.root),this._editor=e,this._unchangedRegion=i,this._unchangedRegionRange=n,this._hide=o,this._modifiedOutlineSource=r,this._revealModifiedHiddenLine=a,this._options=l,this._nodes=Nt(\"div.diff-hidden-lines\",[Nt(\"div.top@top\",{title:p(\"diff.hiddenLines.top\",\"Click or drag to show more above\")}),Nt(\"div.center@content\",{style:{display:\"flex\"}},[Nt(\"div@first\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",flexShrink:\"0\"}},[he(\"a\",{title:p(\"showUnchangedRegion\",\"Show Unchanged Region\"),role:\"button\",onclick:()=>{this._unchangedRegion.showAll(void 0)}},...lh(\"$(unfold)\"))]),Nt(\"div@others\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\"}})]),Nt(\"div.bottom@bottom\",{title:p(\"diff.bottom\",\"Click or drag to show more below\"),role:\"button\"})]),d.root.appendChild(this._nodes.root);const c=Ot(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._hide?Yn(this._nodes.first):this._register(Oh(this._nodes.first,{width:c.map(h=>h.contentLeft)})),this._register(st(h=>{const g=this._unchangedRegion.visibleLineCountTop.read(h)+this._unchangedRegion.visibleLineCountBottom.read(h)===this._unchangedRegion.lineCount;this._nodes.bottom.classList.toggle(\"canMoveTop\",!g),this._nodes.bottom.classList.toggle(\"canMoveBottom\",this._unchangedRegion.visibleLineCountBottom.read(h)>0),this._nodes.top.classList.toggle(\"canMoveTop\",this._unchangedRegion.visibleLineCountTop.read(h)>0),this._nodes.top.classList.toggle(\"canMoveBottom\",!g);const f=this._unchangedRegion.isDragged.read(h),m=this._editor.getDomNode();m&&(m.classList.toggle(\"draggingUnchangedRegion\",!!f),f===\"top\"?(m.classList.toggle(\"canMoveTop\",this._unchangedRegion.visibleLineCountTop.read(h)>0),m.classList.toggle(\"canMoveBottom\",!g)):f===\"bottom\"?(m.classList.toggle(\"canMoveTop\",!g),m.classList.toggle(\"canMoveBottom\",this._unchangedRegion.visibleLineCountBottom.read(h)>0)):(m.classList.toggle(\"canMoveTop\",!1),m.classList.toggle(\"canMoveBottom\",!1)))}));const u=this._editor;this._register(K(this._nodes.top,\"mousedown\",h=>{if(h.button!==0)return;this._nodes.top.classList.toggle(\"dragging\",!0),this._nodes.root.classList.toggle(\"dragging\",!0),h.preventDefault();const g=h.clientY;let f=!1;const m=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set(\"top\",void 0);const _=Te(this._nodes.top),v=K(_,\"mousemove\",C=>{const y=C.clientY-g;f=f||Math.abs(y)>2;const D=Math.round(y/u.getOption(67)),L=Math.max(0,Math.min(m+D,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(L,void 0)}),b=K(_,\"mouseup\",C=>{f||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle(\"dragging\",!1),this._nodes.root.classList.toggle(\"dragging\",!1),this._unchangedRegion.isDragged.set(void 0,void 0),v.dispose(),b.dispose()})})),this._register(K(this._nodes.bottom,\"mousedown\",h=>{if(h.button!==0)return;this._nodes.bottom.classList.toggle(\"dragging\",!0),this._nodes.root.classList.toggle(\"dragging\",!0),h.preventDefault();const g=h.clientY;let f=!1;const m=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set(\"bottom\",void 0);const _=Te(this._nodes.bottom),v=K(_,\"mousemove\",C=>{const y=C.clientY-g;f=f||Math.abs(y)>2;const D=Math.round(y/u.getOption(67)),L=Math.max(0,Math.min(m-D,this._unchangedRegion.getMaxVisibleLineCountBottom())),k=this._unchangedRegionRange.endLineNumberExclusive>u.getModel().getLineCount()?u.getContentHeight():u.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(L,void 0);const I=this._unchangedRegionRange.endLineNumberExclusive>u.getModel().getLineCount()?u.getContentHeight():u.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);u.setScrollTop(u.getScrollTop()+(I-k))}),b=K(_,\"mouseup\",C=>{if(this._unchangedRegion.isDragged.set(void 0,void 0),!f){const w=u.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);const y=u.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);u.setScrollTop(u.getScrollTop()+(y-w))}this._nodes.bottom.classList.toggle(\"dragging\",!1),this._nodes.root.classList.toggle(\"dragging\",!1),v.dispose(),b.dispose()})})),this._register(st(h=>{const g=[];if(!this._hide){const f=i.getHiddenModifiedRange(h).length,m=p(\"hiddenLines\",\"{0} hidden lines\",f),_=he(\"span\",{title:p(\"diff.hiddenLines.expandAll\",\"Double click to unfold\")},m);_.addEventListener(\"dblclick\",C=>{C.button===0&&(C.preventDefault(),this._unchangedRegion.showAll(void 0))}),g.push(_);const v=this._unchangedRegion.getHiddenModifiedRange(h),b=this._modifiedOutlineSource.getBreadcrumbItems(v,h);if(b.length>0){g.push(he(\"span\",void 0,\"  |  \"));for(let C=0;C<b.length;C++){const w=b[C],y=iN.toIcon(w.kind),D=Nt(\"div.breadcrumb-item\",{style:{display:\"flex\",alignItems:\"center\"}},[Ef(y),\" \",w.name,...C===b.length-1?[]:[Ef(oe.chevronRight)]]).root;g.push(D),D.onclick=()=>{this._revealModifiedHiddenLine(w.startLineNumber)}}}}Yn(this._nodes.others,...g)}))}}var ISe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},TSe=function(s,e){return function(t,i){e(t,i,s)}},Jr;let Af=Jr=class extends H{constructor(e,t,i,n,o,r,a){super(),this._editors=e,this._rootElement=t,this._diffModel=i,this._rootWidth=n,this._rootHeight=o,this._modifiedEditorLayoutInfo=r,this._themeService=a,this.width=Jr.ENTIRE_DIFF_OVERVIEW_WIDTH;const l=Ot(this._themeService.onDidColorThemeChange,()=>this._themeService.getColorTheme()),d=je(h=>{const g=l.read(h),f=g.getColor($ue)||(g.getColor(zue)||xA).transparent(2),m=g.getColor(jue)||(g.getColor(Uue)||kA).transparent(2);return{insertColor:f,removeColor:m}}),c=It(document.createElement(\"div\"));c.setClassName(\"diffViewport\"),c.setPosition(\"absolute\");const u=Nt(\"div.diffOverview\",{style:{position:\"absolute\",top:\"0px\",width:Jr.ENTIRE_DIFF_OVERVIEW_WIDTH+\"px\"}}).root;this._register(Ev(u,c.domNode)),this._register(Ni(u,ee.POINTER_DOWN,h=>{this._editors.modified.delegateVerticalScrollbarPointerDown(h)})),this._register(K(u,ee.MOUSE_WHEEL,h=>{this._editors.modified.delegateScrollFromMouseWheelEvent(h)},{passive:!1})),this._register(Ev(this._rootElement,u)),this._register(Hr((h,g)=>{const f=this._diffModel.read(h),m=this._editors.original.createOverviewRuler(\"original diffOverviewRuler\");m&&(g.add(m),g.add(Ev(u,m.getDomNode())));const _=this._editors.modified.createOverviewRuler(\"modified diffOverviewRuler\");if(_&&(g.add(_),g.add(Ev(u,_.getDomNode()))),!m||!_)return;const v=os(\"viewZoneChanged\",this._editors.original.onDidChangeViewZones),b=os(\"viewZoneChanged\",this._editors.modified.onDidChangeViewZones),C=os(\"hiddenRangesChanged\",this._editors.original.onDidChangeHiddenAreas),w=os(\"hiddenRangesChanged\",this._editors.modified.onDidChangeHiddenAreas);g.add(st(y=>{var D;v.read(y),b.read(y),C.read(y),w.read(y);const L=d.read(y),k=(D=f==null?void 0:f.diff.read(y))===null||D===void 0?void 0:D.mappings;function I(P,F,V){const U=V._getViewModel();return U?P.filter(J=>J.length>0).map(J=>{const pe=U.coordinatesConverter.convertModelPositionToViewPosition(new W(J.startLineNumber,1)),De=U.coordinatesConverter.convertModelPositionToViewPosition(new W(J.endLineNumberExclusive,1)),ge=De.lineNumber-pe.lineNumber;return new d$(pe.lineNumber,De.lineNumber,ge,F.toString())}):[]}const O=I((k||[]).map(P=>P.lineRangeMapping.original),L.removeColor,this._editors.original),R=I((k||[]).map(P=>P.lineRangeMapping.modified),L.insertColor,this._editors.modified);m==null||m.setZones(O),_==null||_.setZones(R)})),g.add(st(y=>{const D=this._rootHeight.read(y),L=this._rootWidth.read(y),k=this._modifiedEditorLayoutInfo.read(y);if(k){const I=Jr.ENTIRE_DIFF_OVERVIEW_WIDTH-2*Jr.ONE_OVERVIEW_WIDTH;m.setLayout({top:0,height:D,right:I+Jr.ONE_OVERVIEW_WIDTH,width:Jr.ONE_OVERVIEW_WIDTH}),_.setLayout({top:0,height:D,right:0,width:Jr.ONE_OVERVIEW_WIDTH});const O=this._editors.modifiedScrollTop.read(y),R=this._editors.modifiedScrollHeight.read(y),P=this._editors.modified.getOption(103),F=new C_(P.verticalHasArrows?P.arrowSize:0,P.verticalScrollbarSize,0,k.height,R,O);c.setTop(F.getSliderPosition()),c.setHeight(F.getSliderSize())}else c.setTop(0),c.setHeight(0);u.style.height=D+\"px\",u.style.left=L-Jr.ENTIRE_DIFF_OVERVIEW_WIDTH+\"px\",c.setWidth(Jr.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}};Af.ONE_OVERVIEW_WIDTH=15;Af.ENTIRE_DIFF_OVERVIEW_WIDTH=Jr.ONE_OVERVIEW_WIDTH*2;Af=Jr=ISe([TSe(6,_n)],Af);const JI=[];class NSe extends H{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._widget=n,this._selectedDiffs=je(this,o=>{const r=this._diffModel.read(o),a=r==null?void 0:r.diff.read(o);if(!a)return JI;const l=this._editors.modifiedSelections.read(o);if(l.every(h=>h.isEmpty()))return JI;const d=new Lr(l.map(h=>Je.fromRangeInclusive(h))),u=a.mappings.filter(h=>h.lineRangeMapping.innerChanges&&d.intersects(h.lineRangeMapping.modified)).map(h=>({mapping:h,rangeMappings:h.lineRangeMapping.innerChanges.filter(g=>l.some(f=>x.areIntersecting(g.modifiedRange,f)))}));return u.length===0||u.every(h=>h.rangeMappings.length===0)?JI:u}),this._register(Hr((o,r)=>{if(!this._options.shouldRenderOldRevertArrows.read(o))return;const a=this._diffModel.read(o),l=a==null?void 0:a.diff.read(o);if(!a||!l||a.movedTextToCompare.read(o))return;const d=[],c=this._selectedDiffs.read(o),u=new Set(c.map(h=>h.mapping));if(c.length>0){const h=this._editors.modifiedSelections.read(o),g=r.add(new kC(h[h.length-1].positionLineNumber,this._widget,c.flatMap(f=>f.rangeMappings),!0));this._editors.modified.addGlyphMarginWidget(g),d.push(g)}for(const h of l.mappings)if(!u.has(h)&&!h.lineRangeMapping.modified.isEmpty&&h.lineRangeMapping.innerChanges){const g=r.add(new kC(h.lineRangeMapping.modified.startLineNumber,this._widget,h.lineRangeMapping,!1));this._editors.modified.addGlyphMarginWidget(g),d.push(g)}r.add(Ie(()=>{for(const h of d)this._editors.modified.removeGlyphMarginWidget(h)}))}))}}class kC extends H{getId(){return this._id}constructor(e,t,i,n){super(),this._lineNumber=e,this._widget=t,this._diffs=i,this._revertSelection=n,this._id=`revertButton${kC.counter++}`,this._domNode=Nt(\"div.revertButton\",{title:this._revertSelection?p(\"revertSelectedChanges\",\"Revert Selected Changes\"):p(\"revertChange\",\"Revert Change\")},[Ef(oe.arrowRight)]).root,this._register(K(this._domNode,ee.MOUSE_DOWN,o=>{o.button!==2&&(o.stopPropagation(),o.preventDefault())})),this._register(K(this._domNode,ee.MOUSE_UP,o=>{o.stopPropagation(),o.preventDefault()})),this._register(K(this._domNode,ee.CLICK,o=>{this._diffs instanceof Ns?this._widget.revert(this._diffs):this._widget.revertRangeMappings(this._diffs),o.stopPropagation(),o.preventDefault()}))}getDomNode(){return this._domNode}getPosition(){return{lane:bd.Right,range:{startColumn:1,startLineNumber:this._lineNumber,endColumn:1,endLineNumber:this._lineNumber},zIndex:10001}}}kC.counter=0;function ASe(s){return tf.get(s)}class tf{static get(e){let t=tf._map.get(e);if(!t){t=new tf(e),tf._map.set(e,t);const i=e.onDidDispose(()=>{tf._map.delete(e),i.dispose()})}return t}constructor(e){this.editor=e,this.model=Ot(this.editor.onDidChangeModel,()=>this.editor.getModel())}}tf._map=new Map;var MSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},S7=function(s,e){return function(t,i){e(t,i,s)}};let wM=class extends H{get onDidContentSizeChange(){return this._onDidContentSizeChange.event}constructor(e,t,i,n,o,r,a){super(),this.originalEditorElement=e,this.modifiedEditorElement=t,this._options=i,this._argCodeEditorWidgetOptions=n,this._createInnerEditor=o,this._instantiationService=r,this._keybindingService=a,this.original=this._register(this._createLeftHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.modifiedEditor||{})),this._onDidContentSizeChange=this._register(new B),this.modifiedScrollTop=Ot(this.modified.onDidScrollChange,()=>this.modified.getScrollTop()),this.modifiedScrollHeight=Ot(this.modified.onDidScrollChange,()=>this.modified.getScrollHeight()),this.modifiedModel=ASe(this.modified).model,this.modifiedSelections=Ot(this.modified.onDidChangeCursorSelection,()=>{var l;return(l=this.modified.getSelections())!==null&&l!==void 0?l:[]}),this.modifiedCursor=dc({owner:this,equalsFn:W.equals},l=>{var d,c;return(c=(d=this.modifiedSelections.read(l)[0])===null||d===void 0?void 0:d.getPosition())!==null&&c!==void 0?c:new W(1,1)}),this.originalCursor=Ot(this.original.onDidChangeCursorPosition,()=>{var l;return(l=this.original.getPosition())!==null&&l!==void 0?l:new W(1,1)}),this._argCodeEditorWidgetOptions=null,this._register(I1({createEmptyChangeSummary:()=>({}),handleChange:(l,d)=>(l.didChange(i.editorOptions)&&Object.assign(d,l.change.changedOptions),!0)},(l,d)=>{i.editorOptions.read(l),this._options.renderSideBySide.read(l),this.modified.updateOptions(this._adjustOptionsForRightHandSide(l,d)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(l,d))}))}_createLeftHandSideEditor(e,t){const i=this._adjustOptionsForLeftHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,i,t);return n.setContextValue(\"isInDiffLeftEditor\",!0),n}_createRightHandSideEditor(e,t){const i=this._adjustOptionsForRightHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,i,t);return n.setContextValue(\"isInDiffRightEditor\",!0),n}_constructInnerEditor(e,t,i,n){const o=this._createInnerEditor(e,t,i,n);return this._register(o.onDidContentSizeChange(r=>{const a=this.original.getContentWidth()+this.modified.getContentWidth()+Af.ENTIRE_DIFF_OVERVIEW_WIDTH,l=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:l,contentWidth:a,contentHeightChanged:r.contentHeightChanged,contentWidthChanged:r.contentWidthChanged})})),o}_adjustOptionsForLeftHandSide(e,t){const i=this._adjustOptionsForSubEditor(t);return this._options.renderSideBySide.get()?(i.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},i.wordWrapOverride1=this._options.diffWordWrap.get()):(i.wordWrapOverride1=\"off\",i.wordWrapOverride2=\"off\",i.stickyScroll={enabled:!1},i.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),i.glyphMargin=this._options.renderSideBySide.get(),t.originalAriaLabel&&(i.ariaLabel=t.originalAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.readOnly=!this._options.originalEditable.get(),i.dropIntoEditor={enabled:!i.readOnly},i.extraEditorClassName=\"original-in-monaco-diff-editor\",i}_adjustOptionsForRightHandSide(e,t){const i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.wordWrapOverride1=this._options.diffWordWrap.get(),i.revealHorizontalRightPadding=hl.revealHorizontalRightPadding.defaultValue+Af.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName=\"modified-in-monaco-diff-editor\",i}_adjustOptionsForSubEditor(e){const t={...e,dimension:{height:0,width:0}};return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar={...t.scrollbar||{}},t.folding=!1,t.codeLens=this._options.diffCodeLens.get(),t.fixedOverflowWidgets=!0,t.minimap={...t.minimap||{}},t.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?t.stickyScroll={enabled:!1}:t.stickyScroll=this._options.editorOptions.get().stickyScroll,t}_updateAriaLabel(e){var t;e||(e=\"\");const i=p(\"diff-aria-navigation-tip\",\" use {0} to open the accessibility help.\",(t=this._keybindingService.lookupKeybinding(\"editor.action.accessibilityHelp\"))===null||t===void 0?void 0:t.getAriaLabel());return this._options.accessibilityVerbose.get()?e+i:e?e.replaceAll(i,\"\"):\"\"}};wM=MSe([S7(5,Ne),S7(6,At)],wM);class gk extends H{constructor(){super(...arguments),this._id=++gk.idCounter,this._onDidDispose=this._register(new B),this.onDidDispose=this._onDidDispose.event}getId(){return this.getEditorType()+\":v2:\"+this._id}getVisibleColumnFromPosition(e){return this._targetEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._targetEditor.getPosition()}setPosition(e,t=\"api\"){this._targetEditor.setPosition(e,t)}revealLine(e,t=0){this._targetEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._targetEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._targetEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._targetEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._targetEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._targetEditor.revealPositionNearTop(e,t)}getSelection(){return this._targetEditor.getSelection()}getSelections(){return this._targetEditor.getSelections()}setSelection(e,t=\"api\"){this._targetEditor.setSelection(e,t)}setSelections(e,t=\"api\"){this._targetEditor.setSelections(e,t)}revealLines(e,t,i=0){this._targetEditor.revealLines(e,t,i)}revealLinesInCenter(e,t,i=0){this._targetEditor.revealLinesInCenter(e,t,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._targetEditor.revealLinesInCenterIfOutsideViewport(e,t,i)}revealLinesNearTop(e,t,i=0){this._targetEditor.revealLinesNearTop(e,t,i)}revealRange(e,t=0,i=!1,n=!0){this._targetEditor.revealRange(e,t,i,n)}revealRangeInCenter(e,t=0){this._targetEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._targetEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._targetEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._targetEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._targetEditor.getSupportedActions()}focus(){this._targetEditor.focus()}trigger(e,t,i){this._targetEditor.trigger(e,t,i)}createDecorationsCollection(e){return this._targetEditor.createDecorationsCollection(e)}changeDecorations(e){return this._targetEditor.changeDecorations(e)}}gk.idCounter=0;var RSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},PSe=function(s,e){return function(t,i){e(t,i,s)}};let yM=class{get editorOptions(){return this._options}constructor(e,t){this._accessibilityService=t,this._diffEditorWidth=vt(this,0),this._screenReaderMode=Ot(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this.couldShowInlineViewBecauseOfSize=je(this,n=>this._options.read(n).renderSideBySide&&this._diffEditorWidth.read(n)<=this._options.read(n).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=je(this,n=>this._options.read(n).renderOverviewRuler),this.renderSideBySide=je(this,n=>this._options.read(n).renderSideBySide&&!(this._options.read(n).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(n)&&!this._screenReaderMode.read(n))),this.readOnly=je(this,n=>this._options.read(n).readOnly),this.shouldRenderOldRevertArrows=je(this,n=>!(!this._options.read(n).renderMarginRevertIcon||!this.renderSideBySide.read(n)||this.readOnly.read(n)||this.shouldRenderGutterMenu.read(n))),this.shouldRenderGutterMenu=je(this,n=>this._options.read(n).renderGutterMenu),this.renderIndicators=je(this,n=>this._options.read(n).renderIndicators),this.enableSplitViewResizing=je(this,n=>this._options.read(n).enableSplitViewResizing),this.splitViewDefaultRatio=je(this,n=>this._options.read(n).splitViewDefaultRatio),this.ignoreTrimWhitespace=je(this,n=>this._options.read(n).ignoreTrimWhitespace),this.maxComputationTimeMs=je(this,n=>this._options.read(n).maxComputationTime),this.showMoves=je(this,n=>this._options.read(n).experimental.showMoves&&this.renderSideBySide.read(n)),this.isInEmbeddedEditor=je(this,n=>this._options.read(n).isInEmbeddedEditor),this.diffWordWrap=je(this,n=>this._options.read(n).diffWordWrap),this.originalEditable=je(this,n=>this._options.read(n).originalEditable),this.diffCodeLens=je(this,n=>this._options.read(n).diffCodeLens),this.accessibilityVerbose=je(this,n=>this._options.read(n).accessibilityVerbose),this.diffAlgorithm=je(this,n=>this._options.read(n).diffAlgorithm),this.showEmptyDecorations=je(this,n=>this._options.read(n).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=je(this,n=>this._options.read(n).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=je(this,n=>this._options.read(n).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=je(this,n=>this._options.read(n).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=je(this,n=>this._options.read(n).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsMinimumLineCount=je(this,n=>this._options.read(n).hideUnchangedRegions.minimumLineCount);const i={...e,...D7(e,es)};this._options=vt(this,i)}updateOptions(e){const t=D7(e,this._options.get()),i={...this._options.get(),...e,...t};this._options.set(i,void 0,{changedOptions:e})}setWidth(e){this._diffEditorWidth.set(e,void 0)}};yM=RSe([PSe(1,gr)],yM);function D7(s,e){var t,i,n,o,r,a,l,d;return{enableSplitViewResizing:xe(s.enableSplitViewResizing,e.enableSplitViewResizing),splitViewDefaultRatio:Gse(s.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:xe(s.renderSideBySide,e.renderSideBySide),renderMarginRevertIcon:xe(s.renderMarginRevertIcon,e.renderMarginRevertIcon),maxComputationTime:kg(s.maxComputationTime,e.maxComputationTime,0,1073741824),maxFileSize:kg(s.maxFileSize,e.maxFileSize,0,1073741824),ignoreTrimWhitespace:xe(s.ignoreTrimWhitespace,e.ignoreTrimWhitespace),renderIndicators:xe(s.renderIndicators,e.renderIndicators),originalEditable:xe(s.originalEditable,e.originalEditable),diffCodeLens:xe(s.diffCodeLens,e.diffCodeLens),renderOverviewRuler:xe(s.renderOverviewRuler,e.renderOverviewRuler),diffWordWrap:Ii(s.diffWordWrap,e.diffWordWrap,[\"off\",\"on\",\"inherit\"]),diffAlgorithm:Ii(s.diffAlgorithm,e.diffAlgorithm,[\"legacy\",\"advanced\"],{smart:\"legacy\",experimental:\"advanced\"}),accessibilityVerbose:xe(s.accessibilityVerbose,e.accessibilityVerbose),experimental:{showMoves:xe((t=s.experimental)===null||t===void 0?void 0:t.showMoves,e.experimental.showMoves),showEmptyDecorations:xe((i=s.experimental)===null||i===void 0?void 0:i.showEmptyDecorations,e.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:xe((o=(n=s.hideUnchangedRegions)===null||n===void 0?void 0:n.enabled)!==null&&o!==void 0?o:(r=s.experimental)===null||r===void 0?void 0:r.collapseUnchangedRegions,e.hideUnchangedRegions.enabled),contextLineCount:kg((a=s.hideUnchangedRegions)===null||a===void 0?void 0:a.contextLineCount,e.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:kg((l=s.hideUnchangedRegions)===null||l===void 0?void 0:l.minimumLineCount,e.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:kg((d=s.hideUnchangedRegions)===null||d===void 0?void 0:d.revealLineCount,e.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:xe(s.isInEmbeddedEditor,e.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:xe(s.onlyShowAccessibleDiffViewer,e.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:kg(s.renderSideBySideInlineBreakpoint,e.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:xe(s.useInlineViewWhenSpaceIsLimited,e.useInlineViewWhenSpaceIsLimited),renderGutterMenu:xe(s.renderGutterMenu,e.renderGutterMenu)}}var FSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},J0=function(s,e){return function(t,i){e(t,i,s)}};let $c=class extends gk{get onDidContentSizeChange(){return this._editors.onDidContentSizeChange}constructor(e,t,i,n,o,r,a,l){var d;super(),this._domElement=e,this._parentContextKeyService=n,this._parentInstantiationService=o,this._accessibilitySignalService=a,this._editorProgressService=l,this.elements=Nt(\"div.monaco-diff-editor.side-by-side\",{style:{position:\"relative\",height:\"100%\"}},[Nt(\"div.editor.original@original\",{style:{position:\"absolute\",height:\"100%\"}}),Nt(\"div.editor.modified@modified\",{style:{position:\"absolute\",height:\"100%\"}}),Nt(\"div.accessibleDiffViewer@accessibleDiffViewer\",{style:{position:\"absolute\",height:\"100%\"}})]),this._diffModel=vt(this,void 0),this._shouldDisposeDiffModel=!1,this.onDidChangeModel=le.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._parentInstantiationService.createChild(new L1([Be,this._contextKeyService])),this._boundarySashes=vt(this,void 0),this._accessibleDiffViewerShouldBeVisible=vt(this,!1),this._accessibleDiffViewerVisible=je(this,w=>this._options.onlyShowAccessibleDiffViewer.read(w)?!0:this._accessibleDiffViewerShouldBeVisible.read(w)),this._movedBlocksLinesPart=vt(this,void 0),this._layoutInfo=je(this,w=>{var y,D,L,k,I;const O=this._rootSizeObserver.width.read(w),R=this._rootSizeObserver.height.read(w),P=this._sash.read(w),F=this._gutter.read(w),V=(y=F==null?void 0:F.width.read(w))!==null&&y!==void 0?y:0,U=(L=(D=this._overviewRulerPart.read(w))===null||D===void 0?void 0:D.width)!==null&&L!==void 0?L:0;let J,pe,De,ge,We;if(!!P){const ve=P.sashLeft.read(w),ce=(I=(k=this._movedBlocksLinesPart.read(w))===null||k===void 0?void 0:k.width.read(w))!==null&&I!==void 0?I:0;J=0,pe=ve-V-ce,We=ve-V,De=ve,ge=O-De-U}else We=0,J=V,pe=Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft),De=V+pe,ge=O-De-U;return this.elements.original.style.left=J+\"px\",this.elements.original.style.width=pe+\"px\",this._editors.original.layout({width:pe,height:R},!0),F==null||F.layout(We),this.elements.modified.style.left=De+\"px\",this.elements.modified.style.width=ge+\"px\",this._editors.modified.layout({width:ge,height:R},!0),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((w,y)=>w==null?void 0:w.diff.read(y)),this.onDidUpdateDiff=le.fromObservableLight(this._diffValue),r.willCreateDiffEditor(),this._contextKeyService.createKey(\"isInDiffEditor\",!0),this._domElement.appendChild(this.elements.root),this._register(Ie(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new vK(this.elements.root,t.dimension)),this._rootSizeObserver.setAutomaticLayout((d=t.automaticLayout)!==null&&d!==void 0?d:!1),this._options=this._instantiationService.createInstance(yM,t),this._register(st(w=>{this._options.setWidth(this._rootSizeObserver.width.read(w))})),this._contextKeyService.createKey(T.isEmbeddedDiffEditor.key,!1),this._register(zd(T.isEmbeddedDiffEditor,this._contextKeyService,w=>this._options.isInEmbeddedEditor.read(w))),this._register(zd(T.comparingMovedCode,this._contextKeyService,w=>{var y;return!!(!((y=this._diffModel.read(w))===null||y===void 0)&&y.movedTextToCompare.read(w))})),this._register(zd(T.diffEditorRenderSideBySideInlineBreakpointReached,this._contextKeyService,w=>this._options.couldShowInlineViewBecauseOfSize.read(w))),this._register(zd(T.diffEditorInlineMode,this._contextKeyService,w=>!this._options.renderSideBySide.read(w))),this._register(zd(T.hasChanges,this._contextKeyService,w=>{var y,D,L;return((L=(D=(y=this._diffModel.read(w))===null||y===void 0?void 0:y.diff.read(w))===null||D===void 0?void 0:D.mappings.length)!==null&&L!==void 0?L:0)>0})),this._editors=this._register(this._instantiationService.createInstance(wM,this.elements.original,this.elements.modified,this._options,i,(w,y,D,L)=>this._createInnerEditor(w,y,D,L))),this._register(zd(T.diffEditorOriginalWritable,this._contextKeyService,w=>this._options.originalEditable.read(w))),this._register(zd(T.diffEditorModifiedWritable,this._contextKeyService,w=>!this._options.readOnly.read(w))),this._register(zd(T.diffEditorOriginalUri,this._contextKeyService,w=>{var y,D;return(D=(y=this._diffModel.read(w))===null||y===void 0?void 0:y.model.original.uri.toString())!==null&&D!==void 0?D:\"\"})),this._register(zd(T.diffEditorModifiedUri,this._contextKeyService,w=>{var y,D;return(D=(y=this._diffModel.read(w))===null||y===void 0?void 0:y.model.modified.uri.toString())!==null&&D!==void 0?D:\"\"})),this._overviewRulerPart=Gd(this,w=>this._options.renderOverviewRuler.read(w)?this._instantiationService.createInstance(ta(Af,w),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(y=>y.modifiedEditor)):void 0).recomputeInitiallyAndOnChange(this._store),this._sash=Gd(this,w=>{const y=this._options.renderSideBySide.read(w);return this.elements.root.classList.toggle(\"side-by-side\",y),y?new pSe(this._options,this.elements.root,{height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((D,L)=>{var k,I;return D-((I=(k=this._overviewRulerPart.read(L))===null||k===void 0?void 0:k.width)!==null&&I!==void 0?I:0)})},this._boundarySashes):void 0}).recomputeInitiallyAndOnChange(this._store);const c=Gd(this,w=>this._instantiationService.createInstance(ta(xC,w),this._editors,this._diffModel,this._options)).recomputeInitiallyAndOnChange(this._store);Gd(this,w=>this._instantiationService.createInstance(ta(fSe,w),this._editors,this._diffModel,this._options,this)).recomputeInitiallyAndOnChange(this._store);const u=new Set,h=new Set;let g=!1;const f=Gd(this,w=>this._instantiationService.createInstance(ta(_M,w),Te(this._domElement),this._editors,this._diffModel,this._options,this,()=>g||c.get().isUpdatingHiddenAreas,u,h)).recomputeInitiallyAndOnChange(this._store),m=je(this,w=>{const y=f.read(w).viewZones.read(w).orig,D=c.read(w).viewZones.read(w).origViewZones;return y.concat(D)}),_=je(this,w=>{const y=f.read(w).viewZones.read(w).mod,D=c.read(w).viewZones.read(w).modViewZones;return y.concat(D)});this._register(tL(this._editors.original,m,w=>{g=w},u));let v;this._register(tL(this._editors.modified,_,w=>{g=w,g?v=cl.capture(this._editors.modified):(v==null||v.restore(this._editors.modified),v=void 0)},h)),this._accessibleDiffViewer=Gd(this,w=>this._instantiationService.createInstance(ta(Zu,w),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(y,D)=>this._accessibleDiffViewerShouldBeVisible.set(y,D),this._options.onlyShowAccessibleDiffViewer.map(y=>!y),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((y,D)=>{var L;return(L=y==null?void 0:y.diff.read(D))===null||L===void 0?void 0:L.mappings.map(k=>k.lineRangeMapping)}),new lSe(this._editors))).recomputeInitiallyAndOnChange(this._store);const b=this._accessibleDiffViewerVisible.map(w=>w?\"hidden\":\"visible\");this._register(Oh(this.elements.modified,{visibility:b})),this._register(Oh(this.elements.original,{visibility:b})),this._createDiffEditorContributions(),r.addDiffEditor(this),this._gutter=Gd(this,w=>this._options.shouldRenderGutterMenu.read(w)?this._instantiationService.createInstance(ta(vM,w),this.elements.root,this._diffModel,this._editors):void 0),this._register(T1(this._layoutInfo)),Gd(this,w=>new(ta(hh,w))(this.elements.root,this._diffModel,this._layoutInfo.map(y=>y.originalEditor),this._layoutInfo.map(y=>y.modifiedEditor),this._editors)).recomputeInitiallyAndOnChange(this._store,w=>{this._movedBlocksLinesPart.set(w,void 0)}),this._register(le.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,w=>this._handleCursorPositionChange(w,!0))),this._register(le.runAndSubscribe(this._editors.original.onDidChangeCursorPosition,w=>this._handleCursorPositionChange(w,!1)));const C=this._diffModel.map(this,(w,y)=>{if(w)return w.diff.read(y)===void 0&&!w.isDiffUpToDate.read(y)});this._register(Hr((w,y)=>{if(C.read(w)===!0){const D=this._editorProgressService.show(!0,1e3);y.add(Ie(()=>D.done()))}})),this._register(Ie(()=>{var w;this._shouldDisposeDiffModel&&((w=this._diffModel.get())===null||w===void 0||w.dispose())})),this._register(Hr((w,y)=>{y.add(new(ta(NSe,w))(this._editors,this._diffModel,this._options,this))}))}_createInnerEditor(e,t,i,n){return e.createInstance(y_,t,i,n)}_createDiffEditorContributions(){const e=Im.getDiffEditorContributions();for(const t of e)try{this._register(this._instantiationService.createInstance(t.ctor,this))}catch(i){Xe(i)}}get _targetEditor(){return this._editors.modified}getEditorType(){return p1.IDiffEditor}layout(e){this._rootSizeObserver.observe(e)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var e;const t=this._editors.original.saveViewState(),i=this._editors.modified.saveViewState();return{original:t,modified:i,modelState:(e=this._diffModel.get())===null||e===void 0?void 0:e.serializeState()}}restoreViewState(e){var t;if(e&&e.original&&e.modified){const i=e;this._editors.original.restoreViewState(i.original),this._editors.modified.restoreViewState(i.modified),i.modelState&&((t=this._diffModel.get())===null||t===void 0||t.restoreSerializedState(i.modelState))}}handleInitialized(){this._editors.original.handleInitialized(),this._editors.modified.handleInitialized()}createViewModel(e){return this._instantiationService.createInstance(mM,e,this._options)}getModel(){var e,t;return(t=(e=this._diffModel.get())===null||e===void 0?void 0:e.model)!==null&&t!==void 0?t:null}setModel(e,t){!e&&this._diffModel.get()&&this._accessibleDiffViewer.get().close();const i=e?\"model\"in e?{model:e,shouldDispose:!1}:{model:this.createViewModel(e),shouldDispose:!0}:void 0;this._diffModel.get()!==(i==null?void 0:i.model)&&hC(t,n=>{var o;Ot.batchEventsGlobally(n,()=>{this._editors.original.setModel(i?i.model.model.original:null),this._editors.modified.setModel(i?i.model.model.modified:null)});const r=this._diffModel.get(),a=this._shouldDisposeDiffModel;this._shouldDisposeDiffModel=(o=i==null?void 0:i.shouldDispose)!==null&&o!==void 0?o:!1,this._diffModel.set(i==null?void 0:i.model,n),a&&(r==null||r.dispose())})}updateOptions(e){this._options.updateOptions(e)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var e;const t=(e=this._diffModel.get())===null||e===void 0?void 0:e.diff.get();return t?OSe(t):null}revert(e){const t=this._diffModel.get();!t||!t.isDiffUpToDate.get()||this._editors.modified.executeEdits(\"diffEditor\",[{range:e.modified.toExclusiveRange(),text:t.model.original.getValueInRange(e.original.toExclusiveRange())}])}revertRangeMappings(e){const t=this._diffModel.get();if(!t||!t.isDiffUpToDate.get())return;const i=e.map(n=>({range:n.modifiedRange,text:t.model.original.getValueInRange(n.originalRange)}));this._editors.modified.executeEdits(\"diffEditor\",i)}_goTo(e){this._editors.modified.setPosition(new W(e.lineRangeMapping.modified.startLineNumber,1)),this._editors.modified.revealRangeInCenter(e.lineRangeMapping.modified.toExclusiveRange())}goToDiff(e){var t,i,n,o;const r=(i=(t=this._diffModel.get())===null||t===void 0?void 0:t.diff.get())===null||i===void 0?void 0:i.mappings;if(!r||r.length===0)return;const a=this._editors.modified.getPosition().lineNumber;let l;e===\"next\"?l=(n=r.find(d=>d.lineRangeMapping.modified.startLineNumber>a))!==null&&n!==void 0?n:r[0]:l=(o=YS(r,d=>d.lineRangeMapping.modified.startLineNumber<a))!==null&&o!==void 0?o:r[r.length-1],this._goTo(l),l.lineRangeMapping.modified.isEmpty?this._accessibilitySignalService.playSignal(Ke.diffLineDeleted,{source:\"diffEditor.goToDiff\"}):l.lineRangeMapping.original.isEmpty?this._accessibilitySignalService.playSignal(Ke.diffLineInserted,{source:\"diffEditor.goToDiff\"}):l&&this._accessibilitySignalService.playSignal(Ke.diffLineModified,{source:\"diffEditor.goToDiff\"})}revealFirstDiff(){const e=this._diffModel.get();e&&this.waitForDiff().then(()=>{var t;const i=(t=e.diff.get())===null||t===void 0?void 0:t.mappings;!i||i.length===0||this._goTo(i[0])})}accessibleDiffViewerNext(){this._accessibleDiffViewer.get().next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.get().prev()}async waitForDiff(){const e=this._diffModel.get();e&&await e.waitForDiff()}mapToOtherSide(){var e,t;const i=this._editors.modified.hasWidgetFocus(),n=i?this._editors.modified:this._editors.original,o=i?this._editors.original:this._editors.modified;let r;const a=n.getSelection();if(a){const l=(t=(e=this._diffModel.get())===null||e===void 0?void 0:e.diff.get())===null||t===void 0?void 0:t.mappings.map(d=>i?d.lineRangeMapping.flip():d.lineRangeMapping);if(l){const d=a7(a.getStartPosition(),l),c=a7(a.getEndPosition(),l);r=x.plusRange(d,c)}}return{destination:o,destinationSelection:r}}switchSide(){const{destination:e,destinationSelection:t}=this.mapToOtherSide();e.focus(),t&&e.setSelection(t)}exitCompareMove(){const e=this._diffModel.get();e&&e.movedTextToCompare.set(void 0,void 0)}collapseAllUnchangedRegions(){var e;const t=(e=this._diffModel.get())===null||e===void 0?void 0:e.unchangedRegions.get();t&&$t(i=>{for(const n of t)n.collapseAll(i)})}showAllUnchangedRegions(){var e;const t=(e=this._diffModel.get())===null||e===void 0?void 0:e.unchangedRegions.get();t&&$t(i=>{for(const n of t)n.showAll(i)})}_handleCursorPositionChange(e,t){var i,n;if((e==null?void 0:e.reason)===3){const o=(n=(i=this._diffModel.get())===null||i===void 0?void 0:i.diff.get())===null||n===void 0?void 0:n.mappings.find(r=>t?r.lineRangeMapping.modified.contains(e.position.lineNumber):r.lineRangeMapping.original.contains(e.position.lineNumber));o!=null&&o.lineRangeMapping.modified.isEmpty?this._accessibilitySignalService.playSignal(Ke.diffLineDeleted,{source:\"diffEditor.cursorPositionChanged\"}):o!=null&&o.lineRangeMapping.original.isEmpty?this._accessibilitySignalService.playSignal(Ke.diffLineInserted,{source:\"diffEditor.cursorPositionChanged\"}):o&&this._accessibilitySignalService.playSignal(Ke.diffLineModified,{source:\"diffEditor.cursorPositionChanged\"})}}};$c=FSe([J0(3,Be),J0(4,Ne),J0(5,xt),J0(6,rg),J0(7,sg)],$c);function OSe(s){return s.mappings.map(e=>{const t=e.lineRangeMapping;let i,n,o,r,a=t.innerChanges;return t.original.isEmpty?(i=t.original.startLineNumber-1,n=0,a=void 0):(i=t.original.startLineNumber,n=t.original.endLineNumberExclusive-1),t.modified.isEmpty?(o=t.modified.startLineNumber-1,r=0,a=void 0):(o=t.modified.startLineNumber,r=t.modified.endLineNumberExclusive-1),{originalStartLineNumber:i,originalEndLineNumber:n,modifiedStartLineNumber:o,modifiedEndLineNumber:r,charChanges:a==null?void 0:a.map(l=>({originalStartLineNumber:l.originalRange.startLineNumber,originalStartColumn:l.originalRange.startColumn,originalEndLineNumber:l.originalRange.endLineNumber,originalEndColumn:l.originalRange.endColumn,modifiedStartLineNumber:l.modifiedRange.startLineNumber,modifiedStartColumn:l.modifiedRange.startColumn,modifiedEndLineNumber:l.modifiedRange.endLineNumber,modifiedEndColumn:l.modifiedRange.endColumn}))}})}var t4=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ei=function(s,e){return function(t,i){e(t,i,s)}};let BSe=0,L7=!1;function WSe(s){if(!s){if(L7)return;L7=!0}fue(s||Ht.document.body)}let sL=class extends y_{constructor(e,t,i,n,o,r,a,l,d,c,u,h,g){const f={...t};f.ariaLabel=f.ariaLabel||LD.editorViewAccessibleLabel,f.ariaLabel=f.ariaLabel+\";\"+LD.accessibilityHelpMessage,super(e,f,{},i,n,o,r,d,c,u,h,g),l instanceof F_?this._standaloneKeybindingService=l:this._standaloneKeybindingService=null,WSe(f.ariaContainerElement),qbe((m,_)=>i.createInstance(S_,m,_,{})),Gbe(a)}addCommand(e,t,i){if(!this._standaloneKeybindingService)return console.warn(\"Cannot add command because the editor is configured with an unrecognized KeybindingService\"),null;const n=\"DYNAMIC_\"+ ++BSe,o=G.deserialize(i);return this._standaloneKeybindingService.addDynamicKeybinding(n,e,t,o),n}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if(typeof e.id!=\"string\"||typeof e.label!=\"string\"||typeof e.run!=\"function\")throw new Error(\"Invalid action descriptor, `id`, `label` and `run` are required properties!\");if(!this._standaloneKeybindingService)return console.warn(\"Cannot add keybinding because the editor is configured with an unrecognized KeybindingService\"),H.None;const t=e.id,i=e.label,n=G.and(G.equals(\"editorId\",this.getId()),G.deserialize(e.precondition)),o=e.keybindings,r=G.and(n,G.deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,l=e.contextMenuOrder||0,d=(g,...f)=>Promise.resolve(e.run(this,...f)),c=new Y,u=this.getId()+\":\"+t;if(c.add(pt.registerCommand(u,d)),a){const g={command:{id:u,title:i},when:n,group:a,order:l};c.add(yn.appendMenuItem(E.EditorContext,g))}if(Array.isArray(o))for(const g of o)c.add(this._standaloneKeybindingService.addDynamicKeybinding(u,g,d,r));const h=new u$(u,i,i,void 0,n,(...g)=>Promise.resolve(e.run(this,...g)),this._contextKeyService);return this._actions.set(t,h),c.add(Ie(()=>{this._actions.delete(t)})),c}_triggerCommand(e,t){if(this._codeEditorService instanceof _D)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};sL=t4([ei(2,Ne),ei(3,xt),ei(4,gi),ei(5,Be),ei(6,Md),ei(7,At),ei(8,_n),ei(9,en),ei(10,gr),ei(11,Yt),ei(12,Ce)],sL);let SM=class extends sL{constructor(e,t,i,n,o,r,a,l,d,c,u,h,g,f,m,_){const v={...t};QD(u,v,!1);const b=d.registerEditorContainer(e);typeof v.theme==\"string\"&&d.setTheme(v.theme),typeof v.autoDetectHighContrast<\"u\"&&d.setAutoDetectHighContrast(!!v.autoDetectHighContrast);const C=v.model;delete v.model,super(e,v,i,n,o,r,a,l,d,c,h,m,_),this._configurationService=u,this._standaloneThemeService=d,this._register(b);let w;if(typeof C>\"u\"){const y=f.getLanguageIdByMimeType(v.language)||v.language||ir;w=kK(g,f,v.value||\"\",y,void 0),this._ownsModel=!0}else w=C,this._ownsModel=!1;if(this._attachModel(w),w){const y={oldModelUrl:null,newModelUrl:w.uri};this._onDidChangeModel.fire(y)}}dispose(){super.dispose()}updateOptions(e){QD(this._configurationService,e,!1),typeof e.theme==\"string\"&&this._standaloneThemeService.setTheme(e.theme),typeof e.autoDetectHighContrast<\"u\"&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};SM=t4([ei(2,Ne),ei(3,xt),ei(4,gi),ei(5,Be),ei(6,Md),ei(7,At),ei(8,Sa),ei(9,en),ei(10,rt),ei(11,gr),ei(12,_i),ei(13,vi),ei(14,Yt),ei(15,Ce)],SM);let DM=class extends $c{constructor(e,t,i,n,o,r,a,l,d,c,u,h){const g={...t};QD(l,g,!0);const f=r.registerEditorContainer(e);typeof g.theme==\"string\"&&r.setTheme(g.theme),typeof g.autoDetectHighContrast<\"u\"&&r.setAutoDetectHighContrast(!!g.autoDetectHighContrast),super(e,g,{},n,i,o,h,c),this._configurationService=l,this._standaloneThemeService=r,this._register(f)}dispose(){super.dispose()}updateOptions(e){QD(this._configurationService,e,!0),typeof e.theme==\"string\"&&this._standaloneThemeService.setTheme(e.theme),typeof e.autoDetectHighContrast<\"u\"&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_createInnerEditor(e,t,i){return e.createInstance(sL,t,i)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,i){return this.getModifiedEditor().addCommand(e,t,i)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};DM=t4([ei(2,Ne),ei(3,Be),ei(4,xt),ei(5,Sa),ei(6,en),ei(7,rt),ei(8,Oo),ei(9,sg),ei(10,ru),ei(11,rg)],DM);function kK(s,e,t,i,n){if(t=t||\"\",!i){const o=t.indexOf(`\n`);let r=t;return o!==-1&&(r=t.substring(0,o)),x7(s,t,e.createByFilepathOrFirstLine(n||null,r),n)}return x7(s,t,e.createById(i),n)}function x7(s,e,t,i){return s.createModel(e,t,i)}var HSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},VSe=function(s,e){return function(t,i){e(t,i,s)}};class zSe{constructor(e,t){this.viewModel=e,this.deltaScrollVertical=t}getId(){return this.viewModel}}let oL=class extends H{constructor(e,t,i,n){super(),this._container=e,this._overflowWidgetsDomNode=t,this._workbenchUIElementFactory=i,this._instantiationService=n,this._viewModel=vt(this,void 0),this._collapsed=je(this,r=>{var a;return(a=this._viewModel.read(r))===null||a===void 0?void 0:a.collapsed.read(r)}),this._editorContentHeight=vt(this,500),this.contentHeight=je(this,r=>(this._collapsed.read(r)?0:this._editorContentHeight.read(r))+this._outerEditorHeight),this._modifiedContentWidth=vt(this,0),this._modifiedWidth=vt(this,0),this._originalContentWidth=vt(this,0),this._originalWidth=vt(this,0),this.maxScroll=je(this,r=>{const a=this._modifiedContentWidth.read(r)-this._modifiedWidth.read(r),l=this._originalContentWidth.read(r)-this._originalWidth.read(r);return a>l?{maxScroll:a,width:this._modifiedWidth.read(r)}:{maxScroll:l,width:this._originalWidth.read(r)}}),this._elements=Nt(\"div.multiDiffEntry\",[Nt(\"div.header@header\",[Nt(\"div.header-content\",[Nt(\"div.collapse-button@collapseButton\"),Nt(\"div.file-path\",[Nt(\"div.title.modified.show-file-icons@primaryPath\",[]),Nt(\"div.status.deleted@status\",[\"R\"]),Nt(\"div.title.original.show-file-icons@secondaryPath\",[])]),Nt(\"div.actions@actions\")])]),Nt(\"div.editorParent\",[Nt(\"div.editorContainer@editor\")])]),this.editor=this._register(this._instantiationService.createInstance($c,this._elements.editor,{overflowWidgetsDomNode:this._overflowWidgetsDomNode},{})),this.isModifedFocused=k7(this.editor.getModifiedEditor()),this.isOriginalFocused=k7(this.editor.getOriginalEditor()),this.isFocused=je(this,r=>this.isModifedFocused.read(r)||this.isOriginalFocused.read(r)),this._resourceLabel=this._workbenchUIElementFactory.createResourceLabel?this._register(this._workbenchUIElementFactory.createResourceLabel(this._elements.primaryPath)):void 0,this._resourceLabel2=this._workbenchUIElementFactory.createResourceLabel?this._register(this._workbenchUIElementFactory.createResourceLabel(this._elements.secondaryPath)):void 0,this._dataStore=new Y,this._headerHeight=40,this._lastScrollTop=-1,this._isSettingScrollTop=!1;const o=new KD(this._elements.collapseButton,{});this._register(st(r=>{o.element.className=\"\",o.icon=this._collapsed.read(r)?oe.chevronRight:oe.chevronDown})),this._register(o.onDidClick(()=>{var r;(r=this._viewModel.get())===null||r===void 0||r.collapsed.set(!this._collapsed.get(),void 0)})),this._register(st(r=>{this._elements.editor.style.display=this._collapsed.read(r)?\"none\":\"block\"})),this._register(this.editor.getModifiedEditor().onDidLayoutChange(r=>{const a=this.editor.getModifiedEditor().getLayoutInfo().contentWidth;this._modifiedWidth.set(a,void 0)})),this._register(this.editor.getOriginalEditor().onDidLayoutChange(r=>{const a=this.editor.getOriginalEditor().getLayoutInfo().contentWidth;this._originalWidth.set(a,void 0)})),this._register(this.editor.onDidContentSizeChange(r=>{eS(a=>{this._editorContentHeight.set(r.contentHeight,a),this._modifiedContentWidth.set(this.editor.getModifiedEditor().getContentWidth(),a),this._originalContentWidth.set(this.editor.getOriginalEditor().getContentWidth(),a)})})),this._register(this.editor.getOriginalEditor().onDidScrollChange(r=>{if(this._isSettingScrollTop||!r.scrollTopChanged||!this._data)return;const a=r.scrollTop-this._lastScrollTop;this._data.deltaScrollVertical(a)})),this._register(st(r=>{var a;const l=(a=this._viewModel.read(r))===null||a===void 0?void 0:a.isActive.read(r);this._elements.root.classList.toggle(\"active\",l)})),this._container.appendChild(this._elements.root),this._outerEditorHeight=this._headerHeight,this._register(this._instantiationService.createInstance(nL,this._elements.actions,E.MultiDiffEditorFileToolbar,{actionRunner:this._register(new DK(()=>{var r;return(r=this._viewModel.get())===null||r===void 0?void 0:r.modifiedUri})),menuOptions:{shouldForwardArgs:!0},toolbarOptions:{primaryGroup:r=>r.startsWith(\"navigation\")},actionViewItemProvider:(r,a)=>kj(n,r,a)}))}setScrollLeft(e){this._modifiedContentWidth.get()-this._modifiedWidth.get()>this._originalContentWidth.get()-this._originalWidth.get()?this.editor.getModifiedEditor().setScrollLeft(e):this.editor.getOriginalEditor().setScrollLeft(e)}setData(e){this._data=e;function t(n){return{...n,scrollBeyondLastLine:!1,hideUnchangedRegions:{enabled:!0},scrollbar:{vertical:\"hidden\",horizontal:\"hidden\",handleMouseWheel:!1,useShadows:!1},renderOverviewRuler:!1,fixedOverflowWidgets:!0,overviewRulerBorder:!1}}const i=e.viewModel.entry.value;i.onOptionsDidChange&&this._dataStore.add(i.onOptionsDidChange(()=>{var n;this.editor.updateOptions(t((n=i.options)!==null&&n!==void 0?n:{}))})),eS(n=>{var o,r,a,l;(o=this._resourceLabel)===null||o===void 0||o.setUri((r=e.viewModel.modifiedUri)!==null&&r!==void 0?r:e.viewModel.originalUri,{strikethrough:e.viewModel.modifiedUri===void 0});let d=!1,c=!1,u=!1,h=\"\";e.viewModel.modifiedUri&&e.viewModel.originalUri&&e.viewModel.modifiedUri.path!==e.viewModel.originalUri.path?(h=\"R\",d=!0):e.viewModel.modifiedUri?e.viewModel.originalUri||(h=\"A\",u=!0):(h=\"D\",c=!0),this._elements.status.classList.toggle(\"renamed\",d),this._elements.status.classList.toggle(\"deleted\",c),this._elements.status.classList.toggle(\"added\",u),this._elements.status.innerText=h,(a=this._resourceLabel2)===null||a===void 0||a.setUri(d?e.viewModel.originalUri:void 0,{strikethrough:!0}),this._dataStore.clear(),this._viewModel.set(e.viewModel,n),this.editor.setModel(e.viewModel.diffEditorViewModel,n),this.editor.updateOptions(t((l=i.options)!==null&&l!==void 0?l:{}))})}render(e,t,i,n){this._elements.root.style.visibility=\"visible\",this._elements.root.style.top=`${e.start}px`,this._elements.root.style.height=`${e.length}px`,this._elements.root.style.width=`${t}px`,this._elements.root.style.position=\"absolute\";const o=e.length-this._headerHeight,r=Math.max(0,Math.min(n.start-e.start,o));this._elements.header.style.transform=`translateY(${r}px)`,eS(a=>{this.editor.layout({width:t-2*8-2*1,height:e.length-this._outerEditorHeight})});try{this._isSettingScrollTop=!0,this._lastScrollTop=i,this.editor.getOriginalEditor().setScrollTop(i)}finally{this._isSettingScrollTop=!1}this._elements.header.classList.toggle(\"shadow\",r>0||i>0),this._elements.header.classList.toggle(\"collapsed\",r===o)}hide(){this._elements.root.style.top=\"-100000px\",this._elements.root.style.visibility=\"hidden\"}};oL=HSe([VSe(3,Ne)],oL);function k7(s){return Ot(e=>{const t=new Y;return t.add(s.onDidFocusEditorWidget(()=>e(!0))),t.add(s.onDidBlurEditorWidget(()=>e(!1))),t},()=>s.hasTextFocus())}class USe{constructor(e){this._create=e,this._unused=new Set,this._used=new Set,this._itemData=new Map}getUnusedObj(e){var t;let i;if(this._unused.size===0)i=this._create(e),this._itemData.set(i,e);else{const n=[...this._unused.values()];i=(t=n.find(o=>this._itemData.get(o).getId()===e.getId()))!==null&&t!==void 0?t:n[0],this._unused.delete(i),this._itemData.set(i,e),i.setData(e)}return this._used.add(i),{object:i,dispose:()=>{this._used.delete(i),this._unused.size>5?i.dispose():this._unused.add(i)}}}dispose(){for(const e of this._used)e.dispose();for(const e of this._unused)e.dispose();this._used.clear(),this._unused.clear()}}var $Se=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},E7=function(s,e){return function(t,i){e(t,i,s)}};let LM=class extends H{constructor(e,t,i,n,o,r){super(),this._element=e,this._dimension=t,this._viewModel=i,this._workbenchUIElementFactory=n,this._parentContextKeyService=o,this._parentInstantiationService=r,this._elements=Nt(\"div.monaco-component.multiDiffEditor\",[Nt(\"div@content\",{style:{overflow:\"hidden\"}}),Nt(\"div.monaco-editor@overflowWidgetsDomNode\",{})]),this._sizeObserver=this._register(new vK(this._element,void 0)),this._objectPool=this._register(new USe(l=>{const d=this._instantiationService.createInstance(oL,this._elements.content,this._elements.overflowWidgetsDomNode,this._workbenchUIElementFactory);return d.setData(l),d})),this._scrollable=this._register(new u0({forceIntegerValues:!1,scheduleAtNextAnimationFrame:l=>Ao(Te(this._element),l),smoothScrollDuration:100})),this._scrollableElement=this._register(new Lx(this._elements.root,{vertical:1,horizontal:1,useShadows:!1},this._scrollable)),this.scrollTop=Ot(this._scrollableElement.onScroll,()=>this._scrollableElement.getScrollPosition().scrollTop),this.scrollLeft=Ot(this._scrollableElement.onScroll,()=>this._scrollableElement.getScrollPosition().scrollLeft),this._viewItemsInfo=g0(this,(l,d)=>{const c=this._viewModel.read(l);if(!c)return{items:[],getItem:f=>{throw new Ut}};const u=c.items.read(l),h=new Map;return{items:u.map(f=>{var m;const _=d.add(new jSe(f,this._objectPool,this.scrollLeft,b=>{this._scrollableElement.setScrollPosition({scrollTop:this._scrollableElement.getScrollPosition().scrollTop+b})})),v=(m=this._lastDocStates)===null||m===void 0?void 0:m[_.getKey()];return v&&$t(b=>{_.setViewState(v,b)}),h.set(f,_),_}),getItem:f=>h.get(f)}}),this._viewItems=this._viewItemsInfo.map(this,l=>l.items),this._spaceBetweenPx=0,this._totalHeight=this._viewItems.map(this,(l,d)=>l.reduce((c,u)=>c+u.contentHeight.read(d)+this._spaceBetweenPx,0)),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._element)),this._instantiationService=this._parentInstantiationService.createChild(new L1([Be,this._contextKeyService])),this._lastDocStates={},this._contextKeyService.createKey(T.inMultiDiffEditor.key,!0),this._register(Hr((l,d)=>{const c=this._viewModel.read(l);if(c&&c.contextKeys)for(const[u,h]of Object.entries(c.contextKeys)){const g=this._contextKeyService.createKey(u,void 0);g.set(h),d.add(Ie(()=>g.reset()))}}));const a=this._parentContextKeyService.createKey(T.multiDiffEditorAllCollapsed.key,!1);this._register(st(l=>{const d=this._viewModel.read(l);if(d){const c=d.items.read(l).every(u=>u.collapsed.read(l));a.set(c)}})),this._register(st(l=>{const d=this._dimension.read(l);this._sizeObserver.observe(d)})),this._elements.content.style.position=\"relative\",this._register(st(l=>{const d=this._sizeObserver.height.read(l);this._elements.root.style.height=`${d}px`;const c=this._totalHeight.read(l);this._elements.content.style.height=`${c}px`;const u=this._sizeObserver.width.read(l);let h=u;const g=this._viewItems.read(l),f=wF(g,ao(m=>m.maxScroll.read(l).maxScroll,ua));if(f){const m=f.maxScroll.read(l);h=u+m.maxScroll}this._scrollableElement.setScrollDimensions({width:u,height:d,scrollHeight:c,scrollWidth:h})})),e.replaceChildren(this._scrollableElement.getDomNode()),this._register(Ie(()=>{e.replaceChildren()})),this._register(this._register(st(l=>{eS(d=>{this.render(l)})})))}render(e){const t=this.scrollTop.read(e);let i=0,n=0,o=0;const r=this._sizeObserver.height.read(e),a=et.ofStartAndLength(t,r),l=this._sizeObserver.width.read(e);for(const d of this._viewItems.read(e)){const c=d.contentHeight.read(e),u=Math.min(c,r),h=et.ofStartAndLength(n,u),g=et.ofStartAndLength(o,c);if(g.isBefore(a))i-=c-u,d.hide();else if(g.isAfter(a))d.hide();else{const f=Math.max(0,Math.min(a.start-g.start,c-u));i-=f;const m=et.ofStartAndLength(t+i,r);d.render(h,f,l,m)}n+=u+this._spaceBetweenPx,o+=c+this._spaceBetweenPx}this._elements.content.style.transform=`translateY(${-(t+i)}px)`}};LM=$Se([E7(4,Be),E7(5,Ne)],LM);class jSe extends H{constructor(e,t,i,n){super(),this.viewModel=e,this._objectPool=t,this._scrollLeft=i,this._deltaScrollVertical=n,this._templateRef=this._register(gC(this,void 0)),this.contentHeight=je(this,o=>{var r,a,l;return(l=(a=(r=this._templateRef.read(o))===null||r===void 0?void 0:r.object.contentHeight)===null||a===void 0?void 0:a.read(o))!==null&&l!==void 0?l:this.viewModel.lastTemplateData.read(o).contentHeight}),this.maxScroll=je(this,o=>{var r,a;return(a=(r=this._templateRef.read(o))===null||r===void 0?void 0:r.object.maxScroll.read(o))!==null&&a!==void 0?a:{maxScroll:0,scrollWidth:0}}),this.template=je(this,o=>{var r;return(r=this._templateRef.read(o))===null||r===void 0?void 0:r.object}),this._isHidden=vt(this,!1),this._isFocused=je(this,o=>{var r,a;return(a=(r=this.template.read(o))===null||r===void 0?void 0:r.isFocused.read(o))!==null&&a!==void 0?a:!1}),this.viewModel.setIsFocused(this._isFocused,void 0),this._register(st(o=>{var r;const a=this._scrollLeft.read(o);(r=this._templateRef.read(o))===null||r===void 0||r.object.setScrollLeft(a)})),this._register(st(o=>{const r=this._templateRef.read(o);!r||!this._isHidden.read(o)||r.object.isFocused.read(o)||this._clear()}))}dispose(){this._clear(),super.dispose()}toString(){var e;return`VirtualViewItem(${(e=this.viewModel.entry.value.modified)===null||e===void 0?void 0:e.uri.toString()})`}getKey(){return this.viewModel.getKey()}setViewState(e,t){var i;this.viewModel.collapsed.set(e.collapsed,t),this._updateTemplateData(t);const n=this.viewModel.lastTemplateData.get(),o=(i=e.selections)===null||i===void 0?void 0:i.map(we.liftSelection);this.viewModel.lastTemplateData.set({...n,selections:o},t);const r=this._templateRef.get();r&&o&&r.object.editor.setSelections(o)}_updateTemplateData(e){var t;const i=this._templateRef.get();i&&this.viewModel.lastTemplateData.set({contentHeight:i.object.contentHeight.get(),selections:(t=i.object.editor.getSelections())!==null&&t!==void 0?t:void 0},e)}_clear(){const e=this._templateRef.get();e&&$t(t=>{this._updateTemplateData(t),e.object.hide(),this._templateRef.set(void 0,t)})}hide(){this._isHidden.set(!0,void 0)}render(e,t,i,n){this._isHidden.set(!1,void 0);let o=this._templateRef.get();if(!o){o=this._objectPool.getUnusedObj(new zSe(this.viewModel,this._deltaScrollVertical)),this._templateRef.set(o,void 0);const r=this.viewModel.lastTemplateData.get().selections;r&&o.object.editor.setSelections(r)}o.object.render(e,i,t,n)}}N(\"multiDiffEditor.headerBackground\",{dark:\"#262626\",light:\"tab.inactiveBackground\",hcDark:\"tab.inactiveBackground\",hcLight:\"tab.inactiveBackground\"},p(\"multiDiffEditor.headerBackground\",\"The background color of the diff editor's header\"));N(\"multiDiffEditor.background\",{dark:\"editorBackground\",light:\"editorBackground\",hcDark:\"editorBackground\",hcLight:\"editorBackground\"},p(\"multiDiffEditor.background\",\"The background color of the multi file diff editor\"));N(\"multiDiffEditor.border\",{dark:\"sideBarSectionHeader.border\",light:\"#cccccc\",hcDark:\"sideBarSectionHeader.border\",hcLight:\"#cccccc\"},p(\"multiDiffEditor.border\",\"The border color of the multi file diff editor\"));var KSe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},qSe=function(s,e){return function(t,i){e(t,i,s)}};let xM=class extends H{constructor(e,t,i){super(),this._element=e,this._workbenchUIElementFactory=t,this._instantiationService=i,this._dimension=vt(this,void 0),this._viewModel=vt(this,void 0),this._widgetImpl=g0(this,(n,o)=>(ta(oL,n),o.add(this._instantiationService.createInstance(ta(LM,n),this._element,this._dimension,this._viewModel,this._workbenchUIElementFactory)))),this._register(T1(this._widgetImpl))}};xM=KSe([qSe(2,Ne)],xM);function GSe(s,e,t){return Fe.initialize(t||{}).createInstance(SM,s,e)}function ZSe(s){return Fe.get(xt).onCodeEditorAdd(t=>{s(t)})}function XSe(s){return Fe.get(xt).onDiffEditorAdd(t=>{s(t)})}function YSe(){return Fe.get(xt).listCodeEditors()}function QSe(){return Fe.get(xt).listDiffEditors()}function JSe(s,e,t){return Fe.initialize(t||{}).createInstance(DM,s,e)}function eDe(s,e){const t=Fe.initialize(e||{});return new xM(s,{},t)}function tDe(s){if(typeof s.id!=\"string\"||typeof s.run!=\"function\")throw new Error(\"Invalid command descriptor, `id` and `run` are required properties!\");return pt.registerCommand(s.id,s.run)}function iDe(s){if(typeof s.id!=\"string\"||typeof s.label!=\"string\"||typeof s.run!=\"function\")throw new Error(\"Invalid action descriptor, `id`, `label` and `run` are required properties!\");const e=G.deserialize(s.precondition),t=(n,...o)=>mn.runEditorCommand(n,o,e,(r,a,l)=>Promise.resolve(s.run(a,...l))),i=new Y;if(i.add(pt.registerCommand(s.id,t)),s.contextMenuGroupId){const n={command:{id:s.id,title:s.label},when:e,group:s.contextMenuGroupId,order:s.contextMenuOrder||0};i.add(yn.appendMenuItem(E.EditorContext,n))}if(Array.isArray(s.keybindings)){const n=Fe.get(At);if(!(n instanceof F_))console.warn(\"Cannot add keybinding because the editor is configured with an unrecognized KeybindingService\");else{const o=G.and(e,G.deserialize(s.keybindingContext));i.add(n.addDynamicKeybindings(s.keybindings.map(r=>({keybinding:r,command:s.id,when:o}))))}}return i}function nDe(s){return EK([s])}function EK(s){const e=Fe.get(At);return e instanceof F_?e.addDynamicKeybindings(s.map(t=>({keybinding:t.keybinding,command:t.command,commandArgs:t.commandArgs,when:G.deserialize(t.when)}))):(console.warn(\"Cannot add keybinding because the editor is configured with an unrecognized KeybindingService\"),H.None)}function sDe(s,e,t){const i=Fe.get(vi),n=i.getLanguageIdByMimeType(e)||e;return kK(Fe.get(_i),i,s,n,t)}function oDe(s,e){const t=Fe.get(vi),i=t.getLanguageIdByMimeType(e)||e||ir;s.setLanguage(t.createById(i))}function rDe(s,e,t){s&&Fe.get(Pd).changeOne(e,s.uri,t)}function aDe(s){Fe.get(Pd).changeAll(s,[])}function lDe(s){return Fe.get(Pd).read(s)}function dDe(s){return Fe.get(Pd).onMarkerChanged(s)}function cDe(s){return Fe.get(_i).getModel(s)}function uDe(){return Fe.get(_i).getModels()}function hDe(s){return Fe.get(_i).onModelAdded(s)}function gDe(s){return Fe.get(_i).onModelRemoved(s)}function fDe(s){return Fe.get(_i).onModelLanguageChanged(t=>{s({model:t.model,oldLanguage:t.oldLanguageId})})}function pDe(s){return Vce(Fe.get(_i),Fe.get(Yt),s)}function mDe(s,e){const t=Fe.get(vi),i=Fe.get(Sa);return IF.colorizeElement(i,t,s,e).then(()=>{i.registerEditorContainer(s)})}function _De(s,e,t){const i=Fe.get(vi);return Fe.get(Sa).registerEditorContainer(Ht.document.body),IF.colorize(i,s,e,t)}function vDe(s,e,t=4){return Fe.get(Sa).registerEditorContainer(Ht.document.body),IF.colorizeModelLine(s,e,t)}function bDe(s){const e=Ki.get(s);return e||{getInitialState:()=>Ub,tokenize:(t,i,n)=>mU(s,n)}}function CDe(s,e){Ki.getOrCreate(e);const t=bDe(e),i=Td(s),n=[];let o=t.getInitialState();for(let r=0,a=i.length;r<a;r++){const l=i[r],d=t.tokenize(l,!0,o);n[r]=d.tokens,o=d.endState}return n}function wDe(s,e){Fe.get(Sa).defineTheme(s,e)}function yDe(s){Fe.get(Sa).setTheme(s)}function SDe(){aA.clearAllFontInfos()}function DDe(s,e){return pt.registerCommand({id:s,handler:e})}function LDe(s){return Fe.get(Bo).registerOpener({async open(t){return typeof t==\"string\"&&(t=Ae.parse(t)),s.open(t)}})}function xDe(s){return Fe.get(xt).registerCodeEditorOpenHandler(async(t,i,n)=>{var o;if(!i)return null;const r=(o=t.options)===null||o===void 0?void 0:o.selection;let a;return r&&typeof r.endLineNumber==\"number\"&&typeof r.endColumn==\"number\"?a=r:r&&(a={lineNumber:r.startLineNumber,column:r.startColumn}),await s.openCodeEditor(i,t.resource,a)?i:null})}function kDe(){return{create:GSe,getEditors:YSe,getDiffEditors:QSe,onDidCreateEditor:ZSe,onDidCreateDiffEditor:XSe,createDiffEditor:JSe,addCommand:tDe,addEditorAction:iDe,addKeybindingRule:nDe,addKeybindingRules:EK,createModel:sDe,setModelLanguage:oDe,setModelMarkers:rDe,getModelMarkers:lDe,removeAllMarkers:aDe,onDidChangeMarkers:dDe,getModels:uDe,getModel:cDe,onDidCreateModel:hDe,onWillDisposeModel:gDe,onDidChangeModelLanguage:fDe,createWebWorker:pDe,colorizeElement:mDe,colorize:_De,colorizeModelLine:vDe,tokenize:CDe,defineTheme:wDe,setTheme:yDe,remeasureFonts:SDe,registerCommand:DDe,registerLinkOpener:LDe,registerEditorOpener:xDe,AccessibilitySupport:oN,ContentWidgetPositionPreference:uN,CursorChangeReason:hN,DefaultEndOfLine:gN,EditorAutoIndentStrategy:pN,EditorOption:mN,EndOfLinePreference:_N,EndOfLineSequence:vN,MinimapPosition:IN,MinimapSectionHeaderStyle:TN,MouseTargetType:NN,OverlayWidgetPositionPreference:RN,OverviewRulerLane:PN,GlyphMarginLane:bN,RenderLineNumbersType:BN,RenderMinimap:WN,ScrollbarVisibility:VN,ScrollType:HN,TextEditorCursorBlinkingStyle:qN,TextEditorCursorStyle:GN,TrackedRangeStickiness:ZN,WrappingIndent:XN,InjectedTextCursorStops:yN,PositionAffinity:ON,ShowLightbulbIconMode:UN,ConfigurationChangedEvent:HV,BareFontInfo:rf,FontInfo:rA,TextModelResolvedOptions:Vy,FindMatch:Wb,ApplyUpdateResult:Hv,EditorZoom:Sr,createMultiFileDiffEditor:eDe,EditorType:p1,EditorOptions:hl}}function EDe(s,e){if(!e||!Array.isArray(e))return!1;for(const t of e)if(!s(t))return!1;return!0}function iy(s,e){return typeof s==\"boolean\"?s:e}function I7(s,e){return typeof s==\"string\"?s:e}function IDe(s){const e={};for(const t of s)e[t]=!0;return e}function T7(s,e=!1){e&&(s=s.map(function(i){return i.toLowerCase()}));const t=IDe(s);return e?function(i){return t[i.toLowerCase()]!==void 0&&t.hasOwnProperty(i.toLowerCase())}:function(i){return t[i]!==void 0&&t.hasOwnProperty(i)}}function kM(s,e,t){e=e.replace(/@@/g,\"\u0001\");let i=0,n;do n=!1,e=e.replace(/@(\\w+)/g,function(r,a){n=!0;let l=\"\";if(typeof s[a]==\"string\")l=s[a];else if(s[a]&&s[a]instanceof RegExp)l=s[a].source;else throw s[a]===void 0?ai(s,\"language definition does not contain attribute '\"+a+\"', used at: \"+e):ai(s,\"attribute reference '\"+a+\"' must be a string, used at: \"+e);return Og(l)?\"\":\"(?:\"+l+\")\"}),i++;while(n&&i<5);e=e.replace(/\\x01/g,\"@\");const o=(s.ignoreCase?\"i\":\"\")+(s.unicode?\"u\":\"\");if(t&&e.match(/\\$[sS](\\d\\d?)/g)){let a=null,l=null;return d=>(l&&a===d||(a=d,l=new RegExp(rue(s,e,d),o)),l)}return new RegExp(e,o)}function TDe(s,e,t,i){if(i<0)return s;if(i<e.length)return e[i];if(i>=100){i=i-100;const n=t.split(\".\");if(n.unshift(t),i<n.length)return n[i]}return null}function NDe(s,e,t,i){let n=-1,o=t,r=t.match(/^\\$(([sS]?)(\\d\\d?)|#)(.*)$/);r&&(r[3]&&(n=parseInt(r[3]),r[2]&&(n=n+100)),o=r[4]);let a=\"~\",l=o;!o||o.length===0?(a=\"!=\",l=\"\"):/^\\w*$/.test(l)?a=\"==\":(r=o.match(/^(@|!@|~|!~|==|!=)(.*)$/),r&&(a=r[1],l=r[2]));let d;if((a===\"~\"||a===\"!~\")&&/^(\\w|\\|)*$/.test(l)){const c=T7(l.split(\"|\"),s.ignoreCase);d=function(u){return a===\"~\"?c(u):!c(u)}}else if(a===\"@\"||a===\"!@\"){const c=s[l];if(!c)throw ai(s,\"the @ match target '\"+l+\"' is not defined, in rule: \"+e);if(!EDe(function(h){return typeof h==\"string\"},c))throw ai(s,\"the @ match target '\"+l+\"' must be an array of strings, in rule: \"+e);const u=T7(c,s.ignoreCase);d=function(h){return a===\"@\"?u(h):!u(h)}}else if(a===\"~\"||a===\"!~\")if(l.indexOf(\"$\")<0){const c=kM(s,\"^\"+l+\"$\",!1);d=function(u){return a===\"~\"?c.test(u):!c.test(u)}}else d=function(c,u,h,g){return kM(s,\"^\"+Tu(s,l,u,h,g)+\"$\",!1).test(c)};else if(l.indexOf(\"$\")<0){const c=Tc(s,l);d=function(u){return a===\"==\"?u===c:u!==c}}else{const c=Tc(s,l);d=function(u,h,g,f,m){const _=Tu(s,c,h,g,f);return a===\"==\"?u===_:u!==_}}return n===-1?{name:t,value:i,test:function(c,u,h,g){return d(c,c,u,h,g)}}:{name:t,value:i,test:function(c,u,h,g){const f=TDe(c,u,h,n);return d(f||\"\",c,u,h,g)}}}function EM(s,e,t){if(t){if(typeof t==\"string\")return t;if(t.token||t.token===\"\"){if(typeof t.token!=\"string\")throw ai(s,\"a 'token' attribute must be of type string, in rule: \"+e);{const i={token:t.token};if(t.token.indexOf(\"$\")>=0&&(i.tokenSubst=!0),typeof t.bracket==\"string\")if(t.bracket===\"@open\")i.bracket=1;else if(t.bracket===\"@close\")i.bracket=-1;else throw ai(s,\"a 'bracket' attribute must be either '@open' or '@close', in rule: \"+e);if(t.next){if(typeof t.next!=\"string\")throw ai(s,\"the next state must be a string value in rule: \"+e);{let n=t.next;if(!/^(@pop|@push|@popall)$/.test(n)&&(n[0]===\"@\"&&(n=n.substr(1)),n.indexOf(\"$\")<0&&!aue(s,Tu(s,n,\"\",[],\"\"))))throw ai(s,\"the next state '\"+t.next+\"' is not defined in rule: \"+e);i.next=n}}return typeof t.goBack==\"number\"&&(i.goBack=t.goBack),typeof t.switchTo==\"string\"&&(i.switchTo=t.switchTo),typeof t.log==\"string\"&&(i.log=t.log),typeof t.nextEmbedded==\"string\"&&(i.nextEmbedded=t.nextEmbedded,s.usesEmbedded=!0),i}}else if(Array.isArray(t)){const i=[];for(let n=0,o=t.length;n<o;n++)i[n]=EM(s,e,t[n]);return{group:i}}else if(t.cases){const i=[];for(const o in t.cases)if(t.cases.hasOwnProperty(o)){const r=EM(s,e,t.cases[o]);o===\"@default\"||o===\"@\"||o===\"\"?i.push({test:void 0,value:r,name:o}):o===\"@eos\"?i.push({test:function(a,l,d,c){return c},value:r,name:o}):i.push(NDe(s,e,o,r))}const n=s.defaultToken;return{test:function(o,r,a,l){for(const d of i)if(!d.test||d.test(o,r,a,l))return d.value;return n}}}else throw ai(s,\"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: \"+e)}else return{token:\"\"}}class ADe{constructor(e){this.regex=new RegExp(\"\"),this.action={token:\"\"},this.matchOnlyAtLineStart=!1,this.name=\"\",this.name=e}setRegex(e,t){let i;if(typeof t==\"string\")i=t;else if(t instanceof RegExp)i=t.source;else throw ai(e,\"rules must start with a match string or regular expression: \"+this.name);this.matchOnlyAtLineStart=i.length>0&&i[0]===\"^\",this.name=this.name+\": \"+i,this.regex=kM(e,\"^(?:\"+(this.matchOnlyAtLineStart?i.substr(1):i)+\")\",!0)}setAction(e,t){this.action=EM(e,this.name,t)}resolveRegex(e){return this.regex instanceof RegExp?this.regex:this.regex(e)}}function IK(s,e){if(!e||typeof e!=\"object\")throw new Error(\"Monarch: expecting a language definition object\");const t={};t.languageId=s,t.includeLF=iy(e.includeLF,!1),t.noThrow=!1,t.maxStack=100,t.start=typeof e.start==\"string\"?e.start:null,t.ignoreCase=iy(e.ignoreCase,!1),t.unicode=iy(e.unicode,!1),t.tokenPostfix=I7(e.tokenPostfix,\".\"+t.languageId),t.defaultToken=I7(e.defaultToken,\"source\"),t.usesEmbedded=!1;const i=e;i.languageId=s,i.includeLF=t.includeLF,i.ignoreCase=t.ignoreCase,i.unicode=t.unicode,i.noThrow=t.noThrow,i.usesEmbedded=t.usesEmbedded,i.stateNames=e.tokenizer,i.defaultToken=t.defaultToken;function n(r,a,l){for(const d of l){let c=d.include;if(c){if(typeof c!=\"string\")throw ai(t,\"an 'include' attribute must be a string at: \"+r);if(c[0]===\"@\"&&(c=c.substr(1)),!e.tokenizer[c])throw ai(t,\"include target '\"+c+\"' is not defined at: \"+r);n(r+\".\"+c,a,e.tokenizer[c])}else{const u=new ADe(r);if(Array.isArray(d)&&d.length>=1&&d.length<=3)if(u.setRegex(i,d[0]),d.length>=3)if(typeof d[1]==\"string\")u.setAction(i,{token:d[1],next:d[2]});else if(typeof d[1]==\"object\"){const h=d[1];h.next=d[2],u.setAction(i,h)}else throw ai(t,\"a next state as the last element of a rule can only be given if the action is either an object or a string, at: \"+r);else u.setAction(i,d[1]);else{if(!d.regex)throw ai(t,\"a rule must either be an array, or an object with a 'regex' or 'include' field at: \"+r);d.name&&typeof d.name==\"string\"&&(u.name=d.name),d.matchOnlyAtStart&&(u.matchOnlyAtLineStart=iy(d.matchOnlyAtLineStart,!1)),u.setRegex(i,d.regex),u.setAction(i,d.action)}a.push(u)}}}if(!e.tokenizer||typeof e.tokenizer!=\"object\")throw ai(t,\"a language definition must define the 'tokenizer' attribute as an object\");t.tokenizer=[];for(const r in e.tokenizer)if(e.tokenizer.hasOwnProperty(r)){t.start||(t.start=r);const a=e.tokenizer[r];t.tokenizer[r]=new Array,n(\"tokenizer.\"+r,t.tokenizer[r],a)}if(t.usesEmbedded=i.usesEmbedded,e.brackets){if(!Array.isArray(e.brackets))throw ai(t,\"the 'brackets' attribute must be defined as an array\")}else e.brackets=[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}];const o=[];for(const r of e.brackets){let a=r;if(a&&Array.isArray(a)&&a.length===3&&(a={token:a[2],open:a[0],close:a[1]}),a.open===a.close)throw ai(t,\"open and close brackets in a 'brackets' attribute must be different: \"+a.open+`\n hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof a.open==\"string\"&&typeof a.token==\"string\"&&typeof a.close==\"string\")o.push({token:a.token+t.tokenPostfix,open:Tc(t,a.open),close:Tc(t,a.close)});else throw ai(t,\"every element in the 'brackets' array must be a '{open,close,token}' object or array\")}return t.brackets=o,t.noThrow=!0,t}function MDe(s){h_.registerLanguage(s)}function RDe(){let s=[];return s=s.concat(h_.getLanguages()),s}function PDe(s){return Fe.get(vi).languageIdCodec.encodeLanguageId(s)}function FDe(s,e){return Fe.withServices(()=>{const i=Fe.get(vi).onDidRequestRichLanguageFeatures(n=>{n===s&&(i.dispose(),e())});return i})}function ODe(s,e){return Fe.withServices(()=>{const i=Fe.get(vi).onDidRequestBasicLanguageFeatures(n=>{n===s&&(i.dispose(),e())});return i})}function BDe(s,e){if(!Fe.get(vi).isRegisteredLanguageId(s))throw new Error(`Cannot set configuration for unknown language ${s}`);return Fe.get(Yt).register(s,e,100)}class WDe{constructor(e,t){this._languageId=e,this._actual=t}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i){if(typeof this._actual.tokenize==\"function\")return EC.adaptTokenize(this._languageId,this._actual,e,i);throw new Error(\"Not supported!\")}tokenizeEncoded(e,t,i){const n=this._actual.tokenizeEncoded(e,i);return new KL(n.tokens,n.endState)}}class EC{constructor(e,t,i,n){this._languageId=e,this._actual=t,this._languageService=i,this._standaloneThemeService=n}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t){const i=[];let n=0;for(let o=0,r=e.length;o<r;o++){const a=e[o];let l=a.startIndex;o===0?l=0:l<n&&(l=n),i[o]=new Ib(l,a.scopes,t),n=l}return i}static adaptTokenize(e,t,i,n){const o=t.tokenize(i,n),r=EC._toClassicTokens(o.tokens,e);let a;return o.endState.equals(n)?a=n:a=o.endState,new ZP(r,a)}tokenize(e,t,i){return EC.adaptTokenize(this._languageId,this._actual,e,i)}_toBinaryTokens(e,t){const i=e.encodeLanguageId(this._languageId),n=this._standaloneThemeService.getColorTheme().tokenTheme,o=[];let r=0,a=0;for(let d=0,c=t.length;d<c;d++){const u=t[d],h=n.match(i,u.scopes)|1024;if(r>0&&o[r-1]===h)continue;let g=u.startIndex;d===0?g=0:g<a&&(g=a),o[r++]=g,o[r++]=h,a=g}const l=new Uint32Array(r);for(let d=0;d<r;d++)l[d]=o[d];return l}tokenizeEncoded(e,t,i){const n=this._actual.tokenize(e,i),o=this._toBinaryTokens(this._languageService.languageIdCodec,n.tokens);let r;return n.endState.equals(i)?r=i:r=n.endState,new KL(o,r)}}function HDe(s){return typeof s.getInitialState==\"function\"}function VDe(s){return\"tokenizeEncoded\"in s}function TK(s){return s&&typeof s.then==\"function\"}function zDe(s){const e=Fe.get(Sa);if(s){const t=[null];for(let i=1,n=s.length;i<n;i++)t[i]=$.fromHex(s[i]);e.setColorMapOverride(t)}else e.setColorMapOverride(null)}function NK(s,e){return VDe(e)?new WDe(s,e):new EC(s,e,Fe.get(vi),Fe.get(Sa))}function i4(s,e){const t=new yre(async()=>{const i=await Promise.resolve(e.create());return i?HDe(i)?NK(s,i):new Kb(Fe.get(vi),Fe.get(Sa),s,IK(s,i),Fe.get(rt)):null});return Ki.registerFactory(s,t)}function UDe(s,e){if(!Fe.get(vi).isRegisteredLanguageId(s))throw new Error(`Cannot set tokens provider for unknown language ${s}`);return TK(e)?i4(s,{create:()=>e}):Ki.register(s,NK(s,e))}function $De(s,e){const t=i=>new Kb(Fe.get(vi),Fe.get(Sa),s,IK(s,i),Fe.get(rt));return TK(e)?i4(s,{create:()=>e}):Ki.register(s,t(e))}function jDe(s,e){return Fe.get(Ce).referenceProvider.register(s,e)}function KDe(s,e){return Fe.get(Ce).renameProvider.register(s,e)}function qDe(s,e){return Fe.get(Ce).newSymbolNamesProvider.register(s,e)}function GDe(s,e){return Fe.get(Ce).signatureHelpProvider.register(s,e)}function ZDe(s,e){return Fe.get(Ce).hoverProvider.register(s,{provideHover:async(i,n,o,r)=>{const a=i.getWordAtPosition(n);return Promise.resolve(e.provideHover(i,n,o,r)).then(l=>{if(l)return!l.range&&a&&(l.range=new x(n.lineNumber,a.startColumn,n.lineNumber,a.endColumn)),l.range||(l.range=new x(n.lineNumber,n.column,n.lineNumber,n.column)),l})}})}function XDe(s,e){return Fe.get(Ce).documentSymbolProvider.register(s,e)}function YDe(s,e){return Fe.get(Ce).documentHighlightProvider.register(s,e)}function QDe(s,e){return Fe.get(Ce).linkedEditingRangeProvider.register(s,e)}function JDe(s,e){return Fe.get(Ce).definitionProvider.register(s,e)}function eLe(s,e){return Fe.get(Ce).implementationProvider.register(s,e)}function tLe(s,e){return Fe.get(Ce).typeDefinitionProvider.register(s,e)}function iLe(s,e){return Fe.get(Ce).codeLensProvider.register(s,e)}function nLe(s,e,t){return Fe.get(Ce).codeActionProvider.register(s,{providedCodeActionKinds:t==null?void 0:t.providedCodeActionKinds,documentation:t==null?void 0:t.documentation,provideCodeActions:(n,o,r,a)=>{const d=Fe.get(Pd).read({resource:n.uri}).filter(c=>x.areIntersectingOrTouching(c,o));return e.provideCodeActions(n,o,{markers:d,only:r.only,trigger:r.trigger},a)},resolveCodeAction:e.resolveCodeAction})}function sLe(s,e){return Fe.get(Ce).documentFormattingEditProvider.register(s,e)}function oLe(s,e){return Fe.get(Ce).documentRangeFormattingEditProvider.register(s,e)}function rLe(s,e){return Fe.get(Ce).onTypeFormattingEditProvider.register(s,e)}function aLe(s,e){return Fe.get(Ce).linkProvider.register(s,e)}function lLe(s,e){return Fe.get(Ce).completionProvider.register(s,e)}function dLe(s,e){return Fe.get(Ce).colorProvider.register(s,e)}function cLe(s,e){return Fe.get(Ce).foldingRangeProvider.register(s,e)}function uLe(s,e){return Fe.get(Ce).declarationProvider.register(s,e)}function hLe(s,e){return Fe.get(Ce).selectionRangeProvider.register(s,e)}function gLe(s,e){return Fe.get(Ce).documentSemanticTokensProvider.register(s,e)}function fLe(s,e){return Fe.get(Ce).documentRangeSemanticTokensProvider.register(s,e)}function pLe(s,e){return Fe.get(Ce).inlineCompletionsProvider.register(s,e)}function mLe(s,e){return Fe.get(Ce).inlineEditProvider.register(s,e)}function _Le(s,e){return Fe.get(Ce).inlayHintsProvider.register(s,e)}function vLe(){return{register:MDe,getLanguages:RDe,onLanguage:FDe,onLanguageEncountered:ODe,getEncodedLanguageId:PDe,setLanguageConfiguration:BDe,setColorMap:zDe,registerTokensProviderFactory:i4,setTokensProvider:UDe,setMonarchTokensProvider:$De,registerReferenceProvider:jDe,registerRenameProvider:KDe,registerNewSymbolNameProvider:qDe,registerCompletionItemProvider:lLe,registerSignatureHelpProvider:GDe,registerHoverProvider:ZDe,registerDocumentSymbolProvider:XDe,registerDocumentHighlightProvider:YDe,registerLinkedEditingRangeProvider:QDe,registerDefinitionProvider:JDe,registerImplementationProvider:eLe,registerTypeDefinitionProvider:tLe,registerCodeLensProvider:iLe,registerCodeActionProvider:nLe,registerDocumentFormattingEditProvider:sLe,registerDocumentRangeFormattingEditProvider:oLe,registerOnTypeFormattingEditProvider:rLe,registerLinkProvider:aLe,registerColorProvider:dLe,registerFoldingRangeProvider:cLe,registerDeclarationProvider:uLe,registerSelectionRangeProvider:hLe,registerDocumentSemanticTokensProvider:gLe,registerDocumentRangeSemanticTokensProvider:fLe,registerInlineCompletionsProvider:pLe,registerInlineEditProvider:mLe,registerInlayHintsProvider:_Le,DocumentHighlightKind:fN,CompletionItemKind:lN,CompletionItemTag:dN,CompletionItemInsertTextRule:aN,SymbolKind:jN,SymbolTag:KN,IndentAction:wN,CompletionTriggerKind:cN,SignatureHelpTriggerKind:$N,InlayHintKind:SN,InlineCompletionTriggerKind:DN,InlineEditTriggerKind:LN,CodeActionTriggerType:rN,NewSymbolNameTag:AN,NewSymbolNameTriggerKind:MN,PartialAcceptTriggerKind:FN,HoverVerbosityAction:CN,FoldingRangeKind:Ps,SelectedSuggestionInfo:tz}}const n4=ut(\"IEditorCancelService\"),AK=new ue(\"cancellableOperation\",!1,p(\"cancellableOperation\",\"Whether the editor runs a cancellable operation, e.g. like 'Peek References'\"));mt(n4,class{constructor(){this._tokens=new WeakMap}add(s,e){let t=this._tokens.get(s);t||(t=s.invokeWithinContext(n=>{const o=AK.bindTo(n.get(Be)),r=new Rs;return{key:o,tokens:r}}),this._tokens.set(s,t));let i;return t.key.set(!0),i=t.tokens.push(e),()=>{i&&(i(),t.key.set(!t.tokens.isEmpty()),i=void 0)}}cancel(s){const e=this._tokens.get(s);if(!e)return;const t=e.tokens.pop();t&&(t.cancel(),e.key.set(!e.tokens.isEmpty()))}},1);class bLe extends Vi{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(i=>i.get(n4).add(e,this))}dispose(){this._unregister(),super.dispose()}}de(new class extends mn{constructor(){super({id:\"editor.cancelOperation\",kbOpts:{weight:100,primary:9},precondition:AK})}runEditorCommand(s,e){s.get(n4).cancel(e)}});let MK=class IM{constructor(e,t){if(this.flags=t,this.flags&1){const i=e.getModel();this.modelVersionId=i?l_(\"{0}#{1}\",i.uri.toString(),i.getVersionId()):null}else this.modelVersionId=null;this.flags&4?this.position=e.getPosition():this.position=null,this.flags&2?this.selection=e.getSelection():this.selection=null,this.flags&8?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){if(!(e instanceof IM))return!1;const t=e;return!(this.modelVersionId!==t.modelVersionId||this.scrollLeft!==t.scrollLeft||this.scrollTop!==t.scrollTop||!this.position&&t.position||this.position&&!t.position||this.position&&t.position&&!this.position.equals(t.position)||!this.selection&&t.selection||this.selection&&!t.selection||this.selection&&t.selection&&!this.selection.equalsRange(t.selection))}validate(e){return this._equals(new IM(e,this.flags))}};class Bh extends bLe{constructor(e,t,i,n){super(e,n),this._listener=new Y,t&4&&this._listener.add(e.onDidChangeCursorPosition(o=>{(!i||!x.containsPosition(i,o.position))&&this.cancel()})),t&2&&this._listener.add(e.onDidChangeCursorSelection(o=>{(!i||!x.containsRange(i,o.selection))&&this.cancel()})),t&8&&this._listener.add(e.onDidScrollChange(o=>this.cancel())),t&1&&(this._listener.add(e.onDidChangeModel(o=>this.cancel())),this._listener.add(e.onDidChangeModelContent(o=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class s4 extends Vi{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}function Wh(s){return s&&typeof s.getEditorType==\"function\"?s.getEditorType()===p1.ICodeEditor:!1}function CLe(s){return s&&typeof s.getEditorType==\"function\"?s.getEditorType()===p1.IDiffEditor:!1}class B_{static _handleEolEdits(e,t){let i;const n=[];for(const o of t)typeof o.eol==\"number\"&&(i=o.eol),o.range&&typeof o.text==\"string\"&&n.push(o);return typeof i==\"number\"&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;const i=e.getModel(),n=i.validateRange(t.range);return i.getFullModelRange().equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();const n=cl.capture(e),o=B_._handleEolEdits(e,t);o.length===1&&B_._isFullModelReplaceEdit(e,o[0])?e.executeEdits(\"formatEditsCommand\",o.map(r=>pi.replace(x.lift(r.range),r.text))):e.executeEdits(\"formatEditsCommand\",o.map(r=>pi.replaceMove(x.lift(r.range),r.text))),i&&e.pushUndoStop(),n.restoreRelativeVerticalPositionOfCursor(e)}}class N7{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return typeof e==\"string\"?e.toLowerCase():e._lower}}class wLe{constructor(e){if(this._set=new Set,e)for(const t of e)this.add(t)}add(e){this._set.add(N7.toKey(e))}has(e){return this._set.has(N7.toKey(e))}}function RK(s,e,t){const i=[],n=new wLe,o=s.ordered(t);for(const a of o)i.push(a),a.extensionId&&n.add(a.extensionId);const r=e.ordered(t);for(const a of r){if(a.extensionId){if(n.has(a.extensionId))continue;n.add(a.extensionId)}i.push({displayName:a.displayName,extensionId:a.extensionId,provideDocumentFormattingEdits(l,d,c){return a.provideDocumentRangeFormattingEdits(l,l.getFullModelRange(),d,c)}})}return i}class Mf{static setFormatterSelector(e){return{dispose:Mf._selectors.unshift(e)}}static async select(e,t,i,n){if(e.length===0)return;const o=ft.first(Mf._selectors);if(o)return await o(e,t,i,n)}}Mf._selectors=new Rs;async function PK(s,e,t,i,n,o,r){const a=s.get(Ne),{documentRangeFormattingEditProvider:l}=s.get(Ce),d=Wh(e)?e.getModel():e,c=l.ordered(d),u=await Mf.select(c,d,i,2);u&&(n.report(u),await a.invokeFunction(yLe,u,e,t,o,r))}async function yLe(s,e,t,i,n,o){var r,a;const l=s.get(jr),d=s.get(ys),c=s.get(rg);let u,h;Wh(t)?(u=t.getModel(),h=new Bh(t,5,void 0,n)):(u=t,h=new s4(t,n));const g=[];let f=0;for(const C of OP(i).sort(x.compareRangesUsingStarts))f>0&&x.areIntersectingOrTouching(g[f-1],C)?g[f-1]=x.fromPositions(g[f-1].getStartPosition(),C.getEndPosition()):f=g.push(C);const m=async C=>{var w,y;d.trace(\"[format][provideDocumentRangeFormattingEdits] (request)\",(w=e.extensionId)===null||w===void 0?void 0:w.value,C);const D=await e.provideDocumentRangeFormattingEdits(u,C,u.getFormattingOptions(),h.token)||[];return d.trace(\"[format][provideDocumentRangeFormattingEdits] (response)\",(y=e.extensionId)===null||y===void 0?void 0:y.value,D),D},_=(C,w)=>{if(!C.length||!w.length)return!1;const y=C.reduce((D,L)=>x.plusRange(D,L.range),C[0].range);if(!w.some(D=>x.intersectRanges(y,D.range)))return!1;for(const D of C)for(const L of w)if(x.intersectRanges(D.range,L.range))return!0;return!1},v=[],b=[];try{if(typeof e.provideDocumentRangesFormattingEdits==\"function\"){d.trace(\"[format][provideDocumentRangeFormattingEdits] (request)\",(r=e.extensionId)===null||r===void 0?void 0:r.value,g);const C=await e.provideDocumentRangesFormattingEdits(u,g,u.getFormattingOptions(),h.token)||[];d.trace(\"[format][provideDocumentRangeFormattingEdits] (response)\",(a=e.extensionId)===null||a===void 0?void 0:a.value,C),b.push(C)}else{for(const C of g){if(h.token.isCancellationRequested)return!0;b.push(await m(C))}for(let C=0;C<g.length;++C)for(let w=C+1;w<g.length;++w){if(h.token.isCancellationRequested)return!0;if(_(b[C],b[w])){const y=x.plusRange(g[C],g[w]),D=await m(y);g.splice(w,1),g.splice(C,1),g.push(y),b.splice(w,1),b.splice(C,1),b.push(D),C=0,w=0}}}for(const C of b){if(h.token.isCancellationRequested)return!0;const w=await l.computeMoreMinimalEdits(u.uri,C);w&&v.push(...w)}}finally{h.dispose()}if(v.length===0)return!1;if(Wh(t))B_.execute(t,v,!0),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1);else{const[{range:C}]=v,w=new we(C.startLineNumber,C.startColumn,C.endLineNumber,C.endColumn);u.pushEditOperations([w],v.map(y=>({text:y.text,range:x.lift(y.range),forceMoveMarkers:!0})),y=>{for(const{range:D}of y)if(x.areIntersectingOrTouching(D,w))return[new we(D.startLineNumber,D.startColumn,D.endLineNumber,D.endColumn)];return null})}return c.playSignal(Ke.format,{userGesture:o}),!0}async function SLe(s,e,t,i,n,o){const r=s.get(Ne),a=s.get(Ce),l=Wh(e)?e.getModel():e,d=RK(a.documentFormattingEditProvider,a.documentRangeFormattingEditProvider,l),c=await Mf.select(d,l,t,1);c&&(i.report(c),await r.invokeFunction(DLe,c,e,t,n,o))}async function DLe(s,e,t,i,n,o){const r=s.get(jr),a=s.get(rg);let l,d;Wh(t)?(l=t.getModel(),d=new Bh(t,5,void 0,n)):(l=t,d=new s4(t,n));let c;try{const u=await e.provideDocumentFormattingEdits(l,l.getFormattingOptions(),d.token);if(c=await r.computeMoreMinimalEdits(l.uri,u),d.token.isCancellationRequested)return!0}finally{d.dispose()}if(!c||c.length===0)return!1;if(Wh(t))B_.execute(t,c,i!==2),i!==2&&t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1);else{const[{range:u}]=c,h=new we(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn);l.pushEditOperations([h],c.map(g=>({text:g.text,range:x.lift(g.range),forceMoveMarkers:!0})),g=>{for(const{range:f}of g)if(x.areIntersectingOrTouching(f,h))return[new we(f.startLineNumber,f.startColumn,f.endLineNumber,f.endColumn)];return null})}return a.playSignal(Ke.format,{userGesture:o}),!0}async function LLe(s,e,t,i,n,o){const r=e.documentRangeFormattingEditProvider.ordered(t);for(const a of r){const l=await Promise.resolve(a.provideDocumentRangeFormattingEdits(t,i,n,o)).catch(Ai);if(rs(l))return await s.computeMoreMinimalEdits(t.uri,l)}}async function xLe(s,e,t,i,n){const o=RK(e.documentFormattingEditProvider,e.documentRangeFormattingEditProvider,t);for(const r of o){const a=await Promise.resolve(r.provideDocumentFormattingEdits(t,i,n)).catch(Ai);if(rs(a))return await s.computeMoreMinimalEdits(t.uri,a)}}function FK(s,e,t,i,n,o,r){const a=e.onTypeFormattingEditProvider.ordered(t);return a.length===0||a[0].autoFormatTriggerCharacters.indexOf(n)<0?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(t,i,n,o,r)).catch(Ai).then(l=>s.computeMoreMinimalEdits(t.uri,l))}pt.registerCommand(\"_executeFormatRangeProvider\",async function(s,...e){const[t,i,n]=e;yt(Ae.isUri(t)),yt(x.isIRange(i));const o=s.get(mo),r=s.get(jr),a=s.get(Ce),l=await o.createModelReference(t);try{return LLe(r,a,l.object.textEditorModel,x.lift(i),n,dt.None)}finally{l.dispose()}});pt.registerCommand(\"_executeFormatDocumentProvider\",async function(s,...e){const[t,i]=e;yt(Ae.isUri(t));const n=s.get(mo),o=s.get(jr),r=s.get(Ce),a=await n.createModelReference(t);try{return xLe(o,r,a.object.textEditorModel,i,dt.None)}finally{a.dispose()}});pt.registerCommand(\"_executeFormatOnTypeProvider\",async function(s,...e){const[t,i,n,o]=e;yt(Ae.isUri(t)),yt(W.isIPosition(i)),yt(typeof n==\"string\");const r=s.get(mo),a=s.get(jr),l=s.get(Ce),d=await r.createModelReference(t);try{return FK(a,l,d.object.textEditorModel,W.lift(i),n,o,dt.None)}finally{d.dispose()}});hl.wrappingIndent.defaultValue=0;hl.glyphMargin.defaultValue=!1;hl.autoIndent.defaultValue=3;hl.overviewRulerLanes.defaultValue=2;Mf.setFormatterSelector((s,e,t)=>Promise.resolve(s[0]));const Ys=iz();Ys.editor=kDe();Ys.languages=vLe();const kLe=Ys.CancellationTokenSource,OK=Ys.Emitter,ELe=Ys.KeyCode,ILe=Ys.KeyMod,TLe=Ys.Position,NLe=Ys.Range,ALe=Ys.Selection,MLe=Ys.SelectionDirection,RLe=Ys.MarkerSeverity,PLe=Ys.MarkerTag,FLe=Ys.Uri,OLe=Ys.Token,BLe=Ys.editor,O1=Ys.languages,eT=globalThis.MonacoEnvironment;(eT!=null&&eT.globalAPI||typeof define==\"function\"&&define.amd)&&(globalThis.monaco=Ys);typeof globalThis.require<\"u\"&&typeof globalThis.require.config==\"function\"&&globalThis.require.config({ignoreDuplicateModules:[\"vscode-languageserver-types\",\"vscode-languageserver-types/main\",\"vscode-languageserver-textdocument\",\"vscode-languageserver-textdocument/main\",\"vscode-nls\",\"vscode-nls/vscode-nls\",\"jsonc-parser\",\"jsonc-parser/main\",\"vscode-uri\",\"vscode-uri/index\",\"vs/basic-languages/typescript/typescript\"]});const _0=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:kLe,Emitter:OK,KeyCode:ELe,KeyMod:ILe,MarkerSeverity:RLe,MarkerTag:PLe,Position:TLe,Range:NLe,Selection:ALe,SelectionDirection:MLe,Token:OLe,Uri:FLe,editor:BLe,languages:O1},Symbol.toStringTag,{value:\"Module\"}));/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var WLe=Object.defineProperty,HLe=Object.getOwnPropertyDescriptor,VLe=Object.getOwnPropertyNames,zLe=Object.prototype.hasOwnProperty,ULe=(s,e,t,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let n of VLe(e))!zLe.call(s,n)&&n!==t&&WLe(s,n,{get:()=>e[n],enumerable:!(i=HLe(e,n))||i.enumerable});return s},$Le=(s,e,t)=>(ULe(s,e,\"default\"),t),Iv={};$Le(Iv,_0);var BK={},tT={},jLe=class WK{static getOrCreate(e){return tT[e]||(tT[e]=new WK(e)),tT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,BK[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function pp(s){const e=s.id;BK[e]=s,Iv.languages.register(s);const t=jLe.getOrCreate(e);Iv.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Iv.languages.onLanguageEncountered(e,async()=>{const i=await t.load();Iv.languages.setLanguageConfiguration(e,i.conf)})}pp({id:\"css\",extensions:[\".css\"],aliases:[\"CSS\",\"css\"],mimetypes:[\"text/css\"],loader:()=>er(()=>import(\"./css-D1nB4Vcj.js\"),[])});pp({id:\"html\",extensions:[\".html\",\".htm\",\".shtml\",\".xhtml\",\".mdoc\",\".jsp\",\".asp\",\".aspx\",\".jshtm\"],aliases:[\"HTML\",\"htm\",\"html\",\"xhtml\"],mimetypes:[\"text/html\",\"text/x-jshtm\",\"text/template\",\"text/ng-template\"],loader:()=>er(()=>import(\"./html-B4dTfUY8.js\"),__vite__mapDeps([0,1,2,3]))});pp({id:\"javascript\",extensions:[\".js\",\".es6\",\".jsx\",\".mjs\",\".cjs\"],firstLine:\"^#!.*\\\\bnode\",filenames:[\"jakefile\"],aliases:[\"JavaScript\",\"javascript\",\"js\"],mimetypes:[\"text/javascript\"],loader:()=>er(()=>import(\"./javascript-BcV1SRi8.js\"),__vite__mapDeps([4,5,1,2,3]))});pp({id:\"markdown\",extensions:[\".md\",\".markdown\",\".mdown\",\".mkdn\",\".mkd\",\".mdwn\",\".mdtxt\",\".mdtext\"],aliases:[\"Markdown\",\"markdown\"],loader:()=>er(()=>import(\"./markdown-7fQo6M4U.js\"),[])});pp({id:\"python\",extensions:[\".py\",\".rpy\",\".pyw\",\".cpy\",\".gyp\",\".gypi\"],aliases:[\"Python\",\"py\"],firstLine:\"^#!/.*\\\\bpython[0-9.-]*\\\\b\",loader:()=>er(()=>import(\"./python-CsxvR8Mf.js\"),__vite__mapDeps([6,1,2,3]))});pp({id:\"typescript\",extensions:[\".ts\",\".tsx\",\".cts\",\".mts\"],aliases:[\"TypeScript\",\"ts\",\"typescript\"],mimetypes:[\"text/typescript\"],loader:()=>er(()=>import(\"./typescript-BfKWl9Pr.js\"),__vite__mapDeps([5,1,2,3]))});pp({id:\"yaml\",extensions:[\".yaml\",\".yml\"],aliases:[\"YAML\",\"yaml\",\"YML\",\"yml\"],mimetypes:[\"application/x-yaml\",\"text/x-yaml\"],loader:()=>er(()=>import(\"./yaml-DWuY8lcX.js\"),__vite__mapDeps([7,1,2,3]))});class KLe extends qs{constructor(){super({id:\"diffEditor.toggleCollapseUnchangedRegions\",title:Ve(\"toggleCollapseUnchangedRegions\",\"Toggle Collapse Unchanged Regions\"),icon:oe.map,toggled:G.has(\"config.diffEditor.hideUnchangedRegions.enabled\"),precondition:G.has(\"isInDiffEditor\"),menu:{when:G.has(\"isInDiffEditor\"),id:E.EditorTitle,order:22,group:\"navigation\"}})}run(e,...t){const i=e.get(rt),n=!i.getValue(\"diffEditor.hideUnchangedRegions.enabled\");i.updateValue(\"diffEditor.hideUnchangedRegions.enabled\",n)}}class HK extends qs{constructor(){super({id:\"diffEditor.toggleShowMovedCodeBlocks\",title:Ve(\"toggleShowMovedCodeBlocks\",\"Toggle Show Moved Code Blocks\"),precondition:G.has(\"isInDiffEditor\")})}run(e,...t){const i=e.get(rt),n=!i.getValue(\"diffEditor.experimental.showMoves\");i.updateValue(\"diffEditor.experimental.showMoves\",n)}}class VK extends qs{constructor(){super({id:\"diffEditor.toggleUseInlineViewWhenSpaceIsLimited\",title:Ve(\"toggleUseInlineViewWhenSpaceIsLimited\",\"Toggle Use Inline View When Space Is Limited\"),precondition:G.has(\"isInDiffEditor\")})}run(e,...t){const i=e.get(rt),n=!i.getValue(\"diffEditor.useInlineViewWhenSpaceIsLimited\");i.updateValue(\"diffEditor.useInlineViewWhenSpaceIsLimited\",n)}}const B1=Ve(\"diffEditor\",\"Diff Editor\");class qLe extends fl{constructor(){super({id:\"diffEditor.switchSide\",title:Ve(\"switchSide\",\"Switch Side\"),icon:oe.arrowSwap,precondition:G.has(\"isInDiffEditor\"),f1:!0,category:B1})}runEditorCommand(e,t,i){const n=b0(e);if(n instanceof $c){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class GLe extends fl{constructor(){super({id:\"diffEditor.exitCompareMove\",title:Ve(\"exitCompareMove\",\"Exit Compare Move\"),icon:oe.close,precondition:T.comparingMovedCode,f1:!1,category:B1,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=b0(e);n instanceof $c&&n.exitCompareMove()}}class ZLe extends fl{constructor(){super({id:\"diffEditor.collapseAllUnchangedRegions\",title:Ve(\"collapseAllUnchangedRegions\",\"Collapse All Unchanged Regions\"),icon:oe.fold,precondition:G.has(\"isInDiffEditor\"),f1:!0,category:B1})}runEditorCommand(e,t,...i){const n=b0(e);n instanceof $c&&n.collapseAllUnchangedRegions()}}class XLe extends fl{constructor(){super({id:\"diffEditor.showAllUnchangedRegions\",title:Ve(\"showAllUnchangedRegions\",\"Show All Unchanged Regions\"),icon:oe.unfold,precondition:G.has(\"isInDiffEditor\"),f1:!0,category:B1})}runEditorCommand(e,t,...i){const n=b0(e);n instanceof $c&&n.showAllUnchangedRegions()}}class TM extends qs{constructor(){super({id:\"diffEditor.revert\",title:Ve(\"revert\",\"Revert\"),f1:!1,category:B1})}run(e,t){var i;const n=YLe(e,t.originalUri,t.modifiedUri);n instanceof $c&&n.revertRangeMappings((i=t.mapping.innerChanges)!==null&&i!==void 0?i:[])}}const zK=Ve(\"accessibleDiffViewer\",\"Accessible Diff Viewer\");class v0 extends qs{constructor(){super({id:v0.id,title:Ve(\"editor.action.accessibleDiffViewer.next\",\"Go to Next Difference\"),category:zK,precondition:G.has(\"isInDiffEditor\"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=b0(e);t==null||t.accessibleDiffViewerNext()}}v0.id=\"editor.action.accessibleDiffViewer.next\";class W1 extends qs{constructor(){super({id:W1.id,title:Ve(\"editor.action.accessibleDiffViewer.prev\",\"Go to Previous Difference\"),category:zK,precondition:G.has(\"isInDiffEditor\"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=b0(e);t==null||t.accessibleDiffViewerPrev()}}W1.id=\"editor.action.accessibleDiffViewer.prev\";function YLe(s,e,t){return s.get(xt).listDiffEditors().find(o=>{var r,a;const l=o.getModifiedEditor(),d=o.getOriginalEditor();return l&&((r=l.getModel())===null||r===void 0?void 0:r.uri.toString())===t.toString()&&d&&((a=d.getModel())===null||a===void 0?void 0:a.uri.toString())===e.toString()})||null}function b0(s){const t=s.get(xt).listDiffEditors(),i=Xn();if(i)for(const n of t){const o=n.getContainerDomNode();if(QLe(o,i))return n}return null}function QLe(s,e){let t=e;for(;t;){if(t===s)return!0;t=t.parentElement}return!1}qt(KLe);qt(HK);qt(VK);yn.appendMenuItem(E.EditorTitle,{command:{id:new VK().desc.id,title:p(\"useInlineViewWhenSpaceIsLimited\",\"Use Inline View When Space Is Limited\"),toggled:G.has(\"config.diffEditor.useInlineViewWhenSpaceIsLimited\"),precondition:G.has(\"isInDiffEditor\")},order:11,group:\"1_diff\",when:G.and(T.diffEditorRenderSideBySideInlineBreakpointReached,G.has(\"isInDiffEditor\"))});yn.appendMenuItem(E.EditorTitle,{command:{id:new HK().desc.id,title:p(\"showMoves\",\"Show Moved Code Blocks\"),icon:oe.move,toggled:r0.create(\"config.diffEditor.experimental.showMoves\",!0),precondition:G.has(\"isInDiffEditor\")},order:10,group:\"1_diff\",when:G.has(\"isInDiffEditor\")});qt(TM);for(const s of[{icon:oe.arrowRight,key:T.diffEditorInlineMode.toNegated()},{icon:oe.discard,key:T.diffEditorInlineMode}])yn.appendMenuItem(E.DiffEditorHunkToolbar,{command:{id:new TM().desc.id,title:p(\"revertHunk\",\"Revert Block\"),icon:s.icon},when:G.and(T.diffEditorModifiedWritable,s.key),order:5,group:\"primary\"}),yn.appendMenuItem(E.DiffEditorSelectionToolbar,{command:{id:new TM().desc.id,title:p(\"revertSelection\",\"Revert Selection\"),icon:s.icon},when:G.and(T.diffEditorModifiedWritable,s.key),order:5,group:\"primary\"});qt(qLe);qt(GLe);qt(ZLe);qt(XLe);yn.appendMenuItem(E.EditorTitle,{command:{id:v0.id,title:p(\"Open Accessible Diff Viewer\",\"Open Accessible Diff Viewer\"),precondition:G.has(\"isInDiffEditor\")},order:10,group:\"2_diff\",when:G.and(T.accessibleDiffViewerVisible.negate(),G.has(\"isInDiffEditor\"))});pt.registerCommandAlias(\"editor.action.diffReview.next\",v0.id);qt(v0);pt.registerCommandAlias(\"editor.action.diffReview.prev\",W1.id);qt(W1);var JLe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},exe=function(s,e){return function(t,i){e(t,i,s)}},NM;const fk=new ue(\"selectionAnchorSet\",!1);let jc=NM=class{static get(e){return e.getContribution(NM.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=fk.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(we.fromPositions(e,e),{description:\"selection-anchor\",stickiness:1,hoverMessage:new ss().appendText(p(\"selectionAnchor\",\"Selection Anchor\")),className:\"selection-anchor\"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),fo(p(\"anchorSet\",\"Anchor set at {0}:{1}\",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(we.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};jc.ID=\"editor.contrib.selectionAnchorController\";jc=NM=JLe([exe(1,Be)],jc);class txe extends me{constructor(){super({id:\"editor.action.setSelectionAnchor\",label:p(\"setSelectionAnchor\",\"Set Selection Anchor\"),alias:\"Set Selection Anchor\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2080),weight:100}})}async run(e,t){var i;(i=jc.get(t))===null||i===void 0||i.setSelectionAnchor()}}class ixe extends me{constructor(){super({id:\"editor.action.goToSelectionAnchor\",label:p(\"goToSelectionAnchor\",\"Go to Selection Anchor\"),alias:\"Go to Selection Anchor\",precondition:fk})}async run(e,t){var i;(i=jc.get(t))===null||i===void 0||i.goToSelectionAnchor()}}class nxe extends me{constructor(){super({id:\"editor.action.selectFromAnchorToCursor\",label:p(\"selectFromAnchorToCursor\",\"Select from Anchor to Cursor\"),alias:\"Select from Anchor to Cursor\",precondition:fk,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2089),weight:100}})}async run(e,t){var i;(i=jc.get(t))===null||i===void 0||i.selectFromAnchorToCursor()}}class sxe extends me{constructor(){super({id:\"editor.action.cancelSelectionAnchor\",label:p(\"cancelSelectionAnchor\",\"Cancel Selection Anchor\"),alias:\"Cancel Selection Anchor\",precondition:fk,kbOpts:{kbExpr:T.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=jc.get(t))===null||i===void 0||i.cancelSelectionAnchor()}}kt(jc.ID,jc,4);te(txe);te(ixe);te(nxe);te(sxe);const oxe=N(\"editorOverviewRuler.bracketMatchForeground\",{dark:\"#A0A0A0\",light:\"#A0A0A0\",hcDark:\"#A0A0A0\",hcLight:\"#A0A0A0\"},p(\"overviewRulerBracketMatchForeground\",\"Overview ruler marker color for matching brackets.\"));class rxe extends me{constructor(){super({id:\"editor.action.jumpToBracket\",label:p(\"smartSelect.jumpBracket\",\"Go to Bracket\"),alias:\"Go to Bracket\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=ga.get(t))===null||i===void 0||i.jumpToBracket()}}class axe extends me{constructor(){super({id:\"editor.action.selectToBracket\",label:p(\"smartSelect.selectToBracket\",\"Select to Bracket\"),alias:\"Select to Bracket\",precondition:void 0,metadata:{description:Ve(\"smartSelect.selectToBracketDescription\",\"Select the text inside and including the brackets or curly braces\"),args:[{name:\"args\",schema:{type:\"object\",properties:{selectBrackets:{type:\"boolean\",default:!0}}}}]}})}run(e,t,i){var n;let o=!0;i&&i.selectBrackets===!1&&(o=!1),(n=ga.get(t))===null||n===void 0||n.selectToBracket(o)}}class lxe extends me{constructor(){super({id:\"editor.action.removeBrackets\",label:p(\"smartSelect.removeBrackets\",\"Remove Brackets\"),alias:\"Remove Brackets\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=ga.get(t))===null||i===void 0||i.removeBrackets(this.id)}}class dxe{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class ga extends H{static get(e){return e.getContribution(ga.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Wt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!==\"never\"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.bracketPairs.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)&&!o[1].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new we(r.lineNumber,r.column,r.lineNumber,r.column):new we(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.bracketPairs.matchBracket(o);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(o),!r)){const d=t.bracketPairs.findNextBracket(o);d&&d.range&&(r=t.bracketPairs.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[d,c]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?c.getEndPosition():c.getStartPosition(),c.containsPosition(o)){const u=a;a=l,l=u}}a&&l&&i.push(new we(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let o=t.bracketPairs.matchBracket(n);o||(o=t.bracketPairs.findEnclosingBrackets(n)),o&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:o[0],text:\"\"},{range:o[1],text:\"\"}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets===\"never\")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const o=[];let r=0;for(let u=0,h=e.length;u<h;u++){const g=e[u];g.isEmpty()&&(o[r++]=g.getStartPosition())}o.length>1&&o.sort(W.compare);const a=[];let l=0,d=0;const c=n.length;for(let u=0,h=o.length;u<h;u++){const g=o[u];for(;d<c&&n[d].position.isBefore(g);)d++;if(d<c&&n[d].position.equals(g))a[l++]=n[d];else{let f=t.bracketPairs.matchBracket(g,20),m=ga._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;!f&&this._matchBrackets===\"always\"&&(f=t.bracketPairs.findEnclosingBrackets(g,20),m=ga._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),a[l++]=new dxe(g,f,m)}}this._lastBracketsData=a,this._lastVersionId=i}}ga.ID=\"editor.contrib.bracketMatchingController\";ga._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Ye.register({description:\"bracket-match-overview\",stickiness:1,className:\"bracket-match\",overviewRuler:{color:Ei(oxe),position:Br.Center}});ga._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Ye.register({description:\"bracket-match-no-overview\",stickiness:1,className:\"bracket-match\"});kt(ga.ID,ga,1);te(axe);te(rxe);te(lxe);yn.appendMenuItem(E.MenubarGoMenu,{group:\"5_infile_nav\",command:{id:\"editor.action.jumpToBracket\",title:p({},\"Go to &&Bracket\")},order:2});class cxe{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,o,i,o),a)}else{const r=new x(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new we(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new we(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class UK extends me{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const o of n)i.push(new cxe(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class uxe extends UK{constructor(){super(!0,{id:\"editor.action.moveCarretLeftAction\",label:p(\"caret.moveLeft\",\"Move Selected Text Left\"),alias:\"Move Selected Text Left\",precondition:T.writable})}}class hxe extends UK{constructor(){super(!1,{id:\"editor.action.moveCarretRightAction\",label:p(\"caret.moveRight\",\"Move Selected Text Right\"),alias:\"Move Selected Text Right\",precondition:T.writable})}}te(uxe);te(hxe);class gxe extends me{constructor(){super({id:\"editor.action.transposeLetters\",label:p(\"transposeLetters.label\",\"Transpose Letters\"),alias:\"Transpose Letters\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],o=t.getSelections();for(const r of o){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,d=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&d===2))continue;const c=l===d?r.getPosition():Tt.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),u=Tt.leftPosition(i,c),h=Tt.leftPosition(i,u),g=i.getValueInRange(x.fromPositions(h,u)),f=i.getValueInRange(x.fromPositions(u,c)),m=x.fromPositions(h,c);n.push(new qn(m,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}te(gxe);const pk=function(){if(typeof crypto==\"object\"&&typeof crypto.randomUUID==\"function\")return crypto.randomUUID.bind(crypto);let s;typeof crypto==\"object\"&&typeof crypto.getRandomValues==\"function\"?s=crypto.getRandomValues.bind(crypto):s=function(i){for(let n=0;n<i.length;n++)i[n]=Math.floor(Math.random()*256);return i};const e=new Uint8Array(16),t=[];for(let i=0;i<256;i++)t.push(i.toString(16).padStart(2,\"0\"));return function(){s(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let n=0,o=\"\";return o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=\"-\",o+=t[e[n++]],o+=t[e[n++]],o+=\"-\",o+=t[e[n++]],o+=t[e[n++]],o+=\"-\",o+=t[e[n++]],o+=t[e[n++]],o+=\"-\",o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o+=t[e[n++]],o}}();function o4(s){return{asString:async()=>s,asFile:()=>{},value:typeof s==\"string\"?s:void 0}}function fxe(s,e,t){const i={id:pk(),name:s,uri:e,data:t};return{asString:async()=>\"\",asFile:()=>i,value:void 0}}class $K{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return ft.some(this,([i,n])=>n.asFile())&&t.push(\"files\"),KK(rL(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))===null||t===void 0?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return rL(e)}}function rL(s){return s.toLowerCase()}function jK(s,e){return KK(rL(s),e.map(rL))}function KK(s,e){if(s===\"*/*\")return e.length>0;if(e.includes(s))return!0;const t=s.match(/^([a-z]+)\\/([a-z]+|\\*)$/i);if(!t)return!1;const[i,n,o]=t;return o===\"*\"?e.some(r=>r.startsWith(n+\"/\")):!1}const mk=Object.freeze({create:s=>Wc(s.map(e=>e.toString())).join(`\\r\n`),split:s=>s.split(`\\r\n`),parse:s=>mk.split(s).filter(e=>!e.startsWith(\"#\"))});class Bt{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===\"\"||e.value.startsWith(this.value+Bt.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new Bt((this.value?[this.value,...e]:e).join(Bt.sep))}}Bt.sep=\".\";Bt.None=new Bt(\"@@none@@\");Bt.Empty=new Bt(\"\");const A7={EDITORS:\"CodeEditors\",FILES:\"CodeFiles\"};class pxe{}const mxe={DragAndDropContribution:\"workbench.contributions.dragAndDrop\"};Ji.add(mxe.DragAndDropContribution,new pxe);class IC{constructor(){}static getInstance(){return IC.INSTANCE}hasData(e){return e&&e===this.proto}getData(e){if(this.hasData(e))return this.data}}IC.INSTANCE=new IC;function qK(s){const e=new $K;for(const t of s.items){const i=t.type;if(t.kind===\"string\"){const n=new Promise(o=>t.getAsString(o));e.append(i,o4(n))}else if(t.kind===\"file\"){const n=t.getAsFile();n&&e.append(i,_xe(n))}}return e}function _xe(s){const e=s.path?Ae.parse(s.path):void 0;return fxe(s.name,e,async()=>new Uint8Array(await s.arrayBuffer()))}const vxe=Object.freeze([A7.EDITORS,A7.FILES,uC.RESOURCES,uC.INTERNAL_URI_LIST]);function GK(s,e=!1){const t=qK(s),i=t.get(uC.INTERNAL_URI_LIST);if(i)t.replace(Ti.uriList,i);else if(e||!t.has(Ti.uriList)){const n=[];for(const o of s.items){const r=o.getAsFile();if(r){const a=r.path;try{a?n.push(Ae.file(a).toString()):n.push(Ae.parse(r.name,!0).toString())}catch{}}}n.length&&t.replace(Ti.uriList,o4(mk.create(n)))}for(const n of vxe)t.delete(n);return t}var r4=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},TC=function(s,e){return function(t,i){e(t,i,s)}};class a4{async provideDocumentPasteEdits(e,t,i,n,o){const r=await this.getEdit(i,o);if(r)return{dispose(){},edits:[{insertText:r.insertText,title:r.title,kind:r.kind,handledMimeType:r.handledMimeType,yieldTo:r.yieldTo}]}}async provideDocumentDropEdits(e,t,i,n){const o=await this.getEdit(i,n);return o?[{insertText:o.insertText,title:o.title,kind:o.kind,handledMimeType:o.handledMimeType,yieldTo:o.yieldTo}]:void 0}}class Kc extends a4{constructor(){super(...arguments),this.kind=Kc.kind,this.dropMimeTypes=[Ti.text],this.pasteMimeTypes=[Ti.text]}async getEdit(e,t){const i=e.get(Ti.text);if(!i||e.has(Ti.uriList))return;const n=await i.asString();return{handledMimeType:Ti.text,title:p(\"text.label\",\"Insert Plain Text\"),insertText:n,kind:this.kind}}}Kc.id=\"text\";Kc.kind=new Bt(\"text.plain\");class ZK extends a4{constructor(){super(...arguments),this.kind=new Bt(\"uri.absolute\"),this.dropMimeTypes=[Ti.uriList],this.pasteMimeTypes=[Ti.uriList]}async getEdit(e,t){const i=await XK(e);if(!i.length||t.isCancellationRequested)return;let n=0;const o=i.map(({uri:a,originalText:l})=>a.scheme===Ge.file?a.fsPath:(n++,l)).join(\" \");let r;return n>0?r=i.length>1?p(\"defaultDropProvider.uriList.uris\",\"Insert Uris\"):p(\"defaultDropProvider.uriList.uri\",\"Insert Uri\"):r=i.length>1?p(\"defaultDropProvider.uriList.paths\",\"Insert Paths\"):p(\"defaultDropProvider.uriList.path\",\"Insert Path\"),{handledMimeType:Ti.uriList,insertText:o,title:r,kind:this.kind}}}let aL=class extends a4{constructor(e){super(),this._workspaceContextService=e,this.kind=new Bt(\"uri.relative\"),this.dropMimeTypes=[Ti.uriList],this.pasteMimeTypes=[Ti.uriList]}async getEdit(e,t){const i=await XK(e);if(!i.length||t.isCancellationRequested)return;const n=pd(i.map(({uri:o})=>{const r=this._workspaceContextService.getWorkspaceFolder(o);return r?Sme(r.uri,o):void 0}));if(n.length)return{handledMimeType:Ti.uriList,insertText:n.join(\" \"),title:i.length>1?p(\"defaultDropProvider.uriList.relativePaths\",\"Insert Relative Paths\"):p(\"defaultDropProvider.uriList.relativePath\",\"Insert Relative Path\"),kind:this.kind}}};aL=r4([TC(0,If)],aL);class bxe{constructor(){this.kind=new Bt(\"html\"),this.pasteMimeTypes=[\"text/html\"],this._yieldTo=[{mimeType:Ti.text}]}async provideDocumentPasteEdits(e,t,i,n,o){var r;if(n.triggerKind!==Nb.PasteAs&&!(!((r=n.only)===null||r===void 0)&&r.contains(this.kind)))return;const a=i.get(\"text/html\"),l=await(a==null?void 0:a.asString());if(!(!l||o.isCancellationRequested))return{dispose(){},edits:[{insertText:l,yieldTo:this._yieldTo,title:p(\"pasteHtmlLabel\",\"Insert HTML\"),kind:this.kind}]}}}async function XK(s){const e=s.get(Ti.uriList);if(!e)return[];const t=await e.asString(),i=[];for(const n of mk.parse(t))try{i.push({uri:Ae.parse(n),originalText:n})}catch{}return i}let AM=class extends H{constructor(e,t){super(),this._register(e.documentDropEditProvider.register(\"*\",new Kc)),this._register(e.documentDropEditProvider.register(\"*\",new ZK)),this._register(e.documentDropEditProvider.register(\"*\",new aL(t)))}};AM=r4([TC(0,Ce),TC(1,If)],AM);let MM=class extends H{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register(\"*\",new Kc)),this._register(e.documentPasteEditProvider.register(\"*\",new ZK)),this._register(e.documentPasteEditProvider.register(\"*\",new aL(t))),this._register(e.documentPasteEditProvider.register(\"*\",new bxe))}};MM=r4([TC(0,Ce),TC(1,If)],MM);class ea{constructor(){this.value=\"\",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const e=this.pos;let t=0,i=this.value.charCodeAt(e),n;if(n=ea._table[i],typeof n==\"number\")return this.pos+=1,{type:n,pos:e,len:1};if(ea.isDigitCharacter(i)){n=8;do t+=1,i=this.value.charCodeAt(e+t);while(ea.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}if(ea.isVariableCharacter(i)){n=9;do i=this.value.charCodeAt(e+ ++t);while(ea.isVariableCharacter(i)||ea.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}n=10;do t+=1,i=this.value.charCodeAt(e+t);while(!isNaN(i)&&typeof ea._table[i]>\"u\"&&!ea.isDigitCharacter(i)&&!ea.isVariableCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}}ea._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class C0{constructor(){this._children=[]}appendChild(e){return e instanceof Ts&&this._children[this._children.length-1]instanceof Ts?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:i}=e,n=i.children.indexOf(e),o=i.children.slice(0);o.splice(n,1,...t),i._children=o,function r(a,l){for(const d of a)d.parent=l,r(d.children,d)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof H1)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),\"\")}len(){return 0}}class Ts extends C0{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new Ts(this.value)}}class YK extends C0{}class yr extends YK{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof w0?this._children[0]:void 0}clone(){const e=new yr(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class w0 extends C0{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof Ts&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const e=new w0;return this.options.forEach(e.appendChild,e),e}}class l4 extends C0{constructor(){super(...arguments),this.regexp=new RegExp(\"\")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(o=>o instanceof Oa&&!!o.elseValue)&&(n=this._replace([])),n}_replace(e){let t=\"\";for(const i of this._children)if(i instanceof Oa){let n=e[i.index]||\"\";n=i.resolve(n),t+=n}else t+=i.toString();return t}toString(){return\"\"}clone(){const e=new l4;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?\"i\":\"\")+(this.regexp.global?\"g\":\"\")),e._children=this.children.map(t=>t.clone()),e}}class Oa extends C0{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return this.shorthandName===\"upcase\"?e?e.toLocaleUpperCase():\"\":this.shorthandName===\"downcase\"?e?e.toLocaleLowerCase():\"\":this.shorthandName===\"capitalize\"?e?e[0].toLocaleUpperCase()+e.substr(1):\"\":this.shorthandName===\"pascalcase\"?e?this._toPascalCase(e):\"\":this.shorthandName===\"camelcase\"?e?this._toCamelCase(e):\"\":e&&typeof this.ifValue==\"string\"?this.ifValue:!e&&typeof this.elseValue==\"string\"?this.elseValue:e||\"\"}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(i=>i.charAt(0).toUpperCase()+i.substr(1)).join(\"\"):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((i,n)=>n===0?i.charAt(0).toLowerCase()+i.substr(1):i.charAt(0).toUpperCase()+i.substr(1)).join(\"\"):e}clone(){return new Oa(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class NC extends YK{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||\"\")),t!==void 0?(this._children=[new Ts(t)],!0):!1}clone(){const e=new NC(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function M7(s,e){const t=[...s];for(;t.length>0;){const i=t.shift();if(!e(i))break;t.unshift(...i.children)}}class H1 extends C0{get placeholderInfo(){if(!this._placeholders){const e=[];let t;this.walk(function(i){return i instanceof yr&&(e.push(i),t=!t||t.index<i.index?i:t),!0}),this._placeholders={all:e,last:t}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,i=!1;return this.walk(n=>n===e?(i=!0,!1):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return M7([e],i=>(t+=i.len(),!0)),t}enclosingPlaceholders(e){const t=[];let{parent:i}=e;for(;i;)i instanceof yr&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof NC&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){const e=new H1;return this._children=this.children.map(t=>t.clone()),e}walk(e){M7(this.children,e)}}class Rf{constructor(){this._scanner=new ea,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\\$|}|\\\\/g,\"\\\\$&\")}static guessNeedsClipboard(e){return/\\${?CLIPBOARD/.test(e)}parse(e,t,i){const n=new H1;return this.parseFragment(e,n),this.ensureFinalTabstop(n,i??!1,t??!1),n}parseFragment(e,t){const i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););const n=new Map,o=[];t.walk(l=>(l instanceof yr&&(l.isFinalTabstop?n.set(0,void 0):!n.has(l.index)&&l.children.length>0?n.set(l.index,l.children):o.push(l)),!0));const r=(l,d)=>{const c=n.get(l.index);if(!c)return;const u=new yr(l.index);u.transform=l.transform;for(const h of c){const g=h.clone();u.appendChild(g),g instanceof yr&&n.has(g.index)&&!d.has(g.index)&&(d.add(g.index),r(g,d),d.delete(g.index))}t.replace(l,[u])},a=new Set;for(const l of o)r(l,a);return t.children.slice(i)}ensureFinalTabstop(e,t,i){(t||i&&e.placeholders.length>0)&&(e.placeholders.find(o=>o.index===0)||e.appendChild(new yr(0)))}_accept(e,t){if(e===void 0||this._token.type===e){const i=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),i}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){const n=this._scanner.next();if(n.type!==0&&n.type!==4&&n.type!==5)return!1}this._token=this._scanner.next()}const i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\\\(\\$|}|\\\\)/g,\"$1\");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return(t=this._accept(5,!0))?(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new Ts(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const i=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\\d+$/.test(t)?new yr(Number(t)):new NC(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(i);const o=new yr(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(o),!0;if(!this._parse(o))return e.appendChild(new Ts(\"${\"+t+\":\")),o.children.forEach(e.appendChild,e),!0}else if(o.index>0&&this._accept(7)){const r=new w0;for(;;){if(this._parseChoiceElement(r)){if(this._accept(2))continue;if(this._accept(7)&&(o.appendChild(r),this._accept(4)))return e.appendChild(o),!0}return this._backTo(i),!1}}else return this._accept(6)?this._parseTransform(o)?(e.appendChild(o),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(o),!0):this._backTo(i)}_parseChoiceElement(e){const t=this._token,i=[];for(;!(this._token.type===2||this._token.type===7);){let n;if((n=this._accept(5,!0))?n=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||n:n=this._accept(void 0,!0),!n)return this._backTo(t),!1;i.push(n)}return i.length===0?(this._backTo(t),!1):(e.appendChild(new Ts(i.join(\"\"))),!0)}_parseComplexVariable(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(i);const o=new NC(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(o),!0;if(!this._parse(o))return e.appendChild(new Ts(\"${\"+t+\":\")),o.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(o)?(e.appendChild(o),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(o),!0):this._backTo(i)}_parseTransform(e){const t=new l4;let i=\"\",n=\"\";for(;!this._accept(6);){let o;if(o=this._accept(5,!0)){o=this._accept(6,!0)||o,i+=o;continue}if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let o;if(o=this._accept(5,!0)){o=this._accept(5,!0)||this._accept(6,!0)||o,t.appendChild(new Ts(o));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch{return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);const n=this._accept(8,!0);if(n)if(i){if(this._accept(4))return e.appendChild(new Oa(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new Oa(Number(n))),!0;else return this._backTo(t),!1;if(this._accept(6)){const o=this._accept(9,!0);return!o||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new Oa(Number(n),o)),!0)}else if(this._accept(11)){const o=this._until(4);if(o)return e.appendChild(new Oa(Number(n),void 0,o,void 0)),!0}else if(this._accept(12)){const o=this._until(4);if(o)return e.appendChild(new Oa(Number(n),void 0,void 0,o)),!0}else if(this._accept(13)){const o=this._until(1);if(o){const r=this._until(4);if(r)return e.appendChild(new Oa(Number(n),void 0,o,r)),!0}}else{const o=this._until(4);if(o)return e.appendChild(new Oa(Number(n),void 0,void 0,o)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new Ts(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}function QK(s,e,t){var i,n,o,r;return(typeof t.insertText==\"string\"?t.insertText===\"\":t.insertText.snippet===\"\")?{edits:(n=(i=t.additionalEdit)===null||i===void 0?void 0:i.edits)!==null&&n!==void 0?n:[]}:{edits:[...e.map(a=>new dh(s,{range:a,text:typeof t.insertText==\"string\"?Rf.escape(t.insertText)+\"$0\":t.insertText.snippet,insertAsSnippet:!0})),...(r=(o=t.additionalEdit)===null||o===void 0?void 0:o.edits)!==null&&r!==void 0?r:[]]}}function JK(s){var e;function t(a,l){return\"mimeType\"in a?a.mimeType===l.handledMimeType:!!l.kind&&a.kind.contains(l.kind)}const i=new Map;for(const a of s)for(const l of(e=a.yieldTo)!==null&&e!==void 0?e:[])for(const d of s)if(d!==a&&t(l,d)){let c=i.get(a);c||(c=[],i.set(a,c)),c.push(d)}if(!i.size)return Array.from(s);const n=new Set,o=[];function r(a){if(!a.length)return[];const l=a[0];if(o.includes(l))return console.warn(\"Yield to cycle detected\",l),a;if(n.has(l))return r(a.slice(1));let d=[];const c=i.get(l);return c&&(o.push(l),d=r(c),o.pop()),n.add(l),[...d,l,...r(a.slice(1))]}return r(Array.from(s))}var Cxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},wxe=function(s,e){return function(t,i){e(t,i,s)}};const yxe=Ye.register({description:\"inline-progress-widget\",stickiness:1,showIfCollapsed:!0,after:{content:cz,inlineClassName:\"inline-editor-progress-decoration\",inlineClassNameAffectsLetterSpacing:!0}});class _k extends H{constructor(e,t,i,n,o){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=o,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=he(\".inline-progress-widget\"),this.domNode.role=\"button\",this.domNode.title=e;const t=he(\"span.icon\");this.domNode.append(t),t.classList.add(...Pe.asClassNameArray(oe.loading),\"codicon-modifier-spin\");const i=()=>{const n=this.editor.getOption(67);this.domNode.style.height=`${n}px`,this.domNode.style.width=`${Math.ceil(.8*n)}px`};i(),this._register(this.editor.onDidChangeConfiguration(n=>{(n.hasChanged(52)||n.hasChanged(67))&&i()})),this._register(K(this.domNode,ee.CLICK,n=>{this.delegate.cancel()}))}getId(){return _k.baseId+\".\"+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}_k.baseId=\"editor.widget.inlineProgressWidget\";let lL=class extends H{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new $n),this._currentWidget=new $n,this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}async showWhile(e,t,i){const n=this._operationIdPool++;this._currentOperation=n,this.clear(),this._showPromise.value=kh(()=>{const o=x.fromPositions(e);this._currentDecorations.set([{range:o,options:yxe}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(_k,this.id,this._editor,o,t,i))},this._showDelay);try{return await i}finally{this._currentOperation===n&&(this.clear(),this._currentOperation=void 0)}}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};lL=Cxe([wxe(2,Ne)],lL);var Sxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},R7=function(s,e){return function(t,i){e(t,i,s)}},lS;let Vs=lS=class{static get(e){return e.getContribution(lS.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new $n,this._messageListeners=new Y,this._mouseOverMessage=!1,this._editor=e,this._visible=lS.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;(e=this._message)===null||e===void 0||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){fo(tl(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=tl(e)?Hx(e,{actionHandler:{callback:n=>{this.closeMessage(),wO(this._openerService,n,tl(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new P7(this._editor,t,typeof e==\"string\"?e:this._message.element),this._messageListeners.add(le.debounce(this._editor.onDidBlurEditorText,(n,o)=>o,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&An(Xn(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(K(this._messageWidget.value.getDomNode(),ee.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(K(this._messageWidget.value.getDomNode(),ee.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new x(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(P7.fadeOut(this._messageWidget.value))}};Vs.ID=\"editor.contrib.messageController\";Vs.MESSAGE_VISIBLE=new ue(\"messageVisible\",!1,p(\"messageVisible\",\"Whether the editor is currently showing an inline message\"));Vs=lS=Sxe([R7(1,Be),R7(2,Bo)],Vs);const Dxe=mn.bindToContribution(Vs.get);de(new Dxe({id:\"leaveEditorMessage\",precondition:Vs.MESSAGE_VISIBLE,handler:s=>s.closeMessage(),kbOpts:{weight:130,primary:9}}));let P7=class{static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener(\"animationend\",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener(\"animationend\",t),e.getDomNode().classList.add(\"fadeOut\"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement(\"div\"),this._domNode.classList.add(\"monaco-editor-overlaymessage\"),this._domNode.style.marginLeft=\"-6px\";const o=document.createElement(\"div\");o.classList.add(\"anchor\",\"top\"),this._domNode.appendChild(o);const r=document.createElement(\"div\");typeof n==\"string\"?(r.classList.add(\"message\"),r.textContent=n):(n.classList.add(\"message\"),r.appendChild(n)),this._domNode.appendChild(r);const a=document.createElement(\"div\");a.classList.add(\"anchor\",\"below\"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add(\"fadeIn\")}dispose(){this._editor.removeContentWidget(this)}getId(){return\"messageoverlay\"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle(\"below\",e===2)}};kt(Vs.ID,Vs,4);var eq=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ub=function(s,e){return function(t,i){e(t,i,s)}},RM;let dL=RM=class extends H{constructor(e,t,i,n,o,r,a,l,d,c){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=o,this.edits=r,this.onSelectNewEdit=a,this._contextMenuService=l,this._keybindingService=c,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(d),this.visibleContext.set(!0),this._register(Ie(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register(Ie(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(u=>{o.containsPosition(u.position)||this.dispose()})),this._register(le.runAndSubscribe(c.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var e;const t=(e=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||e===void 0?void 0:e.getLabel();this.button.element.title=this.showCommand.label+(t?` (${t})`:\"\")}create(){this.domNode=he(\".post-edit-widget\"),this.button=this._register(new KD(this.domNode,{supportIcons:!0})),this.button.label=\"$(insert)\",this._register(K(this.domNode,ee.CLICK,()=>this.showSelector()))}getId(){return RM.baseId+\".\"+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const e=qi(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>af({id:\"\",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}};dL.baseId=\"editor.widget.postEditWidget\";dL=RM=eq([ub(7,Oo),ub(8,Be),ub(9,At)],dL);let cL=class extends H{constructor(e,t,i,n,o,r){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=o,this._bulkEditService=r,this._currentWidget=this._register(new $n),this._register(le.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n,o){const r=this._editor.getModel();if(!r||!e.length)return;const a=t.allEdits.at(t.activeEditIndex);if(!a)return;const l=await n(a,o);if(o.isCancellationRequested)return;const d=QK(r.uri,e,l),c=e[0],u=r.deltaDecorations([],[{range:c,options:{description:\"paste-line-suffix\",stickiness:0}}]);this._editor.focus();let h,g;try{h=await this._bulkEditService.apply(d,{editor:this._editor,token:o}),g=r.getDecorationRange(u[0])}finally{r.deltaDecorations(u,[])}o.isCancellationRequested||i&&h.isApplied&&t.allEdits.length>1&&this.show(g??c,t,async f=>{const m=this._editor.getModel();m&&(await m.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:f,allEdits:t.allEdits},i,n,o))})}show(e,t,i){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(dL,this._id,this._editor,this._visibleContext,this._showCommand,e,t,i))}clear(){this._currentWidget.clear()}tryShowSelector(){var e;(e=this._currentWidget.value)===null||e===void 0||e.showSelector()}};cL=eq([ub(4,Ne),ub(5,x1)],cL);var Lxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Mp=function(s,e){return function(t,i){e(t,i,s)}},Mg;const tq=\"editor.changePasteType\",d4=new ue(\"pasteWidgetVisible\",!1,p(\"pasteWidgetVisible\",\"Whether the paste widget is showing\")),iT=\"application/vnd.code.copyMetadata\";let kd=Mg=class extends H{static get(e){return e.getContribution(Mg.ID)}constructor(e,t,i,n,o,r,a){super(),this._bulkEditService=i,this._clipboardService=n,this._languageFeaturesService=o,this._quickInputService=r,this._progressService=a,this._editor=e;const l=e.getContainerDomNode();this._register(K(l,\"copy\",d=>this.handleCopy(d))),this._register(K(l,\"cut\",d=>this.handleCopy(d))),this._register(K(l,\"paste\",d=>this.handlePaste(d),!0)),this._pasteProgressManager=this._register(new lL(\"pasteIntoEditor\",e,t)),this._postPasteWidgetManager=this._register(t.createInstance(cL,\"pasteIntoEditor\",e,d4,{id:tq,label:p(\"postPasteWidgetTitle\",\"Show paste options...\")}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(e){this._editor.focus();try{this._pasteAsActionContext={preferred:e},o0().execCommand(\"paste\")}finally{this._pasteAsActionContext=void 0}}clearWidgets(){this._postPasteWidgetManager.clear()}isPasteAsEnabled(){return this._editor.getOption(85).enabled&&!this._editor.getOption(91)}async finishedPaste(){await this._currentPasteOperation}handleCopy(e){var t,i;if(!this._editor.hasTextFocus()||(Jh&&this._clipboardService.writeResources([]),!e.clipboardData||!this.isPasteAsEnabled()))return;const n=this._editor.getModel(),o=this._editor.getSelections();if(!n||!(o!=null&&o.length))return;const r=this._editor.getOption(37);let a=o;const l=o.length===1&&o[0].isEmpty();if(l){if(!r)return;a=[new x(a[0].startLineNumber,1,a[0].startLineNumber,1+n.getLineLength(a[0].startLineNumber))]}const d=(t=this._editor._getViewModel())===null||t===void 0?void 0:t.getPlainTextToCopy(o,r,as),u={multicursorText:Array.isArray(d)?d:null,pasteOnNewLine:l,mode:null},h=this._languageFeaturesService.documentPasteEditProvider.ordered(n).filter(v=>!!v.prepareDocumentPaste);if(!h.length){this.setCopyMetadata(e.clipboardData,{defaultPastePayload:u});return}const g=qK(e.clipboardData),f=h.flatMap(v=>{var b;return(b=v.copyMimeTypes)!==null&&b!==void 0?b:[]}),m=pk();this.setCopyMetadata(e.clipboardData,{id:m,providerCopyMimeTypes:f,defaultPastePayload:u});const _=Dn(async v=>{const b=pd(await Promise.all(h.map(async C=>{try{return await C.prepareDocumentPaste(n,a,g,v)}catch(w){console.error(w);return}})));b.reverse();for(const C of b)for(const[w,y]of C)g.replace(w,y);return g});(i=Mg._currentCopyOperation)===null||i===void 0||i.dataTransferPromise.cancel(),Mg._currentCopyOperation={handle:m,dataTransferPromise:_}}async handlePaste(e){var t,i,n,o;if(!e.clipboardData||!this._editor.hasTextFocus())return;(t=Vs.get(this._editor))===null||t===void 0||t.closeMessage(),(i=this._currentPasteOperation)===null||i===void 0||i.cancel(),this._currentPasteOperation=void 0;const r=this._editor.getModel(),a=this._editor.getSelections();if(!(a!=null&&a.length)||!r||!this.isPasteAsEnabled()&&!this._pasteAsActionContext)return;const l=this.fetchCopyMetadata(e),d=GK(e.clipboardData);d.delete(iT);const c=[...e.clipboardData.types,...(n=l==null?void 0:l.providerCopyMimeTypes)!==null&&n!==void 0?n:[],Ti.uriList],u=this._languageFeaturesService.documentPasteEditProvider.ordered(r).filter(h=>{var g,f;const m=(g=this._pasteAsActionContext)===null||g===void 0?void 0:g.preferred;return m&&h.providedPasteEditKinds&&!this.providerMatchesPreference(h,m)?!1:(f=h.pasteMimeTypes)===null||f===void 0?void 0:f.some(_=>jK(_,c))});if(!u.length){!((o=this._pasteAsActionContext)===null||o===void 0)&&o.preferred&&this.showPasteAsNoEditMessage(a,this._pasteAsActionContext.preferred);return}e.preventDefault(),e.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferred,u,a,d,l):this.doPasteInline(u,a,d,l,e)}showPasteAsNoEditMessage(e,t){var i;(i=Vs.get(this._editor))===null||i===void 0||i.showMessage(p(\"pasteAsError\",\"No paste edits for '{0}' found\",t instanceof Bt?t.value:t.providerId),e[0].getStartPosition())}doPasteInline(e,t,i,n,o){const r=Dn(async a=>{const l=this._editor;if(!l.hasModel())return;const d=l.getModel(),c=new Bh(l,3,void 0,a);try{if(await this.mergeInDataFromCopy(i,n,c.token),c.token.isCancellationRequested)return;const u=e.filter(f=>this.isSupportedPasteProvider(f,i));if(!u.length||u.length===1&&u[0]instanceof Kc)return this.applyDefaultPasteHandler(i,n,c.token,o);const h={triggerKind:Nb.Automatic},g=await this.getPasteEdits(u,i,d,t,h,c.token);if(c.token.isCancellationRequested)return;if(g.length===1&&g[0].provider instanceof Kc)return this.applyDefaultPasteHandler(i,n,c.token,o);if(g.length){const f=l.getOption(85).showPasteSelector===\"afterPaste\";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(t,{activeEditIndex:0,allEdits:g},f,async(m,_)=>{var v,b;const C=await((b=(v=m.provider).resolveDocumentPasteEdit)===null||b===void 0?void 0:b.call(v,m,_));return C&&(m.additionalEdit=C.additionalEdit),m},c.token)}await this.applyDefaultPasteHandler(i,n,c.token,o)}finally{c.dispose(),this._currentPasteOperation===r&&(this._currentPasteOperation=void 0)}});this._pasteProgressManager.showWhile(t[0].getEndPosition(),p(\"pasteIntoEditorProgress\",\"Running paste handlers. Click to cancel\"),r),this._currentPasteOperation=r}showPasteAsPick(e,t,i,n,o){const r=Dn(async a=>{const l=this._editor;if(!l.hasModel())return;const d=l.getModel(),c=new Bh(l,3,void 0,a);try{if(await this.mergeInDataFromCopy(n,o,c.token),c.token.isCancellationRequested)return;let u=t.filter(_=>this.isSupportedPasteProvider(_,n,e));e&&(u=u.filter(_=>this.providerMatchesPreference(_,e)));const h={triggerKind:Nb.PasteAs,only:e&&e instanceof Bt?e:void 0};let g=await this.getPasteEdits(u,n,d,i,h,c.token);if(c.token.isCancellationRequested)return;if(e&&(g=g.filter(_=>e instanceof Bt?e.contains(_.kind):e.providerId===_.provider.id)),!g.length){h.only&&this.showPasteAsNoEditMessage(i,h.only);return}let f;if(e)f=g.at(0);else{const _=await this._quickInputService.pick(g.map(v=>{var b;return{label:v.title,description:(b=v.kind)===null||b===void 0?void 0:b.value,edit:v}}),{placeHolder:p(\"pasteAsPickerPlaceholder\",\"Select Paste Action\")});f=_==null?void 0:_.edit}if(!f)return;const m=QK(d.uri,i,f);await this._bulkEditService.apply(m,{editor:this._editor})}finally{c.dispose(),this._currentPasteOperation===r&&(this._currentPasteOperation=void 0)}});this._progressService.withProgress({location:10,title:p(\"pasteAsProgress\",\"Running paste handlers\")},()=>r)}setCopyMetadata(e,t){e.setData(iT,JSON.stringify(t))}fetchCopyMetadata(e){var t;if(!e.clipboardData)return;const i=e.clipboardData.getData(iT);if(i)try{return JSON.parse(i)}catch{return}const[n,o]=AA.getTextData(e.clipboardData);if(o)return{defaultPastePayload:{mode:o.mode,multicursorText:(t=o.multicursorText)!==null&&t!==void 0?t:null,pasteOnNewLine:!!o.isFromEmptySelection}}}async mergeInDataFromCopy(e,t,i){var n;if(t!=null&&t.id&&((n=Mg._currentCopyOperation)===null||n===void 0?void 0:n.handle)===t.id){const o=await Mg._currentCopyOperation.dataTransferPromise;if(i.isCancellationRequested)return;for(const[r,a]of o)e.replace(r,a)}if(!e.has(Ti.uriList)){const o=await this._clipboardService.readResources();if(i.isCancellationRequested)return;o.length&&e.append(Ti.uriList,o4(mk.create(o)))}}async getPasteEdits(e,t,i,n,o,r){const a=await h1(Promise.all(e.map(async d=>{var c,u;try{const h=await((c=d.provideDocumentPasteEdits)===null||c===void 0?void 0:c.call(d,i,n,t,o,r));return(u=h==null?void 0:h.edits)===null||u===void 0?void 0:u.map(g=>({...g,provider:d}))}catch(h){console.error(h)}})),r),l=pd(a??[]).flat().filter(d=>!o.only||o.only.contains(d.kind));return JK(l)}async applyDefaultPasteHandler(e,t,i,n){var o,r,a,l;const d=(o=e.get(Ti.text))!==null&&o!==void 0?o:e.get(\"text\"),c=(r=await(d==null?void 0:d.asString()))!==null&&r!==void 0?r:\"\";if(i.isCancellationRequested)return;const u={clipboardEvent:n,text:c,pasteOnNewLine:(a=t==null?void 0:t.defaultPastePayload.pasteOnNewLine)!==null&&a!==void 0?a:!1,multicursorText:(l=t==null?void 0:t.defaultPastePayload.multicursorText)!==null&&l!==void 0?l:null,mode:null};this._editor.trigger(\"keyboard\",\"paste\",u)}isSupportedPasteProvider(e,t,i){var n;return!((n=e.pasteMimeTypes)===null||n===void 0)&&n.some(o=>t.matches(o))?!i||this.providerMatchesPreference(e,i):!1}providerMatchesPreference(e,t){return t instanceof Bt?e.providedPasteEditKinds?e.providedPasteEditKinds.some(i=>t.contains(i)):!0:e.id===t.providerId}};kd.ID=\"editor.contrib.copyPasteActionController\";kd=Mg=Lxe([Mp(1,Ne),Mp(2,x1),Mp(3,ru),Mp(4,Ce),Mp(5,hp),Mp(6,lj)],kd);const Pf=\"9_cutcopypaste\",xxe=md||document.queryCommandSupported(\"cut\"),iq=md||document.queryCommandSupported(\"copy\"),kxe=typeof navigator.clipboard>\"u\"||Fr?document.queryCommandSupported(\"paste\"):!0;function c4(s){return s.register(),s}const Exe=xxe?c4(new a0({id:\"editor.action.clipboardCutAction\",precondition:void 0,kbOpts:md?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:E.MenubarEditMenu,group:\"2_ccp\",title:p({},\"Cu&&t\"),order:1},{menuId:E.EditorContext,group:Pf,title:p(\"actions.clipboard.cutLabel\",\"Cut\"),when:T.writable,order:1},{menuId:E.CommandPalette,group:\"\",title:p(\"actions.clipboard.cutLabel\",\"Cut\"),order:1},{menuId:E.SimpleEditorContext,group:Pf,title:p(\"actions.clipboard.cutLabel\",\"Cut\"),when:T.writable,order:1}]})):void 0,Ixe=iq?c4(new a0({id:\"editor.action.clipboardCopyAction\",precondition:void 0,kbOpts:md?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:E.MenubarEditMenu,group:\"2_ccp\",title:p({},\"&&Copy\"),order:2},{menuId:E.EditorContext,group:Pf,title:p(\"actions.clipboard.copyLabel\",\"Copy\"),order:2},{menuId:E.CommandPalette,group:\"\",title:p(\"actions.clipboard.copyLabel\",\"Copy\"),order:1},{menuId:E.SimpleEditorContext,group:Pf,title:p(\"actions.clipboard.copyLabel\",\"Copy\"),order:2}]})):void 0;yn.appendMenuItem(E.MenubarEditMenu,{submenu:E.MenubarCopy,title:Ve(\"copy as\",\"Copy As\"),group:\"2_ccp\",order:3});yn.appendMenuItem(E.EditorContext,{submenu:E.EditorContextCopy,title:Ve(\"copy as\",\"Copy As\"),group:Pf,order:3});yn.appendMenuItem(E.EditorContext,{submenu:E.EditorContextShare,title:Ve(\"share\",\"Share\"),group:\"11_share\",order:-1,when:G.and(G.notEquals(\"resourceScheme\",\"output\"),T.editorTextFocus)});yn.appendMenuItem(E.EditorTitleContext,{submenu:E.EditorTitleContextShare,title:Ve(\"share\",\"Share\"),group:\"11_share\",order:-1});yn.appendMenuItem(E.ExplorerContext,{submenu:E.ExplorerContextShare,title:Ve(\"share\",\"Share\"),group:\"11_share\",order:-1});const nT=kxe?c4(new a0({id:\"editor.action.clipboardPasteAction\",precondition:void 0,kbOpts:md?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:E.MenubarEditMenu,group:\"2_ccp\",title:p({},\"&&Paste\"),order:4},{menuId:E.EditorContext,group:Pf,title:p(\"actions.clipboard.pasteLabel\",\"Paste\"),when:T.writable,order:4},{menuId:E.CommandPalette,group:\"\",title:p(\"actions.clipboard.pasteLabel\",\"Paste\"),order:1},{menuId:E.SimpleEditorContext,group:Pf,title:p(\"actions.clipboard.pasteLabel\",\"Paste\"),when:T.writable,order:4}]})):void 0;class Txe extends me{constructor(){super({id:\"editor.action.clipboardCopyWithSyntaxHighlightingAction\",label:p(\"actions.clipboard.copyWithSyntaxHighlightingLabel\",\"Copy With Syntax Highlighting\"),alias:\"Copy With Syntax Highlighting\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(37)&&t.getSelection().isEmpty()||(TA.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand(\"copy\"),TA.forceCopyWithSyntaxHighlighting=!1)}}function nq(s,e){s&&(s.addImplementation(1e4,\"code-editor\",(t,i)=>{const n=t.get(xt).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const o=n.getOption(37),r=n.getSelection();return r&&r.isEmpty()&&!o||n.getContainerDomNode().ownerDocument.execCommand(e),!0}return!1}),s.addImplementation(0,\"generic-dom\",(t,i)=>(o0().execCommand(e),!0)))}nq(Exe,\"cut\");nq(Ixe,\"copy\");nT&&(nT.addImplementation(1e4,\"code-editor\",(s,e)=>{var t,i;const n=s.get(xt),o=s.get(ru),r=n.getFocusedCodeEditor();return r&&r.hasTextFocus()?r.getContainerDomNode().ownerDocument.execCommand(\"paste\")?(i=(t=kd.get(r))===null||t===void 0?void 0:t.finishedPaste())!==null&&i!==void 0?i:Promise.resolve():Jh?(async()=>{const l=await o.readText();if(l!==\"\"){const d=Jb.INSTANCE.get(l);let c=!1,u=null,h=null;d&&(c=r.getOption(37)&&!!d.isFromEmptySelection,u=typeof d.multicursorText<\"u\"?d.multicursorText:null,h=d.mode),r.trigger(\"keyboard\",\"paste\",{text:l,pasteOnNewLine:c,multicursorText:u,mode:h})}})():!0:!1}),nT.addImplementation(0,\"generic-dom\",(s,e)=>(o0().execCommand(\"paste\"),!0)));iq&&te(Txe);const li=new class{constructor(){this.QuickFix=new Bt(\"quickfix\"),this.Refactor=new Bt(\"refactor\"),this.RefactorExtract=this.Refactor.append(\"extract\"),this.RefactorInline=this.Refactor.append(\"inline\"),this.RefactorMove=this.Refactor.append(\"move\"),this.RefactorRewrite=this.Refactor.append(\"rewrite\"),this.Notebook=new Bt(\"notebook\"),this.Source=new Bt(\"source\"),this.SourceOrganizeImports=this.Source.append(\"organizeImports\"),this.SourceFixAll=this.Source.append(\"fixAll\"),this.SurroundWith=this.Refactor.append(\"surround\")}};var Ro;(function(s){s.Refactor=\"refactor\",s.RefactorPreview=\"refactor preview\",s.Lightbulb=\"lightbulb\",s.Default=\"other (default)\",s.SourceAction=\"source action\",s.QuickFix=\"quick fix action\",s.FixAll=\"fix all\",s.OrganizeImports=\"organize imports\",s.AutoFix=\"auto fix\",s.QuickFixHover=\"quick fix hover window\",s.OnSave=\"save participants\",s.ProblemsView=\"problems view\"})(Ro||(Ro={}));function Nxe(s,e){return!(s.include&&!s.include.intersects(e)||s.excludes&&s.excludes.some(t=>sq(e,t,s.include))||!s.includeSourceActions&&li.Source.contains(e))}function Axe(s,e){const t=e.kind?new Bt(e.kind):void 0;return!(s.include&&(!t||!s.include.contains(t))||s.excludes&&t&&s.excludes.some(i=>sq(t,i,s.include))||!s.includeSourceActions&&t&&li.Source.contains(t)||s.onlyIncludePreferredActions&&!e.isPreferred)}function sq(s,e,t){return!(!e.contains(s)||t&&e.contains(t))}class Gl{static fromUser(e,t){return!e||typeof e!=\"object\"?new Gl(t.kind,t.apply,!1):new Gl(Gl.getKindFromUser(e,t.kind),Gl.getApplyFromUser(e,t.apply),Gl.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply==\"string\"?e.apply.toLowerCase():\"\"){case\"first\":return\"first\";case\"never\":return\"never\";case\"ifsingle\":return\"ifSingle\";default:return t}}static getKindFromUser(e,t){return typeof e.kind==\"string\"?new Bt(e.kind):t}static getPreferredUser(e){return typeof e.preferred==\"boolean\"?e.preferred:!1}constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}}class Mxe{constructor(e,t,i){this.action=e,this.provider=t,this.highlightRange=i}async resolve(e){var t;if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=await this.provider.resolveCodeAction(this.action,e)}catch(n){Ai(n)}i&&(this.action.edit=i.edit)}return this}}const oq=\"editor.action.codeAction\",u4=\"editor.action.quickFix\",rq=\"editor.action.autoFix\",aq=\"editor.action.refactor\",lq=\"editor.action.sourceAction\",h4=\"editor.action.organizeImports\",g4=\"editor.action.fixAll\";class hb extends H{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:rs(e.diagnostics)?rs(t.diagnostics)?hb.codeActionsPreferredComparator(e,t):-1:rs(t.diagnostics)?1:hb.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(hb.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&li.QuickFix.contains(new Bt(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}const F7={actions:[],documentation:void 0};async function gb(s,e,t,i,n,o){var r;const a=i.filter||{},l={...a,excludes:[...a.excludes||[],li.Notebook]},d={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new s4(e,o),u=i.type===2,h=Rxe(s,e,u?l:a),g=new Y,f=h.map(async _=>{try{n.report(_);const v=await _.provideCodeActions(e,t,d,c.token);if(v&&g.add(v),c.token.isCancellationRequested)return F7;const b=((v==null?void 0:v.actions)||[]).filter(w=>w&&Axe(a,w)),C=Fxe(_,b,a.include);return{actions:b.map(w=>new Mxe(w,_)),documentation:C}}catch(v){if(Id(v))throw v;return Ai(v),F7}}),m=s.onDidChange(()=>{const _=s.all(e);Ci(_,h)||c.cancel()});try{const _=await Promise.all(f),v=_.map(C=>C.actions).flat(),b=[...pd(_.map(C=>C.documentation)),...Pxe(s,e,i,v)];return new hb(v,b,g)}finally{m.dispose(),c.dispose()}}function Rxe(s,e,t){return s.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>Nxe(t,new Bt(n))):!0)}function*Pxe(s,e,t,i){var n,o,r;if(e&&i.length)for(const a of s.all(e))a._getAdditionalMenuItems&&(yield*(n=a._getAdditionalMenuItems)===null||n===void 0?void 0:n.call(a,{trigger:t.type,only:(r=(o=t.filter)===null||o===void 0?void 0:o.include)===null||r===void 0?void 0:r.value},i.map(l=>l.action)))}function Fxe(s,e,t){if(!s.documentation)return;const i=s.documentation.map(n=>({kind:new Bt(n.kind),command:n.command}));if(t){let n;for(const o of i)o.kind.contains(t)&&(n?n.kind.contains(o.kind)&&(n=o):n=o);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const o of i)if(o.kind.contains(new Bt(n.kind)))return o.command}}var nf;(function(s){s.OnSave=\"onSave\",s.FromProblemsView=\"fromProblemsView\",s.FromCodeActions=\"fromCodeActions\",s.FromAILightbulb=\"fromAILightbulb\"})(nf||(nf={}));async function Oxe(s,e,t,i,n=dt.None){var o;const r=s.get(x1),a=s.get(gi),l=s.get(Gs),d=s.get(en);if(l.publicLog2(\"codeAction.applyCodeAction\",{codeActionTitle:e.action.title,codeActionKind:e.action.kind,codeActionIsPreferred:!!e.action.isPreferred,reason:t}),await e.resolve(n),!n.isCancellationRequested&&!(!((o=e.action.edit)===null||o===void 0)&&o.edits.length&&!(await r.apply(e.action.edit,{editor:i==null?void 0:i.editor,label:e.action.title,quotableLabel:e.action.title,code:\"undoredo.codeAction\",respectAutoSaveConfig:t!==nf.OnSave,showPreview:i==null?void 0:i.preview})).isApplied)&&e.action.command)try{await a.executeCommand(e.action.command.id,...e.action.command.arguments||[])}catch(c){const u=Bxe(c);d.error(typeof u==\"string\"?u:p(\"applyCodeActionFailed\",\"An unknown error occurred while applying the code action\"))}}function Bxe(s){return typeof s==\"string\"?s:s instanceof Error&&typeof s.message==\"string\"?s.message:void 0}pt.registerCommand(\"_executeCodeActionProvider\",async function(s,e,t,i,n){if(!(e instanceof Ae))throw Mr();const{codeActionProvider:o}=s.get(Ce),r=s.get(_i).getModel(e);if(!r)throw Mr();const a=we.isISelection(t)?we.liftSelection(t):x.isIRange(t)?r.validateRange(t):void 0;if(!a)throw Mr();const l=typeof i==\"string\"?new Bt(i):void 0,d=await gb(o,r,a,{type:1,triggerAction:Ro.Default,filter:{includeSourceActions:!0,include:l}},Nc.None,dt.None),c=[],u=Math.min(d.validActions.length,typeof n==\"number\"?n:0);for(let h=0;h<u;h++)c.push(d.validActions[h].resolve(dt.None));try{return await Promise.all(c),d.validActions.map(h=>h.action)}finally{setTimeout(()=>d.dispose(),100)}});var Wxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Hxe=function(s,e){return function(t,i){e(t,i,s)}},PM;let uL=PM=class{constructor(e){this.keybindingService=e}getResolver(){const e=new gl(()=>this.keybindingService.getKeybindings().filter(t=>PM.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===h4?i={kind:li.SourceOrganizeImports.value}:t.command===g4&&(i={kind:li.SourceFixAll.value}),{resolvedKeybinding:t.resolvedKeybinding,...Gl.fromUser(i,{kind:Bt.None,apply:\"never\"})}}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.value);return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new Bt(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,o)=>n?n.kind.contains(o.kind)?o:n:o,void 0)}};uL.codeActionCommands=[aq,oq,lq,h4,g4];uL=PM=Wxe([Hxe(0,At)],uL);N(\"symbolIcon.arrayForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.arrayForeground\",\"The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.booleanForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.booleanForeground\",\"The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.classForeground\",{dark:\"#EE9D28\",light:\"#D67E00\",hcDark:\"#EE9D28\",hcLight:\"#D67E00\"},p(\"symbolIcon.classForeground\",\"The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.colorForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.colorForeground\",\"The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.constantForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.constantForeground\",\"The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.constructorForeground\",{dark:\"#B180D7\",light:\"#652D90\",hcDark:\"#B180D7\",hcLight:\"#652D90\"},p(\"symbolIcon.constructorForeground\",\"The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.enumeratorForeground\",{dark:\"#EE9D28\",light:\"#D67E00\",hcDark:\"#EE9D28\",hcLight:\"#D67E00\"},p(\"symbolIcon.enumeratorForeground\",\"The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.enumeratorMemberForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hcDark:\"#75BEFF\",hcLight:\"#007ACC\"},p(\"symbolIcon.enumeratorMemberForeground\",\"The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.eventForeground\",{dark:\"#EE9D28\",light:\"#D67E00\",hcDark:\"#EE9D28\",hcLight:\"#D67E00\"},p(\"symbolIcon.eventForeground\",\"The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.fieldForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hcDark:\"#75BEFF\",hcLight:\"#007ACC\"},p(\"symbolIcon.fieldForeground\",\"The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.fileForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.fileForeground\",\"The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.folderForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.folderForeground\",\"The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.functionForeground\",{dark:\"#B180D7\",light:\"#652D90\",hcDark:\"#B180D7\",hcLight:\"#652D90\"},p(\"symbolIcon.functionForeground\",\"The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.interfaceForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hcDark:\"#75BEFF\",hcLight:\"#007ACC\"},p(\"symbolIcon.interfaceForeground\",\"The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.keyForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.keyForeground\",\"The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.keywordForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.keywordForeground\",\"The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.methodForeground\",{dark:\"#B180D7\",light:\"#652D90\",hcDark:\"#B180D7\",hcLight:\"#652D90\"},p(\"symbolIcon.methodForeground\",\"The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.moduleForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.moduleForeground\",\"The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.namespaceForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.namespaceForeground\",\"The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.nullForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.nullForeground\",\"The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.numberForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.numberForeground\",\"The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.objectForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.objectForeground\",\"The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.operatorForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.operatorForeground\",\"The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.packageForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.packageForeground\",\"The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.propertyForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.propertyForeground\",\"The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.referenceForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.referenceForeground\",\"The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.snippetForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.snippetForeground\",\"The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.stringForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.stringForeground\",\"The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.structForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.structForeground\",\"The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.textForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.textForeground\",\"The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.typeParameterForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.typeParameterForeground\",\"The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.unitForeground\",{dark:ae,light:ae,hcDark:ae,hcLight:ae},p(\"symbolIcon.unitForeground\",\"The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));N(\"symbolIcon.variableForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hcDark:\"#75BEFF\",hcLight:\"#007ACC\"},p(\"symbolIcon.variableForeground\",\"The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));const dq=Object.freeze({kind:Bt.Empty,title:p(\"codeAction.widget.id.more\",\"More Actions...\")}),Vxe=Object.freeze([{kind:li.QuickFix,title:p(\"codeAction.widget.id.quickfix\",\"Quick Fix\")},{kind:li.RefactorExtract,title:p(\"codeAction.widget.id.extract\",\"Extract\"),icon:oe.wrench},{kind:li.RefactorInline,title:p(\"codeAction.widget.id.inline\",\"Inline\"),icon:oe.wrench},{kind:li.RefactorRewrite,title:p(\"codeAction.widget.id.convert\",\"Rewrite\"),icon:oe.wrench},{kind:li.RefactorMove,title:p(\"codeAction.widget.id.move\",\"Move\"),icon:oe.wrench},{kind:li.SurroundWith,title:p(\"codeAction.widget.id.surround\",\"Surround With\"),icon:oe.surroundWith},{kind:li.Source,title:p(\"codeAction.widget.id.source\",\"Source Action\"),icon:oe.symbolFile},dq]);function zxe(s,e,t){if(!e)return s.map(o=>{var r;return{kind:\"action\",item:o,group:dq,disabled:!!o.action.disabled,label:o.action.disabled||o.action.title,canPreview:!!(!((r=o.action.edit)===null||r===void 0)&&r.edits.length)}});const i=Vxe.map(o=>({group:o,actions:[]}));for(const o of s){const r=o.action.kind?new Bt(o.action.kind):Bt.None;for(const a of i)if(a.group.kind.contains(r)){a.actions.push(o);break}}const n=[];for(const o of i)if(o.actions.length){n.push({kind:\"header\",group:o.group});for(const r of o.actions){const a=o.group;n.push({kind:\"action\",item:r,group:r.action.isAI?{title:a.title,kind:a.kind,icon:oe.sparkle}:a,label:r.action.title,disabled:!!r.action.disabled,keybinding:t(r.action)})}}return n}var Uxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},O7=function(s,e){return function(t,i){e(t,i,s)}},FM,bm;(function(s){s.Hidden={type:0};class e{constructor(i,n,o,r){this.actions=i,this.trigger=n,this.editorPosition=o,this.widgetPosition=r,this.type=1}}s.Showing=e})(bm||(bm={}));let Ff=FM=class extends H{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new B),this.onClick=this._onClick.event,this._state=bm.Hidden,this._iconClasses=[],this._domNode=he(\"div.lightBulbWidget\"),this._domNode.role=\"listbox\",this._register(Gt.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(n=>{const o=this._editor.getModel();(this.state.type!==1||!o||this.state.editorPosition.lineNumber>=o.getLineCount())&&this.hide()})),this._register(Pae(this._domNode,n=>{if(this.state.type!==1)return;this._editor.focus(),n.preventDefault();const{top:o,height:r}=qi(this._domNode),a=this._editor.getOption(67);let l=Math.floor(a/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(l+=a),this._onClick.fire({x:n.posx,y:o+r+l,actions:this.state.actions,trigger:this.state.trigger})})),this._register(K(this._domNode,\"mouseenter\",n=>{(n.buttons&1)===1&&this.hide()})),this._register(le.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var n,o,r,a;this._preferredKbLabel=(o=(n=this._keybindingService.lookupKeybinding(rq))===null||n===void 0?void 0:n.getLabel())!==null&&o!==void 0?o:void 0,this._quickFixKbLabel=(a=(r=this._keybindingService.lookupKeybinding(u4))===null||r===void 0?void 0:r.getLabel())!==null&&a!==void 0?a:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return\"LightBulbWidget\"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();if(!this._editor.getOptions().get(65).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:r,column:a}=o.validatePosition(i),l=o.getOptions().tabSize,d=this._editor.getOptions().get(50),c=o.getLineContent(r),u=Tx(c,l),h=d.spaceWidth*u>22,g=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let f=r,m=1;if(!h){if(r>1&&!g(r-1))f-=1;else if(r<o.getLineCount()&&!g(r+1))f+=1;else if(a*d.spaceWidth<22)return this.hide();m=/^\\S\\s*$/.test(o.getLineContent(f))?2:1}this.state=new bm.Showing(e,t,i,{position:{lineNumber:f,column:m},preference:FM._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state!==bm.Hidden&&(this.state=bm.Hidden,this._editor.layoutContentWidget(this))}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this._domNode.classList.remove(...this._iconClasses),this._iconClasses=[],this.state.type!==1)return;let e,t=!1;this.state.actions.allAIFixes?(e=oe.sparkleFilled,this.state.actions.validActions.length===1&&(t=!0)):this.state.actions.hasAutoFix?this.state.actions.hasAIFix?e=oe.lightbulbSparkleAutofix:e=oe.lightbulbAutofix:this.state.actions.hasAIFix?e=oe.lightbulbSparkle:e=oe.lightBulb,this._updateLightbulbTitle(this.state.actions.hasAutoFix,t),this._iconClasses=Pe.asClassNameArray(e),this._domNode.classList.add(...this._iconClasses)}_updateLightbulbTitle(e,t){this.state.type===1&&(t?this.title=p(\"codeActionAutoRun\",\"Run: {0}\",this.state.actions.validActions[0].action.title):e&&this._preferredKbLabel?this.title=p(\"preferredcodeActionWithKb\",\"Show Code Actions. Preferred Quick Fix Available ({0})\",this._preferredKbLabel):!e&&this._quickFixKbLabel?this.title=p(\"codeActionWithKb\",\"Show Code Actions ({0})\",this._quickFixKbLabel):e||(this.title=p(\"codeAction\",\"Show Code Actions\")))}set title(e){this._domNode.title=e}};Ff.ID=\"editor.contrib.lightbulbWidget\";Ff._posPref=[0];Ff=FM=Uxe([O7(1,At),O7(2,gi)],Ff);var cq=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},OM=function(s,e){return function(t,i){e(t,i,s)}};const uq=\"acceptSelectedCodeAction\",hq=\"previewSelectedCodeAction\";class $xe{get templateId(){return\"header\"}renderTemplate(e){e.classList.add(\"group-header\");const t=document.createElement(\"span\");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var n,o;i.text.textContent=(o=(n=e.group)===null||n===void 0?void 0:n.title)!==null&&o!==void 0?o:\"\"}disposeTemplate(e){}}let BM=class{get templateId(){return\"action\"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);const t=document.createElement(\"div\");t.className=\"icon\",e.append(t);const i=document.createElement(\"span\");i.className=\"title\",e.append(i);const n=new m0(e,Lo);return{container:e,icon:t,text:i,keybinding:n}}renderElement(e,t,i){var n,o,r;if(!((n=e.group)===null||n===void 0)&&n.icon?(i.icon.className=Pe.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=fe(e.group.icon.color.id))):(i.icon.className=Pe.asClassName(oe.lightBulb),i.icon.style.color=\"var(--vscode-editorLightBulb-foreground)\"),!e.item||!e.label)return;i.text.textContent=gq(e.label),i.keybinding.set(e.keybinding),Xae(!!e.keybinding,i.keybinding.element);const a=(o=this._keybindingService.lookupKeybinding(uq))===null||o===void 0?void 0:o.getLabel(),l=(r=this._keybindingService.lookupKeybinding(hq))===null||r===void 0?void 0:r.getLabel();i.container.classList.toggle(\"option-disabled\",e.disabled),e.disabled?i.container.title=e.label:a&&l?this._supportsPreview&&e.canPreview?i.container.title=p({},\"{0} to Apply, {1} to Preview\",a,l):i.container.title=p({},\"{0} to Apply\",a):i.container.title=\"\"}disposeTemplate(e){e.keybinding.dispose()}};BM=cq([OM(1,At)],BM);class jxe extends UIEvent{constructor(){super(\"acceptSelectedAction\")}}class B7 extends UIEvent{constructor(){super(\"previewSelectedAction\")}}function Kxe(s){if(s.kind===\"action\")return s.label}let WM=class extends H{constructor(e,t,i,n,o,r){super(),this._delegate=n,this._contextViewService=o,this._keybindingService=r,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new Vi),this.domNode=document.createElement(\"div\"),this.domNode.classList.add(\"actionList\");const a={getHeight:l=>l.kind===\"header\"?this._headerLineHeight:this._actionLineHeight,getTemplateId:l=>l.kind};this._list=this._register(new pr(e,this.domNode,a,[new BM(t,this._keybindingService),new $xe],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:Kxe},accessibilityProvider:{getAriaLabel:l=>{if(l.kind===\"action\"){let d=l.label?gq(l==null?void 0:l.label):\"\";return l.disabled&&(d=p({},\"{0}, Disabled Reason: {1}\",d,l.disabled)),d}return null},getWidgetAriaLabel:()=>p({},\"Action Widget\"),getRole:l=>l.kind===\"action\"?\"option\":\"separator\",getWidgetRole:()=>\"listbox\"}})),this._list.style(cp),this._register(this._list.onMouseClick(l=>this.onListClick(l))),this._register(this._list.onMouseOver(l=>this.onListHover(l))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(l=>this.onListSelection(l))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&e.kind===\"action\"}hide(e){this._delegate.onHide(e),this.cts.cancel(),this._contextViewService.hideContextView()}layout(e){const t=this._allMenuItems.filter(l=>l.kind===\"header\").length,n=this._allMenuItems.length*this._actionLineHeight+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(n);let o=e;if(this._allMenuItems.length>=50)o=380;else{const l=this._allMenuItems.map((d,c)=>{const u=this.domNode.ownerDocument.getElementById(this._list.getElementID(c));if(u){u.style.width=\"auto\";const h=u.getBoundingClientRect().width;return u.style.width=\"\",h}return 0});o=Math.max(...l,e)}const a=Math.min(n,this.domNode.ownerDocument.body.clientHeight*.7);return this._list.layout(a,o),this.domNode.style.height=`${a}px`,this._list.domFocus(),o}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){const t=this._list.getFocus();if(t.length===0)return;const i=t[0],n=this._list.element(i);if(!this.focusCondition(n))return;const o=e?new B7:new jxe;this._list.setSelection([i],o)}onListSelection(e){if(!e.elements.length)return;const t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof B7):this._list.setSelection([])}onFocus(){var e,t;const i=this._list.getFocus();if(i.length===0)return;const n=i[0],o=this._list.element(n);(t=(e=this._delegate).onFocus)===null||t===void 0||t.call(e,o.item)}async onListHover(e){const t=e.element;if(t&&t.item&&this.focusCondition(t)){if(this._delegate.onHover&&!t.disabled&&t.kind===\"action\"){const i=await this._delegate.onHover(t.item,this.cts.token);t.canPreview=i?i.canPreview:void 0}e.index&&this._list.splice(e.index,1,[t])}this._list.setFocus(typeof e.index==\"number\"?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};WM=cq([OM(4,nu),OM(5,At)],WM);function gq(s){return s.replace(/\\r\\n|\\r|\\n/g,\" \")}var qxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},sT=function(s,e){return function(t,i){e(t,i,s)}};N(\"actionBar.toggledBackground\",{dark:Zg,light:Zg,hcDark:Zg,hcLight:Zg},p(\"actionBar.toggledBackground\",\"Background color for toggled action items in action bar.\"));const Of={Visible:new ue(\"codeActionMenuVisible\",!1,p(\"codeActionMenuVisible\",\"Whether the action widget list is visible\"))},mp=ut(\"actionWidgetService\");let Bf=class extends H{get isVisible(){return Of.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new $n)}show(e,t,i,n,o,r,a){const l=Of.Visible.bindTo(this._contextKeyService),d=this._instantiationService.createInstance(WM,e,t,i,n);this._contextViewService.showContextView({getAnchor:()=>o,render:c=>(l.set(!0),this._renderWidget(c,d,a??[])),onHide:c=>{l.reset(),this._onWidgetClosed(c)}},r,!1)}acceptSelected(e){var t;(t=this._list.value)===null||t===void 0||t.acceptSelected(e)}focusPrevious(){var e,t;(t=(e=this._list)===null||e===void 0?void 0:e.value)===null||t===void 0||t.focusPrevious()}focusNext(){var e,t;(t=(e=this._list)===null||e===void 0?void 0:e.value)===null||t===void 0||t.focusNext()}hide(e){var t;(t=this._list.value)===null||t===void 0||t.hide(e),this._list.clear()}_renderWidget(e,t,i){var n;const o=document.createElement(\"div\");if(o.classList.add(\"action-widget\"),e.appendChild(o),this._list.value=t,this._list.value)o.appendChild(this._list.value.domNode);else throw new Error(\"List has no value\");const r=new Y,a=document.createElement(\"div\"),l=e.appendChild(a);l.classList.add(\"context-view-block\"),r.add(K(l,ee.MOUSE_DOWN,f=>f.stopPropagation()));const d=document.createElement(\"div\"),c=e.appendChild(d);c.classList.add(\"context-view-pointerBlock\"),r.add(K(c,ee.POINTER_MOVE,()=>c.remove())),r.add(K(c,ee.MOUSE_DOWN,()=>c.remove()));let u=0;if(i.length){const f=this._createActionBar(\".action-widget-action-bar\",i);f&&(o.appendChild(f.getContainer().parentElement),r.add(f),u=f.getContainer().offsetWidth)}const h=(n=this._list.value)===null||n===void 0?void 0:n.layout(u);o.style.width=`${h}px`;const g=r.add(ba(e));return r.add(g.onDidBlur(()=>this.hide(!0))),r}_createActionBar(e,t){if(!t.length)return;const i=he(e),n=new Vr(i);return n.push(t,{icon:!1,label:!0}),n}_onWidgetClosed(e){var t;(t=this._list.value)===null||t===void 0||t.hide(e)}};Bf=qxe([sT(0,nu),sT(1,Be),sT(2,Ne)],Bf);mt(mp,Bf,1);const V1=1100;qt(class extends qs{constructor(){super({id:\"hideCodeActionWidget\",title:Ve(\"hideCodeActionWidget.title\",\"Hide action widget\"),precondition:Of.Visible,keybinding:{weight:V1,primary:9,secondary:[1033]}})}run(s){s.get(mp).hide(!0)}});qt(class extends qs{constructor(){super({id:\"selectPrevCodeAction\",title:Ve(\"selectPrevCodeAction.title\",\"Select previous action\"),precondition:Of.Visible,keybinding:{weight:V1,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(s){const e=s.get(mp);e instanceof Bf&&e.focusPrevious()}});qt(class extends qs{constructor(){super({id:\"selectNextCodeAction\",title:Ve(\"selectNextCodeAction.title\",\"Select next action\"),precondition:Of.Visible,keybinding:{weight:V1,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(s){const e=s.get(mp);e instanceof Bf&&e.focusNext()}});qt(class extends qs{constructor(){super({id:uq,title:Ve(\"acceptSelected.title\",\"Accept selected action\"),precondition:Of.Visible,keybinding:{weight:V1,primary:3,secondary:[2137]}})}run(s){const e=s.get(mp);e instanceof Bf&&e.acceptSelected()}});qt(class extends qs{constructor(){super({id:hq,title:Ve(\"previewSelected.title\",\"Preview selected action\"),precondition:Of.Visible,keybinding:{weight:V1,primary:2051}})}run(s){const e=s.get(mp);e instanceof Bf&&e.acceptSelected(!0)}});const fq=new ue(\"supportedCodeAction\",\"\"),W7=\"_typescript.applyFixAllCodeAction\";class Gxe extends H{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new ya),this._register(this._markerService.onMarkerChanged(o=>this._onMarkerChanges(o))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);this._signalChange(t?{trigger:e,selection:t}:void 0)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(i=>ZF(i,t.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:Ro.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getSelection();if(e.type===1)return t;const i=this._editor.getOption(65).enabled;if(i!==ia.Off){{if(i===ia.On)return t;if(i===ia.OnCode){if(!t.isEmpty())return t;const o=this._editor.getModel(),{lineNumber:r,column:a}=t.getPosition(),l=o.getLineContent(r);if(l.length===0)return;if(a===1){if(/\\s/.test(l[0]))return}else if(a===o.getLineMaxColumn(r)){if(/\\s/.test(l[l.length-1]))return}else if(/\\s/.test(l[a-2])&&/\\s/.test(l[a-1]))return}}return t}}}var $g;(function(s){s.Empty={type:0};class e{constructor(i,n,o){this.trigger=i,this.position=n,this._cancellablePromise=o,this.type=1,this.actions=o.catch(r=>{if(Id(r))return pq;throw r})}cancel(){this._cancellablePromise.cancel()}}s.Triggered=e})($g||($g={}));const pq=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1,hasAIFix:!1,allAIFixes:!1});class Zxe extends H{constructor(e,t,i,n,o,r){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=o,this._configurationService=r,this._codeActionOracle=this._register(new $n),this._state=$g.Empty,this._onDidChangeState=this._register(new B),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=fq.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._register(this._editor.onDidChangeConfiguration(a=>{a.hasChanged(65)&&this._update()})),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState($g.Empty,!0))}_settingEnabledNearbyQuickfixes(){var e;const t=(e=this._editor)===null||e===void 0?void 0:e.getModel();return this._configurationService?this._configurationService.getValue(\"editor.codeActionWidget.includeNearbyQuickFixes\",{resource:t==null?void 0:t.uri}):!1}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState($g.Empty);const e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(91)){const t=this._registry.all(e).flatMap(i=>{var n;return(n=i.providedCodeActionKinds)!==null&&n!==void 0?n:[]});this._supportedCodeActions.set(t.join(\" \")),this._codeActionOracle.value=new Gxe(this._editor,this._markerService,i=>{var n;if(!i){this.setState($g.Empty);return}const o=i.selection.getStartPosition(),r=Dn(async d=>{var c,u,h,g,f,m,_,v,b,C;if(this._settingEnabledNearbyQuickfixes()&&i.trigger.type===1&&(i.trigger.triggerAction===Ro.QuickFix||!((u=(c=i.trigger.filter)===null||c===void 0?void 0:c.include)===null||u===void 0)&&u.contains(li.QuickFix))){const w=await gb(this._registry,e,i.selection,i.trigger,Nc.None,d),y=[...w.allActions];if(d.isCancellationRequested)return pq;const D=(h=w.validActions)===null||h===void 0?void 0:h.some(k=>k.action.kind?li.QuickFix.contains(new Bt(k.action.kind)):!1),L=this._markerService.read({resource:e.uri});if(D){for(const k of w.validActions)!((f=(g=k.action.command)===null||g===void 0?void 0:g.arguments)===null||f===void 0)&&f.some(I=>typeof I==\"string\"&&I.includes(W7))&&(k.action.diagnostics=[...L.filter(I=>I.relatedInformation)]);return{validActions:w.validActions,allActions:y,documentation:w.documentation,hasAutoFix:w.hasAutoFix,hasAIFix:w.hasAIFix,allAIFixes:w.allAIFixes,dispose:()=>{w.dispose()}}}else if(!D&&L.length>0){const k=i.selection.getPosition();let I=k,O=Number.MAX_VALUE;const R=[...w.validActions];for(const F of L){const V=F.endColumn,U=F.endLineNumber,J=F.startLineNumber;if(U===k.lineNumber||J===k.lineNumber){I=new W(U,V);const pe={type:i.trigger.type,triggerAction:i.trigger.triggerAction,filter:{include:!((m=i.trigger.filter)===null||m===void 0)&&m.include?(_=i.trigger.filter)===null||_===void 0?void 0:_.include:li.QuickFix},autoApply:i.trigger.autoApply,context:{notAvailableMessage:((v=i.trigger.context)===null||v===void 0?void 0:v.notAvailableMessage)||\"\",position:I}},De=new we(I.lineNumber,I.column,I.lineNumber,I.column),ge=await gb(this._registry,e,De,pe,Nc.None,d);if(ge.validActions.length!==0){for(const We of ge.validActions)!((C=(b=We.action.command)===null||b===void 0?void 0:b.arguments)===null||C===void 0)&&C.some(ye=>typeof ye==\"string\"&&ye.includes(W7))&&(We.action.diagnostics=[...L.filter(ye=>ye.relatedInformation)]);w.allActions.length===0&&y.push(...ge.allActions),Math.abs(k.column-V)<O?R.unshift(...ge.validActions):R.push(...ge.validActions)}O=Math.abs(k.column-V)}}const P=R.filter((F,V,U)=>U.findIndex(J=>J.action.title===F.action.title)===V);return P.sort((F,V)=>F.action.isPreferred&&!V.action.isPreferred?-1:!F.action.isPreferred&&V.action.isPreferred||F.action.isAI&&!V.action.isAI?1:!F.action.isAI&&V.action.isAI?-1:0),{validActions:P,allActions:y,documentation:w.documentation,hasAutoFix:w.hasAutoFix,hasAIFix:w.hasAIFix,allAIFixes:w.allAIFixes,dispose:()=>{w.dispose()}}}}return gb(this._registry,e,i.selection,i.trigger,Nc.None,d)});i.trigger.type===1&&((n=this._progressService)===null||n===void 0||n.showWhile(r,250));const a=new $g.Triggered(i.trigger,o,r);let l=!1;this._state.type===1&&(l=this._state.trigger.type===1&&a.type===1&&a.trigger.type===2&&this._state.position!==a.position),l?setTimeout(()=>{this.setState(a)},500):this.setState(a)},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:Ro.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;(t=this._codeActionOracle.value)===null||t===void 0||t.trigger(e)}setState(e,t){e!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=e,!t&&!this._disposed&&this._onDidChangeState.fire(e))}}var Xxe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Dl=function(s,e){return function(t,i){e(t,i,s)}},jp;const Yxe=\"quickfix-edit-highlight\";let Hh=jp=class extends H{static get(e){return e.getContribution(jp.ID)}constructor(e,t,i,n,o,r,a,l,d,c,u){super(),this._commandService=a,this._configurationService=l,this._actionWidgetService=d,this._instantiationService=c,this._telemetryService=u,this._activeCodeActions=this._register(new $n),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new Zxe(this._editor,o.codeActionProvider,t,i,r,l)),this._register(this._model.onDidChangeState(h=>this.update(h))),this._lightBulbWidget=new gl(()=>{const h=this._editor.getContribution(Ff.ID);return h&&this._register(h.onClick(g=>this.showCodeActionsFromLightbulb(g.actions,g))),h}),this._resolver=n.createInstance(uL),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(this._telemetryService.publicLog2(\"codeAction.showCodeActionsFromLightbulb\",{codeActionListLength:e.validActions.length,codeActions:e.validActions.map(i=>i.action.title),codeActionProviders:e.validActions.map(i=>{var n,o;return(o=(n=i.provider)===null||n===void 0?void 0:n.displayName)!==null&&o!==void 0?o:\"\"})}),e.allAIFixes&&e.validActions.length===1){const i=e.validActions[0],n=i.action.command;n&&n.id===\"inlineChat.start\"&&n.arguments&&n.arguments.length>=1&&(n.arguments[0]={...n.arguments[0],autoSend:!1}),await this._applyCodeAction(i,!1,!1,nf.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var o;if(!this._editor.hasModel())return;(o=Vs.get(this._editor))===null||o===void 0||o.closeMessage();const r=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:r}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(Oxe,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:Ro.QuickFix,filter:{}})}}async update(e){var t,i,n,o,r,a,l;if(e.type!==1){(t=this._lightBulbWidget.rawValue)===null||t===void 0||t.hide();return}let d;try{d=await e.actions}catch(c){Xe(c);return}if(!this._disposed)if((i=this._lightBulbWidget.value)===null||i===void 0||i.update(d,e.trigger,e.position),e.trigger.type===1){if(!((n=e.trigger.filter)===null||n===void 0)&&n.include){const u=this.tryGetValidActionToApply(e.trigger,d);if(u){try{(o=this._lightBulbWidget.value)===null||o===void 0||o.hide(),await this._applyCodeAction(u,!1,!1,nf.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){const h=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(h&&h.action.disabled){(r=Vs.get(this._editor))===null||r===void 0||r.showMessage(h.action.disabled,e.trigger.context.position),d.dispose();return}}}const c=!!(!((a=e.trigger.filter)===null||a===void 0)&&a.include);if(e.trigger.context&&(!d.allActions.length||!c&&!d.validActions.length)){(l=Vs.get(this._editor))===null||l===void 0||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:c,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&(e.autoApply===\"first\"&&t.validActions.length===0||e.autoApply===\"ifSingle\"&&t.allActions.length===1))return t.allActions.find(({action:i})=>i.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&(e.autoApply===\"first\"&&t.validActions.length>0||e.autoApply===\"ifSingle\"&&t.validActions.length===1))return t.validActions[0]}async showCodeActionList(e,t,i){const n=this._editor.createDecorationsCollection(),o=this._editor.getDomNode();if(!o)return;const r=i.includeDisabledActions&&(this._showDisabled||e.validActions.length===0)?e.allActions:e.validActions;if(!r.length)return;const a=W.isIPosition(t)?this.toCoords(t):t,l={onSelect:async(d,c)=>{this._applyCodeAction(d,!0,!!c,i.fromLightbulb?nf.FromAILightbulb:nf.FromCodeActions),this._actionWidgetService.hide(!1),n.clear()},onHide:d=>{var c;(c=this._editor)===null||c===void 0||c.focus(),n.clear(),i.fromLightbulb&&d!==void 0&&this._telemetryService.publicLog2(\"codeAction.showCodeActionList.onHide\",{codeActionListLength:e.validActions.length,didCancel:d})},onHover:async(d,c)=>{var u;if(c.isCancellationRequested)return;let h=!1;const g=d.action.kind;if(g){const f=new Bt(g);h=[li.RefactorExtract,li.RefactorInline,li.RefactorRewrite,li.RefactorMove,li.Source].some(_=>_.contains(f))}return{canPreview:h||!!(!((u=d.action.edit)===null||u===void 0)&&u.edits.length)}},onFocus:d=>{var c,u;if(d&&d.action){const h=d.action.ranges,g=d.action.diagnostics;if(n.clear(),h&&h.length>0){const f=g&&(g==null?void 0:g.length)>1?g.map(m=>({range:m,options:jp.DECORATION})):h.map(m=>({range:m,options:jp.DECORATION}));n.set(f)}else if(g&&g.length>0){const f=g.map(_=>({range:_,options:jp.DECORATION}));n.set(f);const m=g[0];if(m.startLineNumber&&m.startColumn){const _=(u=(c=this._editor.getModel())===null||c===void 0?void 0:c.getWordAtPosition({lineNumber:m.startLineNumber,column:m.startColumn}))===null||u===void 0?void 0:u.word;Uc(p(\"editingNewSelection\",\"Context: {0} at line {1} and column {2}.\",_,m.startLineNumber,m.startColumn))}}}else n.clear()}};this._actionWidgetService.show(\"codeActionWidget\",!0,zxe(r,this._shouldShowHeaders(),this._resolver.getResolver()),l,a,o,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=qi(this._editor.getDomNode()),n=i.left+t.left,o=i.top+t.top+t.height;return{x:n,y:o}}_shouldShowHeaders(){var e;const t=(e=this._editor)===null||e===void 0?void 0:e.getModel();return this._configurationService.getValue(\"editor.codeActionWidget.showHeaders\",{resource:t==null?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];const n=e.documentation.map(o=>{var r;return{id:o.id,label:o.title,tooltip:(r=o.tooltip)!==null&&r!==void 0?r:\"\",class:void 0,enabled:!0,run:()=>{var a;return this._commandService.executeCommand(o.id,...(a=o.arguments)!==null&&a!==void 0?a:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:\"hideMoreActions\",label:p(\"hideMoreActions\",\"Hide Disabled\"),enabled:!0,tooltip:\"\",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:\"showMoreActions\",label:p(\"showMoreActions\",\"Show Disabled\"),enabled:!0,tooltip:\"\",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};Hh.ID=\"editor.contrib.codeActionController\";Hh.DECORATION=Ye.register({description:\"quickfix-highlight\",className:Yxe});Hh=jp=Xxe([Dl(1,Pd),Dl(2,Be),Dl(3,Ne),Dl(4,Ce),Dl(5,sg),Dl(6,gi),Dl(7,rt),Dl(8,mp),Dl(9,Ne),Dl(10,Gs)],Hh);zr((s,e)=>{((n,o)=>{o&&e.addRule(`.monaco-editor ${n} { background-color: ${o}; }`)})(\".quickfix-edit-highlight\",s.getColor(pc));const i=s.getColor(zu);i&&e.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${dd(s.type)?\"dotted\":\"solid\"} ${i}; box-sizing: border-box; }`)});function z1(s){return G.regex(fq.keys()[0],new RegExp(\"(\\\\s|^)\"+rr(s.value)+\"\\\\b\"))}const f4={type:\"object\",defaultSnippets:[{body:{kind:\"\"}}],properties:{kind:{type:\"string\",description:p(\"args.schema.kind\",\"Kind of the code action to run.\")},apply:{type:\"string\",description:p(\"args.schema.apply\",\"Controls when the returned actions are applied.\"),default:\"ifSingle\",enum:[\"first\",\"ifSingle\",\"never\"],enumDescriptions:[p(\"args.schema.apply.first\",\"Always apply the first returned code action.\"),p(\"args.schema.apply.ifSingle\",\"Apply the first returned code action if it is the only one.\"),p(\"args.schema.apply.never\",\"Do not apply the returned code actions.\")]},preferred:{type:\"boolean\",default:!1,description:p(\"args.schema.preferred\",\"Controls if only preferred code actions should be returned.\")}}};function _p(s,e,t,i,n=Ro.Default){if(s.hasModel()){const o=Hh.get(s);o==null||o.manualTriggerAtCurrentPosition(e,n,t,i)}}class Qxe extends me{constructor(){super({id:u4,label:p(\"quickfix.trigger.label\",\"Quick Fix...\"),alias:\"Quick Fix...\",precondition:G.and(T.writable,T.hasCodeActionsProvider),kbOpts:{kbExpr:T.textInputFocus,primary:2137,weight:100}})}run(e,t){return _p(t,p(\"editor.action.quickFix.noneMessage\",\"No code actions available\"),void 0,void 0,Ro.QuickFix)}}class Jxe extends mn{constructor(){super({id:oq,precondition:G.and(T.writable,T.hasCodeActionsProvider),metadata:{description:\"Trigger a code action\",args:[{name:\"args\",schema:f4}]}})}runEditorCommand(e,t,i){const n=Gl.fromUser(i,{kind:Bt.Empty,apply:\"ifSingle\"});return _p(t,typeof(i==null?void 0:i.kind)==\"string\"?n.preferred?p(\"editor.action.codeAction.noneMessage.preferred.kind\",\"No preferred code actions for '{0}' available\",i.kind):p(\"editor.action.codeAction.noneMessage.kind\",\"No code actions for '{0}' available\",i.kind):n.preferred?p(\"editor.action.codeAction.noneMessage.preferred\",\"No preferred code actions available\"):p(\"editor.action.codeAction.noneMessage\",\"No code actions available\"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class eke extends me{constructor(){super({id:aq,label:p(\"refactor.label\",\"Refactor...\"),alias:\"Refactor...\",precondition:G.and(T.writable,T.hasCodeActionsProvider),kbOpts:{kbExpr:T.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:\"1_modification\",order:2,when:G.and(T.writable,z1(li.Refactor))},metadata:{description:\"Refactor...\",args:[{name:\"args\",schema:f4}]}})}run(e,t,i){const n=Gl.fromUser(i,{kind:li.Refactor,apply:\"never\"});return _p(t,typeof(i==null?void 0:i.kind)==\"string\"?n.preferred?p(\"editor.action.refactor.noneMessage.preferred.kind\",\"No preferred refactorings for '{0}' available\",i.kind):p(\"editor.action.refactor.noneMessage.kind\",\"No refactorings for '{0}' available\",i.kind):n.preferred?p(\"editor.action.refactor.noneMessage.preferred\",\"No preferred refactorings available\"):p(\"editor.action.refactor.noneMessage\",\"No refactorings available\"),{include:li.Refactor.contains(n.kind)?n.kind:Bt.None,onlyIncludePreferredActions:n.preferred},n.apply,Ro.Refactor)}}class tke extends me{constructor(){super({id:lq,label:p(\"source.label\",\"Source Action...\"),alias:\"Source Action...\",precondition:G.and(T.writable,T.hasCodeActionsProvider),contextMenuOpts:{group:\"1_modification\",order:2.1,when:G.and(T.writable,z1(li.Source))},metadata:{description:\"Source Action...\",args:[{name:\"args\",schema:f4}]}})}run(e,t,i){const n=Gl.fromUser(i,{kind:li.Source,apply:\"never\"});return _p(t,typeof(i==null?void 0:i.kind)==\"string\"?n.preferred?p(\"editor.action.source.noneMessage.preferred.kind\",\"No preferred source actions for '{0}' available\",i.kind):p(\"editor.action.source.noneMessage.kind\",\"No source actions for '{0}' available\",i.kind):n.preferred?p(\"editor.action.source.noneMessage.preferred\",\"No preferred source actions available\"):p(\"editor.action.source.noneMessage\",\"No source actions available\"),{include:li.Source.contains(n.kind)?n.kind:Bt.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,Ro.SourceAction)}}class ike extends me{constructor(){super({id:h4,label:p(\"organizeImports.label\",\"Organize Imports\"),alias:\"Organize Imports\",precondition:G.and(T.writable,z1(li.SourceOrganizeImports)),kbOpts:{kbExpr:T.textInputFocus,primary:1581,weight:100}})}run(e,t){return _p(t,p(\"editor.action.organize.noneMessage\",\"No organize imports action available\"),{include:li.SourceOrganizeImports,includeSourceActions:!0},\"ifSingle\",Ro.OrganizeImports)}}class nke extends me{constructor(){super({id:g4,label:p(\"fixAll.label\",\"Fix All\"),alias:\"Fix All\",precondition:G.and(T.writable,z1(li.SourceFixAll))})}run(e,t){return _p(t,p(\"fixAll.noneMessage\",\"No fix all action available\"),{include:li.SourceFixAll,includeSourceActions:!0},\"ifSingle\",Ro.FixAll)}}class ske extends me{constructor(){super({id:rq,label:p(\"autoFix.label\",\"Auto Fix...\"),alias:\"Auto Fix...\",precondition:G.and(T.writable,z1(li.QuickFix)),kbOpts:{kbExpr:T.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(e,t){return _p(t,p(\"editor.action.autoFix.noneMessage\",\"No auto fixes available\"),{include:li.QuickFix,onlyIncludePreferredActions:!0},\"ifSingle\",Ro.AutoFix)}}kt(Hh.ID,Hh,3);kt(Ff.ID,Ff,4);te(Qxe);te(eke);te(tke);te(ike);te(ske);te(nke);de(new Jxe);Ji.as(pl.Configuration).registerConfiguration({...Vx,properties:{\"editor.codeActionWidget.showHeaders\":{type:\"boolean\",scope:5,description:p(\"showCodeActionHeaders\",\"Enable/disable showing group headers in the Code Action menu.\"),default:!0}}});Ji.as(pl.Configuration).registerConfiguration({...Vx,properties:{\"editor.codeActionWidget.includeNearbyQuickFixes\":{type:\"boolean\",scope:5,description:p(\"includeNearbyQuickFixes\",\"Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic.\"),default:!0}}});class HM{constructor(){this.lenses=[],this._disposables=new Y}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){this._disposables.add(e);for(const i of e.lenses)this.lenses.push({symbol:i,provider:t})}}async function mq(s,e,t){const i=s.ordered(e),n=new Map,o=new HM,r=i.map(async(a,l)=>{n.set(a,l);try{const d=await Promise.resolve(a.provideCodeLenses(e,t));d&&o.add(d,a)}catch(d){Ai(d)}});return await Promise.all(r),o.lenses=o.lenses.sort((a,l)=>a.symbol.range.startLineNumber<l.symbol.range.startLineNumber?-1:a.symbol.range.startLineNumber>l.symbol.range.startLineNumber?1:n.get(a.provider)<n.get(l.provider)?-1:n.get(a.provider)>n.get(l.provider)?1:a.symbol.range.startColumn<l.symbol.range.startColumn?-1:a.symbol.range.startColumn>l.symbol.range.startColumn?1:0),o}pt.registerCommand(\"_executeCodeLensProvider\",function(s,...e){let[t,i]=e;yt(Ae.isUri(t)),yt(typeof i==\"number\"||!i);const{codeLensProvider:n}=s.get(Ce),o=s.get(_i).getModel(t);if(!o)throw Mr();const r=[],a=new Y;return mq(n,o,dt.None).then(l=>{a.add(l);const d=[];for(const c of l.lenses)i==null||c.symbol.command?r.push(c.symbol):i-- >0&&c.provider.resolveCodeLens&&d.push(Promise.resolve(c.provider.resolveCodeLens(o,c.symbol,dt.None)).then(u=>r.push(u||c.symbol)));return Promise.all(d)}).then(()=>r).finally(()=>{setTimeout(()=>a.dispose(),100)})});var oke=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rke=function(s,e){return function(t,i){e(t,i,s)}};const _q=ut(\"ICodeLensCache\");class H7{constructor(e,t){this.lineCount=e,this.data=t}}let VM=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error(\"not supported\")}},this._cache=new iu(20,.75);const t=\"codelens/cache\";uv(Ht,()=>e.remove(t,1));const i=\"codelens/cache2\",n=e.get(i,1,\"{}\");this._deserialize(n),le.once(e.onWillSaveState)(o=>{o.reason===ED.SHUTDOWN&&e.store(i,this._serialize(),1,1)})}put(e,t){const i=t.lenses.map(r=>{var a;return{range:r.symbol.range,command:r.symbol.command&&{id:\"\",title:(a=r.symbol.command)===null||a===void 0?void 0:a.title}}}),n=new HM;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);const o=new H7(e.getLineCount(),n);this._cache.set(e.uri.toString(),o)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,i]of this._cache){const n=new Set;for(const o of i.data.lenses)n.add(o.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const i in t){const n=t[i],o=[];for(const a of n.lines)o.push({range:new x(a,1,a,11)});const r=new HM;r.add({lenses:o,dispose(){}},this._fakeProvider),this._cache.set(i,new H7(n.lineCount,r))}}catch{}}};VM=oke([rke(0,Rd)],VM);mt(_q,VM,1);class ake{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement(\"div\")}onComputedHeight(e){this._lastHeight===void 0?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return this._lastHeight!==0&&this.domNode.hasAttribute(\"monaco-visible-view-zone\")}}class AC{constructor(e,t){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${AC._idPool++}`,this.updatePosition(t),this._domNode=document.createElement(\"span\"),this._domNode.className=\"codelens-decoration\"}withCommands(e,t){this._commands.clear();const i=[];let n=!1;for(let o=0;o<e.length;o++){const r=e[o];if(r&&(n=!0,r.command)){const a=lh(r.command.title.trim());if(r.command.id){const l=`c${AC._idPool++}`;i.push(he(\"a\",{id:l,title:r.command.tooltip,role:\"button\"},...a)),this._commands.set(l,r.command)}else i.push(he(\"span\",{title:r.command.tooltip},...a));o+1<e.length&&i.push(he(\"span\",void 0,\" | \"))}}n?(Yn(this._domNode,...i),this._isEmpty&&t&&this._domNode.classList.add(\"fadein\"),this._isEmpty=!1):Yn(this._domNode,he(\"span\",void 0,\"no commands\"))}getCommand(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(e){const t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}}getPosition(){return this._widgetPosition||null}}AC._idPool=0;class oT{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)}removeDecoration(e){this._removeDecorations.push(e)}commit(e){const t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let i=0,n=t.length;i<n;i++)this._addDecorationsCallbacks[i](t[i])}}const V7=Ye.register({collapseOnReplaceEdit:!0,description:\"codelens\"});class z7{constructor(e,t,i,n,o,r){this._isDisposed=!1,this._editor=t,this._data=e,this._decorationIds=[];let a;const l=[];this._data.forEach((d,c)=>{d.symbol.command&&l.push(d.symbol),i.addDecoration({range:d.symbol.range,options:V7},u=>this._decorationIds[c]=u),a?a=x.plusRange(a,d.symbol.range):a=x.lift(d.symbol.range)}),this._viewZone=new ake(a.startLineNumber-1,o,r),this._viewZoneId=n.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new AC(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t==null||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{const i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&x.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((i,n)=>{t.addDecoration({range:i.symbol.range,options:V7},o=>this._decorationIds[n]=o)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;t<this._decorationIds.length;t++){const i=e.getDecorationRange(this._decorationIds[t]);i&&(this._data[t].symbol.range=i)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){const i=e[t];if(i){const{symbol:n}=this._data[t];n.command=i.command||n.command}}}getCommand(e){var t;return(t=this._contentWidget)===null||t===void 0?void 0:t.getCommand(e)}getLineNumber(){const e=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return e?e.startLineNumber:-1}update(e){if(this.isValid()){const t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);t&&(this._viewZone.afterLineNumber=t.startLineNumber-1,e.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(t.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}}var lke=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ev=function(s,e){return function(t,i){e(t,i,s)}};let W_=class{constructor(e,t,i,n,o,r){this._editor=e,this._languageFeaturesService=t,this._commandService=n,this._notificationService=o,this._codeLensCache=r,this._disposables=new Y,this._localToDispose=new Y,this._lenses=[],this._oldCodeLensModels=new Y,this._provideCodeLensDebounce=i.for(t.codeLensProvider,\"CodeLensProvide\",{min:250}),this._resolveCodeLensesDebounce=i.for(t.codeLensProvider,\"CodeLensResolve\",{min:250,salt:\"resolve\"}),this._resolveCodeLensesScheduler=new Wt(()=>this._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(a=>{(a.hasChanged(50)||a.hasChanged(19)||a.hasChanged(18))&&this._updateLensStyle(),a.hasChanged(17)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(e=this._currentCodeLensModel)===null||e===void 0||e.dispose()}_getLayoutInfo(){const e=Math.max(1.3,this._editor.getOption(67)/this._editor.getOption(52));let t=this._editor.getOption(19);return(!t||t<5)&&(t=this._editor.getOption(52)*.9|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(18),n=this._editor.getOption(50),{style:o}=this._editor.getContainerDomNode();o.setProperty(\"--vscode-editorCodeLens-lineHeight\",`${e}px`),o.setProperty(\"--vscode-editorCodeLens-fontSize\",`${t}px`),o.setProperty(\"--vscode-editorCodeLens-fontFeatureSettings\",n.fontFeatureSettings),i&&(o.setProperty(\"--vscode-editorCodeLens-fontFamily\",i),o.setProperty(\"--vscode-editorCodeLens-fontFamilyDefault\",co.fontFamily)),this._editor.changeViewZones(r=>{for(const a of this._lenses)a.updateHeight(e,r)})}_localDispose(){var e,t,i;(e=this._getCodeLensModelPromise)===null||e===void 0||e.cancel(),this._getCodeLensModelPromise=void 0,(t=this._resolveCodeLensesPromise)===null||t===void 0||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(i=this._currentCodeLensModel)===null||i===void 0||i.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e||!this._editor.getOption(17)||e.isTooLargeForTokenization())return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&kh(()=>{const n=this._codeLensCache.get(e);t===n&&(this._codeLensCache.delete(e),this._onModelChange())},30*1e3,this._localToDispose);return}for(const n of this._languageFeaturesService.codeLensProvider.all(e))if(typeof n.onDidChange==\"function\"){const o=n.onDidChange(()=>i.schedule());this._localToDispose.add(o)}const i=new Wt(()=>{var n;const o=Date.now();(n=this._getCodeLensModelPromise)===null||n===void 0||n.cancel(),this._getCodeLensModelPromise=Dn(r=>mq(this._languageFeaturesService.codeLensProvider,e,r)),this._getCodeLensModelPromise.then(r=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=r,this._codeLensCache.put(e,r);const a=this._provideCodeLensDebounce.update(e,Date.now()-o);i.delay=a,this._renderCodeLensSymbols(r),this._resolveCodeLensesInViewportSoon()},Xe)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add(Ie(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var n;this._editor.changeDecorations(o=>{this._editor.changeViewZones(r=>{const a=[];let l=-1;this._lenses.forEach(c=>{!c.isValid()||l===c.getLineNumber()?a.push(c):(c.update(r),l=c.getLineNumber())});const d=new oT;a.forEach(c=>{c.dispose(d,r),this._lenses.splice(this._lenses.indexOf(c),1)}),d.commit(o)})}),i.schedule(),this._resolveCodeLensesScheduler.cancel(),(n=this._resolveCodeLensesPromise)===null||n===void 0||n.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{i.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(n=>{n.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(Ie(()=>{if(this._editor.getModel()){const n=cl.capture(this._editor);this._editor.changeDecorations(o=>{this._editor.changeViewZones(r=>{this._disposeAllLenses(o,r)})}),n.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(n=>{if(n.target.type!==9)return;let o=n.target.element;if((o==null?void 0:o.tagName)===\"SPAN\"&&(o=o.parentElement),(o==null?void 0:o.tagName)===\"A\")for(const r of this._lenses){const a=r.getCommand(o);if(a){this._commandService.executeCommand(a.id,...a.arguments||[]).catch(l=>this._notificationService.error(l));break}}})),i.schedule()}_disposeAllLenses(e,t){const i=new oT;for(const n of this._lenses)n.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;const t=this._editor.getModel().getLineCount(),i=[];let n;for(const a of e.lenses){const l=a.symbol.range.startLineNumber;l<1||l>t||(n&&n[n.length-1].symbol.range.startLineNumber===l?n.push(a):(n=[a],i.push(n)))}if(!i.length&&!this._lenses.length)return;const o=cl.capture(this._editor),r=this._getLayoutInfo();this._editor.changeDecorations(a=>{this._editor.changeViewZones(l=>{const d=new oT;let c=0,u=0;for(;u<i.length&&c<this._lenses.length;){const h=i[u][0].symbol.range.startLineNumber,g=this._lenses[c].getLineNumber();g<h?(this._lenses[c].dispose(d,l),this._lenses.splice(c,1)):g===h?(this._lenses[c].updateCodeLensSymbols(i[u],d),u++,c++):(this._lenses.splice(c,0,new z7(i[u],this._editor,d,l,r.codeLensHeight,()=>this._resolveCodeLensesInViewportSoon())),c++,u++)}for(;c<this._lenses.length;)this._lenses[c].dispose(d,l),this._lenses.splice(c,1);for(;u<i.length;)this._lenses.push(new z7(i[u],this._editor,d,l,r.codeLensHeight,()=>this._resolveCodeLensesInViewportSoon())),u++;d.commit(a)})}),o.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;(e=this._resolveCodeLensesPromise)===null||e===void 0||e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(!t)return;const i=[],n=[];if(this._lenses.forEach(a=>{const l=a.computeIfNecessary(t);l&&(i.push(l),n.push(a))}),i.length===0)return;const o=Date.now(),r=Dn(a=>{const l=i.map((d,c)=>{const u=new Array(d.length),h=d.map((g,f)=>!g.symbol.command&&typeof g.provider.resolveCodeLens==\"function\"?Promise.resolve(g.provider.resolveCodeLens(t,g.symbol,a)).then(m=>{u[f]=m},Ai):(u[f]=g.symbol,Promise.resolve(void 0)));return Promise.all(h).then(()=>{!a.isCancellationRequested&&!n[c].isDisposed()&&n[c].updateCommands(u)})});return Promise.all(l)});this._resolveCodeLensesPromise=r,this._resolveCodeLensesPromise.then(()=>{const a=this._resolveCodeLensesDebounce.update(t,Date.now()-o);this._resolveCodeLensesScheduler.delay=a,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},a=>{Xe(a),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}async getModel(){var e;return await this._getCodeLensModelPromise,await this._resolveCodeLensesPromise,!((e=this._currentCodeLensModel)===null||e===void 0)&&e.isDisposed?void 0:this._currentCodeLensModel}};W_.ID=\"css.editor.codeLens\";W_=lke([ev(1,Ce),ev(2,Ur),ev(3,gi),ev(4,en),ev(5,_q)],W_);kt(W_.ID,W_,1);te(class extends me{constructor(){super({id:\"codelens.showLensesInCurrentLine\",precondition:T.hasCodeLensProvider,label:p(\"showLensOnLine\",\"Show CodeLens Commands For Current Line\"),alias:\"Show CodeLens Commands For Current Line\"})}async run(e,t){if(!t.hasModel())return;const i=e.get(hp),n=e.get(gi),o=e.get(en),r=t.getSelection().positionLineNumber,a=t.getContribution(W_.ID);if(!a)return;const l=await a.getModel();if(!l)return;const d=[];for(const h of l.lenses)h.symbol.command&&h.symbol.range.startLineNumber===r&&d.push({label:h.symbol.command.title,command:h.symbol.command});if(d.length===0)return;const c=await i.pick(d,{canPickMany:!1,placeHolder:p(\"placeHolder\",\"Select a command\")});if(!c)return;let u=c.command;if(l.isDisposed){const h=await a.getModel(),g=h==null?void 0:h.lenses.find(f=>{var m;return f.symbol.range.startLineNumber===r&&((m=f.symbol.command)===null||m===void 0?void 0:m.title)===u.title});if(!g||!g.symbol.command)return;u=g.symbol.command}try{await n.executeCommand(u.id,...u.arguments||[])}catch(h){o.error(h)}}});var dke=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rT=function(s,e){return function(t,i){e(t,i,s)}};class p4{constructor(e,t){this._editorWorkerClient=new LF(e,!1,\"editorWorkerService\",t)}async provideDocumentColors(e,t){return this._editorWorkerClient.computeDefaultDocumentColors(e.uri)}provideColorPresentations(e,t,i){const n=t.range,o=t.color,r=o.alpha,a=new $(new bt(Math.round(255*o.red),Math.round(255*o.green),Math.round(255*o.blue),r)),l=r?$.Format.CSS.formatRGB(a):$.Format.CSS.formatRGBA(a),d=r?$.Format.CSS.formatHSL(a):$.Format.CSS.formatHSLA(a),c=r?$.Format.CSS.formatHex(a):$.Format.CSS.formatHexA(a),u=[];return u.push({label:l,textEdit:{range:n,text:l}}),u.push({label:d,textEdit:{range:n,text:d}}),u.push({label:c,textEdit:{range:n,text:c}}),u}}let zM=class extends H{constructor(e,t,i){super(),this._register(i.colorProvider.register(\"*\",new p4(e,t)))}};zM=dke([rT(0,_i),rT(1,Yt),rT(2,Ce)],zM);F1(zM);async function vq(s,e,t,i=!0){return m4(new cke,s,e,t,i)}function bq(s,e,t,i){return Promise.resolve(t.provideColorPresentations(s,e,i))}class cke{constructor(){}async compute(e,t,i,n){const o=await e.provideDocumentColors(t,i);if(Array.isArray(o))for(const r of o)n.push({colorInfo:r,provider:e});return Array.isArray(o)}}class uke{constructor(){}async compute(e,t,i,n){const o=await e.provideDocumentColors(t,i);if(Array.isArray(o))for(const r of o)n.push({range:r.range,color:[r.color.red,r.color.green,r.color.blue,r.color.alpha]});return Array.isArray(o)}}class hke{constructor(e){this.colorInfo=e}async compute(e,t,i,n){const o=await e.provideColorPresentations(t,this.colorInfo,dt.None);return Array.isArray(o)&&n.push(...o),Array.isArray(o)}}async function m4(s,e,t,i,n){let o=!1,r;const a=[],l=e.ordered(t);for(let d=l.length-1;d>=0;d--){const c=l[d];if(c instanceof p4)r=c;else try{await s.compute(c,t,i,a)&&(o=!0)}catch(u){Ai(u)}}return o?a:r&&n?(await s.compute(r,t,i,a),a):[]}function Cq(s,e){const{colorProvider:t}=s.get(Ce),i=s.get(_i).getModel(e);if(!i)throw Mr();const n=s.get(rt).getValue(\"editor.defaultColorDecorators\",{resource:e});return{model:i,colorProviderRegistry:t,isDefaultColorDecoratorsEnabled:n}}pt.registerCommand(\"_executeDocumentColorProvider\",function(s,...e){const[t]=e;if(!(t instanceof Ae))throw Mr();const{model:i,colorProviderRegistry:n,isDefaultColorDecoratorsEnabled:o}=Cq(s,t);return m4(new uke,n,i,dt.None,o)});pt.registerCommand(\"_executeColorPresentationProvider\",function(s,...e){const[t,i]=e,{uri:n,range:o}=i;if(!(n instanceof Ae)||!Array.isArray(t)||t.length!==4||!x.isIRange(o))throw Mr();const{model:r,colorProviderRegistry:a,isDefaultColorDecoratorsEnabled:l}=Cq(s,n),[d,c,u,h]=t;return m4(new hke({range:o,color:{red:d,green:c,blue:u,alpha:h}}),a,r,dt.None,l)});var gke=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},aT=function(s,e){return function(t,i){e(t,i,s)}},UM;const wq=Object.create({});let Vh=UM=class extends H{constructor(e,t,i,n){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=i,this._localToDispose=this._register(new Y),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new v1(this._editor),this._decoratorLimitReporter=new fke,this._colorDecorationClassRefs=this._register(new Y),this._debounceInformation=n.for(i.colorProvider,\"Document Colors\",{min:UM.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(e.onDidChangeModelLanguage(()=>this.updateColors())),this._register(i.colorProvider.onDidChange(()=>this.updateColors())),this._register(e.onDidChangeConfiguration(o=>{const r=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147);const a=r!==this._isColorDecoratorsEnabled||o.hasChanged(21),l=o.hasChanged(147);(a||l)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147),this.updateColors()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&typeof i==\"object\"){const n=i.colorDecorators;if(n&&n.enable!==void 0&&!n.enable)return n.enable}return this._editor.getOption(20)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const e=this._editor.getModel();!e||!this._languageFeaturesService.colorProvider.has(e)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new ya,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}async beginCompute(){this._computePromise=Dn(async e=>{const t=this._editor.getModel();if(!t)return[];const i=new Jn(!1),n=await vq(this._languageFeaturesService.colorProvider,t,e,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(t,i.elapsed()),n});try{const e=await this._computePromise;this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}catch(e){Xe(e)}}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map(i=>({range:{startLineNumber:i.colorInfo.range.startLineNumber,startColumn:i.colorInfo.range.startColumn,endLineNumber:i.colorInfo.range.endLineNumber,endColumn:i.colorInfo.range.endColumn},options:Ye.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((n,o)=>this._colorDatas.set(n,e[o]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();const t=[],i=this._editor.getOption(21);for(let o=0;o<e.length&&t.length<i;o++){const{red:r,green:a,blue:l,alpha:d}=e[o].colorInfo.color,c=new bt(Math.round(r*255),Math.round(a*255),Math.round(l*255),d),u=`rgba(${c.r}, ${c.g}, ${c.b}, ${c.a})`,h=this._colorDecorationClassRefs.add(this._ruleFactory.createClassNameRef({backgroundColor:u}));t.push({range:{startLineNumber:e[o].colorInfo.range.startLineNumber,startColumn:e[o].colorInfo.range.startColumn,endLineNumber:e[o].colorInfo.range.endLineNumber,endColumn:e[o].colorInfo.range.endColumn},options:{description:\"colorDetector\",before:{content:cz,inlineClassName:`${h.className} colorpicker-color-decoration`,inlineClassNameAffectsLetterSpacing:!0,attachedData:wq}}})}const n=i<e.length?i:!1;this._decoratorLimitReporter.update(e.length,n),this._colorDecoratorIds.set(t)}removeAllDecorations(){this._editor.removeDecorations(this._decorationsIds),this._decorationsIds=[],this._colorDecoratorIds.clear(),this._colorDecorationClassRefs.clear()}getColorData(e){const t=this._editor.getModel();if(!t)return null;const i=t.getDecorationsInRange(x.fromPositions(e,e)).filter(n=>this._colorDatas.has(n.id));return i.length===0?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};Vh.ID=\"editor.contrib.colorDetector\";Vh.RECOMPUTE_TIME=1e3;Vh=UM=gke([aT(1,rt),aT(2,Ce),aT(3,Ur)],Vh);class fke{constructor(){this._onDidChange=new B,this._computed=0,this._limited=!1}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}kt(Vh.ID,Vh,1);class pke{get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new B,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new B,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new B,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){let i=-1;for(let n=0;n<this.colorPresentations.length;n++)if(t.toLowerCase()===this.colorPresentations[n].label){i=n;break}if(i===-1){const n=t.split(\"(\")[0].toLowerCase();for(let o=0;o<this.colorPresentations.length;o++)if(this.colorPresentations[o].label.toLowerCase().startsWith(n)){i=o;break}}i!==-1&&i!==this.presentationIndex&&(this.presentationIndex=i,this._onDidChangePresentation.fire(this.presentation))}flushColor(){this._onColorFlushed.fire(this._color)}}const Yo=he;class mke extends H{constructor(e,t,i,n=!1){super(),this.model=t,this.showingStandaloneColorPicker=n,this._closeButton=null,this._domNode=Yo(\".colorpicker-header\"),Q(e,this._domNode),this._pickedColorNode=Q(this._domNode,Yo(\".picked-color\")),Q(this._pickedColorNode,Yo(\"span.codicon.codicon-color-mode\")),this._pickedColorPresentation=Q(this._pickedColorNode,document.createElement(\"span\")),this._pickedColorPresentation.classList.add(\"picked-color-presentation\");const o=p(\"clickToToggleColorOptions\",\"Click to toggle color options (rgb/hsl/hex)\");this._pickedColorNode.setAttribute(\"title\",o),this._originalColorNode=Q(this._domNode,Yo(\".original-color\")),this._originalColorNode.style.backgroundColor=$.Format.CSS.format(this.model.originalColor)||\"\",this.backgroundColor=i.getColorTheme().getColor(iD)||$.white,this._register(i.onDidColorThemeChange(r=>{this.backgroundColor=r.getColor(iD)||$.white})),this._register(K(this._pickedColorNode,ee.CLICK,()=>this.model.selectNextColorPresentation())),this._register(K(this._originalColorNode,ee.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=$.Format.CSS.format(t.color)||\"\",this._pickedColorNode.classList.toggle(\"light\",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add(\"standalone-colorpicker\"),this._closeButton=this._register(new _ke(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(e){this._pickedColorNode.style.backgroundColor=$.Format.CSS.format(e)||\"\",this._pickedColorNode.classList.toggle(\"light\",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:\"\"}}class _ke extends H{constructor(e){super(),this._onClicked=this._register(new B),this.onClicked=this._onClicked.event,this._button=document.createElement(\"div\"),this._button.classList.add(\"close-button\"),Q(e,this._button);const t=document.createElement(\"div\");t.classList.add(\"close-button-inner-div\"),Q(this._button,t),Q(t,Yo(\".button\"+Pe.asCSSSelector(xi(\"color-picker-close\",oe.close,p(\"closeIcon\",\"Icon to close the color picker\"))))).classList.add(\"close-icon\"),this._register(K(this._button,ee.CLICK,()=>{this._onClicked.fire()}))}}class vke extends H{constructor(e,t,i,n=!1){super(),this.model=t,this.pixelRatio=i,this._insertButton=null,this._domNode=Yo(\".colorpicker-body\"),Q(e,this._domNode),this._saturationBox=new bke(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new Cke(this._domNode,this.model,n),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new wke(this._domNode,this.model,n),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),n&&(this._insertButton=this._register(new yke(this._domNode)),this._domNode.classList.add(\"standalone-colorpicker\"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const i=this.model.color.hsva;this.model.color=new $(new Yl(i.h,e,t,i.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new $(new Yl(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,i=(1-e)*360;this.model.color=new $(new Yl(i===360?0:i,t.s,t.v,t.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}class bke extends H{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new B,this.onColorFlushed=this._onColorFlushed.event,this._domNode=Yo(\".saturation-wrap\"),Q(e,this._domNode),this._canvas=document.createElement(\"canvas\"),this._canvas.className=\"saturation-box\",Q(this._domNode,this._canvas),this.selection=Yo(\".saturation-selection\"),Q(this._domNode,this.selection),this.layout(),this._register(K(this._domNode,ee.POINTER_DOWN,n=>this.onPointerDown(n))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new c0);const t=qi(this._domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,n=>this.onDidChangePosition(n.pageX-t.left,n.pageY-t.top),()=>null);const i=K(e.target.ownerDocument,ee.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){const i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new $(new Yl(e.h,1,1,1)),i=this._canvas.getContext(\"2d\"),n=i.createLinearGradient(0,0,this._canvas.width,0);n.addColorStop(0,\"rgba(255, 255, 255, 1)\"),n.addColorStop(.5,\"rgba(255, 255, 255, 0.5)\"),n.addColorStop(1,\"rgba(255, 255, 255, 0)\");const o=i.createLinearGradient(0,0,0,this._canvas.height);o.addColorStop(0,\"rgba(0, 0, 0, 0)\"),o.addColorStop(1,\"rgba(0, 0, 0, 1)\"),i.rect(0,0,this._canvas.width,this._canvas.height),i.fillStyle=$.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=o,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(e){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const t=e.hsva;this.paintSelection(t.s,t.v)}}class yq extends H{constructor(e,t,i=!1){super(),this.model=t,this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new B,this.onColorFlushed=this._onColorFlushed.event,i?(this.domNode=Q(e,Yo(\".standalone-strip\")),this.overlay=Q(this.domNode,Yo(\".standalone-overlay\"))):(this.domNode=Q(e,Yo(\".strip\")),this.overlay=Q(this.domNode,Yo(\".overlay\"))),this.slider=Q(this.domNode,Yo(\".slider\")),this.slider.style.top=\"0px\",this._register(K(this.domNode,ee.POINTER_DOWN,n=>this.onPointerDown(n))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onDidChangeColor(e){const t=this.getValue(e);this.updateSliderPosition(t)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=this._register(new c0),i=qi(this.domNode);this.domNode.classList.add(\"grabbing\"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,o=>this.onDidChangeTop(o.pageY-i.top),()=>null);const n=K(e.target.ownerDocument,ee.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove(\"grabbing\")},!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class Cke extends yq{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add(\"opacity-strip\"),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){super.onDidChangeColor(e);const{r:t,g:i,b:n}=e.rgba,o=new $(new bt(t,i,n,1)),r=new $(new bt(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${o} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class wke extends yq{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add(\"hue-strip\")}getValue(e){return 1-e.hsva.h/360}}class yke extends H{constructor(e){super(),this._onClicked=this._register(new B),this.onClicked=this._onClicked.event,this._button=Q(e,document.createElement(\"button\")),this._button.classList.add(\"insert-button\"),this._button.textContent=\"Insert\",this._register(K(this._button,ee.CLICK,()=>{this._onClicked.fire()}))}get button(){return this._button}}class Ske extends fr{constructor(e,t,i,n,o=!1){super(),this.model=t,this.pixelRatio=i,this._register(Ob.getInstance(Te(e)).onDidChange(()=>this.layout()));const r=Yo(\".colorpicker-widget\");e.appendChild(r),this.header=this._register(new mke(r,this.model,n,o)),this.body=this._register(new vke(r,this.model,this.pixelRatio,o))}layout(){this.body.layout()}}var Sq=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Dq=function(s,e){return function(t,i){e(t,i,s)}};class Dke{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let hL=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=2}computeSync(e,t){return[]}computeAsync(e,t,i){return Xi.fromPromise(this._computeAsync(e,t,i))}async _computeAsync(e,t,i){if(!this._editor.hasModel())return[];const n=Vh.get(this._editor);if(!n)return[];for(const o of t){if(!n.isColorDecoration(o))continue;const r=n.getColorData(o.range.getStartPosition());if(r)return[await Lq(this,this._editor.getModel(),r.colorInfo,r.provider)]}return[]}renderHoverParts(e,t){return xq(this,this._editor,this._themeService,t,e)}};hL=Sq([Dq(1,_n)],hL);class Lke{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n}}let MC=class{constructor(e,t){this._editor=e,this._themeService=t,this._color=null}async createColorHover(e,t,i){if(!this._editor.hasModel()||!Vh.get(this._editor))return null;const o=await vq(i,this._editor.getModel(),dt.None);let r=null,a=null;for(const u of o){const h=u.colorInfo;x.containsRange(h.range,e.range)&&(r=h,a=u.provider)}const l=r??e,d=a??t,c=!!r;return{colorHover:await Lq(this,this._editor.getModel(),l,d),foundInEditor:c}}async updateEditorModel(e){if(!this._editor.hasModel())return;const t=e.model;let i=new x(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn);this._color&&(await dS(this._editor.getModel(),t,this._color,i,e),i=kq(this._editor,i,t))}renderHoverParts(e,t){return xq(this,this._editor,this._themeService,t,e)}set color(e){this._color=e}get color(){return this._color}};MC=Sq([Dq(1,_n)],MC);async function Lq(s,e,t,i){const n=e.getValueInRange(t.range),{red:o,green:r,blue:a,alpha:l}=t.color,d=new bt(Math.round(o*255),Math.round(r*255),Math.round(a*255),l),c=new $(d),u=await bq(e,t,i,dt.None),h=new pke(c,[],0);return h.colorPresentations=u||[],h.guessColorPresentation(c,n),s instanceof hL?new Dke(s,x.lift(t.range),h,i):new Lke(s,x.lift(t.range),h,i)}function xq(s,e,t,i,n){if(i.length===0||!e.hasModel())return H.None;if(n.setMinimumDimensions){const h=e.getOption(67)+8;n.setMinimumDimensions(new Dt(302,h))}const o=new Y,r=i[0],a=e.getModel(),l=r.model,d=o.add(new Ske(n.fragment,l,e.getOption(143),t,s instanceof MC));n.setColorPicker(d);let c=!1,u=new x(r.range.startLineNumber,r.range.startColumn,r.range.endLineNumber,r.range.endColumn);if(s instanceof MC){const h=i[0].model.color;s.color=h,dS(a,l,h,u,r),o.add(l.onColorFlushed(g=>{s.color=g}))}else o.add(l.onColorFlushed(async h=>{await dS(a,l,h,u,r),c=!0,u=kq(e,u,l)}));return o.add(l.onDidChangeColor(h=>{dS(a,l,h,u,r)})),o.add(e.onDidChangeModelContent(h=>{c?c=!1:(n.hide(),e.focus())})),o}function kq(s,e,t){var i,n;const o=[],r=(i=t.presentation.textEdit)!==null&&i!==void 0?i:{range:e,text:t.presentation.label,forceMoveMarkers:!1};o.push(r),t.presentation.additionalTextEdits&&o.push(...t.presentation.additionalTextEdits);const a=x.lift(r.range),l=s.getModel()._setTrackedRange(null,a,3);return s.executeEdits(\"colorpicker\",o),s.pushUndoStop(),(n=s.getModel()._getTrackedRange(l))!==null&&n!==void 0?n:a}async function dS(s,e,t,i,n){const o=await bq(s,{range:i,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},n.provider,dt.None);e.colorPresentations=o||[]}const Eq=\"editor.action.showHover\",xke=\"editor.action.showDefinitionPreviewHover\",kke=\"editor.action.scrollUpHover\",Eke=\"editor.action.scrollDownHover\",Ike=\"editor.action.scrollLeftHover\",Tke=\"editor.action.scrollRightHover\",Nke=\"editor.action.pageUpHover\",Ake=\"editor.action.pageDownHover\",Mke=\"editor.action.goToTopHover\",Rke=\"editor.action.goToBottomHover\",_4=\"editor.action.increaseHoverVerbosityLevel\",v4=\"editor.action.decreaseHoverVerbosityLevel\",Iq=\"editor.action.inlineSuggest.commit\",Tq=\"editor.action.inlineSuggest.showPrevious\",Nq=\"editor.action.inlineSuggest.showNext\";var b4=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},oa=function(s,e){return function(t,i){e(t,i,s)}},cS;let $M=class extends H{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.alwaysShowToolbar=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).showToolbar===\"always\"),this.sessionPosition=void 0,this.position=je(this,n=>{var o,r,a;const l=(o=this.model.read(n))===null||o===void 0?void 0:o.primaryGhostText.read(n);if(!this.alwaysShowToolbar.read(n)||!l||l.parts.length===0)return this.sessionPosition=void 0,null;const d=l.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==l.lineNumber&&(this.sessionPosition=void 0);const c=new W(l.lineNumber,Math.min(d,(a=(r=this.sessionPosition)===null||r===void 0?void 0:r.column)!==null&&a!==void 0?a:Number.MAX_SAFE_INTEGER));return this.sessionPosition=c,c}),this._register(Hr((n,o)=>{const r=this.model.read(n);if(!r||!this.alwaysShowToolbar.read(n))return;const a=o.add(this.instantiationService.createInstance(zh,this.editor,!0,this.position,r.selectedInlineCompletionIndex,r.inlineCompletionsCount,r.activeCommands));e.addContentWidget(a),o.add(Ie(()=>e.removeContentWidget(a))),o.add(st(l=>{this.position.read(l)&&r.lastTriggerKind.read(l)!==kc.Explicit&&r.triggerExplicitly()}))}))}};$M=b4([oa(2,Ne)],$M);const Pke=xi(\"inline-suggestion-hints-next\",oe.chevronRight,p(\"parameterHintsNextIcon\",\"Icon for show next parameter hint.\")),Fke=xi(\"inline-suggestion-hints-previous\",oe.chevronLeft,p(\"parameterHintsPreviousIcon\",\"Icon for show previous parameter hint.\"));let zh=cS=class extends H{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(e,t,i){const n=new Eo(e,t,i,!0,()=>this._commandService.executeCommand(e)),o=this.keybindingService.lookupKeybinding(e,this._contextKeyService);let r=t;return o&&(r=p({},\"{0} ({1})\",t,o.getLabel())),n.tooltip=r,n}constructor(e,t,i,n,o,r,a,l,d,c,u){super(),this.editor=e,this.withBorder=t,this._position=i,this._currentSuggestionIdx=n,this._suggestionCount=o,this._extraCommands=r,this._commandService=a,this.keybindingService=d,this._contextKeyService=c,this._menuService=u,this.id=`InlineSuggestionHintsContentWidget${cS.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=Nt(\"div.inlineSuggestionsHints\",{className:this.withBorder?\".withBorder\":\"\"},[Nt(\"div@toolBar\")]),this.previousAction=this.createCommandAction(Tq,p(\"previous\",\"Previous\"),Pe.asClassName(Fke)),this.availableSuggestionCountAction=new Eo(\"inlineSuggestionHints.availableSuggestionCount\",\"\",void 0,!1),this.nextAction=this.createCommandAction(Nq,p(\"next\",\"Next\"),Pe.asClassName(Pke)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(E.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new Wt(()=>{this.availableSuggestionCountAction.label=\"\"},100)),this.disableButtonsDebounced=this._register(new Wt(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.toolBar=this._register(l.createInstance(jM,this.nodes.toolBar,E.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:h=>h.startsWith(\"primary\")},actionViewItemProvider:(h,g)=>{if(h instanceof Io)return l.createInstance(Bke,h,void 0);if(h===this.availableSuggestionCountAction){const f=new Oke(void 0,h,{label:!0,icon:!1});return f.setClass(\"availableSuggestionCount\"),f}},telemetrySource:\"InlineSuggestionToolbar\"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(h=>{cS._dropDownVisible=h})),this._register(st(h=>{this._position.read(h),this.editor.layoutContentWidget(this)})),this._register(st(h=>{const g=this._suggestionCount.read(h),f=this._currentSuggestionIdx.read(h);g!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${f+1}/${g}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),g!==void 0&&g>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register(st(h=>{const f=this._extraCommands.read(h).map(m=>({class:void 0,id:m.id,enabled:!0,tooltip:m.tooltip||\"\",label:m.title,run:_=>this._commandService.executeCommand(m.id)}));for(const[m,_]of this.inlineCompletionsActionsMenus.getActions())for(const v of _)v instanceof Io&&f.push(v);f.length>0&&f.unshift(new rn),this.toolBar.setAdditionalSecondaryActions(f)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};zh._dropDownVisible=!1;zh.id=0;zh=cS=b4([oa(6,gi),oa(7,Ne),oa(8,At),oa(9,Be),oa(10,hr)],zh);class Oke extends N_{constructor(){super(...arguments),this._className=void 0}setClass(e){this._className=e}render(e){super.render(e),this._className&&e.classList.add(this._className)}updateTooltip(){}}let Bke=class extends Fh{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();if(this.label){const t=Nt(\"div.keybinding\").root;this._register(new m0(t,Lo,{disableTitle:!0,...tK})).set(e),this.label.textContent=this._action.label,this.label.appendChild(t),this.label.classList.add(\"inlineSuggestionStatusBarItemLabel\")}}updateTooltip(){}},jM=class extends LC{constructor(e,t,i,n,o,r,a,l,d){super(e,{resetMenu:t,...i},n,o,r,a,l,d),this.menuId=t,this.options2=i,this.menuService=n,this.contextKeyService=o,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var e,t,i,n,o,r,a;const l=[],d=[];Qx(this.menu,(e=this.options2)===null||e===void 0?void 0:e.menuOptions,{primary:l,secondary:d},(i=(t=this.options2)===null||t===void 0?void 0:t.toolbarOptions)===null||i===void 0?void 0:i.primaryGroup,(o=(n=this.options2)===null||n===void 0?void 0:n.toolbarOptions)===null||o===void 0?void 0:o.shouldInlineSubmenu,(a=(r=this.options2)===null||r===void 0?void 0:r.toolbarOptions)===null||a===void 0?void 0:a.useSeparatorsInPrimaryActions),d.push(...this.additionalActions),l.unshift(...this.prependedPrimaryActions),this.setActions(l,d)}setPrependedPrimaryActions(e){Ci(this.prependedPrimaryActions,e,(t,i)=>t===i)||(this.prependedPrimaryActions=e,this.updateToolbar())}setAdditionalSecondaryActions(e){Ci(this.additionalActions,e,(t,i)=>t===i)||(this.additionalActions=e,this.updateToolbar())}};jM=b4([oa(3,hr),oa(4,Be),oa(5,Oo),oa(6,At),oa(7,gi),oa(8,Gs)],jM);class C4{constructor(){this._onDidWillResize=new B,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new B,this.onDidResize=this._onDidResize.event,this._sashListener=new Y,this._size=new Dt(0,0),this._minSize=new Dt(0,0),this._maxSize=new Dt(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement(\"div\"),this._eastSash=new is(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new is(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new is(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:OD.North}),this._southSash=new is(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:OD.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let e,t=0,i=0;this._sashListener.add(le.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{e===void 0&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(le.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{e!==void 0&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(le.any(this._eastSash.onDidReset,this._westSash.onDidReset)(n=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(le.any(this._northSash.onDidReset,this._southSash.onDidReset)(n=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){const{height:i,width:n}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(i,Math.min(o,e)),t=Math.max(n,Math.min(r,t));const a=new Dt(t,e);Dt.equals(a,this._size)||(this.domNode.style.height=e+\"px\",this.domNode.style.width=t+\"px\",this._size=a,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}const Wke=30,Hke=24;class Vke extends H{constructor(e,t=new Dt(10,10)){super(),this._editor=e,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new C4),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position=\"absolute\",this._resizableNode.minSize=Dt.lift(t),this._resizableNode.layout(t.height,t.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new Dt(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var e;return!((e=this._contentPosition)===null||e===void 0)&&e.position?W.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(e){const t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);return!t||!i?void 0:qi(t).top+i.top-Wke}_availableVerticalSpaceBelow(e){const t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;const n=qi(t),o=Eh(t.ownerDocument.body),r=n.top+i.top+i.height;return o.height-r-Hke}_findPositionPreference(e,t){var i,n;const o=Math.min((i=this._availableVerticalSpaceBelow(t))!==null&&i!==void 0?i:1/0,e),r=Math.min((n=this._availableVerticalSpaceAbove(t))!==null&&n!==void 0?n:1/0,e),a=Math.min(Math.max(r,o),e),l=Math.min(e,a);let d;return this._editor.getOption(60).above?d=l<=r?1:2:d=l<=o?2:1,d===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),d}_resize(e){this._resizableNode.layout(e.height,e.width)}}var zke=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ny=function(s,e){return function(t,i){e(t,i,s)}},Nl;const U7=30,Uke=6;let H_=Nl=class extends Vke{get isColorPickerVisible(){var e;return!!(!((e=this._visibleData)===null||e===void 0)&&e.colorPicker)}get isVisibleFromKeyboard(){var e;return((e=this._visibleData)===null||e===void 0?void 0:e.source)===1}get isVisible(){var e;return(e=this._hoverVisibleKey.get())!==null&&e!==void 0?e:!1}get isFocused(){var e;return(e=this._hoverFocusedKey.get())!==null&&e!==void 0?e:!1}constructor(e,t,i,n,o){const r=e.getOption(67)+8,a=150,l=new Dt(a,r);super(e,l),this._configurationService=i,this._accessibilityService=n,this._keybindingService=o,this._hover=this._register(new gO),this._minimumSize=l,this._hoverVisibleKey=T.hoverVisible.bindTo(t),this._hoverFocusedKey=T.hoverFocused.bindTo(t),Q(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex=\"50\",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(50)&&this._updateFont()}));const d=this._register(ba(this._resizableNode.domNode));this._register(d.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(d.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),(e=this._visibleData)===null||e===void 0||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return Nl.ID}static _applyDimensions(e,t,i){const n=typeof t==\"number\"?`${t}px`:t,o=typeof i==\"number\"?`${i}px`:i;e.style.width=n,e.style.height=o}_setContentsDomNodeDimensions(e,t){const i=this._hover.contentsDomNode;return Nl._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){const i=this._hover.containerDomNode;return Nl._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){const n=typeof t==\"number\"?`${t}px`:t,o=typeof i==\"number\"?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=o}_setHoverWidgetMaxDimensions(e,t){Nl._applyMaxDimensions(this._hover.contentsDomNode,e,t),Nl._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty(\"--vscode-hover-maxWidth\",typeof e==\"number\"?`${e}px`:e),this._layoutContentWidget()}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions(\"none\",\"none\");const t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i)}_updateResizableNodeMaxDimensions(){var e,t;const i=(e=this._findMaximumRenderingWidth())!==null&&e!==void 0?e:1/0,n=(t=this._findMaximumRenderingHeight())!==null&&t!==void 0?t:1/0;this._resizableNode.maxSize=new Dt(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;Nl._lastDimensions=new Dt(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(i=(t=this._visibleData)===null||t===void 0?void 0:t.colorPicker)===null||i===void 0||i.layout()}_findAvailableSpaceVertically(){var e;const t=(e=this._visibleData)===null||e===void 0?void 0:e.showAtPosition;if(t)return this._positionPreference===1?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){const e=this._findAvailableSpaceVertically();if(!e)return;let t=Uke;return Array.from(this._hover.contentsDomNode.children).forEach(i=>{t+=i.clientHeight}),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty(\"--vscode-hover-whiteSpace\",\"nowrap\"),this._hover.containerDomNode.style.setProperty(\"--vscode-hover-sourceWhiteSpace\",\"nowrap\");const e=Array.from(this._hover.contentsDomNode.children).some(t=>t.scrollWidth>t.clientWidth);return this._hover.containerDomNode.style.removeProperty(\"--vscode-hover-whiteSpace\"),this._hover.containerDomNode.style.removeProperty(\"--vscode-hover-sourceWhiteSpace\"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const e=this._isHoverTextOverflowing(),t=typeof this._contentWidth>\"u\"?0:this._contentWidth-2;return e||this._hover.containerDomNode.clientWidth<t?Eh(this._hover.containerDomNode.ownerDocument.body).width-14:this._hover.containerDomNode.clientWidth+2}isMouseGettingCloser(e,t){if(!this._visibleData)return!1;if(typeof this._visibleData.initialMousePosX>\"u\"||typeof this._visibleData.initialMousePosY>\"u\")return this._visibleData.initialMousePosX=e,this._visibleData.initialMousePosY=t,!1;const i=qi(this.getDomNode());typeof this._visibleData.closestMouseDistance>\"u\"&&(this._visibleData.closestMouseDistance=$7(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,i.left,i.top,i.width,i.height));const n=$7(e,t,i.left,i.top,i.width,i.height);return n>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;(t=this._visibleData)===null||t===void 0||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle(\"hidden\",!e)}_updateFont(){const{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`,Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName(\"code\")).forEach(o=>this._editor.applyFontInfo(o))}_updateContent(e){const t=this._hover.contentsDomNode;t.style.paddingBottom=\"\",t.textContent=\"\",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const e=Math.max(this._editor.getLayoutInfo().height/4,250,Nl._lastDimensions.height),t=Math.max(this._editor.getLayoutInfo().width*.66,500,Nl._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(e=this._positionPreference)!==null&&e!==void 0?e:1]}:null}showAt(e,t){var i,n,o,r;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);const a=uc(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=(i=this._findPositionPreference(a,l))!==null&&i!==void 0?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),(n=t.colorPicker)===null||n===void 0||n.layout();const c=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode&&q$(this._configurationService.getValue(\"accessibility.verbosity.hover\")===!0&&this._accessibilityService.isScreenReaderOptimized(),(r=(o=this._keybindingService.lookupKeybinding(\"editor.action.accessibleView\"))===null||o===void 0?void 0:o.getAriaLabel())!==null&&r!==void 0?r:\"\");c&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+\", \"+c)}hide(){if(!this._visibleData)return;const e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new Dt(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){const e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions(\"auto\",\"auto\")}setMinimumDimensions(e){this._minimumSize=new Dt(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const e=typeof this._contentWidth>\"u\"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new Dt(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();const t=this._hover.containerDomNode;let i=uc(t),n=wo(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=uc(t),n=wo(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),!((e=this._visibleData)===null||e===void 0)&&e.showAtPosition){const o=uc(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(o,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){const e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-U7})}scrollRight(){const e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+U7})}pageUp(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};H_.ID=\"editor.contrib.resizableContentHoverWidget\";H_._lastDimensions=new Dt(0,0);H_=Nl=zke([ny(1,Be),ny(2,rt),ny(3,gr),ny(4,At)],H_);function $7(s,e,t,i,n,o){const r=t+n/2,a=i+o/2,l=Math.max(Math.abs(s-r)-n/2,0),d=Math.max(Math.abs(e-a)-o/2,0);return Math.sqrt(l*l+d*d)}let $ke=class{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}};class Aq extends H{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new B),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new Wt(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new Wt(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new Wt(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=iae(e=>this._computer.computeAsync(e)),(async()=>{try{for await(const e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(e){Xe(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const e=this._state===0,t=this._state===4;this._onResult.fire(new $ke(this._result.slice(0),e,t))}start(e){if(e===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}class lT{constructor(e,t,i,n){this.priority=e,this.range=t,this.initialMousePosX=i,this.initialMousePosY=n,this.type=1}equals(e){return e.type===1&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return e.type===1&&t.lineNumber===this.range.startLineNumber}}class hf{constructor(e,t,i,n,o,r){this.priority=e,this.owner=t,this.range=i,this.initialMousePosX=n,this.initialMousePosY=o,this.supportsMarkerHover=r,this.type=2}equals(e){return e.type===2&&this.owner===e.owner}canAdoptVisibleHover(e,t){return e.type===2&&this.owner===e.owner}}const ag=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}};class jke{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}async function Kke(s,e,t,i,n){const o=await Promise.resolve(s.provideHover(t,i,n)).catch(Ai);if(!(!o||!Gke(o)))return new jke(s,o,e)}function w4(s,e,t,i){const o=s.ordered(e).map((r,a)=>Kke(r,a,e,t,i));return Xi.fromPromises(o).coalesce()}function qke(s,e,t,i){return w4(s,e,t,i).map(n=>n.hover).toPromise()}Ad(\"_executeHoverProvider\",(s,e,t)=>{const i=s.get(Ce);return qke(i.hoverProvider,e,t,dt.None)});function Gke(s){const e=typeof s.range<\"u\",t=typeof s.contents<\"u\"&&s.contents&&s.contents.length>0;return e&&t}var Zke=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Rp=function(s,e){return function(t,i){e(t,i,s)}};const Cm=he,Xke=xi(\"hover-increase-verbosity\",oe.add,p(\"increaseHoverVerbosity\",\"Icon for increaseing hover verbosity.\")),Yke=xi(\"hover-decrease-verbosity\",oe.remove,p(\"decreaseHoverVerbosity\",\"Icon for decreasing hover verbosity.\"));class Ka{constructor(e,t,i,n,o,r=void 0){this.owner=e,this.range=t,this.contents=i,this.isBeforeContent=n,this.ordinal=o,this.source=r}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}class Mq{constructor(e,t,i){this.hover=e,this.hoverProvider=t,this.hoverPosition=i}supportsVerbosityAction(e){var t,i;switch(e){case ja.Increase:return(t=this.hover.canIncreaseVerbosity)!==null&&t!==void 0?t:!1;case ja.Decrease:return(i=this.hover.canDecreaseVerbosity)!==null&&i!==void 0?i:!1}}}let RC=class{constructor(e,t,i,n,o,r,a){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=o,this._keybindingService=r,this._hoverService=a,this.hoverOrdinal=3}createLoadingMessage(e){return new Ka(this,e.range,[new ss().appendText(p(\"modesContentHover.loading\",\"Loading...\"))],!1,2e3)}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const i=this._editor.getModel(),n=e.range.startLineNumber,o=i.getLineMaxColumn(n),r=[];let a=1e3;const l=i.getLineLength(n),d=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),c=this._editor.getOption(117),u=this._configurationService.getValue(\"editor.maxTokenizationLineLength\",{overrideIdentifier:d});let h=!1;c>=0&&l>c&&e.range.startColumn>=c&&(h=!0,r.push(new Ka(this,e.range,[{value:p(\"stopped rendering\",\"Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.\")}],!1,a++))),!h&&typeof u==\"number\"&&l>=u&&r.push(new Ka(this,e.range,[{value:p(\"too many characters\",\"Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.\")}],!1,a++));let g=!1;for(const f of t){const m=f.range.startLineNumber===n?f.range.startColumn:1,_=f.range.endLineNumber===n?f.range.endColumn:o,v=f.options.hoverMessage;if(!v||L_(v))continue;f.options.beforeContentClassName&&(g=!0);const b=new x(e.range.startLineNumber,m,e.range.startLineNumber,_);r.push(new Ka(this,b,OP(v),g,a++))}return r}computeAsync(e,t,i){if(!this._editor.hasModel()||e.type!==1)return Xi.EMPTY;const n=this._editor.getModel(),o=this._languageFeaturesService.hoverProvider;return o.has(n)?this._getMarkdownHovers(o,n,e,i):Xi.EMPTY}_getMarkdownHovers(e,t,i,n){const o=i.range.getStartPosition();return w4(e,t,o,n).filter(l=>!L_(l.hover.contents)).map(l=>{const d=l.hover.range?x.lift(l.hover.range):i.range,c=new Mq(l.hover,l.provider,o);return new Ka(this,d,l.hover.contents,!1,l.ordinal,c)})}renderHoverParts(e,t){return this._renderedHoverParts=new Qke(t,e.fragment,this._editor,this._languageService,this._openerService,this._keybindingService,this._hoverService,this._configurationService,e.onContentsChanged),this._renderedHoverParts}updateFocusedMarkdownHoverPartVerbosityLevel(e){var t;(t=this._renderedHoverParts)===null||t===void 0||t.updateFocusedHoverPartVerbosityLevel(e)}};RC=Zke([Rp(1,vi),Rp(2,Bo),Rp(3,rt),Rp(4,Ce),Rp(5,At),Rp(6,Md)],RC);class Qke extends H{constructor(e,t,i,n,o,r,a,l,d){super(),this._editor=i,this._languageService=n,this._openerService=o,this._keybindingService=r,this._hoverService=a,this._configurationService=l,this._onFinishedRendering=d,this._hoverFocusInfo={hoverPartIndex:-1,focusRemains:!1},this._renderedHoverParts=this._renderHoverParts(e,t,this._onFinishedRendering),this._register(Ie(()=>{this._renderedHoverParts.forEach(c=>{c.disposables.dispose()})}))}_renderHoverParts(e,t,i){return e.sort(ao(n=>n.ordinal,ua)),e.map((n,o)=>{const r=this._renderHoverPart(o,n.contents,n.source,i);return t.appendChild(r.renderedMarkdown),r})}_renderHoverPart(e,t,i,n){const{renderedMarkdown:o,disposables:r}=this._renderMarkdownContent(t,n);if(!i)return{renderedMarkdown:o,disposables:r};const a=i.supportsVerbosityAction(ja.Increase),l=i.supportsVerbosityAction(ja.Decrease);if(!a&&!l)return{renderedMarkdown:o,disposables:r,hoverSource:i};const d=Cm(\"div.verbosity-actions\");o.prepend(d),r.add(this._renderHoverExpansionAction(d,ja.Increase,a)),r.add(this._renderHoverExpansionAction(d,ja.Decrease,l));const c=r.add(ba(o));return r.add(c.onDidFocus(()=>{this._hoverFocusInfo={hoverPartIndex:e,focusRemains:!0}})),r.add(c.onDidBlur(()=>{var u;if(!((u=this._hoverFocusInfo)===null||u===void 0)&&u.focusRemains){this._hoverFocusInfo.focusRemains=!1;return}})),{renderedMarkdown:o,disposables:r,hoverSource:i}}_renderMarkdownContent(e,t){const i=Cm(\"div.hover-row\");i.tabIndex=0;const n=Cm(\"div.hover-row-contents\");i.appendChild(n);const o=new Y;return o.add(Rq(this._editor,n,e,this._languageService,this._openerService,t)),{renderedMarkdown:i,disposables:o}}_renderHoverExpansionAction(e,t,i){const n=new Y,o=t===ja.Increase,r=Q(e,Cm(Pe.asCSSSelector(o?Xke:Yke)));r.tabIndex=0;const a=new S_(\"mouse\",!1,{target:e,position:{hoverPosition:0}},this._configurationService,this._hoverService);if(o){const d=this._keybindingService.lookupKeybinding(_4);n.add(this._hoverService.setupUpdatableHover(a,r,d?p(\"increaseVerbosityWithKb\",\"Increase Verbosity ({0})\",d.getLabel()):p(\"increaseVerbosity\",\"Increase Verbosity\")))}else{const d=this._keybindingService.lookupKeybinding(v4);n.add(this._hoverService.setupUpdatableHover(a,r,d?p(\"decreaseVerbosityWithKb\",\"Decrease Verbosity ({0})\",d.getLabel()):p(\"decreaseVerbosity\",\"Decrease Verbosity\")))}if(!i)return r.classList.add(\"disabled\"),n;r.classList.add(\"enabled\");const l=()=>this.updateFocusedHoverPartVerbosityLevel(t);return n.add(new G$(r,l)),n.add(new Z$(r,l,[3,10])),n}async updateFocusedHoverPartVerbosityLevel(e){var t;const i=this._editor.getModel();if(!i)return;const n=this._hoverFocusInfo.hoverPartIndex,o=this._getRenderedHoverPartAtIndex(n);if(!o||!(!((t=o.hoverSource)===null||t===void 0)&&t.supportsVerbosityAction(e)))return;const r=o.hoverSource.hoverPosition,a=o.hoverSource.hoverProvider,l=o.hoverSource.hover,d={verbosityRequest:{action:e,previousHover:l}};let c;try{c=await Promise.resolve(a.provideHover(i,r,dt.None,d))}catch(g){Ai(g)}if(!c)return;const u=new Mq(c,a,r),h=this._renderHoverPart(n,c.contents,u,this._onFinishedRendering);this._replaceRenderedHoverPartAtIndex(n,h),this._focusOnHoverPartWithIndex(n),this._onFinishedRendering()}_replaceRenderedHoverPartAtIndex(e,t){if(e>=this._renderHoverParts.length||e<0)return;const i=this._renderedHoverParts[e];i.renderedMarkdown.replaceWith(t.renderedMarkdown),i.disposables.dispose(),this._renderedHoverParts[e]=t}_focusOnHoverPartWithIndex(e){this._renderedHoverParts[e].renderedMarkdown.focus(),this._hoverFocusInfo.focusRemains=!0}_getRenderedHoverPartAtIndex(e){return this._renderedHoverParts[e]}}function Jke(s,e,t,i,n){e.sort(ao(r=>r.ordinal,ua));const o=new Y;for(const r of e)o.add(Rq(t,s.fragment,r.contents,i,n,s.onContentsChanged));return o}function Rq(s,e,t,i,n,o){const r=new Y;for(const a of t){if(L_(a))continue;const l=Cm(\"div.markdown-hover\"),d=Q(l,Cm(\"div.hover-contents\")),c=r.add(new yd({editor:s},i,n));r.add(c.onDidRenderAsync(()=>{d.className=\"hover-contents code-hover-contents\",o()}));const u=r.add(c.render(a));d.appendChild(u.element),e.appendChild(l)}return r}function KM(s,e){return!!s[e]}class dT{constructor(e,t){this.target=e.target,this.isLeftClick=e.event.leftButton,this.isMiddleClick=e.event.middleButton,this.isRightClick=e.event.rightButton,this.hasTriggerModifier=KM(e.event,t.triggerModifier),this.hasSideBySideModifier=KM(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class j7{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=KM(e,t.triggerModifier)}}class sy{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function K7(s){return s===\"altKey\"?lt?new sy(57,\"metaKey\",6,\"altKey\"):new sy(5,\"ctrlKey\",6,\"altKey\"):lt?new sy(6,\"altKey\",57,\"metaKey\"):new sy(6,\"altKey\",5,\"ctrlKey\")}class vk extends H{constructor(e,t){var i;super(),this._onMouseMoveOrRelevantKeyDown=this._register(new B),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new B),this.onExecute=this._onExecute.event,this._onCancel=this._register(new B),this.onCancel=this._onCancel.event,this._editor=e,this._extractLineNumberFromMouseEvent=(i=t==null?void 0:t.extractLineNumberFromMouseEvent)!==null&&i!==void 0?i:n=>n.target.position?n.target.position.lineNumber:0,this._opts=K7(this._editor.getOption(78)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(n=>{if(n.hasChanged(78)){const o=K7(this._editor.getOption(78));if(this._opts.equals(o))return;this._opts=o,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(n=>this._onEditorMouseMove(new dT(n,this._opts)))),this._register(this._editor.onMouseDown(n=>this._onEditorMouseDown(new dT(n,this._opts)))),this._register(this._editor.onMouseUp(n=>this._onEditorMouseUp(new dT(n,this._opts)))),this._register(this._editor.onKeyDown(n=>this._onEditorKeyDown(new j7(n,this._opts)))),this._register(this._editor.onKeyUp(n=>this._onEditorKeyUp(new j7(n,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(n=>this._onDidChangeCursorSelection(n))),this._register(this._editor.onDidChangeModel(n=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(n=>{(n.scrollTopChanged||n.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(e)}_onEditorMouseUp(e){const t=this._extractLineNumberFromMouseEvent(e);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}class Pq{constructor(e,t){this.range=e,this.direction=t}}class y4{constructor(e,t,i){this.hint=e,this.anchor=t,this.provider=i,this._isResolved=!1}with(e){const t=new y4(this.hint,e.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}async resolve(e){if(typeof this.provider.resolveInlayHint==\"function\"){if(this._currentResolve)return await this._currentResolve,e.isCancellationRequested?void 0:this.resolve(e);this._isResolved||(this._currentResolve=this._doResolve(e).finally(()=>this._currentResolve=void 0)),await this._currentResolve}}async _doResolve(e){var t,i,n;try{const o=await Promise.resolve(this.provider.resolveInlayHint(this.hint,e));this.hint.tooltip=(t=o==null?void 0:o.tooltip)!==null&&t!==void 0?t:this.hint.tooltip,this.hint.label=(i=o==null?void 0:o.label)!==null&&i!==void 0?i:this.hint.label,this.hint.textEdits=(n=o==null?void 0:o.textEdits)!==null&&n!==void 0?n:this.hint.textEdits,this._isResolved=!0}catch(o){Ai(o),this._isResolved=!1}}}class gf{static async create(e,t,i,n){const o=[],r=e.ordered(t).reverse().map(a=>i.map(async l=>{try{const d=await a.provideInlayHints(t,l,n);(d!=null&&d.hints.length||a.onDidChangeInlayHints)&&o.push([d??gf._emptyInlayHintList,a])}catch(d){Ai(d)}}));if(await Promise.all(r.flat()),n.isCancellationRequested||t.isDisposed())throw new sl;return new gf(i,o,t)}constructor(e,t,i){this._disposables=new Y,this.ranges=e,this.provider=new Set;const n=[];for(const[o,r]of t){this._disposables.add(o),this.provider.add(r);for(const a of o.hints){const l=i.validatePosition(a.position);let d=\"before\";const c=gf._getRangeAtPosition(i,l);let u;c.getStartPosition().isBefore(l)?(u=x.fromPositions(c.getStartPosition(),l),d=\"after\"):(u=x.fromPositions(l,c.getEndPosition()),d=\"before\"),n.push(new y4(a,new Pq(u,d),r))}}this.items=n.sort((o,r)=>W.compare(o.hint.position,r.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(e,t){const i=t.lineNumber,n=e.getWordAtPosition(t);if(n)return new x(i,n.startColumn,i,n.endColumn);e.tokenization.tokenizeIfCheap(i);const o=e.tokenization.getLineTokens(i),r=t.column-1,a=o.findTokenIndexAtOffset(r);let l=o.getStartOffset(a),d=o.getEndOffset(a);return d-l===1&&(l===r&&a>1?(l=o.getStartOffset(a-1),d=o.getEndOffset(a-1)):d===r&&a<o.getCount()-1&&(l=o.getStartOffset(a+1),d=o.getEndOffset(a+1))),new x(i,l+1,i,d+1)}}gf._emptyInlayHintList=Object.freeze({dispose(){},hints:[]});function eEe(s){return Ae.from({scheme:Ge.command,path:s.id,query:s.arguments&&encodeURIComponent(JSON.stringify(s.arguments))}).toString()}var tEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ud=function(s,e){return function(t,i){e(t,i,s)}};let Uh=class extends y_{constructor(e,t,i,n,o,r,a,l,d,c,u,h,g){super(e,{...n.getRawOptions(),overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()},i,o,r,a,l,d,c,u,h,g),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(f=>this._onParentConfigurationChanged(f)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){UL(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};Uh=tEe([Ud(4,Ne),Ud(5,xt),Ud(6,gi),Ud(7,Be),Ud(8,_n),Ud(9,en),Ud(10,gr),Ud(11,Yt),Ud(12,Ce)],Uh);const q7=new $(new bt(0,122,204)),iEe={showArrow:!0,showFrame:!0,className:\"\",frameColor:q7,arrowColor:q7,keepEditorSelection:!1},nEe=\"vs.editor.contrib.zoneWidget\";class sEe{constructor(e,t,i,n,o,r,a,l){this.id=\"\",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this.showInHiddenAreas=a,this.ordinal=l,this._onDomNodeTop=o,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class oEe{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class bk{constructor(e){this._editor=e,this._ruleName=bk._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),oA(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){oA(this._ruleName),$S(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px !important; margin-left: -${this._height}px; `)}show(e){e.column===1&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:x.fromPositions(e),options:{description:\"zone-widget-arrow\",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}bk._IdGenerator=new bO(\".arrow-decoration-\");class rEe{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new Y,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=Jd(t),UL(this.options,iEe,!1),this.domNode=document.createElement(\"div\"),this.options.isAccessible||(this.domNode.setAttribute(\"aria-hidden\",\"true\"),this.domNode.setAttribute(\"role\",\"presentation\")),this._disposables.add(this.editor.onDidLayoutChange(i=>{const n=this._getWidth(i);this.domNode.style.width=n+\"px\",this.domNode.style.left=this._getLeft(i)+\"px\",this._onWidth(n)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add(\"zone-widget\"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement(\"div\"),this.container.classList.add(\"zone-widget-container\"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new bk(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){const e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&e.minimap.minimapLeft===0?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+\"px\"}_onViewZoneHeight(e){var t;if(this.domNode.style.height=`${e}px`,this.container){const i=e-this._decoratingElementsHeight();this.container.style.height=`${i}px`;const n=this.editor.getLayoutInfo();this._doLayout(i,this._getWidth(n))}(t=this._resizeSash)===null||t===void 0||t.layout()}get position(){const e=this._positionMarkerId.getRange(0);if(e)return e.getStartPosition()}show(e,t){const i=x.isIRange(e)?x.lift(e):x.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:Ye.EMPTY}])}hide(){var e;this._viewZone&&(this.editor.changeViewZones(t=>{this._viewZone&&t.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(e=this._arrow)===null||e===void 0||e.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const e=this.editor.getOption(67);let t=0;if(this.options.showArrow){const i=Math.round(e/3);t+=2*i}if(this.options.showFrame){const i=Math.round(e/9);t+=2*i}return t}_showImpl(e,t){const i=e.getStartPosition(),n=this.editor.getLayoutInfo(),o=this._getWidth(n);this.domNode.style.width=`${o}px`,this.domNode.style.left=this._getLeft(n)+\"px\";const r=document.createElement(\"div\");r.style.overflow=\"hidden\";const a=this.editor.getOption(67);if(!this.options.allowUnlimitedHeight){const h=Math.max(12,this.editor.getLayoutInfo().height/a*.8);t=Math.min(t,h)}let l=0,d=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(a/3),this._arrow.height=l,this._arrow.show(i)),this.options.showFrame&&(d=Math.round(a/9)),this.editor.changeViewZones(h=>{this._viewZone&&h.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top=\"-1000px\",this._viewZone=new sEe(r,i.lineNumber,i.column,t,g=>this._onViewZoneTop(g),g=>this._onViewZoneHeight(g),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=h.addZone(this._viewZone),this._overlayWidget=new oEe(nEe+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const h=this.options.frameWidth?this.options.frameWidth:d;this.container.style.borderTopWidth=h+\"px\",this.container.style.borderBottomWidth=h+\"px\"}const c=t*a-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+\"px\",this.container.style.height=c+\"px\",this.container.style.overflow=\"hidden\"),this._doLayout(c,o),this.options.keepEditorSelection||this.editor.setSelection(e);const u=this.editor.getModel();if(u){const h=u.validateRange(new x(e.startLineNumber,1,e.endLineNumber+1,1));this.revealRange(h,h.startLineNumber===u.getLineCount())}}revealRange(e,t){t?this.editor.revealLineNearTop(e.endLineNumber,0):this.editor.revealRange(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new is(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let e;this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){const i=(t.currentY-e.startY)/this.editor.getOption(67),n=i<0?Math.ceil(i):Math.floor(i),o=e.heightInLines+n;o>5&&o<35&&this._relayout(o)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}var Fq=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Oq=function(s,e){return function(t,i){e(t,i,s)}};const Bq=ut(\"IPeekViewService\");mt(Bq,class{constructor(){this._widgets=new Map}addExclusiveWidget(s,e){const t=this._widgets.get(s);t&&(t.listener.dispose(),t.widget.dispose());const i=()=>{const n=this._widgets.get(s);n&&n.widget===e&&(n.listener.dispose(),this._widgets.delete(s))};this._widgets.set(s,{widget:e,listener:e.onDidClose(i)})}},1);var po;(function(s){s.inPeekEditor=new ue(\"inReferenceSearchEditor\",!0,p(\"inReferenceSearchEditor\",\"Whether the current code editor is embedded inside peek\")),s.notInPeekEditor=s.inPeekEditor.toNegated()})(po||(po={}));let PC=class{constructor(e,t){e instanceof Uh&&po.inPeekEditor.bindTo(t)}dispose(){}};PC.ID=\"editor.contrib.referenceController\";PC=Fq([Oq(1,Be)],PC);kt(PC.ID,PC,0);function aEe(s){const e=s.get(xt).getFocusedCodeEditor();return e instanceof Uh?e.getParentEditor():e}const lEe={headerBackgroundColor:$.white,primaryHeadingColor:$.fromHex(\"#333333\"),secondaryHeadingColor:$.fromHex(\"#6c6c6cb3\")};let gL=class extends rEe{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new B,this.onDidClose=this._onDidClose.event,UL(this.options,lEe,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){const t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();const e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass(\"peekview-widget\"),this._headElement=he(\".head\"),this._bodyElement=he(\".body\"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){this._titleElement=he(\".peekview-title\"),this.options.supportOnTitleClick&&(this._titleElement.classList.add(\"clickable\"),Ni(this._titleElement,\"click\",o=>this._onTitleClick(o))),Q(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=he(\"span.filename\"),this._secondaryHeading=he(\"span.dirname\"),this._metaHeading=he(\"span.meta\"),Q(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=he(\".peekview-actions\");Q(this._headElement,i);const n=this._getActionBarOptions();this._actionbarWidget=new Vr(i,n),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new Eo(\"peekview.close\",p(\"label.close\",\"Close\"),Pe.asClassName(oe.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:kj.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute(\"title\",e),t?this._secondaryHeading.innerText=t:zn(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,Do(this._metaHeading)):Es(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0){this.dispose();return}const i=Math.ceil(this.editor.getOption(67)*1.2),n=Math.round(e-(i+2));this._doLayoutHead(i,t),this._doLayoutBody(n,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};gL=Fq([Oq(2,Ne)],gL);const dEe=N(\"peekViewTitle.background\",{dark:\"#252526\",light:\"#F3F3F3\",hcDark:$.black,hcLight:$.white},p(\"peekViewTitleBackground\",\"Background color of the peek view title area.\")),Wq=N(\"peekViewTitleLabel.foreground\",{dark:$.white,light:$.black,hcDark:$.white,hcLight:Tr},p(\"peekViewTitleForeground\",\"Color of the peek view title.\")),Hq=N(\"peekViewTitleDescription.foreground\",{dark:\"#ccccccb3\",light:\"#616161\",hcDark:\"#FFFFFF99\",hcLight:\"#292929\"},p(\"peekViewTitleInfoForeground\",\"Color of the peek view title info.\")),cEe=N(\"peekView.border\",{dark:ro,light:ro,hcDark:gt,hcLight:gt},p(\"peekViewBorder\",\"Color of the peek view borders and arrow.\")),uEe=N(\"peekViewResult.background\",{dark:\"#252526\",light:\"#F3F3F3\",hcDark:$.black,hcLight:$.white},p(\"peekViewResultsBackground\",\"Background color of the peek view result list.\"));N(\"peekViewResult.lineForeground\",{dark:\"#bbbbbb\",light:\"#646465\",hcDark:$.white,hcLight:Tr},p(\"peekViewResultsMatchForeground\",\"Foreground color for line nodes in the peek view result list.\"));N(\"peekViewResult.fileForeground\",{dark:$.white,light:\"#1E1E1E\",hcDark:$.white,hcLight:Tr},p(\"peekViewResultsFileForeground\",\"Foreground color for file nodes in the peek view result list.\"));N(\"peekViewResult.selectionBackground\",{dark:\"#3399ff33\",light:\"#3399ff33\",hcDark:null,hcLight:null},p(\"peekViewResultsSelectionBackground\",\"Background color of the selected entry in the peek view result list.\"));N(\"peekViewResult.selectionForeground\",{dark:$.white,light:\"#6C6C6C\",hcDark:$.white,hcLight:Tr},p(\"peekViewResultsSelectionForeground\",\"Foreground color of the selected entry in the peek view result list.\"));const Yu=N(\"peekViewEditor.background\",{dark:\"#001F33\",light:\"#F2F8FC\",hcDark:$.black,hcLight:$.white},p(\"peekViewEditorBackground\",\"Background color of the peek view editor.\"));N(\"peekViewEditorGutter.background\",{dark:Yu,light:Yu,hcDark:Yu,hcLight:Yu},p(\"peekViewEditorGutterBackground\",\"Background color of the gutter in the peek view editor.\"));N(\"peekViewEditorStickyScroll.background\",{dark:Yu,light:Yu,hcDark:Yu,hcLight:Yu},p(\"peekViewEditorStickScrollBackground\",\"Background color of sticky scroll in the peek view editor.\"));N(\"peekViewResult.matchHighlightBackground\",{dark:\"#ea5c004d\",light:\"#ea5c004d\",hcDark:null,hcLight:null},p(\"peekViewResultsMatchHighlight\",\"Match highlight color in the peek view result list.\"));N(\"peekViewEditor.matchHighlightBackground\",{dark:\"#ff8f0099\",light:\"#f5d802de\",hcDark:null,hcLight:null},p(\"peekViewEditorMatchHighlight\",\"Match highlight color in the peek view editor.\"));N(\"peekViewEditor.matchHighlightBorder\",{dark:null,light:null,hcDark:di,hcLight:di},p(\"peekViewEditorMatchHighlightBorder\",\"Match highlight border in the peek view editor.\"));class $h{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=c2.nextId()}get uri(){return this.link.uri}get range(){var e,t;return(t=(e=this._range)!==null&&e!==void 0?e:this.link.targetSelectionRange)!==null&&t!==void 0?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;const t=(e=this.parent.getPreview(this))===null||e===void 0?void 0:e.preview(this.range);return t?p({},\"{0} in {1} on line {2} at column {3}\",t.value,Wr(this.uri),this.range.startLineNumber,this.range.startColumn):p(\"aria.oneReference\",\"in {0} on line {1} at column {2}\",Wr(this.uri),this.range.startLineNumber,this.range.startColumn)}}class hEe{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const i=this._modelReference.object.textEditorModel;if(!i)return;const{startLineNumber:n,startColumn:o,endLineNumber:r,endColumn:a}=e,l=i.getWordUntilPosition({lineNumber:n,column:o-t}),d=new x(n,l.startColumn,n,o),c=new x(r,a,r,1073741824),u=i.getValueInRange(d).replace(/^\\s+/,\"\"),h=i.getValueInRange(e),g=i.getValueInRange(c).replace(/\\s+$/,\"\");return{value:u+h+g,highlight:{start:u.length,end:u.length+h.length}}}}class FC{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new Wi}dispose(){jt(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return e===1?p(\"aria.fileReferences.1\",\"1 symbol in {0}, full path {1}\",Wr(this.uri),this.uri.fsPath):p(\"aria.fileReferences.N\",\"{0} symbols in {1}, full path {2}\",e,Wr(this.uri),this.uri.fsPath)}async resolve(e){if(this._previews.size!==0)return this;for(const t of this.children)if(!this._previews.has(t.uri))try{const i=await e.createModelReference(t.uri);this._previews.set(t.uri,new hEe(i))}catch(i){Xe(i)}return this}}class To{constructor(e,t){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new B,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[i]=e;e.sort(To._compareReferences);let n;for(const o of e)if((!n||!ci.isEqual(n.uri,o.uri,!0))&&(n=new FC(this,o.uri),this.groups.push(n)),n.children.length===0||To._compareReferences(o,n.children[n.children.length-1])!==0){const r=new $h(i===o,n,o,a=>this._onDidChangeReferenceRange.fire(a));this.references.push(r),n.children.push(r)}}dispose(){jt(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new To(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?p(\"aria.result.0\",\"No results found\"):this.references.length===1?p(\"aria.result.1\",\"Found 1 symbol in {0}\",this.references[0].uri.fsPath):this.groups.length===1?p(\"aria.result.n1\",\"Found {0} symbols in {1}\",this.references.length,this.groups[0].uri.fsPath):p(\"aria.result.nm\",\"Found {0} symbols in {1} files\",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){const{parent:i}=e;let n=i.children.indexOf(e);const o=i.children.length,r=i.parent.groups.length;return r===1||t&&n+1<o||!t&&n>0?(t?n=(n+1)%o:n=(n+o-1)%o,i.children[n]):(n=i.parent.groups.indexOf(i),t?(n=(n+1)%r,i.parent.groups[n].children[0]):(n=(n+r-1)%r,i.parent.groups[n].children[i.parent.groups[n].children.length-1]))}nearestReference(e,t){const i=this.references.map((n,o)=>({idx:o,prefixLen:Sh(n.uri.toString(),e.toString()),offsetDist:Math.abs(n.range.startLineNumber-t.lineNumber)*100+Math.abs(n.range.startColumn-t.column)})).sort((n,o)=>n.prefixLen>o.prefixLen?-1:n.prefixLen<o.prefixLen?1:n.offsetDist<o.offsetDist?-1:n.offsetDist>o.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(const i of this.references)if(i.uri.toString()===e.toString()&&x.containsPosition(i.range,t))return i}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return ci.compare(e.uri,t.uri)||x.compareRangesUsingStarts(e.range,t.range)}}var Ck=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},wk=function(s,e){return function(t,i){e(t,i,s)}},qM;let GM=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof To||e instanceof FC}getChildren(e){if(e instanceof To)return e.groups;if(e instanceof FC)return e.resolve(this._resolverService).then(t=>t.children);throw new Error(\"bad tree\")}};GM=Ck([wk(0,mo)],GM);class gEe{getHeight(){return 23}getTemplateId(e){return e instanceof FC?OC.id:U1.id}}let ZM=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof $h){const i=(t=e.parent.getPreview(e))===null||t===void 0?void 0:t.preview(e.range);if(i)return i.value}return Wr(e.uri)}};ZM=Ck([wk(0,At)],ZM);class fEe{getId(e){return e instanceof $h?e.id:e.uri}}let XM=class extends H{constructor(e,t){super(),this._labelService=t;const i=document.createElement(\"div\");i.classList.add(\"reference-file\"),this.file=this._register(new jD(i,{supportHighlights:!0})),this.badge=new K2(Q(i,he(\".count\")),{},Lj),e.appendChild(i)}set(e,t){const i=Ax(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});const n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat(p(\"referencesCount\",\"{0} references\",n)):this.badge.setTitleFormat(p(\"referenceCount\",\"{0} reference\",n))}};XM=Ck([wk(1,k_)],XM);let OC=qM=class{constructor(e){this._instantiationService=e,this.templateId=qM.id}renderTemplate(e){return this._instantiationService.createInstance(XM,e)}renderElement(e,t,i){i.set(e.element,Bx(e.filterData))}disposeTemplate(e){e.dispose()}};OC.id=\"FileReferencesRenderer\";OC=qM=Ck([wk(0,Ne)],OC);class pEe extends H{constructor(e){super(),this.label=this._register(new uh(e))}set(e,t){var i;const n=(i=e.parent.getPreview(e))===null||i===void 0?void 0:i.preview(e.range);if(!n||!n.value)this.label.set(`${Wr(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`);else{const{value:o,highlight:r}=n;t&&!el.isDefault(t)?(this.label.element.classList.toggle(\"referenceMatch\",!1),this.label.set(o,Bx(t))):(this.label.element.classList.toggle(\"referenceMatch\",!0),this.label.set(o,[r]))}}}class U1{constructor(){this.templateId=U1.id}renderTemplate(e){return new pEe(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(e){e.dispose()}}U1.id=\"OneReferenceRenderer\";class mEe{getWidgetAriaLabel(){return p(\"treeAriaLabel\",\"References\")}getAriaLabel(e){return e.ariaMessage}}var _Ee=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},$d=function(s,e){return function(t,i){e(t,i,s)}};class yk{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new Y,this._callOnModelChange=new Y,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e){for(const t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const t=[],i=[];for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];this._decorationIgnoreSet.has(r.id)||r.uri.toString()===this._editor.getModel().uri.toString()&&(t.push({range:r.range,options:yk.DecorationOptions}),i.push(n))}this._editor.changeDecorations(n=>{const o=n.deltaDecorations([],t);for(let r=0;r<o.length;r++)this._decorations.set(o[r],e.children[i[r]])})}_onDecorationChanged(){const e=[],t=this._editor.getModel();if(t){for(const[i,n]of this._decorations){const o=t.getDecorationRange(i);if(!o)continue;let r=!1;if(!x.equalsRange(o,n.range)){if(x.spansMultipleLines(o))r=!0;else{const a=n.range.endColumn-n.range.startColumn,l=o.endColumn-o.startColumn;a!==l&&(r=!0)}r?(this._decorationIgnoreSet.add(n.id),e.push(i)):n.range=o}}for(let i=0,n=e.length;i<n;i++)this._decorations.delete(e[i]);this._editor.removeDecorations(e)}}removeDecorations(){this._editor.removeDecorations([...this._decorations.keys()]),this._decorations.clear()}}yk.DecorationOptions=Ye.register({description:\"reference-decoration\",stickiness:1,className:\"reference-decoration\"});class vEe{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(e){let t,i;try{const n=JSON.parse(e);t=n.ratio,i=n.heightInLines}catch{}return{ratio:t||.7,heightInLines:i||18}}}class bEe extends z2{}let YM=class extends gL{constructor(e,t,i,n,o,r,a,l,d,c,u,h){super(e,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0,supportOnTitleClick:!0},r),this._defaultTreeKeyboardSupport=t,this.layoutData=i,this._textModelResolverService=o,this._instantiationService=r,this._peekViewService=a,this._uriLabel=l,this._undoRedoService=d,this._keybindingService=c,this._languageService=u,this._languageConfigurationService=h,this._disposeOnNewModel=new Y,this._callOnDispose=new Y,this._onDidSelectReference=new B,this.onDidSelectReference=this._onDidSelectReference.event,this._dim=new Dt(0,0),this._applyTheme(n.getColorTheme()),this._callOnDispose.add(n.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(e,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),jt(this._preview),jt(this._previewNotAvailableMessage),jt(this._tree),jt(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(e){const t=e.getColor(cEe)||$.transparent;this.style({arrowColor:t,frameColor:t,headerBackgroundColor:e.getColor(dEe)||$.transparent,primaryHeadingColor:e.getColor(Wq),secondaryHeadingColor:e.getColor(Hq)})}show(e){super.show(e,this.layoutData.heightInLines||18)}focusOnReferenceTree(){this._tree.domFocus()}focusOnPreviewEditor(){this._preview.focus()}isPreviewEditorFocused(){return this._preview.hasTextFocus()}_onTitleClick(e){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:e.ctrlKey||e.metaKey||e.altKey?\"side\":\"open\",source:\"title\"})}_fillBody(e){this.setCssClass(\"reference-zone-widget\"),this._messageContainer=Q(e,he(\"div.messages\")),Es(this._messageContainer),this._splitView=new Aj(e,{orientation:1}),this._previewContainer=Q(e,he(\"div.preview.inline\"));const t={scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:\"auto\",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!0},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}};this._preview=this._instantiationService.createInstance(Uh,this._previewContainer,t,{},this.editor),Es(this._previewContainer),this._previewNotAvailableMessage=new wd(p(\"missingPreviewMessage\",\"no preview available\"),ir,wd.DEFAULT_CREATION_OPTIONS,null,this._undoRedoService,this._languageService,this._languageConfigurationService),this._treeContainer=Q(e,he(\"div.ref-tree.inline\"));const i={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new mEe,keyboardNavigationLabelProvider:this._instantiationService.createInstance(ZM),identityProvider:new fEe,openOnSingleClick:!0,selectionNavigation:!0,overrideStyles:{listBackground:uEe}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(Ni(this._treeContainer,\"keydown\",o=>{o.equals(9)&&(this._keybindingService.dispatchEvent(o,o.target),o.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(bEe,\"ReferencesWidget\",this._treeContainer,new gEe,[this._instantiationService.createInstance(OC),this._instantiationService.createInstance(U1)],this._instantiationService.createInstance(GM),i),this._splitView.addView({onDidChange:le.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:o=>{this._preview.layout({height:this._dim.height,width:o})}},WD.Distribute),this._splitView.addView({onDidChange:le.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:o=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${o}px`,this._tree.layout(this._dim.height,o)}},WD.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const n=(o,r)=>{o instanceof $h&&(r===\"show\"&&this._revealReference(o,!1),this._onDidSelectReference.fire({element:o,kind:r,source:\"tree\"}))};this._tree.onDidOpen(o=>{o.sideBySide?n(o.element,\"side\"):o.editorOptions.pinned?n(o.element,\"goto\"):n(o.element,\"show\")}),Es(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new Dt(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(\"\"),this._messageContainer.innerText=p(\"noResults\",\"No results\"),Do(this._messageContainer),Promise.resolve(void 0)):(Es(this._messageContainer),this._decorationsManager=new yk(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{const{event:t,target:i}=e;if(t.detail!==2)return;const n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?\"side\":\"open\",source:\"editor\"})})),this.container.classList.add(\"results-loaded\"),Do(this._treeContainer),Do(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[e]=this._tree.getFocus();if(e instanceof $h)return e;if(e instanceof FC&&e.children.length>0)return e.children[0]}async revealReference(e){await this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:\"goto\",source:\"tree\"})}async _revealReference(e,t){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==Ge.inMemory?this.setTitle(bme(e.uri),this._uriLabel.getUriLabel(Ax(e.uri))):this.setTitle(p(\"peekView.alternateTitle\",\"References\"));const i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent?this._tree.reveal(e):(t&&this._tree.reveal(e.parent),await this._tree.expand(e.parent),this._tree.reveal(e));const n=await i;if(!this._model){n.dispose();return}jt(this._previewModelReference);const o=n.object;if(o){const r=this._preview.getModel()===o.textEditorModel?0:1,a=x.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(o.textEditorModel),this._preview.setSelection(a),this._preview.revealRangeInCenter(a,r)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()}};YM=_Ee([$d(3,_n),$d(4,mo),$d(5,Ne),$d(6,Bq),$d(7,k_),$d(8,Mx),$d(9,At),$d(10,vi),$d(11,Yt)],YM);var CEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Pp=function(s,e){return function(t,i){e(t,i,s)}},uS;const vp=new ue(\"referenceSearchVisible\",!1,p(\"referenceSearchVisible\",\"Whether reference peek is visible, like 'Peek References' or 'Peek Definition'\"));let V_=uS=class{static get(e){return e.getContribution(uS.ID)}constructor(e,t,i,n,o,r,a,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=o,this._instantiationService=r,this._storageService=a,this._configurationService=l,this._disposables=new Y,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=vp.bindTo(i)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),(e=this._widget)===null||e===void 0||e.dispose(),(t=this._model)===null||t===void 0||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const o=\"peekViewLayout\",r=vEe.fromJSON(this._storageService.get(o,0,\"{}\"));this._widget=this._instantiationService.createInstance(YM,this._editor,this._defaultTreeKeyboardSupport,r),this._widget.setTitle(p(\"labelLoading\",\"Loading...\")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(o,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(l=>{const{element:d,kind:c}=l;if(d)switch(c){case\"open\":(l.source!==\"editor\"||!this._configurationService.getValue(\"editor.stablePeek\"))&&this.openReference(d,!1,!1);break;case\"side\":this.openReference(d,!0,!1);break;case\"goto\":i?this._gotoReference(d,!0):this.openReference(d,!1,!0);break}}));const a=++this._requestIdPool;t.then(l=>{var d;if(a!==this._requestIdPool||!this._widget){l.dispose();return}return(d=this._model)===null||d===void 0||d.dispose(),this._model=l,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(\"\"):this._widget.setMetaTitle(p(\"metaTitle.N\",\"{0} ({1})\",this._model.title,this._model.references.length));const c=this._editor.getModel().uri,u=new W(e.startLineNumber,e.startColumn),h=this._model.nearestReference(c,u);if(h)return this._widget.setSelection(h).then(()=>{this._widget&&this._editor.getOption(87)===\"editor\"&&this._widget.focusOnPreviewEditor()})}})},l=>{this._notificationService.error(l)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}async goToNextOrPreviousReference(e){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;const n=this._model.nextOrPreviousReference(i,e),o=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();await this._widget.setSelection(n),await this._gotoReference(n,!1),o?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()}async revealReference(e){!this._editor.hasModel()||!this._model||!this._widget||await this._widget.revealReference(e)}closeWidget(e=!0){var t,i;(t=this._widget)===null||t===void 0||t.dispose(),(i=this._model)===null||i===void 0||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e,t){var i;(i=this._widget)===null||i===void 0||i.hide(),this._ignoreModelChangeEvent=!0;const n=x.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:n,selectionSource:\"code.jump\",pinned:t}},this._editor).then(o=>{var r;if(this._ignoreModelChangeEvent=!1,!o||!this._widget){this.closeWidget();return}if(this._editor===o)this._widget.show(n),this._widget.focusOnReferenceTree();else{const a=uS.get(o),l=this._model.clone();this.closeWidget(),o.focus(),a==null||a.toggleWidget(n,Dn(d=>Promise.resolve(l)),(r=this._peekMode)!==null&&r!==void 0?r:!1)}},o=>{this._ignoreModelChangeEvent=!1,Xe(o)})}openReference(e,t,i){t||this.closeWidget();const{uri:n,range:o}=e;this._editorService.openCodeEditor({resource:n,options:{selection:o,selectionSource:\"code.jump\",pinned:i}},this._editor,t)}};V_.ID=\"editor.contrib.referencesController\";V_=uS=CEe([Pp(2,Be),Pp(3,xt),Pp(4,en),Pp(5,Ne),Pp(6,Rd),Pp(7,rt)],V_);function bp(s,e){const t=aEe(s);if(!t)return;const i=V_.get(t);i&&e(i)}go.registerCommandAndKeybindingRule({id:\"togglePeekWidgetFocus\",weight:100,primary:an(2089,60),when:G.or(vp,po.inPeekEditor),handler(s){bp(s,e=>{e.changeFocusBetweenPreviewAndReferences()})}});go.registerCommandAndKeybindingRule({id:\"goToNextReference\",weight:90,primary:62,secondary:[70],when:G.or(vp,po.inPeekEditor),handler(s){bp(s,e=>{e.goToNextOrPreviousReference(!0)})}});go.registerCommandAndKeybindingRule({id:\"goToPreviousReference\",weight:90,primary:1086,secondary:[1094],when:G.or(vp,po.inPeekEditor),handler(s){bp(s,e=>{e.goToNextOrPreviousReference(!1)})}});pt.registerCommandAlias(\"goToNextReferenceFromEmbeddedEditor\",\"goToNextReference\");pt.registerCommandAlias(\"goToPreviousReferenceFromEmbeddedEditor\",\"goToPreviousReference\");pt.registerCommandAlias(\"closeReferenceSearchEditor\",\"closeReferenceSearch\");pt.registerCommand(\"closeReferenceSearch\",s=>bp(s,e=>e.closeWidget()));go.registerKeybindingRule({id:\"closeReferenceSearch\",weight:-1,primary:9,secondary:[1033],when:G.and(po.inPeekEditor,G.not(\"config.editor.stablePeek\"))});go.registerKeybindingRule({id:\"closeReferenceSearch\",weight:250,primary:9,secondary:[1033],when:G.and(vp,G.not(\"config.editor.stablePeek\"),G.or(T.editorTextFocus,wwe.negate()))});go.registerCommandAndKeybindingRule({id:\"revealReference\",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:G.and(vp,Zj,HO.negate(),VO.negate()),handler(s){var e;const i=(e=s.get(Kr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof $h&&bp(s,n=>n.revealReference(i[0]))}});go.registerCommandAndKeybindingRule({id:\"openReferenceToSide\",weight:100,primary:2051,mac:{primary:259},when:G.and(vp,Zj,HO.negate(),VO.negate()),handler(s){var e;const i=(e=s.get(Kr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof $h&&bp(s,n=>n.openReference(i[0],!0,!0))}});pt.registerCommand(\"openReference\",s=>{var e;const i=(e=s.get(Kr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof $h&&bp(s,n=>n.openReference(i[0],!1,!0))});var Vq=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Tv=function(s,e){return function(t,i){e(t,i,s)}};const S4=new ue(\"hasSymbols\",!1,p(\"hasSymbols\",\"Whether there are symbol locations that can be navigated via keyboard-only.\")),Sk=ut(\"ISymbolNavigationService\");let QM=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=S4.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),(e=this._currentState)===null||e===void 0||e.dispose(),(t=this._currentMessage)===null||t===void 0||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){const t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();const i=new JM(this._editorService),n=i.onDidChange(o=>{if(this._ignoreEditorChange)return;const r=this._editorService.getActiveCodeEditor();if(!r)return;const a=r.getModel(),l=r.getPosition();if(!a||!l)return;let d=!1,c=!1;for(const u of t.references)if(ZF(u.uri,a.uri))d=!0,c=c||x.containsPosition(u.range,l);else if(d)break;(!d||!c)&&this.reset()});this._currentState=ha(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:x.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;(e=this._currentMessage)===null||e===void 0||e.dispose();const t=this._keybindingService.lookupKeybinding(\"editor.gotoNextSymbolFromResult\"),i=t?p(\"location.kb\",\"Symbol {0} of {1}, {2} for next\",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):p(\"location\",\"Symbol {0} of {1}\",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};QM=Vq([Tv(0,Be),Tv(1,xt),Tv(2,en),Tv(3,At)],QM);mt(Sk,QM,1);de(new class extends mn{constructor(){super({id:\"editor.gotoNextSymbolFromResult\",precondition:S4,kbOpts:{weight:100,primary:70}})}runEditorCommand(s,e){return s.get(Sk).revealNext(e)}});go.registerCommandAndKeybindingRule({id:\"editor.gotoNextSymbolFromResult.cancel\",weight:100,when:S4,primary:9,handler(s){s.get(Sk).reset()}});let JM=class{constructor(e){this._listener=new Map,this._disposables=new Y,this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),jt(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,ha(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;(t=this._listener.get(e))===null||t===void 0||t.dispose(),this._listener.delete(e)}};JM=Vq([Tv(0,xt)],JM);async function $1(s,e,t,i){const o=t.ordered(s).map(a=>Promise.resolve(i(a,s,e)).then(void 0,l=>{Ai(l)})),r=await Promise.all(o);return pd(r.flat())}function Dk(s,e,t,i){return $1(e,t,s,(n,o,r)=>n.provideDefinition(o,r,i))}function zq(s,e,t,i){return $1(e,t,s,(n,o,r)=>n.provideDeclaration(o,r,i))}function Uq(s,e,t,i){return $1(e,t,s,(n,o,r)=>n.provideImplementation(o,r,i))}function $q(s,e,t,i){return $1(e,t,s,(n,o,r)=>n.provideTypeDefinition(o,r,i))}function Lk(s,e,t,i,n){return $1(e,t,s,async(o,r,a)=>{const l=await o.provideReferences(r,a,{includeDeclaration:!0},n);if(!i||!l||l.length!==2)return l;const d=await o.provideReferences(r,a,{includeDeclaration:!1},n);return d&&d.length===1?d:l})}async function j1(s){const e=await s(),t=new To(e,\"\"),i=t.references.map(n=>n.link);return t.dispose(),i}Ad(\"_executeDefinitionProvider\",(s,e,t)=>{const i=s.get(Ce),n=Dk(i.definitionProvider,e,t,dt.None);return j1(()=>n)});Ad(\"_executeTypeDefinitionProvider\",(s,e,t)=>{const i=s.get(Ce),n=$q(i.typeDefinitionProvider,e,t,dt.None);return j1(()=>n)});Ad(\"_executeDeclarationProvider\",(s,e,t)=>{const i=s.get(Ce),n=zq(i.declarationProvider,e,t,dt.None);return j1(()=>n)});Ad(\"_executeReferenceProvider\",(s,e,t)=>{const i=s.get(Ce),n=Lk(i.referenceProvider,e,t,!1,dt.None);return j1(()=>n)});Ad(\"_executeImplementationProvider\",(s,e,t)=>{const i=s.get(Ce),n=Uq(i.implementationProvider,e,t,dt.None);return j1(()=>n)});var tv,iv,nv,oy,ry,ay,ly,dy;yn.appendMenuItem(E.EditorContext,{submenu:E.EditorContextPeek,title:p(\"peek.submenu\",\"Peek\"),group:\"navigation\",order:100});class z_{static is(e){return!e||typeof e!=\"object\"?!1:!!(e instanceof z_||W.isIPosition(e.position)&&e.model)}constructor(e,t){this.model=e,this.position=t}}class _s extends fl{static all(){return _s._allSymbolNavigationCommands.values()}static _patchConfig(e){const t={...e,f1:!0};if(t.menu)for(const i of ft.wrap(t.menu))(i.id===E.EditorContext||i.id===E.EditorContextPeek)&&(i.when=G.and(e.precondition,i.when));return t}constructor(e,t){super(_s._patchConfig(t)),this.configuration=e,_s._allSymbolNavigationCommands.set(t.id,this)}runEditorCommand(e,t,i,n){if(!t.hasModel())return Promise.resolve(void 0);const o=e.get(en),r=e.get(xt),a=e.get(sg),l=e.get(Sk),d=e.get(Ce),c=e.get(Ne),u=t.getModel(),h=t.getPosition(),g=z_.is(i)?i:new z_(u,h),f=new Bh(t,5),m=h1(this._getLocationModel(d,g.model,g.position,f.token),f.token).then(async _=>{var v;if(!_||f.token.isCancellationRequested)return;fo(_.ariaMessage);let b;if(_.referenceAt(u.uri,h)){const w=this._getAlternativeCommand(t);!_s._activeAlternativeCommands.has(w)&&_s._allSymbolNavigationCommands.has(w)&&(b=_s._allSymbolNavigationCommands.get(w))}const C=_.references.length;if(C===0){if(!this.configuration.muteMessage){const w=u.getWordAtPosition(h);(v=Vs.get(t))===null||v===void 0||v.showMessage(this._getNoResultFoundMessage(w),h)}}else if(C===1&&b)_s._activeAlternativeCommands.add(this.desc.id),c.invokeFunction(w=>b.runEditorCommand(w,t,i,n).finally(()=>{_s._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(r,l,t,_,n)},_=>{o.error(_)}).finally(()=>{f.dispose()});return a.showWhile(m,250),m}async _onResult(e,t,i,n,o){const r=this._getGoToPreference(i);if(!(i instanceof Uh)&&(this.configuration.openInPeek||r===\"peek\"&&n.references.length>1))this._openInPeek(i,n,o);else{const a=n.firstReference(),l=n.references.length>1&&r===\"gotoAndPeek\",d=await this._openReference(i,e,a,this.configuration.openToSide,!l);l&&d?this._openInPeek(d,n,o):n.dispose(),r===\"goto\"&&t.put(a)}}async _openReference(e,t,i,n,o){let r;if(wre(i)&&(r=i.targetSelectionRange),r||(r=i.range),!r)return;const a=await t.openCodeEditor({resource:i.uri,options:{selection:x.collapseToStart(r),selectionRevealType:3,selectionSource:\"code.jump\"}},e,n);if(a){if(o){const l=a.getModel(),d=a.createDecorationsCollection([{range:r,options:{description:\"symbol-navigate-action-highlight\",className:\"symbolHighlight\"}}]);setTimeout(()=>{a.getModel()===l&&d.clear()},350)}return a}}_openInPeek(e,t,i){const n=V_.get(e);n&&e.hasModel()?n.toggleWidget(i??e.getSelection(),Dn(o=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}_s._allSymbolNavigationCommands=new Map;_s._activeAlternativeCommands=new Set;class K1 extends _s{async _getLocationModel(e,t,i,n){return new To(await Dk(e.definitionProvider,t,i,n),p(\"def.title\",\"Definitions\"))}_getNoResultFoundMessage(e){return e&&e.word?p(\"noResultWord\",\"No definition found for '{0}'\",e.word):p(\"generic.noResults\",\"No definition found\")}_getAlternativeCommand(e){return e.getOption(58).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleDefinitions}}qt((tv=class extends K1{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:tv.id,title:{...Ve(\"actions.goToDecl.label\",\"Go to Definition\"),mnemonicTitle:p({},\"Go to &&Definition\")},precondition:T.hasDefinitionProvider,keybinding:[{when:T.editorTextFocus,primary:70,weight:100},{when:G.and(T.editorTextFocus,jj),primary:2118,weight:100}],menu:[{id:E.EditorContext,group:\"navigation\",order:1.1},{id:E.MenubarGoMenu,precondition:null,group:\"4_symbol_nav\",order:2}]}),pt.registerCommandAlias(\"editor.action.goToDeclaration\",tv.id)}},tv.id=\"editor.action.revealDefinition\",tv));qt((iv=class extends K1{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:iv.id,title:Ve(\"actions.goToDeclToSide.label\",\"Open Definition to the Side\"),precondition:G.and(T.hasDefinitionProvider,T.isInEmbeddedEditor.toNegated()),keybinding:[{when:T.editorTextFocus,primary:an(2089,70),weight:100},{when:G.and(T.editorTextFocus,jj),primary:an(2089,2118),weight:100}]}),pt.registerCommandAlias(\"editor.action.openDeclarationToTheSide\",iv.id)}},iv.id=\"editor.action.revealDefinitionAside\",iv));qt((nv=class extends K1{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:nv.id,title:Ve(\"actions.previewDecl.label\",\"Peek Definition\"),precondition:G.and(T.hasDefinitionProvider,po.notInPeekEditor,T.isInEmbeddedEditor.toNegated()),keybinding:{when:T.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:E.EditorContextPeek,group:\"peek\",order:2}}),pt.registerCommandAlias(\"editor.action.previewDeclaration\",nv.id)}},nv.id=\"editor.action.peekDefinition\",nv));class jq extends _s{async _getLocationModel(e,t,i,n){return new To(await zq(e.declarationProvider,t,i,n),p(\"decl.title\",\"Declarations\"))}_getNoResultFoundMessage(e){return e&&e.word?p(\"decl.noResultWord\",\"No declaration found for '{0}'\",e.word):p(\"decl.generic.noResults\",\"No declaration found\")}_getAlternativeCommand(e){return e.getOption(58).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(58).multipleDeclarations}}qt((oy=class extends jq{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:oy.id,title:{...Ve(\"actions.goToDeclaration.label\",\"Go to Declaration\"),mnemonicTitle:p({},\"Go to &&Declaration\")},precondition:G.and(T.hasDeclarationProvider,T.isInEmbeddedEditor.toNegated()),menu:[{id:E.EditorContext,group:\"navigation\",order:1.3},{id:E.MenubarGoMenu,precondition:null,group:\"4_symbol_nav\",order:3}]})}_getNoResultFoundMessage(e){return e&&e.word?p(\"decl.noResultWord\",\"No declaration found for '{0}'\",e.word):p(\"decl.generic.noResults\",\"No declaration found\")}},oy.id=\"editor.action.revealDeclaration\",oy));qt(class extends jq{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:\"editor.action.peekDeclaration\",title:Ve(\"actions.peekDecl.label\",\"Peek Declaration\"),precondition:G.and(T.hasDeclarationProvider,po.notInPeekEditor,T.isInEmbeddedEditor.toNegated()),menu:{id:E.EditorContextPeek,group:\"peek\",order:3}})}});class Kq extends _s{async _getLocationModel(e,t,i,n){return new To(await $q(e.typeDefinitionProvider,t,i,n),p(\"typedef.title\",\"Type Definitions\"))}_getNoResultFoundMessage(e){return e&&e.word?p(\"goToTypeDefinition.noResultWord\",\"No type definition found for '{0}'\",e.word):p(\"goToTypeDefinition.generic.noResults\",\"No type definition found\")}_getAlternativeCommand(e){return e.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleTypeDefinitions}}qt((ry=class extends Kq{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:ry.ID,title:{...Ve(\"actions.goToTypeDefinition.label\",\"Go to Type Definition\"),mnemonicTitle:p({},\"Go to &&Type Definition\")},precondition:T.hasTypeDefinitionProvider,keybinding:{when:T.editorTextFocus,primary:0,weight:100},menu:[{id:E.EditorContext,group:\"navigation\",order:1.4},{id:E.MenubarGoMenu,precondition:null,group:\"4_symbol_nav\",order:3}]})}},ry.ID=\"editor.action.goToTypeDefinition\",ry));qt((ay=class extends Kq{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:ay.ID,title:Ve(\"actions.peekTypeDefinition.label\",\"Peek Type Definition\"),precondition:G.and(T.hasTypeDefinitionProvider,po.notInPeekEditor,T.isInEmbeddedEditor.toNegated()),menu:{id:E.EditorContextPeek,group:\"peek\",order:4}})}},ay.ID=\"editor.action.peekTypeDefinition\",ay));class qq extends _s{async _getLocationModel(e,t,i,n){return new To(await Uq(e.implementationProvider,t,i,n),p(\"impl.title\",\"Implementations\"))}_getNoResultFoundMessage(e){return e&&e.word?p(\"goToImplementation.noResultWord\",\"No implementation found for '{0}'\",e.word):p(\"goToImplementation.generic.noResults\",\"No implementation found\")}_getAlternativeCommand(e){return e.getOption(58).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(58).multipleImplementations}}qt((ly=class extends qq{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:ly.ID,title:{...Ve(\"actions.goToImplementation.label\",\"Go to Implementations\"),mnemonicTitle:p({},\"Go to &&Implementations\")},precondition:T.hasImplementationProvider,keybinding:{when:T.editorTextFocus,primary:2118,weight:100},menu:[{id:E.EditorContext,group:\"navigation\",order:1.45},{id:E.MenubarGoMenu,precondition:null,group:\"4_symbol_nav\",order:4}]})}},ly.ID=\"editor.action.goToImplementation\",ly));qt((dy=class extends qq{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:dy.ID,title:Ve(\"actions.peekImplementation.label\",\"Peek Implementations\"),precondition:G.and(T.hasImplementationProvider,po.notInPeekEditor,T.isInEmbeddedEditor.toNegated()),keybinding:{when:T.editorTextFocus,primary:3142,weight:100},menu:{id:E.EditorContextPeek,group:\"peek\",order:5}})}},dy.ID=\"editor.action.peekImplementation\",dy));class Gq extends _s{_getNoResultFoundMessage(e){return e?p(\"references.no\",\"No references found for '{0}'\",e.word):p(\"references.noGeneric\",\"No references found\")}_getAlternativeCommand(e){return e.getOption(58).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(58).multipleReferences}}qt(class extends Gq{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:\"editor.action.goToReferences\",title:{...Ve(\"goToReferences.label\",\"Go to References\"),mnemonicTitle:p({},\"Go to &&References\")},precondition:G.and(T.hasReferenceProvider,po.notInPeekEditor,T.isInEmbeddedEditor.toNegated()),keybinding:{when:T.editorTextFocus,primary:1094,weight:100},menu:[{id:E.EditorContext,group:\"navigation\",order:1.45},{id:E.MenubarGoMenu,precondition:null,group:\"4_symbol_nav\",order:5}]})}async _getLocationModel(e,t,i,n){return new To(await Lk(e.referenceProvider,t,i,!0,n),p(\"ref.title\",\"References\"))}});qt(class extends Gq{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:\"editor.action.referenceSearch.trigger\",title:Ve(\"references.action.label\",\"Peek References\"),precondition:G.and(T.hasReferenceProvider,po.notInPeekEditor,T.isInEmbeddedEditor.toNegated()),menu:{id:E.EditorContextPeek,group:\"peek\",order:6}})}async _getLocationModel(e,t,i,n){return new To(await Lk(e.referenceProvider,t,i,!1,n),p(\"ref.title\",\"References\"))}});class wEe extends _s{constructor(e,t,i){super(e,{id:\"editor.action.goToLocation\",title:Ve(\"label.generic\",\"Go to Any Symbol\"),precondition:G.and(po.notInPeekEditor,T.isInEmbeddedEditor.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}async _getLocationModel(e,t,i,n){return new To(this._references,p(\"generic.title\",\"Locations\"))}_getNoResultFoundMessage(e){return e&&p(\"generic.noResult\",\"No results for '{0}'\",e.word)||\"\"}_getGoToPreference(e){var t;return(t=this._gotoMultipleBehaviour)!==null&&t!==void 0?t:e.getOption(58).multipleReferences}_getAlternativeCommand(){return\"\"}}pt.registerCommand({id:\"editor.action.goToLocations\",metadata:{description:\"Go to locations from a position in a file\",args:[{name:\"uri\",description:\"The text document in which to start\",constraint:Ae},{name:\"position\",description:\"The position at which to start\",constraint:W.isIPosition},{name:\"locations\",description:\"An array of locations.\",constraint:Array},{name:\"multiple\",description:\"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`\"},{name:\"noResultsMessage\",description:\"Human readable message that shows when locations is empty.\"}]},handler:async(s,e,t,i,n,o,r)=>{yt(Ae.isUri(e)),yt(W.isIPosition(t)),yt(Array.isArray(i)),yt(typeof n>\"u\"||typeof n==\"string\"),yt(typeof r>\"u\"||typeof r==\"boolean\");const a=s.get(xt),l=await a.openCodeEditor({resource:e},a.getFocusedCodeEditor());if(Wh(l))return l.setPosition(t),l.revealPositionInCenterIfOutsideViewport(t,0),l.invokeWithinContext(d=>{const c=new class extends wEe{_getNoResultFoundMessage(u){return o||super._getNoResultFoundMessage(u)}}({muteMessage:!o,openInPeek:!!r,openToSide:!1},i,n);d.get(Ne).invokeFunction(c.run.bind(c),l)})}});pt.registerCommand({id:\"editor.action.peekLocations\",metadata:{description:\"Peek locations from a position in a file\",args:[{name:\"uri\",description:\"The text document in which to start\",constraint:Ae},{name:\"position\",description:\"The position at which to start\",constraint:W.isIPosition},{name:\"locations\",description:\"An array of locations.\",constraint:Array},{name:\"multiple\",description:\"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`\"}]},handler:async(s,e,t,i,n)=>{s.get(gi).executeCommand(\"editor.action.goToLocations\",e,t,i,n,void 0,!0)}});pt.registerCommand({id:\"editor.action.findReferences\",handler:(s,e,t)=>{yt(Ae.isUri(e)),yt(W.isIPosition(t));const i=s.get(Ce),n=s.get(xt);return n.openCodeEditor({resource:e},n.getFocusedCodeEditor()).then(o=>{if(!Wh(o)||!o.hasModel())return;const r=V_.get(o);if(!r)return;const a=Dn(d=>Lk(i.referenceProvider,o.getModel(),W.lift(t),!1,d).then(c=>new To(c,p(\"ref.title\",\"References\")))),l=new x(t.lineNumber,t.column,t.lineNumber,t.column);return Promise.resolve(r.toggleWidget(l,a,!1))})}});pt.registerCommandAlias(\"editor.action.showReferences\",\"editor.action.peekLocations\");async function yEe(s,e,t,i){var n;const o=s.get(mo),r=s.get(Oo),a=s.get(gi),l=s.get(Ne),d=s.get(en);if(await i.item.resolve(dt.None),!i.part.location)return;const c=i.part.location,u=[],h=new Set(yn.getMenuItems(E.EditorContext).map(f=>tm(f)?f.command.id:pk()));for(const f of _s.all())h.has(f.desc.id)&&u.push(new Eo(f.desc.id,Io.label(f.desc,{renderShortTitle:!0}),void 0,!0,async()=>{const m=await o.createModelReference(c.uri);try{const _=new z_(m.object.textEditorModel,x.getStartPosition(c.range)),v=i.item.anchor.range;await l.invokeFunction(f.runEditorCommand.bind(f),e,_,v)}finally{m.dispose()}}));if(i.part.command){const{command:f}=i.part;u.push(new rn),u.push(new Eo(f.id,f.title,void 0,!0,async()=>{var m;try{await a.executeCommand(f.id,...(m=f.arguments)!==null&&m!==void 0?m:[])}catch(_){d.notify({severity:Rx.Error,source:i.item.provider.displayName,message:_})}}))}const g=e.getOption(127);r.showContextMenu({domForShadowRoot:g&&(n=e.getDomNode())!==null&&n!==void 0?n:void 0,getAnchor:()=>{const f=qi(t);return{x:f.left,y:f.top+f.height+8}},getActions:()=>u,onHide:()=>{e.focus()},autoSelectFirstItem:!0})}async function Zq(s,e,t,i){const o=await s.get(mo).createModelReference(i.uri);await t.invokeWithinContext(async r=>{const a=e.hasSideBySideModifier,l=r.get(Be),d=po.inPeekEditor.getValue(l),c=!a&&t.getOption(88)&&!d;return new K1({openToSide:a,openInPeek:c,muteMessage:!0},{title:{value:\"\",original:\"\"},id:\"\",precondition:void 0}).run(r,new z_(o.object.textEditorModel,x.getStartPosition(i.range)),x.lift(i.range))}),o.dispose()}var SEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Fp=function(s,e){return function(t,i){e(t,i,s)}},Kp;class fL{constructor(){this._entries=new iu(50)}get(e){const t=fL._key(e);return this._entries.get(t)}set(e,t){const i=fL._key(e);this._entries.set(i,t)}static _key(e){return`${e.uri.toString()}/${e.getVersionId()}`}}const Xq=ut(\"IInlayHintsCache\");mt(Xq,fL,1);class eR{constructor(e,t){this.item=e,this.index=t}get part(){const e=this.item.hint.label;return typeof e==\"string\"?{label:e}:e[this.index]}}class DEe{constructor(e,t){this.part=e,this.hasTriggerModifier=t}}let jh=Kp=class{static get(e){var t;return(t=e.getContribution(Kp.ID))!==null&&t!==void 0?t:void 0}constructor(e,t,i,n,o,r,a){this._editor=e,this._languageFeaturesService=t,this._inlayHintsCache=n,this._commandService=o,this._notificationService=r,this._instaService=a,this._disposables=new Y,this._sessionDisposables=new Y,this._decorationsMetadata=new Map,this._ruleFactory=new v1(this._editor),this._activeRenderMode=0,this._debounceInfo=i.for(t.inlayHintsProvider,\"InlayHint\",{min:25}),this._disposables.add(t.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(l=>{l.hasChanged(141)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){this._sessionDisposables.clear(),this._removeAllDecorations();const e=this._editor.getOption(141);if(e.enabled===\"off\")return;const t=this._editor.getModel();if(!t||!this._languageFeaturesService.inlayHintsProvider.has(t))return;if(e.enabled===\"on\")this._activeRenderMode=0;else{let a,l;e.enabled===\"onUnlessPressed\"?(a=0,l=1):(a=1,l=0),this._activeRenderMode=a,this._sessionDisposables.add(hc.getInstance().event(d=>{if(!this._editor.hasModel())return;const c=d.altKey&&d.ctrlKey&&!(d.shiftKey||d.metaKey)?l:a;if(c!==this._activeRenderMode){this._activeRenderMode=c;const u=this._editor.getModel(),h=this._copyInlayHintsWithCurrentAnchor(u);this._updateHintsDecorators([u.getFullModelRange()],h),r.schedule(0)}}))}const i=this._inlayHintsCache.get(t);i&&this._updateHintsDecorators([t.getFullModelRange()],i),this._sessionDisposables.add(Ie(()=>{t.isDisposed()||this._cacheHintsForFastRestore(t)}));let n;const o=new Set,r=new Wt(async()=>{const a=Date.now();n==null||n.dispose(!0),n=new Vi;const l=t.onWillDispose(()=>n==null?void 0:n.cancel());try{const d=n.token,c=await gf.create(this._languageFeaturesService.inlayHintsProvider,t,this._getHintsRanges(),d);if(r.delay=this._debounceInfo.update(t,Date.now()-a),d.isCancellationRequested){c.dispose();return}for(const u of c.provider)typeof u.onDidChangeInlayHints==\"function\"&&!o.has(u)&&(o.add(u),this._sessionDisposables.add(u.onDidChangeInlayHints(()=>{r.isScheduled()||r.schedule()})));this._sessionDisposables.add(c),this._updateHintsDecorators(c.ranges,c.items),this._cacheHintsForFastRestore(t)}catch(d){Xe(d)}finally{n.dispose(),l.dispose()}},this._debounceInfo.get(t));this._sessionDisposables.add(r),this._sessionDisposables.add(Ie(()=>n==null?void 0:n.dispose(!0))),r.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(a=>{(a.scrollTopChanged||!r.isScheduled())&&r.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(a=>{n==null||n.cancel();const l=Math.max(r.delay,1250);r.schedule(l)})),this._sessionDisposables.add(this._installDblClickGesture(()=>r.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){const e=new Y,t=e.add(new vk(this._editor)),i=new Y;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(n=>{const[o]=n,r=this._getInlayHintLabelPart(o),a=this._editor.getModel();if(!r||!a){i.clear();return}const l=new Vi;i.add(Ie(()=>l.dispose(!0))),r.item.resolve(l.token),this._activeInlayHintPart=r.part.command||r.part.location?new DEe(r,o.hasTriggerModifier):void 0;const d=a.validatePosition(r.item.hint.position).lineNumber,c=new x(d,1,d,a.getLineMaxColumn(d)),u=this._getInlineHintsForRange(c);this._updateHintsDecorators([c],u),i.add(Ie(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([c],u)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(async n=>{const o=this._getInlayHintLabelPart(n);if(o){const r=o.part;r.location?this._instaService.invokeFunction(Zq,n,this._editor,r.location):sN.is(r.command)&&await this._invokeCommand(r.command,o.item)}})),e}_getInlineHintsForRange(e){const t=new Set;for(const i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(async t=>{if(t.event.detail!==2)return;const i=this._getInlayHintLabelPart(t);if(i&&(t.event.preventDefault(),await i.item.resolve(dt.None),rs(i.item.hint.textEdits))){const n=i.item.hint.textEdits.map(o=>pi.replace(x.lift(o.range),o.text));this._editor.executeEdits(\"inlayHint.default\",n),e()}})}_installContextMenu(){return this._editor.onContextMenu(async e=>{if(!(e.event.target instanceof HTMLElement))return;const t=this._getInlayHintLabelPart(e);t&&await this._instaService.invokeFunction(yEe,this._editor,e.event.target,t)})}_getInlayHintLabelPart(e){var t;if(e.target.type!==6)return;const i=(t=e.target.detail.injectedText)===null||t===void 0?void 0:t.options;if(i instanceof Ph&&(i==null?void 0:i.attachedData)instanceof eR)return i.attachedData}async _invokeCommand(e,t){var i;try{await this._commandService.executeCommand(e.id,...(i=e.arguments)!==null&&i!==void 0?i:[])}catch(n){this._notificationService.notify({severity:Rx.Error,source:t.provider.displayName,message:n})}}_cacheHintsForFastRestore(e){const t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){const t=new Map;for(const[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;const o=e.getDecorationRange(i);if(o){const r=new Pq(o,n.item.anchor.direction),a=n.item.with({anchor:r});t.set(n.item,a)}}return Array.from(t.values())}_getHintsRanges(){const t=this._editor.getModel(),i=this._editor.getVisibleRangesPlusViewportAboveBelow(),n=[];for(const o of i.sort(x.compareRangesUsingStarts)){const r=t.validateRange(new x(o.startLineNumber-30,o.startColumn,o.endLineNumber+30,o.endColumn));n.length===0||!x.areIntersectingOrTouching(n[n.length-1],r)?n.push(r):n[n.length-1]=x.plusRange(n[n.length-1],r)}return n}_updateHintsDecorators(e,t){var i,n;const o=[],r=(_,v,b,C,w)=>{const y={content:b,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:v.className,cursorStops:C,attachedData:w};o.push({item:_,classNameRef:v,decoration:{range:_.anchor.range,options:{description:\"InlayHint\",showIfCollapsed:_.anchor.range.isEmpty(),collapseOnReplaceEdit:!_.anchor.range.isEmpty(),stickiness:0,[_.anchor.direction]:this._activeRenderMode===0?y:void 0}}})},a=(_,v)=>{const b=this._ruleFactory.createClassNameRef({width:`${l/3|0}px`,display:\"inline-block\"});r(_,b,\" \",v?aa.Right:aa.None)},{fontSize:l,fontFamily:d,padding:c,isUniform:u}=this._getLayoutInfo(),h=\"--code-editorInlayHintsFontFamily\";this._editor.getContainerDomNode().style.setProperty(h,d);let g={line:0,totalLen:0};for(const _ of t){if(g.line!==_.anchor.range.startLineNumber&&(g={line:_.anchor.range.startLineNumber,totalLen:0}),g.totalLen>Kp._MAX_LABEL_LEN)continue;_.hint.paddingLeft&&a(_,!1);const v=typeof _.hint.label==\"string\"?[{label:_.hint.label}]:_.hint.label;for(let b=0;b<v.length;b++){const C=v[b],w=b===0,y=b===v.length-1,D={fontSize:`${l}px`,fontFamily:`var(${h}), ${co.fontFamily}`,verticalAlign:u?\"baseline\":\"middle\",unicodeBidi:\"isolate\"};rs(_.hint.textEdits)&&(D.cursor=\"default\"),this._fillInColors(D,_.hint),(C.command||C.location)&&((i=this._activeInlayHintPart)===null||i===void 0?void 0:i.part.item)===_&&this._activeInlayHintPart.part.index===b&&(D.textDecoration=\"underline\",this._activeInlayHintPart.hasTriggerModifier&&(D.color=Ei(Pue),D.cursor=\"pointer\")),c&&(w&&y?(D.padding=`1px ${Math.max(1,l/4)|0}px`,D.borderRadius=`${l/4|0}px`):w?(D.padding=`1px 0 1px ${Math.max(1,l/4)|0}px`,D.borderRadius=`${l/4|0}px 0 0 ${l/4|0}px`):y?(D.padding=`1px ${Math.max(1,l/4)|0}px 1px 0`,D.borderRadius=`0 ${l/4|0}px ${l/4|0}px 0`):D.padding=\"1px 0 1px 0\");let L=C.label;g.totalLen+=L.length;let k=!1;const I=g.totalLen-Kp._MAX_LABEL_LEN;if(I>0&&(L=L.slice(0,-I)+\"…\",k=!0),r(_,this._ruleFactory.createClassNameRef(D),LEe(L),y&&!_.hint.paddingRight?aa.Right:aa.None,new eR(_,b)),k)break}if(_.hint.paddingRight&&a(_,!0),o.length>Kp._MAX_DECORATORS)break}const f=[];for(const[_,v]of this._decorationsMetadata){const b=(n=this._editor.getModel())===null||n===void 0?void 0:n.getDecorationRange(_);b&&e.some(C=>C.containsRange(b))&&(f.push(_),v.classNameRef.dispose(),this._decorationsMetadata.delete(_))}const m=cl.capture(this._editor);this._editor.changeDecorations(_=>{const v=_.deltaDecorations(f,o.map(b=>b.decoration));for(let b=0;b<v.length;b++){const C=o[b];this._decorationsMetadata.set(v[b],C)}}),m.restore(this._editor)}_fillInColors(e,t){t.kind===PS.Parameter?(e.backgroundColor=Ei(Vue),e.color=Ei(Hue)):t.kind===PS.Type?(e.backgroundColor=Ei(Wue),e.color=Ei(Bue)):(e.backgroundColor=Ei(_c),e.color=Ei(mc))}_getLayoutInfo(){const e=this._editor.getOption(141),t=e.padding,i=this._editor.getOption(52),n=this._editor.getOption(49);let o=e.fontSize;(!o||o<5||o>i)&&(o=i);const r=e.fontFamily||n;return{fontSize:o,fontFamily:r,padding:t,isUniform:!t&&r===n&&o===i}}_removeAllDecorations(){this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys()));for(const e of this._decorationsMetadata.values())e.classNameRef.dispose();this._decorationsMetadata.clear()}};jh.ID=\"editor.contrib.InlayHints\";jh._MAX_DECORATORS=1500;jh._MAX_LABEL_LEN=43;jh=Kp=SEe([Fp(1,Ce),Fp(2,Ur),Fp(3,Xq),Fp(4,gi),Fp(5,en),Fp(6,Ne)],jh);function LEe(s){return s.replace(/[ \\t]/g,\" \")}pt.registerCommand(\"_executeInlayHintProvider\",async(s,...e)=>{const[t,i]=e;yt(Ae.isUri(t)),yt(x.isIRange(i));const{inlayHintsProvider:n}=s.get(Ce),o=await s.get(mo).createModelReference(t);try{const r=await gf.create(n,o.object.textEditorModel,[x.lift(i)],dt.None),a=r.items.map(l=>l.hint);return setTimeout(()=>r.dispose(),0),a}finally{o.dispose()}});var xEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Dg=function(s,e){return function(t,i){e(t,i,s)}};class G7 extends hf{constructor(e,t,i,n){super(10,t,e.item.anchor.range,i,n,!0),this.part=e}}let pL=class extends RC{constructor(e,t,i,n,o,r,a,l){super(e,t,i,r,l,n,o),this._resolverService=a,this.hoverOrdinal=6}suggestHoverAnchor(e){var t;if(!jh.get(this._editor)||e.target.type!==6)return null;const n=(t=e.target.detail.injectedText)===null||t===void 0?void 0:t.options;return n instanceof Ph&&n.attachedData instanceof eR?new G7(n.attachedData,this,e.event.posx,e.event.posy):null}computeSync(){return[]}computeAsync(e,t,i){return e instanceof G7?new Xi(async n=>{const{part:o}=e;if(await o.item.resolve(i),i.isCancellationRequested)return;let r;typeof o.item.hint.tooltip==\"string\"?r=new ss().appendText(o.item.hint.tooltip):o.item.hint.tooltip&&(r=o.item.hint.tooltip),r&&n.emitOne(new Ka(this,e.range,[r],!1,0)),rs(o.item.hint.textEdits)&&n.emitOne(new Ka(this,e.range,[new ss().appendText(p(\"hint.dbl\",\"Double-click to insert\"))],!1,10001));let a;if(typeof o.part.tooltip==\"string\"?a=new ss().appendText(o.part.tooltip):o.part.tooltip&&(a=o.part.tooltip),a&&n.emitOne(new Ka(this,e.range,[a],!1,1)),o.part.location||o.part.command){let d;const u=this._editor.getOption(78)===\"altKey\"?lt?p(\"links.navigate.kb.meta.mac\",\"cmd + click\"):p(\"links.navigate.kb.meta\",\"ctrl + click\"):lt?p(\"links.navigate.kb.alt.mac\",\"option + click\"):p(\"links.navigate.kb.alt\",\"alt + click\");o.part.location&&o.part.command?d=new ss().appendText(p(\"hint.defAndCommand\",\"Go to Definition ({0}), right click for more\",u)):o.part.location?d=new ss().appendText(p(\"hint.def\",\"Go to Definition ({0})\",u)):o.part.command&&(d=new ss(`[${p(\"hint.cmd\",\"Execute Command\")}](${eEe(o.part.command)} \"${o.part.command.title}\") (${u})`,{isTrusted:!0})),d&&n.emitOne(new Ka(this,e.range,[d],!1,1e4))}const l=await this._resolveInlayHintLabelPartHover(o,i);for await(const d of l)n.emitOne(d)}):Xi.EMPTY}async _resolveInlayHintLabelPartHover(e,t){if(!e.part.location)return Xi.EMPTY;const{uri:i,range:n}=e.part.location,o=await this._resolverService.createModelReference(i);try{const r=o.object.textEditorModel;return this._languageFeaturesService.hoverProvider.has(r)?w4(this._languageFeaturesService.hoverProvider,r,new W(n.startLineNumber,n.startColumn),t).filter(a=>!L_(a.hover.contents)).map(a=>new Ka(this,e.item.anchor.range,a.hover.contents,!1,2+a.ordinal)):Xi.EMPTY}finally{o.dispose()}}};pL=xEe([Dg(1,vi),Dg(2,Bo),Dg(3,At),Dg(4,Md),Dg(5,rt),Dg(6,mo),Dg(7,Ce)],pL);class mL{get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}get source(){return this._source}set source(e){this._source=e}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(e){this._insistOnKeepingHoverVisible=e}constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(e,t){if(t.type!==1&&!t.supportsMarkerHover)return[];const i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];const o=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(r=>{if(r.options.isWholeLine)return!0;const a=r.range.startLineNumber===n?r.range.startColumn:1,l=r.range.endLineNumber===n?r.range.endColumn:o;if(r.options.showIfCollapsed){if(a>t.range.startColumn+1||t.range.endColumn-1>l)return!1}else if(a>t.range.startColumn||t.range.endColumn>l)return!1;return!0})}computeAsync(e){const t=this._anchor;if(!this._editor.hasModel()||!t)return Xi.EMPTY;const i=mL._getLineDecorations(this._editor,t);return Xi.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):Xi.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const e=mL._getLineDecorations(this._editor,this._anchor);let t=[];for(const i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return pd(t)}}class Yq{constructor(e,t,i){this.anchor=e,this.messages=t,this.isComplete=i}filter(e){const t=this.messages.filter(i=>i.isValidForHoverAnchor(e));return t.length===this.messages.length?this:new kEe(this,this.anchor,t,this.isComplete)}}class kEe extends Yq{constructor(e,t,i,n){super(t,i,n),this.original=e}filter(e){return this.original.filter(e)}}class EEe{constructor(e,t,i,n,o,r,a,l,d,c){this.initialMousePosX=e,this.initialMousePosY=t,this.colorPicker=i,this.showAtPosition=n,this.showAtSecondaryPosition=o,this.preferAbove=r,this.stoleFocus=a,this.source=l,this.isBeforeContent=d,this.disposables=c,this.closestMouseDistance=void 0}}var IEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},TEe=function(s,e){return function(t,i){e(t,i,s)}};const Z7=he;let _L=class extends H{get hasContent(){return this._hasContent}constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=Z7(\"div.hover-row.status-bar\"),this.hoverElement.tabIndex=0,this.actionsElement=Q(this.hoverElement,Z7(\"div.actions\"))}addAction(e){const t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(Fx.render(this.actionsElement,e,i))}append(e){const t=Q(this.actionsElement,e);return this._hasContent=!0,t}};_L=IEe([TEe(0,At)],_L);var NEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},X7=function(s,e){return function(t,i){e(t,i,s)}},hS;let vL=hS=class extends H{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._currentResult=null,this._widget=this._register(this._instantiationService.createInstance(H_,this._editor)),this._participants=[];for(const n of ag.getAll()){const o=this._instantiationService.createInstance(n,this._editor);o instanceof RC&&!(o instanceof pL)&&(this._markdownHoverParticipant=o),this._participants.push(o)}this._participants.sort((n,o)=>n.hoverOrdinal-o.hoverOrdinal),this._computer=new mL(this._editor,this._participants),this._hoverOperation=this._register(new Aq(this._editor,this._computer)),this._register(this._hoverOperation.onResult(n=>{if(!this._computer.anchor)return;const o=n.hasLoadingMessage?this._addLoadingMessage(n.value):n.value;this._withResult(new Yq(this._computer.anchor,o,n.isComplete))})),this._register(Ni(this._widget.getDomNode(),\"keydown\",n=>{n.equals(9)&&this.hide()})),this._register(Ki.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}_startShowingOrUpdateHover(e,t,i,n,o){return!this._widget.position||!this._currentResult?e?(this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):!1:this._editor.getOption(60).sticky&&o&&this._widget.isMouseGettingCloser(o.event.posx,o.event.posy)?(e&&this._startHoverOperationIfNecessary(e,t,i,n,!0),!0):e?e&&this._currentResult.anchor.equals(e)?!0:e.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(e)),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(e,t,i,n,o){this._computer.anchor&&this._computer.anchor.equals(e)||(this._hoverOperation.cancel(),this._computer.anchor=e,this._computer.shouldFocus=n,this._computer.source=i,this._computer.insistOnKeepingHoverVisible=o,this._hoverOperation.start(t))}_setCurrentResult(e){this._currentResult!==e&&(e&&e.messages.length===0&&(e=null),this._currentResult=e,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}_addLoadingMessage(e){if(this._computer.anchor){for(const t of this._participants)if(t.createLoadingMessage){const i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!e.isComplete||this._computer.insistOnKeepingHoverVisible&&e.messages.length===0)||this._setCurrentResult(e)}_renderMessages(e,t){const{showAtPosition:i,showAtSecondaryPosition:n,highlightRange:o}=hS.computeHoverRanges(this._editor,e.range,t),r=new Y,a=r.add(new _L(this._keybindingService)),l=document.createDocumentFragment();let d=null;const c={fragment:l,statusBar:a,setColorPicker:h=>d=h,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:h=>this._widget.setMinimumDimensions(h),hide:()=>this.hide()};for(const h of this._participants){const g=t.filter(f=>f.owner===h);g.length>0&&r.add(h.renderHoverParts(c,g))}const u=t.some(h=>h.isBeforeContent);if(a.hasContent&&l.appendChild(a.hoverElement),l.hasChildNodes()){if(o){const h=this._editor.createDecorationsCollection();h.set([{range:o,options:hS._DECORATION_OPTIONS}]),r.add(Ie(()=>{h.clear()}))}this._widget.showAt(l,new EEe(e.initialMousePosX,e.initialMousePosY,d,i,n,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,u,r))}else r.dispose()}static computeHoverRanges(e,t,i){let n=1;if(e.hasModel()){const u=e._getViewModel(),h=u.coordinatesConverter,g=h.convertModelRangeToViewRange(t),f=new W(g.startLineNumber,u.getLineMinColumn(g.startLineNumber));n=h.convertViewPositionToModelPosition(f).column}const o=t.startLineNumber;let r=t.startColumn,a=i[0].range,l=null;for(const u of i)a=x.plusRange(a,u.range),u.range.startLineNumber===o&&u.range.endLineNumber===o&&(r=Math.max(Math.min(r,u.range.startColumn),n)),u.forceShowAtRange&&(l=u.range);const d=l?l.getStartPosition():new W(o,t.startColumn),c=l?l.getStartPosition():new W(o,r);return{showAtPosition:d,showAtSecondaryPosition:c,highlightRange:a}}showsOrWillShow(e){if(this._widget.isResizing)return!0;const t=[];for(const n of this._participants)if(n.suggestHoverAnchor){const o=n.suggestHoverAnchor(e);o&&t.push(o)}const i=e.target;if(i.type===6&&t.push(new lT(0,i.range,e.event.posx,e.event.posy)),i.type===7){const n=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&typeof i.detail.horizontalDistanceToText==\"number\"&&i.detail.horizontalDistanceToText<n&&t.push(new lT(0,i.range,e.event.posx,e.event.posy))}return t.length===0?this._startShowingOrUpdateHover(null,0,0,!1,e):(t.sort((n,o)=>o.priority-n.priority),this._startShowingOrUpdateHover(t[0],0,0,!1,e))}startShowingAtRange(e,t,i,n){this._startShowingOrUpdateHover(new lT(0,e,void 0,void 0),t,i,n,null)}async updateFocusedMarkdownHoverVerbosityLevel(e){var t;(t=this._markdownHoverParticipant)===null||t===void 0||t.updateFocusedMarkdownHoverPartVerbosityLevel(e)}containsNode(e){return e?this._widget.getDomNode().contains(e):!1}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}get widget(){return this._widget}};vL._DECORATION_OPTIONS=Ye.register({description:\"content-hover-highlight\",className:\"hoverHighlight\"});vL=hS=NEe([X7(1,Ne),X7(2,At)],vL);class AEe{get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=bd.Center}computeSync(){var e,t;const i=a=>({value:a}),n=this._editor.getLineDecorations(this._lineNumber),o=[],r=this._laneOrLine===\"lineNo\";if(!n)return o;for(const a of n){const l=(t=(e=a.options.glyphMargin)===null||e===void 0?void 0:e.position)!==null&&t!==void 0?t:bd.Center;if(!r&&l!==this._laneOrLine)continue;const d=r?a.options.lineNumberHoverMessage:a.options.glyphMarginHoverMessage;!d||L_(d)||o.push(...OP(d).map(i))}return o}}const Y7=he;class BC extends H{constructor(e,t,i){super(),this._renderDisposeables=this._register(new Y),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new gO),this._hover.containerDomNode.classList.toggle(\"hidden\",!this._isVisible),this._markdownRenderer=this._register(new yd({editor:this._editor},t,i)),this._computer=new AEe(this._editor),this._hoverOperation=this._register(new Aq(this._editor,this._computer)),this._register(this._hoverOperation.onResult(n=>{this._withResult(n.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return BC.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName(\"code\")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}showsOrWillShow(e){const t=e.target;return t.type===2&&t.detail.glyphMarginLane?(this._startShowingAt(t.position.lineNumber,t.detail.glyphMarginLane),!0):t.type===3?(this._startShowingAt(t.position.lineNumber,\"lineNo\"),!0):!1}_startShowingAt(e,t){this._computer.lineNumber===e&&this._computer.lane===t||(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._computer.lane=t,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle(\"hidden\",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();const i=document.createDocumentFragment();for(const n of t){const o=Y7(\"div.hover-row.markdown-hover\"),r=Q(o,Y7(\"div.hover-contents\")),a=this._renderDisposeables.add(this._markdownRenderer.render(n.value));r.appendChild(a.element),i.appendChild(o)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent=\"\",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle(\"hidden\",!this._isVisible));const t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),o=this._editor.getOption(67),r=this._hover.containerDomNode.clientHeight,a=i-n-(r-o)/2,l=t.glyphMarginLeft+t.glyphMarginWidth+(this._computer.lane===\"lineNo\"?t.lineNumbersWidth:0);this._hover.containerDomNode.style.left=`${l}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(a),0)}px`}}BC.ID=\"editor.contrib.modesGlyphHoverWidget\";var MEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Q7=function(s,e){return function(t,i){e(t,i,s)}},tR;let ws=tR=class extends H{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._listenersStore=new Y,this._hoverState={mouseDown:!1,activatedByDecoratorClick:!1},this._reactToEditorMouseMoveRunner=this._register(new Wt(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookListeners(),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(60)&&(this._unhookListeners(),this._hookListeners())}))}static get(e){return e.getContribution(tR.ID)}_hookListeners(){const e=this._editor.getOption(60);this._hoverSettings={enabled:e.enabled,sticky:e.sticky,hidingDelay:e.delay},e.enabled?(this._listenersStore.add(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._listenersStore.add(this._editor.onMouseUp(()=>this._onEditorMouseUp())),this._listenersStore.add(this._editor.onMouseMove(t=>this._onEditorMouseMove(t))),this._listenersStore.add(this._editor.onKeyDown(t=>this._onKeyDown(t)))):(this._listenersStore.add(this._editor.onMouseMove(t=>this._onEditorMouseMove(t))),this._listenersStore.add(this._editor.onKeyDown(t=>this._onKeyDown(t)))),this._listenersStore.add(this._editor.onMouseLeave(t=>this._onEditorMouseLeave(t))),this._listenersStore.add(this._editor.onDidChangeModel(()=>{this._cancelScheduler(),this._hideWidgets()})),this._listenersStore.add(this._editor.onDidChangeModelContent(()=>this._cancelScheduler())),this._listenersStore.add(this._editor.onDidScrollChange(t=>this._onEditorScrollChanged(t)))}_unhookListeners(){this._listenersStore.clear()}_cancelScheduler(){this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._hoverState.mouseDown=!0,!this._shouldNotHideCurrentHoverWidget(e)&&this._hideWidgets()}_shouldNotHideCurrentHoverWidget(e){return!!(this._isMouseOnContentHoverWidget(e)||this._isMouseOnMarginHoverWidget(e)||this._isContentWidgetResizing())}_isMouseOnMarginHoverWidget(e){const t=e.target;return t?t.type===12&&t.detail===BC.ID:!1}_isMouseOnContentHoverWidget(e){const t=e.target;return t?t.type===9&&t.detail===H_.ID:!1}_onEditorMouseUp(){this._hoverState.mouseDown=!1}_onEditorMouseLeave(e){this._cancelScheduler(),!this._shouldNotHideCurrentHoverWidget(e)&&this._hideWidgets()}_shouldNotRecomputeCurrentHoverWidget(e){const t=this._hoverSettings.sticky,i=(a,l)=>{const d=this._isMouseOnMarginHoverWidget(a);return l&&d},n=(a,l)=>{const d=this._isMouseOnContentHoverWidget(a);return l&&d},o=a=>{var l;const d=this._isMouseOnContentHoverWidget(a),c=(l=this._contentWidget)===null||l===void 0?void 0:l.isColorPickerVisible;return d&&c},r=(a,l)=>{var d,c,u,h;return l&&((d=this._contentWidget)===null||d===void 0?void 0:d.containsNode((c=a.event.browserEvent.view)===null||c===void 0?void 0:c.document.activeElement))&&!(!((h=(u=a.event.browserEvent.view)===null||u===void 0?void 0:u.getSelection())===null||h===void 0)&&h.isCollapsed)};return!!(i(e,t)||n(e,t)||o(e)||r(e,t))}_onEditorMouseMove(e){var t,i,n,o;if(this._mouseMoveEvent=e,!((t=this._contentWidget)===null||t===void 0)&&t.isFocused||!((i=this._contentWidget)===null||i===void 0)&&i.isResizing)return;const r=this._hoverSettings.sticky;if(r&&(!((n=this._contentWidget)===null||n===void 0)&&n.isVisibleFromKeyboard))return;if(this._shouldNotRecomputeCurrentHoverWidget(e)){this._reactToEditorMouseMoveRunner.cancel();return}const l=this._hoverSettings.hidingDelay;if(((o=this._contentWidget)===null||o===void 0?void 0:o.isVisible)&&r&&l>0){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(l);return}this._reactToEditorMouseMove(e)}_reactToEditorMouseMove(e){var t;if(!e)return;const n=(t=e.target.element)===null||t===void 0?void 0:t.classList.contains(\"colorpicker-color-decoration\"),o=this._editor.getOption(148),r=this._hoverSettings.enabled,a=this._hoverState.activatedByDecoratorClick;if(n&&(o===\"click\"&&!a||o===\"hover\"&&!r||o===\"clickAndHover\"&&!r&&!a)||!n&&!r&&!a){this._hideWidgets();return}this._tryShowHoverWidget(e,0)||this._tryShowHoverWidget(e,1)||this._hideWidgets()}_tryShowHoverWidget(e,t){const i=this._getOrCreateContentWidget(),n=this._getOrCreateGlyphWidget();let o,r;switch(t){case 0:o=i,r=n;break;case 1:o=n,r=i;break;default:throw new Error(`HoverWidgetType ${t} is unrecognized`)}const a=o.showsOrWillShow(e);return a&&r.hide(),a}_onKeyDown(e){var t;if(!this._editor.hasModel())return;const i=this._keybindingService.softDispatch(e,this._editor.getDomNode()),n=i.kind===1||i.kind===2&&(i.commandId===Eq||i.commandId===_4||i.commandId===v4)&&((t=this._contentWidget)===null||t===void 0?void 0:t.isVisible);e.keyCode===5||e.keyCode===6||e.keyCode===57||e.keyCode===4||n||this._hideWidgets()}_hideWidgets(){var e,t,i;this._hoverState.mouseDown&&(!((e=this._contentWidget)===null||e===void 0)&&e.isColorPickerVisible)||zh.dropDownVisible||(this._hoverState.activatedByDecoratorClick=!1,(t=this._glyphWidget)===null||t===void 0||t.hide(),(i=this._contentWidget)===null||i===void 0||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(vL,this._editor)),this._contentWidget}_getOrCreateGlyphWidget(){return this._glyphWidget||(this._glyphWidget=this._instantiationService.createInstance(BC,this._editor)),this._glyphWidget}showContentHover(e,t,i,n,o=!1){this._hoverState.activatedByDecoratorClick=o,this._getOrCreateContentWidget().startShowingAtRange(e,t,i,n)}_isContentWidgetResizing(){var e;return((e=this._contentWidget)===null||e===void 0?void 0:e.widget.isResizing)||!1}updateFocusedMarkdownHoverVerbosityLevel(e){this._getOrCreateContentWidget().updateFocusedMarkdownHoverVerbosityLevel(e)}focus(){var e;(e=this._contentWidget)===null||e===void 0||e.focus()}scrollUp(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollUp()}scrollDown(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollDown()}scrollLeft(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollLeft()}scrollRight(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollRight()}pageUp(){var e;(e=this._contentWidget)===null||e===void 0||e.pageUp()}pageDown(){var e;(e=this._contentWidget)===null||e===void 0||e.pageDown()}goToTop(){var e;(e=this._contentWidget)===null||e===void 0||e.goToTop()}goToBottom(){var e;(e=this._contentWidget)===null||e===void 0||e.goToBottom()}get isColorPickerVisible(){var e;return(e=this._contentWidget)===null||e===void 0?void 0:e.isColorPickerVisible}get isHoverVisible(){var e;return(e=this._contentWidget)===null||e===void 0?void 0:e.isVisible}dispose(){var e,t;super.dispose(),this._unhookListeners(),this._listenersStore.dispose(),(e=this._glyphWidget)===null||e===void 0||e.dispose(),(t=this._contentWidget)===null||t===void 0||t.dispose()}};ws.ID=\"editor.contrib.hover\";ws=tR=MEe([Q7(1,Ne),Q7(2,At)],ws);class iR extends H{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(t=>this.onMouseDown(t)))}dispose(){super.dispose()}onMouseDown(e){const t=this._editor.getOption(148);if(t!==\"click\"&&t!==\"clickAndHover\")return;const i=e.target;if(i.type!==6||!i.detail.injectedText||i.detail.injectedText.options.attachedData!==wq||!i.range)return;const n=this._editor.getContribution(ws.ID);if(n&&!n.isColorPickerVisible){const o=new x(i.range.startLineNumber,i.range.startColumn+1,i.range.endLineNumber,i.range.endColumn+1);n.showContentHover(o,1,0,!1,!0)}}}iR.ID=\"editor.contrib.colorContribution\";kt(iR.ID,iR,2);ag.register(hL);var Qq=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},za=function(s,e){return function(t,i){e(t,i,s)}},nR,sR;let Kh=nR=class extends H{constructor(e,t,i,n,o,r,a){super(),this._editor=e,this._modelService=i,this._keybindingService=n,this._instantiationService=o,this._languageFeatureService=r,this._languageConfigurationService=a,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=T.standaloneColorPickerVisible.bindTo(t),this._standaloneColorPickerFocused=T.standaloneColorPickerFocused.bindTo(t)}showOrFocus(){var e;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(e=this._standaloneColorPickerWidget)===null||e===void 0||e.focus():this._standaloneColorPickerWidget=new bL(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var e;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(e=this._standaloneColorPickerWidget)===null||e===void 0||e.hide(),this._editor.focus()}insertColor(){var e;(e=this._standaloneColorPickerWidget)===null||e===void 0||e.updateEditor(),this.hide()}static get(e){return e.getContribution(nR.ID)}};Kh.ID=\"editor.contrib.standaloneColorPickerController\";Kh=nR=Qq([za(1,Be),za(2,_i),za(3,At),za(4,Ne),za(5,Ce),za(6,Yt)],Kh);kt(Kh.ID,Kh,1);const J7=8,REe=22;let bL=sR=class extends H{constructor(e,t,i,n,o,r,a,l){var d;super(),this._editor=e,this._standaloneColorPickerVisible=t,this._standaloneColorPickerFocused=i,this._modelService=o,this._keybindingService=r,this._languageFeaturesService=a,this._languageConfigurationService=l,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement(\"div\"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new B),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=n.createInstance(MC,this._editor),this._position=(d=this._editor._getViewModel())===null||d===void 0?void 0:d.getPrimaryCursorState().modelState.position;const c=this._editor.getSelection(),u=c?{startLineNumber:c.startLineNumber,startColumn:c.startColumn,endLineNumber:c.endLineNumber,endColumn:c.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},h=this._register(ba(this._body));this._register(h.onDidBlur(g=>{this.hide()})),this._register(h.onDidFocus(g=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(g=>{var f;const m=(f=g.target.element)===null||f===void 0?void 0:f.classList;m&&m.contains(\"colorpicker-color-decoration\")&&this.hide()})),this._register(this.onResult(g=>{this._render(g.value,g.foundInEditor)})),this._start(u),this._body.style.zIndex=\"50\",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return sR.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const e=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:e?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}async _start(e){const t=await this._computeAsync(e);t&&this._onResult.fire(new PEe(t.result,t.foundInEditor))}async _computeAsync(e){if(!this._editor.hasModel())return null;const t={range:e,color:{red:0,green:0,blue:0,alpha:1}},i=await this._standaloneColorPickerParticipant.createColorHover(t,new p4(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return i?{result:i.colorHover,foundInEditor:i.foundInEditor}:null}_render(e,t){const i=document.createDocumentFragment(),n=this._register(new _L(this._keybindingService));let o;const r={fragment:i,statusBar:n,setColorPicker:m=>o=m,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=e,this._register(this._standaloneColorPickerParticipant.renderHoverParts(r,[e])),o===void 0)return;this._body.classList.add(\"standalone-colorpicker-body\"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+\"px\",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+\"px\",this._body.tabIndex=0,this._body.appendChild(i),o.layout();const a=o.body,l=a.saturationBox.domNode.clientWidth,d=a.domNode.clientWidth-l-REe-J7,c=o.body.enterButton;c==null||c.onClicked(()=>{this.updateEditor(),this.hide()});const u=o.header,h=u.pickedColorNode;h.style.width=l+J7+\"px\";const g=u.originalColorNode;g.style.width=d+\"px\";const f=o.header.closeButton;f==null||f.onClicked(()=>{this.hide()}),t&&(c&&(c.button.textContent=\"Replace\"),this._selectionSetInEditor=!0,this._editor.setSelection(e.range)),this._editor.layoutContentWidget(this)}};bL.ID=\"editor.contrib.standaloneColorPickerWidget\";bL=sR=Qq([za(3,Ne),za(4,_i),za(5,At),za(6,Ce),za(7,Yt)],bL);class PEe{constructor(e,t){this.value=e,this.foundInEditor=t}}class FEe extends fl{constructor(){super({id:\"editor.action.showOrFocusStandaloneColorPicker\",title:{...Ve(\"showOrFocusStandaloneColorPicker\",\"Show or Focus Standalone Color Picker\"),mnemonicTitle:p({},\"&&Show or Focus Standalone Color Picker\")},precondition:void 0,menu:[{id:E.CommandPalette}],metadata:{description:Ve(\"showOrFocusStandaloneColorPickerDescription\",\"Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors.\")}})}runEditorCommand(e,t){var i;(i=Kh.get(t))===null||i===void 0||i.showOrFocus()}}class OEe extends me{constructor(){super({id:\"editor.action.hideColorPicker\",label:p({},\"Hide the Color Picker\"),alias:\"Hide the Color Picker\",precondition:T.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100},metadata:{description:Ve(\"hideColorPickerDescription\",\"Hide the standalone color picker.\")}})}run(e,t){var i;(i=Kh.get(t))===null||i===void 0||i.hide()}}class BEe extends me{constructor(){super({id:\"editor.action.insertColorWithStandaloneColorPicker\",label:p({},\"Insert Color with Standalone Color Picker\"),alias:\"Insert Color with Standalone Color Picker\",precondition:T.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100},metadata:{description:Ve(\"insertColorWithStandaloneColorPickerDescription\",\"Insert hex/rgb/hsl colors with the focused standalone color picker.\")}})}run(e,t){var i;(i=Kh.get(t))===null||i===void 0||i.insertColor()}}te(OEe);te(BEe);qt(FEe);class Qu{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;const n=t.length,o=e.length;if(i+n>o)return!1;for(let r=0;r<n;r++){const a=e.charCodeAt(i+r),l=t.charCodeAt(r);if(a!==l&&!(a>=65&&a<=90&&a+32===l)&&!(l>=65&&l<=90&&l+32===a))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,o,r){const a=e.startLineNumber,l=e.startColumn,d=e.endLineNumber,c=e.endColumn,u=o.getLineContent(a),h=o.getLineContent(d);let g=u.lastIndexOf(t,l-1+t.length),f=h.indexOf(i,c-1-i.length);if(g!==-1&&f!==-1)if(a===d)u.substring(g+t.length,f).indexOf(i)>=0&&(g=-1,f=-1);else{const _=u.substring(g+t.length),v=h.substring(0,f);(_.indexOf(i)>=0||v.indexOf(i)>=0)&&(g=-1,f=-1)}let m;g!==-1&&f!==-1?(n&&g+t.length<u.length&&u.charCodeAt(g+t.length)===32&&(t=t+\" \"),n&&f>0&&h.charCodeAt(f-1)===32&&(i=\" \"+i,f-=1),m=Qu._createRemoveBlockCommentOperations(new x(a,g+t.length+1,d,f+1),t,i)):(m=Qu._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=m.length===1?i:null);for(const _ of m)r.addTrackedEditOperation(_.range,_.text)}static _createRemoveBlockCommentOperations(e,t,i){const n=[];return x.isEmpty(e)?n.push(pi.delete(new x(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(pi.delete(new x(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(pi.delete(new x(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){const o=[];return x.isEmpty(e)?o.push(pi.replace(new x(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+\"  \"+i)):(o.push(pi.insert(new W(e.startLineNumber,e.startColumn),t+(n?\" \":\"\"))),o.push(pi.insert(new W(e.endLineNumber,e.endColumn),(n?\" \":\"\")+i))),o}getEditOperations(e,t){const i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);const o=e.getLanguageIdAtPosition(i,n),r=this.languageConfigurationService.getLanguageConfiguration(o).comments;!r||!r.blockCommentStartToken||!r.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,r.blockCommentStartToken,r.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const i=t.getInverseEditOperations();if(i.length===2){const n=i[0],o=i[1];return new we(n.range.endLineNumber,n.range.endColumn,o.range.startLineNumber,o.range.startColumn)}else{const n=i[0].range,o=this._usedEndToken?-this._usedEndToken.length-1:0;return new we(n.endLineNumber,n.endColumn+o,n.endLineNumber,n.endColumn+o)}}}class Qd{constructor(e,t,i,n,o,r,a){this.languageConfigurationService=e,this._selection=t,this._indentSize=i,this._type=n,this._insertSpace=o,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=r,this._ignoreFirstLine=a||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);const o=e.getLanguageIdAtPosition(t,1),r=n.getLanguageConfiguration(o).comments,a=r?r.lineCommentToken:null;if(!a)return null;const l=[];for(let d=0,c=i-t+1;d<c;d++)l[d]={ignore:!1,commentStr:a,commentStrOffset:0,commentStrLength:a.length};return l}static _analyzeLines(e,t,i,n,o,r,a,l){let d=!0,c;e===0?c=!0:e===1?c=!1:c=!0;for(let u=0,h=n.length;u<h;u++){const g=n[u],f=o+u;if(f===o&&a){g.ignore=!0;continue}const m=i.getLineContent(f),_=Cs(m);if(_===-1){g.ignore=r,g.commentStrOffset=m.length;continue}if(d=!1,g.ignore=!1,g.commentStrOffset=_,c&&!Qu._haystackHasNeedleAtOffset(m,g.commentStr,_)&&(e===0?c=!1:e===1||(g.ignore=!0)),c&&t){const v=_+g.commentStrLength;v<m.length&&m.charCodeAt(v)===32&&(g.commentStrLength+=1)}}if(e===0&&d){c=!1;for(let u=0,h=n.length;u<h;u++)n[u].ignore=!1}return{supported:!0,shouldRemoveComments:c,lines:n}}static _gatherPreflightData(e,t,i,n,o,r,a,l){const d=Qd._gatherPreflightCommentStrings(i,n,o,l);return d===null?{supported:!1}:Qd._analyzeLines(e,t,i,d,n,r,a,l)}_executeLineComments(e,t,i,n){let o;i.shouldRemoveComments?o=Qd._createRemoveLineCommentsOperations(i.lines,n.startLineNumber):(Qd._normalizeInsertionPoint(e,i.lines,n.startLineNumber,this._indentSize),o=this._createAddLineCommentsOperations(i.lines,n.startLineNumber));const r=new W(n.positionLineNumber,n.positionColumn);for(let a=0,l=o.length;a<l;a++)t.addEditOperation(o[a].range,o[a].text),x.isEmpty(o[a].range)&&x.getStartPosition(o[a].range).equals(r)&&e.getLineContent(r.lineNumber).length+1===r.column&&(this._deltaColumn=(o[a].text||\"\").length);this._selectionId=t.trackSelection(n)}_attemptRemoveBlockComment(e,t,i,n){let o=t.startLineNumber,r=t.endLineNumber;const a=n.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn);let l=e.getLineContent(o).lastIndexOf(i,a-1),d=e.getLineContent(r).indexOf(n,t.endColumn-1-i.length);return l!==-1&&d===-1&&(d=e.getLineContent(o).indexOf(n,l+i.length),r=o),l===-1&&d!==-1&&(l=e.getLineContent(r).lastIndexOf(i,d),o=r),t.isEmpty()&&(l===-1||d===-1)&&(l=e.getLineContent(o).indexOf(i),l!==-1&&(d=e.getLineContent(o).indexOf(n,l+i.length))),l!==-1&&e.getLineContent(o).charCodeAt(l+i.length)===32&&(i+=\" \"),d!==-1&&e.getLineContent(r).charCodeAt(d-1)===32&&(n=\" \"+n,d-=1),l!==-1&&d!==-1?Qu._createRemoveBlockCommentOperations(new x(o,l+i.length+1,r,d+1),i,n):null}_executeBlockComment(e,t,i){e.tokenization.tokenizeIfCheap(i.startLineNumber);const n=e.getLanguageIdAtPosition(i.startLineNumber,1),o=this.languageConfigurationService.getLanguageConfiguration(n).comments;if(!o||!o.blockCommentStartToken||!o.blockCommentEndToken)return;const r=o.blockCommentStartToken,a=o.blockCommentEndToken;let l=this._attemptRemoveBlockComment(e,i,r,a);if(!l){if(i.isEmpty()){const d=e.getLineContent(i.startLineNumber);let c=Cs(d);c===-1&&(c=d.length),l=Qu._createAddBlockCommentOperations(new x(i.startLineNumber,c+1,i.startLineNumber,d.length+1),r,a,this._insertSpace)}else l=Qu._createAddBlockCommentOperations(new x(i.startLineNumber,e.getLineFirstNonWhitespaceColumn(i.startLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),r,a,this._insertSpace);l.length===1&&(this._deltaColumn=r.length+1)}this._selectionId=t.trackSelection(i);for(const d of l)t.addEditOperation(d.range,d.text)}getEditOperations(e,t){let i=this._selection;if(this._moveEndPositionDown=!1,i.startLineNumber===i.endLineNumber&&this._ignoreFirstLine){t.addEditOperation(new x(i.startLineNumber,e.getLineMaxColumn(i.startLineNumber),i.startLineNumber+1,1),i.startLineNumber===e.getLineCount()?\"\":`\n`),this._selectionId=t.trackSelection(i);return}i.startLineNumber<i.endLineNumber&&i.endColumn===1&&(this._moveEndPositionDown=!0,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const n=Qd._gatherPreflightData(this._type,this._insertSpace,e,i.startLineNumber,i.endLineNumber,this._ignoreEmptyLines,this._ignoreFirstLine,this.languageConfigurationService);return n.supported?this._executeLineComments(e,t,n,i):this._executeBlockComment(e,t,i)}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),new we(i.selectionStartLineNumber,i.selectionStartColumn+this._deltaColumn,i.positionLineNumber,i.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){const i=[];for(let n=0,o=e.length;n<o;n++){const r=e[n];r.ignore||i.push(pi.delete(new x(t+n,r.commentStrOffset+1,t+n,r.commentStrOffset+r.commentStrLength+1)))}return i}_createAddLineCommentsOperations(e,t){const i=[],n=this._insertSpace?\" \":\"\";for(let o=0,r=e.length;o<r;o++){const a=e[o];a.ignore||i.push(pi.insert(new W(t+o,a.commentStrOffset+1),a.commentStr+n))}return i}static nextVisibleColumn(e,t,i,n){return i?e+(t-e%t):e+n}static _normalizeInsertionPoint(e,t,i,n){let o=1073741824,r,a;for(let l=0,d=t.length;l<d;l++){if(t[l].ignore)continue;const c=e.getLineContent(i+l);let u=0;for(let h=0,g=t[l].commentStrOffset;u<o&&h<g;h++)u=Qd.nextVisibleColumn(u,n,c.charCodeAt(h)===9,1);u<o&&(o=u)}o=Math.floor(o/n)*n;for(let l=0,d=t.length;l<d;l++){if(t[l].ignore)continue;const c=e.getLineContent(i+l);let u=0;for(r=0,a=t[l].commentStrOffset;u<o&&r<a;r++)u=Qd.nextVisibleColumn(u,n,c.charCodeAt(r)===9,1);u>o?t[l].commentStrOffset=r-1:t[l].commentStrOffset=r}}}class D4 extends me{constructor(e,t){super(t),this._type=e}run(e,t){const i=e.get(Yt);if(!t.hasModel())return;const n=t.getModel(),o=[],r=n.getOptions(),a=t.getOption(23),l=t.getSelections().map((c,u)=>({selection:c,index:u,ignoreFirstLine:!1}));l.sort((c,u)=>x.compareRangesUsingStarts(c.selection,u.selection));let d=l[0];for(let c=1;c<l.length;c++){const u=l[c];d.selection.endLineNumber===u.selection.startLineNumber&&(d.index<u.index?u.ignoreFirstLine=!0:(d.ignoreFirstLine=!0,d=u))}for(const c of l)o.push(new Qd(i,c.selection,r.indentSize,this._type,a.insertSpace,a.ignoreEmptyLines,c.ignoreFirstLine));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class WEe extends D4{constructor(){super(0,{id:\"editor.action.commentLine\",label:p(\"comment.line\",\"Toggle Line Comment\"),alias:\"Toggle Line Comment\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:2138,weight:100},menuOpts:{menuId:E.MenubarEditMenu,group:\"5_insert\",title:p({},\"&&Toggle Line Comment\"),order:1}})}}class HEe extends D4{constructor(){super(1,{id:\"editor.action.addCommentLine\",label:p(\"comment.line.add\",\"Add Line Comment\"),alias:\"Add Line Comment\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2081),weight:100}})}}class VEe extends D4{constructor(){super(2,{id:\"editor.action.removeCommentLine\",label:p(\"comment.line.remove\",\"Remove Line Comment\"),alias:\"Remove Line Comment\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2099),weight:100}})}}class zEe extends me{constructor(){super({id:\"editor.action.blockComment\",label:p(\"comment.block\",\"Toggle Block Comment\"),alias:\"Toggle Block Comment\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:E.MenubarEditMenu,group:\"5_insert\",title:p({},\"Toggle &&Block Comment\"),order:2}})}run(e,t){const i=e.get(Yt);if(!t.hasModel())return;const n=t.getOption(23),o=[],r=t.getSelections();for(const a of r)o.push(new Qu(a,n.insertSpace,i));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}te(WEe);te(HEe);te(VEe);te(zEe);var UEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Lg=function(s,e){return function(t,i){e(t,i,s)}},oR;let U_=oR=class{static get(e){return e.getContribution(oR.ID)}constructor(e,t,i,n,o,r,a,l){this._contextMenuService=t,this._contextViewService=i,this._contextKeyService=n,this._keybindingService=o,this._menuService=r,this._configurationService=a,this._workspaceContextService=l,this._toDispose=new Y,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(d=>this._onContextMenu(d))),this._toDispose.add(this._editor.onMouseWheel(d=>{if(this._contextMenuIsBeingShownCount>0){const c=this._contextViewService.getContextViewElement(),u=d.srcElement;u.shadowRoot&&Sf(c)===u.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(d=>{this._editor.getOption(24)&&d.keyCode===58&&(d.preventDefault(),d.stopPropagation(),this.showContextMenu())}))}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(e.target.type===12||e.target.type===6&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),e.target.type===11)return this._showScrollbarContextMenu(e.event);if(e.target.type!==6&&e.target.type!==7&&e.target.type!==1)return;if(this._editor.focus(),e.target.position){let i=!1;for(const n of this._editor.getSelections())if(n.containsPosition(e.target.position)){i=!0;break}i||this._editor.setPosition(e.target.position)}let t=null;e.target.type!==1&&(t=e.event),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(24)||!this._editor.hasModel())return;const t=this._getMenuActions(this._editor.getModel(),this._editor.contextMenuId);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const i=[],n=this._menuService.createMenu(t,this._contextKeyService),o=n.getActions({arg:e.uri});n.dispose();for(const r of o){const[,a]=r;let l=0;for(const d of a)if(d instanceof Em){const c=this._getMenuActions(e,d.item.submenu);c.length>0&&(i.push(new c_(d.id,d.label,c)),l++)}else i.push(d),l++;l&&i.push(new rn)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const i=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let n=t;if(!n){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const r=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),a=qi(this._editor.getDomNode()),l=a.left+r.left,d=a.top+r.top+r.height;n={x:l,y:d}}const o=this._editor.getOption(127)&&!_d;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:o?this._editor.getDomNode():void 0,getAnchor:()=>n,getActions:()=>e,getActionViewItem:r=>{const a=this._keybindingFor(r);if(a)return new N_(r,r,{label:!0,keybinding:a.getLabel(),isMenu:!0});const l=r;return typeof l.getActionViewItem==\"function\"?l.getActionViewItem():new N_(r,r,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:r=>this._keybindingFor(r),onHide:r=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel()||Fbe(this._workspaceContextService.getWorkspace()))return;const t=this._editor.getOption(73);let i=0;const n=d=>({id:`menu-action-${++i}`,label:d.label,tooltip:\"\",class:void 0,enabled:typeof d.enabled>\"u\"?!0:d.enabled,checked:d.checked,run:d.run}),o=(d,c)=>new c_(`menu-action-${++i}`,d,c,void 0),r=(d,c,u,h,g)=>{if(!c)return n({label:d,enabled:c,run:()=>{}});const f=_=>()=>{this._configurationService.updateValue(u,_)},m=[];for(const _ of g)m.push(n({label:_.label,checked:h===_.value,run:f(_.value)}));return o(d,m)},a=[];a.push(n({label:p(\"context.minimap.minimap\",\"Minimap\"),checked:t.enabled,run:()=>{this._configurationService.updateValue(\"editor.minimap.enabled\",!t.enabled)}})),a.push(new rn),a.push(n({label:p(\"context.minimap.renderCharacters\",\"Render Characters\"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue(\"editor.minimap.renderCharacters\",!t.renderCharacters)}})),a.push(r(p(\"context.minimap.size\",\"Vertical size\"),t.enabled,\"editor.minimap.size\",t.size,[{label:p(\"context.minimap.size.proportional\",\"Proportional\"),value:\"proportional\"},{label:p(\"context.minimap.size.fill\",\"Fill\"),value:\"fill\"},{label:p(\"context.minimap.size.fit\",\"Fit\"),value:\"fit\"}])),a.push(r(p(\"context.minimap.slider\",\"Slider\"),t.enabled,\"editor.minimap.showSlider\",t.showSlider,[{label:p(\"context.minimap.slider.mouseover\",\"Mouse Over\"),value:\"mouseover\"},{label:p(\"context.minimap.slider.always\",\"Always\"),value:\"always\"}]));const l=this._editor.getOption(127)&&!_d;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:l?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>a,onHide:d=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};U_.ID=\"editor.contrib.contextmenu\";U_=oR=UEe([Lg(1,Oo),Lg(2,nu),Lg(3,Be),Lg(4,At),Lg(5,hr),Lg(6,rt),Lg(7,If)],U_);class $Ee extends me{constructor(){super({id:\"editor.action.showContextMenu\",label:p(\"action.showContextMenu.label\",\"Show Editor Context Menu\"),alias:\"Show Editor Context Menu\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;(i=U_.get(t))===null||i===void 0||i.showContextMenu()}}kt(U_.ID,U_,2);te($Ee);class cT{constructor(e){this.selections=e}equals(e){const t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let n=0;n<t;n++)if(!this.selections[n].equalsSelection(e.selections[n]))return!1;return!0}}class uT{constructor(e,t,i){this.cursorState=e,this.scrollTop=t,this.scrollLeft=i}}class Wf extends H{static get(e){return e.getContribution(Wf.ID)}constructor(e){super(),this._editor=e,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(e.onDidChangeModel(t=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(t=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;const i=new cT(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i)||(this._undoStack.push(new uT(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new uT(new cT(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new uT(new cT(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}Wf.ID=\"editor.contrib.cursorUndoRedoController\";class jEe extends me{constructor(){super({id:\"cursorUndo\",label:p(\"cursor.undo\",\"Cursor Undo\"),alias:\"Cursor Undo\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;(n=Wf.get(t))===null||n===void 0||n.cursorUndo()}}class KEe extends me{constructor(){super({id:\"cursorRedo\",label:p(\"cursor.redo\",\"Cursor Redo\"),alias:\"Cursor Redo\",precondition:void 0})}run(e,t,i){var n;(n=Wf.get(t))===null||n===void 0||n.cursorRedo()}}kt(Wf.ID,Wf,0);te(jEe);te(KEe);class qEe{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){const i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new x(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new we(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new we(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber<this.selection.endLineNumber){this.targetSelection=new we(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new we(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column-this.selection.endColumn+this.selection.startColumn:this.targetPosition.column-this.selection.endColumn+this.selection.startColumn,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new we(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn)}computeCursorState(e,t){return this.targetSelection}}function Op(s){return lt?s.altKey:s.ctrlKey}class Ac extends H{constructor(e){super(),this._editor=e,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!this._editor.getOption(35)||this._editor.getOption(22)||(Op(e)&&(this._modifierPressed=!0),this._mouseDown&&Op(e)&&this._editor.updateOptions({mouseStyle:\"copy\"}))}onEditorKeyUp(e){!this._editor.getOption(35)||this._editor.getOption(22)||(Op(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===Ac.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:\"default\"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:\"text\"})}_onEditorMouseDrag(e){const t=e.target;if(this._dragSelection===null){const n=(this._editor.getSelections()||[]).filter(o=>t.position&&o.containsPosition(t.position));if(n.length===1)this._dragSelection=n[0];else return}Op(e.event)?this._editor.updateOptions({mouseStyle:\"copy\"}):this._editor.updateOptions({mouseStyle:\"default\"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:\"text\"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){const t=new W(e.target.position.lineNumber,e.target.position.column);if(this._dragSelection===null){let i=null;if(e.event.shiftKey){const n=this._editor.getSelection();if(n){const{selectionStartLineNumber:o,selectionStartColumn:r}=n;i=[new we(o,r,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(n=>n.containsPosition(t)?new we(t.lineNumber,t.column,t.lineNumber,t.column):n);this._editor.setSelections(i||[],\"mouse\",3)}else(!this._dragSelection.containsPosition(t)||(Op(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(Ac.ID,new qEe(this._dragSelection,t,Op(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:\"text\"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new x(e.lineNumber,e.column,e.lineNumber,e.column),options:Ac._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return e.type===6||e.type===7}_hitMargin(e){return e.type===2||e.type===3||e.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}Ac.ID=\"editor.contrib.dragAndDrop\";Ac.TRIGGER_KEY_VALUE=lt?6:5;Ac._DECORATION_OPTIONS=Ye.register({description:\"dnd-target\",className:\"dnd-target\"});kt(Ac.ID,Ac,2);var cy;kt(kd.ID,kd,0);F1(MM);de(new class extends mn{constructor(){super({id:tq,precondition:d4,kbOpts:{weight:100,primary:2137}})}runEditorCommand(s,e){var t;return(t=kd.get(e))===null||t===void 0?void 0:t.changePasteType()}});de(new class extends mn{constructor(){super({id:\"editor.hidePasteWidget\",precondition:d4,kbOpts:{weight:100,primary:9}})}runEditorCommand(s,e){var t;(t=kd.get(e))===null||t===void 0||t.clearWidgets()}});te((cy=class extends me{constructor(){super({id:\"editor.action.pasteAs\",label:p(\"pasteAs\",\"Paste As...\"),alias:\"Paste As...\",precondition:T.writable,metadata:{description:\"Paste as\",args:[{name:\"args\",schema:cy.argsSchema}]}})}run(e,t,i){var n;let o=typeof(i==null?void 0:i.kind)==\"string\"?i.kind:void 0;return!o&&i&&(o=typeof i.id==\"string\"?i.id:void 0),(n=kd.get(t))===null||n===void 0?void 0:n.pasteAs(o?new Bt(o):void 0)}},cy.argsSchema={type:\"object\",properties:{kind:{type:\"string\",description:p(\"pasteAs.kind\",\"The kind of the paste edit to try applying. If not provided or there are multiple edits for this kind, the editor will show a picker.\")}}},cy));te(class extends me{constructor(){super({id:\"editor.action.pasteAsText\",label:p(\"pasteAsText\",\"Paste as Text\"),alias:\"Paste as Text\",precondition:T.writable})}run(s,e){var t;return(t=kd.get(e))===null||t===void 0?void 0:t.pasteAs({providerId:Kc.id})}});class GEe{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){const t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}}class e9{constructor(e){this.identifier=e}}const Jq=ut(\"treeViewsDndService\");mt(Jq,GEe,1);var ZEe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},uy=function(s,e){return function(t,i){e(t,i,s)}},rR;const eG=\"editor.experimental.dropIntoEditor.defaultProvider\",tG=\"editor.changeDropType\",L4=new ue(\"dropWidgetVisible\",!1,p(\"dropWidgetVisible\",\"Whether the drop widget is showing\"));let Hf=rR=class extends H{static get(e){return e.getContribution(rR.ID)}constructor(e,t,i,n,o){super(),this._configService=i,this._languageFeaturesService=n,this._treeViewsDragAndDropService=o,this.treeItemsTransfer=IC.getInstance(),this._dropProgressManager=this._register(t.createInstance(lL,\"dropIntoEditor\",e)),this._postDropWidgetManager=this._register(t.createInstance(cL,\"dropIntoEditor\",e,L4,{id:tG,label:p(\"postDropWidgetTitle\",\"Show drop options...\")})),this._register(e.onDropIntoEditor(r=>this.onDropIntoEditor(e,r.position,r.event)))}clearWidgets(){this._postDropWidgetManager.clear()}changeDropType(){this._postDropWidgetManager.tryShowSelector()}async onDropIntoEditor(e,t,i){var n;if(!i.dataTransfer||!e.hasModel())return;(n=this._currentOperation)===null||n===void 0||n.cancel(),e.focus(),e.setPosition(t);const o=Dn(async r=>{const a=new Bh(e,1,void 0,r);try{const l=await this.extractDataTransferData(i);if(l.size===0||a.token.isCancellationRequested)return;const d=e.getModel();if(!d)return;const c=this._languageFeaturesService.documentDropEditProvider.ordered(d).filter(h=>h.dropMimeTypes?h.dropMimeTypes.some(g=>l.matches(g)):!0),u=await this.getDropEdits(c,d,t,l,a);if(a.token.isCancellationRequested)return;if(u.length){const h=this.getInitialActiveEditIndex(d,u),g=e.getOption(36).showDropSelector===\"afterDrop\";await this._postDropWidgetManager.applyEditAndShowIfNeeded([x.fromPositions(t)],{activeEditIndex:h,allEdits:u},g,async f=>f,r)}}finally{a.dispose(),this._currentOperation===o&&(this._currentOperation=void 0)}});this._dropProgressManager.showWhile(t,p(\"dropIntoEditorProgress\",\"Running drop handlers. Click to cancel\"),o),this._currentOperation=o}async getDropEdits(e,t,i,n,o){const r=await h1(Promise.all(e.map(async l=>{try{const d=await l.provideDocumentDropEdits(t,i,n,o.token);return d==null?void 0:d.map(c=>({...c,providerId:l.id}))}catch(d){console.error(d)}})),o.token),a=pd(r??[]).flat();return JK(a)}getInitialActiveEditIndex(e,t){const i=this._configService.getValue(eG,{resource:e.uri});for(const[n,o]of Object.entries(i)){const r=new Bt(o),a=t.findIndex(l=>r.value===l.providerId&&l.handledMimeType&&jK(n,[l.handledMimeType]));if(a>=0)return a}return 0}async extractDataTransferData(e){if(!e.dataTransfer)return new $K;const t=GK(e.dataTransfer);if(this.treeItemsTransfer.hasData(e9.prototype)){const i=this.treeItemsTransfer.getData(e9.prototype);if(Array.isArray(i))for(const n of i){const o=await this._treeViewsDragAndDropService.removeDragOperationTransfer(n.identifier);if(o)for(const[r,a]of o)t.replace(r,a)}}return t}};Hf.ID=\"editor.contrib.dropIntoEditorController\";Hf=rR=ZEe([uy(1,Ne),uy(2,rt),uy(3,Ce),uy(4,Jq)],Hf);kt(Hf.ID,Hf,2);F1(AM);de(new class extends mn{constructor(){super({id:tG,precondition:L4,kbOpts:{weight:100,primary:2137}})}runEditorCommand(s,e,t){var i;(i=Hf.get(e))===null||i===void 0||i.changeDropType()}});de(new class extends mn{constructor(){super({id:\"editor.hideDropWidget\",precondition:L4,kbOpts:{weight:100,primary:9}})}runEditorCommand(s,e,t){var i;(i=Hf.get(e))===null||i===void 0||i.clearWidgets()}});Ji.as(pl.Configuration).registerConfiguration({...Vx,properties:{[eG]:{type:\"object\",scope:5,description:p(\"defaultProviderDescription\",\"Configures the default drop provider to use for content of a given mime type.\"),default:{},additionalProperties:{type:\"string\"}}}});class ps{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map(t=>this._editor.getModel().getDecorationRange(t)).filter(t=>!!t);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getDecorationRangeAt(e){const t=e<this._decorations.length?this._decorations[e]:null;return t?this._editor.getModel().getDecorationRange(t):null}getCurrentMatchesPosition(e){const t=this._editor.getModel().getDecorationsInRange(e);for(const i of t){const n=i.options;if(n===ps._FIND_MATCH_DECORATION||n===ps._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(i.id)}return 0}setCurrentFindMatch(e){let t=null,i=0;if(e)for(let n=0,o=this._decorations.length;n<o;n++){const r=this._editor.getModel().getDecorationRange(this._decorations[n]);if(e.equalsRange(r)){t=this._decorations[n],i=n+1;break}}return(this._highlightedDecorationId!==null||t!==null)&&this._editor.changeDecorations(n=>{if(this._highlightedDecorationId!==null&&(n.changeDecorationOptions(this._highlightedDecorationId,ps._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),t!==null&&(this._highlightedDecorationId=t,n.changeDecorationOptions(this._highlightedDecorationId,ps._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),t!==null){let o=this._editor.getModel().getDecorationRange(t);if(o.startLineNumber!==o.endLineNumber&&o.endColumn===1){const r=o.endLineNumber-1,a=this._editor.getModel().getLineMaxColumn(r);o=new x(o.startLineNumber,o.startColumn,r,a)}this._rangeHighlightDecorationId=n.addDecoration(o,ps._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=ps._FIND_MATCH_DECORATION;const o=[];if(e.length>1e3){n=ps._FIND_MATCH_NO_OVERVIEW_DECORATION;const a=this._editor.getModel().getLineCount(),d=this._editor.getLayoutInfo().height/a,c=Math.max(2,Math.ceil(3/d));let u=e[0].range.startLineNumber,h=e[0].range.endLineNumber;for(let g=1,f=e.length;g<f;g++){const m=e[g].range;h+c>=m.startLineNumber?m.endLineNumber>h&&(h=m.endLineNumber):(o.push({range:new x(u,1,h,1),options:ps._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),u=m.startLineNumber,h=m.endLineNumber)}o.push({range:new x(u,1,h,1),options:ps._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const r=new Array(e.length);for(let a=0,l=e.length;a<l;a++)r[a]={range:e[a].range,options:n};this._decorations=i.deltaDecorations(this._decorations,r),this._overviewRulerApproximateDecorations=i.deltaDecorations(this._overviewRulerApproximateDecorations,o),this._rangeHighlightDecorationId&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach(a=>i.removeDecoration(a)),this._findScopeDecorationIds=[]),t!=null&&t.length&&(this._findScopeDecorationIds=t.map(a=>i.addDecoration(a,ps._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(this._decorations.length===0)return null;for(let t=this._decorations.length-1;t>=0;t--){const i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(!(!n||n.endLineNumber>e.lineNumber)){if(n.endLineNumber<e.lineNumber)return n;if(!(n.endColumn>e.column))return n}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(this._decorations.length===0)return null;for(let t=0,i=this._decorations.length;t<i;t++){const n=this._decorations[t],o=this._editor.getModel().getDecorationRange(n);if(!(!o||o.startLineNumber<e.lineNumber)){if(o.startLineNumber>e.lineNumber)return o;if(!(o.startColumn<e.column))return o}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}ps._CURRENT_FIND_MATCH_DECORATION=Ye.register({description:\"current-find-match\",stickiness:1,zIndex:13,className:\"currentFindMatch\",showIfCollapsed:!0,overviewRuler:{color:Ei(MF),position:Br.Center},minimap:{color:Ei(lm),position:1}});ps._FIND_MATCH_DECORATION=Ye.register({description:\"find-match\",stickiness:1,zIndex:10,className:\"findMatch\",showIfCollapsed:!0,overviewRuler:{color:Ei(MF),position:Br.Center},minimap:{color:Ei(lm),position:1}});ps._FIND_MATCH_NO_OVERVIEW_DECORATION=Ye.register({description:\"find-match-no-overview\",stickiness:1,className:\"findMatch\",showIfCollapsed:!0});ps._FIND_MATCH_ONLY_OVERVIEW_DECORATION=Ye.register({description:\"find-match-only-overview\",stickiness:1,overviewRuler:{color:Ei(MF),position:Br.Center}});ps._RANGE_HIGHLIGHT_DECORATION=Ye.register({description:\"find-range-highlight\",stickiness:1,className:\"rangeHighlight\",isWholeLine:!0});ps._FIND_SCOPE_DECORATION=Ye.register({description:\"find-scope\",className:\"findScope\",isWholeLine:!0});class XEe{constructor(e,t,i){this._editorSelection=e,this._ranges=t,this._replaceStrings=i,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){const i=[];for(let r=0;r<this._ranges.length;r++)i.push({range:this._ranges[r],text:this._replaceStrings[r]});i.sort((r,a)=>x.compareRangesUsingStarts(r.range,a.range));const n=[];let o=i[0];for(let r=1;r<i.length;r++)o.range.endLineNumber===i[r].range.startLineNumber&&o.range.endColumn===i[r].range.startColumn?(o.range=o.range.plusRange(i[r].range),o.text=o.text+i[r].text):(n.push(o),o=i[r]);n.push(o);for(const r of n)t.addEditOperation(r.range,r.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}function iG(s,e){if(s&&s[0]!==\"\"){const t=t9(s,e,\"-\"),i=t9(s,e,\"_\");return t&&!i?i9(s,e,\"-\"):!t&&i?i9(s,e,\"_\"):s[0].toUpperCase()===s[0]?e.toUpperCase():s[0].toLowerCase()===s[0]?e.toLowerCase():Fre(s[0][0])&&e.length>0?e[0].toUpperCase()+e.substr(1):s[0][0].toUpperCase()!==s[0][0]&&e.length>0?e[0].toLowerCase()+e.substr(1):e}else return e}function t9(s,e,t){return s[0].indexOf(t)!==-1&&e.indexOf(t)!==-1&&s[0].split(t).length===e.split(t).length}function i9(s,e,t){const i=e.split(t),n=s[0].split(t);let o=\"\";return i.forEach((r,a)=>{o+=iG([n[a]],r)+t}),o.slice(0,-1)}class n9{constructor(e){this.staticValue=e,this.kind=0}}class YEe{constructor(e){this.pieces=e,this.kind=1}}class $_{static fromStaticValue(e){return new $_([ff.staticValue(e)])}get hasReplacementPatterns(){return this._state.kind===1}constructor(e){!e||e.length===0?this._state=new n9(\"\"):e.length===1&&e[0].staticValue!==null?this._state=new n9(e[0].staticValue):this._state=new YEe(e)}buildReplaceString(e,t){if(this._state.kind===0)return t?iG(e,this._state.staticValue):this._state.staticValue;let i=\"\";for(let n=0,o=this._state.pieces.length;n<o;n++){const r=this._state.pieces[n];if(r.staticValue!==null){i+=r.staticValue;continue}let a=$_._substitute(r.matchIndex,e);if(r.caseOps!==null&&r.caseOps.length>0){const l=[],d=r.caseOps.length;let c=0;for(let u=0,h=a.length;u<h;u++){if(c>=d){l.push(a.slice(u));break}switch(r.caseOps[c]){case\"U\":l.push(a[u].toUpperCase());break;case\"u\":l.push(a[u].toUpperCase()),c++;break;case\"L\":l.push(a[u].toLowerCase());break;case\"l\":l.push(a[u].toLowerCase()),c++;break;default:l.push(a[u])}}a=l.join(\"\")}i+=a}return i}static _substitute(e,t){if(t===null)return\"\";if(e===0)return t[0];let i=\"\";for(;e>0;){if(e<t.length)return(t[e]||\"\")+i;i=String(e%10)+i,e=Math.floor(e/10)}return\"$\"+i}}class ff{static staticValue(e){return new ff(e,-1,null)}static caseOps(e,t){return new ff(null,e,t)}constructor(e,t,i){this.staticValue=e,this.matchIndex=t,!i||i.length===0?this.caseOps=null:this.caseOps=i.slice(0)}}class QEe{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=\"\"}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){e.length!==0&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,i){this._currentStaticPiece.length!==0&&(this._result[this._resultLen++]=ff.staticValue(this._currentStaticPiece),this._currentStaticPiece=\"\"),this._result[this._resultLen++]=ff.caseOps(e,i),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),this._currentStaticPiece.length!==0&&(this._result[this._resultLen++]=ff.staticValue(this._currentStaticPiece),this._currentStaticPiece=\"\"),new $_(this._result)}}function JEe(s){if(!s||s.length===0)return new $_(null);const e=[],t=new QEe(s);for(let i=0,n=s.length;i<n;i++){const o=s.charCodeAt(i);if(o===92){if(i++,i>=n)break;const r=s.charCodeAt(i);switch(r){case 92:t.emitUnchanged(i-1),t.emitStatic(\"\\\\\",i+1);break;case 110:t.emitUnchanged(i-1),t.emitStatic(`\n`,i+1);break;case 116:t.emitUnchanged(i-1),t.emitStatic(\"\t\",i+1);break;case 117:case 85:case 108:case 76:t.emitUnchanged(i-1),t.emitStatic(\"\",i+1),e.push(String.fromCharCode(r));break}continue}if(o===36){if(i++,i>=n)break;const r=s.charCodeAt(i);if(r===36){t.emitUnchanged(i-1),t.emitStatic(\"$\",i+1);continue}if(r===48||r===38){t.emitUnchanged(i-1),t.emitMatchIndex(0,i+1,e),e.length=0;continue}if(49<=r&&r<=57){let a=r-48;if(i+1<n){const l=s.charCodeAt(i+1);if(48<=l&&l<=57){i++,a=a*10+(l-48),t.emitUnchanged(i-2),t.emitMatchIndex(a,i+1,e),e.length=0;continue}}t.emitUnchanged(i-1),t.emitMatchIndex(a,i+1,e),e.length=0;continue}}}return t.finalize()}const lu=new ue(\"findWidgetVisible\",!1);lu.toNegated();const xk=new ue(\"findInputFocussed\",!1),x4=new ue(\"replaceInputFocussed\",!1),hy={primary:545,mac:{primary:2593}},gy={primary:565,mac:{primary:2613}},fy={primary:560,mac:{primary:2608}},py={primary:554,mac:{primary:2602}},my={primary:558,mac:{primary:2606}},ti={StartFindAction:\"actions.find\",StartFindWithSelection:\"actions.findWithSelection\",StartFindWithArgs:\"editor.actions.findWithArgs\",NextMatchFindAction:\"editor.action.nextMatchFindAction\",PreviousMatchFindAction:\"editor.action.previousMatchFindAction\",GoToMatchFindAction:\"editor.action.goToMatchFindAction\",NextSelectionMatchFindAction:\"editor.action.nextSelectionMatchFindAction\",PreviousSelectionMatchFindAction:\"editor.action.previousSelectionMatchFindAction\",StartFindReplaceAction:\"editor.action.startFindReplaceAction\",CloseFindWidgetCommand:\"closeFindWidget\",ToggleCaseSensitiveCommand:\"toggleFindCaseSensitive\",ToggleWholeWordCommand:\"toggleFindWholeWord\",ToggleRegexCommand:\"toggleFindRegex\",ToggleSearchScopeCommand:\"toggleFindInSelection\",TogglePreserveCaseCommand:\"togglePreserveCase\",ReplaceOneAction:\"editor.action.replaceOne\",ReplaceAllAction:\"editor.action.replaceAll\",SelectAllMatchesAction:\"editor.action.selectAllMatches\"},Ju=19999,eIe=240;class fb{constructor(e,t){this._toDispose=new Y,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new ya,this._decorations=new ps(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new Wt(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(i=>{(i.reason===3||i.reason===5||i.reason===6)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(i=>{this._ignoreModelContentChanged||(i.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(i=>this._onStateChanged(i))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,jt(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){this._isDisposed||this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},eIe)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor))}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;typeof t<\"u\"?t!==null&&(Array.isArray(t)?i=t:i=[t]):i=this._decorations.getFindScopes(),i!==null&&(i=i.map(a=>{if(a.startLineNumber!==a.endLineNumber){let l=a.endLineNumber;return a.endColumn===1&&(l=l-1),new x(a.startLineNumber,1,l,this._editor.getModel().getLineMaxColumn(l))}return a}));const n=this._findMatches(i,!1,Ju);this._decorations.set(n,i);const o=this._editor.getSelection();let r=this._decorations.getCurrentMatchesPosition(o);if(r===0&&n.length>0){const a=Vb(n.map(l=>l.range),l=>x.compareRangesUsingStarts(l,o)>=0);r=a>0?a-1+1:r}this._state.changeMatchInfo(r,this._decorations.getCount(),void 0),e&&this._editor.getOption(41).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){const t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){const t=this._state.isRegex&&(this._state.searchString.indexOf(\"^\")>=0||this._state.searchString.indexOf(\"$\")>=0);let{lineNumber:i,column:n}=e;const o=this._editor.getModel();return t||n===1?(i===1?i=o.getLineCount():i--,n=o.getLineMaxColumn(i)):n--,new W(i,n)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const c=this._decorations.matchAfterPosition(e);c&&this._setCurrentFindMatch(c);return}if(this._decorations.getCount()<Ju){let c=this._decorations.matchBeforePosition(e);c&&c.isEmpty()&&c.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),c=this._decorations.matchBeforePosition(e)),c&&this._setCurrentFindMatch(c);return}if(this._cannotFind())return;const i=this._decorations.getFindScope(),n=fb._getSearchRange(this._editor.getModel(),i);n.getEndPosition().isBefore(e)&&(e=n.getEndPosition()),e.isBefore(n.getStartPosition())&&(e=n.getEndPosition());const{lineNumber:o,column:r}=e,a=this._editor.getModel();let l=new W(o,r),d=a.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),d=a.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1)),!!d){if(!t&&!n.containsRange(d.range))return this._moveToPrevMatch(d.range.getStartPosition(),!0);this._setCurrentFindMatch(d.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){const t=this._state.isRegex&&(this._state.searchString.indexOf(\"^\")>=0||this._state.searchString.indexOf(\"$\")>=0);let{lineNumber:i,column:n}=e;const o=this._editor.getModel();return t||n===o.getLineMaxColumn(i)?(i===o.getLineCount()?i=1:i++,n=1):n++,new W(i,n)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const i=this._decorations.matchBeforePosition(e);i&&this._setCurrentFindMatch(i);return}if(this._decorations.getCount()<Ju){let i=this._decorations.matchAfterPosition(e);i&&i.isEmpty()&&i.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),i=this._decorations.matchAfterPosition(e)),i&&this._setCurrentFindMatch(i);return}const t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,n=!1){if(this._cannotFind())return null;const o=this._decorations.getFindScope(),r=fb._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(e)&&(e=r.getStartPosition()),e.isBefore(r.getStartPosition())&&(e=r.getStartPosition());const{lineNumber:a,column:l}=e,d=this._editor.getModel();let c=new W(a,l),u=d.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t);return i&&u&&u.range.isEmpty()&&u.range.getStartPosition().equals(c)&&(c=this._nextSearchPosition(c),u=d.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t)),u?!n&&!r.containsRange(u.range)?this._getNextMatch(u.range.getEndPosition(),t,i,!0):u:null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_moveToMatch(e){const t=this._decorations.getDecorationRangeAt(e);t&&this._setCurrentFindMatch(t)}moveToMatch(e){this._moveToMatch(e)}_getReplacePattern(){return this._state.isRegex?JEe(this._state.replaceString):$_.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;const e=this._getReplacePattern(),t=this._editor.getSelection(),i=this._getNextMatch(t.getStartPosition(),!0,!1);if(i)if(t.equalsRange(i.range)){const n=e.buildReplaceString(i.matches,this._state.preserveCase),o=new qn(t,n);this._executeEditorCommand(\"replace\",o),this._decorations.setStartPosition(new W(t.startLineNumber,t.startColumn+n.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(i.range)}_findMatches(e,t,i){const n=(e||[null]).map(o=>fb._getSearchRange(this._editor.getModel(),o));return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t,i)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();e===null&&this._state.matchesCount>=Ju?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const t=new Ig(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null).parseSearchRequest();if(!t)return;let i=t.regex;if(!i.multiline){let u=\"mu\";i.ignoreCase&&(u+=\"i\"),i.global&&(u+=\"g\"),i=new RegExp(i.source,u)}const n=this._editor.getModel(),o=n.getValue(1),r=n.getFullModelRange(),a=this._getReplacePattern();let l;const d=this._state.preserveCase;a.hasReplacementPatterns||d?l=o.replace(i,function(){return a.buildReplaceString(arguments,d)}):l=o.replace(i,a.buildReplaceString(null,d));const c=new zF(r,l,this._editor.getSelection());this._executeEditorCommand(\"replaceAll\",c)}_regularReplaceAll(e){const t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let r=0,a=i.length;r<a;r++)n[r]=t.buildReplaceString(i[r].matches,this._state.preserveCase);const o=new XEe(this._editor.getSelection(),i.map(r=>r.range),n);this._executeEditorCommand(\"replaceAll\",o)}selectAllMatches(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();let i=this._findMatches(e,!1,1073741824).map(o=>new we(o.range.startLineNumber,o.range.startColumn,o.range.endLineNumber,o.range.endColumn));const n=this._editor.getSelection();for(let o=0,r=i.length;o<r;o++)if(i[o].equalsRange(n)){i=[n].concat(i.slice(0,o)).concat(i.slice(o+1));break}this._editor.setSelections(i)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}class kk extends fr{constructor(e,t,i){super(),this._hideSoon=this._register(new Wt(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement(\"div\"),this._domNode.className=\"findOptionsWidget\",this._domNode.style.display=\"none\",this._domNode.style.top=\"10px\",this._domNode.style.zIndex=\"12\",this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\");const n={inputActiveOptionBorder:fe(RF),inputActiveOptionForeground:fe(PF),inputActiveOptionBackground:fe(Zg)},o=this._register(I_());this.caseSensitive=this._register(new Mj({appendTitle:this._keybindingLabelFor(ti.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,hoverDelegate:o,...n})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new Rj({appendTitle:this._keybindingLabelFor(ti.ToggleWholeWordCommand),isChecked:this._state.wholeWord,hoverDelegate:o,...n})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Pj({appendTitle:this._keybindingLabelFor(ti.ToggleRegexCommand),isChecked:this._state.isRegex,hoverDelegate:o,...n})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(r=>{let a=!1;r.isRegex&&(this.regex.checked=this._state.isRegex,a=!0),r.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,a=!0),r.matchCase&&(this.caseSensitive.checked=this._state.matchCase,a=!0),!this._state.isRevealed&&a&&this._revealTemporarily()})),this._register(K(this._domNode,ee.MOUSE_LEAVE,r=>this._onMouseLeave())),this._register(K(this._domNode,\"mouseover\",r=>this._onMouseOver()))}_keybindingLabelFor(e){const t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:\"\"}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return kk.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display=\"block\")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display=\"none\")}}kk.ID=\"editor.contrib.findOptionsWidget\";function _y(s,e){return s===1?!0:s===2?!1:e}class tIe extends H{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return _y(this._isRegexOverride,this._isRegex)}get wholeWord(){return _y(this._wholeWordOverride,this._wholeWord)}get matchCase(){return _y(this._matchCaseOverride,this._matchCase)}get preserveCase(){return _y(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new B),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString=\"\",this._replaceString=\"\",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(e,t,i){const n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let o=!1;t===0&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,n.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,o=!0),typeof i<\"u\"&&(x.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;const o={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let r=!1;const a=this.isRegex,l=this.wholeWord,d=this.matchCase,c=this.preserveCase;typeof e.searchString<\"u\"&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,r=!0),typeof e.replaceString<\"u\"&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,r=!0),typeof e.isRevealed<\"u\"&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,r=!0),typeof e.isReplaceRevealed<\"u\"&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,r=!0),typeof e.isRegex<\"u\"&&(this._isRegex=e.isRegex),typeof e.wholeWord<\"u\"&&(this._wholeWord=e.wholeWord),typeof e.matchCase<\"u\"&&(this._matchCase=e.matchCase),typeof e.preserveCase<\"u\"&&(this._preserveCase=e.preserveCase),typeof e.searchScope<\"u\"&&(!((n=e.searchScope)===null||n===void 0)&&n.every(u=>{var h;return(h=this._searchScope)===null||h===void 0?void 0:h.some(g=>!x.equalsRange(g,u))})||(this._searchScope=e.searchScope,o.searchScope=!0,r=!0)),typeof e.loop<\"u\"&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,r=!0),typeof e.isSearching<\"u\"&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,o.isSearching=!0,r=!0),typeof e.filters<\"u\"&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,o.filters=!0,r=!0),this._isRegexOverride=typeof e.isRegexOverride<\"u\"?e.isRegexOverride:0,this._wholeWordOverride=typeof e.wholeWordOverride<\"u\"?e.wholeWordOverride:0,this._matchCaseOverride=typeof e.matchCaseOverride<\"u\"?e.matchCaseOverride:0,this._preserveCaseOverride=typeof e.preserveCaseOverride<\"u\"?e.preserveCaseOverride:0,a!==this.isRegex&&(r=!0,o.isRegex=!0),l!==this.wholeWord&&(r=!0,o.wholeWord=!0),d!==this.matchCase&&(r=!0,o.matchCase=!0),c!==this.preserveCase&&(r=!0,o.preserveCase=!0),r&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=Ju}}const iIe=p(\"defaultLabel\",\"input\"),nIe=p(\"label.preserveCaseToggle\",\"Preserve Case\");class sIe extends f0{constructor(e){var t;super({icon:oe.preserveCase,title:nIe+e.appendTitle,isChecked:e.isChecked,hoverDelegate:(t=e.hoverDelegate)!==null&&t!==void 0?t:Xs(\"element\"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class oIe extends fr{constructor(e,t,i,n){super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new B),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new B),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new B),this._onInput=this._register(new B),this._onKeyUp=this._register(new B),this._onPreserveCaseKeyDown=this._register(new B),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=n.placeholder||\"\",this.validation=n.validation,this.label=n.label||iIe;const o=n.appendPreserveCaseLabel||\"\",r=n.history||[],a=!!n.flexibleHeight,l=!!n.flexibleWidth,d=n.flexibleMaxHeight;this.domNode=document.createElement(\"div\"),this.domNode.classList.add(\"monaco-findInput\"),this.inputBox=this._register(new Fj(this.domNode,this.contextViewProvider,{ariaLabel:this.label||\"\",placeholder:this.placeholder||\"\",validationOptions:{validation:this.validation},history:r,showHistoryHint:n.showHistoryHint,flexibleHeight:a,flexibleWidth:l,flexibleMaxHeight:d,inputBoxStyles:n.inputBoxStyles})),this.preserveCase=this._register(new sIe({appendTitle:o,isChecked:!1,...n.toggleStyles})),this._register(this.preserveCase.onChange(h=>{this._onDidOptionChange.fire(h),!h&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(h=>{this._onPreserveCaseKeyDown.fire(h)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;const c=[this.preserveCase.domNode];this.onkeydown(this.domNode,h=>{if(h.equals(15)||h.equals(17)||h.equals(9)){const g=c.indexOf(this.domNode.ownerDocument.activeElement);if(g>=0){let f=-1;h.equals(17)?f=(g+1)%c.length:h.equals(15)&&(g===0?f=c.length-1:f=g-1),h.equals(9)?(c[g].blur(),this.inputBox.focus()):f>=0&&c[f].focus(),nt.stop(h,!0)}}});const u=document.createElement(\"div\");u.className=\"controls\",u.style.display=this._showOptionButtons?\"block\":\"none\",u.appendChild(this.preserveCase.domNode),this.domNode.appendChild(u),e==null||e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,h=>this._onKeyDown.fire(h)),this.onkeyup(this.inputBox.inputElement,h=>this._onKeyUp.fire(h)),this.oninput(this.inputBox.inputElement,h=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,h=>this._onMouseDown.fire(h))}enable(){this.domNode.classList.remove(\"disabled\"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add(\"disabled\"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){var e;(e=this.inputBox)===null||e===void 0||e.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=e+\"px\"}dispose(){super.dispose()}}var nG=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},sG=function(s,e){return function(t,i){e(t,i,s)}};const k4=new ue(\"suggestWidgetVisible\",!1,p(\"suggestWidgetVisible\",\"Whether suggestion are visible\")),E4=\"historyNavigationWidgetFocus\",oG=\"historyNavigationForwardsEnabled\",rG=\"historyNavigationBackwardsEnabled\";let Mc;const vy=[];function aG(s,e){if(vy.includes(e))throw new Error(\"Cannot register the same widget multiple times\");vy.push(e);const t=new Y,i=new ue(E4,!1).bindTo(s),n=new ue(oG,!0).bindTo(s),o=new ue(rG,!0).bindTo(s),r=()=>{i.set(!0),Mc=e},a=()=>{i.set(!1),Mc===e&&(Mc=void 0)};return tx(e.element)&&r(),t.add(e.onDidFocus(()=>r())),t.add(e.onDidBlur(()=>a())),t.add(Ie(()=>{vy.splice(vy.indexOf(e),1),a()})),{historyNavigationForwardsEnablement:n,historyNavigationBackwardsEnablement:o,dispose(){t.dispose()}}}let aR=class extends Oj{constructor(e,t,i,n){super(e,t,i);const o=this._register(n.createScoped(this.inputBox.element));this._register(aG(o,this.inputBox))}};aR=nG([sG(3,Be)],aR);let lR=class extends oIe{constructor(e,t,i,n,o=!1){super(e,t,o,i);const r=this._register(n.createScoped(this.inputBox.element));this._register(aG(r,this.inputBox))}};lR=nG([sG(3,Be)],lR);go.registerCommandAndKeybindingRule({id:\"history.showPrevious\",weight:200,when:G.and(G.has(E4),G.equals(rG,!0),G.not(\"isComposing\"),k4.isEqualTo(!1)),primary:16,secondary:[528],handler:s=>{Mc==null||Mc.showPreviousValue()}});go.registerCommandAndKeybindingRule({id:\"history.showNext\",weight:200,when:G.and(G.has(E4),G.equals(oG,!0),G.not(\"isComposing\"),k4.isEqualTo(!1)),primary:18,secondary:[530],handler:s=>{Mc==null||Mc.showNextValue()}});function s9(s){var e,t;return((e=s.lookupKeybinding(\"history.showPrevious\"))===null||e===void 0?void 0:e.getElectronAccelerator())===\"Up\"&&((t=s.lookupKeybinding(\"history.showNext\"))===null||t===void 0?void 0:t.getElectronAccelerator())===\"Down\"}const rIe=xi(\"find-selection\",oe.selection,p(\"findSelectionIcon\",\"Icon for 'Find in Selection' in the editor find widget.\")),o9=xi(\"find-collapsed\",oe.chevronRight,p(\"findCollapsedIcon\",\"Icon to indicate that the editor find widget is collapsed.\")),r9=xi(\"find-expanded\",oe.chevronDown,p(\"findExpandedIcon\",\"Icon to indicate that the editor find widget is expanded.\")),aIe=xi(\"find-replace\",oe.replace,p(\"findReplaceIcon\",\"Icon for 'Replace' in the editor find widget.\")),lIe=xi(\"find-replace-all\",oe.replaceAll,p(\"findReplaceAllIcon\",\"Icon for 'Replace All' in the editor find widget.\")),dIe=xi(\"find-previous-match\",oe.arrowUp,p(\"findPreviousMatchIcon\",\"Icon for 'Find Previous' in the editor find widget.\")),cIe=xi(\"find-next-match\",oe.arrowDown,p(\"findNextMatchIcon\",\"Icon for 'Find Next' in the editor find widget.\")),uIe=p(\"label.findDialog\",\"Find / Replace\"),hIe=p(\"label.find\",\"Find\"),gIe=p(\"placeholder.find\",\"Find\"),fIe=p(\"label.previousMatchButton\",\"Previous Match\"),pIe=p(\"label.nextMatchButton\",\"Next Match\"),mIe=p(\"label.toggleSelectionFind\",\"Find in Selection\"),_Ie=p(\"label.closeButton\",\"Close\"),vIe=p(\"label.replace\",\"Replace\"),bIe=p(\"placeholder.replace\",\"Replace\"),CIe=p(\"label.replaceButton\",\"Replace\"),wIe=p(\"label.replaceAllButton\",\"Replace All\"),yIe=p(\"label.toggleReplaceButton\",\"Toggle Replace\"),SIe=p(\"title.matchesCountLimit\",\"Only the first {0} results are highlighted, but all find operations work on the entire text.\",Ju),DIe=p(\"label.matchesLocation\",\"{0} of {1}\"),a9=p(\"label.noResults\",\"No results\"),Ll=419,LIe=275,xIe=LIe-54;let sv=69;const kIe=33,l9=\"ctrlEnterReplaceAll.windows.donotask\",d9=lt?256:2048;class hT{constructor(e){this.afterLineNumber=e,this.heightInPx=kIe,this.suppressMouseDown=!1,this.domNode=document.createElement(\"div\"),this.domNode.className=\"dock-find-viewzone\"}}function c9(s,e,t){const i=!!e.match(/\\n/);if(t&&i&&t.selectionStart>0){s.stopPropagation();return}}function u9(s,e,t){const i=!!e.match(/\\n/);if(t&&i&&t.selectionEnd<t.value.length){s.stopPropagation();return}}class Ek extends fr{constructor(e,t,i,n,o,r,a,l,d,c){super(),this._hoverService=c,this._cachedHeight=null,this._revealTimeouts=[],this._codeEditor=e,this._controller=t,this._state=i,this._contextViewProvider=n,this._keybindingService=o,this._contextKeyService=r,this._storageService=l,this._notificationService=d,this._ctrlEnterReplaceAllWarningPrompted=!!l.getBoolean(l9,0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new _a(500),this._register(Ie(()=>this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(u=>this._onStateChanged(u))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(u=>{if(u.hasChanged(91)&&(this._codeEditor.getOption(91)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),u.hasChanged(145)&&this._tryUpdateWidgetWidth(),u.hasChanged(2)&&this.updateAccessibilitySupport(),u.hasChanged(41)){const h=this._codeEditor.getOption(41).loop;this._state.change({loop:h},!1);const g=this._codeEditor.getOption(41).addExtraSpaceOnTop;g&&!this._viewZone&&(this._viewZone=new hT(0),this._showViewZone()),!g&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(async()=>{if(this._isVisible){const u=await this._controller.getGlobalBufferTerm();u&&u!==this._state.searchString&&(this._state.change({searchString:u},!1),this._findInput.select())}})),this._findInputFocused=xk.bindTo(r),this._findFocusTracker=this._register(ba(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=x4.bindTo(r),this._replaceFocusTracker=this._register(ba(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(41).addExtraSpaceOnTop&&(this._viewZone=new hT(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(u=>{if(u.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return Ek.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?!this._codeEditor.getOption(91)&&!this._isReplaceVisible&&(this._isReplaceVisible=!0,this._replaceInput.width=wo(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){const t=this._state.searchString.length>0&&this._state.matchesCount===0;this._domNode.classList.toggle(\"no-results\",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,Xe)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){this._matchesCount.style.minWidth=sv+\"px\",this._state.matchesCount>=Ju?this._matchesCount.title=SIe:this._matchesCount.title=\"\",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);let e;if(this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=Ju&&(t+=\"+\");let i=String(this._state.matchesPosition);i===\"0\"&&(i=\"?\"),e=l_(DIe,i,t)}else e=a9;this._matchesCount.appendChild(document.createTextNode(e)),fo(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),sv=Math.max(sv,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===a9)return i===\"\"?p(\"ariaSearchNoResultEmpty\",\"{0} found\",e):p(\"ariaSearchNoResult\",\"{0} found for '{1}'\",e,i);if(t){const n=p(\"ariaSearchNoResultWithLineNum\",\"{0} found for '{1}', at {2}\",e,i,t.startLineNumber+\":\"+t.startColumn),o=this._codeEditor.getModel();return o&&t.startLineNumber<=o.getLineCount()&&t.startLineNumber>=1?`${o.getLineContent(t.startLineNumber)}, ${n}`:n}return p(\"ariaSearchNoResultWithLineNumNoCurrentMatch\",\"{0} found for '{1}'\",e,i)}_updateToggleSelectionFindButton(){const e=this._codeEditor.getSelection(),t=e?e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn:!1,i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle(\"replaceToggled\",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const i=!this._codeEditor.getOption(91);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(41).autoFindInSelection){case\"always\":this._toggleSelectionFind.checked=!0;break;case\"never\":this._toggleSelectionFind.checked=!1;break;case\"multiline\":{const i=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=i;break}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add(\"visible\"),this._domNode.setAttribute(\"aria-hidden\",\"false\")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(41).seedSearchStringFromSelection&&e){const i=this._codeEditor.getDomNode();if(i){const n=qi(i),o=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),r=n.left+(o?o.left:0),a=o?o.top:0;if(this._viewZone&&a<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const l=kz(this._domNode).left;r>l&&(t=!1);const d=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());n.left+(d?d.left:0)>l&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach(t=>{clearTimeout(t)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove(\"visible\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){if(!this._codeEditor.getOption(41).addExtraSpaceOnTop){this._removeViewZone();return}if(!this._isVisible)return;const i=this._viewZone;this._viewZoneId!==void 0||!i||this._codeEditor.changeViewZones(n=>{i.heightInPx=this._getHeight(),this._viewZoneId=n.addZone(i),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+i.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible||!this._codeEditor.getOption(41).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new hT(0));const i=this._viewZone;this._codeEditor.changeViewZones(n=>{if(this._viewZoneId!==void 0){const o=this._getHeight();if(o===i.heightInPx)return;const r=o-i.heightInPx;i.heightInPx=o,n.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+r);return}else{let o=this._getHeight();if(o-=this._codeEditor.getOption(84).top,o<=0)return;i.heightInPx=o,this._viewZoneId=n.addZone(i),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{this._viewZoneId!==void 0&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!this._domNode.isConnected)return;const e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0){this._domNode.classList.add(\"hiddenEditor\");return}else this._domNode.classList.contains(\"hiddenEditor\")&&this._domNode.classList.remove(\"hiddenEditor\");const i=e.width,n=e.minimap.minimapWidth;let o=!1,r=!1,a=!1;if(this._resized&&wo(this._domNode)>Ll){this._domNode.style.maxWidth=`${i-28-n-15}px`,this._replaceInput.width=wo(this._findInput.domNode);return}if(Ll+28+n>=i&&(r=!0),Ll+28+n-sv>=i&&(a=!0),Ll+28+n-sv>=i+50&&(o=!0),this._domNode.classList.toggle(\"collapsed-find-widget\",o),this._domNode.classList.toggle(\"narrow-find-widget\",a),this._domNode.classList.toggle(\"reduced-find-widget\",r),!a&&!o&&(this._domNode.style.maxWidth=`${i-28-n-15}px`),this._findInput.layout({collapsedFindWidget:o,narrowFindWidget:a,reducedFindWidget:r}),this._resized){const l=this._findInput.inputBox.element.clientWidth;l>0&&(this._replaceInput.width=l)}else this._isReplaceVisible&&(this._replaceInput.width=wo(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){const e=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===e?!1:(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const e=this._codeEditor.getSelections();e.map(t=>{t.endColumn===1&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1)));const i=this._state.currentMatch;return t.startLineNumber!==t.endLineNumber&&!x.equalsRange(t,i)?t:null}).filter(t=>!!t),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(d9|3))if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}else{this._findInput.inputBox.insertAtCursor(`\n`),e.preventDefault();return}if(e.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}if(e.equals(16))return c9(e,this._findInput.getValue(),this._findInput.domNode.querySelector(\"textarea\"));if(e.equals(18))return u9(e,this._findInput.getValue(),this._findInput.domNode.querySelector(\"textarea\"))}_onReplaceInputKeyDown(e){if(e.equals(d9|3))if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}else{as&&md&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(p(\"ctrlEnter.keybindingChanged\",\"Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.\")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(l9,!0,0,0)),this._replaceInput.inputBox.insertAtCursor(`\n`),e.preventDefault();return}if(e.equals(2)){this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(1026)){this._findInput.focus(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}if(e.equals(16))return c9(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector(\"textarea\"));if(e.equals(18))return u9(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector(\"textarea\"))}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){const t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:\"\"}_buildDomNode(){this._findInput=this._register(new aR(null,this._contextViewProvider,{width:xIe,label:hIe,placeholder:gIe,appendCaseSensitiveLabel:this._keybindingLabelFor(ti.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(ti.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(ti.ToggleRegexCommand),validation:c=>{if(c.length===0||!this._findInput.getRegex())return null;try{return new RegExp(c,\"gu\"),null}catch(u){return{content:u.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>s9(this._keybindingService),inputBoxStyles:TD,toggleStyles:ID},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(c=>this._onFindInputKeyDown(c))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(c=>{c.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),c.preventDefault())})),this._register(this._findInput.onRegexKeyDown(c=>{c.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),c.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(c=>{this._tryUpdateHeight()&&this._showViewZone()})),$s&&this._register(this._findInput.onMouseDown(c=>this._onFindInputMouseDown(c))),this._matchesCount=document.createElement(\"div\"),this._matchesCount.className=\"matchesCount\",this._updateMatchesCount();const i=this._register(I_());this._prevBtn=this._register(new Bp({label:fIe+this._keybindingLabelFor(ti.PreviousMatchFindAction),icon:dIe,hoverDelegate:i,onTrigger:()=>{Ou(this._codeEditor.getAction(ti.PreviousMatchFindAction)).run().then(void 0,Xe)}},this._hoverService)),this._nextBtn=this._register(new Bp({label:pIe+this._keybindingLabelFor(ti.NextMatchFindAction),icon:cIe,hoverDelegate:i,onTrigger:()=>{Ou(this._codeEditor.getAction(ti.NextMatchFindAction)).run().then(void 0,Xe)}},this._hoverService));const n=document.createElement(\"div\");n.className=\"find-part\",n.appendChild(this._findInput.domNode);const o=document.createElement(\"div\");o.className=\"find-actions\",n.appendChild(o),o.appendChild(this._matchesCount),o.appendChild(this._prevBtn.domNode),o.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new f0({icon:rIe,title:mIe+this._keybindingLabelFor(ti.ToggleSearchScopeCommand),isChecked:!1,hoverDelegate:i,inputActiveOptionBackground:fe(Zg),inputActiveOptionBorder:fe(RF),inputActiveOptionForeground:fe(PF)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let c=this._codeEditor.getSelections();c=c.map(u=>(u.endColumn===1&&u.endLineNumber>u.startLineNumber&&(u=u.setEndPosition(u.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(u.endLineNumber-1))),u.isEmpty()?null:u)).filter(u=>!!u),c.length&&this._state.change({searchScope:c},!0)}}else this._state.change({searchScope:null},!0)})),o.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Bp({label:_Ie+this._keybindingLabelFor(ti.CloseFindWidgetCommand),icon:cK,hoverDelegate:i,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:c=>{c.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),c.preventDefault())}},this._hoverService)),this._replaceInput=this._register(new lR(null,void 0,{label:vIe,placeholder:bIe,appendPreserveCaseLabel:this._keybindingLabelFor(ti.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>s9(this._keybindingService),inputBoxStyles:TD,toggleStyles:ID},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(c=>this._onReplaceInputKeyDown(c))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(c=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(c=>{c.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),c.preventDefault())}));const r=this._register(I_());this._replaceBtn=this._register(new Bp({label:CIe+this._keybindingLabelFor(ti.ReplaceOneAction),icon:aIe,hoverDelegate:r,onTrigger:()=>{this._controller.replace()},onKeyDown:c=>{c.equals(1026)&&(this._closeBtn.focus(),c.preventDefault())}},this._hoverService)),this._replaceAllBtn=this._register(new Bp({label:wIe+this._keybindingLabelFor(ti.ReplaceAllAction),icon:lIe,hoverDelegate:r,onTrigger:()=>{this._controller.replaceAll()}},this._hoverService));const a=document.createElement(\"div\");a.className=\"replace-part\",a.appendChild(this._replaceInput.domNode);const l=document.createElement(\"div\");l.className=\"replace-actions\",a.appendChild(l),l.appendChild(this._replaceBtn.domNode),l.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Bp({label:yIe,className:\"codicon toggle left\",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=wo(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}},this._hoverService)),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement(\"div\"),this._domNode.className=\"editor-widget find-widget\",this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._domNode.ariaLabel=uIe,this._domNode.role=\"dialog\",this._domNode.style.width=`${Ll}px`,this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(n),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(a),this._resizeSash=this._register(new is(this._domNode,this,{orientation:0,size:2})),this._resized=!1;let d=Ll;this._register(this._resizeSash.onDidStart(()=>{d=wo(this._domNode)})),this._register(this._resizeSash.onDidChange(c=>{this._resized=!0;const u=d+c.startX-c.currentX;if(u<Ll)return;const h=parseFloat(ex(this._domNode).maxWidth)||0;u>h||(this._domNode.style.width=`${u}px`,this._isReplaceVisible&&(this._replaceInput.width=wo(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const c=wo(this._domNode);if(c<Ll)return;let u=Ll;if(!this._resized||c===Ll){const h=this._codeEditor.getLayoutInfo();u=h.width-28-h.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${u}px`,this._isReplaceVisible&&(this._replaceInput.width=wo(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(e!==2)}}Ek.ID=\"editor.contrib.findWidget\";class Bp extends fr{constructor(e,t){var i;super(),this._opts=e;let n=\"button\";this._opts.className&&(n=n+\" \"+this._opts.className),this._opts.icon&&(n=n+\" \"+Pe.asClassName(this._opts.icon)),this._domNode=document.createElement(\"div\"),this._domNode.tabIndex=0,this._domNode.className=n,this._domNode.setAttribute(\"role\",\"button\"),this._domNode.setAttribute(\"aria-label\",this._opts.label),this._register(t.setupUpdatableHover((i=e.hoverDelegate)!==null&&i!==void 0?i:Xs(\"element\"),this._domNode,this._opts.label)),this.onclick(this._domNode,o=>{this._opts.onTrigger(),o.preventDefault()}),this.onkeydown(this._domNode,o=>{var r,a;if(o.equals(10)||o.equals(3)){this._opts.onTrigger(),o.preventDefault();return}(a=(r=this._opts).onKeyDown)===null||a===void 0||a.call(r,o)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle(\"disabled\",!e),this._domNode.setAttribute(\"aria-disabled\",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute(\"aria-expanded\",String(!!e)),e?(this._domNode.classList.remove(...Pe.asClassNameArray(o9)),this._domNode.classList.add(...Pe.asClassNameArray(r9))):(this._domNode.classList.remove(...Pe.asClassNameArray(r9)),this._domNode.classList.add(...Pe.asClassNameArray(o9)))}}zr((s,e)=>{const t=s.getColor(zu);t&&e.addRule(`.monaco-editor .findMatch { border: 1px ${dd(s.type)?\"dotted\":\"solid\"} ${t}; box-sizing: border-box; }`);const i=s.getColor(Oue);i&&e.addRule(`.monaco-editor .findScope { border: 1px ${dd(s.type)?\"dashed\":\"solid\"} ${i}; }`);const n=s.getColor(gt);n&&e.addRule(`.monaco-editor .find-widget { border: 1px solid ${n}; }`)});var lG=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Cr=function(s,e){return function(t,i){e(t,i,s)}},dR;const EIe=524288;function cR(s,e=\"single\",t=!1){if(!s.hasModel())return null;const i=s.getSelection();if(e===\"single\"&&i.startLineNumber===i.endLineNumber||e===\"multiple\"){if(i.isEmpty()){const n=s.getConfiguredWordAtPosition(i.getStartPosition());if(n&&t===!1)return n.word}else if(s.getModel().getValueLengthInRange(i)<EIe)return s.getModel().getValueInRange(i)}return null}let Ks=dR=class extends H{get editor(){return this._editor}static get(e){return e.getContribution(dR.ID)}constructor(e,t,i,n,o,r){super(),this._editor=e,this._findWidgetVisible=lu.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=n,this._notificationService=o,this._hoverService=r,this._updateHistoryDelayer=new _a(500),this._state=this._register(new tIe),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(a=>this._onStateChanged(a))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{const a=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean(\"editor.matchCase\",1,!1),wholeWord:this._storageService.getBoolean(\"editor.wholeWord\",1,!1),isRegex:this._storageService.getBoolean(\"editor.isRegex\",1,!1),preserveCase:this._storageService.getBoolean(\"editor.preserveCase\",1,!1)},!1),a&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:\"none\",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store(\"editor.isRegex\",this._state.actualIsRegex,1,1),e.wholeWord&&this._storageService.store(\"editor.wholeWord\",this._state.actualWholeWord,1,1),e.matchCase&&this._storageService.store(\"editor.matchCase\",this._state.actualMatchCase,1,1),e.preserveCase&&this._storageService.store(\"editor.preserveCase\",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean(\"editor.matchCase\",1,this._state.matchCase),wholeWord:this._storageService.getBoolean(\"editor.wholeWord\",1,this._state.wholeWord),isRegex:this._storageService.getBoolean(\"editor.isRegex\",1,this._state.isRegex),preserveCase:this._storageService.getBoolean(\"editor.preserveCase\",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!xk.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e=e.map(t=>(t.endColumn===1&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,this._editor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()?null:t)).filter(t=>!!t),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=rr(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}async _start(e,t){if(this.disposeModel(),!this._editor.hasModel())return;const i={...t,isRevealed:!0};if(e.seedSearchStringFromSelection===\"single\"){const n=cR(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);n&&(this._state.isRegex?i.searchString=rr(n):i.searchString=n)}else if(e.seedSearchStringFromSelection===\"multiple\"&&!e.updateSearchScope){const n=cR(this._editor,e.seedSearchStringFromSelection);n&&(i.searchString=n)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){const n=await this.getGlobalBufferTerm();if(!this._editor.hasModel())return;n&&(i.searchString=n)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){const n=this._editor.getSelections();n.some(o=>!o.isEmpty())&&(i.searchScope=n)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new fb(this._editor,this._state))}start(e,t){return this._start(e,t)}moveToNextMatch(){return this._model?(this._model.moveToNextMatch(),!0):!1}moveToPrevMatch(){return this._model?(this._model.moveToPrevMatch(),!0):!1}goToMatch(e){return this._model?(this._model.moveToMatch(e),!0):!1}replace(){return this._model?(this._model.replace(),!0):!1}replaceAll(){var e;return this._model?!((e=this._editor.getModel())===null||e===void 0)&&e.isTooLargeForHeapOperation()?(this._notificationService.warn(p(\"too.large.for.replaceall\",\"The file is too large to perform a replace all operation.\")),!1):(this._model.replaceAll(),!0):!1}selectAllMatches(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1}async getGlobalBufferTerm(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():\"\"}setGlobalBufferTerm(e){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};Ks.ID=\"editor.contrib.findController\";Ks=dR=lG([Cr(1,Be),Cr(2,Rd),Cr(3,ru),Cr(4,en),Cr(5,Md)],Ks);let uR=class extends Ks{constructor(e,t,i,n,o,r,a,l,d){super(e,i,a,l,r,d),this._contextViewService=t,this._keybindingService=n,this._themeService=o,this._widget=null,this._findOptionsWidget=null}async _start(e,t){this._widget||this._createFindWidget();const i=this._editor.getSelection();let n=!1;switch(this._editor.getOption(41).autoFindInSelection){case\"always\":n=!0;break;case\"never\":n=!1;break;case\"multiline\":{n=!!i&&i.startLineNumber!==i.endLineNumber;break}}e.updateSearchScope=e.updateSearchScope||n,await super._start(e,t),this._widget&&(e.shouldFocus===2?this._widget.focusReplaceInput():e.shouldFocus===1&&this._widget.focusFindInput())}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Ek(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._hoverService)),this._findOptionsWidget=this._register(new kk(this._editor,this._state,this._keybindingService))}};uR=lG([Cr(1,nu),Cr(2,Be),Cr(3,At),Cr(4,_n),Cr(5,en),Cr(6,Rd),Cr(7,ru),Cr(8,Md)],uR);const IIe=$z(new Uz({id:ti.StartFindAction,label:p(\"startFindAction\",\"Find\"),alias:\"Find\",precondition:G.or(T.focus,G.has(\"editorIsOpen\")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:E.MenubarEditMenu,group:\"3_find\",title:p({},\"&&Find\"),order:1}}));IIe.addImplementation(0,(s,e,t)=>{const i=Ks.get(e);return i?i.start({forceRevealReplace:!1,seedSearchStringFromSelection:e.getOption(41).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:e.getOption(41).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:e.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:e.getOption(41).loop}):!1});const TIe={description:\"Open a new In-Editor Find Widget.\",args:[{name:\"Open a new In-Editor Find Widget args\",schema:{properties:{searchString:{type:\"string\"},replaceString:{type:\"string\"},isRegex:{type:\"boolean\"},matchWholeWord:{type:\"boolean\"},isCaseSensitive:{type:\"boolean\"},preserveCase:{type:\"boolean\"},findInSelection:{type:\"boolean\"}}}}]};class NIe extends me{constructor(){super({id:ti.StartFindWithArgs,label:p(\"startFindWithArgsAction\",\"Find With Arguments\"),alias:\"Find With Arguments\",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},metadata:TIe})}async run(e,t,i){const n=Ks.get(t);if(n){const o=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:i.replaceString!==void 0,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};await n.start({forceRevealReplace:!1,seedSearchStringFromSelection:n.getState().searchString.length===0&&t.getOption(41).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:t.getOption(41).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(i==null?void 0:i.findInSelection)||!1,loop:t.getOption(41).loop},o),n.setGlobalBufferTerm(n.getState().searchString)}}}class AIe extends me{constructor(){super({id:ti.StartFindWithSelection,label:p(\"startFindWithSelectionAction\",\"Find With Selection\"),alias:\"Find With Selection\",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}async run(e,t){const i=Ks.get(t);i&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:\"multiple\",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),i.setGlobalBufferTerm(i.getState().searchString))}}class dG extends me{async run(e,t){const i=Ks.get(t);i&&!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:i.getState().searchString.length===0&&t.getOption(41).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:t.getOption(41).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class MIe extends dG{constructor(){super({id:ti.NextMatchFindAction,label:p(\"findNextMatchAction\",\"Find Next\"),alias:\"Find Next\",precondition:void 0,kbOpts:[{kbExpr:T.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:G.and(T.focus,xk),primary:3,weight:100}]})}_run(e){return e.moveToNextMatch()?(e.editor.pushUndoStop(),!0):!1}}class RIe extends dG{constructor(){super({id:ti.PreviousMatchFindAction,label:p(\"findPreviousMatchAction\",\"Find Previous\"),alias:\"Find Previous\",precondition:void 0,kbOpts:[{kbExpr:T.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:G.and(T.focus,xk),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}class PIe extends me{constructor(){super({id:ti.GoToMatchFindAction,label:p(\"findMatchAction.goToMatch\",\"Go to Match...\"),alias:\"Go to Match...\",precondition:lu}),this._highlightDecorations=[]}run(e,t,i){const n=Ks.get(t);if(!n)return;const o=n.getState().matchesCount;if(o<1){e.get(en).notify({severity:Rx.Warning,message:p(\"findMatchAction.noResults\",\"No matches. Try searching for something else.\")});return}const a=e.get(hp).createInputBox();a.placeholder=p(\"findMatchAction.inputPlaceHolder\",\"Type a number to go to a specific match (between 1 and {0})\",o);const l=c=>{const u=parseInt(c);if(isNaN(u))return;const h=n.getState().matchesCount;if(u>0&&u<=h)return u-1;if(u<0&&u>=-h)return h+u},d=c=>{const u=l(c);if(typeof u==\"number\"){a.validationMessage=void 0,n.goToMatch(u);const h=n.getState().currentMatch;h&&this.addDecorations(t,h)}else a.validationMessage=p(\"findMatchAction.inputValidationMessage\",\"Please type a number between 1 and {0}\",n.getState().matchesCount),this.clearDecorations(t)};a.onDidChangeValue(c=>{d(c)}),a.onDidAccept(()=>{const c=l(a.value);typeof c==\"number\"?(n.goToMatch(c),a.hide()):a.validationMessage=p(\"findMatchAction.inputValidationMessage\",\"Please type a number between 1 and {0}\",n.getState().matchesCount)}),a.onDidHide(()=>{this.clearDecorations(t),a.dispose()}),a.show()}clearDecorations(e){e.changeDecorations(t=>{this._highlightDecorations=t.deltaDecorations(this._highlightDecorations,[])})}addDecorations(e,t){e.changeDecorations(i=>{this._highlightDecorations=i.deltaDecorations(this._highlightDecorations,[{range:t,options:{description:\"find-match-quick-access-range-highlight\",className:\"rangeHighlight\",isWholeLine:!0}},{range:t,options:{description:\"find-match-quick-access-range-highlight-overview\",overviewRuler:{color:Ei(ofe),position:Br.Full}}}])})}}class cG extends me{async run(e,t){const i=Ks.get(t);if(!i)return;const n=cR(t,\"single\",!1);n&&i.setSearchString(n),this._run(i)||(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:\"none\",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class FIe extends cG{constructor(){super({id:ti.NextSelectionMatchFindAction,label:p(\"nextSelectionMatchFindAction\",\"Find Next Selection\"),alias:\"Find Next Selection\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class OIe extends cG{constructor(){super({id:ti.PreviousSelectionMatchFindAction,label:p(\"previousSelectionMatchFindAction\",\"Find Previous Selection\"),alias:\"Find Previous Selection\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}const BIe=$z(new Uz({id:ti.StartFindReplaceAction,label:p(\"startReplace\",\"Replace\"),alias:\"Replace\",precondition:G.or(T.focus,G.has(\"editorIsOpen\")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:E.MenubarEditMenu,group:\"3_find\",title:p({},\"&&Replace\"),order:2}}));BIe.addImplementation(0,(s,e,t)=>{if(!e.hasModel()||e.getOption(91))return!1;const i=Ks.get(e);if(!i)return!1;const n=e.getSelection(),o=i.isFindInputFocused(),r=!n.isEmpty()&&n.startLineNumber===n.endLineNumber&&e.getOption(41).seedSearchStringFromSelection!==\"never\"&&!o,a=o||r?2:1;return i.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?\"single\":\"none\",seedSearchStringFromNonEmptySelection:e.getOption(41).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:e.getOption(41).seedSearchStringFromSelection!==\"never\",shouldFocus:a,shouldAnimate:!0,updateSearchScope:!1,loop:e.getOption(41).loop})});kt(Ks.ID,uR,0);te(NIe);te(AIe);te(MIe);te(RIe);te(PIe);te(FIe);te(OIe);const vl=mn.bindToContribution(Ks.get);de(new vl({id:ti.CloseFindWidgetCommand,precondition:lu,handler:s=>s.closeFindWidget(),kbOpts:{weight:105,kbExpr:G.and(T.focus,G.not(\"isComposing\")),primary:9,secondary:[1033]}}));de(new vl({id:ti.ToggleCaseSensitiveCommand,precondition:void 0,handler:s=>s.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:T.focus,primary:hy.primary,mac:hy.mac,win:hy.win,linux:hy.linux}}));de(new vl({id:ti.ToggleWholeWordCommand,precondition:void 0,handler:s=>s.toggleWholeWords(),kbOpts:{weight:105,kbExpr:T.focus,primary:gy.primary,mac:gy.mac,win:gy.win,linux:gy.linux}}));de(new vl({id:ti.ToggleRegexCommand,precondition:void 0,handler:s=>s.toggleRegex(),kbOpts:{weight:105,kbExpr:T.focus,primary:fy.primary,mac:fy.mac,win:fy.win,linux:fy.linux}}));de(new vl({id:ti.ToggleSearchScopeCommand,precondition:void 0,handler:s=>s.toggleSearchScope(),kbOpts:{weight:105,kbExpr:T.focus,primary:py.primary,mac:py.mac,win:py.win,linux:py.linux}}));de(new vl({id:ti.TogglePreserveCaseCommand,precondition:void 0,handler:s=>s.togglePreserveCase(),kbOpts:{weight:105,kbExpr:T.focus,primary:my.primary,mac:my.mac,win:my.win,linux:my.linux}}));de(new vl({id:ti.ReplaceOneAction,precondition:lu,handler:s=>s.replace(),kbOpts:{weight:105,kbExpr:T.focus,primary:3094}}));de(new vl({id:ti.ReplaceOneAction,precondition:lu,handler:s=>s.replace(),kbOpts:{weight:105,kbExpr:G.and(T.focus,x4),primary:3}}));de(new vl({id:ti.ReplaceAllAction,precondition:lu,handler:s=>s.replaceAll(),kbOpts:{weight:105,kbExpr:T.focus,primary:2563}}));de(new vl({id:ti.ReplaceAllAction,precondition:lu,handler:s=>s.replaceAll(),kbOpts:{weight:105,kbExpr:G.and(T.focus,x4),primary:void 0,mac:{primary:2051}}}));de(new vl({id:ti.SelectAllMatchesAction,precondition:lu,handler:s=>s.selectAllMatches(),kbOpts:{weight:105,kbExpr:T.focus,primary:515}}));const WIe={0:\" \",1:\"u\",2:\"r\"},h9=65535,Ba=16777215,g9=4278190080;class gT{constructor(e){const t=Math.ceil(e/32);this._states=new Uint32Array(t)}get(e){const t=e/32|0,i=e%32;return(this._states[t]&1<<i)!==0}set(e,t){const i=e/32|0,n=e%32,o=this._states[i];t?this._states[i]=o|1<<n:this._states[i]=o&~(1<<n)}}class qo{constructor(e,t,i){if(e.length!==t.length||e.length>h9)throw new Error(\"invalid startIndexes or endIndexes size\");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new gT(e.length),this._userDefinedStates=new gT(e.length),this._recoveredStates=new gT(e.length),this._types=i,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;const e=[],t=(i,n)=>{const o=e[e.length-1];return this.getStartLineNumber(o)<=i&&this.getEndLineNumber(o)>=n};for(let i=0,n=this._startIndexes.length;i<n;i++){const o=this._startIndexes[i],r=this._endIndexes[i];if(o>Ba||r>Ba)throw new Error(\"startLineNumber or endLineNumber must not exceed \"+Ba);for(;e.length>0&&!t(o,r);)e.pop();const a=e.length>0?e[e.length-1]:-1;e.push(i),this._startIndexes[i]=o+((a&255)<<24),this._endIndexes[i]=r+((a&65280)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&Ba}getEndLineNumber(e){return this._endIndexes[e]&Ba}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){return this._collapseStates.get(e)}setCollapsed(e,t){this._collapseStates.set(e,t)}isUserDefined(e){return this._userDefinedStates.get(e)}setUserDefined(e,t){return this._userDefinedStates.set(e,t)}isRecovered(e){return this._recoveredStates.get(e)}setRecovered(e,t){return this._recoveredStates.set(e,t)}getSource(e){return this.isUserDefined(e)?1:this.isRecovered(e)?2:0}setSource(e,t){t===1?(this.setUserDefined(e,!0),this.setRecovered(e,!1)):t===2?(this.setUserDefined(e,!1),this.setRecovered(e,!0)):(this.setUserDefined(e,!1),this.setRecovered(e,!1))}setCollapsedAllOfType(e,t){let i=!1;if(this._types)for(let n=0;n<this._types.length;n++)this._types[n]===e&&(this.setCollapsed(n,t),i=!0);return i}toRegion(e){return new HIe(this,e)}getParentIndex(e){this.ensureParentIndices();const t=((this._startIndexes[e]&g9)>>>24)+((this._endIndexes[e]&g9)>>>16);return t===h9?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(i===0)return-1;for(;t<i;){const n=Math.floor((t+i)/2);e<this.getStartLineNumber(n)?i=n:t=n+1}return t-1}findRange(e){let t=this.findIndex(e);if(t>=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);t!==-1;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1}toString(){const e=[];for(let t=0;t<this.length;t++)e[t]=`[${WIe[this.getSource(t)]}${this.isCollapsed(t)?\"+\":\"-\"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(\", \")}toFoldRange(e){return{startLineNumber:this._startIndexes[e]&Ba,endLineNumber:this._endIndexes[e]&Ba,type:this._types?this._types[e]:void 0,isCollapsed:this.isCollapsed(e),source:this.getSource(e)}}static fromFoldRanges(e){const t=e.length,i=new Uint32Array(t),n=new Uint32Array(t);let o=[],r=!1;for(let l=0;l<t;l++){const d=e[l];i[l]=d.startLineNumber,n[l]=d.endLineNumber,o.push(d.type),d.type&&(r=!0)}r||(o=void 0);const a=new qo(i,n,o);for(let l=0;l<t;l++)e[l].isCollapsed&&a.setCollapsed(l,!0),a.setSource(l,e[l].source);return a}static sanitizeAndMerge(e,t,i){i=i??Number.MAX_VALUE;const n=(m,_)=>Array.isArray(m)?v=>v<_?m[v]:void 0:v=>v<_?m.toFoldRange(v):void 0,o=n(e,e.length),r=n(t,t.length);let a=0,l=0,d=o(0),c=r(0);const u=[];let h,g=0;const f=[];for(;d||c;){let m;if(c&&(!d||d.startLineNumber>=c.startLineNumber))d&&d.startLineNumber===c.startLineNumber?(c.source===1?m=c:(m=d,m.isCollapsed=c.isCollapsed&&d.endLineNumber===c.endLineNumber,m.source=0),d=o(++a)):(m=c,c.isCollapsed&&c.source===0&&(m.source=2)),c=r(++l);else{let _=l,v=c;for(;;){if(!v||v.startLineNumber>d.endLineNumber){m=d;break}if(v.source===1&&v.endLineNumber>d.endLineNumber)break;v=r(++_)}d=o(++a)}if(m){for(;h&&h.endLineNumber<m.startLineNumber;)h=u.pop();m.endLineNumber>m.startLineNumber&&m.startLineNumber>g&&m.endLineNumber<=i&&(!h||h.endLineNumber>=m.endLineNumber)&&(f.push(m),g=m.startLineNumber,h&&u.push(h),h=m)}}return f}}class HIe{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class VIe{get regions(){return this._regions}get textModel(){return this._textModel}constructor(e,t){this._updateEventEmitter=new B,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new qo(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}toggleCollapseState(e){if(!e.length)return;e=e.sort((i,n)=>i.regionIndex-n.regionIndex);const t={};this._decorationProvider.changeDecorations(i=>{let n=0,o=-1,r=-1;const a=l=>{for(;n<l;){const d=this._regions.getEndLineNumber(n),c=this._regions.isCollapsed(n);if(d<=o){const u=this.regions.getSource(n)!==0;i.changeDecorationOptions(this._editorDecorationIds[n],this._decorationProvider.getDecorationOption(c,d<=r,u))}c&&d>r&&(r=d),n++}};for(const l of e){const d=l.regionIndex,c=this._editorDecorationIds[d];if(c&&!t[c]){t[c]=!0,a(d);const u=!this._regions.isCollapsed(d);this._regions.setCollapsed(d,u),o=Math.max(o,this._regions.getEndLineNumber(d))}}a(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}removeManualRanges(e){const t=new Array,i=n=>{for(const o of e)if(!(o.startLineNumber>n.endLineNumber||n.startLineNumber>o.endLineNumber))return!0;return!1};for(let n=0;n<this._regions.length;n++){const o=this._regions.toFoldRange(n);(o.source===0||!i(o))&&t.push(o)}this.updatePost(qo.fromFoldRanges(t))}update(e,t=[]){const i=this._currentFoldedOrManualRanges(t),n=qo.sanitizeAndMerge(e,i,this._textModel.getLineCount());this.updatePost(qo.fromFoldRanges(n))}updatePost(e){const t=[];let i=-1;for(let n=0,o=e.length;n<o;n++){const r=e.getStartLineNumber(n),a=e.getEndLineNumber(n),l=e.isCollapsed(n),d=e.getSource(n)!==0,c={startLineNumber:r,startColumn:this._textModel.getLineMaxColumn(r),endLineNumber:a,endColumn:this._textModel.getLineMaxColumn(a)+1};t.push({range:c,options:this._decorationProvider.getDecorationOption(l,a<=i,d)}),l&&a>i&&(i=a)}this._decorationProvider.changeDecorations(n=>this._editorDecorationIds=n.deltaDecorations(this._editorDecorationIds,t)),this._regions=e,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(e=[]){const t=(n,o)=>{for(const r of e)if(n<r&&r<=o)return!0;return!1},i=[];for(let n=0,o=this._regions.length;n<o;n++){let r=this.regions.isCollapsed(n);const a=this.regions.getSource(n);if(r||a!==0){const l=this._regions.toFoldRange(n),d=this._textModel.getDecorationRange(this._editorDecorationIds[n]);d&&(r&&t(d.startLineNumber,d.endLineNumber)&&(r=!1),i.push({startLineNumber:d.startLineNumber,endLineNumber:d.endLineNumber,type:l.type,isCollapsed:r,source:a}))}}return i}getMemento(){const e=this._currentFoldedOrManualRanges(),t=[],i=this._textModel.getLineCount();for(let n=0,o=e.length;n<o;n++){const r=e[n];if(r.startLineNumber>=r.endLineNumber||r.startLineNumber<1||r.endLineNumber>i)continue;const a=this._getLinesChecksum(r.startLineNumber+1,r.endLineNumber);t.push({startLineNumber:r.startLineNumber,endLineNumber:r.endLineNumber,isCollapsed:r.isCollapsed,source:r.source,checksum:a})}return t.length>0?t:void 0}applyMemento(e){var t,i;if(!Array.isArray(e))return;const n=[],o=this._textModel.getLineCount();for(const a of e){if(a.startLineNumber>=a.endLineNumber||a.startLineNumber<1||a.endLineNumber>o)continue;const l=this._getLinesChecksum(a.startLineNumber+1,a.endLineNumber);(!a.checksum||l===a.checksum)&&n.push({startLineNumber:a.startLineNumber,endLineNumber:a.endLineNumber,type:void 0,isCollapsed:(t=a.isCollapsed)!==null&&t!==void 0?t:!0,source:(i=a.source)!==null&&i!==void 0?i:0})}const r=qo.sanitizeAndMerge(this._regions,n,o);this.updatePost(qo.fromFoldRanges(r))}_getLinesChecksum(e,t){return XL(this._textModel.getLineContent(e)+this._textModel.getLineContent(t))%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(e,t){const i=[];if(this._regions){let n=this._regions.findRange(e),o=1;for(;n>=0;){const r=this._regions.toRegion(n);(!t||t(r,o))&&i.push(r),o++,n=r.parentIndex}}return i}getRegionAtLine(e){if(this._regions){const t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){const i=[],n=e?e.regionIndex+1:0,o=e?e.endLineNumber:Number.MAX_VALUE;if(t&&t.length===2){const r=[];for(let a=n,l=this._regions.length;a<l;a++){const d=this._regions.toRegion(a);if(this._regions.getStartLineNumber(a)<o){for(;r.length>0&&!d.containedBy(r[r.length-1]);)r.pop();r.push(d),t(d,r.length)&&i.push(d)}else break}}else for(let r=n,a=this._regions.length;r<a;r++){const l=this._regions.toRegion(r);if(this._regions.getStartLineNumber(r)<o)(!t||t(l))&&i.push(l);else break}return i}}function uG(s,e,t){const i=[];for(const n of t){const o=s.getRegionAtLine(n);if(o){const r=!o.isCollapsed;if(i.push(o),e>1){const a=s.getRegionsInside(o,(l,d)=>l.isCollapsed!==r&&d<e);i.push(...a)}}}s.toggleCollapseState(i)}function y0(s,e,t=Number.MAX_VALUE,i){const n=[];if(i&&i.length>0)for(const o of i){const r=s.getRegionAtLine(o);if(r&&(r.isCollapsed!==e&&n.push(r),t>1)){const a=s.getRegionsInside(r,(l,d)=>l.isCollapsed!==e&&d<t);n.push(...a)}}else{const o=s.getRegionsInside(null,(r,a)=>r.isCollapsed!==e&&a<t);n.push(...o)}s.toggleCollapseState(n)}function hG(s,e,t,i){const n=[];for(const o of i){const r=s.getAllRegionsAtLine(o,(a,l)=>a.isCollapsed!==e&&l<=t);n.push(...r)}s.toggleCollapseState(n)}function zIe(s,e,t){const i=[];for(const n of t){const o=s.getAllRegionsAtLine(n,r=>r.isCollapsed!==e);o.length>0&&i.push(o[0])}s.toggleCollapseState(i)}function UIe(s,e,t,i){const n=(r,a)=>a===e&&r.isCollapsed!==t&&!i.some(l=>r.containsLine(l)),o=s.getRegionsInside(null,n);s.toggleCollapseState(o)}function gG(s,e,t){const i=[];for(const r of t){const a=s.getAllRegionsAtLine(r,void 0);a.length>0&&i.push(a[0])}const n=r=>i.every(a=>!a.containedBy(r)&&!r.containedBy(a))&&r.isCollapsed!==e,o=s.getRegionsInside(null,n);s.toggleCollapseState(o)}function I4(s,e,t){const i=s.textModel,n=s.regions,o=[];for(let r=n.length-1;r>=0;r--)if(t!==n.isCollapsed(r)){const a=n.getStartLineNumber(r);e.test(i.getLineContent(a))&&o.push(n.toRegion(r))}s.toggleCollapseState(o)}function T4(s,e,t){const i=s.regions,n=[];for(let o=i.length-1;o>=0;o--)t!==i.isCollapsed(o)&&e===i.getType(o)&&n.push(i.toRegion(o));s.toggleCollapseState(n)}function $Ie(s,e){let t=null;const i=e.getRegionAtLine(s);if(i!==null&&(t=i.startLineNumber,s===t)){const n=i.parentIndex;n!==-1?t=e.regions.getStartLineNumber(n):t=null}return t}function jIe(s,e){let t=e.getRegionAtLine(s);if(t!==null&&t.startLineNumber===s){if(s!==t.startLineNumber)return t.startLineNumber;{const i=t.parentIndex;let n=0;for(i!==-1&&(n=e.regions.getStartLineNumber(t.parentIndex));t!==null;)if(t.regionIndex>0){if(t=e.regions.toRegion(t.regionIndex-1),t.startLineNumber<=n)return null;if(t.parentIndex===i)return t.startLineNumber}else return null}}else if(e.regions.length>0)for(t=e.regions.toRegion(e.regions.length-1);t!==null;){if(t.startLineNumber<s)return t.startLineNumber;t.regionIndex>0?t=e.regions.toRegion(t.regionIndex-1):t=null}return null}function KIe(s,e){let t=e.getRegionAtLine(s);if(t!==null&&t.startLineNumber===s){const i=t.parentIndex;let n=0;if(i!==-1)n=e.regions.getEndLineNumber(t.parentIndex);else{if(e.regions.length===0)return null;n=e.regions.getEndLineNumber(e.regions.length-1)}for(;t!==null;)if(t.regionIndex<e.regions.length){if(t=e.regions.toRegion(t.regionIndex+1),t.startLineNumber>=n)return null;if(t.parentIndex===i)return t.startLineNumber}else return null}else if(e.regions.length>0)for(t=e.regions.toRegion(0);t!==null;){if(t.startLineNumber>s)return t.startLineNumber;t.regionIndex<e.regions.length?t=e.regions.toRegion(t.regionIndex+1):t=null}return null}class qIe{get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}constructor(e){this._updateEventEmitter=new B,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange(t=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some(t=>t.range.endLineNumber!==t.range.startLineNumber||Ah(t.text)[0]!==0))}updateHiddenRanges(){let e=!1;const t=[];let i=0,n=0,o=Number.MAX_VALUE,r=-1;const a=this._foldingModel.regions;for(;i<a.length;i++){if(!a.isCollapsed(i))continue;const l=a.getStartLineNumber(i)+1,d=a.getEndLineNumber(i);o<=l&&d<=r||(!e&&n<this._hiddenRanges.length&&this._hiddenRanges[n].startLineNumber===l&&this._hiddenRanges[n].endLineNumber===d?(t.push(this._hiddenRanges[n]),n++):(e=!0,t.push(new x(l,1,d,1))),o=l,r=d)}(this._hasLineChanges||e||n<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyHiddenRanges(e){this._hiddenRanges=e,this._hasLineChanges=!1,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return f9(this._hiddenRanges,e)!==null}adjustSelections(e){let t=!1;const i=this._foldingModel.textModel;let n=null;const o=r=>((!n||!GIe(r,n))&&(n=f9(this._hiddenRanges,r)),n?n.startLineNumber-1:null);for(let r=0,a=e.length;r<a;r++){let l=e[r];const d=o(l.startLineNumber);d&&(l=l.setStartPosition(d,i.getLineMaxColumn(d)),t=!0);const c=o(l.endLineNumber);c&&(l=l.setEndPosition(c,i.getLineMaxColumn(c)),t=!0),e[r]=l}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function GIe(s,e){return s>=e.startLineNumber&&s<=e.endLineNumber}function f9(s,e){const t=Vb(s,i=>e<i.startLineNumber)-1;return t>=0&&s[t].endLineNumber>=e?s[t]:null}const ZIe=5e3,XIe=\"indent\";class N4{constructor(e,t,i){this.editorModel=e,this.languageConfigurationService=t,this.foldingRangesLimit=i,this.id=XIe}dispose(){}compute(e){const t=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,i=t&&!!t.offSide,n=t&&t.markers;return Promise.resolve(JIe(this.editorModel,i,n,this.foldingRangesLimit))}}let YIe=class{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){if(e>Ba||t>Ba)return;const n=this._length;this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1)}toIndentRanges(e){const t=this._foldingRangesLimit.limit;if(this._length<=t){this._foldingRangesLimit.update(this._length,!1);const i=new Uint32Array(this._length),n=new Uint32Array(this._length);for(let o=this._length-1,r=0;o>=0;o--,r++)i[r]=this._startIndexes[o],n[r]=this._endIndexes[o];return new qo(i,n)}else{this._foldingRangesLimit.update(this._length,t);let i=0,n=this._indentOccurrences.length;for(let l=0;l<this._indentOccurrences.length;l++){const d=this._indentOccurrences[l];if(d){if(d+i>t){n=l;break}i+=d}}const o=e.getOptions().tabSize,r=new Uint32Array(t),a=new Uint32Array(t);for(let l=this._length-1,d=0;l>=0;l--){const c=this._startIndexes[l],u=e.getLineContent(c),h=Tx(u,o);(h<n||h===n&&i++<t)&&(r[d]=c,a[d]=this._endIndexes[l],d++)}return new qo(r,a)}}};const QIe={limit:ZIe,update:()=>{}};function JIe(s,e,t,i=QIe){const n=s.getOptions().tabSize,o=new YIe(i);let r;t&&(r=new RegExp(`(${t.start.source})|(?:${t.end.source})`));const a=[],l=s.getLineCount()+1;a.push({indent:-1,endAbove:l,line:l});for(let d=s.getLineCount();d>0;d--){const c=s.getLineContent(d),u=Tx(c,n);let h=a[a.length-1];if(u===-1){e&&(h.endAbove=d);continue}let g;if(r&&(g=c.match(r)))if(g[1]){let f=a.length-1;for(;f>0&&a[f].indent!==-2;)f--;if(f>0){a.length=f+1,h=a[f],o.insertFirst(d,h.line,u),h.line=d,h.indent=u,h.endAbove=d;continue}}else{a.push({indent:-2,endAbove:d,line:d});continue}if(h.indent>u){do a.pop(),h=a[a.length-1];while(h.indent>u);const f=h.endAbove-1;f-d>=1&&o.insertFirst(d,f,u)}h.indent===u?h.endAbove=d:a.push({indent:u,endAbove:d,line:d})}return o.toIndentRanges(s)}const eTe=N(\"editor.foldBackground\",{light:Ee(Vu,.3),dark:Ee(Vu,.3),hcDark:null,hcLight:null},p(\"foldBackgroundBackground\",\"Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editorGutter.foldingControlForeground\",{dark:Ql,light:Ql,hcDark:Ql,hcLight:Ql},p(\"editorGutter.foldingControlForeground\",\"Color of the folding control in the editor gutter.\"));const Ik=xi(\"folding-expanded\",oe.chevronDown,p(\"foldingExpandedIcon\",\"Icon for expanded ranges in the editor glyph margin.\")),Tk=xi(\"folding-collapsed\",oe.chevronRight,p(\"foldingCollapsedIcon\",\"Icon for collapsed ranges in the editor glyph margin.\")),fG=xi(\"folding-manual-collapsed\",Tk,p(\"foldingManualCollapedIcon\",\"Icon for manually collapsed ranges in the editor glyph margin.\")),pG=xi(\"folding-manual-expanded\",Ik,p(\"foldingManualExpandedIcon\",\"Icon for manually expanded ranges in the editor glyph margin.\")),A4={color:Ei(eTe),position:1},S0=p(\"linesCollapsed\",\"Click to expand the range.\"),Nk=p(\"linesExpanded\",\"Click to collapse the range.\");class Zi{constructor(e){this.editor=e,this.showFoldingControls=\"mouseover\",this.showFoldingHighlights=!0}getDecorationOption(e,t,i){return t?Zi.HIDDEN_RANGE_DECORATION:this.showFoldingControls===\"never\"?e?this.showFoldingHighlights?Zi.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION:Zi.NO_CONTROLS_COLLAPSED_RANGE_DECORATION:Zi.NO_CONTROLS_EXPANDED_RANGE_DECORATION:e?i?this.showFoldingHighlights?Zi.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:Zi.MANUALLY_COLLAPSED_VISUAL_DECORATION:this.showFoldingHighlights?Zi.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:Zi.COLLAPSED_VISUAL_DECORATION:this.showFoldingControls===\"mouseover\"?i?Zi.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION:Zi.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:i?Zi.MANUALLY_EXPANDED_VISUAL_DECORATION:Zi.EXPANDED_VISUAL_DECORATION}changeDecorations(e){return this.editor.changeDecorations(e)}removeDecorations(e){this.editor.removeDecorations(e)}}Zi.COLLAPSED_VISUAL_DECORATION=Ye.register({description:\"folding-collapsed-visual-decoration\",stickiness:0,afterContentClassName:\"inline-folded\",isWholeLine:!0,linesDecorationsTooltip:S0,firstLineDecorationClassName:Pe.asClassName(Tk)});Zi.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=Ye.register({description:\"folding-collapsed-highlighted-visual-decoration\",stickiness:0,afterContentClassName:\"inline-folded\",className:\"folded-background\",minimap:A4,isWholeLine:!0,linesDecorationsTooltip:S0,firstLineDecorationClassName:Pe.asClassName(Tk)});Zi.MANUALLY_COLLAPSED_VISUAL_DECORATION=Ye.register({description:\"folding-manually-collapsed-visual-decoration\",stickiness:0,afterContentClassName:\"inline-folded\",isWholeLine:!0,linesDecorationsTooltip:S0,firstLineDecorationClassName:Pe.asClassName(fG)});Zi.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=Ye.register({description:\"folding-manually-collapsed-highlighted-visual-decoration\",stickiness:0,afterContentClassName:\"inline-folded\",className:\"folded-background\",minimap:A4,isWholeLine:!0,linesDecorationsTooltip:S0,firstLineDecorationClassName:Pe.asClassName(fG)});Zi.NO_CONTROLS_COLLAPSED_RANGE_DECORATION=Ye.register({description:\"folding-no-controls-range-decoration\",stickiness:0,afterContentClassName:\"inline-folded\",isWholeLine:!0,linesDecorationsTooltip:S0});Zi.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION=Ye.register({description:\"folding-no-controls-range-decoration\",stickiness:0,afterContentClassName:\"inline-folded\",className:\"folded-background\",minimap:A4,isWholeLine:!0,linesDecorationsTooltip:S0});Zi.EXPANDED_VISUAL_DECORATION=Ye.register({description:\"folding-expanded-visual-decoration\",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:\"alwaysShowFoldIcons \"+Pe.asClassName(Ik),linesDecorationsTooltip:Nk});Zi.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=Ye.register({description:\"folding-expanded-auto-hide-visual-decoration\",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:Pe.asClassName(Ik),linesDecorationsTooltip:Nk});Zi.MANUALLY_EXPANDED_VISUAL_DECORATION=Ye.register({description:\"folding-manually-expanded-visual-decoration\",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:\"alwaysShowFoldIcons \"+Pe.asClassName(pG),linesDecorationsTooltip:Nk});Zi.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION=Ye.register({description:\"folding-manually-expanded-auto-hide-visual-decoration\",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:Pe.asClassName(pG),linesDecorationsTooltip:Nk});Zi.NO_CONTROLS_EXPANDED_RANGE_DECORATION=Ye.register({description:\"folding-no-controls-range-decoration\",stickiness:0,isWholeLine:!0});Zi.HIDDEN_RANGE_DECORATION=Ye.register({description:\"folding-hidden-range-decoration\",stickiness:1});const tTe={},iTe=\"syntax\";class M4{constructor(e,t,i,n,o){this.editorModel=e,this.providers=t,this.handleFoldingRangesChange=i,this.foldingRangesLimit=n,this.fallbackRangeProvider=o,this.id=iTe,this.disposables=new Y,o&&this.disposables.add(o);for(const r of t)typeof r.onDidChange==\"function\"&&this.disposables.add(r.onDidChange(i))}compute(e){return nTe(this.providers,this.editorModel,e).then(t=>{var i,n;return t?oTe(t,this.foldingRangesLimit):(n=(i=this.fallbackRangeProvider)===null||i===void 0?void 0:i.compute(e))!==null&&n!==void 0?n:null})}dispose(){this.disposables.dispose()}}function nTe(s,e,t){let i=null;const n=s.map((o,r)=>Promise.resolve(o.provideFoldingRanges(e,tTe,t)).then(a=>{if(!t.isCancellationRequested&&Array.isArray(a)){Array.isArray(i)||(i=[]);const l=e.getLineCount();for(const d of a)d.start>0&&d.end>d.start&&d.end<=l&&i.push({start:d.start,end:d.end,rank:r,kind:d.kind})}},Ai));return Promise.all(n).then(o=>i)}class sTe{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){if(e>Ba||t>Ba)return;const o=this._length;this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=n,this._types[o]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1)}toIndentRanges(){const e=this._foldingRangesLimit.limit;if(this._length<=e){this._foldingRangesLimit.update(this._length,!1);const t=new Uint32Array(this._length),i=new Uint32Array(this._length);for(let n=0;n<this._length;n++)t[n]=this._startIndexes[n],i[n]=this._endIndexes[n];return new qo(t,i,this._types)}else{this._foldingRangesLimit.update(this._length,e);let t=0,i=this._nestingLevelCounts.length;for(let a=0;a<this._nestingLevelCounts.length;a++){const l=this._nestingLevelCounts[a];if(l){if(l+t>e){i=a;break}t+=l}}const n=new Uint32Array(e),o=new Uint32Array(e),r=[];for(let a=0,l=0;a<this._length;a++){const d=this._nestingLevels[a];(d<i||d===i&&t++<e)&&(n[l]=this._startIndexes[a],o[l]=this._endIndexes[a],r[l]=this._types[a],l++)}return new qo(n,o,r)}}}function oTe(s,e){const t=s.sort((r,a)=>{let l=r.start-a.start;return l===0&&(l=r.rank-a.rank),l}),i=new sTe(e);let n;const o=[];for(const r of t)if(!n)n=r,i.add(r.start,r.end,r.kind&&r.kind.value,o.length);else if(r.start>n.start)if(r.end<=n.end)o.push(n),n=r,i.add(r.start,r.end,r.kind&&r.kind.value,o.length);else{if(r.start>n.end){do n=o.pop();while(n&&r.start>n.end);n&&o.push(n),n=r}i.add(r.start,r.end,r.kind&&r.kind.value,o.length)}return i.toIndentRanges()}var rTe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ov=function(s,e){return function(t,i){e(t,i,s)}},qp;const ds=new ue(\"foldingEnabled\",!1);let qc=qp=class extends H{static get(e){return e.getContribution(qp.ID)}static getFoldingRangeProviders(e,t){var i,n;const o=e.foldingRangeProvider.ordered(t);return(n=(i=qp._foldingRangeSelector)===null||i===void 0?void 0:i.call(qp,o,t))!==null&&n!==void 0?n:o}constructor(e,t,i,n,o,r){super(),this.contextKeyService=t,this.languageConfigurationService=i,this.languageFeaturesService=r,this.localToDispose=this._register(new Y),this.editor=e,this._foldingLimitReporter=new mG(e);const a=this.editor.getOptions();this._isEnabled=a.get(43),this._useFoldingProviders=a.get(44)!==\"indentation\",this._unfoldOnClickAfterEndOfLine=a.get(48),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=a.get(46),this.updateDebounceInfo=o.for(r.foldingRangeProvider,\"Folding\",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new Zi(e),this.foldingDecorationProvider.showFoldingControls=a.get(110),this.foldingDecorationProvider.showFoldingHighlights=a.get(45),this.foldingEnabled=ds.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(l=>{if(l.hasChanged(43)&&(this._isEnabled=this.editor.getOptions().get(43),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),l.hasChanged(47)&&this.onModelChanged(),l.hasChanged(110)||l.hasChanged(45)){const d=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=d.get(110),this.foldingDecorationProvider.showFoldingHighlights=d.get(45),this.triggerFoldingModelChanged()}l.hasChanged(44)&&(this._useFoldingProviders=this.editor.getOptions().get(44)!==\"indentation\",this.onFoldingStrategyChanged()),l.hasChanged(48)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(48)),l.hasChanged(46)&&(this._foldingImportsByDefault=this.editor.getOptions().get(46))})),this.onModelChanged()}saveViewState(){const e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){const t=this.foldingModel.getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){const t=this.editor.getModel();if(!(!t||!this._isEnabled||t.isTooLargeForTokenization()||!this.hiddenRangeModel)&&e&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions&&e.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(e.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();const e=this.editor.getModel();!this._isEnabled||!e||e.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new VIe(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new qIe(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(t=>this.onHiddenRangesChanges(t))),this.updateScheduler=new _a(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new Wt(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(t=>this.onDidChangeModelContent(t))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(t=>this.onEditorMouseDown(t))),this.localToDispose.add(this.editor.onMouseUp(t=>this.onEditorMouseUp(t))),this.localToDispose.add({dispose:()=>{var t,i;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),(t=this.updateScheduler)===null||t===void 0||t.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,(i=this.rangeProvider)===null||i===void 0||i.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var e;(e=this.rangeProvider)===null||e===void 0||e.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;const t=new N4(e,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=t,this._useFoldingProviders&&this.foldingModel){const i=qp.getFoldingRangeProviders(this.languageFeaturesService,e);i.length>0&&(this.rangeProvider=new M4(e,i,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,t))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(e){var t;(t=this.hiddenRangeModel)===null||t===void 0||t.notifyChangeModelContent(e),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const e=this.foldingModel;if(!e)return null;const t=new Jn,i=this.getRangeProvider(e.textModel),n=this.foldingRegionPromise=Dn(o=>i.compute(o));return n.then(o=>{if(o&&n===this.foldingRegionPromise){let r;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const c=o.setCollapsedAllOfType(Ps.Imports.value,!0);c&&(r=cl.capture(this.editor),this._currentModelHasFoldedImports=c)}const a=this.editor.getSelections(),l=a?a.map(c=>c.startLineNumber):[];e.update(o,l),r==null||r.restore(this.editor);const d=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=d)}return e})}).then(void 0,e=>(Xe(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){const t=this.editor.getSelections();t&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t)}this.editor.setHiddenAreas(e,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then(t=>{if(t){const i=this.editor.getSelections();if(i&&i.length>0){const n=[];for(const o of i){const r=o.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(r)&&n.push(...t.getAllRegionsAtLine(r,a=>a.isCollapsed&&r>a.startLineNumber))}n.length&&(t.toggleCollapseState(n),this.reveal(i[0].getPosition()))}}}).then(void 0,Xe)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range||!e.event.leftButton&&!e.event.middleButton)return;const t=e.target.range;let i=!1;switch(e.target.type){case 4:{const n=e.target.detail,o=e.target.element.offsetLeft;if(n.offsetX-o<4)return;i=!0;break}case 7:{if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!e.target.detail.isAfterLines)break;return}case 6:{if(this.hiddenRangeModel.hasRanges()){const n=this.editor.getModel();if(n&&t.startColumn===n.getLineMaxColumn(t.startLineNumber))break}return}default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:i}}onEditorMouseUp(e){const t=this.foldingModel;if(!t||!this.mouseDownInfo||!e.target)return;const i=this.mouseDownInfo.lineNumber,n=this.mouseDownInfo.iconClicked,o=e.target.range;if(!o||o.startLineNumber!==i)return;if(n){if(e.target.type!==4)return}else{const a=this.editor.getModel();if(!a||o.startColumn!==a.getLineMaxColumn(i))return}const r=t.getRegionAtLine(i);if(r&&r.startLineNumber===i){const a=r.isCollapsed;if(n||a){const l=e.event.altKey;let d=[];if(l){const c=h=>!h.containedBy(r)&&!r.containedBy(h),u=t.getRegionsInside(null,c);for(const h of u)h.isCollapsed&&d.push(h);d.length===0&&(d=u)}else{const c=e.event.middleButton||e.event.shiftKey;if(c)for(const u of t.getRegionsInside(r))u.isCollapsed===a&&d.push(u);(a||!c||d.length===0)&&d.push(r)}t.toggleCollapseState(d),this.reveal({lineNumber:i,column:1})}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};qc.ID=\"editor.contrib.folding\";qc=qp=rTe([ov(1,Be),ov(2,Yt),ov(3,en),ov(4,Ur),ov(5,Ce)],qc);class mG{constructor(e){this.editor=e,this._onDidChange=new B,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(47)}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}class Ss extends me{runEditorCommand(e,t,i){const n=e.get(Yt),o=qc.get(t);if(!o)return;const r=o.getFoldingModel();if(r)return this.reportTelemetry(e,t),r.then(a=>{if(a){this.invoke(o,a,t,i,n);const l=t.getSelection();l&&o.reveal(l.getStartPosition())}})}getSelectedLines(e){const t=e.getSelections();return t?t.map(i=>i.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(i=>i+1):this.getSelectedLines(t)}run(e,t){}}function _G(s){if(!oo(s)){if(!Ms(s))return!1;const e=s;if(!oo(e.levels)&&!yh(e.levels)||!oo(e.direction)&&!lo(e.direction)||!oo(e.selectionLines)&&(!Array.isArray(e.selectionLines)||!e.selectionLines.every(yh)))return!1}return!0}class aTe extends Ss{constructor(){super({id:\"editor.unfold\",label:p(\"unfoldAction.label\",\"Unfold\"),alias:\"Unfold\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},metadata:{description:\"Unfold the content in the editor\",args:[{name:\"Unfold editor argument\",description:`Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t`,constraint:_G,schema:{type:\"object\",properties:{levels:{type:\"number\",default:1},direction:{type:\"string\",enum:[\"up\",\"down\"],default:\"down\"},selectionLines:{type:\"array\",items:{type:\"number\"}}}}}]}})}invoke(e,t,i,n){const o=n&&n.levels||1,r=this.getLineNumbers(n,i);n&&n.direction===\"up\"?hG(t,!1,o,r):y0(t,!1,o,r)}}class lTe extends Ss{constructor(){super({id:\"editor.unfoldRecursively\",label:p(\"unFoldRecursivelyAction.label\",\"Unfold Recursively\"),alias:\"Unfold Recursively\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2142),weight:100}})}invoke(e,t,i,n){y0(t,!1,Number.MAX_VALUE,this.getSelectedLines(i))}}class dTe extends Ss{constructor(){super({id:\"editor.fold\",label:p(\"foldAction.label\",\"Fold\"),alias:\"Fold\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:3164,mac:{primary:2652},weight:100},metadata:{description:\"Fold the content in the editor\",args:[{name:\"Fold editor argument\",description:`Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t`,constraint:_G,schema:{type:\"object\",properties:{levels:{type:\"number\"},direction:{type:\"string\",enum:[\"up\",\"down\"]},selectionLines:{type:\"array\",items:{type:\"number\"}}}}}]}})}invoke(e,t,i,n){const o=this.getLineNumbers(n,i),r=n&&n.levels,a=n&&n.direction;typeof r!=\"number\"&&typeof a!=\"string\"?zIe(t,!0,o):a===\"up\"?hG(t,!0,r||1,o):y0(t,!0,r||1,o)}}class cTe extends Ss{constructor(){super({id:\"editor.toggleFold\",label:p(\"toggleFoldAction.label\",\"Toggle Fold\"),alias:\"Toggle Fold\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2090),weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);uG(t,1,n)}}class uTe extends Ss{constructor(){super({id:\"editor.foldRecursively\",label:p(\"foldRecursivelyAction.label\",\"Fold Recursively\"),alias:\"Fold Recursively\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2140),weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);y0(t,!0,Number.MAX_VALUE,n)}}class hTe extends Ss{constructor(){super({id:\"editor.foldAllBlockComments\",label:p(\"foldAllBlockComments.label\",\"Fold All Block Comments\"),alias:\"Fold All Block Comments\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2138),weight:100}})}invoke(e,t,i,n,o){if(t.regions.hasTypes())T4(t,Ps.Comment.value,!0);else{const r=i.getModel();if(!r)return;const a=o.getLanguageConfiguration(r.getLanguageId()).comments;if(a&&a.blockCommentStartToken){const l=new RegExp(\"^\\\\s*\"+rr(a.blockCommentStartToken));I4(t,l,!0)}}}}class gTe extends Ss{constructor(){super({id:\"editor.foldAllMarkerRegions\",label:p(\"foldAllMarkerRegions.label\",\"Fold All Regions\"),alias:\"Fold All Regions\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2077),weight:100}})}invoke(e,t,i,n,o){if(t.regions.hasTypes())T4(t,Ps.Region.value,!0);else{const r=i.getModel();if(!r)return;const a=o.getLanguageConfiguration(r.getLanguageId()).foldingRules;if(a&&a.markers&&a.markers.start){const l=new RegExp(a.markers.start);I4(t,l,!0)}}}}class fTe extends Ss{constructor(){super({id:\"editor.unfoldAllMarkerRegions\",label:p(\"unfoldAllMarkerRegions.label\",\"Unfold All Regions\"),alias:\"Unfold All Regions\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2078),weight:100}})}invoke(e,t,i,n,o){if(t.regions.hasTypes())T4(t,Ps.Region.value,!1);else{const r=i.getModel();if(!r)return;const a=o.getLanguageConfiguration(r.getLanguageId()).foldingRules;if(a&&a.markers&&a.markers.start){const l=new RegExp(a.markers.start);I4(t,l,!1)}}}}class pTe extends Ss{constructor(){super({id:\"editor.foldAllExcept\",label:p(\"foldAllExcept.label\",\"Fold All Except Selected\"),alias:\"Fold All Except Selected\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2136),weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);gG(t,!0,n)}}class mTe extends Ss{constructor(){super({id:\"editor.unfoldAllExcept\",label:p(\"unfoldAllExcept.label\",\"Unfold All Except Selected\"),alias:\"Unfold All Except Selected\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2134),weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);gG(t,!1,n)}}class _Te extends Ss{constructor(){super({id:\"editor.foldAll\",label:p(\"foldAllAction.label\",\"Fold All\"),alias:\"Fold All\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2069),weight:100}})}invoke(e,t,i){y0(t,!0)}}class vTe extends Ss{constructor(){super({id:\"editor.unfoldAll\",label:p(\"unfoldAllAction.label\",\"Unfold All\"),alias:\"Unfold All\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2088),weight:100}})}invoke(e,t,i){y0(t,!1)}}class Vf extends Ss{getFoldingLevel(){return parseInt(this.id.substr(Vf.ID_PREFIX.length))}invoke(e,t,i){UIe(t,this.getFoldingLevel(),!0,this.getSelectedLines(i))}}Vf.ID_PREFIX=\"editor.foldLevel\";Vf.ID=s=>Vf.ID_PREFIX+s;class bTe extends Ss{constructor(){super({id:\"editor.gotoParentFold\",label:p(\"gotoParentFold.label\",\"Go to Parent Fold\"),alias:\"Go to Parent Fold\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);if(n.length>0){const o=$Ie(n[0],t);o!==null&&i.setSelection({startLineNumber:o,startColumn:1,endLineNumber:o,endColumn:1})}}}class CTe extends Ss{constructor(){super({id:\"editor.gotoPreviousFold\",label:p(\"gotoPreviousFold.label\",\"Go to Previous Folding Range\"),alias:\"Go to Previous Folding Range\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);if(n.length>0){const o=jIe(n[0],t);o!==null&&i.setSelection({startLineNumber:o,startColumn:1,endLineNumber:o,endColumn:1})}}}class wTe extends Ss{constructor(){super({id:\"editor.gotoNextFold\",label:p(\"gotoNextFold.label\",\"Go to Next Folding Range\"),alias:\"Go to Next Folding Range\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,weight:100}})}invoke(e,t,i){const n=this.getSelectedLines(i);if(n.length>0){const o=KIe(n[0],t);o!==null&&i.setSelection({startLineNumber:o,startColumn:1,endLineNumber:o,endColumn:1})}}}class yTe extends Ss{constructor(){super({id:\"editor.createFoldingRangeFromSelection\",label:p(\"createManualFoldRange.label\",\"Create Folding Range from Selection\"),alias:\"Create Folding Range from Selection\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2135),weight:100}})}invoke(e,t,i){var n;const o=[],r=i.getSelections();if(r){for(const a of r){let l=a.endLineNumber;a.endColumn===1&&--l,l>a.startLineNumber&&(o.push({startLineNumber:a.startLineNumber,endLineNumber:l,type:void 0,isCollapsed:!0,source:1}),i.setSelection({startLineNumber:a.startLineNumber,startColumn:1,endLineNumber:a.startLineNumber,endColumn:1}))}if(o.length>0){o.sort((l,d)=>l.startLineNumber-d.startLineNumber);const a=qo.sanitizeAndMerge(t.regions,o,(n=i.getModel())===null||n===void 0?void 0:n.getLineCount());t.updatePost(qo.fromFoldRanges(a))}}}}class STe extends Ss{constructor(){super({id:\"editor.removeManualFoldingRanges\",label:p(\"removeManualFoldingRanges.label\",\"Remove Manual Folding Ranges\"),alias:\"Remove Manual Folding Ranges\",precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2137),weight:100}})}invoke(e,t,i){const n=i.getSelections();if(n){const o=[];for(const r of n){const{startLineNumber:a,endLineNumber:l}=r;o.push(l>=a?{startLineNumber:a,endLineNumber:l}:{endLineNumber:l,startLineNumber:a})}t.removeManualRanges(o),e.triggerFoldingModelChanged()}}}kt(qc.ID,qc,0);te(aTe);te(lTe);te(dTe);te(uTe);te(_Te);te(vTe);te(hTe);te(gTe);te(fTe);te(pTe);te(mTe);te(cTe);te(bTe);te(CTe);te(wTe);te(yTe);te(STe);for(let s=1;s<=7;s++)Ale(new Vf({id:Vf.ID(s),label:p(\"foldLevelAction.label\",\"Fold Level {0}\",s),alias:`Fold Level ${s}`,precondition:ds,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2048|21+s),weight:100}}));pt.registerCommand(\"_executeFoldingRangeProvider\",async function(s,...e){const[t]=e;if(!(t instanceof Ae))throw Mr();const i=s.get(Ce),n=s.get(_i).getModel(t);if(!n)throw Mr();const o=s.get(rt);if(!o.getValue(\"editor.folding\",{resource:t}))return[];const r=s.get(Yt),a=o.getValue(\"editor.foldingStrategy\",{resource:t}),l={get limit(){return o.getValue(\"editor.foldingMaximumRegions\",{resource:t})},update:(g,f)=>{}},d=new N4(n,r,l);let c=d;if(a!==\"indentation\"){const g=qc.getFoldingRangeProviders(i,n);g.length&&(c=new M4(n,g,()=>{},l,d))}const u=await c.compute(dt.None),h=[];try{if(u)for(let g=0;g<u.length;g++){const f=u.getType(g);h.push({start:u.getStartLineNumber(g),end:u.getEndLineNumber(g),kind:f?Ps.fromValue(f):void 0})}return h}finally{c.dispose()}});class DTe extends me{constructor(){super({id:\"editor.action.fontZoomIn\",label:p(\"EditorFontZoomIn.label\",\"Increase Editor Font Size\"),alias:\"Increase Editor Font Size\",precondition:void 0})}run(e,t){Sr.setZoomLevel(Sr.getZoomLevel()+1)}}class LTe extends me{constructor(){super({id:\"editor.action.fontZoomOut\",label:p(\"EditorFontZoomOut.label\",\"Decrease Editor Font Size\"),alias:\"Decrease Editor Font Size\",precondition:void 0})}run(e,t){Sr.setZoomLevel(Sr.getZoomLevel()-1)}}class xTe extends me{constructor(){super({id:\"editor.action.fontZoomReset\",label:p(\"EditorFontZoomReset.label\",\"Reset Editor Font Size\"),alias:\"Reset Editor Font Size\",precondition:void 0})}run(e,t){Sr.setZoomLevel(0)}}te(DTe);te(LTe);te(xTe);var vG=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},pb=function(s,e){return function(t,i){e(t,i,s)}};let WC=class{constructor(e,t,i,n){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._accessibilitySignalService=n,this._disposables=new Y,this._sessionDisposables=new Y,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(o=>{o.hasChanged(56)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(56)||!this._editor.hasModel())return;const e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;const i=new ZS;for(const n of t.autoFormatTriggerCharacters)i.add(n.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(n=>{const o=n.charCodeAt(n.length-1);i.has(o)&&this._trigger(String.fromCharCode(o))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;const t=this._editor.getModel(),i=this._editor.getPosition(),n=new Vi,o=this._editor.onDidChangeModelContent(r=>{if(r.isFlush){n.cancel(),o.dispose();return}for(let a=0,l=r.changes.length;a<l;a++)if(r.changes[a].range.endLineNumber<=i.lineNumber){n.cancel(),o.dispose();return}});FK(this._workerService,this._languageFeaturesService,t,i,e,t.getFormattingOptions(),n.token).then(r=>{n.token.isCancellationRequested||rs(r)&&(this._accessibilitySignalService.playSignal(Ke.format,{userGesture:!1}),B_.execute(this._editor,r,!0))}).finally(()=>{o.dispose()})}};WC.ID=\"editor.contrib.autoFormat\";WC=vG([pb(1,Ce),pb(2,jr),pb(3,rg)],WC);let HC=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new Y,this._callOnModel=new Y,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(55)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(PK,this.editor,e,2,Nc.None,dt.None,!1).catch(Xe))}};HC.ID=\"editor.contrib.formatOnPaste\";HC=vG([pb(1,Ce),pb(2,Ne)],HC);class kTe extends me{constructor(){super({id:\"editor.action.formatDocument\",label:p(\"formatDocument.label\",\"Format Document\"),alias:\"Format Document\",precondition:G.and(T.notInCompositeEditor,T.writable,T.hasDocumentFormattingProvider),kbOpts:{kbExpr:T.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:\"1_modification\",order:1.3}})}async run(e,t){if(t.hasModel()){const i=e.get(Ne);await e.get(sg).showWhile(i.invokeFunction(SLe,t,1,Nc.None,dt.None,!0),250)}}}class ETe extends me{constructor(){super({id:\"editor.action.formatSelection\",label:p(\"formatSelection.label\",\"Format Selection\"),alias:\"Format Selection\",precondition:G.and(T.writable,T.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2084),weight:100},contextMenuOpts:{when:T.hasNonEmptySelection,group:\"1_modification\",order:1.31}})}async run(e,t){if(!t.hasModel())return;const i=e.get(Ne),n=t.getModel(),o=t.getSelections().map(a=>a.isEmpty()?new x(a.startLineNumber,1,a.startLineNumber,n.getLineMaxColumn(a.startLineNumber)):a);await e.get(sg).showWhile(i.invokeFunction(PK,t,o,1,Nc.None,dt.None,!0),250)}}kt(WC.ID,WC,2);kt(HC.ID,HC,2);te(kTe);te(ETe);pt.registerCommand(\"editor.action.format\",async s=>{const e=s.get(xt).getFocusedCodeEditor();if(!e||!e.hasModel())return;const t=s.get(gi);e.getSelection().isEmpty()?await t.executeCommand(\"editor.action.formatDocument\"):await t.executeCommand(\"editor.action.formatSelection\")});var ITe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},fT=function(s,e){return function(t,i){e(t,i,s)}};class wm{remove(){var e;(e=this.parent)===null||e===void 0||e.children.delete(this.id)}static findId(e,t){let i;typeof e==\"string\"?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,t.children.get(i)!==void 0&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let n=i;for(let o=0;t.children.get(n)!==void 0;o++)n=`${i}_${o}`;return n}static empty(e){return e.children.size===0}}class hR extends wm{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class bG extends wm{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class nc extends wm{static create(e,t,i){const n=new Vi(i),o=new nc(t.uri),r=e.ordered(t),a=r.map((d,c)=>{var u;const h=wm.findId(`provider_${c}`,o),g=new bG(h,o,(u=d.displayName)!==null&&u!==void 0?u:\"Unknown Outline Provider\",c);return Promise.resolve(d.provideDocumentSymbols(t,n.token)).then(f=>{for(const m of f||[])nc._makeOutlineElement(m,g);return g},f=>(Ai(f),g)).then(f=>{wm.empty(f)?f.remove():o._groups.set(h,f)})}),l=e.onDidChange(()=>{const d=e.ordered(t);Ci(d,r)||n.cancel()});return Promise.all(a).then(()=>n.token.isCancellationRequested&&!i.isCancellationRequested?nc.create(e,t,i):o._compact()).finally(()=>{n.dispose(),l.dispose(),n.dispose()})}static _makeOutlineElement(e,t){const i=wm.findId(e,t),n=new hR(i,t,e);if(e.children)for(const o of e.children)nc._makeOutlineElement(o,n);t.children.set(n.id,n)}constructor(e){super(),this.uri=e,this.id=\"root\",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id=\"root\",this.parent=void 0}_compact(){let e=0;for(const[t,i]of this._groups)i.children.size===0?this._groups.delete(t):e+=1;if(e!==1)this.children=this._groups;else{const t=ft.first(this._groups.values());for(const[,i]of t.children)i.parent=this,this.children.set(i.id,i)}return this}getTopLevelSymbols(){const e=[];for(const t of this.children.values())t instanceof hR?e.push(t.symbol):e.push(...ft.map(t.children.values(),i=>i.symbol));return e.sort((t,i)=>x.compareRangesUsingStarts(t.range,i.range))}asListOfDocumentSymbols(){const e=this.getTopLevelSymbols(),t=[];return nc._flattenDocumentSymbols(t,e,\"\"),t.sort((i,n)=>W.compare(x.getStartPosition(i.range),x.getStartPosition(n.range))||W.compare(x.getEndPosition(n.range),x.getEndPosition(i.range)))}static _flattenDocumentSymbols(e,t,i){for(const n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&nc._flattenDocumentSymbols(e,n.children,n.name)}}const R4=ut(\"IOutlineModelService\");let gR=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new Y,this._cache=new iu(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,\"DocumentSymbols\",{min:350}),this._disposables.add(i.onModelRemoved(n=>{this._cache.delete(n.id)}))}dispose(){this._disposables.dispose()}async getOrCreate(e,t){const i=this._languageFeaturesService.documentSymbolProvider,n=i.ordered(e);let o=this._cache.get(e.id);if(!o||o.versionId!==e.getVersionId()||!Ci(o.provider,n)){const a=new Vi;o={versionId:e.getVersionId(),provider:n,promiseCnt:0,source:a,promise:nc.create(i,e,a.token),model:void 0},this._cache.set(e.id,o);const l=Date.now();o.promise.then(d=>{o.model=d,this._debounceInformation.update(e,Date.now()-l)}).catch(d=>{this._cache.delete(e.id)})}if(o.model)return o.model;o.promiseCnt+=1;const r=t.onCancellationRequested(()=>{--o.promiseCnt===0&&(o.source.cancel(),this._cache.delete(e.id))});try{return await o.promise}finally{r.dispose()}}};gR=ITe([fT(0,Ce),fT(1,Ur),fT(2,_i)],gR);mt(R4,gR,1);pt.registerCommand(\"_executeDocumentSymbolProvider\",async function(s,...e){const[t]=e;yt(Ae.isUri(t));const i=s.get(R4),o=await s.get(mo).createModelReference(t);try{return(await i.getOrCreate(o.object.textEditorModel,dt.None)).getTopLevelSymbols()}finally{o.dispose()}});class Mn extends H{constructor(e,t){super(),this.contextKeyService=e,this.model=t,this.inlineCompletionVisible=Mn.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=Mn.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=Mn.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService),this.suppressSuggestions=Mn.suppressSuggestions.bindTo(this.contextKeyService),this._register(st(i=>{const n=this.model.read(i),o=n==null?void 0:n.state.read(i),r=!!(o!=null&&o.inlineCompletion)&&(o==null?void 0:o.primaryGhostText)!==void 0&&!(o!=null&&o.primaryGhostText.isEmpty());this.inlineCompletionVisible.set(r),o!=null&&o.primaryGhostText&&(o!=null&&o.inlineCompletion)&&this.suppressSuggestions.set(o.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register(st(i=>{const n=this.model.read(i);let o=!1,r=!0;const a=n==null?void 0:n.primaryGhostText.read(i);if(n!=null&&n.selectedSuggestItem&&a&&a.parts.length>0){const{column:l,lines:d}=a.parts[0],c=d[0],u=n.textModel.getLineIndentColumn(a.lineNumber);if(l<=u){let g=Cs(c);g===-1&&(g=c.length-1),o=g>0;const f=n.textModel.getOptions().tabSize;r=hn.visibleColumnFromColumn(c,g+1,f)<f}}this.inlineCompletionSuggestsIndentation.set(o),this.inlineCompletionSuggestsIndentationLessThanTabSize.set(r)}))}}Mn.inlineSuggestionVisible=new ue(\"inlineSuggestionVisible\",!1,p(\"inlineSuggestionVisible\",\"Whether an inline suggestion is visible\"));Mn.inlineSuggestionHasIndentation=new ue(\"inlineSuggestionHasIndentation\",!1,p(\"inlineSuggestionHasIndentation\",\"Whether the inline suggestion starts with whitespace\"));Mn.inlineSuggestionHasIndentationLessThanTabSize=new ue(\"inlineSuggestionHasIndentationLessThanTabSize\",!0,p(\"inlineSuggestionHasIndentationLessThanTabSize\",\"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab\"));Mn.suppressSuggestions=new ue(\"inlineSuggestionSuppressSuggestions\",void 0,p(\"suppressSuggestions\",\"Whether suggestions should be suppressed for the current suggestion\"));class VC{constructor(e,t){this.lineNumber=e,this.parts=t}equals(e){return this.lineNumber===e.lineNumber&&this.parts.length===e.parts.length&&this.parts.every((t,i)=>t.equals(e.parts[i]))}renderForScreenReader(e){if(this.parts.length===0)return\"\";const t=this.parts[this.parts.length-1],i=e.substr(0,t.column-1);return new yF([...this.parts.map(o=>new zc(x.fromPositions(new W(1,o.column)),o.lines.join(`\n`)))]).applyToString(i).substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(e=>e.lines.length===0)}get lineCount(){return 1+this.parts.reduce((e,t)=>e+t.lines.length-1,0)}}class CL{constructor(e,t,i){this.column=e,this.text=t,this.preview=i,this.lines=Td(this.text)}equals(e){return this.column===e.column&&this.lines.length===e.lines.length&&this.lines.every((t,i)=>t===e.lines[i])}}class fR{constructor(e,t,i,n=0){this.lineNumber=e,this.columnRange=t,this.text=i,this.additionalReservedLineCount=n,this.parts=[new CL(this.columnRange.endColumnExclusive,this.text,!1)],this.newLines=Td(this.text)}renderForScreenReader(e){return this.newLines.join(`\n`)}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(e=>e.lines.length===0)}equals(e){return this.lineNumber===e.lineNumber&&this.columnRange.equals(e.columnRange)&&this.newLines.length===e.newLines.length&&this.newLines.every((t,i)=>t===e.newLines[i])&&this.additionalReservedLineCount===e.additionalReservedLineCount}}function p9(s,e){return Ci(s,e,CG)}function CG(s,e){return s===e?!0:!s||!e?!1:s instanceof VC&&e instanceof VC||s instanceof fR&&e instanceof fR?s.equals(e):!1}const TTe=[];function NTe(){return TTe}class wG{constructor(e,t){if(this.startColumn=e,this.endColumnExclusive=t,e>t)throw new Ut(`startColumn ${e} cannot be after endColumnExclusive ${t}`)}toRange(e){return new x(e,this.startColumn,e,this.endColumnExclusive)}equals(e){return this.startColumn===e.startColumn&&this.endColumnExclusive===e.endColumnExclusive}}function yG(s,e){const t=new Y,i=s.createDecorationsCollection();return t.add(qx({debugName:()=>`Apply decorations from ${e.debugName}`},n=>{const o=e.read(n);i.set(o)})),t.add({dispose:()=>{i.clear()}}),t}function ATe(s,e){return new W(s.lineNumber+e.lineNumber-1,e.lineNumber===1?s.column+e.column-1:e.column)}function m9(s,e){return new W(s.lineNumber-e.lineNumber+1,s.lineNumber-e.lineNumber===0?s.column-e.column+1:s.column)}var MTe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},RTe=function(s,e){return function(t,i){e(t,i,s)}};const _9=\"ghost-text\";let pR=class extends H{constructor(e,t,i){super(),this.editor=e,this.model=t,this.languageService=i,this.isDisposed=vt(this,!1),this.currentTextModel=Ot(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=je(this,n=>{if(this.isDisposed.read(n))return;const o=this.currentTextModel.read(n);if(o!==this.model.targetTextModel.read(n))return;const r=this.model.ghostText.read(n);if(!r)return;const a=r instanceof fR?r.columnRange:void 0,l=[],d=[];function c(m,_){if(d.length>0){const v=d[d.length-1];_&&v.decorations.push(new Os(v.content.length+1,v.content.length+1+m[0].length,_,0)),v.content+=m[0],m=m.slice(1)}for(const v of m)d.push({content:v,decorations:_?[new Os(1,v.length+1,_,0)]:[]})}const u=o.getLineContent(r.lineNumber);let h,g=0;for(const m of r.parts){let _=m.lines;h===void 0?(l.push({column:m.column,text:_[0],preview:m.preview}),_=_.slice(1)):c([u.substring(g,m.column-1)],void 0),_.length>0&&(c(_,_9),h===void 0&&m.column<=u.length&&(h=m.column)),g=m.column-1}h!==void 0&&c([u.substring(g)],void 0);const f=h!==void 0?new wG(h,u.length+1):void 0;return{replacedRange:a,inlineTexts:l,additionalLines:d,hiddenRange:f,lineNumber:r.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(n),targetTextModel:o}}),this.decorations=je(this,n=>{const o=this.uiState.read(n);if(!o)return[];const r=[];o.replacedRange&&r.push({range:o.replacedRange.toRange(o.lineNumber),options:{inlineClassName:\"inline-completion-text-to-replace\",description:\"GhostTextReplacement\"}}),o.hiddenRange&&r.push({range:o.hiddenRange.toRange(o.lineNumber),options:{inlineClassName:\"ghost-text-hidden\",description:\"ghost-text-hidden\"}});for(const a of o.inlineTexts)r.push({range:x.fromPositions(new W(o.lineNumber,a.column)),options:{description:_9,after:{content:a.text,inlineClassName:a.preview?\"ghost-text-decoration-preview\":\"ghost-text-decoration\",cursorStops:aa.Left},showIfCollapsed:!0}});return r}),this.additionalLinesWidget=this._register(new SG(this.editor,this.languageService.languageIdCodec,je(n=>{const o=this.uiState.read(n);return o?{lineNumber:o.lineNumber,additionalLines:o.additionalLines,minReservedLineCount:o.additionalReservedLineCount,targetTextModel:o.targetTextModel}:void 0}))),this._register(Ie(()=>{this.isDisposed.set(!0,void 0)})),this._register(yG(this.editor,this.decorations))}ownsViewZone(e){return this.additionalLinesWidget.viewZoneId===e}};pR=MTe([RTe(2,vi)],pR);class SG extends H{get viewZoneId(){return this._viewZoneId}constructor(e,t,i){super(),this.editor=e,this.languageIdCodec=t,this.lines=i,this._viewZoneId=void 0,this.editorOptionsChanged=os(\"editorOptionChanged\",le.filter(this.editor.onDidChangeConfiguration,n=>n.hasChanged(33)||n.hasChanged(117)||n.hasChanged(99)||n.hasChanged(94)||n.hasChanged(51)||n.hasChanged(50)||n.hasChanged(67))),this._register(st(n=>{const o=this.lines.read(n);this.editorOptionsChanged.read(n),o?this.updateLines(o.lineNumber,o.additionalLines,o.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(e=>{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){const n=this.editor.getModel();if(!n)return;const{tabSize:o}=n.getOptions();this.editor.changeViewZones(r=>{this._viewZoneId&&(r.removeZone(this._viewZoneId),this._viewZoneId=void 0);const a=Math.max(t.length,i);if(a>0){const l=document.createElement(\"div\");PTe(l,o,t,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=r.addZone({afterLineNumber:e,heightInLines:a,domNode:l,afterColumnAffinity:1})}})}}function PTe(s,e,t,i,n){const o=i.get(33),r=i.get(117),a=\"none\",l=i.get(94),d=i.get(51),c=i.get(50),u=i.get(67),h=new l0(1e4);h.appendString('<div class=\"suggest-preview-text\">');for(let m=0,_=t.length;m<_;m++){const v=t[m],b=v.content;h.appendString('<div class=\"view-line'),h.appendString('\" style=\"top:'),h.appendString(String(m*u)),h.appendString('px;width:1000000px;\">');const C=c1(b),w=d_(b),y=wn.createEmpty(b,n);m1(new tg(c.isMonospace&&!o,c.canUseHalfwidthRightwardsArrow,b,!1,C,w,0,y,v.decorations,e,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,r,a,l,d!==Zo.OFF,null),h),h.appendString(\"</div>\")}h.appendString(\"</div>\"),Un(s,c);const g=h.build(),f=v9?v9.createHTML(g):g;s.innerHTML=f}const v9=tu(\"editorGhostText\",{createHTML:s=>s});function FTe(s,e){const t=new g$,i=new p$(t,d=>e.getLanguageConfiguration(d)),n=new f$(new OTe([s]),i),o=HA(n,[],void 0,!0);let r=\"\";const a=s.getLineContent();function l(d,c){if(d.kind===2)if(l(d.openingBracket,c),c=Di(c,d.openingBracket.length),d.child&&(l(d.child,c),c=Di(c,d.child.length)),d.closingBracket)l(d.closingBracket,c),c=Di(c,d.closingBracket.length);else{const h=i.getSingleLanguageBracketTokens(d.openingBracket.languageId).findClosingTokenText(d.openingBracket.bracketIds);r+=h}else if(d.kind!==3){if(d.kind===0||d.kind===1)r+=a.substring(c,Di(c,d.length));else if(d.kind===4)for(const u of d.children)l(u,c),c=Di(c,u.length)}}return l(o,Bs),r}class OTe{constructor(e){this.lines=e,this.tokenization={getLineTokens:t=>this.lines[t-1]}}getLineCount(){return this.lines.length}getLineLength(e){return this.lines[e-1].getLineContent().length}}async function BTe(s,e,t,i,n=dt.None,o){const r=VTe(e,t),a=s.all(t),l=new _F;for(const v of a)v.groupId&&l.add(v.groupId,v);function d(v){if(!v.yieldsToGroupIds)return[];const b=[];for(const C of v.yieldsToGroupIds||[]){const w=l.get(C);for(const y of w)b.push(y)}return b}const c=new Map,u=new Set;function h(v,b){if(b=[...b,v],u.has(v))return b;u.add(v);try{const C=d(v);for(const w of C){const y=h(w,b);if(y)return y}}finally{u.delete(v)}}function g(v){const b=c.get(v);if(b)return b;const C=h(v,[]);C&&Ai(new Error(`Inline completions: cyclic yield-to dependency detected. Path: ${C.map(y=>y.toString?y.toString():\"\"+y).join(\" -> \")}`));const w=new ZL;return c.set(v,w.p),(async()=>{if(!C){const y=d(v);for(const D of y){const L=await g(D);if(L&&L.items.length>0)return}}try{return await v.provideInlineCompletions(t,e,i,n)}catch(y){Ai(y);return}})().then(y=>w.complete(y),y=>w.error(y)),w.p}const f=await Promise.all(a.map(async v=>({provider:v,completions:await g(v)}))),m=new Map,_=[];for(const v of f){const b=v.completions;if(!b)continue;const C=new HTe(b,v.provider);_.push(C);for(const w of b.items){const y=wL.from(w,C,r,t,o);m.set(y.hash(),y)}}return new WTe(Array.from(m.values()),new Set(m.keys()),_)}class WTe{constructor(e,t,i){this.completions=e,this.hashs=t,this.providerResults=i}has(e){return this.hashs.has(e.hash())}dispose(){for(const e of this.providerResults)e.removeRef()}}class HTe{constructor(e,t){this.inlineCompletions=e,this.provider=t,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,this.refCount===0&&this.provider.freeInlineCompletions(this.inlineCompletions)}}class wL{static from(e,t,i,n,o){let r,a,l=e.range?x.lift(e.range):i;if(typeof e.insertText==\"string\"){if(r=e.insertText,o&&e.completeBracketPairs){r=b9(r,l.getStartPosition(),n,o);const d=r.length-e.insertText.length;d!==0&&(l=new x(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+d))}a=void 0}else if(\"snippet\"in e.insertText){const d=e.insertText.snippet.length;if(o&&e.completeBracketPairs){e.insertText.snippet=b9(e.insertText.snippet,l.getStartPosition(),n,o);const u=e.insertText.snippet.length-d;u!==0&&(l=new x(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+u))}const c=new Rf().parse(e.insertText.snippet);c.children.length===1&&c.children[0]instanceof Ts?(r=c.children[0].value,a=void 0):(r=c.toString(),a={snippet:e.insertText.snippet,range:l})}else ux(e.insertText);return new wL(r,e.command,l,r,a,e.additionalTextEdits||NTe(),e,t)}constructor(e,t,i,n,o,r,a,l){this.filterText=e,this.command=t,this.range=i,this.insertText=n,this.snippetInfo=o,this.additionalTextEdits=r,this.sourceInlineCompletion=a,this.source=l,e=e.replace(/\\r\\n|\\r/g,`\n`),n=e.replace(/\\r\\n|\\r/g,`\n`)}withRange(e){return new wL(this.filterText,this.command,e,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}function VTe(s,e){const t=e.getWordAtPosition(s),i=e.getLineMaxColumn(s.lineNumber);return t?new x(s.lineNumber,t.startColumn,s.lineNumber,i):x.fromPositions(s,s.with(void 0,i))}function b9(s,e,t,i){const o=t.getLineContent(e.lineNumber).substring(0,e.column-1)+s,r=t.tokenization.tokenizeLineWithEdit(e,o.length-(e.column-1),s),a=r==null?void 0:r.sliceAndInflate(e.column-1,o.length,0);return a?FTe(a,i):s}function pf(s,e,t){const i=t?s.range.intersectRanges(t):s.range;if(!i)return s;const n=e.getValueInRange(i,1),o=Sh(n,s.text),r=Fs.ofText(n.substring(0,o)).addToPosition(s.range.getStartPosition()),a=s.text.substring(o),l=x.fromPositions(r,s.range.getEndPosition());return new zc(l,a)}function DG(s,e){return s.text.startsWith(e.text)&&zTe(s.range,e.range)}function C9(s,e,t,i,n=0){let o=pf(s,e);if(o.range.endLineNumber!==o.range.startLineNumber)return;const r=e.getLineContent(o.range.startLineNumber),a=Zt(r).length;if(o.range.startColumn-1<=a){const f=Zt(o.text).length,m=r.substring(o.range.startColumn-1,a),[_,v]=[o.range.getStartPosition(),o.range.getEndPosition()],b=_.column+m.length<=v.column?_.delta(0,m.length):v,C=x.fromPositions(b,v),w=o.text.startsWith(m)?o.text.substring(m.length):o.text.substring(f);o=new zc(C,w)}const d=e.getValueInRange(o.range),c=UTe(d,o.text);if(!c)return;const u=o.range.startLineNumber,h=new Array;if(t===\"prefix\"){const f=c.filter(m=>m.originalLength===0);if(f.length>1||f.length===1&&f[0].originalStart!==d.length)return}const g=o.text.length-n;for(const f of c){const m=o.range.startColumn+f.originalStart+f.originalLength;if(t===\"subwordSmart\"&&i&&i.lineNumber===o.range.startLineNumber&&m<i.column||f.originalLength>0)return;if(f.modifiedLength===0)continue;const _=f.modifiedStart+f.modifiedLength,v=Math.max(f.modifiedStart,Math.min(_,g)),b=o.text.substring(f.modifiedStart,v),C=o.text.substring(v,Math.max(f.modifiedStart,_));b.length>0&&h.push(new CL(m,b,!1)),C.length>0&&h.push(new CL(m,C,!0))}return new VC(u,h)}function zTe(s,e){return e.getStartPosition().equals(s.getStartPosition())&&e.getEndPosition().isBeforeOrEqual(s.getEndPosition())}let xl;function UTe(s,e){if((xl==null?void 0:xl.originalValue)===s&&(xl==null?void 0:xl.newValue)===e)return xl==null?void 0:xl.changes;{let t=y9(s,e,!0);if(t){const i=w9(t);if(i>0){const n=y9(s,e,!1);n&&w9(n)<i&&(t=n)}}return xl={originalValue:s,newValue:e,changes:t},t}}function w9(s){let e=0;for(const t of s)e+=t.originalLength;return e}function y9(s,e,t){if(s.length>5e3||e.length>5e3)return;function i(d){let c=0;for(let u=0,h=d.length;u<h;u++){const g=d.charCodeAt(u);g>c&&(c=g)}return c}const n=Math.max(i(s),i(e));function o(d){if(d<0)throw new Error(\"unexpected\");return n+d+1}function r(d){let c=0,u=0;const h=new Int32Array(d.length);for(let g=0,f=d.length;g<f;g++)if(t&&d[g]===\"(\"){const m=u*100+c;h[g]=o(2*m),c++}else if(t&&d[g]===\")\"){c=Math.max(c-1,0);const m=u*100+c;h[g]=o(2*m+1),c===0&&u++}else h[g]=d.charCodeAt(g);return h}const a=r(s),l=r(e);return new zl({getElements:()=>a},{getElements:()=>l}).ComputeDiff(!1).changes}var $Te=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},S9=function(s,e){return function(t,i){e(t,i,s)}};let mR=class extends H{constructor(e,t,i,n,o){super(),this.textModel=e,this.versionId=t,this._debounceValue=i,this.languageFeaturesService=n,this.languageConfigurationService=o,this._updateOperation=this._register(new $n),this.inlineCompletions=gC(\"inlineCompletions\",void 0),this.suggestWidgetInlineCompletions=gC(\"suggestWidgetInlineCompletions\",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(e,t,i){var n,o;const r=new KTe(e,t,this.textModel.getVersionId()),a=t.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(!((n=this._updateOperation.value)===null||n===void 0)&&n.request.satisfies(r))return this._updateOperation.value.promise;if(!((o=a.get())===null||o===void 0)&&o.request.satisfies(r))return Promise.resolve(!0);const l=!!this._updateOperation.value;this._updateOperation.clear();const d=new Vi,c=(async()=>{if((l||t.triggerKind===kc.Automatic)&&await jTe(this._debounceValue.get(this.textModel),d.token),d.token.isCancellationRequested||this.textModel.getVersionId()!==r.versionId)return!1;const g=new Date,f=await BTe(this.languageFeaturesService.inlineCompletionsProvider,e,this.textModel,t,d.token,this.languageConfigurationService);if(d.token.isCancellationRequested||this.textModel.getVersionId()!==r.versionId)return!1;const m=new Date;this._debounceValue.update(this.textModel,m.getTime()-g.getTime());const _=new GTe(f,r,this.textModel,this.versionId);if(i){const v=i.toInlineCompletion(void 0);i.canBeReused(this.textModel,e)&&!f.has(v)&&_.prepend(i.inlineCompletion,v.range,!0)}return this._updateOperation.clear(),$t(v=>{a.set(_,v)}),!0})(),u=new qTe(r,d,c);return this._updateOperation.value=u,c}clear(e){this._updateOperation.clear(),this.inlineCompletions.set(void 0,e),this.suggestWidgetInlineCompletions.set(void 0,e)}clearSuggestWidgetInlineCompletions(e){var t;!((t=this._updateOperation.value)===null||t===void 0)&&t.request.context.selectedSuggestionInfo&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,e)}cancelUpdate(){this._updateOperation.clear()}};mR=$Te([S9(3,Ce),S9(4,Yt)],mR);function jTe(s,e){return new Promise(t=>{let i;const n=setTimeout(()=>{i&&i.dispose(),t()},s);e&&(i=e.onCancellationRequested(()=>{clearTimeout(n),i&&i.dispose(),t()}))})}class KTe{constructor(e,t,i){this.position=e,this.context=t,this.versionId=i}satisfies(e){return this.position.equals(e.position)&&oCe(this.context.selectedSuggestionInfo,e.context.selectedSuggestionInfo,gj())&&(e.context.triggerKind===kc.Automatic||this.context.triggerKind===kc.Explicit)&&this.versionId===e.versionId}}class qTe{constructor(e,t,i){this.request=e,this.cancellationTokenSource=t,this.promise=i}dispose(){this.cancellationTokenSource.cancel()}}class GTe{get inlineCompletions(){return this._inlineCompletions}constructor(e,t,i,n){this.inlineCompletionProviderResult=e,this.request=t,this._textModel=i,this._versionId=n,this._refCount=1,this._prependedInlineCompletionItems=[];const o=i.deltaDecorations([],e.completions.map(r=>({range:r.range,options:{description:\"inline-completion-tracking-range\"}})));this._inlineCompletions=e.completions.map((r,a)=>new D9(r,o[a],this._textModel,this._versionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,this._refCount===0){setTimeout(()=>{this._textModel.isDisposed()||this._textModel.deltaDecorations(this._inlineCompletions.map(e=>e.decorationId),[])},0),this.inlineCompletionProviderResult.dispose();for(const e of this._prependedInlineCompletionItems)e.source.removeRef()}}prepend(e,t,i){i&&e.source.addRef();const n=this._textModel.deltaDecorations([],[{range:t,options:{description:\"inline-completion-tracking-range\"}}])[0];this._inlineCompletions.unshift(new D9(e,n,this._textModel,this._versionId)),this._prependedInlineCompletionItems.push(e)}}class D9{get forwardStable(){var e;return(e=this.inlineCompletion.source.inlineCompletions.enableForwardStability)!==null&&e!==void 0?e:!1}constructor(e,t,i,n){this.inlineCompletion=e,this.decorationId=t,this._textModel=i,this._modelVersion=n,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._updatedRange=dc({owner:this,equalsFn:x.equalsRange},o=>(this._modelVersion.read(o),this._textModel.getDecorationRange(this.decorationId)))}toInlineCompletion(e){var t;return this.inlineCompletion.withRange((t=this._updatedRange.read(e))!==null&&t!==void 0?t:pT)}toSingleTextEdit(e){var t;return new zc((t=this._updatedRange.read(e))!==null&&t!==void 0?t:pT,this.inlineCompletion.insertText)}isVisible(e,t,i){const n=pf(this._toFilterTextReplacement(i),e),o=this._updatedRange.read(i);if(!o||!this.inlineCompletion.range.getStartPosition().equals(o.getStartPosition())||t.lineNumber!==n.range.startLineNumber)return!1;const r=e.getValueInRange(n.range,1),a=n.text,l=Math.max(0,t.column-n.range.startColumn);let d=a.substring(0,l),c=a.substring(l),u=r.substring(0,l),h=r.substring(l);const g=e.getLineIndentColumn(n.range.startLineNumber);return n.range.startColumn<=g&&(u=u.trimStart(),u.length===0&&(h=h.trimStart()),d=d.trimStart(),d.length===0&&(c=c.trimStart())),d.startsWith(u)&&!!J$(h,c)}canBeReused(e,t){const i=this._updatedRange.read(void 0);return!!i&&i.containsPosition(t)&&this.isVisible(e,t,void 0)&&Fs.ofRange(i).isGreaterThanOrEqualTo(Fs.ofRange(this.inlineCompletion.range))}_toFilterTextReplacement(e){var t;return new zc((t=this._updatedRange.read(e))!==null&&t!==void 0?t:pT,this.inlineCompletion.filterText)}}const pT=new x(1,1,1,1),it={Visible:k4,HasFocusedSuggestion:new ue(\"suggestWidgetHasFocusedSuggestion\",!1,p(\"suggestWidgetHasSelection\",\"Whether any suggestion is focused\")),DetailsVisible:new ue(\"suggestWidgetDetailsVisible\",!1,p(\"suggestWidgetDetailsVisible\",\"Whether suggestion details are visible\")),MultipleSuggestions:new ue(\"suggestWidgetMultipleSuggestions\",!1,p(\"suggestWidgetMultipleSuggestions\",\"Whether there are multiple suggestions to pick from\")),MakesTextEdit:new ue(\"suggestionMakesTextEdit\",!0,p(\"suggestionMakesTextEdit\",\"Whether inserting the current suggestion yields in a change or has everything already been typed\")),AcceptSuggestionsOnEnter:new ue(\"acceptSuggestionOnEnter\",!0,p(\"acceptSuggestionOnEnter\",\"Whether suggestions are inserted when pressing Enter\")),HasInsertAndReplaceRange:new ue(\"suggestionHasInsertAndReplaceRange\",!1,p(\"suggestionHasInsertAndReplaceRange\",\"Whether the current suggestion has insert and replace behaviour\")),InsertMode:new ue(\"suggestionInsertMode\",void 0,{type:\"string\",description:p(\"suggestionInsertMode\",\"Whether the default behaviour is to insert or replace\")}),CanResolve:new ue(\"suggestionCanResolve\",!1,p(\"suggestionCanResolve\",\"Whether the current suggestion supports to resolve further details\"))},gh=new E(\"suggestWidgetStatusBar\");class ZTe{constructor(e,t,i,n){var o;this.position=e,this.completion=t,this.container=i,this.provider=n,this.isInvalid=!1,this.score=el.Default,this.distance=0,this.textLabel=typeof t.label==\"string\"?t.label:(o=t.label)===null||o===void 0?void 0:o.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),this.extensionId=t.extensionId,x.isIRange(t.range)?(this.editStart=new W(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new W(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new W(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||x.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new W(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new W(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new W(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||x.spansMultipleLines(t.range.insert)||x.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),typeof n.resolveCompletionItem!=\"function\"&&(this._resolveCache=Promise.resolve(),this._resolveDuration=0)}get isResolved(){return this._resolveDuration!==void 0}get resolveDuration(){return this._resolveDuration!==void 0?this._resolveDuration:-1}async resolve(e){if(!this._resolveCache){const t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._resolveDuration=void 0}),i=new Jn(!0);this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(n=>{Object.assign(this.completion,n),this._resolveDuration=i.elapsed()},n=>{Id(n)&&(this._resolveCache=void 0,this._resolveDuration=void 0)}).finally(()=>{t.dispose()})}return this._resolveCache}}class zC{constructor(e=2,t=new Set,i=new Set,n=new Map,o=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=i,this.providerItemsToReuse=n,this.showDeprecated=o}}zC.default=new zC;let XTe;function YTe(){return XTe}class QTe{constructor(e,t,i,n){this.items=e,this.needsClipboard=t,this.durations=i,this.disposable=n}}async function P4(s,e,t,i=zC.default,n={triggerKind:0},o=dt.None){const r=new Jn;t=t.clone();const a=e.getWordAtPosition(t),l=a?new x(t.lineNumber,a.startColumn,t.lineNumber,a.endColumn):x.fromPositions(t),d={replace:l,insert:l.setEndPosition(t.lineNumber,t.column)},c=[],u=new Y,h=[];let g=!1;const f=(_,v,b)=>{var C,w,y;let D=!1;if(!v)return D;for(const L of v.suggestions)if(!i.kindFilter.has(L.kind)){if(!i.showDeprecated&&(!((C=L==null?void 0:L.tags)===null||C===void 0)&&C.includes(1)))continue;L.range||(L.range=d),L.sortText||(L.sortText=typeof L.label==\"string\"?L.label:L.label.label),!g&&L.insertTextRules&&L.insertTextRules&4&&(g=Rf.guessNeedsClipboard(L.insertText)),c.push(new ZTe(t,L,v,_)),D=!0}return jL(v)&&u.add(v),h.push({providerName:(w=_._debugDisplayName)!==null&&w!==void 0?w:\"unknown_provider\",elapsedProvider:(y=v.duration)!==null&&y!==void 0?y:-1,elapsedOverall:b.elapsed()}),D},m=(async()=>{})();for(const _ of s.orderedGroups(e)){let v=!1;if(await Promise.all(_.map(async b=>{if(i.providerItemsToReuse.has(b)){const C=i.providerItemsToReuse.get(b);C.forEach(w=>c.push(w)),v=v||C.length>0;return}if(!(i.providerFilter.size>0&&!i.providerFilter.has(b)))try{const C=new Jn,w=await b.provideCompletionItems(e,t,n,o);v=f(b,w,C)||v}catch(C){Ai(C)}})),v||o.isCancellationRequested)break}return await m,o.isCancellationRequested?(u.dispose(),Promise.reject(new sl)):new QTe(c.sort(tNe(i.snippetSortOrder)),g,{entries:h,elapsed:r.elapsed()},u)}function F4(s,e){if(s.sortTextLow&&e.sortTextLow){if(s.sortTextLow<e.sortTextLow)return-1;if(s.sortTextLow>e.sortTextLow)return 1}return s.textLabel<e.textLabel?-1:s.textLabel>e.textLabel?1:s.completion.kind-e.completion.kind}function JTe(s,e){if(s.completion.kind!==e.completion.kind){if(s.completion.kind===27)return-1;if(e.completion.kind===27)return 1}return F4(s,e)}function eNe(s,e){if(s.completion.kind!==e.completion.kind){if(s.completion.kind===27)return 1;if(e.completion.kind===27)return-1}return F4(s,e)}const Ak=new Map;Ak.set(0,JTe);Ak.set(2,eNe);Ak.set(1,F4);function tNe(s){return Ak.get(s)}pt.registerCommand(\"_executeCompletionItemProvider\",async(s,...e)=>{const[t,i,n,o]=e;yt(Ae.isUri(t)),yt(W.isIPosition(i)),yt(typeof n==\"string\"||!n),yt(typeof o==\"number\"||!o);const{completionProvider:r}=s.get(Ce),a=await s.get(mo).createModelReference(t);try{const l={incomplete:!1,suggestions:[]},d=[],c=a.object.textEditorModel.validatePosition(i),u=await P4(r,a.object.textEditorModel,c,void 0,{triggerCharacter:n??void 0,triggerKind:n?1:0});for(const h of u.items)d.length<(o??0)&&d.push(h.resolve(dt.None)),l.incomplete=l.incomplete||h.container.incomplete,l.suggestions.push(h.completion);try{return await Promise.all(d),l}finally{setTimeout(()=>u.disposable.dispose(),100)}}finally{a.dispose()}});function iNe(s,e){var t;(t=s.getContribution(\"editor.contrib.suggestController\"))===null||t===void 0||t.triggerSuggest(new Set().add(e),void 0,!0)}class ym{static isAllOff(e){return e.other===\"off\"&&e.comments===\"off\"&&e.strings===\"off\"}static isAllOn(e){return e.other===\"on\"&&e.comments===\"on\"&&e.strings===\"on\"}static valueFor(e,t){switch(t){case 1:return e.comments;case 2:return e.strings;default:return e.other}}}function L9(s,e=as){return _me(s,e)?s.charAt(0).toUpperCase()+s.slice(1):s}var nNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},sNe=function(s,e){return function(t,i){e(t,i,s)}};class x9{constructor(e){this._delegates=e}resolve(e){for(const t of this._delegates){const i=t.resolve(e);if(i!==void 0)return i}}}class k9{constructor(e,t,i,n){this._model=e,this._selection=t,this._selectionIdx=i,this._overtypingCapturer=n}resolve(e){const{name:t}=e;if(t===\"SELECTION\"||t===\"TM_SELECTED_TEXT\"){let i=this._model.getValueInRange(this._selection)||void 0,n=this._selection.startLineNumber!==this._selection.endLineNumber;if(!i&&this._overtypingCapturer){const o=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);o&&(i=o.value,n=o.multiline)}if(i&&n&&e.snippet){const o=this._model.getLineContent(this._selection.startLineNumber),r=Zt(o,0,this._selection.startColumn-1);let a=r;e.snippet.walk(d=>d===e?!1:(d instanceof Ts&&(a=Zt(Td(d.value).pop())),!0));const l=Sh(a,r);i=i.replace(/(\\r\\n|\\r|\\n)(.*)/g,(d,c,u)=>`${c}${a.substr(l)}${u}`)}return i}else{if(t===\"TM_CURRENT_LINE\")return this._model.getLineContent(this._selection.positionLineNumber);if(t===\"TM_CURRENT_WORD\"){const i=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return i&&i.word||void 0}else{if(t===\"TM_LINE_INDEX\")return String(this._selection.positionLineNumber-1);if(t===\"TM_LINE_NUMBER\")return String(this._selection.positionLineNumber);if(t===\"CURSOR_INDEX\")return String(this._selectionIdx);if(t===\"CURSOR_NUMBER\")return String(this._selectionIdx+1)}}}}class E9{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const{name:t}=e;if(t===\"TM_FILENAME\")return nh(this._model.uri.fsPath);if(t===\"TM_FILENAME_BASE\"){const i=nh(this._model.uri.fsPath),n=i.lastIndexOf(\".\");return n<=0?i:i.slice(0,n)}else{if(t===\"TM_DIRECTORY\")return XV(this._model.uri.fsPath)===\".\"?\"\":this._labelService.getUriLabel(Ax(this._model.uri));if(t===\"TM_FILEPATH\")return this._labelService.getUriLabel(this._model.uri);if(t===\"RELATIVE_FILEPATH\")return this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0})}}}class I9{constructor(e,t,i,n){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=i,this._spread=n}resolve(e){if(e.name!==\"CLIPBOARD\")return;const t=this._readClipboardText();if(t){if(this._spread){const i=t.split(/\\r\\n|\\n|\\r/).filter(n=>!sz(n));if(i.length===this._selectionCount)return i[this._selectionIdx]}return t}}}let yL=class{constructor(e,t,i){this._model=e,this._selection=t,this._languageConfigurationService=i}resolve(e){const{name:t}=e,i=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),n=this._languageConfigurationService.getLanguageConfiguration(i).comments;if(n){if(t===\"LINE_COMMENT\")return n.lineCommentToken||void 0;if(t===\"BLOCK_COMMENT_START\")return n.blockCommentStartToken||void 0;if(t===\"BLOCK_COMMENT_END\")return n.blockCommentEndToken||void 0}}};yL=nNe([sNe(2,Yt)],yL);class Za{constructor(){this._date=new Date}resolve(e){const{name:t}=e;if(t===\"CURRENT_YEAR\")return String(this._date.getFullYear());if(t===\"CURRENT_YEAR_SHORT\")return String(this._date.getFullYear()).slice(-2);if(t===\"CURRENT_MONTH\")return String(this._date.getMonth().valueOf()+1).padStart(2,\"0\");if(t===\"CURRENT_DATE\")return String(this._date.getDate().valueOf()).padStart(2,\"0\");if(t===\"CURRENT_HOUR\")return String(this._date.getHours().valueOf()).padStart(2,\"0\");if(t===\"CURRENT_MINUTE\")return String(this._date.getMinutes().valueOf()).padStart(2,\"0\");if(t===\"CURRENT_SECOND\")return String(this._date.getSeconds().valueOf()).padStart(2,\"0\");if(t===\"CURRENT_DAY_NAME\")return Za.dayNames[this._date.getDay()];if(t===\"CURRENT_DAY_NAME_SHORT\")return Za.dayNamesShort[this._date.getDay()];if(t===\"CURRENT_MONTH_NAME\")return Za.monthNames[this._date.getMonth()];if(t===\"CURRENT_MONTH_NAME_SHORT\")return Za.monthNamesShort[this._date.getMonth()];if(t===\"CURRENT_SECONDS_UNIX\")return String(Math.floor(this._date.getTime()/1e3));if(t===\"CURRENT_TIMEZONE_OFFSET\"){const i=this._date.getTimezoneOffset(),n=i>0?\"-\":\"+\",o=Math.trunc(Math.abs(i/60)),r=o<10?\"0\"+o:o,a=Math.abs(i)-o*60,l=a<10?\"0\"+a:a;return n+r+\":\"+l}}}Za.dayNames=[p(\"Sunday\",\"Sunday\"),p(\"Monday\",\"Monday\"),p(\"Tuesday\",\"Tuesday\"),p(\"Wednesday\",\"Wednesday\"),p(\"Thursday\",\"Thursday\"),p(\"Friday\",\"Friday\"),p(\"Saturday\",\"Saturday\")];Za.dayNamesShort=[p(\"SundayShort\",\"Sun\"),p(\"MondayShort\",\"Mon\"),p(\"TuesdayShort\",\"Tue\"),p(\"WednesdayShort\",\"Wed\"),p(\"ThursdayShort\",\"Thu\"),p(\"FridayShort\",\"Fri\"),p(\"SaturdayShort\",\"Sat\")];Za.monthNames=[p(\"January\",\"January\"),p(\"February\",\"February\"),p(\"March\",\"March\"),p(\"April\",\"April\"),p(\"May\",\"May\"),p(\"June\",\"June\"),p(\"July\",\"July\"),p(\"August\",\"August\"),p(\"September\",\"September\"),p(\"October\",\"October\"),p(\"November\",\"November\"),p(\"December\",\"December\")];Za.monthNamesShort=[p(\"JanuaryShort\",\"Jan\"),p(\"FebruaryShort\",\"Feb\"),p(\"MarchShort\",\"Mar\"),p(\"AprilShort\",\"Apr\"),p(\"MayShort\",\"May\"),p(\"JuneShort\",\"Jun\"),p(\"JulyShort\",\"Jul\"),p(\"AugustShort\",\"Aug\"),p(\"SeptemberShort\",\"Sep\"),p(\"OctoberShort\",\"Oct\"),p(\"NovemberShort\",\"Nov\"),p(\"DecemberShort\",\"Dec\")];class T9{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;const t=Mbe(this._workspaceService.getWorkspace());if(!Nbe(t)){if(e.name===\"WORKSPACE_NAME\")return this._resolveWorkspaceName(t);if(e.name===\"WORKSPACE_FOLDER\")return this._resoveWorkspacePath(t)}}_resolveWorkspaceName(e){if(v2(e))return nh(e.uri.path);let t=nh(e.configPath.path);return t.endsWith(b2)&&(t=t.substr(0,t.length-b2.length-1)),t}_resoveWorkspacePath(e){if(v2(e))return L9(e.uri.fsPath);const t=nh(e.configPath.path);let i=e.configPath.fsPath;return i.endsWith(t)&&(i=i.substr(0,i.length-t.length-1)),i?L9(i):\"/\"}}class N9{resolve(e){const{name:t}=e;if(t===\"RANDOM\")return Math.random().toString().slice(-6);if(t===\"RANDOM_HEX\")return Math.random().toString(16).slice(-6);if(t===\"UUID\")return pk()}}var oNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rNe=function(s,e){return function(t,i){e(t,i,s)}},Ma;class br{constructor(e,t,i){this._editor=e,this._snippet=t,this._snippetLineLeadingWhitespace=i,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=K5(t.placeholders,yr.compareByIndex),this._placeholderGroupsIdx=-1}initialize(e){this._offset=e.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(this._offset===-1)throw new Error(\"Snippet not initialized!\");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations(t=>{for(const i of this._snippet.placeholders){const n=this._snippet.offset(i),o=this._snippet.fullLen(i),r=x.fromPositions(e.getPositionAt(this._offset+n),e.getPositionAt(this._offset+n+o)),a=i.isFinalTabstop?br._decor.inactiveFinal:br._decor.inactive,l=t.addDecoration(r,a);this._placeholderDecorations.set(i,l)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){const n=[];for(const o of this._placeholderGroups[this._placeholderGroupsIdx])if(o.transform){const r=this._placeholderDecorations.get(o),a=this._editor.getModel().getDecorationRange(r),l=this._editor.getModel().getValueInRange(a),d=o.transform.resolve(l).split(/\\r\\n|\\r|\\n/);for(let c=1;c<d.length;c++)d[c]=this._editor.getModel().normalizeIndentation(this._snippetLineLeadingWhitespace+d[c]);n.push(pi.replace(a,d.join(this._editor.getModel().getEOL())))}n.length>0&&this._editor.executeEdits(\"snippet.placeholderTransform\",n)}let t=!1;e===!0&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,t=!0):e===!1&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,t=!0);const i=this._editor.getModel().changeDecorations(n=>{const o=new Set,r=[];for(const a of this._placeholderGroups[this._placeholderGroupsIdx]){const l=this._placeholderDecorations.get(a),d=this._editor.getModel().getDecorationRange(l);r.push(new we(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(a),n.changeDecorationOptions(l,a.isFinalTabstop?br._decor.activeFinal:br._decor.active),o.add(a);for(const c of this._snippet.enclosingPlaceholders(a)){const u=this._placeholderDecorations.get(c);n.changeDecorationOptions(u,c.isFinalTabstop?br._decor.activeFinal:br._decor.active),o.add(c)}}for(const[a,l]of this._placeholderDecorations)o.has(a)||n.changeDecorationOptions(l,a.isFinalTabstop?br._decor.inactiveFinal:br._decor.inactive);return r});return t?this.move(e):i??[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof yr){const i=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(i).isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){if(this._snippet.placeholders.length===0)return!0;if(this._snippet.placeholders.length===1){const[e]=this._snippet.placeholders;if(e.isFinalTabstop&&this._snippet.rightMostDescendant===e)return!0}return!1}computePossibleSelections(){const e=new Map;for(const t of this._placeholderGroups){let i;for(const n of t){if(n.isFinalTabstop)break;i||(i=[],e.set(n.index,i));const o=this._placeholderDecorations.get(n),r=this._editor.getModel().getDecorationRange(o);if(!r){e.delete(n.index);break}i.push(r)}}return e}get activeChoice(){if(!this._placeholderDecorations)return;const e=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!(e!=null&&e.choice))return;const t=this._placeholderDecorations.get(e);if(!t)return;const i=this._editor.getModel().getDecorationRange(t);if(i)return{range:i,choice:e.choice}}get hasChoice(){let e=!1;return this._snippet.walk(t=>(e=t instanceof w0,!e)),e}merge(e){const t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(i=>{for(const n of this._placeholderGroups[this._placeholderGroupsIdx]){const o=e.shift();console.assert(o._offset!==-1),console.assert(!o._placeholderDecorations);const r=o._snippet.placeholderInfo.last.index;for(const l of o._snippet.placeholderInfo.all)l.isFinalTabstop?l.index=n.index+(r+1)/this._nestingLevel:l.index=n.index+l.index/this._nestingLevel;this._snippet.replace(n,o._snippet.children);const a=this._placeholderDecorations.get(n);i.removeDecoration(a),this._placeholderDecorations.delete(n);for(const l of o._snippet.placeholders){const d=o._snippet.offset(l),c=o._snippet.fullLen(l),u=x.fromPositions(t.getPositionAt(o._offset+d),t.getPositionAt(o._offset+d+c)),h=i.addDecoration(u,br._decor.inactive);this._placeholderDecorations.set(l,h)}}this._placeholderGroups=K5(this._snippet.placeholders,yr.compareByIndex)})}}br._decor={active:Ye.register({description:\"snippet-placeholder-1\",stickiness:0,className:\"snippet-placeholder\"}),inactive:Ye.register({description:\"snippet-placeholder-2\",stickiness:1,className:\"snippet-placeholder\"}),activeFinal:Ye.register({description:\"snippet-placeholder-3\",stickiness:1,className:\"finish-snippet-placeholder\"}),inactiveFinal:Ye.register({description:\"snippet-placeholder-4\",stickiness:1,className:\"finish-snippet-placeholder\"})};const A9={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let SL=Ma=class{static adjustWhitespace(e,t,i,n,o){const r=e.getLineContent(t.lineNumber),a=Zt(r,0,t.column-1);let l;return n.walk(d=>{if(!(d instanceof Ts)||d.parent instanceof w0||o&&!o.has(d))return!0;const c=d.value.split(/\\r\\n|\\r|\\n/);if(i){const h=n.offset(d);if(h===0)c[0]=e.normalizeIndentation(c[0]);else{l=l??n.toString();const g=l.charCodeAt(h-1);(g===10||g===13)&&(c[0]=e.normalizeIndentation(a+c[0]))}for(let g=1;g<c.length;g++)c[g]=e.normalizeIndentation(a+c[g])}const u=c.join(e.getEOL());return u!==d.value&&(d.parent.replace(d,[new Ts(u)]),l=void 0),!0}),a}static adjustSelection(e,t,i,n){if(i!==0||n!==0){const{positionLineNumber:o,positionColumn:r}=t,a=r-i,l=r+n,d=e.validateRange({startLineNumber:o,startColumn:a,endLineNumber:o,endColumn:l});t=we.createWithDirection(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn,t.getDirection())}return t}static createEditsAndSnippetsFromSelections(e,t,i,n,o,r,a,l,d){const c=[],u=[];if(!e.hasModel())return{edits:c,snippets:u};const h=e.getModel(),g=e.invokeWithinContext(w=>w.get(If)),f=e.invokeWithinContext(w=>new E9(w.get(k_),h)),m=()=>a,_=h.getValueInRange(Ma.adjustSelection(h,e.getSelection(),i,0)),v=h.getValueInRange(Ma.adjustSelection(h,e.getSelection(),0,n)),b=h.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber),C=e.getSelections().map((w,y)=>({selection:w,idx:y})).sort((w,y)=>x.compareRangesUsingStarts(w.selection,y.selection));for(const{selection:w,idx:y}of C){let D=Ma.adjustSelection(h,w,i,0),L=Ma.adjustSelection(h,w,0,n);_!==h.getValueInRange(D)&&(D=w),v!==h.getValueInRange(L)&&(L=w);const k=w.setStartPosition(D.startLineNumber,D.startColumn).setEndPosition(L.endLineNumber,L.endColumn),I=new Rf().parse(t,!0,o),O=k.getStartPosition(),R=Ma.adjustWhitespace(h,O,r||y>0&&b!==h.getLineFirstNonWhitespaceColumn(w.positionLineNumber),I);I.resolveVariables(new x9([f,new I9(m,y,C.length,e.getOption(79)===\"spread\"),new k9(h,w,y,l),new yL(h,w,d),new Za,new T9(g),new N9])),c[y]=pi.replace(k,I.toString()),c[y].identifier={major:y,minor:0},c[y]._isTracked=!0,u[y]=new br(e,I,R)}return{edits:c,snippets:u}}static createEditsAndSnippetsFromEdits(e,t,i,n,o,r,a){if(!e.hasModel()||t.length===0)return{edits:[],snippets:[]};const l=[],d=e.getModel(),c=new Rf,u=new H1,h=new x9([e.invokeWithinContext(f=>new E9(f.get(k_),d)),new I9(()=>o,0,e.getSelections().length,e.getOption(79)===\"spread\"),new k9(d,e.getSelection(),0,r),new yL(d,e.getSelection(),a),new Za,new T9(e.invokeWithinContext(f=>f.get(If))),new N9]);t=t.sort((f,m)=>x.compareRangesUsingStarts(f.range,m.range));let g=0;for(let f=0;f<t.length;f++){const{range:m,template:_}=t[f];if(f>0){const y=t[f-1].range,D=x.fromPositions(y.getEndPosition(),m.getStartPosition()),L=new Ts(d.getValueInRange(D));u.appendChild(L),g+=L.value.length}const v=c.parseFragment(_,u);Ma.adjustWhitespace(d,m.getStartPosition(),!0,u,new Set(v)),u.resolveVariables(h);const b=u.toString(),C=b.slice(g);g=b.length;const w=pi.replace(m,C);w.identifier={major:f,minor:0},w._isTracked=!0,l.push(w)}return c.ensureFinalTabstop(u,i,!0),{edits:l,snippets:[new br(e,u,\"\")]}}constructor(e,t,i=A9,n){this._editor=e,this._template=t,this._options=i,this._languageConfigurationService=n,this._templateMerges=[],this._snippets=[]}dispose(){jt(this._snippets)}_logInfo(){return`template=\"${this._template}\", merged_templates=\"${this._templateMerges.join(\" -> \")}\"`}insert(){if(!this._editor.hasModel())return;const{edits:e,snippets:t}=typeof this._template==\"string\"?Ma.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):Ma.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=t,this._editor.executeEdits(\"snippet\",e,i=>{const n=i.filter(o=>!!o.identifier);for(let o=0;o<t.length;o++)t[o].initialize(n[o].textChange);return this._snippets[0].hasPlaceholder?this._move(!0):n.map(o=>we.fromPositions(o.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=A9){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:i,snippets:n}=Ma.createEditsAndSnippetsFromSelections(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits(\"snippet\",i,o=>{const r=o.filter(l=>!!l.identifier);for(let l=0;l<n.length;l++)n[l].initialize(r[l].textChange);const a=n[0].isTrivialSnippet;if(!a){for(const l of this._snippets)l.merge(n);console.assert(n.length===0)}return this._snippets[0].hasPlaceholder&&!a?this._move(void 0):r.map(l=>we.fromPositions(l.range.getEndPosition()))})}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const i of this._snippets){const n=i.move(e);t.push(...n)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;const t=new Map;for(const i of this._snippets){const n=i.computePossibleSelections();if(t.size===0)for(const[o,r]of n){r.sort(x.compareRangesUsingStarts);for(const a of e)if(r[0].containsRange(a)){t.set(o,[]);break}}if(t.size===0)return!1;t.forEach((o,r)=>{o.push(...n.get(r))})}e.sort(x.compareRangesUsingStarts);for(const[i,n]of t){if(n.length!==e.length){t.delete(i);continue}n.sort(x.compareRangesUsingStarts);for(let o=0;o<n.length;o++)if(!n[o].containsRange(e[o])){t.delete(i);continue}}return t.size>0}};SL=Ma=oNe([rNe(3,Yt)],SL);var aNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},by=function(s,e){return function(t,i){e(t,i,s)}},Gp;const M9={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let jn=Gp=class{static get(e){return e.getContribution(Gp.ID)}constructor(e,t,i,n,o){this._editor=e,this._logService=t,this._languageFeaturesService=i,this._languageConfigurationService=o,this._snippetListener=new Y,this._modelVersionId=-1,this._inSnippet=Gp.InSnippetMode.bindTo(n),this._hasNextTabstop=Gp.HasNextTabstop.bindTo(n),this._hasPrevTabstop=Gp.HasPrevTabstop.bindTo(n)}dispose(){var e;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),(e=this._session)===null||e===void 0||e.dispose(),this._snippetListener.dispose()}insert(e,t){try{this._doInsert(e,typeof t>\"u\"?M9:{...M9,...t})}catch(i){this.cancel(),this._logService.error(i),this._logService.error(\"snippet_error\"),this._logService.error(\"insert_template=\",e),this._logService.error(\"existing_template=\",this._session?this._session._logInfo():\"<no_session>\")}}_doInsert(e,t){var i;if(this._editor.hasModel()){if(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&typeof e!=\"string\"&&this.cancel(),this._session?(yt(typeof e==\"string\"),this._session.merge(e,t)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new SL(this._editor,e,t,this._languageConfigurationService),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),!((i=this._session)===null||i===void 0)&&i.hasChoice){const n={_debugDisplayName:\"snippetChoiceCompletions\",provideCompletionItems:(c,u)=>{if(!this._session||c!==this._editor.getModel()||!W.equals(this._editor.getPosition(),u))return;const{activeChoice:h}=this._session;if(!h||h.choice.options.length===0)return;const g=c.getValueInRange(h.range),f=!!h.choice.options.find(_=>_.value===g),m=[];for(let _=0;_<h.choice.options.length;_++){const v=h.choice.options[_];m.push({kind:13,label:v.value,insertText:v.value,sortText:\"a\".repeat(_+1),range:h.range,filterText:f?`${g}_${v.value}`:void 0,command:{id:\"jumpToNextSnippetPlaceholder\",title:p(\"next\",\"Go to next placeholder...\")}})}return{suggestions:m}}},o=this._editor.getModel();let r,a=!1;const l=()=>{r==null||r.dispose(),a=!1},d=()=>{a||(r=this._languageFeaturesService.completionProvider.register({language:o.getLanguageId(),pattern:o.uri.fsPath,scheme:o.uri.scheme,exclusive:!0},n),this._snippetListener.add(r),a=!0)};this._choiceCompletions={provider:n,enable:d,disable:l}}this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(n=>n.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){if(!(!this._session||!this._editor.hasModel())){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this._editor.getModel().pushStackElement(),this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){var e;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}const{activeChoice:t}=this._session;if(!t||!this._choiceCompletions){(e=this._choiceCompletions)===null||e===void 0||e.disable(),this._currentChoice=void 0;return}this._currentChoice!==t.choice&&(this._currentChoice=t.choice,this._choiceCompletions.enable(),queueMicrotask(()=>{iNe(this._editor,this._choiceCompletions.provider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,(t=this._session)===null||t===void 0||t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){var e;(e=this._session)===null||e===void 0||e.prev(),this._updateState()}next(){var e;(e=this._session)===null||e===void 0||e.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};jn.ID=\"snippetController2\";jn.InSnippetMode=new ue(\"inSnippetMode\",!1,p(\"inSnippetMode\",\"Whether the editor in current in snippet mode\"));jn.HasNextTabstop=new ue(\"hasNextTabstop\",!1,p(\"hasNextTabstop\",\"Whether there is a next tab stop when in snippet mode\"));jn.HasPrevTabstop=new ue(\"hasPrevTabstop\",!1,p(\"hasPrevTabstop\",\"Whether there is a previous tab stop when in snippet mode\"));jn=Gp=aNe([by(1,ys),by(2,Ce),by(3,Be),by(4,Yt)],jn);kt(jn.ID,jn,4);const Mk=mn.bindToContribution(jn.get);de(new Mk({id:\"jumpToNextSnippetPlaceholder\",precondition:G.and(jn.InSnippetMode,jn.HasNextTabstop),handler:s=>s.next(),kbOpts:{weight:130,kbExpr:T.textInputFocus,primary:2}}));de(new Mk({id:\"jumpToPrevSnippetPlaceholder\",precondition:G.and(jn.InSnippetMode,jn.HasPrevTabstop),handler:s=>s.prev(),kbOpts:{weight:130,kbExpr:T.textInputFocus,primary:1026}}));de(new Mk({id:\"leaveSnippet\",precondition:jn.InSnippetMode,handler:s=>s.cancel(!0),kbOpts:{weight:130,kbExpr:T.textInputFocus,primary:9,secondary:[1033]}}));de(new Mk({id:\"acceptSnippet\",precondition:jn.InSnippetMode,handler:s=>s.finish()}));var lNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},mT=function(s,e){return function(t,i){e(t,i,s)}},$o;(function(s){s[s.Undo=0]=\"Undo\",s[s.Redo=1]=\"Redo\",s[s.AcceptWord=2]=\"AcceptWord\",s[s.Other=3]=\"Other\"})($o||($o={}));let _R=class extends H{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(e,t,i,n,o,r,a,l,d,c,u,h){super(),this.textModel=e,this.selectedSuggestItem=t,this.textModelVersionId=i,this._positions=n,this._debounceValue=o,this._suggestPreviewEnabled=r,this._suggestPreviewMode=a,this._inlineSuggestMode=l,this._enabled=d,this._instantiationService=c,this._commandService=u,this._languageConfigurationService=h,this._source=this._register(this._instantiationService.createInstance(mR,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=vt(this,!1),this._forceUpdateExplicitlySignal=Zx(this),this._selectedInlineCompletionId=vt(this,void 0),this._primaryPosition=je(this,f=>{var m;return(m=this._positions.read(f)[0])!==null&&m!==void 0?m:new W(1,1)}),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([$o.Redo,$o.Undo,$o.AcceptWord]),this._fetchInlineCompletionsPromise=_Ce({owner:this,createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:kc.Automatic}),handleChange:(f,m)=>(f.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(f.change)?m.preserveCurrentCompletion=!0:f.didChange(this._forceUpdateExplicitlySignal)&&(m.inlineCompletionTriggerKind=kc.Explicit),!0)},(f,m)=>{if(this._forceUpdateExplicitlySignal.read(f),!(this._enabled.read(f)&&this.selectedSuggestItem.read(f)||this._isActive.read(f))){this._source.cancelUpdate();return}this.textModelVersionId.read(f);const v=this._source.suggestWidgetInlineCompletions.get(),b=this.selectedSuggestItem.read(f);if(v&&!b){const L=this._source.inlineCompletions.get();$t(k=>{(!L||v.request.versionId>L.request.versionId)&&this._source.inlineCompletions.set(v.clone(),k),this._source.clearSuggestWidgetInlineCompletions(k)})}const C=this._primaryPosition.read(f),w={triggerKind:m.inlineCompletionTriggerKind,selectedSuggestionInfo:b==null?void 0:b.toSelectedSuggestionInfo()},y=this.selectedInlineCompletion.get(),D=m.preserveCurrentCompletion||y!=null&&y.forwardStable?y:void 0;return this._source.fetch(C,w,D)}),this._filteredInlineCompletionItems=dc({owner:this,equalsFn:y2()},f=>{const m=this._source.inlineCompletions.read(f);if(!m)return[];const _=this._primaryPosition.read(f);return m.inlineCompletions.filter(b=>b.isVisible(this.textModel,_,f))}),this.selectedInlineCompletionIndex=je(this,f=>{const m=this._selectedInlineCompletionId.read(f),_=this._filteredInlineCompletionItems.read(f),v=this._selectedInlineCompletionId===void 0?-1:_.findIndex(b=>b.semanticId===m);return v===-1?(this._selectedInlineCompletionId.set(void 0,void 0),0):v}),this.selectedInlineCompletion=je(this,f=>{const m=this._filteredInlineCompletionItems.read(f),_=this.selectedInlineCompletionIndex.read(f);return m[_]}),this.activeCommands=dc({owner:this,equalsFn:y2()},f=>{var m,_;return(_=(m=this.selectedInlineCompletion.read(f))===null||m===void 0?void 0:m.inlineCompletion.source.inlineCompletions.commands)!==null&&_!==void 0?_:[]}),this.lastTriggerKind=this._source.inlineCompletions.map(this,f=>f==null?void 0:f.request.context.triggerKind),this.inlineCompletionsCount=je(this,f=>{if(this.lastTriggerKind.read(f)===kc.Explicit)return this._filteredInlineCompletionItems.read(f).length}),this.state=dc({owner:this,equalsFn:(f,m)=>!f||!m?f===m:p9(f.ghostTexts,m.ghostTexts)&&f.inlineCompletion===m.inlineCompletion&&f.suggestItem===m.suggestItem},f=>{var m,_;const v=this.textModel,b=this.selectedSuggestItem.read(f);if(b){const C=pf(b.toSingleTextEdit(),v),w=this._computeAugmentation(C,f);if(!this._suggestPreviewEnabled.read(f)&&!w)return;const D=(m=w==null?void 0:w.edit)!==null&&m!==void 0?m:C,L=w?w.edit.text.length-C.text.length:0,k=this._suggestPreviewMode.read(f),I=this._positions.read(f),O=[D,..._T(this.textModel,I,D)],R=O.map((F,V)=>C9(F,v,k,I[V],L)).filter(rd),P=(_=R[0])!==null&&_!==void 0?_:new VC(D.range.endLineNumber,[]);return{edits:O,primaryGhostText:P,ghostTexts:R,inlineCompletion:w==null?void 0:w.completion,suggestItem:b}}else{if(!this._isActive.read(f))return;const C=this.selectedInlineCompletion.read(f);if(!C)return;const w=C.toSingleTextEdit(f),y=this._inlineSuggestMode.read(f),D=this._positions.read(f),L=[w,..._T(this.textModel,D,w)],k=L.map((I,O)=>C9(I,v,y,D[O],0)).filter(rd);return k[0]?{edits:L,primaryGhostText:k[0],ghostTexts:k,inlineCompletion:C,suggestItem:void 0}:void 0}}),this.ghostTexts=dc({owner:this,equalsFn:p9},f=>{const m=this.state.read(f);if(m)return m.ghostTexts}),this.primaryGhostText=dc({owner:this,equalsFn:CG},f=>{const m=this.state.read(f);if(m)return m==null?void 0:m.primaryGhostText}),this._register(T1(this._fetchInlineCompletionsPromise));let g;this._register(st(f=>{var m,_;const v=this.state.read(f),b=v==null?void 0:v.inlineCompletion;if((b==null?void 0:b.semanticId)!==(g==null?void 0:g.semanticId)&&(g=b,b)){const C=b.inlineCompletion,w=C.source;(_=(m=w.provider).handleItemDidShow)===null||_===void 0||_.call(m,w.inlineCompletions,C.sourceInlineCompletion,C.insertText)}}))}async trigger(e){this._isActive.set(!0,e),await this._fetchInlineCompletionsPromise.get()}async triggerExplicitly(e){hC(e,t=>{this._isActive.set(!0,t),this._forceUpdateExplicitlySignal.trigger(t)}),await this._fetchInlineCompletionsPromise.get()}stop(e){hC(e,t=>{this._isActive.set(!1,t),this._source.clear(t)})}_computeAugmentation(e,t){const i=this.textModel,n=this._source.suggestWidgetInlineCompletions.read(t),o=n?n.inlineCompletions:[this.selectedInlineCompletion.read(t)].filter(rd);return ice(o,a=>{let l=a.toSingleTextEdit(t);return l=pf(l,i,x.fromPositions(l.range.getStartPosition(),e.range.getEndPosition())),DG(l,e)?{completion:a,edit:l}:void 0})}async _deltaSelectedInlineCompletionIndex(e){await this.triggerExplicitly();const t=this._filteredInlineCompletionItems.get()||[];if(t.length>0){const i=(this.selectedInlineCompletionIndex.get()+e+t.length)%t.length;this._selectedInlineCompletionId.set(t[i].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)}async next(){await this._deltaSelectedInlineCompletionIndex(1)}async previous(){await this._deltaSelectedInlineCompletionIndex(-1)}async accept(e){var t;if(e.getModel()!==this.textModel)throw new Ut;const i=this.state.get();if(!i||i.primaryGhostText.isEmpty()||!i.inlineCompletion)return;const n=i.inlineCompletion.toInlineCompletion(void 0);if(e.pushUndoStop(),n.snippetInfo)e.executeEdits(\"inlineSuggestion.accept\",[pi.replace(n.range,\"\"),...n.additionalTextEdits]),e.setPosition(n.snippetInfo.range.getStartPosition(),\"inlineCompletionAccept\"),(t=jn.get(e))===null||t===void 0||t.insert(n.snippetInfo.snippet,{undoStopBefore:!1});else{const o=i.edits,r=R9(o).map(a=>we.fromPositions(a));e.executeEdits(\"inlineSuggestion.accept\",[...o.map(a=>pi.replace(a.range,a.text)),...n.additionalTextEdits]),e.setSelections(r,\"inlineCompletionAccept\")}n.command&&n.source.addRef(),$t(o=>{this._source.clear(o),this._isActive.set(!1,o)}),n.command&&(await this._commandService.executeCommand(n.command.id,...n.command.arguments||[]).then(void 0,Ai),n.source.removeRef())}async acceptNextWord(e){await this._acceptNext(e,(t,i)=>{const n=this.textModel.getLanguageIdAtPosition(t.lineNumber,t.column),o=this._languageConfigurationService.getLanguageConfiguration(n),r=new RegExp(o.wordDefinition.source,o.wordDefinition.flags.replace(\"g\",\"\")),a=i.match(r);let l=0;a&&a.index!==void 0?a.index===0?l=a[0].length:l=a.index:l=i.length;const c=/\\s+/g.exec(i);return c&&c.index!==void 0&&c.index+c[0].length<l&&(l=c.index+c[0].length),l},0)}async acceptNextLine(e){await this._acceptNext(e,(t,i)=>{const n=i.match(/\\n/);return n&&n.index!==void 0?n.index+1:i.length},1)}async _acceptNext(e,t,i){if(e.getModel()!==this.textModel)throw new Ut;const n=this.state.get();if(!n||n.primaryGhostText.isEmpty()||!n.inlineCompletion)return;const o=n.primaryGhostText,r=n.inlineCompletion.toInlineCompletion(void 0);if(r.snippetInfo||r.filterText!==r.insertText){await this.accept(e);return}const a=o.parts[0],l=new W(o.lineNumber,a.column),d=a.text,c=t(l,d);if(c===d.length&&o.parts.length===1){this.accept(e);return}const u=d.substring(0,c),h=this._positions.get(),g=h[0];r.source.addRef();try{this._isAcceptingPartially=!0;try{e.pushUndoStop();const f=x.fromPositions(g,l),m=e.getModel().getValueInRange(f)+u,_=new zc(f,m),v=[_,..._T(this.textModel,h,_)],b=R9(v).map(C=>we.fromPositions(C));e.executeEdits(\"inlineSuggestion.accept\",v.map(C=>pi.replace(C.range,C.text))),e.setSelections(b,\"inlineCompletionPartialAccept\")}finally{this._isAcceptingPartially=!1}if(r.source.provider.handlePartialAccept){const f=x.fromPositions(r.range.getStartPosition(),Fs.ofText(u).addToPosition(l)),m=e.getModel().getValueInRange(f,1);r.source.provider.handlePartialAccept(r.source.inlineCompletions,r.sourceInlineCompletion,m.length,{kind:i})}}finally{r.source.removeRef()}}handleSuggestAccepted(e){var t,i;const n=pf(e.toSingleTextEdit(),this.textModel),o=this._computeAugmentation(n,void 0);if(!o)return;const r=o.completion.inlineCompletion;(i=(t=r.source.provider).handlePartialAccept)===null||i===void 0||i.call(t,r.source.inlineCompletions,r.sourceInlineCompletion,n.text.length,{kind:2})}};_R=lNe([mT(9,Ne),mT(10,gi),mT(11,Yt)],_R);function _T(s,e,t){if(e.length===1)return[];const i=e[0],n=e.slice(1),o=t.range.getStartPosition(),r=t.range.getEndPosition(),a=s.getValueInRange(x.fromPositions(i,r)),l=m9(i,o);if(l.lineNumber<1)return Xe(new Ut(`positionWithinTextEdit line number should be bigger than 0.\n\t\t\tInvalid subtraction between ${i.toString()} and ${o.toString()}`)),[];const d=dNe(t.text,l);return n.map(c=>{const u=ATe(m9(c,o),r),h=s.getValueInRange(x.fromPositions(c,u)),g=Sh(a,h),f=x.fromPositions(c,c.delta(0,g));return new zc(f,d)})}function dNe(s,e){let t=\"\";const i=Tre(s);for(let n=e.lineNumber-1;n<i.length;n++)t+=i[n].substring(n===e.lineNumber-1?e.column-1:0);return t}function R9(s){const e=xS.createSortPermutation(s,(o,r)=>x.compareRangesUsingStarts(o.range,r.range)),i=new yF(e.apply(s)).getNewRanges();return e.inverse().apply(i).map(o=>o.getEndPosition())}var cNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},P9=function(s,e){return function(t,i){e(t,i,s)}},Nv;class O4{constructor(e){this.name=e}select(e,t,i){if(i.length===0)return 0;const n=i[0].score[0];for(let o=0;o<i.length;o++){const{score:r,completion:a}=i[o];if(r[0]!==n)break;if(a.preselect)return o}return 0}}class LG extends O4{constructor(){super(\"first\")}memorize(e,t,i){}toJSON(){}fromJSON(){}}class uNe extends O4{constructor(){super(\"recentlyUsed\"),this._cache=new iu(300,.66),this._seq=0}memorize(e,t,i){const n=`${e.getLanguageId()}/${i.textLabel}`;this._cache.set(n,{touch:this._seq++,type:i.completion.kind,insertText:i.completion.insertText})}select(e,t,i){if(i.length===0)return 0;const n=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\\s$/.test(n))return super.select(e,t,i);const o=i[0].score[0];let r=-1,a=-1,l=-1;for(let d=0;d<i.length&&i[d].score[0]===o;d++){const c=`${e.getLanguageId()}/${i[d].textLabel}`,u=this._cache.peek(c);if(u&&u.touch>l&&u.type===i[d].completion.kind&&u.insertText===i[d].completion.insertText&&(l=u.touch,a=d),i[d].completion.preselect&&r===-1)return r=d}return a!==-1?a:r!==-1?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();const t=0;for(const[i,n]of e)n.touch=t,n.type=typeof n.type==\"number\"?n.type:Tb.fromString(n.type),this._cache.set(i,n);this._seq=this._cache.size}}class hNe extends O4{constructor(){super(\"recentlyUsedByPrefix\"),this._trie=$m.forStrings(),this._seq=0}memorize(e,t,i){const{word:n}=e.getWordUntilPosition(t),o=`${e.getLanguageId()}/${n}`;this._trie.set(o,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){const{word:n}=e.getWordUntilPosition(t);if(!n)return super.select(e,t,i);const o=`${e.getLanguageId()}/${n}`;let r=this._trie.get(o);if(r||(r=this._trie.findSubstr(o)),r)for(let a=0;a<i.length;a++){const{kind:l,insertText:d}=i[a].completion;if(l===r.type&&d===r.insertText)return a}return super.select(e,t,i)}toJSON(){const e=[];return this._trie.forEach((t,i)=>e.push([i,t])),e.sort((t,i)=>-(t[1].touch-i[1].touch)).forEach((t,i)=>t[1].touch=i),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(const[t,i]of e)i.type=typeof i.type==\"number\"?i.type:Tb.fromString(i.type),this._trie.set(t,i)}}}let UC=Nv=class{constructor(e,t){this._storageService=e,this._configService=t,this._disposables=new Y,this._persistSoon=new Wt(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(i=>{i.reason===ED.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(e,t){var i;const n=this._configService.getValue(\"editor.suggestSelection\",{overrideIdentifier:e.getLanguageIdAtPosition(t.lineNumber,t.column),resource:e.uri});if(((i=this._strategy)===null||i===void 0?void 0:i.name)!==n){this._saveState();const o=Nv._strategyCtors.get(n)||LG;this._strategy=new o;try{const a=this._configService.getValue(\"editor.suggest.shareSuggestSelections\")?0:1,l=this._storageService.get(`${Nv._storagePrefix}/${n}`,a);l&&this._strategy.fromJSON(JSON.parse(l))}catch{}}return this._strategy}_saveState(){if(this._strategy){const t=this._configService.getValue(\"editor.suggest.shareSuggestSelections\")?0:1,i=JSON.stringify(this._strategy);this._storageService.store(`${Nv._storagePrefix}/${this._strategy.name}`,i,t,1)}}};UC._strategyCtors=new Map([[\"recentlyUsedByPrefix\",hNe],[\"recentlyUsed\",uNe],[\"first\",LG]]);UC._storagePrefix=\"suggest/memories\";UC=Nv=cNe([P9(0,Rd),P9(1,rt)],UC);const Rk=ut(\"ISuggestMemories\");mt(Rk,UC,1);var gNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},fNe=function(s,e){return function(t,i){e(t,i,s)}},vR;let $C=vR=class{constructor(e,t){this._editor=e,this._enabled=!1,this._ckAtEnd=vR.AtEnd.bindTo(t),this._configListener=this._editor.onDidChangeConfiguration(i=>i.hasChanged(123)&&this._update()),this._update()}dispose(){var e;this._configListener.dispose(),(e=this._selectionListener)===null||e===void 0||e.dispose(),this._ckAtEnd.reset()}_update(){const e=this._editor.getOption(123)===\"on\";if(this._enabled!==e)if(this._enabled=e,this._enabled){const t=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}const i=this._editor.getModel(),n=this._editor.getSelection(),o=i.getWordAtPosition(n.getStartPosition());if(!o){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(o.endColumn===n.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(t),t()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};$C.AtEnd=new ue(\"atEndOfWord\",!1);$C=vR=gNe([fNe(1,Be)],$C);var pNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},mNe=function(s,e){return function(t,i){e(t,i,s)}},Av;let zf=Av=class{constructor(e,t){this._editor=e,this._index=0,this._ckOtherSuggestions=Av.OtherSuggestions.bindTo(t)}dispose(){this.reset()}reset(){var e;this._ckOtherSuggestions.reset(),(e=this._listener)===null||e===void 0||e.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:e,index:t},i){if(e.items.length===0){this.reset();return}if(Av._moveIndex(!0,e,t)===t){this.reset();return}this._acceptNext=i,this._model=e,this._index=t,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(e,t,i){let n=i;for(let o=t.items.length;o>0&&(n=(n+t.items.length+(e?1:-1))%t.items.length,!(n===i||!t.items[n].completion.additionalTextEdits));o--);return n}next(){this._move(!0)}prev(){this._move(!1)}_move(e){if(this._model)try{this._ignore=!0,this._index=Av._moveIndex(e,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};zf.OtherSuggestions=new ue(\"hasOtherSuggestions\",!1);zf=Av=pNe([mNe(1,Be)],zf);class _Ne{constructor(e,t,i,n){this._disposables=new Y,this._disposables.add(i.onDidSuggest(o=>{o.completionModel.items.length===0&&this.reset()})),this._disposables.add(i.onDidCancel(o=>{this.reset()})),this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(o=>{if(this._active&&!t.isFrozen()&&i.state!==0){const r=o.charCodeAt(o.length-1);this._active.acceptCharacters.has(r)&&e.getOption(0)&&n(this._active.item)}}))}_onItem(e){if(!e||!rs(e.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===e.item)return;const t=new ZS;for(const i of e.item.completion.commitCharacters)i.length>0&&t.add(i.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}class jo{async provideSelectionRanges(e,t){const i=[];for(const n of t){const o=[];i.push(o);const r=new Map;await new Promise(a=>jo._bracketsRightYield(a,0,e,n,r)),await new Promise(a=>jo._bracketsLeftYield(a,0,e,n,r,o))}return i}static _bracketsRightYield(e,t,i,n,o){const r=new Map,a=Date.now();for(;;){if(t>=jo._maxRounds){e();break}if(!n){e();break}const l=i.bracketPairs.findNextBracket(n);if(!l){e();break}if(Date.now()-a>jo._maxDuration){setTimeout(()=>jo._bracketsRightYield(e,t+1,i,n,o));break}if(l.bracketInfo.isOpeningBracket){const c=l.bracketInfo.bracketText,u=r.has(c)?r.get(c):0;r.set(c,u+1)}else{const c=l.bracketInfo.getOpeningBrackets()[0].bracketText;let u=r.has(c)?r.get(c):0;if(u-=1,r.set(c,Math.max(0,u)),u<0){let h=o.get(c);h||(h=new Rs,o.set(c,h)),h.push(l.range)}}n=l.range.getEndPosition()}}static _bracketsLeftYield(e,t,i,n,o,r){const a=new Map,l=Date.now();for(;;){if(t>=jo._maxRounds&&o.size===0){e();break}if(!n){e();break}const d=i.bracketPairs.findPrevBracket(n);if(!d){e();break}if(Date.now()-l>jo._maxDuration){setTimeout(()=>jo._bracketsLeftYield(e,t+1,i,n,o,r));break}if(d.bracketInfo.isOpeningBracket){const u=d.bracketInfo.bracketText;let h=a.has(u)?a.get(u):0;if(h-=1,a.set(u,Math.max(0,h)),h<0){const g=o.get(u);if(g){const f=g.shift();g.size===0&&o.delete(u);const m=x.fromPositions(d.range.getEndPosition(),f.getStartPosition()),_=x.fromPositions(d.range.getStartPosition(),f.getEndPosition());r.push({range:m}),r.push({range:_}),jo._addBracketLeading(i,_,r)}}}else{const u=d.bracketInfo.getOpeningBrackets()[0].bracketText,h=a.has(u)?a.get(u):0;a.set(u,h+1)}n=d.range.getStartPosition()}}static _addBracketLeading(e,t,i){if(t.startLineNumber===t.endLineNumber)return;const n=t.startLineNumber,o=e.getLineFirstNonWhitespaceColumn(n);o!==0&&o!==t.startColumn&&(i.push({range:x.fromPositions(new W(n,o),t.getEndPosition())}),i.push({range:x.fromPositions(new W(n,1),t.getEndPosition())}));const r=n-1;if(r>0){const a=e.getLineFirstNonWhitespaceColumn(r);a===t.startColumn&&a!==e.getLineLastNonWhitespaceColumn(r)&&(i.push({range:x.fromPositions(new W(r,a),t.getEndPosition())}),i.push({range:x.fromPositions(new W(r,1),t.getEndPosition())}))}}}jo._maxDuration=30;jo._maxRounds=2;class Ua{static async create(e,t){if(!t.getOption(118).localityBonus||!t.hasModel())return Ua.None;const i=t.getModel(),n=t.getPosition();if(!e.canComputeWordRanges(i.uri))return Ua.None;const[o]=await new jo().provideSelectionRanges(i,[n]);if(o.length===0)return Ua.None;const r=await e.computeWordRanges(i.uri,o[0].range);if(!r)return Ua.None;const a=i.getWordUntilPosition(n);return delete r[a.word],new class extends Ua{distance(l,d){if(!n.equals(t.getPosition()))return 0;if(d.kind===17)return 2<<20;const c=typeof d.label==\"string\"?d.label:d.label.label,u=r[c];if(LV(u))return 2<<20;const h=xb(u,x.fromPositions(l),x.compareRangesUsingStarts),g=h>=0?u[h]:u[Math.max(0,~h-1)];let f=o.length;for(const m of o){if(!x.containsRange(m.range,g))break;f-=1}return f}}}}Ua.None=new class extends Ua{distance(){return 0}};let F9=class{constructor(e,t){this.leadingLineContent=e,this.characterCountDelta=t}};class Pu{constructor(e,t,i,n,o,r,a=Wx.default,l=void 0){this.clipboardText=l,this._snippetCompareFn=Pu._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=n,this._options=o,this._refilterKind=1,this._lineContext=i,this._fuzzyScoreOptions=a,r===\"top\"?this._snippetCompareFn=Pu._compareCompletionItemsSnippetsUp:r===\"bottom\"&&(this._snippetCompareFn=Pu._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){(this._lineContext.leadingLineContent!==e.leadingLineContent||this._lineContext.characterCountDelta!==e.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}getItemsByProvider(){return this._ensureCachedState(),this._itemsByProvider}getIncompleteProvider(){this._ensureCachedState();const e=new Set;for(const[t,i]of this.getItemsByProvider())i.length>0&&i[0].container.incomplete&&e.add(t);return e}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;const e=[],{leadingLineContent:t,characterCountDelta:i}=this._lineContext;let n=\"\",o=\"\";const r=this._refilterKind===1?this._items:this._filteredItems,a=[],l=!this._options.filterGraceful||r.length>2e3?D_:Cve;for(let d=0;d<r.length;d++){const c=r[d];if(c.isInvalid)continue;const u=this._itemsByProvider.get(c.provider);u?u.push(c):this._itemsByProvider.set(c.provider,[c]);const h=c.position.column-c.editStart.column,g=h+i-(c.position.column-this._column);if(n.length!==g&&(n=g===0?\"\":t.slice(-g),o=n.toLowerCase()),c.word=n,g===0)c.score=el.Default;else{let f=0;for(;f<h;){const m=n.charCodeAt(f);if(m===32||m===9)f+=1;else break}if(f>=g)c.score=el.Default;else if(typeof c.completion.filterText==\"string\"){const m=l(n,o,f,c.completion.filterText,c.filterTextLow,0,this._fuzzyScoreOptions);if(!m)continue;YN(c.completion.filterText,c.textLabel)===0?c.score=m:(c.score=mve(n,o,f,c.textLabel,c.labelLow,0),c.score[0]=m[0])}else{const m=l(n,o,f,c.textLabel,c.labelLow,0,this._fuzzyScoreOptions);if(!m)continue;c.score=m}}c.idx=d,c.distance=this._wordDistance.distance(c.position,c.completion),a.push(c),e.push(c.textLabel.length)}this._filteredItems=a.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?KT(e.length-.85,e,(d,c)=>d-c):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(e.completion.kind===27)return 1;if(t.completion.kind===27)return-1}return Pu._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(e.completion.kind===27)return-1;if(t.completion.kind===27)return 1}return Pu._compareCompletionItems(e,t)}}var vNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},_u=function(s,e){return function(t,i){e(t,i,s)}},bR;class xg{static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel(),i=e.getPosition();t.tokenization.tokenizeIfCheap(i.lineNumber);const n=t.getWordAtPosition(i);return!(!n||n.endColumn!==i.column&&n.startColumn+1!==i.column||!isNaN(Number(n.word)))}constructor(e,t,i){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.triggerOptions=i}}function bNe(s,e,t){if(!e.getContextKeyValue(Mn.inlineSuggestionVisible.key))return!0;const i=e.getContextKeyValue(Mn.suppressSuggestions.key);return i!==void 0?!i:!s.getOption(62).suppressSuggestions}function CNe(s,e,t){if(!e.getContextKeyValue(\"inlineSuggestionVisible\"))return!0;const i=e.getContextKeyValue(Mn.suppressSuggestions.key);return i!==void 0?!i:!s.getOption(62).suppressSuggestions}let DL=bR=class{constructor(e,t,i,n,o,r,a,l,d){this._editor=e,this._editorWorkerService=t,this._clipboardService=i,this._telemetryService=n,this._logService=o,this._contextKeyService=r,this._configurationService=a,this._languageFeaturesService=l,this._envService=d,this._toDispose=new Y,this._triggerCharacterListener=new Y,this._triggerQuickSuggest=new ya,this._triggerState=void 0,this._completionDisposables=new Y,this._onDidCancel=new B,this._onDidTrigger=new B,this._onDidSuggest=new B,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new we(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let c=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{c=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{c=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(u=>{c||this._onCursorChange(u)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{!c&&this._triggerState!==void 0&&this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){jt(this._triggerCharacterListener),jt([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(91)||!this._editor.hasModel()||!this._editor.getOption(121))return;const e=new Map;for(const i of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const n of i.triggerCharacters||[]){let o=e.get(n);o||(o=new Set,o.add(YTe()),e.set(n,o)),o.add(i)}const t=i=>{var n;if(!CNe(this._editor,this._contextKeyService,this._configurationService)||xg.shouldAutoTrigger(this._editor))return;if(!i){const a=this._editor.getPosition();i=this._editor.getModel().getLineContent(a.lineNumber).substr(0,a.column-1)}let o=\"\";Cf(i.charCodeAt(i.length-1))?Cn(i.charCodeAt(i.length-2))&&(o=i.substr(i.length-2)):o=i.charAt(i.length-1);const r=e.get(o);if(r){const a=new Map;if(this._completionModel)for(const[l,d]of this._completionModel.getItemsByProvider())r.has(l)||a.set(l,d);this.trigger({auto:!0,triggerKind:1,triggerCharacter:o,retrigger:!!this._completionModel,clipboardText:(n=this._completionModel)===null||n===void 0?void 0:n.clipboardText,completionOptions:{providerFilter:r,providerItemsToReuse:a}})}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>t()))}get state(){return this._triggerState?this._triggerState.auto?2:1:0}cancel(e=!1){var t;this._triggerState!==void 0&&(this._triggerQuickSuggest.cancel(),(t=this._requestToken)===null||t===void 0||t.cancel(),this._requestToken=void 0,this._triggerState=void 0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._triggerState!==void 0&&(!this._editor.hasModel()||!this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.cancel():this.trigger({auto:this._triggerState.auto,retrigger:!0}))}_onCursorChange(e){if(!this._editor.hasModel())return;const t=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||e.reason!==0&&e.reason!==3||e.source!==\"keyboard\"&&e.source!==\"deleteLeft\"){this.cancel();return}this._triggerState===void 0&&e.reason===0?(t.containsRange(this._currentSelection)||t.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():this._triggerState!==void 0&&e.reason===3&&this._refilterCompletionItems()}_onCompositionEnd(){this._triggerState===void 0?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var e;ym.isAllOff(this._editor.getOption(89))||this._editor.getOption(118).snippetsPreventQuickSuggestions&&(!((e=jn.get(this._editor))===null||e===void 0)&&e.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._triggerState!==void 0||!xg.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;const t=this._editor.getModel(),i=this._editor.getPosition(),n=this._editor.getOption(89);if(!ym.isAllOff(n)){if(!ym.isAllOn(n)){t.tokenization.tokenizeIfCheap(i.lineNumber);const o=t.tokenization.getLineTokens(i.lineNumber),r=o.getStandardTokenType(o.findTokenIndexAtOffset(Math.max(i.column-1-1,0)));if(ym.valueFor(n,r)!==\"on\")return}bNe(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(t)&&this.trigger({auto:!0})}},this._editor.getOption(90)))}_refilterCompletionItems(){yt(this._editor.hasModel()),yt(this._triggerState!==void 0);const e=this._editor.getModel(),t=this._editor.getPosition(),i=new xg(e,t,{...this._triggerState,refilter:!0});this._onNewContext(i)}trigger(e){var t,i,n,o,r,a;if(!this._editor.hasModel())return;const l=this._editor.getModel(),d=new xg(l,this._editor.getPosition(),e);this.cancel(e.retrigger),this._triggerState=e,this._onDidTrigger.fire({auto:e.auto,shy:(t=e.shy)!==null&&t!==void 0?t:!1,position:this._editor.getPosition()}),this._context=d;let c={triggerKind:(i=e.triggerKind)!==null&&i!==void 0?i:0};e.triggerCharacter&&(c={triggerKind:1,triggerCharacter:e.triggerCharacter}),this._requestToken=new Vi;const u=this._editor.getOption(112);let h=1;switch(u){case\"top\":h=0;break;case\"bottom\":h=2;break}const{itemKind:g,showDeprecated:f}=bR.createSuggestFilter(this._editor),m=new zC(h,(o=(n=e.completionOptions)===null||n===void 0?void 0:n.kindFilter)!==null&&o!==void 0?o:g,(r=e.completionOptions)===null||r===void 0?void 0:r.providerFilter,(a=e.completionOptions)===null||a===void 0?void 0:a.providerItemsToReuse,f),_=Ua.create(this._editorWorkerService,this._editor),v=P4(this._languageFeaturesService.completionProvider,l,this._editor.getPosition(),m,c,this._requestToken.token);Promise.all([v,_]).then(async([b,C])=>{var w;if((w=this._requestToken)===null||w===void 0||w.dispose(),!this._editor.hasModel())return;let y=e==null?void 0:e.clipboardText;if(!y&&b.needsClipboard&&(y=await this._clipboardService.readText()),this._triggerState===void 0)return;const D=this._editor.getModel(),L=new xg(D,this._editor.getPosition(),e),k={...Wx.default,firstMatchCanBeWeak:!this._editor.getOption(118).matchOnWordStartOnly};if(this._completionModel=new Pu(b.items,this._context.column,{leadingLineContent:L.leadingLineContent,characterCountDelta:L.column-this._context.column},C,this._editor.getOption(118),this._editor.getOption(112),k,y),this._completionDisposables.add(b.disposable),this._onNewContext(L),this._reportDurationsTelemetry(b.durations),!this._envService.isBuilt||this._envService.isExtensionDevelopment)for(const I of b.items)I.isInvalid&&this._logService.warn(`[suggest] did IGNORE invalid completion item from ${I.provider._debugDisplayName}`,I.completion)}).catch(Xe)}_reportDurationsTelemetry(e){this._telemetryGate++%230===0&&setTimeout(()=>{this._telemetryService.publicLog2(\"suggest.durations.json\",{data:JSON.stringify(e)}),this._logService.debug(\"suggest.durations.json\",e)})}static createSuggestFilter(e){const t=new Set;e.getOption(112)===\"none\"&&t.add(27);const n=e.getOption(118);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),{itemKind:t,showDeprecated:n.showDeprecated}}_onNewContext(e){if(this._context){if(e.lineNumber!==this._context.lineNumber){this.cancel();return}if(Zt(e.leadingLineContent)!==Zt(this._context.leadingLineContent)){this.cancel();return}if(e.column<this._context.column){e.leadingWord.word?this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0}):this.cancel();return}if(this._completionModel){if(e.leadingWord.word.length!==0&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){if(xg.shouldAutoTrigger(this._editor)&&this._context){const i=this._completionModel.getItemsByProvider();this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerItemsToReuse:i}})}return}if(e.column>this._context.column&&this._completionModel.getIncompleteProvider().size>0&&e.leadingWord.word.length!==0){const t=new Map,i=new Set;for(const[n,o]of this._completionModel.getItemsByProvider())o.length>0&&o[0].container.incomplete?i.add(n):t.set(n,o);this.trigger({auto:this._context.triggerOptions.auto,triggerKind:2,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerFilter:i,providerItemsToReuse:t}})}else{const t=this._completionModel.lineContext;let i=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},this._completionModel.items.length===0){const n=xg.shouldAutoTrigger(this._editor);if(!this._context){this.cancel();return}if(n&&this._context.leadingWord.endColumn<e.leadingWord.startColumn){this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0});return}if(this._context.triggerOptions.auto){this.cancel();return}else if(this._completionModel.lineContext=t,i=this._completionModel.items.length>0,i&&e.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,triggerOptions:e.triggerOptions,isFrozen:i})}}}}};DL=bR=vNe([_u(1,jr),_u(2,ru),_u(3,Gs),_u(4,ys),_u(5,Be),_u(6,rt),_u(7,Ce),_u(8,cO)],DL);class Pk{constructor(e,t){this._disposables=new Y,this._lastOvertyped=[],this._locked=!1,this._disposables.add(e.onWillType(()=>{if(this._locked||!e.hasModel())return;const i=e.getSelections(),n=i.length;let o=!1;for(let a=0;a<n;a++)if(!i[a].isEmpty()){o=!0;break}if(!o){this._lastOvertyped.length!==0&&(this._lastOvertyped.length=0);return}this._lastOvertyped=[];const r=e.getModel();for(let a=0;a<n;a++){const l=i[a];if(r.getValueLengthInRange(l)>Pk._maxSelectionLength)return;this._lastOvertyped[a]={value:r.getValueInRange(l),multiline:l.startLineNumber!==l.endLineNumber}}})),this._disposables.add(t.onDidTrigger(i=>{this._locked=!0})),this._disposables.add(t.onDidCancel(i=>{this._locked=!1}))}getLastOvertypedInfo(e){if(e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}Pk._maxSelectionLength=51200;var wNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},vT=function(s,e){return function(t,i){e(t,i,s)}};let yNe=class xG extends Fh{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();this.label&&(this.label.textContent=p({},\"{0} ({1})\",this._action.label,xG.symbolPrintEnter(e)))}static symbolPrintEnter(e){var t;return(t=e.getLabel())===null||t===void 0?void 0:t.replace(/\\benter\\b/gi,\"⏎\")}},CR=class{constructor(e,t,i,n,o){this._menuId=t,this._menuService=n,this._contextKeyService=o,this._menuDisposables=new Y,this.element=Q(e,he(\".suggest-status-bar\"));const r=a=>a instanceof Io?i.createInstance(yNe,a,void 0):void 0;this._leftActions=new Vr(this.element,{actionViewItemProvider:r}),this._rightActions=new Vr(this.element,{actionViewItemProvider:r}),this._leftActions.domNode.classList.add(\"left\"),this._rightActions.domNode.classList.add(\"right\")}dispose(){this._menuDisposables.dispose(),this._leftActions.dispose(),this._rightActions.dispose(),this.element.remove()}show(){const e=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{const i=[],n=[];for(const[o,r]of e.getActions())o===\"left\"?i.push(...r):n.push(...r);this._leftActions.clear(),this._leftActions.push(i),this._rightActions.clear(),this._rightActions.push(n)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};CR=wNe([vT(2,Ne),vT(3,hr),vT(4,Be)],CR);var SNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},DNe=function(s,e){return function(t,i){e(t,i,s)}};function B4(s){return!!s&&!!(s.completion.documentation||s.completion.detail&&s.completion.detail!==s.completion.label)}let wR=class{constructor(e,t){this._editor=e,this._onDidClose=new B,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new B,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new Y,this._renderDisposeable=new Y,this._borderWidth=1,this._size=new Dt(330,0),this.domNode=he(\".suggest-details\"),this.domNode.classList.add(\"no-docs\"),this._markdownRenderer=t.createInstance(yd,{editor:e}),this._body=he(\".body\"),this._scrollbar=new C1(this._body,{alwaysConsumeMouseWheel:!0}),Q(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=Q(this._body,he(\".header\")),this._close=Q(this._header,he(\"span\"+Pe.asCSSSelector(oe.close))),this._close.title=p(\"details.close\",\"Close\"),this._type=Q(this._header,he(\"p.type\")),this._docs=Q(this._body,he(\"p.docs\")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(i=>{i.hasChanged(50)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const e=this._editor.getOptions(),t=e.get(50),i=t.getMassagedFontFamily(),n=e.get(119)||t.fontSize,o=e.get(120)||t.lineHeight,r=t.fontWeight,a=`${n}px`,l=`${o}px`;this.domNode.style.fontSize=a,this.domNode.style.lineHeight=`${o/n}`,this.domNode.style.fontWeight=r,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=i,this._close.style.height=l,this._close.style.width=l}getLayoutInfo(){const e=this._editor.getOption(120)||this._editor.getOption(50).lineHeight,t=this._borderWidth,i=t*2;return{lineHeight:e,borderWidth:t,borderHeight:i,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=p(\"loading\",\"Loading...\"),this._docs.textContent=\"\",this.domNode.classList.remove(\"no-docs\",\"no-type\"),this.layout(this.size.width,this.getLayoutInfo().lineHeight*2),this._onDidChangeContents.fire(this)}renderItem(e,t){var i,n;this._renderDisposeable.clear();let{detail:o,documentation:r}=e.completion;if(t){let a=\"\";a+=`score: ${e.score[0]}\n`,a+=`prefix: ${(i=e.word)!==null&&i!==void 0?i:\"(no prefix)\"}\n`,a+=`word: ${e.completion.filterText?e.completion.filterText+\" (filterText)\":e.textLabel}\n`,a+=`distance: ${e.distance} (localityBonus-setting)\n`,a+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: \"${e.completion.sortText}\"`||\"label\"}\n`,a+=`commit_chars: ${(n=e.completion.commitCharacters)===null||n===void 0?void 0:n.join(\"\")}\n`,r=new ss().appendCodeblock(\"empty\",a),o=`Provider: ${e.provider._debugDisplayName}`}if(!t&&!B4(e)){this.clearContents();return}if(this.domNode.classList.remove(\"no-docs\",\"no-type\"),o){const a=o.length>1e5?`${o.substr(0,1e5)}…`:o;this._type.textContent=a,this._type.title=a,Do(this._type),this._type.classList.toggle(\"auto-wrap\",!/\\r?\\n^\\s+/gmi.test(a))}else zn(this._type),this._type.title=\"\",Es(this._type),this.domNode.classList.add(\"no-type\");if(zn(this._docs),typeof r==\"string\")this._docs.classList.remove(\"markdown-docs\"),this._docs.textContent=r;else if(r){this._docs.classList.add(\"markdown-docs\"),zn(this._docs);const a=this._markdownRenderer.render(r);this._docs.appendChild(a.element),this._renderDisposeable.add(a),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect=\"text\",this.domNode.tabIndex=-1,this._close.onmousedown=a=>{a.preventDefault(),a.stopPropagation()},this._close.onclick=a=>{a.preventDefault(),a.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add(\"no-docs\"),this._type.textContent=\"\",this._docs.textContent=\"\"}get isEmpty(){return this.domNode.classList.contains(\"no-docs\")}get size(){return this._size}layout(e,t){const i=new Dt(e,t);Dt.equals(i,this._size)||(this._size=i,Oae(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};wR=SNe([DNe(1,Ne)],wR);class LNe{constructor(e,t){this.widget=e,this._editor=t,this.allowEditorOverflow=!0,this._disposables=new Y,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new C4,this._resizable.domNode.classList.add(\"suggest-details-container\"),this._resizable.domNode.appendChild(e.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let i,n,o=0,r=0;this._disposables.add(this._resizable.onDidWillResize(()=>{i=this._topLeft,n=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(a=>{if(i&&n){this.widget.layout(a.dimension.width,a.dimension.height);let l=!1;a.west&&(r=n.width-a.dimension.width,l=!0),a.north&&(o=n.height-a.dimension.height,l=!0),l&&this._applyTopLeft({top:i.top+o,left:i.left+r})}a.done&&(i=void 0,n=void 0,o=0,r=0,this._userSize=a.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var a;this._anchorBox&&this._placeAtAnchor(this._anchorBox,(a=this._userSize)!==null&&a!==void 0?a:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return\"suggest.details\"}getDomNode(){return this._resizable.domNode}getPosition(){return this._topLeft?{preference:this._topLeft}:null}show(){this._added||(this._editor.addOverlayWidget(this),this._added=!0)}hide(e=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e,t){var i;const n=e.getBoundingClientRect();this._anchorBox=n,this._preferAlignAtTop=t,this._placeAtAnchor(this._anchorBox,(i=this._userSize)!==null&&i!==void 0?i:this.widget.size,t)}_placeAtAnchor(e,t,i){var n;const o=Eh(this.getDomNode().ownerDocument.body),r=this.widget.getLayoutInfo(),a=new Dt(220,2*r.lineHeight),l=e.top,d=function(){const D=o.width-(e.left+e.width+r.borderWidth+r.horizontalPadding),L=-r.borderWidth+e.left+e.width,k=new Dt(D,o.height-e.top-r.borderHeight-r.verticalPadding),I=k.with(void 0,e.top+e.height-r.borderHeight-r.verticalPadding);return{top:l,left:L,fit:D-t.width,maxSizeTop:k,maxSizeBottom:I,minSize:a.with(Math.min(D,a.width))}}(),c=function(){const D=e.left-r.borderWidth-r.horizontalPadding,L=Math.max(r.horizontalPadding,e.left-t.width-r.borderWidth),k=new Dt(D,o.height-e.top-r.borderHeight-r.verticalPadding),I=k.with(void 0,e.top+e.height-r.borderHeight-r.verticalPadding);return{top:l,left:L,fit:D-t.width,maxSizeTop:k,maxSizeBottom:I,minSize:a.with(Math.min(D,a.width))}}(),u=function(){const D=e.left,L=-r.borderWidth+e.top+e.height,k=new Dt(e.width-r.borderHeight,o.height-e.top-e.height-r.verticalPadding);return{top:L,left:D,fit:k.height-t.height,maxSizeBottom:k,maxSizeTop:k,minSize:a.with(k.width)}}(),h=[d,c,u],g=(n=h.find(D=>D.fit>=0))!==null&&n!==void 0?n:h.sort((D,L)=>L.fit-D.fit)[0],f=e.top+e.height-r.borderHeight;let m,_=t.height;const v=Math.max(g.maxSizeTop.height,g.maxSizeBottom.height);_>v&&(_=v);let b;i?_<=g.maxSizeTop.height?(m=!0,b=g.maxSizeTop):(m=!1,b=g.maxSizeBottom):_<=g.maxSizeBottom.height?(m=!1,b=g.maxSizeBottom):(m=!0,b=g.maxSizeTop);let{top:C,left:w}=g;!m&&_>e.height&&(C=f-_);const y=this._editor.getDomNode();if(y){const D=y.getBoundingClientRect();C-=D.top,w-=D.left}this._applyTopLeft({left:w,top:C}),this._resizable.enableSashes(!m,g===d,m,g!==d),this._resizable.minSize=g.minSize,this._resizable.maxSize=b,this._resizable.layout(_,Math.min(b.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this._editor.layoutOverlayWidget(this)}}var nd;(function(s){s[s.FILE=0]=\"FILE\",s[s.FOLDER=1]=\"FOLDER\",s[s.ROOT_FOLDER=2]=\"ROOT_FOLDER\"})(nd||(nd={}));const xNe=/(?:\\/|^)(?:([^\\/]+)\\/)?([^\\/]+)$/;function Cy(s,e,t,i,n){const o=i===nd.ROOT_FOLDER?[\"rootfolder-icon\"]:i===nd.FOLDER?[\"folder-icon\"]:[\"file-icon\"];if(t){let r;if(t.scheme===Ge.data)r=Mh.parseMetaData(t).get(Mh.META_DATA_LABEL);else{const a=t.path.match(xNe);a?(r=wy(a[2].toLowerCase()),a[1]&&o.push(`${wy(a[1].toLowerCase())}-name-dir-icon`)):r=wy(t.authority.toLowerCase())}if(i===nd.ROOT_FOLDER)o.push(`${r}-root-name-folder-icon`);else if(i===nd.FOLDER)o.push(`${r}-name-folder-icon`);else{if(r){if(o.push(`${r}-name-file-icon`),o.push(\"name-file-icon\"),r.length<=255){const l=r.split(\".\");for(let d=1;d<l.length;d++)o.push(`${l.slice(d).join(\".\")}-ext-file-icon`)}o.push(\"ext-file-icon\")}const a=kNe(s,e,t);a&&o.push(`${wy(a)}-lang-file-icon`)}}return o}function kNe(s,e,t){if(!t)return null;let i=null;if(t.scheme===Ge.data){const o=Mh.parseMetaData(t).get(Mh.META_DATA_MIME);o&&(i=e.getLanguageIdByMimeType(o))}else{const n=s.getModel(t);n&&(i=n.getLanguageId())}return i&&i!==ir?i:e.guessLanguageIdByFilepathOrFirstLine(t)}function wy(s){return s.replace(/[\\11\\12\\14\\15\\40]/g,\"/\")}var ENe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},bT=function(s,e){return function(t,i){e(t,i,s)}},vu;function kG(s){return`suggest-aria-id:${s}`}const INe=xi(\"suggest-more-info\",oe.chevronRight,p(\"suggestMoreInfoIcon\",\"Icon for more information in the suggest widget.\")),TNe=new(vu=class{extract(e,t){if(e.textLabel.match(vu._regexStrict))return t[0]=e.textLabel,!0;if(e.completion.detail&&e.completion.detail.match(vu._regexStrict))return t[0]=e.completion.detail,!0;if(e.completion.documentation){const i=typeof e.completion.documentation==\"string\"?e.completion.documentation:e.completion.documentation.value,n=vu._regexRelaxed.exec(i);if(n&&(n.index===0||n.index+n[0].length===i.length))return t[0]=n[0],!0}return!1}},vu._regexRelaxed=/(#([\\da-fA-F]{3}){1,2}|(rgb|hsl)a\\(\\s*(\\d{1,3}%?\\s*,\\s*){3}(1|0?\\.\\d+)\\)|(rgb|hsl)\\(\\s*\\d{1,3}%?(\\s*,\\s*\\d{1,3}%?){2}\\s*\\))/,vu._regexStrict=new RegExp(`^${vu._regexRelaxed.source}$`,\"i\"),vu);let yR=class{constructor(e,t,i,n){this._editor=e,this._modelService=t,this._languageService=i,this._themeService=n,this._onDidToggleDetails=new B,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId=\"suggestion\"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(e){const t=new Y,i=e;i.classList.add(\"show-file-icons\");const n=Q(e,he(\".icon\")),o=Q(n,he(\"span.colorspan\")),r=Q(e,he(\".contents\")),a=Q(r,he(\".main\")),l=Q(a,he(\".icon-label.codicon\")),d=Q(a,he(\"span.left\")),c=Q(a,he(\"span.right\")),u=new jD(d,{supportHighlights:!0,supportIcons:!0});t.add(u);const h=Q(d,he(\"span.signature-label\")),g=Q(d,he(\"span.qualifier-label\")),f=Q(c,he(\"span.details-label\")),m=Q(c,he(\"span.readMore\"+Pe.asCSSSelector(INe)));return m.title=p(\"readMore\",\"Read More\"),{root:i,left:d,right:c,icon:n,colorspan:o,iconLabel:u,iconContainer:l,parametersLabel:h,qualifierLabel:g,detailsLabel:f,readMore:m,disposables:t,configureFont:()=>{const v=this._editor.getOptions(),b=v.get(50),C=b.getMassagedFontFamily(),w=b.fontFeatureSettings,y=v.get(119)||b.fontSize,D=v.get(120)||b.lineHeight,L=b.fontWeight,k=b.letterSpacing,I=`${y}px`,O=`${D}px`,R=`${k}px`;i.style.fontSize=I,i.style.fontWeight=L,i.style.letterSpacing=R,a.style.fontFamily=C,a.style.fontFeatureSettings=w,a.style.lineHeight=O,n.style.height=O,n.style.width=O,m.style.height=O,m.style.width=O}}}renderElement(e,t,i){i.configureFont();const{completion:n}=e;i.root.id=kG(t),i.colorspan.style.backgroundColor=\"\";const o={labelEscapeNewLines:!0,matches:Bx(e.score)},r=[];if(n.kind===19&&TNe.extract(e,r))i.icon.className=\"icon customcolor\",i.iconContainer.className=\"icon hide\",i.colorspan.style.backgroundColor=r[0];else if(n.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){i.icon.className=\"icon hide\",i.iconContainer.className=\"icon hide\";const a=Cy(this._modelService,this._languageService,Ae.from({scheme:\"fake\",path:e.textLabel}),nd.FILE),l=Cy(this._modelService,this._languageService,Ae.from({scheme:\"fake\",path:n.detail}),nd.FILE);o.extraClasses=a.length>l.length?a:l}else n.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className=\"icon hide\",i.iconContainer.className=\"icon hide\",o.extraClasses=[Cy(this._modelService,this._languageService,Ae.from({scheme:\"fake\",path:e.textLabel}),nd.FOLDER),Cy(this._modelService,this._languageService,Ae.from({scheme:\"fake\",path:n.detail}),nd.FOLDER)].flat()):(i.icon.className=\"icon hide\",i.iconContainer.className=\"\",i.iconContainer.classList.add(\"suggest-icon\",...Pe.asClassNameArray(Tb.toIcon(n.kind))));n.tags&&n.tags.indexOf(1)>=0&&(o.extraClasses=(o.extraClasses||[]).concat([\"deprecated\"]),o.matches=[]),i.iconLabel.setLabel(e.textLabel,void 0,o),typeof n.label==\"string\"?(i.parametersLabel.textContent=\"\",i.detailsLabel.textContent=CT(n.detail||\"\"),i.root.classList.add(\"string-label\")):(i.parametersLabel.textContent=CT(n.label.detail||\"\"),i.detailsLabel.textContent=CT(n.label.description||\"\"),i.root.classList.remove(\"string-label\")),this._editor.getOption(118).showInlineDetails?Do(i.detailsLabel):Es(i.detailsLabel),B4(e)?(i.right.classList.add(\"can-expand-details\"),Do(i.readMore),i.readMore.onmousedown=a=>{a.stopPropagation(),a.preventDefault()},i.readMore.onclick=a=>{a.stopPropagation(),a.preventDefault(),this._onDidToggleDetails.fire()}):(i.right.classList.remove(\"can-expand-details\"),Es(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};yR=ENe([bT(1,_i),bT(2,vi),bT(3,_n)],yR);function CT(s){return s.replace(/\\r\\n|\\r|\\n/g,\"\")}var NNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},yy=function(s,e){return function(t,i){e(t,i,s)}},Zp;N(\"editorSuggestWidget.background\",{dark:Hi,light:Hi,hcDark:Hi,hcLight:Hi},p(\"editorSuggestWidgetBackground\",\"Background color of the suggest widget.\"));N(\"editorSuggestWidget.border\",{dark:fc,light:fc,hcDark:fc,hcLight:fc},p(\"editorSuggestWidgetBorder\",\"Border color of the suggest widget.\"));const Sy=N(\"editorSuggestWidget.foreground\",{dark:Tr,light:Tr,hcDark:Tr,hcLight:Tr},p(\"editorSuggestWidgetForeground\",\"Foreground color of the suggest widget.\"));N(\"editorSuggestWidget.selectedForeground\",{dark:Uu,light:Uu,hcDark:Uu,hcLight:Uu},p(\"editorSuggestWidgetSelectedForeground\",\"Foreground color of the selected entry in the suggest widget.\"));N(\"editorSuggestWidget.selectedIconForeground\",{dark:cm,light:cm,hcDark:cm,hcLight:cm},p(\"editorSuggestWidgetSelectedIconForeground\",\"Icon foreground color of the selected entry in the suggest widget.\"));const ANe=N(\"editorSuggestWidget.selectedBackground\",{dark:$u,light:$u,hcDark:$u,hcLight:$u},p(\"editorSuggestWidgetSelectedBackground\",\"Background color of the selected entry in the suggest widget.\"));N(\"editorSuggestWidget.highlightForeground\",{dark:da,light:da,hcDark:da,hcLight:da},p(\"editorSuggestWidgetHighlightForeground\",\"Color of the match highlights in the suggest widget.\"));N(\"editorSuggestWidget.focusHighlightForeground\",{dark:ww,light:ww,hcDark:ww,hcLight:ww},p(\"editorSuggestWidgetFocusHighlightForeground\",\"Color of the match highlights in the suggest widget when an item is focused.\"));N(\"editorSuggestWidgetStatus.foreground\",{dark:Ee(Sy,.5),light:Ee(Sy,.5),hcDark:Ee(Sy,.5),hcLight:Ee(Sy,.5)},p(\"editorSuggestWidgetStatusForeground\",\"Foreground color of the suggest widget status.\"));class MNe{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof Uh}`}restore(){var e;const t=(e=this._service.get(this._key,0))!==null&&e!==void 0?e:\"\";try{const i=JSON.parse(t);if(Dt.is(i))return Dt.lift(i)}catch{}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let jC=Zp=class{constructor(e,t,i,n,o){this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._pendingLayout=new $n,this._pendingShowDetails=new $n,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new ya,this._disposables=new Y,this._onDidSelect=new bf,this._onDidFocus=new bf,this._onDidHide=new B,this._onDidShow=new B,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new B,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new C4,this.element.domNode.classList.add(\"editor-widget\",\"suggest-widget\"),this._contentWidget=new RNe(this,e),this._persistedSize=new MNe(t,e);class r{constructor(g,f,m=!1,_=!1){this.persistedSize=g,this.currentSize=f,this.persistHeight=m,this.persistWidth=_}}let a;this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),a=new r(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(h=>{var g,f,m,_;if(this._resize(h.dimension.width,h.dimension.height),a&&(a.persistHeight=a.persistHeight||!!h.north||!!h.south,a.persistWidth=a.persistWidth||!!h.east||!!h.west),!!h.done){if(a){const{itemHeight:v,defaultSize:b}=this.getLayoutInfo(),C=Math.round(v/2);let{width:w,height:y}=this.element.size;(!a.persistHeight||Math.abs(a.currentSize.height-y)<=C)&&(y=(f=(g=a.persistedSize)===null||g===void 0?void 0:g.height)!==null&&f!==void 0?f:b.height),(!a.persistWidth||Math.abs(a.currentSize.width-w)<=C)&&(w=(_=(m=a.persistedSize)===null||m===void 0?void 0:m.width)!==null&&_!==void 0?_:b.width),this._persistedSize.store(new Dt(w,y))}this._contentWidget.unlockPreference(),a=void 0}})),this._messageElement=Q(this.element.domNode,he(\".message\")),this._listElement=Q(this.element.domNode,he(\".tree\"));const l=this._disposables.add(o.createInstance(wR,this.editor));l.onDidClose(this.toggleDetails,this,this._disposables),this._details=new LNe(l,this.editor);const d=()=>this.element.domNode.classList.toggle(\"no-icons\",!this.editor.getOption(118).showIcons);d();const c=o.createInstance(yR,this.editor);this._disposables.add(c),this._disposables.add(c.onDidToggleDetails(()=>this.toggleDetails())),this._list=new pr(\"SuggestWidget\",this._listElement,{getHeight:h=>this.getLayoutInfo().itemHeight,getTemplateId:h=>\"suggestion\"},[c],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>\"option\",getWidgetAriaLabel:()=>p(\"suggest\",\"Suggest\"),getWidgetRole:()=>\"listbox\",getAriaLabel:h=>{let g=h.textLabel;if(typeof h.completion.label!=\"string\"){const{detail:v,description:b}=h.completion.label;v&&b?g=p(\"label.full\",\"{0} {1}, {2}\",g,v,b):v?g=p(\"label.detail\",\"{0} {1}\",g,v):b&&(g=p(\"label.desc\",\"{0}, {1}\",g,b))}if(!h.isResolved||!this._isDetailsVisible())return g;const{documentation:f,detail:m}=h.completion,_=l_(\"{0}{1}\",m||\"\",f?typeof f==\"string\"?f:f.value:\"\");return p(\"ariaCurrenttSuggestionReadDetails\",\"{0}, docs: {1}\",g,_)}}}),this._list.style(up({listInactiveFocusBackground:ANe,listInactiveFocusOutline:di})),this._status=o.createInstance(CR,this.element.domNode,gh);const u=()=>this.element.domNode.classList.toggle(\"with-status-bar\",this.editor.getOption(118).showStatusBar);u(),this._disposables.add(n.onDidColorThemeChange(h=>this._onThemeChange(h))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(h=>this._onListMouseDownOrTap(h))),this._disposables.add(this._list.onTap(h=>this._onListMouseDownOrTap(h))),this._disposables.add(this._list.onDidChangeSelection(h=>this._onListSelection(h))),this._disposables.add(this._list.onDidChangeFocus(h=>this._onListFocus(h))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(h=>{h.hasChanged(118)&&(u(),d()),this._completionModel&&(h.hasChanged(50)||h.hasChanged(119)||h.hasChanged(120))&&this._list.splice(0,this._list.length,this._completionModel.items)})),this._ctxSuggestWidgetVisible=it.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=it.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=it.MultipleSuggestions.bindTo(i),this._ctxSuggestWidgetHasFocusedSuggestion=it.HasFocusedSuggestion.bindTo(i),this._disposables.add(Ni(this._details.widget.domNode,\"keydown\",h=>{this._onDetailsKeydown.fire(h)})),this._disposables.add(this.editor.onMouseDown(h=>this._onEditorMouseDown(h)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),(e=this._loadingTimeout)===null||e===void 0||e.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){this._state!==0&&this._contentWidget.layout()}_onListMouseDownOrTap(e){typeof e.element>\"u\"||typeof e.index>\"u\"||(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){const i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth=dd(e.type)?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);const i=e.elements[0],n=e.indexes[0];i!==this._focusedItem&&((t=this._currentSuggestionDetails)===null||t===void 0||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=i,this._list.reveal(n),this._currentSuggestionDetails=Dn(async o=>{const r=kh(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),a=o.onCancellationRequested(()=>r.dispose());try{return await i.resolve(o)}finally{r.dispose(),a.dispose()}}),this._currentSuggestionDetails.then(()=>{n>=this._list.length||i!==this._list.element(n)||(this._ignoreFocusEvents=!0,this._list.splice(n,1,[i]),this._list.setFocus([n]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove(\"docs-side\"),this.editor.setAriaOptions({activeDescendant:kG(n)}))}).catch(Xe)),this._onDidFocus.fire({item:i,index:n,model:this._completionModel})}_setState(e){if(this._state!==e)switch(this._state=e,this.element.domNode.classList.toggle(\"frozen\",e===4),this.element.domNode.classList.remove(\"message\"),e){case 0:Es(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove(\"visible\"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add(\"message\"),this._messageElement.textContent=Zp.LOADING_MESSAGE,Es(this._listElement,this._status.element),Do(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,Uc(Zp.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add(\"message\"),this._messageElement.textContent=Zp.NO_SUGGESTIONS_MESSAGE,Es(this._listElement,this._status.element),Do(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,Uc(Zp.NO_SUGGESTIONS_MESSAGE);break;case 3:Es(this._messageElement),Do(this._listElement,this._status.element),this._show();break;case 4:Es(this._messageElement),Do(this._listElement,this._status.element),this._show();break;case 5:Es(this._messageElement),Do(this._listElement,this._status.element),this._details.show(),this._show();break}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add(\"visible\"),this._onDidShow.fire(this)},100)}showTriggered(e,t){this._state===0&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=kh(()=>this._setState(1),t)))}showSuggestions(e,t,i,n,o){var r,a;if(this._contentWidget.setPosition(this.editor.getPosition()),(r=this._loadingTimeout)===null||r===void 0||r.dispose(),(a=this._currentSuggestionDetails)===null||a===void 0||a.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&this._state!==2&&this._state!==0){this._setState(4);return}const l=this._completionModel.items.length,d=l===0;if(this._ctxSuggestWidgetMultipleSuggestions.set(l>1),d){this._setState(n?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(i?4:3),this._list.reveal(t,0),this._list.setFocus(o?[]:[t])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=zS(Te(this.element.domNode),()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove(\"focused\")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(this._state!==0&&this._state!==2&&this._state!==1&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){this._state===5?(this._setState(3),this._details.widget.domNode.classList.remove(\"focused\")):this._state===3&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add(\"focused\"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove(\"shows-details\")):(B4(this._list.getFocusedElements()[0])||this._explainMode)&&(this._state===3||this._state===5||this._state===4)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._pendingShowDetails.value=zS(Te(this.element.domNode),()=>{this._pendingShowDetails.clear(),this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._details.widget.isEmpty?this._details.hide():(this._positionDetails(),this.element.domNode.classList.add(\"shows-details\")),this.editor.focus()})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;this._pendingLayout.clear(),this._pendingShowDetails.clear(),(e=this._loadingTimeout)===null||e===void 0||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const t=this._persistedSize.restore(),i=Math.ceil(this.getLayoutInfo().itemHeight*4.3);t&&t.height<i&&this._persistedSize.store(t.with(void 0,i))}isFrozen(){return this._state===4}_afterRender(e){if(e===null){this._isDetailsVisible()&&this._details.hide();return}this._state===2||this._state===1||(this._isDetailsVisible()&&!this._details.widget.isEmpty&&this._details.show(),this._positionDetails())}_layout(e){var t,i,n;if(!this.editor.hasModel()||!this.editor.getDomNode())return;const o=Eh(this.element.domNode.ownerDocument.body),r=this.getLayoutInfo();e||(e=r.defaultSize);let a=e.height,l=e.width;if(this._status.element.style.height=`${r.itemHeight}px`,this._state===2||this._state===1)a=r.itemHeight+r.borderHeight,l=r.defaultSize.width/2,this.element.enableSashes(!1,!1,!1,!1),this.element.minSize=this.element.maxSize=new Dt(l,a),this._contentWidget.setPreference(2);else{const d=o.width-r.borderHeight-2*r.horizontalPadding;l>d&&(l=d);const c=this._completionModel?this._completionModel.stats.pLabelLen*r.typicalHalfwidthCharacterWidth:l,u=r.statusBarHeight+this._list.contentHeight+r.borderHeight,h=r.itemHeight+r.statusBarHeight,g=qi(this.editor.getDomNode()),f=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),m=g.top+f.top+f.height,_=Math.min(o.height-m-r.verticalPadding,u),v=g.top+f.top-r.verticalPadding,b=Math.min(v,u);let C=Math.min(Math.max(b,_)+r.borderHeight,u);a===((t=this._cappedHeight)===null||t===void 0?void 0:t.capped)&&(a=this._cappedHeight.wanted),a<h&&(a=h),a>C&&(a=C),a>_||this._forceRenderingAbove&&v>150?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),C=b):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),C=_),this.element.preferredSize=new Dt(c,r.defaultSize.height),this.element.maxSize=new Dt(d,C),this.element.minSize=new Dt(220,h),this._cappedHeight=a===u?{wanted:(n=(i=this._cappedHeight)===null||i===void 0?void 0:i.wanted)!==null&&n!==void 0?n:e.height,capped:a}:void 0}this._resize(l,a)}_resize(e,t){const{width:i,height:n}=this.element.maxSize;e=Math.min(i,e),t=Math.min(n,t);const{statusBarHeight:o}=this.getLayoutInfo();this._list.layout(t-o,e),this._listElement.style.height=`${t-o}px`,this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var e;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,((e=this._contentWidget.getPosition())===null||e===void 0?void 0:e.preference[0])===2)}getLayoutInfo(){const e=this.editor.getOption(50),t=xs(this.editor.getOption(120)||e.lineHeight,8,1e3),i=!this.editor.getOption(118).showStatusBar||this._state===2||this._state===1?0:t,n=this._details.widget.borderWidth,o=2*n;return{itemHeight:t,statusBarHeight:i,borderWidth:n,borderHeight:o,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new Dt(430,i+12*t+o)}}_isDetailsVisible(){return this._storageService.getBoolean(\"expandSuggestionDocs\",0,!1)}_setDetailsVisible(e){this._storageService.store(\"expandSuggestionDocs\",e,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};jC.LOADING_MESSAGE=p(\"suggestWidget.loading\",\"Loading...\");jC.NO_SUGGESTIONS_MESSAGE=p(\"suggestWidget.noSuggestions\",\"No suggestions.\");jC=Zp=NNe([yy(1,Rd),yy(2,Be),yy(3,_n),yy(4,Ne)],jC);class RNe{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return\"editor.widget.suggestWidget\"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return this._hidden||!this._position||!this._preference?null:{position:this._position,preference:[this._preference]}}beforeRender(){const{height:e,width:t}=this._widget.element.size,{borderWidth:i,horizontalPadding:n}=this._widget.getLayoutInfo();return new Dt(t+2*i+n,e+2*i)}afterRender(e){this._widget._afterRender(e)}setPreference(e){this._preferenceLocked||(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}var PNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Wp=function(s,e){return function(t,i){e(t,i,s)}},SR;class FNe{constructor(e,t){if(this._model=e,this._position=t,this._decorationOptions=Ye.register({description:\"suggest-line-suffix\",stickiness:1}),e.getLineMaxColumn(t.lineNumber)!==t.column){const n=e.getOffsetAt(t),o=e.getPositionAt(n+1);e.changeDecorations(r=>{this._marker&&r.removeDecoration(this._marker),this._marker=r.addDecoration(x.fromPositions(t,o),this._decorationOptions)})}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.changeDecorations(e=>{e.removeDecoration(this._marker),this._marker=void 0})}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){const t=this._model.getDecorationRange(this._marker);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}else return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let ca=SR=class{static get(e){return e.getContribution(SR.ID)}constructor(e,t,i,n,o,r,a){this._memoryService=t,this._commandService=i,this._contextKeyService=n,this._instantiationService=o,this._logService=r,this._telemetryService=a,this._lineSuffix=new $n,this._toDispose=new Y,this._selectors=new ONe(u=>u.priority),this._onWillInsertSuggestItem=new B,this.onWillInsertSuggestItem=this._onWillInsertSuggestItem.event,this.editor=e,this.model=o.createInstance(DL,this.editor),this._selectors.register({priority:0,select:(u,h,g)=>this._memoryService.select(u,h,g)});const l=it.InsertMode.bindTo(n);l.set(e.getOption(118).insertMode),this._toDispose.add(this.model.onDidTrigger(()=>l.set(e.getOption(118).insertMode))),this.widget=this._toDispose.add(new zE(Te(e.getDomNode()),()=>{const u=this._instantiationService.createInstance(jC,this.editor);this._toDispose.add(u),this._toDispose.add(u.onDidSelect(_=>this._insertSuggestion(_,0),this));const h=new _Ne(this.editor,u,this.model,_=>this._insertSuggestion(_,2));this._toDispose.add(h);const g=it.MakesTextEdit.bindTo(this._contextKeyService),f=it.HasInsertAndReplaceRange.bindTo(this._contextKeyService),m=it.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Ie(()=>{g.reset(),f.reset(),m.reset()})),this._toDispose.add(u.onDidFocus(({item:_})=>{const v=this.editor.getPosition(),b=_.editStart.column,C=v.column;let w=!0;this.editor.getOption(1)===\"smart\"&&this.model.state===2&&!_.completion.additionalTextEdits&&!(_.completion.insertTextRules&4)&&C-b===_.completion.insertText.length&&(w=this.editor.getModel().getValueInRange({startLineNumber:v.lineNumber,startColumn:b,endLineNumber:v.lineNumber,endColumn:C})!==_.completion.insertText),g.set(w),f.set(!W.equals(_.editInsertEnd,_.editReplaceEnd)),m.set(!!_.provider.resolveCompletionItem||!!_.completion.documentation||_.completion.detail!==_.completion.label)})),this._toDispose.add(u.onDetailsKeyDown(_=>{if(_.toKeyCodeChord().equals(new Vc(!0,!1,!1,!1,33))||lt&&_.toKeyCodeChord().equals(new Vc(!1,!1,!1,!0,33))){_.stopPropagation();return}_.toKeyCodeChord().isModifierKey()||this.editor.focus()})),u})),this._overtypingCapturer=this._toDispose.add(new zE(Te(e.getDomNode()),()=>this._toDispose.add(new Pk(this.editor,this.model)))),this._alternatives=this._toDispose.add(new zE(Te(e.getDomNode()),()=>this._toDispose.add(new zf(this.editor,this._contextKeyService)))),this._toDispose.add(o.createInstance($C,e)),this._toDispose.add(this.model.onDidTrigger(u=>{this.widget.value.showTriggered(u.auto,u.shy?250:50),this._lineSuffix.value=new FNe(this.editor.getModel(),u.position)})),this._toDispose.add(this.model.onDidSuggest(u=>{if(u.triggerOptions.shy)return;let h=-1;for(const f of this._selectors.itemsOrderedByPriorityDesc)if(h=f.select(this.editor.getModel(),this.editor.getPosition(),u.completionModel.items),h!==-1)break;if(h===-1&&(h=0),this.model.state===0)return;let g=!1;if(u.triggerOptions.auto){const f=this.editor.getOption(118);f.selectionMode===\"never\"||f.selectionMode===\"always\"?g=f.selectionMode===\"never\":f.selectionMode===\"whenTriggerCharacter\"?g=u.triggerOptions.triggerKind!==1:f.selectionMode===\"whenQuickSuggestion\"&&(g=u.triggerOptions.triggerKind===1&&!u.triggerOptions.refilter)}this.widget.value.showSuggestions(u.completionModel,h,u.isFrozen,u.triggerOptions.auto,g)})),this._toDispose.add(this.model.onDidCancel(u=>{u.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));const d=it.AcceptSuggestionsOnEnter.bindTo(n),c=()=>{const u=this.editor.getOption(1);d.set(u===\"on\"||u===\"smart\")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>c())),c()}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose(),this._onWillInsertSuggestItem.dispose()}_insertSuggestion(e,t){if(!e||!e.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;const i=jn.get(this.editor);if(!i)return;this._onWillInsertSuggestItem.fire({item:e.item});const n=this.editor.getModel(),o=n.getAlternativeVersionId(),{item:r}=e,a=[],l=new Vi;t&1||this.editor.pushUndoStop();const d=this.getOverwriteInfo(r,!!(t&8));this._memoryService.memorize(n,this.editor.getPosition(),r);const c=r.isResolved;let u=-1,h=-1;if(Array.isArray(r.completion.additionalTextEdits)){this.model.cancel();const f=cl.capture(this.editor);this.editor.executeEdits(\"suggestController.additionalTextEdits.sync\",r.completion.additionalTextEdits.map(m=>{let _=x.lift(m.range);if(_.startLineNumber===r.position.lineNumber&&_.startColumn>r.position.column){const v=this.editor.getPosition().column-r.position.column,b=v,C=x.spansMultipleLines(_)?0:v;_=new x(_.startLineNumber,_.startColumn+b,_.endLineNumber,_.endColumn+C)}return pi.replaceMove(_,m.text)})),f.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!c){const f=new Jn;let m;const _=n.onDidChangeContent(w=>{if(w.isFlush){l.cancel(),_.dispose();return}for(const y of w.changes){const D=x.getEndPosition(y.range);(!m||W.isBefore(D,m))&&(m=D)}}),v=t;t|=2;let b=!1;const C=this.editor.onWillType(()=>{C.dispose(),b=!0,v&2||this.editor.pushUndoStop()});a.push(r.resolve(l.token).then(()=>{if(!r.completion.additionalTextEdits||l.token.isCancellationRequested)return;if(m&&r.completion.additionalTextEdits.some(y=>W.isBefore(m,x.getStartPosition(y.range))))return!1;b&&this.editor.pushUndoStop();const w=cl.capture(this.editor);return this.editor.executeEdits(\"suggestController.additionalTextEdits.async\",r.completion.additionalTextEdits.map(y=>pi.replaceMove(x.lift(y.range),y.text))),w.restoreRelativeVerticalPositionOfCursor(this.editor),(b||!(v&2))&&this.editor.pushUndoStop(),!0}).then(w=>{this._logService.trace(\"[suggest] async resolving of edits DONE (ms, applied?)\",f.elapsed(),w),h=w===!0?1:w===!1?0:-2}).finally(()=>{_.dispose(),C.dispose()}))}let{insertText:g}=r.completion;if(r.completion.insertTextRules&4||(g=Rf.escape(g)),this.model.cancel(),i.insert(g,{overwriteBefore:d.overwriteBefore,overwriteAfter:d.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(r.completion.insertTextRules&1),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),t&2||this.editor.pushUndoStop(),r.completion.command)if(r.completion.command.id===q1.id)this.model.trigger({auto:!0,retrigger:!0});else{const f=new Jn;a.push(this._commandService.executeCommand(r.completion.command.id,...r.completion.command.arguments?[...r.completion.command.arguments]:[]).catch(m=>{r.completion.extensionId?Ai(m):Xe(m)}).finally(()=>{u=f.elapsed()}))}t&4&&this._alternatives.value.set(e,f=>{for(l.cancel();n.canUndo();){o!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(f,3|(t&8?8:0));break}}),this._alertCompletionItem(r),Promise.all(a).finally(()=>{this._reportSuggestionAcceptedTelemetry(r,n,c,u,h),this.model.clear(),l.dispose()})}_reportSuggestionAcceptedTelemetry(e,t,i,n,o){var r,a,l;Math.floor(Math.random()*100)!==0&&this._telemetryService.publicLog2(\"suggest.acceptedSuggestion\",{extensionId:(a=(r=e.extensionId)===null||r===void 0?void 0:r.value)!==null&&a!==void 0?a:\"unknown\",providerId:(l=e.provider._debugDisplayName)!==null&&l!==void 0?l:\"unknown\",kind:e.completion.kind,basenameHash:XL(Wr(t.uri)).toString(16),languageId:t.getLanguageId(),fileExtension:Cme(t.uri),resolveInfo:e.provider.resolveCompletionItem?i?1:0:-1,resolveDuration:e.resolveDuration,commandDuration:n,additionalEditsAsync:o})}getOverwriteInfo(e,t){yt(this.editor.hasModel());let i=this.editor.getOption(118).insertMode===\"replace\";t&&(i=!i);const n=e.position.column-e.editStart.column,o=(i?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column,r=this.editor.getPosition().column-e.position.column,a=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:n+r,overwriteAfter:o+a}}_alertCompletionItem(e){if(rs(e.completion.additionalTextEdits)){const t=p(\"aria.alert.snippet\",\"Accepting '{0}' made {1} additional edits\",e.textLabel,e.completion.additionalTextEdits.length);fo(t)}}triggerSuggest(e,t,i){this.editor.hasModel()&&(this.model.trigger({auto:t??!1,completionOptions:{providerFilter:e,kindFilter:i?new Set:void 0}}),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;const t=this.editor.getPosition(),i=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},n=o=>{if(o.completion.insertTextRules&4||o.completion.additionalTextEdits)return!0;const r=this.editor.getPosition(),a=o.editStart.column,l=r.column;return l-a!==o.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:r.lineNumber,startColumn:a,endLineNumber:r.lineNumber,endColumn:l})!==o.completion.insertText};le.once(this.model.onDidTrigger)(o=>{const r=[];le.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{jt(r),i()},void 0,r),this.model.onDidSuggest(({completionModel:a})=>{if(jt(r),a.items.length===0){i();return}const l=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),a.items),d=a.items[l];if(!n(d)){i();return}this.editor.pushUndoStop(),this._insertSuggestion({index:l,item:d,model:a},7)},void 0,r)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(t,0),this.editor.focus()}acceptSelectedSuggestion(e,t){const i=this.widget.value.getFocusedItem();let n=0;e&&(n|=4),t&&(n|=8),this._insertSuggestion(i,n)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}focusSuggestion(){this.widget.value.focusSelected()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(e){return this._selectors.register(e)}};ca.ID=\"editor.contrib.suggestController\";ca=SR=PNe([Wp(1,Rk),Wp(2,gi),Wp(3,Be),Wp(4,Ne),Wp(5,ys),Wp(6,Gs)],ca);class ONe{constructor(e){this.prioritySelector=e,this._items=new Array}register(e){if(this._items.indexOf(e)!==-1)throw new Error(\"Value is already registered\");return this._items.push(e),this._items.sort((t,i)=>this.prioritySelector(i)-this.prioritySelector(t)),{dispose:()=>{const t=this._items.indexOf(e);t>=0&&this._items.splice(t,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class q1 extends me{constructor(){super({id:q1.id,label:p(\"suggest.trigger.label\",\"Trigger Suggest\"),alias:\"Trigger Suggest\",precondition:G.and(T.writable,T.hasCompletionItemProvider,it.Visible.toNegated()),kbOpts:{kbExpr:T.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t,i){const n=ca.get(t);if(!n)return;let o;i&&typeof i==\"object\"&&i.auto===!0&&(o=!0),n.triggerSuggest(void 0,o,void 0)}}q1.id=\"editor.action.triggerSuggest\";kt(ca.ID,ca,2);te(q1);const dr=190,Qs=mn.bindToContribution(ca.get);de(new Qs({id:\"acceptSelectedSuggestion\",precondition:G.and(it.Visible,it.HasFocusedSuggestion),handler(s){s.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:G.and(it.Visible,T.textInputFocus),weight:dr},{primary:3,kbExpr:G.and(it.Visible,T.textInputFocus,it.AcceptSuggestionsOnEnter,it.MakesTextEdit),weight:dr}],menuOpts:[{menuId:gh,title:p(\"accept.insert\",\"Insert\"),group:\"left\",order:1,when:it.HasInsertAndReplaceRange.toNegated()},{menuId:gh,title:p(\"accept.insert\",\"Insert\"),group:\"left\",order:1,when:G.and(it.HasInsertAndReplaceRange,it.InsertMode.isEqualTo(\"insert\"))},{menuId:gh,title:p(\"accept.replace\",\"Replace\"),group:\"left\",order:1,when:G.and(it.HasInsertAndReplaceRange,it.InsertMode.isEqualTo(\"replace\"))}]}));de(new Qs({id:\"acceptAlternativeSelectedSuggestion\",precondition:G.and(it.Visible,T.textInputFocus,it.HasFocusedSuggestion),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:1027,secondary:[1026]},handler(s){s.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:gh,group:\"left\",order:2,when:G.and(it.HasInsertAndReplaceRange,it.InsertMode.isEqualTo(\"insert\")),title:p(\"accept.replace\",\"Replace\")},{menuId:gh,group:\"left\",order:2,when:G.and(it.HasInsertAndReplaceRange,it.InsertMode.isEqualTo(\"replace\")),title:p(\"accept.insert\",\"Insert\")}]}));pt.registerCommandAlias(\"acceptSelectedSuggestionOnEnter\",\"acceptSelectedSuggestion\");de(new Qs({id:\"hideSuggestWidget\",precondition:it.Visible,handler:s=>s.cancelSuggestWidget(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:9,secondary:[1033]}}));de(new Qs({id:\"selectNextSuggestion\",precondition:G.and(it.Visible,G.or(it.MultipleSuggestions,it.HasFocusedSuggestion.negate())),handler:s=>s.selectNextSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}}));de(new Qs({id:\"selectNextPageSuggestion\",precondition:G.and(it.Visible,G.or(it.MultipleSuggestions,it.HasFocusedSuggestion.negate())),handler:s=>s.selectNextPageSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:12,secondary:[2060]}}));de(new Qs({id:\"selectLastSuggestion\",precondition:G.and(it.Visible,G.or(it.MultipleSuggestions,it.HasFocusedSuggestion.negate())),handler:s=>s.selectLastSuggestion()}));de(new Qs({id:\"selectPrevSuggestion\",precondition:G.and(it.Visible,G.or(it.MultipleSuggestions,it.HasFocusedSuggestion.negate())),handler:s=>s.selectPrevSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}}));de(new Qs({id:\"selectPrevPageSuggestion\",precondition:G.and(it.Visible,G.or(it.MultipleSuggestions,it.HasFocusedSuggestion.negate())),handler:s=>s.selectPrevPageSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:11,secondary:[2059]}}));de(new Qs({id:\"selectFirstSuggestion\",precondition:G.and(it.Visible,G.or(it.MultipleSuggestions,it.HasFocusedSuggestion.negate())),handler:s=>s.selectFirstSuggestion()}));de(new Qs({id:\"focusSuggestion\",precondition:G.and(it.Visible,it.HasFocusedSuggestion.negate()),handler:s=>s.focusSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}}}));de(new Qs({id:\"focusAndAcceptSuggestion\",precondition:G.and(it.Visible,it.HasFocusedSuggestion.negate()),handler:s=>{s.focusSuggestion(),s.acceptSelectedSuggestion(!0,!1)}}));de(new Qs({id:\"toggleSuggestionDetails\",precondition:G.and(it.Visible,it.HasFocusedSuggestion),handler:s=>s.toggleSuggestionDetails(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:gh,group:\"right\",order:1,when:G.and(it.DetailsVisible,it.CanResolve),title:p(\"detail.more\",\"show less\")},{menuId:gh,group:\"right\",order:1,when:G.and(it.DetailsVisible.toNegated(),it.CanResolve),title:p(\"detail.less\",\"show more\")}]}));de(new Qs({id:\"toggleExplainMode\",precondition:it.Visible,handler:s=>s.toggleExplainMode(),kbOpts:{weight:100,primary:2138}}));de(new Qs({id:\"toggleSuggestionFocus\",precondition:it.Visible,handler:s=>s.toggleSuggestionFocus(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:2570,mac:{primary:778}}}));de(new Qs({id:\"insertBestCompletion\",precondition:G.and(T.textInputFocus,G.equals(\"config.editor.tabCompletion\",\"on\"),$C.AtEnd,it.Visible.toNegated(),zf.OtherSuggestions.toNegated(),jn.InSnippetMode.toNegated()),handler:(s,e)=>{s.triggerSuggestAndAcceptBest(Ms(e)?{fallback:\"tab\",...e}:{fallback:\"tab\"})},kbOpts:{weight:dr,primary:2}}));de(new Qs({id:\"insertNextSuggestion\",precondition:G.and(T.textInputFocus,G.equals(\"config.editor.tabCompletion\",\"on\"),zf.OtherSuggestions,it.Visible.toNegated(),jn.InSnippetMode.toNegated()),handler:s=>s.acceptNextSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:2}}));de(new Qs({id:\"insertPrevSuggestion\",precondition:G.and(T.textInputFocus,G.equals(\"config.editor.tabCompletion\",\"on\"),zf.OtherSuggestions,it.Visible.toNegated(),jn.InSnippetMode.toNegated()),handler:s=>s.acceptPrevSuggestion(),kbOpts:{weight:dr,kbExpr:T.textInputFocus,primary:1026}}));te(class extends me{constructor(){super({id:\"editor.action.resetSuggestSize\",label:p(\"suggest.reset.label\",\"Reset Suggest Widget Size\"),alias:\"Reset Suggest Widget Size\",precondition:void 0})}run(s,e){var t;(t=ca.get(e))===null||t===void 0||t.resetWidgetSize()}});class BNe extends H{get selectedItem(){return this._selectedItem}constructor(e,t,i,n){super(),this.editor=e,this.suggestControllerPreselector=t,this.checkModelVersion=i,this.onWillAccept=n,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=vt(this,void 0),this._register(e.onKeyDown(r=>{r.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(r=>{r.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const o=ca.get(this.editor);if(o){this._register(o.registerSelector({priority:100,select:(l,d,c)=>{$t(v=>this.checkModelVersion(v));const u=this.editor.getModel();if(!u)return-1;const h=this.suggestControllerPreselector(),g=h?pf(h,u):void 0;if(!g)return-1;const f=W.lift(d),m=c.map((v,b)=>{const C=mb.fromSuggestion(o,u,f,v,this.isShiftKeyPressed),w=pf(C.toSingleTextEdit(),u),y=DG(g,w);return{index:b,valid:y,prefixLength:w.text.length,suggestItem:v}}).filter(v=>v&&v.valid&&v.prefixLength>0),_=wF(m,ao(v=>v.prefixLength,ua));return _?_.index:-1}}));let r=!1;const a=()=>{r||(r=!0,this._register(o.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(o.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(o.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(le.once(o.model.onDidTrigger)(l=>{a()})),this._register(o.onWillInsertSuggestItem(l=>{const d=this.editor.getPosition(),c=this.editor.getModel();if(!d||!c)return;const u=mb.fromSuggestion(o,c,d,l.item,this.isShiftKeyPressed);this.onWillAccept(u)}))}this.update(this._isActive)}update(e){const t=this.getSuggestItemInfo();(this._isActive!==e||!WNe(this._currentSuggestItemInfo,t))&&(this._isActive=e,this._currentSuggestItemInfo=t,$t(i=>{this.checkModelVersion(i),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,i)}))}getSuggestItemInfo(){const e=ca.get(this.editor);if(!e||!this.isSuggestWidgetVisible)return;const t=e.widget.value.getFocusedItem(),i=this.editor.getPosition(),n=this.editor.getModel();if(!(!t||!i||!n))return mb.fromSuggestion(e,n,i,t.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const e=ca.get(this.editor);e==null||e.stopForceRenderingAbove()}forceRenderingAbove(){const e=ca.get(this.editor);e==null||e.forceRenderingAbove()}}class mb{static fromSuggestion(e,t,i,n,o){let{insertText:r}=n.completion,a=!1;if(n.completion.insertTextRules&4){const d=new Rf().parse(r);d.children.length<100&&SL.adjustWhitespace(t,i,!0,d),r=d.toString(),a=!0}const l=e.getOverwriteInfo(n,o);return new mb(x.fromPositions(i.delta(0,-l.overwriteBefore),i.delta(0,Math.max(l.overwriteAfter,0))),r,n.completion.kind,a)}constructor(e,t,i,n){this.range=e,this.insertText=t,this.completionItemKind=i,this.isSnippetText=n}equals(e){return this.range.equalsRange(e.range)&&this.insertText===e.insertText&&this.completionItemKind===e.completionItemKind&&this.isSnippetText===e.isSnippetText}toSelectedSuggestionInfo(){return new tz(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new zc(this.range,this.insertText)}}function WNe(s,e){return s===e?!0:!s||!e?!1:s.equals(e)}var HNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},jd=function(s,e){return function(t,i){e(t,i,s)}},DR;let cr=DR=class extends H{static get(e){return e.getContribution(DR.ID)}constructor(e,t,i,n,o,r,a,l,d,c){super(),this.editor=e,this._instantiationService=t,this._contextKeyService=i,this._configurationService=n,this._commandService=o,this._debounceService=r,this._languageFeaturesService=a,this._accessibilitySignalService=l,this._keybindingService=d,this._accessibilityService=c,this.model=this._register(gC(\"inlineCompletionModel\",void 0)),this._textModelVersionId=vt(this,-1),this._positions=pCe({owner:this,equalsFn:y2(gj())},[new W(1,1)]),this._suggestWidgetAdaptor=this._register(new BNe(this.editor,()=>{var m,_;return(_=(m=this.model.get())===null||m===void 0?void 0:m.selectedInlineCompletion.get())===null||_===void 0?void 0:_.toSingleTextEdit(void 0)},m=>this.updateObservables(m,$o.Other),m=>{$t(_=>{var v;this.updateObservables(_,$o.Other),(v=this.model.get())===null||v===void 0||v.handleSuggestAccepted(m)})})),this._enabledInConfig=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).enabled),this._isScreenReaderEnabled=Ot(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this._editorDictationInProgress=Ot(this._contextKeyService.onDidChangeContext,()=>this._contextKeyService.getContext(this.editor.getDomNode()).getValue(\"editorDictation.inProgress\")===!0),this._enabled=je(this,m=>this._enabledInConfig.read(m)&&(!this._isScreenReaderEnabled.read(m)||!this._editorDictationInProgress.read(m))),this._fontFamily=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).fontFamily),this._ghostTexts=je(this,m=>{var _;const v=this.model.read(m);return(_=v==null?void 0:v.ghostTexts.read(m))!==null&&_!==void 0?_:[]}),this._stablizedGhostTexts=VNe(this._ghostTexts,this._store),this._ghostTextWidgets=wCe(this,this._stablizedGhostTexts,(m,_)=>_.add(this._instantiationService.createInstance(pR,this.editor,{ghostText:m,minReservedLineCount:Ga(0),targetTextModel:this.model.map(v=>v==null?void 0:v.textModel)}))).recomputeInitiallyAndOnChange(this._store),this._debounceValue=this._debounceService.for(this._languageFeaturesService.inlineCompletionsProvider,\"InlineCompletionsDebounce\",{min:50,max:50}),this._playAccessibilitySignal=Zx(this),this._isReadonly=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(91)),this._textModel=Ot(this.editor.onDidChangeModel,()=>this.editor.getModel()),this._textModelIfWritable=je(m=>this._isReadonly.read(m)?void 0:this._textModel.read(m)),this._register(new Mn(this._contextKeyService,this.model)),this._register(st(m=>{const _=this._textModelIfWritable.read(m);$t(v=>{if(this.model.set(void 0,v),this.updateObservables(v,$o.Other),_){const b=t.createInstance(_R,_,this._suggestWidgetAdaptor.selectedItem,this._textModelVersionId,this._positions,this._debounceValue,Ot(e.onDidChangeConfiguration,()=>e.getOption(118).preview),Ot(e.onDidChangeConfiguration,()=>e.getOption(118).previewMode),Ot(e.onDidChangeConfiguration,()=>e.getOption(62).mode),this._enabled);this.model.set(b,v)}})}));const u=this._register(Nz());this._register(st(m=>{const _=this._fontFamily.read(m);u.setStyle(_===\"\"||_===\"default\"?\"\":`\n.monaco-editor .ghost-text-decoration,\n.monaco-editor .ghost-text-decoration-preview,\n.monaco-editor .ghost-text {\n\tfont-family: ${_};\n}`)}));const h=m=>{var _;return m.isUndoing?$o.Undo:m.isRedoing?$o.Redo:!((_=this.model.get())===null||_===void 0)&&_.isAcceptingPartially?$o.AcceptWord:$o.Other};this._register(e.onDidChangeModelContent(m=>$t(_=>this.updateObservables(_,h(m))))),this._register(e.onDidChangeCursorPosition(m=>$t(_=>{var v;this.updateObservables(_,$o.Other),(m.reason===3||m.source===\"api\")&&((v=this.model.get())===null||v===void 0||v.stop(_))}))),this._register(e.onDidType(()=>$t(m=>{var _;this.updateObservables(m,$o.Other),this._enabled.get()&&((_=this.model.get())===null||_===void 0||_.trigger(m))}))),this._register(this._commandService.onDidExecuteCommand(m=>{new Set([Om.Tab.id,Om.DeleteLeft.id,Om.DeleteRight.id,Iq,\"acceptSelectedSuggestion\"]).has(m.commandId)&&e.hasTextFocus()&&this._enabled.get()&&$t(v=>{var b;(b=this.model.get())===null||b===void 0||b.trigger(v)})})),this._register(this.editor.onDidBlurEditorWidget(()=>{this._contextKeyService.getContextKeyValue(\"accessibleViewIsShown\")||this._configurationService.getValue(\"editor.inlineSuggest.keepOnBlur\")||e.getOption(62).keepOnBlur||zh.dropDownVisible||$t(m=>{var _;(_=this.model.get())===null||_===void 0||_.stop(m)})})),this._register(st(m=>{var _;const v=(_=this.model.read(m))===null||_===void 0?void 0:_.state.read(m);v!=null&&v.suggestItem?v.primaryGhostText.lineCount>=2&&this._suggestWidgetAdaptor.forceRenderingAbove():this._suggestWidgetAdaptor.stopForceRenderingAbove()})),this._register(Ie(()=>{this._suggestWidgetAdaptor.stopForceRenderingAbove()}));const g=this._register(new Y);let f;this._register(I1({handleChange:(m,_)=>(m.didChange(this._playAccessibilitySignal)&&(f=void 0),!0)},async(m,_)=>{this._playAccessibilitySignal.read(m);const v=this.model.read(m),b=v==null?void 0:v.state.read(m);if(!v||!b||!b.inlineCompletion){f=void 0;return}if(b.inlineCompletion.semanticId!==f){g.clear(),f=b.inlineCompletion.semanticId;const C=v.textModel.getLineContent(b.primaryGhostText.lineNumber);await xh(50,i3(g)),await _j(this._suggestWidgetAdaptor.selectedItem,oo,()=>!1,i3(g)),await this._accessibilitySignalService.playSignal(Ke.inlineSuggestion),this.editor.getOption(8)&&this.provideScreenReaderUpdate(b.primaryGhostText.renderForScreenReader(C))}})),this._register(new $M(this.editor,this.model,this._instantiationService)),this._register(this._configurationService.onDidChangeConfiguration(m=>{m.affectsConfiguration(\"accessibility.verbosity.inlineCompletions\")&&this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this._configurationService.getValue(\"accessibility.verbosity.inlineCompletions\")})})),this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this._configurationService.getValue(\"accessibility.verbosity.inlineCompletions\")})}playAccessibilitySignal(e){this._playAccessibilitySignal.trigger(e)}provideScreenReaderUpdate(e){const t=this._contextKeyService.getContextKeyValue(\"accessibleViewIsShown\"),i=this._keybindingService.lookupKeybinding(\"editor.action.accessibleView\");let n;!t&&i&&this.editor.getOption(149)&&(n=p(\"showAccessibleViewHint\",\"Inspect this in the accessible view ({0})\",i.getAriaLabel())),fo(n?e+\", \"+n:e)}updateObservables(e,t){var i,n,o;const r=this.editor.getModel();this._textModelVersionId.set((i=r==null?void 0:r.getVersionId())!==null&&i!==void 0?i:-1,e,t),this._positions.set((o=(n=this.editor.getSelections())===null||n===void 0?void 0:n.map(a=>a.getPosition()))!==null&&o!==void 0?o:[new W(1,1)],e)}shouldShowHoverAt(e){var t;const i=(t=this.model.get())===null||t===void 0?void 0:t.primaryGhostText.get();return i?i.parts.some(n=>e.containsPosition(new W(i.lineNumber,n.column))):!1}shouldShowHoverAtViewZone(e){var t,i;return(i=(t=this._ghostTextWidgets.get()[0])===null||t===void 0?void 0:t.ownsViewZone(e))!==null&&i!==void 0?i:!1}};cr.ID=\"editor.contrib.inlineCompletionsController\";cr=DR=HNe([jd(1,Ne),jd(2,Be),jd(3,rt),jd(4,gi),jd(5,Ur),jd(6,Ce),jd(7,rg),jd(8,At),jd(9,gr)],cr);function VNe(s,e){const t=vt(\"result\",[]),i=[];return e.add(st(n=>{const o=s.read(n);$t(r=>{if(o.length!==i.length){i.length=o.length;for(let a=0;a<i.length;a++)i[a]||(i[a]=vt(\"item\",o[a]));t.set([...i],r)}i.forEach((a,l)=>a.set(o[l],r))})})),t}class Fk extends me{constructor(){super({id:Fk.ID,label:p(\"action.inlineSuggest.showNext\",\"Show Next Inline Suggestion\"),alias:\"Show Next Inline Suggestion\",precondition:G.and(T.writable,Mn.inlineSuggestionVisible),kbOpts:{weight:100,primary:606}})}async run(e,t){var i;const n=cr.get(t);(i=n==null?void 0:n.model.get())===null||i===void 0||i.next()}}Fk.ID=Nq;class Ok extends me{constructor(){super({id:Ok.ID,label:p(\"action.inlineSuggest.showPrevious\",\"Show Previous Inline Suggestion\"),alias:\"Show Previous Inline Suggestion\",precondition:G.and(T.writable,Mn.inlineSuggestionVisible),kbOpts:{weight:100,primary:604}})}async run(e,t){var i;const n=cr.get(t);(i=n==null?void 0:n.model.get())===null||i===void 0||i.previous()}}Ok.ID=Tq;class zNe extends me{constructor(){super({id:\"editor.action.inlineSuggest.trigger\",label:p(\"action.inlineSuggest.trigger\",\"Trigger Inline Suggestion\"),alias:\"Trigger Inline Suggestion\",precondition:T.writable})}async run(e,t){const i=cr.get(t);await fCe(async n=>{var o;await((o=i==null?void 0:i.model.get())===null||o===void 0?void 0:o.triggerExplicitly(n)),i==null||i.playAccessibilitySignal(n)})}}class UNe extends me{constructor(){super({id:\"editor.action.inlineSuggest.acceptNextWord\",label:p(\"action.inlineSuggest.acceptNextWord\",\"Accept Next Word Of Inline Suggestion\"),alias:\"Accept Next Word Of Inline Suggestion\",precondition:G.and(T.writable,Mn.inlineSuggestionVisible),kbOpts:{weight:101,primary:2065,kbExpr:G.and(T.writable,Mn.inlineSuggestionVisible)},menuOpts:[{menuId:E.InlineSuggestionToolbar,title:p(\"acceptWord\",\"Accept Word\"),group:\"primary\",order:2}]})}async run(e,t){var i;const n=cr.get(t);await((i=n==null?void 0:n.model.get())===null||i===void 0?void 0:i.acceptNextWord(n.editor))}}class $Ne extends me{constructor(){super({id:\"editor.action.inlineSuggest.acceptNextLine\",label:p(\"action.inlineSuggest.acceptNextLine\",\"Accept Next Line Of Inline Suggestion\"),alias:\"Accept Next Line Of Inline Suggestion\",precondition:G.and(T.writable,Mn.inlineSuggestionVisible),kbOpts:{weight:101},menuOpts:[{menuId:E.InlineSuggestionToolbar,title:p(\"acceptLine\",\"Accept Line\"),group:\"secondary\",order:2}]})}async run(e,t){var i;const n=cr.get(t);await((i=n==null?void 0:n.model.get())===null||i===void 0?void 0:i.acceptNextLine(n.editor))}}class jNe extends me{constructor(){super({id:Iq,label:p(\"action.inlineSuggest.accept\",\"Accept Inline Suggestion\"),alias:\"Accept Inline Suggestion\",precondition:Mn.inlineSuggestionVisible,menuOpts:[{menuId:E.InlineSuggestionToolbar,title:p(\"accept\",\"Accept\"),group:\"primary\",order:1}],kbOpts:{primary:2,weight:200,kbExpr:G.and(Mn.inlineSuggestionVisible,T.tabMovesFocus.toNegated(),Mn.inlineSuggestionHasIndentationLessThanTabSize,it.Visible.toNegated(),T.hoverFocused.toNegated())}})}async run(e,t){var i;const n=cr.get(t);n&&((i=n.model.get())===null||i===void 0||i.accept(n.editor),n.editor.focus())}}class Bk extends me{constructor(){super({id:Bk.ID,label:p(\"action.inlineSuggest.hide\",\"Hide Inline Suggestion\"),alias:\"Hide Inline Suggestion\",precondition:Mn.inlineSuggestionVisible,kbOpts:{weight:100,primary:9}})}async run(e,t){const i=cr.get(t);$t(n=>{var o;(o=i==null?void 0:i.model.get())===null||o===void 0||o.stop(n)})}}Bk.ID=\"editor.action.inlineSuggest.hide\";class Wk extends qs{constructor(){super({id:Wk.ID,title:p(\"action.inlineSuggest.alwaysShowToolbar\",\"Always Show Toolbar\"),f1:!1,precondition:void 0,menu:[{id:E.InlineSuggestionToolbar,group:\"secondary\",order:10}],toggled:G.equals(\"config.editor.inlineSuggest.showToolbar\",\"always\")})}async run(e,t){const i=e.get(rt),o=i.getValue(\"editor.inlineSuggest.showToolbar\")===\"always\"?\"onHover\":\"always\";i.updateValue(\"editor.inlineSuggest.showToolbar\",o)}}Wk.ID=\"editor.action.inlineSuggest.toggleAlwaysShowToolbar\";var KNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rv=function(s,e){return function(t,i){e(t,i,s)}};class qNe{constructor(e,t,i){this.owner=e,this.range=t,this.controller=i}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let LR=class{constructor(e,t,i,n,o,r){this._editor=e,this._languageService=t,this._openerService=i,this.accessibilityService=n,this._instantiationService=o,this._telemetryService=r,this.hoverOrdinal=4}suggestHoverAnchor(e){const t=cr.get(this._editor);if(!t)return null;const i=e.target;if(i.type===8){const n=i.detail;if(t.shouldShowHoverAtViewZone(n.viewZoneId))return new hf(1e3,this,x.fromPositions(this._editor.getModel().validatePosition(n.positionBefore||n.position)),e.event.posx,e.event.posy,!1)}return i.type===7&&t.shouldShowHoverAt(i.range)?new hf(1e3,this,i.range,e.event.posx,e.event.posy,!1):i.type===6&&i.detail.mightBeForeignElement&&t.shouldShowHoverAt(i.range)?new hf(1e3,this,i.range,e.event.posx,e.event.posy,!1):null}computeSync(e,t){if(this._editor.getOption(62).showToolbar!==\"onHover\")return[];const i=cr.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new qNe(this,e.range,i)]:[]}renderHoverParts(e,t){const i=new Y,n=t[0];this._telemetryService.publicLog2(\"inlineCompletionHover.shown\"),this.accessibilityService.isScreenReaderOptimized()&&!this._editor.getOption(8)&&this.renderScreenReaderText(e,n,i);const o=n.controller.model.get(),r=this._instantiationService.createInstance(zh,this._editor,!1,Ga(null),o.selectedInlineCompletionIndex,o.inlineCompletionsCount,o.activeCommands);return e.fragment.appendChild(r.getDomNode()),o.triggerExplicitly(),i.add(r),i}renderScreenReaderText(e,t,i){const n=he,o=n(\"div.hover-row.markdown-hover\"),r=Q(o,n(\"div.hover-contents\",{\"aria-live\":\"assertive\"})),a=i.add(new yd({editor:this._editor},this._languageService,this._openerService)),l=d=>{i.add(a.onDidRenderAsync(()=>{r.className=\"hover-contents code-hover-contents\",e.onContentsChanged()}));const c=p(\"inlineSuggestionFollows\",\"Suggestion:\"),u=i.add(a.render(new ss().appendText(c).appendCodeblock(\"text\",d)));r.replaceChildren(u.element)};i.add(st(d=>{var c;const u=(c=t.controller.model.read(d))===null||c===void 0?void 0:c.primaryGhostText.read(d);if(u){const h=this._editor.getModel().getLineContent(u.lineNumber);l(u.renderForScreenReader(h))}else Yn(r)})),e.fragment.appendChild(o)}};LR=KNe([rv(1,vi),rv(2,Bo),rv(3,gr),rv(4,Ne),rv(5,Gs)],LR);kt(cr.ID,cr,3);te(zNe);te(Fk);te(Ok);te(UNe);te($Ne);te(jNe);te(Bk);qt(Wk);ag.register(LR);var GNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},wT=function(s,e){return function(t,i){e(t,i,s)}},Mv;let Uf=Mv=class{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new Y,this.toUnhookForKeyboard=new Y,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();const o=new vk(e);this.toUnhook.add(o),this.toUnhook.add(o.onMouseMoveOrRelevantKeyDown(([r,a])=>{this.startFindDefinitionFromMouse(r,a??void 0)})),this.toUnhook.add(o.onExecute(r=>{this.isEnabled(r)&&this.gotoDefinition(r.target.position,r.hasSideBySideModifier).catch(a=>{Xe(a)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(o.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(Mv.ID)}async startFindDefinitionFromCursor(e){await this.startFindDefinition(e),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(t=>{t&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))}startFindDefinitionFromMouse(e,t){if(e.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const i=e.target.position;this.startFindDefinition(i)}async startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const i=e?(t=this.editor.getModel())===null||t===void 0?void 0:t.getWordAtPosition(e):null;if(!i){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===i.startColumn&&this.currentWordAtPosition.endColumn===i.endColumn&&this.currentWordAtPosition.word===i.word)return;this.currentWordAtPosition=i;const n=new MK(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Dn(a=>this.findDefinition(e,a));let o;try{o=await this.previousPromise}catch(a){Xe(a);return}if(!o||!o.length||!n.validate(this.editor)){this.removeLinkDecorations();return}const r=o[0].originSelectionRange?x.lift(o[0].originSelectionRange):new x(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);if(o.length>1){let a=r;for(const{originSelectionRange:l}of o)l&&(a=x.plusRange(a,l));this.addDecoration(a,new ss().appendText(p(\"multipleResults\",\"Click to show {0} definitions.\",o.length)))}else{const a=o[0];if(!a.uri)return;this.textModelResolverService.createModelReference(a.uri).then(l=>{if(!l.object||!l.object.textEditorModel){l.dispose();return}const{object:{textEditorModel:d}}=l,{startLineNumber:c}=a.range;if(c<1||c>d.getLineCount()){l.dispose();return}const u=this.getPreviewValue(d,c,a),h=this.languageService.guessLanguageIdByFilepathOrFirstLine(d.uri);this.addDecoration(r,u?new ss().appendCodeblock(h||\"\",u):void 0),l.dispose()})}}getPreviewValue(e,t,i){let n=i.range;return n.endLineNumber-n.startLineNumber>=Mv.MAX_SOURCE_PREVIEW_LINES&&(n=this.getPreviewRangeBasedOnIndentation(e,t)),this.stripIndentationFromPreviewRange(e,t,n)}stripIndentationFromPreviewRange(e,t,i){let o=e.getLineFirstNonWhitespaceColumn(t);for(let a=t+1;a<i.endLineNumber;a++){const l=e.getLineFirstNonWhitespaceColumn(a);o=Math.min(o,l)}return e.getValueInRange(i).replace(new RegExp(`^\\\\s{${o-1}}`,\"gm\"),\"\").trim()}getPreviewRangeBasedOnIndentation(e,t){const i=e.getLineFirstNonWhitespaceColumn(t),n=Math.min(e.getLineCount(),t+Mv.MAX_SOURCE_PREVIEW_LINES);let o=t+1;for(;o<n;o++){const r=e.getLineFirstNonWhitespaceColumn(o);if(i===r)break}return new x(t,1,o+1,1)}addDecoration(e,t){const i={range:e,options:{description:\"goto-definition-link\",inlineClassName:\"goto-definition-link\",hoverMessage:t}};this.linkDecorations.set([i])}removeLinkDecorations(){this.linkDecorations.clear()}isEnabled(e,t){var i;return this.editor.hasModel()&&e.isLeftClick&&e.isNoneOrSingleMouseDown&&e.target.type===6&&!(((i=e.target.detail.injectedText)===null||i===void 0?void 0:i.options)instanceof Ph)&&(e.hasTriggerModifier||(t?t.keyCodeIsTriggerKey:!1))&&this.languageFeaturesService.definitionProvider.has(this.editor.getModel())}findDefinition(e,t){const i=this.editor.getModel();return i?Dk(this.languageFeaturesService.definitionProvider,i,e,t):Promise.resolve(null)}gotoDefinition(e,t){return this.editor.setPosition(e),this.editor.invokeWithinContext(i=>{const n=!t&&this.editor.getOption(88)&&!this.isInPeekEditor(i);return new K1({openToSide:t,openInPeek:n,muteMessage:!0},{title:{value:\"\",original:\"\"},id:\"\",precondition:void 0}).run(i)})}isInPeekEditor(e){const t=e.get(Be);return po.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};Uf.ID=\"editor.contrib.gotodefinitionatposition\";Uf.MAX_SOURCE_PREVIEW_LINES=8;Uf=Mv=GNe([wT(1,mo),wT(2,vi),wT(3,Ce)],Uf);kt(Uf.ID,Uf,2);var EG=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},LL=function(s,e){return function(t,i){e(t,i,s)}};class O9{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let xR=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new B,this.onDidChange=this._onDidChange.event,this._dispoables=new Y,this._markers=[],this._nextIdx=-1,Ae.isUri(e)?this._resourceFilter=a=>a.toString()===e.toString():e&&(this._resourceFilter=e);const n=this._configService.getValue(\"problems.sortOrder\"),o=(a,l)=>{let d=Rb(a.resource.toString(),l.resource.toString());return d===0&&(n===\"position\"?d=x.compareRangesUsingStarts(a,l)||Li.compare(a.severity,l.severity):d=Li.compare(a.severity,l.severity)||x.compareRangesUsingStarts(a,l)),d},r=()=>{this._markers=this._markerService.read({resource:Ae.isUri(e)?e:void 0,severities:Li.Error|Li.Warning|Li.Info}),typeof e==\"function\"&&(this._markers=this._markers.filter(a=>this._resourceFilter(a.resource))),this._markers.sort(o)};r(),this._dispoables.add(t.onMarkerChanged(a=>{(!this._resourceFilter||a.some(l=>this._resourceFilter(l)))&&(r(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e?!0:!this._resourceFilter||!e?!1:this._resourceFilter(e)}get selected(){const e=this._markers[this._nextIdx];return e&&new O9(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,o=this._markers.findIndex(r=>r.resource.toString()===e.uri.toString());o<0&&(o=xb(this._markers,{resource:e.uri},(r,a)=>Rb(r.resource.toString(),a.resource.toString())),o<0&&(o=~o));for(let r=o;r<this._markers.length;r++){let a=x.lift(this._markers[r]);if(a.isEmpty()){const l=e.getWordAtPosition(a.getStartPosition());l&&(a=new x(a.startLineNumber,l.startColumn,a.startLineNumber,l.endColumn))}if(t&&(a.containsPosition(t)||t.isBeforeOrEqual(a.getStartPosition()))){this._nextIdx=r,n=!0;break}if(this._markers[r].resource.toString()!==e.uri.toString())break}n||(this._nextIdx=i?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(e,t,i){if(this._markers.length===0)return!1;const n=this._nextIdx;return this._nextIdx===-1?this._initIdx(t,i,e):e?this._nextIdx=(this._nextIdx+1)%this._markers.length:e||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),n!==this._nextIdx}find(e,t){let i=this._markers.findIndex(n=>n.resource.toString()===e.toString());if(!(i<0)){for(;i<this._markers.length;i++)if(x.containsPosition(this._markers[i],t))return new O9(this._markers[i],i+1,this._markers.length)}}};xR=EG([LL(1,Pd),LL(2,rt)],xR);const IG=ut(\"IMarkerNavigationService\");let kR=class{constructor(e,t){this._markerService=e,this._configService=t,this._provider=new Rs}getMarkerList(e){for(const t of this._provider){const i=t.getMarkerList(e);if(i)return i}return new xR(e,this._markerService,this._configService)}};kR=EG([LL(0,Pd),LL(1,rt)],kR);mt(IG,kR,1);var ER;(function(s){function e(t){switch(t){case Bi.Ignore:return\"severity-ignore \"+Pe.asClassName(oe.info);case Bi.Info:return Pe.asClassName(oe.info);case Bi.Warning:return Pe.asClassName(oe.warning);case Bi.Error:return Pe.asClassName(oe.error);default:return\"\"}}s.className=e})(ER||(ER={}));var ZNe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Hp=function(s,e){return function(t,i){e(t,i,s)}},IR;class XNe{constructor(e,t,i,n,o){this._openerService=n,this._labelService=o,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new Y,this._editor=t;const r=document.createElement(\"div\");r.className=\"descriptioncontainer\",this._messageBlock=document.createElement(\"div\"),this._messageBlock.classList.add(\"message\"),this._messageBlock.setAttribute(\"aria-live\",\"assertive\"),this._messageBlock.setAttribute(\"role\",\"alert\"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement(\"div\"),r.appendChild(this._relatedBlock),this._disposables.add(Ni(this._relatedBlock,\"click\",a=>{a.preventDefault();const l=this._relatedDiagnostics.get(a.target);l&&i(l)})),this._scrollable=new VU(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(a=>{r.style.left=`-${a.scrollLeft}px`,r.style.top=`-${a.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){jt(this._disposables)}update(e){const{source:t,message:i,relatedInformation:n,code:o}=e;let r=((t==null?void 0:t.length)||0)+2;o&&(typeof o==\"string\"?r+=o.length:r+=o.value.length);const a=Td(i);this._lines=a.length,this._longestLineLength=0;for(const h of a)this._longestLineLength=Math.max(h.length+r,this._longestLineLength);zn(this._messageBlock),this._messageBlock.setAttribute(\"aria-label\",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let l=this._messageBlock;for(const h of a)l=document.createElement(\"div\"),l.innerText=h,h===\"\"&&(l.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(l);if(t||o){const h=document.createElement(\"span\");if(h.classList.add(\"details\"),l.appendChild(h),t){const g=document.createElement(\"span\");g.innerText=t,g.classList.add(\"source\"),h.appendChild(g)}if(o)if(typeof o==\"string\"){const g=document.createElement(\"span\");g.innerText=`(${o})`,g.classList.add(\"code\"),h.appendChild(g)}else{this._codeLink=he(\"a.code-link\"),this._codeLink.setAttribute(\"href\",`${o.target.toString()}`),this._codeLink.onclick=f=>{this._openerService.open(o.target,{allowCommands:!0}),f.preventDefault(),f.stopPropagation()};const g=Q(this._codeLink,he(\"span\"));g.innerText=o.value,h.appendChild(this._codeLink)}}if(zn(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),rs(n)){const h=this._relatedBlock.appendChild(document.createElement(\"div\"));h.style.paddingTop=`${Math.floor(this._editor.getOption(67)*.66)}px`,this._lines+=1;for(const g of n){const f=document.createElement(\"div\"),m=document.createElement(\"a\");m.classList.add(\"filename\"),m.innerText=`${this._labelService.getUriBasenameLabel(g.resource)}(${g.startLineNumber}, ${g.startColumn}): `,m.title=this._labelService.getUriLabel(g.resource),this._relatedDiagnostics.set(m,g);const _=document.createElement(\"span\");_.innerText=g.message,f.appendChild(m),f.appendChild(_),this._lines+=1,h.appendChild(f)}}const d=this._editor.getOption(50),c=Math.ceil(d.typicalFullwidthCharacterWidth*this._longestLineLength*.75),u=d.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:c,scrollHeight:u})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t=\"\";switch(e.severity){case Li.Error:t=p(\"Error\",\"Error\");break;case Li.Warning:t=p(\"Warning\",\"Warning\");break;case Li.Info:t=p(\"Info\",\"Info\");break;case Li.Hint:t=p(\"Hint\",\"Hint\");break}let i=p(\"marker aria\",\"{0} at {1}. \",t,e.startLineNumber+\":\"+e.startColumn);const n=this._editor.getModel();return n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1&&(i=`${n.getLineContent(e.startLineNumber)}, ${i}`),i}}let j_=IR=class extends gL{constructor(e,t,i,n,o,r,a){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},o),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=r,this._labelService=a,this._callOnDispose=new Y,this._onDidSelectRelatedInformation=new B,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=Li.Warning,this._backgroundColor=$.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(eAe);let t=TR,i=YNe;this._severity===Li.Warning?(t=gS,i=QNe):this._severity===Li.Info&&(t=NR,i=JNe);const n=e.getColor(t),o=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:o,primaryHeadingColor:e.getColor(Wq),secondaryHeadingColor:e.getColor(Hq)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():\"\"),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(n=>this.editor.focus()));const t=[],i=this._menuService.createMenu(IR.TitleMenu,this._contextKeyService);Qx(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=Q(e,he(\"\"))}_fillBody(e){this._parentContainer=e,e.classList.add(\"marker-widget\"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute(\"role\",\"tooltip\"),this._container=document.createElement(\"div\"),e.appendChild(this._container),this._message=new XNe(this._container,this.editor,t=>this._onDidSelectRelatedInformation.fire(t),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error(\"call showAtMarker\")}showAtMarker(e,t,i){this._container.classList.remove(\"stale\"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());const n=x.lift(e),o=this.editor.getPosition(),r=o&&n.containsPosition(o)?o:n.getStartPosition();super.show(r,this.computeRequiredHeight());const a=this.editor.getModel();if(a){const l=i>1?p(\"problems\",\"{0} of {1} problems\",t,i):p(\"change\",\"{0} of {1} problem\",t,i);this.setTitle(Wr(a.uri),l)}this._icon.className=`codicon ${ER.className(Li.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove(\"stale\"),this._message.update(e)}showStale(){this._container.classList.add(\"stale\"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};j_.TitleMenu=new E(\"gotoErrorTitleMenu\");j_=IR=ZNe([Hp(1,_n),Hp(2,Bo),Hp(3,hr),Hp(4,Ne),Hp(5,Be),Hp(6,k_)],j_);const B9=Gb(Jl,Mue),W9=Gb(vs,Zb),H9=Gb(ro,Xb),TR=N(\"editorMarkerNavigationError.background\",{dark:B9,light:B9,hcDark:gt,hcLight:gt},p(\"editorMarkerNavigationError\",\"Editor marker navigation widget error color.\")),YNe=N(\"editorMarkerNavigationError.headerBackground\",{dark:Ee(TR,.1),light:Ee(TR,.1),hcDark:null,hcLight:null},p(\"editorMarkerNavigationErrorHeaderBackground\",\"Editor marker navigation widget error heading background.\")),gS=N(\"editorMarkerNavigationWarning.background\",{dark:W9,light:W9,hcDark:gt,hcLight:gt},p(\"editorMarkerNavigationWarning\",\"Editor marker navigation widget warning color.\")),QNe=N(\"editorMarkerNavigationWarning.headerBackground\",{dark:Ee(gS,.1),light:Ee(gS,.1),hcDark:\"#0C141F\",hcLight:Ee(gS,.2)},p(\"editorMarkerNavigationWarningBackground\",\"Editor marker navigation widget warning heading background.\")),NR=N(\"editorMarkerNavigationInfo.background\",{dark:H9,light:H9,hcDark:gt,hcLight:gt},p(\"editorMarkerNavigationInfo\",\"Editor marker navigation widget info color.\")),JNe=N(\"editorMarkerNavigationInfo.headerBackground\",{dark:Ee(NR,.1),light:Ee(NR,.1),hcDark:null,hcLight:null},p(\"editorMarkerNavigationInfoHeaderBackground\",\"Editor marker navigation widget info heading background.\")),eAe=N(\"editorMarkerNavigation.background\",{dark:Sn,light:Sn,hcDark:Sn,hcLight:Sn},p(\"editorMarkerNavigationBackground\",\"Editor marker navigation widget background.\"));var tAe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Dy=function(s,e){return function(t,i){e(t,i,s)}},Rv;let qh=Rv=class{static get(e){return e.getContribution(Rv.ID)}constructor(e,t,i,n,o){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=o,this._sessionDispoables=new Y,this._editor=e,this._widgetVisible=TG.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(j_,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(i=>{var n,o,r;(!(!((n=this._model)===null||n===void 0)&&n.selected)||!x.containsPosition((o=this._model)===null||o===void 0?void 0:o.selected.marker,i.position))&&((r=this._model)===null||r===void 0||r.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const i=this._model.find(this._editor.getModel().uri,this._widget.position);i?this._widget.updateMarker(i.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(i=>{this._editorService.openCodeEditor({resource:i.resource,options:{pinned:!0,revealIfOpened:!0,selection:x.lift(i).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new W(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}async nagivate(e,t){var i,n;if(this._editor.hasModel()){const o=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(o.move(e,this._editor.getModel(),this._editor.getPosition()),!o.selected)return;if(o.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const r=await this._editorService.openCodeEditor({resource:o.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:o.selected.marker}},this._editor);r&&((i=Rv.get(r))===null||i===void 0||i.close(),(n=Rv.get(r))===null||n===void 0||n.nagivate(e,t))}else this._widget.showAtMarker(o.selected.marker,o.selected.index,o.selected.total)}}};qh.ID=\"editor.contrib.markerController\";qh=Rv=tAe([Dy(1,IG),Dy(2,Be),Dy(3,xt),Dy(4,Ne)],qh);class Hk extends me{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}async run(e,t){var i;t.hasModel()&&((i=qh.get(t))===null||i===void 0||i.nagivate(this._next,this._multiFile))}}class fh extends Hk{constructor(){super(!0,!1,{id:fh.ID,label:fh.LABEL,alias:\"Go to Next Problem (Error, Warning, Info)\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:578,weight:100},menuOpts:{menuId:j_.TitleMenu,title:fh.LABEL,icon:xi(\"marker-navigation-next\",oe.arrowDown,p(\"nextMarkerIcon\",\"Icon for goto next marker.\")),group:\"navigation\",order:1}})}}fh.ID=\"editor.action.marker.next\";fh.LABEL=p(\"markerAction.next.label\",\"Go to Next Problem (Error, Warning, Info)\");class mf extends Hk{constructor(){super(!1,!1,{id:mf.ID,label:mf.LABEL,alias:\"Go to Previous Problem (Error, Warning, Info)\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:1602,weight:100},menuOpts:{menuId:j_.TitleMenu,title:mf.LABEL,icon:xi(\"marker-navigation-previous\",oe.arrowUp,p(\"previousMarkerIcon\",\"Icon for goto previous marker.\")),group:\"navigation\",order:2}})}}mf.ID=\"editor.action.marker.prev\";mf.LABEL=p(\"markerAction.previous.label\",\"Go to Previous Problem (Error, Warning, Info)\");class iAe extends Hk{constructor(){super(!0,!0,{id:\"editor.action.marker.nextInFiles\",label:p(\"markerAction.nextInFiles.label\",\"Go to Next Problem in Files (Error, Warning, Info)\"),alias:\"Go to Next Problem in Files (Error, Warning, Info)\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:66,weight:100},menuOpts:{menuId:E.MenubarGoMenu,title:p({},\"Next &&Problem\"),group:\"6_problem_nav\",order:1}})}}class nAe extends Hk{constructor(){super(!1,!0,{id:\"editor.action.marker.prevInFiles\",label:p(\"markerAction.previousInFiles.label\",\"Go to Previous Problem in Files (Error, Warning, Info)\"),alias:\"Go to Previous Problem in Files (Error, Warning, Info)\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:1090,weight:100},menuOpts:{menuId:E.MenubarGoMenu,title:p({},\"Previous &&Problem\"),group:\"6_problem_nav\",order:2}})}}kt(qh.ID,qh,4);te(fh);te(mf);te(iAe);te(nAe);const TG=new ue(\"markersNavigationVisible\",!1),sAe=mn.bindToContribution(qh.get);de(new sAe({id:\"closeMarkersNavigation\",precondition:TG,handler:s=>s.close(),kbOpts:{weight:150,kbExpr:T.focus,primary:9,secondary:[1033]}}));var Ra;(function(s){s.NoAutoFocus=\"noAutoFocus\",s.FocusIfVisible=\"focusIfVisible\",s.AutoFocusImmediately=\"autoFocusImmediately\"})(Ra||(Ra={}));class oAe extends me{constructor(){super({id:Eq,label:p({},\"Show or Focus Hover\"),metadata:{description:Ve(\"showOrFocusHoverDescription\",\"Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position.\"),args:[{name:\"args\",schema:{type:\"object\",properties:{focus:{description:\"Controls if and when the hover should take focus upon being triggered by this action.\",enum:[Ra.NoAutoFocus,Ra.FocusIfVisible,Ra.AutoFocusImmediately],enumDescriptions:[p(\"showOrFocusHover.focus.noAutoFocus\",\"The hover will not automatically take focus.\"),p(\"showOrFocusHover.focus.focusIfVisible\",\"The hover will take focus only if it is already visible.\"),p(\"showOrFocusHover.focus.autoFocusImmediately\",\"The hover will automatically take focus when it appears.\")],default:Ra.FocusIfVisible}}}}]},alias:\"Show or Focus Hover\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;const n=ws.get(t);if(!n)return;const o=i==null?void 0:i.focus;let r=Ra.FocusIfVisible;Object.values(Ra).includes(o)?r=o:typeof o==\"boolean\"&&o&&(r=Ra.AutoFocusImmediately);const a=d=>{const c=t.getPosition(),u=new x(c.lineNumber,c.column,c.lineNumber,c.column);n.showContentHover(u,1,1,d)},l=t.getOption(2)===2;n.isHoverVisible?r!==Ra.NoAutoFocus?n.focus():a(l):a(l||r===Ra.AutoFocusImmediately)}}class rAe extends me{constructor(){super({id:xke,label:p({},\"Show Definition Preview Hover\"),alias:\"Show Definition Preview Hover\",precondition:void 0,metadata:{description:Ve(\"showDefinitionPreviewHoverDescription\",\"Show the definition preview hover in the editor.\")}})}run(e,t){const i=ws.get(t);if(!i)return;const n=t.getPosition();if(!n)return;const o=new x(n.lineNumber,n.column,n.lineNumber,n.column),r=Uf.get(t);if(!r)return;r.startFindDefinitionFromCursor(n).then(()=>{i.showContentHover(o,1,1,!0)})}}class aAe extends me{constructor(){super({id:kke,label:p({},\"Scroll Up Hover\"),alias:\"Scroll Up Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:16,weight:100},metadata:{description:Ve(\"scrollUpHoverDescription\",\"Scroll up the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.scrollUp()}}class lAe extends me{constructor(){super({id:Eke,label:p({},\"Scroll Down Hover\"),alias:\"Scroll Down Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:18,weight:100},metadata:{description:Ve(\"scrollDownHoverDescription\",\"Scroll down the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.scrollDown()}}class dAe extends me{constructor(){super({id:Ike,label:p({},\"Scroll Left Hover\"),alias:\"Scroll Left Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:15,weight:100},metadata:{description:Ve(\"scrollLeftHoverDescription\",\"Scroll left the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.scrollLeft()}}class cAe extends me{constructor(){super({id:Tke,label:p({},\"Scroll Right Hover\"),alias:\"Scroll Right Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:17,weight:100},metadata:{description:Ve(\"scrollRightHoverDescription\",\"Scroll right the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.scrollRight()}}class uAe extends me{constructor(){super({id:Nke,label:p({},\"Page Up Hover\"),alias:\"Page Up Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:11,secondary:[528],weight:100},metadata:{description:Ve(\"pageUpHoverDescription\",\"Page up the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.pageUp()}}class hAe extends me{constructor(){super({id:Ake,label:p({},\"Page Down Hover\"),alias:\"Page Down Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:12,secondary:[530],weight:100},metadata:{description:Ve(\"pageDownHoverDescription\",\"Page down the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.pageDown()}}class gAe extends me{constructor(){super({id:Mke,label:p({},\"Go To Top Hover\"),alias:\"Go To Bottom Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:14,secondary:[2064],weight:100},metadata:{description:Ve(\"goToTopHoverDescription\",\"Go to the top of the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.goToTop()}}class fAe extends me{constructor(){super({id:Rke,label:p({},\"Go To Bottom Hover\"),alias:\"Go To Bottom Hover\",precondition:T.hoverFocused,kbOpts:{kbExpr:T.hoverFocused,primary:13,secondary:[2066],weight:100},metadata:{description:Ve(\"goToBottomHoverDescription\",\"Go to the bottom of the editor hover.\")}})}run(e,t){const i=ws.get(t);i&&i.goToBottom()}}class pAe extends me{constructor(){super({id:_4,label:p({},\"Increase Hover Verbosity Level\"),alias:\"Increase Hover Verbosity Level\",precondition:T.hoverFocused})}run(e,t){var i;(i=ws.get(t))===null||i===void 0||i.updateFocusedMarkdownHoverVerbosityLevel(ja.Increase)}}class mAe extends me{constructor(){super({id:v4,label:p({},\"Decrease Hover Verbosity Level\"),alias:\"Decrease Hover Verbosity Level\",precondition:T.hoverFocused})}run(e,t,i){var n;(n=ws.get(t))===null||n===void 0||n.updateFocusedMarkdownHoverVerbosityLevel(ja.Decrease)}}var _Ae=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},yT=function(s,e){return function(t,i){e(t,i,s)}};const Xr=he;class vAe{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}const V9={type:1,filter:{include:li.QuickFix},triggerAction:Ro.QuickFixHover};let AR=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1&&!e.supportsMarkerHover)return[];const i=this._editor.getModel(),n=e.range.startLineNumber,o=i.getLineMaxColumn(n),r=[];for(const a of t){const l=a.range.startLineNumber===n?a.range.startColumn:1,d=a.range.endLineNumber===n?a.range.endColumn:o,c=this._markerDecorationsService.getMarker(i.uri,a);if(!c)continue;const u=new x(e.range.startLineNumber,l,e.range.startLineNumber,d);r.push(new vAe(this,u,c))}return r}renderHoverParts(e,t){if(!t.length)return H.None;const i=new Y;t.forEach(o=>e.fragment.appendChild(this.renderMarkerHover(o,i)));const n=t.length===1?t[0]:t.sort((o,r)=>Li.compare(o.marker.severity,r.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){const i=Xr(\"div.hover-row\");i.tabIndex=0;const n=Q(i,Xr(\"div.marker.hover-contents\")),{source:o,message:r,code:a,relatedInformation:l}=e.marker;this._editor.applyFontInfo(n);const d=Q(n,Xr(\"span\"));if(d.style.whiteSpace=\"pre-wrap\",d.innerText=r,o||a)if(a&&typeof a!=\"string\"){const c=Xr(\"span\");if(o){const f=Q(c,Xr(\"span\"));f.innerText=o}const u=Q(c,Xr(\"a.code-link\"));u.setAttribute(\"href\",a.target.toString()),t.add(K(u,\"click\",f=>{this._openerService.open(a.target,{allowCommands:!0}),f.preventDefault(),f.stopPropagation()}));const h=Q(u,Xr(\"span\"));h.innerText=a.value;const g=Q(n,c);g.style.opacity=\"0.6\",g.style.paddingLeft=\"6px\"}else{const c=Q(n,Xr(\"span\"));c.style.opacity=\"0.6\",c.style.paddingLeft=\"6px\",c.innerText=o&&a?`${o}(${a})`:o||`(${a})`}if(rs(l))for(const{message:c,resource:u,startLineNumber:h,startColumn:g}of l){const f=Q(n,Xr(\"div\"));f.style.marginTop=\"8px\";const m=Q(f,Xr(\"a\"));m.innerText=`${Wr(u)}(${h}, ${g}): `,m.style.cursor=\"pointer\",t.add(K(m,\"click\",v=>{v.stopPropagation(),v.preventDefault(),this._openerService&&this._openerService.open(u,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:h,startColumn:g}}}).catch(Xe)}));const _=Q(f,Xr(\"span\"));_.innerText=c,this._editor.applyFontInfo(_)}return i}renderMarkerStatusbar(e,t,i){if(t.marker.severity===Li.Error||t.marker.severity===Li.Warning||t.marker.severity===Li.Info){const n=qh.get(this._editor);n&&e.statusBar.addAction({label:p(\"view problem\",\"View Problem\"),commandId:fh.ID,run:()=>{e.hide(),n.showAtMarker(t.marker),this._editor.focus()}})}if(!this._editor.getOption(91)){const n=e.statusBar.append(Xr(\"div\"));this.recentMarkerCodeActionsInfo&&(RD.makeKey(this.recentMarkerCodeActionsInfo.marker)===RD.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=p(\"noQuickFixes\",\"No quick fixes available\")):this.recentMarkerCodeActionsInfo=void 0);const o=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?H.None:kh(()=>n.textContent=p(\"checkingForQuickFixes\",\"Checking for quick fixes...\"),200,i);n.textContent||(n.textContent=\" \");const r=this.getCodeActions(t.marker);i.add(Ie(()=>r.cancel())),r.then(a=>{if(o.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:a.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){a.dispose(),n.textContent=p(\"noQuickFixes\",\"No quick fixes available\");return}n.style.display=\"none\";let l=!1;i.add(Ie(()=>{l||a.dispose()})),e.statusBar.addAction({label:p(\"quick fixes\",\"Quick Fix...\"),commandId:u4,run:d=>{l=!0;const c=Hh.get(this._editor),u=qi(d);e.hide(),c==null||c.showCodeActions(V9,a,{x:u.left,y:u.top,width:u.width,height:u.height})}})},Xe)}}getCodeActions(e){return Dn(t=>gb(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new x(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),V9,Nc.None,t))}};AR=_Ae([yT(1,TF),yT(2,Bo),yT(3,Ce)],AR);kt(ws.ID,ws,2);te(oAe);te(rAe);te(aAe);te(lAe);te(dAe);te(cAe);te(uAe);te(hAe);te(gAe);te(fAe);te(pAe);te(mAe);ag.register(RC);ag.register(AR);zr((s,e)=>{const t=s.getColor(EU);t&&(e.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${t.transparent(.5)}; }`))});function bo(s,e){let t=0;for(let i=0;i<s.length;i++)s.charAt(i)===\"\t\"?t+=e:t++;return t}function _b(s,e,t){s=s<0?0:s;let i=\"\";if(!t){const n=Math.floor(s/e);s=s%e;for(let o=0;o<n;o++)i+=\"\t\"}for(let n=0;n<s;n++)i+=\" \";return i}function NG(s,e,t,i,n){if(s.getLineCount()===1&&s.getLineMaxColumn(1)===1)return[];const o=e.getLanguageConfiguration(s.getLanguageId()).indentationRules;if(!o)return[];for(i=Math.min(i,s.getLineCount());t<=i&&o.unIndentedLinePattern;){const _=s.getLineContent(t);if(!o.unIndentedLinePattern.test(_))break;t++}if(t>i-1)return[];const{tabSize:r,indentSize:a,insertSpaces:l}=s.getOptions(),d=(_,v)=>(v=v||1,xr.shiftIndent(_,_.length+v,r,a,l)),c=(_,v)=>(v=v||1,xr.unshiftIndent(_,_.length+v,r,a,l)),u=[];let h;const g=s.getLineContent(t);let f=g;h=Zt(g);let m=h;o.increaseIndentPattern&&o.increaseIndentPattern.test(f)?(m=d(m),h=d(h)):o.indentNextLinePattern&&o.indentNextLinePattern.test(f)&&(m=d(m)),t++;for(let _=t;_<=i;_++){const v=s.getLineContent(_),b=Zt(v),C=m+v.substring(b.length);o.decreaseIndentPattern&&o.decreaseIndentPattern.test(C)&&(m=c(m),h=c(h)),b!==m&&u.push(pi.replaceMove(new we(_,1,_,b.length+1),VF(m,a,l))),!(o.unIndentedLinePattern&&o.unIndentedLinePattern.test(v))&&(o.increaseIndentPattern&&o.increaseIndentPattern.test(C)?(h=d(h),m=h):o.indentNextLinePattern&&o.indentNextLinePattern.test(C)?m=d(m):m=h)}return u}var bAe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},CAe=function(s,e){return function(t,i){e(t,i,s)}};class Vk extends me{constructor(){super({id:Vk.ID,label:p(\"indentationToSpaces\",\"Convert Indentation to Spaces\"),alias:\"Convert Indentation to Spaces\",precondition:T.writable,metadata:{description:Ve(\"indentationToSpacesDescription\",\"Convert the tab indentation to spaces.\")}})}run(e,t){const i=t.getModel();if(!i)return;const n=i.getOptions(),o=t.getSelection();if(!o)return;const r=new DAe(o,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})}}Vk.ID=\"editor.action.indentationToSpaces\";class zk extends me{constructor(){super({id:zk.ID,label:p(\"indentationToTabs\",\"Convert Indentation to Tabs\"),alias:\"Convert Indentation to Tabs\",precondition:T.writable,metadata:{description:Ve(\"indentationToTabsDescription\",\"Convert the spaces indentation to tabs.\")}})}run(e,t){const i=t.getModel();if(!i)return;const n=i.getOptions(),o=t.getSelection();if(!o)return;const r=new LAe(o,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})}}zk.ID=\"editor.action.indentationToTabs\";class W4 extends me{constructor(e,t,i){super(i),this.insertSpaces=e,this.displaySizeOnly=t}run(e,t){const i=e.get(hp),n=e.get(_i),o=t.getModel();if(!o)return;const r=n.getCreationOptions(o.getLanguageId(),o.uri,o.isForSimpleWidget),a=o.getOptions(),l=[1,2,3,4,5,6,7,8].map(c=>({id:c.toString(),label:c.toString(),description:c===r.tabSize&&c===a.tabSize?p(\"configuredTabSize\",\"Configured Tab Size\"):c===r.tabSize?p(\"defaultTabSize\",\"Default Tab Size\"):c===a.tabSize?p(\"currentTabSize\",\"Current Tab Size\"):void 0})),d=Math.min(o.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(l,{placeHolder:p({},\"Select Tab Size for Current File\"),activeItem:l[d]}).then(c=>{if(c&&o&&!o.isDisposed()){const u=parseInt(c.label,10);this.displaySizeOnly?o.updateOptions({tabSize:u}):o.updateOptions({tabSize:u,indentSize:u,insertSpaces:this.insertSpaces})}})},50)}}class Uk extends W4{constructor(){super(!1,!1,{id:Uk.ID,label:p(\"indentUsingTabs\",\"Indent Using Tabs\"),alias:\"Indent Using Tabs\",precondition:void 0,metadata:{description:Ve(\"indentUsingTabsDescription\",\"Use indentation with tabs.\")}})}}Uk.ID=\"editor.action.indentUsingTabs\";class $k extends W4{constructor(){super(!0,!1,{id:$k.ID,label:p(\"indentUsingSpaces\",\"Indent Using Spaces\"),alias:\"Indent Using Spaces\",precondition:void 0,metadata:{description:Ve(\"indentUsingSpacesDescription\",\"Use indentation with spaces.\")}})}}$k.ID=\"editor.action.indentUsingSpaces\";class jk extends W4{constructor(){super(!0,!0,{id:jk.ID,label:p(\"changeTabDisplaySize\",\"Change Tab Display Size\"),alias:\"Change Tab Display Size\",precondition:void 0,metadata:{description:Ve(\"changeTabDisplaySizeDescription\",\"Change the space size equivalent of the tab.\")}})}}jk.ID=\"editor.action.changeTabDisplaySize\";class Kk extends me{constructor(){super({id:Kk.ID,label:p(\"detectIndentation\",\"Detect Indentation from Content\"),alias:\"Detect Indentation from Content\",precondition:void 0,metadata:{description:Ve(\"detectIndentationDescription\",\"Detect the indentation from content.\")}})}run(e,t){const i=e.get(_i),n=t.getModel();if(!n)return;const o=i.getCreationOptions(n.getLanguageId(),n.uri,n.isForSimpleWidget);n.detectIndentation(o.insertSpaces,o.tabSize)}}Kk.ID=\"editor.action.detectIndentation\";class wAe extends me{constructor(){super({id:\"editor.action.reindentlines\",label:p(\"editor.reindentlines\",\"Reindent Lines\"),alias:\"Reindent Lines\",precondition:T.writable,metadata:{description:Ve(\"editor.reindentlinesDescription\",\"Reindent the lines of the editor.\")}})}run(e,t){const i=e.get(Yt),n=t.getModel();if(!n)return;const o=NG(n,i,1,n.getLineCount());o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class yAe extends me{constructor(){super({id:\"editor.action.reindentselectedlines\",label:p(\"editor.reindentselectedlines\",\"Reindent Selected Lines\"),alias:\"Reindent Selected Lines\",precondition:T.writable,metadata:{description:Ve(\"editor.reindentselectedlinesDescription\",\"Reindent the selected lines of the editor.\")}})}run(e,t){const i=e.get(Yt),n=t.getModel();if(!n)return;const o=t.getSelections();if(o===null)return;const r=[];for(const a of o){let l=a.startLineNumber,d=a.endLineNumber;if(l!==d&&a.endColumn===1&&d--,l===1){if(l===d)continue}else l--;const c=NG(n,i,l,d);r.push(...c)}r.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop())}}class SAe{constructor(e,t){this._initialSelection=t,this._edits=[],this._selectionId=null;for(const i of e)i.range&&typeof i.text==\"string\"&&this._edits.push(i)}getEditOperations(e,t){for(const n of this._edits)t.addEditOperation(x.lift(n.range),n.text);let i=!1;Array.isArray(this._edits)&&this._edits.length===1&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),i||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}let KC=class{constructor(e,t){this.editor=e,this._languageConfigurationService=t,this.callOnDispose=new Y,this.callOnModel=new Y,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(this.editor.getOption(12)<4||this.editor.getOption(55))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){const t=this.editor.getSelections();if(t===null||t.length>1)return;const i=this.editor.getModel();if(!i||!i.tokenization.isCheapToTokenize(e.getStartPosition().lineNumber))return;const n=this.editor.getOption(12),{tabSize:o,indentSize:r,insertSpaces:a}=i.getOptions(),l=[],d={shiftIndent:g=>xr.shiftIndent(g,g.length+1,o,r,a),unshiftIndent:g=>xr.unshiftIndent(g,g.length+1,o,r,a)};let c=e.startLineNumber;for(;c<=e.endLineNumber;){if(this.shouldIgnoreLine(i,c)){c++;continue}break}if(c>e.endLineNumber)return;let u=i.getLineContent(c);if(!/\\S/.test(u.substring(0,e.startColumn-1))){const g=qv(n,i,i.getLanguageId(),c,d,this._languageConfigurationService);if(g!==null){const f=Zt(u),m=bo(g,o),_=bo(f,o);if(m!==_){const v=_b(m,o,a);l.push({range:new x(c,1,c,f.length+1),text:v}),u=v+u.substr(f.length)}else{const v=e$(i,c,this._languageConfigurationService);if(v===0||v===8)return}}}const h=c;for(;c<e.endLineNumber;){if(!/\\S/.test(i.getLineContent(c+1))){c++;continue}break}if(c!==e.endLineNumber){const f=qv(n,{tokenization:{getLineTokens:m=>i.tokenization.getLineTokens(m),getLanguageId:()=>i.getLanguageId(),getLanguageIdAtPosition:(m,_)=>i.getLanguageIdAtPosition(m,_)},getLineContent:m=>m===h?u:i.getLineContent(m)},i.getLanguageId(),c+1,d,this._languageConfigurationService);if(f!==null){const m=bo(f,o),_=bo(Zt(i.getLineContent(c+1)),o);if(m!==_){const v=m-_;for(let b=c+1;b<=e.endLineNumber;b++){const C=i.getLineContent(b),w=Zt(C),D=bo(w,o)+v,L=_b(D,o,a);L!==w&&l.push({range:new x(b,1,b,w.length+1),text:L})}}}}if(l.length>0){this.editor.pushUndoStop();const g=new SAe(l,this.editor.getSelection());this.editor.executeCommand(\"autoIndentOnPaste\",g),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.tokenization.forceTokenization(t);const i=e.getLineFirstNonWhitespaceColumn(t);if(i===0)return!0;const n=e.tokenization.getLineTokens(t);if(n.getCount()>0){const o=n.findTokenIndexAtOffset(i);if(o>=0&&n.getStandardTokenType(o)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};KC.ID=\"editor.contrib.autoIndentOnPaste\";KC=bAe([CAe(1,Yt)],KC);function AG(s,e,t,i){if(s.getLineCount()===1&&s.getLineMaxColumn(1)===1)return;let n=\"\";for(let r=0;r<t;r++)n+=\" \";const o=new RegExp(n,\"gi\");for(let r=1,a=s.getLineCount();r<=a;r++){let l=s.getLineFirstNonWhitespaceColumn(r);if(l===0&&(l=s.getLineMaxColumn(r)),l===1)continue;const d=new x(r,1,r,l),c=s.getValueInRange(d),u=i?c.replace(/\\t/ig,n):c.replace(o,\"\t\");e.addEditOperation(d,u)}}class DAe{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),AG(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class LAe{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),AG(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}kt(KC.ID,KC,2);te(Vk);te(zk);te(Uk);te($k);te(jk);te(Kk);te(wAe);te(yAe);kt(jh.ID,jh,1);ag.register(pL);class xAe{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new we(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new we(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}var kAe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},EAe=function(s,e){return function(t,i){e(t,i,s)}},fS;let Gh=fS=class{static get(e){return e.getContribution(fS.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var i;(i=this.currentRequest)===null||i===void 0||i.cancel();const n=this.editor.getSelection(),o=this.editor.getModel();if(!o||!n)return;let r=n;if(r.startLineNumber!==r.endLineNumber)return;const a=new MK(this.editor,5),l=o.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=Dn(d=>this.editorWorkerService.navigateValueSet(l,r,t)),this.currentRequest.then(d=>{var c;if(!d||!d.range||!d.value||!a.validate(this.editor))return;const u=x.lift(d.range);let h=d.range;const g=d.value.length-(r.endColumn-r.startColumn);h={startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.startColumn+d.value.length},g>1&&(r=new we(r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn+g-1));const f=new xAe(u,r,d.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,f),this.editor.pushUndoStop(),this.decorations.set([{range:h,options:fS.DECORATION}]),(c=this.decorationRemover)===null||c===void 0||c.cancel(),this.decorationRemover=xh(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(Xe)}).catch(Xe)):Promise.resolve(void 0)}};Gh.ID=\"editor.contrib.inPlaceReplaceController\";Gh.DECORATION=Ye.register({description:\"in-place-replace\",className:\"valueSetReplacement\"});Gh=fS=kAe([EAe(1,jr)],Gh);class IAe extends me{constructor(){super({id:\"editor.action.inPlaceReplace.up\",label:p(\"InPlaceReplaceAction.previous.label\",\"Replace with Previous Value\"),alias:\"Replace with Previous Value\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:3159,weight:100}})}run(e,t){const i=Gh.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}class TAe extends me{constructor(){super({id:\"editor.action.inPlaceReplace.down\",label:p(\"InPlaceReplaceAction.next.label\",\"Replace with Next Value\"),alias:\"Replace with Next Value\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:3161,weight:100}})}run(e,t){const i=Gh.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}kt(Gh.ID,Gh,4);te(IAe);te(TAe);class NAe extends me{constructor(){super({id:\"expandLineSelection\",label:p(\"expandLineSelection\",\"Expand Line Selection\"),alias:\"Expand Line Selection\",precondition:void 0,kbOpts:{weight:0,kbExpr:T.textInputFocus,primary:2090}})}run(e,t,i){if(i=i||{},!t.hasModel())return;const n=t._getViewModel();n.model.pushStackElement(),n.setCursorStates(i.source,3,On.expandLineSelection(n,n.getCursorStates())),n.revealAllCursors(i.source,!0)}}te(NAe);class AAe{constructor(e,t,i){this._selection=e,this._cursors=t,this._selectionId=null,this._trimInRegexesAndStrings=i}getEditOperations(e,t){const i=MAe(e,this._cursors,this._trimInRegexesAndStrings);for(let n=0,o=i.length;n<o;n++){const r=i[n];t.addEditOperation(r.range,r.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}function MAe(s,e,t){e.sort((a,l)=>a.lineNumber===l.lineNumber?a.column-l.column:a.lineNumber-l.lineNumber);for(let a=e.length-2;a>=0;a--)e[a].lineNumber===e[a+1].lineNumber&&e.splice(a,1);const i=[];let n=0,o=0;const r=e.length;for(let a=1,l=s.getLineCount();a<=l;a++){const d=s.getLineContent(a),c=d.length+1;let u=0;if(o<r&&e[o].lineNumber===a&&(u=e[o].column,o++,u===c)||d.length===0)continue;const h=Ya(d);let g=0;if(h===-1)g=1;else if(h!==d.length-1)g=h+2;else continue;if(!t){if(!s.tokenization.hasAccurateTokensForLine(a))continue;const f=s.tokenization.getLineTokens(a),m=f.getStandardTokenType(f.findTokenIndexAtOffset(g));if(m===2||m===3)continue}g=Math.max(u,g),i[n++]=pi.delete(new x(a,g,a,c))}return i}class MG{constructor(e,t,i){this._selection=e,this._isCopyingDown=t,this._noop=i||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let i=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,i.startLineNumber<i.endLineNumber&&i.endColumn===1&&(this._endLineNumberDelta=1,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const n=[];for(let r=i.startLineNumber;r<=i.endLineNumber;r++)n.push(e.getLineContent(r));const o=n.join(`\n`);o===\"\"&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?t.addEditOperation(new x(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber+1,1),i.endLineNumber===e.getLineCount()?\"\":`\n`):this._isCopyingDown?t.addEditOperation(new x(i.startLineNumber,1,i.startLineNumber,1),o+`\n`):t.addEditOperation(new x(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),`\n`+o),this._selectionId=t.trackSelection(i),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let n=i.startLineNumber,o=i.startColumn,r=i.endLineNumber,a=i.endColumn;this._startLineNumberDelta!==0&&(n=n+this._startLineNumberDelta,o=1),this._endLineNumberDelta!==0&&(r=r+this._endLineNumberDelta,a=1),i=we.createWithDirection(n,o,r,a,this._selectionDirection)}return i}}var RAe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},PAe=function(s,e){return function(t,i){e(t,i,s)}};let MR=class{constructor(e,t,i,n){this._languageConfigurationService=n,this._selection=e,this._isMovingDown=t,this._autoIndent=i,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(e,t){const i=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===i){this._selectionId=t.trackSelection(this._selection);return}if(!this._isMovingDown&&this._selection.startLineNumber===1){this._selectionId=t.trackSelection(this._selection);return}this._moveEndPositionDown=!1;let n=this._selection;n.startLineNumber<n.endLineNumber&&n.endColumn===1&&(this._moveEndPositionDown=!0,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));const{tabSize:o,indentSize:r,insertSpaces:a}=e.getOptions(),l=this.buildIndentConverter(o,r,a),d={tokenization:{getLineTokens:c=>e.tokenization.getLineTokens(c),getLanguageId:()=>e.getLanguageId(),getLanguageIdAtPosition:(c,u)=>e.getLanguageIdAtPosition(c,u)},getLineContent:null};if(n.startLineNumber===n.endLineNumber&&e.getLineMaxColumn(n.startLineNumber)===1){const c=n.startLineNumber,u=this._isMovingDown?c+1:c-1;e.getLineMaxColumn(u)===1?t.addEditOperation(new x(1,1,1,1),null):(t.addEditOperation(new x(c,1,c,1),e.getLineContent(u)),t.addEditOperation(new x(u,1,u,e.getLineMaxColumn(u)),null)),n=new we(u,1,u,1)}else{let c,u;if(this._isMovingDown){c=n.endLineNumber+1,u=e.getLineContent(c),t.addEditOperation(new x(c-1,e.getLineMaxColumn(c-1),c,e.getLineMaxColumn(c)),null);let h=u;if(this.shouldAutoIndent(e,n)){const g=this.matchEnterRule(e,l,o,c,n.startLineNumber-1);if(g!==null){const m=Zt(e.getLineContent(c)),_=g+bo(m,o);h=_b(_,o,a)+this.trimStart(u)}else{d.getLineContent=_=>_===n.startLineNumber?e.getLineContent(c):e.getLineContent(_);const m=qv(this._autoIndent,d,e.getLanguageIdAtPosition(c,1),n.startLineNumber,l,this._languageConfigurationService);if(m!==null){const _=Zt(e.getLineContent(c)),v=bo(m,o),b=bo(_,o);v!==b&&(h=_b(v,o,a)+this.trimStart(u))}}t.addEditOperation(new x(n.startLineNumber,1,n.startLineNumber,1),h+`\n`);const f=this.matchEnterRuleMovingDown(e,l,o,n.startLineNumber,c,h);if(f!==null)f!==0&&this.getIndentEditsOfMovingBlock(e,t,n,o,a,f);else{d.getLineContent=_=>_===n.startLineNumber?h:_>=n.startLineNumber+1&&_<=n.endLineNumber+1?e.getLineContent(_-1):e.getLineContent(_);const m=qv(this._autoIndent,d,e.getLanguageIdAtPosition(c,1),n.startLineNumber+1,l,this._languageConfigurationService);if(m!==null){const _=Zt(e.getLineContent(n.startLineNumber)),v=bo(m,o),b=bo(_,o);if(v!==b){const C=v-b;this.getIndentEditsOfMovingBlock(e,t,n,o,a,C)}}}}else t.addEditOperation(new x(n.startLineNumber,1,n.startLineNumber,1),h+`\n`)}else if(c=n.startLineNumber-1,u=e.getLineContent(c),t.addEditOperation(new x(c,1,c+1,1),null),t.addEditOperation(new x(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),`\n`+u),this.shouldAutoIndent(e,n)){d.getLineContent=g=>g===c?e.getLineContent(n.startLineNumber):e.getLineContent(g);const h=this.matchEnterRule(e,l,o,n.startLineNumber,n.startLineNumber-2);if(h!==null)h!==0&&this.getIndentEditsOfMovingBlock(e,t,n,o,a,h);else{const g=qv(this._autoIndent,d,e.getLanguageIdAtPosition(n.startLineNumber,1),c,l,this._languageConfigurationService);if(g!==null){const f=Zt(e.getLineContent(n.startLineNumber)),m=bo(g,o),_=bo(f,o);if(m!==_){const v=m-_;this.getIndentEditsOfMovingBlock(e,t,n,o,a,v)}}}}}this._selectionId=t.trackSelection(n)}buildIndentConverter(e,t,i){return{shiftIndent:n=>xr.shiftIndent(n,n.length+1,e,t,i),unshiftIndent:n=>xr.unshiftIndent(n,n.length+1,e,t,i)}}parseEnterResult(e,t,i,n,o){if(o){let r=o.indentation;o.indentAction===Qi.None||o.indentAction===Qi.Indent?r=o.indentation+o.appendText:o.indentAction===Qi.IndentOutdent?r=o.indentation:o.indentAction===Qi.Outdent&&(r=t.unshiftIndent(o.indentation)+o.appendText);const a=e.getLineContent(n);if(this.trimStart(a).indexOf(this.trimStart(r))>=0){const l=Zt(e.getLineContent(n));let d=Zt(r);const c=e$(e,n,this._languageConfigurationService);c!==null&&c&2&&(d=t.unshiftIndent(d));const u=bo(d,i),h=bo(l,i);return u-h}}return null}matchEnterRuleMovingDown(e,t,i,n,o,r){if(Ya(r)>=0){const a=e.getLineMaxColumn(o),l=Fm(this._autoIndent,e,new x(o,a,o,a),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,l)}else{let a=n-1;for(;a>=1;){const c=e.getLineContent(a);if(Ya(c)>=0)break;a--}if(a<1||n>e.getLineCount())return null;const l=e.getLineMaxColumn(a),d=Fm(this._autoIndent,e,new x(a,l,a,l),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,d)}}matchEnterRule(e,t,i,n,o,r){let a=o;for(;a>=1;){let c;if(a===o&&r!==void 0?c=r:c=e.getLineContent(a),Ya(c)>=0)break;a--}if(a<1||n>e.getLineCount())return null;const l=e.getLineMaxColumn(a),d=Fm(this._autoIndent,e,new x(a,l,a,l),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,d)}trimStart(e){return e.replace(/^\\s+/,\"\")}shouldAutoIndent(e,t){if(this._autoIndent<4||!e.tokenization.isCheapToTokenize(t.startLineNumber))return!1;const i=e.getLanguageIdAtPosition(t.startLineNumber,1),n=e.getLanguageIdAtPosition(t.endLineNumber,1);return!(i!==n||this._languageConfigurationService.getLanguageConfiguration(i).indentRulesSupport===null)}getIndentEditsOfMovingBlock(e,t,i,n,o,r){for(let a=i.startLineNumber;a<=i.endLineNumber;a++){const l=e.getLineContent(a),d=Zt(l),u=bo(d,n)+r,h=_b(u,n,o);h!==d&&(t.addEditOperation(new x(a,1,a,d.length+1),h),a===i.endLineNumber&&i.endColumn<=d.length+1&&h===\"\"&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&i.startLineNumber<i.endLineNumber&&(i=i.setEndPosition(i.endLineNumber,2)),i}};MR=RAe([PAe(3,Yt)],MR);class ph{static getCollator(){return ph._COLLATOR||(ph._COLLATOR=new Intl.Collator),ph._COLLATOR}constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}getEditOperations(e,t){const i=FAe(e,this.selection,this.descending);i&&t.addEditOperation(i.range,i.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,i){if(e===null)return!1;const n=RG(e,t,i);if(!n)return!1;for(let o=0,r=n.before.length;o<r;o++)if(n.before[o]!==n.after[o])return!0;return!1}}ph._COLLATOR=null;function RG(s,e,t){const i=e.startLineNumber;let n=e.endLineNumber;if(e.endColumn===1&&n--,i>=n)return null;const o=[];for(let a=i;a<=n;a++)o.push(s.getLineContent(a));let r=o.slice(0);return r.sort(ph.getCollator().compare),t===!0&&(r=r.reverse()),{startLineNumber:i,endLineNumber:n,before:o,after:r}}function FAe(s,e,t){const i=RG(s,e,t);return i?pi.replace(new x(i.startLineNumber,1,i.endLineNumber,s.getLineMaxColumn(i.endLineNumber)),i.after.join(`\n`)):null}class PG extends me{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;const i=t.getSelections().map((r,a)=>({selection:r,index:a,ignore:!1}));i.sort((r,a)=>x.compareRangesUsingStarts(r.selection,a.selection));let n=i[0];for(let r=1;r<i.length;r++){const a=i[r];n.selection.endLineNumber===a.selection.startLineNumber&&(n.index<a.index?a.ignore=!0:(n.ignore=!0,n=a))}const o=[];for(const r of i)o.push(new MG(r.selection,this.down,r.ignore));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class OAe extends PG{constructor(){super(!1,{id:\"editor.action.copyLinesUpAction\",label:p(\"lines.copyUp\",\"Copy Line Up\"),alias:\"Copy Line Up\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"2_line\",title:p({},\"&&Copy Line Up\"),order:1}})}}class BAe extends PG{constructor(){super(!0,{id:\"editor.action.copyLinesDownAction\",label:p(\"lines.copyDown\",\"Copy Line Down\"),alias:\"Copy Line Down\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"2_line\",title:p({},\"Co&&py Line Down\"),order:2}})}}class WAe extends me{constructor(){super({id:\"editor.action.duplicateSelection\",label:p(\"duplicateSelection\",\"Duplicate Selection\"),alias:\"Duplicate Selection\",precondition:T.writable,menuOpts:{menuId:E.MenubarSelectionMenu,group:\"2_line\",title:p({},\"&&Duplicate Selection\"),order:5}})}run(e,t,i){if(!t.hasModel())return;const n=[],o=t.getSelections(),r=t.getModel();for(const a of o)if(a.isEmpty())n.push(new MG(a,!0));else{const l=new we(a.endLineNumber,a.endColumn,a.endLineNumber,a.endColumn);n.push(new Afe(l,r.getValueInRange(a)))}t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class FG extends me{constructor(e,t){super(t),this.down=e}run(e,t){const i=e.get(Yt),n=[],o=t.getSelections()||[],r=t.getOption(12);for(const a of o)n.push(new MR(a,this.down,r,i));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class HAe extends FG{constructor(){super(!1,{id:\"editor.action.moveLinesUpAction\",label:p(\"lines.moveUp\",\"Move Line Up\"),alias:\"Move Line Up\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"2_line\",title:p({},\"Mo&&ve Line Up\"),order:3}})}}class VAe extends FG{constructor(){super(!0,{id:\"editor.action.moveLinesDownAction\",label:p(\"lines.moveDown\",\"Move Line Down\"),alias:\"Move Line Down\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"2_line\",title:p({},\"Move &&Line Down\"),order:4}})}}class OG extends me{constructor(e,t){super(t),this.descending=e}run(e,t){if(!t.hasModel())return;const i=t.getModel();let n=t.getSelections();n.length===1&&n[0].isEmpty()&&(n=[new we(1,1,i.getLineCount(),i.getLineMaxColumn(i.getLineCount()))]);for(const r of n)if(!ph.canRun(t.getModel(),r,this.descending))return;const o=[];for(let r=0,a=n.length;r<a;r++)o[r]=new ph(n[r],this.descending);t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class zAe extends OG{constructor(){super(!1,{id:\"editor.action.sortLinesAscending\",label:p(\"lines.sortAscending\",\"Sort Lines Ascending\"),alias:\"Sort Lines Ascending\",precondition:T.writable})}}class UAe extends OG{constructor(){super(!0,{id:\"editor.action.sortLinesDescending\",label:p(\"lines.sortDescending\",\"Sort Lines Descending\"),alias:\"Sort Lines Descending\",precondition:T.writable})}}class $Ae extends me{constructor(){super({id:\"editor.action.removeDuplicateLines\",label:p(\"lines.deleteDuplicates\",\"Delete Duplicate Lines\"),alias:\"Delete Duplicate Lines\",precondition:T.writable})}run(e,t){if(!t.hasModel())return;const i=t.getModel();if(i.getLineCount()===1&&i.getLineMaxColumn(1)===1)return;const n=[],o=[];let r=0,a=!0,l=t.getSelections();l.length===1&&l[0].isEmpty()&&(l=[new we(1,1,i.getLineCount(),i.getLineMaxColumn(i.getLineCount()))],a=!1);for(const d of l){const c=new Set,u=[];for(let m=d.startLineNumber;m<=d.endLineNumber;m++){const _=i.getLineContent(m);c.has(_)||(u.push(_),c.add(_))}const h=new we(d.startLineNumber,1,d.endLineNumber,i.getLineMaxColumn(d.endLineNumber)),g=d.startLineNumber-r,f=new we(g,1,g+u.length-1,u[u.length-1].length);n.push(pi.replace(h,u.join(`\n`))),o.push(f),r+=d.endLineNumber-d.startLineNumber+1-u.length}t.pushUndoStop(),t.executeEdits(this.id,n,a?o:void 0),t.pushUndoStop()}}class qk extends me{constructor(){super({id:qk.ID,label:p(\"lines.trimTrailingWhitespace\",\"Trim Trailing Whitespace\"),alias:\"Trim Trailing Whitespace\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:an(2089,2102),weight:100}})}run(e,t,i){let n=[];i.reason===\"auto-save\"&&(n=(t.getSelections()||[]).map(c=>new W(c.positionLineNumber,c.positionColumn)));const o=t.getSelection();if(o===null)return;const r=e.get(rt),a=t.getModel(),l=r.getValue(\"files.trimTrailingWhitespaceInRegexAndStrings\",{overrideIdentifier:a==null?void 0:a.getLanguageId(),resource:a==null?void 0:a.uri}),d=new AAe(o,n,l);t.pushUndoStop(),t.executeCommands(this.id,[d]),t.pushUndoStop()}}qk.ID=\"editor.action.trimTrailingWhitespace\";class jAe extends me{constructor(){super({id:\"editor.action.deleteLines\",label:p(\"lines.delete\",\"Delete Line\"),alias:\"Delete Line\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;const i=this._getLinesToRemove(t),n=t.getModel();if(n.getLineCount()===1&&n.getLineMaxColumn(1)===1)return;let o=0;const r=[],a=[];for(let l=0,d=i.length;l<d;l++){const c=i[l];let u=c.startLineNumber,h=c.endLineNumber,g=1,f=n.getLineMaxColumn(h);h<n.getLineCount()?(h+=1,f=1):u>1&&(u-=1,g=n.getLineMaxColumn(u)),r.push(pi.replace(new we(u,g,h,f),\"\")),a.push(new we(u-o,c.positionColumn,u-o,c.positionColumn)),o+=c.endLineNumber-c.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,a),t.pushUndoStop()}_getLinesToRemove(e){const t=e.getSelections().map(o=>{let r=o.endLineNumber;return o.startLineNumber<o.endLineNumber&&o.endColumn===1&&(r-=1),{startLineNumber:o.startLineNumber,selectionStartColumn:o.selectionStartColumn,endLineNumber:r,positionColumn:o.positionColumn}});t.sort((o,r)=>o.startLineNumber===r.startLineNumber?o.endLineNumber-r.endLineNumber:o.startLineNumber-r.startLineNumber);const i=[];let n=t[0];for(let o=1;o<t.length;o++)n.endLineNumber+1>=t[o].startLineNumber?n.endLineNumber=t[o].endLineNumber:(i.push(n),n=t[o]);return i.push(n),i}}class KAe extends me{constructor(){super({id:\"editor.action.indentLines\",label:p(\"lines.indent\",\"Indent Line\"),alias:\"Indent Line\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:2142,weight:100}})}run(e,t){const i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,bi.indent(i.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class qAe extends me{constructor(){super({id:\"editor.action.outdentLines\",label:p(\"lines.outdent\",\"Outdent Line\"),alias:\"Outdent Line\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:2140,weight:100}})}run(e,t){Om.Outdent.runEditorCommand(e,t,null)}}class GAe extends me{constructor(){super({id:\"editor.action.insertLineBefore\",label:p(\"lines.insertBefore\",\"Insert Line Above\"),alias:\"Insert Line Above\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:3075,weight:100}})}run(e,t){const i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,bi.lineInsertBefore(i.cursorConfig,t.getModel(),t.getSelections())))}}class ZAe extends me{constructor(){super({id:\"editor.action.insertLineAfter\",label:p(\"lines.insertAfter\",\"Insert Line Below\"),alias:\"Insert Line Below\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:2051,weight:100}})}run(e,t){const i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,bi.lineInsertAfter(i.cursorConfig,t.getModel(),t.getSelections())))}}class BG extends me{run(e,t){if(!t.hasModel())return;const i=t.getSelection(),n=this._getRangesToDelete(t),o=[];for(let l=0,d=n.length-1;l<d;l++){const c=n[l],u=n[l+1];x.intersectRanges(c,u)===null?o.push(c):n[l+1]=x.plusRange(c,u)}o.push(n[n.length-1]);const r=this._getEndCursorState(i,o),a=o.map(l=>pi.replace(l,\"\"));t.pushUndoStop(),t.executeEdits(this.id,a,r),t.pushUndoStop()}}class XAe extends BG{constructor(){super({id:\"deleteAllLeft\",label:p(\"lines.deleteAllLeft\",\"Delete All Left\"),alias:\"Delete All Left\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let i=null;const n=[];let o=0;return t.forEach(r=>{let a;if(r.endColumn===1&&o>0){const l=r.startLineNumber-o;a=new we(l,r.startColumn,l,r.startColumn)}else a=new we(r.startLineNumber,r.startColumn,r.startLineNumber,r.startColumn);o+=r.endLineNumber-r.startLineNumber,r.intersectRanges(e)?i=a:n.push(a)}),i&&n.unshift(i),n}_getRangesToDelete(e){const t=e.getSelections();if(t===null)return[];let i=t;const n=e.getModel();return n===null?[]:(i.sort(x.compareRangesUsingStarts),i=i.map(o=>{if(o.isEmpty())if(o.startColumn===1){const r=Math.max(1,o.startLineNumber-1),a=o.startLineNumber===1?1:n.getLineLength(r)+1;return new x(r,a,o.startLineNumber,1)}else return new x(o.startLineNumber,1,o.startLineNumber,o.startColumn);else return new x(o.startLineNumber,1,o.endLineNumber,o.endColumn)}),i)}}class YAe extends BG{constructor(){super({id:\"deleteAllRight\",label:p(\"lines.deleteAllRight\",\"Delete All Right\"),alias:\"Delete All Right\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let i=null;const n=[];for(let o=0,r=t.length,a=0;o<r;o++){const l=t[o],d=new we(l.startLineNumber-a,l.startColumn,l.startLineNumber-a,l.startColumn);l.intersectRanges(e)?i=d:n.push(d)}return i&&n.unshift(i),n}_getRangesToDelete(e){const t=e.getModel();if(t===null)return[];const i=e.getSelections();if(i===null)return[];const n=i.map(o=>{if(o.isEmpty()){const r=t.getLineMaxColumn(o.startLineNumber);return o.startColumn===r?new x(o.startLineNumber,o.startColumn,o.startLineNumber+1,1):new x(o.startLineNumber,o.startColumn,o.startLineNumber,r)}return o});return n.sort(x.compareRangesUsingStarts),n}}class QAe extends me{constructor(){super({id:\"editor.action.joinLines\",label:p(\"lines.joinLines\",\"Join Lines\"),alias:\"Join Lines\",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){const i=t.getSelections();if(i===null)return;let n=t.getSelection();if(n===null)return;i.sort(x.compareRangesUsingStarts);const o=[],r=i.reduce((h,g)=>h.isEmpty()?h.endLineNumber===g.startLineNumber?(n.equalsSelection(h)&&(n=g),g):g.startLineNumber>h.endLineNumber+1?(o.push(h),g):new we(h.startLineNumber,h.startColumn,g.endLineNumber,g.endColumn):g.startLineNumber>h.endLineNumber?(o.push(h),g):new we(h.startLineNumber,h.startColumn,g.endLineNumber,g.endColumn));o.push(r);const a=t.getModel();if(a===null)return;const l=[],d=[];let c=n,u=0;for(let h=0,g=o.length;h<g;h++){const f=o[h],m=f.startLineNumber,_=1;let v=0,b,C;const w=a.getLineLength(f.endLineNumber)-f.endColumn;if(f.isEmpty()||f.startLineNumber===f.endLineNumber){const L=f.getStartPosition();L.lineNumber<a.getLineCount()?(b=m+1,C=a.getLineMaxColumn(b)):(b=L.lineNumber,C=a.getLineMaxColumn(L.lineNumber))}else b=f.endLineNumber,C=a.getLineMaxColumn(b);let y=a.getLineContent(m);for(let L=m+1;L<=b;L++){const k=a.getLineContent(L),I=a.getLineFirstNonWhitespaceColumn(L);if(I>=1){let O=!0;y===\"\"&&(O=!1),O&&(y.charAt(y.length-1)===\" \"||y.charAt(y.length-1)===\"\t\")&&(O=!1,y=y.replace(/[\\s\\uFEFF\\xA0]+$/g,\" \"));const R=k.substr(I-1);y+=(O?\" \":\"\")+R,O?v=R.length+1:v=R.length}else v=0}const D=new x(m,_,b,C);if(!D.isEmpty()){let L;f.isEmpty()?(l.push(pi.replace(D,y)),L=new we(D.startLineNumber-u,y.length-v+1,m-u,y.length-v+1)):f.startLineNumber===f.endLineNumber?(l.push(pi.replace(D,y)),L=new we(f.startLineNumber-u,f.startColumn,f.endLineNumber-u,f.endColumn)):(l.push(pi.replace(D,y)),L=new we(f.startLineNumber-u,f.startColumn,f.startLineNumber-u,y.length-w)),x.intersectRanges(D,n)!==null?c=L:d.push(L)}u+=D.endLineNumber-D.startLineNumber}d.unshift(c),t.pushUndoStop(),t.executeEdits(this.id,l,d),t.pushUndoStop()}}class JAe extends me{constructor(){super({id:\"editor.action.transpose\",label:p(\"editor.transpose\",\"Transpose Characters around the Cursor\"),alias:\"Transpose Characters around the Cursor\",precondition:T.writable})}run(e,t){const i=t.getSelections();if(i===null)return;const n=t.getModel();if(n===null)return;const o=[];for(let r=0,a=i.length;r<a;r++){const l=i[r];if(!l.isEmpty())continue;const d=l.getStartPosition(),c=n.getLineMaxColumn(d.lineNumber);if(d.column>=c){if(d.lineNumber===n.getLineCount())continue;const u=new x(d.lineNumber,Math.max(1,d.column-1),d.lineNumber+1,1),h=n.getValueInRange(u).split(\"\").reverse().join(\"\");o.push(new qn(new we(d.lineNumber,Math.max(1,d.column-1),d.lineNumber+1,1),h))}else{const u=new x(d.lineNumber,Math.max(1,d.column-1),d.lineNumber,d.column+1),h=n.getValueInRange(u).split(\"\").reverse().join(\"\");o.push(new zF(u,h,new we(d.lineNumber,d.column+1,d.lineNumber,d.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class Cp extends me{run(e,t){const i=t.getSelections();if(i===null)return;const n=t.getModel();if(n===null)return;const o=t.getOption(131),r=[];for(const a of i)if(a.isEmpty()){const l=a.getStartPosition(),d=t.getConfiguredWordAtPosition(l);if(!d)continue;const c=new x(l.lineNumber,d.startColumn,l.lineNumber,d.endColumn),u=n.getValueInRange(c);r.push(pi.replace(c,this._modifyText(u,o)))}else{const l=n.getValueInRange(a);r.push(pi.replace(a,this._modifyText(l,o)))}t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop()}}class e2e extends Cp{constructor(){super({id:\"editor.action.transformToUppercase\",label:p(\"editor.transformToUppercase\",\"Transform to Uppercase\"),alias:\"Transform to Uppercase\",precondition:T.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}class t2e extends Cp{constructor(){super({id:\"editor.action.transformToLowercase\",label:p(\"editor.transformToLowercase\",\"Transform to Lowercase\"),alias:\"Transform to Lowercase\",precondition:T.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}class du{constructor(e,t){this._pattern=e,this._flags=t,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch{}}return this._actual}isSupported(){return this.get()!==null}}class qC extends Cp{constructor(){super({id:\"editor.action.transformToTitlecase\",label:p(\"editor.transformToTitlecase\",\"Transform to Title Case\"),alias:\"Transform to Title Case\",precondition:T.writable})}_modifyText(e,t){const i=qC.titleBoundary.get();return i?e.toLocaleLowerCase().replace(i,n=>n.toLocaleUpperCase()):e}}qC.titleBoundary=new du(\"(^|[^\\\\p{L}\\\\p{N}']|((^|\\\\P{L})'))\\\\p{L}\",\"gmu\");class mh extends Cp{constructor(){super({id:\"editor.action.transformToSnakecase\",label:p(\"editor.transformToSnakecase\",\"Transform to Snake Case\"),alias:\"Transform to Snake Case\",precondition:T.writable})}_modifyText(e,t){const i=mh.caseBoundary.get(),n=mh.singleLetters.get();return!i||!n?e:e.replace(i,\"$1_$2\").replace(n,\"$1_$2$3\").toLocaleLowerCase()}}mh.caseBoundary=new du(\"(\\\\p{Ll})(\\\\p{Lu})\",\"gmu\");mh.singleLetters=new du(\"(\\\\p{Lu}|\\\\p{N})(\\\\p{Lu})(\\\\p{Ll})\",\"gmu\");class GC extends Cp{constructor(){super({id:\"editor.action.transformToCamelcase\",label:p(\"editor.transformToCamelcase\",\"Transform to Camel Case\"),alias:\"Transform to Camel Case\",precondition:T.writable})}_modifyText(e,t){const i=GC.wordBoundary.get();if(!i)return e;const n=e.split(i);return n.shift()+n.map(r=>r.substring(0,1).toLocaleUpperCase()+r.substring(1)).join(\"\")}}GC.wordBoundary=new du(\"[_\\\\s-]\",\"gm\");class $f extends Cp{constructor(){super({id:\"editor.action.transformToPascalcase\",label:p(\"editor.transformToPascalcase\",\"Transform to Pascal Case\"),alias:\"Transform to Pascal Case\",precondition:T.writable})}_modifyText(e,t){const i=$f.wordBoundary.get(),n=$f.wordBoundaryToMaintain.get();return!i||!n?e:e.split(n).map(a=>a.split(i)).flat().map(a=>a.substring(0,1).toLocaleUpperCase()+a.substring(1)).join(\"\")}}$f.wordBoundary=new du(\"[_\\\\s-]\",\"gm\");$f.wordBoundaryToMaintain=new du(\"(?<=\\\\.)\",\"gm\");class Rc extends Cp{static isSupported(){return[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(t=>t.isSupported())}constructor(){super({id:\"editor.action.transformToKebabcase\",label:p(\"editor.transformToKebabcase\",\"Transform to Kebab Case\"),alias:\"Transform to Kebab Case\",precondition:T.writable})}_modifyText(e,t){const i=Rc.caseBoundary.get(),n=Rc.singleLetters.get(),o=Rc.underscoreBoundary.get();return!i||!n||!o?e:e.replace(o,\"$1-$3\").replace(i,\"$1-$2\").replace(n,\"$1-$2\").toLocaleLowerCase()}}Rc.caseBoundary=new du(\"(\\\\p{Ll})(\\\\p{Lu})\",\"gmu\");Rc.singleLetters=new du(\"(\\\\p{Lu}|\\\\p{N})(\\\\p{Lu}\\\\p{Ll})\",\"gmu\");Rc.underscoreBoundary=new du(\"(\\\\S)(_)(\\\\S)\",\"gm\");te(OAe);te(BAe);te(WAe);te(HAe);te(VAe);te(zAe);te(UAe);te($Ae);te(qk);te(jAe);te(KAe);te(qAe);te(GAe);te(ZAe);te(XAe);te(YAe);te(QAe);te(JAe);te(e2e);te(t2e);mh.caseBoundary.isSupported()&&mh.singleLetters.isSupported()&&te(mh);GC.wordBoundary.isSupported()&&te(GC);$f.wordBoundary.isSupported()&&te($f);qC.titleBoundary.isSupported()&&te(qC);Rc.isSupported()&&te(Rc);var i2e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ly=function(s,e){return function(t,i){e(t,i,s)}},pS;const WG=new ue(\"LinkedEditingInputVisible\",!1),n2e=\"linked-editing-decoration\";let Zh=pS=class extends H{static get(e){return e.getContribution(pS.ID)}constructor(e,t,i,n,o){super(),this.languageConfigurationService=n,this._syncRangesToken=0,this._localToDispose=this._register(new Y),this._editor=e,this._providers=i.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=WG.bindTo(t),this._debounceInformation=o.for(this._providers,\"Linked Editing\",{max:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new Y),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequestCts=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(r=>{(r.hasChanged(70)||r.hasChanged(93))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}reinitialize(e){const t=this._editor.getModel(),i=t!==null&&(this._editor.getOption(70)||this._editor.getOption(93))&&this._providers.has(t);if(i===this._enabled&&!e||(this._enabled=i,this.clearRanges(),this._localToDispose.clear(),!i||t===null))return;this._localToDispose.add(le.runAndSubscribe(t.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(t.getLanguageId()).getWordDefinition()}));const n=new _a(this._debounceInformation.get(t)),o=()=>{var l;this._rangeUpdateTriggerPromise=n.trigger(()=>this.updateRanges(),(l=this._debounceDuration)!==null&&l!==void 0?l:this._debounceInformation.get(t))},r=new _a(0),a=l=>{this._rangeSyncTriggerPromise=r.trigger(()=>this._syncRanges(l))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{o()})),this._localToDispose.add(this._editor.onDidChangeModelContent(l=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const d=this._currentDecorations.getRange(0);if(d&&l.changes.every(c=>d.intersectRanges(c.range))){a(this._syncRangesToken);return}}o()})),this._localToDispose.add({dispose:()=>{n.dispose(),r.dispose()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._syncRangesToken||this._currentDecorations.length===0)return;const t=this._editor.getModel(),i=this._currentDecorations.getRange(0);if(!i||i.startLineNumber!==i.endLineNumber)return this.clearRanges();const n=t.getValueInRange(i);if(this._currentWordPattern){const r=n.match(this._currentWordPattern);if((r?r[0].length:0)!==n.length)return this.clearRanges()}const o=[];for(let r=1,a=this._currentDecorations.length;r<a;r++){const l=this._currentDecorations.getRange(r);if(l)if(l.startLineNumber!==l.endLineNumber)o.push({range:l,text:n});else{let d=t.getValueInRange(l),c=n,u=l.startColumn,h=l.endColumn;const g=Sh(d,c);u+=g,d=d.substr(g),c=c.substr(g);const f=BS(d,c);h-=f,d=d.substr(0,d.length-f),c=c.substr(0,c.length-f),(u!==h||c.length!==0)&&o.push({range:new x(l.startLineNumber,u,l.endLineNumber,h),text:c})}}if(o.length!==0)try{this._editor.popUndoStop(),this._ignoreChangeEvent=!0;const r=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits(\"linkedEditing\",o),this._editor._getViewModel().setPrevEditOperationType(r)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations.clear(),this._currentRequestCts&&(this._currentRequestCts.cancel(),this._currentRequestCts=null,this._currentRequestPosition=null)}async updateRanges(e=!1){if(!this._editor.hasModel()){this.clearRanges();return}const t=this._editor.getPosition();if(!this._enabled&&!e||this._editor.getSelections().length>1){this.clearRanges();return}const i=this._editor.getModel(),n=i.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===n){if(t.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){const r=this._currentDecorations.getRange(0);if(r&&r.containsPosition(t))return}}this.clearRanges(),this._currentRequestPosition=t,this._currentRequestModelVersion=n;const o=this._currentRequestCts=new Vi;try{const r=new Jn(!1),a=await HG(this._providers,i,t,o.token);if(this._debounceInformation.update(i,r.elapsed()),o!==this._currentRequestCts||(this._currentRequestCts=null,n!==i.getVersionId()))return;let l=[];a!=null&&a.ranges&&(l=a.ranges),this._currentWordPattern=(a==null?void 0:a.wordPattern)||this._languageWordPattern;let d=!1;for(let u=0,h=l.length;u<h;u++)if(x.containsPosition(l[u],t)){if(d=!0,u!==0){const g=l[u];l.splice(u,1),l.unshift(g)}break}if(!d){this.clearRanges();return}const c=l.map(u=>({range:u,options:pS.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(c),this._syncRangesToken++}catch(r){Id(r)||Xe(r),(this._currentRequestCts===o||!this._currentRequestCts)&&this.clearRanges()}}};Zh.ID=\"editor.contrib.linkedEditing\";Zh.DECORATION=Ye.register({description:\"linked-editing\",stickiness:0,className:n2e});Zh=pS=i2e([Ly(1,Be),Ly(2,Ce),Ly(3,Yt),Ly(4,Ur)],Zh);class s2e extends me{constructor(){super({id:\"editor.action.linkedEditing\",label:p(\"linkedEditing.label\",\"Start Linked Editing\"),alias:\"Start Linked Editing\",precondition:G.and(T.writable,T.hasRenameProvider),kbOpts:{kbExpr:T.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const i=e.get(xt),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return Ae.isUri(n)&&W.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(r=>{r&&(r.setPosition(o),r.invokeWithinContext(a=>(this.reportTelemetry(a,r),this.run(a,r))))},Xe):super.runCommand(e,t)}run(e,t){const i=Zh.get(t);return i?Promise.resolve(i.updateRanges(!0)):Promise.resolve()}}const o2e=mn.bindToContribution(Zh.get);de(new o2e({id:\"cancelLinkedEditingInput\",precondition:WG,handler:s=>s.clearRanges(),kbOpts:{kbExpr:T.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));function HG(s,e,t,i){const n=s.ordered(e);return sF(n.map(o=>async()=>{try{return await o.provideLinkedEditingRanges(e,t,i)}catch(r){Ai(r);return}}),o=>!!o&&rs(o==null?void 0:o.ranges))}N(\"editor.linkedEditingBackground\",{dark:$.fromHex(\"#f00\").transparent(.3),light:$.fromHex(\"#f00\").transparent(.3),hcDark:$.fromHex(\"#f00\").transparent(.3),hcLight:$.white},p(\"editorLinkedEditingBackground\",\"Background color when the editor auto renames on type.\"));Ad(\"_executeLinkedEditingProvider\",(s,e,t)=>{const{linkedEditingRangeProvider:i}=s.get(Ce);return HG(i,e,t,dt.None)});kt(Zh.ID,Zh,1);te(s2e);let r2e=class{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}async resolve(e){return this._link.url?this._link.url:typeof this._provider.resolveLink==\"function\"?Promise.resolve(this._provider.resolveLink(this._link,e)).then(t=>(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error(\"missing\")))):Promise.reject(new Error(\"missing\"))}};class xL{constructor(e){this._disposables=new Y;let t=[];for(const[i,n]of e){const o=i.links.map(r=>new r2e(r,n));t=xL._union(t,o),jL(i)&&this._disposables.add(i)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){const i=[];let n,o,r,a;for(n=0,r=0,o=e.length,a=t.length;n<o&&r<a;){const l=e[n],d=t[r];if(x.areIntersectingOrTouching(l.range,d.range)){n++;continue}x.compareRangesUsingStarts(l.range,d.range)<0?(i.push(l),n++):(i.push(d),r++)}for(;n<o;n++)i.push(e[n]);for(;r<a;r++)i.push(t[r]);return i}}function VG(s,e,t){const i=[],n=s.ordered(e).reverse().map((o,r)=>Promise.resolve(o.provideLinks(e,t)).then(a=>{a&&(i[r]=[a,o])},Ai));return Promise.all(n).then(()=>{const o=new xL(pd(i));return t.isCancellationRequested?(o.dispose(),new xL([])):o})}pt.registerCommand(\"_executeLinkProvider\",async(s,...e)=>{let[t,i]=e;yt(t instanceof Ae),typeof i!=\"number\"&&(i=0);const{linkProvider:n}=s.get(Ce),o=s.get(_i).getModel(t);if(!o)return[];const r=await VG(n,o,dt.None);if(!r)return[];for(let l=0;l<Math.min(i,r.links.length);l++)await r.links[l].resolve(dt.None);const a=r.links.slice(0);return r.dispose(),a});var a2e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},xy=function(s,e){return function(t,i){e(t,i,s)}},RR;let K_=RR=class extends H{static get(e){return e.getContribution(RR.ID)}constructor(e,t,i,n,o){super(),this.editor=e,this.openerService=t,this.notificationService=i,this.languageFeaturesService=n,this.providers=this.languageFeaturesService.linkProvider,this.debounceInformation=o.for(this.providers,\"Links\",{min:1e3,max:4e3}),this.computeLinks=this._register(new Wt(()=>this.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;const r=this._register(new vk(e));this._register(r.onMouseMoveOrRelevantKeyDown(([a,l])=>{this._onEditorMouseMove(a,l)})),this._register(r.onExecute(a=>{this.onEditorMouseUp(a)})),this._register(r.onCancel(a=>{this.cleanUpActiveLinkDecoration()})),this._register(e.onDidChangeConfiguration(a=>{a.hasChanged(71)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(e.onDidChangeModelContent(a=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(e.onDidChangeModel(a=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(e.onDidChangeModelLanguage(a=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(a=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}async computeLinksNow(){if(!this.editor.hasModel()||!this.editor.getOption(71))return;const e=this.editor.getModel();if(!e.isTooLargeForSyncing()&&this.providers.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=Dn(t=>VG(this.providers,e,t));try{const t=new Jn(!1);if(this.activeLinksList=await this.computePromise,this.debounceInformation.update(e,t.elapsed()),e.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(t){Xe(t)}finally{this.computePromise=null}}}updateDecorations(e){const t=this.editor.getOption(78)===\"altKey\",i=[],n=Object.keys(this.currentOccurrences);for(const r of n){const a=this.currentOccurrences[r];i.push(a.decorationId)}const o=[];if(e)for(const r of e)o.push(Xm.decoration(r,t));this.editor.changeDecorations(r=>{const a=r.deltaDecorations(i,o);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let l=0,d=a.length;l<d;l++){const c=new Xm(e[l],a[l]);this.currentOccurrences[c.decorationId]=c}})}_onEditorMouseMove(e,t){const i=this.editor.getOption(78)===\"altKey\";if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();const n=this.getLinkOccurrence(e.target.position);n&&this.editor.changeDecorations(o=>{n.activate(o,i),this.activeLinkDecorationId=n.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e=this.editor.getOption(78)===\"altKey\";if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(i=>{t.deactivate(i,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;const t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,i=!1){if(!this.openerService)return;const{link:n}=e;n.resolve(dt.None).then(o=>{if(typeof o==\"string\"&&this.editor.hasModel()){const r=this.editor.getModel().uri;if(r.scheme===Ge.file&&o.startsWith(`${Ge.file}:`)){const a=Ae.parse(o);if(a.scheme===Ge.file){const l=Tl(a);let d=null;l.startsWith(\"/./\")||l.startsWith(\"\\\\.\\\\\")?d=`.${l.substr(1)}`:(l.startsWith(\"//./\")||l.startsWith(\"\\\\\\\\.\\\\\"))&&(d=`.${l.substr(2)}`),d&&(o=wme(r,d))}}}return this.openerService.open(o,{openToSide:t,fromUserGesture:i,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},o=>{const r=o instanceof Error?o.message:o;r===\"invalid\"?this.notificationService.warn(p(\"invalid.url\",\"Failed to open this link because it is not well-formed: {0}\",n.url.toString())):r===\"missing\"?this.notificationService.warn(p(\"missing.url\",\"Failed to open this link because its target is missing.\")):Xe(o)})}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;const t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(const i of t){const n=this.currentOccurrences[i.id];if(n)return n}return null}isEnabled(e,t){return!!(e.target.type===6&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){var e;this.computeLinks.cancel(),this.activeLinksList&&((e=this.activeLinksList)===null||e===void 0||e.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};K_.ID=\"editor.linkDetector\";K_=RR=a2e([xy(1,Bo),xy(2,en),xy(3,Ce),xy(4,Ur)],K_);const z9={general:Ye.register({description:\"detected-link\",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:\"detected-link\"}),active:Ye.register({description:\"detected-link-active\",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:\"detected-link-active\"})};class Xm{static decoration(e,t){return{range:e.range,options:Xm._getOptions(e,t,!1)}}static _getOptions(e,t,i){const n={...i?z9.active:z9.general};return n.hoverMessage=l2e(e,t),n}constructor(e,t){this.link=e,this.decorationId=t}activate(e,t){e.changeDecorationOptions(this.decorationId,Xm._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,Xm._getOptions(this.link,t,!1))}}function l2e(s,e){const t=s.url&&/^command:/i.test(s.url.toString()),i=s.tooltip?s.tooltip:t?p(\"links.navigate.executeCmd\",\"Execute command\"):p(\"links.navigate.follow\",\"Follow link\"),n=e?lt?p(\"links.navigate.kb.meta.mac\",\"cmd + click\"):p(\"links.navigate.kb.meta\",\"ctrl + click\"):lt?p(\"links.navigate.kb.alt.mac\",\"option + click\"):p(\"links.navigate.kb.alt\",\"alt + click\");if(s.url){let o=\"\";if(/^command:/i.test(s.url.toString())){const a=s.url.toString().match(/^command:([^?#]+)/);if(a){const l=a[1];o=p(\"tooltip.explanation\",\"Execute command {0}\",l)}}return new ss(\"\",!0).appendLink(s.url.toString(!0).replace(/ /g,\"%20\"),i,o).appendMarkdown(` (${n})`)}else return new ss().appendText(`${i} (${n})`)}class d2e extends me{constructor(){super({id:\"editor.action.openLink\",label:p(\"label\",\"Open Link\"),alias:\"Open Link\",precondition:void 0})}run(e,t){const i=K_.get(t);if(!i||!t.hasModel())return;const n=t.getSelections();for(const o of n){const r=i.getLinkOccurrence(o.getEndPosition());r&&i.openLinkOccurrence(r,!1)}}}kt(K_.ID,K_,1);te(d2e);class PR extends H{constructor(e){super(),this._editor=e,this._register(this._editor.onMouseDown(t=>{const i=this._editor.getOption(117);i>=0&&t.target.type===6&&t.target.position.column>=i&&this._editor.updateOptions({stopRenderingLineAfter:-1})}))}}PR.ID=\"editor.contrib.longLinesHelper\";kt(PR.ID,PR,2);const ky=N(\"editor.wordHighlightBackground\",{dark:\"#575757B8\",light:\"#57575740\",hcDark:null,hcLight:null},p(\"wordHighlight\",\"Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.wordHighlightStrongBackground\",{dark:\"#004972B8\",light:\"#0e639c40\",hcDark:null,hcLight:null},p(\"wordHighlightStrong\",\"Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.\"),!0);N(\"editor.wordHighlightTextBackground\",{light:ky,dark:ky,hcDark:ky,hcLight:ky},p(\"wordHighlightText\",\"Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.\"),!0);const Ey=N(\"editor.wordHighlightBorder\",{light:null,dark:null,hcDark:di,hcLight:di},p(\"wordHighlightBorder\",\"Border color of a symbol during read-access, like reading a variable.\"));N(\"editor.wordHighlightStrongBorder\",{light:null,dark:null,hcDark:di,hcLight:di},p(\"wordHighlightStrongBorder\",\"Border color of a symbol during write-access, like writing to a variable.\"));N(\"editor.wordHighlightTextBorder\",{light:Ey,dark:Ey,hcDark:Ey,hcLight:Ey},p(\"wordHighlightTextBorder\",\"Border color of a textual occurrence for a symbol.\"));const c2e=N(\"editorOverviewRuler.wordHighlightForeground\",{dark:\"#A0A0A0CC\",light:\"#A0A0A0CC\",hcDark:\"#A0A0A0CC\",hcLight:\"#A0A0A0CC\"},p(\"overviewRulerWordHighlightForeground\",\"Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),u2e=N(\"editorOverviewRuler.wordHighlightStrongForeground\",{dark:\"#C0A0C0CC\",light:\"#C0A0C0CC\",hcDark:\"#C0A0C0CC\",hcLight:\"#C0A0C0CC\"},p(\"overviewRulerWordHighlightStrongForeground\",\"Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),h2e=N(\"editorOverviewRuler.wordHighlightTextForeground\",{dark:_v,light:_v,hcDark:_v,hcLight:_v},p(\"overviewRulerWordHighlightTextForeground\",\"Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.\"),!0),g2e=Ye.register({description:\"word-highlight-strong\",stickiness:1,className:\"wordHighlightStrong\",overviewRuler:{color:Ei(u2e),position:Br.Center},minimap:{color:Ei(wx),position:1}}),f2e=Ye.register({description:\"word-highlight-text\",stickiness:1,className:\"wordHighlightText\",overviewRuler:{color:Ei(h2e),position:Br.Center},minimap:{color:Ei(wx),position:1}}),p2e=Ye.register({description:\"selection-highlight-overview\",stickiness:1,className:\"selectionHighlight\",overviewRuler:{color:Ei(_v),position:Br.Center},minimap:{color:Ei(wx),position:1}}),m2e=Ye.register({description:\"selection-highlight\",stickiness:1,className:\"selectionHighlight\"}),_2e=Ye.register({description:\"word-highlight\",stickiness:1,className:\"wordHighlight\",overviewRuler:{color:Ei(c2e),position:Br.Center},minimap:{color:Ei(wx),position:1}});function v2e(s){return s===Ab.Write?g2e:s===Ab.Text?f2e:_2e}function b2e(s){return s?m2e:p2e}zr((s,e)=>{const t=s.getColor(AF);t&&e.addRule(`.monaco-editor .selectionHighlight { background-color: ${t.transparent(.5)}; }`)});var C2e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},w2e=function(s,e){return function(t,i){e(t,i,s)}},FR;function lg(s,e){const t=e.filter(i=>!s.find(n=>n.equals(i)));if(t.length>=1){const i=t.map(o=>`line ${o.viewState.position.lineNumber} column ${o.viewState.position.column}`).join(\", \"),n=t.length===1?p(\"cursorAdded\",\"Cursor added: {0}\",i):p(\"cursorsAdded\",\"Cursors added: {0}\",i);Uc(n)}}class y2e extends me{constructor(){super({id:\"editor.action.insertCursorAbove\",label:p(\"mutlicursor.insertAbove\",\"Add Cursor Above\"),alias:\"Add Cursor Above\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"3_multi\",title:p({},\"&&Add Cursor Above\"),order:2}})}run(e,t,i){if(!t.hasModel())return;let n=!0;i&&i.logicalLine===!1&&(n=!1);const o=t._getViewModel();if(o.cursorConfig.readOnly)return;o.model.pushStackElement();const r=o.getCursorStates();o.setCursorStates(i.source,3,On.addCursorUp(o,r,n)),o.revealTopMostCursor(i.source),lg(r,o.getCursorStates())}}class S2e extends me{constructor(){super({id:\"editor.action.insertCursorBelow\",label:p(\"mutlicursor.insertBelow\",\"Add Cursor Below\"),alias:\"Add Cursor Below\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"3_multi\",title:p({},\"A&&dd Cursor Below\"),order:3}})}run(e,t,i){if(!t.hasModel())return;let n=!0;i&&i.logicalLine===!1&&(n=!1);const o=t._getViewModel();if(o.cursorConfig.readOnly)return;o.model.pushStackElement();const r=o.getCursorStates();o.setCursorStates(i.source,3,On.addCursorDown(o,r,n)),o.revealBottomMostCursor(i.source),lg(r,o.getCursorStates())}}class D2e extends me{constructor(){super({id:\"editor.action.insertCursorAtEndOfEachLineSelected\",label:p(\"mutlicursor.insertAtEndOfEachLineSelected\",\"Add Cursors to Line Ends\"),alias:\"Add Cursors to Line Ends\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"3_multi\",title:p({},\"Add C&&ursors to Line Ends\"),order:4}})}getCursorsForSelection(e,t,i){if(!e.isEmpty()){for(let n=e.startLineNumber;n<e.endLineNumber;n++){const o=t.getLineMaxColumn(n);i.push(new we(n,o,n,o))}e.endColumn>1&&i.push(new we(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=t.getSelections(),o=t._getViewModel(),r=o.getCursorStates(),a=[];n.forEach(l=>this.getCursorsForSelection(l,i,a)),a.length>0&&t.setSelections(a),lg(r,o.getCursorStates())}}class L2e extends me{constructor(){super({id:\"editor.action.addCursorsToBottom\",label:p(\"mutlicursor.addCursorsToBottom\",\"Add Cursors To Bottom\"),alias:\"Add Cursors To Bottom\",precondition:void 0})}run(e,t){if(!t.hasModel())return;const i=t.getSelections(),n=t.getModel().getLineCount(),o=[];for(let l=i[0].startLineNumber;l<=n;l++)o.push(new we(l,i[0].startColumn,l,i[0].endColumn));const r=t._getViewModel(),a=r.getCursorStates();o.length>0&&t.setSelections(o),lg(a,r.getCursorStates())}}class x2e extends me{constructor(){super({id:\"editor.action.addCursorsToTop\",label:p(\"mutlicursor.addCursorsToTop\",\"Add Cursors To Top\"),alias:\"Add Cursors To Top\",precondition:void 0})}run(e,t){if(!t.hasModel())return;const i=t.getSelections(),n=[];for(let a=i[0].startLineNumber;a>=1;a--)n.push(new we(a,i[0].startColumn,a,i[0].endColumn));const o=t._getViewModel(),r=o.getCursorStates();n.length>0&&t.setSelections(n),lg(r,o.getCursorStates())}}class Iy{constructor(e,t,i){this.selections=e,this.revealRange=t,this.revealScrollType=i}}class ZC{static create(e,t){if(!e.hasModel())return null;const i=t.getState();if(!e.hasTextFocus()&&i.isRevealed&&i.searchString.length>0)return new ZC(e,t,!1,i.searchString,i.wholeWord,i.matchCase,null);let n=!1,o,r;const a=e.getSelections();a.length===1&&a[0].isEmpty()?(n=!0,o=!0,r=!0):(o=i.wholeWord,r=i.matchCase);const l=e.getSelection();let d,c=null;if(l.isEmpty()){const u=e.getConfiguredWordAtPosition(l.getStartPosition());if(!u)return null;d=u.word,c=new we(l.startLineNumber,u.startColumn,l.startLineNumber,u.endColumn)}else d=e.getModel().getValueInRange(l).replace(/\\r\\n/g,`\n`);return new ZC(e,t,n,d,o,r,c)}constructor(e,t,i,n,o,r,a){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=i,this.searchText=n,this.wholeWord=o,this.matchCase=r,this.currentMatch=a}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new Iy(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new Iy(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const n=this.currentMatch;return this.currentMatch=null,n}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1);return i?new we(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new Iy(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new Iy(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const n=this.currentMatch;return this.currentMatch=null,n}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1);return i?new we(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}selectAll(e){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();const t=this._editor.getModel();return e?t.findMatches(this.searchText,e,!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1,1073741824):t.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1,1073741824)}}class jf extends H{static get(e){return e.getContribution(jf.ID)}constructor(e){super(),this._sessionDispose=this._register(new Y),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){const t=ZC.create(this._editor,e);if(!t)return;this._session=t;const i={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(i.wholeWordOverride=1,i.matchCaseOverride=1,i.isRegexOverride=2),e.getState().change(i,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(n=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(n=>{(n.matchCase||n.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;const i=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return i?new we(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){const t=this._editor.getSelections();if(t.length>1){const n=e.getState().matchCase;if(!zG(this._editor.getModel(),t,n)){const r=this._editor.getModel(),a=[];for(let l=0,d=t.length;l<d;l++)a[l]=this._expandEmptyToWord(r,t[l]);this._editor.setSelections(a);return}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(e){if(!this._editor.hasModel())return;let t=null;const i=e.getState();if(i.isRevealed&&i.searchString.length>0&&i.isRegex){const n=this._editor.getModel();i.searchScope?t=n.findMatches(i.searchString,i.searchScope,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(131):null,!1,1073741824):t=n.findMatches(i.searchString,!0,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(131):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll(i.searchScope)}if(t.length>0){const n=this._editor.getSelection();for(let o=0,r=t.length;o<r;o++){const a=t[o];if(a.range.intersectRanges(n)){t[o]=t[0],t[0]=a;break}}this._setSelections(t.map(o=>new we(o.range.startLineNumber,o.range.startColumn,o.range.endLineNumber,o.range.endColumn)))}}}jf.ID=\"editor.contrib.multiCursorController\";class D0 extends me{run(e,t){const i=jf.get(t);if(!i)return;const n=t._getViewModel();if(n){const o=n.getCursorStates(),r=Ks.get(t);if(r)this._run(i,r);else{const a=e.get(Ne).createInstance(Ks,t);this._run(i,a),a.dispose()}lg(o,n.getCursorStates())}}}class k2e extends D0{constructor(){super({id:\"editor.action.addSelectionToNextFindMatch\",label:p(\"addSelectionToNextFindMatch\",\"Add Selection To Next Find Match\"),alias:\"Add Selection To Next Find Match\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:2082,weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"3_multi\",title:p({},\"Add &&Next Occurrence\"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}class E2e extends D0{constructor(){super({id:\"editor.action.addSelectionToPreviousFindMatch\",label:p(\"addSelectionToPreviousFindMatch\",\"Add Selection To Previous Find Match\"),alias:\"Add Selection To Previous Find Match\",precondition:void 0,menuOpts:{menuId:E.MenubarSelectionMenu,group:\"3_multi\",title:p({},\"Add P&&revious Occurrence\"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}class I2e extends D0{constructor(){super({id:\"editor.action.moveSelectionToNextFindMatch\",label:p(\"moveSelectionToNextFindMatch\",\"Move Last Selection To Next Find Match\"),alias:\"Move Last Selection To Next Find Match\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:an(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}class T2e extends D0{constructor(){super({id:\"editor.action.moveSelectionToPreviousFindMatch\",label:p(\"moveSelectionToPreviousFindMatch\",\"Move Last Selection To Previous Find Match\"),alias:\"Move Last Selection To Previous Find Match\",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}class N2e extends D0{constructor(){super({id:\"editor.action.selectHighlights\",label:p(\"selectAllOccurrencesOfFindMatch\",\"Select All Occurrences of Find Match\"),alias:\"Select All Occurrences of Find Match\",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:3114,weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"3_multi\",title:p({},\"Select All &&Occurrences\"),order:7}})}_run(e,t){e.selectAll(t)}}class A2e extends D0{constructor(){super({id:\"editor.action.changeAll\",label:p(\"changeAll.label\",\"Change All Occurrences\"),alias:\"Change All Occurrences\",precondition:G.and(T.writable,T.editorTextFocus),kbOpts:{kbExpr:T.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:\"1_modification\",order:1.2}})}_run(e,t){e.selectAll(t)}}class M2e{constructor(e,t,i,n,o){this._model=e,this._searchText=t,this._matchCase=i,this._wordSeparators=n,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,o&&this._model===o._model&&this._searchText===o._searchText&&this._matchCase===o._matchCase&&this._wordSeparators===o._wordSeparators&&this._modelVersionId===o._modelVersionId&&(this._cachedFindMatches=o._cachedFindMatches)}findMatches(){return this._cachedFindMatches===null&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(e=>e.range),this._cachedFindMatches.sort(x.compareRangesUsingStarts)),this._cachedFindMatches}}let XC=FR=class extends H{constructor(e,t){super(),this._languageFeaturesService=t,this.editor=e,this._isEnabled=e.getOption(108),this._decorations=e.createDecorationsCollection(),this.updateSoon=this._register(new Wt(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(n=>{this._isEnabled=e.getOption(108)})),this._register(e.onDidChangeCursorSelection(n=>{this._isEnabled&&(n.selection.isEmpty()?n.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(n=>{this._setState(null)})),this._register(e.onDidChangeModelContent(n=>{this._isEnabled&&this.updateSoon.schedule()}));const i=Ks.get(e);i&&this._register(i.getState().onFindReplaceStateChange(n=>{this._update()})),this.updateSoon.schedule()}_update(){this._setState(FR._createState(this.state,this._isEnabled,this.editor))}static _createState(e,t,i){if(!t||!i.hasModel())return null;const n=i.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;const o=jf.get(i);if(!o)return null;const r=Ks.get(i);if(!r)return null;let a=o.getSession(r);if(!a){const c=i.getSelections();if(c.length>1){const h=r.getState().matchCase;if(!zG(i.getModel(),c,h))return null}a=ZC.create(i,r)}if(!a||a.currentMatch||/^[ \\t]+$/.test(a.searchText)||a.searchText.length>200)return null;const l=r.getState(),d=l.matchCase;if(l.isRevealed){let c=l.searchString;d||(c=c.toLowerCase());let u=a.searchText;if(d||(u=u.toLowerCase()),c===u&&a.matchCase===l.matchCase&&a.wholeWord===l.wholeWord&&!l.isRegex)return null}return new M2e(i.getModel(),a.searchText,a.matchCase,a.wholeWord?i.getOption(131):null,e)}_setState(e){if(this.state=e,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;const t=this.editor.getModel();if(t.isTooLargeForTokenization())return;const i=this.state.findMatches(),n=this.editor.getSelections();n.sort(x.compareRangesUsingStarts);const o=[];for(let d=0,c=0,u=i.length,h=n.length;d<u;){const g=i[d];if(c>=h)o.push(g),d++;else{const f=x.compareRangesUsingStarts(g,n[c]);f<0?((n[c].isEmpty()||!x.areIntersecting(g,n[c]))&&o.push(g),d++):(f>0||d++,c++)}}const r=this.editor.getOption(81)!==\"off\",a=this._languageFeaturesService.documentHighlightProvider.has(t)&&r,l=o.map(d=>({range:d,options:b2e(a)}));this._decorations.set(l)}dispose(){this._setState(null),super.dispose()}};XC.ID=\"editor.contrib.selectionHighlighter\";XC=FR=C2e([w2e(1,Ce)],XC);function zG(s,e,t){const i=U9(s,e[0],!t);for(let n=1,o=e.length;n<o;n++){const r=e[n];if(r.isEmpty())return!1;const a=U9(s,r,!t);if(i!==a)return!1}return!0}function U9(s,e,t){const i=s.getValueInRange(e);return t?i.toLowerCase():i}class R2e extends me{constructor(){super({id:\"editor.action.focusNextCursor\",label:p(\"mutlicursor.focusNextCursor\",\"Focus Next Cursor\"),metadata:{description:p(\"mutlicursor.focusNextCursor.description\",\"Focuses the next cursor\"),args:[]},alias:\"Focus Next Cursor\",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;const n=t._getViewModel();if(n.cursorConfig.readOnly)return;n.model.pushStackElement();const o=Array.from(n.getCursorStates()),r=o.shift();r&&(o.push(r),n.setCursorStates(i.source,3,o),n.revealPrimaryCursor(i.source,!0),lg(o,n.getCursorStates()))}}class P2e extends me{constructor(){super({id:\"editor.action.focusPreviousCursor\",label:p(\"mutlicursor.focusPreviousCursor\",\"Focus Previous Cursor\"),metadata:{description:p(\"mutlicursor.focusPreviousCursor.description\",\"Focuses the previous cursor\"),args:[]},alias:\"Focus Previous Cursor\",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;const n=t._getViewModel();if(n.cursorConfig.readOnly)return;n.model.pushStackElement();const o=Array.from(n.getCursorStates()),r=o.pop();r&&(o.unshift(r),n.setCursorStates(i.source,3,o),n.revealPrimaryCursor(i.source,!0),lg(o,n.getCursorStates()))}}kt(jf.ID,jf,4);kt(XC.ID,XC,1);te(y2e);te(S2e);te(D2e);te(k2e);te(E2e);te(I2e);te(T2e);te(N2e);te(A2e);te(L2e);te(x2e);te(R2e);te(P2e);const F2e=\"editor.action.inlineEdit.accept\",O2e=\"editor.action.inlineEdit.reject\",B2e=\"editor.action.inlineEdit.jumpTo\",W2e=\"editor.action.inlineEdit.jumpBack\";var H2e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},V2e=function(s,e){return function(t,i){e(t,i,s)}};const ST=\"inline-edit\";let OR=class extends H{constructor(e,t,i){super(),this.editor=e,this.model=t,this.languageService=i,this.isDisposed=vt(this,!1),this.currentTextModel=Ot(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=je(this,n=>{var o;if(this.isDisposed.read(n))return;const r=this.currentTextModel.read(n);if(r!==this.model.targetTextModel.read(n))return;const a=this.model.ghostText.read(n);if(!a)return;let l=(o=this.model.range)===null||o===void 0?void 0:o.read(n);l&&l.startLineNumber===l.endLineNumber&&l.startColumn===l.endColumn&&(l=void 0);const d=(l?l.startLineNumber===l.endLineNumber:!0)&&a.parts.length===1&&a.parts[0].lines.length===1,c=a.parts.length===1&&a.parts[0].lines.every(C=>C.length===0),u=[],h=[];function g(C,w){if(h.length>0){const y=h[h.length-1];w&&y.decorations.push(new Os(y.content.length+1,y.content.length+1+C[0].length,w,0)),y.content+=C[0],C=C.slice(1)}for(const y of C)h.push({content:y,decorations:w?[new Os(1,y.length+1,w,0)]:[]})}const f=r.getLineContent(a.lineNumber);let m,_=0;if(!c){for(const C of a.parts){let w=C.lines;l&&!d&&(g(w,ST),w=[]),m===void 0?(u.push({column:C.column,text:w[0],preview:C.preview}),w=w.slice(1)):g([f.substring(_,C.column-1)],void 0),w.length>0&&(g(w,ST),m===void 0&&C.column<=f.length&&(m=C.column)),_=C.column-1}m!==void 0&&g([f.substring(_)],void 0)}const v=m!==void 0?new wG(m,f.length+1):void 0,b=d||!l?a.lineNumber:l.endLineNumber-1;return{inlineTexts:u,additionalLines:h,hiddenRange:v,lineNumber:b,additionalReservedLineCount:this.model.minReservedLineCount.read(n),targetTextModel:r,range:l,isSingleLine:d,isPureRemove:c,backgroundColoring:this.model.backgroundColoring.read(n)}}),this.decorations=je(this,n=>{const o=this.uiState.read(n);if(!o)return[];const r=[];if(o.hiddenRange&&r.push({range:o.hiddenRange.toRange(o.lineNumber),options:{inlineClassName:\"inline-edit-hidden\",description:\"inline-edit-hidden\"}}),o.range){const a=[];if(o.isSingleLine)a.push(o.range);else if(o.isPureRemove){const d=o.range.endLineNumber-o.range.startLineNumber;for(let c=0;c<d;c++){const u=o.range.startLineNumber+c,h=o.targetTextModel.getLineFirstNonWhitespaceColumn(u),g=o.targetTextModel.getLineLastNonWhitespaceColumn(u),f=new x(u,h,u,g);a.push(f)}}else{const d=o.range.endLineNumber-o.range.startLineNumber;for(let c=0;c<d;c++){const u=o.range.startLineNumber+c,h=o.targetTextModel.getLineFirstNonWhitespaceColumn(u),g=o.targetTextModel.getLineLastNonWhitespaceColumn(u),f=new x(u,h,u,g);a.push(f)}}const l=o.backgroundColoring?\"inline-edit-remove backgroundColoring\":\"inline-edit-remove\";for(const d of a)r.push({range:d,options:{inlineClassName:l,description:\"inline-edit-remove\"}})}for(const a of o.inlineTexts)r.push({range:x.fromPositions(new W(o.lineNumber,a.column)),options:{description:ST,after:{content:a.text,inlineClassName:a.preview?\"inline-edit-decoration-preview\":\"inline-edit-decoration\",cursorStops:aa.Left},showIfCollapsed:!0}});return r}),this.additionalLinesWidget=this._register(new SG(this.editor,this.languageService.languageIdCodec,je(n=>{const o=this.uiState.read(n);return o&&!o.isPureRemove?{lineNumber:o.lineNumber,additionalLines:o.additionalLines,minReservedLineCount:o.additionalReservedLineCount,targetTextModel:o.targetTextModel}:void 0}))),this._register(Ie(()=>{this.isDisposed.set(!0,void 0)})),this._register(yG(this.editor,this.decorations))}ownsViewZone(e){return this.additionalLinesWidget.viewZoneId===e}};OR=H2e([V2e(2,vi)],OR);var H4=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Wl=function(s,e){return function(t,i){e(t,i,s)}},mS;let BR=class extends H{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.alwaysShowToolbar=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).showToolbar===\"always\"),this.sessionPosition=void 0,this.position=je(this,n=>{var o,r,a;const l=(o=this.model.read(n))===null||o===void 0?void 0:o.widget.model.ghostText.read(n);if(!this.alwaysShowToolbar.read(n)||!l||l.parts.length===0)return this.sessionPosition=void 0,null;const d=l.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==l.lineNumber&&(this.sessionPosition=void 0);const c=new W(l.lineNumber,Math.min(d,(a=(r=this.sessionPosition)===null||r===void 0?void 0:r.column)!==null&&a!==void 0?a:Number.MAX_SAFE_INTEGER));return this.sessionPosition=c,c}),this._register(Hr((n,o)=>{if(!this.model.read(n)||!this.alwaysShowToolbar.read(n))return;const a=o.add(this.instantiationService.createInstance(q_,this.editor,!0,this.position));e.addContentWidget(a),o.add(Ie(()=>e.removeContentWidget(a)))}))}};BR=H4([Wl(2,Ne)],BR);let q_=mS=class extends H{constructor(e,t,i,n,o,r){super(),this.editor=e,this.withBorder=t,this._position=i,this._contextKeyService=o,this._menuService=r,this.id=`InlineEditHintsContentWidget${mS.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=Nt(\"div.inlineEditHints\",{className:this.withBorder?\".withBorder\":\"\"},[Nt(\"div@toolBar\")]),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(E.InlineEditActions,this._contextKeyService)),this.toolBar=this._register(n.createInstance(WR,this.nodes.toolBar,this.editor,E.InlineEditToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:a=>a.startsWith(\"primary\")},actionViewItemProvider:(a,l)=>{if(a instanceof Io)return n.createInstance(z2e,a,void 0)},telemetrySource:\"InlineEditToolbar\"})),this._register(this.toolBar.onDidChangeDropdownVisibility(a=>{mS._dropDownVisible=a})),this._register(st(a=>{this._position.read(a),this.editor.layoutContentWidget(this)})),this._register(st(a=>{const l=[];for(const[d,c]of this.inlineCompletionsActionsMenus.getActions())for(const u of c)u instanceof Io&&l.push(u);l.length>0&&l.unshift(new rn),this.toolBar.setAdditionalSecondaryActions(l)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};q_._dropDownVisible=!1;q_.id=0;q_=mS=H4([Wl(3,Ne),Wl(4,Be),Wl(5,hr)],q_);class z2e extends Fh{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();if(this.label){const t=Nt(\"div.keybinding\").root;this._register(new m0(t,Lo,{disableTitle:!0,...tK})).set(e),this.label.textContent=this._action.label,this.label.appendChild(t),this.label.classList.add(\"inlineEditStatusBarItemLabel\")}}updateTooltip(){}}let WR=class extends LC{constructor(e,t,i,n,o,r,a,l,d,c){super(e,{resetMenu:i,...n},o,r,a,l,d,c),this.editor=t,this.menuId=i,this.options2=n,this.menuService=o,this.contextKeyService=r,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this._store.add(this.editor.onDidChangeCursorPosition(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var e,t,i,n,o,r,a;const l=[],d=[];Qx(this.menu,(e=this.options2)===null||e===void 0?void 0:e.menuOptions,{primary:l,secondary:d},(i=(t=this.options2)===null||t===void 0?void 0:t.toolbarOptions)===null||i===void 0?void 0:i.primaryGroup,(o=(n=this.options2)===null||n===void 0?void 0:n.toolbarOptions)===null||o===void 0?void 0:o.shouldInlineSubmenu,(a=(r=this.options2)===null||r===void 0?void 0:r.toolbarOptions)===null||a===void 0?void 0:a.useSeparatorsInPrimaryActions),d.push(...this.additionalActions),l.unshift(...this.prependedPrimaryActions),this.setActions(l,d)}setAdditionalSecondaryActions(e){Ci(this.additionalActions,e,(t,i)=>t===i)||(this.additionalActions=e,this.updateToolbar())}};WR=H4([Wl(4,hr),Wl(5,Be),Wl(6,Oo),Wl(7,At),Wl(8,gi),Wl(9,Gs)],WR);var U2e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},av=function(s,e){return function(t,i){e(t,i,s)}},sf;class $2e{constructor(e,t){this.widget=e,this.edit=t}dispose(){this.widget.dispose()}}let fn=sf=class extends H{static get(e){return e.getContribution(sf.ID)}constructor(e,t,i,n,o,r){super(),this.editor=e,this.instantiationService=t,this.contextKeyService=i,this.languageFeaturesService=n,this._commandService=o,this._configurationService=r,this._isVisibleContext=sf.inlineEditVisibleContext.bindTo(this.contextKeyService),this._isCursorAtInlineEditContext=sf.cursorAtInlineEditContext.bindTo(this.contextKeyService),this._currentEdit=this._register(gC(this,void 0)),this._isAccepting=vt(this,!1),this._enabled=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).enabled),this._fontFamily=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).fontFamily),this._backgroundColoring=Ot(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).backgroundColoring);const a=os(\"InlineEditController.modelContentChangedSignal\",e.onDidChangeModelContent);this._register(st(h=>{this._enabled.read(h)&&(a.read(h),!this._isAccepting.read(h)&&this.getInlineEdit(e,!0))}));const l=Ot(e.onDidChangeCursorPosition,()=>e.getPosition());this._register(st(h=>{if(!this._enabled.read(h))return;const g=l.read(h);g&&this.checkCursorPosition(g)})),this._register(st(h=>{const g=this._currentEdit.read(h);if(this._isCursorAtInlineEditContext.set(!1),!g){this._isVisibleContext.set(!1);return}this._isVisibleContext.set(!0);const f=e.getPosition();f&&this.checkCursorPosition(f)}));const d=os(\"InlineEditController.editorBlurSignal\",e.onDidBlurEditorWidget);this._register(st(async h=>{var g;this._enabled.read(h)&&(d.read(h),!(this._configurationService.getValue(\"editor.experimentalInlineEdit.keepOnBlur\")||e.getOption(63).keepOnBlur)&&((g=this._currentRequestCts)===null||g===void 0||g.dispose(!0),this._currentRequestCts=void 0,await this.clear(!1)))}));const c=os(\"InlineEditController.editorFocusSignal\",e.onDidFocusEditorText);this._register(st(h=>{this._enabled.read(h)&&(c.read(h),this.getInlineEdit(e,!0))}));const u=this._register(Nz());this._register(st(h=>{const g=this._fontFamily.read(h);u.setStyle(g===\"\"||g===\"default\"?\"\":`\n.monaco-editor .inline-edit-decoration,\n.monaco-editor .inline-edit-decoration-preview,\n.monaco-editor .inline-edit {\n\tfont-family: ${g};\n}`)})),this._register(new BR(this.editor,this._currentEdit,this.instantiationService))}checkCursorPosition(e){var t;if(!this._currentEdit){this._isCursorAtInlineEditContext.set(!1);return}const i=(t=this._currentEdit.get())===null||t===void 0?void 0:t.edit;if(!i){this._isCursorAtInlineEditContext.set(!1);return}this._isCursorAtInlineEditContext.set(x.containsPosition(i.range,e))}validateInlineEdit(e,t){var i,n;if(t.text.includes(`\n`)&&t.range.startLineNumber!==t.range.endLineNumber&&t.range.startColumn!==t.range.endColumn){if(t.range.startColumn!==1)return!1;const r=t.range.endLineNumber,a=t.range.endColumn,l=(n=(i=e.getModel())===null||i===void 0?void 0:i.getLineLength(r))!==null&&n!==void 0?n:0;if(a!==l+1)return!1}return!0}async fetchInlineEdit(e,t){this._currentRequestCts&&this._currentRequestCts.dispose(!0);const i=e.getModel();if(!i)return;const n=i.getVersionId(),o=this.languageFeaturesService.inlineEditProvider.all(i);if(o.length===0)return;const r=o[0];this._currentRequestCts=new Vi;const a=this._currentRequestCts.token,l=t?FS.Automatic:FS.Invoke;if(t&&await j2e(50,a),a.isCancellationRequested||i.isDisposed()||i.getVersionId()!==n)return;const c=await r.provideInlineEdit(i,{triggerKind:l},a);if(c&&!(a.isCancellationRequested||i.isDisposed()||i.getVersionId()!==n)&&this.validateInlineEdit(e,c))return c}async getInlineEdit(e,t){var i;this._isCursorAtInlineEditContext.set(!1),await this.clear();const n=await this.fetchInlineEdit(e,t);if(!n)return;const o=n.range.endLineNumber,r=n.range.endColumn,a=n.text.endsWith(`\n`)&&!(n.range.startLineNumber===n.range.endLineNumber&&n.range.startColumn===n.range.endColumn)?n.text.slice(0,-1):n.text,l=new VC(o,[new CL(r,a,!1)]),d=this.instantiationService.createInstance(OR,this.editor,{ghostText:Ga(l),minReservedLineCount:Ga(0),targetTextModel:Ga((i=this.editor.getModel())!==null&&i!==void 0?i:void 0),range:Ga(n.range),backgroundColoring:this._backgroundColoring});this._currentEdit.set(new $2e(d,n),void 0)}async trigger(){await this.getInlineEdit(this.editor,!1)}async jumpBack(){this._jumpBackPosition&&(this.editor.setPosition(this._jumpBackPosition),this.editor.revealPositionInCenterIfOutsideViewport(this._jumpBackPosition))}async accept(){var e;this._isAccepting.set(!0,void 0);const t=(e=this._currentEdit.get())===null||e===void 0?void 0:e.edit;if(!t)return;let i=t.text;t.text.startsWith(`\n`)&&(i=t.text.substring(1)),this.editor.pushUndoStop(),this.editor.executeEdits(\"acceptCurrent\",[pi.replace(x.lift(t.range),i)]),t.accepted&&await this._commandService.executeCommand(t.accepted.id,...t.accepted.arguments||[]).then(void 0,Ai),this.freeEdit(t),$t(n=>{this._currentEdit.set(void 0,n),this._isAccepting.set(!1,n)})}jumpToCurrent(){var e,t;this._jumpBackPosition=(e=this.editor.getSelection())===null||e===void 0?void 0:e.getStartPosition();const i=(t=this._currentEdit.get())===null||t===void 0?void 0:t.edit;if(!i)return;const n=W.lift({lineNumber:i.range.startLineNumber,column:i.range.startColumn});this.editor.setPosition(n),this.editor.revealPositionInCenterIfOutsideViewport(n)}async clear(e=!0){var t;const i=(t=this._currentEdit.get())===null||t===void 0?void 0:t.edit;i&&(i!=null&&i.rejected)&&e&&await this._commandService.executeCommand(i.rejected.id,...i.rejected.arguments||[]).then(void 0,Ai),i&&this.freeEdit(i),this._currentEdit.set(void 0,void 0)}freeEdit(e){const t=this.editor.getModel();if(!t)return;const i=this.languageFeaturesService.inlineEditProvider.all(t);i.length!==0&&i[0].freeInlineEdit(e)}shouldShowHoverAt(e){const t=this._currentEdit.get();if(!t)return!1;const i=t.edit,n=t.widget.model;if(x.containsPosition(i.range,e.getStartPosition())||x.containsPosition(i.range,e.getEndPosition()))return!0;const r=n.ghostText.get();return r?r.parts.some(a=>e.containsPosition(new W(r.lineNumber,a.column))):!1}shouldShowHoverAtViewZone(e){var t,i;return(i=(t=this._currentEdit.get())===null||t===void 0?void 0:t.widget.ownsViewZone(e))!==null&&i!==void 0?i:!1}};fn.ID=\"editor.contrib.inlineEditController\";fn.inlineEditVisibleKey=\"inlineEditVisible\";fn.inlineEditVisibleContext=new ue(sf.inlineEditVisibleKey,!1);fn.cursorAtInlineEditKey=\"cursorAtInlineEdit\";fn.cursorAtInlineEditContext=new ue(sf.cursorAtInlineEditKey,!1);fn=sf=U2e([av(1,Ne),av(2,Be),av(3,Ce),av(4,gi),av(5,rt)],fn);function j2e(s,e){return new Promise(t=>{let i;const n=setTimeout(()=>{i&&i.dispose(),t()},s);e&&(i=e.onCancellationRequested(()=>{clearTimeout(n),i&&i.dispose(),t()}))})}class K2e extends me{constructor(){super({id:F2e,label:\"Accept Inline Edit\",alias:\"Accept Inline Edit\",precondition:G.and(T.writable,fn.inlineEditVisibleContext),kbOpts:[{weight:101,primary:2,kbExpr:G.and(T.writable,fn.inlineEditVisibleContext,fn.cursorAtInlineEditContext)}],menuOpts:[{menuId:E.InlineEditToolbar,title:\"Accept\",group:\"primary\",order:1}]})}async run(e,t){const i=fn.get(t);await(i==null?void 0:i.accept())}}class q2e extends me{constructor(){const e=G.and(T.writable,G.not(fn.inlineEditVisibleKey));super({id:\"editor.action.inlineEdit.trigger\",label:\"Trigger Inline Edit\",alias:\"Trigger Inline Edit\",precondition:e,kbOpts:{weight:101,primary:2646,kbExpr:e}})}async run(e,t){const i=fn.get(t);i==null||i.trigger()}}class G2e extends me{constructor(){const e=G.and(T.writable,fn.inlineEditVisibleContext,G.not(fn.cursorAtInlineEditKey));super({id:B2e,label:\"Jump to Inline Edit\",alias:\"Jump to Inline Edit\",precondition:e,kbOpts:{weight:101,primary:2646,kbExpr:e},menuOpts:[{menuId:E.InlineEditToolbar,title:\"Jump To Edit\",group:\"primary\",order:3,when:e}]})}async run(e,t){const i=fn.get(t);i==null||i.jumpToCurrent()}}class Z2e extends me{constructor(){const e=G.and(T.writable,fn.cursorAtInlineEditContext);super({id:W2e,label:\"Jump Back from Inline Edit\",alias:\"Jump Back from Inline Edit\",precondition:e,kbOpts:{weight:110,primary:2646,kbExpr:e},menuOpts:[{menuId:E.InlineEditToolbar,title:\"Jump Back\",group:\"primary\",order:3,when:e}]})}async run(e,t){const i=fn.get(t);i==null||i.jumpBack()}}class X2e extends me{constructor(){const e=G.and(T.writable,fn.inlineEditVisibleContext);super({id:O2e,label:\"Reject Inline Edit\",alias:\"Reject Inline Edit\",precondition:e,kbOpts:{weight:100,primary:9,kbExpr:e},menuOpts:[{menuId:E.InlineEditToolbar,title:\"Reject\",group:\"secondary\",order:2}]})}async run(e,t){const i=fn.get(t);await(i==null?void 0:i.clear())}}var Y2e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},$9=function(s,e){return function(t,i){e(t,i,s)}};class Q2e{constructor(e,t,i){this.owner=e,this.range=t,this.controller=i}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let HR=class{constructor(e,t,i){this._editor=e,this._instantiationService=t,this._telemetryService=i,this.hoverOrdinal=5}suggestHoverAnchor(e){const t=fn.get(this._editor);if(!t)return null;const i=e.target;if(i.type===8){const n=i.detail;if(t.shouldShowHoverAtViewZone(n.viewZoneId)){const o=i.range;return new hf(1e3,this,o,e.event.posx,e.event.posy,!1)}}return i.type===7&&t.shouldShowHoverAt(i.range)?new hf(1e3,this,i.range,e.event.posx,e.event.posy,!1):i.type===6&&i.detail.mightBeForeignElement&&t.shouldShowHoverAt(i.range)?new hf(1e3,this,i.range,e.event.posx,e.event.posy,!1):null}computeSync(e,t){if(this._editor.getOption(63).showToolbar!==\"onHover\")return[];const i=fn.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new Q2e(this,e.range,i)]:[]}renderHoverParts(e,t){const i=new Y;this._telemetryService.publicLog2(\"inlineEditHover.shown\");const n=this._instantiationService.createInstance(q_,this._editor,!1,Ga(null));return e.fragment.appendChild(n.getDomNode()),i.add(n),i}};HR=Y2e([$9(1,Ne),$9(2,Gs)],HR);te(K2e);te(X2e);te(G2e);te(Z2e);te(q2e);kt(fn.ID,fn,3);ag.register(HR);const Kf={Visible:new ue(\"parameterHintsVisible\",!1),MultipleSignatures:new ue(\"parameterHintsMultipleSignatures\",!1)};async function UG(s,e,t,i,n){const o=s.ordered(e);for(const r of o)try{const a=await r.provideSignatureHelp(e,t,n,i);if(a)return a}catch(a){Ai(a)}}pt.registerCommand(\"_executeSignatureHelpProvider\",async(s,...e)=>{const[t,i,n]=e;yt(Ae.isUri(t)),yt(W.isIPosition(i)),yt(typeof n==\"string\"||!n);const o=s.get(Ce),r=await s.get(mo).createModelReference(t);try{const a=await UG(o.signatureHelpProvider,r.object.textEditorModel,W.lift(i),{triggerKind:ad.Invoke,isRetrigger:!1,triggerCharacter:n},dt.None);return a?(setTimeout(()=>a.dispose(),0),a.value):void 0}finally{r.dispose()}});var Eu;(function(s){s.Default={type:0};class e{constructor(n,o){this.request=n,this.previouslyActiveHints=o,this.type=2}}s.Pending=e;class t{constructor(n){this.hints=n,this.type=1}}s.Active=t})(Eu||(Eu={}));class Gk extends H{constructor(e,t,i=Gk.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new B),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=Eu.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new $n),this.triggerChars=new ZS,this.retriggerChars=new ZS,this.triggerId=0,this.editor=e,this.providers=t,this.throttledDelayer=new _a(i),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(n=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(n=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(n=>this.onCursorChange(n))),this._register(this.editor.onDidChangeModelContent(n=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(n=>this.onDidType(n))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){this._state.type===2&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=Eu.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){const i=this.editor.getModel();if(!i||!this.providers.has(i))return;const n=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(n),t).catch(Xe)}next(){if(this.state.type!==1)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=t%e===e-1,n=this.editor.getOption(86).cycle;if((e<2||i)&&!n){this.cancel();return}this.updateActiveSignature(i&&n?0:t+1)}previous(){if(this.state.type!==1)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=t===0,n=this.editor.getOption(86).cycle;if((e<2||i)&&!n){this.cancel();return}this.updateActiveSignature(i&&n?e-1:t-1)}updateActiveSignature(e){this.state.type===1&&(this.state=new Eu.Active({...this.state.hints,activeSignature:e}),this._onChangedHints.fire(this.state.hints))}async doTrigger(e){const t=this.state.type===1||this.state.type===2,i=this.getLastActiveHints();if(this.cancel(!0),this._pendingTriggers.length===0)return!1;const n=this._pendingTriggers.reduce(J2e);this._pendingTriggers=[];const o={triggerKind:n.triggerKind,triggerCharacter:n.triggerCharacter,isRetrigger:t,activeSignatureHelp:i};if(!this.editor.hasModel())return!1;const r=this.editor.getModel(),a=this.editor.getPosition();this.state=new Eu.Pending(Dn(l=>UG(this.providers,r,a,o,l)),i);try{const l=await this.state.request;return e!==this.triggerId?(l==null||l.dispose(),!1):!l||!l.value.signatures||l.value.signatures.length===0?(l==null||l.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1):(this.state=new Eu.Active(l.value),this._lastSignatureHelpResult.value=l,this._onChangedHints.fire(this.state.hints),!0)}catch(l){return e===this.triggerId&&(this.state=Eu.Default),Xe(l),!1}}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return this.state.type===1||this.state.type===2||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars.clear(),this.retriggerChars.clear();const e=this.editor.getModel();if(e)for(const t of this.providers.ordered(e)){for(const i of t.signatureHelpTriggerCharacters||[])if(i.length){const n=i.charCodeAt(0);this.triggerChars.add(n),this.retriggerChars.add(n)}for(const i of t.signatureHelpRetriggerCharacters||[])i.length&&this.retriggerChars.add(i.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;const t=e.length-1,i=e.charCodeAt(t);(this.triggerChars.has(i)||this.isTriggered&&this.retriggerChars.has(i))&&this.trigger({triggerKind:ad.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){e.source===\"mouse\"?this.cancel():this.isTriggered&&this.trigger({triggerKind:ad.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:ad.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(86).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}Gk.DEFAULT_DELAY=120;function J2e(s,e){switch(e.triggerKind){case ad.Invoke:return e;case ad.ContentChange:return s;case ad.TriggerCharacter:default:return e}}var eMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},DT=function(s,e){return function(t,i){e(t,i,s)}},VR;const Ho=he,tMe=xi(\"parameter-hints-next\",oe.chevronDown,p(\"parameterHintsNextIcon\",\"Icon for show next parameter hint.\")),iMe=xi(\"parameter-hints-previous\",oe.chevronUp,p(\"parameterHintsPreviousIcon\",\"Icon for show previous parameter hint.\"));let kL=VR=class extends H{constructor(e,t,i,n,o){super(),this.editor=e,this.model=t,this.renderDisposeables=this._register(new Y),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new yd({editor:e},o,n)),this.keyVisible=Kf.Visible.bindTo(i),this.keyMultipleSignatures=Kf.MultipleSignatures.bindTo(i)}createParameterHintDOMNodes(){const e=Ho(\".editor-widget.parameter-hints-widget\"),t=Q(e,Ho(\".phwrapper\"));t.tabIndex=-1;const i=Q(t,Ho(\".controls\")),n=Q(i,Ho(\".button\"+Pe.asCSSSelector(iMe))),o=Q(i,Ho(\".overloads\")),r=Q(i,Ho(\".button\"+Pe.asCSSSelector(tMe)));this._register(K(n,\"click\",h=>{nt.stop(h),this.previous()})),this._register(K(r,\"click\",h=>{nt.stop(h),this.next()}));const a=Ho(\".body\"),l=new C1(a,{alwaysConsumeMouseWheel:!0});this._register(l),t.appendChild(l.getDomNode());const d=Q(a,Ho(\".signature\")),c=Q(a,Ho(\".docs\"));e.style.userSelect=\"text\",this.domNodes={element:e,signature:d,overloads:o,docs:c,scrollbar:l},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(h=>{this.visible&&this.editor.layoutContentWidget(this)}));const u=()=>{if(!this.domNodes)return;const h=this.editor.getOption(50);this.domNodes.element.style.fontSize=`${h.fontSize}px`,this.domNodes.element.style.lineHeight=`${h.lineHeight/h.fontSize}`};u(),this._register(le.chain(this.editor.onDidChangeConfiguration.bind(this.editor),h=>h.filter(g=>g.hasChanged(50)))(u)),this._register(this.editor.onDidLayoutChange(h=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var e;(e=this.domNodes)===null||e===void 0||e.element.classList.add(\"visible\")},100),this.editor.layoutContentWidget(this))}hide(){var e;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,(e=this.domNodes)===null||e===void 0||e.element.classList.remove(\"visible\"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;const i=e.signatures.length>1;this.domNodes.element.classList.toggle(\"multiple\",i),this.keyMultipleSignatures.set(i),this.domNodes.signature.innerText=\"\",this.domNodes.docs.innerText=\"\";const n=e.signatures[e.activeSignature];if(!n)return;const o=Q(this.domNodes.signature,Ho(\".code\")),r=this.editor.getOption(50);o.style.fontSize=`${r.fontSize}px`,o.style.fontFamily=r.fontFamily;const a=n.parameters.length>0,l=(t=n.activeParameter)!==null&&t!==void 0?t:e.activeParameter;if(a)this.renderParameters(o,n,l);else{const u=Q(o,Ho(\"span\"));u.textContent=n.label}const d=n.parameters[l];if(d!=null&&d.documentation){const u=Ho(\"span.documentation\");if(typeof d.documentation==\"string\")u.textContent=d.documentation;else{const h=this.renderMarkdownDocs(d.documentation);u.appendChild(h.element)}Q(this.domNodes.docs,Ho(\"p\",{},u))}if(n.documentation!==void 0)if(typeof n.documentation==\"string\")Q(this.domNodes.docs,Ho(\"p\",{},n.documentation));else{const u=this.renderMarkdownDocs(n.documentation);Q(this.domNodes.docs,u.element)}const c=this.hasDocs(n,d);if(this.domNodes.signature.classList.toggle(\"has-docs\",c),this.domNodes.docs.classList.toggle(\"empty\",!c),this.domNodes.overloads.textContent=String(e.activeSignature+1).padStart(e.signatures.length.toString().length,\"0\")+\"/\"+e.signatures.length,d){let u=\"\";const h=n.parameters[l];Array.isArray(h.label)?u=n.label.substring(h.label[0],h.label[1]):u=h.label,h.documentation&&(u+=typeof h.documentation==\"string\"?`, ${h.documentation}`:`, ${h.documentation.value}`),n.documentation&&(u+=typeof n.documentation==\"string\"?`, ${n.documentation}`:`, ${n.documentation.value}`),this.announcedLabel!==u&&(fo(p(\"hint\",\"{0}, hint\",u)),this.announcedLabel=u)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(e){const t=this.renderDisposeables.add(this.markdownRenderer.render(e,{asyncRenderCallback:()=>{var i;(i=this.domNodes)===null||i===void 0||i.scrollbar.scanDomNode()}}));return t.element.classList.add(\"markdown-docs\"),t}hasDocs(e,t){return!!(t&&typeof t.documentation==\"string\"&&Ou(t.documentation).length>0||t&&typeof t.documentation==\"object\"&&Ou(t.documentation).value.length>0||e.documentation&&typeof e.documentation==\"string\"&&Ou(e.documentation).length>0||e.documentation&&typeof e.documentation==\"object\"&&Ou(e.documentation.value).length>0)}renderParameters(e,t,i){const[n,o]=this.getParameterLabelOffsets(t,i),r=document.createElement(\"span\");r.textContent=t.label.substring(0,n);const a=document.createElement(\"span\");a.textContent=t.label.substring(n,o),a.className=\"parameter active\";const l=document.createElement(\"span\");l.textContent=t.label.substring(o),Q(e,r,a,l)}getParameterLabelOffsets(e,t){const i=e.parameters[t];if(i){if(Array.isArray(i.label))return i.label;if(i.label.length){const n=new RegExp(`(\\\\W|^)${rr(i.label)}(?=\\\\W|$)`,\"g\");n.test(e.label);const o=n.lastIndex-i.label.length;return o>=0?[o,n.lastIndex]:[0,0]}else return[0,0]}else return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return VR.ID}updateMaxHeight(){if(!this.domNodes)return;const t=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=t;const i=this.domNodes.element.getElementsByClassName(\"phwrapper\");i.length&&(i[0].style.maxHeight=t)}};kL.ID=\"editor.widget.parameterHintsWidget\";kL=VR=eMe([DT(2,Be),DT(3,Bo),DT(4,vi)],kL);N(\"editorHoverWidget.highlightForeground\",{dark:da,light:da,hcDark:da,hcLight:da},p(\"editorHoverWidgetHighlightForeground\",\"Foreground color of the active item in the parameter hint.\"));var nMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},j9=function(s,e){return function(t,i){e(t,i,s)}},zR;let qf=zR=class extends H{static get(e){return e.getContribution(zR.ID)}constructor(e,t,i){super(),this.editor=e,this.model=this._register(new Gk(e,i.signatureHelpProvider)),this._register(this.model.onChangedHints(n=>{var o;n?(this.widget.value.show(),this.widget.value.render(n)):(o=this.widget.rawValue)===null||o===void 0||o.hide()})),this.widget=new gl(()=>this._register(t.createInstance(kL,this.editor,this.model)))}cancel(){this.model.cancel()}previous(){var e;(e=this.widget.rawValue)===null||e===void 0||e.previous()}next(){var e;(e=this.widget.rawValue)===null||e===void 0||e.next()}trigger(e){this.model.trigger(e,0)}};qf.ID=\"editor.controller.parameterHints\";qf=zR=nMe([j9(1,Ne),j9(2,Ce)],qf);class sMe extends me{constructor(){super({id:\"editor.action.triggerParameterHints\",label:p(\"parameterHints.trigger.label\",\"Trigger Parameter Hints\"),alias:\"Trigger Parameter Hints\",precondition:T.hasSignatureHelpProvider,kbOpts:{kbExpr:T.editorTextFocus,primary:3082,weight:100}})}run(e,t){const i=qf.get(t);i==null||i.trigger({triggerKind:ad.Invoke})}}kt(qf.ID,qf,2);te(sMe);const V4=175,z4=mn.bindToContribution(qf.get);de(new z4({id:\"closeParameterHints\",precondition:Kf.Visible,handler:s=>s.cancel(),kbOpts:{weight:V4,kbExpr:T.focus,primary:9,secondary:[1033]}}));de(new z4({id:\"showPrevParameterHint\",precondition:G.and(Kf.Visible,Kf.MultipleSignatures),handler:s=>s.previous(),kbOpts:{weight:V4,kbExpr:T.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}}));de(new z4({id:\"showNextParameterHint\",precondition:G.and(Kf.Visible,Kf.MultipleSignatures),handler:s=>s.next(),kbOpts:{weight:V4,kbExpr:T.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}));var oMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ty=function(s,e){return function(t,i){e(t,i,s)}};const L0=new ue(\"renameInputVisible\",!1,p(\"renameInputVisible\",\"Whether the rename input widget is visible\"));new ue(\"renameInputFocused\",!1,p(\"renameInputFocused\",\"Whether the rename input widget is focused\"));let UR=class{constructor(e,t,i,n,o,r){this._editor=e,this._acceptKeybindings=t,this._themeService=i,this._keybindingService=n,this._logService=r,this.allowEditorOverflow=!0,this._disposables=new Y,this._visibleContextKey=L0.bindTo(o),this._isEditingRenameCandidate=!1,this._nRenameSuggestionsInvocations=0,this._hadAutomaticRenameSuggestionsInvocation=!1,this._candidates=new Set,this._beforeFirstInputFieldEditSW=new Jn,this._inputWithButton=new rMe,this._disposables.add(this._inputWithButton),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(a=>{a.hasChanged(50)&&this._updateFont()})),this._disposables.add(i.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return\"__renameInputWidget\"}getDomNode(){return this._domNode||(this._domNode=document.createElement(\"div\"),this._domNode.className=\"monaco-editor rename-box\",this._domNode.appendChild(this._inputWithButton.domNode),this._renameCandidateListView=this._disposables.add(new U4(this._domNode,{fontInfo:this._editor.getOption(50),onFocusChange:e=>{this._inputWithButton.input.value=e,this._isEditingRenameCandidate=!1},onSelectionChange:()=>{this._isEditingRenameCandidate=!1,this.acceptInput(!1)}})),this._disposables.add(this._inputWithButton.onDidInputChange(()=>{var e,t,i,n;((e=this._renameCandidateListView)===null||e===void 0?void 0:e.focusedCandidate)!==void 0&&(this._isEditingRenameCandidate=!0),(t=this._timeBeforeFirstInputFieldEdit)!==null&&t!==void 0||(this._timeBeforeFirstInputFieldEdit=this._beforeFirstInputFieldEditSW.elapsed()),((i=this._renameCandidateProvidersCts)===null||i===void 0?void 0:i.token.isCancellationRequested)===!1&&this._renameCandidateProvidersCts.cancel(),(n=this._renameCandidateListView)===null||n===void 0||n.clearFocus()})),this._label=document.createElement(\"div\"),this._label.className=\"rename-label\",this._domNode.appendChild(this._label),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(e){var t,i,n,o,r;if(!this._domNode)return;const a=e.getColor(vc),l=e.getColor(IU);this._domNode.style.backgroundColor=String((t=e.getColor(Hi))!==null&&t!==void 0?t:\"\"),this._domNode.style.boxShadow=a?` 0 0 8px 2px ${a}`:\"\",this._domNode.style.border=l?`1px solid ${l}`:\"\",this._domNode.style.color=String((i=e.getColor(NU))!==null&&i!==void 0?i:\"\");const d=e.getColor(AU);this._inputWithButton.domNode.style.backgroundColor=String((n=e.getColor(EA))!==null&&n!==void 0?n:\"\"),this._inputWithButton.input.style.backgroundColor=String((o=e.getColor(EA))!==null&&o!==void 0?o:\"\"),this._inputWithButton.domNode.style.borderWidth=d?\"1px\":\"0px\",this._inputWithButton.domNode.style.borderStyle=d?\"solid\":\"none\",this._inputWithButton.domNode.style.borderColor=(r=d==null?void 0:d.toString())!==null&&r!==void 0?r:\"none\"}_updateFont(){if(this._domNode===void 0)return;yt(this._label!==void 0,\"RenameWidget#_updateFont: _label must not be undefined given _domNode is defined\"),this._editor.applyFontInfo(this._inputWithButton.input);const e=this._editor.getOption(50);this._label.style.fontSize=`${this._computeLabelFontSize(e.fontSize)}px`}_computeLabelFontSize(e){return e*.8}getPosition(){if(!this._visible||!this._editor.hasModel()||!this._editor.getDomNode())return null;const e=Eh(this.getDomNode().ownerDocument.body),t=qi(this._editor.getDomNode()),i=this._getTopForPosition();this._nPxAvailableAbove=i+t.top,this._nPxAvailableBelow=e.height-this._nPxAvailableAbove;const n=this._editor.getOption(67),{totalHeight:o}=Gf.getLayoutInfo({lineHeight:n}),r=this._nPxAvailableBelow>o*6?[2,1]:[1,2];return{position:this._position,preference:r}}beforeRender(){var e,t;const[i,n]=this._acceptKeybindings;return this._label.innerText=p({},\"{0} to Rename, {1} to Preview\",(e=this._keybindingService.lookupKeybinding(i))===null||e===void 0?void 0:e.getLabel(),(t=this._keybindingService.lookupKeybinding(n))===null||t===void 0?void 0:t.getLabel()),this._domNode.style.minWidth=\"200px\",null}afterRender(e){if(this._trace(\"invoking afterRender, position: \",e?\"not null\":\"null\"),e===null){this.cancelInput(!0,\"afterRender (because position is null)\");return}if(!this._editor.hasModel()||!this._editor.getDomNode())return;yt(this._renameCandidateListView),yt(this._nPxAvailableAbove!==void 0),yt(this._nPxAvailableBelow!==void 0);const t=uc(this._inputWithButton.domNode),i=uc(this._label);let n;e===2?n=this._nPxAvailableBelow:n=this._nPxAvailableAbove,this._renameCandidateListView.layout({height:n-i-t,width:wo(this._inputWithButton.domNode)})}acceptInput(e){var t;this._trace(\"invoking acceptInput\"),(t=this._currentAcceptInput)===null||t===void 0||t.call(this,e)}cancelInput(e,t){var i;this._trace(`invoking cancelInput, caller: ${t}, _currentCancelInput: ${this._currentAcceptInput?\"not undefined\":\"undefined\"}`),(i=this._currentCancelInput)===null||i===void 0||i.call(this,e)}focusNextRenameSuggestion(){var e;!((e=this._renameCandidateListView)===null||e===void 0)&&e.focusNext()||(this._inputWithButton.input.value=this._currentName)}focusPreviousRenameSuggestion(){var e;!((e=this._renameCandidateListView)===null||e===void 0)&&e.focusPrevious()||(this._inputWithButton.input.value=this._currentName)}getInput(e,t,i,n,o){const{start:r,end:a}=this._getSelection(e,t);this._renameCts=o;const l=new Y;this._nRenameSuggestionsInvocations=0,this._hadAutomaticRenameSuggestionsInvocation=!1,n===void 0?this._inputWithButton.button.style.display=\"none\":(this._inputWithButton.button.style.display=\"flex\",this._requestRenameCandidatesOnce=n,this._requestRenameCandidates(t,!1),l.add(K(this._inputWithButton.button,\"click\",()=>this._requestRenameCandidates(t,!0))),l.add(K(this._inputWithButton.button,ee.KEY_DOWN,c=>{const u=new Kt(c);(u.equals(3)||u.equals(10))&&(u.stopPropagation(),u.preventDefault(),this._requestRenameCandidates(t,!0))}))),this._isEditingRenameCandidate=!1,this._domNode.classList.toggle(\"preview\",i),this._position=new W(e.startLineNumber,e.startColumn),this._currentName=t,this._inputWithButton.input.value=t,this._inputWithButton.input.setAttribute(\"selectionStart\",r.toString()),this._inputWithButton.input.setAttribute(\"selectionEnd\",a.toString()),this._inputWithButton.input.size=Math.max((e.endColumn-e.startColumn)*1.1,20),this._beforeFirstInputFieldEditSW.reset(),l.add(Ie(()=>{this._renameCts=void 0,o.dispose(!0)})),l.add(Ie(()=>{this._renameCandidateProvidersCts!==void 0&&(this._renameCandidateProvidersCts.dispose(!0),this._renameCandidateProvidersCts=void 0)})),l.add(Ie(()=>this._candidates.clear()));const d=new ZL;return d.p.finally(()=>{l.dispose(),this._hide()}),this._currentCancelInput=c=>{var u;return this._trace(\"invoking _currentCancelInput\"),this._currentAcceptInput=void 0,this._currentCancelInput=void 0,(u=this._renameCandidateListView)===null||u===void 0||u.clearCandidates(),d.complete(c),!0},this._currentAcceptInput=c=>{this._trace(\"invoking _currentAcceptInput\"),yt(this._renameCandidateListView!==void 0);const u=this._renameCandidateListView.nCandidates;let h,g;const f=this._renameCandidateListView.focusedCandidate;if(f!==void 0?(this._trace(\"using new name from renameSuggestion\"),h=f,g={k:\"renameSuggestion\"}):(this._trace(\"using new name from inputField\"),h=this._inputWithButton.input.value,g=this._isEditingRenameCandidate?{k:\"userEditedRenameSuggestion\"}:{k:\"inputField\"}),h===t||h.trim().length===0){this.cancelInput(!0,\"_currentAcceptInput (because newName === value || newName.trim().length === 0)\");return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,this._renameCandidateListView.clearCandidates(),d.complete({newName:h,wantsPreview:i&&c,stats:{source:g,nRenameSuggestions:u,timeBeforeFirstInputFieldEdit:this._timeBeforeFirstInputFieldEdit,nRenameSuggestionsInvocations:this._nRenameSuggestionsInvocations,hadAutomaticRenameSuggestionsInvocation:this._hadAutomaticRenameSuggestionsInvocation}})},l.add(o.token.onCancellationRequested(()=>this.cancelInput(!0,\"cts.token.onCancellationRequested\"))),l.add(this._editor.onDidBlurEditorWidget(()=>{var c;return this.cancelInput(!(!((c=this._domNode)===null||c===void 0)&&c.ownerDocument.hasFocus()),\"editor.onDidBlurEditorWidget\")})),this._show(),d.p}_requestRenameCandidates(e,t){if(this._requestRenameCandidatesOnce!==void 0&&(this._renameCandidateProvidersCts!==void 0&&this._renameCandidateProvidersCts.dispose(!0),yt(this._renameCts),this._inputWithButton.buttonState!==\"stop\")){this._renameCandidateProvidersCts=new Vi;const i=t?Mb.Invoke:Mb.Automatic,n=this._requestRenameCandidatesOnce(i,this._renameCandidateProvidersCts.token);if(n.length===0){this._inputWithButton.setSparkleButton();return}t||(this._hadAutomaticRenameSuggestionsInvocation=!0),this._nRenameSuggestionsInvocations+=1,this._inputWithButton.setStopButton(),this._updateRenameCandidates(n,e,this._renameCts.token)}}_getSelection(e,t){yt(this._editor.hasModel());const i=this._editor.getSelection();let n=0,o=t.length;return!x.isEmpty(i)&&!x.spansMultipleLines(i)&&x.containsRange(e,i)&&(n=Math.max(0,i.startColumn-e.startColumn),o=Math.min(e.endColumn,i.endColumn)-e.startColumn),{start:n,end:o}}_show(){this._trace(\"invoking _show\"),this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._inputWithButton.input.focus(),this._inputWithButton.input.setSelectionRange(parseInt(this._inputWithButton.input.getAttribute(\"selectionStart\")),parseInt(this._inputWithButton.input.getAttribute(\"selectionEnd\")))},100)}async _updateRenameCandidates(e,t,i){const n=(...d)=>this._trace(\"_updateRenameCandidates\",...d);n(\"start\");const o=await h1(Promise.allSettled(e),i);if(this._inputWithButton.setSparkleButton(),o===void 0){n(\"returning early - received updateRenameCandidates results - undefined\");return}const r=o.flatMap(d=>d.status===\"fulfilled\"&&rd(d.value)?d.value:[]);n(`received updateRenameCandidates results - total (unfiltered) ${r.length} candidates.`);const a=Wc(r,d=>d.newSymbolName);n(`distinct candidates - ${a.length} candidates.`);const l=a.filter(({newSymbolName:d})=>d.trim().length>0&&d!==this._inputWithButton.input.value&&d!==t&&!this._candidates.has(d));if(n(`valid distinct candidates - ${r.length} candidates.`),l.forEach(d=>this._candidates.add(d.newSymbolName)),l.length<1){n(\"returning early - no valid distinct candidates\");return}n(\"setting candidates\"),this._renameCandidateListView.setCandidates(l),n(\"asking editor to re-layout\"),this._editor.layoutContentWidget(this)}_hide(){this._trace(\"invoked _hide\"),this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}_getTopForPosition(){const e=this._editor.getVisibleRanges();let t;return e.length>0?t=e[0].startLineNumber:(this._logService.warn(\"RenameWidget#_getTopForPosition: this should not happen - visibleRanges is empty\"),t=Math.max(1,this._position.lineNumber-5)),this._editor.getTopForLineNumber(this._position.lineNumber)-this._editor.getTopForLineNumber(t)}_trace(...e){this._logService.trace(\"RenameWidget\",...e)}};UR=oMe([Ty(2,_n),Ty(3,At),Ty(4,Be),Ty(5,ys)],UR);class U4{constructor(e,t){this._disposables=new Y,this._availableHeight=0,this._minimumWidth=0,this._lineHeight=t.fontInfo.lineHeight,this._typicalHalfwidthCharacterWidth=t.fontInfo.typicalHalfwidthCharacterWidth,this._listContainer=document.createElement(\"div\"),this._listContainer.className=\"rename-box rename-candidate-list-container\",e.appendChild(this._listContainer),this._listWidget=U4._createListWidget(this._listContainer,this._candidateViewHeight,t.fontInfo),this._listWidget.onDidChangeFocus(i=>{i.elements.length===1&&t.onFocusChange(i.elements[0].newSymbolName)},this._disposables),this._listWidget.onDidChangeSelection(i=>{i.elements.length===1&&t.onSelectionChange()},this._disposables),this._disposables.add(this._listWidget.onDidBlur(i=>{this._listWidget.setFocus([])})),this._listWidget.style(up({listInactiveFocusForeground:Uu,listInactiveFocusBackground:$u}))}dispose(){this._listWidget.dispose(),this._disposables.dispose()}layout({height:e,width:t}){this._availableHeight=e,this._minimumWidth=t}setCandidates(e){this._listWidget.splice(0,0,e);const t=this._pickListHeight(this._listWidget.length),i=this._pickListWidth(e);this._listWidget.layout(t,i),this._listContainer.style.height=`${t}px`,this._listContainer.style.width=`${i}px`,Uc(p(\"renameSuggestionsReceivedAria\",\"Received {0} rename suggestions\",e.length))}clearCandidates(){this._listContainer.style.height=\"0px\",this._listContainer.style.width=\"0px\",this._listWidget.splice(0,this._listWidget.length,[])}get nCandidates(){return this._listWidget.length}get focusedCandidate(){if(this._listWidget.length===0)return;const e=this._listWidget.getSelectedElements()[0];if(e!==void 0)return e.newSymbolName;const t=this._listWidget.getFocusedElements()[0];if(t!==void 0)return t.newSymbolName}focusNext(){if(this._listWidget.length===0)return!1;const e=this._listWidget.getFocus();if(e.length===0)return this._listWidget.focusFirst(),this._listWidget.reveal(0),!0;if(e[0]===this._listWidget.length-1)return this._listWidget.setFocus([]),this._listWidget.reveal(0),!1;{this._listWidget.focusNext();const t=this._listWidget.getFocus()[0];return this._listWidget.reveal(t),!0}}focusPrevious(){if(this._listWidget.length===0)return!1;const e=this._listWidget.getFocus();if(e.length===0){this._listWidget.focusLast();const t=this._listWidget.getFocus()[0];return this._listWidget.reveal(t),!0}else{if(e[0]===0)return this._listWidget.setFocus([]),!1;{this._listWidget.focusPrevious();const t=this._listWidget.getFocus()[0];return this._listWidget.reveal(t),!0}}}clearFocus(){this._listWidget.setFocus([])}get _candidateViewHeight(){const{totalHeight:e}=Gf.getLayoutInfo({lineHeight:this._lineHeight});return e}_pickListHeight(e){const t=this._candidateViewHeight*e;return Math.min(t,this._availableHeight,this._candidateViewHeight*7)}_pickListWidth(e){const t=Math.ceil(Math.max(...e.map(n=>n.newSymbolName.length))*this._typicalHalfwidthCharacterWidth);return Math.max(this._minimumWidth,25+t+10)}static _createListWidget(e,t,i){const n=new class{getTemplateId(r){return\"candidate\"}getHeight(r){return t}},o=new class{constructor(){this.templateId=\"candidate\"}renderTemplate(r){return new Gf(r,i)}renderElement(r,a,l){l.populate(r)}disposeTemplate(r){r.dispose()}};return new pr(\"NewSymbolNameCandidates\",e,n,[o],{keyboardSupport:!1,mouseSupport:!0,multipleSelectionSupport:!1})}}class rMe{constructor(){this._onDidInputChange=new B,this.onDidInputChange=this._onDidInputChange.event,this._disposables=new Y}get domNode(){return this._domNode||(this._domNode=document.createElement(\"div\"),this._domNode.className=\"rename-input-with-button\",this._domNode.style.display=\"flex\",this._domNode.style.flexDirection=\"row\",this._domNode.style.alignItems=\"center\",this._inputNode=document.createElement(\"input\"),this._inputNode.className=\"rename-input\",this._inputNode.type=\"text\",this._inputNode.style.border=\"none\",this._inputNode.setAttribute(\"aria-label\",p(\"renameAriaLabel\",\"Rename input. Type new name and press Enter to commit.\")),this._domNode.appendChild(this._inputNode),this._buttonNode=document.createElement(\"div\"),this._buttonNode.className=\"rename-suggestions-button\",this._buttonNode.setAttribute(\"tabindex\",\"0\"),this._buttonGenHoverText=p(\"generateRenameSuggestionsButton\",\"Generate new name suggestions\"),this._buttonCancelHoverText=p(\"cancelRenameSuggestionsButton\",\"Cancel\"),this._buttonHover=_l().setupUpdatableHover(Xs(\"element\"),this._buttonNode,this._buttonGenHoverText),this._disposables.add(this._buttonHover),this._domNode.appendChild(this._buttonNode),this._disposables.add(K(this.input,ee.INPUT,()=>this._onDidInputChange.fire())),this._disposables.add(K(this.input,ee.KEY_DOWN,e=>{const t=new Kt(e);(t.keyCode===15||t.keyCode===17)&&this._onDidInputChange.fire()})),this._disposables.add(K(this.input,ee.CLICK,()=>this._onDidInputChange.fire())),this._disposables.add(K(this.input,ee.FOCUS,()=>{this.domNode.style.outlineWidth=\"1px\",this.domNode.style.outlineStyle=\"solid\",this.domNode.style.outlineOffset=\"-1px\",this.domNode.style.outlineColor=\"var(--vscode-focusBorder)\"})),this._disposables.add(K(this.input,ee.BLUR,()=>{this.domNode.style.outline=\"none\"}))),this._domNode}get input(){return yt(this._inputNode),this._inputNode}get button(){return yt(this._buttonNode),this._buttonNode}get buttonState(){return this._buttonState}setSparkleButton(){var e,t;this._buttonState=\"sparkle\",(e=this._sparkleIcon)!==null&&e!==void 0||(this._sparkleIcon=Ef(oe.sparkle)),zn(this.button),this.button.appendChild(this._sparkleIcon),this.button.setAttribute(\"aria-label\",\"Generating new name suggestions\"),(t=this._buttonHover)===null||t===void 0||t.update(this._buttonGenHoverText),this.input.focus()}setStopButton(){var e,t;this._buttonState=\"stop\",(e=this._stopIcon)!==null&&e!==void 0||(this._stopIcon=Ef(oe.primitiveSquare)),zn(this.button),this.button.appendChild(this._stopIcon),this.button.setAttribute(\"aria-label\",\"Cancel generating new name suggestions\"),(t=this._buttonHover)===null||t===void 0||t.update(this._buttonCancelHoverText),this.input.focus()}dispose(){this._disposables.dispose()}}class Gf{constructor(e,t){this._domNode=document.createElement(\"div\"),this._domNode.className=\"rename-box rename-candidate\",this._domNode.style.display=\"flex\",this._domNode.style.columnGap=\"5px\",this._domNode.style.alignItems=\"center\",this._domNode.style.height=`${t.lineHeight}px`,this._domNode.style.padding=`${Gf._PADDING}px`;const i=document.createElement(\"div\");i.style.display=\"flex\",i.style.alignItems=\"center\",i.style.width=i.style.height=`${t.lineHeight*.8}px`,this._domNode.appendChild(i),this._icon=Ef(oe.sparkle),this._icon.style.display=\"none\",i.appendChild(this._icon),this._label=document.createElement(\"div\"),Un(this._label,t),this._domNode.appendChild(this._label),e.appendChild(this._domNode)}populate(e){this._updateIcon(e),this._updateLabel(e)}_updateIcon(e){var t;const i=!!(!((t=e.tags)===null||t===void 0)&&t.includes(nN.AIGenerated));this._icon.style.display=i?\"inherit\":\"none\"}_updateLabel(e){this._label.innerText=e.newSymbolName}static getLayoutInfo({lineHeight:e}){return{totalHeight:e+Gf._PADDING*2}}dispose(){}}Gf._PADDING=2;var aMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},bu=function(s,e){return function(t,i){e(t,i,s)}},$R;class $4{constructor(e,t,i){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=i.ordered(e)}hasProvider(){return this._providers.length>0}async resolveRenameLocation(e){const t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const n=this._providers[this._providerRenameIdx];if(!n.resolveRenameLocation)break;const o=await n.resolveRenameLocation(this.model,this.position,e);if(o){if(o.rejectReason){t.push(o.rejectReason);continue}return o}}this._providerRenameIdx=0;const i=this.model.getWordAtPosition(this.position);return i?{range:new x(this.position.lineNumber,i.startColumn,this.position.lineNumber,i.endColumn),text:i.word,rejectReason:t.length>0?t.join(`\n`):void 0}:{range:x.fromPositions(this.position),text:\"\",rejectReason:t.length>0?t.join(`\n`):void 0}}async provideRenameEdits(e,t){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)}async _provideRenameEdits(e,t,i,n){const o=this._providers[t];if(!o)return{edits:[],rejectReason:i.join(`\n`)};const r=await o.provideRenameEdits(this.model,this.position,e,n);if(r){if(r.rejectReason)return this._provideRenameEdits(e,t+1,i.concat(r.rejectReason),n)}else return this._provideRenameEdits(e,t+1,i.concat(p(\"no result\",\"No result.\")),n);return r}}async function lMe(s,e,t,i){const n=new $4(e,t,s),o=await n.resolveRenameLocation(dt.None);return o!=null&&o.rejectReason?{edits:[],rejectReason:o.rejectReason}:n.provideRenameEdits(i,dt.None)}let Gc=$R=class{static get(e){return e.getContribution($R.ID)}constructor(e,t,i,n,o,r,a,l,d){this.editor=e,this._instaService=t,this._notificationService=i,this._bulkEditService=n,this._progressService=o,this._logService=r,this._configService=a,this._languageFeaturesService=l,this._telemetryService=d,this._disposableStore=new Y,this._cts=new Vi,this._renameWidget=this._disposableStore.add(this._instaService.createInstance(UR,this.editor,[\"acceptRenameInput\",\"acceptRenameInputWithPreview\"]))}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}async run(){var e,t;const i=this._logService.trace.bind(this._logService,\"[rename]\");if(this._cts.dispose(!0),this._cts=new Vi,!this.editor.hasModel()){i(\"editor has no model\");return}const n=this.editor.getPosition(),o=new $4(this.editor.getModel(),n,this._languageFeaturesService.renameProvider);if(!o.hasProvider()){i(\"skeleton has no provider\");return}const r=new Bh(this.editor,5,void 0,this._cts.token);let a;try{i(\"resolving rename location\");const _=o.resolveRenameLocation(r.token);this._progressService.showWhile(_,250),a=await _,i(\"resolved rename location\")}catch(_){_ instanceof sl?i(\"resolve rename location cancelled\",JSON.stringify(_,null,\"\t\")):(i(\"resolve rename location failed\",_ instanceof Error?_:JSON.stringify(_,null,\"\t\")),(typeof _==\"string\"||tl(_))&&((e=Vs.get(this.editor))===null||e===void 0||e.showMessage(_||p(\"resolveRenameLocationFailed\",\"An unknown error occurred while resolving rename location\"),n)));return}finally{r.dispose()}if(!a){i(\"returning early - no loc\");return}if(a.rejectReason){i(`returning early - rejected with reason: ${a.rejectReason}`,a.rejectReason),(t=Vs.get(this.editor))===null||t===void 0||t.showMessage(a.rejectReason,n);return}if(r.token.isCancellationRequested){i(\"returning early - cts1 cancelled\");return}const l=new Bh(this.editor,5,a.range,this._cts.token),d=this.editor.getModel(),c=this._languageFeaturesService.newSymbolNamesProvider.all(d),u=await Promise.all(c.map(async _=>{var v;return[_,(v=await _.supportsAutomaticNewSymbolNamesTriggerKind)!==null&&v!==void 0?v:!1]})),h=(_,v)=>{let b=u.slice();return _===Mb.Automatic&&(b=b.filter(([C,w])=>w)),b.map(([C])=>C.provideNewSymbolNames(d,a.range,_,v))};i(\"creating rename input field and awaiting its result\");const g=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,\"editor.rename.enablePreview\"),f=await this._renameWidget.getInput(a.range,a.text,g,c.length>0?h:void 0,l);if(i(\"received response from rename input field\"),c.length>0&&this._reportTelemetry(c.length,d.getLanguageId(),f),typeof f==\"boolean\"){i(`returning early - rename input field response - ${f}`),f&&this.editor.focus(),l.dispose();return}this.editor.focus(),i(\"requesting rename edits\");const m=h1(o.provideRenameEdits(f.newName,l.token),l.token).then(async _=>{if(!_){i(\"returning early - no rename edits result\");return}if(!this.editor.hasModel()){i(\"returning early - no model after rename edits are provided\");return}if(_.rejectReason){i(`returning early - rejected with reason: ${_.rejectReason}`),this._notificationService.info(_.rejectReason);return}this.editor.setSelection(x.fromPositions(this.editor.getSelection().getPosition())),i(\"applying edits\"),this._bulkEditService.apply(_,{editor:this.editor,showPreview:f.wantsPreview,label:p(\"label\",\"Renaming '{0}' to '{1}'\",a==null?void 0:a.text,f.newName),code:\"undoredo.rename\",quotableLabel:p(\"quotableLabel\",\"Renaming {0} to {1}\",a==null?void 0:a.text,f.newName),respectAutoSaveConfig:!0}).then(v=>{i(\"edits applied\"),v.ariaSummary&&fo(p(\"aria\",\"Successfully renamed '{0}' to '{1}'. Summary: {2}\",a.text,f.newName,v.ariaSummary))}).catch(v=>{i(`error when applying edits ${JSON.stringify(v,null,\"\t\")}`),this._notificationService.error(p(\"rename.failedApply\",\"Rename failed to apply edits\")),this._logService.error(v)})},_=>{i(\"error when providing rename edits\",JSON.stringify(_,null,\"\t\")),this._notificationService.error(p(\"rename.failed\",\"Rename failed to compute edits\")),this._logService.error(_)}).finally(()=>{l.dispose()});return i(\"returning rename operation\"),this._progressService.showWhile(m,250),m}acceptRenameInput(e){this._renameWidget.acceptInput(e)}cancelRenameInput(){this._renameWidget.cancelInput(!0,\"cancelRenameInput command\")}focusNextRenameSuggestion(){this._renameWidget.focusNextRenameSuggestion()}focusPreviousRenameSuggestion(){this._renameWidget.focusPreviousRenameSuggestion()}_reportTelemetry(e,t,i){const n=typeof i==\"boolean\"?{kind:\"cancelled\",languageId:t,nRenameSuggestionProviders:e}:{kind:\"accepted\",languageId:t,nRenameSuggestionProviders:e,source:i.stats.source.k,nRenameSuggestions:i.stats.nRenameSuggestions,timeBeforeFirstInputFieldEdit:i.stats.timeBeforeFirstInputFieldEdit,wantsPreview:i.wantsPreview,nRenameSuggestionsInvocations:i.stats.nRenameSuggestionsInvocations,hadAutomaticRenameSuggestionsInvocation:i.stats.hadAutomaticRenameSuggestionsInvocation};this._telemetryService.publicLog2(\"renameInvokedEvent\",n)}};Gc.ID=\"editor.contrib.renameController\";Gc=$R=aMe([bu(1,Ne),bu(2,en),bu(3,x1),bu(4,sg),bu(5,ys),bu(6,DF),bu(7,Ce),bu(8,Gs)],Gc);class dMe extends me{constructor(){super({id:\"editor.action.rename\",label:p(\"rename.label\",\"Rename Symbol\"),alias:\"Rename Symbol\",precondition:G.and(T.writable,T.hasRenameProvider),kbOpts:{kbExpr:T.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:\"1_modification\",order:1.1}})}runCommand(e,t){const i=e.get(xt),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return Ae.isUri(n)&&W.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(r=>{r&&(r.setPosition(o),r.invokeWithinContext(a=>(this.reportTelemetry(a,r),this.run(a,r))))},Xe):super.runCommand(e,t)}run(e,t){const i=e.get(ys),n=Gc.get(t);return n?(i.trace(\"[RenameAction] got controller, running...\"),n.run()):(i.trace(\"[RenameAction] returning early - controller missing\"),Promise.resolve())}}kt(Gc.ID,Gc,4);te(dMe);const j4=mn.bindToContribution(Gc.get);de(new j4({id:\"acceptRenameInput\",precondition:L0,handler:s=>s.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:G.and(T.focus,G.not(\"isComposing\")),primary:3}}));de(new j4({id:\"acceptRenameInputWithPreview\",precondition:G.and(L0,G.has(\"config.editor.rename.enablePreview\")),handler:s=>s.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:G.and(T.focus,G.not(\"isComposing\")),primary:2051}}));de(new j4({id:\"cancelRenameInput\",precondition:L0,handler:s=>s.cancelRenameInput(),kbOpts:{weight:199,kbExpr:T.focus,primary:9,secondary:[1033]}}));qt(class extends qs{constructor(){super({id:\"focusNextRenameSuggestion\",title:{...Ve(\"focusNextRenameSuggestion\",\"Focus Next Rename Suggestion\")},precondition:L0,keybinding:[{primary:18,weight:199}]})}run(e){const t=e.get(xt).getFocusedCodeEditor();if(!t)return;const i=Gc.get(t);i&&i.focusNextRenameSuggestion()}});qt(class extends qs{constructor(){super({id:\"focusPreviousRenameSuggestion\",title:{...Ve(\"focusPreviousRenameSuggestion\",\"Focus Previous Rename Suggestion\")},precondition:L0,keybinding:[{primary:16,weight:199}]})}run(e){const t=e.get(xt).getFocusedCodeEditor();if(!t)return;const i=Gc.get(t);i&&i.focusPreviousRenameSuggestion()}});Ad(\"_executeDocumentRenameProvider\",function(s,e,t,...i){const[n]=i;yt(typeof n==\"string\");const{renameProvider:o}=s.get(Ce);return lMe(o,e,t,n)});Ad(\"_executePrepareRename\",async function(s,e,t){const{renameProvider:i}=s.get(Ce),o=await new $4(e,t,i).resolveRenameLocation(dt.None);if(o!=null&&o.rejectReason)throw new Error(o.rejectReason);return o});Ji.as(pl.Configuration).registerConfiguration({id:\"editor\",properties:{\"editor.rename.enablePreview\":{scope:5,description:p(\"enablePreview\",\"Enable/disable the ability to preview changes before renaming\"),default:!0,type:\"boolean\"}}});var cMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},K9=function(s,e){return function(t,i){e(t,i,s)}};let YC=class extends H{constructor(e,t,i){super(),this.editor=e,this.languageConfigurationService=t,this.editorWorkerService=i,this.decorations=this.editor.createDecorationsCollection(),this.options=this.createOptions(e.getOption(73)),this.computePromise=null,this.currentOccurrences={},this._register(e.onDidChangeModel(n=>{this.currentOccurrences={},this.options=this.createOptions(e.getOption(73)),this.stop(),this.computeSectionHeaders.schedule(0)})),this._register(e.onDidChangeModelLanguage(n=>{this.currentOccurrences={},this.options=this.createOptions(e.getOption(73)),this.stop(),this.computeSectionHeaders.schedule(0)})),this._register(t.onDidChange(n=>{var o;const r=(o=this.editor.getModel())===null||o===void 0?void 0:o.getLanguageId();r&&n.affects(r)&&(this.currentOccurrences={},this.options=this.createOptions(e.getOption(73)),this.stop(),this.computeSectionHeaders.schedule(0))})),this._register(e.onDidChangeConfiguration(n=>{this.options&&!n.hasChanged(73)||(this.options=this.createOptions(e.getOption(73)),this.updateDecorations([]),this.stop(),this.computeSectionHeaders.schedule(0))})),this._register(this.editor.onDidChangeModelContent(n=>{this.computeSectionHeaders.schedule()})),this._register(e.onDidChangeModelTokens(n=>{this.computeSectionHeaders.isScheduled()||this.computeSectionHeaders.schedule(1e3)})),this.computeSectionHeaders=this._register(new Wt(()=>{this.findSectionHeaders()},250)),this.computeSectionHeaders.schedule(0)}createOptions(e){if(!e||!this.editor.hasModel())return;const t=this.editor.getModel().getLanguageId();if(!t)return;const i=this.languageConfigurationService.getLanguageConfiguration(t).comments,n=this.languageConfigurationService.getLanguageConfiguration(t).foldingRules;if(!(!i&&!(n!=null&&n.markers)))return{foldingRules:n,findMarkSectionHeaders:e.showMarkSectionHeaders,findRegionSectionHeaders:e.showRegionSectionHeaders}}findSectionHeaders(){var e,t;if(!this.editor.hasModel()||!(!((e=this.options)===null||e===void 0)&&e.findMarkSectionHeaders)&&!(!((t=this.options)===null||t===void 0)&&t.findRegionSectionHeaders))return;const i=this.editor.getModel();if(i.isDisposed()||i.isTooLargeForSyncing())return;const n=i.getVersionId();this.editorWorkerService.findSectionHeaders(i.uri,this.options).then(o=>{i.isDisposed()||i.getVersionId()!==n||this.updateDecorations(o)})}updateDecorations(e){const t=this.editor.getModel();t&&(e=e.filter(o=>{if(!o.shouldBeInComments)return!0;const r=t.validateRange(o.range),a=t.tokenization.getLineTokens(r.startLineNumber),l=a.findTokenIndexAtOffset(r.startColumn-1),d=a.getStandardTokenType(l);return a.getLanguageId(l)===t.getLanguageId()&&d===1}));const i=Object.values(this.currentOccurrences).map(o=>o.decorationId),n=e.map(o=>uMe(o));this.editor.changeDecorations(o=>{const r=o.deltaDecorations(i,n);this.currentOccurrences={};for(let a=0,l=r.length;a<l;a++){const d={sectionHeader:e[a],decorationId:r[a]};this.currentOccurrences[d.decorationId]=d}})}stop(){this.computeSectionHeaders.cancel(),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop(),this.decorations.clear()}};YC.ID=\"editor.sectionHeaderDetector\";YC=cMe([K9(1,Yt),K9(2,jr)],YC);function uMe(s){return{range:s.range,options:Ye.createDynamic({description:\"section-header\",stickiness:3,collapseOnReplaceEdit:!0,minimap:{color:void 0,position:1,sectionHeaderStyle:s.hasSeparatorLine?2:1,sectionHeaderText:s.text}})}}kt(YC.ID,YC,1);function hMe(s){for(let e=0,t=s.length;e<t;e+=4){const i=s[e+0],n=s[e+1],o=s[e+2],r=s[e+3];s[e+0]=r,s[e+1]=o,s[e+2]=n,s[e+3]=i}}function gMe(s){const e=new Uint8Array(s.buffer,s.byteOffset,s.length*4);return FV()||hMe(e),px.wrap(e)}function $G(s){const e=new Uint32Array(fMe(s));let t=0;if(e[t++]=s.id,s.type===\"full\")e[t++]=1,e[t++]=s.data.length,e.set(s.data,t),t+=s.data.length;else{e[t++]=2,e[t++]=s.deltas.length;for(const i of s.deltas)e[t++]=i.start,e[t++]=i.deleteCount,i.data?(e[t++]=i.data.length,e.set(i.data,t),t+=i.data.length):e[t++]=0}return gMe(e)}function fMe(s){let e=0;if(e+=2,s.type===\"full\")e+=1+s.data.length;else{e+=1,e+=3*s.deltas.length;for(const t of s.deltas)t.data&&(e+=t.data.length)}return e}function Zk(s){return s&&!!s.data}function jG(s){return s&&Array.isArray(s.edits)}class pMe{constructor(e,t,i){this.provider=e,this.tokens=t,this.error=i}}function KG(s,e){return s.has(e)}function mMe(s,e){const t=s.orderedGroups(e);return t.length>0?t[0]:[]}async function qG(s,e,t,i,n){const o=mMe(s,e),r=await Promise.all(o.map(async a=>{let l,d=null;try{l=await a.provideDocumentSemanticTokens(e,a===t?i:null,n)}catch(c){d=c,l=null}return(!l||!Zk(l)&&!jG(l))&&(l=null),new pMe(a,l,d)}));for(const a of r){if(a.error)throw a.error;if(a.tokens)return a}return r.length>0?r[0]:null}function _Me(s,e){const t=s.orderedGroups(e);return t.length>0?t[0]:null}class vMe{constructor(e,t){this.provider=e,this.tokens=t}}function bMe(s,e){return s.has(e)}function GG(s,e){const t=s.orderedGroups(e);return t.length>0?t[0]:[]}async function K4(s,e,t,i){const n=GG(s,e),o=await Promise.all(n.map(async r=>{let a;try{a=await r.provideDocumentRangeSemanticTokens(e,t,i)}catch(l){Ai(l),a=null}return(!a||!Zk(a))&&(a=null),new vMe(r,a)}));for(const r of o)if(r.tokens)return r;return o.length>0?o[0]:null}pt.registerCommand(\"_provideDocumentSemanticTokensLegend\",async(s,...e)=>{const[t]=e;yt(t instanceof Ae);const i=s.get(_i).getModel(t);if(!i)return;const{documentSemanticTokensProvider:n}=s.get(Ce),o=_Me(n,i);return o?o[0].getLegend():s.get(gi).executeCommand(\"_provideDocumentRangeSemanticTokensLegend\",t)});pt.registerCommand(\"_provideDocumentSemanticTokens\",async(s,...e)=>{const[t]=e;yt(t instanceof Ae);const i=s.get(_i).getModel(t);if(!i)return;const{documentSemanticTokensProvider:n}=s.get(Ce);if(!KG(n,i))return s.get(gi).executeCommand(\"_provideDocumentRangeSemanticTokens\",t,i.getFullModelRange());const o=await qG(n,i,null,null,dt.None);if(!o)return;const{provider:r,tokens:a}=o;if(!a||!Zk(a))return;const l=$G({id:0,type:\"full\",data:a.data});return a.resultId&&r.releaseDocumentSemanticTokens(a.resultId),l});pt.registerCommand(\"_provideDocumentRangeSemanticTokensLegend\",async(s,...e)=>{const[t,i]=e;yt(t instanceof Ae);const n=s.get(_i).getModel(t);if(!n)return;const{documentRangeSemanticTokensProvider:o}=s.get(Ce),r=GG(o,n);if(r.length===0)return;if(r.length===1)return r[0].getLegend();if(!i||!x.isIRange(i))return console.warn(\"provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in\"),r[0].getLegend();const a=await K4(o,n,x.lift(i),dt.None);if(a)return a.provider.getLegend()});pt.registerCommand(\"_provideDocumentRangeSemanticTokens\",async(s,...e)=>{const[t,i]=e;yt(t instanceof Ae),yt(x.isIRange(i));const n=s.get(_i).getModel(t);if(!n)return;const{documentRangeSemanticTokensProvider:o}=s.get(Ce),r=await K4(o,n,x.lift(i),dt.None);if(!(!r||!r.tokens))return $G({id:0,type:\"full\",data:r.tokens.data})});const q4=\"editor.semanticHighlighting\";function _S(s,e,t){var i;const n=(i=t.getValue(q4,{overrideIdentifier:s.getLanguageId(),resource:s.uri}))===null||i===void 0?void 0:i.enabled;return typeof n==\"boolean\"?n:e.getColorTheme().semanticHighlighting}var ZG=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Hl=function(s,e){return function(t,i){e(t,i,s)}},xu;let jR=class extends H{constructor(e,t,i,n,o,r){super(),this._watchers=Object.create(null);const a=c=>{this._watchers[c.uri.toString()]=new QC(c,e,i,o,r)},l=(c,u)=>{u.dispose(),delete this._watchers[c.uri.toString()]},d=()=>{for(const c of t.getModels()){const u=this._watchers[c.uri.toString()];_S(c,i,n)?u||a(c):u&&l(c,u)}};t.getModels().forEach(c=>{_S(c,i,n)&&a(c)}),this._register(t.onModelAdded(c=>{_S(c,i,n)&&a(c)})),this._register(t.onModelRemoved(c=>{const u=this._watchers[c.uri.toString()];u&&l(c,u)})),this._register(n.onDidChangeConfiguration(c=>{c.affectsConfiguration(q4)&&d()})),this._register(i.onDidColorThemeChange(d))}dispose(){for(const e of Object.values(this._watchers))e.dispose();super.dispose()}};jR=ZG([Hl(0,Px),Hl(1,_i),Hl(2,_n),Hl(3,rt),Hl(4,Ur),Hl(5,Ce)],jR);let QC=xu=class extends H{constructor(e,t,i,n,o){super(),this._semanticTokensStylingService=t,this._isDisposed=!1,this._model=e,this._provider=o.documentSemanticTokensProvider,this._debounceInformation=n.for(this._provider,\"DocumentSemanticTokens\",{min:xu.REQUEST_MIN_DELAY,max:xu.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new Wt(()=>this._fetchDocumentSemanticTokensNow(),xu.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._providersChangedDuringRequest=!1,this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeAttached(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const r=()=>{jt(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const a of this._provider.all(e))typeof a.onDidChange==\"function\"&&this._documentProvidersChangeListeners.push(a.onDidChange(()=>{if(this._currentDocumentRequestCancellationTokenSource){this._providersChangedDuringRequest=!0;return}this._fetchDocumentSemanticTokens.schedule(0)}))};r(),this._register(this._provider.onDidChange(()=>{r(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(i.onDidColorThemeChange(a=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),jt(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!KG(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}if(!this._model.isAttachedToEditor())return;const e=new Vi,t=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,i=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,n=qG(this._provider,this._model,t,i,e.token);this._currentDocumentRequestCancellationTokenSource=e,this._providersChangedDuringRequest=!1;const o=[],r=this._model.onDidChangeContent(l=>{o.push(l)}),a=new Jn(!1);n.then(l=>{if(this._debounceInformation.update(this._model,a.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),!l)this._setDocumentSemanticTokens(null,null,null,o);else{const{provider:d,tokens:c}=l,u=this._semanticTokensStylingService.getStyling(d);this._setDocumentSemanticTokens(d,c||null,u,o)}},l=>{l&&(Id(l)||typeof l.message==\"string\"&&l.message.indexOf(\"busy\")!==-1)||Xe(l),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),(o.length>0||this._providersChangedDuringRequest)&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(e,t,i,n,o){o=Math.min(o,i.length-n,e.length-t);for(let r=0;r<o;r++)i[n+r]=e[t+r]}_setDocumentSemanticTokens(e,t,i,n){const o=this._currentDocumentResponse,r=()=>{(n.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){e&&t&&e.releaseDocumentSemanticTokens(t.resultId);return}if(!e||!i){this._model.tokenization.setSemanticTokens(null,!1);return}if(!t){this._model.tokenization.setSemanticTokens(null,!0),r();return}if(jG(t)){if(!o){this._model.tokenization.setSemanticTokens(null,!0);return}if(t.edits.length===0)t={resultId:t.resultId,data:o.data};else{let a=0;for(const h of t.edits)a+=(h.data?h.data.length:0)-h.deleteCount;const l=o.data,d=new Uint32Array(l.length+a);let c=l.length,u=d.length;for(let h=t.edits.length-1;h>=0;h--){const g=t.edits[h];if(g.start>l.length){i.warnInvalidEditStart(o.resultId,t.resultId,h,g.start,l.length),this._model.tokenization.setSemanticTokens(null,!0);return}const f=c-(g.start+g.deleteCount);f>0&&(xu._copy(l,c-f,d,u-f,f),u-=f),g.data&&(xu._copy(g.data,0,d,u-g.data.length,g.data.length),u-=g.data.length),c=g.start}c>0&&xu._copy(l,0,d,0,c),t={resultId:t.resultId,data:d}}}if(Zk(t)){this._currentDocumentResponse=new CMe(e,t.resultId,t.data);const a=z$(t,i,this._model.getLanguageId());if(n.length>0)for(const l of n)for(const d of a)for(const c of l.changes)d.applyEdit(c.range,c.text);this._model.tokenization.setSemanticTokens(a,!0)}else this._model.tokenization.setSemanticTokens(null,!0);r()}};QC.REQUEST_MIN_DELAY=300;QC.REQUEST_MAX_DELAY=2e3;QC=xu=ZG([Hl(1,Px),Hl(2,_n),Hl(3,Ur),Hl(4,Ce)],QC);class CMe{constructor(e,t,i){this.provider=e,this.resultId=t,this.data=i}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}F1(jR);var wMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},lv=function(s,e){return function(t,i){e(t,i,s)}};let JC=class extends H{constructor(e,t,i,n,o,r){super(),this._semanticTokensStylingService=t,this._themeService=i,this._configurationService=n,this._editor=e,this._provider=r.documentRangeSemanticTokensProvider,this._debounceInformation=o.for(this._provider,\"DocumentRangeSemanticTokens\",{min:100,max:500}),this._tokenizeViewport=this._register(new Wt(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];const a=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{a()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),a()})),this._register(this._editor.onDidChangeModelContent(l=>{this._cancelAll(),a()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),a()})),this._register(this._configurationService.onDidChangeConfiguration(l=>{l.affectsConfiguration(q4)&&(this._cancelAll(),a())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),a()})),a()}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,i=this._outstandingRequests.length;t<i;t++)if(this._outstandingRequests[t]===e){this._outstandingRequests.splice(t,1);return}}_tokenizeViewportNow(){if(!this._editor.hasModel())return;const e=this._editor.getModel();if(e.tokenization.hasCompleteSemanticTokens())return;if(!_S(e,this._themeService,this._configurationService)){e.tokenization.hasSomeSemanticTokens()&&e.tokenization.setSemanticTokens(null,!1);return}if(!bMe(this._provider,e)){e.tokenization.hasSomeSemanticTokens()&&e.tokenization.setSemanticTokens(null,!1);return}const t=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(t.map(i=>this._requestRange(e,i)))}_requestRange(e,t){const i=e.getVersionId(),n=Dn(r=>Promise.resolve(K4(this._provider,e,t,r))),o=new Jn(!1);return n.then(r=>{if(this._debounceInformation.update(e,o.elapsed()),!r||!r.tokens||e.isDisposed()||e.getVersionId()!==i)return;const{provider:a,tokens:l}=r,d=this._semanticTokensStylingService.getStyling(a);e.tokenization.setPartialSemanticTokens(t,z$(l,d,e.getLanguageId()))}).then(()=>this._removeOutstandingRequest(n),()=>this._removeOutstandingRequest(n)),n}};JC.ID=\"editor.contrib.viewportSemanticTokens\";JC=wMe([lv(1,Px),lv(2,_n),lv(3,rt),lv(4,Ur),lv(5,Ce)],JC);kt(JC.ID,JC,1);class yMe{constructor(e=!0){this.selectSubwords=e}provideSelectionRanges(e,t){const i=[];for(const n of t){const o=[];i.push(o),this.selectSubwords&&this._addInWordRanges(o,e,n),this._addWordRanges(o,e,n),this._addWhitespaceLine(o,e,n),o.push({range:e.getFullModelRange()})}return i}_addInWordRanges(e,t,i){const n=t.getWordAtPosition(i);if(!n)return;const{word:o,startColumn:r}=n,a=i.column-r;let l=a,d=a,c=0;for(;l>=0;l--){const u=o.charCodeAt(l);if(l!==a&&(u===95||u===45))break;if(Bu(u)&&Fl(c))break;c=u}for(l+=1;d<o.length;d++){const u=o.charCodeAt(d);if(Fl(u)&&Bu(c))break;if(u===95||u===45)break;c=u}l<d&&e.push({range:new x(i.lineNumber,r+l,i.lineNumber,r+d)})}_addWordRanges(e,t,i){const n=t.getWordAtPosition(i);n&&e.push({range:new x(i.lineNumber,n.startColumn,i.lineNumber,n.endColumn)})}_addWhitespaceLine(e,t,i){t.getLineLength(i.lineNumber)>0&&t.getLineFirstNonWhitespaceColumn(i.lineNumber)===0&&t.getLineLastNonWhitespaceColumn(i.lineNumber)===0&&e.push({range:new x(i.lineNumber,1,i.lineNumber,t.getLineMaxColumn(i.lineNumber))})}}var SMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},DMe=function(s,e){return function(t,i){e(t,i,s)}},KR;class G4{constructor(e,t){this.index=e,this.ranges=t}mov(e){const t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const i=new G4(t,this.ranges);return i.ranges[t].equalsRange(this.ranges[this.index])?i.mov(e):i}}let G_=KR=class{static get(e){return e.getContribution(KR.ID)}constructor(e,t){this._editor=e,this._languageFeaturesService=t,this._ignoreSelection=!1}dispose(){var e;(e=this._selectionListener)===null||e===void 0||e.dispose()}async run(e){if(!this._editor.hasModel())return;const t=this._editor.getSelections(),i=this._editor.getModel();if(this._state||await YG(this._languageFeaturesService.selectionRangeProvider,i,t.map(o=>o.getPosition()),this._editor.getOption(113),dt.None).then(o=>{var r;if(!(!rs(o)||o.length!==t.length)&&!(!this._editor.hasModel()||!Ci(this._editor.getSelections(),t,(a,l)=>a.equalsSelection(l)))){for(let a=0;a<o.length;a++)o[a]=o[a].filter(l=>l.containsPosition(t[a].getStartPosition())&&l.containsPosition(t[a].getEndPosition())),o[a].unshift(t[a]);this._state=o.map(a=>new G4(0,a)),(r=this._selectionListener)===null||r===void 0||r.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var a;this._ignoreSelection||((a=this._selectionListener)===null||a===void 0||a.dispose(),this._state=void 0)})}}),!this._state)return;this._state=this._state.map(o=>o.mov(e));const n=this._state.map(o=>we.fromPositions(o.ranges[o.index].getStartPosition(),o.ranges[o.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(n)}finally{this._ignoreSelection=!1}}};G_.ID=\"editor.contrib.smartSelectController\";G_=KR=SMe([DMe(1,Ce)],G_);class XG extends me{constructor(e,t){super(t),this._forward=e}async run(e,t){const i=G_.get(t);i&&await i.run(this._forward)}}class LMe extends XG{constructor(){super(!0,{id:\"editor.action.smartSelect.expand\",label:p(\"smartSelect.expand\",\"Expand Selection\"),alias:\"Expand Selection\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"1_basic\",title:p({},\"&&Expand Selection\"),order:2}})}}pt.registerCommandAlias(\"editor.action.smartSelect.grow\",\"editor.action.smartSelect.expand\");class xMe extends XG{constructor(){super(!1,{id:\"editor.action.smartSelect.shrink\",label:p(\"smartSelect.shrink\",\"Shrink Selection\"),alias:\"Shrink Selection\",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:E.MenubarSelectionMenu,group:\"1_basic\",title:p({},\"&&Shrink Selection\"),order:3}})}}kt(G_.ID,G_,4);te(LMe);te(xMe);async function YG(s,e,t,i,n){const o=s.all(e).concat(new yMe(i.selectSubwords));o.length===1&&o.unshift(new jo);const r=[],a=[];for(const l of o)r.push(Promise.resolve(l.provideSelectionRanges(e,t,n)).then(d=>{if(rs(d)&&d.length===t.length)for(let c=0;c<t.length;c++){a[c]||(a[c]=[]);for(const u of d[c])x.isIRange(u.range)&&x.containsPosition(u.range,t[c])&&a[c].push(x.lift(u.range))}},Ai));return await Promise.all(r),a.map(l=>{if(l.length===0)return[];l.sort((h,g)=>W.isBefore(h.getStartPosition(),g.getStartPosition())?1:W.isBefore(g.getStartPosition(),h.getStartPosition())||W.isBefore(h.getEndPosition(),g.getEndPosition())?-1:W.isBefore(g.getEndPosition(),h.getEndPosition())?1:0);const d=[];let c;for(const h of l)(!c||x.containsRange(h,c)&&!x.equalsRange(h,c))&&(d.push(h),c=h);if(!i.selectLeadingAndTrailingWhitespace)return d;const u=[d[0]];for(let h=1;h<d.length;h++){const g=d[h-1],f=d[h];if(f.startLineNumber!==g.startLineNumber||f.endLineNumber!==g.endLineNumber){const m=new x(g.startLineNumber,e.getLineFirstNonWhitespaceColumn(g.startLineNumber),g.endLineNumber,e.getLineLastNonWhitespaceColumn(g.endLineNumber));m.containsRange(g)&&!m.equalsRange(g)&&f.containsRange(m)&&!f.equalsRange(m)&&u.push(m);const _=new x(g.startLineNumber,1,g.endLineNumber,e.getLineMaxColumn(g.endLineNumber));_.containsRange(g)&&!_.equalsRange(m)&&f.containsRange(_)&&!f.equalsRange(_)&&u.push(_)}u.push(f)}return u})}pt.registerCommand(\"_executeSelectionRangeProvider\",async function(s,...e){const[t,i]=e;yt(Ae.isUri(t));const n=s.get(Ce).selectionRangeProvider,o=await s.get(mo).createModelReference(t);try{return YG(n,o.object.textEditorModel,i,{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},dt.None)}finally{o.dispose()}});const kMe=Object.freeze({View:Ve(\"view\",\"View\"),Help:Ve(\"help\",\"Help\"),Test:Ve(\"test\",\"Test\"),File:Ve(\"file\",\"File\"),Preferences:Ve(\"preferences\",\"Preferences\"),Developer:Ve({},\"Developer\")});class q9{constructor(e,t,i,n=null){this.startLineNumbers=e,this.endLineNumbers=t,this.lastLineRelativePosition=i,this.showEndForLine=n}equals(e){return!!e&&this.lastLineRelativePosition===e.lastLineRelativePosition&&this.showEndForLine===e.showEndForLine&&Ci(this.startLineNumbers,e.startLineNumbers)&&Ci(this.endLineNumbers,e.endLineNumbers)}}const G9=tu(\"stickyScrollViewLayer\",{createHTML:s=>s}),LT=\"data-sticky-line-index\",Z9=\"data-sticky-is-line\",EMe=\"data-sticky-is-line-number\",X9=\"data-sticky-is-folding-icon\";class IMe extends H{constructor(e){super(),this._editor=e,this._foldingIconStore=new Y,this._rootDomNode=document.createElement(\"div\"),this._lineNumbersDomNode=document.createElement(\"div\"),this._linesDomNodeScrollable=document.createElement(\"div\"),this._linesDomNode=document.createElement(\"div\"),this._lineHeight=this._editor.getOption(67),this._renderedStickyLines=[],this._lineNumbers=[],this._lastLineRelativePosition=0,this._minContentWidthInPx=0,this._isOnGlyphMargin=!1,this._lineNumbersDomNode.className=\"sticky-widget-line-numbers\",this._lineNumbersDomNode.setAttribute(\"role\",\"none\"),this._linesDomNode.className=\"sticky-widget-lines\",this._linesDomNode.setAttribute(\"role\",\"list\"),this._linesDomNodeScrollable.className=\"sticky-widget-lines-scrollable\",this._linesDomNodeScrollable.appendChild(this._linesDomNode),this._rootDomNode.className=\"sticky-widget\",this._rootDomNode.classList.toggle(\"peek\",e instanceof Uh),this._rootDomNode.appendChild(this._lineNumbersDomNode),this._rootDomNode.appendChild(this._linesDomNodeScrollable);const t=()=>{this._linesDomNode.style.left=this._editor.getOption(115).scrollWithEditor?`-${this._editor.getScrollLeft()}px`:\"0px\"};this._register(this._editor.onDidChangeConfiguration(i=>{i.hasChanged(115)&&t(),i.hasChanged(67)&&(this._lineHeight=this._editor.getOption(67))})),this._register(this._editor.onDidScrollChange(i=>{i.scrollLeftChanged&&t(),i.scrollWidthChanged&&this._updateWidgetWidth()})),this._register(this._editor.onDidChangeModel(()=>{t(),this._updateWidgetWidth()})),this._register(this._foldingIconStore),t(),this._register(this._editor.onDidLayoutChange(i=>{this._updateWidgetWidth()})),this._updateWidgetWidth()}get lineNumbers(){return this._lineNumbers}get lineNumberCount(){return this._lineNumbers.length}getRenderedStickyLine(e){return this._renderedStickyLines.find(t=>t.lineNumber===e)}getCurrentLines(){return this._lineNumbers}setState(e,t,i){if(i===void 0&&(!this._previousState&&!e||this._previousState&&this._previousState.equals(e)))return;const n=this._isWidgetHeightZero(e),o=n?void 0:e,r=n?0:this._findLineToRebuildWidgetFrom(e,i);this._renderRootNode(o,t,r),this._previousState=e}_isWidgetHeightZero(e){if(!e)return!0;const t=e.startLineNumbers.length*this._lineHeight+e.lastLineRelativePosition;if(t>0){this._lastLineRelativePosition=e.lastLineRelativePosition;const i=[...e.startLineNumbers];e.showEndForLine!==null&&(i[e.showEndForLine]=e.endLineNumbers[e.showEndForLine]),this._lineNumbers=i}else this._lastLineRelativePosition=0,this._lineNumbers=[];return t===0}_findLineToRebuildWidgetFrom(e,t){if(!e||!this._previousState)return 0;if(t!==void 0)return t;const i=this._previousState,n=e.startLineNumbers.findIndex(o=>!i.startLineNumbers.includes(o));return n===-1?0:n}_updateWidgetWidth(){const e=this._editor.getLayoutInfo(),t=e.contentLeft;this._lineNumbersDomNode.style.width=`${t}px`,this._linesDomNodeScrollable.style.setProperty(\"--vscode-editorStickyScroll-scrollableWidth\",`${this._editor.getScrollWidth()-e.verticalScrollbarWidth}px`),this._rootDomNode.style.width=`${e.width-e.verticalScrollbarWidth}px`}_clearStickyLinesFromLine(e){this._foldingIconStore.clear();for(let t=e;t<this._renderedStickyLines.length;t++){const i=this._renderedStickyLines[t];i.lineNumberDomNode.remove(),i.lineDomNode.remove()}this._renderedStickyLines=this._renderedStickyLines.slice(0,e),this._rootDomNode.style.display=\"none\"}_useFoldingOpacityTransition(e){this._lineNumbersDomNode.style.setProperty(\"--vscode-editorStickyScroll-foldingOpacityTransition\",`opacity ${e?.5:0}s`)}_setFoldingIconsVisibility(e){for(const t of this._renderedStickyLines){const i=t.foldingIcon;i&&i.setVisible(e?!0:i.isCollapsed)}}async _renderRootNode(e,t,i){if(this._clearStickyLinesFromLine(i),!e)return;for(const a of this._renderedStickyLines)this._updateTopAndZIndexOfStickyLine(a);const n=this._editor.getLayoutInfo(),o=this._lineNumbers.slice(i);for(const[a,l]of o.entries()){const d=this._renderChildNode(a+i,l,t,n);d&&(this._linesDomNode.appendChild(d.lineDomNode),this._lineNumbersDomNode.appendChild(d.lineNumberDomNode),this._renderedStickyLines.push(d))}t&&(this._setFoldingHoverListeners(),this._useFoldingOpacityTransition(!this._isOnGlyphMargin));const r=this._lineNumbers.length*this._lineHeight+this._lastLineRelativePosition;this._rootDomNode.style.display=\"block\",this._lineNumbersDomNode.style.height=`${r}px`,this._linesDomNodeScrollable.style.height=`${r}px`,this._rootDomNode.style.height=`${r}px`,this._rootDomNode.style.marginLeft=\"0px\",this._minContentWidthInPx=Math.max(...this._renderedStickyLines.map(a=>a.scrollWidth))+n.verticalScrollbarWidth,this._editor.layoutOverlayWidget(this)}_setFoldingHoverListeners(){this._editor.getOption(110)===\"mouseover\"&&(this._foldingIconStore.add(K(this._lineNumbersDomNode,ee.MOUSE_ENTER,()=>{this._isOnGlyphMargin=!0,this._setFoldingIconsVisibility(!0)})),this._foldingIconStore.add(K(this._lineNumbersDomNode,ee.MOUSE_LEAVE,()=>{this._isOnGlyphMargin=!1,this._useFoldingOpacityTransition(!0),this._setFoldingIconsVisibility(!1)})))}_renderChildNode(e,t,i,n){const o=this._editor._getViewModel();if(!o)return;const r=o.coordinatesConverter.convertModelPositionToViewPosition(new W(t,1)).lineNumber,a=o.getViewLineRenderingData(r),l=this._editor.getOption(68);let d;try{d=Os.filter(a.inlineDecorations,r,a.minColumn,a.maxColumn)}catch{d=[]}const c=new tg(!0,!0,a.content,a.continuesWithWrappedLine,a.isBasicASCII,a.containsRTL,0,a.tokens,d,a.tabSize,a.startVisibleColumn,1,1,1,500,\"none\",!0,!0,null),u=new l0(2e3),h=m1(c,u);let g;G9?g=G9.createHTML(u.build()):g=u.build();const f=document.createElement(\"span\");f.setAttribute(LT,String(e)),f.setAttribute(Z9,\"\"),f.setAttribute(\"role\",\"listitem\"),f.tabIndex=0,f.className=\"sticky-line-content\",f.classList.add(`stickyLine${t}`),f.style.lineHeight=`${this._lineHeight}px`,f.innerHTML=g;const m=document.createElement(\"span\");m.setAttribute(LT,String(e)),m.setAttribute(EMe,\"\"),m.className=\"sticky-line-number\",m.style.lineHeight=`${this._lineHeight}px`;const _=n.contentLeft;m.style.width=`${_}px`;const v=document.createElement(\"span\");l.renderType===1||l.renderType===3&&t%10===0?v.innerText=t.toString():l.renderType===2&&(v.innerText=Math.abs(t-this._editor.getPosition().lineNumber).toString()),v.className=\"sticky-line-number-inner\",v.style.lineHeight=`${this._lineHeight}px`,v.style.width=`${n.lineNumbersWidth}px`,v.style.paddingLeft=`${n.lineNumbersLeft}px`,m.appendChild(v);const b=this._renderFoldingIconForLine(i,t);b&&m.appendChild(b.domNode),this._editor.applyFontInfo(f),this._editor.applyFontInfo(v),m.style.lineHeight=`${this._lineHeight}px`,f.style.lineHeight=`${this._lineHeight}px`,m.style.height=`${this._lineHeight}px`,f.style.height=`${this._lineHeight}px`;const C=new TMe(e,t,f,m,b,h.characterMapping,f.scrollWidth);return this._updateTopAndZIndexOfStickyLine(C)}_updateTopAndZIndexOfStickyLine(e){var t;const i=e.index,n=e.lineDomNode,o=e.lineNumberDomNode,r=i===this._lineNumbers.length-1,a=\"0\",l=\"1\";n.style.zIndex=r?a:l,o.style.zIndex=r?a:l;const d=`${i*this._lineHeight+this._lastLineRelativePosition+(!((t=e.foldingIcon)===null||t===void 0)&&t.isCollapsed?1:0)}px`,c=`${i*this._lineHeight}px`;return n.style.top=r?d:c,o.style.top=r?d:c,e}_renderFoldingIconForLine(e,t){const i=this._editor.getOption(110);if(!e||i===\"never\")return;const n=e.regions,o=n.findRange(t),r=n.getStartLineNumber(o);if(!(t===r))return;const l=n.isCollapsed(o),d=new NMe(l,r,n.getEndLineNumber(o),this._lineHeight);return d.setVisible(this._isOnGlyphMargin?!0:l||i===\"always\"),d.domNode.setAttribute(X9,\"\"),d}getId(){return\"editor.contrib.stickyScrollWidget\"}getDomNode(){return this._rootDomNode}getPosition(){return{preference:null}}getMinContentWidthInPx(){return this._minContentWidthInPx}focusLineWithIndex(e){0<=e&&e<this._renderedStickyLines.length&&this._renderedStickyLines[e].lineDomNode.focus()}getEditorPositionFromNode(e){if(!e||e.children.length>0)return null;const t=this._getRenderedStickyLineFromChildDomNode(e);if(!t)return null;const i=BF(t.characterMapping,e,0);return new W(t.lineNumber,i)}getLineNumberFromChildDomNode(e){var t,i;return(i=(t=this._getRenderedStickyLineFromChildDomNode(e))===null||t===void 0?void 0:t.lineNumber)!==null&&i!==void 0?i:null}_getRenderedStickyLineFromChildDomNode(e){const t=this.getLineIndexFromChildDomNode(e);return t===null||t<0||t>=this._renderedStickyLines.length?null:this._renderedStickyLines[t]}getLineIndexFromChildDomNode(e){const t=this._getAttributeValue(e,LT);return t?parseInt(t,10):null}isInStickyLine(e){return this._getAttributeValue(e,Z9)!==void 0}isInFoldingIconDomNode(e){return this._getAttributeValue(e,X9)!==void 0}_getAttributeValue(e,t){for(;e&&e!==this._rootDomNode;){const i=e.getAttribute(t);if(i!==null)return i;e=e.parentElement}}}class TMe{constructor(e,t,i,n,o,r,a){this.index=e,this.lineNumber=t,this.lineDomNode=i,this.lineNumberDomNode=n,this.foldingIcon=o,this.characterMapping=r,this.scrollWidth=a}}class NMe{constructor(e,t,i,n){this.isCollapsed=e,this.foldingStartLine=t,this.foldingEndLine=i,this.dimension=n,this.domNode=document.createElement(\"div\"),this.domNode.style.width=`${n}px`,this.domNode.style.height=`${n}px`,this.domNode.className=Pe.asClassName(e?Tk:Ik)}setVisible(e){this.domNode.style.cursor=e?\"pointer\":\"default\",this.domNode.style.opacity=e?\"1\":\"0\"}}class vb{constructor(e,t){this.startLineNumber=e,this.endLineNumber=t}}class EL{constructor(e,t,i){this.range=e,this.children=t,this.parent=i}}class QG{constructor(e,t,i,n){this.uri=e,this.version=t,this.element=i,this.outlineProviderId=n}}var Xk=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},e1=function(s,e){return function(t,i){e(t,i,s)}},bb;(function(s){s.OUTLINE_MODEL=\"outlineModel\",s.FOLDING_PROVIDER_MODEL=\"foldingProviderModel\",s.INDENTATION_MODEL=\"indentationModel\"})(bb||(bb={}));var eh;(function(s){s[s.VALID=0]=\"VALID\",s[s.INVALID=1]=\"INVALID\",s[s.CANCELED=2]=\"CANCELED\"})(eh||(eh={}));let qR=class extends H{constructor(e,t,i,n){switch(super(),this._editor=e,this._modelProviders=[],this._modelPromise=null,this._updateScheduler=this._register(new _a(300)),this._updateOperation=this._register(new Y),this._editor.getOption(115).defaultModel){case bb.OUTLINE_MODEL:this._modelProviders.push(new GR(this._editor,n));case bb.FOLDING_PROVIDER_MODEL:this._modelProviders.push(new XR(this._editor,t,n));case bb.INDENTATION_MODEL:this._modelProviders.push(new ZR(this._editor,i));break}}dispose(){this._modelProviders.forEach(e=>e.dispose()),this._updateOperation.clear(),this._cancelModelPromise(),super.dispose()}_cancelModelPromise(){this._modelPromise&&(this._modelPromise.cancel(),this._modelPromise=null)}async update(e){return this._updateOperation.clear(),this._updateOperation.add({dispose:()=>{this._cancelModelPromise(),this._updateScheduler.cancel()}}),this._cancelModelPromise(),await this._updateScheduler.trigger(async()=>{for(const t of this._modelProviders){const{statusPromise:i,modelPromise:n}=t.computeStickyModel(e);this._modelPromise=n;const o=await i;if(this._modelPromise!==n)return null;switch(o){case eh.CANCELED:return this._updateOperation.clear(),null;case eh.VALID:return t.stickyModel}}return null}).catch(t=>(Xe(t),null))}};qR=Xk([e1(2,Ne),e1(3,Ce)],qR);class JG extends H{constructor(e){super(),this._editor=e,this._stickyModel=null}get stickyModel(){return this._stickyModel}_invalid(){return this._stickyModel=null,eh.INVALID}computeStickyModel(e){if(e.isCancellationRequested||!this.isProviderValid())return{statusPromise:this._invalid(),modelPromise:null};const t=Dn(i=>this.createModelFromProvider(i));return{statusPromise:t.then(i=>this.isModelValid(i)?e.isCancellationRequested?eh.CANCELED:(this._stickyModel=this.createStickyModel(e,i),eh.VALID):this._invalid()).then(void 0,i=>(Xe(i),eh.CANCELED)),modelPromise:t}}isModelValid(e){return!0}isProviderValid(){return!0}}let GR=class extends JG{constructor(e,t){super(e),this._languageFeaturesService=t}createModelFromProvider(e){return nc.create(this._languageFeaturesService.documentSymbolProvider,this._editor.getModel(),e)}createStickyModel(e,t){var i;const{stickyOutlineElement:n,providerID:o}=this._stickyModelFromOutlineModel(t,(i=this._stickyModel)===null||i===void 0?void 0:i.outlineProviderId),r=this._editor.getModel();return new QG(r.uri,r.getVersionId(),n,o)}isModelValid(e){return e&&e.children.size>0}_stickyModelFromOutlineModel(e,t){let i;if(ft.first(e.children.values())instanceof bG){const a=ft.find(e.children.values(),l=>l.id===t);if(a)i=a.children;else{let l=\"\",d=-1,c;for(const[u,h]of e.children.entries()){const g=this._findSumOfRangesOfGroup(h);g>d&&(c=h,d=g,l=h.id)}t=l,i=c.children}}else i=e.children;const n=[],o=Array.from(i.values()).sort((a,l)=>{const d=new vb(a.symbol.range.startLineNumber,a.symbol.range.endLineNumber),c=new vb(l.symbol.range.startLineNumber,l.symbol.range.endLineNumber);return this._comparator(d,c)});for(const a of o)n.push(this._stickyModelFromOutlineElement(a,a.symbol.selectionRange.startLineNumber));return{stickyOutlineElement:new EL(void 0,n,void 0),providerID:t}}_stickyModelFromOutlineElement(e,t){const i=[];for(const o of e.children.values())if(o.symbol.selectionRange.startLineNumber!==o.symbol.range.endLineNumber)if(o.symbol.selectionRange.startLineNumber!==t)i.push(this._stickyModelFromOutlineElement(o,o.symbol.selectionRange.startLineNumber));else for(const r of o.children.values())i.push(this._stickyModelFromOutlineElement(r,o.symbol.selectionRange.startLineNumber));i.sort((o,r)=>this._comparator(o.range,r.range));const n=new vb(e.symbol.selectionRange.startLineNumber,e.symbol.range.endLineNumber);return new EL(n,i,void 0)}_comparator(e,t){return e.startLineNumber!==t.startLineNumber?e.startLineNumber-t.startLineNumber:t.endLineNumber-e.endLineNumber}_findSumOfRangesOfGroup(e){let t=0;for(const i of e.children.values())t+=this._findSumOfRangesOfGroup(i);return e instanceof hR?t+e.symbol.range.endLineNumber-e.symbol.selectionRange.startLineNumber:t}};GR=Xk([e1(1,Ce)],GR);class eZ extends JG{constructor(e){super(e),this._foldingLimitReporter=new mG(e)}createStickyModel(e,t){const i=this._fromFoldingRegions(t),n=this._editor.getModel();return new QG(n.uri,n.getVersionId(),i,void 0)}isModelValid(e){return e!==null}_fromFoldingRegions(e){const t=e.length,i=[],n=new EL(void 0,[],void 0);for(let o=0;o<t;o++){const r=e.getParentIndex(o);let a;r!==-1?a=i[r]:a=n;const l=new EL(new vb(e.getStartLineNumber(o),e.getEndLineNumber(o)+1),[],a);a.children.push(l),i.push(l)}return n}}let ZR=class extends eZ{constructor(e,t){super(e),this._languageConfigurationService=t,this.provider=this._register(new N4(e.getModel(),this._languageConfigurationService,this._foldingLimitReporter))}async createModelFromProvider(e){return this.provider.compute(e)}};ZR=Xk([e1(1,Yt)],ZR);let XR=class extends eZ{constructor(e,t,i){super(e),this._languageFeaturesService=i;const n=qc.getFoldingRangeProviders(this._languageFeaturesService,e.getModel());n.length>0&&(this.provider=this._register(new M4(e.getModel(),n,t,this._foldingLimitReporter,void 0)))}isProviderValid(){return this.provider!==void 0}async createModelFromProvider(e){var t,i;return(i=(t=this.provider)===null||t===void 0?void 0:t.compute(e))!==null&&i!==void 0?i:null}};XR=Xk([e1(2,Ce)],XR);var AMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Y9=function(s,e){return function(t,i){e(t,i,s)}};class MMe{constructor(e,t,i){this.startLineNumber=e,this.endLineNumber=t,this.nestingDepth=i}}let YR=class extends H{constructor(e,t,i){super(),this._languageFeaturesService=t,this._languageConfigurationService=i,this._onDidChangeStickyScroll=this._register(new B),this.onDidChangeStickyScroll=this._onDidChangeStickyScroll.event,this._model=null,this._cts=null,this._stickyModelProvider=null,this._editor=e,this._sessionStore=this._register(new Y),this._updateSoon=this._register(new Wt(()=>this.update(),50)),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(115)&&this.readConfiguration()})),this.readConfiguration()}readConfiguration(){this._sessionStore.clear(),this._editor.getOption(115).enabled&&(this._sessionStore.add(this._editor.onDidChangeModel(()=>{this._model=null,this.updateStickyModelProvider(),this._onDidChangeStickyScroll.fire(),this.update()})),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this.update())),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this.update())),this._sessionStore.add(Ie(()=>{var t;(t=this._stickyModelProvider)===null||t===void 0||t.dispose(),this._stickyModelProvider=null})),this.updateStickyModelProvider(),this.update())}getVersionId(){var e;return(e=this._model)===null||e===void 0?void 0:e.version}updateStickyModelProvider(){var e;(e=this._stickyModelProvider)===null||e===void 0||e.dispose(),this._stickyModelProvider=null;const t=this._editor;t.hasModel()&&(this._stickyModelProvider=new qR(t,()=>this._updateSoon.schedule(),this._languageConfigurationService,this._languageFeaturesService))}async update(){var e;(e=this._cts)===null||e===void 0||e.dispose(!0),this._cts=new Vi,await this.updateStickyModel(this._cts.token),this._onDidChangeStickyScroll.fire()}async updateStickyModel(e){if(!this._editor.hasModel()||!this._stickyModelProvider||this._editor.getModel().isTooLargeForTokenization()){this._model=null;return}const t=await this._stickyModelProvider.update(e);e.isCancellationRequested||(this._model=t)}updateIndex(e){return e===-1?e=0:e<0&&(e=-e-2),e}getCandidateStickyLinesIntersectingFromStickyModel(e,t,i,n,o){if(t.children.length===0)return;let r=o;const a=[];for(let c=0;c<t.children.length;c++){const u=t.children[c];u.range&&a.push(u.range.startLineNumber)}const l=this.updateIndex(xb(a,e.startLineNumber,(c,u)=>c-u)),d=this.updateIndex(xb(a,e.startLineNumber+n,(c,u)=>c-u));for(let c=l;c<=d;c++){const u=t.children[c];if(!u)return;if(u.range){const h=u.range.startLineNumber,g=u.range.endLineNumber;e.startLineNumber<=g+1&&h-1<=e.endLineNumber&&h!==r&&(r=h,i.push(new MMe(h,g-1,n+1)),this.getCandidateStickyLinesIntersectingFromStickyModel(e,u,i,n+1,h))}else this.getCandidateStickyLinesIntersectingFromStickyModel(e,u,i,n,o)}}getCandidateStickyLinesIntersecting(e){var t,i;if(!(!((t=this._model)===null||t===void 0)&&t.element))return[];let n=[];this.getCandidateStickyLinesIntersectingFromStickyModel(e,this._model.element,n,0,-1);const o=(i=this._editor._getViewModel())===null||i===void 0?void 0:i.getHiddenAreas();if(o)for(const r of o)n=n.filter(a=>!(a.startLineNumber>=r.startLineNumber&&a.endLineNumber<=r.endLineNumber+1));return n}};YR=AMe([Y9(1,Ce),Y9(2,Yt)],YR);var RMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Vp=function(s,e){return function(t,i){e(t,i,s)}},QR;let Ed=QR=class extends H{constructor(e,t,i,n,o,r,a){super(),this._editor=e,this._contextMenuService=t,this._languageFeaturesService=i,this._instaService=n,this._contextKeyService=a,this._sessionStore=new Y,this._foldingModel=null,this._maxStickyLines=Number.MAX_SAFE_INTEGER,this._candidateDefinitionsLength=-1,this._focusedStickyElementIndex=-1,this._enabled=!1,this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1,this._endLineNumbers=[],this._showEndForLine=null,this._stickyScrollWidget=new IMe(this._editor),this._stickyLineCandidateProvider=new YR(this._editor,i,o),this._register(this._stickyScrollWidget),this._register(this._stickyLineCandidateProvider),this._widgetState=new q9([],[],0),this._onDidResize(),this._readConfiguration();const l=this._stickyScrollWidget.getDomNode();this._register(this._editor.onDidChangeConfiguration(c=>{this._readConfigurationChange(c)})),this._register(K(l,ee.CONTEXT_MENU,async c=>{this._onContextMenu(Te(l),c)})),this._stickyScrollFocusedContextKey=T.stickyScrollFocused.bindTo(this._contextKeyService),this._stickyScrollVisibleContextKey=T.stickyScrollVisible.bindTo(this._contextKeyService);const d=this._register(ba(l));this._register(d.onDidBlur(c=>{this._positionRevealed===!1&&l.clientHeight===0?(this._focusedStickyElementIndex=-1,this.focus()):this._disposeFocusStickyScrollStore()})),this._register(d.onDidFocus(c=>{this.focus()})),this._registerMouseListeners(),this._register(K(l,ee.MOUSE_DOWN,c=>{this._onMouseDown=!0}))}static get(e){return e.getContribution(QR.ID)}_disposeFocusStickyScrollStore(){var e;this._stickyScrollFocusedContextKey.set(!1),(e=this._focusDisposableStore)===null||e===void 0||e.dispose(),this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1}focus(){if(this._onMouseDown){this._onMouseDown=!1,this._editor.focus();return}this._stickyScrollFocusedContextKey.get()!==!0&&(this._focused=!0,this._focusDisposableStore=new Y,this._stickyScrollFocusedContextKey.set(!0),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumbers.length-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}focusNext(){this._focusedStickyElementIndex<this._stickyScrollWidget.lineNumberCount-1&&this._focusNav(!0)}focusPrevious(){this._focusedStickyElementIndex>0&&this._focusNav(!1)}selectEditor(){this._editor.focus()}_focusNav(e){this._focusedStickyElementIndex=e?this._focusedStickyElementIndex+1:this._focusedStickyElementIndex-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}goToFocused(){const e=this._stickyScrollWidget.lineNumbers;this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:e[this._focusedStickyElementIndex],column:1})}_revealPosition(e){this._reveaInEditor(e,()=>this._editor.revealPosition(e))}_revealLineInCenterIfOutsideViewport(e){this._reveaInEditor(e,()=>this._editor.revealLineInCenterIfOutsideViewport(e.lineNumber,0))}_reveaInEditor(e,t){this._focused&&this._disposeFocusStickyScrollStore(),this._positionRevealed=!0,t(),this._editor.setSelection(x.fromPositions(e)),this._editor.focus()}_registerMouseListeners(){const e=this._register(new Y),t=this._register(new vk(this._editor,{extractLineNumberFromMouseEvent:o=>{const r=this._stickyScrollWidget.getEditorPositionFromNode(o.target.element);return r?r.lineNumber:0}})),i=o=>{if(!this._editor.hasModel()||o.target.type!==12||o.target.detail!==this._stickyScrollWidget.getId())return null;const r=o.target.element;if(!r||r.innerText!==r.innerHTML)return null;const a=this._stickyScrollWidget.getEditorPositionFromNode(r);return a?{range:new x(a.lineNumber,a.column,a.lineNumber,a.column+r.innerText.length),textElement:r}:null},n=this._stickyScrollWidget.getDomNode();this._register(Ni(n,ee.CLICK,o=>{if(o.ctrlKey||o.altKey||o.metaKey||!o.leftButton)return;if(o.shiftKey){const d=this._stickyScrollWidget.getLineIndexFromChildDomNode(o.target);if(d===null)return;const c=new W(this._endLineNumbers[d],1);this._revealLineInCenterIfOutsideViewport(c);return}if(this._stickyScrollWidget.isInFoldingIconDomNode(o.target)){const d=this._stickyScrollWidget.getLineNumberFromChildDomNode(o.target);this._toggleFoldingRegionForLine(d);return}if(!this._stickyScrollWidget.isInStickyLine(o.target))return;let l=this._stickyScrollWidget.getEditorPositionFromNode(o.target);if(!l){const d=this._stickyScrollWidget.getLineNumberFromChildDomNode(o.target);if(d===null)return;l=new W(d,1)}this._revealPosition(l)})),this._register(Ni(n,ee.MOUSE_MOVE,o=>{if(o.shiftKey){const r=this._stickyScrollWidget.getLineIndexFromChildDomNode(o.target);if(r===null||this._showEndForLine!==null&&this._showEndForLine===r)return;this._showEndForLine=r,this._renderStickyScroll();return}this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(K(n,ee.MOUSE_LEAVE,o=>{this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(t.onMouseMoveOrRelevantKeyDown(([o,r])=>{const a=i(o);if(!a||!o.hasTriggerModifier||!this._editor.hasModel()){e.clear();return}const{range:l,textElement:d}=a;if(!l.equalsRange(this._stickyRangeProjectedOnEditor))this._stickyRangeProjectedOnEditor=l,e.clear();else if(d.style.textDecoration===\"underline\")return;const c=new Vi;e.add(Ie(()=>c.dispose(!0)));let u;Dk(this._languageFeaturesService.definitionProvider,this._editor.getModel(),new W(l.startLineNumber,l.startColumn+1),c.token).then(h=>{if(!c.token.isCancellationRequested)if(h.length!==0){this._candidateDefinitionsLength=h.length;const g=d;u!==g?(e.clear(),u=g,u.style.textDecoration=\"underline\",e.add(Ie(()=>{u.style.textDecoration=\"none\"}))):u||(u=g,u.style.textDecoration=\"underline\",e.add(Ie(()=>{u.style.textDecoration=\"none\"})))}else e.clear()})})),this._register(t.onCancel(()=>{e.clear()})),this._register(t.onExecute(async o=>{if(o.target.type!==12||o.target.detail!==this._stickyScrollWidget.getId())return;const r=this._stickyScrollWidget.getEditorPositionFromNode(o.target.element);r&&(!this._editor.hasModel()||!this._stickyRangeProjectedOnEditor||(this._candidateDefinitionsLength>1&&(this._focused&&this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:r.lineNumber,column:1})),this._instaService.invokeFunction(Zq,o,this._editor,{uri:this._editor.getModel().uri,range:this._stickyRangeProjectedOnEditor})))}))}_onContextMenu(e,t){const i=new ra(e,t);this._contextMenuService.showContextMenu({menuId:E.StickyScrollContext,getAnchor:()=>i})}_toggleFoldingRegionForLine(e){if(!this._foldingModel||e===null)return;const t=this._stickyScrollWidget.getRenderedStickyLine(e),i=t==null?void 0:t.foldingIcon;if(!i)return;uG(this._foldingModel,Number.MAX_VALUE,[e]),i.isCollapsed=!i.isCollapsed;const n=(i.isCollapsed?this._editor.getTopForLineNumber(i.foldingEndLine):this._editor.getTopForLineNumber(i.foldingStartLine))-this._editor.getOption(67)*t.index+1;this._editor.setScrollTop(n),this._renderStickyScroll(e)}_readConfiguration(){const e=this._editor.getOption(115);if(e.enabled===!1){this._editor.removeOverlayWidget(this._stickyScrollWidget),this._sessionStore.clear(),this._enabled=!1;return}else e.enabled&&!this._enabled&&(this._editor.addOverlayWidget(this._stickyScrollWidget),this._sessionStore.add(this._editor.onDidScrollChange(i=>{i.scrollTopChanged&&(this._showEndForLine=null,this._renderStickyScroll())})),this._sessionStore.add(this._editor.onDidLayoutChange(()=>this._onDidResize())),this._sessionStore.add(this._editor.onDidChangeModelTokens(i=>this._onTokensChange(i))),this._sessionStore.add(this._stickyLineCandidateProvider.onDidChangeStickyScroll(()=>{this._showEndForLine=null,this._renderStickyScroll()})),this._enabled=!0);this._editor.getOption(68).renderType===2&&this._sessionStore.add(this._editor.onDidChangeCursorPosition(()=>{this._showEndForLine=null,this._renderStickyScroll(0)}))}_readConfigurationChange(e){(e.hasChanged(115)||e.hasChanged(73)||e.hasChanged(67)||e.hasChanged(110)||e.hasChanged(68))&&this._readConfiguration(),e.hasChanged(68)&&this._renderStickyScroll(0)}_needsUpdate(e){const t=this._stickyScrollWidget.getCurrentLines();for(const i of t)for(const n of e.ranges)if(i>=n.fromLineNumber&&i<=n.toLineNumber)return!0;return!1}_onTokensChange(e){this._needsUpdate(e)&&this._renderStickyScroll(0)}_onDidResize(){const t=this._editor.getLayoutInfo().height/this._editor.getOption(67);this._maxStickyLines=Math.round(t*.25)}async _renderStickyScroll(e){var t,i;const n=this._editor.getModel();if(!n||n.isTooLargeForTokenization()){this._foldingModel=null,this._stickyScrollWidget.setState(void 0,null);return}const o=this._stickyLineCandidateProvider.getVersionId();if(o===void 0||o===n.getVersionId())if(this._foldingModel=(i=await((t=qc.get(this._editor))===null||t===void 0?void 0:t.getFoldingModel()))!==null&&i!==void 0?i:null,this._widgetState=this.findScrollWidgetState(),this._stickyScrollVisibleContextKey.set(this._widgetState.startLineNumbers.length!==0),!this._focused)this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,e);else if(this._focusedStickyElementIndex===-1)this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,e),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1,this._focusedStickyElementIndex!==-1&&this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex);else{const r=this._stickyScrollWidget.lineNumbers[this._focusedStickyElementIndex];this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,e),this._stickyScrollWidget.lineNumberCount===0?this._focusedStickyElementIndex=-1:(this._stickyScrollWidget.lineNumbers.includes(r)||(this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1),this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}}findScrollWidgetState(){const e=this._editor.getOption(67),t=Math.min(this._maxStickyLines,this._editor.getOption(115).maxLineCount),i=this._editor.getScrollTop();let n=0;const o=[],r=[],a=this._editor.getVisibleRanges();if(a.length!==0){const l=new vb(a[0].startLineNumber,a[a.length-1].endLineNumber),d=this._stickyLineCandidateProvider.getCandidateStickyLinesIntersecting(l);for(const c of d){const u=c.startLineNumber,h=c.endLineNumber,g=c.nestingDepth;if(h-u>0){const f=(g-1)*e,m=g*e,_=this._editor.getBottomForLineNumber(u)-i,v=this._editor.getTopForLineNumber(h)-i,b=this._editor.getBottomForLineNumber(h)-i;if(f>v&&f<=b){o.push(u),r.push(h+1),n=b-m;break}else m>_&&m<=b&&(o.push(u),r.push(h+1));if(o.length===t)break}}}return this._endLineNumbers=r,new q9(o,r,n,this._showEndForLine)}dispose(){super.dispose(),this._sessionStore.dispose()}};Ed.ID=\"store.contrib.stickyScrollController\";Ed=QR=RMe([Vp(1,Oo),Vp(2,Ce),Vp(3,Ne),Vp(4,Yt),Vp(5,Ur),Vp(6,Be)],Ed);class PMe extends qs{constructor(){super({id:\"editor.action.toggleStickyScroll\",title:{...Ve(\"toggleEditorStickyScroll\",\"Toggle Editor Sticky Scroll\"),mnemonicTitle:p({},\"&&Toggle Editor Sticky Scroll\")},metadata:{description:Ve(\"toggleEditorStickyScroll.description\",\"Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport\")},category:kMe.View,toggled:{condition:G.equals(\"config.editor.stickyScroll.enabled\",!0),title:p(\"stickyScroll\",\"Sticky Scroll\"),mnemonicTitle:p({},\"&&Sticky Scroll\")},menu:[{id:E.CommandPalette},{id:E.MenubarAppearanceMenu,group:\"4_editor\",order:3},{id:E.StickyScrollContext}]})}async run(e){const t=e.get(rt),i=!t.getValue(\"editor.stickyScroll.enabled\");return t.updateValue(\"editor.stickyScroll.enabled\",i)}}const Yk=100;class FMe extends fl{constructor(){super({id:\"editor.action.focusStickyScroll\",title:{...Ve(\"focusStickyScroll\",\"Focus on the editor sticky scroll\"),mnemonicTitle:p({},\"&&Focus Sticky Scroll\")},precondition:G.and(G.has(\"config.editor.stickyScroll.enabled\"),T.stickyScrollVisible),menu:[{id:E.CommandPalette}]})}runEditorCommand(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.focus()}}class OMe extends fl{constructor(){super({id:\"editor.action.selectNextStickyScrollLine\",title:Ve(\"selectNextStickyScrollLine.title\",\"Select the next editor sticky scroll line\"),precondition:T.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:Yk,primary:18}})}runEditorCommand(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.focusNext()}}class BMe extends fl{constructor(){super({id:\"editor.action.selectPreviousStickyScrollLine\",title:Ve(\"selectPreviousStickyScrollLine.title\",\"Select the previous sticky scroll line\"),precondition:T.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:Yk,primary:16}})}runEditorCommand(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.focusPrevious()}}class WMe extends fl{constructor(){super({id:\"editor.action.goToFocusedStickyScrollLine\",title:Ve(\"goToFocusedStickyScrollLine.title\",\"Go to the focused sticky scroll line\"),precondition:T.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:Yk,primary:3}})}runEditorCommand(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.goToFocused()}}class HMe extends fl{constructor(){super({id:\"editor.action.selectEditor\",title:Ve(\"selectEditor.title\",\"Select Editor\"),precondition:T.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:Yk,primary:9}})}runEditorCommand(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.selectEditor()}}kt(Ed.ID,Ed,1);qt(PMe);qt(FMe);qt(BMe);qt(OMe);qt(WMe);qt(HMe);var tZ=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Pv=function(s,e){return function(t,i){e(t,i,s)}};class VMe{constructor(e,t,i,n,o,r){this.range=e,this.insertText=t,this.filterText=i,this.additionalTextEdits=n,this.command=o,this.completion=r}}let JR=class extends Voe{constructor(e,t,i,n,o,r){super(o.disposable),this.model=e,this.line=t,this.word=i,this.completionModel=n,this._suggestMemoryService=r}canBeReused(e,t,i){return this.model===e&&this.line===t&&this.word.word.length>0&&this.word.startColumn===i.startColumn&&this.word.endColumn<i.endColumn&&this.completionModel.getIncompleteProvider().size===0}get items(){var e;const t=[],{items:i}=this.completionModel,n=this._suggestMemoryService.select(this.model,{lineNumber:this.line,column:this.word.endColumn+this.completionModel.lineContext.characterCountDelta},i),o=ft.slice(i,n),r=ft.slice(i,0,n);let a=5;for(const l of ft.concat(o,r)){if(l.score===el.Default)continue;const d=new x(l.editStart.lineNumber,l.editStart.column,l.editInsertEnd.lineNumber,l.editInsertEnd.column+this.completionModel.lineContext.characterCountDelta),c=l.completion.insertTextRules&&l.completion.insertTextRules&4?{snippet:l.completion.insertText}:l.completion.insertText;t.push(new VMe(d,c,(e=l.filterTextLow)!==null&&e!==void 0?e:l.labelLow,l.completion.additionalTextEdits,l.completion.command,l)),a-->=0&&l.resolve(dt.None)}return t}};JR=tZ([Pv(5,Rk)],JR);let eP=class extends H{constructor(e,t,i,n){super(),this._languageFeatureService=e,this._clipboardService=t,this._suggestMemoryService=i,this._editorService=n,this._store.add(e.inlineCompletionsProvider.register(\"*\",this))}async provideInlineCompletions(e,t,i,n){var o;if(i.selectedSuggestionInfo)return;let r;for(const f of this._editorService.listCodeEditors())if(f.getModel()===e){r=f;break}if(!r)return;const a=r.getOption(89);if(ym.isAllOff(a))return;e.tokenization.tokenizeIfCheap(t.lineNumber);const l=e.tokenization.getLineTokens(t.lineNumber),d=l.getStandardTokenType(l.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if(ym.valueFor(a,d)!==\"inline\")return;let c=e.getWordAtPosition(t),u;if(c!=null&&c.word||(u=this._getTriggerCharacterInfo(e,t)),!(c!=null&&c.word)&&!u||(c||(c=e.getWordUntilPosition(t)),c.endColumn!==t.column))return;let h;const g=e.getValueInRange(new x(t.lineNumber,1,t.lineNumber,t.column));if(!u&&(!((o=this._lastResult)===null||o===void 0)&&o.canBeReused(e,t.lineNumber,c))){const f=new F9(g,t.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=f,this._lastResult.acquire(),h=this._lastResult}else{const f=await P4(this._languageFeatureService.completionProvider,e,t,new zC(void 0,DL.createSuggestFilter(r).itemKind,u==null?void 0:u.providers),u&&{triggerKind:1,triggerCharacter:u.ch},n);let m;f.needsClipboard&&(m=await this._clipboardService.readText());const _=new Pu(f.items,t.column,new F9(g,0),Ua.None,r.getOption(118),r.getOption(112),{boostFullMatch:!1,firstMatchCanBeWeak:!1},m);h=new JR(e,t.lineNumber,c,_,f,this._suggestMemoryService)}return this._lastResult=h,h}handleItemDidShow(e,t){t.completion.resolve(dt.None)}freeInlineCompletions(e){e.release()}_getTriggerCharacterInfo(e,t){var i;const n=e.getValueInRange(x.fromPositions({lineNumber:t.lineNumber,column:t.column-1},t)),o=new Set;for(const r of this._languageFeatureService.completionProvider.all(e))!((i=r.triggerCharacters)===null||i===void 0)&&i.includes(n)&&o.add(r);if(o.size!==0)return{providers:o,ch:n}}};eP=tZ([Pv(0,Ce),Pv(1,ru),Pv(2,Rk),Pv(3,xt)],eP);F1(eP);class zMe extends me{constructor(){super({id:\"editor.action.forceRetokenize\",label:p(\"forceRetokenize\",\"Developer: Force Retokenize\"),alias:\"Developer: Force Retokenize\",precondition:void 0})}run(e,t){if(!t.hasModel())return;const i=t.getModel();i.tokenization.resetTokenization();const n=new Jn;i.tokenization.forceTokenization(i.getLineCount()),n.stop(),console.log(`tokenization took ${n.elapsed()}`)}}te(zMe);class Qk extends qs{constructor(){super({id:Qk.ID,title:Ve({},\"Toggle Tab Key Moves Focus\"),precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},metadata:{description:Ve(\"tabMovesFocusDescriptions\",\"Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode.\")},f1:!0})}run(){const t=!p_.getTabFocusMode();p_.setTabFocusMode(t),fo(t?p(\"toggle.tabMovesFocus.on\",\"Pressing Tab will now move focus to the next focusable element\"):p(\"toggle.tabMovesFocus.off\",\"Pressing Tab will now insert the tab character\"))}}Qk.ID=\"editor.action.toggleTabFocusMode\";qt(Qk);var UMe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Q9=function(s,e){return function(t,i){e(t,i,s)}};let tP=class extends H{get enabled(){return this._enabled}set enabled(e){e?(this.el.setAttribute(\"aria-disabled\",\"false\"),this.el.tabIndex=0,this.el.style.pointerEvents=\"auto\",this.el.style.opacity=\"1\",this.el.style.cursor=\"pointer\",this._enabled=!1):(this.el.setAttribute(\"aria-disabled\",\"true\"),this.el.tabIndex=-1,this.el.style.pointerEvents=\"none\",this.el.style.opacity=\"0.4\",this.el.style.cursor=\"default\",this._enabled=!0),this._enabled=e}constructor(e,t,i={},n,o){var r,a;super(),this._link=t,this._hoverService=n,this._enabled=!0,this.el=Q(e,he(\"a.monaco-link\",{tabIndex:(r=t.tabIndex)!==null&&r!==void 0?r:0,href:t.href},t.label)),this.hoverDelegate=(a=i.hoverDelegate)!==null&&a!==void 0?a:Xs(\"mouse\"),this.setTooltip(t.title),this.el.setAttribute(\"role\",\"button\");const l=this._register(new ht(this.el,\"click\")),d=this._register(new ht(this.el,\"keypress\")),c=le.chain(d.event,g=>g.map(f=>new Kt(f)).filter(f=>f.keyCode===3)),u=this._register(new ht(this.el,Xt.Tap)).event;this._register(Gt.addTarget(this.el));const h=le.any(l.event,c,u);this._register(h(g=>{this.enabled&&(nt.stop(g,!0),i!=null&&i.opener?i.opener(this._link.href):o.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}setTooltip(e){this.hoverDelegate.showNativeHover?this.el.title=e??\"\":!this.hover&&e?this.hover=this._register(this._hoverService.setupUpdatableHover(this.hoverDelegate,this.el,e)):this.hover&&this.hover.update(e)}};tP=UMe([Q9(3,Md),Q9(4,Bo)],tP);var iZ=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},nZ=function(s,e){return function(t,i){e(t,i,s)}};const $Me=26;let iP=class extends H{constructor(e,t){super(),this._editor=e,this.instantiationService=t,this.banner=this._register(this.instantiationService.createInstance(nP))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(e){this.banner.show({...e,onClose:()=>{var t;this.hide(),(t=e.onClose)===null||t===void 0||t.call(e)}}),this._editor.setBanner(this.banner.element,$Me)}};iP=iZ([nZ(1,Ne)],iP);let nP=class extends H{constructor(e){super(),this.instantiationService=e,this.markdownRenderer=this.instantiationService.createInstance(yd,{}),this.element=he(\"div.editor-banner\"),this.element.tabIndex=0}getAriaLabel(e){if(e.ariaLabel)return e.ariaLabel;if(typeof e.message==\"string\")return e.message}getBannerMessage(e){if(typeof e==\"string\"){const t=he(\"span\");return t.innerText=e,t}return this.markdownRenderer.render(e).element}clear(){zn(this.element)}show(e){zn(this.element);const t=this.getAriaLabel(e);t&&this.element.setAttribute(\"aria-label\",t);const i=Q(this.element,he(\"div.icon-container\"));i.setAttribute(\"aria-hidden\",\"true\"),e.icon&&i.appendChild(he(`div${Pe.asCSSSelector(e.icon)}`));const n=Q(this.element,he(\"div.message-container\"));if(n.setAttribute(\"aria-hidden\",\"true\"),n.appendChild(this.getBannerMessage(e.message)),this.messageActionsContainer=Q(this.element,he(\"div.message-actions-container\")),e.actions)for(const r of e.actions)this._register(this.instantiationService.createInstance(tP,this.messageActionsContainer,{...r,tabIndex:-1},{}));const o=Q(this.element,he(\"div.action-container\"));this.actionBar=this._register(new Vr(o)),this.actionBar.push(this._register(new Eo(\"banner.close\",\"Close Banner\",Pe.asClassName(cK),!0,()=>{typeof e.onClose==\"function\"&&e.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};nP=iZ([nZ(0,Ne)],nP);var Z4=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ym=function(s,e){return function(t,i){e(t,i,s)}};const jMe=xi(\"extensions-warning-message\",oe.warning,p(\"warningIcon\",\"Icon shown with a warning message in the extensions editor.\"));let Z_=class extends H{constructor(e,t,i,n){super(),this._editor=e,this._editorWorkerService=t,this._workspaceTrustService=i,this._highlighter=null,this._bannerClosed=!1,this._updateState=o=>{if(o&&o.hasMore){if(this._bannerClosed)return;const r=Math.max(o.ambiguousCharacterCount,o.nonBasicAsciiCharacterCount,o.invisibleCharacterCount);let a;if(o.nonBasicAsciiCharacterCount>=r)a={message:p(\"unicodeHighlighting.thisDocumentHasManyNonBasicAsciiUnicodeCharacters\",\"This document contains many non-basic ASCII unicode characters\"),command:new k0};else if(o.ambiguousCharacterCount>=r)a={message:p(\"unicodeHighlighting.thisDocumentHasManyAmbiguousUnicodeCharacters\",\"This document contains many ambiguous unicode characters\"),command:new dg};else if(o.invisibleCharacterCount>=r)a={message:p(\"unicodeHighlighting.thisDocumentHasManyInvisibleUnicodeCharacters\",\"This document contains many invisible unicode characters\"),command:new x0};else throw new Error(\"Unreachable\");this._bannerController.show({id:\"unicodeHighlightBanner\",message:a.message,icon:jMe,actions:[{label:a.command.shortLabel,href:`command:${a.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(n.createInstance(iP,e)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=e.getOption(125),this._register(i.onDidChangeTrust(o=>{this._updateHighlighter()})),this._register(e.onDidChangeConfiguration(o=>{o.hasChanged(125)&&(this._options=e.getOption(125),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;const e=KMe(this._workspaceTrustService.isWorkspaceTrusted(),this._options);if([e.nonBasicASCII,e.ambiguousCharacters,e.invisibleCharacters].every(i=>i===!1))return;const t={nonBasicASCII:e.nonBasicASCII,ambiguousCharacters:e.ambiguousCharacters,invisibleCharacters:e.invisibleCharacters,includeComments:e.includeComments,includeStrings:e.includeStrings,allowedCodePoints:Object.keys(e.allowedCharacters).map(i=>i.codePointAt(0)),allowedLocales:Object.keys(e.allowedLocales).map(i=>i===\"_os\"?new Intl.NumberFormat().resolvedOptions().locale:i===\"_vscode\"?Hse:i)};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new sP(this._editor,t,this._updateState,this._editorWorkerService):this._highlighter=new qMe(this._editor,t,this._updateState)}getDecorationInfo(e){return this._highlighter?this._highlighter.getDecorationInfo(e):null}};Z_.ID=\"editor.contrib.unicodeHighlighter\";Z_=Z4([Ym(1,jr),Ym(2,cj),Ym(3,Ne)],Z_);function KMe(s,e){return{nonBasicASCII:e.nonBasicASCII===zo?!s:e.nonBasicASCII,ambiguousCharacters:e.ambiguousCharacters,invisibleCharacters:e.invisibleCharacters,includeComments:e.includeComments===zo?!s:e.includeComments,includeStrings:e.includeStrings===zo?!s:e.includeStrings,allowedCharacters:e.allowedCharacters,allowedLocales:e.allowedLocales}}let sP=class extends H{constructor(e,t,i,n){super(),this._editor=e,this._options=t,this._updateState=i,this._editorWorkerService=n,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new Wt(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const e=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(t=>{if(this._model.isDisposed()||this._model.getVersionId()!==e)return;this._updateState(t);const i=[];if(!t.hasMore)for(const n of t.ranges)i.push({range:n,options:IL.instance.getDecorationFromOptions(this._options)});this._decorations.set(i)})}getDecorationInfo(e){if(!this._decorations.has(e))return null;const t=this._editor.getModel();if(!oO(t,e))return null;const i=t.getValueInRange(e.range);return{reason:oZ(i,this._options),inComment:rO(t,e),inString:aO(t,e)}}};sP=Z4([Ym(3,jr)],sP);class qMe extends H{constructor(e,t,i){super(),this._editor=e,this._options=t,this._updateState=i,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new Wt(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const e=this._editor.getVisibleRanges(),t=[],i={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(const n of e){const o=bF.computeUnicodeHighlights(this._model,this._options,n);for(const r of o.ranges)i.ranges.push(r);i.ambiguousCharacterCount+=i.ambiguousCharacterCount,i.invisibleCharacterCount+=i.invisibleCharacterCount,i.nonBasicAsciiCharacterCount+=i.nonBasicAsciiCharacterCount,i.hasMore=i.hasMore||o.hasMore}if(!i.hasMore)for(const n of i.ranges)t.push({range:n,options:IL.instance.getDecorationFromOptions(this._options)});this._updateState(i),this._decorations.set(t)}getDecorationInfo(e){if(!this._decorations.has(e))return null;const t=this._editor.getModel(),i=t.getValueInRange(e.range);return oO(t,e)?{reason:oZ(i,this._options),inComment:rO(t,e),inString:aO(t,e)}:null}}const sZ=p(\"unicodeHighlight.configureUnicodeHighlightOptions\",\"Configure Unicode Highlight Options\");let oP=class{constructor(e,t,i){this._editor=e,this._languageService=t,this._openerService=i,this.hoverOrdinal=5}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const i=this._editor.getModel(),n=this._editor.getContribution(Z_.ID);if(!n)return[];const o=[],r=new Set;let a=300;for(const l of t){const d=n.getDecorationInfo(l);if(!d)continue;const u=i.getValueInRange(l.range).codePointAt(0),h=xT(u);let g;switch(d.reason.kind){case 0:{c1(d.reason.confusableWith)?g=p(\"unicodeHighlight.characterIsAmbiguousASCII\",\"The character {0} could be confused with the ASCII character {1}, which is more common in source code.\",h,xT(d.reason.confusableWith.codePointAt(0))):g=p(\"unicodeHighlight.characterIsAmbiguous\",\"The character {0} could be confused with the character {1}, which is more common in source code.\",h,xT(d.reason.confusableWith.codePointAt(0)));break}case 1:g=p(\"unicodeHighlight.characterIsInvisible\",\"The character {0} is invisible.\",h);break;case 2:g=p(\"unicodeHighlight.characterIsNonBasicAscii\",\"The character {0} is not a basic ASCII character.\",h);break}if(r.has(g))continue;r.add(g);const f={codePoint:u,reason:d.reason,inComment:d.inComment,inString:d.inString},m=p(\"unicodeHighlight.adjustSettings\",\"Adjust settings\"),_=`command:${G1.ID}?${encodeURIComponent(JSON.stringify(f))}`,v=new ss(\"\",!0).appendMarkdown(g).appendText(\" \").appendLink(_,m,sZ);o.push(new Ka(this,l.range,[v],!1,a++))}return o}renderHoverParts(e,t){return Jke(e,t,this._editor,this._languageService,this._openerService)}};oP=Z4([Ym(1,vi),Ym(2,Bo)],oP);function rP(s){return`U+${s.toString(16).padStart(4,\"0\")}`}function xT(s){let e=`\\`${rP(s)}\\``;return ld.isInvisibleCharacter(s)||(e+=` \"${`${GMe(s)}`}\"`),e}function GMe(s){return s===96?\"`` ` ``\":\"`\"+String.fromCodePoint(s)+\"`\"}function oZ(s,e){return bF.computeUnicodeHighlightReason(s,e)}class IL{constructor(){this.map=new Map}getDecorationFromOptions(e){return this.getDecoration(!e.includeComments,!e.includeStrings)}getDecoration(e,t){const i=`${e}${t}`;let n=this.map.get(i);return n||(n=Ye.createDynamic({description:\"unicode-highlight\",stickiness:1,className:\"unicode-highlight\",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:e,hideInStringTokens:t}),this.map.set(i,n)),n}}IL.instance=new IL;class ZMe extends me{constructor(){super({id:dg.ID,label:p(\"action.unicodeHighlight.disableHighlightingInComments\",\"Disable highlighting of characters in comments\"),alias:\"Disable highlighting of characters in comments\",precondition:void 0}),this.shortLabel=p(\"unicodeHighlight.disableHighlightingInComments.shortLabel\",\"Disable Highlight In Comments\")}async run(e,t,i){const n=e==null?void 0:e.get(rt);n&&this.runAction(n)}async runAction(e){await e.updateValue(no.includeComments,!1,2)}}class XMe extends me{constructor(){super({id:dg.ID,label:p(\"action.unicodeHighlight.disableHighlightingInStrings\",\"Disable highlighting of characters in strings\"),alias:\"Disable highlighting of characters in strings\",precondition:void 0}),this.shortLabel=p(\"unicodeHighlight.disableHighlightingInStrings.shortLabel\",\"Disable Highlight In Strings\")}async run(e,t,i){const n=e==null?void 0:e.get(rt);n&&this.runAction(n)}async runAction(e){await e.updateValue(no.includeStrings,!1,2)}}class dg extends me{constructor(){super({id:dg.ID,label:p(\"action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters\",\"Disable highlighting of ambiguous characters\"),alias:\"Disable highlighting of ambiguous characters\",precondition:void 0}),this.shortLabel=p(\"unicodeHighlight.disableHighlightingOfAmbiguousCharacters.shortLabel\",\"Disable Ambiguous Highlight\")}async run(e,t,i){const n=e==null?void 0:e.get(rt);n&&this.runAction(n)}async runAction(e){await e.updateValue(no.ambiguousCharacters,!1,2)}}dg.ID=\"editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters\";class x0 extends me{constructor(){super({id:x0.ID,label:p(\"action.unicodeHighlight.disableHighlightingOfInvisibleCharacters\",\"Disable highlighting of invisible characters\"),alias:\"Disable highlighting of invisible characters\",precondition:void 0}),this.shortLabel=p(\"unicodeHighlight.disableHighlightingOfInvisibleCharacters.shortLabel\",\"Disable Invisible Highlight\")}async run(e,t,i){const n=e==null?void 0:e.get(rt);n&&this.runAction(n)}async runAction(e){await e.updateValue(no.invisibleCharacters,!1,2)}}x0.ID=\"editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters\";class k0 extends me{constructor(){super({id:k0.ID,label:p(\"action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters\",\"Disable highlighting of non basic ASCII characters\"),alias:\"Disable highlighting of non basic ASCII characters\",precondition:void 0}),this.shortLabel=p(\"unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters.shortLabel\",\"Disable Non ASCII Highlight\")}async run(e,t,i){const n=e==null?void 0:e.get(rt);n&&this.runAction(n)}async runAction(e){await e.updateValue(no.nonBasicASCII,!1,2)}}k0.ID=\"editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters\";class G1 extends me{constructor(){super({id:G1.ID,label:p(\"action.unicodeHighlight.showExcludeOptions\",\"Show Exclude Options\"),alias:\"Show Exclude Options\",precondition:void 0})}async run(e,t,i){const{codePoint:n,reason:o,inString:r,inComment:a}=i,l=String.fromCodePoint(n),d=e.get(hp),c=e.get(rt);function u(f){return ld.isInvisibleCharacter(f)?p(\"unicodeHighlight.excludeInvisibleCharFromBeingHighlighted\",\"Exclude {0} (invisible character) from being highlighted\",rP(f)):p(\"unicodeHighlight.excludeCharFromBeingHighlighted\",\"Exclude {0} from being highlighted\",`${rP(f)} \"${l}\"`)}const h=[];if(o.kind===0)for(const f of o.notAmbiguousInLocales)h.push({label:p(\"unicodeHighlight.allowCommonCharactersInLanguage\",'Allow unicode characters that are more common in the language \"{0}\".',f),run:async()=>{QMe(c,[f])}});if(h.push({label:u(n),run:()=>YMe(c,[n])}),a){const f=new ZMe;h.push({label:f.label,run:async()=>f.runAction(c)})}else if(r){const f=new XMe;h.push({label:f.label,run:async()=>f.runAction(c)})}if(o.kind===0){const f=new dg;h.push({label:f.label,run:async()=>f.runAction(c)})}else if(o.kind===1){const f=new x0;h.push({label:f.label,run:async()=>f.runAction(c)})}else if(o.kind===2){const f=new k0;h.push({label:f.label,run:async()=>f.runAction(c)})}else JMe(o);const g=await d.pick(h,{title:sZ});g&&await g.run()}}G1.ID=\"editor.action.unicodeHighlight.showExcludeOptions\";async function YMe(s,e){const t=s.getValue(no.allowedCharacters);let i;typeof t==\"object\"&&t?i=t:i={};for(const n of e)i[String.fromCodePoint(n)]=!0;await s.updateValue(no.allowedCharacters,i,2)}async function QMe(s,e){var t;const i=(t=s.inspect(no.allowedLocales).user)===null||t===void 0?void 0:t.value;let n;typeof i==\"object\"&&i?n=Object.assign({},i):n={};for(const o of e)n[o]=!0;await s.updateValue(no.allowedLocales,n,2)}function JMe(s){throw new Error(`Unexpected value: ${s}`)}te(dg);te(x0);te(k0);te(G1);kt(Z_.ID,Z_,1);ag.register(oP);var eRe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},J9=function(s,e){return function(t,i){e(t,i,s)}};const rZ=\"ignoreUnusualLineTerminators\";function tRe(s,e,t){s.setModelProperty(e.uri,rZ,t)}function iRe(s,e){return s.getModelProperty(e.uri,rZ)}let t1=class extends H{constructor(e,t,i){super(),this._editor=e,this._dialogService=t,this._codeEditorService=i,this._isPresentingDialog=!1,this._config=this._editor.getOption(126),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(126)&&(this._config=this._editor.getOption(126),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(n=>{n.isUndoing||this._checkForUnusualLineTerminators()})),this._checkForUnusualLineTerminators()}async _checkForUnusualLineTerminators(){if(this._config===\"off\"||!this._editor.hasModel())return;const e=this._editor.getModel();if(!e.mightContainUnusualLineTerminators()||iRe(this._codeEditorService,e)===!0||this._editor.getOption(91))return;if(this._config===\"auto\"){e.removeUnusualLineTerminators(this._editor.getSelections());return}if(this._isPresentingDialog)return;let i;try{this._isPresentingDialog=!0,i=await this._dialogService.confirm({title:p(\"unusualLineTerminators.title\",\"Unusual Line Terminators\"),message:p(\"unusualLineTerminators.message\",\"Detected unusual line terminators\"),detail:p(\"unusualLineTerminators.detail\",\"The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\\n\\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.\",Wr(e.uri)),primaryButton:p({key:\"unusualLineTerminators.fix\",comment:[\"&& denotes a mnemonic\"]},\"&&Remove Unusual Line Terminators\"),cancelButton:p(\"unusualLineTerminators.ignore\",\"Ignore\")})}finally{this._isPresentingDialog=!1}if(!i.confirmed){tRe(this._codeEditorService,e,!0);return}e.removeUnusualLineTerminators(this._editor.getSelections())}};t1.ID=\"editor.contrib.unusualLineTerminatorsDetector\";t1=eRe([J9(1,dO),J9(2,xt)],t1);kt(t1.ID,t1,1);var aZ=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},vS=function(s,e){return function(t,i){e(t,i,s)}},un,aP;const Jk=new ue(\"hasWordHighlights\",!1);function lZ(s,e,t,i){const n=s.ordered(e);return sF(n.map(o=>()=>Promise.resolve(o.provideDocumentHighlights(e,t,i)).then(void 0,Ai)),rs).then(o=>{if(o){const r=new Wi;return r.set(e.uri,o),r}return new Wi})}function nRe(s,e,t,i,n,o){const r=s.ordered(e);return sF(r.map(a=>()=>{const l=o.filter(d=>aU(d)).filter(d=>hO(a.selector,d.uri,d.getLanguageId(),!0,void 0,void 0)>0);return Promise.resolve(a.provideMultiDocumentHighlights(e,t,l,n)).then(void 0,Ai)}),a=>a instanceof Wi&&a.size>0)}class X4{constructor(e,t,i){this._model=e,this._selection=t,this._wordSeparators=i,this._wordRange=this._getCurrentWordRange(e,t),this._result=null}get result(){return this._result||(this._result=Dn(e=>this._compute(this._model,this._selection,this._wordSeparators,e))),this._result}_getCurrentWordRange(e,t){const i=e.getWordAtPosition(t.getPosition());return i?new x(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):null}isValid(e,t,i){const n=t.startLineNumber,o=t.startColumn,r=t.endColumn,a=this._getCurrentWordRange(e,t);let l=!!(this._wordRange&&this._wordRange.equalsRange(a));for(let d=0,c=i.length;!l&&d<c;d++){const u=i.getRange(d);u&&u.startLineNumber===n&&u.startColumn<=o&&u.endColumn>=r&&(l=!0)}return l}cancel(){this.result.cancel()}}class sRe extends X4{constructor(e,t,i,n){super(e,t,i),this._providers=n}_compute(e,t,i,n){return lZ(this._providers,e,t.getPosition(),n).then(o=>o||new Wi)}}class oRe extends X4{constructor(e,t,i,n,o){super(e,t,i),this._providers=n,this._otherModels=o}_compute(e,t,i,n){return nRe(this._providers,e,t.getPosition(),i,n,this._otherModels).then(o=>o||new Wi)}}class dZ extends X4{constructor(e,t,i,n,o){super(e,t,n),this._otherModels=o,this._selectionIsEmpty=t.isEmpty(),this._word=i}_compute(e,t,i,n){return xh(250,n).then(()=>{const o=new Wi;let r;if(this._word?r=this._word:r=e.getWordAtPosition(t.getPosition()),!r)return new Wi;const a=[e,...this._otherModels];for(const l of a){if(l.isDisposed())continue;const c=l.findMatches(r.word,!0,!1,!0,i,!1).map(u=>({range:u.range,kind:Ab.Text}));c&&o.set(l.uri,c)}return o})}isValid(e,t,i){const n=t.isEmpty();return this._selectionIsEmpty!==n?!1:super.isValid(e,t,i)}}function rRe(s,e,t,i,n){return s.has(e)?new sRe(e,t,n,s):new dZ(e,t,i,n,[])}function aRe(s,e,t,i,n,o){return s.has(e)?new oRe(e,t,n,s,o):new dZ(e,t,i,n,o)}Ad(\"_executeDocumentHighlights\",async(s,e,t)=>{const i=s.get(Ce),n=await lZ(i.documentHighlightProvider,e,t,dt.None);return n==null?void 0:n.get(e.uri)});let i1=un=class{constructor(e,t,i,n,o){this.toUnhook=new Y,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=new Wi,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this.providers=t,this.multiDocumentProviders=i,this.codeEditorService=o,this._hasWordHighlights=Jk.bindTo(n),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(81),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(r=>{this._ignorePositionChangeEvent||this.occurrencesHighlight!==\"off\"&&this._onPositionChanged(r)})),this.toUnhook.add(e.onDidFocusEditorText(r=>{this.occurrencesHighlight!==\"off\"&&(this.workerRequest||this._run())})),this.toUnhook.add(e.onDidChangeModelContent(r=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeModel(r=>{!r.newModelUrl&&r.oldModelUrl?this._stopSingular():un.query&&this._run()})),this.toUnhook.add(e.onDidChangeConfiguration(r=>{const a=this.editor.getOption(81);this.occurrencesHighlight!==a&&(this.occurrencesHighlight=a,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,un.query&&this._run()}hasDecorations(){return this.decorations.length>0}restore(){this.occurrencesHighlight!==\"off\"&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(x.compareRangesUsingStarts)}moveNext(){const e=this._getSortedHighlights(),i=(e.findIndex(o=>o.containsPosition(this.editor.getPosition()))+1)%e.length,n=e[i];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const o=this._getWord();if(o){const r=this.editor.getModel().getLineContent(n.startLineNumber);fo(`${r}, ${i+1} of ${e.length} for '${o.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){const e=this._getSortedHighlights(),i=(e.findIndex(o=>o.containsPosition(this.editor.getPosition()))-1+e.length)%e.length,n=e[i];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const o=this._getWord();if(o){const r=this.editor.getModel().getLineContent(n.startLineNumber);fo(`${r}, ${i+1} of ${e.length} for '${o.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeSingleDecorations(){if(!this.editor.hasModel())return;const e=un.storedDecorations.get(this.editor.getModel().uri);e&&(this.editor.removeDecorations(e),un.storedDecorations.delete(this.editor.getModel().uri),this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1)))}_removeAllDecorations(){const e=this.codeEditorService.listCodeEditors(),t=[];for(const i of e){if(!i.hasModel())continue;const n=un.storedDecorations.get(i.getModel().uri);if(!n)continue;i.removeDecorations(n),t.push(i.getModel().uri);const o=Zc.get(i);o!=null&&o.wordHighlighter&&o.wordHighlighter.decorations.length>0&&(o.wordHighlighter.decorations.clear(),o.wordHighlighter.workerRequest=null,o.wordHighlighter._hasWordHighlights.set(!1))}for(const i of t)un.storedDecorations.delete(i)}_stopSingular(){var e,t,i,n;this._removeSingleDecorations(),this.editor.hasTextFocus()&&(((e=this.editor.getModel())===null||e===void 0?void 0:e.uri.scheme)!==Ge.vscodeNotebookCell&&((i=(t=un.query)===null||t===void 0?void 0:t.modelInfo)===null||i===void 0?void 0:i.model.uri.scheme)!==Ge.vscodeNotebookCell?(un.query=null,this._run()):!((n=un.query)===null||n===void 0)&&n.modelInfo&&(un.query.modelInfo=null)),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_stopAll(){this._removeAllDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){var t;if(this.occurrencesHighlight===\"off\"){this._stopAll();return}if(e.reason!==3&&((t=this.editor.getModel())===null||t===void 0?void 0:t.uri.scheme)!==Ge.vscodeNotebookCell){this._stopAll();return}this._run()}_getWord(){const e=this.editor.getSelection(),t=e.startLineNumber,i=e.startColumn;return this.model.isDisposed()?null:this.model.getWordAtPosition({lineNumber:t,column:i})}getOtherModelsToHighlight(e){if(!e)return[];if(e.uri.scheme===Ge.vscodeNotebookCell){const o=[],r=this.codeEditorService.listCodeEditors();for(const a of r){const l=a.getModel();l&&l!==e&&l.uri.scheme===Ge.vscodeNotebookCell&&o.push(l)}return o}const i=[],n=this.codeEditorService.listCodeEditors();for(const o of n){if(!CLe(o))continue;const r=o.getModel();r&&e===r.modified&&i.push(r.modified)}if(i.length)return i;if(this.occurrencesHighlight===\"singleFile\")return[];for(const o of n){const r=o.getModel();r&&r!==e&&i.push(r)}return i}_run(){var e;let t;if(this.editor.hasTextFocus()){const n=this.editor.getSelection();if(!n||n.startLineNumber!==n.endLineNumber){un.query=null,this._stopAll();return}const o=n.startColumn,r=n.endColumn,a=this._getWord();if(!a||a.startColumn>o||a.endColumn<r){un.query=null,this._stopAll();return}t=this.workerRequest&&this.workerRequest.isValid(this.model,n,this.decorations),un.query={modelInfo:{model:this.model,selection:n},word:a}}else if(!un.query)return;if(this.lastCursorPositionChangeTime=new Date().getTime(),t)this.workerRequestCompleted&&this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();const n=++this.workerRequestTokenId;this.workerRequestCompleted=!1;const o=this.getOtherModelsToHighlight(this.editor.getModel());if(!un.query.modelInfo||un.query.modelInfo.model.isDisposed())return;this.workerRequest=this.computeWithModel(un.query.modelInfo.model,un.query.modelInfo.selection,un.query.word,o),(e=this.workerRequest)===null||e===void 0||e.result.then(r=>{n===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=r||[],this._beginRenderDecorations())},Xe)}}computeWithModel(e,t,i,n){return n.length?aRe(this.multiDocumentProviders,e,t,i,this.editor.getOption(131),n):rRe(this.providers,e,t,i,this.editor.getOption(131))}_beginRenderDecorations(){const e=new Date().getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){var e,t,i;this.renderDecorationsTimer=-1;const n=this.codeEditorService.listCodeEditors();for(const o of n){const r=Zc.get(o);if(!r)continue;const a=[],l=(e=o.getModel())===null||e===void 0?void 0:e.uri;if(l&&this.workerRequestValue.has(l)){const d=un.storedDecorations.get(l),c=this.workerRequestValue.get(l);if(c)for(const h of c)h.range&&a.push({range:h.range,options:v2e(h.kind)});let u=[];o.changeDecorations(h=>{u=h.deltaDecorations(d??[],a)}),un.storedDecorations=un.storedDecorations.set(l,u),a.length>0&&((t=r.wordHighlighter)===null||t===void 0||t.decorations.set(a),(i=r.wordHighlighter)===null||i===void 0||i._hasWordHighlights.set(!0))}}}dispose(){this._stopSingular(),this.toUnhook.dispose()}};i1.storedDecorations=new Wi;i1.query=null;i1=un=aZ([vS(4,xt)],i1);let Zc=aP=class extends H{static get(e){return e.getContribution(aP.ID)}constructor(e,t,i,n){super(),this._wordHighlighter=null;const o=()=>{e.hasModel()&&!e.getModel().isTooLargeForTokenization()&&(this._wordHighlighter=new i1(e,i.documentHighlightProvider,i.multiDocumentHighlightProvider,t,n))};this._register(e.onDidChangeModel(r=>{this._wordHighlighter&&(this._wordHighlighter.dispose(),this._wordHighlighter=null),o()})),o()}get wordHighlighter(){return this._wordHighlighter}saveViewState(){return!!(this._wordHighlighter&&this._wordHighlighter.hasDecorations())}moveNext(){var e;(e=this._wordHighlighter)===null||e===void 0||e.moveNext()}moveBack(){var e;(e=this._wordHighlighter)===null||e===void 0||e.moveBack()}restoreViewState(e){this._wordHighlighter&&e&&this._wordHighlighter.restore()}dispose(){this._wordHighlighter&&(this._wordHighlighter.dispose(),this._wordHighlighter=null),super.dispose()}};Zc.ID=\"editor.contrib.wordHighlighter\";Zc=aP=aZ([vS(1,Be),vS(2,Ce),vS(3,xt)],Zc);class cZ extends me{constructor(e,t){super(t),this._isNext=e}run(e,t){const i=Zc.get(t);i&&(this._isNext?i.moveNext():i.moveBack())}}class lRe extends cZ{constructor(){super(!0,{id:\"editor.action.wordHighlight.next\",label:p(\"wordHighlight.next.label\",\"Go to Next Symbol Highlight\"),alias:\"Go to Next Symbol Highlight\",precondition:Jk,kbOpts:{kbExpr:T.editorTextFocus,primary:65,weight:100}})}}class dRe extends cZ{constructor(){super(!1,{id:\"editor.action.wordHighlight.prev\",label:p(\"wordHighlight.previous.label\",\"Go to Previous Symbol Highlight\"),alias:\"Go to Previous Symbol Highlight\",precondition:Jk,kbOpts:{kbExpr:T.editorTextFocus,primary:1089,weight:100}})}}class cRe extends me{constructor(){super({id:\"editor.action.wordHighlight.trigger\",label:p(\"wordHighlight.trigger.label\",\"Trigger Symbol Highlight\"),alias:\"Trigger Symbol Highlight\",precondition:Jk.toNegated(),kbOpts:{kbExpr:T.editorTextFocus,primary:0,weight:100}})}run(e,t,i){const n=Zc.get(t);n&&n.restoreViewState(!0)}}kt(Zc.ID,Zc,0);te(lRe);te(dRe);te(cRe);class eE extends mn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(!t.hasModel())return;const n=Or(t.getOption(131),t.getOption(130)),o=t.getModel(),a=t.getSelections().map(l=>{const d=new W(l.positionLineNumber,l.positionColumn),c=this._move(n,o,d,this._wordNavigationType);return this._moveTo(l,c,this._inSelectionMode)});if(o.pushStackElement(),t._getViewModel().setCursorStates(\"moveWordCommand\",3,a.map(l=>wt.fromModelSelection(l))),a.length===1){const l=new W(a[0].positionLineNumber,a[0].positionColumn);t.revealPosition(l,0)}}_moveTo(e,t,i){return i?new we(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new we(t.lineNumber,t.column,t.lineNumber,t.column)}}class cg extends eE{_move(e,t,i,n){return Et.moveWordLeft(e,t,i,n)}}class ug extends eE{_move(e,t,i,n){return Et.moveWordRight(e,t,i,n)}}class uRe extends cg{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:\"cursorWordStartLeft\",precondition:void 0})}}class hRe extends cg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordEndLeft\",precondition:void 0})}}class gRe extends cg{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:1,id:\"cursorWordLeft\",precondition:void 0,kbOpts:{kbExpr:G.and(T.textInputFocus,(e=G.and(_1,tk))===null||e===void 0?void 0:e.negate()),primary:2063,mac:{primary:527},weight:100}})}}class fRe extends cg{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:\"cursorWordStartLeftSelect\",precondition:void 0})}}class pRe extends cg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordEndLeftSelect\",precondition:void 0})}}class mRe extends cg{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:1,id:\"cursorWordLeftSelect\",precondition:void 0,kbOpts:{kbExpr:G.and(T.textInputFocus,(e=G.and(_1,tk))===null||e===void 0?void 0:e.negate()),primary:3087,mac:{primary:1551},weight:100}})}}class _Re extends cg{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:\"cursorWordAccessibilityLeft\",precondition:void 0})}_move(e,t,i,n){return super._move(Or(hl.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}class vRe extends cg{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:\"cursorWordAccessibilityLeftSelect\",precondition:void 0})}_move(e,t,i,n){return super._move(Or(hl.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}class bRe extends ug{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:\"cursorWordStartRight\",precondition:void 0})}}class CRe extends ug{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordEndRight\",precondition:void 0,kbOpts:{kbExpr:G.and(T.textInputFocus,(e=G.and(_1,tk))===null||e===void 0?void 0:e.negate()),primary:2065,mac:{primary:529},weight:100}})}}class wRe extends ug{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordRight\",precondition:void 0})}}class yRe extends ug{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:\"cursorWordStartRightSelect\",precondition:void 0})}}class SRe extends ug{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordEndRightSelect\",precondition:void 0,kbOpts:{kbExpr:G.and(T.textInputFocus,(e=G.and(_1,tk))===null||e===void 0?void 0:e.negate()),primary:3089,mac:{primary:1553},weight:100}})}}class DRe extends ug{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordRightSelect\",precondition:void 0})}}class LRe extends ug{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:\"cursorWordAccessibilityRight\",precondition:void 0})}_move(e,t,i,n){return super._move(Or(hl.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}class xRe extends ug{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:\"cursorWordAccessibilityRightSelect\",precondition:void 0})}_move(e,t,i,n){return super._move(Or(hl.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}class tE extends mn{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){const n=e.get(Yt);if(!t.hasModel())return;const o=Or(t.getOption(131),t.getOption(130)),r=t.getModel(),a=t.getSelections(),l=t.getOption(6),d=t.getOption(11),c=n.getLanguageConfiguration(r.getLanguageId()).getAutoClosingPairs(),u=t._getViewModel(),h=a.map(g=>{const f=this._delete({wordSeparators:o,model:r,selection:g,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:t.getOption(9),autoClosingBrackets:l,autoClosingQuotes:d,autoClosingPairs:c,autoClosedCharacters:u.getCursorAutoClosedCharacters()},this._wordNavigationType);return new qn(f,\"\")});t.pushUndoStop(),t.executeCommands(this.id,h),t.pushUndoStop()}}class Y4 extends tE{_delete(e,t){const i=Et.deleteWordLeft(e,t);return i||new x(1,1,1,1)}}class Q4 extends tE{_delete(e,t){const i=Et.deleteWordRight(e,t);if(i)return i;const n=e.model.getLineCount(),o=e.model.getLineMaxColumn(n);return new x(n,o,n,o)}}class kRe extends Y4{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:\"deleteWordStartLeft\",precondition:T.writable})}}class ERe extends Y4{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:\"deleteWordEndLeft\",precondition:T.writable})}}class IRe extends Y4{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:\"deleteWordLeft\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}class TRe extends Q4{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:\"deleteWordStartRight\",precondition:T.writable})}}class NRe extends Q4{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:\"deleteWordEndRight\",precondition:T.writable})}}class ARe extends Q4{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:\"deleteWordRight\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}class MRe extends me{constructor(){super({id:\"deleteInsideWord\",precondition:T.writable,label:p(\"deleteInsideWord\",\"Delete Word\"),alias:\"Delete Word\"})}run(e,t,i){if(!t.hasModel())return;const n=Or(t.getOption(131),t.getOption(130)),o=t.getModel(),a=t.getSelections().map(l=>{const d=Et.deleteInsideWord(n,o,l);return new qn(d,\"\")});t.pushUndoStop(),t.executeCommands(this.id,a),t.pushUndoStop()}}de(new uRe);de(new hRe);de(new gRe);de(new fRe);de(new pRe);de(new mRe);de(new bRe);de(new CRe);de(new wRe);de(new yRe);de(new SRe);de(new DRe);de(new _Re);de(new vRe);de(new LRe);de(new xRe);de(new kRe);de(new ERe);de(new IRe);de(new TRe);de(new NRe);de(new ARe);te(MRe);class RRe extends tE{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:\"deleteWordPartLeft\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t){const i=kx.deleteWordPartLeft(e);return i||new x(1,1,1,1)}}class PRe extends tE{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:\"deleteWordPartRight\",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t){const i=kx.deleteWordPartRight(e);if(i)return i;const n=e.model.getLineCount(),o=e.model.getLineMaxColumn(n);return new x(n,o,n,o)}}class uZ extends eE{_move(e,t,i,n){return kx.moveWordPartLeft(e,t,i)}}class FRe extends uZ{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:\"cursorWordPartLeft\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}pt.registerCommandAlias(\"cursorWordPartStartLeft\",\"cursorWordPartLeft\");class ORe extends uZ{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:\"cursorWordPartLeftSelect\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}pt.registerCommandAlias(\"cursorWordPartStartLeftSelect\",\"cursorWordPartLeftSelect\");class hZ extends eE{_move(e,t,i,n){return kx.moveWordPartRight(e,t,i)}}class BRe extends hZ{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordPartRight\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}class WRe extends hZ{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordPartRightSelect\",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}de(new RRe);de(new PRe);de(new FRe);de(new ORe);de(new BRe);de(new WRe);class lP extends H{constructor(e){super(),this.editor=e,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){const e=Vs.get(this.editor);if(e&&this.editor.hasModel()){let t=this.editor.getOptions().get(92);t||(this.editor.isSimpleWidget?t=new ss(p(\"editor.simple.readonly\",\"Cannot edit in read-only input\")):t=new ss(p(\"editor.readonly\",\"Cannot edit in read-only editor\"))),e.showMessage(t,this.editor.getPosition())}}}lP.ID=\"editor.contrib.readOnlyMessageController\";kt(lP.ID,lP,2);var HRe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},eW=function(s,e){return function(t,i){e(t,i,s)}};let dP=class extends H{constructor(e,t,i){super(),this._textModel=e,this._languageFeaturesService=t,this._outlineModelService=i,this._currentModel=vt(this,void 0);const n=os(\"documentSymbolProvider.onDidChange\",this._languageFeaturesService.documentSymbolProvider.onDidChange),o=os(\"_textModel.onDidChangeContent\",le.debounce(r=>this._textModel.onDidChangeContent(r),()=>{},100));this._register(Hr(async(r,a)=>{n.read(r),o.read(r);const l=a.add(new Xye),d=await this._outlineModelService.getOrCreate(this._textModel,l.token);a.isDisposed||this._currentModel.set(d,void 0)}))}getBreadcrumbItems(e,t){const i=this._currentModel.read(t);if(!i)return[];const n=i.asListOfDocumentSymbols().filter(o=>e.contains(o.range.startLineNumber)&&!e.contains(o.range.endLineNumber));return n.sort(kV(ao(o=>o.range.endLineNumber-o.range.startLineNumber,ua))),n.map(o=>({name:o.name,kind:o.kind,startLineNumber:o.range.startLineNumber}))}};dP=HRe([eW(1,Ce),eW(2,R4)],dP);xC.setBreadcrumbsSourceFactory((s,e)=>e.createInstance(dP,s));/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var VRe=Object.defineProperty,zRe=Object.getOwnPropertyDescriptor,URe=Object.getOwnPropertyNames,$Re=Object.prototype.hasOwnProperty,jRe=(s,e,t,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let n of URe(e))!$Re.call(s,n)&&n!==t&&VRe(s,n,{get:()=>e[n],enumerable:!(i=zRe(e,n))||i.enumerable});return s},KRe=(s,e,t)=>(jRe(s,e,\"default\"),t),E0={};KRe(E0,_0);var J4=class{constructor(e,t,i){this._onDidChange=new E0.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},e5={validate:!0,lint:{compatibleVendorPrefixes:\"ignore\",vendorPrefix:\"warning\",duplicateProperties:\"warning\",emptyRules:\"warning\",importStatement:\"ignore\",boxModel:\"ignore\",universalSelector:\"ignore\",zeroUnits:\"ignore\",fontFaceProperties:\"warning\",hexColorLength:\"error\",argumentsInColorFunction:\"error\",unknownProperties:\"warning\",ieHack:\"ignore\",unknownVendorSpecificProperties:\"ignore\",propertyIgnoredDueToDisplay:\"warning\",important:\"ignore\",float:\"ignore\",idSelector:\"ignore\"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:\"collapse\",maxPreserveNewLines:void 0,preserveNewLines:!0}},t5={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},gZ=new J4(\"css\",e5,t5),fZ=new J4(\"scss\",e5,t5),pZ=new J4(\"less\",e5,t5);E0.languages.css={cssDefaults:gZ,lessDefaults:pZ,scssDefaults:fZ};function i5(){return er(()=>import(\"./cssMode-CMP9zKWk.js\"),__vite__mapDeps([8,1,2,3]))}E0.languages.onLanguage(\"less\",()=>{i5().then(s=>s.setupMode(pZ))});E0.languages.onLanguage(\"scss\",()=>{i5().then(s=>s.setupMode(fZ))});E0.languages.onLanguage(\"css\",()=>{i5().then(s=>s.setupMode(gZ))});/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var qRe=Object.defineProperty,GRe=Object.getOwnPropertyDescriptor,ZRe=Object.getOwnPropertyNames,XRe=Object.prototype.hasOwnProperty,YRe=(s,e,t,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let n of ZRe(e))!XRe.call(s,n)&&n!==t&&qRe(s,n,{get:()=>e[n],enumerable:!(i=GRe(e,n))||i.enumerable});return s},QRe=(s,e,t)=>(YRe(s,e,\"default\"),t),iE={};QRe(iE,_0);var JRe=class{constructor(e,t,i){this._onDidChange=new iE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},ePe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default\": \"a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:\"pre\",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:\"head, body, /html\",wrapAttributes:\"auto\"},nE={format:ePe,suggest:{},data:{useDefaultDataProvider:!0}};function sE(s){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:s===Cb,documentFormattingEdits:s===Cb,documentRangeFormattingEdits:s===Cb}}var Cb=\"html\",tW=\"handlebars\",iW=\"razor\",mZ=oE(Cb,nE,sE(Cb)),tPe=mZ.defaults,_Z=oE(tW,nE,sE(tW)),iPe=_Z.defaults,vZ=oE(iW,nE,sE(iW)),nPe=vZ.defaults;iE.languages.html={htmlDefaults:tPe,razorDefaults:nPe,handlebarDefaults:iPe,htmlLanguageService:mZ,handlebarLanguageService:_Z,razorLanguageService:vZ,registerHTMLLanguageService:oE};function sPe(){return er(()=>import(\"./htmlMode-BZEeRbEQ.js\"),__vite__mapDeps([9,1,2,3]))}function oE(s,e=nE,t=sE(s)){const i=new JRe(s,e,t);let n;const o=iE.languages.onLanguage(s,async()=>{n=(await sPe()).setupMode(i)});return{defaults:i,dispose(){o.dispose(),n==null||n.dispose(),n=void 0}}}var oPe=class{constructor(e,t,i){this._onDidChange=new OK,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},rPe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:\"warning\",schemaValidation:\"warning\",comments:\"error\",trailingCommas:\"error\"},aPe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},bZ=new oPe(\"json\",rPe,aPe),lPe=()=>CZ().then(s=>s.getWorker());O1.json={jsonDefaults:bZ,getWorker:lPe};function CZ(){return er(()=>import(\"./jsonMode-CWFvP3uU.js\"),__vite__mapDeps([10,1,2,3]))}O1.register({id:\"json\",extensions:[\".json\",\".bowerrc\",\".jshintrc\",\".jscsrc\",\".eslintrc\",\".babelrc\",\".har\"],aliases:[\"JSON\",\"json\"],mimetypes:[\"application/json\"]});O1.onLanguage(\"json\",()=>{CZ().then(s=>s.setupMode(bZ))});/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var dPe=Object.defineProperty,cPe=Object.getOwnPropertyDescriptor,uPe=Object.getOwnPropertyNames,hPe=Object.prototype.hasOwnProperty,gPe=(s,e,t,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let n of uPe(e))!hPe.call(s,n)&&n!==t&&dPe(s,n,{get:()=>e[n],enumerable:!(i=cPe(e,n))||i.enumerable});return s},fPe=(s,e,t)=>(gPe(s,e,\"default\"),t),pPe=\"5.0.2\",X_={};fPe(X_,_0);var wZ=(s=>(s[s.None=0]=\"None\",s[s.CommonJS=1]=\"CommonJS\",s[s.AMD=2]=\"AMD\",s[s.UMD=3]=\"UMD\",s[s.System=4]=\"System\",s[s.ES2015=5]=\"ES2015\",s[s.ESNext=99]=\"ESNext\",s))(wZ||{}),yZ=(s=>(s[s.None=0]=\"None\",s[s.Preserve=1]=\"Preserve\",s[s.React=2]=\"React\",s[s.ReactNative=3]=\"ReactNative\",s[s.ReactJSX=4]=\"ReactJSX\",s[s.ReactJSXDev=5]=\"ReactJSXDev\",s))(yZ||{}),SZ=(s=>(s[s.CarriageReturnLineFeed=0]=\"CarriageReturnLineFeed\",s[s.LineFeed=1]=\"LineFeed\",s))(SZ||{}),DZ=(s=>(s[s.ES3=0]=\"ES3\",s[s.ES5=1]=\"ES5\",s[s.ES2015=2]=\"ES2015\",s[s.ES2016=3]=\"ES2016\",s[s.ES2017=4]=\"ES2017\",s[s.ES2018=5]=\"ES2018\",s[s.ES2019=6]=\"ES2019\",s[s.ES2020=7]=\"ES2020\",s[s.ESNext=99]=\"ESNext\",s[s.JSON=100]=\"JSON\",s[s.Latest=99]=\"Latest\",s))(DZ||{}),LZ=(s=>(s[s.Classic=1]=\"Classic\",s[s.NodeJs=2]=\"NodeJs\",s))(LZ||{}),xZ=class{constructor(s,e,t,i,n){this._onDidChange=new X_.Emitter,this._onDidExtraLibsChange=new X_.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(s),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(s,e){let t;if(typeof e>\"u\"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===s)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:s,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(s){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),s&&s.length>0)for(const e of s){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(s){this._compilerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(s){this._diagnosticsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(s){this._workerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(s){this._inlayHintsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(s){}setEagerModelSync(s){this._eagerModelSync=s}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(s){this._modeConfiguration=s||Object.create(null),this._onDidChange.fire(void 0)}},mPe=pPe,kZ={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},EZ=new xZ({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},kZ),IZ=new xZ({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},kZ),_Pe=()=>rE().then(s=>s.getTypeScriptWorker()),vPe=()=>rE().then(s=>s.getJavaScriptWorker());X_.languages.typescript={ModuleKind:wZ,JsxEmit:yZ,NewLineKind:SZ,ScriptTarget:DZ,ModuleResolutionKind:LZ,typescriptVersion:mPe,typescriptDefaults:EZ,javascriptDefaults:IZ,getTypeScriptWorker:_Pe,getJavaScriptWorker:vPe};function rE(){return er(()=>import(\"./tsMode-FcR9Jej8.js\"),__vite__mapDeps([11,1,2,3]))}X_.languages.onLanguage(\"typescript\",()=>rE().then(s=>s.setupTypeScript(EZ)));X_.languages.onLanguage(\"javascript\",()=>rE().then(s=>s.setupJavaScript(IZ)));globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(s,e){return this.cache.has(s)?this.cache.get(s):(this.cache.set(s,e),e)}};O1.css.cssDefaults.setOptions({data:{dataProviders:{tailwindcssData:sQ}}});rQ(_0,{tailwindConfig:{darkMode:[\"class\"],theme:{extend:{colors:{border:\"hsl(var(--border))\",input:\"hsl(var(--input))\",ring:\"hsl(var(--ring))\",background:\"hsl(var(--background))\",foreground:\"hsl(var(--foreground))\",primary:{DEFAULT:\"hsl(var(--primary))\",foreground:\"hsl(var(--primary-foreground))\"},secondary:{DEFAULT:\"hsl(var(--secondary))\",foreground:\"hsl(var(--secondary-foreground))\"},destructive:{DEFAULT:\"hsl(var(--destructive))\",foreground:\"hsl(var(--destructive-foreground))\"},muted:{DEFAULT:\"hsl(var(--muted))\",foreground:\"hsl(var(--muted-foreground))\"},accent:{DEFAULT:\"hsl(var(--accent))\",foreground:\"hsl(var(--accent-foreground))\"},popover:{DEFAULT:\"hsl(var(--popover))\",foreground:\"hsl(var(--popover-foreground))\"},card:{DEFAULT:\"hsl(var(--card))\",foreground:\"hsl(var(--card-foreground))\"}}}}}});NL.config({monaco:_0});NL.init().catch(s=>{console.error(\"Unable to initialize monaco\",s)});const bPe=s=>{f5.base=\"vs-dark\",s.editor.defineTheme(\"openui\",f5)};function CPe({code:s,framework:e}){const o=RZ().id??\"new\",r=_t.useContext(jZ),[a,l]=_t.useState(e!==\"html\"),d=_t.useRef(),[c,u]=_t.useState(),[h,g]=_t.useState(\"\"),[f,m]=_t.useState(\"\"),_=_t.useRef(),[v,b]=_t.useState(!1),C=PZ(s),w=FZ(),[y,D]=OZ(BZ({id:o})),L=WZ(HZ),k=_t.useMemo(()=>new VZ(y,D,w),[y,D,w]),[I,O]=zZ(k);_t.useEffect(()=>{if(c){if(!k.version(I).includes(\".\")){const V=k.editChapter(h,I);O(V),setTimeout(()=>{var U;(U=d.current)==null||U.setPosition(c)},100)}u(void 0)}},[c,u,I,O]);const R=(F,V)=>{V.editor.setTheme(\"openui\"),d.current=F;let U,J=!1;F.onDidChangeModelContent(()=>{U&&(U=void 0)}),F.onDidChangeCursorPosition(pe=>{J&&(U=pe.position,J=!1,u(U))}),F.onDidFocusEditorWidget(()=>{J=!0}),d.current.setValue(h.trim())};_t.useEffect(()=>{l(e!==\"html\")},[e]);const P=_t.useMemo(()=>{const[F]=UZ(e);return`${o}.${I}${F}`},[o,I,e]);return _t.useEffect(()=>{m(\"\"),b(!1)},[P]),_t.useEffect(()=>{clearTimeout(_.current),f!==\"\"&&(_.current=setTimeout(()=>{r.emit(\"ui-state\",{editedHTML:f}),k.editChapter(f,I)},2e3))},[f,I]),_t.useEffect(()=>{d.current&&!v&&d.current.setValue(h.trim())},[L.rendering,v,h,P]),_t.useEffect(()=>{(async()=>{const V=await er(()=>import(\"./standalone-BS_cqyLa.js\"),[]),J=[await er(()=>import(\"./html-B2LDEzWk.js\"),[])];if(e!==\"html\"){const De=await er(()=>import(\"./babel-CqqbTYm7.js\"),[]);J.unshift(De),J.unshift(Cse)}const pe=await V.format(s,{plugins:J,parser:e===\"html\"?\"html\":\"babel\",semi:!1,singleQuote:!0,trailingComma:\"all\",jsxBracketSameLine:!0,tabWidth:2,printWidth:200});g(pe)})().catch(()=>{console.warn(\"Unable to format code\"),g(s)})},[C,e]),$Z.jsx(YX,{defaultValue:h.trim(),path:P,options:{readOnly:a,lineNumbers:\"off\",minimap:{enabled:!1},overviewRulerLanes:0,scrollBeyondLastLine:!1},className:\"h-[calc(100vh-364px)] pt-2\",beforeMount:bPe,onMount:R,onChange:F=>{F&&e===\"html\"&&!L.rendering&&F!==h.trim()&&(console.log(\"Edit mode enabled for code editor\"),b(!0),m(F))}},P)}const d3e=Object.freeze(Object.defineProperty({__proto__:null,default:CPe},Symbol.toStringTag,{value:\"Module\"}));export{d3e as C,_0 as m,EZ as t};\n"
  },
  {
    "path": "backend/openui/dist/assets/babel-CqqbTYm7.js",
    "content": "var Br=Object.create,Ze=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Or=Object.getOwnPropertyNames,Rr=Object.getPrototypeOf,jr=Object.prototype.hasOwnProperty,Ur=(p,c)=>()=>(c||p((c={exports:{}}).exports,c),c.exports),_r=(p,c)=>{for(var m in c)Ze(p,m,{get:c[m],enumerable:!0})},Hr=(p,c,m,x)=>{if(c&&typeof c==\"object\"||typeof c==\"function\")for(let f of Or(c))!jr.call(p,f)&&f!==m&&Ze(p,f,{get:()=>c[f],enumerable:!(x=Mr(c,f))||x.enumerable});return p},Vt=(p,c,m)=>(m=p!=null?Br(Rr(p)):{},Hr(Ze(m,\"default\",{value:p,enumerable:!0}),p)),qt=Ur(p=>{Object.defineProperty(p,\"__esModule\",{value:!0});function c(t,e){if(t==null)return{};var s={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;s[r]=t[r]}return s}var m=class{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}},x=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function f(t,e){let{line:s,column:r,index:i}=t;return new m(s,r+e,i+e)}var C=\"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED\",S={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: \"module\"'`,code:C},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: \"module\"'`,code:C}},M={ArrayPattern:\"array destructuring pattern\",AssignmentExpression:\"assignment expression\",AssignmentPattern:\"assignment expression\",ArrowFunctionExpression:\"arrow function expression\",ConditionalExpression:\"conditional expression\",CatchClause:\"catch clause\",ForOfStatement:\"for-of statement\",ForInStatement:\"for-in statement\",ForStatement:\"for-loop\",FormalParameters:\"function parameter list\",Identifier:\"identifier\",ImportSpecifier:\"import specifier\",ImportDefaultSpecifier:\"import default specifier\",ImportNamespaceSpecifier:\"import namespace specifier\",ObjectPattern:\"object destructuring pattern\",ParenthesizedExpression:\"parenthesized expression\",RestElement:\"rest element\",UpdateExpression:{true:\"prefix operation\",false:\"postfix operation\"},VariableDeclarator:\"variable declaration\",YieldExpression:\"yield expression\"},R=t=>t.type===\"UpdateExpression\"?M.UpdateExpression[`${t.prefix}`]:M[t.type],Se={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:\"'arguments' is only allowed in functions and class methods.\",AsyncFunctionInSingleStatementContext:\"Async functions can only be declared at the top level or inside a block.\",AwaitBindingIdentifier:\"Can not use 'await' as identifier inside an async function.\",AwaitBindingIdentifierInStaticBlock:\"Can not use 'await' as identifier inside a static block.\",AwaitExpressionFormalParameter:\"'await' is not allowed in async function parameters.\",AwaitUsingNotInAsyncContext:\"'await using' is only allowed within async functions and at the top levels of modules.\",AwaitNotInAsyncContext:\"'await' is only allowed within async functions and at the top levels of modules.\",AwaitNotInAsyncFunction:\"'await' is only allowed within async functions.\",BadGetterArity:\"A 'get' accessor must not have any formal parameters.\",BadSetterArity:\"A 'set' accessor must have exactly one formal parameter.\",BadSetterRestParameter:\"A 'set' accessor function argument must not be a rest parameter.\",ConstructorClassField:\"Classes may not have a field named 'constructor'.\",ConstructorClassPrivateField:\"Classes may not have a private field named '#constructor'.\",ConstructorIsAccessor:\"Class constructor may not be an accessor.\",ConstructorIsAsync:\"Constructor can't be an async function.\",ConstructorIsGenerator:\"Constructor can't be a generator.\",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:\"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.\",DecoratorBeforeExport:\"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.\",DecoratorsBeforeAfterExport:\"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.\",DecoratorConstructor:\"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?\",DecoratorExportClass:\"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.\",DecoratorSemicolon:\"Decorators must not be followed by a semicolon.\",DecoratorStaticBlock:\"Decorators can't be used with a static block.\",DeferImportRequiresNamespace:'Only `import defer * as x from \"./module\"` is valid.',DeletePrivateField:\"Deleting a private field is not allowed.\",DestructureNamedImport:\"ES2015 named imports do not destructure. Use another statement for destructuring after the import.\",DuplicateConstructor:\"Duplicate constructor in the same class.\",DuplicateDefaultExport:\"Only one default export allowed per module.\",DuplicateExport:({exportName:t})=>`\\`${t}\\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:\"Redefinition of __proto__ property.\",DuplicateRegExpFlags:\"Duplicate regular expression flag.\",DynamicImportPhaseRequiresImportExpressions:({phase:t})=>`'import.${t}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:\"Rest element must be last element.\",EscapedCharNotAnIdentifier:\"Invalid Unicode escape.\",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \\`from\\`.\n- Did you mean \\`export { '${t}' as '${e}' } from 'some-module'\\`?`,ExportDefaultFromAsIdentifier:\"'from' is not allowed as an identifier after 'export default'.\",ForInOfLoopInitializer:({type:t})=>`'${t===\"ForInStatement\"?\"for-in\":\"for-of\"}' loop variable declaration may not have an initializer.`,ForInUsing:\"For-in loop may not start with 'using' declaration.\",ForOfAsync:\"The left-hand side of a for-of loop may not be 'async'.\",ForOfLet:\"The left-hand side of a for-of loop may not start with 'let'.\",GeneratorInSingleStatementContext:\"Generators can only be declared at the top level or inside a block.\",IllegalBreakContinue:({type:t})=>`Unsyntactic ${t===\"BreakStatement\"?\"break\":\"continue\"}.`,IllegalLanguageModeDirective:\"Illegal 'use strict' directive in function with non-simple parameter list.\",IllegalReturn:\"'return' outside of function.\",ImportAttributesUseAssert:\"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.\",ImportBindingIsString:({importName:t})=>`A string literal cannot be used as an imported binding.\n- Did you mean \\`import { \"${t}\" as foo }\\`?`,ImportCallArity:\"`import()` requires exactly one or two arguments.\",ImportCallNotNewExpression:\"Cannot use new with import(...).\",ImportCallSpreadArgument:\"`...` is not allowed in `import()`.\",ImportJSONBindingNotDefault:\"A JSON module can only be imported with `default`.\",ImportReflectionHasAssertion:\"`import module x` cannot have assertions.\",ImportReflectionNotBinding:'Only `import module x from \"./module\"` is valid.',IncompatibleRegExpUVFlags:\"The 'u' and 'v' regular expression flags cannot be enabled at the same time.\",InvalidBigIntLiteral:\"Invalid BigIntLiteral.\",InvalidCodePoint:\"Code point out of bounds.\",InvalidCoverInitializedName:\"Invalid shorthand property initializer.\",InvalidDecimal:\"Invalid decimal.\",InvalidDigit:({radix:t})=>`Expected number in radix ${t}.`,InvalidEscapeSequence:\"Bad character escape sequence.\",InvalidEscapeSequenceTemplate:\"Invalid escape sequence in template.\",InvalidEscapedReservedWord:({reservedWord:t})=>`Escape sequence in keyword ${t}.`,InvalidIdentifier:({identifierName:t})=>`Invalid identifier ${t}.`,InvalidLhs:({ancestor:t})=>`Invalid left-hand side in ${R(t)}.`,InvalidLhsBinding:({ancestor:t})=>`Binding invalid left-hand side in ${R(t)}.`,InvalidLhsOptionalChaining:({ancestor:t})=>`Invalid optional chaining in the left-hand side of ${R(t)}.`,InvalidNumber:\"Invalid number.\",InvalidOrMissingExponent:\"Floating-point numbers require a valid exponent after the 'e'.\",InvalidOrUnexpectedToken:({unexpected:t})=>`Unexpected character '${t}'.`,InvalidParenthesizedAssignment:\"Invalid parenthesized assignment pattern.\",InvalidPrivateFieldResolution:({identifierName:t})=>`Private name #${t} is not defined.`,InvalidPropertyBindingPattern:\"Binding member expression.\",InvalidRecordProperty:\"Only properties and spread elements are allowed in record definitions.\",InvalidRestAssignmentPattern:\"Invalid rest operator's argument.\",LabelRedeclaration:({labelName:t})=>`Label '${t}' is already declared.`,LetInLexicalBinding:\"'let' is disallowed as a lexically bound name.\",LineTerminatorBeforeArrow:\"No line break is allowed before '=>'.\",MalformedRegExpFlags:\"Invalid regular expression flag.\",MissingClassName:\"A class name is required.\",MissingEqInAssignment:\"Only '=' operator can be used for specifying default value.\",MissingSemicolon:\"Missing semicolon.\",MissingPlugin:({missingPlugin:t})=>`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(\", \")}.`,MissingOneOfPlugins:({missingPlugin:t})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(\", \")}.`,MissingUnicodeEscape:\"Expecting Unicode escape sequence \\\\uXXXX.\",MixingCoalesceWithLogical:\"Nullish coalescing operator(??) requires parens when mixing with logical operators.\",ModuleAttributeDifferentFromType:\"The only accepted module attribute is `type`.\",ModuleAttributeInvalidValue:\"Only string literals are allowed as module attribute values.\",ModuleAttributesWithDuplicateKeys:({key:t})=>`Duplicate key \"${t}\" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:t})=>`An export name cannot include a lone surrogate, found '\\\\u${t.toString(16)}'.`,ModuleExportUndefined:({localName:t})=>`Export '${t}' is not defined.`,MultipleDefaultsInSwitch:\"Multiple default clauses.\",NewlineAfterThrow:\"Illegal newline after throw.\",NoCatchOrFinally:\"Missing catch or finally clause.\",NumberIdentifier:\"Identifier directly after number.\",NumericSeparatorInEscapeSequence:\"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.\",ObsoleteAwaitStar:\"'await*' has been removed from the async functions proposal. Use Promise.all() instead.\",OptionalChainingNoNew:\"Constructors in/after an Optional Chain are not allowed.\",OptionalChainingNoTemplate:\"Tagged Template Literals are not allowed in optionalChain.\",OverrideOnConstructor:\"'override' modifier cannot appear on a constructor declaration.\",ParamDupe:\"Argument name clash.\",PatternHasAccessor:\"Object pattern can't contain getter or setter.\",PatternHasMethod:\"Object pattern can't contain methods.\",PrivateInExpectedIn:({identifierName:t})=>`Private names are only allowed in property accesses (\\`obj.#${t}\\`) or in \\`in\\` expressions (\\`#${t} in obj\\`).`,PrivateNameRedeclaration:({identifierName:t})=>`Duplicate private name #${t}.`,RecordExpressionBarIncorrectEndSyntaxType:\"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",RecordExpressionBarIncorrectStartSyntaxType:\"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",RecordExpressionHashIncorrectStartSyntaxType:\"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.\",RecordNoProto:\"'__proto__' is not allowed in Record expressions.\",RestTrailingComma:\"Unexpected trailing comma after rest element.\",SloppyFunction:\"In non-strict mode code, functions can only be declared at top level or inside a block.\",SloppyFunctionAnnexB:\"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.\",SourcePhaseImportRequiresDefault:'Only `import source x from \"./module\"` is valid.',StaticPrototype:\"Classes may not have static property named prototype.\",SuperNotAllowed:\"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?\",SuperPrivateField:\"Private fields can't be accessed on super.\",TrailingDecorator:\"Decorators must be attached to a class element.\",TupleExpressionBarIncorrectEndSyntaxType:\"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",TupleExpressionBarIncorrectStartSyntaxType:\"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",TupleExpressionHashIncorrectStartSyntaxType:\"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.\",UnexpectedArgumentPlaceholder:\"Unexpected argument placeholder.\",UnexpectedAwaitAfterPipelineBody:'Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:\"Unexpected digit after hash token.\",UnexpectedImportExport:\"'import' and 'export' may only appear at the top level.\",UnexpectedKeyword:({keyword:t})=>`Unexpected keyword '${t}'.`,UnexpectedLeadingDecorator:\"Leading decorators must be attached to a class declaration.\",UnexpectedLexicalDeclaration:\"Lexical declaration cannot appear in a single-statement context.\",UnexpectedNewTarget:\"`new.target` can only be used in functions or class properties.\",UnexpectedNumericSeparator:\"A numeric separator is only allowed between two digits.\",UnexpectedPrivateField:\"Unexpected private name.\",UnexpectedReservedWord:({reservedWord:t})=>`Unexpected reserved word '${t}'.`,UnexpectedSuper:\"'super' is only allowed in object methods and classes.\",UnexpectedToken:({expected:t,unexpected:e})=>`Unexpected token${e?` '${e}'.`:\"\"}${t?`, expected \"${t}\"`:\"\"}`,UnexpectedTokenUnaryExponentiation:\"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.\",UnexpectedUsingDeclaration:\"Using declaration cannot appear in the top level when source type is `script`.\",UnsupportedBind:\"Binding should be performed on object property.\",UnsupportedDecoratorExport:\"A decorated export must export a class declaration.\",UnsupportedDefaultExport:\"Only expressions, functions or classes are allowed as the `default` export.\",UnsupportedImport:\"`import` can only be used in `import()` or `import.meta`.\",UnsupportedMetaProperty:({target:t,onlyValidPropertyName:e})=>`The only valid meta property for ${t} is ${t}.${e}.`,UnsupportedParameterDecorator:\"Decorators cannot be used to decorate parameters.\",UnsupportedPropertyDecorator:\"Decorators cannot be used to decorate object literal properties.\",UnsupportedSuper:\"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).\",UnterminatedComment:\"Unterminated comment.\",UnterminatedRegExp:\"Unterminated regular expression.\",UnterminatedString:\"Unterminated string constant.\",UnterminatedTemplate:\"Unterminated template.\",UsingDeclarationExport:\"Using declaration cannot be exported.\",UsingDeclarationHasBindingPattern:\"Using declaration cannot have destructuring patterns.\",VarRedeclaration:({identifierName:t})=>`Identifier '${t}' has already been declared.`,YieldBindingIdentifier:\"Can not use 'yield' as identifier inside a generator.\",YieldInParameter:\"Yield expression is not allowed in formal parameters.\",ZeroDigitNumericSeparator:\"Numeric separator can not be used after leading 0.\"},ss={StrictDelete:\"Deleting local variable in strict mode.\",StrictEvalArguments:({referenceName:t})=>`Assigning to '${t}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:t})=>`Binding '${t}' in strict mode.`,StrictFunction:\"In strict mode code, functions can only be declared at top level or inside a block.\",StrictNumericEscape:\"The only valid numeric escape in strict mode is '\\\\0'.\",StrictOctalLiteral:\"Legacy octal literals are not allowed in strict mode.\",StrictWith:\"'with' in strict mode.\"},rs=new Set([\"ArrowFunctionExpression\",\"AssignmentExpression\",\"ConditionalExpression\",\"YieldExpression\"]),is=Object.assign({PipeBodyIsTighter:\"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.\",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a \"proposal\": \"hack\" or \"smart\" option.',PipeTopicUnbound:\"Topic reference is unbound; it must be inside a pipe body.\",PipeTopicUnconfiguredToken:({token:t})=>`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { \"proposal\": \"hack\", \"topicToken\": \"${t}\" }.`,PipeTopicUnused:\"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.\",PipeUnparenthesizedBody:({type:t})=>`Hack-style pipe body cannot be an unparenthesized ${R({type:t})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow \"=>\" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:\"Pipeline body may not be a comma-separated sequence expression.\",PipelineHeadSequenceExpression:\"Pipeline head should not be a comma-separated sequence expression.\",PipelineTopicUnused:\"Pipeline is in topic style but does not use topic reference.\",PrimaryTopicNotAllowed:\"Topic reference was used in a lexical context without topic binding.\",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a \"proposal\": \"hack\" or \"smart\" option.'}),as=[\"message\"];function tt(t,e,s){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,value:s})}function ns({toMessage:t,code:e,reasonCode:s,syntaxPlugin:r}){let i=s===\"MissingPlugin\"||s===\"MissingOneOfPlugins\";{let a={AccessorCannotDeclareThisParameter:\"AccesorCannotDeclareThisParameter\",AccessorCannotHaveTypeParameters:\"AccesorCannotHaveTypeParameters\",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:\"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference\",SetAccessorCannotHaveOptionalParameter:\"SetAccesorCannotHaveOptionalParameter\",SetAccessorCannotHaveRestParameter:\"SetAccesorCannotHaveRestParameter\",SetAccessorCannotHaveReturnType:\"SetAccesorCannotHaveReturnType\"};a[s]&&(s=a[s])}return function a(n,o){let h=new SyntaxError;return h.code=e,h.reasonCode=s,h.loc=n,h.pos=n.index,h.syntaxPlugin=r,i&&(h.missingPlugin=o.missingPlugin),tt(h,\"clone\",function(l={}){var d;let{line:y,column:A,index:T}=(d=l.loc)!=null?d:n;return a(new m(y,A,T),Object.assign({},o,l.details))}),tt(h,\"details\",o),Object.defineProperty(h,\"message\",{configurable:!0,get(){let l=`${t(o)} (${n.line}:${n.column})`;return this.message=l,l},set(l){Object.defineProperty(this,\"message\",{value:l,writable:!0})}}),h}}function H(t,e){if(Array.isArray(t))return r=>H(r,t[0]);let s={};for(let r of Object.keys(t)){let i=t[r],a=typeof i==\"string\"?{message:()=>i}:typeof i==\"function\"?{message:i}:i,{message:n}=a,o=c(a,as),h=typeof n==\"string\"?()=>n:n;s[r]=ns(Object.assign({code:\"BABEL_PARSER_SYNTAX_ERROR\",reasonCode:r,toMessage:h},e?{syntaxPlugin:e}:{},o))}return s}var u=Object.assign({},H(S),H(Se),H(ss),H`pipelineOperator`(is));function os(){return{sourceType:\"script\",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function ls(t){let e=os();if(t==null)return e;if(t.annexB!=null&&t.annexB!==!1)throw new Error(\"The `annexB` option can only be set to `false`.\");for(let s of Object.keys(e))t[s]!=null&&(e[s]=t[s]);if(e.startLine===1)t.startIndex==null&&e.startColumn>0?e.startIndex=e.startColumn:t.startColumn==null&&e.startIndex>0&&(e.startColumn=e.startIndex);else if((t.startColumn==null||t.startIndex==null)&&t.startIndex!=null)throw new Error(\"With a `startLine > 1` you must also specify `startIndex` and `startColumn`.\");return e}var{defineProperty:hs}=Object,st=(t,e)=>{t&&hs(t,e,{enumerable:!1,value:t[e]})};function ne(t){return st(t.loc.start,\"index\"),st(t.loc.end,\"index\"),t}var ps=t=>class extends t{parse(){let e=ne(super.parse());return this.optionFlags&128&&(e.tokens=e.tokens.map(ne)),e}parseRegExpLiteral({pattern:e,flags:s}){let r=null;try{r=new RegExp(e,s)}catch{}let i=this.estreeParseLiteral(r);return i.regex={pattern:e,flags:s},i}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}let r=this.estreeParseLiteral(s);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let s=this.estreeParseLiteral(null);return s.decimal=String(s.value||e),s}estreeParseLiteral(e){return this.parseLiteral(e,\"Literal\")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let s=e.value;delete e.value,s.type=\"Literal\",s.raw=s.extra.raw,s.value=s.extra.expressionValue;let r=e;return r.type=\"ExpressionStatement\",r.expression=s,r.directive=s.extra.rawValue,delete s.extra,r}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type===\"ExpressionStatement\"&&e.expression.type===\"Literal\"&&typeof e.expression.value==\"string\"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,r,i,a){super.parseBlockBody(e,s,r,i,a);let n=e.directives.map(o=>this.directiveToStmt(o));e.body=n.concat(e.body),delete e.directives}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption(\"estree\",\"classFeatures\")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,e.type=\"PrivateIdentifier\",e}isPrivateName(e){return this.getPluginOption(\"estree\",\"classFeatures\")?e.type===\"PrivateIdentifier\":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption(\"estree\",\"classFeatures\")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){let r=super.parseLiteral(e,s);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,s,r=!1){super.parseFunctionBody(e,s,r),e.expression=e.body.type!==\"BlockStatement\"}parseMethod(e,s,r,i,a,n,o=!1){let h=this.startNode();h.kind=e.kind,h=super.parseMethod(h,s,r,i,a,n,o),h.type=\"FunctionExpression\",delete h.kind,e.value=h;let{typeParameters:l}=e;return l&&(delete e.typeParameters,h.typeParameters=l,this.resetStartLocationFromNode(h,l)),n===\"ClassPrivateMethod\"&&(e.computed=!1),this.finishNode(e,\"MethodDefinition\")}nameIsConstructor(e){return e.type===\"Literal\"?e.value===\"constructor\":super.nameIsConstructor(e)}parseClassProperty(...e){let s=super.parseClassProperty(...e);return this.getPluginOption(\"estree\",\"classFeatures\")&&(s.type=\"PropertyDefinition\"),s}parseClassPrivateProperty(...e){let s=super.parseClassPrivateProperty(...e);return this.getPluginOption(\"estree\",\"classFeatures\")&&(s.type=\"PropertyDefinition\",s.computed=!1),s}parseObjectMethod(e,s,r,i,a){let n=super.parseObjectMethod(e,s,r,i,a);return n&&(n.type=\"Property\",n.kind===\"method\"&&(n.kind=\"init\"),n.shorthand=!1),n}parseObjectProperty(e,s,r,i){let a=super.parseObjectProperty(e,s,r,i);return a&&(a.kind=\"init\",a.type=\"Property\"),a}isValidLVal(e,s,r){return e===\"Property\"?\"value\":super.isValidLVal(e,s,r)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){let{key:r,value:i}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(i,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,r){e.type===\"Property\"&&(e.kind===\"get\"||e.kind===\"set\")?this.raise(u.PatternHasAccessor,e.key):e.type===\"Property\"&&e.method?this.raise(u.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,s,r)}finishCallExpression(e,s){let r=super.finishCallExpression(e,s);if(r.callee.type===\"Import\"){var i,a;r.type=\"ImportExpression\",r.source=r.arguments[0],r.options=(i=r.arguments[1])!=null?i:null,r.attributes=(a=r.arguments[1])!=null?a:null,delete r.arguments,delete r.callee}return r}toReferencedArguments(e){e.type!==\"ImportExpression\"&&super.toReferencedArguments(e)}parseExport(e,s){let r=this.state.lastTokStartLoc,i=super.parseExport(e,s);switch(i.type){case\"ExportAllDeclaration\":i.exported=null;break;case\"ExportNamedDeclaration\":i.specifiers.length===1&&i.specifiers[0].type===\"ExportNamespaceSpecifier\"&&(i.type=\"ExportAllDeclaration\",i.exported=i.specifiers[0].exported,delete i.specifiers);case\"ExportDefaultDeclaration\":{var a;let{declaration:n}=i;(n==null?void 0:n.type)===\"ClassDeclaration\"&&((a=n.decorators)==null?void 0:a.length)>0&&n.start===i.start&&this.resetStartLocation(i,r)}break}return i}parseSubscript(e,s,r,i){let a=super.parseSubscript(e,s,r,i);if(i.optionalChainMember){if((a.type===\"OptionalMemberExpression\"||a.type===\"OptionalCallExpression\")&&(a.type=a.type.substring(8)),i.stop){let n=this.startNodeAtNode(a);return n.expression=a,this.finishNode(n,\"ChainExpression\")}}else(a.type===\"MemberExpression\"||a.type===\"CallExpression\")&&(a.optional=!1);return a}isOptionalMemberExpression(e){return e.type===\"ChainExpression\"?e.expression.type===\"MemberExpression\":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type===\"ChainExpression\"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type===\"Property\"&&e.kind===\"init\"&&!e.method}isObjectMethod(e){return e.type===\"Property\"&&(e.method||e.kind===\"get\"||e.kind===\"set\")}finishNodeAt(e,s,r){return ne(super.finishNodeAt(e,s,r))}resetStartLocation(e,s){super.resetStartLocation(e,s),ne(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),ne(e)}},oe=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},k={brace:new oe(\"{\"),j_oTag:new oe(\"<tag\"),j_cTag:new oe(\"</tag\"),j_expr:new oe(\"<tag>...</tag>\",!0)};k.template=new oe(\"`\",!0);var w=!0,P=!0,we=!0,le=!0,J=!0,us=!0,rt=class{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},Ie=new Map;function v(t,e={}){e.keyword=t;let s=b(t,e);return Ie.set(t,s),s}function O(t,e){return b(t,{beforeExpr:w,binop:e})}var he=-1,z=[],Ne=[],ve=[],ke=[],De=[],Fe=[];function b(t,e={}){var s,r,i,a;return++he,Ne.push(t),ve.push((s=e.binop)!=null?s:-1),ke.push((r=e.beforeExpr)!=null?r:!1),De.push((i=e.startsExpr)!=null?i:!1),Fe.push((a=e.prefix)!=null?a:!1),z.push(new rt(t,e)),he}function I(t,e={}){var s,r,i,a;return++he,Ie.set(t,he),Ne.push(t),ve.push((s=e.binop)!=null?s:-1),ke.push((r=e.beforeExpr)!=null?r:!1),De.push((i=e.startsExpr)!=null?i:!1),Fe.push((a=e.prefix)!=null?a:!1),z.push(new rt(\"name\",e)),he}var cs={bracketL:b(\"[\",{beforeExpr:w,startsExpr:P}),bracketHashL:b(\"#[\",{beforeExpr:w,startsExpr:P}),bracketBarL:b(\"[|\",{beforeExpr:w,startsExpr:P}),bracketR:b(\"]\"),bracketBarR:b(\"|]\"),braceL:b(\"{\",{beforeExpr:w,startsExpr:P}),braceBarL:b(\"{|\",{beforeExpr:w,startsExpr:P}),braceHashL:b(\"#{\",{beforeExpr:w,startsExpr:P}),braceR:b(\"}\"),braceBarR:b(\"|}\"),parenL:b(\"(\",{beforeExpr:w,startsExpr:P}),parenR:b(\")\"),comma:b(\",\",{beforeExpr:w}),semi:b(\";\",{beforeExpr:w}),colon:b(\":\",{beforeExpr:w}),doubleColon:b(\"::\",{beforeExpr:w}),dot:b(\".\"),question:b(\"?\",{beforeExpr:w}),questionDot:b(\"?.\"),arrow:b(\"=>\",{beforeExpr:w}),template:b(\"template\"),ellipsis:b(\"...\",{beforeExpr:w}),backQuote:b(\"`\",{startsExpr:P}),dollarBraceL:b(\"${\",{beforeExpr:w,startsExpr:P}),templateTail:b(\"...`\",{startsExpr:P}),templateNonTail:b(\"...${\",{beforeExpr:w,startsExpr:P}),at:b(\"@\"),hash:b(\"#\",{startsExpr:P}),interpreterDirective:b(\"#!...\"),eq:b(\"=\",{beforeExpr:w,isAssign:le}),assign:b(\"_=\",{beforeExpr:w,isAssign:le}),slashAssign:b(\"_=\",{beforeExpr:w,isAssign:le}),xorAssign:b(\"_=\",{beforeExpr:w,isAssign:le}),moduloAssign:b(\"_=\",{beforeExpr:w,isAssign:le}),incDec:b(\"++/--\",{prefix:J,postfix:us,startsExpr:P}),bang:b(\"!\",{beforeExpr:w,prefix:J,startsExpr:P}),tilde:b(\"~\",{beforeExpr:w,prefix:J,startsExpr:P}),doubleCaret:b(\"^^\",{startsExpr:P}),doubleAt:b(\"@@\",{startsExpr:P}),pipeline:O(\"|>\",0),nullishCoalescing:O(\"??\",1),logicalOR:O(\"||\",1),logicalAND:O(\"&&\",2),bitwiseOR:O(\"|\",3),bitwiseXOR:O(\"^\",4),bitwiseAND:O(\"&\",5),equality:O(\"==/!=/===/!==\",6),lt:O(\"</>/<=/>=\",7),gt:O(\"</>/<=/>=\",7),relational:O(\"</>/<=/>=\",7),bitShift:O(\"<</>>/>>>\",8),bitShiftL:O(\"<</>>/>>>\",8),bitShiftR:O(\"<</>>/>>>\",8),plusMin:b(\"+/-\",{beforeExpr:w,binop:9,prefix:J,startsExpr:P}),modulo:b(\"%\",{binop:10,startsExpr:P}),star:b(\"*\",{binop:10}),slash:O(\"/\",10),exponent:b(\"**\",{beforeExpr:w,binop:11,rightAssociative:!0}),_in:v(\"in\",{beforeExpr:w,binop:7}),_instanceof:v(\"instanceof\",{beforeExpr:w,binop:7}),_break:v(\"break\"),_case:v(\"case\",{beforeExpr:w}),_catch:v(\"catch\"),_continue:v(\"continue\"),_debugger:v(\"debugger\"),_default:v(\"default\",{beforeExpr:w}),_else:v(\"else\",{beforeExpr:w}),_finally:v(\"finally\"),_function:v(\"function\",{startsExpr:P}),_if:v(\"if\"),_return:v(\"return\",{beforeExpr:w}),_switch:v(\"switch\"),_throw:v(\"throw\",{beforeExpr:w,prefix:J,startsExpr:P}),_try:v(\"try\"),_var:v(\"var\"),_const:v(\"const\"),_with:v(\"with\"),_new:v(\"new\",{beforeExpr:w,startsExpr:P}),_this:v(\"this\",{startsExpr:P}),_super:v(\"super\",{startsExpr:P}),_class:v(\"class\",{startsExpr:P}),_extends:v(\"extends\",{beforeExpr:w}),_export:v(\"export\"),_import:v(\"import\",{startsExpr:P}),_null:v(\"null\",{startsExpr:P}),_true:v(\"true\",{startsExpr:P}),_false:v(\"false\",{startsExpr:P}),_typeof:v(\"typeof\",{beforeExpr:w,prefix:J,startsExpr:P}),_void:v(\"void\",{beforeExpr:w,prefix:J,startsExpr:P}),_delete:v(\"delete\",{beforeExpr:w,prefix:J,startsExpr:P}),_do:v(\"do\",{isLoop:we,beforeExpr:w}),_for:v(\"for\",{isLoop:we}),_while:v(\"while\",{isLoop:we}),_as:I(\"as\",{startsExpr:P}),_assert:I(\"assert\",{startsExpr:P}),_async:I(\"async\",{startsExpr:P}),_await:I(\"await\",{startsExpr:P}),_defer:I(\"defer\",{startsExpr:P}),_from:I(\"from\",{startsExpr:P}),_get:I(\"get\",{startsExpr:P}),_let:I(\"let\",{startsExpr:P}),_meta:I(\"meta\",{startsExpr:P}),_of:I(\"of\",{startsExpr:P}),_sent:I(\"sent\",{startsExpr:P}),_set:I(\"set\",{startsExpr:P}),_source:I(\"source\",{startsExpr:P}),_static:I(\"static\",{startsExpr:P}),_using:I(\"using\",{startsExpr:P}),_yield:I(\"yield\",{startsExpr:P}),_asserts:I(\"asserts\",{startsExpr:P}),_checks:I(\"checks\",{startsExpr:P}),_exports:I(\"exports\",{startsExpr:P}),_global:I(\"global\",{startsExpr:P}),_implements:I(\"implements\",{startsExpr:P}),_intrinsic:I(\"intrinsic\",{startsExpr:P}),_infer:I(\"infer\",{startsExpr:P}),_is:I(\"is\",{startsExpr:P}),_mixins:I(\"mixins\",{startsExpr:P}),_proto:I(\"proto\",{startsExpr:P}),_require:I(\"require\",{startsExpr:P}),_satisfies:I(\"satisfies\",{startsExpr:P}),_keyof:I(\"keyof\",{startsExpr:P}),_readonly:I(\"readonly\",{startsExpr:P}),_unique:I(\"unique\",{startsExpr:P}),_abstract:I(\"abstract\",{startsExpr:P}),_declare:I(\"declare\",{startsExpr:P}),_enum:I(\"enum\",{startsExpr:P}),_module:I(\"module\",{startsExpr:P}),_namespace:I(\"namespace\",{startsExpr:P}),_interface:I(\"interface\",{startsExpr:P}),_type:I(\"type\",{startsExpr:P}),_opaque:I(\"opaque\",{startsExpr:P}),name:b(\"name\",{startsExpr:P}),placeholder:b(\"%%\",{startsExpr:!0}),string:b(\"string\",{startsExpr:P}),num:b(\"num\",{startsExpr:P}),bigint:b(\"bigint\",{startsExpr:P}),decimal:b(\"decimal\",{startsExpr:P}),regexp:b(\"regexp\",{startsExpr:P}),privateName:b(\"#name\",{startsExpr:P}),eof:b(\"eof\"),jsxName:b(\"jsxName\"),jsxText:b(\"jsxText\",{beforeExpr:!0}),jsxTagStart:b(\"jsxTagStart\",{startsExpr:!0}),jsxTagEnd:b(\"jsxTagEnd\")};function D(t){return t>=93&&t<=133}function ds(t){return t<=92}function U(t){return t>=58&&t<=133}function it(t){return t>=58&&t<=137}function ms(t){return ke[t]}function Le(t){return De[t]}function fs(t){return t>=29&&t<=33}function at(t){return t>=129&&t<=131}function ys(t){return t>=90&&t<=92}function Be(t){return t>=58&&t<=92}function xs(t){return t>=39&&t<=59}function Ps(t){return t===34}function As(t){return Fe[t]}function gs(t){return t>=121&&t<=123}function Ts(t){return t>=124&&t<=130}function W(t){return Ne[t]}function ye(t){return ve[t]}function bs(t){return t===57}function xe(t){return t>=24&&t<=25}function V(t){return z[t]}z[8].updateContext=t=>{t.pop()},z[5].updateContext=z[7].updateContext=z[23].updateContext=t=>{t.push(k.brace)},z[22].updateContext=t=>{t[t.length-1]===k.template?t.pop():t.push(k.template)},z[143].updateContext=t=>{t.push(k.j_expr,k.j_oTag)};var Me=\"ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ\",nt=\"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿･\",Es=new RegExp(\"[\"+Me+\"]\"),Cs=new RegExp(\"[\"+Me+nt+\"]\");Me=nt=null;var ot=[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,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,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,328,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,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ss=[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,80,3,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,343,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,330,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,726,6,110,6,6,9,4759,9,787719,239];function Oe(t,e){let s=65536;for(let r=0,i=e.length;r<i;r+=2){if(s+=e[r],s>t)return!1;if(s+=e[r+1],s>=t)return!0}return!1}function q(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&Es.test(String.fromCharCode(t)):Oe(t,ot)}function te(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&Cs.test(String.fromCharCode(t)):Oe(t,ot)||Oe(t,Ss)}var Re={keyword:[\"break\",\"case\",\"catch\",\"continue\",\"debugger\",\"default\",\"do\",\"else\",\"finally\",\"for\",\"function\",\"if\",\"return\",\"switch\",\"throw\",\"try\",\"var\",\"const\",\"while\",\"with\",\"new\",\"this\",\"super\",\"class\",\"extends\",\"export\",\"import\",\"null\",\"true\",\"false\",\"in\",\"instanceof\",\"typeof\",\"void\",\"delete\"],strict:[\"implements\",\"interface\",\"let\",\"package\",\"private\",\"protected\",\"public\",\"static\",\"yield\"],strictBind:[\"eval\",\"arguments\"]},ws=new Set(Re.keyword),Is=new Set(Re.strict),Ns=new Set(Re.strictBind);function lt(t,e){return e&&t===\"await\"||t===\"enum\"}function ht(t,e){return lt(t,e)||Is.has(t)}function pt(t){return Ns.has(t)}function ut(t,e){return ht(t,e)||pt(t)}function vs(t){return ws.has(t)}function ks(t,e,s){return t===64&&e===64&&q(s)}var Ds=new Set([\"break\",\"case\",\"catch\",\"continue\",\"debugger\",\"default\",\"do\",\"else\",\"finally\",\"for\",\"function\",\"if\",\"return\",\"switch\",\"throw\",\"try\",\"var\",\"const\",\"while\",\"with\",\"new\",\"this\",\"super\",\"class\",\"extends\",\"export\",\"import\",\"null\",\"true\",\"false\",\"in\",\"instanceof\",\"typeof\",\"void\",\"delete\",\"implements\",\"interface\",\"let\",\"package\",\"private\",\"protected\",\"public\",\"static\",\"yield\",\"eval\",\"arguments\",\"enum\",\"await\"]);function Fs(t){return Ds.has(t)}var je=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName=\"\",this.flags=t}},Ue=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new je(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,s){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,s);let i=r.names.get(t)||0;e&16?i=i|4:(r.firstLexicalName||(r.firstLexicalName=t),i=i|2),r.names.set(t,i),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,t,e,s),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&387));--i);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,r){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(u.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,s){if(!(s&1))return!1;if(s&8)return t.names.has(e);let r=t.names.get(e);return s&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){let{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&387)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&451&&!(e&4))return e}}},Ls=class extends je{constructor(...t){super(...t),this.declareFunctions=new Set}},Bs=class extends Ue{createScope(t){return new Ls(t)}declareName(t,e,s){let r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,s),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){if(super.isRedeclaredInScope(t,e,s))return!0;if(s&2048&&!t.declareFunctions.has(e)){let r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},Ms=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(t){return t+this.startIndex}offsetToSourcePos(t){return t-this.startIndex}hasPlugin(t){if(typeof t==\"string\")return this.plugins.has(t);{let[e,s]=t;if(!this.hasPlugin(e))return!1;let r=this.plugins.get(e);for(let i of Object.keys(s))if((r==null?void 0:r[i])!==s[i])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}};function ct(t,e){t.trailingComments===void 0?t.trailingComments=e:t.trailingComments.unshift(...e)}function Os(t,e){t.leadingComments===void 0?t.leadingComments=e:t.leadingComments.unshift(...e)}function pe(t,e){t.innerComments===void 0?t.innerComments=e:t.innerComments.unshift(...e)}function Q(t,e,s){let r=null,i=e.length;for(;r===null&&i>0;)r=e[--i];r===null||r.start>s.start?pe(t,s.comments):ct(r,s.comments)}var Rs=class extends Ms{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:e}=this.state,s=e.length;if(s===0)return;let r=s-1,i=e[r];i.start===t.end&&(i.leadingNode=t,r--);let{start:a}=t;for(;r>=0;r--){let n=e[r],o=n.end;if(o>a)n.containingNode=t,this.finalizeComment(n),e.splice(r,1);else{o===a&&(n.trailingNode=t);break}}}finalizeComment(t){let{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&ct(t.leadingNode,e),t.trailingNode!==null&&Os(t.trailingNode,e);else{let{containingNode:s,start:r}=t;if(this.input.charCodeAt(this.offsetToSourcePos(r)-1)===44)switch(s.type){case\"ObjectExpression\":case\"ObjectPattern\":case\"RecordExpression\":Q(s,s.properties,t);break;case\"CallExpression\":case\"OptionalCallExpression\":Q(s,s.arguments,t);break;case\"FunctionDeclaration\":case\"FunctionExpression\":case\"ArrowFunctionExpression\":case\"ObjectMethod\":case\"ClassMethod\":case\"ClassPrivateMethod\":Q(s,s.params,t);break;case\"ArrayExpression\":case\"ArrayPattern\":case\"TupleExpression\":Q(s,s.elements,t);break;case\"ExportNamedDeclaration\":case\"ImportDeclaration\":Q(s,s.specifiers,t);break;case\"TSEnumDeclaration\":Q(s,s.members,t);break;case\"TSEnumBody\":Q(s,s.members,t);break;default:pe(s,e)}else pe(s,e)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:s}=e;if(s===0)return;let r=e[s-1];r.leadingNode===t&&(r.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){let{commentStack:e}=this.state,{length:s}=e;s!==0&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){let{commentStack:r}=this.state,i=r.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let n=r[a],o=n.end;if(n.start===s)n.leadingNode=t;else if(o===e)n.trailingNode=t;else if(o<e)break}}},js=/\\r\\n|[\\r\\n\\u2028\\u2029]/,Pe=new RegExp(js.source,\"g\");function se(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function dt(t,e,s){for(let r=e;r<s;r++)if(se(t.charCodeAt(r)))return!0;return!1}var _e=/(?:\\s|\\/\\/.*|\\/\\*[^]*?\\*\\/)*/g,He=/(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*/g;function Us(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var _s=class $t{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[k.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:s,startIndex:r,startLine:i,startColumn:a}){this.strict=e===!1?!1:e===!0?!0:s===\"module\",this.startIndex=r,this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new m(i,a,r)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new m(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let e=new $t;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}},Hs=function(t){return t>=48&&t<=57},mt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ae={bin:t=>t===48||t===49,oct:t=>t>=48&&t<=55,dec:t=>t>=48&&t<=57,hex:t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};function ft(t,e,s,r,i,a){let n=s,o=r,h=i,l=\"\",d=null,y=s,{length:A}=e;for(;;){if(s>=A){a.unterminated(n,o,h),l+=e.slice(y,s);break}let T=e.charCodeAt(s);if(zs(t,T,e,s)){l+=e.slice(y,s);break}if(T===92){l+=e.slice(y,s);let N=Vs(e,s,r,i,t===\"template\",a);N.ch===null&&!d?d={pos:s,lineStart:r,curLine:i}:l+=N.ch,{pos:s,lineStart:r,curLine:i}=N,y=s}else T===8232||T===8233?(++s,++i,r=s):T===10||T===13?t===\"template\"?(l+=e.slice(y,s)+`\n`,++s,T===13&&e.charCodeAt(s)===10&&++s,++i,y=r=s):a.unterminated(n,o,h):++s}return{pos:s,str:l,firstInvalidLoc:d,lineStart:r,curLine:i,containsInvalid:!!d}}function zs(t,e,s,r){return t===\"template\"?e===96||e===36&&s.charCodeAt(r+1)===123:e===(t===\"double\"?34:39)}function Vs(t,e,s,r,i,a){let n=!i;e++;let o=l=>({pos:e,ch:l,lineStart:s,curLine:r}),h=t.charCodeAt(e++);switch(h){case 110:return o(`\n`);case 114:return o(\"\\r\");case 120:{let l;return{code:l,pos:e}=ze(t,e,s,r,2,!1,n,a),o(l===null?null:String.fromCharCode(l))}case 117:{let l;return{code:l,pos:e}=xt(t,e,s,r,n,a),o(l===null?null:String.fromCodePoint(l))}case 116:return o(\"\t\");case 98:return o(\"\\b\");case 118:return o(\"\\v\");case 102:return o(\"\\f\");case 13:t.charCodeAt(e)===10&&++e;case 10:s=e,++r;case 8232:case 8233:return o(\"\");case 56:case 57:if(i)return o(null);a.strictNumericEscape(e-1,s,r);default:if(h>=48&&h<=55){let l=e-1,d=/^[0-7]+/.exec(t.slice(l,e+2))[0],y=parseInt(d,8);y>255&&(d=d.slice(0,-1),y=parseInt(d,8)),e+=d.length-1;let A=t.charCodeAt(e);if(d!==\"0\"||A===56||A===57){if(i)return o(null);a.strictNumericEscape(l,s,r)}return o(String.fromCharCode(y))}return o(String.fromCharCode(h))}}function ze(t,e,s,r,i,a,n,o){let h=e,l;return{n:l,pos:e}=yt(t,e,s,r,16,i,a,!1,o,!n),l===null&&(n?o.invalidEscapeSequence(h,s,r):e=h-1),{code:l,pos:e}}function yt(t,e,s,r,i,a,n,o,h,l){let d=e,y=i===16?mt.hex:mt.decBinOct,A=i===16?Ae.hex:i===10?Ae.dec:i===8?Ae.oct:Ae.bin,T=!1,N=0;for(let L=0,F=a??1/0;L<F;++L){let B=t.charCodeAt(e),j;if(B===95&&o!==\"bail\"){let Ke=t.charCodeAt(e-1),Je=t.charCodeAt(e+1);if(o){if(Number.isNaN(Je)||!A(Je)||y.has(Ke)||y.has(Je)){if(l)return{n:null,pos:e};h.unexpectedNumericSeparator(e,s,r)}}else{if(l)return{n:null,pos:e};h.numericSeparatorInEscapeSequence(e,s,r)}++e;continue}if(B>=97?j=B-97+10:B>=65?j=B-65+10:Hs(B)?j=B-48:j=1/0,j>=i){if(j<=9&&l)return{n:null,pos:e};if(j<=9&&h.invalidDigit(e,s,r,i))j=0;else if(n)j=0,T=!0;else break}++e,N=N*i+j}return e===d||a!=null&&e-d!==a||T?{n:null,pos:e}:{n:N,pos:e}}function xt(t,e,s,r,i,a){let n=t.charCodeAt(e),o;if(n===123){if(++e,{code:o,pos:e}=ze(t,e,s,r,t.indexOf(\"}\",e)-e,!0,i,a),++e,o!==null&&o>1114111)if(i)a.invalidCodePoint(e,s,r);else return{code:null,pos:e}}else({code:o,pos:e}=ze(t,e,s,r,4,!1,i,a));return{code:o,pos:e}}function ue(t,e,s){return new m(s,t-e,t)}var qs=new Set([103,109,115,105,121,117,100,118]),X=class{constructor(t){let e=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=e+t.start,this.end=e+t.end,this.loc=new x(t.startLoc,t.endLoc)}},$s=class extends Rs{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,r,i,a)=>this.optionFlags&1024?(this.raise(u.InvalidDigit,ue(s,r,i),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(u.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(u.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(u.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(u.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,r,i)=>{this.recordStrictModeErrors(u.StrictNumericEscape,ue(s,r,i))},unterminated:(s,r,i)=>{throw this.raise(u.UnterminatedString,ue(s-1,r,i))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(u.StrictNumericEscape),unterminated:(s,r,i)=>{throw this.raise(u.UnterminatedTemplate,ue(s,r,i))}}),this.state=new _s,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&128&&this.pushToken(new X(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return _e.lastIndex=t,_e.test(this.input)?_e.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return He.lastIndex=t,He.test(this.input)?He.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++t<this.input.length){let s=this.input.charCodeAt(t);(s&64512)===56320&&(e=65536+((e&1023)<<10)+(s&1023))}return e}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach(([e,s])=>this.raise(e,s)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());let s=this.state.pos,r=this.input.indexOf(t,s+2);if(r===-1)throw this.raise(u.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,Pe.lastIndex=s+2;Pe.test(this.input)&&Pe.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Pe.lastIndex;if(this.isLookahead)return;let i={type:\"CommentBlock\",value:this.input.slice(s+2,r),start:this.sourceToOffsetPos(s),end:this.sourceToOffsetPos(r+t.length),loc:new x(e,this.state.curPosition())};return this.optionFlags&128&&this.pushToken(i),i}skipLineComment(t){let e=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!se(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,a={type:\"CommentLine\",value:this.input.slice(e+t,i),start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(i),loc:new x(s,this.state.curPosition())};return this.optionFlags&128&&this.pushToken(a),a}skipSpace(){let t=this.state.pos,e=this.optionFlags&2048?[]:null;e:for(;this.state.pos<this.length;){let s=this.input.charCodeAt(this.state.pos);switch(s){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let r=this.skipBlockComment(\"*/\");r!==void 0&&(this.addComment(r),e==null||e.push(r));break}case 47:{let r=this.skipLineComment(2);r!==void 0&&(this.addComment(r),e==null||e.push(r));break}default:break e}break;default:if(Us(s))++this.state.pos;else if(s===45&&!this.inModule&&this.optionFlags&4096){let r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(t===0||this.state.lineStart>t)){let i=this.skipLineComment(3);i!==void 0&&(this.addComment(i),e==null||e.push(i))}else break e}else if(s===60&&!this.inModule&&this.optionFlags&4096){let r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){let i=this.skipLineComment(4);i!==void 0&&(this.addComment(i),e==null||e.push(i))}else break e}else break e}}if((e==null?void 0:e.length)>0){let s=this.state.pos,r={start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(s),comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(u.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin(\"recordAndTuple\")){if(this.expectPlugin(\"recordAndTuple\"),this.getPluginOption(\"recordAndTuple\",\"syntaxType\")===\"bar\")throw this.raise(e===123?u.RecordExpressionHashIncorrectStartSyntaxType:u.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else q(e)?(++this.state.pos,this.finishToken(139,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!se(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);let s=this.input.slice(e+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(t){let e=t===42?55:54,s=1,r=this.input.charCodeAt(this.state.pos+1);t===42&&r===42&&(s++,r=this.input.charCodeAt(this.state.pos+2),e=57),r===61&&!this.state.inType&&(s++,e=t===37?33:30),this.finishOp(e,s)}readToken_pipe_amp(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(t===124?41:42,2);return}if(t===124){if(e===62){this.finishOp(39,2);return}if(this.hasPlugin(\"recordAndTuple\")&&e===125){if(this.getPluginOption(\"recordAndTuple\",\"syntaxType\")!==\"bar\")throw this.raise(u.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin(\"recordAndTuple\")&&e===93){if(this.getPluginOption(\"recordAndTuple\",\"syntaxType\")!==\"bar\")throw this.raise(u.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(e===61){this.finishOp(30,2);return}this.finishOp(t===124?43:45,1)}readToken_caret(){let t=this.input.charCodeAt(this.state.pos+1);t===61&&!this.state.inType?this.finishOp(32,2):t===94&&this.hasPlugin([\"pipelineOperator\",{proposal:\"hack\",topicToken:\"^^\"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin([\"pipelineOperator\",{proposal:\"hack\",topicToken:\"@@\"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.finishOp(34,2);return}e===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===60){if(this.input.charCodeAt(t+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(e===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===62){let s=this.input.charCodeAt(t+2)===62?3:2;if(this.input.charCodeAt(t+s)===61){this.finishOp(30,s+1);return}this.finishOp(52,s);return}if(e===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(t===61&&e===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(t===61?29:35,1)}readToken_question(){let t=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);t===63?e===61?this.finishOp(30,3):this.finishOp(40,2):t===46&&!(e>=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin(\"recordAndTuple\")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption(\"recordAndTuple\",\"syntaxType\")!==\"bar\")throw this.raise(u.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin(\"recordAndTuple\")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption(\"recordAndTuple\",\"syntaxType\")!==\"bar\")throw this.raise(u.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin(\"functionBind\")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(q(t)){this.readWord(t);return}}throw this.raise(u.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){let s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,s,r,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(u.UnterminatedRegExp,f(t,1));let h=this.input.charCodeAt(i);if(se(h))throw this.raise(u.UnterminatedRegExp,f(t,1));if(s)s=!1;else{if(h===91)r=!0;else if(h===93&&r)r=!1;else if(h===47&&!r)break;s=h===92}}let a=this.input.slice(e,i);++i;let n=\"\",o=()=>f(t,i+2-e);for(;i<this.length;){let h=this.codePointAtPos(i),l=String.fromCharCode(h);if(qs.has(h))h===118?n.includes(\"u\")&&this.raise(u.IncompatibleRegExpUVFlags,o()):h===117&&n.includes(\"v\")&&this.raise(u.IncompatibleRegExpUVFlags,o()),n.includes(l)&&this.raise(u.DuplicateRegExpFlags,o());else if(te(h)||h===92)this.raise(u.MalformedRegExpFlags,o());else break;++i,n+=l}this.state.pos=i,this.finishToken(138,{pattern:a,flags:n})}readInt(t,e,s=!1,r=!0){let{n:i,pos:a}=yt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,e,s,r,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(t){let e=this.state.pos,s=this.state.curPosition(),r=!1;this.state.pos+=2;let i=this.readInt(t);i==null&&this.raise(u.InvalidDigit,f(s,2),{radix:t});let a=this.input.charCodeAt(this.state.pos);if(a===110)++this.state.pos,r=!0;else if(a===109)throw this.raise(u.InvalidDecimal,s);if(q(this.codePointAtPos(this.state.pos)))throw this.raise(u.NumberIdentifier,this.state.curPosition());if(r){let n=this.input.slice(e,this.state.pos).replace(/[_n]/g,\"\");this.finishToken(136,n);return}this.finishToken(135,i)}readNumber(t){let e=this.state.pos,s=this.state.curPosition(),r=!1,i=!1,a=!1,n=!1;!t&&this.readInt(10)===null&&this.raise(u.InvalidNumber,this.state.curPosition());let o=this.state.pos-e>=2&&this.input.charCodeAt(e)===48;if(o){let A=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(u.StrictOctalLiteral,s),!this.state.strict){let T=A.indexOf(\"_\");T>0&&this.raise(u.ZeroDigitNumericSeparator,f(s,T))}n=o&&!/[89]/.test(A)}let h=this.input.charCodeAt(this.state.pos);if(h===46&&!n&&(++this.state.pos,this.readInt(10),r=!0,h=this.input.charCodeAt(this.state.pos)),(h===69||h===101)&&!n&&(h=this.input.charCodeAt(++this.state.pos),(h===43||h===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(u.InvalidOrMissingExponent,s),r=!0,a=!0,h=this.input.charCodeAt(this.state.pos)),h===110&&((r||o)&&this.raise(u.InvalidBigIntLiteral,s),++this.state.pos,i=!0),h===109){this.expectPlugin(\"decimal\",this.state.curPosition()),(a||o)&&this.raise(u.InvalidDecimal,s),++this.state.pos;var l=!0}if(q(this.codePointAtPos(this.state.pos)))throw this.raise(u.NumberIdentifier,this.state.curPosition());let d=this.input.slice(e,this.state.pos).replace(/[_mn]/g,\"\");if(i){this.finishToken(136,d);return}if(l){this.finishToken(137,d);return}let y=n?parseInt(d,8):parseFloat(d);this.finishToken(135,y)}readCodePoint(t){let{code:e,pos:s}=xt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){let{str:e,pos:s,curLine:r,lineStart:i}=ft(t===34?\"double\":\"single\",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(134,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:r,curLine:i,lineStart:a}=ft(\"template\",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=i,s&&(this.state.firstInvalidTemplateEscapePos=new m(s.curLine,s.pos-s.lineStart,this.sourceToOffsetPos(s.pos))),this.input.codePointAt(r)===96?this.finishToken(24,s?null:t+e+\"`\"):(this.state.pos++,this.finishToken(25,s?null:t+e+\"${\"))}recordStrictModeErrors(t,e){let s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,e):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e=\"\",s=this.state.pos,r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){let i=this.codePointAtPos(this.state.pos);if(te(i))this.state.pos+=i<=65535?1:2;else if(i===92){this.state.containsEsc=!0,e+=this.input.slice(r,this.state.pos);let a=this.state.curPosition(),n=this.state.pos===s?q:te;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(u.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;let o=this.readCodePoint(!0);o!==null&&(n(o)||this.raise(u.EscapedCharNotAnIdentifier,a),e+=String.fromCodePoint(o)),r=this.state.pos}else break}return e+this.input.slice(r,this.state.pos)}readWord(t){let e=this.readWord1(t),s=Ie.get(e);s!==void 0?this.finishToken(s,W(s)):this.finishToken(132,e)}checkKeywordEscapes(){let{type:t}=this.state;Be(t)&&this.state.containsEsc&&this.raise(u.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:W(t)})}raise(t,e,s={}){let r=e instanceof m?e:e.loc.start,i=t(r,s);if(!(this.optionFlags&1024))throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(t,e,s={}){let r=e instanceof m?e:e.loc.start,i=r.index,a=this.state.errors;for(let n=a.length-1;n>=0;n--){let o=a[n];if(o.loc.index===i)return a[n]=t(r,s);if(o.loc.index<i)break}return this.raise(t,e,s)}updateContext(t){}unexpected(t,e){throw this.raise(u.UnexpectedToken,t??this.state.startLoc,{expected:e?W(e):null})}expectPlugin(t,e){if(this.hasPlugin(t))return!0;throw this.raise(u.MissingPlugin,e??this.state.startLoc,{missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(e=>this.hasPlugin(e)))throw this.raise(u.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,s,r)=>{this.raise(t,ue(e,s,r))}}},Ks=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Js=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Ks)}exit(){let t=this.stack.pop(),e=this.current();for(let[s,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,r):this.parser.raise(u.InvalidPrivateFieldResolution,r,{identifierName:s})}declarePrivateName(t,e,s){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:a}=this.current(),n=r.has(t);if(e&3){let o=n&&i.get(t);if(o){let h=o&4,l=e&4,d=o&3,y=e&3;n=d===y||h!==l,n||i.delete(t)}else n||i.set(t,e)}n&&this.parser.raise(u.PrivateNameRedeclaration,s,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(u.InvalidPrivateFieldResolution,e,{identifierName:t})}},ge=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Pt=class extends ge{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){let s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Ws=class{constructor(t){this.parser=void 0,this.stack=[new ge],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){let s=e.loc.start,{stack:r}=this,i=r.length-1,a=r[i];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,s);else return;a=r[--i]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,e){let{stack:s}=this,r=s[s.length-1],i=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,i);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,i);else return}recordAsyncArrowParametersError(t){let{stack:e}=this,s=e.length-1,r=e[s];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(u.AwaitBindingIdentifier,t),r=e[--s]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([s,r])=>{this.parser.raise(s,r);let i=t.length-2,a=t[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--i]})}};function Xs(){return new ge(3)}function Gs(){return new Pt(1)}function Ys(){return new Pt(2)}function At(){return new ge}var Qs=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function Te(t,e){return(t?2:0)|(e?1:0)}var Zs=class extends $s{addExtra(t,e,s,r=!0){if(!t)return;let{extra:i}=t;i==null&&(i={},t.extra=i),r?i[e]=s:Object.defineProperty(i,e,{enumerable:r,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){let s=t+e.length;if(this.input.slice(t,s)===e){let r=this.input.charCodeAt(s);return!(te(r)||(r&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return dt(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return dt(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(u.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let s={node:null};try{let r=t((i=null)=>{throw s.node=i,s});if(this.state.errors.length>e.errors.length){let i=this.state;return this.state=e,this.state.tokensLength=i.tokensLength,{node:r,error:i.errors[e.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){let i=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:i};if(r===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:i};throw r}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:a}=t,n=!!s||!!r||!!a||!!i;if(!e)return n;s!=null&&this.raise(u.InvalidCoverInitializedName,s),r!=null&&this.raise(u.DuplicateProto,r),i!=null&&this.raise(u.UnexpectedPrivateField,i),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return it(this.state.type)}isPrivateName(t){return t.type===\"PrivateName\"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type===\"MemberExpression\"||t.type===\"OptionalMemberExpression\")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type===\"ObjectProperty\"}isObjectMethod(t){return t.type===\"ObjectMethod\"}initializeScopes(t=this.options.sourceType===\"module\"){let e=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=t;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let n=this.prodParam;this.prodParam=new Qs;let o=this.classScope;this.classScope=new Js(this);let h=this.expressionScope;return this.expressionScope=new Ws(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=r,this.scope=i,this.prodParam=n,this.classScope=o,this.expressionScope=h}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin(\"destructuringPrivate\",e)}},be=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Ee=class{constructor(t,e,s){this.type=\"\",this.start=e,this.end=0,this.loc=new x(s),(t==null?void 0:t.optionFlags)&64&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},Ve=Ee.prototype;Ve.__clone=function(){let t=new Ee(void 0,this.start,this.loc.start),e=Object.keys(this);for(let s=0,r=e.length;s<r;s++){let i=e[s];i!==\"leadingComments\"&&i!==\"trailingComments\"&&i!==\"innerComments\"&&(t[i]=this[i])}return t};function er(t){return $(t)}function $(t){let{type:e,start:s,end:r,loc:i,range:a,extra:n,name:o}=t,h=Object.create(Ve);return h.type=e,h.start=s,h.end=r,h.loc=i,h.range=a,h.extra=n,h.name=o,e===\"Placeholder\"&&(h.expectedNode=t.expectedNode),h}function tr(t){let{type:e,start:s,end:r,loc:i,range:a,extra:n}=t;if(e===\"Placeholder\")return er(t);let o=Object.create(Ve);return o.type=e,o.start=s,o.end=r,o.loc=i,o.range=a,t.raw!==void 0?o.raw=t.raw:o.extra=n,o.value=t.value,o}var sr=class extends Zs{startNode(){let t=this.state.startLoc;return new Ee(this,t.index,t)}startNodeAt(t){return new Ee(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,e){return this.finishNodeAt(t,e,this.state.lastTokEndLoc)}finishNodeAt(t,e,s){return t.type=e,t.end=s.index,t.loc.end=s,this.optionFlags&64&&(t.range[1]=s.index),this.optionFlags&2048&&this.processComment(t),t}resetStartLocation(t,e){t.start=e.index,t.loc.start=e,this.optionFlags&64&&(t.range[0]=e.index)}resetEndLocation(t,e=this.state.lastTokEndLoc){t.end=e.index,t.loc.end=e,this.optionFlags&64&&(t.range[1]=e.index)}resetStartLocationFromNode(t,e){this.resetStartLocation(t,e.loc.start)}},rr=new Set([\"_\",\"any\",\"bool\",\"boolean\",\"empty\",\"extends\",\"false\",\"interface\",\"mixed\",\"null\",\"number\",\"static\",\"string\",\"true\",\"typeof\",\"void\"]),E=H`flow`({AmbiguousConditionalArrow:\"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.\",AmbiguousDeclareModuleKind:\"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.\",AssignReservedType:({reservedType:t})=>`Cannot overwrite reserved type ${t}.`,DeclareClassElement:\"The `declare` modifier can only appear on class fields.\",DeclareClassFieldInitializer:\"Initializers are not allowed in fields with the `declare` modifier.\",DuplicateDeclareModuleExports:\"Duplicate `declare module.exports` statement.\",EnumBooleanMemberNotInitialized:({memberName:t,enumName:e})=>`Boolean enum members need to be initialized. Use either \\`${t} = true,\\` or \\`${t} = false,\\` in enum \\`${e}\\`.`,EnumDuplicateMemberName:({memberName:t,enumName:e})=>`Enum member names need to be unique, but the name \\`${t}\\` has already been used before in enum \\`${e}\\`.`,EnumInconsistentMemberValues:({enumName:t})=>`Enum \\`${t}\\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:t,enumName:e})=>`Enum type \\`${t}\\` is not valid. Use one of \\`boolean\\`, \\`number\\`, \\`string\\`, or \\`symbol\\` in enum \\`${e}\\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:t})=>`Supplied enum type is not valid. Use one of \\`boolean\\`, \\`number\\`, \\`string\\`, or \\`symbol\\` in enum \\`${t}\\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:t,memberName:e,explicitType:s})=>`Enum \\`${t}\\` has type \\`${s}\\`, so the initializer of \\`${e}\\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:t,memberName:e})=>`Symbol enum members cannot be initialized. Use \\`${e},\\` in enum \\`${t}\\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:t,memberName:e})=>`The enum member initializer for \\`${e}\\` needs to be a literal (either a boolean, number, or string) in enum \\`${t}\\`.`,EnumInvalidMemberName:({enumName:t,memberName:e,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \\`${e}\\`, consider using \\`${s}\\`, in enum \\`${t}\\`.`,EnumNumberMemberNotInitialized:({enumName:t,memberName:e})=>`Number enum members need to be initialized, e.g. \\`${e} = 1\\` in enum \\`${t}\\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:t})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \\`${t}\\`.`,GetterMayNotHaveThisParam:\"A getter cannot have a `this` parameter.\",ImportReflectionHasImportType:\"An `import module` declaration can not use `type` or `typeof` keyword.\",ImportTypeShorthandOnlyInPureImport:\"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.\",InexactInsideExact:\"Explicit inexact syntax cannot appear inside an explicit exact object type.\",InexactInsideNonObject:\"Explicit inexact syntax cannot appear in class or interface definitions.\",InexactVariance:\"Explicit inexact syntax cannot have variance.\",InvalidNonTypeImportInDeclareModule:\"Imports within a `declare module` body must always be `import type` or `import typeof`.\",MissingTypeParamDefault:\"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.\",NestedDeclareModule:\"`declare module` cannot be used inside another `declare module`.\",NestedFlowComment:\"Cannot have a flow comment inside another flow comment.\",PatternIsOptional:Object.assign({message:\"A binding pattern parameter cannot be optional in an implementation signature.\"},{reasonCode:\"OptionalBindingPattern\"}),SetterMayNotHaveThisParam:\"A setter cannot have a `this` parameter.\",SpreadVariance:\"Spread properties cannot have variance.\",ThisParamAnnotationRequired:\"A type annotation is required for the `this` parameter.\",ThisParamBannedInConstructor:\"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.\",ThisParamMayNotBeOptional:\"The `this` parameter cannot be optional.\",ThisParamMustBeFirst:\"The `this` parameter must be the first function parameter.\",ThisParamNoDefault:\"The `this` parameter may not have a default value.\",TypeBeforeInitializer:\"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.\",TypeCastInPattern:\"The type cast expression is expected to be wrapped with parenthesis.\",UnexpectedExplicitInexactInObject:\"Explicit inexact syntax must appear at the end of an inexact object.\",UnexpectedReservedType:({reservedType:t})=>`Unexpected reserved type ${t}.`,UnexpectedReservedUnderscore:\"`_` is only allowed as a type argument to call or new.\",UnexpectedSpaceBetweenModuloChecks:\"Spaces between `%` and `checks` are not allowed here.\",UnexpectedSpreadType:\"Spread operator cannot appear in class or interface definitions.\",UnexpectedSubtractionOperand:'Unexpected token, expected \"number\" or \"bigint\".',UnexpectedTokenAfterTypeParameter:\"Expected an arrow function after this type parameter declaration.\",UnexpectedTypeParameterBeforeAsyncArrowFunction:\"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.\",UnsupportedDeclareExportKind:({unsupportedExportKind:t,suggestion:e})=>`\\`declare export ${t}\\` is not supported. Use \\`${e}\\` instead.`,UnsupportedStatementInDeclareModule:\"Only declares and type imports are allowed inside declare module.\",UnterminatedFlowComment:\"Unterminated flow-comment.\"});function ir(t){return t.type===\"DeclareExportAllDeclaration\"||t.type===\"DeclareExportDeclaration\"&&(!t.declaration||t.declaration.type!==\"TypeAlias\"&&t.declaration.type!==\"InterfaceDeclaration\")}function gt(t){return t.importKind===\"type\"||t.importKind===\"typeof\"}var ar={const:\"declare export var\",let:\"declare export var\",type:\"export type\",interface:\"export interface\"};function nr(t,e){let s=[],r=[];for(let i=0;i<t.length;i++)(e(t[i],i,t)?s:r).push(t[i]);return[s,r]}var or=/\\*?\\s*@((?:no)?flow)\\b/,lr=t=>class extends t{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Bs}shouldParseTypes(){return this.getPluginOption(\"flow\",\"all\")||this.flowPragma===\"flow\"}finishToken(e,s){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){let s=or.exec(e.value);if(s)if(s[1]===\"flow\")this.flowPragma=\"flow\";else if(s[1]===\"noflow\")this.flowPragma=\"noflow\";else throw new Error(\"Unexpected flow pragma\")}super.addComment(e)}flowParseTypeInitialiser(e){let s=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=s,r}flowParsePredicate(){let e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>s.index+1&&this.raise(E.UnexpectedSpaceBetweenModuloChecks,s),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,\"DeclaredPredicate\")):this.finishNode(e,\"InferredPredicate\")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[s,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,\"DeclareClass\")}flowParseDeclareFunction(e){this.next();let s=e.id=this.parseIdentifier(),r=this.startNode(),i=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),i.typeAnnotation=this.finishNode(r,\"FunctionTypeAnnotation\"),s.typeAnnotation=this.finishNode(i,\"TypeAnnotation\"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,\"DeclareFunction\")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(E.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,\"DeclareVariable\")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let s=e.body=this.startNode(),r=s.body=[];for(this.expect(5);!this.match(8);){let n=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(E.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(n)):(this.expectContextual(125,E.UnsupportedStatementInDeclareModule),n=this.flowParseDeclare(n,!0)),r.push(n)}this.scope.exit(),this.expect(8),this.finishNode(s,\"BlockStatement\");let i=null,a=!1;return r.forEach(n=>{ir(n)?(i===\"CommonJS\"&&this.raise(E.AmbiguousDeclareModuleKind,n),i=\"ES\"):n.type===\"DeclareModuleExports\"&&(a&&this.raise(E.DuplicateDeclareModuleExports,n),i===\"ES\"&&this.raise(E.AmbiguousDeclareModuleKind,n),i=\"CommonJS\",a=!0)}),e.kind=i||\"CommonJS\",this.finishNode(e,\"DeclareModule\")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,\"DeclareExportDeclaration\");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!s){let r=this.state.value;throw this.raise(E.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:ar[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,\"DeclareExportDeclaration\");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type===\"ExportNamedDeclaration\"&&(e.type=\"ExportDeclaration\",e.default=!1,delete e.exportKind),e.type=\"Declare\"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,\"DeclareModuleExports\")}flowParseDeclareTypeAlias(e){this.next();let s=this.flowParseTypeAlias(e);return s.type=\"DeclareTypeAlias\",s}flowParseDeclareOpaqueType(e){this.next();let s=this.flowParseOpaqueType(e,!0);return s.type=\"DeclareOpaqueType\",s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,\"DeclareInterface\")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,\"InterfaceExtends\")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,\"InterfaceDeclaration\")}checkNotUnderscore(e){e===\"_\"&&this.raise(E.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,s,r){rr.has(e)&&this.raise(r?E.AssignReservedType:E.UnexpectedReservedType,s,{reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,\"TypeAlias\")}flowParseOpaqueType(e,s){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,\"OpaqueType\")}flowParseTypeParameter(e=!1){let s=this.state.startLoc,r=this.startNode(),i=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=i,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(E.MissingTypeParamDefault,s),this.finishNode(r,\"TypeParameter\")}flowParseTypeParameterDeclaration(){let e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let r=!1;do{let i=this.flowParseTypeParameter(r);s.params.push(i),i.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,\"TypeParameterDeclaration\")}flowInTopLevelContext(e){if(this.curContext()!==k.brace){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let e=this.startNode(),s=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=r}),this.state.inType=s,!this.state.inType&&this.curContext()===k.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,\"TypeParameterInstantiation\")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,\"TypeParameterInstantiation\")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,\"InterfaceTypeAnnotation\")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,r){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,\"ObjectTypeIndexer\")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,\"ObjectTypeInternalSlot\")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,\"FunctionTypeAnnotation\")}flowParseObjectTypeCallProperty(e,s){let r=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,\"ObjectTypeCallProperty\")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:r,allowProto:i,allowInexact:a}){let n=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let h,l,d=!1;for(s&&this.match(6)?(this.expect(6),h=9,l=!0):(this.expect(5),h=8,l=!1),o.exact=l;!this.match(h);){let A=!1,T=null,N=null,L=this.startNode();if(i&&this.isContextual(118)){let B=this.lookahead();B.type!==14&&B.type!==17&&(this.next(),T=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let B=this.lookahead();B.type!==14&&B.type!==17&&(this.next(),A=!0)}let F=this.flowParseVariance();if(this.eat(0))T!=null&&this.unexpected(T),this.eat(0)?(F&&this.unexpected(F.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(L,A))):o.indexers.push(this.flowParseObjectTypeIndexer(L,A,F));else if(this.match(10)||this.match(47))T!=null&&this.unexpected(T),F&&this.unexpected(F.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(L,A));else{let B=\"init\";if(this.isContextual(99)||this.isContextual(104)){let Ke=this.lookahead();it(Ke.type)&&(B=this.state.value,this.next())}let j=this.flowParseObjectTypeProperty(L,A,T,F,B,r,a??!l);j===null?(d=!0,N=this.state.lastTokStartLoc):o.properties.push(j)}this.flowObjectTypeSemicolon(),N&&!this.match(8)&&!this.match(9)&&this.raise(E.UnexpectedExplicitInexactInObject,N)}this.expect(h),r&&(o.inexact=d);let y=this.finishNode(o,\"ObjectTypeAnnotation\");return this.state.inType=n,y}flowParseObjectTypeProperty(e,s,r,i,a,n,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(n?o||this.raise(E.InexactInsideExact,this.state.lastTokStartLoc):this.raise(E.InexactInsideNonObject,this.state.lastTokStartLoc),i&&this.raise(E.InexactVariance,i),null):(n||this.raise(E.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),i&&this.raise(E.SpreadVariance,i),e.argument=this.flowParseType(),this.finishNode(e,\"ObjectTypeSpreadProperty\"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=r!=null,e.kind=a;let h=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),i&&this.unexpected(i.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a===\"get\"||a===\"set\")&&this.flowCheckGetterSetterParams(e),!n&&e.key.name===\"constructor\"&&e.value.this&&this.raise(E.ThisParamBannedInConstructor,e.value.this)):(a!==\"init\"&&this.unexpected(),e.method=!1,this.eat(17)&&(h=!0),e.value=this.flowParseTypeInitialiser(),e.variance=i),e.optional=h,this.finishNode(e,\"ObjectTypeProperty\")}}flowCheckGetterSetterParams(e){let s=e.kind===\"get\"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind===\"get\"?E.GetterMayNotHaveThisParam:E.SetterMayNotHaveThisParam,e.value.this),r!==s&&this.raise(e.kind===\"get\"?u.BadGetterArity:u.BadSetterArity,e),e.kind===\"set\"&&e.value.rest&&this.raise(u.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){e!=null||(e=this.state.startLoc);let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let i=this.startNodeAt(e);i.qualification=r,i.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(i,\"QualifiedTypeIdentifier\")}return r}flowParseGenericType(e,s){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,\"GenericTypeAnnotation\")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,\"TypeofTypeAnnotation\")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,\"TupleTypeAnnotation\")}flowParseFunctionTypeParam(e){let s=null,r=!1,i=null,a=this.startNode(),n=this.lookahead(),o=this.state.type===78;return n.type===14||n.type===17?(o&&!e&&this.raise(E.ThisParamMustBeFirst,a),s=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(E.ThisParamMayNotBeOptional,a)),i=this.flowParseTypeInitialiser()):i=this.flowParseType(),a.name=s,a.optional=r,a.typeAnnotation=i,this.finishNode(a,\"FunctionTypeParam\")}reinterpretTypeAsFunctionTypeParam(e){let s=this.startNodeAt(e.loc.start);return s.name=null,s.optional=!1,s.typeAnnotation=e,this.finishNode(s,\"FunctionTypeParam\")}flowParseFunctionTypeParams(e=[]){let s=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s=this.flowParseFunctionTypeParam(!1)),{params:e,rest:s,_this:r}}flowIdentToTypeAnnotation(e,s,r){switch(r.name){case\"any\":return this.finishNode(s,\"AnyTypeAnnotation\");case\"bool\":case\"boolean\":return this.finishNode(s,\"BooleanTypeAnnotation\");case\"mixed\":return this.finishNode(s,\"MixedTypeAnnotation\");case\"empty\":return this.finishNode(s,\"EmptyTypeAnnotation\");case\"number\":return this.finishNode(s,\"NumberTypeAnnotation\");case\"string\":return this.finishNode(s,\"StringTypeAnnotation\");case\"symbol\":return this.finishNode(s,\"SymbolTypeAnnotation\");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){let e=this.state.startLoc,s=this.startNode(),r,i,a=!1,n=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,i=this.flowParseTupleType(),this.state.noAnonFunctionType=n,i;case 47:{let o=this.startNode();return o.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),o.params=r.params,o.rest=r.rest,o.this=r._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),this.finishNode(o,\"FunctionTypeAnnotation\")}case 10:{let o=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(D(this.state.type)||this.match(78)){let h=this.lookahead().type;a=h!==17&&h!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=n,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),i;this.eat(12)}return i?r=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):r=this.flowParseFunctionTypeParams(),o.params=r.params,o.rest=r.rest,o.this=r._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),o.typeParameters=null,this.finishNode(o,\"FunctionTypeAnnotation\")}case 134:return this.parseLiteral(this.state.value,\"StringLiteralTypeAnnotation\");case 85:case 86:return s.value=this.match(85),this.next(),this.finishNode(s,\"BooleanLiteralTypeAnnotation\");case 53:if(this.state.value===\"-\"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,\"NumberLiteralTypeAnnotation\",s);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,\"BigIntLiteralTypeAnnotation\",s);throw this.raise(E.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,\"NumberLiteralTypeAnnotation\");case 136:return this.parseLiteral(this.state.value,\"BigIntLiteralTypeAnnotation\");case 88:return this.next(),this.finishNode(s,\"VoidTypeAnnotation\");case 84:return this.next(),this.finishNode(s,\"NullLiteralTypeAnnotation\");case 78:return this.next(),this.finishNode(s,\"ThisTypeAnnotation\");case 55:return this.next(),this.finishNode(s,\"ExistsTypeAnnotation\");case 87:return this.flowParseTypeofType();default:if(Be(this.state.type)){let o=W(this.state.type);return this.next(),super.createIdentifier(s,o)}else if(D(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,s,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,s=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(e),a=this.eat(18);r=r||a,this.expect(0),!a&&this.match(3)?(i.elementType=s,this.next(),s=this.finishNode(i,\"ArrayTypeAnnotation\")):(i.objectType=s,i.indexType=this.flowParseType(),this.expect(3),r?(i.optional=a,s=this.finishNode(i,\"OptionalIndexedAccessType\")):s=this.finishNode(i,\"IndexedAccessType\"))}return s}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,\"NullableTypeAnnotation\")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let s=this.startNodeAt(e.loc.start);return s.params=[this.reinterpretTypeAsFunctionTypeParam(e)],s.rest=null,s.this=null,s.returnType=this.flowParseType(),s.typeParameters=null,this.finishNode(s,\"FunctionTypeAnnotation\")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let s=this.flowParseAnonFunctionWithoutParens();for(e.types=[s];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?s:this.finishNode(e,\"IntersectionTypeAnnotation\")}flowParseUnionType(){let e=this.startNode();this.eat(43);let s=this.flowParseIntersectionType();for(e.types=[s];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?s:this.finishNode(e,\"UnionTypeAnnotation\")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let s=this.flowParseUnionType();return this.state.inType=e,s}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value===\"_\"){let e=this.state.startLoc,s=this.parseIdentifier();return this.flowParseGenericType(e,s)}else return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,\"TypeAnnotation\")}flowParseTypeAnnotatableIdentifier(e){let s=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s)),s}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value===\"+\"?e.kind=\"plus\":e.kind=\"minus\",this.next(),this.finishNode(e,\"Variance\")):e}parseFunctionBody(e,s,r=!1){if(s){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,s,r=!1){if(this.match(14)){let i=this.startNode();[i.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=i.typeAnnotation?this.finishNode(i,\"TypeAnnotation\"):null}return super.parseFunctionBodyAndFinish(e,s,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){let r=this.lookahead();if(U(r.type)){let i=this.startNode();return this.next(),this.flowParseInterface(i)}}else if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}let s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,r){if(s.type===\"Identifier\"){if(s.name===\"declare\"){if(this.match(80)||D(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(D(this.state.type)){if(s.name===\"interface\")return this.flowParseInterface(e);if(s.name===\"type\")return this.flowParseTypeAlias(e);if(s.name===\"opaque\")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return e===126||at(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||at(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let y=this.lookaheadCharCode();if(y===44||y===61||y===58||y===41)return this.setOptionalParametersError(r),e}this.expect(17);let i=this.state.clone(),a=this.state.noArrowAt,n=this.startNodeAt(s),{consequent:o,failed:h}=this.tryParseConditionalConsequent(),[l,d]=this.getArrowLikeExpressions(o);if(h||d.length>0){let y=[...a];if(d.length>0){this.state=i,this.state.noArrowAt=y;for(let A=0;A<d.length;A++)y.push(d[A].start);({consequent:o,failed:h}=this.tryParseConditionalConsequent()),[l,d]=this.getArrowLikeExpressions(o)}h&&l.length>1&&this.raise(E.AmbiguousConditionalArrow,i.startLoc),h&&l.length===1&&(this.state=i,y.push(l[0].start),this.state.noArrowAt=y,{consequent:o,failed:h}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=a,this.expect(14),n.test=e,n.consequent=o,n.alternate=this.forwardNoArrowParamsConversionAt(n,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(n,\"ConditionalExpression\")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){let r=[e],i=[];for(;r.length!==0;){let a=r.pop();a.type===\"ArrowFunctionExpression\"&&a.body.type!==\"BlockStatement\"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):i.push(a),r.push(a.body)):a.type===\"ConditionalExpression\"&&(r.push(a.consequent),r.push(a.alternate))}return s?(i.forEach(a=>this.finishArrowValidation(a)),[i,[]]):nr(i,a=>a.params.every(n=>this.isAssignable(n,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=s(),this.state.noArrowParamsConversionAt.pop()):r=s(),r}parseParenItem(e,s){let r=super.parseParenItem(e,s);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=r,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,\"TypeCastExpression\")}return r}assertModuleNodeAllowed(e){e.type===\"ImportDeclaration\"&&(e.importKind===\"type\"||e.importKind===\"typeof\")||e.type===\"ExportNamedDeclaration\"&&e.exportKind===\"type\"||e.type===\"ExportAllDeclaration\"&&e.exportKind===\"type\"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind=\"type\";let s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(131)){e.exportKind=\"type\";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(129)){e.exportKind=\"type\";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.isContextual(126)){e.exportKind=\"value\";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind=\"type\",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:s}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind===\"type\"&&this.unexpected(s),r}parseClassId(e,s,r){super.parseClassId(e,s,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,r){let{startLoc:i}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,r),s.declare&&(s.type!==\"ClassProperty\"&&s.type!==\"ClassPrivateProperty\"&&s.type!==\"PropertyDefinition\"?this.raise(E.DeclareClassElement,i):s.value&&this.raise(E.DeclareClassFieldInitializer,s.value))}isIterator(e){return e===\"iterator\"||e===\"asyncIterator\"}readIterator(){let e=super.readWord1(),s=\"@@\"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(u.InvalidIdentifier,this.state.curPosition(),{identifierName:s}),this.finishToken(132,s)}getTokenFromCode(e){let s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):ks(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type===\"TypeCastExpression\"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type===\"AssignmentExpression\"&&e.left.type===\"TypeCastExpression\"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,r){for(let i=0;i<e.length;i++){let a=e[i];(a==null?void 0:a.type)===\"TypeCastExpression\"&&(e[i]=this.typeCastToParameter(a))}super.toAssignableList(e,s,r)}toReferencedList(e,s){for(let i=0;i<e.length;i++){var r;let a=e[i];a&&a.type===\"TypeCastExpression\"&&!((r=a.extra)!=null&&r.parenthesized)&&(e.length>1||!s)&&this.raise(E.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,s,r,i){let a=super.parseArrayLike(e,s,r,i);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(e,s,r){return e===\"TypeCastExpression\"||super.isValidLVal(e,s,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,r,i,a,n){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,r,i,a,n),s.params&&a){let o=s.params;o.length>0&&this.isThisParam(o[0])&&this.raise(E.ThisParamBannedInConstructor,s)}else if(s.type===\"MethodDefinition\"&&a&&s.value.params){let o=s.value.params;o.length>0&&this.isThisParam(o[0])&&this.raise(E.ThisParamBannedInConstructor,s)}}pushClassPrivateMethod(e,s,r,i){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,r,i)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let s=e.implements=[];do{let r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,s.push(this.finishNode(r,\"ClassImplements\"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let s=this.getObjectOrClassMethodParams(e);if(s.length>0){let r=s[0];this.isThisParam(r)&&e.kind===\"get\"?this.raise(E.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(E.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,r,i,a,n,o){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let h;this.match(47)&&!n&&(h=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let l=super.parseObjPropValue(e,s,r,i,a,n,o);return h&&((l.value||l).typeParameters=h),l}parseFunctionParamType(e){return this.eat(17)&&(e.type!==\"Identifier\"&&this.raise(E.PatternIsOptional,e),this.isThisParam(e)&&this.raise(E.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(E.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(E.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,s){let r=super.parseMaybeDefault(e,s);return r.type===\"AssignmentPattern\"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(E.TypeBeforeInitializer,r.typeAnnotation),r}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==\"value\"&&this.raise(E.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,s,r){s.local=gt(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(s,r))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;let s=this.lookaheadCharCode();return s===123||s===42}return!e&&this.isContextual(87)}applyImportPhase(e,s,r,i){if(super.applyImportPhase(e,s,r,i),s){if(!r&&this.match(65))return;e.exportKind=r===\"type\"?r:\"value\"}else r===\"type\"&&this.match(55)&&this.unexpected(),e.importKind=r===\"type\"||r===\"typeof\"?r:\"value\"}parseImportSpecifier(e,s,r,i,a){let n=e.imported,o=null;n.type===\"Identifier\"&&(n.name===\"type\"?o=\"type\":n.name===\"typeof\"&&(o=\"typeof\"));let h=!1;if(this.isContextual(93)&&!this.isLookaheadContextual(\"as\")){let d=this.parseIdentifier(!0);o!==null&&!U(this.state.type)?(e.imported=d,e.importKind=o,e.local=$(d)):(e.imported=n,e.importKind=null,e.local=this.parseIdentifier())}else{if(o!==null&&U(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(s)throw this.raise(u.ImportBindingIsString,e,{importName:n.value});e.imported=n,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(h=!0,e.local=$(e.imported))}let l=gt(e);return r&&l&&this.raise(E.ImportTypeShorthandOnlyInPureImport,e),(r||l)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),h&&!r&&!l&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,\"ImportSpecifier\")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,s){let r=e.kind;r!==\"get\"&&r!==\"set\"&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){if(this.match(14)){let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=r}return super.parseAsyncArrowFromCallExpression(e,s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,s){var r;let i=null,a;if(this.hasPlugin(\"jsx\")&&(this.match(143)||this.match(47))){if(i=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(e,s),i),!a.error)return a.node;let{context:h}=this.state,l=h[h.length-1];(l===k.j_oTag||l===k.j_expr)&&h.pop()}if((r=a)!=null&&r.error||this.match(47)){var n,o;i=i||this.state.clone();let h,l=this.tryParse(y=>{var A;h=this.flowParseTypeParameterDeclaration();let T=this.forwardNoArrowParamsConversionAt(h,()=>{let L=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(L,h),L});(A=T.extra)!=null&&A.parenthesized&&y();let N=this.maybeUnwrapTypeCastExpression(T);return N.type!==\"ArrowFunctionExpression\"&&y(),N.typeParameters=h,this.resetStartLocationFromNode(N,h),T},i),d=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type===\"ArrowFunctionExpression\"){if(!l.error&&!l.aborted)return l.node.async&&this.raise(E.UnexpectedTypeParameterBeforeAsyncArrowFunction,h),l.node;d=l.node}if((n=a)!=null&&n.node)return this.state=a.failState,a.node;if(d)return this.state=l.failState,d;throw(o=a)!=null&&o.thrown?a.error:l.thrown?l.error:this.raise(E.UnexpectedTokenAfterTypeParameter,h)}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(()=>{let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let i=this.startNode();return[i.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),i});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,\"TypeAnnotation\"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,r,i=!0){if(!(r&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let a=0;a<e.params.length;a++)this.isThisParam(e.params[a])&&a>0&&this.raise(E.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,s,r,i)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,s,r){if(e.type===\"Identifier\"&&e.name===\"async\"&&this.state.noArrowAt.includes(s.index)){this.next();let i=this.startNodeAt(s);i.callee=e,i.arguments=super.parseCallExpressionArguments(11),e=this.finishNode(i,\"CallExpression\")}else if(e.type===\"Identifier\"&&e.name===\"async\"&&this.match(47)){let i=this.state.clone(),a=this.tryParse(o=>this.parseAsyncArrowWithTypeParameters(s)||o(),i);if(!a.error&&!a.aborted)return a.node;let n=this.tryParse(()=>super.parseSubscripts(e,s,r),i);if(n.node&&!n.error)return n.node;if(a.node)return this.state=a.failState,a.node;if(n.node)return this.state=n.failState,n.node;throw a.error||n.error}return super.parseSubscripts(e,s,r)}parseSubscript(e,s,r,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,r)return i.stop=!0,e;this.next();let a=this.startNodeAt(s);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let a=this.startNodeAt(s);a.callee=e;let n=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11),i.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,i.optionalChainMember)));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,s,r,i)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){let s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){let r=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(E.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin(\"flowComments\")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(E.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?\"*-/\":\"*/\")}skipFlowComment(){let{pos:e}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;let r=this.input.charCodeAt(s+e),i=this.input.charCodeAt(s+e+1);return r===58&&i===58?s+2:this.input.slice(s+e,s+e+12)===\"flow-include\"?s+12:r===58&&i!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf(\"*/\",this.state.pos)===-1)throw this.raise(u.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:r}){this.raise(E.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType===\"symbol\"?E.EnumInvalidMemberInitializerSymbolType:E.EnumInvalidMemberInitializerPrimaryType:E.EnumInvalidMemberInitializerUnknownType,e,s)}flowEnumErrorNumberMemberNotInitialized(e,s){this.raise(E.EnumNumberMemberNotInitialized,e,s)}flowEnumErrorStringMemberInconsistentlyInitialized(e,s){this.raise(E.EnumStringMemberInconsistentlyInitialized,e,s)}flowEnumMemberInit(){let e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let r=this.parseNumericLiteral(this.state.value);return s()?{type:\"number\",loc:r.loc.start,value:r}:{type:\"invalid\",loc:e}}case 134:{let r=this.parseStringLiteral(this.state.value);return s()?{type:\"string\",loc:r.loc.start,value:r}:{type:\"invalid\",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return s()?{type:\"boolean\",loc:r.loc.start,value:r}:{type:\"invalid\",loc:e}}default:return{type:\"invalid\",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,s=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:\"none\",loc:e};return{id:s,init:r}}flowEnumCheckExplicitTypeMismatch(e,s,r){let{explicitType:i}=s;i!==null&&i!==r&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){let r=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let n=this.startNode(),{id:o,init:h}=this.flowEnumMemberRaw(),l=o.name;if(l===\"\")continue;/^[a-z]/.test(l)&&this.raise(E.EnumInvalidMemberName,o,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e}),r.has(l)&&this.raise(E.EnumDuplicateMemberName,o,{memberName:l,enumName:e}),r.add(l);let d={enumName:e,explicitType:s,memberName:l};switch(n.id=o,h.type){case\"boolean\":{this.flowEnumCheckExplicitTypeMismatch(h.loc,d,\"boolean\"),n.init=h.value,i.booleanMembers.push(this.finishNode(n,\"EnumBooleanMember\"));break}case\"number\":{this.flowEnumCheckExplicitTypeMismatch(h.loc,d,\"number\"),n.init=h.value,i.numberMembers.push(this.finishNode(n,\"EnumNumberMember\"));break}case\"string\":{this.flowEnumCheckExplicitTypeMismatch(h.loc,d,\"string\"),n.init=h.value,i.stringMembers.push(this.finishNode(n,\"EnumStringMember\"));break}case\"invalid\":throw this.flowEnumErrorInvalidMemberInitializer(h.loc,d);case\"none\":switch(s){case\"boolean\":this.flowEnumErrorBooleanMemberNotInitialized(h.loc,d);break;case\"number\":this.flowEnumErrorNumberMemberNotInitialized(h.loc,d);break;default:i.defaultedMembers.push(this.finishNode(n,\"EnumDefaultedMember\"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(e,s,{enumName:r}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(let i of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:r});return s}else{for(let i of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!D(this.state.type))throw this.raise(E.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:s}=this.state;return this.next(),s!==\"boolean\"&&s!==\"number\"&&s!==\"string\"&&s!==\"symbol\"&&this.raise(E.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){let r=s.name,i=s.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:n,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=o,a){case\"boolean\":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,\"EnumBooleanBody\");case\"number\":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,\"EnumNumberBody\");case\"string\":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,\"EnumStringBody\");case\"symbol\":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,\"EnumSymbolBody\");default:{let h=()=>(e.members=[],this.expect(8),this.finishNode(e,\"EnumStringBody\"));e.explicitType=!1;let l=n.booleanMembers.length,d=n.numberMembers.length,y=n.stringMembers.length,A=n.defaultedMembers.length;if(!l&&!d&&!y&&!A)return h();if(!l&&!d)return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,\"EnumStringBody\");if(!d&&!y&&l>=A){for(let T of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(T.loc.start,{enumName:r,memberName:T.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,\"EnumBooleanBody\")}else if(!l&&!y&&d>=A){for(let T of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(T.loc.start,{enumName:r,memberName:T.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,\"EnumNumberBody\")}else return this.raise(E.EnumInconsistentMemberValues,i,{enumName:r}),h()}}}flowParseEnumDeclaration(e){let s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,\"EnumDeclaration\")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type===\"TypeCastExpression\"?e.expression:e}},Z=H`jsx`({AttributeIsEmpty:\"JSX attributes must only be assigned a non-empty expression.\",MissingClosingTagElement:({openingTagName:t})=>`Expected corresponding JSX closing tag for <${t}>.`,MissingClosingTagFragment:\"Expected corresponding JSX closing tag for <>.\",UnexpectedSequenceExpression:\"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?\",UnexpectedToken:({unexpected:t,HTMLEntity:e})=>`Unexpected token \\`${t}\\`. Did you mean \\`${e}\\` or \\`{'${t}'}\\`?`,UnsupportedJsxValue:\"JSX value should be either an expression or a quoted JSX text.\",UnterminatedJsxContent:\"Unterminated JSX contents.\",UnwrappedAdjacentJSXElements:\"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?\"});function G(t){return t?t.type===\"JSXOpeningFragment\"||t.type===\"JSXClosingFragment\":!1}function re(t){if(t.type===\"JSXIdentifier\")return t.name;if(t.type===\"JSXNamespacedName\")return t.namespace.name+\":\"+t.name.name;if(t.type===\"JSXMemberExpression\")return re(t.object)+\".\"+re(t.property);throw new Error(\"Node had unexpected type: \"+t.type)}var hr=t=>class extends t{jsxReadToken(){let e=\"\",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Z.UnterminatedJsxContent,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(r);return}e+=this.input.slice(s,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:se(r)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let s=this.input.charCodeAt(this.state.pos),r;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?`\n`:`\\r\n`):r=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let s=\"\",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(u.UnterminatedString,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);if(i===e)break;i===38?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadEntity(),r=this.state.pos):se(i)?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}s+=this.input.slice(r,this.state.pos++),this.finishToken(134,s)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let r=this.readInt(s,void 0,!1,\"bail\");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let s=0,r=!1;for(;s++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(r){this.input.slice(e,this.state.pos);let i;++this.state.pos}}return this.state.pos=e,\"&\"}jsxReadWord(){let e,s=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(te(e)||e===45);this.finishToken(141,this.input.slice(s,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(141)?e.name=this.state.value:Be(this.state.type)?e.name=W(this.state.type):this.unexpected(),this.next(),this.finishNode(e,\"JSXIdentifier\")}jsxParseNamespacedName(){let e=this.state.startLoc,s=this.jsxParseIdentifier();if(!this.eat(14))return s;let r=this.startNodeAt(e);return r.namespace=s,r.name=this.jsxParseIdentifier(),this.finishNode(r,\"JSXNamespacedName\")}jsxParseElementName(){let e=this.state.startLoc,s=this.jsxParseNamespacedName();if(s.type===\"JSXNamespacedName\")return s;for(;this.eat(16);){let r=this.startNodeAt(e);r.object=s,r.property=this.jsxParseIdentifier(),s=this.finishNode(r,\"JSXMemberExpression\")}return s}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(k.brace),this.next(),e=this.jsxParseExpressionContainer(e,k.j_oTag),e.expression.type===\"JSXEmptyExpression\"&&this.raise(Z.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(Z.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,\"JSXEmptyExpression\",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(k.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,\"JSXSpreadChild\")}jsxParseExpressionContainer(e,s){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let r=this.parseExpression();e.expression=r}return this.setContext(s),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,\"JSXExpressionContainer\")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(k.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(k.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,\"JSXSpreadAttribute\")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,\"JSXAttribute\"))}jsxParseOpeningElementAt(e){let s=this.startNodeAt(e);return this.eat(144)?this.finishNode(s,\"JSXOpeningFragment\"):(s.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(s))}jsxParseOpeningElementAfterName(e){let s=[];for(;!this.match(56)&&!this.match(144);)s.push(this.jsxParseAttribute());return e.attributes=s,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,\"JSXOpeningElement\")}jsxParseClosingElementAt(e){let s=this.startNodeAt(e);return this.eat(144)?this.finishNode(s,\"JSXClosingFragment\"):(s.name=this.jsxParseElementName(),this.expect(144),this.finishNode(s,\"JSXClosingElement\"))}jsxParseElementAt(e){let s=this.startNodeAt(e),r=[],i=this.jsxParseOpeningElementAt(e),a=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 142:r.push(this.parseLiteral(this.state.value,\"JSXText\"));break;case 5:{let n=this.startNode();this.setContext(k.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(n)):r.push(this.jsxParseExpressionContainer(n,k.j_expr));break}default:this.unexpected()}G(i)&&!G(a)&&a!==null?this.raise(Z.MissingClosingTagFragment,a):!G(i)&&G(a)?this.raise(Z.MissingClosingTagElement,a,{openingTagName:re(i.name)}):!G(i)&&!G(a)&&re(a.name)!==re(i.name)&&this.raise(Z.MissingClosingTagElement,a,{openingTagName:re(i.name)})}if(G(i)?(s.openingFragment=i,s.closingFragment=a):(s.openingElement=i,s.closingElement=a),s.children=r,this.match(47))throw this.raise(Z.UnwrappedAdjacentJSXElements,this.state.startLoc);return G(i)?this.finishNode(s,\"JSXFragment\"):this.finishNode(s,\"JSXElement\")}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:s}=this.state;s[s.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let s=this.curContext();if(s===k.j_expr){this.jsxReadToken();return}if(s===k.j_oTag||s===k.j_cTag){if(q(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&s===k.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){let{context:s,type:r}=this.state;if(r===56&&e===143)s.splice(-2,2,k.j_cTag),this.state.canStartJSXElement=!1;else if(r===143)s.push(k.j_oTag);else if(r===144){let i=s[s.length-1];i===k.j_oTag&&e===56||i===k.j_cTag?(s.pop(),this.state.canStartJSXElement=s[s.length-1]===k.j_expr):(this.setContext(k.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=ms(r)}},pr=class extends je{constructor(...t){super(...t),this.tsNames=new Map}},ur=class extends Ue{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new pr(t)}enter(t){t===256&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t===256&&this.importsStack.pop(),t}hasImport(t,e){let s=this.importsStack.length;if(this.importsStack[s-1].has(t))return!0;if(!e&&s>1){for(let r=0;r<s-1;r++)if(this.importsStack[r].has(t))return!0}return!1}declareName(t,e,s){if(e&4096){this.hasImport(t,!0)&&this.parser.raise(u.VarRedeclaration,s,{identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}let r=this.currentScope(),i=r.tsNames.get(t)||0;if(e&1024){this.maybeExportDefined(r,t),r.tsNames.set(t,i|16);return}super.declareName(t,e,s),e&2&&(e&1||(this.checkRedeclarationInScope(r,t,e,s),this.maybeExportDefined(r,t)),i=i|1),e&256&&(i=i|2),e&512&&(i=i|4),e&128&&(i=i|8),i&&r.tsNames.set(t,i)}isRedeclaredInScope(t,e,s){let r=t.tsNames.get(e);if((r&2)>0){if(s&256){let i=!!(s&512),a=(r&4)>0;return i!==a}return!0}return s&128&&(r&8)>0?t.names.get(e)&2?!!(s&1):!1:s&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){let{name:e}=t;if(this.hasImport(e))return;let s=this.scopeStack.length;for(let r=s-1;r>=0;r--){let i=this.scopeStack[r].tsNames.get(e);if((i&1)>0||(i&16)>0)return}super.checkLocalExport(t)}},Tt=t=>t.type===\"ParenthesizedExpression\"?Tt(t.expression):t,cr=class extends sr{toAssignable(t,e=!1){var s,r;let i;switch((t.type===\"ParenthesizedExpression\"||(s=t.extra)!=null&&s.parenthesized)&&(i=Tt(t),e?i.type===\"Identifier\"?this.expressionScope.recordArrowParameterBindingError(u.InvalidParenthesizedAssignment,t):i.type!==\"MemberExpression\"&&!this.isOptionalMemberExpression(i)&&this.raise(u.InvalidParenthesizedAssignment,t):this.raise(u.InvalidParenthesizedAssignment,t)),t.type){case\"Identifier\":case\"ObjectPattern\":case\"ArrayPattern\":case\"AssignmentPattern\":case\"RestElement\":break;case\"ObjectExpression\":t.type=\"ObjectPattern\";for(let n=0,o=t.properties.length,h=o-1;n<o;n++){var a;let l=t.properties[n],d=n===h;this.toAssignableObjectExpressionProp(l,d,e),d&&l.type===\"RestElement\"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(u.RestTrailingComma,t.extra.trailingCommaLoc)}break;case\"ObjectProperty\":{let{key:n,value:o}=t;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(o,e);break}case\"SpreadElement\":throw new Error(\"Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.\");case\"ArrayExpression\":t.type=\"ArrayPattern\",this.toAssignableList(t.elements,(r=t.extra)==null?void 0:r.trailingCommaLoc,e);break;case\"AssignmentExpression\":t.operator!==\"=\"&&this.raise(u.MissingEqInAssignment,t.left.loc.end),t.type=\"AssignmentPattern\",delete t.operator,this.toAssignable(t.left,e);break;case\"ParenthesizedExpression\":this.toAssignable(i,e);break}}toAssignableObjectExpressionProp(t,e,s){if(t.type===\"ObjectMethod\")this.raise(t.kind===\"get\"||t.kind===\"set\"?u.PatternHasAccessor:u.PatternHasMethod,t.key);else if(t.type===\"SpreadElement\"){t.type=\"RestElement\";let r=t.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,s),e||this.raise(u.RestTrailingComma,t)}else this.toAssignable(t,s)}toAssignableList(t,e,s){let r=t.length-1;for(let i=0;i<=r;i++){let a=t[i];if(a){if(a.type===\"SpreadElement\"){a.type=\"RestElement\";let n=a.argument;this.checkToRestConversion(n,!0),this.toAssignable(n,s)}else this.toAssignable(a,s);a.type===\"RestElement\"&&(i<r?this.raise(u.RestTrailingComma,a):e&&this.raise(u.RestTrailingComma,e))}}}isAssignable(t,e){switch(t.type){case\"Identifier\":case\"ObjectPattern\":case\"ArrayPattern\":case\"AssignmentPattern\":case\"RestElement\":return!0;case\"ObjectExpression\":{let s=t.properties.length-1;return t.properties.every((r,i)=>r.type!==\"ObjectMethod\"&&(i===s||r.type!==\"SpreadElement\")&&this.isAssignable(r))}case\"ObjectProperty\":return this.isAssignable(t.value);case\"SpreadElement\":return this.isAssignable(t.argument);case\"ArrayExpression\":return t.elements.every(s=>s===null||this.isAssignable(s));case\"AssignmentExpression\":return t.operator===\"=\";case\"ParenthesizedExpression\":return this.isAssignable(t.expression);case\"MemberExpression\":case\"OptionalMemberExpression\":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let s of t)(s==null?void 0:s.type)===\"ArrayExpression\"&&this.toReferencedListDeep(s.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,\"SpreadElement\")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,\"RestElement\")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,\"ArrayPattern\")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){let r=s&1,i=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(t))break;if(this.match(21)){let n=this.parseRestBinding();if((this.hasPlugin(\"flow\")||s&2)&&(n=this.parseFunctionParamType(n)),i.push(n),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let n=[];for(this.match(26)&&this.hasPlugin(\"decorators\")&&this.raise(u.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)n.push(this.parseDecorator());i.push(this.parseAssignableListItem(s,n))}}return i}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,\"RestElement\")}parseBindingProperty(){let{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let s=this.startNode();return t===139?(this.expectPlugin(\"destructuringPrivate\",e),this.classScope.usePrivateName(this.state.value,e),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,e,!1,!1,!0,!1)}parseAssignableListItem(t,e){let s=this.parseMaybeDefault();(this.hasPlugin(\"flow\")||t&2)&&this.parseFunctionParamType(s);let r=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),r}parseFunctionParamType(t){return t}parseMaybeDefault(t,e){var s;if(t!=null||(t=this.state.startLoc),e=(s=e)!=null?s:this.parseBindingAtom(),!this.eat(29))return e;let r=this.startNodeAt(t);return r.left=e,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,\"AssignmentPattern\")}isValidLVal(t,e,s){switch(t){case\"AssignmentPattern\":return\"left\";case\"RestElement\":return\"argument\";case\"ObjectProperty\":return\"value\";case\"ParenthesizedExpression\":return\"expression\";case\"ArrayPattern\":return\"elements\";case\"ObjectPattern\":return\"properties\"}return!1}isOptionalMemberExpression(t){return t.type===\"OptionalMemberExpression\"}checkLVal(t,e,s=64,r=!1,i=!1,a=!1){var n;let o=t.type;if(this.isObjectMethod(t))return;let h=this.isOptionalMemberExpression(t);if(h||o===\"MemberExpression\"){h&&(this.expectPlugin(\"optionalChainingAssign\",t.loc.start),e.type!==\"AssignmentExpression\"&&this.raise(u.InvalidLhsOptionalChaining,t,{ancestor:e})),s!==64&&this.raise(u.InvalidPropertyBindingPattern,t);return}if(o===\"Identifier\"){this.checkIdentifier(t,s,i);let{name:N}=t;r&&(r.has(N)?this.raise(u.ParamDupe,t):r.add(N));return}let l=this.isValidLVal(o,!(a||(n=t.extra)!=null&&n.parenthesized)&&e.type===\"AssignmentExpression\",s);if(l===!0)return;if(l===!1){let N=s===64?u.InvalidLhs:u.InvalidLhsBinding;this.raise(N,t,{ancestor:e});return}let d,y;typeof l==\"string\"?(d=l,y=o===\"ParenthesizedExpression\"):[d,y]=l;let A=o===\"ArrayPattern\"||o===\"ObjectPattern\"?{type:o}:e,T=t[d];if(Array.isArray(T))for(let N of T)N&&this.checkLVal(N,A,s,r,i,y);else T&&this.checkLVal(T,A,s,r,i,y)}checkIdentifier(t,e,s=!1){this.state.strict&&(s?ut(t.name,this.inModule):pt(t.name))&&(e===64?this.raise(u.StrictEvalArguments,t,{referenceName:t.name}):this.raise(u.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name===\"let\"&&this.raise(u.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case\"ParenthesizedExpression\":this.checkToRestConversion(t.expression,e);break;case\"Identifier\":case\"MemberExpression\":break;case\"ArrayExpression\":case\"ObjectExpression\":if(e)break;default:this.raise(u.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?u.RestTrailingComma:u.ElementAfterRest,this.state.startLoc),!0):!1}};function dr(t){if(t==null)throw new Error(`Unexpected ${t} value.`);return t}function bt(t){if(!t)throw new Error(\"Assert fail\")}var g=H`typescript`({AbstractMethodHasImplementation:({methodName:t})=>`Method '${t}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:t})=>`Property '${t}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:\"An 'accessor' property cannot be declared optional.\",AccessorCannotDeclareThisParameter:\"'get' and 'set' accessors cannot declare 'this' parameters.\",AccessorCannotHaveTypeParameters:\"An accessor cannot have type parameters.\",ClassMethodHasDeclare:\"Class methods cannot have the 'declare' modifier.\",ClassMethodHasReadonly:\"Class methods cannot have the 'readonly' modifier.\",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:\"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.\",ConstructorHasTypeParameters:\"Type parameters cannot appear on a constructor declaration.\",DeclareAccessor:({kind:t})=>`'declare' is not allowed in ${t}ters.`,DeclareClassFieldHasInitializer:\"Initializers are not allowed in ambient contexts.\",DeclareFunctionHasImplementation:\"An implementation cannot be declared in ambient contexts.\",DuplicateAccessibilityModifier:({modifier:t})=>\"Accessibility modifier already seen.\",DuplicateModifier:({modifier:t})=>`Duplicate modifier: '${t}'.`,EmptyHeritageClauseType:({token:t})=>`'${t}' list cannot be empty.`,EmptyTypeArguments:\"Type argument list cannot be empty.\",EmptyTypeParameters:\"Type parameter list cannot be empty.\",ExpectedAmbientAfterExportDeclare:\"'export declare' must be followed by an ambient declaration.\",ImportAliasHasImportType:\"An import alias can not use 'import type'.\",ImportReflectionHasImportType:\"An `import module` declaration can not use `type` modifier\",IncompatibleModifiers:({modifiers:t})=>`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`,IndexSignatureHasAbstract:\"Index signatures cannot have the 'abstract' modifier.\",IndexSignatureHasAccessibility:({modifier:t})=>`Index signatures cannot have an accessibility modifier ('${t}').`,IndexSignatureHasDeclare:\"Index signatures cannot have the 'declare' modifier.\",IndexSignatureHasOverride:\"'override' modifier cannot appear on an index signature.\",IndexSignatureHasStatic:\"Index signatures cannot have the 'static' modifier.\",InitializerNotAllowedInAmbientContext:\"Initializers are not allowed in ambient contexts.\",InvalidModifierOnTypeMember:({modifier:t})=>`'${t}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:t})=>`'${t}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:t})=>`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:t})=>`'${t[0]}' modifier must precede '${t[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:\"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.\",InvalidTupleMemberLabel:\"Tuple members must be labeled with a simple identifier.\",MissingInterfaceName:\"'interface' declarations must be followed by an identifier.\",NonAbstractClassHasAbstractMethod:\"Abstract methods can only appear within an abstract class.\",NonClassMethodPropertyHasAbstractModifer:\"'abstract' modifier can only appear on a class, method, or property declaration.\",OptionalTypeBeforeRequired:\"A required element cannot follow an optional element.\",OverrideNotInSubClass:\"This member cannot have an 'override' modifier because its containing class does not extend another class.\",PatternIsOptional:\"A binding pattern parameter cannot be optional in an implementation signature.\",PrivateElementHasAbstract:\"Private elements cannot have the 'abstract' modifier.\",PrivateElementHasAccessibility:({modifier:t})=>`Private elements cannot have an accessibility modifier ('${t}').`,ReadonlyForMethodSignature:\"'readonly' modifier can only appear on a property declaration or index signature.\",ReservedArrowTypeParam:\"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.\",ReservedTypeAssertion:\"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.\",SetAccessorCannotHaveOptionalParameter:\"A 'set' accessor cannot have an optional parameter.\",SetAccessorCannotHaveRestParameter:\"A 'set' accessor cannot have rest parameter.\",SetAccessorCannotHaveReturnType:\"A 'set' accessor cannot have a return type annotation.\",SingleTypeParameterWithoutTrailingComma:({typeParameterName:t})=>`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`,StaticBlockCannotHaveModifier:\"Static class blocks cannot have any modifier.\",TupleOptionalAfterType:\"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).\",TypeAnnotationAfterAssign:\"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.\",TypeImportCannotSpecifyDefaultAndNamed:\"A type-only import can specify a default import or named bindings, but not both.\",TypeModifierIsUsedInTypeExports:\"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.\",TypeModifierIsUsedInTypeImports:\"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.\",UnexpectedParameterModifier:\"A parameter property is only allowed in a constructor implementation.\",UnexpectedReadonly:\"'readonly' type modifier is only permitted on array and tuple literal types.\",UnexpectedTypeAnnotation:\"Did not expect a type annotation here.\",UnexpectedTypeCastInParameter:\"Unexpected type cast in parameter position.\",UnsupportedImportTypeArgument:\"Argument in a type import must be a string literal.\",UnsupportedParameterPropertyKind:\"A parameter property may not be declared using a binding pattern.\",UnsupportedSignatureParameterKind:({type:t})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`});function mr(t){switch(t){case\"any\":return\"TSAnyKeyword\";case\"boolean\":return\"TSBooleanKeyword\";case\"bigint\":return\"TSBigIntKeyword\";case\"never\":return\"TSNeverKeyword\";case\"number\":return\"TSNumberKeyword\";case\"object\":return\"TSObjectKeyword\";case\"string\":return\"TSStringKeyword\";case\"symbol\":return\"TSSymbolKeyword\";case\"undefined\":return\"TSUndefinedKeyword\";case\"unknown\":return\"TSUnknownKeyword\";default:return}}function Et(t){return t===\"private\"||t===\"public\"||t===\"protected\"}function fr(t){return t===\"in\"||t===\"out\"}var yr=t=>class extends t{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[\"in\",\"out\"],disallowedModifiers:[\"const\",\"public\",\"private\",\"protected\",\"readonly\",\"declare\",\"abstract\",\"override\"],errorTemplate:g.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:[\"const\"],disallowedModifiers:[\"in\",\"out\"],errorTemplate:g.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:[\"in\",\"out\",\"const\"],disallowedModifiers:[\"public\",\"private\",\"protected\",\"readonly\",\"declare\",\"abstract\",\"override\"],errorTemplate:g.InvalidModifierOnTypeParameter})}getScopeHandler(){return ur}tsIsIdentifier(){return D(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,s){if(!D(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let r=this.state.value;if(e.includes(r)){if(s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:r,errorTemplate:i=g.InvalidModifierOnTypeMember},a){let n=(h,l,d,y)=>{l===d&&a[y]&&this.raise(g.InvalidModifiersOrder,h,{orderedModifiers:[d,y]})},o=(h,l,d,y)=>{(a[d]&&l===y||a[y]&&l===d)&&this.raise(g.IncompatibleModifiers,h,{modifiers:[d,y]})};for(;;){let{startLoc:h}=this.state,l=this.tsParseModifier(e.concat(s??[]),r);if(!l)break;Et(l)?a.accessibility?this.raise(g.DuplicateAccessibilityModifier,h,{modifier:l}):(n(h,l,l,\"override\"),n(h,l,l,\"static\"),n(h,l,l,\"readonly\"),a.accessibility=l):fr(l)?(a[l]&&this.raise(g.DuplicateModifier,h,{modifier:l}),a[l]=!0,n(h,l,\"in\",\"out\")):(hasOwnProperty.call(a,l)?this.raise(g.DuplicateModifier,h,{modifier:l}):(n(h,l,\"static\",\"readonly\"),n(h,l,\"static\",\"override\"),n(h,l,\"override\",\"readonly\"),n(h,l,\"abstract\",\"override\"),o(h,l,\"declare\",\"override\"),o(h,l,\"static\",\"abstract\")),a[l]=!0),s!=null&&s.includes(l)&&this.raise(i,h,{modifier:l})}}tsIsListTerminator(e){switch(e){case\"EnumMembers\":case\"TypeMembers\":return this.match(8);case\"HeritageClauseElement\":return this.match(5);case\"TupleElementTypes\":return this.match(3);case\"TypeParametersOrArguments\":return this.match(48)}}tsParseList(e,s){let r=[];for(;!this.tsIsListTerminator(e);)r.push(s());return r}tsParseDelimitedList(e,s,r){return dr(this.tsParseDelimitedListWorker(e,s,!0,r))}tsParseDelimitedListWorker(e,s,r,i){let a=[],n=-1;for(;!this.tsIsListTerminator(e);){n=-1;let o=s();if(o==null)return;if(a.push(o),this.eat(12)){n=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return i&&(i.value=n),a}tsParseBracketedList(e,s,r,i,a){i||(r?this.expect(0):this.expect(47));let n=this.tsParseDelimitedList(e,s,a);return r?this.expect(3):this.expect(48),n}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(g.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)&&!this.match(11)?(e.options=super.parseMaybeAssignAllowIn(),this.eat(12)):e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,\"TSImportType\")}tsParseEntityName(e){let s;if(e&1&&this.match(78))if(e&2)s=this.parseIdentifier(!0);else{let r=this.startNode();this.next(),s=this.finishNode(r,\"ThisExpression\")}else s=this.parseIdentifier(!!(e&1));for(;this.eat(16);){let r=this.startNodeAtNode(s);r.left=s,r.right=this.parseIdentifier(!!(e&1)),s=this.finishNode(r,\"TSQualifiedName\")}return s}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,\"TSTypeReference\")}tsParseThisTypePredicate(e){this.next();let s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,\"TSTypePredicate\")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,\"TSThisType\")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,\"TSTypeQuery\")}tsParseTypeParameter(e){let s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,\"TSTypeParameter\")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let s=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let r={value:-1};return s.params=this.tsParseBracketedList(\"TypeParametersOrArguments\",this.tsParseTypeParameter.bind(this,e),!1,!0,r),s.params.length===0&&this.raise(g.EmptyTypeParameters,s),r.value!==-1&&this.addExtra(s,\"trailingComma\",r.value),this.finishNode(s,\"TSTypeParameterDeclaration\")}tsFillSignature(e,s){let r=e===19,i=\"parameters\",a=\"typeAnnotation\";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[i]=this.tsParseBindingListForSignature(),r?s[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let s of e){let{type:r}=s;(r===\"AssignmentPattern\"||r===\"TSParameterProperty\")&&this.raise(g.UnsupportedSignatureParameterKind,s,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),D(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,\"TSIndexSignature\")}tsParsePropertyOrMethodSignature(e,s){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){s&&this.raise(g.ReadonlyForMethodSignature,e);let i=r;i.kind&&this.match(47)&&this.raise(g.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon();let a=\"parameters\",n=\"typeAnnotation\";if(i.kind===\"get\")i[a].length>0&&(this.raise(u.BadGetterArity,this.state.curPosition()),this.isThisParam(i[a][0])&&this.raise(g.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(i.kind===\"set\"){if(i[a].length!==1)this.raise(u.BadSetterArity,this.state.curPosition());else{let o=i[a][0];this.isThisParam(o)&&this.raise(g.AccessorCannotDeclareThisParameter,this.state.curPosition()),o.type===\"Identifier\"&&o.optional&&this.raise(g.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),o.type===\"RestElement\"&&this.raise(g.SetAccessorCannotHaveRestParameter,this.state.curPosition())}i[n]&&this.raise(g.SetAccessorCannotHaveReturnType,i[n])}else i.kind=\"method\";return this.finishNode(i,\"TSMethodSignature\")}else{let i=r;s&&(i.readonly=!0);let a=this.tsTryParseTypeAnnotation();return a&&(i.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(i,\"TSPropertySignature\")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember(\"TSCallSignatureDeclaration\",e);if(this.match(77)){let r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember(\"TSConstructSignatureDeclaration\",e):(e.key=this.createIdentifier(r,\"new\"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:[\"readonly\"],disallowedModifiers:[\"declare\",\"abstract\",\"private\",\"protected\",\"public\",\"static\",\"override\"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&e.key.type===\"Identifier\"&&(e.key.name===\"get\"||e.key.name===\"set\")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,\"TSTypeLiteral\")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList(\"TypeMembers\",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);{let s=this.startNode();s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(s,\"TSTypeParameter\")}return e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,\"TSMappedType\")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList(\"TupleElementTypes\",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1;return e.elementTypes.forEach(r=>{let{type:i}=r;s&&i!==\"TSRestType\"&&i!==\"TSOptionalType\"&&!(i===\"TSNamedTupleMember\"&&r.optional)&&this.raise(g.OptionalTypeBeforeRequired,r),s||(s=i===\"TSNamedTupleMember\"&&r.optional||i===\"TSOptionalType\")}),this.finishNode(e,\"TSTupleType\")}tsParseTupleElementType(){let e=this.state.startLoc,s=this.eat(21),{startLoc:r}=this.state,i,a,n,o,h=U(this.state.type)?this.lookaheadCharCode():null;if(h===58)i=!0,n=!1,a=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(h===63){n=!0;let l=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,a=this.createIdentifier(this.startNodeAt(r),l),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=d,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),i=this.eat(14);if(i){let l;a?(l=this.startNodeAt(r),l.optional=n,l.label=a,l.elementType=o,this.eat(17)&&(l.optional=!0,this.raise(g.TupleOptionalAfterType,this.state.lastTokStartLoc))):(l=this.startNodeAt(r),l.optional=n,this.raise(g.InvalidTupleMemberLabel,o),l.label=o,l.elementType=this.tsParseType()),o=this.finishNode(l,\"TSNamedTupleMember\")}else if(n){let l=this.startNodeAt(r);l.typeAnnotation=o,o=this.finishNode(l,\"TSOptionalType\")}if(s){let l=this.startNodeAt(e);l.typeAnnotation=o,o=this.finishNode(l,\"TSRestType\")}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,\"TSParenthesizedType\")}tsParseFunctionOrConstructorType(e,s){let r=this.startNode();return e===\"TSConstructorType\"&&(r.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,\"TSLiteralType\")}tsParseTemplateLiteralType(){{let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,\"TSLiteralType\")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value===\"-\"){let e=this.startNode(),s=this.lookahead();return s.type!==135&&s.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,\"TSLiteralType\")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(D(e)||e===88||e===84){let s=e===88?\"TSVoidKeyword\":e===84?\"TSNullKeyword\":mr(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let r=this.startNode();return this.next(),this.finishNode(r,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:e}=this.state,s=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let r=this.startNodeAt(e);r.elementType=s,this.expect(3),s=this.finishNode(r,\"TSArrayType\")}else{let r=this.startNodeAt(e);r.objectType=s,r.indexType=this.tsParseType(),this.expect(3),s=this.finishNode(r,\"TSIndexedAccessType\")}return s}tsParseTypeOperator(){let e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s===\"readonly\"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,\"TSTypeOperator\")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case\"TSTupleType\":case\"TSArrayType\":return;default:this.raise(g.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,\"TSTypeParameter\"),this.finishNode(e,\"TSInferType\")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return gs(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,r){let i=this.startNode(),a=this.eat(r),n=[];do n.push(s());while(this.eat(r));return n.length===1&&!a?n[0]:(i.types=n,this.finishNode(i,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(\"TSIntersectionType\",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType(\"TSUnionType\",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(D(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let s=this.startNode();this.expect(e);let r=this.startNode(),i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){let o=this.tsParseThisTypeOrThisTypePredicate();return o.type===\"TSThisType\"?(r.parameterName=o,r.asserts=!0,r.typeAnnotation=null,o=this.finishNode(r,\"TSTypePredicate\")):(this.resetStartLocationFromNode(o,r),o.asserts=!0),s.typeAnnotation=o,this.finishNode(s,\"TSTypeAnnotation\")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return i?(r.parameterName=this.parseIdentifier(),r.asserts=i,r.typeAnnotation=null,s.typeAnnotation=this.finishNode(r,\"TSTypePredicate\"),this.finishNode(s,\"TSTypeAnnotation\")):this.tsParseTypeAnnotation(!1,s);let n=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=n,r.asserts=i,s.typeAnnotation=this.finishNode(r,\"TSTypePredicate\"),this.finishNode(s,\"TSTypeAnnotation\")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!D(this.state.type)&&!this.match(78)?!1:(e&&this.raise(u.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:\"asserts\"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,\"TSTypeAnnotation\")}tsParseType(){bt(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,\"TSConditionalType\")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType(\"TSFunctionType\"):this.match(77)?this.tsParseFunctionOrConstructorType(\"TSConstructorType\"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType(\"TSConstructorType\",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption(\"typescript\",\"disallowAmbiguousJSXLike\")&&this.raise(g.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,\"TSTypeAssertion\")}tsParseHeritageClause(e){let s=this.state.startLoc,r=this.tsParseDelimitedList(\"HeritageClauseElement\",()=>{let i=this.startNode();return i.expression=this.tsParseEntityName(3),this.match(47)&&(i.typeParameters=this.tsParseTypeArguments()),this.finishNode(i,\"TSExpressionWithTypeArguments\")});return r.length||this.raise(g.EmptyHeritageClauseType,s,{token:e}),r}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),s.declare&&(e.declare=!0),D(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(g.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause(\"extends\"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,\"TSInterfaceBody\"),this.finishNode(e,\"TSInterfaceDeclaration\")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let s=this.startNode();return this.next(),this.finishNode(s,\"TSIntrinsicKeyword\")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,\"TSTypeAliasDeclaration\")}tsInTopLevelContext(e){if(this.curContext()!==k.brace){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}else return e()}tsInType(e){let s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,\"TSEnumMember\")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList(\"EnumMembers\",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,\"TSEnumDeclaration\")}tsParseEnumBody(){let e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList(\"EnumMembers\",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,\"TSEnumBody\")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,\"TSModuleBlock\")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,1024),this.eat(16)){let r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,\"TSModuleDeclaration\")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind=\"global\",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind=\"module\",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,\"TSModuleDeclaration\")}tsParseImportEqualsDeclaration(e,s,r){e.isExport=r||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let i=this.tsParseModuleReference();return e.importKind===\"type\"&&i.type!==\"TSExternalModuleReference\"&&this.raise(g.ImportAliasHasImportType,i),e.moduleReference=i,this.semicolon(),this.finishNode(e,\"TSImportEqualsDeclaration\")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,\"TSExternalModuleReference\")}tsLookAhead(e){let s=this.state.clone(),r=e();return this.state=s,r}tsTryParseAndCatch(e){let s=this.tryParse(r=>e()||r());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){let s=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type,r;return this.isContextual(100)&&(s=74,r=\"let\"),this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual(\"enum\")?(e.declare=!0,this.parseVarStatement(e,r||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{let i=this.tsParseInterfaceDeclaration(e,{declare:!0});if(i)return i}default:if(D(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,r){switch(s.name){case\"declare\":{let i=this.tsTryParseDeclare(e);return i&&(i.declare=!0),i}case\"global\":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let i=e;return i.kind=\"global\",e.global=!0,i.id=s,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,\"TSModuleDeclaration\")}break;default:return this.tsParseDeclaration(e,s.name,!1,r)}}tsParseDeclaration(e,s,r,i){switch(s){case\"abstract\":if(this.tsCheckLineTerminator(r)&&(this.match(80)||D(this.state.type)))return this.tsParseAbstractDeclaration(e,i);break;case\"module\":if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(D(this.state.type))return e.kind=\"module\",this.tsParseModuleOrNamespaceDeclaration(e)}break;case\"namespace\":if(this.tsCheckLineTerminator(r)&&D(this.state.type))return e.kind=\"namespace\",this.tsParseModuleOrNamespaceDeclaration(e);break;case\"type\":if(this.tsCheckLineTerminator(r)&&D(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch(()=>{let i=this.startNodeAt(e);return i.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(i),i.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),i});if(this.state.maybeInArrowParameters=s,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList(\"TypeParametersOrArguments\",this.tsParseType.bind(this))))),e.params.length===0?this.raise(g.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===k.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,\"TSTypeParameterInstantiation\")}tsIsDeclarationStart(){return Ts(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,s){let r=this.state.startLoc,i={};this.tsParseModifiers({allowedModifiers:[\"public\",\"private\",\"protected\",\"override\",\"readonly\"]},i);let a=i.accessibility,n=i.override,o=i.readonly;!(e&4)&&(a||o||n)&&this.raise(g.UnexpectedParameterModifier,r);let h=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(h);let l=this.parseMaybeDefault(h.loc.start,h);if(a||o||n){let d=this.startNodeAt(r);return s.length&&(d.decorators=s),a&&(d.accessibility=a),o&&(d.readonly=o),n&&(d.override=n),l.type!==\"Identifier\"&&l.type!==\"AssignmentPattern\"&&this.raise(g.UnsupportedParameterPropertyKind,d),d.parameter=l,this.finishNode(d,\"TSParameterProperty\")}return s.length&&(h.decorators=s),l}isSimpleParameter(e){return e.type===\"TSParameterProperty\"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let s of e.params)s.type!==\"Identifier\"&&s.optional&&!this.state.isAmbientContext&&this.raise(g.PatternIsOptional,s)}setArrowFunctionParameters(e,s,r){super.setArrowFunctionParameters(e,s,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let i=s===\"FunctionDeclaration\"?\"TSDeclareFunction\":s===\"ClassMethod\"||s===\"ClassPrivateMethod\"?\"TSDeclareMethod\":void 0;return i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,i):i===\"TSDeclareFunction\"&&this.state.isAmbientContext&&(this.raise(g.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,i,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)===\"TSTypeCastExpression\"&&this.raise(g.UnexpectedTypeAnnotation,s.typeAnnotation)})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,r,i){let a=super.parseArrayLike(e,s,r,i);return a.type===\"ArrayExpression\"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(e,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(s);return n.expression=e,this.finishNode(n,\"TSNonNullExpression\")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let n,o=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){let y=this.tsTryParseGenericAsyncArrowFunction(s);if(y)return y}let h=this.tsParseTypeArgumentsInExpression();if(!h)return;if(a&&!this.match(10)){n=this.state.curPosition();return}if(xe(this.state.type)){let y=super.parseTaggedTemplateExpression(e,s,i);return y.typeParameters=h,y}if(!r&&this.eat(10)){let y=this.startNodeAt(s);return y.callee=e,y.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(y.arguments),y.typeParameters=h,i.optionalChainMember&&(y.optional=a),this.finishCallExpression(y,i.optionalChainMember)}let l=this.state.type;if(l===48||l===52||l!==10&&Le(l)&&!this.hasPrecedingLineBreak())return;let d=this.startNodeAt(s);return d.expression=e,d.typeParameters=h,this.finishNode(d,\"TSInstantiationExpression\")});if(n&&this.unexpected(n,10),o)return o.type===\"TSInstantiationExpression\"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(g.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),o}return super.parseSubscript(e,s,r,i)}parseNewCallee(e){var s;super.parseNewCallee(e);let{callee:r}=e;r.type===\"TSInstantiationExpression\"&&!((s=r.extra)!=null&&s.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,s,r){let i;if(ye(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(i=this.isContextual(120)))){let a=this.startNodeAt(s);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(i&&this.raise(u.UnexpectedKeyword,this.state.startLoc,{keyword:\"const\"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,i?\"TSSatisfiesExpression\":\"TSAsExpression\"),this.reScan_lt_gt(),this.parseExprOp(a,s,r)}return super.parseExprOp(e,s,r)}checkReservedWord(e,s,r,i){this.state.isAmbientContext||super.checkReservedWord(e,s,r,i)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!==\"value\"&&this.raise(g.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,r,i){super.applyImportPhase(e,s,r,i),s?e.exportKind=r===\"type\"?\"type\":\"value\":e.importKind=r===\"type\"||r===\"typeof\"?r:\"value\"}parseImport(e){if(this.match(134))return e.importKind=\"value\",super.parseImport(e);let s;if(D(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind=\"value\",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);s=super.parseImportSpecifiersAndAfter(e,r)}else s=super.parseImport(e);return s.importKind===\"type\"&&s.specifiers.length>1&&s.specifiers[0].type===\"ImportDefaultSpecifier\"&&this.raise(g.TypeImportCannotSpecifyDefaultAndNamed,s),s}parseExport(e,s){if(this.match(83)){let r=e;this.next();let i=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(r,!1):r.importKind=\"value\",this.tsParseImportEqualsDeclaration(r,i,!0)}else if(this.eat(29)){let r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,\"TSExportAssignment\")}else if(this.eatContextual(93)){let r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,\"TSNamespaceExportDeclaration\")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,r=!1){let{isAmbientContext:i}=this.state,a=super.parseVarStatement(e,s,r||i);if(!i)return a;for(let{id:n,init:o}of a.declarations)o&&(s!==\"const\"||n.typeAnnotation?this.raise(g.InitializerNotAllowedInAmbientContext,o):Pr(o,this.hasPlugin(\"estree\"))||this.raise(g.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,o));return a}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual(\"enum\")){let r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier([\"public\",\"protected\",\"private\"])}tsHasSomeModifiers(e,s){return s.some(r=>Et(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,s,r){let i=[\"declare\",\"private\",\"public\",\"protected\",\"override\",\"abstract\",\"readonly\",\"static\"];this.tsParseModifiers({allowedModifiers:i,disallowedModifiers:[\"in\",\"out\"],stopOnStartOfClassStaticBlock:!0,errorTemplate:g.InvalidModifierOnTypeParameterPositions},s);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,i)&&this.raise(g.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,r,!!s.static)};s.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,s,r,i){let a=this.tsTryParseIndexSignature(s);if(a){e.body.push(a),s.abstract&&this.raise(g.IndexSignatureHasAbstract,s),s.accessibility&&this.raise(g.IndexSignatureHasAccessibility,s,{modifier:s.accessibility}),s.declare&&this.raise(g.IndexSignatureHasDeclare,s),s.override&&this.raise(g.IndexSignatureHasOverride,s);return}!this.state.inAbstractClass&&s.abstract&&this.raise(g.NonAbstractClassHasAbstractMethod,s),s.override&&(r.hadSuperClass||this.raise(g.OverrideNotInSubClass,s)),super.parseClassMemberWithIsStatic(e,s,r,i)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(g.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(g.ClassMethodHasDeclare,e)}parseExpressionStatement(e,s,r){return(s.type===\"Identifier\"?this.tsParseExpressionStatement(e,s,r):void 0)||super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,s,r);let i=this.tryParse(()=>super.parseConditional(e,s));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(r,i.error),e)}parseParenItem(e,s){let r=super.parseParenItem(e,s);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=e,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,\"TSTypeCastExpression\")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let s=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(g.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let i=D(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?((i.type===\"TSInterfaceDeclaration\"||i.type===\"TSTypeAliasDeclaration\"||r)&&(e.exportKind=\"type\"),r&&i.type!==\"TSImportEqualsDeclaration\"&&(this.resetStartLocation(i,s),i.declare=!0),i):null}parseClassId(e,s,r,i){if((!s||r)&&this.isContextual(113))return;super.parseClassId(e,s,r,e.declare?1024:8331);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(g.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:s}=e;this.raise(g.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:s.type===\"Identifier\"&&!e.computed?s.name:`[${this.input.slice(this.offsetToSourcePos(s.start),this.offsetToSourcePos(s.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(g.PrivateElementHasAbstract,e),e.accessibility&&this.raise(g.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(g.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,r,i,a,n){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&a&&this.raise(g.ConstructorHasTypeParameters,o);let{declare:h=!1,kind:l}=s;h&&(l===\"get\"||l===\"set\")&&this.raise(g.DeclareAccessor,s,{kind:l}),o&&(s.typeParameters=o),super.pushClassMethod(e,s,r,i,a,n)}pushClassPrivateMethod(e,s,r,i){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(s.typeParameters=a),super.pushClassPrivateMethod(e,s,r,i)}declareClassPrivateMethodInScope(e,s){e.type!==\"TSDeclareMethod\"&&(e.type===\"MethodDefinition\"&&!hasOwnProperty.call(e.value,\"body\")||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause(\"implements\"))}parseObjPropValue(e,s,r,i,a,n,o){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);return h&&(e.typeParameters=h),super.parseObjPropValue(e,s,r,i,a,n,o)}parseFunctionParams(e,s){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type===\"Identifier\"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var r,i,a,n,o;let h,l,d;if(this.hasPlugin(\"jsx\")&&(this.match(143)||this.match(47))){if(h=this.state.clone(),l=this.tryParse(()=>super.parseMaybeAssign(e,s),h),!l.error)return l.node;let{context:T}=this.state,N=T[T.length-1];(N===k.j_oTag||N===k.j_expr)&&T.pop()}if(!((r=l)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!h||h===this.state)&&(h=this.state.clone());let y,A=this.tryParse(T=>{var N,L;y=this.tsParseTypeParameters(this.tsParseConstModifier);let F=super.parseMaybeAssign(e,s);return(F.type!==\"ArrowFunctionExpression\"||(N=F.extra)!=null&&N.parenthesized)&&T(),((L=y)==null?void 0:L.params.length)!==0&&this.resetStartLocationFromNode(F,y),F.typeParameters=y,F},h);if(!A.error&&!A.aborted)return y&&this.reportReservedArrowTypeParam(y),A.node;if(!l&&(bt(!this.hasPlugin(\"jsx\")),d=this.tryParse(()=>super.parseMaybeAssign(e,s),h),!d.error))return d.node;if((i=l)!=null&&i.node)return this.state=l.failState,l.node;if(A.node)return this.state=A.failState,y&&this.reportReservedArrowTypeParam(y),A.node;if((a=d)!=null&&a.node)return this.state=d.failState,d.node;throw((n=l)==null?void 0:n.error)||A.error||((o=d)==null?void 0:o.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption(\"typescript\",\"disallowAmbiguousJSXLike\")&&this.raise(g.ReservedArrowTypeParam,e)}parseMaybeUnary(e,s){return!this.hasPlugin(\"jsx\")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(r=>{let i=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),i});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);let s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case\"TSTypeCastExpression\":return this.isAssignable(e.expression,s);case\"TSParameterProperty\":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case\"ParenthesizedExpression\":this.toAssignableParenthesizedExpression(e,s);break;case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":case\"TSTypeAssertion\":s?this.expressionScope.recordArrowParameterBindingError(g.UnexpectedTypeCastInParameter,e):this.raise(g.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,s);break;case\"AssignmentExpression\":!s&&e.left.type===\"TSTypeCastExpression\"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":case\"TSTypeAssertion\":case\"ParenthesizedExpression\":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSTypeAssertion\":case\"TSNonNullExpression\":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,r){switch(e){case\"TSTypeCastExpression\":return!0;case\"TSParameterProperty\":return\"parameter\";case\"TSNonNullExpression\":case\"TSInstantiationExpression\":return\"expression\";case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSTypeAssertion\":return(r!==64||!s)&&[\"expression\",!0];default:return super.isValidLVal(e,s,r)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,s){if(this.match(47)||this.match(51)){let r=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(e,s);return i.typeParameters=r,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,s)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){let r=super.parseMaybeDefault(e,s);return r.type===\"AssignmentPattern\"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(g.TypeAnnotationAfterAssign,r.typeAnnotation),r}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,s,r){for(let i=0;i<e.length;i++){let a=e[i];(a==null?void 0:a.type)===\"TSTypeCastExpression\"&&(e[i]=this.typeCastToParameter(a))}super.toAssignableList(e,s,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(s=>this.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let s=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?s+1:s}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:s,strict:r}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=s,this.state.strict=r}}parseClass(e,s,r){let i=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,r)}finally{this.state.inAbstractClass=i}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(g.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,r,i,a,n,o){let h=super.parseMethod(e,s,r,i,a,n,o);if(h.abstract&&(this.hasPlugin(\"estree\")?h.value:h).body){let{key:l}=h;this.raise(g.AbstractMethodHasImplementation,h,{methodName:l.type===\"Identifier\"&&!h.computed?l.name:`[${this.input.slice(this.offsetToSourcePos(l.start),this.offsetToSourcePos(l.end))}]`})}return h}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption(\"typescript\",\"dts\")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,r,i){return!s&&i?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,\"ExportSpecifier\")):(e.exportKind=\"value\",super.parseExportSpecifier(e,s,r,i))}parseImportSpecifier(e,s,r,i,a){return!s&&i?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,\"ImportSpecifier\")):(e.importKind=\"value\",super.parseImportSpecifier(e,s,r,i,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,s,r){let i=s?\"imported\":\"local\",a=s?\"local\":\"exported\",n=e[i],o,h=!1,l=!0,d=n.loc.start;if(this.isContextual(93)){let A=this.parseIdentifier();if(this.isContextual(93)){let T=this.parseIdentifier();U(this.state.type)?(h=!0,n=A,o=s?this.parseIdentifier():this.parseModuleExportName(),l=!1):(o=T,l=!1)}else U(this.state.type)?(l=!1,o=s?this.parseIdentifier():this.parseModuleExportName()):(h=!0,n=A)}else U(this.state.type)&&(h=!0,s?(n=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(n.name,n.loc.start,!0,!0)):n=this.parseModuleExportName());h&&r&&this.raise(s?g.TypeModifierIsUsedInTypeImports:g.TypeModifierIsUsedInTypeExports,d),e[i]=n,e[a]=o;let y=s?\"importKind\":\"exportKind\";e[y]=h?\"type\":\"value\",l&&this.eatContextual(93)&&(e[a]=s?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=$(e[i])),s&&this.checkIdentifier(e[a],h?4098:4096)}};function xr(t){if(t.type!==\"MemberExpression\")return!1;let{computed:e,property:s}=t;return e&&s.type!==\"StringLiteral\"&&(s.type!==\"TemplateLiteral\"||s.expressions.length>0)?!1:St(t.object)}function Pr(t,e){var s;let{type:r}=t;if((s=t.extra)!=null&&s.parenthesized)return!1;if(e){if(r===\"Literal\"){let{value:i}=t;if(typeof i==\"string\"||typeof i==\"boolean\")return!0}}else if(r===\"StringLiteral\"||r===\"BooleanLiteral\")return!0;return!!(Ct(t,e)||Ar(t,e)||r===\"TemplateLiteral\"&&t.expressions.length===0||xr(t))}function Ct(t,e){return e?t.type===\"Literal\"&&(typeof t.value==\"number\"||\"bigint\"in t):t.type===\"NumericLiteral\"||t.type===\"BigIntLiteral\"}function Ar(t,e){if(t.type===\"UnaryExpression\"){let{operator:s,argument:r}=t;if(s===\"-\"&&Ct(r,e))return!0}return!1}function St(t){return t.type===\"Identifier\"?!0:t.type!==\"MemberExpression\"||t.computed?!1:St(t.object)}var wt=H`placeholders`({ClassNameIsRequired:\"A class name is required.\",UnexpectedSpace:\"Unexpected space in placeholder.\"}),gr=t=>class extends t{parsePlaceholder(e){if(this.match(133)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let r=e;return(!r.expectedNode||!r.type)&&(r=this.finishNode(r,\"Placeholder\")),r.expectedNode=s,r}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder(\"Expression\")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder(\"Identifier\")||super.parseIdentifier(e)}checkReservedWord(e,s,r,i){e!==void 0&&super.checkReservedWord(e,s,r,i)}parseBindingAtom(){return this.parsePlaceholder(\"Pattern\")||super.parseBindingAtom()}isValidLVal(e,s,r){return e===\"Placeholder\"||super.isValidLVal(e,s,r)}toAssignable(e,s){e&&e.type===\"Placeholder\"&&e.expectedNode===\"Expression\"?e.expectedNode=\"Pattern\":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){return!!(super.chStartsBindingIdentifier(e,s)||this.lookahead().type===133)}verifyBreakContinue(e,s){e.label&&e.label.type===\"Placeholder\"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){var r;if(s.type!==\"Placeholder\"||(r=s.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){let a=e;return a.label=this.finishPlaceholder(s,\"Identifier\"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,\"LabeledStatement\")}this.semicolon();let i=e;return i.name=s.name,this.finishPlaceholder(i,\"Statement\")}parseBlock(e,s,r){return this.parsePlaceholder(\"BlockStatement\")||super.parseBlock(e,s,r)}parseFunctionId(e){return this.parsePlaceholder(\"Identifier\")||super.parseFunctionId(e)}parseClass(e,s,r){let i=s?\"ClassDeclaration\":\"ClassExpression\";this.next();let a=this.state.strict,n=this.parsePlaceholder(\"Identifier\");if(n)if(this.match(81)||this.match(133)||this.match(5))e.id=n;else{if(r||!s)return e.id=null,e.body=this.finishPlaceholder(n,\"ClassBody\"),this.finishNode(e,i);throw this.raise(wt.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,s,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder(\"ClassBody\")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,i)}parseExport(e,s){let r=this.parsePlaceholder(\"Identifier\");if(!r)return super.parseExport(e,s);let i=e;if(!this.isContextual(98)&&!this.match(12))return i.specifiers=[],i.source=null,i.declaration=this.finishPlaceholder(r,\"Declaration\"),this.finishNode(i,\"ExportNamedDeclaration\");this.expectPlugin(\"exportDefaultFrom\");let a=this.startNode();return a.exported=r,i.specifiers=[this.finishNode(a,\"ExportDefaultSpecifier\")],super.parseExport(i,s)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,\"from\")&&this.input.startsWith(W(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){let{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(r=>r.exported.type===\"Placeholder\")),super.checkExport(e),e.specifiers=s}parseImport(e){let s=this.parsePlaceholder(\"Identifier\");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(s,\"StringLiteral\"),this.semicolon(),this.finishNode(e,\"ImportDeclaration\");let r=this.startNodeAtNode(s);return r.local=s,e.specifiers.push(this.finishNode(r,\"ImportDefaultSpecifier\")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,\"ImportDeclaration\")}parseImportSource(){return this.parsePlaceholder(\"StringLiteral\")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(wt.UnexpectedSpace,this.state.lastTokEndLoc)}},Tr=t=>class extends t{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,s=this.startNode();if(this.next(),D(this.state.type)){let r=this.parseIdentifierName(),i=this.createIdentifier(s,r);if(i.type=\"V8IntrinsicIdentifier\",this.match(10))return i}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},It=[\"minimal\",\"fsharp\",\"hack\",\"smart\"],Nt=[\"^^\",\"@@\",\"^\",\"%\",\"#\"];function br(t){if(t.has(\"decorators\")){if(t.has(\"decorators-legacy\"))throw new Error(\"Cannot use the decorators and decorators-legacy plugin together\");let s=t.get(\"decorators\").decoratorsBeforeExport;if(s!=null&&typeof s!=\"boolean\")throw new Error(\"'decoratorsBeforeExport' must be a boolean, if specified.\");let r=t.get(\"decorators\").allowCallParenthesized;if(r!=null&&typeof r!=\"boolean\")throw new Error(\"'allowCallParenthesized' must be a boolean.\")}if(t.has(\"flow\")&&t.has(\"typescript\"))throw new Error(\"Cannot combine flow and typescript plugins.\");if(t.has(\"placeholders\")&&t.has(\"v8intrinsic\"))throw new Error(\"Cannot combine placeholders and v8intrinsic plugins.\");if(t.has(\"pipelineOperator\")){var e;let s=t.get(\"pipelineOperator\").proposal;if(!It.includes(s)){let i=It.map(a=>`\"${a}\"`).join(\", \");throw new Error(`\"pipelineOperator\" requires \"proposal\" option whose value must be one of: ${i}.`)}let r=((e=t.get(\"recordAndTuple\"))==null?void 0:e.syntaxType)===\"hash\";if(s===\"hack\"){if(t.has(\"placeholders\"))throw new Error(\"Cannot combine placeholders plugin and Hack-style pipes.\");if(t.has(\"v8intrinsic\"))throw new Error(\"Cannot combine v8intrinsic plugin and Hack-style pipes.\");let i=t.get(\"pipelineOperator\").topicToken;if(!Nt.includes(i)){let a=Nt.map(n=>`\"${n}\"`).join(\", \");throw new Error(`\"pipelineOperator\" in \"proposal\": \"hack\" mode also requires a \"topicToken\" option whose value must be one of: ${a}.`)}if(i===\"#\"&&r)throw new Error(`Plugin conflict between \\`[\"pipelineOperator\", { proposal: \"hack\", topicToken: \"#\" }]\\` and \\`${JSON.stringify([\"recordAndTuple\",t.get(\"recordAndTuple\")])}\\`.`)}else if(s===\"smart\"&&r)throw new Error(`Plugin conflict between \\`[\"pipelineOperator\", { proposal: \"smart\" }]\\` and \\`${JSON.stringify([\"recordAndTuple\",t.get(\"recordAndTuple\")])}\\`.`)}if(t.has(\"moduleAttributes\")){if(t.has(\"deprecatedImportAssert\")||t.has(\"importAssertions\"))throw new Error(\"Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.\");if(t.get(\"moduleAttributes\").version!==\"may-2020\")throw new Error(\"The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.\")}if(t.has(\"importAssertions\")&&t.has(\"deprecatedImportAssert\"))throw new Error(\"Cannot combine importAssertions and deprecatedImportAssert plugins.\");if(!t.has(\"deprecatedImportAssert\")&&t.has(\"importAttributes\")&&t.get(\"importAttributes\").deprecatedAssertSyntax&&t.set(\"deprecatedImportAssert\",{}),t.has(\"recordAndTuple\")){let s=t.get(\"recordAndTuple\").syntaxType;if(s!=null){let r=[\"hash\",\"bar\"];if(!r.includes(s))throw new Error(\"The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: \"+r.map(i=>`'${i}'`).join(\", \"))}}if(t.has(\"asyncDoExpressions\")&&!t.has(\"doExpressions\")){let s=new Error(\"'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.\");throw s.missingPlugins=\"doExpressions\",s}if(t.has(\"optionalChainingAssign\")&&t.get(\"optionalChainingAssign\").version!==\"2023-07\")throw new Error(\"The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.\")}var vt={estree:ps,jsx:hr,flow:lr,typescript:yr,v8intrinsic:Tr,placeholders:gr},Er=Object.keys(vt),Cr=class extends cr{checkProto(t,e,s,r){if(t.type===\"SpreadElement\"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let i=t.key;if((i.type===\"Identifier\"?i.name:i.value)===\"__proto__\"){if(e){this.raise(u.RecordNoProto,i);return}s.used&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=i.loc.start):this.raise(u.DuplicateProto,i)),s.used=!0}}shouldExitDescending(t,e){return t.type===\"ArrowFunctionExpression\"&&this.offsetToSourcePos(t.start)===e}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.optionFlags&128&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){let r=this.startNodeAt(e);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,\"SequenceExpression\")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=(s=e==null?void 0:e.loc)!=null?s:this.state.startLoc}parseMaybeAssign(t,e){let s=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let n=this.parseYield();return e&&(n=e.call(this,n,s)),n}let r;t?r=!1:(t=new be,r=!0);let{type:i}=this.state;(i===10||D(i))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(e&&(a=e.call(this,a,s)),fs(this.state.type)){let n=this.startNodeAt(s),o=this.state.value;if(n.operator=o,this.match(29)){this.toAssignable(a,!0),n.left=a;let h=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=h&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=h&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=h&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else n.left=a;return this.next(),n.right=this.parseMaybeAssign(),this.checkLVal(a,this.finishNode(n,\"AssignmentExpression\")),n}else r&&this.checkExpressionErrors(t,!0);return a}parseMaybeConditional(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,e,t)}parseConditional(t,e,s){if(this.eat(17)){let r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,\"ConditionalExpression\")}return t}parseMaybeUnaryOrPrivate(t){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){let i=this.getPrivateNameSV(t);(s>=ye(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(u.PrivateInExpectedIn,t,{identifierName:i}),this.classScope.usePrivateName(i,t.loc.start)}let r=this.state.type;if(xs(r)&&(this.prodParam.hasIn||!this.match(58))){let i=ye(r);if(i>s){if(r===39){if(this.expectPlugin(\"pipelineOperator\"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;let n=r===41||r===42,o=r===40;if(o&&(i=ye(42)),this.next(),r===39&&this.hasPlugin([\"pipelineOperator\",{proposal:\"minimal\"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(u.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,i);let h=this.finishNode(a,n||o?\"LogicalExpression\":\"BinaryExpression\"),l=this.state.type;if(o&&(l===41||l===42)||n&&l===40)throw this.raise(u.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(h,e,s)}}return t}parseExprOpRightExpr(t,e){let s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption(\"pipelineOperator\",\"proposal\")){case\"hack\":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case\"fsharp\":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}if(this.getPluginOption(\"pipelineOperator\",\"proposal\")===\"smart\")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(u.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,bs(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,s=this.parseMaybeAssign();return rs.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(u.PipeUnparenthesizedBody,e,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(u.PipeTopicUnused,e),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(u.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){let s=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();let o=this.parseAwait(s);return e||this.checkExponentialAfterUnary(o),o}let i=this.match(34),a=this.startNode();if(As(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin(\"throwExpressions\");let o=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&o){let h=a.argument;h.type===\"Identifier\"?this.raise(u.StrictDelete,a):this.hasPropertyAsPrivateName(h)&&this.raise(u.DeletePrivateField,a)}if(!i)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,\"UnaryExpression\")}let n=this.parseUpdate(a,i,t);if(r){let{type:o}=this.state;if((this.hasPlugin(\"v8intrinsic\")?Le(o):Le(o)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(u.AwaitNotInAsyncContext,s),this.parseAwait(s)}return n}parseUpdate(t,e,s){if(e){let a=t;return this.checkLVal(a.argument,this.finishNode(a,\"UpdateExpression\")),t}let r=this.state.startLoc,i=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return i;for(;Ps(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(a,\"UpdateExpression\"))}return i}parseExprSubscripts(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,s){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,s,r){let{type:i}=this.state;if(!s&&i===15)return this.parseBind(t,e,s,r);if(xe(i))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(i===18){if(s&&(this.raise(u.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return r.stop=!0,t;r.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(t,e,r,n,a):(r.stop=!0,t)}}parseMember(t,e,s,r,i){let a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(t.type===\"Super\"&&this.raise(u.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=i,this.finishNode(a,\"OptionalMemberExpression\")):this.finishNode(a,\"MemberExpression\")}parseBind(t,e,s,r){let i=this.startNodeAt(e);return i.object=t,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,\"BindExpression\"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,r){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let n=this.startNodeAt(e);n.callee=t;let{maybeAsyncArrow:o,optionalChainMember:h}=s;o&&(this.expressionScope.enter(Ys()),a=new be),h&&(n.optional=r),r?n.arguments=this.parseCallExpressionArguments(11):n.arguments=this.parseCallExpressionArguments(11,t.type!==\"Super\",n,a);let l=this.finishCallExpression(n,h);return o&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),l)):(o&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){let r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(u.OptionalChainingNoTemplate,e),this.finishNode(r,\"TaggedTemplateExpression\")}atPossibleAsyncArrow(t){return t.type===\"Identifier\"&&t.name===\"async\"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.offsetToSourcePos(t.start)===this.state.potentialArrowAt}finishCallExpression(t,e){if(t.callee.type===\"Import\")if(t.arguments.length===0||t.arguments.length>2)this.raise(u.ImportCallArity,t);else for(let s of t.arguments)s.type===\"SpreadElement\"&&this.raise(u.ImportCallSpreadArgument,s);return this.finishNode(t,e?\"OptionalCallExpression\":\"CallExpression\")}parseCallExpressionArguments(t,e,s,r){let i=[],a=!0,n=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}i.push(this.parseExprListItem(!1,r,e))}return this.state.inFSharpPipelineDirectBody=n,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&pe(t,e.innerComments),e.callee.trailingComments&&pe(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.optionFlags&256?this.parseImportCall(e):this.finishNode(e,\"Import\"):(this.raise(u.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,\"Import\"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,\"ThisExpression\");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let i=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(i)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let i=e.callee=this.parseNoCallExpr();if(i.type===\"MemberExpression\")return this.finishNode(e,\"BindExpression\");throw this.raise(u.UnsupportedBind,i)}case 139:return this.raise(u.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,\"%\");case 32:return this.parseTopicReferenceThenEqualsSign(44,\"^\");case 37:case 38:return this.parseTopicReference(\"hack\");case 44:case 54:case 27:{let i=this.getPluginOption(\"pipelineOperator\",\"proposal\");if(i)return this.parseTopicReference(i);this.unexpected();break}case 47:{let i=this.input.codePointAt(this.nextTokenStart());q(i)||i===62?this.expectOnePlugin([\"jsx\",\"flow\",\"typescript\"]):this.unexpected();break}default:if(r===137)return this.parseDecimalLiteral(this.state.value);if(D(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let i=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,n=this.parseIdentifier();if(!a&&n.name===\"async\"&&!this.canInsertSemicolon()){let{type:o}=this.state;if(o===68)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(D(o))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(o===90)return this.resetPreviousNodeTrailingComments(n),this.parseDo(this.startNodeAtNode(n),!0)}return i&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(n),[n],!1)):n}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let s=this.getPluginOption(\"pipelineOperator\",\"proposal\");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=f(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){let e=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,s,t,r)}finishTopicReference(t,e,s,r){if(this.testTopicReferenceConfiguration(s,e,r))return s===\"hack\"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(u.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,\"TopicReference\")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(u.PrimaryTopicNotAllowed,e),this.registerTopicReference(),this.finishNode(t,\"PipelinePrimaryTopicReference\"));throw this.raise(u.PipeTopicUnconfiguredToken,e,{token:W(r)})}testTopicReferenceConfiguration(t,e,s){switch(t){case\"hack\":return this.hasPlugin([\"pipelineOperator\",{topicToken:W(s)}]);case\"smart\":return s===27;default:throw this.raise(u.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Te(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(u.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin(\"doExpressions\"),e&&this.expectPlugin(\"asyncDoExpressions\"),t.async=e,this.next();let s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,\"DoExpression\")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(u.SuperNotAllowed,t):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(u.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(u.UnsupportedSuper,t),this.finishNode(t,\"Super\")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(f(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,\"PrivateName\")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),\"function\");return this.next(),this.match(103)?this.expectPlugin(\"functionSent\"):this.hasPlugin(\"functionSent\")||this.unexpected(),this.parseMetaProperty(t,e,\"sent\")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;let r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||r)&&this.raise(u.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:s}),this.finishNode(t,\"MetaProperty\")}parseImportMetaProperty(t){let e=this.createIdentifier(this.startNodeAtNode(t),\"import\");if(this.next(),this.isContextual(101))this.inModule||this.raise(u.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let s=this.isContextual(105);if(this.expectPlugin(s?\"sourcePhaseImports\":\"deferredImportEvaluation\"),!(this.optionFlags&256))throw this.raise(u.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=s?\"source\":\"defer\",this.parseImportCall(t)}return this.parseMetaProperty(t,e,\"meta\")}parseLiteralAtNode(t,e,s){return this.addExtra(s,\"rawValue\",t),this.addExtra(s,\"raw\",this.input.slice(this.offsetToSourcePos(s.start),this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){let s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,\"StringLiteral\")}parseNumericLiteral(t){return this.parseLiteral(t,\"NumericLiteral\")}parseBigIntLiteral(t){return this.parseLiteral(t,\"BigIntLiteral\")}parseDecimalLiteral(t){return this.parseLiteral(t,\"DecimalLiteral\")}parseRegExpLiteral(t){let e=this.startNode();return this.addExtra(e,\"raw\",this.input.slice(this.offsetToSourcePos(e.start),this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,\"RegExpLiteral\")}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,\"BooleanLiteral\")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,\"NullLiteral\")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,s;this.next(),this.expressionScope.enter(Gs());let r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,n=[],o=new be,h=!0,l,d;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,o.optionalParametersLoc===null?null:o.optionalParametersLoc),this.match(11)){d=this.state.startLoc;break}if(this.match(21)){let T=this.state.startLoc;if(l=this.state.startLoc,n.push(this.parseParenItem(this.parseRestBinding(),T)),!this.checkCommaAfterRest(41))break}else n.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}let y=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let A=this.startNodeAt(e);return t&&this.shouldParseArrow(n)&&(A=this.parseArrow(A))?(this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(A,n,!1),A):(this.expressionScope.exit(),n.length||this.unexpected(this.state.lastTokStartLoc),d&&this.unexpected(d),l&&this.unexpected(l),this.checkExpressionErrors(o,!0),this.toReferencedListDeep(n,!0),n.length>1?(s=this.startNodeAt(a),s.expressions=n,this.finishNode(s,\"SequenceExpression\"),this.resetEndLocation(s,y)):s=n[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!(this.optionFlags&512))return this.addExtra(e,\"parenthesized\",!0),this.addExtra(e,\"parenStart\",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,\"ParenthesizedExpression\")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),\"new\");this.next();let s=this.parseMetaProperty(t,e,\"target\");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4)&&this.raise(u.UnexpectedNewTarget,s),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,\"NewExpression\")}parseNewCallee(t){let e=this.match(83),s=this.parseNoCallExpr();t.callee=s,e&&(s.type===\"Import\"||s.type===\"ImportExpression\")&&this.raise(u.ImportCallNotNewExpression,s)}parseTemplateElement(t){let{start:e,startLoc:s,end:r,value:i}=this.state,a=e+1,n=this.startNodeAt(f(s,1));i===null&&(t||this.raise(u.InvalidEscapeSequenceTemplate,f(this.state.firstInvalidTemplateEscapePos,1)));let o=this.match(24),h=o?-1:-2,l=r+h;n.value={raw:this.input.slice(a,l).replace(/\\r\\n?/g,`\n`),cooked:i===null?null:i.slice(1,h)},n.tail=o,this.next();let d=this.finishNode(n,\"TemplateElement\");return this.resetEndLocation(d,f(this.state.lastTokEndLoc,h)),d}parseTemplate(t){let e=this.startNode(),s=this.parseTemplateElement(t),r=[s],i=[];for(;!s.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(s=this.parseTemplateElement(t));return e.expressions=i,e.quasis=r,this.finishNode(e,\"TemplateLiteral\")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,r){s&&this.expectPlugin(\"recordAndTuple\");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=Object.create(null),n=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(t);){if(n)n=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(o);break}let l;e?l=this.parseBindingProperty():(l=this.parsePropertyDefinition(r),this.checkProto(l,s,a,r)),s&&!this.isObjectProperty(l)&&l.type!==\"SpreadElement\"&&this.raise(u.InvalidRecordProperty,l),l.shorthand&&this.addExtra(l,\"shorthand\",!0),o.properties.push(l)}this.next(),this.state.inFSharpPipelineDirectBody=i;let h=\"ObjectExpression\";return e?h=\"ObjectPattern\":s&&(h=\"RecordExpression\"),this.finishNode(o,h)}addTrailingCommaExtraToNode(t){this.addExtra(t,\"trailingComma\",this.state.lastTokStartLoc.index),this.addExtra(t,\"trailingCommaLoc\",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type===\"Identifier\"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin(\"decorators\")&&this.raise(u.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());let s=this.startNode(),r=!1,i=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(a=this.state.startLoc);let n=this.eat(55);this.parsePropertyNamePrefixOperator(s);let o=this.state.containsEsc;if(this.parsePropertyName(s,t),!n&&!o&&this.maybeAsyncOrAccessorProp(s)){let{key:h}=s,l=h.name;l===\"async\"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(h),n=this.eat(55),this.parsePropertyName(s)),(l===\"get\"||l===\"set\")&&(i=!0,this.resetPreviousNodeTrailingComments(h),s.kind=l,this.match(55)&&(n=!0,this.raise(u.AccessorIsGenerator,this.state.curPosition(),{kind:l}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,a,n,r,!1,i,t)}getGetterSetterExpectedParamCount(t){return t.kind===\"get\"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let s=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==s&&this.raise(t.kind===\"get\"?u.BadGetterArity:u.BadSetterArity,t),t.kind===\"set\"&&((e=r[r.length-1])==null?void 0:e.type)===\"RestElement\"&&this.raise(u.BadSetterRestParameter,t)}parseObjectMethod(t,e,s,r,i){if(i){let a=this.parseMethod(t,e,!1,!1,!1,\"ObjectMethod\");return this.checkGetterSetterParams(a),a}if(s||e||this.match(10))return r&&this.unexpected(),t.kind=\"method\",t.method=!0,this.parseMethod(t,e,s,!1,!1,\"ObjectMethod\")}parseObjectProperty(t,e,s,r){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(t,\"ObjectProperty\");if(!t.computed&&t.key.type===\"Identifier\"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,$(t.key));else if(this.match(29)){let i=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=i):this.raise(u.InvalidCoverInitializedName,i),t.value=this.parseMaybeDefault(e,$(t.key))}else t.value=$(t.key);return t.shorthand=!0,this.finishNode(t,\"ObjectProperty\")}}parseObjPropValue(t,e,s,r,i,a,n){let o=this.parseObjectMethod(t,s,r,i,a)||this.parseObjectProperty(t,e,i,n);return o||this.unexpected(),o}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:r}=this.state,i;if(U(s))i=this.parseIdentifier(!0);else switch(s){case 135:i=this.parseNumericLiteral(r);break;case 134:i=this.parseStringLiteral(r);break;case 136:i=this.parseBigIntLiteral(r);break;case 139:{let a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(u.UnexpectedPrivateField,a),i=this.parsePrivateName();break}default:if(s===137){i=this.parseDecimalLiteral(r);break}this.unexpected()}t.key=i,s!==139&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,r,i,a,n=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(18|(n?64:0)|(i?32:0)),this.prodParam.enter(Te(s,t.generator)),this.parseFunctionParams(t,r);let o=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),o}parseArrayLike(t,e,s,r){s&&this.expectPlugin(\"recordAndTuple\");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!s,r,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,s?\"TupleExpression\":\"ArrayExpression\")}parseArrowExpression(t,e,s,r){this.scope.enter(6);let i=Te(s,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(t,s);let a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,\"ArrowFunctionExpression\")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){let r=e&&!this.match(5);if(this.expressionScope.enter(At()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let i=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,n=>{let o=!this.isSimpleParamList(t.params);n&&o&&this.raise(u.IllegalLanguageModeDirective,(t.kind===\"method\"||t.kind===\"constructor\")&&t.key?t.key.loc.end:t);let h=!i&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!o,e,h),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,h)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type===\"Identifier\"}isSimpleParamList(t){for(let e=0,s=t.length;e<s;e++)if(!this.isSimpleParameter(t[e]))return!1;return!0}checkParams(t,e,s,r=!0){let i=!e&&new Set,a={type:\"FormalParameters\"};for(let n of t.params)this.checkLVal(n,a,5,i,r)}parseExprList(t,e,s,r){let i=[],a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(e,s))}return i}parseExprListItem(t,e,s){let r;if(this.match(12))t||this.raise(u.UnexpectedToken,this.state.curPosition(),{unexpected:\",\"}),r=null;else if(this.match(21)){let i=this.state.startLoc;r=this.parseParenItem(this.parseSpread(e),i)}else if(this.match(17)){this.expectPlugin(\"partialApplication\"),s||this.raise(u.UnexpectedArgumentPlaceholder,this.state.startLoc);let i=this.startNode();this.next(),r=this.finishNode(i,\"ArgumentPlaceholder\")}else r=this.parseMaybeAssignAllowIn(e,this.parseParenItem);return r}parseIdentifier(t){let e=this.startNode(),s=this.parseIdentifierName(t);return this.createIdentifier(e,s)}createIdentifier(t,e){return t.name=e,t.loc.identifierName=e,this.finishNode(t,\"Identifier\")}parseIdentifierName(t){let e,{startLoc:s,type:r}=this.state;U(r)?e=this.state.value:this.unexpected();let i=ds(r);return t?i&&this.replaceToken(132):this.checkReservedWord(e,s,i,!1),this.next(),e}checkReservedWord(t,e,s,r){if(!(t.length>10||!Fs(t))){if(s&&vs(t)){this.raise(u.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?ut:ht:lt)(t,this.inModule)){this.raise(u.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t===\"yield\"){if(this.prodParam.hasYield){this.raise(u.YieldBindingIdentifier,e);return}}else if(t===\"await\"){if(this.prodParam.hasAwait){this.raise(u.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(u.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t===\"arguments\"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(u.ArgumentsInClass,e);return}}}recordAwaitIfAllowed(){let t=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(u.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(u.ObsoleteAwaitStar,e),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,\"AwaitExpression\")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||xe(t)||t===102&&!this.state.containsEsc||t===138||t===56||this.hasPlugin(\"v8intrinsic\")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(u.YieldInParameter,t),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,\"YieldExpression\")}parseImportCall(t){if(this.next(),t.source=this.parseMaybeAssignAllowIn(),t.options=null,this.eat(12)&&!this.match(11)&&(t.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(u.ImportCallArity,t)}return this.expect(11),this.finishNode(t,\"ImportExpression\")}checkPipelineAtInfixOperator(t,e){this.hasPlugin([\"pipelineOperator\",{proposal:\"smart\"}])&&t.type===\"SequenceExpression\"&&this.raise(u.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,\"PipelineBareFunction\")}else{let s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,\"PipelineTopicExpression\")}}isSimpleReference(t){switch(t.type){case\"MemberExpression\":return!t.computed&&this.isSimpleReference(t.object);case\"Identifier\":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(u.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(u.PipelineTopicUnused,t)}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin([\"pipelineOperator\",{proposal:\"smart\"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin(\"moduleBlocks\");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,\"module\")}finally{s()}return this.finishNode(t,\"ModuleExpression\")}parsePropertyNamePrefixOperator(t){}},qe={kind:1},Sr={kind:2},wr=/[\\uD800-\\uDFFF]/u,$e=/in(?:stanceof)?/y;function Ir(t,e,s){for(let r=0;r<t.length;r++){let i=t[r],{type:a}=i;if(typeof a==\"number\"){{if(a===139){let{loc:n,start:o,value:h,end:l}=i,d=o+1,y=f(n.start,1);t.splice(r,1,new X({type:V(27),value:\"#\",start:o,end:d,startLoc:n.start,endLoc:y}),new X({type:V(132),value:h,start:d,end:l,startLoc:y,endLoc:n.end})),r++;continue}if(xe(a)){let{loc:n,start:o,value:h,end:l}=i,d=o+1,y=f(n.start,1),A;e.charCodeAt(o-s)===96?A=new X({type:V(22),value:\"`\",start:o,end:d,startLoc:n.start,endLoc:y}):A=new X({type:V(8),value:\"}\",start:o,end:d,startLoc:n.start,endLoc:y});let T,N,L,F;a===24?(N=l-1,L=f(n.end,-1),T=h===null?null:h.slice(1,-1),F=new X({type:V(22),value:\"`\",start:N,end:l,startLoc:L,endLoc:n.end})):(N=l-2,L=f(n.end,-2),T=h===null?null:h.slice(1,-2),F=new X({type:V(23),value:\"${\",start:N,end:l,startLoc:L,endLoc:n.end})),t.splice(r,1,A,new X({type:V(20),value:T,start:d,end:N,startLoc:y,endLoc:L}),F),r+=2;continue}}i.type=V(a)}}return t}var Nr=class extends Cr{parseTopLevel(t,e){return t.program=this.parseProgram(e),t.comments=this.comments,this.optionFlags&128&&(t.tokens=Ir(this.tokens,this.input,this.startIndex)),this.finishNode(t,\"File\")}parseProgram(t,e=140,s=this.options.sourceType){if(t.sourceType=s,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,e),this.inModule){if(!(this.optionFlags&32)&&this.scope.undefinedExports.size>0)for(let[i,a]of Array.from(this.scope.undefinedExports))this.raise(u.ModuleExportUndefined,a,{localName:i});this.addExtra(t,\"topLevelAwait\",this.state.hasTopLevelAwait)}let r;return e===140?r=this.finishNode(t,\"Program\"):r=this.finishNodeAt(t,\"Program\",f(this.state.startLoc,-1)),r}stmtToDirective(t){let e=t;e.type=\"Directive\",e.value=e.expression,delete e.expression;let s=e.value,r=s.value,i=this.input.slice(this.offsetToSourcePos(s.start),this.offsetToSourcePos(s.end)),a=s.value=i.slice(1,-1);return this.addExtra(s,\"raw\",i),this.addExtra(s,\"rawValue\",a),this.addExtra(s,\"expressionValue\",r),s.type=\"DirectiveLiteral\",e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,\"InterpreterDirective\")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,e){if(q(t)){if($e.lastIndex=e,$e.test(this.input)){let s=this.codePointAtPos($e.lastIndex);if(!te(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){let{type:t,containsEsc:e}=this.lookahead();if(t===102&&!e)return!1;if(D(t)&&!this.hasFollowingLineBreak())return this.expectPlugin(\"explicitResourceManagement\"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,\"using\")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin(\"explicitResourceManagement\"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let s=this.state.type,r=this.startNode(),i=!!(t&2),a=!!(t&4),n=t&1;switch(s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?u.StrictFunction:this.options.annexB?u.SloppyFunctionAnnexB:u.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?i||this.raise(u.UnexpectedLexicalDeclaration,r):this.raise(u.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,\"await using\");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin(\"explicitResourceManagement\"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(u.UnexpectedUsingDeclaration,this.state.startLoc):i||this.raise(u.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,\"using\");case 100:{if(this.state.containsEsc)break;let l=this.nextTokenStart(),d=this.codePointAtPos(l);if(d!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(d,l)&&d!==123))break}case 75:i||this.raise(u.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let l=this.state.value;return this.parseVarStatement(r,l)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let l=this.lookaheadCharCode();if(l===40||l===46)break}case 82:{!(this.optionFlags&8)&&!n&&this.raise(u.UnexpectedImportExport,this.state.startLoc),this.next();let l;return s===83?(l=this.parseImport(r),l.type===\"ImportDeclaration\"&&(!l.importKind||l.importKind===\"value\")&&(this.sawUnambiguousESM=!0)):(l=this.parseExport(r,e),(l.type===\"ExportNamedDeclaration\"&&(!l.exportKind||l.exportKind===\"value\")||l.type===\"ExportAllDeclaration\"&&(!l.exportKind||l.exportKind===\"value\")||l.type===\"ExportDefaultDeclaration\")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(l),l}default:if(this.isAsyncFunction())return i||this.raise(u.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let o=this.state.value,h=this.parseExpression();return D(s)&&h.type===\"Identifier\"&&this.eat(14)?this.parseLabeledStatement(r,o,h,t):this.parseExpressionStatement(r,h,e)}assertModuleNodeAllowed(t){!(this.optionFlags&8)&&!this.inModule&&this.raise(u.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin(\"decorators-legacy\")?!0:this.hasPlugin(\"decorators\")&&this.getPluginOption(\"decorators\",\"decoratorsBeforeExport\")!==!1}maybeTakeDecorators(t,e,s){if(t){var r;(r=e.decorators)!=null&&r.length?(typeof this.getPluginOption(\"decorators\",\"decoratorsBeforeExport\")!=\"boolean\"&&this.raise(u.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)}return e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(u.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(u.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin([\"decorators\",\"decorators-legacy\"]);let t=this.startNode();if(this.next(),this.hasPlugin(\"decorators\")){let e=this.state.startLoc,s;if(this.match(10)){let r=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(r,s);let i=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s,r),this.getPluginOption(\"decorators\",\"allowCallParenthesized\")===!1&&t.expression!==s&&this.raise(u.DecoratorArgumentsOutsideParentheses,i)}else{for(s=this.parseIdentifier(!1);this.eat(16);){let r=this.startNodeAt(e);r.object=s,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,s=this.finishNode(r,\"MemberExpression\")}t.expression=this.parseMaybeDecoratorArguments(s,e)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,\"Decorator\")}parseMaybeDecoratorArguments(t,e){if(this.eat(10)){let s=this.startNodeAt(e);return s.callee=t,s.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(s.arguments),this.finishNode(s,\"CallExpression\")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?\"BreakStatement\":\"ContinueStatement\")}verifyBreakContinue(t,e){let s;for(s=0;s<this.state.labels.length;++s){let r=this.state.labels[s];if((t.label==null||r.name===t.label.name)&&(r.kind!=null&&(e||r.kind===1)||t.label&&e))break}if(s===this.state.labels.length){let r=e?\"BreakStatement\":\"ContinueStatement\";this.raise(u.IllegalBreakContinue,t,{type:r})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,\"DebuggerStatement\")}parseHeaderExpression(){this.expect(10);let t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(qe),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,\"DoWhileStatement\")}parseForStatement(t){this.next(),this.state.labels.push(qe);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let s=this.isContextual(100);{let o=this.isContextual(96)&&this.startsAwaitUsing(),h=o||this.isContextual(107)&&this.startsUsingForOf(),l=s&&this.hasFollowingBindingAtom()||h;if(this.match(74)||this.match(75)||l){let d=this.startNode(),y;o?(y=\"await using\",this.recordAwaitIfAllowed()||this.raise(u.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):y=this.state.value,this.next(),this.parseVar(d,!0,y);let A=this.finishNode(d,\"VariableDeclaration\"),T=this.match(58);return T&&h&&this.raise(u.ForInUsing,A),(T||this.isContextual(102))&&A.declarations.length===1?this.parseForIn(t,A,e):(e!==null&&this.unexpected(e),this.parseFor(t,A))}}let r=this.isContextual(95),i=new be,a=this.parseExpression(!0,i),n=this.isContextual(102);if(n&&(s&&this.raise(u.ForOfLet,a),e===null&&r&&a.type===\"Identifier\"&&this.raise(u.ForOfAsync,a)),n||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(a,!0);let o=n?\"ForOfStatement\":\"ForInStatement\";return this.checkLVal(a,{type:o}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(i,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,\"IfStatement\")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!(this.optionFlags&2)&&this.raise(u.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,\"ReturnStatement\")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(Sr),this.scope.enter(0);let s;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){let i=this.match(61);s&&this.finishNode(s,\"SwitchCase\"),e.push(s=this.startNode()),s.consequent=[],this.next(),i?s.test=this.parseExpression():(r&&this.raise(u.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,\"SwitchCase\"),this.next(),this.state.labels.pop(),this.finishNode(t,\"SwitchStatement\")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(u.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,\"ThrowStatement\")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type===\"Identifier\"?8:0),this.checkLVal(t,{type:\"CatchClause\"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,\"CatchClause\")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(u.NoCatchOrFinally,t),this.finishNode(t,\"TryStatement\")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,\"VariableDeclaration\")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(qe),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,\"WhileStatement\")}parseWithStatement(t){return this.state.strict&&this.raise(u.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,\"WithStatement\")}parseEmptyStatement(t){return this.next(),this.finishNode(t,\"EmptyStatement\")}parseLabeledStatement(t,e,s,r){for(let a of this.state.labels)a.name===e&&this.raise(u.LabelRedeclaration,s,{labelName:e});let i=ys(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){let n=this.state.labels[a];if(n.statementStart===t.start)n.statementStart=this.sourceToOffsetPos(this.state.start),n.kind=i;else break}return this.state.labels.push({name:e,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,\"LabeledStatement\")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,\"ExpressionStatement\")}parseBlock(t=!1,e=!0,s){let r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,s),e&&this.scope.exit(),this.finishNode(r,\"BlockStatement\")}isValidDirective(t){return t.type===\"ExpressionStatement\"&&t.expression.type===\"StringLiteral\"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,r,i){let a=t.body=[],n=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?n:void 0,s,r,i)}parseBlockOrModuleBlockBody(t,e,s,r,i){let a=this.state.strict,n=!1,o=!1;for(;!this.match(r);){let h=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!o){if(this.isValidDirective(h)){let l=this.stmtToDirective(h);e.push(l),!n&&l.value.value===\"use strict\"&&(n=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}t.push(h)}i==null||i.call(this,n),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,\"ForStatement\")}parseForIn(t,e,s){let r=this.match(58);return this.next(),r?s!==null&&this.unexpected(s):t.await=s!==null,e.type===\"VariableDeclaration\"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!==\"var\"||e.declarations[0].id.type!==\"Identifier\")&&this.raise(u.ForInOfLoopInitializer,e,{type:r?\"ForInStatement\":\"ForOfStatement\"}),e.type===\"AssignmentPattern\"&&this.raise(u.InvalidLhs,e,{ancestor:{type:\"ForStatement\"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?\"ForInStatement\":\"ForOfStatement\")}parseVar(t,e,s,r=!1){let i=t.declarations=[];for(t.kind=s;;){let a=this.startNode();if(this.parseVarId(a,s),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!==\"Identifier\"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(u.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:\"destructuring\"}):(s===\"const\"||s===\"using\"||s===\"await using\")&&!(this.match(58)||this.isContextual(102))&&this.raise(u.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s})),i.push(this.finishNode(a,\"VariableDeclarator\")),!this.eat(12))break}return t}parseVarId(t,e){let s=this.parseBindingAtom();(e===\"using\"||e===\"await using\")&&(s.type===\"ArrayPattern\"||s.type===\"ObjectPattern\")&&this.raise(u.UsingDeclarationHasBindingPattern,s.loc.start),this.checkLVal(s,{type:\"VariableDeclarator\"},e===\"var\"?5:8201),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let s=e&2,r=!!(e&1),i=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(s&&this.raise(u.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(i));let n=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Te(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?\"FunctionDeclaration\":\"FunctionExpression\")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=n,t}parseFunctionId(t){return t||D(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(Xs()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,s){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?\"ClassDeclaration\":\"ClassExpression\")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type===\"Identifier\"&&t.name===\"constructor\"||t.type===\"StringLiteral\"&&t.value===\"constructor\"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:t},r=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(u.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}let a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(i,a,s),a.kind===\"constructor\"&&a.decorators&&a.decorators.length>0&&this.raise(u.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(u.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,\"ClassBody\")}parseClassMemberFromModifier(t,e){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let r=e;return r.kind=\"method\",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=e;return r.computed=!1,r.key=s,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){let r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,r)}parseClassMemberWithIsStatic(t,e,s,r){let i=e,a=e,n=e,o=e,h=e,l=i,d=i;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){l.kind=\"method\";let F=this.match(139);if(this.parseClassElementName(l),F){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(u.ConstructorIsGenerator,i.key),this.pushClassMethod(t,i,!0,!1,!1,!1);return}let y=!this.state.containsEsc&&D(this.state.type),A=this.parseClassElementName(e),T=y?A.name:null,N=this.isPrivateName(A),L=this.state.startLoc;if(this.parsePostMemberNameModifiers(d),this.isClassMethod()){if(l.kind=\"method\",N){this.pushClassPrivateMethod(t,a,!1,!1);return}let F=this.isNonstaticConstructor(i),B=!1;F&&(i.kind=\"constructor\",s.hadConstructor&&!this.hasPlugin(\"typescript\")&&this.raise(u.DuplicateConstructor,A),F&&this.hasPlugin(\"typescript\")&&e.override&&this.raise(u.OverrideOnConstructor,A),s.hadConstructor=!0,B=s.hadSuperClass),this.pushClassMethod(t,i,!1,!1,F,B)}else if(this.isClassProperty())N?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n);else if(T===\"async\"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let F=this.eat(55);d.optional&&this.unexpected(L),l.kind=\"method\";let B=this.match(139);this.parseClassElementName(l),this.parsePostMemberNameModifiers(d),B?this.pushClassPrivateMethod(t,a,F,!0):(this.isNonstaticConstructor(i)&&this.raise(u.ConstructorIsAsync,i.key),this.pushClassMethod(t,i,F,!0,!1,!1))}else if((T===\"get\"||T===\"set\")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),l.kind=T;let F=this.match(139);this.parseClassElementName(i),F?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(u.ConstructorIsAccessor,i.key),this.pushClassMethod(t,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(T===\"accessor\"&&!this.isLineTerminator()){this.expectPlugin(\"decoratorAutoAccessors\"),this.resetPreviousNodeTrailingComments(A);let F=this.match(139);this.parseClassElementName(n),this.pushClassAccessorProperty(t,h,F)}else this.isLineTerminator()?N?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n):this.unexpected()}parseClassElementName(t){let{type:e,value:s}=this.state;if((e===132||e===134)&&t.static&&s===\"prototype\"&&this.raise(u.StaticPrototype,this.state.startLoc),e===139){s===\"constructor\"&&this.raise(u.ConstructorClassPrivateField,this.state.startLoc);let r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var s;this.scope.enter(208);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=e.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,\"StaticBlock\")),(s=e.decorators)!=null&&s.length&&this.raise(u.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(u.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){!s&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(u.ConstructorClassField,e.key);let r=this.parseClassAccessorProperty(e);t.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,s,r,i,a){t.body.push(this.parseMethod(e,s,r,i,a,\"ClassMethod\",!0))}pushClassPrivateMethod(t,e,s,r){let i=this.parseMethod(e,s,r,!1,!1,\"ClassPrivateMethod\",!0);t.body.push(i);let a=i.kind===\"get\"?i.static?6:2:i.kind===\"set\"?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,\"ClassPrivateProperty\")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,\"ClassProperty\")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,\"ClassAccessorProperty\")}parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(At()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,r=8331){if(D(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(s||!e)t.id=null;else throw this.raise(u.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let s=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,s),i=!r||this.eat(12),a=i&&this.eatExportStar(t),n=a&&this.maybeParseExportNamespaceSpecifier(t),o=i&&(!n||this.eat(12)),h=r||a;if(a&&!n){if(r&&this.unexpected(),e)throw this.raise(u.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.finishNode(t,\"ExportAllDeclaration\")}let l=this.maybeParseExportNamedSpecifiers(t);r&&i&&!a&&!l&&this.unexpected(null,5),n&&o&&this.unexpected(null,98);let d;if(h||l){if(d=!1,e)throw this.raise(u.UnsupportedDecoratorExport,t);this.parseExportFrom(t,h)}else d=this.maybeParseExportDeclaration(t);if(h||l||d){var y;let A=t;if(this.checkExport(A,!0,!1,!!A.source),((y=A.declaration)==null?void 0:y.type)===\"ClassDeclaration\")this.maybeTakeDecorators(e,A.declaration,A);else if(e)throw this.raise(u.UnsupportedDecoratorExport,t);return this.finishNode(A,\"ExportNamedDeclaration\")}if(this.eat(65)){let A=t,T=this.parseExportDefaultExpression();if(A.declaration=T,T.type===\"ClassDeclaration\")this.maybeTakeDecorators(e,T,A);else if(e)throw this.raise(u.UnsupportedDecoratorExport,t);return this.checkExport(A,!0,!0),this.finishNode(A,\"ExportDefaultDeclaration\")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin(\"exportDefaultFrom\",e==null?void 0:e.loc.start);let s=e||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,t.specifiers=[this.finishNode(r,\"ExportDefaultSpecifier\")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e;(e=t).specifiers!=null||(e.specifiers=[]);let s=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),s.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(s,\"ExportNamespaceSpecifier\")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let e=t;e.specifiers||(e.specifiers=[]);let s=e.exportKind===\"type\";return e.specifiers.push(...this.parseExportSpecifiers(s)),e.source=null,e.declaration=null,this.hasPlugin(\"importAssertions\")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin(\"importAssertions\")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,\"function\")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin(\"decorators\")&&this.getPluginOption(\"decorators\",\"decoratorsBeforeExport\")===!0&&this.raise(u.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(u.UnsupportedDefaultExport,this.state.startLoc);let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(D(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let{type:r}=this.lookahead();if(D(r)&&r!==98||r===5)return this.expectOnePlugin([\"flow\",\"typescript\"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),s=this.isUnparsedContextual(e,\"from\");if(this.input.charCodeAt(e)===44||D(this.state.type)&&s)return!0;if(this.match(65)&&s){let r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin([\"decorators\",\"decorators-legacy\"]),this.hasPlugin(\"decorators\"))?(this.getPluginOption(\"decorators\",\"decoratorsBeforeExport\")===!0&&this.raise(u.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(u.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(u.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,r){if(e){var i;if(s){if(this.checkDuplicateExports(t,\"default\"),this.hasPlugin(\"exportDefaultFrom\")){var a;let n=t.declaration;n.type===\"Identifier\"&&n.name===\"from\"&&n.end-n.start===4&&!((a=n.extra)!=null&&a.parenthesized)&&this.raise(u.ExportDefaultFromAsIdentifier,n)}}else if((i=t.specifiers)!=null&&i.length)for(let n of t.specifiers){let{exported:o}=n,h=o.type===\"Identifier\"?o.name:o.value;if(this.checkDuplicateExports(n,h),!r&&n.local){let{local:l}=n;l.type!==\"Identifier\"?this.raise(u.ExportBindingIsString,n,{localName:l.value,exportName:h}):(this.checkReservedWord(l.name,l.loc.start,!0,!1),this.scope.checkLocalExport(l))}}else if(t.declaration){let n=t.declaration;if(n.type===\"FunctionDeclaration\"||n.type===\"ClassDeclaration\"){let{id:o}=n;if(!o)throw new Error(\"Assertion failure\");this.checkDuplicateExports(t,o.name)}else if(n.type===\"VariableDeclaration\")for(let o of n.declarations)this.checkDeclaration(o.id)}}}checkDeclaration(t){if(t.type===\"Identifier\")this.checkDuplicateExports(t,t.name);else if(t.type===\"ObjectPattern\")for(let e of t.properties)this.checkDeclaration(e);else if(t.type===\"ArrayPattern\")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type===\"ObjectProperty\"?this.checkDeclaration(t.value):t.type===\"RestElement\"?this.checkDeclaration(t.argument):t.type===\"AssignmentPattern\"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e===\"default\"?this.raise(u.DuplicateDefaultExport,t):this.raise(u.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(130),i=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,i,t,r))}return e}parseExportSpecifier(t,e,s,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=tr(t.local):t.exported||(t.exported=$(t.local)),this.finishNode(t,\"ExportSpecifier\")}parseModuleExportName(){if(this.match(134)){let t=this.parseStringLiteral(this.state.value),e=wr.exec(t.value);return e&&this.raise(u.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value===\"json\"&&(e.type===\"Identifier\"?e.name===\"type\":e.value===\"type\")):!1}checkImportReflection(t){let{specifiers:e}=t,s=e.length===1?e[0].type:null;if(t.phase===\"source\")s!==\"ImportDefaultSpecifier\"&&this.raise(u.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase===\"defer\")s!==\"ImportNamespaceSpecifier\"&&this.raise(u.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;s!==\"ImportDefaultSpecifier\"&&this.raise(u.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(u.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!==\"ExportAllDeclaration\"){let{specifiers:e}=t;if(e!=null){let s=e.find(r=>{let i;if(r.type===\"ExportSpecifier\"?i=r.local:r.type===\"ImportSpecifier\"&&(i=r.imported),i!==void 0)return i.type===\"Identifier\"?i.name!==\"default\":i.value!==\"default\"});s!==void 0&&this.raise(u.ImportJSONBindingNotDefault,s.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,s,r){e||(s===\"module\"?(this.expectPlugin(\"importReflection\",r),t.module=!0):this.hasPlugin(\"importReflection\")&&(t.module=!1),s===\"source\"?(this.expectPlugin(\"sourcePhaseImports\",r),t.phase=\"source\"):s===\"defer\"?(this.expectPlugin(\"deferredImportEvaluation\",r),t.phase=\"defer\"):this.hasPlugin(\"sourcePhaseImports\")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let s=this.parseIdentifier(!0),{type:r}=this.state;return(U(r)?r!==98||this.lookaheadCharCode()===102:r!==12)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){let{type:e}=this.state;return D(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(134)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let s=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),r=s&&this.maybeParseStarImportSpecifier(t);return s&&!r&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){return t.specifiers!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,\"ImportDeclaration\")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{type:e},s),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let s=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(u.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(134)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(u.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,\"ImportAttribute\"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!==\"type\"&&this.raise(u.ModuleAttributeDifferentFromType,s.key),e.has(s.key.name)&&this.raise(u.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(134))throw this.raise(u.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,\"ImportAttribute\"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e;var s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin(\"moduleAttributes\")?e=this.parseModuleAttributes():e=this.parseImportAttributes(),s=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin(\"deprecatedImportAssert\")&&!this.hasPlugin(\"importAssertions\")&&this.raise(u.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin(\"importAssertions\")||this.addExtra(t,\"deprecatedAssertSyntax\",!0),this.next(),e=this.parseImportAttributes()):e=[];!s&&this.hasPlugin(\"importAssertions\")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,\"ImportDefaultSpecifier\")),!0}else if(U(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),\"ImportDefaultSpecifier\"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,\"ImportNamespaceSpecifier\"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(u.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let s=this.startNode(),r=this.match(134),i=this.isContextual(130);s.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(s,r,t.importKind===\"type\"||t.importKind===\"typeof\",i,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,s,r,i){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(e)throw this.raise(u.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=$(a))}return this.finishImportSpecifier(t,\"ImportSpecifier\",i)}isThisParam(t){return t.type===\"Identifier\"&&t.name===\"this\"}},kt=class extends Nr{constructor(t,e,s){t=ls(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=s,this.filename=t.sourceFilename,this.startIndex=t.startIndex;let r=0;t.allowAwaitOutsideFunction&&(r|=1),t.allowReturnOutsideFunction&&(r|=2),t.allowImportExportEverywhere&&(r|=8),t.allowSuperOutsideMethod&&(r|=16),t.allowUndeclaredExports&&(r|=32),t.allowNewTargetOutsideFunction&&(r|=4),t.ranges&&(r|=64),t.tokens&&(r|=128),t.createImportExpressions&&(r|=256),t.createParenthesizedExpressions&&(r|=512),t.errorRecovery&&(r|=1024),t.attachComment&&(r|=2048),t.annexB&&(r|=4096),this.optionFlags=r}getScopeHandler(){return Ue}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}};function vr(t,e){var s;if(((s=e)==null?void 0:s.sourceType)===\"unambiguous\"){e=Object.assign({},e);try{e.sourceType=\"module\";let r=ce(e,t),i=r.parse();if(r.sawUnambiguousESM)return i;if(r.ambiguousScriptDifferentAst)try{return e.sourceType=\"script\",ce(e,t).parse()}catch{}else i.program.sourceType=\"script\";return i}catch(r){try{return e.sourceType=\"script\",ce(e,t).parse()}catch{}throw r}}else return ce(e,t).parse()}function kr(t,e){let s=ce(e,t);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function Dr(t){let e={};for(let s of Object.keys(t))e[s]=V(t[s]);return e}var Fr=Dr(cs);function ce(t,e){let s=kt,r=new Map;if(t!=null&&t.plugins){for(let i of t.plugins){let a,n;typeof i==\"string\"?a=i:[a,n]=i,r.has(a)||r.set(a,n||{})}br(r),s=Lr(r)}return new s(t,e,r)}var Dt=new Map;function Lr(t){let e=[];for(let i of Er)t.has(i)&&e.push(i);let s=e.join(\"|\"),r=Dt.get(s);if(!r){r=kt;for(let i of e)r=vt[i](r);Dt.set(s,r)}return r}p.parse=vr,p.parseExpression=kr,p.tokTypes=Fr}),Kt={};_r(Kt,{parsers:()=>Ji});var Ft=Vt(qt());function Jt(p){return(c,m,x)=>{let f=!!(x!=null&&x.backwards);if(m===!1)return!1;let{length:C}=c,S=m;for(;S>=0&&S<C;){let M=c.charAt(S);if(p instanceof RegExp){if(!p.test(M))return S}else if(!p.includes(M))return S;f?S--:S++}return S===-1||S===C?S:!1}}var zr=Jt(\" \t\"),Vr=Jt(/[^\\n\\r]/u);function qr(p,c){if(c===!1)return!1;if(p.charAt(c)===\"/\"&&p.charAt(c+1)===\"*\"){for(let m=c+2;m<p.length;++m)if(p.charAt(m)===\"*\"&&p.charAt(m+1)===\"/\")return m+2}return c}var $r=qr;function Kr(p,c,m){let x=!!(m!=null&&m.backwards);if(c===!1)return!1;let f=p.charAt(c);if(x){if(p.charAt(c-1)===\"\\r\"&&f===`\n`)return c-2;if(f===`\n`||f===\"\\r\"||f===\"\\u2028\"||f===\"\\u2029\")return c-1}else{if(f===\"\\r\"&&p.charAt(c+1)===`\n`)return c+2;if(f===`\n`||f===\"\\r\"||f===\"\\u2028\"||f===\"\\u2029\")return c+1}return c}var Jr=Kr;function Wr(p,c){return c===!1?!1:p.charAt(c)===\"/\"&&p.charAt(c+1)===\"/\"?Vr(p,c):c}var Xr=Wr;function Gr(p,c){let m=null,x=c;for(;x!==m;)m=x,x=zr(p,x),x=$r(p,x),x=Xr(p,x),x=Jr(p,x);return x}var Yr=Gr;function Qr(p){let c=[];for(let m of p)try{return m()}catch(x){c.push(x)}throw Object.assign(new Error(\"All combinations failed\"),{errors:c})}var Zr=Qr;function ei(p){if(!p.startsWith(\"#!\"))return\"\";let c=p.indexOf(`\n`);return c===-1?p:p.slice(0,c)}var Wt=ei,ti=(p,c,m)=>{if(!(p&&c==null))return Array.isArray(c)||typeof c==\"string\"?c[m<0?c.length+m:m]:c.at(m)},Lt=ti;function si(p){return Array.isArray(p)&&p.length>0}var et=si;function _(p){var c,m,x;let f=((c=p.range)==null?void 0:c[0])??p.start,C=(x=((m=p.declaration)==null?void 0:m.decorators)??p.decorators)==null?void 0:x[0];return C?Math.min(_(C),f):f}function ee(p){var c;return((c=p.range)==null?void 0:c[1])??p.end}function ri(p){let c=new Set(p);return m=>c.has(m==null?void 0:m.type)}var ii=ri,ai=ii([\"Block\",\"CommentBlock\",\"MultiLine\"]),Ge=ai;function ni(p){let c=`*${p.value}*`.split(`\n`);return c.length>1&&c.every(m=>m.trimStart()[0]===\"*\")}var Bt=ni;function oi(p){return Ge(p)&&p.value[0]===\"*\"&&/@(?:type|satisfies)\\b/u.test(p.value)}var li=oi,de=null;function fe(p){if(de!==null&&typeof de.property){let c=de;return de=fe.prototype=null,c}return de=fe.prototype=p??Object.create(null),new fe}var hi=10;for(let p=0;p<=hi;p++)fe();function pi(p){return fe(p)}function ui(p,c=\"type\"){pi(p);function m(x){let f=x[c],C=p[f];if(!Array.isArray(C))throw Object.assign(new Error(`Missing visitor keys for '${f}'.`),{node:x});return C}return m}var ci=ui,di={ArrayExpression:[\"elements\"],AssignmentExpression:[\"left\",\"right\"],BinaryExpression:[\"left\",\"right\"],InterpreterDirective:[],Directive:[\"value\"],DirectiveLiteral:[],BlockStatement:[\"directives\",\"body\"],BreakStatement:[\"label\"],CallExpression:[\"callee\",\"arguments\",\"typeParameters\",\"typeArguments\"],CatchClause:[\"param\",\"body\"],ConditionalExpression:[\"test\",\"consequent\",\"alternate\"],ContinueStatement:[\"label\"],DebuggerStatement:[],DoWhileStatement:[\"body\",\"test\"],EmptyStatement:[],ExpressionStatement:[\"expression\"],File:[\"program\"],ForInStatement:[\"left\",\"right\",\"body\"],ForStatement:[\"init\",\"test\",\"update\",\"body\"],FunctionDeclaration:[\"id\",\"typeParameters\",\"params\",\"predicate\",\"returnType\",\"body\"],FunctionExpression:[\"id\",\"typeParameters\",\"params\",\"returnType\",\"body\"],Identifier:[\"typeAnnotation\",\"decorators\"],IfStatement:[\"test\",\"consequent\",\"alternate\"],LabeledStatement:[\"label\",\"body\"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:[\"left\",\"right\"],MemberExpression:[\"object\",\"property\"],NewExpression:[\"callee\",\"arguments\",\"typeParameters\",\"typeArguments\"],Program:[\"directives\",\"body\"],ObjectExpression:[\"properties\"],ObjectMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\",\"body\"],ObjectProperty:[\"key\",\"value\",\"decorators\"],RestElement:[\"argument\",\"typeAnnotation\",\"decorators\"],ReturnStatement:[\"argument\"],SequenceExpression:[\"expressions\"],ParenthesizedExpression:[\"expression\"],SwitchCase:[\"test\",\"consequent\"],SwitchStatement:[\"discriminant\",\"cases\"],ThisExpression:[],ThrowStatement:[\"argument\"],TryStatement:[\"block\",\"handler\",\"finalizer\"],UnaryExpression:[\"argument\"],UpdateExpression:[\"argument\"],VariableDeclaration:[\"declarations\"],VariableDeclarator:[\"id\",\"init\"],WhileStatement:[\"test\",\"body\"],WithStatement:[\"object\",\"body\"],AssignmentPattern:[\"left\",\"right\",\"decorators\",\"typeAnnotation\"],ArrayPattern:[\"elements\",\"typeAnnotation\",\"decorators\"],ArrowFunctionExpression:[\"typeParameters\",\"params\",\"predicate\",\"returnType\",\"body\"],ClassBody:[\"body\"],ClassExpression:[\"decorators\",\"id\",\"typeParameters\",\"superClass\",\"superTypeParameters\",\"mixins\",\"implements\",\"body\",\"superTypeArguments\"],ClassDeclaration:[\"decorators\",\"id\",\"typeParameters\",\"superClass\",\"superTypeParameters\",\"mixins\",\"implements\",\"body\",\"superTypeArguments\"],ExportAllDeclaration:[\"source\",\"attributes\",\"exported\"],ExportDefaultDeclaration:[\"declaration\"],ExportNamedDeclaration:[\"declaration\",\"specifiers\",\"source\",\"attributes\"],ExportSpecifier:[\"local\",\"exported\"],ForOfStatement:[\"left\",\"right\",\"body\"],ImportDeclaration:[\"specifiers\",\"source\",\"attributes\"],ImportDefaultSpecifier:[\"local\"],ImportNamespaceSpecifier:[\"local\"],ImportSpecifier:[\"imported\",\"local\"],ImportExpression:[\"source\",\"options\"],MetaProperty:[\"meta\",\"property\"],ClassMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\",\"body\"],ObjectPattern:[\"properties\",\"typeAnnotation\",\"decorators\"],SpreadElement:[\"argument\"],Super:[],TaggedTemplateExpression:[\"tag\",\"typeParameters\",\"quasi\",\"typeArguments\"],TemplateElement:[],TemplateLiteral:[\"quasis\",\"expressions\"],YieldExpression:[\"argument\"],AwaitExpression:[\"argument\"],BigIntLiteral:[],ExportNamespaceSpecifier:[\"exported\"],OptionalMemberExpression:[\"object\",\"property\"],OptionalCallExpression:[\"callee\",\"arguments\",\"typeParameters\",\"typeArguments\"],ClassProperty:[\"decorators\",\"variance\",\"key\",\"typeAnnotation\",\"value\"],ClassAccessorProperty:[\"decorators\",\"key\",\"typeAnnotation\",\"value\"],ClassPrivateProperty:[\"decorators\",\"variance\",\"key\",\"typeAnnotation\",\"value\"],ClassPrivateMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\",\"body\"],PrivateName:[\"id\"],StaticBlock:[\"body\"],AnyTypeAnnotation:[],ArrayTypeAnnotation:[\"elementType\"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:[\"id\",\"typeParameters\"],DeclareClass:[\"id\",\"typeParameters\",\"extends\",\"mixins\",\"implements\",\"body\"],DeclareFunction:[\"id\",\"predicate\"],DeclareInterface:[\"id\",\"typeParameters\",\"extends\",\"body\"],DeclareModule:[\"id\",\"body\"],DeclareModuleExports:[\"typeAnnotation\"],DeclareTypeAlias:[\"id\",\"typeParameters\",\"right\"],DeclareOpaqueType:[\"id\",\"typeParameters\",\"supertype\"],DeclareVariable:[\"id\"],DeclareExportDeclaration:[\"declaration\",\"specifiers\",\"source\",\"attributes\"],DeclareExportAllDeclaration:[\"source\",\"attributes\"],DeclaredPredicate:[\"value\"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:[\"typeParameters\",\"this\",\"params\",\"rest\",\"returnType\"],FunctionTypeParam:[\"name\",\"typeAnnotation\"],GenericTypeAnnotation:[\"id\",\"typeParameters\"],InferredPredicate:[],InterfaceExtends:[\"id\",\"typeParameters\"],InterfaceDeclaration:[\"id\",\"typeParameters\",\"extends\",\"body\"],InterfaceTypeAnnotation:[\"extends\",\"body\"],IntersectionTypeAnnotation:[\"types\"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:[\"typeAnnotation\"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:[\"properties\",\"indexers\",\"callProperties\",\"internalSlots\"],ObjectTypeInternalSlot:[\"id\",\"value\"],ObjectTypeCallProperty:[\"value\"],ObjectTypeIndexer:[\"variance\",\"id\",\"key\",\"value\"],ObjectTypeProperty:[\"key\",\"value\",\"variance\"],ObjectTypeSpreadProperty:[\"argument\"],OpaqueType:[\"id\",\"typeParameters\",\"supertype\",\"impltype\"],QualifiedTypeIdentifier:[\"qualification\",\"id\"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:[\"types\",\"elementTypes\"],TypeofTypeAnnotation:[\"argument\",\"typeArguments\"],TypeAlias:[\"id\",\"typeParameters\",\"right\"],TypeAnnotation:[\"typeAnnotation\"],TypeCastExpression:[\"expression\",\"typeAnnotation\"],TypeParameter:[\"bound\",\"default\",\"variance\"],TypeParameterDeclaration:[\"params\"],TypeParameterInstantiation:[\"params\"],UnionTypeAnnotation:[\"types\"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:[\"id\",\"body\"],EnumBooleanBody:[\"members\"],EnumNumberBody:[\"members\"],EnumStringBody:[\"members\"],EnumSymbolBody:[\"members\"],EnumBooleanMember:[\"id\",\"init\"],EnumNumberMember:[\"id\",\"init\"],EnumStringMember:[\"id\",\"init\"],EnumDefaultedMember:[\"id\"],IndexedAccessType:[\"objectType\",\"indexType\"],OptionalIndexedAccessType:[\"objectType\",\"indexType\"],JSXAttribute:[\"name\",\"value\"],JSXClosingElement:[\"name\"],JSXElement:[\"openingElement\",\"children\",\"closingElement\"],JSXEmptyExpression:[],JSXExpressionContainer:[\"expression\"],JSXSpreadChild:[\"expression\"],JSXIdentifier:[],JSXMemberExpression:[\"object\",\"property\"],JSXNamespacedName:[\"namespace\",\"name\"],JSXOpeningElement:[\"name\",\"typeParameters\",\"typeArguments\",\"attributes\"],JSXSpreadAttribute:[\"argument\"],JSXText:[],JSXFragment:[\"openingFragment\",\"children\",\"closingFragment\"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:[\"object\",\"callee\"],ImportAttribute:[\"key\",\"value\"],Decorator:[\"expression\"],DoExpression:[\"body\"],ExportDefaultSpecifier:[\"exported\"],RecordExpression:[\"properties\"],TupleExpression:[\"elements\"],ModuleExpression:[\"body\"],TopicReference:[],PipelineTopicExpression:[\"expression\"],PipelineBareFunction:[\"callee\"],PipelinePrimaryTopicReference:[],TSParameterProperty:[\"parameter\",\"decorators\"],TSDeclareFunction:[\"id\",\"typeParameters\",\"params\",\"returnType\",\"body\"],TSDeclareMethod:[\"decorators\",\"key\",\"typeParameters\",\"params\",\"returnType\"],TSQualifiedName:[\"left\",\"right\"],TSCallSignatureDeclaration:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSConstructSignatureDeclaration:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSPropertySignature:[\"key\",\"typeAnnotation\"],TSMethodSignature:[\"key\",\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSIndexSignature:[\"parameters\",\"typeAnnotation\"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSConstructorType:[\"typeParameters\",\"parameters\",\"typeAnnotation\",\"params\",\"returnType\"],TSTypeReference:[\"typeName\",\"typeParameters\",\"typeArguments\"],TSTypePredicate:[\"parameterName\",\"typeAnnotation\"],TSTypeQuery:[\"exprName\",\"typeParameters\",\"typeArguments\"],TSTypeLiteral:[\"members\"],TSArrayType:[\"elementType\"],TSTupleType:[\"elementTypes\"],TSOptionalType:[\"typeAnnotation\"],TSRestType:[\"typeAnnotation\"],TSNamedTupleMember:[\"label\",\"elementType\"],TSUnionType:[\"types\"],TSIntersectionType:[\"types\"],TSConditionalType:[\"checkType\",\"extendsType\",\"trueType\",\"falseType\"],TSInferType:[\"typeParameter\"],TSParenthesizedType:[\"typeAnnotation\"],TSTypeOperator:[\"typeAnnotation\"],TSIndexedAccessType:[\"objectType\",\"indexType\"],TSMappedType:[\"typeParameter\",\"nameType\",\"typeAnnotation\"],TSTemplateLiteralType:[\"quasis\",\"types\"],TSLiteralType:[\"literal\"],TSExpressionWithTypeArguments:[\"expression\",\"typeParameters\"],TSInterfaceDeclaration:[\"id\",\"typeParameters\",\"extends\",\"body\"],TSInterfaceBody:[\"body\"],TSTypeAliasDeclaration:[\"id\",\"typeParameters\",\"typeAnnotation\"],TSInstantiationExpression:[\"expression\",\"typeParameters\",\"typeArguments\"],TSAsExpression:[\"expression\",\"typeAnnotation\"],TSSatisfiesExpression:[\"expression\",\"typeAnnotation\"],TSTypeAssertion:[\"typeAnnotation\",\"expression\"],TSEnumBody:[\"members\"],TSEnumDeclaration:[\"id\",\"members\"],TSEnumMember:[\"id\",\"initializer\"],TSModuleDeclaration:[\"id\",\"body\"],TSModuleBlock:[\"body\"],TSImportType:[\"argument\",\"options\",\"qualifier\",\"typeParameters\",\"typeArguments\"],TSImportEqualsDeclaration:[\"id\",\"moduleReference\"],TSExternalModuleReference:[\"expression\"],TSNonNullExpression:[\"expression\"],TSExportAssignment:[\"expression\"],TSNamespaceExportDeclaration:[\"id\"],TSTypeAnnotation:[\"typeAnnotation\"],TSTypeParameterInstantiation:[\"params\"],TSTypeParameterDeclaration:[\"params\"],TSTypeParameter:[\"constraint\",\"default\",\"name\"],ChainExpression:[\"expression\"],ExperimentalRestProperty:[\"argument\"],ExperimentalSpreadProperty:[\"argument\"],Literal:[],MethodDefinition:[\"decorators\",\"key\",\"value\"],PrivateIdentifier:[],Property:[\"key\",\"value\"],PropertyDefinition:[\"decorators\",\"key\",\"typeAnnotation\",\"value\",\"variance\"],AccessorProperty:[\"decorators\",\"key\",\"typeAnnotation\",\"value\"],TSAbstractAccessorProperty:[\"decorators\",\"key\",\"typeAnnotation\"],TSAbstractKeyword:[],TSAbstractMethodDefinition:[\"key\",\"value\"],TSAbstractPropertyDefinition:[\"decorators\",\"key\",\"typeAnnotation\"],TSAsyncKeyword:[],TSClassImplements:[\"expression\",\"typeArguments\",\"typeParameters\"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:[\"id\",\"typeParameters\",\"params\",\"returnType\"],TSExportKeyword:[],TSInterfaceHeritage:[\"expression\",\"typeArguments\",\"typeParameters\"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],AsConstExpression:[\"expression\"],AsExpression:[\"expression\",\"typeAnnotation\"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:[\"id\",\"params\",\"body\",\"typeParameters\",\"rendersType\"],ComponentParameter:[\"name\",\"local\"],ComponentTypeAnnotation:[\"params\",\"rest\",\"typeParameters\",\"rendersType\"],ComponentTypeParameter:[\"name\",\"typeAnnotation\"],ConditionalTypeAnnotation:[\"checkType\",\"extendsType\",\"trueType\",\"falseType\"],DeclareComponent:[\"id\",\"params\",\"rest\",\"typeParameters\",\"rendersType\"],DeclareEnum:[\"id\",\"body\"],DeclareHook:[\"id\"],DeclareNamespace:[\"id\",\"body\"],EnumBigIntBody:[\"members\"],EnumBigIntMember:[\"id\",\"init\"],HookDeclaration:[\"id\",\"params\",\"body\",\"typeParameters\",\"returnType\"],HookTypeAnnotation:[\"params\",\"returnType\",\"rest\",\"typeParameters\"],InferTypeAnnotation:[\"typeParameter\"],KeyofTypeAnnotation:[\"argument\"],ObjectTypeMappedTypeProperty:[\"keyTparam\",\"propType\",\"sourceType\",\"variance\"],QualifiedTypeofIdentifier:[\"qualification\",\"id\"],TupleTypeLabeledElement:[\"label\",\"elementType\",\"variance\"],TupleTypeSpreadElement:[\"label\",\"typeAnnotation\"],TypeOperator:[\"typeAnnotation\"],TypePredicate:[\"parameterName\",\"typeAnnotation\",\"asserts\"],NGRoot:[\"node\"],NGPipeExpression:[\"left\",\"right\",\"arguments\"],NGChainedExpression:[\"expressions\"],NGEmptyExpression:[],NGMicrosyntax:[\"body\"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:[\"expression\",\"alias\"],NGMicrosyntaxKeyedExpression:[\"key\",\"expression\"],NGMicrosyntaxLet:[\"key\",\"value\"],NGMicrosyntaxAs:[\"key\",\"alias\"],JsExpressionRoot:[\"node\"],JsonRoot:[\"node\"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:[\"typeAnnotation\"],TSJSDocNonNullableType:[\"typeAnnotation\"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:[\"expression\",\"typeAnnotation\"]},mi=ci(di),fi=mi;function Ye(p,c){if(!(p!==null&&typeof p==\"object\"))return p;if(Array.isArray(p)){for(let x=0;x<p.length;x++)p[x]=Ye(p[x],c);return p}let m=fi(p);for(let x=0;x<m.length;x++)p[m[x]]=Ye(p[m[x]],c);return c(p)||p}var We=Ye;function yi(p,c){let{parser:m,text:x}=c;if(p.type===\"File\"&&p.program.interpreter){let{program:{interpreter:f},comments:C}=p;delete p.program.interpreter,C.unshift(f)}if(m===\"babel\"){let f=new Set;p=We(p,C=>{var S;(S=C.leadingComments)!=null&&S.some(li)&&f.add(_(C))}),p=We(p,C=>{if(C.type===\"ParenthesizedExpression\"){let{expression:S}=C;if(S.type===\"TypeCastExpression\")return S.range=[...C.range],S;let M=_(C);if(!f.has(M))return S.extra={...S.extra,parenthesized:!0},S}})}if(p=We(p,f=>{switch(f.type){case\"LogicalExpression\":if(Xt(f))return Qe(f);break;case\"VariableDeclaration\":{let C=Lt(!1,f.declarations,-1);C!=null&&C.init&&x[ee(C)]!==\";\"&&(f.range=[_(f),ee(C)]);break}case\"TSParenthesizedType\":return f.typeAnnotation;case\"TSTypeParameter\":if(typeof f.name==\"string\"){let C=_(f);f.name={type:\"Identifier\",name:f.name,range:[C,C+f.name.length]}}break;case\"TopicReference\":p.extra={...p.extra,__isUsingHackPipeline:!0};break;case\"TSUnionType\":case\"TSIntersectionType\":if(f.types.length===1)return f.types[0];break}}),et(p.comments)){let f=Lt(!1,p.comments,-1);for(let C=p.comments.length-2;C>=0;C--){let S=p.comments[C];ee(S)===_(f)&&Ge(S)&&Ge(f)&&Bt(S)&&Bt(f)&&(p.comments.splice(C+1,1),S.value+=\"*//*\"+f.value,S.range=[_(S),ee(f)]),f=S}}return p.type===\"Program\"&&(p.range=[0,x.length]),p}function Xt(p){return p.type===\"LogicalExpression\"&&p.right.type===\"LogicalExpression\"&&p.operator===p.right.operator}function Qe(p){return Xt(p)?Qe({type:\"LogicalExpression\",operator:p.operator,left:Qe({type:\"LogicalExpression\",operator:p.operator,left:p.left,right:p.right.left,range:[_(p.left),ee(p.right.left)]}),right:p.right.right,range:[_(p),ee(p)]}):p}var xi=yi;function Pi(p,c){let m=new SyntaxError(p+\" (\"+c.loc.start.line+\":\"+c.loc.start.column+\")\");return Object.assign(m,c)}var Gt=Pi;function Ai(p){let{message:c,loc:{line:m,column:x},reasonCode:f}=p,C=p;(f===\"MissingPlugin\"||f===\"MissingOneOfPlugins\")&&(c=\"Unexpected token.\",C=void 0);let S=` (${m}:${x})`;return c.endsWith(S)&&(c=c.slice(0,-S.length)),Gt(c,{loc:{start:{line:m,column:x+1}},cause:C})}var Yt=Ai,gi=(p,c,m,x)=>{if(!(p&&c==null))return c.replaceAll?c.replaceAll(m,x):m.global?c.replace(m,x):c.split(m).join(x)},Ce=gi,Ti=/\\*\\/$/,bi=/^\\/\\*\\*?/,Ei=/^\\s*(\\/\\*\\*?(.|\\r?\\n)*?\\*\\/)/,Ci=/(^|\\s+)\\/\\/([^\\n\\r]*)/g,Mt=/^(\\r?\\n)+/,Si=/(?:^|\\r?\\n) *(@[^\\n\\r]*?) *\\r?\\n *(?![^\\n\\r@]*\\/\\/[^]*)([^\\s@][^\\n\\r@]+?) *\\r?\\n/g,Ot=/(?:^|\\r?\\n) *@(\\S+) *([^\\n\\r]*)/g,wi=/(\\r?\\n|^) *\\* ?/g,Ii=[];function Ni(p){let c=p.match(Ei);return c?c[0].trimStart():\"\"}function vi(p){let c=`\n`;p=Ce(!1,p.replace(bi,\"\").replace(Ti,\"\"),wi,\"$1\");let m=\"\";for(;m!==p;)m=p,p=Ce(!1,p,Si,`${c}$1 $2${c}`);p=p.replace(Mt,\"\").trimEnd();let x=Object.create(null),f=Ce(!1,p,Ot,\"\").replace(Mt,\"\").trimEnd(),C;for(;C=Ot.exec(p);){let S=Ce(!1,C[2],Ci,\"\");if(typeof x[C[1]]==\"string\"||Array.isArray(x[C[1]])){let M=x[C[1]];x[C[1]]=[...Ii,...Array.isArray(M)?M:[M],S]}else x[C[1]]=S}return{comments:f,pragmas:x}}function ki(p){let c=Wt(p);c&&(p=p.slice(c.length+1));let m=Ni(p),{pragmas:x,comments:f}=vi(m);return{shebang:c,text:p,pragmas:x,comments:f}}function Di(p){let{pragmas:c}=ki(p);return Object.prototype.hasOwnProperty.call(c,\"prettier\")||Object.prototype.hasOwnProperty.call(c,\"format\")}function Fi(p){return p=typeof p==\"function\"?{parse:p}:p,{astFormat:\"estree\",hasPragma:Di,locStart:_,locEnd:ee,...p}}var me=Fi;function Li(p){let{filepath:c}=p;if(c){if(c=c.toLowerCase(),c.endsWith(\".cjs\")||c.endsWith(\".cts\"))return\"script\";if(c.endsWith(\".mjs\")||c.endsWith(\".mts\"))return\"module\"}}var Bi=Li;function Mi(p,c){let{type:m=\"JsExpressionRoot\",rootMarker:x,text:f}=c,{tokens:C,comments:S}=p;return delete p.tokens,delete p.comments,{tokens:C,comments:S,type:m,node:p,range:[0,f.length],rootMarker:x}}var Qt=Mi,ae=p=>me(_i(p)),Oi={sourceType:\"module\",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,createImportExpressions:!0,plugins:[\"doExpressions\",\"exportDefaultFrom\",\"functionBind\",\"functionSent\",\"throwExpressions\",\"partialApplication\",\"decorators\",\"moduleBlocks\",\"asyncDoExpressions\",\"destructuringPrivate\",\"decoratorAutoAccessors\",\"explicitResourceManagement\",\"sourcePhaseImports\",\"deferredImportEvaluation\",[\"optionalChainingAssign\",{version:\"2023-07\"}],\"recordAndTuple\"],tokens:!0,ranges:!0},Rt=\"v8intrinsic\",jt=[[\"pipelineOperator\",{proposal:\"hack\",topicToken:\"%\"}],[\"pipelineOperator\",{proposal:\"fsharp\"}]],K=(p,c=Oi)=>({...c,plugins:[...c.plugins,...p]}),Ri=/@(?:no)?flow\\b/u;function ji(p,c){var m;if((m=c.filepath)!=null&&m.endsWith(\".js.flow\"))return!0;let x=Wt(p);x&&(p=p.slice(x.length));let f=Yr(p,0);return f!==!1&&(p=p.slice(0,f)),Ri.test(p)}function Ui(p,c,m){let x=p(c,m),f=x.errors.find(C=>!Hi.has(C.reasonCode));if(f)throw f;return x}function _i({isExpression:p=!1,optionsCombinations:c}){return(m,x={})=>{if((x.parser===\"babel\"||x.parser===\"__babel_estree\")&&ji(m,x))return x.parser=\"babel-flow\",es.parse(m,x);let f=c;(x.__babelSourceType??Bi(x))===\"script\"&&(f=f.map(R=>({...R,sourceType:\"script\"})));let C=/%[A-Z]/u.test(m);m.includes(\"|>\")?f=(C?[...jt,Rt]:jt).flatMap(R=>f.map(Se=>K([R],Se))):C&&(f=f.map(R=>K([Rt],R)));let S=p?Ft.parseExpression:Ft.parse,M;try{M=Zr(f.map(R=>()=>Ui(S,m,R)))}catch({errors:[R]}){throw Yt(R)}return p&&(M=Qt(M,{text:m,rootMarker:x.rootMarker})),xi(M,{parser:\"babel\",text:m})}}var Hi=new Set([\"StrictNumericEscape\",\"StrictWith\",\"StrictOctalLiteral\",\"StrictDelete\",\"StrictEvalArguments\",\"StrictEvalArgumentsBinding\",\"StrictFunction\",\"ForInOfLoopInitializer\",\"EmptyTypeArguments\",\"EmptyTypeParameters\",\"ConstructorHasTypeParameters\",\"UnsupportedParameterPropertyKind\",\"DecoratorExportClass\",\"ParamDupe\",\"InvalidDecimal\",\"RestTrailingComma\",\"UnsupportedParameterDecorator\",\"UnterminatedJsxContent\",\"UnexpectedReservedWord\",\"ModuleAttributesWithDuplicateKeys\",\"LineTerminatorBeforeArrow\",\"InvalidEscapeSequenceTemplate\",\"NonAbstractClassHasAbstractMethod\",\"OptionalTypeBeforeRequired\",\"PatternIsOptional\",\"OptionalBindingPattern\",\"DeclareClassFieldHasInitializer\",\"TypeImportCannotSpecifyDefaultAndNamed\",\"ConstructorClassField\",\"VarRedeclaration\",\"InvalidPrivateFieldResolution\",\"DuplicateExport\",\"ImportAttributesUseAssert\"]),Zt=[K([\"jsx\"])],Ut=ae({optionsCombinations:Zt}),_t=ae({optionsCombinations:[K([\"jsx\",\"typescript\"]),K([\"typescript\"])]}),Ht=ae({isExpression:!0,optionsCombinations:[K([\"jsx\"])]}),zt=ae({isExpression:!0,optionsCombinations:[K([\"typescript\"])]}),es=ae({optionsCombinations:[K([\"jsx\",[\"flow\",{all:!0}],\"flowComments\"])]}),zi=ae({optionsCombinations:Zt.map(p=>K([\"estree\"],p))}),Vi={babel:Ut,\"babel-flow\":es,\"babel-ts\":_t,__js_expression:Ht,__ts_expression:zt,__vue_expression:Ht,__vue_ts_expression:zt,__vue_event_binding:Ut,__vue_ts_event_binding:_t,__babel_estree:zi},qi=Vt(qt());function ts(p={}){let{allowComments:c=!0}=p;return function(m){let x;try{x=(0,qi.parseExpression)(m,{tokens:!0,ranges:!0,attachComment:!1})}catch(f){throw Yt(f)}if(!c&&et(x.comments))throw Y(x.comments[0],\"Comment\");return ie(x),Qt(x,{type:\"JsonRoot\",text:m})}}function Y(p,c){let[m,x]=[p.loc.start,p.loc.end].map(({line:f,column:C})=>({line:f,column:C+1}));return Gt(`${c} is not allowed in JSON.`,{loc:{start:m,end:x}})}function ie(p){switch(p.type){case\"ArrayExpression\":for(let c of p.elements)c!==null&&ie(c);return;case\"ObjectExpression\":for(let c of p.properties)ie(c);return;case\"ObjectProperty\":if(p.computed)throw Y(p.key,\"Computed key\");if(p.shorthand)throw Y(p.key,\"Shorthand property\");p.key.type!==\"Identifier\"&&ie(p.key),ie(p.value);return;case\"UnaryExpression\":{let{operator:c,argument:m}=p;if(c!==\"+\"&&c!==\"-\")throw Y(p,`Operator '${p.operator}'`);if(m.type===\"NumericLiteral\"||m.type===\"Identifier\"&&(m.name===\"Infinity\"||m.name===\"NaN\"))return;throw Y(m,`Operator '${c}' before '${m.type}'`)}case\"Identifier\":if(p.name!==\"Infinity\"&&p.name!==\"NaN\"&&p.name!==\"undefined\")throw Y(p,`Identifier '${p.name}'`);return;case\"TemplateLiteral\":if(et(p.expressions))throw Y(p.expressions[0],\"'TemplateLiteral' with expression\");for(let c of p.quasis)ie(c);return;case\"NullLiteral\":case\"BooleanLiteral\":case\"NumericLiteral\":case\"StringLiteral\":case\"TemplateElement\":return;default:throw Y(p,`'${p.type}'`)}}var Xe=ts(),$i={json:me({parse:Xe,hasPragma(){return!0}}),json5:me(Xe),jsonc:me(Xe),\"json-stringify\":me({parse:ts({allowComments:!1}),astFormat:\"estree-json\"})},Ki=$i,Ji={...Vi,...Ki},Wi=Kt;export{Wi as default,Ji as parsers};\n"
  },
  {
    "path": "backend/openui/dist/assets/css-D1nB4Vcj.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(#?-?\\d*\\.\\d\\w*%?)|((::|[@#.!:])?[\\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\",notIn:[\"string\",\"comment\"]},{open:\"[\",close:\"]\",notIn:[\"string\",\"comment\"]},{open:\"(\",close:\")\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*\\\\/\\\\*\\\\s*#region\\\\b\\\\s*(.*?)\\\\s*\\\\*\\\\/\"),end:new RegExp(\"^\\\\s*\\\\/\\\\*\\\\s*#endregion\\\\b.*\\\\*\\\\/\")}}},t={defaultToken:\"\",tokenPostfix:\".css\",ws:`[ \t\n\\r\\f]*`,identifier:\"-?-?([a-zA-Z]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))([\\\\w\\\\-]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))*\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.bracket\"},{open:\"[\",close:\"]\",token:\"delimiter.bracket\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],tokenizer:{root:[{include:\"@selector\"}],selector:[{include:\"@comments\"},{include:\"@import\"},{include:\"@strings\"},[\"[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)\",{token:\"keyword\",next:\"@keyframedeclaration\"}],[\"[@](page|content|font-face|-moz-document)\",{token:\"keyword\"}],[\"[@](charset|namespace)\",{token:\"keyword\",next:\"@declarationbody\"}],[\"(url-prefix)(\\\\()\",[\"attribute.value\",{token:\"delimiter.parenthesis\",next:\"@urldeclaration\"}]],[\"(url)(\\\\()\",[\"attribute.value\",{token:\"delimiter.parenthesis\",next:\"@urldeclaration\"}]],{include:\"@selectorname\"},[\"[\\\\*]\",\"tag\"],[\"[>\\\\+,]\",\"delimiter\"],[\"\\\\[\",{token:\"delimiter.bracket\",next:\"@selectorattribute\"}],[\"{\",{token:\"delimiter.bracket\",next:\"@selectorbody\"}]],selectorbody:[{include:\"@comments\"},[\"[*_]?@identifier@ws:(?=(\\\\s|\\\\d|[^{;}]*[;}]))\",\"attribute.name\",\"@rulevalue\"],[\"}\",{token:\"delimiter.bracket\",next:\"@pop\"}]],selectorname:[[\"(\\\\.|#(?=[^{])|%|(@identifier)|:)+\",\"tag\"]],selectorattribute:[{include:\"@term\"},[\"]\",{token:\"delimiter.bracket\",next:\"@pop\"}]],term:[{include:\"@comments\"},[\"(url-prefix)(\\\\()\",[\"attribute.value\",{token:\"delimiter.parenthesis\",next:\"@urldeclaration\"}]],[\"(url)(\\\\()\",[\"attribute.value\",{token:\"delimiter.parenthesis\",next:\"@urldeclaration\"}]],{include:\"@functioninvocation\"},{include:\"@numbers\"},{include:\"@name\"},{include:\"@strings\"},[\"([<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~,])\",\"delimiter\"],[\",\",\"delimiter\"]],rulevalue:[{include:\"@comments\"},{include:\"@strings\"},{include:\"@term\"},[\"!important\",\"keyword\"],[\";\",\"delimiter\",\"@pop\"],[\"(?=})\",{token:\"\",next:\"@pop\"}]],warndebug:[[\"[@](warn|debug)\",{token:\"keyword\",next:\"@declarationbody\"}]],import:[[\"[@](import)\",{token:\"keyword\",next:\"@declarationbody\"}]],urldeclaration:[{include:\"@strings\"},[`[^)\\r\n]+`,\"string\"],[\"\\\\)\",{token:\"delimiter.parenthesis\",next:\"@pop\"}]],parenthizedterm:[{include:\"@term\"},[\"\\\\)\",{token:\"delimiter.parenthesis\",next:\"@pop\"}]],declarationbody:[{include:\"@term\"},[\";\",\"delimiter\",\"@pop\"],[\"(?=})\",{token:\"\",next:\"@pop\"}]],comments:[[\"\\\\/\\\\*\",\"comment\",\"@comment\"],[\"\\\\/\\\\/+.*\",\"comment\"]],comment:[[\"\\\\*\\\\/\",\"comment\",\"@pop\"],[/[^*/]+/,\"comment\"],[/./,\"comment\"]],name:[[\"@identifier\",\"attribute.value\"]],numbers:[[\"-?(\\\\d*\\\\.)?\\\\d+([eE][\\\\-+]?\\\\d+)?\",{token:\"attribute.value.number\",next:\"@units\"}],[\"#[0-9a-fA-F_]+(?!\\\\w)\",\"attribute.value.hex\"]],units:[[\"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?\",\"attribute.value.unit\",\"@pop\"]],keyframedeclaration:[[\"@identifier\",\"attribute.value\"],[\"{\",{token:\"delimiter.bracket\",switchTo:\"@keyframebody\"}]],keyframebody:[{include:\"@term\"},[\"{\",{token:\"delimiter.bracket\",next:\"@selectorbody\"}],[\"}\",{token:\"delimiter.bracket\",next:\"@pop\"}]],functioninvocation:[[\"@identifier\\\\(\",{token:\"attribute.value\",next:\"@functionarguments\"}]],functionarguments:[[\"\\\\$@identifier@ws:\",\"attribute.name\"],[\"[,]\",\"delimiter\"],{include:\"@term\"},[\"\\\\)\",{token:\"attribute.value\",next:\"@pop\"}]],strings:[['~?\"',{token:\"string\",next:\"@stringenddoublequote\"}],[\"~?'\",{token:\"string\",next:\"@stringendquote\"}]],stringenddoublequote:[[\"\\\\\\\\.\",\"string\"],['\"',{token:\"string\",next:\"@pop\"}],[/[^\\\\\"]+/,\"string\"],[\".\",\"string\"]],stringendquote:[[\"\\\\\\\\.\",\"string\"],[\"'\",{token:\"string\",next:\"@pop\"}],[/[^\\\\']+/,\"string\"],[\".\",\"string\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "backend/openui/dist/assets/cssMode-CMP9zKWk.js",
    "content": "import{m as Le}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var je=Object.defineProperty,Ne=Object.getOwnPropertyDescriptor,We=Object.getOwnPropertyNames,Oe=Object.prototype.hasOwnProperty,Ue=(e,n,i,r)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let t of We(n))!Oe.call(e,t)&&t!==i&&je(e,t,{get:()=>n[t],enumerable:!(r=Ne(n,t))||r.enumerable});return e},Ve=(e,n,i)=>(Ue(e,n,\"default\"),i),c={};Ve(c,Le);var He=2*60*1e3,ze=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>He&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:\"vs/language/css/cssWorker\",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(i=>n)}},J;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(J||(J={}));var W;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(W||(W={}));var k;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=W.MAX_VALUE),t===Number.MAX_VALUE&&(t=W.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&s.uinteger(t.line)&&s.uinteger(t.character)}e.is=i})(k||(k={}));var p;(function(e){function n(r,t,a,o){if(s.uinteger(r)&&s.uinteger(t)&&s.uinteger(a)&&s.uinteger(o))return{start:k.create(r,t),end:k.create(a,o)};if(k.is(r)&&k.is(t))return{start:r,end:t};throw new Error(\"Range#create called with invalid arguments[\"+r+\", \"+t+\", \"+a+\", \"+o+\"]\")}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&k.is(t.start)&&k.is(t.end)}e.is=i})(p||(p={}));var z;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.string(t.uri)||s.undefined(t.uri))}e.is=i})(z||(z={}));var Y;(function(e){function n(r,t,a,o){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.targetRange)&&s.string(t.targetUri)&&(p.is(t.targetSelectionRange)||s.undefined(t.targetSelectionRange))&&(p.is(t.originSelectionRange)||s.undefined(t.originSelectionRange))}e.is=i})(Y||(Y={}));var X;(function(e){function n(r,t,a,o){return{red:r,green:t,blue:a,alpha:o}}e.create=n;function i(r){var t=r;return s.numberRange(t.red,0,1)&&s.numberRange(t.green,0,1)&&s.numberRange(t.blue,0,1)&&s.numberRange(t.alpha,0,1)}e.is=i})(X||(X={}));var Z;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){var t=r;return p.is(t.range)&&X.is(t.color)}e.is=i})(Z||(Z={}));var K;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){var t=r;return s.string(t.label)&&(s.undefined(t.textEdit)||x.is(t))&&(s.undefined(t.additionalTextEdits)||s.typedArray(t.additionalTextEdits,x.is))}e.is=i})(K||(K={}));var R;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(R||(R={}));var ee;(function(e){function n(r,t,a,o,u){var g={startLine:r,endLine:t};return s.defined(a)&&(g.startCharacter=a),s.defined(o)&&(g.endCharacter=o),s.defined(u)&&(g.kind=u),g}e.create=n;function i(r){var t=r;return s.uinteger(t.startLine)&&s.uinteger(t.startLine)&&(s.undefined(t.startCharacter)||s.uinteger(t.startCharacter))&&(s.undefined(t.endCharacter)||s.uinteger(t.endCharacter))&&(s.undefined(t.kind)||s.string(t.kind))}e.is=i})(ee||(ee={}));var B;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&z.is(t.location)&&s.string(t.message)}e.is=i})(B||(B={}));var y;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(y||(y={}));var te;(function(e){e.Unnecessary=1,e.Deprecated=2})(te||(te={}));var re;(function(e){function n(i){var r=i;return r!=null&&s.string(r.href)}e.is=n})(re||(re={}));var O;(function(e){function n(r,t,a,o,u,g){var d={range:r,message:t};return s.defined(a)&&(d.severity=a),s.defined(o)&&(d.code=o),s.defined(u)&&(d.source=u),s.defined(g)&&(d.relatedInformation=g),d}e.create=n;function i(r){var t,a=r;return s.defined(a)&&p.is(a.range)&&s.string(a.message)&&(s.number(a.severity)||s.undefined(a.severity))&&(s.integer(a.code)||s.string(a.code)||s.undefined(a.code))&&(s.undefined(a.codeDescription)||s.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(s.string(a.source)||s.undefined(a.source))&&(s.undefined(a.relatedInformation)||s.typedArray(a.relatedInformation,B.is))}e.is=i})(O||(O={}));var D;(function(e){function n(r,t){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var u={title:r,command:t};return s.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.title)&&s.string(t.command)}e.is=i})(D||(D={}));var x;(function(e){function n(a,o){return{range:a,newText:o}}e.replace=n;function i(a,o){return{range:{start:a,end:a},newText:o}}e.insert=i;function r(a){return{range:a,newText:\"\"}}e.del=r;function t(a){var o=a;return s.objectLiteral(o)&&s.string(o.newText)&&p.is(o.range)}e.is=t})(x||(x={}));var I;(function(e){function n(r,t,a){var o={label:r};return t!==void 0&&(o.needsConfirmation=t),a!==void 0&&(o.description=a),o}e.create=n;function i(r){var t=r;return t!==void 0&&s.objectLiteral(t)&&s.string(t.label)&&(s.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(s.string(t.description)||t.description===void 0)}e.is=i})(I||(I={}));var m;(function(e){function n(i){var r=i;return typeof r==\"string\"}e.is=n})(m||(m={}));var b;(function(e){function n(a,o,u){return{range:a,newText:o,annotationId:u}}e.replace=n;function i(a,o,u){return{range:{start:a,end:a},newText:o,annotationId:u}}e.insert=i;function r(a,o){return{range:a,newText:\"\",annotationId:o}}e.del=r;function t(a){var o=a;return x.is(o)&&(I.is(o.annotationId)||m.is(o.annotationId))}e.is=t})(b||(b={}));var U;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&V.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(U||(U={}));var M;(function(e){function n(r,t,a){var o={kind:\"create\",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind===\"create\"&&s.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(M||(M={}));var S;(function(e){function n(r,t,a,o){var u={kind:\"rename\",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),o!==void 0&&(u.annotationId=o),u}e.create=n;function i(r){var t=r;return t&&t.kind===\"rename\"&&s.string(t.oldUri)&&s.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(S||(S={}));var T;(function(e){function n(r,t,a){var o={kind:\"delete\",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind===\"delete\"&&s.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||s.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||s.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(T||(T={}));var $;(function(e){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(t){return s.string(t.kind)?M.is(t)||S.is(t)||T.is(t):U.is(t)}))}e.is=n})($||($={}));var N=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,r){var t,a;if(r===void 0?t=x.insert(n,i):m.is(r)?(a=r,t=b.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=b.insert(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.replace=function(n,i,r){var t,a;if(r===void 0?t=x.replace(n,i):m.is(r)?(a=r,t=b.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=b.replace(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.delete=function(n,i){var r,t;if(i===void 0?r=x.del(n):m.is(i)?(t=i,r=b.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=b.del(n,t)),this.edits.push(r),t!==void 0)return t},e.prototype.add=function(n){this.edits.push(n)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),ne=function(){function e(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,\"size\",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(n,i){var r;if(m.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error(\"Id \"+r+\" is already in use.\");if(i===void 0)throw new Error(\"No annotation provided for id \"+r);return this._annotations[r]=i,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new ne(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(U.is(r)){var t=new N(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new N(n.changes[r]);i._textEditChanges[r]=t})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,\"edit\",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(n){if(V.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var t=[],a={textDocument:i,edits:t};this._workspaceEdit.documentChanges.push(a),r=new N(t,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r=this._textEditChanges[n];if(!r){var t=[];this._workspaceEdit.changes[n]=t,r=new N(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ne,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var t;I.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=M.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=M.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.renameFile=function(n,i,r,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var a;I.is(r)||m.is(r)?a=r:t=r;var o,u;if(a===void 0?o=S.create(n,i,t):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=S.create(n,i,t,u)),this._workspaceEdit.documentChanges.push(o),u!==void 0)return u},e.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var t;I.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=T.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=T.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e})();var ie;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)}e.is=i})(ie||(ie={}));var ae;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.integer(t.version)}e.is=i})(ae||(ae={}));var V;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&(t.version===null||s.integer(t.version))}e.is=i})(V||(V={}));var oe;(function(e){function n(r,t,a,o){return{uri:r,languageId:t,version:a,text:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.string(t.languageId)&&s.integer(t.version)&&s.string(t.text)}e.is=i})(oe||(oe={}));var F;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(F||(F={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(F||(F={}));var q;(function(e){function n(i){var r=i;return s.objectLiteral(i)&&F.is(r.kind)&&s.string(r.value)}e.is=n})(q||(q={}));var l;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(l||(l={}));var Q;(function(e){e.PlainText=1,e.Snippet=2})(Q||(Q={}));var se;(function(e){e.Deprecated=1})(se||(se={}));var ue;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){var t=r;return t&&s.string(t.newText)&&p.is(t.insert)&&p.is(t.replace)}e.is=i})(ue||(ue={}));var ce;(function(e){e.asIs=1,e.adjustIndentation=2})(ce||(ce={}));var de;(function(e){function n(i){return{label:i}}e.create=n})(de||(de={}));var fe;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(fe||(fe={}));var H;(function(e){function n(r){return r.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=n;function i(r){var t=r;return s.string(t)||s.objectLiteral(t)&&s.string(t.language)&&s.string(t.value)}e.is=i})(H||(H={}));var ge;(function(e){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(q.is(r.contents)||H.is(r.contents)||s.typedArray(r.contents,H.is))&&(i.range===void 0||p.is(i.range))}e.is=n})(ge||(ge={}));var le;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(le||(le={}));var he;(function(e){function n(i,r){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];var o={label:i};return s.defined(r)&&(o.documentation=r),s.defined(t)?o.parameters=t:o.parameters=[],o}e.create=n})(he||(he={}));var P;(function(e){e.Text=1,e.Read=2,e.Write=3})(P||(P={}));var ve;(function(e){function n(i,r){var t={range:i};return s.number(r)&&(t.kind=r),t}e.create=n})(ve||(ve={}));var h;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(h||(h={}));var pe;(function(e){e.Deprecated=1})(pe||(pe={}));var me;(function(e){function n(i,r,t,a,o){var u={name:i,kind:r,location:{uri:a,range:t}};return o&&(u.containerName=o),u}e.create=n})(me||(me={}));var _e;(function(e){function n(r,t,a,o,u,g){var d={name:r,detail:t,kind:a,range:o,selectionRange:u};return g!==void 0&&(d.children=g),d}e.create=n;function i(r){var t=r;return t&&s.string(t.name)&&s.number(t.kind)&&p.is(t.range)&&p.is(t.selectionRange)&&(t.detail===void 0||s.string(t.detail))&&(t.deprecated===void 0||s.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=i})(_e||(_e={}));var we;(function(e){e.Empty=\"\",e.QuickFix=\"quickfix\",e.Refactor=\"refactor\",e.RefactorExtract=\"refactor.extract\",e.RefactorInline=\"refactor.inline\",e.RefactorRewrite=\"refactor.rewrite\",e.Source=\"source\",e.SourceOrganizeImports=\"source.organizeImports\",e.SourceFixAll=\"source.fixAll\"})(we||(we={}));var ke;(function(e){function n(r,t){var a={diagnostics:r};return t!=null&&(a.only=t),a}e.create=n;function i(r){var t=r;return s.defined(t)&&s.typedArray(t.diagnostics,O.is)&&(t.only===void 0||s.typedArray(t.only,s.string))}e.is=i})(ke||(ke={}));var Ee;(function(e){function n(r,t,a){var o={title:r},u=!0;return typeof t==\"string\"?(u=!1,o.kind=t):D.is(t)?o.command=t:o.edit=t,u&&a!==void 0&&(o.kind=a),o}e.create=n;function i(r){var t=r;return t&&s.string(t.title)&&(t.diagnostics===void 0||s.typedArray(t.diagnostics,O.is))&&(t.kind===void 0||s.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||D.is(t.command))&&(t.isPreferred===void 0||s.boolean(t.isPreferred))&&(t.edit===void 0||$.is(t.edit))}e.is=i})(Ee||(Ee={}));var be;(function(e){function n(r,t){var a={range:r};return s.defined(t)&&(a.data=t),a}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.undefined(t.command)||D.is(t.command))}e.is=i})(be||(be={}));var xe;(function(e){function n(r,t){return{tabSize:r,insertSpaces:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.uinteger(t.tabSize)&&s.boolean(t.insertSpaces)}e.is=i})(xe||(xe={}));var Ce;(function(e){function n(r,t,a){return{range:r,target:t,data:a}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.undefined(t.target)||s.string(t.target))}e.is=i})(Ce||(Ce={}));var Ae;(function(e){function n(r,t){return{range:r,parent:t}}e.create=n;function i(r){var t=r;return t!==void 0&&p.is(t.range)&&(t.parent===void 0||e.is(t.parent))}e.is=i})(Ae||(Ae={}));var ye;(function(e){function n(a,o,u,g){return new Xe(a,o,u,g)}e.create=n;function i(a){var o=a;return!!(s.defined(o)&&s.string(o.uri)&&(s.undefined(o.languageId)||s.string(o.languageId))&&s.uinteger(o.lineCount)&&s.func(o.getText)&&s.func(o.positionAt)&&s.func(o.offsetAt))}e.is=i;function r(a,o){for(var u=a.getText(),g=t(o,function(A,j){var G=A.range.start.line-j.range.start.line;return G===0?A.range.start.character-j.range.start.character:G}),d=u.length,v=g.length-1;v>=0;v--){var w=g[v],E=a.offsetAt(w.range.start),f=a.offsetAt(w.range.end);if(f<=d)u=u.substring(0,E)+w.newText+u.substring(f,u.length);else throw new Error(\"Overlapping edit\");d=E}return u}e.applyEdits=r;function t(a,o){if(a.length<=1)return a;var u=a.length/2|0,g=a.slice(0,u),d=a.slice(u);t(g,o),t(d,o);for(var v=0,w=0,E=0;v<g.length&&w<d.length;){var f=o(g[v],d[w]);f<=0?a[E++]=g[v++]:a[E++]=d[w++]}for(;v<g.length;)a[E++]=g[v++];for(;w<d.length;)a[E++]=d[w++];return a}})(ye||(ye={}));var Xe=function(){function e(n,i,r,t){this._uri=n,this._languageId=i,this._version=r,this._content=t,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(n){if(n){var i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content},e.prototype.update=function(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var n=[],i=this._content,r=!0,t=0;t<i.length;t++){r&&(n.push(t),r=!1);var a=i.charAt(t);r=a===\"\\r\"||a===`\n`,a===\"\\r\"&&t+1<i.length&&i.charAt(t+1)===`\n`&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return k.create(0,n);for(;r<t;){var a=Math.floor((r+t)/2);i[a]>n?t=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),s;(function(e){var n=Object.prototype.toString;function i(f){return typeof f<\"u\"}e.defined=i;function r(f){return typeof f>\"u\"}e.undefined=r;function t(f){return f===!0||f===!1}e.boolean=t;function a(f){return n.call(f)===\"[object String]\"}e.string=a;function o(f){return n.call(f)===\"[object Number]\"}e.number=o;function u(f,A,j){return n.call(f)===\"[object Number]\"&&A<=f&&f<=j}e.numberRange=u;function g(f){return n.call(f)===\"[object Number]\"&&-2147483648<=f&&f<=2147483647}e.integer=g;function d(f){return n.call(f)===\"[object Number]\"&&0<=f&&f<=2147483647}e.uinteger=d;function v(f){return n.call(f)===\"[object Function]\"}e.func=v;function w(f){return f!==null&&typeof f==\"object\"}e.objectLiteral=w;function E(f,A){return Array.isArray(f)&&f.every(A)}e.typedArray=E})(s||(s={}));var Be=class{constructor(e,n,i){this._languageId=e,this._worker=n,this._disposables=[],this._listener=Object.create(null);const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>qe(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function $e(e){switch(e){case y.Error:return c.MarkerSeverity.Error;case y.Warning:return c.MarkerSeverity.Warning;case y.Information:return c.MarkerSeverity.Info;case y.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function qe(e,n){let i=typeof n.code==\"number\"?String(n.code):n.code;return{severity:$e(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var Qe=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),C(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:Ye(d.command),range:u,kind:Je(d.kind)};return d.textEdit&&(Ge(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(L)),d.insertTextFormat===Q.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function C(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Pe(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function _(e){if(e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Ge(e){return typeof e.insert<\"u\"&&typeof e.replace<\"u\"}function Je(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function L(e){if(e)return{range:_(e.range),text:e.newText}}function Ye(e){return e&&e.command===\"editor.action.triggerSuggest\"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Ze=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),C(n))).then(t=>{if(t)return{range:_(t.range),contents:et(t.contents)}})}};function Ke(e){return e&&typeof e==\"object\"&&typeof e.kind==\"string\"}function Ie(e){return typeof e==\"string\"?{value:e}:Ke(e)?e.kind===\"plaintext\"?{value:e.value.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}:{value:e.value}:{value:\"```\"+e.language+`\n`+e.value+\"\\n```\\n\"}}function et(e){if(e)return Array.isArray(e)?e.map(Ie):[Ie(e)]}var tt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),C(n))).then(t=>{if(t)return t.map(a=>({range:_(a.range),kind:rt(a.kind)}))})}};function rt(e){switch(e){case P.Read:return c.languages.DocumentHighlightKind.Read;case P.Write:return c.languages.DocumentHighlightKind.Write;case P.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var nt=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),C(n))).then(t=>{if(t)return[De(t)]})}};function De(e){return{uri:c.Uri.parse(e.uri),range:_(e.range)}}var it=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),C(n))).then(a=>{if(a)return a.map(De)})}},at=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),C(n),i)).then(a=>ot(a))}};function ot(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(t.range),text:t.newText}})}return{edits:n}}var st=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(t=>ut(t)?Me(t):{name:t.name,detail:\"\",containerName:t.containerName,kind:Se(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]})})}};function ut(e){return\"children\"in e}function Me(e){return{name:e.name,detail:e.detail??\"\",kind:Se(e.kind),range:_(e.range),selectionRange:_(e.selectionRange),tags:e.tags??[],children:(e.children??[]).map(n=>Me(n))}}function Se(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.File;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var _t=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(t=>({range:_(t.range),url:t.target}))}})}},ct=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Te(n)).then(a=>{if(!(!a||a.length===0))return a.map(L)}))}},dt=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Pe(n),Te(i)).then(o=>{if(!(!o||o.length===0))return o.map(L)}))}};function Te(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var ft=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(t=>({color:t.color,range:_(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Pe(n.range))).then(t=>{if(t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=L(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(L)),o})})}},gt=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<\"u\"&&(o.kind=lt(a.kind)),o})})}};function lt(e){switch(e){case R.Comment:return c.languages.FoldingRangeKind.Comment;case R.Imports:return c.languages.FoldingRangeKind.Imports;case R.Region:return c.languages.FoldingRangeKind.Region}}var ht=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(C))).then(t=>{if(t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}};function wt(e){const n=[],i=[],r=new ze(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Fe(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Qe(t,[\"/\",\"-\",\":\"]))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Ze(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new tt(t))),u.definitions&&i.push(c.languages.registerDefinitionProvider(o,new nt(t))),u.references&&i.push(c.languages.registerReferenceProvider(o,new it(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new st(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new at(t))),u.colors&&i.push(c.languages.registerColorProvider(o,new ft(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new gt(t))),u.diagnostics&&i.push(new Be(o,t,e.onDidChange)),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new ht(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new ct(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new dt(t)))}return a(),n.push(Re(i)),Re(n)}function Re(e){return{dispose:()=>Fe(e)}}function Fe(e){for(;e.length;)e.pop().dispose()}export{Qe as CompletionAdapter,nt as DefinitionAdapter,Be as DiagnosticsAdapter,ft as DocumentColorAdapter,ct as DocumentFormattingEditProvider,tt as DocumentHighlightAdapter,_t as DocumentLinkAdapter,dt as DocumentRangeFormattingEditProvider,st as DocumentSymbolAdapter,gt as FoldingRangeAdapter,Ze as HoverAdapter,it as ReferenceAdapter,at as RenameAdapter,ht as SelectionRangeAdapter,ze as WorkerManager,C as fromPosition,Pe as fromRange,wt as setupMode,_ as toRange,L as toTextEdit};\n"
  },
  {
    "path": "backend/openui/dist/assets/html-B2LDEzWk.js",
    "content": "var on=Object.defineProperty;var ln=(e,t,r)=>t in e?on(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var We=(e,t,r)=>ln(e,typeof t!=\"symbol\"?t+\"\":t,r);var ar=Object.defineProperty,sr=e=>{throw TypeError(e)},cn=(e,t,r)=>t in e?ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ir=(e,t)=>{for(var r in t)ar(e,r,{get:t[r],enumerable:!0})},Et=(e,t,r)=>cn(e,typeof t!=\"symbol\"?t+\"\":t,r),ur=(e,t,r)=>t.has(e)||sr(\"Cannot \"+r),F=(e,t,r)=>(ur(e,t,\"read from private field\"),r?r.call(e):t.get(e)),or=(e,t,r)=>t.has(e)?sr(\"Cannot add the same private member more than once\"):t instanceof WeakSet?t.add(e):t.set(e,r),pn=(e,t,r,n)=>(ur(e,t,\"write to private field\"),t.set(e,r),r),lr={};ir(lr,{languages:()=>Ks,options:()=>Ys,parsers:()=>Xr,printers:()=>nu});var hn=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},L=hn,cr=\"string\",pr=\"array\",hr=\"cursor\",st=\"indent\",it=\"align\",dr=\"trim\",ut=\"group\",ot=\"fill\",lt=\"if-break\",ct=\"indent-if-break\",mr=\"line-suffix\",gr=\"line-suffix-boundary\",Q=\"line\",fr=\"label\",pt=\"break-parent\",vr=new Set([hr,st,it,dr,ut,ot,lt,ct,mr,gr,Q,fr,pt]),dn=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t==\"string\"?t[r<0?t.length+r:r]:t.at(r)},he=dn;function mn(e){if(typeof e==\"string\")return cr;if(Array.isArray(e))return pr;if(!e)return;let{type:t}=e;if(vr.has(t))return t}var Cr=mn,gn=e=>new Intl.ListFormat(\"en-US\",{type:\"disjunction\"}).format(e);function fn(e){let t=e===null?\"null\":typeof e;if(t!==\"string\"&&t!==\"object\")return`Unexpected doc '${t}', \nExpected it to be 'string' or 'object'.`;if(Cr(e))throw new Error(\"doc is valid.\");let r=Object.prototype.toString.call(e);if(r!==\"[object Object]\")return`Unexpected doc '${r}'.`;let n=gn([...vr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.\nExpected it to be ${n}.`}var vn=class extends Error{constructor(t){super(fn(t));We(this,\"name\",\"InvalidDocError\");this.doc=t}},Cn=vn;function Sr(e,t){if(typeof e==\"string\")return t(e);let r=new Map;return n(e);function n(s){if(r.has(s))return r.get(s);let i=a(s);return r.set(s,i),i}function a(s){switch(Cr(s)){case pr:return t(s.map(n));case ot:return t({...s,parts:s.parts.map(n)});case lt:return t({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case ut:{let{expandedStates:i,contents:u}=s;return i?(i=i.map(n),u=i[0]):u=n(u),t({...s,contents:u,expandedStates:i})}case it:case st:case ct:case fr:case mr:return t({...s,contents:n(s.contents)});case cr:case hr:case dr:case gr:case Q:case pt:return t(s);default:throw new Cn(s)}}}function P(e,t=En){return Sr(e,r=>typeof r==\"string\"?Z(t,r.split(`\n`)):r)}var Sn=()=>{},yn=Sn;function M(e){return{type:st,contents:e}}function yr(e,t){return{type:it,contents:t,n:e}}function k(e,t={}){return yn(t.expandedStates),{type:ut,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function bn(e){return yr(Number.NEGATIVE_INFINITY,e)}function _n(e){return yr({type:\"root\"},e)}function br(e){return{type:ot,parts:e}}function xe(e,t=\"\",r={}){return{type:lt,breakContents:e,flatContents:t,groupId:r.groupId}}function wn(e,t){return{type:ct,contents:e,groupId:t.groupId,negate:t.negate}}var de={type:pt},An={type:Q,hard:!0},kn={type:Q,hard:!0,literal:!0},_={type:Q},D={type:Q,soft:!0},S=[An,de],En=[kn,de];function Z(e,t){let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var Se=\"'\",xt='\"';function xn(e,t){let r=t===!0||t===Se?Se:xt,n=r===Se?xt:Se,a=0,s=0;for(let i of e)i===r?a++:i===n&&s++;return a>s?n:r}var Dn=xn;function Tn(e){if(typeof e!=\"string\")throw new TypeError(\"Expected a string\");return e.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var N,Bn=class{constructor(e){or(this,N),pn(this,N,new Set(e))}getLeadingWhitespaceCount(e){let t=F(this,N),r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=F(this,N),r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return F(this,N).has(e.charAt(0))}hasTrailingWhitespace(e){return F(this,N).has(he(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Tn([...F(this,N)].join(\"\"))}]+`,n=new RegExp(t?`(${r})`:r,\"u\");return e.split(n)}hasWhitespaceCharacter(e){let t=F(this,N);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=F(this,N);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=F(this,N);return Array.prototype.every.call(e,r=>t.has(r))}};N=new WeakMap;var Ln=Bn,Fn=[\"\t\",`\n`,\"\\f\",\"\\r\",\" \"],qn=new Ln(Fn),R=qn,Nn=class extends Error{constructor(t,r,n=\"type\"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);We(this,\"name\",\"UnexpectedNodeError\");this.node=t}},In=Nn;function Pn(e){return(e==null?void 0:e.type)===\"front-matter\"}var Ne=Pn,Hn=new Set([\"sourceSpan\",\"startSourceSpan\",\"endSourceSpan\",\"nameSpan\",\"valueSpan\",\"keySpan\",\"tagDefinition\",\"tokens\",\"valueTokens\",\"switchValueSourceSpan\",\"expSourceSpan\",\"valueSourceSpan\"]),Mn=new Set([\"if\",\"else if\",\"for\",\"switch\",\"case\"]);function _r(e,t){var r;if(e.type===\"text\"||e.type===\"comment\"||Ne(e)||e.type===\"yaml\"||e.type===\"toml\")return null;if(e.type===\"attribute\"&&delete t.value,e.type===\"docType\"&&delete t.value,e.type===\"angularControlFlowBlock\"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)Mn.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type===\"angularIcuExpression\"&&(t.switchValue=e.switchValue.trim()),e.type===\"angularLetDeclarationInitializer\"&&delete t.value}_r.ignoredProperties=Hn;var Rn=_r;async function Un(e,t){if(e.language===\"yaml\"){let r=e.value.trim(),n=r?await t(r,{parser:\"yaml\"}):\"\";return _n([e.startDelimiter,e.explicitLanguage,S,n,n?S:\"\",e.endDelimiter])}}var Vn=Un;function Ie(e,t=!0){return[M([D,e]),t?D:\"\"]}function ee(e,t){let r=e.type===\"NGRoot\"?e.node.type===\"NGMicrosyntax\"&&e.node.body.length===1&&e.node.body[0].type===\"NGMicrosyntaxExpression\"?e.node.body[0].expression:e.node:e.type===\"JsExpressionRoot\"?e.node:e;return r&&(r.type===\"ObjectExpression\"||r.type===\"ArrayExpression\"||(t.parser===\"__vue_expression\"||t.parser===\"__vue_ts_expression\")&&(r.type===\"TemplateLiteral\"||r.type===\"StringLiteral\"))}async function H(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,u)=>{a=n(i,u)});let s=await t(e,r,t);return a?k(s):Ie(s)}function On(e,t,r,n){let{node:a}=r,s=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\\s*$/u.test(s)?\"\":H(s,e,{parser:\"__ng_directive\",__isInHtmlAttribute:!1},ee)}var Wn=On,zn=e=>String(e).split(/[/\\\\]/u).pop();function Dt(e,t){if(!t)return;let r=zn(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function $n(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function jn(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=$n(r,t.language)??Dt(r,t.physicalFile)??Dt(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Pe=jn,Gn=\"inline\",Kn={area:\"none\",base:\"none\",basefont:\"none\",datalist:\"none\",head:\"none\",link:\"none\",meta:\"none\",noembed:\"none\",noframes:\"none\",param:\"block\",rp:\"none\",script:\"block\",style:\"none\",template:\"inline\",title:\"none\",html:\"block\",body:\"block\",address:\"block\",blockquote:\"block\",center:\"block\",dialog:\"block\",div:\"block\",figure:\"block\",figcaption:\"block\",footer:\"block\",form:\"block\",header:\"block\",hr:\"block\",legend:\"block\",listing:\"block\",main:\"block\",p:\"block\",plaintext:\"block\",pre:\"block\",search:\"block\",xmp:\"block\",slot:\"contents\",ruby:\"ruby\",rt:\"ruby-text\",article:\"block\",aside:\"block\",h1:\"block\",h2:\"block\",h3:\"block\",h4:\"block\",h5:\"block\",h6:\"block\",hgroup:\"block\",nav:\"block\",section:\"block\",dir:\"block\",dd:\"block\",dl:\"block\",dt:\"block\",menu:\"block\",ol:\"block\",ul:\"block\",li:\"list-item\",table:\"table\",caption:\"table-caption\",colgroup:\"table-column-group\",col:\"table-column\",thead:\"table-header-group\",tbody:\"table-row-group\",tfoot:\"table-footer-group\",tr:\"table-row\",td:\"table-cell\",th:\"table-cell\",input:\"inline-block\",button:\"inline-block\",fieldset:\"block\",details:\"block\",summary:\"block\",marquee:\"inline-block\",source:\"block\",track:\"block\",meter:\"inline-block\",progress:\"inline-block\",object:\"inline-block\",video:\"inline-block\",audio:\"inline-block\",select:\"inline-block\",option:\"block\",optgroup:\"block\"},Xn=\"normal\",Yn={listing:\"pre\",plaintext:\"pre\",pre:\"pre\",xmp:\"pre\",nobr:\"nowrap\",table:\"initial\",textarea:\"pre-wrap\"};function Jn(e){return e.type===\"element\"&&!e.hasExplicitNamespace&&![\"html\",\"svg\"].includes(e.namespace)}var ce=Jn,Qn=e=>L(!1,e,/^[\\t\\f\\r ]*\\n/gu,\"\"),wr=e=>Qn(R.trimEnd(e)),Zn=e=>{let t=e,r=R.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=R.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function Ar(e,t){return!!(e.type===\"ieConditionalComment\"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type===\"ieConditionalComment\"&&!e.complete||J(e)&&e.children.some(r=>r.type!==\"text\"&&r.type!==\"interpolation\")||dt(e,t)&&!U(e)&&e.type!==\"interpolation\")}function He(e){return e.type===\"attribute\"||!e.parent||!e.prev?!1:ea(e.prev)}function ea(e){return e.type===\"comment\"&&e.value.trim()===\"prettier-ignore\"}function q(e){return e.type===\"text\"||e.type===\"comment\"}function U(e){return e.type===\"element\"&&(e.fullName===\"script\"||e.fullName===\"style\"||e.fullName===\"svg:style\"||e.fullName===\"svg:script\"||ce(e)&&(e.name===\"script\"||e.name===\"style\"))}function ta(e){return e.children&&!U(e)}function ra(e){return U(e)||e.type===\"interpolation\"||kr(e)}function kr(e){return Fr(e).startsWith(\"pre\")}function na(e,t){var r,n;let a=s();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type===\"interpolation\";return a;function s(){return Ne(e)||e.type===\"angularControlFlowBlock\"?!1:(e.type===\"text\"||e.type===\"interpolation\")&&e.prev&&(e.prev.type===\"text\"||e.prev.type===\"interpolation\")?!0:!e.parent||e.parent.cssDisplay===\"none\"?!1:J(e.parent)?!0:!(!e.prev&&(e.parent.type===\"root\"||J(e)&&e.parent||U(e.parent)||Me(e.parent,t)||!ha(e.parent.cssDisplay))||e.prev&&!ga(e.prev.cssDisplay))}}function aa(e,t){return Ne(e)||e.type===\"angularControlFlowBlock\"?!1:(e.type===\"text\"||e.type===\"interpolation\")&&e.next&&(e.next.type===\"text\"||e.next.type===\"interpolation\")?!0:!e.parent||e.parent.cssDisplay===\"none\"?!1:J(e.parent)?!0:!(!e.next&&(e.parent.type===\"root\"||J(e)&&e.parent||U(e.parent)||Me(e.parent,t)||!da(e.parent.cssDisplay))||e.next&&!ma(e.next.cssDisplay))}function sa(e){return fa(e.cssDisplay)&&!U(e)}function ye(e){return Ne(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function ia(e){return Er(e)||e.type===\"element\"&&e.children.length>0&&([\"body\",\"script\",\"style\"].includes(e.name)||e.children.some(t=>oa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!==\"text\"&&Dr(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Tr(e.lastChild))}function Er(e){return e.type===\"element\"&&e.children.length>0&&([\"html\",\"head\",\"ul\",\"ol\",\"select\"].includes(e.name)||e.cssDisplay.startsWith(\"table\")&&e.cssDisplay!==\"table-cell\")}function ze(e){return Br(e)||e.prev&&ua(e.prev)||xr(e)}function ua(e){return Br(e)||e.type===\"element\"&&e.fullName===\"br\"||xr(e)}function xr(e){return Dr(e)&&Tr(e)}function Dr(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.type===\"root\"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function Tr(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.type===\"root\"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Br(e){switch(e.type){case\"ieConditionalComment\":case\"comment\":case\"directive\":return!0;case\"element\":return[\"script\",\"select\"].includes(e.name)}return!1}function ht(e){return e.lastChild?ht(e.lastChild):e}function oa(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!==\"text\")}function Lr(e){if(e)switch(e){case\"module\":case\"text/javascript\":case\"text/babel\":case\"application/javascript\":return\"babel\";case\"application/x-typescript\":return\"typescript\";case\"text/markdown\":return\"markdown\";case\"text/html\":return\"html\";case\"text/x-handlebars-template\":return\"glimmer\";default:if(e.endsWith(\"json\")||e.endsWith(\"importmap\")||e===\"speculationrules\")return\"json\"}}function la(e,t){let{name:r,attrMap:n}=e;if(r!==\"script\"||Object.prototype.hasOwnProperty.call(n,\"src\"))return;let{type:a,lang:s}=e.attrMap;return!s&&!a?\"babel\":Pe(t,{language:s})??Lr(a)}function ca(e,t){if(!dt(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,\"src\"))return;let{type:n,lang:a}=r;return Pe(t,{language:a})??Lr(n)}function pa(e,t){if(e.name!==\"style\")return;let{lang:r}=e.attrMap;return r?Pe(t,{language:r}):\"css\"}function Tt(e,t){return la(e,t)??pa(e,t)??ca(e,t)}function me(e){return e===\"block\"||e===\"list-item\"||e.startsWith(\"table\")}function ha(e){return!me(e)&&e!==\"inline-block\"}function da(e){return!me(e)&&e!==\"inline-block\"}function ma(e){return!me(e)}function ga(e){return!me(e)}function fa(e){return!me(e)&&e!==\"inline-block\"}function J(e){return Fr(e).startsWith(\"pre\")}function va(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Ca(e,t){var r;if(te(e,t))return\"block\";if(((r=e.prev)==null?void 0:r.type)===\"comment\"){let a=e.prev.value.match(/^\\s*display:\\s*([a-z]+)\\s*$/u);if(a)return a[1]}let n=!1;if(e.type===\"element\"&&e.namespace===\"svg\")if(va(e,a=>a.fullName===\"svg:foreignObject\"))n=!0;else return e.name===\"svg\"?\"inline-block\":\"block\";switch(t.htmlWhitespaceSensitivity){case\"strict\":return\"inline\";case\"ignore\":return\"block\";default:return e.type===\"element\"&&(!e.namespace||n||ce(e))&&Kn[e.name]||Gn}}function Fr(e){return e.type===\"element\"&&(!e.namespace||ce(e))&&Yn[e.name]||Xn}function Sa(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`\n`)){if(r.length===0)continue;let n=R.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}function qr(e,t=Sa(e)){return t===0?e:e.split(`\n`).map(r=>r.slice(t)).join(`\n`)}function Nr(e){return L(!1,L(!1,e,\"&apos;\",\"'\"),\"&quot;\",'\"')}function O(e){return Nr(e.value)}var ya=new Set([\"template\",\"style\",\"script\"]);function Me(e,t){return te(e,t)&&!ya.has(e.fullName)}function te(e,t){return t.parser===\"vue\"&&e.type===\"element\"&&e.parent.type===\"root\"&&e.fullName.toLowerCase()!==\"html\"}function dt(e,t){return te(e,t)&&(Me(e,t)||e.attrMap.lang&&e.attrMap.lang!==\"html\")}function ba(e){let t=e.fullName;return t.charAt(0)===\"#\"||t===\"slot-scope\"||t===\"v-slot\"||t.startsWith(\"v-slot:\")}function _a(e,t){let r=e.parent;if(!te(r,t))return!1;let n=r.fullName,a=e.fullName;return n===\"script\"&&a===\"setup\"||n===\"style\"&&a===\"vars\"}function Ir(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?P(t):P(qr(wr(t)),S):Z(_,R.split(t))}function Pr(e,t){return te(e,t)&&e.name===\"script\"}var Hr=/\\{\\{(.+?)\\}\\}/su;async function wa(e,t){let r=[];for(let[n,a]of e.split(Hr).entries())if(n%2===0)r.push(P(a));else try{r.push(k([\"{{\",M([_,await H(a,t,{parser:\"__ng_interpolation\",__isInHtmlInterpolation:!0})]),_,\"}}\"]))}catch{r.push(\"{{\",P(a),\"}}\")}return r}function mt({parser:e}){return(t,r,n)=>H(O(n.node),t,{parser:e},ee)}var Aa=mt({parser:\"__ng_action\"}),ka=mt({parser:\"__ng_binding\"}),Ea=mt({parser:\"__ng_directive\"});function xa(e,t){if(t.parser!==\"angular\")return;let{node:r}=e,n=r.fullName;if(n.startsWith(\"(\")&&n.endsWith(\")\")||n.startsWith(\"on-\"))return Aa;if(n.startsWith(\"[\")&&n.endsWith(\"]\")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return ka;if(n.startsWith(\"*\"))return Ea;let a=O(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>Ie(br(Ir(r,a.trim())),!a.includes(\"@@\"));if(Hr.test(a))return s=>wa(a,s)}var Da=xa;function Ta(e,t){let{node:r}=e,n=O(r);if(r.fullName===\"class\"&&!t.parentParser&&!n.includes(\"{{\"))return()=>n.trim().split(/\\s+/u).join(\" \")}var Ba=Ta;function Bt(e){return e===\"\t\"||e===`\n`||e===\"\\f\"||e===\"\\r\"||e===\" \"}var La=/^[ \\t\\n\\r\\u000c]+/,Fa=/^[, \\t\\n\\r\\u000c]+/,qa=/^[^ \\t\\n\\r\\u000c]+/,Na=/[,]+$/,Lt=/^\\d+$/,Ia=/^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Pa(e){let t=e.length,r,n,a,s,i,u=0,o;function p(m){let C,w=m.exec(e.substring(u));if(w)return[C]=w,u+=C.length,C}let l=[];for(;;){if(p(Fa),u>=t){if(l.length===0)throw new Error(\"Must contain one or more image candidate strings.\");return l}o=u,r=p(qa),n=[],r.slice(-1)===\",\"?(r=r.replace(Na,\"\"),v()):f()}function f(){for(p(La),a=\"\",s=\"in descriptor\";;){if(i=e.charAt(u),s===\"in descriptor\")if(Bt(i))a&&(n.push(a),a=\"\",s=\"after descriptor\");else if(i===\",\"){u+=1,a&&n.push(a),v();return}else if(i===\"(\")a+=i,s=\"in parens\";else if(i===\"\"){a&&n.push(a),v();return}else a+=i;else if(s===\"in parens\")if(i===\")\")a+=i,s=\"in descriptor\";else if(i===\"\"){n.push(a),v();return}else a+=i;else if(s===\"after descriptor\"&&!Bt(i))if(i===\"\"){v();return}else s=\"in descriptor\",u-=1;u+=1}}function v(){let m=!1,C,w,E,x,c={},g,A,y,T,G;for(x=0;x<n.length;x++)g=n[x],A=g[g.length-1],y=g.substring(0,g.length-1),T=parseInt(y,10),G=parseFloat(y),Lt.test(y)&&A===\"w\"?((C||w)&&(m=!0),T===0?m=!0:C=T):Ia.test(y)&&A===\"x\"?((C||w||E)&&(m=!0),G<0?m=!0:w=G):Lt.test(y)&&A===\"h\"?((E||w)&&(m=!0),T===0?m=!0:E=T):m=!0;if(!m)c.source={value:r,startOffset:o},C&&(c.width={value:C}),w&&(c.density={value:w}),E&&(c.height={value:E}),l.push(c);else throw new Error(`Invalid srcset descriptor found in \"${e}\" at \"${g}\".`)}}var Ha=Pa;function Ma(e){if(e.node.fullName===\"srcset\"&&(e.parent.fullName===\"img\"||e.parent.fullName===\"source\"))return()=>Ua(O(e.node))}var Mr={width:\"w\",height:\"h\",density:\"x\"},Ra=Object.keys(Mr);function Ua(e){let t=Ha(e),r=Ra.filter(l=>t.some(f=>Object.prototype.hasOwnProperty.call(f,l)));if(r.length>1)throw new Error(\"Mixed descriptor in srcset is not supported\");let[n]=r,a=Mr[n],s=t.map(l=>l.source.value),i=Math.max(...s.map(l=>l.length)),u=t.map(l=>l[n]?String(l[n].value):\"\"),o=u.map(l=>{let f=l.indexOf(\".\");return f===-1?l.length:f}),p=Math.max(...o);return Ie(Z([\",\",_],s.map((l,f)=>{let v=[l],m=u[f];if(m){let C=i-l.length+1,w=p-o[f],E=\" \".repeat(C+w);v.push(xe(E,\" \"),m+a)}return v})))}var Va=Ma;function Oa(e,t){let{node:r}=e,n=O(e.node).trim();if(r.fullName===\"style\"&&!t.parentParser&&!n.includes(\"{{\"))return async a=>Ie(await a(n,{parser:\"css\",__isHTMLStyleAttribute:!0}))}var $e=new WeakMap;function Wa(e,t){let{root:r}=e;return $e.has(r)||$e.set(r,r.children.some(n=>Pr(n,t)&&[\"ts\",\"typescript\"].includes(n.attrMap.lang))),$e.get(r)}var gt=Wa;function za(e,t,r){let{node:n}=r,a=O(n);return H(`type T<${a}> = any`,e,{parser:\"babel-ts\",__isEmbeddedTypescriptGenericParameters:!0},ee)}function $a(e,t,{parseWithTs:r}){return H(`function _(${e}) {}`,t,{parser:r?\"babel-ts\":\"babel\",__isVueBindings:!0})}async function ja(e,t,r,n){let a=O(r.node),{left:s,operator:i,right:u}=Ga(a),o=gt(r,n);return[k(await H(`function _(${s}) {}`,e,{parser:o?\"babel-ts\":\"babel\",__isVueForBindingLeft:!0})),\" \",i,\" \",await H(u,e,{parser:o?\"__ts_expression\":\"__js_expression\"})]}function Ga(e){let t=/(.*?)\\s+(in|of)\\s+(.*)/su,r=/,([^,\\]}]*)(?:,([^,\\]}]*))?$/u,n=/^\\(|\\)$/gu,a=e.match(t);if(!a)return;let s={};if(s.for=a[3].trim(),!s.for)return;let i=L(!1,a[1].trim(),n,\"\"),u=i.match(r);u?(s.alias=i.replace(r,\"\"),s.iterator1=u[1].trim(),u[2]&&(s.iterator2=u[2].trim())):s.alias=i;let o=[s.alias,s.iterator1,s.iterator2];if(!o.some((p,l)=>!p&&(l===0||o.slice(l+1).some(Boolean))))return{left:o.filter(Boolean).join(\",\"),operator:a[2],right:s.for}}function Ka(e,t){if(t.parser!==\"vue\")return;let{node:r}=e,n=r.fullName;if(n===\"v-for\")return ja;if(n===\"generic\"&&Pr(r.parent,t))return za;let a=O(r),s=gt(e,t);if(ba(r)||_a(r,t))return i=>$a(a,i,{parseWithTs:s});if(n.startsWith(\"@\")||n.startsWith(\"v-on:\"))return i=>Xa(a,i,{parseWithTs:s});if(n.startsWith(\":\")||n.startsWith(\".\")||n.startsWith(\"v-bind:\"))return i=>Ya(a,i,{parseWithTs:s});if(n.startsWith(\"v-\"))return i=>Rr(a,i,{parseWithTs:s})}async function Xa(e,t,{parseWithTs:r}){var n;try{return await Rr(e,t,{parseWithTs:r})}catch(a){if(((n=a.cause)==null?void 0:n.code)!==\"BABEL_PARSER_SYNTAX_ERROR\")throw a}return H(e,t,{parser:r?\"__vue_ts_event_binding\":\"__vue_event_binding\"},ee)}function Ya(e,t,{parseWithTs:r}){return H(e,t,{parser:r?\"__vue_ts_expression\":\"__vue_expression\"},ee)}function Rr(e,t,{parseWithTs:r}){return H(e,t,{parser:r?\"__ts_expression\":\"__js_expression\"},ee)}var Ja=Ka;function Qa(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\\d+_\\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser===\"lwc\"&&r.value.startsWith(\"{\")&&r.value.endsWith(\"}\"))return[r.rawName,\"=\",r.value];for(let n of[Va,Oa,Ba,Ja,Da]){let a=n(e,t);if(a)return Za(a)}}}function Za(e){return async(t,r,n,a)=>{let s=await e(t,r,n,a);if(s)return s=Sr(s,i=>typeof i==\"string\"?L(!1,i,'\"',\"&quot;\"):i),[n.node.rawName,'=\"',k(s),'\"']}}var es=Qa,Ur=new Proxy(()=>{},{get:()=>Ur}),Vr=Ur;function ts(e){return Array.isArray(e)&&e.length>0}var ft=ts;function ge(e){return e.sourceSpan.start.offset}function fe(e){return e.sourceSpan.end.offset}function Je(e,t){return[e.isSelfClosing?\"\":rs(e,t),ue(e,t)]}function rs(e,t){return e.lastChild&&pe(e.lastChild)?\"\":[ns(e,t),vt(e,t)]}function ue(e,t){return(e.next?$(e.next):Ce(e.parent))?\"\":[ve(e,t),z(e,t)]}function ns(e,t){return Ce(e)?ve(e.lastChild,t):\"\"}function z(e,t){return pe(e)?vt(e.parent,t):Re(e)?Ct(e.next,t):\"\"}function vt(e,t){if(Vr.ok(!e.isSelfClosing),Or(e,t))return\"\";switch(e.type){case\"ieConditionalComment\":return\"<!\";case\"element\":if(e.hasHtmComponentClosingTag)return\"<//\";default:return`</${e.rawName}`}}function ve(e,t){if(Or(e,t))return\"\";switch(e.type){case\"ieConditionalComment\":case\"ieConditionalEndComment\":return\"[endif]-->\";case\"ieConditionalStartComment\":return\"]><!-->\";case\"interpolation\":return\"}}\";case\"angularIcuExpression\":return\"}\";case\"element\":if(e.isSelfClosing)return\"/>\";default:return\">\"}}function Or(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(He(e)||Ar(e.parent,t))}function $(e){return e.prev&&e.prev.type!==\"docType\"&&e.type!==\"angularControlFlowBlock\"&&!q(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ce(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!q(ht(e.lastChild))&&!J(e)}function pe(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&q(ht(e))}function Re(e){return e.next&&!q(e.next)&&q(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function as(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\\s+(.+))?$/su);return t?t[1]?t[1].split(/\\s+/u):!0:!1}function Ue(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ss(e,t,r){var n;let{node:a}=e;if(!ft(a.attrs))return a.isSelfClosing?\" \":\"\";let s=((n=a.prev)==null?void 0:n.type)===\"comment\"&&as(a.prev.value),i=typeof s==\"boolean\"?()=>s:Array.isArray(s)?f=>s.includes(f.rawName):()=>!1,u=e.map(({node:f})=>i(f)?P(t.originalText.slice(ge(f),fe(f))):r(),\"attrs\"),o=a.type===\"element\"&&a.fullName===\"script\"&&a.attrs.length===1&&a.attrs[0].fullName===\"src\"&&a.children.length===0,p=t.singleAttributePerLine&&a.attrs.length>1&&!te(a,t)?S:_,l=[M([o?\" \":_,Z(p,u)])];return a.firstChild&&Ue(a.firstChild)||a.isSelfClosing&&Ce(a.parent)||o?l.push(a.isSelfClosing?\" \":\"\"):l.push(t.bracketSameLine?a.isSelfClosing?\" \":\"\":a.isSelfClosing?_:D),l}function is(e){return e.firstChild&&Ue(e.firstChild)?\"\":St(e)}function Qe(e,t,r){let{node:n}=e;return[oe(n,t),ss(e,t,r),n.isSelfClosing?\"\":is(n)]}function oe(e,t){return e.prev&&Re(e.prev)?\"\":[j(e,t),Ct(e,t)]}function j(e,t){return Ue(e)?St(e.parent):$(e)?ve(e.prev,t):\"\"}var Ft=\"<!doctype\";function Ct(e,t){switch(e.type){case\"ieConditionalComment\":case\"ieConditionalStartComment\":return`<!--[if ${e.condition}`;case\"ieConditionalEndComment\":return\"<!--<!\";case\"interpolation\":return\"{{\";case\"docType\":{if(e.value===\"html\"){let r=t.filepath??\"\";if(/\\.html?$/u.test(r))return Ft}return t.originalText.slice(ge(e),fe(e)).slice(0,Ft.length)}case\"angularIcuExpression\":return\"{\";case\"element\":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function St(e){switch(Vr.ok(!e.isSelfClosing),e.type){case\"ieConditionalComment\":return\"]>\";case\"element\":if(e.condition)return\"><!--<![endif]-->\";default:return\">\"}}function us(e,t){if(!e.endSourceSpan)return\"\";let r=e.startSourceSpan.end.offset;e.firstChild&&Ue(e.firstChild)&&(r-=St(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&pe(e.lastChild)?n+=vt(e,t).length:Ce(e)&&(n-=ve(e.lastChild,t).length),t.originalText.slice(r,n)}var Wr=us,os=new Set([\"if\",\"else if\",\"for\",\"switch\",\"case\"]);function ls(e,t){let{node:r}=e;switch(r.type){case\"element\":if(U(r)||r.type===\"interpolation\")return;if(!r.isSelfClosing&&dt(r,t)){let n=Tt(r,t);return n?async(a,s)=>{let i=Wr(r,t),u=/^\\s*$/u.test(i),o=\"\";return u||(o=await a(wr(i),{parser:n,__embeddedInHtml:!0}),u=o===\"\"),[j(r,t),k(Qe(e,t,s)),u?\"\":S,o,u?\"\":S,Je(r,t),z(r,t)]}:void 0}break;case\"text\":if(U(r.parent)){let n=Tt(r.parent,t);if(n)return async a=>{let s=n===\"markdown\"?qr(r.value.replace(/^[^\\S\\n]*\\n/u,\"\")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser===\"html\"&&n===\"babel\"){let u=\"script\",{attrMap:o}=r.parent;o&&(o.type===\"module\"||o.type===\"text/babel\"&&o[\"data-type\"]===\"module\")&&(u=\"module\"),i.__babelSourceType=u}return[de,j(r,t),await a(s,i),z(r,t)]}}else if(r.parent.type===\"interpolation\")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser===\"angular\"?a.parser=\"__ng_interpolation\":t.parser===\"vue\"?a.parser=gt(e,t)?\"__vue_ts_expression\":\"__vue_expression\":a.parser=\"__js_expression\",[M([_,await n(r.value,a)]),r.parent.next&&$(r.parent.next)?\" \":_]};break;case\"attribute\":return es(e,t);case\"front-matter\":return n=>Vn(r,n);case\"angularControlFlowBlockParameters\":return os.has(e.parent.name)?Wn:void 0;case\"angularLetDeclarationInitializer\":return n=>H(r.value,n,{parser:\"__ng_binding\",__isInHtmlAttribute:!1})}}var cs=ls,ne=null;function le(e){if(ne!==null&&typeof ne.property){let t=ne;return ne=le.prototype=null,t}return ne=le.prototype=e??Object.create(null),new le}var ps=10;for(let e=0;e<=ps;e++)le();function hs(e){return le(e)}function ds(e,t=\"type\"){hs(e);function r(n){let a=n[t],s=e[a];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return s}return r}var ms=ds,gs={\"front-matter\":[],root:[\"children\"],element:[\"attrs\",\"children\"],ieConditionalComment:[\"children\"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:[\"children\"],text:[\"children\"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:[\"children\",\"parameters\"],angularControlFlowBlockParameters:[\"children\"],angularControlFlowBlockParameter:[],angularLetDeclaration:[\"init\"],angularLetDeclarationInitializer:[],angularIcuExpression:[\"cases\"],angularIcuCase:[\"expression\"]},fs=gs,vs=ms(fs),Cs=vs;function Ss(e){return/^\\s*<!--\\s*@(?:format|prettier)\\s*-->/u.test(e)}function ys(e){return`<!-- @format -->\n\n`+e}var bs=new Map([[\"if\",new Set([\"else if\",\"else\"])],[\"else if\",new Set([\"else if\",\"else\"])],[\"for\",new Set([\"empty\"])],[\"defer\",new Set([\"placeholder\",\"error\",\"loading\"])],[\"placeholder\",new Set([\"placeholder\",\"error\",\"loading\"])],[\"error\",new Set([\"placeholder\",\"error\",\"loading\"])],[\"loading\",new Set([\"placeholder\",\"error\",\"loading\"])]]);function zr(e){let t=fe(e);return e.type===\"element\"&&!e.endSourceSpan&&ft(e.children)?Math.max(t,zr(he(!1,e.children,-1))):t}function ae(e,t,r){let n=e.node;if(He(n)){let a=zr(n);return[j(n,t),P(R.trimEnd(t.originalText.slice(ge(n)+(n.prev&&Re(n.prev)?Ct(n).length:0),a-(n.next&&$(n.next)?ve(n,t).length:0)))),z(n,t)]}return r()}function be(e,t){return q(e)&&q(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?ze(t)?S:_:\"\":ze(t)?S:D:Re(e)&&(He(t)||t.firstChild||t.isSelfClosing||t.type===\"element\"&&t.attrs.length>0)||e.type===\"element\"&&e.isSelfClosing&&$(t)?\"\":!t.isLeadingSpaceSensitive||ze(t)||$(t)&&e.lastChild&&pe(e.lastChild)&&e.lastChild.lastChild&&pe(e.lastChild.lastChild)?S:t.hasLeadingSpaces?_:D}function yt(e,t,r){let{node:n}=e;if(Er(n))return[de,...e.map(s=>{let i=s.node,u=i.prev?be(i.prev,i):\"\";return[u?[u,ye(i.prev)?S:\"\"]:\"\",ae(s,t,r)]},\"children\")];let a=n.children.map(()=>Symbol(\"\"));return e.map((s,i)=>{let u=s.node;if(q(u)){if(u.prev&&q(u.prev)){let C=be(u.prev,u);if(C)return ye(u.prev)?[S,S,ae(s,t,r)]:[C,ae(s,t,r)]}return ae(s,t,r)}let o=[],p=[],l=[],f=[],v=u.prev?be(u.prev,u):\"\",m=u.next?be(u,u.next):\"\";return v&&(ye(u.prev)?o.push(S,S):v===S?o.push(S):q(u.prev)?p.push(v):p.push(xe(\"\",D,{groupId:a[i-1]}))),m&&(ye(u)?q(u.next)&&f.push(S,S):m===S?q(u.next)&&f.push(S):l.push(m)),[...o,k([...p,k([ae(s,t,r),...l],{id:a[i]})]),...f]},\"children\")}function _s(e,t,r){let{node:n}=e,a=[];ws(e)&&a.push(\"} \"),a.push(\"@\",n.name),n.parameters&&a.push(\" (\",k(r(\"parameters\")),\")\"),a.push(\" {\");let s=$r(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(M([S,yt(e,t,r)])),s&&a.push(S,\"}\")):s&&a.push(\"}\"),k(a,{shouldBreak:!0})}function $r(e){var t,r;return!(((t=e.next)==null?void 0:t.type)===\"angularControlFlowBlock\"&&(r=bs.get(e.name))!=null&&r.has(e.next.name))}function ws(e){let{previous:t}=e;return(t==null?void 0:t.type)===\"angularControlFlowBlock\"&&!He(t)&&!$r(t)}function As(e,t,r){return[M([D,Z([\";\",_],e.map(r,\"children\"))]),D]}function ks(e,t,r){let{node:n}=e;return[oe(n,t),k([n.switchValue.trim(),\", \",n.clause,n.cases.length>0?[\",\",M([_,Z(_,e.map(r,\"cases\"))])]:\"\",D]),ue(n,t)]}function Es(e,t,r){let{node:n}=e;return[n.value,\" {\",k([M([D,e.map(({node:a,isLast:s})=>{let i=[r()];return a.type===\"text\"&&(a.hasLeadingSpaces&&i.unshift(_),a.hasTrailingSpaces&&!s&&i.push(_)),i},\"expression\")]),D]),\"}\"]}function xs(e,t,r){let{node:n}=e;if(Ar(n,t))return[j(n,t),k(Qe(e,t,r)),P(Wr(n,t)),...Je(n,t),z(n,t)];let a=n.children.length===1&&(n.firstChild.type===\"interpolation\"||n.firstChild.type===\"angularIcuExpression\")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,s=Symbol(\"element-attr-group-id\"),i=l=>k([k(Qe(e,t,r),{id:s}),l,Je(n,t)]),u=l=>a?wn(l,{groupId:s}):(U(n)||Me(n,t))&&n.parent.type===\"root\"&&t.parser===\"vue\"&&!t.vueIndentScriptAndStyle?l:M(l),o=()=>a?xe(D,\"\",{groupId:s}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?_:n.firstChild.type===\"text\"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?bn(D):D,p=()=>(n.next?$(n.next):Ce(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?\" \":\"\":a?xe(D,\"\",{groupId:s}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?_:(n.lastChild.type===\"comment\"||n.lastChild.type===\"text\"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\\\n[\\\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,\"u\").test(n.lastChild.value)?\"\":D;return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?_:\"\"):i([ia(n)?de:\"\",u([o(),yt(e,t,r)]),p()])}function De(e){return e>=9&&e<=32||e==160}function bt(e){return 48<=e&&e<=57}function Te(e){return e>=97&&e<=122||e>=65&&e<=90}function Ds(e){return e>=97&&e<=102||e>=65&&e<=70||bt(e)}function _t(e){return e===10||e===13}function qt(e){return 48<=e&&e<=55}function je(e){return e===39||e===34||e===96}var Ts=/-+([a-z0-9])/g;function Bs(e){return e.replace(Ts,(...t)=>t[1].toUpperCase())}var Ze=class jr{constructor(t,r,n,a){this.file=t,this.offset=r,this.line=n,this.col=a}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,a=this.offset,s=this.line,i=this.col;for(;a>0&&t<0;)if(a--,t++,r.charCodeAt(a)==10){s--;let u=r.substring(0,a-1).lastIndexOf(`\n`);i=u>0?a-u:a}else i--;for(;a<n&&t>0;){let u=r.charCodeAt(a);a++,t--,u==10?(s++,i=0):i++}return new jr(this.file,a,s,i)}getContext(t,r){let n=this.file.content,a=this.offset;if(a!=null){a>n.length-1&&(a=n.length-1);let s=a,i=0,u=0;for(;i<t&&a>0&&(a--,i++,!(n[a]==`\n`&&++u==r)););for(i=0,u=0;i<t&&s<n.length-1&&(s++,i++,!(n[s]==`\n`&&++u==r)););return{before:n.substring(a,this.offset),after:n.substring(this.offset,s+1)}}return null}},Gr=class{constructor(e,t){this.content=e,this.url=t}},d=class{constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},Be;(function(e){e[e.WARNING=0]=\"WARNING\",e[e.ERROR=1]=\"ERROR\"})(Be||(Be={}));var Kr=class{constructor(e,t,r=Be.ERROR){this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} (\"${e.before}[${Be[this.level]} ->]${e.after}\")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:\"\";return`${this.contextualMessage()}: ${this.span.start}${e}`}},Ls=[qs,Ns,Ps,Ms,Rs,Os,Us,Vs,Ws,Hs];function Fs(e,t){for(let r of Ls)r(e,t);return e}function qs(e){e.walk(t=>{if(t.type===\"element\"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type===\"text\"&&t.children[0].value[0]===`\n`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Ns(e){let t=r=>{var n,a;return r.type===\"element\"&&((n=r.prev)==null?void 0:n.type)===\"ieConditionalStartComment\"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)===\"ieConditionalEndComment\"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let s=a.prev,i=a.firstChild;r.removeChild(s),n--;let u=new d(s.sourceSpan.start,i.sourceSpan.end),o=new d(u.start,a.sourceSpan.end);a.condition=s.condition,a.sourceSpan=o,a.startSourceSpan=u,a.removeChild(i)}})}function Is(e,t,r){e.walk(n=>{if(n.children)for(let a=0;a<n.children.length;a++){let s=n.children[a];if(s.type!==\"text\"&&!t(s))continue;s.type!==\"text\"&&(s.type=\"text\",s.value=r(s));let i=s.prev;!i||i.type!==\"text\"||(i.value+=s.value,i.sourceSpan=new d(i.sourceSpan.start,s.sourceSpan.end),n.removeChild(s),a--)}})}function Ps(e){return Is(e,t=>t.type===\"cdata\",t=>`<![CDATA[${t.value}]]>`)}function Hs(e){let t=r=>{var n,a;return r.type===\"element\"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type===\"text\"&&!R.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)===\"text\"&&((a=r.next)==null?void 0:a.type)===\"text\"};e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let s=a.prev,i=a.next;s.value+=`<${a.rawName}>`+a.firstChild.value+`</${a.rawName}>`+i.value,s.sourceSpan=new d(s.sourceSpan.start,i.sourceSpan.end),s.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,s.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function Ms(e,t){if(t.parser===\"html\")return;let r=/\\{\\{(.+?)\\}\\}/su;e.walk(n=>{if(ta(n))for(let a of n.children){if(a.type!==\"text\")continue;let s=a.sourceSpan.start,i=null,u=a.value.split(r);for(let o=0;o<u.length;o++,s=i){let p=u[o];if(o%2===0){i=s.moveBy(p.length),p.length>0&&n.insertChildBefore(a,{type:\"text\",value:p,sourceSpan:new d(s,i)});continue}i=s.moveBy(p.length+4),n.insertChildBefore(a,{type:\"interpolation\",sourceSpan:new d(s,i),children:p.length===0?[]:[{type:\"text\",value:p,sourceSpan:new d(s.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function Rs(e){e.walk(t=>{let r=t.$children;if(!r)return;if(r.length===0||r.length===1&&r[0].type===\"text\"&&R.trim(r[0].value).length===0){t.hasDanglingSpaces=r.length>0,t.$children=[];return}let n=ra(t),a=kr(t);if(!n)for(let s=0;s<r.length;s++){let i=r[s];if(i.type!==\"text\")continue;let{leadingWhitespace:u,text:o,trailingWhitespace:p}=Zn(i.value),l=i.prev,f=i.next;o?(i.value=o,i.sourceSpan=new d(i.sourceSpan.start.moveBy(u.length),i.sourceSpan.end.moveBy(-p.length)),u&&(l&&(l.hasTrailingSpaces=!0),i.hasLeadingSpaces=!0),p&&(i.hasTrailingSpaces=!0,f&&(f.hasLeadingSpaces=!0))):(t.removeChild(i),s--,(u||p)&&(l&&(l.hasTrailingSpaces=!0),f&&(f.hasLeadingSpaces=!0)))}t.isWhitespaceSensitive=n,t.isIndentationSensitive=a})}function Us(e){e.walk(t=>{t.isSelfClosing=!t.children||t.type===\"element\"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Vs(e,t){e.walk(r=>{r.type===\"element\"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\\s*\\/\\s*\\/\\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Os(e,t){e.walk(r=>{r.cssDisplay=Ca(r,t)})}function Ws(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=sa(r);return}for(let a of n)a.isLeadingSpaceSensitive=na(a,t),a.isTrailingSpaceSensitive=aa(a,t);for(let a=0;a<n.length;a++){let s=n[a];s.isLeadingSpaceSensitive=(a===0||s.prev.isTrailingSpaceSensitive)&&s.isLeadingSpaceSensitive,s.isTrailingSpaceSensitive=(a===n.length-1||s.next.isLeadingSpaceSensitive)&&s.isTrailingSpaceSensitive}}})}var zs=Fs;function $s(e,t,r){let{node:n}=e;switch(n.type){case\"front-matter\":return P(n.raw);case\"root\":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[k(yt(e,t,r)),S];case\"element\":case\"ieConditionalComment\":return xs(e,t,r);case\"angularControlFlowBlock\":return _s(e,t,r);case\"angularControlFlowBlockParameters\":return As(e,t,r);case\"angularControlFlowBlockParameter\":return R.trim(n.expression);case\"angularLetDeclaration\":return k([\"@let \",k([n.id,\" =\",k(M([_,r(\"init\")]))]),\";\"]);case\"angularLetDeclarationInitializer\":return n.value;case\"angularIcuExpression\":return ks(e,t,r);case\"angularIcuCase\":return Es(e,t,r);case\"ieConditionalStartComment\":case\"ieConditionalEndComment\":return[oe(n),ue(n)];case\"interpolation\":return[oe(n,t),...e.map(r,\"children\"),ue(n,t)];case\"text\":{if(n.parent.type===\"interpolation\"){let u=/\\n[^\\S\\n]*$/u,o=u.test(n.value),p=o?n.value.replace(u,\"\"):n.value;return[P(p),o?S:\"\"]}let a=j(n,t),s=Ir(n),i=z(n,t);return s[0]=[a,s[0]],s.push([s.pop(),i]),br(s)}case\"docType\":return[k([oe(n,t),\" \",L(!1,n.value.replace(/^html\\b/iu,\"html\"),/\\s+/gu,\" \")]),ue(n,t)];case\"comment\":return[j(n,t),P(t.originalText.slice(ge(n),fe(n))),z(n,t)];case\"attribute\":{if(n.value===null)return n.rawName;let a=Nr(n.value),s=Dn(a,'\"');return[n.rawName,\"=\",s,P(s==='\"'?L(!1,a,'\"',\"&quot;\"):L(!1,a,\"'\",\"&apos;\")),s]}case\"cdata\":default:throw new In(n,\"HTML\")}}var js={preprocess:zs,print:$s,insertPragma:ys,massageAstNode:Rn,embed:cs,getVisitorKeys:Cs},Gs=js,Ks=[{linguistLanguageId:146,name:\"Angular\",type:\"markup\",tmScope:\"text.html.basic\",aceMode:\"html\",codemirrorMode:\"htmlmixed\",codemirrorMimeType:\"text/html\",color:\"#e34c26\",aliases:[\"xhtml\"],extensions:[\".component.html\"],parsers:[\"angular\"],vscodeLanguageIds:[\"html\"],filenames:[]},{linguistLanguageId:146,name:\"HTML\",type:\"markup\",tmScope:\"text.html.basic\",aceMode:\"html\",codemirrorMode:\"htmlmixed\",codemirrorMimeType:\"text/html\",color:\"#e34c26\",aliases:[\"xhtml\"],extensions:[\".html\",\".hta\",\".htm\",\".html.hl\",\".inc\",\".xht\",\".xhtml\",\".mjml\"],parsers:[\"html\"],vscodeLanguageIds:[\"html\"]},{linguistLanguageId:146,name:\"Lightning Web Components\",type:\"markup\",tmScope:\"text.html.basic\",aceMode:\"html\",codemirrorMode:\"htmlmixed\",codemirrorMimeType:\"text/html\",color:\"#e34c26\",aliases:[\"xhtml\"],extensions:[],parsers:[\"lwc\"],vscodeLanguageIds:[\"html\"],filenames:[]},{linguistLanguageId:391,name:\"Vue\",type:\"markup\",color:\"#41b883\",extensions:[\".vue\"],tmScope:\"text.html.vue\",aceMode:\"html\",parsers:[\"vue\"],vscodeLanguageIds:[\"vue\"]}],Nt={bracketSameLine:{category:\"Common\",type:\"boolean\",default:!1,description:\"Put > of opening tags on the last line instead of on a new line.\"},singleAttributePerLine:{category:\"Common\",type:\"boolean\",default:!1,description:\"Enforce single attribute per line in HTML, Vue and JSX.\"}},It=\"HTML\",Xs={bracketSameLine:Nt.bracketSameLine,htmlWhitespaceSensitivity:{category:It,type:\"choice\",default:\"css\",description:\"How to handle whitespaces in HTML.\",choices:[{value:\"css\",description:\"Respect the default value of CSS display property.\"},{value:\"strict\",description:\"Whitespaces are considered sensitive.\"},{value:\"ignore\",description:\"Whitespaces are considered insensitive.\"}]},singleAttributePerLine:Nt.singleAttributePerLine,vueIndentScriptAndStyle:{category:It,type:\"boolean\",default:!1,description:\"Indent script and style tags in Vue files.\"}},Ys=Xs,Xr={};ir(Xr,{angular:()=>eu,html:()=>Zi,lwc:()=>ru,vue:()=>tu});var Pt;(function(e){e[e.Emulated=0]=\"Emulated\",e[e.None=2]=\"None\",e[e.ShadowDom=3]=\"ShadowDom\"})(Pt||(Pt={}));var Ht;(function(e){e[e.OnPush=0]=\"OnPush\",e[e.Default=1]=\"Default\"})(Ht||(Ht={}));var Mt;(function(e){e[e.None=0]=\"None\",e[e.SignalBased=1]=\"SignalBased\",e[e.HasDecoratorInputTransform=2]=\"HasDecoratorInputTransform\"})(Mt||(Mt={}));var Rt={name:\"custom-elements\"},Ut={name:\"no-errors-schema\"},W;(function(e){e[e.NONE=0]=\"NONE\",e[e.HTML=1]=\"HTML\",e[e.STYLE=2]=\"STYLE\",e[e.SCRIPT=3]=\"SCRIPT\",e[e.URL=4]=\"URL\",e[e.RESOURCE_URL=5]=\"RESOURCE_URL\"})(W||(W={}));var Vt;(function(e){e[e.Error=0]=\"Error\",e[e.Warning=1]=\"Warning\",e[e.Ignore=2]=\"Ignore\"})(Vt||(Vt={}));var I;(function(e){e[e.RAW_TEXT=0]=\"RAW_TEXT\",e[e.ESCAPABLE_RAW_TEXT=1]=\"ESCAPABLE_RAW_TEXT\",e[e.PARSABLE_DATA=2]=\"PARSABLE_DATA\"})(I||(I={}));function Ve(e,t=!0){if(e[0]!=\":\")return[null,e];let r=e.indexOf(\":\",1);if(r===-1){if(t)throw new Error(`Unsupported format \"${e}\" expecting \":namespace:name\"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function Ot(e){return Ve(e)[1]===\"ng-container\"}function Wt(e){return Ve(e)[1]===\"ng-content\"}function ke(e){return e===null?null:Ve(e)[0]}function Le(e,t){return e?`:${e}:${t}`:t}var Ee;function zt(){return Ee||(Ee={},_e(W.HTML,[\"iframe|srcdoc\",\"*|innerHTML\",\"*|outerHTML\"]),_e(W.STYLE,[\"*|style\"]),_e(W.URL,[\"*|formAction\",\"area|href\",\"area|ping\",\"audio|src\",\"a|href\",\"a|ping\",\"blockquote|cite\",\"body|background\",\"del|cite\",\"form|action\",\"img|src\",\"input|src\",\"ins|cite\",\"q|cite\",\"source|src\",\"track|src\",\"video|poster\",\"video|src\"]),_e(W.RESOURCE_URL,[\"applet|code\",\"applet|codebase\",\"base|href\",\"embed|src\",\"frame|src\",\"head|profile\",\"html|manifest\",\"iframe|src\",\"link|href\",\"media|src\",\"object|codebase\",\"object|data\",\"script|src\"])),Ee}function _e(e,t){for(let r of t)Ee[r.toLowerCase()]=e}var Js=class{},Qs=\"boolean\",Zs=\"number\",ei=\"string\",ti=\"object\",ri=[\"[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored\",\"[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy\",\"abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy\",\"media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume\",\":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex\",\":svg:graphics^:svg:|\",\":svg:animation^:svg:|*begin,*end,*repeat\",\":svg:geometry^:svg:|\",\":svg:componentTransferFunction^:svg:|\",\":svg:gradient^:svg:|\",\":svg:textContent^:svg:graphics|\",\":svg:textPositioning^:svg:textContent|\",\"a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username\",\"area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username\",\"audio^media|\",\"br^[HTMLElement]|clear\",\"base^[HTMLElement]|href,target\",\"body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink\",\"button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value\",\"canvas^[HTMLElement]|#height,#width\",\"content^[HTMLElement]|select\",\"dl^[HTMLElement]|!compact\",\"data^[HTMLElement]|value\",\"datalist^[HTMLElement]|\",\"details^[HTMLElement]|!open\",\"dialog^[HTMLElement]|!open,returnValue\",\"dir^[HTMLElement]|!compact\",\"div^[HTMLElement]|align\",\"embed^[HTMLElement]|align,height,name,src,type,width\",\"fieldset^[HTMLElement]|!disabled,name\",\"font^[HTMLElement]|color,face,size\",\"form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target\",\"frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src\",\"frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows\",\"hr^[HTMLElement]|align,color,!noShade,size,width\",\"head^[HTMLElement]|\",\"h1,h2,h3,h4,h5,h6^[HTMLElement]|align\",\"html^[HTMLElement]|version\",\"iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width\",\"img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width\",\"input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width\",\"li^[HTMLElement]|type,#value\",\"label^[HTMLElement]|htmlFor\",\"legend^[HTMLElement]|align\",\"link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type\",\"map^[HTMLElement]|name\",\"marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width\",\"menu^[HTMLElement]|!compact\",\"meta^[HTMLElement]|content,httpEquiv,media,name,scheme\",\"meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value\",\"ins,del^[HTMLElement]|cite,dateTime\",\"ol^[HTMLElement]|!compact,!reversed,#start,type\",\"object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width\",\"optgroup^[HTMLElement]|!disabled,label\",\"option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value\",\"output^[HTMLElement]|defaultValue,%htmlFor,name,value\",\"p^[HTMLElement]|align\",\"param^[HTMLElement]|name,type,value,valueType\",\"picture^[HTMLElement]|\",\"pre^[HTMLElement]|#width\",\"progress^[HTMLElement]|#max,#value\",\"q,blockquote,cite^[HTMLElement]|\",\"script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type\",\"select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value\",\"slot^[HTMLElement]|name\",\"source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width\",\"span^[HTMLElement]|\",\"style^[HTMLElement]|!disabled,media,type\",\"caption^[HTMLElement]|align\",\"th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width\",\"col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width\",\"table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width\",\"tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign\",\"tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign\",\"template^[HTMLElement]|\",\"textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap\",\"time^[HTMLElement]|dateTime\",\"title^[HTMLElement]|text\",\"track^[HTMLElement]|!default,kind,label,src,srclang\",\"ul^[HTMLElement]|!compact,type\",\"unknown^[HTMLElement]|\",\"video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width\",\":svg:a^:svg:graphics|\",\":svg:animate^:svg:animation|\",\":svg:animateMotion^:svg:animation|\",\":svg:animateTransform^:svg:animation|\",\":svg:circle^:svg:geometry|\",\":svg:clipPath^:svg:graphics|\",\":svg:defs^:svg:graphics|\",\":svg:desc^:svg:|\",\":svg:discard^:svg:|\",\":svg:ellipse^:svg:geometry|\",\":svg:feBlend^:svg:|\",\":svg:feColorMatrix^:svg:|\",\":svg:feComponentTransfer^:svg:|\",\":svg:feComposite^:svg:|\",\":svg:feConvolveMatrix^:svg:|\",\":svg:feDiffuseLighting^:svg:|\",\":svg:feDisplacementMap^:svg:|\",\":svg:feDistantLight^:svg:|\",\":svg:feDropShadow^:svg:|\",\":svg:feFlood^:svg:|\",\":svg:feFuncA^:svg:componentTransferFunction|\",\":svg:feFuncB^:svg:componentTransferFunction|\",\":svg:feFuncG^:svg:componentTransferFunction|\",\":svg:feFuncR^:svg:componentTransferFunction|\",\":svg:feGaussianBlur^:svg:|\",\":svg:feImage^:svg:|\",\":svg:feMerge^:svg:|\",\":svg:feMergeNode^:svg:|\",\":svg:feMorphology^:svg:|\",\":svg:feOffset^:svg:|\",\":svg:fePointLight^:svg:|\",\":svg:feSpecularLighting^:svg:|\",\":svg:feSpotLight^:svg:|\",\":svg:feTile^:svg:|\",\":svg:feTurbulence^:svg:|\",\":svg:filter^:svg:|\",\":svg:foreignObject^:svg:graphics|\",\":svg:g^:svg:graphics|\",\":svg:image^:svg:graphics|decoding\",\":svg:line^:svg:geometry|\",\":svg:linearGradient^:svg:gradient|\",\":svg:mpath^:svg:|\",\":svg:marker^:svg:|\",\":svg:mask^:svg:|\",\":svg:metadata^:svg:|\",\":svg:path^:svg:geometry|\",\":svg:pattern^:svg:|\",\":svg:polygon^:svg:geometry|\",\":svg:polyline^:svg:geometry|\",\":svg:radialGradient^:svg:gradient|\",\":svg:rect^:svg:geometry|\",\":svg:svg^:svg:graphics|#currentScale,#zoomAndPan\",\":svg:script^:svg:|type\",\":svg:set^:svg:animation|\",\":svg:stop^:svg:|\",\":svg:style^:svg:|!disabled,media,title,type\",\":svg:switch^:svg:graphics|\",\":svg:symbol^:svg:|\",\":svg:tspan^:svg:textPositioning|\",\":svg:text^:svg:textPositioning|\",\":svg:textPath^:svg:textContent|\",\":svg:title^:svg:|\",\":svg:use^:svg:graphics|\",\":svg:view^:svg:|#zoomAndPan\",\"data^[HTMLElement]|value\",\"keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name\",\"menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default\",\"summary^[HTMLElement]|\",\"time^[HTMLElement]|dateTime\",\":svg:cursor^:svg:|\",\":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex\",\":math:math^:math:|\",\":math:maction^:math:|\",\":math:menclose^:math:|\",\":math:merror^:math:|\",\":math:mfenced^:math:|\",\":math:mfrac^:math:|\",\":math:mi^:math:|\",\":math:mmultiscripts^:math:|\",\":math:mn^:math:|\",\":math:mo^:math:|\",\":math:mover^:math:|\",\":math:mpadded^:math:|\",\":math:mphantom^:math:|\",\":math:mroot^:math:|\",\":math:mrow^:math:|\",\":math:ms^:math:|\",\":math:mspace^:math:|\",\":math:msqrt^:math:|\",\":math:mstyle^:math:|\",\":math:msub^:math:|\",\":math:msubsup^:math:|\",\":math:msup^:math:|\",\":math:mtable^:math:|\",\":math:mtd^:math:|\",\":math:mtext^:math:|\",\":math:mtr^:math:|\",\":math:munder^:math:|\",\":math:munderover^:math:|\",\":math:semantics^:math:|\"],Yr=new Map(Object.entries({class:\"className\",for:\"htmlFor\",formaction:\"formAction\",innerHtml:\"innerHTML\",readonly:\"readOnly\",tabindex:\"tabIndex\"})),ni=Array.from(Yr).reduce((e,[t,r])=>(e.set(t,r),e),new Map),ai=class extends Js{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,ri.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split(\"|\"),s=a.split(\",\"),[i,u]=n.split(\"^\");i.split(\",\").forEach(p=>{this._schema.set(p.toLowerCase(),t),this._eventSchema.set(p.toLowerCase(),r)});let o=u&&this._schema.get(u.toLowerCase());if(o){for(let[p,l]of o)t.set(p,l);for(let p of this._eventSchema.get(u.toLowerCase()))r.add(p)}s.forEach(p=>{if(p.length>0)switch(p[0]){case\"*\":r.add(p.substring(1));break;case\"!\":t.set(p.substring(1),Qs);break;case\"#\":t.set(p.substring(1),Zs);break;case\"%\":t.set(p.substring(1),ti);break;default:t.set(p,ei)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ut.name))return!0;if(e.indexOf(\"-\")>-1){if(Ot(e)||Wt(e))return!1;if(r.some(n=>n.name===Rt.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get(\"unknown\")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ut.name)||e.indexOf(\"-\")>-1&&(Ot(e)||Wt(e)||t.some(r=>r.name===Rt.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=zt()[e+\"|\"+t];return n||(n=zt()[\"*|\"+t],n||W.NONE)}getMappedPropName(e){return Yr.get(e)??e}getDefaultComponentElementName(){return\"ng-component\"}validateProperty(e){return e.toLowerCase().startsWith(\"on\")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith(\"on\")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get(\"unknown\");return Array.from(t.keys()).map(r=>ni.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Bs(e)}normalizeAnimationStyleValue(e,t,r){let n=\"\",a=r.toString().trim(),s=null;if(si(e)&&r!==0&&r!==\"0\")if(typeof r==\"number\")n=\"px\";else{let i=r.match(/^[+-]?[\\d\\.]+([a-z]*)$/);i&&i[1].length==0&&(s=`Please provide a CSS unit value for ${t}:${r}`)}return{error:s,value:a+n}}};function si(e){switch(e){case\"width\":case\"height\":case\"minWidth\":case\"minHeight\":case\"maxWidth\":case\"maxHeight\":case\"left\":case\"top\":case\"bottom\":case\"right\":case\"fontSize\":case\"outlineWidth\":case\"outlineOffset\":case\"paddingTop\":case\"paddingLeft\":case\"paddingBottom\":case\"paddingRight\":case\"marginTop\":case\"marginLeft\":case\"marginBottom\":case\"marginRight\":case\"borderRadius\":case\"borderWidth\":case\"borderTopWidth\":case\"borderLeftWidth\":case\"borderRightWidth\":case\"borderBottomWidth\":case\"textIndent\":return!0;default:return!1}}var h=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=I.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:s=!1,preventNamespaceInheritance:i=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(o=>this.closedByChildren[o]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=s,this.preventNamespaceInheritance=i,this.canSelfClose=u??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType==\"object\"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},$t,se;function et(e){return se||($t=new h({canSelfClose:!0}),se=Object.assign(Object.create(null),{base:new h({isVoid:!0}),meta:new h({isVoid:!0}),area:new h({isVoid:!0}),embed:new h({isVoid:!0}),link:new h({isVoid:!0}),img:new h({isVoid:!0}),input:new h({isVoid:!0}),param:new h({isVoid:!0}),hr:new h({isVoid:!0}),br:new h({isVoid:!0}),source:new h({isVoid:!0}),track:new h({isVoid:!0}),wbr:new h({isVoid:!0}),p:new h({closedByChildren:[\"address\",\"article\",\"aside\",\"blockquote\",\"div\",\"dl\",\"fieldset\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"main\",\"nav\",\"ol\",\"p\",\"pre\",\"section\",\"table\",\"ul\"],closedByParent:!0}),thead:new h({closedByChildren:[\"tbody\",\"tfoot\"]}),tbody:new h({closedByChildren:[\"tbody\",\"tfoot\"],closedByParent:!0}),tfoot:new h({closedByChildren:[\"tbody\"],closedByParent:!0}),tr:new h({closedByChildren:[\"tr\"],closedByParent:!0}),td:new h({closedByChildren:[\"td\",\"th\"],closedByParent:!0}),th:new h({closedByChildren:[\"td\",\"th\"],closedByParent:!0}),col:new h({isVoid:!0}),svg:new h({implicitNamespacePrefix:\"svg\"}),foreignObject:new h({implicitNamespacePrefix:\"svg\",preventNamespaceInheritance:!0}),math:new h({implicitNamespacePrefix:\"math\"}),li:new h({closedByChildren:[\"li\"],closedByParent:!0}),dt:new h({closedByChildren:[\"dt\",\"dd\"]}),dd:new h({closedByChildren:[\"dt\",\"dd\"],closedByParent:!0}),rb:new h({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),rt:new h({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),rtc:new h({closedByChildren:[\"rb\",\"rtc\",\"rp\"],closedByParent:!0}),rp:new h({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),optgroup:new h({closedByChildren:[\"optgroup\"],closedByParent:!0}),option:new h({closedByChildren:[\"option\",\"optgroup\"],closedByParent:!0}),pre:new h({ignoreFirstLf:!0}),listing:new h({ignoreFirstLf:!0}),style:new h({contentType:I.RAW_TEXT}),script:new h({contentType:I.RAW_TEXT}),title:new h({contentType:{default:I.ESCAPABLE_RAW_TEXT,svg:I.PARSABLE_DATA}}),textarea:new h({contentType:I.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new ai().allKnownElementNames().forEach(t=>{!se[t]&&ke(t)===null&&(se[t]=new h({canSelfClose:!1}))})),se[e]??$t}var re=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},ii=class extends re{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type=\"text\"}visit(e,t){return e.visitText(this,t)}},ui=class extends re{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type=\"cdata\"}visit(e,t){return e.visitCdata(this,t)}},oi=class extends re{constructor(e,t,r,n,a,s){super(n,s),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},li=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type=\"expansionCase\"}visit(e,t){return e.visitExpansionCase(this,t)}},ci=class extends re{constructor(e,t,r,n,a,s,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=s,this.type=\"attribute\"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},V=class extends re{constructor(e,t,r,n,a,s=null,i=null,u){super(n,u),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=s,this.nameSpan=i,this.type=\"element\"}visit(e,t){return e.visitElement(this,t)}},pi=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type=\"comment\"}visit(e,t){return e.visitComment(this,t)}},hi=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type=\"docType\"}visit(e,t){return e.visitDocType(this,t)}},K=class extends re{constructor(e,t,r,n,a,s,i=null,u){super(n,u),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=s,this.endSourceSpan=i,this.type=\"block\"}visit(e,t){return e.visitBlock(this,t)}},jt=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type=\"blockParameter\",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},Gt=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type=\"letDeclaration\",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}};function Jr(e,t,r=null){let n=[],a=e.visit?s=>e.visit(s,r)||s.visit(e,r):s=>s.visit(e,r);return t.forEach(s=>{let i=a(s);i&&n.push(i)}),n}var di=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(s){s&&r.push(Jr(n,s,e))}return t(a),Array.prototype.concat.apply([],r)}},Fe={AElig:\"Æ\",AMP:\"&\",amp:\"&\",Aacute:\"Á\",Abreve:\"Ă\",Acirc:\"Â\",Acy:\"А\",Afr:\"𝔄\",Agrave:\"À\",Alpha:\"Α\",Amacr:\"Ā\",And:\"⩓\",Aogon:\"Ą\",Aopf:\"𝔸\",ApplyFunction:\"⁡\",af:\"⁡\",Aring:\"Å\",angst:\"Å\",Ascr:\"𝒜\",Assign:\"≔\",colone:\"≔\",coloneq:\"≔\",Atilde:\"Ã\",Auml:\"Ä\",Backslash:\"∖\",setminus:\"∖\",setmn:\"∖\",smallsetminus:\"∖\",ssetmn:\"∖\",Barv:\"⫧\",Barwed:\"⌆\",doublebarwedge:\"⌆\",Bcy:\"Б\",Because:\"∵\",becaus:\"∵\",because:\"∵\",Bernoullis:\"ℬ\",Bscr:\"ℬ\",bernou:\"ℬ\",Beta:\"Β\",Bfr:\"𝔅\",Bopf:\"𝔹\",Breve:\"˘\",breve:\"˘\",Bumpeq:\"≎\",HumpDownHump:\"≎\",bump:\"≎\",CHcy:\"Ч\",COPY:\"©\",copy:\"©\",Cacute:\"Ć\",Cap:\"⋒\",CapitalDifferentialD:\"ⅅ\",DD:\"ⅅ\",Cayleys:\"ℭ\",Cfr:\"ℭ\",Ccaron:\"Č\",Ccedil:\"Ç\",Ccirc:\"Ĉ\",Cconint:\"∰\",Cdot:\"Ċ\",Cedilla:\"¸\",cedil:\"¸\",CenterDot:\"·\",centerdot:\"·\",middot:\"·\",Chi:\"Χ\",CircleDot:\"⊙\",odot:\"⊙\",CircleMinus:\"⊖\",ominus:\"⊖\",CirclePlus:\"⊕\",oplus:\"⊕\",CircleTimes:\"⊗\",otimes:\"⊗\",ClockwiseContourIntegral:\"∲\",cwconint:\"∲\",CloseCurlyDoubleQuote:\"”\",rdquo:\"”\",rdquor:\"”\",CloseCurlyQuote:\"’\",rsquo:\"’\",rsquor:\"’\",Colon:\"∷\",Proportion:\"∷\",Colone:\"⩴\",Congruent:\"≡\",equiv:\"≡\",Conint:\"∯\",DoubleContourIntegral:\"∯\",ContourIntegral:\"∮\",conint:\"∮\",oint:\"∮\",Copf:\"ℂ\",complexes:\"ℂ\",Coproduct:\"∐\",coprod:\"∐\",CounterClockwiseContourIntegral:\"∳\",awconint:\"∳\",Cross:\"⨯\",Cscr:\"𝒞\",Cup:\"⋓\",CupCap:\"≍\",asympeq:\"≍\",DDotrahd:\"⤑\",DJcy:\"Ђ\",DScy:\"Ѕ\",DZcy:\"Џ\",Dagger:\"‡\",ddagger:\"‡\",Darr:\"↡\",Dashv:\"⫤\",DoubleLeftTee:\"⫤\",Dcaron:\"Ď\",Dcy:\"Д\",Del:\"∇\",nabla:\"∇\",Delta:\"Δ\",Dfr:\"𝔇\",DiacriticalAcute:\"´\",acute:\"´\",DiacriticalDot:\"˙\",dot:\"˙\",DiacriticalDoubleAcute:\"˝\",dblac:\"˝\",DiacriticalGrave:\"`\",grave:\"`\",DiacriticalTilde:\"˜\",tilde:\"˜\",Diamond:\"⋄\",diam:\"⋄\",diamond:\"⋄\",DifferentialD:\"ⅆ\",dd:\"ⅆ\",Dopf:\"𝔻\",Dot:\"¨\",DoubleDot:\"¨\",die:\"¨\",uml:\"¨\",DotDot:\"⃜\",DotEqual:\"≐\",doteq:\"≐\",esdot:\"≐\",DoubleDownArrow:\"⇓\",Downarrow:\"⇓\",dArr:\"⇓\",DoubleLeftArrow:\"⇐\",Leftarrow:\"⇐\",lArr:\"⇐\",DoubleLeftRightArrow:\"⇔\",Leftrightarrow:\"⇔\",hArr:\"⇔\",iff:\"⇔\",DoubleLongLeftArrow:\"⟸\",Longleftarrow:\"⟸\",xlArr:\"⟸\",DoubleLongLeftRightArrow:\"⟺\",Longleftrightarrow:\"⟺\",xhArr:\"⟺\",DoubleLongRightArrow:\"⟹\",Longrightarrow:\"⟹\",xrArr:\"⟹\",DoubleRightArrow:\"⇒\",Implies:\"⇒\",Rightarrow:\"⇒\",rArr:\"⇒\",DoubleRightTee:\"⊨\",vDash:\"⊨\",DoubleUpArrow:\"⇑\",Uparrow:\"⇑\",uArr:\"⇑\",DoubleUpDownArrow:\"⇕\",Updownarrow:\"⇕\",vArr:\"⇕\",DoubleVerticalBar:\"∥\",par:\"∥\",parallel:\"∥\",shortparallel:\"∥\",spar:\"∥\",DownArrow:\"↓\",ShortDownArrow:\"↓\",darr:\"↓\",downarrow:\"↓\",DownArrowBar:\"⤓\",DownArrowUpArrow:\"⇵\",duarr:\"⇵\",DownBreve:\"̑\",DownLeftRightVector:\"⥐\",DownLeftTeeVector:\"⥞\",DownLeftVector:\"↽\",leftharpoondown:\"↽\",lhard:\"↽\",DownLeftVectorBar:\"⥖\",DownRightTeeVector:\"⥟\",DownRightVector:\"⇁\",rhard:\"⇁\",rightharpoondown:\"⇁\",DownRightVectorBar:\"⥗\",DownTee:\"⊤\",top:\"⊤\",DownTeeArrow:\"↧\",mapstodown:\"↧\",Dscr:\"𝒟\",Dstrok:\"Đ\",ENG:\"Ŋ\",ETH:\"Ð\",Eacute:\"É\",Ecaron:\"Ě\",Ecirc:\"Ê\",Ecy:\"Э\",Edot:\"Ė\",Efr:\"𝔈\",Egrave:\"È\",Element:\"∈\",in:\"∈\",isin:\"∈\",isinv:\"∈\",Emacr:\"Ē\",EmptySmallSquare:\"◻\",EmptyVerySmallSquare:\"▫\",Eogon:\"Ę\",Eopf:\"𝔼\",Epsilon:\"Ε\",Equal:\"⩵\",EqualTilde:\"≂\",eqsim:\"≂\",esim:\"≂\",Equilibrium:\"⇌\",rightleftharpoons:\"⇌\",rlhar:\"⇌\",Escr:\"ℰ\",expectation:\"ℰ\",Esim:\"⩳\",Eta:\"Η\",Euml:\"Ë\",Exists:\"∃\",exist:\"∃\",ExponentialE:\"ⅇ\",ee:\"ⅇ\",exponentiale:\"ⅇ\",Fcy:\"Ф\",Ffr:\"𝔉\",FilledSmallSquare:\"◼\",FilledVerySmallSquare:\"▪\",blacksquare:\"▪\",squarf:\"▪\",squf:\"▪\",Fopf:\"𝔽\",ForAll:\"∀\",forall:\"∀\",Fouriertrf:\"ℱ\",Fscr:\"ℱ\",GJcy:\"Ѓ\",GT:\">\",gt:\">\",Gamma:\"Γ\",Gammad:\"Ϝ\",Gbreve:\"Ğ\",Gcedil:\"Ģ\",Gcirc:\"Ĝ\",Gcy:\"Г\",Gdot:\"Ġ\",Gfr:\"𝔊\",Gg:\"⋙\",ggg:\"⋙\",Gopf:\"𝔾\",GreaterEqual:\"≥\",ge:\"≥\",geq:\"≥\",GreaterEqualLess:\"⋛\",gel:\"⋛\",gtreqless:\"⋛\",GreaterFullEqual:\"≧\",gE:\"≧\",geqq:\"≧\",GreaterGreater:\"⪢\",GreaterLess:\"≷\",gl:\"≷\",gtrless:\"≷\",GreaterSlantEqual:\"⩾\",geqslant:\"⩾\",ges:\"⩾\",GreaterTilde:\"≳\",gsim:\"≳\",gtrsim:\"≳\",Gscr:\"𝒢\",Gt:\"≫\",NestedGreaterGreater:\"≫\",gg:\"≫\",HARDcy:\"Ъ\",Hacek:\"ˇ\",caron:\"ˇ\",Hat:\"^\",Hcirc:\"Ĥ\",Hfr:\"ℌ\",Poincareplane:\"ℌ\",HilbertSpace:\"ℋ\",Hscr:\"ℋ\",hamilt:\"ℋ\",Hopf:\"ℍ\",quaternions:\"ℍ\",HorizontalLine:\"─\",boxh:\"─\",Hstrok:\"Ħ\",HumpEqual:\"≏\",bumpe:\"≏\",bumpeq:\"≏\",IEcy:\"Е\",IJlig:\"Ĳ\",IOcy:\"Ё\",Iacute:\"Í\",Icirc:\"Î\",Icy:\"И\",Idot:\"İ\",Ifr:\"ℑ\",Im:\"ℑ\",image:\"ℑ\",imagpart:\"ℑ\",Igrave:\"Ì\",Imacr:\"Ī\",ImaginaryI:\"ⅈ\",ii:\"ⅈ\",Int:\"∬\",Integral:\"∫\",int:\"∫\",Intersection:\"⋂\",bigcap:\"⋂\",xcap:\"⋂\",InvisibleComma:\"⁣\",ic:\"⁣\",InvisibleTimes:\"⁢\",it:\"⁢\",Iogon:\"Į\",Iopf:\"𝕀\",Iota:\"Ι\",Iscr:\"ℐ\",imagline:\"ℐ\",Itilde:\"Ĩ\",Iukcy:\"І\",Iuml:\"Ï\",Jcirc:\"Ĵ\",Jcy:\"Й\",Jfr:\"𝔍\",Jopf:\"𝕁\",Jscr:\"𝒥\",Jsercy:\"Ј\",Jukcy:\"Є\",KHcy:\"Х\",KJcy:\"Ќ\",Kappa:\"Κ\",Kcedil:\"Ķ\",Kcy:\"К\",Kfr:\"𝔎\",Kopf:\"𝕂\",Kscr:\"𝒦\",LJcy:\"Љ\",LT:\"<\",lt:\"<\",Lacute:\"Ĺ\",Lambda:\"Λ\",Lang:\"⟪\",Laplacetrf:\"ℒ\",Lscr:\"ℒ\",lagran:\"ℒ\",Larr:\"↞\",twoheadleftarrow:\"↞\",Lcaron:\"Ľ\",Lcedil:\"Ļ\",Lcy:\"Л\",LeftAngleBracket:\"⟨\",lang:\"⟨\",langle:\"⟨\",LeftArrow:\"←\",ShortLeftArrow:\"←\",larr:\"←\",leftarrow:\"←\",slarr:\"←\",LeftArrowBar:\"⇤\",larrb:\"⇤\",LeftArrowRightArrow:\"⇆\",leftrightarrows:\"⇆\",lrarr:\"⇆\",LeftCeiling:\"⌈\",lceil:\"⌈\",LeftDoubleBracket:\"⟦\",lobrk:\"⟦\",LeftDownTeeVector:\"⥡\",LeftDownVector:\"⇃\",dharl:\"⇃\",downharpoonleft:\"⇃\",LeftDownVectorBar:\"⥙\",LeftFloor:\"⌊\",lfloor:\"⌊\",LeftRightArrow:\"↔\",harr:\"↔\",leftrightarrow:\"↔\",LeftRightVector:\"⥎\",LeftTee:\"⊣\",dashv:\"⊣\",LeftTeeArrow:\"↤\",mapstoleft:\"↤\",LeftTeeVector:\"⥚\",LeftTriangle:\"⊲\",vartriangleleft:\"⊲\",vltri:\"⊲\",LeftTriangleBar:\"⧏\",LeftTriangleEqual:\"⊴\",ltrie:\"⊴\",trianglelefteq:\"⊴\",LeftUpDownVector:\"⥑\",LeftUpTeeVector:\"⥠\",LeftUpVector:\"↿\",uharl:\"↿\",upharpoonleft:\"↿\",LeftUpVectorBar:\"⥘\",LeftVector:\"↼\",leftharpoonup:\"↼\",lharu:\"↼\",LeftVectorBar:\"⥒\",LessEqualGreater:\"⋚\",leg:\"⋚\",lesseqgtr:\"⋚\",LessFullEqual:\"≦\",lE:\"≦\",leqq:\"≦\",LessGreater:\"≶\",lessgtr:\"≶\",lg:\"≶\",LessLess:\"⪡\",LessSlantEqual:\"⩽\",leqslant:\"⩽\",les:\"⩽\",LessTilde:\"≲\",lesssim:\"≲\",lsim:\"≲\",Lfr:\"𝔏\",Ll:\"⋘\",Lleftarrow:\"⇚\",lAarr:\"⇚\",Lmidot:\"Ŀ\",LongLeftArrow:\"⟵\",longleftarrow:\"⟵\",xlarr:\"⟵\",LongLeftRightArrow:\"⟷\",longleftrightarrow:\"⟷\",xharr:\"⟷\",LongRightArrow:\"⟶\",longrightarrow:\"⟶\",xrarr:\"⟶\",Lopf:\"𝕃\",LowerLeftArrow:\"↙\",swarr:\"↙\",swarrow:\"↙\",LowerRightArrow:\"↘\",searr:\"↘\",searrow:\"↘\",Lsh:\"↰\",lsh:\"↰\",Lstrok:\"Ł\",Lt:\"≪\",NestedLessLess:\"≪\",ll:\"≪\",Map:\"⤅\",Mcy:\"М\",MediumSpace:\" \",Mellintrf:\"ℳ\",Mscr:\"ℳ\",phmmat:\"ℳ\",Mfr:\"𝔐\",MinusPlus:\"∓\",mnplus:\"∓\",mp:\"∓\",Mopf:\"𝕄\",Mu:\"Μ\",NJcy:\"Њ\",Nacute:\"Ń\",Ncaron:\"Ň\",Ncedil:\"Ņ\",Ncy:\"Н\",NegativeMediumSpace:\"​\",NegativeThickSpace:\"​\",NegativeThinSpace:\"​\",NegativeVeryThinSpace:\"​\",ZeroWidthSpace:\"​\",NewLine:`\n`,Nfr:\"𝔑\",NoBreak:\"⁠\",NonBreakingSpace:\" \",nbsp:\" \",Nopf:\"ℕ\",naturals:\"ℕ\",Not:\"⫬\",NotCongruent:\"≢\",nequiv:\"≢\",NotCupCap:\"≭\",NotDoubleVerticalBar:\"∦\",npar:\"∦\",nparallel:\"∦\",nshortparallel:\"∦\",nspar:\"∦\",NotElement:\"∉\",notin:\"∉\",notinva:\"∉\",NotEqual:\"≠\",ne:\"≠\",NotEqualTilde:\"≂̸\",nesim:\"≂̸\",NotExists:\"∄\",nexist:\"∄\",nexists:\"∄\",NotGreater:\"≯\",ngt:\"≯\",ngtr:\"≯\",NotGreaterEqual:\"≱\",nge:\"≱\",ngeq:\"≱\",NotGreaterFullEqual:\"≧̸\",ngE:\"≧̸\",ngeqq:\"≧̸\",NotGreaterGreater:\"≫̸\",nGtv:\"≫̸\",NotGreaterLess:\"≹\",ntgl:\"≹\",NotGreaterSlantEqual:\"⩾̸\",ngeqslant:\"⩾̸\",nges:\"⩾̸\",NotGreaterTilde:\"≵\",ngsim:\"≵\",NotHumpDownHump:\"≎̸\",nbump:\"≎̸\",NotHumpEqual:\"≏̸\",nbumpe:\"≏̸\",NotLeftTriangle:\"⋪\",nltri:\"⋪\",ntriangleleft:\"⋪\",NotLeftTriangleBar:\"⧏̸\",NotLeftTriangleEqual:\"⋬\",nltrie:\"⋬\",ntrianglelefteq:\"⋬\",NotLess:\"≮\",nless:\"≮\",nlt:\"≮\",NotLessEqual:\"≰\",nle:\"≰\",nleq:\"≰\",NotLessGreater:\"≸\",ntlg:\"≸\",NotLessLess:\"≪̸\",nLtv:\"≪̸\",NotLessSlantEqual:\"⩽̸\",nleqslant:\"⩽̸\",nles:\"⩽̸\",NotLessTilde:\"≴\",nlsim:\"≴\",NotNestedGreaterGreater:\"⪢̸\",NotNestedLessLess:\"⪡̸\",NotPrecedes:\"⊀\",npr:\"⊀\",nprec:\"⊀\",NotPrecedesEqual:\"⪯̸\",npre:\"⪯̸\",npreceq:\"⪯̸\",NotPrecedesSlantEqual:\"⋠\",nprcue:\"⋠\",NotReverseElement:\"∌\",notni:\"∌\",notniva:\"∌\",NotRightTriangle:\"⋫\",nrtri:\"⋫\",ntriangleright:\"⋫\",NotRightTriangleBar:\"⧐̸\",NotRightTriangleEqual:\"⋭\",nrtrie:\"⋭\",ntrianglerighteq:\"⋭\",NotSquareSubset:\"⊏̸\",NotSquareSubsetEqual:\"⋢\",nsqsube:\"⋢\",NotSquareSuperset:\"⊐̸\",NotSquareSupersetEqual:\"⋣\",nsqsupe:\"⋣\",NotSubset:\"⊂⃒\",nsubset:\"⊂⃒\",vnsub:\"⊂⃒\",NotSubsetEqual:\"⊈\",nsube:\"⊈\",nsubseteq:\"⊈\",NotSucceeds:\"⊁\",nsc:\"⊁\",nsucc:\"⊁\",NotSucceedsEqual:\"⪰̸\",nsce:\"⪰̸\",nsucceq:\"⪰̸\",NotSucceedsSlantEqual:\"⋡\",nsccue:\"⋡\",NotSucceedsTilde:\"≿̸\",NotSuperset:\"⊃⃒\",nsupset:\"⊃⃒\",vnsup:\"⊃⃒\",NotSupersetEqual:\"⊉\",nsupe:\"⊉\",nsupseteq:\"⊉\",NotTilde:\"≁\",nsim:\"≁\",NotTildeEqual:\"≄\",nsime:\"≄\",nsimeq:\"≄\",NotTildeFullEqual:\"≇\",ncong:\"≇\",NotTildeTilde:\"≉\",nap:\"≉\",napprox:\"≉\",NotVerticalBar:\"∤\",nmid:\"∤\",nshortmid:\"∤\",nsmid:\"∤\",Nscr:\"𝒩\",Ntilde:\"Ñ\",Nu:\"Ν\",OElig:\"Œ\",Oacute:\"Ó\",Ocirc:\"Ô\",Ocy:\"О\",Odblac:\"Ő\",Ofr:\"𝔒\",Ograve:\"Ò\",Omacr:\"Ō\",Omega:\"Ω\",ohm:\"Ω\",Omicron:\"Ο\",Oopf:\"𝕆\",OpenCurlyDoubleQuote:\"“\",ldquo:\"“\",OpenCurlyQuote:\"‘\",lsquo:\"‘\",Or:\"⩔\",Oscr:\"𝒪\",Oslash:\"Ø\",Otilde:\"Õ\",Otimes:\"⨷\",Ouml:\"Ö\",OverBar:\"‾\",oline:\"‾\",OverBrace:\"⏞\",OverBracket:\"⎴\",tbrk:\"⎴\",OverParenthesis:\"⏜\",PartialD:\"∂\",part:\"∂\",Pcy:\"П\",Pfr:\"𝔓\",Phi:\"Φ\",Pi:\"Π\",PlusMinus:\"±\",plusmn:\"±\",pm:\"±\",Popf:\"ℙ\",primes:\"ℙ\",Pr:\"⪻\",Precedes:\"≺\",pr:\"≺\",prec:\"≺\",PrecedesEqual:\"⪯\",pre:\"⪯\",preceq:\"⪯\",PrecedesSlantEqual:\"≼\",prcue:\"≼\",preccurlyeq:\"≼\",PrecedesTilde:\"≾\",precsim:\"≾\",prsim:\"≾\",Prime:\"″\",Product:\"∏\",prod:\"∏\",Proportional:\"∝\",prop:\"∝\",propto:\"∝\",varpropto:\"∝\",vprop:\"∝\",Pscr:\"𝒫\",Psi:\"Ψ\",QUOT:'\"',quot:'\"',Qfr:\"𝔔\",Qopf:\"ℚ\",rationals:\"ℚ\",Qscr:\"𝒬\",RBarr:\"⤐\",drbkarow:\"⤐\",REG:\"®\",circledR:\"®\",reg:\"®\",Racute:\"Ŕ\",Rang:\"⟫\",Rarr:\"↠\",twoheadrightarrow:\"↠\",Rarrtl:\"⤖\",Rcaron:\"Ř\",Rcedil:\"Ŗ\",Rcy:\"Р\",Re:\"ℜ\",Rfr:\"ℜ\",real:\"ℜ\",realpart:\"ℜ\",ReverseElement:\"∋\",SuchThat:\"∋\",ni:\"∋\",niv:\"∋\",ReverseEquilibrium:\"⇋\",leftrightharpoons:\"⇋\",lrhar:\"⇋\",ReverseUpEquilibrium:\"⥯\",duhar:\"⥯\",Rho:\"Ρ\",RightAngleBracket:\"⟩\",rang:\"⟩\",rangle:\"⟩\",RightArrow:\"→\",ShortRightArrow:\"→\",rarr:\"→\",rightarrow:\"→\",srarr:\"→\",RightArrowBar:\"⇥\",rarrb:\"⇥\",RightArrowLeftArrow:\"⇄\",rightleftarrows:\"⇄\",rlarr:\"⇄\",RightCeiling:\"⌉\",rceil:\"⌉\",RightDoubleBracket:\"⟧\",robrk:\"⟧\",RightDownTeeVector:\"⥝\",RightDownVector:\"⇂\",dharr:\"⇂\",downharpoonright:\"⇂\",RightDownVectorBar:\"⥕\",RightFloor:\"⌋\",rfloor:\"⌋\",RightTee:\"⊢\",vdash:\"⊢\",RightTeeArrow:\"↦\",map:\"↦\",mapsto:\"↦\",RightTeeVector:\"⥛\",RightTriangle:\"⊳\",vartriangleright:\"⊳\",vrtri:\"⊳\",RightTriangleBar:\"⧐\",RightTriangleEqual:\"⊵\",rtrie:\"⊵\",trianglerighteq:\"⊵\",RightUpDownVector:\"⥏\",RightUpTeeVector:\"⥜\",RightUpVector:\"↾\",uharr:\"↾\",upharpoonright:\"↾\",RightUpVectorBar:\"⥔\",RightVector:\"⇀\",rharu:\"⇀\",rightharpoonup:\"⇀\",RightVectorBar:\"⥓\",Ropf:\"ℝ\",reals:\"ℝ\",RoundImplies:\"⥰\",Rrightarrow:\"⇛\",rAarr:\"⇛\",Rscr:\"ℛ\",realine:\"ℛ\",Rsh:\"↱\",rsh:\"↱\",RuleDelayed:\"⧴\",SHCHcy:\"Щ\",SHcy:\"Ш\",SOFTcy:\"Ь\",Sacute:\"Ś\",Sc:\"⪼\",Scaron:\"Š\",Scedil:\"Ş\",Scirc:\"Ŝ\",Scy:\"С\",Sfr:\"𝔖\",ShortUpArrow:\"↑\",UpArrow:\"↑\",uarr:\"↑\",uparrow:\"↑\",Sigma:\"Σ\",SmallCircle:\"∘\",compfn:\"∘\",Sopf:\"𝕊\",Sqrt:\"√\",radic:\"√\",Square:\"□\",squ:\"□\",square:\"□\",SquareIntersection:\"⊓\",sqcap:\"⊓\",SquareSubset:\"⊏\",sqsub:\"⊏\",sqsubset:\"⊏\",SquareSubsetEqual:\"⊑\",sqsube:\"⊑\",sqsubseteq:\"⊑\",SquareSuperset:\"⊐\",sqsup:\"⊐\",sqsupset:\"⊐\",SquareSupersetEqual:\"⊒\",sqsupe:\"⊒\",sqsupseteq:\"⊒\",SquareUnion:\"⊔\",sqcup:\"⊔\",Sscr:\"𝒮\",Star:\"⋆\",sstarf:\"⋆\",Sub:\"⋐\",Subset:\"⋐\",SubsetEqual:\"⊆\",sube:\"⊆\",subseteq:\"⊆\",Succeeds:\"≻\",sc:\"≻\",succ:\"≻\",SucceedsEqual:\"⪰\",sce:\"⪰\",succeq:\"⪰\",SucceedsSlantEqual:\"≽\",sccue:\"≽\",succcurlyeq:\"≽\",SucceedsTilde:\"≿\",scsim:\"≿\",succsim:\"≿\",Sum:\"∑\",sum:\"∑\",Sup:\"⋑\",Supset:\"⋑\",Superset:\"⊃\",sup:\"⊃\",supset:\"⊃\",SupersetEqual:\"⊇\",supe:\"⊇\",supseteq:\"⊇\",THORN:\"Þ\",TRADE:\"™\",trade:\"™\",TSHcy:\"Ћ\",TScy:\"Ц\",Tab:\"\t\",Tau:\"Τ\",Tcaron:\"Ť\",Tcedil:\"Ţ\",Tcy:\"Т\",Tfr:\"𝔗\",Therefore:\"∴\",there4:\"∴\",therefore:\"∴\",Theta:\"Θ\",ThickSpace:\"  \",ThinSpace:\" \",thinsp:\" \",Tilde:\"∼\",sim:\"∼\",thicksim:\"∼\",thksim:\"∼\",TildeEqual:\"≃\",sime:\"≃\",simeq:\"≃\",TildeFullEqual:\"≅\",cong:\"≅\",TildeTilde:\"≈\",ap:\"≈\",approx:\"≈\",asymp:\"≈\",thickapprox:\"≈\",thkap:\"≈\",Topf:\"𝕋\",TripleDot:\"⃛\",tdot:\"⃛\",Tscr:\"𝒯\",Tstrok:\"Ŧ\",Uacute:\"Ú\",Uarr:\"↟\",Uarrocir:\"⥉\",Ubrcy:\"Ў\",Ubreve:\"Ŭ\",Ucirc:\"Û\",Ucy:\"У\",Udblac:\"Ű\",Ufr:\"𝔘\",Ugrave:\"Ù\",Umacr:\"Ū\",UnderBar:\"_\",lowbar:\"_\",UnderBrace:\"⏟\",UnderBracket:\"⎵\",bbrk:\"⎵\",UnderParenthesis:\"⏝\",Union:\"⋃\",bigcup:\"⋃\",xcup:\"⋃\",UnionPlus:\"⊎\",uplus:\"⊎\",Uogon:\"Ų\",Uopf:\"𝕌\",UpArrowBar:\"⤒\",UpArrowDownArrow:\"⇅\",udarr:\"⇅\",UpDownArrow:\"↕\",updownarrow:\"↕\",varr:\"↕\",UpEquilibrium:\"⥮\",udhar:\"⥮\",UpTee:\"⊥\",bot:\"⊥\",bottom:\"⊥\",perp:\"⊥\",UpTeeArrow:\"↥\",mapstoup:\"↥\",UpperLeftArrow:\"↖\",nwarr:\"↖\",nwarrow:\"↖\",UpperRightArrow:\"↗\",nearr:\"↗\",nearrow:\"↗\",Upsi:\"ϒ\",upsih:\"ϒ\",Upsilon:\"Υ\",Uring:\"Ů\",Uscr:\"𝒰\",Utilde:\"Ũ\",Uuml:\"Ü\",VDash:\"⊫\",Vbar:\"⫫\",Vcy:\"В\",Vdash:\"⊩\",Vdashl:\"⫦\",Vee:\"⋁\",bigvee:\"⋁\",xvee:\"⋁\",Verbar:\"‖\",Vert:\"‖\",VerticalBar:\"∣\",mid:\"∣\",shortmid:\"∣\",smid:\"∣\",VerticalLine:\"|\",verbar:\"|\",vert:\"|\",VerticalSeparator:\"❘\",VerticalTilde:\"≀\",wr:\"≀\",wreath:\"≀\",VeryThinSpace:\" \",hairsp:\" \",Vfr:\"𝔙\",Vopf:\"𝕍\",Vscr:\"𝒱\",Vvdash:\"⊪\",Wcirc:\"Ŵ\",Wedge:\"⋀\",bigwedge:\"⋀\",xwedge:\"⋀\",Wfr:\"𝔚\",Wopf:\"𝕎\",Wscr:\"𝒲\",Xfr:\"𝔛\",Xi:\"Ξ\",Xopf:\"𝕏\",Xscr:\"𝒳\",YAcy:\"Я\",YIcy:\"Ї\",YUcy:\"Ю\",Yacute:\"Ý\",Ycirc:\"Ŷ\",Ycy:\"Ы\",Yfr:\"𝔜\",Yopf:\"𝕐\",Yscr:\"𝒴\",Yuml:\"Ÿ\",ZHcy:\"Ж\",Zacute:\"Ź\",Zcaron:\"Ž\",Zcy:\"З\",Zdot:\"Ż\",Zeta:\"Ζ\",Zfr:\"ℨ\",zeetrf:\"ℨ\",Zopf:\"ℤ\",integers:\"ℤ\",Zscr:\"𝒵\",aacute:\"á\",abreve:\"ă\",ac:\"∾\",mstpos:\"∾\",acE:\"∾̳\",acd:\"∿\",acirc:\"â\",acy:\"а\",aelig:\"æ\",afr:\"𝔞\",agrave:\"à\",alefsym:\"ℵ\",aleph:\"ℵ\",alpha:\"α\",amacr:\"ā\",amalg:\"⨿\",and:\"∧\",wedge:\"∧\",andand:\"⩕\",andd:\"⩜\",andslope:\"⩘\",andv:\"⩚\",ang:\"∠\",angle:\"∠\",ange:\"⦤\",angmsd:\"∡\",measuredangle:\"∡\",angmsdaa:\"⦨\",angmsdab:\"⦩\",angmsdac:\"⦪\",angmsdad:\"⦫\",angmsdae:\"⦬\",angmsdaf:\"⦭\",angmsdag:\"⦮\",angmsdah:\"⦯\",angrt:\"∟\",angrtvb:\"⊾\",angrtvbd:\"⦝\",angsph:\"∢\",angzarr:\"⍼\",aogon:\"ą\",aopf:\"𝕒\",apE:\"⩰\",apacir:\"⩯\",ape:\"≊\",approxeq:\"≊\",apid:\"≋\",apos:\"'\",aring:\"å\",ascr:\"𝒶\",ast:\"*\",midast:\"*\",atilde:\"ã\",auml:\"ä\",awint:\"⨑\",bNot:\"⫭\",backcong:\"≌\",bcong:\"≌\",backepsilon:\"϶\",bepsi:\"϶\",backprime:\"‵\",bprime:\"‵\",backsim:\"∽\",bsim:\"∽\",backsimeq:\"⋍\",bsime:\"⋍\",barvee:\"⊽\",barwed:\"⌅\",barwedge:\"⌅\",bbrktbrk:\"⎶\",bcy:\"б\",bdquo:\"„\",ldquor:\"„\",bemptyv:\"⦰\",beta:\"β\",beth:\"ℶ\",between:\"≬\",twixt:\"≬\",bfr:\"𝔟\",bigcirc:\"◯\",xcirc:\"◯\",bigodot:\"⨀\",xodot:\"⨀\",bigoplus:\"⨁\",xoplus:\"⨁\",bigotimes:\"⨂\",xotime:\"⨂\",bigsqcup:\"⨆\",xsqcup:\"⨆\",bigstar:\"★\",starf:\"★\",bigtriangledown:\"▽\",xdtri:\"▽\",bigtriangleup:\"△\",xutri:\"△\",biguplus:\"⨄\",xuplus:\"⨄\",bkarow:\"⤍\",rbarr:\"⤍\",blacklozenge:\"⧫\",lozf:\"⧫\",blacktriangle:\"▴\",utrif:\"▴\",blacktriangledown:\"▾\",dtrif:\"▾\",blacktriangleleft:\"◂\",ltrif:\"◂\",blacktriangleright:\"▸\",rtrif:\"▸\",blank:\"␣\",blk12:\"▒\",blk14:\"░\",blk34:\"▓\",block:\"█\",bne:\"=⃥\",bnequiv:\"≡⃥\",bnot:\"⌐\",bopf:\"𝕓\",bowtie:\"⋈\",boxDL:\"╗\",boxDR:\"╔\",boxDl:\"╖\",boxDr:\"╓\",boxH:\"═\",boxHD:\"╦\",boxHU:\"╩\",boxHd:\"╤\",boxHu:\"╧\",boxUL:\"╝\",boxUR:\"╚\",boxUl:\"╜\",boxUr:\"╙\",boxV:\"║\",boxVH:\"╬\",boxVL:\"╣\",boxVR:\"╠\",boxVh:\"╫\",boxVl:\"╢\",boxVr:\"╟\",boxbox:\"⧉\",boxdL:\"╕\",boxdR:\"╒\",boxdl:\"┐\",boxdr:\"┌\",boxhD:\"╥\",boxhU:\"╨\",boxhd:\"┬\",boxhu:\"┴\",boxminus:\"⊟\",minusb:\"⊟\",boxplus:\"⊞\",plusb:\"⊞\",boxtimes:\"⊠\",timesb:\"⊠\",boxuL:\"╛\",boxuR:\"╘\",boxul:\"┘\",boxur:\"└\",boxv:\"│\",boxvH:\"╪\",boxvL:\"╡\",boxvR:\"╞\",boxvh:\"┼\",boxvl:\"┤\",boxvr:\"├\",brvbar:\"¦\",bscr:\"𝒷\",bsemi:\"⁏\",bsol:\"\\\\\",bsolb:\"⧅\",bsolhsub:\"⟈\",bull:\"•\",bullet:\"•\",bumpE:\"⪮\",cacute:\"ć\",cap:\"∩\",capand:\"⩄\",capbrcup:\"⩉\",capcap:\"⩋\",capcup:\"⩇\",capdot:\"⩀\",caps:\"∩︀\",caret:\"⁁\",ccaps:\"⩍\",ccaron:\"č\",ccedil:\"ç\",ccirc:\"ĉ\",ccups:\"⩌\",ccupssm:\"⩐\",cdot:\"ċ\",cemptyv:\"⦲\",cent:\"¢\",cfr:\"𝔠\",chcy:\"ч\",check:\"✓\",checkmark:\"✓\",chi:\"χ\",cir:\"○\",cirE:\"⧃\",circ:\"ˆ\",circeq:\"≗\",cire:\"≗\",circlearrowleft:\"↺\",olarr:\"↺\",circlearrowright:\"↻\",orarr:\"↻\",circledS:\"Ⓢ\",oS:\"Ⓢ\",circledast:\"⊛\",oast:\"⊛\",circledcirc:\"⊚\",ocir:\"⊚\",circleddash:\"⊝\",odash:\"⊝\",cirfnint:\"⨐\",cirmid:\"⫯\",cirscir:\"⧂\",clubs:\"♣\",clubsuit:\"♣\",colon:\":\",comma:\",\",commat:\"@\",comp:\"∁\",complement:\"∁\",congdot:\"⩭\",copf:\"𝕔\",copysr:\"℗\",crarr:\"↵\",cross:\"✗\",cscr:\"𝒸\",csub:\"⫏\",csube:\"⫑\",csup:\"⫐\",csupe:\"⫒\",ctdot:\"⋯\",cudarrl:\"⤸\",cudarrr:\"⤵\",cuepr:\"⋞\",curlyeqprec:\"⋞\",cuesc:\"⋟\",curlyeqsucc:\"⋟\",cularr:\"↶\",curvearrowleft:\"↶\",cularrp:\"⤽\",cup:\"∪\",cupbrcap:\"⩈\",cupcap:\"⩆\",cupcup:\"⩊\",cupdot:\"⊍\",cupor:\"⩅\",cups:\"∪︀\",curarr:\"↷\",curvearrowright:\"↷\",curarrm:\"⤼\",curlyvee:\"⋎\",cuvee:\"⋎\",curlywedge:\"⋏\",cuwed:\"⋏\",curren:\"¤\",cwint:\"∱\",cylcty:\"⌭\",dHar:\"⥥\",dagger:\"†\",daleth:\"ℸ\",dash:\"‐\",hyphen:\"‐\",dbkarow:\"⤏\",rBarr:\"⤏\",dcaron:\"ď\",dcy:\"д\",ddarr:\"⇊\",downdownarrows:\"⇊\",ddotseq:\"⩷\",eDDot:\"⩷\",deg:\"°\",delta:\"δ\",demptyv:\"⦱\",dfisht:\"⥿\",dfr:\"𝔡\",diamondsuit:\"♦\",diams:\"♦\",digamma:\"ϝ\",gammad:\"ϝ\",disin:\"⋲\",div:\"÷\",divide:\"÷\",divideontimes:\"⋇\",divonx:\"⋇\",djcy:\"ђ\",dlcorn:\"⌞\",llcorner:\"⌞\",dlcrop:\"⌍\",dollar:\"$\",dopf:\"𝕕\",doteqdot:\"≑\",eDot:\"≑\",dotminus:\"∸\",minusd:\"∸\",dotplus:\"∔\",plusdo:\"∔\",dotsquare:\"⊡\",sdotb:\"⊡\",drcorn:\"⌟\",lrcorner:\"⌟\",drcrop:\"⌌\",dscr:\"𝒹\",dscy:\"ѕ\",dsol:\"⧶\",dstrok:\"đ\",dtdot:\"⋱\",dtri:\"▿\",triangledown:\"▿\",dwangle:\"⦦\",dzcy:\"џ\",dzigrarr:\"⟿\",eacute:\"é\",easter:\"⩮\",ecaron:\"ě\",ecir:\"≖\",eqcirc:\"≖\",ecirc:\"ê\",ecolon:\"≕\",eqcolon:\"≕\",ecy:\"э\",edot:\"ė\",efDot:\"≒\",fallingdotseq:\"≒\",efr:\"𝔢\",eg:\"⪚\",egrave:\"è\",egs:\"⪖\",eqslantgtr:\"⪖\",egsdot:\"⪘\",el:\"⪙\",elinters:\"⏧\",ell:\"ℓ\",els:\"⪕\",eqslantless:\"⪕\",elsdot:\"⪗\",emacr:\"ē\",empty:\"∅\",emptyset:\"∅\",emptyv:\"∅\",varnothing:\"∅\",emsp13:\" \",emsp14:\" \",emsp:\" \",eng:\"ŋ\",ensp:\" \",eogon:\"ę\",eopf:\"𝕖\",epar:\"⋕\",eparsl:\"⧣\",eplus:\"⩱\",epsi:\"ε\",epsilon:\"ε\",epsiv:\"ϵ\",straightepsilon:\"ϵ\",varepsilon:\"ϵ\",equals:\"=\",equest:\"≟\",questeq:\"≟\",equivDD:\"⩸\",eqvparsl:\"⧥\",erDot:\"≓\",risingdotseq:\"≓\",erarr:\"⥱\",escr:\"ℯ\",eta:\"η\",eth:\"ð\",euml:\"ë\",euro:\"€\",excl:\"!\",fcy:\"ф\",female:\"♀\",ffilig:\"ﬃ\",fflig:\"ﬀ\",ffllig:\"ﬄ\",ffr:\"𝔣\",filig:\"ﬁ\",fjlig:\"fj\",flat:\"♭\",fllig:\"ﬂ\",fltns:\"▱\",fnof:\"ƒ\",fopf:\"𝕗\",fork:\"⋔\",pitchfork:\"⋔\",forkv:\"⫙\",fpartint:\"⨍\",frac12:\"½\",half:\"½\",frac13:\"⅓\",frac14:\"¼\",frac15:\"⅕\",frac16:\"⅙\",frac18:\"⅛\",frac23:\"⅔\",frac25:\"⅖\",frac34:\"¾\",frac35:\"⅗\",frac38:\"⅜\",frac45:\"⅘\",frac56:\"⅚\",frac58:\"⅝\",frac78:\"⅞\",frasl:\"⁄\",frown:\"⌢\",sfrown:\"⌢\",fscr:\"𝒻\",gEl:\"⪌\",gtreqqless:\"⪌\",gacute:\"ǵ\",gamma:\"γ\",gap:\"⪆\",gtrapprox:\"⪆\",gbreve:\"ğ\",gcirc:\"ĝ\",gcy:\"г\",gdot:\"ġ\",gescc:\"⪩\",gesdot:\"⪀\",gesdoto:\"⪂\",gesdotol:\"⪄\",gesl:\"⋛︀\",gesles:\"⪔\",gfr:\"𝔤\",gimel:\"ℷ\",gjcy:\"ѓ\",glE:\"⪒\",gla:\"⪥\",glj:\"⪤\",gnE:\"≩\",gneqq:\"≩\",gnap:\"⪊\",gnapprox:\"⪊\",gne:\"⪈\",gneq:\"⪈\",gnsim:\"⋧\",gopf:\"𝕘\",gscr:\"ℊ\",gsime:\"⪎\",gsiml:\"⪐\",gtcc:\"⪧\",gtcir:\"⩺\",gtdot:\"⋗\",gtrdot:\"⋗\",gtlPar:\"⦕\",gtquest:\"⩼\",gtrarr:\"⥸\",gvertneqq:\"≩︀\",gvnE:\"≩︀\",hardcy:\"ъ\",harrcir:\"⥈\",harrw:\"↭\",leftrightsquigarrow:\"↭\",hbar:\"ℏ\",hslash:\"ℏ\",planck:\"ℏ\",plankv:\"ℏ\",hcirc:\"ĥ\",hearts:\"♥\",heartsuit:\"♥\",hellip:\"…\",mldr:\"…\",hercon:\"⊹\",hfr:\"𝔥\",hksearow:\"⤥\",searhk:\"⤥\",hkswarow:\"⤦\",swarhk:\"⤦\",hoarr:\"⇿\",homtht:\"∻\",hookleftarrow:\"↩\",larrhk:\"↩\",hookrightarrow:\"↪\",rarrhk:\"↪\",hopf:\"𝕙\",horbar:\"―\",hscr:\"𝒽\",hstrok:\"ħ\",hybull:\"⁃\",iacute:\"í\",icirc:\"î\",icy:\"и\",iecy:\"е\",iexcl:\"¡\",ifr:\"𝔦\",igrave:\"ì\",iiiint:\"⨌\",qint:\"⨌\",iiint:\"∭\",tint:\"∭\",iinfin:\"⧜\",iiota:\"℩\",ijlig:\"ĳ\",imacr:\"ī\",imath:\"ı\",inodot:\"ı\",imof:\"⊷\",imped:\"Ƶ\",incare:\"℅\",infin:\"∞\",infintie:\"⧝\",intcal:\"⊺\",intercal:\"⊺\",intlarhk:\"⨗\",intprod:\"⨼\",iprod:\"⨼\",iocy:\"ё\",iogon:\"į\",iopf:\"𝕚\",iota:\"ι\",iquest:\"¿\",iscr:\"𝒾\",isinE:\"⋹\",isindot:\"⋵\",isins:\"⋴\",isinsv:\"⋳\",itilde:\"ĩ\",iukcy:\"і\",iuml:\"ï\",jcirc:\"ĵ\",jcy:\"й\",jfr:\"𝔧\",jmath:\"ȷ\",jopf:\"𝕛\",jscr:\"𝒿\",jsercy:\"ј\",jukcy:\"є\",kappa:\"κ\",kappav:\"ϰ\",varkappa:\"ϰ\",kcedil:\"ķ\",kcy:\"к\",kfr:\"𝔨\",kgreen:\"ĸ\",khcy:\"х\",kjcy:\"ќ\",kopf:\"𝕜\",kscr:\"𝓀\",lAtail:\"⤛\",lBarr:\"⤎\",lEg:\"⪋\",lesseqqgtr:\"⪋\",lHar:\"⥢\",lacute:\"ĺ\",laemptyv:\"⦴\",lambda:\"λ\",langd:\"⦑\",lap:\"⪅\",lessapprox:\"⪅\",laquo:\"«\",larrbfs:\"⤟\",larrfs:\"⤝\",larrlp:\"↫\",looparrowleft:\"↫\",larrpl:\"⤹\",larrsim:\"⥳\",larrtl:\"↢\",leftarrowtail:\"↢\",lat:\"⪫\",latail:\"⤙\",late:\"⪭\",lates:\"⪭︀\",lbarr:\"⤌\",lbbrk:\"❲\",lbrace:\"{\",lcub:\"{\",lbrack:\"[\",lsqb:\"[\",lbrke:\"⦋\",lbrksld:\"⦏\",lbrkslu:\"⦍\",lcaron:\"ľ\",lcedil:\"ļ\",lcy:\"л\",ldca:\"⤶\",ldrdhar:\"⥧\",ldrushar:\"⥋\",ldsh:\"↲\",le:\"≤\",leq:\"≤\",leftleftarrows:\"⇇\",llarr:\"⇇\",leftthreetimes:\"⋋\",lthree:\"⋋\",lescc:\"⪨\",lesdot:\"⩿\",lesdoto:\"⪁\",lesdotor:\"⪃\",lesg:\"⋚︀\",lesges:\"⪓\",lessdot:\"⋖\",ltdot:\"⋖\",lfisht:\"⥼\",lfr:\"𝔩\",lgE:\"⪑\",lharul:\"⥪\",lhblk:\"▄\",ljcy:\"љ\",llhard:\"⥫\",lltri:\"◺\",lmidot:\"ŀ\",lmoust:\"⎰\",lmoustache:\"⎰\",lnE:\"≨\",lneqq:\"≨\",lnap:\"⪉\",lnapprox:\"⪉\",lne:\"⪇\",lneq:\"⪇\",lnsim:\"⋦\",loang:\"⟬\",loarr:\"⇽\",longmapsto:\"⟼\",xmap:\"⟼\",looparrowright:\"↬\",rarrlp:\"↬\",lopar:\"⦅\",lopf:\"𝕝\",loplus:\"⨭\",lotimes:\"⨴\",lowast:\"∗\",loz:\"◊\",lozenge:\"◊\",lpar:\"(\",lparlt:\"⦓\",lrhard:\"⥭\",lrm:\"‎\",lrtri:\"⊿\",lsaquo:\"‹\",lscr:\"𝓁\",lsime:\"⪍\",lsimg:\"⪏\",lsquor:\"‚\",sbquo:\"‚\",lstrok:\"ł\",ltcc:\"⪦\",ltcir:\"⩹\",ltimes:\"⋉\",ltlarr:\"⥶\",ltquest:\"⩻\",ltrPar:\"⦖\",ltri:\"◃\",triangleleft:\"◃\",lurdshar:\"⥊\",luruhar:\"⥦\",lvertneqq:\"≨︀\",lvnE:\"≨︀\",mDDot:\"∺\",macr:\"¯\",strns:\"¯\",male:\"♂\",malt:\"✠\",maltese:\"✠\",marker:\"▮\",mcomma:\"⨩\",mcy:\"м\",mdash:\"—\",mfr:\"𝔪\",mho:\"℧\",micro:\"µ\",midcir:\"⫰\",minus:\"−\",minusdu:\"⨪\",mlcp:\"⫛\",models:\"⊧\",mopf:\"𝕞\",mscr:\"𝓂\",mu:\"μ\",multimap:\"⊸\",mumap:\"⊸\",nGg:\"⋙̸\",nGt:\"≫⃒\",nLeftarrow:\"⇍\",nlArr:\"⇍\",nLeftrightarrow:\"⇎\",nhArr:\"⇎\",nLl:\"⋘̸\",nLt:\"≪⃒\",nRightarrow:\"⇏\",nrArr:\"⇏\",nVDash:\"⊯\",nVdash:\"⊮\",nacute:\"ń\",nang:\"∠⃒\",napE:\"⩰̸\",napid:\"≋̸\",napos:\"ŉ\",natur:\"♮\",natural:\"♮\",ncap:\"⩃\",ncaron:\"ň\",ncedil:\"ņ\",ncongdot:\"⩭̸\",ncup:\"⩂\",ncy:\"н\",ndash:\"–\",neArr:\"⇗\",nearhk:\"⤤\",nedot:\"≐̸\",nesear:\"⤨\",toea:\"⤨\",nfr:\"𝔫\",nharr:\"↮\",nleftrightarrow:\"↮\",nhpar:\"⫲\",nis:\"⋼\",nisd:\"⋺\",njcy:\"њ\",nlE:\"≦̸\",nleqq:\"≦̸\",nlarr:\"↚\",nleftarrow:\"↚\",nldr:\"‥\",nopf:\"𝕟\",not:\"¬\",notinE:\"⋹̸\",notindot:\"⋵̸\",notinvb:\"⋷\",notinvc:\"⋶\",notnivb:\"⋾\",notnivc:\"⋽\",nparsl:\"⫽⃥\",npart:\"∂̸\",npolint:\"⨔\",nrarr:\"↛\",nrightarrow:\"↛\",nrarrc:\"⤳̸\",nrarrw:\"↝̸\",nscr:\"𝓃\",nsub:\"⊄\",nsubE:\"⫅̸\",nsubseteqq:\"⫅̸\",nsup:\"⊅\",nsupE:\"⫆̸\",nsupseteqq:\"⫆̸\",ntilde:\"ñ\",nu:\"ν\",num:\"#\",numero:\"№\",numsp:\" \",nvDash:\"⊭\",nvHarr:\"⤄\",nvap:\"≍⃒\",nvdash:\"⊬\",nvge:\"≥⃒\",nvgt:\">⃒\",nvinfin:\"⧞\",nvlArr:\"⤂\",nvle:\"≤⃒\",nvlt:\"<⃒\",nvltrie:\"⊴⃒\",nvrArr:\"⤃\",nvrtrie:\"⊵⃒\",nvsim:\"∼⃒\",nwArr:\"⇖\",nwarhk:\"⤣\",nwnear:\"⤧\",oacute:\"ó\",ocirc:\"ô\",ocy:\"о\",odblac:\"ő\",odiv:\"⨸\",odsold:\"⦼\",oelig:\"œ\",ofcir:\"⦿\",ofr:\"𝔬\",ogon:\"˛\",ograve:\"ò\",ogt:\"⧁\",ohbar:\"⦵\",olcir:\"⦾\",olcross:\"⦻\",olt:\"⧀\",omacr:\"ō\",omega:\"ω\",omicron:\"ο\",omid:\"⦶\",oopf:\"𝕠\",opar:\"⦷\",operp:\"⦹\",or:\"∨\",vee:\"∨\",ord:\"⩝\",order:\"ℴ\",orderof:\"ℴ\",oscr:\"ℴ\",ordf:\"ª\",ordm:\"º\",origof:\"⊶\",oror:\"⩖\",orslope:\"⩗\",orv:\"⩛\",oslash:\"ø\",osol:\"⊘\",otilde:\"õ\",otimesas:\"⨶\",ouml:\"ö\",ovbar:\"⌽\",para:\"¶\",parsim:\"⫳\",parsl:\"⫽\",pcy:\"п\",percnt:\"%\",period:\".\",permil:\"‰\",pertenk:\"‱\",pfr:\"𝔭\",phi:\"φ\",phiv:\"ϕ\",straightphi:\"ϕ\",varphi:\"ϕ\",phone:\"☎\",pi:\"π\",piv:\"ϖ\",varpi:\"ϖ\",planckh:\"ℎ\",plus:\"+\",plusacir:\"⨣\",pluscir:\"⨢\",plusdu:\"⨥\",pluse:\"⩲\",plussim:\"⨦\",plustwo:\"⨧\",pointint:\"⨕\",popf:\"𝕡\",pound:\"£\",prE:\"⪳\",prap:\"⪷\",precapprox:\"⪷\",precnapprox:\"⪹\",prnap:\"⪹\",precneqq:\"⪵\",prnE:\"⪵\",precnsim:\"⋨\",prnsim:\"⋨\",prime:\"′\",profalar:\"⌮\",profline:\"⌒\",profsurf:\"⌓\",prurel:\"⊰\",pscr:\"𝓅\",psi:\"ψ\",puncsp:\" \",qfr:\"𝔮\",qopf:\"𝕢\",qprime:\"⁗\",qscr:\"𝓆\",quatint:\"⨖\",quest:\"?\",rAtail:\"⤜\",rHar:\"⥤\",race:\"∽̱\",racute:\"ŕ\",raemptyv:\"⦳\",rangd:\"⦒\",range:\"⦥\",raquo:\"»\",rarrap:\"⥵\",rarrbfs:\"⤠\",rarrc:\"⤳\",rarrfs:\"⤞\",rarrpl:\"⥅\",rarrsim:\"⥴\",rarrtl:\"↣\",rightarrowtail:\"↣\",rarrw:\"↝\",rightsquigarrow:\"↝\",ratail:\"⤚\",ratio:\"∶\",rbbrk:\"❳\",rbrace:\"}\",rcub:\"}\",rbrack:\"]\",rsqb:\"]\",rbrke:\"⦌\",rbrksld:\"⦎\",rbrkslu:\"⦐\",rcaron:\"ř\",rcedil:\"ŗ\",rcy:\"р\",rdca:\"⤷\",rdldhar:\"⥩\",rdsh:\"↳\",rect:\"▭\",rfisht:\"⥽\",rfr:\"𝔯\",rharul:\"⥬\",rho:\"ρ\",rhov:\"ϱ\",varrho:\"ϱ\",rightrightarrows:\"⇉\",rrarr:\"⇉\",rightthreetimes:\"⋌\",rthree:\"⋌\",ring:\"˚\",rlm:\"‏\",rmoust:\"⎱\",rmoustache:\"⎱\",rnmid:\"⫮\",roang:\"⟭\",roarr:\"⇾\",ropar:\"⦆\",ropf:\"𝕣\",roplus:\"⨮\",rotimes:\"⨵\",rpar:\")\",rpargt:\"⦔\",rppolint:\"⨒\",rsaquo:\"›\",rscr:\"𝓇\",rtimes:\"⋊\",rtri:\"▹\",triangleright:\"▹\",rtriltri:\"⧎\",ruluhar:\"⥨\",rx:\"℞\",sacute:\"ś\",scE:\"⪴\",scap:\"⪸\",succapprox:\"⪸\",scaron:\"š\",scedil:\"ş\",scirc:\"ŝ\",scnE:\"⪶\",succneqq:\"⪶\",scnap:\"⪺\",succnapprox:\"⪺\",scnsim:\"⋩\",succnsim:\"⋩\",scpolint:\"⨓\",scy:\"с\",sdot:\"⋅\",sdote:\"⩦\",seArr:\"⇘\",sect:\"§\",semi:\";\",seswar:\"⤩\",tosa:\"⤩\",sext:\"✶\",sfr:\"𝔰\",sharp:\"♯\",shchcy:\"щ\",shcy:\"ш\",shy:\"­\",sigma:\"σ\",sigmaf:\"ς\",sigmav:\"ς\",varsigma:\"ς\",simdot:\"⩪\",simg:\"⪞\",simgE:\"⪠\",siml:\"⪝\",simlE:\"⪟\",simne:\"≆\",simplus:\"⨤\",simrarr:\"⥲\",smashp:\"⨳\",smeparsl:\"⧤\",smile:\"⌣\",ssmile:\"⌣\",smt:\"⪪\",smte:\"⪬\",smtes:\"⪬︀\",softcy:\"ь\",sol:\"/\",solb:\"⧄\",solbar:\"⌿\",sopf:\"𝕤\",spades:\"♠\",spadesuit:\"♠\",sqcaps:\"⊓︀\",sqcups:\"⊔︀\",sscr:\"𝓈\",star:\"☆\",sub:\"⊂\",subset:\"⊂\",subE:\"⫅\",subseteqq:\"⫅\",subdot:\"⪽\",subedot:\"⫃\",submult:\"⫁\",subnE:\"⫋\",subsetneqq:\"⫋\",subne:\"⊊\",subsetneq:\"⊊\",subplus:\"⪿\",subrarr:\"⥹\",subsim:\"⫇\",subsub:\"⫕\",subsup:\"⫓\",sung:\"♪\",sup1:\"¹\",sup2:\"²\",sup3:\"³\",supE:\"⫆\",supseteqq:\"⫆\",supdot:\"⪾\",supdsub:\"⫘\",supedot:\"⫄\",suphsol:\"⟉\",suphsub:\"⫗\",suplarr:\"⥻\",supmult:\"⫂\",supnE:\"⫌\",supsetneqq:\"⫌\",supne:\"⊋\",supsetneq:\"⊋\",supplus:\"⫀\",supsim:\"⫈\",supsub:\"⫔\",supsup:\"⫖\",swArr:\"⇙\",swnwar:\"⤪\",szlig:\"ß\",target:\"⌖\",tau:\"τ\",tcaron:\"ť\",tcedil:\"ţ\",tcy:\"т\",telrec:\"⌕\",tfr:\"𝔱\",theta:\"θ\",thetasym:\"ϑ\",thetav:\"ϑ\",vartheta:\"ϑ\",thorn:\"þ\",times:\"×\",timesbar:\"⨱\",timesd:\"⨰\",topbot:\"⌶\",topcir:\"⫱\",topf:\"𝕥\",topfork:\"⫚\",tprime:\"‴\",triangle:\"▵\",utri:\"▵\",triangleq:\"≜\",trie:\"≜\",tridot:\"◬\",triminus:\"⨺\",triplus:\"⨹\",trisb:\"⧍\",tritime:\"⨻\",trpezium:\"⏢\",tscr:\"𝓉\",tscy:\"ц\",tshcy:\"ћ\",tstrok:\"ŧ\",uHar:\"⥣\",uacute:\"ú\",ubrcy:\"ў\",ubreve:\"ŭ\",ucirc:\"û\",ucy:\"у\",udblac:\"ű\",ufisht:\"⥾\",ufr:\"𝔲\",ugrave:\"ù\",uhblk:\"▀\",ulcorn:\"⌜\",ulcorner:\"⌜\",ulcrop:\"⌏\",ultri:\"◸\",umacr:\"ū\",uogon:\"ų\",uopf:\"𝕦\",upsi:\"υ\",upsilon:\"υ\",upuparrows:\"⇈\",uuarr:\"⇈\",urcorn:\"⌝\",urcorner:\"⌝\",urcrop:\"⌎\",uring:\"ů\",urtri:\"◹\",uscr:\"𝓊\",utdot:\"⋰\",utilde:\"ũ\",uuml:\"ü\",uwangle:\"⦧\",vBar:\"⫨\",vBarv:\"⫩\",vangrt:\"⦜\",varsubsetneq:\"⊊︀\",vsubne:\"⊊︀\",varsubsetneqq:\"⫋︀\",vsubnE:\"⫋︀\",varsupsetneq:\"⊋︀\",vsupne:\"⊋︀\",varsupsetneqq:\"⫌︀\",vsupnE:\"⫌︀\",vcy:\"в\",veebar:\"⊻\",veeeq:\"≚\",vellip:\"⋮\",vfr:\"𝔳\",vopf:\"𝕧\",vscr:\"𝓋\",vzigzag:\"⦚\",wcirc:\"ŵ\",wedbar:\"⩟\",wedgeq:\"≙\",weierp:\"℘\",wp:\"℘\",wfr:\"𝔴\",wopf:\"𝕨\",wscr:\"𝓌\",xfr:\"𝔵\",xi:\"ξ\",xnis:\"⋻\",xopf:\"𝕩\",xscr:\"𝓍\",yacute:\"ý\",yacy:\"я\",ycirc:\"ŷ\",ycy:\"ы\",yen:\"¥\",yfr:\"𝔶\",yicy:\"ї\",yopf:\"𝕪\",yscr:\"𝓎\",yucy:\"ю\",yuml:\"ÿ\",zacute:\"ź\",zcaron:\"ž\",zcy:\"з\",zdot:\"ż\",zeta:\"ζ\",zfr:\"𝔷\",zhcy:\"ж\",zigrarr:\"⇝\",zopf:\"𝕫\",zscr:\"𝓏\",zwj:\"‍\",zwnj:\"‌\"},mi=\"\";Fe.ngsp=mi;var gi=[/@/,/^\\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\\/\\//];function fi(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];gi.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var vi=class Qr{static fromArray(t){return t?(fi(\"interpolation\",t),new Qr(t[0],t[1])):Zr}constructor(t,r){this.start=t,this.end=r}},Zr=new vi(\"{{\",\"}}\"),Ge=class extends Kr{constructor(e,t,r){super(r,e),this.tokenType=t}},Ci=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function Si(e,t,r,n={}){let a=new _i(new Gr(e,t),r,n);return a.tokenize(),new Ci(Di(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}var yi=/\\r\\n?/g;function X(e){return`Unexpected character \"${e===0?\"EOF\":String.fromCharCode(e)}\"`}function Kt(e){return`Unknown entity \"${e}\" - use the \"&#<decimal>;\" or  \"&#x<hex>;\" syntax`}function bi(e,t){return`Unable to parse entity \"${t}\" - ${e} character reference entities must end with \";\"`}var qe;(function(e){e.HEX=\"hexadecimal\",e.DEC=\"decimal\"})(qe||(qe={}));var Ke=class{constructor(e){this.error=e}},_i=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Zr,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Ti(e,n):new en(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(yi,`\n`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr(\"[CDATA[\")?this._consumeCdata(e):this._attemptStr(\"--\")?this._consumeComment(e):this._attemptStrCaseInsensitive(\"doctype\")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr(\"@let\")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>De(r)?!e:Jt(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(b),this._attemptCharCode(41))this._attemptCharCodeUntilFn(b);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Qt);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&je(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Qt)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),De(this._cursor.peek()))this._attemptCharCodeUntilFn(b);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(b),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>b(r)&&!_t(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Te(r)||r===36||r===95||t&&bt(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;je(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ei(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Ge(\"Programming error - attempted to end a token when there was no start to the token\",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Ge(\"Programming error - attempted to end a token which has no token type\",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped \"{\" in your template? Use \"{{ '{' }}\") to escape it.)`);let r=new Ge(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Ke(r)}handleError(e){if(e instanceof wt&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Ke)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return xi(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let r=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ai),this._cursor.peek()!=59){this._cursor.advance();let s=r?qe.HEX:qe.DEC;throw this._createError(bi(s,this._cursor.getChars(t)),this._cursor.getSpan())}let a=this._cursor.getChars(n);this._cursor.advance();try{let s=parseInt(a,r?16:10);this._endToken([String.fromCharCode(s),this._cursor.getChars(t)])}catch{throw this._createError(Kt(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(ki),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=r,this._endToken([\"&\"]);else{let n=this._cursor.getChars(r);this._cursor.advance();let a=Fe[n];if(!a)throw this._createError(Kt(n),this._cursor.getSpan(t));this._endToken([a,`&${n};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let r=[];for(;;){let n=this._cursor.clone(),a=t();if(this._cursor=n,a)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(r.join(\"\"))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(\"\"))])}_consumeComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(\"-->\")),this._beginToken(11),this._requireStr(\"-->\"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(\"]]>\")),this._beginToken(13),this._requireStr(\"]]>\"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t=\"\";for(;this._cursor.peek()!==58&&!wi(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Xt,t===\"\"?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Te(this._cursor.peek()))throw this._createError(X(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(b);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(b),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(b);let o=this._consumeAttributeValue();a.push({prefix:i,name:u,value:o})}else a.push({prefix:i,name:u});this._attemptCharCodeUntilFn(b)}this._consumeTagOpenEnd()}catch(i){if(i instanceof Ke){n?n.type=4:(this._beginToken(5,e),this._endToken([\"<\"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),s===I.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):s===I.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(b),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(b),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(X(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=()=>Xt(this._cursor.peek());e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(b),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(b),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(b),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(b),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(b)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(b),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(b),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(b),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(\"\"))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(\"\"))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let s=this._processCarriageReturns(a.join(\"\"));return this._endToken([s]),s}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),s=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,n.push(this._getProcessedChars(a,u)),this._endToken(n);return}if(s===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,u)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr(\"//\")&&(i=!0);let o=this._cursor.peek();this._cursor.advance(),o===92?this._cursor.advance():o===s?s=null:!i&&s===null&&je(o)&&(s=o)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Jt(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Le(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Le(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function b(e){return!De(e)||e===0}function Xt(e){return De(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function wi(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Ai(e){return e===59||e===0||!Ds(e)}function ki(e){return e===59||e===0||!Te(e)}function Ei(e){return e!==125}function xi(e,t){return Yt(e)===Yt(t)}function Yt(e){return e>=97&&e<=122?e-97+65:e}function Jt(e){return Te(e)||bt(e)||e===95}function Qt(e){return e!==59&&b(e)}function Di(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===5&&a.type===5||r&&r.type===16&&a.type===16?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}var en=class tt{constructor(t,r){if(t instanceof tt){this.file=t.file,this.input=t.input,this.end=t.end;let n=t.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!r)throw new Error(\"Programming error: the range argument must be provided with a file argument.\");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new tt(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,r){t=t||this;let n=t;if(r)for(;this.diff(t)>0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let a=this.locationFromCursor(t),s=this.locationFromCursor(this),i=n!==t?this.locationFromCursor(n):a;return new d(a,s,i)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new wt('Unexpected character \"EOF\"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):_t(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new Ze(t.file,t.state.offset,t.state.line,t.state.column)}},Ti=class rt extends en{constructor(t,r){t instanceof rt?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new rt(this)}getChars(t){let r=t.clone(),n=\"\";for(;r.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(r.peek()),r.advance();return n}processEscapeSequence(){let t=()=>this.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(qt(t())){let r=\"\",n=0,a=this.clone();for(;qt(t())&&n<3;)a=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=a.internalState}else _t(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),a=parseInt(n,16);if(isNaN(a))throw t.state=t.internalState,new wt(\"Invalid hexadecimal escape sequence\",t);return a}},wt=class{constructor(e,t){this.msg=e,this.cursor=t}},B=class tn extends Kr{static create(t,r,n){return new tn(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},Bi=class{constructor(e,t){this.rootNodes=e,this.errors=t}},Li=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let s=m=>(C,...w)=>m(C.toLowerCase(),...w),i=n?this.getTagDefinition:s(this.getTagDefinition),u=m=>i(m).getContentType(),o=n?a:s(a),p=Si(e,t,a?(m,C,w,E)=>{let x=o(m,C,w,E);return x!==void 0?x:u(m)}:u,r),l=r&&r.canSelfClose||!1,f=r&&r.allowHtmComponentClosingTags||!1,v=new Fi(p.tokens,i,l,f,n);return v.build(),new Bi(v.rootNodes,p.errors.concat(v.errors))}},Fi=class rn{constructor(t,r,n,a,s){this.tokens=t,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=a,this.isTagNameCaseSensitive=s,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let t of this._containerStack)t instanceof K&&this.errors.push(B.create(t.name,t.sourceSpan,`Unclosed block \"${t.name}\"`))}_advance(){let t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t}_advanceIf(t){return this._peek.type===t?this._advance():null}_consumeCdata(t){let r=this._advance(),n=this._getText(r),a=this._advanceIf(13);this._addToParent(new ui(n,new d(t.sourceSpan.start,(a||r).sourceSpan.end),[r]))}_consumeComment(t){let r=this._advanceIf(7),n=this._advanceIf(11),a=r!=null?r.parts[0].trim():null,s=n==null?t.sourceSpan:new d(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new pi(a,s))}_consumeDocType(t){let r=this._advanceIf(7),n=this._advanceIf(19),a=r!=null?r.parts[0].trim():null,s=new d(t.sourceSpan.start,(n||r||t).sourceSpan.end);this._addToParent(new hi(a,s))}_consumeExpansion(t){let r=this._advance(),n=this._advance(),a=[];for(;this._peek.type===21;){let i=this._parseExpansionCase();if(!i)return;a.push(i)}if(this._peek.type!==24){this.errors.push(B.create(null,this._peek.sourceSpan,\"Invalid ICU message. Missing '}'.\"));return}let s=new d(t.sourceSpan.start,this._peek.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new oi(r.parts[0],n.parts[0],a,s,r.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==22)return this.errors.push(B.create(null,this._peek.sourceSpan,\"Invalid ICU message. Missing '{'.\")),null;let r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;let a=this._advance();n.push({type:34,parts:[],sourceSpan:a.sourceSpan});let s=new rn(n,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(s.build(),s.errors.length>0)return this.errors=this.errors.concat(s.errors),null;let i=new d(t.sourceSpan.start,a.sourceSpan.end,t.sourceSpan.fullStart),u=new d(r.sourceSpan.start,a.sourceSpan.end,r.sourceSpan.fullStart);return new li(t.parts[0],s.rootNodes,i,t.sourceSpan,u)}_collectExpansionExpTokens(t){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Zt(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(B.create(null,t.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;if(this._peek.type===24)if(Zt(n,20))n.pop();else return this.errors.push(B.create(null,t.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;if(this._peek.type===34)return this.errors.push(B.create(null,t.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==`\n`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,a=t.parts[0];if(a.length>0&&a[0]===`\n`){let s=this._getContainer();s!=null&&s.children.length===0&&this.getTagDefinition(s.name).ignoreFirstLf&&(a=a.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[a]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?a+=t.parts.join(\"\").replace(/&([^;]+);/g,er):t.type===9?a+=t.parts[0]:a+=t.parts.join(\"\");if(a.length>0){let s=t.sourceSpan;this._addToParent(new ii(a,new d(n.start,s.end,n.fullStart,n.details),r))}}_closeVoidElement(){let t=this._getContainer();t instanceof V&&this.getTagDefinition(t.name).isVoid&&this._containerStack.pop()}_consumeStartTag(t){let[r,n]=t.parts,a=[];for(;this._peek.type===14;)a.push(this._consumeAttr(this._advance()));let s=this._getElementFullName(r,n,this._getClosestParentElement()),i=!1;if(this._peek.type===2){this._advance(),i=!0;let m=this.getTagDefinition(s);this.canSelfClose||m.canSelfClose||ke(s)!==null||m.isVoid||this.errors.push(B.create(s,t.sourceSpan,`Only void, custom and foreign elements can be self closed \"${t.parts[1]}\"`))}else this._peek.type===1&&(this._advance(),i=!1);let u=this._peek.sourceSpan.fullStart,o=new d(t.sourceSpan.start,u,t.sourceSpan.fullStart),p=new d(t.sourceSpan.start,u,t.sourceSpan.fullStart),l=new d(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),f=new V(s,a,[],o,p,void 0,l),v=this._getContainer();this._pushContainer(f,v instanceof V&&this.getTagDefinition(v.name).isClosedByChild(f.name)),i?this._popContainer(s,V,o):t.type===4&&(this._popContainer(s,V,null),this.errors.push(B.create(s,o,`Opening tag \"${s}\" not terminated.`)))}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeEndTag(t){let r=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t.parts[0],t.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(B.create(r,t.sourceSpan,`Void elements do not have end tags \"${t.parts[1]}\"`));else if(!this._popContainer(r,V,t.sourceSpan)){let n=`Unexpected closing tag \"${r}\". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(B.create(r,t.sourceSpan,n))}}_popContainer(t,r,n){let a=!1;for(let s=this._containerStack.length-1;s>=0;s--){let i=this._containerStack[s];if(ke(i.name)?i.name===t:(t==null||i.name.toLowerCase()===t.toLowerCase())&&i instanceof r)return i.endSourceSpan=n,i.sourceSpan.end=n!==null?n.end:i.sourceSpan.end,this._containerStack.splice(s,this._containerStack.length-s),!a;(i instanceof K||i instanceof V&&!this.getTagDefinition(i.name).closedByParent)&&(a=!0)}return!1}_consumeAttr(t){let r=Le(t.parts[0],t.parts[1]),n=t.sourceSpan.end,a;this._peek.type===15&&(a=this._advance());let s=\"\",i=[],u,o;if(this._peek.type===16)for(u=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let l=this._advance();i.push(l),l.type===17?s+=l.parts.join(\"\").replace(/&([^;]+);/g,er):l.type===9?s+=l.parts[0]:s+=l.parts.join(\"\"),o=n=l.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let p=u&&o&&new d((a==null?void 0:a.sourceSpan.start)??u.start,o,(a==null?void 0:a.sourceSpan.fullStart)??u.fullStart);return new ci(r,s,new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,p,i.length>0?i:void 0,void 0)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===28;){let u=this._advance();r.push(new jt(u.parts[0],u.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,a=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new K(t.parts[0],r,[],a,t.sourceSpan,s);this._pushContainer(i,!1)}_consumeBlockClose(t){this._popContainer(null,K,t.sourceSpan)||this.errors.push(B.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the \"&#125;\" HTML entity instead.'))}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===28;){let u=this._advance();r.push(new jt(u.parts[0],u.sourceSpan))}let n=this._peek.sourceSpan.fullStart,a=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new K(t.parts[0],r,[],a,t.sourceSpan,s);this._pushContainer(i,!1),this._popContainer(null,K,null),this.errors.push(B.create(t.parts[0],a,`Incomplete block \"${t.parts[0]}\". If you meant to write the @ character, you should use the \"&#64;\" HTML entity instead.`))}_consumeLet(t){let r=t.parts[0],n,a;if(this._peek.type!==31){this.errors.push(B.create(t.parts[0],t.sourceSpan,`Invalid @let declaration \"${r}\". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==32){this.errors.push(B.create(t.parts[0],t.sourceSpan,`Unterminated @let declaration \"${r}\". Declaration must be terminated with a semicolon.`));return}else a=this._advance();let s=a.sourceSpan.fullStart,i=new d(t.sourceSpan.start,s,t.sourceSpan.fullStart),u=t.sourceSpan.toString().lastIndexOf(r),o=t.sourceSpan.start.moveBy(u),p=new d(o,t.sourceSpan.end),l=new Gt(r,n.parts[0],i,p,n.sourceSpan);this._addToParent(l)}_consumeIncompleteLet(t){let r=t.parts[0]??\"\",n=r?` \"${r}\"`:\"\";if(r.length>0){let a=t.sourceSpan.toString().lastIndexOf(r),s=t.sourceSpan.start.moveBy(a),i=new d(s,t.sourceSpan.end),u=new d(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),o=new Gt(r,\"\",t.sourceSpan,i,u);this._addToParent(o)}this.errors.push(B.create(t.parts[0],t.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \\`@let <name> = <value>;\\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let t=this._containerStack.length-1;t>-1;t--)if(this._containerStack[t]instanceof V)return this._containerStack[t];return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r,n){if(t===\"\"&&(t=this.getTagDefinition(r).implicitNamespacePrefix||\"\",t===\"\"&&n!=null)){let a=Ve(n.name)[1];this.getTagDefinition(a).preventNamespaceInheritance||(t=ke(n.name))}return Le(t,r)}};function Zt(e,t){return e.length>0&&e[e.length-1]===t}function er(e,t){return Fe[t]!==void 0?Fe[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var qi=class extends Li{constructor(){super(et)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},Xe=null,Ni=()=>(Xe||(Xe=new qi),Xe);function tr(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:s,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:u=!1}=t;return Ni().parse(e,\"angular-html-parser\",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:u},a,s)}function Ii(e,t){let r=new SyntaxError(e+\" (\"+t.loc.start.line+\":\"+t.loc.start.column+\")\");return Object.assign(r,t)}var Pi=Ii,we=3;function Hi(e){let t=e.slice(0,we);if(t!==\"---\"&&t!==\"+++\")return;let r=e.indexOf(`\n`,we);if(r===-1)return;let n=e.slice(we,r).trim(),a=e.indexOf(`\n${t}`,r),s=n;if(s||(s=t===\"+++\"?\"toml\":\"yaml\"),a===-1&&t===\"---\"&&s===\"yaml\"&&(a=e.indexOf(`\n...`,r)),a===-1)return;let i=a+1+we,u=e.charAt(i+1);if(!/\\s?/u.test(u))return;let o=e.slice(0,i);return{type:\"front-matter\",language:s,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:o.slice(-3),raw:o}}function Mi(e){let t=Hi(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:L(!1,r,/[^\\n]/gu,\" \")+e.slice(r.length)}}var Ri=Mi,Ae={attrs:!0,children:!0,cases:!0,expression:!0},rr=new Set([\"parent\"]),Y,nt,at,Ui=class ie{constructor(t={}){or(this,Y),Et(this,\"type\"),Et(this,\"parent\");for(let r of new Set([...rr,...Object.keys(t)]))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in Ae&&(r=r.map(n=>this.createChild(n))),!rr.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in Ae){let a=this[n];if(a){let s=Oi(a,i=>i.map(t));r!==a&&(r||(r=new ie({parent:this.parent})),r.setProperty(n,s))}}if(r)for(let n in this)n in Ae||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in Ae){let n=this[r];if(n)for(let a=0;a<n.length;a++)n[a].walk(t)}t(this)}createChild(t){let r=t instanceof ie?t.clone():new ie(t);return r.setProperty(\"parent\",this),r}insertChildBefore(t,r){let n=this.$children;n.splice(n.indexOf(t),0,this.createChild(r))}removeChild(t){let r=this.$children;r.splice(r.indexOf(t),1)}replaceChild(t,r){let n=this.$children;n[n.indexOf(t)]=this.createChild(r)}clone(){return new ie(this)}get $children(){return this[F(this,Y,nt)]}set $children(t){this[F(this,Y,nt)]=t}get firstChild(){var t;return(t=this.$children)==null?void 0:t[0]}get lastChild(){return he(!0,this.$children,-1)}get prev(){let t=F(this,Y,at);return t[t.indexOf(this)-1]}get next(){let t=F(this,Y,at);return t[t.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+\":\"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(t=>[t.fullName,t.value]))}};Y=new WeakSet,nt=function(){return this.type===\"angularIcuCase\"?\"expression\":this.type===\"angularIcuExpression\"?\"cases\":\"children\"},at=function(){var e;return((e=this.parent)==null?void 0:e.$children)??[]};var Vi=Ui;function Oi(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}var Wi=[{regex:/^(\\[if([^\\]]*)\\]>)(.*?)<!\\s*\\[endif\\]$/su,parse:$i},{regex:/^\\[if([^\\]]*)\\]><!$/u,parse:ji},{regex:/^<!\\s*\\[endif\\]$/u,parse:Gi}];function zi(e,t){if(e.value)for(let{regex:r,parse:n}of Wi){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function $i(e,t,r){let[,n,a,s]=r,i=4+n.length,u=e.sourceSpan.start.moveBy(i),o=u.moveBy(s.length),[p,l]=(()=>{try{return[!0,t(s,u).children]}catch{return[!1,[{type:\"text\",value:s,sourceSpan:new d(u,o)}]]}})();return{type:\"ieConditionalComment\",complete:p,children:l,condition:L(!1,a.trim(),/\\s+/gu,\" \"),sourceSpan:e.sourceSpan,startSourceSpan:new d(e.sourceSpan.start,u),endSourceSpan:new d(o,e.sourceSpan.end)}}function ji(e,t,r){let[,n]=r;return{type:\"ieConditionalStartComment\",condition:L(!1,n.trim(),/\\s+/gu,\" \"),sourceSpan:e.sourceSpan}}function Gi(e){return{type:\"ieConditionalEndComment\",sourceSpan:e.sourceSpan}}var Ye=new Map([[\"*\",new Set([\"accesskey\",\"autocapitalize\",\"autofocus\",\"class\",\"contenteditable\",\"dir\",\"draggable\",\"enterkeyhint\",\"hidden\",\"id\",\"inert\",\"inputmode\",\"is\",\"itemid\",\"itemprop\",\"itemref\",\"itemscope\",\"itemtype\",\"lang\",\"nonce\",\"popover\",\"slot\",\"spellcheck\",\"style\",\"tabindex\",\"title\",\"translate\",\"writingsuggestions\"])],[\"a\",new Set([\"charset\",\"coords\",\"download\",\"href\",\"hreflang\",\"name\",\"ping\",\"referrerpolicy\",\"rel\",\"rev\",\"shape\",\"target\",\"type\"])],[\"applet\",new Set([\"align\",\"alt\",\"archive\",\"code\",\"codebase\",\"height\",\"hspace\",\"name\",\"object\",\"vspace\",\"width\"])],[\"area\",new Set([\"alt\",\"coords\",\"download\",\"href\",\"hreflang\",\"nohref\",\"ping\",\"referrerpolicy\",\"rel\",\"shape\",\"target\",\"type\"])],[\"audio\",new Set([\"autoplay\",\"controls\",\"crossorigin\",\"loop\",\"muted\",\"preload\",\"src\"])],[\"base\",new Set([\"href\",\"target\"])],[\"basefont\",new Set([\"color\",\"face\",\"size\"])],[\"blockquote\",new Set([\"cite\"])],[\"body\",new Set([\"alink\",\"background\",\"bgcolor\",\"link\",\"text\",\"vlink\"])],[\"br\",new Set([\"clear\"])],[\"button\",new Set([\"disabled\",\"form\",\"formaction\",\"formenctype\",\"formmethod\",\"formnovalidate\",\"formtarget\",\"name\",\"popovertarget\",\"popovertargetaction\",\"type\",\"value\"])],[\"canvas\",new Set([\"height\",\"width\"])],[\"caption\",new Set([\"align\"])],[\"col\",new Set([\"align\",\"char\",\"charoff\",\"span\",\"valign\",\"width\"])],[\"colgroup\",new Set([\"align\",\"char\",\"charoff\",\"span\",\"valign\",\"width\"])],[\"data\",new Set([\"value\"])],[\"del\",new Set([\"cite\",\"datetime\"])],[\"details\",new Set([\"name\",\"open\"])],[\"dialog\",new Set([\"open\"])],[\"dir\",new Set([\"compact\"])],[\"div\",new Set([\"align\"])],[\"dl\",new Set([\"compact\"])],[\"embed\",new Set([\"height\",\"src\",\"type\",\"width\"])],[\"fieldset\",new Set([\"disabled\",\"form\",\"name\"])],[\"font\",new Set([\"color\",\"face\",\"size\"])],[\"form\",new Set([\"accept\",\"accept-charset\",\"action\",\"autocomplete\",\"enctype\",\"method\",\"name\",\"novalidate\",\"target\"])],[\"frame\",new Set([\"frameborder\",\"longdesc\",\"marginheight\",\"marginwidth\",\"name\",\"noresize\",\"scrolling\",\"src\"])],[\"frameset\",new Set([\"cols\",\"rows\"])],[\"h1\",new Set([\"align\"])],[\"h2\",new Set([\"align\"])],[\"h3\",new Set([\"align\"])],[\"h4\",new Set([\"align\"])],[\"h5\",new Set([\"align\"])],[\"h6\",new Set([\"align\"])],[\"head\",new Set([\"profile\"])],[\"hr\",new Set([\"align\",\"noshade\",\"size\",\"width\"])],[\"html\",new Set([\"manifest\",\"version\"])],[\"iframe\",new Set([\"align\",\"allow\",\"allowfullscreen\",\"allowpaymentrequest\",\"allowusermedia\",\"frameborder\",\"height\",\"loading\",\"longdesc\",\"marginheight\",\"marginwidth\",\"name\",\"referrerpolicy\",\"sandbox\",\"scrolling\",\"src\",\"srcdoc\",\"width\"])],[\"img\",new Set([\"align\",\"alt\",\"border\",\"crossorigin\",\"decoding\",\"fetchpriority\",\"height\",\"hspace\",\"ismap\",\"loading\",\"longdesc\",\"name\",\"referrerpolicy\",\"sizes\",\"src\",\"srcset\",\"usemap\",\"vspace\",\"width\"])],[\"input\",new Set([\"accept\",\"align\",\"alt\",\"autocomplete\",\"checked\",\"dirname\",\"disabled\",\"form\",\"formaction\",\"formenctype\",\"formmethod\",\"formnovalidate\",\"formtarget\",\"height\",\"ismap\",\"list\",\"max\",\"maxlength\",\"min\",\"minlength\",\"multiple\",\"name\",\"pattern\",\"placeholder\",\"popovertarget\",\"popovertargetaction\",\"readonly\",\"required\",\"size\",\"src\",\"step\",\"type\",\"usemap\",\"value\",\"width\"])],[\"ins\",new Set([\"cite\",\"datetime\"])],[\"isindex\",new Set([\"prompt\"])],[\"label\",new Set([\"for\",\"form\"])],[\"legend\",new Set([\"align\"])],[\"li\",new Set([\"type\",\"value\"])],[\"link\",new Set([\"as\",\"blocking\",\"charset\",\"color\",\"crossorigin\",\"disabled\",\"fetchpriority\",\"href\",\"hreflang\",\"imagesizes\",\"imagesrcset\",\"integrity\",\"media\",\"referrerpolicy\",\"rel\",\"rev\",\"sizes\",\"target\",\"type\"])],[\"map\",new Set([\"name\"])],[\"menu\",new Set([\"compact\"])],[\"meta\",new Set([\"charset\",\"content\",\"http-equiv\",\"media\",\"name\",\"scheme\"])],[\"meter\",new Set([\"high\",\"low\",\"max\",\"min\",\"optimum\",\"value\"])],[\"object\",new Set([\"align\",\"archive\",\"border\",\"classid\",\"codebase\",\"codetype\",\"data\",\"declare\",\"form\",\"height\",\"hspace\",\"name\",\"standby\",\"type\",\"typemustmatch\",\"usemap\",\"vspace\",\"width\"])],[\"ol\",new Set([\"compact\",\"reversed\",\"start\",\"type\"])],[\"optgroup\",new Set([\"disabled\",\"label\"])],[\"option\",new Set([\"disabled\",\"label\",\"selected\",\"value\"])],[\"output\",new Set([\"for\",\"form\",\"name\"])],[\"p\",new Set([\"align\"])],[\"param\",new Set([\"name\",\"type\",\"value\",\"valuetype\"])],[\"pre\",new Set([\"width\"])],[\"progress\",new Set([\"max\",\"value\"])],[\"q\",new Set([\"cite\"])],[\"script\",new Set([\"async\",\"blocking\",\"charset\",\"crossorigin\",\"defer\",\"fetchpriority\",\"integrity\",\"language\",\"nomodule\",\"referrerpolicy\",\"src\",\"type\"])],[\"select\",new Set([\"autocomplete\",\"disabled\",\"form\",\"multiple\",\"name\",\"required\",\"size\"])],[\"slot\",new Set([\"name\"])],[\"source\",new Set([\"height\",\"media\",\"sizes\",\"src\",\"srcset\",\"type\",\"width\"])],[\"style\",new Set([\"blocking\",\"media\",\"type\"])],[\"table\",new Set([\"align\",\"bgcolor\",\"border\",\"cellpadding\",\"cellspacing\",\"frame\",\"rules\",\"summary\",\"width\"])],[\"tbody\",new Set([\"align\",\"char\",\"charoff\",\"valign\"])],[\"td\",new Set([\"abbr\",\"align\",\"axis\",\"bgcolor\",\"char\",\"charoff\",\"colspan\",\"headers\",\"height\",\"nowrap\",\"rowspan\",\"scope\",\"valign\",\"width\"])],[\"template\",new Set([\"shadowrootclonable\",\"shadowrootdelegatesfocus\",\"shadowrootmode\"])],[\"textarea\",new Set([\"autocomplete\",\"cols\",\"dirname\",\"disabled\",\"form\",\"maxlength\",\"minlength\",\"name\",\"placeholder\",\"readonly\",\"required\",\"rows\",\"wrap\"])],[\"tfoot\",new Set([\"align\",\"char\",\"charoff\",\"valign\"])],[\"th\",new Set([\"abbr\",\"align\",\"axis\",\"bgcolor\",\"char\",\"charoff\",\"colspan\",\"headers\",\"height\",\"nowrap\",\"rowspan\",\"scope\",\"valign\",\"width\"])],[\"thead\",new Set([\"align\",\"char\",\"charoff\",\"valign\"])],[\"time\",new Set([\"datetime\"])],[\"tr\",new Set([\"align\",\"bgcolor\",\"char\",\"charoff\",\"valign\"])],[\"track\",new Set([\"default\",\"kind\",\"label\",\"src\",\"srclang\"])],[\"ul\",new Set([\"compact\",\"type\"])],[\"video\",new Set([\"autoplay\",\"controls\",\"crossorigin\",\"height\",\"loop\",\"muted\",\"playsinline\",\"poster\",\"preload\",\"src\",\"width\"])]]),Ki=new Set([\"a\",\"abbr\",\"acronym\",\"address\",\"applet\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"basefont\",\"bdi\",\"bdo\",\"bgsound\",\"big\",\"blink\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"center\",\"cite\",\"code\",\"col\",\"colgroup\",\"command\",\"content\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"element\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"font\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"image\",\"img\",\"input\",\"ins\",\"isindex\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"listing\",\"main\",\"map\",\"mark\",\"marquee\",\"math\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"multicol\",\"nav\",\"nextid\",\"nobr\",\"noembed\",\"noframes\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"plaintext\",\"pre\",\"progress\",\"q\",\"rb\",\"rbc\",\"rp\",\"rt\",\"rtc\",\"ruby\",\"s\",\"samp\",\"script\",\"search\",\"section\",\"select\",\"shadow\",\"slot\",\"small\",\"source\",\"spacer\",\"span\",\"strike\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"svg\",\"table\",\"tbody\",\"td\",\"template\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"track\",\"tt\",\"u\",\"ul\",\"var\",\"video\",\"wbr\",\"xmp\"]);function Xi(e){if(e.type===\"block\"){if(e.name=L(!1,e.name.toLowerCase(),/\\s+/gu,\" \").trim(),e.type=\"angularControlFlowBlock\",!ft(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type=\"angularControlFlowBlockParameter\";e.parameters={type:\"angularControlFlowBlockParameters\",children:e.parameters,sourceSpan:new d(e.parameters[0].sourceSpan.start,he(!1,e.parameters,-1).sourceSpan.end)}}}function Yi(e){e.type===\"letDeclaration\"&&(e.type=\"angularLetDeclaration\",e.id=e.name,e.init={type:\"angularLetDeclarationInitializer\",sourceSpan:new d(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Ji(e){(e.type===\"plural\"||e.type===\"select\")&&(e.clause=e.type,e.type=\"angularIcuExpression\"),e.type===\"expansionCase\"&&(e.type=\"angularIcuCase\")}function nn(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:s=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:p}=t,{rootNodes:l,errors:f}=tr(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:o,getTagContentType:p?(...c)=>p(...c)?I.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n===\"angular\"?!0:void 0,tokenizeAngularLetDeclaration:n===\"angular\"?!0:void 0});if(n===\"vue\"){if(l.some(y=>y.type===\"docType\"&&y.value===\"html\"||y.type===\"element\"&&y.name.toLowerCase()===\"html\"))return nn(e,sn,r);let c,g=()=>c??(c=tr(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:o})),A=y=>g().rootNodes.find(({startSourceSpan:T})=>T&&T.start.offset===y.startSourceSpan.start.offset)??y;for(let[y,T]of l.entries()){let{endSourceSpan:G,startSourceSpan:un}=T;if(G===null)f=g().errors,l[y]=A(T);else if(Qi(T,r)){let At=g().errors.find(kt=>kt.span.start.offset>un.start.offset&&kt.span.start.offset<G.end.offset);At&&nr(At),l[y]=A(T)}}}f.length>0&&nr(f[0]);let v=c=>{let g=c.name.startsWith(\":\")?c.name.slice(1).split(\":\")[0]:null,A=c.nameSpan.toString(),y=g!==null&&A.startsWith(`${g}:`),T=y?A.slice(g.length+1):A;c.name=T,c.namespace=g,c.hasExplicitNamespace=y},m=c=>{switch(c.type){case\"element\":v(c);for(let g of c.attrs)v(g),g.valueSpan?(g.value=g.valueSpan.toString(),/[\"']/u.test(g.value[0])&&(g.value=g.value.slice(1,-1))):g.value=null;break;case\"comment\":c.value=c.sourceSpan.toString().slice(4,-3);break;case\"text\":c.value=c.sourceSpan.toString();break}},C=(c,g)=>{let A=c.toLowerCase();return g(A)?A:c},w=c=>{if(c.type===\"element\"&&(s&&(!c.namespace||c.namespace===c.tagDefinition.implicitNamespacePrefix||ce(c))&&(c.name=C(c.name,g=>Ki.has(g))),i))for(let g of c.attrs)g.namespace||(g.name=C(g.name,A=>Ye.has(c.name)&&(Ye.get(\"*\").has(A)||Ye.get(c.name).has(A))))},E=c=>{c.sourceSpan&&c.endSourceSpan&&(c.sourceSpan=new d(c.sourceSpan.start,c.endSourceSpan.end))},x=c=>{if(c.type===\"element\"){let g=et(o?c.name:c.name.toLowerCase());!c.namespace||c.namespace===g.implicitNamespacePrefix||ce(c)?c.tagDefinition=g:c.tagDefinition=et(\"\")}};return Jr(new class extends di{visitExpansionCase(c,g){n===\"angular\"&&this.visitChildren(g,A=>{A(c.expression)})}visit(c){m(c),x(c),w(c),E(c)}},l),l}function Qi(e,t){var r;if(e.type!==\"element\"||e.name!==\"template\")return!1;let n=(r=e.attrs.find(a=>a.name===\"lang\"))==null?void 0:r.value;return!n||Pe(t,{language:n})===\"html\"}function nr(e){let{msg:t,span:{start:r,end:n}}=e;throw Pi(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function an(e,t,r={},n=!0){let{frontMatter:a,content:s}=n?Ri(e):{frontMatter:null,content:e},i=new Gr(e,r.filepath),u=new Ze(i,0,0,0),o=u.moveBy(e.length),p={type:\"root\",sourceSpan:new d(u,o),children:nn(s,t,r)};if(a){let v=new Ze(i,0,0,0),m=v.moveBy(a.raw.length);a.sourceSpan=new d(v,m),p.children.unshift(a)}let l=new Vi(p),f=(v,m)=>{let{offset:C}=m,w=L(!1,e.slice(0,C),/[^\\n\\r]/gu,\" \"),E=an(w+v,t,r,!1);E.sourceSpan=new d(m,he(!1,E.children,-1).sourceSpan.end);let x=E.children[0];return x.length===C?E.children.shift():(x.sourceSpan=new d(x.sourceSpan.start.moveBy(C),x.sourceSpan.end),x.value=x.value.slice(C)),E};return l.walk(v=>{if(v.type===\"comment\"){let m=zi(v,f);m&&v.parent.replaceChild(v,m)}Xi(v),Yi(v),Ji(v)}),l}function Oe(e){return{parse:(t,r)=>an(t,e,r),hasPragma:Ss,astFormat:\"html\",locStart:ge,locEnd:fe}}var sn={name:\"html\",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},Zi=Oe(sn),eu=Oe({name:\"angular\"}),tu=Oe({name:\"vue\",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!==\"html\"&&!r&&(e!==\"template\"||n.some(({name:a,value:s})=>a===\"lang\"&&s!==\"html\"&&s!==\"\"&&s!==void 0))}}),ru=Oe({name:\"lwc\",canSelfClose:!1}),nu={html:Gs},su=lr;export{su as default,Ks as languages,Ys as options,Xr as parsers,nu as printers};\n"
  },
  {
    "path": "backend/openui/dist/assets/html-B4dTfUY8.js",
    "content": "import{m as s}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,c=(t,e,n,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of m(e))!l.call(t,r)&&r!==n&&p(t,r,{get:()=>e[r],enumerable:!(o=d(e,r))||o.enumerable});return t},u=(t,e,n)=>(c(t,e,\"default\"),n),i={};u(i,s);var a=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],k={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,comments:{blockComment:[\"<!--\",\"-->\"]},brackets:[[\"<!--\",\"-->\"],[\"<\",\">\"],[\"{\",\"}\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${a.join(\"|\")}))([_:\\\\w][_:\\\\w-.\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),afterText:/^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${a.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp(\"^\\\\s*<!--\\\\s*#region\\\\b.*-->\"),end:new RegExp(\"^\\\\s*<!--\\\\s*#endregion\\\\b.*-->\")}}},g={defaultToken:\"\",tokenPostfix:\".html\",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,\"metatag\",\"@doctype\"],[/<!--/,\"comment\",\"@comment\"],[/(<)((?:[\\w\\-]+:)?[\\w\\-]+)(\\s*)(\\/>)/,[\"delimiter\",\"tag\",\"\",\"delimiter\"]],[/(<)(script)/,[\"delimiter\",{token:\"tag\",next:\"@script\"}]],[/(<)(style)/,[\"delimiter\",{token:\"tag\",next:\"@style\"}]],[/(<)((?:[\\w\\-]+:)?[\\w\\-]+)/,[\"delimiter\",{token:\"tag\",next:\"@otherTag\"}]],[/(<\\/)((?:[\\w\\-]+:)?[\\w\\-]+)/,[\"delimiter\",{token:\"tag\",next:\"@otherTag\"}]],[/</,\"delimiter\"],[/[^<]+/]],doctype:[[/[^>]+/,\"metatag.content\"],[/>/,\"metatag\",\"@pop\"]],comment:[[/-->/,\"comment\",\"@pop\"],[/[^-]+/,\"comment.content\"],[/./,\"comment.content\"]],otherTag:[[/\\/?>/,\"delimiter\",\"@pop\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/]],script:[[/type/,\"attribute.name\",\"@scriptAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter\",next:\"@scriptEmbedded\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(script\\s*)(>)/,[\"delimiter\",\"tag\",{token:\"delimiter\",next:\"@pop\"}]]],scriptAfterType:[[/=/,\"delimiter\",\"@scriptAfterTypeEquals\"],[/>/,{token:\"delimiter\",next:\"@scriptEmbedded\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptAfterTypeEquals:[[/\"module\"/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.text/javascript\"}],[/'module'/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.text/javascript\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/>/,{token:\"delimiter\",next:\"@scriptEmbedded\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptWithCustomType:[[/>/,{token:\"delimiter\",next:\"@scriptEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptEmbedded:[[/<\\/script/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/[^<]+/,\"\"]],style:[[/type/,\"attribute.name\",\"@styleAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter\",next:\"@styleEmbedded\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(style\\s*)(>)/,[\"delimiter\",\"tag\",{token:\"delimiter\",next:\"@pop\"}]]],styleAfterType:[[/=/,\"delimiter\",\"@styleAfterTypeEquals\"],[/>/,{token:\"delimiter\",next:\"@styleEmbedded\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleAfterTypeEquals:[[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/>/,{token:\"delimiter\",next:\"@styleEmbedded\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleWithCustomType:[[/>/,{token:\"delimiter\",next:\"@styleEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleEmbedded:[[/<\\/style/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/[^<]+/,\"\"]]}};export{k as conf,g as language};\n"
  },
  {
    "path": "backend/openui/dist/assets/htmlMode-BZEeRbEQ.js",
    "content": "import{m as $e}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var qe=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,Ge=Object.getOwnPropertyNames,Je=Object.prototype.hasOwnProperty,Ye=(e,n,i,r)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let t of Ge(n))!Je.call(e,t)&&t!==i&&qe(e,t,{get:()=>n[t],enumerable:!(r=Qe(n,t))||r.enumerable});return e},Ze=(e,n,i)=>(Ye(e,n,\"default\"),i),c={};Ze(c,$e);var Ke=2*60*1e3,Re=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>Ke&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:\"vs/language/html/htmlWorker\",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(i=>n)}},J;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(J||(J={}));var W;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(W||(W={}));var k;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=W.MAX_VALUE),t===Number.MAX_VALUE&&(t=W.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&s.uinteger(t.line)&&s.uinteger(t.character)}e.is=i})(k||(k={}));var p;(function(e){function n(r,t,a,o){if(s.uinteger(r)&&s.uinteger(t)&&s.uinteger(a)&&s.uinteger(o))return{start:k.create(r,t),end:k.create(a,o)};if(k.is(r)&&k.is(t))return{start:r,end:t};throw new Error(\"Range#create called with invalid arguments[\"+r+\", \"+t+\", \"+a+\", \"+o+\"]\")}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&k.is(t.start)&&k.is(t.end)}e.is=i})(p||(p={}));var z;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.string(t.uri)||s.undefined(t.uri))}e.is=i})(z||(z={}));var Y;(function(e){function n(r,t,a,o){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.targetRange)&&s.string(t.targetUri)&&(p.is(t.targetSelectionRange)||s.undefined(t.targetSelectionRange))&&(p.is(t.originSelectionRange)||s.undefined(t.originSelectionRange))}e.is=i})(Y||(Y={}));var X;(function(e){function n(r,t,a,o){return{red:r,green:t,blue:a,alpha:o}}e.create=n;function i(r){var t=r;return s.numberRange(t.red,0,1)&&s.numberRange(t.green,0,1)&&s.numberRange(t.blue,0,1)&&s.numberRange(t.alpha,0,1)}e.is=i})(X||(X={}));var Z;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){var t=r;return p.is(t.range)&&X.is(t.color)}e.is=i})(Z||(Z={}));var K;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){var t=r;return s.string(t.label)&&(s.undefined(t.textEdit)||x.is(t))&&(s.undefined(t.additionalTextEdits)||s.typedArray(t.additionalTextEdits,x.is))}e.is=i})(K||(K={}));var P;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(P||(P={}));var ee;(function(e){function n(r,t,a,o,u){var f={startLine:r,endLine:t};return s.defined(a)&&(f.startCharacter=a),s.defined(o)&&(f.endCharacter=o),s.defined(u)&&(f.kind=u),f}e.create=n;function i(r){var t=r;return s.uinteger(t.startLine)&&s.uinteger(t.startLine)&&(s.undefined(t.startCharacter)||s.uinteger(t.startCharacter))&&(s.undefined(t.endCharacter)||s.uinteger(t.endCharacter))&&(s.undefined(t.kind)||s.string(t.kind))}e.is=i})(ee||(ee={}));var B;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&z.is(t.location)&&s.string(t.message)}e.is=i})(B||(B={}));var I;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(I||(I={}));var te;(function(e){e.Unnecessary=1,e.Deprecated=2})(te||(te={}));var re;(function(e){function n(i){var r=i;return r!=null&&s.string(r.href)}e.is=n})(re||(re={}));var H;(function(e){function n(r,t,a,o,u,f){var d={range:r,message:t};return s.defined(a)&&(d.severity=a),s.defined(o)&&(d.code=o),s.defined(u)&&(d.source=u),s.defined(f)&&(d.relatedInformation=f),d}e.create=n;function i(r){var t,a=r;return s.defined(a)&&p.is(a.range)&&s.string(a.message)&&(s.number(a.severity)||s.undefined(a.severity))&&(s.integer(a.code)||s.string(a.code)||s.undefined(a.code))&&(s.undefined(a.codeDescription)||s.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(s.string(a.source)||s.undefined(a.source))&&(s.undefined(a.relatedInformation)||s.typedArray(a.relatedInformation,B.is))}e.is=i})(H||(H={}));var D;(function(e){function n(r,t){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var u={title:r,command:t};return s.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.title)&&s.string(t.command)}e.is=i})(D||(D={}));var x;(function(e){function n(a,o){return{range:a,newText:o}}e.replace=n;function i(a,o){return{range:{start:a,end:a},newText:o}}e.insert=i;function r(a){return{range:a,newText:\"\"}}e.del=r;function t(a){var o=a;return s.objectLiteral(o)&&s.string(o.newText)&&p.is(o.range)}e.is=t})(x||(x={}));var y;(function(e){function n(r,t,a){var o={label:r};return t!==void 0&&(o.needsConfirmation=t),a!==void 0&&(o.description=a),o}e.create=n;function i(r){var t=r;return t!==void 0&&s.objectLiteral(t)&&s.string(t.label)&&(s.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(s.string(t.description)||t.description===void 0)}e.is=i})(y||(y={}));var m;(function(e){function n(i){var r=i;return typeof r==\"string\"}e.is=n})(m||(m={}));var b;(function(e){function n(a,o,u){return{range:a,newText:o,annotationId:u}}e.replace=n;function i(a,o,u){return{range:{start:a,end:a},newText:o,annotationId:u}}e.insert=i;function r(a,o){return{range:a,newText:\"\",annotationId:o}}e.del=r;function t(a){var o=a;return x.is(o)&&(y.is(o.annotationId)||m.is(o.annotationId))}e.is=t})(b||(b={}));var O;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&U.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(O||(O={}));var M;(function(e){function n(r,t,a){var o={kind:\"create\",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind===\"create\"&&s.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(M||(M={}));var S;(function(e){function n(r,t,a,o){var u={kind:\"rename\",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),o!==void 0&&(u.annotationId=o),u}e.create=n;function i(r){var t=r;return t&&t.kind===\"rename\"&&s.string(t.oldUri)&&s.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(S||(S={}));var F;(function(e){function n(r,t,a){var o={kind:\"delete\",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind===\"delete\"&&s.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||s.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||s.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(F||(F={}));var $;(function(e){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(t){return s.string(t.kind)?M.is(t)||S.is(t)||F.is(t):O.is(t)}))}e.is=n})($||($={}));var N=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,r){var t,a;if(r===void 0?t=x.insert(n,i):m.is(r)?(a=r,t=b.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=b.insert(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.replace=function(n,i,r){var t,a;if(r===void 0?t=x.replace(n,i):m.is(r)?(a=r,t=b.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=b.replace(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.delete=function(n,i){var r,t;if(i===void 0?r=x.del(n):m.is(i)?(t=i,r=b.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=b.del(n,t)),this.edits.push(r),t!==void 0)return t},e.prototype.add=function(n){this.edits.push(n)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),ne=function(){function e(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,\"size\",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(n,i){var r;if(m.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error(\"Id \"+r+\" is already in use.\");if(i===void 0)throw new Error(\"No annotation provided for id \"+r);return this._annotations[r]=i,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new ne(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(O.is(r)){var t=new N(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new N(n.changes[r]);i._textEditChanges[r]=t})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,\"edit\",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(n){if(U.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var t=[],a={textDocument:i,edits:t};this._workspaceEdit.documentChanges.push(a),r=new N(t,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r=this._textEditChanges[n];if(!r){var t=[];this._workspaceEdit.changes[n]=t,r=new N(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ne,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var t;y.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=M.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=M.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.renameFile=function(n,i,r,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var a;y.is(r)||m.is(r)?a=r:t=r;var o,u;if(a===void 0?o=S.create(n,i,t):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=S.create(n,i,t,u)),this._workspaceEdit.documentChanges.push(o),u!==void 0)return u},e.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var t;y.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=F.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=F.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e})();var ie;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)}e.is=i})(ie||(ie={}));var ae;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.integer(t.version)}e.is=i})(ae||(ae={}));var U;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&(t.version===null||s.integer(t.version))}e.is=i})(U||(U={}));var oe;(function(e){function n(r,t,a,o){return{uri:r,languageId:t,version:a,text:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.string(t.languageId)&&s.integer(t.version)&&s.string(t.text)}e.is=i})(oe||(oe={}));var T;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(T||(T={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(T||(T={}));var q;(function(e){function n(i){var r=i;return s.objectLiteral(i)&&T.is(r.kind)&&s.string(r.value)}e.is=n})(q||(q={}));var l;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(l||(l={}));var Q;(function(e){e.PlainText=1,e.Snippet=2})(Q||(Q={}));var se;(function(e){e.Deprecated=1})(se||(se={}));var ue;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){var t=r;return t&&s.string(t.newText)&&p.is(t.insert)&&p.is(t.replace)}e.is=i})(ue||(ue={}));var ce;(function(e){e.asIs=1,e.adjustIndentation=2})(ce||(ce={}));var de;(function(e){function n(i){return{label:i}}e.create=n})(de||(de={}));var ge;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(ge||(ge={}));var V;(function(e){function n(r){return r.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=n;function i(r){var t=r;return s.string(t)||s.objectLiteral(t)&&s.string(t.language)&&s.string(t.value)}e.is=i})(V||(V={}));var fe;(function(e){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(q.is(r.contents)||V.is(r.contents)||s.typedArray(r.contents,V.is))&&(i.range===void 0||p.is(i.range))}e.is=n})(fe||(fe={}));var le;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(le||(le={}));var he;(function(e){function n(i,r){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];var o={label:i};return s.defined(r)&&(o.documentation=r),s.defined(t)?o.parameters=t:o.parameters=[],o}e.create=n})(he||(he={}));var R;(function(e){e.Text=1,e.Read=2,e.Write=3})(R||(R={}));var ve;(function(e){function n(i,r){var t={range:i};return s.number(r)&&(t.kind=r),t}e.create=n})(ve||(ve={}));var h;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(h||(h={}));var pe;(function(e){e.Deprecated=1})(pe||(pe={}));var me;(function(e){function n(i,r,t,a,o){var u={name:i,kind:r,location:{uri:a,range:t}};return o&&(u.containerName=o),u}e.create=n})(me||(me={}));var _e;(function(e){function n(r,t,a,o,u,f){var d={name:r,detail:t,kind:a,range:o,selectionRange:u};return f!==void 0&&(d.children=f),d}e.create=n;function i(r){var t=r;return t&&s.string(t.name)&&s.number(t.kind)&&p.is(t.range)&&p.is(t.selectionRange)&&(t.detail===void 0||s.string(t.detail))&&(t.deprecated===void 0||s.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=i})(_e||(_e={}));var we;(function(e){e.Empty=\"\",e.QuickFix=\"quickfix\",e.Refactor=\"refactor\",e.RefactorExtract=\"refactor.extract\",e.RefactorInline=\"refactor.inline\",e.RefactorRewrite=\"refactor.rewrite\",e.Source=\"source\",e.SourceOrganizeImports=\"source.organizeImports\",e.SourceFixAll=\"source.fixAll\"})(we||(we={}));var ke;(function(e){function n(r,t){var a={diagnostics:r};return t!=null&&(a.only=t),a}e.create=n;function i(r){var t=r;return s.defined(t)&&s.typedArray(t.diagnostics,H.is)&&(t.only===void 0||s.typedArray(t.only,s.string))}e.is=i})(ke||(ke={}));var Ee;(function(e){function n(r,t,a){var o={title:r},u=!0;return typeof t==\"string\"?(u=!1,o.kind=t):D.is(t)?o.command=t:o.edit=t,u&&a!==void 0&&(o.kind=a),o}e.create=n;function i(r){var t=r;return t&&s.string(t.title)&&(t.diagnostics===void 0||s.typedArray(t.diagnostics,H.is))&&(t.kind===void 0||s.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||D.is(t.command))&&(t.isPreferred===void 0||s.boolean(t.isPreferred))&&(t.edit===void 0||$.is(t.edit))}e.is=i})(Ee||(Ee={}));var be;(function(e){function n(r,t){var a={range:r};return s.defined(t)&&(a.data=t),a}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.undefined(t.command)||D.is(t.command))}e.is=i})(be||(be={}));var xe;(function(e){function n(r,t){return{tabSize:r,insertSpaces:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.uinteger(t.tabSize)&&s.boolean(t.insertSpaces)}e.is=i})(xe||(xe={}));var Ce;(function(e){function n(r,t,a){return{range:r,target:t,data:a}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.undefined(t.target)||s.string(t.target))}e.is=i})(Ce||(Ce={}));var Ae;(function(e){function n(r,t){return{range:r,parent:t}}e.create=n;function i(r){var t=r;return t!==void 0&&p.is(t.range)&&(t.parent===void 0||e.is(t.parent))}e.is=i})(Ae||(Ae={}));var Ie;(function(e){function n(a,o,u,f){return new et(a,o,u,f)}e.create=n;function i(a){var o=a;return!!(s.defined(o)&&s.string(o.uri)&&(s.undefined(o.languageId)||s.string(o.languageId))&&s.uinteger(o.lineCount)&&s.func(o.getText)&&s.func(o.positionAt)&&s.func(o.offsetAt))}e.is=i;function r(a,o){for(var u=a.getText(),f=t(o,function(A,j){var G=A.range.start.line-j.range.start.line;return G===0?A.range.start.character-j.range.start.character:G}),d=u.length,v=f.length-1;v>=0;v--){var w=f[v],E=a.offsetAt(w.range.start),g=a.offsetAt(w.range.end);if(g<=d)u=u.substring(0,E)+w.newText+u.substring(g,u.length);else throw new Error(\"Overlapping edit\");d=E}return u}e.applyEdits=r;function t(a,o){if(a.length<=1)return a;var u=a.length/2|0,f=a.slice(0,u),d=a.slice(u);t(f,o),t(d,o);for(var v=0,w=0,E=0;v<f.length&&w<d.length;){var g=o(f[v],d[w]);g<=0?a[E++]=f[v++]:a[E++]=d[w++]}for(;v<f.length;)a[E++]=f[v++];for(;w<d.length;)a[E++]=d[w++];return a}})(Ie||(Ie={}));var et=function(){function e(n,i,r,t){this._uri=n,this._languageId=i,this._version=r,this._content=t,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(n){if(n){var i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content},e.prototype.update=function(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var n=[],i=this._content,r=!0,t=0;t<i.length;t++){r&&(n.push(t),r=!1);var a=i.charAt(t);r=a===\"\\r\"||a===`\n`,a===\"\\r\"&&t+1<i.length&&i.charAt(t+1)===`\n`&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return k.create(0,n);for(;r<t;){var a=Math.floor((r+t)/2);i[a]>n?t=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),s;(function(e){var n=Object.prototype.toString;function i(g){return typeof g<\"u\"}e.defined=i;function r(g){return typeof g>\"u\"}e.undefined=r;function t(g){return g===!0||g===!1}e.boolean=t;function a(g){return n.call(g)===\"[object String]\"}e.string=a;function o(g){return n.call(g)===\"[object Number]\"}e.number=o;function u(g,A,j){return n.call(g)===\"[object Number]\"&&A<=g&&g<=j}e.numberRange=u;function f(g){return n.call(g)===\"[object Number]\"&&-2147483648<=g&&g<=2147483647}e.integer=f;function d(g){return n.call(g)===\"[object Number]\"&&0<=g&&g<=2147483647}e.uinteger=d;function v(g){return n.call(g)===\"[object Function]\"}e.func=v;function w(g){return g!==null&&typeof g==\"object\"}e.objectLiteral=w;function E(g,A){return Array.isArray(g)&&g.every(A)}e.typedArray=E})(s||(s={}));var pt=class{constructor(e,n,i){this._languageId=e,this._worker=n,this._disposables=[],this._listener=Object.create(null);const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>rt(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function tt(e){switch(e){case I.Error:return c.MarkerSeverity.Error;case I.Warning:return c.MarkerSeverity.Warning;case I.Information:return c.MarkerSeverity.Info;case I.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function rt(e,n){let i=typeof n.code==\"number\"?String(n.code):n.code;return{severity:tt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var nt=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),C(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),f=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:ot(d.command),range:u,kind:at(d.kind)};return d.textEdit&&(it(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(L)),d.insertTextFormat===Q.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:f}})}};function C(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function De(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function _(e){if(e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function it(e){return typeof e.insert<\"u\"&&typeof e.replace<\"u\"}function at(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function L(e){if(e)return{range:_(e.range),text:e.newText}}function ot(e){return e&&e.command===\"editor.action.triggerSuggest\"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Me=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),C(n))).then(t=>{if(t)return{range:_(t.range),contents:ut(t.contents)}})}};function st(e){return e&&typeof e==\"object\"&&typeof e.kind==\"string\"}function ye(e){return typeof e==\"string\"?{value:e}:st(e)?e.kind===\"plaintext\"?{value:e.value.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}:{value:e.value}:{value:\"```\"+e.language+`\n`+e.value+\"\\n```\\n\"}}function ut(e){if(e)return Array.isArray(e)?e.map(ye):[ye(e)]}var Se=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),C(n))).then(t=>{if(t)return t.map(a=>({range:_(a.range),kind:ct(a.kind)}))})}};function ct(e){switch(e){case R.Read:return c.languages.DocumentHighlightKind.Read;case R.Write:return c.languages.DocumentHighlightKind.Write;case R.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var mt=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),C(n))).then(t=>{if(t)return[Fe(t)]})}};function Fe(e){return{uri:c.Uri.parse(e.uri),range:_(e.range)}}var _t=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),C(n))).then(a=>{if(a)return a.map(Fe)})}},Te=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),C(n),i)).then(a=>dt(a))}};function dt(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(t.range),text:t.newText}})}return{edits:n}}var Le=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(t=>gt(t)?je(t):{name:t.name,detail:\"\",containerName:t.containerName,kind:Ne(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]})})}};function gt(e){return\"children\"in e}function je(e){return{name:e.name,detail:e.detail??\"\",kind:Ne(e.kind),range:_(e.range),selectionRange:_(e.selectionRange),tags:e.tags??[],children:(e.children??[]).map(n=>je(n))}}function Ne(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.File;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var We=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(t=>({range:_(t.range),url:t.target}))}})}},He=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Ue(n)).then(a=>{if(!(!a||a.length===0))return a.map(L)}))}},Oe=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),De(n),Ue(i)).then(o=>{if(!(!o||o.length===0))return o.map(L)}))}};function Ue(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var wt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(t=>({color:t.color,range:_(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,De(n.range))).then(t=>{if(t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=L(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(L)),o})})}},Ve=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<\"u\"&&(o.kind=ft(a.kind)),o})})}};function ft(e){switch(e){case P.Comment:return c.languages.FoldingRangeKind.Comment;case P.Imports:return c.languages.FoldingRangeKind.Imports;case P.Region:return c.languages.FoldingRangeKind.Region}}var ze=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(C))).then(t=>{if(t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}},Xe=class extends nt{constructor(e){super(e,[\".\",\":\",\"<\",'\"',\"=\",\"/\"])}};function kt(e){const n=new Re(e),i=(...t)=>n.getLanguageServiceWorker(...t);let r=e.languageId;c.languages.registerCompletionItemProvider(r,new Xe(i)),c.languages.registerHoverProvider(r,new Me(i)),c.languages.registerDocumentHighlightProvider(r,new Se(i)),c.languages.registerLinkProvider(r,new We(i)),c.languages.registerFoldingRangeProvider(r,new Ve(i)),c.languages.registerDocumentSymbolProvider(r,new Le(i)),c.languages.registerSelectionRangeProvider(r,new ze(i)),c.languages.registerRenameProvider(r,new Te(i)),r===\"html\"&&(c.languages.registerDocumentFormattingEditProvider(r,new He(i)),c.languages.registerDocumentRangeFormattingEditProvider(r,new Oe(i)))}function Et(e){const n=[],i=[],r=new Re(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Be(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Xe(t))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Me(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new Se(t))),u.links&&i.push(c.languages.registerLinkProvider(o,new We(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new Le(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new Te(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new Ve(t))),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new ze(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new He(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new Oe(t)))}return a(),n.push(Pe(i)),Pe(n)}function Pe(e){return{dispose:()=>Be(e)}}function Be(e){for(;e.length;)e.pop().dispose()}export{nt as CompletionAdapter,mt as DefinitionAdapter,pt as DiagnosticsAdapter,wt as DocumentColorAdapter,He as DocumentFormattingEditProvider,Se as DocumentHighlightAdapter,We as DocumentLinkAdapter,Oe as DocumentRangeFormattingEditProvider,Le as DocumentSymbolAdapter,Ve as FoldingRangeAdapter,Me as HoverAdapter,_t as ReferenceAdapter,Te as RenameAdapter,ze as SelectionRangeAdapter,Re as WorkerManager,C as fromPosition,De as fromRange,Et as setupMode,kt as setupMode1,_ as toRange,L as toTextEdit};\n"
  },
  {
    "path": "backend/openui/dist/assets/index-B7PjGjI7.js",
    "content": "var cE=Object.defineProperty;var ug=e=>{throw TypeError(e)};var fE=(e,t,n)=>t in e?cE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ln=(e,t,n)=>fE(e,typeof t!=\"symbol\"?t+\"\":t,n),pf=(e,t,n)=>t.has(e)||ug(\"Cannot \"+n);var D=(e,t,n)=>(pf(e,t,\"read from private field\"),n?n.call(e):t.get(e)),Se=(e,t,n)=>t.has(e)?ug(\"Cannot add the same private member more than once\"):t instanceof WeakSet?t.add(e):t.set(e,n),ue=(e,t,n,r)=>(pf(e,t,\"write to private field\"),r?r.call(e,n):t.set(e,n),n),St=(e,t,n)=>(pf(e,t,\"access private method\"),n);var bl=(e,t,n,r)=>({set _(i){ue(e,t,i,n)},get _(){return D(e,t,r)}});function $w(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!=\"string\"&&!Array.isArray(r)){for(const i in r)if(i!==\"default\"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}))}(function(){const t=document.createElement(\"link\").relList;if(t&&t.supports&&t.supports(\"modulepreload\"))return;for(const i of document.querySelectorAll('link[rel=\"modulepreload\"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type===\"childList\")for(const o of s.addedNodes)o.tagName===\"LINK\"&&o.rel===\"modulepreload\"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin===\"use-credentials\"?s.credentials=\"include\":i.crossOrigin===\"anonymous\"?s.credentials=\"omit\":s.credentials=\"same-origin\",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function rp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,\"default\")?e.default:e}var jw={exports:{}},gc={},zw={exports:{}},ge={};/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var el=Symbol.for(\"react.element\"),dE=Symbol.for(\"react.portal\"),hE=Symbol.for(\"react.fragment\"),pE=Symbol.for(\"react.strict_mode\"),mE=Symbol.for(\"react.profiler\"),gE=Symbol.for(\"react.provider\"),yE=Symbol.for(\"react.context\"),vE=Symbol.for(\"react.forward_ref\"),wE=Symbol.for(\"react.suspense\"),xE=Symbol.for(\"react.memo\"),SE=Symbol.for(\"react.lazy\"),cg=Symbol.iterator;function bE(e){return e===null||typeof e!=\"object\"?null:(e=cg&&e[cg]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var Uw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Bw=Object.assign,Hw={};function wo(e,t,n){this.props=e,this.context=t,this.refs=Hw,this.updater=n||Uw}wo.prototype.isReactComponent={};wo.prototype.setState=function(e,t){if(typeof e!=\"object\"&&typeof e!=\"function\"&&e!=null)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,e,t,\"setState\")};wo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")};function Vw(){}Vw.prototype=wo.prototype;function ip(e,t,n){this.props=e,this.context=t,this.refs=Hw,this.updater=n||Uw}var sp=ip.prototype=new Vw;sp.constructor=ip;Bw(sp,wo.prototype);sp.isPureReactComponent=!0;var fg=Array.isArray,Ww=Object.prototype.hasOwnProperty,op={current:null},Qw={key:!0,ref:!0,__self:!0,__source:!0};function Kw(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=\"\"+t.key),t)Ww.call(t,r)&&!Qw.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:el,type:e,key:s,ref:o,props:i,_owner:op.current}}function EE(e,t){return{$$typeof:el,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ap(e){return typeof e==\"object\"&&e!==null&&e.$$typeof===el}function _E(e){var t={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+e.replace(/[=:]/g,function(n){return t[n]})}var dg=/\\/+/g;function mf(e,t){return typeof e==\"object\"&&e!==null&&e.key!=null?_E(\"\"+e.key):t.toString(36)}function ru(e,t,n,r,i){var s=typeof e;(s===\"undefined\"||s===\"boolean\")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case\"string\":case\"number\":o=!0;break;case\"object\":switch(e.$$typeof){case el:case dE:o=!0}}if(o)return o=e,i=i(o),e=r===\"\"?\".\"+mf(o,0):r,fg(i)?(n=\"\",e!=null&&(n=e.replace(dg,\"$&/\")+\"/\"),ru(i,t,n,\"\",function(u){return u})):i!=null&&(ap(i)&&(i=EE(i,n+(!i.key||o&&o.key===i.key?\"\":(\"\"+i.key).replace(dg,\"$&/\")+\"/\")+e)),t.push(i)),1;if(o=0,r=r===\"\"?\".\":r+\":\",fg(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+mf(s,a);o+=ru(s,t,n,l,i)}else if(l=bE(e),typeof l==\"function\")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+mf(s,a++),o+=ru(s,t,n,l,i);else if(s===\"object\")throw t=String(e),Error(\"Objects are not valid as a React child (found: \"+(t===\"[object Object]\"?\"object with keys {\"+Object.keys(e).join(\", \")+\"}\":t)+\"). If you meant to render a collection of children, use an array instead.\");return o}function El(e,t,n){if(e==null)return e;var r=[],i=0;return ru(e,r,\"\",\"\",function(s){return t.call(n,s,i++)}),r}function CE(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Mt={current:null},iu={transition:null},kE={ReactCurrentDispatcher:Mt,ReactCurrentBatchConfig:iu,ReactCurrentOwner:op};function qw(){throw Error(\"act(...) is not supported in production builds of React.\")}ge.Children={map:El,forEach:function(e,t,n){El(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return El(e,function(){t++}),t},toArray:function(e){return El(e,function(t){return t})||[]},only:function(e){if(!ap(e))throw Error(\"React.Children.only expected to receive a single React element child.\");return e}};ge.Component=wo;ge.Fragment=hE;ge.Profiler=mE;ge.PureComponent=ip;ge.StrictMode=pE;ge.Suspense=wE;ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kE;ge.act=qw;ge.cloneElement=function(e,t,n){if(e==null)throw Error(\"React.cloneElement(...): The argument must be a React element, but you passed \"+e+\".\");var r=Bw({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=op.current),t.key!==void 0&&(i=\"\"+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Ww.call(t,l)&&!Qw.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:el,type:e.type,key:i,ref:s,props:r,_owner:o}};ge.createContext=function(e){return e={$$typeof:yE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:gE,_context:e},e.Consumer=e};ge.createElement=Kw;ge.createFactory=function(e){var t=Kw.bind(null,e);return t.type=e,t};ge.createRef=function(){return{current:null}};ge.forwardRef=function(e){return{$$typeof:vE,render:e}};ge.isValidElement=ap;ge.lazy=function(e){return{$$typeof:SE,_payload:{_status:-1,_result:e},_init:CE}};ge.memo=function(e,t){return{$$typeof:xE,type:e,compare:t===void 0?null:t}};ge.startTransition=function(e){var t=iu.transition;iu.transition={};try{e()}finally{iu.transition=t}};ge.unstable_act=qw;ge.useCallback=function(e,t){return Mt.current.useCallback(e,t)};ge.useContext=function(e){return Mt.current.useContext(e)};ge.useDebugValue=function(){};ge.useDeferredValue=function(e){return Mt.current.useDeferredValue(e)};ge.useEffect=function(e,t){return Mt.current.useEffect(e,t)};ge.useId=function(){return Mt.current.useId()};ge.useImperativeHandle=function(e,t,n){return Mt.current.useImperativeHandle(e,t,n)};ge.useInsertionEffect=function(e,t){return Mt.current.useInsertionEffect(e,t)};ge.useLayoutEffect=function(e,t){return Mt.current.useLayoutEffect(e,t)};ge.useMemo=function(e,t){return Mt.current.useMemo(e,t)};ge.useReducer=function(e,t,n){return Mt.current.useReducer(e,t,n)};ge.useRef=function(e){return Mt.current.useRef(e)};ge.useState=function(e){return Mt.current.useState(e)};ge.useSyncExternalStore=function(e,t,n){return Mt.current.useSyncExternalStore(e,t,n)};ge.useTransition=function(){return Mt.current.useTransition()};ge.version=\"18.3.1\";zw.exports=ge;var _=zw.exports;const Ki=rp(_),Jw=$w({__proto__:null,default:Ki},[_]);/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var PE=_,RE=Symbol.for(\"react.element\"),AE=Symbol.for(\"react.fragment\"),TE=Object.prototype.hasOwnProperty,OE=PE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,IE={key:!0,ref:!0,__self:!0,__source:!0};function Gw(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=\"\"+n),t.key!==void 0&&(s=\"\"+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)TE.call(t,r)&&!IE.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:RE,type:e,key:s,ref:o,props:i,_owner:OE.current}}gc.Fragment=AE;gc.jsx=Gw;gc.jsxs=Gw;jw.exports=gc;var Y=jw.exports,yc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vc=typeof window>\"u\"||\"Deno\"in globalThis;function _n(){}function LE(e,t){return typeof e==\"function\"?e(t):e}function ME(e){return typeof e==\"number\"&&e>=0&&e!==1/0}function NE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function hg(e,t){return typeof e==\"function\"?e(t):e}function FE(e,t){return typeof e==\"function\"?e(t):e}function pg(e,t){const{type:n=\"all\",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==lp(o,t.options))return!1}else if(!Ca(t.queryKey,o))return!1}if(n!==\"all\"){const l=t.isActive();if(n===\"active\"&&!l||n===\"inactive\"&&l)return!1}return!(typeof a==\"boolean\"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function mg(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(_a(t.options.mutationKey)!==_a(s))return!1}else if(!Ca(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function lp(e,t){return((t==null?void 0:t.queryKeyHashFn)||_a)(e)}function _a(e){return JSON.stringify(e,(t,n)=>Cd(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Ca(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e==\"object\"&&typeof t==\"object\"?Object.keys(t).every(n=>Ca(e[n],t[n])):!1}function Xw(e,t){if(e===t)return e;const n=gg(e)&&gg(t);if(n||Cd(e)&&Cd(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u<o;u++){const f=n?u:s[u];(!n&&r.includes(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,l++):(a[f]=Xw(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&l++)}return i===o&&l===i?e:a}return t}function v2(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function gg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Cd(e){if(!yg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!yg(n)||!n.hasOwnProperty(\"isPrototypeOf\")||Object.getPrototypeOf(e)!==Object.prototype)}function yg(e){return Object.prototype.toString.call(e)===\"[object Object]\"}function DE(e){return new Promise(t=>{setTimeout(t,e)})}function $E(e,t,n){return typeof n.structuralSharing==\"function\"?n.structuralSharing(e,t):n.structuralSharing!==!1?Xw(e,t):t}function jE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function zE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var up=Symbol();function Yw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===up?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Bi,Xr,Xs,Tw,UE=(Tw=class extends yc{constructor(){super();Se(this,Bi);Se(this,Xr);Se(this,Xs);ue(this,Xs,t=>{if(!vc&&window.addEventListener){const n=()=>t();return window.addEventListener(\"visibilitychange\",n,!1),()=>{window.removeEventListener(\"visibilitychange\",n)}}})}onSubscribe(){D(this,Xr)||this.setEventListener(D(this,Xs))}onUnsubscribe(){var t;this.hasListeners()||((t=D(this,Xr))==null||t.call(this),ue(this,Xr,void 0))}setEventListener(t){var n;ue(this,Xs,t),(n=D(this,Xr))==null||n.call(this),ue(this,Xr,t(r=>{typeof r==\"boolean\"?this.setFocused(r):this.onFocus()}))}setFocused(t){D(this,Bi)!==t&&(ue(this,Bi,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof D(this,Bi)==\"boolean\"?D(this,Bi):((t=globalThis.document)==null?void 0:t.visibilityState)!==\"hidden\"}},Bi=new WeakMap,Xr=new WeakMap,Xs=new WeakMap,Tw),Zw=new UE,Ys,Yr,Zs,Ow,BE=(Ow=class extends yc{constructor(){super();Se(this,Ys,!0);Se(this,Yr);Se(this,Zs);ue(this,Zs,t=>{if(!vc&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener(\"online\",n,!1),window.addEventListener(\"offline\",r,!1),()=>{window.removeEventListener(\"online\",n),window.removeEventListener(\"offline\",r)}}})}onSubscribe(){D(this,Yr)||this.setEventListener(D(this,Zs))}onUnsubscribe(){var t;this.hasListeners()||((t=D(this,Yr))==null||t.call(this),ue(this,Yr,void 0))}setEventListener(t){var n;ue(this,Zs,t),(n=D(this,Yr))==null||n.call(this),ue(this,Yr,t(this.setOnline.bind(this)))}setOnline(t){D(this,Ys)!==t&&(ue(this,Ys,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return D(this,Ys)}},Ys=new WeakMap,Yr=new WeakMap,Zs=new WeakMap,Ow),ku=new BE;function HE(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status=\"pending\",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:\"fulfilled\",value:i}),e(i)},n.reject=i=>{r({status:\"rejected\",reason:i}),t(i)},n}function VE(e){return Math.min(1e3*2**e,3e4)}function e0(e){return(e??\"online\")===\"online\"?ku.isOnline():!0}var t0=class extends Error{constructor(e){super(\"CancelledError\"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function gf(e){return e instanceof t0}function n0(e){let t=!1,n=0,r=!1,i;const s=HE(),o=v=>{var x;r||(d(new t0(v)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Zw.isFocused()&&(e.networkMode===\"always\"||ku.isOnline())&&e.canRun(),f=()=>e0(e.networkMode)&&e.canRun(),c=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),i==null||i(),s.resolve(v))},d=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),i==null||i(),s.reject(v))},h=()=>new Promise(v=>{var x;i=m=>{(r||u())&&v(m)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;i=void 0,r||(v=e.onContinue)==null||v.call(e)}),g=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(c).catch(m=>{var E;if(r)return;const p=e.retry??(vc?0:3),w=e.retryDelay??VE,S=typeof w==\"function\"?w(n,m):w,k=p===!0||typeof p==\"number\"&&n<p||typeof p==\"function\"&&p(n,m);if(t||!k){d(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),DE(S).then(()=>u()?void 0:h()).then(()=>{t?d(m):g()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:f,start:()=>(f()?g():h().then(g),s)}}var WE=e=>setTimeout(e,0);function QE(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=WE;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var It=QE(),Hi,Iw,r0=(Iw=class{constructor(){Se(this,Hi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ME(this.gcTime)&&ue(this,Hi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vc?1/0:5*60*1e3))}clearGcTimeout(){D(this,Hi)&&(clearTimeout(D(this,Hi)),ue(this,Hi,void 0))}},Hi=new WeakMap,Iw),eo,to,un,Vi,Ct,Ya,Wi,Pn,vr,Lw,KE=(Lw=class extends r0{constructor(t){super();Se(this,Pn);Se(this,eo);Se(this,to);Se(this,un);Se(this,Vi);Se(this,Ct);Se(this,Ya);Se(this,Wi);ue(this,Wi,!1),ue(this,Ya,t.defaultOptions),this.setOptions(t.options),this.observers=[],ue(this,Vi,t.client),ue(this,un,D(this,Vi).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ue(this,eo,JE(this.options)),this.state=t.state??D(this,eo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=D(this,Ct))==null?void 0:t.promise}setOptions(t){this.options={...D(this,Ya),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus===\"idle\"&&D(this,un).remove(this)}setData(t,n){const r=$E(this.state.data,t,this.options);return St(this,Pn,vr).call(this,{data:r,type:\"success\",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){St(this,Pn,vr).call(this,{type:\"setState\",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=D(this,Ct))==null?void 0:r.promise;return(i=D(this,Ct))==null||i.cancel(t),n?n.then(_n).catch(_n):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(D(this,eo))}isActive(){return this.observers.some(t=>FE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===up||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!NE(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=D(this,Ct))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=D(this,Ct))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),D(this,un).notify({type:\"observerAdded\",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(D(this,Ct)&&(D(this,Wi)?D(this,Ct).cancel({revert:!0}):D(this,Ct).cancelRetry()),this.scheduleGc()),D(this,un).notify({type:\"observerRemoved\",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||St(this,Pn,vr).call(this,{type:\"invalidate\"})}fetch(t,n){var l,u,f;if(this.state.fetchStatus!==\"idle\"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(D(this,Ct))return D(this,Ct).continueRetry(),D(this,Ct).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(d=>d.options.queryFn);c&&this.setOptions(c.options)}const r=new AbortController,i=c=>{Object.defineProperty(c,\"signal\",{enumerable:!0,get:()=>(ue(this,Wi,!0),r.signal)})},s=()=>{const c=Yw(this.options,n),d={client:D(this,Vi),queryKey:this.queryKey,meta:this.meta};return i(d),ue(this,Wi,!1),this.options.persister?this.options.persister(c,d,this):c(d)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:D(this,Vi),state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),ue(this,to,this.state),(this.state.fetchStatus===\"idle\"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&St(this,Pn,vr).call(this,{type:\"fetch\",meta:(f=o.fetchOptions)==null?void 0:f.meta});const a=c=>{var d,h,g,v;gf(c)&&c.silent||St(this,Pn,vr).call(this,{type:\"error\",error:c}),gf(c)||((h=(d=D(this,un).config).onError)==null||h.call(d,c,this),(v=(g=D(this,un).config).onSettled)==null||v.call(g,this.state.data,c,this)),this.scheduleGc()};return ue(this,Ct,n0({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:c=>{var d,h,g,v;if(c===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(x){a(x);return}(h=(d=D(this,un).config).onSuccess)==null||h.call(d,c,this),(v=(g=D(this,un).config).onSettled)==null||v.call(g,c,this.state.error,this),this.scheduleGc()},onError:a,onFail:(c,d)=>{St(this,Pn,vr).call(this,{type:\"failed\",failureCount:c,error:d})},onPause:()=>{St(this,Pn,vr).call(this,{type:\"pause\"})},onContinue:()=>{St(this,Pn,vr).call(this,{type:\"continue\"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),D(this,Ct).start()}},eo=new WeakMap,to=new WeakMap,un=new WeakMap,Vi=new WeakMap,Ct=new WeakMap,Ya=new WeakMap,Wi=new WeakMap,Pn=new WeakSet,vr=function(t){const n=r=>{switch(t.type){case\"failed\":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case\"pause\":return{...r,fetchStatus:\"paused\"};case\"continue\":return{...r,fetchStatus:\"fetching\"};case\"fetch\":return{...r,...qE(r.data,this.options),fetchMeta:t.meta??null};case\"success\":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:\"success\",...!t.manual&&{fetchStatus:\"idle\",fetchFailureCount:0,fetchFailureReason:null}};case\"error\":const i=t.error;return gf(i)&&i.revert&&D(this,to)?{...D(this,to),fetchStatus:\"idle\"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:\"idle\",status:\"error\"};case\"invalidate\":return{...r,isInvalidated:!0};case\"setState\":return{...r,...t.state}}};this.state=n(this.state),It.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),D(this,un).notify({query:this,type:\"updated\",action:t})})},Lw);function qE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:e0(t.networkMode)?\"fetching\":\"paused\",...e===void 0&&{error:null,status:\"pending\"}}}function JE(e){const t=typeof e.initialData==\"function\"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==\"function\"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?\"success\":\"pending\",fetchStatus:\"idle\"}}var Jn,Mw,GE=(Mw=class extends yc{constructor(t={}){super();Se(this,Jn);this.config=t,ue(this,Jn,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??lp(i,n);let o=this.get(s);return o||(o=new KE({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){D(this,Jn).has(t.queryHash)||(D(this,Jn).set(t.queryHash,t),this.notify({type:\"added\",query:t}))}remove(t){const n=D(this,Jn).get(t.queryHash);n&&(t.destroy(),n===t&&D(this,Jn).delete(t.queryHash),this.notify({type:\"removed\",query:t}))}clear(){It.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return D(this,Jn).get(t)}getAll(){return[...D(this,Jn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pg(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>pg(t,r)):n}notify(t){It.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){It.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){It.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Jn=new WeakMap,Mw),Gn,Tt,Qi,Xn,Wr,Nw,XE=(Nw=class extends r0{constructor(t){super();Se(this,Xn);Se(this,Gn);Se(this,Tt);Se(this,Qi);this.mutationId=t.mutationId,ue(this,Tt,t.mutationCache),ue(this,Gn,[]),this.state=t.state||YE(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){D(this,Gn).includes(t)||(D(this,Gn).push(t),this.clearGcTimeout(),D(this,Tt).notify({type:\"observerAdded\",mutation:this,observer:t}))}removeObserver(t){ue(this,Gn,D(this,Gn).filter(n=>n!==t)),this.scheduleGc(),D(this,Tt).notify({type:\"observerRemoved\",mutation:this,observer:t})}optionalRemove(){D(this,Gn).length||(this.state.status===\"pending\"?this.scheduleGc():D(this,Tt).remove(this))}continue(){var t;return((t=D(this,Qi))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,f,c,d,h,g,v,x,m,p,w,S,k,E,y,R;const n=()=>{St(this,Xn,Wr).call(this,{type:\"continue\"})};ue(this,Qi,n0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error(\"No mutationFn found\")),onFail:(T,A)=>{St(this,Xn,Wr).call(this,{type:\"failed\",failureCount:T,error:A})},onPause:()=>{St(this,Xn,Wr).call(this,{type:\"pause\"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,Tt).canRun(this)}));const r=this.state.status===\"pending\",i=!D(this,Qi).canStart();try{if(r)n();else{St(this,Xn,Wr).call(this,{type:\"pending\",variables:t,isPaused:i}),await((o=(s=D(this,Tt).config).onMutate)==null?void 0:o.call(s,t,this));const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&St(this,Xn,Wr).call(this,{type:\"pending\",context:A,variables:t,isPaused:i})}const T=await D(this,Qi).start();return await((f=(u=D(this,Tt).config).onSuccess)==null?void 0:f.call(u,T,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,T,t,this.state.context)),await((g=(h=D(this,Tt).config).onSettled)==null?void 0:g.call(h,T,null,this.state.variables,this.state.context,this)),await((x=(v=this.options).onSettled)==null?void 0:x.call(v,T,null,t,this.state.context)),St(this,Xn,Wr).call(this,{type:\"success\",data:T}),T}catch(T){try{throw await((p=(m=D(this,Tt).config).onError)==null?void 0:p.call(m,T,t,this.state.context,this)),await((S=(w=this.options).onError)==null?void 0:S.call(w,T,t,this.state.context)),await((E=(k=D(this,Tt).config).onSettled)==null?void 0:E.call(k,void 0,T,this.state.variables,this.state.context,this)),await((R=(y=this.options).onSettled)==null?void 0:R.call(y,void 0,T,t,this.state.context)),T}finally{St(this,Xn,Wr).call(this,{type:\"error\",error:T})}}finally{D(this,Tt).runNext(this)}}},Gn=new WeakMap,Tt=new WeakMap,Qi=new WeakMap,Xn=new WeakSet,Wr=function(t){const n=r=>{switch(t.type){case\"failed\":return{...r,failureCount:t.failureCount,failureReason:t.error};case\"pause\":return{...r,isPaused:!0};case\"continue\":return{...r,isPaused:!1};case\"pending\":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:\"pending\",variables:t.variables,submittedAt:Date.now()};case\"success\":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:\"success\",isPaused:!1};case\"error\":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:\"error\"}}};this.state=n(this.state),It.batch(()=>{D(this,Gn).forEach(r=>{r.onMutationUpdate(t)}),D(this,Tt).notify({mutation:this,type:\"updated\",action:t})})},Nw);function YE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:\"idle\",variables:void 0,submittedAt:0}}var Er,Rn,Za,Fw,ZE=(Fw=class extends yc{constructor(t={}){super();Se(this,Er);Se(this,Rn);Se(this,Za);this.config=t,ue(this,Er,new Set),ue(this,Rn,new Map),ue(this,Za,0)}build(t,n,r){const i=new XE({mutationCache:this,mutationId:++bl(this,Za)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){D(this,Er).add(t);const n=_l(t);if(typeof n==\"string\"){const r=D(this,Rn).get(n);r?r.push(t):D(this,Rn).set(n,[t])}this.notify({type:\"added\",mutation:t})}remove(t){if(D(this,Er).delete(t)){const n=_l(t);if(typeof n==\"string\"){const r=D(this,Rn).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&D(this,Rn).delete(n)}}this.notify({type:\"removed\",mutation:t})}canRun(t){const n=_l(t);if(typeof n==\"string\"){const r=D(this,Rn).get(n),i=r==null?void 0:r.find(s=>s.state.status===\"pending\");return!i||i===t}else return!0}runNext(t){var r;const n=_l(t);if(typeof n==\"string\"){const i=(r=D(this,Rn).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){It.batch(()=>{D(this,Er).forEach(t=>{this.notify({type:\"removed\",mutation:t})}),D(this,Er).clear(),D(this,Rn).clear()})}getAll(){return Array.from(D(this,Er))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>mg(n,r))}findAll(t={}){return this.getAll().filter(n=>mg(t,n))}notify(t){It.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return It.batch(()=>Promise.all(t.map(n=>n.continue().catch(_n))))}},Er=new WeakMap,Rn=new WeakMap,Za=new WeakMap,Fw);function _l(e){var t;return(t=e.options.scope)==null?void 0:t.id}function vg(e){return{onFetch:(t,n)=>{var f,c,d,h,g;const r=t.options,i=(d=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:d.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],o=((g=t.state.data)==null?void 0:g.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const x=w=>{Object.defineProperty(w,\"signal\",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener(\"abort\",()=>{v=!0}),t.signal)})},m=Yw(t.options,t.fetchOptions),p=async(w,S,k)=>{if(v)return Promise.reject();if(S==null&&w.pages.length)return Promise.resolve(w);const E={client:t.client,queryKey:t.queryKey,pageParam:S,direction:k?\"backward\":\"forward\",meta:t.options.meta};x(E);const y=await m(E),{maxPages:R}=t.options,T=k?zE:jE;return{pages:T(w.pages,y,R),pageParams:T(w.pageParams,S,R)}};if(i&&s.length){const w=i===\"backward\",S=w?e_:wg,k={pages:s,pageParams:o},E=S(r,k);a=await p(k,E,w)}else{const w=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:wg(r,a);if(l>0&&S==null)break;a=await p(a,S),l++}while(l<w)}return a};t.options.persister?t.fetchFn=()=>{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function wg(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function e_(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var We,Zr,ei,no,ro,ti,io,so,Dw,t_=(Dw=class{constructor(e={}){Se(this,We);Se(this,Zr);Se(this,ei);Se(this,no);Se(this,ro);Se(this,ti);Se(this,io);Se(this,so);ue(this,We,e.queryCache||new GE),ue(this,Zr,e.mutationCache||new ZE),ue(this,ei,e.defaultOptions||{}),ue(this,no,new Map),ue(this,ro,new Map),ue(this,ti,0)}mount(){bl(this,ti)._++,D(this,ti)===1&&(ue(this,io,Zw.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,We).onFocus())})),ue(this,so,ku.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,We).onOnline())})))}unmount(){var e,t;bl(this,ti)._--,D(this,ti)===0&&((e=D(this,io))==null||e.call(this),ue(this,io,void 0),(t=D(this,so))==null||t.call(this),ue(this,so,void 0))}isFetching(e){return D(this,We).findAll({...e,fetchStatus:\"fetching\"}).length}isMutating(e){return D(this,Zr).findAll({...e,status:\"pending\"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=D(this,We).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=D(this,We).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(hg(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return D(this,We).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=D(this,We).get(r.queryHash),s=i==null?void 0:i.state.data,o=LE(t,s);if(o!==void 0)return D(this,We).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return It.batch(()=>D(this,We).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=D(this,We).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=D(this,We);It.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=D(this,We);return It.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:\"active\",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=It.batch(()=>D(this,We).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(_n).catch(_n)}invalidateQueries(e,t={}){return It.batch(()=>(D(this,We).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)===\"none\"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??\"active\"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=It.batch(()=>D(this,We).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(_n)),i.state.fetchStatus===\"paused\"?Promise.resolve():s}));return Promise.all(r).then(_n)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=D(this,We).build(this,t);return n.isStaleByTime(hg(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_n).catch(_n)}fetchInfiniteQuery(e){return e.behavior=vg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(_n).catch(_n)}ensureInfiniteQueryData(e){return e.behavior=vg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ku.isOnline()?D(this,Zr).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,We)}getMutationCache(){return D(this,Zr)}getDefaultOptions(){return D(this,ei)}setDefaultOptions(e){ue(this,ei,e)}setQueryDefaults(e,t){D(this,no).set(_a(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...D(this,no).values()],n={};return t.forEach(r=>{Ca(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){D(this,ro).set(_a(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...D(this,ro).values()],n={};return t.forEach(r=>{Ca(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...D(this,ei).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=lp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==\"always\"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=\"offlineFirst\"),t.queryFn===up&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...D(this,ei).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(this,We).clear(),D(this,Zr).clear()}},We=new WeakMap,Zr=new WeakMap,ei=new WeakMap,no=new WeakMap,ro=new WeakMap,ti=new WeakMap,io=new WeakMap,so=new WeakMap,Dw),i0=_.createContext(void 0),w2=e=>{const t=_.useContext(i0);if(!t)throw new Error(\"No QueryClient set, use QueryClientProvider to set one\");return t},n_=({client:e,children:t})=>(_.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),Y.jsx(i0.Provider,{value:e,children:t}));const r_=\"modulepreload\",i_=function(e){return\"/\"+e},xg={},s_=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName(\"link\");const o=document.querySelector(\"meta[property=csp-nonce]\"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute(\"nonce\"));i=Promise.allSettled(n.map(l=>{if(l=i_(l),l in xg)return;xg[l]=!0;const u=l.endsWith(\".css\"),f=u?'[rel=\"stylesheet\"]':\"\";if(document.querySelector(`link[href=\"${l}\"]${f}`))return;const c=document.createElement(\"link\");if(c.rel=u?\"stylesheet\":r_,u||(c.as=\"script\"),c.crossOrigin=\"\",c.href=l,a&&c.setAttribute(\"nonce\",a),document.head.appendChild(c),u)return new Promise((d,h)=>{c.addEventListener(\"load\",d),c.addEventListener(\"error\",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event(\"vite:preloadError\",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status===\"rejected\"&&s(a.reason);return t().catch(s)})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class s0 extends Ki.Component{constructor(){super(...arguments);ln(this,\"state\",{error:void 0})}static getDerivedStateFromError(n){return{error:n}}componentDidCatch(n,r){console.error(\"Encountered ErrorBoundary:\",n,r);const{onError:i}=this.props;i==null||i(n)}render(){const{error:n}=this.state;if(n!==void 0){const{renderError:i}=this.props;return i(n)}const{children:r}=this.props;return r}}ln(s0,\"defaultProps\",{children:void 0,onError:void 0});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Sg({error:e}){return Y.jsxs(\"div\",{className:\"flex min-h-screen flex-col items-center justify-center\",children:[Y.jsx(\"h1\",{className:\"text-xl\",\"data-testid\":\"LoadingOrError\",children:e?e.message:Y.jsx(\"div\",{role:\"status\",className:\"h-16 w-16 animate-spin rounded-full bg-gradient-to-r from-purple-500 via-pink-500 to-red-500\"})}),e?Y.jsx(\"a\",{href:\"/\",className:\"mt-5 text-lg text-blue-500 underline\",onClick:t=>{t.preventDefault(),document.location.reload()},children:\"Reload\"}):void 0]})}function Sr(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function bg(e,t){if(typeof e==\"function\")return e(t);e!=null&&(e.current=t)}function o0(...e){return t=>{let n=!1;const r=e.map(i=>{const s=bg(i,t);return!n&&typeof s==\"function\"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s==\"function\"?s():bg(e[i],null)}}}}function rs(...e){return _.useCallback(o0(...e),e)}function x2(e,t){const n=_.createContext(t),r=s=>{const{children:o,...a}=s,l=_.useMemo(()=>a,Object.values(a));return Y.jsx(n.Provider,{value:l,children:o})};r.displayName=e+\"Provider\";function i(s){const o=_.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\\`${s}\\` must be used within \\`${e}\\``)}return[r,i]}function a0(e,t=[]){let n=[];function r(s,o){const a=_.createContext(o),l=n.length;n=[...n,o];const u=c=>{var m;const{scope:d,children:h,...g}=c,v=((m=d==null?void 0:d[e])==null?void 0:m[l])||a,x=_.useMemo(()=>g,Object.values(g));return Y.jsx(v.Provider,{value:x,children:h})};u.displayName=s+\"Provider\";function f(c,d){var v;const h=((v=d==null?void 0:d[e])==null?void 0:v[l])||a,g=_.useContext(h);if(g)return g;if(o!==void 0)return o;throw new Error(`\\`${c}\\` must be used within \\`${s}\\``)}return[u,f]}const i=()=>{const s=n.map(o=>_.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return _.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,o_(i,...t)]}function o_(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const c=l(s)[`__scope${u}`];return{...a,...c}},{});return _.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var l0={exports:{}},rn={},u0={exports:{}},c0={};/**\n * @license React\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */(function(e){function t(M,U){var b=M.length;M.push(U);e:for(;0<b;){var Z=b-1>>>1,pe=M[Z];if(0<i(pe,U))M[Z]=U,M[b]=pe,b=Z;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var U=M[0],b=M.pop();if(b!==U){M[0]=b;e:for(var Z=0,pe=M.length,C=pe>>>1;Z<C;){var Ae=2*(Z+1)-1,Le=M[Ae],ye=Ae+1,qe=M[ye];if(0>i(Le,b))ye<pe&&0>i(qe,Le)?(M[Z]=qe,M[ye]=b,Z=ye):(M[Z]=Le,M[Ae]=b,Z=Ae);else if(ye<pe&&0>i(qe,b))M[Z]=qe,M[ye]=b,Z=ye;else break e}}return U}function i(M,U){var b=M.sortIndex-U.sortIndex;return b!==0?b:M.id-U.id}if(typeof performance==\"object\"&&typeof performance.now==\"function\"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],f=1,c=null,d=3,h=!1,g=!1,v=!1,x=typeof setTimeout==\"function\"?setTimeout:null,m=typeof clearTimeout==\"function\"?clearTimeout:null,p=typeof setImmediate<\"u\"?setImmediate:null;typeof navigator<\"u\"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(M){for(var U=n(u);U!==null;){if(U.callback===null)r(u);else if(U.startTime<=M)r(u),U.sortIndex=U.expirationTime,t(l,U);else break;U=n(u)}}function S(M){if(v=!1,w(M),!g)if(n(l)!==null)g=!0,G(k);else{var U=n(u);U!==null&&Q(S,U.startTime-M)}}function k(M,U){g=!1,v&&(v=!1,m(R),R=-1),h=!0;var b=d;try{for(w(U),c=n(l);c!==null&&(!(c.expirationTime>U)||M&&!O());){var Z=c.callback;if(typeof Z==\"function\"){c.callback=null,d=c.priorityLevel;var pe=Z(c.expirationTime<=U);U=e.unstable_now(),typeof pe==\"function\"?c.callback=pe:c===n(l)&&r(l),w(U)}else r(l);c=n(l)}if(c!==null)var C=!0;else{var Ae=n(u);Ae!==null&&Q(S,Ae.startTime-U),C=!1}return C}finally{c=null,d=b,h=!1}}var E=!1,y=null,R=-1,T=5,A=-1;function O(){return!(e.unstable_now()-A<T)}function I(){if(y!==null){var M=e.unstable_now();A=M;var U=!0;try{U=y(!0,M)}finally{U?z():(E=!1,y=null)}}else E=!1}var z;if(typeof p==\"function\")z=function(){p(I)};else if(typeof MessageChannel<\"u\"){var B=new MessageChannel,V=B.port2;B.port1.onmessage=I,z=function(){V.postMessage(null)}}else z=function(){x(I,0)};function G(M){y=M,E||(E=!0,z())}function Q(M,U){R=x(function(){M(e.unstable_now())},U)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){g||h||(g=!0,G(k))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):T=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(M){switch(d){case 1:case 2:case 3:var U=3;break;default:U=d}var b=d;d=U;try{return M()}finally{d=b}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,U){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var b=d;d=M;try{return U()}finally{d=b}},e.unstable_scheduleCallback=function(M,U,b){var Z=e.unstable_now();switch(typeof b==\"object\"&&b!==null?(b=b.delay,b=typeof b==\"number\"&&0<b?Z+b:Z):b=Z,M){case 1:var pe=-1;break;case 2:pe=250;break;case 5:pe=1073741823;break;case 4:pe=1e4;break;default:pe=5e3}return pe=b+pe,M={id:f++,callback:U,priorityLevel:M,startTime:b,expirationTime:pe,sortIndex:-1},b>Z?(M.sortIndex=b,t(u,M),n(l)===null&&M===n(u)&&(v?(m(R),R=-1):v=!0,Q(S,b-Z))):(M.sortIndex=pe,t(l,M),g||h||(g=!0,G(k))),M},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(M){var U=d;return function(){var b=d;d=U;try{return M.apply(this,arguments)}finally{d=b}}}})(c0);u0.exports=c0;var a_=u0.exports;/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var l_=_,nn=a_;function j(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);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 f0=new Set,ka={};function is(e,t){oo(e,t),oo(e+\"Capture\",t)}function oo(e,t){for(ka[e]=t,e=0;e<t.length;e++)f0.add(t[e])}var Pr=!(typeof window>\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"),kd=Object.prototype.hasOwnProperty,u_=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,Eg={},_g={};function c_(e){return kd.call(_g,e)?!0:kd.call(Eg,e)?!1:u_.test(e)?_g[e]=!0:(Eg[e]=!0,!1)}function f_(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case\"function\":case\"symbol\":return!0;case\"boolean\":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!==\"data-\"&&e!==\"aria-\");default:return!1}}function d_(e,t,n,r){if(t===null||typeof t>\"u\"||f_(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Nt(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var pt={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(e){pt[e]=new Nt(e,0,!1,e,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(e){var t=e[0];pt[t]=new Nt(t,1,!1,e[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(e){pt[e]=new Nt(e,2,!1,e.toLowerCase(),null,!1,!1)});[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(e){pt[e]=new Nt(e,2,!1,e,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(e){pt[e]=new Nt(e,3,!1,e.toLowerCase(),null,!1,!1)});[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(e){pt[e]=new Nt(e,3,!0,e,null,!1,!1)});[\"capture\",\"download\"].forEach(function(e){pt[e]=new Nt(e,4,!1,e,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(e){pt[e]=new Nt(e,6,!1,e,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(e){pt[e]=new Nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var cp=/[\\-:]([a-z])/g;function fp(e){return e[1].toUpperCase()}\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(e){var t=e.replace(cp,fp);pt[t]=new Nt(t,1,!1,e,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(e){var t=e.replace(cp,fp);pt[t]=new Nt(t,1,!1,e,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(e){var t=e.replace(cp,fp);pt[t]=new Nt(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(e){pt[e]=new Nt(e,1,!1,e.toLowerCase(),null,!1,!1)});pt.xlinkHref=new Nt(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(e){pt[e]=new Nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function dp(e,t,n,r){var i=pt.hasOwnProperty(t)?pt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!==\"o\"&&t[0]!==\"O\"||t[1]!==\"n\"&&t[1]!==\"N\")&&(d_(t,n,i,r)&&(n=null),r||i===null?c_(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:\"\":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?\"\":\"\"+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Lr=l_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Cl=Symbol.for(\"react.element\"),ks=Symbol.for(\"react.portal\"),Ps=Symbol.for(\"react.fragment\"),hp=Symbol.for(\"react.strict_mode\"),Pd=Symbol.for(\"react.profiler\"),d0=Symbol.for(\"react.provider\"),h0=Symbol.for(\"react.context\"),pp=Symbol.for(\"react.forward_ref\"),Rd=Symbol.for(\"react.suspense\"),Ad=Symbol.for(\"react.suspense_list\"),mp=Symbol.for(\"react.memo\"),Kr=Symbol.for(\"react.lazy\"),p0=Symbol.for(\"react.offscreen\"),Cg=Symbol.iterator;function No(e){return e===null||typeof e!=\"object\"?null:(e=Cg&&e[Cg]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var Be=Object.assign,yf;function Xo(e){if(yf===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\\n( *(at )?)/);yf=t&&t[1]||\"\"}return`\n`+yf+e}var vf=!1;function wf(e,t){if(!e||vf)return\"\";vf=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack==\"string\"){for(var i=u.stack.split(`\n`),s=r.stack.split(`\n`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`\n`+i[o].replace(\" at new \",\" at \");return e.displayName&&l.includes(\"<anonymous>\")&&(l=l.replace(\"<anonymous>\",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{vf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:\"\")?Xo(e):\"\"}function h_(e){switch(e.tag){case 5:return Xo(e.type);case 16:return Xo(\"Lazy\");case 13:return Xo(\"Suspense\");case 19:return Xo(\"SuspenseList\");case 0:case 2:case 15:return e=wf(e.type,!1),e;case 11:return e=wf(e.type.render,!1),e;case 1:return e=wf(e.type,!0),e;default:return\"\"}}function Td(e){if(e==null)return null;if(typeof e==\"function\")return e.displayName||e.name||null;if(typeof e==\"string\")return e;switch(e){case Ps:return\"Fragment\";case ks:return\"Portal\";case Pd:return\"Profiler\";case hp:return\"StrictMode\";case Rd:return\"Suspense\";case Ad:return\"SuspenseList\"}if(typeof e==\"object\")switch(e.$$typeof){case h0:return(e.displayName||\"Context\")+\".Consumer\";case d0:return(e._context.displayName||\"Context\")+\".Provider\";case pp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||\"\",e=e!==\"\"?\"ForwardRef(\"+e+\")\":\"ForwardRef\"),e;case mp:return t=e.displayName||null,t!==null?t:Td(e.type)||\"Memo\";case Kr:t=e._payload,e=e._init;try{return Td(e(t))}catch{}}return null}function p_(e){var t=e.type;switch(e.tag){case 24:return\"Cache\";case 9:return(t.displayName||\"Context\")+\".Consumer\";case 10:return(t._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return e=t.render,e=e.displayName||e.name||\"\",t.displayName||(e!==\"\"?\"ForwardRef(\"+e+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return t;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Td(t);case 8:return t===hp?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";case 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==\"function\")return t.displayName||t.name||null;if(typeof t==\"string\")return t}return null}function pi(e){switch(typeof e){case\"boolean\":case\"number\":case\"string\":case\"undefined\":return e;case\"object\":return e;default:return\"\"}}function m0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===\"input\"&&(t===\"checkbox\"||t===\"radio\")}function m_(e){var t=m0(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=\"\"+e[t];if(!e.hasOwnProperty(t)&&typeof n<\"u\"&&typeof n.get==\"function\"&&typeof n.set==\"function\"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=\"\"+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=\"\"+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kl(e){e._valueTracker||(e._valueTracker=m_(e))}function g0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=m0(e)?e.checked?\"true\":\"false\":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pu(e){if(e=e||(typeof document<\"u\"?document:void 0),typeof e>\"u\")return null;try{return e.activeElement||e.body}catch{return e.body}}function Od(e,t){var n=t.checked;return Be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function kg(e,t){var n=t.defaultValue==null?\"\":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===\"checkbox\"||t.type===\"radio\"?t.checked!=null:t.value!=null}}function y0(e,t){t=t.checked,t!=null&&dp(e,\"checked\",t,!1)}function Id(e,t){y0(e,t);var n=pi(t.value),r=t.type;if(n!=null)r===\"number\"?(n===0&&e.value===\"\"||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(r===\"submit\"||r===\"reset\"){e.removeAttribute(\"value\");return}t.hasOwnProperty(\"value\")?Ld(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&Ld(e,t.type,pi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Pg(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var r=t.type;if(!(r!==\"submit\"&&r!==\"reset\"||t.value!==void 0&&t.value!==null))return;t=\"\"+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==\"\"&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,n!==\"\"&&(e.name=n)}function Ld(e,t,n){(t!==\"number\"||Pu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}var Yo=Array.isArray;function js(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[\"$\"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+pi(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Md(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return Be({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function Rg(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(Yo(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=\"\"),n=t}e._wrapperState={initialValue:pi(n)}}function v0(e,t){var n=pi(t.value),r=pi(t.defaultValue);n!=null&&(n=\"\"+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=\"\"+r)}function Ag(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==\"\"&&t!==null&&(e.value=t)}function w0(e){switch(e){case\"svg\":return\"http://www.w3.org/2000/svg\";case\"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Nd(e,t){return e==null||e===\"http://www.w3.org/1999/xhtml\"?w0(t):e===\"http://www.w3.org/2000/svg\"&&t===\"foreignObject\"?\"http://www.w3.org/1999/xhtml\":e}var Pl,x0=function(e){return typeof MSApp<\"u\"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==\"http://www.w3.org/2000/svg\"||\"innerHTML\"in e)e.innerHTML=t;else{for(Pl=Pl||document.createElement(\"div\"),Pl.innerHTML=\"<svg>\"+t.valueOf().toString()+\"</svg>\",t=Pl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ca={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},g_=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(ca).forEach(function(e){g_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ca[t]=ca[e]})});function S0(e,t,n){return t==null||typeof t==\"boolean\"||t===\"\"?\"\":n||typeof t!=\"number\"||t===0||ca.hasOwnProperty(e)&&ca[e]?(\"\"+t).trim():t+\"px\"}function b0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf(\"--\")===0,i=S0(n,t[n],r);n===\"float\"&&(n=\"cssFloat\"),r?e.setProperty(n,i):e[n]=i}}var y_=Be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Fd(e,t){if(t){if(y_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!=\"object\"||!(\"__html\"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!=\"object\")throw Error(j(62))}}function Dd(e,t){if(e.indexOf(\"-\")===-1)return typeof t.is==\"string\";switch(e){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}var $d=null;function gp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jd=null,zs=null,Us=null;function Tg(e){if(e=rl(e)){if(typeof jd!=\"function\")throw Error(j(280));var t=e.stateNode;t&&(t=Ec(t),jd(e.stateNode,e.type,t))}}function E0(e){zs?Us?Us.push(e):Us=[e]:zs=e}function _0(){if(zs){var e=zs,t=Us;if(Us=zs=null,Tg(e),t)for(e=0;e<t.length;e++)Tg(t[e])}}function C0(e,t){return e(t)}function k0(){}var xf=!1;function P0(e,t,n){if(xf)return e(t,n);xf=!0;try{return C0(e,t,n)}finally{xf=!1,(zs!==null||Us!==null)&&(k0(),_0())}}function Ra(e,t){var n=e.stateNode;if(n===null)return null;var r=Ec(n);if(r===null)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(e=e.type,r=!(e===\"button\"||e===\"input\"||e===\"select\"||e===\"textarea\")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!=\"function\")throw Error(j(231,t,typeof n));return n}var zd=!1;if(Pr)try{var Fo={};Object.defineProperty(Fo,\"passive\",{get:function(){zd=!0}}),window.addEventListener(\"test\",Fo,Fo),window.removeEventListener(\"test\",Fo,Fo)}catch{zd=!1}function v_(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var fa=!1,Ru=null,Au=!1,Ud=null,w_={onError:function(e){fa=!0,Ru=e}};function x_(e,t,n,r,i,s,o,a,l){fa=!1,Ru=null,v_.apply(w_,arguments)}function S_(e,t,n,r,i,s,o,a,l){if(x_.apply(this,arguments),fa){if(fa){var u=Ru;fa=!1,Ru=null}else throw Error(j(198));Au||(Au=!0,Ud=u)}}function ss(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function R0(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Og(e){if(ss(e)!==e)throw Error(j(188))}function b_(e){var t=e.alternate;if(!t){if(t=ss(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Og(i),e;if(s===r)return Og(i),t;s=s.sibling}throw Error(j(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function A0(e){return e=b_(e),e!==null?T0(e):null}function T0(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=T0(e);if(t!==null)return t;e=e.sibling}return null}var O0=nn.unstable_scheduleCallback,Ig=nn.unstable_cancelCallback,E_=nn.unstable_shouldYield,__=nn.unstable_requestPaint,Je=nn.unstable_now,C_=nn.unstable_getCurrentPriorityLevel,yp=nn.unstable_ImmediatePriority,I0=nn.unstable_UserBlockingPriority,Tu=nn.unstable_NormalPriority,k_=nn.unstable_LowPriority,L0=nn.unstable_IdlePriority,wc=null,nr=null;function P_(e){if(nr&&typeof nr.onCommitFiberRoot==\"function\")try{nr.onCommitFiberRoot(wc,e,void 0,(e.current.flags&128)===128)}catch{}}var Mn=Math.clz32?Math.clz32:T_,R_=Math.log,A_=Math.LN2;function T_(e){return e>>>=0,e===0?32:31-(R_(e)/A_|0)|0}var Rl=64,Al=4194304;function Zo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ou(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Zo(a):(s&=o,s!==0&&(r=Zo(s)))}else o=n&~i,o!==0?r=Zo(o):s!==0&&(r=Zo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Mn(t),i=1<<n,r|=e[n],t&=~i;return r}function O_(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function I_(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Mn(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=O_(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function Bd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function M0(){var e=Rl;return Rl<<=1,!(Rl&4194240)&&(Rl=64),e}function Sf(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mn(t),e[t]=n}function L_(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Mn(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function vp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Mn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Pe=0;function N0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var F0,wp,D0,$0,j0,Hd=!1,Tl=[],si=null,oi=null,ai=null,Aa=new Map,Ta=new Map,Jr=[],M_=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\".split(\" \");function Lg(e,t){switch(e){case\"focusin\":case\"focusout\":si=null;break;case\"dragenter\":case\"dragleave\":oi=null;break;case\"mouseover\":case\"mouseout\":ai=null;break;case\"pointerover\":case\"pointerout\":Aa.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Ta.delete(t.pointerId)}}function Do(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=rl(t),t!==null&&wp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function N_(e,t,n,r,i){switch(t){case\"focusin\":return si=Do(si,e,t,n,r,i),!0;case\"dragenter\":return oi=Do(oi,e,t,n,r,i),!0;case\"mouseover\":return ai=Do(ai,e,t,n,r,i),!0;case\"pointerover\":var s=i.pointerId;return Aa.set(s,Do(Aa.get(s)||null,e,t,n,r,i)),!0;case\"gotpointercapture\":return s=i.pointerId,Ta.set(s,Do(Ta.get(s)||null,e,t,n,r,i)),!0}return!1}function z0(e){var t=Di(e.target);if(t!==null){var n=ss(t);if(n!==null){if(t=n.tag,t===13){if(t=R0(n),t!==null){e.blockedOn=t,j0(e.priority,function(){D0(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function su(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);$d=r,n.target.dispatchEvent(r),$d=null}else return t=rl(n),t!==null&&wp(t),e.blockedOn=n,!1;t.shift()}return!0}function Mg(e,t,n){su(e)&&n.delete(t)}function F_(){Hd=!1,si!==null&&su(si)&&(si=null),oi!==null&&su(oi)&&(oi=null),ai!==null&&su(ai)&&(ai=null),Aa.forEach(Mg),Ta.forEach(Mg)}function $o(e,t){e.blockedOn===t&&(e.blockedOn=null,Hd||(Hd=!0,nn.unstable_scheduleCallback(nn.unstable_NormalPriority,F_)))}function Oa(e){function t(i){return $o(i,e)}if(0<Tl.length){$o(Tl[0],e);for(var n=1;n<Tl.length;n++){var r=Tl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(si!==null&&$o(si,e),oi!==null&&$o(oi,e),ai!==null&&$o(ai,e),Aa.forEach(t),Ta.forEach(t),n=0;n<Jr.length;n++)r=Jr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Jr.length&&(n=Jr[0],n.blockedOn===null);)z0(n),n.blockedOn===null&&Jr.shift()}var Bs=Lr.ReactCurrentBatchConfig,Iu=!0;function D_(e,t,n,r){var i=Pe,s=Bs.transition;Bs.transition=null;try{Pe=1,xp(e,t,n,r)}finally{Pe=i,Bs.transition=s}}function $_(e,t,n,r){var i=Pe,s=Bs.transition;Bs.transition=null;try{Pe=4,xp(e,t,n,r)}finally{Pe=i,Bs.transition=s}}function xp(e,t,n,r){if(Iu){var i=Vd(e,t,n,r);if(i===null)Of(e,t,r,Lu,n),Lg(e,r);else if(N_(i,e,t,n,r))r.stopPropagation();else if(Lg(e,r),t&4&&-1<M_.indexOf(e)){for(;i!==null;){var s=rl(i);if(s!==null&&F0(s),s=Vd(e,t,n,r),s===null&&Of(e,t,r,Lu,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Of(e,t,r,null,n)}}var Lu=null;function Vd(e,t,n,r){if(Lu=null,e=gp(r),e=Di(e),e!==null)if(t=ss(e),t===null)e=null;else if(n=t.tag,n===13){if(e=R0(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Lu=e,null}function U0(e){switch(e){case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return 1;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"toggle\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return 4;case\"message\":switch(C_()){case yp:return 1;case I0:return 4;case Tu:case k_:return 16;case L0:return 536870912;default:return 16}default:return 16}}var ni=null,Sp=null,ou=null;function B0(){if(ou)return ou;var e,t=Sp,n=t.length,r,i=\"value\"in ni?ni.value:ni.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return ou=i.slice(e,1<r?1-r:void 0)}function au(e){var t=e.keyCode;return\"charCode\"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ol(){return!0}function Ng(){return!1}function sn(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Ol:Ng,this.isPropagationStopped=Ng,this}return Be(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=\"unknown\"&&(n.returnValue=!1),this.isDefaultPrevented=Ol)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=\"unknown\"&&(n.cancelBubble=!0),this.isPropagationStopped=Ol)},persist:function(){},isPersistent:Ol}),t}var xo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bp=sn(xo),nl=Be({},xo,{view:0,detail:0}),j_=sn(nl),bf,Ef,jo,xc=Be({},nl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ep,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return\"movementX\"in e?e.movementX:(e!==jo&&(jo&&e.type===\"mousemove\"?(bf=e.screenX-jo.screenX,Ef=e.screenY-jo.screenY):Ef=bf=0,jo=e),bf)},movementY:function(e){return\"movementY\"in e?e.movementY:Ef}}),Fg=sn(xc),z_=Be({},xc,{dataTransfer:0}),U_=sn(z_),B_=Be({},nl,{relatedTarget:0}),_f=sn(B_),H_=Be({},xo,{animationName:0,elapsedTime:0,pseudoElement:0}),V_=sn(H_),W_=Be({},xo,{clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),Q_=sn(W_),K_=Be({},xo,{data:0}),Dg=sn(K_),q_={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},J_={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},G_={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function X_(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=G_[e])?!!t[e]:!1}function Ep(){return X_}var Y_=Be({},nl,{key:function(e){if(e.key){var t=q_[e.key]||e.key;if(t!==\"Unidentified\")return t}return e.type===\"keypress\"?(e=au(e),e===13?\"Enter\":String.fromCharCode(e)):e.type===\"keydown\"||e.type===\"keyup\"?J_[e.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ep,charCode:function(e){return e.type===\"keypress\"?au(e):0},keyCode:function(e){return e.type===\"keydown\"||e.type===\"keyup\"?e.keyCode:0},which:function(e){return e.type===\"keypress\"?au(e):e.type===\"keydown\"||e.type===\"keyup\"?e.keyCode:0}}),Z_=sn(Y_),eC=Be({},xc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$g=sn(eC),tC=Be({},nl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ep}),nC=sn(tC),rC=Be({},xo,{propertyName:0,elapsedTime:0,pseudoElement:0}),iC=sn(rC),sC=Be({},xc,{deltaX:function(e){return\"deltaX\"in e?e.deltaX:\"wheelDeltaX\"in e?-e.wheelDeltaX:0},deltaY:function(e){return\"deltaY\"in e?e.deltaY:\"wheelDeltaY\"in e?-e.wheelDeltaY:\"wheelDelta\"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),oC=sn(sC),aC=[9,13,27,32],_p=Pr&&\"CompositionEvent\"in window,da=null;Pr&&\"documentMode\"in document&&(da=document.documentMode);var lC=Pr&&\"TextEvent\"in window&&!da,H0=Pr&&(!_p||da&&8<da&&11>=da),jg=\" \",zg=!1;function V0(e,t){switch(e){case\"keyup\":return aC.indexOf(t.keyCode)!==-1;case\"keydown\":return t.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function W0(e){return e=e.detail,typeof e==\"object\"&&\"data\"in e?e.data:null}var Rs=!1;function uC(e,t){switch(e){case\"compositionend\":return W0(t);case\"keypress\":return t.which!==32?null:(zg=!0,jg);case\"textInput\":return e=t.data,e===jg&&zg?null:e;default:return null}}function cC(e,t){if(Rs)return e===\"compositionend\"||!_p&&V0(e,t)?(e=B0(),ou=Sp=ni=null,Rs=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case\"compositionend\":return H0&&t.locale!==\"ko\"?null:t.data;default:return null}}var fC={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ug(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===\"input\"?!!fC[e.type]:t===\"textarea\"}function Q0(e,t,n,r){E0(r),t=Mu(t,\"onChange\"),0<t.length&&(n=new bp(\"onChange\",\"change\",null,n,r),e.push({event:n,listeners:t}))}var ha=null,Ia=null;function dC(e){rx(e,0)}function Sc(e){var t=Os(e);if(g0(t))return e}function hC(e,t){if(e===\"change\")return t}var K0=!1;if(Pr){var Cf;if(Pr){var kf=\"oninput\"in document;if(!kf){var Bg=document.createElement(\"div\");Bg.setAttribute(\"oninput\",\"return;\"),kf=typeof Bg.oninput==\"function\"}Cf=kf}else Cf=!1;K0=Cf&&(!document.documentMode||9<document.documentMode)}function Hg(){ha&&(ha.detachEvent(\"onpropertychange\",q0),Ia=ha=null)}function q0(e){if(e.propertyName===\"value\"&&Sc(Ia)){var t=[];Q0(t,Ia,e,gp(e)),P0(dC,t)}}function pC(e,t,n){e===\"focusin\"?(Hg(),ha=t,Ia=n,ha.attachEvent(\"onpropertychange\",q0)):e===\"focusout\"&&Hg()}function mC(e){if(e===\"selectionchange\"||e===\"keyup\"||e===\"keydown\")return Sc(Ia)}function gC(e,t){if(e===\"click\")return Sc(t)}function yC(e,t){if(e===\"input\"||e===\"change\")return Sc(t)}function vC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Fn=typeof Object.is==\"function\"?Object.is:vC;function La(e,t){if(Fn(e,t))return!0;if(typeof e!=\"object\"||e===null||typeof t!=\"object\"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!kd.call(t,i)||!Fn(e[i],t[i]))return!1}return!0}function Vg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Wg(e,t){var n=Vg(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Vg(n)}}function J0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?J0(e,t.parentNode):\"contains\"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function G0(){for(var e=window,t=Pu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==\"string\"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pu(e.document)}return t}function Cp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===\"input\"&&(e.type===\"text\"||e.type===\"search\"||e.type===\"tel\"||e.type===\"url\"||e.type===\"password\")||t===\"textarea\"||e.contentEditable===\"true\")}function wC(e){var t=G0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&J0(n.ownerDocument.documentElement,n)){if(r!==null&&Cp(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),\"selectionStart\"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Wg(n,s);var o=Wg(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==\"function\"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var xC=Pr&&\"documentMode\"in document&&11>=document.documentMode,As=null,Wd=null,pa=null,Qd=!1;function Qg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qd||As==null||As!==Pu(r)||(r=As,\"selectionStart\"in r&&Cp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),pa&&La(pa,r)||(pa=r,r=Mu(Wd,\"onSelect\"),0<r.length&&(t=new bp(\"onSelect\",\"select\",null,t,n),e.push({event:t,listeners:r}),t.target=As)))}function Il(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var Ts={animationend:Il(\"Animation\",\"AnimationEnd\"),animationiteration:Il(\"Animation\",\"AnimationIteration\"),animationstart:Il(\"Animation\",\"AnimationStart\"),transitionend:Il(\"Transition\",\"TransitionEnd\")},Pf={},X0={};Pr&&(X0=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Ts.animationend.animation,delete Ts.animationiteration.animation,delete Ts.animationstart.animation),\"TransitionEvent\"in window||delete Ts.transitionend.transition);function bc(e){if(Pf[e])return Pf[e];if(!Ts[e])return e;var t=Ts[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in X0)return Pf[e]=t[n];return e}var Y0=bc(\"animationend\"),Z0=bc(\"animationiteration\"),ex=bc(\"animationstart\"),tx=bc(\"transitionend\"),nx=new Map,Kg=\"abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");function Si(e,t){nx.set(e,t),is(t,[e])}for(var Rf=0;Rf<Kg.length;Rf++){var Af=Kg[Rf],SC=Af.toLowerCase(),bC=Af[0].toUpperCase()+Af.slice(1);Si(SC,\"on\"+bC)}Si(Y0,\"onAnimationEnd\");Si(Z0,\"onAnimationIteration\");Si(ex,\"onAnimationStart\");Si(\"dblclick\",\"onDoubleClick\");Si(\"focusin\",\"onFocus\");Si(\"focusout\",\"onBlur\");Si(tx,\"onTransitionEnd\");oo(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]);oo(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]);oo(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]);oo(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]);is(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \"));is(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \"));is(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]);is(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \"));is(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \"));is(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var ea=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),EC=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(ea));function qg(e,t,n){var r=e.type||\"unknown-event\";e.currentTarget=n,S_(r,t,void 0,e),e.currentTarget=null}function rx(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;qg(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;qg(i,a,u),s=l}}}if(Au)throw e=Ud,Au=!1,Ud=null,e}function Ne(e,t){var n=t[Xd];n===void 0&&(n=t[Xd]=new Set);var r=e+\"__bubble\";n.has(r)||(ix(t,e,2,!1),n.add(r))}function Tf(e,t,n){var r=0;t&&(r|=4),ix(n,e,r,t)}var Ll=\"_reactListening\"+Math.random().toString(36).slice(2);function Ma(e){if(!e[Ll]){e[Ll]=!0,f0.forEach(function(n){n!==\"selectionchange\"&&(EC.has(n)||Tf(n,!1,e),Tf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ll]||(t[Ll]=!0,Tf(\"selectionchange\",!1,t))}}function ix(e,t,n,r){switch(U0(t)){case 1:var i=D_;break;case 4:i=$_;break;default:i=xp}n=i.bind(null,t,n,e),i=void 0,!zd||t!==\"touchstart\"&&t!==\"touchmove\"&&t!==\"wheel\"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Of(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Di(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}P0(function(){var u=s,f=gp(n),c=[];e:{var d=nx.get(e);if(d!==void 0){var h=bp,g=e;switch(e){case\"keypress\":if(au(n)===0)break e;case\"keydown\":case\"keyup\":h=Z_;break;case\"focusin\":g=\"focus\",h=_f;break;case\"focusout\":g=\"blur\",h=_f;break;case\"beforeblur\":case\"afterblur\":h=_f;break;case\"click\":if(n.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":h=Fg;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":h=U_;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":h=nC;break;case Y0:case Z0:case ex:h=V_;break;case tx:h=iC;break;case\"scroll\":h=j_;break;case\"wheel\":h=oC;break;case\"copy\":case\"cut\":case\"paste\":h=Q_;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":h=$g}var v=(t&4)!==0,x=!v&&e===\"scroll\",m=v?d!==null?d+\"Capture\":null:d;v=[];for(var p=u,w;p!==null;){w=p;var S=w.stateNode;if(w.tag===5&&S!==null&&(w=S,m!==null&&(S=Ra(p,m),S!=null&&v.push(Na(p,S,w)))),x)break;p=p.return}0<v.length&&(d=new h(d,g,null,n,f),c.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e===\"mouseover\"||e===\"pointerover\",h=e===\"mouseout\"||e===\"pointerout\",d&&n!==$d&&(g=n.relatedTarget||n.fromElement)&&(Di(g)||g[Rr]))break e;if((h||d)&&(d=f.window===f?f:(d=f.ownerDocument)?d.defaultView||d.parentWindow:window,h?(g=n.relatedTarget||n.toElement,h=u,g=g?Di(g):null,g!==null&&(x=ss(g),g!==x||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=u),h!==g)){if(v=Fg,S=\"onMouseLeave\",m=\"onMouseEnter\",p=\"mouse\",(e===\"pointerout\"||e===\"pointerover\")&&(v=$g,S=\"onPointerLeave\",m=\"onPointerEnter\",p=\"pointer\"),x=h==null?d:Os(h),w=g==null?d:Os(g),d=new v(S,p+\"leave\",h,n,f),d.target=x,d.relatedTarget=w,S=null,Di(f)===u&&(v=new v(m,p+\"enter\",g,n,f),v.target=w,v.relatedTarget=x,S=v),x=S,h&&g)t:{for(v=h,m=g,p=0,w=v;w;w=ps(w))p++;for(w=0,S=m;S;S=ps(S))w++;for(;0<p-w;)v=ps(v),p--;for(;0<w-p;)m=ps(m),w--;for(;p--;){if(v===m||m!==null&&v===m.alternate)break t;v=ps(v),m=ps(m)}v=null}else v=null;h!==null&&Jg(c,d,h,v,!1),g!==null&&x!==null&&Jg(c,x,g,v,!0)}}e:{if(d=u?Os(u):window,h=d.nodeName&&d.nodeName.toLowerCase(),h===\"select\"||h===\"input\"&&d.type===\"file\")var k=hC;else if(Ug(d))if(K0)k=yC;else{k=mC;var E=pC}else(h=d.nodeName)&&h.toLowerCase()===\"input\"&&(d.type===\"checkbox\"||d.type===\"radio\")&&(k=gC);if(k&&(k=k(e,u))){Q0(c,k,n,f);break e}E&&E(e,d,u),e===\"focusout\"&&(E=d._wrapperState)&&E.controlled&&d.type===\"number\"&&Ld(d,\"number\",d.value)}switch(E=u?Os(u):window,e){case\"focusin\":(Ug(E)||E.contentEditable===\"true\")&&(As=E,Wd=u,pa=null);break;case\"focusout\":pa=Wd=As=null;break;case\"mousedown\":Qd=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":Qd=!1,Qg(c,n,f);break;case\"selectionchange\":if(xC)break;case\"keydown\":case\"keyup\":Qg(c,n,f)}var y;if(_p)e:{switch(e){case\"compositionstart\":var R=\"onCompositionStart\";break e;case\"compositionend\":R=\"onCompositionEnd\";break e;case\"compositionupdate\":R=\"onCompositionUpdate\";break e}R=void 0}else Rs?V0(e,n)&&(R=\"onCompositionEnd\"):e===\"keydown\"&&n.keyCode===229&&(R=\"onCompositionStart\");R&&(H0&&n.locale!==\"ko\"&&(Rs||R!==\"onCompositionStart\"?R===\"onCompositionEnd\"&&Rs&&(y=B0()):(ni=f,Sp=\"value\"in ni?ni.value:ni.textContent,Rs=!0)),E=Mu(u,R),0<E.length&&(R=new Dg(R,e,null,n,f),c.push({event:R,listeners:E}),y?R.data=y:(y=W0(n),y!==null&&(R.data=y)))),(y=lC?uC(e,n):cC(e,n))&&(u=Mu(u,\"onBeforeInput\"),0<u.length&&(f=new Dg(\"onBeforeInput\",\"beforeinput\",null,n,f),c.push({event:f,listeners:u}),f.data=y))}rx(c,t)})}function Na(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Mu(e,t){for(var n=t+\"Capture\",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Ra(e,n),s!=null&&r.unshift(Na(e,s,i)),s=Ra(e,t),s!=null&&r.push(Na(e,s,i))),e=e.return}return r}function ps(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Jg(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=Ra(n,s),l!=null&&o.unshift(Na(n,l,a))):i||(l=Ra(n,s),l!=null&&o.push(Na(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var _C=/\\r\\n?/g,CC=/\\u0000|\\uFFFD/g;function Gg(e){return(typeof e==\"string\"?e:\"\"+e).replace(_C,`\n`).replace(CC,\"\")}function Ml(e,t,n){if(t=Gg(t),Gg(e)!==t&&n)throw Error(j(425))}function Nu(){}var Kd=null,qd=null;function Jd(e,t){return e===\"textarea\"||e===\"noscript\"||typeof t.children==\"string\"||typeof t.children==\"number\"||typeof t.dangerouslySetInnerHTML==\"object\"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gd=typeof setTimeout==\"function\"?setTimeout:void 0,kC=typeof clearTimeout==\"function\"?clearTimeout:void 0,Xg=typeof Promise==\"function\"?Promise:void 0,PC=typeof queueMicrotask==\"function\"?queueMicrotask:typeof Xg<\"u\"?function(e){return Xg.resolve(null).then(e).catch(RC)}:Gd;function RC(e){setTimeout(function(){throw e})}function If(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===\"/$\"){if(r===0){e.removeChild(i),Oa(t);return}r--}else n!==\"$\"&&n!==\"$?\"&&n!==\"$!\"||r++;n=i}while(n);Oa(t)}function li(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===\"$\"||t===\"$!\"||t===\"$?\")break;if(t===\"/$\")return null}}return e}function Yg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===\"$\"||n===\"$!\"||n===\"$?\"){if(t===0)return e;t--}else n===\"/$\"&&t++}e=e.previousSibling}return null}var So=Math.random().toString(36).slice(2),Yn=\"__reactFiber$\"+So,Fa=\"__reactProps$\"+So,Rr=\"__reactContainer$\"+So,Xd=\"__reactEvents$\"+So,AC=\"__reactListeners$\"+So,TC=\"__reactHandles$\"+So;function Di(e){var t=e[Yn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Rr]||n[Yn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Yg(e);e!==null;){if(n=e[Yn])return n;e=Yg(e)}return t}e=n,n=e.parentNode}return null}function rl(e){return e=e[Yn]||e[Rr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Os(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Ec(e){return e[Fa]||null}var Yd=[],Is=-1;function bi(e){return{current:e}}function Fe(e){0>Is||(e.current=Yd[Is],Yd[Is]=null,Is--)}function Oe(e,t){Is++,Yd[Is]=e.current,e.current=t}var mi={},Pt=bi(mi),Bt=bi(!1),Gi=mi;function ao(e,t){var n=e.type.contextTypes;if(!n)return mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ht(e){return e=e.childContextTypes,e!=null}function Fu(){Fe(Bt),Fe(Pt)}function Zg(e,t,n){if(Pt.current!==mi)throw Error(j(168));Oe(Pt,t),Oe(Bt,n)}function sx(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!=\"function\")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(j(108,p_(e)||\"Unknown\",i));return Be({},n,r)}function Du(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mi,Gi=Pt.current,Oe(Pt,e),Oe(Bt,Bt.current),!0}function ey(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=sx(e,t,Gi),r.__reactInternalMemoizedMergedChildContext=e,Fe(Bt),Fe(Pt),Oe(Pt,e)):Fe(Bt),Oe(Bt,n)}var br=null,_c=!1,Lf=!1;function ox(e){br===null?br=[e]:br.push(e)}function OC(e){_c=!0,ox(e)}function Ei(){if(!Lf&&br!==null){Lf=!0;var e=0,t=Pe;try{var n=br;for(Pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}br=null,_c=!1}catch(i){throw br!==null&&(br=br.slice(e+1)),O0(yp,Ei),i}finally{Pe=t,Lf=!1}}return null}var Ls=[],Ms=0,$u=null,ju=0,cn=[],fn=0,Xi=null,_r=1,Cr=\"\";function Ii(e,t){Ls[Ms++]=ju,Ls[Ms++]=$u,$u=e,ju=t}function ax(e,t,n){cn[fn++]=_r,cn[fn++]=Cr,cn[fn++]=Xi,Xi=e;var r=_r;e=Cr;var i=32-Mn(r)-1;r&=~(1<<i),n+=1;var s=32-Mn(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,_r=1<<32-Mn(t)+i|n<<i|r,Cr=s+e}else _r=1<<s|n<<i|r,Cr=e}function kp(e){e.return!==null&&(Ii(e,1),ax(e,1,0))}function Pp(e){for(;e===$u;)$u=Ls[--Ms],Ls[Ms]=null,ju=Ls[--Ms],Ls[Ms]=null;for(;e===Xi;)Xi=cn[--fn],cn[fn]=null,Cr=cn[--fn],cn[fn]=null,_r=cn[--fn],cn[fn]=null}var en=null,Zt=null,$e=!1,On=null;function lx(e,t){var n=hn(5,null,null,0);n.elementType=\"DELETED\",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ty(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,en=e,Zt=li(t.firstChild),!0):!1;case 6:return t=e.pendingProps===\"\"||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,en=e,Zt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Xi!==null?{id:_r,overflow:Cr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=hn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,en=e,Zt=null,!0):!1;default:return!1}}function Zd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function eh(e){if($e){var t=Zt;if(t){var n=t;if(!ty(e,t)){if(Zd(e))throw Error(j(418));t=li(n.nextSibling);var r=en;t&&ty(e,t)?lx(r,n):(e.flags=e.flags&-4097|2,$e=!1,en=e)}}else{if(Zd(e))throw Error(j(418));e.flags=e.flags&-4097|2,$e=!1,en=e}}}function ny(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;en=e}function Nl(e){if(e!==en)return!1;if(!$e)return ny(e),$e=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==\"head\"&&t!==\"body\"&&!Jd(e.type,e.memoizedProps)),t&&(t=Zt)){if(Zd(e))throw ux(),Error(j(418));for(;t;)lx(e,t),t=li(t.nextSibling)}if(ny(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===\"/$\"){if(t===0){Zt=li(e.nextSibling);break e}t--}else n!==\"$\"&&n!==\"$!\"&&n!==\"$?\"||t++}e=e.nextSibling}Zt=null}}else Zt=en?li(e.stateNode.nextSibling):null;return!0}function ux(){for(var e=Zt;e;)e=li(e.nextSibling)}function lo(){Zt=en=null,$e=!1}function Rp(e){On===null?On=[e]:On.push(e)}var IC=Lr.ReactCurrentBatchConfig;function zo(e,t,n){if(e=n.ref,e!==null&&typeof e!=\"function\"&&typeof e!=\"object\"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var i=r,s=\"\"+e;return t!==null&&t.ref!==null&&typeof t.ref==\"function\"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!=\"string\")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Fl(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e===\"[object Object]\"?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":e))}function ry(e){var t=e._init;return t(e._payload)}function cx(e){function t(m,p){if(e){var w=m.deletions;w===null?(m.deletions=[p],m.flags|=16):w.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function i(m,p){return m=di(m,p),m.index=0,m.sibling=null,m}function s(m,p,w){return m.index=w,e?(w=m.alternate,w!==null?(w=w.index,w<p?(m.flags|=2,p):w):(m.flags|=2,p)):(m.flags|=1048576,p)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,p,w,S){return p===null||p.tag!==6?(p=zf(w,m.mode,S),p.return=m,p):(p=i(p,w),p.return=m,p)}function l(m,p,w,S){var k=w.type;return k===Ps?f(m,p,w.props.children,S,w.key):p!==null&&(p.elementType===k||typeof k==\"object\"&&k!==null&&k.$$typeof===Kr&&ry(k)===p.type)?(S=i(p,w.props),S.ref=zo(m,p,w),S.return=m,S):(S=pu(w.type,w.key,w.props,null,m.mode,S),S.ref=zo(m,p,w),S.return=m,S)}function u(m,p,w,S){return p===null||p.tag!==4||p.stateNode.containerInfo!==w.containerInfo||p.stateNode.implementation!==w.implementation?(p=Uf(w,m.mode,S),p.return=m,p):(p=i(p,w.children||[]),p.return=m,p)}function f(m,p,w,S,k){return p===null||p.tag!==7?(p=Ji(w,m.mode,S,k),p.return=m,p):(p=i(p,w),p.return=m,p)}function c(m,p,w){if(typeof p==\"string\"&&p!==\"\"||typeof p==\"number\")return p=zf(\"\"+p,m.mode,w),p.return=m,p;if(typeof p==\"object\"&&p!==null){switch(p.$$typeof){case Cl:return w=pu(p.type,p.key,p.props,null,m.mode,w),w.ref=zo(m,null,p),w.return=m,w;case ks:return p=Uf(p,m.mode,w),p.return=m,p;case Kr:var S=p._init;return c(m,S(p._payload),w)}if(Yo(p)||No(p))return p=Ji(p,m.mode,w,null),p.return=m,p;Fl(m,p)}return null}function d(m,p,w,S){var k=p!==null?p.key:null;if(typeof w==\"string\"&&w!==\"\"||typeof w==\"number\")return k!==null?null:a(m,p,\"\"+w,S);if(typeof w==\"object\"&&w!==null){switch(w.$$typeof){case Cl:return w.key===k?l(m,p,w,S):null;case ks:return w.key===k?u(m,p,w,S):null;case Kr:return k=w._init,d(m,p,k(w._payload),S)}if(Yo(w)||No(w))return k!==null?null:f(m,p,w,S,null);Fl(m,w)}return null}function h(m,p,w,S,k){if(typeof S==\"string\"&&S!==\"\"||typeof S==\"number\")return m=m.get(w)||null,a(p,m,\"\"+S,k);if(typeof S==\"object\"&&S!==null){switch(S.$$typeof){case Cl:return m=m.get(S.key===null?w:S.key)||null,l(p,m,S,k);case ks:return m=m.get(S.key===null?w:S.key)||null,u(p,m,S,k);case Kr:var E=S._init;return h(m,p,w,E(S._payload),k)}if(Yo(S)||No(S))return m=m.get(w)||null,f(p,m,S,k,null);Fl(p,S)}return null}function g(m,p,w,S){for(var k=null,E=null,y=p,R=p=0,T=null;y!==null&&R<w.length;R++){y.index>R?(T=y,y=null):T=y.sibling;var A=d(m,y,w[R],S);if(A===null){y===null&&(y=T);break}e&&y&&A.alternate===null&&t(m,y),p=s(A,p,R),E===null?k=A:E.sibling=A,E=A,y=T}if(R===w.length)return n(m,y),$e&&Ii(m,R),k;if(y===null){for(;R<w.length;R++)y=c(m,w[R],S),y!==null&&(p=s(y,p,R),E===null?k=y:E.sibling=y,E=y);return $e&&Ii(m,R),k}for(y=r(m,y);R<w.length;R++)T=h(y,m,R,w[R],S),T!==null&&(e&&T.alternate!==null&&y.delete(T.key===null?R:T.key),p=s(T,p,R),E===null?k=T:E.sibling=T,E=T);return e&&y.forEach(function(O){return t(m,O)}),$e&&Ii(m,R),k}function v(m,p,w,S){var k=No(w);if(typeof k!=\"function\")throw Error(j(150));if(w=k.call(w),w==null)throw Error(j(151));for(var E=k=null,y=p,R=p=0,T=null,A=w.next();y!==null&&!A.done;R++,A=w.next()){y.index>R?(T=y,y=null):T=y.sibling;var O=d(m,y,A.value,S);if(O===null){y===null&&(y=T);break}e&&y&&O.alternate===null&&t(m,y),p=s(O,p,R),E===null?k=O:E.sibling=O,E=O,y=T}if(A.done)return n(m,y),$e&&Ii(m,R),k;if(y===null){for(;!A.done;R++,A=w.next())A=c(m,A.value,S),A!==null&&(p=s(A,p,R),E===null?k=A:E.sibling=A,E=A);return $e&&Ii(m,R),k}for(y=r(m,y);!A.done;R++,A=w.next())A=h(y,m,R,A.value,S),A!==null&&(e&&A.alternate!==null&&y.delete(A.key===null?R:A.key),p=s(A,p,R),E===null?k=A:E.sibling=A,E=A);return e&&y.forEach(function(I){return t(m,I)}),$e&&Ii(m,R),k}function x(m,p,w,S){if(typeof w==\"object\"&&w!==null&&w.type===Ps&&w.key===null&&(w=w.props.children),typeof w==\"object\"&&w!==null){switch(w.$$typeof){case Cl:e:{for(var k=w.key,E=p;E!==null;){if(E.key===k){if(k=w.type,k===Ps){if(E.tag===7){n(m,E.sibling),p=i(E,w.props.children),p.return=m,m=p;break e}}else if(E.elementType===k||typeof k==\"object\"&&k!==null&&k.$$typeof===Kr&&ry(k)===E.type){n(m,E.sibling),p=i(E,w.props),p.ref=zo(m,E,w),p.return=m,m=p;break e}n(m,E);break}else t(m,E);E=E.sibling}w.type===Ps?(p=Ji(w.props.children,m.mode,S,w.key),p.return=m,m=p):(S=pu(w.type,w.key,w.props,null,m.mode,S),S.ref=zo(m,p,w),S.return=m,m=S)}return o(m);case ks:e:{for(E=w.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===w.containerInfo&&p.stateNode.implementation===w.implementation){n(m,p.sibling),p=i(p,w.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Uf(w,m.mode,S),p.return=m,m=p}return o(m);case Kr:return E=w._init,x(m,p,E(w._payload),S)}if(Yo(w))return g(m,p,w,S);if(No(w))return v(m,p,w,S);Fl(m,w)}return typeof w==\"string\"&&w!==\"\"||typeof w==\"number\"?(w=\"\"+w,p!==null&&p.tag===6?(n(m,p.sibling),p=i(p,w),p.return=m,m=p):(n(m,p),p=zf(w,m.mode,S),p.return=m,m=p),o(m)):n(m,p)}return x}var uo=cx(!0),fx=cx(!1),zu=bi(null),Uu=null,Ns=null,Ap=null;function Tp(){Ap=Ns=Uu=null}function Op(e){var t=zu.current;Fe(zu),e._currentValue=t}function th(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Hs(e,t){Uu=e,Ap=Ns=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ut=!0),e.firstContext=null)}function gn(e){var t=e._currentValue;if(Ap!==e)if(e={context:e,memoizedValue:t,next:null},Ns===null){if(Uu===null)throw Error(j(308));Ns=e,Uu.dependencies={lanes:0,firstContext:e}}else Ns=Ns.next=e;return t}var $i=null;function Ip(e){$i===null?$i=[e]:$i.push(e)}function dx(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ip(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ar(e,r)}function Ar(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qr=!1;function Lp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hx(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function kr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ui(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,we&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ar(e,n)}return i=r.interleaved,i===null?(t.next=t,Ip(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ar(e,n)}function lu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vp(e,n)}}function iy(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bu(e,t,n,r){var i=e.updateQueue;qr=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==o&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=l))}if(s!==null){var c=i.baseState;o=0,f=u=l=null,a=s;do{var d=a.lane,h=a.eventTime;if((r&d)===d){f!==null&&(f=f.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,v=a;switch(d=t,h=n,v.tag){case 1:if(g=v.payload,typeof g==\"function\"){c=g.call(h,c,d);break e}c=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,d=typeof g==\"function\"?g.call(h,c,d):g,d==null)break e;c=Be({},c,d);break e;case 2:qr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else h={eventTime:h,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=h,l=c):f=f.next=h,o|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(f===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Zi|=o,e.lanes=o,e.memoizedState=c}}function sy(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!=\"function\")throw Error(j(191,i));i.call(r)}}}var il={},rr=bi(il),Da=bi(il),$a=bi(il);function ji(e){if(e===il)throw Error(j(174));return e}function Mp(e,t){switch(Oe($a,t),Oe(Da,e),Oe(rr,il),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Nd(null,\"\");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Nd(t,e)}Fe(rr),Oe(rr,t)}function co(){Fe(rr),Fe(Da),Fe($a)}function px(e){ji($a.current);var t=ji(rr.current),n=Nd(t,e.type);t!==n&&(Oe(Da,e),Oe(rr,n))}function Np(e){Da.current===e&&(Fe(rr),Fe(Da))}var ze=bi(0);function Hu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===\"$?\"||n.data===\"$!\"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Mf=[];function Fp(){for(var e=0;e<Mf.length;e++)Mf[e]._workInProgressVersionPrimary=null;Mf.length=0}var uu=Lr.ReactCurrentDispatcher,Nf=Lr.ReactCurrentBatchConfig,Yi=0,Ue=null,nt=null,at=null,Vu=!1,ma=!1,ja=0,LC=0;function bt(){throw Error(j(321))}function Dp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fn(e[n],t[n]))return!1;return!0}function $p(e,t,n,r,i,s){if(Yi=s,Ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,uu.current=e===null||e.memoizedState===null?DC:$C,e=n(r,i),ma){s=0;do{if(ma=!1,ja=0,25<=s)throw Error(j(301));s+=1,at=nt=null,t.updateQueue=null,uu.current=jC,e=n(r,i)}while(ma)}if(uu.current=Wu,t=nt!==null&&nt.next!==null,Yi=0,at=nt=Ue=null,Vu=!1,t)throw Error(j(300));return e}function jp(){var e=ja!==0;return ja=0,e}function Wn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Ue.memoizedState=at=e:at=at.next=e,at}function yn(){if(nt===null){var e=Ue.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var t=at===null?Ue.memoizedState:at.next;if(t!==null)at=t,nt=e;else{if(e===null)throw Error(j(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},at===null?Ue.memoizedState=at=e:at=at.next=e}return at}function za(e,t){return typeof t==\"function\"?t(e):t}function Ff(e){var t=yn(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=nt,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var f=u.lane;if((Yi&f)===f)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var c={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=c,o=r):l=l.next=c,Ue.lanes|=f,Zi|=f}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,Fn(r,t.memoizedState)||(Ut=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,Ue.lanes|=s,Zi|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Df(e){var t=yn(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);Fn(s,t.memoizedState)||(Ut=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function mx(){}function gx(e,t){var n=Ue,r=yn(),i=t(),s=!Fn(r.memoizedState,i);if(s&&(r.memoizedState=i,Ut=!0),r=r.queue,zp(wx.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||at!==null&&at.memoizedState.tag&1){if(n.flags|=2048,Ua(9,vx.bind(null,n,r,i,t),void 0,null),lt===null)throw Error(j(349));Yi&30||yx(n,t,i)}return i}function yx(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vx(e,t,n,r){t.value=n,t.getSnapshot=r,xx(t)&&Sx(e)}function wx(e,t,n){return n(function(){xx(t)&&Sx(e)})}function xx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Fn(e,n)}catch{return!0}}function Sx(e){var t=Ar(e,1);t!==null&&Nn(t,e,1,-1)}function oy(e){var t=Wn();return typeof e==\"function\"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:e},t.queue=e,e=e.dispatch=FC.bind(null,Ue,e),[t.memoizedState,e]}function Ua(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function bx(){return yn().memoizedState}function cu(e,t,n,r){var i=Wn();Ue.flags|=e,i.memoizedState=Ua(1|t,n,void 0,r===void 0?null:r)}function Cc(e,t,n,r){var i=yn();r=r===void 0?null:r;var s=void 0;if(nt!==null){var o=nt.memoizedState;if(s=o.destroy,r!==null&&Dp(r,o.deps)){i.memoizedState=Ua(t,n,s,r);return}}Ue.flags|=e,i.memoizedState=Ua(1|t,n,s,r)}function ay(e,t){return cu(8390656,8,e,t)}function zp(e,t){return Cc(2048,8,e,t)}function Ex(e,t){return Cc(4,2,e,t)}function _x(e,t){return Cc(4,4,e,t)}function Cx(e,t){if(typeof t==\"function\")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function kx(e,t,n){return n=n!=null?n.concat([e]):null,Cc(4,4,Cx.bind(null,t,e),n)}function Up(){}function Px(e,t){var n=yn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Dp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Rx(e,t){var n=yn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Dp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ax(e,t,n){return Yi&21?(Fn(n,t)||(n=M0(),Ue.lanes|=n,Zi|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ut=!0),e.memoizedState=n)}function MC(e,t){var n=Pe;Pe=n!==0&&4>n?n:4,e(!0);var r=Nf.transition;Nf.transition={};try{e(!1),t()}finally{Pe=n,Nf.transition=r}}function Tx(){return yn().memoizedState}function NC(e,t,n){var r=fi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ox(e))Ix(t,n);else if(n=dx(e,t,n,r),n!==null){var i=Lt();Nn(n,e,r,i),Lx(n,t,r)}}function FC(e,t,n){var r=fi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ox(e))Ix(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,Fn(a,o)){var l=t.interleaved;l===null?(i.next=i,Ip(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=dx(e,t,i,r),n!==null&&(i=Lt(),Nn(n,e,r,i),Lx(n,t,r))}}function Ox(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function Ix(e,t){ma=Vu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Lx(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vp(e,n)}}var Wu={readContext:gn,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},DC={readContext:gn,useCallback:function(e,t){return Wn().memoizedState=[e,t===void 0?null:t],e},useContext:gn,useEffect:ay,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cu(4194308,4,Cx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cu(4194308,4,e,t)},useInsertionEffect:function(e,t){return cu(4,2,e,t)},useMemo:function(e,t){var n=Wn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=NC.bind(null,Ue,e),[r.memoizedState,e]},useRef:function(e){var t=Wn();return e={current:e},t.memoizedState=e},useState:oy,useDebugValue:Up,useDeferredValue:function(e){return Wn().memoizedState=e},useTransition:function(){var e=oy(!1),t=e[0];return e=MC.bind(null,e[1]),Wn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ue,i=Wn();if($e){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),lt===null)throw Error(j(349));Yi&30||yx(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,ay(wx.bind(null,r,s,e),[e]),r.flags|=2048,Ua(9,vx.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Wn(),t=lt.identifierPrefix;if($e){var n=Cr,r=_r;n=(r&~(1<<32-Mn(r)-1)).toString(32)+n,t=\":\"+t+\"R\"+n,n=ja++,0<n&&(t+=\"H\"+n.toString(32)),t+=\":\"}else n=LC++,t=\":\"+t+\"r\"+n.toString(32)+\":\";return e.memoizedState=t},unstable_isNewReconciler:!1},$C={readContext:gn,useCallback:Px,useContext:gn,useEffect:zp,useImperativeHandle:kx,useInsertionEffect:Ex,useLayoutEffect:_x,useMemo:Rx,useReducer:Ff,useRef:bx,useState:function(){return Ff(za)},useDebugValue:Up,useDeferredValue:function(e){var t=yn();return Ax(t,nt.memoizedState,e)},useTransition:function(){var e=Ff(za)[0],t=yn().memoizedState;return[e,t]},useMutableSource:mx,useSyncExternalStore:gx,useId:Tx,unstable_isNewReconciler:!1},jC={readContext:gn,useCallback:Px,useContext:gn,useEffect:zp,useImperativeHandle:kx,useInsertionEffect:Ex,useLayoutEffect:_x,useMemo:Rx,useReducer:Df,useRef:bx,useState:function(){return Df(za)},useDebugValue:Up,useDeferredValue:function(e){var t=yn();return nt===null?t.memoizedState=e:Ax(t,nt.memoizedState,e)},useTransition:function(){var e=Df(za)[0],t=yn().memoizedState;return[e,t]},useMutableSource:mx,useSyncExternalStore:gx,useId:Tx,unstable_isNewReconciler:!1};function Cn(e,t){if(e&&e.defaultProps){t=Be({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function nh(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Be({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var kc={isMounted:function(e){return(e=e._reactInternals)?ss(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lt(),i=fi(e),s=kr(r,i);s.payload=t,n!=null&&(s.callback=n),t=ui(e,s,i),t!==null&&(Nn(t,e,i,r),lu(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lt(),i=fi(e),s=kr(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=ui(e,s,i),t!==null&&(Nn(t,e,i,r),lu(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lt(),r=fi(e),i=kr(n,r);i.tag=2,t!=null&&(i.callback=t),t=ui(e,i,r),t!==null&&(Nn(t,e,r,n),lu(t,e,r))}};function ly(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate==\"function\"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!La(n,r)||!La(i,s):!0}function Mx(e,t,n){var r=!1,i=mi,s=t.contextType;return typeof s==\"object\"&&s!==null?s=gn(s):(i=Ht(t)?Gi:Pt.current,r=t.contextTypes,s=(r=r!=null)?ao(e,i):mi),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=kc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function uy(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==\"function\"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==\"function\"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&kc.enqueueReplaceState(t,t.state,null)}function rh(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Lp(e);var s=t.contextType;typeof s==\"object\"&&s!==null?i.context=gn(s):(s=Ht(t)?Gi:Pt.current,i.context=ao(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s==\"function\"&&(nh(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==\"function\"||typeof i.getSnapshotBeforeUpdate==\"function\"||typeof i.UNSAFE_componentWillMount!=\"function\"&&typeof i.componentWillMount!=\"function\"||(t=i.state,typeof i.componentWillMount==\"function\"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==\"function\"&&i.UNSAFE_componentWillMount(),t!==i.state&&kc.enqueueReplaceState(i,i.state,null),Bu(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==\"function\"&&(e.flags|=4194308)}function fo(e,t){try{var n=\"\",r=t;do n+=h_(r),r=r.return;while(r);var i=n}catch(s){i=`\nError generating stack: `+s.message+`\n`+s.stack}return{value:e,source:t,stack:i,digest:null}}function $f(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ih(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var zC=typeof WeakMap==\"function\"?WeakMap:Map;function Nx(e,t,n){n=kr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ku||(Ku=!0,ph=r),ih(e,t)},n}function Fx(e,t,n){n=kr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==\"function\"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ih(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch==\"function\"&&(n.callback=function(){ih(e,t),typeof r!=\"function\"&&(ci===null?ci=new Set([this]):ci.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:\"\"})}),n}function cy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zC;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ek.bind(null,e,t,n),t.then(e,e))}function fy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function dy(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=kr(-1,1),t.tag=2,ui(n,t,1))),n.lanes|=1),e)}var UC=Lr.ReactCurrentOwner,Ut=!1;function Ot(e,t,n,r){t.child=e===null?fx(t,null,n,r):uo(t,e.child,n,r)}function hy(e,t,n,r,i){n=n.render;var s=t.ref;return Hs(t,i),r=$p(e,t,n,r,s,i),n=jp(),e!==null&&!Ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tr(e,t,i)):($e&&n&&kp(t),t.flags|=1,Ot(e,t,r,i),t.child)}function py(e,t,n,r,i){if(e===null){var s=n.type;return typeof s==\"function\"&&!Jp(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Dx(e,t,s,r,i)):(e=pu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:La,n(o,r)&&e.ref===t.ref)return Tr(e,t,i)}return t.flags|=1,e=di(s,r),e.ref=t.ref,e.return=t,t.child=e}function Dx(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(La(s,r)&&e.ref===t.ref)if(Ut=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Ut=!0);else return t.lanes=e.lanes,Tr(e,t,i)}return sh(e,t,n,r,i)}function $x(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode===\"hidden\")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oe(Ds,Gt),Gt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oe(Ds,Gt),Gt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Oe(Ds,Gt),Gt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Oe(Ds,Gt),Gt|=r;return Ot(e,t,i,n),t.child}function jx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function sh(e,t,n,r,i){var s=Ht(n)?Gi:Pt.current;return s=ao(t,s),Hs(t,i),n=$p(e,t,n,r,s,i),r=jp(),e!==null&&!Ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tr(e,t,i)):($e&&r&&kp(t),t.flags|=1,Ot(e,t,n,i),t.child)}function my(e,t,n,r,i){if(Ht(n)){var s=!0;Du(t)}else s=!1;if(Hs(t,i),t.stateNode===null)fu(e,t),Mx(t,n,r),rh(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u==\"object\"&&u!==null?u=gn(u):(u=Ht(n)?Gi:Pt.current,u=ao(t,u));var f=n.getDerivedStateFromProps,c=typeof f==\"function\"||typeof o.getSnapshotBeforeUpdate==\"function\";c||typeof o.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof o.componentWillReceiveProps!=\"function\"||(a!==r||l!==u)&&uy(t,o,r,u),qr=!1;var d=t.memoizedState;o.state=d,Bu(t,r,o,i),l=t.memoizedState,a!==r||d!==l||Bt.current||qr?(typeof f==\"function\"&&(nh(t,n,f,r),l=t.memoizedState),(a=qr||ly(t,n,a,r,d,l,u))?(c||typeof o.UNSAFE_componentWillMount!=\"function\"&&typeof o.componentWillMount!=\"function\"||(typeof o.componentWillMount==\"function\"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==\"function\"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==\"function\"&&(t.flags|=4194308)):(typeof o.componentDidMount==\"function\"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount==\"function\"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,hx(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Cn(t.type,a),o.props=u,c=t.pendingProps,d=o.context,l=n.contextType,typeof l==\"object\"&&l!==null?l=gn(l):(l=Ht(n)?Gi:Pt.current,l=ao(t,l));var h=n.getDerivedStateFromProps;(f=typeof h==\"function\"||typeof o.getSnapshotBeforeUpdate==\"function\")||typeof o.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof o.componentWillReceiveProps!=\"function\"||(a!==c||d!==l)&&uy(t,o,r,l),qr=!1,d=t.memoizedState,o.state=d,Bu(t,r,o,i);var g=t.memoizedState;a!==c||d!==g||Bt.current||qr?(typeof h==\"function\"&&(nh(t,n,h,r),g=t.memoizedState),(u=qr||ly(t,n,u,r,d,g,l)||!1)?(f||typeof o.UNSAFE_componentWillUpdate!=\"function\"&&typeof o.componentWillUpdate!=\"function\"||(typeof o.componentWillUpdate==\"function\"&&o.componentWillUpdate(r,g,l),typeof o.UNSAFE_componentWillUpdate==\"function\"&&o.UNSAFE_componentWillUpdate(r,g,l)),typeof o.componentDidUpdate==\"function\"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==\"function\"&&(t.flags|=1024)):(typeof o.componentDidUpdate!=\"function\"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=\"function\"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=l,r=u):(typeof o.componentDidUpdate!=\"function\"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=\"function\"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return oh(e,t,n,r,s,i)}function oh(e,t,n,r,i,s){jx(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&ey(t,n,!1),Tr(e,t,s);r=t.stateNode,UC.current=t;var a=o&&typeof n.getDerivedStateFromError!=\"function\"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=uo(t,e.child,null,s),t.child=uo(t,null,a,s)):Ot(e,t,a,s),t.memoizedState=r.state,i&&ey(t,n,!0),t.child}function zx(e){var t=e.stateNode;t.pendingContext?Zg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zg(e,t.context,!1),Mp(e,t.containerInfo)}function gy(e,t,n,r,i){return lo(),Rp(i),t.flags|=256,Ot(e,t,n,r),t.child}var ah={dehydrated:null,treeContext:null,retryLane:0};function lh(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ux(e,t,n){var r=t.pendingProps,i=ze.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Oe(ze,i&1),e===null)return eh(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===\"$!\"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:\"hidden\",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Ac(o,r,0,null),e=Ji(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=lh(n),t.memoizedState=ah,e):Bp(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return BC(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:\"hidden\",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=di(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=di(a,s):(s=Ji(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?lh(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=ah,r}return s=e.child,e=s.sibling,r=di(s,{mode:\"visible\",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Bp(e,t){return t=Ac({mode:\"visible\",children:t},e.mode,0,null),t.return=e,e.child=t}function Dl(e,t,n,r){return r!==null&&Rp(r),uo(t,e.child,null,n),e=Bp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function BC(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=$f(Error(j(422))),Dl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Ac({mode:\"visible\",children:r.children},i,0,null),s=Ji(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&uo(t,e.child,null,o),t.child.memoizedState=lh(o),t.memoizedState=ah,s);if(!(t.mode&1))return Dl(e,t,o,null);if(i.data===\"$!\"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(j(419)),r=$f(s,r,void 0),Dl(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ut||a){if(r=lt,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,Ar(e,i),Nn(r,e,i,-1))}return qp(),r=$f(Error(j(421))),Dl(e,t,o,r)}return i.data===\"$?\"?(t.flags|=128,t.child=e.child,t=tk.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,Zt=li(i.nextSibling),en=t,$e=!0,On=null,e!==null&&(cn[fn++]=_r,cn[fn++]=Cr,cn[fn++]=Xi,_r=e.id,Cr=e.overflow,Xi=t),t=Bp(t,r.children),t.flags|=4096,t)}function yy(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),th(e.return,t,n)}function jf(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Bx(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ot(e,t,r.children,n),r=ze.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yy(e,n,t);else if(e.tag===19)yy(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oe(ze,r),!(t.mode&1))t.memoizedState=null;else switch(i){case\"forwards\":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Hu(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),jf(t,!1,i,n,s);break;case\"backwards\":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Hu(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}jf(t,!0,n,null,s);break;case\"together\":jf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function fu(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Tr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Zi|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=di(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=di(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function HC(e,t,n){switch(t.tag){case 3:zx(t),lo();break;case 5:px(t);break;case 1:Ht(t.type)&&Du(t);break;case 4:Mp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Oe(zu,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Oe(ze,ze.current&1),t.flags|=128,null):n&t.child.childLanes?Ux(e,t,n):(Oe(ze,ze.current&1),e=Tr(e,t,n),e!==null?e.sibling:null);Oe(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Bx(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Oe(ze,ze.current),r)break;return null;case 22:case 23:return t.lanes=0,$x(e,t,n)}return Tr(e,t,n)}var Hx,uh,Vx,Wx;Hx=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};uh=function(){};Vx=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ji(rr.current);var s=null;switch(n){case\"input\":i=Od(e,i),r=Od(e,r),s=[];break;case\"select\":i=Be({},i,{value:void 0}),r=Be({},r,{value:void 0}),s=[];break;case\"textarea\":i=Md(e,i),r=Md(e,r),s=[];break;default:typeof i.onClick!=\"function\"&&typeof r.onClick==\"function\"&&(e.onclick=Nu)}Fd(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===\"style\"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]=\"\")}else u!==\"dangerouslySetInnerHTML\"&&u!==\"children\"&&u!==\"suppressContentEditableWarning\"&&u!==\"suppressHydrationWarning\"&&u!==\"autoFocus\"&&(ka.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u===\"style\")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]=\"\");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u===\"dangerouslySetInnerHTML\"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u===\"children\"?typeof l!=\"string\"&&typeof l!=\"number\"||(s=s||[]).push(u,\"\"+l):u!==\"suppressContentEditableWarning\"&&u!==\"suppressHydrationWarning\"&&(ka.hasOwnProperty(u)?(l!=null&&u===\"onScroll\"&&Ne(\"scroll\",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push(\"style\",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Wx=function(e,t,n,r){n!==r&&(t.flags|=4)};function Uo(e,t){if(!$e)switch(e.tailMode){case\"hidden\":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case\"collapsed\":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Et(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function VC(e,t,n){var r=t.pendingProps;switch(Pp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(t),null;case 1:return Ht(t.type)&&Fu(),Et(t),null;case 3:return r=t.stateNode,co(),Fe(Bt),Fe(Pt),Fp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Nl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,On!==null&&(yh(On),On=null))),uh(e,t),Et(t),null;case 5:Np(t);var i=ji($a.current);if(n=t.type,e!==null&&t.stateNode!=null)Vx(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return Et(t),null}if(e=ji(rr.current),Nl(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Yn]=t,r[Fa]=s,e=(t.mode&1)!==0,n){case\"dialog\":Ne(\"cancel\",r),Ne(\"close\",r);break;case\"iframe\":case\"object\":case\"embed\":Ne(\"load\",r);break;case\"video\":case\"audio\":for(i=0;i<ea.length;i++)Ne(ea[i],r);break;case\"source\":Ne(\"error\",r);break;case\"img\":case\"image\":case\"link\":Ne(\"error\",r),Ne(\"load\",r);break;case\"details\":Ne(\"toggle\",r);break;case\"input\":kg(r,s),Ne(\"invalid\",r);break;case\"select\":r._wrapperState={wasMultiple:!!s.multiple},Ne(\"invalid\",r);break;case\"textarea\":Rg(r,s),Ne(\"invalid\",r)}Fd(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o===\"children\"?typeof a==\"string\"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Ml(r.textContent,a,e),i=[\"children\",a]):typeof a==\"number\"&&r.textContent!==\"\"+a&&(s.suppressHydrationWarning!==!0&&Ml(r.textContent,a,e),i=[\"children\",\"\"+a]):ka.hasOwnProperty(o)&&a!=null&&o===\"onScroll\"&&Ne(\"scroll\",r)}switch(n){case\"input\":kl(r),Pg(r,s,!0);break;case\"textarea\":kl(r),Ag(r);break;case\"select\":case\"option\":break;default:typeof s.onClick==\"function\"&&(r.onclick=Nu)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e===\"http://www.w3.org/1999/xhtml\"&&(e=w0(n)),e===\"http://www.w3.org/1999/xhtml\"?n===\"script\"?(e=o.createElement(\"div\"),e.innerHTML=\"<script><\\/script>\",e=e.removeChild(e.firstChild)):typeof r.is==\"string\"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n===\"select\"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Yn]=t,e[Fa]=r,Hx(e,t,!1,!1),t.stateNode=e;e:{switch(o=Dd(n,r),n){case\"dialog\":Ne(\"cancel\",e),Ne(\"close\",e),i=r;break;case\"iframe\":case\"object\":case\"embed\":Ne(\"load\",e),i=r;break;case\"video\":case\"audio\":for(i=0;i<ea.length;i++)Ne(ea[i],e);i=r;break;case\"source\":Ne(\"error\",e),i=r;break;case\"img\":case\"image\":case\"link\":Ne(\"error\",e),Ne(\"load\",e),i=r;break;case\"details\":Ne(\"toggle\",e),i=r;break;case\"input\":kg(e,r),i=Od(e,r),Ne(\"invalid\",e);break;case\"option\":i=r;break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},i=Be({},r,{value:void 0}),Ne(\"invalid\",e);break;case\"textarea\":Rg(e,r),i=Md(e,r),Ne(\"invalid\",e);break;default:i=r}Fd(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s===\"style\"?b0(e,l):s===\"dangerouslySetInnerHTML\"?(l=l?l.__html:void 0,l!=null&&x0(e,l)):s===\"children\"?typeof l==\"string\"?(n!==\"textarea\"||l!==\"\")&&Pa(e,l):typeof l==\"number\"&&Pa(e,\"\"+l):s!==\"suppressContentEditableWarning\"&&s!==\"suppressHydrationWarning\"&&s!==\"autoFocus\"&&(ka.hasOwnProperty(s)?l!=null&&s===\"onScroll\"&&Ne(\"scroll\",e):l!=null&&dp(e,s,l,o))}switch(n){case\"input\":kl(e),Pg(e,r,!1);break;case\"textarea\":kl(e),Ag(e);break;case\"option\":r.value!=null&&e.setAttribute(\"value\",\"\"+pi(r.value));break;case\"select\":e.multiple=!!r.multiple,s=r.value,s!=null?js(e,!!r.multiple,s,!1):r.defaultValue!=null&&js(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick==\"function\"&&(e.onclick=Nu)}switch(n){case\"button\":case\"input\":case\"select\":case\"textarea\":r=!!r.autoFocus;break e;case\"img\":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Et(t),null;case 6:if(e&&t.stateNode!=null)Wx(e,t,e.memoizedProps,r);else{if(typeof r!=\"string\"&&t.stateNode===null)throw Error(j(166));if(n=ji($a.current),ji(rr.current),Nl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yn]=t,(s=r.nodeValue!==n)&&(e=en,e!==null))switch(e.tag){case 3:Ml(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ml(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Yn]=t,t.stateNode=r}return Et(t),null;case 13:if(Fe(ze),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($e&&Zt!==null&&t.mode&1&&!(t.flags&128))ux(),lo(),t.flags|=98560,s=!1;else if(s=Nl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(j(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(j(317));s[Yn]=t}else lo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Et(t),s=!1}else On!==null&&(yh(On),On=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ze.current&1?rt===0&&(rt=3):qp())),t.updateQueue!==null&&(t.flags|=4),Et(t),null);case 4:return co(),uh(e,t),e===null&&Ma(t.stateNode.containerInfo),Et(t),null;case 10:return Op(t.type._context),Et(t),null;case 17:return Ht(t.type)&&Fu(),Et(t),null;case 19:if(Fe(ze),s=t.memoizedState,s===null)return Et(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)Uo(s,!1);else{if(rt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Hu(e),o!==null){for(t.flags|=128,Uo(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oe(ze,ze.current&1|2),t.child}e=e.sibling}s.tail!==null&&Je()>ho&&(t.flags|=128,r=!0,Uo(s,!1),t.lanes=4194304)}else{if(!r)if(e=Hu(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Uo(s,!0),s.tail===null&&s.tailMode===\"hidden\"&&!o.alternate&&!$e)return Et(t),null}else 2*Je()-s.renderingStartTime>ho&&n!==1073741824&&(t.flags|=128,r=!0,Uo(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Je(),t.sibling=null,n=ze.current,Oe(ze,r?n&1|2:n&1),t):(Et(t),null);case 22:case 23:return Kp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Gt&1073741824&&(Et(t),t.subtreeFlags&6&&(t.flags|=8192)):Et(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function WC(e,t){switch(Pp(t),t.tag){case 1:return Ht(t.type)&&Fu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return co(),Fe(Bt),Fe(Pt),Fp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Np(t),null;case 13:if(Fe(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));lo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fe(ze),null;case 4:return co(),null;case 10:return Op(t.type._context),null;case 22:case 23:return Kp(),null;case 24:return null;default:return null}}var $l=!1,kt=!1,QC=typeof WeakSet==\"function\"?WeakSet:Set,K=null;function Fs(e,t){var n=e.ref;if(n!==null)if(typeof n==\"function\")try{n(null)}catch(r){Qe(e,t,r)}else n.current=null}function ch(e,t,n){try{n()}catch(r){Qe(e,t,r)}}var vy=!1;function KC(e,t){if(Kd=Iu,e=G0(),Cp(e)){if(\"selectionStart\"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,f=0,c=e,d=null;t:for(;;){for(var h;c!==n||i!==0&&c.nodeType!==3||(a=o+i),c!==s||r!==0&&c.nodeType!==3||(l=o+r),c.nodeType===3&&(o+=c.nodeValue.length),(h=c.firstChild)!==null;)d=c,c=h;for(;;){if(c===e)break t;if(d===n&&++u===i&&(a=o),d===s&&++f===r&&(l=o),(h=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(qd={focusedElem:e,selectionRange:n},Iu=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,x=g.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Cn(t.type,v),x);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent=\"\":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){Qe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return g=vy,vy=!1,g}function ga(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&ch(t,n,s)}i=i.next}while(i!==r)}}function Pc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function fh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==\"function\"?t(e):t.current=e}}function Qx(e){var t=e.alternate;t!==null&&(e.alternate=null,Qx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yn],delete t[Fa],delete t[Xd],delete t[AC],delete t[TC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Kx(e){return e.tag===5||e.tag===3||e.tag===4}function wy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function dh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Nu));else if(r!==4&&(e=e.child,e!==null))for(dh(e,t,n),e=e.sibling;e!==null;)dh(e,t,n),e=e.sibling}function hh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(hh(e,t,n),e=e.sibling;e!==null;)hh(e,t,n),e=e.sibling}var ft=null,An=!1;function $r(e,t,n){for(n=n.child;n!==null;)qx(e,t,n),n=n.sibling}function qx(e,t,n){if(nr&&typeof nr.onCommitFiberUnmount==\"function\")try{nr.onCommitFiberUnmount(wc,n)}catch{}switch(n.tag){case 5:kt||Fs(n,t);case 6:var r=ft,i=An;ft=null,$r(e,t,n),ft=r,An=i,ft!==null&&(An?(e=ft,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ft.removeChild(n.stateNode));break;case 18:ft!==null&&(An?(e=ft,n=n.stateNode,e.nodeType===8?If(e.parentNode,n):e.nodeType===1&&If(e,n),Oa(e)):If(ft,n.stateNode));break;case 4:r=ft,i=An,ft=n.stateNode.containerInfo,An=!0,$r(e,t,n),ft=r,An=i;break;case 0:case 11:case 14:case 15:if(!kt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&ch(n,t,o),i=i.next}while(i!==r)}$r(e,t,n);break;case 1:if(!kt&&(Fs(n,t),r=n.stateNode,typeof r.componentWillUnmount==\"function\"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Qe(n,t,a)}$r(e,t,n);break;case 21:$r(e,t,n);break;case 22:n.mode&1?(kt=(r=kt)||n.memoizedState!==null,$r(e,t,n),kt=r):$r(e,t,n);break;default:$r(e,t,n)}}function xy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new QC),t.forEach(function(r){var i=nk.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function bn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:ft=a.stateNode,An=!1;break e;case 3:ft=a.stateNode.containerInfo,An=!0;break e;case 4:ft=a.stateNode.containerInfo,An=!0;break e}a=a.return}if(ft===null)throw Error(j(160));qx(s,o,i),ft=null,An=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){Qe(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Jx(t,e),t=t.sibling}function Jx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(bn(t,e),Hn(e),r&4){try{ga(3,e,e.return),Pc(3,e)}catch(v){Qe(e,e.return,v)}try{ga(5,e,e.return)}catch(v){Qe(e,e.return,v)}}break;case 1:bn(t,e),Hn(e),r&512&&n!==null&&Fs(n,n.return);break;case 5:if(bn(t,e),Hn(e),r&512&&n!==null&&Fs(n,n.return),e.flags&32){var i=e.stateNode;try{Pa(i,\"\")}catch(v){Qe(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a===\"input\"&&s.type===\"radio\"&&s.name!=null&&y0(i,s),Dd(a,o);var u=Dd(a,s);for(o=0;o<l.length;o+=2){var f=l[o],c=l[o+1];f===\"style\"?b0(i,c):f===\"dangerouslySetInnerHTML\"?x0(i,c):f===\"children\"?Pa(i,c):dp(i,f,c,u)}switch(a){case\"input\":Id(i,s);break;case\"textarea\":v0(i,s);break;case\"select\":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var h=s.value;h!=null?js(i,!!s.multiple,h,!1):d!==!!s.multiple&&(s.defaultValue!=null?js(i,!!s.multiple,s.defaultValue,!0):js(i,!!s.multiple,s.multiple?[]:\"\",!1))}i[Fa]=s}catch(v){Qe(e,e.return,v)}}break;case 6:if(bn(t,e),Hn(e),r&4){if(e.stateNode===null)throw Error(j(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(v){Qe(e,e.return,v)}}break;case 3:if(bn(t,e),Hn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Oa(t.containerInfo)}catch(v){Qe(e,e.return,v)}break;case 4:bn(t,e),Hn(e);break;case 13:bn(t,e),Hn(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Wp=Je())),r&4&&xy(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(kt=(u=kt)||f,bn(t,e),kt=u):bn(t,e),Hn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(K=e,f=e.child;f!==null;){for(c=K=f;K!==null;){switch(d=K,h=d.child,d.tag){case 0:case 11:case 14:case 15:ga(4,d,d.return);break;case 1:Fs(d,d.return);var g=d.stateNode;if(typeof g.componentWillUnmount==\"function\"){r=d,n=d.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(v){Qe(r,n,v)}}break;case 5:Fs(d,d.return);break;case 22:if(d.memoizedState!==null){by(c);continue}}h!==null?(h.return=d,K=h):by(c)}f=f.sibling}e:for(f=null,c=e;;){if(c.tag===5){if(f===null){f=c;try{i=c.stateNode,u?(s=i.style,typeof s.setProperty==\"function\"?s.setProperty(\"display\",\"none\",\"important\"):s.display=\"none\"):(a=c.stateNode,l=c.memoizedProps.style,o=l!=null&&l.hasOwnProperty(\"display\")?l.display:null,a.style.display=S0(\"display\",o))}catch(v){Qe(e,e.return,v)}}}else if(c.tag===6){if(f===null)try{c.stateNode.nodeValue=u?\"\":c.memoizedProps}catch(v){Qe(e,e.return,v)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;f===c&&(f=null),c=c.return}f===c&&(f=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:bn(t,e),Hn(e),r&4&&xy(e);break;case 21:break;default:bn(t,e),Hn(e)}}function Hn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Kx(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Pa(i,\"\"),r.flags&=-33);var s=wy(e);hh(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=wy(e);dh(e,a,o);break;default:throw Error(j(161))}}catch(l){Qe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qC(e,t,n){K=e,Gx(e)}function Gx(e,t,n){for(var r=(e.mode&1)!==0;K!==null;){var i=K,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||$l;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||kt;a=$l;var u=kt;if($l=o,(kt=l)&&!u)for(K=i;K!==null;)o=K,l=o.child,o.tag===22&&o.memoizedState!==null?Ey(i):l!==null?(l.return=o,K=l):Ey(i);for(;s!==null;)K=s,Gx(s),s=s.sibling;K=i,$l=a,kt=u}Sy(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,K=s):Sy(e)}}function Sy(e){for(;K!==null;){var t=K;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:kt||Pc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!kt)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Cn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&sy(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}sy(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case\"button\":case\"input\":case\"select\":case\"textarea\":l.autoFocus&&n.focus();break;case\"img\":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var c=f.dehydrated;c!==null&&Oa(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}kt||t.flags&512&&fh(t)}catch(d){Qe(t,t.return,d)}}if(t===e){K=null;break}if(n=t.sibling,n!==null){n.return=t.return,K=n;break}K=t.return}}function by(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var n=t.sibling;if(n!==null){n.return=t.return,K=n;break}K=t.return}}function Ey(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Pc(4,t)}catch(l){Qe(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==\"function\"){var i=t.return;try{r.componentDidMount()}catch(l){Qe(t,i,l)}}var s=t.return;try{fh(t)}catch(l){Qe(t,s,l)}break;case 5:var o=t.return;try{fh(t)}catch(l){Qe(t,o,l)}}}catch(l){Qe(t,t.return,l)}if(t===e){K=null;break}var a=t.sibling;if(a!==null){a.return=t.return,K=a;break}K=t.return}}var JC=Math.ceil,Qu=Lr.ReactCurrentDispatcher,Hp=Lr.ReactCurrentOwner,mn=Lr.ReactCurrentBatchConfig,we=0,lt=null,Ze=null,ht=0,Gt=0,Ds=bi(0),rt=0,Ba=null,Zi=0,Rc=0,Vp=0,ya=null,zt=null,Wp=0,ho=1/0,xr=null,Ku=!1,ph=null,ci=null,jl=!1,ri=null,qu=0,va=0,mh=null,du=-1,hu=0;function Lt(){return we&6?Je():du!==-1?du:du=Je()}function fi(e){return e.mode&1?we&2&&ht!==0?ht&-ht:IC.transition!==null?(hu===0&&(hu=M0()),hu):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:U0(e.type)),e):1}function Nn(e,t,n,r){if(50<va)throw va=0,mh=null,Error(j(185));tl(e,n,r),(!(we&2)||e!==lt)&&(e===lt&&(!(we&2)&&(Rc|=n),rt===4&&Gr(e,ht)),Vt(e,r),n===1&&we===0&&!(t.mode&1)&&(ho=Je()+500,_c&&Ei()))}function Vt(e,t){var n=e.callbackNode;I_(e,t);var r=Ou(e,e===lt?ht:0);if(r===0)n!==null&&Ig(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ig(n),t===1)e.tag===0?OC(_y.bind(null,e)):ox(_y.bind(null,e)),PC(function(){!(we&6)&&Ei()}),n=null;else{switch(N0(r)){case 1:n=yp;break;case 4:n=I0;break;case 16:n=Tu;break;case 536870912:n=L0;break;default:n=Tu}n=iS(n,Xx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Xx(e,t){if(du=-1,hu=0,we&6)throw Error(j(327));var n=e.callbackNode;if(Vs()&&e.callbackNode!==n)return null;var r=Ou(e,e===lt?ht:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ju(e,r);else{t=r;var i=we;we|=2;var s=Zx();(lt!==e||ht!==t)&&(xr=null,ho=Je()+500,qi(e,t));do try{YC();break}catch(a){Yx(e,a)}while(!0);Tp(),Qu.current=s,we=i,Ze!==null?t=0:(lt=null,ht=0,t=rt)}if(t!==0){if(t===2&&(i=Bd(e),i!==0&&(r=i,t=gh(e,i))),t===1)throw n=Ba,qi(e,0),Gr(e,r),Vt(e,Je()),n;if(t===6)Gr(e,r);else{if(i=e.current.alternate,!(r&30)&&!GC(i)&&(t=Ju(e,r),t===2&&(s=Bd(e),s!==0&&(r=s,t=gh(e,s))),t===1))throw n=Ba,qi(e,0),Gr(e,r),Vt(e,Je()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:Li(e,zt,xr);break;case 3:if(Gr(e,r),(r&130023424)===r&&(t=Wp+500-Je(),10<t)){if(Ou(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Lt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Gd(Li.bind(null,e,zt,xr),t);break}Li(e,zt,xr);break;case 4:if(Gr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Mn(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=Je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*JC(r/1960))-r,10<r){e.timeoutHandle=Gd(Li.bind(null,e,zt,xr),r);break}Li(e,zt,xr);break;case 5:Li(e,zt,xr);break;default:throw Error(j(329))}}}return Vt(e,Je()),e.callbackNode===n?Xx.bind(null,e):null}function gh(e,t){var n=ya;return e.current.memoizedState.isDehydrated&&(qi(e,t).flags|=256),e=Ju(e,t),e!==2&&(t=zt,zt=n,t!==null&&yh(t)),e}function yh(e){zt===null?zt=e:zt.push.apply(zt,e)}function GC(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!Fn(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Gr(e,t){for(t&=~Vp,t&=~Rc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Mn(t),r=1<<n;e[n]=-1,t&=~r}}function _y(e){if(we&6)throw Error(j(327));Vs();var t=Ou(e,0);if(!(t&1))return Vt(e,Je()),null;var n=Ju(e,t);if(e.tag!==0&&n===2){var r=Bd(e);r!==0&&(t=r,n=gh(e,r))}if(n===1)throw n=Ba,qi(e,0),Gr(e,t),Vt(e,Je()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Li(e,zt,xr),Vt(e,Je()),null}function Qp(e,t){var n=we;we|=1;try{return e(t)}finally{we=n,we===0&&(ho=Je()+500,_c&&Ei())}}function es(e){ri!==null&&ri.tag===0&&!(we&6)&&Vs();var t=we;we|=1;var n=mn.transition,r=Pe;try{if(mn.transition=null,Pe=1,e)return e()}finally{Pe=r,mn.transition=n,we=t,!(we&6)&&Ei()}}function Kp(){Gt=Ds.current,Fe(Ds)}function qi(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,kC(n)),Ze!==null)for(n=Ze.return;n!==null;){var r=n;switch(Pp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Fu();break;case 3:co(),Fe(Bt),Fe(Pt),Fp();break;case 5:Np(r);break;case 4:co();break;case 13:Fe(ze);break;case 19:Fe(ze);break;case 10:Op(r.type._context);break;case 22:case 23:Kp()}n=n.return}if(lt=e,Ze=e=di(e.current,null),ht=Gt=t,rt=0,Ba=null,Vp=Rc=Zi=0,zt=ya=null,$i!==null){for(t=0;t<$i.length;t++)if(n=$i[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}$i=null}return e}function Yx(e,t){do{var n=Ze;try{if(Tp(),uu.current=Wu,Vu){for(var r=Ue.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Vu=!1}if(Yi=0,at=nt=Ue=null,ma=!1,ja=0,Hp.current=null,n===null||n.return===null){rt=1,Ba=t,Ze=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=ht,a.flags|=32768,l!==null&&typeof l==\"object\"&&typeof l.then==\"function\"){var u=l,f=a,c=f.tag;if(!(f.mode&1)&&(c===0||c===11||c===15)){var d=f.alternate;d?(f.updateQueue=d.updateQueue,f.memoizedState=d.memoizedState,f.lanes=d.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=fy(o);if(h!==null){h.flags&=-257,dy(h,o,a,s,t),h.mode&1&&cy(s,u,t),t=h,l=u;var g=t.updateQueue;if(g===null){var v=new Set;v.add(l),t.updateQueue=v}else g.add(l);break e}else{if(!(t&1)){cy(s,u,t),qp();break e}l=Error(j(426))}}else if($e&&a.mode&1){var x=fy(o);if(x!==null){!(x.flags&65536)&&(x.flags|=256),dy(x,o,a,s,t),Rp(fo(l,a));break e}}s=l=fo(l,a),rt!==4&&(rt=2),ya===null?ya=[s]:ya.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=Nx(s,l,t);iy(s,m);break e;case 1:a=l;var p=s.type,w=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError==\"function\"||w!==null&&typeof w.componentDidCatch==\"function\"&&(ci===null||!ci.has(w)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=Fx(s,a,t);iy(s,S);break e}}s=s.return}while(s!==null)}tS(n)}catch(k){t=k,Ze===n&&n!==null&&(Ze=n=n.return);continue}break}while(!0)}function Zx(){var e=Qu.current;return Qu.current=Wu,e===null?Wu:e}function qp(){(rt===0||rt===3||rt===2)&&(rt=4),lt===null||!(Zi&268435455)&&!(Rc&268435455)||Gr(lt,ht)}function Ju(e,t){var n=we;we|=2;var r=Zx();(lt!==e||ht!==t)&&(xr=null,qi(e,t));do try{XC();break}catch(i){Yx(e,i)}while(!0);if(Tp(),we=n,Qu.current=r,Ze!==null)throw Error(j(261));return lt=null,ht=0,rt}function XC(){for(;Ze!==null;)eS(Ze)}function YC(){for(;Ze!==null&&!E_();)eS(Ze)}function eS(e){var t=rS(e.alternate,e,Gt);e.memoizedProps=e.pendingProps,t===null?tS(e):Ze=t,Hp.current=null}function tS(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=WC(n,t),n!==null){n.flags&=32767,Ze=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{rt=6,Ze=null;return}}else if(n=VC(n,t,Gt),n!==null){Ze=n;return}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);rt===0&&(rt=5)}function Li(e,t,n){var r=Pe,i=mn.transition;try{mn.transition=null,Pe=1,ZC(e,t,n,r)}finally{mn.transition=i,Pe=r}return null}function ZC(e,t,n,r){do Vs();while(ri!==null);if(we&6)throw Error(j(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(L_(e,s),e===lt&&(Ze=lt=null,ht=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||jl||(jl=!0,iS(Tu,function(){return Vs(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=mn.transition,mn.transition=null;var o=Pe;Pe=1;var a=we;we|=4,Hp.current=null,KC(e,n),Jx(n,e),wC(qd),Iu=!!Kd,qd=Kd=null,e.current=n,qC(n),__(),we=a,Pe=o,mn.transition=s}else e.current=n;if(jl&&(jl=!1,ri=e,qu=i),s=e.pendingLanes,s===0&&(ci=null),P_(n.stateNode),Vt(e,Je()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ku)throw Ku=!1,e=ph,ph=null,e;return qu&1&&e.tag!==0&&Vs(),s=e.pendingLanes,s&1?e===mh?va++:(va=0,mh=e):va=0,Ei(),null}function Vs(){if(ri!==null){var e=N0(qu),t=mn.transition,n=Pe;try{if(mn.transition=null,Pe=16>e?16:e,ri===null)var r=!1;else{if(e=ri,ri=null,qu=0,we&6)throw Error(j(331));var i=we;for(we|=4,K=e.current;K!==null;){var s=K,o=s.child;if(K.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(K=u;K!==null;){var f=K;switch(f.tag){case 0:case 11:case 15:ga(8,f,s)}var c=f.child;if(c!==null)c.return=f,K=c;else for(;K!==null;){f=K;var d=f.sibling,h=f.return;if(Qx(f),f===u){K=null;break}if(d!==null){d.return=h,K=d;break}K=h}}}var g=s.alternate;if(g!==null){var v=g.child;if(v!==null){g.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}K=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,K=o;else e:for(;K!==null;){if(s=K,s.flags&2048)switch(s.tag){case 0:case 11:case 15:ga(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,K=m;break e}K=s.return}}var p=e.current;for(K=p;K!==null;){o=K;var w=o.child;if(o.subtreeFlags&2064&&w!==null)w.return=o,K=w;else e:for(o=p;K!==null;){if(a=K,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Pc(9,a)}}catch(k){Qe(a,a.return,k)}if(a===o){K=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,K=S;break e}K=a.return}}if(we=i,Ei(),nr&&typeof nr.onPostCommitFiberRoot==\"function\")try{nr.onPostCommitFiberRoot(wc,e)}catch{}r=!0}return r}finally{Pe=n,mn.transition=t}}return!1}function Cy(e,t,n){t=fo(n,t),t=Nx(e,t,1),e=ui(e,t,1),t=Lt(),e!==null&&(tl(e,1,t),Vt(e,t))}function Qe(e,t,n){if(e.tag===3)Cy(e,e,n);else for(;t!==null;){if(t.tag===3){Cy(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==\"function\"||typeof r.componentDidCatch==\"function\"&&(ci===null||!ci.has(r))){e=fo(n,e),e=Fx(t,e,1),t=ui(t,e,1),e=Lt(),t!==null&&(tl(t,1,e),Vt(t,e));break}}t=t.return}}function ek(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Lt(),e.pingedLanes|=e.suspendedLanes&n,lt===e&&(ht&n)===n&&(rt===4||rt===3&&(ht&130023424)===ht&&500>Je()-Wp?qi(e,0):Vp|=n),Vt(e,t)}function nS(e,t){t===0&&(e.mode&1?(t=Al,Al<<=1,!(Al&130023424)&&(Al=4194304)):t=1);var n=Lt();e=Ar(e,t),e!==null&&(tl(e,t,n),Vt(e,n))}function tk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nS(e,n)}function nk(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),nS(e,n)}var rS;rS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)Ut=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ut=!1,HC(e,t,n);Ut=!!(e.flags&131072)}else Ut=!1,$e&&t.flags&1048576&&ax(t,ju,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fu(e,t),e=t.pendingProps;var i=ao(t,Pt.current);Hs(t,n),i=$p(null,t,r,e,i,n);var s=jp();return t.flags|=1,typeof i==\"object\"&&i!==null&&typeof i.render==\"function\"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ht(r)?(s=!0,Du(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Lp(t),i.updater=kc,t.stateNode=i,i._reactInternals=t,rh(t,r,e,n),t=oh(null,t,r,!0,s,n)):(t.tag=0,$e&&s&&kp(t),Ot(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fu(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ik(r),e=Cn(r,e),i){case 0:t=sh(null,t,r,e,n);break e;case 1:t=my(null,t,r,e,n);break e;case 11:t=hy(null,t,r,e,n);break e;case 14:t=py(null,t,r,Cn(r.type,e),n);break e}throw Error(j(306,r,\"\"))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),sh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),my(e,t,r,i,n);case 3:e:{if(zx(t),e===null)throw Error(j(387));r=t.pendingProps,s=t.memoizedState,i=s.element,hx(e,t),Bu(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=fo(Error(j(423)),t),t=gy(e,t,r,n,i);break e}else if(r!==i){i=fo(Error(j(424)),t),t=gy(e,t,r,n,i);break e}else for(Zt=li(t.stateNode.containerInfo.firstChild),en=t,$e=!0,On=null,n=fx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(lo(),r===i){t=Tr(e,t,n);break e}Ot(e,t,r,n)}t=t.child}return t;case 5:return px(t),e===null&&eh(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Jd(r,i)?o=null:s!==null&&Jd(r,s)&&(t.flags|=32),jx(e,t),Ot(e,t,o,n),t.child;case 6:return e===null&&eh(t),null;case 13:return Ux(e,t,n);case 4:return Mp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=uo(t,null,r,n):Ot(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),hy(e,t,r,i,n);case 7:return Ot(e,t,t.pendingProps,n),t.child;case 8:return Ot(e,t,t.pendingProps.children,n),t.child;case 12:return Ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Oe(zu,r._currentValue),r._currentValue=o,s!==null)if(Fn(s.value,o)){if(s.children===i.children&&!Bt.current){t=Tr(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=kr(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),th(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(j(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),th(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ot(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Hs(t,n),i=gn(i),r=r(i),t.flags|=1,Ot(e,t,r,n),t.child;case 14:return r=t.type,i=Cn(r,t.pendingProps),i=Cn(r.type,i),py(e,t,r,i,n);case 15:return Dx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),fu(e,t),t.tag=1,Ht(r)?(e=!0,Du(t)):e=!1,Hs(t,n),Mx(t,r,i),rh(t,r,i,n),oh(null,t,r,!0,e,n);case 19:return Bx(e,t,n);case 22:return $x(e,t,n)}throw Error(j(156,t.tag))};function iS(e,t){return O0(e,t)}function rk(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(e,t,n,r){return new rk(e,t,n,r)}function Jp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ik(e){if(typeof e==\"function\")return Jp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pp)return 11;if(e===mp)return 14}return 2}function di(e,t){var n=e.alternate;return n===null?(n=hn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function pu(e,t,n,r,i,s){var o=2;if(r=e,typeof e==\"function\")Jp(e)&&(o=1);else if(typeof e==\"string\")o=5;else e:switch(e){case Ps:return Ji(n.children,i,s,t);case hp:o=8,i|=8;break;case Pd:return e=hn(12,n,t,i|2),e.elementType=Pd,e.lanes=s,e;case Rd:return e=hn(13,n,t,i),e.elementType=Rd,e.lanes=s,e;case Ad:return e=hn(19,n,t,i),e.elementType=Ad,e.lanes=s,e;case p0:return Ac(n,i,s,t);default:if(typeof e==\"object\"&&e!==null)switch(e.$$typeof){case d0:o=10;break e;case h0:o=9;break e;case pp:o=11;break e;case mp:o=14;break e;case Kr:o=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,\"\"))}return t=hn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Ji(e,t,n,r){return e=hn(7,e,r,t),e.lanes=n,e}function Ac(e,t,n,r){return e=hn(22,e,r,t),e.elementType=p0,e.lanes=n,e.stateNode={isHidden:!1},e}function zf(e,t,n){return e=hn(6,e,null,t),e.lanes=n,e}function Uf(e,t,n){return t=hn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sk(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Sf(0),this.expirationTimes=Sf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gp(e,t,n,r,i,s,o,a,l){return e=new sk(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=hn(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lp(s),e}function ok(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ks,key:r==null?null:\"\"+r,children:e,containerInfo:t,implementation:n}}function sS(e){if(!e)return mi;e=e._reactInternals;e:{if(ss(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ht(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(Ht(n))return sx(e,n,t)}return t}function oS(e,t,n,r,i,s,o,a,l){return e=Gp(n,r,!0,e,i,s,o,a,l),e.context=sS(null),n=e.current,r=Lt(),i=fi(n),s=kr(r,i),s.callback=t??null,ui(n,s,i),e.current.lanes=i,tl(e,i,r),Vt(e,r),e}function Tc(e,t,n,r){var i=t.current,s=Lt(),o=fi(i);return n=sS(n),t.context===null?t.context=n:t.pendingContext=n,t=kr(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ui(i,t,o),e!==null&&(Nn(e,i,o,s),lu(e,i,o)),o}function Gu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ky(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xp(e,t){ky(e,t),(e=e.alternate)&&ky(e,t)}function ak(){return null}var aS=typeof reportError==\"function\"?reportError:function(e){console.error(e)};function Yp(e){this._internalRoot=e}Oc.prototype.render=Yp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));Tc(e,t,null,null)};Oc.prototype.unmount=Yp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;es(function(){Tc(null,e,null,null)}),t[Rr]=null}};function Oc(e){this._internalRoot=e}Oc.prototype.unstable_scheduleHydration=function(e){if(e){var t=$0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Jr.length&&t!==0&&t<Jr[n].priority;n++);Jr.splice(n,0,e),n===0&&z0(e)}};function Zp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ic(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==\" react-mount-point-unstable \"))}function Py(){}function lk(e,t,n,r,i){if(i){if(typeof r==\"function\"){var s=r;r=function(){var u=Gu(o);s.call(u)}}var o=oS(t,r,e,0,null,!1,!1,\"\",Py);return e._reactRootContainer=o,e[Rr]=o.current,Ma(e.nodeType===8?e.parentNode:e),es(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==\"function\"){var a=r;r=function(){var u=Gu(l);a.call(u)}}var l=Gp(e,0,!1,null,null,!1,!1,\"\",Py);return e._reactRootContainer=l,e[Rr]=l.current,Ma(e.nodeType===8?e.parentNode:e),es(function(){Tc(t,l,n,r)}),l}function Lc(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i==\"function\"){var a=i;i=function(){var l=Gu(o);a.call(l)}}Tc(t,o,e,i)}else o=lk(n,t,e,i,r);return Gu(o)}F0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Zo(t.pendingLanes);n!==0&&(vp(t,n|1),Vt(t,Je()),!(we&6)&&(ho=Je()+500,Ei()))}break;case 13:es(function(){var r=Ar(e,1);if(r!==null){var i=Lt();Nn(r,e,1,i)}}),Xp(e,1)}};wp=function(e){if(e.tag===13){var t=Ar(e,134217728);if(t!==null){var n=Lt();Nn(t,e,134217728,n)}Xp(e,134217728)}};D0=function(e){if(e.tag===13){var t=fi(e),n=Ar(e,t);if(n!==null){var r=Lt();Nn(n,e,t,r)}Xp(e,t)}};$0=function(){return Pe};j0=function(e,t){var n=Pe;try{return Pe=e,t()}finally{Pe=n}};jd=function(e,t,n){switch(t){case\"input\":if(Id(e,n),t=n.name,n.type===\"radio\"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+t)+'][type=\"radio\"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ec(r);if(!i)throw Error(j(90));g0(r),Id(r,i)}}}break;case\"textarea\":v0(e,n);break;case\"select\":t=n.value,t!=null&&js(e,!!n.multiple,t,!1)}};C0=Qp;k0=es;var uk={usingClientEntryPoint:!1,Events:[rl,Os,Ec,E0,_0,Qp]},Bo={findFiberByHostInstance:Di,bundleType:0,version:\"18.3.1\",rendererPackageName:\"react-dom\"},ck={bundleType:Bo.bundleType,version:Bo.version,rendererPackageName:Bo.rendererPackageName,rendererConfig:Bo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Lr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=A0(e),e===null?null:e.stateNode},findFiberByHostInstance:Bo.findFiberByHostInstance||ak,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:\"18.3.1-next-f1338f8080-20240426\"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"){var zl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zl.isDisabled&&zl.supportsFiber)try{wc=zl.inject(ck),nr=zl}catch{}}rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uk;rn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Zp(t))throw Error(j(200));return ok(e,t,null,n)};rn.createRoot=function(e,t){if(!Zp(e))throw Error(j(299));var n=!1,r=\"\",i=aS;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Gp(e,1,!1,null,null,n,!1,r,i),e[Rr]=t.current,Ma(e.nodeType===8?e.parentNode:e),new Yp(t)};rn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==\"function\"?Error(j(188)):(e=Object.keys(e).join(\",\"),Error(j(268,e)));return e=A0(t),e=e===null?null:e.stateNode,e};rn.flushSync=function(e){return es(e)};rn.hydrate=function(e,t,n){if(!Ic(t))throw Error(j(200));return Lc(null,e,t,!0,n)};rn.hydrateRoot=function(e,t,n){if(!Zp(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,i=!1,s=\"\",o=aS;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=oS(t,null,e,1,n??null,i,!1,s,o),e[Rr]=t.current,Ma(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Oc(t)};rn.render=function(e,t,n){if(!Ic(t))throw Error(j(200));return Lc(null,e,t,!1,n)};rn.unmountComponentAtNode=function(e){if(!Ic(e))throw Error(j(40));return e._reactRootContainer?(es(function(){Lc(null,null,e,!1,function(){e._reactRootContainer=null,e[Rr]=null})}),!0):!1};rn.unstable_batchedUpdates=Qp;rn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ic(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Lc(e,t,n,!1,r)};rn.version=\"18.3.1-next-f1338f8080-20240426\";function lS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lS)}catch(e){console.error(e)}}lS(),l0.exports=rn;var sl=l0.exports;const fk=rp(sl),dk=$w({__proto__:null,default:fk},[sl]);function uS(e){const t=hk(e),n=_.forwardRef((r,i)=>{const{children:s,...o}=r,a=_.Children.toArray(s),l=a.find(mk);if(l){const u=l.props.children,f=a.map(c=>c===l?_.Children.count(u)>1?_.Children.only(null):_.isValidElement(u)?u.props.children:null:c);return Y.jsx(t,{...o,ref:i,children:_.isValidElement(u)?_.cloneElement(u,void 0,f):null})}return Y.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var S2=uS(\"Slot\");function hk(e){const t=_.forwardRef((n,r)=>{const{children:i,...s}=n;if(_.isValidElement(i)){const o=yk(i),a=gk(s,i.props);return i.type!==_.Fragment&&(a.ref=r?o0(r,o):o),_.cloneElement(i,a)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cS=Symbol(\"radix.slottable\");function pk(e){const t=({children:n})=>Y.jsx(Y.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=cS,t}function mk(e){return _.isValidElement(e)&&typeof e.type==\"function\"&&\"__radixId\"in e.type&&e.type.__radixId===cS}function gk(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{s(...a),i(...a)}:i&&(n[r]=i):r===\"style\"?n[r]={...i,...s}:r===\"className\"&&(n[r]=[i,s].filter(Boolean).join(\" \"))}return{...e,...n}}function yk(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,\"ref\"))==null?void 0:r.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,\"ref\"))==null?void 0:i.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vk=[\"a\",\"button\",\"div\",\"form\",\"h2\",\"h3\",\"img\",\"input\",\"label\",\"li\",\"nav\",\"ol\",\"p\",\"span\",\"svg\",\"ul\"],os=vk.reduce((e,t)=>{const n=uS(`Primitive.${t}`),r=_.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<\"u\"&&(window[Symbol.for(\"radix-ui\")]=!0),Y.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function wk(e,t){e&&sl.flushSync(()=>e.dispatchEvent(t))}function bo(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e}),_.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function xk(e,t=globalThis==null?void 0:globalThis.document){const n=bo(e);_.useEffect(()=>{const r=i=>{i.key===\"Escape\"&&n(i)};return t.addEventListener(\"keydown\",r,{capture:!0}),()=>t.removeEventListener(\"keydown\",r,{capture:!0})},[n,t])}var Sk=\"DismissableLayer\",vh=\"dismissableLayer.update\",bk=\"dismissableLayer.pointerDownOutside\",Ek=\"dismissableLayer.focusOutside\",Ry,fS=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dS=_.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=_.useContext(fS),[f,c]=_.useState(null),d=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=_.useState({}),g=rs(t,y=>c(y)),v=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(x),p=f?v.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,S=p>=m,k=kk(y=>{const R=y.target,T=[...u.branches].some(A=>A.contains(R));!S||T||(i==null||i(y),o==null||o(y),y.defaultPrevented||a==null||a())},d),E=Pk(y=>{const R=y.target;[...u.branches].some(A=>A.contains(R))||(s==null||s(y),o==null||o(y),y.defaultPrevented||a==null||a())},d);return xk(y=>{p===u.layers.size-1&&(r==null||r(y),!y.defaultPrevented&&a&&(y.preventDefault(),a()))},d),_.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ry=d.body.style.pointerEvents,d.body.style.pointerEvents=\"none\"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ay(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Ry)}},[f,d,n,u]),_.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ay())},[f,u]),_.useEffect(()=>{const y=()=>h({});return document.addEventListener(vh,y),()=>document.removeEventListener(vh,y)},[]),Y.jsx(os.div,{...l,ref:g,style:{pointerEvents:w?S?\"auto\":\"none\":void 0,...e.style},onFocusCapture:Sr(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Sr(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Sr(e.onPointerDownCapture,k.onPointerDownCapture)})});dS.displayName=Sk;var _k=\"DismissableLayerBranch\",Ck=_.forwardRef((e,t)=>{const n=_.useContext(fS),r=_.useRef(null),i=rs(t,r);return _.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),Y.jsx(os.div,{...e,ref:i})});Ck.displayName=_k;function kk(e,t=globalThis==null?void 0:globalThis.document){const n=bo(e),r=_.useRef(!1),i=_.useRef(()=>{});return _.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){hS(bk,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType===\"touch\"?(t.removeEventListener(\"click\",i.current),i.current=l,t.addEventListener(\"click\",i.current,{once:!0})):l()}else t.removeEventListener(\"click\",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener(\"pointerdown\",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener(\"pointerdown\",s),t.removeEventListener(\"click\",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Pk(e,t=globalThis==null?void 0:globalThis.document){const n=bo(e),r=_.useRef(!1);return _.useEffect(()=>{const i=s=>{s.target&&!r.current&&hS(Ek,n,{originalEvent:s},{discrete:!1})};return t.addEventListener(\"focusin\",i),()=>t.removeEventListener(\"focusin\",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ay(){const e=new CustomEvent(vh);document.dispatchEvent(e)}function hS(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?wk(i,s):i.dispatchEvent(s)}var po=globalThis!=null&&globalThis.document?_.useLayoutEffect:()=>{},Rk=Jw[\" useId \".trim().toString()]||(()=>{}),Ak=0;function Tk(e){const[t,n]=_.useState(Rk());return po(()=>{n(r=>r??String(Ak++))},[e]),e||(t?`radix-${t}`:\"\")}const Ok=[\"top\",\"right\",\"bottom\",\"left\"],gi=Math.min,Yt=Math.max,Xu=Math.round,Ul=Math.floor,ir=e=>({x:e,y:e}),Ik={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"},Lk={start:\"end\",end:\"start\"};function wh(e,t,n){return Yt(e,gi(t,n))}function Or(e,t){return typeof e==\"function\"?e(t):e}function Ir(e){return e.split(\"-\")[0]}function Eo(e){return e.split(\"-\")[1]}function em(e){return e===\"x\"?\"y\":\"x\"}function tm(e){return e===\"y\"?\"height\":\"width\"}function yi(e){return[\"top\",\"bottom\"].includes(Ir(e))?\"y\":\"x\"}function nm(e){return em(yi(e))}function Mk(e,t,n){n===void 0&&(n=!1);const r=Eo(e),i=nm(e),s=tm(i);let o=i===\"x\"?r===(n?\"end\":\"start\")?\"right\":\"left\":r===\"start\"?\"bottom\":\"top\";return t.reference[s]>t.floating[s]&&(o=Yu(o)),[o,Yu(o)]}function Nk(e){const t=Yu(e);return[xh(e),t,xh(t)]}function xh(e){return e.replace(/start|end/g,t=>Lk[t])}function Fk(e,t,n){const r=[\"left\",\"right\"],i=[\"right\",\"left\"],s=[\"top\",\"bottom\"],o=[\"bottom\",\"top\"];switch(e){case\"top\":case\"bottom\":return n?t?i:r:t?r:i;case\"left\":case\"right\":return t?s:o;default:return[]}}function Dk(e,t,n,r){const i=Eo(e);let s=Fk(Ir(e),n===\"start\",r);return i&&(s=s.map(o=>o+\"-\"+i),t&&(s=s.concat(s.map(xh)))),s}function Yu(e){return e.replace(/left|right|bottom|top/g,t=>Ik[t])}function $k(e){return{top:0,right:0,bottom:0,left:0,...e}}function pS(e){return typeof e!=\"number\"?$k(e):{top:e,right:e,bottom:e,left:e}}function Zu(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ty(e,t,n){let{reference:r,floating:i}=e;const s=yi(t),o=nm(t),a=tm(o),l=Ir(t),u=s===\"y\",f=r.x+r.width/2-i.width/2,c=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(l){case\"top\":h={x:f,y:r.y-i.height};break;case\"bottom\":h={x:f,y:r.y+r.height};break;case\"right\":h={x:r.x+r.width,y:c};break;case\"left\":h={x:r.x-i.width,y:c};break;default:h={x:r.x,y:r.y}}switch(Eo(t)){case\"start\":h[o]-=d*(n&&u?-1:1);break;case\"end\":h[o]+=d*(n&&u?-1:1);break}return h}const jk=async(e,t,n)=>{const{placement:r=\"bottom\",strategy:i=\"absolute\",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=Ty(u,r,l),d=r,h={},g=0;for(let v=0;v<a.length;v++){const{name:x,fn:m}=a[v],{x:p,y:w,data:S,reset:k}=await m({x:f,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:o,elements:{reference:e,floating:t}});f=p??f,c=w??c,h={...h,[x]:{...h[x],...S}},k&&g<=50&&(g++,typeof k==\"object\"&&(k.placement&&(d=k.placement),k.rects&&(u=k.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:f,y:c}=Ty(u,d,l)),v=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}};async function Ha(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u=\"clippingAncestors\",rootBoundary:f=\"viewport\",elementContext:c=\"floating\",altBoundary:d=!1,padding:h=0}=Or(t,e),g=pS(h),x=a[d?c===\"floating\"?\"reference\":\"floating\":c],m=Zu(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:l})),p=c===\"floating\"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},k=Zu(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:w,strategy:l}):p);return{top:(m.top-k.top+g.top)/S.y,bottom:(k.bottom-m.bottom+g.bottom)/S.y,left:(m.left-k.left+g.left)/S.x,right:(k.right-m.right+g.right)/S.x}}const zk=e=>({name:\"arrow\",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=Or(e,t)||{};if(u==null)return{};const c=pS(f),d={x:n,y:r},h=nm(i),g=tm(h),v=await o.getDimensions(u),x=h===\"y\",m=x?\"top\":\"left\",p=x?\"bottom\":\"right\",w=x?\"clientHeight\":\"clientWidth\",S=s.reference[g]+s.reference[h]-d[h]-s.floating[g],k=d[h]-s.reference[h],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let y=E?E[w]:0;(!y||!await(o.isElement==null?void 0:o.isElement(E)))&&(y=a.floating[w]||s.floating[g]);const R=S/2-k/2,T=y/2-v[g]/2-1,A=gi(c[m],T),O=gi(c[p],T),I=A,z=y-v[g]-O,B=y/2-v[g]/2+R,V=wh(I,B,z),G=!l.arrow&&Eo(i)!=null&&B!==V&&s.reference[g]/2-(B<I?A:O)-v[g]/2<0,Q=G?B<I?B-I:B-z:0;return{[h]:d[h]+Q,data:{[h]:V,centerOffset:B-V-Q,...G&&{alignmentOffset:Q}},reset:G}}}),Uk=function(e){return e===void 0&&(e={}),{name:\"flip\",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:h=\"bestFit\",fallbackAxisSideDirection:g=\"none\",flipAlignment:v=!0,...x}=Or(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Ir(i),p=yi(a),w=Ir(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),k=d||(w||!v?[Yu(a)]:Nk(a)),E=g!==\"none\";!d&&E&&k.push(...Dk(a,v,g,S));const y=[a,...k],R=await Ha(t,x),T=[];let A=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&T.push(R[m]),c){const B=Mk(i,o,S);T.push(R[B[0]],R[B[1]])}if(A=[...A,{placement:i,overflows:T}],!T.every(B=>B<=0)){var O,I;const B=(((O=s.flip)==null?void 0:O.index)||0)+1,V=y[B];if(V)return{data:{index:B,overflows:A},reset:{placement:V}};let G=(I=A.filter(Q=>Q.overflows[0]<=0).sort((Q,M)=>Q.overflows[1]-M.overflows[1])[0])==null?void 0:I.placement;if(!G)switch(h){case\"bestFit\":{var z;const Q=(z=A.filter(M=>{if(E){const U=yi(M.placement);return U===p||U===\"y\"}return!0}).map(M=>[M.placement,M.overflows.filter(U=>U>0).reduce((U,b)=>U+b,0)]).sort((M,U)=>M[1]-U[1])[0])==null?void 0:z[0];Q&&(G=Q);break}case\"initialPlacement\":G=a;break}if(i!==G)return{reset:{placement:G}}}return{}}}};function Oy(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Iy(e){return Ok.some(t=>e[t]>=0)}const Bk=function(e){return e===void 0&&(e={}),{name:\"hide\",options:e,async fn(t){const{rects:n}=t,{strategy:r=\"referenceHidden\",...i}=Or(e,t);switch(r){case\"referenceHidden\":{const s=await Ha(t,{...i,elementContext:\"reference\"}),o=Oy(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Iy(o)}}}case\"escaped\":{const s=await Ha(t,{...i,altBoundary:!0}),o=Oy(s,n.floating);return{data:{escapedOffsets:o,escaped:Iy(o)}}}default:return{}}}}};async function Hk(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Ir(n),a=Eo(n),l=yi(n)===\"y\",u=[\"left\",\"top\"].includes(o)?-1:1,f=s&&l?-1:1,c=Or(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:g}=typeof c==\"number\"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&typeof g==\"number\"&&(h=a===\"end\"?g*-1:g),l?{x:h*f,y:d*u}:{x:d*u,y:h*f}}const Vk=function(e){return e===void 0&&(e=0),{name:\"offset\",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await Hk(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},Wk=function(e){return e===void 0&&(e={}),{name:\"shift\",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:x=>{let{x:m,y:p}=x;return{x:m,y:p}}},...l}=Or(e,t),u={x:n,y:r},f=await Ha(t,l),c=yi(Ir(i)),d=em(c);let h=u[d],g=u[c];if(s){const x=d===\"y\"?\"top\":\"left\",m=d===\"y\"?\"bottom\":\"right\",p=h+f[x],w=h-f[m];h=wh(p,h,w)}if(o){const x=c===\"y\"?\"top\":\"left\",m=c===\"y\"?\"bottom\":\"right\",p=g+f[x],w=g-f[m];g=wh(p,g,w)}const v=a.fn({...t,[d]:h,[c]:g});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:s,[c]:o}}}}}},Qk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Or(e,t),f={x:n,y:r},c=yi(i),d=em(c);let h=f[d],g=f[c];const v=Or(a,t),x=typeof v==\"number\"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=d===\"y\"?\"height\":\"width\",S=s.reference[d]-s.floating[w]+x.mainAxis,k=s.reference[d]+s.reference[w]-x.mainAxis;h<S?h=S:h>k&&(h=k)}if(u){var m,p;const w=d===\"y\"?\"width\":\"height\",S=[\"top\",\"left\"].includes(Ir(i)),k=s.reference[c]-s.floating[w]+(S&&((m=o.offset)==null?void 0:m[c])||0)+(S?0:x.crossAxis),E=s.reference[c]+s.reference[w]+(S?0:((p=o.offset)==null?void 0:p[c])||0)-(S?x.crossAxis:0);g<k?g=k:g>E&&(g=E)}return{[d]:h,[c]:g}}}},Kk=function(e){return e===void 0&&(e={}),{name:\"size\",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=Or(e,t),f=await Ha(t,u),c=Ir(i),d=Eo(i),h=yi(i)===\"y\",{width:g,height:v}=s.floating;let x,m;c===\"top\"||c===\"bottom\"?(x=c,m=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?\"start\":\"end\")?\"left\":\"right\"):(m=c,x=d===\"end\"?\"top\":\"bottom\");const p=v-f.top-f.bottom,w=g-f.left-f.right,S=gi(v-f[x],p),k=gi(g-f[m],w),E=!t.middlewareData.shift;let y=S,R=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(y=p),E&&!d){const A=Yt(f.left,0),O=Yt(f.right,0),I=Yt(f.top,0),z=Yt(f.bottom,0);h?R=g-2*(A!==0||O!==0?A+O:Yt(f.left,f.right)):y=v-2*(I!==0||z!==0?I+z:Yt(f.top,f.bottom))}await l({...t,availableWidth:R,availableHeight:y});const T=await o.getDimensions(a.floating);return g!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}};function Mc(){return typeof window<\"u\"}function _o(e){return mS(e)?(e.nodeName||\"\").toLowerCase():\"#document\"}function tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function lr(e){var t;return(t=(mS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mS(e){return Mc()?e instanceof Node||e instanceof tn(e).Node:!1}function Dn(e){return Mc()?e instanceof Element||e instanceof tn(e).Element:!1}function or(e){return Mc()?e instanceof HTMLElement||e instanceof tn(e).HTMLElement:!1}function Ly(e){return!Mc()||typeof ShadowRoot>\"u\"?!1:e instanceof ShadowRoot||e instanceof tn(e).ShadowRoot}function ol(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=$n(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![\"inline\",\"contents\"].includes(i)}function qk(e){return[\"table\",\"td\",\"th\"].includes(_o(e))}function Nc(e){return[\":popover-open\",\":modal\"].some(t=>{try{return e.matches(t)}catch{return!1}})}function rm(e){const t=im(),n=Dn(e)?$n(e):e;return[\"transform\",\"translate\",\"scale\",\"rotate\",\"perspective\"].some(r=>n[r]?n[r]!==\"none\":!1)||(n.containerType?n.containerType!==\"normal\":!1)||!t&&(n.backdropFilter?n.backdropFilter!==\"none\":!1)||!t&&(n.filter?n.filter!==\"none\":!1)||[\"transform\",\"translate\",\"scale\",\"rotate\",\"perspective\",\"filter\"].some(r=>(n.willChange||\"\").includes(r))||[\"paint\",\"layout\",\"strict\",\"content\"].some(r=>(n.contain||\"\").includes(r))}function Jk(e){let t=vi(e);for(;or(t)&&!mo(t);){if(rm(t))return t;if(Nc(t))return null;t=vi(t)}return null}function im(){return typeof CSS>\"u\"||!CSS.supports?!1:CSS.supports(\"-webkit-backdrop-filter\",\"none\")}function mo(e){return[\"html\",\"body\",\"#document\"].includes(_o(e))}function $n(e){return tn(e).getComputedStyle(e)}function Fc(e){return Dn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function vi(e){if(_o(e)===\"html\")return e;const t=e.assignedSlot||e.parentNode||Ly(e)&&e.host||lr(e);return Ly(t)?t.host:t}function gS(e){const t=vi(e);return mo(t)?e.ownerDocument?e.ownerDocument.body:e.body:or(t)&&ol(t)?t:gS(t)}function Va(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=gS(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=tn(i);if(s){const a=Sh(o);return t.concat(o,o.visualViewport||[],ol(i)?i:[],a&&n?Va(a):[])}return t.concat(i,Va(i,[],n))}function Sh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yS(e){const t=$n(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=or(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Xu(n)!==s||Xu(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function sm(e){return Dn(e)?e:e.contextElement}function Ws(e){const t=sm(e);if(!or(t))return ir(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=yS(t);let o=(s?Xu(n.width):n.width)/r,a=(s?Xu(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const Gk=ir(0);function vS(e){const t=tn(e);return!im()||!t.visualViewport?Gk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==tn(e)?!1:t}function ts(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=sm(e);let o=ir(1);t&&(r?Dn(r)&&(o=Ws(r)):o=Ws(e));const a=Xk(s,n,r)?vS(s):ir(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,f=i.width/o.x,c=i.height/o.y;if(s){const d=tn(s),h=r&&Dn(r)?tn(r):r;let g=d,v=Sh(g);for(;v&&r&&h!==g;){const x=Ws(v),m=v.getBoundingClientRect(),p=$n(v),w=m.left+(v.clientLeft+parseFloat(p.paddingLeft))*x.x,S=m.top+(v.clientTop+parseFloat(p.paddingTop))*x.y;l*=x.x,u*=x.y,f*=x.x,c*=x.y,l+=w,u+=S,g=tn(v),v=Sh(g)}}return Zu({width:f,height:c,x:l,y:u})}function om(e,t){const n=Fc(e).scrollLeft;return t?t.left+n:ts(lr(e)).left+n}function wS(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:om(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function Yk(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i===\"fixed\",o=lr(r),a=t?Nc(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=ir(1);const f=ir(0),c=or(r);if((c||!c&&!s)&&((_o(r)!==\"body\"||ol(o))&&(l=Fc(r)),or(r))){const h=ts(r);u=Ws(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const d=o&&!c&&!s?wS(o,l,!0):ir(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-l.scrollTop*u.y+f.y+d.y}}function Zk(e){return Array.from(e.getClientRects())}function eP(e){const t=lr(e),n=Fc(e),r=e.ownerDocument.body,i=Yt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Yt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+om(e);const a=-n.scrollTop;return $n(r).direction===\"rtl\"&&(o+=Yt(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function tP(e,t){const n=tn(e),r=lr(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=im();(!u||u&&t===\"fixed\")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function nP(e,t){const n=ts(e,!0,t===\"fixed\"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=or(e)?Ws(e):ir(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function My(e,t,n){let r;if(t===\"viewport\")r=tP(e,n);else if(t===\"document\")r=eP(lr(e));else if(Dn(t))r=nP(t,n);else{const i=vS(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Zu(r)}function xS(e,t){const n=vi(e);return n===t||!Dn(n)||mo(n)?!1:$n(n).position===\"fixed\"||xS(n,t)}function rP(e,t){const n=t.get(e);if(n)return n;let r=Va(e,[],!1).filter(a=>Dn(a)&&_o(a)!==\"body\"),i=null;const s=$n(e).position===\"fixed\";let o=s?vi(e):e;for(;Dn(o)&&!mo(o);){const a=$n(o),l=rm(o);!l&&a.position===\"fixed\"&&(i=null),(s?!l&&!i:!l&&a.position===\"static\"&&!!i&&[\"absolute\",\"fixed\"].includes(i.position)||ol(o)&&!l&&xS(e,o))?r=r.filter(f=>f!==o):i=a,o=vi(o)}return t.set(e,r),r}function iP(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n===\"clippingAncestors\"?Nc(t)?[]:rP(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,f)=>{const c=My(t,f,i);return u.top=Yt(c.top,u.top),u.right=gi(c.right,u.right),u.bottom=gi(c.bottom,u.bottom),u.left=Yt(c.left,u.left),u},My(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function sP(e){const{width:t,height:n}=yS(e);return{width:t,height:n}}function oP(e,t,n){const r=or(t),i=lr(t),s=n===\"fixed\",o=ts(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=ir(0);if(r||!r&&!s)if((_o(t)!==\"body\"||ol(i))&&(a=Fc(t)),r){const d=ts(t,!0,s,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else i&&(l.x=om(i));const u=i&&!r&&!s?wS(i,a):ir(0),f=o.left+a.scrollLeft-l.x-u.x,c=o.top+a.scrollTop-l.y-u.y;return{x:f,y:c,width:o.width,height:o.height}}function Bf(e){return $n(e).position===\"static\"}function Ny(e,t){if(!or(e)||$n(e).position===\"fixed\")return null;if(t)return t(e);let n=e.offsetParent;return lr(e)===n&&(n=n.ownerDocument.body),n}function SS(e,t){const n=tn(e);if(Nc(e))return n;if(!or(e)){let i=vi(e);for(;i&&!mo(i);){if(Dn(i)&&!Bf(i))return i;i=vi(i)}return n}let r=Ny(e,t);for(;r&&qk(r)&&Bf(r);)r=Ny(r,t);return r&&mo(r)&&Bf(r)&&!rm(r)?n:r||Jk(e)||n}const aP=async function(e){const t=this.getOffsetParent||SS,n=this.getDimensions,r=await n(e.floating);return{reference:oP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function lP(e){return $n(e).direction===\"rtl\"}const uP={convertOffsetParentRelativeRectToViewportRelativeRect:Yk,getDocumentElement:lr,getClippingRect:iP,getOffsetParent:SS,getElementRects:aP,getClientRects:Zk,getDimensions:sP,getScale:Ws,isElement:Dn,isRTL:lP};function bS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cP(e,t){let n=null,r;const i=lr(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:f,top:c,width:d,height:h}=u;if(a||t(),!d||!h)return;const g=Ul(c),v=Ul(i.clientWidth-(f+d)),x=Ul(i.clientHeight-(c+h)),m=Ul(f),w={rootMargin:-g+\"px \"+-v+\"px \"+-x+\"px \"+-m+\"px\",threshold:Yt(0,gi(1,l))||1};let S=!0;function k(E){const y=E[0].intersectionRatio;if(y!==l){if(!S)return o();y?o(!1,y):r=setTimeout(()=>{o(!1,1e-7)},1e3)}y===1&&!bS(u,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(k,{...w,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return o(!0),s}function fP(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver==\"function\",layoutShift:a=typeof IntersectionObserver==\"function\",animationFrame:l=!1}=r,u=sm(e),f=i||s?[...u?Va(u):[],...Va(t)]:[];f.forEach(m=>{i&&m.addEventListener(\"scroll\",n,{passive:!0}),s&&m.addEventListener(\"resize\",n)});const c=u&&a?cP(u,n):null;let d=-1,h=null;o&&(h=new ResizeObserver(m=>{let[p]=m;p&&p.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let g,v=l?ts(e):null;l&&x();function x(){const m=ts(e);v&&!bS(v,m)&&n(),v=m,g=requestAnimationFrame(x)}return n(),()=>{var m;f.forEach(p=>{i&&p.removeEventListener(\"scroll\",n),s&&p.removeEventListener(\"resize\",n)}),c==null||c(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const dP=Vk,hP=Wk,pP=Uk,mP=Kk,gP=Bk,Fy=zk,yP=Qk,vP=(e,t,n)=>{const r=new Map,i={platform:uP,...n},s={...i.platform,_c:r};return jk(e,t,{...i,platform:s})};var mu=typeof document<\"u\"?_.useLayoutEffect:_.useEffect;function ec(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==\"function\"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==\"object\"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ec(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s===\"_owner\"&&e.$$typeof)&&!ec(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ES(e){return typeof window>\"u\"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Dy(e,t){const n=ES(e);return Math.round(t*n)/n}function Hf(e){const t=_.useRef(e);return mu(()=>{t.current=e}),t}function wP(e){e===void 0&&(e={});const{placement:t=\"bottom\",strategy:n=\"absolute\",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,c]=_.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=_.useState(r);ec(d,r)||h(r);const[g,v]=_.useState(null),[x,m]=_.useState(null),p=_.useCallback(M=>{M!==E.current&&(E.current=M,v(M))},[]),w=_.useCallback(M=>{M!==y.current&&(y.current=M,m(M))},[]),S=s||g,k=o||x,E=_.useRef(null),y=_.useRef(null),R=_.useRef(f),T=l!=null,A=Hf(l),O=Hf(i),I=Hf(u),z=_.useCallback(()=>{if(!E.current||!y.current)return;const M={placement:t,strategy:n,middleware:d};O.current&&(M.platform=O.current),vP(E.current,y.current,M).then(U=>{const b={...U,isPositioned:I.current!==!1};B.current&&!ec(R.current,b)&&(R.current=b,sl.flushSync(()=>{c(b)}))})},[d,t,n,O,I]);mu(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,c(M=>({...M,isPositioned:!1})))},[u]);const B=_.useRef(!1);mu(()=>(B.current=!0,()=>{B.current=!1}),[]),mu(()=>{if(S&&(E.current=S),k&&(y.current=k),S&&k){if(A.current)return A.current(S,k,z);z()}},[S,k,z,A,T]);const V=_.useMemo(()=>({reference:E,floating:y,setReference:p,setFloating:w}),[p,w]),G=_.useMemo(()=>({reference:S,floating:k}),[S,k]),Q=_.useMemo(()=>{const M={position:n,left:0,top:0};if(!G.floating)return M;const U=Dy(G.floating,f.x),b=Dy(G.floating,f.y);return a?{...M,transform:\"translate(\"+U+\"px, \"+b+\"px)\",...ES(G.floating)>=1.5&&{willChange:\"transform\"}}:{position:n,left:U,top:b}},[n,a,G.floating,f.x,f.y]);return _.useMemo(()=>({...f,update:z,refs:V,elements:G,floatingStyles:Q}),[f,z,V,G,Q])}const xP=e=>{function t(n){return{}.hasOwnProperty.call(n,\"current\")}return{name:\"arrow\",options:e,fn(n){const{element:r,padding:i}=typeof e==\"function\"?e(n):e;return r&&t(r)?r.current!=null?Fy({element:r.current,padding:i}).fn(n):{}:r?Fy({element:r,padding:i}).fn(n):{}}}},SP=(e,t)=>({...dP(e),options:[e,t]}),bP=(e,t)=>({...hP(e),options:[e,t]}),EP=(e,t)=>({...yP(e),options:[e,t]}),_P=(e,t)=>({...pP(e),options:[e,t]}),CP=(e,t)=>({...mP(e),options:[e,t]}),kP=(e,t)=>({...gP(e),options:[e,t]}),PP=(e,t)=>({...xP(e),options:[e,t]});var RP=\"Arrow\",_S=_.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return Y.jsx(os.svg,{...s,ref:t,width:r,height:i,viewBox:\"0 0 30 10\",preserveAspectRatio:\"none\",children:e.asChild?n:Y.jsx(\"polygon\",{points:\"0,0 30,0 15,10\"})})});_S.displayName=RP;var AP=_S;function TP(e){const[t,n]=_.useState(void 0);return po(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if(\"borderBoxSize\"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:\"border-box\"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var am=\"Popper\",[CS,kS]=a0(am),[OP,PS]=CS(am),RS=e=>{const{__scopePopper:t,children:n}=e,[r,i]=_.useState(null);return Y.jsx(OP,{scope:t,anchor:r,onAnchorChange:i,children:n})};RS.displayName=am;var AS=\"PopperAnchor\",TS=_.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=PS(AS,n),o=_.useRef(null),a=rs(t,o);return _.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:Y.jsx(os.div,{...i,ref:a})});TS.displayName=AS;var lm=\"PopperContent\",[IP,LP]=CS(lm),OS=_.forwardRef((e,t)=>{var qe,vt,xn,Sn,dr,Ge;const{__scopePopper:n,side:r=\"bottom\",sideOffset:i=0,align:s=\"center\",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:c=\"partial\",hideWhenDetached:d=!1,updatePositionStrategy:h=\"optimized\",onPlaced:g,...v}=e,x=PS(lm,n),[m,p]=_.useState(null),w=rs(t,Ft=>p(Ft)),[S,k]=_.useState(null),E=TP(S),y=(E==null?void 0:E.width)??0,R=(E==null?void 0:E.height)??0,T=r+(s!==\"center\"?\"-\"+s:\"\"),A=typeof f==\"number\"?f:{top:0,right:0,bottom:0,left:0,...f},O=Array.isArray(u)?u:[u],I=O.length>0,z={padding:A,boundary:O.filter(NP),altBoundary:I},{refs:B,floatingStyles:V,placement:G,isPositioned:Q,middlewareData:M}=wP({strategy:\"fixed\",placement:T,whileElementsMounted:(...Ft)=>fP(...Ft,{animationFrame:h===\"always\"}),elements:{reference:x.anchor},middleware:[SP({mainAxis:i+R,alignmentAxis:o}),l&&bP({mainAxis:!0,crossAxis:!1,limiter:c===\"partial\"?EP():void 0,...z}),l&&_P({...z}),CP({...z,apply:({elements:Ft,rects:Ri,availableWidth:us,availableHeight:on})=>{const{width:cs,height:Oo}=Ri.reference,Un=Ft.floating.style;Un.setProperty(\"--radix-popper-available-width\",`${us}px`),Un.setProperty(\"--radix-popper-available-height\",`${on}px`),Un.setProperty(\"--radix-popper-anchor-width\",`${cs}px`),Un.setProperty(\"--radix-popper-anchor-height\",`${Oo}px`)}}),S&&PP({element:S,padding:a}),FP({arrowWidth:y,arrowHeight:R}),d&&kP({strategy:\"referenceHidden\",...z})]}),[U,b]=MS(G),Z=bo(g);po(()=>{Q&&(Z==null||Z())},[Q,Z]);const pe=(qe=M.arrow)==null?void 0:qe.x,C=(vt=M.arrow)==null?void 0:vt.y,Ae=((xn=M.arrow)==null?void 0:xn.centerOffset)!==0,[Le,ye]=_.useState();return po(()=>{m&&ye(window.getComputedStyle(m).zIndex)},[m]),Y.jsx(\"div\",{ref:B.setFloating,\"data-radix-popper-content-wrapper\":\"\",style:{...V,transform:Q?V.transform:\"translate(0, -200%)\",minWidth:\"max-content\",zIndex:Le,\"--radix-popper-transform-origin\":[(Sn=M.transformOrigin)==null?void 0:Sn.x,(dr=M.transformOrigin)==null?void 0:dr.y].join(\" \"),...((Ge=M.hide)==null?void 0:Ge.referenceHidden)&&{visibility:\"hidden\",pointerEvents:\"none\"}},dir:e.dir,children:Y.jsx(IP,{scope:n,placedSide:U,onArrowChange:k,arrowX:pe,arrowY:C,shouldHideArrow:Ae,children:Y.jsx(os.div,{\"data-side\":U,\"data-align\":b,...v,ref:w,style:{...v.style,animation:Q?void 0:\"none\"}})})})});OS.displayName=lm;var IS=\"PopperArrow\",MP={top:\"bottom\",right:\"left\",bottom:\"top\",left:\"right\"},LS=_.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=LP(IS,r),o=MP[s.placedSide];return Y.jsx(\"span\",{ref:s.onArrowChange,style:{position:\"absolute\",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:\"\",right:\"0 0\",bottom:\"center 0\",left:\"100% 0\"}[s.placedSide],transform:{top:\"translateY(100%)\",right:\"translateY(50%) rotate(90deg) translateX(-50%)\",bottom:\"rotate(180deg)\",left:\"translateY(50%) rotate(-90deg) translateX(50%)\"}[s.placedSide],visibility:s.shouldHideArrow?\"hidden\":void 0},children:Y.jsx(AP,{...i,ref:n,style:{...i.style,display:\"block\"}})})});LS.displayName=IS;function NP(e){return e!==null}var FP=e=>({name:\"transformOrigin\",options:e,fn(t){var x,m,p;const{placement:n,rects:r,middlewareData:i}=t,o=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,f]=MS(n),c={start:\"0%\",center:\"50%\",end:\"100%\"}[f],d=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,h=(((p=i.arrow)==null?void 0:p.y)??0)+l/2;let g=\"\",v=\"\";return u===\"bottom\"?(g=o?c:`${d}px`,v=`${-l}px`):u===\"top\"?(g=o?c:`${d}px`,v=`${r.floating.height+l}px`):u===\"right\"?(g=`${-l}px`,v=o?c:`${h}px`):u===\"left\"&&(g=`${r.floating.width+l}px`,v=o?c:`${h}px`),{data:{x:g,y:v}}}});function MS(e){const[t,n=\"center\"]=e.split(\"-\");return[t,n]}var DP=RS,$P=TS,jP=OS,zP=LS;function UP(e,t){return _.useReducer((n,r)=>t[n][r]??n,e)}var NS=e=>{const{present:t,children:n}=e,r=BP(t),i=typeof n==\"function\"?n({present:r.isPresent}):_.Children.only(n),s=rs(r.ref,HP(i));return typeof n==\"function\"||r.isPresent?_.cloneElement(i,{ref:s}):null};NS.displayName=\"Presence\";function BP(e){const[t,n]=_.useState(),r=_.useRef({}),i=_.useRef(e),s=_.useRef(\"none\"),o=e?\"mounted\":\"unmounted\",[a,l]=UP(o,{mounted:{UNMOUNT:\"unmounted\",ANIMATION_OUT:\"unmountSuspended\"},unmountSuspended:{MOUNT:\"mounted\",ANIMATION_END:\"unmounted\"},unmounted:{MOUNT:\"mounted\"}});return _.useEffect(()=>{const u=Bl(r.current);s.current=a===\"mounted\"?u:\"none\"},[a]),po(()=>{const u=r.current,f=i.current;if(f!==e){const d=s.current,h=Bl(u);e?l(\"MOUNT\"):h===\"none\"||(u==null?void 0:u.display)===\"none\"?l(\"UNMOUNT\"):l(f&&d!==h?\"ANIMATION_OUT\":\"UNMOUNT\"),i.current=e}},[e,l]),po(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,c=h=>{const v=Bl(r.current).includes(h.animationName);if(h.target===t&&v&&(l(\"ANIMATION_END\"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode=\"forwards\",u=f.setTimeout(()=>{t.style.animationFillMode===\"forwards\"&&(t.style.animationFillMode=x)})}},d=h=>{h.target===t&&(s.current=Bl(r.current))};return t.addEventListener(\"animationstart\",d),t.addEventListener(\"animationcancel\",c),t.addEventListener(\"animationend\",c),()=>{f.clearTimeout(u),t.removeEventListener(\"animationstart\",d),t.removeEventListener(\"animationcancel\",c),t.removeEventListener(\"animationend\",c)}}else l(\"ANIMATION_END\")},[t,l]),{isPresent:[\"mounted\",\"unmountSuspended\"].includes(a),ref:_.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Bl(e){return(e==null?void 0:e.animationName)||\"none\"}function HP(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,\"ref\"))==null?void 0:r.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,\"ref\"))==null?void 0:i.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function VP({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=WP({defaultProp:t,onChange:n}),s=e!==void 0,o=s?e:r,a=bo(n),l=_.useCallback(u=>{if(s){const c=typeof u==\"function\"?u(e):u;c!==e&&a(c)}else i(u)},[s,e,i,a]);return[o,l]}function WP({defaultProp:e,onChange:t}){const n=_.useState(e),[r]=n,i=_.useRef(r),s=bo(t);return _.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),n}var QP=\"VisuallyHidden\",FS=_.forwardRef((e,t)=>Y.jsx(os.span,{...e,ref:t,style:{position:\"absolute\",border:0,width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",wordWrap:\"normal\",...e.style}}));FS.displayName=QP;var KP=FS,[Dc,b2]=a0(\"Tooltip\",[kS]),$c=kS(),DS=\"TooltipProvider\",qP=700,bh=\"tooltip.open\",[JP,um]=Dc(DS),$S=e=>{const{__scopeTooltip:t,delayDuration:n=qP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=_.useRef(!0),a=_.useRef(!1),l=_.useRef(0);return _.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),Y.jsx(JP,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:_.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:_.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:_.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};$S.displayName=DS;var jc=\"Tooltip\",[GP,zc]=Dc(jc),jS=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:s,disableHoverableContent:o,delayDuration:a}=e,l=um(jc,e.__scopeTooltip),u=$c(t),[f,c]=_.useState(null),d=Tk(),h=_.useRef(0),g=o??l.disableHoverableContent,v=a??l.delayDuration,x=_.useRef(!1),[m=!1,p]=VP({prop:r,defaultProp:i,onChange:y=>{y?(l.onOpen(),document.dispatchEvent(new CustomEvent(bh))):l.onClose(),s==null||s(y)}}),w=_.useMemo(()=>m?x.current?\"delayed-open\":\"instant-open\":\"closed\",[m]),S=_.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x.current=!1,p(!0)},[p]),k=_.useCallback(()=>{window.clearTimeout(h.current),h.current=0,p(!1)},[p]),E=_.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{x.current=!0,p(!0),h.current=0},v)},[v,p]);return _.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),Y.jsx(DP,{...u,children:Y.jsx(GP,{scope:t,contentId:d,open:m,stateAttribute:w,trigger:f,onTriggerChange:c,onTriggerEnter:_.useCallback(()=>{l.isOpenDelayedRef.current?E():S()},[l.isOpenDelayedRef,E,S]),onTriggerLeave:_.useCallback(()=>{g?k():(window.clearTimeout(h.current),h.current=0)},[k,g]),onOpen:S,onClose:k,disableHoverableContent:g,children:n})})};jS.displayName=jc;var Eh=\"TooltipTrigger\",zS=_.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=zc(Eh,n),s=um(Eh,n),o=$c(n),a=_.useRef(null),l=rs(t,a,i.onTriggerChange),u=_.useRef(!1),f=_.useRef(!1),c=_.useCallback(()=>u.current=!1,[]);return _.useEffect(()=>()=>document.removeEventListener(\"pointerup\",c),[c]),Y.jsx($P,{asChild:!0,...o,children:Y.jsx(os.button,{\"aria-describedby\":i.open?i.contentId:void 0,\"data-state\":i.stateAttribute,...r,ref:l,onPointerMove:Sr(e.onPointerMove,d=>{d.pointerType!==\"touch\"&&!f.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),f.current=!0)}),onPointerLeave:Sr(e.onPointerLeave,()=>{i.onTriggerLeave(),f.current=!1}),onPointerDown:Sr(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener(\"pointerup\",c,{once:!0})}),onFocus:Sr(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Sr(e.onBlur,i.onClose),onClick:Sr(e.onClick,i.onClose)})})});zS.displayName=Eh;var XP=\"TooltipPortal\",[E2,YP]=Dc(XP,{forceMount:void 0}),go=\"TooltipContent\",US=_.forwardRef((e,t)=>{const n=YP(go,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=\"top\",...s}=e,o=zc(go,e.__scopeTooltip);return Y.jsx(NS,{present:r||o.open,children:o.disableHoverableContent?Y.jsx(BS,{side:i,...s,ref:t}):Y.jsx(ZP,{side:i,...s,ref:t})})}),ZP=_.forwardRef((e,t)=>{const n=zc(go,e.__scopeTooltip),r=um(go,e.__scopeTooltip),i=_.useRef(null),s=rs(t,i),[o,a]=_.useState(null),{trigger:l,onClose:u}=n,f=i.current,{onPointerInTransitChange:c}=r,d=_.useCallback(()=>{a(null),c(!1)},[c]),h=_.useCallback((g,v)=>{const x=g.currentTarget,m={x:g.clientX,y:g.clientY},p=iR(m,x.getBoundingClientRect()),w=sR(m,p),S=oR(v.getBoundingClientRect()),k=lR([...w,...S]);a(k),c(!0)},[c]);return _.useEffect(()=>()=>d(),[d]),_.useEffect(()=>{if(l&&f){const g=x=>h(x,f),v=x=>h(x,l);return l.addEventListener(\"pointerleave\",g),f.addEventListener(\"pointerleave\",v),()=>{l.removeEventListener(\"pointerleave\",g),f.removeEventListener(\"pointerleave\",v)}}},[l,f,h,d]),_.useEffect(()=>{if(o){const g=v=>{const x=v.target,m={x:v.clientX,y:v.clientY},p=(l==null?void 0:l.contains(x))||(f==null?void 0:f.contains(x)),w=!aR(m,o);p?d():w&&(d(),u())};return document.addEventListener(\"pointermove\",g),()=>document.removeEventListener(\"pointermove\",g)}},[l,f,o,u,d]),Y.jsx(BS,{...e,ref:s})}),[eR,tR]=Dc(jc,{isInside:!1}),nR=pk(\"TooltipContent\"),BS=_.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,\"aria-label\":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=zc(go,n),u=$c(n),{onClose:f}=l;return _.useEffect(()=>(document.addEventListener(bh,f),()=>document.removeEventListener(bh,f)),[f]),_.useEffect(()=>{if(l.trigger){const c=d=>{const h=d.target;h!=null&&h.contains(l.trigger)&&f()};return window.addEventListener(\"scroll\",c,{capture:!0}),()=>window.removeEventListener(\"scroll\",c,{capture:!0})}},[l.trigger,f]),Y.jsx(dS,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:c=>c.preventDefault(),onDismiss:f,children:Y.jsxs(jP,{\"data-state\":l.stateAttribute,...u,...a,ref:t,style:{...a.style,\"--radix-tooltip-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-tooltip-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-tooltip-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-tooltip-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-tooltip-trigger-height\":\"var(--radix-popper-anchor-height)\"},children:[Y.jsx(nR,{children:r}),Y.jsx(eR,{scope:n,isInside:!0,children:Y.jsx(KP,{id:l.contentId,role:\"tooltip\",children:i||r})})]})})});US.displayName=go;var HS=\"TooltipArrow\",rR=_.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=$c(n);return tR(HS,n).isInside?null:Y.jsx(zP,{...i,...r,ref:t})});rR.displayName=HS;function iR(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return\"left\";case i:return\"right\";case n:return\"top\";case r:return\"bottom\";default:throw new Error(\"unreachable\")}}function sR(e,t,n=5){const r=[];switch(t){case\"top\":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case\"bottom\":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case\"left\":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case\"right\":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function oR(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function aR(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s].x,l=t[s].y,u=t[o].x,f=t[o].y;l>r!=f>r&&n<(u-a)*(r-l)/(f-l)+a&&(i=!i)}return i}function lR(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),uR(t)}function uR(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var cR=$S,fR=jS,dR=zS,VS=US;function WS(e){var t,n,r=\"\";if(typeof e==\"string\"||typeof e==\"number\")r+=e;else if(typeof e==\"object\")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=WS(e[t]))&&(r&&(r+=\" \"),r+=n)}else for(n in e)e[n]&&(r&&(r+=\" \"),r+=n);return r}function hR(){for(var e,t,n=0,r=\"\",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=WS(e))&&(r&&(r+=\" \"),r+=t);return r}const cm=\"-\",pR=e=>{const t=gR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(cm);return a[0]===\"\"&&a.length!==1&&a.shift(),QS(a,t)||mR(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},QS=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?QS(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(cm);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},$y=/^\\[(.+)\\]$/,mR=e=>{if($y.test(e)){const t=$y.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(\":\"));if(n)return\"arbitrary..\"+n}},gR=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return vR(Object.entries(e.classGroups),n).forEach(([s,o])=>{_h(o,r,s,t)}),r},_h=(e,t,n,r)=>{e.forEach(i=>{if(typeof i==\"string\"){const s=i===\"\"?t:jy(t,i);s.classGroupId=n;return}if(typeof i==\"function\"){if(yR(i)){_h(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{_h(o,jy(t,s),n,r)})})},jy=(e,t)=>{let n=e;return t.split(cm).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},yR=e=>e.isThemeGetter,vR=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s==\"string\"?t+s:typeof s==\"object\"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,wR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},KS=\"!\",xR=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,f=0,c;for(let x=0;x<a.length;x++){let m=a[x];if(u===0){if(m===i&&(r||a.slice(x,x+s)===t)){l.push(a.slice(f,x)),f=x+s;continue}if(m===\"/\"){c=x;continue}}m===\"[\"?u++:m===\"]\"&&u--}const d=l.length===0?a:a.substring(f),h=d.startsWith(KS),g=h?d.substring(1):d,v=c&&c>f?c-f:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:o}):o},SR=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]===\"[\"?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},bR=e=>({cache:wR(e.cacheSize),parseClassName:xR(e),...pR(e)}),ER=/\\s+/,_R=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(ER);let a=\"\";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:f,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:h}=n(u);let g=!!h,v=r(g?d.substring(0,h):d);if(!v){if(!g){a=u+(a.length>0?\" \"+a:a);continue}if(v=r(d),!v){a=u+(a.length>0?\" \"+a:a);continue}g=!1}const x=SR(f).join(\":\"),m=c?x+KS:x,p=m+v;if(s.includes(p))continue;s.push(p);const w=i(v,g);for(let S=0;S<w.length;++S){const k=w[S];s.push(m+k)}a=u+(a.length>0?\" \"+a:a)}return a};function CR(){let e=0,t,n,r=\"\";for(;e<arguments.length;)(t=arguments[e++])&&(n=qS(t))&&(r&&(r+=\" \"),r+=n);return r}const qS=e=>{if(typeof e==\"string\")return e;let t,n=\"\";for(let r=0;r<e.length;r++)e[r]&&(t=qS(e[r]))&&(n&&(n+=\" \"),n+=t);return n};function kR(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((f,c)=>c(f),e());return n=bR(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const f=_R(l,n);return i(l,f),f}return function(){return s(CR.apply(null,arguments))}}const Me=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},JS=/^\\[(?:([a-z-]+):)?(.+)\\]$/i,PR=/^\\d+\\/\\d+$/,RR=new Set([\"px\",\"full\",\"screen\"]),AR=/^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/,TR=/\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/,OR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\\(.+\\)$/,IR=/^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/,LR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/,gr=e=>Qs(e)||RR.has(e)||PR.test(e),jr=e=>Co(e,\"length\",UR),Qs=e=>!!e&&!Number.isNaN(Number(e)),Vf=e=>Co(e,\"number\",Qs),Ho=e=>!!e&&Number.isInteger(Number(e)),MR=e=>e.endsWith(\"%\")&&Qs(e.slice(0,-1)),de=e=>JS.test(e),zr=e=>AR.test(e),NR=new Set([\"length\",\"size\",\"percentage\"]),FR=e=>Co(e,NR,GS),DR=e=>Co(e,\"position\",GS),$R=new Set([\"image\",\"url\"]),jR=e=>Co(e,$R,HR),zR=e=>Co(e,\"\",BR),Vo=()=>!0,Co=(e,t,n)=>{const r=JS.exec(e);return r?r[1]?typeof t==\"string\"?r[1]===t:t.has(r[1]):n(r[2]):!1},UR=e=>TR.test(e)&&!OR.test(e),GS=()=>!1,BR=e=>IR.test(e),HR=e=>LR.test(e),VR=()=>{const e=Me(\"colors\"),t=Me(\"spacing\"),n=Me(\"blur\"),r=Me(\"brightness\"),i=Me(\"borderColor\"),s=Me(\"borderRadius\"),o=Me(\"borderSpacing\"),a=Me(\"borderWidth\"),l=Me(\"contrast\"),u=Me(\"grayscale\"),f=Me(\"hueRotate\"),c=Me(\"invert\"),d=Me(\"gap\"),h=Me(\"gradientColorStops\"),g=Me(\"gradientColorStopPositions\"),v=Me(\"inset\"),x=Me(\"margin\"),m=Me(\"opacity\"),p=Me(\"padding\"),w=Me(\"saturate\"),S=Me(\"scale\"),k=Me(\"sepia\"),E=Me(\"skew\"),y=Me(\"space\"),R=Me(\"translate\"),T=()=>[\"auto\",\"contain\",\"none\"],A=()=>[\"auto\",\"hidden\",\"clip\",\"visible\",\"scroll\"],O=()=>[\"auto\",de,t],I=()=>[de,t],z=()=>[\"\",gr,jr],B=()=>[\"auto\",Qs,de],V=()=>[\"bottom\",\"center\",\"left\",\"left-bottom\",\"left-top\",\"right\",\"right-bottom\",\"right-top\",\"top\"],G=()=>[\"solid\",\"dashed\",\"dotted\",\"double\",\"none\"],Q=()=>[\"normal\",\"multiply\",\"screen\",\"overlay\",\"darken\",\"lighten\",\"color-dodge\",\"color-burn\",\"hard-light\",\"soft-light\",\"difference\",\"exclusion\",\"hue\",\"saturation\",\"color\",\"luminosity\"],M=()=>[\"start\",\"end\",\"center\",\"between\",\"around\",\"evenly\",\"stretch\"],U=()=>[\"\",\"0\",de],b=()=>[\"auto\",\"avoid\",\"all\",\"avoid-page\",\"page\",\"left\",\"right\",\"column\"],Z=()=>[Qs,de];return{cacheSize:500,separator:\":\",theme:{colors:[Vo],spacing:[gr,jr],blur:[\"none\",\"\",zr,de],brightness:Z(),borderColor:[e],borderRadius:[\"none\",\"\",\"full\",zr,de],borderSpacing:I(),borderWidth:z(),contrast:Z(),grayscale:U(),hueRotate:Z(),invert:U(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[MR,jr],inset:O(),margin:O(),opacity:Z(),padding:I(),saturate:Z(),scale:Z(),sepia:U(),skew:Z(),space:I(),translate:I()},classGroups:{aspect:[{aspect:[\"auto\",\"square\",\"video\",de]}],container:[\"container\"],columns:[{columns:[zr]}],\"break-after\":[{\"break-after\":b()}],\"break-before\":[{\"break-before\":b()}],\"break-inside\":[{\"break-inside\":[\"auto\",\"avoid\",\"avoid-page\",\"avoid-column\"]}],\"box-decoration\":[{\"box-decoration\":[\"slice\",\"clone\"]}],box:[{box:[\"border\",\"content\"]}],display:[\"block\",\"inline-block\",\"inline\",\"flex\",\"inline-flex\",\"table\",\"inline-table\",\"table-caption\",\"table-cell\",\"table-column\",\"table-column-group\",\"table-footer-group\",\"table-header-group\",\"table-row-group\",\"table-row\",\"flow-root\",\"grid\",\"inline-grid\",\"contents\",\"list-item\",\"hidden\"],float:[{float:[\"right\",\"left\",\"none\",\"start\",\"end\"]}],clear:[{clear:[\"left\",\"right\",\"both\",\"none\",\"start\",\"end\"]}],isolation:[\"isolate\",\"isolation-auto\"],\"object-fit\":[{object:[\"contain\",\"cover\",\"fill\",\"none\",\"scale-down\"]}],\"object-position\":[{object:[...V(),de]}],overflow:[{overflow:A()}],\"overflow-x\":[{\"overflow-x\":A()}],\"overflow-y\":[{\"overflow-y\":A()}],overscroll:[{overscroll:T()}],\"overscroll-x\":[{\"overscroll-x\":T()}],\"overscroll-y\":[{\"overscroll-y\":T()}],position:[\"static\",\"fixed\",\"absolute\",\"relative\",\"sticky\"],inset:[{inset:[v]}],\"inset-x\":[{\"inset-x\":[v]}],\"inset-y\":[{\"inset-y\":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:[\"visible\",\"invisible\",\"collapse\"],z:[{z:[\"auto\",Ho,de]}],basis:[{basis:O()}],\"flex-direction\":[{flex:[\"row\",\"row-reverse\",\"col\",\"col-reverse\"]}],\"flex-wrap\":[{flex:[\"wrap\",\"wrap-reverse\",\"nowrap\"]}],flex:[{flex:[\"1\",\"auto\",\"initial\",\"none\",de]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:[\"first\",\"last\",\"none\",Ho,de]}],\"grid-cols\":[{\"grid-cols\":[Vo]}],\"col-start-end\":[{col:[\"auto\",{span:[\"full\",Ho,de]},de]}],\"col-start\":[{\"col-start\":B()}],\"col-end\":[{\"col-end\":B()}],\"grid-rows\":[{\"grid-rows\":[Vo]}],\"row-start-end\":[{row:[\"auto\",{span:[Ho,de]},de]}],\"row-start\":[{\"row-start\":B()}],\"row-end\":[{\"row-end\":B()}],\"grid-flow\":[{\"grid-flow\":[\"row\",\"col\",\"dense\",\"row-dense\",\"col-dense\"]}],\"auto-cols\":[{\"auto-cols\":[\"auto\",\"min\",\"max\",\"fr\",de]}],\"auto-rows\":[{\"auto-rows\":[\"auto\",\"min\",\"max\",\"fr\",de]}],gap:[{gap:[d]}],\"gap-x\":[{\"gap-x\":[d]}],\"gap-y\":[{\"gap-y\":[d]}],\"justify-content\":[{justify:[\"normal\",...M()]}],\"justify-items\":[{\"justify-items\":[\"start\",\"end\",\"center\",\"stretch\"]}],\"justify-self\":[{\"justify-self\":[\"auto\",\"start\",\"end\",\"center\",\"stretch\"]}],\"align-content\":[{content:[\"normal\",...M(),\"baseline\"]}],\"align-items\":[{items:[\"start\",\"end\",\"center\",\"baseline\",\"stretch\"]}],\"align-self\":[{self:[\"auto\",\"start\",\"end\",\"center\",\"stretch\",\"baseline\"]}],\"place-content\":[{\"place-content\":[...M(),\"baseline\"]}],\"place-items\":[{\"place-items\":[\"start\",\"end\",\"center\",\"baseline\",\"stretch\"]}],\"place-self\":[{\"place-self\":[\"auto\",\"start\",\"end\",\"center\",\"stretch\"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],\"space-x\":[{\"space-x\":[y]}],\"space-x-reverse\":[\"space-x-reverse\"],\"space-y\":[{\"space-y\":[y]}],\"space-y-reverse\":[\"space-y-reverse\"],w:[{w:[\"auto\",\"min\",\"max\",\"fit\",\"svw\",\"lvw\",\"dvw\",de,t]}],\"min-w\":[{\"min-w\":[de,t,\"min\",\"max\",\"fit\"]}],\"max-w\":[{\"max-w\":[de,t,\"none\",\"full\",\"min\",\"max\",\"fit\",\"prose\",{screen:[zr]},zr]}],h:[{h:[de,t,\"auto\",\"min\",\"max\",\"fit\",\"svh\",\"lvh\",\"dvh\"]}],\"min-h\":[{\"min-h\":[de,t,\"min\",\"max\",\"fit\",\"svh\",\"lvh\",\"dvh\"]}],\"max-h\":[{\"max-h\":[de,t,\"min\",\"max\",\"fit\",\"svh\",\"lvh\",\"dvh\"]}],size:[{size:[de,t,\"auto\",\"min\",\"max\",\"fit\"]}],\"font-size\":[{text:[\"base\",zr,jr]}],\"font-smoothing\":[\"antialiased\",\"subpixel-antialiased\"],\"font-style\":[\"italic\",\"not-italic\"],\"font-weight\":[{font:[\"thin\",\"extralight\",\"light\",\"normal\",\"medium\",\"semibold\",\"bold\",\"extrabold\",\"black\",Vf]}],\"font-family\":[{font:[Vo]}],\"fvn-normal\":[\"normal-nums\"],\"fvn-ordinal\":[\"ordinal\"],\"fvn-slashed-zero\":[\"slashed-zero\"],\"fvn-figure\":[\"lining-nums\",\"oldstyle-nums\"],\"fvn-spacing\":[\"proportional-nums\",\"tabular-nums\"],\"fvn-fraction\":[\"diagonal-fractions\",\"stacked-fractions\"],tracking:[{tracking:[\"tighter\",\"tight\",\"normal\",\"wide\",\"wider\",\"widest\",de]}],\"line-clamp\":[{\"line-clamp\":[\"none\",Qs,Vf]}],leading:[{leading:[\"none\",\"tight\",\"snug\",\"normal\",\"relaxed\",\"loose\",gr,de]}],\"list-image\":[{\"list-image\":[\"none\",de]}],\"list-style-type\":[{list:[\"none\",\"disc\",\"decimal\",de]}],\"list-style-position\":[{list:[\"inside\",\"outside\"]}],\"placeholder-color\":[{placeholder:[e]}],\"placeholder-opacity\":[{\"placeholder-opacity\":[m]}],\"text-alignment\":[{text:[\"left\",\"center\",\"right\",\"justify\",\"start\",\"end\"]}],\"text-color\":[{text:[e]}],\"text-opacity\":[{\"text-opacity\":[m]}],\"text-decoration\":[\"underline\",\"overline\",\"line-through\",\"no-underline\"],\"text-decoration-style\":[{decoration:[...G(),\"wavy\"]}],\"text-decoration-thickness\":[{decoration:[\"auto\",\"from-font\",gr,jr]}],\"underline-offset\":[{\"underline-offset\":[\"auto\",gr,de]}],\"text-decoration-color\":[{decoration:[e]}],\"text-transform\":[\"uppercase\",\"lowercase\",\"capitalize\",\"normal-case\"],\"text-overflow\":[\"truncate\",\"text-ellipsis\",\"text-clip\"],\"text-wrap\":[{text:[\"wrap\",\"nowrap\",\"balance\",\"pretty\"]}],indent:[{indent:I()}],\"vertical-align\":[{align:[\"baseline\",\"top\",\"middle\",\"bottom\",\"text-top\",\"text-bottom\",\"sub\",\"super\",de]}],whitespace:[{whitespace:[\"normal\",\"nowrap\",\"pre\",\"pre-line\",\"pre-wrap\",\"break-spaces\"]}],break:[{break:[\"normal\",\"words\",\"all\",\"keep\"]}],hyphens:[{hyphens:[\"none\",\"manual\",\"auto\"]}],content:[{content:[\"none\",de]}],\"bg-attachment\":[{bg:[\"fixed\",\"local\",\"scroll\"]}],\"bg-clip\":[{\"bg-clip\":[\"border\",\"padding\",\"content\",\"text\"]}],\"bg-opacity\":[{\"bg-opacity\":[m]}],\"bg-origin\":[{\"bg-origin\":[\"border\",\"padding\",\"content\"]}],\"bg-position\":[{bg:[...V(),DR]}],\"bg-repeat\":[{bg:[\"no-repeat\",{repeat:[\"\",\"x\",\"y\",\"round\",\"space\"]}]}],\"bg-size\":[{bg:[\"auto\",\"cover\",\"contain\",FR]}],\"bg-image\":[{bg:[\"none\",{\"gradient-to\":[\"t\",\"tr\",\"r\",\"br\",\"b\",\"bl\",\"l\",\"tl\"]},jR]}],\"bg-color\":[{bg:[e]}],\"gradient-from-pos\":[{from:[g]}],\"gradient-via-pos\":[{via:[g]}],\"gradient-to-pos\":[{to:[g]}],\"gradient-from\":[{from:[h]}],\"gradient-via\":[{via:[h]}],\"gradient-to\":[{to:[h]}],rounded:[{rounded:[s]}],\"rounded-s\":[{\"rounded-s\":[s]}],\"rounded-e\":[{\"rounded-e\":[s]}],\"rounded-t\":[{\"rounded-t\":[s]}],\"rounded-r\":[{\"rounded-r\":[s]}],\"rounded-b\":[{\"rounded-b\":[s]}],\"rounded-l\":[{\"rounded-l\":[s]}],\"rounded-ss\":[{\"rounded-ss\":[s]}],\"rounded-se\":[{\"rounded-se\":[s]}],\"rounded-ee\":[{\"rounded-ee\":[s]}],\"rounded-es\":[{\"rounded-es\":[s]}],\"rounded-tl\":[{\"rounded-tl\":[s]}],\"rounded-tr\":[{\"rounded-tr\":[s]}],\"rounded-br\":[{\"rounded-br\":[s]}],\"rounded-bl\":[{\"rounded-bl\":[s]}],\"border-w\":[{border:[a]}],\"border-w-x\":[{\"border-x\":[a]}],\"border-w-y\":[{\"border-y\":[a]}],\"border-w-s\":[{\"border-s\":[a]}],\"border-w-e\":[{\"border-e\":[a]}],\"border-w-t\":[{\"border-t\":[a]}],\"border-w-r\":[{\"border-r\":[a]}],\"border-w-b\":[{\"border-b\":[a]}],\"border-w-l\":[{\"border-l\":[a]}],\"border-opacity\":[{\"border-opacity\":[m]}],\"border-style\":[{border:[...G(),\"hidden\"]}],\"divide-x\":[{\"divide-x\":[a]}],\"divide-x-reverse\":[\"divide-x-reverse\"],\"divide-y\":[{\"divide-y\":[a]}],\"divide-y-reverse\":[\"divide-y-reverse\"],\"divide-opacity\":[{\"divide-opacity\":[m]}],\"divide-style\":[{divide:G()}],\"border-color\":[{border:[i]}],\"border-color-x\":[{\"border-x\":[i]}],\"border-color-y\":[{\"border-y\":[i]}],\"border-color-s\":[{\"border-s\":[i]}],\"border-color-e\":[{\"border-e\":[i]}],\"border-color-t\":[{\"border-t\":[i]}],\"border-color-r\":[{\"border-r\":[i]}],\"border-color-b\":[{\"border-b\":[i]}],\"border-color-l\":[{\"border-l\":[i]}],\"divide-color\":[{divide:[i]}],\"outline-style\":[{outline:[\"\",...G()]}],\"outline-offset\":[{\"outline-offset\":[gr,de]}],\"outline-w\":[{outline:[gr,jr]}],\"outline-color\":[{outline:[e]}],\"ring-w\":[{ring:z()}],\"ring-w-inset\":[\"ring-inset\"],\"ring-color\":[{ring:[e]}],\"ring-opacity\":[{\"ring-opacity\":[m]}],\"ring-offset-w\":[{\"ring-offset\":[gr,jr]}],\"ring-offset-color\":[{\"ring-offset\":[e]}],shadow:[{shadow:[\"\",\"inner\",\"none\",zr,zR]}],\"shadow-color\":[{shadow:[Vo]}],opacity:[{opacity:[m]}],\"mix-blend\":[{\"mix-blend\":[...Q(),\"plus-lighter\",\"plus-darker\"]}],\"bg-blend\":[{\"bg-blend\":Q()}],filter:[{filter:[\"\",\"none\"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],\"drop-shadow\":[{\"drop-shadow\":[\"\",\"none\",zr,de]}],grayscale:[{grayscale:[u]}],\"hue-rotate\":[{\"hue-rotate\":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[w]}],sepia:[{sepia:[k]}],\"backdrop-filter\":[{\"backdrop-filter\":[\"\",\"none\"]}],\"backdrop-blur\":[{\"backdrop-blur\":[n]}],\"backdrop-brightness\":[{\"backdrop-brightness\":[r]}],\"backdrop-contrast\":[{\"backdrop-contrast\":[l]}],\"backdrop-grayscale\":[{\"backdrop-grayscale\":[u]}],\"backdrop-hue-rotate\":[{\"backdrop-hue-rotate\":[f]}],\"backdrop-invert\":[{\"backdrop-invert\":[c]}],\"backdrop-opacity\":[{\"backdrop-opacity\":[m]}],\"backdrop-saturate\":[{\"backdrop-saturate\":[w]}],\"backdrop-sepia\":[{\"backdrop-sepia\":[k]}],\"border-collapse\":[{border:[\"collapse\",\"separate\"]}],\"border-spacing\":[{\"border-spacing\":[o]}],\"border-spacing-x\":[{\"border-spacing-x\":[o]}],\"border-spacing-y\":[{\"border-spacing-y\":[o]}],\"table-layout\":[{table:[\"auto\",\"fixed\"]}],caption:[{caption:[\"top\",\"bottom\"]}],transition:[{transition:[\"none\",\"all\",\"\",\"colors\",\"opacity\",\"shadow\",\"transform\",de]}],duration:[{duration:Z()}],ease:[{ease:[\"linear\",\"in\",\"out\",\"in-out\",de]}],delay:[{delay:Z()}],animate:[{animate:[\"none\",\"spin\",\"ping\",\"pulse\",\"bounce\",de]}],transform:[{transform:[\"\",\"gpu\",\"none\"]}],scale:[{scale:[S]}],\"scale-x\":[{\"scale-x\":[S]}],\"scale-y\":[{\"scale-y\":[S]}],rotate:[{rotate:[Ho,de]}],\"translate-x\":[{\"translate-x\":[R]}],\"translate-y\":[{\"translate-y\":[R]}],\"skew-x\":[{\"skew-x\":[E]}],\"skew-y\":[{\"skew-y\":[E]}],\"transform-origin\":[{origin:[\"center\",\"top\",\"top-right\",\"right\",\"bottom-right\",\"bottom\",\"bottom-left\",\"left\",\"top-left\",de]}],accent:[{accent:[\"auto\",e]}],appearance:[{appearance:[\"none\",\"auto\"]}],cursor:[{cursor:[\"auto\",\"default\",\"pointer\",\"wait\",\"text\",\"move\",\"help\",\"not-allowed\",\"none\",\"context-menu\",\"progress\",\"cell\",\"crosshair\",\"vertical-text\",\"alias\",\"copy\",\"no-drop\",\"grab\",\"grabbing\",\"all-scroll\",\"col-resize\",\"row-resize\",\"n-resize\",\"e-resize\",\"s-resize\",\"w-resize\",\"ne-resize\",\"nw-resize\",\"se-resize\",\"sw-resize\",\"ew-resize\",\"ns-resize\",\"nesw-resize\",\"nwse-resize\",\"zoom-in\",\"zoom-out\",de]}],\"caret-color\":[{caret:[e]}],\"pointer-events\":[{\"pointer-events\":[\"none\",\"auto\"]}],resize:[{resize:[\"none\",\"y\",\"x\",\"\"]}],\"scroll-behavior\":[{scroll:[\"auto\",\"smooth\"]}],\"scroll-m\":[{\"scroll-m\":I()}],\"scroll-mx\":[{\"scroll-mx\":I()}],\"scroll-my\":[{\"scroll-my\":I()}],\"scroll-ms\":[{\"scroll-ms\":I()}],\"scroll-me\":[{\"scroll-me\":I()}],\"scroll-mt\":[{\"scroll-mt\":I()}],\"scroll-mr\":[{\"scroll-mr\":I()}],\"scroll-mb\":[{\"scroll-mb\":I()}],\"scroll-ml\":[{\"scroll-ml\":I()}],\"scroll-p\":[{\"scroll-p\":I()}],\"scroll-px\":[{\"scroll-px\":I()}],\"scroll-py\":[{\"scroll-py\":I()}],\"scroll-ps\":[{\"scroll-ps\":I()}],\"scroll-pe\":[{\"scroll-pe\":I()}],\"scroll-pt\":[{\"scroll-pt\":I()}],\"scroll-pr\":[{\"scroll-pr\":I()}],\"scroll-pb\":[{\"scroll-pb\":I()}],\"scroll-pl\":[{\"scroll-pl\":I()}],\"snap-align\":[{snap:[\"start\",\"end\",\"center\",\"align-none\"]}],\"snap-stop\":[{snap:[\"normal\",\"always\"]}],\"snap-type\":[{snap:[\"none\",\"x\",\"y\",\"both\"]}],\"snap-strictness\":[{snap:[\"mandatory\",\"proximity\"]}],touch:[{touch:[\"auto\",\"none\",\"manipulation\"]}],\"touch-x\":[{\"touch-pan\":[\"x\",\"left\",\"right\"]}],\"touch-y\":[{\"touch-pan\":[\"y\",\"up\",\"down\"]}],\"touch-pz\":[\"touch-pinch-zoom\"],select:[{select:[\"none\",\"text\",\"all\",\"auto\"]}],\"will-change\":[{\"will-change\":[\"auto\",\"scroll\",\"contents\",\"transform\",de]}],fill:[{fill:[e,\"none\"]}],\"stroke-w\":[{stroke:[gr,jr,Vf]}],stroke:[{stroke:[e,\"none\"]}],sr:[\"sr-only\",\"not-sr-only\"],\"forced-color-adjust\":[{\"forced-color-adjust\":[\"auto\",\"none\"]}]},conflictingClassGroups:{overflow:[\"overflow-x\",\"overflow-y\"],overscroll:[\"overscroll-x\",\"overscroll-y\"],inset:[\"inset-x\",\"inset-y\",\"start\",\"end\",\"top\",\"right\",\"bottom\",\"left\"],\"inset-x\":[\"right\",\"left\"],\"inset-y\":[\"top\",\"bottom\"],flex:[\"basis\",\"grow\",\"shrink\"],gap:[\"gap-x\",\"gap-y\"],p:[\"px\",\"py\",\"ps\",\"pe\",\"pt\",\"pr\",\"pb\",\"pl\"],px:[\"pr\",\"pl\"],py:[\"pt\",\"pb\"],m:[\"mx\",\"my\",\"ms\",\"me\",\"mt\",\"mr\",\"mb\",\"ml\"],mx:[\"mr\",\"ml\"],my:[\"mt\",\"mb\"],size:[\"w\",\"h\"],\"font-size\":[\"leading\"],\"fvn-normal\":[\"fvn-ordinal\",\"fvn-slashed-zero\",\"fvn-figure\",\"fvn-spacing\",\"fvn-fraction\"],\"fvn-ordinal\":[\"fvn-normal\"],\"fvn-slashed-zero\":[\"fvn-normal\"],\"fvn-figure\":[\"fvn-normal\"],\"fvn-spacing\":[\"fvn-normal\"],\"fvn-fraction\":[\"fvn-normal\"],\"line-clamp\":[\"display\",\"overflow\"],rounded:[\"rounded-s\",\"rounded-e\",\"rounded-t\",\"rounded-r\",\"rounded-b\",\"rounded-l\",\"rounded-ss\",\"rounded-se\",\"rounded-ee\",\"rounded-es\",\"rounded-tl\",\"rounded-tr\",\"rounded-br\",\"rounded-bl\"],\"rounded-s\":[\"rounded-ss\",\"rounded-es\"],\"rounded-e\":[\"rounded-se\",\"rounded-ee\"],\"rounded-t\":[\"rounded-tl\",\"rounded-tr\"],\"rounded-r\":[\"rounded-tr\",\"rounded-br\"],\"rounded-b\":[\"rounded-br\",\"rounded-bl\"],\"rounded-l\":[\"rounded-tl\",\"rounded-bl\"],\"border-spacing\":[\"border-spacing-x\",\"border-spacing-y\"],\"border-w\":[\"border-w-s\",\"border-w-e\",\"border-w-t\",\"border-w-r\",\"border-w-b\",\"border-w-l\"],\"border-w-x\":[\"border-w-r\",\"border-w-l\"],\"border-w-y\":[\"border-w-t\",\"border-w-b\"],\"border-color\":[\"border-color-s\",\"border-color-e\",\"border-color-t\",\"border-color-r\",\"border-color-b\",\"border-color-l\"],\"border-color-x\":[\"border-color-r\",\"border-color-l\"],\"border-color-y\":[\"border-color-t\",\"border-color-b\"],\"scroll-m\":[\"scroll-mx\",\"scroll-my\",\"scroll-ms\",\"scroll-me\",\"scroll-mt\",\"scroll-mr\",\"scroll-mb\",\"scroll-ml\"],\"scroll-mx\":[\"scroll-mr\",\"scroll-ml\"],\"scroll-my\":[\"scroll-mt\",\"scroll-mb\"],\"scroll-p\":[\"scroll-px\",\"scroll-py\",\"scroll-ps\",\"scroll-pe\",\"scroll-pt\",\"scroll-pr\",\"scroll-pb\",\"scroll-pl\"],\"scroll-px\":[\"scroll-pr\",\"scroll-pl\"],\"scroll-py\":[\"scroll-pt\",\"scroll-pb\"],touch:[\"touch-x\",\"touch-y\",\"touch-pz\"],\"touch-x\":[\"touch\"],\"touch-y\":[\"touch\"],\"touch-pz\":[\"touch\"]},conflictingClassGroupModifiers:{\"font-size\":[\"leading\"]}}},WR=kR(VR);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function QR(...e){return WR(hR(e))}async function _2(e){const t=new TextEncoder().encode(e),n=await crypto.subtle.digest(\"SHA-256\",t);return[...new Uint8Array(n)].map(s=>s.toString(16).padStart(2,\"0\")).join(\"\")}function C2(e){let t=e===\"html\"?\".html\":\".js\",n=e===\"html\"?\"text/html\":\"application/javascript\";return e===\"streamlit\"&&(t=\".py\",n=\"text/python\"),[t,n]}function k2(e,t,n){const r=new Blob([e],{type:t}),i=URL.createObjectURL(r),s=document.createElement(\"a\");s.href=i,s.download=n,document.body.append(s),s.click(),s.remove(),URL.revokeObjectURL(i)}async function P2(e,t){const n=new Image,r=new Promise((i,s)=>{n.addEventListener(\"load\",()=>{let{width:o,height:a}=n;(o>t||a>t)&&(o>a?(a*=t/o,o=t):(o*=t/a,a=t));const l=document.querySelector(\"#resizer\"),u=l.getContext(\"2d\");l.width=o,l.height=a,u.drawImage(n,0,0,o,a);const f=l.toDataURL(\"image/jpeg\");i({url:f,width:o,height:a,createdAt:new Date})}),n.addEventListener(\"error\",o=>{s(new Error(`Failed to resize image: ${o.message}`))})});return n.src=e,r}const R2=580;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const KR=cR,A2=fR,T2=dR,qR=_.forwardRef(({className:e,sideOffset:t=4,...n},r)=>Y.jsx(VS,{ref:r,sideOffset:t,className:QR(\"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",e),...n}));qR.displayName=VS.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JR=500;function O2(e,t=JR){const[n,r]=Ki.useState(e),i=Ki.useRef(null);return Ki.useEffect(()=>{const s=Date.now();if(i.current&&s>=i.current+t)i.current=s,r(e);else{const o=window.setTimeout(()=>{i.current=s,r(e)},t);return()=>window.clearTimeout(o)}return()=>{}},[e,t]),n}function GR(e){const[t,n]=_.useState(()=>matchMedia(e).matches);return _.useLayoutEffect(()=>{const r=matchMedia(e);function i(){n(r.matches)}return r.addEventListener(\"change\",i),()=>{r.removeEventListener(\"change\",i)}},[e]),t}function XR(){const[e,t]=_.useState(()=>window.location.hash),n=_.useCallback(()=>{t(window.location.hash)},[]);_.useEffect(()=>(window.addEventListener(\"hashchange\",n),()=>{window.removeEventListener(\"hashchange\",n)}),[n]);const r=_.useCallback(i=>{i!==e&&(window.location.hash=i)},[e]);return[e,r]}function I2(e){const[t,n]=XR(),r=_.useCallback(s=>s<0?n(\"\"):n(`#v${s}`),[n]),i=_.useMemo(()=>t.includes(\"#v\")?Math.min(Number.parseInt(t.replace(\"#v\",\"\"),10),e.latestVersion):e.latestVersion,[t,e.latestVersion]);return _.useEffect(()=>{i>e.latestVersion&&r(e.latestVersion)},[i,e.latestVersion,r]),[i,r]}/**\n * @remix-run/router v1.23.0\n *\n * Copyright (c) Remix Software Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},De.apply(this,arguments)}var Ye;(function(e){e.Pop=\"POP\",e.Push=\"PUSH\",e.Replace=\"REPLACE\"})(Ye||(Ye={}));const zy=\"popstate\";function YR(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return Wa(\"\",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||\"default\")}function n(r,i){return typeof i==\"string\"?i:wi(i)}return eA(t,n,null,e)}function ce(e,t){if(e===!1||e===null||typeof e>\"u\")throw new Error(t)}function yo(e,t){if(!e){typeof console<\"u\"&&console.warn(t);try{throw new Error(t)}catch{}}}function ZR(){return Math.random().toString(36).substr(2,8)}function Uy(e,t){return{usr:e.state,key:e.key,idx:t}}function Wa(e,t,n,r){return n===void 0&&(n=null),De({pathname:typeof e==\"string\"?e:e.pathname,search:\"\",hash:\"\"},typeof t==\"string\"?_i(t):t,{state:n,key:t&&t.key||r||ZR()})}function wi(e){let{pathname:t=\"/\",search:n=\"\",hash:r=\"\"}=e;return n&&n!==\"?\"&&(t+=n.charAt(0)===\"?\"?n:\"?\"+n),r&&r!==\"#\"&&(t+=r.charAt(0)===\"#\"?r:\"#\"+r),t}function _i(e){let t={};if(e){let n=e.indexOf(\"#\");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(\"?\");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function eA(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Ye.Pop,l=null,u=f();u==null&&(u=0,o.replaceState(De({},o.state,{idx:u}),\"\"));function f(){return(o.state||{idx:null}).idx}function c(){a=Ye.Pop;let x=f(),m=x==null?null:x-u;u=x,l&&l({action:a,location:v.location,delta:m})}function d(x,m){a=Ye.Push;let p=Wa(v.location,x,m);u=f()+1;let w=Uy(p,u),S=v.createHref(p);try{o.pushState(w,\"\",S)}catch(k){if(k instanceof DOMException&&k.name===\"DataCloneError\")throw k;i.location.assign(S)}s&&l&&l({action:a,location:v.location,delta:1})}function h(x,m){a=Ye.Replace;let p=Wa(v.location,x,m);u=f();let w=Uy(p,u),S=v.createHref(p);o.replaceState(w,\"\",S),s&&l&&l({action:a,location:v.location,delta:0})}function g(x){let m=i.location.origin!==\"null\"?i.location.origin:i.location.href,p=typeof x==\"string\"?x:wi(x);return p=p.replace(/ $/,\"%20\"),ce(m,\"No window.location.(origin|href) available to create URL for href: \"+p),new URL(p,m)}let v={get action(){return a},get location(){return e(i,o)},listen(x){if(l)throw new Error(\"A history only accepts one active listener\");return i.addEventListener(zy,c),l=x,()=>{i.removeEventListener(zy,c),l=null}},createHref(x){return t(i,x)},createURL:g,encodeLocation(x){let m=g(x);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:h,go(x){return o.go(x)}};return v}var ke;(function(e){e.data=\"data\",e.deferred=\"deferred\",e.redirect=\"redirect\",e.error=\"error\"})(ke||(ke={}));const tA=new Set([\"lazy\",\"caseSensitive\",\"path\",\"id\",\"index\",\"children\"]);function nA(e){return e.index===!0}function tc(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,s)=>{let o=[...n,String(s)],a=typeof i.id==\"string\"?i.id:o.join(\"-\");if(ce(i.index!==!0||!i.children,\"Cannot specify children on an index route\"),ce(!r[a],'Found a route id collision on id \"'+a+`\".  Route id's must be globally unique within Data Router usages`),nA(i)){let l=De({},i,t(i),{id:a});return r[a]=l,l}else{let l=De({},i,t(i),{id:a,children:void 0});return r[a]=l,i.children&&(l.children=tc(i.children,t,o,r)),l}})}function Mi(e,t,n){return n===void 0&&(n=\"/\"),gu(e,t,n,!1)}function gu(e,t,n,r){let i=typeof t==\"string\"?_i(t):t,s=xi(i.pathname||\"/\",n);if(s==null)return null;let o=XS(e);iA(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=mA(s);a=hA(o[l],u,r)}return a}function rA(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function XS(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=\"\");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||\"\":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith(\"/\")&&(ce(l.relativePath.startsWith(r),'Absolute route path \"'+l.relativePath+'\" nested under path '+('\"'+r+'\" is not valid. An absolute child route path ')+\"must start with the combined path of all its parent routes.\"),l.relativePath=l.relativePath.slice(r.length));let u=sr([r,l.relativePath]),f=n.concat(l);s.children&&s.children.length>0&&(ce(s.index!==!0,\"Index routes must not have child routes. Please remove \"+('all child routes from route path \"'+u+'\".')),XS(s.children,t,f,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:fA(u,s.index),routesMeta:f})};return e.forEach((s,o)=>{var a;if(s.path===\"\"||!((a=s.path)!=null&&a.includes(\"?\")))i(s,o);else for(let l of YS(s.path))i(s,o,l)}),t}function YS(e){let t=e.split(\"/\");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(\"?\"),s=n.replace(/\\?$/,\"\");if(r.length===0)return i?[s,\"\"]:[s];let o=YS(r.join(\"/\")),a=[];return a.push(...o.map(l=>l===\"\"?s:[s,l].join(\"/\"))),i&&a.push(...o),a.map(l=>e.startsWith(\"/\")&&l===\"\"?\"/\":l)}function iA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:dA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const sA=/^:[\\w-]+$/,oA=3,aA=2,lA=1,uA=10,cA=-2,By=e=>e===\"*\";function fA(e,t){let n=e.split(\"/\"),r=n.length;return n.some(By)&&(r+=cA),t&&(r+=aA),n.filter(i=>!By(i)).reduce((i,s)=>i+(sA.test(s)?oA:s===\"\"?lA:uA),r)}function dA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function hA(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},s=\"/\",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,f=s===\"/\"?t:t.slice(s.length)||\"/\",c=Hy({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},f),d=l.route;if(!c&&u&&n&&!r[r.length-1].route.index&&(c=Hy({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},f)),!c)return null;Object.assign(i,c.params),o.push({params:i,pathname:sr([s,c.pathname]),pathnameBase:vA(sr([s,c.pathnameBase])),route:d}),c.pathnameBase!==\"/\"&&(s=sr([s,c.pathnameBase]))}return o}function Hy(e,t){typeof e==\"string\"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=pA(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\\/+$/,\"$1\"),a=i.slice(1);return{params:r.reduce((u,f,c)=>{let{paramName:d,isOptional:h}=f;if(d===\"*\"){let v=a[c]||\"\";o=s.slice(0,s.length-v.length).replace(/(.)\\/+$/,\"$1\")}const g=a[c];return h&&!g?u[d]=void 0:u[d]=(g||\"\").replace(/%2F/g,\"/\"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function pA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),yo(e===\"*\"||!e.endsWith(\"*\")||e.endsWith(\"/*\"),'Route path \"'+e+'\" will be treated as if it were '+('\"'+e.replace(/\\*$/,\"/*\")+'\" because the `*` character must ')+\"always follow a `/` in the pattern. To get rid of this warning, \"+('please change the route path to \"'+e.replace(/\\*$/,\"/*\")+'\".'));let r=[],i=\"^\"+e.replace(/\\/*\\*?$/,\"\").replace(/^\\/*/,\"/\").replace(/[\\\\.*+^${}|()[\\]]/g,\"\\\\$&\").replace(/\\/:([\\w-]+)(\\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?\"/?([^\\\\/]+)?\":\"/([^\\\\/]+)\"));return e.endsWith(\"*\")?(r.push({paramName:\"*\"}),i+=e===\"*\"||e===\"/*\"?\"(.*)$\":\"(?:\\\\/(.+)|\\\\/*)$\"):n?i+=\"\\\\/*$\":e!==\"\"&&e!==\"/\"&&(i+=\"(?:(?=\\\\/|$))\"),[new RegExp(i,t?void 0:\"i\"),r]}function mA(e){try{return e.split(\"/\").map(t=>decodeURIComponent(t).replace(/\\//g,\"%2F\")).join(\"/\")}catch(t){return yo(!1,'The URL path \"'+e+'\" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+(\"encoding (\"+t+\").\")),e}}function xi(e,t){if(t===\"/\")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(\"/\")?t.length-1:t.length,r=e.charAt(n);return r&&r!==\"/\"?null:e.slice(n)||\"/\"}function gA(e,t){t===void 0&&(t=\"/\");let{pathname:n,search:r=\"\",hash:i=\"\"}=typeof e==\"string\"?_i(e):e;return{pathname:n?n.startsWith(\"/\")?n:yA(n,t):t,search:wA(r),hash:xA(i)}}function yA(e,t){let n=t.replace(/\\/+$/,\"\").split(\"/\");return e.split(\"/\").forEach(i=>{i===\"..\"?n.length>1&&n.pop():i!==\".\"&&n.push(i)}),n.length>1?n.join(\"/\"):\"/\"}function Wf(e,t,n,r){return\"Cannot include a '\"+e+\"' character in a manually specified \"+(\"`to.\"+t+\"` field [\"+JSON.stringify(r)+\"].  Please separate it out to the \")+(\"`to.\"+n+\"` field. Alternatively you may provide the full path as \")+'a string in <Link to=\"...\"> and the router will parse it for you.'}function ZS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Uc(e,t){let n=ZS(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Bc(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==\"string\"?i=_i(e):(i=De({},e),ce(!i.pathname||!i.pathname.includes(\"?\"),Wf(\"?\",\"pathname\",\"search\",i)),ce(!i.pathname||!i.pathname.includes(\"#\"),Wf(\"#\",\"pathname\",\"hash\",i)),ce(!i.search||!i.search.includes(\"#\"),Wf(\"#\",\"search\",\"hash\",i)));let s=e===\"\"||i.pathname===\"\",o=s?\"/\":i.pathname,a;if(o==null)a=n;else{let c=t.length-1;if(!r&&o.startsWith(\"..\")){let d=o.split(\"/\");for(;d[0]===\"..\";)d.shift(),c-=1;i.pathname=d.join(\"/\")}a=c>=0?t[c]:\"/\"}let l=gA(i,a),u=o&&o!==\"/\"&&o.endsWith(\"/\"),f=(s||o===\".\")&&n.endsWith(\"/\");return!l.pathname.endsWith(\"/\")&&(u||f)&&(l.pathname+=\"/\"),l}const sr=e=>e.join(\"/\").replace(/\\/\\/+/g,\"/\"),vA=e=>e.replace(/\\/+$/,\"\").replace(/^\\/*/,\"/\"),wA=e=>!e||e===\"?\"?\"\":e.startsWith(\"?\")?e:\"?\"+e,xA=e=>!e||e===\"#\"?\"\":e.startsWith(\"#\")?e:\"#\"+e;class nc{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||\"\",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Qa(e){return e!=null&&typeof e.status==\"number\"&&typeof e.statusText==\"string\"&&typeof e.internal==\"boolean\"&&\"data\"in e}const e1=[\"post\",\"put\",\"patch\",\"delete\"],SA=new Set(e1),bA=[\"get\",...e1],EA=new Set(bA),_A=new Set([301,302,303,307,308]),CA=new Set([307,308]),Qf={state:\"idle\",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},kA={state:\"idle\",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Wo={state:\"unblocked\",proceed:void 0,reset:void 0,location:void 0},fm=/^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i,PA=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),t1=\"remix-router-transitions\";function RA(e){const t=e.window?e.window:typeof window<\"u\"?window:void 0,n=typeof t<\"u\"&&typeof t.document<\"u\"&&typeof t.document.createElement<\"u\",r=!n;ce(e.routes.length>0,\"You must provide a non-empty routes array to createRouter\");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let P=e.detectErrorBoundary;i=L=>({hasErrorBoundary:P(L)})}else i=PA;let s={},o=tc(e.routes,i,void 0,s),a,l=e.basename||\"/\",u=e.dataStrategy||IA,f=e.patchRoutesOnNavigation,c=De({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),d=null,h=new Set,g=null,v=null,x=null,m=e.hydrationData!=null,p=Mi(o,e.history.location,l),w=!1,S=null;if(p==null&&!f){let P=jt(404,{pathname:e.history.location.pathname}),{matches:L,route:N}=ev(o);p=L,S={[N.id]:P}}p&&!e.hydrationData&&vl(p,o,e.history.location.pathname).active&&(p=null);let k;if(p)if(p.some(P=>P.route.lazy))k=!1;else if(!p.some(P=>P.route.loader))k=!0;else if(c.v7_partialHydration){let P=e.hydrationData?e.hydrationData.loaderData:null,L=e.hydrationData?e.hydrationData.errors:null;if(L){let N=p.findIndex($=>L[$.route.id]!==void 0);k=p.slice(0,N+1).every($=>!kh($.route,P,L))}else k=p.every(N=>!kh(N.route,P,L))}else k=e.hydrationData!=null;else if(k=!1,p=[],c.v7_partialHydration){let P=vl(null,o,e.history.location.pathname);P.active&&P.matches&&(w=!0,p=P.matches)}let E,y={historyAction:e.history.action,location:e.history.location,matches:p,initialized:k,navigation:Qf,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:\"idle\",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||S,fetchers:new Map,blockers:new Map},R=Ye.Pop,T=!1,A,O=!1,I=new Map,z=null,B=!1,V=!1,G=[],Q=new Set,M=new Map,U=0,b=-1,Z=new Map,pe=new Set,C=new Map,Ae=new Map,Le=new Set,ye=new Map,qe=new Map,vt;function xn(){if(d=e.history.listen(P=>{let{action:L,location:N,delta:$}=P;if(vt){vt(),vt=void 0;return}yo(qe.size===0||$!=null,\"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.\");let W=sg({currentLocation:y.location,nextLocation:N,historyAction:L});if(W&&$!=null){let ne=new Promise(oe=>{vt=oe});e.history.go($*-1),yl(W,{state:\"blocked\",location:N,proceed(){yl(W,{state:\"proceeding\",proceed:void 0,reset:void 0,location:N}),ne.then(()=>e.history.go($))},reset(){let oe=new Map(y.blockers);oe.set(W,Wo),Ge({blockers:oe})}});return}return on(L,N)}),n){QA(t,I);let P=()=>KA(t,I);t.addEventListener(\"pagehide\",P),z=()=>t.removeEventListener(\"pagehide\",P)}return y.initialized||on(Ye.Pop,y.location,{initialHydration:!0}),E}function Sn(){d&&d(),z&&z(),h.clear(),A&&A.abort(),y.fetchers.forEach((P,L)=>wt(L)),y.blockers.forEach((P,L)=>an(L))}function dr(P){return h.add(P),()=>h.delete(P)}function Ge(P,L){L===void 0&&(L={}),y=De({},y,P);let N=[],$=[];c.v7_fetcherPersist&&y.fetchers.forEach((W,ne)=>{W.state===\"idle\"&&(Le.has(ne)?$.push(ne):N.push(ne))}),Le.forEach(W=>{!y.fetchers.has(W)&&!M.has(W)&&$.push(W)}),[...h].forEach(W=>W(y,{deletedFetchers:$,viewTransitionOpts:L.viewTransitionOpts,flushSync:L.flushSync===!0})),c.v7_fetcherPersist?(N.forEach(W=>y.fetchers.delete(W)),$.forEach(W=>wt(W))):$.forEach(W=>Le.delete(W))}function Ft(P,L,N){var $,W;let{flushSync:ne}=N===void 0?{}:N,oe=y.actionData!=null&&y.navigation.formMethod!=null&&Tn(y.navigation.formMethod)&&y.navigation.state===\"loading\"&&(($=P.state)==null?void 0:$._isRedirect)!==!0,J;L.actionData?Object.keys(L.actionData).length>0?J=L.actionData:J=null:oe?J=y.actionData:J=null;let X=L.loaderData?Yy(y.loaderData,L.loaderData,L.matches||[],L.errors):y.loaderData,q=y.blockers;q.size>0&&(q=new Map(q),q.forEach((ve,ct)=>q.set(ct,Wo)));let ee=T===!0||y.navigation.formMethod!=null&&Tn(y.navigation.formMethod)&&((W=P.state)==null?void 0:W._isRedirect)!==!0;a&&(o=a,a=void 0),B||R===Ye.Pop||(R===Ye.Push?e.history.push(P,P.state):R===Ye.Replace&&e.history.replace(P,P.state));let fe;if(R===Ye.Pop){let ve=I.get(y.location.pathname);ve&&ve.has(P.pathname)?fe={currentLocation:y.location,nextLocation:P}:I.has(P.pathname)&&(fe={currentLocation:P,nextLocation:y.location})}else if(O){let ve=I.get(y.location.pathname);ve?ve.add(P.pathname):(ve=new Set([P.pathname]),I.set(y.location.pathname,ve)),fe={currentLocation:y.location,nextLocation:P}}Ge(De({},L,{actionData:J,loaderData:X,historyAction:R,location:P,initialized:!0,navigation:Qf,revalidation:\"idle\",restoreScrollPosition:ag(P,L.matches||y.matches),preventScrollReset:ee,blockers:q}),{viewTransitionOpts:fe,flushSync:ne===!0}),R=Ye.Pop,T=!1,O=!1,B=!1,V=!1,G=[]}async function Ri(P,L){if(typeof P==\"number\"){e.history.go(P);return}let N=Ch(y.location,y.matches,l,c.v7_prependBasename,P,c.v7_relativeSplatPath,L==null?void 0:L.fromRouteId,L==null?void 0:L.relative),{path:$,submission:W,error:ne}=Vy(c.v7_normalizeFormMethod,!1,N,L),oe=y.location,J=Wa(y.location,$,L&&L.state);J=De({},J,e.history.encodeLocation(J));let X=L&&L.replace!=null?L.replace:void 0,q=Ye.Push;X===!0?q=Ye.Replace:X===!1||W!=null&&Tn(W.formMethod)&&W.formAction===y.location.pathname+y.location.search&&(q=Ye.Replace);let ee=L&&\"preventScrollReset\"in L?L.preventScrollReset===!0:void 0,fe=(L&&L.flushSync)===!0,ve=sg({currentLocation:oe,nextLocation:J,historyAction:q});if(ve){yl(ve,{state:\"blocked\",location:J,proceed(){yl(ve,{state:\"proceeding\",proceed:void 0,reset:void 0,location:J}),Ri(P,L)},reset(){let ct=new Map(y.blockers);ct.set(ve,Wo),Ge({blockers:ct})}});return}return await on(q,J,{submission:W,pendingError:ne,preventScrollReset:ee,replace:L&&L.replace,enableViewTransition:L&&L.viewTransition,flushSync:fe})}function us(){if(H(),Ge({revalidation:\"loading\"}),y.navigation.state!==\"submitting\"){if(y.navigation.state===\"idle\"){on(y.historyAction,y.location,{startUninterruptedRevalidation:!0});return}on(R||y.historyAction,y.navigation.location,{overrideNavigation:y.navigation,enableViewTransition:O===!0})}}async function on(P,L,N){A&&A.abort(),A=null,R=P,B=(N&&N.startUninterruptedRevalidation)===!0,oE(y.location,y.matches),T=(N&&N.preventScrollReset)===!0,O=(N&&N.enableViewTransition)===!0;let $=a||o,W=N&&N.overrideNavigation,ne=N!=null&&N.initialHydration&&y.matches&&y.matches.length>0&&!w?y.matches:Mi($,L,l),oe=(N&&N.flushSync)===!0;if(ne&&y.initialized&&!V&&$A(y.location,L)&&!(N&&N.submission&&Tn(N.submission.formMethod))){Ft(L,{matches:ne},{flushSync:oe});return}let J=vl(ne,$,L.pathname);if(J.active&&J.matches&&(ne=J.matches),!ne){let{error:Te,notFoundMatches:be,route:He}=ff(L.pathname);Ft(L,{matches:be,loaderData:{},errors:{[He.id]:Te}},{flushSync:oe});return}A=new AbortController;let X=ms(e.history,L,A.signal,N&&N.submission),q;if(N&&N.pendingError)q=[Ni(ne).route.id,{type:ke.error,error:N.pendingError}];else if(N&&N.submission&&Tn(N.submission.formMethod)){let Te=await cs(X,L,N.submission,ne,J.active,{replace:N.replace,flushSync:oe});if(Te.shortCircuited)return;if(Te.pendingActionResult){let[be,He]=Te.pendingActionResult;if(Xt(He)&&Qa(He.error)&&He.error.status===404){A=null,Ft(L,{matches:Te.matches,loaderData:{},errors:{[be]:He.error}});return}}ne=Te.matches||ne,q=Te.pendingActionResult,W=Kf(L,N.submission),oe=!1,J.active=!1,X=ms(e.history,X.url,X.signal)}let{shortCircuited:ee,matches:fe,loaderData:ve,errors:ct}=await Oo(X,L,ne,J.active,W,N&&N.submission,N&&N.fetcherSubmission,N&&N.replace,N&&N.initialHydration===!0,oe,q);ee||(A=null,Ft(L,De({matches:fe||ne},Zy(q),{loaderData:ve,errors:ct})))}async function cs(P,L,N,$,W,ne){ne===void 0&&(ne={}),H();let oe=VA(L,N);if(Ge({navigation:oe},{flushSync:ne.flushSync===!0}),W){let q=await wl($,L.pathname,P.signal);if(q.type===\"aborted\")return{shortCircuited:!0};if(q.type===\"error\"){let ee=Ni(q.partialMatches).route.id;return{matches:q.partialMatches,pendingActionResult:[ee,{type:ke.error,error:q.error}]}}else if(q.matches)$=q.matches;else{let{notFoundMatches:ee,error:fe,route:ve}=ff(L.pathname);return{matches:ee,pendingActionResult:[ve.id,{type:ke.error,error:fe}]}}}let J,X=ta($,L);if(!X.route.action&&!X.route.lazy)J={type:ke.error,error:jt(405,{method:P.method,pathname:L.pathname,routeId:X.route.id})};else if(J=(await Ai(\"action\",y,P,[X],$,null))[X.route.id],P.signal.aborted)return{shortCircuited:!0};if(zi(J)){let q;return ne&&ne.replace!=null?q=ne.replace:q=Jy(J.response.headers.get(\"Location\"),new URL(P.url),l)===y.location.pathname+y.location.search,await hr(P,J,!0,{submission:N,replace:q}),{shortCircuited:!0}}if(ii(J))throw jt(400,{type:\"defer-action\"});if(Xt(J)){let q=Ni($,X.route.id);return(ne&&ne.replace)!==!0&&(R=Ye.Push),{matches:$,pendingActionResult:[q.route.id,J]}}return{matches:$,pendingActionResult:[X.route.id,J]}}async function Oo(P,L,N,$,W,ne,oe,J,X,q,ee){let fe=W||Kf(L,ne),ve=ne||oe||nv(fe),ct=!B&&(!c.v7_partialHydration||!X);if($){if(ct){let Ve=Un(ee);Ge(De({navigation:fe},Ve!==void 0?{actionData:Ve}:{}),{flushSync:q})}let xe=await wl(N,L.pathname,P.signal);if(xe.type===\"aborted\")return{shortCircuited:!0};if(xe.type===\"error\"){let Ve=Ni(xe.partialMatches).route.id;return{matches:xe.partialMatches,loaderData:{},errors:{[Ve]:xe.error}}}else if(xe.matches)N=xe.matches;else{let{error:Ve,notFoundMatches:ds,route:Mo}=ff(L.pathname);return{matches:ds,loaderData:{},errors:{[Mo.id]:Ve}}}}let Te=a||o,[be,He]=Qy(e.history,y,N,ve,L,c.v7_partialHydration&&X===!0,c.v7_skipActionErrorRevalidation,V,G,Q,Le,C,pe,Te,l,ee);if(df(xe=>!(N&&N.some(Ve=>Ve.route.id===xe))||be&&be.some(Ve=>Ve.route.id===xe)),b=++U,be.length===0&&He.length===0){let xe=Fr();return Ft(L,De({matches:N,loaderData:{},errors:ee&&Xt(ee[1])?{[ee[0]]:ee[1].error}:null},Zy(ee),xe?{fetchers:new Map(y.fetchers)}:{}),{flushSync:q}),{shortCircuited:!0}}if(ct){let xe={};if(!$){xe.navigation=fe;let Ve=Un(ee);Ve!==void 0&&(xe.actionData=Ve)}He.length>0&&(xe.fetchers=gl(He)),Ge(xe,{flushSync:q})}He.forEach(xe=>{it(xe.key),xe.controller&&M.set(xe.key,xe.controller)});let fs=()=>He.forEach(xe=>it(xe.key));A&&A.signal.addEventListener(\"abort\",fs);let{loaderResults:Io,fetcherResults:mr}=await F(y,N,be,He,P);if(P.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener(\"abort\",fs),He.forEach(xe=>M.delete(xe.key));let Bn=Hl(Io);if(Bn)return await hr(P,Bn.result,!0,{replace:J}),{shortCircuited:!0};if(Bn=Hl(mr),Bn)return pe.add(Bn.key),await hr(P,Bn.result,!0,{replace:J}),{shortCircuited:!0};let{loaderData:hf,errors:Lo}=Xy(y,N,Io,ee,He,mr,ye);ye.forEach((xe,Ve)=>{xe.subscribe(ds=>{(ds||xe.done)&&ye.delete(Ve)})}),c.v7_partialHydration&&X&&y.errors&&(Lo=De({},y.errors,Lo));let Ti=Fr(),xl=xt(b),Sl=Ti||xl||He.length>0;return De({matches:N,loaderData:hf,errors:Lo},Sl?{fetchers:new Map(y.fetchers)}:{})}function Un(P){if(P&&!Xt(P[1]))return{[P[0]]:P[1].data};if(y.actionData)return Object.keys(y.actionData).length===0?null:y.actionData}function gl(P){return P.forEach(L=>{let N=y.fetchers.get(L.key),$=Qo(void 0,N?N.data:void 0);y.fetchers.set(L.key,$)}),new Map(y.fetchers)}function lf(P,L,N,$){if(r)throw new Error(\"router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.\");it(P);let W=($&&$.flushSync)===!0,ne=a||o,oe=Ch(y.location,y.matches,l,c.v7_prependBasename,N,c.v7_relativeSplatPath,L,$==null?void 0:$.relative),J=Mi(ne,oe,l),X=vl(J,ne,oe);if(X.active&&X.matches&&(J=X.matches),!J){ae(P,L,jt(404,{pathname:oe}),{flushSync:W});return}let{path:q,submission:ee,error:fe}=Vy(c.v7_normalizeFormMethod,!0,oe,$);if(fe){ae(P,L,fe,{flushSync:W});return}let ve=ta(J,q),ct=($&&$.preventScrollReset)===!0;if(ee&&Tn(ee.formMethod)){uf(P,L,q,ve,J,X.active,W,ct,ee);return}C.set(P,{routeId:L,path:q}),cf(P,L,q,ve,J,X.active,W,ct,ee)}async function uf(P,L,N,$,W,ne,oe,J,X){H(),C.delete(P);function q(Xe){if(!Xe.route.action&&!Xe.route.lazy){let hs=jt(405,{method:X.formMethod,pathname:N,routeId:L});return ae(P,L,hs,{flushSync:oe}),!0}return!1}if(!ne&&q($))return;let ee=y.fetchers.get(P);re(P,WA(X,ee),{flushSync:oe});let fe=new AbortController,ve=ms(e.history,N,fe.signal,X);if(ne){let Xe=await wl(W,new URL(ve.url).pathname,ve.signal,P);if(Xe.type===\"aborted\")return;if(Xe.type===\"error\"){ae(P,L,Xe.error,{flushSync:oe});return}else if(Xe.matches){if(W=Xe.matches,$=ta(W,N),q($))return}else{ae(P,L,jt(404,{pathname:N}),{flushSync:oe});return}}M.set(P,fe);let ct=U,be=(await Ai(\"action\",y,ve,[$],W,P))[$.route.id];if(ve.signal.aborted){M.get(P)===fe&&M.delete(P);return}if(c.v7_fetcherPersist&&Le.has(P)){if(zi(be)||Xt(be)){re(P,Qr(void 0));return}}else{if(zi(be))if(M.delete(P),b>ct){re(P,Qr(void 0));return}else return pe.add(P),re(P,Qo(X)),hr(ve,be,!1,{fetcherSubmission:X,preventScrollReset:J});if(Xt(be)){ae(P,L,be.error);return}}if(ii(be))throw jt(400,{type:\"defer-action\"});let He=y.navigation.location||y.location,fs=ms(e.history,He,fe.signal),Io=a||o,mr=y.navigation.state!==\"idle\"?Mi(Io,y.navigation.location,l):y.matches;ce(mr,\"Didn't find any matches after fetcher action\");let Bn=++U;Z.set(P,Bn);let hf=Qo(X,be.data);y.fetchers.set(P,hf);let[Lo,Ti]=Qy(e.history,y,mr,X,He,!1,c.v7_skipActionErrorRevalidation,V,G,Q,Le,C,pe,Io,l,[$.route.id,be]);Ti.filter(Xe=>Xe.key!==P).forEach(Xe=>{let hs=Xe.key,lg=y.fetchers.get(hs),uE=Qo(void 0,lg?lg.data:void 0);y.fetchers.set(hs,uE),it(hs),Xe.controller&&M.set(hs,Xe.controller)}),Ge({fetchers:new Map(y.fetchers)});let xl=()=>Ti.forEach(Xe=>it(Xe.key));fe.signal.addEventListener(\"abort\",xl);let{loaderResults:Sl,fetcherResults:xe}=await F(y,mr,Lo,Ti,fs);if(fe.signal.aborted)return;fe.signal.removeEventListener(\"abort\",xl),Z.delete(P),M.delete(P),Ti.forEach(Xe=>M.delete(Xe.key));let Ve=Hl(Sl);if(Ve)return hr(fs,Ve.result,!1,{preventScrollReset:J});if(Ve=Hl(xe),Ve)return pe.add(Ve.key),hr(fs,Ve.result,!1,{preventScrollReset:J});let{loaderData:ds,errors:Mo}=Xy(y,mr,Sl,void 0,Ti,xe,ye);if(y.fetchers.has(P)){let Xe=Qr(be.data);y.fetchers.set(P,Xe)}xt(Bn),y.navigation.state===\"loading\"&&Bn>b?(ce(R,\"Expected pending action\"),A&&A.abort(),Ft(y.navigation.location,{matches:mr,loaderData:ds,errors:Mo,fetchers:new Map(y.fetchers)})):(Ge({errors:Mo,loaderData:Yy(y.loaderData,ds,mr,Mo),fetchers:new Map(y.fetchers)}),V=!1)}async function cf(P,L,N,$,W,ne,oe,J,X){let q=y.fetchers.get(P);re(P,Qo(X,q?q.data:void 0),{flushSync:oe});let ee=new AbortController,fe=ms(e.history,N,ee.signal);if(ne){let be=await wl(W,new URL(fe.url).pathname,fe.signal,P);if(be.type===\"aborted\")return;if(be.type===\"error\"){ae(P,L,be.error,{flushSync:oe});return}else if(be.matches)W=be.matches,$=ta(W,N);else{ae(P,L,jt(404,{pathname:N}),{flushSync:oe});return}}M.set(P,ee);let ve=U,Te=(await Ai(\"loader\",y,fe,[$],W,P))[$.route.id];if(ii(Te)&&(Te=await dm(Te,fe.signal,!0)||Te),M.get(P)===ee&&M.delete(P),!fe.signal.aborted){if(Le.has(P)){re(P,Qr(void 0));return}if(zi(Te))if(b>ve){re(P,Qr(void 0));return}else{pe.add(P),await hr(fe,Te,!1,{preventScrollReset:J});return}if(Xt(Te)){ae(P,L,Te.error);return}ce(!ii(Te),\"Unhandled fetcher deferred data\"),re(P,Qr(Te.data))}}async function hr(P,L,N,$){let{submission:W,fetcherSubmission:ne,preventScrollReset:oe,replace:J}=$===void 0?{}:$;L.response.headers.has(\"X-Remix-Revalidate\")&&(V=!0);let X=L.response.headers.get(\"Location\");ce(X,\"Expected a Location header on the redirect Response\"),X=Jy(X,new URL(P.url),l);let q=Wa(y.location,X,{_isRedirect:!0});if(n){let be=!1;if(L.response.headers.has(\"X-Remix-Reload-Document\"))be=!0;else if(fm.test(X)){const He=e.history.createURL(X);be=He.origin!==t.location.origin||xi(He.pathname,l)==null}if(be){J?t.location.replace(X):t.location.assign(X);return}}A=null;let ee=J===!0||L.response.headers.has(\"X-Remix-Replace\")?Ye.Replace:Ye.Push,{formMethod:fe,formAction:ve,formEncType:ct}=y.navigation;!W&&!ne&&fe&&ve&&ct&&(W=nv(y.navigation));let Te=W||ne;if(CA.has(L.response.status)&&Te&&Tn(Te.formMethod))await on(ee,q,{submission:De({},Te,{formAction:X}),preventScrollReset:oe||T,enableViewTransition:N?O:void 0});else{let be=Kf(q,W);await on(ee,q,{overrideNavigation:be,fetcherSubmission:ne,preventScrollReset:oe||T,enableViewTransition:N?O:void 0})}}async function Ai(P,L,N,$,W,ne){let oe,J={};try{oe=await LA(u,P,L,N,$,W,ne,s,i)}catch(X){return $.forEach(q=>{J[q.route.id]={type:ke.error,error:X}}),J}for(let[X,q]of Object.entries(oe))if(jA(q)){let ee=q.result;J[X]={type:ke.redirect,response:FA(ee,N,X,W,l,c.v7_relativeSplatPath)}}else J[X]=await NA(q);return J}async function F(P,L,N,$,W){let ne=P.matches,oe=Ai(\"loader\",P,W,N,L,null),J=Promise.all($.map(async ee=>{if(ee.matches&&ee.match&&ee.controller){let ve=(await Ai(\"loader\",P,ms(e.history,ee.path,ee.controller.signal),[ee.match],ee.matches,ee.key))[ee.match.route.id];return{[ee.key]:ve}}else return Promise.resolve({[ee.key]:{type:ke.error,error:jt(404,{pathname:ee.path})}})})),X=await oe,q=(await J).reduce((ee,fe)=>Object.assign(ee,fe),{});return await Promise.all([BA(L,X,W.signal,ne,P.loaderData),HA(L,q,$)]),{loaderResults:X,fetcherResults:q}}function H(){V=!0,G.push(...df()),C.forEach((P,L)=>{M.has(L)&&Q.add(L),it(L)})}function re(P,L,N){N===void 0&&(N={}),y.fetchers.set(P,L),Ge({fetchers:new Map(y.fetchers)},{flushSync:(N&&N.flushSync)===!0})}function ae(P,L,N,$){$===void 0&&($={});let W=Ni(y.matches,L);wt(P),Ge({errors:{[W.route.id]:N},fetchers:new Map(y.fetchers)},{flushSync:($&&$.flushSync)===!0})}function Ce(P){return Ae.set(P,(Ae.get(P)||0)+1),Le.has(P)&&Le.delete(P),y.fetchers.get(P)||kA}function wt(P){let L=y.fetchers.get(P);M.has(P)&&!(L&&L.state===\"loading\"&&Z.has(P))&&it(P),C.delete(P),Z.delete(P),pe.delete(P),c.v7_fetcherPersist&&Le.delete(P),Q.delete(P),y.fetchers.delete(P)}function pr(P){let L=(Ae.get(P)||0)-1;L<=0?(Ae.delete(P),Le.add(P),c.v7_fetcherPersist||wt(P)):Ae.set(P,L),Ge({fetchers:new Map(y.fetchers)})}function it(P){let L=M.get(P);L&&(L.abort(),M.delete(P))}function Nr(P){for(let L of P){let N=Ce(L),$=Qr(N.data);y.fetchers.set(L,$)}}function Fr(){let P=[],L=!1;for(let N of pe){let $=y.fetchers.get(N);ce($,\"Expected fetcher: \"+N),$.state===\"loading\"&&(pe.delete(N),P.push(N),L=!0)}return Nr(P),L}function xt(P){let L=[];for(let[N,$]of Z)if($<P){let W=y.fetchers.get(N);ce(W,\"Expected fetcher: \"+N),W.state===\"loading\"&&(it(N),Z.delete(N),L.push(N))}return Nr(L),L.length>0}function Dr(P,L){let N=y.blockers.get(P)||Wo;return qe.get(P)!==L&&qe.set(P,L),N}function an(P){y.blockers.delete(P),qe.delete(P)}function yl(P,L){let N=y.blockers.get(P)||Wo;ce(N.state===\"unblocked\"&&L.state===\"blocked\"||N.state===\"blocked\"&&L.state===\"blocked\"||N.state===\"blocked\"&&L.state===\"proceeding\"||N.state===\"blocked\"&&L.state===\"unblocked\"||N.state===\"proceeding\"&&L.state===\"unblocked\",\"Invalid blocker state transition: \"+N.state+\" -> \"+L.state);let $=new Map(y.blockers);$.set(P,L),Ge({blockers:$})}function sg(P){let{currentLocation:L,nextLocation:N,historyAction:$}=P;if(qe.size===0)return;qe.size>1&&yo(!1,\"A router only supports one blocker at a time\");let W=Array.from(qe.entries()),[ne,oe]=W[W.length-1],J=y.blockers.get(ne);if(!(J&&J.state===\"proceeding\")&&oe({currentLocation:L,nextLocation:N,historyAction:$}))return ne}function ff(P){let L=jt(404,{pathname:P}),N=a||o,{matches:$,route:W}=ev(N);return df(),{notFoundMatches:$,route:W,error:L}}function df(P){let L=[];return ye.forEach((N,$)=>{(!P||P($))&&(N.cancel(),L.push($),ye.delete($))}),L}function sE(P,L,N){if(g=P,x=L,v=N||null,!m&&y.navigation===Qf){m=!0;let $=ag(y.location,y.matches);$!=null&&Ge({restoreScrollPosition:$})}return()=>{g=null,x=null,v=null}}function og(P,L){return v&&v(P,L.map($=>rA($,y.loaderData)))||P.key}function oE(P,L){if(g&&x){let N=og(P,L);g[N]=x()}}function ag(P,L){if(g){let N=og(P,L),$=g[N];if(typeof $==\"number\")return $}return null}function vl(P,L,N){if(f)if(P){if(Object.keys(P[0].params).length>0)return{active:!0,matches:gu(L,N,l,!0)}}else return{active:!0,matches:gu(L,N,l,!0)||[]};return{active:!1,matches:null}}async function wl(P,L,N,$){if(!f)return{type:\"success\",matches:P};let W=P;for(;;){let ne=a==null,oe=a||o,J=s;try{await f({signal:N,path:L,matches:W,fetcherKey:$,patch:(ee,fe)=>{N.aborted||qy(ee,fe,oe,J,i)}})}catch(ee){return{type:\"error\",error:ee,partialMatches:W}}finally{ne&&!N.aborted&&(o=[...o])}if(N.aborted)return{type:\"aborted\"};let X=Mi(oe,L,l);if(X)return{type:\"success\",matches:X};let q=gu(oe,L,l,!0);if(!q||W.length===q.length&&W.every((ee,fe)=>ee.route.id===q[fe].route.id))return{type:\"success\",matches:null};W=q}}function aE(P){s={},a=tc(P,i,void 0,s)}function lE(P,L){let N=a==null;qy(P,L,a||o,s,i),N&&(o=[...o],Ge({}))}return E={get basename(){return l},get future(){return c},get state(){return y},get routes(){return o},get window(){return t},initialize:xn,subscribe:dr,enableScrollRestoration:sE,navigate:Ri,fetch:lf,revalidate:us,createHref:P=>e.history.createHref(P),encodeLocation:P=>e.history.encodeLocation(P),getFetcher:Ce,deleteFetcher:pr,dispose:Sn,getBlocker:Dr,deleteBlocker:an,patchRoutes:lE,_internalFetchControllers:M,_internalActiveDeferreds:ye,_internalSetRoutes:aE},E}function AA(e){return e!=null&&(\"formData\"in e&&e.formData!=null||\"body\"in e&&e.body!==void 0)}function Ch(e,t,n,r,i,s,o,a){let l,u;if(o){l=[];for(let c of t)if(l.push(c),c.route.id===o){u=c;break}}else l=t,u=t[t.length-1];let f=Bc(i||\".\",Uc(l,s),xi(e.pathname,n)||e.pathname,a===\"path\");if(i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===\"\"||i===\".\")&&u){let c=hm(f.search);if(u.route.index&&!c)f.search=f.search?f.search.replace(/^\\?/,\"?index&\"):\"?index\";else if(!u.route.index&&c){let d=new URLSearchParams(f.search),h=d.getAll(\"index\");d.delete(\"index\"),h.filter(v=>v).forEach(v=>d.append(\"index\",v));let g=d.toString();f.search=g?\"?\"+g:\"\"}}return r&&n!==\"/\"&&(f.pathname=f.pathname===\"/\"?n:sr([n,f.pathname])),wi(f)}function Vy(e,t,n,r){if(!r||!AA(r))return{path:n};if(r.formMethod&&!UA(r.formMethod))return{path:n,error:jt(405,{method:r.formMethod})};let i=()=>({path:n,error:jt(400,{type:\"invalid-body\"})}),s=r.formMethod||\"get\",o=e?s.toUpperCase():s.toLowerCase(),a=i1(n);if(r.body!==void 0){if(r.formEncType===\"text/plain\"){if(!Tn(o))return i();let d=typeof r.body==\"string\"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((h,g)=>{let[v,x]=g;return\"\"+h+v+\"=\"+x+`\n`},\"\"):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType===\"application/json\"){if(!Tn(o))return i();try{let d=typeof r.body==\"string\"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return i()}}}ce(typeof FormData==\"function\",\"FormData is not available in this environment\");let l,u;if(r.formData)l=Ph(r.formData),u=r.formData;else if(r.body instanceof FormData)l=Ph(r.body),u=r.body;else if(r.body instanceof URLSearchParams)l=r.body,u=Gy(l);else if(r.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(r.body),u=Gy(l)}catch{return i()}let f={formMethod:o,formAction:a,formEncType:r&&r.formEncType||\"application/x-www-form-urlencoded\",formData:u,json:void 0,text:void 0};if(Tn(f.formMethod))return{path:n,submission:f};let c=_i(n);return t&&c.search&&hm(c.search)&&l.append(\"index\",\"\"),c.search=\"?\"+l,{path:wi(c),submission:f}}function Wy(e,t,n){n===void 0&&(n=!1);let r=e.findIndex(i=>i.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function Qy(e,t,n,r,i,s,o,a,l,u,f,c,d,h,g,v){let x=v?Xt(v[1])?v[1].error:v[1].data:void 0,m=e.createURL(t.location),p=e.createURL(i),w=n;s&&t.errors?w=Wy(n,Object.keys(t.errors)[0],!0):v&&Xt(v[1])&&(w=Wy(n,v[0]));let S=v?v[1].statusCode:void 0,k=o&&S&&S>=400,E=w.filter((R,T)=>{let{route:A}=R;if(A.lazy)return!0;if(A.loader==null)return!1;if(s)return kh(A,t.loaderData,t.errors);if(TA(t.loaderData,t.matches[T],R)||l.some(z=>z===R.route.id))return!0;let O=t.matches[T],I=R;return Ky(R,De({currentUrl:m,currentParams:O.params,nextUrl:p,nextParams:I.params},r,{actionResult:x,actionStatus:S,defaultShouldRevalidate:k?!1:a||m.pathname+m.search===p.pathname+p.search||m.search!==p.search||n1(O,I)}))}),y=[];return c.forEach((R,T)=>{if(s||!n.some(B=>B.route.id===R.routeId)||f.has(T))return;let A=Mi(h,R.path,g);if(!A){y.push({key:T,routeId:R.routeId,path:R.path,matches:null,match:null,controller:null});return}let O=t.fetchers.get(T),I=ta(A,R.path),z=!1;d.has(T)?z=!1:u.has(T)?(u.delete(T),z=!0):O&&O.state!==\"idle\"&&O.data===void 0?z=a:z=Ky(I,De({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:x,actionStatus:S,defaultShouldRevalidate:k?!1:a})),z&&y.push({key:T,routeId:R.routeId,path:R.path,matches:A,match:I,controller:new AbortController})}),[E,y]}function kh(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&t[e.id]!==void 0,i=n!=null&&n[e.id]!==void 0;return!r&&i?!1:typeof e.loader==\"function\"&&e.loader.hydrate===!0?!0:!r&&!i}function TA(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function n1(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith(\"*\")&&e.params[\"*\"]!==t.params[\"*\"]}function Ky(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n==\"boolean\")return n}return t.defaultShouldRevalidate}function qy(e,t,n,r,i){var s;let o;if(e){let u=r[e];ce(u,\"No route found to patch children into: routeId = \"+e),u.children||(u.children=[]),o=u.children}else o=n;let a=t.filter(u=>!o.some(f=>r1(u,f))),l=tc(a,i,[e||\"_\",\"patch\",String(((s=o)==null?void 0:s.length)||\"0\")],r);o.push(...l)}function r1(e,t){return\"id\"in e&&\"id\"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var i;return(i=t.children)==null?void 0:i.some(s=>r1(n,s))}):!1}async function OA(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];ce(i,\"No route found in manifest\");let s={};for(let o in r){let l=i[o]!==void 0&&o!==\"hasErrorBoundary\";yo(!l,'Route \"'+i.id+'\" has a static property \"'+o+'\" defined but its lazy function is also returning a value for this property. '+('The lazy route property \"'+o+'\" will be ignored.')),!l&&!tA.has(o)&&(s[o]=r[o])}Object.assign(i,s),Object.assign(i,De({},t(i),{lazy:void 0}))}async function IA(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,s,o)=>Object.assign(i,{[n[o].route.id]:s}),{})}async function LA(e,t,n,r,i,s,o,a,l,u){let f=s.map(h=>h.route.lazy?OA(h.route,l,a):void 0),c=s.map((h,g)=>{let v=f[g],x=i.some(p=>p.route.id===h.route.id);return De({},h,{shouldLoad:x,resolve:async p=>(p&&r.method===\"GET\"&&(h.route.lazy||h.route.loader)&&(x=!0),x?MA(t,r,h,v,p,u):Promise.resolve({type:ke.data,result:void 0}))})}),d=await e({matches:c,request:r,params:s[0].params,fetcherKey:o,context:u});try{await Promise.all(f)}catch{}return d}async function MA(e,t,n,r,i,s){let o,a,l=u=>{let f,c=new Promise((g,v)=>f=v);a=()=>f(),t.signal.addEventListener(\"abort\",a);let d=g=>typeof u!=\"function\"?Promise.reject(new Error(\"You cannot call the handler for a route which defines a boolean \"+('\"'+e+'\" [routeId: '+n.route.id+\"]\"))):u({request:t,params:n.params,context:s},...g!==void 0?[g]:[]),h=(async()=>{try{return{type:\"data\",result:await(i?i(v=>d(v)):d())}}catch(g){return{type:\"error\",result:g}}})();return Promise.race([h,c])};try{let u=n.route[e];if(r)if(u){let f,[c]=await Promise.all([l(u).catch(d=>{f=d}),r]);if(f!==void 0)throw f;o=c}else if(await r,u=n.route[e],u)o=await l(u);else if(e===\"action\"){let f=new URL(t.url),c=f.pathname+f.search;throw jt(405,{method:t.method,pathname:c,routeId:n.route.id})}else return{type:ke.data,result:void 0};else if(u)o=await l(u);else{let f=new URL(t.url),c=f.pathname+f.search;throw jt(404,{pathname:c})}ce(o.result!==void 0,\"You defined \"+(e===\"action\"?\"an action\":\"a loader\")+\" for route \"+('\"'+n.route.id+\"\\\" but didn't return anything from your `\"+e+\"` \")+\"function. Please return a value or `null`.\")}catch(u){return{type:ke.error,result:u}}finally{a&&t.signal.removeEventListener(\"abort\",a)}return o}async function NA(e){let{result:t,type:n}=e;if(s1(t)){let c;try{let d=t.headers.get(\"Content-Type\");d&&/\\bapplication\\/json\\b/.test(d)?t.body==null?c=null:c=await t.json():c=await t.text()}catch(d){return{type:ke.error,error:d}}return n===ke.error?{type:ke.error,error:new nc(t.status,t.statusText,c),statusCode:t.status,headers:t.headers}:{type:ke.data,data:c,statusCode:t.status,headers:t.headers}}if(n===ke.error){if(tv(t)){var r,i;if(t.data instanceof Error){var s,o;return{type:ke.error,error:t.data,statusCode:(s=t.init)==null?void 0:s.status,headers:(o=t.init)!=null&&o.headers?new Headers(t.init.headers):void 0}}return{type:ke.error,error:new nc(((r=t.init)==null?void 0:r.status)||500,void 0,t.data),statusCode:Qa(t)?t.status:void 0,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}}return{type:ke.error,error:t,statusCode:Qa(t)?t.status:void 0}}if(zA(t)){var a,l;return{type:ke.deferred,deferredData:t,statusCode:(a=t.init)==null?void 0:a.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(tv(t)){var u,f;return{type:ke.data,data:t.data,statusCode:(u=t.init)==null?void 0:u.status,headers:(f=t.init)!=null&&f.headers?new Headers(t.init.headers):void 0}}return{type:ke.data,data:t}}function FA(e,t,n,r,i,s){let o=e.headers.get(\"Location\");if(ce(o,\"Redirects returned/thrown from loaders/actions must have a Location header\"),!fm.test(o)){let a=r.slice(0,r.findIndex(l=>l.route.id===n)+1);o=Ch(new URL(t.url),a,i,!0,o,s),e.headers.set(\"Location\",o)}return e}function Jy(e,t,n){if(fm.test(e)){let r=e,i=r.startsWith(\"//\")?new URL(t.protocol+r):new URL(r),s=xi(i.pathname,n)!=null;if(i.origin===t.origin&&s)return i.pathname+i.search+i.hash}return e}function ms(e,t,n,r){let i=e.createURL(i1(t)).toString(),s={signal:n};if(r&&Tn(r.formMethod)){let{formMethod:o,formEncType:a}=r;s.method=o.toUpperCase(),a===\"application/json\"?(s.headers=new Headers({\"Content-Type\":a}),s.body=JSON.stringify(r.json)):a===\"text/plain\"?s.body=r.text:a===\"application/x-www-form-urlencoded\"&&r.formData?s.body=Ph(r.formData):s.body=r.formData}return new Request(i,s)}function Ph(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r==\"string\"?r:r.name);return t}function Gy(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function DA(e,t,n,r,i){let s={},o=null,a,l=!1,u={},f=n&&Xt(n[1])?n[1].error:void 0;return e.forEach(c=>{if(!(c.route.id in t))return;let d=c.route.id,h=t[d];if(ce(!zi(h),\"Cannot handle redirect results in processLoaderData\"),Xt(h)){let g=h.error;f!==void 0&&(g=f,f=void 0),o=o||{};{let v=Ni(e,d);o[v.route.id]==null&&(o[v.route.id]=g)}s[d]=void 0,l||(l=!0,a=Qa(h.error)?h.error.status:500),h.headers&&(u[d]=h.headers)}else ii(h)?(r.set(d,h.deferredData),s[d]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!l&&(a=h.statusCode),h.headers&&(u[d]=h.headers)):(s[d]=h.data,h.statusCode&&h.statusCode!==200&&!l&&(a=h.statusCode),h.headers&&(u[d]=h.headers))}),f!==void 0&&n&&(o={[n[0]]:f},s[n[0]]=void 0),{loaderData:s,errors:o,statusCode:a||200,loaderHeaders:u}}function Xy(e,t,n,r,i,s,o){let{loaderData:a,errors:l}=DA(t,n,r,o);return i.forEach(u=>{let{key:f,match:c,controller:d}=u,h=s[f];if(ce(h,\"Did not find corresponding fetcher result\"),!(d&&d.signal.aborted))if(Xt(h)){let g=Ni(e.matches,c==null?void 0:c.route.id);l&&l[g.route.id]||(l=De({},l,{[g.route.id]:h.error})),e.fetchers.delete(f)}else if(zi(h))ce(!1,\"Unhandled fetcher revalidation redirect\");else if(ii(h))ce(!1,\"Unhandled fetcher deferred data\");else{let g=Qr(h.data);e.fetchers.set(f,g)}}),{loaderData:a,errors:l}}function Yy(e,t,n,r){let i=De({},t);for(let s of n){let o=s.route.id;if(t.hasOwnProperty(o)?t[o]!==void 0&&(i[o]=t[o]):e[o]!==void 0&&s.route.loader&&(i[o]=e[o]),r&&r.hasOwnProperty(o))break}return i}function Zy(e){return e?Xt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Ni(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function ev(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path===\"/\")||{id:\"__shim-error-route__\"};return{matches:[{params:{},pathname:\"\",pathnameBase:\"\",route:t}],route:t}}function jt(e,t){let{pathname:n,routeId:r,method:i,type:s,message:o}=t===void 0?{}:t,a=\"Unknown Server Error\",l=\"Unknown @remix-run/router error\";return e===400?(a=\"Bad Request\",i&&n&&r?l=\"You made a \"+i+' request to \"'+n+'\" but '+('did not provide a `loader` for route \"'+r+'\", ')+\"so there is no way to handle the request.\":s===\"defer-action\"?l=\"defer() is not supported in actions\":s===\"invalid-body\"&&(l=\"Unable to encode submission body\")):e===403?(a=\"Forbidden\",l='Route \"'+r+'\" does not match URL \"'+n+'\"'):e===404?(a=\"Not Found\",l='No route matches URL \"'+n+'\"'):e===405&&(a=\"Method Not Allowed\",i&&n&&r?l=\"You made a \"+i.toUpperCase()+' request to \"'+n+'\" but '+('did not provide an `action` for route \"'+r+'\", ')+\"so there is no way to handle the request.\":i&&(l='Invalid request method \"'+i.toUpperCase()+'\"')),new nc(e||500,a,new Error(l),!0)}function Hl(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(zi(i))return{key:r,result:i}}}function i1(e){let t=typeof e==\"string\"?_i(e):e;return wi(De({},t,{hash:\"\"}))}function $A(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===\"\"?t.hash!==\"\":e.hash===t.hash?!0:t.hash!==\"\"}function jA(e){return s1(e.result)&&_A.has(e.result.status)}function ii(e){return e.type===ke.deferred}function Xt(e){return e.type===ke.error}function zi(e){return(e&&e.type)===ke.redirect}function tv(e){return typeof e==\"object\"&&e!=null&&\"type\"in e&&\"data\"in e&&\"init\"in e&&e.type===\"DataWithResponseInit\"}function zA(e){let t=e;return t&&typeof t==\"object\"&&typeof t.data==\"object\"&&typeof t.subscribe==\"function\"&&typeof t.cancel==\"function\"&&typeof t.resolveData==\"function\"}function s1(e){return e!=null&&typeof e.status==\"number\"&&typeof e.statusText==\"string\"&&typeof e.headers==\"object\"&&typeof e.body<\"u\"}function UA(e){return EA.has(e.toLowerCase())}function Tn(e){return SA.has(e.toLowerCase())}async function BA(e,t,n,r,i){let s=Object.entries(t);for(let o=0;o<s.length;o++){let[a,l]=s[o],u=e.find(d=>(d==null?void 0:d.route.id)===a);if(!u)continue;let f=r.find(d=>d.route.id===u.route.id),c=f!=null&&!n1(f,u)&&(i&&i[u.route.id])!==void 0;ii(l)&&c&&await dm(l,n,!1).then(d=>{d&&(t[a]=d)})}}async function HA(e,t,n){for(let r=0;r<n.length;r++){let{key:i,routeId:s,controller:o}=n[r],a=t[i];e.find(u=>(u==null?void 0:u.route.id)===s)&&ii(a)&&(ce(o,\"Expected an AbortController for revalidating fetcher deferred result\"),await dm(a,o.signal,!0).then(u=>{u&&(t[i]=u)}))}}async function dm(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ke.data,data:e.deferredData.unwrappedData}}catch(i){return{type:ke.error,error:i}}return{type:ke.data,data:e.deferredData.data}}}function hm(e){return new URLSearchParams(e).getAll(\"index\").some(t=>t===\"\")}function ta(e,t){let n=typeof t==\"string\"?_i(t).search:t.search;if(e[e.length-1].route.index&&hm(n||\"\"))return e[e.length-1];let r=ZS(e);return r[r.length-1]}function nv(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:s,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(s!=null)return{formMethod:t,formAction:n,formEncType:r,formData:s,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function Kf(e,t){return t?{state:\"loading\",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:\"loading\",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function VA(e,t){return{state:\"submitting\",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Qo(e,t){return e?{state:\"loading\",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:\"loading\",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function WA(e,t){return{state:\"submitting\",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Qr(e){return{state:\"idle\",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function QA(e,t){try{let n=e.sessionStorage.getItem(t1);if(n){let r=JSON.parse(n);for(let[i,s]of Object.entries(r||{}))s&&Array.isArray(s)&&t.set(i,new Set(s||[]))}}catch{}}function KA(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(t1,JSON.stringify(n))}catch(r){yo(!1,\"Failed to save applied view transitions in sessionStorage (\"+r+\").\")}}}/**\n * React Router v6.30.0\n *\n * Copyright (c) Remix Software Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */function rc(){return rc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rc.apply(this,arguments)}const al=_.createContext(null),o1=_.createContext(null),ur=_.createContext(null),pm=_.createContext(null),cr=_.createContext({outlet:null,matches:[],isDataRoute:!1}),a1=_.createContext(null);function qA(e,t){let{relative:n}=t===void 0?{}:t;ko()||ce(!1);let{basename:r,navigator:i}=_.useContext(ur),{hash:s,pathname:o,search:a}=gm(e,{relative:n}),l=o;return r!==\"/\"&&(l=o===\"/\"?r:sr([r,o])),i.createHref({pathname:l,search:a,hash:s})}function ko(){return _.useContext(pm)!=null}function as(){return ko()||ce(!1),_.useContext(pm).location}function l1(e){_.useContext(ur).static||_.useLayoutEffect(e)}function mm(){let{isDataRoute:e}=_.useContext(cr);return e?aT():JA()}function JA(){ko()||ce(!1);let e=_.useContext(al),{basename:t,future:n,navigator:r}=_.useContext(ur),{matches:i}=_.useContext(cr),{pathname:s}=as(),o=JSON.stringify(Uc(i,n.v7_relativeSplatPath)),a=_.useRef(!1);return l1(()=>{a.current=!0}),_.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u==\"number\"){r.go(u);return}let c=Bc(u,JSON.parse(o),s,f.relative===\"path\");e==null&&t!==\"/\"&&(c.pathname=c.pathname===\"/\"?t:sr([t,c.pathname])),(f.replace?r.replace:r.push)(c,f.state,f)},[t,r,o,s,e])}function L2(){let{matches:e}=_.useContext(cr),t=e[e.length-1];return t?t.params:{}}function gm(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(ur),{matches:i}=_.useContext(cr),{pathname:s}=as(),o=JSON.stringify(Uc(i,r.v7_relativeSplatPath));return _.useMemo(()=>Bc(e,JSON.parse(o),s,n===\"path\"),[e,o,s,n])}function GA(e,t,n,r){ko()||ce(!1);let{navigator:i,static:s}=_.useContext(ur),{matches:o}=_.useContext(cr),a=o[o.length-1],l=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:\"/\";a&&a.route;let f=as(),c;c=f;let d=c.pathname||\"/\",h=d;if(u!==\"/\"){let x=u.replace(/^\\//,\"\").split(\"/\");h=\"/\"+d.replace(/^\\//,\"\").split(\"/\").slice(x.length).join(\"/\")}let g=!s&&n&&n.matches&&n.matches.length>0?n.matches:Mi(e,{pathname:h});return tT(g&&g.map(x=>Object.assign({},x,{params:Object.assign({},l,x.params),pathname:sr([u,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase===\"/\"?u:sr([u,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r)}function XA(){let e=oT(),t=Qa(e)?e.status+\" \"+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:\"0.5rem\",backgroundColor:\"rgba(200,200,200, 0.5)\"};return _.createElement(_.Fragment,null,_.createElement(\"h2\",null,\"Unexpected Application Error!\"),_.createElement(\"h3\",{style:{fontStyle:\"italic\"}},t),n?_.createElement(\"pre\",{style:i},n):null,null)}const YA=_.createElement(XA,null);class ZA extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!==\"idle\"&&t.revalidation===\"idle\"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error(\"React Router caught the following error during render\",t,n)}render(){return this.state.error!==void 0?_.createElement(cr.Provider,{value:this.props.routeContext},_.createElement(a1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function eT(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(al);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(cr.Provider,{value:t},r)}function tT(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let f=o.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);f>=0||ce(!1),o=o.slice(0,Math.min(o.length,f+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<o.length;f++){let c=o[f];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(u=f),c.route.id){let{loaderData:d,errors:h}=n,g=c.route.loader&&d[c.route.id]===void 0&&(!h||h[c.route.id]===void 0);if(c.route.lazy||g){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((f,c,d)=>{let h,g=!1,v=null,x=null;n&&(h=a&&c.route.id?a[c.route.id]:void 0,v=c.route.errorElement||YA,l&&(u<0&&d===0?(lT(\"route-fallback\"),g=!0,x=null):u===d&&(g=!0,x=c.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,d+1)),p=()=>{let w;return h?w=v:g?w=x:c.route.Component?w=_.createElement(c.route.Component,null):c.route.element?w=c.route.element:w=f,_.createElement(eT,{match:c,routeContext:{outlet:f,matches:m,isDataRoute:n!=null},children:w})};return n&&(c.route.ErrorBoundary||c.route.errorElement||d===0)?_.createElement(ZA,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var u1=function(e){return e.UseBlocker=\"useBlocker\",e.UseRevalidator=\"useRevalidator\",e.UseNavigateStable=\"useNavigate\",e}(u1||{}),c1=function(e){return e.UseBlocker=\"useBlocker\",e.UseLoaderData=\"useLoaderData\",e.UseActionData=\"useActionData\",e.UseRouteError=\"useRouteError\",e.UseNavigation=\"useNavigation\",e.UseRouteLoaderData=\"useRouteLoaderData\",e.UseMatches=\"useMatches\",e.UseRevalidator=\"useRevalidator\",e.UseNavigateStable=\"useNavigate\",e.UseRouteId=\"useRouteId\",e}(c1||{});function nT(e){let t=_.useContext(al);return t||ce(!1),t}function rT(e){let t=_.useContext(o1);return t||ce(!1),t}function iT(e){let t=_.useContext(cr);return t||ce(!1),t}function ym(e){let t=iT(),n=t.matches[t.matches.length-1];return n.route.id||ce(!1),n.route.id}function sT(){return ym()}function oT(){var e;let t=_.useContext(a1),n=rT(),r=ym();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function aT(){let{router:e}=nT(u1.UseNavigateStable),t=ym(c1.UseNavigateStable),n=_.useRef(!1);return l1(()=>{n.current=!0}),_.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i==\"number\"?e.navigate(i):e.navigate(i,rc({fromRouteId:t},s)))},[e,t])}const rv={};function lT(e,t,n){rv[e]||(rv[e]=!0)}function uT(e,t){e==null||e.v7_startTransition,(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function cT(e){let{to:t,replace:n,state:r,relative:i}=e;ko()||ce(!1);let{future:s,static:o}=_.useContext(ur),{matches:a}=_.useContext(cr),{pathname:l}=as(),u=mm(),f=Bc(t,Uc(a,s.v7_relativeSplatPath),l,i===\"path\"),c=JSON.stringify(f);return _.useEffect(()=>u(JSON.parse(c),{replace:n,state:r,relative:i}),[u,c,i,n,r]),null}function na(e){ce(!1)}function fT(e){let{basename:t=\"/\",children:n=null,location:r,navigationType:i=Ye.Pop,navigator:s,static:o=!1,future:a}=e;ko()&&ce(!1);let l=t.replace(/^\\/*/,\"/\"),u=_.useMemo(()=>({basename:l,navigator:s,static:o,future:rc({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r==\"string\"&&(r=_i(r));let{pathname:f=\"/\",search:c=\"\",hash:d=\"\",state:h=null,key:g=\"default\"}=r,v=_.useMemo(()=>{let x=xi(f,l);return x==null?null:{location:{pathname:x,search:c,hash:d,state:h,key:g},navigationType:i}},[l,f,c,d,h,g,i]);return v==null?null:_.createElement(ur.Provider,{value:u},_.createElement(pm.Provider,{children:n,value:v}))}new Promise(()=>{});function Rh(e,t){t===void 0&&(t=[]);let n=[];return _.Children.forEach(e,(r,i)=>{if(!_.isValidElement(r))return;let s=[...t,i];if(r.type===_.Fragment){n.push.apply(n,Rh(r.props.children,s));return}r.type!==na&&ce(!1),!r.props.index||!r.props.children||ce(!1);let o={id:r.props.id||s.join(\"-\"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Rh(r.props.children,s)),n.push(o)}),n}function dT(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:_.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:_.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:_.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/**\n * React Router DOM v6.30.0\n *\n * Copyright (c) Remix Software Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(this,arguments)}function f1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const yu=\"get\",qf=\"application/x-www-form-urlencoded\";function Hc(e){return e!=null&&typeof e.tagName==\"string\"}function hT(e){return Hc(e)&&e.tagName.toLowerCase()===\"button\"}function pT(e){return Hc(e)&&e.tagName.toLowerCase()===\"form\"}function mT(e){return Hc(e)&&e.tagName.toLowerCase()===\"input\"}function gT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function yT(e,t){return e.button===0&&(!t||t===\"_self\")&&!gT(e)}function Ah(e){return e===void 0&&(e=\"\"),new URLSearchParams(typeof e==\"string\"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function vT(e,t){let n=Ah(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}let Vl=null;function wT(){if(Vl===null)try{new FormData(document.createElement(\"form\"),0),Vl=!1}catch{Vl=!0}return Vl}const xT=new Set([\"application/x-www-form-urlencoded\",\"multipart/form-data\",\"text/plain\"]);function Jf(e){return e!=null&&!xT.has(e)?null:e}function ST(e,t){let n,r,i,s,o;if(pT(e)){let a=e.getAttribute(\"action\");r=a?xi(a,t):null,n=e.getAttribute(\"method\")||yu,i=Jf(e.getAttribute(\"enctype\"))||qf,s=new FormData(e)}else if(hT(e)||mT(e)&&(e.type===\"submit\"||e.type===\"image\")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type=\"submit\"> without a <form>');let l=e.getAttribute(\"formaction\")||a.getAttribute(\"action\");if(r=l?xi(l,t):null,n=e.getAttribute(\"formmethod\")||a.getAttribute(\"method\")||yu,i=Jf(e.getAttribute(\"formenctype\"))||Jf(a.getAttribute(\"enctype\"))||qf,s=new FormData(a,e),!wT()){let{name:u,type:f,value:c}=e;if(f===\"image\"){let d=u?u+\".\":\"\";s.append(d+\"x\",\"0\"),s.append(d+\"y\",\"0\")}else u&&s.append(u,c)}}else{if(Hc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type=\"submit|image\">');n=yu,r=null,i=qf,o=e}return s&&i===\"text/plain\"&&(o=s,s=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:s,body:o}}const bT=[\"onClick\",\"relative\",\"reloadDocument\",\"replace\",\"state\",\"target\",\"to\",\"preventScrollReset\",\"viewTransition\"],ET=[\"fetcherKey\",\"navigate\",\"reloadDocument\",\"replace\",\"state\",\"method\",\"action\",\"onSubmit\",\"relative\",\"preventScrollReset\",\"viewTransition\"],_T=\"6\";try{window.__reactRouterVersion=_T}catch{}function CT(e,t){return RA({basename:void 0,future:ns({},void 0,{v7_prependBasename:!0}),history:YR({window:void 0}),hydrationData:kT(),routes:e,mapRouteProperties:dT,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function kT(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ns({},t,{errors:PT(t.errors)})),t}function PT(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type===\"RouteErrorResponse\")n[r]=new nc(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type===\"Error\"){if(i.__subType){let s=window[i.__subType];if(typeof s==\"function\")try{let o=new s(i.message);o.stack=\"\",n[r]=o}catch{}}if(n[r]==null){let s=new Error(i.message);s.stack=\"\",n[r]=s}}else n[r]=i;return n}const RT=_.createContext({isTransitioning:!1}),AT=_.createContext(new Map),TT=\"startTransition\",iv=Jw[TT],OT=\"flushSync\",sv=dk[OT];function IT(e){iv?iv(e):e()}function Ko(e){sv?sv(e):e()}class LT{constructor(){this.status=\"pending\",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status===\"pending\"&&(this.status=\"resolved\",t(r))},this.reject=r=>{this.status===\"pending\"&&(this.status=\"rejected\",n(r))}})}}function MT(e){let{fallbackElement:t,router:n,future:r}=e,[i,s]=_.useState(n.state),[o,a]=_.useState(),[l,u]=_.useState({isTransitioning:!1}),[f,c]=_.useState(),[d,h]=_.useState(),[g,v]=_.useState(),x=_.useRef(new Map),{v7_startTransition:m}=r||{},p=_.useCallback(R=>{m?IT(R):R()},[m]),w=_.useCallback((R,T)=>{let{deletedFetchers:A,flushSync:O,viewTransitionOpts:I}=T;R.fetchers.forEach((B,V)=>{B.data!==void 0&&x.current.set(V,B.data)}),A.forEach(B=>x.current.delete(B));let z=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!=\"function\";if(!I||z){O?Ko(()=>s(R)):p(()=>s(R));return}if(O){Ko(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:I.currentLocation,nextLocation:I.nextLocation})});let B=n.window.document.startViewTransition(()=>{Ko(()=>s(R))});B.finished.finally(()=>{Ko(()=>{c(void 0),h(void 0),a(void 0),u({isTransitioning:!1})})}),Ko(()=>h(B));return}d?(f&&f.resolve(),d.skipTransition(),v({state:R,currentLocation:I.currentLocation,nextLocation:I.nextLocation})):(a(R),u({isTransitioning:!0,flushSync:!1,currentLocation:I.currentLocation,nextLocation:I.nextLocation}))},[n.window,d,f,x,p]);_.useLayoutEffect(()=>n.subscribe(w),[n,w]),_.useEffect(()=>{l.isTransitioning&&!l.flushSync&&c(new LT)},[l]),_.useEffect(()=>{if(f&&o&&n.window){let R=o,T=f.promise,A=n.window.document.startViewTransition(async()=>{p(()=>s(R)),await T});A.finished.finally(()=>{c(void 0),h(void 0),a(void 0),u({isTransitioning:!1})}),h(A)}},[p,o,f,n.window]),_.useEffect(()=>{f&&o&&i.location.key===o.location.key&&f.resolve()},[f,d,i.location,o]),_.useEffect(()=>{!l.isTransitioning&&g&&(a(g.state),u({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),v(void 0))},[l.isTransitioning,g]),_.useEffect(()=>{},[]);let S=_.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:R=>n.navigate(R),push:(R,T,A)=>n.navigate(R,{state:T,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(R,T,A)=>n.navigate(R,{replace:!0,state:T,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),k=n.basename||\"/\",E=_.useMemo(()=>({router:n,navigator:S,static:!1,basename:k}),[n,S,k]),y=_.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return _.useEffect(()=>uT(r,n.future),[r,n.future]),_.createElement(_.Fragment,null,_.createElement(al.Provider,{value:E},_.createElement(o1.Provider,{value:i},_.createElement(AT.Provider,{value:x.current},_.createElement(RT.Provider,{value:l},_.createElement(fT,{basename:k,location:i.location,navigationType:i.historyAction,navigator:S,future:y},i.initialized||n.future.v7_partialHydration?_.createElement(NT,{routes:n.routes,future:n.future,state:i}):t))))),null)}const NT=_.memo(FT);function FT(e){let{routes:t,future:n,state:r}=e;return GA(t,void 0,r,n)}const DT=typeof window<\"u\"&&typeof window.document<\"u\"&&typeof window.document.createElement<\"u\",$T=/^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i,M2=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:f,viewTransition:c}=t,d=f1(t,bT),{basename:h}=_.useContext(ur),g,v=!1;if(typeof u==\"string\"&&$T.test(u)&&(g=u,DT))try{let w=new URL(window.location.href),S=u.startsWith(\"//\")?new URL(w.protocol+u):new URL(u),k=xi(S.pathname,h);S.origin===w.origin&&k!=null?u=k+S.search+S.hash:v=!0}catch{}let x=qA(u,{relative:i}),m=zT(u,{replace:o,state:a,target:l,preventScrollReset:f,relative:i,viewTransition:c});function p(w){r&&r(w),w.defaultPrevented||m(w)}return _.createElement(\"a\",ns({},d,{href:g||x,onClick:v||s?r:p,ref:n,target:l}))}),N2=_.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:i,replace:s,state:o,method:a=yu,action:l,onSubmit:u,relative:f,preventScrollReset:c,viewTransition:d}=e,h=f1(e,ET),g=VT(),v=WT(l,{relative:f}),x=a.toLowerCase()===\"get\"?\"get\":\"post\",m=p=>{if(u&&u(p),p.defaultPrevented)return;p.preventDefault();let w=p.nativeEvent.submitter,S=(w==null?void 0:w.getAttribute(\"formmethod\"))||a;g(w||p.currentTarget,{fetcherKey:n,method:S,navigate:r,replace:s,state:o,relative:f,preventScrollReset:c,viewTransition:d})};return _.createElement(\"form\",ns({ref:t,method:x,action:v,onSubmit:i?u:m},h))});var Th;(function(e){e.UseScrollRestoration=\"useScrollRestoration\",e.UseSubmit=\"useSubmit\",e.UseSubmitFetcher=\"useSubmitFetcher\",e.UseFetcher=\"useFetcher\",e.useViewTransitionState=\"useViewTransitionState\"})(Th||(Th={}));var ov;(function(e){e.UseFetcher=\"useFetcher\",e.UseFetchers=\"useFetchers\",e.UseScrollRestoration=\"useScrollRestoration\"})(ov||(ov={}));function jT(e){let t=_.useContext(al);return t||ce(!1),t}function zT(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=mm(),u=as(),f=gm(e,{relative:o});return _.useCallback(c=>{if(yT(c,n)){c.preventDefault();let d=r!==void 0?r:wi(u)===wi(f);l(e,{replace:d,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,f,r,i,n,e,s,o,a])}function F2(e){let t=_.useRef(Ah(e)),n=_.useRef(!1),r=as(),i=_.useMemo(()=>vT(r.search,n.current?null:t.current),[r.search]),s=mm(),o=_.useCallback((a,l)=>{const u=Ah(typeof a==\"function\"?a(i):a);n.current=!0,s(\"?\"+u,l)},[s,i]);return[i,o]}function UT(){if(typeof document>\"u\")throw new Error(\"You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.\")}let BT=0,HT=()=>\"__\"+String(++BT)+\"__\";function VT(){let{router:e}=jT(Th.UseSubmit),{basename:t}=_.useContext(ur),n=sT();return _.useCallback(function(r,i){i===void 0&&(i={}),UT();let{action:s,method:o,encType:a,formData:l,body:u}=ST(r,t);if(i.navigate===!1){let f=i.fetcherKey||HT();e.fetch(f,n,i.action||s,{preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||o,formEncType:i.encType||a,flushSync:i.flushSync})}else e.navigate(i.action||s,{preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||o,formEncType:i.encType||a,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function WT(e,t){let{relative:n}=t===void 0?{}:t,{basename:r}=_.useContext(ur),i=_.useContext(cr);i||ce(!1);let[s]=i.matches.slice(-1),o=ns({},gm(e||\".\",{relative:n})),a=as();if(e==null){o.search=a.search;let l=new URLSearchParams(o.search),u=l.getAll(\"index\");if(u.some(c=>c===\"\")){l.delete(\"index\"),u.filter(d=>d).forEach(d=>l.append(\"index\",d));let c=l.toString();o.search=c?\"?\"+c:\"\"}}return(!e||e===\".\")&&s.route.index&&(o.search=o.search?o.search.replace(/^\\?/,\"?index&\"):\"?index\"),r!==\"/\"&&(o.pathname=o.pathname===\"/\"?r:sr([r,o.pathname])),wi(o)}const ra={},av=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,lv=e=>\"init\"in e,Gf=e=>!!e.write,uv=e=>\"v\"in e||\"e\"in e,Wl=e=>{if(\"e\"in e)throw e.e;if((ra?\"production\":void 0)!==\"production\"&&!(\"v\"in e))throw new Error(\"[Bug] atom state is not initialized\");return e.v},ic=new WeakMap,cv=e=>{var t;return sc(e)&&!!((t=ic.get(e))!=null&&t[0])},QT=e=>{const t=ic.get(e);t!=null&&t[0]&&(t[0]=!1,t[1].forEach(n=>n()))},d1=(e,t)=>{let n=ic.get(e);if(!n){n=[!0,new Set],ic.set(e,n);const r=()=>{n[0]=!1};e.then(r,r)}n[1].add(t)},sc=e=>typeof(e==null?void 0:e.then)==\"function\",h1=(e,t,n)=>{n.p.has(e)||(n.p.add(e),t.then(()=>{n.p.delete(e)},()=>{n.p.delete(e)}))},Xf=(e,t,n)=>{const r=n(e),i=\"v\"in r,s=r.v;if(sc(t))for(const o of r.d.keys())h1(e,t,n(o));r.v=t,delete r.e,(!i||!Object.is(s,r.v))&&(++r.n,sc(s)&&QT(s))},fv=(e,t,n)=>{var r;const i=new Set;for(const s of((r=n.get(e))==null?void 0:r.t)||[])n.has(s)&&i.add(s);for(const s of t.p)i.add(s);return i},KT=()=>{const e=new Set,t=()=>{e.forEach(n=>n())};return t.add=n=>(e.add(n),()=>{e.delete(n)}),t},Yf=()=>{const e={},t=new WeakMap,n=r=>{var i,s;(i=t.get(e))==null||i.forEach(o=>o(r)),(s=t.get(r))==null||s.forEach(o=>o())};return n.add=(r,i)=>{const s=r||e,o=(t.has(s)?t:t.set(s,new Set)).get(s);return o.add(i),()=>{o==null||o.delete(i),o.size||t.delete(s)}},n},qT=e=>(e.c||(e.c=Yf()),e.m||(e.m=Yf()),e.u||(e.u=Yf()),e.f||(e.f=KT()),e),JT=Symbol(),GT=(e=new WeakMap,t=new WeakMap,n=new WeakMap,r=new Set,i=new Set,s=new Set,o={},a=(d,...h)=>d.read(...h),l=(d,...h)=>d.write(...h),u=(d,h)=>{var g;return(g=d.unstable_onInit)==null?void 0:g.call(d,h)},f=(d,h)=>{var g;return(g=d.onMount)==null?void 0:g.call(d,h)},...c)=>{const d=c[0]||(y=>{if((ra?\"production\":void 0)!==\"production\"&&!y)throw new Error(\"Atom is undefined or null\");let R=e.get(y);return R||(R={d:new Map,p:new Set,n:0},e.set(y,R),u==null||u(y,E)),R}),h=c[1]||(()=>{const y=[],R=T=>{try{T()}catch(A){y.push(A)}};do{o.f&&R(o.f);const T=new Set,A=T.add.bind(T);r.forEach(O=>{var I;return(I=t.get(O))==null?void 0:I.l.forEach(A)}),r.clear(),s.forEach(A),s.clear(),i.forEach(A),i.clear(),T.forEach(R),r.size&&g()}while(r.size||s.size||i.size);if(y.length)throw new AggregateError(y)}),g=c[2]||(()=>{const y=[],R=new WeakSet,T=new WeakSet,A=Array.from(r);for(;A.length;){const O=A[A.length-1],I=d(O);if(T.has(O)){A.pop();continue}if(R.has(O)){if(n.get(O)===I.n)y.push([O,I]);else if((ra?\"production\":void 0)!==\"production\"&&n.has(O))throw new Error(\"[Bug] invalidated atom exists\");T.add(O),A.pop();continue}R.add(O);for(const z of fv(O,I,t))R.has(z)||A.push(z)}for(let O=y.length-1;O>=0;--O){const[I,z]=y[O];let B=!1;for(const V of z.d.keys())if(V!==I&&r.has(V)){B=!0;break}B&&(v(I),p(I)),n.delete(I)}}),v=c[3]||(y=>{var R;const T=d(y);if(uv(T)&&(t.has(y)&&n.get(y)!==T.n||Array.from(T.d).every(([Q,M])=>v(Q).n===M)))return T;T.d.clear();let A=!0;const O=()=>{t.has(y)&&(p(y),g(),h())},I=Q=>{var M;if(av(y,Q)){const b=d(Q);if(!uv(b))if(lv(Q))Xf(Q,Q.init,d);else throw new Error(\"no atom init\");return Wl(b)}const U=v(Q);try{return Wl(U)}finally{T.d.set(Q,U.n),cv(T.v)&&h1(y,T.v,U),(M=t.get(Q))==null||M.t.add(y),A||O()}};let z,B;const V={get signal(){return z||(z=new AbortController),z.signal},get setSelf(){return(ra?\"production\":void 0)!==\"production\"&&!Gf(y)&&console.warn(\"setSelf function cannot be used with read-only atom\"),!B&&Gf(y)&&(B=(...Q)=>{if((ra?\"production\":void 0)!==\"production\"&&A&&console.warn(\"setSelf function cannot be called in sync\"),!A)try{return m(y,...Q)}finally{g(),h()}}),B}},G=T.n;try{const Q=a(y,I,V);return Xf(y,Q,d),sc(Q)&&(d1(Q,()=>z==null?void 0:z.abort()),Q.then(O,O)),T}catch(Q){return delete T.v,T.e=Q,++T.n,T}finally{A=!1,G!==T.n&&n.get(y)===G&&(n.set(y,T.n),r.add(y),(R=o.c)==null||R.call(o,y))}}),x=c[4]||(y=>{const R=[y];for(;R.length;){const T=R.pop(),A=d(T);for(const O of fv(T,A,t)){const I=d(O);n.set(O,I.n),R.push(O)}}}),m=c[5]||((y,...R)=>{let T=!0;const A=I=>Wl(v(I)),O=(I,...z)=>{var B;const V=d(I);try{if(av(y,I)){if(!lv(I))throw new Error(\"atom not writable\");const G=V.n,Q=z[0];Xf(I,Q,d),p(I),G!==V.n&&(r.add(I),(B=o.c)==null||B.call(o,I),x(I));return}else return m(I,...z)}finally{T||(g(),h())}};try{return l(y,A,O,...R)}finally{T=!1}}),p=c[6]||(y=>{var R;const T=d(y),A=t.get(y);if(A&&!cv(T.v)){for(const[O,I]of T.d)if(!A.d.has(O)){const z=d(O);w(O).t.add(y),A.d.add(O),I!==z.n&&(r.add(O),(R=o.c)==null||R.call(o,O),x(O))}for(const O of A.d||[])if(!T.d.has(O)){A.d.delete(O);const I=S(O);I==null||I.t.delete(y)}}}),w=c[7]||(y=>{var R;const T=d(y);let A=t.get(y);if(!A){v(y);for(const O of T.d.keys())w(O).t.add(y);if(A={l:new Set,d:new Set(T.d.keys()),t:new Set},t.set(y,A),(R=o.m)==null||R.call(o,y),Gf(y)){const O=()=>{let I=!0;const z=(...B)=>{try{return m(y,...B)}finally{I||(g(),h())}};try{const B=f(y,z);B&&(A.u=()=>{I=!0;try{B()}finally{I=!1}})}finally{I=!1}};i.add(O)}}return A}),S=c[8]||(y=>{var R;const T=d(y);let A=t.get(y);if(A&&!A.l.size&&!Array.from(A.t).some(O=>{var I;return(I=t.get(O))==null?void 0:I.d.has(y)})){A.u&&s.add(A.u),A=void 0,t.delete(y),(R=o.u)==null||R.call(o,y);for(const O of T.d.keys()){const I=S(O);I==null||I.t.delete(y)}return}return A}),k=[e,t,n,r,i,s,o,a,l,u,f,d,h,g,v,x,m,p,w,S],E={get:y=>Wl(v(y)),set:(y,...R)=>{try{return m(y,...R)}finally{g(),h()}},sub:(y,R)=>{const A=w(y).l;return A.add(R),h(),()=>{A.delete(R),S(y),h()}}};return Object.defineProperty(E,JT,{value:k}),E},p1=GT,XT=qT,dv=d1,vm={};let YT=0;function Ee(e,t){const n=`atom${++YT}`,r={toString(){return(vm?\"production\":void 0)!==\"production\"&&this.debugLabel?n+\":\"+this.debugLabel:n}};return typeof e==\"function\"?r.read=e:(r.init=e,r.read=ZT,r.write=eO),t&&(r.write=t),r}function ZT(e){return e(this)}function eO(e,t,n){return t(this,typeof n==\"function\"?n(e(this)):n)}const tO=()=>{let e=0;const t=XT({}),n=new WeakMap,r=new WeakMap,i=p1(n,r,void 0,void 0,void 0,void 0,t,void 0,(a,l,u,...f)=>e?u(a,...f):a.write(l,u,...f)),s=new Set;return t.m.add(void 0,a=>{s.add(a);const l=n.get(a);l.m=r.get(a)}),t.u.add(void 0,a=>{s.delete(a);const l=n.get(a);delete l.m}),Object.assign(i,{dev4_get_internal_weak_map:()=>n,dev4_get_mounted_atoms:()=>s,dev4_restore_atoms:a=>{const l={read:()=>null,write:(u,f)=>{++e;try{for(const[c,d]of a)\"init\"in c&&f(c,d)}finally{--e}}};i.set(l)}})};function nO(){return(vm?\"production\":void 0)!==\"production\"?tO():p1()}let qo;function rO(){return qo||(qo=nO(),(vm?\"production\":void 0)!==\"production\"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=qo),globalThis.__JOTAI_DEFAULT_STORE__!==qo&&console.warn(\"Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044\"))),qo}const iO={},sO=_.createContext(void 0);function m1(e){return _.useContext(sO)||rO()}const Oh=e=>typeof(e==null?void 0:e.then)==\"function\",Ih=e=>{e.status||(e.status=\"pending\",e.then(t=>{e.status=\"fulfilled\",e.value=t},t=>{e.status=\"rejected\",e.reason=t}))},oO=Ki.use||(e=>{if(e.status===\"pending\")throw e;if(e.status===\"fulfilled\")return e.value;throw e.status===\"rejected\"?e.reason:(Ih(e),e)}),Zf=new WeakMap,hv=(e,t)=>{let n=Zf.get(e);return n||(n=new Promise((r,i)=>{let s=e;const o=u=>f=>{s===u&&r(f)},a=u=>f=>{s===u&&i(f)},l=()=>{try{const u=t();Oh(u)?(Zf.set(u,n),s=u,u.then(o(u),a(u)),dv(u,l)):r(u)}catch(u){i(u)}};e.then(o(e),a(e)),dv(e,l)}),Zf.set(e,n)),n};function g1(e,t){const{delay:n,unstable_promiseStatus:r=!Ki.use}={},i=m1(),[[s,o,a],l]=_.useReducer(f=>{const c=i.get(e);return Object.is(f[0],c)&&f[1]===i&&f[2]===e?f:[c,i,e]},void 0,()=>[i.get(e),i,e]);let u=s;if((o!==i||a!==e)&&(l(),u=i.get(e)),_.useEffect(()=>{const f=i.sub(e,()=>{if(r)try{const c=i.get(e);Oh(c)&&Ih(hv(c,()=>i.get(e)))}catch{}if(typeof n==\"number\"){setTimeout(l,n);return}l()});return l(),f},[i,e,n,r]),_.useDebugValue(u),Oh(u)){const f=hv(u,()=>i.get(e));return r&&Ih(f),oO(f)}return u}function aO(e,t){const n=m1();return _.useCallback((...i)=>{if((iO?\"production\":void 0)!==\"production\"&&!(\"write\"in e))throw new Error(\"not writable atom\");return n.set(e,...i)},[n,e])}function lO(e,t){return[g1(e),aO(e)]}const wm={},uO=Symbol((wm?\"production\":void 0)!==\"production\"?\"RESET\":\"\");function y1(e,t){let n=null;const r=new Map,i=new Set,s=a=>{let l;if(t===void 0)l=r.get(a);else for(const[f,c]of r)if(t(f,a)){l=c;break}if(l!==void 0)if(n!=null&&n(l[1],a))s.remove(a);else return l[0];const u=e(a);return r.set(a,[u,Date.now()]),o(\"CREATE\",a,u),u},o=(a,l,u)=>{for(const f of i)f({type:a,param:l,atom:u})};return s.unstable_listen=a=>(i.add(a),()=>{i.delete(a)}),s.getParams=()=>r.keys(),s.remove=a=>{if(t===void 0){if(!r.has(a))return;const[l]=r.get(a);r.delete(a),o(\"REMOVE\",a,l)}else for(const[l,[u]]of r)if(t(l,a)){r.delete(l),o(\"REMOVE\",l,u);break}},s.setShouldRemove=a=>{if(n=a,!!n)for(const[l,[u,f]]of r)n(f,l)&&(r.delete(l),o(\"REMOVE\",l,u))},s}const cO=e=>typeof(e==null?void 0:e.then)==\"function\";function fO(e=()=>{try{return window.localStorage}catch(n){(wm?\"production\":void 0)!==\"production\"&&typeof window<\"u\"&&console.warn(n);return}},t){var n;let r,i;const s={getItem:(l,u)=>{var f,c;const d=g=>{if(g=g||\"\",r!==g){try{i=JSON.parse(g,t==null?void 0:t.reviver)}catch{return u}r=g}return i},h=(c=(f=e())==null?void 0:f.getItem(l))!=null?c:null;return cO(h)?h.then(d):d(h)},setItem:(l,u)=>{var f;return(f=e())==null?void 0:f.setItem(l,JSON.stringify(u,void 0))},removeItem:l=>{var u;return(u=e())==null?void 0:u.removeItem(l)}},o=l=>(u,f,c)=>l(u,d=>{let h;try{h=JSON.parse(d||\"\")}catch{h=c}f(h)});let a;try{a=(n=e())==null?void 0:n.subscribe}catch{}return!a&&typeof window<\"u\"&&typeof window.addEventListener==\"function\"&&window.Storage&&(a=(l,u)=>{if(!(e()instanceof window.Storage))return()=>{};const f=c=>{c.storageArea===e()&&c.key===l&&u(c.newValue)};return window.addEventListener(\"storage\",f),()=>{window.removeEventListener(\"storage\",f)}}),a&&(s.subscribe=o(a)),s}const dO=fO();function ls(e,t,n=dO,r){const i=Ee(t);return(wm?\"production\":void 0)!==\"production\"&&(i.debugPrivate=!0),i.onMount=o=>{o(n.getItem(e,t));let a;return n.subscribe&&(a=n.subscribe(e,o,t)),a},Ee(o=>o(i),(o,a,l)=>{const u=typeof l==\"function\"?l(o(i)):l;return u===uO?(a(i,t),n.removeItem(e)):u instanceof Promise?u.then(f=>(a(i,f),n.setItem(e,f))):(a(i,u),n.setItem(e,u))})}var hO=Object.defineProperty,pO=(e,t,n)=>t in e?hO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,st=(e,t,n)=>(pO(e,typeof t!=\"symbol\"?t+\"\":t,n),n);function vn(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function mO(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=vn(n);return(i,s)=>r.then(o=>s(o.transaction(t,i).objectStore(t)))}let ed;function ll(){return ed||(ed=mO(\"keyval-store\",\"keyval\")),ed}function gO(e,t,n=ll()){return n(\"readwrite\",r=>(r.put(t,e),vn(r.transaction)))}function pv(e,t=ll()){return t(\"readwrite\",n=>(e.forEach(r=>n.put(r[1],r[0])),vn(n.transaction)))}function yO(e,t=ll()){return t(\"readwrite\",n=>(n.delete(e),vn(n.transaction)))}function vO(e=ll()){return e(\"readwrite\",t=>(t.clear(),vn(t.transaction)))}function wO(e,t){return e.openCursor().onsuccess=function(){this.result&&(t(this.result),this.result.continue())},vn(e.transaction)}function td(e=ll()){return e(\"readonly\",t=>{if(t.getAll&&t.getAllKeys)return Promise.all([vn(t.getAllKeys()),vn(t.getAll())]).then(([r,i])=>r.map((s,o)=>[s,i[o]]));const n=[];return e(\"readonly\",r=>wO(r,i=>n.push([i.key,i.value])).then(()=>n))})}const xO=\"jotai-minidb\",SO={name:xO,version:0,migrations:{},onMigrationCompleted:()=>{alert(\"Data has been migrated. Page will be reloaded\"),window.location.reload()},onVersionMissmatch:()=>{}};class bO{constructor(t={}){st(this,\"channel\"),st(this,\"cache\",Ee(void 0)),st(this,\"idbStorage\"),st(this,\"metaStorage\"),st(this,\"config\"),st(this,\"initStarted\",Ee(!1)),st(this,\"initialDataThenable\",EO()),st(this,\"suspendBeforeInit\",Ee(async i=>{i(this.items),await i(this.initialDataThenable).promise})),st(this,\"isInitialized\",Ee(!1)),st(this,\"items\",Ee((i,{setSelf:s})=>(i(this.initStarted)||Promise.resolve().then(s),i(this.cache)),async(i,s)=>{i(this.initStarted)||(s(this.initStarted,!0),this.preloadData().then(o=>{s(this.cache,o),i(this.initialDataThenable).resolve()}),this.channel.onmessage=async o=>{const a=o.data;a.type===\"UPDATE\"?s(this.cache,l=>({...l,[a.id]:a.item})):a.type===\"DELETE\"?s(this.cache,l=>{const u={...l};return delete u[a.id],u}):a.type===\"UPDATE_MANY\"?s(this.cache,Object.fromEntries(await td(this.idbStorage))):a.type===\"MIGRATION_COMPLETED\"&&this.config.onMigrationCompleted()})})),st(this,\"entries\",Ee(i=>Object.entries(i(this.items)||{}))),st(this,\"keys\",Ee(i=>Object.keys(i(this.items)||{}))),st(this,\"values\",Ee(i=>Object.values(i(this.items)||{}))),st(this,\"item\",y1(i=>Ee(s=>{var o;return(o=s(this.items))==null?void 0:o[i]},async(s,o,a)=>{await o(this.set,i,a)}))),st(this,\"set\",Ee(null,async(i,s,o,a)=>{i(this.cache)||await i(this.suspendBeforeInit);const l=i(this.cache);if(!l)throw new Error(\"Cache was not initialized\");const u=CO(a)?a(l[o]):a;s(this.cache,f=>({...f,[o]:u})),await gO(o,u,this.idbStorage),this.channel.postMessage({type:\"UPDATE\",id:o,item:u})})),st(this,\"setMany\",Ee(null,async(i,s,o)=>{i(this.cache)||await i(this.suspendBeforeInit);const a={...i(this.cache)};for(const[l,u]of o)a[l]=u;s(this.cache,a),await pv(o,this.idbStorage),this.channel.postMessage({type:\"UPDATE_MANY\"})})),st(this,\"delete\",Ee(null,async(i,s,o)=>{i(this.cache)||await i(this.suspendBeforeInit),s(this.cache,a=>{const l={...a};return delete l[o],l}),await yO(o,this.idbStorage),this.channel.postMessage({type:\"DELETE\",id:o})})),st(this,\"clear\",Ee(null,async(i,s)=>{i(this.cache)||await i(this.suspendBeforeInit),s(this.cache,{}),await vO(this.idbStorage),this.channel.postMessage({type:\"UPDATE_MANY\"})})),this.config={...SO,initialData:{},...t};const{keyvalStorage:n,metaStorage:r}=_O(this.config.name,\"key-value\",this.config.initialData);this.idbStorage=n,this.metaStorage=r,this.channel=new BroadcastChannel(`jotai-minidb-broadcast:${this.config.name}`)}async preloadData(){return await this.migrate(),Object.fromEntries(await td(this.idbStorage))}async migrate(){const t=await this.metaStorage(\"readonly\",n=>vn(n.get(\"version\")))||0;if(this.config.version>t){let n=await td(this.idbStorage);for(let r=t+1;r<=this.config.version;r++){const i=this.config.migrations[r];if(!i)throw new Error(`Migrate function for version ${r} is not provided`);n=await Promise.all(n.map(async([s,o])=>[s,await i(o)]))}await pv(n,this.idbStorage),await this.metaStorage(\"readwrite\",r=>vn(r.put(this.config.version,\"version\"))),this.channel.postMessage({type:\"MIGRATION_COMPLETED\"})}else if(this.config.version<t)throw this.config.onVersionMissmatch(),new Error(`[jotai-minidb] Minimal client version is ${this.config.version} but indexeddb database version is ${t}`)}}function EO(){return Ee(()=>{let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}})}function _O(e,t,n){const r=indexedDB.open(e),i=[];r.onupgradeneeded=o=>{const a=r.result.createObjectStore(t);r.result.createObjectStore(\"_meta\");for(const[l,u]of Object.entries(n))i.push(vn(a.add(u,l)))};const s=vn(r);return{keyvalStorage:async(o,a)=>{const l=await s;return await Promise.all(i),a(l.transaction(t,o).objectStore(t))},metaStorage:(o,a)=>s.then(l=>a(l.transaction(\"_meta\",o).objectStore(\"_meta\")))}}function CO(e){return typeof e==\"function\"}function mt(){return mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(this,arguments)}function jn(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var kO=Vc(function(e){return typeof e==\"string\"?e:null}),Mr=function(t){return t!=null};function Vc(e){return function(t){return Mr(e(t))}}var PO=function(t){return t.length>0},fr=function(t){return Object.keys(t).reduce(function(n,r){var i,s=t[r];return mt({},n,Mr(s)?(i={},i[r]=s,i):{})},{})};function xm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length-1;return function(){for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];for(var a=t[0].apply(this,s),l=1;l<=r;l++)a=t[l].call(this,a);return a}}var RO=Vc(function(e){return Mr(e)&&typeof e==\"object\"&&!Array.isArray(e)?e:null}),AO=Vc(function(e){return Array.isArray(e)&&e.every(kO)&&PO(e)?e:null}),TO=Vc(function(e){return RO(e)&&\"errors\"in e&&AO(e.errors)?{errors:e.errors}:null}),OO=function(t){return TO(t)?{errors:t.errors,source:\"api\"}:{errors:[\"Responded with a status code outside the 2xx range, and the response body is not recognisable.\"],source:\"decoding\"}},Ka=function(t){this.message=t},IO=function(t){return/application\\/[^+]*[+]?(json);?.*/.test(t)},LO=function(t){var n=t.headers.get(\"content-type\");return Mr(n)&&IO(n)},v1=function(t){if(LO(t))return t.json().catch(function(n){throw new Ka(\"unable to parse JSON response.\")});throw new Ka(\"expected JSON response from server.\")},MO=function(t){return function(n){return(n.ok?t({response:n}).then(function(r){return{type:\"success\",status:n.status,response:r,originalResponse:n}}):v1(n).then(function(r){return mt({type:\"error\",status:n.status},OO(r),{originalResponse:n})})).catch(function(r){if(r instanceof Ka)return{type:\"error\",source:\"decoding\",status:n.status,originalResponse:n,errors:[r.message]};throw r})}},wn=function(){return function(t){var n=t.response;return v1(n)}},NO=function(t){return function(n){Object.keys(t).forEach(function(r){return n.searchParams.set(r,t[r].toString())})}},FO=function(t){return function(n){n.pathname===\"/\"?n.pathname=t:n.pathname+=t}},DO=function(t){var n=t.pathname,r=t.query;return function(i){var s=new URL(i);return FO(n)(s),NO(r)(s),s.toString()}},$O=function(t){var n={};return t.forEach(function(r,i){n[i]=r}),n},jO=function(t){var n=new URL(t),r=n.pathname,i=n.searchParams,s=$O(i);return{query:s,pathname:r===\"/\"?void 0:r}},Rt=function(t){return function(n,r){r===void 0&&(r={});var i=t(n),s=i.headers,o=i.query,a=jn(i,[\"headers\",\"query\"]);return mt({},a,r,{query:o,headers:mt({},s,r.headers)})}},ut=function(t){return t},zO=function(t){var n=t.accessKey,r=t.apiVersion,i=r===void 0?\"v1\":r,s=t.apiUrl,o=s===void 0?\"https://api.unsplash.com\":s,a=t.headers,l=t.fetch,u=jn(t,[\"accessKey\",\"apiVersion\",\"apiUrl\",\"headers\",\"fetch\"]);return function(f){var c=f.handleResponse,d=f.handleRequest;return xm(d,function(h){var g=h.pathname,v=h.query,x=h.method,m=x===void 0?\"GET\":x,p=h.headers,w=h.body,S=h.signal,k=DO({pathname:g,query:v})(o),E=mt({method:m,headers:mt({},a,p,{\"Accept-Version\":i},Mr(n)?{Authorization:\"Client-ID \"+n}:{}),body:w,signal:S},u),y=l??fetch;return y(k,E).then(MO(c))})}},nd=\"x-total\",UO=function(t){var n=t.headers.get(nd);if(Mr(n)){var r=parseInt(n);if(Number.isInteger(r))return r;throw new Ka(\"expected \"+nd+\" header to be valid integer.\")}else throw new Ka(\"expected \"+nd+\" header to exist.\")},Ci=function(){return function(t){var n=t.response;return wn()({response:n}).then(function(r){return{results:r,total:UO(n)}})}},w1=function(t){return Mr(t)?{collections:t.join()}:{}},BO=function(t){return Mr(t)?{topics:t.join()}:{}},zn=function(t){var n=t.page,r=t.perPage,i=t.orderBy;return fr({per_page:r,order_by:i,page:n})},Wc=\"/collections\",HO=function(){var e=function(n){var r=n.collectionId;return Wc+\"/\"+r+\"/photos\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.collectionId,r=t.orientation,i=jn(t,[\"collectionId\",\"orientation\"]);return{pathname:e({collectionId:n}),query:fr(mt({},zn(i),{orientation:r}))}}),handleResponse:Ci()})}(),VO=function(){var e=function(n){var r=n.collectionId;return Wc+\"/\"+r};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}}),handleResponse:wn()})}(),WO=function(){var e=function(){return Wc};return ut({getPathname:e,handleRequest:Rt(function(t){return t===void 0&&(t={}),{pathname:e(),query:zn(t)}}),handleResponse:Ci()})}(),QO=function(){var e=function(n){var r=n.collectionId;return Wc+\"/\"+r+\"/related\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}}),handleResponse:wn()})}(),qa=\"/photos\",KO=function(){var e=function(){return qa};return ut({getPathname:function(n){return e()},handleRequest:Rt(function(t){return t===void 0&&(t={}),{pathname:qa,query:fr(zn(t))}}),handleResponse:Ci()})}(),qO=function(){var e=function(n){var r=n.photoId;return qa+\"/\"+r};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}}),handleResponse:wn()})}(),JO=function(){var e=function(n){var r=n.photoId;return qa+\"/\"+r+\"/statistics\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}}),handleResponse:wn()})}(),GO=function(){var e=function(){return qa+\"/random\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t===void 0?{}:t,r=n.collectionIds,i=n.contentFilter,s=n.topicIds,o=jn(n,[\"collectionIds\",\"contentFilter\",\"topicIds\"]);return{pathname:e(),query:fr(mt({},o,{content_filter:i},w1(r),BO(s))),headers:{\"cache-control\":\"no-cache\"}}}),handleResponse:wn()})}(),XO={handleRequest:Rt(function(e){var t=e.downloadLocation,n=jO(t),r=n.pathname,i=n.query;if(!Mr(r))throw new Error(\"Could not parse pathname from url.\");return{pathname:r,query:fr(i)}}),handleResponse:wn()},Sm=\"/search\",YO=function(){var e=function(){return Sm+\"/photos\"};return ut({getPathname:function(n){return e()},handleRequest:Rt(function(t){var n=t.query,r=t.page,i=t.perPage,s=t.orderBy,o=t.collectionIds,a=t.lang,l=t.contentFilter,u=jn(t,[\"query\",\"page\",\"perPage\",\"orderBy\",\"collectionIds\",\"lang\",\"contentFilter\"]);return{pathname:e(),query:fr(mt({query:n,content_filter:l,lang:a,order_by:s},zn({page:r,perPage:i}),w1(o),u))}}),handleResponse:wn()})}(),ZO=function(){var e=function(){return Sm+\"/collections\"};return ut({getPathname:function(n){return e()},handleRequest:Rt(function(t){var n=t.query,r=jn(t,[\"query\"]);return{pathname:e(),query:mt({query:n},zn(r))}}),handleResponse:wn()})}(),eI=function(){var e=function(){return Sm+\"/users\"};return ut({getPathname:function(n){return e()},handleRequest:Rt(function(t){var n=t.query,r=jn(t,[\"query\"]);return{pathname:e(),query:mt({query:n},zn(r))}}),handleResponse:wn()})}(),Qc=\"/users\",tI=function(){var e=function(n){var r=n.username;return Qc+\"/\"+r};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.username;return{pathname:e({username:n}),query:{}}}),handleResponse:wn()})}(),nI=function(){var e=function(n){var r=n.username;return Qc+\"/\"+r+\"/photos\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.username,r=t.stats,i=t.orientation,s=jn(t,[\"username\",\"stats\",\"orientation\"]);return{pathname:e({username:n}),query:fr(mt({},zn(s),{orientation:i,stats:r}))}}),handleResponse:Ci()})}(),rI=function(){var e=function(n){var r=n.username;return Qc+\"/\"+r+\"/likes\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.username,r=t.orientation,i=jn(t,[\"username\",\"orientation\"]);return{pathname:e({username:n}),query:fr(mt({},zn(i),{orientation:r}))}}),handleResponse:Ci()})}(),iI=function(){var e=function(n){var r=n.username;return Qc+\"/\"+r+\"/collections\"};return ut({getPathname:e,handleRequest:Rt(function(t){var n=t.username,r=jn(t,[\"username\"]);return{pathname:e({username:n}),query:zn(r)}}),handleResponse:Ci()})}(),x1=\"/topics\",oc=function(t){var n=t.topicIdOrSlug;return x1+\"/\"+n},sI=ut({getPathname:oc,handleRequest:function(t){var n=t.page,r=t.perPage,i=t.orderBy,s=t.topicIdsOrSlugs;return{pathname:x1,query:fr(mt({},zn({page:n,perPage:r}),{ids:s==null?void 0:s.join(\",\"),order_by:i}))}},handleResponse:Ci()}),oI=ut({getPathname:oc,handleRequest:function(t){var n=t.topicIdOrSlug;return{pathname:oc({topicIdOrSlug:n}),query:{}}},handleResponse:wn()}),aI=function(){var e=xm(oc,function(t){return t+\"/photos\"});return ut({getPathname:e,handleRequest:function(n){var r=n.topicIdOrSlug,i=n.orientation,s=jn(n,[\"topicIdOrSlug\",\"orientation\"]);return{pathname:e({topicIdOrSlug:r}),query:fr(mt({},zn(s),{orientation:i}))}},handleResponse:Ci()})}(),mv;(function(e){e.Afrikaans=\"af\",e.Amharic=\"am\",e.Arabic=\"ar\",e.Azerbaijani=\"az\",e.Belarusian=\"be\",e.Bulgarian=\"bg\",e.Bengali=\"bn\",e.Bosnian=\"bs\",e.Catalan=\"ca\",e.Cebuano=\"ceb\",e.Corsican=\"co\",e.Czech=\"cs\",e.Welsh=\"cy\",e.Danish=\"da\",e.German=\"de\",e.Greek=\"el\",e.English=\"en\",e.Esperanto=\"eo\",e.Spanish=\"es\",e.Estonian=\"et\",e.Basque=\"eu\",e.Persian=\"fa\",e.Finnish=\"fi\",e.French=\"fr\",e.Frisian=\"fy\",e.Irish=\"ga\",e.ScotsGaelic=\"gd\",e.Galician=\"gl\",e.Gujarati=\"gu\",e.Hausa=\"ha\",e.Hawaiian=\"haw\",e.Hindi=\"hi\",e.Hmong=\"hmn\",e.Croatian=\"hr\",e.HaitianCreole=\"ht\",e.Hungarian=\"hu\",e.Armenian=\"hy\",e.Indonesian=\"id\",e.Igbo=\"ig\",e.Icelandic=\"is\",e.Italian=\"it\",e.Hebrew=\"iw\",e.Japanese=\"ja\",e.Javanese=\"jw\",e.Georgian=\"ka\",e.Kazakh=\"kk\",e.Khmer=\"km\",e.Kannada=\"kn\",e.Korean=\"ko\",e.Kurdish=\"ku\",e.Kyrgyz=\"ky\",e.Latin=\"la\",e.Luxembourgish=\"lb\",e.Lao=\"lo\",e.Lithuanian=\"lt\",e.Latvian=\"lv\",e.Malagasy=\"mg\",e.Maori=\"mi\",e.Macedonian=\"mk\",e.Malayalam=\"ml\",e.Mongolian=\"mn\",e.Marathi=\"mr\",e.Malay=\"ms\",e.Maltese=\"mt\",e.Myanmar=\"my\",e.Nepali=\"ne\",e.Dutch=\"nl\",e.Norwegian=\"no\",e.Nyanja=\"ny\",e.Oriya=\"or\",e.Punjabi=\"pa\",e.Polish=\"pl\",e.Pashto=\"ps\",e.Portuguese=\"pt\",e.Romanian=\"ro\",e.Russian=\"ru\",e.Kinyarwanda=\"rw\",e.Sindhi=\"sd\",e.Sinhala=\"si\",e.Slovak=\"sk\",e.Slovenian=\"sl\",e.Samoan=\"sm\",e.Shona=\"sn\",e.Somali=\"so\",e.Albanian=\"sq\",e.Serbian=\"sr\",e.Sesotho=\"st\",e.Sundanese=\"su\",e.Swedish=\"sv\",e.Swahili=\"sw\",e.Tamil=\"ta\",e.Telugu=\"te\",e.Tajik=\"tg\",e.Thai=\"th\",e.Turkmen=\"tk\",e.Filipino=\"tl\",e.Turkish=\"tr\",e.Tatar=\"tt\",e.Uighur=\"ug\",e.Ukrainian=\"uk\",e.Urdu=\"ur\",e.Uzbek=\"uz\",e.Vietnamese=\"vi\",e.Xhosa=\"xh\",e.Yiddish=\"yi\",e.Yoruba=\"yo\",e.ChineseSimplified=\"zh\",e.ChineseTraditional=\"zh-TW\",e.Zulu=\"zu\"})(mv||(mv={}));var gv;(function(e){e.LATEST=\"latest\",e.POPULAR=\"popular\",e.VIEWS=\"views\",e.DOWNLOADS=\"downloads\",e.OLDEST=\"oldest\"})(gv||(gv={}));var lI=xm(zO,function(e){return{photos:{get:e(qO),list:e(KO),getStats:e(JO),getRandom:e(GO),trackDownload:e(XO)},users:{getPhotos:e(nI),getCollections:e(iI),getLikes:e(rI),get:e(tI)},search:{getCollections:e(ZO),getPhotos:e(YO),getUsers:e(eI)},collections:{getPhotos:e(HO),get:e(VO),list:e(WO),getRelated:e(QO)},topics:{list:e(sI),get:e(oI),getPhotos:e(aI)}}});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const uI=lI({accessKey:\"1inrzYXNOHwdgpiNEW6DQOjZzIfSp0X-zaTRMcgwhZo\"});function S1(e){try{const{childNodes:t}=e;for(let n=t.length-1;n>=0;n-=1){const r=t[n];r.nodeType===Node.COMMENT_NODE?r.remove():r.nodeType===Node.ELEMENT_NODE&&S1(r)}}catch(t){console.error(t)}}function D2(e,t,n){return t===\"html\"?`<html>\n  <head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <script src=\"https://cdn.tailwindcss.com?plugins=forms,typography\"><\\/script>\n\t\t<script src=\"https://unpkg.com/unlazy@0.11.3/dist/unlazy.with-hashing.iife.js\" defer init><\\/script>\n\t\t<script type=\"text/javascript\">\n\t\t\twindow.tailwind.config = {\n\t\t\t\tdarkMode: ['class'],\n\t\t\t\ttheme: {\n\t\t\t\t\textend: {\n\t\t\t\t\t\tcolors: {\n\t\t\t\t\t\t\tborder: 'hsl(var(--border))',\n\t\t\t\t\t\t\tinput: 'hsl(var(--input))',\n\t\t\t\t\t\t\tring: 'hsl(var(--ring))',\n\t\t\t\t\t\t\tbackground: 'hsl(var(--background))',\n\t\t\t\t\t\t\tforeground: 'hsl(var(--foreground))',\n\t\t\t\t\t\t\tprimary: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--primary))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--primary-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsecondary: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--secondary))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--secondary-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdestructive: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--destructive))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--destructive-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tmuted: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--muted))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--muted-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\taccent: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--accent))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--accent-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpopover: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--popover))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--popover-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcard: {\n\t\t\t\t\t\t\t\tDEFAULT: 'hsl(var(--card))',\n\t\t\t\t\t\t\t\tforeground: 'hsl(var(--card-foreground))'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t<\\/script>\n\t\t<style type=\"text/tailwindcss\">\n\t\t\t@layer base {\n\t\t\t\t:root {\n\t\t\t\t\t${Object.entries(n.cssVars.light).map(([r,i])=>`--${r}: ${i};`).join(`\n`)}\n\t\t\t\t}\n\t\t\t\t.dark {\n\t\t\t\t\t${Object.entries(n.cssVars.dark).map(([r,i])=>`--${r}: ${i};`).join(`\n`)}\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n  </head>\n  <body>\n    ${e}\n  </body>\n</html>`:e}const yv=new Map;async function cI(e,t){var l;let n=\"landscape\",r=500,i=500;const s=e.src.match(/\\/(\\d+)x(\\d+)/);if(s)r=Number.parseInt(s[1],10),i=Number.parseInt(s[2],10),n=r>i?\"landscape\":\"portrait\",r===i&&(n=\"squarish\");else if(/\\/(\\d+)/.test(e.src)){const u=e.src.match(/\\/(\\d+)/);r=Number.parseInt((u==null?void 0:u[1])??\"500\",10),i=r}let o=yv.get(e.alt)??[],a;if(o.length>0&&(a=o[Math.floor(t*o.length)]),!a)try{console.log(`Searching unsplash for ${e.alt} ${e.src}`),o=((l=(await uI.search.getPhotos({query:e.alt,orientation:n})).response)==null?void 0:l.results)??[],o.length>0&&(a=o[Math.floor(t*o.length)],yv.set(e.alt,o))}catch(u){console.error(u)}if(a){const u=new URL(a.urls.regular),f=new URLSearchParams(u.search);return f.set(\"w\",r.toString()),f.set(\"h\",i.toString()),f.set(\"fit\",\"crop\"),u.search=f.toString(),{url:u.toString(),width:r,height:i,blurhash:a.blur_hash??void 0}}}function fI(e){for(const t of e)delete t.dataset.src,delete t.dataset.blurhash,t.removeAttribute(\"width\"),t.removeAttribute(\"height\"),t.removeAttribute(\"loading\")}async function dI(e,t){const n=[];let r=0;for(const s of e)if(n.push(cI(s,t)),r+=1,r>10){console.warn(\"Only unsplashing the first 10 images\");break}const i=await Promise.all(n);r=0;for(const s of e){if(!s.src.includes(\".svg\")){const o=i[r];o&&(s.dataset.src=o.url,s.width=o.width,s.height=o.height,s.loading=\"lazy\",o.blurhash&&(s.dataset.blurhash=o.blurhash))}if(r+=1,r>10)break}}function hI(e){const t=e.querySelectorAll(\"script\"),n=[];for(const r of t)n.push({text:r.innerHTML,src:r.src,type:r.type});return n}function pI(e){const t=document.createElement(\"div\");return t.append(document.createTextNode(e)),t.innerHTML}async function mI(e,t=!1,n=Math.random()){const i=new DOMParser().parseFromString(e,\"text/html\");return S1(i.body),t?(console.log(`Unsplashing ${i.images.length} images`),await dI(i.images,n)):fI(i.images),{html:i.body.innerHTML,js:hI(i),pureHTML:e}}const gI={};function yI(e,t){const n=gI,r=typeof n.includeImageAlt==\"boolean\"?n.includeImageAlt:!0,i=typeof n.includeHtml==\"boolean\"?n.includeHtml:!0;return b1(e,r,i)}function b1(e,t,n){if(vI(e)){if(\"value\"in e)return e.type===\"html\"&&!n?\"\":e.value;if(t&&\"alt\"in e&&e.alt)return e.alt;if(\"children\"in e)return vv(e.children,t,n)}return Array.isArray(e)?vv(e,t,n):\"\"}function vv(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=b1(e[i],t,n);return r.join(\"\")}function vI(e){return!!(e&&typeof e==\"object\")}const wv=document.createElement(\"i\");function bm(e){const t=\"&\"+e+\";\";wv.innerHTML=t;const n=wv.textContent;return n.charCodeAt(n.length-1)===59&&e!==\"semi\"||n===t?!1:n}function ar(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function dn(e,t){return e.length>0?(ar(e,e.length,0,t),e):t}const xv={}.hasOwnProperty;function wI(e){const t={};let n=-1;for(;++n<e.length;)xI(t,e[n]);return t}function xI(e,t){let n;for(n in t){const i=(xv.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){xv.call(i,o)||(i[o]=[]);const a=s[o];SI(i[o],Array.isArray(a)?a:a?[a]:[])}}}function SI(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add===\"after\"?e:r).push(t[n]);ar(e,0,0,r)}function E1(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?\"�\":String.fromCodePoint(n)}function Ks(e){return e.replace(/[\\t\\n\\r ]+/g,\" \").replace(/^ | $/g,\"\").toLowerCase().toUpperCase()}const Zn=ki(/[A-Za-z]/),In=ki(/[\\dA-Za-z]/),bI=ki(/[#-'*+\\--9=?A-Z^-~]/);function Lh(e){return e!==null&&(e<32||e===127)}const Mh=ki(/\\d/),EI=ki(/[\\dA-Fa-f]/),_I=ki(/[!-/:-@[-`{-~]/);function se(e){return e!==null&&e<-2}function Wt(e){return e!==null&&(e<0||e===32)}function _e(e){return e===-2||e===-1||e===32}const CI=ki(new RegExp(\"\\\\p{P}|\\\\p{S}\",\"u\")),kI=ki(/\\s/);function ki(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ie(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(l){return _e(l)?(e.enter(n),a(l)):t(l)}function a(l){return _e(l)&&s++<i?(e.consume(l),a):(e.exit(n),t(l))}}const PI={tokenize:RI};function RI(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter(\"lineEnding\"),e.consume(a),e.exit(\"lineEnding\"),Ie(e,t,\"linePrefix\")}function i(a){return e.enter(\"paragraph\"),s(a)}function s(a){const l=e.enter(\"chunkText\",{contentType:\"text\",previous:n});return n&&(n.next=l),n=l,o(a)}function o(a){if(a===null){e.exit(\"chunkText\"),e.exit(\"paragraph\"),e.consume(a);return}return se(a)?(e.consume(a),e.exit(\"chunkText\"),s):(e.consume(a),o)}}const AI={tokenize:TI},Sv={tokenize:OI};function TI(e){const t=this,n=[];let r=0,i,s,o;return a;function a(w){if(r<n.length){const S=n[r];return t.containerState=S[1],e.attempt(S[0].continuation,l,u)(w)}return u(w)}function l(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&p();const S=t.events.length;let k=S,E;for(;k--;)if(t.events[k][0]===\"exit\"&&t.events[k][1].type===\"chunkFlow\"){E=t.events[k][1].end;break}m(r);let y=S;for(;y<t.events.length;)t.events[y][1].end={...E},y++;return ar(t.events,k+1,0,t.events.slice(S)),t.events.length=y,u(w)}return a(w)}function u(w){if(r===n.length){if(!i)return d(w);if(i.currentConstruct&&i.currentConstruct.concrete)return g(w);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Sv,f,c)(w)}function f(w){return i&&p(),m(r),d(w)}function c(w){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,g(w)}function d(w){return t.containerState={},e.attempt(Sv,h,g)(w)}function h(w){return r++,n.push([t.currentConstruct,t.containerState]),d(w)}function g(w){if(w===null){i&&p(),m(0),e.consume(w);return}return i=i||t.parser.flow(t.now()),e.enter(\"chunkFlow\",{_tokenizer:i,contentType:\"flow\",previous:s}),v(w)}function v(w){if(w===null){x(e.exit(\"chunkFlow\"),!0),m(0),e.consume(w);return}return se(w)?(e.consume(w),x(e.exit(\"chunkFlow\")),r=0,t.interrupt=void 0,a):(e.consume(w),v)}function x(w,S){const k=t.sliceStream(w);if(S&&k.push(null),w.previous=s,s&&(s.next=w),s=w,i.defineSkip(w.start),i.write(k),t.parser.lazy[w.start.line]){let E=i.events.length;for(;E--;)if(i.events[E][1].start.offset<o&&(!i.events[E][1].end||i.events[E][1].end.offset>o))return;const y=t.events.length;let R=y,T,A;for(;R--;)if(t.events[R][0]===\"exit\"&&t.events[R][1].type===\"chunkFlow\"){if(T){A=t.events[R][1].end;break}T=!0}for(m(r),E=y;E<t.events.length;)t.events[E][1].end={...A},E++;ar(t.events,R+1,0,t.events.slice(y)),t.events.length=E}}function m(w){let S=n.length;for(;S-- >w;){const k=n[S];t.containerState=k[1],k[0].exit.call(t,e)}n.length=w}function p(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function OI(e,t,n){return Ie(e,e.attempt(this.parser.constructs.document,t,n),\"linePrefix\",this.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)}function bv(e){if(e===null||Wt(e)||kI(e))return 1;if(CI(e))return 2}function Em(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Nh={name:\"attention\",resolveAll:II,tokenize:LI};function II(e,t){let n=-1,r,i,s,o,a,l,u,f;for(;++n<e.length;)if(e[n][0]===\"enter\"&&e[n][1].type===\"attentionSequence\"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===\"exit\"&&e[r][1].type===\"attentionSequence\"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c={...e[r][1].end},d={...e[n][1].start};Ev(c,-l),Ev(d,l),o={type:l>1?\"strongSequence\":\"emphasisSequence\",start:c,end:{...e[r][1].end}},a={type:l>1?\"strongSequence\":\"emphasisSequence\",start:{...e[n][1].start},end:d},s={type:l>1?\"strongText\":\"emphasisText\",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?\"strong\":\"emphasis\",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=dn(u,[[\"enter\",e[r][1],t],[\"exit\",e[r][1],t]])),u=dn(u,[[\"enter\",i,t],[\"enter\",o,t],[\"exit\",o,t],[\"enter\",s,t]]),u=dn(u,Em(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=dn(u,[[\"exit\",s,t],[\"enter\",a,t],[\"exit\",a,t],[\"exit\",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,u=dn(u,[[\"enter\",e[n][1],t],[\"exit\",e[n][1],t]])):f=0,ar(e,r-1,n-r+3,u),n=r+u.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type===\"attentionSequence\"&&(e[n][1].type=\"data\");return e}function LI(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=bv(r);let s;return o;function o(l){return s=l,e.enter(\"attentionSequence\"),a(l)}function a(l){if(l===s)return e.consume(l),a;const u=e.exit(\"attentionSequence\"),f=bv(l),c=!f||f===2&&i||n.includes(l),d=!i||i===2&&f||n.includes(r);return u._open=!!(s===42?c:c&&(i||!d)),u._close=!!(s===42?d:d&&(f||!c)),t(l)}}function Ev(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const MI={name:\"autolink\",tokenize:NI};function NI(e,t,n){let r=0;return i;function i(h){return e.enter(\"autolink\"),e.enter(\"autolinkMarker\"),e.consume(h),e.exit(\"autolinkMarker\"),e.enter(\"autolinkProtocol\"),s}function s(h){return Zn(h)?(e.consume(h),o):h===64?n(h):u(h)}function o(h){return h===43||h===45||h===46||In(h)?(r=1,a(h)):u(h)}function a(h){return h===58?(e.consume(h),r=0,l):(h===43||h===45||h===46||In(h))&&r++<32?(e.consume(h),a):(r=0,u(h))}function l(h){return h===62?(e.exit(\"autolinkProtocol\"),e.enter(\"autolinkMarker\"),e.consume(h),e.exit(\"autolinkMarker\"),e.exit(\"autolink\"),t):h===null||h===32||h===60||Lh(h)?n(h):(e.consume(h),l)}function u(h){return h===64?(e.consume(h),f):bI(h)?(e.consume(h),u):n(h)}function f(h){return In(h)?c(h):n(h)}function c(h){return h===46?(e.consume(h),r=0,f):h===62?(e.exit(\"autolinkProtocol\").type=\"autolinkEmail\",e.enter(\"autolinkMarker\"),e.consume(h),e.exit(\"autolinkMarker\"),e.exit(\"autolink\"),t):d(h)}function d(h){if((h===45||In(h))&&r++<63){const g=h===45?d:c;return e.consume(h),g}return n(h)}}const Kc={partial:!0,tokenize:FI};function FI(e,t,n){return r;function r(s){return _e(s)?Ie(e,i,\"linePrefix\")(s):i(s)}function i(s){return s===null||se(s)?t(s):n(s)}}const _1={continuation:{tokenize:$I},exit:jI,name:\"blockQuote\",tokenize:DI};function DI(e,t,n){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter(\"blockQuote\",{_container:!0}),a.open=!0),e.enter(\"blockQuotePrefix\"),e.enter(\"blockQuoteMarker\"),e.consume(o),e.exit(\"blockQuoteMarker\"),s}return n(o)}function s(o){return _e(o)?(e.enter(\"blockQuotePrefixWhitespace\"),e.consume(o),e.exit(\"blockQuotePrefixWhitespace\"),e.exit(\"blockQuotePrefix\"),t):(e.exit(\"blockQuotePrefix\"),t(o))}}function $I(e,t,n){const r=this;return i;function i(o){return _e(o)?Ie(e,s,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(o):s(o)}function s(o){return e.attempt(_1,t,n)(o)}}function jI(e){e.exit(\"blockQuote\")}const C1={name:\"characterEscape\",tokenize:zI};function zI(e,t,n){return r;function r(s){return e.enter(\"characterEscape\"),e.enter(\"escapeMarker\"),e.consume(s),e.exit(\"escapeMarker\"),i}function i(s){return _I(s)?(e.enter(\"characterEscapeValue\"),e.consume(s),e.exit(\"characterEscapeValue\"),e.exit(\"characterEscape\"),t):n(s)}}const k1={name:\"characterReference\",tokenize:UI};function UI(e,t,n){const r=this;let i=0,s,o;return a;function a(c){return e.enter(\"characterReference\"),e.enter(\"characterReferenceMarker\"),e.consume(c),e.exit(\"characterReferenceMarker\"),l}function l(c){return c===35?(e.enter(\"characterReferenceMarkerNumeric\"),e.consume(c),e.exit(\"characterReferenceMarkerNumeric\"),u):(e.enter(\"characterReferenceValue\"),s=31,o=In,f(c))}function u(c){return c===88||c===120?(e.enter(\"characterReferenceMarkerHexadecimal\"),e.consume(c),e.exit(\"characterReferenceMarkerHexadecimal\"),e.enter(\"characterReferenceValue\"),s=6,o=EI,f):(e.enter(\"characterReferenceValue\"),s=7,o=Mh,f(c))}function f(c){if(c===59&&i){const d=e.exit(\"characterReferenceValue\");return o===In&&!bm(r.sliceSerialize(d))?n(c):(e.enter(\"characterReferenceMarker\"),e.consume(c),e.exit(\"characterReferenceMarker\"),e.exit(\"characterReference\"),t)}return o(c)&&i++<s?(e.consume(c),f):n(c)}}const _v={partial:!0,tokenize:HI},Cv={concrete:!0,name:\"codeFenced\",tokenize:BI};function BI(e,t,n){const r=this,i={partial:!0,tokenize:k};let s=0,o=0,a;return l;function l(E){return u(E)}function u(E){const y=r.events[r.events.length-1];return s=y&&y[1].type===\"linePrefix\"?y[2].sliceSerialize(y[1],!0).length:0,a=E,e.enter(\"codeFenced\"),e.enter(\"codeFencedFence\"),e.enter(\"codeFencedFenceSequence\"),f(E)}function f(E){return E===a?(o++,e.consume(E),f):o<3?n(E):(e.exit(\"codeFencedFenceSequence\"),_e(E)?Ie(e,c,\"whitespace\")(E):c(E))}function c(E){return E===null||se(E)?(e.exit(\"codeFencedFence\"),r.interrupt?t(E):e.check(_v,v,S)(E)):(e.enter(\"codeFencedFenceInfo\"),e.enter(\"chunkString\",{contentType:\"string\"}),d(E))}function d(E){return E===null||se(E)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceInfo\"),c(E)):_e(E)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceInfo\"),Ie(e,h,\"whitespace\")(E)):E===96&&E===a?n(E):(e.consume(E),d)}function h(E){return E===null||se(E)?c(E):(e.enter(\"codeFencedFenceMeta\"),e.enter(\"chunkString\",{contentType:\"string\"}),g(E))}function g(E){return E===null||se(E)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceMeta\"),c(E)):E===96&&E===a?n(E):(e.consume(E),g)}function v(E){return e.attempt(i,S,x)(E)}function x(E){return e.enter(\"lineEnding\"),e.consume(E),e.exit(\"lineEnding\"),m}function m(E){return s>0&&_e(E)?Ie(e,p,\"linePrefix\",s+1)(E):p(E)}function p(E){return E===null||se(E)?e.check(_v,v,S)(E):(e.enter(\"codeFlowValue\"),w(E))}function w(E){return E===null||se(E)?(e.exit(\"codeFlowValue\"),p(E)):(e.consume(E),w)}function S(E){return e.exit(\"codeFenced\"),t(E)}function k(E,y,R){let T=0;return A;function A(V){return E.enter(\"lineEnding\"),E.consume(V),E.exit(\"lineEnding\"),O}function O(V){return E.enter(\"codeFencedFence\"),_e(V)?Ie(E,I,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(V):I(V)}function I(V){return V===a?(E.enter(\"codeFencedFenceSequence\"),z(V)):R(V)}function z(V){return V===a?(T++,E.consume(V),z):T>=o?(E.exit(\"codeFencedFenceSequence\"),_e(V)?Ie(E,B,\"whitespace\")(V):B(V)):R(V)}function B(V){return V===null||se(V)?(E.exit(\"codeFencedFence\"),y(V)):R(V)}}}function HI(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter(\"lineEnding\"),e.consume(o),e.exit(\"lineEnding\"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const rd={name:\"codeIndented\",tokenize:WI},VI={partial:!0,tokenize:QI};function WI(e,t,n){const r=this;return i;function i(u){return e.enter(\"codeIndented\"),Ie(e,s,\"linePrefix\",5)(u)}function s(u){const f=r.events[r.events.length-1];return f&&f[1].type===\"linePrefix\"&&f[2].sliceSerialize(f[1],!0).length>=4?o(u):n(u)}function o(u){return u===null?l(u):se(u)?e.attempt(VI,o,l)(u):(e.enter(\"codeFlowValue\"),a(u))}function a(u){return u===null||se(u)?(e.exit(\"codeFlowValue\"),o(u)):(e.consume(u),a)}function l(u){return e.exit(\"codeIndented\"),t(u)}}function QI(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):se(o)?(e.enter(\"lineEnding\"),e.consume(o),e.exit(\"lineEnding\"),i):Ie(e,s,\"linePrefix\",5)(o)}function s(o){const a=r.events[r.events.length-1];return a&&a[1].type===\"linePrefix\"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):se(o)?i(o):n(o)}}const KI={name:\"codeText\",previous:JI,resolve:qI,tokenize:GI};function qI(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===\"lineEnding\"||e[n][1].type===\"space\")&&(e[t][1].type===\"lineEnding\"||e[t][1].type===\"space\")){for(r=n;++r<t;)if(e[r][1].type===\"codeTextData\"){e[n][1].type=\"codeTextPadding\",e[t][1].type=\"codeTextPadding\",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==\"lineEnding\"&&(i=r):(r===t||e[r][1].type===\"lineEnding\")&&(e[i][1].type=\"codeTextData\",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function JI(e){return e!==96||this.events[this.events.length-1][1].type===\"characterEscape\"}function GI(e,t,n){let r=0,i,s;return o;function o(c){return e.enter(\"codeText\"),e.enter(\"codeTextSequence\"),a(c)}function a(c){return c===96?(e.consume(c),r++,a):(e.exit(\"codeTextSequence\"),l(c))}function l(c){return c===null?n(c):c===32?(e.enter(\"space\"),e.consume(c),e.exit(\"space\"),l):c===96?(s=e.enter(\"codeTextSequence\"),i=0,f(c)):se(c)?(e.enter(\"lineEnding\"),e.consume(c),e.exit(\"lineEnding\"),l):(e.enter(\"codeTextData\"),u(c))}function u(c){return c===null||c===32||c===96||se(c)?(e.exit(\"codeTextData\"),l(c)):(e.consume(c),u)}function f(c){return c===96?(e.consume(c),i++,f):i===r?(e.exit(\"codeTextSequence\"),e.exit(\"codeText\"),t(c)):(s.type=\"codeTextData\",u(c))}}class XI{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError(\"Cannot access index `\"+t+\"` in a splice buffer of size `\"+(this.left.length+this.right.length)+\"`\");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Jo(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Jo(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Jo(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Jo(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Jo(this.left,n.reverse())}}}function Jo(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function P1(e){const t={};let n=-1,r,i,s,o,a,l,u;const f=new XI(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type===\"chunkFlow\"&&f.get(n-1)[1].type===\"listItemPrefix\"&&(l=r[1]._tokenizer.events,s=0,s<l.length&&l[s][1].type===\"lineEndingBlank\"&&(s+=2),s<l.length&&l[s][1].type===\"content\"))for(;++s<l.length&&l[s][1].type!==\"content\";)l[s][1].type===\"chunkText\"&&(l[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]===\"enter\")r[1].contentType&&(Object.assign(t,YI(f,n)),n=t[n],u=!0);else if(r[1]._container){for(s=n,i=void 0;s--;)if(o=f.get(s),o[1].type===\"lineEnding\"||o[1].type===\"lineEndingBlank\")o[0]===\"enter\"&&(i&&(f.get(i)[1].type=\"lineEndingBlank\"),o[1].type=\"lineEnding\",i=s);else if(!(o[1].type===\"linePrefix\"||o[1].type===\"listItemIndent\"))break;i&&(r[1].end={...f.get(i)[1].start},a=f.slice(i,n),a.unshift(r),f.splice(i,n-i+1,a))}}return ar(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function YI(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,l=[],u={};let f,c,d=-1,h=n,g=0,v=0;const x=[v];for(;h;){for(;e.get(++i)[1]!==h;);s.push(i),h._tokenizer||(f=r.sliceStream(h),h.next||f.push(null),c&&o.defineSkip(h.start),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(f),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),c=h,h=h.next}for(h=n;++d<a.length;)a[d][0]===\"exit\"&&a[d-1][0]===\"enter\"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(v=d+1,x.push(v),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(o.events=[],h?(h._tokenizer=void 0,h.previous=void 0):x.pop(),d=x.length;d--;){const m=a.slice(x[d],x[d+1]),p=s.pop();l.push([p,p+m.length-1]),e.splice(p,2,m)}for(l.reverse(),d=-1;++d<l.length;)u[g+l[d][0]]=g+l[d][1],g+=l[d][1]-l[d][0]-1;return u}const ZI={resolve:tL,tokenize:nL},eL={partial:!0,tokenize:rL};function tL(e){return P1(e),e}function nL(e,t){let n;return r;function r(a){return e.enter(\"content\"),n=e.enter(\"chunkContent\",{contentType:\"content\"}),i(a)}function i(a){return a===null?s(a):se(a)?e.check(eL,o,s)(a):(e.consume(a),i)}function s(a){return e.exit(\"chunkContent\"),e.exit(\"content\"),t(a)}function o(a){return e.consume(a),e.exit(\"chunkContent\"),n.next=e.enter(\"chunkContent\",{contentType:\"content\",previous:n}),n=n.next,i}}function rL(e,t,n){const r=this;return i;function i(o){return e.exit(\"chunkContent\"),e.enter(\"lineEnding\"),e.consume(o),e.exit(\"lineEnding\"),Ie(e,s,\"linePrefix\")}function s(o){if(o===null||se(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(\"codeIndented\")&&a&&a[1].type===\"linePrefix\"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function R1(e,t,n,r,i,s,o,a,l){const u=l||Number.POSITIVE_INFINITY;let f=0;return c;function c(m){return m===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(m),e.exit(s),d):m===null||m===32||m===41||Lh(m)?n(m):(e.enter(r),e.enter(o),e.enter(a),e.enter(\"chunkString\",{contentType:\"string\"}),v(m))}function d(m){return m===62?(e.enter(s),e.consume(m),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter(\"chunkString\",{contentType:\"string\"}),h(m))}function h(m){return m===62?(e.exit(\"chunkString\"),e.exit(a),d(m)):m===null||m===60||se(m)?n(m):(e.consume(m),m===92?g:h)}function g(m){return m===60||m===62||m===92?(e.consume(m),h):h(m)}function v(m){return!f&&(m===null||m===41||Wt(m))?(e.exit(\"chunkString\"),e.exit(a),e.exit(o),e.exit(r),t(m)):f<u&&m===40?(e.consume(m),f++,v):m===41?(e.consume(m),f--,v):m===null||m===32||m===40||Lh(m)?n(m):(e.consume(m),m===92?x:v)}function x(m){return m===40||m===41||m===92?(e.consume(m),v):v(m)}}function A1(e,t,n,r,i,s){const o=this;let a=0,l;return u;function u(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(s),f}function f(h){return a>999||h===null||h===91||h===93&&!l||h===94&&!a&&\"_hiddenFootnoteSupport\"in o.parser.constructs?n(h):h===93?(e.exit(s),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):se(h)?(e.enter(\"lineEnding\"),e.consume(h),e.exit(\"lineEnding\"),f):(e.enter(\"chunkString\",{contentType:\"string\"}),c(h))}function c(h){return h===null||h===91||h===93||se(h)||a++>999?(e.exit(\"chunkString\"),f(h)):(e.consume(h),l||(l=!_e(h)),h===92?d:c)}function d(h){return h===91||h===92||h===93?(e.consume(h),a++,c):c(h)}}function T1(e,t,n,r,i,s){let o;return a;function a(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,l):n(d)}function l(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(s),u(d))}function u(d){return d===o?(e.exit(s),l(o)):d===null?n(d):se(d)?(e.enter(\"lineEnding\"),e.consume(d),e.exit(\"lineEnding\"),Ie(e,u,\"linePrefix\")):(e.enter(\"chunkString\",{contentType:\"string\"}),f(d))}function f(d){return d===o||d===null||se(d)?(e.exit(\"chunkString\"),u(d)):(e.consume(d),d===92?c:f)}function c(d){return d===o||d===92?(e.consume(d),f):f(d)}}function wa(e,t){let n;return r;function r(i){return se(i)?(e.enter(\"lineEnding\"),e.consume(i),e.exit(\"lineEnding\"),n=!0,r):_e(i)?Ie(e,r,n?\"linePrefix\":\"lineSuffix\")(i):t(i)}}const iL={name:\"definition\",tokenize:oL},sL={partial:!0,tokenize:aL};function oL(e,t,n){const r=this;let i;return s;function s(h){return e.enter(\"definition\"),o(h)}function o(h){return A1.call(r,e,a,n,\"definitionLabel\",\"definitionLabelMarker\",\"definitionLabelString\")(h)}function a(h){return i=Ks(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter(\"definitionMarker\"),e.consume(h),e.exit(\"definitionMarker\"),l):n(h)}function l(h){return Wt(h)?wa(e,u)(h):u(h)}function u(h){return R1(e,f,n,\"definitionDestination\",\"definitionDestinationLiteral\",\"definitionDestinationLiteralMarker\",\"definitionDestinationRaw\",\"definitionDestinationString\")(h)}function f(h){return e.attempt(sL,c,c)(h)}function c(h){return _e(h)?Ie(e,d,\"whitespace\")(h):d(h)}function d(h){return h===null||se(h)?(e.exit(\"definition\"),r.parser.defined.push(i),t(h)):n(h)}}function aL(e,t,n){return r;function r(a){return Wt(a)?wa(e,i)(a):n(a)}function i(a){return T1(e,s,n,\"definitionTitle\",\"definitionTitleMarker\",\"definitionTitleString\")(a)}function s(a){return _e(a)?Ie(e,o,\"whitespace\")(a):o(a)}function o(a){return a===null||se(a)?t(a):n(a)}}const lL={name:\"hardBreakEscape\",tokenize:uL};function uL(e,t,n){return r;function r(s){return e.enter(\"hardBreakEscape\"),e.consume(s),i}function i(s){return se(s)?(e.exit(\"hardBreakEscape\"),t(s)):n(s)}}const cL={name:\"headingAtx\",resolve:fL,tokenize:dL};function fL(e,t){let n=e.length-2,r=3,i,s;return e[r][1].type===\"whitespace\"&&(r+=2),n-2>r&&e[n][1].type===\"whitespace\"&&(n-=2),e[n][1].type===\"atxHeadingSequence\"&&(r===n-1||n-4>r&&e[n-2][1].type===\"whitespace\")&&(n-=r+1===n?2:4),n>r&&(i={type:\"atxHeadingText\",start:e[r][1].start,end:e[n][1].end},s={type:\"chunkText\",start:e[r][1].start,end:e[n][1].end,contentType:\"text\"},ar(e,r,n-r+1,[[\"enter\",i,t],[\"enter\",s,t],[\"exit\",s,t],[\"exit\",i,t]])),e}function dL(e,t,n){let r=0;return i;function i(f){return e.enter(\"atxHeading\"),s(f)}function s(f){return e.enter(\"atxHeadingSequence\"),o(f)}function o(f){return f===35&&r++<6?(e.consume(f),o):f===null||Wt(f)?(e.exit(\"atxHeadingSequence\"),a(f)):n(f)}function a(f){return f===35?(e.enter(\"atxHeadingSequence\"),l(f)):f===null||se(f)?(e.exit(\"atxHeading\"),t(f)):_e(f)?Ie(e,a,\"whitespace\")(f):(e.enter(\"atxHeadingText\"),u(f))}function l(f){return f===35?(e.consume(f),l):(e.exit(\"atxHeadingSequence\"),a(f))}function u(f){return f===null||f===35||Wt(f)?(e.exit(\"atxHeadingText\"),a(f)):(e.consume(f),u)}}const hL=[\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"search\",\"section\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"],kv=[\"pre\",\"script\",\"style\",\"textarea\"],pL={concrete:!0,name:\"htmlFlow\",resolveTo:yL,tokenize:vL},mL={partial:!0,tokenize:xL},gL={partial:!0,tokenize:wL};function yL(e){let t=e.length;for(;t--&&!(e[t][0]===\"enter\"&&e[t][1].type===\"htmlFlow\"););return t>1&&e[t-2][1].type===\"linePrefix\"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function vL(e,t,n){const r=this;let i,s,o,a,l;return u;function u(C){return f(C)}function f(C){return e.enter(\"htmlFlow\"),e.enter(\"htmlFlowData\"),e.consume(C),c}function c(C){return C===33?(e.consume(C),d):C===47?(e.consume(C),s=!0,v):C===63?(e.consume(C),i=3,r.interrupt?t:b):Zn(C)?(e.consume(C),o=String.fromCharCode(C),x):n(C)}function d(C){return C===45?(e.consume(C),i=2,h):C===91?(e.consume(C),i=5,a=0,g):Zn(C)?(e.consume(C),i=4,r.interrupt?t:b):n(C)}function h(C){return C===45?(e.consume(C),r.interrupt?t:b):n(C)}function g(C){const Ae=\"CDATA[\";return C===Ae.charCodeAt(a++)?(e.consume(C),a===Ae.length?r.interrupt?t:I:g):n(C)}function v(C){return Zn(C)?(e.consume(C),o=String.fromCharCode(C),x):n(C)}function x(C){if(C===null||C===47||C===62||Wt(C)){const Ae=C===47,Le=o.toLowerCase();return!Ae&&!s&&kv.includes(Le)?(i=1,r.interrupt?t(C):I(C)):hL.includes(o.toLowerCase())?(i=6,Ae?(e.consume(C),m):r.interrupt?t(C):I(C)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):s?p(C):w(C))}return C===45||In(C)?(e.consume(C),o+=String.fromCharCode(C),x):n(C)}function m(C){return C===62?(e.consume(C),r.interrupt?t:I):n(C)}function p(C){return _e(C)?(e.consume(C),p):A(C)}function w(C){return C===47?(e.consume(C),A):C===58||C===95||Zn(C)?(e.consume(C),S):_e(C)?(e.consume(C),w):A(C)}function S(C){return C===45||C===46||C===58||C===95||In(C)?(e.consume(C),S):k(C)}function k(C){return C===61?(e.consume(C),E):_e(C)?(e.consume(C),k):w(C)}function E(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),l=C,y):_e(C)?(e.consume(C),E):R(C)}function y(C){return C===l?(e.consume(C),l=null,T):C===null||se(C)?n(C):(e.consume(C),y)}function R(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||Wt(C)?k(C):(e.consume(C),R)}function T(C){return C===47||C===62||_e(C)?w(C):n(C)}function A(C){return C===62?(e.consume(C),O):n(C)}function O(C){return C===null||se(C)?I(C):_e(C)?(e.consume(C),O):n(C)}function I(C){return C===45&&i===2?(e.consume(C),G):C===60&&i===1?(e.consume(C),Q):C===62&&i===4?(e.consume(C),Z):C===63&&i===3?(e.consume(C),b):C===93&&i===5?(e.consume(C),U):se(C)&&(i===6||i===7)?(e.exit(\"htmlFlowData\"),e.check(mL,pe,z)(C)):C===null||se(C)?(e.exit(\"htmlFlowData\"),z(C)):(e.consume(C),I)}function z(C){return e.check(gL,B,pe)(C)}function B(C){return e.enter(\"lineEnding\"),e.consume(C),e.exit(\"lineEnding\"),V}function V(C){return C===null||se(C)?z(C):(e.enter(\"htmlFlowData\"),I(C))}function G(C){return C===45?(e.consume(C),b):I(C)}function Q(C){return C===47?(e.consume(C),o=\"\",M):I(C)}function M(C){if(C===62){const Ae=o.toLowerCase();return kv.includes(Ae)?(e.consume(C),Z):I(C)}return Zn(C)&&o.length<8?(e.consume(C),o+=String.fromCharCode(C),M):I(C)}function U(C){return C===93?(e.consume(C),b):I(C)}function b(C){return C===62?(e.consume(C),Z):C===45&&i===2?(e.consume(C),b):I(C)}function Z(C){return C===null||se(C)?(e.exit(\"htmlFlowData\"),pe(C)):(e.consume(C),Z)}function pe(C){return e.exit(\"htmlFlow\"),t(C)}}function wL(e,t,n){const r=this;return i;function i(o){return se(o)?(e.enter(\"lineEnding\"),e.consume(o),e.exit(\"lineEnding\"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function xL(e,t,n){return r;function r(i){return e.enter(\"lineEnding\"),e.consume(i),e.exit(\"lineEnding\"),e.attempt(Kc,t,n)}}const SL={name:\"htmlText\",tokenize:bL};function bL(e,t,n){const r=this;let i,s,o;return a;function a(b){return e.enter(\"htmlText\"),e.enter(\"htmlTextData\"),e.consume(b),l}function l(b){return b===33?(e.consume(b),u):b===47?(e.consume(b),k):b===63?(e.consume(b),w):Zn(b)?(e.consume(b),R):n(b)}function u(b){return b===45?(e.consume(b),f):b===91?(e.consume(b),s=0,g):Zn(b)?(e.consume(b),p):n(b)}function f(b){return b===45?(e.consume(b),h):n(b)}function c(b){return b===null?n(b):b===45?(e.consume(b),d):se(b)?(o=c,Q(b)):(e.consume(b),c)}function d(b){return b===45?(e.consume(b),h):c(b)}function h(b){return b===62?G(b):b===45?d(b):c(b)}function g(b){const Z=\"CDATA[\";return b===Z.charCodeAt(s++)?(e.consume(b),s===Z.length?v:g):n(b)}function v(b){return b===null?n(b):b===93?(e.consume(b),x):se(b)?(o=v,Q(b)):(e.consume(b),v)}function x(b){return b===93?(e.consume(b),m):v(b)}function m(b){return b===62?G(b):b===93?(e.consume(b),m):v(b)}function p(b){return b===null||b===62?G(b):se(b)?(o=p,Q(b)):(e.consume(b),p)}function w(b){return b===null?n(b):b===63?(e.consume(b),S):se(b)?(o=w,Q(b)):(e.consume(b),w)}function S(b){return b===62?G(b):w(b)}function k(b){return Zn(b)?(e.consume(b),E):n(b)}function E(b){return b===45||In(b)?(e.consume(b),E):y(b)}function y(b){return se(b)?(o=y,Q(b)):_e(b)?(e.consume(b),y):G(b)}function R(b){return b===45||In(b)?(e.consume(b),R):b===47||b===62||Wt(b)?T(b):n(b)}function T(b){return b===47?(e.consume(b),G):b===58||b===95||Zn(b)?(e.consume(b),A):se(b)?(o=T,Q(b)):_e(b)?(e.consume(b),T):G(b)}function A(b){return b===45||b===46||b===58||b===95||In(b)?(e.consume(b),A):O(b)}function O(b){return b===61?(e.consume(b),I):se(b)?(o=O,Q(b)):_e(b)?(e.consume(b),O):T(b)}function I(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),i=b,z):se(b)?(o=I,Q(b)):_e(b)?(e.consume(b),I):(e.consume(b),B)}function z(b){return b===i?(e.consume(b),i=void 0,V):b===null?n(b):se(b)?(o=z,Q(b)):(e.consume(b),z)}function B(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||Wt(b)?T(b):(e.consume(b),B)}function V(b){return b===47||b===62||Wt(b)?T(b):n(b)}function G(b){return b===62?(e.consume(b),e.exit(\"htmlTextData\"),e.exit(\"htmlText\"),t):n(b)}function Q(b){return e.exit(\"htmlTextData\"),e.enter(\"lineEnding\"),e.consume(b),e.exit(\"lineEnding\"),M}function M(b){return _e(b)?Ie(e,U,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(b):U(b)}function U(b){return e.enter(\"htmlTextData\"),o(b)}}const _m={name:\"labelEnd\",resolveAll:kL,resolveTo:PL,tokenize:RL},EL={tokenize:AL},_L={tokenize:TL},CL={tokenize:OL};function kL(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type===\"labelImage\"||r.type===\"labelLink\"||r.type===\"labelEnd\"){const i=r.type===\"labelImage\"?4:2;r.type=\"data\",t+=i}}return e.length!==n.length&&ar(e,0,e.length,n),e}function PL(e,t){let n=e.length,r=0,i,s,o,a;for(;n--;)if(i=e[n][1],s){if(i.type===\"link\"||i.type===\"labelLink\"&&i._inactive)break;e[n][0]===\"enter\"&&i.type===\"labelLink\"&&(i._inactive=!0)}else if(o){if(e[n][0]===\"enter\"&&(i.type===\"labelImage\"||i.type===\"labelLink\")&&!i._balanced&&(s=n,i.type!==\"labelLink\")){r=2;break}}else i.type===\"labelEnd\"&&(o=n);const l={type:e[s][1].type===\"labelLink\"?\"link\":\"image\",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},u={type:\"label\",start:{...e[s][1].start},end:{...e[o][1].end}},f={type:\"labelText\",start:{...e[s+r+2][1].end},end:{...e[o-2][1].start}};return a=[[\"enter\",l,t],[\"enter\",u,t]],a=dn(a,e.slice(s+1,s+r+3)),a=dn(a,[[\"enter\",f,t]]),a=dn(a,Em(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),a=dn(a,[[\"exit\",f,t],e[o-2],e[o-1],[\"exit\",u,t]]),a=dn(a,e.slice(o+1)),a=dn(a,[[\"exit\",l,t]]),ar(e,s,e.length,a),e}function RL(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type===\"labelImage\"||r.events[i][1].type===\"labelLink\")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return a;function a(d){return s?s._inactive?c(d):(o=r.parser.defined.includes(Ks(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter(\"labelEnd\"),e.enter(\"labelMarker\"),e.consume(d),e.exit(\"labelMarker\"),e.exit(\"labelEnd\"),l):n(d)}function l(d){return d===40?e.attempt(EL,f,o?f:c)(d):d===91?e.attempt(_L,f,o?u:c)(d):o?f(d):c(d)}function u(d){return e.attempt(CL,f,c)(d)}function f(d){return t(d)}function c(d){return s._balanced=!0,n(d)}}function AL(e,t,n){return r;function r(c){return e.enter(\"resource\"),e.enter(\"resourceMarker\"),e.consume(c),e.exit(\"resourceMarker\"),i}function i(c){return Wt(c)?wa(e,s)(c):s(c)}function s(c){return c===41?f(c):R1(e,o,a,\"resourceDestination\",\"resourceDestinationLiteral\",\"resourceDestinationLiteralMarker\",\"resourceDestinationRaw\",\"resourceDestinationString\",32)(c)}function o(c){return Wt(c)?wa(e,l)(c):f(c)}function a(c){return n(c)}function l(c){return c===34||c===39||c===40?T1(e,u,n,\"resourceTitle\",\"resourceTitleMarker\",\"resourceTitleString\")(c):f(c)}function u(c){return Wt(c)?wa(e,f)(c):f(c)}function f(c){return c===41?(e.enter(\"resourceMarker\"),e.consume(c),e.exit(\"resourceMarker\"),e.exit(\"resource\"),t):n(c)}}function TL(e,t,n){const r=this;return i;function i(a){return A1.call(r,e,s,o,\"reference\",\"referenceMarker\",\"referenceString\")(a)}function s(a){return r.parser.defined.includes(Ks(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}function OL(e,t,n){return r;function r(s){return e.enter(\"reference\"),e.enter(\"referenceMarker\"),e.consume(s),e.exit(\"referenceMarker\"),i}function i(s){return s===93?(e.enter(\"referenceMarker\"),e.consume(s),e.exit(\"referenceMarker\"),e.exit(\"reference\"),t):n(s)}}const IL={name:\"labelStartImage\",resolveAll:_m.resolveAll,tokenize:LL};function LL(e,t,n){const r=this;return i;function i(a){return e.enter(\"labelImage\"),e.enter(\"labelImageMarker\"),e.consume(a),e.exit(\"labelImageMarker\"),s}function s(a){return a===91?(e.enter(\"labelMarker\"),e.consume(a),e.exit(\"labelMarker\"),e.exit(\"labelImage\"),o):n(a)}function o(a){return a===94&&\"_hiddenFootnoteSupport\"in r.parser.constructs?n(a):t(a)}}const ML={name:\"labelStartLink\",resolveAll:_m.resolveAll,tokenize:NL};function NL(e,t,n){const r=this;return i;function i(o){return e.enter(\"labelLink\"),e.enter(\"labelMarker\"),e.consume(o),e.exit(\"labelMarker\"),e.exit(\"labelLink\"),s}function s(o){return o===94&&\"_hiddenFootnoteSupport\"in r.parser.constructs?n(o):t(o)}}const id={name:\"lineEnding\",tokenize:FL};function FL(e,t){return n;function n(r){return e.enter(\"lineEnding\"),e.consume(r),e.exit(\"lineEnding\"),Ie(e,t,\"linePrefix\")}}const vu={name:\"thematicBreak\",tokenize:DL};function DL(e,t,n){let r=0,i;return s;function s(u){return e.enter(\"thematicBreak\"),o(u)}function o(u){return i=u,a(u)}function a(u){return u===i?(e.enter(\"thematicBreakSequence\"),l(u)):r>=3&&(u===null||se(u))?(e.exit(\"thematicBreak\"),t(u)):n(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit(\"thematicBreakSequence\"),_e(u)?Ie(e,a,\"whitespace\")(u):a(u))}}const Dt={continuation:{tokenize:UL},exit:HL,name:\"list\",tokenize:zL},$L={partial:!0,tokenize:VL},jL={partial:!0,tokenize:BL};function zL(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type===\"linePrefix\"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(h){const g=r.containerState.type||(h===42||h===43||h===45?\"listUnordered\":\"listOrdered\");if(g===\"listUnordered\"?!r.containerState.marker||h===r.containerState.marker:Mh(h)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g===\"listUnordered\")return e.enter(\"listItemPrefix\"),h===42||h===45?e.check(vu,n,u)(h):u(h);if(!r.interrupt||h===49)return e.enter(\"listItemPrefix\"),e.enter(\"listItemValue\"),l(h)}return n(h)}function l(h){return Mh(h)&&++o<10?(e.consume(h),l):(!r.interrupt||o<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit(\"listItemValue\"),u(h)):n(h)}function u(h){return e.enter(\"listItemMarker\"),e.consume(h),e.exit(\"listItemMarker\"),r.containerState.marker=r.containerState.marker||h,e.check(Kc,r.interrupt?n:f,e.attempt($L,d,c))}function f(h){return r.containerState.initialBlankLine=!0,s++,d(h)}function c(h){return _e(h)?(e.enter(\"listItemPrefixWhitespace\"),e.consume(h),e.exit(\"listItemPrefixWhitespace\"),d):n(h)}function d(h){return r.containerState.size=s+r.sliceSerialize(e.exit(\"listItemPrefix\"),!0).length,t(h)}}function UL(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Kc,i,s);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ie(e,t,\"listItemIndent\",r.containerState.size+1)(a)}function s(a){return r.containerState.furtherBlankLines||!_e(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(jL,t,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ie(e,e.attempt(Dt,t,n),\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(a)}}function BL(e,t,n){const r=this;return Ie(e,i,\"listItemIndent\",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type===\"listItemIndent\"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}function HL(e){e.exit(this.containerState.type)}function VL(e,t,n){const r=this;return Ie(e,i,\"listItemPrefixWhitespace\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!_e(s)&&o&&o[1].type===\"listItemPrefixWhitespace\"?t(s):n(s)}}const Pv={name:\"setextUnderline\",resolveTo:WL,tokenize:QL};function WL(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]===\"enter\"){if(e[n][1].type===\"content\"){r=n;break}e[n][1].type===\"paragraph\"&&(i=n)}else e[n][1].type===\"content\"&&e.splice(n,1),!s&&e[n][1].type===\"definition\"&&(s=n);const o={type:\"setextHeading\",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=\"setextHeadingText\",s?(e.splice(i,0,[\"enter\",o,t]),e.splice(s+1,0,[\"exit\",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=o,e.push([\"exit\",o,t]),e}function QL(e,t,n){const r=this;let i;return s;function s(u){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!==\"lineEnding\"&&r.events[f][1].type!==\"linePrefix\"&&r.events[f][1].type!==\"content\"){c=r.events[f][1].type===\"paragraph\";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter(\"setextHeadingLine\"),i=u,o(u)):n(u)}function o(u){return e.enter(\"setextHeadingLineSequence\"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit(\"setextHeadingLineSequence\"),_e(u)?Ie(e,l,\"lineSuffix\")(u):l(u))}function l(u){return u===null||se(u)?(e.exit(\"setextHeadingLine\"),t(u)):n(u)}}const KL={tokenize:qL};function qL(e){const t=this,n=e.attempt(Kc,r,e.attempt(this.parser.constructs.flowInitial,i,Ie(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ZI,i)),\"linePrefix\")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter(\"lineEndingBlank\"),e.consume(s),e.exit(\"lineEndingBlank\"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter(\"lineEnding\"),e.consume(s),e.exit(\"lineEnding\"),t.currentConstruct=void 0,n}}const JL={resolveAll:I1()},GL=O1(\"string\"),XL=O1(\"text\");function O1(e){return{resolveAll:I1(e===\"text\"?YL:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,a);return o;function o(f){return u(f)?s(f):a(f)}function a(f){if(f===null){n.consume(f);return}return n.enter(\"data\"),n.consume(f),l}function l(f){return u(f)?(n.exit(\"data\"),s(f)):(n.consume(f),l)}function u(f){if(f===null)return!0;const c=i[f];let d=-1;if(c)for(;++d<c.length;){const h=c[d];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function I1(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type===\"data\"&&(s=i,i++):(!n[i]||n[i][1].type!==\"data\")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}function YL(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===\"lineEnding\")&&e[n-1][1].type===\"data\"){const r=e[n-1][1],i=t.sliceStream(r);let s=i.length,o=-1,a=0,l;for(;s--;){const u=i[s];if(typeof u==\"string\"){for(o=u.length;u.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(u===-2)l=!0,a++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const u={type:n===e.length||l||a<2?\"lineSuffix\":\"hardBreakTrailing\",start:{_bufferIndex:s?o:r.start._bufferIndex+o,_index:r.start._index+s,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,[\"enter\",u,t],[\"exit\",u,t]),n+=2)}n++}return e}const ZL={42:Dt,43:Dt,45:Dt,48:Dt,49:Dt,50:Dt,51:Dt,52:Dt,53:Dt,54:Dt,55:Dt,56:Dt,57:Dt,62:_1},eM={91:iL},tM={[-2]:rd,[-1]:rd,32:rd},nM={35:cL,42:vu,45:[Pv,vu],60:pL,61:Pv,95:vu,96:Cv,126:Cv},rM={38:k1,92:C1},iM={[-5]:id,[-4]:id,[-3]:id,33:IL,38:k1,42:Nh,60:[MI,SL],91:ML,92:[lL,C1],93:_m,95:Nh,96:KI},sM={null:[Nh,JL]},oM={null:[42,95]},aM={null:[]},lM=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:oM,contentInitial:eM,disable:aM,document:ZL,flow:nM,flowInitial:tM,insideSpan:sM,string:rM,text:iM},Symbol.toStringTag,{value:\"Module\"}));function uM(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},s=[];let o=[],a=[];const l={attempt:y(k),check:y(E),consume:p,enter:w,exit:S,interrupt:y(E,{interrupt:!0})},u={code:null,containerState:{},defineSkip:v,events:[],now:g,parser:e,previous:null,sliceSerialize:d,sliceStream:h,write:c};let f=t.tokenize.call(u,l);return t.resolveAll&&s.push(t),u;function c(O){return o=dn(o,O),x(),o[o.length-1]!==null?[]:(R(t,0),u.events=Em(s,u.events,u),u.events)}function d(O,I){return fM(h(O),I)}function h(O){return cM(o,O)}function g(){const{_bufferIndex:O,_index:I,line:z,column:B,offset:V}=r;return{_bufferIndex:O,_index:I,line:z,column:B,offset:V}}function v(O){i[O.line]=O.column,A()}function x(){let O;for(;r._index<o.length;){const I=o[r._index];if(typeof I==\"string\")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<I.length;)m(I.charCodeAt(r._bufferIndex));else m(I)}}function m(O){f=f(O)}function p(O){se(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,A()):O!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=O}function w(O,I){const z=I||{};return z.type=O,z.start=g(),u.events.push([\"enter\",z,u]),a.push(z),z}function S(O){const I=a.pop();return I.end=g(),u.events.push([\"exit\",I,u]),I}function k(O,I){R(O,I.from)}function E(O,I){I.restore()}function y(O,I){return z;function z(B,V,G){let Q,M,U,b;return Array.isArray(B)?pe(B):\"tokenize\"in B?pe([B]):Z(B);function Z(ye){return qe;function qe(vt){const xn=vt!==null&&ye[vt],Sn=vt!==null&&ye.null,dr=[...Array.isArray(xn)?xn:xn?[xn]:[],...Array.isArray(Sn)?Sn:Sn?[Sn]:[]];return pe(dr)(vt)}}function pe(ye){return Q=ye,M=0,ye.length===0?G:C(ye[M])}function C(ye){return qe;function qe(vt){return b=T(),U=ye,ye.partial||(u.currentConstruct=ye),ye.name&&u.parser.constructs.disable.null.includes(ye.name)?Le():ye.tokenize.call(I?Object.assign(Object.create(u),I):u,l,Ae,Le)(vt)}}function Ae(ye){return O(U,b),V}function Le(ye){return b.restore(),++M<Q.length?C(Q[M]):G}}}function R(O,I){O.resolveAll&&!s.includes(O)&&s.push(O),O.resolve&&ar(u.events,I,u.events.length-I,O.resolve(u.events.slice(I),u)),O.resolveTo&&(u.events=O.resolveTo(u.events,u))}function T(){const O=g(),I=u.previous,z=u.currentConstruct,B=u.events.length,V=Array.from(a);return{from:B,restore:G};function G(){r=O,u.previous=I,u.currentConstruct=z,u.events.length=B,a=V,A()}}function A(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function cM(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const a=o[0];typeof a==\"string\"?o[0]=a.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}function fM(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s==\"string\")o=s;else switch(s){case-5:{o=\"\\r\";break}case-4:{o=`\n`;break}case-3:{o=`\\r\n`;break}case-2:{o=t?\" \":\"\t\";break}case-1:{if(!t&&i)continue;o=\" \";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join(\"\")}function dM(e){const r={constructs:wI([lM,...(e||{}).extensions||[]]),content:i(PI),defined:[],document:i(AI),flow:i(KL),lazy:{},string:i(GL),text:i(XL)};return r;function i(s){return o;function o(a){return uM(r,s,a)}}}function hM(e){for(;!P1(e););return e}const Rv=/[\\0\\t\\n\\r]/g;function pM(){let e=1,t=\"\",n=!0,r;return i;function i(s,o,a){const l=[];let u,f,c,d,h;for(s=t+(typeof s==\"string\"?s.toString():new TextDecoder(o||void 0).decode(s)),c=0,t=\"\",n&&(s.charCodeAt(0)===65279&&c++,n=void 0);c<s.length;){if(Rv.lastIndex=c,u=Rv.exec(s),d=u&&u.index!==void 0?u.index:s.length,h=s.charCodeAt(d),!u){t=s.slice(c);break}if(h===10&&c===d&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),c<d&&(l.push(s.slice(c,d)),e+=d-c),h){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}c=d+1}return a&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const mM=/\\\\([!-/:-@[-`{-~])|&(#(?:\\d{1,7}|x[\\da-f]{1,6})|[\\da-z]{1,31});/gi;function gM(e){return e.replace(mM,yM)}function yM(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return E1(n.slice(s?2:1),s?16:10)}return bm(n)||e}function xa(e){return!e||typeof e!=\"object\"?\"\":\"position\"in e||\"type\"in e?Av(e.position):\"start\"in e||\"end\"in e?Av(e):\"line\"in e||\"column\"in e?Fh(e):\"\"}function Fh(e){return Tv(e&&e.line)+\":\"+Tv(e&&e.column)}function Av(e){return Fh(e&&e.start)+\"-\"+Fh(e&&e.end)}function Tv(e){return e&&typeof e==\"number\"?e:1}const L1={}.hasOwnProperty;function vM(e,t,n){return typeof t!=\"string\"&&(n=t,t=void 0),wM(n)(hM(dM(n).document().write(pM()(e,t,!0))))}function wM(e){const t={transforms:[],canContainEols:[\"emphasis\",\"fragment\",\"heading\",\"paragraph\",\"strong\"],enter:{autolink:s(Un),autolinkProtocol:T,autolinkEmail:T,atxHeading:s(us),blockQuote:s(Sn),characterEscape:T,characterReference:T,codeFenced:s(dr),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(dr,o),codeText:s(Ge,o),codeTextData:T,data:T,codeFlowValue:T,definition:s(Ft),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Ri),hardBreakEscape:s(on),hardBreakTrailing:s(on),htmlFlow:s(cs,o),htmlFlowData:T,htmlText:s(cs,o),htmlTextData:T,image:s(Oo),label:o,link:s(Un),listItem:s(lf),listItemValue:d,listOrdered:s(gl,c),listUnordered:s(gl),paragraph:s(uf),reference:C,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(us),strong:s(cf),thematicBreak:s(Ai)},exit:{atxHeading:l(),atxHeadingSequence:k,autolink:l(),autolinkEmail:xn,autolinkProtocol:vt,blockQuote:l(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:Le,characterReferenceMarkerNumeric:Le,characterReferenceValue:ye,characterReference:qe,codeFenced:l(x),codeFencedFence:v,codeFencedFenceInfo:h,codeFencedFenceMeta:g,codeFlowValue:A,codeIndented:l(m),codeText:l(V),codeTextData:A,data:A,definition:l(),definitionDestinationString:S,definitionLabelString:p,definitionTitleString:w,emphasis:l(),hardBreakEscape:l(I),hardBreakTrailing:l(I),htmlFlow:l(z),htmlFlowData:A,htmlText:l(B),htmlTextData:A,image:l(Q),label:U,labelText:M,lineEnding:O,link:l(G),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ae,resourceDestinationString:b,resourceTitleString:Z,resource:pe,setextHeading:l(R),setextHeadingLineSequence:y,setextHeadingText:E,strong:l(),thematicBreak:l()}};M1(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(F){let H={type:\"root\",children:[]};const re={stack:[H],tokenStack:[],config:t,enter:a,exit:u,buffer:o,resume:f,data:n},ae=[];let Ce=-1;for(;++Ce<F.length;)if(F[Ce][1].type===\"listOrdered\"||F[Ce][1].type===\"listUnordered\")if(F[Ce][0]===\"enter\")ae.push(Ce);else{const wt=ae.pop();Ce=i(F,wt,Ce)}for(Ce=-1;++Ce<F.length;){const wt=t[F[Ce][0]];L1.call(wt,F[Ce][1].type)&&wt[F[Ce][1].type].call(Object.assign({sliceSerialize:F[Ce][2].sliceSerialize},re),F[Ce][1])}if(re.tokenStack.length>0){const wt=re.tokenStack[re.tokenStack.length-1];(wt[1]||Ov).call(re,void 0,wt[0])}for(H.position={start:Ur(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:Ur(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},Ce=-1;++Ce<t.transforms.length;)H=t.transforms[Ce](H)||H;return H}function i(F,H,re){let ae=H-1,Ce=-1,wt=!1,pr,it,Nr,Fr;for(;++ae<=re;){const xt=F[ae];switch(xt[1].type){case\"listUnordered\":case\"listOrdered\":case\"blockQuote\":{xt[0]===\"enter\"?Ce++:Ce--,Fr=void 0;break}case\"lineEndingBlank\":{xt[0]===\"enter\"&&(pr&&!Fr&&!Ce&&!Nr&&(Nr=ae),Fr=void 0);break}case\"linePrefix\":case\"listItemValue\":case\"listItemMarker\":case\"listItemPrefix\":case\"listItemPrefixWhitespace\":break;default:Fr=void 0}if(!Ce&&xt[0]===\"enter\"&&xt[1].type===\"listItemPrefix\"||Ce===-1&&xt[0]===\"exit\"&&(xt[1].type===\"listUnordered\"||xt[1].type===\"listOrdered\")){if(pr){let Dr=ae;for(it=void 0;Dr--;){const an=F[Dr];if(an[1].type===\"lineEnding\"||an[1].type===\"lineEndingBlank\"){if(an[0]===\"exit\")continue;it&&(F[it][1].type=\"lineEndingBlank\",wt=!0),an[1].type=\"lineEnding\",it=Dr}else if(!(an[1].type===\"linePrefix\"||an[1].type===\"blockQuotePrefix\"||an[1].type===\"blockQuotePrefixWhitespace\"||an[1].type===\"blockQuoteMarker\"||an[1].type===\"listItemIndent\"))break}Nr&&(!it||Nr<it)&&(pr._spread=!0),pr.end=Object.assign({},it?F[it][1].start:xt[1].end),F.splice(it||ae,0,[\"exit\",pr,xt[2]]),ae++,re++}if(xt[1].type===\"listItemPrefix\"){const Dr={type:\"listItem\",_spread:!1,start:Object.assign({},xt[1].start),end:void 0};pr=Dr,F.splice(ae,0,[\"enter\",Dr,xt[2]]),ae++,re++,Nr=void 0,Fr=!0}}}return F[H][1]._spread=wt,re}function s(F,H){return re;function re(ae){a.call(this,F(ae),ae),H&&H.call(this,ae)}}function o(){this.stack.push({type:\"fragment\",children:[]})}function a(F,H,re){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([H,re||void 0]),F.position={start:Ur(H.start),end:void 0}}function l(F){return H;function H(re){F&&F.call(this,re),u.call(this,re)}}function u(F,H){const re=this.stack.pop(),ae=this.tokenStack.pop();if(ae)ae[0].type!==F.type&&(H?H.call(this,F,ae[0]):(ae[1]||Ov).call(this,F,ae[0]));else throw new Error(\"Cannot close `\"+F.type+\"` (\"+xa({start:F.start,end:F.end})+\"): it’s not open\");re.position.end=Ur(F.end)}function f(){return yI(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function d(F){if(this.data.expectingFirstListItemValue){const H=this.stack[this.stack.length-2];H.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function h(){const F=this.resume(),H=this.stack[this.stack.length-1];H.lang=F}function g(){const F=this.resume(),H=this.stack[this.stack.length-1];H.meta=F}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){const F=this.resume(),H=this.stack[this.stack.length-1];H.value=F.replace(/^(\\r?\\n|\\r)|(\\r?\\n|\\r)$/g,\"\"),this.data.flowCodeInside=void 0}function m(){const F=this.resume(),H=this.stack[this.stack.length-1];H.value=F.replace(/(\\r?\\n|\\r)$/g,\"\")}function p(F){const H=this.resume(),re=this.stack[this.stack.length-1];re.label=H,re.identifier=Ks(this.sliceSerialize(F)).toLowerCase()}function w(){const F=this.resume(),H=this.stack[this.stack.length-1];H.title=F}function S(){const F=this.resume(),H=this.stack[this.stack.length-1];H.url=F}function k(F){const H=this.stack[this.stack.length-1];if(!H.depth){const re=this.sliceSerialize(F).length;H.depth=re}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function y(F){const H=this.stack[this.stack.length-1];H.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function R(){this.data.setextHeadingSlurpLineEnding=void 0}function T(F){const re=this.stack[this.stack.length-1].children;let ae=re[re.length-1];(!ae||ae.type!==\"text\")&&(ae=hr(),ae.position={start:Ur(F.start),end:void 0},re.push(ae)),this.stack.push(ae)}function A(F){const H=this.stack.pop();H.value+=this.sliceSerialize(F),H.position.end=Ur(F.end)}function O(F){const H=this.stack[this.stack.length-1];if(this.data.atHardBreak){const re=H.children[H.children.length-1];re.position.end=Ur(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(H.type)&&(T.call(this,F),A.call(this,F))}function I(){this.data.atHardBreak=!0}function z(){const F=this.resume(),H=this.stack[this.stack.length-1];H.value=F}function B(){const F=this.resume(),H=this.stack[this.stack.length-1];H.value=F}function V(){const F=this.resume(),H=this.stack[this.stack.length-1];H.value=F}function G(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||\"shortcut\";F.type+=\"Reference\",F.referenceType=H,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function Q(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||\"shortcut\";F.type+=\"Reference\",F.referenceType=H,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function M(F){const H=this.sliceSerialize(F),re=this.stack[this.stack.length-2];re.label=gM(H),re.identifier=Ks(H).toLowerCase()}function U(){const F=this.stack[this.stack.length-1],H=this.resume(),re=this.stack[this.stack.length-1];if(this.data.inReference=!0,re.type===\"link\"){const ae=F.children;re.children=ae}else re.alt=H}function b(){const F=this.resume(),H=this.stack[this.stack.length-1];H.url=F}function Z(){const F=this.resume(),H=this.stack[this.stack.length-1];H.title=F}function pe(){this.data.inReference=void 0}function C(){this.data.referenceType=\"collapsed\"}function Ae(F){const H=this.resume(),re=this.stack[this.stack.length-1];re.label=H,re.identifier=Ks(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType=\"full\"}function Le(F){this.data.characterReferenceType=F.type}function ye(F){const H=this.sliceSerialize(F),re=this.data.characterReferenceType;let ae;re?(ae=E1(H,re===\"characterReferenceMarkerNumeric\"?10:16),this.data.characterReferenceType=void 0):ae=bm(H);const Ce=this.stack[this.stack.length-1];Ce.value+=ae}function qe(F){const H=this.stack.pop();H.position.end=Ur(F.end)}function vt(F){A.call(this,F);const H=this.stack[this.stack.length-1];H.url=this.sliceSerialize(F)}function xn(F){A.call(this,F);const H=this.stack[this.stack.length-1];H.url=\"mailto:\"+this.sliceSerialize(F)}function Sn(){return{type:\"blockquote\",children:[]}}function dr(){return{type:\"code\",lang:null,meta:null,value:\"\"}}function Ge(){return{type:\"inlineCode\",value:\"\"}}function Ft(){return{type:\"definition\",identifier:\"\",label:null,title:null,url:\"\"}}function Ri(){return{type:\"emphasis\",children:[]}}function us(){return{type:\"heading\",depth:0,children:[]}}function on(){return{type:\"break\"}}function cs(){return{type:\"html\",value:\"\"}}function Oo(){return{type:\"image\",title:null,url:\"\",alt:null}}function Un(){return{type:\"link\",title:null,url:\"\",children:[]}}function gl(F){return{type:\"list\",ordered:F.type===\"listOrdered\",start:null,spread:F._spread,children:[]}}function lf(F){return{type:\"listItem\",spread:F._spread,checked:null,children:[]}}function uf(){return{type:\"paragraph\",children:[]}}function cf(){return{type:\"strong\",children:[]}}function hr(){return{type:\"text\",value:\"\"}}function Ai(){return{type:\"thematicBreak\"}}}function Ur(e){return{line:e.line,column:e.column,offset:e.offset}}function M1(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?M1(e,r):xM(e,r)}}function xM(e,t){let n;for(n in t)if(L1.call(t,n))switch(n){case\"canContainEols\":{const r=t[n];r&&e[n].push(...r);break}case\"transforms\":{const r=t[n];r&&e[n].push(...r);break}case\"enter\":case\"exit\":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Ov(e,t){throw e?new Error(\"Cannot close `\"+e.type+\"` (\"+xa({start:e.start,end:e.end})+\"): a different token (`\"+t.type+\"`, \"+xa({start:t.start,end:t.end})+\") is open\"):new Error(\"Cannot close document, a token (`\"+t.type+\"`, \"+xa({start:t.start,end:t.end})+\") is still open\")}function SM(e){const t=this;t.parser=n;function n(r){return vM(r,{...t.data(\"settings\"),...e,extensions:t.data(\"micromarkExtensions\")||[],mdastExtensions:t.data(\"fromMarkdownExtensions\")||[]})}}function Iv(e){if(e)throw e}var wu=Object.prototype.hasOwnProperty,N1=Object.prototype.toString,Lv=Object.defineProperty,Mv=Object.getOwnPropertyDescriptor,Nv=function(t){return typeof Array.isArray==\"function\"?Array.isArray(t):N1.call(t)===\"[object Array]\"},Fv=function(t){if(!t||N1.call(t)!==\"[object Object]\")return!1;var n=wu.call(t,\"constructor\"),r=t.constructor&&t.constructor.prototype&&wu.call(t.constructor.prototype,\"isPrototypeOf\");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>\"u\"||wu.call(t,i)},Dv=function(t,n){Lv&&n.name===\"__proto__\"?Lv(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},$v=function(t,n){if(n===\"__proto__\")if(wu.call(t,n)){if(Mv)return Mv(t,n).value}else return;return t[n]},bM=function e(){var t,n,r,i,s,o,a=arguments[0],l=1,u=arguments.length,f=!1;for(typeof a==\"boolean\"&&(f=a,a=arguments[1]||{},l=2),(a==null||typeof a!=\"object\"&&typeof a!=\"function\")&&(a={});l<u;++l)if(t=arguments[l],t!=null)for(n in t)r=$v(a,n),i=$v(t,n),a!==i&&(f&&i&&(Fv(i)||(s=Nv(i)))?(s?(s=!1,o=r&&Nv(r)?r:[]):o=r&&Fv(r)?r:{},Dv(a,{name:n,newValue:e(f,o,i)})):typeof i<\"u\"&&Dv(a,{name:n,newValue:i}));return a};const sd=rp(bM);function Dh(e){if(typeof e!=\"object\"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function EM(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!=\"function\")throw new TypeError(\"Expected function as last argument, not \"+o);a(null,...i);function a(l,...u){const f=e[++s];let c=-1;if(l){o(l);return}for(;++c<i.length;)(u[c]===null||u[c]===void 0)&&(u[c]=i[c]);i=u,f?_M(f,a)(...u):o(null,...u)}}function r(i){if(typeof i!=\"function\")throw new TypeError(\"Expected `middelware` to be a function, not \"+i);return e.push(i),t}}function _M(e,t){let n;return r;function r(...o){const a=e.length>o.length;let l;a&&o.push(i);try{l=e.apply(this,o)}catch(u){const f=u;if(a&&n)throw f;return i(f)}a||(l&&l.then&&typeof l.then==\"function\"?l.then(s,i):l instanceof Error?i(l):s(l))}function i(o,...a){n||(n=!0,t(o,...a))}function s(o){i(null,o)}}class Qt extends Error{constructor(t,n,r){super(),typeof n==\"string\"&&(r=n,n=void 0);let i=\"\",s={},o=!1;if(n&&(\"line\"in n&&\"column\"in n?s={place:n}:\"start\"in n&&\"end\"in n?s={place:n}:\"type\"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t==\"string\"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r==\"string\"){const l=r.indexOf(\":\");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const a=s.place&&\"start\"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=xa(s.place)||\"1:1\",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack==\"string\"?s.cause.stack:\"\",this.actual,this.expected,this.note,this.url}}Qt.prototype.file=\"\";Qt.prototype.name=\"\";Qt.prototype.reason=\"\";Qt.prototype.message=\"\";Qt.prototype.stack=\"\";Qt.prototype.column=void 0;Qt.prototype.line=void 0;Qt.prototype.ancestors=void 0;Qt.prototype.cause=void 0;Qt.prototype.fatal=void 0;Qt.prototype.place=void 0;Qt.prototype.ruleId=void 0;Qt.prototype.source=void 0;const Qn={basename:CM,dirname:kM,extname:PM,join:RM,sep:\"/\"};function CM(e,t){if(t!==void 0&&typeof t!=\"string\")throw new TypeError('\"ext\" argument must be a string');ul(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?\"\":e.slice(n,r)}if(t===e)return\"\";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function kM(e){if(ul(e),e.length===0)return\".\";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?\"/\":\".\":t===1&&e.codePointAt(0)===47?\"//\":e.slice(0,t)}function PM(e){ul(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?\"\":e.slice(i,n)}function RM(...e){let t=-1,n;for(;++t<e.length;)ul(e[t]),e[t]&&(n=n===void 0?e[t]:n+\"/\"+e[t]);return n===void 0?\".\":AM(n)}function AM(e){ul(e);const t=e.codePointAt(0)===47;let n=TM(e,!t);return n.length===0&&!t&&(n=\".\"),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=\"/\"),t?\"/\"+n:n}function TM(e,t){let n=\"\",r=0,i=-1,s=0,o=-1,a,l;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf(\"/\"),l!==n.length-1){l<0?(n=\"\",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf(\"/\")),i=o,s=0;continue}}else if(n.length>0){n=\"\",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+\"/..\":\"..\",r=2)}else n.length>0?n+=\"/\"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s>-1?s++:s=-1}return n}function ul(e){if(typeof e!=\"string\")throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(e))}const OM={cwd:IM};function IM(){return\"/\"}function $h(e){return!!(e!==null&&typeof e==\"object\"&&\"href\"in e&&e.href&&\"protocol\"in e&&e.protocol&&e.auth===void 0)}function LM(e){if(typeof e==\"string\")e=new URL(e);else if(!$h(e)){const t=new TypeError('The \"path\" argument must be of type string or an instance of URL. Received `'+e+\"`\");throw t.code=\"ERR_INVALID_ARG_TYPE\",t}if(e.protocol!==\"file:\"){const t=new TypeError(\"The URL must be of scheme file\");throw t.code=\"ERR_INVALID_URL_SCHEME\",t}return MM(e)}function MM(e){if(e.hostname!==\"\"){const r=new TypeError('File URL host must be \"localhost\" or empty on darwin');throw r.code=\"ERR_INVALID_FILE_URL_HOST\",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError(\"File URL path must not include encoded / characters\");throw i.code=\"ERR_INVALID_FILE_URL_PATH\",i}}return decodeURIComponent(t)}const od=[\"history\",\"path\",\"basename\",\"stem\",\"extname\",\"dirname\"];class NM{constructor(t){let n;t?$h(t)?n={path:t}:typeof t==\"string\"||FM(t)?n={value:t}:n=t:n={},this.cwd=\"cwd\"in n?\"\":OM.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<od.length;){const s=od[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s===\"history\"?[...n[s]]:n[s])}let i;for(i in n)od.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path==\"string\"?Qn.basename(this.path):void 0}set basename(t){ld(t,\"basename\"),ad(t,\"basename\"),this.path=Qn.join(this.dirname||\"\",t)}get dirname(){return typeof this.path==\"string\"?Qn.dirname(this.path):void 0}set dirname(t){jv(this.basename,\"dirname\"),this.path=Qn.join(t||\"\",this.basename)}get extname(){return typeof this.path==\"string\"?Qn.extname(this.path):void 0}set extname(t){if(ad(t,\"extname\"),jv(this.dirname,\"extname\"),t){if(t.codePointAt(0)!==46)throw new Error(\"`extname` must start with `.`\");if(t.includes(\".\",1))throw new Error(\"`extname` cannot contain multiple dots\")}this.path=Qn.join(this.dirname,this.stem+(t||\"\"))}get path(){return this.history[this.history.length-1]}set path(t){$h(t)&&(t=LM(t)),ld(t,\"path\"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path==\"string\"?Qn.basename(this.path,this.extname):void 0}set stem(t){ld(t,\"stem\"),ad(t,\"stem\"),this.path=Qn.join(this.dirname||\"\",t+(this.extname||\"\"))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Qt(t,n,r);return this.path&&(i.name=this.path+\":\"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?\"\":typeof this.value==\"string\"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function ad(e,t){if(e&&e.includes(Qn.sep))throw new Error(\"`\"+t+\"` cannot be a path: did not expect `\"+Qn.sep+\"`\")}function ld(e,t){if(!e)throw new Error(\"`\"+t+\"` cannot be empty\")}function jv(e,t){if(!e)throw new Error(\"Setting `\"+t+\"` requires `path` to be set too\")}function FM(e){return!!(e&&typeof e==\"object\"&&\"byteLength\"in e&&\"byteOffset\"in e)}const DM=function(e){const r=this.constructor.prototype,i=r[e],s=function(){return i.apply(s,arguments)};return Object.setPrototypeOf(s,r),s},$M={}.hasOwnProperty;class Cm extends DM{constructor(){super(\"copy\"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=EM()}copy(){const t=new Cm;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(sd(!0,{},this.namespace)),t}data(t,n){return typeof t==\"string\"?arguments.length===2?(fd(\"data\",this.frozen),this.namespace[t]=n,this):$M.call(this.namespace,t)&&this.namespace[t]||void 0:t?(fd(\"data\",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i==\"function\"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Ql(t),r=this.parser||this.Parser;return ud(\"parse\",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),ud(\"process\",this.parser||this.Parser),cd(\"process\",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const a=Ql(t),l=r.parse(a);r.run(l,a,function(f,c,d){if(f||!c||!d)return u(f);const h=c,g=r.stringify(h,d);UM(g)?d.value=g:d.result=g,u(f,d)});function u(f,c){f||!c?o(f):s?s(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),ud(\"processSync\",this.parser||this.Parser),cd(\"processSync\",this.compiler||this.Compiler),this.process(t,i),Uv(\"processSync\",\"process\",n),r;function i(s,o){n=!0,Iv(s),r=o}}run(t,n,r){zv(t),this.freeze();const i=this.transformers;return!r&&typeof n==\"function\"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,a){const l=Ql(n);i.run(t,l,u);function u(f,c,d){const h=c||t;f?a(f):o?o(h):r(void 0,h,d)}}}runSync(t,n){let r=!1,i;return this.run(t,n,s),Uv(\"runSync\",\"run\",r),i;function s(o,a){Iv(o),i=a,r=!0}}stringify(t,n){this.freeze();const r=Ql(n),i=this.compiler||this.Compiler;return cd(\"stringify\",i),zv(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(fd(\"use\",this.frozen),t!=null)if(typeof t==\"function\")l(t,n);else if(typeof t==\"object\")Array.isArray(t)?a(t):o(t);else throw new TypeError(\"Expected usable value, not `\"+t+\"`\");return this;function s(u){if(typeof u==\"function\")l(u,[]);else if(typeof u==\"object\")if(Array.isArray(u)){const[f,...c]=u;l(f,c)}else o(u);else throw new TypeError(\"Expected usable value, not `\"+u+\"`\")}function o(u){if(!(\"plugins\"in u)&&!(\"settings\"in u))throw new Error(\"Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither\");a(u.plugins),u.settings&&(i.settings=sd(!0,i.settings,u.settings))}function a(u){let f=-1;if(u!=null)if(Array.isArray(u))for(;++f<u.length;){const c=u[f];s(c)}else throw new TypeError(\"Expected a list of plugins, not `\"+u+\"`\")}function l(u,f){let c=-1,d=-1;for(;++c<r.length;)if(r[c][0]===u){d=c;break}if(d===-1)r.push([u,...f]);else if(f.length>0){let[h,...g]=f;const v=r[d][1];Dh(v)&&Dh(h)&&(h=sd(!0,v,h)),r[d]=[u,h,...g]}}}}const jM=new Cm().freeze();function ud(e,t){if(typeof t!=\"function\")throw new TypeError(\"Cannot `\"+e+\"` without `parser`\")}function cd(e,t){if(typeof t!=\"function\")throw new TypeError(\"Cannot `\"+e+\"` without `compiler`\")}function fd(e,t){if(t)throw new Error(\"Cannot call `\"+e+\"` on a frozen processor.\\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.\")}function zv(e){if(!Dh(e)||typeof e.type!=\"string\")throw new TypeError(\"Expected node, got `\"+e+\"`\")}function Uv(e,t,n){if(!n)throw new Error(\"`\"+e+\"` finished async. Use `\"+t+\"` instead\")}function Ql(e){return zM(e)?e:new NM(e)}function zM(e){return!!(e&&typeof e==\"object\"&&\"message\"in e&&\"messages\"in e)}function UM(e){return typeof e==\"string\"||BM(e)}function BM(e){return!!(e&&typeof e==\"object\"&&\"byteLength\"in e&&\"byteOffset\"in e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function $2(e){return`\n\n---\nprompt: ${e}\n---\n\n`}function Bv(e){let t=e.replaceAll(\"-gray-\",\"-zinc-\");return t=t.replaceAll(\"via.placeholder.com\",\"placehold.co\"),t=t.replaceAll(\"via.placeholder.co\",\"placehold.co\"),t=t.replaceAll(\"placehold.it\",\"placehold.co\"),t=t.replaceAll(/\"[^\"]*\\.(mp3|wav)|'[^']*\\.(mp3|wav)'/g,`\"${document.location.origin}/openui/funky.mp3\"`),t=t.replaceAll(/\"[^\"?]+\\/([^/]+)\\.svg([\"?])/g,`\"${document.location.origin}/openui/$1.svg$2`),t=t.replaceAll(/<!--[\\S\\s]*?-->/g,\"\"),t}function Hv(e,t,n){if(t!=null&&t.includes(\".\"))return{html:Bv(e)};const r={},i=e.slice(0,1e3),s=i.split(`\n`).find(c=>c.trim().startsWith(\"name: \")),o=i.split(`\n`).find(c=>c.trim().startsWith(\"emoji: \"));let a=e.replace(\"```yaml\\n\",\"\").replaceAll(`\n\n`,`\n`);if(a=a.replace(/^(<\\/div>|<\\/script>)\\n/m,`$1\n\n`),s&&(r.name=s.replace(/\\s*name: /,\"\")),o){r.emoji=o.replace(/\\s*emoji: /,\"\");const c=e.indexOf(\"---\",10);c>0&&(a=e.slice(Math.max(0,c+3)))}const l=jM().use(SM).parse(a);let u=l.children.filter(c=>c.type===\"code\"&&[\"html\",\"\"].includes(c.lang??\"\")||c.type===\"html\");for(const c of l.children)if(c.type===\"paragraph\"){let d=\"\";if(c.children[0].type===\"html\")for(const h of c.children)d=d+h.value||\"\";u.push({type:\"code\",lang:\"html\",value:d})}!n&&u.filter(c=>c.value.trim()!==\"\").length===0&&(console.warn(\"No HTML found, parse results:\",l.children),u=[{type:\"code\",lang:\"html\",value:`<div class=\"p-8 prose dark:prose-invert\"><h1 class=text-xl font-bold ${a===\"\"?\"text-red-700\":\"\"}\">Couldn't find any HTML, LLM Response:</h1>${a===\"\"?`<pre class=\"text-xs\"><code class=\"language-html\">${pI(e)}</code></pre>`:a}</div>`}]);const f=l.children.filter(c=>c.type===\"code\"&&c.lang===\"javascript\");return r.html=Bv([...u.map(c=>c.value),...f.map(c=>`<script type=\"text/javascript\">${c.value}<\\/script>`)].join(`\n`)),r}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const j2=[\"preact\",\"react\",\"svelte\",\"vue\",\"web component\",\"angular\",\"streamlit\"];class z2{constructor(t,n,r){ln(this,\"item\");ln(this,\"setItem\");ln(this,\"saveHistory\");ln(this,\"pureHTMLMemo\");ln(this,\"chapters\");ln(this,\"id\");ln(this,\"name\");ln(this,\"emoji\");ln(this,\"createdAt\");this.item=t,this.setItem=n,this.saveHistory=r,this.name=t.name??\"pending\",this.emoji=t.emoji??\"❓\",this.createdAt=t.createdAt??new Date,this.chapters=this.parseChapters(),this.pureHTMLMemo=Array.from({length:this.chapters.length})}parseChapters(){var t;if(this.item.markdown){const n=[];let r=0,i=0,s=0,{prompt:o}=this.item;const{markdown:a}=this.item;let l;for(const u of a.split(\"---\"))if(u.split(`\n`).some(f=>f.trim().startsWith(\"version:\"))&&(l=(t=u.split(`\n`).find(f=>f.trim().startsWith(\"version: \")))==null?void 0:t.replace(/\\s*version: /,\"\"),l!=null&&l.includes(\".\")&&r!==s&&(s=r,i+=1)),u.split(`\n`).slice(0,4).some(f=>/^(name:|prompt:)/.test(f.trim()))){const f=u.split(`\n`).find(c=>c.trim().startsWith(\"prompt: \"));f&&(o=f.replace(/\\s*prompt: /,\"\"))}else u.trim()!==\"\"&&(n.push({version:`${l??r-i}`,prompt:o,markdown:u}),l=void 0,r+=1);return n.length===0&&n.push({version:\"0\",prompt:o,markdown:a.split(\"---\").at(-1)??\"\"}),window._chapters=n,n}return[]}chaptersToMarkdown(){let t=0,n=\"0\";return this.chapters.map((r,i)=>{let s=\"\",o=r.version;return o.includes(\".\")?(t+=1,n.includes(\".\")&&(o=(Number.parseFloat(n)+.1).toFixed(1)),n=o):o=(i-t).toString(),s+=`---\n`,i===0&&(s+=`name: ${this.name}\n`,s+=`emoji: ${this.emoji}\n`),s+=`version: ${o}\n`,s+=`prompt: ${this.prompt(i)}\n`,s+=`---\n`,s+=r.markdown,s}).join(`\n`)}get latestVersion(){return Math.max(this.chapters.length-1,0)}get latestPrompt(){return this.prompt(this.latestVersion)??\"\"}get markdown(){return this.item.markdown??\"\"}version(t=0){var r;const n=this.chapters.filter((i,s)=>s<=t&&i.version.indexOf(\".\")>0).length;return((r=this.chapters[t])==null?void 0:r.version)??`${t-n}`}prompt(t=0){var n;if(!(t>this.latestVersion))return((n=this.chapters[t])==null?void 0:n.prompt)??this.item.prompt}pureHTML(t=0,n=!1){var i;if(this.pureHTMLMemo[t]!==void 0)return this.pureHTMLMemo[t];const{html:r}=Hv(((i=this.chapters[t])==null?void 0:i.markdown)??'<h1 class=\"text-red-800\">Unknown Error, unable to parse LLM Response</h1>',this.version(t),n);return n||(this.pureHTMLMemo[t]=r),r}async html(t=0,n=!1,r=!1){var s;if(t>this.latestVersion)return;let i;if(this.pureHTMLMemo[t]===void 0?{html:i}=Hv(((s=this.chapters[t])==null?void 0:s.markdown)??\"\",this.version(t),r):i=this.pureHTMLMemo[t],i)return mI(i,n)}deleteChapter(t){this.chapters=this.chapters.filter((r,i)=>i!==t);const n=this.chaptersToMarkdown();return this.setItem({...this.item,markdown:n}),n}withFrontmatter(t,n,r){return`\n\n---\nprompt: ${n}\nversion: ${r}\n---\n\n${t}\n`}editChapter(t,n){const{latestPrompt:r,chapters:i,item:s,saveHistory:o}=this;let a=n;const l=this.version(n),u=l.indexOf(\".\")>0;let f=u?l:`${l}.1`;if(i.length===0)return 0;let c=\"\";if(u){const d=this.prompt(n)??r;this.chapters=[...i.slice(0,n),{version:f,prompt:d,markdown:this.withFrontmatter(t,d,f)},...i.slice(n+1)],c=this.chaptersToMarkdown()}else{a=i.findIndex((h,g)=>g>n&&!h.version.includes(\".\")),a===-1&&(a=i.length),a>0&&(f=(Number.parseFloat(i[a-1].version)+.1).toFixed(1));const d=this.prompt(n)??\"\";this.chapters=[...i.slice(0,a),{version:f,prompt:d,markdown:this.withFrontmatter(t,d,f)},...i.slice(a)],c=this.chaptersToMarkdown()}return this.setItem({...s,markdown:c}),o&&o(),a}}let jh;typeof localStorage<\"u\"&&(jh=localStorage.getItem(\"serializedHistory\"));const ac=jh?JSON.parse(jh):{history:[],historyMap:{}};for(const e of Object.keys(ac.historyMap)){const t=ac.historyMap[e];t.createdAt&&(t.createdAt=new Date(t.createdAt)),t.html||(t.html=localStorage.getItem(`${e}.html`)??void 0),t.markdown||(t.markdown=localStorage.getItem(`${e}.md`)??void 0)}const zh=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/history.ts/historyIdsAtom\",Ee(ac.history));zh.debugLabel=\"historyIdsAtom\";const Uh=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/history.ts/historyAtomFamily\",y1(e=>{const t=ac.historyMap[e.id]??{prompt:\"\"},n=Ee({...t,prompt:e.prompt??t.prompt,createdAt:e.createdAt??t.createdAt});return n.debugLabel=\"histAtom\",n.debugLabel=\"histAtom\",Ee(r=>r(n),(r,i,s)=>{if(e.id===\"new\")throw new Error(\"Can't set state for id: new\");i(n,s)})},(e,t)=>e.id===t.id));Uh.debugLabel=\"historyAtomFamily\";const F1=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/history.ts/serializeHistoryAtom\",Ee(void 0,(e,t,n)=>{if(n.type===\"serialize\"){const r=e(zh),i={};for(const o of r)i[o]=e(Uh({id:o}));const s={history:r,historyMap:i};n.callback(JSON.stringify(s))}else{const r=JSON.parse(n.value);for(const i of r.history){const s=r.historyMap[i];s&&t(Uh({id:i,...s}),s)}t(zh,r.history)}}));F1.debugLabel=\"serializeHistoryAtom\";const U2=()=>{const[,e]=lO(F1);return()=>{e({type:\"serialize\",callback:t=>{var i;let n=t;const r=JSON.parse(t);if(t.length>4e6){console.warn(\"History too large, removing largest payload\");let s=\"\",o=0;for(const a of Object.keys(r.historyMap)){const l=((i=r.historyMap[a])==null?void 0:i.html)??\"\";l.length>o&&(o=l.length,s=a)}r.historyMap[s]&&(delete r.historyMap[s],r.history=r.history.filter(a=>a!==s)),n=JSON.stringify(r)}for(const s of Object.keys(r.historyMap)){const o=r.historyMap[s],a=o.html??\"\";if(a!==\"\"){delete o.html;try{localStorage.setItem(`${s}.html`,a)}catch(u){console.error(\"Error saving HTML\",u)}}const l=o.markdown??\"\";if(l!==\"\"){delete o.markdown;try{localStorage.setItem(`${s}.md`,l)}catch(u){console.error(\"Error saving markdown\",u)}}}console.log(\"Saving history\",n);try{localStorage.setItem(\"serializedHistory\",n)}catch(s){console.error(\"Error saving history\",s)}}})}},Bh=\"RFC3986\",Hh={RFC1738:e=>String(e).replace(/%20/g,\"+\"),RFC3986:e=>String(e)},HM=\"RFC1738\",VM=Array.isArray,Vn=(()=>{const e=[];for(let t=0;t<256;++t)e.push(\"%\"+((t<16?\"0\":\"\")+t.toString(16)).toUpperCase());return e})(),dd=1024,WM=(e,t,n,r,i)=>{if(e.length===0)return e;let s=e;if(typeof e==\"symbol\"?s=Symbol.prototype.toString.call(e):typeof e!=\"string\"&&(s=String(e)),n===\"iso-8859-1\")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(a){return\"%26%23\"+parseInt(a.slice(2),16)+\"%3B\"});let o=\"\";for(let a=0;a<s.length;a+=dd){const l=s.length>=dd?s.slice(a,a+dd):s,u=[];for(let f=0;f<l.length;++f){let c=l.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===HM&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=Vn[c];continue}if(c<2048){u[u.length]=Vn[192|c>>6]+Vn[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Vn[224|c>>12]+Vn[128|c>>6&63]+Vn[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=Vn[240|c>>18]+Vn[128|c>>12&63]+Vn[128|c>>6&63]+Vn[128|c&63]}o+=u.join(\"\")}return o};function QM(e){return!e||typeof e!=\"object\"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Vv(e,t){if(VM(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}const KM=Object.prototype.hasOwnProperty,D1={brackets(e){return String(e)+\"[]\"},comma:\"comma\",indices(e,t){return String(e)+\"[\"+t+\"]\"},repeat(e){return String(e)}},Kn=Array.isArray,qM=Array.prototype.push,$1=function(e,t){qM.apply(e,Kn(t)?t:[t])},JM=Date.prototype.toISOString,tt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:\"indices\",charset:\"utf-8\",charsetSentinel:!1,delimiter:\"&\",encode:!0,encodeDotInKeys:!1,encoder:WM,encodeValuesOnly:!1,format:Bh,formatter:Hh[Bh],indices:!1,serializeDate(e){return JM.call(e)},skipNulls:!1,strictNullHandling:!1};function GM(e){return typeof e==\"string\"||typeof e==\"number\"||typeof e==\"boolean\"||typeof e==\"symbol\"||typeof e==\"bigint\"}const hd={};function j1(e,t,n,r,i,s,o,a,l,u,f,c,d,h,g,v,x,m){let p=e,w=m,S=0,k=!1;for(;(w=w.get(hd))!==void 0&&!k;){const A=w.get(e);if(S+=1,typeof A<\"u\"){if(A===S)throw new RangeError(\"Cyclic object value\");k=!0}typeof w.get(hd)>\"u\"&&(S=0)}if(typeof u==\"function\"?p=u(t,p):p instanceof Date?p=d==null?void 0:d(p):n===\"comma\"&&Kn(p)&&(p=Vv(p,function(A){return A instanceof Date?d==null?void 0:d(A):A})),p===null){if(s)return l&&!v?l(t,tt.encoder,x,\"key\",h):t;p=\"\"}if(GM(p)||QM(p)){if(l){const A=v?t:l(t,tt.encoder,x,\"key\",h);return[(g==null?void 0:g(A))+\"=\"+(g==null?void 0:g(l(p,tt.encoder,x,\"value\",h)))]}return[(g==null?void 0:g(t))+\"=\"+(g==null?void 0:g(String(p)))]}const E=[];if(typeof p>\"u\")return E;let y;if(n===\"comma\"&&Kn(p))v&&l&&(p=Vv(p,l)),y=[{value:p.length>0?p.join(\",\")||null:void 0}];else if(Kn(u))y=u;else{const A=Object.keys(p);y=f?A.sort(f):A}const R=a?String(t).replace(/\\./g,\"%2E\"):String(t),T=r&&Kn(p)&&p.length===1?R+\"[]\":R;if(i&&Kn(p)&&p.length===0)return T+\"[]\";for(let A=0;A<y.length;++A){const O=y[A],I=typeof O==\"object\"&&typeof O.value<\"u\"?O.value:p[O];if(o&&I===null)continue;const z=c&&a?O.replace(/\\./g,\"%2E\"):O,B=Kn(p)?typeof n==\"function\"?n(T,z):T:T+(c?\".\"+z:\"[\"+z+\"]\");m.set(e,S);const V=new WeakMap;V.set(hd,m),$1(E,j1(I,B,n,r,i,s,o,a,n===\"comma\"&&v&&Kn(p)?null:l,u,f,c,d,h,g,v,x,V))}return E}function XM(e=tt){if(typeof e.allowEmptyArrays<\"u\"&&typeof e.allowEmptyArrays!=\"boolean\")throw new TypeError(\"`allowEmptyArrays` option can only be `true` or `false`, when provided\");if(typeof e.encodeDotInKeys<\"u\"&&typeof e.encodeDotInKeys!=\"boolean\")throw new TypeError(\"`encodeDotInKeys` option can only be `true` or `false`, when provided\");if(e.encoder!==null&&typeof e.encoder<\"u\"&&typeof e.encoder!=\"function\")throw new TypeError(\"Encoder has to be a function.\");const t=e.charset||tt.charset;if(typeof e.charset<\"u\"&&e.charset!==\"utf-8\"&&e.charset!==\"iso-8859-1\")throw new TypeError(\"The charset option must be either utf-8, iso-8859-1, or undefined\");let n=Bh;if(typeof e.format<\"u\"){if(!KM.call(Hh,e.format))throw new TypeError(\"Unknown format option provided.\");n=e.format}const r=Hh[n];let i=tt.filter;(typeof e.filter==\"function\"||Kn(e.filter))&&(i=e.filter);let s;if(e.arrayFormat&&e.arrayFormat in D1?s=e.arrayFormat:\"indices\"in e?s=e.indices?\"indices\":\"repeat\":s=tt.arrayFormat,\"commaRoundTrip\"in e&&typeof e.commaRoundTrip!=\"boolean\")throw new TypeError(\"`commaRoundTrip` must be a boolean, or absent\");const o=typeof e.allowDots>\"u\"?e.encodeDotInKeys?!0:tt.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==\"boolean\"?e.addQueryPrefix:tt.addQueryPrefix,allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays==\"boolean\"?!!e.allowEmptyArrays:tt.allowEmptyArrays,arrayFormat:s,charset:t,charsetSentinel:typeof e.charsetSentinel==\"boolean\"?e.charsetSentinel:tt.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>\"u\"?tt.delimiter:e.delimiter,encode:typeof e.encode==\"boolean\"?e.encode:tt.encode,encodeDotInKeys:typeof e.encodeDotInKeys==\"boolean\"?e.encodeDotInKeys:tt.encodeDotInKeys,encoder:typeof e.encoder==\"function\"?e.encoder:tt.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==\"boolean\"?e.encodeValuesOnly:tt.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:typeof e.serializeDate==\"function\"?e.serializeDate:tt.serializeDate,skipNulls:typeof e.skipNulls==\"boolean\"?e.skipNulls:tt.skipNulls,sort:typeof e.sort==\"function\"?e.sort:null,strictNullHandling:typeof e.strictNullHandling==\"boolean\"?e.strictNullHandling:tt.strictNullHandling}}function YM(e,t={}){let n=e;const r=XM(t);let i,s;typeof r.filter==\"function\"?(s=r.filter,n=s(\"\",n)):Kn(r.filter)&&(s=r.filter,i=s);const o=[];if(typeof n!=\"object\"||n===null)return\"\";const a=D1[r.arrayFormat],l=a===\"comma\"&&r.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);const u=new WeakMap;for(let d=0;d<i.length;++d){const h=i[d];r.skipNulls&&n[h]===null||$1(o,j1(n[h],h,a,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const f=o.join(r.delimiter);let c=r.addQueryPrefix===!0?\"?\":\"\";return r.charsetSentinel&&(r.charset===\"iso-8859-1\"?c+=\"utf8=%26%2310003%3B&\":c+=\"utf8=%E2%9C%93&\"),f.length>0?c+f:\"\"}const _s=\"4.94.0\";let Wv=!1,Sa,z1,U1,Vh,B1,H1,V1,W1,Q1;function ZM(e,t={auto:!1}){if(Wv)throw new Error(`you must \\`import 'openai/shims/${e.kind}'\\` before importing anything else from openai`);if(Sa)throw new Error(`can't \\`import 'openai/shims/${e.kind}'\\` after \\`import 'openai/shims/${Sa}'\\``);Wv=t.auto,Sa=e.kind,z1=e.fetch,U1=e.FormData,Vh=e.File,B1=e.ReadableStream,H1=e.getMultipartRequestOptions,V1=e.getDefaultAgent,W1=e.fileFromPath,Q1=e.isFsReadStream}class eN{constructor(t){this.body=t}get[Symbol.toStringTag](){return\"MultipartBody\"}}function tN({manuallyImported:e}={}){const t=e?\"You may need to use polyfills\":\"Add one of these imports before your first `import … from 'openai'`:\\n- `import 'openai/shims/node'` (if you're running on Node)\\n- `import 'openai/shims/web'` (otherwise)\\n\";let n,r,i,s;try{n=fetch,r=Request,i=Response,s=Headers}catch(o){throw new Error(`this environment is missing the following Web Fetch API type: ${o.message}. ${t}`)}return{kind:\"web\",fetch:n,Request:r,Response:i,Headers:s,FormData:typeof FormData<\"u\"?FormData:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'FormData' is undefined. ${t}`)}},Blob:typeof Blob<\"u\"?Blob:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'Blob' is undefined. ${t}`)}},File:typeof File<\"u\"?File:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'File' is undefined. ${t}`)}},ReadableStream:typeof ReadableStream<\"u\"?ReadableStream:class{constructor(){throw new Error(`streaming isn't supported in this environment yet as 'ReadableStream' is undefined. ${t}`)}},getMultipartRequestOptions:async(o,a)=>({...a,body:new eN(o)}),getDefaultAgent:o=>{},fileFromPath:()=>{throw new Error(\"The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/openai/openai-node#file-uploads\")},isFsReadStream:o=>!1}}const K1=()=>{Sa||ZM(tN(),{auto:!0})};K1();class ie extends Error{}class gt extends ie{constructor(t,n,r,i){super(`${gt.makeMessage(t,n,r)}`),this.status=t,this.headers=i,this.request_id=i==null?void 0:i[\"x-request-id\"],this.error=n;const s=n;this.code=s==null?void 0:s.code,this.param=s==null?void 0:s.param,this.type=s==null?void 0:s.type}static makeMessage(t,n,r){const i=n!=null&&n.message?typeof n.message==\"string\"?n.message:JSON.stringify(n.message):n?JSON.stringify(n):r;return t&&i?`${t} ${i}`:t?`${t} status code (no body)`:i||\"(no status code or body)\"}static generate(t,n,r,i){if(!t||!i)return new qc({message:r,cause:Qh(n)});const s=n==null?void 0:n.error;return t===400?new q1(t,s,r,i):t===401?new J1(t,s,r,i):t===403?new G1(t,s,r,i):t===404?new X1(t,s,r,i):t===409?new Y1(t,s,r,i):t===422?new Z1(t,s,r,i):t===429?new eb(t,s,r,i):t>=500?new tb(t,s,r,i):new gt(t,s,r,i)}}class pn extends gt{constructor({message:t}={}){super(void 0,void 0,t||\"Request was aborted.\",void 0)}}class qc extends gt{constructor({message:t,cause:n}){super(void 0,void 0,t||\"Connection error.\",void 0),n&&(this.cause=n)}}class km extends qc{constructor({message:t}={}){super({message:t??\"Request timed out.\"})}}class q1 extends gt{}class J1 extends gt{}class G1 extends gt{}class X1 extends gt{}class Y1 extends gt{}class Z1 extends gt{}class eb extends gt{}class tb extends gt{}class nb extends ie{constructor(){super(\"Could not parse response content as the length limit was reached\")}}class rb extends ie{constructor(){super(\"Could not parse response content as the request was rejected by the content filter\")}}var Kl=function(e,t,n,r,i){if(r===\"m\")throw new TypeError(\"Private method is not writable\");if(r===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!i:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return r===\"a\"?i.call(e,n):i?i.value=n:t.set(e,n),n},Oi=function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},qt;class Jc{constructor(){qt.set(this,void 0),this.buffer=new Uint8Array,Kl(this,qt,null,\"f\")}decode(t){if(t==null)return[];const n=t instanceof ArrayBuffer?new Uint8Array(t):typeof t==\"string\"?new TextEncoder().encode(t):t;let r=new Uint8Array(this.buffer.length+n.length);r.set(this.buffer),r.set(n,this.buffer.length),this.buffer=r;const i=[];let s;for(;(s=nN(this.buffer,Oi(this,qt,\"f\")))!=null;){if(s.carriage&&Oi(this,qt,\"f\")==null){Kl(this,qt,s.index,\"f\");continue}if(Oi(this,qt,\"f\")!=null&&(s.index!==Oi(this,qt,\"f\")+1||s.carriage)){i.push(this.decodeText(this.buffer.slice(0,Oi(this,qt,\"f\")-1))),this.buffer=this.buffer.slice(Oi(this,qt,\"f\")),Kl(this,qt,null,\"f\");continue}const o=Oi(this,qt,\"f\")!==null?s.preceding-1:s.preceding,a=this.decodeText(this.buffer.slice(0,o));i.push(a),this.buffer=this.buffer.slice(s.index),Kl(this,qt,null,\"f\")}return i}decodeText(t){if(t==null)return\"\";if(typeof t==\"string\")return t;if(typeof Buffer<\"u\"){if(t instanceof Buffer)return t.toString();if(t instanceof Uint8Array)return Buffer.from(t).toString();throw new ie(`Unexpected: received non-Uint8Array (${t.constructor.name}) stream chunk in an environment with a global \"Buffer\" defined, which this library assumes to be Node. Please report this error.`)}if(typeof TextDecoder<\"u\"){if(t instanceof Uint8Array||t instanceof ArrayBuffer)return this.textDecoder??(this.textDecoder=new TextDecoder(\"utf8\")),this.textDecoder.decode(t);throw new ie(`Unexpected: received non-Uint8Array/ArrayBuffer (${t.constructor.name}) in a web platform. Please report this error.`)}throw new ie(\"Unexpected: neither Buffer nor TextDecoder are available as globals. Please report this error.\")}flush(){return this.buffer.length?this.decode(`\n`):[]}}qt=new WeakMap;Jc.NEWLINE_CHARS=new Set([`\n`,\"\\r\"]);Jc.NEWLINE_REGEXP=/\\r\\n|[\\n\\r]/g;function nN(e,t){for(let i=t??0;i<e.length;i++){if(e[i]===10)return{preceding:i,index:i+1,carriage:!1};if(e[i]===13)return{preceding:i,index:i+1,carriage:!0}}return null}function rN(e){for(let r=0;r<e.length-1;r++){if(e[r]===10&&e[r+1]===10||e[r]===13&&e[r+1]===13)return r+2;if(e[r]===13&&e[r+1]===10&&r+3<e.length&&e[r+2]===13&&e[r+3]===10)return r+4}return-1}function ib(e){if(e[Symbol.asyncIterator])return e;const t=e.getReader();return{async next(){try{const n=await t.read();return n!=null&&n.done&&t.releaseLock(),n}catch(n){throw t.releaseLock(),n}},async return(){const n=t.cancel();return t.releaseLock(),await n,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}class er{constructor(t,n){this.iterator=t,this.controller=n}static fromSSEResponse(t,n){let r=!1;async function*i(){if(r)throw new Error(\"Cannot iterate over a consumed stream, use `.tee()` to split the stream.\");r=!0;let s=!1;try{for await(const o of iN(t,n))if(!s){if(o.data.startsWith(\"[DONE]\")){s=!0;continue}if(o.event===null||o.event.startsWith(\"response.\")||o.event.startsWith(\"transcript.\")){let a;try{a=JSON.parse(o.data)}catch(l){throw console.error(\"Could not parse message into JSON:\",o.data),console.error(\"From chunk:\",o.raw),l}if(a&&a.error)throw new gt(void 0,a.error,void 0,fb(t.headers));yield a}else{let a;try{a=JSON.parse(o.data)}catch(l){throw console.error(\"Could not parse message into JSON:\",o.data),console.error(\"From chunk:\",o.raw),l}if(o.event==\"error\")throw new gt(void 0,a.error,a.message,void 0);yield{event:o.event,data:a}}}s=!0}catch(o){if(o instanceof Error&&o.name===\"AbortError\")return;throw o}finally{s||n.abort()}}return new er(i,n)}static fromReadableStream(t,n){let r=!1;async function*i(){const o=new Jc,a=ib(t);for await(const l of a)for(const u of o.decode(l))yield u;for(const l of o.flush())yield l}async function*s(){if(r)throw new Error(\"Cannot iterate over a consumed stream, use `.tee()` to split the stream.\");r=!0;let o=!1;try{for await(const a of i())o||a&&(yield JSON.parse(a));o=!0}catch(a){if(a instanceof Error&&a.name===\"AbortError\")return;throw a}finally{o||n.abort()}}return new er(s,n)}[Symbol.asyncIterator](){return this.iterator()}tee(){const t=[],n=[],r=this.iterator(),i=s=>({next:()=>{if(s.length===0){const o=r.next();t.push(o),n.push(o)}return s.shift()}});return[new er(()=>i(t),this.controller),new er(()=>i(n),this.controller)]}toReadableStream(){const t=this;let n;const r=new TextEncoder;return new B1({async start(){n=t[Symbol.asyncIterator]()},async pull(i){try{const{value:s,done:o}=await n.next();if(o)return i.close();const a=r.encode(JSON.stringify(s)+`\n`);i.enqueue(a)}catch(s){i.error(s)}},async cancel(){var i;await((i=n.return)==null?void 0:i.call(n))}})}}async function*iN(e,t){if(!e.body)throw t.abort(),new ie(\"Attempted to iterate over a response with no body\");const n=new oN,r=new Jc,i=ib(e.body);for await(const s of sN(i))for(const o of r.decode(s)){const a=n.decode(o);a&&(yield a)}for(const s of r.flush()){const o=n.decode(s);o&&(yield o)}}async function*sN(e){let t=new Uint8Array;for await(const n of e){if(n==null)continue;const r=n instanceof ArrayBuffer?new Uint8Array(n):typeof n==\"string\"?new TextEncoder().encode(n):n;let i=new Uint8Array(t.length+r.length);i.set(t),i.set(r,t.length),t=i;let s;for(;(s=rN(t))!==-1;)yield t.slice(0,s),t=t.slice(s)}t.length>0&&(yield t)}class oN{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(t){if(t.endsWith(\"\\r\")&&(t=t.substring(0,t.length-1)),!t){if(!this.event&&!this.data.length)return null;const s={event:this.event,data:this.data.join(`\n`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],s}if(this.chunks.push(t),t.startsWith(\":\"))return null;let[n,r,i]=aN(t,\":\");return i.startsWith(\" \")&&(i=i.substring(1)),n===\"event\"?this.event=i:n===\"data\"&&this.data.push(i),null}}function aN(e,t){const n=e.indexOf(t);return n!==-1?[e.substring(0,n),t,e.substring(n+t.length)]:[e,\"\",\"\"]}const sb=e=>e!=null&&typeof e==\"object\"&&typeof e.url==\"string\"&&typeof e.blob==\"function\",ob=e=>e!=null&&typeof e==\"object\"&&typeof e.name==\"string\"&&typeof e.lastModified==\"number\"&&Gc(e),Gc=e=>e!=null&&typeof e==\"object\"&&typeof e.size==\"number\"&&typeof e.type==\"string\"&&typeof e.text==\"function\"&&typeof e.slice==\"function\"&&typeof e.arrayBuffer==\"function\",lN=e=>ob(e)||sb(e)||Q1(e);async function ab(e,t,n){var i;if(e=await e,ob(e))return e;if(sb(e)){const s=await e.blob();t||(t=new URL(e.url).pathname.split(/[\\\\/]/).pop()??\"unknown_file\");const o=Gc(s)?[await s.arrayBuffer()]:[s];return new Vh(o,t,n)}const r=await uN(e);if(t||(t=fN(e)??\"unknown_file\"),!(n!=null&&n.type)){const s=(i=r[0])==null?void 0:i.type;typeof s==\"string\"&&(n={...n,type:s})}return new Vh(r,t,n)}async function uN(e){var n;let t=[];if(typeof e==\"string\"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(Gc(e))t.push(await e.arrayBuffer());else if(dN(e))for await(const r of e)t.push(r);else throw new Error(`Unexpected data type: ${typeof e}; constructor: ${(n=e==null?void 0:e.constructor)==null?void 0:n.name}; props: ${cN(e)}`);return t}function cN(e){return`[${Object.getOwnPropertyNames(e).map(n=>`\"${n}\"`).join(\", \")}]`}function fN(e){var t;return pd(e.name)||pd(e.filename)||((t=pd(e.path))==null?void 0:t.split(/[\\\\/]/).pop())}const pd=e=>{if(typeof e==\"string\")return e;if(typeof Buffer<\"u\"&&e instanceof Buffer)return String(e)},dN=e=>e!=null&&typeof e==\"object\"&&typeof e[Symbol.asyncIterator]==\"function\",Qv=e=>e&&typeof e==\"object\"&&e.body&&e[Symbol.toStringTag]===\"MultipartBody\",vo=async e=>{const t=await hN(e.body);return H1(t,e)},hN=async e=>{const t=new U1;return await Promise.all(Object.entries(e||{}).map(([n,r])=>Wh(t,n,r))),t},Wh=async(e,t,n)=>{if(n!==void 0){if(n==null)throw new TypeError(`Received null for \"${t}\"; to pass null in FormData, you must use the string 'null'`);if(typeof n==\"string\"||typeof n==\"number\"||typeof n==\"boolean\")e.append(t,String(n));else if(lN(n)){const r=await ab(n);e.append(t,r)}else if(Array.isArray(n))await Promise.all(n.map(r=>Wh(e,t+\"[]\",r)));else if(typeof n==\"object\")await Promise.all(Object.entries(n).map(([r,i])=>Wh(e,`${t}[${r}]`,i)));else throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${n} instead`)}};var qs={},pN=function(e,t,n,r,i){if(typeof t==\"function\"?e!==t||!0:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return t.set(e,n),n},mN=function(e,t,n,r){if(typeof t==\"function\"?e!==t||!0:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},ql;K1();async function lb(e){var o;const{response:t}=e;if(e.options.stream)return hi(\"response\",t.status,t.url,t.headers,t.body),e.options.__streamClass?e.options.__streamClass.fromSSEResponse(t,e.controller):er.fromSSEResponse(t,e.controller);if(t.status===204)return null;if(e.options.__binaryResponse)return t;const n=t.headers.get(\"content-type\"),r=(o=n==null?void 0:n.split(\";\")[0])==null?void 0:o.trim();if((r==null?void 0:r.includes(\"application/json\"))||(r==null?void 0:r.endsWith(\"+json\"))){const a=await t.json();return hi(\"response\",t.status,t.url,t.headers,a),ub(a,t)}const s=await t.text();return hi(\"response\",t.status,t.url,t.headers,s),s}function ub(e,t){return!e||typeof e!=\"object\"||Array.isArray(e)?e:Object.defineProperty(e,\"_request_id\",{value:t.headers.get(\"x-request-id\"),enumerable:!1})}class Xc extends Promise{constructor(t,n=lb){super(r=>{r(null)}),this.responsePromise=t,this.parseResponse=n}_thenUnwrap(t){return new Xc(this.responsePromise,async n=>ub(t(await this.parseResponse(n),n),n.response))}asResponse(){return this.responsePromise.then(t=>t.response)}async withResponse(){const[t,n]=await Promise.all([this.parse(),this.asResponse()]);return{data:t,response:n,request_id:n.headers.get(\"x-request-id\")}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(this.parseResponse)),this.parsedPromise}then(t,n){return this.parse().then(t,n)}catch(t){return this.parse().catch(t)}finally(t){return this.parse().finally(t)}}class gN{constructor({baseURL:t,maxRetries:n=2,timeout:r=6e5,httpAgent:i,fetch:s}){this.baseURL=t,this.maxRetries=md(\"maxRetries\",n),this.timeout=md(\"timeout\",r),this.httpAgent=i,this.fetch=s??z1}authHeaders(t){return{}}defaultHeaders(t){return{Accept:\"application/json\",\"Content-Type\":\"application/json\",\"User-Agent\":this.getUserAgent(),...SN(),...this.authHeaders(t)}}validateHeaders(t,n){}defaultIdempotencyKey(){return`stainless-node-retry-${CN()}`}get(t,n){return this.methodRequest(\"get\",t,n)}post(t,n){return this.methodRequest(\"post\",t,n)}patch(t,n){return this.methodRequest(\"patch\",t,n)}put(t,n){return this.methodRequest(\"put\",t,n)}delete(t,n){return this.methodRequest(\"delete\",t,n)}methodRequest(t,n,r){return this.request(Promise.resolve(r).then(async i=>{const s=i&&Gc(i==null?void 0:i.body)?new DataView(await i.body.arrayBuffer()):(i==null?void 0:i.body)instanceof DataView?i.body:(i==null?void 0:i.body)instanceof ArrayBuffer?new DataView(i.body):i&&ArrayBuffer.isView(i==null?void 0:i.body)?new DataView(i.body.buffer):i==null?void 0:i.body;return{method:t,path:n,...i,body:s}}))}getAPIList(t,n,r){return this.requestAPIList(n,{method:\"get\",path:t,...r})}calculateContentLength(t){if(typeof t==\"string\"){if(typeof Buffer<\"u\")return Buffer.byteLength(t,\"utf8\").toString();if(typeof TextEncoder<\"u\")return new TextEncoder().encode(t).length.toString()}else if(ArrayBuffer.isView(t))return t.byteLength.toString();return null}buildRequest(t,{retryCount:n=0}={}){var v;const r={...t},{method:i,path:s,query:o,headers:a={}}=r,l=ArrayBuffer.isView(r.body)||r.__binaryRequest&&typeof r.body==\"string\"?r.body:Qv(r.body)?r.body.body:r.body?JSON.stringify(r.body,null,2):null,u=this.calculateContentLength(l),f=this.buildURL(s,o);\"timeout\"in r&&md(\"timeout\",r.timeout),r.timeout=r.timeout??this.timeout;const c=r.httpAgent??this.httpAgent??V1(f),d=r.timeout+1e3;typeof((v=c==null?void 0:c.options)==null?void 0:v.timeout)==\"number\"&&d>(c.options.timeout??0)&&(c.options.timeout=d),this.idempotencyHeader&&i!==\"get\"&&(t.idempotencyKey||(t.idempotencyKey=this.defaultIdempotencyKey()),a[this.idempotencyHeader]=t.idempotencyKey);const h=this.buildHeaders({options:r,headers:a,contentLength:u,retryCount:n});return{req:{method:i,...l&&{body:l},headers:h,...c&&{agent:c},signal:r.signal??null},url:f,timeout:r.timeout}}buildHeaders({options:t,headers:n,contentLength:r,retryCount:i}){const s={};r&&(s[\"content-length\"]=r);const o=this.defaultHeaders(t);return Gv(s,o),Gv(s,n),Qv(t.body)&&Sa!==\"node\"&&delete s[\"content-type\"],Gl(o,\"x-stainless-retry-count\")===void 0&&Gl(n,\"x-stainless-retry-count\")===void 0&&(s[\"x-stainless-retry-count\"]=String(i)),Gl(o,\"x-stainless-timeout\")===void 0&&Gl(n,\"x-stainless-timeout\")===void 0&&t.timeout&&(s[\"x-stainless-timeout\"]=String(Math.trunc(t.timeout/1e3))),this.validateHeaders(s,n),s}async prepareOptions(t){}async prepareRequest(t,{url:n,options:r}){}parseHeaders(t){return t?Symbol.iterator in t?Object.fromEntries(Array.from(t).map(n=>[...n])):{...t}:{}}makeStatusError(t,n,r,i){return gt.generate(t,n,r,i)}request(t,n=null){return new Xc(this.makeRequest(t,n))}async makeRequest(t,n){var c,d;const r=await t,i=r.maxRetries??this.maxRetries;n==null&&(n=i),await this.prepareOptions(r);const{req:s,url:o,timeout:a}=this.buildRequest(r,{retryCount:i-n});if(await this.prepareRequest(s,{url:o,options:r}),hi(\"request\",o,r,s.headers),(c=r.signal)!=null&&c.aborted)throw new pn;const l=new AbortController,u=await this.fetchWithTimeout(o,s,a,l).catch(Qh);if(u instanceof Error){if((d=r.signal)!=null&&d.aborted)throw new pn;if(n)return this.retryRequest(r,n);throw u.name===\"AbortError\"?new km:new qc({cause:u})}const f=fb(u.headers);if(!u.ok){if(n&&this.shouldRetry(u)){const p=`retrying, ${n} attempts remaining`;return hi(`response (error; ${p})`,u.status,o,f),this.retryRequest(r,n,f)}const h=await u.text().catch(p=>Qh(p).message),g=bN(h),v=g?void 0:h;throw hi(`response (error; ${n?\"(error; no more retries left)\":\"(error; not retryable)\"})`,u.status,o,f,v),this.makeStatusError(u.status,g,v,f)}return{response:u,options:r,controller:l}}requestAPIList(t,n){const r=this.makeRequest(n,null);return new yN(this,r,t)}buildURL(t,n){const r=_N(t)?new URL(t):new URL(this.baseURL+(this.baseURL.endsWith(\"/\")&&t.startsWith(\"/\")?t.slice(1):t)),i=this.defaultQuery();return db(i)||(n={...i,...n}),typeof n==\"object\"&&n&&!Array.isArray(n)&&(r.search=this.stringifyQuery(n)),r.toString()}stringifyQuery(t){return Object.entries(t).filter(([n,r])=>typeof r<\"u\").map(([n,r])=>{if(typeof r==\"string\"||typeof r==\"number\"||typeof r==\"boolean\")return`${encodeURIComponent(n)}=${encodeURIComponent(r)}`;if(r===null)return`${encodeURIComponent(n)}=`;throw new ie(`Cannot stringify type ${typeof r}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join(\"&\")}async fetchWithTimeout(t,n,r,i){const{signal:s,...o}=n||{};s&&s.addEventListener(\"abort\",()=>i.abort());const a=setTimeout(()=>i.abort(),r),l={signal:i.signal,...o};return l.method&&(l.method=l.method.toUpperCase()),this.fetch.call(void 0,t,l).finally(()=>{clearTimeout(a)})}shouldRetry(t){const n=t.headers.get(\"x-should-retry\");return n===\"true\"?!0:n===\"false\"?!1:t.status===408||t.status===409||t.status===429||t.status>=500}async retryRequest(t,n,r){let i;const s=r==null?void 0:r[\"retry-after-ms\"];if(s){const a=parseFloat(s);Number.isNaN(a)||(i=a)}const o=r==null?void 0:r[\"retry-after\"];if(o&&!i){const a=parseFloat(o);Number.isNaN(a)?i=Date.parse(o)-Date.now():i=a*1e3}if(!(i&&0<=i&&i<60*1e3)){const a=t.maxRetries??this.maxRetries;i=this.calculateDefaultRetryTimeoutMillis(n,a)}return await cl(i),this.makeRequest(t,n-1)}calculateDefaultRetryTimeoutMillis(t,n){const s=n-t,o=Math.min(.5*Math.pow(2,s),8),a=1-Math.random()*.25;return o*a*1e3}getUserAgent(){return`${this.constructor.name}/JS ${_s}`}}class cb{constructor(t,n,r,i){ql.set(this,void 0),pN(this,ql,t),this.options=i,this.response=n,this.body=r}hasNextPage(){return this.getPaginatedItems().length?this.nextPageInfo()!=null:!1}async getNextPage(){const t=this.nextPageInfo();if(!t)throw new ie(\"No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.\");const n={...this.options};if(\"params\"in t&&typeof n.query==\"object\")n.query={...n.query,...t.params};else if(\"url\"in t){const r=[...Object.entries(n.query||{}),...t.url.searchParams.entries()];for(const[i,s]of r)t.url.searchParams.set(i,s);n.query=void 0,n.path=t.url.toString()}return await mN(this,ql,\"f\").requestAPIList(this.constructor,n)}async*iterPages(){let t=this;for(yield t;t.hasNextPage();)t=await t.getNextPage(),yield t}async*[(ql=new WeakMap,Symbol.asyncIterator)](){for await(const t of this.iterPages())for(const n of t.getPaginatedItems())yield n}}class yN extends Xc{constructor(t,n,r){super(n,async i=>new r(t,i.response,await lb(i),i.options))}async*[Symbol.asyncIterator](){const t=await this;for await(const n of t)yield n}}const fb=e=>new Proxy(Object.fromEntries(e.entries()),{get(t,n){const r=n.toString();return t[r.toLowerCase()]||t[r]}}),vN={method:!0,path:!0,query:!0,body:!0,headers:!0,maxRetries:!0,stream:!0,timeout:!0,httpAgent:!0,signal:!0,idempotencyKey:!0,__metadata:!0,__binaryRequest:!0,__binaryResponse:!0,__streamClass:!0},Ke=e=>typeof e==\"object\"&&e!==null&&!db(e)&&Object.keys(e).every(t=>hb(vN,t)),wN=()=>{var t;if(typeof Deno<\"u\"&&Deno.build!=null)return{\"X-Stainless-Lang\":\"js\",\"X-Stainless-Package-Version\":_s,\"X-Stainless-OS\":qv(Deno.build.os),\"X-Stainless-Arch\":Kv(Deno.build.arch),\"X-Stainless-Runtime\":\"deno\",\"X-Stainless-Runtime-Version\":typeof Deno.version==\"string\"?Deno.version:((t=Deno.version)==null?void 0:t.deno)??\"unknown\"};if(typeof EdgeRuntime<\"u\")return{\"X-Stainless-Lang\":\"js\",\"X-Stainless-Package-Version\":_s,\"X-Stainless-OS\":\"Unknown\",\"X-Stainless-Arch\":`other:${EdgeRuntime}`,\"X-Stainless-Runtime\":\"edge\",\"X-Stainless-Runtime-Version\":process.version};if(Object.prototype.toString.call(typeof process<\"u\"?process:0)===\"[object process]\")return{\"X-Stainless-Lang\":\"js\",\"X-Stainless-Package-Version\":_s,\"X-Stainless-OS\":qv(process.platform),\"X-Stainless-Arch\":Kv(process.arch),\"X-Stainless-Runtime\":\"node\",\"X-Stainless-Runtime-Version\":process.version};const e=xN();return e?{\"X-Stainless-Lang\":\"js\",\"X-Stainless-Package-Version\":_s,\"X-Stainless-OS\":\"Unknown\",\"X-Stainless-Arch\":\"unknown\",\"X-Stainless-Runtime\":`browser:${e.browser}`,\"X-Stainless-Runtime-Version\":e.version}:{\"X-Stainless-Lang\":\"js\",\"X-Stainless-Package-Version\":_s,\"X-Stainless-OS\":\"Unknown\",\"X-Stainless-Arch\":\"unknown\",\"X-Stainless-Runtime\":\"unknown\",\"X-Stainless-Runtime-Version\":\"unknown\"}};function xN(){if(typeof navigator>\"u\"||!navigator)return null;const e=[{key:\"edge\",pattern:/Edge(?:\\W+(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?/},{key:\"ie\",pattern:/MSIE(?:\\W+(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?/},{key:\"ie\",pattern:/Trident(?:.*rv\\:(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?/},{key:\"chrome\",pattern:/Chrome(?:\\W+(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?/},{key:\"firefox\",pattern:/Firefox(?:\\W+(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?/},{key:\"safari\",pattern:/(?:Version\\W+(\\d+)\\.(\\d+)(?:\\.(\\d+))?)?(?:\\W+Mobile\\S*)?\\W+Safari/}];for(const{key:t,pattern:n}of e){const r=n.exec(navigator.userAgent);if(r){const i=r[1]||0,s=r[2]||0,o=r[3]||0;return{browser:t,version:`${i}.${s}.${o}`}}}return null}const Kv=e=>e===\"x32\"?\"x32\":e===\"x86_64\"||e===\"x64\"?\"x64\":e===\"arm\"?\"arm\":e===\"aarch64\"||e===\"arm64\"?\"arm64\":e?`other:${e}`:\"unknown\",qv=e=>(e=e.toLowerCase(),e.includes(\"ios\")?\"iOS\":e===\"android\"?\"Android\":e===\"darwin\"?\"MacOS\":e===\"win32\"?\"Windows\":e===\"freebsd\"?\"FreeBSD\":e===\"openbsd\"?\"OpenBSD\":e===\"linux\"?\"Linux\":e?`Other:${e}`:\"Unknown\");let Jv;const SN=()=>Jv??(Jv=wN()),bN=e=>{try{return JSON.parse(e)}catch{return}},EN=/^[a-z][a-z0-9+.-]*:/i,_N=e=>EN.test(e),cl=e=>new Promise(t=>setTimeout(t,e)),md=(e,t)=>{if(typeof t!=\"number\"||!Number.isInteger(t))throw new ie(`${e} must be an integer`);if(t<0)throw new ie(`${e} must be a positive integer`);return t},Qh=e=>{if(e instanceof Error)return e;if(typeof e==\"object\"&&e!==null)try{return new Error(JSON.stringify(e))}catch{}return new Error(e)},Jl=e=>{var t,n,r,i;if(typeof process<\"u\")return((t=qs==null?void 0:qs[e])==null?void 0:t.trim())??void 0;if(typeof Deno<\"u\")return(i=(r=(n=Deno.env)==null?void 0:n.get)==null?void 0:r.call(n,e))==null?void 0:i.trim()};function db(e){if(!e)return!0;for(const t in e)return!1;return!0}function hb(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Gv(e,t){for(const n in t){if(!hb(t,n))continue;const r=n.toLowerCase();if(!r)continue;const i=t[n];i===null?delete e[r]:i!==void 0&&(e[r]=i)}}const Xv=new Set([\"authorization\",\"api-key\"]);function hi(e,...t){if(typeof process<\"u\"&&(qs==null?void 0:qs.DEBUG)===\"true\"){const n=t.map(r=>{if(!r)return r;if(r.headers){const s={...r,headers:{...r.headers}};for(const o in r.headers)Xv.has(o.toLowerCase())&&(s.headers[o]=\"REDACTED\");return s}let i=null;for(const s in r)Xv.has(s.toLowerCase())&&(i??(i={...r}),i[s]=\"REDACTED\");return i??r});console.log(`OpenAI:DEBUG:${e}`,...n)}}const CN=()=>\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e===\"x\"?t:t&3|8).toString(16)}),kN=()=>typeof window<\"u\"&&typeof window.document<\"u\"&&typeof navigator<\"u\",PN=e=>typeof(e==null?void 0:e.get)==\"function\",Gl=(e,t)=>{var r;const n=t.toLowerCase();if(PN(e)){const i=((r=t[0])==null?void 0:r.toUpperCase())+t.substring(1).replace(/([^\\w])(\\w)/g,(s,o,a)=>o+a.toUpperCase());for(const s of[t,n,t.toUpperCase(),i]){const o=e.get(s);if(o)return o}}for(const[i,s]of Object.entries(e))if(i.toLowerCase()===n)return Array.isArray(s)?(s.length<=1||console.warn(`Received ${s.length} entries for the ${t} header, using the first entry.`),s[0]):s},RN=e=>{if(typeof Buffer<\"u\"){const t=Buffer.from(e,\"base64\");return Array.from(new Float32Array(t.buffer,t.byteOffset,t.length/Float32Array.BYTES_PER_ELEMENT))}else{const t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return Array.from(new Float32Array(r.buffer))}};function gd(e){return e!=null&&typeof e==\"object\"&&!Array.isArray(e)}class Yc extends cb{constructor(t,n,r,i){super(t,n,r,i),this.data=r.data||[],this.object=r.object}getPaginatedItems(){return this.data??[]}nextPageParams(){return null}nextPageInfo(){return null}}class yt extends cb{constructor(t,n,r,i){super(t,n,r,i),this.data=r.data||[],this.has_more=r.has_more||!1}getPaginatedItems(){return this.data??[]}hasNextPage(){return this.has_more===!1?!1:super.hasNextPage()}nextPageParams(){const t=this.nextPageInfo();if(!t)return null;if(\"params\"in t)return t.params;const n=Object.fromEntries(t.url.searchParams);return Object.keys(n).length?n:null}nextPageInfo(){var r;const t=this.getPaginatedItems();if(!t.length)return null;const n=(r=t[t.length-1])==null?void 0:r.id;return n?{params:{after:n}}:null}}class me{constructor(t){this._client=t}}let pb=class extends me{list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/chat/completions/${t}/messages`,AN,{query:n,...r})}},Zc=class extends me{constructor(){super(...arguments),this.messages=new pb(this._client)}create(t,n){return this._client.post(\"/chat/completions\",{body:t,...n,stream:t.stream??!1})}retrieve(t,n){return this._client.get(`/chat/completions/${t}`,n)}update(t,n,r){return this._client.post(`/chat/completions/${t}`,{body:n,...r})}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/chat/completions\",ef,{query:t,...n})}del(t,n){return this._client.delete(`/chat/completions/${t}`,n)}};class ef extends yt{}class AN extends yt{}Zc.ChatCompletionsPage=ef;Zc.Messages=pb;let tf=class extends me{constructor(){super(...arguments),this.completions=new Zc(this._client)}};tf.Completions=Zc;tf.ChatCompletionsPage=ef;class mb extends me{create(t,n){return this._client.post(\"/audio/speech\",{body:t,...n,headers:{Accept:\"application/octet-stream\",...n==null?void 0:n.headers},__binaryResponse:!0})}}class gb extends me{create(t,n){return this._client.post(\"/audio/transcriptions\",vo({body:t,...n,stream:t.stream??!1,__metadata:{model:t.model}}))}}class yb extends me{create(t,n){return this._client.post(\"/audio/translations\",vo({body:t,...n,__metadata:{model:t.model}}))}}class fl extends me{constructor(){super(...arguments),this.transcriptions=new gb(this._client),this.translations=new yb(this._client),this.speech=new mb(this._client)}}fl.Transcriptions=gb;fl.Translations=yb;fl.Speech=mb;class Pm extends me{create(t,n){return this._client.post(\"/batches\",{body:t,...n})}retrieve(t,n){return this._client.get(`/batches/${t}`,n)}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/batches\",Rm,{query:t,...n})}cancel(t,n){return this._client.post(`/batches/${t}/cancel`,n)}}class Rm extends yt{}Pm.BatchesPage=Rm;class Am extends me{create(t,n){return this._client.post(\"/assistants\",{body:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}retrieve(t,n){return this._client.get(`/assistants/${t}`,{...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}update(t,n,r){return this._client.post(`/assistants/${t}`,{body:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/assistants\",Tm,{query:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}del(t,n){return this._client.delete(`/assistants/${t}`,{...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}}class Tm extends yt{}Am.AssistantsPage=Tm;function Yv(e){return typeof e.parse==\"function\"}const Js=e=>(e==null?void 0:e.role)===\"assistant\",vb=e=>(e==null?void 0:e.role)===\"function\",wb=e=>(e==null?void 0:e.role)===\"tool\";var En=function(e,t,n,r,i){if(r===\"m\")throw new TypeError(\"Private method is not writable\");if(r===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!i:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return r===\"a\"?i.call(e,n):i?i.value=n:t.set(e,n),n},je=function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},Kh,xu,Su,ia,sa,bu,oa,wr,aa,lc,uc,Cs,xb;class Om{constructor(){Kh.add(this),this.controller=new AbortController,xu.set(this,void 0),Su.set(this,()=>{}),ia.set(this,()=>{}),sa.set(this,void 0),bu.set(this,()=>{}),oa.set(this,()=>{}),wr.set(this,{}),aa.set(this,!1),lc.set(this,!1),uc.set(this,!1),Cs.set(this,!1),En(this,xu,new Promise((t,n)=>{En(this,Su,t,\"f\"),En(this,ia,n,\"f\")}),\"f\"),En(this,sa,new Promise((t,n)=>{En(this,bu,t,\"f\"),En(this,oa,n,\"f\")}),\"f\"),je(this,xu,\"f\").catch(()=>{}),je(this,sa,\"f\").catch(()=>{})}_run(t){setTimeout(()=>{t().then(()=>{this._emitFinal(),this._emit(\"end\")},je(this,Kh,\"m\",xb).bind(this))},0)}_connected(){this.ended||(je(this,Su,\"f\").call(this),this._emit(\"connect\"))}get ended(){return je(this,aa,\"f\")}get errored(){return je(this,lc,\"f\")}get aborted(){return je(this,uc,\"f\")}abort(){this.controller.abort()}on(t,n){return(je(this,wr,\"f\")[t]||(je(this,wr,\"f\")[t]=[])).push({listener:n}),this}off(t,n){const r=je(this,wr,\"f\")[t];if(!r)return this;const i=r.findIndex(s=>s.listener===n);return i>=0&&r.splice(i,1),this}once(t,n){return(je(this,wr,\"f\")[t]||(je(this,wr,\"f\")[t]=[])).push({listener:n,once:!0}),this}emitted(t){return new Promise((n,r)=>{En(this,Cs,!0,\"f\"),t!==\"error\"&&this.once(\"error\",r),this.once(t,n)})}async done(){En(this,Cs,!0,\"f\"),await je(this,sa,\"f\")}_emit(t,...n){if(je(this,aa,\"f\"))return;t===\"end\"&&(En(this,aa,!0,\"f\"),je(this,bu,\"f\").call(this));const r=je(this,wr,\"f\")[t];if(r&&(je(this,wr,\"f\")[t]=r.filter(i=>!i.once),r.forEach(({listener:i})=>i(...n))),t===\"abort\"){const i=n[0];!je(this,Cs,\"f\")&&!(r!=null&&r.length)&&Promise.reject(i),je(this,ia,\"f\").call(this,i),je(this,oa,\"f\").call(this,i),this._emit(\"end\");return}if(t===\"error\"){const i=n[0];!je(this,Cs,\"f\")&&!(r!=null&&r.length)&&Promise.reject(i),je(this,ia,\"f\").call(this,i),je(this,oa,\"f\").call(this,i),this._emit(\"end\")}}_emitFinal(){}}xu=new WeakMap,Su=new WeakMap,ia=new WeakMap,sa=new WeakMap,bu=new WeakMap,oa=new WeakMap,wr=new WeakMap,aa=new WeakMap,lc=new WeakMap,uc=new WeakMap,Cs=new WeakMap,Kh=new WeakSet,xb=function(t){if(En(this,lc,!0,\"f\"),t instanceof Error&&t.name===\"AbortError\"&&(t=new pn),t instanceof pn)return En(this,uc,!0,\"f\"),this._emit(\"abort\",t);if(t instanceof ie)return this._emit(\"error\",t);if(t instanceof Error){const n=new ie(t.message);return n.cause=t,this._emit(\"error\",n)}return this._emit(\"error\",new ie(String(t)))};function Im(e){return(e==null?void 0:e.$brand)===\"auto-parseable-response-format\"}function dl(e){return(e==null?void 0:e.$brand)===\"auto-parseable-tool\"}function TN(e,t){return!t||!Sb(t)?{...e,choices:e.choices.map(n=>({...n,message:{...n.message,parsed:null,...n.message.tool_calls?{tool_calls:n.message.tool_calls}:void 0}}))}:Lm(e,t)}function Lm(e,t){const n=e.choices.map(r=>{var i;if(r.finish_reason===\"length\")throw new nb;if(r.finish_reason===\"content_filter\")throw new rb;return{...r,message:{...r.message,...r.message.tool_calls?{tool_calls:((i=r.message.tool_calls)==null?void 0:i.map(s=>IN(t,s)))??void 0}:void 0,parsed:r.message.content&&!r.message.refusal?ON(t,r.message.content):null}}});return{...e,choices:n}}function ON(e,t){var n,r;return((n=e.response_format)==null?void 0:n.type)!==\"json_schema\"?null:((r=e.response_format)==null?void 0:r.type)===\"json_schema\"?\"$parseRaw\"in e.response_format?e.response_format.$parseRaw(t):JSON.parse(t):null}function IN(e,t){var r;const n=(r=e.tools)==null?void 0:r.find(i=>{var s;return((s=i.function)==null?void 0:s.name)===t.function.name});return{...t,function:{...t.function,parsed_arguments:dl(n)?n.$parseRaw(t.function.arguments):n!=null&&n.function.strict?JSON.parse(t.function.arguments):null}}}function LN(e,t){var r;if(!e)return!1;const n=(r=e.tools)==null?void 0:r.find(i=>{var s;return((s=i.function)==null?void 0:s.name)===t.function.name});return dl(n)||(n==null?void 0:n.function.strict)||!1}function Sb(e){var t;return Im(e.response_format)?!0:((t=e.tools)==null?void 0:t.some(n=>dl(n)||n.type===\"function\"&&n.function.strict===!0))??!1}function MN(e){for(const t of e??[]){if(t.type!==\"function\")throw new ie(`Currently only \\`function\\` tool types support auto-parsing; Received \\`${t.type}\\``);if(t.function.strict!==!0)throw new ie(`The \\`${t.function.name}\\` tool is not marked with \\`strict: true\\`. Only strict function tools can be auto-parsed`)}}var $t=function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},_t,qh,cc,Jh,Gh,Xh,bb,Yh;const Zv=10;class Eb extends Om{constructor(){super(...arguments),_t.add(this),this._chatCompletions=[],this.messages=[]}_addChatCompletion(t){var r;this._chatCompletions.push(t),this._emit(\"chatCompletion\",t);const n=(r=t.choices[0])==null?void 0:r.message;return n&&this._addMessage(n),t}_addMessage(t,n=!0){if(\"content\"in t||(t.content=null),this.messages.push(t),n){if(this._emit(\"message\",t),(vb(t)||wb(t))&&t.content)this._emit(\"functionCallResult\",t.content);else if(Js(t)&&t.function_call)this._emit(\"functionCall\",t.function_call);else if(Js(t)&&t.tool_calls)for(const r of t.tool_calls)r.type===\"function\"&&this._emit(\"functionCall\",r.function)}}async finalChatCompletion(){await this.done();const t=this._chatCompletions[this._chatCompletions.length-1];if(!t)throw new ie(\"stream ended without producing a ChatCompletion\");return t}async finalContent(){return await this.done(),$t(this,_t,\"m\",qh).call(this)}async finalMessage(){return await this.done(),$t(this,_t,\"m\",cc).call(this)}async finalFunctionCall(){return await this.done(),$t(this,_t,\"m\",Jh).call(this)}async finalFunctionCallResult(){return await this.done(),$t(this,_t,\"m\",Gh).call(this)}async totalUsage(){return await this.done(),$t(this,_t,\"m\",Xh).call(this)}allChatCompletions(){return[...this._chatCompletions]}_emitFinal(){const t=this._chatCompletions[this._chatCompletions.length-1];t&&this._emit(\"finalChatCompletion\",t);const n=$t(this,_t,\"m\",cc).call(this);n&&this._emit(\"finalMessage\",n);const r=$t(this,_t,\"m\",qh).call(this);r&&this._emit(\"finalContent\",r);const i=$t(this,_t,\"m\",Jh).call(this);i&&this._emit(\"finalFunctionCall\",i);const s=$t(this,_t,\"m\",Gh).call(this);s!=null&&this._emit(\"finalFunctionCallResult\",s),this._chatCompletions.some(o=>o.usage)&&this._emit(\"totalUsage\",$t(this,_t,\"m\",Xh).call(this))}async _createChatCompletion(t,n,r){const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener(\"abort\",()=>this.controller.abort())),$t(this,_t,\"m\",bb).call(this,n);const s=await t.chat.completions.create({...n,stream:!1},{...r,signal:this.controller.signal});return this._connected(),this._addChatCompletion(Lm(s,n))}async _runChatCompletion(t,n,r){for(const i of n.messages)this._addMessage(i,!1);return await this._createChatCompletion(t,n,r)}async _runFunctions(t,n,r){var d;const i=\"function\",{function_call:s=\"auto\",stream:o,...a}=n,l=typeof s!=\"string\"&&(s==null?void 0:s.name),{maxChatCompletions:u=Zv}=r||{},f={};for(const h of n.functions)f[h.name||h.function.name]=h;const c=n.functions.map(h=>({name:h.name||h.function.name,parameters:h.parameters,description:h.description}));for(const h of n.messages)this._addMessage(h,!1);for(let h=0;h<u;++h){const v=(d=(await this._createChatCompletion(t,{...a,function_call:s,functions:c,messages:[...this.messages]},r)).choices[0])==null?void 0:d.message;if(!v)throw new ie(\"missing message in ChatCompletion response\");if(!v.function_call)return;const{name:x,arguments:m}=v.function_call,p=f[x];if(p){if(l&&l!==x){const E=`Invalid function_call: ${JSON.stringify(x)}. ${JSON.stringify(l)} requested. Please try again`;this._addMessage({role:i,name:x,content:E});continue}}else{const E=`Invalid function_call: ${JSON.stringify(x)}. Available options are: ${c.map(y=>JSON.stringify(y.name)).join(\", \")}. Please try again`;this._addMessage({role:i,name:x,content:E});continue}let w;try{w=Yv(p)?await p.parse(m):m}catch(E){this._addMessage({role:i,name:x,content:E instanceof Error?E.message:String(E)});continue}const S=await p.function(w,this),k=$t(this,_t,\"m\",Yh).call(this,S);if(this._addMessage({role:i,name:x,content:k}),l)return}}async _runTools(t,n,r){var h,g,v;const i=\"tool\",{tool_choice:s=\"auto\",stream:o,...a}=n,l=typeof s!=\"string\"&&((h=s==null?void 0:s.function)==null?void 0:h.name),{maxChatCompletions:u=Zv}=r||{},f=n.tools.map(x=>{if(dl(x)){if(!x.$callback)throw new ie(\"Tool given to `.runTools()` that does not have an associated function\");return{type:\"function\",function:{function:x.$callback,name:x.function.name,description:x.function.description||\"\",parameters:x.function.parameters,parse:x.$parseRaw,strict:!0}}}return x}),c={};for(const x of f)x.type===\"function\"&&(c[x.function.name||x.function.function.name]=x.function);const d=\"tools\"in n?f.map(x=>x.type===\"function\"?{type:\"function\",function:{name:x.function.name||x.function.function.name,parameters:x.function.parameters,description:x.function.description,strict:x.function.strict}}:x):void 0;for(const x of n.messages)this._addMessage(x,!1);for(let x=0;x<u;++x){const p=(g=(await this._createChatCompletion(t,{...a,tool_choice:s,tools:d,messages:[...this.messages]},r)).choices[0])==null?void 0:g.message;if(!p)throw new ie(\"missing message in ChatCompletion response\");if(!((v=p.tool_calls)!=null&&v.length))return;for(const w of p.tool_calls){if(w.type!==\"function\")continue;const S=w.id,{name:k,arguments:E}=w.function,y=c[k];if(y){if(l&&l!==k){const O=`Invalid tool_call: ${JSON.stringify(k)}. ${JSON.stringify(l)} requested. Please try again`;this._addMessage({role:i,tool_call_id:S,content:O});continue}}else{const O=`Invalid tool_call: ${JSON.stringify(k)}. Available options are: ${Object.keys(c).map(I=>JSON.stringify(I)).join(\", \")}. Please try again`;this._addMessage({role:i,tool_call_id:S,content:O});continue}let R;try{R=Yv(y)?await y.parse(E):E}catch(O){const I=O instanceof Error?O.message:String(O);this._addMessage({role:i,tool_call_id:S,content:I});continue}const T=await y.function(R,this),A=$t(this,_t,\"m\",Yh).call(this,T);if(this._addMessage({role:i,tool_call_id:S,content:A}),l)return}}}}_t=new WeakSet,qh=function(){return $t(this,_t,\"m\",cc).call(this).content??null},cc=function(){let t=this.messages.length;for(;t-- >0;){const n=this.messages[t];if(Js(n)){const{function_call:r,...i}=n,s={...i,content:n.content??null,refusal:n.refusal??null};return r&&(s.function_call=r),s}}throw new ie(\"stream ended without producing a ChatCompletionMessage with role=assistant\")},Jh=function(){var t,n;for(let r=this.messages.length-1;r>=0;r--){const i=this.messages[r];if(Js(i)&&(i!=null&&i.function_call))return i.function_call;if(Js(i)&&((t=i==null?void 0:i.tool_calls)!=null&&t.length))return(n=i.tool_calls.at(-1))==null?void 0:n.function}},Gh=function(){for(let t=this.messages.length-1;t>=0;t--){const n=this.messages[t];if(vb(n)&&n.content!=null||wb(n)&&n.content!=null&&typeof n.content==\"string\"&&this.messages.some(r=>{var i;return r.role===\"assistant\"&&((i=r.tool_calls)==null?void 0:i.some(s=>s.type===\"function\"&&s.id===n.tool_call_id))}))return n.content}},Xh=function(){const t={completion_tokens:0,prompt_tokens:0,total_tokens:0};for(const{usage:n}of this._chatCompletions)n&&(t.completion_tokens+=n.completion_tokens,t.prompt_tokens+=n.prompt_tokens,t.total_tokens+=n.total_tokens);return t},bb=function(t){if(t.n!=null&&t.n>1)throw new ie(\"ChatCompletion convenience helpers only support n=1 at this time. To use n>1, please use chat.completions.create() directly.\")},Yh=function(t){return typeof t==\"string\"?t:t===void 0?\"undefined\":JSON.stringify(t)};class Ja extends Eb{static runFunctions(t,n,r){const i=new Ja,s={...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"runFunctions\"}};return i._run(()=>i._runFunctions(t,n,s)),i}static runTools(t,n,r){const i=new Ja,s={...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"runTools\"}};return i._run(()=>i._runTools(t,n,s)),i}_addMessage(t,n=!0){super._addMessage(t,n),Js(t)&&t.content&&this._emit(\"content\",t.content)}}const _b=1,Cb=2,kb=4,Pb=8,Rb=16,Ab=32,Tb=64,Ob=128,Ib=256,Lb=Ob|Ib,Mb=Rb|Ab|Lb|Tb,Nb=_b|Cb|Mb,Fb=kb|Pb,NN=Nb|Fb,ot={STR:_b,NUM:Cb,ARR:kb,OBJ:Pb,NULL:Rb,BOOL:Ab,NAN:Tb,INFINITY:Ob,MINUS_INFINITY:Ib,INF:Lb,SPECIAL:Mb,ATOM:Nb,COLLECTION:Fb,ALL:NN};class FN extends Error{}class DN extends Error{}function $N(e,t=ot.ALL){if(typeof e!=\"string\")throw new TypeError(`expecting str, got ${typeof e}`);if(!e.trim())throw new Error(`${e} is empty`);return jN(e.trim(),t)}const jN=(e,t)=>{const n=e.length;let r=0;const i=d=>{throw new FN(`${d} at position ${r}`)},s=d=>{throw new DN(`${d} at position ${r}`)},o=()=>(c(),r>=n&&i(\"Unexpected end of input\"),e[r]==='\"'?a():e[r]===\"{\"?l():e[r]===\"[\"?u():e.substring(r,r+4)===\"null\"||ot.NULL&t&&n-r<4&&\"null\".startsWith(e.substring(r))?(r+=4,null):e.substring(r,r+4)===\"true\"||ot.BOOL&t&&n-r<4&&\"true\".startsWith(e.substring(r))?(r+=4,!0):e.substring(r,r+5)===\"false\"||ot.BOOL&t&&n-r<5&&\"false\".startsWith(e.substring(r))?(r+=5,!1):e.substring(r,r+8)===\"Infinity\"||ot.INFINITY&t&&n-r<8&&\"Infinity\".startsWith(e.substring(r))?(r+=8,1/0):e.substring(r,r+9)===\"-Infinity\"||ot.MINUS_INFINITY&t&&1<n-r&&n-r<9&&\"-Infinity\".startsWith(e.substring(r))?(r+=9,-1/0):e.substring(r,r+3)===\"NaN\"||ot.NAN&t&&n-r<3&&\"NaN\".startsWith(e.substring(r))?(r+=3,NaN):f()),a=()=>{const d=r;let h=!1;for(r++;r<n&&(e[r]!=='\"'||h&&e[r-1]===\"\\\\\");)h=e[r]===\"\\\\\"?!h:!1,r++;if(e.charAt(r)=='\"')try{return JSON.parse(e.substring(d,++r-Number(h)))}catch(g){s(String(g))}else if(ot.STR&t)try{return JSON.parse(e.substring(d,r-Number(h))+'\"')}catch{return JSON.parse(e.substring(d,e.lastIndexOf(\"\\\\\"))+'\"')}i(\"Unterminated string literal\")},l=()=>{r++,c();const d={};try{for(;e[r]!==\"}\";){if(c(),r>=n&&ot.OBJ&t)return d;const h=a();c(),r++;try{const g=o();Object.defineProperty(d,h,{value:g,writable:!0,enumerable:!0,configurable:!0})}catch(g){if(ot.OBJ&t)return d;throw g}c(),e[r]===\",\"&&r++}}catch{if(ot.OBJ&t)return d;i(\"Expected '}' at end of object\")}return r++,d},u=()=>{r++;const d=[];try{for(;e[r]!==\"]\";)d.push(o()),c(),e[r]===\",\"&&r++}catch{if(ot.ARR&t)return d;i(\"Expected ']' at end of array\")}return r++,d},f=()=>{if(r===0){e===\"-\"&&ot.NUM&t&&i(\"Not sure what '-' is\");try{return JSON.parse(e)}catch(h){if(ot.NUM&t)try{return e[e.length-1]===\".\"?JSON.parse(e.substring(0,e.lastIndexOf(\".\"))):JSON.parse(e.substring(0,e.lastIndexOf(\"e\")))}catch{}s(String(h))}}const d=r;for(e[r]===\"-\"&&r++;e[r]&&!\",]}\".includes(e[r]);)r++;r==n&&!(ot.NUM&t)&&i(\"Unterminated number literal\");try{return JSON.parse(e.substring(d,r))}catch{e.substring(d,r)===\"-\"&&ot.NUM&t&&i(\"Not sure what '-' is\");try{return JSON.parse(e.substring(d,e.lastIndexOf(\"e\")))}catch(g){s(String(g))}}},c=()=>{for(;r<n&&` \n\\r\t`.includes(e[r]);)r++};return o()},ew=e=>$N(e,ot.ALL^ot.NUM);var gs=function(e,t,n,r,i){if(r===\"m\")throw new TypeError(\"Private method is not writable\");if(r===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!i:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return r===\"a\"?i.call(e,n):i?i.value=n:t.set(e,n),n},Re=function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},et,yr,ys,Br,yd,Xl,vd,wd,xd,Yl,Sd,tw;class Ga extends Eb{constructor(t){super(),et.add(this),yr.set(this,void 0),ys.set(this,void 0),Br.set(this,void 0),gs(this,yr,t,\"f\"),gs(this,ys,[],\"f\")}get currentChatCompletionSnapshot(){return Re(this,Br,\"f\")}static fromReadableStream(t){const n=new Ga(null);return n._run(()=>n._fromReadableStream(t)),n}static createChatCompletion(t,n,r){const i=new Ga(n);return i._run(()=>i._runChatCompletion(t,{...n,stream:!0},{...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"stream\"}})),i}async _createChatCompletion(t,n,r){var o;super._createChatCompletion;const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener(\"abort\",()=>this.controller.abort())),Re(this,et,\"m\",yd).call(this);const s=await t.chat.completions.create({...n,stream:!0},{...r,signal:this.controller.signal});this._connected();for await(const a of s)Re(this,et,\"m\",vd).call(this,a);if((o=s.controller.signal)!=null&&o.aborted)throw new pn;return this._addChatCompletion(Re(this,et,\"m\",Yl).call(this))}async _fromReadableStream(t,n){var o;const r=n==null?void 0:n.signal;r&&(r.aborted&&this.controller.abort(),r.addEventListener(\"abort\",()=>this.controller.abort())),Re(this,et,\"m\",yd).call(this),this._connected();const i=er.fromReadableStream(t,this.controller);let s;for await(const a of i)s&&s!==a.id&&this._addChatCompletion(Re(this,et,\"m\",Yl).call(this)),Re(this,et,\"m\",vd).call(this,a),s=a.id;if((o=i.controller.signal)!=null&&o.aborted)throw new pn;return this._addChatCompletion(Re(this,et,\"m\",Yl).call(this))}[(yr=new WeakMap,ys=new WeakMap,Br=new WeakMap,et=new WeakSet,yd=function(){this.ended||gs(this,Br,void 0,\"f\")},Xl=function(n){let r=Re(this,ys,\"f\")[n.index];return r||(r={content_done:!1,refusal_done:!1,logprobs_content_done:!1,logprobs_refusal_done:!1,done_tool_calls:new Set,current_tool_call_index:null},Re(this,ys,\"f\")[n.index]=r,r)},vd=function(n){var i,s,o,a,l,u,f,c,d,h,g,v,x,m,p;if(this.ended)return;const r=Re(this,et,\"m\",tw).call(this,n);this._emit(\"chunk\",n,r);for(const w of n.choices){const S=r.choices[w.index];w.delta.content!=null&&((i=S.message)==null?void 0:i.role)===\"assistant\"&&((s=S.message)!=null&&s.content)&&(this._emit(\"content\",w.delta.content,S.message.content),this._emit(\"content.delta\",{delta:w.delta.content,snapshot:S.message.content,parsed:S.message.parsed})),w.delta.refusal!=null&&((o=S.message)==null?void 0:o.role)===\"assistant\"&&((a=S.message)!=null&&a.refusal)&&this._emit(\"refusal.delta\",{delta:w.delta.refusal,snapshot:S.message.refusal}),((l=w.logprobs)==null?void 0:l.content)!=null&&((u=S.message)==null?void 0:u.role)===\"assistant\"&&this._emit(\"logprobs.content.delta\",{content:(f=w.logprobs)==null?void 0:f.content,snapshot:((c=S.logprobs)==null?void 0:c.content)??[]}),((d=w.logprobs)==null?void 0:d.refusal)!=null&&((h=S.message)==null?void 0:h.role)===\"assistant\"&&this._emit(\"logprobs.refusal.delta\",{refusal:(g=w.logprobs)==null?void 0:g.refusal,snapshot:((v=S.logprobs)==null?void 0:v.refusal)??[]});const k=Re(this,et,\"m\",Xl).call(this,S);S.finish_reason&&(Re(this,et,\"m\",xd).call(this,S),k.current_tool_call_index!=null&&Re(this,et,\"m\",wd).call(this,S,k.current_tool_call_index));for(const E of w.delta.tool_calls??[])k.current_tool_call_index!==E.index&&(Re(this,et,\"m\",xd).call(this,S),k.current_tool_call_index!=null&&Re(this,et,\"m\",wd).call(this,S,k.current_tool_call_index)),k.current_tool_call_index=E.index;for(const E of w.delta.tool_calls??[]){const y=(x=S.message.tool_calls)==null?void 0:x[E.index];y!=null&&y.type&&((y==null?void 0:y.type)===\"function\"?this._emit(\"tool_calls.function.arguments.delta\",{name:(m=y.function)==null?void 0:m.name,index:E.index,arguments:y.function.arguments,parsed_arguments:y.function.parsed_arguments,arguments_delta:((p=E.function)==null?void 0:p.arguments)??\"\"}):(y==null||y.type,void 0))}}},wd=function(n,r){var o,a,l;if(Re(this,et,\"m\",Xl).call(this,n).done_tool_calls.has(r))return;const s=(o=n.message.tool_calls)==null?void 0:o[r];if(!s)throw new Error(\"no tool call snapshot\");if(!s.type)throw new Error(\"tool call snapshot missing `type`\");if(s.type===\"function\"){const u=(l=(a=Re(this,yr,\"f\"))==null?void 0:a.tools)==null?void 0:l.find(f=>f.type===\"function\"&&f.function.name===s.function.name);this._emit(\"tool_calls.function.arguments.done\",{name:s.function.name,index:r,arguments:s.function.arguments,parsed_arguments:dl(u)?u.$parseRaw(s.function.arguments):u!=null&&u.function.strict?JSON.parse(s.function.arguments):null})}else s.type},xd=function(n){var i,s;const r=Re(this,et,\"m\",Xl).call(this,n);if(n.message.content&&!r.content_done){r.content_done=!0;const o=Re(this,et,\"m\",Sd).call(this);this._emit(\"content.done\",{content:n.message.content,parsed:o?o.$parseRaw(n.message.content):null})}n.message.refusal&&!r.refusal_done&&(r.refusal_done=!0,this._emit(\"refusal.done\",{refusal:n.message.refusal})),(i=n.logprobs)!=null&&i.content&&!r.logprobs_content_done&&(r.logprobs_content_done=!0,this._emit(\"logprobs.content.done\",{content:n.logprobs.content})),(s=n.logprobs)!=null&&s.refusal&&!r.logprobs_refusal_done&&(r.logprobs_refusal_done=!0,this._emit(\"logprobs.refusal.done\",{refusal:n.logprobs.refusal}))},Yl=function(){if(this.ended)throw new ie(\"stream has ended, this shouldn't happen\");const n=Re(this,Br,\"f\");if(!n)throw new ie(\"request ended without sending any chunks\");return gs(this,Br,void 0,\"f\"),gs(this,ys,[],\"f\"),zN(n,Re(this,yr,\"f\"))},Sd=function(){var r;const n=(r=Re(this,yr,\"f\"))==null?void 0:r.response_format;return Im(n)?n:null},tw=function(n){var r,i,s,o;let a=Re(this,Br,\"f\");const{choices:l,...u}=n;a?Object.assign(a,u):a=gs(this,Br,{...u,choices:[]},\"f\");for(const{delta:f,finish_reason:c,index:d,logprobs:h=null,...g}of n.choices){let v=a.choices[d];if(v||(v=a.choices[d]={finish_reason:c,index:d,message:{},logprobs:h,...g}),h)if(!v.logprobs)v.logprobs=Object.assign({},h);else{const{content:E,refusal:y,...R}=h;Object.assign(v.logprobs,R),E&&((r=v.logprobs).content??(r.content=[]),v.logprobs.content.push(...E)),y&&((i=v.logprobs).refusal??(i.refusal=[]),v.logprobs.refusal.push(...y))}if(c&&(v.finish_reason=c,Re(this,yr,\"f\")&&Sb(Re(this,yr,\"f\")))){if(c===\"length\")throw new nb;if(c===\"content_filter\")throw new rb}if(Object.assign(v,g),!f)continue;const{content:x,refusal:m,function_call:p,role:w,tool_calls:S,...k}=f;if(Object.assign(v.message,k),m&&(v.message.refusal=(v.message.refusal||\"\")+m),w&&(v.message.role=w),p&&(v.message.function_call?(p.name&&(v.message.function_call.name=p.name),p.arguments&&((s=v.message.function_call).arguments??(s.arguments=\"\"),v.message.function_call.arguments+=p.arguments)):v.message.function_call=p),x&&(v.message.content=(v.message.content||\"\")+x,!v.message.refusal&&Re(this,et,\"m\",Sd).call(this)&&(v.message.parsed=ew(v.message.content))),S){v.message.tool_calls||(v.message.tool_calls=[]);for(const{index:E,id:y,type:R,function:T,...A}of S){const O=(o=v.message.tool_calls)[E]??(o[E]={});Object.assign(O,A),y&&(O.id=y),R&&(O.type=R),T&&(O.function??(O.function={name:T.name??\"\",arguments:\"\"})),T!=null&&T.name&&(O.function.name=T.name),T!=null&&T.arguments&&(O.function.arguments+=T.arguments,LN(Re(this,yr,\"f\"),O)&&(O.function.parsed_arguments=ew(O.function.arguments)))}}}return a},Symbol.asyncIterator)](){const t=[],n=[];let r=!1;return this.on(\"chunk\",i=>{const s=n.shift();s?s.resolve(i):t.push(i)}),this.on(\"end\",()=>{r=!0;for(const i of n)i.resolve(void 0);n.length=0}),this.on(\"abort\",i=>{r=!0;for(const s of n)s.reject(i);n.length=0}),this.on(\"error\",i=>{r=!0;for(const s of n)s.reject(i);n.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:r?{value:void 0,done:!0}:new Promise((s,o)=>n.push({resolve:s,reject:o})).then(s=>s?{value:s,done:!1}:{value:void 0,done:!0}),return:async()=>(this.abort(),{value:void 0,done:!0})}}toReadableStream(){return new er(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}function zN(e,t){const{id:n,choices:r,created:i,model:s,system_fingerprint:o,...a}=e,l={...a,id:n,choices:r.map(({message:u,finish_reason:f,index:c,logprobs:d,...h})=>{if(!f)throw new ie(`missing finish_reason for choice ${c}`);const{content:g=null,function_call:v,tool_calls:x,...m}=u,p=u.role;if(!p)throw new ie(`missing role for choice ${c}`);if(v){const{arguments:w,name:S}=v;if(w==null)throw new ie(`missing function_call.arguments for choice ${c}`);if(!S)throw new ie(`missing function_call.name for choice ${c}`);return{...h,message:{content:g,function_call:{arguments:w,name:S},role:p,refusal:u.refusal??null},finish_reason:f,index:c,logprobs:d}}return x?{...h,index:c,finish_reason:f,logprobs:d,message:{...m,role:p,content:g,refusal:u.refusal??null,tool_calls:x.map((w,S)=>{const{function:k,type:E,id:y,...R}=w,{arguments:T,name:A,...O}=k||{};if(y==null)throw new ie(`missing choices[${c}].tool_calls[${S}].id\n${Zl(e)}`);if(E==null)throw new ie(`missing choices[${c}].tool_calls[${S}].type\n${Zl(e)}`);if(A==null)throw new ie(`missing choices[${c}].tool_calls[${S}].function.name\n${Zl(e)}`);if(T==null)throw new ie(`missing choices[${c}].tool_calls[${S}].function.arguments\n${Zl(e)}`);return{...R,id:y,type:E,function:{...O,name:A,arguments:T}}})}}:{...h,message:{...m,content:g,role:p,refusal:u.refusal??null},finish_reason:f,index:c,logprobs:d}}),created:i,model:s,object:\"chat.completion\",...o?{system_fingerprint:o}:{}};return TN(l,t)}function Zl(e){return JSON.stringify(e)}class Gs extends Ga{static fromReadableStream(t){const n=new Gs(null);return n._run(()=>n._fromReadableStream(t)),n}static runFunctions(t,n,r){const i=new Gs(null),s={...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"runFunctions\"}};return i._run(()=>i._runFunctions(t,n,s)),i}static runTools(t,n,r){const i=new Gs(n),s={...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"runTools\"}};return i._run(()=>i._runTools(t,n,s)),i}}let Db=class extends me{parse(t,n){return MN(t.tools),this._client.chat.completions.create(t,{...n,headers:{...n==null?void 0:n.headers,\"X-Stainless-Helper-Method\":\"beta.chat.completions.parse\"}})._thenUnwrap(r=>Lm(r,t))}runFunctions(t,n){return t.stream?Gs.runFunctions(this._client,t,n):Ja.runFunctions(this._client,t,n)}runTools(t,n){return t.stream?Gs.runTools(this._client,t,n):Ja.runTools(this._client,t,n)}stream(t,n){return Ga.createChatCompletion(this._client,t,n)}};class Zh extends me{constructor(){super(...arguments),this.completions=new Db(this._client)}}(function(e){e.Completions=Db})(Zh||(Zh={}));class $b extends me{create(t,n){return this._client.post(\"/realtime/sessions\",{body:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}}class jb extends me{create(t,n){return this._client.post(\"/realtime/transcription_sessions\",{body:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}}class nf extends me{constructor(){super(...arguments),this.sessions=new $b(this._client),this.transcriptionSessions=new jb(this._client)}}nf.Sessions=$b;nf.TranscriptionSessions=jb;var te=function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},Kt=function(e,t,n,r,i){if(r===\"m\")throw new TypeError(\"Private method is not writable\");if(r===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!i:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return r===\"a\"?i.call(e,n):i?i.value=n:t.set(e,n),n},dt,ep,qn,Eu,kn,Ui,$s,Fi,fc,Jt,_u,Cu,ba,la,ua,nw,rw,iw,sw,ow,aw,lw;class Ln extends Om{constructor(){super(...arguments),dt.add(this),ep.set(this,[]),qn.set(this,{}),Eu.set(this,{}),kn.set(this,void 0),Ui.set(this,void 0),$s.set(this,void 0),Fi.set(this,void 0),fc.set(this,void 0),Jt.set(this,void 0),_u.set(this,void 0),Cu.set(this,void 0),ba.set(this,void 0)}[(ep=new WeakMap,qn=new WeakMap,Eu=new WeakMap,kn=new WeakMap,Ui=new WeakMap,$s=new WeakMap,Fi=new WeakMap,fc=new WeakMap,Jt=new WeakMap,_u=new WeakMap,Cu=new WeakMap,ba=new WeakMap,dt=new WeakSet,Symbol.asyncIterator)](){const t=[],n=[];let r=!1;return this.on(\"event\",i=>{const s=n.shift();s?s.resolve(i):t.push(i)}),this.on(\"end\",()=>{r=!0;for(const i of n)i.resolve(void 0);n.length=0}),this.on(\"abort\",i=>{r=!0;for(const s of n)s.reject(i);n.length=0}),this.on(\"error\",i=>{r=!0;for(const s of n)s.reject(i);n.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:r?{value:void 0,done:!0}:new Promise((s,o)=>n.push({resolve:s,reject:o})).then(s=>s?{value:s,done:!1}:{value:void 0,done:!0}),return:async()=>(this.abort(),{value:void 0,done:!0})}}static fromReadableStream(t){const n=new Ln;return n._run(()=>n._fromReadableStream(t)),n}async _fromReadableStream(t,n){var s;const r=n==null?void 0:n.signal;r&&(r.aborted&&this.controller.abort(),r.addEventListener(\"abort\",()=>this.controller.abort())),this._connected();const i=er.fromReadableStream(t,this.controller);for await(const o of i)te(this,dt,\"m\",la).call(this,o);if((s=i.controller.signal)!=null&&s.aborted)throw new pn;return this._addRun(te(this,dt,\"m\",ua).call(this))}toReadableStream(){return new er(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}static createToolAssistantStream(t,n,r,i,s){const o=new Ln;return o._run(()=>o._runToolAssistantStream(t,n,r,i,{...s,headers:{...s==null?void 0:s.headers,\"X-Stainless-Helper-Method\":\"stream\"}})),o}async _createToolAssistantStream(t,n,r,i,s){var u;const o=s==null?void 0:s.signal;o&&(o.aborted&&this.controller.abort(),o.addEventListener(\"abort\",()=>this.controller.abort()));const a={...i,stream:!0},l=await t.submitToolOutputs(n,r,a,{...s,signal:this.controller.signal});this._connected();for await(const f of l)te(this,dt,\"m\",la).call(this,f);if((u=l.controller.signal)!=null&&u.aborted)throw new pn;return this._addRun(te(this,dt,\"m\",ua).call(this))}static createThreadAssistantStream(t,n,r){const i=new Ln;return i._run(()=>i._threadAssistantStream(t,n,{...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"stream\"}})),i}static createAssistantStream(t,n,r,i){const s=new Ln;return s._run(()=>s._runAssistantStream(t,n,r,{...i,headers:{...i==null?void 0:i.headers,\"X-Stainless-Helper-Method\":\"stream\"}})),s}currentEvent(){return te(this,_u,\"f\")}currentRun(){return te(this,Cu,\"f\")}currentMessageSnapshot(){return te(this,kn,\"f\")}currentRunStepSnapshot(){return te(this,ba,\"f\")}async finalRunSteps(){return await this.done(),Object.values(te(this,qn,\"f\"))}async finalMessages(){return await this.done(),Object.values(te(this,Eu,\"f\"))}async finalRun(){if(await this.done(),!te(this,Ui,\"f\"))throw Error(\"Final run was not received.\");return te(this,Ui,\"f\")}async _createThreadAssistantStream(t,n,r){var a;const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener(\"abort\",()=>this.controller.abort()));const s={...n,stream:!0},o=await t.createAndRun(s,{...r,signal:this.controller.signal});this._connected();for await(const l of o)te(this,dt,\"m\",la).call(this,l);if((a=o.controller.signal)!=null&&a.aborted)throw new pn;return this._addRun(te(this,dt,\"m\",ua).call(this))}async _createAssistantStream(t,n,r,i){var l;const s=i==null?void 0:i.signal;s&&(s.aborted&&this.controller.abort(),s.addEventListener(\"abort\",()=>this.controller.abort()));const o={...r,stream:!0},a=await t.create(n,o,{...i,signal:this.controller.signal});this._connected();for await(const u of a)te(this,dt,\"m\",la).call(this,u);if((l=a.controller.signal)!=null&&l.aborted)throw new pn;return this._addRun(te(this,dt,\"m\",ua).call(this))}static accumulateDelta(t,n){for(const[r,i]of Object.entries(n)){if(!t.hasOwnProperty(r)){t[r]=i;continue}let s=t[r];if(s==null){t[r]=i;continue}if(r===\"index\"||r===\"type\"){t[r]=i;continue}if(typeof s==\"string\"&&typeof i==\"string\")s+=i;else if(typeof s==\"number\"&&typeof i==\"number\")s+=i;else if(gd(s)&&gd(i))s=this.accumulateDelta(s,i);else if(Array.isArray(s)&&Array.isArray(i)){if(s.every(o=>typeof o==\"string\"||typeof o==\"number\")){s.push(...i);continue}for(const o of i){if(!gd(o))throw new Error(`Expected array delta entry to be an object but got: ${o}`);const a=o.index;if(a==null)throw console.error(o),new Error(\"Expected array delta entry to have an `index` property\");if(typeof a!=\"number\")throw new Error(`Expected array delta entry \\`index\\` property to be a number but got ${a}`);const l=s[a];l==null?s.push(o):s[a]=this.accumulateDelta(l,o)}continue}else throw Error(`Unhandled record type: ${r}, deltaValue: ${i}, accValue: ${s}`);t[r]=s}return t}_addRun(t){return t}async _threadAssistantStream(t,n,r){return await this._createThreadAssistantStream(n,t,r)}async _runAssistantStream(t,n,r,i){return await this._createAssistantStream(n,t,r,i)}async _runToolAssistantStream(t,n,r,i,s){return await this._createToolAssistantStream(r,t,n,i,s)}}la=function(t){if(!this.ended)switch(Kt(this,_u,t,\"f\"),te(this,dt,\"m\",iw).call(this,t),t.event){case\"thread.created\":break;case\"thread.run.created\":case\"thread.run.queued\":case\"thread.run.in_progress\":case\"thread.run.requires_action\":case\"thread.run.completed\":case\"thread.run.incomplete\":case\"thread.run.failed\":case\"thread.run.cancelling\":case\"thread.run.cancelled\":case\"thread.run.expired\":te(this,dt,\"m\",lw).call(this,t);break;case\"thread.run.step.created\":case\"thread.run.step.in_progress\":case\"thread.run.step.delta\":case\"thread.run.step.completed\":case\"thread.run.step.failed\":case\"thread.run.step.cancelled\":case\"thread.run.step.expired\":te(this,dt,\"m\",rw).call(this,t);break;case\"thread.message.created\":case\"thread.message.in_progress\":case\"thread.message.delta\":case\"thread.message.completed\":case\"thread.message.incomplete\":te(this,dt,\"m\",nw).call(this,t);break;case\"error\":throw new Error(\"Encountered an error event in event processing - errors should be processed earlier\")}},ua=function(){if(this.ended)throw new ie(\"stream has ended, this shouldn't happen\");if(!te(this,Ui,\"f\"))throw Error(\"Final run has not been received\");return te(this,Ui,\"f\")},nw=function(t){const[n,r]=te(this,dt,\"m\",ow).call(this,t,te(this,kn,\"f\"));Kt(this,kn,n,\"f\"),te(this,Eu,\"f\")[n.id]=n;for(const i of r){const s=n.content[i.index];(s==null?void 0:s.type)==\"text\"&&this._emit(\"textCreated\",s.text)}switch(t.event){case\"thread.message.created\":this._emit(\"messageCreated\",t.data);break;case\"thread.message.in_progress\":break;case\"thread.message.delta\":if(this._emit(\"messageDelta\",t.data.delta,n),t.data.delta.content)for(const i of t.data.delta.content){if(i.type==\"text\"&&i.text){let s=i.text,o=n.content[i.index];if(o&&o.type==\"text\")this._emit(\"textDelta\",s,o.text);else throw Error(\"The snapshot associated with this text delta is not text or missing\")}if(i.index!=te(this,$s,\"f\")){if(te(this,Fi,\"f\"))switch(te(this,Fi,\"f\").type){case\"text\":this._emit(\"textDone\",te(this,Fi,\"f\").text,te(this,kn,\"f\"));break;case\"image_file\":this._emit(\"imageFileDone\",te(this,Fi,\"f\").image_file,te(this,kn,\"f\"));break}Kt(this,$s,i.index,\"f\")}Kt(this,Fi,n.content[i.index],\"f\")}break;case\"thread.message.completed\":case\"thread.message.incomplete\":if(te(this,$s,\"f\")!==void 0){const i=t.data.content[te(this,$s,\"f\")];if(i)switch(i.type){case\"image_file\":this._emit(\"imageFileDone\",i.image_file,te(this,kn,\"f\"));break;case\"text\":this._emit(\"textDone\",i.text,te(this,kn,\"f\"));break}}te(this,kn,\"f\")&&this._emit(\"messageDone\",t.data),Kt(this,kn,void 0,\"f\")}},rw=function(t){const n=te(this,dt,\"m\",sw).call(this,t);switch(Kt(this,ba,n,\"f\"),t.event){case\"thread.run.step.created\":this._emit(\"runStepCreated\",t.data);break;case\"thread.run.step.delta\":const r=t.data.delta;if(r.step_details&&r.step_details.type==\"tool_calls\"&&r.step_details.tool_calls&&n.step_details.type==\"tool_calls\")for(const s of r.step_details.tool_calls)s.index==te(this,fc,\"f\")?this._emit(\"toolCallDelta\",s,n.step_details.tool_calls[s.index]):(te(this,Jt,\"f\")&&this._emit(\"toolCallDone\",te(this,Jt,\"f\")),Kt(this,fc,s.index,\"f\"),Kt(this,Jt,n.step_details.tool_calls[s.index],\"f\"),te(this,Jt,\"f\")&&this._emit(\"toolCallCreated\",te(this,Jt,\"f\")));this._emit(\"runStepDelta\",t.data.delta,n);break;case\"thread.run.step.completed\":case\"thread.run.step.failed\":case\"thread.run.step.cancelled\":case\"thread.run.step.expired\":Kt(this,ba,void 0,\"f\"),t.data.step_details.type==\"tool_calls\"&&te(this,Jt,\"f\")&&(this._emit(\"toolCallDone\",te(this,Jt,\"f\")),Kt(this,Jt,void 0,\"f\")),this._emit(\"runStepDone\",t.data,n);break}},iw=function(t){te(this,ep,\"f\").push(t),this._emit(\"event\",t)},sw=function(t){switch(t.event){case\"thread.run.step.created\":return te(this,qn,\"f\")[t.data.id]=t.data,t.data;case\"thread.run.step.delta\":let n=te(this,qn,\"f\")[t.data.id];if(!n)throw Error(\"Received a RunStepDelta before creation of a snapshot\");let r=t.data;if(r.delta){const i=Ln.accumulateDelta(n,r.delta);te(this,qn,\"f\")[t.data.id]=i}return te(this,qn,\"f\")[t.data.id];case\"thread.run.step.completed\":case\"thread.run.step.failed\":case\"thread.run.step.cancelled\":case\"thread.run.step.expired\":case\"thread.run.step.in_progress\":te(this,qn,\"f\")[t.data.id]=t.data;break}if(te(this,qn,\"f\")[t.data.id])return te(this,qn,\"f\")[t.data.id];throw new Error(\"No snapshot available\")},ow=function(t,n){let r=[];switch(t.event){case\"thread.message.created\":return[t.data,r];case\"thread.message.delta\":if(!n)throw Error(\"Received a delta with no existing snapshot (there should be one from message creation)\");let i=t.data;if(i.delta.content)for(const s of i.delta.content)if(s.index in n.content){let o=n.content[s.index];n.content[s.index]=te(this,dt,\"m\",aw).call(this,s,o)}else n.content[s.index]=s,r.push(s);return[n,r];case\"thread.message.in_progress\":case\"thread.message.completed\":case\"thread.message.incomplete\":if(n)return[n,r];throw Error(\"Received thread message event with no existing snapshot\")}throw Error(\"Tried to accumulate a non-message event\")},aw=function(t,n){return Ln.accumulateDelta(n,t)},lw=function(t){switch(Kt(this,Cu,t.data,\"f\"),t.event){case\"thread.run.created\":break;case\"thread.run.queued\":break;case\"thread.run.in_progress\":break;case\"thread.run.requires_action\":case\"thread.run.cancelled\":case\"thread.run.failed\":case\"thread.run.completed\":case\"thread.run.expired\":Kt(this,Ui,t.data,\"f\"),te(this,Jt,\"f\")&&(this._emit(\"toolCallDone\",te(this,Jt,\"f\")),Kt(this,Jt,void 0,\"f\"));break}};class Mm extends me{create(t,n,r){return this._client.post(`/threads/${t}/messages`,{body:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}retrieve(t,n,r){return this._client.get(`/threads/${t}/messages/${n}`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}update(t,n,r,i){return this._client.post(`/threads/${t}/messages/${n}`,{body:r,...i,headers:{\"OpenAI-Beta\":\"assistants=v2\",...i==null?void 0:i.headers}})}list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/threads/${t}/messages`,Nm,{query:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}del(t,n,r){return this._client.delete(`/threads/${t}/messages/${n}`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}}class Nm extends yt{}Mm.MessagesPage=Nm;class Fm extends me{retrieve(t,n,r,i={},s){return Ke(i)?this.retrieve(t,n,r,{},i):this._client.get(`/threads/${t}/runs/${n}/steps/${r}`,{query:i,...s,headers:{\"OpenAI-Beta\":\"assistants=v2\",...s==null?void 0:s.headers}})}list(t,n,r={},i){return Ke(r)?this.list(t,n,{},r):this._client.getAPIList(`/threads/${t}/runs/${n}/steps`,Dm,{query:r,...i,headers:{\"OpenAI-Beta\":\"assistants=v2\",...i==null?void 0:i.headers}})}}class Dm extends yt{}Fm.RunStepsPage=Dm;let hl=class extends me{constructor(){super(...arguments),this.steps=new Fm(this._client)}create(t,n,r){const{include:i,...s}=n;return this._client.post(`/threads/${t}/runs`,{query:{include:i},body:s,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers},stream:n.stream??!1})}retrieve(t,n,r){return this._client.get(`/threads/${t}/runs/${n}`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}update(t,n,r,i){return this._client.post(`/threads/${t}/runs/${n}`,{body:r,...i,headers:{\"OpenAI-Beta\":\"assistants=v2\",...i==null?void 0:i.headers}})}list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/threads/${t}/runs`,$m,{query:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}cancel(t,n,r){return this._client.post(`/threads/${t}/runs/${n}/cancel`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}async createAndPoll(t,n,r){const i=await this.create(t,n,r);return await this.poll(t,i.id,r)}createAndStream(t,n,r){return Ln.createAssistantStream(t,this._client.beta.threads.runs,n,r)}async poll(t,n,r){const i={...r==null?void 0:r.headers,\"X-Stainless-Poll-Helper\":\"true\"};for(r!=null&&r.pollIntervalMs&&(i[\"X-Stainless-Custom-Poll-Interval\"]=r.pollIntervalMs.toString());;){const{data:s,response:o}=await this.retrieve(t,n,{...r,headers:{...r==null?void 0:r.headers,...i}}).withResponse();switch(s.status){case\"queued\":case\"in_progress\":case\"cancelling\":let a=5e3;if(r!=null&&r.pollIntervalMs)a=r.pollIntervalMs;else{const l=o.headers.get(\"openai-poll-after-ms\");if(l){const u=parseInt(l);isNaN(u)||(a=u)}}await cl(a);break;case\"requires_action\":case\"incomplete\":case\"cancelled\":case\"completed\":case\"failed\":case\"expired\":return s}}}stream(t,n,r){return Ln.createAssistantStream(t,this._client.beta.threads.runs,n,r)}submitToolOutputs(t,n,r,i){return this._client.post(`/threads/${t}/runs/${n}/submit_tool_outputs`,{body:r,...i,headers:{\"OpenAI-Beta\":\"assistants=v2\",...i==null?void 0:i.headers},stream:r.stream??!1})}async submitToolOutputsAndPoll(t,n,r,i){const s=await this.submitToolOutputs(t,n,r,i);return await this.poll(t,s.id,i)}submitToolOutputsStream(t,n,r,i){return Ln.createToolAssistantStream(t,n,this._client.beta.threads.runs,r,i)}};class $m extends yt{}hl.RunsPage=$m;hl.Steps=Fm;hl.RunStepsPage=Dm;class Po extends me{constructor(){super(...arguments),this.runs=new hl(this._client),this.messages=new Mm(this._client)}create(t={},n){return Ke(t)?this.create({},t):this._client.post(\"/threads\",{body:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}retrieve(t,n){return this._client.get(`/threads/${t}`,{...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}update(t,n,r){return this._client.post(`/threads/${t}`,{body:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}del(t,n){return this._client.delete(`/threads/${t}`,{...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}createAndRun(t,n){return this._client.post(\"/threads/runs\",{body:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers},stream:t.stream??!1})}async createAndRunPoll(t,n){const r=await this.createAndRun(t,n);return await this.runs.poll(r.thread_id,r.id,n)}createAndRunStream(t,n){return Ln.createThreadAssistantStream(t,this._client.beta.threads,n)}}Po.Runs=hl;Po.RunsPage=$m;Po.Messages=Mm;Po.MessagesPage=Nm;class Ro extends me{constructor(){super(...arguments),this.realtime=new nf(this._client),this.chat=new Zh(this._client),this.assistants=new Am(this._client),this.threads=new Po(this._client)}}Ro.Realtime=nf;Ro.Assistants=Am;Ro.AssistantsPage=Tm;Ro.Threads=Po;class zb extends me{create(t,n){return this._client.post(\"/completions\",{body:t,...n,stream:t.stream??!1})}}class Ub extends me{create(t,n){const r=!!t.encoding_format;let i=r?t.encoding_format:\"base64\";r&&hi(\"Request\",\"User defined encoding_format:\",t.encoding_format);const s=this._client.post(\"/embeddings\",{body:{...t,encoding_format:i},...n});return r?s:(hi(\"response\",\"Decoding base64 embeddings to float32 array\"),s._thenUnwrap(o=>(o&&o.data&&o.data.forEach(a=>{const l=a.embedding;a.embedding=RN(l)}),o)))}}class jm extends me{retrieve(t,n,r,i){return this._client.get(`/evals/${t}/runs/${n}/output_items/${r}`,i)}list(t,n,r={},i){return Ke(r)?this.list(t,n,{},r):this._client.getAPIList(`/evals/${t}/runs/${n}/output_items`,zm,{query:r,...i})}}class zm extends yt{}jm.OutputItemListResponsesPage=zm;class pl extends me{constructor(){super(...arguments),this.outputItems=new jm(this._client)}create(t,n,r){return this._client.post(`/evals/${t}/runs`,{body:n,...r})}retrieve(t,n,r){return this._client.get(`/evals/${t}/runs/${n}`,r)}list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/evals/${t}/runs`,Um,{query:n,...r})}del(t,n,r){return this._client.delete(`/evals/${t}/runs/${n}`,r)}cancel(t,n,r){return this._client.post(`/evals/${t}/runs/${n}`,r)}}class Um extends yt{}pl.RunListResponsesPage=Um;pl.OutputItems=jm;pl.OutputItemListResponsesPage=zm;class ml extends me{constructor(){super(...arguments),this.runs=new pl(this._client)}create(t,n){return this._client.post(\"/evals\",{body:t,...n})}retrieve(t,n){return this._client.get(`/evals/${t}`,n)}update(t,n,r){return this._client.post(`/evals/${t}`,{body:n,...r})}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/evals\",Bm,{query:t,...n})}del(t,n){return this._client.delete(`/evals/${t}`,n)}}class Bm extends yt{}ml.EvalListResponsesPage=Bm;ml.Runs=pl;ml.RunListResponsesPage=Um;let Hm=class extends me{create(t,n){return this._client.post(\"/files\",vo({body:t,...n}))}retrieve(t,n){return this._client.get(`/files/${t}`,n)}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/files\",Vm,{query:t,...n})}del(t,n){return this._client.delete(`/files/${t}`,n)}content(t,n){return this._client.get(`/files/${t}/content`,{...n,headers:{Accept:\"application/binary\",...n==null?void 0:n.headers},__binaryResponse:!0})}retrieveContent(t,n){return this._client.get(`/files/${t}/content`,n)}async waitForProcessing(t,{pollInterval:n=5e3,maxWait:r=30*60*1e3}={}){const i=new Set([\"processed\",\"error\",\"deleted\"]),s=Date.now();let o=await this.retrieve(t);for(;!o.status||!i.has(o.status);)if(await cl(n),o=await this.retrieve(t),Date.now()-s>r)throw new km({message:`Giving up on waiting for file ${t} to finish processing after ${r} milliseconds.`});return o}};class Vm extends yt{}Hm.FileObjectsPage=Vm;class Wm extends me{create(t,n,r){return this._client.getAPIList(`/fine_tuning/checkpoints/${t}/permissions`,Qm,{body:n,method:\"post\",...r})}retrieve(t,n={},r){return Ke(n)?this.retrieve(t,{},n):this._client.get(`/fine_tuning/checkpoints/${t}/permissions`,{query:n,...r})}del(t,n){return this._client.delete(`/fine_tuning/checkpoints/${t}/permissions`,n)}}class Qm extends Yc{}Wm.PermissionCreateResponsesPage=Qm;let rf=class extends me{constructor(){super(...arguments),this.permissions=new Wm(this._client)}};rf.Permissions=Wm;rf.PermissionCreateResponsesPage=Qm;class Km extends me{list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/fine_tuning/jobs/${t}/checkpoints`,qm,{query:n,...r})}}class qm extends yt{}Km.FineTuningJobCheckpointsPage=qm;class Ao extends me{constructor(){super(...arguments),this.checkpoints=new Km(this._client)}create(t,n){return this._client.post(\"/fine_tuning/jobs\",{body:t,...n})}retrieve(t,n){return this._client.get(`/fine_tuning/jobs/${t}`,n)}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/fine_tuning/jobs\",Jm,{query:t,...n})}cancel(t,n){return this._client.post(`/fine_tuning/jobs/${t}/cancel`,n)}listEvents(t,n={},r){return Ke(n)?this.listEvents(t,{},n):this._client.getAPIList(`/fine_tuning/jobs/${t}/events`,Gm,{query:n,...r})}}class Jm extends yt{}class Gm extends yt{}Ao.FineTuningJobsPage=Jm;Ao.FineTuningJobEventsPage=Gm;Ao.Checkpoints=Km;Ao.FineTuningJobCheckpointsPage=qm;class To extends me{constructor(){super(...arguments),this.jobs=new Ao(this._client),this.checkpoints=new rf(this._client)}}To.Jobs=Ao;To.FineTuningJobsPage=Jm;To.FineTuningJobEventsPage=Gm;To.Checkpoints=rf;class Bb extends me{createVariation(t,n){return this._client.post(\"/images/variations\",vo({body:t,...n}))}edit(t,n){return this._client.post(\"/images/edits\",vo({body:t,...n}))}generate(t,n){return this._client.post(\"/images/generations\",{body:t,...n})}}class Xm extends me{retrieve(t,n){return this._client.get(`/models/${t}`,n)}list(t){return this._client.getAPIList(\"/models\",Ym,t)}del(t,n){return this._client.delete(`/models/${t}`,n)}}class Ym extends Yc{}Xm.ModelsPage=Ym;class Hb extends me{create(t,n){return this._client.post(\"/moderations\",{body:t,...n})}}function UN(e,t){return!t||!HN(t)?{...e,output_parsed:null,output:e.output.map(n=>n.type===\"function_call\"?{...n,parsed_arguments:null}:n.type===\"message\"?{...n,content:n.content.map(r=>({...r,parsed:null}))}:n)}:Vb(e,t)}function Vb(e,t){const n=e.output.map(i=>{if(i.type===\"function_call\")return{...i,parsed_arguments:QN(t,i)};if(i.type===\"message\"){const s=i.content.map(o=>o.type===\"output_text\"?{...o,parsed:BN(t,o.text)}:o);return{...i,content:s}}return i}),r=Object.assign({},e,{output:n});return Object.getOwnPropertyDescriptor(e,\"output_text\")||Wb(r),Object.defineProperty(r,\"output_parsed\",{enumerable:!0,get(){for(const i of r.output)if(i.type===\"message\"){for(const s of i.content)if(s.type===\"output_text\"&&s.parsed!==null)return s.parsed}return null}}),r}function BN(e,t){var n,r,i,s;return((r=(n=e.text)==null?void 0:n.format)==null?void 0:r.type)!==\"json_schema\"?null:\"$parseRaw\"in((i=e.text)==null?void 0:i.format)?((s=e.text)==null?void 0:s.format).$parseRaw(t):JSON.parse(t)}function HN(e){var t;return!!Im((t=e.text)==null?void 0:t.format)}function VN(e){return(e==null?void 0:e.$brand)===\"auto-parseable-tool\"}function WN(e,t){return e.find(n=>n.type===\"function\"&&n.name===t)}function QN(e,t){const n=WN(e.tools??[],t.name);return{...t,...t,parsed_arguments:VN(n)?n.$parseRaw(t.arguments):n!=null&&n.strict?JSON.parse(t.arguments):null}}function Wb(e){const t=[];for(const n of e.output)if(n.type===\"message\")for(const r of n.content)r.type===\"output_text\"&&t.push(r.text);e.output_text=t.join(\"\")}class Qb extends me{list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/responses/${t}/input_items`,qN,{query:n,...r})}}var vs=function(e,t,n,r,i){if(r===\"m\")throw new TypeError(\"Private method is not writable\");if(r===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!i:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return r===\"a\"?i.call(e,n):i?i.value=n:t.set(e,n),n},Hr=function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},ws,eu,Vr,tu,uw,cw,fw,dw;class Zm extends Om{constructor(t){super(),ws.add(this),eu.set(this,void 0),Vr.set(this,void 0),tu.set(this,void 0),vs(this,eu,t,\"f\")}static createResponse(t,n,r){const i=new Zm(n);return i._run(()=>i._createResponse(t,n,{...r,headers:{...r==null?void 0:r.headers,\"X-Stainless-Helper-Method\":\"stream\"}})),i}async _createResponse(t,n,r){var o;const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener(\"abort\",()=>this.controller.abort())),Hr(this,ws,\"m\",uw).call(this);const s=await t.responses.create({...n,stream:!0},{...r,signal:this.controller.signal});this._connected();for await(const a of s)Hr(this,ws,\"m\",cw).call(this,a);if((o=s.controller.signal)!=null&&o.aborted)throw new pn;return Hr(this,ws,\"m\",fw).call(this)}[(eu=new WeakMap,Vr=new WeakMap,tu=new WeakMap,ws=new WeakSet,uw=function(){this.ended||vs(this,Vr,void 0,\"f\")},cw=function(n){if(this.ended)return;const r=Hr(this,ws,\"m\",dw).call(this,n);switch(this._emit(\"event\",n),n.type){case\"response.output_text.delta\":{const i=r.output[n.output_index];if(!i)throw new ie(`missing output at index ${n.output_index}`);if(i.type===\"message\"){const s=i.content[n.content_index];if(!s)throw new ie(`missing content at index ${n.content_index}`);if(s.type!==\"output_text\")throw new ie(`expected content to be 'output_text', got ${s.type}`);this._emit(\"response.output_text.delta\",{...n,snapshot:s.text})}break}case\"response.function_call_arguments.delta\":{const i=r.output[n.output_index];if(!i)throw new ie(`missing output at index ${n.output_index}`);i.type===\"function_call\"&&this._emit(\"response.function_call_arguments.delta\",{...n,snapshot:i.arguments});break}default:this._emit(n.type,n);break}},fw=function(){if(this.ended)throw new ie(\"stream has ended, this shouldn't happen\");const n=Hr(this,Vr,\"f\");if(!n)throw new ie(\"request ended without sending any events\");vs(this,Vr,void 0,\"f\");const r=KN(n,Hr(this,eu,\"f\"));return vs(this,tu,r,\"f\"),r},dw=function(n){let r=Hr(this,Vr,\"f\");if(!r){if(n.type!==\"response.created\")throw new ie(`When snapshot hasn't been set yet, expected 'response.created' event, got ${n.type}`);return r=vs(this,Vr,n.response,\"f\"),r}switch(n.type){case\"response.output_item.added\":{r.output.push(n.item);break}case\"response.content_part.added\":{const i=r.output[n.output_index];if(!i)throw new ie(`missing output at index ${n.output_index}`);i.type===\"message\"&&i.content.push(n.part);break}case\"response.output_text.delta\":{const i=r.output[n.output_index];if(!i)throw new ie(`missing output at index ${n.output_index}`);if(i.type===\"message\"){const s=i.content[n.content_index];if(!s)throw new ie(`missing content at index ${n.content_index}`);if(s.type!==\"output_text\")throw new ie(`expected content to be 'output_text', got ${s.type}`);s.text+=n.delta}break}case\"response.function_call_arguments.delta\":{const i=r.output[n.output_index];if(!i)throw new ie(`missing output at index ${n.output_index}`);i.type===\"function_call\"&&(i.arguments+=n.delta);break}case\"response.completed\":{vs(this,Vr,n.response,\"f\");break}}return r},Symbol.asyncIterator)](){const t=[],n=[];let r=!1;return this.on(\"event\",i=>{const s=n.shift();s?s.resolve(i):t.push(i)}),this.on(\"end\",()=>{r=!0;for(const i of n)i.resolve(void 0);n.length=0}),this.on(\"abort\",i=>{r=!0;for(const s of n)s.reject(i);n.length=0}),this.on(\"error\",i=>{r=!0;for(const s of n)s.reject(i);n.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:r?{value:void 0,done:!0}:new Promise((s,o)=>n.push({resolve:s,reject:o})).then(s=>s?{value:s,done:!1}:{value:void 0,done:!0}),return:async()=>(this.abort(),{value:void 0,done:!0})}}async finalResponse(){await this.done();const t=Hr(this,tu,\"f\");if(!t)throw new ie(\"stream ended without producing a ChatCompletion\");return t}}function KN(e,t){return UN(e,t)}class eg extends me{constructor(){super(...arguments),this.inputItems=new Qb(this._client)}create(t,n){return this._client.post(\"/responses\",{body:t,...n,stream:t.stream??!1})._thenUnwrap(r=>(\"object\"in r&&r.object===\"response\"&&Wb(r),r))}retrieve(t,n={},r){return Ke(n)?this.retrieve(t,{},n):this._client.get(`/responses/${t}`,{query:n,...r})}del(t,n){return this._client.delete(`/responses/${t}`,{...n,headers:{Accept:\"*/*\",...n==null?void 0:n.headers}})}parse(t,n){return this._client.responses.create(t,n)._thenUnwrap(r=>Vb(r,t))}stream(t,n){return Zm.createResponse(this._client,t,n)}}class qN extends yt{}eg.InputItems=Qb;class Kb extends me{create(t,n,r){return this._client.post(`/uploads/${t}/parts`,vo({body:n,...r}))}}class tg extends me{constructor(){super(...arguments),this.parts=new Kb(this._client)}create(t,n){return this._client.post(\"/uploads\",{body:t,...n})}cancel(t,n){return this._client.post(`/uploads/${t}/cancel`,n)}complete(t,n,r){return this._client.post(`/uploads/${t}/complete`,{body:n,...r})}}tg.Parts=Kb;const JN=async e=>{const t=await Promise.allSettled(e),n=t.filter(i=>i.status===\"rejected\");if(n.length){for(const i of n)console.error(i.reason);throw new Error(`${n.length} promise(s) failed - see the above errors`)}const r=[];for(const i of t)i.status===\"fulfilled\"&&r.push(i.value);return r};class sf extends me{create(t,n,r){return this._client.post(`/vector_stores/${t}/files`,{body:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}retrieve(t,n,r){return this._client.get(`/vector_stores/${t}/files/${n}`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}update(t,n,r,i){return this._client.post(`/vector_stores/${t}/files/${n}`,{body:r,...i,headers:{\"OpenAI-Beta\":\"assistants=v2\",...i==null?void 0:i.headers}})}list(t,n={},r){return Ke(n)?this.list(t,{},n):this._client.getAPIList(`/vector_stores/${t}/files`,of,{query:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}del(t,n,r){return this._client.delete(`/vector_stores/${t}/files/${n}`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}async createAndPoll(t,n,r){const i=await this.create(t,n,r);return await this.poll(t,i.id,r)}async poll(t,n,r){const i={...r==null?void 0:r.headers,\"X-Stainless-Poll-Helper\":\"true\"};for(r!=null&&r.pollIntervalMs&&(i[\"X-Stainless-Custom-Poll-Interval\"]=r.pollIntervalMs.toString());;){const s=await this.retrieve(t,n,{...r,headers:i}).withResponse(),o=s.data;switch(o.status){case\"in_progress\":let a=5e3;if(r!=null&&r.pollIntervalMs)a=r.pollIntervalMs;else{const l=s.response.headers.get(\"openai-poll-after-ms\");if(l){const u=parseInt(l);isNaN(u)||(a=u)}}await cl(a);break;case\"failed\":case\"completed\":return o}}}async upload(t,n,r){const i=await this._client.files.create({file:n,purpose:\"assistants\"},r);return this.create(t,{file_id:i.id},r)}async uploadAndPoll(t,n,r){const i=await this.upload(t,n,r);return await this.poll(t,i.id,r)}content(t,n,r){return this._client.getAPIList(`/vector_stores/${t}/files/${n}/content`,ng,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}}class of extends yt{}class ng extends Yc{}sf.VectorStoreFilesPage=of;sf.FileContentResponsesPage=ng;class qb extends me{create(t,n,r){return this._client.post(`/vector_stores/${t}/file_batches`,{body:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}retrieve(t,n,r){return this._client.get(`/vector_stores/${t}/file_batches/${n}`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}cancel(t,n,r){return this._client.post(`/vector_stores/${t}/file_batches/${n}/cancel`,{...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}async createAndPoll(t,n,r){const i=await this.create(t,n);return await this.poll(t,i.id,r)}listFiles(t,n,r={},i){return Ke(r)?this.listFiles(t,n,{},r):this._client.getAPIList(`/vector_stores/${t}/file_batches/${n}/files`,of,{query:r,...i,headers:{\"OpenAI-Beta\":\"assistants=v2\",...i==null?void 0:i.headers}})}async poll(t,n,r){const i={...r==null?void 0:r.headers,\"X-Stainless-Poll-Helper\":\"true\"};for(r!=null&&r.pollIntervalMs&&(i[\"X-Stainless-Custom-Poll-Interval\"]=r.pollIntervalMs.toString());;){const{data:s,response:o}=await this.retrieve(t,n,{...r,headers:i}).withResponse();switch(s.status){case\"in_progress\":let a=5e3;if(r!=null&&r.pollIntervalMs)a=r.pollIntervalMs;else{const l=o.headers.get(\"openai-poll-after-ms\");if(l){const u=parseInt(l);isNaN(u)||(a=u)}}await cl(a);break;case\"failed\":case\"cancelled\":case\"completed\":return s}}}async uploadAndPoll(t,{files:n,fileIds:r=[]},i){if(n==null||n.length==0)throw new Error(\"No `files` provided to process. If you've already uploaded files you should use `.createAndPoll()` instead\");const s=(i==null?void 0:i.maxConcurrency)??5,o=Math.min(s,n.length),a=this._client,l=n.values(),u=[...r];async function f(d){for(let h of d){const g=await a.files.create({file:h,purpose:\"assistants\"},i);u.push(g.id)}}const c=Array(o).fill(l).map(f);return await JN(c),await this.createAndPoll(t,{file_ids:u})}}class Pi extends me{constructor(){super(...arguments),this.files=new sf(this._client),this.fileBatches=new qb(this._client)}create(t,n){return this._client.post(\"/vector_stores\",{body:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}retrieve(t,n){return this._client.get(`/vector_stores/${t}`,{...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}update(t,n,r){return this._client.post(`/vector_stores/${t}`,{body:n,...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}list(t={},n){return Ke(t)?this.list({},t):this._client.getAPIList(\"/vector_stores\",rg,{query:t,...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}del(t,n){return this._client.delete(`/vector_stores/${t}`,{...n,headers:{\"OpenAI-Beta\":\"assistants=v2\",...n==null?void 0:n.headers}})}search(t,n,r){return this._client.getAPIList(`/vector_stores/${t}/search`,ig,{body:n,method:\"post\",...r,headers:{\"OpenAI-Beta\":\"assistants=v2\",...r==null?void 0:r.headers}})}}class rg extends yt{}class ig extends Yc{}Pi.VectorStoresPage=rg;Pi.VectorStoreSearchResponsesPage=ig;Pi.Files=sf;Pi.VectorStoreFilesPage=of;Pi.FileContentResponsesPage=ng;Pi.FileBatches=qb;var Jb;class he extends gN{constructor({baseURL:t=Jl(\"OPENAI_BASE_URL\"),apiKey:n=Jl(\"OPENAI_API_KEY\"),organization:r=Jl(\"OPENAI_ORG_ID\")??null,project:i=Jl(\"OPENAI_PROJECT_ID\")??null,...s}={}){if(n===void 0)throw new ie(\"The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).\");const o={apiKey:n,organization:r,project:i,...s,baseURL:t||\"https://api.openai.com/v1\"};if(!o.dangerouslyAllowBrowser&&kN())throw new ie(`It looks like you're running in a browser-like environment.\n\nThis is disabled by default, as it risks exposing your secret API credentials to attackers.\nIf you understand the risks and have appropriate mitigations in place,\nyou can set the \\`dangerouslyAllowBrowser\\` option to \\`true\\`, e.g.,\n\nnew OpenAI({ apiKey, dangerouslyAllowBrowser: true });\n\nhttps://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety\n`);super({baseURL:o.baseURL,timeout:o.timeout??6e5,httpAgent:o.httpAgent,maxRetries:o.maxRetries,fetch:o.fetch}),this.completions=new zb(this),this.chat=new tf(this),this.embeddings=new Ub(this),this.files=new Hm(this),this.images=new Bb(this),this.audio=new fl(this),this.moderations=new Hb(this),this.models=new Xm(this),this.fineTuning=new To(this),this.vectorStores=new Pi(this),this.beta=new Ro(this),this.batches=new Pm(this),this.uploads=new tg(this),this.responses=new eg(this),this.evals=new ml(this),this._options=o,this.apiKey=n,this.organization=r,this.project=i}defaultQuery(){return this._options.defaultQuery}defaultHeaders(t){return{...super.defaultHeaders(t),\"OpenAI-Organization\":this.organization,\"OpenAI-Project\":this.project,...this._options.defaultHeaders}}authHeaders(t){return{Authorization:`Bearer ${this.apiKey}`}}stringifyQuery(t){return YM(t,{arrayFormat:\"brackets\"})}}Jb=he;he.OpenAI=Jb;he.DEFAULT_TIMEOUT=6e5;he.OpenAIError=ie;he.APIError=gt;he.APIConnectionError=qc;he.APIConnectionTimeoutError=km;he.APIUserAbortError=pn;he.NotFoundError=X1;he.ConflictError=Y1;he.RateLimitError=eb;he.BadRequestError=q1;he.AuthenticationError=J1;he.InternalServerError=tb;he.PermissionDeniedError=G1;he.UnprocessableEntityError=Z1;he.toFile=ab;he.fileFromPath=W1;he.Completions=zb;he.Chat=tf;he.ChatCompletionsPage=ef;he.Embeddings=Ub;he.Files=Hm;he.FileObjectsPage=Vm;he.Images=Bb;he.Audio=fl;he.Moderations=Hb;he.Models=Xm;he.ModelsPage=Ym;he.FineTuning=To;he.VectorStores=Pi;he.VectorStoresPage=rg;he.VectorStoreSearchResponsesPage=ig;he.Beta=Ro;he.Batches=Pm;he.BatchesPage=Rm;he.Uploads=tg;he.Responses=eg;he.Evals=ml;he.EvalListResponsesPage=Bm;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function GN(){const{hostname:e,protocol:t}=window.location,n=window.location.port?`:${window.location.port}`:\"\";return`${t}//${e}${n}`}class XN extends he{authHeaders(t){return{}}}const Gb=new XN({apiKey:\"sk-fake\",baseURL:`${GN()}/v1`,dangerouslyAllowBrowser:!0}),YN=`🎉 Greetings, TailwindCSS Virtuoso! 🌟\n\nYou've mastered the art of frontend design and TailwindCSS! Your mission is to transform detailed descriptions or compelling images into stunning HTML using the versatility of TailwindCSS. Ensure your creations are seamless in both dark and light modes! Your designs should be responsive and adaptable across all devices – be it desktop, tablet, or mobile.\n\n*Design Guidelines:*\n- Utilize placehold.co for placeholder images and descriptive alt text.\n- For interactive elements, leverage modern ES6 JavaScript and native browser APIs for enhanced functionality.\n- Inspired by shadcn, we provide the following colors which handle both light and dark mode:\n\n\\`\\`\\`css\n  --background\n  --foreground\n  --primary\n\t--border\n  --input\n  --ring\n  --primary-foreground\n  --secondary\n  --secondary-foreground\n  --accent\n  --accent-foreground\n  --destructive\n  --destructive-foreground\n  --muted\n  --muted-foreground\n  --card\n  --card-foreground\n  --popover\n  --popover-foreground\n\\`\\`\\`\n\nPrefer using these colors when appropriate, for example:\n\n\\`\\`\\`html\n<button class=\"bg-secondary text-secondary-foreground hover:bg-secondary/80\">Click me</button>\n<span class=\"text-muted-foreground\">This is muted text</span>\n\\`\\`\\`\n\n*Implementation Rules:*\n- Only implement elements within the \\`<body>\\` tag, don't bother with \\`<html>\\` or \\`<head>\\` tags.\n- Avoid using SVGs directly. Instead, use the \\`<img>\\` tag with a descriptive title as the alt attribute and add .svg to the placehold.co url, for example:\n\n\\`\\`\\`html\n<img aria-hidden=\"true\" alt=\"magic-wand\" src=\"/icons/24x24.svg?text=🪄\" />\n\\`\\`\\`\n`,ZN=4096;async function Z2(e,t){var h,g;let{model:n,systemPrompt:r}=e;const{temperature:i,query:s,html:o,image:a,action:l}=e;o||(r+=`\n\nAlways start your response with frontmatter wrapped in ---.  Set name: with a 2 to 5 word description of the component. Set emoji: with an emoji for the component, i.e.:\n---\nname: Fancy Button\nemoji: 🎉\n---\n\n<button class=\"bg-blue-500 text-white p-2 rounded-lg\">Click me</button>\n\n`);const u=[{role:\"system\",content:r}];let f=a??\"\";if(a&&n.startsWith(\"ollama/\")&&(f=a.toString().split(\",\").pop()??\"\"),l===\"create\")if(a){n.startsWith(\"gpt\")&&(n=\"gpt-4o-mini\");const v=s?`The following are some special requirements: \n ${s}`:\"\";u.push({role:\"user\",content:[{type:\"text\",text:`This is a screenshot of a web component I want to replicate.  Please generate HTML for it.\n ${v}`},{type:\"image_url\",image_url:{url:f}}]})}else u.push({role:\"user\",content:s});else{let x=/<!--FIX (\\(\\d+\\)): (.+)-->/g.test(o)?\"Address the FIX comments.\":s;x===\"\"&&(x=\"Lets make this look more professional\");const m=`Given the following HTML${a?\" and image\":\"\"}:\n\n${o}\n\n${x}`;console.log(\"Sending instructions:\",m),a?(n.startsWith(\"gpt\")&&(n=\"gpt-4o-mini\"),u.push({role:\"user\",content:[{type:\"text\",text:m},{type:\"image_url\",image_url:{url:f}}]})):u.push({role:\"user\",content:m})}const c=await Gb.chat.completions.create({model:n,messages:u,temperature:i,stream:!0,max_tokens:ZN});let d=\"\";for await(const v of c){const x=((g=(h=v.choices[0])==null?void 0:h.delta)==null?void 0:g.content)??\"\";d+=x,t(x)}return d}const eF=`You're a frontend web developer that specializes in $FRAMEWORK.\nGiven html and javascript, generate a $FRAMEWORK component. Factor the code into smaller\ncomponents if necessary. Keep all code in one file. Use hooks and put tailwind class strings\nthat are repeated atleast 3 times into a shared constant. Leave comments when necessary.`;async function eD(e,t){var c,d;const{framework:n,model:r,temperature:i,html:s}=e,a=[{role:\"system\",content:eF.replaceAll(\"$FRAMEWORK\",n)}],l=`Please turn this into a ${n} component.`,u=`Given the following HTML:\n\n${s}\n\n${l}`;a.push({role:\"user\",content:u});const f=await Gb.chat.completions.create({model:r,messages:a,temperature:i,stream:!0});for await(const h of f)t(((d=(c=h.choices[0])==null?void 0:c.delta)==null?void 0:d.content)??\"\")}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tF=.3,nF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/prompts.ts/systemPromptAtom\",ls(\"systemPrompt\",YN));nF.debugLabel=\"systemPromptAtom\";const rF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/prompts.ts/temperatureAtom\",ls(\"temperature\",tF));rF.debugLabel=\"temperatureAtom\";const iF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/prompts.ts/modelAtom\",ls(\"model\",\"gpt-3.5-turbo\"));iF.debugLabel=\"modelAtom\";const sF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/prompts.ts/modelSupportsImagesAtom\",Ee(!1));sF.debugLabel=\"modelSupportsImagesAtom\";const oF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/prompts.ts/modelSupportsImagesOverridesAtom\",ls(\"modelSupportsImagesOverrides\",{}));oF.debugLabel=\"modelSupportsImagesOverridesAtom\";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const aF={prompt:\"\",pureHTML:\"\",annotatedHTML:\"\",editedHTML:\"\",rendering:!1,error:void 0,renderedHTML:void 0},lF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/atoms/ui.ts/uiStateAtom\",Ee(aF));lF.debugLabel=\"uiStateAtom\";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tD=new bO({name:\"images\"}),uF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/historySidebarStateAtom\",Ee(\"closed\"));uF.debugLabel=\"historySidebarStateAtom\";const cF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/screenshotAtom\",Ee(\"\"));cF.debugLabel=\"screenshotAtom\";const fF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/facetsAtom\",ls(\"facets\",[]));fF.debugLabel=\"facetsAtom\";const dF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/commentsAtom\",Ee([]));dF.debugLabel=\"commentsAtom\";const hF=void 0,pF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/uiThemeAtom\",ls(\"uiTheme\",hF));pF.debugLabel=\"uiThemeAtom\";const Xb=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/darkModeAtom\",ls(\"darkMode\",\"system\"));Xb.debugLabel=\"darkModeAtom\";const mF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/beastModeAtom\",Ee(!1));mF.debugLabel=\"beastModeAtom\";const gF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/draggingAtom\",Ee(!1));gF.debugLabel=\"draggingAtom\";const yF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/inspectorEnabledAtom\",Ee(!1));yF.debugLabel=\"inspectorEnabledAtom\";const vF=void 0,wF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/convertFrameworkAtom\",Ee(vF));wF.debugLabel=\"convertFrameworkAtom\";const xF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/selectedFrameworkAtom\",Ee(\"html\"));xF.debugLabel=\"selectedFrameworkAtom\";const SF=void 0,bF=globalThis.jotaiAtomCache.get(\"/home/runner/work/openui/openui/frontend/src/state/index.ts/sessionAtom\",Ee(SF));bF.debugLabel=\"sessionAtom\";var EF=()=>null;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bd=_.lazy(async()=>s_(()=>import(\"./index-DnTpCebm.js\").then(e=>e.i),[])),_F=CT(Rh(Y.jsxs(Y.Fragment,{children:[Y.jsx(na,{path:\"/\",element:Y.jsx(cT,{replace:!0,to:\"/ai\"})}),Y.jsx(na,{path:\"/ai\",element:Y.jsx(bd,{}),children:Y.jsx(na,{path:\":id\",element:Y.jsx(bd,{})})}),Y.jsx(na,{path:\"/ai/shared/:id\",element:Y.jsx(bd,{isShared:!0})})]})));function CF(){const e=GR(\"(prefers-color-scheme: dark)\"),t=g1(Xb);return _.useEffect(()=>{t===\"system\"&&e||t===\"dark\"?document.documentElement.classList.add(\"dark\"):document.documentElement.classList.remove(\"dark\")},[t,e]),Y.jsx(_.Suspense,{fallback:Y.jsx(Sg,{}),children:Y.jsx(s0,{renderError:n=>Y.jsx(Sg,{error:n}),children:Y.jsxs(KR,{children:[Y.jsx(EF,{}),Y.jsx(MT,{router:_F})]})})})}const le=e=>typeof e==\"string\",Go=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},hw=e=>e==null?\"\":\"\"+e,kF=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},PF=/###/g,pw=e=>e&&e.indexOf(\"###\")>-1?e.replace(PF,\".\"):e,mw=e=>!e||le(e),Ea=(e,t,n)=>{const r=le(t)?t.split(\".\"):t;let i=0;for(;i<r.length-1;){if(mw(e))return{};const s=pw(r[i]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++i}return mw(e)?{}:{obj:e,k:pw(r[i])}},gw=(e,t,n)=>{const{obj:r,k:i}=Ea(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),a=Ea(e,o,Object);for(;a.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),a=Ea(e,o,Object),a&&a.obj&&typeof a.obj[`${a.k}.${s}`]<\"u\"&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},RF=(e,t,n,r)=>{const{obj:i,k:s}=Ea(e,t,Object);i[s]=i[s]||[],i[s].push(n)},dc=(e,t)=>{const{obj:n,k:r}=Ea(e,t);if(n)return n[r]},AF=(e,t,n)=>{const r=dc(e,n);return r!==void 0?r:dc(t,n)},Yb=(e,t,n)=>{for(const r in t)r!==\"__proto__\"&&r!==\"constructor\"&&(r in e?le(e[r])||e[r]instanceof String||le(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Yb(e[r],t[r],n):e[r]=t[r]);return e},xs=e=>e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\");var TF={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"/\":\"&#x2F;\"};const OF=e=>le(e)?e.replace(/[&<>\"'\\/]/g,t=>TF[t]):e;class IF{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const LF=[\" \",\",\",\"?\",\"!\",\";\"],MF=new IF(20),NF=(e,t,n)=>{t=t||\"\",n=n||\"\";const r=LF.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const i=MF.getRegExp(`(${r.map(o=>o===\"?\"?\"\\\\?\":o).join(\"|\")})`);let s=!i.test(e);if(!s){const o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(s=!0)}return s},tp=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:\".\";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let s=0;s<r.length;){if(!i||typeof i!=\"object\")return;let o,a=\"\";for(let l=s;l<r.length;++l)if(l!==s&&(a+=n),a+=r[l],o=i[a],o!==void 0){if([\"string\",\"number\",\"boolean\"].indexOf(typeof o)>-1&&l<r.length-1)continue;s+=l-s+1;break}i=o}return i},hc=e=>e&&e.replace(\"_\",\"-\"),FF={type:\"logger\",log(e){this.output(\"log\",e)},warn(e){this.output(\"warn\",e)},error(e){this.output(\"error\",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class pc{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||\"i18next:\",this.logger=t||FF,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,\"log\",\"\",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,\"warn\",\"\",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,\"error\",\"\")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,\"warn\",\"WARNING DEPRECATED: \",!0)}forward(t,n,r,i){return i&&!this.debug?null:(le(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new pc(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new pc(this.logger,t)}}var tr=new pc;class af{constructor(){this.observers={}}on(t,n){return t.split(\" \").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(o=>{let[a,l]=o;for(let u=0;u<l;u++)a(...r)}),this.observers[\"*\"]&&Array.from(this.observers[\"*\"].entries()).forEach(o=>{let[a,l]=o;for(let u=0;u<l;u++)a.apply(a,[t,...r])})}}class yw extends af{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:[\"translation\"],defaultNS:\"translation\"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator=\".\"),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,o=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(\".\")>-1?a=t.split(\".\"):(a=[t,n],r&&(Array.isArray(r)?a.push(...r):le(r)&&s?a.push(...r.split(s)):a.push(r)));const l=dc(this.data,a);return!l&&!n&&!r&&t.indexOf(\".\")>-1&&(t=a[0],n=a[1],r=a.slice(2).join(\".\")),l||!o||!le(r)?l:tp(this.data&&this.data[t]&&this.data[t][n],r,s)}addResource(t,n,r,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let a=[t,n];r&&(a=a.concat(o?r.split(o):r)),t.indexOf(\".\")>-1&&(a=t.split(\".\"),i=n,n=a[1]),this.addNamespaces(n),gw(this.data,a,i),s.silent||this.emit(\"added\",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(le(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});i.silent||this.emit(\"added\",t,n,r)}addResourceBundle(t,n,r,i,s){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},a=[t,n];t.indexOf(\".\")>-1&&(a=t.split(\".\"),i=r,r=n,n=a[1]),this.addNamespaces(n);let l=dc(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?Yb(l,r,s):l={...l,...r},gw(this.data,a,l),o.silent||this.emit(\"added\",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit(\"removed\",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI===\"v1\"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var Zb={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(s=>{this.processors[s]&&(t=this.processors[s].process(t,n,r,i))}),t}};const vw={};class mc extends af{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),kF([\"resourceStore\",\"languageUtils\",\"pluralResolver\",\"interpolator\",\"backendConnector\",\"i18nFormat\",\"utils\"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator=\".\"),this.logger=tr.create(\"translator\")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=\":\");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!NF(t,r,i);if(o&&!a){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:le(s)?[s]:s};const u=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(s=u.shift()),t=u.join(i)}return{key:t,namespaces:le(s)?[s]:s}}translate(t,n,r){if(typeof n!=\"object\"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n==\"object\"&&(n={...n}),n||(n={}),t==null)return\"\";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(t[t.length-1],n),l=a[a.length-1],u=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()===\"cimode\"){if(f){const S=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${S}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${S}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:o}const c=this.resolve(t,n);let d=c&&c.res;const h=c&&c.usedKey||o,g=c&&c.exactUsedKey||o,v=Object.prototype.toString.apply(d),x=[\"[object Number]\",\"[object Function]\",\"[object RegExp]\"],m=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,p=!this.i18nFormat||this.i18nFormat.handleAsObject,w=!le(d)&&typeof d!=\"boolean\"&&typeof d!=\"number\";if(p&&d&&w&&x.indexOf(v)<0&&!(le(m)&&Array.isArray(d))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(\"accessing an object - but returnObjects options is not enabled!\");const S=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,d,{...n,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(c.res=S,c.usedParams=this.getUsedParamsDetails(n),c):S}if(s){const S=Array.isArray(d),k=S?[]:{},E=S?g:h;for(const y in d)if(Object.prototype.hasOwnProperty.call(d,y)){const R=`${E}${s}${y}`;k[y]=this.translate(R,{...n,joinArrays:!1,ns:a}),k[y]===R&&(k[y]=d[y])}d=k}}else if(p&&le(m)&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,t,n,r));else{let S=!1,k=!1;const E=n.count!==void 0&&!le(n.count),y=mc.hasDefaultValue(n),R=E?this.pluralResolver.getSuffix(u,n.count,n):\"\",T=n.ordinal&&E?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):\"\",A=E&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),O=A&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${T}`]||n.defaultValue;!this.isValidLookup(d)&&y&&(S=!0,d=O),this.isValidLookup(d)||(k=!0,d=o);const z=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&k?void 0:d,B=y&&O!==d&&this.options.updateMissing;if(k||S||B){if(this.logger.log(B?\"updateKey\":\"missingKey\",u,l,o,B?O:d),s){const M=this.resolve(o,{...n,keySeparator:!1});M&&M.res&&this.logger.warn(\"Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.\")}let V=[];const G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo===\"fallback\"&&G&&G[0])for(let M=0;M<G.length;M++)V.push(G[M]);else this.options.saveMissingTo===\"all\"?V=this.languageUtils.toResolveHierarchy(n.lng||this.language):V.push(n.lng||this.language);const Q=(M,U,b)=>{const Z=y&&b!==d?b:z;this.options.missingKeyHandler?this.options.missingKeyHandler(M,l,U,Z,B,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(M,l,U,Z,B,n),this.emit(\"missingKey\",M,l,U,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?V.forEach(M=>{const U=this.pluralResolver.getSuffixes(M,n);A&&n[`defaultValue${this.options.pluralSeparator}zero`]&&U.indexOf(`${this.options.pluralSeparator}zero`)<0&&U.push(`${this.options.pluralSeparator}zero`),U.forEach(b=>{Q([M],o+b,n[`defaultValue${b}`]||O)})}):Q(V,o,O))}d=this.extendTranslation(d,t,n,c,r),k&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${l}:${o}`),(k||S)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!==\"v1\"?d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,S?d:void 0):d=this.options.parseMissingKeyHandler(d))}return i?(c.res=d,c.usedParams=this.getUsedParamsDetails(n),c):d}extendTranslation(t,n,r,i,s){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=le(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(u){const d=t.match(this.interpolator.nestingRegexp);f=d&&d.length}let c=r.replace&&!le(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),t=this.interpolator.interpolate(t,c,r.lng||this.language||i.usedLng,r),u){const d=t.match(this.interpolator.nestingRegexp),h=d&&d.length;f<h&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!==\"v1\"&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var d=arguments.length,h=new Array(d),g=0;g<d;g++)h[g]=arguments[g];return s&&s[0]===h[0]&&!r.context?(o.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${n[0]}`),null):o.translate(...h,n)},r)),r.interpolation&&this.interpolator.reset()}const a=r.postProcess||this.options.postProcess,l=le(a)?[a]:a;return t!=null&&l&&l.length&&r.applyPostProcessor!==!1&&(t=Zb.handle(l,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i,s,o,a;return le(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),f=u.key;i=f;let c=u.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const d=n.count!==void 0&&!le(n.count),h=d&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),g=n.context!==void 0&&(le(n.context)||typeof n.context==\"number\")&&n.context!==\"\",v=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);c.forEach(x=>{this.isValidLookup(r)||(a=x,!vw[`${v[0]}-${x}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(vw[`${v[0]}-${x}`]=!0,this.logger.warn(`key \"${i}\" for languages \"${v.join(\", \")}\" won't get resolved as namespace \"${a}\" was not yet loaded`,\"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!\")),v.forEach(m=>{if(this.isValidLookup(r))return;o=m;const p=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(p,f,m,x,n);else{let S;d&&(S=this.pluralResolver.getSuffix(m,n.count,n));const k=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(p.push(f+S),n.ordinal&&S.indexOf(E)===0&&p.push(f+S.replace(E,this.options.pluralSeparator)),h&&p.push(f+k)),g){const y=`${f}${this.options.contextSeparator}${n.context}`;p.push(y),d&&(p.push(y+S),n.ordinal&&S.indexOf(E)===0&&p.push(y+S.replace(E,this.options.pluralSeparator)),h&&p.push(y+k))}}let w;for(;w=p.pop();)this.isValidLookup(r)||(s=w,r=this.getResource(m,x,w,n))}))})}),{res:r,usedKey:i,exactUsedKey:s,usedLng:o,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t===\"\")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=[\"defaultValue\",\"ordinal\",\"context\",\"replace\",\"lng\",\"lngs\",\"fallbackLng\",\"ns\",\"keySeparator\",\"nsSeparator\",\"returnObjects\",\"returnDetails\",\"joinArrays\",\"postProcess\",\"interpolation\"],r=t.replace&&!le(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<\"u\"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const s of n)delete i[s]}return i}static hasDefaultValue(t){const n=\"defaultValue\";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const Ed=e=>e.charAt(0).toUpperCase()+e.slice(1);class ww{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=tr.create(\"languageUtils\")}getScriptPartFromCode(t){if(t=hc(t),!t||t.indexOf(\"-\")<0)return null;const n=t.split(\"-\");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()===\"x\")?null:this.formatLanguageCode(n.join(\"-\"))}getLanguagePartFromCode(t){if(t=hc(t),!t||t.indexOf(\"-\")<0)return t;const n=t.split(\"-\");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(le(t)&&t.indexOf(\"-\")>-1){if(typeof Intl<\"u\"&&typeof Intl.getCanonicalLocales<\"u\")try{let i=Intl.getCanonicalLocales(t)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=[\"hans\",\"hant\",\"latn\",\"cyrl\",\"cans\",\"mong\",\"arab\"];let r=t.split(\"-\");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ed(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!==\"sgn\"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ed(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Ed(r[2].toLowerCase()))),r.join(\"-\")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load===\"languageOnly\"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(s=>{if(s===i)return s;if(!(s.indexOf(\"-\")<0&&i.indexOf(\"-\")<0)&&(s.indexOf(\"-\")>0&&i.indexOf(\"-\")<0&&s.substring(0,s.indexOf(\"-\"))===i||s.indexOf(i)===0&&i.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t==\"function\"&&(t=t(n)),le(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],s=o=>{o&&(this.isSupportedCode(o)?i.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return le(t)&&(t.indexOf(\"-\")>-1||t.indexOf(\"_\")>-1)?(this.options.load!==\"languageOnly\"&&s(this.formatLanguageCode(t)),this.options.load!==\"languageOnly\"&&this.options.load!==\"currentOnly\"&&s(this.getScriptPartFromCode(t)),this.options.load!==\"currentOnly\"&&s(this.getLanguagePartFromCode(t))):le(t)&&s(this.formatLanguageCode(t)),r.forEach(o=>{i.indexOf(o)<0&&s(this.formatLanguageCode(o))}),i}}let DF=[{lngs:[\"ach\",\"ak\",\"am\",\"arn\",\"br\",\"fil\",\"gun\",\"ln\",\"mfe\",\"mg\",\"mi\",\"oc\",\"pt\",\"pt-BR\",\"tg\",\"tl\",\"ti\",\"tr\",\"uz\",\"wa\"],nr:[1,2],fc:1},{lngs:[\"af\",\"an\",\"ast\",\"az\",\"bg\",\"bn\",\"ca\",\"da\",\"de\",\"dev\",\"el\",\"en\",\"eo\",\"es\",\"et\",\"eu\",\"fi\",\"fo\",\"fur\",\"fy\",\"gl\",\"gu\",\"ha\",\"hi\",\"hu\",\"hy\",\"ia\",\"it\",\"kk\",\"kn\",\"ku\",\"lb\",\"mai\",\"ml\",\"mn\",\"mr\",\"nah\",\"nap\",\"nb\",\"ne\",\"nl\",\"nn\",\"no\",\"nso\",\"pa\",\"pap\",\"pms\",\"ps\",\"pt-PT\",\"rm\",\"sco\",\"se\",\"si\",\"so\",\"son\",\"sq\",\"sv\",\"sw\",\"ta\",\"te\",\"tk\",\"ur\",\"yo\"],nr:[1,2],fc:2},{lngs:[\"ay\",\"bo\",\"cgg\",\"fa\",\"ht\",\"id\",\"ja\",\"jbo\",\"ka\",\"km\",\"ko\",\"ky\",\"lo\",\"ms\",\"sah\",\"su\",\"th\",\"tt\",\"ug\",\"vi\",\"wo\",\"zh\"],nr:[1],fc:3},{lngs:[\"be\",\"bs\",\"cnr\",\"dz\",\"hr\",\"ru\",\"sr\",\"uk\"],nr:[1,2,5],fc:4},{lngs:[\"ar\"],nr:[0,1,2,3,11,100],fc:5},{lngs:[\"cs\",\"sk\"],nr:[1,2,5],fc:6},{lngs:[\"csb\",\"pl\"],nr:[1,2,5],fc:7},{lngs:[\"cy\"],nr:[1,2,3,8],fc:8},{lngs:[\"fr\"],nr:[1,2],fc:9},{lngs:[\"ga\"],nr:[1,2,3,7,11],fc:10},{lngs:[\"gd\"],nr:[1,2,3,20],fc:11},{lngs:[\"is\"],nr:[1,2],fc:12},{lngs:[\"jv\"],nr:[0,1],fc:13},{lngs:[\"kw\"],nr:[1,2,3,4],fc:14},{lngs:[\"lt\"],nr:[1,2,10],fc:15},{lngs:[\"lv\"],nr:[1,2,0],fc:16},{lngs:[\"mk\"],nr:[1,2],fc:17},{lngs:[\"mnk\"],nr:[0,1,2],fc:18},{lngs:[\"mt\"],nr:[1,2,11,20],fc:19},{lngs:[\"or\"],nr:[2,1],fc:2},{lngs:[\"ro\"],nr:[1,2,20],fc:20},{lngs:[\"sl\"],nr:[5,1,2,3],fc:21},{lngs:[\"he\",\"iw\"],nr:[1,2,20,21],fc:22}],$F={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const jF=[\"v1\",\"v2\",\"v3\"],zF=[\"v4\"],xw={zero:0,one:1,two:2,few:3,many:4,other:5},UF=()=>{const e={};return DF.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:$F[t.fc]}})}),e};class BF{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=tr.create(\"pluralResolver\"),(!this.options.compatibilityJSON||zF.includes(this.options.compatibilityJSON))&&(typeof Intl>\"u\"||!Intl.PluralRules)&&(this.options.compatibilityJSON=\"v3\",this.logger.error(\"Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.\")),this.rules=UF(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=hc(t===\"dev\"?\"en\":t),i=n.ordinal?\"ordinal\":\"cardinal\",s=JSON.stringify({cleanedCode:r,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let o;try{o=new Intl.PluralRules(r,{type:i})}catch{if(!t.match(/-|_/))return;const l=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(l,n)}return this.pluralRulesCache[s]=o,o}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,s)=>xw[i]-xw[s]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:\"\"}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:\"\"}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),\"\")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i=\"plural\":i===1&&(i=\"\"));const s=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON===\"v1\"?i===1?\"\":typeof i==\"number\"?`_plural_${i.toString()}`:s():this.options.compatibilityJSON===\"v2\"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?s():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!jF.includes(this.options.compatibilityJSON)}}const Sw=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:\".\",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=AF(e,t,n);return!s&&i&&le(n)&&(s=tp(e,n,r),s===void 0&&(s=tp(t,n,r))),s},_d=e=>e.replace(/\\$/g,\"$$$$\");class HF{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=tr.create(\"interpolator\"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:s,prefixEscaped:o,suffix:a,suffixEscaped:l,formatSeparator:u,unescapeSuffix:f,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:g,nestingSuffixEscaped:v,nestingOptionsSeparator:x,maxReplaces:m,alwaysFormat:p}=t.interpolation;this.escape=n!==void 0?n:OF,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?xs(s):o||\"{{\",this.suffix=a?xs(a):l||\"}}\",this.formatSeparator=u||\",\",this.unescapePrefix=f?\"\":c||\"-\",this.unescapeSuffix=this.unescapePrefix?\"\":f||\"\",this.nestingPrefix=d?xs(d):h||xs(\"$t(\"),this.nestingSuffix=g?xs(g):v||xs(\")\"),this.nestingOptionsSeparator=x||\",\",this.maxReplaces=m||1e3,this.alwaysFormat=p!==void 0?p:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,\"g\");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let s,o,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=h=>{if(h.indexOf(this.formatSeparator)<0){const m=Sw(n,l,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(m,void 0,r,{...i,...n,interpolationkey:h}):m}const g=h.split(this.formatSeparator),v=g.shift().trim(),x=g.join(this.formatSeparator).trim();return this.format(Sw(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure),x,r,{...i,...n,interpolationkey:v})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,c=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>_d(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?_d(this.escape(h)):_d(h)}].forEach(h=>{for(a=0;s=h.regex.exec(t);){const g=s[1].trim();if(o=u(g),o===void 0)if(typeof f==\"function\"){const x=f(t,s,i);o=le(x)?x:\"\"}else if(i&&Object.prototype.hasOwnProperty.call(i,g))o=\"\";else if(c){o=s[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),o=\"\";else!le(o)&&!this.useRawValueToEscape&&(o=hw(o));const v=h.safeValue(o);if(t=t.replace(s[0],v),c?(h.regex.lastIndex+=o.length,h.regex.lastIndex-=s[0].length):h.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,s,o;const a=(l,u)=>{const f=this.nestingOptionsSeparator;if(l.indexOf(f)<0)return l;const c=l.split(new RegExp(`${f}[ ]*{`));let d=`{${c[1]}`;l=c[0],d=this.interpolate(d,o);const h=d.match(/'/g),g=d.match(/\"/g);(h&&h.length%2===0&&!g||g.length%2!==0)&&(d=d.replace(/'/g,'\"'));try{o=JSON.parse(d),u&&(o={...u,...o})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${f}${d}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l};for(;i=this.nestingRegexp.exec(t);){let l=[];o={...r},o=o.replace&&!le(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const f=i[1].split(this.formatSeparator).map(c=>c.trim());i[1]=f.shift(),l=f,u=!0}if(s=n(a.call(this,i[1].trim(),o),o),s&&i[0]===t&&!le(s))return s;le(s)||(s=hw(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),s=\"\"),u&&(s=l.reduce((f,c)=>this.format(f,c,r.lng,{...r,interpolationkey:i[1].trim()}),s.trim())),t=t.replace(i[0],s),this.regexp.lastIndex=0}return t}}const VF=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf(\"(\")>-1){const r=e.split(\"(\");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t===\"currency\"&&i.indexOf(\":\")<0?n.currency||(n.currency=i.trim()):t===\"relativetime\"&&i.indexOf(\":\")<0?n.range||(n.range=i.trim()):i.split(\";\").forEach(o=>{if(o){const[a,...l]=o.split(\":\"),u=l.join(\":\").trim().replace(/^'+|'+$/g,\"\"),f=a.trim();n[f]||(n[f]=u),u===\"false\"&&(n[f]=!1),u===\"true\"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Ss=e=>{const t={};return(n,r,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s={...s,[i.interpolationkey]:void 0});const o=r+JSON.stringify(s);let a=t[o];return a||(a=e(hc(r),i),t[o]=a),a(n)}};class WF{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=tr.create(\"formatter\"),this.options=t,this.formats={number:Ss((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return s=>i.format(s)}),currency:Ss((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:\"currency\"});return s=>i.format(s)}),datetime:Ss((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return s=>i.format(s)}),relativetime:Ss((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return s=>i.format(s,r.range||\"day\")}),list:Ss((n,r)=>{const i=new Intl.ListFormat(n,{...r});return s=>i.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||\",\"}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Ss(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf(\"(\")>1&&s[0].indexOf(\")\")<0&&s.find(a=>a.indexOf(\")\")>-1)){const a=s.findIndex(l=>l.indexOf(\")\")>-1);s[0]=[s[0],...s.splice(1,a)].join(this.formatSeparator)}return s.reduce((a,l)=>{const{formatName:u,formatOptions:f}=VF(l);if(this.formats[u]){let c=a;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},h=d.locale||d.lng||i.locale||i.lng||r;c=this.formats[u](a,h,{...f,...i,...d})}catch(d){this.logger.warn(d)}return c}else this.logger.warn(`there was no format function for ${u}`);return a},t)}}const QF=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class KF extends af{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=tr.create(\"backendConnector\"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const s={},o={},a={},l={};return t.forEach(u=>{let f=!0;n.forEach(c=>{const d=`${u}|${c}`;!r.reload&&this.store.hasResourceBundle(u,c)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?o[d]===void 0&&(o[d]=!0):(this.state[d]=1,f=!1,o[d]===void 0&&(o[d]=!0),s[d]===void 0&&(s[d]=!0),l[c]===void 0&&(l[c]=!0)))}),f||(a[u]=!0)}),(Object.keys(s).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const i=t.split(\"|\"),s=i[0],o=i[1];n&&this.emit(\"failedLoading\",s,o,n),!n&&r&&this.store.addResourceBundle(s,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const a={};this.queue.forEach(l=>{RF(l.loaded,[s],o),QF(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{a[u]||(a[u]={});const f=l.loaded[u];f.length&&f.forEach(c=>{a[u][c]===void 0&&(a[u][c]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit(\"loaded\",a),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:s,callback:o});return}this.readingCalls++;const a=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(u&&f&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,i+1,s*2,o)},s);return}o(u,f)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(t,n);u&&typeof u.then==\"function\"?u.then(f=>a(null,f)).catch(a):a(null,u)}catch(u){a(u)}return}return l(t,n,a)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn(\"No backend was added via i18next.use. Will not load resources.\"),i&&i();le(t)&&(t=this.languageUtils.toResolveHierarchy(t)),le(n)&&(n=[n]);const s=this.queueLoad(t,n,r,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\";const r=t.split(\"|\"),i=r[0],s=r[1];this.read(i,s,\"read\",void 0,void 0,(o,a)=>{o&&this.logger.warn(`${n}loading namespace ${s} for language ${i} failed`,o),!o&&a&&this.logger.log(`${n}loaded namespace ${s} for language ${i}`,a),this.loaded(t,o,a)})}saveMissing(t,n,r,i,s){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key \"${r}\" as the namespace \"${n}\" was not yet loaded`,\"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!\");return}if(!(r==null||r===\"\")){if(this.backend&&this.backend.create){const l={...o,isUpdate:s},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,i,l):f=u(t,n,r,i),f&&typeof f.then==\"function\"?f.then(c=>a(null,c)).catch(a):a(null,f)}catch(f){a(f)}else u(t,n,r,i,a,l)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const bw=()=>({debug:!1,initImmediate:!0,ns:[\"translation\"],defaultNS:[\"translation\"],fallbackLng:[\"dev\"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:\"all\",preload:!1,simplifyPluralSuffix:!0,keySeparator:\".\",nsSeparator:\":\",pluralSeparator:\"_\",contextSeparator:\"_\",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:\"fallback\",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==\"object\"&&(t=e[1]),le(e[1])&&(t.defaultValue=e[1]),le(e[2])&&(t.tDescription=e[2]),typeof e[2]==\"object\"||typeof e[3]==\"object\"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:\"{{\",suffix:\"}}\",formatSeparator:\",\",unescapePrefix:\"-\",nestingPrefix:\"$t(\",nestingSuffix:\")\",nestingOptionsSeparator:\",\",maxReplaces:1e3,skipOnVariables:!0}}),Ew=e=>(le(e.ns)&&(e.ns=[e.ns]),le(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),le(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf(\"cimode\")<0&&(e.supportedLngs=e.supportedLngs.concat([\"cimode\"])),e),nu=()=>{},qF=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]==\"function\"&&(e[n]=e[n].bind(e))})};class Xa extends af{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Ew(t),this.services={},this.logger=tr,this.modules={external:[]},qF(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n==\"function\"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(le(n.ns)?n.defaultNS=n.ns:n.ns.indexOf(\"translation\")<0&&(n.defaultNS=n.ns[0]));const i=bw();this.options={...i,...this.options,...Ew(n)},this.options.compatibilityAPI!==\"v1\"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=f=>f?typeof f==\"function\"?new f:f:null;if(!this.options.isClone){this.modules.logger?tr.init(s(this.modules.logger),this.options):tr.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<\"u\"&&(f=WF);const c=new ww(this.options);this.store=new yw(this.options.resources,this.options);const d=this.services;d.logger=tr,d.resourceStore=this.store,d.languageUtils=c,d.pluralResolver=new BF(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(d.formatter=s(f),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new HF(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new KF(s(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on(\"*\",function(h){for(var g=arguments.length,v=new Array(g>1?g-1:0),x=1;x<g;x++)v[x-1]=arguments[x];t.emit(h,...v)}),this.modules.languageDetector&&(d.languageDetector=s(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=s(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new mc(this.services,this.options),this.translator.on(\"*\",function(h){for(var g=arguments.length,v=new Array(g>1?g-1:0),x=1;x<g;x++)v[x-1]=arguments[x];t.emit(h,...v)}),this.modules.external.forEach(h=>{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,r||(r=nu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!==\"dev\"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(\"init: no languageDetector is used and no lng is defined\"),[\"getResource\",\"hasResourceBundle\",\"getResourceBundle\",\"getDataByLanguage\"].forEach(f=>{this[f]=function(){return t.store[f](...arguments)}}),[\"addResource\",\"addResources\",\"addResourceBundle\",\"removeResourceBundle\"].forEach(f=>{this[f]=function(){return t.store[f](...arguments),t}});const l=Go(),u=()=>{const f=(c,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(\"init: i18next is already initialized. You should call init just once!\"),this.isInitialized=!0,this.options.isClone||this.logger.log(\"initialized\",this.options),this.emit(\"initialized\",this.options),l.resolve(d),r(c,d)};if(this.languages&&this.options.compatibilityAPI!==\"v1\"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nu;const i=le(t)?t:this.language;if(typeof t==\"function\"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()===\"cimode\"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],o=a=>{if(!a||a===\"cimode\")return;this.services.languageUtils.toResolveHierarchy(a).forEach(u=>{u!==\"cimode\"&&s.indexOf(u)<0&&s.push(u)})};i?o(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>o(l)),this.options.preload&&this.options.preload.forEach(a=>o(a)),this.services.backendConnector.load(s,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(a)})}else r(null)}reloadResources(t,n,r){const i=Go();return typeof t==\"function\"&&(r=t,t=void 0),typeof n==\"function\"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=nu),this.services.backendConnector.reload(t,n,s=>{i.resolve(),r(s)}),i}use(t){if(!t)throw new Error(\"You are passing an undefined module! Please check the object you are passing to i18next.use()\");if(!t.type)throw new Error(\"You are passing a wrong module! Please check the object you are passing to i18next.use()\");return t.type===\"backend\"&&(this.modules.backend=t),(t.type===\"logger\"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type===\"languageDetector\"&&(this.modules.languageDetector=t),t.type===\"i18nFormat\"&&(this.modules.i18nFormat=t),t.type===\"postProcessor\"&&Zb.addPostProcessor(t),t.type===\"formatter\"&&(this.modules.formatter=t),t.type===\"3rdParty\"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!([\"cimode\",\"dev\"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!([\"cimode\",\"dev\"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=Go();this.emit(\"languageChanging\",t);const s=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,u)=>{u?(s(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit(\"languageChanged\",u),this.logger.log(\"languageChanged\",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},a=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const u=le(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||s(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,f=>{o(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t),i}getFixedT(t,n,r){var i=this;const s=function(o,a){let l;if(typeof a!=\"object\"){for(var u=arguments.length,f=new Array(u>2?u-2:0),c=2;c<u;c++)f[c-2]=arguments[c];l=i.options.overloadTranslationOptionHandler([o,a].concat(f))}else l={...a};l.lng=l.lng||s.lng,l.lngs=l.lngs||s.lngs,l.ns=l.ns||s.ns,l.keyPrefix!==\"\"&&(l.keyPrefix=l.keyPrefix||r||s.keyPrefix);const d=i.options.keySeparator||\".\";let h;return l.keyPrefix&&Array.isArray(o)?h=o.map(g=>`${l.keyPrefix}${d}${g}`):h=l.keyPrefix?`${l.keyPrefix}${d}${o}`:o,i.t(h,l)};return le(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn(\"hasLoadedNamespace: i18next was not initialized\",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(\"hasLoadedNamespace: i18n.languages were undefined or empty\",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()===\"cimode\")return!0;const o=(a,l)=>{const u=this.services.backendConnector.state[`${a}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const a=n.precheck(this,o);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!i||o(s,t)))}loadNamespaces(t,n){const r=Go();return this.options.ns?(le(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Go();le(t)&&(t=[t]);const i=this.options.preload||[],s=t.filter(o=>i.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return s.length?(this.options.preload=i.concat(s),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return\"rtl\";const n=[\"ar\",\"shu\",\"sqr\",\"ssh\",\"xaa\",\"yhd\",\"yud\",\"aao\",\"abh\",\"abv\",\"acm\",\"acq\",\"acw\",\"acx\",\"acy\",\"adf\",\"ads\",\"aeb\",\"aec\",\"afb\",\"ajp\",\"apc\",\"apd\",\"arb\",\"arq\",\"ars\",\"ary\",\"arz\",\"auz\",\"avl\",\"ayh\",\"ayl\",\"ayn\",\"ayp\",\"bbz\",\"pga\",\"he\",\"iw\",\"ps\",\"pbt\",\"pbu\",\"pst\",\"prp\",\"prd\",\"ug\",\"ur\",\"ydd\",\"yds\",\"yih\",\"ji\",\"yi\",\"hbo\",\"men\",\"xmn\",\"fa\",\"jpr\",\"peo\",\"pes\",\"prs\",\"dv\",\"sam\",\"ckb\"],r=this.services&&this.services.languageUtils||new ww(bw());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf(\"-arab\")>1?\"rtl\":\"ltr\"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Xa(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nu;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},s=new Xa(i);return(t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),[\"store\",\"services\",\"language\"].forEach(a=>{s[a]=this[a]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r&&(s.store=new yw(this.store.data,i),s.services.resourceStore=s.store),s.translator=new mc(s.services,i),s.translator.on(\"*\",function(a){for(var l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];s.emit(a,...u)}),s.init(i,n),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const At=Xa.createInstance();At.createInstance=Xa.createInstance;At.createInstance;At.dir;At.init;At.loadResources;At.reloadResources;At.use;At.changeLanguage;At.getFixedT;At.t;At.exists;At.setDefaultNamespace;At.hasLoadedNamespace;At.loadNamespaces;At.loadLanguages;const{slice:JF,forEach:GF}=[];function XF(e){return GF.call(JF.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const _w=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/,YF=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:\"/\"},i=encodeURIComponent(t);let s=`${e}=${i}`;if(r.maxAge>0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error(\"maxAge should be a Number\");s+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!_w.test(r.domain))throw new TypeError(\"option domain is invalid\");s+=`; Domain=${r.domain}`}if(r.path){if(!_w.test(r.path))throw new TypeError(\"option path is invalid\");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!=\"function\")throw new TypeError(\"option expires is invalid\");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+=\"; HttpOnly\"),r.secure&&(s+=\"; Secure\"),r.sameSite)switch(typeof r.sameSite==\"string\"?r.sameSite.toLowerCase():r.sameSite){case!0:s+=\"; SameSite=Strict\";break;case\"lax\":s+=\"; SameSite=Lax\";break;case\"strict\":s+=\"; SameSite=Strict\";break;case\"none\":s+=\"; SameSite=None\";break;default:throw new TypeError(\"option sameSite is invalid\")}return s},Cw={create(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:\"/\",sameSite:\"strict\"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+n*60*1e3)),r&&(i.domain=r),document.cookie=YF(e,encodeURIComponent(t),i)},read(e){const t=`${e}=`,n=document.cookie.split(\";\");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===\" \";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null},remove(e){this.create(e,\"\",-1)}};var ZF={name:\"cookie\",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<\"u\")return Cw.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:i,cookieOptions:s}=t;n&&typeof document<\"u\"&&Cw.create(n,e,r,i,s)}},e2={name:\"querystring\",lookup(e){var r;let{lookupQuerystring:t}=e,n;if(typeof window<\"u\"){let{search:i}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf(\"?\"))>-1&&(i=window.location.hash.substring(window.location.hash.indexOf(\"?\")));const o=i.substring(1).split(\"&\");for(let a=0;a<o.length;a++){const l=o[a].indexOf(\"=\");l>0&&o[a].substring(0,l)===t&&(n=o[a].substring(l+1))}}return n}};let bs=null;const kw=()=>{if(bs!==null)return bs;try{if(bs=typeof window<\"u\"&&window.localStorage!==null,!bs)return!1;const e=\"i18next.translate.boo\";window.localStorage.setItem(e,\"foo\"),window.localStorage.removeItem(e)}catch{bs=!1}return bs};var t2={name:\"localStorage\",lookup(e){let{lookupLocalStorage:t}=e;if(t&&kw())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&kw()&&window.localStorage.setItem(n,e)}};let Es=null;const Pw=()=>{if(Es!==null)return Es;try{if(Es=typeof window<\"u\"&&window.sessionStorage!==null,!Es)return!1;const e=\"i18next.translate.boo\";window.sessionStorage.setItem(e,\"foo\"),window.sessionStorage.removeItem(e)}catch{Es=!1}return Es};var n2={name:\"sessionStorage\",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Pw())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Pw()&&window.sessionStorage.setItem(n,e)}},r2={name:\"navigator\",lookup(e){const t=[];if(typeof navigator<\"u\"){const{languages:n,userLanguage:r,language:i}=navigator;if(n)for(let s=0;s<n.length;s++)t.push(n[s]);r&&t.push(r),i&&t.push(i)}return t.length>0?t:void 0}},i2={name:\"htmlTag\",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<\"u\"?document.documentElement:null);return r&&typeof r.getAttribute==\"function\"&&(n=r.getAttribute(\"lang\")),n}},s2={name:\"path\",lookup(e){var i;let{lookupFromPathIndex:t}=e;if(typeof window>\"u\")return;const n=window.location.pathname.match(/\\/([a-zA-Z-]*)/g);return Array.isArray(n)?(i=n[typeof t==\"number\"?t:0])==null?void 0:i.replace(\"/\",\"\"):void 0}},o2={name:\"subdomain\",lookup(e){var i,s;let{lookupFromSubdomainIndex:t}=e;const n=typeof t==\"number\"?t+1:1,r=typeof window<\"u\"&&((s=(i=window.location)==null?void 0:i.hostname)==null?void 0:s.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};let eE=!1;try{document.cookie,eE=!0}catch{}const tE=[\"querystring\",\"cookie\",\"localStorage\",\"sessionStorage\",\"navigator\",\"htmlTag\"];eE||tE.splice(1,1);const a2=()=>({order:tE,lookupQuerystring:\"lng\",lookupCookie:\"i18next\",lookupLocalStorage:\"i18nextLng\",lookupSessionStorage:\"i18nextLng\",caches:[\"localStorage\"],excludeCacheFor:[\"cimode\"],convertDetectedLanguage:e=>e});class nE{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type=\"languageDetector\",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=XF(n,this.options||{},a2()),typeof this.options.convertDetectedLanguage==\"string\"&&this.options.convertDetectedLanguage.indexOf(\"15897\")>-1&&(this.options.convertDetectedLanguage=i=>i.replace(\"-\",\"_\")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(ZF),this.addDetector(e2),this.addDetector(t2),this.addDetector(n2),this.addDetector(r2),this.addDetector(i2),this.addDetector(s2),this.addDetector(o2)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let i=this.detectors[r].lookup(this.options);i&&typeof i==\"string\"&&(i=[i]),i&&(n=n.concat(i))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}nE.type=\"languageDetector\";const l2=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,u2={\"&amp;\":\"&\",\"&#38;\":\"&\",\"&lt;\":\"<\",\"&#60;\":\"<\",\"&gt;\":\">\",\"&#62;\":\">\",\"&apos;\":\"'\",\"&#39;\":\"'\",\"&quot;\":'\"',\"&#34;\":'\"',\"&nbsp;\":\" \",\"&#160;\":\" \",\"&copy;\":\"©\",\"&#169;\":\"©\",\"&reg;\":\"®\",\"&#174;\":\"®\",\"&hellip;\":\"…\",\"&#8230;\":\"…\",\"&#x2F;\":\"/\",\"&#47;\":\"/\"},c2=e=>u2[e],f2=e=>e.replace(l2,c2);let np={bindI18n:\"languageChanged\",bindI18nStore:\"\",transEmptyNodeValue:\"\",transSupportBasicHtmlNodes:!0,transWrapTextNodes:\"\",transKeepBasicHtmlNodesFor:[\"br\",\"strong\",\"i\",\"p\"],useSuspense:!0,unescape:f2};const d2=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};np={...np,...e}},nD=()=>np;let rE;const h2=e=>{rE=e},rD=()=>rE,p2={type:\"3rdParty\",init(e){d2(e.options.react),h2(e)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};At.use(nE).use(p2).init({resources:{en:{translation:{\"Chat Header\":\"Describe the UI you'd like to generate.\",\"Pro Tip\":\"Pro Tip: You can drag or paste a reference screenshot.\"}},ja:{translation:{\"Chat Header\":\"生成したい UI について説明してください。\",\"Pro Tip\":\"ヒント: 参照したいスクリーンショットをドラッグ&ドロップできます。\"}},kr:{translation:{\"Chat Header\":\"생성하고 싶은 UI에 대해 설명해주세요.\",\"Pro Tip\":\"힌트: 참조 스크린샷을 끌어다 붙여넣을 수 있습니다.\"}}},fallbackLng:\"en\",interpolation:{escapeValue:!1}}).then(()=>{const e=navigator.language;console.log(\"I18n initialized\",e)},e=>{console.error(\"I18n error\",e)});var iE,Rw=sl;iE=Rw.createRoot,Rw.hydrateRoot;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const m2=1,g2=new t_({defaultOptions:{queries:{staleTime:Number.POSITIVE_INFINITY,retry:m2}}}),Aw=document.querySelector(\"#root\");Aw&&iE(Aw).render(Y.jsx(_.StrictMode,{children:Y.jsx(n_,{client:g2,children:Y.jsx(CF,{})})}));export{L2 as $,$P as A,NS as B,zP as C,rs as D,dS as E,jP as F,uS as G,bo as H,Tk as I,wk as J,o0 as K,g1 as L,Uh as M,lO as N,T2 as O,os as P,qR as Q,fk as R,yc as S,A2 as T,j2 as U,D2 as V,Ki as W,pF as X,xF as Y,wF as Z,s_ as _,hg as a,z2 as a0,I2 as a1,lF as a2,O2 as a3,aF as a4,mI as a5,TP as a6,U2 as a7,mm as a8,aO as a9,R2 as aA,FS as aB,sl as aC,At as aD,nF as aE,oF as aF,_2 as aG,bF as aH,s0 as aI,Sg as aJ,tD as aa,dF as ab,fF as ac,Xb as ad,yF as ae,uF as af,sF as ag,P2 as ah,F2 as ai,Z2 as aj,$2 as ak,Hv as al,eD as am,N2 as an,cF as ao,gF as ap,iF as aq,rF as ar,zh as as,YN as at,x2 as au,k2 as av,C2 as aw,M2 as ax,GR as ay,m1 as az,ME as b,qE as c,$E as d,It as e,Zw as f,_ as g,po as h,vc as i,Y as j,rD as k,nD as l,hR as m,_n as n,S2 as o,HE as p,QR as q,FE as r,v2 as s,NE as t,w2 as u,kS as v,VP as w,a0 as x,DP as y,Sr as z};\n"
  },
  {
    "path": "backend/openui/dist/assets/index-CnQwS-Fb.css",
    "content": "@import\"https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap\";.internal-jotai-devtools-panel-resize-handle-wrapper{display:flex;align-items:center;height:100%}.internal-jotai-devtools-panel-resize-handle-wrapper .internal-jotai-devtools-panel-resize-handle-content{transition:max-height,min-height,height,.2s ease-out}[data-resize-handle-active] .internal-jotai-devtools-panel-resize-handle-wrapper .internal-jotai-devtools-panel-resize-handle-content,.internal-jotai-devtools-panel-resize-handle-wrapper:hover .internal-jotai-devtools-panel-resize-handle-content{height:90%!important;min-height:90%!important;max-height:90%!important}.internal-jotai-devtools-atom-viewer-wrapper{background:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-atom-viewer-wrapper{background:var(--mantine-color-dark-8)}.internal-jotai-devtools-json-tree-wrapper{font-family:var(--mantine-font-family-monospace);font-size:13px}.internal-jotai-devtools-json-tree-wrapper ul:first-of-type{border-radius:var(--mantine-radius-md)}.internal-jotai-devtools-code-syntax-highlighter{border-radius:var(--mantine-radius-md)}.internal-jotai-devtools-monospace-font{font-family:var(--mantine-font-family-monospace);font-size:var(--mantine-font-size-sm)!important}.internal-jotai-devtools-navlink{border-radius:var(--mantine-radius-md)}.internal-jotai-devtools-playbar-wrapper{height:56px;border-top:.09rem solid var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-playbar-wrapper{border-top:.09rem solid var(--mantine-color-dark-4)}.internal-jotai-devtools-playbar-wrapper{display:flex;align-items:center;padding:var(--mantine-spacing-sm);gap:12px}.internal-jotai-devtools-playbar-root{flex-grow:1}.internal-jotai-devtools-playbar-markLabel{display:none}.internal-jotai-devtools-playbar-bar{background-color:var(--mantine-color-dark-4)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-playbar-bar{background-color:var(--mantine-color-gray-6)}.internal-jotai-devtools-playbar-track:before{background-color:var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-playbar-track:before{background-color:var(--mantine-color-dark-4)}.internal-jotai-devtools-playbar-mark{background-color:var(--mantine-color-gray-7)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-playbar-mark{background-color:var(--mantine-color-gray-5)}.internal-jotai-devtools-playbar-mark{border-width:0}.internal-jotai-devtools-playbar-thumb{height:14px!important;width:14px!important;border-width:3px!important;border-color:var(--mantine-color-dark-4)!important}[data-mantine-color-scheme=dark] .internal-jotai-devtools-playbar-thumb{border-color:var(--mantine-color-gray-6)!important}.internal-jotai-devtools-header-wrapper{position:\"sticky\";top:0;margin-top:var(--mantine-spacing-xs)}.internal-jotai-devtools-header-content{border-radius:var(--mantine-radius-md);background-color:var(--mantine-color-white)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-header-content{background-color:var(--mantine-color-dark-7)}.internal-jotai-devtools-time-travel-wrapper{background:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-time-travel-wrapper{background:var(--mantine-color-dark-8)}.internal-jotai-devtools-shell{position:fixed;width:calc(100% - 1.25rem);left:50%;bottom:.625rem;transform:translate(-50%);border-color:var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-shell{border-color:var(--mantine-color-dark-4)}.internal-jotai-devtools-shell{border-width:1px;border-style:solid;border-radius:8px;background:var(--mantine-color-white)}[data-mantine-color-scheme=dark] .internal-jotai-devtools-shell{background:var(--mantine-color-dark-7)}.internal-jotai-devtools-shell{display:flex!important;flex-direction:column!important;z-index:99999}.internal-jotai-devtools-trigger-button img{height:2rem}.m_d57069b5{--scrollarea-scrollbar-size: 12px;position:relative;overflow:hidden}.m_c0783ff9{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;width:100%;height:100%}.m_c0783ff9::-webkit-scrollbar{display:none}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=y]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=y]){-webkit-padding-end:var(--scrollarea-scrollbar-size);padding-inline-end:var(--scrollarea-scrollbar-size);-webkit-padding-start:unset;padding-inline-start:unset}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=x]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=x]){padding-bottom:var(--scrollarea-scrollbar-size)}.m_f8f631dd{min-width:100%;display:table}.m_c44ba933{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:none;box-sizing:border-box;transition:background-color .15s ease,opacity .15s ease;padding:calc(var(--scrollarea-scrollbar-size) / 5);display:flex;background-color:transparent;flex-direction:row}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_c44ba933:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c44ba933:hover>.m_d8b5e363{background-color:#00000080}:where([data-mantine-color-scheme=dark]) .m_c44ba933:hover{background-color:var(--mantine-color-dark-8)}:where([data-mantine-color-scheme=dark]) .m_c44ba933:hover>.m_d8b5e363{background-color:#ffffff80}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_c44ba933:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c44ba933:active>.m_d8b5e363{background-color:#00000080}:where([data-mantine-color-scheme=dark]) .m_c44ba933:active{background-color:var(--mantine-color-dark-8)}:where([data-mantine-color-scheme=dark]) .m_c44ba933:active>.m_d8b5e363{background-color:#ffffff80}}.m_c44ba933:where([data-hidden],[data-state=hidden]){display:none}.m_c44ba933:where([data-orientation=vertical]){width:var(--scrollarea-scrollbar-size);top:0;bottom:var(--sa-corner-width);inset-inline-end:0}.m_c44ba933:where([data-orientation=horizontal]){height:var(--scrollarea-scrollbar-size);flex-direction:column;bottom:0;inset-inline-start:0;inset-inline-end:var(--sa-corner-width)}.m_d8b5e363{flex:1;border-radius:var(--scrollarea-scrollbar-size);position:relative;transition:background-color .15s ease;overflow:hidden}.m_d8b5e363:before{content:'\"\"';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:44px;min-height:44px}:where([data-mantine-color-scheme=light]) .m_d8b5e363{background-color:#0006}:where([data-mantine-color-scheme=dark]) .m_d8b5e363{background-color:#fff6}.m_21657268{position:absolute;opacity:0;transition:opacity .15s ease;display:block;inset-inline-end:0;bottom:0}:where([data-mantine-color-scheme=light]) .m_21657268{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_21657268{background-color:var(--mantine-color-dark-8)}.m_21657268:where([data-hovered]){opacity:1}.m_21657268:where([data-hidden]){display:none}.m_87cf2631{background-color:transparent;cursor:pointer;border:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:var(--mantine-font-size-md);text-align:left;text-decoration:none;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where([dir=rtl]) .m_87cf2631{text-align:right}.m_77c9d27d{--button-height-xs: 30px;--button-height-sm: 36px;--button-height-md: 42px;--button-height-lg: 50px;--button-height-xl: 60px;--button-height-compact-xs: 22px;--button-height-compact-sm: 26px;--button-height-compact-md: 30px;--button-height-compact-lg: 34px;--button-height-compact-xl: 40px;--button-padding-x-xs: 14px;--button-padding-x-sm: 18px;--button-padding-x-md: 22px;--button-padding-x-lg: 26px;--button-padding-x-xl: 32px;--button-padding-x-compact-xs: 7px;--button-padding-x-compact-sm: 8px;--button-padding-x-compact-md: 10px;--button-padding-x-compact-lg: 12px;--button-padding-x-compact-xl: 14px;--button-height: var(--button-height-sm);--button-padding-x: var(--button-padding-x-sm);--button-color: var(--mantine-color-white);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:600;position:relative;line-height:1;text-align:center;overflow:hidden;width:auto;cursor:pointer;display:inline-block;border-radius:var(--button-radius, var(--mantine-radius-default));font-size:var(--button-fz, var(--mantine-font-size-sm));background:var(--button-bg, var(--mantine-primary-color-filled));border:var(--button-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--button-color, var(--mantine-color-white));height:var(--button-height, var(--button-height-sm));padding-inline:var(--button-padding-x, var(--button-padding-x-sm));vertical-align:middle}.m_77c9d27d:where([data-block]){display:block;width:100%}.m_77c9d27d:where([data-with-left-section]){-webkit-padding-start:calc(var(--button-padding-x) / 1.5);padding-inline-start:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where([data-with-right-section]){-webkit-padding-end:calc(var(--button-padding-x) / 1.5);padding-inline-end:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:1px solid transparent;transform:none}:where([data-mantine-color-scheme=light]) .m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){color:var(--mantine-color-gray-5);background:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){color:var(--mantine-color-dark-3);background:var(--mantine-color-dark-6)}.m_77c9d27d:before{content:\"\";pointer-events:none;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:var(--button-radius, var(--mantine-radius-default));transform:translateY(-100%);opacity:0;filter:blur(12px);transition:transform .15s ease,opacity .1s ease}:where([data-mantine-color-scheme=light]) .m_77c9d27d:before{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:before{background-color:#00000026}.m_77c9d27d:where([data-loading]){cursor:not-allowed;transform:none}.m_77c9d27d:where([data-loading]):before{transform:translateY(0);opacity:1}.m_77c9d27d:where([data-loading]) .m_80f1301b{opacity:0;transform:translateY(100%)}@media (hover: hover){.m_77c9d27d:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}@media (hover: none){.m_77c9d27d:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}.m_80f1301b{display:flex;align-items:center;justify-content:var(--button-justify, center);height:100%;overflow:visible;transition:transform .15s ease,opacity .1s ease}.m_811560b9{white-space:nowrap;height:100%;overflow:hidden;display:flex;align-items:center;opacity:1}.m_811560b9:where([data-loading]){opacity:.2}.m_a74036a{display:flex;align-items:center}.m_a74036a:where([data-position=left]){-webkit-margin-end:var(--mantine-spacing-xs);margin-inline-end:var(--mantine-spacing-xs)}.m_a74036a:where([data-position=right]){-webkit-margin-start:var(--mantine-spacing-xs);margin-inline-start:var(--mantine-spacing-xs)}.m_a25b86ee{position:absolute;left:50%;top:50%}.m_80d6d844{--button-border-width: 1px;display:flex}.m_80d6d844 :where(*):focus{position:relative;z-index:1}.m_80d6d844[data-orientation=horizontal]{flex-direction:row}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical]{flex-direction:column}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--button-border-width) / 2);border-top-width:calc(var(--button-border-width) / 2)}.m_86a44da5{--cb-size-xs: 18px;--cb-size-sm: 22px;--cb-size-md: 28px;--cb-size-lg: 34px;--cb-size-xl: 44px;--cb-size: var(--cb-size-md);--cb-icon-size: 70%;--cb-radius: var(--mantine-radius-default);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:var(--cb-size);height:var(--cb-size);min-width:var(--cb-size);min-height:var(--cb-size);border-radius:var(--cb-radius)}:where([data-mantine-color-scheme=light]) .m_86a44da5{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_86a44da5{color:var(--mantine-color-dark-1)}.m_86a44da5[data-disabled],.m_86a44da5:disabled{cursor:not-allowed;opacity:.6}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_220c80f2:where(:not([data-disabled],:disabled)):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_220c80f2:where(:not([data-disabled],:disabled)):hover{background-color:var(--mantine-color-dark-6)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_220c80f2:where(:not([data-disabled],:disabled)):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_220c80f2:where(:not([data-disabled],:disabled)):active{background-color:var(--mantine-color-dark-6)}}.m_8d3f4000{--ai-size-xs: 18px;--ai-size-sm: 22px;--ai-size-md: 28px;--ai-size-lg: 34px;--ai-size-xl: 44px;--ai-size-input-xs: 30px;--ai-size-input-sm: 36px;--ai-size-input-md: 42px;--ai-size-input-lg: 50px;--ai-size-input-xl: 60px;--ai-size: var(--ai-size-md);--ai-color: var(--mantine-color-white);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;width:var(--ai-size);height:var(--ai-size);min-width:var(--ai-size);min-height:var(--ai-size);border-radius:var(--ai-radius, var(--mantine-radius-default));background:var(--ai-bg, var(--mantine-primary-color-filled));color:var(--ai-color, var(--mantine-color-white));border:var(--ai-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);cursor:pointer}@media (hover: hover){.m_8d3f4000:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover, var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color, var(--ai-color))}}@media (hover: none){.m_8d3f4000:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover, var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color, var(--ai-color))}}.m_8d3f4000[data-loading]{cursor:not-allowed}.m_8d3f4000[data-loading] .m_8d3afb97{opacity:0;transform:translateY(100%)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:1px solid transparent}:where([data-mantine-color-scheme=light]) .m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){background-color:var(--mantine-color-gray-1);color:var(--mantine-color-gray-5)}:where([data-mantine-color-scheme=dark]) .m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){background-color:var(--mantine-color-dark-6);color:var(--mantine-color-dark-3)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])):active{transform:none}.m_302b9fb1{top:-1px;right:-1px;bottom:-1px;left:-1px;position:absolute;border-radius:var(--ai-radius, var(--mantine-radius-default));display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_302b9fb1{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_302b9fb1{background-color:#00000026}.m_1a0f1b21{--ai-border-width: 1px;display:flex}.m_1a0f1b21 :where(*):focus{position:relative;z-index:1}.m_1a0f1b21[data-orientation=horizontal]{flex-direction:row}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical]{flex-direction:column}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--ai-border-width) / 2);border-top-width:calc(var(--ai-border-width) / 2)}.m_8d3afb97{display:flex;align-items:center;justify-content:center;transition:transform .15s ease,opacity .1s ease;width:100%;height:100%}.m_515a97f8{border:0;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.m_1b7284a3{--paper-radius: var(--mantine-radius-default);outline:0;-webkit-tap-highlight-color:transparent;display:block;touch-action:manipulation;text-decoration:none;border-radius:var(--paper-radius);box-shadow:var(--paper-shadow);background-color:var(--mantine-color-body)}:where([data-mantine-color-scheme=light]) .m_1b7284a3:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_1b7284a3:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-dark-4)}.m_38a85659{position:absolute;border:1px solid var(--popover-border-color);padding:var(--mantine-spacing-sm) var(--mantine-spacing-md);box-shadow:var(--popover-shadow, none);border-radius:var(--popover-radius, var(--mantine-radius-default))}.m_38a85659:where([data-fixed]){position:fixed}.m_38a85659:focus{outline:none}:where([data-mantine-color-scheme=light]) .m_38a85659{--popover-border-color: var(--mantine-color-gray-2);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_38a85659{--popover-border-color: var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}.m_a31dc6c1{background-color:inherit;border:1px solid var(--popover-border-color);z-index:1}.m_4081bf90{display:flex;flex-direction:row;flex-wrap:var(--group-wrap, wrap);justify-content:var(--group-justify, flex-start);align-items:var(--group-align, center);gap:var(--group-gap, var(--mantine-spacing-md))}.m_4081bf90:where([data-grow])>*{flex-grow:1;max-width:var(--group-child-width)}.m_5ae2e3c{--loader-size-xs: 18px;--loader-size-sm: 22px;--loader-size-md: 36px;--loader-size-lg: 44px;--loader-size-xl: 58px;--loader-size: var(--loader-size-md);--loader-color: var(--mantine-primary-color-filled)}@keyframes m_5d2b3b9d{0%{transform:scale(.6);opacity:0}50%,to{transform:scale(1)}}.m_7a2bd4cd{position:relative;width:var(--loader-size);height:var(--loader-size);display:flex;gap:calc(var(--loader-size) / 5)}.m_870bb79{flex:1;background:var(--loader-color);animation:m_5d2b3b9d 1.2s cubic-bezier(0,.5,.5,1) infinite;border-radius:2px}.m_870bb79:nth-of-type(1){animation-delay:-.24s}.m_870bb79:nth-of-type(2){animation-delay:-.12s}.m_870bb79:nth-of-type(3){animation-delay:0}@keyframes m_aac34a1{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.6);opacity:.5}}.m_4e3f22d7{display:flex;justify-content:center;align-items:center;gap:calc(var(--loader-size) / 10);position:relative;width:var(--loader-size);height:var(--loader-size)}.m_870c4af{width:calc(var(--loader-size) / 3 - var(--loader-size) / 15);height:calc(var(--loader-size) / 3 - var(--loader-size) / 15);border-radius:50%;background:var(--loader-color);animation:m_aac34a1 .8s infinite linear}.m_870c4af:nth-child(2){animation-delay:.4s}@keyframes m_f8e89c4b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m_b34414df{display:inline-block;width:var(--loader-size);height:var(--loader-size)}.m_b34414df:after{content:\"\";display:block;width:var(--loader-size);height:var(--loader-size);border-radius:10000px;border-width:calc(var(--loader-size) / 8);border-style:solid;border-color:var(--loader-color) var(--loader-color) var(--loader-color) transparent;animation:m_f8e89c4b 1.2s linear infinite}.m_9814e45f{top:0;right:0;bottom:0;left:0;position:absolute;background:var(--overlay-bg, rgba(0, 0, 0, .6));backdrop-filter:var(--overlay-filter);-webkit-backdrop-filter:var(--overlay-filter);border-radius:var(--overlay-radius, 0);z-index:var(--overlay-z-index)}.m_9814e45f:where([data-fixed]){position:fixed}.m_9814e45f:where([data-center]){display:flex;align-items:center;justify-content:center}.m_615af6c9{line-height:1;padding:0;margin:0;font-weight:400;font-size:var(--mantine-font-size-md)}.m_b5489c3c{display:flex;justify-content:space-between;align-items:center;padding:var(--mb-padding, var(--mantine-spacing-md));-webkit-padding-end:calc(var(--mb-padding, var(--mantine-spacing-md)) - calc(.3125rem * var(--mantine-scale)));padding-inline-end:calc(var(--mb-padding, var(--mantine-spacing-md)) - calc(.3125rem * var(--mantine-scale)));position:-webkit-sticky;position:sticky;top:0;background-color:var(--mantine-color-body);z-index:1000;min-height:60px;transition:-webkit-padding-end .1s;transition:padding-inline-end .1s;transition:padding-inline-end .1s,-webkit-padding-end .1s}.m_60c222c7{position:fixed;width:100%;top:0;bottom:0;z-index:var(--mb-z-index);pointer-events:none}.m_fd1ab0aa{pointer-events:all;box-shadow:var(--mb-shadow, var(--mantine-shadow-xl))}.m_fd1ab0aa [data-mantine-scrollbar]{z-index:1001}.m_fd1ab0aa:has([data-mantine-scrollbar][data-state=visible]) .m_b5489c3c{-webkit-padding-end:calc(var(--mb-padding, var(--mantine-spacing-md)) + calc(.3125rem * var(--mantine-scale)));padding-inline-end:calc(var(--mb-padding, var(--mantine-spacing-md)) + calc(.3125rem * var(--mantine-scale)))}.m_606cb269{-webkit-margin-start:auto;margin-inline-start:auto}.m_5df29311{padding:var(--mb-padding, var(--mantine-spacing-md));padding-top:var(--mb-padding, var(--mantine-spacing-md))}.m_5df29311:where(:not(:only-child)){padding-top:0}.m_8bffd616{display:flex}.m_b6d8b162{-webkit-tap-highlight-color:transparent;text-decoration:none;font-size:var(--text-fz, var(--mantine-font-size-md));line-height:var(--text-lh, var(--mantine-line-height-md));font-weight:400;margin:0;padding:0;color:var(--text-color)}.m_b6d8b162:where([data-truncate]){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m_b6d8b162:where([data-truncate=start]){direction:rtl;text-align:right}:where([dir=rtl]) .m_b6d8b162:where([data-truncate=start]){direction:ltr;text-align:left}.m_b6d8b162:where([data-variant=gradient]){background-image:var(--text-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m_b6d8b162:where([data-line-clamp]){overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:var(--text-line-clamp);-webkit-box-orient:vertical}.m_b6d8b162:where([data-inherit]){line-height:inherit;font-weight:inherit;font-size:inherit}.m_b6d8b162:where([data-inline]){line-height:1}.m_8a5d1357{margin:0;font-weight:var(--title-fw);font-size:var(--title-fz);line-height:var(--title-lh);font-family:var(--mantine-font-family-headings);text-wrap:var(--title-text-wrap, var(--mantine-heading-text-wrap))}.m_8a5d1357:where([data-line-clamp]){overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:var(--title-line-clamp);-webkit-box-orient:vertical}.m_347db0ec{--badge-height-xs: 16px;--badge-height-sm: 18px;--badge-height-md: 20px;--badge-height-lg: 26px;--badge-height-xl: 32px;--badge-fz-xs: 9px;--badge-fz-sm: 10px;--badge-fz-md: 11px;--badge-fz-lg: 13px;--badge-fz-xl: 16px;--badge-padding-x-xs: 6px;--badge-padding-x-sm: 8px;--badge-padding-x-md: 10px;--badge-padding-x-lg: 12px;--badge-padding-x-xl: 16px;--badge-height: var(--badge-height-md);--badge-fz: var(--badge-fz-md);--badge-padding-x: var(--badge-padding-x-md);--badge-radius: 1000px;--badge-lh: calc(var(--badge-height) - calc(.125rem * var(--mantine-scale)));--badge-color: var(--mantine-color-white);--badge-bg: var(--mantine-primary-color-filled);--badge-bd: 1px solid transparent;-webkit-tap-highlight-color:transparent;font-size:var(--badge-fz);border-radius:var(--badge-radius);height:var(--badge-height);line-height:var(--badge-lh);text-decoration:none;padding:0 var(--badge-padding-x);display:inline-flex;align-items:center;justify-content:center;width:-moz-fit-content;width:fit-content;text-transform:uppercase;font-weight:700;letter-spacing:.25px;cursor:inherit;text-overflow:ellipsis;overflow:hidden;color:var(--badge-color);background:var(--badge-bg);border:var(--badge-bd)}.m_347db0ec:where([data-block]){display:flex;width:100%}.m_347db0ec:where([data-circle]){padding-inline:2px;width:var(--badge-height)}.m_fbd81e3d{--badge-dot-size: calc(var(--badge-height) / 3.4)}:where([data-mantine-color-scheme=light]) .m_fbd81e3d{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4);color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_fbd81e3d{background-color:var(--mantine-color-dark-5);border-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.m_fbd81e3d:before{content:\"\";display:block;width:var(--badge-dot-size);height:var(--badge-dot-size);border-radius:var(--badge-dot-size);background-color:var(--badge-dot-color);-webkit-margin-end:var(--badge-dot-size);margin-inline-end:var(--badge-dot-size)}.m_5add502a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m_91fdda9b{--badge-section-margin: calc(var(--mantine-spacing-xs) / 2);display:inline-flex;justify-content:center;align-items:center}.m_91fdda9b:where([data-position=left]){-webkit-margin-end:var(--badge-section-margin);margin-inline-end:var(--badge-section-margin)}.m_91fdda9b:where([data-position=right]){-webkit-margin-start:var(--badge-section-margin);margin-inline-start:var(--badge-section-margin)}.m_b183c0a2{font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);padding:2px calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);font-size:var(--mantine-font-size-xs);margin:0;overflow:auto}:where([data-mantine-color-scheme=light]) .m_b183c0a2{background-color:var(--code-bg, var(--mantine-color-gray-1));color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_b183c0a2{background-color:var(--code-bg, var(--mantine-color-dark-5));color:var(--mantine-color-white)}.m_b183c0a2[data-block]{padding:var(--mantine-spacing-xs)}.m_6c018570{position:relative;margin-top:var(--input-margin-top, 0rem);margin-bottom:var(--input-margin-bottom, 0rem);--input-height-xs: 30px;--input-height-sm: 36px;--input-height-md: 42px;--input-height-lg: 50px;--input-height-xl: 60px;--input-padding-y-xs: 5px;--input-padding-y-sm: 6px;--input-padding-y-md: 8px;--input-padding-y-lg: 10px;--input-padding-y-xl: 13px;--input-height: var(--input-height-sm);--input-radius: var(--mantine-radius-default);--input-cursor: text;--input-text-align: left;--input-line-height: calc(var(--input-height) - calc(.125rem * var(--mantine-scale)));--input-padding: calc(var(--input-height) / 3);--input-padding-inline-start: var(--input-padding);--input-padding-inline-end: var(--input-padding);--input-placeholder-color: var(--mantine-color-placeholder);--input-color: var(--mantine-color-text);--input-left-section-size: var(--input-left-section-width, calc(var(--input-height) - calc(.125rem * var(--mantine-scale))));--input-right-section-size: var( --input-right-section-width, calc(var(--input-height) - calc(.125rem * var(--mantine-scale))) );--input-size: var(--input-height);--section-y: 1px;--left-section-start: 1px;--left-section-border-radius: var(--input-radius) 0 0 var(--input-radius);--right-section-end: 1px;--right-section-border-radius: 0 var(--input-radius) var(--input-radius) 0}.m_6c018570[data-variant=unstyled]{--input-padding: 0;--input-padding-y: 0;--input-padding-inline-start: 0;--input-padding-inline-end: 0}.m_6c018570[data-pointer]{--input-cursor: pointer}.m_6c018570[data-multiline]{--input-padding-y-xs: 4.5px;--input-padding-y-sm: 5.5px;--input-padding-y-md: 7px;--input-padding-y-lg: 9.5px;--input-padding-y-xl: 13px;--input-size: auto;--input-line-height: var(--mantine-line-height);--input-padding-y: var(--input-padding-y-sm)}.m_6c018570[data-with-left-section]{--input-padding-inline-start: var(--input-left-section-size)}.m_6c018570[data-with-right-section]{--input-padding-inline-end: var(--input-right-section-size)}[data-mantine-color-scheme=light] .m_6c018570{--input-disabled-bg: var(--mantine-color-gray-1);--input-disabled-color: var(--mantine-color-gray-6)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=default]{--input-bd: var(--mantine-color-gray-4);--input-bg: var(--mantine-color-white);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=filled]{--input-bd: transparent;--input-bg: var(--mantine-color-gray-1);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=unstyled]{--input-bd: transparent;--input-bg: transparent;--input-bd-focus: transparent}[data-mantine-color-scheme=dark] .m_6c018570{--input-disabled-bg: var(--mantine-color-dark-6);--input-disabled-color: var(--mantine-color-dark-2)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=default]{--input-bd: var(--mantine-color-dark-4);--input-bg: var(--mantine-color-dark-6);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=filled]{--input-bd: transparent;--input-bg: var(--mantine-color-dark-5);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=unstyled]{--input-bd: transparent;--input-bg: transparent;--input-bd-focus: transparent}[data-mantine-color-scheme] .m_6c018570[data-error]:not([data-variant=unstyled]){--input-bd: var(--mantine-color-error)}[data-mantine-color-scheme] .m_6c018570[data-error]{--input-color: var(--mantine-color-error);--input-placeholder-color: var(--mantine-color-error);--input-section-color: var(--mantine-color-error)}:where([dir=rtl]) .m_6c018570{--input-text-align: right;--left-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;--right-section-border-radius: var(--input-radius) 0 0 var(--input-radius)}.m_8fb7ebe7{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;resize:var(--input-resize, none);display:block;width:100%;transition:border-color .1s ease;text-align:var(--input-text-align);color:var(--input-color);border:calc(.0625rem * var(--mantine-scale)) solid var(--input-bd);background-color:var(--input-bg);font-family:var(--input-font-family, var(--mantine-font-family));height:var(--input-size);min-height:var(--input-height);line-height:var(--input-line-height);font-size:var(--input-fz, var(--input-fz, var(--mantine-font-size-sm)));border-radius:var(--input-radius);-webkit-padding-start:var(--input-padding-inline-start);padding-inline-start:var(--input-padding-inline-start);-webkit-padding-end:var(--input-padding-inline-end);padding-inline-end:var(--input-padding-inline-end);padding-top:var(--input-padding-y, 0rem);padding-bottom:var(--input-padding-y, 0rem);cursor:var(--input-cursor);overflow:var(--input-overflow)}.m_8fb7ebe7[data-no-overflow]{--input-overflow: hidden}.m_8fb7ebe7[data-monospace]{--input-font-family: var(--mantine-font-family-monospace);--input-fz: calc(var(--input-fz, var(--mantine-font-size-sm)) - calc(.125rem * var(--mantine-scale)))}.m_8fb7ebe7:focus,.m_8fb7ebe7:focus-within{outline:none;--input-bd: var(--input-bd-focus)}[data-error] .m_8fb7ebe7:focus,[data-error] .m_8fb7ebe7:focus-within{--input-bd: var(--mantine-color-error)}.m_8fb7ebe7::-ms-input-placeholder{color:var(--input-placeholder-color);opacity:1}.m_8fb7ebe7::placeholder{color:var(--input-placeholder-color);opacity:1}.m_8fb7ebe7::-webkit-inner-spin-button,.m_8fb7ebe7::-webkit-outer-spin-button,.m_8fb7ebe7::-webkit-search-decoration,.m_8fb7ebe7::-webkit-search-cancel-button,.m_8fb7ebe7::-webkit-search-results-button,.m_8fb7ebe7::-webkit-search-results-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.m_8fb7ebe7[type=number]{-moz-appearance:textfield}.m_8fb7ebe7:disabled,.m_8fb7ebe7[data-disabled]{cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_8fb7ebe7:has(input:disabled){cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_82577fc2{pointer-events:var(--section-pointer-events);position:absolute;z-index:1;inset-inline-start:var(--section-start);inset-inline-end:var(--section-end);bottom:var(--section-y);top:var(--section-y);display:flex;align-items:center;justify-content:center;width:var(--section-size);border-radius:var(--section-border-radius);color:var(--input-section-color, var(--mantine-color-dimmed))}.m_82577fc2[data-position=right]{--section-pointer-events: var(--input-right-section-pointer-events);--section-end: var(--right-section-end);--section-size: var(--input-right-section-size);--section-border-radius: var(--right-section-border-radius)}.m_82577fc2[data-position=left]{--section-pointer-events: var(--input-left-section-pointer-events);--section-start: var(--left-section-start);--section-size: var(--input-left-section-size);--section-border-radius: var(--left-section-border-radius)}.m_88bacfd0{color:var(--input-placeholder-color, var(--mantine-color-placeholder))}[data-error] .m_88bacfd0{--input-placeholder-color: var(--input-color, var(--mantine-color-placeholder))}.m_46b77525{line-height:var(--mantine-line-height)}.m_8fdc1311{display:inline-block;font-weight:500;word-break:break-word;cursor:default;-webkit-tap-highlight-color:transparent;font-size:var(--input-label-size, var(--mantine-font-size-sm))}.m_78a94662{color:var(--input-asterisk-color, var(--mantine-color-error))}.m_8f816625,.m_fe47ce59{word-wrap:break-word;line-height:1.2;display:block;margin:0;padding:0}.m_8f816625{color:var(--mantine-color-error);font-size:var(--input-error-size, calc(var(--mantine-font-size-sm) - calc(.125rem * var(--mantine-scale))))}.m_fe47ce59{color:var(--mantine-color-dimmed);font-size:var(--input-description-size, calc(var(--mantine-font-size-sm) - calc(.125rem * var(--mantine-scale))))}.m_6e45937b{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:var(--lo-z-index)}.m_e8eb006c{position:relative;z-index:calc(var(--lo-z-index) + 1)}.m_df587f17{z-index:var(--lo-z-index)}.m_f0824112{--nl-bg: var(--mantine-primary-color-light);--nl-hover: var(--mantine-primary-color-light-hover);--nl-color: var(--mantine-primary-color-light-color);display:flex;align-items:center;width:100%;padding:8px var(--mantine-spacing-sm);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_f0824112:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_f0824112:hover{background-color:var(--mantine-color-dark-6)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_f0824112:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_f0824112:active{background-color:var(--mantine-color-dark-6)}}.m_f0824112:where([data-disabled]){opacity:.4;pointer-events:none}.m_f0824112:where([data-active],[aria-current=page]){background-color:var(--nl-bg);color:var(--nl-color)}@media (hover: hover){.m_f0824112:where([data-active],[aria-current=page]):hover{background-color:var(--nl-hover)}}@media (hover: none){.m_f0824112:where([data-active],[aria-current=page]):active{background-color:var(--nl-hover)}}.m_f0824112:where([data-active],[aria-current=page]) .m_57492dcc{--description-opacity: .9;--description-color: var(--nl-color)}.m_690090b5{display:flex;align-items:center;justify-content:center;transition:transform .15s ease}.m_690090b5>svg{display:block}.m_690090b5:where([data-position=left]){-webkit-margin-end:var(--mantine-spacing-sm);margin-inline-end:var(--mantine-spacing-sm)}.m_690090b5:where([data-position=right]){-webkit-margin-start:var(--mantine-spacing-sm);margin-inline-start:var(--mantine-spacing-sm)}.m_690090b5:where([data-rotate]){transform:rotate(90deg)}.m_1f6ac4c4{font-size:var(--mantine-font-size-sm)}.m_f07af9d2{flex:1;overflow:hidden;text-overflow:ellipsis}.m_f07af9d2:where([data-no-wrap]){white-space:nowrap}.m_57492dcc{display:block;font-size:var(--mantine-font-size-xs);opacity:var(--description-opacity, 1);color:var(--description-color, var(--mantine-color-dimmed));overflow:hidden;text-overflow:ellipsis}:where([data-no-wrap]) .m_57492dcc{white-space:nowrap}.m_e17b862f{-webkit-padding-start:var(--nl-offset, var(--mantine-spacing-lg));padding-inline-start:var(--nl-offset, var(--mantine-spacing-lg))}.m_1fd8a00b{transform:rotate(-90deg)}.m_89d60db1{display:var(--tabs-display);flex-direction:var(--tabs-flex-direction);--tab-justify: flex-start;--tabs-list-direction: row;--tabs-panel-grow: unset;--tabs-display: block;--tabs-flex-direction: row;--tabs-list-border-width: 0;--tabs-list-border-size: 0 0 var(--tabs-list-border-width) 0;--tabs-list-gap: unset;--tabs-list-line-bottom: 0;--tabs-list-line-top: unset;--tabs-list-line-start: 0;--tabs-list-line-end: 0;--tab-radius: var(--tabs-radius) var(--tabs-radius) 0 0;--tab-border-width: 0 0 var(--tabs-list-border-width) 0}.m_89d60db1[data-inverted]{--tabs-list-line-bottom: unset;--tabs-list-line-top: 0;--tab-radius: 0 0 var(--tabs-radius) var(--tabs-radius);--tab-border-width: var(--tabs-list-border-width) 0 0 0}.m_89d60db1[data-inverted] .m_576c9d4:before{top:0;bottom:unset}.m_89d60db1[data-orientation=vertical]{--tabs-list-line-start: unset;--tabs-list-line-end: 0;--tabs-list-line-top: 0;--tabs-list-line-bottom: 0;--tabs-list-border-size: 0 var(--tabs-list-border-width) 0 0;--tab-border-width: 0 var(--tabs-list-border-width) 0 0;--tab-radius: var(--tabs-radius) 0 0 var(--tabs-radius);--tabs-list-direction: column;--tabs-panel-grow: 1;--tabs-display: flex}[dir=rtl] .m_89d60db1[data-orientation=vertical]{--tabs-list-border-size: 0 0 0 var(--tabs-list-border-width);--tab-border-width: 0 0 0 var(--tabs-list-border-width);--tab-radius: 0 var(--tabs-radius) var(--tabs-radius) 0}.m_89d60db1[data-orientation=vertical][data-placement=right]{--tabs-flex-direction: row-reverse;--tabs-list-line-start: 0;--tabs-list-line-end: unset;--tabs-list-border-size: 0 0 0 var(--tabs-list-border-width);--tab-border-width: 0 0 0 var(--tabs-list-border-width);--tab-radius: 0 var(--tabs-radius) var(--tabs-radius) 0}[dir=rtl] .m_89d60db1[data-orientation=vertical][data-placement=right]{--tabs-list-border-size: 0 var(--tabs-list-border-width) 0 0;--tab-border-width: 0 var(--tabs-list-border-width) 0 0;--tab-radius: var(--tabs-radius) 0 0 var(--tabs-radius)}[data-mantine-color-scheme=light] .m_89d60db1{--tab-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_89d60db1{--tab-border-color: var(--mantine-color-dark-4)}.m_89d60db1[data-orientation=horizontal]{--tab-justify: center}.m_89d60db1[data-variant=default]{--tabs-list-border-width: 2px}[data-mantine-color-scheme=light] .m_89d60db1[data-variant=default]{--tab-hover-color: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_89d60db1[data-variant=default]{--tab-hover-color: var(--mantine-color-dark-6)}.m_89d60db1[data-variant=outline]{--tabs-list-border-width: 1px}.m_89d60db1[data-variant=pills]{--tabs-list-gap: calc(var(--mantine-spacing-sm) / 2)}[data-mantine-color-scheme=light] .m_89d60db1[data-variant=pills]{--tab-hover-color: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_89d60db1[data-variant=pills]{--tab-hover-color: var(--mantine-color-dark-6)}.m_89d33d6d{display:flex;flex-wrap:wrap;justify-content:var(--tabs-justify, flex-start);flex-direction:var(--tabs-list-direction);gap:var(--tabs-list-gap);--tab-grow: unset}.m_89d33d6d[data-grow]{--tab-grow: 1}.m_b0c91715{flex-grow:var(--tabs-panel-grow)}.m_4ec4dce6{position:relative;padding:var(--mantine-spacing-xs) var(--mantine-spacing-md);font-size:var(--mantine-font-size-sm);white-space:nowrap;z-index:0;display:flex;align-items:center;line-height:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-grow:var(--tab-grow);justify-content:var(--tab-justify)}.m_4ec4dce6:disabled,.m_4ec4dce6[data-disabled]{opacity:.5;cursor:not-allowed}.m_4ec4dce6:focus{z-index:1}.m_fc420b1f{display:flex;align-items:center;justify-content:center;margin-left:var(--tab-section-margin-left, 0);margin-right:var(--tab-section-margin-right, 0)}.m_fc420b1f[data-position=left]:not(:only-child){--tab-section-margin-right: var(--mantine-spacing-xs)}[dir=rtl] .m_fc420b1f[data-position=left]:not(:only-child){--tab-section-margin-right: 0rem;--tab-section-margin-left: var(--mantine-spacing-xs)}.m_fc420b1f[data-position=right]:not(:only-child){--tab-section-margin-left: var(--mantine-spacing-xs)}[dir=rtl] .m_fc420b1f[data-position=right]:not(:only-child){--tab-section-margin-left: 0rem;--tab-section-margin-right: var(--mantine-spacing-xs)}.m_576c9d4{position:relative}.m_576c9d4:before{content:\"\";position:absolute;border-color:var(--tab-border-color);border-width:var(--tabs-list-border-size);border-style:solid;bottom:var(--tabs-list-line-bottom);inset-inline-start:var(--tabs-list-line-start);inset-inline-end:var(--tabs-list-line-end);top:var(--tabs-list-line-top)}.m_539e827b{border-radius:var(--tab-radius);border-width:var(--tab-border-width);border-style:solid;border-color:transparent;background-color:var(--tab-bg);--tab-bg: transparent}.m_539e827b:where([data-active]){border-color:var(--tabs-color)}@media (hover: hover){.m_539e827b:hover{--tab-bg: var(--tab-hover-color)}.m_539e827b:hover:where(:not([data-active])){border-color:var(--tab-border-color)}}@media (hover: none){.m_539e827b:active{--tab-bg: var(--tab-hover-color)}.m_539e827b:active:where(:not([data-active])){border-color:var(--tab-border-color)}}@media (hover: hover){.m_539e827b:disabled:hover,.m_539e827b[data-disabled]:hover{--tab-bg: transparent}}@media (hover: none){.m_539e827b:disabled:active,.m_539e827b[data-disabled]:active{--tab-bg: transparent}}.m_6772fbd5{position:relative}.m_6772fbd5:before{content:\"\";position:absolute;border-color:var(--tab-border-color);border-width:var(--tabs-list-border-size);border-style:solid;bottom:var(--tabs-list-line-bottom);inset-inline-start:var(--tabs-list-line-start);inset-inline-end:var(--tabs-list-line-end);top:var(--tabs-list-line-top)}.m_b59ab47c{border-top:1px solid transparent;border-bottom:1px solid transparent;border-right:1px solid transparent;border-left:1px solid transparent;border-top-color:var(--tab-border-top-color);border-bottom-color:var(--tab-border-bottom-color);border-radius:var(--tab-radius);position:relative;--tab-border-bottom-color: transparent;--tab-border-top-color: transparent;--tab-border-inline-end-color: transparent;--tab-border-inline-start-color: transparent}.m_b59ab47c:where([data-active]):before{content:\"\";position:absolute;background-color:var(--tab-border-color);bottom:var(--tab-before-bottom, calc(-.0625rem * var(--mantine-scale)));left:var(--tab-before-left, calc(-.0625rem * var(--mantine-scale)));right:var(--tab-before-right, auto);top:var(--tab-before-top, auto);width:1px;height:1px}.m_b59ab47c:where([data-active]):after{content:\"\";position:absolute;background-color:var(--tab-border-color);bottom:var(--tab-after-bottom, calc(-.0625rem * var(--mantine-scale)));right:var(--tab-after-right, calc(-.0625rem * var(--mantine-scale)));left:var(--tab-after-left, auto);top:var(--tab-after-top, auto);width:1px;height:1px}.m_b59ab47c:where([data-active]){border-top-color:var(--tab-border-top-color);border-bottom-color:var(--tab-border-bottom-color);border-inline-start-color:var(--tab-border-inline-start-color);border-inline-end-color:var(--tab-border-inline-end-color);--tab-border-top-color: var(--tab-border-color);--tab-border-inline-start-color: var(--tab-border-color);--tab-border-inline-end-color: var(--tab-border-color);--tab-border-bottom-color: var(--mantine-color-body)}.m_b59ab47c:where([data-active])[data-inverted]{--tab-border-bottom-color: var(--tab-border-color);--tab-border-top-color: var(--mantine-color-body);--tab-before-bottom: auto;--tab-before-top: -1px;--tab-after-bottom: auto;--tab-after-top: -1px}.m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=left]{--tab-border-inline-end-color: var(--mantine-color-body);--tab-border-inline-start-color: var(--tab-border-color);--tab-border-bottom-color: var(--tab-border-color);--tab-before-right: -1px;--tab-before-left: auto;--tab-before-bottom: auto;--tab-before-top: -1px;--tab-after-left: auto;--tab-after-right: -1px}[dir=rtl] .m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=left]{--tab-before-right: auto;--tab-before-left: -1px;--tab-after-left: -1px;--tab-after-right: auto}.m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=right]{--tab-border-inline-start-color: var(--mantine-color-body);--tab-border-inline-end-color: var(--tab-border-color);--tab-border-bottom-color: var(--tab-border-color);--tab-before-left: -1px;--tab-before-right: auto;--tab-before-bottom: auto;--tab-before-top: -1px;--tab-after-right: auto;--tab-after-left: -1px}[dir=rtl] .m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=right]{--tab-before-left: auto;--tab-before-right: -1px;--tab-after-right: -1px;--tab-after-left: auto}.m_c3381914{border-radius:var(--tabs-radius);background-color:var(--tab-bg);color:var(--tab-color);--tab-bg: transparent;--tab-color: inherit}@media (hover: hover){.m_c3381914:not([data-disabled]):hover{--tab-bg: var(--tab-hover-color)}}@media (hover: none){.m_c3381914:not([data-disabled]):active{--tab-bg: var(--tab-hover-color)}}.m_c3381914[data-active][data-active]{--tab-bg: var(--tabs-color);--tab-color: var(--tabs-text-color, var(--mantine-color-white))}@media (hover: hover){.m_c3381914[data-active][data-active]:hover{--tab-bg: var(--tabs-color)}}@media (hover: none){.m_c3381914[data-active][data-active]:active{--tab-bg: var(--tabs-color)}}.m_6d731127{display:flex;flex-direction:column;align-items:var(--stack-align, stretch);justify-content:var(--stack-justify, flex-start);gap:var(--stack-gap, var(--mantine-spacing-md))}.m_dd36362e{--slider-size-xs: 4px;--slider-size-sm: 6px;--slider-size-md: 8px;--slider-size-lg: 10px;--slider-size-xl: 12px;--slider-size: var(--slider-size-md);--slider-radius: 1000px;--slider-color: var(--mantine-primary-color-filled);-webkit-tap-highlight-color:transparent;outline:none;height:calc(var(--slider-size) * 2);padding-inline:var(--slider-size);display:flex;flex-direction:column;align-items:center;touch-action:none;position:relative}[data-mantine-color-scheme=light] .m_dd36362e{--slider-track-bg: var(--mantine-color-gray-2);--slider-track-disabled-bg: var(--mantine-color-gray-4)}[data-mantine-color-scheme=dark] .m_dd36362e{--slider-track-bg: var(--mantine-color-dark-4);--slider-track-disabled-bg: var(--mantine-color-dark-3)}.m_c9357328{position:absolute;top:-36px;font-size:var(--mantine-font-size-xs);color:var(--mantine-color-white);padding:calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);white-space:nowrap;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:none}:where([data-mantine-color-scheme=light]) .m_c9357328{background-color:var(--mantine-color-gray-9)}:where([data-mantine-color-scheme=dark]) .m_c9357328{background-color:var(--mantine-color-dark-4)}.m_c9a9a60a{position:absolute;display:flex;height:var(--slider-thumb-size);width:var(--slider-thumb-size);border:4px solid;transform:translate(-50%,-50%);color:var(--slider-color);top:50%;cursor:pointer;border-radius:var(--slider-radius);align-items:center;justify-content:center;transition:box-shadow .1s ease,transform .1s ease;z-index:3;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:none;outline-offset:2px;left:var(--slider-thumb-offset)}:where([dir=rtl]) .m_c9a9a60a{left:auto;right:calc(var(--slider-thumb-offset) - var(--slider-thumb-size))}fieldset:disabled .m_c9a9a60a,.m_c9a9a60a:where([data-disabled]){display:none}.m_c9a9a60a:where([data-dragging]){transform:translate(-50%,-50%) scale(1.05);box-shadow:var(--mantine-shadow-sm)}:where([data-mantine-color-scheme=light]) .m_c9a9a60a{border-color:var(--slider-color);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_c9a9a60a{border-color:var(--mantine-color-white);background-color:var(--slider-color)}.m_a8645c2{display:flex;align-items:center;width:100%;height:calc(var(--slider-size) * 2);cursor:pointer}fieldset:disabled .m_a8645c2,.m_a8645c2:where([data-disabled]){cursor:not-allowed}.m_c9ade57f{position:relative;width:100%;height:var(--slider-size)}.m_c9ade57f:where([data-inverted]:not([data-disabled])){--track-bg: var(--slider-color)}fieldset:disabled .m_c9ade57f:where([data-inverted]),.m_c9ade57f:where([data-inverted][data-disabled]){--track-bg: var(--slider-track-disabled-bg)}.m_c9ade57f:before{content:\"\";position:absolute;top:0;bottom:0;border-radius:var(--slider-radius);inset-inline:calc(var(--slider-size) * -1);background-color:var(--track-bg, var(--slider-track-bg));z-index:0}.m_38aeed47{position:absolute;z-index:1;top:0;bottom:0;background-color:var(--slider-color);border-radius:var(--slider-radius);width:var(--slider-bar-width);inset-inline-start:var(--slider-bar-offset)}.m_38aeed47:where([data-inverted]){background-color:var(--slider-track-bg)}:where([data-mantine-color-scheme=light]) fieldset:disabled .m_38aeed47:where(:not([data-inverted])),:where([data-mantine-color-scheme=light]) .m_38aeed47:where([data-disabled]:not([data-inverted])){background-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) fieldset:disabled .m_38aeed47:where(:not([data-inverted])),:where([data-mantine-color-scheme=dark]) .m_38aeed47:where([data-disabled]:not([data-inverted])){background-color:var(--mantine-color-dark-3)}.m_b7b0423a{position:absolute;inset-inline-start:calc(var(--mark-offset) - var(--slider-size) / 2);top:0;z-index:2;height:0;pointer-events:none}.m_dd33bc19{border:2px solid;height:var(--slider-size);width:var(--slider-size);border-radius:1000px;transform:translate((calc(var(--slider-size) / -2)));background-color:var(--mantine-color-white);pointer-events:none}:where([data-mantine-color-scheme=light]) .m_dd33bc19{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_dd33bc19{border-color:var(--mantine-color-dark-4)}.m_dd33bc19:where([data-filled]){border-color:var(--slider-color)}:where([data-mantine-color-scheme=light]) .m_dd33bc19:where([data-filled]):where([data-disabled]){border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_dd33bc19:where([data-filled]):where([data-disabled]){border-color:var(--mantine-color-dark-3)}.m_68c77a5b{transform:translate(calc(-50% + var(--slider-size) / 2),calc(var(--mantine-spacing-xs) / 2));font-size:var(--mantine-font-size-sm);white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:where([data-mantine-color-scheme=light]) .m_68c77a5b{color:var(--mantine-color-gray-6)}:where([data-mantine-color-scheme=dark]) .m_68c77a5b{color:var(--mantine-color-dark-2)}.m_88b62a41{--combobox-padding: 4px;padding:var(--combobox-padding)}.m_88b62a41:has([data-mantine-scrollbar]){-webkit-padding-end:0;padding-inline-end:0}.m_88b62a41[data-hidden]{display:none}.m_88b62a41,.m_b2821a6e{--combobox-option-padding-xs: 4px 8px;--combobox-option-padding-sm: 6px 10px;--combobox-option-padding-md: 8px 12px;--combobox-option-padding-lg: 10px 16px;--combobox-option-padding-xl: 14px 20px;--combobox-option-padding: var(--combobox-option-padding-sm)}.m_92253aa5{padding:var(--combobox-option-padding);font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));border-radius:var(--mantine-radius-default);background-color:transparent;color:inherit;cursor:pointer;word-break:break-word}.m_92253aa5:where([data-combobox-selected]){background-color:var(--mantine-primary-color-filled);color:var(--mantine-color-white)}.m_92253aa5:where([data-combobox-disabled]){cursor:not-allowed;opacity:.35}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_92253aa5:hover:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_92253aa5:hover:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-dark-7)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_92253aa5:active:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_92253aa5:active:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-dark-7)}}.m_985517d8{margin-inline:calc(var(--combobox-padding) * -1);margin-top:calc(var(--combobox-padding) * -1);width:calc(100% + var(--combobox-padding) * 2);border-top-width:0;border-inline-width:0;border-end-start-radius:0;border-end-end-radius:0;margin-bottom:var(--combobox-padding);position:relative}:where([data-mantine-color-scheme=light]) .m_985517d8,:where([data-mantine-color-scheme=light]) .m_985517d8:focus{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_985517d8,:where([data-mantine-color-scheme=dark]) .m_985517d8:focus{border-color:var(--mantine-color-dark-4)}:where([data-mantine-color-scheme=light]) .m_985517d8{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_985517d8{background-color:var(--mantine-color-dark-7)}.m_2530cd1d{font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));text-align:center;padding:var(--combobox-option-padding);color:var(--mantine-color-dimmed)}.m_858f94bd,.m_82b967cb{font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));border:0 solid transparent;margin-inline:calc(var(--combobox-padding) * -1);padding:var(--combobox-option-padding)}:where([data-mantine-color-scheme=light]) .m_858f94bd,:where([data-mantine-color-scheme=light]) .m_82b967cb{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_858f94bd,:where([data-mantine-color-scheme=dark]) .m_82b967cb{border-color:var(--mantine-color-dark-4)}.m_82b967cb{border-top-width:1px;margin-top:var(--combobox-padding);margin-bottom:calc(var(--combobox-padding) * -1)}.m_858f94bd{border-bottom-width:1px;margin-bottom:var(--combobox-padding);margin-top:calc(var(--combobox-padding) * -1)}.m_254f3e4f:has(.m_2bb2e9e5:only-child){display:none}.m_2bb2e9e5{color:var(--mantine-color-dimmed);font-size:calc(var(--combobox-option-fz, var(--mantine-font-size-sm)) * .85);padding:var(--combobox-option-padding);font-weight:500;position:relative;display:flex;align-items:center}.m_2bb2e9e5:after{content:\"\";flex:1;inset-inline:0;height:1px;-webkit-margin-start:var(--mantine-spacing-xs);margin-inline-start:var(--mantine-spacing-xs)}:where([data-mantine-color-scheme=light]) .m_2bb2e9e5:after{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_2bb2e9e5:after{background-color:var(--mantine-color-dark-4)}.m_2bb2e9e5:only-child{display:none}.m_2943220b{--combobox-chevron-size-xs: 14px;--combobox-chevron-size-sm: 18px;--combobox-chevron-size-md: 20px;--combobox-chevron-size-lg: 24px;--combobox-chevron-size-xl: 28px;--combobox-chevron-size: var(--combobox-chevron-size-sm);width:var(--combobox-chevron-size);height:var(--combobox-chevron-size)}:where([data-mantine-color-scheme=light]) .m_2943220b{color:var(--mantine-color-gray-6)}:where([data-mantine-color-scheme=dark]) .m_2943220b{color:var(--mantine-color-dark-3)}.m_2943220b:where([data-error]){color:var(--mantine-color-error)}.m_390b5f4{display:flex;align-items:center;gap:8px}.m_390b5f4:where([data-reverse]){justify-content:space-between}.m_8ee53fc2{opacity:.4;width:.8em;min-width:.8em;height:.8em}:where([data-combobox-selected]) .m_8ee53fc2{opacity:1}.m_1b3c8819{--tooltip-radius: var(--mantine-radius-default);position:absolute;padding:calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-xs);pointer-events:none;font-size:var(--mantine-font-size-sm);white-space:nowrap;border-radius:var(--tooltip-radius)}:where([data-mantine-color-scheme=light]) .m_1b3c8819{background-color:var(--tooltip-bg, var(--mantine-color-gray-9));color:var(--tooltip-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_1b3c8819{background-color:var(--tooltip-bg, var(--mantine-color-gray-2));color:var(--tooltip-color, var(--mantine-color-black))}.m_1b3c8819:where([data-multiline]){white-space:normal}.m_1b3c8819:where([data-fixed]){position:fixed}.m_f898399f{background-color:inherit;border:0;z-index:1}@keyframes m_885901b1{0%{opacity:.6;transform:scale(0)}to{opacity:0;transform:scale(2.8)}}.m_e5262200{--indicator-size: 10px;--indicator-color: var(--mantine-primary-color-filled);position:relative;display:block}.m_e5262200:where([data-inline]){display:inline-block}.m_760d1fb1{position:absolute;top:var(--indicator-top);left:var(--indicator-left);right:var(--indicator-right);bottom:var(--indicator-bottom);transform:translate(var(--indicator-translate-x),var(--indicator-translate-y));min-width:var(--indicator-size);height:var(--indicator-size);border-radius:var(--indicator-radius, 1000rem);z-index:var(--indicator-z-index, 200);display:flex;align-items:center;justify-content:center;font-size:var(--mantine-font-size-xs);background-color:var(--indicator-color);color:var(--indicator-text-color, var(--mantine-color-white));white-space:nowrap}.m_760d1fb1:before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--indicator-color);border-radius:var(--indicator-radius, 1000rem);z-index:-1}.m_760d1fb1:where([data-with-label]){padding-inline:calc(var(--mantine-spacing-xs) / 2)}.m_760d1fb1:where([data-with-border]){border:2px solid var(--mantine-color-body)}.m_760d1fb1[data-processing]:before{animation:m_885901b1 1s linear infinite}.m_5caae6d3{display:inline-block;padding:calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale));font-size:calc(.8125rem * var(--mantine-scale));border-radius:var(--mantine-radius-xs);line-height:var(--code-line-height, var(--mantine-line-height));font-family:var(--mantine-font-family-monospace)}.m_2c47c4fd{--code-line-height: 1.7;display:block;padding:var(--mantine-spacing-xs) var(--mantine-spacing-md);margin:0}.m_e58679f3{display:flex;align-items:flex-start;justify-content:space-between}.m_be7e9c9c{display:flex;margin-top:calc(.4375rem * var(--mantine-scale));-webkit-margin-end:calc(.4375rem * var(--mantine-scale));margin-inline-end:calc(.4375rem * var(--mantine-scale))}.m_5caae85b,.m_d498bab7{background-color:transparent;opacity:.8;margin:0;color:var(--mantine-color-dimmed)}@media (hover: hover){.m_5caae85b:hover,.m_d498bab7:hover{opacity:1;background-color:transparent;color:var(--mantine-color-dimmed)}}@media (hover: none){.m_5caae85b:active,.m_d498bab7:active{opacity:1;background-color:transparent;color:var(--mantine-color-dimmed)}}@media (max-width: 40em){.m_5caae85b,.m_d498bab7{display:none}}.m_5caae85b{position:absolute;top:calc(.3125rem * var(--mantine-scale));inset-inline-end:calc(.3125rem * var(--mantine-scale));z-index:1}.m_5cac2e62{display:flex;align-items:center;justify-content:center;font-size:var(--mantine-font-size-xs);gap:calc(.4375rem * var(--mantine-scale));padding:calc(.4375rem * var(--mantine-scale)) calc(.75rem * var(--mantine-scale));font-family:var(--mantine-font-family-monospace);font-weight:700;line-height:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;opacity:.8;border:calc(.0625rem * var(--mantine-scale)) solid;border-top:0;-webkit-border-start:0;border-inline-start:0;white-space:nowrap;margin:0}@media (hover: hover){.m_5cac2e62:hover{opacity:1}}@media (hover: none){.m_5cac2e62:active{opacity:1}}.m_5cac2e62:where(:last-of-type){border-end-end-radius:var(--mantine-radius-sm)}.m_5cac2e62:where(:only-child){cursor:default}.m_5cac2e62:where([data-active]){opacity:1}:where([data-mantine-color-scheme=light]) .m_5cac2e62:where([data-active]){background-color:var(--mantine-color-white);color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_5cac2e62:where([data-active]){background-color:var(--mantine-color-dark-6);color:var(--mantine-color-white)}:where([data-mantine-color-scheme=light]) .m_5cac2e62{color:var(--mantine-color-gray-8);border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_5cac2e62{color:var(--mantine-color-dark-0);border-color:var(--mantine-color-dark-4)}.m_38d99e51{display:flex}.m_9f507240{max-height:var(--ch-max-collapsed-height);overflow:hidden;position:relative}.m_9f507240:before{content:\"\";z-index:100;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(0deg,var(--code-background) 16%,rgba(0,0,0,0) 100%);border-radius:calc(var(--mantine-radius-md) - 1px)}.m_9f507240:where([data-expanded]){max-height:none}.m_9f507240:where([data-expanded]):before{display:none}.m_c9378bc2{position:absolute;bottom:0;inset-inline-start:50%;transform:translate(-50%);font-size:var(--mantine-font-size-sm);color:var(--mantine-color-anchor);width:100%;text-align:center;z-index:101;padding-top:var(--mantine-spacing-xs);padding-bottom:var(--mantine-spacing-xs)}.m_c9378bc2[data-hidden]{display:none}.m_5cb1b9c8{margin-top:0;position:relative}.m_5cb1b9c8:where([data-collapsed]) .mantine-ScrollArea-viewport>div{display:block!important}.m_b46cddfb{display:flex;align-items:center;justify-content:center;flex:0}.m_b46cddfb>svg{display:block}.m_1f5e827e{color:var(--code-text-color);background:var(--code-background)}:where([data-mantine-color-scheme=light]) .m_1f5e827e{--code-text-color: var(--mantine-color-gray-7);--code-background: var(--mantine-color-gray-0);--code-comment-color: var(--mantine-color-gray-6);--code-keyword-color: var(--mantine-color-violet-8);--code-tag-color: var(--mantine-color-red-9);--code-literal-color: var(--mantine-color-blue-6);--code-string-color: var(--mantine-color-blue-9);--code-variable-color: var(--mantine-color-lime-9);--code-class-color: var(--mantine-color-orange-9)}:where([data-mantine-color-scheme=dark]) .m_1f5e827e{--code-text-color: var(--mantine-color-dark-1);--code-background: var(--mantine-color-dark-8);--code-comment-color: var(--mantine-color-dark-3);--code-keyword-color: var(--mantine-color-violet-3);--code-tag-color: var(--mantine-color-yellow-4);--code-literal-color: var(--mantine-color-blue-4);--code-string-color: var(--mantine-color-green-6);--code-variable-color: var(--mantine-color-blue-2);--code-class-color: var(--mantine-color-orange-5)}.m_1f5e827e .hljs-comment,.m_1f5e827e .hljs-quote{font-style:italic;color:var(--code-comment-color)}.m_1f5e827e .hljs-doctag,.m_1f5e827e .hljs-formula,.m_1f5e827e .hljs-keyword{color:var(--code-keyword-color)}.m_1f5e827e .hljs-deletion,.m_1f5e827e .hljs-name,.m_1f5e827e .hljs-section,.m_1f5e827e .hljs-selector-tag,.m_1f5e827e .hljs-subst{color:var(--code-tag-color)}.m_1f5e827e .hljs-literal{color:var(--code-literal-color)}.m_1f5e827e .hljs-addition,.m_1f5e827e .hljs-attribute,.m_1f5e827e .hljs-meta .hljs-string,.m_1f5e827e .hljs-regexp,.m_1f5e827e .hljs-string{color:var(--code-string-color)}.m_1f5e827e .hljs-attr,.m_1f5e827e .hljs-number,.m_1f5e827e .hljs-selector-attr,.m_1f5e827e .hljs-selector-class,.m_1f5e827e .hljs-selector-pseudo,.m_1f5e827e .hljs-template-variable,.m_1f5e827e .hljs-type,.m_1f5e827e .hljs-variable{color:var(--code-variable-color)}.m_1f5e827e .hljs-bullet,.m_1f5e827e .hljs-link,.m_1f5e827e .hljs-meta,.m_1f5e827e .hljs-selector-id,.m_1f5e827e .hljs-symbol,.m_1f5e827e .hljs-title,.m_1f5e827e .hljs-built_in,.m_1f5e827e .hljs-class .hljs-title,.m_1f5e827e .hljs-title.class_{color:var(--code-class-color)}.m_1f5e827e .hljs-emphasis{font-style:italic}.m_1f5e827e .hljs-strong{font-weight:700}.m_1f5e827e .hljs-link{text-decoration:underline}.jotai-devtools-shell *,.jotai-devtools-shell *:before,.jotai-devtools-shell *:after{box-sizing:border-box}.jotai-devtools-shell{color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .jotai-devtools-shell{color:var(--mantine-color-white)}.jotai-devtools-shell{--webkit-font-smoothing: antialiased;font-size:var(--mantine-font-size-md);font-family:var(--mantine-font-family);line-height:var(--mantine-line-height);background-color:var(--mantine-color-body);color:var(--mantine-color-text);-webkit-font-smoothing:var(--mantine-webkit-font-smoothing);-moz-osx-font-smoothing:var(--mantine-moz-font-smoothing)}@media screen and (max-device-width: 31.25em){.jotai-devtools-shell{-webkit-text-size-adjust:100%}}@media (prefers-reduced-motion: reduce){[data-respect-reduced-motion] [data-reduce-motion]{transition:none;animation:none}}[data-mantine-color-scheme=light] .mantine-light-hidden,[data-mantine-color-scheme=dark] .mantine-dark-hidden{display:none}.mantine-focus-auto:focus-visible{outline:2px solid var(--mantine-primary-color-filled);outline-offset:2px}.mantine-focus-always:focus{outline:2px solid var(--mantine-primary-color-filled);outline-offset:2px}.mantine-focus-never:focus{outline:none}.mantine-active:active{transform:translateY(calc(.0625rem * var(--mantine-scale)))}:where([dir=rtl]) .mantine-rotate-rtl{transform:rotate(180deg)}:root{--mantine-z-index-app: 100;--mantine-z-index-modal: 200;--mantine-z-index-popover: 300;--mantine-z-index-overlay: 400;--mantine-z-index-max: 9999;--mantine-scale: 1;--mantine-cursor-type: default;--mantine-webkit-font-smoothing: antialiased;--mantine-color-scheme: light dark;--mantine-moz-font-smoothing: grayscale;--mantine-color-white: #fff;--mantine-color-black: #000;--mantine-line-height: 1.55;--mantine-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;--mantine-font-family-monospace: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;--mantine-font-family-headings: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;--mantine-heading-font-weight: 700;--mantine-radius-default: calc(.25rem * var(--mantine-scale));--mantine-primary-color-0: var(--mantine-color-blue-0);--mantine-primary-color-1: var(--mantine-color-blue-1);--mantine-primary-color-2: var(--mantine-color-blue-2);--mantine-primary-color-3: var(--mantine-color-blue-3);--mantine-primary-color-4: var(--mantine-color-blue-4);--mantine-primary-color-5: var(--mantine-color-blue-5);--mantine-primary-color-6: var(--mantine-color-blue-6);--mantine-primary-color-7: var(--mantine-color-blue-7);--mantine-primary-color-8: var(--mantine-color-blue-8);--mantine-primary-color-9: var(--mantine-color-blue-9);--mantine-primary-color-filled: var(--mantine-color-blue-filled);--mantine-primary-color-filled-hover: var(--mantine-color-blue-filled-hover);--mantine-primary-color-light: var(--mantine-color-blue-light);--mantine-primary-color-light-hover: var(--mantine-color-blue-light-hover);--mantine-primary-color-light-color: var(--mantine-color-blue-light-color);--mantine-breakpoint-xs: 36em;--mantine-breakpoint-sm: 48em;--mantine-breakpoint-md: 62em;--mantine-breakpoint-lg: 75em;--mantine-breakpoint-xl: 88em;--mantine-spacing-xs: calc(.625rem * var(--mantine-scale));--mantine-spacing-sm: calc(.75rem * var(--mantine-scale));--mantine-spacing-md: calc(1rem * var(--mantine-scale));--mantine-spacing-lg: calc(1.25rem * var(--mantine-scale));--mantine-spacing-xl: calc(2rem * var(--mantine-scale));--mantine-font-size-xs: calc(.75rem * var(--mantine-scale));--mantine-font-size-sm: calc(.875rem * var(--mantine-scale));--mantine-font-size-md: calc(1rem * var(--mantine-scale));--mantine-font-size-lg: calc(1.125rem * var(--mantine-scale));--mantine-font-size-xl: calc(1.25rem * var(--mantine-scale));--mantine-line-height-xs: 1.4;--mantine-line-height-sm: 1.45;--mantine-line-height-md: 1.55;--mantine-line-height-lg: 1.6;--mantine-line-height-xl: 1.65;--mantine-shadow-xs: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), 0 calc(.0625rem * var(--mantine-scale)) calc(.125rem * var(--mantine-scale)) rgba(0, 0, 0, .1);--mantine-shadow-sm: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(.625rem * var(--mantine-scale)) calc(.9375rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.4375rem * var(--mantine-scale)) calc(.4375rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale));--mantine-shadow-md: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(1.25rem * var(--mantine-scale)) calc(1.5625rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.625rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale));--mantine-shadow-lg: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(1.75rem * var(--mantine-scale)) calc(1.4375rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.75rem * var(--mantine-scale)) calc(.75rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale));--mantine-shadow-xl: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(2.25rem * var(--mantine-scale)) calc(1.75rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(1.0625rem * var(--mantine-scale)) calc(1.0625rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale));--mantine-radius-xs: calc(.125rem * var(--mantine-scale));--mantine-radius-sm: calc(.25rem * var(--mantine-scale));--mantine-radius-md: calc(.5rem * var(--mantine-scale));--mantine-radius-lg: calc(1rem * var(--mantine-scale));--mantine-radius-xl: calc(2rem * var(--mantine-scale));--mantine-color-dark-0: #c9c9c9;--mantine-color-dark-1: #b8b8b8;--mantine-color-dark-2: #828282;--mantine-color-dark-3: #696969;--mantine-color-dark-4: #424242;--mantine-color-dark-5: #3b3b3b;--mantine-color-dark-6: #2e2e2e;--mantine-color-dark-7: #242424;--mantine-color-dark-8: #1f1f1f;--mantine-color-dark-9: #141414;--mantine-color-gray-0: #f8f9fa;--mantine-color-gray-1: #f1f3f5;--mantine-color-gray-2: #e9ecef;--mantine-color-gray-3: #dee2e6;--mantine-color-gray-4: #ced4da;--mantine-color-gray-5: #adb5bd;--mantine-color-gray-6: #868e96;--mantine-color-gray-7: #495057;--mantine-color-gray-8: #343a40;--mantine-color-gray-9: #212529;--mantine-color-red-0: #fff5f5;--mantine-color-red-1: #ffe3e3;--mantine-color-red-2: #ffc9c9;--mantine-color-red-3: #ffa8a8;--mantine-color-red-4: #ff8787;--mantine-color-red-5: #ff6b6b;--mantine-color-red-6: #fa5252;--mantine-color-red-7: #f03e3e;--mantine-color-red-8: #e03131;--mantine-color-red-9: #c92a2a;--mantine-color-pink-0: #fff0f6;--mantine-color-pink-1: #ffdeeb;--mantine-color-pink-2: #fcc2d7;--mantine-color-pink-3: #faa2c1;--mantine-color-pink-4: #f783ac;--mantine-color-pink-5: #f06595;--mantine-color-pink-6: #e64980;--mantine-color-pink-7: #d6336c;--mantine-color-pink-8: #c2255c;--mantine-color-pink-9: #a61e4d;--mantine-color-grape-0: #f8f0fc;--mantine-color-grape-1: #f3d9fa;--mantine-color-grape-2: #eebefa;--mantine-color-grape-3: #e599f7;--mantine-color-grape-4: #da77f2;--mantine-color-grape-5: #cc5de8;--mantine-color-grape-6: #be4bdb;--mantine-color-grape-7: #ae3ec9;--mantine-color-grape-8: #9c36b5;--mantine-color-grape-9: #862e9c;--mantine-color-violet-0: #f3f0ff;--mantine-color-violet-1: #e5dbff;--mantine-color-violet-2: #d0bfff;--mantine-color-violet-3: #b197fc;--mantine-color-violet-4: #9775fa;--mantine-color-violet-5: #845ef7;--mantine-color-violet-6: #7950f2;--mantine-color-violet-7: #7048e8;--mantine-color-violet-8: #6741d9;--mantine-color-violet-9: #5f3dc4;--mantine-color-indigo-0: #edf2ff;--mantine-color-indigo-1: #dbe4ff;--mantine-color-indigo-2: #bac8ff;--mantine-color-indigo-3: #91a7ff;--mantine-color-indigo-4: #748ffc;--mantine-color-indigo-5: #5c7cfa;--mantine-color-indigo-6: #4c6ef5;--mantine-color-indigo-7: #4263eb;--mantine-color-indigo-8: #3b5bdb;--mantine-color-indigo-9: #364fc7;--mantine-color-blue-0: #e7f5ff;--mantine-color-blue-1: #d0ebff;--mantine-color-blue-2: #a5d8ff;--mantine-color-blue-3: #74c0fc;--mantine-color-blue-4: #4dabf7;--mantine-color-blue-5: #339af0;--mantine-color-blue-6: #228be6;--mantine-color-blue-7: #1c7ed6;--mantine-color-blue-8: #1971c2;--mantine-color-blue-9: #1864ab;--mantine-color-cyan-0: #e3fafc;--mantine-color-cyan-1: #c5f6fa;--mantine-color-cyan-2: #99e9f2;--mantine-color-cyan-3: #66d9e8;--mantine-color-cyan-4: #3bc9db;--mantine-color-cyan-5: #22b8cf;--mantine-color-cyan-6: #15aabf;--mantine-color-cyan-7: #1098ad;--mantine-color-cyan-8: #0c8599;--mantine-color-cyan-9: #0b7285;--mantine-color-teal-0: #e6fcf5;--mantine-color-teal-1: #c3fae8;--mantine-color-teal-2: #96f2d7;--mantine-color-teal-3: #63e6be;--mantine-color-teal-4: #38d9a9;--mantine-color-teal-5: #20c997;--mantine-color-teal-6: #12b886;--mantine-color-teal-7: #0ca678;--mantine-color-teal-8: #099268;--mantine-color-teal-9: #087f5b;--mantine-color-green-0: #ebfbee;--mantine-color-green-1: #d3f9d8;--mantine-color-green-2: #b2f2bb;--mantine-color-green-3: #8ce99a;--mantine-color-green-4: #69db7c;--mantine-color-green-5: #51cf66;--mantine-color-green-6: #40c057;--mantine-color-green-7: #37b24d;--mantine-color-green-8: #2f9e44;--mantine-color-green-9: #2b8a3e;--mantine-color-lime-0: #f4fce3;--mantine-color-lime-1: #e9fac8;--mantine-color-lime-2: #d8f5a2;--mantine-color-lime-3: #c0eb75;--mantine-color-lime-4: #a9e34b;--mantine-color-lime-5: #94d82d;--mantine-color-lime-6: #82c91e;--mantine-color-lime-7: #74b816;--mantine-color-lime-8: #66a80f;--mantine-color-lime-9: #5c940d;--mantine-color-yellow-0: #fff9db;--mantine-color-yellow-1: #fff3bf;--mantine-color-yellow-2: #ffec99;--mantine-color-yellow-3: #ffe066;--mantine-color-yellow-4: #ffd43b;--mantine-color-yellow-5: #fcc419;--mantine-color-yellow-6: #fab005;--mantine-color-yellow-7: #f59f00;--mantine-color-yellow-8: #f08c00;--mantine-color-yellow-9: #e67700;--mantine-color-orange-0: #fff4e6;--mantine-color-orange-1: #ffe8cc;--mantine-color-orange-2: #ffd8a8;--mantine-color-orange-3: #ffc078;--mantine-color-orange-4: #ffa94d;--mantine-color-orange-5: #ff922b;--mantine-color-orange-6: #fd7e14;--mantine-color-orange-7: #f76707;--mantine-color-orange-8: #e8590c;--mantine-color-orange-9: #d9480f;--mantine-h1-font-size: calc(2.125rem * var(--mantine-scale));--mantine-h1-line-height: 1.3;--mantine-h1-font-weight: 700;--mantine-h2-font-size: calc(1.625rem * var(--mantine-scale));--mantine-h2-line-height: 1.35;--mantine-h2-font-weight: 700;--mantine-h3-font-size: calc(1.375rem * var(--mantine-scale));--mantine-h3-line-height: 1.4;--mantine-h3-font-weight: 700;--mantine-h4-font-size: calc(1.125rem * var(--mantine-scale));--mantine-h4-line-height: 1.45;--mantine-h4-font-weight: 700;--mantine-h5-font-size: calc(1rem * var(--mantine-scale));--mantine-h5-line-height: 1.5;--mantine-h5-font-weight: 700;--mantine-h6-font-size: calc(.875rem * var(--mantine-scale));--mantine-h6-line-height: 1.5;--mantine-h6-font-weight: 700}:root[data-mantine-color-scheme=dark]{--mantine-color-scheme: dark;--mantine-primary-color-contrast: var(--mantine-color-white);--mantine-color-bright: var(--mantine-color-white);--mantine-color-text: var(--mantine-color-dark-0);--mantine-color-body: var(--mantine-color-dark-7);--mantine-color-error: var(--mantine-color-red-8);--mantine-color-placeholder: var(--mantine-color-dark-3);--mantine-color-anchor: var(--mantine-color-blue-4);--mantine-color-default: var(--mantine-color-dark-6);--mantine-color-default-hover: var(--mantine-color-dark-5);--mantine-color-default-color: var(--mantine-color-white);--mantine-color-default-border: var(--mantine-color-dark-4);--mantine-color-dimmed: var(--mantine-color-dark-2);--mantine-color-dark-text: var(--mantine-color-dark-4);--mantine-color-dark-filled: var(--mantine-color-dark-8);--mantine-color-dark-filled-hover: var(--mantine-color-dark-7);--mantine-color-dark-light: rgba(36, 36, 36, .15);--mantine-color-dark-light-hover: rgba(36, 36, 36, .2);--mantine-color-dark-light-color: var(--mantine-color-dark-3);--mantine-color-dark-outline: var(--mantine-color-dark-4);--mantine-color-dark-outline-hover: rgba(36, 36, 36, .05);--mantine-color-gray-text: var(--mantine-color-gray-4);--mantine-color-gray-filled: var(--mantine-color-gray-8);--mantine-color-gray-filled-hover: var(--mantine-color-gray-9);--mantine-color-gray-light: rgba(134, 142, 150, .15);--mantine-color-gray-light-hover: rgba(134, 142, 150, .2);--mantine-color-gray-light-color: var(--mantine-color-gray-3);--mantine-color-gray-outline: var(--mantine-color-gray-4);--mantine-color-gray-outline-hover: rgba(206, 212, 218, .05);--mantine-color-red-text: var(--mantine-color-red-4);--mantine-color-red-filled: var(--mantine-color-red-8);--mantine-color-red-filled-hover: var(--mantine-color-red-9);--mantine-color-red-light: rgba(250, 82, 82, .15);--mantine-color-red-light-hover: rgba(250, 82, 82, .2);--mantine-color-red-light-color: var(--mantine-color-red-3);--mantine-color-red-outline: var(--mantine-color-red-4);--mantine-color-red-outline-hover: rgba(255, 135, 135, .05);--mantine-color-pink-text: var(--mantine-color-pink-4);--mantine-color-pink-filled: var(--mantine-color-pink-8);--mantine-color-pink-filled-hover: var(--mantine-color-pink-9);--mantine-color-pink-light: rgba(230, 73, 128, .15);--mantine-color-pink-light-hover: rgba(230, 73, 128, .2);--mantine-color-pink-light-color: var(--mantine-color-pink-3);--mantine-color-pink-outline: var(--mantine-color-pink-4);--mantine-color-pink-outline-hover: rgba(247, 131, 172, .05);--mantine-color-grape-text: var(--mantine-color-grape-4);--mantine-color-grape-filled: var(--mantine-color-grape-8);--mantine-color-grape-filled-hover: var(--mantine-color-grape-9);--mantine-color-grape-light: rgba(190, 75, 219, .15);--mantine-color-grape-light-hover: rgba(190, 75, 219, .2);--mantine-color-grape-light-color: var(--mantine-color-grape-3);--mantine-color-grape-outline: var(--mantine-color-grape-4);--mantine-color-grape-outline-hover: rgba(218, 119, 242, .05);--mantine-color-violet-text: var(--mantine-color-violet-4);--mantine-color-violet-filled: var(--mantine-color-violet-8);--mantine-color-violet-filled-hover: var(--mantine-color-violet-9);--mantine-color-violet-light: rgba(121, 80, 242, .15);--mantine-color-violet-light-hover: rgba(121, 80, 242, .2);--mantine-color-violet-light-color: var(--mantine-color-violet-3);--mantine-color-violet-outline: var(--mantine-color-violet-4);--mantine-color-violet-outline-hover: rgba(151, 117, 250, .05);--mantine-color-indigo-text: var(--mantine-color-indigo-4);--mantine-color-indigo-filled: var(--mantine-color-indigo-8);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-9);--mantine-color-indigo-light: rgba(76, 110, 245, .15);--mantine-color-indigo-light-hover: rgba(76, 110, 245, .2);--mantine-color-indigo-light-color: var(--mantine-color-indigo-3);--mantine-color-indigo-outline: var(--mantine-color-indigo-4);--mantine-color-indigo-outline-hover: rgba(116, 143, 252, .05);--mantine-color-blue-text: var(--mantine-color-blue-4);--mantine-color-blue-filled: var(--mantine-color-blue-8);--mantine-color-blue-filled-hover: var(--mantine-color-blue-9);--mantine-color-blue-light: rgba(34, 139, 230, .15);--mantine-color-blue-light-hover: rgba(34, 139, 230, .2);--mantine-color-blue-light-color: var(--mantine-color-blue-3);--mantine-color-blue-outline: var(--mantine-color-blue-4);--mantine-color-blue-outline-hover: rgba(77, 171, 247, .05);--mantine-color-cyan-text: var(--mantine-color-cyan-4);--mantine-color-cyan-filled: var(--mantine-color-cyan-8);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-9);--mantine-color-cyan-light: rgba(21, 170, 191, .15);--mantine-color-cyan-light-hover: rgba(21, 170, 191, .2);--mantine-color-cyan-light-color: var(--mantine-color-cyan-3);--mantine-color-cyan-outline: var(--mantine-color-cyan-4);--mantine-color-cyan-outline-hover: rgba(59, 201, 219, .05);--mantine-color-teal-text: var(--mantine-color-teal-4);--mantine-color-teal-filled: var(--mantine-color-teal-8);--mantine-color-teal-filled-hover: var(--mantine-color-teal-9);--mantine-color-teal-light: rgba(18, 184, 134, .15);--mantine-color-teal-light-hover: rgba(18, 184, 134, .2);--mantine-color-teal-light-color: var(--mantine-color-teal-3);--mantine-color-teal-outline: var(--mantine-color-teal-4);--mantine-color-teal-outline-hover: rgba(56, 217, 169, .05);--mantine-color-green-text: var(--mantine-color-green-4);--mantine-color-green-filled: var(--mantine-color-green-8);--mantine-color-green-filled-hover: var(--mantine-color-green-9);--mantine-color-green-light: rgba(64, 192, 87, .15);--mantine-color-green-light-hover: rgba(64, 192, 87, .2);--mantine-color-green-light-color: var(--mantine-color-green-3);--mantine-color-green-outline: var(--mantine-color-green-4);--mantine-color-green-outline-hover: rgba(105, 219, 124, .05);--mantine-color-lime-text: var(--mantine-color-lime-4);--mantine-color-lime-filled: var(--mantine-color-lime-8);--mantine-color-lime-filled-hover: var(--mantine-color-lime-9);--mantine-color-lime-light: rgba(130, 201, 30, .15);--mantine-color-lime-light-hover: rgba(130, 201, 30, .2);--mantine-color-lime-light-color: var(--mantine-color-lime-3);--mantine-color-lime-outline: var(--mantine-color-lime-4);--mantine-color-lime-outline-hover: rgba(169, 227, 75, .05);--mantine-color-yellow-text: var(--mantine-color-yellow-4);--mantine-color-yellow-filled: var(--mantine-color-yellow-8);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-9);--mantine-color-yellow-light: rgba(250, 176, 5, .15);--mantine-color-yellow-light-hover: rgba(250, 176, 5, .2);--mantine-color-yellow-light-color: var(--mantine-color-yellow-3);--mantine-color-yellow-outline: var(--mantine-color-yellow-4);--mantine-color-yellow-outline-hover: rgba(255, 212, 59, .05);--mantine-color-orange-text: var(--mantine-color-orange-4);--mantine-color-orange-filled: var(--mantine-color-orange-8);--mantine-color-orange-filled-hover: var(--mantine-color-orange-9);--mantine-color-orange-light: rgba(253, 126, 20, .15);--mantine-color-orange-light-hover: rgba(253, 126, 20, .2);--mantine-color-orange-light-color: var(--mantine-color-orange-3);--mantine-color-orange-outline: var(--mantine-color-orange-4);--mantine-color-orange-outline-hover: rgba(255, 169, 77, .05)}:root[data-mantine-color-scheme=light]{--mantine-color-scheme: light;--mantine-color-bright: var(--mantine-color-black);--mantine-color-text: var(--mantine-color-black);--mantine-color-body: var(--mantine-color-white);--mantine-primary-color-contrast: var(--mantine-color-white);--mantine-color-error: var(--mantine-color-red-6);--mantine-color-placeholder: var(--mantine-color-gray-5);--mantine-color-anchor: var(--mantine-primary-color-filled);--mantine-color-default: var(--mantine-color-white);--mantine-color-default-hover: var(--mantine-color-gray-0);--mantine-color-default-color: var(--mantine-color-gray-9);--mantine-color-default-border: var(--mantine-color-gray-4);--mantine-color-dimmed: var(--mantine-color-gray-6);--mantine-color-dark-text: var(--mantine-color-dark-filled);--mantine-color-dark-filled: var(--mantine-color-dark-6);--mantine-color-dark-filled-hover: var(--mantine-color-dark-7);--mantine-color-dark-light: rgba(56, 56, 56, .1);--mantine-color-dark-light-hover: rgba(56, 56, 56, .12);--mantine-color-dark-light-color: var(--mantine-color-dark-6);--mantine-color-dark-outline: var(--mantine-color-dark-6);--mantine-color-dark-outline-hover: rgba(56, 56, 56, .05);--mantine-color-gray-text: var(--mantine-color-gray-filled);--mantine-color-gray-filled: var(--mantine-color-gray-6);--mantine-color-gray-filled-hover: var(--mantine-color-gray-7);--mantine-color-gray-light: rgba(134, 142, 150, .1);--mantine-color-gray-light-hover: rgba(134, 142, 150, .12);--mantine-color-gray-light-color: var(--mantine-color-gray-6);--mantine-color-gray-outline: var(--mantine-color-gray-6);--mantine-color-gray-outline-hover: rgba(134, 142, 150, .05);--mantine-color-red-text: var(--mantine-color-red-filled);--mantine-color-red-filled: var(--mantine-color-red-6);--mantine-color-red-filled-hover: var(--mantine-color-red-7);--mantine-color-red-light: rgba(250, 82, 82, .1);--mantine-color-red-light-hover: rgba(250, 82, 82, .12);--mantine-color-red-light-color: var(--mantine-color-red-6);--mantine-color-red-outline: var(--mantine-color-red-6);--mantine-color-red-outline-hover: rgba(250, 82, 82, .05);--mantine-color-pink-text: var(--mantine-color-pink-filled);--mantine-color-pink-filled: var(--mantine-color-pink-6);--mantine-color-pink-filled-hover: var(--mantine-color-pink-7);--mantine-color-pink-light: rgba(230, 73, 128, .1);--mantine-color-pink-light-hover: rgba(230, 73, 128, .12);--mantine-color-pink-light-color: var(--mantine-color-pink-6);--mantine-color-pink-outline: var(--mantine-color-pink-6);--mantine-color-pink-outline-hover: rgba(230, 73, 128, .05);--mantine-color-grape-text: var(--mantine-color-grape-filled);--mantine-color-grape-filled: var(--mantine-color-grape-6);--mantine-color-grape-filled-hover: var(--mantine-color-grape-7);--mantine-color-grape-light: rgba(190, 75, 219, .1);--mantine-color-grape-light-hover: rgba(190, 75, 219, .12);--mantine-color-grape-light-color: var(--mantine-color-grape-6);--mantine-color-grape-outline: var(--mantine-color-grape-6);--mantine-color-grape-outline-hover: rgba(190, 75, 219, .05);--mantine-color-violet-text: var(--mantine-color-violet-filled);--mantine-color-violet-filled: var(--mantine-color-violet-6);--mantine-color-violet-filled-hover: var(--mantine-color-violet-7);--mantine-color-violet-light: rgba(121, 80, 242, .1);--mantine-color-violet-light-hover: rgba(121, 80, 242, .12);--mantine-color-violet-light-color: var(--mantine-color-violet-6);--mantine-color-violet-outline: var(--mantine-color-violet-6);--mantine-color-violet-outline-hover: rgba(121, 80, 242, .05);--mantine-color-indigo-text: var(--mantine-color-indigo-filled);--mantine-color-indigo-filled: var(--mantine-color-indigo-6);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-7);--mantine-color-indigo-light: rgba(76, 110, 245, .1);--mantine-color-indigo-light-hover: rgba(76, 110, 245, .12);--mantine-color-indigo-light-color: var(--mantine-color-indigo-6);--mantine-color-indigo-outline: var(--mantine-color-indigo-6);--mantine-color-indigo-outline-hover: rgba(76, 110, 245, .05);--mantine-color-blue-text: var(--mantine-color-blue-filled);--mantine-color-blue-filled: var(--mantine-color-blue-6);--mantine-color-blue-filled-hover: var(--mantine-color-blue-7);--mantine-color-blue-light: rgba(34, 139, 230, .1);--mantine-color-blue-light-hover: rgba(34, 139, 230, .12);--mantine-color-blue-light-color: var(--mantine-color-blue-6);--mantine-color-blue-outline: var(--mantine-color-blue-6);--mantine-color-blue-outline-hover: rgba(34, 139, 230, .05);--mantine-color-cyan-text: var(--mantine-color-cyan-filled);--mantine-color-cyan-filled: var(--mantine-color-cyan-6);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-7);--mantine-color-cyan-light: rgba(21, 170, 191, .1);--mantine-color-cyan-light-hover: rgba(21, 170, 191, .12);--mantine-color-cyan-light-color: var(--mantine-color-cyan-6);--mantine-color-cyan-outline: var(--mantine-color-cyan-6);--mantine-color-cyan-outline-hover: rgba(21, 170, 191, .05);--mantine-color-teal-text: var(--mantine-color-teal-filled);--mantine-color-teal-filled: var(--mantine-color-teal-6);--mantine-color-teal-filled-hover: var(--mantine-color-teal-7);--mantine-color-teal-light: rgba(18, 184, 134, .1);--mantine-color-teal-light-hover: rgba(18, 184, 134, .12);--mantine-color-teal-light-color: var(--mantine-color-teal-6);--mantine-color-teal-outline: var(--mantine-color-teal-6);--mantine-color-teal-outline-hover: rgba(18, 184, 134, .05);--mantine-color-green-text: var(--mantine-color-green-filled);--mantine-color-green-filled: var(--mantine-color-green-6);--mantine-color-green-filled-hover: var(--mantine-color-green-7);--mantine-color-green-light: rgba(64, 192, 87, .1);--mantine-color-green-light-hover: rgba(64, 192, 87, .12);--mantine-color-green-light-color: var(--mantine-color-green-6);--mantine-color-green-outline: var(--mantine-color-green-6);--mantine-color-green-outline-hover: rgba(64, 192, 87, .05);--mantine-color-lime-text: var(--mantine-color-lime-filled);--mantine-color-lime-filled: var(--mantine-color-lime-6);--mantine-color-lime-filled-hover: var(--mantine-color-lime-7);--mantine-color-lime-light: rgba(130, 201, 30, .1);--mantine-color-lime-light-hover: rgba(130, 201, 30, .12);--mantine-color-lime-light-color: var(--mantine-color-lime-6);--mantine-color-lime-outline: var(--mantine-color-lime-6);--mantine-color-lime-outline-hover: rgba(130, 201, 30, .05);--mantine-color-yellow-text: var(--mantine-color-yellow-filled);--mantine-color-yellow-filled: var(--mantine-color-yellow-6);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-7);--mantine-color-yellow-light: rgba(250, 176, 5, .1);--mantine-color-yellow-light-hover: rgba(250, 176, 5, .12);--mantine-color-yellow-light-color: var(--mantine-color-yellow-6);--mantine-color-yellow-outline: var(--mantine-color-yellow-6);--mantine-color-yellow-outline-hover: rgba(250, 176, 5, .05);--mantine-color-orange-text: var(--mantine-color-orange-filled);--mantine-color-orange-filled: var(--mantine-color-orange-6);--mantine-color-orange-filled-hover: var(--mantine-color-orange-7);--mantine-color-orange-light: rgba(253, 126, 20, .1);--mantine-color-orange-light-hover: rgba(253, 126, 20, .12);--mantine-color-orange-light-color: var(--mantine-color-orange-6);--mantine-color-orange-outline: var(--mantine-color-orange-6);--mantine-color-orange-outline-hover: rgba(253, 126, 20, .05)}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,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) format(\"woff2\")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,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) format(\"woff2\")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(data:font/woff2;base64,d09GMgABAAAAAZ1MAA0AAAAEvUAAAZzvAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGogMG4TcQByBqkoGYACBywoKiKZshuQfC89UAAE2AiQDz04EIAWNJAeByS1bNzO03k/xt/e6st5xlhatijhWZwJB0IDI/MfoXyO+mXoANtXuv5unEZWMuYf5ACEygrTqGMMDGw6lMnvVEVSv/X6Q0JvVx4kf2fTZ////////////////////39fyI/zN3kySzuxuEpKQEEDCRwiIiKKAFX+1rbWfq62tbe+uvYMohBghFk41jBAzqg1OlRiqyiWpslnGJBGaaS4o0NJW2W4QRzpMorRLCmVFfNvrIaloRvoVNBkEaMg2Rp39RMZoIEuhdlJPMWNUPYv4duDmhwta2WyvOcx7R3NWxP8l23CcQLihHksq6UlLXORWYok9tWe5I25tlhuHZp4xWaZtIR2Mo60NTQajJ6JQyLl2TSK2TEJLtlUOm8OZpVVJHTboRu7sqM1k3Ip52UVqPBihBbbGbC5SEsNOyBI7GM7C8iF3hpTZ01GOjiWXgTszHaaGMYwuuyOEdTQL9aqMV810Yod7kStkFqKdFQ49Y9RGLrOsI9d8vT+29IytxPvKxw1uGGFW6IZsp8OqcOLPoeMWQS/bA1jcRoWHlFuMlbGv5JLTu4KxZrBP+5YYOhLmNfNGyBtvJ4G6e2HM3jIFm4iH3Ndu4O+Zd51Rv2SGBxZChE/6XGvSZPoWyvcQjxCRB9jkPTeb05rMtz695O78+EAUQj56WX7ytmUrPkHXnzAif70AFsIMr/e5mq0fEm6IFTeB8TTGJRkf3gjUm8WVp64fA2+Gfqa70NMaPU6CVuDGQxZa2i64FoTrGD8HKVmRj8tjoQMIlApbxHzCik9NrPGItTBbImwPehvhjdyFV1uaDwZJybShwqun++kXTg8EYyFXLz0Lb1jx0mWPE2bTNSZHrshnLuQU0iMC9SLcl41ix/QmMOQryg/M1Aa3xRUQEYhIqf6UECOcUCGCsSlLZ2SH9hd0sUdMTAzJfDC8eO/5UaCI6C7INTbeNsFZ4n3BtJJ2MlmTB77khZ/6V9OQXKAxXDw2q7aHyD/x5Yl+izHGI3EBvn/6fvp8RlzgnpLlsEW/zTvrPt0feX8V+32cZqP3lsRbJ6vUwLbZc2E/GTYTtpl7P+UX87rZHJBH/1fef7AX8hO/opLY4Lr0PA2txx+cBGdahyFKchK4WT1inuurCpa2p5AH/KpHDo7cCNSqYKYze++IjSLXSdE6voEbObSqJxyyDTm2aUxtgONYxJC/A6fMPyTb3SKKcIm7Z8RMRIVKhq8G1wcurfOQWv4nSTz+W4TIWqT2787HPlnR32FfeqRv2dcSmOyW2xfNVQQ3CoVABqqoFEqEU2FPDJSG6XodhZAcz3yLvwjebY89DuzJW9oSVuhaP4unMcZUqFBBxXXU03nV7qwwxeCRW/z6zZRQZVKFMqpQRtHUUy621kyUhJjTHiOM4I8yOlaqflQ+Xu/qabKLcBSc7/wp+/jf6yRJ0EAUvFM+ij6QpxAuuPcuSRL6f/Desc0somkKF+C9c7b6w4oEZEZAinHreiGAJqKLshgyVpt9tsdUTpe4xeP1Kb/wxY89+52d89i9mHUISbI2jZqsQqhQVUvBO1Fcv4f6f+D925873jR7nvXM7OysZCUrLZXk+3YqSUuKZKUlhCQh42XsEJL0jIz5zISMlVRSSSrJPAC73ePf22/ON99Y74315nxjvvXWfHtXkoyKyliRMZMUIgpNq6KyU2luv8z5VM2kI6nlJ7DIsh1z8iE0tEiH23UPYJ0nNpUzzPQwTPRsU5M9PZHx/POvXve/qBwLWROzaCtjOYCntdtL5o4FA6pRZapoYKud63x4LzAYC5S2h99sdx7XWklIMB7hMML9APjfNb1X2Q7sZJ4vghpwgfVyyb+7vwWwJF29HqpK5A+lnBtPz1887My9b97uQuCBZBRbzpHWR3WsV1YflqE13KDhUWv0BqFCnSnQZnoi8gYd//lxfTMX55z7Zv6Gug2O2+AmNqhSXfG3RQKRwLalEX7/c09mAfgnc+/MPEr+EqMCKrJEUASqtXWsKnRP1bYSkcJtfzEu9oEYxIH7PUZLwAFO7FXXj14F0HAiJZR1d3oD6/r+oARXKXaiycP1wFjMgicnhHzx3uX/Ld0/LIeBoPTM7K+Le223xhOSE+qO1prFQoz8rfjo6ksoRGKgQxibCBfop87MuFkxJwcVvQf01aNNToK//Chm4fl3+e0mmZbNVrqaPy+ZllCLxOI4WIRaCxjVutrSjUBv6UYiLD/gtv5dtV5FiUmPUaMGg7GNqAEDRoXNRbR69Sv8/vOX/oxGdaKrA89CYHEsa5rDwpEXY5TjxhSGSSPMrKYH/wun9qTd/3dXchyCYtA30yNMc4jsImCSElLKtiU1hg048TiO53n+n/2+nRlc0/AT4hpp/kJDNH4ibTIikojqIeGr/0bi7higqCZr9jqQCwgwHuHxCmu/fv7XcKEuxEXi1M6+iJyhpfI6rdEFBgAHQYXJihlpdiMV2mG+qZuJJ5JQNCl6IN2rNtjf/983te9WVYNUdW+3ZL1FPv/M579Jaie2hbY1lBdDV90FyVm0k4eQmXmE2BBYyixEAeJ0ZGTlxsjz0Lf2/+9uqu4+8zHEy+fLECggI2JcrE6MSYwgBSQfzdwzZeKyf+csaUay9+4XnIYrLR2wAJbOYGB4EAsFdX/eW9t+1F/54o479mxWvEEdzwTsdYWs0H/jCsSbcVoeLvESsf//+327+mTkjbmlcTTpRjTtOu1UfvoJlYqvTmNoFzxSGnFAitsu2BP1I04Diypoy5HXwq4D6vv6ywl/qGV/cB6FMCQNGLdrHEPh1iirNCiCveSxl2dwDu2ETLgEMGKlJqwC/qffz73tiz/R74toiIRm3lw73tRLhoSHyq1hESLX2f/q0kMOj10GWNMpW3kMkKL45EjvX1Xbg4NbnR9gnIo03VbCjdl+ZfvfIxbBRhMhkxG9qoHohVOERB2CD3jYiA3WmB80pBrzxWRh+XIRsaeymDfoIJB/2ETErw+KP+p6te+SwqepDDOvjJZc5jHkYWzHDmMI4YFkfZC4SGGyuK128Dq71oRctGFAAeGCAx02hCrbJcotDxvUwzl0paQ+z8WBQfNqf2yOVbw5G6GuII2d5ioE9Jrd56sdhlUPr7k+8rJvUeADeui/H3sNCxkZHRWlO9st4DlzCyqysvOFLFp6tixJERnTAA247gfw/09Au5oKPODFACMMMMrtvSdADte0LHxHSj8VbHK5EH3SjJ0BVG6wASfgcTzP8wSzk7a2gzgQygKG/7ePBfpnTMbSu88GgpaorVmjtdmawgYcgMTzPM/z7Ywtzg4j5wbu1UaDC25wZHEcx/E8z/P8w0MBieM4Ts/dKoGEAF/MVcpO0U4OcZePAFtJnkmWjymx/t8C/gIDhV0uAZZyn6OK8Eh2dDhMskhuTJwvGkw2EHouu5FAUIy1/IbobWIuROIPPZlGO0wrNKpYiHj6IfXPDahomdKQD30LFX0o+ACLICF2rTi6U0r7SCGjO7HAyb2UjUyfydQEmyADBk3N0vzb1Gr/yPHtKDgT517mjp0jOwtUVFQdYtFw/+ePHM1IBoGdlWQnN1FI1pJkJ1nJDjlyfIkddMgQewFpJOeckelJivOAnkwBwiV0ckRQl8tYbddcW255DD36/2+mZfovir38BYISmlwDzsp0yTaGsway6RrrIgVx/fe7UfXqo4AudEPD6qKBoWuQhwcNjGE3dyU0DKeB8Zg13kdocAwxHhjHWTlrwg1SmVhHQWRtKkU6SpVkxqdSpCBWkktJpiwQQbSs2S53jUM4Wq484UhWzC+x/56sQnYLWYaQdFQeIYGolia9fnkVmAXZeT9kCG6nTuv9nKhL7AMgWt0p/WfsSKihCTZjmdL7kKGdeb6poKseISCLdhmy3zAMVjud/SkopP83taQ3N6cr8t4lVxtK6YCV2gg9aU77o52T/c7ybJP3WqGBQVEde6wtrdHAsI5IEMvjgVhSmszsRXtGgf9/l/+zP9RiNBjVHA6nJnmZTSlF4aqQc+5NpoTeJViBUJ6Fzze1pDPS/PPIO3rvvL7WxNLa40otNIhJUzwrS9pEluRt1Sml22len9PMjgbAAyilEh7AQSDr8A+tVdr5+w4rWNeBOrlCjnAL1nTPLHTNP65AT+qO1QZRHaILCxWjEHXU2ThDRNAaaoH+J0QXISNjbNhJ5A2Wv1VA/m0BjapSqYvxuv+natni82MsEsP1CUvpQWGT7KedC7pUdBuKZhxS1ZH/Y2ZEYmYTqE2kNgXp3qNjouQAqqJ1DZzlLjXNhaI0/Iczk+7M6+WvXrJ7AsSSKMhfyLN7oxQQXJ7//YZZPpcTohhS9YMfEXl0SzJES1tbS6txva+OCJ3MLu3fwpK+oxKhLJjNSOBLJ9XTPKVaqljXiNVxHv9ZkpwNRl/7f6pmLSBtkEMI9V0uOl0MXQn8P4MBZgCQwgASBUASDYW4idwkygEguTZIcf0oOdHO672wli/lSis55rtcXVXEWKX+fPmZ0zQvXC+cSVXnUKbfbW4SZa9fzj/O4IrSm3FIAf+8fyI3L8tTXS7YwW8ja6ZYLdHkQL4tgws81tiC/0+111YD3CPby/ecSMVdFlXhQDjthRPxK0HKrYvSTe+6Mnyl2mfM23k/Is5KWa40XAHbTVUdG7Ij4+BzGfXuq/KfTe6CRQxiaUQjGjGRAwfGoaGaaP/96oEf8rIY8RDCCDEnhBCLMcZnfL4Qku9F9f+3auiBu83b5m5tlBYl4oiIKFFav/e31e/E7/md9P0+parWqlUVVRUVFTEixjFGxIVyJulZHdInfizChOKGw5TQ237/X9rFvtx3dN4iEiIhIREiESEyxBAD6y70Pzf3P2x0Q1qwpOOSGEyPEToNe/Iw/6ShmBAC4Xy/9xm597792WcQiwjGCCOMMSGYEJactvT8Wox5P8TNBtMFg1w8RMRmkQ2D3y+1UhGdJIdvGskYQxHEqW8zG+Jp3w6xrdoht/TCc7EQmAokRVZPwai//5FtvXrgRQQtjNK5vVXI/z8y97aga9l1Rz0/LkABRQkkZKz3ErhS7FRxDxtac2LQV/MunNWyysisXR/Xt3wRYYLGRC3NMBghRi11a8/H2zPTQgAxvRESCm7rQ4AhokXv8NmXBJWKwHvMkOGnd5r+IG8plu1O1JTMPnq2aCeckKwE07A6k5rMYHuqy2aMUMgkMXNaDghwRSh/aOF6vNSPZVGfIaNGjRs3adIHf/3jxybJqGNJSUnNkY6wzJBNRCEJJSRdx8jDhB4l8QS5p2FeEfCtgqYStVFsoB5zDKk2aYmCZQhbCfZSHWI4wnKcF6elWdAiIg45QhSWHofisLHj2Aemh/AWICwFhBWBsAoQNgDC+w3K0TjtTJxxLs65GBdv+sU1GPszuwREUN2K2+rOjFyIopCkyE5ZZtOJ63QVMm8Lm2EiZoTIGePhfOjRfOTxTJIyUxTMAoWzyLNZqnyWY80adbNO0+yKLvoETA0AUYNA1RQwNQtMzbnrnJ8LIOpvW44NcHsDIRMAjMwJIGRuACHzA4IsCAiykA9irIi2rpRkVkaKq5RUV13SWi3t3J0yXTXtWc04IECQD9egJTuu7R0u2Ml1HZZOr1s6u97W5Q2KawZasj8gyAGWQhahW4tU7Fal7MVLT7dZFdsX1QKEXAcIuR4wcqOlli2pd/GYAhDytGleOQloKRqnBYKijRHRPSPGFyHwouvmYW5xlyv5Sop1Iwevb7K6DlG9PVZGTul+fwYI5cv5flwai/erRfSngiCmghEKGrO/023Ceu5fUAkHARAL0Zr+3hKev4sp5L/FrAvwv9NnH1ye+O9NwvUfnEoEPgXSJmJZJRCJODoDMoJu/kg5shdFKhCAlxgakEMDFICYBvHIkO6dOMNmddwKyF1G78W8z4X5mG6qq1rVzBYolEoFt0nHt+4n4DMQ/K//+zFvTClBQzGhLTkRxP8nfyWJP+uvJfXn/d2k/4p/hMo2fIVHtOf8bNOv47sMe3UbzPfGtlnsXWC192H95sLxzYfTWwrntxwub/W7XN+6p+n42/p2OvmqXnB/1dtOr84R7ysA35MDyq3ZnqCAjiL/t8eYOxo0tRYOILfY0Cc1eh8jCxmqFLjhPYOqXGPtjbk5pseX5xrHywRqSbgC7jtfxoVXVaB27xrI4n5xJO/5b/Z1NelmMX+6eAbGfB2lUUcH0NFPo8uwP+77eVZ+vuSWW9Zk/F0EY3DHuwh6ugLGlMkTU86fcnAqmXfnaJrotXsEj9Y/HwS/HLLJ4KMRlqFqDQV/6k0sskeZzaZb0LzrfYfATTRnmvnmGb+9t4T181nOvY7a7aLYHxcjDeexlobWUF6BKuTdd5xn4yRRfBGCs+9XbPW6769qLusm1778GH5x7q9VKnVDwZUqXiDPti/g/Sc1PFoMkX8ln4meTdqyrjzIbi+gWqJljk+9Rb2cD8O1LZX7gle+Z/ZYD6Ly4/prXJ+/aUQE+mtMda03pRLxYDCJ6ZkRp+2qKpv1f+7eWqdIckcv6GkBIO0zJDTfmaUE9/Gz0/tkIbHo+RXBi52I3LFOW7X4riX7lkK2bsfRZcbLxy5/e0Ev6EZeMtJefcmqiU+Xym6nDp+G4zX4eVXoPj6DoLKqsVrZzUmrD2ww2yMH5WeBxmnWHbKgu0J+BRsHjnNa9T4PKFxBnzOeT8ah3lepK7dXfa6Xc0eGKf1DUJiHIt2xELflXszj6CyZqi5rSa8beq1LH2tp2bvV9jn974k4f5Vcnr+5Gs7d49IUyotMG81HXVXZT0ODSi4L5EoudCrQXV2pWFHS0gENeHVC1V1lPOLOYGJY3Tt37vYljLpXutOPzQKOtxnOOnFn1tyauqiv3/rOLSWdP67UPGh493x2n7rdk8/TY95HDr9Q6HwtZseffn5ez1zhSKhnpGf8Kr/OXlfOJS0t+V6f3oXeLDt9XfBA9ihecML5LecP5KZ5f2cJrnXX0JrTpO+h4pNvfaKQS3Q58OvsMlw3WlduNwp4/e8JfL6RCwPBhF8QTviT/TEIEYzgFxQczuobNYmpzWBmm9naeXhHhtDIb5kVpkSRM65kcVuuzS7KrunygA/St14FfGRMiF469ksHoBDlx5Nekn+kc7CzKYpVbhObENf74eiQpPQzFWr8SQEpLoqihVfN2qHfTkAJ3O5FfodM3pjAoXsfZahGV+SrVI8cJ8HJZF9N30tb0Lyo99LOUPkHa4tipSh2zZpdiJOxmNL56aUvPJw++QjeE52y0w6v3HG/P7q6e+7aRSfuYNXYeaJGvv6is42uZnQmuoUe1LWbFAfrQo4cfTr1j26P/HHn66M2lWRqrp7QznHfSrqnDvpF7jRyH8mcD2h7qCKm3ZPey/9lKM2povAACsYg1qm1S5NOUbp1e6XXMJZR05p89FmnL77ouRWQIB6c1ypicmIGRmB2SANRV4wR6EnNKNE7Sglj2qDqDeeC/G0NE3X/cdA0lJjJaqFGc53YJ3C94SMUnVSNGFzWQV2fxw6YN87FoWleeIL/QMTPBksSfxomtfjbSBkS/xorwyKKjtDLw4v09vDW+kagjbxNGaRV5TaSLb2g2sEex45eCe3indgePvhJw2e/aPnqD21/rNEJQULeFSM5sjw2SpWN44qbXrwJMkgkMSatS415G8OzbHMEVm1Lm3WC9NhUkwHb6qqjrKEGqkSJqZMmpU2eHJYilC5Vaoa06ZiyZmXJnh2RvwBrwaLI4sU5y1XgqhSCe80heVQumWe7KuHd2WrE1FkHZF11y2ywcW82Wc4H7Sb6sJMsH/U618e9L/JJP8bQuOsTM7ftJmNhO0zO4nYa3tIOnInXdvJQH+z0aX2484f7eJfM5pP9sBYvl1lBMH6qZI39srR/m3aWuHgVFb/arMj73ZZF35+2bcr9a/um3f92bibAvi2GgEdaBiGPtxIinmkjxDzXFi7xUjsg4a0OQMZ7HYGCz9oBF1+1C/6+6wKfCf87H34FFEBASSURVFkVhDRRDXYt1IBLW3Xh1l59ePTWGl7DdOeGkXrDZ7qRCFgqhptWmYOgNeYhbJ0F3PKsVYjYJh5ZR+1F3nEHueOO0xhMecroDz88BtOaFobTnT7EHW0a073dF8x/aDZLQBZAI0XyIUeStSfhIQUGDIH0t5oG0QyWTKCwTCz5bBxIDkCb6AyYgoXlCmnxzxfCV0bnRaibMFPJvM943QL1kw6/znbT4Kzq09jCSKRclWo1UTu5eskvfQYMGdnF2G4mTPniyHEZS3YvdnmOEtogWx3cT8+BuOHhuS0i34UKOe60OxDt7rTk6sU1XiEaaaGVNtrjfjOzpkpPaaTjJAwA4Xzf5kNujZTBbgyT2QKAEMcLoiQrqqZbbXaHk8KG5XhBlGRF1QBEmFDdMC3bMeOt2rPvwKEjv/wBIRhBMZwgKZphOV4QJVlRNd1gNJktiEIIRlAMJ0iW4xWH0+P1+dVoGXI4QVI0w3K8IEoqtUar0xuMJrPFapMVu8Ppcnu8OAAS41JZGlUIiuEEIoPJYnO4PIFQJJaAVCZXKFXqGFIkU6g0ukar0xuMJpvd4XS5PV6fXxIBQBAYAoXBkSg0BosnEElkCpVGZzBZbC6PL1ATisSR5N7pLgKRahyTJObHrz8IpRiWFyS1Vhc5wxjOSh+KurwZRo0ZN2Ey/uVzV6I0TZq1YEdHvg78JXgsCdOT0op0+akNS+0O+hxYJozkfT7zLf8Zg9lwfkgNbgwRO+6r1FCaUapxMCEmo7Q+sI/cYYYyGfxZFiP30SzSSEl5ZLL2DhlCL4vm6vhgHgUuuolKfiTEI7GSTDIDzgTZyEM+F3VcTL6LX0seLFcoQTNaRKvX9SLNxvaq7ltTnOVRw0VXq+RHQjwSOVmcIc7UKiebPPKlsR2VjIyMjKyQldszwCDv3JAYZoRRxuwwEUzxnmk+MMuX4NtiUB+zehbSC3y8x623iDOtJGdaqbM7BIrqFFVa0NQbhyssVZIkSe63iwNJUmUen+uIJDjddOP4XKzwKg/9sX9goc1nWF4QFTVtT546Zk8yswJ1YtEg10meyd5L41nwOY9eD8+sAtM3M/0SOMylId+RCUbtKWzJpllfYtH/RTcnY6fw7cV3yKBQd4UJF+GeSFGi3RfjgVgPxXkkXoJEjyVJliIV0xNp0mXIlFUF2Ms8V+7FeiX1bpu9R683+rzVb8Cgd4ZEYrhb1OCoRb8YGEs6r78hL2rFxqg/0DplhOAGbuIWxYvvT1ei4YitFQg1XbTeF0ZHI0y/C9Z0dyeeh+6LXqDU9Sz3xvTVKDoUFMjhwN04ZQX2LCNxObAPNPs+HWWkPzkbK7EW73etocOu9FF7AwAAAAAAAAAcLAAAYHdSx0Cf/icXuBCWJPI++IHhao6zr88HBWjlIAhSBIBNqAgAAAAAQBDUHZGQkAAAugN4LaIrQ4s/7pDnKdSlabTzBfqydG90NF8aBXM/LlJDDluZKZNWVEspJOlzf7um5E55mvE9y6A8klIdCqDsImFXdi6UBSzDA4+c/B0aO9Uj6zLC1FBv3u9scocTrbVWaA0FRI24OHAG18QsBdvLxn+cHefG3S2OX/JDTFnlEdy0EArKG72QfmBWCcMZsZ/9/g4zgRyJ2rCG39EhW6A+HPVIzOzVGhIRnSiKon2lPaH1LNvi/SsS7TgKfa8Pk7a3hiI6CoXJbAFAiOMFUZIVVdOtNrvDSWHDcrwgSrKiagAiTKhumJbtmPFW7dl34NCRX/6AEIygGE6QFM2wHC+Ikqyomm4wmswWRCEEIyiGEyTL8YrD6fH6/Gq0DDmcICmaYTleECWVWqPV6Q1Gk9litcmK3eF0uT1eHACJcaksjQyCYjiByGCy2BwuTyAUiSUglckVSpXaUBdqbm3cZCGBGhhs/oZqAIDvKC4PATkAAAAALvZdKAcjloA8XksqEWaEpMuUJUeufHXUU19ksx/OAQAAQHYW/fu+dqMDeAyWVU3g4bBNyOsQTrqAsM+FrA087XJ6DJnmEtrGhXbmzHD5ooCn9edHBGU89+dIBJXeLHHVUGNmiqvHzBUaaaGVNton1jJ4zayIoV19nCQpSCaFVJg8IY10MsgMsuqBK3QHBR3I6wAUFAAAAJh47OThSog0wY9sxI67GHmFUBS0vSC1CwCgIoxIyD5YoYTKPCZKMsmkkAqTJ6SRTgaZQVYpuKDBH8gWa7HUCikK2n7FkfikwWIfQbhLN2UeZtx1eAeN0UbJLrydjyvJu3H6D4q2ntOV/ec9y2Uaya//oXDlWLSjNNXU0EgLrbTRHqwJcXxoqlbPCw40njusrwRvkCnrdqQzEIaE10xdaCYthDBMACFUeQhDlCmb40ubhRJr+1Ss0AHxiYIx4DB6hdgdhUT47sAzDWxRzFEUJDlUt+TqqgGSHrTQStdEN2wMNy27l+kXNopF9mdsJ5x+1rbYG7PnZ/BrfC0Kbdw3GRFxNFnIt2SSgkAhx4pjB9fviyyM1LRA2Yvc3Za7Z7ssbESGhiQECxkDJkWoh/0ZDL0X9noRzNPA1Xd8ciKGCj3BfkjSnqI79Atqo/sEVokexzwW3+QZ0Vc8vBxYbEkfZ1HSrOC00Adt3oe0tUGrW5OVfcfjrR3vzmdu+Zq9cbVm7z+Rxk0a2b7iYZl7dnQbTvD043wSjY70DaoWOVZLNybYZy6bLjUvTRzC/vlsPdE3WFsyp42Hh2kM17BMBSt/i3bEvmq1Go1atGrTPtbITsuuUSjggAHTlDV1H5RarLT88YiBMvR/ygF1yD6IrxI93Hj9s9pBKUqlDLVWFbKV09CJz3Mpq/KY3xQAyJxi1C+yOGsclagatd5F6H45w+qMA1N3CAoyryI9PnRfD1SuqcRnu0sB4nuMaDeY1OjgvWEaaZNS1mQNGcI+Z8x2d5INLBEJ6PAeFODD+WTpfyOy+47+0n78+gNACEZQDCdIimZYjhdESaXWaHV6g9FktlhtsmJ3OF1ujxdHQGJcSGVpkfHi1Zt3Hz591eDbaDJbABDieEGUZEXVdKvN7nBS2LAcL4iSrKgagAgTqhumZTtmvFV79h04dOSXPyAEIyiGEyRFMyzHC6IkK6qmG4wms8Wt6rRsx/V4ff4XWB0AAAAAAAAAAAAAAAAGLkUyZMm5Td4dd92jQFGoMOEiRIoSLVYchHgJkFASJUHDSJYShalImYr7VKnJlSdfgUKLxR9LwvREmnQZMmXJlnPqResgAAAAAAAAAACcUGsytLRXjWSPYtJ6bKRwBEQUnLbgQydAkDARYsRDPk3Fhduhw8wLAAAAAADwV0s4JXqW5G+lRj8k47H9JYVkKVIxPZEmXYZMWeWJQbJbFA5XRmgCv5CVW7SvEEWibSXlVAAAAABhOAA44I0L4UqKvlazh3y9R5+/o3sJeL/YNPqL33WNRZEuCVr2GJZVRz/pq8Bkzk7OjdDylHmu3AsVXqr0CkuVajVqvVanXoNGTZq1aNUWXakKNWr1G4j5FOyxlfbebzHZ3runMjwopRHvg+n5+As4thZ4nkvYC2S3xarYSXaLAc0Pzoat79tjZsQuhpQ3iAIAADwLALCwCSt0UwFJ12cKUDaLjkXlo4kHirng4ihWd9sJDun519+Xvq6XMVbrWr8uGrqzQNrnkt5xJskQQqq98hj4/YaiX9h0cSLbD32Huskik3RB1B/bcslfy/5ZsWrNuo3YzAIIFAZHQERCRkHFgRMXbjx4bUHDh46fAEFChDGIESdBiTIVqtSo206DJq3hjNRNsKzP0hXSvoFmxF+eAYPJsmhnyZQE1P/U/IWJ+hpxvLEy+gIT4rs9bIWUqLgnrK4gZVIz/xglHLvakK0nv3lJY5ot8VJU6kb+Y4O5uE8zv8vPbgtnmPbM0tQkkosAAAAAAAAAAADAwyDWGQuNkhqYnkg7cvjQVZJe7bWFJFFJVNrutFWlWyFZilRMT6RJlyEzstK50PCH7IqLgy0URdsaRrFDkmU/fv0BIAQjKIYTJEUzLMcLoqRSa7Q6vcFoMlusNlmxO5wut8eLIyAxLqSyNIuct2DRkmUrsfrarggrPT6jJCRLkYrpiTTpMmTKqmasFq31HTTvhwU/Lfrltz+WEOKv7e2D01oVCP0iILgYGdjZGfJIlJ7JF8O5VErwdgKrIoNEcLdaFFohikRbtyEWD4+QLFKeez71+niZwnbYVaPKx3TwH5/Fh1XCtCrCzJAwL+BxCpzmIAQjKIYTJEUzZencqt0AEGFCu2OYlu0wxF+AQEGC/32dRogQN3YYN1mK+MBXR4va93hoAAjBCIrhBEnRDMvxgijJirp0oK9i7szQr+X94e4j+PySfrBv9eP/4v58i34o12jZgbsPPus/HT7ci0qSJEk2ly0AjNBlXEhAUpqevoEBAACAua+WJAln6hOTzRb7jeJoFOdMPTCgQ/1c4oZ9vwnTQtwoql3o6wEOC+cezSiX+5eC7MS5lcXlLm6Y4GMoQpBxc67JAI+IeC9RVqECwS4pRAihiGl2XE+zXddBFEVRFEUx4kM7zD98LuGvZf+sWLVm3UZsZgEECoMjICIho6DiwIkLNx68tqDhQ8dPgCAhwhjEiJOgRJkKVWrUbadBk1YVi/VMiWYtfNE6aQhDaKYs0q6dFTgo4aYlml/niftQDAkxQWLzSaqR1kwcNVwQFtzLNp1pATCzMb1UhhjKMAzTrLlaYhiGYWCHDKLo0qqM9hn0LyHTW/cbTEzE+vHi3hFj4zZEyTv3RaOIrWQ9qFnlP2lcL9M3cmdV+W+Jh51Zf8tC5RyFTtqQIaKECBOqG6ZlOwD7CxAoaDv49HN9xqboZ4S7+IaydjrTPGwGYa4UcQ4ChGAExXCCpGjm5l8UqoPsvb6U6r5f/WAAhGAExXCCpGiG5XhBlGSFK2o3YyevkKINvf+ORyfMufX5C0y8dZzimWP2I0Kr0hPyYjh/Mt+lrPbXsn9WrFqzbiM28wIECoMjIFrCksK0BhiW47WCKMmKTtUbTGYLxslToEiJMhWq1KgH/szm/7DmQnvVe8/t5sRmR1Qm1yzZm0tFSFVVHfjBj07ImSApTGuAYTleK4iSrOhUvcFktnh4enn7yc9+8avf/O5dCajD7rlckOnciU5p81NmLqk9vdrTdrpRHyAIgiAIgiAIwqeC1MG5cV4QhBo0Qfp4z9AggUivkEEF/i/Mp02rVKsJOr5TUr9hZV4as7ecQH0jCMG5TN/B2XKdN00vDziEVn3SMOEFShmS0f0R/kCU944t8r9XAvkMChFMkRlEP8ar4exCT4KIHaGEUlwiLrjkBoIzJQp6nqVI2fmQh0V5yDK91QD7sd+VX6AajWWmb1hyhBwvS/4AEIIRFMMJkqIZluMFUVKpNVqd3mA0mS1Wm6zYHU6X2+PFEZAYF1JZWqJb1FgXTKww6VjRSla2SvUIfQNDI2OTmGZmzDNrKfdSciZICtMaYFiO1wqiJCs6vcHoYjJbakVSxgVRkhWtTt9sc8w1HwGJcSGVpUXGi1dv3n0AIAQjKIYTJEUzLMcLoiQrqqZb7Q4nhQ3L8YIoyYqqAYgwobphWrajIyMYQTGcIClakhWgarphWvVunQJPlXmuMup/TGaLYrgJKIYTJEUzLMcLoqRSa7Q6vcFoMlusNlmxO5wut8eLEyAxLqSytD8+uxQzYDleECVZUTUAEd7zf5mHjk2Uqxiy5ODIU6BIibL5CEiMC6ksLeIvXr159+HTl8FsAUAIRlAMJ0iKZlg6rRqACBOqG6ZlO+4KZ9WadRt2HDh049a9BwCEYATFcIKkaIbleEGUZEVdulX2ON7mMkRiGCPLJ4gve88RC/+RPB4nn/tJNyL51aRgXRdqtsKeJ4PI42K57EEpIT0vSh7ARhhT+ppOt31PomaJ+fALU6I/JuZS+GvZPytWrVm3EZtZAIHC4AiISMgoqDhw4sKNB68taPjQ8RMgSIgwBjHiJChRpkKVGnXbadCECq2sRkrxI3dbBh6scBbnTFivTDc5RyJXjjcjzBByB+V4/30aTSHXi7BqsOvRdrGXwvbkjDC/FgL9fn5zABEjRGg3qU3CqwAgCAzZ0AbMEVgcnkAkkSlUGp3B5PEjnBTQBZYTJMWwHC+Imm4wmswWVrpGrdfq1GvQqEmzFq3adEkfPc3ZGgpqzgQ+QS5+xTkr5mkeqUpPHfLkxReCL4LrK08hC3FK5Pmcy+EqUI0aUdut9EjpwwCGMMIuGGM3TGCKIw0gtVLCqRQCqpU9dPDAiUXDIySLlKzxPR2nKVlkd3+XHtHJY15JISVLkYrpiTTpMmTKqmaqFq09UHsQ7wwZNmLUmHETJk15b9oHs77wxTf2XRtzfSpRcBk08LMMQraYRwQclJSFVPH8sBKl0TYZYunwSHKkrLHBdMJyvEgWABCCERTDCZKiGZbjBVFSqTVand5gNJktVpus2B1Ol9vjxRGQGBdSWZo1Pm/BoiXLVhSKVdvbxVhWI+XrJPdQl2a5WtCKNrSDjQ50okt0T/BpHfx/jkIGY5rGyNOUZ/liwsv4qDsUb+TIkZtcCO38Xae0XL26d95BKPlkLXRjLIaIBlNz7Bubgk1vGUPXPdSHgkQFBzjB5TRXmha0og3tYKMDnegS3Vpr9dcsj4zskYbez1VDbKXvIyNZpDwfndTYFE6zyWpBq9NmlNrBRgc60SW6c/dVONnYcwPKU+GlSq+wVKlWo9Zrdeo1aNSkWYtWbbrozLTtb+Fk3Y9laigLl7kiMB8uo+f6Iyanp5V5VqdRCa/AR4rLUAWCc52YTQqUZ9IPq4Y9ePCwE2vy8AjJIiVrfI/H6WGiyLsY1Z2gLeKdOplVFaT+e1MB0Cv372Dwe4z1zr4aoqwxcYVSpnzDiNjE0co5PkLCv7novMH4BEbdQYsUhtzO587wzbrOPFCRVVn1QTLkImXvuUiSfjnzz86cGr+GFJKnsJPJUJEa6lJnbp0uIcZ2g63wR2swN35jnWhB521MhCUzOV4kCwAIwQiK4QRJ0QzL8YIoqdQarU5vMJrMFqtNVuwOp8vt8eIISIwLqSwt6VjUWBdMWGEqrGglK1vlndpfo3iGEsqFCgGDI5CoonnBYHF4ApFEplBpdAaTx0eKsGi1GoDZxOUQCAnMwaB2jdZbI6O/Z9sQcjKPNNpwKyW4lYZTTVoNt+1+e3YbYmF4iEecLKRwavXTkKPhECafjKJcyh/jq76wA8bf4VMoSylc4qX7bvTgEaan2CzjeJEsACAEIyiGEyRFMyzHC6KkUmu0Or3BaDJbrDZZsTucLrfHiyMgMS6ksrSka1FjXfCuE4g69YGKKgAIAkMK5QoGRyBRRQMMFocnEElkCpVGZzB5fGFFDhNLpOoamlraOpKmW+xDc03LtnEpYEi1VFOHRFQdC4llkmWrWBbhBo5kPKvIizoxK6TIPGSmJSg6oANCKiDAIcDBwSEgHB1IdUZJyVB+jAXC5EaZ37o8mNBIUXjIfv6alhpedms5EYAQQgghhBBCCCGEAAYke5ka02r62Llo1YPCLA+Lod6GWKL+wzZk61LEd783jdCqsPwSLfCIIbIaIkwommG55XHRv+yAKMmKqulGzAfcu/BFDxhNZgsAQjCCYjhBUjTDcrwgSrKiarrVZnc4KWZYjhdESVZUDUCECdUNr3eaNGY4xfAWkBTNsBwviJKsqJpuMJrMFiavUeu1OvUaNG6aakWWZb59bBNKAH9j04k8XmWvX4E8XkXqtWrT3lMsC5H5id/+WPLXsn9WrPbatNezN4jNMwVDoDA4AqLIePXm3YdPXyYLAKIYTpAUzbAcL4iSrKiabrXZHYdraHdEAAAAAAAAQRpy4OxN9tPlrIEOcEkyBAeaFXZx1zdmiDkYGIkaG9bdE5OIwswrkCVjpAYnSIpmWI4XREk2K6qL5l7HuuGmW0AQGKKhqaWtA4MjkCg0BovDE4ik+yrwo0erxzIxk/CMrJy8giIACAJDoDA4BkskkamoPx2bgs2u4Jm4EFVbBCcCiQIs4DEXjAxLvnToQvKzoCAMBkRY9AQxluTsR9hwiqiY9KOT8K64dIGVeU1qeKhG2NuPoNBSp/IVeEzOz+S3SruKQLLqAVOYwbyyh80DZo/kWPgRSEZKZTo5rYCB856t6cEvgTZnLMntf2sr4Dld2x9XS6murS/smLXU6Dq4+oLN3yOiIkQqIcKEohmW8wuiJCuqphsx05fBaDJbABCCERTDCZKiGZbjBVGSFVXTrTa7w0kxw3K8IEqyomoAIkyoblCIl7QH+LgdZHCAISTsRIAC8xJX51H8qIYlRuwWgQI8E61VGPLh6MYCnR+0kuRf1flZRc7anF+2KOeue/5aV7+pze8F9LVGr0iqpa6kVZeM7SWrveS4Z/nar4KG2lZAM+otDg+uJ7hlwa/UCi2hhHxEPV6EET9UlV6q/4aBjbBxz00cr12p/pthc2yBLcXuNemq6Z5j3jssD06Wxp8kjOjafXXy6Cvl4Rf3td29G5gdEstXjQXE9P+w5Rc5UI4XyQIAQjCCYjhBUjTDcrwgSiq1RqvTG4wms8VqkxW7w+lye7w4AhLjQipLi0qL1WZ3OF11uxpNZgsAQoWTA4gwoWiG5da9S+8qiJKsqJputdkdTgobluMFUZIVVQMQYUJ1w7RsR4djhuV4YYl9rVzA4xVNN0zLdlyFlbCenkYG9RWMoBhOkBTNsBwviJKsqJpuMJrMFokIIRhBMZxYZPta2sErDqfH6/Or0SbzVph5UE/VGmDW7fYggBEUwwmSWsJRT8dIpDI5gQWQLvb/VWTogCjJinbpKlfK9GzMMdd8ACTGpbK0KHvx6s27D5/1hQ1Gk9kCgBCMoBhOkBTNsBwviJKsqJputdkdTkoxLMcLoiQrqgYgwoTqRs2+3pft6IgIRpqePMcJkqKZtnC8IEqyAlRNN0zLdlxFxhNKTOGRRKZQaXQGk8XmlGsJwwmSohmW4wVRkhVV0w1Gk9kilVpksSUysnLyClXUQEm5KkNVAUAQGFKoZRgcgUQVrQsGi8MTiCQyhUqjM5g8vrCi/rxYIlXX0NTS1onuZPawYfYIRzrK0Y7xtne86z3v+8CHPvWZz33hS1/52je+BQBBYAgUBkei0BgsnkAkkSlUGp3BZLG5PL5ATSgSayUSe6k7cVelqknBLFKRRajijPzjuOcklp43/RaSSpwJgFghb0Y4hQp1s8s5FjgN10/e5Ao08DFd4IcABFkYZswgwmJicViiVmQy57ITyGdeEpU/JCFRoAGMqWIuwL12HhAlXmvILY4HHw2iw4nfThLsWgspDmFyxLCLRMSiExY7Q3ydGpVI0PE1zG6t2H+bxwGGdMhX6FU3hHU5No6GY1MkxzHH9t4f/7HLDlcchxuHufV9K+J+xtTZB1U2VniIuMqjeht/4kT4ceUkOBlmJj8BaZwOZ+ycGcjmHJCLPOTXllqddY3eDJziO9b/GUqc0ipvGTeDFrSiDe2VYatrBGe00TuGcUxg0iz+pFcYdalEWN0Sk9OoFFjdCo0ifrYqJe60UjnVvqkap6nRpxkt3Hritgm3d2CLjuh1MPwPxvpneEikHyUngMdIQjKnmFN7ZgpPOG2JdPmpyc/wd9bHZKf3Z3bvbv6ioIpEi0eMZUkccsWZDAmU6teYHrCdAo4XyQIAQjCCYjhBUjTDcrwgSiq1RqvTG4wms8VqkxW7w+lye7w4AhLjQipLKxyLGuuCyd+TKeWpZ57Hi93yTw1iRv4rCQc46eyJjINOPvXjVuDEqSvX7j0AIIZfVr6fddfNAAAAAAAwsN4GG2UyORMkhWkNMCzHawVRkhWdqjeYzBYPTy9vP7GLpm47DZq0qpRWmbZod+7B0mR4aZiNgZQqgNEGTlQLeP2wFGlMdLSEjikSMRzkB5AT1WIdGYOSc+j6X1OGFC1Fg19Nm8moVLjTp+h2Si1npNWgQcJZbV+IkGSWYsEIxUhLHZEZOhJNwpXeBnVnOm3nN0vckhFz9wVZ53lSS6iABf3nitnyEzhg878GANec9uOdu6j6/KYxXc/N16l36ELAbOx/98W3t6HL6INnRq9bbw1QTzj7S1cd//fh996n/UhlhXx7vPk/VnTi2RSkuRTR1MLfSuAp37wav67vO4c8QxyaO3yGlFkvkoqZd98/WLX45Sa3e4SryBS4d75geYZ0BJW2Mi5v5WJ20eBsla/XI6LXBBHhXpiDqOHLCJdHcuu9Jyay9uREBP4OMsafodCjKacqsimvikzf/HxTBO5ysPUrdix/cNR17XffrpH7tKJ2+DhT6K1531g0MPalDtnYUVODHvy4EF27ESX6UXaHvq/36GXb/cnRlr4kxI4Z4RnXo75NsQsrnnKlXxBPeB1dVzO3OOnQwf6IcJ7vwrLtoGwJ3LDinocH4kMF+eGj/WCv7proZCl97uxct1+p3TER7ST+mjPmrnuAUvT1qtjRfDNV3dHXlZm+07fb3t/+ico+/aIX/5RR/CBoyHRW95MlauQlnj3TzjV7hcgzDITojxGq+DZU2+JJ6J2xLxGMyz+thunu/TqCFLWMbaLqzTq5wFjPjZfK/54H+Jcwpl8JFZKfnmvyew6S+bLQOnphN2ulwEjuC2k7hCp2oHj1oM/ptEoQfw+FxsRpHIrH1VoSEVNHYYcJ9/jn/YyrYKiXNq/BNFF3jvtX2c0gwfF+zIEqX5fe//Qap34ObhrMmR08jDdbj76Wiogca7LZBmQKBn/JYHCfa6MA6tYUPK1TBJ4rNxKfPc+TEePoqA7oeCKP0Weu16Io80W91bmEf6L2dbI2LmvKE3hWFwjCM2VvkCmBIa/XtASxQQnusu22lF3Ii/IpDFzDDKXl2pSthQU/lApELhzReyejSmRfm//f0s/zkCJ1eT01qrTkP0qfHXttc5oGW0ilAm5qI85U8PTBA2Hn4dGqfttJO3rrXRtPl2BQb2u6HLzta6MTkHFwjj6/MqVifznrtwmNEuZCjqzQZKAhdy0GSfoKH0gGTmCd0UfiOfI/7v3UP9TYrn1z931iH6uxKK1Bq25+rDo0P/fsGuW6L1CJ/vn9N/dkj+yjgkTiv5CqPhCU6/DS5u5psNSyxam7e29OQ3vTHmy/efTeuMox9vNvYiSbMA/zcUv4HPo5KF9xG1L8ivg/D6QpyUrE/OktZgcqd96z94CgAw/sCOr/mSUC7yaYpZxdtK39unxXd/0CzC1hgNLLD9cBKPwvEI0p8exBVhzqoODike3VtxZBuasFwTs0N+7jsIWnGlTfTJ9fn3vybVxaUtgFSNQMVcFqhNBLy606SYNkV1fzs7LuaBPKxf4xeklPHiovoaQ07q4WvHFohzQD8CKg03FFshyeMw2LVBGqhQKu60bHdGkC6cWJTMnxZwl9q/rTW5qN7oEVsIyAbXf/8C6EY/YQNygesdoNUkj+Iow9s5blYTFULu6RuaBiFby7GRh/QMlxr48Lu/aV+28uNdlfToqxmL2AK1BNso2QoPGnDVE1bTbPoRrzmxqvaugv1K3vXXVQXXpMTvVu74zj27gPjd19Xo1RK69NqJ1X8jNNrXlSO1fVjNSQUSJgwlrw0VVT67XJ5ioVeJGsceVqiL3zn01pHkL8DfJ9OPfWdYt8wozVMYz+Liiss+4FiiX/ohf85c/n8yZu7j9f8W/jeWZW6eAbRXpmNLN9BzbPrnVMKb5E534nMZK8t33HmLRg1x7kRkaX7uI/ofzvYO/xIxe8RXxnFbWZhQR659ZxQt572N1LwBVpuHct/3b72X7/+ntkqHXPmd7SS9maZcGCWL6Vtg6SyYWjkYJoW8tlT5HHRx0leI0CNHv8vPW8YQ/tGpfmyO450x9J19gcgmsQoxFLLcYgl66YmCSIyctxvgFXCL1hHFzNm8DD9PXSIH3vxwW3vw/s9/WL3vvOVBrC67oD29vhOMkXQqf7TupYjKD1xk1/uzGUzqcJcQloamKCEmQgKjRw4govCnGJiRIb+NRRxBMDSZAmQ5Y8zbSABqPkQ1j9ZVnly6iwEnm5gSr6sXoVNdWqpvY64NMDaWgP9/tJkD9biPJPG4kWtp8sl5opn5OnUq0QWFwMjhHUvfiPRX3JH258n4yLH5Nv+TnF4f1KEmw1hF+ctnGdKjIERad1tZGkmmSuJC668UcPlI4p8TXp8Q8374wmSoIQQphbiEisGUwCaSLpkU9gYmYBgKAwOAKJwmBxBCKJwz+2DuQnv/itP82Hi//OcMvrvv3eBg3iCQ0YQIIhInrYzRIXK04EOEd0cDSvXPj064SMn5809BCgFAnC3WPghHgy6nSK6laIAkXihOJeGLRoJWVJz6dl/XpqRLtmWodmv+ooCBdQGYAbEUwCH/HkSCAOu6xqbC74OI18/0IysvivOdjTRB3DJaIO0Z1xq2c5ccpGVDmmXAu99kZNCp/TrJyq25BU3EclblUYj++6GXa0TDChQmoNqDAREiVxV9K2HFWi/EmV0WO7mEeDWtDGszyOEmc35I/cjp/J+K+aqtBbfFW9A9N14f67ptAIOV0TpyiFJinOoMlKuyZVWYIJl0Jz1efQfE0lhVpyaLHWLPpMRw4t01VSri+HVuoveWU4h9YYy6J1xnNovYmSBk9yaIflGn1WUug7m4khW1l02Hbik1dZdMHPFLpoMYP+8qtrfltOof/8S6xazaJr1lIoe9lAABgRI4LHSBgVLMaBccAaJaabYTtpJ0yPTqN1EbOx3VTKM6FaoRmNwpglzSxsL60KrWlnYfs5FsZOCCg7QVBZSUIz2FVhFaYKz2DXRKQxf8gsdlttBstW1wyWq74ZLF9j8bKO4qCehlG9yRX9zWCvDHR93FwpWLv2Gt3VVQrWrbf8h/oqXDZc/obRQtiYsT7dN57E3nvfJ38E5Vpc7zr0t9HNAI7gCIiH4wSQiIgTgR4ZJwOOU3Eq8OAcOAfg+JY9s5v4ocEFFYYGZwA6XASC4oDAeEAlmQcoJas8NFtoH2IyAVyZgmeq4JfGDuj9s4c5htFrDE+2tJGaHWx20T7cUgXgwit34N9Le1D2ahT5XoM9jQOC1wMFbwDJGmugeJOlRitParN6CHYAwTuAgncCgncBBe8G2XoAwXst3gAE7wPZ3jaA4v3SyDf4M72Ti2GuRhQ1plQdV0GtSTU48GlN1RltUPwTQPBZUOsLCDQHZPwrUPBvQMbngQv/ASItgMAHuQcyH5SAAYNCGE4C/xU30OsOygagWQzsLjscLCeolwssygfW5fcsCaSga+4X9YHdfjGgnpfLIWo4VDH4r3qgW33QqYGjiCXKuMYtk5r4hJ0ysyOzw4RTHCGktTJ8GWQCXw52NbKBdqMbQ6uxwzPFNe4mvgmM4c1oZ3Zm9Dz5XQtfSabVq1RmPW6Y9oSjKoq9e6q5BFvTfFeckad0tsUz1bckXWhVVHNroi0stRevztY3d7eZcnvaSr/9wKgDwPO5LYZxQeMdTNc6qpgSFLoAjS5ie5dwvPfg3Ptw6gPY96HL1Ud9y6Qr1Nh1re9m6XFHKmJDONpnsOoLGHYL+7qNvd2xYhdY9gD7+xJiPYRD3+Bwj3J8ZZiad+zNgggiDsCx5shjHOZBoyCGmBwQq5n/uwnfvXxbCN6p2xD3Z1QTHB8R9PFA8gOMCmO9zuH1akahLzihB9bgcNZ47l4haF2o18R5K02FaDEUVCsYqg2cqt2IPdnRASRUF1A1j24hqx9zAetheQMCEIAsZEHgQhIBELgClUboGQPViup6FOLv+RAvUGRBgAKpQNcpcI4GBdlPvyD+GQR5e8BVQ+b76ZCMJ+oQ0obwrWsQAmwc4bZwCBFRzL2MkBPKMV3zeItWQtp1THTR7tirL77VHwcMTRqhuZDPt4gwG4V8MaIOyWctG9eWBmIhyDAbG/hSREgtwG8MEHMpAlGkRM8fmM/mi/XfXHCKggJIwrJofLWkGYDaLv0siO0eM4hZDBlqrk6oyaSFIFTFfbIOIV9t3ok6oSEJDSo0SQ69aOpesF+SeWjWT8wPEJsbM4bqBGiSzA2xn3FXmM9N+/TCwryBmCGKzDLu6Yioe2yQLsbPk0zkIKyVyHUVzAlfLrb1EgHDSJgeNBKAVjTNfWhNyz60YISoSKi8Q4YCBXHEJVLnoGAOQZQP8gi8kYoggG+3mabhTxnHWqJ1A6REz0S9RMJJYDBeoOAUQHo7Z+TEOXsuJ+DCtyQQOK2LR/mk894RBRTshSKhl3DHJvUdL4gpDgJ805WEsmxFL+cEDS6/HqBvGvahxW6umzlwQgvbgOGhkdDv7vkkgAUcAwV/yWtQqNLBcl9FgopXF2RUsCVSncXceIslJGq1+gJbHAzzpRISySzvHVKAhI8qx37CBQnARctGXf9BCQz/WMAYj7x9FtaGUboHKv49ChIFBX6hrcBBQJACsnTsVMNEmKYEAsKsAgK06aiYuKAnIyVDBdV291uUUCZs66a4I7fu95AwHQ4FBHBEIzfBYxAknCaBEfy6WQzKKRPM0UIJRbRQQhslqdVb6GKcjH7mmGWOWcqGjFAXBTVFRhkZZe3uW1VQQzqZypp8ZLQNo4SPKKiBfekEE7Qx2u7+ExXM8A4CJ8m1gTSOSEtu6IPt1UnW8wHIKQ8VXviaxmA2MEYVA/QXVQnf0scJ6RAH+/Hed8OC8V6cBG4DW8Ap5lc+A45wu/q34neEJ0C4OEpwc2mU2cLN0RpjW7Sv9Xw0Jsv9YiS4+F8BwRwE3Ed7O9Kn6U4I42/kUs/mM3ibs0WvLRC6weESfX8H0WBGTxTQS9DWIdTqXoCBQQFbim6nTA8PMOV6kNVRTgT1/URQxyai+mFBZxxRITnJXkheKUQx36Jr5npCn+aErtPvhPCOBBiIMdLBoGcRqzehsENJ7gUGPOv/fz0nlIEJ8VYIATf7RWAExa0ltByX03Jdxzfv3rIFt/CugSIIKPQBuBeO0IMLitDI7C9mT/k5oNR2JALvJZEBY/npXb81Ado6XHQ8t/u+dJ/MBvvobWPLRsTODkWjKTmU6dupSLBTSqCUG5Zo3KRa02bgPfFUg3mbmux8ciro4w5jV5jRcp2tANwShdIUCU1Hsh6W+vRLMmhRmBVDmHaNyrZvXI4X/hrlgq/Kfzzl8SCQQiywnNRisRWlI5ZaVWa8OevieYs2JPCWbEz43bUFiXff1iTfQ9szei85huR943jy952TYO8HNgLvD+cVVMiXiFuZYnwu6CHnqiGGek06S7+CCzym6kKvol3qDYLLvE91pU9YrvI519W+kToV0MqvGkIkv2s0heX3c80lOs88YvPNhx87VnyZZSR2aXhhN0IVyTzR2Rw9xCVoP9ShdB3mMLov5VL0XNpl6r2cyzF0eZdn+Iqu2MiVXqmxgeOK8ZiIqJiqIAIz8Wh3XANeQ8CjHUS2rfH2JsQgi/WIisf738bTb8do2fh2/VRsxhXv81F8HEWNT767VHz2PVh8/j1+jzff21++t9/7o/jwfdjy8fvkK/cpNhqn30uKb99UtCpz0PL1f+e/gR91OOCfLqXLFTi4bLmc2+FKlTYQ52zyAh4LrIVWnsEJEBvmbFvNVLyEB8hMARE94wDvoJDJ+VxzKTSSC4VaVyZVoNZS3qXL2Mtk5IptB156Q4HStRbP86cBlAC2rRWbpnSeM+SPsEM/AMlbM700lUCmuWBc5K85H4f6SvZCXLSPjykcrf2b0gShTaQtCNGb4daxSH6/BVGmtJVQJzbM6FvHJ6KiW8ez5p1Z5OnhqRVLyWld0JSgoqnWwJe1NYj+RjDVOL41jVpuNviIi/t493tmHxFjjhVkTqQlK34xOLZMW1LH69X93WRaPP3MQtAya8E5i1O0xEmSNDlSqEwq1UoTtmAGReIp3LGv5Fr83k0Jq56v6DmqlyXTqHy/8etsVlMrgJfUVStX/uW6IcKPRcN0EYdTxDw6WMUEMlbQswd14A5Wy3W8kXoXjJbcEB7vWRicbKN49u3LbCK+rLJJQYY8FCsHSx1KOkEYgmIGwWcLWKqrNaL6hEw4xGxiQ8o9/9QxOvYNmuNy1yJnoTDWRz8sJBpcZp0GZQOMa8wPx0ctXsSb8I6nXzRO4cYtOUwjDMg64o7ArXrJ/VBUyPBW48FZcpDhg6W3Unp3lB68CxISLMQUykixTMRklgKWqGC1BlaOu0Orwq2n1U+hvyVT/OEE8ujbV75FujiVLs+yGxXXPK6uWB6JgfFUXp1aCT1Ne/tco5vpfHgge4WvcAzMTR/3xirBG8Wrc8Z2xUp4deWNQ4w5oNgFqFWP2VzvqZxhEjufhftCMaVkHBstMso0gTsDa272LE23fZhGqyNOk+hI0xz2FiaNicq00ttRq033ZbZiZo2pAWZeBON4b6m/GF/EaDH0eKWcru+aktwcSAxr9SvxeqDZaIyKiBH+nkLvDG03LSFr9DkgskYgyOQWCAa2gavtPlvOYXVbEij7rYqsRB+pwfJfswjTI3qXyLw4Km/dHsvV3FFgM7s6DmaJA+cs6nNSV1KrmDTG4nWq3VeeuRmCrSXnmYoRzInuhaXVPoknQ4plOJbpFVW8pWCGciZhWR3u3slbDOp8qS8ebPm4dBXOh4mCk0TcrGvOUq9dl8OS6VqLehyZS+LHMq1ckVyogL3cZaWF3khu5dScd8GFfgmJ3s6kv/cNVrjV10e75XX9omm0lHf80VwhibzZsdhXuKY8UBhj65qcXM5m8fVZUhgMhM6GB9BQSYsV0vRoe8UzRTf3RjLh0I7MgRAPJdtLwORUG+mxkDMSY4B6PgVGFkHxqW1JlGEhCS7srfDqd+t3pNjgFYIECfs2Ar7Hp652okGxPnk4o4syll3xgoxCR4LHY81NjWNVwyJyGetAwMhuB8B1WPIs2AMxrxRXrcGO6110iAP5Ws7BSdYz5y6xF9j3+cZZgaHpizcoqUgXFqEwYVqUmVhIkjduQYz5YtJ0Szfb0jmikEpqaYJNL4OMMU3d82UVaFYNdF7od5ExbiwSSz2lOzdIiIxL3uEkIa/J3UpLf7eI0W+kZ6xLtDi9qTnizy292ICkGlJ5YU1KCuvQVs8onvkWObUSAyWFc7BeMUaL19GrN8UFMpN0oobSUdEwJopFSori6e0kXaGyLOnbGxA1EXXlKtIYcQEYy+h6koyHDmTtr7k+puWcHVo7ZOcRiZL6uejyjim0bVcwCP4gwN1RAwGVPmMmj2LKYeU6HW2JEHxchw7rLHJq+JYaHp+JQQUwHB5fiEvV4Ja887WErrl/Kt2RnGDtTpTXiL53YCQclUv9M6QU9IKD9lGSavjq/3qvblpD2/ZxNxppPkCn5tJPX5eX08bnkllCwjo52CbrAzBcSPzbu9OzKHJvbEp8P8yUtaPkw61ODYRBye+USjledWicUCUoS2SnVGCmooRiLqtXAvtSzn86FPIcn2qvxc3H5HXYaxrWjK0zXhJ4xpPoWfUqHuDrksbiod7bh4FpU0IMy7p0xMJQFhhUIqtaO/eb4gE7Y6Kxd8Z4nIZZPuCO4fxRv2vnrjxRori8ZLTNqekiR6HzPpOD2iyD3Qz6sX2h5NzBKl8R7PA2RmBMiD+Ps3a62EwzNIc7zWHOOfm3Agl9mcgtFFRjyTayCM/5ONBAN4z+KuzQFc7aSIaLgrPiCmCX5vMoQpUIJ1ac5Hxqln7CUoV/Fv6/8C04ys0i0djOKhE7izgshpnieb4Wwa0RApG2Wp9wPpng8kRpuwe81Ji3M29tNxaU75GWBkIRXorDeH8SxrYGjhA4QYNb4E4+EOldI32jhgaa6GTBj9rx2p9yoJNNOI9wkRsS7+DOuhVNwslGrOMfLCULkwakUQsE7rpuPPQj8czPy6BAI40spjZvR7ZzhX06FlI4hHJdty8ojnauBmeFNcQZEr/9NwfCNBEFK5VxsjPEZJzw9oZ3kJwphZ6eqgqEW/il4e6qL0MHChlvZLaCuSZkmla4W3IboXbucuwm1W0qbFXs3WzsjSzE3njeiAQRhCCC7MgdIpN7GU7sVT2xP2WK0efd3TYwmlMBh0WeEaXirezjJSrnlKJNLE3KpM3f1/UZZsWKXC3yNVLXCNRRiF8n6MqpjWbkbkFib2q7EemenARlowqDYJ4ZrSnSQzNpTw+hfOyaMlHXUXyS4+qkPCxTuJcwi132j2hPSXxx2iJYg8Vc2TrexXnL6l3tY7ufehbr9MyrnWzuLpznm3X+EGI3K544OW1uda/nnXliGnUvks8C9gv2z556hrlGI7SvG939fZByZ85s6z5g79cU3dSKK7pxuH5ZIchhE6WoiaUcvNrFxpS5nF03y/fJhhduMF+cZXGRV8zttte57Hl0beOOf55eBS+vTPrTvtvdMYc1xx9rcIlttq14lLAfiwY/rvaemS5s3WZ7+Qqy2vP4trCYs5T2hJirTN6EUVzxcjGbEHpZ6Juy5iwNSwgYilbx9iOrTvEHn1BEwXxltyofFe2MFKVq8Ue4h21eb/Q+NySN70X3AZF7EcyDeuhaXslB9Eb+KjGG+Zd1+i9NTkSXrbPJFalzwQxXY9YTcs6x9nJsEfy6HWjwXQdWUs+6Kl6fRTftgdzb1ft1TMkhu07+dTJih9ata9pnr2KTpsaRwTMVbOdErnQ/vLwYJ7BUVhnN2fEYfmLfh0BjmruVrKYSFco3cCup1nhDcZyGI7vR3itgZuGCnuznCv7Z1GhD2ZyBM+EFsT0/5yLzPBq8ZuXvqaFCTMitNM7ZCn0oN16lDyB2E83ReNrgW/ZrVqjoXI/GjjYldtcabrTlUUAkn4ljo8o9vLqxjzQoY8v/6C+g7o6OV1FBQdqE7o75J3imOEtE53yfJmtEux2yeVJ2a4ljkuu0lg67LXmwe84Wuo7FKqvyYVMvN/fbvMk1pqFpfghazB3cZwfp3vI+gnPKeB/ziU1MHQfYfpo3u3zmFkQ6SgiDrgh0bBZjNrXDlylwkeSc5Jey/Gmi88K0jj+TKTcHU6w3ucgUrZRNtOtAMXpW7E1Wz9j/FQDHsmysCa4dF/ak8aD0sTvbpbkObb+zYt3AWOcBoYyLkqyomm6Y9i8cvQ+7lx49X/wti3BAQFQi3Atqt6wtWF9qMOwEBUXHwWFQsooqNNKVQVgZCY4gWEtkJcFSHO1cDvT+l25uvceXhf/8+pepz/Cf9P3NxRPnUGih7jLHvD3vjXLM3/aiUL6FX2voX8izDyq9fOmCO6qwfLv6uoELZP3AVTYM3PJx48B9/3+0CiTqJbwG/d9YBCEVWqtCowB0Qx2bgTIUUEPzPlUJBEqgCRAJEow6Cb89CocfKyEq/joCAToigToSQToyFB2FYB2VEB0HoTpOwnRchIe5YdyxR/FjZoADMFDgIIECGhhggQMeBBCZJ2Q2BissUnhBgxu7Fid7shiBOPP6Nr3LG0Q+oCJHDMCuHBecy7u9JGcNDVI2b2qmnsp/c0bejIbe8z1mr1bWUIIWr6Zwc64jZQU76EtW2GgTn2wnQgEH4I0k0fRa9ZMFoXAu3BEmQiNaxqPJYll52fTy2eW1K77c3C0BNsMfZms47on+s52nsYh3ZY9pZmnt2xepPaVAbVp0HvqYnpb6cX0Tq37VEvegXqDedSjCoEE9qNHSHDl84XDfY9w8iZFDkk7xBCKJTKHS6Ax/gloYxUlabzRb7U631x8MR+PJ1EUmVyhVahry3RB0omU7rucHYRQnaZYXZVU3bdcP4zQv62a8Wrbjen5QCyOSf211w7Rsx/X8ICyn00ViBBLVbecEQpFYIpXJFe5D1Dx1dAFRqDQ6k8Pl8QXyDsY0ywvFUrnS661k5eQVFJWUVVQBQBD4dvmcz/28z/+CX3zx8tXrO2MfaEAeDaAAcUw8BJoN4oBRs8TOOErIX3SwKN+/oaM4gRHEaiwjjM3WhuHAtobj0HZG53AoYxZtDzs70I6xN4/m4aR5N2+nLLAFcg+TYeZ0WA0rnmEzbJ0Nu+Hswiwn+TTddTXuj1iBEcdvh5BIGMluRPEoFkoeopC7jI1YD5gfZWL5MlhSJD1lpEluysvQtrlNlpSnsmw5Txc5Oj7d5OnkPKlAp+dpyOmGAYSADAhGw06jAiUqVGvQplu/MdNmLViyFpwihBOh4SNGmgI1WgyYool0pYPnNIUVgoG6X3kIGYwGaoJBiQqQpECDATMqRqRplP/2WMVwWvUaNmnOwkeJDtrzRgj47YAxxgm4LTmqBnv8AaWOsbTUOf6qayyre/xTz1hR71jt9WasgVHN6Bvr6O3YeLl/bIKwp8dAANgsDQby5rp2vAv0vq4eQ4HNNBx49BoJAmDCdowGkQWmsSBpPNb923rO0Qvu4RZvTmul87Uj+BXvglBBpjcIJVbc1C2FWN7hzJLm7hTrA8kqbemewhyfaHZZaw8U4frCcsrbelRp33huRXtPFOX7IfIqO65aZf2S+VWdXo3K+aMKqju7WoqJ/BMW1nR+MX/FCW/tsCHl/fVPFyPx0+eC3T+zwTmiyyXzxyq4/TBdXvn0/ir4pvVd8E/nY1dAMc3OuFzjrhR2UnJQsiqN6Pea9TtRQ9cw7/fixm78LfqDmrZlf9SY7THtjLYkcrX9+rPuozzPrlFLX9/V7mzW0NZ2UbSMuFXXJc+kMW5n+p3M7vsLdr4/7GIB49QqRS68KU+tOnaKpBiF6TOixpyTECh1GnTqs7BWKkJiANSqYwSrQkThcH6mSqMzmCw2h8vjC4QisUQqkyss6m70MV8yq3ktalnn+jW3Oedkd1p5EnaDuA38GEPkKPLFtcBrqfw5n8iuDE7LBZxWuId4uj5eAJKxQLZaoFYHijWCYM3ArQ2Itc9HU2sERwPbb9otgbTXAGkNQFr3YhXs2kgbfyZjGiDtI5D2xWtJ+fl++/uWrb21ZT4LMpmCg8yBi8yFh8yDNnDQG3Qcfh0de904vj6cXzLX19/VN03Am+HWi1Tzjnj9jml4GzS/LVZ2JdZ3M0eMgqNQqLgoXPhGUdqjBuPPiOlnZf9n78iXxO9LjRVVAWSsWaxMnZDxTa6YVXwpZDs4gMgC+AbuFnGcljct7+GUz9CMbf3wTKeJ2Hv464Y4NXbN0zo9MzijMz6N0zxt094aNkD2Yrbldrkd/6TneHBZGvTnl819y4kZ+c3t3CUVwvgcb3Cz29nB/hEH4o6iUFmXmWWFqlN9WsY+YlWcFc4uG2IrTYMTOFXs1DkrHJO9u1ypW+Z+CxGZHWckgn5wZCZspivlN/cS+CePokXo+lxu6kjayuPDal+DCHRhDEschh1c4QEv+CEEoYhELBLBRNY0ERzBFD5BFBhfD5Ri1xk0AcTjDYL5Zich3ZSwbsKIt/EsBkcQ3nyHORHoMNPuJRaCM66TOFXTuO0Wkpu2VCAMwfhF4nMHQQABN3AIwhVhKKf6HjJC0d2H24dv+2jq/RtREMGJXbI26vogBjK4QYcpNyYjsx/VJxDACRqEIA4ZHCD7EJb2x3AH601W9yZ2f5ABSchBGbYEOcQI9tWPHS//8f+HBaFu/V93xzl4ww/BuI0IxCAeKchAHopRDhbqoCRp7PaxfW5favn1o6qXb4WMcwRyweYS1J9kLwbG841gCVYzM2KoP7BU9/7MHSTwQgCikIICVKGFR/d+IEqcY+T0sPqJpTue8Ry2Ka/ek0Um07lQ5JD9z/JCCopQhw4MYAJLWMEG9va5NWb1mg4A9xtA7aOHPnXWm96qpoVB3sBmgG566drRvlvUq24GJIQ9BLM7NNEvHDUyDH6fXUr4aRJtIsK6IHTkKS4h7BuxLJGsM+mtkBt3otj1QQ26jJhFkWBlYUtxIrKg9kDEZ2K6jkSduURBy9/FoMOIBSu2nLm7wFewUNHiJEmTo1CZSrWasPUaNGY69lF8MN4PxufB2D4Vw0F/MKSn4h7NELduKpd8u9r1uic2Tp1sji/r5/zj4FmIVohNiEaIfohRiYcujFGbeZYQzRDbEJWpWzq5/Bp+DmKwfS8Bctx3OymCrpakWn6A3LURvpKcDRXUkMQDCtH4Jd9FrEahGe3nxDWL9m6G92ROw9Qdc27qltP4fJJJ2BqedNXOZHXV6bpZI1dST6fYlf5TygXKXIHwfylEgx4T+1iz58bDBVf45/9TeT5QJcPXpiCFU4+tJvnsxdfHNzJbKLD3kY4lIj3hqdWLotzkr4bmluP8wxDk5tecvuNVN16d1N54YAl5MmSX5lzeUOlaT48koKtghmBADNcZUNb7jW8Y8+Cqt0z/F+UvjKawPHDwyIiWsFAsKCO8ngpE7NQ06m4UEjfd3NdnQMcX3ezAeTrTy/R5R8NTy8k3vqNyk6r65Gj84leGDv+fy0CF8CXpJ1xjiwiPf0FgLlxeY7+RHgUawWMelKyXURXKWTIN9fEdVKoZCy2VwTi7YYBp2NUZlD+o+Fqzwoz7C1JjPyq00V2EHnbYYoMFy0HWn5k9Xzy/L7lLH3Jm4qWyCAk4AMORlQACOeNgecdYykW7Kkl7o9jNRlKjoDNkR/6ao0RXwRgmIt4WwoPrhuVGEYvnvWAcmCaOnCGtuC+knGsHdSmr3lOIgM6DMSIIOKOWbTrFxBVM5qNuj3OWbUa4BCQPtpFpjiLulozUGfJozwvam8HoZMMVeuiFds8WElY6OxygIIYdBzOOfE61FonI0uuLEh3FQl2uuXXvzlZ0f9Se32Zi4wfw1hEYBg0+uJa/SQz39pLvSkFI5nBLNiNAKbRoiyMJWKzRGUTcITjg3ZCgnkgRktEcSngQg+9Cwxr7k479NI7+q9085v01fSY1D8VLPczdCj/0Fb5LsAvzHmTEgD5DJoyZfdYfkx5wHfmc6bVHf/Zd8QvVcDeD7Mlob64b8cJwUJ+jO5TQRMQaaSUIx50OxE/rS5juJRXSme5SCJZspxWXiLpA+yg3oWCP9uLA4isX9vDEHcpnRVM5pISKku6oyhrnrJxBDS31lSQXj/dZPpJGLVVUL61x3obw17w9fKG4NOO7EY12tTV3WtSxP5TH5dVdPly9bA5NGeJjmH4mGGXck4AaqUHzShm7ztTEDm/DetgIm2EtbK2DeYWk3w5OZ+4W9OvDSkDYBYULQ7vtZcNFuCjpmht2VkC4ESFY8oggsJWTZ0QuzzsVKFok2CzbliqKcRaMMhUk8zymYhwzNGdNd9uztX+DHUK2wmAl8HcmHsEAnMNg0cAHAa7MoIqs/R5MLHrwx21EIxEZKEQF6sBGPyYwi0VYQxC3Yj5AYhwQJpRxQEIZByTGE86AUVE68Ux0tQUNC2dyKo9Nk69So0j+74e10P3TCwAhGEExnCApmmE5XhAlWVE13WqzO5wUNSzHC6IkK6oGIMKE6oZp2SoYINA1/oJa8HPFLyhso3FGoE2UncQLAmr6V6td91Nm4waKcBTDCZKiGZbjBVFSqTVand5gNJktVpus2B1Ol9vjxRGQGBdSWVrLL9dYhXs94EH3ud9DedjgBS/faPYk/vLCE/MrmVyRWoRsw9pXZiFk7QUVrmGtG9rwFobW1REBDCpSEUJ8QT0GZuKFkUbW3YuQ9vYvnz60G0CSQUAEq1HoLkUia2zQL4wpet03E7EDtUwjN3qfhGy5zNBpGdaneWF2T9XGlwjMlnxKNiJ1N5upoyWRU2/yatRkEMLbz46iRQeSVulLFw95y7OTL7lHUzAF9Kq+bCjA3JTt4+G2NCz9vgVHGFKRaQH5p640jenPdHpxgPxktA2wPQon43SAGazCUM85/FiZEnaoRA7XxKQwJSJWznJCpbC+GV/cB7BFLK9YN0MAIAvnPLIYowMxQLwEBRSWXc62bF8cMLc5dRZAjSG9v+7DvFXL/EVo42Mk832a/9DXcE2Ri7fYgnuH30JQnRRNy2IL7x65A1FMKarL92nRNzqFJH+KUvJ9WvxNtiPLhiLffJ+WfDOLUaRMEat8H5Z+N5f+hyOUIsjkYNnxfnwpgtx2dOmPUZ/Sux1BMZwgKZpZixANkMqx82Pii6B9LFLH2qACfjDtXBvAQgYBnDRhkteIqizQzayqlxAsWMKwsyZnpir91zYaoCfAdR/SK5i86cWMu7YM17zv5fkaFKT3uhe//qVQlx59BgwRDUYTCAFmyxTYMh3spm1ddtcperrDX52RkWpHgSIlylSoUqMOT4s2TRoI6AkEHkd73KgW9TXk6aHVbyAP5ORXFpX7G6BOcwY1jULhuCSrHSjCIEbb42ldZySQE18c125M3dKTLUEDFBkJEJEl2aS4ARw1+zJkBES7K+FZu4nb2UC65kbIJPg9ZSOwMWOMYgL0cEJmikOKxgyH3lrZFjYb486rc2rmvovPRuQcjdGk4kIuLR1XcR03Xfv12MCN2uSYbu5ioruVWxjTbdx63hm/rdCMocs7jWkUmOGMCs1c+jKWT1nIyuAoN8R4ZCXdx6x2xe0qH6IGmzVr5aV/hVyMsVVwFWZWt/rhaeuw8v5RcIlz2RjYsGHNullfbTCxDrFp1ussf0Vpr/9N0qZkBDMwc3b3FjRTKbHj5pzGeut+EeIw5SlTrUWvETPmLZtFOBEBYnDwDFgS2VK9nfswAkuislKB4Wg8u9BUa6DOp3dDRVJjZ4wxhiRJVVVVAABERORw3KTv140eMBAFbuSCY98xjFV3v8kpd7hbn9phosRJdONlrvN3htJAAuHQaeeDkSRJAAAAscvqSy7MAJXOrxAC4JKaWLAcsEUZbPKv26imrZuMs8k1/yJDhSVklVS1CohKyathK7+kn6g5L0ob67yosc6Lms+q4eoknRBTLlXdtF0fhFGcZF1EUk5p5/TZbQTlJZFChIgh6SPzFi1XW5kVV1tr/U0GxaQV1GpjZM6Y0KSnMp2ZTjV8zNglVlrKcle++nVueI+GTZi1eL29zjRAgWeINDY3jNlw5S8SCkZgSVRWABSFpzHXVmHcN+ba9jHNy7rtYy7rto+59p6VOuAAEovSxjoPIMKEOQSJI3VSUyjNkugcSDJXbrRzVxNFYol0TbwGIAgMgYZPked6dKa2C1ZsIEUzLMfd3SYlaLsr4dzX8YWvnlPDqUhq7IwxxpAkqaqqCgCAiIgkNSE2xhhjjDGZzgcnSVJVVRUAABER2ThJkiRJkiRJkiRJkiRJqqqqqqqqqqqqqqqqqqqqqqqqAgAAAAAAAAAAAAAAAICIiIiISNL54CRJqqqqAgAgIiLnT4j/soM1w5UxVMw8M9YYYwxJkqqqqgAAiIhItbLCltRbY3m4R9OxmFvir4F7vwoAIaw+VcYsYN7Zf/rj5MB7+huTG4+6V0wdULh6d6enlI+vAWF7PD07D41wbPW+yvK+MM4u+p7AAwbvZ059g4tiNvmdr8wDrt0xFpzhMqcnloZBimKIWzeH8+CT6OPSJW7K72N3zN8JONX59o6u876TQo78bi6/pzKTKN2lyxRH1OkxO4B68GAenF/whAtuuBffJvDuKXXAUFPGwBqzcW1c1up762d+2GrcrykiZ0qt1EotLIJpXvuPC7L7k9PSCN12O91imY8Hawo93psHd+tDLtz4ax704VPF+md9oXWz0v3SVWrc8EZ5Pc3+vtvUbUfd8v5vUMSAw9xmw4NYqfI5WtKgO4dR0MuN99bYbBc9EOZyo3iLt+RLt+wrtLCVV9XVV3OV/OAkyUZo9k/YU/i++4w/ly/iy/8Kv/bvyTf9vSAjLXHG1HvMMoHnrcEABB3KbR4QgLUhIBkCAyFY/8IIVsKyTp28Vy3LJrXvXhnGdkUnhmleIhd0xU51YJw5ppLa1oxNQhrfsqGyMTMYUGiOHIi6Ww43RcO1LxMHWXm1TDCBnyNta0Jmamon0YCNkD4znjPFrqCtbIyfh8og1HYxYsacPQ06uitkUD0YDRttPCTJJu0/Auz/ZpexUDXtPih2n76yS3hb2lroO3ymORfmmmYM40C27l6lVhUcvVByb5KchCGX8cd5P2OeMzUGPQbqfEghf27G9rpzp/OjnK9KNoKAafTp1DX9iyKPTNBlifd1nI9CkjiJl6w88A6Z+30j5GH/8PKY/6V53ppBXq1cNzwhEYn0O3/wF3+TpQoJBQ0Lj4CIhIyCioaJjYOLJ//QE1UrNJeCe084rE+eXfoWeaR46fdlJ7Nd9HyCnbC7levUypWCdD/m5XJShrj+X3QhFtj//kAPAiRa2C5uyTipuRdaNbfoFl1902OwP4aNtmTcVKtmHLWJqp+Zttic2jCzoDMs7JgNO3cPhp8nyxEQJHBuSoKe28o8ngMWDE/U3mOP7//54P6/y8+Pf79LslBdlovpqhJy15TRuq6O1009Bt22ju4Wm9hutY3vNnukbvdJ6p/o0mAAu7JhZBLqs8pt4bvJE3B10ybOb/MmL3irp+3Obm+nqN2f2N5pTOXAjIY5MYvhTs16hNNznduZuc/r7LwWdm7B43UsejmdQwwBt4QlwC95yepXvWoNq129xnWsQ9t616t9/RvUsWeb173FLerd5jb1bWd7+vd8zw3taCeGXzPfequ6POXVv3mblkKVtRatrr1ULR3l6+l8t4GuCo10jxxlccwYy+PGWRk/zNspI4zOHWdsyWTjZ896/uCBg0ePHX71teNvv3Xy/VP2r5tq9U7BQJMTs4C4BTQ5kUqAgygLUvYAAawDA41PiYWUJUAA68LAou/0JRhSWgACWA8GoBIHkQcEYH0YgIoT0OJEbCEAG8AAlMuIXP6WYwIB2BAGoJyG53SnOx1lEICNYABKNkKyf5aha7Hxq0ugYWVFxSbLKbDeO/J8kth0ORROlHuHl14dNlu+gCDJ9w4zVGqx+bINojTf208M1GOLp3TBfJDSTQ22XJYC78d9SqVzOmy1TAWCInEsr2SjZVtvxwIsyXmjS3p6bLPcjyTN+XqXxA1/pm2h6CTYllltZJp9a0T9Gj6RzYuXTGgbWo9KvIlBUfTGgjt+uyYx/ZJDAUVUUM0Mm2zxnAOOOOZzkK6/FmFpLGYJlmTJnIEzcibOzFk4K2fnnJzLclueeujQXt3wYZCy+LbaDgoxreoA8oTmQPNWkYTa1UbC7Wkrxo28kUShIGlea4AgnphOjGsSPaKu6CkDyba1qVylDgizCrFdjCnSnD/hbcWb7a0RXLaHlte0tHZIOycsNLuTtHZkC7MjiTJoS9LaCTplGlhxv12EIjvLTrpEhm0FEfTUWuzilrPCO7x/imuGXWOEWczQ4M2pC7Z+SdMm+tvWyaJcuVpJ8SZq29aV5Ejii6TIBFjPPh0qZiCEJcD60rngAr/EA8pIWhvAmXxNbNg8E2BDJ2kDFjR9aMAZktw4UqQoN4vyGNiYBPGyltsL0rG3ythPZC9UNxqcXQA5s6peBXLeCto293lZ79WH1B+judU7fZLaPHX2Cxz++7yoy8u2U6vtFmLhFsEig7KVjNPiM3Syti6iZAv4jRzqhaNSimzRFvIZAhofojHIPDVk4Ey0iwrqYdDNFJ4g6EjkUCgVYryt1PKjufONxgP3fG+81brdvzWLEfY8E4E05gLB6BfGjvko+UmiheF+8VeKP9s89M9Yz47NYBQxaDjp5YUS7qc7OlGYbJ3kT/HCvD1jKhUe9siwrjzym54KDAoOCQ0LJxGhcgsdrdLnIWYnsZLr09IzMrOyc3Lz8guIxRSLVBImeM7DdO64pLSfA//y7t8t9tM8tA1c668t9bfl/rXSamutt9EmrRC2WbBk4q+vCsW9MFnsHDx454Mv+BJBMZwgKaFKwojnPEznjsQS6cC5d5dk/d8YzhcEHEDpmFHoVW9kUiWUezM52Ooet6LIMmgbFV4CDWAwKRr76hDjkqysctU3/JsYmaKcVwrPHbRB7okTM8AwEiHoUgiSbF5imoMoUi+4cWJA3W/TF+jcbnrAvdCOQQO8GEwGDk5gPFYQmb0dhm0oS5ZKWvWZWwSjTaogMFlOG9O0IOYHGVh8uD2I5TLaWKXlsXlhRWzDsEcOZvq88PCherGhygjgdUvLQW5UBiJvsZZUBn1sJZXNoc5eoRE08LjmGsaBy2llEhUFRpQqwBzBQQxJS+1brUI7YVAi0AnkJEugIJ25B9uhhk+jyavxncBrKMgeWjXthRlFATq5C+S8QuvClwlRvPGltrpGayKd+ISzKED4OfmHLy8/qsdZ97l50MbJPPgDjQd/JO/idSoOAQ43LmuPTWoNCZBqSJDdeBOMQHFBcILEg0KSBp7BEMnCg4DQZKuRMF52njAdFROWg+FdqMnzcX1ojoQPhmHYeMdCH6VGGfGM8i7iH3XukcCY/yFzbSwerVwfp776iB/WEsnrzIteIlu34t+wS6e40MQlmyneTy+aCk2phX9YyZsSTbL5GQvimYlKi2RnpKdUk2mBedAkyITVRMEju5DSBJHqi+KaQohfSklcKtRlMGwLLHwRQucch15h0OG1YCGGAkTvygcOzw+1IOlHFBPLLeP2FUvFptwi9udLySbdAjZwnwoKkkkG0pSJeVyMFjZoa/xD/q9zpIR6C0bUC7ZUNtBDUhJRLdgQxXoTpDMn12IeCEBbps4Bvjo4/h2/3rhBcvg6dfxHqJ30H4sD2ONvpQ7qSP4I/kvwkVPfpUdBuSCz9GI4w8i39S31jOb6pwzSbcWg/mcVPtcpoKMC0DgpOJaZmR8zIW7q4eghB0HCxEmRpsrRkXr8v82RnuDabGMtr5W1psZqvCZqV326Tqur6j/CI0JqSbJWNotSTGIWQmySl3Z5JuXSJKSIkkhLNsCBKpxFBGkUsQPRSMFrTMBDSoQaTTpknEZjZMc5XMCV3E01dcyyzMcsYClfsIq9JEhRpU2Xgc6qqUipztRGO92mlLpskBkWWrLOHrG7ds96fCu/6M97EL4MBeF5eBlqQn0oBzCgwQlJnPGIsSGej654PvGlaelIcqZy+pEGHbFjXa//QL84+/96eGIx/SYZaE/kUGmlkm7J7xp5OcwPtoW2cdua2/rb5G3KO+Q3A15OKjX9O50hLc+yr6t5Ql0LgFs5secoWCSUNFg1To/BAZ64oKQk1Lid+fnX9ZrwynSBZFknMtE0988uJQmTEqmQFmFEloYsAQxezMUt4JFBCRGIQRpGGwFGnMpmefv1Fua4n/ks4XOymscVWjKWku3OnUHd8Zzfo8+/rSxUBFaoC4UANCsTVFJ7NWpG64EnVLu0l+JwWdW4Z9ZX1z26ynAQn9+Lb8tva20bbPu9Q4yUpP5RRP7qxWCC7Ad2p78j0OJ/8dK92RKAw4JGMQpvv8qh8qHsm1yAfb3t4H0CwO67HdF9/Z1jx+XHZQB7Qz10DPj2e5MAB7UQ7ScydBJYzeHK4d39oP3G7y31ry1W3bn+MmM//YXXXuY+52HsPuLv7iYA+9z79r8G6u5t7r3Y29+X2hfeR+7T7k4D7I4C7Pa8aH1R/8J5F7+ruHu0+2Z3DWB3aTd+N2o3HGDv+PHsDmlHe1v3xTDwH8TbjC+o2zxb+1t7W52HRYf5h1ovrh2MHRw7KDxoPXoGsLG/sbTx+kn+eurGvXVskHLAA/9m6V2xGrFn4l8AJKoAJH5iGST7JT8CSEVJRUuVAwBI00ijpMUAANhGmEoZFwFBnKQRo42jCwRADaMWAOhtfxMIMQKoKcfRZIoblMwiRgGnhIoigE40j8qsBxEz2Thz1B4LsAiwSMKbzdnehSWfZRrgOV6zfOKmcluCFVnNZUxDoyJWYpjcJ1Exc8HKnSU3EKeFURwMZKWwhuyvwhrDmshs1Rfco8DmMWCbhNZhlz/r4Is7zrLeuwkAbXT/JFFMqO93SeuKPj1+KnvLKzqsfKoThhoU2VozfftnJpNp297P9ofmVF031zi3sveVeWTqhJ1aTlI+WOygHzvcw7uh2xsqvYZMum2+9VQkwf9beXbNKzcWZqF92sKwM5tuxra5KiCBCCTAAQMyGLLhL0CgIAs6dGr5vhzhmEc9GlGJ8leQ+8GnPg1pzGaF3jlUyL9BUMEho3wjOvvGbdzHY1ymbdqnYxrkm+VyYlwYN0bByITEkmMRTW1aEzskfyvhQHlhRlbgQrdgOx3spou9T0OZA1Vu8L+FSRT+ggUKwRYqWJhQldL7AttXGX2T2ZqKdpR3rKkTnZ3q6kxP5+r/HJNHjrYcDdo1nZtm9FiN3TXjf7Gd49R/t2ycKty3TYkWEJ1ZiWVpkL2lzb7Sxae3c716QVQ/8TVIWl2TXrdg656MeqS40SlpzGtuVJqalOamp6XYtDYjbc1Me7PyuD9nqwuznbhkklJJO7DnjxLm37hRfq07jzXraeLD9Zs05ksC/t+Gl0xE37j//kwS77TdutM59J65zpGe9XhHtRSkJ+uTyN57z1PQgJe61+ubqh1MdXBF9/yVZaNz+dGe98rLWN6V/WifwHbuXvd5H9nYjVtOyLN/ReEe9vs4iiUCNwrwbP9Gp/QpbXY6m5Ou5qa7eelp/iDhQSnAO04wmhgVSyNuWaGd7pxchhws44te7ml9T+E0O2qWTfGf9exeBCgoHcOJ52SFYB8JaOOBM/MjYv4s7z/693/0eyWHypSbNQyyRultQfpamMx6prSxu7EsWavcrTlvt1dIq73wjQpnFxDDXs2RMse6LDla1ox00WzPsH4zvLsrocppGuFKZl26vPIqmN/0qlybayjQ2qr2flKqkcPOH+Y38Ng5coNHa0zHbFk2e+vVVEsdtWdkUlfkPbD3bc9HUzhF06rPy52N4Ybdi+br/Jqfszb/XmplHnN9d6ISTXNX02LpAR3aZ92J47yvbcvNvoWkC5N8HVyf5Gjy+HxhxfD0ENwqVlW11RAwyqPb02yPX/Pra/JfRQnxz+85PgcXrfxHvGT53HVG+dfwyljWkGVGzVSgHRwyjT9R/cs3/W1H05RRqw/7tv3tzdkEa+pNuxTevm7e6XSXesVOpu9Qunm6xC8BCUxYvONqiihvscoY793hvO12yLbNT3521i8StSxRiUhCUIkxPHFJTGzik5TIIDXXLNF9mZD+a6xB41Z0xud2dyF3zbTHThU0zPFgk5H0JAfjg560p7OJSGqP8kCnZLpqU0c7YrEtZvWFJTbsjc1eVb43DdBQUs30l3n+NvCatSaHssr43vpOeUbP794k93qyk54M5R8l1sfd7RAkPuEE6jd8Rm1vRZzl261EwJ3x7O0zdOuhdwox6kSu6UEe6mG+zlH1UDVqMnKmO2ihmX6mKKCJ91VVTRNN9dZntYxb13UXUWFvmGCSaDEmW9JeyyzX39TeMtKKE3hjO9eLrnTVlEXczVM8pfd0O17i0r341Xv1W7vamzyGM5dbT/hUTvXUIN3NU/fOiZ/GaVLsbjce280Sz2eztwoupLC015H9X6crgPpbZ8932hnYFwGOITuyUxwnIYpcO/8380qv/CquiHOQ2l0Z58b5pMuvgIIyFFF0hH1pvwMOT5wjjjm+RztpWUCo+/mmh4+RKy1I9h835BSVVFSVtbR15vGJn4IV80tvn/HJTlVDc95d3ZNqs+z7fP3evPp7bple5X18c/fp/Xvv33/34b2/Rq92EyTFtJVx/r2zGq+t8i99/V/1BryaDXkFq79D+2gf2EvkWyd9OrcjBtbf/k7lgd7thqyXuaKK+dlZvPYN3uesY5PL4M1Z2xaeNk9RC27qrJs7915c1le0va/9jt4fdxxC2lXwr66GD7u6I64xOXL57T3+Pu2Db/i+SsQb3/POUdAihS29J99p5O2YhO1joDYRiOOgdAlyb85rXPwbuW+v6k6V9nsOXPPcWdMEVC6X1yvB6323T6/slgq2XKiV98T7fAedwSu/t50ylFWpO+SAG7BIF930M8gw40ywHkbB56dSfF/ypV46LgJtQZgJUabEOVLnzpwHS56IvFjzZitKtGixYvDFihcn0TGYfsppQ1WbqttS06q8ttW2r7ldjUen5+j1HoM3x2birps8dlPH4f3x+n2y/pyct+JLc5eo2iWmdourPRIUeo1jsmHrdf6Tnasq4KcitzUmUROSNAWtGVl6ka03OfqQqy95+lFmHOUiqDCeShPot4gBixm0hCFLGbaMR3xmBTyR8lTGMxHzchYULOmxrM+uBV/QrOH5Ry1XpB2OuTsz9HN3ki4yhRcF9zhAYNwgOBSEhoPwCMAYEUSGgeitInbriN8GErcZ661xaWEkLBzqIkhcJEmLInnRpCyG1MWyujkGNz8W5cj/5Yx9ueJQ7jiWJ07ljXNvxKV8cS1/jlcgbr2ZExVMTcsz2oqMtTLj/SIT/TKT/SpT/Tp7zURuNkpzUZu/hy/mYi/uEBevoEoqq6Kqaqq7HSxJUqTJkCUHZ0CZ58q9UOGlygIMNMhgQww1zHA2jBk3YdKU96bP9XOrrLbGWuvEie+ruvXqN2itYSP3vJsaH1K7QxlxiZW6UPMObf1h0ISngUCTFm06uWivg4466ayLrkyoUeu1OvUaNPaDjTbZbIutttnez037s4v91d/90yWNVUaeAkXKdH/DL+VSL+3SddNdDz31osBtr7A0/b56mZdtpFFGX64xxrJrxkefft+5gisy3wILr0SkKIsszpv4CVLLw1d6ZVdutz3xiV8/1Wp32t8Gr1olVTDDFHMe7MQ+PPEi0CT88CfARJpoxgJrA4kjVuXkxi4PCSKYEMIIJ6KvuEeaaCTRMdm1fu/nDmEfQQwxQhYtNNbKOI7Yrk7McMOvfg1rXNOaCV3LWte29nWsc13J44Q+hY1Ut753OhahuKvkK4kI9Os6f3BeECDv3yUaCk1G9uMfKjuRwIm/aFt1Z+dDibpxv7Di/yURdXP9d36xu7w5kMU33BxSdzZUEgor45Bqur7kD0MPvXTvRf6LVWxiHctYnNW8YNLxWAoZRaSiGRgCjuaO9xY647REbJ9rXjng6Bf8YCozMzTX0zdQ+e9mBK2s1ELftaanb2gARyOx0/YYCoG5ZRqjVYIf5UZSXZOkndGTt3tsG2Ogt/ZrpVIDUPpt1DJOqU7ASSDzHyw/2N8+uhjFht6l3V/8HixxD5e0J0tvU2Ws2L9aYYxZDysc663PZXpxOnxatJJbv+SWNGFJvzKs4C5pjG+t1AYQi9NrVQWt5q3qQTFvolrfKn/rwgkAXngDAAA8D6DhdJvBXQEKg24FKAr6DqA46BmAEsuaAXK6ubflrSs56fW2GwzOG0UGm2RUseuue+SGGwLddJO1W24JctttVu64h8d9D/EZ1XXsxEuPnlz69BUwYOAkQ4ZOM2Kk0i67EBgzZgrdu4GWCbvLlL1lhk2Z41IWhNceosqS9NpLs/YZYRiwfzKE1QEH8DnoICwrVuQdcgjRYYclW8kIKgYAqRimCEJ1OG6GIMyRpEWKsk7TPm5XjDG3CmthN0YcR4nntQiCxkRlpx5uvb3dyvv52zU/FNeb2aizLGOO48zzEgVBiijKlSR4WTalKJ6qqlVNcwqAn0HnkwRC7mBMmRBqlHLSdSF/bVCmqc6yNNi2TsfR5+4uFFqXv016aOGfzfP+9a+H/ec//TJY4W4AQwrdDjC0yPMAhhV5EcDwQs8CjCjyAoCRhV4AGFVoIcDowl8CjJk0ZWHsptI443Qw3nhjTDDByyaaaHImKfwdwORJcxembPqYappjma7wpwAzimgNMLPQfIBZhVoDzC78G8CcSUcX5m6qVKrUMVUmv7pQvXnZPPO89s5337rHgl4E3Vi5kOtQN3DdpOsWK+o2G7jDfXbygEfcq8fc0pOoSCCeanmkzLN+UeZeesnEK6/szuvmJGHFmx2m3vog10cfvcsnxSNAfC72BuJLSS6A+Fr0D4hvM5EV3/cQ9MMPZD/9xOeXX0T99ts+f/jLaX/72yn/+M8zsKhRY0zOm7Js4cIecRfH5UuE3ivuYVx1lU7MpN4L8T0cCb62AoEWuaaISoDaIiMAySJmAwsFLsCyip0GLHsi9NsSvI/eVr8JGAyEydTEamvTyGZr5nA0cblaeDzNfL5WgUALCOqBIH3BHWsLgugMdcCIPhnDTOG4UYIwTZLGKMqMUGhcJDIrFpuQSMxJpQ5kMmIXRZy4LyRIiCZJ0ldbbXWfFCnfSJMWQ4aMNbJkPSFHzg558pgUKDi2zTZPKVJ0QomSMsqUnVKh4jlVqs6oUfOCOnXnttsu736TpeEto6OJJg1bC9RT+0bL1gGPnN6OyC5Auu79rZ0IS8852tKHIQPnWMsQERlFjgPaFZUEyNg50tqNpEyc/S1TVGTm3GiZoyoLZ22pt7ZlVW1np7UD65w73vjP3gnbaWf7rK1d2F672mdr7cYO2t0+e2sPztae9vVbe3Gp9n69xd4Hl2nf11vt/XC59n+99T4AN+lA+zGtg7hZB9uPbR3CLTrUflzrMG7V4fbjW0fwgI60X9Q6igd1dPjFQMdEewnoWPuFreN4Ucfbr2mdwEs68fW4+yS8rJNfZ5+CV3Tq6+zT8KpOt9/WOoPXdKb99tZZfFpnv84+B9/SufZ3W+fx7TqfP5wX3PjqvhB/PC+68bV9Mf6kS8K/DnRpDPsBXRa2GdDlwTZAV0S7FOjKsM2Bror2CtDVMXwe6JpgD6Brgx2ArgvbDuj64CCgG4K9gW6Mdg3QTWH7AN0cQwPQLcEFQLdGex7otmjXwxzQg4jDQLHBL0API04AxYXXAD2KTAIUH/EaKMFxp5WIgB5HdgJKihwAlOy2HkqZOLlToS2mc731BO9Kw0zpYQ4AFVbGO5esTB7nG1n4n9n3LYbkkMPznYuEM+8+c4l88rm3CniIDTyd8N2FSD+LbrB2MTLqGTkqCdTxXUCl4WVAZVTrOYNn+Y1X+wX+qCLcA+ilK2qocpb7vDpYV8usKt8JDdVUI7BqRHcCqo3WBPT6Oz6j7mnYCFqNRUsCao7YDtQS6Qqo1fW41YaU2p3skiul1cEudYaJAOqKmAmg7m8CeujhGb30UrHfYL/6bFrrLaVn/43YPYCyc/DGw/0Oz8+hG3F7GOXnyI1HexQvNBaOBzQeeQvQxDdOOA2UGTMuZVm0HGeM5ykIgutFEVaSfCvLkPiszz57YMaeBe/55Ub3nsMBfbX5Wt84qO9hOqD5qGhAP6KlAC1EtgL6+VavLLLINn7xC2d+85tz/OEPsSyxxOX1l3ugtYy6/tnI0MrEYJVV6GuNY9XQ+oT43sBJbYaVgATHnE4EklDH3E4MHuGOXZ0ELor4G7uPQnq8iOx43knhpaiOF50cVIozZAUkV5gfSG7r0MhehOYmTcKwDQTRhqI2MUw7jrslCOck6Y6iXAiFDkQiU2KxG4nEijQy1GWXV85iyHprCdIk6Wqo9Vb+Q+qRxvCSEeo3aNkwvQAtZy62locqBbPYehuXpBjqMKCVbASHVp6gjlChQogqVdbUqBGmTt1R223HoEHDCE2aajTbWhguv6g2q9Jx/NoOqtE9dkZHg16sT9B/V8RtgD0yjL01GMXODLu+OQVjjHnD7sPk6vgyFesbMPNuGsznmUkssOC398D9tPz53Nx7Uat9EbPA/ohp4EDsiHAwsidgFXsqHHJY7TBCOhIzEKw979pRTGTjXmnH2Ist/2EjO1d4+H+WbOyxJw+Hw/E6ljjhxH6ccWbfdkFNuXJPx6OqwS3mQTgRpyKc9Ay3UyTjzmkSy4Pi88z9xnk88SRun8VgnWOozvNOF37rcC3h9SyqS/wsb9bqMv90JSY1+ER0gm8MM1yNXgj4RQMD10y7WA7+c9uKZAgQYO8b6K7/BQnyn2DB9rvuun1Cxo1rsnNTycng1qkIt91m6Y47xIUKJZq7SvyDsJKrQbj8EjHfyeXe5lMizeQsUZunokVrz30FLc6LEFPSFx6UDIfY06089JC0OHG2e+SRneLF05YgASQRcTy54XH0fUiKsyeQHBMbUtzplkpzMenTk5jkkBYxCaR/q4EMMtDamXCpLNwqm+PKifaE3GhlyHOutXzCz4L7jBxPn8LwgSKKkKd4P3ueVTJx34TSqGEoi/s2PI87GsqjmeFFVCFUxOSGl75TQ+UM07yChf+qErMequOeC9TErIZaN3p4PXk7kerU0VGvnm4aPNOHxm6Kt5o1601L5zlLq1ZX0mbWZmnfbMPGVqBDB+V0Ku/H0FXqFugu1Q89c+qX3s2SN974kz6l98Pb0qjQX96pMDBLX5IJs3kCi3VNOP/5tldlC3EHkeg+EsnNZLJro3T0i6hUT9NodoluEr1sYyMxmfRYpt5v2famzOGocrlAHg/A56sIRByx2LISiQukpiP4qQzHqQsROZ8xV3DuKiFcnFSG84DXrEuXt83VBoNLjEZBqQmHoyWX6y8hIc2S4ujXCAt7NakK/wNE2lRHl0jfm6gMGWpldmbEZMkSyJYtnpymrlgid8diefJNU6DAutRRaFDchTKis4pZRmyPF8SJK7OVFKNX2v0mkkzLRjQ5cqLIkxdOgYKwbKtU/wFG8ZQzKFHSQ5myWSqtOiKotdrmPXXqHmT7nOoEGjTE0KTpbbQU9xrvJsDapUYB65QaAbxjdvGy7q4iO+304NVz3/pAn74SBgzkx1AZs4CNZjcv79pcZcyYXnY71YAJEwFMmTrMjBlyzM22+PBmxR57CLF0yGoOO9XHkeFyDYwrV/XvcffZFDeX0Vzh40x8TRkuX93I8G//mhMgiGyCK5MIwNeLOAF8+0zx4I47fBKqxGLgu2USDjhsxt7l8M1VESK8TaQjd6JFmyba9/FRMcEFwA++sQixxLKWh08cRvUoYg9wfGgJcILjSjuRcT2OeAOcFBIEnByxHDjFUhhOnTDaTEycT36+M+80TJ7pNwJ2JqaUhf4423rfzuG9cq3+y3nkM62CiHfAT0MfABeabcNFsx1loVixY5555qISJSKUKqWgzAsmKrx0VKVXztn2YnHvHa6aG9epphr3VSPaA3CtCWm/Rpm6px43aHiaSygttJC8W6OCtqc9pP5juwcvOujg3u6EirqCSMDdwRPAPTEUAPdGjQF+8+1X6Hv68U8DQQrgwbf74N0xfI1ta0TUU8Cj0aWAx6LuAB6P3gJ4Iioe8GT0QcBTUXmA37uzhhfmsI+f/CR8LfrmYfziF23rt1fnhj/H8jWU+cc/Nq4VoW2AV2OoA157icv6semx/Qs4EMf+BkVWmIvd4EiIYMVfEA9SxG8A2eK6oEBFqDigiTOqA4ArpAvA7epseKCIN2IJYEt4HYAWsQbA52pq6ID4HfsaAZASBJNQaAeAsLWzYYCXCKRT9IbiEhNxDSD+K6/zOaRczRfSyPyjnucnV3sjB2fJw40CyvChghoMqTuFL7ajycvSolraf+V1AB1q2IEur7XTbdbo0VD6tJYB7DKkU0avvfYuvJEx/sNu55HGhD6Z2k2NGW9P859raVtgsPYwhCV7GWUf+5moA4xzkEPMcPg4EhkCYB2ZAHDUrd7Y8OU8dsPrsXX8F1kHYPcmz/+wZ1oOkfEAjtEHAJxiaAE4f6697YJ3co1KAzgefRHAzdXVnOC9TkbdBTgVLQDgHlUJcNrj+8BjbrziDGeYxxNPKjjLWb5yjnO85Dzn+cYFLpC4LnIfGXhNZHGJS9zc3iDrsq3dXEGmfJiXb9QjgKvuPQO/iWfrGltv4D+RvgK4vQaBk4QMQYJcEixYpuuu8xEiRIIbbrDa3DSqyi23tLjttmvuuIMgVKhb7ka4B19De0WwDJp71CvSQ7eJYkrRoWsA91/XEfPEhI39IFiKjYoBeOhWa+IQq0d8rnjQSqBWiVEsgMcxfgAkWfxNMk2VAqFSaVaaRW/SaVGG40KTSZeyHJeabLorB/HKZbbykKx85lQQFQHwNJoBUOgqOpkbFRRTTMl65jveo4QSSj8mplcZq695zkCVw1Uv+FoV8NRLhqsS3nrFSLHYoipnTlPN1qrhm2qjQgBeR80D1Ln9B/UT1auBx2LTCLGaaFSzK6xpoU2tv3H+9j/oUbvjYsOmVx1RNwE6oxYAuiz5ppsO9fyfP45+RCwFvIlkAPQ5lg3ezg0R+ulnNQMMIMEggxzkHe+4uYcgpeHoHIARV8FgdCKXMcaoWeM8fg0mJqqYZJKFPQXpes93TYf0AD64zQczE/p85COmfOITl9ZnYV2A2dBlgC/us4O5iSt85Svn1rdHX2Pnmi/MBvgRbgFY+LxXr5/CrQCL4U6AX+E2gN9RNwD+vOX1LDn+eugPludGOf/4x5e1wt5sVqnSmvW2WaefjWMzhiEwUQvagaEcq6GRLEPYZBZtgQULiyxZucuOnQccOFjhyNEaZ84ec+PmCXcenvHm7YVAgf5uRIIcFAqKYAxpMJFLS7hxc9811+yaHF8vBkN//B/JPyKgABeACKLQ8ACI0EwwXiK0e3OITNChYwIJyRQKiil69MygoTliwMABI0bumDDxxIyZBxYsvLBi5YkNG28YGF7YsfPBgYM3Tpx8ceEShRu3BDx4ROPFi4oPnxj8+CUSICCWIEFJhAiJI0xYMhEijhEbCRLCSJL001ZbPSRFygZp0tLJkLFJlqwMcuRskScvkwIFq7bZ5hFFirYpUZJFmbJ9KlQUUqVqlxo1BTvqVmrLrnr7Fj00aKDRpKmXFi18tGkbHR6SIUOILFnPyZEj7LbbXpAnT8Qdd2y56y5R99yzTYECSYoUfaFEiRRlyr5SoULaffd9o0qV6o6aMxgN6tSp0aCBliZN6rRooaNNG54OHUi6dLnQo0eQPn2uDBgQYsjQSsUcQVxHUQ8AwI5hwiCkgOPCCYIiSUJRFGOalsgwTFhWEscx5XloQWAmirIkidp5uVyyGYY3y8rhOD48L1cQ+IqiPEniJ8vKFEWcqirXNAgAVEAoHiGVGEsgRD+linTdgGEoNk2DlqXEtg05js4rBYJUw7BUBNGConIxTCuOyyMIbJJURFE6aFoxw+hkWQUcp4vnPRME3aKoRJL0yrLniuINAMpV1aimqdV1Pw3DoGlatCzvbNsvxzHkkrlOScZsLly49V66q9SVK69z7ZDGjRt33boVmjsl/anuH3jlQckAKlBiWVkpWMhBoRnrKrw33AhiQ1EohtlxHE4QDpJEoCgnTSMyjItlYRznjnewShA8omhdkpQs21AUr6ra1DSt69YMBl9Gk1dXTZvfbOZnsXjnKaW2jOmc2wlhSGmvlKm1gzGWtY6eZ/u+k3NSna2qquYAANuAQPMDKdb5XX34EWOCQFwQ1COAwVwY3BRbrPrE3rRxERJpSxTKxWi0rTAYl2CxtsbhXIrH24ZAcBmRaFsSyeVksu0oFFdQqban0VxJp9uBwXAVk2lHFssiNtunHI7FXK7PeDxL+HyfCwQyamq+EAplRSJfisVyEomvpFJ5dXVfa2iQNDVltLTI2tqyOjoUXV05PT2qvr68QdliKs1YLTOSAIJE4jhbglTQRCAtbdG6whaz64Jw4udGgKhSYmTFk6NolFKoJaZEM/QSCWXYD26dYNmW7LFu69pny9aBhx56yT7cEm/kPl+l8z7/9h9qAioAgJIvUCBnQYIUCBaMLESIQqFCpQkTpkh4hQNgeBEiFIusSAC8RpQoJaJF6xQjRikENHWYyNiGJLML8FOoQrVKeJfUR1ti77Xrpqu3+yDqj8EEJUOGqBk2TN9ITCSlzGRMJx7qkVkR5uJxwi2D3YJFVy1ZMrsdSe6uw1DBPfdUuu++Kg/Go4su3XIvj2pr1mV5PDYu2M2zHoZReu65uveFe5y1NXYuulq7dtXbs6/AQb+Msw7Hmwfx9T2auzK97fdvGnzyxYBvvhv2ww/RfvopNr8qtO/EHjBZfUzrd81df7Ou2DSoyca0GVcDg6MU8VAN76mM2WILk9Cc/Bh8+Nig42cbAcXOABrBU/Uh1MJnnhjNwJtIixBKlLiLJFpic4ekrZ6SainsSLc0DpFZT+VHtmXjOrmWI9iYnR8/o4jOIVYj1uJFJtFSUEm3LCnkvuQASAdutzzH3HFHSe6uSVBfkvd26ETBJCcvScXNSpQc0luUKXtJhYrHua8QvAAkVQsRByCp9hC8ou4h1LeG1ixNWrRoRNuktC5Jnb2Zott64RP9CqUNQNLgkEsxbPPRngc9hD5YtF305GGFWAMg6f8Q5v8G+AYCgkU4FCnaJzEdW+/EibMOMZIvIpsUaYSlw+KX2Zl8ldVZ/Ez2mkTaJZmzYU6uUpzzRdBnx2ucu7L5Xrtv4W76NkgBzSGxGu5AgzwmWDEnTY7WoSgShoFwj+K+wr2hkqQ1ikKOVniC2kwtrba7Vrn2twgJnawgilbe5D5D5FEubbzVvcG07m9eGgyWM3b0l8nkd2ZP7mUxJWlOWU3NHn9Sa+Ycq3m9i9tojwXL+Ji4SlJme6xXFrR1BAxkFieWYLsyERC4ISI6joIiK3xKZQ+IQCkyoESw5M+hRPyocCRICCM5tl75C1KklEdasR8AIvcYKA6lq8imSlVeNBTeQ4l+yV9CycFSuAJyqNhaKDk6C5sl9pv/OHBgz5EjR06cOHDm7H8uXNjF1amSmIHGNzdVLpcKhlHAsvI4TinPKxEE2aKoSJKUybIcRVGpqnI1TSEA8iFUjpAgjC0TYphSQrpO0DA0m6Ymy3LFtrk5jj53d2HXuf72tw3+cfyj9WXmp7PDY+iii0pddTVRN91U6a67WXrooVpPfUwzxljzTDZFrWmmuZbppsIqnLE3gbldGVdssMF4m2wyxRZbzLFv7L+UcMRRVo5X+AwoPFX4LCiyDy2GkBX4iwHEHqmdOpZK73SWyJChpwIFlquvvkUaaWSZJzyhrw98oLtPfDq6/BSLOVwDIeflyXNOqVIXlYmIa6SRmKioC1pp5ZJ22rlsnXX8rFfYA0qKj57EB+OLS5WYaT3jlFOj+JQONoYW3g1KxxZ6D5ROnbxxlU7bbDXTTJvNMsv2zPX3nsrPSlWqbFCt2hYLLLDJQgtts+RziaWfSy2zzAHLLXcoqxxayWqr7cp6hXeC0mOF3gSlNUURQBkmH73KqLlOqlDhiA996JhPfeq4wQaPHd+RTDbr5Mq13mtec9AnPnFCdLS+VElqFLMGRK5MHrsiVzeTxMTMFhc3QULCVB5vzP1uxGxOy5BpX+oqigGu/6dQLXD9/8WKATcki1kLbswr1BiM/KOYdWDULmY9GPNxMRvAARw+TBvjwuBSh5m8VxSG9UUjxoaNHrZsDbNj5xp79iY5cDDLkY+d+Dq05pCR2fLjx40/fx4ChPMSIQJV5Mi9kIJOq1WoTbvrOnT64JJu31zW41d6HRSSPn2Y9BvAYtAQQcOuE3PDPnkHDkDlh/yt6APgwD+PqXn/dW+Ovv+56x2n0wfeeONd//vfh3lyzDCePevkculpmrpYlt62/a/br3k2fd3cDNI0Q9iXAfRmVgUhTznPY0MQXLL57JduTVnTDUVowBgGZlmQ43TyvFetVr8guBdFviQpyLLtlDWtv/Xd7fBUFdLr/byDe7wbjR5dXHxk9tgW4QjxCxoxjc0zCm2FxhhnznEJggbxK84I5W9JMinLVlLWDOF63Tr4/maeD/qTcYNP+yvu+5P6e97zg5+V5xeFdoGDvxZ1ATh3K9QUnGsFDuCcFesMOOfFzgbnooi14OpMMZL/sGvFhGJkNsJ//D90AeTCqmKgqbCa2N5Wj5gTuBvmmBO5I2YX47uJgcfBHtjj8icDwFwGAWSeSN/5L7+dcvKf8qnf+IZ9vFL+E7jufaSa5jOv45dX2n2E/ooQOP0KSDeDr400VrSx8Z7WDqQvcXHazi0nUOGofqZs46Tlg9PLK+98dogljUrbklEn68cBwnoyFS1Fmrm69Ngqsq8wDiN7XRQYoxoSrqIRIkAcDyPv0IYM7MQevRwPElj8XEToeJLN0279sKrx8cLKkQ80qT7Hs+kE5yIxeFn1VEjevdMc4BoKCPe/OIg7w3uHZm5RetTmit/mEuLRdjGJzoE/7tjB/BSyvxGiqFKrAjdlWWf5vPVjwkxVw4VPmllslp7MhG/9+xSDB2OuPvD0E55K0eyp7/neIc7pFLXcczkVbZ31lSUzMTjqwWne10uD/zdEYLVx95Kw/vbCZ24LU1ZfgzkatV6TzcSFRS+NFLYRtyHStXj35uwRsVZHIC5ed75aqGddwd03nazpdLLWnq5T8bI5fWnLjZfiqgfCxfRdl0D5XnlHch0tzL5k5cjpZ0webZz6v6GLtRUKDUs7eRaSKUY0HLueyXOrHCu/5BOlMN/MjlRP+r6ReD5e7s/fz3S2PlNPYl9B+FwUBuF/6VmUSu65CSw7A41Uql3loe+XmQIVc/ubqv2oiK5k0kkczcziZSz23mqRpSCUiVUvJlvatrJXEsC01ZGSVuWu53Xp0OjHqzc3dY+E/Rl7VVMxZ/CZmxOjpaA+NKJNuCUt8yvWel5wDLKco2fIyIZQyg4t+YYUCEcTG/WkpwStKtVSyUXxPjMzjXBVXoJPkdnH2kTcmOP1TP/zUrJ7sadwSCqycpA5iFrHkG0XlLl7hGUt2Hz31rs5oLrj4x7p+lfLTvN2K8UZK5bvdz85pU2AAoEgLQSL9ueT8hSYJ6Wb7wd51cgsXYNEBD3q/f7r9fVLpB/skLgBgnFRWI++h79DmlGVuWKHlzKy4dZUTq3lXojCgZ/Pu/Jtmy4dK2+110AgHcbNkgnYvLUW9jcrO5CzHgfmXd0/mm7jrjGU9Cr2E/SvpsoqgVUSSV/avr/iF+Tpe3td8/aeCFpNcPbVIzamNwQfmgzXTc3tl9st79sNh7/JzCT96i06jH6Hg2APY+fiEue2jVdvP3//p8/7b74e9YI/NHUtc61aqZ02awjAMhBZToiXAcwldiyIPDL1RskUKYevLy2+lthYVl6Wt8ld8FKiHZjh05AqvGUQg0dOvFve32ZVo1r9tNtiSugr3/wrl3fOfzuyY/bjs4ZwTSH1cxOlnL6iXuCYhXKyvLSp2bUGtipVmDcgdfANG26I452rttKO7C3XYXkYP8s1fUo5ye52zD2/J0V/qM0khUgr/dzZsxLVeiF/TvJ8l2KWv9QjtNE8rB1evSSSCzOgpndzPm6rVyswU1DKqjLkM6/aELAFOyjvFbq/Xv9jGrp6snbqPejExBTfaNLaRwAQUiqCFGkShEDCaeDUh8xjBVwkFZK3nNLsoFVdpZS5QYmoT9poEzzmxlpCdu7v7iuE2RlV+cIsaDERQ0KRdUEmWBi6ZSAhIl5rVh4BgBpezfm4QM3ABdYpBSIagGsmgoE7vo5QALQldV9Rds6HQNZOM9QB986tutKJKG06HgbJNBiO41Y+UqKltZ61Zw209QBnaeQbZML+IFdlxZ32ijExm8DpJ0FIgIBXa23TIbCXxzSQ+BSSJol8EtHfmoQkBC3C5HnSSa7r+YzzuUkZT9SwtdhIktR1tXpYto6/Xsexv/F9ebPAxWd7lPBLaQ5l2bHlbVS75aVlHk/bCad0GgiExCJVsE+3hCrs3prmBpa0gA/WFmXBqsKBSC/J7GQhqhhqjSux+6QTWo8p0diV/Fs2lwGmbtS8+qhqmHDBeL2Z9f5Sqk+Yb/e5r8M8ew93M3rWX3xkcjzoLf+RhTzhGxkqrvRbDr/kCr6opDkpRblAlA1j6a9t2+zK2uBzlQ/uqa5686XUnW/6mgYaqAAd4C07KkoIJUMfo6G9JRvb4rakp9X6q3NaeK7SGuOFYiIWFFAEjEIJVmLqTMWytd6lq4AKxBedleQpbi8twmYLQ2Ugbzt2uJ+jb33fm6VYO/AcFySnUfM7AfyltfOeo+qvR/fVqM02s/7ObnajWQwJ0+qey9U53npkKkJ1PwfbYsxuAhpdyt8CoRTJKS1rRIJ2eiiAFr/wolPMZbkrU6oQa6YGNTWoxJxX9bTrvwA+0IT/feiTboCnZNLbdtWBzzrnM31NptbTkQJzlahtPv9OBVpaYDitJ5zT5w+c/pHPnhttFCGTxcmgjJ2eb/jxJanCVhA2MP+lBbpPjnJpL7H3VabozCX0hSIut4MaMPshO7EQJcFcPJ9uwJC6NAPKjBNboA3XYNNt9V1WwLtdVrir93QxMIq0rPYyXc0Sw57cacMsB95wZO1UVHAcpobhncRsgAbNMo+bM7pyWpugJhfPmPUl5AAo2mJxecbW261u1DVZCe6gVuOm+1bQzFQkrokwqOhSZNwr33I4fa0WZcswepGbotGELXHVuAlYFtf5I2IEsx6mxlkpQcsxb3HayVKtuqauajxk31oYcfye7CW9cPbLROB0fP/fDTifpS4GsMla50YhCgqJT/AIMPMO5MJI3CWYcbys0CXysNztKBXa01XWqaE/sBl5V2BmiYYNFOMt9qk3b7LCCtsLuWg3sQ24SJEUh8k6cJF3X48YdB1DkENyU1Uk6I0spU3D4VgE9VIXMvs+5Mvn82zjKbfpYaZrK6DlpCODyVmDvg/eCckcmnx/PsMUDEOyGA4CBh0sR9bCKJJDzOwP5BAtN5CBSl/fISA+Ww4QuWBv5wAWKK5AguspuIjCedRJ1mBPL2ok0ZLcUcQ8BDVt0pcqrm3cqdbxQpVFV3jsdICMarhMkld0gYoW8ASpi/3tUDLse27ZTpiIPKSAIK6MrKuypb2wDtpkXq9yYCyDa/AvLGInMpkFkcU/zAwYio7fvpVZreNS3Ik/DAeNZnnbK9asytOk0dBBLHnLiElJuV0fllFoo6pYD4/yUcfp4PtNYw2wCcmJ/vRj8/u2c8uuzVM108+KZOd+kgflw7VRYVqiOdxOP5tXvRyO2njwQqnECuYxTbKa9TlNTE8OPJGhQEi1sVHmFW4INfNi1xkLzIznFEo7o6YrWmFa1LnrCIvH6PXbTRWNhoKSrjJZ9LDn9FeP5dO8or2vjISjTsWS4902T3OaLzBLcDXBYGJjL4VaoYmuUSO8KNZYUNq4Au7FsOcYqhq/krM2q2KmrPDwsfss4yZiu3YkDWy62a/jKZd3N8HIEku3Cn9OHj5KwAEhcZnAgPohcmJ1X5ODZcUyYil81VPQFcoWi4DvPC/11laKFhxGalSaQm7O9lAUzOW11BcF88ku1EiQd7jsWEBD4SJoYULWng72B1CDWy6cRBc7lqC/9tMVH5n1Bgd/+hDZ5YYe+htnza2PqAIMC5vihxsE8LD0ExyjoAmN45KKamxKI3hHMVQjyW9RfJXmv4LMSrC9JFzRcqu5wTSfab/8GDy59KrwlOtYSSSgmEpD7bYceih0DfEVa77N8z08c3ti3WbGf4wDmtIIKaSQrs3TLoUQ38fLb+6sAGBpgv2iO4iAzK+hVFMC03H9EgDeydX+bgczWyRrqd3M4B512mRGm52XHbXxw/IYbjB5kElYv3anEWRR6PfN/VmNKr1hBRttiTzzwe8PqAjtzpe7NFxnjQYnEzmQF73I9tzNchAXiZBv2QztbJv83T6t7FtRThOFYsYC5C9NJuOy22zGZPXhDFgx07t6r20+KcrqLdv1BbcrGKTUTLJhHL9Reyk/BUeyL/Lpdtgr0a1Fas7iLi5XeeOB+4A+zNhTWNDW1AQCn7qlX9YLzuogcxWW1MN3lEPXUkY5da8m1MASTqP6Y6TABRn06Em2UtMNYCOYKrntBIsBjBtN/lvjMVQwzC0rHzcPC+3XmFBkOQpGVndASw4Hdt89bRikkB2IUzI+Sk9Ep+n1ToJttI6qI+tUEGO39aBPwH4sZR0NS6qh3ab1kqj4cNuQ1rzyLZy3PNWN4MK0nTJk60wAo5YtZRb1Fke0pbuLirfQb4Al9rCvlRG5GwGrXP3dbib3exja255nHaWhtauoQih2ZwRtvqmB/kL5kc11dxRi+3FTXUw6iFDMQE4JBd0VuMsoS8TEFnNk4kxr1ZcGWFPUkDRd2hBRzo7Rs5s93XbmfSD4x+/DngOsjCBgqxjpq5iDIAKg+6IEtJC/WlQ5H7ZZZeMNrCeP9MsPuZJrFTZsHi+gSzPqBH6zbCPY2Q9sO72aNvj06KYba3hzn3r5Io1+IgEGWXC/6jep16keyl6Yfse2JLGGPNaX0PHM/J7BM/XMOZ1YPE68EdpJEgivxGS7TV+f4Lmjo9x3B2Yg6aF1ziQcMVnmGQMMXyXXcu6gxxQF9IQXDmbNMFsdScVSKf/uC2kENUoFhdB6+TPcR7csH78J8L+HBIn32xkOtwZlQSv21R2J1KajEiCRZudkBIKPTI2m4JutvcQWlR49pQZnCq4RNf64azYsl2T5rSEjsBzRO7DufvCtOq1E78Yp/boGpdL7KB04DbYny88+4NdwM/H/OOe+0hgzhbUQIGUClYo8EUtivAI8H1dR1bTPRHfCNZWnUs7a7pGHjVy3L3dmA5KUsWGK9F1RfxLUT3KDsfRexBGWOk4/6aKLcvaQpjjJIBMYPd2B22bLqcNE66DTxHS0+cy1IRpguMutYO8JtK+dZ0u1hAqZifwWp8VXxeo0qu7q0EZoyk75IIQrwo8leNghJekZRkFTWEPggkEIB8YbfrpbgzwDKeMkiE30I5kgy2GCGJIFqOcjQ3PqYI/6qCAZj7Gv1vrf0v7aQDk7pU98sGB5Bg7av5UfWd4HQyXVSAePXgvoobJFv7IopyZ0Ww6lrZL8bU+tYpaw9wLY+g4UVdqP+z3h8fR765OVPGl78qSLC1UV2ADue6e2mi0H+JIffjBb+joHU7sIR3oaE8+pDWzhw3YMD4I+1QyZA6OXR8aQ6Vr5cXcW/R2/UqKGKkkUxV+/9o4lBn/AFx9XJIuiK3Nplvr7hFjphZbK66GhRdpRIceTFyjGtNIVWdf61JDFaRjd32/b1rY9tuwfnwDzNaBtb/l5iViFChWF4HreJZO3suscBkZqFkbVhCloUCA7RqGsjfenNF00tVilV1RWYwIXDPJvzju6QllALK8QNA9BC7vYijE9FxGglBU67HAON23JfccCfMb16+OjNR0e4fEhro+v8XG7/wvjlP9ojq8z1dHn94UcijxpAXk/1bDL0d1PVUOmORMm20h0rLPyYvER6vkSYBUO1XcWTI2/ghZmQmMqqdjHsenDkr8OQ6TBTuYyxR1nx61eo+dJG3TjD4EFFpEauSvCSndzkfBBUkFXCeDmGbLTzsN6dUfoHs1ul7H4WlSHT+HSnGCOSzHycPRsxvMRdyGkngZqZdGxCYnr4BNEXZFkRTfUTQcZl8cyUkaxdEgqNZJMCe30ZEjwY04OTuHE2U0PSyhRtTpsS6e82kKDxEHH0qGQV3qhh741jOY09anHQ6DYEcsGJIBfjUByoDpxTmLRWt8XoiA5bBI52JyQOZqFBb0UxN2eE6Ftr4bKZMJK2AyV/BkiNEhw7vFC3/Ga+KQJFhytZe7AKw7PNZXHdEyouq+dWaS0uO3Gunzygiq0UCAlRfrwFAuLX/5iioKBHYem43bCbE2AykkecrR7T0lUGkzVIlYEdMRDM4A6nQF3QpFKTxYItJt13KjxcLZN2zE2Etm0llrlOqbiGR6l+v0Ybl0Z12UTToH66+kIHMldGDfRW4yK61iIJKqD6SDokT3C3JBAcg3MFOcq04jXRZ6XbNCPmhN7qELlOlIY3wVlNQCNoJeMTpGulD5Bsvs9h1Kr5458WGeKFKMFKXCWWseNrCZNMpKf+UFFMVLHwMbPjhuc/ZlhNQzINj1j613mKMsJQ6tWuW4vB3Cpa8Wl0dCDyqrJwkbqbiIcBCVin9xHmiRS8YOe0ABzx5wWqxT08RA5vH9QiZaVj94FUIsIbCh2cungWItldD+FocpqXKT2uY6DozHKrckpJCcUn2hnF1MuFwSm3++McmCL8kJMbMTDEMZNYpMiCW58QsiEsSAbxuXMO9e4BvfBMxkLbvmxFief5CobQGP05YcjKU+n1mKgWJ5A4yzpSDqW/gGgVoll5NmoKgRjE9VKSTmbND9oE5zGbp6jJd7PZq3MG6RZ1ZTqXC1ORxbPwoZzTJ9305bYYL0ra635SlPS7jWcnD7r/dGWwnpmZTnbOeACMCTq8/RdxUxYZunkAu5FuYGR65tsQyRI8huO4Sw9SnU/QtcHV+5HW8rA8oZblX2BmumYosaJbpHA7oy6fgSjq9vbEi9EM1XuSw+3sH8j8cN68lwsNVCh0sdhAXVxQJsB2HKENI7CRKFGDzY1VOB+9zNVCfQzDa/mUEqaYde/MzUgO0sGmOIRHBp7HqUp2FYhr396OUT0uFmzGviUjrbBK0DkvRhOrhYflEhTGgtPoFLVb4gI7mHyBKGq0aagv/mxKt8uawknH2Wrr9nxTY/rriAMocQyXLyXsotYK8wcQZ75K8kHzw3LXp3YSR1oaXscW7Ovma5jTQBwFK+5mVhczOOr4jtJhy2oYF93NwOqXPBcDuTUMBRHlxILBpXEt2DTzcUsukhkNIFrTvSP6xHFJp740SREKr9dz4n1n5tzaa2wPFtQuOWv6hEv7Iz6QWhBU02OH5ZbPnm6vXg/ViT3NG2Y9usEBTVqcNv0QNtbuCsKiKoBGiipieAPme4rIDSeYCTaEDrJfluqEW/cxAfsIZ2qqy0krS3+t6qZhweSTv7AAP7pp1sf/YaQu2Ft4qnHUgzKERuq35wweAainsfe608Wq7FvOpPsjXrGQzWQe3GISa0sndGRlSvNOhb19bSHvj4sZRb5YLAmw1mgKZD5K0uY981dTaVRGD94888YSGDL/a5Ai0aVkbx12IQq+2t6cT9Sw3Z8QsKS2xtFB/exuKcMob9cux5yNsk1ivzIW8qze58WMaRwxUU0TOfKD48fb3HBeqkf9ViFggOr5CcocCMZsy4MS7hRmCLx62Oy38Pxyy9nBu2Gnfa9uZrfQDyZMyY32WHqxX22KMMulOpLetwd6vZRn+UTXJWD6ga0aPOHhOr1qP8MKlrdTf2xen/kzieqY6jOCSTLnqSPKj5HqTti3e0EoHdZqYURBL30LNfulsTXcYM1wz6rpEchJ5U63LCO9aXAnS7WALiVgYUmAw+oaJLB/7zQxKni0cNC3zx2/3zZ7ax5iC+e+K9ft+Taxbl1CrV04JBCvmppSArvsOONaZqnerznw4CuiOEYfg402QZCZBiaWEPMta2fEPTlofaNBERi2YRhVnjfF6jHoPJuEfepZ3ZR7fSZD7gGG3g/wGkdtzmzah2XkwdQf4Nkqrd4xWa5ILLiOVd5QL6X3HRS7yd4I89LCy7VcQT8KTCc+LWfXS4UnJ3uKVJiBVVO7/zroaMS2E8VAQJBzx0VJLCZY6fMV7nqyrQPJq30LaYcfgsak8S0gRPDYWRvhln/m9HD4nclAf3hQGA5k/sA08t5QQT26J3zYaJyIasUI5A8pao0ckNgg/+SRIgnCZxEz1T5+ji5df64JpMDcnO3Lrd+IfkEVNzCLQtdx5HnWUCXkSWRl6+KoeSiaSOohOxHWp11/pMCQAZBRgUBvZSSAfAk9YDaKvz0TfY3ZRxH0SaUsQ/I2c3zLmXGmOF5ps++BsegX13lqwxgbcPgYX+06fhpVHzHURW/ti7XRE9+gUyA0wjoikVG+BsPw7YTheUoBp0QYMXhajtBmRbmOl2jvdVr232KctxJKT8wmb6hU+NSk98rTXE+CJ/ttm/bOI5M6PQAn8Uv3DL0WuiRNvLeoMc4GRRY/hn5QZzhbKILHnwKOvAWK3jLp7ViR/2LJVIKPuMJI50afpa7OhLQYHC5h8eR47e27NMp0b/AqzTQk5gaZzJtf8QI7rFiqDrHoAWwpjTnBJWUrhUrPSEWBT3QboekK9+f6DweKRLE3Ra353nSiLLiGl1XlCpUctvBo1Qv27PdoIOP7x8jLl7BXAKEPbIosb59Hg+JQwIrZIXAPsyAw9+wL2YCoR8p9sMsIoIdN6ComWpLnCLQxEAvGPn+jUS0ewNJ0mbRqQobN3bTGRlpRfUJ2vMl6HiWx8RcfNPYmgscKHtUgdxmLtdRXi2BkkQBXDHrYdwnL1YqK4JahYTSSinAMAzUgd8yVnAyYTy3Ju1/ZITv9bSqAe6nCHm5YH6s7VV3VRn46KjcRz3Or+H2B7Eq4lgZ+QhiueBk3+tez782vlawD/7kT3ghTPT19vfiyJS/vryOzDza3v4x+P9TpD/Yhe/vXplAJ0xU7Z7WRA/Xc7Uy6tz2OQyovw1s4As4h2HaEHiiHRPqs0EZ6goK/ircwo0pj+Rg12hjjbY/2p5W/DpqfUlshmIKjddq9NTEPXM2d6CDyYgmALtyhmi8dMLEzDQT0llYxHWW6hbJzKbniKb+q6ZNwwKT+AsE2yLGIAfysljVv75Vsmpe57aLMUneBQZVvuNar7pC58kKJAC8hiv2OuPWdPjR68AE95SJOAC5WxaqDQ9x/SHYSi+/1QF7SpgsQqziBtq2ZJPl79SaYbAgJwP4EwyzjvVGFpGqi2+Q6fo/wuR474TggXtndT9lox+7Yfe4ogAgp576SYFqhW4Nu3eJwWbMn7t3YlsnKl55ZamYyiyH9NRt6icsX3bZW8wMXqmUl1szSVGhVAqXTcIH03IxWcPOpCjtdOoOxxKted9AMloTCNhGihjVngOhIn5UhPoxoi3ontJeyaYQWrUgLIXUJFBzOVjRywCU43tGYG+EezEUfbr9Z/DWw5/+j9TNNKFRk7J2s8Zwq6h202Gx1ggKtO6k/WTYY0PXf6Rp4+H0a+ABVPIrRPSmhXu4iyBLKoP2aJcssFDvugz937CQo9rRiPbKaN5OXcUaET0cnX0nWL4KptB4QircbO2aAuQAwxs6licHPJ+t2t0EjtVdF/yx30Cx17AKb/DtHLQSzXtLX3t5HwW5XY3hmfE1D4NB6ThuzXRwiYBhozefAuyhv5Yb5sEkP6cdsfO/+s2kVvkO/UZuu/yATDLZYN/JrbxMFYO5RvBYrOkw12NCOFzTmScFK7lSLJyyvD4gnbGpVs6qozwmFCQY1ioKLFGRoS5hP1IjXs8I74CtlvNstcwXq3S+WM9bv0TeZ6YMXKBIhhJV9bJ8UD/CSiXd7/GEoXV2nHvh3gOz8/uDVDu+KGfd+NumoaAjC3EwFKvpYR8V+czmrACjHvqxCDclE2bz9XG5n82m+cHEFLN0/yCZjvnSjwpCD4AdNiDWiH061yEXxjrToGqj6alituU6M3fce8w0qVHT4zFaHXj5EQwZ07qYeAgzIlwmTVPU/HZpVWC/k00Y9ouxMbW63ZptyJs3PyRPpPbNuDSeVsXA1yIG7fFGoifyMT+Ptzll95jcfS5r4QM37xD09jReCnOYFF89wZVRgTLcwiPgtTlaTUz0xcqFzhLMMIn2XGFAy5tmwjWCtGVRD/5k7RqkR9nbwzaur2ku5CoDpe/0vY4pOJ/yicxaL7YBL0hJZ3fqu6/fB+84g4zBDQaa0lU5gQ3lhvfVp16Pc/vCnAu2/NnFrAOLbzK35yHI3o356xjhVgqYunjwcbRReBeeZ2jsy99GxRpdV7o0/cYTuVeqReX0jcQ5UBVN2vmkXMmVo4F26frN7kkhzZ0kX8ut64Zg54QAutP2IbDqyXX5rjXcI66NNah2nFjhu7SqTz4L+KlPrkSbXysTkIUVnbL5yqk7HEbgO+Wum7nWZnYsVP42/rgVR0jNUtRCtBB4gLCia87W5BhVimDRjkiSNr6LqFZ1xI+Xu1aeXH7eNq2WhSE6V2G5PrbY2SlJQK7J3sHTktCfAwbz0gTsruoHATeiKV2tgYk4Iy/zrW0w9gBpyd+VgiCoKcAB9lC13c0KTRYA0UbV7rSGh7QdHdHjoRaAEp445G68F+D8kjh/d++R+n29j5b8dQT1NnaINNEglulHDUlNHzgJsM7ga1yOXLGi+REuEwk9Y72yHZWY/t2QdFn3nJBgE0ePGEbvkE6n3foxnpPoX96gvmV+9dhZgo0JaC7m5O4uwjSAnlFNHUzY5LISAS2Zzcoty9M3wZmalMJ6PgG7PSiAYb0l7v7Ja2aPf+BKS173db3L45IOFzgpcHW8vqS+vGH367vRe76dWAsUQzgEAqkBWv6xuv6qEup9MTM9FittBhIUdychBmbFu55d1wmqXEArLJwOHJ6/SdCAIld6DkzJb3kk2xtCVJjPUjK9DD41MHyciR8YRsPkCjYZwPpgFpEYQkUJM7Qjc/LsTc1cItjNYBA7vi7k+kJxGWgn0aR65NYnYu4p/99tFCbF/3tH/Z8GumdgT5i+FrFlhYKUkQQoGQZiMQQnhnBjJHbygvyOmVgaE4VDp1Meb3xvd0aDjdBlkUeLhjrw79bp0EmFdeKcvKRf61I7fZR5VtmixGpCPum1qFStC87Sb3BNZZmbutPq/9OCvYOkmeT9JP0F1oI96mo3K92zIZmql986bT0eaRvrjc0QQJlvvWGIICNC3fZkdKHu+IiSTaOFcH3Y9MP2foNntc5y6Va/ZhS36Ykho26LsjrKSmY/MtXfime5nR6fM8wwQS0drx0Pm6dsKkcTLmnOK/Do1+VLGvOdKhjl31TejbMExYoWwNKTPPjxAaukJnbIQ59oVHO5eM8lbRR8QS3JnKIJ2a0fM4fkOdbZFagRXIaTalBQdd5n0S2TeO2kWYtXcRhFnk9fWYN7N3ETGrsFLt3Sc5M9IBgIwdXrqb4AOBGjYduRw6zjdW8ks24ZWES3FFRHx/nVkkolakz/ZkAV96RDWx+rMp+erfBYF+2kak5naZdTzJtquX0Pbdshh2FAXepqSWvF/bWRg7+PpTh8MDcBdnJLoAhdyjoZq7NF5jg9YUrndBL0D/LvC5iPpEtSljuLUB0Grofs3Ck+yy0Afxf79+ofIvhqJ1GeOTVaWnUcxiWcM48HNnH2ZsaD8mpbs5sMXS5YVw0Lp6VKNRIGqjBD5CEkSLtIjKBJUYnMMInyIz7JZl1yZp87O08rl5+yDYuhjUyg/OhBlNrhbp1O+a/9ll4eDYuwqiM5eyI5xRznmJmO8wXvffVkdvMsPz1PT24kZ8yVYWsdH7AN8c6yYcs5sJXhDoZgQJGD0h7a1t3hQWOaHEgaI2I7Ak7hqhJHmiPNWs2aVH214hC83KTLpRkvQ+nGLmDhFqFwHKAjQ2pESKCTKqlsPJ+cnVvIAzo1WVfZm0p9amWEs+Or1XJuKWIJ0CYikOtgJF+vav86W6V2mS+c5Gywr3zjOREDE+eol2z9k5IWZF3bt10XJigdJ2x0AyvuupI3p8X5svVYQ0EEG8AnfDZkOzyxU6M7mMz+AtUdFBy3jwIXfjnJKIhDOmM/It5zsR/iT6jyWbUW0eMtYjav9MZxMKB28u3GSRsRxAC2nlmd0DdYHpA11OjNtR+txDQVKBGdkEKu5crVmOmJ6Y39LpO3nFbPlHtfvquhjeXA3RzKAamYhzKqYjWUrOqfFDYKUydjVLzMEfBFczL14/lpcsZn57Ih0DIvF17M3JRTpyd+bRsAUxB+zGJXg7Oc2KTLKDmq1n6lD5yfOduL5JZCg9dkvbYFpbh4dt4FxcMizaKQDJ3k9wNnTiNbLLI6K5pgz8jtKBtQ/NhI7lQX67nSH4ng2uzdOj9FSfLEKasBbz5AqFMie/vX2dmfgjYzN/d3pL/MzPyo6+T09B9374RkuB20/jI8GXZLdGTMFZcxkTZFFccj6RJWNd+PqxnAJ1jJ4ijApSPGgSOqtS+qgWLAnk3YPOrM0+skclwGBLRjbrdSjWFxBjI7nMJwBzBcuQoGVgk86ZDqmvfpJediZ3cTT2W4wa2zUrgDp/RUbWCxacfe5+waBirAw7bBAuqw4WGBiv/TLt4/Et14sKt6mANAamsjB8qEWq3+iLtbahvfVr7VoFnT7PIfVvX1jfqpFCBZHfQG7i45wBEzWCKFSQkZJTx5J0GDH4N31EktEgWqxaJ0VLaD9KJqLmEpuiFw2f2sCVkOxgp5k3GGlmgpI4NssB/6HmmXQI+Mk16NjrUhyn5uVsGFXm/Z9n9Apiu9H/eeeaR+TnKORKBJcOPWaUfvMgudSR70nBKPbEmwND54xWMk+RtsBxy7wfGqo81Wh6NikoT0AwlaXNHP57/OvijB6LZN1Sdd0xujGKUImuMlY/jRnAWp+QxuPIyYPFrToYuz8BBRswz7JE1JBVesQe0yYWeqvjP3ozYXk/I0eKckT024ldUT8Kki60STrZdDlKjyTYZ09WVgCfOySTiEx1MonLhFhkodSEDv+JrvHTx6rbY43AlUw9e5p1b16nAcpxMmPfJICjfSAqClGYbBvYEIhcpKonIxujfCxNXA0T9AGAkDDJn41zhfRxyMXt69xTXeVmvZuriOHeO7ZFbhru9yL5YOjRfEHr7nTtJ1QX7BlzR/Pi+g7q+iX8UffbwVgq6pwC7fPXpzoySGnlaVuavsJxTxTn3uB9hvhtL8gEbGf3MeS9LHWT2ZZ08oC3w9S3aRjUXDOkBMMsHIwOA7g6AnxnLnth9/Cl9dDdhLIjpNCF17KrlilFSBB5IYm/fBHK/hTC30k8+4kCdefnmD0dfU2Cuv3MIZn+NNLV61zsqG1W9YAE5gLw00IfFNM31SVEsgUE2wu82xGWkzbpcq5ltj/7art3H+hMZqYyjsHmtFZffTMeNnBEN+xS86EGlwHz3yeF8N1e1M88z9JWk9h5SX+jc2ROmUGGbQcWM1Re//IV7McW2OcPmzfHiULIuMK/3IoIVidhjpIvbCB1x53PLDBLMuEIGmQ16ZxU74kxoumfdk+omxXv4bPa6zbhLrzw7mFFZzYV17dm3WLhcqtCnN2PnASdWrC/njDT7tMqEW+fwJf4BanFHa6KKTVWc+T0qnts8eSGNHi515wRnyDaozIjU9sbhHEqM1FvNGgx07lL/5JhdeqYH85qIieyeCkrRB3IWR0KZV2B0Vv4MQaCxuE9Lr8WULzbe86UieYnv5hx8zmu7gKHm5ovlQ72SudbLbkB/fm1Wf3af86QstT7fm26PSansSj/VEH2+qCOjnH4xtOh8koAHsKSMhD2m2CB/2X92n1AqUGLA22GexiWAktPNDugcCYm3LNgHhW2QWJnsLvbO/sszAQhS5SCY8elpb7LrwbPERXj0bC9IYQj+369ET8kM+CzElXuvJXynwSUERMTp572RSkdDbs2/Ms6CR98Unp262OARqJH8kXiwwpycAAgLHPQXCo717gn7kaYiJtL9aSHQ0KiW57eQLBnBkmHUTHsFcIiJgjb5G1yRCVBMD4RYBRJdXEbdEoiepBMnCPqNHjgI3PYZJy2vcKUWAKC6Ev5apr49K61PvRGPCPRZX1ev2guAc0b1em/OXX333fQCbVVbWrH4NCayLAUPKTYALXSsxZEBAYcFscp8YeFvrAkRBgnAmrzbGJzbvF16pRPskUe+YUigQqxQRpYkmqE+b801+XR0cSXGDRNFqUTRZh4VsTA/xULW9Uw7BWEPvcobRqLBEJmDgTIbvZ2mHh/02TFhXwccUg7pDmTuvHlYU+peXcZqkRm5E5AvhTQdDyl1pwaOT+OONJFMSLBTRXTGOfRPmaggV8kBsawOs8WchbgNL8XOhAkY3asF79Fq3arosapEMAPWGZsqfMZu1yT4jYC9P7PvR+vGHRgS/Hl1R3lezH5C/saeJCf0Iq8gyXnOZe2ZLdiir/2TkjPYJRyMoDVuKo2Mz/oVfMuaQJX8GDJZsfRs+3M3DGggbHAIfL1ZE3mgk2Tg8qHmWjqAw6iHFsWa/xWZ+dTKhiJjfDJPlUjRc0sKsbj3fW/uxzSGyhhA94d5Q/6sbG9kNWOxxjqttO9N2dO//208KXGkUSpDRPzBsyT8cCjIJQI1xVQJnz5vvr98bY0H8xWfYBlMPDKXv/iaHwyUeZHARcoG1HBYI1rwQtIhauaV/nK0KEL5OqGe8r4xZdaFjEuVZr2JBoGenadiAnNKC6oeRYAxFdlBTwLsx187lQsGF9cY3RpmsIIOVW2vVBAU3HZbLkGEVgxbjLTRuryU3ViQfJW0uYiAKv8d7zbDivwpO/P3Eamapm0EYytzDVqsbLxqvcgmS1Go+g6MJnKI1rsjyjDgDX2kWWDbn1sOI6FY3po+sYJWW17vfdHnpLH9HrgGJjlxS2EAGMQUdcQG2NYhuz2BnRRMylPPdKdTYjYYmTzI/d0uwVcaw/zWGSpoXX7Vq0nzHmCRsMWAEHHZfVH64B0+JejPSfaH/85Td7NEfvyb0wa1prvS648kLEgVyJxgMamd/LB3/i0118MUKWM38x4Cku59rf6EQ7SAbia80r15jTnKkyHOVH3tLMMKqK+5uZyiow38ZVXYO5kkDXlMSxhsRBk8D8dLthMxQMNKED19iqQDp9W+gbr5vP4/rpuZMUcdBhZXUJG3fyiNqeznfyE/XKBK9eLH0Ukw+fCQ53fwgmRZ6Pc0PViiV5jDuzCmJapLdoXafa77UVUqFGNTpxPQO5b3BbZ1la420Iy93ikzF029YK6QSutAFsNDcjZLUtUbSlTbl7+544g0KxdUBQra6mEVzuXPF629SjY9Al3FmqKWPCtKJWTeGpygsdHJ+eI5B3j8qPsmuS4aKBMoxi0oMxYBQyRZAwVhQBWKdieXMBDFVaUS782SM12EedEM+4rN+oI65jdYzvRRtQEQ4v2LaZFmoBWYvdvtXzhsXaXBp/bPASZ/PXHz/z4hGtv9T2gpuRfzOrdT/hEp0j3HEkLxofMtan87v31ZF/vcHqhshVibVIQChCJvL6OB53qGvoiGRVuMdOk8AjHZeYvUo6Rg5uOSUMRGopi29Kk79iXBPatUWCufc6CgURMn792OZTUAA7cjwtwmfPMMAXjL95PjpTDqfla2X+UUuzil1odo773Hhdu/kyN0GZD6b6YLUeY2p+BGwW7AiYrkzh5zg+eXKPC7N4xuhSk8K7f4Ypt5CIuqmGsdy0KeArdGaH5GPC0YSBqv/xY1Cr82RnvyifUI8Cft/8ZcH18Tsr/9qKh4H5e58tzknLiwHcsdns6Wkl4sfA0oWmi645ht+TXIe9Q6kO0AOlIUBo1ESLXBJA6jNYOtKoYg9d0l9SZYzG6dj/P2OHMzT5KvclTYwOFvu26IyWeO6ra5zniHVy5VJ4sws5jqPomqViNUCMuQum4ScNNAEsqSW5xJweuLl1b9xZoo1mVTVdx397J7y2KcYVe4Z601+JKvxJqFC5/gRjLpJyfR9ZccOg3cIZ4fHTmnh3oVrTCWuSHTFVzddiCbaoMNqy/Sn4C6dZVNP+9ndC1bOrX3d2dg63+iz6DoTNPMPI95D+DMJFPQXWt942mIAKYBX1LuG1X12vakh/2ihTE9nnwLud9Vu38taSq1owZSn+65bxBfPCnm64q/eKrpk3jcOPrGpEjissgAaYC9RN7zXlfizpQFXmkN9bMapg5mq4z26nLBcuNnHvqlVFehDC2MZqRocGTVoeKZHlg6K9vz4YO2IWrO8ciwH3LVgKCOaGZpQtVj8AOmX/YBlNRz/7L39bGk6Lt7KLSXIz6myT2Url8TERZiHCtYgBZhKq7nlYX42qNbiBy6XfC8P/RmSjUWp5EYHOuWezAg2gPcDD53dLPxlVkjixUGmMaOxjI4iieFTla5z6nqIALdOwko7ak+XkNg4gFt9+OrxevYGnAS9Xm8FqtZs7X3Txgc1zu80ffwJH03Frx1UU3EAdpmbcVWanyjcT5amuJH91Cz1GJd+3E20SBB56YBTodytB2GNQySsFWC4GjzfKYa1XM0b4lW89LvZ6To3J/OvYHOo+B6M8hm4kPbr3vL+t25RS5v7PkLqmX/OuflqDrj0qWmeOhHnNHdLSmOghQVmboXGgo25nMaYbX2lOm99bCjFm2RgXbZJXxoauTA2ECNU/5YbEAv7rpoKdpI/XQjgRiN8tCf7JKdsarKsTFFvJuRRdcvLHAHa56R2DAJQdu8Trzu1F0IfwmafF7SdjswpUIYGhEFp/Jl56dBm7UkzcGw59xDwIKjnau9jgY5gdmSOMPNzZFDDsfV3W8p3LMetswF8jDtW2Nt+l8ncB969gfXuaHpQZmw3+PEPI300heExzdHKIG+gYcwCqHV69XccwIBf+gWmlrqH/EAfoGNJln/noz210tAneZA1HGQD90ly421mdi5sp8OU2jMAot1Y5n4Z/UILkp8C7/15buYLPUlA953paQdRaDy3R0FYwKwOyVFyg02bC4wGesl7Tm/VKiAD1mIHvBpXgn5NQ5T3xQUDyLjLvgspnBqDnpDUAvjtaY4mp1dKOT9T5VNkDBeKCOQCvThEeKg3If9NwEEkVihiMOxS1ZPAvHnKIbicfia2NU5l430jb7Je8ZLcYmB1FDay6eMa41whVu+QPM14lb5dRgfTEiUJPBEnIteU+8Wy/BjvwaIH7WnQcqFrZHwWQCBZGjFv3aP+WWG1uqx570rvw9DlIig7+95QUkZ2SF9yb9bM8x8vVlrCrLYF34Iaqfsm/SxTQs2GvT7cnpcHr5LDffmbu16mcirfWcOAiu4onOw4YHaLP/vTtrPr8kUR12pvwVZqOBM2fOxFmokHRKieyq+WD9aDejB1yV16mB8rB4UMlXc11tOFK3DN64HfypRz6tn7yPAL/qq7beKxrPe84sknhIWDYxqneUmH8d+HGO6Cfg3B3R6DaDCs7Vy2CD8PywanR3QD3FI8NHO3xv8d9Sx7uO0suLhCwa2Znjo2Uozk1yXD86wRDs2lldql6c77iA08Zf8UR5IYykCDCHbwYikG078KT/XcnGjNV+asG39jxn6s+TszdbseFwZqvJnYfC5rPfoJuuva5mT6LM+F5z55e/u5qwlXt0uWuR9mLs/vOlKb6S50uxaXoujAD2wEeYSm9zfpfzw1ghLN3PmFEk9mu980crOqtatMduzuUB5LUqIJQdqSVVUOU4JROZOoVDlHRU8lVeREQnvhdr3oH7YuvzDrxOedIj3sn+OZ46xg0Yw9N7KOH7C+akuLfNL2liah7eLD4yZm1lWe6+/NWQ24LLgLEV6NDFFkdvDQJ8+1gp4WxRtWiAIWAp8VIljMN5GQxtfHXJM6NAjtSoDu61dXZk4lYGfFL7/N6YN7P5nMlG6dlgTxnQU+F8xakv1NmAC3SthBa8jTWfq+kJq6vk0Bhb2pugqOVlHryGz0Q4MPwgo2ZJXvrkc+ywantoB+QKB3oyhd4a25UxLwymLQt6OW7oX/34vo1vJdDaT7AwfAwGPeM69HKCovc/BOs9tJI8oevUjRhtDi8ZL5Qk3huioi9d8vt1UKNPIYre9eD40trE6GbiW7ahm820TwKZM9X1QoU63sDo8SccfuPhq6/sseBECmzjiyIdu+G3ctx8KEF6lGpOqPKJGfVce6ctWTkuWjEMDErS6yoWuGt9XHc89luLliMOrN585ImgyLxn0QOqkPhLWh7T1qmnPtFt+VoDsrNqCl7jPNxuIG7nMZeDuN4nnu+xQzfkCbc3eEv1d4uG0RGUQo7rgZ27gXo3CFVsLotp80PTx1RrUdD+EqVDV4gtrggJJSGPvJRIN2r/gjVGqOlLCF7adELcWbmZof18ZxgLukE8tNLQBXY9PkZFJpjgqvnuYHnvY5yh2cijs6xzNsE1+SK7Y35QIMlxZpN+hNeWeYeZ4YxYNy65gPm6QNSqCRhz54asMS2Rvmwrv2T0QCCsyDZe1oMouksniKL2iS8YdEQ14pcZIIAh7S6qKePA//yjEHqrYAqnamgi0bHh6/xQcLirJw/NI5zQk5HXaSNmZYiySKHBJibR0TohycYqIcbWNi6cO9YLAR4inK6u+JykBETBDL0ubNZVT0Nxv17bW07B0adYBjWR/IhFOtMZBROBWpkRDzSLkEHJN4HwpdHOETMhohXTwqP51TCsqrdrUOUPZQ0sdpmqmdwwVl14cYBCsHKevI6Zom6Ib7hTW7KyV4eknE6YdCWDjdz69SIXzHL507/v/ze2PtZee5SKe49Jxs0eDtKWPnrxh71C+Lpotl8n6cUoLggwEzbS2I8AfNaYVMzUzlO5qkKfgZ+/QH/wyWPeUULAAaMHbWivvXFldruLmi6G6n5WzWVxT90Tj15o7GyYXB4siyuavNRRQXT003oMPaz9aGwQagFrycSVZCVINw+yF4wsvy/Tz9p93SNeySRa8wtV/7bUj19ifG/BxjbpAYSkIIzmwbxl3/wpr76/PgPpuva3kXTB/iLr0nYk/myTe3LCI/x1Yqe9DcljVa4fNvDimDL9gV39W0vxuH0e8Pxz3ZnL//PqM/THpvJLKTzB4UUGepIrivacZux9VlfrKwO5L9iqAGr7q03C6WYqWhfFCP5yZ6BRCjmxea2TKMv/5ZOrC/mnIvmD/EXXpnBLmjgIZZ1dEvb9oNiUeLEz/SiaqF09cj9IAeeSrv+lRGlKI1CqjJ4AyL077hcsOSRKc2d3SUf1/GV0BbIcl9yTIchEQs4Y9v4GFFZ017S1P0ony65nKjyLSmoDXtnjWtPqDhmDVtq84NBREPwi1lSSB7ABvDCXeGs+9RIGmSQuAzEq41iOT+stm3TnW8VjSjIhzTnJ5ZZhTwSgWKL3SBwQkqzd+uXq0jyK5SfOlDTES8ZEfQjjyWMPyGnswuufeP0f3v3aCp9df13N/MH2J73qqJ3Ia8nfLGRuv3lykkEemli0rKXtob0jX/F8zFXc29WVwgHZmQxaB24fPwFYkTzOR0jbEn5tOFd4h4osel8s0FQ6odMpiRYNovJND1733PPPm1Xvib6UPi5c9qInfSFVvoKq/WXcquU3zpY5QIb3gYUH17Ek4qjALvmSJz+cuhQKK8y29rsX9vsr8rK33kY+yU1vVABGG6J+HUDhlmCTJSiiwjTcA9zpFYiLx3ScQT3WU+U3i+UYNGghIBDYkhIyFQ1I581Q7I8wsc1dt2vuqMoWaNZCWag+2PwAj2pKc5qbZnnth0vazgjpKUV1vh96u0pS6NuELnIWjKAuoOe9j7WcHxSjbr49FOM8s+JgLSd/raKB7fPTphTDV2LQ0H7GMANHqeDVPc9gb6ndGj2jXNNMMBWRUePBMMZSGu3I1zbWyyZ+aGOHI7/l6PR2ScrYguPlkPTWmo7h5+1c89t1QL6sS/hN+QVo/ZYQqEqA+giM0ZzaECau05zsnaV7HA+o7a6XapWS+Kyb3Ar0hLF3PWEtcZlom2w2WLW9jQiWrg3W7I7Dr+4dDHEAbUnWJZ0CkS3lBxH9q8+ZmzovdkRb+DqgfMnTAnjVzig/AcoIECyBxObHAaI5JlcgIynwJJq5zEWs+Vyg5I6qpvqK2eWSIHIBMhlS++oFf9abNbTlnS4TQ8zQrL3gtNJcstQAXofYsHdAyd/M47KXs0A6OaSC8emucVYc7O4wCZyKmnkWgHqGNEZdcLplpBDh3YfFvLu2Dhyv/1tcXk8gOMYXrNdsWarBf3+5dhHNlXP/7Xb4N4sjwRCIalOapZ3+GMmsc5xScxF0JMQk+K0dOy01PL2SWV6F9KJk74SYnKUHW2/Gu8u3KibZ57z2+9eCKkKFNsc916VG0Bp7RfQ7pWImrzLOdFTf0kY7FO/TZTNq14kKDzNEfBxsp85kJg+JISywNlb/Usqj0lSPq0DHYRHyttm3cZTX2d0V75or7JM2l3ppvDN7LFVm9FYEdFUVgk8GGpqqiKdRIWifQ726qJEKgwX/z4tt3Y7O2Cz8p8nPidXMy0JiCrtr5ohgf4qYd+8d8rcETsaxWfvdUmbtL7trT7pdv9yeWW2rGnD13gAUxkNJ27zKPo7kjo2bdxQoUtyTiQmrUvff27fNjfja5s2QoI7gdvpdNxEtdH0HZ80JOHoq/wHDrgGWgvTroWGda51qEys3obYzJYb9iz7eblz389U+IcLDj09jAgLlzq4TWhIQvBIYULpz6mv5NwuzfVfSTGh5c2kCTHb6P/xHDLbA/+owBajuoXF1g4KLdW31EBDWA8Jz826qd8mom/WrTp4lVdl5uNuYzH29OeVZgAcyd8ukwJ4Ht0jemCbXpHz0cJvVHyc6/ej70f5c1uvDbdpqPy4vXjZwcbC5Jrxm/lwAd0ELu2YdDdH2eNuyz5d0/hWqdqgQouoTGNRiTOSeWzWI7jl98NAmudfVzIJWtGlWjGxo/ne3uPGiEfkm+nt8kd6v4hSqI3R6bYXGrXn1rVjpOjhSDGfTeY9vJV8r21T9ddamfZYHhTEv3H+FC3Te52OiRD/k5jT+uX84xp0Ywql6xD4ursgRUGut9xHD/LM6lM4mw0Co0BF6DO1Lbi5k/BAiAtPaIzzLf6Ji9jZxU4BHWJXyevMBiffhixLeMnFSZK5D8n49o90ZDr71qar17GqzH15caqieoVm6T0kwn6NxIBadma2oeIgWYaoO7EIQtQSxc2eDvJvs47TKf7BQP9byJ39IZBZfruJLnB7F2nk/P98TdLoYaWX/372jVNOTfaX7a0hpodD5Od4+jc6cHXA6iA1Nm8b5c4/uuXz/g9u01A6lABKTj94+/btz/+1kPeGSskW5cRvSiWgH5tHFW7SNT6HhRRqjePPuHZffo79vccNeoMOiZsnFnF94vwbRB3s+UWN7c9oygLC4p8AGmSsnCSl3ubk69tO5JvZIcjqHdOphUcw992npZ/5DyIoeHmW8zs2w7+RJDlgt75Q8z84WWBRJD5AkB7CC2ipHIu+QmqRaSGbs37D+CdcFZ8uZy5sj50PtC919xZwEs0S1HbW4yqL5cgR5wnetmD9tA6Q9p9oSG6shE+beueSHzrbHnXKWB2WnPWif+w8JiJSwhaXxq17YhpkqdgTVazI6oJDAd3QkUaI3eMvjASJpvl/PzsT6XSvz1uB3gbe5zcTJ0afDz4I7Utd89I6hOvGpkIT43deIqxD4rwJXnYXCs3bTLLZVxcJi9QRTal3uz04EbJbavZ2Nz9Uvao+KKM7KJzQQL2Tsq6D31WP13YUB9NiVk8Q+y4zKziv1lpztA6OYTocUwXKuP8loppCgyjnArmkhe61e/5leZyPrAI3OcCznv41vr4+p49bx0Q2ODtfdbXx7u2wYL5a7UBH86wHIRYkQOIRuQQS7D0CzYi+gWC/oHoptTrXZXlUvXfqDRnaJm6hugJTBMq59pPwzTm0yTH+YvMyJ61KmWScb1c8M6q8FDuzU4PfpTc9jRbB3efjC3PZxfWBwo4fGL8frgXe9ZH1bV3DX/doHnKjTVWkWZ2daMvpIuC9XeWUp73/Uhiz8gf4qpKtD+EhqnFhuq5NfjMGBG+2ubwF/L8REcGMM1WIdkdbBtnAQWUTzxXwjN73EVke67Rv9i6Sv5spI9h/fFVFlgANET8Y3tJye71KhlkH+l8CH+zA4SvjqBaHoRlznN/gs2DKvqeoQGWx+tXGEb6BsjB8xB4Ig7xTykF0MCjASxZDPoFkVsEynnwxKNtx8xkSxZB5z1+j3KzIEd+g/LLUnNTl68VoJErsm91p9/l8M2Qs+Wd7QmO0u6fTDleXDEN1Uj8M9SrNwtMl1LaS5gyvJib2y6ET4BHJ9zXKzC9+ImJ6YXxJhC5OFNSFewSpgPcOJbwuy9z8fZXIo94unC0Yh79wb7MGcj3ep69CysB8u4RWUJf0/pU7+NGG52oJ/Flcs70kX+c9wV8QtxjQGNL5KDLTd7Mm+VNl5Nz1EjenOirISfL29o3Zc7x/qQskZ+cHMyV1zr37Do0QdGZFaG0fHdHzYjjrXZgyWWjLus2nVLKexZdUPgOsfiJe+7tS+7syH4ppL8Ck4Pyzdz4vzgLGrPoYe3fHCv19cBw3eOXTilJVhxCRbR0fDSntYUDoOzNwMJ2X7Q9Nx+sapqq96PORmhyvra5odPQwLdV/iBAH2nBYrPx701BzdeZjyN7GRoBO7M9ey5yHEwZ8UFS82GepDvZhWhga6FFsLC2oDVFQlgjHKgWbLNkrujESLr4k3Lhuxr2AQuzct5H1rxBFJ+k9cOeCvXTVB1akqUruMsrtDEiLGnjT/w9vVdGb2vCu4ffqbQcJa8V3eqeRRRKLUz3Y6ZfkTdKTAB/DFAmeWVsJk80drGPtTv8gwI/0ZG+phEsvw1mPhJ0aN4LX+ITU7D4N1VBY1ax2i3r/vypzCxZxHc6u7V/dvo0/vj66OTX+XOnjJvWNyeujGefL9DaOrF2iWliYpAGCGIiL+2nhxw+vn3uan5787piewSUyJWNflLS36kT8kfZz32PWp7h/niVfFhUr28FUMPd8IfGdS4TzgyxKVW1bzW4lMDi7s25pLH7MqeDfIXyWeJHKcmW9cov/uHYXMqQcPOdVfqqR5/70YmgGLECaTJyBtEIagSRQzsNn6fQPO3O0jhIMgD4gd0gRMPkJ2yQAtSpesT8k+Ai8ilheUteNzNW+WCSvxeg0kDPHPgMDyMOd/l20ec2DeiwvRpXidGQWbHO5Itn8o2JeA8agf5S9juqjWb2YsZNWS31czUNPBxXIpJ6HQoH2Ns79X79zfMRHR7AtFalD9u4/gUDin/2GqFZDvNyVcvQ+ebIVbJnI330D1euAmhU8dlKOfaXzz53yjT0QREE8Rz87uVmQYCKFDuFEiaFhZ6AhkAkBz5/p6bjs7g8z6OIc/XlzRlZg70wO1Se0r7SucBzbsAW49Qmy0t5cxvuJUmWLIKBe/zu+WZBGJpkpP6SR0+dspK2GR9GCLhVmFA8OPA5h2eaP4kpAuejiHPnylvSMnpIZapiipMRXAG1YE1vPJVjm5pveTyaoDnyjEZ9NGJ0rqoiklnXkEDU7QB4FFg1Z+ZM07ydWs8qmrHZA32ApLwRtGZJLNlwz5vvOtnDJOhwKK9ughhkRuXv1rTH4XiFNr2pHNZuVHJQkZkHr6SxoLkPyqD4iXvO7UtRrGlSEE8aBxTYApP5U/f0BCdn4O5uuLOTPF4+yZPwt52mqg00O8BOyuRtds3TEpDPaLJ5q2cfghuAqV1QsR4/ed/94xNTkdmKYwnzpATEHdMP2X3ZDP+wJCvsK5DnyGShqHFVHti+PFqDlstn93uqmgieRgDSzZPFE7L8X6wdE3+VauBuwEhvpaftqBltWLpVEBHOLxPW4VwrExQ+sFqJTCOG4unIiz2jnoBy7i+ffeaUUS/qfuG/khu56O36bE7KnI4Dj2Jg1EpYJtEQAKVV7OPbJvQRFZr2hnMR4hC0ba1TYG/Jklzy1D3v9qX0VwHgtMuEY4pgalh8dx8uQcu71y9Nx79HHOFOk8DM0N1Mx95KVcnG0iQXxC0B6EmBQqTUUUpod2RExMjN6OLqr+XEjO2711f/fBYgARp4Osm6YObiZalhakPHtsfCwBqYOiECUJZuapbGoOK2rMv+yo/dFNHH9BCU27CPbxo5JfKc98wePwxnIkQNG4IUCTpIRZWuhMXGj5eVqnZhqs0n2V5IDuX8ZzXFJZs1QvkYtZxPZzrWmJgQ0tn7JwtQvgVV1QmjTs9TKk4EJbX2YnH44UEtgzTRmvzC75axGX3rqhDwic2akia1QnnaVWaVT6soTPR5YnJFxRGWeZNoht3eE9DEBsaocbwBcowqxjIo38ydn1NdkOCDMiwu/n6nxd6a49/wfNrc7kd3lVOOEirqGekQ+MeZIpciJ1rcyKcnJdD79/lI25uTYpk918c6/7AEUu9QbR3vtQrouzsZ6Jrb6hs6mW5NWfHDG0QqCsN/eyPw6dl2Mt1VDvloN9xy2+rWsPPbdxCwmtvetp4bcn73FkLWt56LZzQXGe4dT4dAMzoqs7XEaO9EGoZ7ayJ5nij4n7c4o6rwHc4IqwsIDZMaFmk732AYWDkaFX42jQ2XHhHdyfbt80ah98WXUCqa9GXNSnXz4MvQARWKmhJKgCwd+Kk39lOmtmPPC/wUel7U+q9m+MWOSTXJFr5PWfRN8/7FjXBQayGafjXgr8GlcQPw8g102iSVuBirDWG+0+1aZ9MHqQtDe9ydK9ydw3t34h/xtg1uNVR0bcFVQ0ATKf+4D8qOkU0NkogHZBlNUpRxL04rgJJcXodA5IdqnqA8S+HZ9opB44KH+2LndY/lnaZhED8AiWgtqYWLh9ffGQUxFwMXkQHGEMBZYsJxshkkqrHtcp9jnn8UQBMVlvdFDnNgIDGSplcqc7ob9H9/gtknYta/fndXHIWygMnuc2ozSlv1Z+aZefDRmS1YUos39rOWymZamzNK4/evy58/EM7O39vKznopqNMwsax41bqKS1XC/P7k6ZV405WHyWYfx680fB8uuP+EJJsF44ACP8DIFS2dRLFb0xXahQYyK9XMjmej4bzh9mLIqGSk4m+7gtR3ZskCOgTgQhYuVW4PWWAXEsiyGY1vepRsuhTMdWXD/OkJqKKHh/w0lB9O7KBWZRAEqML4c/aePKZqNGEBjITsfYeq2QHgCbIf8DAIZGkGMobROH/h96qHx9dBx4ZlAeR8yq6wxZOJCqHCabHyd83YFSqmxlzH8D7+fnPKZTjCQR/fJHcvjLDCctmUUrPizwSAHRhTXBL5kZq9vmB0qmNPJmNK0PWt+CN/caWHNHkN7g559xSRhE3F5afQUVGyxJtwlVXnAJKaUcMgeVP4u8Rn9VpB8eXuAbxqlP/hjvQKd359GzTpQ4bxqGmaV6alAs46yayKentuzCchriMwv1Uu8HW1lj9Xnr7iDJIRUjfxB6xX+RIaHsAJ6FDw+qeSKMJdBcgD+/qwfITqwwBx8UdubwWmZDLaN6ESjHp96TQT+YNdwBjszgbEZ5VQuWxgAZCv6KPlFW9oZI19GmitOTkmyHOL7T0XrPVU/hUuvfFffLmyqTwOiq7XVuMEEjIqe4Ga0dKakdpWmQjISZC4dQmQlwIBeUmTpItp46S273baKGbpkRV9dPXd/HLI2clurakPVFDyGc/xw8ECreWSVGqFH9neI7LAq5DicTzcSS3SxF2NYh1flRibfKwKOOjjIgDZHO1naipRtqsncCeC1xaxiORahsegWwt8ygLxvNtTvqcjfcYhPcd8OCk8sPHtW7OiE9LzvxqdkFu1bWLAFfTPzt3eMQDS3TeIn9sRFsRjS9P+CSCrfDVfh5twJT4lfm8Br5nHK42u5KsLic21bzN0k8muYTF993v7cwOfn0rmabU21nNzMtawMzJUMzCz0+Nem7R9Xaz1yIn2PiPv3gw6W93ZmuDsyqqOQA7H8nDe2NqF1el6dPm+YP517Ht7L0tvvQ37/EfwaQo2DMzwRrW6w8WhJrrK1UGh2Yx8gwwq28zJK/MpC8T4mWRIEPcywhroggRmnzJuMqxjZVSeVbbNvU+ySsHyUXFkBKDAjx2jnnvU0nIsrMD9KOJcVUVTgmGNnf85iJJ2eAV7V/58oXmh/ZeUHvG+mE6vHq6qAVo9Ir1hcbod93QGzqZHAgr8nzOrRdyipqTOUvmzY2aHhN2DnZ+4mCRrP6aXGREC4aOD+GWHX5BsHRACEgSopE2Yz8OVhOGRTALikvB3EWmIx+xpsbKbakWTGzU2TKtagiAB0jjoWPlxuID6DeA/YhaRBg2CDiHn3v+1zSxTWSPZ3OX/85twwxC7h7MKkTJ/fs/ASdKp+LJETp5h6rNO5LN47IqIBZXt125WXUdJx+Je0ews/aTngwkbcM7QOpPHnsSfLN4kr5ov4iyxJpbLI1mK4cGX5vEljxOv/Lvr5oXEL7FblDoBlcfNRZDKSL7TH55pWyZtb8HmYM7+6fP+WJk48VomoyvoLgigiN19wyvJoiKd/k8xzhbqt7vFjQe5WQf92Qd56+ne8Uyt8ilmheJsxojuG06SaFbg/jdYVhELZ53MbO7Q9WOhOCHubyIiLqp5zcJJ4kXWftZCe+ddq3/KV/vmXILlwyBfokiKm50bf9+agQY31wEn6vwVTRlvhxg5mZo78eWd3nfxeEvDWEOljLd3hj3TM9uomd1Th5agjCbyHCD7sdArvjahysqDjzYIwh3p5e58/Toi14Q/k7zwX45GnzWtTzC9jxX+9fEx4trP76kUdASCECwES3ShIZdalO6nL/tLtn+vxpllgVpq+9ai6dKV3t4GRovGt7a91IRV25vjbZiUwd5JWyD/gB2DgLpDBTSA2TlhFzD3Ac1SwVtSmNP6FTTxnO4bDuOqrkRQJbUv4R0bAW85RJLDykESHwAa4gC1lIvf+RMHaIBQcV1dL0d4JEOSkCFJrrj3g34s9PAieoFkCYjXqMib91wPtu46RkweoRCn4B0q5voDh62XDz1iZ45QYDFPT/vlEcz932TT85Di4u6gf03C3KN/MxCpBbGTnyd8HG+/4OKM5tjl8JibtPs2GTn57BHcEBqPvtbHcu/jAkRpnsCMJq/mU4p/Gu264Obu+vmpQoR5Nb83FHNCE1NKVR6fi+ZsuZ4tRNt7qZ6o+LTQ9RYfzvE5qnIpqNF9LDhqIeNSS26lG0WRsrVPg3+YitEEV4HRkJA0oJeHqAbye0PoiYkcYaKzgbCh8IQCI3n71NVCKrFPV9aEl8BzSwA7Iuvjz2kaoCo1TebUypst0BjlaOdsIDaNVOdIBXE8UJcJwHOR5XwEggZvA10qNIm25nMM51eLECTzBE+4BLR9n32z/Le++I56fRpbxKurWOFgtTqtcLICTllLueZCL+A45oNbxxwqHAUmhjgcm96Uix4bf7RQkvBodDAVeVt7azdY4Aqg7oDpW+EyM0LyPMmbjZM2KNDpAQDq4Z4g5cipEt6xkIT9AXkuUhTHoR3bCyGHEHAkPBNwS2pmUVZS44rwkIW4RZSFkIiJxZBsK16atDQvYhKwGwDajkKP7U/fpKcrTEVlrlQX1652QgmUP+2bHGEfuTjXAkWQ21uegV2sIQ4Jpu2+TmxcNX9X6Uw7AdRD9+Lrdh7MmshLBEzC5RkW17Pg6XiuT3Y0UL2JUdD49crFQEA9eEj89FPJQukRQRNDL51XOmWGcTVYG1w2/Db5SN8e6Rnf6/KkBhPZ6HNgA0kV3bY0kkN30YiPiK+o8G6ROZjhq5JQZfX3vRjFabCXSFsAaIgE1P000dcsDslXmYY/XBwiU90GUEtl4GLDypnxIfoDhAhqJaUkhIi4Cpgq3top5NizFKy2zFaQLlaOzB17FtcK+vRCwuhgtNAH6r1l6q8vb89TFz6IooJRwh8Tby9Hf/01cCXx3jvtjf8M3gKCDAt/C/4m/PQPPv9jjToCBewExJBA2B6ZCIAGCqCWzhAILWQBvNGA+wCE5qUoOqwaRq0d4QCTCpENNxfOPgn9zx/MOxcNaIhmCuL7IRgXcEHdCyyCm+se0F3ltWGPF7PhGOXzQuofGsrzeGnoNYydly3pZekMp4GqIqJHNW8I+wHb45+G02kgs0PdN1IFDBo29VIqsEglNVCiLxnerP1OcogZJvedMk4Agu5R60CPGsQ18FZ9k0PT0X9IOvKaCB5bAw4OkpKvUPuRITECLmPLg/OKGV4KWG2KJPjbIBKNSV2qWuhvqOYl5w8g9zLeI0u8wsTmDlPW7oUWXKNjLkA7OO8IbyL20a69GDI+jfPY3rrqEPbr92eW9x/rsCCqVW/Qbz0y2Xl2fYljLIlz/to9t7E/iGtv7vbeuCF5pzv4FeKnU/80ASLFIPFd+qm3F64NKQxZXJN/KBUf7o/gNXneafpgsru2ZqxpAfQrhX6nvL3fw16l9Ohmxq9/M46d93VYnsYzjHx9UDyPtGHGXMFfYQTQXRi4WKIOUBlX7+OD2qA0nkvhgrBKhlKo8jv1QuHuH+/yyczeDUQbPl8x8a8uMTmsVh+ouApN3ZLIisJi52XiWrUZ8/zwEOu9C15vFWZyXBPz03jXO7y8UlibnR9UnsZGVx3dNA8Ehv2nzG+uKAB6odT38bcll8OJLvF7T0x+SvBiophVEnEmeC81fYMW4XP3NvIonFfE3ymofdCPxh++oL/18Js8EM4IGY7+3a0GkTFg327N+kSPDtheaAHxFZc4oLucw8/a9rSAYoefqCm+tU/qSEaR8v6mPNx5jt5//VcCahRSGPNWThbVrLYVpC3PPltkekLP6kYg+QOzlANmAcN96cT/3OfTHG7nNh7ZnryFAo81a5s3u/vzftbyViYeoh4So2ILinxQJ+5myw3RsqCZJuvCOcznueNefpP7/nAZh0sLBy1CevpeT2HV1vXhsh7+Y3GAupOmCc6aJz+nPbxGSbX42R9hPLO5bjDep/Pk4UV13mvDhc/y5Oy41JKH3mZFnbwtOyBYkWtWaaR/P1X6iBptGzwkaGE8NPV/PsBuvSUpob+PoinP4FFzNDB1QsQ8R6M/5bxpcr/ISNdD+A/rOQEiY8NNQ+kCNhz//cY1RHg6TlM90cAEy3Dcaus8MnZ84gqoVIpNIaQX29xev+pxlJ+/PoV6YNyF2h8q3vV/dJOXFI42voSeYiOJ07Lu0+r0qS619WuZpF9/fI31jPcx/6AzxC42S8AfCl3Bnrh0BilJQfsBpAqHk5zQAP3t9EINg56Lxq7u+zfsAY140UutWIvUzOQODM930c8FI0hqrktIaK+AY1ZQODLeWDE0AgVQer0TWwR0KEjiWrHmwltTxVbfknxIwDV685roC1TwZVE/MezYhFAgNd5UVyEgqErdMpZQAvxC65cNdSefbBpc69ZcFjqTRHN7IEqEPs/g2DXKE878ty6RPe3Ekbbwh7pM1aQ4ccbXpdncA/1d7Kl7ed0+QaTO+LraYnuMXyBD7eiqVPTQTXz00DyUQHz17JBwq2LZBFDgRPsjmbApFso7zFowi+tFz5yyWh9wALsq3/J7oEYUuoGL7iZv/thsj/B5xZwqXfE5FHio3z1oCn+BczRS/wrqIc2RxPz6AAgA5+rYYyOjlMAANA/2u+PyOP36Ya5/cSI47vculGfbgh041EaX5Vz0ZHENZqq49EQgcmhKOqxjrgIoZRO1t4YUqmchvnR4Fh99c5AvemSZoTYA43fOv662PgCcIXA4Ou8eqPsLLRpcGfFi+VfmYtD9QMDncDU4Z+LCrV75Y7cSSrtncdEcnIYxScW59vaO+dHZ3Q/2aXkTj5/2IwWeiy9IApIen5K/dbygWa1qyJkvPWUbZqddrbLvqxafczLCapAv0gYjbFwUEyeq3+c0vQd8G/p5KSj7+KzVZLJfWnmsaJHMDcK9Ef+4i69PuV0/rUA0TGPm97Zw5o4S3tL5wlTVa0Xf/S29SitDonv8LlfuYV3zZxEFbkBxRADy6dmy1nRsby/4z9bdhbmEPuVF9RvdGFE9mEm5rKKSdNlgYLVME9j6/2cntpAAfWnrvTJ9YOpnfnyqhRCY2yEQ8Ebg761nJbWuLngvmctiZOPWa/B25CuYKZcsQ37j4G55nS4xMicbSijLv39MiiReEc5lQC2NFkliFTRXs9bmpcrxGHGAS90TTdGr6sUXmwKjqKOJl++rz+9/rhy94mnfiF1QHDgPVETyJcgPmK3UtdOKl6F04ab1uMz/MH24XI2UiJWsv/RCPfP+BsS5gcB7mQAvPWvsdxPBpSQea1MegrG8cxB48JEBA7qA9KfGZyq+kVs7HvBSCDZO63KMTyb0Wxs509wDl/c0vlo3S1FRKeXZegvxQseJBycwofHlhfdW0wFvzsVvZSbiW3+sIrqpn+SjQtfN+6taXQpD/kaxZmW9Z5l+06fVrfUi1bUs9Py5HUjaXiIKHzsCNaehe13sfquWzo0trFx4tPOx/4Wik0331G5s7OjOtZklfRPLIj6oik6nlmXqP4BMMaDqzxwLTUqpTDaaAY81kAGZMGctLYWBJyoYongat+3c+s7Hrc9kgKkdAqf60EkWURcrH7wqISrzqNHv8sCRLL4qCFY8O+mrsvGVbI4FXdCtIiqJibh9qQm796U8/VTk2ztBQRE0NPl5hi/GS8uvp04c3Fy4azQ7Zr0/e9bS75WMgLzHR8kHvFcRd0lPauPCCJqW2qBlTMQFYys6wApMT7Y5S3C4crzlId0b1H8CVic7XSRwQE9SmpBYlb1/dxUrLsk8v3stcffeqhwwtYPv2q/5Py9FD3x2XirMS07QFLgXmTTbmqWGFazfOe3s+klcOMsnM1CysTINBM0hIOcwMGLwZRlxYFTh3Zt0hXQNBfPRmaV0nwcdInIPA3Y8EO2IO7o1nJ0HDQoVBhUHDfX0ejVQBI8SC0Ar0H/tx0sYRIT6dFx9KIUPSeM3QfKfRvpJScb32Kr6SDXqIgY+jt4vE/HGF2v6+fv4aSuUgMcZraxXQW682D06BGGeVUCE/bRY6CS2q+3+wdsBK/NrWw7HRupS2E9zH6c7bCme0sssUceYO/V35N306876ideItScz/4AFKCjC6D+9md9ZWcQ2zDb9oGmUf4e1WqiGEk929ouPotS81o7JIjs75HnGq4GNNMjVrgcCCsDOPa9rwPl5+3YeqF4/TA+wsY3mRsjzu629OyTfeHsj+XXa4E3erxyfjX3ADUvlVz1o7vZ0i4yIdBmOaFY6wJrwdw97OUZFRDmORgKlNZTO5SSZmtgUEu5bSo1/g3gTnxjq4JYeFhVVEUBjG0xTVP+IMaqTdefRzcz6FiQ3ppT+1Wx9etUzgejRgasRzXeA55V0Ik8ioIDMK+3CmwQo8IVxQEFEVOHdyGGtj9jPrBWtKgMmMVPF2vhzh4T+wYmEi9dVpSLl/9MUehYgA3Hxx2znd5L3y1yadzTavpGNUx9FqawtWsYBiHVErglUrynhzghdJBwRchqO5ECVz/SDAh3+gALy+tWr79hzjkJ/gMl2G1uh9xigwItHIJHnL381E4cToGAMxJMhghThAyjwiSZFR7uErBCQw6wvcr6lngjEnYENOY/3oNfllGRwQIo4xdzCJweMsQYnDOCP17rXOqAo63IuAHIf153XQVON8WjHfW6KcvQW8e7zO0eR72Be+vYIzInyDGFe57ViLHbLki13etHvA4F+sKN6sJsuBfHgtvR/ajNXlgHHkDP//++MRqQeJe4d/QnU1YSlx5lN6q70gpwyFvZM/I5pSYxJdCpx6qRFE9Wf4DgKn76uub07ZwwadgcoePIu4N26X9d7rQp8Xv4Lx5iqB3NJgxdUX4hptCjEGGHegc5eKNUN5c3zzgejPJ5cHqhbr+58EeXmpAEvWOkXCVtPtbtrI1pcpqwHAPUP5YS3XMfSAAAFKXodxBOZfaWMheAQto2xUuMvl1N43De5LtWPUpeVDBpc/muv1Qp+dsjYytINLq/ISv60i3eSRiUrX+JW3sA1u623X76vOP/62JKwNhXIEFTr48VLu12SIh+/LkqmedVXabUazO+LFhuzPsr6jjPndegPZ2f1jHZGU5Ip2eBAOlfXTpuc1uVYbLZNqbFWIEoNJQUU917HQUeZl119+0+ek52H+PsX7FblV8/b4e9vDzNWNZCU2CVc6IhAhMPxSLsuJudHH97QTl3cA6FaSBKTlkoPxD03nR9wevNmwMX0znOZVLKcqERAJKDANfFTYStS78WxVL3nnkKhcAnU8VS9reoCc2MjHSOKe0qZZu0aVMKmOaNAPaCAW9260jKzmAqu4JoTm9LWvNet0re96mfk1hDl2X/evK4RL/mZrzp8C0oQZUc3r0aGBdb6SQy//Tq0dlF2IzIcXm5MSFf8PqfbPg7liHJk9eRcTF379Sqtgqj3K3wdY48aYhvy2ELdcbjHvuz0W6aLve6vXvY7mt55jqSwy+67KghG1VUkVw4ucvdCvNjki+On0hRsu/nCvufClO/Ti4NYPujqFnGnT56urkC5bYwiQzAfRuZA5FVrEN1yHTZ3uyNMeHCnwuGbJzmKp7dbR991NOKgzPaSta1PY97rTTCXBpxJj9e61/q6wJb7WPKaMQ7oJK9yQXHMmfzLItM3OBUvzJyJN3oW89JUPuM/aESIQFQ+Jy+ND3ui6VDd7FXNRqLXX/tUcELUgemqoExVuKihkZuoNx+XSiXgm2DXmCPDnFE0mqFiuj6TxiFe6JqKqepsINzWMEkz2/rqFrNsfQfQNAczJzQfR9HqePPclrGC/fO0tOLcxZ7i6DsDCRDTm1ol05LBWsReXQFBENubCvBmgVP8wTmzJxsNZhIP5jnftL77ya8jjXnpxU5OKQvgfOLFkZnHGerFvqumBFyvW5gf5nLV/Z5n1/4Hxm3g+ezJs+tZKDx0RNxubapFSLx/x9jRWNOK6yPccgQh/uBFBM14HjV39lQe+p195Q0mN9RCJ6Pk8f6nEo2VVFvavIQYSttiomM7zkITs+1d5Zv0j2jcpE5+bwNjqQesUr//AuWNqhe9IKdkqBs9r5dDcujvI+6jYvgjhH5tmMu+qSRSNHbrMWKtGJTPgEhAJr/ihwIyeI8+76wj0BruSVpPepD7/6MnmL4U/HDj++o6/OKFWyNYD9HGnplQndZJ0FFUVTwjHkxYontn1dXFPXKt5bpVY6ZK+c3RTqiCkyMT17LBd1/bf2WCU0NdiRKyvqmx+L05DzUXSFQ/IRfhw+1bbziTp+krYr8+JKqGF6exX7lv6TtTqNjETonxOSZnobVAKej8Oa+9BL7mzObINdEZXsBgh2QK6GlN8jPW8MyrejREJHTHAlkp4dEdfCrVDu/cCJYMKmBG4S6CaII8PvN7/PdEfAj7Kj4EA3h4//H5JyqgQdqYLILdatKMtBSZtQ5hius54noqfddMms08OSLMr9DDxtSX5MJDq9Us82R2qKh8mydx5OyRs40lT6RHtlAY9XZQxvWSBx24Zz6Clk2/PogmBOubsDyYoN7joqz7+HlUIdnKM0j742+jHoVnq30PgzHUofxcd/1GkpN+dbVd/hAUHvhsbtBy8fNtbrJYDvm+wJSM+lu/33zvhYWz9Yw74NBs3FSV8JuHn5vrd8fGEPZOaHHcefYLlJKAMg3IKnylm63I2TvB/9npL5defK+yrjJvPO9ZxRneA6XTvHCZ+/zmCn6OYdOUJUgkg2VXhMry2cOgM91kyAmvbJ6tcfS5EPiqyZHS5NgLAh5XrvvNVBpzSafV55jxcxxzP3Xmyneai+7/57SfBqN/nCb/wMMffPwBn2aEke9EHEGYHDzcomvceLBK/5tQ1UQpXXmd34wAf4+TnWNzVcyCm6qyyFbre69eThtc7mJAuIic6OwDZEvvXBbn5/IFiGXdJji/2b3d0HFx/NIFIl/C40J4/vae8xuFNxkObzbPzDa/xDTvQ6zEyKO/KhH04N8Qcays0Ys2O4eR1wflYOaFgJf6CilOk3THHUGFVvlYUQhNaCbTe01xSzXrPzCsLxOLecTAe8Aw3S0ewACkQgrkjzDeHngzIJ2Wat+tJ02hNgzPDb+Z1vcPtnRvHh7FH5mq3H52mK3y0uLiyw75j/0kIzK7tsR6Hz0GrD3h1R0O4+EHEkJX03HHZwaymM4wLy23eJHX9tkPX739JB7OfHtCQOn+pBfDK+Ejoyml98Gysm9CZ5UPmaZ4X/zEmtsg0gri4457jUkKTCdzpZl78iV+GAGGmxKDN4SXU3nG4mWh7q8oXj+lIKMCWr+Sq4itWxrXld9ZkNw23S4h2v8lisMf56umTY8UnH10iMHGW3fY0EhSqPy31NyNYnn49409tMBGG17LiZyLx2kmC9QvTlexALL8JMvi+PW6JAT/0IyCwcwjntcM7w/EghhujwvJL4w7MeyJvTcbV9+lSMjs+V9Vg9jhgkC5HxZcqsGVwXaN4LGaI3ytj+dkpKTK8lcF8tkHDI2/3g9aWr1bb/zD2Ovf8A2nvBqOVRhhqRn6pB0YLTbv3KztYLHLJppwqzBKL14YPNqG11RSHqmkuV3PxqkrJS8ppa1GY9OuBvvXUSfBG4Tqt/xJJtpWt73O7397C53Q9352yctR4L+ZfVo+TAAXwH9TwQ8jnHgUSh+k1sU4uQCi/vDkIgkmDchkSkKawpHc6nH3F0qbVbrs4zeQA1ZGTjQPKJ+/HTDpCUo+f6VdXxuWKLCUYoS++tSbjAIkD4bS+BMBPvg7ZSlxicfS9O+kKGXrv6hIDY8vK7h3Nz5ju5zVRMwxz04XxXDAQNPO2B2MILR9KwaTXSZlV7hOzflzvz9yvbowjJxfUpI86qQ49VhIeOUYYXhJRGRky9nCDk9AAeUeq5rHcmmWTSWBnKkKLCFwnwWQn7g8WCI9g2JN18N0kWGbJuF+ZIj9FvYNfm6GIdUfgt/D/07TWu3osJha7VETgPeUI8ae0zK/F+VIYaQlaY0/l0+TgevMpVcehYoKhR77/91Ngr6OA5Y9WIYRF6ECuO/2mUkFTndAS6rnB+n3fleVkELV3YO/f22lx8EiYCLwt6cZqE8DJAAaEqAVrBAWCnv3WqgoGajwuEGbfzasZHpMy+W/x3+m5Nr/LyLqmSxNdVExlTWg+R8uABpEK6ycLIpHlEXsvogEx3iCFgcNol8u3Lfh8aB0+mUSmhW/w58Mmfj4FtmvP9IVE7SnnqfHQ/Tz9Mkbz9MhGuJepINhKgAaqICqY55QdfljDqPMLWMFRUWbuVkT7dlFvb1lDjMDHFrnF+8RzvZQFFLdn22yzt2wD2HNJBwL+hZdZYYMwdX3HiBJKFVUZmAmrUofRvL0RVrQ3BK6rVt7lQTPD2PIunUhtXZtA7qh58mLTvCGATMtewJqWKyVEK8jwqxlct89cxzb2yF+a3H8rvUwaLOdFjav3hG8MfB2j1GHKFQFvJQXu/kxAuTZD6dR3xq21V25xN8WLZh0+ThqfS8ejFmtCjC1bd3s3R3CMA13xpRsrzxXiO4ODxqCWIgOGOh0i47qiQwehEiICBjq9gIEIXmC9ZeOuwroE0JmQGtL6IVHzTRde67/4+nKcE7W8xI3/0D2hfafhIq5W/iKwZ8XoG3mT5IEazLndGXg41zcFJ1bzTPhy/d64QScWpuoxW1cgyo4ca+X/ENbWi8OiqBgqCojq6sKCqBwFA+aj4WqgIfyYqcgig/8Zj950H9rUKy7QkrvjBZM665IXNtPAAtWqwK2+PYuju52IZi6PaZgM/ZcMao7LGgwBqL8U4BHhVxEwsMDB7q8QKdfqm6VKGtzFTsc6+e3yIItjCZ7FtYzIxb0wjyQeE0rzf58I6xHIaLNOjHKMFJ8FxVVkoVM5atvqPKqCcaf5EpiUmXK9M2EpiqC5GzTytXVkeh/b/63Z8ZNYC91CM0sjkrrX16aN+u4IRm+0DG12lAytdKOn14+Vzr1CNBfLyyNSBnUxsu0fVISsQz1OSYn11ZHYv6/3efIIjchealdKGhxIHi5vmT6kXq1fnDlBdUtkYdKtc1EmSNrXwuSPKJTD8qyE198uNVc/SYncznr1MmTHJ9cctKIjI3iULDmcoiSdZA8uTQ/z8uHz22ypv4lfbC1e41G2lBXAZ4K+0y1d1B3ptobxyQFBKbmkyxIlSDjATTc7cY0yBxmIR7vvFzwAs+8HG+0AU/wivWJyIKCwbgx9ofCG9Tz9EbjL4ycngIwZLyWme9O8NJKrwlPbjweFHG59HIkhe567z+x3L4x7qLms0uXK9+WGadZR/cimALnYxXEGhTUCXlVMvI9iHdlRo1jekHrk6sPlLE+HvmApnIae/IhgA6rIYBSffLzggmlk5rblew9wJAS0S24tPm8c6SLINzFTzcgUCzFl6/MzVH3dDUnMqerXDaI7AP1LzqC9AICHH94xm5ikjyXNMvoSiloqbDbe/eWvN9SHljXZN+5RMDTQojggmZ8/y275yNcgEcag8DwdpknBehvpnAD8fQCS4r3Gr4cczQvUD3URmVifc3xP/HU0Jyge+277X/M4uRGw67ilLL/x/EfBd1v8/QnnK7XtMeXnHQpFpAuFjgZjC+2t2wQ5n6gG9Om4N/u/EvtReBtkFz+/yj+0w2KD4dBi42imgHUwgmCtbXRRclb/XL6jR1n8ME/58PRIH0tfXUieyyzhMeXnEv0GfSbL8bKb6418P9qK6eLYp2QyLb+zerFOwZW5j7E1FAx0ADBTwUtM0zm1+im7iodMNEveD/B9ihvu/x90af7R4qZSrlRv494CotnR4bqew+gC+KNbp+JhhtubGMPwOdEQolX3KxPVJFX9L1FTD1xRUKJV4SXHJIdC+M1BkYfhE7ROYW7jAx3Dw0M3A+1+XHslDHCKnzuduzvuflQ218u5cf+uofa31kaG5pfsgpz/l8ZrvPdJGTqev9QT7+nK73/qW/NjNnnr3b3QICxpbmWIrPhak/35ISpDQwP/eWsqvUnAnCMJIusY1kghLcYseBKyx3QGIApdait2fJr3DkceNBedR4AFkuWJGP9WL8gjKekzScnz6elJ895Ki19LplKT0ueT2ViorSHfiXFD0cBxR6Cye4tHAoHmbG5u5OgVnnIZ0lgZ0fhfOcrpbCWPyzh2cvKsqguFPtDmYBGmRK7GcFspca08WRwzV3yNL6e2GWp0xGl7e4wDdR7IPIYloqyr0V7i81DcHaaSr8Hgpbwif4pNj0BErcMs7/wWyh7xgIUYPd+rVDDJ0Rgm51BtugnIAv0IZCXOZoly5zObiP7y5HaI0U6+lDURTjD3VgdJ+R+Kc6KbA+/vsCHPxyrf4UMLYKWWv6b5qfdhR4W5hnjHwq44PyGhVYWdgqoBk6z/HAnAXsDPY7mBMFfywAdeMAEVdat8wqF5aZ+UMtQwm1mCFA8GJz6lplEC4MZynZgowj8RhokFZBatdxgWoBJEqtKxHgDjVGEtqxGnyedUXilsca1OO0qjSFQtU+bwqvzLgbBXU/kzQD0wGMpcHvLkEeHW9TR8da25vB4TpelU7e6VhEsyLJBIGwsR5ylELiUq2idF29t1RhHxRaLFqLYCJigY/w0vjoxbH6c2Gc54z69s0mA4Fn49sKl2sBVL9zipaLq6BkfECtBQ/Hnf0XjdH0sDVvs5NTsfTyQyJmBx8OmPIn++IW55tBg6EO9ZiylYUvmByZL0NP8Zrvi3GTiaa3fZqeqYeXPDsgGTJBvvj/fb7aZ8PPmYXZVB8t8atBd9kIty72YuvMXYLdaU8NplPRvwDkTxI37QRwM5wC4VakXXRYvxH8CGPxcI/5f5P/jCI7o/RT8GfPz5k9iQOHtBdSjidOx0dJcIWwcriArmcuUa/I8YtWzx7MnYtXkeaT9duUtyKvHC5Iw6FTt4biiNnajuNpxgB7niupFWKjtWR1VRQV1bV0lFVG1tdQVVF1tJbV/I98d+9gejwpFGvyrT16bC/2JOY/J51fW1tY1UpEsAkcE505sDTd3aww8hafGgksiq2VnNwni5G7BakCON4LldCH3F4PpGuB8Et29Jbrg86WKXQoW0NAQTPuAxiPkzPeKYiLipPLUt+FFCzT5V2ldaj3ti3d0xsHUHWe/0zP+2YSXLT5n8UV4ajlxcTGx1OBH38uLiUOmnIRnL9LGhySVeTkU7uxudmdnrMOR5jH5hQvvwlMGGlE+AssZZuF7CBsYfDw9sOjALUFY2XiLhqGZQiHYmM29MjyCP5yb/jnzc/YQN9o/MmF2mOqaemgG6i85D2cZyPJzh/iRDtbmXNGj2pePlUX5dokuamGMuA8fG1EkYGKSBjgjAhqCUFAENUlBXdJaRMgAKwITzzGlsWXPDbFwnQkFDRexrdepSiVQDJeIqR/5ezh7iDOTPAaSlzglX5QJrRJH/w++VnV8Z4f8xxxz2njbWfuZkf5Z+btn3Q/nUrnHfqf+plC9tuxBCkZ1nIecGf1N6Ch0f2OGdf/IKM7IKxaVEqllIqRNWuYEkgHhH5xQ/0gsXQpLijs3cXM2XU3KGnn5fjyNJaGSlQZkTe1at+PjtxMT47eEInGObYFtK9R/34IEOwTZ2jX9XwFBg1GuJ1XF+Up3Y3rRx9qv6ertNdYu4oaf6I5/6pnpPxgdab9HHR3750f6vPQIP0KgaUc0bE1SMwImswbPzcscB0dEHJue64A5fHEZ810hIiN9PiqMPx/lmYp3RoanOoHeBYh0RHTh4D0rd4Gup3uNvoebwMDDFfhkKrB0SnRDlNwPLroGnJl82vuErsTR2W80hSPQA6jN85PQ55K4cu7B/nJuyc7nNYAG+PN95hxQm1KAhuYXEvXl3P2D5dwS7QfgepnZwo/LxZmUDSzALin4L2LS0Vvs9tecveRG50DK8xi14EIKwVZx4eo/n4Z2KmT+aZ0mxOaGRw1yR1QYgAt4olwXEaOWhd6+95KkXA5rqbJmQWqYmW72SU5d/xHZWH+BTv5Esburb+vTLAroL420GUyiM/Zzaxd7dnGZCxrZgWLPaDd5rqVZd5uG7IknVg/GVnXUM1RV09TiqqkZKuu7yDMsjd9pk7WYHDI3HHWqu56hsoYaV1tDw1AVYBbrKA+xPqp7vyZJ00TXhih/e7fUxDreURUw7u9/qSrY5qzpoLiS3Ye+ssYm9YIz+jb8pXLQNDv+raJK6Cc5y3NrHK+lBJ7VWWlWGnvZgXXos4khsHSVKb492JQdrtdY5XxaJs3fC7Kd1Sed1zsrPze01rAepW3qPmxTg/hKnZshRHggxfNBCruz4igGuJvyu3YWK7GRkNAPQLFPATTuGqBxYcBgD7FqQMP+zZs0iVsiyXYEdmgbUKVU1GIQGDpTjG/E6ZLC6CHgutmWEzjy3eRlf4D6tY9iOPhgEhn48MjEhQSIhuY0tidbHJFt6X/tgnUfHXu5fXxi6kIPgApoSWd/vM0W2ZxFaB+i/6so6llk5HOQBZWuoalMQv/heHg4j+2GbHgQGf4MZBJUAqoVsMSgySMJEt9BszhStvBOgkwC8Nd8yJouLgz0aWy768BwitqNF29kj6g0pPT9v6zipW/KOz2n78cej28lTiFlz7ITmnSKiKgj1F7WHh0yTwMDXQ99oJ8FILiw/yNdiI9MbPpORrf5/aIjFhP2hKKJ8P9TfL2nd+S2xCS/Jl+vWCdgpz68IZd++5ZC+uXc91WyLiIKCzKtc+UuZedG1rlpeA2jnegYn35ZB+NaYG6iIjQlxao8+77SAN1XhstIVHQh2T8MpsU0ObDey5e7GYUJavHy4K+BJMPRe0qhL5+osAfITT/ESafuYFh8kremv9rmL4NI5beayrAB+5CUnSmWQK4f7i+I06ueXswxrB2tTFfymtAuvZgtz2b0V9IC9AJuvy1m8/8ppB1sSdlzhLuHqijZI/amHz/Wka/oyyhUDJqqkZZqjGVi2ceDP4lBB+K9fLmbEhIDy4BPxt6+EpAujPQcUma17hFnJ5/0pdBZBzr9JlMsAvQuAFsAXRjZuMeHXgvYxXsfl3cRSMKTbE4SDQ2iDhpVd9fStYYQHFIiPQ93oJfMZF9e0OuXK8QP5d6/P7vZ4IEC+G67xNGCQdYwPkjJaXbKzdN1xIXZnVnUvM3Vb3d3Z0M7XZy7XdugxV0qfkSxtqVJKnF6TD5zU7Qs6DMM2GBffHhNhf3wAdGvXwaz5mTN1+/uxCTfPj//8L1Jif49QI0DZC51I8UTZCQyYDgk4Iu2v5/oOxJQ4Y9JxSEIkRLU5FX4ZKJfc5GXwbgaQcvFMI8Jjr79lPZ/ifaYkBhZTNVISbbpkIEt3syKrOrUPnJW6xJ7sxXG3P1GB5p/rrunJa1y0MUdn9M3mGlp6ujNqlbF13tvpLIVogPz4crMzKc6hgxyhms5TTqO25VtC1nbeXh0XuW8bxib2KoG2Tm4P3V2L1ye261RaCFJndrxNNEgpug6dhH7ne4LqFwZ0qMB1FUybvMLPqHHR8vOrZ23M6CRFwNg7A48KFDDBIhtH1GuHwEXI7B3A1dNFzm+i66pg6yi40r8WAaRDixNJxa43WHGZ9znugJC4i/LguNTRzbVvwII4ArQd+QM01vTuxLOy2kpyVPIyvnkC/mTL7z8punLkq6UAaoV2v8Eod88l+557kr6YRNkGfZB1EhRUdz6318pKyUVCfs/r8LSn8zPp8+Fhe6bm3+W9hQEiOEOmcL4mdLdv88AzQXzh1hLHVdEpsqaLBRPGUdcpd5c3SR8WhVfsdgcN19DJn4M0k4fcl7aoOoIvQUc8rTsHS3G6qIdFmHFZ+Oc8piwntWaiEZ9QiID4mx+9Z4VZvnfXI53DtKDhvEBTXl+kGdrzTtbQA6v7vB0cdgKdj9vWiVbJnx2ShF1QAZS307v7djGdRF6stGZZOpxV2ugFdEe4l4dr4C6kDc9IXdswoNlvJV21yLjYXe/e0Jiig8d+YBM0AfMWUA9ybHCLfefT2GNvpCWPZqobsuYJugiFzO6YuGT6nX1uT1o7MqX403n5FALY2uoi2tHMPgQWBXEASMFsFNHZGeOe1/x5LwCaZMPBe+tksqcvc63JtCTenEW5bs8zBxeM8Mkr5lHHLZzac13Z0CHY7qa/F3KZR8s8x+7o2x0FO2OLq4WRx15kfTN9ow1CsVhg9kUMYjFvB6k+o+TfwSeIz2+K+j+Y55gmbGIjoEYXetUnD7bQH7LYMzCN/WAi88dwSNMX0+2XZNCLYxNwa7unRFgCx7oCGCS5ntD4U9n6hqcRDQ5Xa2iGqowch7M5AKS6tJfE+rQbcSqbsHxhsYXyhXvR08wdR3M6AB3DwDVcOn469bXY5A4CLhL8wSDGLG2JfG5tcZXGg8+f6AJpkwp+6UvgYkydRJ+Ihtf5/IBdINa2WHTD2reB4JuVcK6NpIqtKSmNMjIRU0fRjG6+vIyjoqcLPvyFakUOQ1Z4eWyV/RtPS3R7V6ehVvaumI6IUxzOH3+R9bur0pA7e+x0a/1DKw2jUG1Oj+m+Lnu++TE9JuZrKCM/jLfTiT52QOQp1kguE6QTswUYGwwJ+XbdVOt/PEbIQ84yXatAAutMiKa/J2o4m/30PC7TqR1bMozhvEOVVqSM5asFxx7nsAkcbhsoaz3Wy/RfCPZ/WYSkKSZOBsmwl7oUKWIJUErVSkXuTFUdvBE8I7Z0RIzx9/Lggkyem3PH5fi/22CNk3UC5f0949Z6JV3uj6O0Cf/+36cYJra2JRNLqDRaeDQsTVbhP+7vThrGeVGkZTTbMo4BlogLFKCUCu66kru9MBmleOFDyjSLFIOJLoU5PnRoE9hqGVmsT/jB/u/4mPN4jucadGB7NV5Tpbp3WuGmCE7P3WNUbLBhKd0wpo4B/s7es7y7TpB1ioNhWzXCbACCWLTTI18ZqZX2el/O0aP/vftuKZZWvGmLDJBjRYD55eQjX825mctIryQ8W6CjoVmItRTQ3DdgxR+A23+eiqEA0li6jSD803C5ENmZmOgQJ4sIEK11QyyK7IMjxnkVuQYQB+HXtNYA0b8v1X+VYmAyJf4V4ARJZT8lenjXSLl9TtEyCg5oOwrqn2MqQg2BHF1vpuhRtldBcKI8qbfEXHyELSjoPox4ni4JjgsI7zDnE9MhKdgx8Mcngj3TjqeGA9PS5sId3xC+QqTd6pLgbCAMV3K8diqS0sfr7d/nIS7LIc81an64G2gaLa3lzcbeGskLU52yhal76ophkhkQOynh4pWcOTK9Q5m75vxSXSvMpQ0w5s1Gbo9+elTi3dQoGfKB+VRY6ShvSg2G7m3Tvt49yiHDJP8hBo8YNlGn+YJs5VXrefcxltxO++9Sx3olNZelGCetdwQSScEb7aQvDZY2MMEjyoDCRN1k0YDD+6akYypummTkWczJ+57X7B3jO2Z8kF61hhJmeHNCryf75KhZdUsaejZlBY6Sss/NnPwZgtBkjyhOqi3xTK8xWikV5oA3Gx/d153Gvxe9ti/JBR0BjZBFIR08G2wWsW8cDBuvCWvNLKkGYD4qycHc44StwH7qly+SjPowqc/Vep3m0CBoyTmnJ5f3Nj5hm22TFa2QOTyfYjyJEI6Cc+u86r/Cs1Pb/DjhnaIh/rnktSd109oaCyS1zZ2BeMNUhi4MpMIjs4bjpOoSCpqmJCAl3mBSNTWHZ5N7oPGFi1N25+trQ1seuhl0fTkAn5LGPj4Hrg0MqK9+LtYZu5w9WGVOYn2xz7XINPoyucZZCKOuQm14nAFZUqdptOdWZpg4ebQaz00WIGZm12r91CbMBZg7sLoMQ8D5hmCwrDJhEySWRoX3zH5wb5w4n/3t0QDQei7YMQRqBPBCNN3ezqHbEmZXxWpnbk/5qkqfQvCflgs/ABnvoWIuUqKOdC0IFa2SsS2gsmjJ/fmfJ/PPT6Yc02YAz65LBo2a6YyFcDJ4dih/+/++hZ+AYR+Fk1vjvXhYSC5CqHvz+H25u9D6GMDK6uwL2iOgAUom88xUo15ELsrMlzykXNHD57/xyATyEgbg1Gg29udGsEo9XBxY1GQrioamGT+2Sj+9P3q4H7D+6aTeg3zaCYQx0m56BzsRxW4h+393P6WbFnHaZO+LlkxGgUl+tlae5tSqaH319HW+r8j6GXR8or4/VYeVLMFCrg2Tk07RkUHeLvc8BS1ND3nEwTOneh0VeT5Yek4pbo5XwA06EoHX2EA5BXF8CQt6aT+la4/VHL/kIRj3T09dHcnNveYiHPNfY2Q8/C1m/euYPcYW/bw8JeD3PnALl3fd/33wbuDNjNAbajr8SKy8DurAVcvVkRffbh6KbV8TH5iyGBDSWZWT7Xf2KeZ2JCvsMtt1sYQKZ2naWs8bAL2YH235cnDbv6pu7vtNsAhkzC3OOzCHlSZp24AKH6kHIBnVm9zP9yC+Bv9dQgSex4eiH0OtINEjY9d0meNgwVeKaXDJvrSBi6AdXek2wfrXkYJ0XyVbgtbPmA4ZPPweEc2t1uQi6EpkwPjilu2A9StxWtA8hnFAUKc1xgv+WjlmQiwPPDpYKaXRHDxdJWJyb2giBkzt9QNFtfKBgRutxQ/LOefyskV2IM9kGg1S/PzcjITZNC3ueguGv2fcpQg3EN+JDf7DioFz9YjAtHjKVNfFRwQ3+b1xnVyyhYVKHYl6AaEIp8RtO7f1Z5RK56y1gc9SHr2pMSFJss4d54A9OYEzbsl2XIWZ1nzw62767RUZZ4taWl6Hx3RExraGxER2uOXj0jHpU9oXLkiPTHRJzPxREWNlHXz38RABtKqXgjvbUcPehUlmlqL2UI6vIeaBLAHQu1t32CuXkCoTUOkZ9dpj9lb4t9+mBkzquZ+/+FwDR2stJ5+QDbdchSO4iiFIchm0Sh+RAagpEKLCjgVIuCMUz0iMFcjoHxkuDeI/gdnIsewEtfwWWcmI6KhjjBBwjKvYy4syWl65NBEAwpjMkPKak4NGk4a+h0MRNMnQcQXacfMViVHNv3TMJZT48khjZobEFwn/E9JX/2GAhrQkAsAZJi1iZ7gtVYawtg4iWVpTU0pIHPdrBYAIXdm8bwmAMrh8oBUEU5RMKQSWniYhUopTBzeucDRpifItV6j+FlTS6e3nEqS23DEEasl8sH4AX8yGJAEUqKS6W8zkHjBwbOQ6ocQLaRfcItbWFDo0A0ogG8piVW3bz2evFsjjzTAdhtdsFo6skgJEj2HV06UIwGQijYTcHOIiwqLCMfFzxcWFxaend1fZ2bhExcRZ/9OKGjWAyAT6sUsRYQ/CxkxqWfmI2JysIx8BjKjM88ypUR9ZJOIBB/wQSJt7BqnFsuvCgra2oRBh6D/DVKMHfEg7jaiMF7gvpyQ/5q9Gd+4IfVGCFB6s8Dfk9RLOpDkbxJz9dgLxJRMB6ena8TahnQyl6nT1Glz6XbknY+JqHWKYAIZyBIaccazBs8GEsGIuKJXsEVJgRI0GUKdMdkdOtVkiGACmSNKuFVJiZs78CFk/SXO0RL+g6eRnij8wTZu9HuqksZT1ETL6DAuVv4tNiY+Kj5T+yMiFliDzhmGDHUMHlrscwRICpdGeGFWPFVs1tMDhOVgvpJ4Kz4Fsb0pPmb8envM6A4Csw0BYg04N6d2puC3Qvb9qKjnYuOyz0s+9gWppffgyKjnY2PZyAwzVy1KQhf5/JIEBS4yL8mon5cybJQAcdxzu6Bmozwfuyy5LNCiwJ/mqWlwWV4yA6EyGhBa+wG4haUNMKHuL4OLhXTi7aVFyMemjEbLMi36geC+GRRhYJMxa0rdguutP5J4dRD+9qvzqdQL/Qf0R0PEwfOLxUs6qWYbwXAi4EDPsUvcSnzARnJXQQbn5dy7v5KLnCG6k9wec3lDUEHTfA3rnBHWvt68ITgKoJgR9AqCFRyrGusFwaVBeD2wnJnlQuDaWlkgC79Ura8JCYuN4NyUllbf3GPopjThCN8+dGg+opv1+Ns3XkxR0uJiUiK4Sz3ISs5KfvmUzL+NjCnPY4HZ5XiXovjcMCW4AAxAwXl2YUdCMh77tqdk+1xY4gKUsIEffzyp2a14zJBIC+YF18o5xsOhYi08NCmIjWKz2A5eWxXaCT3eDe2IfvQUFZcYN1HxUfFRcFOi5kYAIBPL6OKDCSRtiQu09Fd2sTzeYdgcGuavRk2tCpO54CNvfL8C2uXqJC0pnLZWTIVARLE/XCImN+sQ9tAGOoizVbkcZ8ZxMCsq4AJILucpSIg5uuEZfZV+OwtgpL5xxNFF2FIPKYw+1UTrmZQwjtPcX0lFR3DGUdYM3hj6288tyz4DSQ+PRR5iAISKM/CgS/7h5IPAB026L4DE3IARyBOhEbq/5WP0QM8aPNVknXXGS8QQ7yN0j0CLIq3hfbMkaIJBYliYpjC0uOQ30OtCKSpNH9rbfzChpGgI6GGAcUaKUWEFcoZTXJmY6HncKT0noFeViUoFgy0RrcfAAcRcgfiqUn1bWz0wPfjKOgIQcjIaQDF5ChrSwHyhtwBC797NZf3x5qV6brXlDqECGkgAO0aEJXEQbg9/3hhXdXMMD3dfNa5/HzVdI29MBD6mscSokc7uBHTnoxFIcT4umM/OrcC31krZe6vXm1fp3lcBvwtrZykbP/NY2NRiqIAGqvt6IYHv2Zj1H+eb36AoXqEZal8TYhITAcs13cWvoRqti6k146NlkJQw9ozYo2D1uVXs40Tz/f0/GuXzFFrelPUME+iX7q6qpw39aYiHhHZ0bWdHfmJ4ZX3/V4iNSw7LyOmZd48+tJoRcFHeiSW8OF7ziMneuUJU3y8XmC+XMe5Q26wNuL7+/7rEHf15Fzp0oAPxCATJxqFO4N/9Rhxxqv8va7AOe1iuTo5yxzdc+hwYf+fJc9W/0rCEneUBF6sZOTHz7nE9l6MghIdPd7AmkNJxYc8QP3pz+nBqiF+rdV3BnIX/wkVqh7du8VnpcdnqUmdeiRTfmPFlCHH6xC0pwzYBD2cx1LvZfMQi6MiY9t2Yh9cnzMSBwfrSzfWYdcGruHsxCzfBTvr7ZXz8ZRU1tGUYxi+pYbo6o0Uk+PxgimaKxBntiwNDSYamy9+jWLIuMDRtULNPXKUfViUWOP60TNpBdykoeukOWB0x0+a+mr7OvVluvT/4ezjE6blfhybVI1I78aNPRurXZpi+DL9fZx8BDlLINkiN+gNdPeeVSkNys9/g6nDrJbn0JQMLjaLao8hdc07Cdr/o+QV7hmTmxLCypyazcCl38rHEYnd1FWQgajDtsVfVU14sHi4KUBfH7ZbFUYP1ER+fPCAfhDaC3ysAIrjxD2XQZTgCCgg3TXoZWuHkRz7p8JybqTKoTLYVHtWbbXJu4s3uzR2Y5VC1UMWEL/4gkCKXop6IrtUlziPXSjkUp/pCJGeW6Qt5URHS4gg4PQZAJSYA+szCg98WyeUGAtasN2sdQs1zR39bH2v5ew3Fa/ZON4olfj7kehUc8I3ZwG1P/m8GRLjjAcjaIEDW4ssb45NLGuoBWesPyNr6ggZUUs0iFuSntXYOkVMjOZ/dDbxa72/uNaM3sxo5wPr81cpLNmf04piY2OKI8+Ugtvpv9RWbK/3SiKjY0pgr6SS2QnOwtjog8M4C9EDvnbW5eVn5tzJ486P1Xf13FgMCq6D1c00uoq6xf3CooCkirbih/jzwR31xQ2pkUcvAYH9RY6TcjZv5TQK7g3tNAjdrRvPPvJz8Wv/vXrXDQnnNAnuDu80CgrUGBBFYwyu8mi3idSr54neIzg3yGROSxa1ZRcaF4hUqXeJc9gmKLyRcVAs/pMmoRTlxsOQ/9Adk9gpK6vDsmODslTYO4bqnHvV/9eDWshwVLTLn9+NEfI82OseJBr60/wW2/aV8fl3OFXTuWtKdBw6FDewSHAm8WAG1rOSMQpnNtfFCdS0gHwTSi+PZsz3UZfmcNUxa/h5z7MueTF5UTIKWeiKfB9mahB8Gop73Fy00/iqxkgrqtIezP3baLtHPO9qg1dpu9jYQ5x30p22Pkts61z91ojmp+EYlKTv63a0J0fshUxUTRE0P8AVEcvH/YY9Am8Lk3RwiZTVnx/afWXVf6fBARLBBxvPFmhtrpv7Ays1oZVOiFYmUNcUzTUuecaUrd789xrOdUG/WZX2hLtCaFHr+5fvAu9+sYGs8E3FzljBFLtRkYnP8PXuTe2xLaNcL447/a9tC2M1yJs1P9ve+fS/MfX44KW63WN4FuGFO7hNonrzd6J7cf+A7b2VtH/7jXHuJ7cC2fPb2K0D65snbmVtzM0NxqQ5RJOmbOtMtOmhPiX/NxEjrcPBUzvYiBHAdCLrQegoXAfoEKs3+YVma/8kibZfGrSINOs9R2YeDPW3J2S3Ngw9BsG7JutW6NZdn9fue/wcepz1Qj9/RCVwZJ1HQGogACWTbIrFWZC/tqx3kDgy3J/djWOL42+qHYmBqvu6OajpIukNvBSa2FNCj6sGrYDQLgqV2rk/sIHZmlFGfeIMADcmrcXdM0oDMCTdMalV1RfvH7ufekoMihTeAW7V40fuyF8TdoVOT1aUTJfwGqm7cryNYtObVNtSDAQ3O3fVPT/qAzcTnB+KhJ3O5en7rj9D6N1QMrFzB+AMpovTxTDZ4+G5Y0tBaqKpjTQKdpK0ZJzHeIKlYMLa3YkaKBOL0Y8uos9vBEFfCUFuOrL29qufhwq0eN9iAjbuTwH1OoDXbe0moGaxpua/5+95JRwXaCxJwFm6rQqrdIeJzOfC0P5mraWeS6HCT7KimmUkrJU2y41ndk8n6UdsLcmLk7Us6JkF8ipX5CwX/viOdI7vjjuNVvlkKcOCRM9pOvFDeRjL4PjOidWKPWQMWEzme+LV6G0z8MwY24QVodbEeOzFYP3Ni4ftC8WvoHf8gndUyrEtQZi/JkXBhAD3le98xc1iFNxJvr8rwglSUod2cWiW4zU8g0ZR9Jiyrl2AIbRAygZCutYiOjHCWzPmtEBzBMtZ5lg6xHch7+2AovjeMjI+NLORv7+xExEbmi4Xu1r7YmEy2FNvV2RkbU8gW891ynL0EsJD5HR1A1dEVMaCsibqhhPjoyFJcV3t3AiLcgStkdP3tvVodnZd3KoCj1mV8T824LzYxY7s3uD2obb8vM2kiVgPr27tqqCmHdyP6TxmjtTxluWY2ZOWLhtHRk6byBAy7TqGV5gBwjPcpsFDeJO+oeSxSdy8Yk35QlP9AygogbfXFdwq+gGHuHxZ7p6U3a0SkLu/Y+3y8a2n54A8nzNdjwkdNDt53vAjoNF+4Fi0n3Thjbfers9Gy4xO4hobypw2NNU8bDE1v6LNVX7tHDmpYoeFqa3cccQDC6zUiKP/btrP9py0V9O3JcZ4iBebtRDQ/iApggyr9075brz05RJQh55h+xLKWPvwaQMSv5p3Ni2Yo/0cZ4BGJ0bjV8Q19kTOhlwgwUYXdmcpP3vgCGawQanrDQQ93g+bTcBi/x6MVfotrYexsyon/buYk83BVYf5tQg1XhzaGzwia/j/Pt7cvngOhb43gxO/2rfW/7XD8P3M8+AiNL9sqFYGg+BwXHWaVp5KerK6xer1AHKLI9W6wUvCDIdK6puCiUobH8EP2UAAI+Tkbfw6hj0XLg2P9Fg4saaD3z9Gar5cjINFGnHaG9YIN2Hi5YS6AqODmtNfvGS8+9oJzsEl41D1rxf8xir7xX+V3tPQlb9CvFkyNYpR8NL8xL0h3OhaMCzZHK0cqFZhzZX7GafKabag6EJjRbhUKaVyP0TiY1Ks8fbrw9C5tdcz7nDhqc07bEC9h9bhVqM9tsXi8YIwRG5kYnbjLnGt9FuszBYq+PVgO+RBOwDAZOhpUFe8faL5WZbv/udXW4JpdINAm38zVPM7XvPW4b7sveHbfXwEfB+ZX/x+R3Vrv2+kTytK8/GEz4Fg2AFTnKIo0r76d+zR3NVFzPucpZVMNqapykIQdQ+30kzAPbVglHAlar/8fFzC963vfx1p018C9Xdgots1KmVjlrIiX1KVD8oC9T7u1NBnnK6+GVSUCE7J3dtWWA/qf0ESzJYVqpRQpgiI965aXX6+njJfhgwQqYPaIfP3EWmtFKa3BBMz7FwM50Z/05ab9+Y1Vu7yILgHvumks+rY6MWsQczRxaCy6RJhYbGUXmMx8RsCJKmFvvxue0l5Gz0ARExj+sBJ5D5apperl6EtQz5INbkAQu5MH1DScMh9rfCc9V2i6VLhYZCK18GaQCVsGiG474rgTVYmJ6BTRJY9CT5EHmGTINXZs/UUqeCrhRi/IIHNGl1TCKCgdBY4Wy2Tt2H4IgJNLOVkOiXwo8WcyOjxqHkoWQtbeLJhJPCsO4wqJfMNALNTthbRTYGRZC/wDuJ+Eh1Q3yIkGTApA1t1/4IlMEW+/Xi85X/0lyEMKEMKJU7e8/W54yXoSn028BO70dBK8NhN5IXqC1TbqgB22lzXW8jePjuQH63T32LpzOC/1NzJPGNKY6nYUlBdoU+yJsxXe28iMi+vOp5pnK0s9sJLR08w8E6n2DKi/ydL1C8hUYQ+qDnhUskDgL71woLKgAe9YDL1oDejL9Z58HKbW18egPDQuEh4tHylXYMrW/BmnyYN5tapiWksRXo5TUsCCeemGaJFkMwzRQbZiFuPVV087uzsN9NvyPgeg+dsaaaGsldPUMqOX/GaGlA+4LnGnUwtAalzgsGGgLcFsxykrwGBeu8XgMADBLjrobB5hNv9rnQeW1g907/BdmIydK8rSyAtALaepZmBNqARMx0tkBAZ87QGv8LG2PFGQRJx84BUUw/LFYYpfEEdXei8I0HpdfEpDwOfNX5CdQdSZGlaqY0EMg0qtDDD7QhR9noRVrjcJb6Y0f2tCcJDztx+Mpr6RopjSuOvhbnfWmAzUY5GagRss02e+EYCCiNIv9Iv90tI9C8TBj9i4QYk+k46uHlpl7IRn154IF1hEPTSpZdVn5HLt8SPa9vUKR6vdIkd3nuKcTmRgtVNf+yFS2myG/Jwn+bElODIcI6g81AhmvXSJ/bdhfIrzAar/7w30b80glgUSkTu2MdlQAFD9f24wgIkDgvs3DR++eCrquYYZe/1jDd/2cXbe3mQcIKf+XkP/UQtkYeynfhtGt/27BEyWXlVjMzbFajV07Qw07W0MImD8Zl2Vcfr9fn7u94zs02xA5WQyQWLdG55UF3LVNxcMdElGrG413zIyv7AauKT4IMIj6dMRvB9CveI+eE4dlhGJaP69JPrbmUX1Lw/j77DIbCikJIaKbDtTa/7mRv+FtKxr1wNc+gRr8dxjJ2P1XIJNk2wGrFz0oRxF8fGJGdVP4dwBnGtZSgdJB5HfRKXXMbKAcQXnSkD8VfbFINlumbzOVoqfyqueHc91Mp0bdLWA3f7qFNT0kiwcjfCnu+pXNogkL/e3vKR4QY6xxX8tEzHQf+wRg9trabXmDVJtsSIQ5r+KvmPmss3J1V3z4hn6rlzsf+7bT2hppRyYSf5AcGR9QsLUsb88nVawWldTtJZBHg8sIbC4/bxshG/1OVSX5nb8j2nkab0REV4DTsmmfki7gFXQYPeg9OETjpxldtO/zwaY96/LnOdIMTITR1XJNU9rPKvA2+EE2CaadfOXcv/wOdYUH4ldosgem2CMqdnEBIFrdD4fS3vAAuwL9SrYKaWvPYKbcMv6v9J1a5VbH8T5AQ0RgFKejguz8EfRD8DxBTc3u42bolLCorCdk87STVYpBvQFMXxj+omyTrscSIJw6prrhOoJozRKEuth/J6wSjqC1AIuUX46X4+ZIug+IxeDMIbCvnhUYm98orx8etB7zMSUh2bzafRo2W5fVxUQshIVZaCgCqiClBOiNS45VuZuuDe39m5yQmJICeKym++guvrPV5Mb30vNFRotepN8Pnl272MEAuy+dHy/fj1i5Mb3G44Db/cGiWA8UaTtY1astMTVBrjel+/1jvq1b2hoOCv5rKcwHEAeUuJJd1PuDISCc8+Yg2+scOXmvopwGezm6WwRVEtvswLlOtX24ZCmOoGdFW+hvuaFQlPJhXd9TNhyAqIC28uxJ6qQSZhUsSW3Zm+RB8kYYPbAITq/bc39vFCG9ztwp5am5pa0HLN7iVVbxG6SVlv0Q5QsAOGRApFBBGVivQcgDRJsd/ujHdhOF3MPncMYfOKi2UjZdou5H7LAwmI5O72KncWaR25L3I2wuxXtTCkn3XKrmhZu7xS4ft/JbJ39vgVJn3ACu8veN/u8l4tMpG6/GWRKKwNEjx1x/InKbdtD/96OpbfCUoIpHhOCiID6O3HNU0a216Zn4Nkgl/txqzCzhBBU/eFYgonCxmLRGGZpwl2xAPgrIVv0/vjXmoAVuutSrgSzZxaZAKTF8vEveJ14MzEg0mGbqlZ4qdGGFJixVuDkG3LQ4RA4AckvSNNcEPQz7T/6WSGVHI2lfENCnicjoBR8krpBPTIxq7eu0UbQ2CWMVq6ajDF/K+2x4Lfi2y1v9QKSBmYiqYBWK2mUAm4cZbyPLBJwCgLJR+CYMWawYvyPd4hgt8M0zSwUUACGmghehrzeDhaixTgmkufDI6zI92BcRUXq+6aL/ftytOxVqYMye8m7B31XskroYNIvI6MpIRiNlttDSPlr309BRYFoPWlMduOot3R8zMNiCQ9CgBEFWUrUczANby58lN2BForPrrJHzKsPEaAJ0OOWAS8OKm8RIlKg7/3QsXZ+pYcbLFpufjvA5LiCJ7TLxXBhvV4sHi8K0JTG7ZbF0YDJZiKRpbDI8GSUsmqTCg3vb5vz/an3Kv6UMea053L11HDqJhUGMdszeWNyJS4xyWcyy5Y0RwrH0gKtiePyBJqM7kUHYC8yYu87Zk58BALB1bYmRzlbjYH5/58B8PUH6v2mB2XJgPL4cx39TyOSzVuUb6RHaI9gA65/vHJipjR+erokfoohHUwCtrr4arTTeXOZUqAi85q3EMOd1zP/zofuYhCCF3Qj9lbnIwYifvmF+f5P1rPWccYlfQXmTvCCEWgjJ1VZHO8IH+HWBJ9J834bp2uQZdihT9AjtfOTzfj54Y4No/ibaitApt3bn9yXL2c39DNoImnKjn9kn9Blm2keBD7+5K3pQzJRgAd2j5DdMGaNNOrXbjHSG/qOtx9goCTFpBorD5lqmZL1O5ZmCjUfp1IZbfOnMV4TkJbOxxoBalwsfpQRrs/cwF2xrO3dYeuUw1lcwlJN2ZUaiPx7iY270+fqwV+h8N+IuB4Asj8IzrqRyfaIQk8eD6u6SOEfAegbopijrjxugFIJAjS4UDdpWLzsnJ5/FAjZTt3v++EE9gwymVfyaVMOcnwVItFPHS9V0Dtx8flAcULac0vO55CEAyATEwF1skCVzp46onHnRPxxkemi8ItCZ8m773LfeuojzAVJ1U8K3mJCLpxkaZPcJIzYAUoYZnP/gf0Go82jN+8y4Heuwjnm8V5YhSFK6M4bXtwLE7ziOeJPHpbG21rgr8AFBFmVt+ioh5/Jtbd793LB5d2MbhcLb3jNqHcVQfIWrpoN2g4WIKvcwveVlQzaDJbElwV5lV9+sRsU1tOgw2w6qTpkjg+cUv5p4UHXNYvrvcr4INdgczPXiPFRGK+M7zk910lWsTord+600golspnOlKfwxdEPdsZd9kKd3xuiReL/wyjoNHD2tgbIjJP8LbSp5QzPBJ/lMxCn4uKWXFTv/zLwZRdEHVFqHgMsCsJiKQPdsVZ+95Nl0I6D9uwSa4/cGTj31fVrcUS5h01TEXTioP1UGbJeql+u8rvRDSPDWiciWDOPS5S0YouMC8TLFLvFr9pRFbaoreU0TUotymmBwp+2qLCzCXFxbSjxlWC5BLUn6LT41OSmy1jbSyJmplMPJJ4VW2/LrZY+kFg46mZNrfkChtIPglNuv9sh0EoJSZkrpCEPb2FOn9Vy/MA5+Z8WXrE8NAVqI6vcIprKSgidN7s7Ey51rDf/h3Dn0YahEqwZKhdeMVSCFXCe7ecPuCJeqVgkblLfmQF1+DFmsDKqr9c+bHRu1CIED99z6poVJir+9v/FpGiSg861NSlOVuSI42S8ZZgcjw2+YsOZj8MUa8OUMjdcmerCFDOeDHH2pW6C2MtDoD/8AKRDqAkBxsve7+jvf1k4gmT/todcgIFQrvA14+6ZjY0LjfGsEjYjt+ARykGOpLs+82Zm4/do05vZdRAPwxywJPg61dEMMOHdB1wyas01S/MLSzW1i8uL81WVS4sLS9V1SyvAcAhiC8F6D9226PD2xg+yJ0KuyMF+V6ekDvY7O9jnjj7RJNLRdqQf4KVpzqtSch6fOOLR/KBnH47YgB3Y+nkYGnvvuAP23gONGiU4ZtYD3KbvZ9v8OdbubXVilkM+M52rtGfBDcrAi7AkigFeKzCZu0LI/JRaAceysCQat25/m4ZQAuBbjevtO0dH8sO1Bvt8MzmyrMPPUl872BJL77542sbTyvXONaSblyci7aCP8h0efJkGC1kRMd15BGN87kZ3ZvuA1EsCRulgrjyOdjVLZeUIodQ/W+XY5DZX7avXXEAwnySmvy44BHhMDB4SLPITO0uvxM6R/rVSX3sTAXiVzm+n36xhbwN8iWch7TnhUV2lIcVSquZbVE1NNwKy7SxfQt10naa5+fpzIbjSqPCuHEgiA38GO3qxiDozXntAOSYCmhg0/JKc9SWPwDnmDICcieFbUKHCJck673AZ7AhWCBsX2ZjUAf18v9nA2IDusYnf8GXmz+Y9d25xa+zKxl/kEd5RETQddCiUD+SpIZQzhq6rR7L/AewirXzl6HLgT81bWmqTivnGdF2Vs5xB6WTTg00rp8JL604mb++RjDtO2i1vTz/b4x3M1No2uQN3BV0GIxGRw1bKWO+0uvP8yzd4mD1yOSOK+qr802PvvwTT35pNbIw6YHNT0UR/cZ29q9mvs2S8vyjJDth+yLr8aG4WvwgCJ1+xvIb5q/JXzeHWmJiPS3B1uRcngGVgj7YZcjJzY38DtI1FJJ3Jm9HgGjrN3nvnzfdZGRQHJrOF2lK33jKZmQ4WsUMex7Yg4zBhUtP+Jq02uCoH11kOfrnFZ6pK87BdPw1BdRLfk/0qu+tcHyyO8fo/u3Je5fQAD4lCYIy3fX9IksdO7fcbH8R6da/phku6p5rVoq0vVPP1rH8fqI+2qcL+OVvKzWujWEogjNeLWc1F0Ji58nETj1DDxJxILf7GWIBz5AyuPw1V2l6XNcnLvVApNsp3zi365i2NDHnjtDbFS4Jrz7KU9XEIoYDqmk0wdHlAzbgR6iqRLVw3vvY+mM7yysnSF7Yj6qPpluRHJ6ZoeRvG8O+pUhbHTUL6wbLbgut9wXuXNvHhxp++77exp987tJW8Z/mc/9q9q+D9/wd/vCdf/96jCZRcL/uNOHl5cjWqnrevEXd1jSNVHdfWy6hhcVpEp3EPSKBrcDhBDwLEM1BECQW8kUNib7dClUr3TZQKAiUhz1mHWeOhrC+rZY6oF3LMOuGqEKJIUdKR0TFJmgsmDlYDRm3xqYcWvV7NCrcZaNXpHYRIyOAGLY0D9vz2C+qzvQsYK39BqK6NqoVVzSY5xakD62CpiFdRdS3UrSzXf1Sz8DCYVlhIJU5Gb1BxR1U0dg1Yqcfs89iOdcC+9uI0QbTqsGckKZL3skS7RARvWtQZcx77eT3Oum8to7WYqxexpyTIvLmUs2bAx4DbmdvZCGvAUQpqXcyXWrI1yTlL2VhZXSPAHmq/YIUzuvHPGCFANz3h5DW3r00c3doGojRywiBXQFKFopzIBJFX3Y9PCO0zM6pQlOIMQ4b8gMud+U/hT8Sef/DwG+i+XAH6lURAdeUKLui/KOZaeSKOtGyZGwh2GJgrmwtIa8xtUXKDxiwbDlOuQ5yjI+BuSWOetAh7If5bPYaPD/Je8Rbtnr8RcH3hojcXnVuNT1p5bgyEAKUUf/UaleActBl4LIjiumXzDHy219Pr2zken8/+M364PtbVPoC9oc0/6QzIRuKL70XGweK3BmiHR+uZYDld87D8ig3IL1pfKHn4DRINnNwnUITtBOFVMMRE7Y7zybAmxwX9zOtXNLkfwjgsmL289jJkyNr7xU76D9RHFih9uaIHrVxE4tzPpp0E3LbpHexRdTLfKAdOmbBmiIA+3nPF2zyCV0dnhnFA2ngO/KM3WK2UV5CvV9RVxaeaPIkxwj5EpuulxMeW3DoAKQFQUcMO8ft/D5tfTePXVMMyMqP83EKNwEjk462mtaFs6Utc1iWeufcjatjgrhnoj3DoB56bGv9Up293YTg1OL5x+J/O8Y1drcQ+skc3D1+E3W/71iZtedmJtEJBQkV3YPLVrd1td7X6fjD7SB1AUQ8ffH4UiAyAgOBP9UmxLGrfX7ztHVqJvFaryjnFdFlXuzNlNRUlZwjnIKzzbhjQP22frOqabvcBVH4QoIGqS6xblg6eVMgZY5sHrRC0ov9lXodoiHKlgo4psnRE5qyIFNRKsALVvul7zeosr23tEfuxXf4c93JdwlmwfaymYLmMUI2FFlNw4vWLdoeo4HWe3NvsAysdLU2rDe3s7UsNbU1LbaDL+751G9kc7ddixyXQRkh8I+9ioDHpOEiFR1q/NG7Mclqe2ufYt8qc5VhvSvwWbB1raDtu7Mv9RZxfR8hqKx5VGN26Hd94Q0B0dK0bj1vr6eXoW+5pqFvugnO7pEIvMmzJ5/ojhszUlGVjugb1B3328f3kjzJtX7C9x9qRT/dHDJuqqfaHZqrp3TCL7CabwNoFDxVaxlK3u6Q+FHCOXuZyzN49XY6VW3P0P8+Gkt3AxEZ4d9nfdIlZ5nzMzvlWLDWYV9+dUtPrMY0QWVzCtL0GPrlNlKZc3ewRG4Tf13tdjsD+G3kCUtaswrYwBCZUcjZ4zUn0NhqdmIgtJgqNHdhXR86Z2//2zpMqs+U1wl8nvisVoXDAFHR1uJTqSmYfs5oK3905+nWe2RBsTmZMVWaSd21MZOZcNvhngsgjAfZigaZbAlCgaAEQFLAct/1OTPJofaNnZgK9aGFPTPIT8NXw2k1mjT3NG7EdIaE2lVyveo57vrmOElPYbjeZNfk0f8xmLLbxPm7/IQ/gxG+yud7sOxi4oY6S/SBRe0XVWgveYCyOw5UdBvcC8QUJ7v1+yGHINrD3zD+df3qXMh/5Og9JCeZ9LC+qXsjTWW9VHQJDdANy5kp6B0P6VAlyGrQSfhz9rj76092b0dTUi4G2L73dmKGh7ozuoz/V8FTRuSbR1/14orPH8Xh33yPIHFfRt+JCf0UV/wipHoGe2Pw+zZmuebR1QFWwjo26uUX1C9IzXasY3dCqBD1zvJUlMKMkuAwONO4A3yOsrbGhvxMmc3i/K1gcwGTOK3WFH7zQFslzwPPr38g/MA/o3C3k/aUFjpymh3ViQmIdFfgKTjF5cOXLEXvMeX7/5X1Qye69o3qgwAXyG08ElFjHdQpLTLQOtYlImVqNfUEOQcYdWEerGor8d736YpN7GRhLyzHPaKB2eBGkWVRf0ELt6CLGyr8qWNdGzdKy9hklBBl1pDtaoslWvcLw5pa/0YCVN0vTUR/Ygk2AhyHDHuB0ACtfv52JeMAWbAPcmSp0A/am+guq9NF6jFXA2mBla1UrLfwzstThliSdkLWJKpbqFjrcLygyRhtQalXrGNKTKJKHm+80rU5UtlSz1AYDxx/PePiwEksri/kri48FuGWl76ytlYCK47emiJePR+8w6nLdePUE5Pk4MrpyIAESGsuikHe1Hau1rB0EwM+/QgdWFmG/3xpGxkDf38Otzd+HtelgF+Al7REv2IGVr48hIx4wcHyUktbT0dODxfb09XWlpPV2dvempfb2ghn36YLZA0WB3OcPqH+VUsK6GX/ukWLWlKd+8yriKbg7tIR14VCaEZsul0ZKWxW31wMVqF3VSK2IDd0lEZJWRZ3VYYHDXb0kIqN5u4Gbt0hiIF6/R2riJRHrzjzJWyyBIBjIHc2ZvNYqaZozs49Cg3w/K41i4K/NnFS+mzXp51sKfmzE62E33O8vCljcCAN1TdhyRcAWqBr/5Mavh9nDxRRDUF/lruUFxfyZH+5adtRd0R7cXbEtXiLRsZz+WaKQoZRsTHsKWtZDyPHRCjXOy1LesNI+bL2z0m9Ql/EfebIJZwWg79ZmDb59EW/0mdTW36TN1rqGcrWnrXke8lAr3LdHGqQ6UBzwPl88p7lG/UFW9hkV87iczFvAn9l3PdqATgx0zW01tkxtwyUMtM1sN+MsNDNkhZ9lHjcq8kCmAbJOBhSYFvUc94dhs/BPF5/lhLossuZaPm8BvKt/d8dhOVNF10FvUQOOIHqW2siu3lDXbMrkTiyZyVloG8wSUCdKQCvJKatmp46muXo9O1wL3bWi0EulpxeqytHuIuTJKecRiiI5eqyfVQb0PQcLdS2Lyf0l7d2r3SbSDqbUYlOO+wpgZ1lhH73Ryo4XiBG1k030yX150D6zPJ0T7LHQSUlidnkaqpJcF1kzPzxvBEmPiCeNRYNlTH8vn7fQmpgSkcWAawguR7lYyyZ+SChnest/QAARoWdD+9f6Aa9xPmb1kOzPHNmf5/GrVLag8zgg8t2Y/bfPw16j3iS9Tnz95jVqPwwoUhekJjxRgIbCQMCF2EfKxubT6Bx/uAWO0Ize08+e7tzLvZkLMQIgK/dR+R98cavyRVYWAi1gWqjgFaDW3IXwuwLBCcAHAQqob7nVu+OhIhF4RxWeWl7GxyYUyo3TH4G/w+Crkfoh2zvpp4U228LbRdZSS28GmTLLSAle2BFnnahPTESniW4FCScqPcakoINL0cRh5AFNjRfMJ5hyaMDyIaUzUZQczB1po45ioPC7LZ1jRRGKAaBdh5TmE9faEk7V07FUNSgJZb0jvFVkM4sHrqaWnoaumttTYKnB0AY9xYCZlp0CrBzMj343ebgjllMn5uyt+v3pS21WLElv77NZPKABguUK2mN7WXtYHY7xiB+tVO2snnLtHyiui1+XCJPL9uk3bBMfCPajXllP7TSyruSizaH698he/ZrzM5EcJk2ZQcpQyHT6j2e8Q4t8TUCcqrouoMt0rYNb98NG5S9Seuavzxv+Or9lKPwsLiu7KMlU+HH24O5FYWnZz8KMu1CA/K7PX3/zfYeT2uP7d7r3EF6DMn8TECQSmINsW2oT9A5T0/SeewqFrEPyUA7lyV2UugRQ4xJoF8C9lXlUZLouul5iLH3rDe4mrgo7Tl1DRk0m2xNPox5CKEt7RdYgbRo5FZVqa3I40dqv42bte+npYr1F4cUifemZdzgwmhhhrb2/CihIXmMOWvnNbPIQUCy+gNZbhr4LSKbZycGuiz0dmSnZxzqXO5dqWFbi6bZWpKxbDihSXs208A3zP2uJfUNBaooE0df9x/1nmtHrogzLxV2N4vXI1Ekp9GJlv2+ReJBhoCrEvDSsDqzISsZUZgVWyt0l2SICUghoVQWWZWGSq3yn90h28iqSesndysDyCVSIl8souNrKq93U80wqAyqzkzCAR63MXQuO7USj0q8iNzmp0lmpjJIrIq91VUc9Io8zkzHlmX6l0krOiKLa2eiwS4VfWSYmuWIKUS59z9lOThQtScNYjU7u8bhMRsHJVlbrBF9N9h+OKy7jE8cxS3jMSVjoXL6VMpYkoZlXxlTEXQI+nvjWvEgSZvpz4yLG6YWYaCmaYWbV7mGmq9/e+hQDGk1EVV64MGVlPbEegwQ5pHvGj6xcoVf9r3JufEvNzPmamnVDj0em0NesrG9JAbMw/w3ux47FIL8Rw2LoEDIBRcAiaJ0rcbVKx7Zy69v3+NiEfSga8dhpKSogrhj4u0km7FWiYTdDTkJgzVdPX1uRWPvbrC7sY6iwD2zAys9HMTMvgEdwJb00pbMHG6eiaLGKg5nSXVMFPKpkt2akbJMOUyUlxZgh7S4P55YhzQYlfw0lW3Qt5ZAJhYKD2O0cAVJS3dzNhxyyWIrcv7lyUoJhelFvoULgdS+IWjTQDz0XvfgFA1avSg7FvGazbGrB9HK9bW2y97TsITiE0e+f0bVKdM2AC66Evvb9AXPHDLq6VvO1WtvYNxK3Hk/WUuIPcYfgbn5qvPZJwlbClu211rD2Q/whWLQ8thcNljaxflGVbroejwGEu3V2m+sDC+RGdGdIVi2vMMuaxsRSHUTN6xErFvdcEz9QAkvLsP8lNeNAy5ZLJytgEq+azRmkjeCV+8jL5iRhwm4NuiSnoalNFp2WtcWflt4/CAsrvuPuXgQFF8Hg0Hw/QTvbillSw12epKAkY6n0q1WaIjDrNqQeSjJKnagbJ0OUqlUGeZlpA8uVKsaP8h82JMb6lNL83Dh2TgIHcZPDGOHIdiyg1AubDLEQlRzn4o5w08nclrugHdZpWaXochzioWF3qm74xzEslDltVqeNmVhPMW+yZJuwRXTDeShLTbA0i9DgBoEOKhSTL8jgJguDvmzSDBjd1YhFRC9DyWASNkFfQyw9gG0rDXwm/kzaDyQ37IO6rG7ZbMY5eSb2Hd0Z2+xzK2biCkwNrGi5vnkRZ/yeobb6tqO0SGic6KT5JwdvGTLNe7rFV+uwabWcnVpB2R4RigwgnWTvc8GS7fgsztkrKvRcGSicchLd0zq1W0+Ln9pqwplrZ8iKAJusyYDk7ePIVtmp477lls9bW+4cqF7Nf/ThUPkX93TsSw85u4T3eLO3OS40gLSUFpSV3J4CxfDAxlt6lGKD6PEhQMU1mGxXFzO0yrWMGZLgsgUXxMBre4IleTlNDpiDwaezwfAXtVE98vpWY/y/cpno0AdaPX26tmczy+cmKh8arpFL7En5inO1mGviafQbUbPTqCd3BcrRHHNlIK67O542k3Ys1tTFiHeQx24+Dk2SeL2prG2eukNFfwW/AiW81NO5+a6eX6OBReKuchEtp+T+7r066qburUx1l7V6TAZjh7XPK5DTcvel1VVxVsEYlmHG+tllQeORO367H6ouQ9Vaf01NdzJF3J1ZVSGrS3DlJDgZ0aRYMYHFqzHXX3v4qCHovRv265l984FG7fbspwU5XfuvljVB91fnssIyiOOv4SWk7qcDwc33dW1C/MrHwQ8lA2/fLUkB6F9ckbEeiDN6W+/0H7ZIrTn9/fdGCjRJslHsy1J2tR2oYARC2WCaZjiLJiHpkS3ytUNiX3bNUIb2dJk3okLGeLUTQBSoexjVjZA0T7yECtQ3B0WLO5nJNmZNHi7yt9nu6rXCUgCU3ExnvXe+Esvb6ArhENCASs3pS4HQZ/LVyp7ovFdmdMeu57tDKIQNxqTXttdYT12zU9BMBGXzxBfVkZUp0dcJK+SNYQJKRuoaIHFVsCM60eupE945wXUBdPnCqvGL1dTtdUf5yg+3AIvHOCm4S7ISbcnxNZ2VjaOaRwwXbQUt6dFbhe29MWkrUKjBSy0GtuZ8zcN0Lf3U4arVVpq6qp0clK79WIfePEO1DPjSQIB6VuNZRmbE2QDhFyJ7OBXybDS5D4cVhnK6ysskPfkXVJaOvF321WoQDan1ml4jOJLUQAQPK7lUclwiOU1a27xWy9vKAIQk+/qWxTqT96TWvmZNpsHg4nSHH4TcM7dRwto2s0WnJMKiZIrKG4Q6kNkOLo9yfNUx9mysOhQ0JcdeI7SSVOJ5xHel1UHeI9Ixy4hE1Q+jd8u15giNDUkB7h9WEoCgIXMwPxBNGeHwuOCjtS1LsCCLabCapu4v5mXqgXPeeBujVSg0Y6Brdqu5ZWq7kbZheqNZwa+LkqPGXDsJ/rRAFscpWvDVyoPy2xBxuoFSXhl6vcHqLdXJsaw8w5cq+3jF9yUx6MrUWDarNpLyWR6JFVkgnXuWCtvmPL30jKAqzHGxBe/yeQudmR29n72mgRSsPVj6nZS9utTXDq/n5342Zq7H+2duNM3+BEXczA8PLbt4liFwR2yLt0h0TFT/tAKDLAZrIlpWnNHq78oMMRYr8leW8EdU6Y+M5h9fRWWiHl7rmcitZ3LSf6vkvC2louWSaUpqJMXfoPHKvnlmo4G2aWaruWViGy6xQfv0djPOXCttr/CzyhtxJG+vIFtnRlDFWVX0NNWN9ZSViHoamsZ6kYrKRzJlmmWfgcKGtgJC1dCudVCVpKWWPIvE9fvDVH81CEZ6rFTGelr4Pz6KrB+k5d5SsXyTkz4C3WpT2g+jYQJu95ZvPJgIU2RTTvp3MwfDw3EaDeugqvaCMmMMn6T4SpSBGpUy2IIh1ySq2Gtxv6BOG8WjrXGsSVRCqT8jSx5sC1i7cOhAFPfXGe0kbfTUHfs/pQafUsMIn4Xzu0u574cTVIRBUTIgu158fcW4w/HyrbQbSxcJO4Xe5I3cm1/FIUpD94sxoPwigX3Houa44JdrPd4tP1u8WkDTWbqaIV/y9GnaVegADR+/2hdKK41u8NwYdPc/9cmrKcqrKBHcyuNL17tfY7Pqmsu6mnYZFuRcyfdPk6/Wy7qTt2/Kr+DdDozvbBM1h3OFp00eN5bhGctjDHrS9TYjq6a1qqdpG+Q0QYTn2XWi/UqZjSfyOTQjTbnfsZmn2dmZX7/F5OmojZeQpGdh2jQPZX0+ijbiwZiDUhKwTzXRaHIuf8+7cbnY5C3R8rPsr9gMqg+I7zG54ufMhbfprzCbJvu8LB80mtNBiITQSN+5D1fOCt4zMwLD94nXymrCZ/IG82J4fvBeDXoowwzUarAvEXLKy3XRZlZ5KurJaZopXxB0yCt2vRuiFKysI6Nr8vuPZYiDMLscMqmLNhNuer+6hoe2mIFLZbjZclhA0gL9HHKYf6HOL42c1Bz8DyaHUjo8OT9Vtjn+lcnhqnqT+IMb00tkzM8QcBQp+RoQE9xUOCpheI0NqdzDJgjMmvEfFIRdMSH44hHIifk1xH19fpaq4cyzPYJsJiMgwuT09oq4c+7w2HW7JxHnlTBrV0U0TWlqnzT35WRrV1pahm90C3i50bKL05/SW0xs1UyAfilR1LpBy9ltYMsk6ippdEXo6ju4Xw1fCfMcuHFuf7CHbMZXwN6soQUx3zMMTGK+HIGNN/JJFPMw/qYIoJl9AbULVszejbcOYktS4tP1jpDGRk/FpJpUxVfgyNdYWX+eOph0B/4VsTkEm9gYgviVlR7rpR1hr1LFeRma9a+hy9T13S+ZnSga81Ik54U4U9mBlwbq38VnR2wYz/qMGzsFLqjrbC04tbb4OaQ6YMF4ymfI2M7eoQ5WS5XlooexxYaERBkbPh2Vau6hu/ey7nJHCJ40tfn5R/vsp8+67HbvTteQ3344Cnl++BLy86mxsNO7z/CtgP/B0EcyLoYKcWOh8CzXCLda43cYDFBp1CG9r8N6ue43S28MoFkGmSL891Ag8trceI4zJF3v/o3FnOYKNqb8f6f53wgVT1OOGNzOhnpjbWosF3HS2s+i22omGG1jwz5HLAF1IsjiqDHr+tJ+XjfnNc371Mzff/+k3YszGH/JBvWxoFOxW2wLPKH5cGjOPotLQwBrJ1JwVdxO10bDQnuUx1YmRtbS45SoSdyFuUQpVWHrGtMF7hJNWzxmwPGU3Sn6gMsZgnqWqFEbrgSPkAUvua+9CKSz2O/7vsx8Puk5+Y76tZinyg9fagh8uBnCe5OXFVYVFds73+HqBn5pn9j6oF/XydyETO5qGm5ozHQP/S25S1LJx7L09xol6x/Fxr1kBGtI7Lgz+4/1mCtUR8x21Zu4EDdUkhRqW4vudZKUdYZB15RXUC8ap5espoh1jBmTLJDLNY15SKYgl6Nnzk1fH6sNf28WykSm6a4unM524n8tn0zuoW0OII+VU+tU8kkUNmp2Imbrtm1f10VN+xOua2NLwyxkd92Lqk5pL/i078YINA1SlT155URDzKqNGwrfk+NiMDWqx9Gtdno6uh66OqCj3kOrhx2O3hArkSiO3eLspTL4S20vOhq7LVIkWhizxdVJrQeb1wRj3Sqt/XS/ZiO0FnrCK6t7wrWfg5xs4x/a/saK2FhjhbU/BOvVI7JNVFZDRQwV1RteVbWNFhQ2uD9P3B67/f8L6PX//rKNuNrtTyWUZHrc1ZZ7qyrLeZl7g+hdMSNVI5nL7uorvJRU5LzNPonLvqd1iHoVJZmOFX/RZQg2hEXmus9vhsQfSr1qr/hId0JX+fFt+42Hqq+Haj8zut4GZDU7rbA9eDqtAB/uRs5LfNLOQc8ESPxqeMYA/hWAhh6O8k9vuwXt5Q976z7nP2tpE2ST9vRyisaGSmsN975n5/ws95ETy/8ZWV2ByMuqlselpsdDwhL8JxdH8J6bZ/Oqt/Yz6z/6iwKerdw2eo2/OZnFbu331605sErVDsp3sVoPb9HEUps2yfVZFudUB5L1Mms07bULMklfFk+AkVMhV67PzEz1LtSZ89+cFj2yI5ofWmIYCmWYG7ptMHpKmfH6SRPvJO+jpoi3lEcmHZPSPZM3zNRqXH6wqLP8nEgofcqr2WaeaZ755ui3lz46Do3cpr8TwHhtbHmWeOOh6K1JU/4Hdf1R48bq6B8gpNrlkQbIK4GAnAjOunxFDlvtIEc6BxOAhjH+sg8vmjnTOI+baz5wS65L8TkeM8+0kDstphL1KK2pGRqtsjBfPDHqzNQSZHbLk+59Oo/MwqO6gQ+1hra7zYwZoJIEy4isgqr8XWkbYgO/Q8jkan3/opkrjfNFc/kH1r/MEjsGXALV77kEO2TUVHRrtO9mRrv55aKmu5hQFdeOAnW14oo7gV7sEzTO0jo3M1806S0rpUUnoqrqFNFmydtl8cjJ9+sGVPqoAZJj6txDaGkPP2QW1MnpXBowrR7eNxT66/XEYpzoeQa92LqAgXJWeeeXllFYhZonRCEEdHuz8gP9yrNin23HhQN6IS4Mgi+872sNrmpeW9GJG1WXDOcynkaBq3K9toJziYFc3W4z+CeLkOUtIwyLUlwDVi09YEEWhTvFiB5sLooZz0CMXwpLRcXWYcZPkbsk5uaEokbfWG4qsbs8pXi4jQ6bKbJ4DkpuKyLSxaR1SXEiUgPRWEr3lRhC8VtfUaQ9qBgCDAPyxz8BSSm7BsHH6ZRrnqhJ+5r6cXvnlhNKVeTIh1t5u7sied5zoB1TeocuapH3l5evZXh3kgRAcnvtfIy+5LTEBfMEpePOtwCqbuP47TEQXht8xNGhD23ZGsIO6ESsm6yncGypBI8jboW7mUBzKZzGKHHu4/UUk83/fvcPw8GU4rmQ7DR9xrOFAFX01gcSpM7cr7ZNLh2UVvTw+nka3flVP4Z4hlkKv7vLQSrILRY6hQ23vtlvU3oz7OFpHzGC9hHVxTqvO/WaQarHDeYC9VUH9x+us4t4KRiZrc67lynSHWEp7MVV8Tvvndxwbq9SGbGMWD18N1MkXk3ZtlJR5PH+Q72D+oGaJwxngzQF9TgvWN1+My37W3bmDbhrPspRZ5eRzczjplAoRgqlJyIYsRFvrkn1ceQpJ9J3aTKaZIyP8P8Syo8rnymDajx9ZEVy90p/tsxHfgpj/hYuvWMFYXcW4wg2q+jYsyaGrsdcpNtrD2rvTksG6ZBgMdZnHT9Bch1jcqRBe+DV/VnKnBQHtJ4VYmSGwsy+YbJFRs29tOgQf9mEzxr0z0Yz0gf6BgZyMvsHBvszMgf7BgezMoYGQST0E+BucNEzlA/YIeDCtd9MAtxSn4I/dScn5vEIJygon8yOhXEWj1V8A4irw2hTWU/JjsZ/XxXkkiapCkrfNYa+hnyaVIrvk/EEFISodKzjG+FVWmh4cmxK3K7QqIVJbwJ4V99L1HSGKuqmGEq1QApAWHJG2HlYdnto2N4Iy0wAUBCJ7b+Sgw3iHQWdzkD9nG5Zv2D74bseHQbaAYMGOaPOrKLkV9CJjDUm5reo3UwMUZCz0lMESLmYLEtCzocxK/1OxP0HkXqqOaKbtahamoP11sEiHbR3JvrtwMZ/sbUFGP1P8JNqNC/qM9TuV/VFjtrf/Mq7vCkawsG+7+MTORnV7FNRz2RnlJOX+t8YnHQ/OQOs30tR/43tnA5t8vZFzc0I8m/V9f8lsj44eejDE3mgfxjtGuoz8ef1kzX18S3MrINWxdfN4vd2ihUFBIICge1M8PXyHc4+/TztNuhS8b/uDWmGhlMpCSSAXnF3CvplOY+VzIpqaqFFg4K/PkS7/7eVy+SAD+LePc2s+oqYc4QFYm/VFh1stCptn4OrBRBo05G4xjZDTSoTGKOFTWWSb4ehH4tWtQm+3bNtGe4Q6JJSaBadUJ0xbk5E+oBvmCknxKILunXQC6V7AnBNupmzj7djl2Y1ObmoKQr4dlXmvaw0y6jPaiFZT/0tcjgknMLyBlRrfTRappJNiwTlYhfZp9hF0iJccDe68NBcE8R2Lm/Ff+3W9zPao89W+d5b5ZGnqrjGLq1B2l33okF78NXCWsY93dcjscT1Gr4a/w6n3hacL2duiPC7Tf2vKdhPU4TjO4yqM5knXahaB+tXhvWCzcoanSirw2U2m+C+kODEcXnC5QkLCQ4HpO8J7dV7M40eyhthWpA51VIUNnVApUWP1LvaWzBo533y+DaBd7p9h3tKJX6U9MK+AvzT+L5czvUWX5aLj9hlG5J211cxuD34W4xo97yB5XL4w7L2d/qWd7goRr3ywYB/nJFe1uATLpoPXbnDsAolPmWMo/zDMcdWWkjmSIuwzJHWoZmjAsMzx2ZKF8w1Vjc0enMVYFvRTC3oHldbaE8/EKPl0MytDkUnjQSdTKOLbEpvIb+4FuZ7xU6dT08kE9P3E0J/20wB1KLLKV03w0K1xIxVqNbEXalbGN2M4Hq5SnDpUrPv5bRsxMvmk3GY9ObczJo3j1SwIifYk1O9TdY8WcS1Bg7r3Y2FG1fXDprenM5oqSsdKdO1Sv/lkoHraKMpJp41ztsy+Nef8Zek1Nt8afbdTnTS53TWS3S1v9V5L9ZFXzurmwSEFH38ZdovM9Oth8xf8RdZfPGXMp9OaOlLauGbvQKPt4dhv74z3Lrs70jo2R58OVxc/HCBUpGkl4Z78HBezwl+0ys4Ho0e1qHrnos8fU6Nt5a+ZKZxFZ6MvyQ9rBSZ0pgefYi2cTumVmKBz2QG6iU9kgZNTMIQwVTpqWF1Fz1RTSNcqe1O/H3eNqjmo3cMzOcVhqw6b+gRZ/nLHuWu113B8mPqU2rNjaqaU7xsVZJbIYF6YtdKDymelJiJRQePfAsOAgD5RZAEiojpz+NhEjqaTZk60Ym8lGG5gJISN9ApDTpY9llsqvA4gwPcn2ynK7IOTnShGJ1LdDMtMkfDoiLu7IKvpKdI9i9N7qbFul1rs6hUb1CzUpSfQCcq1pnsdS47XahZ1Zm20QZZczXdzGxX6a0TMhl+W4VBqyZXW44ZSwY2SW+y0GjRL5YZXLqunlRlXQOy0ooi8U4YoJFgEiMQDFgzDGQRTCIJggH73/IFVTdSSm7chGvpqKlC2s5h4T7NFYuHSidePoOBlj0V2d3dONQ/g2W9I6KVBgE9pDUtd3VulP/CoNTacs80j9+Xhqc1yeZ4qm9vDNvs10xXDcOfGwfe8ARgWH5UUS6EvuXAkFUp6D9iO9vrcvDAbogthUmrlGGCgJJkV8jMsqE3Gphl+OjAZYZXETaJ2LhJkili8WdIDQBfrOiMYqWpG5iVtjLsag+6QlqRWinlJ3ip3mslbb6qDbP1FblaQB8IRY1xQRRhrSjynBiQUxSVLDCd+o+YxQu/+oBeQ92BhQqrdCJ7nYlPpdlIsq5KK+lcvHWhQM6eMGoHrxOgtSjdQkCvyVZmZUCpFT3o26PC/ozJZVG/SkcF9+O6ZvNwqM5BoLf0npabWc2RFg9QLZPy5m3qRRk2KTrlGA44N7ye3WAdrsgNz+H8woyNd8RMwZ9w7gQznCmdmqxO7EilLRbJOgSpbOCQCTVeTEyb4ClDneF98ng3gNTp+QSg17DeL8ha0RnrOmdVB7PTKdFnsVbgMaGrWAfOAmx37xj+zl+IxfAPjB2lrkW8MF73Izc8f7sK8ze6sHPHK9/h4PG21o+VVmj29IPiH1FQuz3MT81BR7oxCX5UhJ9AB2PWJRULLO8eigxnVVOHfE9qitFTfpbxvE6IT5og7118QjquIjt3r+7bX3jKT68pKSgRKamYiZAH2QTLn3JaiM25v+20v3neabF5SufNtDQuXe4s+DS4ZhbDFiUqu0/xRRJG7YO9f0I51Qw11hv091vQWq+h8ZWRPCEvkfwA85gGbIYt6jQPBunxPlUoH2cM+cQ7HWEgTfVSwAGz6O2JKyCNrc6NWqXEtAFEzDlPN5lgiuYJwwwjpqo39xee5kA/JwYGDF1eEgdYYPlMYadpwvaBPJafr/Ep44QhUgzseco4QceYZ6GchOYLTxgGzqxyTYzAia2XdGkD/GUYeGfJOLGUoZphIM3mzYyiAZo31DKcquF0VF4GxXeXUap9isNLixWKvhhzjosjgvq1Xg1imVDIJ6tyhqmDVhekr9rVAcznHt44VtPOXkONf+WibTzLYokJiSHCGOpt0gy9XoFVLMFJz+ZHgTttOEKNv5eUqwz85BvvPDX4C20cGlKsOceOEMkPM0cfim3WQVMT3S456lRk8giZWSx0ICDLUtPkYW9RVbVB28KoLGNMp9VElfXUhyKHQ6JlWM50LKHZpk2VO4DOFhAZXo8gMQzkEAwszttgB+QaAKowVHoRZCoUotaA8QmJKnor8NR+Ox1M2bNtZPIxCwFuWHRBVx10XKN+a5mRy+UyoYpn27i0yN2kdp95GIwiXL5c6tC/nsW6Cj9zgZtls71aQOkgF41jwv6i/vV7Qp7TiHKx1Ezk1B/wz5iet8glZ2+hPWEK8ROnF08G36oM1Sh0Pt1bFNNwRLP7rycE/MSclRW6Gar7LdFLhfChkrGA+HkMbydhOG4KmVCO0WjwuzHAUgrXiqlet2s2gdMZqIIn4hTDleHaZ6oXq/gSn+4a6lGmqyLYMf02Z7Gs4FlBAvmZYd9D4+jgPXnxrj99xUsv/nccVt2gmVJv0oHxx3zlJfppOIcRRlHKZxPCK7n5fAwXd6xoCMdRHhIx9ZaLfSdHZzpffhwfNza//FgcXx8BmyI+lkkdHz9MOg+90k7rxLREB/fv4MCBP1OV5Do8x1/rhDKWDe3yQq2ct7XpmHda3SlfxvJxl4ezt1hVDEDPe40XO04SJCQq9q6UqROezbGzN8nPNKsI6m2e1OkhvCWJPPtohvLMLGG6FqCS4dsINFm1ea3q4aFuYYPhBDMWdSGFAHW5GuCBqgXaw7LMTO5npqecxA8VmcsBGAwDKcPAK4KBtdpOAmc7z1mKMVYpBjxL0WyWYhJA4eq/6ORPcmNAFNfHxawG4PiJOmU65Ck1q2xK6p28sNUAnYrr3RIpqg+xwqdNypqUSnTvBW70R4E+J3A/s9pwVOAY+vUHQOl36kSXScFuAej1mtpJ3rk3yUSQ9/yZGX+U8grzE4lSHjG0mjEoYAZkGOEY+Uh++dSK+VM3jxGbN96/1Dw2b1wlzPGOMMdWYY6fLje/gnlxhUzjnRpXTtokW8PcmkDcmpfKzFBmz/PKURqW4vt4uf6HN3tdN31FrhbQB3xI2yZ/Amorf9khTrber2QwDnnJsdt1NjG9AFqivgZDtYCRMnXUAGpbdnb1J50JSLJmmw5uaTrm2Lmb5OeYBQWNNvczMGZdgaOlrnuwl5D5UoJWKyrkm0VURXy34e3HYMyiQxGBApZFdbZYQO9pUplV72i1VRkMKu60rijDYtIywZGAHg1WIrqks2ym5NL3mUo6uWGWr3unLk5MxkTzoiHrijJ1pn6dSksn+qqDs+rYSjoZq8TOZVA+H4fBzAcSd0Nfb3gD++bYNpvkWxsHqLe5npFIuaTfNJf0fUiymOFAgS3J1BP8iyBWEwokTufHqSEug3zCKaugMoV7VNQqt8QXfog2aS3iFkBl4TQ6M2NryLBU6NKP7H+Y2gvu+hnCQCB3q9/75xm+RvmT/wdlKgvzgFWvPj5tfz/YySLQ90yDsiuGpxkq/aqvW1CX2v3R5N9PNxqtMTn/tsNfdmcCsHVtKgj31HjTbe5kfCwuODYN4xnrSFJMw9Hb4zLHRmxsQ6UkfqvycQBpi88udIVRroznUgsXU2003PLdffNT1ackOR0/v0iC4Kk8wUUVqH+fBvug+VPeMGZO1Dfv0K52i+1T7rM/OqbjJA8+9CsV2zcGciFw/UMfw4Amw0AGw0AZw0A7w4AQw8BfS71X52vGI1LF3A3g0CAiaWCv11gADIKAHQgIBnZAIChoYDCDpzMcaiOJ156mVHtbP86+ITWteuBrILXOCGrzgoSBT/ErjyvRP4LHBKetGndy1TZjgWhLvZuJovEQNZjgyB9MG8IQK54P6DHcCvOEKVYKU+yJTaXEhSlsMDxuuGzJRqRFMWCbbX/dnbJEe14JAURRCATEUggHRFQICmbcdcqeLE8dW4UpNE1n9wo+Pzo4OTnFqyYq+0/X3FWmiyU8kib/u6RmeytK6p3TO1sNTPOK693dqKg+1MWo9/bYmvpIP6o2J7uPFHoaiT44Uj7F26SPT9MzWPS0OqZZOyQcLQzpVcRNSGb4nr248hkzd+CHPjfv9kguz3wM9ajKY4SzrGi4nNFwuabhEoNwmtRwqdVw0UI4/dFwEWjhS0LuIHzvO7Xkb4pbFW+R3A2DIl6ZvbC5g8nWCiabDpisFmCyOoHJWggm6z0w2RAwWRvAZP3QmBfsQNvJATAIAnYgIBjYAYGgYAcGgoPdwQZly6O0dgzsHyWyWpNOJry6pk9v3vxyc2dc0ySxIkBdEbkmSDYwfCxTfMO+xMtCq429cesqwTCBmC2Jj0VnygBxZxMvpRuu8cODYajoDY/ybK6ygj+JE/HMbzBv3i/OZzJXY4uajw6ggsonJg9hTvKKD8iWrT/jWxAd/KsSXIzQuYSXwFj4SKRyQlRiR2Im8SESO1NJ7lOWqRoSinBbudbcKaET62hjDdC4AXZuGABUC0NhJIyFScM0wqeZ5fxNqhIJ1kCFbT3YwLhwTIQt2MEG8b+wFw7CUTg1nPdApLMtIp4fna9YYPQceZZVWfPK9UR6Nje6B7z84nLVpUQkUsd3LwMjLDLyiqsSrlbjVXFVXC386fiXv7eCYr8TVMcfBo3nBioaTXFjXnyBp6AQEo9uATqCruzKr5G/GIej2j1P7lU3L5GeRFaP4js8HlyYumO/EkdS2swHHN4faj5izfHrVesP4PJ0g1wCMAQKgyOQKDQGiycQyVQancFksTlcHl+gJhSJJVJ1jTRfy25+1R4hfHESsCRJkSZDltxhOv53ixnHnGdhgbA8xK4MSJAkTZbcIXaZOuIkYEmSIk2G7FnTkPsByIT1WLGJP5em+up2pcacKsAG+fuKpQsP/nNXZugaxbqkMiHwjNmQJy7irl25eJDyfan/RtZe3P0XFUZSAzbgy5QXcyqqcV0YDloZUqfte7+vHf93CmlvcR0EJtgNl++kv02yYbTKJOLEEyJfjGF06gqj0dl3VUvn3Cm4celShdSG98mG2P7V8w1gvdh67vsMKjh5NjUjRyz3E9jr42C1GB5UYz5+zkCGaZM55a0FTb+SiAX9aIqnolAUiRJRKsrES1EpXiErJRI/f1kpEjaM5P0IUJG/FqS/tu52VffaXW18uy5uYLjvM8pCTLdQmrn1tCh4hNzYjEI9Vumap1J7oHE7rm8/aFBzNbjzeq/TfNwxs1uyzS3ftsr49/AgB1oT31sTq5xsIiHGWdlpyYlZrlcsNz55scqnQ348JfAmGJpCjhQmpMi7qSg9xTio1kcJHmprun5NtOE99jwWG9855O+bRWWXE+5p2lVnXXbVi77r8N/vQWPXjw8+cnXNlXAT/u1Na86WNe2y5tb8muellHVf9aQ1N0sppZRSSilrtq2pypoNa7Sy5kApa/aWUkoppZRSSimllPLt+ilWAhK28aEX4bLibukNof8HnylCFUmDzTNlfZ9teIXjwUASshH/Ae3jExDF1GufMJtj75jG4UKZ5rgNi4IRoewybjEwPtsmpMSi0MoPd8/3KYNX2r5FlgtFYtNeKvQ73pjv36/UJlKbI4s4lhWhYbwumlYoDoQB31/YJrmQkwLHOSuViBSMOwZ6K9Ta1doZMQ2R7GLbSkduFdXlS6eIxjzWnqsAv3DmngcbERsNeDA5J4hvAnt7P87I3W6jH6O2jUx26pOLNo179fakYolNMgfeoiOGd0a93vxXs+bq3t//GG0p9isn/neFYf92D9lUYSji4pMPH93AUdtcHa3+l9et+LxLQq74fRSxc8N2aW2tSJXv0XagDFSh7v/fJE71qW6uvM8EjbmFf4eyPB18AUDrf1EPRfZpgEpENulx0c8eMBoBZ9pQvGJVDI7h2rn5FHpcK0awSIeWNRanx+ecs+dBEMn6L7/ROb7uzv5Xn8o0wP97rQvnU3FQywUbRI7Z/Btcb0Tyfk+roXjq97r3Sa5oWZPXNhcKAJUdL0mbrzdJz6nQjvhBOk/rRsTC3HVDWZr8v9+OadNM4Znfync83RleT6ECRuZ0FX82WmVUIjQoDL77RGkd9Gf3NkU2udkuvIfa3ETddJCmohezEfFUv/bQz0wIrXRgc6SDSOD/cKITqMFVenqjuBqo5ayW3EpL5PV1orwHZpoR4kOaSKnQ7DRzsLFZTpvld3gvemjziAug9L+ukmc6PXOItPEVRuyTK5AmIuYEhwnoq3rk7AiLlX1eCr7/F/nUV5IcFW8Ur1d+ZNgF+pl6+e6ZqXP+wpK+L29aGPE5UZS9flQ6g4gPXat6op3na9kiInRBldv+J3KreTbHERGvzJ1rnWldPoWm5T3GHZZ7/tPpvg2EVrKuCfW4X8ycNFw/506F9Pmp3Pl6DpbfzmLQlX8X9P7cSwvgmYf1sKj8v37LHsnwbA6cto1E4QVXtxoRG7k+kjdsT6LwXkk7VIQ12FMGceZClaSuwGBMrPMzEb/+luWeaRyJynCzWryQqzulh5HvrpEN2q3sGfy3FuN+M4J/P+fNqW1qiNLskxIB3+reczVHhXOaXDBfYaiwwVY4H3HxDzuV2cSmEO4wbJYJlfH8bur9A/qza3nA+OuxNwP53LgHgBpFP90y/Nxvap9rS3nbTCndSOVYz52ual+a0UjcXD21QSqDUDqdEGiyggjj6QQF6iNaJv0yhXKuMcrsC+bPqYzQUg9LORfZC+gfkVLTun+5Y2uPuWdtGEm0zZ68fc81tS6diDR83ktbryMPL5lcx20e7nOa2PakbMTv4Nm9E4s/rlhfgBYLS3lhJF9kYpMy2nVkYyBHT9fOYFbBu+9xa0TclMl4e3zSp9d5yNGh/4CiLI/yYfJy0zxmyJQTxVvd1+fTTv4nvCUH34Q1zw90yyaui0obIjjiUn8n1Zsfq59IzXcn0886JsWnI+p+UtySsF/097jvS883+59LNU60bK8Tftp22fwvceX6f7k0ufCPYZ88vv+usAcXr3+xhfxx/q/zy1+WDoP1vHYGNc2EDg9f3taefiCzLq3xtz9pbFJ3TkTi1w14DwiQbe7WX/rbTP6pe3Jb2f+OMrYCarNUkql//lX61suaLIzK0a1TLlEnu+Wpjx8b/XvbB/0PWn5Nr13qG4L/QMi3fnmCBAB/XgCIAvj/fLb0/ouzfv+Uyp9aXJZ6meaGLAiJtL+vto6oPjyUfkNjqJM2N6c+XaLJUIcpS/tITP8UIO6+AQBA9v5JNOEdPCXfOyChsMfvJgMeBaivL5ZOJ4Sj4W0JY/54vY4w00wDMp2bBbwTYLYVczxpwccDFIZyFc92mZ+tYF/q9SF1eW2PGZbK3wd5hofpGoDdQBtFbzT6Pzp1B/PQX9Yt2+KQAA5OAsQ2xTuhWbTsodPajVw+gGzIXtX1w0dqXwhakjCJTZ5vY1KCg0zLOV6YFdC79FGuOCjNC3Tnn/EV8CKZ9FiT3qefCjpKBd1LMF3jI2bnYyCV8gq4zAjAsAC07NES9O94D07WEofjTqnf/GmIO2oJwCvhKdVhMNVrZngF2cy/X2yu2ZcNl/XxpK4aO+ofrpBdASvZnX0CpoNsC5gMsjWoNhrhcFBmINuDciiJSi1ExDWvBVc5OEthSWAdXee7NaH3dIAmxKVm0b0EScHRVzK0rqGvRggil2o9z+kjVYWbD8kVPM33Ck6q+NNW2Or1g90LHZZC3KwqMXbn5XTkQK6CWVy5nJ4CjfAg2smSlNqp2T1WcXGsydctWPDgE2TzR/Y4crD1+ApxFclVrqVLDpccCo1LDheC0PgLUIsWqsPdN+u+oqcDMP7v5S/pstR3b20Kfkf2BWbS5CSNRZjGK13kDtjSh9cQS3y0/WYmmXz3Bfsr2mKn+QOdFvZiFR6DjdPkO59zP4Bt90STLhhdAuUA7dI5IeEHwsdEvhSZKrJA5ISIIx7/O6OZURVV3F7KZpDpnrYXietHTxCbxcEJr8gypUkCGAZI9JPjErmgS/l+tczhqzi41AgS1ScbrqQQGuFgmwOAlxmcZnDdNNv2VugW9HFygc0iDj6SfdRd51+xl6TNbwN+pusj7kiS0RG+nEjH1vWibEZqt0dT5hQLRCf1mE6xCpWkHqkRiq4h18qkT6lWQrpGlIiij+IIvedES1Hpx+ksbTVqhAiba7DCHPFIcpMyY9iTa4DU7v1kd0e/9xPQo/M2SB0xG2VOCLclYAB6zFMS+sM1zMHj7+xJlMuzlG8Ooaccarrjqmd/m5+bWrAv/vqkLq8ZtadrIwwFsaqn8UQULGUsY9Qdup9LYNl9swuHqhc2qexIVLQTSXE6mKRevaZx9qVUqHRK8c0wDrYyj3rQpjaYM2WjVIHRCZADXOzKstdbIpJVzkDgqK2hPEp6y6r06f1/j4tTbYQ5/jrdFY5RClv2iWqv5ZqSKj3PYWQfASsrcg0TJQY+5wFmc8HlPb/OIUoAw8IA0MgkHm4kNVQrHtSbJUyd1LJX4oguEwg72h1JtsZjc47qVc8WQ8Gqa7wRNVOuntS4eP2EoO3J4bYElhB3jk3mFNSqWsTuzqv7uWuoMhfE0IlHExQwMEYlDh2vv8o10q49Pqgkdh+28fOKgyws2qrI6J/t+YMMD1pr3Z5cWwtZTiy4z9ulxEFxEkOODpCpBFCIOUhPNce949obf8ozCDQpjZ4Mp0p+H+QZomwZoJZ82nzsfDmLyPrAxaQWaUbU097T+KmBYg7lCZJPvYKySq8cbwLn2xIzHdlHcuxCKUdwRXqezv6GgVULmpR+E1D4fcAyHglnQH/ya9p86n45urw+cEEySy0so9p62nsbPzVQcBJwTBAnKBNN4Hpxvi21zBXTpXtQBn3kZUvPRKUrbsdZMO35zz4CBnXZY0vWa3qsfgZhoHpq+ijmkWLTXcp85Fqspd4KCPcWbCFblmjZY8jAADQhzp/VuL0HkjinEIumdUWzqM61CPcVO55SHQZTpTLh2T/k3yup+2Ujvj6WumpsbzsKZNGOfMXPgEAwm2ilQ/2dtNqRmgwljpHkLAbB0Ixm1ZQgqiYidzAUXVyCj2nGm1LPhAULwbbi70Mdc8WQQN4st1XuYXge5mpefg/CH5DBerXnIIwXyds+v+zzSMJhFYyYoKxWDZ0xf38WNs1LvovI3oLH5fs4taO2WHWU+VbLlMbwOQaw1EcYjr6CKZMbrYCV29nZw+HQSj9OTPYsg4OYRxapPDLjm6JmnOAPRnG5q5xxFgN6KUj5R9RflOgWMBDyKNAtKfGN6SftjKy/VrVrzoNF4adnp7utYOfsqRU35stxMj/no3A3uNTKzcSDWIkf5NHIWkpkXGKhh/Q8HRj/8EUscodULkGtcURv2qcn879Kjmv+o33HKf/nGuhTtbpUzcln66qqo2CACAy3JWAAesxjggzXMAf6fcuo7k8gE+pM7eUWEKHlqKtQk3+fm72KSYhARJ47gg2iqsR4WrmTnlSm7n7bo+ao3ZG709xODx5sYaXOhrVzW3AUrWt//5IPMBUxRlF3g3s9gm86SlK2okqpretzFplccovif1rj6dIeUyStWRq2qExVKwQiUOLaI+iMBtLbEIhAupi2YbEkGq+c89ilA2GOvz7tLUyUQqgNIuuWa0Kq9HsSHKrJwpj/Fsl89BHyvJOe1w0MV5oj/LvwsEVKeS/evyLj/5a12ABzWwIGmG424QT64bkMgo4DL/SV/CeX1qS0Jg6HYgBe1EbWjt33SE5U4dm38AZiNkcMh7eNO8QATJUQ1YivnxHoK9bAtyWEOHS8J5oQt0HuQDAb+wqTKTqiAQOMvt4ED6nVgxxUbgQNwL7ME4Nb+Cc1wN7Sk/bInEGMBkS4glI5x40nB4oEVyIue4InVlQ2Bx8sUbtkxEGZoO3cBw4GDG4V0F1N930IU7h7ijM7i9OuVonwUeyeCBBG4EABo1u0TzuCKIgi0i/WmwD0qOXEE6Buezhk5syLHwu+yCJHaQFRKibz6paZ6RNLdNvayUFTgilrx/B+/d97kjkrkTtSMkVxOmO3wlecN+3uSMkUxYjdalvkvMoBFtcPupmS+0PaNf32TNSuRBH0B7JKpilWFnfW1UOi7kjJFMWaMbaiWlG7aUq4aLGp2iHZFqLodsT8B9/3I/kvtvHtiu3AYiVm1Prp5ZDGzop07yxsFdNObp4onlw05XvOYrdmv5q2nVxxmRscWrz5YeC4YJPB7R2U14KA9SN9fyniQYay2RS/h5Jnzbz1g0VXsWeiZrt69cxfDki8IyVTFDNjt+KvOPDmUEIQ+3HiQYbuQZHJidyRkimKbQalFU6O86bdHSm5aDGqdki2RZ8IZlrjhze9ph/pMfO8LABeW7RqPurLbEmdKa5t1uA5IxB2jsmydFpOBpQkqxL/1rbT7goXF4kRKLD39GH5Vaw4tfxYAEeXqOQ9xOaMSmmHVNTg90z9nmG29MDmVXyqcqQqM/cH5grf8D5mcr7MS2WLS94jbA7Kmc/HTpjNKQr7fNUUn6sIwNGePy1Rg3su/ihFOYY4XxreyLx3sNBzRT8t9xeXTXHjtSQd2UHBfiH+oDjh78kj10y/vDFobHXdqc0BtR9wOvH1COmPOqarPOBzFQy17JdHpa8r2Y3WUIKqcT8+6rTdKkdLWJpAjK1c5KpXtxgx9sSO8k0tzuDgxl6evEeE9J1rr91rh80UgIewb1+36+8r4bs6qrhj+NSYc4Z6Y+eYvGjP5eFEFFSJHdZXV22JT9WSfnOiZWLGbgGakXxLLjxCdnXNNp+wjrrzNM1IoT8pVz2MdTbzYIqpzyWS0+urqF/VDDGUXn1E7PsKbUSO3cmrqLJjYAYrNhXoTF2qlhJmK9I3Vkjgiu7//p2DQNHfi11atsJtpDu0RyYNkSq8o4qcfHctQ1zs7n2zSNmpgTa8+24x9Gh7WQDnypTECAf7BG0Vya5NFG8qqR6HzKQiZ5XIPWEOCw3phutNz93sWdFw+uPrTtM9sCp5fo4LZmMqp1ZML1g42GWyL3ws4Vi56AnsEwAOjrdH4waf2rJngMmgoQ1Ue3b/F83bEEUaCtnZ91zfbfaSxo3SVWzWo263v9itopyyjxx/RQ67Yr9Si+IfIapa55+hy3n7rsgQ3U7HQ7bMwBo14WMCdWK3PNR2bG9Kxw9Km8xUa7bmSLu1EuVXUAeMrW3sTWwfDDnuID68xJEuOX5Q+kx2GsTAcazThznG1OpOUb8cLXY2bqcGwKPIh1Wxt/ZA8Y+QFWoD4O/y+QFUlyEGcjGxnWluYvyywusYoDp2ALN46ht7wVFaxuDz0bcAzhfx+YzChK9axRb/Idsmjd9I/KASGvgtuGtavXf/dv9fnKS/DX+Ybdhq95LvrWyGde/F+8whO2fz4RnPyjsnfc9BVt1Dueea4Nr/b+Sdy4NNt2SduCwma17GmedT8+eGGGKeuDbm2PvfXsnaM0fIEpUFcC4P3CTXsvKIub9XY6grAnRSXCd76KjbEMbbgmvfV5QyxZSCPXanLan9Nc4bWKfeerbePdW9ljLJIPCFwnHbyavuMXMYv35n0eWf9ncW6VjmvJ05S6SQtPImB0m2FxBuXXsV1UdWqRdmp4NV6dyNAP5iftub/MNMFzfVd12iGkk3lB5cVD78eOjskcLrTxtWlO5hV0hdRBKnJFNLQ14rBI2uStc9UvKalLeIncvosw8C5MwwRpxc5J4hTexsALfwwUtfEoeqd2t4YK5CmNnVYT18aV6Ce7k+BXaIzgUA9WJec/WsVfkQPE1N+yryloK8VK/nPSdYf69RGyTfV0O+CvqZ3+7dp83rnJveq2l7PU3O6fVjp8FkhuktmiSJQTWuJNTczNWPh83zRrqe1ixORg8zBoRfRhJXqn9cJ85PV8xy3sJaBtWcxXY/Jvtm6B9LzfItYlO6TyLK6zgtAAYCkOY5yvtgd2mUPiXo+QqgVg/mLqobvwOgCZq2O5GVz53KW+NW5DC4tQRX855CWqvrem1u0aHjYo5SvAaQzLU3WQ+dnWnetBwNAvjbKyTffCOub856VrPkSqDsLZveL+6yn44nPTkPTvudhN7l47FpjcGuLnqHLmZ/2Ma8sVotQIlf2ld7rnmXNHEA+651goG2GKf36ZM3b6R+MxDyGlbaWHXn5h6fAeLJOcsokWzNml4pFwBTY0e3d+03t/kS1mnsEb4tXsSmx9y5X75EX0KXUriU9kAqbDZb+xeX2pzrtdhdwpmdQnqN5/OhkG8ppXy5tHNbanlWkJJ+aqsjtLtID9/98DdyEcUXl0lVL9g9ED2NANxfOagD0Dn+Yl6X5+H5ZxPx3DRvLoudDvfFRcgJgGcAtCGmUgV1Z3bTunOtLsWk+zxtSWqQ0wZyTzZEOxax7MsdOVgOd+kmLC2s++spUuqHVTs/BXk2FNVeFtf1eXAZ7U+fAyfHxiE7pyrE4fLJT8Ler7JLJJb+vyMZoqhR1WfV9Xw+tifpdXUuwG6/p9AA4A8WIOBm49jxPSExl2Lph9kZVu8lKNUBjZRjl4PFjXKZcopSe9jENCO9v16dpd1tkVcvCtEu5f1f156h7XKyqaC/XICILNRyOg5RZKTdS3kksC8qjssg9z9wKlfuXKahWhvLfzdGqOaoo3ZO2AxnvXTj3eGuMKM9TgjLakrTSaVNGRGzrznMo1uXd/RdKj8B3f+NJdW9E596W10LMdDazKFGSSNSkfLuj9yqlbj1FN6doF7ermHAHwcXGVm7ftls763zd81N18Fx2619+yPI/VEZQHVI+fOcaz/izrhRmskORqZds8oQnJphsTfoyD2dQ6SBkfaa2aWqQG4xhBz//zlAu6QavCKLHAAA9vxV9SW139VaXoFvRXBuI2Gg7p0W4N/+RaFe9CD/KaVZw8fu5tKMdoXfX0d1FfP7RWzml9NA1IXgGwsr2PgD0V+7xFDTk0sf+5yf7KkDLqZVqSo+/3G/qwb3qNMy7E53McxBw73mIQfxiOEzvD5e3oeWRW35p5D7BKQO29RwtdvxrQ28OxX8ulaVWfjqM1B5HV+imJRBxSffTSvx+HW/WsEVbvh1v7o+7mrYZTYvouKzWCj0DeRhredflf942REoqmnPDxKUjWLFg6V8fPB8YPBsbPWsOyjrSha8L/ULx31UHjTi3d5MQAYyURd25T410Of5iFIb1NrKthlx4wd9RR4f+kQBK5Z/QW11ip6pyG97zgJlPKyYjsoZ6nnkeBaNkaNrM9M39nu3hRHeACHLS5fKKI34AVFblR9dyujkOMTrSDM0oZ5IO7WHAsU1L1aJNU9V3thVuYSc+rX6etLLpJ7OzM9JO1Dr/KoEl6hlluiXeX6kHC/9vmwqbfH2w+4tLxoqHtNtvyFZJLLPLHicWmN+zvX+phycG9jm9x6bb7pyps6BnK//quaxMtnJvnRAdGybrKq3ZF1UVRa4l2EnKMxbFU09KcH77zEMJSMEbnj20pvwYpE8m5A07IqGwm9YHkpFv0ruzz/nyGs1+OzgqatEhybXMdLH7bP5UW7Gx2mOILXrNSVcxkk2BwpK7i7ynmPMHPt6kz/Sl4cqpn0eptKadzHD+A0Cnnss0QV5BvKHgKGs4zxHsIv5JGyZxPJw7PnRGX+S4/6zueK18ycpaUs8gz4J1vsZuctBI+/2Q/1NPrnDD3Mv/Ebiecqo8pW6epHtcnQlCUziimaELr8XIAyCbe52x1qsbRnJhi0vsIq9KDexQglsVQ+VFBtODUn2m5CQV1ebwCQG8xYjJp1vET4D98NXpdAjRephhj2Pa27fbDzubYM0NDVF3wcx2xajKsgmD2hSCk/R1tQtyrBoEqrZHU3SwyPkG6Pt5y2yqEwwJ6zQoyX/T3NXUTdCctCmjFNJRZnT14Qd+jlRlK+HObhGzXWurOAJueiiAlowdzXg6vJKVdyBtZkvMCFaZBaP8lPmMC9kxT45S/iZ/vAbkaUzrU8j5xHdOlvA0Uf7O3mlLsxg6QCdFc6fJX8S705YMmO67JCddWLMZZv2PJcHB9npjLowWmCKO35WhGi7RMZE20F22VGfigEToYeiSQVfgesBR82+JAa2RI5y3SLRVVlkDhn5sgKU+X8sC3jfV9W7S5+lWFUKUCclJ6pAx1kXtDzvtZ9RT0Zbxh9fOsxhdl/Nn5zqbPGyt56XSdzsiecFnyAdRtoSVTk4svL4xEyks7OirnomfQ10wb5O0PXs65ltWGniJ72RrlwhLb9iZ4iowsE4+7In57K5ztrlSiXa27Kjx+ZQr87BLp5Q19frVL7ZXaZWpDql8izOzR+hhVrskQY2T7KSS2ZmOPPh5dC9hZTk6D620gMP+5bHjLS0MjqMjIHMuGO6HK/UKyTB4itOzz+GDbyGagGOLwpQbPCqp7rlpPvQc/ZwxFai+OGTmQBxOvx/6g9bpYoSX6aqywRTLH4SE5/bmJcWL4byIwtLWwUwziys2CJTW6RRlR+JvWiLPXmvcd9M5pPOyUZjGZ9j8zcu2Ww1ZoM9lPxhQ5RUVMpCbNrAma+in7eJc4UkeOHayr5MYkUNGWrz+BeDmAb9bz5YRZT0Fcagg/T1ClQ80F79jzYnPE0n0ZmBVYO676uIAn4sEMC9WCEcgX5YIa+XFg3jx5b6KHKKT7F0zrEpXLmwVXS0SDHufMxKoYinWemGVVaS/rbCwnmEu807z84F7nmEH8lHz5Dkcux17gsOsvZFXVLGrl/aOevKzXbeqxxnoZ1SW1PBr2iceYA79aZQvjp9VuryOrkgJI8w2SOjrGf8RSt97fym0KagDFX5qKOc8zCJ4C8/VlTnLFPed0/s7JOVYayHAkcdUfNFmw/ebTydaWqrr8JyCeK/+LWmx5wTdUVlNRlMIzXHK+w80sJLmflVYlK2dbHPYw4quOujY61HPeAfqjjiuLaKpw8fiYhbJsnLwinEtCeukR6Z+3KVLEup7UelXk4eiOdARfiN8KUHLFTyYzC/3EftE2DuBtllQpbbhFjj/FhGLZznULQNu02hI7l0FJ3N9gdOvErfgFmeKb++SPGR1ibKXZGKWNDhdqOIxTGS1HjPhAD1QYeLj6ffCgZdJyiytPEETXLeefrWUG961OyZtTB7mp00d7AftEsPUPDu00STNiIlaEjtk3WzIV13q5DhxTJsl1zTUJ0TGkiGhuiJ8rGmdJkG7VGVq0MqCl2dHUzG+sNiIqbcC4kNjMgmzJHWss5Lo893A/41UN+7kMsJ52FSw4nYH1tW6PwMOiqi8/pMcQIX8OIQdhIz14RwUUriO1RQISt0DYem8tsy7h7Gm09F8xE2nT3sTwTIyJR6VeTBItVeJEsmMhTrDs/zdCOukmk4AlPHKjsPZl21bRTKUBmLd7uqu/ghHIJ/FvIHb4fpHolV5VyJDz7WGjNj/iRW7KZX0kbyZzvSqaH27MupbUR8COH4Q+AZjgutcKrvONSFb8s4ZoV1C1JU3HZGWUAb3Z8s3Sey/+o8oWLMVonYPH48kiBgXutVOE6pEO6eTu8TJlni/HZxfYQbf3xj+XD63t2XluHDrlzaH3j1ugldjF2/RVQleerR7Ps3Z6joUP3CpJuwG/zODEn2ZenbGCF6nKM2gtnosHc0kHFn1peOCr8q3uu4sEJJblWFFgJFnFVHi9EI8TpUxQe74HATPdmGQYktwQy6yieljkpjFakmzQeA95DX2m2PgiMU97wGfi8VvF5TbTuE/AlQvXvA1XgNjNqK3/cA9dodEPEtTtzWmTZvKwi4IeY/h5CHnfnUE57Z/U/+fQhIa60Ud0i+WYaekxTt5gIgxosFJWvLUVcSt/okjtnA0RnYdw7IGv5xCXlfkZeRqXc9pAh8UAd/NfORgKvt+tU8iqhaRkoysPQUPv0AvabEWTpIJ+fke2VF4Evhbjuyzc4uKQwF04ebhAuJ3cmjuoiljYQ1IcZHk9J9FvKjOTLFtuv8Pm6stx1S4Ngun27RXxeNVVdoVxE5jAuco0aL8Yn3Xc3H+89dhV0hKgcnIsCiUCh2zlo9X0CniAd9OvnCkmRwEhBY2IU5lv42iT8WnaTUNCpNbNnVK+NKPHLa5OXIxCK9vtw+Lf/UMmm6ZmKkcW9XGK8p9qdLvf2GejRjpDSwvc5gbmOuRk7Sk0AVCccp9zysJ1TdelgvX4lVVWo6AeK7D1E65cFxK4zeIgk8KmMbk5rWP8pBGWmsWhoeSBNf9YFzu9gaHheP0D9SHYlpKLoWGKYiaTOo7H7MWzU61Kdk1KU09crcdfsFGPh8XnD4/8EVqh5APmhBszzXkryPrvnSNYTzaUtzEutovU7ZCZp/GryeZ6iKihb9AO/5QmtPUq5HX3laeKciZ4Al5gDNy68vxkJDw1StogngP+/ctZK6ZnB7vwF4ExxbEyxJocCr8jlXHgCXd33WPwiC98PSc1QCkJzQU7WKHaxKT/UJNC2iTU4JdQH8Ly2SqY37Yoq6d7zgW/ltUw5GgBA0sKjhjjGoCWkOpi66lcgHBGGhic022eDw9gAEKABvMYSY5j1bfIeDyWmE2hqFsdVHXNXg4wfjEpNR3GCr5IDq0nl9fqHiLBWdYqNnoeps6smo1UkK6GnEQY6erEJNkWoWGJniXfr1xesoYiFHz2hhumJ5P1T48L2AEM5XQjh8ckr9zE8mdDUHl2XQtB4FJL8dWzdacCs0NYAQfBxQa+KV0kxWvSMZ2DuNQiSQl1cUbp30DaaxzEVLxK+oRsXUEN0eegzwjyKDktIRH7K0bEmPwO8nQDxwj9VPGgOfVJIXNYJ1F3tqXpIXPzuwcJpDU2/9o25l0l64jtxaFjcw2cbKZI2pPx1ltlCjszXkbbm+qrv5JFv0afyV8Yq7p+rW9yySGIDLmwNUbzaAt2JEYJfvdYntjSkX8a7psxsxMoOuPxfJ8XUDgkqXk+aflDUmZjoYMANZ6XqFJpWcXXbvNuXc1Ga/DRAIX57QKwfMO9Mh6pVtbYHoW88f1Wk9vfDAUHtgnktazxV80T17Lrh+Qi7L1yQ5pq5ALaIuu4WD1wvNz+9x79EYJ4sO+BJE4Pb2TiMtEPKvUdM1gE+FgG8N8PPB7zeRC9yp7oAcXJGeYmeJlqHKfIwJCAwBAXP8xS2R57wqLPB696OSDTF/Y3+zcy4rierYpkw6ztZkdauN7/jKVjeoC0VbwOXNmpdrUpc30lNKbcUyVCF9oXU8uu+TMo1Qk08vKzKI0AlK3IsRZF5bVzS62Z6ydZYkr1QctQbzkNJHRVvOmNUazYEdbtI4SakfqqJbEU+rUhfForco1hQaCkNHT7RpAXi9AD8nxJDtRSMK5xi3i3AJ2IGsmLX9k32ZvpGX2glBGx04BJRzQWBIPG8PlhQYZGfYDmFm+4bsDRxhYryvdOXQA/ilIK4vUCY2UOp8dFgIayRKX3369g516lKWhqLKA6X5aKjwcBqlxiys/kiuOpTYb3Te6jo3iqVHcIenCTsSUiH+Jq7QXN5KnW2oCAYk+kLcsv3LsBCBwnMTDDwKjMUxGSDthKZA2T4BcQiAKegEve3lIxTuodW9QxGCVp+Evx0Y8fAZN5EPdujiAtucoMNBhBxbwLExGCHO5XUhhrPAfFgRd1YRHOj5+C44Jxi+ChIGLkWZW3RVgs14Z+FslssW5anjjDQ44c82bFDlhxcRSmR4xuDrFUZDHGc0BSMLIzvEVESHroHQMRn6/q6pLCgu54YrCDWbDPIMtZ6mMXR8Dh2L2+gsdAxNtEzlpqg6tUXRuVLxyVT9RDbokPTFlr491C//jVoJaaQopybWzhryrWGu0ss7Ctt/whiiknWMG0vMeoJbpZ7QkKY2CazhqwZB1c0PkDgPiFkmEEnmLRxnjbcJzc6sxGl8tTK22/UHsdWPEx6qQ3nq2aWJH9WrvKuZ6uODIatQCEg0Abzpu70nbOYJor8JAAASQTkEejWJtonuA9cP7MXKMH+zv/QV8C5CzmhIkpKsA0P0yoeRmp7khREY/gNEiGJfZBrJHfsVsIFLiShGl2gyAgCUSX82HQIwlwmoj0LFA8nop8x1aYsmHQYSFAD2Ap9/GgRxNkDhxhsYekJ8fB8COlggImoBJGzCDJAhyxUUJBPmOKjSzdlcSifAjdbcBnhRbQ3YgraogQDMs3wgILpKgILeWgMDiy0EDoxdAAFouwci8O43IAHtoAAyKB8+oIDMMQUVNE4YOED1nAMniJ7b4AKFs6fe7/Zwg3iZwdR3Z9qcHeZFINfY2m7GZNsA4k91SIPj5R3r32QvhpHjx5hc7C/qPIk3iiW++enw8xd8DXkU1NE21nqXcAwQt8bp0F6rZx+a6Z6EGIfdFenUf2pao0mOodYxZ6lGZN6VmNBtMa47Qd9kInZpOAPp4L/9kM4IEssYqL9uXVMTO80jZw7d8mR6HEyJx42P163uMjQcyIuaNyoZzpsvMnMUBuQ2WSSzyuoygI6Y4mHwkjdvnmayMLQG1oXTblRnNBot+qyjMavkdJP4YINeJ6lomqM3ptggyfLj6l3tGPfaoBd1GRZMNhdZYTyPqceM89Pbf/E2pXuOzhZQzxC1QoxS4l/0MJ2ZtGEirrZD2xqzmHx4BG+Q2+1BQm0/kzuEMTMpyjwYPZuoW/tivIm7fOFrcgHuXY9CiVEnAHU3gw6TMTS5G21K82kNRXSejsLjiOxi1M2FU9/C4GmTq436m/j27GDmfQ1J9xbvDce773fGiN8b6lu4Q9mb4DQ1s0MTcRqIGJ5bY8wkECNEZ2AwBtdsdJtcHDVioe70mRRLz5++8X+RSs+2pfpFIJF+xDaHi1AQKsKBcCJcCDfCg/Bix4ETF248ePHhJ0CQEGEiRIkRJwFLkhRpMmTJwZGnQJESZSpUqVGHp4FAkxZtOnTp0WfAEBEABIGtgP55xxFIFBqDxeEJRBKZQqXRGUwWm8Pl8QVCkVgilckVSpVao9XpDUaT2WJlbWNrZ+/g6OTsAgCCwBComrqGppa2DgyOQKLQGCwOTyCSyBQqjc5gstgcLo8h6MduLJHK5Aqlrp6+gcrQyNjE1MzcwtJKVk5eQVFJWUUVAASBIVAYHIFEoTFYHJ5AJJEpVBqdwWSxOVxCm2sORWKJVF1DUwt6WXS/EfUNDI2MTXBXm4agKIqhOEpAiSgJJaMUlIpyoJwoF8qN8qC8tqDhQ8ePoGQT+rmSQYQoMeIkzJS+YnYxVq+BkIiYhJSMHEIBpaSipqF9iY5+gGCYTmxmQbCyIdmpwGOGo10ubjehfzj8AlhBIWGciKgYXlxCUkpaRlZOXkFRSbwESCiJkqBhJEuRKk06rAyZsmTLkStPvgKFihQrUapMuQqVqlSrUasODl69Bo2aNGvRai9ENtRKukfv5H4DBg2xUFPamyeZNGXSXH5kFmtSszTj2S8XFyxasmzFqjXrNmzasm3Hrj37njtw6IihadBnIGpKOdEfS/5a9s8KXrhY/xLYZPrfsXC4uTttl4cn6dD/L3x5A4gwoYyLkqyomm6Ylu24nh+EUZykWV6UVd20XT+M07ys2/7TDgAIwQiK4QRJ0QzL8YIoyYpt00cYxUma5UVZ1U3b9QM/dXEeXxjrg9vd/ly3+HS+ACAEI2it3pAk+sboYDhBUjTDcrwgSrKiarphWrbjek7VlB3flDTLi7Lb6w8qaGeMvzKns/liucrm8oViqVypAiAEIyhG1K2sRNEMy/GE1S51GUXVSAzo1Vo21s6Ssb/O3vMND9DoNd26bVvaHUmhsBIY7B+FU6acKtPedPAfn+/nyH+IrloJxJSeJayaWJrMX1ROiOeLTY06PA0EmrRo06FLjz4DhojqHYII8Lmd1IacGKWkoqahhaEEfTQaGJngzCwIVjakA8804x2yCno3hYRxoDwlaekdalRRCS5IC+8MJNoF3dwUqdKkw8qQKUu2HLny4HdIfYdwpGxli1Zw8yypXpBnkg6duhh4hvRaBFUGDRkuGD1btj6voKik7OGtXD0IAkOgMDgCKWJNKT4/GibIyFfW6BxBOZwgYrCmbLVDkVgyXDEW+bdrWvLXsn9WrFqzLrrzJaOQTYIkETEp0mTIIZdClEJhdqSQ4y5yHkwr2rbYTp01pDXTSuuky/rYENdjoenCWTRqcXtKO42PdbL0GTJmCs+cpXP3pbBFSmppq56AFbHO/aGiQj19iRspU/b8fHbFI/ElhJTKIrxyWYraJD2sSuA5s8oup1yYQKKwVuZCr0UI1u01Ui7yLG+vU4vzTO6rv4EGTa40D08r2bqNNV62XPkKFStVrtKx9yphlrw0SM6UFdD4qWKNYlR8HNP1ZdwvykdOmc591pxEHwlDcsXgMH63+yQyhUqjM5gsNofL4wuEIrFEKpMrlCq1RqvTG4wms8XK2sbWzt7B0cnZBQAEgSFQNXUNTS1tHRgcgUShMVgcnkAkkSlUGp3BZLE5XB5fIBSJJVKZXKHUNfRJPDQyNoEbPM5zC0uRLiQ56AMMjkCi0BgsjuuaNrskMoVKozOYLDaHy+ML1IQisUSqrqGppa2ji+/DDVocR8Ympr8ngEKl0RlAmMhic7g8PoAIE8q4KMmKqumGadmOy4fFBR09ihNr0cLrpu36YVT1meXbfgAgBCMohhMkRTMsxwuiJCuqphumZTtKonV9aUQmac9Ao5Xedv0wTvOyWm+2u/3heDpfABCCkWmSqXpD2npmB8ORqJmUTshyvABVLZUNqsYr5qNp2Y7r+UEYxWTVxiw/qttLMKiGmOA0xbQyFstVNpcvWB1pqszYxUAwgmI4QZlUczTDcrwgSrKiarphWrbjej4UkCGKfcFd1hvNVrvj7mnRHwyTjnnWQN6X1LT0jJBkxqzsnNzID0wMghEUw4kkMoVKozMkrKXsW1uXxxcIRWKJVCZXKFVqjVanNxhNZovVZncYjCazBQAhGEExnCCpc+8EIolModLoDCaLzeHy+AKhSCyRyuQKpUqt0er0BqPJbLGytrG1s3dgZ7rZvACAIDAEqqauoamlrQODI5AoNAaLwxOIJDKFSqMzmCw2h8vjC4QisUQqkyuUunr6BipDI2MTUzNzC0srWTl5BUUlZRVVABAEhkBhcASSoFpdrIagywS/lLK3RmeQL0XZbEvvv4GaUCSWSNU1NLW0dXT19P1ta+CvlNSKlozL7eED7fL6xmy/kvZXD0SYUMZFSVZUTTdMy3ZklkqBpFIvnlKpkFMqNWZJhFhmT7wob7s0qA3+aIARFMMJkqIZluMFUZIVVdMN07Id1/ODMIqTNMuLsqqbtuuHcZoXcSTiSWuQNyLBrS4YeaVancLoi4XhBEnRDMvxgijJ4kW/CLphWrbjshXN0KT+oHIoGhwDFNXN5oul/NY6c/lCsVSuVAEQEg4dQbHWTZAUzbAcL4iSbJ0WaE0yLfvbHgc7HkYxEddg3TvtP4xb7U631x8MR+MJU4LFarM7xDjV5fZ4fX4AhGAExXAiiUyh0ugMJovN4fL4AqFILJHK5AqlSq3R6vQGo8lssdrsjpedA4AgMAQKgyOQKDQGi8MTiCQyhUqjM5gsNofL4wuEIrFEKpMrlCq1RqvTG4wms8XK2sbWzt7B0cnZBQAEgSFQNXUNTS1tHRgcgUShMVgcnkAkkSlUGp3BZLE5XB5fIBSJJVKZXKHU1dM3UBkaGZuYmplbWFrJyskrKCopq6gCgCAwBAqDI5AoNAaLwxOIJDKFSqMzmCw2h8vjC9SEIrFE6rhe7uD/ByYgKMvobzBHYACEqn7LV69m4NsI8JMridnYWw4eBBRdyL4r3YHHhXCSxcfRZAPhJW+wxHtYXR58D5qPzeEyetmLLl9u9Qni5T72v46At71JOhZoPjaHyzh3Tk3pHpX1Ua8yudTjSEs2KP5K+UbCZ2AjWRddoXiu8pm6lKAyzGpJWtSLfmmJOIVTjwEAPHChMs/tUUvpmCAplTItFhGMSI1syQFrdCtmyhKSxVcnTZqmj1lAuHuD5XpyKzxCG5XmY3PqjlnpXt+KARAcHUy5O7Gmd/O/yKNRnmvhSGbuw/MsLTrP8uQV+jTAIoygGE6QVLq0hLV6epI8E/kixcl8sQ/718fRRS4ZqcFbDV4JQRAEQRDU84m3FMV0LtJ8bA6XsWVOazwbeTXXdDpzQlbWPSVSYCQnw7ReM1ThGe9ZqtSdLSTv4lETzw/xGtM+23FNXndp37NHP/YbLWPd/VgCRJhQxoVU2liXVwFEmFDGhVQ279lRT8Iz85sE2l+LEjG09yL1tBmK4jNzA3b2nEhZMUnSWZDOwaeUFtx7aveU6NSaFqhnOlvCPexXM+dZqevFHGFBy/uFZRwkyzVnU5wj0dKsW9lHWuKZ2D4rrpG+n4w1VLPaBW6IcKSUDOpOBdfcV3jMe0GdtgKEDr1qz2HNUERUiDl2EeEki49Tcx6ueyTvpbwaBEEQBDneGpGIq14NPO+deVRv3bpo66/a45rssaRLtsDCvpMS1JBVBNgjvhWCWjd9i3wc7e2ND+rZllySmbLI1A0DWU93KcJJj7pm56jpS86Ya5mpSyNM0eTUtMMqA49eroURa+f0rJBUWmUxS12kmLrhIPQyUJxM1xKBWjJTF3GSVd84J1kixx1v9RKxJcctL3fuDijCyawU8YgFnUXSW1e/aT1eOZqzOTW6+Ga4hkhxUrFbeux7Zbt3A90Kbr2+pTRf9llYpQ4tMs17cSbII6c0Sc0q7XXP85+Oj+BpmNtqn1WdeXkUxBJ7QN2+MzXBpWiN4Iackt5XqmO99Tsm4IsxXKpLLvWevu9TCrR6d+WUhfaadtaxGGbZjF1W2ZDvcRiWqzctlyIgwoQyLqTSxrq8OkCECWVcSA9Sa71FdgDdynCLTSKVophZ8iIRbbXP/DhJs+m9ULPuTzmV/cCbLGMq7LhHCOJ+OGFf1vJNi6XuvUpPuWMsKl9ltr5FNaqRH+IJkqmSw0Bx0rMTRXlTlpgARbPrjm42t94YYkRqVkpbAYXXnvP3/spb38gv//3/r9vrmdBvnUd8RV+fDFXsCf1mgLdj6zWhFu87EJfO0LJKuOkrTWsoRwxKPXK54qhzTlyhjQ+0MTp3Ctm13ondC8MPHH5BsoVzJJG78tIleeEwWc3xblwpGVeWez9SWumF39OanZJdqepFtEfXC4EOnocujddS3FYxLzxVNuQX5sAKDqdWjEnVsLNFklyJzVQskSOXWnMKdVbr3MKs1jRLbMHBC0wuRwo0W63uAIAQjKAYTpAUfQ8yN3DXcDrGuP2BuF5EDlkpjxt48RnyiLmV21uXg1sU04p+aZ2ABDlk9ZbJyx0T1A+OhdKedz7rQaTtF8+Dth50PWSuh0wobbsesjx9DiAxrm9Feby3/8oVb1w+a1oxmr12eDDkRWu3pm68BR69s6ClmQp5BrKQDE+al6M/MhAlrpRGhFo+fYtsbp6VrWs7wWWCAsEIiuGEWudWd9BIeUTTzKp822qonO4SjKC0l10PlkReCakb8Hf/b5cL01dGxCi3w6/ICvuGl6bJrddOpnJ6ZfsUW3n0RLdKMsZKpVMMtt5w9CkYwYgUMnAtcWAEVT18ExTNzpV6vz3i8FWjoZiHf1+L063wKTXK3/hRjEq3mpXwZTN3pf7Opupq4w9wqW9ly5Q80YZ755x65HimBOXGnRF6cS8ftpXSQhxQ6DqDmPAqVXaSSggon9CLKbdzkpgjpeKKvWnJQAhdFsAYUfIj39s447nDFmk+NofL6MX7shbNx+ZwGb02i0vjtCXAVYK5OWIkxKtEkZGJroqcGA7scAp4SYzIegsuyw6XBU2QLtCagOwQYnVBL1KirAMU0cPGQbh0OMgAvhu8kAIAAACAAUlVOHooRBhOkKpsQIThZKkd1gQj0qV2U1ZqM1zZnQ8BEYYruufG5G30B4EQYThBqsI9ExBhOEGqcoThZGsloYyEqNfni5MAIsxOglSFZy4gIltJtI7xpIxzlrjB3uQQjFitAFo7FIAIwwlSFf7lASLyqC3GcpVwotzOZ4AIwwlSFX6yABGGE6QqnzCcLHWFjJ84IySOxHidLLJIh4MjooMrRjJbG4XBvYzNoCeanNOOYkhzQhX8UkgSb6M5xEJfiNPRmRIkQ6kjNoxTU5WyXNtLUPljJaXZC1bdQDKKgFb+lkm70KWNmux0+HBh1johyWYLMJMLoqKs46Gq7CG4wjcMv6XfBAPBSpPdMAOxhhgMd6DkPshmWE4vC0AIRlAMJ0iKZlhO77JgB8gKToFrdLkhmfzsPGp2+xbeHOxE5dBOsbrsMwpLb2Jd4PtJ8YpnVH8b54r2eFe8x0uBel3gLBE882mFpmiEaXknsiqpQEnkcRYQVjqRkZ2jqkJs/QA7fytoLEtEa3G2DuGCVmRG61FVnwqC4oL5AE1BkA+ikEdZTpVMsGSoA8XsuZx0wYNyj4QVnQA/hwvX8QgomtfGaBYELXYF2tNi+MGJ40qi2o3kKbdLJlYfewc3qAPpXIefnI2hkECk3xOTqX/D1Ww76HS6pNgOqneZehnJ1usVbcMa67Vtg3712cE03SJIECDUMfXawi/V/qXuX5U/Bh/qGz/urkkECP/mvtT50/HfFA293FKPxqo2X1urpa9A+Sq8KSAB9QY1qarfxtQnXjFVjTxgqbNQ7oS6WfKpppDeeeh2jfGDpSU/DZNTzSmQC17wjsEbjlDtq+Aw0amQGRagGE6QbLl98LkDlBuakRDjBOUWkPH6ir7kNe06fmywC0FCLYfPwia0x2eHI9YPd3bHBi24CwEgBCMohhMk68thghkU7QlZiGI4QVI003Z5Czm9cYBXDiJMKONCKm2sy+sFiDChjAuptLEurwMQYWL1cftQb1QePfD5XOBxNNv2UOlgQMWNsgmGAgWvQMuq3RUGq4W8R8U37X4z/y9HeK04elVnKnaZ/vv2Pt+E/gkoOPzwpFlvHj7xdqFHmo/lWY/MyrhSnlN6dvgu29eXh6cBCg3wEEI2EEGawMC4KrCTAmc5GEOkyVQhQbVuAj00AUAIRlAMJ0iq9ka0BFYmVelPUAZ0l4T3qqe35hGxlPr+k+MSSAZBpE1xgrTE2lMRCoSl1IPdH8iviQleT19/lj79dNNRrkRNLWhsBRVUZCGdT/GFSN3XRzuQtfqT6BHFQHax5hBYfcuCnKceBQAr5caOVtVmqbnFrwPAq+RhQxgupluZCNYE88YTntfaDCOBpRHQCfIlerIL7pgGTJ7z6j1hKwyAEi5Oc6++iOv7NMVqp7fhEnIhlTbW5XUAIkwo40IqbazLW1c1gAgTyviIz1BtrMurAUSYUBZf8ZoAQ7WQSpuHfdmHlG+Dn4AgMAQKgyOQKDQGi5NnDkAQGAKFwRFTRXp46SBIiDChjAuptLEurwEQYUIZF1JpY8m6G8Cg8D57wungQyLMtpOC3lgs9DvBtSpWBhbY3vNOwj0pZcLsJINW7m5hewwwt+RYJz8LPJuiiypYpJZeoqMncKoAsm22g5bgcSts68QMkyGCYJ15O5uM5f7itwZNtyKDKcjYi8EPO79zYP3hTSulHWk/Dtk8jpCb5qVg9enI0EsCEJImMKM7jZBY7pxWVlpN4YmGJUOxVNWpJF2WSpU0XlgX209Dlmja0TYN/XyC5DpoPKIGR5cUj6VywIVwxh4ti37x1JMaKUELvq7TBGgoxawP+ntjBvrr779XR4kfXklzWn+HYrlqB4pL3ykmwCM9r+T/oAHds+NQCGSBoqgzdceB7EPckB0eutytjO22eYYQwEEOIZzCsMhdqMxLaPWT6L68iprYi27i1HCvDgUzLFi1iS/XNNg8wN9J7sk9cHaq1KkKa605WVITdLyApu2AhuHJ0FBKFubSA2WalQIE40oNE/iecw3NGjckHS0EBCNvWJqdJieFw0Tpnor1aF18MJOjNhm3ff95oA5zmRCEpAv5tzr/bsDNggm72/thbl36EAmnWFI6/VHXtPAGyM7x7ATvWwwSezxvmQtLRmfOm756oJuF6GG96ULR3i+lncUu93BDXdK77BRoIYXDUAnpmVsQ/Ay5ImQZeGJCNSYHFKy02hra3LGH78jZkWrYUsJ4GNtW+l3d0c9nBtf2DI15JQ1zpRiEg1kCwFCSB9EFb5DX2YI4XDQffOH21VqNZ2hKHm60hmqsxj6dWNReJh5B1l28puijGuWsKyaDCs0hGargGaUNgxBqgGThWz146lRIjKi+sddh2VWyTdxScQBrOZndhd/J55vCEW0SQOLkUKYgZJ158ciEJqs9Ma3W6+JKm3vZBxBhQhkXUmlj3XzbxIRU2liXV0WECWVcSKWNdXk1woQyLqTSxrq8OkCEuTbZNa/rItmnjAtt3Xxv1224kBm3bvuMu/E2b3eAxLiQytI+23FNXhdIjAupLO2zHdfk9YDEuJDK0j7bcU1eH5AYF45r5tuTN6/vsx3XzLefkwml7dyzTV4HOO5/8No11rNCb6yhpXjIcPVtBIwzcpkWIxzvEmqWpV4LIrpUACEYQTGCpGiGbSVIImU0AMPVbOzExfJgo7z0YTm9DAAhGEExvMZa95b7ti876n3buv2NABGGEyTFovnYnHJvUFTfr17kHbUuxAO4N8fMEr2y32q8q798MP9YDs3KwzIyz330y30Z+o77dQEA) format(\"woff2\")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAZ6cAA0AAAAEviAAAZ4+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGogMG4TcKByBqkoGYACBywoKiKkshuRRC89UAAE2AiQDz04EIAWMWgeByS1bBzO00v8f+3kvvCX68AwGeLZpWWtmP8t9dA6pxNFaAJ3T++3LZBGZxLYX8k19QYuO6hjDCxsOJW9Wv24obphO0QvXbQhktsjavD6L7P///////////////29rWUQ6nd3/9177UqVX6UiogUSTAGMZbONKCIljx04gSjOGaKvgQv8j4WM2QYowUVmcSipESV5wsWJLYSooxTSIwDUREk1rErO1uDxTaBmkzahtS1hEHaJyQQwFlQu6mvT6jiQYkFp3hjSkozGdHE1lFraJDfBkMIAlx4ErCgPn9NwordAX12q0yEIvYVYoYGAM1n0YohkxiRZk2drOYa005CTkjREIMUoJESJEi4JqKGghSlijFLRAK1UKUVVnHMm8ovbUqEwX0LzVlm7IVrUFIbYbTc9Iojyf93Eyo7pu1vmsCce2JAhHzHBwwVyOtFBZT8UV4yIi1o6jq53bhvtFfX0RGpeVWeaQWxnLjYk1a09xxtWyE9zuoF6zccU10OHGbU7vuDvmzTG79Bzx1wE6eHgrAazoPYZciXM8CFFs4eeIEbxzbAd7TiSQ77lbpvnBc9QNlOMM98jfejC+TxGtPupVcn7GR4w+OvnEaV7LnHscKXRR4xH9LtnSR4yZt+J5AWH6vq6YKjnFYkJ7bUU/Q9iw1+LiOdfrh5oJNTSpoRkF9YU2GsVmjuTrtysHwcXual0uanSylGlfJpppwyrGEcEcXbJoenbBmfNncNz0iQjzpTulOdvM2SEybgnxZZWU5I9XyLZkWnzkQ+bbATMUKak/XtcQL5H3KRrsRPiILsmFu7uf05vZB8U9cZ2x5WRZcArCCTZ0wJRYQOFAKqZDnrXH2OsYwlsvIbepIEL20xr97Z94uWFCIowQ4QTCCS34o/fc5+XLJVn/1fxWVcT6YFnxcfbhMqXvOulykq5HMZ9IYKqVwYGmL1mWZVLOYO2b7BkWa6KJwtcraAxDO4+1JSc2QkGHmu8XjG0F9zVmVDF3TBedDWNeHD3yYvhTP9O6rOjf/Kn3B9+mczHfR+teNMtzlU1IzG7E/zY736+hZABh/xkLOjfz8Mq5Wzm5PlgYu/2RO3cI08zBpW33TFMXNp3SSPWKN7jpt6jysAre0fPPf5MmsYE8XtIfJPXpu/+a/4Xn3wk9+P/L+3/sj/H2fR5tSRg4FbL3/0dR5O7OENFHKngDRRUVKnf7KCqIpY4KX7GnOI6OyTls4F7D2bIcopXDloxlhztWPrKifXvr1aKnPGZ4or+pQESQcB3r6dMWFt8H6BnihJgRFJuKFiIkt6yOhBOPNy4bJFpdPvQ109uT3r6ltdBBT1GL5Kc+FxgjsaZlCVvmd67QoYjgnr1+OLH926caUfBqNj6LJ3HeiREFeLJjn36zIgF5DkQy7vq2BBhiKqWVWu3Qc8s+XW7xiHh9yi9UtUb/XVmz170PUBgI/4QihayQhCKhiCyD8ED0GYf4tfVDvMdSig0GIBKCpAm9Uez22ww2kg3YhQ1gqRQRQYwEAwusxEC9MPIivdS71vt+L/Xpac7eEmQxO5Ze2ua0YvTOg1nFliE1pBIqi+gt+EJNPhpSGqgY12JalVSBqlBSEfv+8/zaOvfel38CGAZEhCHSQtZtxc7FzI0ot8uNwihsjMrNNjaLUAbIbve/7RmSREoyxkp2pY1UGjSWrPlm7P/33liPx1uPf96Y60k0JDL2Adjt3lgrc2WFhhmFjNUwM1ZGyCj2v5WVud/jzbd2yMpYCSEjo6iMSBP8//9+v1+I6TkJ8SbikQQ3El9ELJGJ0EySjq7yvdQ/XijsCVNEFET3+GzcAmyMYR5nEOIYFrg2yRg7RWTZzjpgZeGF+wOYWwctFT0ixzZG9DbG6NGDHpWjSmiJkigRaTEBQUS0CbGxABUb7H+POfvnv1gWGBiiJFEU4wnpvph/0/afaLQIY4/qAaKcf5F8APBQ7ff/7+ru6Z49Z//zXzyD0IxCkQSWMSblUxEShYyQETrlCS98T/4Vf6pas99kkIHOvjMxk0Mxgzg7b3f68s9/9/zOvPlTaz4lHmiAmCQe8t2TbRlLsnai+vOfiP0qllI2NFz2gkyHmtHU5VT1545aQ9CgdCzEcpI8/h8um/CuxVJCOg9/s/+a1NSgH3hWpwaoyU3upEb9yY1ugDqq4dy1bJNo1CxiCnmfbcD+muvNpb4VNuM/EbtdfgucI2fLShKPr6q/Z+8Pk+33JewLvJCNY7ZgCpbqMReJf34av7nJy8vNLnRZjWgOZUB1ZVGiC4NQTVWNsOhf2P2bY+IybFZlJPtSGw1KGAgEHfCn4CG46togkECg51v7/6mBf8gQ6TQ9nUMlJGv/l4JYokESK+n66qzazJrM7t294o/nl9f9V5oNB0IDoEVAGxAAHBxYV+U8hFf3aFD31FoMUUtvZ74nrjQ60ymd0CBETclDZGB//+/kDjdXSXULUYe4PCAu/L/XqLQXykog4aitshou1sCe2syZalX1ACuz7tD1e+T3Sh4vGI3sekzsv2lLVVea56EERl4vkra7+TOTBA/Wl2bxCIeNViXXQFUBvbuXx+jTsSrKRsgIG+Fi9TfT//dO67tVJVl21b2SnSzDN/0D/u8R2Up3wI7txIPbEKnuj5ws2sniADbgPKKeeQAsaFjq3mWw9AC8qV/zjhPbZe1/Bb8O5o0eqRx/zSlnTo150BtVAT825o15Y0GDrkkwf7XzPzJvZTB5subtAIAkH5mKqLMH3MU5nSyEirQL6R4HPM9zuG+9uo1p2PF42xSbGFgkAc0/VLZFa+Xw7jxhiFE9UQV1udy7DqImVEgaXAsVgr53wZxN/mxyDhxSIgzeolVNjemruv1f3b/a/2V6sCUp0tmDYwnG2lKZx5BLc7oyTQGm9y9IVkCyKMBTo6A/OkDANng4iHu/b20fKxmPtESIFxKhekhUTbQASexkZnd2YDGpPH5/P35YsrepnfvE9KskRvtE1qmMSqaKZ6KXoBGaSQNlup5kV1ZCd3y8QA+46dd9P9S+c23BEviEpY/y/R/bEzJNvKaXCWn4WkREh90z9HT5shC/Zj8anlVSJ9/6Oa1GqTLYgBOP43i+tSFB4AeMG0xDLNtXFG8GCBxQTA7b7iOMOaqHe7byNeAIE8wwYGjuecCJaK211mZFK8HsSCOMMMC2Bwnkt/jpTL5DQAIzN1xJFeBCAYqxo0PFSKwkNybOFy3Ui0xFq3SGfQLcFhfhHyFkQvdJblIUbLiwhScXlKlTk35dYAAwEKpauDmRTc9sRHASRZRFSaTDSIykMJ4fMOqknUKCFbswtgJU+IcNOACJ53me52EDTsDjeJ7nnXKLkvh8juM42IATsDie5/lIgHJD0e77LCNA4f//l/ZG7/a3lt9zbmZnFZOcBZidCTZhVe91qKOSbFUHW2qn+By7nPs7VjvEsHhihpLjzCAHQMZ4EJih0MMSHoIGIDJDPLUfOj4qfBt8X0bIeHnBC5TgEla1ZQ8kKxGMzlRF6LoK2/n3VfXXe0nRuY+mfABRxwaVBqYCSqOSDJPtVDm9TBnme+8DiHcBknrvAVSAB1IGQRWw2H4AVQDQkVlV2pFIlZ5S2wNUAliOA0I8DkmVUKTk0kWFKZ1O6xTTf6tlWP75Y6bpl9bn+Y9/GP9Y69zK/6navy0gbZD0k/QdUi467U+13blNTYG5F8PBzAAMMyRFAlQiqURpd7nU7j6J2gCA1BqkuN+SXtLP0g8xUC/vew4pFWWMpSu79+ndte76kKraRdPZ//+1Stt3b/5Q8KUDlXC7AM2JMJ0KoY1yBb079fsN/0DV1BJNeoFZBVlGKCKw0UQ2Npa0jtFrgyScCw/Pr/3/6l4fm/0aobEbYjc0rIaZQfedgxygibUBj+ZVqqZOiPhfqmarFcQL1CXHVKamOFPJIYSmNRZavYMoiLYo6BxCLDr+DVgQBKULIZcuWo/b3uPpXdYA5JuBzokOsfKhqbryeA+VfyrWS7aRxnQKKe7DZCbDcumcRuvuAUh8wJ1pLqnlU+qmsoCZmI5R2bKs8Z+WplR/nov0x220bhXFBKaUiph25/Y2s0/Sxfpu0rpUFFRR17ndye4opQHSYCU8hIQGsSAUgJygABz44KdOjxmVQz1j413OHXN8x9jqf9niTYpQxVEHQTA2K6KHeax4iyYJHpjF1ZXoJS+15fH8x/XjnTd3Di6vWcq/7/PixgNMLMsoxdzTXCI4W2XcRqhB+68FZvlf1coWn8C/AQHoThpt0M1eknPoNcEptO783FQkAAqCQM6uRHKDNNqsvRCixmlWp0tySN2VLq9ymWLpojTPvyq91s6BSOANEVbd3b4X4zT6JgtlY+LFi093LFux8wDAL6b7pEdgu/Nd5wGnCQ3scRZpxAml4//xb9zu1oNU2gEL6StHVDuQv5lAEtvAYz3EgDD4j1/WK9V03/MVpkoOM+O0u4jvMokJGsGv6X21Dn3baUq5pUwNoAKBxshabujbvFkCJo8ZCGVmd1dm+jjmJpQbfE0lXr9ZkJszfDGY5dgIIYS46pchReC/+frvZ81Oa8YIcxmMEEIIIXSbOTjGMfl8rRI5hfJm1SbV87gQJggjrqkC4Xy/vj8l7+595nPwRyMaY4QRRhgTQjAhNGFov/P7/r+Tvo+vzdBGn1fb2mijRUREiRKlLCUi5/F36Gm/GPM2xM0G0wWDGD9yiLex+m/cx/gv/x3RHk9EQmSRkIiQiAgZliHmH3t+3790mP2ZPed9xxpjVUVFREVERdV+3ccb4veTufdhny5dFixBjgsi5mOLbH6/pDbjNgi8wHWlGvpF5f+9y69Eaz5iELgE0cQn9fe5ZyeZanWCk3bfnTPr2JixDAQwEkhobEb/KXaquIeNwjlF4aMKdX7GjSNWyyojs3Z9XN/yRYQJGhO1NMNghBi11K09H2/P9IUAEEOILAxg/N4iGKCE2rsck3EA8RkOZZY0i2X5zoTbdtwt+9MbwAYjMx+X41RcNgKzPLh1o61Z69p0r0ffJsp0+gPEqHKWObzPzat2EbWoqV1d04abNNOMueYstGC5PQcdlTMZmAUlpVjlBCoQVTFpROWRUEhSKT3d4PRA1Fu5fhCVzK5W734hHoP2liob1Nui2W6t9hr2gWlfWPAtuhNWnLZWfrI5wNAgtNYCHQjrqJRwKsj5dqqHZmQ4goxEkJEJMnJBRjPIEKYqJJlCoVbrdHfvjnFSy+Xe30O0/L9wNgbhbb6iuaD7yEwcpRkT7NEJ9/igPDlxXpgEL02SVwftjcGqHoIlU2L5lFs9lTYO1fah2T197V2lZIgPUgziw5QR4uuUDPF9Sob4sa76r7Op/t+Ygvu00wiEhAUIQTIHCEKyBghC8gQGyRcYJH/dEDwh4idB8iTJnGy/cvKieIrUTo3BEZgcuVkqENL6HgR572Rve0iN/uhU5enp+4uzRHsXgZBfgiC9AiG/VvG/cEGHFH8lPfcqpOhqVF9boygQkhYI2RQE2RII2V5l8IbaIoGQVH9bObvuzhUDQ9tTLDqG86m46LR1Po+7zt/vv/DXi5fo9cP0jUfd2HbN/cj1q793E/LpzS//5ujFMPxw6367zfLnbdf+j5gKBOiIqbj7p09uquhV3yyuiiETQDqk28dumg/pA5gnGMo8fQxoxN8//HHKD3Oo4ldqk6syvwFdq3KTO+AiFTwCR+CzE+v/1YEQQCMZuWAUg+EBhDCTwywfedEnvmcSD8kACuMzUR7o5M/uSUkzvLfqrtfOpr8L9vx4f7zje36vfyw35uhE93Indkv+xa6+jFc8mZfz0JN7Ba958q/69Uz9NjyZ+Wn61XG38dzx7smNz/E+vKndvs/InG6jeR53y4RlubCqEtbVwqbWuWzrlvW4cSUOza5wanGV8+acoMwhItKgDTS4AwOs/9+zyP8JwahFAEAzHNvvQufy2b6Y9GCYcMG9hzXIA2TkDL7Tp5Y3jOFnBxU3lSmV2/51YpttwuW0ajHhavAk5hk3YIb00HryHMVN71l3Lbc0NY7oZTHdabDQ4P7YysrJMtjJRIDUT2PIyemn0bttMLQzPGN8IFjHxMqTksosEZO2oKl+NQgvD4l/WmN7MDpK+GsrUfVfZsGIeCP3R88YPKkGllncRb+/YdRcoKvDreTB+WNgulyWlTLPw9dHyRLWdn5zNdNsg+kLTAz2t5CY7PLH8Ur+7TSyHX+Rl4iOerFwtYiJBm4i5T9ynKTd/ptuA9txj7CeXF64WKaJlMpMHuAPreLIgbooXB11uS8WNNI0uWKf5uftV+S6SWkJ9VemxtqlZSUpHJB5GVUxOuRs26L3854psk2fyzGEngCLpT16+n1RlDGPtG2Fr2Xn5GKVc8r53G1rXBDTCg5GkGxb16SINOEyWXgDb2CCUhBYvQhrLnB3YGyctooEDL/51xvR+/ib3Ri9cXJT3MoWCxwKT0oF0h2AcZJ6Q2b1fkM3MDpwed/Yvf6SGsjqc/ghMi4uPVFeaKv1Gp/OUg9BoAOw7MKUl/AkgwTLm1YcnS5TrafVZaq4FMpgmuplV3irTfP7P8DdW2+ugLoJyzeoH3DDJBbxlWjsJ2dHLyyNzBXwG5Ychp4KdCYtawCMxwykDyRUZIfBnoCwhag7+r+4UA0M4XdppwgcmyKGf+Hre+1SOFq2FEO+Qt1teSrp+YNFzu0Dn1azy85UwNXN8IsrSQSf2F/o5hFE9qtqrObktsjKyKZNfqifJFm2PLW07GHpPhp9XuMveOiNXa4QVcVgrbT9lTG9vAFTt2voltPAz8WidwJuRxfLis/bAztjfOW95YWBLVbof7fgceApE5tVORDbfMInuuyfHzsSOxe75XmUYue2REopNSmdKUMpY2kNaZ3pad62jIMXv6kTxJoplCkzaallGmRaDvBnDlUtXWJFglXB59kKNGPoImXzoDfMpum2yoekUPGl15cWNtdm0YoTz02MvPhFRHKJOkAWnytzif+oQjEVclTuguL+q15SxNv1YGyo3I13sZAAw9/vfvJJwlEiSxUm4RyS37O0zIOsklKzyYUHzPEg6DMT89fuThx4CLY7eso2OLwsx/304zD87NpFT1y5ZPU8IUeCS9GzjV7N6JmIB/pAceCkLpeHHzn86VTSe3tYjztBHzKRpCLn5Be6c/BNxPfkF/6N5TTCP6GBSnp7kAEM4R2/l5fzn6FKqcB4DqMzoI+ZOmGWw55y1FEbHPeJjT7zrd1OOu2wH/zgWDCAfByPtLQLQvKSn4BHpjyDwY9SneFg12xOZnBIYvNyduZ4GuaHuc+x+TdzOT9PjTRGMD4KiP6OdDvyvsk85573IXez+tx49BWHS6szjWXZneZ62JfR84xn5R8guVGo0nK7MOXkThEqLHeboaIyAwfhDiDJrnu91NpUYag9gWYEq/rQLAkLFlyyYpWMdb/J2bDhmk3/KNi2TdGOHUqOHVMOSIu6MIw6UO3CppNU+3CHh2b4IkQ7ohFjkLwoMM7qKDLN2igzS0HUmKc4mixSGm2WQQeNHmywGMGHgBlSSNgpTzkk1NBwwggTL+xwCCKNlDiKKEhiipk01jjJ44qLJv7U0yYQf8/SnCDP05EI7ukOxsvsSDafjKVcUCpSKS51oYlPc5qlZSYz0FnJCkx+5AdsfuWP9Ow8Qfgn8sS0v4vvou536V3S82Sfot6n/gw8fZaP5stn/dievdtP6Ot3/8l88wpfie+P9lr9fFNvwd+39bbtvoN3YH8Q1qnaCZogRxM6YY4HNSinEzVRzubZiQsQ6EEHZN+c9IBt1eADsdVDCNQumZLA7IopD8Kun9ow2M1DDZPdPT1hsUemLzyzMZv5LnyzH4GmCDFiEaNAIeK06UQCGiHxbJGylBNakrhgZBkfkiSjMCRFFEtSZfBmuVJEblVnnNs0muYOJ4i5Uws7d+kX5m6zZrnPeavc7yXORj+a9+q9erSu4lU82lf1qh6dq3G1ju5duvRjcNfv+jEqwMZhCfgg4BZIuMGD28NBAHFIQLGaSR+ir+QEgtg8lpjMvNEG3IfiBGiYrK1VDRz11w/iF/5VFepUazHJpfRs56D9EL3xUNMvGF8YZFG02BWjknooUK2hr9WT0UATLbTRQRc99DEwm6dkLGc0JudhlYAeSrxAowyOxR0RTrBFfQXNuOR/u5tKqf8tRSlRgxba6aCTrpV+k3Ws5Z4rjc6OJJj9PhYAAAAAwGPBneAL9YxuY5jJYnO4PJVao9XpDUaT2WK1IYBgBMVwggQUzbAcL4iSrGh19fQNUGMwWWwOlycQS6QyOQBCMIJiOEFStEKpUmu0Or3BaDJbrDa7w+ly79mLV1++/fhHnDAlx7nUDMvxBkGUZMWomsyaxarb7A6ny+0FzZphAUSYcLwgSoqq6YZp2Y6LDTCOQipjkQOAIDAECoMjkKiQ0sMe9ZjHPeFJE1MCkUSmMJgsNofL4wvMsZNCY7AADk8gkSlUGoPJYnO4PBDiC4QiiVQmVyhVcNS5n3vBZPHs45A5Q8sTBZAzCJJsNGmWeElB0TTgZtCys8yYNWfeQhzkCZMKr1Wbdt3Rk/cuLynSoOFkuJpluufq1WRwFfEcmBOOjGUsVGUp6zafH47Wc28pCs5RrqbhmHnqmhPztlBru9GH3JUvuygGl1OOKJgfWIcOAts3Us9VVCjgYq/HDc2z076Oj6NLcTQNAlJSATrkwiciVj6psNKl7HanOw8VpzhtZ9a6vqRXxV5rOqfrZz/6evFxbC6OpkFAkho5kRt8IuLovBaVH/mRH8nIDsqWbkmmYwUVTXowMLGw18IUgCB8AlIyK7fcjJm+7i5tPPGhNe5eU5xM2ZlMef1+QwBnBx0HecJ1C+JAO3QAAADguQRRAAA6nho54sbmfmqEFZhQvWmR/I0KRDEllFJGOZVUjaprss7aVJ2oh2bNbt93WVgVjfcgwoYTeXjpcFwVffJYEXg1hxfyrRefFz/hFsaENYzWVpbb9G0kdZtBwaUQ9AkVJlwElEhRosWIFeebeAkSJUmWoiuaLUeuPPkKFCpSrESpMuhLLO2NTFeoVHVJRve7PWDQkGEjRo0ZN2GSZ1N9qIwGRm3sunCTGXm3laDRRd65KwJ/AggkKNBLsaebM6bYiwTK61HrunCcdptMEZB1P8obomeeuJeoP1D+kNlwS0LpNgGuDvztshLtZouSU0URafbL1M0pjxMiEeQ4yYbsFdPLYwEAAAAAAAAAPFUAAECM0smgYfmLK/JEDLjbFVLpI68Yq9mRl3U4WONAEOwgDK8xVAEMwzAMwyAInhOSkJDAMHxODH8oZCaHPuVRPq1RvZoJ+Xxba2L3dkFXXDvgMi4qDmWnbUdj6ILLpBjqB5k51bIyvO/Cg7VpDOEpljaFWSGMi+GGC44q/4bWm+GtffsILw7jy3PPZwZ1ElLdTUw5GCgXo2GC2Vj6lim7zLDnFg94jDNuBF1WZkdWbmajdhvgIr2S6WcjMEvhnKj53rFTmII00QH8V/Tmsow7mL6dBwtS7ckFCWkiCIJojpYMhyhZtoOPrXjUFlSYvX4R61pbIdtsux122mW3PTp16dajV59+AwYNGTYCWgDBCIrhBAkommE5XhAlWdHq6ukboMZgstgcLk8glkhlcgCEYATFcIKkaIVSpdZodXqD0WS2WG12h9Pl3rMXr758+/GPOGFKjnOpGZbjDYIoyYpRNZk1i1W32R1Ol9sLmjXDAogw4XhBlBRV0w3Tsh0XG2AchVTGeh/JX4BAQYKFCBUmXASU1Mpy88MGKFADYOX4CtUAAACA35K63IEcAAAAAG/s+1AOWH0eQ75wSgYKBo4BMw5cuPHiI0CICFEXjwU4BwAAAAAglvvv+6wbG4AwWFYtgXPHlxT3bQHOPsVsDaxrk7SlKoxSKMIzcS1DhYJA0d7towASFe02UgC51UpEAWpoKWoitBVa0GW300EnXaNjDt5mDSiGUkpLAm0wYEkHRwZ4Mski23L2iryDc0IHZwdunB1ABx0AAAAI9GgyLMhbnIKHCwWN3pLsYiixzptk8NoIwGpgJJJsofyJliMNFTrAgCUdHBngySSLbMvxYYETHrvgesufYkqs8z9xSrTRAMC/Qbw8sSbzr5mXZ8UChkyHRO5GBK+Jh8B3FTcouvIRM7n/757LA3fH/h+qp5VSsl8UqLTQTgeddNlxvFgtbKppGDWq6pJan6oXxCYrlZSm0CLiMU0XhkYLITwzAYSwcwPCMzM0WbbDvbaxTqT2bVH+BZhmpZZGvD5GBFGcCpTRDwV2vwZCeKeI5AQOLdCBDsd+qlCZhnbogL7QH62N7oqIlytVeZQcecM23DdtVyrgWv4ZtttjKiSUTRxECipXHYjmJGBAhgr6iYJ1bpJFiIZ77YiyR7lyy3LzmYjWJUNVsh4QpYhQRaFhzssg6QnZZRRcRh6dvODBchpWMBwkgUmHi6EwJmil7gCQSG3M81L6qlvEaDG9KBY4fTp7iUREHJtlqH2DRAlvmGs7XDl6nN8x9d1eWiyaMqlXZDvVcjY2rdnRYlryHmrXnMG163khJhRkdPCBcRVNzcx5sEZD99LUT9jfLPEbaYc1XPnhtioiztBxDZdI1fRTKNknBSottNNBJ112/Ep1YTqgWY4OY11T6OrulHusavL3R2kaQ/9Nl8AcQkGoSXTuxvKvVQpGkZYxZNcUgnC67YTynKYoF/xWAQND5gyjMZFwHXOU0jSy711qbftao69rZuDfhBEybyL98FBdzlGXhkoo2y0KEN8PEKUBk1YbfATU1DZ6uiZjyJBx1CnYrpQcYHFRoMMlQMCHzXo4iDxn0t6CKBMUwwFBQopmWI43CKIkK0bVZNYsVt1mdzhdbl6xd3B0AoEhUBgcgUShMVgcngAQSWQKlVa6wxmDyWJzuDyVWqPV6Q1Gk9litSGAYATFcIIEFM2wHC+IkqxodfX0DbDTYLLYHC5PIJZIZXIAhGAExXCCpGiFUqXWaHV6g9FktlhtdofT5f57rO5DAQAAAAAAAAAAAAAAgBWhVVRNN0zLdlxsgHEUUhmLFAAEgSFQGByBRIWUPexRj3ncE540MSUQSWQKg8lic7g8vuDlz9g1o4MAAAAAAAAAAPAiqcmq80CyP8NXzsTZpGiGF5YiVVy6JppqJlsiSjKBiKhBzzAvAAAAAADAv6ojiEb0rsl/kRn9heL1tOZannwFChUpVqJUGXQs7v0Wr2DJCZ0whsDSTzJq1Mbo07fqvQB4LNDEPeA6x+tRdL/aUMxn99jzZXULB+/FZtEXv+93PNOzWNlvHf+asv/ScDDZz03/aqwbgAgTimZYjhdESVZUTTdMy453XkQQfXwLst/d1NWtnDB2xGSnXJOW5DN80WbJ6BtIEa/0FrQuXsKc/oLw8uk2xV5O9hiAdnRrcZ89dzpYNKOHY3sDAgAAAAAAAADGAAAAAAj3CpQcSDp7pgFls+kAld+Z2FG6C4qjWZX7PhyqzX98rLPL2WWMZW/0q2hcKbFwl0t3CAOFgRCe2DtvFtN5Q+7DHJ/ixLIknjs0ROaGX5kJpqid1PmuPfsOHDpy7MRpnCUBIGAQUDBwGWQ4IEhI0QzL8QZBlGTFqGoWqw+fvnz78Yv2XaPgOsUYEU0T1JuzNEeeGyjN+KZrrMOkveZFO04TQP5D8hdmTbsooEetzLCZtz/+iiNh1WfAgzbCyg7D/NdRD6hCV9jXs3L6yoXrtqTGyHGQ/8G+Blin2v005edKZdwxvdYtHYZE5iKSJEmSJIyxpC9Gp0Kshy/dcDLgn3376VDAj1/aAHAAuLptsW+WJ1+BQkWKlShVFugMJTqMIbD0ycqG2hi9AFQQmSKeKIYDgoQUzbAcbxBESVaMqsmsWay6ze5wutwComiGBRBhwvGCKMmKqumGadmOG+8npyIsWqPSZqGBgZUOJwNepizZcqqNq3Yd9QfXhr82/bNl2387dhG253fXOt2oQkC/WGxOJQk7j7Ta1LqnPJy9GShvM+95oY/59vUW9hRTYp19N567SWAM+8Z5N+vjQ4VPMVWjsWepvbS35T8Sg3kRQ6NjNImMg5IJU2bMWbB0g5WbrNmwLTuQaDv6xOX2eH3+FigwjkIqbf57S2esAD4BnALEiXkHouhtwGwLNofL4wuEIrFEKpMrlCq1RqvTc9OcpU8hm8NkBvEJoeXpI7hZ0C54mL0ZZt4+iXkoVwcjJxT1m6KTmOVZVDIEQRAEQRAEZm9boiiKoiiKouhmNRAwCCgYOAQkBoyYMGPBig07Dpy4cOPBiw8/AYJEiDpH1mVyrrhK3jUKrlMsotClyrRpB1pHnBPTmyDdMHZ1XhJmYJhySP4axuvSZAaTBAzF8tlGDijcWSQxOue84jC78Ym1xXmHdji7Z2H8cQl8omQwguH5x/hlOJtJKxBCGD4tjBtpoRsUz/M8z/N8+C9M4Q7kLvbsO3DoyLETp3GWDQABg4CCgUNAYsCICTMWrNiw48CJCzcevPjwEyBIhKhzZF0m54qr5F2j4PqhOAWS53meX61J/Q2HWKZ0TLPOOploKGvLzDiNedPDMJNs5lHOSlJMk7WVahc8JHwYWW2x0nCkVTpLJRcpQkpKSiqnEA8pKSkpaX9KgjLUVTJnUG8O9dYN0HmDXgdF78f6XimwcQYk2c8FYTvxQtYGNUXI7VeK39DwxHJXEKRbkvA9s1+FaHlKiZbzkF0epdvj9fkJBcZRSKWvc/trA9wUNoV/hoTA7x9MJtN80YJjk8cxl8cXCEViiVQmV3xQCNAjYNX73tQ92qg2g8XmcHl8gVAklkhlcoVSpdZodWVa36e07KzCrdl/T8UkzCc252/o8h3zNFtthh8LbeiO9XC2o1m+a649+w4cOnLsxGmcJQEgYBBQMHAZYzggSEjRDMvxBkGUZMWoaharD5++fPsxUDp06dEPg/fOjNw/+fQDxiS5ndhgjcpCJ1vOMdyEAACAFWedA+KBeKIYDggSUjTDcrxBECVZMaqaxerDpy/ffvyida5RcJ3iZdwpBaWEWgA6p7Kj8fUJlWvwK+yhxlR0DeqXGkVRFEVRFEXR51KtA8PgPJ0oWqn2WStDSwMFu8JJC1NindGk+mPCQm8SMqTSSt8c660yb4P0wXe50qfO9vb0DL2cfxh78ynChLeVRiQT5yP8QzTNjt0g/p+8GX1sviEz69hifAYBvHYmQY0/Iief5RQDkZi7W6a+NffsZgg8yKtJsKRwvi0OOJUL35KgXTWbO/2JZ45QECXAGQ4IElI0w3K8QRAlWTGqJrNmseo2u8PpcguIohkWQIQJxwuiJCuqphumZTtuvPsoVgzfwmXBkhXr+gDVgUNHjp04jbNcABAwCCgYuMwwHBAkpGiG5XiDIEqyUTWZNYu1+v/b7A6ny80r9g6OTiAwBAqDI5AoNAaLwxMAIolM4XB5fIFQJJZIZXKFUqXWaHV6g9FkttjQhGAExXCCBBTNsBwviJIstoUC4yik0sYqdgAIAqPQGCwOb2BoZFzxOmcIipBUIEfT7zNMFRMtgRTNsBxvEERJVoyqyaxZrLrN7nC63IJV0QwLIMKE4wVRkhVV0w2fX21tQjGcIAFFMyzHC+I9H8Yr3p/vwzoHRycQGAKFwRFIFBqDxeEJAJFEplBpdBabw+XxBUKRWCKVyRVK0XQ4XW6P1+cnFBhHIZU2CgrB4FQag8lic7g8vkAoEkukMrlCqVJrtDr9OdeBNWYkz0mUKUyfqzjrc/8kNv+HbLRRLiW5jZfHc/nGS/7WuIBHChL6qkgB1gd6Tnu+QVpiIzQ0EOgnJt12pETvGvOLhDE77HLX9uw7cOjIsROncZYNAAGDgIKBQ0BiwIgJMxas2LDjwIkLNx68+PATIEiEqHNkXSbniqvkXaPgOt8Uew4Cezey7xLkrhUveFmFz8rMU3myfPcE1rhDlDcrESHdu2vld6MJFwtUu3UvFX4z/EzO53CPw5P2645mFCKOEMK7sRJAIFFoDBY4lA7M1TQ6g8lic7g8EOILpLIo79OYLJfsfAUKERQrQVSqTLlqNchq1alHQdWgEU2TZi1atWnXoVNfjXwgnd7HYBhzL/AJ5pTV+55sEG0aulO+Kr22PCAiFWGLycpEK1SJ6oEC1Rr6Wh21BppooY0OuuihjwE2LZCayuhTTgCqyYTcZ2Tx8CaBMWzPs0QeeiCLM7LLGWjVkcYUGgxY0sGRAZ5MssgmJ2sj1U6HxkaNwwSTTDHNDLPMMc8CiyxBZ5k11u239hw7c0tG6rAEnPBIEruwoY2CQ4KxgMHkQRnl1tl348lNAmPYAbbjzhAvUaaIJ4rhgCAhRTMsxxsEUZIVo2oyaxarbrM7nC63gCiaYQFEmHC8IEqyomq6YVq248ZLTdtdMXuvg8DLNuwf1diSdSe6dOvRq+/opzd1+VLy7hiIugB9kfs0/oqP+zvF+QYlVPmSi1YuHi7kOQHyjX3zlltwwHLPZ+zg54rSOmz96hCWxwDjDgaKxQgTzLBkbY052umgky666aGXPuuPVmt5HM4kndu0Zj83bnxjMinAGPYtRIfFVpC1mVbtdGSdJlYX3fTQS5/1r6Sbk+Vyu0fzB1SgWg2yWnXqUVA1aETTpFmLVm3adejUR1nR+/6ePc32k+Q4vgCXVW02xvvoeX8b1DRNdyt9YdMUiefwgxZ3sTC+y5OYq5VAeS/7sHFNuPsssnjTbhIYw/Y8S9xDv5oExb0RyiTofSg1/SGr4ZAh3cMBsLlYn/XwXLiuV2tYQmxL5kMU6jZpODKKXXrJxN9lYIX71rMKRvODBbpirzGquTRcHanl1FYTxXpYDrmCsfdGDrR9ueevnZnw+GEx5wMFBAXlKrC/8jzup0N/8WQPv7SGyf37unGfOvIiV+MxUhBlgmI4IEhI0QzL8QZBlGTFqJrMmsWq2+wOp8stIIpmWAARJhwviJKsqJpumJbtuPHuo/nFQKkYMWHG8qv2v0bbrHZ01ACqQUOGjRitMa7GTZg0ZdqMWXPmLVi0hG7ZmnWk/d7YXUyJn8cBUQqEXgvjqt17W0na770gv6BNuw83lXGn3BkFHao657Ir+248vgkkCSOwSh9LPO7R2sLVUyUoN9RPZUTfWGH8qZE/NxVo8Y4WuQe4zZ2txJsmiDJBMRwQJKRohuV4gyBKsmJUTWbNYtVtdofT5RYwRTMsgAgTjhdESVZUTTdMy3bceL82gViRPAgkCo3BAsXF8gQiiVxK1LgJk6ZMmzFrzrwFi5bQLVuz7nf9CWK1xlSrMzO3EKuWzX68sm1XmgLVpZR6Jog48wy9k3p3tJUlN591v9rV04RIzIQAF0geQ1AUCtuxWDQWjUZjsQ+0ZJBOXhhCfVwXEE1rY5vHhTrYcRDwCGS8xVilNdaqO+gJAEIIIYQQQgghhBC6kQWq3sToT0j6sY7wGNcc7q+zWG4LgfL/sFPVeieK1O8jB7AqZomkQb/3KFFsNioaOgYmFjYE5+zSO5DsPqzXb4MBGw3aZCiGP1eMeISkdRhMFpvD5fEFQpFYIpXJFUqVWqPV6Q1Gk9litWmNCEZQDCdIQNEMy/GCKMmKFrm7X5U0qgDYCBhBMZwgKVqhVKk1Wp3eYDSZLVab3eE8LqkIRXw+lFz8CeBvD524xV7E2rwCt9gL6KCTLi2SNiX5D/6zwy577HPAIUc6PtVJ6hQ7qwsIaiBgEFAwcEO8SCJTqDQmm8MVisQSqUyuUKrUGq1ObzCazBarzdtnJDQAAAAAACxH9NPqv/6mxvn1DUBcoVwnZoUBt+zMkLk8Q19LbEAw54bEYLZV2trJ0Wh1eoPRZLZYbdomghEUwwkSULTCQmAIFIlCY7A4vIGhkbGJKYFIIlM+M3OTOXpRvZSVjYNjjjvhpFOShUJjsAAOT6DSWGxOqcJ8OgUiUiLSCjeipoqcIMqCATJk6y64ZkpyZcbNyiM+IYAgQhLeISIx7m0DvJ+YmOGXTmJyqbyo6zaintrqafYuUUxO+qnbhDUmV6nKDkWfeJNryMGNiYWdXGCdQu9SdagR2mhPLwsUbaTsH/dy/W2gLcsOkvjv7bPRJe2fyp7SKK1f7M/e0ipIBjcV7J27UCwTFQ0dAxMLG4KjV5/1+m0wYKNBmwzFcJZGZzBZbA6XxxcIRWKJVCZXKFVqjVanNxhNZovVpjUiGEExnCABRTMsxwuiJCtagOnwPm7P+SBhQtDOeUGAgawRN9bR7G5Pyab9QUGg1DraCsIB2/BIi7GwE55RwnqeJP5QuGaz6yr+HAv+aqb/9sI/IrZ1UJkSrvCyz3vWkvb1BbWWouDFplHa674kYqn0PaFTKCErzcIjP8UC9cA2EzzY8RYe+KHR6plYDaOJ1qC2z1snE6uLHvoYmM0uRcAHeoS7px36xslrE28y7RD2hsYgoq+OwTy3kXZnTXFTyn7btb7mzq7gPYcqiJKMMxwQJKRohuV4gyBKsmJUTWbNYtVtdofT5ea99g6OTiAwBAqDI5AoNAaLwxMAIolModJK5zGYLDaHyys/BoFQJJZIZXKF8rKCn6l5Gq1ObzCazBarDQEEIyiGEySgaIbleEGUZEWrq6dvoHgbTBabwz29vgjyjBhwbYM3MDQyNjElEC9tZ3F6JpXJARCCERTDCZKiFUqVWqPV6Q1Gk9litdkdTtd5f94LnvULr758+/HvVUeYkuPcfSAlSEid2s3cFscbBFGSz5IeqSazZumVbrOfx1i53F68eut35wf0sgAECoMjmoRCY3F4AkAkkSnU0hjqDCaLzeHy+AKhSCyRyuQKpUqt0er0BqPJbLHa0IRgBMVwggQUzbAcL4iSLF4KLcw4Cqm6X8YiDABBYEijYHAEEoXGYHF4A0MjYxNTApFU8qJQFUyjM5gsNofLK99RBUKRWCKVyRVKlVqj1emtTCiaYTleECVZUTW9hi9s11FJSZyLRKExWKC4/KI8gUgil5KyVBqdwWSxOVweCPEFUpmyKu2OsVpjqtWZmVvE8j4nH+zN6lGPedwTnjQxJRBJZAqDyWJzuDy+AD0pNAYL4PAEEplCpTGYLDaHywMhvkAokkhlcoVSBUed+7kX5icyV2weWZKTfe3Jdvmi94MHWjl++nKmc1ykq6eBa+nmKWzSydQwp2igQvFiNvyai3kIsUBxtHCHkJZE8ZRwJ8mX3S5sUO6ekas+uQ6qA/4BIsYoGjN+u5lAruYJjl2OTvGeXyTgDkG2sDdE/LgaIKYWJ4mNst9ITfRGj6H/uz/PcZedjK489/OvvYjwPxnhGeeREdd6KuBfyAQSpNIsrj6/4NRy1IV6GlKjgZZMfimV0m6hCUO4owzglUlZ/yr7h1zlIZ8CCneX2yetPZ0lI67nH6WUZeXNIUltaKeDTrrSlH09LZtpT88yxzwLg1vawAPtOWEl6u1Oan3wROhU3IYooVKpTPmUyyh+2ffo8FttaFfHS50bdU2csJ763i28bo73xU1Qd+lRCtJAgxG2lD5rbcgQvm2De666R2s3v18PstH72e4vml7RKqIFwli2SGCu2IgTgfLFJ9yZxXvqyhTxRDEcECSkaIbleIMgSrJiVE1mzWLVbXaH0+UWEEUzLIAIE44XRElWVE03TMt23Hj3KV166arLXO6KuPKXS4P4V75lRTg8/6LzzxLj0MOxRzY2IVMYTBZbIHwr8cmr7gBYca7znO8CF8p2iuGAICFFMyzHGwRRkhWjqlmsQhMgwoTjBVGqv54l0iSd0ZWnIFqZDGPD6YJIyQmMhJzIK3ib4SXSNLGLJXUhkSgkUH7AnMirdd4QljyDb3/aZ5DZUgT9ar8ddVIq1PIpus7ScnY07WyQeFXbiBHSG2WycIQ6KMtYITP1OWwSSnkb9fBKJ3l9Mx6mjPu7J2adYVIUVHBBf7fiDP5BADDwh/mSOk4X3++9wfw6f2rO4wbHbq+HOozodyGfHEZ0HtEq2K64QPb+u1uwjyk35+zpheszJF7M5/Match7ivL/sRjkpYnltgJJFWBfS9C0rzvtvmSOXFIeRG4bF+gCgoNej8ic4RP7cJo061voaQmT336luHcTfeMwQ3PUpRituzd7hnQ18BZVq79Fw8se8Z/bY7EOs1xTYttnDuK1zew6utmVgIlSgv2X/AeU05T6RjfN8BKeCn7J4wy0cpHf9XhZ+qA6Mt9k27u0lp/ZrzjkkLqv7zlXobxsiiwMcgerAuqhQ1liyFL6CmDsHJmW5oRNBc8TIVkHI4bV6eB8VtqlRc8pw++nexPhDkQkhNyN0F2uTRM9v5gOloFQlWVosOO08VYHFWaMgEW+ko+Do3TobHLqq9g8WJ7PxvlSsZWGGhh9LCwPvrns4vAsGT30Pmr2xfUXr/Jxv5x5DVyQdPSswvDq0EpuKZl60dFzvtZ7DcnerAO/ZD5laOL7beUzPTnc209on7kGcYbpupgj+FAb5LNSViYQc+Xy/MLjX7/URtFuurVoqJSu9FbJrx1lyF97/a0bxulMypGJdENYpqtfoHnNo6npskIQs0Kxkjw9toVGsVZELiR3KbJaVW7r3r56YOv5eGyNl76rk6oxZ1HC2y7mliwe46XvC+ao30C8b42DL5wZttm6ynvbIjrG4IYAmVmWf6qCrVOTRiMO9wAPZEoC5Wrk47Ph3c0aR2d1ZYuF/7i7t0TSjO4s2UKFg9gn6nuEOebagohxcYmhPc1xI3/eV+iUHTXF+52XnTAFKGGZoQSfNpZD3r54DPbXNCtR09A1+h2n6+wGf4kadvi8HpMsKOm+jVz/yv5E3D03UU7tVKTl34T24+eh5+ZZXCqX3nE+t97mpvKCR8LO24eI+oF5it4WFvKpiIZtzinC4ys9BuGIgtAz++Jwlltp0rp/MQnAYRPuOeFYIdwWIsREgKZyYmj5HUZB752NplDJ9Erc5xg7Muvq2dnVpELZXQZ46LIiOsQ1dXXtZCspVM/+/PLr3vpsnpFRMjJvpPwKolKutaPVHLMdL8kgfS1z17+3cWce8HZZKL/829XAYzOuEqPYlHmaytl95vOKfMqbH8VyzgSk99E45cpBisS+/XZv0wyPHQ5Fdik4V5pGCu8lZsu0Qk+cussNZuYvTQFmn93cJPg9ZKtmv+ttqElycR6d4VB2MyPyU+2lD1Sceaqj/zPzeX/wThTTCx0HVfpR7dnrdWQZARI7GzHBzOvcpqqw/34vGFVXEDDUJKuoPl6KUzHK7dy8rRgNxc4WwaMX+N6z0Y7eHJrh7HGzNCiEkNd7pUj1fo1Y1m2Vudg+FxQdJKll43e/d5BqtBjZLE5H4Fx9PT0B8R6N8TcKg1i3yhaOKv7H/HSxPPYA4aLuH5sStYrLXVrG3yLJ+7rFxUt6UP+nkGSLTpdjNTsFV7DnxfYAQfPvfhN55v5p5Lge42/338wr3KKISJ75kF//76WRBV3dC5Hz5tL/ybFSka//jfxs+W/gF8t/CRWWXqMknZeUZ9QqWAiYsBf4wy+lnOUfNsQYhZdJiQvcVyTr1mlyZU539jvk16IfPhxgpmAev3VZWH4rqfiS15a7jW+3gx9qNONum6jnrbfnD5fzMZ6bZ51CX5kqN0HwpC9wel1AhTHOTr3hcxEjyX83/3gULdilUf6WIYv9z3lizK9wrfknF35FtOzVAKNJeY7viJDHm9c3zgBNMDC8Rj+Qk+xjJgf4gS2Sgm35cvaTLJ+jpocFkVFULQ+y+a/ZJQXR+UDe7d0+NJZq+8Pm3eHGXt/wnaZK6ENz4dvUIbP725lc11ygu5CFoMrJIowqJMtKglhxfVxdjodwVzrHnTTFeYZ9iQlSf5ELbuovG3vrqVf3LrJ6kqgWSKNbZeG536z9YpNDRpAjH/qYROsU9zIn3B4nNmJcUhxtL6OBsJVw7CHQyaq0OsxwXMVAuumhlz7WsZktDGM4Ijpj+Ka+JVlsUoOR1A1E2l0VyEhRiLJTlnL59UAWBouXuju9SOnPqKqMZwYlc5nTnIUsa8lq1nTmV37ryUY29GUE0d9zzv/+8GB7T7J79t/FB+XgyTxFh0/9GQQyQx47M6c7MQ3BpnA0hbcpQk2RGBzJCVNXLvzVAwUVqWJ0LqaXJhUXj54OQoSJEAVe/EKSYc2Z4+VjsekxZMSYCVNmLFiyYsOWHdlEStOBZOQUkMU1oP3c1qrenCcY5A4DxZgAJfhgAQy9iTOSIWQSMghJAZyxFMrYVWWMpynTuB0L+HgUC3TyBBUQZlLIKoZZVLMEDxxRGDi6SICb7COfUxx7dY73dZVPdZcT/QO+X0oGEAsQAWIF8dFXfsX5VQnAEqRjal2rUaAPPGNBH/8QkvHB07SvXWQZaSbNTAHiprrqNNGEQblAAMozyrdXjQ6q1db/abODMjvtp7UDjpJwzN8kgf64R4H744MB89PAggUmhIR3blZsl5CBZXf51ZVp/6QzIxhsPDbph8cDebsdMHHyS5qyR9OPJhw4CB/VIYul5SJYCIFRSyNjicupoGkQMGb5U9L5NXnDDQOB81dJCFy4alqseLUxJK4ODy4drpDWtFLl2kKWpdp1F+r69qKNpqY1qXnddc+GyN2wgMATkLdJ8OApS6tbrTf3DwJvAQLebsjY/+1POQDydgQefGz+ehoMCILAIXAgEoKAMALBECYIE8AvCqKKEUQNYCHqDYPSSJdl9MKSkUF48jKKRBRiChDEzMQcV7FIvVrGJQdpva2KeB9y4yGfBHl9toZf8uAgXjXXwaERSC4NEUh+le+wMCzNKw5Xk2qhpGquyGMLY99HILU0tKyuUVdXXeqrb7a/QZo21HBRGWmKzASEIbMwrc9AQZZgav9AWSdzxDvtjFUKP+172PnQ2IXCAUtQJAAagFloyDpJaWa3PEUPbUIgJDMoRmgzKpgEKohllA5U8ltpQS+4WPQJ7XseqD6UANSA8gJPBUC6KtZ+9gbfBt4nPvR1WM+buirTivY9LbQaihK6/qoYW9prAh8NJQRthIPSZopioDsoc+hOSgFtacoIult7JeVPcBRikJtQAkFpeCgDgrLwUICiMw4E5U0EQFARRWfSBIbKQ1Fypl5G2tBj4JI5LNnDrp3hanPm0QhB/RFQhyPC0BgQNEWbswzpZzkctICHlnBQjAi0RrOzBojdA6Gbg4FeC4TTcA/0RxQUbkCOBzovYn7gBOCIoBD1VMQSP5JEEpGUFSngSCOVQWsOngVYli4hQwoVqkeH9v+w+za4DmfiHg8uDlXnfufsrvsjUEVNYMQUixZ3eVJ88V/UEmgnb4fpCJ3Or58eCVLhg7Ze2bFW5dLxuNnaJliNCUdplt/SkjKpLbV0Zpd6ctMflgYKNVQ0fapM4HSF3jiYTODcKkem8UbnW5UL7ZQF4WANpBsg3MTb21juYL6L4Z739f0kxgaNbittKtuZP+SxUD5F8hyyHQQv4L+08gp4uwj38NI+xvfIDkbskStD+CZWc4lLRExF+YsaOzTKpfBSDrwssv9OkRn9OTYLX05Asx+WVNSkOU0FrB/ILMhc3Gfqft3R4psw8SALRbgo6amW1kKUFyWOrRlW2jtK7TVk2lWEbZfR2u5OD8ixt8B2Y46zf/cmyBuBSSedIoogIuSSDhEJLI3QzhiUFZQtoi/hOkJiYIogGCrgdQABnrDX9BR5C0/CW3YrsUeTSCPCTXSO1AEKAqr3doQ71ZzwoMcQHpdsPGEJ+3JeZtkTuWLSDBxwCOkidDnuXXnP+/KBjyNpMCPLwOlJCN9LBn5QUgdKrKKaKwVCNhmGldUVVTmB8hRpxiBpRBHMYj7idplsLdaV/O5OWBTMpIVYaZ9QLC0x6+geEeslAbFxyjE/ckIeoUAIYKATjDq5T9A2FJyMMZcxBowhN60WU/iG/ZBr66Pk4jObbL6cjQInMIZc2+zJUg8z2Up2hdpaDiEzSDNeJyHY/jsKXX7k30gOkEBw+T+IE246m/8TQUAEAVHHEqCAiziiwj6FyaC8WcA7HT09E0ygWd7JY04NP/uUdHlUMwhwUxnX8GPGORRZOQ80iFu4jUVAEUDFUWOAMgC0TFiYocwJS/eAiOLwkOIMvT/XEuA9RHiXcMIfngolGtJCfUhNZEkh8FUNsqxiRSLVPawu9g3oK7NP4YCsvbKBqRQmpaJCw9NelSxOAuzJUOpVDRMpVXOrLp/U4wkUxSlUQW8ztbDaUs3bV7scdW111dbWEMG8PAfN7AQzT65pVs2sOU/mu5MDOGKWXpe8kkfUd0cYl2S1BwlCme40UH/CyRl6poEDUZFIRF2HLFWSKSAsz4G4c0CbLEkCWuSIEiFKhGhQCVYemF0YxCGHxAWP6eqcBZwv5NbI9DE/POcnhJFMKSTCnDQhnkgTIkMIWA4zGSdGjy0btmyIp9jL4bBDjDgx4kElc+WwpBMDXoxhhDRxBoeFvTxnTmASVDIvp+adZ5njGAR3zLjDMRVFn9AQZIqjWT1Te5LNPmiQoEK5RHhTFJFOLU0+9Y25jCd5eJhTn1nmdMF8xUGAs2nwJj3xAJAhTpmoKR+SFHN1Olw6p6uysplZyCdb4SFiDhwIcxKVXrIMJXhtiBifPGJLdym1NLwQz9sR3VSMIN7WQzRF+Y4CkhyCu1Nwh28oFHpKORsf3zxAzHVa5Kq6p4mr9jRxdZ4sV+/EGWcWyKJVw1xYWZj3xl3nlUGC7564O7kh4p05FJIK6RTGbTPlgRh2+kEC1fr/71gYrSAiWgMIUfN5/FM3zRf/5XvJLuWlOjGH9wgf0XMJ426M9gA6YKx2mGCp0ZYHl0XBN1K3XOUnAsgsHMfPv/q1o+aLhEErvvPCJ8hW2cVV4DIZPAUFGhUVugodrHRJ895WGMFwKELQ9P2h1cjfutH+1Ufzv2nGeT/PaVg1z4ZyS+xzSHKdG5lXOwudqtxxBlmoOgO+MUz3uxmWP81x/GXZUr4DRyjOhFftREBKZDuEcrILowpkD1YV63a8eLuHIMHuJUyk+4iT6AGSJHuINL1+yAixf2KqvH9hAenf2DP3G6/UixEohIQIaFJwqqiqVc/aJc3s3NDqjpu6OHlizAMfmvbQFxY4+8YKF9/7wdVPNj0JaBB1RSCt1TWJ0lHVUh7DSgRRBqDCMLWGhnW99BYL9mnCbT7vwY/M0PhPoLIJnmAVEz7hKgc1KFUTNXGqJ2ES1E/SJKFM2qBRBztYjUMYAtoUT4mmKZtyLVM5ldqmbqjap3VadU/79OqZsRkzPBuzaWRO59T4Cq6giRVfCZMruZKmV2ZlzOyVlTe7BkvwxZosyVdruTRf74u1+GbfbZXv1mu9vl//9be2iZtsfVM31e9FL9qfTV+cjc3dfJtbszW2d3EX/T+FU7Rzaqdt/wIv3OklXmJg/vXDBO63XXMQ39yqTDdt0BRmL6yYmehIk67+IQMKZ6CbE6EvAQRCyKFpboK+B7j39gs0zfZfkIE7bvKWIrjtMq34n1mg8MjP44Z1d1cA3AOgXbiP64o87EcfxEwQnCi44gQeTQ7fQMjOL4tzQngkEftPe3JU5KKIyzjET+4hiumpIxItle3l+1Tcv46VISoCxE852c3tchEV+CDzgswo88wzf8UjI5zPJTELrjplJreimweN8Ywl3vCC35UvvPtt9fLvh/dkzwGJSD9GaKg6lAbhM97FY92Qw7y6ut8nc7Jin3ZS43weWSj0xESM3PZQGFIlGyRlaqRRu/RiyQQrcTh2Fe8Wn48mYdWrFT+96kRMGNfY2n0VVS1+kG8v0+4kjvipxcK+/A0MFDhVQRWHDKhIHcQggUedBi+K07tvX1Otdit5Bih6y0xtUqMg9ePfKFsj7q/7cuGTXrIdB2nEcP2xJiJdcxU1ToXWadbO9/TrSN1QFJ16z4KuDVETmZKjx5wYrG19bqde/LsAof50E46gXIPpzSURjxIihWXCFUNAHnckHbn1jwc4VLxrykiQkIhpHGoSDlYfM9h4w6CdDW5ExcGg3Yifpf1yRjj71HTMKFiYHWfz5G8hoozuvj2VbJnH+VZS8UlVxuwfa7XuEI13HVSOD76uj4X4TNRYqnjphb0zZ2P03p33xXbX/Tbe5XCHb+j8boOqiz6NQ5uHG/xPnICDSIanAlXPlTnwzoghdj2MOnmJnD6vQ13PTeSQHUoNkye1jzfx8jlPIIcoK9RsGeUQ1XB9z72dZi+EeQwzt/2pP4/hqXvKdqj0hTKv4bVGb1edtVWvsbzXjcP5K+UQ+gTZYptRl+kxn2vKU27GX72e3vK39qfvE3wgY6T/m1mQb+2OK4AQtCdANDU7IMRTRwoS+ijnyaAVX1ZHY4iaC67t6dg1b8ZFxpVpuryWx0C0tLoX3ds34CWzsPEEreiNmZgtLqRup2HYGO4Ve42Lu8zk5UbjvBO+EZTSpmMEh6zZ2jAXa35VPI5Eab6ebh1zM80oYi8VUYe6dO/N0dn51f4Y0cy+uQrPxEJGZklT0SvseFNK7b34FBw//2cqhwnKwMRF/O3gJkyw84RTclKuUTVxPKVvuNAfwwE7hNk8DwobPIfRcap1xzFnw23O1+SFhA+mZ5dv/464R4JD0iJvpJppRKCjwoAPhOHwAO43QyTyn7GjaLotQzLqmHN6egzwXx21hZ73n68q87c8zeT51CDTLqM9GOaghMvG87cWhNRHBgrdOfh8G7l0bCxnuJy0XmwfWvGvy3enC4FV3XS/5K7P3wNe0T/NthcCV+SxolBdgPunCdjDLKBoKKXH8CQVOA/y/ejds+mbS4fLhLP1sBgIrbEqB4auqQvbbG9Ae7CMDWEVMyK6GuZP/7ZXmc/PLigg9UFC54g27sekXOEDscxQg3b0goUJzGEFW3h14xsr5EOx8Jthf/h3rG8TjQPJxC3+ctzqibhj8+QBJMFoxCHjonhCHYdpar37ujmMI5EQi/+loq0Iec6sw3DUB+zo0q04tf41yHPmGodw2u8ungQurll2jFZeu9vI/b8xtQvkOesuz6YDJ8pbaCueRcNqQ+u1MIBZPBBjfgZkZw9J2FQMqXsU5uwwJnVF42ALkRQuBflYBOLQ9rSBUeKPArgvaoEYKp6oQzM60Z9GdGwKC/CxhA7lcRWRrb3RL3Z0FT4l5xhz+v63tnCdxk9w29iz/d8Aa+GmuwcHJckIcnjlkyAeFyNlbspbnjw4NJVEOI4/y1Y/umVsPoAz7dIl6+S7/nI7cRl/I63drdNGo7ZTJTy7u0MkivQRfJmnnQyr81/uqmY2uxSDv2HAqwuVBXqqspTPS0Vbwj0Sl6kDlBDm3y9jVQIq+gQAbr4D4ST2moY1xyij1xLiE1ZwWOraPJZ7k6bEQ/nNMDBdNdE5lq3oiOxccV8o0+JLG5+p3cd7h6Uaq+qxmVtnr9QNtma8Erjn59vsa5RYkRXaLqhZZa6IPb6OroLaUQdXT7l2TGsN9NziJh99PYIQgbjB3fti1U43m2mGjvFOc1jlB2zdVrjEiZM/l6uojkkeciwSJ5cAEDg5uE1WR0rm9lavo3iCUuV1Nzsidbgx4CK8vIeR3OjhAFPHOOjE8qIjerqmlfYeXcS1POCOVbW76rembTuIU094ag+5OyFYMrJrPlO1PFE3b/S9DV9OsBphNeKq902fpKBPYyBBqTzIpIIRN6l2w9stYIBHDSiYJ70ddnloEHbiqgRViZ4mvxu8Lq3Ln9BLqGLNA6O6KZea11RfUS2vasareezxMA9RiOEeH7RAIJ01cj2dEcVUhNQLuIpbD1VG1Q2DLR0cMCDAp7qo3xkP6QxCXbipwhAjVRHGuVgWyW2qfiCXOJFUxAdmmidD5gABr0mOyRlqcMiM6t64ASc/LGL7QHymHcnJzIboiEQkLuCCGOXEOug7/UbFIt7QGOPcWC7OJBq2S3h7IB0kxIVaQAoXHA2af29IeGm9Yq93bY2C6FnD3FZFgzJFdifzhMYuiYkZx2DyF3ecGXlyMp0iSm7mRMcWtiA/Vyr9uaJJdU4cGvWjQqjtgepIEWHXA50q+NFukOIU080v2stdXuTRH7GdDB58QdONHNo0hVqzOvmAV2e0Lnjm4SQDXY+YYCHmUU1xaIs6O8huoCwkPi85PEiHMk05QELeo6QfF2Ld2O1RB6XhwoRHuCXspbEd/F2eQR90g5tdFaKFZYBPqMsVIAd5SHK4ArjUdcV17lCGo60jt2ucyXRs2vxn7pjdifCSLm0l1P9mTHpK4+YZBcg1m37vcn0fsREA6AQdzx/7oRVtUP6yTcSArIFM+fDo/4n1obbS6iWbsSt5mLweKGwBrKjWx0e9Dl9HcMcnqya3Te0EkN1VJQd41FmeVCwV6X2kJV4MzkjFwETGoEwNwsNrSok3uKEMeb2A57tpl06LrrbAGnfmZvaEXDxgSAZnTkqVqQl9LIs/kjuoay8j3aXGmdkr7mBKJ/DAuEJHaBsl45xUxLzm7ahSqQ7Kf6swbJPMl5ZoNjy8oDNKFoI7QZumPsFYMp/IQu1OOcaUiEbGfzia1o9Vf37k7Ou8e8eupnZDkONtmTYI8ZJZLqA34A7Ye60QifnNN4yCN4LsRlp7IAsohDk1b7YE24N5HdAWqmnWGQv64Abe4jNogPdzq6MxG1YI8ZOilzblaO6Z5LzsgmfADlEHs/RsASN9vC9NqW383G2NE3Y42+A1OmaMYiJlBtgTdOX2xxAfnJPTWuUxguTmyJ3pfR9LNeiMisGPCi2Y405ikUmR7Ex0j+zTDU8fZvThJhqkexXRa7dDVrnN5K7ps01DGz06pt7olaK+9cPOMQo8IzrUKgWKUWMBqUgGtdhmzaNMQpB9kAIPX7fV9IxOG+lb7Sp3KwODe95l8p78wURMGm6rlP5d525Kxy42SXZXS+qf351uO7FAfox8pZe3vtdhRTYaDpgg+vYkpP9Asp5LTqZGt5zfFEBApnX+n4gLo1GFL9H3tUCdfv/cbC8xByFRaWNxmmE5XhAlWVE1qD/yW//Em6OfPKLULIi2z5Ap1VcV/t5hZtU/YkP1vyt3mSB1l0guMeXENZTQQVJ/GSbItHi7Zesuk3Dss9Ir3zEgOk+/47ztfPpvo36ozlff9cTUgPCMUa9/ZlM9+wfOg6yO/eE/qvXfhOcd1Kk/MTpeZ/6kaoLTk2jmYsOe0+f234zWUIsLoVv504qq7h9ibaLaAmCDZldog3Kci/PWk5cBsOAnKHodvbZmVZgwiBTwNY4x0U9jkp/BZD+LKX4OU/08pvkFmO4XwqV+YVzmF8Hl5VFABwe0fioRxBBHOjKQiSwkkIt8FKIYpWiR1yQYZQStaozhRopDdBRyBVMd/Tm+wxgSxpIxXgSADjNWcugTvcSVPq7L8/rCXbWuGJPPFefB28Nb/q1XuMrUkX5HbAORZKNGXCTnz6gxxgrvGlMQBOghCNkF1hesFLHUaix27UILzrNJCGtcqvhSCc9E1HT59pQWcDiTp7b1JfX9uj1k+9VOzi7frs/egdLjsKOL56jgpOOU72zgWu6CYjzWP3dlcdVzdWJ2uV4xWDSUcyOyKlmS95MAEByYHljS9V72ile95nVveNNb3lblBz/6yc9+8avf/I4/8Cf+wt/4B//iP/yPWtShHg04g7NoXCACgUEQEBQEA8FBCBASRol9VBxxiM5gstgcLo8vEIrEEqlMrlCq1BqtTm8wmmi+CEViiVQmVyhVDLzRrYSJEidJmix5ipSpUmeqqvrvwspRUJMxV6moVdDQ0tEzMGqBwn2pTgBMozOYbB5fIBQpcxMAQsfAxMLGweVBDnr6BoZGxiYIJAqNwf69RImTJE2WazXWVHMtlTVaMUrAYABPmYmwx4dC+Mz3sgkZaC3peMRoRb9YTmsWSmF9Mi5F9cvHOa5/fpiTBuXHuWRwEYtkZNGKZ3QZymBqOctpWvnLb3pjG+/SZjTDFc1tvitb2HLXPMhGN19fmFt7fce7qwf5zmFGpzTGfU1sooeHDc7vkYmfeM9N4ZA8PzVT5419fiuo2lJb2ex9aauauy9vDfP2g60wfz/eagu369ao3k+33mICgOBAwmmAKtVWWGuznfY76n2f+9b3fse/aCD+sUsxOc0KsmZap0W9vH1iqBxEn9rWXJVC+S5NwjFzOo0jM1jHwCfPmeoXPgZaHqJqFM0IYO/4Q7bUtD+zNwfCDLQR80a3+abH4pVeS+mzkn5rGbCRQdsbGrKbqIbtkRGHWx71ZOiUjgLZeMcnvQ0mOsleislOn2yqs7ih6c4Bb0efdEEFme1S5rqS+a5loZt0sdtnX3IsdSf07jfHyz0ARQj42iNcLL+unUkY8q2XgoL6dhfnfe/lUGFDe5MIw49eSS9qbH8SZfrZqxnFTR0spPzqtcyS5g6nc2y/ez2rtCXmQtqf3sguayXW4pK/vZlT3mrsSYznX89yK1oLWZPrOMkOG0x23PDbwy4YM1xXOcYL6eAq6OEWjROqyjNGSA+fuH84Vfn7hlkV6BcuewQlfdy0bKOdijRRDVSVKniiz8gvvVXT1oaxX3u7tu01E7/1UjL1ez2ke3Jukup1oNJDrxp3FCB04P3vr26zmmfZ6qtsvZpdMElVG2CT7a60q7o3XxzsDW+bEBqtUBLla0GT+BoG2QsB0UgvQvwqctVSeVU11tbk2+8Rxg7/xamGoLF3lf/FNsL2fMoUKg1AdAaTxeZweXyBUCSWGIyE3BkBEQkZQiEg4afDOvif8NrROfDRmBwkGi1wi0jmrwk/xQfZaEaY83loI8zFN5ifRN+qCMt14bghmGnhuSU0t4XiziDuWt1NhSp0Bs4x6dOObCNBtjnI9q//Y9ctkZ3bC41OkP0eZNfr65/dt2d/t2PeAKlKo6WuqamtratrgM+QqTGWBb4lqTW5LaUdjxOfM9jN1sPem75PY1+i/KrhhJvLzI2Zm1uwNrfm6L7+9J987MvfI432OLxF6U5vuxTZAOSp6/8AdcgPoQIla2pEB1AACGcD5AS/QyQQ5oIsuRazMuuzsTJKtrpGOZXoCjDqkRUnMauyLhuSli3Zlp3Z1VSygnsAye+jEx4Mz/BGT+TFYII//zcPFzNEu65Ub+0qwkKtnn7f9X2g6/rY6EzLtt3+3bdpe/iSvIgn95gep6M7/af54f1oe9AehyG5O+XuuEn379fgzNbPpKfGk/g0PMef/6OnX/+ZhHpl8Cr2VeDV9BvEed5CM1yEznobbKSJLnOd28zwsCc97xVvmTtMrvdTXzslC2L8hmbvRZ+ENGpiA1fIQCCaIpCZEiyp5Dt1km0ImQEf2tjL5y9c/OScWrpoCGIFSuneBL7SREkVQvsqXYAQH5ESzp+6SA6h4mIp2Rpsowbb5AyDMDrxaseq2QUOUcTRjZpdC93v0rnQCCOGDCRQiP5oHSQL/STCgDzQwE1N9eyZyEUxWmE4As5XIi9BnAeCkJYCis65AHK1f+Y6sIATaqEeWtCFfgxhG/bgAI7iJM5jCqqVNS7jNjWw2pAPLAhRFdBErRoEqVk21ajMX4JRX1bQQR2VdFJDvVapaW1oiqbofihREIYZkIx0ZCEfpSjDeXhp0+dY+aI+y4cX8s+ex+tMwkXohoV5pLloztEFojif8z7fZOSjBcpxASrQVW8DVRqtn+7zWe5xSIC+rwCP8V0czgO91zT38kO+w4P8gEd5nEfqDtxrdIhxWaBDlHg1YjrBFj7H7CYquOyeBiNRnCRkqBB0i0cbDRqi8740Ukh1aknjwq28Xu9vi4vQEd0jC8EcZipS4opb6eNaLd/WKFYRW2S28kdl4gJ0RE8DDTfedNe4xT0e9rQXvabKfEvUWG+r3Q467kOfG9Ps515cY62x1/jwoFc6fY10UPOmqvmpyGmPVPbu10IuovKFnNycZepZpdTT6iUFVFevqSfVUM8orR6LZsm674UTRgT8pBaBfNbfQaGH7ZoPq5p3n90syPvmAQoUIDvf8SMpEWnE7SxMY6+t3HvqZzD5Nk1SXjJ0/EokXPNhm+aAlD+Wqw57zu7godCyHxp+Qacp4a+yHI2mLNk6unrC0pVZwfg/2HaUVe5ZUH/8K8lmUmzd5FvPggZYaiNqkKMcMVfyZNYEE8wEVRZZUogGZCiTYhydvgG1XJ5yRUILDmi693GOFOT0LFRPIvXSJIWREQNANtUUlPUUCuQtWGaN/y35m0RopdFAhwEHFm1ZcGk2hvJqniBgNqphyhZQszOzvygCcr4zCz7SSzHSbU3b2p5GOLV/g1uHxtvP59EuHNZvx7I6agOfzj8YK/zJZPIXRswB8Ap/MxvfJZxJErt2nxyRBcyDijn/8hCWppkBO7MC9+iGC94qvh5pITFvSaxjMJQRezAwx3KEG1zhPvcQc6fsrvzFR8/Fj2/zjLu2q6lemEoGedM8xguQhWwIfM9PH02RQG1CDV9K4VMdUdt6d7bGMqXkJExkDY/6Eh70Ac9d9dHYMLflsU8YNsTAEWezTgGTJMy+u0qeNk/A45HBbInYg8w6V7PKKLxmlTAp/rznwlFWediakMSzuqECp1nOwhpNWuNny/MiRh5TA+dI0mHJoa4X8t9c+7Q78BZ32Wc47nNI8qLN8hMSn8lS87hZPD7ndLrvIv9vfF26pp3xTaj/8E4AMDkjBDAgQst582U+XM+Sb7/DH/j3PKdZ0cx82JkdxP2IBOdhDZJOhCcs6PA0IAFBeJhJDKKuZCZLmHMhVI0jGBoZhOvH8K8e834FGT6osci4ukicXv7jEpBxYyjjADY3sYIFB1sc3rWnRJewmnXWHvO8Pr2u8MoXTa6nCtGdkBaqa3khgzfq6F0hgZnNl81aIkC/ZRgwrC9juJtIkew3F5sRgwFGATGsTGm9NbjV+UH5NtccVDQtQemCTOyo04ayQqmdJtpQ2Z6F2ZBiabJgbUUo0f09ZSMeYhSZ2HPvbK4vSP7MjO5Tz8xh+SRIw4SUZplKZHKQRcPdiSdsWH5dq64xF+hwEWRcRQNovCaQ1HZ5p1E0XqVlYKuP6okaVxNqVE2Wwih1D1HyN31PIRRnhP09JHQCI4IO6KKPShM85imz7AkGECuIP+RDPZCBC3y4oz66Iy1yIy/aojMGYiz+xD5Lp8QhWHFQUZhSjRkhTM/ABpaEXd5TB86KPqygVH1/THRyAOYII4kFPwFlDbFFOv/Euk473OFBT3vFbEustd1B7/vS9/5EAwme+zkgMQ4IE8o4IKGMA9DxKVnsAfAgjlMOot+6iUVM01Jte3+UZHgElWnAY3bRv2pxuDy+QCgSS6QyuUKpUmu0Or3BaDJbrDY0IRhBMZwgAUUzLMcLoiSLTaHAuFQodM3jjJ/kCqXSPeNHxAaGHYInAvt+lRvm/ZBRUaylghTNsBxvEERJVoyqyaxZrLrN7nC63AK6d3B0AoEhUBgcgUShMVgcngAQSWQanUJlxLxyBgcrzbzsrTvqkOHuaiaPpteG7dRIr++4SsiPPqVTp3CIUz+U6Z8BBgAjQH54WF5meRkIc5Qs0jU9A5L919cerDNUDIQhq0HuDiCQjnHw7UIx9az8jDYDP4biwUvEn+t1hknW4S6Ny0xhNnpfIZBcfPI8bUB39D3boiEqe/qVzJIykOwbGefhApC2Kl9YPeQc4yRXC1Y1X4u5yf3LYwBpaIW+LvOgKhu97+eAggRDJzAV5L84bBCCHK0xKAT68VUMAgYj76sCBEGDBDi4x709DupwL4eDWexvcRCD/QzurbFX414Kkwr7C2YE+zDSxyQSMKk3dc6an8OMyKQOswoW0Fnyvmgkx3MD0pyTvw7MgmGufZpMVPxnCJ12BY1f09ofSdEiVNJbVTPfmN9DE00536pVZXvH/QKGcMrZbvxyrvZ9YMkLnDeMX941Pgsc2YNzi/EruJa34ekyOAONT9F1LPo7AgKDAwpNtSS/exgZ9Ni56A8UGLOhDHVoQx/GMIc17EHKIrKqFDis6FcAaHOrENsW+bMz2IiNAZwPYNOkRDhZAU+5TJQhTrpZrN1SEAiKmmgrBCMNW3K5EW0Rz4GWKYj6oK/ZZxDB3NLIuMviZ0IpUvSlbjj+MjYb87EYy7Ea5GAGO7ghDXmIgx8CQgoP5l7ZjurucYleMOI3M4VIMrKjMZqjNdqjM7qjN/pjMMZjMkaDGEOEpEiDJiur6seUp+NrRUcjySnB31G9fyGq0xKTmoZihE7DagJHKEb7V9q2ERYulwmdrzF5iq5ujBihSHNIRMxdocUKMEPKe3BIhxk8v3sG+vQh1vvz5iIejX8SvHF5ynyjy0UcEXqss+3dJgk4brB0y2EXOUa2vZ/tFvfzLb5TpUJCOJVPOCnVk089wxgJU2fJLb5AserVX7am7aqSGzz/VwfD4riIZHeJ5S5P2svDjjrsrKtuejgomBXoT4g6381NLGti/XGys5HDD5Sd8/EnxvWkk6cn1b8yFMyxv27o1N+7XBhaDwkU1xKcd7GYj/JbRNdyq/9JSqmVhmmZWCNnGut0LTHSZFe5xQyPe9FbFqqx2V7HfeqEX/1PsKsIwnkWNSQWNVDUHIGng1JNJ5k6vXfpOApZX5hzzjmSJCVJAgDAzMxqh9PzZtnlYgq1+YS/QqzFGKjvNWGJ6vDf76IiMbCRE4Qpmubm90AaWg8JhDYqSZIkAABAcXngqovFSVeMIRQH9sOtdgNok/9bl9piyqW2yFJbj0rOLa3NWTKkFzXnRWljnRc11nmBur6lCxsDgFHFiZKmQJMxFjGNSrWaREmGR1CpQadhs1ZtOgxUR3VGJHI5ytENJdzIY4gz/rQlLujJSw4ismYMFZSbOV1wzqSskrrWYyRMnSV3gVAlhqsgUpTa4zMLw62ump1QvH+f++ba577Zc9+fWt49vd3uLIg9slqPlEttPbLU1gPp+ZXdRIumvipONmzyZtzu7xjBSrrdWdGOm2ASSPBDApUFSebKjU7vUEYUjkRj5TiKyOTLtX4nCnVCKK+srtXIxMzCysbO3kU1Ssrosh5vji+vTe8oZH1hzjnnSJKUJAkAADMzy/aXs41yFNbKOeecI0lSkiQAAMzMLGtzTJIkSZIkSZIkSZIkSVKSJEmSJEmSJEmSJEmSAAAAAAAAAAAAAAAAAMDMzMzMLFuojSJJUpIkAADMzCzB3Psb2Oschdq/oc4550iSlCQJAAAzM1sLcVaLWh4dk4yC4JZiZYpfgV7fWAaAQhQJlKEzAcAYm1+iyBV4lKucVy+67wpeAFDbOXrHvmJntQWBE17wcB4O0Yx0rHqUKfQuHlux9IBuQ1NRu1AMR77HOy9mf9NjeWCDFeKwsEhGJvLRgpiBcuKA11E6oRM6bkpIP2xqyWNEnNqOOOR7NKU0wjjhZ3H8bRp9hfLgjesU48rRDt13oC30YDvzmXe+ZdbqbBR9T2jpTXoH3jb4DkPq1aPW1jT7dkV8bK+Jq/gMw4CIpnnPH484Pdi0EzgkI8NcD4suwGvnzjrKPWo0rie5km90a1zblm6xhz3RvLmx2E5obOOncAjHejG83TvhQW9Z711/EynMwy10UR/9kRXV0R2LsckwMG+qVHzVV1/hi1gN/bNPDXwUxnScRjnu6ZuCoczw/NxQhNg23C7bsFuun0f3cI/pNJ3UU3a6D/0cB4oPjQfqIX7YHx2PrEfdY7RKNnkcjAddpvucP5v2JyDc4z47YSDS1kwtP4/2pm95pjrO6FyrsTXyQjyu1rXBu8gllQ919tDcvwMCrZb2Kax5MYPzGhw81resWCbV9iGnIvvf7tHM+2PI3kn/xyz2NwzAEHsw3R/T3cuWlLZjjYSwVWfEukyNx97NEsCV0THE2/fTvRYiXrnQep0M0PWwLW4JW7cnudxPc0NgI23WrBHGPlq0iXUJ+seX2c+a+QqFdhQSd5/ITCIopvM7ervgOJshTpYxtJFEXmSMc/6/3N7628wTNDeMNxEe2mZpcSJk91I0Faci/iSNaznVRNs9zcqn3u9IPvfDTse7X3Ytfv2xmwnvVg8TM7/1J2UJS0jhkoYOYdhhU7aM4VO+nOWkYgWrTOWqR03TWteXLq40ecSLN4+NGc+YSVOZMGcuUxZsXBdMF8vtQ4m8VksXtlamqPVXSvr4WlkbVSvZrvG6nVpv2u09y17fOfb797cuA2AQ2G8DEBAmIrcGAATspg1FbhoACMR1X926ItcNAAQAOTJC+UNGwNGRb1I0Ibz/nRMDwBgVb1gOOD2lZbNVBinhkGzWL1uz2JV5NCu8kFVZ59WkZIO3k5YtZmdbLpmfRv89A3ZlFMHYTKIa1414xncrgWndSeTyXHKa3ofaVSqiMS2725TRn+C34bK2tDu90zh3f/Pjsg2Lj+sGlxi3bR0mT7d9uDzb2PLivlOryss92Vhe7YNN5PU+2lQ89ulm47lftpk3AOQmYc7yzWahjb/5mBIgDlcCLSWUUNnkE0WNUhIZIKSPCUY2sIFkxG3CbHWXJNu40WW7ZwzZ4QVbdnqvOqO8+TPGn3/yBApMvggRKZAlK4VyFISgXHlKVatOGbK6lOvVl0oDBlJtwkRqTJsN2bz51FuyKb6CUjyP/ucLef1SEcNlixt5tbSxiuW8rV7ZRM03TNZ+y1Svme70me1ev7nuDxhuJCrKzMSJZmNizO3YYf7CBQuX0i1e/QP9+nUrf90U3dop5PwRsGaGGCMxxpoZRAYIiHKQcQIQgAsgYLUa8ciYAgjAhRCIGl7D4YuMIoAAXAQBQEYU0TME4GIIADLMABtmkCMC0A4CgPQ+RO/r33QNAWgPAUCaTmn6j4cVlxGACggA0t207m5ccDtNh8nLsLJSZ5uOKZZ42FJ3yphOaShF0IYtScddpnP6mlakhq0oYL3TdEntGVXUsHqJt9ym62hVIuM49ztMt1SCcmctyLnKZbqnjIBWoAZIgVPp3KLHYLUJo0g1CMNp5zY901FWFdVQb52E59vUC+OCAis2TY3K7IymVrQxzd0YE+TH3tYFxIX32xes9ZShTV+mll95CEq06tZmwqR5C5bQ/X2iqT0VpIIVRMEUQiHVMcWm2BWH4lRcilfxKwE1T82/F9+Kn6zI9vy/N4bRVs0EfUU3YAkAd8F3ZuiRJmh6lu/vyzRRY5YFBmmjpgAI5oXpBtu4xdOimWC7wrjzi3pVvpBwFEvvsVBUT8mPvEUy+wSL78QJ19eiQd/wIAwDw74w6JeMe2LRXMaXwqC/KE84SXVfw9AwwGzgDqk3+LCUuKNxA/dDHeqI/zAvQjRuUBvfGz7uqjFtxUHvt7Hb4313wX5YbbWtbSzz2OoubGN+GzMNb5gGuCg8POzZhRnQABebfde4xm3NZRgKg3Yyvki1qVR5a4D2UUIFehbPH1SohFbE2ZePfLQaZqmyhJDYG1v8DhM/mTCpn2WDyRMN3psOp3PaeBOYGqsudZ4XUmttDwt+jKXEwWGqNpdYZ79mo74k2CqkIsVqOwgKGk58JhdGKuOAvBktaQF3c6rXF8BKOWLLUwkB0xMxnWQJUwtwMTgegAeQnStVQ7hgjzzImAtjpdW3VO5FY0HNXq0AxdcV0trQV5E0LoaCMZTkjumOYYIhWrzVQLduTYEO7jCh4Oa5GRyaHDQs9HCpKH7DSFuKQmmhVt+am5LstbPBxLf89odIi6YYw/3eRWOwAA5PEAtB2hiFQppgQIFjM7elByG+QCgSS6QyuYAYp8qm6MhvrfDNidUa0DHqUxi2DRLk1rGO/o8ykwtp2Y7C3hsoDsHBcAgcCofB3/oDAUfCGeCMcCY4M5wFzgpng7MP7/AN/wiM4AiN8IjYFB2Ct1b45hQdsREfiY5J9SnSI9l+3EDoz9LRNNJZ7ygslbDVIfoHOTAiWbaZ9iG2Ufo7GEKT0kPfjXQrbGZN6pvyS4P2jeLNjcrutMF9tjJZRBAwn3cQFZvfWWUAi9SvLsU4oPb2ciVH/dqMu9xew0jmYFpNxc4JwezCSng9xzVnWWJrKRMbXqAXiye4QNFtOsd1nxLWc1VMr07qSu9pHNdnSlm/o2r652G+GMnPp8j4oVLcUD4hOS5MB8QhTahxLZEmNLiVSEvqo4W7SK/Qlo9rSfPY8a6s5IyApYrQWHaYy0It2rZqa3kJaZmW7Z42Vt5Tbv034Ryq4en8cTZOD4zDKN21QrgmmtJyRFywWDvJt9Apwicmv7owhTNL4ITOlfqgq0Q+3PTqZbgQR1fgCvOFaAf9Tq6DnhTpomckN3TUfvZUdlmjhAY5APEMcoA24z7igzF0AwgKO5cwmBBjezzgSIFLLFiRVpccEaeayxG5V5QjemfoDlbkoxQE254wYXBdj6/Z4D6KRzmEjno3hOgx1Qixk3+CQugUX1EhchZOU4ju1uQQO7e8DUKuxd9ip46w1GbKmlru4wu3xtbaEc+SZm+5rbADvKJoN6/OjoJr527FrbyDrKRJ6ChXE83u2YVDstDQtK7a1nDxRuYi0gRpDpG9Iw4claArNbvepc7d66BdpDDypnLQHNSecu3gbERzmXI3FmnNrb0jb8rVCltpBw7g4wAMiiSJJJuB6cuQJJ3WJ9pKv29jtYRfg4HmiDUVK+iwWhI0RqyISxKvgg+DsrfyIg3Y4mkFvNeV5NNggTyPDCcAwFBfCxqHzno5CuQBwNBvnF5XVXIb6WXh/6ygNWSBR2+DGLhdkItwmzpuay28dcWfv5V0URD8UaXi3wegqQFgMdU9QY7r+TfPDhlWcUxBpUqNBl2iZFrq3/psNt35rilHx4IQktDaVnFdnXmpR5VVW53VjegJEiVJVl3t6jUbkl5Ih9IP6a970wVUrp3kyFNDnXFp7funtIYosRJkAQs6WOBDBBn0cICJw6eDLFHrrX1HJPNEErXmk8Nc0KVcBqWMUkcdQGk51d2CLwRCEY1HH0DT40E8idlEYzxzNj9VUVWVk08JnBW4JLAoMCLwVmBaYFfguyCkMivdUApUClXqFuJXFlYmKocolwp9EvotRqROry6hkaWRq/lPkmWgqOKyaqhW3NDf6+I3HLFMK7VKa7QmG6DVbA+DTe5WVIUaUTuacZrL0O79W3v//x8hj/thvtqezSjIxLfNfrSd9/vttYN31I7Z2Xszen2GQQITfKO+577+9v5w+c67CtflyI7VPHmFC4jVoNWwU53j2t7/agcFFA4eAWkaolFKPxt8mEK6CQAoIAik+mFJt2xjMZZolca0JutsdmTbGwiUSxvXeixmhJqtgG6rsVqrs/qLVRONvwDo+HF4MjfszsGFJ8Qio7oOabaRr7O7A9g1guJTWh90mcXf3eGGubq2UJPnVhTs+IMb+CsKfA880ogG6sr52Ut7ba9yoYHeMKG6FvLN5tXCVtiXNg5ckwvxUN/U9cEhEzl9RiEZsM0v+LkGumt+ft5R+0ltjwapl8TOr3N8nAbtv6EGlFFd/gW87p44cqpVlVSmSPBBWkFqBS15YiyrRVMO5CJrkAlpiEWMcAl2yNZtgTGjaajf54bMe2Y+v2HHU47iSFakC9RO8YQitFmDcCecheddcxUY3t2Ug6munGBbpr81SbR9IP95IL+2oBR+XQhA0VUp/6b8DwDFrDRKbwNA0pq7/LEFItdMrPilBrN6NgHbH2x/EmIO7k09F5LBmcoFmT6bpRMAHxC+c7hCLjw+zFe2nHgCkcyngpv35JtWPpuedLjpx2fNXLKtiz5RlLzRRVXuRLak9wYj3nOWHuvK0FSvL6w6c+U+n+AvBDoFD27l4RRn9B48nW6WqlF/NkvbMfp/HCI9Pgp5HZpf3/3k5dXq8RdJTFK8g6QujBUGtk1lo2X6zo+LcgzH9v66145N0DkSwnva9v4vf/TDDC5bX0IUbdrKDb/HOlff80ymPtEpjF0m3uucT1pW8+M96Y40Jvx9zLehJOY5PM7jp6CYgA4EAOBAAreAo5AlUIIkWNacdIpJ2PuiFNdIoiSxYn7DarjfSqvE+r7p3i4adDAQmG9IMNeEZz79DDNOu2NrGG5Vn+D2Y4awQFghDBAkLDUyCKr4Eoqq6xOK/EjRnP4O08WT/umPio6GgY6JgU+4t8zrNEy0zHQs9KwMKvVjFeOU4JUaWMW0geGK1FWNa1rX9W7A2S14aRuQEdwuG7jvLIzbjIKbVWhzD70VxTaq3E69sjPqA4KUd6hpM0FmxWjeLD9UoF90A+nbmIE9Odmbs325uD5XtxTs1kLe4YI8VLQ1JVpbknUlW98rG0pxrGKXorjsRiP+bdTNxu720PR8DcO8ozfJUPqOzFiGvbaZXxjgfQdfHI9/pzzT36H5iP3yrndjZ3sa1+zEt+KLRGSch95KXoVZeb/u4+yju6/TUjHFdPFILlbrWQMv+iUf/134cf54r/eu//84n6u/hkskcso3Iu+6H1aV4MAMMABerFrdZlteqo2l2VS6zWXYUuaQJIEZgJgxA6UTIX8JvLgUadavZXO80dwXc7zreEGMm5yXlsqye6d8ICAczI33RHVtBfZDALPHBhhn44rZeW81vD+y+s3zZvMNzNDmjDxdlm1l+yo3txV6T2+CuSu+pd26j27a/w2SOkbAPIesFmhTrLbFaddCp6NueUd93sX7cLOUwY/kUrNz7MHN3Tw9vHEL3D6dkeCGNMPZlbZfVjeWN/Ympn/VKx93vIu73Kv87nzlH/Wj7NLiT/J9+1rf8jDLXs7qPo83uMVNbuLu7uW292/HO3jpKTzceZ4/8u3pbqIEUaO8sYfJ4Rad6cWfcF7VtOxK51t4q1/eV/R1reob/qaI43OVEnnQBZb+JhtAT1uGh/n0rSQXm6ijcg/5+5JOUratuJj8pN8QrZu/GdmkV3GLRz+v8+3fe7m/xYiiTHGzG9noBvui1bjSYV1+O5wV7fV2tyNW9FvELcKT2uqoszW1VKdLMLl7d7O3RMWILj26dVr1w5p1cDeqvnra1OD6qG1DW+vbxobWq80c8erft/Xf6fZ2vH2aG1Shcv0NE6cKiTaVJjSmsY1uRMPd2jcb2FpRjdxSv3FpvxGtm9k0ohLftqxM4VvT5pPCDfiKBeV6+gu/P46dOHX21CPP9l1NW/Sc6Vfy+N+Xd+EJPqF7+WM2lxU+LvJ/EdzFCj6R3vfvNXmM6JNmudPXLG+Nj+XDQ2m1m/dJX/i1L81xsyVHo7fMp/LcLrvEGI9NF2n6cPAIOLgsrFuuYXVrEOjLAgQKFSZcBExXS4fjqbvlRMk46Znd2j7owz6CXf+7dDInO0VbPiHLMcl7Yw5szppv58/6d/t7fZknd1fuauE1/eSF3LVTuOtVLGZdmG7nvuTa8yBYVAYBnNPzqU4vBlxATso2bgDkfYGU0IWfGqiy1KIuhOdMT/t0TCdGFbIHMKuoSsWNBy8+goQI/wTUIKtF+fm5pBFtDV3ToVtvqxhq3R/bw2410lXGTZoxa96COSu+W/35/wJ+KStvvT1/U7+mXxe65V/yWt7qbjMx+PWYO5YmbHmHfH+m9jam+n5Nzf2e1LWZ0Q2ElPNJ2pikNZljrT6Z6zl79s3s3Q8zvFZ7Ydv3y0LugVM65VP5NDWdqsXvSxf3qbqJ26tE/ABWW6fu/n48WsHUno9be1Wvvqpd/UStEfNzUCs4JVs9Zbc05Uf/ho1hUT9hU59gN43jl0fc7/GfjfWai7cFrnZNuM6qWgNVswYncDa/i3p+f2s4WLD0wEKFtIQqzUASmzeEzR/qbU/9bTrvz6e+Rl/RGnyOzv/erfmrXssVnHp3d3v3dEf3ducEzN/TOM2pvPU+s+kbMXpap52e9KU/oxnPVOYyn5MHN94E/parudrDM3iIjxe/4eg2PN1HYPCYjJiIkRMzahJGT8qYybhqTq5eFdesmmvn4rq5eWKxzFwa81bC/JWyYGXMXgYLh+bAitk3grQbkHODcm1I4c0rsgVFt+i5LSm5/17YjlLb9VpgkEIQ0PWgIMVgIPsW6dBiHVvireL9VKmfKzM4Y1szsS1T2zNzQ08cyN2NeTiYp5vycnth7ijcoiIsLtL2cuwo187y7Crf7gocLt+RChyvxLcRnYjgZKVOVeZMFc5W6YcaPG7crSbcbnK5IcMl929MzizJ0OMVm89XacwOpDMX0ITpgQxmBJoyE5DJzEAzZgCy6A+y6T8k6H/k0D+Mob+4PmvckLVuTI+b0uvm9Lkl/W7NOrdlvQ+y1odZF7crIbwqMbxrafhUUvjWsvCr5PCvlAio1CBXWgTW8giq9AiujLhUuGiojGgsfNAqM5oqK5orO1oqJ2aLFnPVFPPVHAvVcrxP3ak/DSdwApbMUl8aS3NpLe2ls3QVoBBFKEYJStEcLbCSPTCNmjRr0apN+3rDqUo1F7catfXYdTfcdMttd3THD3iZsmTLkStPfq/2j17r9f7Zv/p3/6FwgWyv2YNr8eVaW/FCJV2YggsvWcAAQACGgBFgDJgAptCHlFTUKmho6eqiHr369DvgoEOrEEGRYiWISpX1397sf73V2/2/d3qXLkypAxqAJqANmDFEHOoiL+qiPWVgZGKuAigdOg2dmIu7eF58/DfIR3290sPg3km6lEuTLEXqYQQJlgb9rX3r38/v1+d92y79cCpVfa8+W//SK713+Mta3cWGF274Edw3Oxz3mOPctnjEHse2pijFuR3JOtOQ+sW8wffgKVKV6rhSk9p45rtEJmrDcj3q+3Efz5/5MZNxehnRiV7WRTVKlxNa7kV2Yxt+eZd/BVd4hCu64ny8I0e80iu78iNdxUvKSoYNNjDd3AkbC1Dc42YnBw9iwn5NjnGeUCDvfyUuJ2CtdFidCUKDgzCqhiB5iteOAtPGr3UYkDrrLOLXHdm+Pf+vNgzqnzDpqN949cvyh7DOTK6qe67iF/ELv6qrvsq33FsVV1pJRRXaIlOGFEmwMOKlSZcAL1GqZDjvPEAhS1SNIjycncFnpoWtL7GU1pTaila2qtU9GdCG6/xmr/WSu9X9HvSohx3qWEc6sX3TwY52uOM/ucXSr6vTJbS05JaU1LqUTEYPWj/jMUYhHO1HoxIBKPxXLcyEACeAzH+zbLxK392jJKN6e1/sS37fXupLeOiX8TJ3toiG0f64X/u9cWCXigaVu8R1D13C7Mg9sS1MLsn+sLk1bl7jtkfH4GKsRbud+7+FHerXMPVd343dvJX9OxHeFtDv5KlbwgAw+J8AAMBsBeRu72aY5wF5odsC8kNfAygI3R9QWOq3gaJV+Xw3Sq62n1SpdKVJE2O5dOZHhrWNWWGFRpkyZcmSBSdbtmw5crjItRK3Vdbgt1YBYYUK0RQpUqBYsWolStQrVapGmTKG0NAwsIMhuGNhOk55x+N2AkUn6uwkvZ1sdy833Shv0DE6UVFxoaERQUcnj4FBHRMTEgtLCjZENg6OClxcLXh4+vHxXSUgsEpI6A4RkU1iYh9gW6IgywGkC3cyMkhycqcpKIxspYC3+qdVKDr7Fa5aZ1Rkkc8YRdliGFccF0IQUCQpEQD5FKWFpvUwjBGWtclx9oY3nyEIAg1RpCdJjGSZixl1HL+nbaAEQblCoYoxjQDaEE0Nmbk6pZKBSkVDrVYVx7j2rhImAWBWaEUAZofaBMwJtQWYG/oGAPNC/QPMD20NwILQTQALwzwHYFHp8oHqRb3FFou2xBKFllrKzjLLlO3lwrwGYEXpuoGVizQ1Vlndq4V5AsCakHCAtaEbAdaFDgdYH+YjABtKfx/YuKDYZJOYvVkZh4EtCztbbeX4e5t7S832Zye6m+ybWr/F/bbqd0zsd81yz0OrPPLEg/7UnfYsMgrE81eXefG8akZee03fG2/o7bdVlzLi3QoD732S77PPJvYX4WkQX4Xfgvg6YAFAfBM6APFtARrx3Sp8vvc9pB/8gMuPfiTsJz8x97NfPfWb3zzxuz+V+stfCvffqkmN+GeVff9+/v+Kj4R//+Mu3r/+5fZ/Sr8y8P8qgVr1HtegwUP7jJBNgLOhSgCNIeuBEAgBRMHJQFwITxJ1l7qpKkLTUhhGf7btpB/HeZSY45hjnLBhMxc7ds44cJiHEycXXLgsxY0bafA0sxBevPCDz4x18OMXSYCA9QQJiiJEyAbChEUTIWIjUaJiiBGziThxsSRIOECSpCpSpBwkTdpxMmQcIktWNTlyDpMnr4YCBacpUtRFiZKLlCnrpELFY6pUnaJGzRPq1E3SoOEpTZqmaNHyzN2oTdsMHToEunQNOcSt5+cyOn36rhwD2C7EzcoxhLsZhUmiD0i1ymJKjUBTL2amNAg2zWJ2SotQ0w7mgHQi0UC6xfSUHrGmX4xOGZBrhsXplJErzbg4mzJxtZmWgSlzypfFzeGxxLTdKLNNWTFrN8vsU9bMm02ZY8rWh2ZXVpuy59ccftzjOOLfbpWtplwMSd7ldRfX401l86mQsBnkq+ryuwk//hy/Am4oh0z1FXgTcYJovYJvsk4IbS00QrIBBIW9YaOEC5d5KJy6Im6KTySjV9RN1Ynm9BVzc/zEMnbF3VSfeM5c1Juak8D4lXhTe5K4fiXfjJ4Utq/Um4snjYc93ceWUSHrMyjTp5ZVIdiL0Skfm803PAbkF3UbyD/QBQqImAoUGOkHFBToAQVHEoFCovqAQiMWAoVFzAQKD0yBIiKWAaEilgBFRoYCRQWOQNFRCAAoJmI7UGxkIVBcZATQt4hdQPHRtoESIvYDJYaPgZIK9FDy4q0UKe6dVHhbWtALhA7GgDBRtkDYKtepdEoNV5xMZXjb8QxbZpgJAMqKzADKrno1lcPryr23tOTJU3HySbkK7rc3ChWK3ARVIkNFi4+nmMyr5KbuEMnqpfJaWTgMqDy8D0SSUxXGr8qb2lPFTqsODwDVVEYPkVeLVfup+5bkrvd2nFBQ8G6qqF6ghqjrQI1v/wPa0zzx2S1FiQG1RawAag8eAXVUpk11kmhdRXdXJXaqh07rDcMBoL6IYQBQ/wvAgAEvDBpUfYawaMNlzqkR5dfoTfwZg3SN3yScCSquyZvEM0XlNX2TdGaoarPhZKC5IAgoUfMvkliwgMGiRcmWLGFGR9fRsmUiVqx42nffRVm16kU//PDtrMF+rd/0n5+giGX7Veaa+u1G+xPmBtqIjAH6GyUBtBl0AP37yVFt2bLctm0P/PffUTt2xNu169reUzU2tU++HZRBQ4eL3pEj3PtYxeShk4XoOcW1nYVlAUDFyAkIooErRk0g2Bq0YvMExqPB/8SWqxCPp4aseDlhUNMYK15NmJAbc8gKPArAGRYEXCXXAfeahAnhwSMfL15u+PApwI+fOwECZgkSdIIQIWcJE9ZMhIgaokRFEiOmnThxOSRC0tfAt7a2lIozE2ndTaZqeyLLk9wjz8OtIHQIxfBdlCpGT5SxNZWKrRNV1KYWcgNQLwsPNBbuNGkSoUULjjZtonC+5Mmzc801ghQomHbdddSjyFRXctSUy58nKihUP2pRMwD1iPEAjYoFE00mTSskDtAOZQN0yk8GuqsN0fvof2tuG4iYAjAstQ6M1tsCY8a2HRPcLtN/fjePGQ3NPGwIsAgbACxDKMCNsAnAKrQIuFmum1jjbzaRYwDbyomJHf1mX/V+4sCMo1vs2+0qgcGd1XI5cVLg7ufet5m67z4LDzxgfh5C7Y9EtsdRVwDOkd8ALtGqAa6VU5MnMNw8ldqfIV7P7++84s5d4nnBeH9psr8y0V7/qbtnieezpb/xr7913N85aO8j0wEfwsqAj5E4wKeo14DPUd6AL2XTgdeaZPnqK7Pf3u52hw8ft/jyZcGPH3P+n4Bv5u5AYVdA0FtCBAtmKkQIUaFCCe8wYS9AePgTIIL/AlX9wiBysbqjlPMG0YsiMWJ07ViRVYC48DDgW3gKEP+WOAkSnJco0TVJkqhJlkxJihTAThUD+YC0qCUAOpoJABMZD8BW0Sfp2jrOcMuIxADwYX1A5lsKZMmieLJ52HM491yPW17UACA/igwoKH+ZFIq4CPeblKKnOJaVKHER8ZS+zy6b6IYA5VFaAFJ0I4CK6GYAlVHZgKooaUB1ZD6gprrFAXkFXa06Xrte5AmAEt1LADXyCNBQFTNoXEShoVHWpInqbvaTY2h5WmNEmzaDu7134AUdOrzfnarsB12LS7p1I+jR4/LuFf13QF+UM6A/SgMwUNk0GFzsGjJkZw+LigWMREUDRqNfBIxVcQ+Sx/giwIQJT/akP8bjW/lMxxszZnwya9ZLc+a47fleh2LBgmCLFsntJaXHBtMXs5YtW9oryqkM/r7osGpVlx9+6LFmTbd16zr99MeqDRvg/vrrjk1na/efVBf0mjuDkNsxdj8hHqQod28t3G0gpsy9Q+ziIY5zD8+7TyDwsJCQO4SFPbAjXjecqKhhO0mYu0CSy54ckrImM8TEnJX6pMZ/4uIapEnz/06vXMWQJit2ydDUKpkyHd3NhHkEJKvcs0OyV1kjIaFGnnwdd4HXPEmhIk8rVuwpJUo8plSpR3dz4UaAtHjtCVpq6ZhWWvle66fsO49r87SZfKNcuee2Wfq1ecsFBQriXHfdyFYU1QqsFDkDrBw5DaxSRRxWXa2EGjXffqu7t5Zp0FBGk6bCrSX6NWDtqrZhncUnunSpbz1vNqNP31cGDFgzZAi5jVQZX14cMmGCn6mbjra1N4ex+Tz89hCPPNL0+7H7bZGzdzi998Hz/VFJa/jTQpLX49V++srHhe1bdChgvxAzABz8DjwjRIgPO1TEOOCw6CKAw9/YSYQIN6CgvN9RXrkRIwb9xPK9xUV7DfztjbHEizddwpPITEuK2AGcHNoFTqm4Pp1qrqVFvANGh/iAMRETgLEl6eH0hfbBMX9l/POf+eBZuDJvvp5sFlsO/eXc0tJ0nqWWXxr9ukAheiNEfAAuCi0DF1e7NFyymjEiIgelSnkoUwalXDlpJFX0Vathh6zWy12nymy4fk38UFC4baqoZ8AN1fyn1d7oMtrTRIDmp62FatcOczpSrfPpivTf3e7iqUePyNOLXOsLJLQo4P5oGcAD0UsDD0bOAg+9VcvwM8pBG4uGBR7/qTFMfKa+/aU9LbIIeCaqHHg2MgR4LooDeD4yGXgh6gbwYmQB8FJVzvDmKub++Sdib3mxZts2GWr//ttL1/DP5/+vb7VrBS4BqQtqDlIfvhyk4UfFdebTWP6cV8GHCg9PxYqalD04lZLT9Eszi/nYL05zj5tE+CeIjB4Sa+Gwh0BFXrqIqKjDJwnfkgPlgEoJOQOoWKAXqNSyu6eKQ0srPDRVOupNSMsIuhBU06KLp8qkejO2ZQW1AJVd2DRUYnGdnE/+1+5RcAo/g6KniAOneIR7iahSraRqrY3MVl7c9GtvxTXX1XRFlKb0P+ZXgDIqFaoam1ql4URdc9fQ0TV1dy29TfvHvY4OQ02X/4Vemc1E33AzKG+dGBq5jP45S8eY8W5ikikzM8xZmO+W5txw0wrrj02YfwG2YSkF2FXKT+ytXw43no+jz60wWoHbP8ZzByf0djcsuYB7kZYF3I9SLODBr7N3HjLRHkXgC3gc6VGAc0XfxMVSc40IK+BJJG8BbhHkAp5W/Rk8W5Nazz23wZ27ai+88MtLL9V45ZXfXnstdXuotBl4LnK88UbgeQuyvStXmrwn2T/YaB8jkgr4VGky+Lwo3V+8ro4XL5n7q0rPwUwEL0qFCOEtVKgyYcL4CRcuS4QI+r8j3a0LEtIwFJTnokQhFC0aUswn7ostLKWNUqo5idTUoqpUJ9EWW0zolwJiyzUHcYvT8426Fv8TtZ2g8uokkUhP8qMnA/cUDS01oq6AtKi/BdClPBOM1o4F6+naGr6Ue5KpvWWV/E6y9bWckn+TXP09j2jPt9YLiPVCPxshAlVAUaRgAcUVJRdrUo2IqGyXemuJMmXKf1nQN0np8KTCWK/E0qv86tXYeo2pTsbea033OhytvixvQiHeqX63hgj/AhojNgrQKr0GTQvKbla1NWkB761aWltF+KRdZ+v4Iz+Pf2OgdZX8TboNtp6IwAJ6IzYL6Cu9OOnX0wb+b3+v/hJyCQBDYYIFDJdcDUbWRMioUQ/GjDln3LgvEyYEnkkk2lRkXgHTFYTBzCLfrFnUPadqezC/qLdgweZZ5Hxf8qfRQ9ULWK40GqwsNHz3nYFVq97sH8JVC1gLfVfAeuWLwc/Fe7/88nL/fvW31PZGv+7S+6/w9gKbv+7V+5/wjgJb4b0FtsM7C/yPCChg5ye8nl2fvSqNwf6aVDpwYH0fKj+bHKlvx6UjkxOjTj9nUVoF7WrQVZjRqcYytg1Wo3UzYaKHKTN9brhh0E03jbJmbZwtW5McOZpyy21z7rprgTNnJ4jt4u1wXD3BsLGq9Y5t/GJAvXrLGj8739Jx7OxD7pb/EhCIAwkKTocEv+iKPDI5RN0oaoduTXeG2WHb0oPjDOZ5gzxBICEyZEzKuZEQhlLKlDKyLFtay2yb8/AjQICFIEEJhAixEiYskQgRlUSJSiJGjI04cckkSLCTJCmFFCndpEkrJUPGEFmy6smRM0aevJMUKNhHkaIeSpTsp0xZLxUq9lClyg+a4eRkIQgEDQY7AIGogULtg8FgB74L0d4kiI1pJBIdCmUGjUaPwZjFYnHgcNbxeJwEgo8AgItItEEiuUIm26RQ8FOpftBoBOh0ZwwGQSbTOYvl6rBNwcPhkOFy4fN4ZPl8BAIBOaEQoUjEVCzGLpEwk0pxyGTM5XKcCoX7SiUulUqAWu2WRiNQq6Wi00Hp9YwNBlFGIxOTSbTZzNRiEWO1MrPZbIXfIMgLGBaPIF6iqAQM8wrHJRKE1yQpCQAeFCWdpvkxDBzL8uc4GTwvQBDgRVGgJCHLssjJhFhSSgGwYozKuTUiTQgbKelKOa210BhnrFXiCgAA3UCgEhBIDxiMCIHohUIRYDB9cLhSBEI/EqkMhTKIRqvAYAxhsSpxODN4vAYDA/8MDY0bGdkyNjZhYmLb1NTkDxnBtVxEoqBP8mvlZLLGKK5xolKF0WhCo2sC+jsg8dYhr7yt+TshUdWQBiRmNQ4BSMwupK8ERO6elMHK41nl84EFAmtCIahIZF0sBpNIbEil4DKZTbkcRKGwNUpTj6hUttVqJxqNHa3WqU5n1yxk7JIQ1xTlL027H8aSBNxc2Y0HjhPI8x4FwXNR5CTJC1nmFUWQqgqaJljXFYYhxDSZZQmVBiUQPkAi1aJQPkSj1XHDaHQ7kGCPzAkA3AnnCHg8pwhKxFdC3JNbcpdEIkEmu0ehOE+luk+jkaTTPWAwXGAyPWSxSLHZHnE4LnK5HvN4pEGQMwS5xOdzEQjICIWoIhGcWKxBIpEhlWqUyeDlcjSFQqZSqUmlkgXDmtVq2RqNFlNTOVqtWZ0OzczMnLm5JgsL85aWmq2sLFhba7GJp8V7z5wjcbkomcy5iseJApyYhyAnIiTVkaGMSIW2STqMUBmz8glk2GSIFrtwzqBwbu25VcWrvXjNp33aG3787AoQYA85wjO0G2W/Sve6+I4veqhFBRCeL0ECnESJCqyUENaUQgF4zpgoXg5oOUTRogIgQ0oxSqnUGtqlaEroK43qK0hq+gQBmnWx1H94+QoVRGn6X2UqaajuGnSRoy7lWL165ygorlGjKStCc7QmT7Xr4C7JiSATD6DQNmAwdg92p48BAOJwOPH4EFN5kVoqiVQaH3pYie+G09XPksuVcnjWkgaGnypZIIARigSJO4k0aRRXykc5a/NWdf0drNaMMuWubird3b3y8ODhRtKqqI3l+o4Vw7CX6SbgWdaTVR7lT29scl648bq4iXnxQoXPhTzgx49AgCBihLTw1wAShS/qPiIj+hZJbMRIID7iFJMgJY70SE+KyJB1itzIQSI/8vhEYQ/Kj+IoRi6lUSKHMmXW0Z4LN6Azus2f3hiQCDFGpDL+MwYQtstkTKlgxkxJzLcg/ZVoscM0lgqVshKtNhtBumEfsGZtDwrKdtAa5A0gEdNgNQCJNgfyCtaB2sfW2DUj9uwh4qDC+1ai454scBrn8I1LLbwfQKLrRZXiNsQyEM8ONAbS+MfpBNTgRgCJ8Qfa/4/qH0BIkm5fhixfZU9O+yhXrgdoT9kLcytXSVKV40TVTA1HaqeWX6nbghlWYv2GIw1a+AyAxMZb0toxAtnZp/htQamjBSJWlefWsHeA4ziNuFpjzvAuJ/h8CIEAkNAh7hf5TRjFYscSCWRSzVzcRlbsrpHvdqSYcguWqlvV1GqHX+P3BtI+3cvp1/tNIGYz/06NhYX9LLvssbLyP2unatmoxrDGdped7FRjWmO/G6s/56+o8/fzzyvB1ub7jvfK78a7efBQmSkrT3abQ9MmM4xJPG9uUjU3GvLSm5kNeU2aXgV5iUuPkSPHo3KfvFevkS/f6hRo/jvIKz6CFk/L18xTpszCtNXwJOS1b3od5A1oZiLkDWp+K+QN9rIEq4UcNiW1RqPBZDKZzUaLRW+16sZmCn+EOgTJhGEZCCIFRSVhGCyOwxCEeJKUBoB0ipJA0/AMI5FlpXKcZJ6HEwTvRNGQJKHIshURI4QopWoAVDOGkXPOiNqEwCylGRVFRGQ1joHZCxkaqjcyQjQ2RjExUWNqikogqxBLNKjUTrVaJ6h0KoC11+/JsdWsY8d3vlPsBz8o95Of1Prn+feVSlaccBLldM38DHk/NvML5PPVuxDTtP1MGYB8LqmTyh4pncJuMTEzZcq0T0LCTi21tFdvvb1mooleNNW0eO71AplpfkPTfpchw6+KFPlTsRL/a6ml/8wwwx8e8Yi/POEJfzvqqPp3tX1MmDqgsOB1y5n4uexrC611jPejHz8Fb1GVz+wwn0FRdejxUFRTpodPjK+4QEJMUhTe1q9nXHc877ggAFk2VhSk9270YZrg8bV99vl2H/TqAxxyyKf7mDCfQNGp0KOg6LewGkAxypz8FuvHtB9UqHDCJJOcMs00p1Wp+nz8b0kqi6OaaOKY4Yb7xlRTfW/G59GvLdy/CX+4igIllzKEUXJdlLq5Ibu7K/HwQNK0T92/Lcnil1dem99fhIUDrX6GPoVWf4L2oPUO3wfKPoTWAMz/Gb4fLDjhB8Cij/CD4Gu8Zpl/JHFKvOyJb37wPcjqZLAMXbpO06Nn2j33XKBP3zwDBpYZsvRyWJkhWKxZc2LDBpEtWySPufLmxk3peefzALIJGRME8wWoQpFNsdSuTO5wFGaHUSoxqdRYNFpCOltidv4j68gRz/G/B1Vytwi+Pl99y3GxTr4fV2u75+bmkbu7+x4eHo9m+my6LtYwJJumb5Yl1bYj4dVvwAba4ZBBiExaCmDPGEMb7upAxCi6vDH5HbImYwt5k0OPoingR4kSDypUuFCjhkeDxhJatALQoXMJPXocGDCgw4hRxWDaJezrzTPmLdixYMGNFau32JotnmLHbh4HDs8GV1dUyRVXfMPd3PEST/O8HcPbvPDhw8cfP36cBAi4QrAEAYQdEiLkOWHCfmO2yBbq9ngmurhM7LlWNCk+N7H8Oz3W+LNhR27abn9b6E/hm++E/QP4NULfD79mIAB+raCf4dcVnAa/dsgR+HdXmdsK92dzrXXt30Ejjbf+AfqjjRl0Dcqtj7fdqyvkExuqK50cej36f/AMZnExlKFnXAGA/xu0mfr9lT1e3NV/civ+4fr+Uq3nfUfiJ3C9w1CNLw+X1riZVn0H+YgERoScZYTlLYA+EzgzjotaXlpXgHuWXmV59T0WSAVFZJIeqCBRgfVaXHHgXY7UyhjoBqXqyo4ajLO1JpLMksi7Es9zWvpp+iFiq7UcI0kSDmVDEXgAfhwBb4eWIR1r2aKNsEAI4+9aCJdOkg1cOmgKSnn+ipOCnylRSU3RnRiBixabhNYDgQVKtSmyLXIlDcDdeezE1cDhQiNXKzxMY0WdxytjFW4NWWmzxR5l34E4hZBvlZCkKaoVo5cEAv1iPG5BCAIOMle3biQr2GJcI4hg28Rho/NAKJJasP0BjwSg0WNec6CByAkAqrnKZA9oriE3rIIInUMtCOhwBBn83xCMxguvCQQxoAVz0OX4gUpUgN/UhD6eeEevMyKQwIAy2OUivF17elPMiNCW9gBfVdVil0ltyAnUE1lF1Lh6qUHUjrPOSdwxybLASmKqSghepbbTlZH+rLwKIkXmZjWnYc/Rd6gcWT9N/IYunGWuoG5hHJM7SAUoBzzizeglQcWYySvj5ZSSFnkFT3U5KsQvvuJjhwBedZT2oGACew7kPqUUdMJi6YU0SmJPGcBkMqCe8hIizSvKhrW4F0lcJ+6M5lHCOs7DF2qoICZWcpDPVm28arjSI6WvUjJelkYvCQCprgoukjOceraECup9vqvGJp2RoL+QPZ44yEfwtI6JyEKQXhNojVCTsBQ3aKuyAo9BMuNQ00qIAsHoPbSIO4QAAw1sNI/wJE4zCzUOAqi8PTg41eAuw1cmKXj04SyVWGFfRUzsF6vO9CIfwow50JNCMh5EZY8hVR2kxGVGaFcaLNfnKdjlDKnK/lE+0pGQ6fVkcbHn320vjL8vZgKIHAnpiKCaSdjng1viAZp2Lx87dEhCBKMwEIKiie3t1/H5K/BUXaMkiE6ZgWqL04h2xOAunL8He28zNoACpwoEp1mhz8Q9+/h4587ZMGfgVgsnED0RfuoaMfi61ciB32qWETVGvHDZ+dslvefEO8SLBh74g+K3emSKtLrZk7DblpIJ/4Wxve8/RyRPI/iJwmFBWyw6qaoyukFGVK3y+u11lWdsNx52jinYVRknu+OCiZ32Avarb8Pghz7cv//T/fF7W84y4x9E6bGVApxbi917xKUS7xsOc0UowgAlxGJQY6rEWLlvQe8ekuc1tyx9q1i8ZQxdBUAbaxzRGlAEFMwQYdNs/1KdT7zbtqmokx0LHOY75kn17x49AKT9Ubw/gg+lCc9YewtiQwNApaf2JVSOxirUhfMEsCMOxQFZBZLAMLJMfXZE1JDr+qbswnq4GWssH+cywnfj5I+TbIzS0MnjQfFRCClpJqSx5ztlC/tVDu8G9al1/RoZIWwF0Mjbt3weV9e8I3ajOVfdRox4CiQIV9gNWnOc+77/o2ZyWoIKWovkAQSILGWJIQt1jHEd4cQRpGCoIqVUvrMUAiXTwH2wGuxLRj09d7m6kdNBPJQQyltcpdYEozH/Ui/eLVrxAjMAJYuOWBMmVnaMBDUqckUA8Zz+cJfILXpE5PVTPo8ZeUOc0DPavr6KeMuLSRXqU0atJPyz5xHWeE+0nmZsMt9xl+4mD6trNVAr0X2QQVhuB0JUa20BLBggpIqHpAZPnLG+0jdR05GwNE3BOhQfjzUEQ7Dx9FghhkWQ5L4WN1nEF3wQAFk+YeTvMpRQShaqYx7dWO/PJz6fI8r/IBISyrSPci7FogFt4PVr244ffJu/gOJsk9mS/0ly4wZqAdhmfnD85gCmx/HAR3hUQeMi0MmX7OJtZHkXpEmpyahhBq0T1wi8whD0lpEyw1LfkAS6uLuJilAp14FgH3DAswPHvQXxfePA87vwqeGE03mp/vbJeY16ud7amGtbjUVzKdHEK5yRGKjyiD9NaJHqRRRJJuQ1+V9RbAsnJEbOh5kSUpSIPLtzzfG0djaO7B1G0lf9r5y//1eZ3QyVVJIQC+JIUiGVU8o5P6omuyMqTDs81vCujec0xmgvmWmlDOVACCDpYhTUnAKnSwkic9agNaKx9Xgg0GTkivd0dug3EwB5Qozbhjua3w7aYSmqJ51mPcs8Yy7Kf6TovBDCWAsDL9dRXpFvGpt8j2pRC3ZFqHJihHwZUbXDECNPn34TatXfEKUpyR2iz5lBCNsWMKCQCSl2CfqEkmi0s0TXotVOB2YlFl0CmYQU/q37v5C9oPT/p8KCkBhFiKQp+nYKzFHEnHU9KXh/nCF07+EnhM+/5Z6sTmJ99Ac+w/P5zvPAZccmQwqQgwJHfhZYvRva4YrUkr01QgkbL6z0BfmUJVLd9poNpL8EC6GMt9tCBRi3bMS+yAgmZF9UggbcAVaOWJCQUwWXoBQHfZeV4C1REG7htk47tvIbWb4d63wcmvr1rTbMsi8HL8FW+SmTFyuDs1hbgRrtmrqgp5RNRrV+8wxYryArAoomB6wyo3m+4BxHPYKy2a3Ugn/aNdwTsxysXZ3iO6tbn6jGp/IOKauF57Mm8ajrhNJa07F8HM2L/MuoZSXS83xHTrXUHRQHJwt56vJxr5VUdXXnmOWarrHZ52DfmcoBoOIjO0Kvhe/eEsGFosoSv3UPBXk1TkgCDOGVnBqJKZEThJ8+1RnyINtCaVIN35QLqwaqz+BHOkZvfSihMdeuqRe/8sYZVuwHPI5QCdVgiwnheyQGXYWTcFAtcVXQzXt4SmXFvns5EiPu1NrcWwP54kJib5bH+E7pYqwrK6DlejANY8o7FD1dvvjkXoapM/CoQK/fYdCr7chaGEVyQMs7fRjQF0rIFuQN2qFuY+Tg9tmyj9RGcZpcsUdZbcCXU+c4iOCXQeIh+5lFbUosSG4oYu7arBb0qmuYHiZeVG3R0wZ54dvUYas7yKgGx0jeedR6ShvACZXgExcDybDjDKT1QpF41Gkj2qIrkXWOVrNbZJxS9i6+WyCeMYDjcqESb+kpykpy08IImOs5SbEfOJMHsXG4qjNOmlYNzk1JFNYaBDQEL0U+4HTCbXupbKhUFNazDHcIJ8qbVrACqnz10PHoHf8+4NywaZKpE+WH2VJhL8UbD1a3EsNTGufaYng/ejdnLRXQaHPoeNMSI6xhFMZVNs9R5jhqbE4M80G4jouTXub5Wc05PjS+j2FzFhKK2krIXvnEbJp1StG3K/AQnR6dXT1ETmsNpz/lPGbtIA/WjyV7SU7b9/p40JZLwTMsSmiyj3GIs5H2gM56Vr9NVyvjSbWXgntUSFHtcrgf/NMU9dHT2TTE8ZNkGrPsTRd5bDc3YB3KYQUIcAm+2vKySWbFS1mBx0u2xiLNH8dIQBvxTIpRsExFq5nOloIVS38k4RvO2ZsAxTIHWBhvysgz1hDF+9zz1WZGU+WxrS6mY0qoLe3Dr+tYlR3c9bJlAQ3EdaGF8Ub0UmenDwzQ/ddz3wZ2IMALDKyvn/OBWVB+zaGeI1us76C7KSzaYXos76CH72oYLArgvPRzOERBIxpSRmkemcQo3lAs803J75+BziICipZ0xik64XFVa8H9wIe8Rk/uraV8B0ZXnVrysmlZfcuylywYLZ8hhy4KXUG0TjpvsbpSfUC4g8CujN+VBEdkkEMO+cEskailHQP2zjoASz/HFxLYZ2Q40967onoEpuVwBQDv4ep1uJMmccLvrBpmf1g8jjiwIaaP1SqDrpYfXQ06MG3rRaOoQKE/qN14bIoVCCdf8RHr7fM29LvFSxrOZ1MALqrT/VHkokynGL3kUHhXl6ZorWSfUpH2SRgxbBkEAqAsVSJftupk7uH89olVuyi29HYDr9VZvioOr7leRkvl9UfLFsk/z2Ilqmrvs3y/cVXaH6KaqIaFvq+vr50PXz0auBfqgcNKKUJfzQimvNt9x+VHwULj2iImTPeXgXQtm5jY62OqXyw9jrfS+SoEDuszxWsP45kyWcKs9Bd56CbxVxrBot+V/7F75LDMIZDWs+pLkJtHue+3aUz3EhQsLd4N6M+zU0de41KIlvRIZFxyNocXH0cHW81WmBAneMHCz5sIHyEnBjbxA+Dug6hBOkY6ANxlB/z09tCM+5nLXjJlHOrLxUVommbaw0bsE5vDU6d+zf2Alw2bvZrewfsfWWIXe1oZEfRWgFWifI80ljtd9IrTjsdd4KnWSqqRDFNBpF92Eddbwtn4vX/7QjYpDJ8w0dlY8sprg+BrCQWNBjxolCHpLg2mbu95CCXqXSIEGvdVcjoY2Tm3jFdN5ch+fcQzXwiCPz/rnyZXdb/uMD2MHZBNsVedqk0qot7G0pCBQDhauW6qvXb/ZIMYCXKvitt96wA5jZAUOGX+TpDnDtJ1pBpm9Uhw87H1V2uPqdv/EPWTBNjxA98VnySc6+is8ModThIryCK9gsI1vCOJz9Q1C7pY4GEoN+kgMkLS6EQ47E7p6TkeWTpIFCewDGEXKfO47mliRgddR4nipscUdeiZPrl2/xvoGS6mSgTPnRzGSSu5gN7JHbzSUmqoGP6uz++u2zn8KGBFzBA6Z54q8xCUl2Kut98Xe5d6Jo90g8agixEz0HnrECMO8Pr2Eq9zgUqHuwwSFhSoAzTs7cEV3p2mYuh1HBHsgugmK/53vXs7RwJR1s+yinYM9Ry4tiTQUdDl+lk3ASPhb+PZvcroShzETr4MtVLU95c6Whu1bPVKQamDd8EtYQrcUXxaE9miSSXezt4s5nVjSlB2CCvhJH2Xk7KpaJQi78fhOJTH0uC2ntahul9j+wTxitqYGJ5Cxz7Eh1MOicZBLokRZ+eZR8diAOE5gTaOnqBrTUJJ9XhTMcP10a97YnS4qP0wZw66olJeFLWHoDxscdjb+29oVH5m3BMQ4di4oZIoHzqX0sQHsALZsEk/LonA6jE/w7zoOZVQ8rRf2H0EOb/VHALssU59z5WVKMaze3Na9bBS8ZfYj/5twUHBO9DQSteQdh8/L0VgRLbVNGLvyYsNX9s/9vWnLEdXAlr1fjpVaLB6vPb0/QhjWMYZXeLvlbTPdXzw2g5HyjiJBX705li7h0YsUSPs5tLHssZK51C1SuZHIQsmEoDb63ySg18oPKRUlZdW9C77uAhrczopnoDCzZ955/AWYNUZluic+Z5WCqhU0PEbElmiUsscFQ1Fx+VEg6yLQVx+TTBSMVlVMQj2hQJGizEOGom9d7hs+InKXf8R0PWAf8FjV3SLtDDWNlChInJ+z22ju2xahx0jNQsjkkENkLxHKygVg3FGmdFo/dZNpbB7aRt7BC238SujPNJiWgC5XcaJ7wstqGEeUH0ifChQ5yiiwyP87EsCOwbgAXc/Dj5Y0PwAD+e4ODzHh83O73t7AXMaPm7IDz6/4zvPSOD6+vODFd3K6nxii7qfyvq6Y1iiiXDMfL2X6b29R74kc6UnWTI6ehaFkQK8jh09NCVw+R4HsgXrbjdirvVpj0UT3SOq0QzfAU+w8NWmgCILzsDpR0S3QW7OIsCFe+y4/O3hSCLVM7h/s7KJ8o/7BKLrUTlusVFCMMGpsbkamrONOrNUPTN9HA2AKZODzUtcSMBAvipYcfl624HV0sTtkfSVUSwtVXO1KQckZCNRTvB0g+wfwJyhvgKoS9xm8vqxG+FUQCUSd1pWLQk5x6HsoBvF3ZfF13vUza4ZRaL5aJmivxWBZF+10yEMFPj1qpMcJHhiCzVg/ENWogA9FcRSZYT0GqOgu+Ge824Zodby88pm144vxOAVOthG3hPpS5Nncuemgil/oKFUe1SrTTPERZagUi7JIMA6ODmVUZYUdW7loWeafwoxc2E6qDYkD9hP7ytRPA/HDnqY+2yDwniEnwqYE9ziGyLNkMoPvjsIebUgs3bpocxGXqCwJS21ukgi0QkoP46hVOkRYr221dgx6k8qtIbsb91P70JBi7JvQg1fotqtEAI8jAzrqTTjobT59FyXU3SQG07zoOCjNMRFzlHZnAzGV0l+iypMDkcMGMhzxcR5lu1ZG0qtnqTYTVIixQMVqTh22SzMRWTpy79JJyrrq0uhCA6erQA7a7AaOBQfumfD5wOHOjzJFwS10955YLobAB1KjGEiedGuZTHeLZMzcCly3ut3Ikrb9GC72hhfBQ/bHqfQ7oEOrFXQxTmyJP+UHAxyF08njke6nl5hPrqvwkD6tZZbCUmgbIk3MqCOrGqQ42FlTtNQVKmQsv+NN1pWiuFalccNlUAq+uycwuJaF6y9GX4tH0f06XRAdEtKzh6VEjyAoKZIcENLww0WR9/katqfKno6VCePMxN9xfIi1I5xDqT1uL8GmPv4lN1IiCx0jdhAejNXwvqcQ3NTZc3WhngnHjciUXqcx02xjS9LjqFzBavusXkQhrRoomHdW01GW+dwpCMr/FiTHbrRMh7TLZZOKdNv/BEHuTXLqZAEUXaSfUrybYvKqWUz4efkN6pOYS/R4+hA3QGh1M2PPWnjNoWps8FKoBu8Wn04AhaSJtE8IwUF/Uyjc6aoTKiltRR80MgZC7R22m0JIlNHojg7m4fFSNAkzFMJai4aXdQFbT5/5uhHwqafz+B+sk6FahqTOst90X87h++8Uhx+rpwqM1zE1LqO2DzQodcOthyLYVb14KzPOXrF7ZNyQ6GGsIcergwIvxsrc4FgZOtMec3gml9TxORbnJ/KnbgGEAqVNAr8WqmatJ2CkZGvAqvyfKzUmFo+0xNSJ28+6S1zsG6kdnId/ZLrqdLcc2xrsQ4wkj9np/xClUGyLQM+iw6eFA57m7G1dwap5EKi6hADrzSQWKgg1A0sdEMh5xSjcfX1YcOUclFpvlMl4M3PJxRWn+A0uYX7pGuoxpjdarhcavKWnKZfdry4Nu39+e6T5LZ2u+Q8js60PYS7reG2TbxKPygFAwP5Tprc/bKDWbJMdcoEey5G12oZo04Pgs84lU5TfIz8fQLwxT9MZulgQfmwRqptO1ktybB61vHfoTRuWfUb4i8udK+NqemENzRQeK4B0HqoSMj4k3BCUDxjflex85wPFEn+QpNtdo1+U+BhWCnrX6YDKpdKn4RWGB2YZ1jLfmPAbV+Rg6GgLOYZYeHRu+QeKoJ+2DmvI5QBR62IQy/5wsBlSPKnBC20E/R8NUj3jCOz5nh7s8AepveD5sInbQcFs+MWBK7vaO/c7jsw6XagPg4ykomPIf5C3fRGz++ykvwWCoU/YRJPeUXpqbWLuYcghy0OaX9G8+GLP2wfCtYTCx25vYNvEo8m3KVwtjJ1gx4XKP05VOpLt9tzQaFFuixbWedrVVWBFk8Cc6SkinoHNkmzs6frMp1FqoLvM3UkYQvm572/u+/wC1HvTGF/zUt0voHE+yhBN/i8tIUrVlSq81kovQksCls7Q9/nXd8J3uAKAAXemTqg+wUqkWpoYWHV34045lEOoFtEhKlerI3BW36FWwn+ly8aMs16UFiFAUgc8SFZQxPeXNcZK/shC4LbXQQUy81g/ymcRYmAjwzjEuuGga40Cvo5NfSBUTXws6GEZ4lGQcnlDg961DU5qo0eKm6W3ZSokQOM07UnKQ2y3I2hBIBblNv6r9rR9KW1FEENC/HEJF4gVx9eNsLI0aLIk3rzShnc6dEfqUqf7m3mRjBZ7nHUFvBONUcV5s97RkmYnvMEgrRCpTgntGjZqtu1HGtlRg3jrffa3mgbksSorgaDhw6u0dtoRCGfbwuMp+ZeA9fkWO4ANZzWxMTCAYFYDFUicJNiBJIlmsqCgjegCr0pevARkEP/WlHeFoS3LXg/rMDjSkzMlXJ5zxu2c4XS79y+bKprbfgjlwBtQpJDkT1kMcsFWNe4Qfd8UU4cQUktOIskR7geWu/93fM79ME+2lWzVDi6JW0zvCCIHrvFwYcNOuvLceXangQms8AQNlwz6FeL8kYDWFkHP9XTEgtD/DwGZ47y4PVyebP/7GdII1zygdYs0rexaaCHihDv6UfBRQYdGsAc7eHzhYn1V52nc7TdvPUcJbgRmdVCR8baXDIu0t7K/5JOqOMGsp/loENXBXgY9rN19mDAgjgofP8UBvQQR36KmRYm2Q1iHI90yv1PwT7LiuG85PtasV1V+Ci7BrSVcMdIqwY91BDQYGQl8lDHkBdmN36JduQa6FkdGQEZYW/OGUhOGd1lxPqupJzjitjFBml2kUu3DwuzQ52Es2mYib9Pur4vScK6zuZ5XXOzgA+2lijwOIZ5yyJLh18mBJy+BCIeRPdox7PRnWx4f6t4BKrGFoEdGMOUvrgjxoJ811cYh8k/JOuyHc9nUdkFowge6iwKAfcXBpkf8IzmeNu+1apbNj/OxOyE/BN05UtZ4fqEEnD6XYQTNm1chyJFFh/SXMef3NuMN88iSVQNab+LgUdOoM2oBp+RPWnroFcpAhSSVo0iWV+GhKzde/3VTEdjCv9YBw6V2vw4b7WjWxh4e7CehTMmHVx+VIXyOVBG2k7WtOw5UC9nnHtqSu/Kj2KU8JFWbij5OL4KZeH8cHne4bKteNI14kcXAj6q5f7ZvrWJ1NiO8kILntfriZoZdcRhFAk5trES3ogTGEzFgYqV9ZqQono284YEZITcDb72wR5vyv4W2wXxO4W/tm2t+LGl6SoN95HpnXGiTql2zqejCgHFRgyifZHniwIQSF8zS2GEdhbpiGgBIkenltyn7jxQK7peBRNrBTQ38odCRiy3ZfeqdO4mkdcvcNPG6C1+DrQS3tVhQbUlVkw5qEJt3H3TdmvMguZvM6mUTo/Yq9C+4qjf6hwXH4VQ2vxeY7tTwnDfVxSVDmsbNp7+SMXNqUVJGoknIIW1Oh3qQuWVtV+fRabz71IH+POiZQDsMhgkYN7QvcmtdFwSsI+4rVChEnrG2W4oYD3m3/d5YSl8+YYCLfOC4PtRYPLC1INVtS/LX3xY+0w1KHWd8P+bP39vAKmdZRbp/97miywk89UOyf7Jzg4XfUWM6tXw4IDuWoBR4EZqJQwyQkozZAlQ1JAu2WAD9YFgE2SW1FTKiMymuldxej0XP7rwP7HXMmGtjJSgsxrj5utxa6qmbZw1gjqAd2q0bJeW9GmolR5cU5PIb7lApZlLb8o3Z5giPSujZ1H6rBS5TbiF6Vk23WKxjKAAzY/QqWjKW7XR2jerolWuQBtVFiW3g21fUAe5g97zijkl+ySeHfpdsAmLPU3yiIJsjZn3PJ/yf8OCoDt1tZP0gjMucKc/Na7mQaefO45XEfU0Ag0KrkJcP/wxOQjcypQzWmLLf7YLYaWyC3iTmybZBZPw8W6ToEgRF/BT4KFY0DxZHNIBzLcxzKNCITlXLKwq+BQ6JuU3c2/WWhWm0B78M/shJqgo81XA7lx2yUlIJ8HCdDKdjca+muyfJgvzQ9IeHemYUiR9iar4IHlo7LqsuVrSAwXwNnUyyGHQmW35faxOf43+oB83yFvU/AemlusOqr5IrB3iDIEawyPvUNlBN5SeXzPZYv7EONuJx3vJ7ojScbSzG+4NedXJahATABpsZAu89qOXAWvALpV1+ouhjjUos55Uy6NKppa1hmnNerpNq3Wq1Qqce7wbw8obgtdY1zzEc3fdyOzPlypZSuXEUJdd5B2rOtdnJuX76Y2kds0wM45Wad/VIgDtsK+qR/IpLY4sk9a2Posbi4CFFkEHF/WX9u+/Lu/S4gohePA28jAGP16HgBfmIJuaKDGTfR2HGGPox3zPBjRcMHHpkqoHexE/dLjbUZz2TkZnz2tZpFV+udLctxqNktvKp0DDCDcxW7iCKHSF9JUXeqFxn8UyW6n4UAYXJzvAU9Pfy+tRF9TSPeYtDdL6la2sOwrdalAcea7y6WBCDdlV1l/uus5zmzKIGTkGyQuI1PYkt6Bjd35rAMKS1GYnWgPfm9u9u8Bt1i6dexC0azWruiRyqk8shBHs+5pjL4uO3tiQK7uW4LWpb50duyg65mwrxw3Dyg2W1yOygnMh6xq561HL+hoOFfEhtdObTEMXzH2YUr1ZbaOA3PhCaNPTx8FfCQ5SliyzrLX8fsHnzKjV86ii6YCCZAbtUWRWVzlW8LWJi7U4aqrGqQRG5mqO2eLQYVsDgRUHK1fYt9e30rGE5Kw3iRcgO/KlR5Creh8IFcco5sQlDSP6Ra9Sz8YPPLSdFK/sLaDQ8252G0X5MgHLVssBfN9Vl3crGKJcbwDdQU8LAxbqaKh5u3E7wNGKePy+Tsvr9/KgrOj3IKhb2nYARalXBJQ6whvpaALW8Yv/hC+zS3EgpNwxo8kBTkNpTcYAsx/lGH7rCL+slUDNF5lUnY6hD3TuW1ROacfuT6CrP9iF32O/ETRhJdVPhnfWXj+/cyXKPYI/lNVtZl63FdV2434MAlqWW7z1up3RLXhSkVJdbcEyu9Q1+KOslun1a+fMNj/DAUDwJ6y3eJjRfB9HKc4OFys6ltRsft5GPUMFIhYCxQDmQEA5ILvQ03eDHsvTO2pMXRazNkCi+hkZ3dshAF51TNcp74zoFreAn0PSVigN9JungQYUidITYJw+7frtZ/a2B+Cn5rMojZTJb+2AN7G0+eExQBqSsf30aFihsPDFAHKUqI14iSs7emOj4olAGy8YmZLusWvRLJOhMfNuWpKlMWzud/vv5vitH8N/vcoB6K6BbWF6WgQFq4dc5XiiGNwEygOwNNjzI3KQSRC8A8Cy5zhQHKKgK5KnY/dE39pehgDEdkOY4SbB07u9yfb14vcbsSCHPL3oiRNxKzQf0E1Ia6HSrwSj9zPYNvU2XFNix+dR4Dsptc3+rBE7eR/F3renu+vy1cM3yWdxaSe8tLipdyNNY/DoKxRyhX0EYGDmCEsT34PV/CM2rak8hz90kLj8iWotU3seSljsb30irXaUYPfak1R2SXeQhlkwdZHThfbCdNCRfPvQ9yQ/3+lSLhztk5Tpxxg6J919MSREcr+FRpzRhGdk9hd5SsPwgaRsjdRd0KeJQxQz2geO94ZZv/lx9L4qSjko0Lc+Yb/TZSD0uUuzcVxyI4/kG8vbjbajVTgJBXKb9KeciqAZ3lMiFHRsUo5Btwl1dFrHUO6xfXhy94G3HS3ZUUDffh+ndkpDM3q9LPSHq5ZrG3DGaNsYjKnEttli3PKBm95PzpziqmangqqobamLFVUJBH4+V3+OIl9s0d6n8kwmV8uPQMpXRom8OoMlbU6t28xCFi0cBcPLE2IAh0AloEU5fAoi4kRrHV74cv+GFDty3p7/HuRANcQbgRo5JfRvn/WU1KccBwmHIyX95OSMDN42LpgqTLAzqqBOn3xjl/6myZjpIL07Q1M/gkKatTHkSmO1F0JzQwucd5g9Za2RdaZUa1k2FGYYrQk7gYLUaVgL2Akrcs+hf2Ggm8ZDaRgwf4diZJx4gV4g1i6Q6QwyKQU+Ry/mf6aRWGjQstNqn7Q+MVcK/95Xl5NOdivmftrjWbKGAGq3EL9GqCHHSY5ZknDMg+94a9MEju8oQu5arKy2JBwMCsISl+EyDo2j49xLev6KRNvnaO84quQyy1qbl8bpEJ3OU0PCScUky+7W5EIBYq8kXgUNjzrnoTzer90txkODJk3mU0wAoNcbe+6QlWmolH+pn0g3voxwnpxIDD7S8kbGuBMJGKHJbEtjSbcE4l1R0zZN6xcpek5W6xrm/EOufGoW42SqH+z3IP+Y4A3gi3x5wMXgYvHut7ujMQvq3k05nOZ3rPcSI6ZO4NFldn0o4OQuOzZwZ79IRSD8pzHiCkaJEesAEJ7Mp8C81vIvjm4PeeGCEcizaASTZQPMLayhQmtqtfz6RVLIEC5nz6iO6V4Ie29swVFuWRT7kalBEci+vTCQfVIBD6SfB0opVrA3DqXQ8PjlarfUizYU/qVMvMHkUniZLx/JOoFmPn/spVlfNurSRbeyNQgTFL+w1ULw8ItFOJ3Es2myP4smYO3kZvnosi3Onf2SZ+IlioeRfV+xrMLapuurQRH+5jyyoNGvdjbVJR/YITgb8OUbXWSuFpept9hWUsxAbuS2eZYiKM791UeXdKUx+lIuOvCV0cZ29M+kOL28tvaTe3Jmff3v4OzS6uqPzvHJlZU/+s58BEsErMrCkn9qEfRuFt7PYjIWSVju25XtysYTpGUBdjBieQDsY6ybSPUV5y4uZVXS71aqbzNWIkruU4dmLTCj23u2JQZ9OqEcZ9oAqlYPMfeeMZ4TY6bPORIbmbqbYMq0h4bvbZcVyw24JAdyFIuvs/M52FMXgPEQmaRi47ZAxb7PJaj6BSnI//llcx1+DMRSd4zsK+NpNftTvnl7xurf27K7uyFUV1v8e3l1W82BGikqN1tkxh1UGnqoI3auh5aHfqk9K45KePyaBsjTmmkRTqSWjTrjGE0CWRch3U/Q9lx0qLovNx7LftipAbZcWRtIHwIq7HhmR9olpGeJw261tYUQihhwJQTdoFW48X3vB6RPlbM9zyB31mN+nOMKqInTLqMqUEf3u94VHaxfQAt1nGNVKSOrL1jy75jPZymSoD4QqhU8pzBaa9MtiwkjeotczapYz00z8RdZiZVIuqpLRlX2ZhSbkQ+aA03N9Qc41RIZnNXAlwFVZjTXbRaG5MUyY08/P6OUaMNMHL7ht6YKOD/xHx04Prniq3WOnxuxWIp8xA+HK5VagxbEcs8/KQR7VlN6Yheq0pETwWvhvSfJhVWdTrHqXt99PFEGd9tnQQmbj3hOldBghp84OOt5rqFKfVX9lnM6d53aQVYAWnFhBuygBWuz4RKVDVA9zN2W81Fjm47B4gsg+cMcLXzubN6dE3J+iSdKoosOEcjzAWILzq6w57e4G6xpvCC3E9ToPO+xk+ZLox3d1a8+IVzBNEC1X029GU3sjJKH/rwVFhr3i+CifIMVAwdVbvgZ9gKp1KPPPYMEJxclZ8Ek6N5PhdHTrJ5N4mdUIfl8HFb5Tti+egBPOsRFh42v9eiTPP7R4On1GPDXH7xaOJ/HS1tER2EMWsxGYhgjMuCVCU0e9KIsDnDMFerwM8yJenGa+tMWvGvGvHxDuauz1V2vLNHVZXtvLDJgQJ9Ti0F5oo9mguRc0T7PrR9VJ/Okb3kqBYaRa04X9wt9kzFFZp1SUO1kjNu7r5JOblUNGT8D5Sp7I9rDr7l8AHXw4DGObaRMxJtBfW4xblTi9uc8Siu6cNORjHRbpckJ6sc/wOlP8fxgZ5TucS4UpVCgNxZkoGh24YXOHoGby/6pxbj1m4X4PDNbl4hnxVt7FZOlZ4Z6+jd4Wsfd5CZyCxowO4uqJiS3b2q1XSjVJjNDywUrTYBHjeI/VZe2mMD9xKLPAYT8YWpwTFGt8yKrlsWufdLegZzDK5yhKUaMLqxCRJrN+y11yRJf92YpqT+vupWo17ce+1Y1NA21gqd6+aedbZXVhQ56diRIpEpX9UoMqthebKjg3cRNIh3Mjc8q7Hhhsf4+5g8t2FMnXnV7zQ8YwMkhP5lsOWZtlp8+mb6R3ZDk872051iPDXQplMIHBoWP1f6hHonjXWUB8fxFKboORgrI6JqbmKTbLNUOEYC7ySEsnRALrCX3UWtEUBO6SZL9fWFL5ErYN4SDFV3LPgYaE2BBRtM2KMogcj+c9mi5bh3qP03vefP5N/oDP7UYUWGhA9Pyo8voRY9c7q+MCkIyQHZ65mhi8aFbLswyh+o0UVW9LgPF2KV1cjdln8JoMA8vggOQbbxH8u0qJUfmdfcSXfxYJglIJiHMH6XdpvqwbwJ6pU2YoEurt7hFL006MH/pu72mPoqZz+DyHEmo2VkiOnjsqOUVA/ZXtbui7LgOF7zi1Wf1dUddSU3VcyS7ppRoU9Vsz3ej9iXyymKgtnPR1gtT37t8N/J989/2vrZS7LrYXIB71AGOFUr0WCIgu95lnArwst6h+Y5AoYm3Nhu99cKBW0S7JGtdspDHS+hob7RCet9e2FKW6Cpt1JX2FXjphJTuYaIlDzVkvNE9OVklJx1UntLF8I3+UFdgGxM2yHQYSFPgoHuxdsbB3tBTRyXEFftopil4WXVuE8oBjc09Do/S1cTIN5cEX/AA3NpdVZTY3AqPjhbKg2NCv85C6CE5O2YRXCz8w1F0CucDyJH7ghnrDAHmUQdbSjfBqw7CzF3LQ5eOBV/VJYMNpMiSW4scKqz7MXu9EBYfwpI7ZOG3ns+Rf2pHjX+AhdVH5tEFP8nKyQpNlDw7wyzAD6fZQZeQH1rIDi0ODs3wZ38+M3OWRBoscGale6JDJr96JvfntrcaeEsWDbUdFZLgidnnU0PI97uIcU6MZzR5TY66Njl+xGCGAQmE74Vk9ae0b+zgf8Z8J3R5o43Uqlbz5kb5l1gX8U2tI5D+ClantqZp6P7/k6tTnHEV3NFhHoTgsbX03t8fOIsK2RX9wn2kKE60x19oM6gBWlKao8JSx1oNvMfusYepmPDB5mSe17ADhhEYLFRjEAVixndFqE1BHaKgcC2obOz+UoeBCxM+zrW5Vmjjerpj1LHRTN3a6bAUlUUptMbgVKtF5YROmyFf5E22IaAFK5iELQZ7Iw/65lcXtN52zfQVyRlUbE5pXjrwwSc+R+CMqqTYovEQXS83qUmtnv/UrCOpLWOVwUgt07fTygibxgnnWSRmdstZFZ+gFjqt536+IPfoGTPoeJyAct/sMigpu2Qva6PsyjbBXuFJpbjcZ+z8F7oUHiVy0JOyXhaUtAgSgSRoHz3rOJues6AqItN/86GMJqlcnwa3w+o4lCc8FtY2wViLZJJsDsKAq0WdfZFLXT2kGT++9n9/yk9OTotzsinJp7tKqwwV5WzRV33d8eHXHtb/sCygosULsUC7PG7OPwWLlPSEzkGDnqyxEbavanPNh+aE5KYi593f1g2cKRhRqDUfbngPt/WG+JjvKssHC4nYDCdwcndDHAFLoj1BLaS8jE9HeELmh7P5NTr1uu46D6tHYftIBjI4pFxhAm2Rd3lELZsz8wv3Z2M957jEzZVi1oUYDjzZDfdSvdhLdmeHrJmHg1mtA49/U8gizh0xqtF3mzOy68BHDBIxgrAObWSf2g9i8eAVNn40WrsnYB5MzzuEnjkG/fH8dadBJP/pBR6Lb7ZivW3PcuWB9wOlsdnHs++b0ttsH3Q2iA2qpA6dko8Wm8pUJpte1Tvay5yPr/fDT7L5j7iYcFyNGTc3Y2Dh53PC+wac2BNF8w21d8dIBi2F9GwoS9bv39zK5g4wRp0OldRA4QQG8BMvyJu4WD5tcXqZk9oFZ95E1UWBqwKKuvWfHUYu/iPHSPGGmfoPX1UnQ/04EmZ+/LMvxnNEsuYuxb+/WdZqaevtNzlYZmYVg4k/X5DKunvV4kdesUel5IFlYWusHsfw/+kwuRlTI9Ye5m7pEO2GLKDrzbxEm2pM88Id88RGmvADXu07pg6QgDoiZC3tzspOJ/JGmyryUkzhOkTisNTN8tkJRWko9oE7NnO/efrxvAFqz2O0kKloP/CC59luSRGw3FgZTvKqcQs8zMz03lCuR6m2HxR1q1gR4ja30ZD9HnWWQYBKLPM0TaShf/hHfT7VC3OgRz9XPCOehZ0//KPdc2L8J3+8J56G/QFVN+UJDw+/+ep4GtUj5Xz7cxA3AJSsSKI455IkOCdIkbMrn9f6bgH9TEsh/X2cYgAqN/hb5gpF4NgVHQvj5F5xrS+TKHybD5U0iL1e78yUxo6ALzp6A7iXniDR05kJg9jsT3TiB7eoUMz2IbZkqATFay2eFUUkckI9ExRweOoV+d9KbNITHeZx9t39bCvqe5/CVbb1BTLuyfLx0awJKdUJMlWzqC2j6NvCjusH70fCsRW8R/vWxdHSM4X2Pnu/fs08IvbWX4pgl+bTZWXUVekjUVLD0W5847ve/0aHOSt0RQdqqPVrWrR7B7qkLauqjCyJrWMwFHMW9I0E+CnmTQklbq2V6er4U8AuraiBvJXVlHrZfuNBR/fsWfHhFy+Jlh8Rr74by+2Vo11j4aW1bVzeYKo1Fgm5Ik4WvmblC45hP3kDNjNzfWiGkY0Skw51HOpsxHIzZlAARjc/AjEXhA2BuBo4PMcBrr2hlRvEd5mPpPPAH5yrGEUnpc4TOzOQ2KRqlGhBHdGAW/5wxhukApwnhAqkkxwFefHcaGZDRzUCTLwljzVdzdaathzCgW8qe8d5wk2QX76D7rrHXrjWiDOaTUeli+N4guW1bEWCGYmfDI4+IClEZLxkb0JRQi2eqiNzMOfXKNygkZeNK07ah8gqEa/IGjARHLV6SVP1JicXpj/4NvjnaPfELhR74td382lihnlmfjK1P5WZ9Pn4p8eRtrj0E3ZkZOiOlxDzS6UytDqIup2qDwqr6ZPpAiq2njFLEz5OJN/9dMUSrtz6e/sLa45+DGDnr97+Ch0/5PCSr39VLdceuzfaG8/vrlOvrUL5c71ho+f2ksiKIKGJnVIUgBWDfYztbAB+6FtNaIjxNpKZkwNPwRgK1kh/MnMVJCq1OZ5rfbFZnpxOtZUCdmweC7aUv8I9fuyG/mr/kfiTnGCpIMvNzDd73DPGansV27W8svOZuEj4WeJmK24U5ZGrgLOgsOwO65kYQBWZ0W3fYMO5knnzBGhhcLq8VQj6oJ59P4gAGSueB1wFbP5z0IcI6wevSMp5F9nA0ShqF5PpSq/OX8ExS/ja7e9d/kM6R1obCfLQ5ve9iXQbP/MxLNSWPv6mPVfdobtElMWkdg2jMnOnFhbCd0u+AHOQKkwtsQk+4ofpXhgn33g7nlWofEo+ze47n0KG+RfuJsbp64lQMMPdF1LTcaEFSfSt8zsbg/+E9CgE3bOmqy34nnHsNnXmCATaI6QdRdJfb1+Zjp76ntWhQIrJpxnKatoO+iXa4Qxx2+SBq2OtbQzrUFgdgh7ddPPoin3tKAPEY+grY706vP+VI6QSnzLmur9Ie6GLe46Gd/SfBiz4YoYigEmDnLMiU6obIrnUY4jPAa8fea1UX5jKZntGTnJIkIth0tu1StaLauS9GZfqlrzS/vTbVpH5SaNyQxLnEqynvwg3+Qg59nUL2tHLa0PVNKpSdA14Yzrc3bb3cZPU6tb23WLIwjRxazOM3CgpI6sbNmukwBAC9v7j6cytgyls09alsV1I3TPRZ5lqThUfSds5qugk8PceSyzJRZlneBLn8SO4P7X044TZGvg8Y9FzReSa3tUzyHBApdlAilbYRocTxWs9XZQHjiapbphNXYirIROF66r75nF0XyI1WRFtBgOM0HSDOIzej1M8+4woYPeQhlGS0TxA1sq0MWwfDAp3mNhguyeSsjm5QBC4nhezeiMdm5O+Zb17WNlaCRaxxoaOnFkONQfkNrh0XwqWjjpJvOxjttg0kkfF5H1v5D62sUJIAZo5YMPe7D8Pbu2+2K0NZrQjmNeVNDFufbL407j/NiZ+t5v/OmZ3UTVhoFJh0bJiT0HNnjXQod9G9/H3nYvmPWWjdMLcrqIi6qnk+PHtmRrRkLtLMFeenYqiB89YC7qDimGh4XelNmdulM4u0cPtdJr9rgjkTl6L9M4Flq7JR+fyAOhi/XvTokqC0VtJorJGYpARGXI+pO05d7PozpsGuC659TiIDdqQLvaOrEilWpNXi6AGFz/ELQ8ivobH+8lIAplrs3KwabmGw7qLpKpk9kC77Xhh6ueyB9OU5e1Uv7EXSaTsdb99lxzNCppZYHSYzGxw6DZVzWUogxary59VgBaNkNozkQt4o/3k1QJ+8kEHf402z/16Pj0aK2Rnb0tIfjyhVHQ1DuPfnikgpRB21QKSaBz9Slgapb+dV+hHaq2ESLQLoy1BxPeCcRSElDDTQ6P5Iqub+RuFQZLjjPibqaUDirrJFmad49hvfdwY8XaodO6Zgc+h/pCGfy+EmxEWEOa/Fa1jYz7D/eLOD9qM0KfBgbIYKW73dcucajBFvBBdnLvOWbhS3CvFTUX/71IKL7tb7HXaOA6rA9//VIovMRVH+zla8zl9f48WQxIwl6icZT34ugdgcOx4qEEAm0nl5z+P5zZ93+KMStjPeSTQ/9HAjPNMQEl7Tgov5oIaU0bwhnRfzJSYOOPNyveHM7ZNHTaxRtJokNZIsNwYay11XDjJLWfoZU60XXcbGaWroGBAX6cs6eaovtTutAPfllD8iH2qM+P7UYf1TJ/ZWO0nbOHUZg+w9X+LOLu0SPgFWrLgi8NmK1I4vbwkj3jklCr7hy/OfBXhmTy8D0qZEklRoxsZVD5HVQ3kPaUdMdSWVcqBg2MMbzAG2LPgcYcR2ogVGxvA+dDUXIyk6y10wHvJ7jp1OP8dtXgjbQZW2cMN69OiljOOQZ65QUWb3f3+yqprVIByxuZDntcxBB+2qtq0yJCdQaDphH/Dib0jZTlaSVKmdyspjeIzKy+l7ST8Ji8P7QWkDt13SEm5MDgdaOVnLqwObzDnrrgiZGuowP2suW0PIxT3IDENZhgJ95tn1nJ4PhdfUOvicWprow+bqNEpZsHesOnx4OyTZ8JoU/UhWSfGWWyExCQ+VLznuNbQyakg3oXbd3ZS9TGtNLGAhPrCS87aSVnoTLV8IGUm3OMuwolK2Mwwn/vsiaqjcsF5DU4O2ixfLQs1fazuqHQwrcXJIkKTommqYoihYGx61xaSSnzocbk44wgwR4S+GeF1Mr+bNSf2ZZFoEhpXXmgsp3B0fOjzKmqD7zzmEdeDhDLd1X1TSm4mDR7AGW6DbQe0U/vujpYXbY7EADx60nefYVDg49VkOA4UrMYTUndbZteL+ASSGG8+D/sou6z4Uil1t+Nx4Om+eN/ckyfznyhaF515+TxuW8mru/A/wJ1aeD41IZkzNf86/P4vJ28m/2e5+QX1Z1mGvvY3fuOyRJITCW9rvzdz9bYgmLrWdIPvENPV/bwY0zf4e7P+nOprcN1XPebdt3zfbEIJi2lGBNCTSHZyiIhqbjYhTgVgBk/i5/4kTx+wDJtHhCiXQyYH40WzP24cn1vZpqMfiwo8jr8lNO7z2FgczHnHYjptLax2trP+nNByyoxrWFnZy+Cvl7l7VSfkDtF+rDun/hpc9+UedFwEFHwq3/vj+5iK6ucb/WeWPnNk1Yw8PTIQMgIA2yjHb0EN6otWXAS4yiCLvgGkqbcdARJjfg5Bx8VOzj+curIqt1n+sLTocnxke3/aCkL7UAeGp46a3Xtxjp8r90cdpRwYXuvgewAK9o5imHCp2L8M02x+Sw7KOahHBSHuwjNv21dzxDDA78zhR0GQ/0ru9F/dDMlQ+lmtr6q0rIymNHMvkGwDz+dvSqZIlerV0ooD3kdIzBK/w+3zDfyedi2vYM5tVNI0PnfT/5NxTb1/H+B+Ue0H1H9SYF+Dpo2ZuekP/z/HoklZuF1S1H/e2QGtIwMkV++mPpwE8BVFXmATfblSgNbVpfhfas7FjvXarR3O5AX4K61cEV0OORnMQHBbLN0CT3VBD1rP3v3guiMF9hutQrVfiisOxB4hMYl+Xx7/+kTY0a/1hLxc5C25U9aCUmjuzsx9/Hd/6Xpqj3y0fsPrtkFbJgZY+rWeHAf/VbdOTtH4vZwy8Y3lvcCk/xpuJQ4Nuu0dTkGG8+2V3uTYOPoEoGBiXBwDdMzu+IoF6NQem+S3p/Kk0n4iOK5iIvjMF6+LOOZUg+0yTkcWIRy3pa1YXj20JcOiNu228Zt76oPxB6DVALhNgDV5RqDHTcLrRBph+3GaEwC5nh5uzMpCN9YKTgh6NiRDqjFcE2q4XSX+vTl6WzC2LTRXqweQofPKCKUUONzZhuEGXpPOmQ7xgnpyeK8e8by02PsHnbgL+3sJuxZ/CbEUMkNaIIpZnt5hA18LrDqQLh/REDEB8NiUcdhKT7UCGXHdb61yGAeO3UwW7xopKHuGWPB+qYdXT1fFYL/6KbegT6RYxvGbgpquDbjNMxQUF4l9oNI5vqnZv4H/2c2DKWYOjhsiVWC+vA05lrTnAwpGASFoZRXVpaieDi9Apmhw+xzlNpohpQbomO9D8BvZsPIBxAoe/IsdvpI/faqLUsqgx2JfqtAeYzTNLfYClB9wQ/K7ICDNekDhljJ2qOxnFHHH1NSRM/ARjb5BJk04AYiV9poHayaY7PAx6mvlpAEQOAzMv5u4cxraiZ9/xu8Z/O1FWhrCsbpVH7uIeHAIFVjCIk9eZvdhm6TfxNygW7v7eACZ/i48OiX6t5QA86PwmIEYpcyUpUb/0SKwQGoqU3m/76PVv528vbvtgP2+Ge2h+qtjb9+q6Z3yJ/i2HeheZAh3KRnGm/F0mvZGW/IqyMu0lLRbZkKO+/LZGYtmK9TZ70pbqieGACJdcHCSjKH6Y03vVOeiyVimHC4nyU5J623xe+wXa6+EJax3gBPBQ3VvljDnyuCr2uFYC3LZ+r8cj+je+/06rE3muHBe/pTXGAqQ4cUKkxqIQSJk/giOAwXL32o3jCrenKhXcBo7cM/+JtjZ2pud09rZzQ8XqxIMFks03S+63fKs45srS3pLPbEitRNvzR9sKbdxSlAzuXQd4kOVl+pFxMlbYGIxX24eK5t6dtnPPl2UEcUf19A3jrm14OBQbhu3x5+4omXK+HcoKq7rOlafE360KN37nSJjOuL6Es+Q724syghSdc0SFQBRlcaY7yn/0j+riu9ezSPQW8zI09DWuYjj3Hl9BpWOdmf1emI/GnO0/Q8T/mGbA6mzBn/ncfYZz5RkYcpaHVWCfuKO/i1BhTMuH/yxB9jDq5oXXyofXuDYBXwCCPFFhfnFjvDlyfjt8TFDfpbDapwiD5wtyiuqirCni1l4ipI6KzYhJHCi8Fs1xPbopbou4Fkce9lyVnOryofiwQb6qbgB5WfX8CzEOOEZnNMz2bTufDLNu8RIPwtJM01FeK09jIS215vWuatMcA7PRCkZbq5fwwhNeYEebMvx5VVruaQ5ZcS6F/DJNXucIBbG13xjyMIJnRUr4pp/ShcTfDCvKK81Co4DwrxouG0z8TTjuo9mV1joLSaErAz6oKeTybZ58+mpuo1iChq3qF3ApXMiE4kMqZpRIFxk9BvGGFy8Q91RtoYGCDOBRkYkgjYRwG01tBa4SvfejjITT3Ii1TItbPqMm50XluTXo1hjnAfzZtQP3bw7w2FvwREZXVoWiW/oajwDswkDKfR9DEFmMD4ExMYwCUhvY94g5Py/S+VZN9i4kv2IzFm/vd3ds7VdD43bdfj51/SopP8C3h6IE2dYLGO1AW2bEy4+DbNFDB9f/HuPS0LSjPEfqiXsB2+SHcR/Z6CXZhbYEBeGbA1jAA0KQ/ARo3w1rXBodSOzRx2fIKJumb8S9nGhZjwiHmaQXArbdtB0dnwWYoC0Q3i5qZOmt/NImAHSCABChuBbTtkEAfh0641ki/hG3QKEDsEH3Kc+LGmJ/L63SEKCEB1fjDYhU8/UV7qeU3iM+WaTCMv/T4HB9Uoez1KDexrxHF69TneE3dnEntuCO0dYefKzF/sMOwfbGJWdXNAGARBkdZaLcITwgbyDNJBFrT+p+VjpDlsdIoICXQZplMd/XAPI8km5t82rSspymmM+mCeXHqkITJ5ZP0aDX1RbXgYLLUeXZqfEppp7mOSLcT3ZwqCQeMKz86mmZJDo0QnOEfpqMQfmgBS9tao9WNCpTFr9nuWZQLVI1OzrNor0dxTX3J5FSylWNpU+76W5iKbw7XpRl1p5C+tFIjYFtrkernmsJBy/dcAmz9Nn0OepHmp7FKAY8Wbin6zBlvsc/fn6U4ja0lcDIq8iCy8fLBYIvUvMyA/QSpIqc6tLhnR01eJ6/xTD0SGCjusXjjrr2w3WOIum8m8+pS7ZVWDrlrokVKNTwn4j/HbT8jeh3e3qkkFiiybOUXqsuL0Xec7OYIFPtzTuWZyJh34latonrolNaFXPP2JKFqY71T1c9KTNS8azVFRj0+3SmJ1m/UGcJ1cXDR11uJdJLe3wBUs963S5LR0r1lpsrDKixjyy4TInXhXAMPqObtoj+LA7G6516GJyquIkrxB9MTpW/heOAwXjRpRTrmFHiLRh1jGsNStdua3odL0wLNr/Bf053uVPu0luQfnfsVGxMO/YUxYkKrCSeBc9qWhAwUJBuF8L4xZHPVxg02zLi21O84rBDjpUkk2Tghi+1tzbXOLy8rj6bOr+pQSshfgD49Fmx7eHrQ7utz+PSabUEZPgUmkSair9Gqa+rqw2HmV4NhbSZdQdq8eSi6WDkAKuXUvTPs1CUp9KYdrGqy+XKF55BpMmulHzkkdLAc3+S16naRwtVdSpH7RNiqzHLp9j43qBQCW/mil/oUlr+nuuyAipe+ae4OW5QCRfSNLbW2ACa7u5LmWpGzoj5TPnrqD8FvfMqH1ptXe/9XlMwvTxUmipx6v8P+F7wuSZaIQzu1cPOuEAmsqWRMPv+RFKKrL01MTaeLHtYW18fFFbMr1UTflgEn+v25SbuiRZ/O9If+9Wc3dxTL6NQTyr8fYLEc2r7YFcjuMC2nVRyNIqlVNI8yofkzaV0x3JALCeLdD92I9NmzsHb41t0fUjzpjLf5uCs4L7ysA3fn9CEOZfbP6D+j0cwl7af9B74H3D/+hqx387Lk6maHwCew1XfxVYHpRCY3tLCLbDUgECJhn4bxh+L/mdUZuopjd/Lg3machXkq+aotxN40M5PoNWA2+GzLdO9eMLwP65Z/yi9sfHuj/7lT6sdWkVfhLZ9fW3xHaz8lj7vcajpEUiYqXEEA5ZPn1/IlDpwOg2RhXcfGztabZpjA09a7W1+Bjm1WtvYRzPRBUgMIcznUuVFwU3+2mMqp403vH4dV1yKpfXdTyyd6ClKrFhrbC2F3/jli/yGW6m8qzSvzzD/FZIWMnaS//kg4PHsJYsdWDW32b37UObo8utrbeTkpkQ3WjXm2K9tGfZe3CPSyG+c1HQUYuLT2ppg68KomkJoGP3DZ9WKTVbekScnFNn/UNOiJfT3GXYzuTf5LPs9kfh2aejGTF6zsIfGlmwQ53U0kYUWUpchsjVI/+8qD2XCn5YucX11bS/7fGhfUfXzD+cuFv7p1OwAOC4P1Jny3alkpkOZSV3OZWs7fgMAIdDKRbQugvY/mXVZeqzowchr15YXLLyxvftdWoL0kxfx/ELsOalrULgd8XmODlRmyZKVUVzdCErn6r/em57LdtJjO4/IoJFJ9LVmkd9kouHfhBg7qF+YqNCTtnW3Mrtt+MVx3mF6J9DI+V7sFZPyghlvlIw/UMX6RSGKrz9eovd5Li5N8D2Yvc4BZ1WOw4o2GFLJ1eym1t/xCcL0fex0dBbWBAZiUZXvkWH45T+CGYWZvL+4Q1lGpY63Ymz30xS7cNRhbfrFCRwBeber2vtmsVw5tS3u5EOFFSITZOCpHutqZfTbP2ib/nVRzxyaq6tp6gwPKK4dczBOt1Js99NUioZBMmt6KOz1W7s7m7wynJltef7uZ64hE+FxWJfxzcUCWHs0nWOJ9s222A6kHtKQ3TbZEv20kKWlUNoyOJtBwPKvu6jSeLdnvYknIgu7xKGD4xFdri+qR7zyHIxPio0x4kZQIc37O/dZY4XTUogtISxOtW+N3l5r9uDex61CWngXzSjsSvWMTleovZsfwURnpSDt91sUiLx/oh19nt+r47m9dW7qIUB0AOeJyhTTw0FpO/eCkQMyNqhEztin4aJZusM+q2dcXwB7lHd5vjD4V0+JKbEP9zw9Ubbsps8QJNx//2cgAM4/GFuKwUg3AhAuMRlSSyZ4R/vRhs+dVf01D7GfE/bwFkrwArGgYLxYOH3Wp+VsgUSw1/1uCU07UN9o1V9SSEWYFOYzp0+1o1Ex3agwxsj7l5gDiLC3HXWY41kpcR4IFkBbmeKHYmQBshDIA56b3CMIA1hpRZLUkHPt6Na/lw6RI9yqPtkknivG1D+wO85Ej3DnuV/PFio8o699Ny70sz2cORQdP6athHO0tjRipVFE4mpBstWAYQZWgo7Z52PiDgWGVF56bp/fCUF6l7B18nZ7+tdughXbQj7xlZ5XwWIWAEx0wzDyXBTw9AaIoZgHLABkPWtF44EBzXkj/nzuzIcknweg09gZSjioFkJjXynoyqHk5KEJTSwfT4R+nJ2ZUbrrNKOboNvQZHvQp/BHrKlkyrZyM0rXMvnL6LRKjgvrHpPQfObtKolPCYsrLqxPmCko9ebVuQaub41PJd9kvOcAZL0AhL4xfPXX3fTPSjHFvAXtrtIqdQQ1dcW9jDz5yNdmaeNAAo56Kielk9MjWmn0nmUb44Xf7U9nHUfTRKW/BPzSC7wX/Ly3MiNyUHca2VEwJxM5d/O9tpBDgspOddc/M6kz3DtfYYxvI3/o6ysbb57/ey65tQw58h6cwNPScd2HcIcY2LqYBX/GUkFnyEc2d7g6f+Sl2dGT5gcJIygH9LVb42H2xwOvhFmx+dd9sdD7d27hT3EY2OlJIUlZSSw2sqIYZtEKoCZd7a2ecYVpGNdMMWcMi1L403+3aDeZaRTfUicmzZzGGckX9fiqDtCVYUgVHmuKdDRqUCOgIs5qHRQhIn/O/P0KOOG49AmayPTLusO/tzA6ky5bhHMohPOK7fmvKFwu8kNyKE+aJFVc7nzhspc7aBQMFEJJwPsFLjZmBIjg6GKau9hOuE/jVCFPc1GSfMb8ztR0YWdcNAbUMg+evovZY+SUgE2+XwhW9wJjjN5GqxmVOu8G1MSOyM1sjifIcvyFGb4bsDVr2HP6VwluqFxSN4FhXQcDMPts1583fiZDzgYnDhpGDxYlWHDY0ThQxpyftx+lvno+wCF1NL/KvIQa3qQwzxN6HxQUNv177sE/U4EUmFCyzU7Yf+FVMTUIaAe+7yznnUSJ99xKZqKqUTZoUMsgcahWuHCVJdS186V0NxnH8NCvudQ7OyY5e28WyGgLr1SQHDmKa355+nfj+SuBpZcZBgHDNutaESOv0mN0P74YtmVQiOxvSHJEc551387L7QH+9NKBpePWZN0KCghgoTbrHqT9sYAAj2p/qthyu3e6IreHAE4/M4hJ/0UC5kX8vUsOwCOd6SwbAkmog3GYquuZKjgqwIFjn4XmkCLCk3cmXbHecVgjCVimy2VQdKUKu3gRu2AzRm3FkD9fqUxlBp5K0KyJSzgcy0GjbzGeujxbXTd95bQFzy0RNp0NMtE9WDZVwo4FAlz2+dFxFV04ADPTHI0zRc0Ov8I8CfGt2VDr111/V/yQykjv19NQIK9wxNw9NRFQVKDngd0fvCZw6UQn8sRaC9Wrrz4vPgPaMsF6kHWeplqMW5a9Lopsd4i4cWGTZ/43ETdiibayKlqHjmkp2HrmsrXApBZs7El44rk5+FmEXNq7A2gQhwWr7NKXij4H3yWw/m/b8lqMCgIDsCVesZVbQjg8zspKPnY5b/eiGzomVcwBPx5byGjSCFPRxjwJbhgW1MEtz0cB/QKV/f/Ruy7Ed3gW+etRYWbsYJC1ygO2OEpHK/8K4QcpLS4HluSiPCFmvGanEK9SGugGfR08Y11UciS9BCA+iGFqReg3kKAepWDLRXO8mUMva0wU0k18FfxMTNy86qV1FSz9qZUlKyzRa75fBDDuSIDRSLxIY0eJDpX40fq5Ny2CJfsaDNvrSC0vDk8TNecDbNY4kcAan7gWoKUOn+ifuOXLxuOfo+UZRWeQcksoGX3Mx/3nOpcz4Lx1I8w23gJz9Le/4uxq6asa6w+CjJGsZIObjTyPcKfH+AR1AuQpDy0tqV794zVsEvCulIOELGUYsNduXRfDim3cZ8Rd2VzBW3nOzUf1lQNlTb1FXyt5cJ7dE2p3+C7M2RDq5kZOTkUalubG6q33zIsOj0WFztMISmKwD7y9LDVAXf786hESr0q6yq01KqqgN1X9Z89RXt/ow92oH3jnkj8RPqpgSVZWbxvkLR/+gk+p6pEBwwUyizRveRETIlzPOOwHawKTMwsi5Tdf2hQ3B55v5+xuueyriKCIeQV3sTcyWaJ9Wi/8kzwiHZdunZA1jvuMwIwjLjw6BcfldXuc8lB1NQ/krUXFDxPPN4FdiWPH/DTIPFfRp3oFEeSR46iGVA9cHAwoDSxPtC1uy47lz6i8T7DAMPmqxQS9ueik6rORmsFc7CAW/7j+feLnCLWjs43ObF02nDKsE1kTk6hwRolWNoEX8JleI3+hy4N/2tdyD3r3kdsgnDM5hMJFTWKpIJ6CI+SCo1XxyYE12mQw/TwUEGtEIR/43LiLsSJyIjMdF+Onk0N5VPlmxu5PEtBYaWgoGLhII8616HkYyfpvyhXGqWacYUSsfkUv4CMGZ7j2tQ1Sztp/0WZEqRq2uVYyg6Y8HavFLlvczNetoNLNUoEKZeisUD/yYVGQICyJGA+gDzH8XG/KaQ5dHRQywroI/4kMaMrK7+6dMslIxwJ1B/TGSw8JT2kj35qdbI/A00fx/szxrIPV1jEt9Qf6PlePcZ70FZ72p9w+izx22Dd6frib998ns8j0O74hoTX7544uc4r4UD9igybUtcqGvGyhGHFafFixEStVaM7JeNkizX3E1hgj9qufNH0vVwuLpC+JDuXSWaSEFGkXE0ZN15RvZ2Nv6l52Y9a4SQv2TDkHTPgNhBHpWE81MwKRozVig+qsM43/1TwqU7f1Fsp1gNNt/MdxlM62kzrEiMzFokxE2Ktpb8X368ckDfOWT0dh/SEqrHtZkMbFfBlQMaX5rjx8oXEYOtEP4HQZcXcMb+o/WADqyKwitk90iq7Z2vIaUTsw2S6xg/T0nF7QJobWAknf4hjcA3H4h3lVf5pY2Md4uoL+ALHfiXMXwmg1w7seaznU9sQF93xpcf/p88f/cP1849+fyrJwM/AXecB4Dsr+bSSqRP/ARMP1Ej4H0j43xLA3F/t2+Ocwhe0DwWbRJWmhDcevgK92XYc46MEELLC3y+QnkuTDz9vThp4XvlM8qfozwnC9+I9/a0vsxY+06fEf7wb2A4m4UbL514cKespB8cE2fZAM1zfGQfzNhxc49c9/EBaYZD3A+3jtQGnfx3lBZUeZnkVkYXME5sH0BDaEDP+9NZTWPSzsfmcnX36/ILEDneeNsTz5IZmLpSobZh+bIim/1RUkHdUFEM//nHBtMR6AbLTdNfoQUg81JRdDVKr5NQX1j+m5C52MxTdnpJQg7BvVYijR8QFTDbqYxiOufPyv0M+w5mNBRO7+BWB1xURYhdNrxkVMKOF9VWHiH/g3ClVXfvbjkwWNavJd5ZhiMYGTN2ty5ePFXwqq0veKGBgYyAqJj9dCNA2/MjJcEziE+k3ydtvYsVqfUP3cU9v77KMt4iKhiP3JtJ7Lb3vE/TWaFIKxbF1haoNDlzg86501tz7Fph/mfPK617BwP5vehb0o3NtoRlnh+ruRf/EeuFlnnk/wG2A/aAdj9VLOY93iGFnKLMjTACABzduFx/Mf6M81WYACKUo/ZdeKqYRLENAfc2B78ivWPBGyMGMSZxeUVqxT0BEfEkAocJvrJS4ysixpLusCwXjHC8scq7R4k82E3otxCVndGeDB3xr+XV9t+bTO9KhFqq6q5FRXfH4z7roGwap9E7cX7iZ00AAu3Ho4k41F88L9sNLuIyjJ6jt20BY486zLgomH3qS1cT06bGkCN7xX1nfFf4hZWJRfFl9w08KQbKjMOscnfnzq8yPja5WYHD8JzJfdUsjrBFw8LYnOfDmOVBGlv8iPuDt75NNhUkCzncw/lhplqZbuASefLL5DgAUjAHuvya9Sm2eP81x56cFSNHxPKQ+XWJV/pXT83nwCPq+J8f5bZJ4bxGUVtFAPxffZ1bZz53iSrF61PKl9wGVUHKNnxm2IvZ78NRS4OX5tmfwO+cseG14zD9DRpc8L/6fDgy5+8N1+Pzw+6ffmwPMpXml7MtHOx+/HX0bgrYk76D6W+2fbAEAFOwC3GcKoHw7AyCxA8gTgHBnkzhiHXB4bMEYYkgwpmnsTJnQP6S14J2uABTsf2tJd0B/70d0wjWhz0B+0/lKh2GYBsMR8gmpJuUIrT2DxaGqnDgFCQobytOTA+pzBUvA7ZbPUFaF4DkYmkHiuuV8EemJI+B+KR+IsYNN6tMjWO64/Xo4oWCzAsDp4a50S1fjtuKLAaASRMMTAGPHcBtngyB0nhOuwlTfo/APh/NY/cXDe8fm2qAOPHND9ZDaT+6djIKJGJr92iazkqixm7g7nFojUeXBCdbImJ4u61c8+mTzGqjH29kjKHOV9nndGNfkjhv+TGreEu1Bv/U6G0/zKKq8Zty/xfz/GLh+bT1TYNaT1+TUJzEWZezks6xTy9jXlNX19Nf7Ne0vsRKGfZhtEh0QvdkQ8o70n1vDmjJYyWDi4g3ku3V2WYkxnfOq96+GP/FLE2e47c6fZKabAKXxEky0r3ONAhmI+yORvwm/udRsqlI/qyCu2hqo7voiTPUr1LI+ev8LYyd2q5ukrIp0aVbRcwh6eHOnk7LaORrRur8V4sUWz3/nElu+7fJz/3jDI2aQaMgaXYL4mVolIFeIfHV/TXoxy4z3Wvug8ALG/5Cxy8/e3ETl/91u4al9U6e8HLTi4OB70KRgCeGhO9wbFbfg7fvAkK2/wZWMk7vzYlu0F+SeQuppyuiwu4NSm2weykMT22Hkrlu8R8oKd/mkjK+OrzcPHCBgbZoE5urZ12aI34bINwUZB6R0sVuzGEjZN+kHqCPiB1H8VDCbdoQ0NmzevPQ3XrEZRJQIHL+0trDw9Qe0+s2w+CxFx2d0ZSHDFiv61iTevKeyDhIkQr6iOs8DBtrRyF9xrVN09i0vNx9lrdKAkJjt8j/dt1WP0DyMDXOxuyzir6S4MTzjOmegBxsFaBNfulCfYvB+aY+6SbdQny0QPKrDRKd9/lJ+XOpwXU1SHXfSKMBtvqGA/SBuw2ellYEZ83vKy+mdnVXt9hndxxP5mqIXOxKGPZRthQwSZh75WR96yPaa41WUSY2Z6gtWza+t7ufElRW6cQevA+5cT3+WtH/ge2dX5U+IGILxRjol17mk5kH2sWprVnqMjdh0bWq3pwqO7y1W9Qg5XXGMfVaeYrEWFlJ86+WL5INDZ5AbL7MAGTeqnN9/abDTXunupBhUKSPWwuP2/eukd5gylEUp/geqJh4GfgfCnbQ4n+bR34PDNXjxT9pqbO/S28CaIY5JqaKO8yr/4O+sTbtcq9kLmypoJVtwzivXzeymsfkQtgdTbaxGLYTbwczeIQ5GbpJxVHm5X8r2+ljykL7p9KSK8sD8sykRSAhhhmMO04K8G4K13MnfnNOdYf5WO1x2f0P9eEwqUNribItgwGNPYS+8fwUxgdQpKfGk0cTmytPNOx2T2lscGb7/XcMFSymzlv94ywxX1l/kZef9hClme5eT5WHeMS2lp1D2SqBs5Wk9ic6PzqaOUlEdb8jm3MSU2zsr5TpxXdP94jXogK9vESfSLd7WAQbobRiSd1pt4Y8+c5MoOY9Et8aW2tAUDBjAl+KyPoZVNI5lWfeJa3HBjYvVIs3ilR2um86f+EfUyi+ZMgsMuKhPsswT2ROqOgN8ibW6+m2jJ3i1D1czTX2d+goswSao5gLs29aV4Fgc4AGTF0yj1tiyOrYxJ9dP8LnPXJd3mlhOAkPbuWLxCZG+1+AruzSi4f5ug3TE5XtEuVlk9yrcjlemugABZGMk6sewiixxWX3iigsD80VT1NgKv/NreAyGinM54qdEGl+Dr2xyRNadB2/t5rgqBQAPmLCKKskwgXS7FoJOn+SFpukAASRlAYkcQKrSZ9Z/2eebNujazCvjXdFxZcLs9DObCoS/nrEZl6R5OV4SS/SZ51ASELyotp974TlAyOAnxPOKsWyCzN5jDY+E69fme56nH/5W/GSzSBVZksxB/7BDNUz0g/IleWP9A/qR4+dpop50KnCT4u952JMrv0sVYD4sQCuJyYUR4aVo0BaetlU7E6l0YXr2ZhcuUpSsPB5x/dLMtHJXY0R+r7aVLbwu3U6KzF64maDiBP+ULyIT0rbhV4gKgx3gSoPEvcRVpfGxiW4eo+3al2nEd5B8Fo2fiJcr2ctk4O9NbeXt7+bz0s9NKSgWCLBfGSuAnOebvz0jSbjPfR9hb8SeEJ9ijBUGfuojFY1z+qUpOXb+7yu9sxpb3qkoC+vqwAn38N2SaMVCLX3OBc5Eu61CDVRJskpgs/IfUzy71/+WSwqQPBS5rwGsVk/AbQiFv3ZA4lbiLr/5WMk1d4HD2sE0/MoSM1w4/FMZxtwBokR66sr+Sq5Eezzm2Eox4rrQGzJJsHKmuwJr6OgstGYDMmyVXk/uJdBIZCBuhQSZNbWu1Ut+sAYrIO/ulFYhcJCS/XWNv7K46Y1cvdQ5J4yLPHD5T6zjwyJVFLZytR7S0p3fjZSLl1M4qra3XIBjl7jhLuYu6vJbCQNfHbPjANrlcKPshvG5jc+aw5Vmfd+5ocp4HvU00eCxr5p/JhNpMPkiylTZEmUyCdLvQP/7wkK7zEK7nUhU+Wcgndvjk7PDhff3IGIAduhhMDaerO4p09sOIDhrUGM2EquaLd/yeDvFw3jrD52ejBGU6CF1leR9fjQ5r8H/t/sXhkpuPrRW/k1f1lZM+1hCbBV/6eOidn+HxduB3AchLyQ4NGgf+NvPGxF9eb+QSqauKFCAQmbEyzdU6NgM9XnK81XQxck3oW87bhp4Kq8GYeZw8Md5ZrgNN/vo5PFP/1fwzNPBNNzuY4KIARi+uj69Ucl7Mb19VhxH3oWHNqUhO5LsXZXeR28zXLz+r8yd25AbljaUGAVLBqA77YXTsyPrASfxdu7LM9wXuWcCLgdSa16u1zonuZ/FPx3KKIVHiFidSrHhz1nqZdZl77Kq2Bwq6WMR84GxUBhEfkHThegGst64jPfCY/5l6SaP4aThcf5p1TEbo3CtGcDDebZrK0WYoFmo4INjSQqVi0GctjqPEYnokHlIXYBHhnf8S5CNG1P5O6djSLC6TO3FQct9t4v7VmmzpaHqZ5h78HluSWZOcXC3bqZWbb15U7WQnl61gBgawm7DOGBYL7ffGg3uGEBz3Kb6tJg9JL/O7WQZ7qXhUhCNTKT/i90mml1OcjArgoEWBpg5k50AA2CmNt+v//sn8NtIyFtk8Edl2G7xcbE3CR3l1n1jyByoHiDeZtAI28FdS3OkYg5E2forgju7SQ9QonEvZB9pl2GDB3nly8v75qQRknnlfRBPduDp5nmGG3rJPhyPXvMZ85q9m5hItyoUCj83CN1GF1c6xuAxKmazN/aiuDeJl6eSZKSnJBnzlt/90hxv1PBtQOvK1U+hAYahLl7fexUAwzDGAcN4aNpu/KHUL14T5t8vuLt4LrwEf0ePbtIa70yyPzowaxAvFDvZB1V0Jz63vnmX4KPx9eb5dQn8PuYX2zzRVzJumx+bPwN5oKNOErdd5ABg0bnrxwQ/I+NjGXwFMAw1Bglv0EUSPDgCXOAHbASqfwGGgS7m+Vl2psQzZ7IAhjdIFgI+J7EBYBgM4/Txzw7qlYAJkx/ZcKlBgk5ZUshR/lG0Y8nkd4ggQApGYWrDyCNfV4XzGeJ3qZFpAqA+nIEnAMxPuEwc5NeRHR44jY47fDkkzGUHh1Ufcw6/hCn6dmUQ7odH4KAsCkpcWJ+b69Odib8fEW56t/gFEC//q6PtzDuSdy1Nl5s+7n9VKQbEvTyWRByQ9f5ecLWRP0sUv2MKMUrCMEYOlKgcqin5FD/vLZA3wcdnDIXfMqtDz+YCMDz6lvdt9jFb9n2XBztdn0bp6WbGaHDUUUTFuwxHxcY+h6K+57HEUHue5+nhMXUobZjuf1+CeGkexpY61tYG2tyA0eqtw9UdCL5tTYkAdie5Br0ijmkPpgGAI7RxkCygYqVLkIff8fMi6259f7v7latElUUBB4Rl8VEgfzr0LuteGss2m7k8aBYcLNZV4T6K+QSx1xbAPvoNbD4LGx/hi63MrT+xjn3luKEFeoBr+ZSluyFv4V6IbDBGIh4c4X3K5+sUNOzBaZ6535rFH7HpR5lsqnf9BeojgQvIPzZlK1xxh8600Ib9A/84k3H7N6ZKrR8JfCixNr/1uZO9toi6KyyyudkH1BlSzCCbccffAurImD5INATFB1G2HM+s1zojTfZvPzc5O7z3STSImC34yaAKYOBvDONyAVyHG7l/cY0Fv+Em3Cz4B9lqvEqqzTqRnWaNC9CNLx8xqZ0GGGLXdVwSU9LMoBwoKbpqbPNhXkQ8cE2/JbqBN0Rr+cenntPf6HQjAgWH7lTVmzvtAPtdlDQf+aXdF9n2dPtzd7lTZZw6Tq17GBGFqDqr6Mg2h7W/QFVYEPhrhLG+sCE5sCRT3K8CqfPMnZZtV3cC57K/12jn+M4O1VNhzfdx6hIxxUVhNV04hiZwd5/bTP8l4Cw/fPP6qcfQuNFiS2eOIP9Im7lbVHh/QYu3/xTGLyakvOkXcXEg/aOs1NxPVaGy079jHN9ZPjLMeTSgo+Bx0u9/cOM2YNCcrsT/LgBxABDVAKGJVNwOIo04rj2yThQHIa9H5GIcmjPYNK4U3VezxHvBnDrH4yWQdOwkPMoLQvZu85jTcYUwK9p76/7ozW1aXKm007GzzK51tpJ2KNWySCH9zxuwJhC+NaSrNGIxLiOJvp0UR8Odx72gYi+O1JMqlIxR7aF3pyivFleR41UXMW5fcJ/YM8/L6NXwFCx79hvTsJh6JChBUhVZpNhbM+pPk5XGC/KtjIKo93O04neKzB+vldznc3uG9gv6CymTlgnHj1RKa0oTQaDAgD86e0ZIHee5iiq34JcyjWxrIm27rTPsDcTbwVx5XgF+3oscBRtSP9Mz0sm0oKag+WdzxsB6wBG8A0YykAHQFiA5lZMR+ixP9sxWyRSJrpRTCSV0zgpkZZIS1aST4YdVUQLlgVxotlQcMGthHiIsNQ3sBGL/XUmxq8Q0jD/kHqPY3g5jo8RsUJWK6X3J/VAAKzgY1NJnqakg+1dkbKPlQJYD8n5CiIWNuoV/l4Wf4tCDtWm8z9egeErhZVvSZ0LkO6q7bLXLqsIPVQq/dEANCTTctz6oeYt55joiPgv5QvxlhgXu00c1Z0XhIqa7eHw6Arx1p0cKoQ3NW1tqfED+RsXuUSQ3Ql9LKfp55tWJ5bJsVK9t+G6PaNEc7zbMjSBdSZLb8yYpPQNZRrdHszqW74dp7uYNiBXt9Di3YB/VvFxxdRLkKwR3BLd4exE/jhXP7A/p3osOSsKfIZHd7lKkWVvBIDm7JnxWNVvOUQKKqLJVIH8u2JrobNN2nylxJxvz/tkac0EJv84mzuEABaX2afEqO/F3hu3Yrhu5ZiQscaqvRHBwupd4+gjbnVFofYkdn7JphNB5q+T9JVWdH695Xh78aWxMnxdNGpDJyLzj9uJGjES97DNfLkfr/+7+sH24yoKF5RE7qklahNIWGKjscrEwC3OZ78Vt7ie+6Op7NO9B6G9uiSkVIeZNurbFBfEmKb3Qee/O6jaCjpn51SqT3rmEN0wenaO33q5+NqaDs51NLOXQfkAzRWuRkYmfb9HuQ0ygNj5WyAx3w1gp9mUQCGSJQGbiOxkFyjj/UlLXF4pEqP6q/5U4dqEwewETb0dWR8Urz1alqBLDznHzOQlxo8POeXfOk7NUwtHVpEzFynTFBzmKpdmK2+kQyFT8iSIdftrlUK8+RCJRqf6lKEP9B69+90+VH7Rqh9Mf8iSHboBJBmQ7IC1A8ihW4OmL737cwM9c3Vgk2iPsLKAQSHkjZ2TJeAICJfb+wsZMaDi2V7SRSZSZ/DGant5VLneqFiD5pNGnDOgRLQH9Ee9V8XvP10dzK3ZmCnbeF+zMVOzkjK7rfXz20Uz7i6HIkex3NNnvoFpucMVcwJ8DeMf9Mn1DfkwJ53hkSOzhXsow+FZJOEbyLEuIDuSh/tsjaWmmobPjRyGFQfDwulCExO0rDjqQsGxwB+gAn8gGTSqB1bL9stGyfP9bed35uHz0KHqfXg8Pg+HHqMP6Q62N0dR9Ga69P4V7lkA9Bz+8pdc6e0eA9Vw7T2p/a7CQEw/9n2Hfxx/tMuyTH51IOHOutPOr3+l0Zdvj+R5Ujli+Q8Dcr1OFYOPBssy/x8d4gfk62CKHfZfkWO60UjkZuAiFFPcT7DRxds387qTUoPYeSu9XNFOgRqBFAb4/bT5sZ+T63PGfJnBvam7G4Ot8i6YjK/tqdTgJb0ybatrniwi8NFNWNCAINtjdY764L1Kr/BroovCTFF9zsJLVLH0ppilUCiDJFxL9lSwFLQgGbJcs8v4a++H1k20BK9arLSKq11qsWF8InKDyr09p/qFvUWs1BjthU6HRvh6DdlF2C3gmQ2Rqs7lTBg0NN/4KPm6+S46+OB7T1f3tAfo3xZx93h9R+a2Sa5oDxzWYFSZVEENQu3Thddnke5TcvmfjUoqSxUAUOrpB9+Q+ncdygws1zDyRN2k8Nl28iUu/BoAWyBY4MtcfmpVZ2NwzKfl9uQIcwrF34x/N9edefsCzIOIigiMvWBS14ZHvO3AkCkCMUK1OwBIS/Fj+6/Q8QAkhouQEEsvRro94t179Qzs9IdN4Kye6ZadPxDpmPaaRuwbRN1Vg2hKuROsdNc2ZmEP3WJy6P3KDRO2Cf7bT7HWsuuAlF693IzgiLqTWtWbBJ/xFKAlKQgfoOozM+vr6DmaegAHj7sZTuu5kAVzRtncE3dJo1Rgy/Klvtas1+3zHRG6AjsS0qUwe0jdI3pZaPI8FGHY1UV03vu2TQihUlk8UhqgwyBNj5oLfKERB4sw1SCe7H/4rbrAK4DPUvxR/OyamYgVfN+x8CM/SxXOQBd03aKpNmvD15/xPhHWvrv3/Vsyi2/eGmMK/+gIIAf5S05frGqrK+mbvt/VUcK9xXD8NeJRwMSyAPFR+muAsuaiJOEtotH/QraakHHTp3Rc8E8MF/awJk3f6amC1LIB+oKAfo9hKYV9dg8Y+PUQZsZ4Z+7voRZ5zfxT4+OdjJN6pG3UJyi24rglw/2AAKNKN4v4TNWFmExW/V0TIZ63rplz0EUvSsi1DbxXXSNCB88/KGjDh9XbBPITPj2uLwIA/26XznMbvPQaV3wOr+jPq1CAF1f3HgBVRhP+RKDiUY0Mg/Lcq7PtnuzQ+KuXNi5jJ/JgEbCUMlI+1CGFPPljVyp2hmXzm82yXbq5PVIHLN0gf9JUTbXM81iSj4wGy+G/xn1JIYfEOjZGdMuOBAhmJDd28BVr8cTSx/9n6iOzBkeKS4fFckAzafwrXZBZQfG0XthqiELoP7WPO8ZyukILrcLdf9cFpKE73lEI+2bOznoBvP6oX0Tg6IJmytx8dwQqCWwfPCP+bVCzqo6KvrGaJ7EpPuT1lgVCjwpQINle1coyUicAV3Hut8eD0G9PMlWkYwfCh6Uz7zkCfPVARIt7bbgv//5OphmrN7uF90COUWqBQRmLPKfMGISb82dZYUjA/Vw/3rb+wf13HhWbSnWnNpPMXRXDg9J9ibq4M/tWkgK1wzAShU9PuzdwedGTUQHVGxkB1VGQPmrQsLQKT8zx1tAmJRGcEpo+1QP5crVPZ3YsJFQLxrW9+RP9PKhX20vGf8upJF9eVkWDaEnK40MVCLVUt7MOlJ+Nl3OlT094zddgR4LUbKmBo/6TTdZH93lxUoPLe3WYLxTVi/eoMj1lheRqukEg36XkwYh5utX3MHwpllOI97gSgj/R4mw5YUuHVZ147JD+Q0t4xiHI2NUq0ZiR4dCwqbjL5MFFOUGB3GezORbUsLfc0H72/bxil1sM3hBG/Ot+j7Hhmc8Ks7IZ8xWJu09CrpMah7NzmgYRXTQOA8vCndd209JY8fAK756kVLC/3NH1fvmsYpd7DP1Qu3jWf2ziQlCwmHdJQcucrKOTtcL2TyUITlDROHmN8XLXO72Mz4r/+fllZ/hUZ/gGZkvQl3DKVx25WdtSacAi876DBdawiX8wsi/ec69o1iKxvMzV3yzOL6aqLSiDbHnK7PeifWxIYLgJCMMfR0aRGyEiD4OTWWPqiXMoLNvuqCqgA1TKBPbmvAlRQ4dln0lPweM7m7inCwGxbCNK3zx8XhMrBUY87z0I5q31Ms8uDKH1ZoeotuYzpzYwjLYRiYTPXrkbW/qxvqPwcb5xMtO6lS+GdCdMwE6agiPfMTSFjTbIrdFtzGTIZjpldkYEpxwuGETl0NlOwiB7DP9dyw2/KKysj0JbDGFX7q76l5SLezHNNoH9qslfiyXwjShNpiS2xIJNf8aakNeQTkkJKFFMg/zKNKsu5YCDf9uXXryRiCrxwInLBOqzOpaAfvToUttnhglJKvwjhrxhvpUNYWHoZ4L7dln0ueisSxDySGKyhKNNs+06xdEgqgPtyKeufQId36Ocd67lRcbXhtbMnd60DBe/U3mfdmnQrr+N3Ni7Nca2RVKnhbHE1LrunUOtWPgmhIkLNf7muKzquJrwmGgPLhhNQUftDjDyBcdBT19QahrHB08uXdvS4vI6GJFTAH6nB0M578lqK3GCeMI7oyoBrst5MHSSk5cW34Af4HnP1H3ohXTzPdd6XOuxcT03uIl55UoxzIPkgS4tpTc/ipNMc88obWEL3kODn51oljGtikOz99yrkSuTrse0pc4i3cGL5615M8ySMw2h9odkPjof8qZkAMo6InJWIVQkLwkp434rJFpWneAw+BeSNGn9pfgU4t8W1hJaRyJmZ3sHuTo0wyuuyZKN/dwy3x3oH34456/6Nf1n+18yF9v7EwODMlLYz+5/jMTqHKMcbfQODHR1uBNi/hrGEpLiABg5gfA0Na2cJmqwwj+ZUFcVg6wYsRZlu3xB30kFWeXa0yplBqmn2hWzhh+FtIWfh9O+V4cTElzgMDoQMD/cDAByszQiEE7BBE3pW0PgWwhsYXtkAvgYDEd5aSFThb6ZqSuPK2bRKtcJnHgDT+9CYDQeUuMCrPsgb36fWMOHiomTc514Z24I3AM/2XnXQoGIMFTyhtm+ucWb29XNzywAx6aBtXQ2fCV+y1J7yq8IYXfA08sReSXkEiT/hQwutK0lDWFNl1HV1upz7ZC5ahQgdMvyiFWBhEZhdAiRbPhkFQerrXV4y/+kizGSsJdw2KWQaNIFaYbYYjoI7zC6bwQzvZGcliJhiCLxgj+tQa3ehAW4jiAhkGY/z0UTxD5u34HayvUKoi7pXI9PuS0yq/MxQ0HvNYWc5jAn/zLclBUc3mlFzZtMjbQL9fSQi3gcz18PrwUFZdgXIp1TK7E4bCQBHBPpko4wohRRafxfGgXCEPZEFyIlsXqUA2GKlBL8/9O3PJxvoBM/5HSVe3ab2V162Yxy8ALndXry8YahDoK/fdbofAB0IP3vPzs7NEhLNWAMhydysj4hkdsaQMvfURIujvjTimFjlGNRbQQm7K+xCu6uI+B+G9B13CO4rpx12lduHdB2HmeuJdzm9w8TRZVniuqp1n2l++hUWHZAMORbbB7E8amTXMy08/lPmYety2xgBerWdgrYTUQOs2G7Ap3HwVJhE/KvkWxusU7RygyvCwNanMjgNGyF+KjViX4OjSJ7eldbH+pqCs2Dmukaw8a5J1EY4feDWzT2pGJzRDVMn6IvELalh5BAXKhDcFoXkHwDnM+AIMYADdCmA12Hn/XnlexZ7AMpOLBB8Nfgq9dX4643yG3vGe1J7BnsEAG3YsuEThQuDE7EwgZeRAOl4mki+xnbUgWWV73DRgcYSSyQla5prUeWDA20oDHyC4cl8/CGIZwBDmBFPUBOH4f33y8gKC8nKyhCjs6x0pystJO/N0Ndbrq5DuUkUtJHeLX7f+2fmRUGg2lX5a7dFngOLJvMotExOri8EPoaPF5WsXHbvow9RroxcLywDueF6Y9oDA9pwc+yKV43RYe3BQW24BdPBZ3/fve4wl591eSlWxO0EZN6kihDhcij2J1aNnnyWONrnS6yTz3RQ5aKlTm4GxLVfZq0Cbfknc3lZoBW7FZByizpchNsh++Sr3tvnS+qTz4htflyO+5C8jIndgNhkaS7jBh/pBu6jb3sBeSl4fK5Z+myqeZY8cjyg/qFzYCba0ghhbZ2ZAbRGmf6i4o6N1dadlp21jc5CdMGm9kbOi5YdbVhjI7OzlsFZ3+pGR7FAcLkNmkIX5ury0JjLnln51nJKko0B7pFZPLEZQXj6wIHkEujCtrTky3pHivC3MZcRhyt7CnfxC0/NrnRY28+98ytHtQQGsMmnhV/657bljU5tzRZIYZKRf97Ef+6XGX7wvdyF3IVZfHuBzLs1X2u/WijXKpnWxm4s5XBN/Mz5+U//ylW7E1hyxI0uKOw07PD9uCGe3lYb87zkLDbduzkBw+Cim6ydeEQnY2/I1hA+TXZZ0DHiZxjyE3DLa80xTLQ6BnFYnmRUuoZCrcfEEuaw2Nh1FHI9NgYwBMWwE9M8PMjl8zw/ZIK1BNXLCWphB2axiTnf0T+StfBMKU+qI2D/4E04ahnp2OrtaVDmyBFB/jmgy0x+TpUUG7kg+QXJejiIYsp3e0BKt/GJiO692zt8mu0dEprzW26Zvl2Z6e5dmZG1NWNZad4xgKcBrY08VtioFiTDYpQKHF4lx+JUUhDXFBkphZSZoeB90BGeuGNxomNYKsXSS81k643gGOC5i37/TXlMEe/5doqJGNp8DSgA/76nXaQDpoCCaw5UcnOd/yrUgU0QrBD4A42iMzDdBDK5MexszjiVijOZ0TuOuTPjPJ2V2Pc1sE1rhXkfyf2G5lhKCs4rAv3bQpNCnejy1ewZAd/M+sN53miztayLxIMZj3PYcFkMjvbSU+Csqd3AD69sIHyZckzNN0vpesbBeYhExlRqeDLOMueG1443IXtzsYeh2dJTu0yAUcHUX7jwRFsD91A120hNNavMYEMXfb0l4aA84+HaQ8N5J3rquQerWUex1WwyQ+YxhpFad2K/LaoIJ3HEpIrF3c7UJ1pGGp6CNnSowYM07FY8fNPmxW31srcpd0nWoVpYd5R+WJwh8/L3twazNnmiPFaFarAsH0Xsynr+i7FhkGBD6d393WWVzro7G9wzJYoaY5T6vSdmGtgHUqdzirLPptAVyd7gJqe4Uqbgvqz9ob79szknGkB4VZYkrVXRtqC6GUB42DCgpN4ASqoKwsPgXG8BQUXmZO95gnaNqGPqbfMAO0jIafBQMuLlLK/aEurUDUN2A0W/H0dYJC2FBNp/HQE48NL/ifnZpomT7G3ypucSD5e4XvRX/bd2RJ5tPnH+etvMSRVUjQ6SerDM+aKnFs82lPvnda/WmJhz8VBnq1+FCLd92CSrH4rxAAeci40+AzbwAxwCywrBKB8CywhgnOxh9RX1FvOGuOCD9De5uc+TmsYVvVhqqOyFuOgDSl1xhHdYOeRqvpe2u62podpiMdz5JH8SH8quW3mo0eaP9GjxnL1OxLVmBm56EMYIACJofyXhVnGJK/BKuJyY8ByHd0KJC81LHOdMg7eo6JagMP3urGztNkqIYQiSGQ6+UfEfHFDzH8xerBDVcrKjCXy63DZYFu/V5I+RMCLsZI6N/VgB3GtYXk/9R/WerdDrzHdyApzvfr+vt8hWgHR9S74lThdMaIo4ERKu3ZGZa9gREmzaCsn6B99pWA+/0/K+QX1wR+52GI7FpNgryoL1XET5pVr/VSSFVRMoOr7UaQMZ2/DtFLukeONOxp2RZXSaZvLcQaVXqW6SyIgsC8BS738v5kgQ1AaprZLvYsmOcieFURoT5yMSPqmu993t9/UWO4osXT5SF4qzL/K+Xoiyj+zNzTEOhYRrt6dm6AYgrkkdlQMQQekYJ49ZXWTWritvO6Ol3H3FajbbbATwNIAcCC/0GdpdgJshR/7sbHkfvjzel1JVVuwNedLCZPVgKU5RKoY6WJUMwH0RT+cWnVyav+fCcY3QqGpttzKIazHFEeSpBzhxloL7fl1ElGZTsKgHh6xJf2hc91kctkEq3V1KKLBzl5AtaflqBFqppX8AW2Fuo1mF3lpRWLL8wVdano/fyPPhkIYxaL//4vL4QFaW8mBEpOog9KH6AJhzAUQT7aTkVnWxFZColxMSnzciTqhw9+PWWTtns/JDBS3PpT2kJ+gztDvPcDPgXoaL87NPhT/NnjykxGteIJzL2uU37kJhxX9ZXrZuVxjv0at+6gQZm1U+GZdpIzj58IfdX0kjqk1YBMW7K3QMYW4EWr6XlqpcGiZ6TqCKvRsV2MLWPTZ5jqWvE+a/bqGEtRHmqSAzYif51E0/ZB7XjLz9iIUMVvj29ZzigjBjWI3262hd7rxc/Ncviy6TDEk/pH5ATvKiigQkXSDnMe+MSx2+1IhJcUSRuhzjUQPcPswvBIS6gb7+mmLkNcxJglkNsLo+mSwrWaotkTw5UTb83QiF/S68fS4wfwjOzJgNNFNj0vh1rdvwgpu55i9BQlhItfQQpKB+0qEL5+FArTBpiiGvvyMbe6fJyhirkblYBnAInH6mS/Li3GBk4gbJkx+wfGqbWNhYS0vVnplRTFtHV92VARxFF4YGorq8Y9svDAyiuiEOA6fMBNuJbo3RT0DYNHy2izJBVxgIZBedK7bwkbRFluXlDdKPaBR6Huc/UUDO/BtSe4+2hCYJypWxaaWe3nVEdEmOs733VaIVlVJkGoRl82pwacp00cW9W5ZJDwgm0twb85w52VIoi9OeRXf1H1sBRLh+wmfCW0BZe147JjRGcDZEaTzHDqn1R8lbNqhB/CeakalkptyrZbN8lZrCOPV1WilUI+G3xxUGNvaEG17Z11w9zyTnNl/Z9YDl/J/jLz13s+7rqNj+ukv2njFPWjAcYZvbNYbIJrtqMEuI8V4JjzmRtMx1cvDdJjLajekzq+QBCqMbMyrHCyIUYBnDNfKE3+P/eU+nIHXqqOD7o9hOx9jdpyJoWKP4itIdAv1Dj8wSNqh7XjkUNLjwsaZwj1Z5h3V3njzMe2EXyCAQ/EK5vEZIwFWxVDH4YGqpVbA9h60tL7OiOIBU0sv4f17Fx/bv3LD9uUH2niFHSjGyixbTmE4mrT+Nj/FOOXmdSFq68uPg2DbUwmJ6jUplgzUExehKS4KIXd7/sUUva7kxLvZ51nY7ejTs7DEop0R+D0hlljtnMJaxcbXNQtnu7Fa3s82xcUkU8IQ7HwFuv/L1hHxyAiQ+X7FzQ7choVAdIwrysgm28QjywAD896LLBgoRfQ1/s/8qRdQvmwHKEifcVcMkjvD7S/GLF4NsJV9PH0TLHay39F/WlAt/oBCm5qDiOzig5KPgoVT+suPoP3oa498bGurZM1gT0A9qY1amsl8cjQSqYF3tMMeu8/EtQkZgGUx1OTn81N+hN6PfxlP9Gy8WObZHsT37BDncW/g9+IkclhHGzh4O9BqDOJS2+S7SKKzUQM/TytnOVGjJyWCdvuGWcdjVg1bkw0y3JpoNRRGPcgyo2/jQBCinn/1ush3v2iqqI63D34wmlwo+BhncV//1ECRS28UWowmVfCLBJhetDFfoPBe/bg/fsLA/JbqIkHUaej6ZX0XwHjDcmbu26e9nRPkknref9TCWMbH7q1sm5A7lsmlq9jn47388nl+Dv/Lug5mfjISzy3jsahHKOtZlAgN9E3ERjq/dP1+x9wR53JtUDbHOjfUenKx23AnFHnlHlf3dPyojzBLbyNysHlyNaU6lXA0z0w8dcIUW0Y5sjo1SahqKlj7UflSKQHhZk2l8zBoEyRKSCk2zvn2c9m5GmFdqp/ukj76Eic1XwyopZ3M2u6Zmt0PQvifj+bV4y+8+mPjLSFirnC+1Vuj9bgu4/oAEIBIrgPkK0Aj3x2UMnwO82ZKmjoK5TrgCBOWQWKzQSovYl6c9oJXbl6OFUqXafbN9CG+y31XblaOlvlHbgfAVltkQrfp2hlGnpZukhWFmrGGPD/CR8YHOIKmYpeEvOVZPVhCZ9sMv+KHF2baARQ1EZxrujgW/qh8NcrobvGcyGpxSNxasUmvhds8yOm9QcgMZo5nhzuiL1Lppd0jMWiLUwyLrA3dtfJ1EivGVWyilWQFigh8z6BBdjvcJpdhTUJaKCNcA2LI092T7+RtPYig9Lgj0iJdPwMLunB80uJ85PHzrjHYxRBuge10o7/08VPfDKT2KlHH9YULhCjSNo4/dtWVaNluoJa0+sZbDJLEZu1VLtAibd2zga1mIxQ7oVEVF9DgboEa8nH541XE3Y4wBps8ton3tiff5ZEPDVp9ER/a7ITDJ0HG3BMNeZ4R9Fc4RrTeKeLiJhd+bXMtCBHBXU0avB1GScsSWqIoKQfQQM7214GUPgTzxQqio1WNCVuUhUx71+8JYkk03XZghLA1bmR9+Kb0CybulNzpcUrdrsXU4YbfDit1h6eG4hWGYPdDu9ijkcAUWM68qtEmLWcfC1y3ZbV942a2FSpcO8fq638YAIyr/trCqglLNdQLg94ng0q7EewhuRH4nyQ9hOUt3iG0eT5SYpQLfT+3B2m0WEThpsb69TZd9ixDgva1Ws9gC4gZWUNqYpVvlG1O24z+5BuX6lm77/4uCNsNG/jVBG8mrM0wTrkjttdx4tr7wQQ/KE/Q8HmEm7kLT8bhVurWf7wCFahByHDpAAzJVwxE6tOCo2RC1edjM/OdggEHn8T/4PaHV5tKSgZbhHPBk9aZnQzid8qpA2Txh26b+xFRnfni58hVExJv8w8pGK7DupyrjiHnpCJAGVq4Nv1oYfv1uGBW4ArFpRIVp1Wgp7fqny0wRU3U4bbmzvUW5A6f7Ad7HajULLYBXjIBTFvs72+T7cGoAELzNZqvIAvCQOzt3g3HKldFLi5nJR5HItkDOlAwNIC7ydY2EkqaGiucitg8HVwf16cdDIWpI+Y5twM6aKU9hL50WppuVgIcoc1q8a2ShS+rgf+1npN/VzVeaInw0Ixlhb2BcPwovJSvBcfZg9yPVLpzpBwTvSqtJ5gC5Ccg2Ho6XD1pHpNIRcHddJLHo7YmJgFdHX2QMfHNQglK6XOzjQIFKPzSPF6A8R58n1W8MfqXNSp3zKnM1IvB50oOq1J3ViIzslQj/ncQHlUk7K5GGlXvP9jpRNpQ2Ksmubw4K1DXHkxz6NpC5x9T42IR7HG+lCLwx783cVRQsvDFPHFixePN1r8EWHis+atlA85axeyuzochyk8uqpTElAD2jba+ZAItsL2P4PEXs7djainIBMW0oA3Bw+3F0VMfWA0BuGt9F7j540I31SwTjk7w9CGKllxeltmcciCfLjN3SArh1Bd3xynETuUuwNTNl19bmRiCXaeKNzYDcllrvLALWefiwR/WJFSSSHL5iEQuaJ49DZVLMJkBqxjUQZPPdiv7rt29zHcQPyKU+3HrOQbfzpMruJDbYbBCF3Y6aJuUg6oKgcvDApN7bYWLKIAOH14NkR5t7TAxLBOg7XqFXMtvPiwJAyfqaUJ4VKa1/sLzfLRLplXmvwNfgHXdv7CZf2bhBnsJ4YBhQI4PQ2z1lpF7whjHtHjzIm4Hk5dKXWYcHFcCzDMJ7JWQ/CAcZ8w7X8drAqa7u7jIyeuqAujvAf1dQkGJnl01QC65wXul8p9J8X6cys74KLvuhWO4BBipDJVIXAttRwE6dfFe3KECDU+hNWKgJTyYjA7DIMV13g4Junq7U7v9HHTrlmFcWrGK3h1Vl/7GzuR+JwOcv2MR+nB3sLYbfF4f7eMMBxtP/eQ6Eb8NoJyBpAdgRQgmsqjcdgB7n+xqQ+g8ibmwMQZp7ihKvB9AF24EhNCM7yRQc2XhOO7dkAqBmffqbdatr6m7q0z3nA5rwDiSQywdpcHbcYcN8c/N2sCjLuSwcP8LP79/q31BAAQoCAAAF22hznp0nAACKf4sit/eW5QNEy9d+AOAgpqk1mRWAJF45gFix4a7VHIHb9wHcZQ+dgpCZNK9uS/mU+wWzcBtbGYONOSoSrF0PJqOAU4QkPFcDJwQwCxWJCyFtSW94K0suyM5IA13hl8Zg0bB/Gjf11ChYAd/W8+UzSScmi14YyFAErR1B9LFb5+v5+h/G/TON6PeX6a5Dfn5NBn05thf/kEQpsLJLcnM/DPuJsrLvH1QlqfkdVcmfjFv/hutHJjLkZIoyTHT/TPnRRVFRfb1SdPLGrzCUWRcO3ZUp0YrxGhrbLLYvbc0eB20pj1E4aI/Z3L+o5YruT8r5JEJTFkMiEhOakcEisLGeGr8XzUKz/Z72gtEXkl7mHuAIZ3BWxyJ4U8Cu1l3iyBFs42/LeuT1p+8ji2rEi+qNz8N2xTa1rHLEJANSeq5THrrewCP5YjqGtEno3shri0ifFmqjselbfnarnvr46av0zpVP/e1AdK8TfpMpvt+01YkAgO7whdH90XM6Eua0pwfW6fqytTwkITNlSBolADjsHRJ/hK2SSkmpHkDltRO18L/BEfOhoY8jIkk1HxaxQjD8qg8JfSKsp7CNuRAa9ihykHAwMmR9AYkIQyAidHM+RAEC3CyFPkZhI4UVLkWGPI54Q/gmImxDpMGLS3AA1tVhA2ARYVMwxNgwPAisFwKIjUxjhZ4x2ijg+hviSWEKDYOGrIytkgKW4DYhASHEL83v7MqXPdKYH8nXB/w4t/+WbE0QBTFNAQJF+b+NB+m4h6wKNlT5HXk30RsbUqTh+LVcFcM8ZoxbOwhJi+aa73UnRr24ywCQak9SrM8I0qEHB9wG7U2fQhHRTp+NhQIfUVEvbi5ghmi4EVzarmA019NLmN1wcd/5Ex/DOd0XXZSU1NTP037+Gvgc8DdKceW48u8TJHZ97EyZbnf447ZjJeUuNJIDF8ATKugQpjtwF+5UbpJ8lxKDvJGctwsrOdvbpkx6exXmOq55QzYKJVbBcxU0TMlqaABQUHnSzmsXACh+0TrR7stL2tlzsNLKTgbr+3IB3hyanR8AgAJb+GR13oN4sn0kt3UTDi+A1h22/OdFeVNirerAyzvudg1k2SCt4ad04oIiCwFdKDXFpQ2sNYXbwgkU01Z8eYP+/wnnc4sFkIoDGZyWTuoWftfOyv8VDny623/+p3H5yPwf9C4Aoxxf/gHx5Y9msMXBKIp2Sr3AXd74n8/dUTIFAIr9H6RUMTzGhOGEnvc/ANk5kh+ki49OiHjyWNmdJ7q/uCkY9/9cQU7vEpkXGRbpG+hfqv4O+VBKtB4SsNITf/8PlK6jVJCLG7a2X75WVbEizNjjcHEqp6nc4uB5h86R0GhGH1DToL+I5+SIg50GCeIeo0hDncN5XMMqHiRMqQ6dqa+EyLvva/cAONDqvSo5bwjpqhB5iPVOtszlrd+c5bTy11FIW6cf9XH/oGtgC0iCuRv+eeWMmRdceN3HFdT19W5six1hChYZtt+3nxzDvMg5ehYHntdoY/xSQL3rLjoqkRzEKOjfOhe269j+ETv1J+aKkCFuAlAwGW4oKfInIW72bM4+76+onAv5z++Gf1SV9RIf8+ADJYn27PcD1sbO4NbxBhToZuHsaQLrsqdfHZArJG+a20+qlRpVxnZy2nrw75fvLRkkz19WNYOuk9rUX4wKih+ow/yGivoZktpv77HRvdGO++l/GLgfrCsrS/DQRQVOQX6rt8AWjcZmk80LvPVXsTvwW27/lik4aQ1Eq1umoVPH0GFYf4W32WSDfrJIw9DqbRy4AGY6HmUJ02fvGbj/pDvu90VHYb+9J6kFQ6+K/WGfL4/r+saDiisiQxuDPUIufdtqzpA4aRsdpdqnpKmhJXEroa0DkxTOY9NtKgZG+ScF9JTjPiUnGlqgpxu62zsqgueav3vY78vjer8Y2P3LQw/xyk0ozyWkCOxrjKkK4j4hXGAC3Mxdg/dS743vIQ+l5gxAdkyfSKBcz5CFEFbuWHRlgEF2wxRPfHOnnm6ORJeFoiyEQoeVEJlGR0f/40h5S4l4zSw9pc8ktn3eToklsGKPkn0G9EB05viHYS7uh/n3H43/6vAOeR/v04OiBYXtpvbWsszxsr8fJhY78Othjh1UhvmDICjMsX1e8eZJeyOOQPX4QzMDKjHfJVXNWpr0677Yf5L5GfKpQ8vMU6+QccMhnTes3xVnvPIGV0tSf6wIvv9B32KfJdc4krAFSQW0F/r6dADdxURCBTMAGPp+npLl1i8EGJTKDP68/rC+SN9F0TlG+ZLS7K3WMNbsAfd7rBnm5t79RM56yhgbl8dHDw1E/xsgvWsHpRxDxrUmmc4/lUkyuRTtlViSzAojkwFEIHsA5bRhU2uCfRwh6T4r27q31CjVN7H/r2Xd6oWB0zH5WH45iWvHgDxq2JDtoupprQD+JyriMEkASpigoN4abAyzy8pGYRaXuaUpleWBvf2sSwrddiPnt4epmWf+Nyb3lnrenBRQSZ+//cThyHKrR0bvVrcj42vOSbLJXU5nxh246u51ZvY/wo3TYIpHi4SvKggrXb1eJHKTbKJE5PoNSIa0NYVi4VUo9tywDR7qbkhqyi55IeiyUbigz5R1oqcxqSGrOJj8vlrBOZmdpM0OGev2mxkXrmY6nu7PiIwbavnnZF4kbbTLWHe417qIBpwV0WmSGVE/qWeOJOBJSy7KN9el5Zh06PWon9Uzt0uiPpdx1C08SlCwidYKQbnykxqAXFzmlqY1DbmMGF2edUght5D919PMxDX9F5v9hT1LsgmytMnfmjMOlH7pPcTvIW64hBjFu5gJgciC7ZSolNmom7aocalffw6z2OTF2FKoFgKpqtIbCgcqAbpb+vuP6C/sHes2i9q5qJTCbYHIqRYXxrRkN6aUSnWD9OD8P0ZXHa+90Xn4qtHCKHjYv5NptZoQb/7BfVI4k6k9H6SFNDdTVgegvrjEbdrXHFD6opZYF/ZWol/8dutPclkBweWUaj5juh/4PRytt3B6g3zWPbhWBuEvF3KA2eEgLdiar4DkfZMZCO5+8o0udiuOWzNEFhu275Y0qWzk9Zn9T0WMjOybhTkHFHzXikTg/O13bz/snUP5VwmE/XPEC9VCbcGGAGMfzE0f78jHqbGbeHu2NZsq9I9w1O3NVY0trIl77YxLtz5myweoPXcghGJFdmx72n8A3PbdscjRC+kmgcLPHPtOZTdUPgPkOqV+0qEaVI51yXihYS2GzUsskMMIUuR5jPYnVBz7QBn4lYjcKxnEWUBVNSeYBo0YquzOkjfc1TiSp/dqsnI/OZAfGVuaX24E8f0z15OvVw/x+f7dKN7n3d6Huqk1wMauy2aUM5lN3oGkgrZJEsXgcd698ZZx2F4WOhm9h9tLy21zh2MHJmjxFSF1CM6Gf4a4ugkSJY5vVyzM0YMmZq9hLz23xX18rXm8Ribz1QkOUFCXaJrFqARKMrjgXnaDYp583uymxAN4T0IYshNDHgTPBEOKCmzzFhNon5AQhne7rpcm0By/+f5WA6BAjNnW685HmIX2j6GfX3qbD6KsfK1SHQV1FOAJAM/OjOh5/zYPlOn5XCS7ZC1zW3eAlGIAF6HgiYwKgHv/vFHENyh1Mddt5IQDABO2SXhkOAbr+AlhmmyWq6usAAEkyaxSVplBSNHqn5NLDSKYP5jZtY4eGYCe1At6rxSM1FdHbQQU1CDpbs2/7YOQ6GKEsMPGA6GWSxHCrtqO4QS9zKL6shAzp/LpYVi6xMTSwKm9aUmJ5kQ/sRQRwUgCJ3gZ+mSmMPpkumL8pio5kiP+Jsxc4hOl3lSlQLJTNwWyocJQwC/0xCZD8KaNlEgDp1jX/F0L59JtWmeTfBFtQ7fajuz1slYnTHuyBuniDVimSK9cmzLn1CbzO1Dzejc4ZQYuLzEb5NNK0lp8/swhdGIyJGU8zBJs+Hqfa+0qeHS3S57G9Jc+iRi+keMZ1VP1hLJtJT8w7anwjNp8I6Nef4V7xHbj7uEEd909cvOauJZZ5XfpLCUWe8X0lXpGb1nNexrTVeVG2erh1f00dnuEU1JflfrhH2b16a6d3za+FRpfvlISMJIy/LQ0IWEo9A5y7xzPwEDZLq2XOuHlRW/N4aFhT6uGRk5rKsLy+T3qEIrJk7QodRVXgzJPVG0Y47iwQCsBIQT1WoN9AQDATB/y3iUtvYgRMz695vXi80UT5wd//Cm+X4BXyx1TTn3xaSfeYH+hoNjc3NP02ihqNDk7K7s+KzerPktY/F2iTA5et1Jdz8PKw7uHAPnhG4wplG07n8jaoN+OLZTs8WiU7PzxS4Gfl4XxthiTKNp2M3tNanTKtYa/MuoG3QYD9Fs37u2SNUK/A0c4ocaj52v0oSKJrwnJKJ+KE9kbTs5fQQWQ8zGuKCjeJRaZrApS8tv/wmc1mCmpqundOnHyypb4B7qg4fsOjPSRVkPxIFSlmyHb3dkh3YV8zw16GLBs3d4ib02jNQsmelw67uz9OrmggkYHR32Wr4a5kimK/pQkqPNOOJtTNCI1zBWMMcDLr6Q4oqDgWOKA/JSWlxSyaGDG9MsEgKAKxy0ONlABCTWgHDi0mCizzwYQYGdUgn9E6gLtR09Ynz5RX1pQA/T8tapuEynJim/Pd57ztsnZUAC6R24wSMRu+/Xqa336M+GAN3rYntuR6yRy/IZstYqg3ystNxlPZFDg8SaJgGeSAMK++nTfTJ8Dz1gEZT2SylYZn2hTqx2VXE6VVal0VQK83epzPe09DiLHbaRq7AShQ2t2zw2PysR55tVN6a/yjlftO23x+qLLgrgvIB6ENA2nKuymK+jfr3hX4XPmrb8O1g1IP34lKeivVyxUXK1VEPj4xe+bhh9YyfJfnILi07qNOoEyhYcxa3QZZSTqWmRph2Pdb9/5u1PtDGwEFA7+SpVR2qn4UCHaKOOI36gHrLA2olWgOkldT46iVC3kHNLuqR+iGqymI62EhoirM5+3/XjgsMHWxdV4crgll76iJWPffdZkY3HL/aqHxT1odYQZxhcGVjTROwZpOxOiFd/35fu/N1XcdBMxnXvGcBoWzJhmMp9oE3GgyDzIoXFMJRLM+nOfIbLIgRtUtu/4NaItbrtLeyDfg257wHqoZ4EiZ4jJlfawfCmJDD7zZ/cPrKbyxpYm0AeVw66qn1ficV+vDxeYbb5aKDA1Wz3o4aoqIYLTy/GcswczM2oaFRZtXpEVFgIioDJtRxflFf5/m2oM1Hv3jGTVNjD/qlmkQ8blkJr1tAybQqUk3UcMWgK6ZvqPSKEcpwMqp19hb4EClfKVvccnHqLu9mehmQWhokAnA2Q8IPpCOk6Fv2mSBulDtsygsH3Ht66Jnsj5mKxBu5khcyD2XV9c9HWt209kiJY3oNsMJF8Z7ZwwL2Kt8GV3MaQezzl2KizQ1/b3NVqGb29zdKcL/N9eyBovzv2qIrcga5aa/4pEqv5VZEDGkYKLbo5W1Pv7V4XQQgllSeZLkOlQyk/OUSiH/jP2dzBYbhvCrbKxGFWOXQ+VoKy5Veu4SkOnRqce4U2Qc80d2U5Cldflq1X4an5puMhFXLOUQDDJ4V1QGadeDviAaODzDFKzt6fTvTO9ILKjUZRvC3WoRp7AbqSU2/UCnkN/xsHOtsNrX1FoTg2fa9eBPGUs4KOlfIFeDrCADVMK+RaZkghwEXKe0EQkDYRoCb/T0stPm4k3/hFDiclX5uoHpafKC/QS9Dx+sWP4AvuoShOKQyfg2uTYaPPappD7anm46ZYQqZAOwqD7CBdFke4HlPmyvlwexB3kb8KFlCRl1+TXuYRC/1PAXwMWmry92KMHPH+xfycNad1Av+6ON89Sno9+6V+WIe5fidRdI+Os3pQt6+ETm192wwIM45oFhrHOq6anFjbL+E9dEFdWEFLf1U7XBi/Y52VzTePvftI2n9K23rmAYWh+i7ML7zI60JzGODxXmGkzIEwTzlfQZuddSH5WXUeYygDYgMIonnMI1ff3PKorxADuRshSMNxy5n6Er1qUrB6ZqpADuPtSlgqIL4wf1GZd/n/WL++2ixz5+3+ipvbH241H98IBGkNIUjDJu3Ca4yP/OLnVKeRxu/MD1zXcV+uZuugbOFrisSCySbQ15xI/taiQMDv/EkYA278ckNNmt3/vSmL0m5mHT81RwK2TISvn8pYMPsUAjKBN1bEkTj3QgDHJAJ4SWaSrrYzPEBrikZwIYm3q/x9Y1yhMFDNAv3WhsWTQoqCDugl7x53m95QxtQILR6/r+Ex7Z8RthQUlOxjTEt3+nuoW6HoF3YUdLyGmS4duMUG38gvMDAM+GQTJylrzMEry2n2Mkk26m9fwYSLHyT0tYNF7V67f3e9gMpxwvf+tgTMxglYokTHfX/JTYnqV5r7BGwdaN4tNK186b40Wxzm1SrfMZDDzoJlmRmkenXix6ZBzi641LuIXXc0iA42iurGnDKj9Z1x9L7HWO1ARVnAxKz1hIJrYB6J34aPj3tALGrc+wcYVuW343p3yvfypvmH2NNtg3SEiU2pVWvOuYObiML9f172XXUzPBRRq2Y/runfdv3cSoxgI8pNdgCtwGFNs4v7hmTIeFVy7ThfRL27ODQ9KgBtrcimr+QAP1DZsswSHHvs63IZpF3z0kLP5qG7MOKBgHLBKj1cUz7M50xawlO9zy+rI6ejL2BWO8+oj5BD6chDGEGa6ci/eyP/+VVcTlDN5+S0qZDAHorIAM9snYUNzcl0NK65aNyZFxfbR42dQlXRq0L0vPDpmLBy6GR4baWTgfRZ+xpjJJAEyvQyDkW0pEznnFel3VCQekBrMMvQ0rTL7kn9hpNIl/xRvZReVnlxBX1J1xhWH+3Z9ON94A4W/H72n+aGCGNjuZ2DR2Yq2K5DgdiHNz/f4AWu9E01ByBkOah1+UdOlSo8kV3wwCYxaBBZWmCpL+ZQqX4YHvTsZmtdO8fqvLAlnZ++Bq5rZ75Q32eJngNw3NyaGKlKP1Y/KAVqGhwVmpqtfO7mqSonxWuLxnLIHMjNrGhUXQLoMKsUF/1AQnaY193N6/OxC5BdRXwlekbiKFUd0krIX7MegUdnrScIJ1sA6ZlM8p0ARXaXvBRdYvNsCa8M16nL4phFwDC9t8JYWyL/AeZDTstVNbXGIvbgfGo6BPaQ3hRJlJdQp0YnXR5Rj92U7vmH0YhrMW8dqx6WEqMUCU7OVgx6uihIiOLsczyV7I4H7nQAob+lpp7xIts9kkECR3JLRrncjH7n+Bj7rlCVBx8QMKV60pvPn1W54kF+OES8jS6eKv2pnZQ8v9OR6D3/8mxV/xHzAPnLVrNqdCsKtVn/8+10m2wuWKg+vxfJT7E8siCAy2B9IcrxWU70XSECaU2uyNNSCsnHbP3FEPyVE0H0lh6IeJ9IrQJO5F3BloEsjIavt6dQDc6MMcL2oO0+i+sVM6tH9jx45OMmS+Ym9GhF57NLtva/UdwITVHofQRoz5NcmXhMy+MvryyD6zLDl2gDAAHD7CBZ66uQrVmTta2Z69NVT9sG3QAxcpTCw2c71azpU6ZL0yyJb07V9Nit0bhW0ZnZmxHr8uWsB0pE686Fp1SBehbUgAtnloJ2c9bFUkLsPRDGD2cd4Hd6FX849stW7sSh414bUUGuGLow2bkR9NnhzmwxRCZPPezaM5egX4Fzgi39fX4TJARvYZZj6KKFXge/7lvosOSeRhC1ISiAbpXKGyEgWBkQQ5Pk6QJlxpdOpGy1TrN+yo9fPG+J509SJDOXl9lQh89BSSRXXkigl89qDtOIvQXCBOK4VAtWLjjDvuIHczLFo2goUp9UGO4yI9KrC270/C7BQJMMnwgeOVQLsAkGaFNzXvLjbrlgeZUjd7oerZ7Qp85nPz5zJen6POgVI954mZMWwF4rn8BVDd4Ygv46s668NesSLG8FFggxwMRw5kHYmbcXVsuKZ+w0zM0dlXZOoRBCpAgP4EQ9D9sMDFrrTkQhEFlwfE3h8cq9VIjJcvo75XrKSd+NcbV5Ge2UlYky8apcKcMvc3tSeXCUTOc+THHAn1veR1AJngi+uB+IGU/dn9kmvAI6i4PMtcoAHXKRMKNDL1FhA2Fx8A0esIeEJTRIQtze3P6pvyjnEG3h8UlHKbQYBjxOdtXV06Hhcp45Ksev4PK+A4PTydA8qiUAoqYD53f67fV+LrlMjrNVg/pdODlSZB3e8fwwv+wtzXQGaK6FYaQE5ysouvLytbWlQXOz7AybmdlcFNMCG5YACP9/JO6THDvHNm16wLWUHsQHtPwvBWZck/5j0FZSxWfCx54XEGXRLLEzuMJoX+iRG8gn4dgGgkH0AR1QbP7wXOnfq/IvSSJ7ZBv9+nqPpjW+5x95G9M5T1xjXAlRL4HWYCCbJXbf8Tgh/gs7FoHiApMz1eLl2WY2oM/7mTKvLJolylbyEbcJRvxtw1Pp/8taaif4r2Zywv42IHPtVb5vA4ARRD9FEeIV1QsVtGMFg7l/ZHDiYUXwiOtdnNPKnbXRDtPb7De3opuilYkHxpg7upre6Dt85Jc6yN5YIQtFumPcNZra7WQZbi1kmYutDLKmf0vvYBDfSDTcW0vUE7/WxJnJhWjoCFCPewShGhf0A/tOfKr2Ug98Ul9jvegk3gzJpu/NFtboabnh0Dg9LuIXrcSG3nbW0RO0D59AJofpi7vXz+Zor6g0996L7TpSdlz1rJN3Rnk6ahu3CUJBX7WDfeVlCVk6n9Jxc1x+jN0YGpXgkNfa8DGypS8o2btPtUTl7Vdc6kSp3AmnhYQK+drRODNrM4/HsyuIT3a7a5VfApkFRuu6PSsv17aCPiseXeoxe/E5prMDqmTh8VPzIZHWvnbsC8xNwmzNoc9gZO5ByV9t8PxFwAez50k3jBeO8beyNxYIPzTHE1qDRqI8ILTqF/PbeJMKeDzUIiBnamzMMh4eGEcdnDMPhPnCvtXNSL+oOqHRdJbRPJ2fLLbLo4DFo9jtGwO6XhQcH3FaetkT1P8V/eMSIcbJEP6JtqTp/N/0Mh+QY+oZ1Xa+mX2rSpVHuIe+FORfu088u+iqhfdOTL0OS8hMIe3IBYU9gWyUkLZvtIf5sZIktHvBShL3f7l+z3SFeW1ntfLEDn40wjxa8KOj2ET1IXzoh45vV50nE5FfarxOIic+QNESzT/rMj70RnlHC3C3JhvqFmbn5+sZ3i+/mausW5ubmG3ALC4AaAvQjcNleNiRdiMXkJw/ZLoIYPmf4eVxSWVupNIoqait+HBdX1lSe8BbWfgqcvPhIIxUADnDzqBGmOoQvzYCTe0FF4DU4zCaoOmBPrHfsAlTgAZLCgkdTbwdQhf8Z7HodpP9Em4iTDzyVwdwyHYbqcfUC5GsrfxzUUw7/FH7FyyQjh/qyVh4U1rZMVIGOXgCCPlW4Wb+7/1m9Y+DuI9GR9OtSs7OkPXWC56aHq3lW+b8FOF9W6C32Lgo27XusFoWYRnmmHincqRINMO2PcoC8pwjh6zmC5dyXtciM5CZlgZ9PuSxzKyOcTkpRYXGKQO70QEDKycEw2lSFf+qJAZKcEW4HcZnin4r3bFfrO9kVxLuQVhk424HYonM/TH1g5r52vyGdj1clDqQBUjwvlforcfV/qUq/gfagtH31YDxGn3r6gFh6TysDYE00oJBV7I2K5FMx1EQsC0BLYcot6hyacYq+G7JGXzXKJHFlvh4FEGY7VDQ70GzwzNgDtcR0iJpUEOfQW5d/vVvFb0p/7Ea2caFJEOswvxHvp+rWDcn/yHVg5yUfkLt8de6JcFlwnG/lrjMzNkHHgF7NW9qsOM3b4Ypwkjgbmzx8UvPIavWjrkU/kN0LdTbFzQaCqNWXXJHsd3Y1bbOH+JY45DMkwJo5WOeVW7v2IrzztdvEl885BF/smGgvqnJ4ige7tpKCoAgwl6RCEBntVn8ygLlK5crX9PeU2/Thap+hJ1qADMXKAKDcH3/0RLzt+MDbAcjXU8J4KPKYgBS2ABOwXvNLRirFxr2RfC3Txa9sdugg7Zf4yJDujIQabeaIq3OT/8kBm6gEfc+M1A4sjOJAZSetI6yiv97V+Luxg8ITKHLXPSnP4X7jumABC6onoSaXG/Kr20d6PJh3MsN1V55hnumv+KCiY67yuU4tBet8mTm+Krkqy6NVMw5CB7y4uIBuDkx9CVzkoNiL3tdbhM16x6YUsXWicMW/El3dgQ3LGuhPd59XlFwtFDsnSa9z9cepwDWhxCksuxiisTLACOkMeHQMZIDtvytJtGZpgGGkNdqZBGfNsrv5ff7kYlZyFTuQPnNukGobGrnGSJ8qaRQrbUdgjANFgKT4Ke/Asb7t4H/bxU2+EweP67sOOL/n77k1tR3g952qiXUduFZD1q7Dr6vwimNyf+bt127j4Zp7I4EavnqU6ITf1sQF0M+JEA1NPRHAAi2icndASMbMyWtE9bB/QbrwtTppqMhvcHDUZflqWigjbODQMFBlj4RbRGpEaJoqIdC5yYCPVAh5SvD7ocj4QpNESaAM9DJAYJLKjxUSkEpCv+JwIhyodfAXVxdFmTpqYaxLv1LY4ffXOvlSPQWpJrY6WOTqWjMnp5bDdWppFJtBwLcZz9o5OHQ8vl1Lodk1fJ5DA9izjeuqBqXFsVEM569MXaEKpFE3Wws6Plen6/pX1InNZBzlbrsSLEhz7LKEuDKFd3NfPnjW6YCqoMmpCeOUEFgdQ+5IqCWk1BqjIFWlbqDuSJErLto6+guFLe5AjbMf7QvC6g6CmxMH8weADX07aiLFKux5aCUYbZiwavRq9Wonm6wolsmcN8gI9IsPYJ4RB2PNH4Q2M33abygaXICwDTTA+QnGHzzSxpXOFoggg8mVLrvr1q90qwTIEKp/TYaCH54HxaB/v9UxsQPKDf7z/RLhQAih5yaCH1NiPvEhD6rlAxenygrpmB3K7RLq3EYRP0BJFVtTYYEx0hatmORV8bjiGT/IPlZjDWEQNGgjOl2b3fFU0U14GA1QH2L7rREDHu5UnlT6V6Sa3QgJKboV/yJl//BP2/WDdN6eOhoVJZ4TruIrCr+iwUT1O+RVYo5q1L5MjE9fbB2m4N3Hn4XoaWOWzz6GCzdXJVct+ZEGNapdUsy6V94Mm3I6vl4HLpYsHKEm5wASDx4a9pPntecUh92F8Ld4hjUAztq03S/9AOVrTynP3ZLS8sSke0+CTIWv8hK1a6oism8/gvR9yMLITgrG/sqZXEoXsZOXOGSLDE11nYAIpLhRUM6G9APIcDqB+n06q9hnxhGJBoQZG5J242zdUpYCpnYkIOTESP8lbv3jR7nqOnqvN56rdbwvl/A/G8/fqug973EUJrZsJ286BuxNSbuY/MOq8TEHXxXg9cH390k1RUx/fP7e2b3oQ5NjM7WugPDQHkS+DnmSafP3OJjqzIch7GNqRUxuM8YJ4NB+QMFYoHf2jaseC4qp7QxXoGCTX6izzeg48FzlvNluglAuCGBj1m0vlRjX2t+7Ft6I2nTsce3bFawIz5UEfos1sJal306DYHt+AWARZrv6AgH0NRsuPObq6KqAbdiyuyyfq621FHZiaxsaihWZ+jtDWmODXbRYFCPQJUUHgl54aFipvp8r3o8IWDbucG5aZazyv68M+uihY8H7v8QwOckwA9YpNiC5cttcUK+si+RAZ3V6OphiOIdaqzPS9hVsV7NKbCdbsa60Bp4jYKitOXydWp7X7SJnSYaTrF5xHCRZsy62Pk/7aH0Dibfz9hw+7Qzr6yTrtKkDjufaKy/8HPIGfoozOsUlly/dmfPd3/AZx5uQ8y4Lmoeis02Kcy5f7vC6sleA2GN+5eiKhPRcd4QcstMSLRwy42m/jb/im/u40Pu6PAyv3nDEXOXg9S5m+KQaMiefbpsLzPnTMrLq+8B0Es7U0Kg3dR9ojlaaby0hfqIOtMPnBiBSvqm7iEaqvoeXYADz4M4U9QzfSEVpQVxQDXTBE9AT9xhBC4pxWNz/e+rUjnglvCPeDqCxyBj39remyXRbnaqmmxIdeDNEYxYW9/ITGssyluNTTepkuRj4P5f0ofs+r1ulYxw3PVGWtZyQZlx/cUwPuuenJzB/cE3aDt6fXuo1xs78aTzEqkFi8QDJHUFubaCTgNgriuO8VrFRMQKEmVt9s30OHOMxpLgYCiALyx9VnynjjA9P/YC49KbMddqUEeqU2aygMSik/3G2XX12TmuPuWt/Nh8OvhtojXzodbqk/+y8GmAju+YS35iREruIkQKPxM1FRU5aq1Iic5JqZ0W0r0Hx3Y5jaqjA76ux8xO78yONHLRtrNi+kYEaf7DWyY/qK0w1s9HBIsGMFVYhh98WErAAezl/oCidE34MEOfUu/mbe+O3pQyHBlwKE9xipGI7IQOSe/PRK3EuI+DsyJGU8IobnyoaBUUYACDY9Rb+LEyh++4qrEyY1TX/rSMGWYYrwqqca3cKBk1sRzrEdNHoGd8oQI0/UOvsW0ZRE7Zr7TMxTOlFWrF9oYaJpj8cIS09/BUXaAj76+wDRNUFkSaO2mhk/BcqUOEP1jj7Un14XrARx9MAdrbTZGqOAy51y0Ubz+s5rcDOtRssjXGAADcvNlofiIWUvfNTptC5uYSHySsjdR10MEaIL+TGuO5ac1+qNydNx1bbxqjulDJsbqYKc3XaNghAmtkDc4n8lRcwQW+eCHErSzx5O1j8dvCDKIeazOPJ4XLIC/p+yWuzZ1yWSp9qbaEbssOkck81PKUe6ggrsrBziWC+41QCceGf1YFIMpnNMhMgKsMp6/2tbfL9JTRwafERhkA8cICd7TAbA/GA6bn/KhVXg6tLT29sbKzz/wUJauvrU5Nx9UCSa8kb2VYRLd6woPn7igrv/UOx4h2VjMGnhs3rkW9BdLISqqb7Y+9mrDqV90LfvnQK40M9eTLmbkZeK/aFrn3ZVEm4lwmeSCAgvHAOYxKBwBF+fEPJlUjCs3nhnEaeeAJbADCkn5ZMPlqUTS2ZfbSADJKaqoZ368TxK1viHz9dHvxel9kg5qmqNRIi57e3L2g9nA2rKPDcqR+ew8qvP9VFrgW9gsksJEheUsZyQW7YAoGTgSO1OyvCcbKgxUotPEbD+ty1tSorruVljDyKm7C7vkYj62dHwGfKktT07NX3YQ2RfO7OShbb8MB6bWXrWzg49RO5hj+D5itxj/Iyhz0l7zHQHbPG4NBYNsjxin7z9IK6D3HbwsgEhZzBrY4sMLJBgnVE8sTyMozZwf7DHxqaXq/CPjvYc2C1scEMXRvkwUPnifbyOHgvEPCAAOMG2Vuj+ja9KdU16Om1mShPcjKG58VFH6wNI5+dXoM9DrC7db0tt6YSOQPF9pYe+nlA5wOWfo7HGhsE3A/uaYPCFcfU7pVyytrChXRvO0bvy1sD1CYWwQZs4xbKjqJKTr7lOI80moR0gzK1yXx9vzr3hvamhs0GEwN7pFAy6+ktYKbPcSN3OyUVc9unYjk1fQ3okY+j0BKHsFamV+da/Tga5R6UYsv0/KIXUiIiPznP4fQvPvp40UdpaCM0pkDW8LOeQnt6N/u8dYyM0zsIDovdEzu30w5rSyr8bhwS/l8h/P/l+Vvq+1B6LDHtyfN335cCtqOPUNsR20fb0csBoCMc9R3EzQEKzoaAadAwvtERvxhTJ/LAgxQdeFmx3cH/YlNzoGstsFPAcvISPcBtNQC30S09FgajMXxvlPEM4LFigMe2Moz3QNMPMIw1XOEfx9AF6eD0hAhKputmZNo9Hy7Z2qQL1at3OL5evyTyr894/ZLggOOxJSSW4z3L3pqZUdOscN2VP1LhWkBEVmxHMj21HA5XQ0IF0xLlPYpGINFrAM3JpBMJjAbQZhaPp53Vk5XpTpFydkxHIV5hPLxXzSJTU/9NeazA8jn/WoE1/DrfYQ9Xecl54ICFi4YOqFE6Ed9ooAAaRQOWk+DY9r88OA7tgkrJJBL3/3sIaUhYp1zdk24CFIAun9Tt1c5pJE5ei3hpKIcerg+l8ySqTwxfhzyzT9QtJqMQq5H/+JppPeKsLzqn3btq5WEmPjjaAB/NVvEiUMon7wpdkUhkdlCaIvUH/6v/V1qwt9huS1ybULgnoc42U33F9dtW+U8S4tKfp+ON+uS5ZluLbDdBdhDOvxOdlLwaHaoAPvojNcZ2SILnjfYOtz7t6I402r8VZO/6c0uxh9I+7UTrP7gJN3N/N+Fy/74Zyf0Hq04qDxgOHNwcLrq/LbJUZG6xcogxGKgML6WOuhS8pH6ffhxsJgOxqHy6HEj7R+OVc6gWbdD38eZwkfEG/0KRifnVrxjALu6xoFl5AYZ965nw3aKCSy8BWsEAypwY7tW0UHe01dUf9yuJD0mPy/0pHs+kXWyi/rCk5Dr4li70/VijWJ/43cboL7QHto13VCApfG63/fcdj7xYq8qrYWgXhhK7KBczV9zh1aabaBWsCxFvDMsSumvj4ktSfLqNLfCulGJ8OMjv8emqjY/zI2eaQZ/FvJhIQFHCTkMrD+fyMoIBnXs3tbsu9iSkvsmGFndaxHCwpturqyE+thhV7YZIDxqFgl3Hm0q8umv6zF55dSKscD5ciQ5CGU/WxMQXq7oMrdydyeixCfmNnpr4OIlJOwKJo1Ev/aDvwWxVxH6x6Y/qp/ls06/yroLrkIGpLTaGZaNP/Z7p468HT+umiV0wr0anY+1fKUiVx9Bfn7e18X3Xbuezk78iho9zI3tm0NJifttLJGQUuNT+TckT223fzRH4E5+a9jue8dD7u1liv1LS8KO9FuD0S7gW2pyb+Ttc+m+mAOk7AwXbqmwjFqUjpk7cBofJ3ODkIAE4H00NDszUinl4HMXUYOch9ZVmQyAWaGGbBEbG4rD4VoDkJUSZ650AAXaOw2xupFrbPwYuLT763s0DZJEolu3HXBLy8FIBH8bfyZypa6Xe5v+HhVgENfqYV1PBV+pa+UMWkzxqruhCyi5Ldg1H2bmHrKxCqFYbaTVZijLnagIx4heVlIVEIcTuZ8R8fGJZfT/641cU0HYz9m/4Xhn0xwIJuyl95Kz/ldv7wBH2fCvIOGI+tQjCgUaGEca33LjXwBhoZB/xpW1FLH7vx/L3LuYvgvR7Yy/2W/giatGXfaQcu1i2CILTj62lySm4LzSxZa/N5gFQg/MUez6xTHhJsdMmCARfi9kqsBDFYOlswcsPlqqC6uemWokM00c6E05b70DIkDCy1kWKIcqYTuXaPeHLJ0lIXQcou7YxV/U2/FekAJ/wtW7tmOehQQ3fLD8/eOHfADDduE/hmpOeAvKGJA2Cpqaig/qvdiXOzPxT0fql+rn66DgffdQGsoRu6CKInH8bMaqZpbg0IXCVVD+JctqWJPLa/xAzdM0Kp40/PX48IGlDsUNolX1RGL/jSyg6UWnZbxVemdCxN1g99O/TbIHrZlXckKHFArdhX8krlqgzWYmB2XzEJRFUaIk4xLisgNFfEspO+N4jeykTQRf6Alrbo1PUQ5ItbdEbapqKEU+esD3Si4CU77bPDpK07R8EOZgn8ys12ahSdi3T3ElG6hhqfIt99J4lNU8hUF4yKgO3Hf8r1JKMJ+x7ZYQzWu7ezKfhM7XCYNAYBCwvto3d5anp+CDIsbCbarE6IFnmzjJy9/Tr9XKagcHl+gYTtFsY44XxcBGCVxhDxNQmTNvm2zEjN2PBU7AqNef9k8Pbf/XWQk7D5J1uFWAAuwtYqtKFx5ryL8DAdMjrxRX6TEokCFX17NW2Ia/JOaTNVpcLqMW+NKZguUEKCgdmYdsK0fJp6Jv4L1y3xFrAtPx/u6yMYxsd8qNdMs/1arMn9cjjEViPLYf6K53cVyklnio6KHHySECShBUAAaK3AuFIN4It0zszj53isMkVgcvC0JnCDyIzhzGamOq0GRu5lDe4gnc0lz8vzX9joDtuahJcpkDWNCV6cMipgr6q5vX1q+VU1fVLaVpBOWIcTsurxWsV0VNWgmhVJYwfjeGWziDZ14J1xS4jj9phoAYGLraXl3WhKGI/tKqpoJ1YfEA7CUR3KRePj+JwbW8IdKBMuEDJSLet+dIWxBjoXfn/Wvyu/dcf70DJo8aPtz5C0qDAhLLBUyTkh8fdUmQyeLbVsFlQu7yyKkcDRekiDNYvwWEjDtgefN2Q29D++u2jHBSwlD8Tei5n3no+Gqqgdak6KdY4xlyXndX8OdluPb4Fty4Yvo8HGC2TEe7IBwBmP865xFo5XS8w9UDJM2e+lrpsiJX95Yi9TXwQdqU8i7KotQjkKmNYz9jzpwi3O1FUBytSs9vinjxhMTTXbILoVivecrYGt3DdufwMDK4cxPdIjDWNYyHXMOm5VmRXPPJKWB8jNkBF95MULDNSnEhA2i89xCXlk5ehRInScHIGgaZC1JRspN/yMfpHeWvlN4j0ORhoy54wiEVfTWYKtOAaNfECs0Ti3GllNJBwAdc8ERiGSZbPk++4OYa65+GINYyuW0lXD11jxU3sO3nPIo0Y7Yv00OXJeA4lI8h/FJ7VHx99177q5YWbcA7r6wryZCgij7Q39nKXqqAKO+bvyKSu8yDiiKXdkpb/gAwYmyIjd3tAhnws+cDMeKXVe3J1HybVg2EbvezNHsnn7ixnsw0ObPDe4uE2Vcfg0GWukG6S1JPs/7X1iz0Z2JbeOOSVlJCQkRiBWDp/LMh86+21lBsfiA2n2eMWcnoDFyEY02Gb5/nh3OxUSUAT1ISIGkeaBidVmpMQetpZk+fJdhzAnVlooPehgD12sP/gh8amASr8LI0dWm5UFD9NxdxkYuMCQh7gof2M+FODh6oFOcO+bDRHwf6Y7YV0gdKmZ9iWnjgUJ7GQDhsjFB/QU1icgOJM72eoXNiif0oGfMRCI7OaA3jurM5EefmloHlfXPRRG7vKe0RwY5xAHY72eRg9Vxa99Gjpw8DPzlcrySsdgz8ht7gP39nAIb4rK8JxvKDFUi08Usf61LW1KiOu7WWMvBGH959nM/hNWVIYZL4JxkJPF2NlYoyxoknr2VggzFDIHB0UssgIjTyI8LXDETNkSSp69qoPYd2A7cRVnsRw5AOu0V1B02trcA2mKLcQUovycrmE3e7YuMPx4npYC2OErQUdEKyMjLFWOTp0GAsjUxFHV2iC2pkcoWv61r3J1TWwt2NtBlriyMmNq89Z0E6lgVxngs12FTNDtFWuDmGGFgG3GzwIjBUUB1GWP6sOUvTd/cJnPZgpoWqR/nGnMP229fb64x2Q6X6jCj03G/8wOS9Sx0EHY2jwhdwI11tz34/qzU3VtdXGItS+UYRwzHykoA/AUK55sON56oPDEKz0v+alg3Sy7iltXNQYvER68W26CREViU/d6Eu94FglQOWbeNt0W5JfT5U9uM/jq/5x6FCkCdFrg5slBuQAxwwT/AJHXypkYWl9TdpxWlUaFPWRdYpVKe6Nx1GVzOPErDoXt4yGu1y+EnXCv3yQVFRQJ16UUZ2pMoHoGjinm0lBFeRCF4aL32YylinujEfFWKgVM+mYXb073Hq69Nx9SzPgIeBRZD5zFwvdiGfIe503n4LMK0zJSxmFzH1YrD/CPoVdUBI8QGiXcFViCggy8y7zdDkQ2lokyyqd1sNKnPNINut04OEJqxnD5ysgTwlieqMo1PhejbzhxzgFxwjurOQhsnP+5+bmQmhrIVstM/9XBqZDk2c6oANDooUr8liAAXQZOtuJd85XFR4n0kvl/uc2dpz3jQzduhK+OWJPOG7jcP4URCQd0w4ubHBw0K/wVzdX0cNojUsH5DU7mUepR2qYKhhb61xh1I03qBQOA5Xm0CkUTt3Qm0qpqNLRqCQqlP4hAsk/Sf49+UalbONf3sjUUvg/TK5sWrMNd5sxz0Tx/zKJxTfW4a5EhGc3HwUBSTVfUyM5S59T1CULRxVFt2cktPLH88EnCEt2aWy1StqjkKdBwNLIXNO3TmzBSUrYzkD896LVviRzmoh74aooFzeZFMpOSWs9zdP0Cc9bCbJx6mjt6F4HyrkRenMK97tPIB5NAKhByeZ2vz0vbANzgcQwGZuzOHtbrSAsVdLY+mYP9AvyA4VIYM6impnh2c2HERP+6idVnVPQBTGpJ5+BmiEQYRAJUBwYgC8BJU221+ZRRParxETtb3kPCJ8GJTn3V5WU8dxh0/n374aBjyhvSJHQ5LS2wwkEzT18dpMlEO/BbYyPMvmcOcupJrlOozmQgEea4iP0jfHgOLQrZzJzeV2QGvbEeNRj0NjZsA/rmF9PF+AWlNREvW887NGD81PswwLlc3ep1sOIHEsKfKeZ4T4PSHJLoaCY6z7Y6I0fffnyZ+/w8K5++YxX/OJ00ju5+sGhngGtPih8yHLpqK//m5bfIr8Eq5DvNMqk5AM8EASLDk3d1Ou/HbRAU6apbUso+uVRkDT4iJhHhDrJqcuUpcevRPsi4bdi9CmZ0PnLDQabE/GRtB5z064GedsXQdjeOhbP2Aql0uoAk33Rk/WDKl6dp1mxZsvCa2CG3weRf/pDRwefxBqLnbYo3U+IV5vR3bCq/dQ3apcrbydm7xKfJarrrGfHCRi7d8Wfksyxdum2prJeD4MkcWyV6xJXhjZwXJxcId0DeCC32ORxAGPjXUm8NQNlF3LqVRml4IxZ2MO1s/2N1VJs6YnkiTRW+olPeQIogmZGtOe9uf5OTefghe812IE/ZvHPvpuXnGWZagkbqq/ILQklmX4Kq9BFBpiWM78WpRVUbjmMJSJGRdK1HUwXSaXYl7/Q6pClCaLSqGxVq7MUTtEhm8dra8mqZK2QOS6oKa9pzVxIqMrMgt8SbqGQwZ8RXZiuTdWGuNFCw8pc/d6t88mGGvy5XyOfw123iZCnvA/LTnyKSY2YGA/bULY+NfUvDzuhJ3lirAkSfmoZXql6dJ7Drf1UjZ9iRzdpSv+nB5TW8cWx49EPlB5LG6PNiA6rnXWMTX20EFBUXEbnLD8buSGTJdeM2uJtp3Vl59GTnkPtSGfINkVt8TTTOMMv7MZhrAi0b/k3UdDM3+rz6x/s9zO6g4q681rdkhERWsC8AAUFDfgZ34Fmg9vXYUaE8F2z3w8z0AeYPlzUhtMoU7G/ZVInjFr8VsnVYsUir6WsKm3H5OcTKdGUWriarZjk7qgpS2FZovxmpRrlYTMWBS0VFYmuSTaDaRyChKtOvneJeyl+bK48ZqQQqDj+3izgpWFw6hWBIboYIIzYLyopYPglfLjDvMxyzMbq4gfOqaXfoodp4aQBUPAjU8Xpt1YhkurHduxpBUF92y0mbgUj3xsOXLv5g5q9k8skxEvi78nIWdIQVDl2BZQSrYJn0ZXAHw8cgkNdXJvgE+zAnrD6CMpQqZgd4ntfmtHyxrr9NnM90ZLEqWR8P5m0vSSiUgDeiJ9780WkCNFtH3FTsX5Pt4ciioHfZz+AJwUVnOFRhxcy9UWW60Su3/lzqbmPZhLDcO21yqMLv2lQX6YbREZF1xrCv9Af2zXeUP4h86cBrpfDrWhOF7mzAlFctIO3OOFRkXsNyAOKC8u2q7fob5ZRNnb39vwd1BY5M6THspzZ7HrGytYuDOKXxx8/BVBmD0B5bimZFia9CXlKU0lwG1Dwj6L8aLeOq5DrTV3lEb/BK8N23vFMrZexa0hDtksT5rbvtTGV5wu89dTGl6quDlgKrm70vTZxPSwfQKl7rBLZ2+NzPuHq9N3EaJVeSlNqTjTeoKfKQMUOTPwy/H237koh55s6zDGviUz/0ac6rsIrwX78zi8Vrud5i7IXZfgkdiNLm3+iy5D8Xi1zRp/YZ09rThHfHbQN+f1WxvIClaeoXLc1OmcQZK8R81Vd3TRBrxwQMSriYpq6myCL/hkgvPCtcNxk8FPPuLBlNG9MqsTC/XSzz0TSwvzdV+HqvYxaXkKmju4cizWHONdTRmvxeSUF9+xpOCHsLw3l0XHQCwhnRgaAtSX6qfbghBbnTZ3QqIY4GJy3FgHUeVtWzg1KPFWbfEB2l3KjjJuUawpXZ/R7u4FSFq3WSF/cWV+I6s6G+ruUsYqOFj5RtyNGw26RsIUmNox3obulKDm/s5auPEP06QXk7S2IySNZbZCT6oKWrIhbkxQBG/UIWMFkzRpqfYyOJgMsLp03Zyjub4ApyJcsaBocITtsXhRTeyPcryAYIaNZ3vT3WvHxsVJx61+AmlW/6iIfbYaPyssUcRwQpwEIc/l6gjid/UAGpZC2FR7zCFBGi1+2v0CB8hvYQxF7v8pl2QA/gDD55wREOu/ereeqlk+Do/ygOD463TxdYQ+RnvBVKs7qeTDo/u2qXPdj6yK913hOMdO/44KXBW6y8cIGEzvN8egYfLdbSMsiZscWemyS/HHz+evp/oSLseaEqaZf1piIZXJnjtc1tBtMUCSrX51jYVJ+O7Z8Wmcy0Ere+85g5pY4SkPX0/aY7fMiY8zpkSLJkHdfJB1GujRmcV3Y57frPXXRGpqWmwcG1r1+abQ7em88bxeX51rAg9m/E3dp7W/9BSHrHc4M9rosFtmjT0PSsfB+vCd/gc0HNlQVt6LtNaoT2m1+Bl/iz7BLp8vmCCvzFJLzcuon+wuZ+1Biyl4SvVwOm9WXs0fLlZTiwVeHRIMHOZfby9thIDsHpCdH4FkXvHKuknXHGb+4S/Xyaf2hrInLfkCZv0S8q/ihKmbOYE9dcymEar6ALQcM8WZaSnN9My4rtQnXVJeW2lTXhMtIa24EysD/kCDLyyhc1GZHg507frIz8ULc/+j/sDkzrZOTppRGlBbjAXvfP+ktC4JkLByfl4cDVV2wM/KKaSFHgy5VCY0YLcoj+Bqj4n+VbEqd1AjAYAradDn2BbB0oDE2xjojxrsx+rT85q8mfsQvOfv8AHYRG3b1N+DrhsbYDCuwBgeih8u8o50HAYaDyycZ+cpb+IWgcNJfNpBf85bk5M87B/Ej+GASr49cfESNRI8BivSaYCGfYp4d7dmiVm9KxigPAGoisEOr+ngg88zvSGuvjeTtWhbUanwmpQW5OacOdCDvzDgJb+e3UlubGX+ST5oRXcxnWO9z80XvNTH6yneNtE3hYN+z8kQe5pp/KuaZXhravdQLMzhRD30EnN/HEHfT6yHn7zP70a76C+Q/Wzg9wUYrejCtmu5v8Aw1ES93T9T7dQjb+OIrXHFrINrE35fL6c2g3BIQIChAYPmG4E4aR17HOGnTwZCU5IUSyixgVY1yCMDviKmpfjoe5jWae42u06trSvrXeXEibGkZzg7YBcs/030lDmLPEaap8vQ6lJqYsnLIwbcCDHI3GdIF96aylA2MKMVNxpnENGTdrptqk311BMAdBhW1BK+DIsgaY9tB4Ly1ijXB0kFVaJSqzxgpEJgyNw+16mOTUvvdvKXLBmDSiHJRh5QaHjPtRRc3kTaHQ8INeXVDVgewObRCPi8SlDo8U8gQMYWkARX0KlMIbLMulEEptfqvWVzc1Xna2Srf+qCG6ZU7dlV4Rao52MLboU9UxTshwHa8OCpD/nasKnylmTbZ+ITUr4MVYQryo+3975L5uKfYicLu2HvQ0yuKqsJS6gJjugHCedZCkRI2iS7OD7svD3vxjA+PDy8Pezy4u9PDJ04xWIyiOM4odbDhTQxgArpC6ml5LQu8c5bQcxQQ/XjgYYEV+Dx2+yoIV1NpfitXek5et4X7ymUaFVX4Mg1UFf9RnCq+g7bKqvulZ6elyzZAwXkN0tLtxo9Fkb+24hZEq4RbvVV+EAo/zQpLvcJp1tfEkJrl+mE1yx+E1iwNDq9ZX7BDeDcyl5uH4dnbKwFp7TSZH2xWp8TpC4R4SZTFxGKkrmyAor62jnvAKgq/rofFqKvkpHuLVvvOETDeLNY0thyU9QBq5dCrKXm13GxSi6IZ7+U5jrcQX/7wO0eqJHsrrq9uam9KPEx0Wig9nXJYRVsa4msa0kT0tIuZy8McNrqfi3RO9w8amdYkm7z1ltzzGsOLywae4hfv4tvwDMVLprP/FC9m9ZEIVdgVLxZjV1EccVSJ75QEiqpxOjRsDlOJsXix3++EVTKEqjIVL6p6o3hxoxTu0PEXaoavtq+YsP5RVr9IZT1n4d2C8xaeTfEDwOAUcQQ5N03dKfh4+8LlXs1hI/rxxYTQG413pZlWLg5kwQ/O/JYclVRiyLDy0gVxzCW8Zrj8cDGyrupbBoCTUFJpoUiCGa/dpveMbrxrdZCh33AHYS0Ptkb+MwtLTj1sqpmH88tN7HrFFKw5qsG91d6u0iTzCbsS/RqJR71Xp6o2lc7XyHcclKbXT+EjVgFrLoPSN5/Z/xPfaT6iyNJCke4b01GAYewZoBJ1lPrtkDdOZJ7xITJe1b4kKg5eqKonlPBvFJAQyW0mGewRz9LAohy7LbvbHg/UqdaLunm88pSRODJAkXAUS5USKVBVeSbW5maPrOW5LLXVTPgDFCoE+XCFg051J1u/DUVTk/ijFoYd9Gi9DceuXE4morII0CE1nSXYYYEdRijNxAigLQiQwwileBgBVPf4gqGfKSc/b8b39GSKosve4WKDQJft3xhyBcU23S96mvPjcezPxLDYwLht5kxiMKh9vCIyKk2eKO4ruH+8qu9X7NSNkdA7YY8VBQs5Dv/0Jx6DPnjNYcV78eMnD4w6VVOtIzvVTcVfmtPrqtHXikvR9xSigvJNv5aHVkVZLgPYdWiqXV5GSFa+BbniQ+FbNViMDAC/nKKYUKMrCphnyZgWj1ZTAyxJPj/JsXqk6TR61aTsFjL5VmAXxLTOmKXSEK3SwmUsyK3SbpDArl48K9JWm8Au+D3mHlkgOUWR7DVmg/caOB1GkYEBSlijqu4Nl2sVWSgAOIxhD8CXWS+7NGCZE+r39DfNvQVW1S29GXxU8KTILZu7xRSM9OOYFrcmbTdPXj3A6ujCWrAlTJo3Rj7nWJTmTY+Tn6zHm/z0PN4vtpXxvmprxg6dO1IaZxWV/JiiBDEBN1OY08yfHuWjWoiKgdK2lq0Ax0ieJXTvAmqXezjA73FsXLjhhGJ+UMISpXamEoQhb2BB5oQ5agw0W9jpd2bFBdn+jBEeFGbCrEVU3x5Ldre88LiKu7e6uKASFO9xcPNAY78rh9DiGYYl3KFCHYs9Jugtw+qCf4aIM5g/m4w/xZ5l3JxbLFV/kmO+EUdyRMJ3uJ8jkiEquNPyhJehD5XFPVWvLz9lume8CEEaveQFSDtgm3kp3DzsrEIc2XbPeIi/+RxrA0dfwMYHHfm68EhwYlWdU2xTSfGpLPhIKB/s/RPb10GisY5J/5xCav1DIFdGWURjqcgG9mkNpC2nWODPTPNTfi1f/shcW/5O4oFqhRBg/27weyn6KgvnRP3qFrJ6FXsEMVlkXLTKPO8ofCQIaj71qi8/bYD3JQnwHiPAGfalcAMYcBLmz/C3gFsQYJYR4OA1i4GfU1omkfcXtgQBfgr7O4mUjX1gMdhyYLGyyTEC/HKWipxkAZIgANmVdVDPeLehQZAUHmOBtkuizqfLWzOuU/aEX4lJ/ol5zTrtBGic67qhTiDKZAeSA4qUqm2ZhZp9G2B/tgXbWCv2u4x6+1eVLLPnjbcSP2XBhkyqmcTU9rpdF9Um+2o5gzsDXLHO3ySejbwL/SG47hkM/JLQgHXFBbyNVGQze+whx22UqrwzfJ70Bs22oa1qxMcBSI5Ml075FCPrGNFTpqEFYwdNyUoXN4Y2h0OiaV5tefHAtksjhUiAzxYwCnKOsES5YlbhCkvKa3om5DsAKTBVflNoXygMvp+y7BiiemMK79fvZAqiPnd8uxuQPWmPLFo3bCpQi+pvML+1yalizR5DrUslORgTj+jhiTK4OxkYZ5TGkuH1A0Au95fbKK/uAuZj3DZPCcug4BfaDD4nmWqX25GqL8X8h8yga/LJl0+J00dCQB45g2SyhFllSZ9ASXdcV/tybyuVvx0B+mFxnjVQK3t1KXmVndKlFmki4hKeIzyRQj0aH2800mn67RxgXY24wTY/UKd8iq2aaozHSN0UMG6Mp364XY1gG/a8baolyVDB2DntZcirObJXkCx+EvzdsTgEqn/iY0ejHgAWeCrUF+dv2QpMN7wPZljsUxXIOYY8h8Ks5VCwt/Wh0XlYKPPvNdN741ZxmHqZWeP0cXpB7x86Tld0HFf08fGCXhWJgv520eSxt/JmjnxLKE0vN/mIBfdqhZIcuOQ9RzRwwtQfOcXJca8FaUWDphrmHcR3ai+lldftOg2zz3v9iVlCBIl4Jd7JIkWKKF/AB74qsrddRlDrti5W92G3lOzAX+eya6s68bUA7YLcRaDPqe5U/UHEtEKFECnrL0t+pIiVzfH6k8hu5LVHdGgp87+friXEClIQ5HIAUUEARBCghhFgvUFCwIHec55pjinThOeZus0z7QQw+fZ7EuN78R8YLn6MrauqgPYnm2tbCpRZqVga8gIqyqacTyzLi8Riyiv5zf81yAq84WA04Be9Pd/uXuD+oGKyrQLhZp/+FmGWND5GI6fYk7kN4PfLRid51ndKB+g1/FOZsr9L3HBGLNEToS5zWAxlFmiewzAuaBJ3ec20ozLvGKVw7L95saNyRFfliO+UIy4oR5i3eJ7NER+MOwaX7sk5rwovYm9PKZchZUVtCs+nJY1QhFeps3K8voNdv66kkMm3Apzww7rORLska/TtBBzKucmKqaNYSBbNizsv01AjFhh03JL7WQsE73DNLuUfPhtAdMWBtJJfnp4FfPyrIkfYRQUdbqNB2ZhYucOeGynRS7FmOcG0E9PMc5Vk2sLzV7fy/OCFh89UMIw6TEH7CY4XN3f/VOiZ9Ei5Mgqve7D6B0dGlgryxrDZYCeG3ZDWeVnLxee0Qg27IQVyd5jbC5P9P+q0hRuVRaFYqVTSXYp0SmnipLwVbwYdh6QTVDFyHKbbHkjcGWtGwzCsWcBrvCqyonUArNvyoATtlfSdvazfEoxI7AcEzDuLVs7jXypxdOFAan9znPrXZ5nxGasX75WWobJpleAy9X8vDql9Bb8Akv7T6IsaLwJoXmX58u99/sFKy9z3i+c0Yrt0h4uf60KFCqf/pkEW6SZqgYHC9K/0/eMVkUh5jxf3cap1rKovSdW8vzSwyNP5jRoKmTUG3Nl8+fDb0wMCmNL+ZhAzUrSWDOcKLpYxrC0W8bLSUljMjOWycQ1rc17sjCO98bmlbADpjesHKmOWnbcx6OJgV6OtcZqpZ7+uXrO6hO8CRQZdE/r/q4L12xq6Bab/61NsBRde2OizC/BOSHMKM5bpYoOTXHh9XOO/+cHNsvQ9AIgiAtwQBEAJApQKAnwUBEAKApw58hJ5tLxdLQn4jgBmjEwMtGEEkBYQBCCQHAQDCCgHQQECy0FwcYZZJcdji7thpaM5KurpME2qBV6E0+wL0Wi/4Msu/JJ3Oy/gE5E5gYPj7QI8yjwXwDryIuZMb1fSBwdHrmjfEWiipBc+UPaIVfbYrOzxuLCvJFjYV4JH+3lDgBNdLUWOAVnudPiZQa3TH+8IARCFgkAAsSgIBxCRgqBAGjdBYF413nXsUfYwvH/z7/Dqh6J1Z9hVh1d/4i0+LvdyQGZSEmPFrIxpVuQFfa1symOho3lRYE15ZeSQl8R4S14dMjVqiGYU8yNJ77unJv2FS7Suf5njpvc3v/8ox8CjhRYqECIEuWsfWbNneCtzxCXtb5rXpryp7KjSdxhBOTGC3sQI6owRFM0iJJMsQtKJEVSRRUj2MAJY+5EuqRciihQzC4GfLSacIf0jCc1xY8j0keFk5mE4mWwZTtqd4aTzGU56kOGkqQwnkwrDSf9kOJk4CtzlutHkngAoIAiQBwIIBuQBAYICeWCA4EA+wIBy+awpBQD1++H2RlKlqL2iN4eCTTo7Mir3PiQDWuiK0NIFbqExN2+uS3gx7yhL+JN13O6eHUTWLT2nsLfVD8B6Obylb7eZH51eTJqaPWMv5HvQ0fX7waLz/DQXpkIlHs2rPpsNUACj2fY+SrOHAow5PvcjuN4uuAmeDwu+twn+nwuBtwjBNwahxrZwqAiRdwjRS5z7CBf7cqdY6xlYv1Z1Eiozw+8aHaBwBny6moBD6FEZFdTQiEzypyxHyny8WHQmoWmHCtYVtWADHRzHHgccccI5Wh7QMAkWcyLSV9O4BxaYuk+j14FsJfr7/1aM/5IHfXcj5bFOYTmJW//CF2i5EfmxGT5JkdZMP+EnTAtetDOfC2Ofd73t8/RcyjnRBRqnZxPm7ZfIHpHzFnnvCwteAJJTRRblcbR1YfjZLCKrVjz7RqOmKx/slOMqcnaKM41Pq/2j86ncy6fua6lnH+pb969+NBbA4QlEEplCpTGYLA4PhPgCoUgskcrkCqUKVmtMtd3NRd+hu0rGhVSgjS3Tng5oPNPwQs0rm86bqbeCyyUYG7q6nXEhFWhzpNE+yT5L9YPLNO+TaUujFmb5WVUBynA1GVoF79qhtoPCSFJC5JHke3SkwzuYRA+pTpIipRkYSQ//1eVvker99tIQO+gCLC96adTrlBCoNRyjhvWWwSrJD/Z20KdEwe7I5Xth/w1/ZNyBW/OuvnkM/6TptP/vyfTKv19y+6q/S93r/53qdW/4R4T8wVv/lQK6WTgO/BlY9d93qASrk2cBj3xSUM3vZs2+QJ7DkcCXm2alfPR4y/4Qpto/HYbFllhqhZVqrLPeht+E2Djh5vQKhJV14d4+QA95RA+rNZnae50Eigyg2LJlaVV99mT5c3UEKohB3S+r7JdfvOd/WGU7Td0W+BFJn+bra7aRGE3rPXM707YOs/PbugM+HOsC/vRBhbHJZ7KLlYO8XKBy92d5wOXrQ/mlKQDcCbZ2QtEUNq0IVkW70nOEFaOmQmZUVqGl2T5MjNhuNB2b+P7RZUmWneUkuRVe/3OT8nOV9kPZ9tM9+3915bEN/HqbmMJEUn9ndQqBw8dOH6ZPZKJkukzXKUdEpmUyBYuIiIiIyO0p/z+NyvR1qpOJRWSiFxERERERERERebuknNsEuquULZO9pzL655/jb2DVBs7PMDWOBu6D3ncjQBREY+uMULJk8iHj5I8C8H4+XCnamKyA9I40M2wkmN66ftBJZsmm1WQJcv7zqWcch6IN/rSmN7B+7OsUiwQvc4nYBdu5qvZBR/TOQweTiAD7hXS3+vQIPXHd4SqOvQjXDyjOvIvf07GxCFWGpFUqOQRCoDIZKOi71WRzVU4IcX8fQnhs2JrugCcMIWMTw9NP3+iZcOlC6JP+ha6XW6WZn0HdKJnMjKWqAI/JrcmJFBOijT1Bu4RGdxJXJtS+Pt7/Y4iF/nTZZGGsZL9lEoRJQjj0u3m3C12f49/pn+F339Em1liz76GcX9/u8YwnsVzo9QsggcH6+u/rPSRNczssJ7hHPGP4Dl42xGHxmd9Rl3pN74MSvSazJy8h2nCGaQ7GEIOZaqR2eo2S+cV+MMKk9y2kxoa/MDSPTYDPoiX9p+/JaSnnJ31fAP+9NNjQdm3kXI+EZik0j46vL32zLxbNBQrh658z50KbOmkj+2H4/yTVfEhjrmxaMuY3+v9A5zjIcJBDsmxnaxJWEWC0fuoIw+kKHlJyBsOTZiOCM69k/PTEN/cfWfE/7PStkc9HyTuS0UCq6INa16JTnLE3e/rCEtZfE6ELNbPMPLiyy4H/bFTgMXbnwsY+jOZyqaU0nFuN1F284E1ivMiTbCDh1NnTZkOXZ3SGC5WuzuGM/tzbB6/BnkMCoPaDqu+Mrt3m6i/CvDxXZSOhmfVtC2yFUmdP8AF2/dQZhhN+K2glmlPNCRnASOgxdhia5+34iH0+7J3PrvJw5cSg0xzeO4ei6ju00+5sOSlRPRdUL5gOcNSqDxDXHS3od5zC4f7q2b9M7HJoI+YF7d6RDyS0mx2FhDqxZvaUaX9F0bCNHfO3Msci7TeD9sLbIRdSOck8tl7Pz9dlrrMYy/5jIycQ29p59ableHEbwPej4eBheDI443utCy8UJ70BkehelWm1CwtI75VCkDPpWr6S8dPL8dx1oauxxrNDMyv+rTXAyedRMY1KpOtIfSXvo5L8/IUbExqCAP6mnNgk4NDkrb1qui0YcoXRgQajPe2BV4Twb1dVdkobighPfW/GYWX6albfj6G/8TFBBoBd+X1GSZqzlEnSENdVc7VAwQurfExrVT92XP6mrTyUlnlt0oxGVXdky3JU26wtu2KE0WSWNqbs5gRPkSN0Ltsm06a8kvIoKWteLZUxHWp0HkjKC1idefuIySQs19MIVvQxuzobVI8lHn4QRDX10PH/eD+8lpXadFOWXy/NQEdp+Heeya+Y9k5nkQC2v/w/5mHEZqqr+QgQuneiaxzevhtpcO9x1obDyZRO5nj8sbB5Z6TKzQpAuW47xcL9hsdS4b9S8sYLqmZMaRnLs0Kp11TLIVlbA2BZ8/7H2Sk1XlHvLnn3RluBs4zdv1Re3ZYOzpA1UiT1Enb6Hx9o2jMvnhxkhZk1dCNxt30nfZfn+b3h90cafxV2159WZH1L7x0yJvb49ekfVqxYWEu6wR+Z7h4tX3n86jf4P9/dNZ4OSj91y3Mrnv4kEancXnWQGx7o/o/7lHZ08k5Fh+4cei+hfAwASt/KvYyfL95A337PpHYh8//i8VOHof9/02947/JfueciHXmfD5C+nIDb/x6YEUxuLwbv4cML/70a8lMR9jue/Nw8sP6s/81aud33sSUo+B5vMZEy+CYEixtut/7pu18K8s/lAQCq7EOE7W62De9/wb3mfn6DbsG+S+RK+Z0Ik/jD+2k0uXSqshKDCrcOWJdAnBfTxhEHJgaAjHrZWtEB09crJyisrseaGHJjm4tlFsbVACxBtGHWTEYrNMWboLK0SpzHLUGgZhkgguBMNj3UdFbXMJcKDJnSvapW5te0PhKCpsBIWqTmsrkZEQety/l4pEOwhbXX8pFPy8UB5Px6GiEo7YtJW1zS1vubgk2OybZXwmJpICZ3h0gtSBdgejkElFBAIKd7tJQefevN9a1Ey3G/dnav53QC8YDmeQtcLxg7Ds8T7D/p6Koko5+lrdwSFC0uagfoof+jQ3yJBgbbDHRfsO1A9wTfhQwLwecCPRh8eU35AyP3i098MTgTVrMOzASFiKv1tz2BkzYjl05cdh3yGpIA4IZNyNkWuHFIQqJndZCL+ZGS8/WS59OqFz7mhk99FNpe73JxlpckRZaW3/ALKdHbJ5sOtAgPm98XmogMuzK+WSIFFhFUTNcFkVbBQlV+Q5U268CJy9F4V07gipDwnjkcwUNYaxbBKBQeoQn1iEF+kMx92NIzYRagmemJ2hEDq/dGFB7Xycb9kZRgohaFb7mZpAQUsiy1/1JZOJrAU4loRdfVTH4I6Wp7xtGNGZgmgX2QRLXV99Snzuw8qzGrieGSP+oyk4IIs1PKXslTZcyUblW6S+n3Stty/Wc/WhbVUKmwWQrlbnu6XhC1fzerfciBYFltGQEl5BGe++akujGKvyn1ayvT8mU5UGqzRSCVTDnlSpDlgaXaTYbNO2XXWwVHXW+D9YD7/g4Hx9CUXKSPFOR7n/DcyGYVuC2L9dE+loqERCOSJxPTegEuRu1Ji6XUXQxIX8dEAyagmJCVmjAEKYUMS4SruQlRxj7Sw2SzihP2zPWvBK1/aLrTqsObCAlX2pAM2YpHNVXnwqKl4EAE4ez77RM8bOiw0XkdrlfMXFYWkXknghICuSMTasphsYVp0aphmblMLBUPpSC55zqHmpVD2ff1Toeyawt96jNUWF3UoiOCy2rZMryl1UHU/tqke8RF3SJK2jNov7kSR+U8kWLUtQdUGOUb0AM4N67xYrgCbmgcGq9s1JsF7XJ2pcy2h8DEDtBTtRu1RwVzJJBBBhgrqLVHAxiDPbJG33/dbeNw2UQkjt+OXHoTIPaO8oNUe6wkIpraw1GY71ZA+r9fevcSiAx8vhgwkeG91dxdhoZklFBAHoEcdpIJ3CHNYqt6oN6HgunLXHp5bWDtEXyA2eE4i0EsO66hHgvZlYa8NVEz6u4JPMXTzw8ht0h5J4ICEblTWmTIyK64rRDh6rzOqvQJGvkPSEG743tDUEIcEWscFGgsS3ktn5wX/CtKmoKE2E8hI0Yhez67oIWkzYNXVllOc73I5D/pCwG44NPRfKiS1+Zmd4ig2CNx0FLNx9eGT55823kAghwxJN8saiMNNxfLBCTHnM500Jb6LNLfCZXlqGCkDnQuUo+TZeO9BVmmBW5Q77Yq3lTxLnErOXM1yjvtRgIhWc42gMxIurk/6fYw6raCHDG8EzA03MyWfTeS5lTR0dKW2kz1x0stRwWSXKAOUi621uNk3XhvQRa1Hk4oYxVvlJU83py5WotvSlh5BnW2n1q4UvORV2HamDrx22qwBCUUh5LF1Zw16zH5CPJc/xIdJRspLbjepAaikubc1OAl4d9De4Z+PRYySgjkiMi9rBsnC5KgjexqdZC8z0QlgeZ5C1wPlNkxPE+gnI5mJYl+Fma5JShaXG8XBcm+EPkjj4ugPOLdTjT0j0LJZLqSFCI6mjs5Fgk5Jq6zqobksVA15r86aIdbI0mVehEFDfTCDZ8DRM1XBiEh/5MsCCkJsgm+tUwPIZLP3don3J/dFTgUoupBYOKO6bYgNefMHDY09fGcelOZuc1q8XXxzoBM4tC2XuXXZlfZGRE2Y1XkzoCXt2piYPWd4TlstDGCjFw9dYfoepvX3VxqRsqkfSSzksFVJX3gA8QIECVxKpKqPCmAmYWpkfiRJCERj1N/AK0+sDXZtiD+7+uCJDSt5/sRrdUgsw2yqqmzcjV7PtH36xJt1k24p54MgsMrXuqepvFTkeeSsmKEVGkcsA9tJO/tJvvEItVzPxOSzYiJcpxGav8Gf/o3DaSXCkmQHBGt1XwIYjwLj1XgQ9m0E0EJgdyRCTVFF1uYFtPwTSbWfk9BEnIIfZZbYKi1BvasghsUYigmYiiGFm8iuKzMlvCW1puZ6gu3dIXrUbM57aVhlTp9s8bDibkazm91Rume1ZOOmc+5EJKZmEyf0R+CGjffadLXtBvS4P9wNVIV+Cr5M4LrGdMMP2As/vrRR3yy6+2qjReiEa2Bnb4EXAQ0nEM0ogENtxCtuf/4PLVnazPBKiWO3z5O0ksg9qDORHLPkkA0tX/lhe3Xe6K8DsVWztQx0vdJjbwew5X51Gj3DCO2qux27eUaVd8TDEEA+Z0ISgjGSSubEUx4D5TjBlaIAQnKlhl5B+0eDgNaOTMJ5DBK6y2u1DGL63fhR0hyEJ7DeFRXy5bxg0/yNwa6MPgfEf6gtBMhIoe+tWOlgkbGoqwwoTKFZw0BJQQT326lhVTrQQnZghfkECh88QQpL+SAAIUvnKCNQdcOGhAUiVRBrZyPzz4vuGI07equpKSH7slDLl/uHXmZgn0QD6Qf7mhcus7rrYLnzMnJ5YPLteaJlAJf98MQD6QfbvQ4+HKBQFuicklpL905eFfUigxWiNAMDTIsPllQeJIYYRKnN727GXvGAXneIlZevmqhu9NJH7GTzXLG7KVhhTq9xqfhaGJuLw0r1KF82nkUnBSAac5Wq57cKavRA50+Mfa8zs97VM2530xPrHJU8sGrq+4+2cv4CmOy5riF8QLSKuO87ljSrYviPNQUcBGLX/yxX+E5GzHnKDVcH+XezknCwUg/12nlXdIImTa2iLT9jhfw+5ECiYe8R182REDf3okp6LY2f4hdfwOUdSeOsER2d/dBfP/e+YuwvGuZs3r8j0jAn50C8Gcl7x0dsH8abcTRvUyscJQ1xx0aPYixBahhO/uzc1ns57yUncNeylYgpjVHH7wT4yncS9nrEtGti+I8zk4gZd548J8Ocm8WWPsE6HlzVv1VP5kNl1Frtbx8yDOwupsvp8Vo7dgiNYFMqkfKrQez+3tvbkTqBKPp0Hf/Eyun8583MFktLPiM4J+qa2rCiM/I7lacFTxwwrw51Ke3LiXNP8v4IKwRwnx9EhXk13zUSwSfMfzTonUeaNEG0W3ZMwYWrK+LI/ZebTK/uevk3gW1AakLHXuxOZ/j9OJnFCttpX7vL8YebklvWf1LIkGHLuZ4KEYAry794Wf/P3fpOTx2JH49rZeAg2/gJDKiA6uws/0NTvtBmi5Cn1VMbi38GWGR6JXTC/YHuUfH1LfYmNYx7fVn6RrDOj0FLsCTa1cGLgCvt/+yuwT6/Z8IEDCQN86TzV2rq+E6dLMeeh60U/b8KlkOd938EqdYLOP9wZ+q8WsmDNnr/xeHfYpYvKRHruk9zKJ6vTX5LROWR72Ut0vc5pYNyTPg87HsA55G97Rn8J+J3fADQIwgFrjHvOIJ9VtCwIeROLnz0tFsnpLWdCJobTtoFWefrOUsdt3/Getp/YFe0C678Uu0N+tsVc4vlWv+JwPqtivqde1Vjs+cKFh2L2DSgRPBjitGaWzNTatkZFf9DySYXiPL9I3Fn2Pyzz6fRZXYo3Bkt0Q94mUt3OLNHXImZtM9vnTQ4bta3EFWv3rrhpDXl5w3spTXUpwFmoO3Or2mFwf7FLEG0grsOGShqzcnYnfXXelCHzMwCI8Gz8yA/BmLiaPbm3G/NOby0pngT6oLrO8UM1jOBLxL5cPyl+en1plKn+4M41S+VpvRVAY7Sk+Xv4Wu4MoAL6+EsYtF7yG6kxwzpS+c48ziZxVO2snW6fpLxW0g7et70h9UFlv72sC1tVsByGY+ZnGUsVHrDvjmEGwCK3HSTRK98y0F89jZO21xNYARqddPkmy9bHAqLfQMQgOYctR62kAxdQVbgLZfx8cDLboJ0bH9b8B3rzyf26B1Nc/TUAOCuyWXUnmsT4/tbYCOvmiqPOyEGtMaSj+2TYNzOO+a2dLB9OFxYJrvi/1gvKweYsvAN//jLdszo96bN8nnlay/JZN6jqbNncT9x1rm35NYdsoUm7vobJ5GvPvnsdhO30LOn/fzly1+rhn2rOxtLQxrEGJmbYptZVkRc8mgxRBVQtifkvfNNecLCIvtDD4q8nZZxfl05BVzIiMv+zPJtjL28ax/1rk32t6XiQ3v59LXQg7/ac++uaKX71j01tJ+x6Krn3xRcrwXFZNVvsBzTTbVIEqRXk77tldq7erM61WaeQhgwvf9V7ylZ54ZUpecNGaCylZ0gIuc7pzb2srcb4ANBnpyzXjAGqNbA7jKRUVPg9UqhJw0lH7h2adWS8q2g0Ma/vqFX/yVxrIdBp0VaonNYkAo48Lv9uT5onBesZrsnCO0L6KOflG/RNc/Fm0yxvyfANbParnaequsMdgsNf4qwdpTYNXq0SK3dk4G0BTN1yN9Pefe3kn06aXhtyvTuSq3d6uaXxE5ZLTjShCaFPSR3ShxEexWJz9/6/YPv3x0Y4ZvCaNPJw8gOoYkRFeTc916R2CFbHUrg0rOba1zDeDh6zX3TR/RvuWxC2wWq/wyAEZ3+68ZeN3+UBWzfcxC6XUmd8IAUt1evZIgo0r39OJkn6AlCJ+iU+vFyM7/7iWwMvaibciu4bVu7ddZZWBYWSGL0wPlRRkhTGy2pbpzTC4yz1K4L9j4Y4Wb7348d4pmxgt1uIdhQtVpMPV3J/6ezlp3tHBQvs7x2AHyWVYWJYtVAyhxb6vO6hqqVg0G/Lg/kEy1LfR49f9mvF906wpC7tgnD1LPorRxAkCe7rNyDFBJUXGcdJsAZualQbw74m2jOgYnW4HKGPdf0zARZ7wfXABJKexK/p8KOYHOZD3Uai2+sMeOCzHbevTI6ajMHHZxRUj7ikE6tWy9IC4Xc5YTcXDqL6nXHiBtSu2YkEVhrox+9FQBIDRBQAaAC4zdvDtMxXl2Rr1mRi71XYpHNxvsxATobICB5hQ516ibh6ieIdpLMRSqomdIP7FYIJaSler/O6CfB0xFWQ6OlV9UWo2pfV41bubrwD6L/9vu8rWt7nrTYKns7I6cDKcfbUJXvcB7qClIwPdjf731148YZC/ZEFzi9667dX7V6HiO7gVkyucaxgxMeAPoYEF67lhIwLMWiulJOot7X3lTLxFoRBnv5z1uiHS0pii1bTm1Ir1d+BzHZ6d6nr79ib0dRAeXUFZwt2UFqrESABE1hVqKGxCFFWkXanmbBvYk5muUnPEkU/+0ZG67zJX1ZIDdbsDwJcZztgdWLjMmbe56jV+3J7Am8nx/aJTjS1AwTcp3m7Ot2fwvx5fA0Z6edHWf35hr99zhDt6a2f7Fm56fzLnenj1QrZIuTe7n37ky0nwPzONp0EIvXJbpxm69P2Jx5EBUm69fWw5BTvfHE7goxvzx0mIviWsKzrGfm59CcUsW7l6f3ePCoPPSgkineefmdz14DgQAAr3xfpr7zR41nyCFrgAAn/9BIxZ32h+LypH1xRt1/kqS7Ngsfy0YYvbfDTpXk9b4Ye63r1F13scJp85gmGZ0znCRZnwFN2D/94iC2jbGwe6SRkiz7/IspezXKhmLKRXo0lIcIYwPoKYtubQAHy1/Zg7llgMqrJ9XpRNLSkZZF5QlSo6s5CSg3/NtCV9aW3C7jkidD1oF0uuYBwox7QvxVd7ogRhnydFCoGfx25Il9eT2V0JSfgqRVE8Akmg4XdtJ3WwVJc0lozYMbwZUTrWSGTY6B7YNRwkqqtf35bUWSv1Gjwgoo3nZecUlAmJhEqws7kjl37ZdCTAX4DhqGXkY6RylKK0kRLZbI7g/9MBbdcGoiiJVFUgweCQT3oqRpSrrmJpLTmJIrsOnx6qLIzwc3ITrvEI+rEUygDBtpj1qERil2HcgdEGZEmbBFFle6wcJI3rcTSZrVJWjK6lIjmDtQpv7Bo/+jUu6pKLVVrOziC5Wh3jZeOPM5caE+sx197poSTi29C2SRQX3aRobXZvKpt46z0vGs3fyqwcy3pnZbMt8rPKR53Ym00SjMINiSAo1RikXLhakYVXC7qBqq63KTK1e8bTrgTcMeMLov228E1cWQZFKcDRVPHT5FstEKv6BdD/fzpGHaJ5Q4m7HE+6h+5R5ho5ah/KHK5ev/Xg0OSBMK8/tRuQ0ZzDyqboozi2b8vXmIELP98EUOHN2JolvIcBMG200C/dEnEgqTSXzHdDkzLdlzI4qG8aPXsILkcsPP2/UYmzthB1cVPFr46oUCTTJMdscevSX9l7am8AdR/ryLYlVytf8dsOy+IYledOl7XGrKXn+kMQLPqrlGjtvJC8o0sdMGHH2QErdTyotLkNzhFHapRrLHYGL1QzrlI4ix4cKlUs0xSXAiOL6HLRkaYD4mbipEJGYO19gdGEbWAHJC6BMpmvr9JOlmuzXyBlRsQUZZDPfMAK34jsa6xYnG8UMY8BfnYvU/ARoAmyiSFlv+KJEc66Sb0iIjspSAqY6LK4J7lf5P6RU2qFUQ875lGLtGxbHEMN9uU3Pr3IkqsiqPKKq8GnnKChsgTTsJyO141aBavwuQRMN/1O+5dF2XvVpzHzCrBt471O6v731mpcmpE9iBEDdUJ0TE34IKJUG15wjyhREhJTMlJVRBiiXSwUD0SBWSJblwJqcKKxADXZ7hk1Z0TAXptageYUb8PqN74qpC62QeC1GWBabcRBtczNwQr6OyiUidpNMbTh67FhwdYW82v4g9pmmQ3qdAfqWJtq+Se4Cb8lfsXhTgarHqXKXdGMMO6y1UkAq+eR9vuhKEUSdl9dBFkYdOThwEr5unrgcMszHiHiCdJ2g17NepKL5NPkVOhOFr6AEkBQnrJjxR2GmN/RXWqqX2qhXkn6eid6Txb6d9cZegjEequrLcJ62ohbFDv7lmaMlhhTcpwwSXhLvSRqziMZs4ucY1BPPLpMcMcgsFXJM5VTTQxYLrZAo9Vqfq9wLJndyQSngiJERUYPKt9xeUHNVjTnPdyTZzkK2PRIrJU1GGiPEMuoP1W+UJhZJqlcKyl0yu0VTRahcGNQ9rkjljgZYynrDDlEJCyjcQg+NRC9n72sx5vnIuU55q3/mpJu1H4jcXuwRG2FUNq8dhm3YVng4MMHpqkPGGj1t+CUxsigNqUAQeU/k3+ZLIi3YQktRBQJhzG4/IwG0E8nHyiDjIbwQDP4CI/xPW8bIqpCkcSNt7uf2R4IkGM2ouIWQ54zNN53LvXhEoQzR2uZkDx/UwrLBHm9s0fOTgRboJifk02e17aChtwgVuCeQwfHWd4v3SLj1PCfVlz9yzxbVz+S/H3Xvrt7W/VL2uY/NIgvY3ha8NdoLqoXGxbxelgQn3PMAD06R/1OPPZCGsVzGX59o18i1GKCjraLs/EtYkI5gTZ7uOSWkSUEgoxjDmhvvc3scaiptZVpDnGDufKGFg75e25lvKLn0R1iliIP+mv9y86S8FbSq9qxZxd7m/m6aaUsjIvumeInpLBYb6rbIHT/ngzDyKcEpNQ2EItITEc4UXlV0aamiMHoouQbbNri7iP5Qriq8D3kufRWmFcCM9xlXlozrXMliY958mLzxeEuxzAFXru1grhf7EUURpUCi7N4X/oUEuZdTMqOp2e/zIMYRId84nV4cLxDJSJQwd94kCrP2VJpXuoqmOS8AbE4IuIIWNMYV5DvOaqNsa17gsLSVZR0AE+StQIYrkdmyFBU2IWQHikwC092p9Z1TTjqDSEINbrROezWri1V17iDdjZHU7SKQ2O02o2mPGYwcFDtRX6bV6MgJa9QxoOvD73wQ9HJCdjGSggcMpKwVmgPjq11/edpU+e6lOUWwaNh6lffdh7KV+fqCLrTZ/aAO6PbEIZzU80uEkxVoHVTJioq854fz0CQUkZHIDVVeIkEjQmX3ECrdLCbadPpKYbDQqzRpYLIYZHMKY5o25mlYMUiddjyuXD9ImILm1i5oQejV4CCAjVDLRaJ5II0gcPdou8wYKU1bXpGz44rnRJhWRM2azIuYZsQted31cE6nHbeLeT6JhCraxMYyQrgxjmkeVHk7K+oMB8EzV/3BPur6wfO3kTGrEhj61ejOFbfCmW2E0w0rLuHOwnd5WQCreJzcdPC3j8sqw0P0bP5W2mrV/j1epS7QXOxbHtMqzn2PYzwApkCKWbPAq6LYz0Uuo8i23vv9BMaTZwccnippnp5Cz3AY3WjW32GetvBuIm4Qp6KHeKltL30kKTMseUBLWsFCuQxgtUzYomtUhrp2+3o+IcWIIVqmqwUPA9AVdOYtV2cMydBqwiJcaU/B31CR+eDvOFAdfgL0S54MwU7Clf4erCdf41IX3bHEleNhaSxo4IJszwX/oymAh3Twn0pe/a8iQFSBxAAZUxT+WKyPNUmKATQXjR51LjEuQ/iUA3yiSA89Yez4wjL5ihz+yvcaKN5XFszeSatT4CNO+Y4VgrToO4vfrl8ivkmmUEQsVRnovJeaa/4ymdG2yTYVx3ixKr/52qbAWNhB8krr4vpyBV4RukcTbze3WO/SslZmLs3hMboGxwQKuJKVlOkbqttLohcKHk/l6BZwJQv/0jW8/MgGmbdF0Vj+2keqhCgRWaRjv5T6Amyc6ZnQyHtOJpbvakDDc0fJ+ttJfL/IFc/mpxKS7irUcS7bidbkVsLdFuKxwhHUf6TsOFlYSTdDr8qjOGx2J/3YT+FiLPFWixgppW1kBQPJecoHMmEhegdpxCOekgKe+z7BtJHKVNEmYnrApO6KGTunjN0mSwCJzwq8ktNoTJmbTwOKNpwhd+v2wJyZ+J6zIx+h99Rbolyg+p4eEolXB11P23VIzv25LUuW0q1Q56YddfCB3m0SvH3a8IsCoPGP9RoJ+pzX5EWJli8fSpnlfkY5idf/6SZm1cS6APibsVtJgIJjAHXtOz3aNGU6j5H11vfoZmCw/X8h1t7Ji0pH1G7BFioN6omr+KFurc6YWjOgroBjoygqLw295GqiKkdwNY2MdgDi8OfygJkGoHqC36osqNFljOcpE69KfkUpdgaD+rUYje3Xuk0lGp5hBcvOS4Zsgn3GEdWwFeZXiKuFJ27I19nVGzQ8cwfdsVoHeBszgPpNoS49Bo9giyxmG/ZvWwVvaRJMTB5rVoafW8kXfVllxVjVvWR5rVFA1n0DY3aUowG1kB2Bkp1qAbp5AqSkOx4O9FhXhacPr9DiCbWKm/qulHjoMK6KzcI7zOzLcwkDQ+Pn/RQH6O/GvGfC7e07PfoNGle9lza2oecOWsFy/AvgrJpLGNUyVZ7qwMLNbyIDpq+c7ljC6u40yN2pRtxnlNNMRMx6IsignubPGYW35NQhLcZS7Eq/jytD3VqqqgUJHakM50/zOGTS0eVs+eMa7pS5uQN9omq9OVsgHbnFLCtoHAtyHWVRkoEykeTM2tI/huLQBl6lDBe/38Ukpnl6zW/KK0mC67EBroOy2SsxMcn0PFLZsNJKZng4ga7KaXMB5aJ6PG2Dhs+mDxt0Tavay+KwB7GGpus2NSO93ivtbVL0loHLM6D+17Z+vyQY9BYe2m27FkDN3KwfsuLtdOEpZjDbDWoJNbtUejDEOZAdUuhwd1X3dM97KyKqtOGMpT2ozy9xX4olX6TIQOTeAKYmm2GaodDt6OCTAfUOkOiiAOof4FyP43lOsKYrEDR8oDBF5dFFa/5NZ9CgBKD+lMIMXlXJYGmPXeUB2T49P0qi6UC5KCrqDrFXkizqMBC4bzC2DeqlPiFwPf7UZUc0/Aq5UtxSSBcNfOzbWI1uLzlbBRy8WyOS7IEWBikeI3CqB3JpOQOSUxQxhVVDyrzzjNOHOJPglSqWGnC7iyJBJW1WYpwJeSHut1ElZfstuLTL0sl3rrYLoC4Qo329nqX7Oh0sza2uXZ3tlgN8/d8KlccloF5Xl0Ykbd1jDsY8MTNf/0pEqu4tF26SQRIgAg/XdBnEde03NPiDvbj5ZVIRWXDTCTz4yHueF8fHGum76vaThuGsENkeAs2vTQuePqLUWQPs+o5MqRnsv4l1O4U6Rfv/jIelPB2wY0Aqgb8DV0QuX2TNOC34GlBrZPvi66MQMAVfx8mAPq51mKNrFK//P4iQJvqIjXRSqOuWxRxO2KA2Op/2Zt2O8/X8gM1k2HAOVlmJF0chX3hJfocoeuPdMxjDZ2HgJVW4EzCXoqUsfp13xhZQjsXhyC8tf28f1MqbKenQK/GLSdGZfVbOq6hUMJhidrRl0qp4fKlMGEGJPM8UeSE6ynF+NzS/U91xtqcFVN4z42LrriqYSXjxDpSgMITy8Hw1L7nxWXE62YE5Ffyc3kXfoxtRgKZEveksGR/qaBdiVQjtQjX9DouKHh7XqymlRG7ya6qnzIx8Ikp4ftHDKyakDhZkC4HnFjOxZgALj/1cwmq1ibmXopX7vDuuDPc+Sj0Jta0F/66G/3dDXc3zkt/y1LLb+YtNmhseKKD6dlTrTjv2mohFl5r3qRfs7peHrvWrvt//vO/jJeg41JYI6u589pm3r3paULcRAOD/kwAADa9B7SMbWY9aN7p2OJwCc6tzI1A171LkTNcoV2h494Z5+1DGwS9djj6L4voRB6A696d7uZlzf/HalnH3aTQfXdLNDwDKJD0+Af5vPCjAZeyhoXPoj7/Im01BBKQYalcChACVYDiMh6AtpkMhjlegcQGWqFnlWywq/QscHJnDI5dwGiIJd3hFaOoAojiPJw8QgHTeBQRk8V8ABtqJCCBAz0IABTKlGTAgJpOAA8myrAiyARJoJbtgAAoVHxiBtsoQTECZooAZyFJNYAFK1aQfViChHunmuBAfBgmELI33Xn3FKRNZ4+aG/oBlh24jLNmLN/NqUILONtu0cj57yii79TmloR2jqW2JPpu0lCU0a9LOfc4+AaPrG707S4YgvY1pY5p50qJlAljzUZL60YWI7e2QNdC0KtpgDjlrG9mUJcpslvRT87yRYq07xm7FK6RtpW5SViQzX9sBfcslDOUl451Vk9dn41pTVrmHBW359dfkssdsMrvITXIyctckk262Z6lXTOPXNz/J4DzgIqS9J9XmSKzC5iS8ows6coZV4t0og7lNDFnZs0TKAnD6m5cHmc0lqgNdg0w8yEOAFjLTyDFHcbF7p5/vneDDTUvqcQlIuSN5HVmcka0kbBm1K5M2efcnM0tQy5rNxvMa8+b1WNdIzLcLQqYFVKP2QTZe8aR1wZBRz24aD0pXCzrCNcnakJwgme6g8WT/bDrA85Mjr+d/SbiAqvfEGq/YlkiZaPsJWu4sTO6fTQvbCGUOeO/zbQjsFwLcmynge4pAL4PaXvAxuH6dbSOjJQiRhjWGQAa58rptKdjNUSCB6qlBo+uf7X3dYjobfkiHhYf0R3bcXFGSFVXTDZwgKZphOV4QJVlRNUC6YVq243p+EEZxkmZ5UVZ103b9ME7zAoAQ7AP0nztOkBTNsBwviJKsqJpumJbtuJ4fhFGcpFlelFXdtF0/jNO8rNt+nNft/ni+gCAwBAqDI5AoNAaLwxsYGhmbmBKIJDKFSqMzmCw2h8vjC+iB/uSmMrlCqVJrtDq9mbmFpZW1ja2dvUOvPxiOxhOCpGiGBRwviJKsqJpumJbtuB5EfhBGccJmc++ywnUzbbsZ6LKx/D1cb7a7/YFPRVnMLKxYs2HLjj0HHOIwRzjKSZwMRyBRaPikcdzflAKRRKZQnZR+dWYLDCwcPAIiErJyFFQ0dAxMLOwXcHAXDWwKThcRk5CSkVOQgJfVKprV0lkJ/dthYmZhVcnGzsGpSjUXtxq1PLx8/OrUaxAQIFCQYCFChQkXASVSlGgxYsX5Jl6CREmSpUiVBg0DKx1OBrxMWbLlyJUnX4FCBEWKlSB6C4EBNTFVpbqVrFadev5pCI15gr6BPbM/NgGaRH5mk/nnIsDhCUQSmUKl0RlMFpvD5YEQPZNSQ1BDxGlvvfPeBx99Qgo3vv4icA/O0AREAAAEbuABXuADftAMNGcckq3///H/CxJIFBqDxeEJRBKZQqUBiM5gstgcLo8vEIrEEqlMrlCq1BqtTm8wmswWGFg4eAREJGTlKKho6BiYWNgQHFw8z6afowoaWjp6BkYmZhZWlWzsHMzUWvWShc2aX7yHl49fnXoNAgIEChIsRKgw4SL0iH4vosWIFeebeAkSJUmWIlUaNAysdDgZ8DJlyZYjV55HNTSu6MdTgqhUmXIkFSpVqQZ1Nmt/LetRUDVoRNPTNzA0MjZBIFFoDBbA4Sm6iWEyhUqjM6iqLeS+3OWBoAT0WoUioJ1DYXOduj37JEBVx+zUJz7d4/B8VkJwS3jgH4JHxk9SySeM/OPwf5v5B4iqCSGm8TzmPJmylIu/7yUVnl8wBdcpUqJMhSo16jRo0qJNhy6MPRBAPU8gjaOcTkPHwMTChkAE/UPk4RMQEhGTkJKR2++EXHfAJ+i9VMnGjsiT59HdgaoaBLCCUHUnE+IV9BNFiRQlWoxYcb6JlyBREvYOSO8AiNS49L4ZxDyHKlDjaVGOpIJ+p6DaH2itTj1KomHGNbW3aNWmXYd7N/HUPXr16Tdg0JBhI/LVEOFMDWIEybnxFy0RBNkgQcBdDY37tf7Hhr8LKja3+H+/+bv27Dtw6MixE6d+6zG2A1Gny+3x+vzUSB4xL3UG0Ap2WDye89JU3Ux1PR/xGcfgOGHVLFhecdfPpnMsASkRl8cXCEXiw7sxMrmeFvXpsVvkqy231KnSU+SeCq/vhLq4hpNBCNbJokjliCLrZTmJwNmHo/EEI5CSVxMt4dai2NXZCQ2jbuXZDa/MU3e+WK4krigJz8i2P5Ta+phrv6yeZMuyNQ+y0WRl4rckyiha+15z9S3+pMinZ7Ab5gn6fHoYskEMjuH3kz6JTKHS6Awmi83h8vgCoUgskcrkCqVKrdHq9AajyWyx2uwOp8vN3cPTCwgCQ6AwOAKJQmOwOLyBoZGxiSmBSCJTqDQ6g8lic7g8vkAoEkukMrlCqVJr3Hzqzi0srbAGH+Otnb1CF9UbTANPIJLIFCqNznJNXFA2h8sDIb5AKBJLpDK5QqmC1RoAESaUgfuw6FBctqP+NoCLzmASJMVic7j54JMvvuMESdEMy/GCKMmKqgHSDZMMizk9sucHvqLbz4uyqptW0ud8n+YFACEYQTGcICmaYTleECVZUTXdMC3bkRHN9rlIn6QNUUb7vO36YZzmZd3247xu98fzBUIwgq4g2UCQHG1kOZ4qmnHj0KkgSiDVnKroBqlYmrbjen4QRnGS0lT7i3IMTRvSz+Zo4IR93Zns9odefzD0OZJJTuwdMCzgeEHkSzpwiqrphmnZjutB5AdhFCdphgOkVNgRPC4gsai1p8oj45oN276ijpeUVURVDXUNTS1tnfQ9vD3hJ0CQEGEiRIkRJ0GSFGky4tUc+R9vFSlRpkKVGnUaNGnRpkOXHn0GEAwZMWbClBlzFixZQcLAwsEjICIhK0dBRUPHwMTChuDg4uETEBIRk5CSkVNQUlGroKGlo2dgZGJmYVXJxs7BqUo1F7catTy8fPzUTH0RAILAECgMjkCi0BgsDm9gSJ/OmTCBXeLNpmGUNpsItjlcHiGYQ1cklkhlcoVSpdZodXozcwtLK2sbWzt7Bz19A0MjYxMEEoXGYAEcnkAkUVPLpslMUSb8OW4NhPjMS5MiqqWP3lyhVMFqDYAIE8pM7vZcYa4Ut7yislAskYEaampX1rNeGtr7hyApmmE5XhAlWVE1QLqhseRy9JQKwZRciZaSq3BKonBlXMcGyjTrgnLg6wKMoBhOkBTNsBwviJKsqJpumJbtuJ4fhFGcpFlelFXdtF0/jNO8KCNRkrRG2kZUbcuAoA+AE/xFu8Xxg+FoPJkKoiQrqnLRO8C0bMf1fKqiJgrp+pk9kbxEJ4rabHd77a00+4PhaDwhSIpmVEMrOL60RUlWVE03TMt2fNPssJAgjC6XsnyrywqzcMlgnPZrxixq0yPXPsW9h47JwcnFzcPLBwjDCZKCI5AoNAaLwxOIJDKFSgMQncFksTlcHl8gFIklUplcoVSpNVqd3mA0mS0AIAgMgcLgCCQKjcHi8AQiiUyh0ugMJovN4fL4AqFILJHK5AqlSq3R6vQGo8lssdrsDqfLzd3D0wsIAkOgMDgCiUJjsDi8gaGRsYkpgUgiU6g0OoPJYnO4PL5AKBJLpDK5QqlSa7Q6vZm5haWVtY2tnb2Dnr6BoZGxCQKJQmOwAA5PIJLIFCqNzmCy2BwuD4T4AqFILJHK5AqlClZrfPLZl9Ee/l9fAIK1Gf3/ls0RGAChWX/LV19UwXcmwIsridnYOx58JKDoHbIPSyvwqhBOMtlcVTYQPuU9LHENq3carmCxOVwepc6erHXX1FzufL5wBL7alUIdEyw2h8ujKrdvTe4eyXy96De5LD0fLdlA8eeUs4QjsJGsRS8hey75NXVRgvLQsyVuGb3ol5ZIpXCjxwAAHnCB0s/tUcuhOUFSo5SrxUIEI1wjKznAMrqKa8oiJJOt6yZN0wxzmAXVG8zXk1VRI7Shstgcrl7O9Or1qkgA4+hgI3cn1jTVlyKPhtzXwkxm1sPr21BRnPnJc+g3BSyEERTDCZJyl+awHj0NktfR8FmKk96xs33h4+gilxw1b2+rwZUQBEEQBEE9W2pLGTGdkyw2h8ujytK3NTUbfjWrrjUs4hsqZUdMtfSlVaPnEHy1XmZIUTPeM3WkbtlCci0e6orXu0EWm8PlUercyWL7jL7sZbQYllsfkwBCMIJiOEFSNMNyeikAIRhBMZwgqZqd0RPzzNwk0P5a5Iihay8aPW2GIvvMrIAte064rBgnaS/IysEeKS2492i3KbFSVS3QmmlvCeuwX81czYquF3OYBZX3C0s7SGbV7E2pHI6Wel1lH6mkZmLzWaka6fVJrqFjVrvANRG2lOKBLhSq5r7CPO8KdGMrQOig59p9qUqFxRFi2MMuxEkmm6uKw8s9Uu2lPA2CIAiCHN4yIhZ39Crxau/04+httc7a+pfa7ers8ZAu2QKFfTfFqCYrC7A5LkIYrbv6FrK5Y29vfBg92yTXkGvKQkaXBsP66i6KcLJGfczOoa4+54xVLdfURS10schVtcPKgxo9Xwst1pWzZoWk3DosrqUupBhdOgz0MlCcdNdiga10CzjJ1M5zksnmqvqhl0hZcqvl8srdAUU46ZkySBzi2lv31tVvWo8rs9mbc4wuvjGqBktxcsRu0uO6Vy53baCbgqfum8pi+5yFR6mpRbq5LiJBHvIqTVLzKO35nmfX9REMQ99W+7o6zrw0A2KOPUC33Zma4DFYYwQ3yDmk95VasbX1V4zBZ6O51CpZWnv6dp9SoEfvXnIOi7HXtLPmopmya+xi5Q3VPQ7DcnpXy0VBCEZQDCdIimZYTi8dQAhGUAwnyNHa2iI7gNXKMRobkPBIGTHXkhcS1lbXmR8nadZrLxyzXp9ykv2Fz2Fp04Et7hGMWB8Czov18F0tFq3ej9Jdbo5Z5e8yWxdUo2PkU9xB0lWyGShO1uxYIW/KEh1gsDh62YvDU+cQIzxmRdoKEL7sOZ/tt3srG/n3b7//d+3HMzF+67xSV/T3llTZntDNAK+O1WtCFW93IJZeQ4uVw/W6UreactgwUg+5uINZVznxEdrwgdbGyu0Bn1rXxNYLox446gWpLCqHE34rz11SLRzGqz6ujZcUjzsst/1IqbIWfs9SnxTvSh29sPbo5YVgHDwPuqi9FnFbxYyUzg3VC7NhBZtTFTk5atiyRUN8JTZTMUcOX6omhDqrddVCr2qaJVZw4AWML4cHWJzR6g4ACMEIiuEESdHrYJsb+KghHG3c/IFYbZGDLCnzJZ59hmrEqpWbt86HapFNFf3S2oEhyEGW3jJ+uW2C1oOjkMd79VgeCNFswQ80ywN5NMR4NMQIBovDoyGmR78aABGGK+T23n4hV7xi+bWmJWbMXjs8GPJGLZuqx41XUKMXBS1NV6hmwIsh6UnzfKyPDFiJj5RGxGj51beQw3NblbW2E1zGKBCMoBhOjNZVqztopGpE3fSq3mY1KK/uQoxgjL3s5cGS8CvBdQN+/LldLnRfGWHjcNfARzSF64an3gw8dTvhkbNWdp1ilYe+olvFGVNKuVMKrF461ikYwQgXPLDCDoxgeMEHBIPF8YP69oiDLzUWRszsH9bsrFbUKdVKaEPFerWa6cDtfNRvpc56svGP4DK/E1t2yfNpw33jnGqynynB8MLKCL24lw9rpVSIAya6q0Ls8CpVdiOVEFBe6MVM98BKYo6UGU/Y2y0ZCKHLAhgjpvye/Q5u8dy2SRabw+VR6ng7a7LYHC6PUtcsHht3WwI8SzDPjhgJ8SpRZGSiqyInhgM7nAJeEiOyrQWXZYfLgiZIF2hNQG4QYnVBL1KibAMoooeNg3DZ4CAD+G7wQgoAAAAAGpIa4dhCIcJwgtTIBkQYTk7jAdYEI9Jj7VlZqc1w0z6wERBhuGLz3Ji8Rr8JhAjDCVIj3DMBEYYTpEaOMJysVhLKSIh623xxEkCE2UmQGuGZC4jIKonWMZ6UPucU97A3OQQjViuA1rYCEGE4QWqE7zxARI7aYixXCSeme2AbIMJwgtQIv1mACMMJUiOfMJycxh1kfHFGSByJ8TpZZJEOB0dEB1eMZLY2CoP7OLYHPdHknLaLIc0JVfBLIUm8jeYQC30hTkdnSpAMpY7YME5NVcpytZeg8ldKSrMXnPUMki4COvNvmfQgdGmjJjsdPlyYtU5IstkCzOSCqCjreKgqewhu4nsU97HfDgaCM+3shhmINcRguANTPhSyGZbTywEgBCMohhMkRTMsp/fOhAeAbMJd4BpdbkgmPztHzW7fkTcLN6KytVOsLitrb2pPAt9/U7yCGY3fHuf7tB/v+7wf71FgXJe4S0QvfKIMNaGWdyMrhEiPRKc4O0MYSpl596iqkH3+AL/42xN6LO8h+kCcfRDCT+h9Mo/2FFXjqSjewfwImoIgb6KQR1lOlUywpNWBYvZcTrrgwXRvCJt0B/g5PHKNR0DRvDZ6sSDoZHdAe1q0H5wYVxLVbiTPdA+SidXHruAGdSDd1uEnt8ZQSLTfE5tn/I17zvYLTFqXPFnguYCfe9+LFOvjin6OaBzX9nMc/cazo7FuEUeCMwhTrxb+VPUvdT+q/Khs1Dd+rK5JBAj/w32p86fx3xQNW7lTvVFWtflqrU59B5SfhLcLSEC9piY1629j6gc+MdXovGBqZWF6O9TNku9qCqlvh+6mMX6wdMofismp5hTIA57wicELIzT3neCwo1MhMyxAMZwg2ekeCtsdoNzQdEKME5RbQMbrm/RPfKYHXb822IUgocrhs7AJ7fHZ4Yj1w8puH9AJH4QAEIIRFMMJkvXlMMEMivaELEQxnCApmqld3kJOry8QhGAExXCCpGiG5fTyAQjBCIrhBEnRDMvpZQEIwci4fajPVO4e+Hwu8DiaHSkb7bnAigjZBhMUmPAOaDlp9wSDk4V8i4ofNvP//eXPX1/7jb749PN/bI/Jv+fb0H8///nPL7/+cEE9xxOvC52a9fX+6b8/K3tO6a3D9872Xefl3QCFBngIIWtEkCYwMK4K7KTAWQ7GEGkyzZCgue4FemgCgBCMoBhOkNTcZ6IlsDKppv4ByoDunYRvNZ7emjtiKW37T45LIBkEkTbFCdISa09FKBCWUs8H8j8TE07j6fpN6fXTh4KnO8dIfUKP7Qk9oSf5RCav+Ccy13N9jayzX6JHFAPZxZpD4OznLMh56i4AOFMe3NBqtn2ouZPfFQBfJA8LYXg0PQ8TwSnBfHDh+Vxnw0hgaQRsBPkxemcX3DEFTJ7z5ruwFQZACRenuTe/iNvOaYrV7t4GnCApmmE5vRwAIRhBMZwgKZphOb24SgMQghEUw6d4KKoZltNLAxCCERSTR7xMAEVpQVI08/d9SLkZ/CQUiSVSmVyhVKk1Wt38wkEoEkukMrmiKuL02kFACEZQDCdIimZYTi8DQAhGUAwnSIpm2Mja7WBQep+ecDr5kAi37aSgT4uFzgRXVaxMLLB9410Pe1LJhNlFBq3sbml7DJBbcayLnwWepugSShaFlZfExHVYFUC23XbQEjxupW0tZpgKEQTr5G02iWV/YTza3YoMpiBjLwa/2/l+B9blTSiljrTfF9kcR8iz5qXg7LsjQy8JQEiawIzuZoTEmnvXKGY6mcJFw5JWLFV1U+ImS2WWND6yHm1/KLJEU0fbNPTzCZJr0HhEDY5NUjyWyoYL4YwdLYt+8dSTGilBC75NpwnQUIpZP9KfN1qgf//486udxPLKmFP9bcVy1TaKS68UE+BOzyv5f9BH04sxEhgDpCAwY+45G8iHuEd1eOjx7sTYzTbPEALY5BDCKQyL3IUyuM0TWv2J7sur6Sa6xKlhr04FMyxZdcaXawZsHuCZ5C73wNWpvVYVVq01WdIQND6gaR3QMD0ZmkqpwlxxoEqzCoBgrNQ0gTnnCk2NJ0mjQ0AQ+cDSdFqc7JwmSvdSrEd18cFNjtr62Pb980A0O2CfvIO8kL+G8Xc7ThZM2G7vYm5d8RAFp1hSmv6oG1p4O2RntC3oKQaJG9pH5sKS0cz56KsH2hyih3rLhV03v+xtFlvu6YaOIL2n3QVaSOHQKiE9cwuCnyFXhBwHLiY0x84BBWc62Ro6u+MWvpFzQ6phSwn9MLZW+qpu9/OZwdWeoTGvpDZXikE4mCUADCV5ED3hPeR1a0EcHjU/8oXbN9fJeFpTcrvRGprjZOy7E4vay8QjyHmPXrvooxrlrCsmgybai2SogmeU1gYh1ADJke/kwbtOhcSI2c/sdVhuKtkmbpmxgbXcmN0jvxufbxeOaJMAEieHMgUh68yLOxOarPbEVK0UzazLfABCMIJiOEFSNMNy87uYGEFSNMNyeqkIwQiK4QRJ0QzL6aURjKAYTpAUzbCcXjqAEIzTjDbm5TqhzKcYTtAsN7+z62Y4QWq4uM1nODe9C1/nACIMJ0gGk8XmcHmUOhcQYThBMpgsNofLo9R5gAjDCZLBZLE5XB6lzgeIMJzg8qi5L5VPnW9zuDxq7ks7MYLB4ui9akqdAzi9HwrdLsXSer2GSvGQ4uY+E9Bn5FEVI+z3CJXlVF8KIrpUACEYQTGCpGiGrRIkkdINwHA1GztxcXxwprz0YTm9DAAhGEExfI7TuHd877xzxejfLt1DlwARhhMkg8lic7jTu4eitv3qRd6oNQiJC7g3a4bRZj8br/3lZf6xnOhYuCyVOfdxdO7H0Cv3XgAA) format(\"woff2\")}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,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) format(\"woff2\")}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(data:font/woff2;base64,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) format(\"woff2\")}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,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) format(\"woff2\")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: \"\"}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:\"Source Sans 3\",sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 186 80% 41%;--primary-foreground: 0 0% 98%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 240 10% 3.9%;--radius: .5rem}.dark{--background: 240 10% 3.9%;--foreground: 0 0% 98%;--card: 240 10% 3.9%;--card-foreground: 0 0% 98%;--popover: 240 10% 3.9%;--popover-foreground: 0 0% 98%;--primary: 186 80% 41%;--primary-foreground: 240 5.9% 10%;--secondary: 240 3.7% 15.9%;--secondary-foreground: 0 0% 98%;--muted: 240 3.7% 15.9%;--muted-foreground: 240 5% 64.9%;--accent: 240 3.7% 15.9%;--accent-foreground: 0 0% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=\"1\"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:\"“\"\"”\"\"‘\"\"’\";margin-top:1.6em;margin-bottom:1.6em;-webkit-padding-start:1em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;-webkit-padding-end:.375em;padding-inline-end:.375em;padding-bottom:.1875em;-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:\"`\"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:\"`\"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;-webkit-padding-end:1.1428571em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;-webkit-padding-start:1.1428571em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;-webkit-padding-end:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;-webkit-padding-start:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:0;padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-end:0;padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;-webkit-padding-end:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;-webkit-padding-start:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:0;padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-end:0;padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.\\!bottom-\\[1px\\]{bottom:1px!important}.-left-2{left:-.5rem}.-right-\\[65px\\]{right:-65px}.bottom-0{bottom:0}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-2{top:.5rem}.top-4{top:1rem}.top-\\[50\\%\\]{top:50%}.top-\\[90px\\]{top:90px}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-5{grid-column:span 5 / span 5}.col-span-6{grid-column:span 6 / span 6}.col-start-4{grid-column-start:4}.float-left{float:left}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-7{margin-top:1.75rem;margin-bottom:1.75rem}.my-auto{margin-top:auto;margin-bottom:auto}.-ml-2{margin-left:-.5rem}.-mr-2{margin-right:-.5rem}.-mr-4{margin-right:-1rem}.-mt-3{margin-top:-.75rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-2\\.5{margin-bottom:.625rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-36{margin-left:9rem}.ml-6{margin-left:1.5rem}.ml-\\[15\\%\\]{margin-left:15%}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-7{margin-top:1.75rem}.mt-\\[20\\%\\]{margin-top:20%}.mt-\\[25\\%\\]{margin-top:25%}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\\[143px\\]{height:143px}.h-\\[163px\\]{height:163px}.h-\\[calc\\(100vh-12em\\)\\]{height:calc(100vh - 12em)}.h-\\[calc\\(100vh-315px\\)\\]{height:calc(100vh - 315px)}.h-\\[calc\\(100vh-354px\\)\\]{height:calc(100vh - 354px)}.h-\\[calc\\(100vh-364px\\)\\]{height:calc(100vh - 364px)}.h-\\[calc\\(100vh-4em\\)\\]{height:calc(100vh - 4em)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-56{max-height:14rem}.max-h-72{max-height:18rem}.max-h-9{max-height:2.25rem}.max-h-96{max-height:24rem}.max-h-\\[105px\\]{max-height:105px}.max-h-\\[130px\\]{max-height:130px}.max-h-\\[calc\\(100vh-4em\\)\\]{max-height:calc(100vh - 4em)}.max-h-\\[calc\\(100vh-6em\\)\\]{max-height:calc(100vh - 6em)}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-16{min-height:4rem}.min-h-8{min-height:2rem}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-96{width:24rem}.w-\\[1000px\\]{width:1000px}.w-\\[210px\\]{width:210px}.w-\\[82\\%\\]{width:82%}.w-full{width:100%}.min-w-\\[200px\\]{min-width:200px}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.max-w-3xl{max-width:48rem}.max-w-56{max-width:14rem}.max-w-72{max-width:18rem}.max-w-\\[70\\%\\]{max-width:70%}.max-w-\\[72\\%\\]{max-width:72%}.max-w-\\[75\\%\\]{max-width:75%}.max-w-\\[78\\%\\]{max-width:78%}.max-w-\\[78vw\\]{max-width:78vw}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[82\\%\\]{max-width:82%}.max-w-\\[calc\\(100vw-200px\\)\\]{max-width:calc(100vw - 200px)}.max-w-\\[calc\\(70vw\\)\\]{max-width:70vw}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.origin-top-left{transform-origin:top left}.-translate-x-1{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2,.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotate-180{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.animate-rotate-180{animation:rotate-180 1s ease-in-out}@keyframes slide-in{0%{transform:translate(-100%)}to{transform:translate(0)}}.animate-slide-in{animation:slide-in .2s ease-out forwards}@keyframes slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}.animate-slide-in-right{animation:slide-in-right .2s ease-out forwards}@keyframes slide-out{0%{transform:translate(0)}to{transform:translate(-100%)}}.animate-slide-out{animation:slide-out .2s ease-in forwards}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-\\[280px_auto\\]{grid-template-columns:280px auto}.grid-cols-\\[auto_420px\\]{grid-template-columns:auto 420px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[32px\\]{border-radius:32px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-t-md{border-top-left-radius:calc(var(--radius) - 2px);border-top-right-radius:calc(var(--radius) - 2px)}.rounded-tl-lg{border-top-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-r,.border-r-\\[1px\\]{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-secondary{border-color:hsl(var(--secondary))}.border-transparent{border-color:transparent}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity, 1))}.border-zinc-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity, 1))}.border-b-zinc-500{--tw-border-opacity: 1;border-bottom-color:rgb(113 113 122 / var(--tw-border-opacity, 1))}.bg-\\[--theme-primary\\]{background-color:var(--theme-primary)}.bg-background{background-color:hsl(var(--background))}.bg-black\\/80{background-color:#000c}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\\/40{background-color:hsl(var(--muted) / .4)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\\/20{background-color:hsl(var(--primary) / .2)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity, 1))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity, 1))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-background{--tw-gradient-from: hsl(var(--background)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-400{--tw-gradient-from: #c084fc var(--tw-gradient-from-position);--tw-gradient-to: rgb(192 132 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #a855f7 var(--tw-gradient-from-position);--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-secondary{--tw-gradient-from: hsl(var(--secondary)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--secondary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-400{--tw-gradient-from: #2dd4bf var(--tw-gradient-from-position);--tw-gradient-to: rgb(45 212 191 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-yellow-400{--tw-gradient-from: #facc15 var(--tw-gradient-from-position);--tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-0\\%{--tw-gradient-from-position: 0%}.via-pink-500{--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #ec4899 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-blue-500{--tw-gradient-to: #3b82f6 var(--tw-gradient-to-position)}.to-orange-500{--tw-gradient-to: #f97316 var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.to-red-500{--tw-gradient-to: #ef4444 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.fill-background{fill:hsl(var(--background))}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\\[10px\\]{padding:10px}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\\[3\\%\\]{padding-left:3%;padding-right:3%}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pl-\\[0\\.35rem\\]{padding-left:.35rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-sans{font-family:\"Source Sans 3\",sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.italic{font-style:italic}.leading-\\[20px\\]{line-height:20px}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-current{color:currentColor}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity, 1))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity, 1))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity, 1))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.accent-foreground{accent-color:hsl(var(--foreground))}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.brightness-\\[\\.95\\]{--tw-brightness: brightness(.95);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-200{animation-duration:.2s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.prose h3{text-align:right;font-weight:400;font-style:italic}.mobile-safe-container{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);min-height:100vh;min-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.code-responsive-wrapper{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cg fill='%23d1d5db' fill-opacity='.4' fill-rule='evenodd'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/svg%3E\")}.dark\\:prose-invert:is(.dark *){--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.file\\:border-0::-webkit-file-upload-button{border-width:0px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::-webkit-file-upload-button{background-color:transparent}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::-webkit-file-upload-button{font-size:.875rem;line-height:1.25rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::-webkit-file-upload-button{font-weight:500}.file\\:font-medium::file-selector-button{font-weight:500}.placeholder\\:text-lg::-ms-input-placeholder{font-size:1.125rem;line-height:1.75rem}.placeholder\\:text-lg::placeholder{font-size:1.125rem;line-height:1.75rem}.placeholder\\:text-muted-foreground::-ms-input-placeholder{color:hsl(var(--muted-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\\:-ml-96:hover{margin-left:-24rem}.hover\\:mr-36:hover{margin-right:9rem}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wiggle-zoom{0%,to{transform:rotate(-3deg) scale(1)}50%{transform:rotate(3deg) scale(1.15)}}.hover\\:animate-wiggle-zoom:hover{animation:wiggle-zoom .5s ease-in-out infinite}.hover\\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\\:bg-background:hover{background-color:hsl(var(--background))}.hover\\:bg-destructive\\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\\:bg-inherit:hover{background-color:inherit}.hover\\:bg-muted\\/80:hover{background-color:hsl(var(--muted) / .8)}.hover\\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\\:bg-red-500\\/30:hover{background-color:#ef44444d}.hover\\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:from-purple-500:hover{--tw-gradient-from: #a855f7 var(--tw-gradient-from-position);--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\\:from-teal-500:hover{--tw-gradient-from: #14b8a6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(20 184 166 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\\:from-yellow-500:hover{--tw-gradient-from: #eab308 var(--tw-gradient-from-position);--tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\\:to-blue-600:hover{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.hover\\:to-orange-600:hover{--tw-gradient-to: #ea580c var(--tw-gradient-to-position)}.hover\\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:ring-transparent:hover{--tw-ring-color: transparent}.focus\\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:bg-white:focus-visible{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\\:text-black:active{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:right-5{right:1.25rem}.group:hover .group-hover\\:block{display:block}.group:hover .group-hover\\:from-secondary{--tw-gradient-from: hsl(var(--secondary)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--secondary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\\:opacity-100{opacity:1}.peer:disabled~.peer-disabled\\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\\:opacity-70{opacity:.7}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[state\\=open\\]\\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=closed\\]\\:duration-300[data-state=closed]{transition-duration:.3s}.data-\\[state\\=open\\]\\:duration-500[data-state=open]{transition-duration:.5s}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\\[state\\=closed\\]\\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\\[state\\=closed\\]\\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\\[state\\=closed\\]\\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\\[state\\=closed\\]\\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\\[state\\=open\\]\\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\\[state\\=open\\]\\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\\[state\\=open\\]\\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\\[state\\=open\\]\\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}.data-\\[state\\=closed\\]\\:duration-300[data-state=closed]{animation-duration:.3s}.data-\\[state\\=open\\]\\:duration-500[data-state=open]{animation-duration:.5s}.dark\\:bg-muted:is(.dark *){background-color:hsl(var(--muted))}.dark\\:bg-zinc-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))}.dark\\:bg-zinc-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.dark\\:bg-zinc-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.dark\\:from-secondary:is(.dark *){--tw-gradient-from: hsl(var(--secondary)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--secondary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\\:from-zinc-900:is(.dark *){--tw-gradient-from: #18181b var(--tw-gradient-from-position);--tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\\:text-zinc-300:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.dark\\:text-zinc-400:is(.dark *){--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.dark\\:focus-visible\\:bg-muted:focus-visible:is(.dark *){background-color:hsl(var(--muted))}@media (min-width: 640px){.sm\\:col-span-1{grid-column:span 1 / span 1}.sm\\:inline{display:inline}.sm\\:flex{display:flex}.sm\\:w-full{width:100%}.sm\\:max-w-\\[425px\\]{max-width:425px}.sm\\:max-w-sm{max-width:24rem}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\\:rounded-lg{border-radius:var(--radius)}.sm\\:text-left{text-align:left}}@media (min-width: 768px){.md\\:relative{position:relative}.md\\:col-span-1{grid-column:span 1 / span 1}.md\\:col-span-2{grid-column:span 2 / span 2}.md\\:block{display:block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:w-full{width:100%}.md\\:max-w-\\[calc\\(100vw-450px\\)\\]{max-width:calc(100vw - 450px)}.md\\:max-w-\\[calc\\(100vw-750px\\)\\]{max-width:calc(100vw - 750px)}.md\\:gap-8{gap:2rem}.md\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\\:px-\\[10\\%\\]{padding-left:10%;padding-right:10%}.md\\:px-\\[3\\%\\]{padding-left:3%;padding-right:3%}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\\:col-span-2{grid-column:span 2 / span 2}.lg\\:block{display:block}.lg\\:hidden{display:none}.lg\\:w-1\\/2{width:50%}.lg\\:w-10\\/12{width:83.333333%}.lg\\:gap-6{gap:1.5rem}}.\\[\\&\\>span\\]\\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}\n"
  },
  {
    "path": "backend/openui/dist/assets/index-DnTpCebm.js",
    "content": "const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[\"assets/CodeEditor-B9qhAAku.js\",\"assets/index-B7PjGjI7.js\",\"assets/index-CnQwS-Fb.css\",\"assets/CodeEditor-B1zwGt1y.css\"])))=>i.map(i=>d[i]);\nvar zc=Object.defineProperty;var dn=e=>{throw TypeError(e)};var Bc=(e,t,r)=>t in e?zc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var er=(e,t,r)=>Bc(e,typeof t!=\"symbol\"?t+\"\":t,r),Wr=(e,t,r)=>t.has(e)||dn(\"Cannot \"+r);var S=(e,t,r)=>(Wr(e,t,\"read from private field\"),r?r.call(e):t.get(e)),pe=(e,t,r)=>t.has(e)?dn(\"Cannot add the same private member more than once\"):t instanceof WeakSet?t.add(e):t.set(e,r),ce=(e,t,r,n)=>(Wr(e,t,\"write to private field\"),n?n.call(e,r):t.set(e,r),r),fe=(e,t,r)=>(Wr(e,t,\"access private method\"),r);import{S as Uc,p as un,r as Fe,s as no,a as sr,n as Wc,i as ao,b as fn,t as Kc,f as Gc,c as Zc,d as hn,e as zn,g as s,u as qc,h as Ae,R as Yc,j as o,P as V,k as Qc,l as Xc,m as Jc,o as el,q as k,v as Xe,w as Be,x as _e,y as wr,A as Ut,z as N,B as Oe,C as br,D as Q,E as Wt,F as Cr,W as nt,G as St,H as lt,I as Ve,J as tl,K as Bn,L as ne,M as Te,N as ee,T as Me,O as ke,Q as Ee,U as rl,V as Un,X as yr,Y as Wn,Z as Kn,_ as ol,$ as Je,a0 as Mt,a1 as kt,a2 as Et,a3 as Gn,a4 as so,a5 as pn,a6 as To,a7 as Io,a8 as Kt,a9 as ze,aa as Ye,ab as Zn,ac as qn,ad as Po,ae as Yn,af as Ue,ag as jr,ah as Ao,ai as Qn,aj as nl,ak as Kr,al,am as sl,an as il,ao as Xn,ap as Jn,aq as ea,ar as ta,as as Sr,at as cl,au as ll,av as dl,aw as ul,ax as fl,ay as hl,az as pl,aA as ml,aB as gl,aC as ra,aD as mn,aE as vl,aF as xl,aG as wl,aH as oa,aI as bl,aJ as Cl}from\"./index-B7PjGjI7.js\";var be,G,zt,ve,at,bt,Ge,Ze,Bt,Ct,yt,st,it,qe,jt,oe,Dt,io,co,lo,uo,fo,ho,po,na,Vn,yl=(Vn=class extends Uc{constructor(t,r){super();pe(this,oe);pe(this,be);pe(this,G);pe(this,zt);pe(this,ve);pe(this,at);pe(this,bt);pe(this,Ge);pe(this,Ze);pe(this,Bt);pe(this,Ct);pe(this,yt);pe(this,st);pe(this,it);pe(this,qe);pe(this,jt,new Set);this.options=r,ce(this,be,t),ce(this,Ze,null),ce(this,Ge,un()),this.options.experimental_prefetchInRender||S(this,Ge).reject(new Error(\"experimental_prefetchInRender feature flag is not enabled\")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(S(this,G).addObserver(this),gn(S(this,G),this.options)?fe(this,oe,Dt).call(this):this.updateResult(),fe(this,oe,uo).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return mo(S(this,G),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return mo(S(this,G),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,fe(this,oe,fo).call(this),fe(this,oe,ho).call(this),S(this,G).removeObserver(this)}setOptions(t){const r=this.options,n=S(this,G);if(this.options=S(this,be).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!=\"boolean\"&&typeof this.options.enabled!=\"function\"&&typeof Fe(this.options.enabled,S(this,G))!=\"boolean\")throw new Error(\"Expected enabled to be a boolean or a callback that returns a boolean\");fe(this,oe,po).call(this),S(this,G).setOptions(this.options),r._defaulted&&!no(this.options,r)&&S(this,be).getQueryCache().notify({type:\"observerOptionsUpdated\",query:S(this,G),observer:this});const a=this.hasListeners();a&&vn(S(this,G),n,this.options,r)&&fe(this,oe,Dt).call(this),this.updateResult(),a&&(S(this,G)!==n||Fe(this.options.enabled,S(this,G))!==Fe(r.enabled,S(this,G))||sr(this.options.staleTime,S(this,G))!==sr(r.staleTime,S(this,G)))&&fe(this,oe,io).call(this);const i=fe(this,oe,co).call(this);a&&(S(this,G)!==n||Fe(this.options.enabled,S(this,G))!==Fe(r.enabled,S(this,G))||i!==S(this,qe))&&fe(this,oe,lo).call(this,i)}getOptimisticResult(t){const r=S(this,be).getQueryCache().build(S(this,be),t),n=this.createResult(r,t);return Sl(this,n)&&(ce(this,ve,n),ce(this,bt,this.options),ce(this,at,S(this,G).state)),n}getCurrentResult(){return S(this,ve)}trackResult(t,r){const n={};return Object.keys(t).forEach(a=>{Object.defineProperty(n,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),r==null||r(a),t[a])})}),n}trackProp(t){S(this,jt).add(t)}getCurrentQuery(){return S(this,G)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=S(this,be).defaultQueryOptions(t),n=S(this,be).getQueryCache().build(S(this,be),r);return n.fetch().then(()=>this.createResult(n,r))}fetch(t){return fe(this,oe,Dt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),S(this,ve)))}createResult(t,r){var U;const n=S(this,G),a=this.options,i=S(this,ve),l=S(this,at),c=S(this,bt),u=t!==n?t.state:S(this,zt),{state:h}=t;let f={...h},m=!1,v;if(r._optimisticResults){const _=this.hasListeners(),O=!_&&gn(t,r),F=_&&vn(t,n,r,a);(O||F)&&(f={...f,...Zc(h.data,t.options)}),r._optimisticResults===\"isRestoring\"&&(f.fetchStatus=\"idle\")}let{error:x,errorUpdatedAt:p,status:g}=f;v=f.data;let b=!1;if(r.placeholderData!==void 0&&v===void 0&&g===\"pending\"){let _;i!=null&&i.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData)?(_=i.data,b=!0):_=typeof r.placeholderData==\"function\"?r.placeholderData((U=S(this,yt))==null?void 0:U.state.data,S(this,yt)):r.placeholderData,_!==void 0&&(g=\"success\",v=hn(i==null?void 0:i.data,_,r),m=!0)}if(r.select&&v!==void 0&&!b)if(i&&v===(l==null?void 0:l.data)&&r.select===S(this,Bt))v=S(this,Ct);else try{ce(this,Bt,r.select),v=r.select(v),v=hn(i==null?void 0:i.data,v,r),ce(this,Ct,v),ce(this,Ze,null)}catch(_){ce(this,Ze,_)}S(this,Ze)&&(x=S(this,Ze),v=S(this,Ct),p=Date.now(),g=\"error\");const C=f.fetchStatus===\"fetching\",y=g===\"pending\",w=g===\"error\",j=y&&C,P=v!==void 0,E={status:g,fetchStatus:f.fetchStatus,isPending:y,isSuccess:g===\"success\",isError:w,isInitialLoading:j,isLoading:j,data:v,dataUpdatedAt:f.dataUpdatedAt,error:x,errorUpdatedAt:p,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:C,isRefetching:C&&!y,isLoadingError:w&&!P,isPaused:f.fetchStatus===\"paused\",isPlaceholderData:m,isRefetchError:w&&P,isStale:_o(t,r),refetch:this.refetch,promise:S(this,Ge)};if(this.options.experimental_prefetchInRender){const _=Z=>{E.status===\"error\"?Z.reject(E.error):E.data!==void 0&&Z.resolve(E.data)},O=()=>{const Z=ce(this,Ge,E.promise=un());_(Z)},F=S(this,Ge);switch(F.status){case\"pending\":t.queryHash===n.queryHash&&_(F);break;case\"fulfilled\":(E.status===\"error\"||E.data!==F.value)&&O();break;case\"rejected\":(E.status!==\"error\"||E.error!==F.reason)&&O();break}}return E}updateResult(){const t=S(this,ve),r=this.createResult(S(this,G),this.options);if(ce(this,at,S(this,G).state),ce(this,bt,this.options),S(this,at).data!==void 0&&ce(this,yt,S(this,G)),no(r,t))return;ce(this,ve,r);const n=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,i=typeof a==\"function\"?a():a;if(i===\"all\"||!i&&!S(this,jt).size)return!0;const l=new Set(i??S(this,jt));return this.options.throwOnError&&l.add(\"error\"),Object.keys(S(this,ve)).some(c=>{const d=c;return S(this,ve)[d]!==t[d]&&l.has(d)})};fe(this,oe,na).call(this,{listeners:n()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&fe(this,oe,uo).call(this)}},be=new WeakMap,G=new WeakMap,zt=new WeakMap,ve=new WeakMap,at=new WeakMap,bt=new WeakMap,Ge=new WeakMap,Ze=new WeakMap,Bt=new WeakMap,Ct=new WeakMap,yt=new WeakMap,st=new WeakMap,it=new WeakMap,qe=new WeakMap,jt=new WeakMap,oe=new WeakSet,Dt=function(t){fe(this,oe,po).call(this);let r=S(this,G).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Wc)),r},io=function(){fe(this,oe,fo).call(this);const t=sr(this.options.staleTime,S(this,G));if(ao||S(this,ve).isStale||!fn(t))return;const n=Kc(S(this,ve).dataUpdatedAt,t)+1;ce(this,st,setTimeout(()=>{S(this,ve).isStale||this.updateResult()},n))},co=function(){return(typeof this.options.refetchInterval==\"function\"?this.options.refetchInterval(S(this,G)):this.options.refetchInterval)??!1},lo=function(t){fe(this,oe,ho).call(this),ce(this,qe,t),!(ao||Fe(this.options.enabled,S(this,G))===!1||!fn(S(this,qe))||S(this,qe)===0)&&ce(this,it,setInterval(()=>{(this.options.refetchIntervalInBackground||Gc.isFocused())&&fe(this,oe,Dt).call(this)},S(this,qe)))},uo=function(){fe(this,oe,io).call(this),fe(this,oe,lo).call(this,fe(this,oe,co).call(this))},fo=function(){S(this,st)&&(clearTimeout(S(this,st)),ce(this,st,void 0))},ho=function(){S(this,it)&&(clearInterval(S(this,it)),ce(this,it,void 0))},po=function(){const t=S(this,be).getQueryCache().build(S(this,be),this.options);if(t===S(this,G))return;const r=S(this,G);ce(this,G,t),ce(this,zt,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},na=function(t){zn.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(S(this,ve))}),S(this,be).getQueryCache().notify({query:S(this,G),type:\"observerResultsUpdated\"})})},Vn);function jl(e,t){return Fe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===\"error\"&&t.retryOnMount===!1)}function gn(e,t){return jl(e,t)||e.state.data!==void 0&&mo(e,t,t.refetchOnMount)}function mo(e,t,r){if(Fe(t.enabled,e)!==!1){const n=typeof r==\"function\"?r(e):r;return n===\"always\"||n!==!1&&_o(e,t)}return!1}function vn(e,t,r,n){return(e!==t||Fe(n.enabled,e)===!1)&&(!r.suspense||e.state.status!==\"error\")&&_o(e,r)}function _o(e,t){return Fe(t.enabled,e)!==!1&&e.isStaleByTime(sr(t.staleTime,e))}function Sl(e,t){return!no(e.getCurrentResult(),t)}var aa=s.createContext(!1),Nl=()=>s.useContext(aa);aa.Provider;function Rl(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Ml=s.createContext(Rl()),kl=()=>s.useContext(Ml);function El(e,t){return typeof e==\"function\"?e(...t):!!e}function xn(){}var Tl=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Il=e=>{s.useEffect(()=>{e.clearReset()},[e])},Pl=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(a&&e.data===void 0||El(r,[e.error,n])),Al=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t==\"function\"?(...r)=>Math.max(t(...r),1e3):Math.max(t??1e3,1e3),typeof e.gcTime==\"number\"&&(e.gcTime=Math.max(e.gcTime,1e3)))},_l=(e,t)=>e.isLoading&&e.isFetching&&!t,Ll=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,wn=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Dl(e,t,r){var f,m,v,x,p;const n=qc(),a=Nl(),i=kl(),l=n.defaultQueryOptions(e);(m=(f=n.getDefaultOptions().queries)==null?void 0:f._experimental_beforeQuery)==null||m.call(f,l),l._optimisticResults=a?\"isRestoring\":\"optimistic\",Al(l),Tl(l,i),Il(i);const c=!n.getQueryCache().get(l.queryHash),[d]=s.useState(()=>new t(n,l)),u=d.getOptimisticResult(l),h=!a&&e.subscribed!==!1;if(s.useSyncExternalStore(s.useCallback(g=>{const b=h?d.subscribe(zn.batchCalls(g)):xn;return d.updateResult(),b},[d,h]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),s.useEffect(()=>{d.setOptions(l)},[l,d]),Ll(l,u))throw wn(l,d,i);if(Pl({result:u,errorResetBoundary:i,throwOnError:l.throwOnError,query:n.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw u.error;if((x=(v=n.getDefaultOptions().queries)==null?void 0:v._experimental_afterQuery)==null||x.call(v,l,u),l.experimental_prefetchInRender&&!ao&&_l(u,a)){const g=c?wn(l,d,i):(p=n.getQueryCache().get(l.queryHash))==null?void 0:p.promise;g==null||g.catch(xn).finally(()=>{d.updateResult()})}return l.notifyOnChangeProps?u:d.trackResult(u)}function Ol(e,t){return Dl(e,yl)}var $l=\"Portal\",Gt=s.forwardRef((e,t)=>{var c;const{container:r,...n}=e,[a,i]=s.useState(!1);Ae(()=>i(!0),[]);const l=r||a&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return l?Yc.createPortal(o.jsx(V.div,{...n,ref:t}),l):null});Gt.displayName=$l;var He=function(){return He=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},He.apply(this,arguments)};function sa(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function Fl(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var ir=\"right-scroll-bar-position\",cr=\"width-before-scroll-bar\",Hl=\"with-scroll-bars-hidden\",Vl=\"--removed-body-scroll-bar-size\";function Gr(e,t){return typeof e==\"function\"?e(t):e&&(e.current=t),e}function zl(e,t){var r=s.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var Bl=typeof window<\"u\"?s.useLayoutEffect:s.useEffect,bn=new WeakMap;function Ul(e,t){var r=zl(null,function(n){return e.forEach(function(a){return Gr(a,n)})});return Bl(function(){var n=bn.get(r);if(n){var a=new Set(n),i=new Set(e),l=r.current;a.forEach(function(c){i.has(c)||Gr(c,null)}),i.forEach(function(c){a.has(c)||Gr(c,l)})}bn.set(r,e)},[e]),r}function Wl(e){return e}function Kl(e,t){t===void 0&&(t=Wl);var r=[],n=!1,a={read:function(){if(n)throw new Error(\"Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.\");return r.length?r[r.length-1]:e},useMedium:function(i){var l=t(i,n);return r.push(l),function(){r=r.filter(function(c){return c!==l})}},assignSyncMedium:function(i){for(n=!0;r.length;){var l=r;r=[],l.forEach(i)}r={push:function(c){return i(c)},filter:function(){return r}}},assignMedium:function(i){n=!0;var l=[];if(r.length){var c=r;r=[],c.forEach(i),l=r}var d=function(){var h=l;l=[],h.forEach(i)},u=function(){return Promise.resolve().then(d)};u(),r={push:function(h){l.push(h),u()},filter:function(h){return l=l.filter(h),r}}}};return a}function Gl(e){e===void 0&&(e={});var t=Kl(null);return t.options=He({async:!0,ssr:!1},e),t}var ia=function(e){var t=e.sideCar,r=sa(e,[\"sideCar\"]);if(!t)throw new Error(\"Sidecar: please provide `sideCar` property to import the right car\");var n=t.read();if(!n)throw new Error(\"Sidecar medium not found\");return s.createElement(n,He({},r))};ia.isSideCarExport=!0;function Zl(e,t){return e.useMedium(t),ia}var ca=Gl(),Zr=function(){},Nr=s.forwardRef(function(e,t){var r=s.useRef(null),n=s.useState({onScrollCapture:Zr,onWheelCapture:Zr,onTouchMoveCapture:Zr}),a=n[0],i=n[1],l=e.forwardProps,c=e.children,d=e.className,u=e.removeScrollBar,h=e.enabled,f=e.shards,m=e.sideCar,v=e.noIsolation,x=e.inert,p=e.allowPinchZoom,g=e.as,b=g===void 0?\"div\":g,C=e.gapMode,y=sa(e,[\"forwardProps\",\"children\",\"className\",\"removeScrollBar\",\"enabled\",\"shards\",\"sideCar\",\"noIsolation\",\"inert\",\"allowPinchZoom\",\"as\",\"gapMode\"]),w=m,j=Ul([r,t]),P=He(He({},y),a);return s.createElement(s.Fragment,null,h&&s.createElement(w,{sideCar:ca,removeScrollBar:u,shards:f,noIsolation:v,inert:x,setCallbacks:i,allowPinchZoom:!!p,lockRef:r,gapMode:C}),l?s.cloneElement(s.Children.only(c),He(He({},P),{ref:j})):s.createElement(b,He({},P,{className:d,ref:j}),c))});Nr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Nr.classNames={fullWidth:cr,zeroRight:ir};var ql=function(){if(typeof __webpack_nonce__<\"u\")return __webpack_nonce__};function Yl(){if(!document)return null;var e=document.createElement(\"style\");e.type=\"text/css\";var t=ql();return t&&e.setAttribute(\"nonce\",t),e}function Ql(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xl(e){var t=document.head||document.getElementsByTagName(\"head\")[0];t.appendChild(e)}var Jl=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Yl())&&(Ql(t,r),Xl(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ed=function(){var e=Jl();return function(t,r){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},la=function(){var e=ed(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},td={left:0,top:0,right:0,gap:0},qr=function(e){return parseInt(e||\"\",10)||0},rd=function(e){var t=window.getComputedStyle(document.body),r=t[e===\"padding\"?\"paddingLeft\":\"marginLeft\"],n=t[e===\"padding\"?\"paddingTop\":\"marginTop\"],a=t[e===\"padding\"?\"paddingRight\":\"marginRight\"];return[qr(r),qr(n),qr(a)]},od=function(e){if(e===void 0&&(e=\"margin\"),typeof window>\"u\")return td;var t=rd(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},nd=la(),wt=\"data-scroll-locked\",ad=function(e,t,r,n){var a=e.left,i=e.top,l=e.right,c=e.gap;return r===void 0&&(r=\"margin\"),`\n  .`.concat(Hl,` {\n   overflow: hidden `).concat(n,`;\n   padding-right: `).concat(c,\"px \").concat(n,`;\n  }\n  body[`).concat(wt,`] {\n    overflow: hidden `).concat(n,`;\n    overscroll-behavior: contain;\n    `).concat([t&&\"position: relative \".concat(n,\";\"),r===\"margin\"&&`\n    padding-left: `.concat(a,`px;\n    padding-top: `).concat(i,`px;\n    padding-right: `).concat(l,`px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: `).concat(c,\"px \").concat(n,`;\n    `),r===\"padding\"&&\"padding-right: \".concat(c,\"px \").concat(n,\";\")].filter(Boolean).join(\"\"),`\n  }\n  \n  .`).concat(ir,` {\n    right: `).concat(c,\"px \").concat(n,`;\n  }\n  \n  .`).concat(cr,` {\n    margin-right: `).concat(c,\"px \").concat(n,`;\n  }\n  \n  .`).concat(ir,\" .\").concat(ir,` {\n    right: 0 `).concat(n,`;\n  }\n  \n  .`).concat(cr,\" .\").concat(cr,` {\n    margin-right: 0 `).concat(n,`;\n  }\n  \n  body[`).concat(wt,`] {\n    `).concat(Vl,\": \").concat(c,`px;\n  }\n`)},Cn=function(){var e=parseInt(document.body.getAttribute(wt)||\"0\",10);return isFinite(e)?e:0},sd=function(){s.useEffect(function(){return document.body.setAttribute(wt,(Cn()+1).toString()),function(){var e=Cn()-1;e<=0?document.body.removeAttribute(wt):document.body.setAttribute(wt,e.toString())}},[])},id=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?\"margin\":n;sd();var i=s.useMemo(function(){return od(a)},[a]);return s.createElement(nd,{styles:ad(i,!t,a,r?\"\":\"!important\")})},go=!1;if(typeof window<\"u\")try{var tr=Object.defineProperty({},\"passive\",{get:function(){return go=!0,!0}});window.addEventListener(\"test\",tr,tr),window.removeEventListener(\"test\",tr,tr)}catch{go=!1}var pt=go?{passive:!1}:!1,cd=function(e){return e.tagName===\"TEXTAREA\"},da=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!==\"hidden\"&&!(r.overflowY===r.overflowX&&!cd(e)&&r[t]===\"visible\")},ld=function(e){return da(e,\"overflowY\")},dd=function(e){return da(e,\"overflowX\")},yn=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<\"u\"&&n instanceof ShadowRoot&&(n=n.host);var a=ua(e,n);if(a){var i=fa(e,n),l=i[1],c=i[2];if(l>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},ud=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},fd=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},ua=function(e,t){return e===\"v\"?ld(t):dd(t)},fa=function(e,t){return e===\"v\"?ud(t):fd(t)},hd=function(e,t){return e===\"h\"&&t===\"rtl\"?-1:1},pd=function(e,t,r,n,a){var i=hd(e,window.getComputedStyle(t).direction),l=i*n,c=r.target,d=t.contains(c),u=!1,h=l>0,f=0,m=0;do{var v=fa(e,c),x=v[0],p=v[1],g=v[2],b=p-g-i*x;(x||b)&&ua(e,c)&&(f+=b,m+=x),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(h&&Math.abs(f)<1||!h&&Math.abs(m)<1)&&(u=!0),u},rr=function(e){return\"changedTouches\"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},jn=function(e){return[e.deltaX,e.deltaY]},Sn=function(e){return e&&\"current\"in e?e.current:e},md=function(e,t){return e[0]===t[0]&&e[1]===t[1]},gd=function(e){return`\n  .block-interactivity-`.concat(e,` {pointer-events: none;}\n  .allow-interactivity-`).concat(e,` {pointer-events: all;}\n`)},vd=0,mt=[];function xd(e){var t=s.useRef([]),r=s.useRef([0,0]),n=s.useRef(),a=s.useState(vd++)[0],i=s.useState(la)[0],l=s.useRef(e);s.useEffect(function(){l.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add(\"block-interactivity-\".concat(a));var p=Fl([e.lockRef.current],(e.shards||[]).map(Sn),!0).filter(Boolean);return p.forEach(function(g){return g.classList.add(\"allow-interactivity-\".concat(a))}),function(){document.body.classList.remove(\"block-interactivity-\".concat(a)),p.forEach(function(g){return g.classList.remove(\"allow-interactivity-\".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=s.useCallback(function(p,g){if(\"touches\"in p&&p.touches.length===2||p.type===\"wheel\"&&p.ctrlKey)return!l.current.allowPinchZoom;var b=rr(p),C=r.current,y=\"deltaX\"in p?p.deltaX:C[0]-b[0],w=\"deltaY\"in p?p.deltaY:C[1]-b[1],j,P=p.target,R=Math.abs(y)>Math.abs(w)?\"h\":\"v\";if(\"touches\"in p&&R===\"h\"&&P.type===\"range\")return!1;var E=yn(R,P);if(!E)return!0;if(E?j=R:(j=R===\"v\"?\"h\":\"v\",E=yn(R,P)),!E)return!1;if(!n.current&&\"changedTouches\"in p&&(y||w)&&(n.current=j),!j)return!0;var U=n.current||j;return pd(U,g,p,U===\"h\"?y:w)},[]),d=s.useCallback(function(p){var g=p;if(!(!mt.length||mt[mt.length-1]!==i)){var b=\"deltaY\"in g?jn(g):rr(g),C=t.current.filter(function(j){return j.name===g.type&&(j.target===g.target||g.target===j.shadowParent)&&md(j.delta,b)})[0];if(C&&C.should){g.cancelable&&g.preventDefault();return}if(!C){var y=(l.current.shards||[]).map(Sn).filter(Boolean).filter(function(j){return j.contains(g.target)}),w=y.length>0?c(g,y[0]):!l.current.noIsolation;w&&g.cancelable&&g.preventDefault()}}},[]),u=s.useCallback(function(p,g,b,C){var y={name:p,delta:g,target:b,should:C,shadowParent:wd(b)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(w){return w!==y})},1)},[]),h=s.useCallback(function(p){r.current=rr(p),n.current=void 0},[]),f=s.useCallback(function(p){u(p.type,jn(p),p.target,c(p,e.lockRef.current))},[]),m=s.useCallback(function(p){u(p.type,rr(p),p.target,c(p,e.lockRef.current))},[]);s.useEffect(function(){return mt.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener(\"wheel\",d,pt),document.addEventListener(\"touchmove\",d,pt),document.addEventListener(\"touchstart\",h,pt),function(){mt=mt.filter(function(p){return p!==i}),document.removeEventListener(\"wheel\",d,pt),document.removeEventListener(\"touchmove\",d,pt),document.removeEventListener(\"touchstart\",h,pt)}},[]);var v=e.removeScrollBar,x=e.inert;return s.createElement(s.Fragment,null,x?s.createElement(i,{styles:gd(a)}):null,v?s.createElement(id,{gapMode:e.gapMode}):null)}function wd(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const bd=Zl(ca,xd);var Zt=s.forwardRef(function(e,t){return s.createElement(Nr,He({},e,{ref:t,sideCar:bd}))});Zt.classNames=Nr.classNames;function Cd(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ct(t[0])&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const Nn={};function vo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ct(t[0])&&Nn[t[0]]||(ct(t[0])&&(Nn[t[0]]=new Date),Cd(...t))}const ha=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off(\"initialized\",r)},0),t()};e.on(\"initialized\",r)}},Rn=(e,t,r)=>{e.loadNamespaces(t,ha(e,r))},Mn=(e,t,r,n)=>{ct(r)&&(r=[r]),r.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,ha(e,n))},yd=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=t.languages[0],a=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(n.toLowerCase()===\"cimode\")return!0;const l=(c,d)=>{const u=t.services.backendConnector.state[`${c}|${d}`];return u===-1||u===2};return r.bindI18n&&r.bindI18n.indexOf(\"languageChanging\")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||l(n,e)&&(!a||l(i,e)))},jd=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(vo(\"i18n.languages were undefined or empty\",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(a,i)=>{if(r.bindI18n&&r.bindI18n.indexOf(\"languageChanging\")>-1&&a.services.backendConnector.backend&&a.isLanguageChangingTo&&!i(a.isLanguageChangingTo,e))return!1}}):yd(e,t,r)},ct=e=>typeof e==\"string\",Sd=e=>typeof e==\"object\"&&e!==null,Nd=s.createContext();class Rd{constructor(){er(this,\"getUsedNamespaces\",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}}const Md=(e,t)=>{const r=s.useRef();return s.useEffect(()=>{r.current=e},[e,t]),r.current},pa=(e,t,r,n)=>e.getFixedT(t,r,n),kd=(e,t,r,n)=>s.useCallback(pa(e,t,r,n),[e,t,r,n]),Ed=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:r}=t,{i18n:n,defaultNS:a}=s.useContext(Nd)||{},i=r||n||Qc();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Rd),!i){vo(\"You will need to pass in an i18next instance by using initReactI18next\");const w=(P,R)=>ct(R)?R:Sd(R)&&ct(R.defaultValue)?R.defaultValue:Array.isArray(P)?P[P.length-1]:P,j=[w,{},!1];return j.t=w,j.i18n={},j.ready=!1,j}i.options.react&&i.options.react.wait!==void 0&&vo(\"It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.\");const l={...Xc(),...i.options.react,...t},{useSuspense:c,keyPrefix:d}=l;let u=a||i.options&&i.options.defaultNS;u=ct(u)?[u]:u||[\"translation\"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(u);const h=(i.isInitialized||i.initializedStoreOnce)&&u.every(w=>jd(w,i,l)),f=kd(i,t.lng||null,l.nsMode===\"fallback\"?u:u[0],d),m=()=>f,v=()=>pa(i,t.lng||null,l.nsMode===\"fallback\"?u:u[0],d),[x,p]=s.useState(m);let g=u.join();t.lng&&(g=`${t.lng}${g}`);const b=Md(g),C=s.useRef(!0);s.useEffect(()=>{const{bindI18n:w,bindI18nStore:j}=l;C.current=!0,!h&&!c&&(t.lng?Mn(i,t.lng,u,()=>{C.current&&p(v)}):Rn(i,u,()=>{C.current&&p(v)})),h&&b&&b!==g&&C.current&&p(v);const P=()=>{C.current&&p(v)};return w&&i&&i.on(w,P),j&&i&&i.store.on(j,P),()=>{C.current=!1,w&&i&&w.split(\" \").forEach(R=>i.off(R,P)),j&&i&&j.split(\" \").forEach(R=>i.store.off(R,P))}},[i,g]),s.useEffect(()=>{C.current&&h&&p(m)},[i,d,h]);const y=[x,i,h];if(y.t=x,y.i18n=i,y.ready=h,h||!h&&!c)return y;throw new Promise(w=>{t.lng?Mn(i,t.lng,u,()=>w()):Rn(i,u,()=>w())})};function Ce(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var Td=[\"color\"],Id=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Td);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M0.877014 7.49988C0.877014 3.84219 3.84216 0.877045 7.49985 0.877045C11.1575 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1575 14.1227 7.49985 14.1227C3.84216 14.1227 0.877014 11.1575 0.877014 7.49988ZM7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.97196 2.38774 10.3131 3.30727 11.3213C4.19074 9.94119 5.73818 9.02499 7.50023 9.02499C9.26206 9.02499 10.8093 9.94097 11.6929 11.3208C12.6121 10.3127 13.1727 8.97172 13.1727 7.49988C13.1727 4.36686 10.6328 1.82704 7.49985 1.82704ZM10.9818 11.9787C10.2839 10.7795 8.9857 9.97499 7.50023 9.97499C6.01458 9.97499 4.71624 10.7797 4.01845 11.9791C4.97952 12.7272 6.18765 13.1727 7.49985 13.1727C8.81227 13.1727 10.0206 12.727 10.9818 11.9787ZM5.14999 6.50487C5.14999 5.207 6.20212 4.15487 7.49999 4.15487C8.79786 4.15487 9.84999 5.207 9.84999 6.50487C9.84999 7.80274 8.79786 8.85487 7.49999 8.85487C6.20212 8.85487 5.14999 7.80274 5.14999 6.50487ZM7.49999 5.10487C6.72679 5.10487 6.09999 5.73167 6.09999 6.50487C6.09999 7.27807 6.72679 7.90487 7.49999 7.90487C8.27319 7.90487 8.89999 7.27807 8.89999 6.50487C8.89999 5.73167 8.27319 5.10487 7.49999 5.10487Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Pd=[\"color\"],Ad=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Pd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),_d=[\"color\"],Ld=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,_d);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Dd=[\"color\"],Od=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Dd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M13.15 7.49998C13.15 4.66458 10.9402 1.84998 7.50002 1.84998C4.72167 1.84998 3.34849 3.9064 2.76335 5H4.5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H1.5C1.22386 6 1 5.77614 1 5.5V2.5C1 2.22386 1.22386 2 1.5 2C1.77614 2 2 2.22386 2 2.5V4.31318C2.70453 3.07126 4.33406 0.849976 7.50002 0.849976C11.5628 0.849976 14.15 4.18537 14.15 7.49998C14.15 10.8146 11.5628 14.15 7.50002 14.15C5.55618 14.15 3.93778 13.3808 2.78548 12.2084C2.16852 11.5806 1.68668 10.839 1.35816 10.0407C1.25306 9.78536 1.37488 9.49315 1.63024 9.38806C1.8856 9.28296 2.17781 9.40478 2.2829 9.66014C2.56374 10.3425 2.97495 10.9745 3.4987 11.5074C4.47052 12.4963 5.83496 13.15 7.50002 13.15C10.9402 13.15 13.15 10.3354 13.15 7.49998ZM7.5 4.00001C7.77614 4.00001 8 4.22387 8 4.50001V7.29291L9.85355 9.14646C10.0488 9.34172 10.0488 9.65831 9.85355 9.85357C9.65829 10.0488 9.34171 10.0488 9.14645 9.85357L7.14645 7.85357C7.05268 7.7598 7 7.63262 7 7.50001V4.50001C7 4.22387 7.22386 4.00001 7.5 4.00001Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),$d=[\"color\"],Fd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,$d);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Hd=[\"color\"],Vd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Hd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),zd=[\"color\"],Bd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,zd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M7.50005 1.04999C7.74858 1.04999 7.95005 1.25146 7.95005 1.49999V8.41359L10.1819 6.18179C10.3576 6.00605 10.6425 6.00605 10.8182 6.18179C10.994 6.35753 10.994 6.64245 10.8182 6.81819L7.81825 9.81819C7.64251 9.99392 7.35759 9.99392 7.18185 9.81819L4.18185 6.81819C4.00611 6.64245 4.00611 6.35753 4.18185 6.18179C4.35759 6.00605 4.64251 6.00605 4.81825 6.18179L7.05005 8.41359V1.49999C7.05005 1.25146 7.25152 1.04999 7.50005 1.04999ZM2.5 10C2.77614 10 3 10.2239 3 10.5V12C3 12.5539 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2239 12.2239 10 12.5 10C12.7761 10 13 10.2239 13 10.5V12C13 13.1041 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2239 2.22386 10 2.5 10Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Ud=[\"color\"],Wd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Ud);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Kd=[\"color\"],Gd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Kd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Zd=[\"color\"],qd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Zd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Yd=[\"color\"],Qd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Yd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM7.50003 4C7.77617 4 8.00003 4.22386 8.00003 4.5V7H10.5C10.7762 7 11 7.22386 11 7.5C11 7.77614 10.7762 8 10.5 8H8.00003V10.5C8.00003 10.7761 7.77617 11 7.50003 11C7.22389 11 7.00003 10.7761 7.00003 10.5V8H4.50003C4.22389 8 4.00003 7.77614 4.00003 7.5C4.00003 7.22386 4.22389 7 4.50003 7H7.00003V4.5C7.00003 4.22386 7.22389 4 7.50003 4Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),Xd=[\"color\"],Jd=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,Xd);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),eu=[\"color\"],tu=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,eu);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))}),ru=[\"color\"],ou=s.forwardRef(function(e,t){var r=e.color,n=r===void 0?\"currentColor\":r,a=Ce(e,ru);return s.createElement(\"svg\",Object.assign({width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},a,{ref:t}),s.createElement(\"path\",{d:\"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z\",fill:n,fillRule:\"evenodd\",clipRule:\"evenodd\"}))});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Rr=\"/v1\";async function nu(e,t,r){const n=await fetch(`${Rr}/share/${e}`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({prompt:t.prompt(r),html:t.pureHTML(r),name:t.name,emoji:t.emoji})});if(n.status!==201){const a=await n.json();throw new Error(a.error.message)}}async function au(e,t,r){const n=await fetch(`${Rr}/vote`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({prompt:t.prompt(r),html:t.pureHTML(r),name:t.name,emoji:t.emoji,vote:e})});if(n.status!==201){const a=await n.json();throw new Error(a.error.message)}}async function su(e){const t=await fetch(`${Rr}/share/${e}`);if(t.status!==200){const n=await t.json();throw new Error(n.error.message)}const r=await t.json();return r.createdAt=new Date,r}async function iu(){const e=await fetch(`${Rr}/session`);if(e.status!==404)return await e.json()}const kn=e=>typeof e==\"boolean\"?`${e}`:e===0?\"0\":e,En=Jc,ma=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return En(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:i}=t,l=Object.keys(a).map(u=>{const h=r==null?void 0:r[u],f=i==null?void 0:i[u];if(h===null)return null;const m=kn(h)||kn(f);return a[u][m]}),c=r&&Object.entries(r).reduce((u,h)=>{let[f,m]=h;return m===void 0||(u[f]=m),u},{}),d=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,h)=>{let{class:f,className:m,...v}=h;return Object.entries(v).every(x=>{let[p,g]=x;return Array.isArray(g)?g.includes({...i,...c}[p]):{...i,...c}[p]===g})?[...u,f,m]:u},[]);return En(e,l,d,r==null?void 0:r.class,r==null?void 0:r.className)};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const cu=ma(\"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",{variants:{variant:{default:\"bg-primary text-primary-foreground hover:bg-primary/90\",destructive:\"bg-destructive text-destructive-foreground hover:bg-destructive/90\",outline:\"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",secondary:\"bg-secondary text-secondary-foreground hover:bg-secondary/80\",ghost:\"hover:bg-accent hover:text-accent-foreground\",link:\"text-primary underline-offset-4 hover:underline\"},size:{default:\"h-10 px-4 py-2\",sm:\"h-9 rounded-md px-3\",lg:\"h-11 rounded-md px-8\",icon:\"h-10 w-10\"}},defaultVariants:{variant:\"default\",size:\"default\"}}),J=s.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,...a},i)=>{const l=n?el:\"button\";return o.jsx(l,{className:k(cu({variant:t,size:r,className:e})),ref:i,...a})});J.displayName=\"Button\";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function lu(e){const t=e.split(`\n`),[r,n]=[t[0],t.slice(1)];return[r,n.join(`\n`)]}function ga({mode:e=\"html\",error:t,isLoading:r=!1}){const n=r?\"animate-pulse\":\"\";if(t){const[a,i]=lu(t);return o.jsx(\"div\",{className:\"mx-auto mt-10 w-full max-w-[80%]\",children:o.jsx(\"div\",{className:\"bg-secondary text-black dark:text-white\",children:o.jsxs(\"div\",{role:\"alert\",className:\"relative mb-2 rounded border-l-4 border-red-500 p-4\",children:[o.jsx(\"strong\",{className:\"font-bold\",children:\"Error! \"}),o.jsx(\"span\",{className:\"block sm:inline\",children:a}),i!==\"\"&&o.jsx(\"p\",{className:\"mt-4 text-sm text-muted-foreground\",children:i})]})})})}return o.jsxs(\"div\",{className:\"ml-[15%] w-full max-w-[80%]\",children:[\" \",o.jsxs(\"div\",{role:\"status\",className:`my-7 ${n}`,children:[\" \",o.jsx(\"div\",{className:\"mb-4 h-2.5 w-[82%] rounded-full bg-zinc-300 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[70%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Loading...\"}),\" \"]}),e===\"html\"&&o.jsxs(\"div\",{role:\"status\",className:`mb-7 max-w-[80%] ${n}`,children:[\" \",o.jsxs(\"div\",{className:\"flex h-48 w-full items-center justify-center rounded bg-zinc-300 dark:bg-zinc-700\",children:[\" \",o.jsx(\"svg\",{className:\"h-12 w-12 text-gray-200\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",fill:\"currentColor\",viewBox:\"0 0 640 512\",children:o.jsx(\"path\",{d:\"M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z\"})}),\" \"]}),o.jsx(\"span\",{className:\"sr-only\",children:\"Loading...\"}),\" \"]}),o.jsxs(\"div\",{role:\"status\",className:`my-6 ${n}`,children:[\" \",o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[82%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Loading...\"}),\" \"]}),o.jsxs(\"div\",{role:\"status\",className:`my-6 ${n}`,children:[\" \",o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[82%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Loading...\"}),\" \"]}),o.jsxs(\"div\",{role:\"status\",className:`mb-6 mt-7 ${n}`,children:[\" \",o.jsx(\"div\",{className:\"mb-4 h-2.5 w-[82%] rounded-full bg-zinc-300 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[72%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[80%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Loading...\"}),\" \"]}),o.jsxs(\"div\",{role:\"status\",className:`my-6 ${n}`,children:[\" \",o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[78%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"div\",{className:\"mb-2.5 h-2 max-w-[75%] rounded-full bg-zinc-200 dark:bg-zinc-700\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Loading...\"}),\" \"]})]})}var Yr,Lo=\"HoverCard\",[va,Sh]=_e(Lo,[Xe]),Mr=Xe(),[du,Do]=va(Lo),xa=e=>{const{__scopeHoverCard:t,children:r,open:n,defaultOpen:a,onOpenChange:i,openDelay:l=700,closeDelay:c=300}=e,d=Mr(t),u=s.useRef(0),h=s.useRef(0),f=s.useRef(!1),m=s.useRef(!1),[v=!1,x]=Be({prop:n,defaultProp:a,onChange:i}),p=s.useCallback(()=>{clearTimeout(h.current),u.current=window.setTimeout(()=>x(!0),l)},[l,x]),g=s.useCallback(()=>{clearTimeout(u.current),!f.current&&!m.current&&(h.current=window.setTimeout(()=>x(!1),c))},[c,x]),b=s.useCallback(()=>x(!1),[x]);return s.useEffect(()=>()=>{clearTimeout(u.current),clearTimeout(h.current)},[]),o.jsx(du,{scope:t,open:v,onOpenChange:x,onOpen:p,onClose:g,onDismiss:b,hasSelectionRef:f,isPointerDownOnContentRef:m,children:o.jsx(wr,{...d,children:r})})};xa.displayName=Lo;var wa=\"HoverCardTrigger\",ba=s.forwardRef((e,t)=>{const{__scopeHoverCard:r,...n}=e,a=Do(wa,r),i=Mr(r);return o.jsx(Ut,{asChild:!0,...i,children:o.jsx(V.a,{\"data-state\":a.open?\"open\":\"closed\",...n,ref:t,onPointerEnter:N(e.onPointerEnter,ur(a.onOpen)),onPointerLeave:N(e.onPointerLeave,ur(a.onClose)),onFocus:N(e.onFocus,a.onOpen),onBlur:N(e.onBlur,a.onClose),onTouchStart:N(e.onTouchStart,l=>l.preventDefault())})})});ba.displayName=wa;var uu=\"HoverCardPortal\",[Nh,fu]=va(uu,{forceMount:void 0}),dr=\"HoverCardContent\",Ca=s.forwardRef((e,t)=>{const r=fu(dr,e.__scopeHoverCard),{forceMount:n=r.forceMount,...a}=e,i=Do(dr,e.__scopeHoverCard);return o.jsx(Oe,{present:n||i.open,children:o.jsx(hu,{\"data-state\":i.open?\"open\":\"closed\",...a,onPointerEnter:N(e.onPointerEnter,ur(i.onOpen)),onPointerLeave:N(e.onPointerLeave,ur(i.onClose)),ref:t})})});Ca.displayName=dr;var hu=s.forwardRef((e,t)=>{const{__scopeHoverCard:r,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:l,...c}=e,d=Do(dr,r),u=Mr(r),h=s.useRef(null),f=Q(t,h),[m,v]=s.useState(!1);return s.useEffect(()=>{if(m){const x=document.body;return Yr=x.style.userSelect||x.style.webkitUserSelect,x.style.userSelect=\"none\",x.style.webkitUserSelect=\"none\",()=>{x.style.userSelect=Yr,x.style.webkitUserSelect=Yr}}},[m]),s.useEffect(()=>{if(h.current){const x=()=>{v(!1),d.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var g;((g=document.getSelection())==null?void 0:g.toString())!==\"\"&&(d.hasSelectionRef.current=!0)})};return document.addEventListener(\"pointerup\",x),()=>{document.removeEventListener(\"pointerup\",x),d.hasSelectionRef.current=!1,d.isPointerDownOnContentRef.current=!1}}},[d.isPointerDownOnContentRef,d.hasSelectionRef]),s.useEffect(()=>{h.current&&mu(h.current).forEach(p=>p.setAttribute(\"tabindex\",\"-1\"))}),o.jsx(Wt,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:l,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:N(i,x=>{x.preventDefault()}),onDismiss:d.onDismiss,children:o.jsx(Cr,{...u,...c,onPointerDown:N(c.onPointerDown,x=>{x.currentTarget.contains(x.target)&&v(!0),d.hasSelectionRef.current=!1,d.isPointerDownOnContentRef.current=!0}),ref:f,style:{...c.style,userSelect:m?\"text\":void 0,WebkitUserSelect:m?\"text\":void 0,\"--radix-hover-card-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-hover-card-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-hover-card-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-hover-card-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-hover-card-trigger-height\":\"var(--radix-popper-anchor-height)\"}})})}),pu=\"HoverCardArrow\",ya=s.forwardRef((e,t)=>{const{__scopeHoverCard:r,...n}=e,a=Mr(r);return o.jsx(br,{...a,...n,ref:t})});ya.displayName=pu;function ur(e){return t=>t.pointerType===\"touch\"?void 0:e()}function mu(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t}var gu=xa,vu=ba,ja=Ca,Sa=ya;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Oo=gu,$o=vu,Na=s.forwardRef(({className:e,...t},r)=>o.jsx(Sa,{ref:r,className:k(\"!bottom-[1px] fill-background\",e),style:{clipPath:\"inset(0 -10px -10px -10px)\",filter:\"drop-shadow(0 0 3px gray)\"},...t}));Na.displayName=Sa.displayName;const kr=s.forwardRef(({className:e,align:t=\"center\",sideOffset:r=4,...n},a)=>o.jsx(ja,{ref:a,align:t,sideOffset:r,className:k(\"z-50 w-64 rounded-md bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",e),...n}));kr.displayName=ja.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const At=[\"Make me a flashy landing page for an AI SaaS startup. Come up with an exciting name and create a navigation bar up top.\",\"Create a responsive navigation bar with dropdown menus, using a dark theme.\",\"I need a user profile card with an avatar, name, and social media links in Tailwind CSS.\",\"Generate a modal popup for user feedback, including text area and submit button.\",\"Can you make a pricing table with three tiers, highlighting the best value tier?\",\"Build a responsive image gallery grid that supports lightbox viewing.\",\"I'm looking for a login form with email and password fields, plus a remember me checkbox.\",\"Design a newsletter signup section with an input field and a subscribe button, featuring a minimalist aesthetic.\",\"Create a footer with columns for links, a brief about section, and social media icons.\",\"Generate a dashboard layout with a sidebar navigation, header, and content area.\",\"I need an accordion FAQ section where questions expand to show answers on click.\",\"Produce a blog post template with a featured image, title, date, author, and content area.\",\"Design a to-do list app interface with tasks, checkboxes, and an add task form.\",\"Create a progress bar component that shows percentage completion and can be styled dynamically.\",\"Generate a contact form with name, email, message fields, and a send button, with validation styles.\",\"Design a carousel slider for featured articles with previous and next controls, using a sleek, modern look.\",\"Create a set of social share buttons with icons for Facebook, Twitter, LinkedIn, and Instagram, with a hover effect.\",\"Generate a responsive table with sortable columns, row highlight on hover, and pagination.\",\"I need a card layout for product listings, including an image, title, price, and 'Add to Cart' button.\",\"Build a timeline component for displaying a project's milestones, with vertical lines and circular markers.\",\"Design a weather widget showing the current temperature, weather condition icons, and a 5-day forecast.\",\"Create an alert component with success, warning, and error variations that can be dismissed.\",\"Generate a multi-step form for a checkout process, including progress indicators.\",\"I'm looking for a tab component with horizontal navigation and dynamically loaded content.\",\"Design a search bar with autocomplete suggestions that appear as the user types.\",\"Create a sticky header that becomes visible when scrolling up and hides on scrolling down.\",\"Generate a set of animated loading spinners with different styles for asynchronous data loading.\",\"I need a grid of cards for team members, including photo, name, role, and a short bio, with a flip effect on hover.\",\"Build a testimonial slider with quotes from customers, including their names and photos.\",\"Design a date picker component that integrates with a form and supports range selection.\",\"Generate a set of badges for different status levels like New, In Progress, and Completed, with customizable colors.\"],Tn=[\"creative\",\"colorful\",\"enterprise\",\"modern\",\"minimal\",\"weirder\"],Ra=[/^gpt-/,/^llava/,/^moondream/,/^gemini-1\\.5/,/^claude/,/^phi-3-vision/];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const De=[{name:\"zinc\",label:\"Zinc\",activeColor:{light:\"240 5.9% 10%\",dark:\"240 5.2% 33.9%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"240 10% 3.9%\",card:\"0 0% 100%\",\"card-foreground\":\"240 10% 3.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"240 10% 3.9%\",primary:\"240 5.9% 10%\",\"primary-foreground\":\"0 0% 98%\",secondary:\"240 4.8% 95.9%\",\"secondary-foreground\":\"240 5.9% 10%\",muted:\"240 4.8% 95.9%\",\"muted-foreground\":\"240 3.8% 46.1%\",accent:\"240 4.8% 95.9%\",\"accent-foreground\":\"240 5.9% 10%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"0 0% 98%\",border:\"240 5.9% 90%\",input:\"240 5.9% 90%\",ring:\"240 5.9% 10%\",radius:\"0.5rem\"},dark:{background:\"240 10% 3.9%\",foreground:\"0 0% 98%\",card:\"240 10% 3.9%\",\"card-foreground\":\"0 0% 98%\",popover:\"240 10% 3.9%\",\"popover-foreground\":\"0 0% 98%\",primary:\"0 0% 98%\",\"primary-foreground\":\"240 5.9% 10%\",secondary:\"240 3.7% 15.9%\",\"secondary-foreground\":\"0 0% 98%\",muted:\"240 3.7% 15.9%\",\"muted-foreground\":\"240 5% 64.9%\",accent:\"240 3.7% 15.9%\",\"accent-foreground\":\"0 0% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"0 0% 98%\",border:\"240 3.7% 15.9%\",input:\"240 3.7% 15.9%\",ring:\"240 4.9% 83.9%\"}}},{name:\"slate\",label:\"Slate\",activeColor:{light:\"215.4 16.3% 46.9%\",dark:\"215.3 19.3% 34.5%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"222.2 84% 4.9%\",card:\"0 0% 100%\",\"card-foreground\":\"222.2 84% 4.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"222.2 84% 4.9%\",primary:\"222.2 47.4% 11.2%\",\"primary-foreground\":\"210 40% 98%\",secondary:\"210 40% 96.1%\",\"secondary-foreground\":\"222.2 47.4% 11.2%\",muted:\"210 40% 96.1%\",\"muted-foreground\":\"215.4 16.3% 46.9%\",accent:\"210 40% 96.1%\",\"accent-foreground\":\"222.2 47.4% 11.2%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"210 40% 98%\",border:\"214.3 31.8% 91.4%\",input:\"214.3 31.8% 91.4%\",ring:\"222.2 84% 4.9%\",radius:\"0.5rem\"},dark:{background:\"222.2 84% 4.9%\",foreground:\"210 40% 98%\",card:\"222.2 84% 4.9%\",\"card-foreground\":\"210 40% 98%\",popover:\"222.2 84% 4.9%\",\"popover-foreground\":\"210 40% 98%\",primary:\"210 40% 98%\",\"primary-foreground\":\"222.2 47.4% 11.2%\",secondary:\"217.2 32.6% 17.5%\",\"secondary-foreground\":\"210 40% 98%\",muted:\"217.2 32.6% 17.5%\",\"muted-foreground\":\"215 20.2% 65.1%\",accent:\"217.2 32.6% 17.5%\",\"accent-foreground\":\"210 40% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"210 40% 98%\",border:\"217.2 32.6% 17.5%\",input:\"217.2 32.6% 17.5%\",ring:\"212.7 26.8% 83.9\"}}},{name:\"stone\",label:\"Stone\",activeColor:{light:\"25 5.3% 44.7%\",dark:\"33.3 5.5% 32.4%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"20 14.3% 4.1%\",card:\"0 0% 100%\",\"card-foreground\":\"20 14.3% 4.1%\",popover:\"0 0% 100%\",\"popover-foreground\":\"20 14.3% 4.1%\",primary:\"24 9.8% 10%\",\"primary-foreground\":\"60 9.1% 97.8%\",secondary:\"60 4.8% 95.9%\",\"secondary-foreground\":\"24 9.8% 10%\",muted:\"60 4.8% 95.9%\",\"muted-foreground\":\"25 5.3% 44.7%\",accent:\"60 4.8% 95.9%\",\"accent-foreground\":\"24 9.8% 10%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"60 9.1% 97.8%\",border:\"20 5.9% 90%\",input:\"20 5.9% 90%\",ring:\"20 14.3% 4.1%\",radius:\"0.95rem\"},dark:{background:\"20 14.3% 4.1%\",foreground:\"60 9.1% 97.8%\",card:\"20 14.3% 4.1%\",\"card-foreground\":\"60 9.1% 97.8%\",popover:\"20 14.3% 4.1%\",\"popover-foreground\":\"60 9.1% 97.8%\",primary:\"60 9.1% 97.8%\",\"primary-foreground\":\"24 9.8% 10%\",secondary:\"12 6.5% 15.1%\",\"secondary-foreground\":\"60 9.1% 97.8%\",muted:\"12 6.5% 15.1%\",\"muted-foreground\":\"24 5.4% 63.9%\",accent:\"12 6.5% 15.1%\",\"accent-foreground\":\"60 9.1% 97.8%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"60 9.1% 97.8%\",border:\"12 6.5% 15.1%\",input:\"12 6.5% 15.1%\",ring:\"24 5.7% 82.9%\"}}},{name:\"gray\",label:\"Gray\",activeColor:{light:\"220 8.9% 46.1%\",dark:\"215 13.8% 34.1%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"224 71.4% 4.1%\",card:\"0 0% 100%\",\"card-foreground\":\"224 71.4% 4.1%\",popover:\"0 0% 100%\",\"popover-foreground\":\"224 71.4% 4.1%\",primary:\"220.9 39.3% 11%\",\"primary-foreground\":\"210 20% 98%\",secondary:\"220 14.3% 95.9%\",\"secondary-foreground\":\"220.9 39.3% 11%\",muted:\"220 14.3% 95.9%\",\"muted-foreground\":\"220 8.9% 46.1%\",accent:\"220 14.3% 95.9%\",\"accent-foreground\":\"220.9 39.3% 11%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"210 20% 98%\",border:\"220 13% 91%\",input:\"220 13% 91%\",ring:\"224 71.4% 4.1%\",radius:\"0.35rem\"},dark:{background:\"224 71.4% 4.1%\",foreground:\"210 20% 98%\",card:\"224 71.4% 4.1%\",\"card-foreground\":\"210 20% 98%\",popover:\"224 71.4% 4.1%\",\"popover-foreground\":\"210 20% 98%\",primary:\"210 20% 98%\",\"primary-foreground\":\"220.9 39.3% 11%\",secondary:\"215 27.9% 16.9%\",\"secondary-foreground\":\"210 20% 98%\",muted:\"215 27.9% 16.9%\",\"muted-foreground\":\"217.9 10.6% 64.9%\",accent:\"215 27.9% 16.9%\",\"accent-foreground\":\"210 20% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"210 20% 98%\",border:\"215 27.9% 16.9%\",input:\"215 27.9% 16.9%\",ring:\"216 12.2% 83.9%\"}}},{name:\"neutral\",label:\"Neutral\",activeColor:{light:\"0 0% 45.1%\",dark:\"0 0% 32.2%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"0 0% 3.9%\",card:\"0 0% 100%\",\"card-foreground\":\"0 0% 3.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"0 0% 3.9%\",primary:\"0 0% 9%\",\"primary-foreground\":\"0 0% 98%\",secondary:\"0 0% 96.1%\",\"secondary-foreground\":\"0 0% 9%\",muted:\"0 0% 96.1%\",\"muted-foreground\":\"0 0% 45.1%\",accent:\"0 0% 96.1%\",\"accent-foreground\":\"0 0% 9%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"0 0% 98%\",border:\"0 0% 89.8%\",input:\"0 0% 89.8%\",ring:\"0 0% 3.9%\"},dark:{background:\"0 0% 3.9%\",foreground:\"0 0% 98%\",card:\"0 0% 3.9%\",\"card-foreground\":\"0 0% 98%\",popover:\"0 0% 3.9%\",\"popover-foreground\":\"0 0% 98%\",primary:\"0 0% 98%\",\"primary-foreground\":\"0 0% 9%\",secondary:\"0 0% 14.9%\",\"secondary-foreground\":\"0 0% 98%\",muted:\"0 0% 14.9%\",\"muted-foreground\":\"0 0% 63.9%\",accent:\"0 0% 14.9%\",\"accent-foreground\":\"0 0% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"0 0% 98%\",border:\"0 0% 14.9%\",input:\"0 0% 14.9%\",ring:\"0 0% 83.1%\"}}},{name:\"red\",label:\"Red\",activeColor:{light:\"0 72.2% 50.6%\",dark:\"0 72.2% 50.6%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"0 0% 3.9%\",card:\"0 0% 100%\",\"card-foreground\":\"0 0% 3.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"0 0% 3.9%\",primary:\"0 72.2% 50.6%\",\"primary-foreground\":\"0 85.7% 97.3%\",secondary:\"0 0% 96.1%\",\"secondary-foreground\":\"0 0% 9%\",muted:\"0 0% 96.1%\",\"muted-foreground\":\"0 0% 45.1%\",accent:\"0 0% 96.1%\",\"accent-foreground\":\"0 0% 9%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"0 0% 98%\",border:\"0 0% 89.8%\",input:\"0 0% 89.8%\",ring:\"0 72.2% 50.6%\",radius:\"0.4rem\"},dark:{background:\"0 0% 3.9%\",foreground:\"0 0% 98%\",card:\"0 0% 3.9%\",\"card-foreground\":\"0 0% 98%\",popover:\"0 0% 3.9%\",\"popover-foreground\":\"0 0% 98%\",primary:\"0 72.2% 50.6%\",\"primary-foreground\":\"0 85.7% 97.3%\",secondary:\"0 0% 14.9%\",\"secondary-foreground\":\"0 0% 98%\",muted:\"0 0% 14.9%\",\"muted-foreground\":\"0 0% 63.9%\",accent:\"0 0% 14.9%\",\"accent-foreground\":\"0 0% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"0 0% 98%\",border:\"0 0% 14.9%\",input:\"0 0% 14.9%\",ring:\"0 72.2% 50.6%\"}}},{name:\"rose\",label:\"Rose\",activeColor:{light:\"346.8 77.2% 49.8%\",dark:\"346.8 77.2% 49.8%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"240 10% 3.9%\",card:\"0 0% 100%\",\"card-foreground\":\"240 10% 3.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"240 10% 3.9%\",primary:\"346.8 77.2% 49.8%\",\"primary-foreground\":\"355.7 100% 97.3%\",secondary:\"240 4.8% 95.9%\",\"secondary-foreground\":\"240 5.9% 10%\",muted:\"240 4.8% 95.9%\",\"muted-foreground\":\"240 3.8% 46.1%\",accent:\"240 4.8% 95.9%\",\"accent-foreground\":\"240 5.9% 10%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"0 0% 98%\",border:\"240 5.9% 90%\",input:\"240 5.9% 90%\",ring:\"346.8 77.2% 49.8%\",radius:\"0.5rem\"},dark:{background:\"20 14.3% 4.1%\",foreground:\"0 0% 95%\",popover:\"0 0% 9%\",\"popover-foreground\":\"0 0% 95%\",card:\"24 9.8% 10%\",\"card-foreground\":\"0 0% 95%\",primary:\"346.8 77.2% 49.8%\",\"primary-foreground\":\"355.7 100% 97.3%\",secondary:\"240 3.7% 15.9%\",\"secondary-foreground\":\"0 0% 98%\",muted:\"0 0% 15%\",\"muted-foreground\":\"240 5% 64.9%\",accent:\"12 6.5% 15.1%\",\"accent-foreground\":\"0 0% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"0 85.7% 97.3%\",border:\"240 3.7% 15.9%\",input:\"240 3.7% 15.9%\",ring:\"346.8 77.2% 49.8%\"}}},{name:\"orange\",label:\"Orange\",activeColor:{light:\"24.6 95% 53.1%\",dark:\"20.5 90.2% 48.2%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"20 14.3% 4.1%\",card:\"0 0% 100%\",\"card-foreground\":\"20 14.3% 4.1%\",popover:\"0 0% 100%\",\"popover-foreground\":\"20 14.3% 4.1%\",primary:\"24.6 95% 53.1%\",\"primary-foreground\":\"60 9.1% 97.8%\",secondary:\"60 4.8% 95.9%\",\"secondary-foreground\":\"24 9.8% 10%\",muted:\"60 4.8% 95.9%\",\"muted-foreground\":\"25 5.3% 44.7%\",accent:\"60 4.8% 95.9%\",\"accent-foreground\":\"24 9.8% 10%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"60 9.1% 97.8%\",border:\"20 5.9% 90%\",input:\"20 5.9% 90%\",ring:\"24.6 95% 53.1%\",radius:\"0.95rem\"},dark:{background:\"20 14.3% 4.1%\",foreground:\"60 9.1% 97.8%\",card:\"20 14.3% 4.1%\",\"card-foreground\":\"60 9.1% 97.8%\",popover:\"20 14.3% 4.1%\",\"popover-foreground\":\"60 9.1% 97.8%\",primary:\"20.5 90.2% 48.2%\",\"primary-foreground\":\"60 9.1% 97.8%\",secondary:\"12 6.5% 15.1%\",\"secondary-foreground\":\"60 9.1% 97.8%\",muted:\"12 6.5% 15.1%\",\"muted-foreground\":\"24 5.4% 63.9%\",accent:\"12 6.5% 15.1%\",\"accent-foreground\":\"60 9.1% 97.8%\",destructive:\"0 72.2% 50.6%\",\"destructive-foreground\":\"60 9.1% 97.8%\",border:\"12 6.5% 15.1%\",input:\"12 6.5% 15.1%\",ring:\"20.5 90.2% 48.2%\"}}},{name:\"green\",label:\"Green\",activeColor:{light:\"142.1 76.2% 36.3%\",dark:\"142.1 70.6% 45.3%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"240 10% 3.9%\",card:\"0 0% 100%\",\"card-foreground\":\"240 10% 3.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"240 10% 3.9%\",primary:\"142.1 76.2% 36.3%\",\"primary-foreground\":\"355.7 100% 97.3%\",secondary:\"240 4.8% 95.9%\",\"secondary-foreground\":\"240 5.9% 10%\",muted:\"240 4.8% 95.9%\",\"muted-foreground\":\"240 3.8% 46.1%\",accent:\"240 4.8% 95.9%\",\"accent-foreground\":\"240 5.9% 10%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"0 0% 98%\",border:\"240 5.9% 90%\",input:\"240 5.9% 90%\",ring:\"142.1 76.2% 36.3%\"},dark:{background:\"20 14.3% 4.1%\",foreground:\"0 0% 95%\",popover:\"0 0% 9%\",\"popover-foreground\":\"0 0% 95%\",card:\"24 9.8% 10%\",\"card-foreground\":\"0 0% 95%\",primary:\"142.1 70.6% 45.3%\",\"primary-foreground\":\"144.9 80.4% 10%\",secondary:\"240 3.7% 15.9%\",\"secondary-foreground\":\"0 0% 98%\",muted:\"0 0% 15%\",\"muted-foreground\":\"240 5% 64.9%\",accent:\"12 6.5% 15.1%\",\"accent-foreground\":\"0 0% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"0 85.7% 97.3%\",border:\"240 3.7% 15.9%\",input:\"240 3.7% 15.9%\",ring:\"142.4 71.8% 29.2%\"}}},{name:\"blue\",label:\"Blue\",activeColor:{light:\"221.2 83.2% 53.3%\",dark:\"217.2 91.2% 59.8%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"222.2 84% 4.9%\",card:\"0 0% 100%\",\"card-foreground\":\"222.2 84% 4.9%\",popover:\"0 0% 100%\",\"popover-foreground\":\"222.2 84% 4.9%\",primary:\"221.2 83.2% 53.3%\",\"primary-foreground\":\"210 40% 98%\",secondary:\"210 40% 96.1%\",\"secondary-foreground\":\"222.2 47.4% 11.2%\",muted:\"210 40% 96.1%\",\"muted-foreground\":\"215.4 16.3% 46.9%\",accent:\"210 40% 96.1%\",\"accent-foreground\":\"222.2 47.4% 11.2%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"210 40% 98%\",border:\"214.3 31.8% 91.4%\",input:\"214.3 31.8% 91.4%\",ring:\"221.2 83.2% 53.3%\"},dark:{background:\"222.2 84% 4.9%\",foreground:\"210 40% 98%\",card:\"222.2 84% 4.9%\",\"card-foreground\":\"210 40% 98%\",popover:\"222.2 84% 4.9%\",\"popover-foreground\":\"210 40% 98%\",primary:\"217.2 91.2% 59.8%\",\"primary-foreground\":\"222.2 47.4% 11.2%\",secondary:\"217.2 32.6% 17.5%\",\"secondary-foreground\":\"210 40% 98%\",muted:\"217.2 32.6% 17.5%\",\"muted-foreground\":\"215 20.2% 65.1%\",accent:\"217.2 32.6% 17.5%\",\"accent-foreground\":\"210 40% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"210 40% 98%\",border:\"217.2 32.6% 17.5%\",input:\"217.2 32.6% 17.5%\",ring:\"224.3 76.3% 48%\"}}},{name:\"yellow\",label:\"Yellow\",activeColor:{light:\"47.9 95.8% 53.1%\",dark:\"47.9 95.8% 53.1%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"20 14.3% 4.1%\",card:\"0 0% 100%\",\"card-foreground\":\"20 14.3% 4.1%\",popover:\"0 0% 100%\",\"popover-foreground\":\"20 14.3% 4.1%\",primary:\"47.9 95.8% 53.1%\",\"primary-foreground\":\"26 83.3% 14.1%\",secondary:\"60 4.8% 95.9%\",\"secondary-foreground\":\"24 9.8% 10%\",muted:\"60 4.8% 95.9%\",\"muted-foreground\":\"25 5.3% 44.7%\",accent:\"60 4.8% 95.9%\",\"accent-foreground\":\"24 9.8% 10%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"60 9.1% 97.8%\",border:\"20 5.9% 90%\",input:\"20 5.9% 90%\",ring:\"20 14.3% 4.1%\",radius:\"0.95rem\"},dark:{background:\"20 14.3% 4.1%\",foreground:\"60 9.1% 97.8%\",card:\"20 14.3% 4.1%\",\"card-foreground\":\"60 9.1% 97.8%\",popover:\"20 14.3% 4.1%\",\"popover-foreground\":\"60 9.1% 97.8%\",primary:\"47.9 95.8% 53.1%\",\"primary-foreground\":\"26 83.3% 14.1%\",secondary:\"12 6.5% 15.1%\",\"secondary-foreground\":\"60 9.1% 97.8%\",muted:\"12 6.5% 15.1%\",\"muted-foreground\":\"24 5.4% 63.9%\",accent:\"12 6.5% 15.1%\",\"accent-foreground\":\"60 9.1% 97.8%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"60 9.1% 97.8%\",border:\"12 6.5% 15.1%\",input:\"12 6.5% 15.1%\",ring:\"35.5 91.7% 32.9%\"}}},{name:\"violet\",label:\"Violet\",activeColor:{light:\"262.1 83.3% 57.8%\",dark:\"263.4 70% 50.4%\"},cssVars:{light:{background:\"0 0% 100%\",foreground:\"224 71.4% 4.1%\",card:\"0 0% 100%\",\"card-foreground\":\"224 71.4% 4.1%\",popover:\"0 0% 100%\",\"popover-foreground\":\"224 71.4% 4.1%\",primary:\"262.1 83.3% 57.8%\",\"primary-foreground\":\"210 20% 98%\",secondary:\"220 14.3% 95.9%\",\"secondary-foreground\":\"220.9 39.3% 11%\",muted:\"220 14.3% 95.9%\",\"muted-foreground\":\"220 8.9% 46.1%\",accent:\"220 14.3% 95.9%\",\"accent-foreground\":\"220.9 39.3% 11%\",destructive:\"0 84.2% 60.2%\",\"destructive-foreground\":\"210 20% 98%\",border:\"220 13% 91%\",input:\"220 13% 91%\",ring:\"262.1 83.3% 57.8%\"},dark:{background:\"224 71.4% 4.1%\",foreground:\"210 20% 98%\",card:\"224 71.4% 4.1%\",\"card-foreground\":\"210 20% 98%\",popover:\"224 71.4% 4.1%\",\"popover-foreground\":\"210 20% 98%\",primary:\"263.4 70% 50.4%\",\"primary-foreground\":\"210 20% 98%\",secondary:\"215 27.9% 16.9%\",\"secondary-foreground\":\"210 20% 98%\",muted:\"215 27.9% 16.9%\",\"muted-foreground\":\"217.9 10.6% 64.9%\",accent:\"215 27.9% 16.9%\",\"accent-foreground\":\"210 20% 98%\",destructive:\"0 62.8% 30.6%\",\"destructive-foreground\":\"210 20% 98%\",border:\"215 27.9% 16.9%\",input:\"215 27.9% 16.9%\",ring:\"263.4 70% 50.4%\"}}}];/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const xu=e=>e.replace(/([a-z0-9])([A-Z])/g,\"$1-$2\").toLowerCase(),Ma=(...e)=>e.filter((t,r,n)=>!!t&&n.indexOf(t)===r).join(\" \");/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */var wu={xmlns:\"http://www.w3.org/2000/svg\",width:24,height:24,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\"};/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const bu=s.forwardRef(({color:e=\"currentColor\",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a=\"\",children:i,iconNode:l,...c},d)=>s.createElement(\"svg\",{ref:d,...wu,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:Ma(\"lucide\",a),...c},[...l.map(([u,h])=>s.createElement(u,h)),...Array.isArray(i)?i:[i]]));/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const ye=(e,t)=>{const r=s.forwardRef(({className:n,...a},i)=>s.createElement(bu,{ref:i,iconNode:t,className:Ma(`lucide-${xu(e)}`,n),...a}));return r.displayName=`${e}`,r};/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Cu=ye(\"ArrowUp\",[[\"path\",{d:\"m5 12 7-7 7 7\",key:\"hav0vg\"}],[\"path\",{d:\"M12 19V5\",key:\"x0mq9r\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Er=ye(\"Check\",[[\"path\",{d:\"M20 6 9 17l-5-5\",key:\"1gmf2c\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const ka=ye(\"ChevronDown\",[[\"path\",{d:\"m6 9 6 6 6-6\",key:\"qrunsl\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const yu=ye(\"ChevronRight\",[[\"path\",{d:\"m9 18 6-6-6-6\",key:\"mthhwq\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const ju=ye(\"ChevronUp\",[[\"path\",{d:\"m18 15-6-6-6 6\",key:\"153udz\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Su=ye(\"CircleUser\",[[\"circle\",{cx:\"12\",cy:\"12\",r:\"10\",key:\"1mglay\"}],[\"circle\",{cx:\"12\",cy:\"10\",r:\"3\",key:\"ilqhr7\"}],[\"path\",{d:\"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662\",key:\"154egf\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Nu=ye(\"Circle\",[[\"circle\",{cx:\"12\",cy:\"12\",r:\"10\",key:\"1mglay\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const fr=ye(\"Image\",[[\"rect\",{width:\"18\",height:\"18\",x:\"3\",y:\"3\",rx:\"2\",ry:\"2\",key:\"1m3agn\"}],[\"circle\",{cx:\"9\",cy:\"9\",r:\"2\",key:\"af1f0g\"}],[\"path\",{d:\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\",key:\"1xmnt7\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Ru=ye(\"Paintbrush\",[[\"path\",{d:\"M18.37 2.63 14 7l-1.59-1.59a2 2 0 0 0-2.82 0L8 7l9 9 1.59-1.59a2 2 0 0 0 0-2.82L17 10l4.37-4.37a2.12 2.12 0 1 0-3-3Z\",key:\"m6k5sh\"}],[\"path\",{d:\"M9 8c-2 3-4 3.5-7 4l8 10c2-1 6-5 6-7\",key:\"arzq70\"}],[\"path\",{d:\"M14.5 17.5 4.5 15\",key:\"s7fvrz\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Mu=ye(\"RefreshCw\",[[\"path\",{d:\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\",key:\"v9h5vc\"}],[\"path\",{d:\"M21 3v5h-5\",key:\"1q7to0\"}],[\"path\",{d:\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\",key:\"3uifl3\"}],[\"path\",{d:\"M8 16H3v5\",key:\"1cv678\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const ku=ye(\"ThumbsDown\",[[\"path\",{d:\"M17 14V2\",key:\"8ymqnk\"}],[\"path\",{d:\"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z\",key:\"s6e0r\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Eu=ye(\"ThumbsUp\",[[\"path\",{d:\"M7 10v12\",key:\"1qc93n\"}],[\"path\",{d:\"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z\",key:\"y3tblf\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Tu=ye(\"WandSparkles\",[[\"path\",{d:\"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72\",key:\"ul74o6\"}],[\"path\",{d:\"m14 7 3 3\",key:\"1r5n42\"}],[\"path\",{d:\"M5 6v4\",key:\"ilb8ba\"}],[\"path\",{d:\"M19 14v4\",key:\"blhpug\"}],[\"path\",{d:\"M10 2v2\",key:\"7u0qdc\"}],[\"path\",{d:\"M7 8H3\",key:\"zfb6yr\"}],[\"path\",{d:\"M21 16h-4\",key:\"1cnmox\"}],[\"path\",{d:\"M11 3H9\",key:\"1obp7u\"}]]);/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const Iu=ye(\"X\",[[\"path\",{d:\"M18 6 6 18\",key:\"1bl5f8\"}],[\"path\",{d:\"m6 6 12 12\",key:\"d8bk6v\"}]]),Pu=\"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict\";let Fo=(e=21)=>{let t=\"\",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=Pu[r[e]&63];return t};function Ea(e,t){if(typeof document>\"u\")return;const r=document.createElement(\"textarea\");r.value=e,r.setAttribute(\"readonly\",\"\"),r.style={position:\"absolute\",left:\"-9999px\"},document.body.appendChild(r);const n=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):!1;r.select();let a=!1;try{a=!!document.execCommand(\"copy\")}catch{a=!1}document.body.removeChild(r),n&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))}function Tr(e){const t=e+\"CollectionProvider\",[r,n]=_e(t),[a,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=p=>{const{scope:g,children:b}=p,C=nt.useRef(null),y=nt.useRef(new Map).current;return o.jsx(a,{scope:g,itemMap:y,collectionRef:C,children:b})};l.displayName=t;const c=e+\"CollectionSlot\",d=St(c),u=nt.forwardRef((p,g)=>{const{scope:b,children:C}=p,y=i(c,b),w=Q(g,y.collectionRef);return o.jsx(d,{ref:w,children:C})});u.displayName=c;const h=e+\"CollectionItemSlot\",f=\"data-radix-collection-item\",m=St(h),v=nt.forwardRef((p,g)=>{const{scope:b,children:C,...y}=p,w=nt.useRef(null),j=Q(g,w),P=i(h,b);return nt.useEffect(()=>(P.itemMap.set(w,{ref:w,...y}),()=>void P.itemMap.delete(w))),o.jsx(m,{[f]:\"\",ref:j,children:C})});v.displayName=h;function x(p){const g=i(e+\"CollectionConsumer\",p);return nt.useCallback(()=>{const C=g.collectionRef.current;if(!C)return[];const y=Array.from(C.querySelectorAll(`[${f}]`));return Array.from(g.itemMap.values()).sort((P,R)=>y.indexOf(P.ref.current)-y.indexOf(R.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:l,Slot:u,ItemSlot:v},x,n]}var Au=s.createContext(void 0);function Ir(e){const t=s.useContext(Au);return e||t||\"ltr\"}var Qr=0;function Pr(){s.useEffect(()=>{const e=document.querySelectorAll(\"[data-radix-focus-guard]\");return document.body.insertAdjacentElement(\"afterbegin\",e[0]??In()),document.body.insertAdjacentElement(\"beforeend\",e[1]??In()),Qr++,()=>{Qr===1&&document.querySelectorAll(\"[data-radix-focus-guard]\").forEach(t=>t.remove()),Qr--}},[])}function In(){const e=document.createElement(\"span\");return e.setAttribute(\"data-radix-focus-guard\",\"\"),e.tabIndex=0,e.style.outline=\"none\",e.style.opacity=\"0\",e.style.position=\"fixed\",e.style.pointerEvents=\"none\",e}var Xr=\"focusScope.autoFocusOnMount\",Jr=\"focusScope.autoFocusOnUnmount\",Pn={bubbles:!1,cancelable:!0},_u=\"FocusScope\",qt=s.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...l}=e,[c,d]=s.useState(null),u=lt(a),h=lt(i),f=s.useRef(null),m=Q(t,p=>d(p)),v=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(n){let p=function(y){if(v.paused||!c)return;const w=y.target;c.contains(w)?f.current=w:We(f.current,{select:!0})},g=function(y){if(v.paused||!c)return;const w=y.relatedTarget;w!==null&&(c.contains(w)||We(f.current,{select:!0}))},b=function(y){if(document.activeElement===document.body)for(const j of y)j.removedNodes.length>0&&We(c)};document.addEventListener(\"focusin\",p),document.addEventListener(\"focusout\",g);const C=new MutationObserver(b);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(\"focusin\",p),document.removeEventListener(\"focusout\",g),C.disconnect()}}},[n,c,v.paused]),s.useEffect(()=>{if(c){_n.add(v);const p=document.activeElement;if(!c.contains(p)){const b=new CustomEvent(Xr,Pn);c.addEventListener(Xr,u),c.dispatchEvent(b),b.defaultPrevented||(Lu(Hu(Ta(c)),{select:!0}),document.activeElement===p&&We(c))}return()=>{c.removeEventListener(Xr,u),setTimeout(()=>{const b=new CustomEvent(Jr,Pn);c.addEventListener(Jr,h),c.dispatchEvent(b),b.defaultPrevented||We(p??document.body,{select:!0}),c.removeEventListener(Jr,h),_n.remove(v)},0)}}},[c,u,h,v]);const x=s.useCallback(p=>{if(!r&&!n||v.paused)return;const g=p.key===\"Tab\"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(g&&b){const C=p.currentTarget,[y,w]=Du(C);y&&w?!p.shiftKey&&b===w?(p.preventDefault(),r&&We(y,{select:!0})):p.shiftKey&&b===y&&(p.preventDefault(),r&&We(w,{select:!0})):b===C&&p.preventDefault()}},[r,n,v.paused]);return o.jsx(V.div,{tabIndex:-1,...l,ref:m,onKeyDown:x})});qt.displayName=_u;function Lu(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(We(n,{select:t}),document.activeElement!==r)return}function Du(e){const t=Ta(e),r=An(t,e),n=An(t.reverse(),e);return[r,n]}function Ta(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName===\"INPUT\"&&n.type===\"hidden\";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function An(e,t){for(const r of e)if(!Ou(r,{upTo:t}))return r}function Ou(e,{upTo:t}){if(getComputedStyle(e).visibility===\"hidden\")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===\"none\")return!0;e=e.parentElement}return!1}function $u(e){return e instanceof HTMLInputElement&&\"select\"in e}function We(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&$u(e)&&t&&e.select()}}var _n=Fu();function Fu(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Ln(e,t),e.unshift(t)},remove(t){var r;e=Ln(e,t),(r=e[0])==null||r.resume()}}}function Ln(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Hu(e){return e.filter(t=>t.tagName!==\"A\")}var eo=\"rovingFocusGroup.onEntryFocus\",Vu={bubbles:!1,cancelable:!0},Ar=\"RovingFocusGroup\",[xo,Ia,zu]=Tr(Ar),[Bu,Pa]=_e(Ar,[zu]),[Uu,Wu]=Bu(Ar),Aa=s.forwardRef((e,t)=>o.jsx(xo.Provider,{scope:e.__scopeRovingFocusGroup,children:o.jsx(xo.Slot,{scope:e.__scopeRovingFocusGroup,children:o.jsx(Ku,{...e,ref:t})})}));Aa.displayName=Ar;var Ku=s.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:a=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:h=!1,...f}=e,m=s.useRef(null),v=Q(t,m),x=Ir(i),[p=null,g]=Be({prop:l,defaultProp:c,onChange:d}),[b,C]=s.useState(!1),y=lt(u),w=Ia(r),j=s.useRef(!1),[P,R]=s.useState(0);return s.useEffect(()=>{const E=m.current;if(E)return E.addEventListener(eo,y),()=>E.removeEventListener(eo,y)},[y]),o.jsx(Uu,{scope:r,orientation:n,dir:x,loop:a,currentTabStopId:p,onItemFocus:s.useCallback(E=>g(E),[g]),onItemShiftTab:s.useCallback(()=>C(!0),[]),onFocusableItemAdd:s.useCallback(()=>R(E=>E+1),[]),onFocusableItemRemove:s.useCallback(()=>R(E=>E-1),[]),children:o.jsx(V.div,{tabIndex:b||P===0?-1:0,\"data-orientation\":n,...f,ref:v,style:{outline:\"none\",...e.style},onMouseDown:N(e.onMouseDown,()=>{j.current=!0}),onFocus:N(e.onFocus,E=>{const U=!j.current;if(E.target===E.currentTarget&&U&&!b){const _=new CustomEvent(eo,Vu);if(E.currentTarget.dispatchEvent(_),!_.defaultPrevented){const O=w().filter(H=>H.focusable),F=O.find(H=>H.active),Z=O.find(H=>H.id===p),A=[F,Z,...O].filter(Boolean).map(H=>H.ref.current);Da(A,h)}}j.current=!1}),onBlur:N(e.onBlur,()=>C(!1))})})}),_a=\"RovingFocusGroupItem\",La=s.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:a=!1,tabStopId:i,...l}=e,c=Ve(),d=i||c,u=Wu(_a,r),h=u.currentTabStopId===d,f=Ia(r),{onFocusableItemAdd:m,onFocusableItemRemove:v}=u;return s.useEffect(()=>{if(n)return m(),()=>v()},[n,m,v]),o.jsx(xo.ItemSlot,{scope:r,id:d,focusable:n,active:a,children:o.jsx(V.span,{tabIndex:h?0:-1,\"data-orientation\":u.orientation,...l,ref:t,onMouseDown:N(e.onMouseDown,x=>{n?u.onItemFocus(d):x.preventDefault()}),onFocus:N(e.onFocus,()=>u.onItemFocus(d)),onKeyDown:N(e.onKeyDown,x=>{if(x.key===\"Tab\"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const p=qu(x,u.orientation,u.dir);if(p!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let b=f().filter(C=>C.focusable).map(C=>C.ref.current);if(p===\"last\")b.reverse();else if(p===\"prev\"||p===\"next\"){p===\"prev\"&&b.reverse();const C=b.indexOf(x.currentTarget);b=u.loop?Yu(b,C+1):b.slice(C+1)}setTimeout(()=>Da(b))}})})})});La.displayName=_a;var Gu={ArrowLeft:\"prev\",ArrowUp:\"prev\",ArrowRight:\"next\",ArrowDown:\"next\",PageUp:\"first\",Home:\"first\",PageDown:\"last\",End:\"last\"};function Zu(e,t){return t!==\"rtl\"?e:e===\"ArrowLeft\"?\"ArrowRight\":e===\"ArrowRight\"?\"ArrowLeft\":e}function qu(e,t,r){const n=Zu(e.key,r);if(!(t===\"vertical\"&&[\"ArrowLeft\",\"ArrowRight\"].includes(n))&&!(t===\"horizontal\"&&[\"ArrowUp\",\"ArrowDown\"].includes(n)))return Gu[n]}function Da(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function Yu(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Qu=Aa,Xu=La,Ju=function(e){if(typeof document>\"u\")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},gt=new WeakMap,or=new WeakMap,nr={},to=0,Oa=function(e){return e&&(e.host||Oa(e.parentNode))},ef=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Oa(r);return n&&e.contains(n)?n:(console.error(\"aria-hidden\",r,\"in not contained inside\",e,\". Doing nothing\"),null)}).filter(function(r){return!!r})},tf=function(e,t,r,n){var a=ef(t,Array.isArray(e)?e:[e]);nr[r]||(nr[r]=new WeakMap);var i=nr[r],l=[],c=new Set,d=new Set(a),u=function(f){!f||c.has(f)||(c.add(f),u(f.parentNode))};a.forEach(u);var h=function(f){!f||d.has(f)||Array.prototype.forEach.call(f.children,function(m){if(c.has(m))h(m);else try{var v=m.getAttribute(n),x=v!==null&&v!==\"false\",p=(gt.get(m)||0)+1,g=(i.get(m)||0)+1;gt.set(m,p),i.set(m,g),l.push(m),p===1&&x&&or.set(m,!0),g===1&&m.setAttribute(r,\"true\"),x||m.setAttribute(n,\"true\")}catch(b){console.error(\"aria-hidden: cannot operate on \",m,b)}})};return h(t),c.clear(),to++,function(){l.forEach(function(f){var m=gt.get(f)-1,v=i.get(f)-1;gt.set(f,m),i.set(f,v),m||(or.has(f)||f.removeAttribute(n),or.delete(f)),v||f.removeAttribute(r)}),to--,to||(gt=new WeakMap,gt=new WeakMap,or=new WeakMap,nr={})}},_r=function(e,t,r){r===void 0&&(r=\"data-aria-hidden\");var n=Array.from(Array.isArray(e)?e:[e]),a=Ju(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll(\"[aria-live]\"))),tf(n,a,r,\"aria-hidden\")):function(){return null}},wo=[\"Enter\",\" \"],rf=[\"ArrowDown\",\"PageUp\",\"Home\"],$a=[\"ArrowUp\",\"PageDown\",\"End\"],of=[...rf,...$a],nf={ltr:[...wo,\"ArrowRight\"],rtl:[...wo,\"ArrowLeft\"]},af={ltr:[\"ArrowLeft\"],rtl:[\"ArrowRight\"]},Yt=\"Menu\",[Ht,sf,cf]=Tr(Yt),[ft,Fa]=_e(Yt,[cf,Xe,Pa]),Lr=Xe(),Ha=Pa(),[lf,ht]=ft(Yt),[df,Qt]=ft(Yt),Va=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:a,onOpenChange:i,modal:l=!0}=e,c=Lr(t),[d,u]=s.useState(null),h=s.useRef(!1),f=lt(i),m=Ir(a);return s.useEffect(()=>{const v=()=>{h.current=!0,document.addEventListener(\"pointerdown\",x,{capture:!0,once:!0}),document.addEventListener(\"pointermove\",x,{capture:!0,once:!0})},x=()=>h.current=!1;return document.addEventListener(\"keydown\",v,{capture:!0}),()=>{document.removeEventListener(\"keydown\",v,{capture:!0}),document.removeEventListener(\"pointerdown\",x,{capture:!0}),document.removeEventListener(\"pointermove\",x,{capture:!0})}},[]),o.jsx(wr,{...c,children:o.jsx(lf,{scope:t,open:r,onOpenChange:f,content:d,onContentChange:u,children:o.jsx(df,{scope:t,onClose:s.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:h,dir:m,modal:l,children:n})})})};Va.displayName=Yt;var uf=\"MenuAnchor\",Ho=s.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,a=Lr(r);return o.jsx(Ut,{...a,...n,ref:t})});Ho.displayName=uf;var Vo=\"MenuPortal\",[ff,za]=ft(Vo,{forceMount:void 0}),Ba=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:a}=e,i=ht(Vo,t);return o.jsx(ff,{scope:t,forceMount:r,children:o.jsx(Oe,{present:r||i.open,children:o.jsx(Gt,{asChild:!0,container:a,children:n})})})};Ba.displayName=Vo;var Pe=\"MenuContent\",[hf,zo]=ft(Pe),Ua=s.forwardRef((e,t)=>{const r=za(Pe,e.__scopeMenu),{forceMount:n=r.forceMount,...a}=e,i=ht(Pe,e.__scopeMenu),l=Qt(Pe,e.__scopeMenu);return o.jsx(Ht.Provider,{scope:e.__scopeMenu,children:o.jsx(Oe,{present:n||i.open,children:o.jsx(Ht.Slot,{scope:e.__scopeMenu,children:l.modal?o.jsx(pf,{...a,ref:t}):o.jsx(mf,{...a,ref:t})})})})}),pf=s.forwardRef((e,t)=>{const r=ht(Pe,e.__scopeMenu),n=s.useRef(null),a=Q(t,n);return s.useEffect(()=>{const i=n.current;if(i)return _r(i)},[]),o.jsx(Bo,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:N(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),mf=s.forwardRef((e,t)=>{const r=ht(Pe,e.__scopeMenu);return o.jsx(Bo,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),gf=St(\"MenuContent.ScrollLock\"),Bo=s.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:m,onDismiss:v,disableOutsideScroll:x,...p}=e,g=ht(Pe,r),b=Qt(Pe,r),C=Lr(r),y=Ha(r),w=sf(r),[j,P]=s.useState(null),R=s.useRef(null),E=Q(t,R,g.onContentChange),U=s.useRef(0),_=s.useRef(\"\"),O=s.useRef(0),F=s.useRef(null),Z=s.useRef(\"right\"),L=s.useRef(0),A=x?Zt:s.Fragment,H=x?{as:gf,allowPinchZoom:!0}:void 0,W=M=>{var I,K;const se=_.current+M,ae=w().filter(te=>!te.disabled),he=document.activeElement,je=(I=ae.find(te=>te.ref.current===he))==null?void 0:I.textValue,me=ae.map(te=>te.textValue),we=kf(me,se,je),ue=(K=ae.find(te=>te.textValue===we))==null?void 0:K.ref.current;(function te(X){_.current=X,window.clearTimeout(U.current),X!==\"\"&&(U.current=window.setTimeout(()=>te(\"\"),1e3))})(se),ue&&setTimeout(()=>ue.focus())};s.useEffect(()=>()=>window.clearTimeout(U.current),[]),Pr();const z=s.useCallback(M=>{var ae,he;return Z.current===((ae=F.current)==null?void 0:ae.side)&&Tf(M,(he=F.current)==null?void 0:he.area)},[]);return o.jsx(hf,{scope:r,searchRef:_,onItemEnter:s.useCallback(M=>{z(M)&&M.preventDefault()},[z]),onItemLeave:s.useCallback(M=>{var se;z(M)||((se=R.current)==null||se.focus(),P(null))},[z]),onTriggerLeave:s.useCallback(M=>{z(M)&&M.preventDefault()},[z]),pointerGraceTimerRef:O,onPointerGraceIntentChange:s.useCallback(M=>{F.current=M},[]),children:o.jsx(A,{...H,children:o.jsx(qt,{asChild:!0,trapped:a,onMountAutoFocus:N(i,M=>{var se;M.preventDefault(),(se=R.current)==null||se.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:o.jsx(Wt,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:m,onDismiss:v,children:o.jsx(Qu,{asChild:!0,...y,dir:b.dir,orientation:\"vertical\",loop:n,currentTabStopId:j,onCurrentTabStopIdChange:P,onEntryFocus:N(d,M=>{b.isUsingKeyboardRef.current||M.preventDefault()}),preventScrollOnEntryFocus:!0,children:o.jsx(Cr,{role:\"menu\",\"aria-orientation\":\"vertical\",\"data-state\":ss(g.open),\"data-radix-menu-content\":\"\",dir:b.dir,...C,...p,ref:E,style:{outline:\"none\",...p.style},onKeyDown:N(p.onKeyDown,M=>{const ae=M.target.closest(\"[data-radix-menu-content]\")===M.currentTarget,he=M.ctrlKey||M.altKey||M.metaKey,je=M.key.length===1;ae&&(M.key===\"Tab\"&&M.preventDefault(),!he&&je&&W(M.key));const me=R.current;if(M.target!==me||!of.includes(M.key))return;M.preventDefault();const ue=w().filter(I=>!I.disabled).map(I=>I.ref.current);$a.includes(M.key)&&ue.reverse(),Rf(ue)}),onBlur:N(e.onBlur,M=>{M.currentTarget.contains(M.target)||(window.clearTimeout(U.current),_.current=\"\")}),onPointerMove:N(e.onPointerMove,Vt(M=>{const se=M.target,ae=L.current!==M.clientX;if(M.currentTarget.contains(se)&&ae){const he=M.clientX>L.current?\"right\":\"left\";Z.current=he,L.current=M.clientX}}))})})})})})})});Ua.displayName=Pe;var vf=\"MenuGroup\",Uo=s.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return o.jsx(V.div,{role:\"group\",...n,ref:t})});Uo.displayName=vf;var xf=\"MenuLabel\",Wa=s.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return o.jsx(V.div,{...n,ref:t})});Wa.displayName=xf;var hr=\"MenuItem\",Dn=\"menu.itemSelect\",Dr=s.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...a}=e,i=s.useRef(null),l=Qt(hr,e.__scopeMenu),c=zo(hr,e.__scopeMenu),d=Q(t,i),u=s.useRef(!1),h=()=>{const f=i.current;if(!r&&f){const m=new CustomEvent(Dn,{bubbles:!0,cancelable:!0});f.addEventListener(Dn,v=>n==null?void 0:n(v),{once:!0}),tl(f,m),m.defaultPrevented?u.current=!1:l.onClose()}};return o.jsx(Ka,{...a,ref:d,disabled:r,onClick:N(e.onClick,h),onPointerDown:f=>{var m;(m=e.onPointerDown)==null||m.call(e,f),u.current=!0},onPointerUp:N(e.onPointerUp,f=>{var m;u.current||(m=f.currentTarget)==null||m.click()}),onKeyDown:N(e.onKeyDown,f=>{const m=c.searchRef.current!==\"\";r||m&&f.key===\" \"||wo.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});Dr.displayName=hr;var Ka=s.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:a,...i}=e,l=zo(hr,r),c=Ha(r),d=s.useRef(null),u=Q(t,d),[h,f]=s.useState(!1),[m,v]=s.useState(\"\");return s.useEffect(()=>{const x=d.current;x&&v((x.textContent??\"\").trim())},[i.children]),o.jsx(Ht.ItemSlot,{scope:r,disabled:n,textValue:a??m,children:o.jsx(Xu,{asChild:!0,...c,focusable:!n,children:o.jsx(V.div,{role:\"menuitem\",\"data-highlighted\":h?\"\":void 0,\"aria-disabled\":n||void 0,\"data-disabled\":n?\"\":void 0,...i,ref:u,onPointerMove:N(e.onPointerMove,Vt(x=>{n?l.onItemLeave(x):(l.onItemEnter(x),x.defaultPrevented||x.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:N(e.onPointerLeave,Vt(x=>l.onItemLeave(x))),onFocus:N(e.onFocus,()=>f(!0)),onBlur:N(e.onBlur,()=>f(!1))})})})}),wf=\"MenuCheckboxItem\",Ga=s.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...a}=e;return o.jsx(Xa,{scope:e.__scopeMenu,checked:r,children:o.jsx(Dr,{role:\"menuitemcheckbox\",\"aria-checked\":pr(r)?\"mixed\":r,...a,ref:t,\"data-state\":Ko(r),onSelect:N(a.onSelect,()=>n==null?void 0:n(pr(r)?!0:!r),{checkForDefaultPrevented:!1})})})});Ga.displayName=wf;var Za=\"MenuRadioGroup\",[bf,Cf]=ft(Za,{value:void 0,onValueChange:()=>{}}),qa=s.forwardRef((e,t)=>{const{value:r,onValueChange:n,...a}=e,i=lt(n);return o.jsx(bf,{scope:e.__scopeMenu,value:r,onValueChange:i,children:o.jsx(Uo,{...a,ref:t})})});qa.displayName=Za;var Ya=\"MenuRadioItem\",Qa=s.forwardRef((e,t)=>{const{value:r,...n}=e,a=Cf(Ya,e.__scopeMenu),i=r===a.value;return o.jsx(Xa,{scope:e.__scopeMenu,checked:i,children:o.jsx(Dr,{role:\"menuitemradio\",\"aria-checked\":i,...n,ref:t,\"data-state\":Ko(i),onSelect:N(n.onSelect,()=>{var l;return(l=a.onValueChange)==null?void 0:l.call(a,r)},{checkForDefaultPrevented:!1})})})});Qa.displayName=Ya;var Wo=\"MenuItemIndicator\",[Xa,yf]=ft(Wo,{checked:!1}),Ja=s.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...a}=e,i=yf(Wo,r);return o.jsx(Oe,{present:n||pr(i.checked)||i.checked===!0,children:o.jsx(V.span,{...a,ref:t,\"data-state\":Ko(i.checked)})})});Ja.displayName=Wo;var jf=\"MenuSeparator\",es=s.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return o.jsx(V.div,{role:\"separator\",\"aria-orientation\":\"horizontal\",...n,ref:t})});es.displayName=jf;var Sf=\"MenuArrow\",ts=s.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,a=Lr(r);return o.jsx(br,{...a,...n,ref:t})});ts.displayName=Sf;var Nf=\"MenuSub\",[Rh,rs]=ft(Nf),Ot=\"MenuSubTrigger\",os=s.forwardRef((e,t)=>{const r=ht(Ot,e.__scopeMenu),n=Qt(Ot,e.__scopeMenu),a=rs(Ot,e.__scopeMenu),i=zo(Ot,e.__scopeMenu),l=s.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=i,u={__scopeMenu:e.__scopeMenu},h=s.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return s.useEffect(()=>h,[h]),s.useEffect(()=>{const f=c.current;return()=>{window.clearTimeout(f),d(null)}},[c,d]),o.jsx(Ho,{asChild:!0,...u,children:o.jsx(Ka,{id:a.triggerId,\"aria-haspopup\":\"menu\",\"aria-expanded\":r.open,\"aria-controls\":a.contentId,\"data-state\":ss(r.open),...e,ref:Bn(t,a.onTriggerChange),onClick:f=>{var m;(m=e.onClick)==null||m.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:N(e.onPointerMove,Vt(f=>{i.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!r.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{r.onOpenChange(!0),h()},100))})),onPointerLeave:N(e.onPointerLeave,Vt(f=>{var v,x;h();const m=(v=r.content)==null?void 0:v.getBoundingClientRect();if(m){const p=(x=r.content)==null?void 0:x.dataset.side,g=p===\"right\",b=g?-5:5,C=m[g?\"left\":\"right\"],y=m[g?\"right\":\"left\"];i.onPointerGraceIntentChange({area:[{x:f.clientX+b,y:f.clientY},{x:C,y:m.top},{x:y,y:m.top},{x:y,y:m.bottom},{x:C,y:m.bottom}],side:p}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(f),f.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:N(e.onKeyDown,f=>{var v;const m=i.searchRef.current!==\"\";e.disabled||m&&f.key===\" \"||nf[n.dir].includes(f.key)&&(r.onOpenChange(!0),(v=r.content)==null||v.focus(),f.preventDefault())})})})});os.displayName=Ot;var ns=\"MenuSubContent\",as=s.forwardRef((e,t)=>{const r=za(Pe,e.__scopeMenu),{forceMount:n=r.forceMount,...a}=e,i=ht(Pe,e.__scopeMenu),l=Qt(Pe,e.__scopeMenu),c=rs(ns,e.__scopeMenu),d=s.useRef(null),u=Q(t,d);return o.jsx(Ht.Provider,{scope:e.__scopeMenu,children:o.jsx(Oe,{present:n||i.open,children:o.jsx(Ht.Slot,{scope:e.__scopeMenu,children:o.jsx(Bo,{id:c.contentId,\"aria-labelledby\":c.triggerId,...a,ref:u,align:\"start\",side:l.dir===\"rtl\"?\"left\":\"right\",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:h=>{var f;l.isUsingKeyboardRef.current&&((f=d.current)==null||f.focus()),h.preventDefault()},onCloseAutoFocus:h=>h.preventDefault(),onFocusOutside:N(e.onFocusOutside,h=>{h.target!==c.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:N(e.onEscapeKeyDown,h=>{l.onClose(),h.preventDefault()}),onKeyDown:N(e.onKeyDown,h=>{var v;const f=h.currentTarget.contains(h.target),m=af[l.dir].includes(h.key);f&&m&&(i.onOpenChange(!1),(v=c.trigger)==null||v.focus(),h.preventDefault())})})})})})});as.displayName=ns;function ss(e){return e?\"open\":\"closed\"}function pr(e){return e===\"indeterminate\"}function Ko(e){return pr(e)?\"indeterminate\":e?\"checked\":\"unchecked\"}function Rf(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function Mf(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function kf(e,t,r){const a=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let l=Mf(e,Math.max(i,0));a.length===1&&(l=l.filter(u=>u!==r));const d=l.find(u=>u.toLowerCase().startsWith(a.toLowerCase()));return d!==r?d:void 0}function Ef(e,t){const{x:r,y:n}=e;let a=!1;for(let i=0,l=t.length-1;i<t.length;l=i++){const c=t[i].x,d=t[i].y,u=t[l].x,h=t[l].y;d>n!=h>n&&r<(u-c)*(n-d)/(h-d)+c&&(a=!a)}return a}function Tf(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return Ef(r,t)}function Vt(e){return t=>t.pointerType===\"mouse\"?e(t):void 0}var If=Va,Pf=Ho,Af=Ba,_f=Ua,Lf=Uo,Df=Wa,Of=Dr,$f=Ga,Ff=qa,Hf=Qa,Vf=Ja,zf=es,Bf=ts,Uf=os,Wf=as,Go=\"DropdownMenu\",[Kf,Mh]=_e(Go,[Fa]),xe=Fa(),[Gf,is]=Kf(Go),cs=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:a,defaultOpen:i,onOpenChange:l,modal:c=!0}=e,d=xe(t),u=s.useRef(null),[h=!1,f]=Be({prop:a,defaultProp:i,onChange:l});return o.jsx(Gf,{scope:t,triggerId:Ve(),triggerRef:u,contentId:Ve(),open:h,onOpenChange:f,onOpenToggle:s.useCallback(()=>f(m=>!m),[f]),modal:c,children:o.jsx(If,{...d,open:h,onOpenChange:f,dir:n,modal:c,children:r})})};cs.displayName=Go;var ls=\"DropdownMenuTrigger\",ds=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...a}=e,i=is(ls,r),l=xe(r);return o.jsx(Pf,{asChild:!0,...l,children:o.jsx(V.button,{type:\"button\",id:i.triggerId,\"aria-haspopup\":\"menu\",\"aria-expanded\":i.open,\"aria-controls\":i.open?i.contentId:void 0,\"data-state\":i.open?\"open\":\"closed\",\"data-disabled\":n?\"\":void 0,disabled:n,...a,ref:Bn(t,i.triggerRef),onPointerDown:N(e.onPointerDown,c=>{!n&&c.button===0&&c.ctrlKey===!1&&(i.onOpenToggle(),i.open||c.preventDefault())}),onKeyDown:N(e.onKeyDown,c=>{n||([\"Enter\",\" \"].includes(c.key)&&i.onOpenToggle(),c.key===\"ArrowDown\"&&i.onOpenChange(!0),[\"Enter\",\" \",\"ArrowDown\"].includes(c.key)&&c.preventDefault())})})})});ds.displayName=ls;var Zf=\"DropdownMenuPortal\",us=e=>{const{__scopeDropdownMenu:t,...r}=e,n=xe(t);return o.jsx(Af,{...n,...r})};us.displayName=Zf;var fs=\"DropdownMenuContent\",hs=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=is(fs,r),i=xe(r),l=s.useRef(!1);return o.jsx(_f,{id:a.contentId,\"aria-labelledby\":a.triggerId,...i,...n,ref:t,onCloseAutoFocus:N(e.onCloseAutoFocus,c=>{var d;l.current||(d=a.triggerRef.current)==null||d.focus(),l.current=!1,c.preventDefault()}),onInteractOutside:N(e.onInteractOutside,c=>{const d=c.detail.originalEvent,u=d.button===0&&d.ctrlKey===!0,h=d.button===2||u;(!a.modal||h)&&(l.current=!0)}),style:{...e.style,\"--radix-dropdown-menu-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-dropdown-menu-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-dropdown-menu-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-dropdown-menu-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-dropdown-menu-trigger-height\":\"var(--radix-popper-anchor-height)\"}})});hs.displayName=fs;var qf=\"DropdownMenuGroup\",Yf=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Lf,{...a,...n,ref:t})});Yf.displayName=qf;var Qf=\"DropdownMenuLabel\",ps=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Df,{...a,...n,ref:t})});ps.displayName=Qf;var Xf=\"DropdownMenuItem\",ms=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Of,{...a,...n,ref:t})});ms.displayName=Xf;var Jf=\"DropdownMenuCheckboxItem\",gs=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx($f,{...a,...n,ref:t})});gs.displayName=Jf;var e1=\"DropdownMenuRadioGroup\",t1=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Ff,{...a,...n,ref:t})});t1.displayName=e1;var r1=\"DropdownMenuRadioItem\",vs=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Hf,{...a,...n,ref:t})});vs.displayName=r1;var o1=\"DropdownMenuItemIndicator\",xs=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Vf,{...a,...n,ref:t})});xs.displayName=o1;var n1=\"DropdownMenuSeparator\",ws=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(zf,{...a,...n,ref:t})});ws.displayName=n1;var a1=\"DropdownMenuArrow\",s1=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Bf,{...a,...n,ref:t})});s1.displayName=a1;var i1=\"DropdownMenuSubTrigger\",bs=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Uf,{...a,...n,ref:t})});bs.displayName=i1;var c1=\"DropdownMenuSubContent\",Cs=s.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=xe(r);return o.jsx(Wf,{...a,...n,ref:t,style:{...e.style,\"--radix-dropdown-menu-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-dropdown-menu-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-dropdown-menu-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-dropdown-menu-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-dropdown-menu-trigger-height\":\"var(--radix-popper-anchor-height)\"}})});Cs.displayName=c1;var l1=cs,d1=ds,u1=us,ys=hs,js=ps,Ss=ms,Ns=gs,Rs=vs,Ms=xs,ks=ws,Es=bs,Ts=Cs;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Is=l1,Ps=d1,f1=s.forwardRef(({className:e,inset:t,children:r,...n},a)=>o.jsxs(Es,{ref:a,className:k(\"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent\",t&&\"pl-8\",e),...n,children:[r,o.jsx(yu,{className:\"ml-auto h-4 w-4\"})]}));f1.displayName=Es.displayName;const h1=s.forwardRef(({className:e,...t},r)=>o.jsx(Ts,{ref:r,className:k(\"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",e),...t}));h1.displayName=Ts.displayName;const Zo=s.forwardRef(({className:e,sideOffset:t=4,...r},n)=>o.jsx(u1,{children:o.jsx(ys,{ref:n,sideOffset:t,className:k(\"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",e),...r})}));Zo.displayName=ys.displayName;const mr=s.forwardRef(({className:e,inset:t,...r},n)=>o.jsx(Ss,{ref:n,className:k(\"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",t&&\"pl-8\",e),...r}));mr.displayName=Ss.displayName;const p1=s.forwardRef(({className:e,children:t,checked:r,...n},a)=>o.jsxs(Ns,{ref:a,className:k(\"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",e),checked:r,...n,children:[o.jsx(\"span\",{className:\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\",children:o.jsx(Ms,{children:o.jsx(Er,{className:\"h-4 w-4\"})})}),t]}));p1.displayName=Ns.displayName;const m1=s.forwardRef(({className:e,children:t,...r},n)=>o.jsxs(Rs,{ref:n,className:k(\"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",e),...r,children:[o.jsx(\"span\",{className:\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\",children:o.jsx(Ms,{children:o.jsx(Nu,{className:\"h-2 w-2 fill-current\"})})}),t]}));m1.displayName=Rs.displayName;const As=s.forwardRef(({className:e,inset:t,...r},n)=>o.jsx(js,{ref:n,className:k(\"px-2 py-1.5 text-sm font-semibold\",t&&\"pl-8\",e),...r}));As.displayName=js.displayName;const _s=s.forwardRef(({className:e,...t},r)=>o.jsx(ks,{ref:r,className:k(\"-mx-1 my-1 h-px bg-muted\",e),...t}));_s.displayName=ks.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const g1=s.lazy(async()=>ol(()=>import(\"./CodeEditor-B9qhAAku.js\").then(e=>e.C),__vite__mapDeps([0,1,2,3])));function v1(e,t){const r=new RegExp(Object.keys(t).join(\"|\"),\"g\");return e.replace(r,n=>t[n.toLowerCase()])}function x1(e){return`export default function Widget() {\n    return (\n${v1(e,{\"class=\":\"className=\",\"for=\":\"htmlFor=\",\"-rule\":\"Rule\",\"stroke-l\":\"strokeL\",\"stroke-w\":\"strokeW\",\"<!--\":\"{/*\",\"-->\":\"*/}\",tabindex:\"tabIndex\",colspan:\"colSpan:\",rowspan:\"rowSpan:\",\"aria-*\":\"aria-*\",\"data-*\":\"data-*\",onclick:\"onClick\",onchange:\"onChange\",onblur:\"onBlur\"}).split(`\n`).map(n=>`        ${n}`).join(`\n`)}\n    )\n}`}function w1(e){return e.replaceAll(/```(.*)\\n?/g,\"\")}function b1({id:e,code:t}){const r=ne(Te({id:e})),n=ne(yr),a=De.find(m=>m.name===n),[i,l]=ee(Wn),[c,d]=ee(Kn),[u,h]=s.useState(t);s.useEffect(()=>{var m;h(i===\"jsx\"?x1(t):i===\"html\"?t:w1(((m=r.components)==null?void 0:m[i])??\"Loading...\"))},[i,t,r.components]),s.useEffect(()=>{c&&l(c)},[c,l]);const f=[\"html\"];return r.components?f.push(...Object.keys(r.components)):f.push(\"jsx\"),o.jsx(\"div\",{className:\"code-syntax-wrapper\",children:o.jsxs(\"div\",{className:\"code-syntax relative rounded-lg border\",children:[o.jsxs(\"div\",{className:\"grid w-full grid-cols-4 rounded-t-md border-b\",children:[o.jsxs(\"ul\",{className:\"z-10 col-span-3 flex max-h-9 w-full overflow-x-auto overflow-y-hidden rounded-tl-lg bg-background text-center text-sm font-medium text-gray-500 dark:text-gray-400\",children:[f.map((m,v)=>o.jsx(\"li\",{children:o.jsx(\"button\",{type:\"button\",onClick:()=>l(m),className:k(\"inline-block w-full whitespace-nowrap border-r p-2 px-3 text-secondary-foreground\",m===i?\"bg-background\":\"bg-secondary hover:bg-background\",v===0&&\"rounded-tl-lg\"),children:m.toUpperCase()})},m)),o.jsx(\"li\",{children:o.jsxs(Is,{children:[o.jsx(Ps,{asChild:!0,children:o.jsx(\"button\",{type:\"button\",\"aria-label\":\"Convert HTML to a framework\",className:\"inline-block w-full border-r bg-secondary p-[10px] text-secondary-foreground hover:bg-background\",children:o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(Qd,{})}),o.jsx(Ee,{side:\"bottom\",children:\"Convert HTML to a framework\"})]})})}),o.jsxs(Zo,{side:\"top\",children:[o.jsx(As,{children:\"Convert to\"}),o.jsx(_s,{}),rl.map(m=>o.jsx(mr,{onClick:()=>{d(m)},children:m.toLocaleUpperCase()},m))]})]})},\"new\")]}),o.jsx(\"div\",{className:\"flex justify-end\",children:o.jsxs(\"button\",{type:\"button\",onClick:()=>Ea(Un(u,i,a??De[0])),className:\"flex items-center border-l px-3 text-sm text-secondary-foreground hover:bg-background\",children:[o.jsxs(\"svg\",{className:\"mr-2 h-3.5 w-3.5\",\"aria-hidden\":\"true\",xmlns:\"http://www.w3.org/2000/svg\",fill:\"currentColor\",viewBox:\"0 0 18 20\",children:[o.jsx(\"path\",{d:\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"}),o.jsx(\"path\",{d:\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"})]}),\" \",o.jsx(\"span\",{className:\"copy-text\",children:\"Copy\"})]})})]}),o.jsx(\"div\",{className:\"relative rounded-b-lg bg-zinc-900\",children:o.jsx(\"div\",{className:\"h-[calc(100vh-354px)] max-w-[78vw] pb-8 text-sm\",tabIndex:-1,children:o.jsx(s.Suspense,{fallback:o.jsx(ga,{isLoading:!0}),children:t?o.jsx(g1,{code:u,framework:i}):void 0})})})]})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class C1{constructor(){er(this,\"events\");er(this,\"buffers\");this.events={},this.buffers={}}on(t,r){var n;if(this.events[t]||(this.events[t]=[]),this.buffers[t]){for(const a of this.buffers[t]??[])r(a);this.buffers[t]=void 0}(n=this.events[t])==null||n.push(r)}off(t,r){var n;this.events[t]&&(this.events[t]=(n=this.events[t])==null?void 0:n.filter(a=>a!==r))}emit(t,r){var n;if(!this.events[t]){this.buffers[t]||(this.buffers[t]=[]),(n=this.buffers[t])==null||n.push(r);return}for(const a of this.events[t]??[])a(r)}}const $t=new C1;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qo=s.createContext($t),y1=({children:e})=>{const{id:t}=Je(),[r,n]=ee(Te({id:t??\"new\"})),a=s.useMemo(()=>new Mt(r,n),[r,n]),[i]=kt(a),[l,c]=ee(Et),d=Gn(l.editedHTML||l.pureHTML||\"\",1e3);return s.useEffect(()=>{if(a.markdown){const h={pureHTML:a.pureHTML(i)??\"\",error:void 0,prompt:a.prompt(i)??\"\"};h.pureHTML===\"\"&&(h.error=`No HTML in LLM response, received: \n${a.markdown}`),c({...so,...h})}else t===\"new\"&&c(so)},[t,i,c]),s.useEffect(()=>{d&&pn(d,!l.rendering).then(u=>{c(h=>({...h,renderedHTML:u})),$t.emit(`html-updated:${t}`,u)}).catch(u=>{console.error(\"HTML Parse error\",u)})},[d,l.rendering,c]),s.useEffect(()=>{const u=h=>{const f=h;f.annotatedHTML?pn(f.annotatedHTML,!1).then(m=>{c(v=>({...v,annotatedHTML:m.html}))}).catch(m=>{console.error(\"HTML Parse error\",m)}):c(m=>({...m,...f}))};return $t.on(\"ui-state\",u),()=>{$t.off(\"ui-state\",u)}},[c]),o.jsx(qo.Provider,{value:$t,children:e})};function Or(e){const t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Yo=\"Checkbox\",[j1,kh]=_e(Yo),[S1,N1]=j1(Yo),Ls=s.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:a,defaultChecked:i,required:l,disabled:c,value:d=\"on\",onCheckedChange:u,form:h,...f}=e,[m,v]=s.useState(null),x=Q(t,w=>v(w)),p=s.useRef(!1),g=m?h||!!m.closest(\"form\"):!0,[b=!1,C]=Be({prop:a,defaultProp:i,onChange:u}),y=s.useRef(b);return s.useEffect(()=>{const w=m==null?void 0:m.form;if(w){const j=()=>C(y.current);return w.addEventListener(\"reset\",j),()=>w.removeEventListener(\"reset\",j)}},[m,C]),o.jsxs(S1,{scope:r,state:b,disabled:c,children:[o.jsx(V.button,{type:\"button\",role:\"checkbox\",\"aria-checked\":Qe(b)?\"mixed\":b,\"aria-required\":l,\"data-state\":$s(b),\"data-disabled\":c?\"\":void 0,disabled:c,value:d,...f,ref:x,onKeyDown:N(e.onKeyDown,w=>{w.key===\"Enter\"&&w.preventDefault()}),onClick:N(e.onClick,w=>{C(j=>Qe(j)?!0:!j),g&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),g&&o.jsx(R1,{control:m,bubbles:!p.current,name:n,value:d,checked:b,required:l,disabled:c,form:h,style:{transform:\"translateX(-100%)\"},defaultChecked:Qe(i)?!1:i})]})});Ls.displayName=Yo;var Ds=\"CheckboxIndicator\",Os=s.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...a}=e,i=N1(Ds,r);return o.jsx(Oe,{present:n||Qe(i.state)||i.state===!0,children:o.jsx(V.span,{\"data-state\":$s(i.state),\"data-disabled\":i.disabled?\"\":void 0,...a,ref:t,style:{pointerEvents:\"none\",...e.style}})})});Os.displayName=Ds;var R1=e=>{const{control:t,checked:r,bubbles:n=!0,defaultChecked:a,...i}=e,l=s.useRef(null),c=Or(r),d=To(t);s.useEffect(()=>{const h=l.current,f=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(f,\"checked\").set;if(c!==r&&v){const x=new Event(\"click\",{bubbles:n});h.indeterminate=Qe(r),v.call(h,Qe(r)?!1:r),h.dispatchEvent(x)}},[c,r,n]);const u=s.useRef(Qe(r)?!1:r);return o.jsx(\"input\",{type:\"checkbox\",\"aria-hidden\":!0,defaultChecked:a??u.current,...i,tabIndex:-1,ref:l,style:{...e.style,...d,position:\"absolute\",pointerEvents:\"none\",opacity:0,margin:0}})};function Qe(e){return e===\"indeterminate\"}function $s(e){return Qe(e)?\"indeterminate\":e?\"checked\":\"unchecked\"}var Fs=Ls,M1=Os;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Hs=s.forwardRef(({className:e,...t},r)=>o.jsx(Fs,{ref:r,className:k(\"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground\",e),...t,children:o.jsx(M1,{className:k(\"flex items-center justify-center text-current\"),children:o.jsx(Er,{className:\"h-4 w-4\"})})}));Hs.displayName=Fs.displayName;var k1=\"Label\",Vs=s.forwardRef((e,t)=>o.jsx(V.label,{...e,ref:t,onMouseDown:r=>{var a;r.target.closest(\"button, input, select, textarea\")||((a=e.onMouseDown)==null||a.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Vs.displayName=k1;var zs=Vs;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const E1=ma(\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"),Ke=s.forwardRef(({className:e,...t},r)=>o.jsx(zs,{ref:r,className:k(E1(),e),...t}));Ke.displayName=zs.displayName;var Qo=\"Popover\",[Bs,Eh]=_e(Qo,[Xe]),Xt=Xe(),[T1,et]=Bs(Qo),Us=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,c=Xt(t),d=s.useRef(null),[u,h]=s.useState(!1),[f=!1,m]=Be({prop:n,defaultProp:a,onChange:i});return o.jsx(wr,{...c,children:o.jsx(T1,{scope:t,contentId:Ve(),triggerRef:d,open:f,onOpenChange:m,onOpenToggle:s.useCallback(()=>m(v=>!v),[m]),hasCustomAnchor:u,onCustomAnchorAdd:s.useCallback(()=>h(!0),[]),onCustomAnchorRemove:s.useCallback(()=>h(!1),[]),modal:l,children:r})})};Us.displayName=Qo;var Ws=\"PopoverAnchor\",I1=s.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=et(Ws,r),i=Xt(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=a;return s.useEffect(()=>(l(),()=>c()),[l,c]),o.jsx(Ut,{...i,...n,ref:t})});I1.displayName=Ws;var Ks=\"PopoverTrigger\",Gs=s.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=et(Ks,r),i=Xt(r),l=Q(t,a.triggerRef),c=o.jsx(V.button,{type:\"button\",\"aria-haspopup\":\"dialog\",\"aria-expanded\":a.open,\"aria-controls\":a.contentId,\"data-state\":Js(a.open),...n,ref:l,onClick:N(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?c:o.jsx(Ut,{asChild:!0,...i,children:c})});Gs.displayName=Ks;var Xo=\"PopoverPortal\",[P1,A1]=Bs(Xo,{forceMount:void 0}),Zs=e=>{const{__scopePopover:t,forceMount:r,children:n,container:a}=e,i=et(Xo,t);return o.jsx(P1,{scope:t,forceMount:r,children:o.jsx(Oe,{present:r||i.open,children:o.jsx(Gt,{asChild:!0,container:a,children:n})})})};Zs.displayName=Xo;var Nt=\"PopoverContent\",qs=s.forwardRef((e,t)=>{const r=A1(Nt,e.__scopePopover),{forceMount:n=r.forceMount,...a}=e,i=et(Nt,e.__scopePopover);return o.jsx(Oe,{present:n||i.open,children:i.modal?o.jsx(L1,{...a,ref:t}):o.jsx(D1,{...a,ref:t})})});qs.displayName=Nt;var _1=St(\"PopoverContent.RemoveScroll\"),L1=s.forwardRef((e,t)=>{const r=et(Nt,e.__scopePopover),n=s.useRef(null),a=Q(t,n),i=s.useRef(!1);return s.useEffect(()=>{const l=n.current;if(l)return _r(l)},[]),o.jsx(Zt,{as:_1,allowPinchZoom:!0,children:o.jsx(Ys,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:N(e.onCloseAutoFocus,l=>{var c;l.preventDefault(),i.current||(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:N(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0,u=c.button===2||d;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:N(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),D1=s.forwardRef((e,t)=>{const r=et(Nt,e.__scopePopover),n=s.useRef(!1),a=s.useRef(!1);return o.jsx(Ys,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,i),i.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),i.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:i=>{var d,u;(d=e.onInteractOutside)==null||d.call(e,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type===\"pointerdown\"&&(a.current=!0));const l=i.target;((u=r.triggerRef.current)==null?void 0:u.contains(l))&&i.preventDefault(),i.detail.originalEvent.type===\"focusin\"&&a.current&&i.preventDefault()}})}),Ys=s.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:u,onInteractOutside:h,...f}=e,m=et(Nt,r),v=Xt(r);return Pr(),o.jsx(qt,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:o.jsx(Wt,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:h,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:u,onDismiss:()=>m.onOpenChange(!1),children:o.jsx(Cr,{\"data-state\":Js(m.open),role:\"dialog\",id:m.contentId,...v,...f,ref:t,style:{...f.style,\"--radix-popover-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-popover-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-popover-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-popover-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-popover-trigger-height\":\"var(--radix-popper-anchor-height)\"}})})})}),Qs=\"PopoverClose\",O1=s.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=et(Qs,r);return o.jsx(V.button,{type:\"button\",...n,ref:t,onClick:N(e.onClick,()=>a.onOpenChange(!1))})});O1.displayName=Qs;var $1=\"PopoverArrow\",Xs=s.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=Xt(r);return o.jsx(br,{...a,...n,ref:t})});Xs.displayName=$1;function Js(e){return e?\"open\":\"closed\"}var F1=Us,H1=Gs,V1=Zs,ei=qs,ti=Xs;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const On=F1,$n=H1,z1=s.forwardRef(({className:e,...t},r)=>o.jsx(ti,{ref:r,className:k(\"fill-background\",e),style:{clipPath:\"inset(0 -10px -10px -10px)\",filter:\"drop-shadow(0 0 3px gray)\",bottom:\"1px\"},...t}));z1.displayName=ti.displayName;const bo=s.forwardRef(({className:e,align:t=\"center\",sideOffset:r=4,...n},a)=>o.jsx(V1,{children:o.jsx(ei,{ref:a,align:t,sideOffset:r,className:k(\"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",e),...n})}));bo.displayName=ei.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function B1(e){const t=\"    \";let r=\"\",n=\"\";for(const a of e.split(/>\\s*</))/^\\/\\w/.test(a)&&(n=n.slice(t.length)),r+=`${n}<${a}>\n`,/^<?\\w[^>]*[^/]$/.test(a)&&!a.startsWith(\"input\")&&(n+=t);return r.slice(1,-2)}function U1({error:e,id:t}){const r=s.useContext(qo),n=/127\\.0\\.0\\.1|localhost/.test(document.location.hostname)?`http://${document.location.hostname}:${document.location.port===\"5173\"?\"7878\":document.location.port}`:\"https://wandb.github.io\",a=s.useRef(null),i=s.useRef(null),l=s.useMemo(()=>Fo(8),[]),c=Io(),[d,u]=ee(Te({id:t})),h=s.useMemo(()=>new Mt(d,u,c),[d,u,c]),[f]=kt(h),m=Kt(),[v,x]=ee(Zn),[p,g]=ee(qn),b=ne(Po),[C,y]=ee(Yn),w=ze(Ue),j=ne(Et),[P,R]=ee(yr),E=ne(jr),[U,_]=ee(Ye.item(`screenshot-${t}-${f}`)),O=j.rendering,[F,Z]=s.useState(!1),[L,A]=s.useState(!1),[H,W]=s.useState(!1),[z,M]=s.useState(b),[se,ae]=s.useState(\"\"),[he,je]=s.useState(!1),[me,we]=s.useState(),[ue,I]=s.useState(),K=me??ue??\"desktop\",[te,X]=s.useState(!1),[q,Y]=s.useState(1);s.useLayoutEffect(()=>{b===\"system\"&&(window.matchMedia(\"(prefers-color-scheme: dark)\").matches?M(\"dark\"):M(\"light\"))},[b]),s.useEffect(()=>{var T,$;if(F){const le=De.find(ie=>ie.name===P)??De[0];($=(T=a.current)==null?void 0:T.contentWindow)==null||$.postMessage({action:\"theme\",theme:le},\"*\")}},[P,F,z]);const Ie=s.useCallback(T=>{g($=>{const le=$.filter(ie=>Tn.includes(ie));return le.includes(T)?le.filter(ie=>ie!==T):[...le,T]})},[g]);s.useEffect(()=>{function T(){var $,le;(le=($=a.current)==null?void 0:$.contentWindow)==null||le.postMessage({action:\"reset\"},\"*\")}return r.on(\"iframe-reset\",T),()=>{r.off(\"iframe-reset\",T)}},[r]),s.useEffect(()=>{var T,$;($=(T=a.current)==null?void 0:T.contentWindow)==null||$.postMessage({action:\"reset\"},\"*\")},[t]),s.useEffect(()=>{if(a.current){const T=new ResizeObserver(le=>{var Pt;const ie=((Pt=i.current)==null?void 0:Pt.clientWidth)??768;switch(K){case\"desktop\":{ie>768?Y(1):Y(ie/768);break}case\"tablet\":{Y(1);break}case\"mobile\":{Y(1);break}default:Y(1)}for(const D of le)D.contentRect.width<=480?I(\"mobile\"):D.contentRect.width<=768?I(\"tablet\"):I(void 0)}),$=i.current;return $?(T.observe($),()=>T.unobserve($)):()=>{}}return()=>{}},[ue,K]),s.useEffect(()=>{var T,$;C&&!te&&X(C),te&&(($=(T=a.current)==null?void 0:T.contentWindow)==null||$.postMessage({action:\"toggle-inspector\"},\"*\"))},[C,te]),s.useEffect(()=>{var T;j.renderedHTML&&(a.current&&F?j.renderedHTML.html.length>30&&((T=a.current.contentWindow)==null||T.postMessage({html:j.renderedHTML.html,js:j.renderedHTML.js,darkMode:z===\"dark\",action:\"hydrate\",rendering:O},\"*\")):F||console.warn(\"Iframe not ready, not hydrating\"))},[j.renderedHTML,z,F,O]),s.useEffect(()=>{const T=$=>{$.origin===n&&($.data.id&&$.data.id!==l||($.data.action===\"ready\"?Z(!0):$.data.screenshot?(console.log(\"Saving screenshot\"),Ao($.data.screenshot,1024).then(_).catch(le=>console.error(\"Screenshot failure\",le))):$.data.comment&&(x([...v,$.data.comment]),r.emit(\"ui-state\",{annotatedHTML:B1($.data.html.trim())}),y(!1))))};return window.addEventListener(\"message\",T),()=>window.removeEventListener(\"message\",T)},[j.renderedHTML,v,O,b,x,n,l,y,r,_,U]);const ge=s.useCallback(T=>{au(T,h,f).then(()=>ae(T?\"yep\":\"nope\"),$=>{console.error(\"Error creating vote\",$)})},[t,f]),Se=s.useMemo(()=>(De.find(T=>T.name===P)??De[0]).activeColor[z===\"dark\"?\"dark\":\"light\"],[P,z]);return o.jsxs(\"div\",{className:\"flex flex-col\",children:[o.jsxs(\"div\",{className:\"relative flex w-full flex-row\",children:[o.jsx(\"div\",{ref:i,className:k(\"code-preview-wrapper flex-grow\",he&&\"hidden w-1/2 lg:block\"),children:o.jsxs(\"div\",{className:\"code-responsive-wrapper relative h-[calc(100vh-315px)] w-full flex-none overflow-auto rounded-lg bg-background\",children:[o.jsx(\"iframe\",{title:\"HTML preview\",id:`version-${f}`,sandbox:\"allow-same-origin allow-scripts allow-forms allow-popups allow-modals\",ref:a,style:{transform:`scale(${q.toFixed(2)})`,width:q<1?\"768px\":void 0},className:k(\"iframe-code left-0 top-0 mx-auto h-full w-full origin-top-left\",K===\"tablet\"&&\"max-w-3xl\",K===\"mobile\"&&\"max-w-sm\",K===\"desktop\"&&\"absolute\",e&&\"hidden\"),src:`${n}/openui/index.html?id=${l}`}),e?o.jsx(ga,{isLoading:!0,error:e}):void 0]})}),o.jsx(\"div\",{className:`flex-shrink-0 py-0 pl-4 transition-all duration-500 ease-in-out ${he?\"sm:w-full md:w-full lg:w-1/2\":\"hidden w-0\"}`,children:o.jsx(b1,{id:t,code:j.editedHTML||j.pureHTML})})]}),o.jsx(\"div\",{className:\"w-full p-1\",children:o.jsxs(\"div\",{className:\"grid grid-cols-3\",children:[o.jsxs(\"div\",{className:\"col-span-1 items-center justify-center\",children:[o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(J,{onClick:()=>{ge(!0)},size:\"icon\",variant:\"ghost\",className:`hover:animate-wiggle-zoom hover:bg-transparent ${se===\"yep\"&&\"text-green-600\"}`,children:o.jsx(Eu,{className:\"h-4 w-4\"})})}),o.jsx(Ee,{children:\"Click me if you like the UI\"})]}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(J,{onClick:()=>{ge(!1)},size:\"icon\",variant:\"ghost\",className:`hover:animate-wiggle-zoom hover:bg-transparent ${se===\"nope\"&&\"text-red-800\"}`,children:o.jsx(ku,{className:\"h-4 w-4\"})})}),o.jsx(Ee,{children:\"Click me if you dislike the UI\"})]}),o.jsxs(On,{open:L,children:[o.jsx($n,{asChild:!0,children:o.jsx(J,{className:\"-mr-2 border-none text-muted-foreground hover:animate-wiggle-zoom hover:bg-transparent\",variant:\"ghost\",size:\"icon\",type:\"button\",onClick:()=>A(!0),children:o.jsx(Tu,{className:\"h-4 w-4\"})})}),o.jsx(bo,{side:\"top\",className:\"w-80\",onOpenAutoFocus:()=>{var T,$;E&&(console.log(\"Taking screenshot\"),($=(T=a.current)==null?void 0:T.contentWindow)==null||$.postMessage({action:\"take-screenshot\"},\"*\"))},onEscapeKeyDown:()=>A(!1),onInteractOutside:()=>A(!1),children:o.jsxs(\"div\",{className:\"grid gap-4\",children:[o.jsxs(\"div\",{className:\"space-y-2\",children:[o.jsx(\"h4\",{className:\"font-medium leading-none\",children:\"Iterate on this UI\"}),o.jsx(\"p\",{className:\"text-sm text-muted-foreground\",children:\"Select one or more dimensions to guide the LLM.\"})]}),o.jsxs(\"div\",{className:\"grid gap-2\",children:[o.jsx(\"div\",{className:\"grid grid-cols-2 items-center gap-4\",children:Tn.map(T=>o.jsxs(\"div\",{children:[o.jsx(Hs,{id:T,checked:p.includes(T),onCheckedChange:()=>Ie(T),className:\"mr-1\"}),o.jsxs(Ke,{htmlFor:T,children:[!T.endsWith(\"er\")&&\"More \",T.endsWith(\"er\")?T.charAt(0).toUpperCase()+T.slice(1):T]})]},T))}),o.jsx(J,{type:\"button\",className:\"mt-2\",onClick:()=>{A(!1),m(`/ai/${t}?regen=1`,{replace:!0})},children:\"Make Magic\"})]})]})})]})]}),o.jsxs(\"div\",{className:\"col-span-1 flex items-center justify-center\",children:[o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsxs(J,{onClick:()=>we(me===\"desktop\"?void 0:\"desktop\"),size:\"icon\",variant:\"ghost\",className:k(\"hover:bg-transparent\",K===\"desktop\"&&\"text-primary\"),children:[o.jsx(\"span\",{className:\"sr-only\",children:\"Toggle desktop view\"}),o.jsx(\"svg\",{className:\"inline-block h-3.5 w-3.5\",\"aria-hidden\":\"true\",xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 20 20\",children:o.jsx(\"path\",{stroke:\"currentColor\",strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:\"2\",d:\"M10 14v4m-4 1h8M1 10h18M2 1h16a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z\"})})]})}),o.jsx(Ee,{children:\"Toggle desktop view\"})]}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsxs(J,{onClick:()=>we(\"tablet\"),size:\"icon\",variant:\"ghost\",className:k(\"hidden hover:bg-transparent sm:flex\",K===\"tablet\"&&\"text-primary\"),children:[o.jsx(\"span\",{className:\"sr-only\",children:\"Toggle tablet view\"}),o.jsx(\"svg\",{className:\"inline-block h-3.5 w-3.5\",\"aria-hidden\":\"true\",xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 18 20\",children:o.jsx(\"path\",{stroke:\"currentColor\",strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:\"2\",d:\"M7.5 16.5h3M2 1h14a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z\"})})]})}),o.jsx(Ee,{children:\"Toggle tablet view\"})]}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsxs(J,{onClick:()=>we(\"mobile\"),size:\"icon\",variant:\"ghost\",className:k(\"hidden hover:bg-transparent sm:flex\",K===\"mobile\"&&\"text-primary\"),children:[o.jsx(\"span\",{className:\"sr-only\",children:\"Toggle mobile view\"}),o.jsx(\"svg\",{className:\"inline-block h-3.5 w-3.5\",\"aria-hidden\":\"true\",xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 14 20\",children:o.jsx(\"path\",{stroke:\"currentColor\",strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:\"2\",d:\"M1 14h12M1 4h12M6.5 16.5h1M2 1h10a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z\"})})]})}),o.jsx(Ee,{children:\"Toggle mobile view\"})]})]}),o.jsxs(\"div\",{className:\"col-span-1 flex justify-end\",children:[o.jsxs(On,{open:H,onOpenChange:W,children:[o.jsx($n,{asChild:!0,children:o.jsxs(J,{size:\"icon\",variant:\"ghost\",className:k(\"ml-2 rounded-full text-primary-foreground hover:bg-transparent hover:text-primary-foreground\"),children:[o.jsx(\"span\",{className:\"flex h-6 w-6 items-center justify-center rounded-full opacity-40 hover:opacity-100\",style:{backgroundColor:`hsl(${Se})`},children:o.jsx(Ru,{strokeWidth:1,className:\"h-4 w-4\"})}),o.jsx(\"span\",{className:\"sr-only\",children:\"Change theme\"})]})}),o.jsx(bo,{side:\"top\",className:\"w-96\",children:o.jsxs(\"div\",{className:\"flex flex-col gap-2\",children:[o.jsxs(\"h2\",{className:\"flex text-sm font-medium\",children:[\"UI Theme\",\" \",o.jsxs(Oo,{children:[o.jsx($o,{asChild:!0,children:o.jsx(Jd,{className:\"ml-1 h-3 w-3\"})}),o.jsxs(kr,{side:\"top\",className:\"w-96\",children:[o.jsxs(\"p\",{children:[\"We use CSS variables to define custom tailwind colors and instruct the LLM to prefer them over hard-coded colors. The approach is modelled after\",\" \",o.jsx(\"a\",{href:\"https://ui.shadcn.com/themes\",rel:\"noreferrer\",target:\"_blank\",className:\"underline\",children:\"ShadCN\"}),\".\"]}),o.jsx(\"p\",{className:\"mt-2\",children:`If changing the color isn't working for your UI, try editing the code and adding the class \"bg-primary\" to a button or \"text-primary\" to a link.`}),o.jsx(Na,{})]})]})]}),o.jsx(\"div\",{className:\"grid grid-cols-3 gap-2\",children:De.map(T=>{const $=P===T.name;return o.jsxs(J,{variant:\"outline\",size:\"sm\",onClick:()=>{R(T.name),W(!1)},className:k(\"justify-start\",$&&\"border-2 border-primary\"),style:{\"--theme-primary\":`hsl(${T.activeColor[b===\"dark\"?\"dark\":\"light\"]})`},children:[o.jsx(\"span\",{className:k(\"flex h-5 w-5 shrink-0 -translate-x-1 items-center justify-center rounded-full bg-[--theme-primary]\"),children:$?o.jsx(Er,{className:\"h-4 w-4 text-white\"}):void 0}),T.label]},T.name)})})]})})]}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsxs(J,{onClick:T=>{var le;if(T.shiftKey&&U){const ie=window.open();ie==null||ie.document.write(`<img src=\"${U.url}\" alt=\"Image\">`),ie==null||ie.document.close();return}const $=z===\"dark\"?\"light\":\"dark\";M($),a.current&&((le=a.current.contentWindow)==null||le.postMessage({action:\"toggle-dark-mode\",mode:$},\"*\"))},size:\"icon\",variant:\"ghost\",className:\"hover:bg-transparent\",children:[o.jsx(\"svg\",{\"data-toggle-icon\":\"moon\",className:`${z===\"light\"&&\"hidden\"} inline-block h-3.5 w-3.5`,\"aria-hidden\":\"true\",xmlns:\"http://www.w3.org/2000/svg\",fill:\"currentColor\",viewBox:\"0 0 18 20\",children:o.jsx(\"path\",{d:\"M17.8 13.75a1 1 0 0 0-.859-.5A7.488 7.488 0 0 1 10.52 2a1 1 0 0 0 0-.969A1.035 1.035 0 0 0 9.687.5h-.113a9.5 9.5 0 1 0 8.222 14.247 1 1 0 0 0 .004-.997Z\"})}),o.jsx(\"svg\",{\"data-toggle-icon\":\"sun\",className:`${z===\"dark\"&&\"hidden\"} inline-block h-3.5 w-3.5`,\"aria-hidden\":\"true\",xmlns:\"http://www.w3.org/2000/svg\",fill:\"currentColor\",viewBox:\"0 0 20 20\",children:o.jsx(\"path\",{d:\"M10 15a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0-11a1 1 0 0 0 1-1V1a1 1 0 0 0-2 0v2a1 1 0 0 0 1 1Zm0 12a1 1 0 0 0-1 1v2a1 1 0 1 0 2 0v-2a1 1 0 0 0-1-1ZM4.343 5.757a1 1 0 0 0 1.414-1.414L4.343 2.929a1 1 0 0 0-1.414 1.414l1.414 1.414Zm11.314 8.486a1 1 0 0 0-1.414 1.414l1.414 1.414a1 1 0 0 0 1.414-1.414l-1.414-1.414ZM4 10a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1Zm15-1h-2a1 1 0 1 0 0 2h2a1 1 0 0 0 0-2ZM4.343 14.243l-1.414 1.414a1 1 0 1 0 1.414 1.414l1.414-1.414a1 1 0 0 0-1.414-1.414ZM14.95 6.05a1 1 0 0 0 .707-.293l1.414-1.414a1 1 0 1 0-1.414-1.414l-1.414 1.414a1 1 0 0 0 .707 1.707Z\"})}),o.jsx(\"span\",{className:\"sr-only\",children:\"Toggle dark/light mode\"})]})}),o.jsx(Ee,{children:\"Toggle dark/light mode\"})]}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsxs(J,{size:\"icon\",variant:\"ghost\",className:k(\"hover:bg-transparent\",he&&\"text-primary\"),onClick:()=>{w(\"closed\"),je(!he)},children:[o.jsx(Ld,{strokeWidth:4,className:\"h-5 w-5\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Edit HTML\"})]})}),o.jsx(Ee,{children:\"Edit HTML\"})]})]})]})})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Jo=s.forwardRef(({className:e,...t},r)=>o.jsx(\"textarea\",{className:k(\"flex w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",e),ref:r,...t}));Jo.displayName=\"Textarea\";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function W1({isEditing:e,imageUploadRef:t}){const r=s.useContext(qo),n=Je(),[a,i]=Qn(),l=Kt(),c=n.id??\"new\",[d,u]=ee(Te({id:c})),h=s.useMemo(()=>new Mt(d,u),[d,u]),[f,m]=kt(h),v=h.pureHTML(f),x=s.useRef(null),p=s.useRef(),[g,b]=ee(Xn),[C,y]=ee(Yn),[w,j]=ee(Kn),[P,R]=ee(Ue),E=ne(jr),[U,_]=ee(Zn),O=ne(Ye.item(`screenshot-${c}-${f}`)),F=ze(Ye.item(`image-${c}-${f}`)),Z=ne(Et),L=ne(Jn),{rendering:A,annotatedHTML:H}=Z,W=ne(qn),z=ne(ea),M=ne(ta),se=Io(),[ae,he]=s.useState(At[0]),[je,me]=s.useState(\"\"),we=ze(Sr),[ue,I]=s.useState(d.markdown??\"\"),K=Gn(ue),te=s.useCallback((D,B=!0)=>{const re=Fo();Te({id:re,prompt:D,createdAt:new Date}),we(de=>[re,...de]),l(`/ai/${re}?gen=1&clear=${B}`)},[l,we]),[X,q]=s.useState(!1),[Y,Ie]=s.useState(!1),[ge,Se]=s.useState(),T=e?\"refine\":\"create\",$=s.useCallback(D=>{D.trim()!==\"\"&&(u(B=>({...B,markdown:(B.markdown??\"\")+D})),se())},[se,u]),le=s.useCallback((D,B,re=!1)=>{console.log(\"STREAMING RESPONSE:\",D),i(new URLSearchParams,{preventScrollReset:!0,replace:!0}),m(-1),r.emit(\"ui-state\",{...so,rendering:!0,prompt:D}),r.emit(\"iframe-reset\",{});let de=g;E?O&&(de=O.url):de=void 0,nl({query:D,model:z,action:T,systemPrompt:cl,html:re?void 0:B,image:re?void 0:de,temperature:M},Ne=>{I(ot=>(ot||\"\")+Ne)}).then(Ne=>{b(\"\"),I(Ne),r.emit(\"ui-state\",{rendering:!1}),console.log(\"Rendering complete, saving markdown\"),$(Ne),x.current&&(x.current.value=\"\")}).catch(Ne=>{b(\"\"),I(\"\"),console.error(Ne);let{message:ot}=Ne;ot.includes(\"Object of type bytes is not JSON serializable\")&&(ot=\"OpenUI currently only supports llava or moondream vision models from Ollama\"),r.emit(\"ui-state\",{rendering:!1,error:ot})})},[i,m,r,g,E,O,z,T,M,b,$]),ie=s.useCallback(D=>{let B=At[Math.floor(Math.random()*At.length)];for(;B===D;)B=At[Math.floor(Math.random()*At.length)];he(B),me(B.slice(0,1))},[]);s.useEffect(()=>{const D=a.get(\"clear\")===\"true\",B=a.get(\"gen\")===\"1\";c!==\"new\"&&B&&!A?le(d.prompt,void 0,D):c===\"new\"&&ie(ae)},[d.prompt,c]),s.useEffect(()=>{if(a.get(\"regen\")===\"1\"){I(\"\");let{prompt:D}=d;D=`Let's make this ${(W.length!==1||!W.some(re=>re.endsWith(\"er\")))&&\"more\"} ${W.length>0?W.sort().join(\" and \"):\"interesting\"}.`,u(re=>({...re,markdown:re.markdown+Kr(D)})),se(),le(D,h.pureHTML(f))}},[a.get(\"regen\")]),s.useEffect(()=>{q(L)},[L]),s.useEffect(()=>{try{if(!ue||n.id===\"new\")return;let D=ue;A&&(D=ue.split(`\n`).slice(0,-1).join(`\n`));const B=al(D,void 0,A);B.html?(u(re=>({...re,...B})),r.emit(\"ui-state\",{pureHTML:B.html,rendering:A,error:void 0})):A||r.emit(\"ui-state\",{rendering:!1,error:`No HTML in LLM response, received: \n${ue}`})}catch(D){u(B=>({...B,name:\"Error\"})),r.emit(\"ui-state\",{rendering:!1,error:\"Error parsing response, see console.\"}),console.error(D)}},[K]);const Pt=s.useCallback(D=>{var re;P===\"history\"&&R(\"closed\"),I(\"\"),D.preventDefault();let B=((re=x.current)==null?void 0:re.value.trim())??\"\";if(g===\"\"&&B===\"\"&&(B=ae),!(g===\"\"&&B===\"\")){if(T===\"create\"){te(B,g===\"\");return}u(de=>({...de,markdown:de.markdown+Kr(B),prompts:[...de.prompts??[de.prompt],B]})),se(),le(B,v)}},[T,ae,v,te,g,u,se,le,R,P]);return s.useEffect(()=>{if(!w)return;const D=w;j(void 0),r.emit(\"ui-state\",{rendering:!0,error:void 0});const B=d.components??{};sl({model:z,framework:D,html:v??\"\",temperature:M},re=>{u(de=>(B[D]===void 0&&(B[D]=\"\"),B[D]+=re,{...de,components:{...B}}))}).then(()=>{se(),r.emit(\"ui-state\",{rendering:!1})}).catch(re=>{console.error(re),r.emit(\"ui-state\",{rendering:!1,error:re.message})})},[w,u,se,j,d.components,v,z,M,r]),s.useEffect(()=>{H!==\"\"&&(u(D=>({...D,markdown:D.markdown+Kr(U.at(-1)??\"Edit from comment\")})),_([]),le(\"\",H))},[H,U,_,u,le]),s.useEffect(()=>{ie(\"\"),document.activeElement===x.current&&q(!0)},[ie]),s.useEffect(()=>{var D;return e?clearTimeout(p.current):((D=x.current)==null?void 0:D.value)===\"\"&&(p.current=setTimeout(()=>{Se(void 0),ie(ae)},1e4),Ie(!0),setTimeout(()=>Ie(!1),1e3)),()=>clearTimeout(p.current)},[ie,ae,e]),s.useEffect(()=>{if(e){Se(void 0);return}if(je.length<ae.length){const re=Math.floor(Math.random()**2*76)+5;setTimeout(()=>me(ot=>ae.slice(0,ot.length+1)),re);const{scrollHeight:de,clientHeight:Ne}=x.current??{scrollHeight:0,clientHeight:0};de>Ne?Se(de):de!==Ne&&Se(void 0)}},[ae,je,e]),o.jsx(\"div\",{id:\"llm-input\",className:k(\"z-0 mx-auto my-4 flex w-full max-w-full justify-center rounded-full bg-muted px-4 py-3 align-middle transition-all md:w-full lg:w-10/12\",X?\"border-2 border-primary bg-white dark:bg-muted\":\"\"),children:o.jsxs(il,{onSubmit:Pt,className:k(\"flex min-h-16 w-full items-center justify-center\",e?\"min-h-8\":\"\"),children:[o.jsx(\"input\",{ref:t,id:\"file-input\",type:\"file\",className:\"hidden\",accept:\"image/*\",onChange:D=>{var de;const B=((de=D.target.files)==null?void 0:de[0])??void 0;if(B===void 0)return;const re=new FileReader;re.addEventListener(\"load\",()=>{Ao(re.result,1024).then(Ne=>{b(Ne.url),F(Ne).catch(()=>{console.error(\"Failed to set image\")})},()=>console.error(\"Resize failed\"))}),re.readAsDataURL(B)}}),!e&&o.jsx(J,{className:\"mx-4 h-6 w-6 flex-none rounded-full border-none bg-transparent\",variant:\"outline\",size:\"icon\",type:\"button\",onClick:()=>{clearTimeout(p.current),ie(ae)},children:o.jsx(Mu,{strokeWidth:\"1\",className:`${Y?\"animate-rotate-180\":\"\"} h-5 w-5`})}),o.jsx(Jo,{name:\"query\",rows:Math.floor(ge?ge/33:1),className:k(\"my-auto max-h-[130px] flex-1 resize-none items-center justify-center overflow-y-hidden rounded-none align-middle text-lg placeholder:text-lg\",\"border-none bg-muted outline-none ring-0 transition-all focus-visible:bg-white focus-visible:ring-0 focus-visible:ring-offset-0 dark:focus-visible:bg-muted\"),style:{height:ge?`${ge}px`:void 0},onChange:D=>{const{scrollHeight:B,clientHeight:re,value:de}=D.target;B>re?Se(B):B!==re&&Se(void 0),de===\"\"?ie(ae):(clearTimeout(p.current),de.length===1&&Se(void 0))},onFocus:()=>{q(!0)},onBlur:()=>{q(!1)},placeholder:e?\"Ask for changes to the current UI\":g?\"Describe the screenshot you uploaded (Optional)\":je,ref:x,onKeyDown:D=>{D.key===\"Enter\"&&(Pt(D),D.preventDefault())}}),o.jsxs(\"div\",{className:\"flex items-center\",children:[e?o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(J,{onClick:()=>{y(!C)},size:\"icon\",variant:\"ghost\",type:\"button\",className:k(\"h-8 w-8 flex-none bg-transparent\",C?\"border-1 rounded-full border-primary text-white\":\"\"),children:o.jsx(\"svg\",{className:\"h-5 w-5\",width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",strokeWidth:1,fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:o.jsx(\"path\",{fillRule:\"evenodd\",clipRule:\"evenodd\",d:\"M2.89661 3.15265C2.83907 2.99331 2.99331 2.83907 3.15265 2.89661L21.5721 9.5481C22.0611 9.72467 22.1094 10.3972 21.6507 10.6418L14.7396 14.3278C14.5645 14.4212 14.4212 14.5645 14.3278 14.7396L10.6418 21.6507C10.3972 22.1094 9.72467 22.0611 9.5481 21.5722L2.89661 3.15265ZM5.24811 5.24811L10.2712 19.1582L13.2191 13.6309C13.3125 13.4558 13.4558 13.3125 13.6309 13.2191L19.1582 10.2712L5.24811 5.24811Z\",fill:\"currentColor\"})})})}),o.jsx(Ee,{children:\"Select elements in the HTML\"})]}):E?o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(J,{className:\"mr-2 h-8 w-8 flex-none rounded-full border-none bg-transparent\",variant:\"outline\",size:\"icon\",type:\"button\",onClick:()=>{var D;return(D=t.current)==null?void 0:D.click()},children:o.jsx(fr,{strokeWidth:1,className:\"h-5 w-5\"})})}),o.jsx(Ee,{children:\"Upload a screenshot of a web page you want to replicate\"})]}):void 0,A?o.jsx(\"div\",{className:\"rendering h-8 w-8 flex-none animate-spin rounded-full bg-gradient-to-r from-purple-500 via-pink-500 to-red-500\"}):o.jsx(J,{className:k(\"mr-4 h-8 w-8 flex-none rounded-full border-none bg-muted hover:bg-primary hover:text-white\",X?\"border-1 border-primary bg-primary/20 text-primary\":\"\"),variant:\"outline\",size:\"icon\",type:\"submit\",children:o.jsx(Cu,{strokeWidth:2,className:\"h-5 w-5\"})})]})]})})}var en=\"Dialog\",[ri,Th]=_e(en),[K1,$e]=ri(en),oi=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,c=s.useRef(null),d=s.useRef(null),[u=!1,h]=Be({prop:n,defaultProp:a,onChange:i});return o.jsx(K1,{scope:t,triggerRef:c,contentRef:d,contentId:Ve(),titleId:Ve(),descriptionId:Ve(),open:u,onOpenChange:h,onOpenToggle:s.useCallback(()=>h(f=>!f),[h]),modal:l,children:r})};oi.displayName=en;var ni=\"DialogTrigger\",ai=s.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=$e(ni,r),i=Q(t,a.triggerRef);return o.jsx(V.button,{type:\"button\",\"aria-haspopup\":\"dialog\",\"aria-expanded\":a.open,\"aria-controls\":a.contentId,\"data-state\":on(a.open),...n,ref:i,onClick:N(e.onClick,a.onOpenToggle)})});ai.displayName=ni;var tn=\"DialogPortal\",[G1,si]=ri(tn,{forceMount:void 0}),ii=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:a}=e,i=$e(tn,t);return o.jsx(G1,{scope:t,forceMount:r,children:s.Children.map(n,l=>o.jsx(Oe,{present:r||i.open,children:o.jsx(Gt,{asChild:!0,container:a,children:l})}))})};ii.displayName=tn;var gr=\"DialogOverlay\",ci=s.forwardRef((e,t)=>{const r=si(gr,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=$e(gr,e.__scopeDialog);return i.modal?o.jsx(Oe,{present:n||i.open,children:o.jsx(q1,{...a,ref:t})}):null});ci.displayName=gr;var Z1=St(\"DialogOverlay.RemoveScroll\"),q1=s.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=$e(gr,r);return o.jsx(Zt,{as:Z1,allowPinchZoom:!0,shards:[a.contentRef],children:o.jsx(V.div,{\"data-state\":on(a.open),...n,ref:t,style:{pointerEvents:\"auto\",...n.style}})})}),dt=\"DialogContent\",li=s.forwardRef((e,t)=>{const r=si(dt,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=$e(dt,e.__scopeDialog);return o.jsx(Oe,{present:n||i.open,children:i.modal?o.jsx(Y1,{...a,ref:t}):o.jsx(Q1,{...a,ref:t})})});li.displayName=dt;var Y1=s.forwardRef((e,t)=>{const r=$e(dt,e.__scopeDialog),n=s.useRef(null),a=Q(t,r.contentRef,n);return s.useEffect(()=>{const i=n.current;if(i)return _r(i)},[]),o.jsx(di,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:N(e.onCloseAutoFocus,i=>{var l;i.preventDefault(),(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:N(e.onPointerDownOutside,i=>{const l=i.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&i.preventDefault()}),onFocusOutside:N(e.onFocusOutside,i=>i.preventDefault())})}),Q1=s.forwardRef((e,t)=>{const r=$e(dt,e.__scopeDialog),n=s.useRef(!1),a=s.useRef(!1);return o.jsx(di,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,i),i.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),i.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:i=>{var d,u;(d=e.onInteractOutside)==null||d.call(e,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type===\"pointerdown\"&&(a.current=!0));const l=i.target;((u=r.triggerRef.current)==null?void 0:u.contains(l))&&i.preventDefault(),i.detail.originalEvent.type===\"focusin\"&&a.current&&i.preventDefault()}})}),di=s.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,...l}=e,c=$e(dt,r),d=s.useRef(null),u=Q(t,d);return Pr(),o.jsxs(o.Fragment,{children:[o.jsx(qt,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:o.jsx(Wt,{role:\"dialog\",id:c.contentId,\"aria-describedby\":c.descriptionId,\"aria-labelledby\":c.titleId,\"data-state\":on(c.open),...l,ref:u,onDismiss:()=>c.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(X1,{titleId:c.titleId}),o.jsx(e0,{contentRef:d,descriptionId:c.descriptionId})]})]})}),rn=\"DialogTitle\",ui=s.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=$e(rn,r);return o.jsx(V.h2,{id:a.titleId,...n,ref:t})});ui.displayName=rn;var fi=\"DialogDescription\",hi=s.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=$e(fi,r);return o.jsx(V.p,{id:a.descriptionId,...n,ref:t})});hi.displayName=fi;var pi=\"DialogClose\",mi=s.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=$e(pi,r);return o.jsx(V.button,{type:\"button\",...n,ref:t,onClick:N(e.onClick,()=>a.onOpenChange(!1))})});mi.displayName=pi;function on(e){return e?\"open\":\"closed\"}var gi=\"DialogTitleWarning\",[Ih,vi]=ll(gi,{contentName:dt,titleName:rn,docsSlug:\"dialog\"}),X1=({titleId:e})=>{const t=vi(gi),r=`\\`${t.contentName}\\` requires a \\`${t.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${t.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return s.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},J1=\"DialogDescriptionWarning\",e0=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${vi(J1).contentName}}.`;return s.useEffect(()=>{var i;const a=(i=e.current)==null?void 0:i.getAttribute(\"aria-describedby\");t&&a&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},t0=oi,r0=ai,o0=ii,xi=ci,wi=li,bi=ui,Ci=hi,yi=mi;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const nn=t0,ji=r0,n0=o0,a0=yi,Si=s.forwardRef(({className:e,...t},r)=>o.jsx(xi,{ref:r,className:k(\"fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",e),...t}));Si.displayName=xi.displayName;const $r=s.forwardRef(({className:e,children:t,noClose:r,...n},a)=>o.jsxs(n0,{children:[o.jsx(Si,{}),o.jsxs(wi,{ref:a,className:k(\"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",e),...n,children:[t,r!==!0&&o.jsxs(yi,{className:\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\",children:[o.jsx(Iu,{className:\"h-4 w-4\"}),o.jsx(\"span\",{className:\"sr-only\",children:\"Close\"})]})]})]}));$r.displayName=wi.displayName;const Fr=({className:e,...t})=>o.jsx(\"div\",{className:k(\"flex flex-col space-y-1.5 text-center sm:text-left\",e),...t});Fr.displayName=\"DialogHeader\";const Hr=s.forwardRef(({className:e,...t},r)=>o.jsx(bi,{ref:r,className:k(\"text-lg font-semibold leading-none tracking-tight\",e),...t}));Hr.displayName=bi.displayName;const Rt=s.forwardRef(({className:e,...t},r)=>o.jsx(Ci,{ref:r,className:k(\"text-sm text-muted-foreground\",e),...t}));Rt.displayName=Ci.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function s0(){const t=Je().id??\"new\",[r,n]=ee(Te({id:t})),a=s.useMemo(()=>new Mt(r,n),[r,n]),[i,l]=s.useState(!1),[c,d]=s.useState(),[u]=kt(a);return s.useEffect(()=>{i&&nu(t,a,u).then(()=>{Ea(document.location.href.replace(\"/ai\",\"/ai/shared\"))}).catch(h=>{console.error(\"Share error\",h),d(h.toString())})},[t,i]),o.jsxs(nn,{onOpenChange:h=>l(h),children:[o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(ji,{asChild:!0,children:o.jsx(J,{variant:\"ghost\",className:\"-mr-4 hover:bg-transparent\",children:o.jsx(tu,{})})})}),o.jsx(Ee,{side:\"bottom\",children:\"Share this version\"})]}),o.jsxs($r,{className:\"sm:max-w-[425px]\",children:[o.jsxs(Fr,{children:[o.jsx(Hr,{children:\"Share\"}),c?o.jsx(Rt,{className:\"mb-2 text-red-500 dark:text-red-400\",children:c}):o.jsx(Rt,{children:\"Copy the link below to share your creation\"})]}),o.jsx(\"div\",{className:\"items-center\",children:o.jsx(\"input\",{type:\"text\",value:document.location.href.replace(\"/ai\",\"/ai/shared\"),className:\"w-full p-3\"})})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function i0({isShared:e=!1}){const r=Je().id??\"new\",[n,a]=s.useState(!1),i=s.useRef(null),l=s.useRef(null),[c,d]=ee(Ue),[u,h]=ee(Te({id:r})),[f,m]=ee(Sr),v=ne(Wn),x=ne(jr),p=ze(Xn),g=ze(Jn),b=s.useMemo(()=>new Mt(u,h),[u,h]),{t:C}=Ed(),[y,w]=ee(Et),j=ne(yr),P=De.find(L=>L.name===j),[R]=kt(b),E=ze(Ye.delete),U=ne(Ye.item(\"image-new-0\")),[_,O]=ee(Ye.item(`image-${r}-${R}`)),F=ne(Ye.item(`screenshot-${r}-${R-1}`));s.useEffect(()=>{e&&(async()=>{const L=await su(r);w(A=>({...A,pureHTML:L.html??\"\",error:void 0})),L.markdown=`---\nname: ${L.name}\nemoji: ${L.emoji}\n---\n\n${L.html}`,h(L),f.includes(r)||m([r,...f])})().catch(L=>{console.error(L),w(A=>({...A,error:L.toString()}))})},[e,r,w,h,m,f]),s.useEffect(()=>{a(r!==\"new\"),r!==\"new\"&&U&&!_&&(O(U).catch(L=>{console.error(\"Error setting image\",L)}),E(\"image-new-0\").catch(L=>{console.error(\"Error deleting image\",L)}))},[r,a,U,_,O,E]);const Z=s.useCallback(L=>{const A=new FileReader;A.addEventListener(\"load\",()=>{p(A.result),Ao(A.result,1024).then(O,()=>console.error(\"Resize failed\"))}),A.readAsDataURL(L)},[p,O]);return s.useEffect(()=>{const L=A=>{var z;const H=(z=A.clipboardData)==null?void 0:z.items;let W;if(H){for(const M of H)if(M.type.startsWith(\"image/\")){W=M.getAsFile();break}W?(console.log(\"Pasted file type\",W.type),Z(W)):console.error(\"File type not supported\",H[0].type)}};return window.addEventListener(\"paste\",L),()=>{window.removeEventListener(\"paste\",L)}},[Z]),o.jsx(y1,{children:o.jsxs(\"div\",{ref:l,role:\"button\",tabIndex:0,onDragEnter:()=>g(!0),onDragExit:()=>g(!1),onDrop:L=>{if(L.preventDefault(),g(!1),!x){console.warn(\"Model does not have vision capabilities\");return}let A,H;if(L.dataTransfer.items.length>0){for(const W of L.dataTransfer.items)if(W.kind===\"file\"){if(A=W.getAsFile(),H=A==null?void 0:A.type,A!=null&&A.type.startsWith(\"image/\"))break;A=void 0}}else for(const W of L.dataTransfer.files){if(H=A==null?void 0:A.type,W.type.startsWith(\"image/\"))break;A=void 0}L.dataTransfer.clearData(),A?Z(A):console.warn(\"File type not supported\",H)},onDragOver:L=>{L.preventDefault()},className:k(\"overflow-y-none relative flex h-[calc(100vh-12em)] max-h-[calc(100vh-6em)] w-full flex-col gap-3 px-[3%] pb-4 align-middle md:px-[10%]\",c===\"closed\"?\"\":\"md:px-[3%]\"),children:[r===\"new\"?o.jsxs(\"div\",{className:c===\"history\"?\"mt-[25%]\":\"mt-[20%]\",children:[_?o.jsx(\"img\",{src:_.url,alt:\"Screenshot\",className:\"mx-auto mb-4 max-h-72 max-w-72\"}):void 0,o.jsx(\"h1\",{className:\"mb-1 flex-row text-center text-2xl font-medium text-zinc-800 dark:text-zinc-300 md:text-3xl\",children:C(\"Chat Header\")}),x?o.jsx(\"h2\",{className:\"mb-4 text-center text-lg font-normal text-muted-foreground md:text-xl\",children:C(\"Pro Tip\")}):void 0]}):o.jsxs(\"div\",{children:[o.jsxs(\"div\",{className:\"flex w-full items-center justify-between p-4\",children:[o.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[o.jsx(Su,{strokeWidth:1,className:\"flex w-4\"}),o.jsxs(Oo,{children:[o.jsxs($o,{className:\"flex\",children:[o.jsx(\"div\",{className:\"flex cursor-help items-center justify-start gap-2.5 rounded-full bg-muted p-2 brightness-[.95]\",children:o.jsxs(\"span\",{className:k(\"text-md max-w-[calc(100vw-200px)] truncate px-4 text-left font-sans font-normal leading-[20px] md:max-w-[calc(100vw-450px)]\",c!==\"closed\"&&\"md:max-w-[calc(100vw-750px)]\"),children:[F&&y.prompt.startsWith(\"Let's make\")?o.jsx(fr,{strokeWidth:1,className:\"float-left mr-2 h-4 w-4\"}):void 0,y.prompt===\"\"?o.jsx(fr,{strokeWidth:1,className:\"h-4 w-4\"}):y.prompt]})}),o.jsxs(\"span\",{className:\"my-auto ml-2 hidden h-4 flex-shrink-0 rounded-sm bg-muted px-2 text-xs text-zinc-500 brightness-[.95] md:block\",children:[\"Version \",b.version(R)]})]}),o.jsx(kr,{className:\"ml-36 w-[1000px] max-w-[calc(70vw)] rounded-[20px]\",children:o.jsxs(\"div\",{className:\"flex\",children:[_??F?o.jsx(\"div\",{className:\"mr-2 flex-shrink-0\",children:o.jsx(\"img\",{src:(_==null?void 0:_.url)??(F==null?void 0:F.url),alt:\"Screenshot\",className:\"flex max-h-56 max-w-56\"})}):void 0,o.jsx(\"div\",{className:\"flex-grow\",children:o.jsx(\"p\",{children:y.prompt})})]})})]})]}),o.jsxs(\"div\",{className:\"flex justify-end\",children:[!e&&o.jsx(s0,{}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(J,{variant:\"ghost\",className:\"-mr-4 justify-end hover:bg-transparent\",onClick:()=>{const[L,A]=ul(v);dl(Un(b.pureHTML(R)??\"<h1>Error</h1>\",v,P??De[0]),A,`${b.name}${L}`)},children:o.jsx(Bd,{})})}),o.jsx(Ee,{side:\"bottom\",children:\"Download the HTML\"})]}),o.jsxs(Me,{children:[o.jsx(ke,{asChild:!0,children:o.jsx(J,{variant:\"ghost\",className:\"-mr-4 hover:bg-transparent\",onClick:()=>{d(c===\"closed\"?\"versions\":\"closed\")},children:o.jsx(Od,{})})}),o.jsx(Ee,{side:\"bottom\",children:\"Toggle version history\"})]})]})]}),o.jsx(U1,{id:r,error:y.error})]}),o.jsx(W1,{isEditing:n,imageUploadRef:i})]})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function c0({title:e}){return s.useEffect(()=>{document.title=e},[e]),null}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function l0({id:e,label:t,isActive:r=!1,isCollapsed:n=!1}){const a=ne(Te({id:e})),i=Kt(),l=ze(Sr),c=ze(Ue);return o.jsxs(o.Fragment,{children:[!!t&&o.jsx(\"div\",{className:\"mb-2 w-full text-xs\",children:o.jsx(\"h3\",{children:t})}),o.jsxs(\"div\",{className:`${r&&\"bg-secondary\"} group relative mb-2 w-full rounded-md p-2 text-sm hover:bg-secondary`,children:[o.jsx(fl,{to:`/ai/${e}`,onClick:()=>c(\"closed\"),className:\"flex items-center active:text-black\",children:o.jsxs(\"div\",{className:\"relative grow overflow-hidden whitespace-nowrap\",children:[`${a.emoji??\"🤔\"} `,o.jsxs(\"span\",{children:[\"  \",a.name??a.prompt]}),o.jsx(\"div\",{className:k(\"absolute bottom-0 right-0 top-0 w-8 bg-gradient-to-l from-background from-0% to-transparent group-hover:right-5 group-hover:from-secondary dark:from-zinc-900\",{\"from-secondary\":r,\"dark:from-secondary\":r})})]})}),o.jsx(\"div\",{className:\"absolute bottom-0 right-0 top-0 flex items-center bg-secondary pr-2 opacity-0 group-hover:opacity-100\",children:o.jsxs(Is,{modal:!1,children:[o.jsx(Ps,{asChild:!0,children:o.jsx(J,{className:\"h-5 w-5 text-sm hover:ring-transparent focus-visible:ring-0\",variant:\"ghost\",size:\"icon\",children:o.jsx(Vd,{className:\"inline-block h-4 w-4\"})})}),o.jsxs(Zo,{children:[o.jsx(mr,{children:\"Copy\"}),o.jsx(mr,{onClick:()=>{l(d=>d.filter(u=>u!==e)),Te.remove({id:e}),localStorage.removeItem(`${e}.html`),localStorage.removeItem(`${e}.md`),i(\"/ai/new\")},children:\"Delete\"})]})]})}),o.jsx(J,{onClick:()=>{c(\"closed\"),i(`/ai/${e}`)},className:k(\"absolute -right-[65px] top-0 z-50 ml-auto inline-flex h-8 w-8 p-2 hover:scale-110 hover:bg-inherit\",n&&\"ml-10\",r&&\"bg-zinc-900\"),variant:\"ghost\",size:\"icon\",children:a.emoji??\"🤔\"})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function d0(){const e=Je(),t=hl(`(min-width: ${ml}px)`),r=ne(Ue)!==\"closed\",[n,a]=s.useState(!r),[i]=ee(Sr),l=pl(),c=new Date,d=new Date(c.getTime()-24*60*60*1e3),u=new Date(c.getTime()-7*24*60*60*1e3);let h=\"Today\";return s.useEffect(()=>{},[t,a]),o.jsx(\"div\",{className:\"relative flex h-screen max-h-[calc(100vh-4em)] flex-none flex-col overflow-y-auto border-r border-input transition-all duration-500 ease-in-out dark:bg-zinc-900\",children:o.jsx(\"div\",{className:\"flex h-screen max-h-full flex-col items-start justify-start overflow-x-hidden py-2 pl-2\",children:i.map((f,m)=>{let v;const x=l.get(Te({id:f}));return m===0&&x.createdAt&&x.createdAt>=d&&(h=\"\"),x.createdAt&&x.createdAt>=d&&(h===\"\"||h===\"Today\")?(v=h===\"Today\"?void 0:\"Today\",h=\"Today\"):x.createdAt&&x.createdAt>=u&&h===\"Today\"?(v=\"Previous 7 days\",h=v):h===\"Previous 7 days\"&&x.createdAt&&x.createdAt<=u?(v=\"Previous 30 days\",h=v):v=void 0,o.jsx(l0,{id:f,label:v,isActive:e.id===f,isCollapsed:n},f)})})})}var an=\"Avatar\",[u0,Ph]=_e(an),[f0,Ni]=u0(an),Ri=s.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[a,i]=s.useState(\"idle\");return o.jsx(f0,{scope:r,imageLoadingStatus:a,onImageLoadingStatusChange:i,children:o.jsx(V.span,{...n,ref:t})})});Ri.displayName=an;var Mi=\"AvatarImage\",ki=s.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:a=()=>{},...i}=e,l=Ni(Mi,r),c=h0(n,i),d=lt(u=>{a(u),l.onImageLoadingStatusChange(u)});return Ae(()=>{c!==\"idle\"&&d(c)},[c,d]),c===\"loaded\"?o.jsx(V.img,{...i,ref:t,src:n}):null});ki.displayName=Mi;var Ei=\"AvatarFallback\",Ti=s.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...a}=e,i=Ni(Ei,r),[l,c]=s.useState(n===void 0);return s.useEffect(()=>{if(n!==void 0){const d=window.setTimeout(()=>c(!0),n);return()=>window.clearTimeout(d)}},[n]),l&&i.imageLoadingStatus!==\"loaded\"?o.jsx(V.span,{...a,ref:t}):null});Ti.displayName=Ei;function Fn(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?\"loaded\":\"loading\"):\"error\":\"idle\"}function h0(e,{referrerPolicy:t,crossOrigin:r}){const n=m0(),a=s.useRef(null),i=n?(a.current||(a.current=new window.Image),a.current):null,[l,c]=s.useState(()=>Fn(i,e));return Ae(()=>{c(Fn(i,e))},[i,e]),Ae(()=>{const d=f=>()=>{c(f)};if(!i)return;const u=d(\"loaded\"),h=d(\"error\");return i.addEventListener(\"load\",u),i.addEventListener(\"error\",h),t&&(i.referrerPolicy=t),typeof r==\"string\"&&(i.crossOrigin=r),()=>{i.removeEventListener(\"load\",u),i.removeEventListener(\"error\",h)}},[i,r,t]),l}function p0(){return()=>{}}function m0(){return s.useSyncExternalStore(p0,()=>!0,()=>!1)}var Ii=Ri,Pi=ki,Ai=Ti;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _i=s.forwardRef(({className:e,...t},r)=>o.jsx(Ii,{ref:r,className:k(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\",e),...t}));_i.displayName=Ii.displayName;const Li=s.forwardRef(({className:e,...t},r)=>o.jsx(Pi,{ref:r,className:k(\"aspect-square h-full w-full\",e),...t}));Li.displayName=Pi.displayName;const Di=s.forwardRef(({className:e,...t},r)=>o.jsx(Ai,{ref:r,className:k(\"flex h-full w-full items-center justify-center rounded-full bg-muted\",e),...t}));Di.displayName=Ai.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function g0({className:e=\"\"}){return o.jsxs(\"svg\",{className:k(\"w-16\",e),viewBox:\"0 0 750 400\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[o.jsx(\"path\",{d:\"M334.462 65.6873C338.978 63.08 339.833 56.9138 336.011 53.3666C300.323 20.2489 252.526 0 200 0C89.5431 0 0 89.5431 0 200C0 310.457 89.5431 400 200 400C234.733 400 267.398 391.146 295.862 375.572C300.592 372.984 301.111 366.513 297.252 362.748C285.202 350.996 274.544 337.415 265.714 322.12L188.447 188.291L188.446 188.29C179.288 172.425 184.723 152.139 200.588 142.98L334.462 65.6873Z\",fill:\"url(#paint0_linear_12_2877)\"}),o.jsx(\"path\",{d:\"M740 0H560C554.477 0 550 4.47715 550 10V390C550 395.523 554.477 400 560 400H740C745.523 400 750 395.523 750 390V10C750 4.47715 745.523 0 740 0Z\",fill:\"url(#paint1_linear_12_2877)\"}),o.jsx(\"path\",{d:\"M534 74.426C534 70.2131 532.891 66.0744 530.785 62.4259L499.701 8.58801C494.96 0.375585 484.459 -2.43819 476.246 2.30325L208.588 156.836C200.376 161.577 197.562 172.078 202.303 180.291L279.57 314.12C326.984 396.244 431.996 424.382 514.12 376.968C517.687 374.908 521.153 372.74 524.515 370.469C530.646 366.329 534 359.258 534 351.86V74.426Z\",fill:\"url(#paint2_linear_12_2877)\"}),o.jsxs(\"defs\",{children:[o.jsxs(\"linearGradient\",{id:\"paint0_linear_12_2877\",x1:\"46\",y1:\"20\",x2:\"265\",y2:\"400\",gradientUnits:\"userSpaceOnUse\",children:[o.jsx(\"stop\",{stopColor:\"#FFCF4D\"}),o.jsx(\"stop\",{offset:\"1\",stopColor:\"#FCBA48\"})]}),o.jsxs(\"linearGradient\",{id:\"paint1_linear_12_2877\",x1:\"525\",y1:\"8.40053e-07\",x2:\"750.5\",y2:\"400\",gradientUnits:\"userSpaceOnUse\",children:[o.jsx(\"stop\",{stopColor:\"#E180FF\"}),o.jsx(\"stop\",{offset:\"1\",stopColor:\"#C264F2\"})]}),o.jsxs(\"linearGradient\",{id:\"paint2_linear_12_2877\",x1:\"331.5\",y1:\"-7.71612e-06\",x2:\"555\",y2:\"400\",gradientUnits:\"userSpaceOnUse\",children:[o.jsx(\"stop\",{stopColor:\"#11C1D5\"}),o.jsx(\"stop\",{offset:\"1\",stopColor:\"#13A9BA\"})]})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function v0(){try{return(await(await fetch(\"/v1/models\")).json()).models}catch(e){return console.error(e),{openai:[],groq:[],ollama:[],litellm:[]}}}function vr(e,[t,r]){return Math.min(r,Math.max(t,e))}var x0=[\" \",\"Enter\",\"ArrowUp\",\"ArrowDown\"],w0=[\" \",\"Enter\"],Jt=\"Select\",[Vr,zr,b0]=Tr(Jt),[Tt,Ah]=_e(Jt,[b0,Xe]),Br=Xe(),[C0,tt]=Tt(Jt),[y0,j0]=Tt(Jt),Oi=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:a,onOpenChange:i,value:l,defaultValue:c,onValueChange:d,dir:u,name:h,autoComplete:f,disabled:m,required:v,form:x}=e,p=Br(t),[g,b]=s.useState(null),[C,y]=s.useState(null),[w,j]=s.useState(!1),P=Ir(u),[R=!1,E]=Be({prop:n,defaultProp:a,onChange:i}),[U,_]=Be({prop:l,defaultProp:c,onChange:d}),O=s.useRef(null),F=g?x||!!g.closest(\"form\"):!0,[Z,L]=s.useState(new Set),A=Array.from(Z).map(H=>H.props.value).join(\";\");return o.jsx(wr,{...p,children:o.jsxs(C0,{required:v,scope:t,trigger:g,onTriggerChange:b,valueNode:C,onValueNodeChange:y,valueNodeHasChildren:w,onValueNodeHasChildrenChange:j,contentId:Ve(),value:U,onValueChange:_,open:R,onOpenChange:E,dir:P,triggerPointerDownPosRef:O,disabled:m,children:[o.jsx(Vr.Provider,{scope:t,children:o.jsx(y0,{scope:e.__scopeSelect,onNativeOptionAdd:s.useCallback(H=>{L(W=>new Set(W).add(H))},[]),onNativeOptionRemove:s.useCallback(H=>{L(W=>{const z=new Set(W);return z.delete(H),z})},[]),children:r})}),F?o.jsxs(lc,{\"aria-hidden\":!0,required:v,tabIndex:-1,name:h,autoComplete:f,value:U,onChange:H=>_(H.target.value),disabled:m,form:x,children:[U===void 0?o.jsx(\"option\",{value:\"\"}):null,Array.from(Z)]},A):null]})})};Oi.displayName=Jt;var $i=\"SelectTrigger\",Fi=s.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...a}=e,i=Br(r),l=tt($i,r),c=l.disabled||n,d=Q(t,l.onTriggerChange),u=zr(r),h=s.useRef(\"touch\"),[f,m,v]=dc(p=>{const g=u().filter(y=>!y.disabled),b=g.find(y=>y.value===l.value),C=uc(g,p,b);C!==void 0&&l.onValueChange(C.value)}),x=p=>{c||(l.onOpenChange(!0),v()),p&&(l.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return o.jsx(Ut,{asChild:!0,...i,children:o.jsx(V.button,{type:\"button\",role:\"combobox\",\"aria-controls\":l.contentId,\"aria-expanded\":l.open,\"aria-required\":l.required,\"aria-autocomplete\":\"none\",dir:l.dir,\"data-state\":l.open?\"open\":\"closed\",disabled:c,\"data-disabled\":c?\"\":void 0,\"data-placeholder\":cc(l.value)?\"\":void 0,...a,ref:d,onClick:N(a.onClick,p=>{p.currentTarget.focus(),h.current!==\"mouse\"&&x(p)}),onPointerDown:N(a.onPointerDown,p=>{h.current=p.pointerType;const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType===\"mouse\"&&(x(p),p.preventDefault())}),onKeyDown:N(a.onKeyDown,p=>{const g=f.current!==\"\";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&m(p.key),!(g&&p.key===\" \")&&x0.includes(p.key)&&(x(),p.preventDefault())})})})});Fi.displayName=$i;var Hi=\"SelectValue\",Vi=s.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:a,children:i,placeholder:l=\"\",...c}=e,d=tt(Hi,r),{onValueNodeHasChildrenChange:u}=d,h=i!==void 0,f=Q(t,d.onValueNodeChange);return Ae(()=>{u(h)},[u,h]),o.jsx(V.span,{...c,ref:f,style:{pointerEvents:\"none\"},children:cc(d.value)?o.jsx(o.Fragment,{children:l}):i})});Vi.displayName=Hi;var S0=\"SelectIcon\",zi=s.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...a}=e;return o.jsx(V.span,{\"aria-hidden\":!0,...a,ref:t,children:n||\"▼\"})});zi.displayName=S0;var N0=\"SelectPortal\",Bi=e=>o.jsx(Gt,{asChild:!0,...e});Bi.displayName=N0;var ut=\"SelectContent\",Ui=s.forwardRef((e,t)=>{const r=tt(ut,e.__scopeSelect),[n,a]=s.useState();if(Ae(()=>{a(new DocumentFragment)},[]),!r.open){const i=n;return i?ra.createPortal(o.jsx(Wi,{scope:e.__scopeSelect,children:o.jsx(Vr.Slot,{scope:e.__scopeSelect,children:o.jsx(\"div\",{children:e.children})})}),i):null}return o.jsx(Ki,{...e,ref:t})});Ui.displayName=ut;var Le=10,[Wi,rt]=Tt(ut),R0=\"SelectContentImpl\",M0=St(\"SelectContent.RemoveScroll\"),Ki=s.forwardRef((e,t)=>{const{__scopeSelect:r,position:n=\"item-aligned\",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:l,side:c,sideOffset:d,align:u,alignOffset:h,arrowPadding:f,collisionBoundary:m,collisionPadding:v,sticky:x,hideWhenDetached:p,avoidCollisions:g,...b}=e,C=tt(ut,r),[y,w]=s.useState(null),[j,P]=s.useState(null),R=Q(t,I=>w(I)),[E,U]=s.useState(null),[_,O]=s.useState(null),F=zr(r),[Z,L]=s.useState(!1),A=s.useRef(!1);s.useEffect(()=>{if(y)return _r(y)},[y]),Pr();const H=s.useCallback(I=>{const[K,...te]=F().map(Y=>Y.ref.current),[X]=te.slice(-1),q=document.activeElement;for(const Y of I)if(Y===q||(Y==null||Y.scrollIntoView({block:\"nearest\"}),Y===K&&j&&(j.scrollTop=0),Y===X&&j&&(j.scrollTop=j.scrollHeight),Y==null||Y.focus(),document.activeElement!==q))return},[F,j]),W=s.useCallback(()=>H([E,y]),[H,E,y]);s.useEffect(()=>{Z&&W()},[Z,W]);const{onOpenChange:z,triggerPointerDownPosRef:M}=C;s.useEffect(()=>{if(y){let I={x:0,y:0};const K=X=>{var q,Y;I={x:Math.abs(Math.round(X.pageX)-(((q=M.current)==null?void 0:q.x)??0)),y:Math.abs(Math.round(X.pageY)-(((Y=M.current)==null?void 0:Y.y)??0))}},te=X=>{I.x<=10&&I.y<=10?X.preventDefault():y.contains(X.target)||z(!1),document.removeEventListener(\"pointermove\",K),M.current=null};return M.current!==null&&(document.addEventListener(\"pointermove\",K),document.addEventListener(\"pointerup\",te,{capture:!0,once:!0})),()=>{document.removeEventListener(\"pointermove\",K),document.removeEventListener(\"pointerup\",te,{capture:!0})}}},[y,z,M]),s.useEffect(()=>{const I=()=>z(!1);return window.addEventListener(\"blur\",I),window.addEventListener(\"resize\",I),()=>{window.removeEventListener(\"blur\",I),window.removeEventListener(\"resize\",I)}},[z]);const[se,ae]=dc(I=>{const K=F().filter(q=>!q.disabled),te=K.find(q=>q.ref.current===document.activeElement),X=uc(K,I,te);X&&setTimeout(()=>X.ref.current.focus())}),he=s.useCallback((I,K,te)=>{const X=!A.current&&!te;(C.value!==void 0&&C.value===K||X)&&(U(I),X&&(A.current=!0))},[C.value]),je=s.useCallback(()=>y==null?void 0:y.focus(),[y]),me=s.useCallback((I,K,te)=>{const X=!A.current&&!te;(C.value!==void 0&&C.value===K||X)&&O(I)},[C.value]),we=n===\"popper\"?Co:Gi,ue=we===Co?{side:c,sideOffset:d,align:u,alignOffset:h,arrowPadding:f,collisionBoundary:m,collisionPadding:v,sticky:x,hideWhenDetached:p,avoidCollisions:g}:{};return o.jsx(Wi,{scope:r,content:y,viewport:j,onViewportChange:P,itemRefCallback:he,selectedItem:E,onItemLeave:je,itemTextRefCallback:me,focusSelectedItem:W,selectedItemText:_,position:n,isPositioned:Z,searchRef:se,children:o.jsx(Zt,{as:M0,allowPinchZoom:!0,children:o.jsx(qt,{asChild:!0,trapped:C.open,onMountAutoFocus:I=>{I.preventDefault()},onUnmountAutoFocus:N(a,I=>{var K;(K=C.trigger)==null||K.focus({preventScroll:!0}),I.preventDefault()}),children:o.jsx(Wt,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:I=>I.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:o.jsx(we,{role:\"listbox\",id:C.contentId,\"data-state\":C.open?\"open\":\"closed\",dir:C.dir,onContextMenu:I=>I.preventDefault(),...b,...ue,onPlaced:()=>L(!0),ref:R,style:{display:\"flex\",flexDirection:\"column\",outline:\"none\",...b.style},onKeyDown:N(b.onKeyDown,I=>{const K=I.ctrlKey||I.altKey||I.metaKey;if(I.key===\"Tab\"&&I.preventDefault(),!K&&I.key.length===1&&ae(I.key),[\"ArrowUp\",\"ArrowDown\",\"Home\",\"End\"].includes(I.key)){let X=F().filter(q=>!q.disabled).map(q=>q.ref.current);if([\"ArrowUp\",\"End\"].includes(I.key)&&(X=X.slice().reverse()),[\"ArrowUp\",\"ArrowDown\"].includes(I.key)){const q=I.target,Y=X.indexOf(q);X=X.slice(Y+1)}setTimeout(()=>H(X)),I.preventDefault()}})})})})})})});Ki.displayName=R0;var k0=\"SelectItemAlignedPosition\",Gi=s.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...a}=e,i=tt(ut,r),l=rt(ut,r),[c,d]=s.useState(null),[u,h]=s.useState(null),f=Q(t,R=>h(R)),m=zr(r),v=s.useRef(!1),x=s.useRef(!0),{viewport:p,selectedItem:g,selectedItemText:b,focusSelectedItem:C}=l,y=s.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&u&&p&&g&&b){const R=i.trigger.getBoundingClientRect(),E=u.getBoundingClientRect(),U=i.valueNode.getBoundingClientRect(),_=b.getBoundingClientRect();if(i.dir!==\"rtl\"){const q=_.left-E.left,Y=U.left-q,Ie=R.left-Y,ge=R.width+Ie,Se=Math.max(ge,E.width),T=window.innerWidth-Le,$=vr(Y,[Le,Math.max(Le,T-Se)]);c.style.minWidth=ge+\"px\",c.style.left=$+\"px\"}else{const q=E.right-_.right,Y=window.innerWidth-U.right-q,Ie=window.innerWidth-R.right-Y,ge=R.width+Ie,Se=Math.max(ge,E.width),T=window.innerWidth-Le,$=vr(Y,[Le,Math.max(Le,T-Se)]);c.style.minWidth=ge+\"px\",c.style.right=$+\"px\"}const O=m(),F=window.innerHeight-Le*2,Z=p.scrollHeight,L=window.getComputedStyle(u),A=parseInt(L.borderTopWidth,10),H=parseInt(L.paddingTop,10),W=parseInt(L.borderBottomWidth,10),z=parseInt(L.paddingBottom,10),M=A+H+Z+z+W,se=Math.min(g.offsetHeight*5,M),ae=window.getComputedStyle(p),he=parseInt(ae.paddingTop,10),je=parseInt(ae.paddingBottom,10),me=R.top+R.height/2-Le,we=F-me,ue=g.offsetHeight/2,I=g.offsetTop+ue,K=A+H+I,te=M-K;if(K<=me){const q=O.length>0&&g===O[O.length-1].ref.current;c.style.bottom=\"0px\";const Y=u.clientHeight-p.offsetTop-p.offsetHeight,Ie=Math.max(we,ue+(q?je:0)+Y+W),ge=K+Ie;c.style.height=ge+\"px\"}else{const q=O.length>0&&g===O[0].ref.current;c.style.top=\"0px\";const Ie=Math.max(me,A+p.offsetTop+(q?he:0)+ue)+te;c.style.height=Ie+\"px\",p.scrollTop=K-me+p.offsetTop}c.style.margin=`${Le}px 0`,c.style.minHeight=se+\"px\",c.style.maxHeight=F+\"px\",n==null||n(),requestAnimationFrame(()=>v.current=!0)}},[m,i.trigger,i.valueNode,c,u,p,g,b,i.dir,n]);Ae(()=>y(),[y]);const[w,j]=s.useState();Ae(()=>{u&&j(window.getComputedStyle(u).zIndex)},[u]);const P=s.useCallback(R=>{R&&x.current===!0&&(y(),C==null||C(),x.current=!1)},[y,C]);return o.jsx(T0,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:v,onScrollButtonChange:P,children:o.jsx(\"div\",{ref:d,style:{display:\"flex\",flexDirection:\"column\",position:\"fixed\",zIndex:w},children:o.jsx(V.div,{...a,ref:f,style:{boxSizing:\"border-box\",maxHeight:\"100%\",...a.style}})})})});Gi.displayName=k0;var E0=\"SelectPopperPosition\",Co=s.forwardRef((e,t)=>{const{__scopeSelect:r,align:n=\"start\",collisionPadding:a=Le,...i}=e,l=Br(r);return o.jsx(Cr,{...l,...i,ref:t,align:n,collisionPadding:a,style:{boxSizing:\"border-box\",...i.style,\"--radix-select-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-select-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-select-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-select-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-select-trigger-height\":\"var(--radix-popper-anchor-height)\"}})});Co.displayName=E0;var[T0,sn]=Tt(ut,{}),yo=\"SelectViewport\",Zi=s.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...a}=e,i=rt(yo,r),l=sn(yo,r),c=Q(t,i.onViewportChange),d=s.useRef(0);return o.jsxs(o.Fragment,{children:[o.jsx(\"style\",{dangerouslySetInnerHTML:{__html:\"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}\"},nonce:n}),o.jsx(Vr.Slot,{scope:r,children:o.jsx(V.div,{\"data-radix-select-viewport\":\"\",role:\"presentation\",...a,ref:c,style:{position:\"relative\",flex:1,overflow:\"hidden auto\",...a.style},onScroll:N(a.onScroll,u=>{const h=u.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:m}=l;if(m!=null&&m.current&&f){const v=Math.abs(d.current-h.scrollTop);if(v>0){const x=window.innerHeight-Le*2,p=parseFloat(f.style.minHeight),g=parseFloat(f.style.height),b=Math.max(p,g);if(b<x){const C=b+v,y=Math.min(x,C),w=C-y;f.style.height=y+\"px\",f.style.bottom===\"0px\"&&(h.scrollTop=w>0?w:0,f.style.justifyContent=\"flex-end\")}}}d.current=h.scrollTop})})})]})});Zi.displayName=yo;var qi=\"SelectGroup\",[I0,P0]=Tt(qi),Yi=s.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=Ve();return o.jsx(I0,{scope:r,id:a,children:o.jsx(V.div,{role:\"group\",\"aria-labelledby\":a,...n,ref:t})})});Yi.displayName=qi;var Qi=\"SelectLabel\",Xi=s.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=P0(Qi,r);return o.jsx(V.div,{id:a.id,...n,ref:t})});Xi.displayName=Qi;var xr=\"SelectItem\",[A0,Ji]=Tt(xr),ec=s.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:a=!1,textValue:i,...l}=e,c=tt(xr,r),d=rt(xr,r),u=c.value===n,[h,f]=s.useState(i??\"\"),[m,v]=s.useState(!1),x=Q(t,C=>{var y;return(y=d.itemRefCallback)==null?void 0:y.call(d,C,n,a)}),p=Ve(),g=s.useRef(\"touch\"),b=()=>{a||(c.onValueChange(n),c.onOpenChange(!1))};if(n===\"\")throw new Error(\"A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.\");return o.jsx(A0,{scope:r,value:n,disabled:a,textId:p,isSelected:u,onItemTextChange:s.useCallback(C=>{f(y=>y||((C==null?void 0:C.textContent)??\"\").trim())},[]),children:o.jsx(Vr.ItemSlot,{scope:r,value:n,disabled:a,textValue:h,children:o.jsx(V.div,{role:\"option\",\"aria-labelledby\":p,\"data-highlighted\":m?\"\":void 0,\"aria-selected\":u&&m,\"data-state\":u?\"checked\":\"unchecked\",\"aria-disabled\":a||void 0,\"data-disabled\":a?\"\":void 0,tabIndex:a?void 0:-1,...l,ref:x,onFocus:N(l.onFocus,()=>v(!0)),onBlur:N(l.onBlur,()=>v(!1)),onClick:N(l.onClick,()=>{g.current!==\"mouse\"&&b()}),onPointerUp:N(l.onPointerUp,()=>{g.current===\"mouse\"&&b()}),onPointerDown:N(l.onPointerDown,C=>{g.current=C.pointerType}),onPointerMove:N(l.onPointerMove,C=>{var y;g.current=C.pointerType,a?(y=d.onItemLeave)==null||y.call(d):g.current===\"mouse\"&&C.currentTarget.focus({preventScroll:!0})}),onPointerLeave:N(l.onPointerLeave,C=>{var y;C.currentTarget===document.activeElement&&((y=d.onItemLeave)==null||y.call(d))}),onKeyDown:N(l.onKeyDown,C=>{var w;((w=d.searchRef)==null?void 0:w.current)!==\"\"&&C.key===\" \"||(w0.includes(C.key)&&b(),C.key===\" \"&&C.preventDefault())})})})})});ec.displayName=xr;var Ft=\"SelectItemText\",tc=s.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:a,...i}=e,l=tt(Ft,r),c=rt(Ft,r),d=Ji(Ft,r),u=j0(Ft,r),[h,f]=s.useState(null),m=Q(t,b=>f(b),d.onItemTextChange,b=>{var C;return(C=c.itemTextRefCallback)==null?void 0:C.call(c,b,d.value,d.disabled)}),v=h==null?void 0:h.textContent,x=s.useMemo(()=>o.jsx(\"option\",{value:d.value,disabled:d.disabled,children:v},d.value),[d.disabled,d.value,v]),{onNativeOptionAdd:p,onNativeOptionRemove:g}=u;return Ae(()=>(p(x),()=>g(x)),[p,g,x]),o.jsxs(o.Fragment,{children:[o.jsx(V.span,{id:d.textId,...i,ref:m}),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?ra.createPortal(i.children,l.valueNode):null]})});tc.displayName=Ft;var rc=\"SelectItemIndicator\",oc=s.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Ji(rc,r).isSelected?o.jsx(V.span,{\"aria-hidden\":!0,...n,ref:t}):null});oc.displayName=rc;var jo=\"SelectScrollUpButton\",nc=s.forwardRef((e,t)=>{const r=rt(jo,e.__scopeSelect),n=sn(jo,e.__scopeSelect),[a,i]=s.useState(!1),l=Q(t,n.onScrollButtonChange);return Ae(()=>{if(r.viewport&&r.isPositioned){let c=function(){const u=d.scrollTop>0;i(u)};const d=r.viewport;return c(),d.addEventListener(\"scroll\",c),()=>d.removeEventListener(\"scroll\",c)}},[r.viewport,r.isPositioned]),a?o.jsx(sc,{...e,ref:l,onAutoScroll:()=>{const{viewport:c,selectedItem:d}=r;c&&d&&(c.scrollTop=c.scrollTop-d.offsetHeight)}}):null});nc.displayName=jo;var So=\"SelectScrollDownButton\",ac=s.forwardRef((e,t)=>{const r=rt(So,e.__scopeSelect),n=sn(So,e.__scopeSelect),[a,i]=s.useState(!1),l=Q(t,n.onScrollButtonChange);return Ae(()=>{if(r.viewport&&r.isPositioned){let c=function(){const u=d.scrollHeight-d.clientHeight,h=Math.ceil(d.scrollTop)<u;i(h)};const d=r.viewport;return c(),d.addEventListener(\"scroll\",c),()=>d.removeEventListener(\"scroll\",c)}},[r.viewport,r.isPositioned]),a?o.jsx(sc,{...e,ref:l,onAutoScroll:()=>{const{viewport:c,selectedItem:d}=r;c&&d&&(c.scrollTop=c.scrollTop+d.offsetHeight)}}):null});ac.displayName=So;var sc=s.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...a}=e,i=rt(\"SelectScrollButton\",r),l=s.useRef(null),c=zr(r),d=s.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return s.useEffect(()=>()=>d(),[d]),Ae(()=>{var h;const u=c().find(f=>f.ref.current===document.activeElement);(h=u==null?void 0:u.ref.current)==null||h.scrollIntoView({block:\"nearest\"})},[c]),o.jsx(V.div,{\"aria-hidden\":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:N(a.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(n,50))}),onPointerMove:N(a.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),l.current===null&&(l.current=window.setInterval(n,50))}),onPointerLeave:N(a.onPointerLeave,()=>{d()})})}),_0=\"SelectSeparator\",ic=s.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return o.jsx(V.div,{\"aria-hidden\":!0,...n,ref:t})});ic.displayName=_0;var No=\"SelectArrow\",L0=s.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=Br(r),i=tt(No,r),l=rt(No,r);return i.open&&l.position===\"popper\"?o.jsx(br,{...a,...n,ref:t}):null});L0.displayName=No;function cc(e){return e===\"\"||e===void 0}var lc=s.forwardRef((e,t)=>{const{value:r,...n}=e,a=s.useRef(null),i=Q(t,a),l=Or(r);return s.useEffect(()=>{const c=a.current,d=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(d,\"value\").set;if(l!==r&&h){const f=new Event(\"change\",{bubbles:!0});h.call(c,r),c.dispatchEvent(f)}},[l,r]),o.jsx(gl,{asChild:!0,children:o.jsx(\"select\",{...n,ref:i,defaultValue:r})})});lc.displayName=\"BubbleSelect\";function dc(e){const t=lt(e),r=s.useRef(\"\"),n=s.useRef(0),a=s.useCallback(l=>{const c=r.current+l;t(c),function d(u){r.current=u,window.clearTimeout(n.current),u!==\"\"&&(n.current=window.setTimeout(()=>d(\"\"),1e3))}(c)},[t]),i=s.useCallback(()=>{r.current=\"\",window.clearTimeout(n.current)},[]);return s.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,a,i]}function uc(e,t,r){const a=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let l=D0(e,Math.max(i,0));a.length===1&&(l=l.filter(u=>u!==r));const d=l.find(u=>u.textValue.toLowerCase().startsWith(a.toLowerCase()));return d!==r?d:void 0}function D0(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var O0=Oi,fc=Fi,$0=Vi,F0=zi,H0=Bi,hc=Ui,V0=Zi,z0=Yi,pc=Xi,mc=ec,B0=tc,U0=oc,gc=nc,vc=ac,xc=ic;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ro=O0,_t=z0,oo=$0,lr=s.forwardRef(({className:e,children:t,...r},n)=>o.jsxs(fc,{ref:n,className:k(\"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1\",e),...r,children:[t,o.jsx(F0,{asChild:!0,children:o.jsx(ka,{className:\"h-4 w-4 opacity-50\"})})]}));lr.displayName=fc.displayName;const wc=s.forwardRef(({className:e,...t},r)=>o.jsx(gc,{ref:r,className:k(\"flex cursor-default items-center justify-center py-1\",e),...t,children:o.jsx(ju,{className:\"h-4 w-4\"})}));wc.displayName=gc.displayName;const bc=s.forwardRef(({className:e,...t},r)=>o.jsx(vc,{ref:r,className:k(\"flex cursor-default items-center justify-center py-1\",e),...t,children:o.jsx(ka,{className:\"h-4 w-4\"})}));bc.displayName=vc.displayName;const vt=s.forwardRef(({className:e,children:t,position:r=\"popper\",...n},a)=>o.jsx(H0,{children:o.jsxs(hc,{ref:a,className:k(\"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",r===\"popper\"&&\"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1\",e),position:r,...n,children:[o.jsx(wc,{}),o.jsx(V0,{className:k(\"p-1\",r===\"popper\"&&\"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]\"),children:t}),o.jsx(bc,{})]})}));vt.displayName=hc.displayName;const xt=s.forwardRef(({className:e,...t},r)=>o.jsx(pc,{ref:r,className:k(\"py-1.5 pl-8 pr-2 text-sm font-semibold\",e),...t}));xt.displayName=pc.displayName;const Re=s.forwardRef(({className:e,children:t,...r},n)=>o.jsxs(mc,{ref:n,className:k(\"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",e),...r,children:[o.jsx(\"span\",{className:\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\",children:o.jsx(U0,{children:o.jsx(Er,{className:\"h-4 w-4\"})})}),o.jsx(B0,{children:t})]}));Re.displayName=mc.displayName;const W0=s.forwardRef(({className:e,...t},r)=>o.jsx(xc,{ref:r,className:k(\"-mx-1 my-1 h-px bg-muted\",e),...t}));W0.displayName=xc.displayName;var Cc=[\"PageUp\",\"PageDown\"],yc=[\"ArrowUp\",\"ArrowDown\",\"ArrowLeft\",\"ArrowRight\"],jc={\"from-left\":[\"Home\",\"PageDown\",\"ArrowDown\",\"ArrowLeft\"],\"from-right\":[\"Home\",\"PageDown\",\"ArrowDown\",\"ArrowRight\"],\"from-bottom\":[\"Home\",\"PageDown\",\"ArrowDown\",\"ArrowLeft\"],\"from-top\":[\"Home\",\"PageDown\",\"ArrowUp\",\"ArrowLeft\"]},It=\"Slider\",[Ro,K0,G0]=Tr(It),[Sc,_h]=_e(It,[G0]),[Z0,Ur]=Sc(It),Nc=s.forwardRef((e,t)=>{const{name:r,min:n=0,max:a=100,step:i=1,orientation:l=\"horizontal\",disabled:c=!1,minStepsBetweenThumbs:d=0,defaultValue:u=[n],value:h,onValueChange:f=()=>{},onValueCommit:m=()=>{},inverted:v=!1,form:x,...p}=e,g=s.useRef(new Set),b=s.useRef(0),y=l===\"horizontal\"?q0:Y0,[w=[],j]=Be({prop:h,defaultProp:u,onChange:O=>{var Z;(Z=[...g.current][b.current])==null||Z.focus(),f(O)}}),P=s.useRef(w);function R(O){const F=th(w,O);_(O,F)}function E(O){_(O,b.current)}function U(){const O=P.current[b.current];w[b.current]!==O&&m(w)}function _(O,F,{commit:Z}={commit:!1}){const L=ah(i),A=sh(Math.round((O-n)/i)*i+n,L),H=vr(A,[n,a]);j((W=[])=>{const z=J0(W,H,F);if(nh(z,d*i)){b.current=z.indexOf(H);const M=String(z)!==String(W);return M&&Z&&m(z),M?z:W}else return W})}return o.jsx(Z0,{scope:e.__scopeSlider,name:r,disabled:c,min:n,max:a,valueIndexToChangeRef:b,thumbs:g.current,values:w,orientation:l,form:x,children:o.jsx(Ro.Provider,{scope:e.__scopeSlider,children:o.jsx(Ro.Slot,{scope:e.__scopeSlider,children:o.jsx(y,{\"aria-disabled\":c,\"data-disabled\":c?\"\":void 0,...p,ref:t,onPointerDown:N(p.onPointerDown,()=>{c||(P.current=w)}),min:n,max:a,inverted:v,onSlideStart:c?void 0:R,onSlideMove:c?void 0:E,onSlideEnd:c?void 0:U,onHomeKeyDown:()=>!c&&_(n,0,{commit:!0}),onEndKeyDown:()=>!c&&_(a,w.length-1,{commit:!0}),onStepKeyDown:({event:O,direction:F})=>{if(!c){const A=Cc.includes(O.key)||O.shiftKey&&yc.includes(O.key)?10:1,H=b.current,W=w[H],z=i*A*F;_(W+z,H,{commit:!0})}}})})})})});Nc.displayName=It;var[Rc,Mc]=Sc(It,{startEdge:\"left\",endEdge:\"right\",size:\"width\",direction:1}),q0=s.forwardRef((e,t)=>{const{min:r,max:n,dir:a,inverted:i,onSlideStart:l,onSlideMove:c,onSlideEnd:d,onStepKeyDown:u,...h}=e,[f,m]=s.useState(null),v=Q(t,y=>m(y)),x=s.useRef(void 0),p=Ir(a),g=p===\"ltr\",b=g&&!i||!g&&i;function C(y){const w=x.current||f.getBoundingClientRect(),j=[0,w.width],R=cn(j,b?[r,n]:[n,r]);return x.current=w,R(y-w.left)}return o.jsx(Rc,{scope:e.__scopeSlider,startEdge:b?\"left\":\"right\",endEdge:b?\"right\":\"left\",direction:b?1:-1,size:\"width\",children:o.jsx(kc,{dir:p,\"data-orientation\":\"horizontal\",...h,ref:v,style:{...h.style,\"--radix-slider-thumb-transform\":\"translateX(-50%)\"},onSlideStart:y=>{const w=C(y.clientX);l==null||l(w)},onSlideMove:y=>{const w=C(y.clientX);c==null||c(w)},onSlideEnd:()=>{x.current=void 0,d==null||d()},onStepKeyDown:y=>{const j=jc[b?\"from-left\":\"from-right\"].includes(y.key);u==null||u({event:y,direction:j?-1:1})}})})}),Y0=s.forwardRef((e,t)=>{const{min:r,max:n,inverted:a,onSlideStart:i,onSlideMove:l,onSlideEnd:c,onStepKeyDown:d,...u}=e,h=s.useRef(null),f=Q(t,h),m=s.useRef(void 0),v=!a;function x(p){const g=m.current||h.current.getBoundingClientRect(),b=[0,g.height],y=cn(b,v?[n,r]:[r,n]);return m.current=g,y(p-g.top)}return o.jsx(Rc,{scope:e.__scopeSlider,startEdge:v?\"bottom\":\"top\",endEdge:v?\"top\":\"bottom\",size:\"height\",direction:v?1:-1,children:o.jsx(kc,{\"data-orientation\":\"vertical\",...u,ref:f,style:{...u.style,\"--radix-slider-thumb-transform\":\"translateY(50%)\"},onSlideStart:p=>{const g=x(p.clientY);i==null||i(g)},onSlideMove:p=>{const g=x(p.clientY);l==null||l(g)},onSlideEnd:()=>{m.current=void 0,c==null||c()},onStepKeyDown:p=>{const b=jc[v?\"from-bottom\":\"from-top\"].includes(p.key);d==null||d({event:p,direction:b?-1:1})}})})}),kc=s.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:a,onSlideEnd:i,onHomeKeyDown:l,onEndKeyDown:c,onStepKeyDown:d,...u}=e,h=Ur(It,r);return o.jsx(V.span,{...u,ref:t,onKeyDown:N(e.onKeyDown,f=>{f.key===\"Home\"?(l(f),f.preventDefault()):f.key===\"End\"?(c(f),f.preventDefault()):Cc.concat(yc).includes(f.key)&&(d(f),f.preventDefault())}),onPointerDown:N(e.onPointerDown,f=>{const m=f.target;m.setPointerCapture(f.pointerId),f.preventDefault(),h.thumbs.has(m)?m.focus():n(f)}),onPointerMove:N(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&a(f)}),onPointerUp:N(e.onPointerUp,f=>{const m=f.target;m.hasPointerCapture(f.pointerId)&&(m.releasePointerCapture(f.pointerId),i(f))})})}),Ec=\"SliderTrack\",Tc=s.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=Ur(Ec,r);return o.jsx(V.span,{\"data-disabled\":a.disabled?\"\":void 0,\"data-orientation\":a.orientation,...n,ref:t})});Tc.displayName=Ec;var Mo=\"SliderRange\",Ic=s.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=Ur(Mo,r),i=Mc(Mo,r),l=s.useRef(null),c=Q(t,l),d=a.values.length,u=a.values.map(m=>Ac(m,a.min,a.max)),h=d>1?Math.min(...u):0,f=100-Math.max(...u);return o.jsx(V.span,{\"data-orientation\":a.orientation,\"data-disabled\":a.disabled?\"\":void 0,...n,ref:c,style:{...e.style,[i.startEdge]:h+\"%\",[i.endEdge]:f+\"%\"}})});Ic.displayName=Mo;var ko=\"SliderThumb\",Pc=s.forwardRef((e,t)=>{const r=K0(e.__scopeSlider),[n,a]=s.useState(null),i=Q(t,c=>a(c)),l=s.useMemo(()=>n?r().findIndex(c=>c.ref.current===n):-1,[r,n]);return o.jsx(Q0,{...e,ref:i,index:l})}),Q0=s.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:a,...i}=e,l=Ur(ko,r),c=Mc(ko,r),[d,u]=s.useState(null),h=Q(t,C=>u(C)),f=d?l.form||!!d.closest(\"form\"):!0,m=To(d),v=l.values[n],x=v===void 0?0:Ac(v,l.min,l.max),p=eh(n,l.values.length),g=m==null?void 0:m[c.size],b=g?rh(g,x,c.direction):0;return s.useEffect(()=>{if(d)return l.thumbs.add(d),()=>{l.thumbs.delete(d)}},[d,l.thumbs]),o.jsxs(\"span\",{style:{transform:\"var(--radix-slider-thumb-transform)\",position:\"absolute\",[c.startEdge]:`calc(${x}% + ${b}px)`},children:[o.jsx(Ro.ItemSlot,{scope:e.__scopeSlider,children:o.jsx(V.span,{role:\"slider\",\"aria-label\":e[\"aria-label\"]||p,\"aria-valuemin\":l.min,\"aria-valuenow\":v,\"aria-valuemax\":l.max,\"aria-orientation\":l.orientation,\"data-orientation\":l.orientation,\"data-disabled\":l.disabled?\"\":void 0,tabIndex:l.disabled?void 0:0,...i,ref:h,style:v===void 0?{display:\"none\"}:e.style,onFocus:N(e.onFocus,()=>{l.valueIndexToChangeRef.current=n})})}),f&&o.jsx(X0,{name:a??(l.name?l.name+(l.values.length>1?\"[]\":\"\"):void 0),form:l.form,value:v},n)]})});Pc.displayName=ko;var X0=e=>{const{value:t,...r}=e,n=s.useRef(null),a=Or(t);return s.useEffect(()=>{const i=n.current,l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,\"value\").set;if(a!==t&&d){const u=new Event(\"input\",{bubbles:!0});d.call(i,t),i.dispatchEvent(u)}},[a,t]),o.jsx(\"input\",{style:{display:\"none\"},...r,ref:n,defaultValue:t})};function J0(e=[],t,r){const n=[...e];return n[r]=t,n.sort((a,i)=>a-i)}function Ac(e,t,r){const i=100/(r-t)*(e-t);return vr(i,[0,100])}function eh(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?[\"Minimum\",\"Maximum\"][e]:void 0}function th(e,t){if(e.length===1)return 0;const r=e.map(a=>Math.abs(a-t)),n=Math.min(...r);return r.indexOf(n)}function rh(e,t,r){const n=e/2,i=cn([0,50],[0,n]);return(n-i(t)*r)*r}function oh(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function nh(e,t){if(t>0){const r=oh(e);return Math.min(...r)>=t}return!0}function cn(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function ah(e){return(String(e).split(\".\")[1]||\"\").length}function sh(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var _c=Nc,ih=Tc,ch=Ic,lh=Pc;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Lc=s.forwardRef(({className:e,...t},r)=>o.jsxs(_c,{ref:r,className:k(\"relative flex w-full touch-none select-none items-center\",e),...t,children:[o.jsx(ih,{className:\"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary\",children:o.jsx(ch,{className:\"absolute h-full bg-primary\"})}),o.jsx(lh,{className:\"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\"})]}));Lc.displayName=_c.displayName;var ln=\"Switch\",[dh,Lh]=_e(ln),[uh,fh]=dh(ln),Dc=s.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:a,defaultChecked:i,required:l,disabled:c,value:d=\"on\",onCheckedChange:u,form:h,...f}=e,[m,v]=s.useState(null),x=Q(t,y=>v(y)),p=s.useRef(!1),g=m?h||!!m.closest(\"form\"):!0,[b=!1,C]=Be({prop:a,defaultProp:i,onChange:u});return o.jsxs(uh,{scope:r,checked:b,disabled:c,children:[o.jsx(V.button,{type:\"button\",role:\"switch\",\"aria-checked\":b,\"aria-required\":l,\"data-state\":Fc(b),\"data-disabled\":c?\"\":void 0,disabled:c,value:d,...f,ref:x,onClick:N(e.onClick,y=>{C(w=>!w),g&&(p.current=y.isPropagationStopped(),p.current||y.stopPropagation())})}),g&&o.jsx(hh,{control:m,bubbles:!p.current,name:n,value:d,checked:b,required:l,disabled:c,form:h,style:{transform:\"translateX(-100%)\"}})]})});Dc.displayName=ln;var Oc=\"SwitchThumb\",$c=s.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=fh(Oc,r);return o.jsx(V.span,{\"data-state\":Fc(a.checked),\"data-disabled\":a.disabled?\"\":void 0,...n,ref:t})});$c.displayName=Oc;var hh=e=>{const{control:t,checked:r,bubbles:n=!0,...a}=e,i=s.useRef(null),l=Or(r),c=To(t);return s.useEffect(()=>{const d=i.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,\"checked\").set;if(l!==r&&f){const m=new Event(\"click\",{bubbles:n});f.call(d,r),d.dispatchEvent(m)}},[l,r,n]),o.jsx(\"input\",{type:\"checkbox\",\"aria-hidden\":!0,defaultChecked:r,...a,tabIndex:-1,ref:i,style:{...e.style,...c,position:\"absolute\",pointerEvents:\"none\",opacity:0,margin:0}})};function Fc(e){return e?\"checked\":\"unchecked\"}var Hc=Dc,ph=$c;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Vc=s.forwardRef(({className:e,...t},r)=>o.jsx(Hc,{className:k(\"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input\",e),...t,ref:r,children:o.jsx(ph,{className:k(\"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0\")})}));Vc.displayName=Hc.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Lt(e,t=!0){if(e){const r=e.split(\"/\").slice(1,-1).join(\"\");let n;return Ra.some(a=>a.test(r))&&(n=o.jsx(fr,{className:k(\"mx-1 mt-1 h-3 w-3\",t&&\"float-left ml-0\")})),o.jsxs(o.Fragment,{children:[n,e.replace(\":latest\",\"\").replace(\"gpt\",\"GPT\").replaceAll(/[:-]/g,\" \").replaceAll(/\\b\\w/g,a=>a.toUpperCase())]})}}function mh({trigger:e}){const{isPending:t,isError:r,error:n,data:a}=Ol({queryKey:[\"models\"],queryFn:v0}),[i,l]=s.useState(mn.language),[c]=Qn(),[d,u]=ee(ea),[h,f]=ee(vl),[m,v]=ee(ta),[x,p]=ee(Po),[g,b]=ee(jr),[C,y]=ee(xl);return s.useEffect(()=>{n&&console.error(\"Error fetching models\",n)},[n]),s.useEffect(()=>{c.get(\"dummy\")?u(`dummy/${[\"bad\"].includes(c.get(\"dummy\")??\"\")?c.get(\"dummy\"):\"good\"}`):a&&a.openai.length===0&&d.startsWith(\"gpt\")&&(a.groq.length>0?u(`groq/${a.groq[2].id}`):a.ollama.length>0?u(`ollama/${a.ollama[0].model}`):a.litellm.length>0&&u(`litellm/${a.litellm[0].id}`));const w=C[d];b(w===void 0?Ra.some(j=>{let P=d;return P.includes(\"/\")&&(P=d.split(\"/\").slice(1).join(\"/\")),j.test(P)}):w)},[a,u,d,c,b,C]),o.jsxs(nn,{children:[o.jsxs(Oo,{children:[o.jsx(ji,{asChild:!0,children:o.jsx($o,{children:e})}),o.jsxs(kr,{className:\"border text-sm\",children:[o.jsx(\"h2\",{className:\"font-bold\",children:\"Settings\"}),o.jsxs(\"p\",{className:\"flex\",children:[o.jsx(\"span\",{className:\"font-semibold\",children:\"Model:\"}),\" \",Lt(d.split(\"/\").at(-1),!1)]}),o.jsxs(\"p\",{children:[o.jsx(\"span\",{className:\"font-semibold\",children:\"Temperature:\"}),\" \",m]})]})]}),o.jsxs($r,{className:\"max-w-3xl\",children:[o.jsxs(Fr,{children:[o.jsx(Hr,{children:\"Settings\"}),o.jsx(Rt,{children:\"Choose a different model, adjust settings, or logout\"})]}),o.jsxs(\"div\",{className:\"grid gap-4 py-4\",children:[o.jsxs(\"div\",{className:\"grid grid-cols-8 items-center gap-4\",children:[o.jsx(Ke,{className:\"col-span-2 text-right\",htmlFor:\"model\",children:\"Model\"}),o.jsxs(ro,{value:d,name:\"model\",onValueChange:w=>{u(w)},children:[o.jsx(lr,{className:\"min-w-[200px]\",children:o.jsx(oo,{placeholder:\"Switch models\"})}),t?o.jsx(vt,{children:\"Loading...\"}):void 0,r?o.jsx(vt,{children:\"Error, see console...\"}):void 0,a?o.jsxs(vt,{children:[c.get(\"dummy\")?o.jsxs(_t,{children:[o.jsx(xt,{children:\"Dummy\"}),o.jsx(Re,{value:\"dummy/good\",children:\"Good dummy\"}),o.jsx(Re,{value:\"dummy/bad\",children:\"Bad dummy\"})]}):void 0,a.openai.length>0&&o.jsxs(_t,{children:[o.jsx(xt,{children:\"OpenAI\"}),a.openai.filter(w=>w!==\"gpt-4-turbo\"||!0).map(w=>o.jsx(Re,{value:w,children:Lt(w)},w))]}),a.groq.length>0&&o.jsxs(_t,{children:[o.jsx(xt,{children:\"Groq\"}),a.groq.map(w=>o.jsx(Re,{value:`groq/${w.id}`,children:Lt(w.id)},w.id))]}),a.litellm.length>0&&o.jsxs(_t,{children:[o.jsx(xt,{children:\"LiteLLM\"}),a.litellm.map(w=>o.jsx(Re,{value:`litellm/${w.id}`,children:Lt(w.id)},w.id))]}),a.ollama.length>0&&o.jsxs(_t,{children:[o.jsx(xt,{children:\"Ollama\"}),a.ollama.map(w=>o.jsx(Re,{value:`ollama/${w.model}`,children:Lt(w.model)},w.digest))]})]}):void 0]})]}),o.jsxs(\"div\",{className:\"grid grid-cols-8 items-center gap-4\",children:[o.jsx(Ke,{className:\"col-span-2 text-right\",htmlFor:\"vision\",children:\"Supports Vision\"}),o.jsx(Vc,{className:\"-zoom-1 col-span-1\",name:\"vision\",checked:g,onClick:()=>{y({...C,[d]:!g})},onCheckedChange:w=>b(w)}),o.jsxs(\"div\",{className:\"-ml-15 col-span-5 text-xs\",children:[\"We attempt to detect if the model has vision capabilities. You can override this if you're sure it does.\",d===\"gpt-3.5-turbo\"&&o.jsxs(\"span\",{className:\"italic\",children:[\" \",\"We'll automatically use gpt-4o for any requests with images.\"]})]})]}),o.jsxs(\"div\",{className:\"grid grid-cols-8 items-center gap-4\",children:[o.jsx(Ke,{className:\"col-span-2 text-right\",htmlFor:\"prompt\",children:\"System Prompt\"}),o.jsx(Jo,{className:\"col-span-6 whitespace-nowrap\",rows:5,id:\"prompt\",onChange:w=>f(w.target.value),value:h})]}),o.jsxs(\"div\",{className:\"grid grid-cols-8 items-center gap-4\",children:[o.jsx(Ke,{className:\"col-span-2 text-right\",htmlFor:\"temperature\",children:\"Temperature\"}),o.jsx(Lc,{min:0,max:1,step:.05,onValueChange:w=>v(w[0]),value:[m],className:\"col-span-2\",id:\"temperature\"}),o.jsx(\"div\",{className:\"col-span-1\",children:m.toFixed(2)})]}),o.jsxs(\"div\",{className:\"grid grid-cols-8 items-center gap-4\",children:[o.jsx(Ke,{className:\"col-span-2 text-right\",htmlFor:\"dark-mode\",children:\"UI Mode\"}),o.jsxs(ro,{value:x,name:\"dark-mode\",onValueChange:w=>{p(w)},children:[o.jsx(lr,{className:\"min-w-[200px]\",children:o.jsx(oo,{placeholder:\"Change mode\"})}),o.jsxs(vt,{children:[o.jsx(Re,{value:\"system\",children:\"System\"}),o.jsx(Re,{value:\"dark\",children:\"Dark\"}),o.jsx(Re,{value:\"light\",children:\"Light\"})]})]})]}),o.jsxs(\"div\",{className:\"grid grid-cols-8 items-center gap-4\",children:[o.jsx(Ke,{className:\"col-span-2 text-right\",htmlFor:\"language\",children:\"Language\"}),o.jsxs(ro,{value:i,name:\"language\",onValueChange:w=>{l(w),mn.changeLanguage(w).catch(j=>console.error(j))},children:[o.jsx(lr,{className:\"min-w-[200px]\",children:o.jsx(oo,{placeholder:\"Select Language\"})}),o.jsxs(vt,{children:[o.jsx(Re,{value:\"en\",children:\"English\"}),o.jsx(Re,{value:\"ja\",children:\"Japanese\"}),o.jsx(Re,{value:\"kr\",children:\"Korean\"})]})]})]}),o.jsx(\"div\",{className:\"mt-3 grid grid-cols-4 items-center gap-4\",children:o.jsxs(\"div\",{className:\"col-start-4 flex justify-end\",children:[o.jsx(J,{variant:\"secondary\",onClick:()=>{fetch(\"/v1/session\",{method:\"DELETE\"}).then(()=>document.location.reload()).catch(w=>console.error(w))},children:\"Logout\"}),o.jsx(a0,{asChild:!0,children:o.jsx(J,{type:\"button\",className:\"ml-2\",children:\"Update\"})})]})})]})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function gh(){const e=Kt(),[t,r]=s.useState(),[n,a]=ee(Ue),l=Je().id??\"new\",c=ne(Te({id:l})),d=ne(oa),u=ne(Et);s.useEffect(()=>{d!=null&&d.email&&wl(d.email).then(m=>{r(`https://www.gravatar.com/avatar/${m}`)},()=>console.error(\"Email hash failure\"))},[d==null?void 0:d.email]);let h=`${c.emoji} ${c.name}`;c.name||(u.rendering?h=\"⏳ Rendering...\":u.error?h=\"⚠️ Error\":h=\"⚠️ Unknown Error\");const f=l===\"new\"?\"OpenUI\":h;return o.jsxs(\"header\",{style:{zIndex:1e4},className:\"flex h-14 items-center gap-4 border-b bg-background px-4 py-2 md:px-6\",children:[o.jsx(\"nav\",{className:\"flex flex-col gap-6 text-lg font-medium lg:gap-6\",children:o.jsx(J,{className:\"px-0 hover:bg-transparent\",variant:\"ghost\",onClick:()=>{a(n===\"history\"?\"closed\":\"history\"),e(\"/ai/new\")},children:o.jsx(g0,{className:\"w-12\"})})}),o.jsx(\"div\",{className:\"mx-auto hidden w-full items-center md:flex\",children:o.jsxs(\"div\",{className:k(\"absolute left-1/2 -translate-x-1/2 transform font-semibold\",l===\"new\"&&\"hidden\"),children:[f,o.jsx(J,{variant:\"ghost\",size:\"icon\",className:\"-ml-2 hover:bg-transparent\",onClick:()=>a(n===\"versions\"?\"closed\":\"versions\"),children:o.jsx(Ad,{className:\"h-3 w-3\"})})]})}),o.jsxs(\"div\",{className:\"flex w-full items-center justify-end\",children:[o.jsx(J,{asChild:!0,size:\"icon\",variant:\"secondary\",className:\"mr-2 h-8 w-8 rounded-sm hover:bg-muted/80\",children:o.jsx(\"a\",{\"aria-label\":\"GitHub\",rel:\"noreferrer\",target:\"_blank\",href:\"https://github.com/wandb/openui\",children:o.jsx(\"svg\",{className:\"h-4 w-4\",width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:o.jsx(\"path\",{d:\"M16.8973 4.8424C17.0202 4.80019 17.437 4.64594 17.5258 4.80553C17.5838 4.90971 17.647 5.07393 17.6942 5.28761C17.7899 5.72079 17.7932 6.23147 17.6707 6.63977C17.5882 6.91481 17.6246 7.27653 17.8069 7.50094C18.397 8.22732 18.7502 9.15206 18.7502 10.1613C18.7502 12.3205 17.1213 14.1319 14.9742 14.3603L14.1986 14.4428C13.9261 14.4718 13.6912 14.6471 13.5857 14.9C13.4803 15.1529 13.5211 15.4432 13.6923 15.6571C14.0986 16.1651 14.2827 16.7103 14.3049 17.3771C14.342 18.4924 14.2994 19.6249 14.3002 20.7447C14.3005 21.1589 14.636 21.4945 15.0502 21.4942C15.4644 21.4939 15.8005 21.1579 15.8002 20.7437L15.8079 17.4015C15.8075 17.3342 15.8012 16.9439 15.7056 16.4643C15.705 16.4616 15.7034 16.4591 15.7007 16.4569C15.6612 16.261 15.6034 16.0331 15.5166 15.798C18.2346 15.3231 20.2502 12.9574 20.2502 10.1613C20.2502 8.91427 19.8505 7.75888 19.1728 6.81849C19.3117 6.18619 19.281 5.51695 19.1589 4.96398C19.0889 4.64745 18.9824 4.33824 18.8366 4.07618C18.7038 3.8376 18.477 3.52707 18.1121 3.38113C17.6131 3.18156 17.0005 3.22098 16.4101 3.4237C15.884 3.60434 15.3267 3.92921 14.7827 4.41877C14.6605 4.39541 14.4941 4.36706 14.2853 4.33908C13.8208 4.27683 13.1462 4.21637 12.2779 4.21637C11.4097 4.21637 10.7351 4.27683 10.2706 4.33908C10.0632 4.36686 9.89783 4.395 9.77581 4.41826C9.23206 3.92899 8.67488 3.60428 8.14896 3.4237C7.55857 3.22098 6.94595 3.18156 6.447 3.38113C6.08213 3.52707 5.85526 3.8376 5.72251 4.07618C5.57669 4.33824 5.47017 4.64745 5.40023 4.96398C5.27827 5.51596 5.24748 6.18379 5.38556 6.81508C4.70636 7.75609 4.30573 8.91276 4.30573 10.1613C4.30573 12.9576 6.32152 15.3234 9.03964 15.7981C8.95174 16.0369 8.89394 16.2677 8.85477 16.4643C8.75916 16.9438 8.75285 17.3341 8.75241 17.4014L8.75216 17.7675C8.27674 17.7451 7.97788 17.6398 7.76777 17.5177C7.5219 17.3747 7.33306 17.1728 7.10608 16.8809C7.05933 16.8208 7.01116 16.7566 6.96075 16.6894C6.53264 16.1185 5.94254 15.3317 4.68208 15.0166C4.28023 14.9161 3.87303 15.1604 3.77257 15.5623C3.67211 15.9641 3.91643 16.3713 4.31828 16.4718C5.04387 16.6532 5.33065 17.0287 5.7593 17.5901C5.81114 17.658 5.86504 17.7285 5.92205 17.8018C6.18119 18.135 6.51318 18.5233 7.01384 18.8144C7.48137 19.0862 8.0438 19.2445 8.75116 19.2687L8.75017 20.7437C8.7499 21.1579 9.08546 21.4939 9.49967 21.4942C9.91389 21.4944 10.2499 21.1589 10.2502 20.7447L10.2524 17.4114L10.2524 17.4102C10.2589 16.7326 10.4514 16.1724 10.8636 15.6571C11.0348 15.4432 11.0756 15.1529 10.9702 14.9C10.8647 14.6471 10.6298 14.4718 10.3573 14.4428L9.58172 14.3603C7.43462 14.1319 5.80573 12.3205 5.80573 10.1613C5.80573 9.15207 6.15885 8.22732 6.74895 7.50094C6.93002 7.27806 6.97051 6.91358 6.88837 6.63977C6.76588 6.23147 6.76919 5.72079 6.8649 5.28761C6.91212 5.07393 6.97528 4.90971 7.03325 4.80553C7.12205 4.64594 7.5389 4.80019 7.66184 4.8424C8.02462 4.96696 8.4831 5.23218 8.96612 5.71763C9.18958 5.94221 9.59673 6.00276 9.90003 5.92467C10.6726 5.7444 11.4895 5.71637 12.2779 5.71637C13.066 5.71637 13.8835 5.74365 14.6557 5.92464L14.657 5.92495L14.6582 5.92526C14.9617 6.00264 15.3694 5.94228 15.593 5.71763C16.076 5.23218 16.5345 4.96696 16.8973 4.8424Z\",fill:\"currentColor\"})})})}),o.jsx(mh,{trigger:o.jsx(J,{className:\"mr-2 h-8 w-8 rounded-sm hover:bg-muted/80\",variant:\"secondary\",size:\"icon\",children:o.jsx(Wd,{className:\"h-4 w-4\"})})}),o.jsxs(J,{onClick:()=>e(\"/ai/new\"),className:\"h-8 pl-[0.35rem] pr-3 dark:text-white\",children:[o.jsx(qd,{className:\"mr-1 h-5 w-5\"}),\"New UI\"]}),o.jsxs(_i,{className:\"ml-6 mr-0 hidden rounded-full sm:flex\",children:[o.jsx(Li,{src:t}),o.jsx(Di,{children:o.jsx(Id,{className:\"h-5 w-5\"})})]})]})]})}/*! js-cookie v3.0.5 | MIT */function ar(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var vh={read:function(e){return e[0]==='\"'&&(e=e.slice(1,-1)),e.replace(/(%[\\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Eo(e,t){function r(a,i,l){if(!(typeof document>\"u\")){l=ar({},t,l),typeof l.expires==\"number\"&&(l.expires=new Date(Date.now()+l.expires*864e5)),l.expires&&(l.expires=l.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c=\"\";for(var d in l)l[d]&&(c+=\"; \"+d,l[d]!==!0&&(c+=\"=\"+l[d].split(\";\")[0]));return document.cookie=a+\"=\"+e.write(i,a)+c}}function n(a){if(!(typeof document>\"u\"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split(\"; \"):[],l={},c=0;c<i.length;c++){var d=i[c].split(\"=\"),u=d.slice(1).join(\"=\");try{var h=decodeURIComponent(d[0]);if(l[h]=e.read(u,h),a===h)break}catch{}}return a?l[a]:l}}return Object.create({set:r,get:n,remove:function(a,i){r(a,\"\",ar({},i,{expires:-1}))},withAttributes:function(a){return Eo(this.converter,ar({},this.attributes,a))},withConverter:function(a){return Eo(ar({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Hn=Eo(vh,{path:\"/\"});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function xh(){const[e,t]=s.useState(),[r,n]=s.useState(!1),a=ze(oa);return s.useEffect(()=>{const l=async()=>{const d=await iu();d===void 0?(a(void 0),n(!0)):(a(d),n(!1))},c=Hn.get(\"error\");c&&(t(c),Hn.remove(\"error\")),l().catch(d=>console.error(d))},[a]),o.jsx(nn,{open:r,onOpenChange:l=>{console.log(l)},children:o.jsxs($r,{noClose:!0,className:\"sm:max-w-[425px]\",children:[o.jsxs(Fr,{children:[o.jsx(Hr,{children:\"Login\"}),e?o.jsx(Rt,{className:\"mb-2 text-red-500 dark:text-red-400\",children:e}):o.jsx(Rt,{children:\"To enforce usage quotas an account is required.\"})]}),o.jsx(\"div\",{className:\"items-center\",children:o.jsx(J,{asChild:!0,children:o.jsxs(\"a\",{href:\"/v1/login\",children:[o.jsx(Gd,{className:\"mr-2\"}),\" Login with GitHub\"]})})})]})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function wh({item:e,versionIdx:t}){const r=/127.0.0.1|localhost/.test(document.location.hostname)?\"http://localhost:7878\":\"https://wandb.github.io\",n=s.useRef(null),[a,i]=s.useState(!1),l=ne(Ue)===\"versions\",d=ne(Et).rendering,u=ne(yr),h=De.find(R=>R.name===u)??De[0],[f,m]=s.useState(),v=s.useMemo(()=>Fo(8),[]),x=Io(),[p]=kt(e),g=ne(Ye.item(`image-${e.id}-${t}`)),b=ne(Po),[C,y]=s.useState(b);s.useEffect(()=>{var R,E,U,_;b===\"system\"&&(window.matchMedia(\"(prefers-color-scheme: dark)\").matches?y(\"dark\"):y(\"light\")),[\"light\",\"dark\"].includes(C)&&((E=(R=n.current)==null?void 0:R.contentWindow)==null||E.postMessage({action:\"toggle-dark-mode\",mode:C},\"*\")),(_=(U=n.current)==null?void 0:U.contentWindow)==null||_.postMessage({action:\"theme\",theme:h},\"*\")},[b,C,h]),s.useEffect(()=>{e.html(t).then(R=>m(R==null?void 0:R.html)).catch(R=>console.error(\"HTML parse error\",R))},[e,t,m]),s.useEffect(()=>{const R=E=>{E.origin===r&&E.data.id===v&&E.data.action===\"ready\"&&i(!0)};return window.addEventListener(\"message\",R),()=>window.removeEventListener(\"message\",R)},[r,i,v]),s.useEffect(()=>{var R,E,U,_;f&&a&&l&&((E=(R=n.current)==null?void 0:R.contentWindow)==null||E.postMessage({html:f,js:[],darkMode:C===\"dark\",action:\"hydrate\",rendering:d},\"*\"),(_=(U=n.current)==null?void 0:U.contentWindow)==null||_.postMessage({action:\"theme\",theme:h},\"*\"))},[a,f,l,C,v,d,h]);const w=1524,j=960,P=200;return o.jsx(\"a\",{id:`v${t}`,className:k(\"flex h-[163px] justify-start whitespace-normal text-left\",p===t&&\"bg-zinc-200 dark:bg-zinc-800\"),href:`#v${t}`,children:o.jsxs(\"div\",{className:\"group relative grid h-[163px] cursor-pointer grid-cols-2 overflow-hidden border-b py-2\",children:[o.jsxs(\"div\",{className:\"flex h-[143px] w-[210px] flex-col gap-2\",children:[o.jsxs(\"div\",{className:\"text-md m-2 max-h-[105px] overflow-hidden rounded-lg bg-muted p-2 text-sm text-zinc-700 dark:text-zinc-400\",children:[e.prompt(t),g?o.jsx(\"img\",{src:g.url,alt:\"Screenshot\",className:\"max-w-42 flex\"}):void 0]}),o.jsxs(\"div\",{className:\"align-left mt-auto px-4 text-xs font-thin text-zinc-400\",children:[\"Version \",e.version(t)]})]}),o.jsx(\"div\",{className:`relative w-full max-w-[${P}px] overflow-hidden`,children:o.jsx(\"iframe\",{src:`${r}/openui/index.html?preview=1&id=${v}`,className:k(\"pointer-events-none absolute left-0 top-2 origin-top-left rounded-[32px] border\"),style:{width:`${w}px`,height:`${j}px`,transform:`scale(${(P/w).toFixed(2)})`},title:\"Version Preview\",sandbox:\"allow-same-origin allow-scripts\",ref:n})}),o.jsx(J,{variant:\"ghost\",className:\"absolute right-2 top-2 hidden rounded-full hover:bg-red-500/30 group-hover:block\",onClick:()=>{e.deleteChapter(t),x()},children:o.jsx(ou,{className:\"h-4 w-4\"})})]})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function bh(){const t=Je().id??\"new\",r=ze(Ue),[n,a]=ee(Te({id:t})),i=s.useMemo(()=>new Mt(n,a),[n,a]);return i.id=t,o.jsxs(\"div\",{className:\"flex h-[calc(100vh-4em)] flex-none flex-col border-l\",children:[o.jsxs(\"div\",{className:\"flex items-center justify-between border-b p-4\",children:[o.jsx(\"h2\",{className:\"text-xl font-semibold\",children:\"Version History\"}),o.jsx(J,{variant:\"ghost\",className:\"hover:bg-transparent\",onClick:()=>{r(\"closed\")},children:o.jsx(Fd,{className:\"h-4 w-4\"})})]}),o.jsx(\"div\",{className:\"h-screen max-h-screen overflow-y-scroll\",children:i.chapters.map((l,c)=>o.jsx(wh,{versionIdx:c,item:i},`version-${t}-${c}`))})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Ch({isShared:e=!1}){const t=Kt(),r=Je(),n=ne(Te({id:r.id??\"new\"})),a=ne(Ue);return s.useEffect(()=>{r.id===void 0&&t(\"/ai/new\")},[r.id,t]),o.jsxs(\"div\",{className:\"mobile-safe-container flex h-screen w-full flex-col\",children:[o.jsx(c0,{title:n.name?`${n.emoji} ${n.name}`:\"Create a new UI\"}),o.jsx(gh,{}),o.jsx(xh,{}),o.jsx(\"main\",{className:\"flex h-full flex-1 flex-col overflow-hidden bg-muted/40 md:gap-8\",children:o.jsxs(\"div\",{className:k(\"grid grid-cols-[280px_auto]\",a===\"versions\"&&\"grid-cols-[auto_420px]\"),children:[o.jsx(\"div\",{className:k(\"flex animate-slide-in flex-col border-r-[1px] border-secondary transition-all\",a!==\"history\"&&\"animate-slideout hidden md:hidden lg:hidden\"),children:o.jsx(d0,{})}),o.jsx(\"div\",{className:k(\"relative col-span-2 flex-1 transition-all md:col-span-2\",a===\"closed\"?\"lg:col-span-2\":\"sm:col-span-1 md:col-span-1\",\"animate-slide-in\"),children:o.jsx(bl,{renderError:i=>o.jsx(Cl,{error:i}),children:o.jsx(i0,{isShared:e})})}),o.jsx(\"div\",{className:k(\"flex animate-slide-in-right flex-col gap-4 border-r-[1px] border-secondary bg-background transition-all\",a!==\"versions\"&&\"hidden animate-slide-out\",\"absolute right-0 md:relative\"),children:o.jsx(bh,{})})]})}),o.jsx(\"canvas\",{id:\"resizer\",className:\"hidden\"})]})}const Dh=Object.freeze(Object.defineProperty({__proto__:null,default:Ch},Symbol.toStringTag,{value:\"Module\"}));export{qo as C,Dh as i};\n"
  },
  {
    "path": "backend/openui/dist/assets/javascript-BcV1SRi8.js",
    "content": "import{conf as t,language as e}from\"./typescript-BfKWl9Pr.js\";import\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var a=t,n={defaultToken:\"invalid\",tokenPostfix:\".js\",keywords:[\"break\",\"case\",\"catch\",\"class\",\"continue\",\"const\",\"constructor\",\"debugger\",\"default\",\"delete\",\"do\",\"else\",\"export\",\"extends\",\"false\",\"finally\",\"for\",\"from\",\"function\",\"get\",\"if\",\"import\",\"in\",\"instanceof\",\"let\",\"new\",\"null\",\"return\",\"set\",\"static\",\"super\",\"switch\",\"symbol\",\"this\",\"throw\",\"true\",\"try\",\"typeof\",\"undefined\",\"var\",\"void\",\"while\",\"with\",\"yield\",\"async\",\"await\",\"of\"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{a as conf,n as language};\n"
  },
  {
    "path": "backend/openui/dist/assets/jsonMode-CWFvP3uU.js",
    "content": "import{m as Ke}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var et=Object.defineProperty,tt=Object.getOwnPropertyDescriptor,rt=Object.getOwnPropertyNames,nt=Object.prototype.hasOwnProperty,it=(e,n,i,r)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let t of rt(n))!nt.call(e,t)&&t!==i&&et(e,t,{get:()=>n[t],enumerable:!(r=tt(n,t))||r.enumerable});return e},at=(e,n,i)=>(it(e,n,\"default\"),i),f={};at(f,Ke);var st=2*60*1e3,ot=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>st&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=f.editor.createWebWorker({moduleId:\"vs/language/json/jsonWorker\",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(i=>n)}},oe;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(oe||(oe={}));var Y;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(Y||(Y={}));var T;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=Y.MAX_VALUE),t===Number.MAX_VALUE&&(t=Y.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){var t=r;return o.objectLiteral(t)&&o.uinteger(t.line)&&o.uinteger(t.character)}e.is=i})(T||(T={}));var _;(function(e){function n(r,t,a,s){if(o.uinteger(r)&&o.uinteger(t)&&o.uinteger(a)&&o.uinteger(s))return{start:T.create(r,t),end:T.create(a,s)};if(T.is(r)&&T.is(t))return{start:r,end:t};throw new Error(\"Range#create called with invalid arguments[\"+r+\", \"+t+\", \"+a+\", \"+s+\"]\")}e.create=n;function i(r){var t=r;return o.objectLiteral(t)&&T.is(t.start)&&T.is(t.end)}e.is=i})(_||(_={}));var ee;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.range)&&(o.string(t.uri)||o.undefined(t.uri))}e.is=i})(ee||(ee={}));var ue;(function(e){function n(r,t,a,s){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:s}}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.targetRange)&&o.string(t.targetUri)&&(_.is(t.targetSelectionRange)||o.undefined(t.targetSelectionRange))&&(_.is(t.originSelectionRange)||o.undefined(t.originSelectionRange))}e.is=i})(ue||(ue={}));var te;(function(e){function n(r,t,a,s){return{red:r,green:t,blue:a,alpha:s}}e.create=n;function i(r){var t=r;return o.numberRange(t.red,0,1)&&o.numberRange(t.green,0,1)&&o.numberRange(t.blue,0,1)&&o.numberRange(t.alpha,0,1)}e.is=i})(te||(te={}));var ce;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){var t=r;return _.is(t.range)&&te.is(t.color)}e.is=i})(ce||(ce={}));var de;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){var t=r;return o.string(t.label)&&(o.undefined(t.textEdit)||R.is(t))&&(o.undefined(t.additionalTextEdits)||o.typedArray(t.additionalTextEdits,R.is))}e.is=i})(de||(de={}));var W;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(W||(W={}));var fe;(function(e){function n(r,t,a,s,u){var l={startLine:r,endLine:t};return o.defined(a)&&(l.startCharacter=a),o.defined(s)&&(l.endCharacter=s),o.defined(u)&&(l.kind=u),l}e.create=n;function i(r){var t=r;return o.uinteger(t.startLine)&&o.uinteger(t.startLine)&&(o.undefined(t.startCharacter)||o.uinteger(t.startCharacter))&&(o.undefined(t.endCharacter)||o.uinteger(t.endCharacter))&&(o.undefined(t.kind)||o.string(t.kind))}e.is=i})(fe||(fe={}));var re;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&ee.is(t.location)&&o.string(t.message)}e.is=i})(re||(re={}));var N;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(N||(N={}));var le;(function(e){e.Unnecessary=1,e.Deprecated=2})(le||(le={}));var ge;(function(e){function n(i){var r=i;return r!=null&&o.string(r.href)}e.is=n})(ge||(ge={}));var $;(function(e){function n(r,t,a,s,u,l){var c={range:r,message:t};return o.defined(a)&&(c.severity=a),o.defined(s)&&(c.code=s),o.defined(u)&&(c.source=u),o.defined(l)&&(c.relatedInformation=l),c}e.create=n;function i(r){var t,a=r;return o.defined(a)&&_.is(a.range)&&o.string(a.message)&&(o.number(a.severity)||o.undefined(a.severity))&&(o.integer(a.code)||o.string(a.code)||o.undefined(a.code))&&(o.undefined(a.codeDescription)||o.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(o.string(a.source)||o.undefined(a.source))&&(o.undefined(a.relatedInformation)||o.typedArray(a.relatedInformation,re.is))}e.is=i})($||($={}));var V;(function(e){function n(r,t){for(var a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];var u={title:r,command:t};return o.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.title)&&o.string(t.command)}e.is=i})(V||(V={}));var R;(function(e){function n(a,s){return{range:a,newText:s}}e.replace=n;function i(a,s){return{range:{start:a,end:a},newText:s}}e.insert=i;function r(a){return{range:a,newText:\"\"}}e.del=r;function t(a){var s=a;return o.objectLiteral(s)&&o.string(s.newText)&&_.is(s.range)}e.is=t})(R||(R={}));var O;(function(e){function n(r,t,a){var s={label:r};return t!==void 0&&(s.needsConfirmation=t),a!==void 0&&(s.description=a),s}e.create=n;function i(r){var t=r;return t!==void 0&&o.objectLiteral(t)&&o.string(t.label)&&(o.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(o.string(t.description)||t.description===void 0)}e.is=i})(O||(O={}));var w;(function(e){function n(i){var r=i;return typeof r==\"string\"}e.is=n})(w||(w={}));var P;(function(e){function n(a,s,u){return{range:a,newText:s,annotationId:u}}e.replace=n;function i(a,s,u){return{range:{start:a,end:a},newText:s,annotationId:u}}e.insert=i;function r(a,s){return{range:a,newText:\"\",annotationId:s}}e.del=r;function t(a){var s=a;return R.is(s)&&(O.is(s.annotationId)||w.is(s.annotationId))}e.is=t})(P||(P={}));var G;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&Q.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(G||(G={}));var H;(function(e){function n(r,t,a){var s={kind:\"create\",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(s.options=t),a!==void 0&&(s.annotationId=a),s}e.create=n;function i(r){var t=r;return t&&t.kind===\"create\"&&o.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||w.is(t.annotationId))}e.is=i})(H||(H={}));var z;(function(e){function n(r,t,a,s){var u={kind:\"rename\",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),s!==void 0&&(u.annotationId=s),u}e.create=n;function i(r){var t=r;return t&&t.kind===\"rename\"&&o.string(t.oldUri)&&o.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||w.is(t.annotationId))}e.is=i})(z||(z={}));var B;(function(e){function n(r,t,a){var s={kind:\"delete\",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(s.options=t),a!==void 0&&(s.annotationId=a),s}e.create=n;function i(r){var t=r;return t&&t.kind===\"delete\"&&o.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||o.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||o.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||w.is(t.annotationId))}e.is=i})(B||(B={}));var ne;(function(e){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(t){return o.string(t.kind)?H.is(t)||z.is(t)||B.is(t):G.is(t)}))}e.is=n})(ne||(ne={}));var J=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,r){var t,a;if(r===void 0?t=R.insert(n,i):w.is(r)?(a=r,t=P.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=P.insert(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.replace=function(n,i,r){var t,a;if(r===void 0?t=R.replace(n,i):w.is(r)?(a=r,t=P.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=P.replace(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.delete=function(n,i){var r,t;if(i===void 0?r=R.del(n):w.is(i)?(t=i,r=P.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=P.del(n,t)),this.edits.push(r),t!==void 0)return t},e.prototype.add=function(n){this.edits.push(n)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),he=function(){function e(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,\"size\",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(n,i){var r;if(w.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error(\"Id \"+r+\" is already in use.\");if(i===void 0)throw new Error(\"No annotation provided for id \"+r);return this._annotations[r]=i,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new he(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(G.is(r)){var t=new J(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new J(n.changes[r]);i._textEditChanges[r]=t})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,\"edit\",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(n){if(Q.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var t=[],a={textDocument:i,edits:t};this._workspaceEdit.documentChanges.push(a),r=new J(t,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r=this._textEditChanges[n];if(!r){var t=[];this._workspaceEdit.changes[n]=t,r=new J(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new he,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var t;O.is(i)||w.is(i)?t=i:r=i;var a,s;if(t===void 0?a=H.create(n,r):(s=w.is(t)?t:this._changeAnnotations.manage(t),a=H.create(n,r,s)),this._workspaceEdit.documentChanges.push(a),s!==void 0)return s},e.prototype.renameFile=function(n,i,r,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var a;O.is(r)||w.is(r)?a=r:t=r;var s,u;if(a===void 0?s=z.create(n,i,t):(u=w.is(a)?a:this._changeAnnotations.manage(a),s=z.create(n,i,t,u)),this._workspaceEdit.documentChanges.push(s),u!==void 0)return u},e.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var t;O.is(i)||w.is(i)?t=i:r=i;var a,s;if(t===void 0?a=B.create(n,r):(s=w.is(t)?t:this._changeAnnotations.manage(t),a=B.create(n,r,s)),this._workspaceEdit.documentChanges.push(a),s!==void 0)return s},e})();var ve;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)}e.is=i})(ve||(ve={}));var pe;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)&&o.integer(t.version)}e.is=i})(pe||(pe={}));var Q;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)&&(t.version===null||o.integer(t.version))}e.is=i})(Q||(Q={}));var me;(function(e){function n(r,t,a,s){return{uri:r,languageId:t,version:a,text:s}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.string(t.uri)&&o.string(t.languageId)&&o.integer(t.version)&&o.string(t.text)}e.is=i})(me||(me={}));var q;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(q||(q={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(q||(q={}));var ie;(function(e){function n(i){var r=i;return o.objectLiteral(i)&&q.is(r.kind)&&o.string(r.value)}e.is=n})(ie||(ie={}));var p;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(p||(p={}));var ae;(function(e){e.PlainText=1,e.Snippet=2})(ae||(ae={}));var _e;(function(e){e.Deprecated=1})(_e||(_e={}));var ke;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){var t=r;return t&&o.string(t.newText)&&_.is(t.insert)&&_.is(t.replace)}e.is=i})(ke||(ke={}));var we;(function(e){e.asIs=1,e.adjustIndentation=2})(we||(we={}));var be;(function(e){function n(i){return{label:i}}e.create=n})(be||(be={}));var Ce;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(Ce||(Ce={}));var Z;(function(e){function n(r){return r.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=n;function i(r){var t=r;return o.string(t)||o.objectLiteral(t)&&o.string(t.language)&&o.string(t.value)}e.is=i})(Z||(Z={}));var Ee;(function(e){function n(i){var r=i;return!!r&&o.objectLiteral(r)&&(ie.is(r.contents)||Z.is(r.contents)||o.typedArray(r.contents,Z.is))&&(i.range===void 0||_.is(i.range))}e.is=n})(Ee||(Ee={}));var Ae;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(Ae||(Ae={}));var Se;(function(e){function n(i,r){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];var s={label:i};return o.defined(r)&&(s.documentation=r),o.defined(t)?s.parameters=t:s.parameters=[],s}e.create=n})(Se||(Se={}));var U;(function(e){e.Text=1,e.Read=2,e.Write=3})(U||(U={}));var Ie;(function(e){function n(i,r){var t={range:i};return o.number(r)&&(t.kind=r),t}e.create=n})(Ie||(Ie={}));var m;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(m||(m={}));var ye;(function(e){e.Deprecated=1})(ye||(ye={}));var Te;(function(e){function n(i,r,t,a,s){var u={name:i,kind:r,location:{uri:a,range:t}};return s&&(u.containerName=s),u}e.create=n})(Te||(Te={}));var Pe;(function(e){function n(r,t,a,s,u,l){var c={name:r,detail:t,kind:a,range:s,selectionRange:u};return l!==void 0&&(c.children=l),c}e.create=n;function i(r){var t=r;return t&&o.string(t.name)&&o.number(t.kind)&&_.is(t.range)&&_.is(t.selectionRange)&&(t.detail===void 0||o.string(t.detail))&&(t.deprecated===void 0||o.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=i})(Pe||(Pe={}));var Re;(function(e){e.Empty=\"\",e.QuickFix=\"quickfix\",e.Refactor=\"refactor\",e.RefactorExtract=\"refactor.extract\",e.RefactorInline=\"refactor.inline\",e.RefactorRewrite=\"refactor.rewrite\",e.Source=\"source\",e.SourceOrganizeImports=\"source.organizeImports\",e.SourceFixAll=\"source.fixAll\"})(Re||(Re={}));var Me;(function(e){function n(r,t){var a={diagnostics:r};return t!=null&&(a.only=t),a}e.create=n;function i(r){var t=r;return o.defined(t)&&o.typedArray(t.diagnostics,$.is)&&(t.only===void 0||o.typedArray(t.only,o.string))}e.is=i})(Me||(Me={}));var De;(function(e){function n(r,t,a){var s={title:r},u=!0;return typeof t==\"string\"?(u=!1,s.kind=t):V.is(t)?s.command=t:s.edit=t,u&&a!==void 0&&(s.kind=a),s}e.create=n;function i(r){var t=r;return t&&o.string(t.title)&&(t.diagnostics===void 0||o.typedArray(t.diagnostics,$.is))&&(t.kind===void 0||o.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||V.is(t.command))&&(t.isPreferred===void 0||o.boolean(t.isPreferred))&&(t.edit===void 0||ne.is(t.edit))}e.is=i})(De||(De={}));var Le;(function(e){function n(r,t){var a={range:r};return o.defined(t)&&(a.data=t),a}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.range)&&(o.undefined(t.command)||V.is(t.command))}e.is=i})(Le||(Le={}));var Ne;(function(e){function n(r,t){return{tabSize:r,insertSpaces:t}}e.create=n;function i(r){var t=r;return o.defined(t)&&o.uinteger(t.tabSize)&&o.boolean(t.insertSpaces)}e.is=i})(Ne||(Ne={}));var Oe;(function(e){function n(r,t,a){return{range:r,target:t,data:a}}e.create=n;function i(r){var t=r;return o.defined(t)&&_.is(t.range)&&(o.undefined(t.target)||o.string(t.target))}e.is=i})(Oe||(Oe={}));var xe;(function(e){function n(r,t){return{range:r,parent:t}}e.create=n;function i(r){var t=r;return t!==void 0&&_.is(t.range)&&(t.parent===void 0||e.is(t.parent))}e.is=i})(xe||(xe={}));var je;(function(e){function n(a,s,u,l){return new ut(a,s,u,l)}e.create=n;function i(a){var s=a;return!!(o.defined(s)&&o.string(s.uri)&&(o.undefined(s.languageId)||o.string(s.languageId))&&o.uinteger(s.lineCount)&&o.func(s.getText)&&o.func(s.positionAt)&&o.func(s.offsetAt))}e.is=i;function r(a,s){for(var u=a.getText(),l=t(s,function(y,D){var x=y.range.start.line-D.range.start.line;return x===0?y.range.start.character-D.range.start.character:x}),c=u.length,v=l.length-1;v>=0;v--){var g=l[v],b=a.offsetAt(g.range.start),h=a.offsetAt(g.range.end);if(h<=c)u=u.substring(0,b)+g.newText+u.substring(h,u.length);else throw new Error(\"Overlapping edit\");c=b}return u}e.applyEdits=r;function t(a,s){if(a.length<=1)return a;var u=a.length/2|0,l=a.slice(0,u),c=a.slice(u);t(l,s),t(c,s);for(var v=0,g=0,b=0;v<l.length&&g<c.length;){var h=s(l[v],c[g]);h<=0?a[b++]=l[v++]:a[b++]=c[g++]}for(;v<l.length;)a[b++]=l[v++];for(;g<c.length;)a[b++]=c[g++];return a}})(je||(je={}));var ut=function(){function e(n,i,r,t){this._uri=n,this._languageId=i,this._version=r,this._content=t,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(n){if(n){var i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content},e.prototype.update=function(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var n=[],i=this._content,r=!0,t=0;t<i.length;t++){r&&(n.push(t),r=!1);var a=i.charAt(t);r=a===\"\\r\"||a===`\n`,a===\"\\r\"&&t+1<i.length&&i.charAt(t+1)===`\n`&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return T.create(0,n);for(;r<t;){var a=Math.floor((r+t)/2);i[a]>n?t=a:r=a+1}var s=r-1;return T.create(s,n-i[s])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),o;(function(e){var n=Object.prototype.toString;function i(h){return typeof h<\"u\"}e.defined=i;function r(h){return typeof h>\"u\"}e.undefined=r;function t(h){return h===!0||h===!1}e.boolean=t;function a(h){return n.call(h)===\"[object String]\"}e.string=a;function s(h){return n.call(h)===\"[object Number]\"}e.number=s;function u(h,y,D){return n.call(h)===\"[object Number]\"&&y<=h&&h<=D}e.numberRange=u;function l(h){return n.call(h)===\"[object Number]\"&&-2147483648<=h&&h<=2147483647}e.integer=l;function c(h){return n.call(h)===\"[object Number]\"&&0<=h&&h<=2147483647}e.uinteger=c;function v(h){return n.call(h)===\"[object Function]\"}e.func=v;function g(h){return h!==null&&typeof h==\"object\"}e.objectLiteral=g;function b(h,y){return Array.isArray(h)&&h.every(y)}e.typedArray=b})(o||(o={}));var ct=class{constructor(e,n,i){this._languageId=e,this._worker=n,this._disposables=[],this._listener=Object.create(null);const r=a=>{let s=a.getLanguageId();if(s!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,s),500)}),this._doValidate(a.uri,s)},t=a=>{f.editor.setModelMarkers(a,this._languageId,[]);let s=a.uri.toString(),u=this._listener[s];u&&(u.dispose(),delete this._listener[s])};this._disposables.push(f.editor.onDidCreateModel(r)),this._disposables.push(f.editor.onWillDisposeModel(t)),this._disposables.push(f.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{f.editor.getModels().forEach(s=>{s.getLanguageId()===this._languageId&&(t(s),r(s))})})),this._disposables.push({dispose:()=>{f.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),f.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>ft(e,a));let t=f.editor.getModel(e);t&&t.getLanguageId()===n&&f.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function dt(e){switch(e){case N.Error:return f.MarkerSeverity.Error;case N.Warning:return f.MarkerSeverity.Warning;case N.Information:return f.MarkerSeverity.Info;case N.Hint:return f.MarkerSeverity.Hint;default:return f.MarkerSeverity.Info}}function ft(e,n){let i=typeof n.code==\"number\"?String(n.code):n.code;return{severity:dt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var lt=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),M(n))).then(a=>{if(!a)return;const s=e.getWordUntilPosition(n),u=new f.Range(n.lineNumber,s.startColumn,n.lineNumber,s.endColumn),l=a.items.map(c=>{const v={label:c.label,insertText:c.insertText||c.label,sortText:c.sortText,filterText:c.filterText,documentation:c.documentation,detail:c.detail,command:vt(c.command),range:u,kind:ht(c.kind)};return c.textEdit&&(gt(c.textEdit)?v.range={insert:C(c.textEdit.insert),replace:C(c.textEdit.replace)}:v.range=C(c.textEdit.range),v.insertText=c.textEdit.newText),c.additionalTextEdits&&(v.additionalTextEdits=c.additionalTextEdits.map(X)),c.insertTextFormat===ae.Snippet&&(v.insertTextRules=f.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:l}})}};function M(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function ze(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function C(e){if(e)return new f.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function gt(e){return typeof e.insert<\"u\"&&typeof e.replace<\"u\"}function ht(e){const n=f.languages.CompletionItemKind;switch(e){case p.Text:return n.Text;case p.Method:return n.Method;case p.Function:return n.Function;case p.Constructor:return n.Constructor;case p.Field:return n.Field;case p.Variable:return n.Variable;case p.Class:return n.Class;case p.Interface:return n.Interface;case p.Module:return n.Module;case p.Property:return n.Property;case p.Unit:return n.Unit;case p.Value:return n.Value;case p.Enum:return n.Enum;case p.Keyword:return n.Keyword;case p.Snippet:return n.Snippet;case p.Color:return n.Color;case p.File:return n.File;case p.Reference:return n.Reference}return n.Property}function X(e){if(e)return{range:C(e.range),text:e.newText}}function vt(e){return e&&e.command===\"editor.action.triggerSuggest\"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var pt=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),M(n))).then(t=>{if(t)return{range:C(t.range),contents:_t(t.contents)}})}};function mt(e){return e&&typeof e==\"object\"&&typeof e.kind==\"string\"}function Fe(e){return typeof e==\"string\"?{value:e}:mt(e)?e.kind===\"plaintext\"?{value:e.value.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}:{value:e.value}:{value:\"```\"+e.language+`\n`+e.value+\"\\n```\\n\"}}function _t(e){if(e)return Array.isArray(e)?e.map(Fe):[Fe(e)]}var Jt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),M(n))).then(t=>{if(t)return t.map(a=>({range:C(a.range),kind:kt(a.kind)}))})}};function kt(e){switch(e){case U.Read:return f.languages.DocumentHighlightKind.Read;case U.Write:return f.languages.DocumentHighlightKind.Write;case U.Text:return f.languages.DocumentHighlightKind.Text}return f.languages.DocumentHighlightKind.Text}var Yt=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),M(n))).then(t=>{if(t)return[Be(t)]})}};function Be(e){return{uri:f.Uri.parse(e.uri),range:C(e.range)}}var $t=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),M(n))).then(a=>{if(a)return a.map(Be)})}},Gt=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),M(n),i)).then(a=>wt(a))}};function wt(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=f.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:C(t.range),text:t.newText}})}return{edits:n}}var bt=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(t=>Ct(t)?qe(t):{name:t.name,detail:\"\",containerName:t.containerName,kind:Xe(t.kind),range:C(t.location.range),selectionRange:C(t.location.range),tags:[]})})}};function Ct(e){return\"children\"in e}function qe(e){return{name:e.name,detail:e.detail??\"\",kind:Xe(e.kind),range:C(e.range),selectionRange:C(e.selectionRange),tags:e.tags??[],children:(e.children??[]).map(n=>qe(n))}}function Xe(e){let n=f.languages.SymbolKind;switch(e){case m.File:return n.File;case m.Module:return n.Module;case m.Namespace:return n.Namespace;case m.Package:return n.Package;case m.Class:return n.Class;case m.Method:return n.Method;case m.Property:return n.Property;case m.Field:return n.Field;case m.Constructor:return n.Constructor;case m.Enum:return n.Enum;case m.Interface:return n.Interface;case m.Function:return n.Function;case m.Variable:return n.Variable;case m.Constant:return n.Constant;case m.String:return n.String;case m.Number:return n.Number;case m.Boolean:return n.Boolean;case m.Array:return n.Array}return n.Function}var Qt=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(t=>({range:C(t.range),url:t.target}))}})}},Et=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Je(n)).then(a=>{if(!(!a||a.length===0))return a.map(X)}))}},At=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),ze(n),Je(i)).then(s=>{if(!(!s||s.length===0))return s.map(X)}))}};function Je(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var St=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(t=>({color:t.color,range:C(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,ze(n.range))).then(t=>{if(t)return t.map(a=>{let s={label:a.label};return a.textEdit&&(s.textEdit=X(a.textEdit)),a.additionalTextEdits&&(s.additionalTextEdits=a.additionalTextEdits.map(X)),s})})}},It=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(t)return t.map(a=>{const s={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<\"u\"&&(s.kind=yt(a.kind)),s})})}};function yt(e){switch(e){case W.Comment:return f.languages.FoldingRangeKind.Comment;case W.Imports:return f.languages.FoldingRangeKind.Imports;case W.Region:return f.languages.FoldingRangeKind.Region}}var Tt=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(M))).then(t=>{if(t)return t.map(a=>{const s=[];for(;a;)s.push({range:C(a.range)}),a=a.parent;return s})})}};function Pt(e,n){n===void 0&&(n=!1);var i=e.length,r=0,t=\"\",a=0,s=16,u=0,l=0,c=0,v=0,g=0;function b(d,A){for(var I=0,E=0;I<d;){var k=e.charCodeAt(r);if(k>=48&&k<=57)E=E*16+k-48;else if(k>=65&&k<=70)E=E*16+k-65+10;else if(k>=97&&k<=102)E=E*16+k-97+10;else break;r++,I++}return I<d&&(E=-1),E}function h(d){r=d,t=\"\",a=0,s=16,g=0}function y(){var d=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&L(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&L(e.charCodeAt(r)))for(r++;r<e.length&&L(e.charCodeAt(r));)r++;else return g=3,e.substring(d,r);var A=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&L(e.charCodeAt(r))){for(r++;r<e.length&&L(e.charCodeAt(r));)r++;A=r}else g=3;return e.substring(d,A)}function D(){for(var d=\"\",A=r;;){if(r>=i){d+=e.substring(A,r),g=2;break}var I=e.charCodeAt(r);if(I===34){d+=e.substring(A,r),r++;break}if(I===92){if(d+=e.substring(A,r),r++,r>=i){g=2;break}var E=e.charCodeAt(r++);switch(E){case 34:d+='\"';break;case 92:d+=\"\\\\\";break;case 47:d+=\"/\";break;case 98:d+=\"\\b\";break;case 102:d+=\"\\f\";break;case 110:d+=`\n`;break;case 114:d+=\"\\r\";break;case 116:d+=\"\t\";break;case 117:var k=b(4);k>=0?d+=String.fromCharCode(k):g=4;break;default:g=5}A=r;continue}if(I>=0&&I<=31)if(j(I)){d+=e.substring(A,r),g=2;break}else g=6;r++}return d}function x(){if(t=\"\",g=0,a=r,l=u,v=c,r>=i)return a=i,s=17;var d=e.charCodeAt(r);if(K(d)){do r++,t+=String.fromCharCode(d),d=e.charCodeAt(r);while(K(d));return s=15}if(j(d))return r++,t+=String.fromCharCode(d),d===13&&e.charCodeAt(r)===10&&(r++,t+=`\n`),u++,c=r,s=14;switch(d){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,t=D(),s=10;case 47:var A=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<i&&!j(e.charCodeAt(r));)r++;return t=e.substring(A,r),s=12}if(e.charCodeAt(r+1)===42){r+=2;for(var I=i-1,E=!1;r<I;){var k=e.charCodeAt(r);if(k===42&&e.charCodeAt(r+1)===47){r+=2,E=!0;break}r++,j(k)&&(k===13&&e.charCodeAt(r)===10&&r++,u++,c=r)}return E||(r++,g=1),t=e.substring(A,r),s=13}return t+=String.fromCharCode(d),r++,s=16;case 45:if(t+=String.fromCharCode(d),r++,r===i||!L(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t+=y(),s=11;default:for(;r<i&&Qe(d);)r++,d=e.charCodeAt(r);if(a!==r){switch(t=e.substring(a,r),t){case\"true\":return s=8;case\"false\":return s=9;case\"null\":return s=7}return s=16}return t+=String.fromCharCode(d),r++,s=16}}function Qe(d){if(K(d)||j(d))return!1;switch(d){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function Ze(){var d;do d=x();while(d>=12&&d<=15);return d}return{setPosition:h,getPosition:function(){return r},scan:n?Ze:x,getToken:function(){return s},getTokenValue:function(){return t},getTokenOffset:function(){return a},getTokenLength:function(){return r-a},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return a-v},getTokenError:function(){return g}}}function K(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function j(e){return e===10||e===13||e===8232||e===8233}function L(e){return e>=48&&e<=57}var We;(function(e){e.DEFAULT={allowTrailingComma:!1}})(We||(We={}));var Rt=Pt;function Mt(e){return{getInitialState:()=>new $e(null,null,!1,null),tokenize:(n,i)=>Vt(e,n,i)}}var Ue=\"delimiter.bracket.json\",Ve=\"delimiter.array.json\",Dt=\"delimiter.colon.json\",Lt=\"delimiter.comma.json\",Nt=\"keyword.json\",Ot=\"keyword.json\",xt=\"string.value.json\",jt=\"number.json\",Ft=\"string.key.json\",Wt=\"comment.block.json\",Ut=\"comment.line.json\",F=class Ye{constructor(n,i){this.parent=n,this.type=i}static pop(n){return n?n.parent:null}static push(n,i){return new Ye(n,i)}static equals(n,i){if(!n&&!i)return!0;if(!n||!i)return!1;for(;n&&i;){if(n===i)return!0;if(n.type!==i.type)return!1;n=n.parent,i=i.parent}return!0}},$e=class se{constructor(n,i,r,t){this._state=n,this.scanError=i,this.lastWasColon=r,this.parents=t}clone(){return new se(this._state,this.scanError,this.lastWasColon,this.parents)}equals(n){return n===this?!0:!n||!(n instanceof se)?!1:this.scanError===n.scanError&&this.lastWasColon===n.lastWasColon&&F.equals(this.parents,n.parents)}getStateData(){return this._state}setStateData(n){this._state=n}};function Vt(e,n,i,r=0){let t=0,a=!1;switch(i.scanError){case 2:n='\"'+n,t=1;break;case 1:n=\"/*\"+n,t=2;break}const s=Rt(n);let u=i.lastWasColon,l=i.parents;const c={tokens:[],endState:i.clone()};for(;;){let v=r+s.getPosition(),g=\"\";const b=s.scan();if(b===17)break;if(v===r+s.getPosition())throw new Error(\"Scanner did not advance, next 3 characters are: \"+n.substr(s.getPosition(),3));switch(a&&(v-=t),a=t>0,b){case 1:l=F.push(l,0),g=Ue,u=!1;break;case 2:l=F.pop(l),g=Ue,u=!1;break;case 3:l=F.push(l,1),g=Ve,u=!1;break;case 4:l=F.pop(l),g=Ve,u=!1;break;case 6:g=Dt,u=!0;break;case 5:g=Lt,u=!1;break;case 8:case 9:g=Nt,u=!1;break;case 7:g=Ot,u=!1;break;case 10:const y=(l?l.type:0)===1;g=u||y?xt:Ft,u=!1;break;case 11:g=jt,u=!1;break}switch(b){case 12:g=Ut;break;case 13:g=Wt;break}c.endState=new $e(i.getStateData(),s.getTokenError(),u,l),c.tokens.push({startIndex:v,scopes:g})}return c}var S;function Zt(){return new Promise((e,n)=>{if(!S)return n(\"JSON not registered!\");e(S)})}var Ht=class extends ct{constructor(e,n,i){super(e,n,i.onDidChange),this._disposables.push(f.editor.onWillDisposeModel(r=>{this._resetSchema(r.uri)})),this._disposables.push(f.editor.onDidChangeModelLanguage(r=>{this._resetSchema(r.model.uri)}))}_resetSchema(e){this._worker().then(n=>{n.resetSchema(e.toString())})}};function Kt(e){const n=[],i=[],r=new ot(e);n.push(r),S=(...s)=>r.getLanguageServiceWorker(...s);function t(){const{languageId:s,modeConfiguration:u}=e;Ge(i),u.documentFormattingEdits&&i.push(f.languages.registerDocumentFormattingEditProvider(s,new Et(S))),u.documentRangeFormattingEdits&&i.push(f.languages.registerDocumentRangeFormattingEditProvider(s,new At(S))),u.completionItems&&i.push(f.languages.registerCompletionItemProvider(s,new lt(S,[\" \",\":\",'\"']))),u.hovers&&i.push(f.languages.registerHoverProvider(s,new pt(S))),u.documentSymbols&&i.push(f.languages.registerDocumentSymbolProvider(s,new bt(S))),u.tokens&&i.push(f.languages.setTokensProvider(s,Mt(!0))),u.colors&&i.push(f.languages.registerColorProvider(s,new St(S))),u.foldingRanges&&i.push(f.languages.registerFoldingRangeProvider(s,new It(S))),u.diagnostics&&i.push(new Ht(s,S,e)),u.selectionRanges&&i.push(f.languages.registerSelectionRangeProvider(s,new Tt(S)))}t(),n.push(f.languages.setLanguageConfiguration(e.languageId,zt));let a=e.modeConfiguration;return e.onDidChange(s=>{s.modeConfiguration!==a&&(a=s.modeConfiguration,t())}),n.push(He(i)),He(n)}function He(e){return{dispose:()=>Ge(e)}}function Ge(e){for(;e.length;)e.pop().dispose()}var zt={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\[\\{\\]\\}\\:\\\"\\,\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"]],autoClosingPairs:[{open:\"{\",close:\"}\",notIn:[\"string\"]},{open:\"[\",close:\"]\",notIn:[\"string\"]},{open:'\"',close:'\"',notIn:[\"string\"]}]};export{lt as CompletionAdapter,Yt as DefinitionAdapter,ct as DiagnosticsAdapter,St as DocumentColorAdapter,Et as DocumentFormattingEditProvider,Jt as DocumentHighlightAdapter,Qt as DocumentLinkAdapter,At as DocumentRangeFormattingEditProvider,bt as DocumentSymbolAdapter,It as FoldingRangeAdapter,pt as HoverAdapter,$t as ReferenceAdapter,Gt as RenameAdapter,Tt as SelectionRangeAdapter,ot as WorkerManager,M as fromPosition,ze as fromRange,Zt as getWorker,Kt as setupMode,C as toRange,X as toTextEdit};\n"
  },
  {
    "path": "backend/openui/dist/assets/markdown-7fQo6M4U.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{blockComment:[\"<!--\",\"-->\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\",notIn:[\"string\"]}],surroundingPairs:[{open:\"(\",close:\")\"},{open:\"[\",close:\"]\"},{open:\"`\",close:\"`\"}],folding:{markers:{start:new RegExp(\"^\\\\s*<!--\\\\s*#?region\\\\b.*-->\"),end:new RegExp(\"^\\\\s*<!--\\\\s*#?endregion\\\\b.*-->\")}}},t={defaultToken:\"\",tokenPostfix:\".md\",control:/[\\\\`*_\\[\\]{}()#+\\-\\.!]/,noncontrol:/[^\\\\`*_\\[\\]{}()#+\\-\\.!]/,escapes:/\\\\(?:@control)/,jsescapes:/\\\\(?:[btnfr\\\\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:[\"area\",\"base\",\"basefont\",\"br\",\"col\",\"frame\",\"hr\",\"img\",\"input\",\"isindex\",\"link\",\"meta\",\"param\"],tokenizer:{root:[[/^\\s*\\|/,\"@rematch\",\"@table_header\"],[/^(\\s{0,3})(#+)((?:[^\\\\#]|@escapes)+)((?:#+)?)/,[\"white\",\"keyword\",\"keyword\",\"keyword\"]],[/^\\s*(=+|\\-+)\\s*$/,\"keyword\"],[/^\\s*((\\*[ ]?)+)\\s*$/,\"meta.separator\"],[/^\\s*>+/,\"comment\"],[/^\\s*([\\*\\-+:]|\\d+\\.)\\s/,\"keyword\"],[/^(\\t|[ ]{4})[^ ].*$/,\"string\"],[/^\\s*~~~\\s*((?:\\w|[\\/\\-#])+)?\\s*$/,{token:\"string\",next:\"@codeblock\"}],[/^\\s*```\\s*((?:\\w|[\\/\\-#])+).*$/,{token:\"string\",next:\"@codeblockgh\",nextEmbedded:\"$1\"}],[/^\\s*```\\s*$/,{token:\"string\",next:\"@codeblock\"}],{include:\"@linecontent\"}],table_header:[{include:\"@table_common\"},[/[^\\|]+/,\"keyword.table.header\"]],table_body:[{include:\"@table_common\"},{include:\"@linecontent\"}],table_common:[[/\\s*[\\-:]+\\s*/,{token:\"keyword\",switchTo:\"table_body\"}],[/^\\s*\\|/,\"keyword.table.left\"],[/^\\s*[^\\|]/,\"@rematch\",\"@pop\"],[/^\\s*$/,\"@rematch\",\"@pop\"],[/\\|/,{cases:{\"@eos\":\"keyword.table.right\",\"@default\":\"keyword.table.middle\"}}]],codeblock:[[/^\\s*~~~\\s*$/,{token:\"string\",next:\"@pop\"}],[/^\\s*```\\s*$/,{token:\"string\",next:\"@pop\"}],[/.*$/,\"variable.source\"]],codeblockgh:[[/```\\s*$/,{token:\"string\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/[^`]+/,\"variable.source\"]],linecontent:[[/&\\w+;/,\"string.escape\"],[/@escapes/,\"escape\"],[/\\b__([^\\\\_]|@escapes|_(?!_))+__\\b/,\"strong\"],[/\\*\\*([^\\\\*]|@escapes|\\*(?!\\*))+\\*\\*/,\"strong\"],[/\\b_[^_]+_\\b/,\"emphasis\"],[/\\*([^\\\\*]|@escapes)+\\*/,\"emphasis\"],[/`([^\\\\`]|@escapes)+`/,\"variable\"],[/\\{+[^}]+\\}+/,\"string.target\"],[/(!?\\[)((?:[^\\]\\\\]|@escapes)*)(\\]\\([^\\)]+\\))/,[\"string.link\",\"\",\"string.link\"]],[/(!?\\[)((?:[^\\]\\\\]|@escapes)*)(\\])/,\"string.link\"],{include:\"html\"}],html:[[/<(\\w+)\\/>/,\"tag\"],[/<(\\w+)(\\-|\\w)*/,{cases:{\"@empty\":{token:\"tag\",next:\"@tag.$1\"},\"@default\":{token:\"tag\",next:\"@tag.$1\"}}}],[/<\\/(\\w+)(\\-|\\w)*\\s*>/,{token:\"tag\"}],[/<!--/,\"comment\",\"@comment\"]],comment:[[/[^<\\-]+/,\"comment.content\"],[/-->/,\"comment\",\"@pop\"],[/<!--/,\"comment.content.invalid\"],[/[<\\-]/,\"comment.content\"]],tag:[[/[ \\t\\r\\n]+/,\"white\"],[/(type)(\\s*=\\s*)(\")([^\"]+)(\")/,[\"attribute.name.html\",\"delimiter.html\",\"string.html\",{token:\"string.html\",switchTo:\"@tag.$S2.$4\"},\"string.html\"]],[/(type)(\\s*=\\s*)(')([^']+)(')/,[\"attribute.name.html\",\"delimiter.html\",\"string.html\",{token:\"string.html\",switchTo:\"@tag.$S2.$4\"},\"string.html\"]],[/(\\w+)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/,[\"attribute.name.html\",\"delimiter.html\",\"string.html\"]],[/\\w+/,\"attribute.name.html\"],[/\\/>/,\"tag\",\"@pop\"],[/>/,{cases:{\"$S2==style\":{token:\"tag\",switchTo:\"embeddedStyle\",nextEmbedded:\"text/css\"},\"$S2==script\":{cases:{$S3:{token:\"tag\",switchTo:\"embeddedScript\",nextEmbedded:\"$S3\"},\"@default\":{token:\"tag\",switchTo:\"embeddedScript\",nextEmbedded:\"text/javascript\"}}},\"@default\":{token:\"tag\",next:\"@pop\"}}}]],embeddedStyle:[[/[^<]+/,\"\"],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/</,\"\"]],embeddedScript:[[/[^<]+/,\"\"],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/</,\"\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "backend/openui/dist/assets/python-CsxvR8Mf.js",
    "content": "import{m as i}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,d=(t,e,n,s)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of c(e))!p.call(t,r)&&r!==n&&a(t,r,{get:()=>e[r],enumerable:!(s=l(e,r))||s.enumerable});return t},_=(t,e,n)=>(d(t,e,\"default\"),n),o={};_(o,i);var u={comments:{lineComment:\"#\",blockComment:[\"'''\",\"'''\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],onEnterRules:[{beforeText:new RegExp(\"^\\\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\\\s*$\"),action:{indentAction:o.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp(\"^\\\\s*#region\\\\b\"),end:new RegExp(\"^\\\\s*#endregion\\\\b\")}}},f={defaultToken:\"\",tokenPostfix:\".python\",keywords:[\"False\",\"None\",\"True\",\"_\",\"and\",\"as\",\"assert\",\"async\",\"await\",\"break\",\"case\",\"class\",\"continue\",\"def\",\"del\",\"elif\",\"else\",\"except\",\"exec\",\"finally\",\"for\",\"from\",\"global\",\"if\",\"import\",\"in\",\"is\",\"lambda\",\"match\",\"nonlocal\",\"not\",\"or\",\"pass\",\"print\",\"raise\",\"return\",\"try\",\"type\",\"while\",\"with\",\"yield\",\"int\",\"float\",\"long\",\"complex\",\"hex\",\"abs\",\"all\",\"any\",\"apply\",\"basestring\",\"bin\",\"bool\",\"buffer\",\"bytearray\",\"callable\",\"chr\",\"classmethod\",\"cmp\",\"coerce\",\"compile\",\"complex\",\"delattr\",\"dict\",\"dir\",\"divmod\",\"enumerate\",\"eval\",\"execfile\",\"file\",\"filter\",\"format\",\"frozenset\",\"getattr\",\"globals\",\"hasattr\",\"hash\",\"help\",\"id\",\"input\",\"intern\",\"isinstance\",\"issubclass\",\"iter\",\"len\",\"locals\",\"list\",\"map\",\"max\",\"memoryview\",\"min\",\"next\",\"object\",\"oct\",\"open\",\"ord\",\"pow\",\"print\",\"property\",\"reversed\",\"range\",\"raw_input\",\"reduce\",\"reload\",\"repr\",\"reversed\",\"round\",\"self\",\"set\",\"setattr\",\"slice\",\"sorted\",\"staticmethod\",\"str\",\"sum\",\"super\",\"tuple\",\"type\",\"unichr\",\"unicode\",\"vars\",\"xrange\",\"zip\",\"__dict__\",\"__methods__\",\"__members__\",\"__class__\",\"__bases__\",\"__name__\",\"__mro__\",\"__subclasses__\",\"__init__\",\"__import__\"],brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.bracket\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],tokenizer:{root:[{include:\"@whitespace\"},{include:\"@numbers\"},{include:\"@strings\"},[/[,:;]/,\"delimiter\"],[/[{}\\[\\]()]/,\"@brackets\"],[/@[a-zA-Z_]\\w*/,\"tag\"],[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}]],whitespace:[[/\\s+/,\"white\"],[/(^#.*$)/,\"comment\"],[/'''/,\"string\",\"@endDocString\"],[/\"\"\"/,\"string\",\"@endDblDocString\"]],endDocString:[[/[^']+/,\"string\"],[/\\\\'/,\"string\"],[/'''/,\"string\",\"@popall\"],[/'/,\"string\"]],endDblDocString:[[/[^\"]+/,\"string\"],[/\\\\\"/,\"string\"],[/\"\"\"/,\"string\",\"@popall\"],[/\"/,\"string\"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\\d)+[lL]?/,\"number.hex\"],[/-?(\\d*\\.)?\\d+([eE][+\\-]?\\d+)?[jJ]?[lL]?/,\"number\"]],strings:[[/'$/,\"string.escape\",\"@popall\"],[/'/,\"string.escape\",\"@stringBody\"],[/\"$/,\"string.escape\",\"@popall\"],[/\"/,\"string.escape\",\"@dblStringBody\"]],stringBody:[[/[^\\\\']+$/,\"string\",\"@popall\"],[/[^\\\\']+/,\"string\"],[/\\\\./,\"string\"],[/'/,\"string.escape\",\"@popall\"],[/\\\\$/,\"string\"]],dblStringBody:[[/[^\\\\\"]+$/,\"string\",\"@popall\"],[/[^\\\\\"]+/,\"string\"],[/\\\\./,\"string\"],[/\"/,\"string.escape\",\"@popall\"],[/\\\\$/,\"string\"]]}};export{u as conf,f as language};\n"
  },
  {
    "path": "backend/openui/dist/assets/standalone-BS_cqyLa.js",
    "content": "var Pt=Object.defineProperty;var $t=(e,u,t)=>u in e?Pt(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t;var he=(e,u,t)=>$t(e,typeof u!=\"symbol\"?u+\"\":u,t);var Lt=Object.create,eu=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Rt=Object.getOwnPropertyNames,Wt=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty,Hu=e=>{throw TypeError(e)},Gu=(e,u)=>()=>(u||e((u={exports:{}}).exports,u),u.exports),uu=(e,u)=>{for(var t in u)eu(e,t,{get:u[t],enumerable:!0})},Vt=(e,u,t,r)=>{if(u&&typeof u==\"object\"||typeof u==\"function\")for(let D of Rt(u))!zt.call(e,D)&&D!==t&&eu(e,D,{get:()=>u[D],enumerable:!(r=Mt(u,D))||r.enumerable});return e},we=(e,u,t)=>(t=e!=null?Lt(Wt(e)):{},Vt(eu(t,\"default\",{value:e,enumerable:!0}),e)),qt=(e,u,t)=>u.has(e)||Hu(\"Cannot \"+t),Jt=(e,u,t)=>u.has(e)?Hu(\"Cannot add the same private member more than once\"):u instanceof WeakSet?u.add(e):u.set(e,t),le=(e,u,t)=>(qt(e,u,\"access private method\"),t),tu=Gu((e,u)=>{var t=new Proxy(String,{get:()=>t});u.exports=t}),Kt=Gu(e=>{Object.defineProperty(e,\"__esModule\",{value:!0});function u(){return new Proxy({},{get:()=>n=>n})}var t=/\\r\\n|[\\n\\r\\u2028\\u2029]/;function r(n,o,a){let i=Object.assign({column:0,line:-1},n.start),s=Object.assign({},i,n.end),{linesAbove:l=2,linesBelow:F=3}=a||{},c=i.line,d=i.column,f=s.line,p=s.column,h=Math.max(c-(l+1),0),g=Math.min(o.length,f+F);c===-1&&(h=0),f===-1&&(g=o.length);let y=f-c,C={};if(y)for(let m=0;m<=y;m++){let E=m+c;if(!d)C[E]=!0;else if(m===0){let v=o[E-1].length;C[E]=[d,v-d+1]}else if(m===y)C[E]=[0,p];else{let v=o[E-m].length;C[E]=[0,v]}}else d===p?d?C[c]=[d,0]:C[c]=!0:C[c]=[d,p-d];return{start:h,end:g,markerLines:C}}function D(n,o,a={}){let i=u(),s=n.split(t),{start:l,end:F,markerLines:c}=r(o,s,a),d=o.start&&typeof o.start.column==\"number\",f=String(F).length,p=n.split(t,F).slice(l,F).map((h,g)=>{let y=l+1+g,C=` ${` ${y}`.slice(-f)} |`,m=c[y],E=!c[y+1];if(m){let v=\"\";if(Array.isArray(m)){let A=h.slice(0,Math.max(m[0]-1,0)).replace(/[^\\t]/g,\" \"),N=m[1]||1;v=[`\n `,i.gutter(C.replace(/\\d/g,\" \")),\" \",A,i.marker(\"^\").repeat(N)].join(\"\"),E&&a.message&&(v+=\" \"+i.message(a.message))}return[i.marker(\">\"),i.gutter(C),h.length>0?` ${h}`:\"\",v].join(\"\")}else return` ${i.gutter(C)}${h.length>0?` ${h}`:\"\"}`}).join(`\n`);return a.message&&!d&&(p=`${\" \".repeat(f+1)}${a.message}\n${p}`),p}e.codeFrameColumns=D}),Yu={};uu(Yu,{__debug:()=>eo,check:()=>QD,doc:()=>Ot,format:()=>Tt,formatWithCursor:()=>jt,getSupportInfo:()=>XD,util:()=>_t,version:()=>wD});var Ut=(e,u,t,r)=>{if(!(e&&u==null))return u.replaceAll?u.replaceAll(t,r):t.global?u.replace(t,r):u.split(t).join(r)},ke=Ut;function _(){}_.prototype={diff:function(e,u){var t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=r.callback;typeof r==\"function\"&&(D=r,r={});var n=this;function o(C){return C=n.postProcess(C,r),D?(setTimeout(function(){D(C)},0),!0):C}e=this.castInput(e,r),u=this.castInput(u,r),e=this.removeEmpty(this.tokenize(e,r)),u=this.removeEmpty(this.tokenize(u,r));var a=u.length,i=e.length,s=1,l=a+i;r.maxEditLength!=null&&(l=Math.min(l,r.maxEditLength));var F=(t=r.timeout)!==null&&t!==void 0?t:1/0,c=Date.now()+F,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],u,e,0,r);if(d[0].oldPos+1>=i&&f+1>=a)return o(Cu(n,d[0].lastComponent,u,e,n.useLongestToken));var p=-1/0,h=1/0;function g(){for(var C=Math.max(p,-s);C<=Math.min(h,s);C+=2){var m=void 0,E=d[C-1],v=d[C+1];E&&(d[C-1]=void 0);var A=!1;if(v){var N=v.oldPos-C;A=v&&0<=N&&N<a}var ue=E&&E.oldPos+1<i;if(!A&&!ue){d[C]=void 0;continue}if(!ue||A&&E.oldPos<v.oldPos?m=n.addToPath(v,!0,!1,0,r):m=n.addToPath(E,!1,!0,1,r),f=n.extractCommon(m,u,e,C,r),m.oldPos+1>=i&&f+1>=a)return o(Cu(n,m.lastComponent,u,e,n.useLongestToken));d[C]=m,m.oldPos+1>=i&&(h=Math.min(h,C-1)),f+1>=a&&(p=Math.max(p,C+1))}s++}if(D)(function C(){setTimeout(function(){if(s>l||Date.now()>c)return D();g()||C()},0)})();else for(;s<=l&&Date.now()<=c;){var y=g();if(y)return y}},addToPath:function(e,u,t,r,D){var n=e.lastComponent;return n&&!D.oneChangePerToken&&n.added===u&&n.removed===t?{oldPos:e.oldPos+r,lastComponent:{count:n.count+1,added:u,removed:t,previousComponent:n.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:u,removed:t,previousComponent:n}}},extractCommon:function(e,u,t,r,D){for(var n=u.length,o=t.length,a=e.oldPos,i=a-r,s=0;i+1<n&&a+1<o&&this.equals(t[a+1],u[i+1],D);)i++,a++,s++,D.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return s&&!D.oneChangePerToken&&(e.lastComponent={count:s,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=a,i},equals:function(e,u,t){return t.comparator?t.comparator(e,u):e===u||t.ignoreCase&&e.toLowerCase()===u.toLowerCase()},removeEmpty:function(e){for(var u=[],t=0;t<e.length;t++)e[t]&&u.push(e[t]);return u},castInput:function(e){return e},tokenize:function(e){return Array.from(e)},join:function(e){return e.join(\"\")},postProcess:function(e){return e}};function Cu(e,u,t,r,D){for(var n=[],o;u;)n.push(u),o=u.previousComponent,delete u.previousComponent,u=o;n.reverse();for(var a=0,i=n.length,s=0,l=0;a<i;a++){var F=n[a];if(F.removed)F.value=e.join(r.slice(l,l+F.count)),l+=F.count;else{if(!F.added&&D){var c=t.slice(s,s+F.count);c=c.map(function(d,f){var p=r[l+f];return p.length>d.length?p:d}),F.value=e.join(c)}else F.value=e.join(t.slice(s,s+F.count));s+=F.count,F.added||(l+=F.count)}}return n}function mu(e,u){var t;for(t=0;t<e.length&&t<u.length;t++)if(e[t]!=u[t])return e.slice(0,t);return e.slice(0,t)}function gu(e,u){var t;if(!e||!u||e[e.length-1]!=u[u.length-1])return\"\";for(t=0;t<e.length&&t<u.length;t++)if(e[e.length-(t+1)]!=u[u.length-(t+1)])return e.slice(-t);return e.slice(-t)}function ze(e,u,t){if(e.slice(0,u.length)!=u)throw Error(\"string \".concat(JSON.stringify(e),\" doesn't start with prefix \").concat(JSON.stringify(u),\"; this is a bug\"));return t+e.slice(u.length)}function Ve(e,u,t){if(!u)return e+t;if(e.slice(-u.length)!=u)throw Error(\"string \".concat(JSON.stringify(e),\" doesn't end with suffix \").concat(JSON.stringify(u),\"; this is a bug\"));return e.slice(0,-u.length)+t}function ce(e,u){return ze(e,u,\"\")}function Ce(e,u){return Ve(e,u,\"\")}function Eu(e,u){return u.slice(0,Ht(e,u))}function Ht(e,u){var t=0;e.length>u.length&&(t=e.length-u.length);var r=u.length;e.length<u.length&&(r=e.length);var D=Array(r),n=0;D[0]=0;for(var o=1;o<r;o++){for(u[o]==u[n]?D[o]=D[n]:D[o]=n;n>0&&u[o]!=u[n];)n=D[n];u[o]==u[n]&&n++}n=0;for(var a=t;a<e.length;a++){for(;n>0&&e[a]!=u[n];)n=D[n];e[a]==u[n]&&n++}return n}var Be=\"a-zA-Z0-9_\\\\u{C0}-\\\\u{FF}\\\\u{D8}-\\\\u{F6}\\\\u{F8}-\\\\u{2C6}\\\\u{2C8}-\\\\u{2D7}\\\\u{2DE}-\\\\u{2FF}\\\\u{1E00}-\\\\u{1EFF}\",Gt=new RegExp(\"[\".concat(Be,\"]+|\\\\s+|[^\").concat(Be,\"]\"),\"ug\"),Se=new _;Se.equals=function(e,u,t){return t.ignoreCase&&(e=e.toLowerCase(),u=u.toLowerCase()),e.trim()===u.trim()};Se.tokenize=function(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t;if(u.intlSegmenter){if(u.intlSegmenter.resolvedOptions().granularity!=\"word\")throw new Error('The segmenter passed must have a granularity of \"word\"');t=Array.from(u.intlSegmenter.segment(e),function(n){return n.segment})}else t=e.match(Gt)||[];var r=[],D=null;return t.forEach(function(n){/\\s/.test(n)?D==null?r.push(n):r.push(r.pop()+n):/\\s/.test(D)?r[r.length-1]==D?r.push(r.pop()+n):r.push(D+n):r.push(n),D=n}),r};Se.join=function(e){return e.map(function(u,t){return t==0?u:u.replace(/^\\s+/,\"\")}).join(\"\")};Se.postProcess=function(e,u){if(!e||u.oneChangePerToken)return e;var t=null,r=null,D=null;return e.forEach(function(n){n.added?r=n:n.removed?D=n:((r||D)&&yu(t,D,r,n),t=n,r=null,D=null)}),(r||D)&&yu(t,D,r,null),e};function yu(e,u,t,r){if(u&&t){var D=u.value.match(/^\\s*/)[0],n=u.value.match(/\\s*$/)[0],o=t.value.match(/^\\s*/)[0],a=t.value.match(/\\s*$/)[0];if(e){var i=mu(D,o);e.value=Ve(e.value,o,i),u.value=ce(u.value,i),t.value=ce(t.value,i)}if(r){var s=gu(n,a);r.value=ze(r.value,a,s),u.value=Ce(u.value,s),t.value=Ce(t.value,s)}}else if(t)e&&(t.value=t.value.replace(/^\\s*/,\"\")),r&&(r.value=r.value.replace(/^\\s*/,\"\"));else if(e&&r){var l=r.value.match(/^\\s*/)[0],F=u.value.match(/^\\s*/)[0],c=u.value.match(/\\s*$/)[0],d=mu(l,F);u.value=ce(u.value,d);var f=gu(ce(l,d),c);u.value=Ce(u.value,f),r.value=ze(r.value,l,f),e.value=Ve(e.value,l,l.slice(0,l.length-f.length))}else if(r){var p=r.value.match(/^\\s*/)[0],h=u.value.match(/\\s*$/)[0],g=Eu(h,p);u.value=Ce(u.value,g)}else if(e){var y=e.value.match(/\\s*$/)[0],C=u.value.match(/^\\s*/)[0],m=Eu(y,C);u.value=ce(u.value,m)}}var Yt=new _;Yt.tokenize=function(e){var u=new RegExp(\"(\\\\r?\\\\n)|[\".concat(Be,\"]+|[^\\\\S\\\\n\\\\r]+|[^\").concat(Be,\"]\"),\"ug\");return e.match(u)||[]};var ru=new _;ru.tokenize=function(e,u){u.stripTrailingCr&&(e=e.replace(/\\r\\n/g,`\n`));var t=[],r=e.split(/(\\n|\\r\\n)/);r[r.length-1]||r.pop();for(var D=0;D<r.length;D++){var n=r[D];D%2&&!u.newlineIsToken?t[t.length-1]+=n:t.push(n)}return t};ru.equals=function(e,u,t){return t.ignoreWhitespace?((!t.newlineIsToken||!e.includes(`\n`))&&(e=e.trim()),(!t.newlineIsToken||!u.includes(`\n`))&&(u=u.trim())):t.ignoreNewlineAtEof&&!t.newlineIsToken&&(e.endsWith(`\n`)&&(e=e.slice(0,-1)),u.endsWith(`\n`)&&(u=u.slice(0,-1))),_.prototype.equals.call(this,e,u,t)};var Zt=new _;Zt.tokenize=function(e){return e.split(/(\\S.+?[.!?])(?=\\s+|$)/)};var Qt=new _;Qt.tokenize=function(e){return e.split(/([{}:;,]|\\s+)/)};function qe(e){\"@babel/helpers - typeof\";return qe=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(u){return typeof u}:function(u){return u&&typeof Symbol==\"function\"&&u.constructor===Symbol&&u!==Symbol.prototype?\"symbol\":typeof u},qe(e)}var de=new _;de.useLongestToken=!0;de.tokenize=ru.tokenize;de.castInput=function(e,u){var t=u.undefinedReplacement,r=u.stringifyReplacer,D=r===void 0?function(n,o){return typeof o>\"u\"?t:o}:r;return typeof e==\"string\"?e:JSON.stringify(Je(e,null,null,D),D,\"  \")};de.equals=function(e,u,t){return _.prototype.equals.call(de,e.replace(/,([\\r\\n])/g,\"$1\"),u.replace(/,([\\r\\n])/g,\"$1\"),t)};function Je(e,u,t,r,D){u=u||[],t=t||[],r&&(e=r(D,e));var n;for(n=0;n<u.length;n+=1)if(u[n]===e)return t[n];var o;if(Object.prototype.toString.call(e)===\"[object Array]\"){for(u.push(e),o=new Array(e.length),t.push(o),n=0;n<e.length;n+=1)o[n]=Je(e[n],u,t,r,D);return u.pop(),t.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),qe(e)===\"object\"&&e!==null){u.push(e),o={},t.push(o);var a=[],i;for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&a.push(i);for(a.sort(),n=0;n<a.length;n+=1)i=a[n],o[i]=Je(e[i],u,t,r,i);u.pop(),t.pop()}else o=e;return o}var be=new _;be.tokenize=function(e){return e.slice()};be.join=be.removeEmpty=function(e){return e};function Xt(e,u,t){return be.diff(e,u,t)}function er(e){let u=e.indexOf(\"\\r\");return u!==-1?e.charAt(u+1)===`\n`?\"crlf\":\"cr\":\"lf\"}function nu(e){switch(e){case\"cr\":return\"\\r\";case\"crlf\":return`\\r\n`;default:return`\n`}}function Zu(e,u){let t;switch(u){case`\n`:t=/\\n/gu;break;case\"\\r\":t=/\\r/gu;break;case`\\r\n`:t=/\\r\\n/gu;break;default:throw new Error(`Unexpected \"eol\" ${JSON.stringify(u)}.`)}let r=e.match(t);return r?r.length:0}function ur(e){return ke(!1,e,/\\r\\n?/gu,`\n`)}var Q=\"string\",P=\"array\",X=\"cursor\",$=\"indent\",L=\"align\",M=\"trim\",k=\"group\",j=\"fill\",S=\"if-break\",R=\"indent-if-break\",W=\"line-suffix\",z=\"line-suffix-boundary\",b=\"line\",T=\"label\",x=\"break-parent\",Qu=new Set([X,$,L,M,k,j,S,R,W,z,b,T,x]),tr=(e,u,t)=>{if(!(e&&u==null))return Array.isArray(u)||typeof u==\"string\"?u[t<0?u.length+t:t]:u.at(t)},B=tr;function rr(e){if(typeof e==\"string\")return Q;if(Array.isArray(e))return P;if(!e)return;let{type:u}=e;if(Qu.has(u))return u}var ee=rr,nr=e=>new Intl.ListFormat(\"en-US\",{type:\"disjunction\"}).format(e);function Dr(e){let u=e===null?\"null\":typeof e;if(u!==\"string\"&&u!==\"object\")return`Unexpected doc '${u}', \nExpected it to be 'string' or 'object'.`;if(ee(e))throw new Error(\"doc is valid.\");let t=Object.prototype.toString.call(e);if(t!==\"[object Object]\")return`Unexpected doc '${t}'.`;let r=nr([...Qu].map(D=>`'${D}'`));return`Unexpected doc.type '${e.type}'.\nExpected it to be ${r}.`}var or=class extends Error{constructor(u){super(Dr(u));he(this,\"name\",\"InvalidDocError\");this.doc=u}},ae=or,vu={};function ar(e,u,t,r){let D=[e];for(;D.length>0;){let n=D.pop();if(n===vu){t(D.pop());continue}t&&D.push(n,vu);let o=ee(n);if(!o)throw new ae(n);if((u==null?void 0:u(n))!==!1)switch(o){case P:case j:{let a=o===P?n:n.parts;for(let i=a.length,s=i-1;s>=0;--s)D.push(a[s]);break}case S:D.push(n.flatContents,n.breakContents);break;case k:if(r&&n.expandedStates)for(let a=n.expandedStates.length,i=a-1;i>=0;--i)D.push(n.expandedStates[i]);else D.push(n.contents);break;case L:case $:case R:case T:case W:D.push(n.contents);break;case Q:case X:case M:case z:case b:case x:break;default:throw new ae(n)}}}var Du=ar;function xe(e,u){if(typeof e==\"string\")return u(e);let t=new Map;return r(e);function r(n){if(t.has(n))return t.get(n);let o=D(n);return t.set(n,o),o}function D(n){switch(ee(n)){case P:return u(n.map(r));case j:return u({...n,parts:n.parts.map(r)});case S:return u({...n,breakContents:r(n.breakContents),flatContents:r(n.flatContents)});case k:{let{expandedStates:o,contents:a}=n;return o?(o=o.map(r),a=o[0]):a=r(a),u({...n,contents:a,expandedStates:o})}case L:case $:case R:case T:case W:return u({...n,contents:r(n.contents)});case Q:case X:case M:case z:case b:case x:return u(n);default:throw new ae(n)}}}function ou(e,u,t){let r=t,D=!1;function n(o){if(D)return!1;let a=u(o);a!==void 0&&(D=!0,r=a)}return Du(e,n),r}function ir(e){if(e.type===k&&e.break||e.type===b&&e.hard||e.type===x)return!0}function sr(e){return ou(e,ir,!1)}function Bu(e){if(e.length>0){let u=B(!1,e,-1);!u.expandedStates&&!u.break&&(u.break=\"propagated\")}return null}function lr(e){let u=new Set,t=[];function r(n){if(n.type===x&&Bu(t),n.type===k){if(t.push(n),u.has(n))return!1;u.add(n)}}function D(n){n.type===k&&t.pop().break&&Bu(t)}Du(e,r,D,!0)}function cr(e){return e.type===b&&!e.hard?e.soft?\"\":\" \":e.type===S?e.flatContents:e}function fr(e){return xe(e,cr)}function bu(e){for(e=[...e];e.length>=2&&B(!1,e,-2).type===b&&B(!1,e,-1).type===x;)e.length-=2;if(e.length>0){let u=fe(B(!1,e,-1));e[e.length-1]=u}return e}function fe(e){switch(ee(e)){case $:case R:case k:case W:case T:{let u=fe(e.contents);return{...e,contents:u}}case S:return{...e,breakContents:fe(e.breakContents),flatContents:fe(e.flatContents)};case j:return{...e,parts:bu(e.parts)};case P:return bu(e);case Q:return e.replace(/[\\n\\r]*$/u,\"\");case L:case X:case M:case z:case b:case x:break;default:throw new ae(e)}return e}function Xu(e){return fe(Fr(e))}function dr(e){switch(ee(e)){case j:if(e.parts.every(u=>u===\"\"))return\"\";break;case k:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return\"\";if(e.contents.type===k&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case L:case $:case R:case W:if(!e.contents)return\"\";break;case S:if(!e.flatContents&&!e.breakContents)return\"\";break;case P:{let u=[];for(let t of e){if(!t)continue;let[r,...D]=Array.isArray(t)?t:[t];typeof r==\"string\"&&typeof B(!1,u,-1)==\"string\"?u[u.length-1]+=r:u.push(r),u.push(...D)}return u.length===0?\"\":u.length===1?u[0]:u}case Q:case X:case M:case z:case b:case T:case x:break;default:throw new ae(e)}return e}function Fr(e){return xe(e,u=>dr(u))}function pr(e,u=rt){return xe(e,t=>typeof t==\"string\"?nt(u,t.split(`\n`)):t)}function hr(e){if(e.type===b)return!0}function Cr(e){return ou(e,hr,!1)}function Ee(e,u){return e.type===T?{...e,contents:u(e.contents)}:u(e)}var mr=()=>{},gr=mr;function Ae(e){return{type:$,contents:e}}function ie(e,u){return{type:L,contents:u,n:e}}function et(e,u={}){return gr(u.expandedStates),{type:k,id:u.id,contents:e,break:!!u.shouldBreak,expandedStates:u.expandedStates}}function Er(e){return ie(Number.NEGATIVE_INFINITY,e)}function yr(e){return ie({type:\"root\"},e)}function vr(e){return ie(-1,e)}function Br(e,u){return et(e[0],{...u,expandedStates:e})}function br(e){return{type:j,parts:e}}function Ar(e,u=\"\",t={}){return{type:S,breakContents:e,flatContents:u,groupId:t.groupId}}function wr(e,u){return{type:R,contents:e,groupId:u.groupId,negate:u.negate}}function Ke(e){return{type:W,contents:e}}var kr={type:z},Ne={type:x},Sr={type:M},au={type:b,hard:!0},ut={type:b,hard:!0,literal:!0},tt={type:b},xr={type:b,soft:!0},Y=[au,Ne],rt=[ut,Ne],G={type:X};function nt(e,u){let t=[];for(let r=0;r<u.length;r++)r!==0&&t.push(e),t.push(u[r]);return t}function Dt(e,u,t){let r=e;if(u>0){for(let D=0;D<Math.floor(u/t);++D)r=Ae(r);r=ie(u%t,r),r=ie(Number.NEGATIVE_INFINITY,r)}return r}function Nr(e,u){return e?{type:T,label:e,contents:u}:u}function I(e){var u;if(!e)return\"\";if(Array.isArray(e)){let t=[];for(let r of e)if(Array.isArray(r))t.push(...I(r));else{let D=I(r);D!==\"\"&&t.push(D)}return t}return e.type===S?{...e,breakContents:I(e.breakContents),flatContents:I(e.flatContents)}:e.type===k?{...e,contents:I(e.contents),expandedStates:(u=e.expandedStates)==null?void 0:u.map(I)}:e.type===j?{type:\"fill\",parts:e.parts.map(I)}:e.contents?{...e,contents:I(e.contents)}:e}function Or(e){let u=Object.create(null),t=new Set;return r(I(e));function r(n,o,a){var i,s;if(typeof n==\"string\")return JSON.stringify(n);if(Array.isArray(n)){let l=n.map(r).filter(Boolean);return l.length===1?l[0]:`[${l.join(\", \")}]`}if(n.type===b){let l=((i=a==null?void 0:a[o+1])==null?void 0:i.type)===x;return n.literal?l?\"literalline\":\"literallineWithoutBreakParent\":n.hard?l?\"hardline\":\"hardlineWithoutBreakParent\":n.soft?\"softline\":\"line\"}if(n.type===x)return((s=a==null?void 0:a[o-1])==null?void 0:s.type)===b&&a[o-1].hard?void 0:\"breakParent\";if(n.type===M)return\"trim\";if(n.type===$)return\"indent(\"+r(n.contents)+\")\";if(n.type===L)return n.n===Number.NEGATIVE_INFINITY?\"dedentToRoot(\"+r(n.contents)+\")\":n.n<0?\"dedent(\"+r(n.contents)+\")\":n.n.type===\"root\"?\"markAsRoot(\"+r(n.contents)+\")\":\"align(\"+JSON.stringify(n.n)+\", \"+r(n.contents)+\")\";if(n.type===S)return\"ifBreak(\"+r(n.breakContents)+(n.flatContents?\", \"+r(n.flatContents):\"\")+(n.groupId?(n.flatContents?\"\":', \"\"')+`, { groupId: ${D(n.groupId)} }`:\"\")+\")\";if(n.type===R){let l=[];n.negate&&l.push(\"negate: true\"),n.groupId&&l.push(`groupId: ${D(n.groupId)}`);let F=l.length>0?`, { ${l.join(\", \")} }`:\"\";return`indentIfBreak(${r(n.contents)}${F})`}if(n.type===k){let l=[];n.break&&n.break!==\"propagated\"&&l.push(\"shouldBreak: true\"),n.id&&l.push(`id: ${D(n.id)}`);let F=l.length>0?`, { ${l.join(\", \")} }`:\"\";return n.expandedStates?`conditionalGroup([${n.expandedStates.map(c=>r(c)).join(\",\")}]${F})`:`group(${r(n.contents)}${F})`}if(n.type===j)return`fill([${n.parts.map(l=>r(l)).join(\", \")}])`;if(n.type===W)return\"lineSuffix(\"+r(n.contents)+\")\";if(n.type===z)return\"lineSuffixBoundary\";if(n.type===T)return`label(${JSON.stringify(n.label)}, ${r(n.contents)})`;throw new Error(\"Unknown doc type \"+n.type)}function D(n){if(typeof n!=\"symbol\")return JSON.stringify(String(n));if(n in u)return u[n];let o=n.description||\"symbol\";for(let a=0;;a++){let i=o+(a>0?` #${a}`:\"\");if(!t.has(i))return t.add(i),u[n]=`Symbol.for(${JSON.stringify(i)})`}}}var _r=()=>/[#*0-9]\\uFE0F?\\u20E3|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26AA\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C8\\u26CF\\u26D1\\u26E9\\u26F0-\\u26F5\\u26F7\\u26F8\\u26FA\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2757\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B55\\u3030\\u303D\\u3297\\u3299]\\uFE0F?|[\\u261D\\u270C\\u270D](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?|[\\u270A\\u270B](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u2693\\u26A1\\u26AB\\u26C5\\u26CE\\u26D4\\u26EA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2795-\\u2797\\u27B0\\u27BF\\u2B50]|\\u26D3\\uFE0F?(?:\\u200D\\uD83D\\uDCA5)?|\\u26F9(?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\u2764\\uFE0F?(?:\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79))?|\\uD83C(?:[\\uDC04\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]\\uFE0F?|[\\uDF85\\uDFC2\\uDFC7](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDFC4\\uDFCA](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDFCB\\uDFCC](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF43\\uDF45-\\uDF4A\\uDF4C-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uDDE6\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF]|\\uDDE7\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF]|\\uDDE8\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF7\\uDDFA-\\uDDFF]|\\uDDE9\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF]|\\uDDEA\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA]|\\uDDEB\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7]|\\uDDEC\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE]|\\uDDED\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA]|\\uDDEE\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9]|\\uDDEF\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5]|\\uDDF0\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF]|\\uDDF1\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE]|\\uDDF2\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF]|\\uDDF3\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF]|\\uDDF4\\uD83C\\uDDF2|\\uDDF5\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE]|\\uDDF6\\uD83C\\uDDE6|\\uDDF7\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC]|\\uDDF8\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF]|\\uDDF9\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF]|\\uDDFA\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF]|\\uDDFB\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA]|\\uDDFC\\uD83C[\\uDDEB\\uDDF8]|\\uDDFD\\uD83C\\uDDF0|\\uDDFE\\uD83C[\\uDDEA\\uDDF9]|\\uDDFF\\uD83C[\\uDDE6\\uDDF2\\uDDFC]|\\uDF44(?:\\u200D\\uD83D\\uDFEB)?|\\uDF4B(?:\\u200D\\uD83D\\uDFE9)?|\\uDFC3(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?|\\uDFF3\\uFE0F?(?:\\u200D(?:\\u26A7\\uFE0F?|\\uD83C\\uDF08))?|\\uDFF4(?:\\u200D\\u2620\\uFE0F?|\\uDB40\\uDC67\\uDB40\\uDC62\\uDB40(?:\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67|\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73)\\uDB40\\uDC7F)?)|\\uD83D(?:[\\uDC3F\\uDCFD\\uDD49\\uDD4A\\uDD6F\\uDD70\\uDD73\\uDD76-\\uDD79\\uDD87\\uDD8A-\\uDD8D\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA\\uDECB\\uDECD-\\uDECF\\uDEE0-\\uDEE5\\uDEE9\\uDEF0\\uDEF3]\\uFE0F?|[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE4C\\uDE4F\\uDEC0\\uDECC](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4\\uDEB5](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDD74\\uDD90](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?|[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\uDC25\\uDC27-\\uDC3A\\uDC3C-\\uDC3E\\uDC40\\uDC44\\uDC45\\uDC51-\\uDC65\\uDC6A\\uDC79-\\uDC7B\\uDC7D-\\uDC80\\uDC84\\uDC88-\\uDC8E\\uDC90\\uDC92-\\uDCA9\\uDCAB-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDDA4\\uDDFB-\\uDE2D\\uDE2F-\\uDE34\\uDE37-\\uDE41\\uDE43\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEDC-\\uDEDF\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB\\uDFF0]|\\uDC08(?:\\u200D\\u2B1B)?|\\uDC15(?:\\u200D\\uD83E\\uDDBA)?|\\uDC26(?:\\u200D(?:\\u2B1B|\\uD83D\\uDD25))?|\\uDC3B(?:\\u200D\\u2744\\uFE0F?)?|\\uDC41\\uFE0F?(?:\\u200D\\uD83D\\uDDE8\\uFE0F?)?|\\uDC68(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D(?:[\\uDC68\\uDC69]\\u200D\\uD83D(?:\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?)|[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?)|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFC-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB-\\uDFFE])))?))?|\\uDC69(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?[\\uDC68\\uDC69]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D(?:[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?|\\uDC69\\u200D\\uD83D(?:\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?))|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFC-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB-\\uDFFE])))?))?|\\uDC6F(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\uDD75(?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\uDE2E(?:\\u200D\\uD83D\\uDCA8)?|\\uDE35(?:\\u200D\\uD83D\\uDCAB)?|\\uDE36(?:\\u200D\\uD83C\\uDF2B\\uFE0F?)?|\\uDE42(?:\\u200D[\\u2194\\u2195]\\uFE0F?)?|\\uDEB6(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?)|\\uD83E(?:[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5\\uDEC3-\\uDEC5\\uDEF0\\uDEF2-\\uDEF8](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD\\uDDCF\\uDDD4\\uDDD6-\\uDDDD](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDDDE\\uDDDF](?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCC\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE7C\\uDE80-\\uDE89\\uDE8F-\\uDEC2\\uDEC6\\uDECE-\\uDEDC\\uDEDF-\\uDEE9]|\\uDD3C(?:\\u200D[\\u2640\\u2642]\\uFE0F?|\\uD83C[\\uDFFB-\\uDFFF])?|\\uDDCE(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?|\\uDDD1(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1|\\uDDD1\\u200D\\uD83E\\uDDD2(?:\\u200D\\uD83E\\uDDD2)?|\\uDDD2(?:\\u200D\\uD83E\\uDDD2)?))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFC-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB\\uDFFD-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFD\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFE]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?))?|\\uDEF1(?:\\uD83C(?:\\uDFFB(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFC-\\uDFFF])?|\\uDFFC(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])?|\\uDFFD(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])?|\\uDFFE(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])?|\\uDFFF(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB-\\uDFFE])?))?)/g;function jr(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tr(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Ir=e=>!(jr(e)||Tr(e)),Pr=/[^\\x20-\\x7F]/u;function $r(e){if(!e)return 0;if(!Pr.test(e))return e.length;e=e.replace(_r(),\"  \");let u=0;for(let t of e){let r=t.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(u+=Ir(r)?1:2)}return u}var iu=$r,w=Symbol(\"MODE_BREAK\"),O=Symbol(\"MODE_FLAT\"),te=Symbol(\"cursor\"),Ue=Symbol(\"DOC_FILL_PRINTED_LENGTH\");function ot(){return{value:\"\",length:0,queue:[]}}function Lr(e,u){return He(e,{type:\"indent\"},u)}function Mr(e,u,t){return u===Number.NEGATIVE_INFINITY?e.root||ot():u<0?He(e,{type:\"dedent\"},t):u?u.type===\"root\"?{...e,root:e}:He(e,{type:typeof u==\"string\"?\"stringAlign\":\"numberAlign\",n:u},t):e}function He(e,u,t){let r=u.type===\"dedent\"?e.queue.slice(0,-1):[...e.queue,u],D=\"\",n=0,o=0,a=0;for(let f of r)switch(f.type){case\"indent\":l(),t.useTabs?i(1):s(t.tabWidth);break;case\"stringAlign\":l(),D+=f.n,n+=f.n.length;break;case\"numberAlign\":o+=1,a+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return c(),{...e,value:D,length:n,queue:r};function i(f){D+=\"\t\".repeat(f),n+=t.tabWidth*f}function s(f){D+=\" \".repeat(f),n+=f}function l(){t.useTabs?F():c()}function F(){o>0&&i(o),d()}function c(){a>0&&s(a),d()}function d(){o=0,a=0}}function Ge(e){let u=0,t=0,r=e.length;e:for(;r--;){let D=e[r];if(D===te){t++;continue}for(let n=D.length-1;n>=0;n--){let o=D[n];if(o===\" \"||o===\"\t\")u++;else{e[r]=D.slice(0,n+1);break e}}}if(u>0||t>0)for(e.length=r+1;t-- >0;)e.push(te);return u}function me(e,u,t,r,D,n){if(t===Number.POSITIVE_INFINITY)return!0;let o=u.length,a=[e],i=[];for(;t>=0;){if(a.length===0){if(o===0)return!0;a.push(u[--o]);continue}let{mode:s,doc:l}=a.pop(),F=ee(l);switch(F){case Q:i.push(l),t-=iu(l);break;case P:case j:{let c=F===P?l:l.parts,d=l[Ue]??0;for(let f=c.length-1;f>=d;f--)a.push({mode:s,doc:c[f]});break}case $:case L:case R:case T:a.push({mode:s,doc:l.contents});break;case M:t+=Ge(i);break;case k:{if(n&&l.break)return!1;let c=l.break?w:s,d=l.expandedStates&&c===w?B(!1,l.expandedStates,-1):l.contents;a.push({mode:c,doc:d});break}case S:{let c=(l.groupId?D[l.groupId]||O:s)===w?l.breakContents:l.flatContents;c&&a.push({mode:s,doc:c});break}case b:if(s===w||l.hard)return!0;l.soft||(i.push(\" \"),t--);break;case W:r=!0;break;case z:if(r)return!1;break}}return!1}function Oe(e,u){let t={},r=u.printWidth,D=nu(u.endOfLine),n=0,o=[{ind:ot(),mode:w,doc:e}],a=[],i=!1,s=[],l=0;for(lr(e);o.length>0;){let{ind:c,mode:d,doc:f}=o.pop();switch(ee(f)){case Q:{let p=D!==`\n`?ke(!1,f,`\n`,D):f;a.push(p),o.length>0&&(n+=iu(p));break}case P:for(let p=f.length-1;p>=0;p--)o.push({ind:c,mode:d,doc:f[p]});break;case X:if(l>=2)throw new Error(\"There are too many 'cursor' in doc.\");a.push(te),l++;break;case $:o.push({ind:Lr(c,u),mode:d,doc:f.contents});break;case L:o.push({ind:Mr(c,f.n,u),mode:d,doc:f.contents});break;case M:n-=Ge(a);break;case k:switch(d){case O:if(!i){o.push({ind:c,mode:f.break?w:O,doc:f.contents});break}case w:{i=!1;let p={ind:c,mode:O,doc:f.contents},h=r-n,g=s.length>0;if(!f.break&&me(p,o,h,g,t))o.push(p);else if(f.expandedStates){let y=B(!1,f.expandedStates,-1);if(f.break){o.push({ind:c,mode:w,doc:y});break}else for(let C=1;C<f.expandedStates.length+1;C++)if(C>=f.expandedStates.length){o.push({ind:c,mode:w,doc:y});break}else{let m=f.expandedStates[C],E={ind:c,mode:O,doc:m};if(me(E,o,h,g,t)){o.push(E);break}}}else o.push({ind:c,mode:w,doc:f.contents});break}}f.id&&(t[f.id]=B(!1,o,-1).mode);break;case j:{let p=r-n,h=f[Ue]??0,{parts:g}=f,y=g.length-h;if(y===0)break;let C=g[h+0],m=g[h+1],E={ind:c,mode:O,doc:C},v={ind:c,mode:w,doc:C},A=me(E,[],p,s.length>0,t,!0);if(y===1){A?o.push(E):o.push(v);break}let N={ind:c,mode:O,doc:m},ue={ind:c,mode:w,doc:m};if(y===2){A?o.push(N,E):o.push(ue,v);break}let It=g[h+2],Ie={ind:c,mode:d,doc:{...f,[Ue]:h+2}};me({ind:c,mode:O,doc:[C,m,It]},[],p,s.length>0,t,!0)?o.push(Ie,N,E):A?o.push(Ie,ue,E):o.push(Ie,ue,v);break}case S:case R:{let p=f.groupId?t[f.groupId]:d;if(p===w){let h=f.type===S?f.breakContents:f.negate?f.contents:Ae(f.contents);h&&o.push({ind:c,mode:d,doc:h})}if(p===O){let h=f.type===S?f.flatContents:f.negate?Ae(f.contents):f.contents;h&&o.push({ind:c,mode:d,doc:h})}break}case W:s.push({ind:c,mode:d,doc:f.contents});break;case z:s.length>0&&o.push({ind:c,mode:d,doc:au});break;case b:switch(d){case O:if(f.hard)i=!0;else{f.soft||(a.push(\" \"),n+=1);break}case w:if(s.length>0){o.push({ind:c,mode:d,doc:f},...s.reverse()),s.length=0;break}f.literal?c.root?(a.push(D,c.root.value),n=c.root.length):(a.push(D),n=0):(n-=Ge(a),a.push(D+c.value),n=c.length);break}break;case T:o.push({ind:c,mode:d,doc:f.contents});break;case x:break;default:throw new ae(f)}o.length===0&&s.length>0&&(o.push(...s.reverse()),s.length=0)}let F=a.indexOf(te);if(F!==-1){let c=a.indexOf(te,F+1);if(c===-1)return{formatted:a.filter(h=>h!==te).join(\"\")};let d=a.slice(0,F).join(\"\"),f=a.slice(F+1,c).join(\"\"),p=a.slice(c+1).join(\"\");return{formatted:d+f+p,cursorNodeStart:d.length,cursorNodeText:f}}return{formatted:a.join(\"\")}}function Rr(e,u,t=0){let r=0;for(let D=t;D<e.length;++D)e[D]===\"\t\"?r=r+u-r%u:r++;return r}var su=Rr,K,Ye,ye,Wr=class{constructor(e){Jt(this,K),this.stack=[e]}get key(){let{stack:e,siblings:u}=this;return B(!1,e,u===null?-2:-4)??null}get index(){return this.siblings===null?null:B(!1,this.stack,-2)}get node(){return B(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,u=B(!1,e,-3);return Array.isArray(u)?u:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:u}=this;return e!==null&&u===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...le(this,K,ye).call(this)]}getName(){let{stack:e}=this,{length:u}=e;return u>1?B(!1,e,-2):null}getValue(){return B(!1,this.stack,-1)}getNode(e=0){let u=le(this,K,Ye).call(this,e);return u===-1?null:this.stack[u]}getParentNode(e=0){return this.getNode(e+1)}call(e,...u){let{stack:t}=this,{length:r}=t,D=B(!1,t,-1);for(let n of u)D=D[n],t.push(n,D);try{return e(this)}finally{t.length=r}}callParent(e,u=0){let t=le(this,K,Ye).call(this,u+1),r=this.stack.splice(t+1);try{return e(this)}finally{this.stack.push(...r)}}each(e,...u){let{stack:t}=this,{length:r}=t,D=B(!1,t,-1);for(let n of u)D=D[n],t.push(n,D);try{for(let n=0;n<D.length;++n)t.push(n,D[n]),e(this,n,D),t.length-=2}finally{t.length=r}}map(e,...u){let t=[];return this.each((r,D,n)=>{t[D]=e(r,D,n)},...u),t}match(...e){let u=this.stack.length-1,t=null,r=this.stack[u--];for(let D of e){if(r===void 0)return!1;let n=null;if(typeof t==\"number\"&&(n=t,t=this.stack[u--],r=this.stack[u--]),D&&!D(r,t,n))return!1;t=this.stack[u--],r=this.stack[u--]}return!0}findAncestor(e){for(let u of le(this,K,ye).call(this))if(e(u))return u}hasAncestor(e){for(let u of le(this,K,ye).call(this))if(e(u))return!0;return!1}};K=new WeakSet,Ye=function(e){let{stack:u}=this;for(let t=u.length-1;t>=0;t-=2)if(!Array.isArray(u[t])&&--e<0)return t;return-1},ye=function*(){let{stack:e}=this;for(let u=e.length-3;u>=0;u-=2){let t=e[u];Array.isArray(t)||(yield t)}};var zr=Wr,at=new Proxy(()=>{},{get:()=>at}),Ze=at;function Vr(e){return e!==null&&typeof e==\"object\"}var qr=Vr;function*_e(e,u){let{getVisitorKeys:t,filter:r=()=>!0}=u,D=n=>qr(n)&&r(n);for(let n of t(e)){let o=e[n];if(Array.isArray(o))for(let a of o)D(a)&&(yield a);else D(o)&&(yield o)}}function*Jr(e,u){let t=[e];for(let r=0;r<t.length;r++){let D=t[r];for(let n of _e(D,u))yield n,t.push(n)}}function Kr(e,u){return _e(e,u).next().done}function Fe(e){return(u,t,r)=>{let D=!!(r!=null&&r.backwards);if(t===!1)return!1;let{length:n}=u,o=t;for(;o>=0&&o<n;){let a=u.charAt(o);if(e instanceof RegExp){if(!e.test(a))return o}else if(!e.includes(a))return o;D?o--:o++}return o===-1||o===n?o:!1}}var Ur=Fe(/\\s/u),q=Fe(\" \t\"),it=Fe(\",; \t\"),st=Fe(/[^\\n\\r]/u);function Hr(e,u,t){let r=!!(t!=null&&t.backwards);if(u===!1)return!1;let D=e.charAt(u);if(r){if(e.charAt(u-1)===\"\\r\"&&D===`\n`)return u-2;if(D===`\n`||D===\"\\r\"||D===\"\\u2028\"||D===\"\\u2029\")return u-1}else{if(D===\"\\r\"&&e.charAt(u+1)===`\n`)return u+2;if(D===`\n`||D===\"\\r\"||D===\"\\u2028\"||D===\"\\u2029\")return u+1}return u}var Z=Hr;function Gr(e,u,t={}){let r=q(e,t.backwards?u-1:u,t),D=Z(e,r,t);return r!==D}var V=Gr;function Yr(e){return Array.isArray(e)&&e.length>0}var Zr=Yr,lt=new Set([\"tokens\",\"comments\",\"parent\",\"enclosingNode\",\"precedingNode\",\"followingNode\"]),Qr=e=>Object.keys(e).filter(u=>!lt.has(u));function Xr(e){return e?u=>e(u,lt):Qr}var je=Xr;function en(e){let u=e.type||e.kind||\"(unknown type)\",t=String(e.name||e.id&&(typeof e.id==\"object\"?e.id.name:e.id)||e.key&&(typeof e.key==\"object\"?e.key.name:e.key)||e.value&&(typeof e.value==\"object\"?\"\":String(e.value))||e.operator||\"\");return t.length>20&&(t=t.slice(0,19)+\"…\"),u+(t?\" \"+t:\"\")}function lu(e,u){(e.comments??(e.comments=[])).push(u),u.printed=!1,u.nodeDescription=en(e)}function re(e,u){u.leading=!0,u.trailing=!1,lu(e,u)}function U(e,u,t){u.leading=!1,u.trailing=!1,t&&(u.marker=t),lu(e,u)}function ne(e,u){u.leading=!1,u.trailing=!0,lu(e,u)}var Pe=new WeakMap;function cu(e,u){if(Pe.has(e))return Pe.get(e);let{printer:{getCommentChildNodes:t,canAttachComment:r,getVisitorKeys:D},locStart:n,locEnd:o}=u;if(!r)return[];let a=((t==null?void 0:t(e,u))??[..._e(e,{getVisitorKeys:je(D)})]).flatMap(i=>r(i)?[i]:cu(i,u));return a.sort((i,s)=>n(i)-n(s)||o(i)-o(s)),Pe.set(e,a),a}function ct(e,u,t,r){let{locStart:D,locEnd:n}=t,o=D(u),a=n(u),i=cu(e,t),s,l,F=0,c=i.length;for(;F<c;){let d=F+c>>1,f=i[d],p=D(f),h=n(f);if(p<=o&&a<=h)return ct(f,u,t,f);if(h<=o){s=f,F=d+1;continue}if(a<=p){l=f,c=d;continue}throw new Error(\"Comment location overlaps with node location\")}if((r==null?void 0:r.type)===\"TemplateLiteral\"){let{quasis:d}=r,f=Le(d,u,t);s&&Le(d,s,t)!==f&&(s=null),l&&Le(d,l,t)!==f&&(l=null)}return{enclosingNode:r,precedingNode:s,followingNode:l}}var $e=()=>!1;function un(e,u){let{comments:t}=e;if(delete e.comments,!Zr(t)||!u.printer.canAttachComment)return;let r=[],{locStart:D,locEnd:n,printer:{experimentalFeatures:{avoidAstMutation:o=!1}={},handleComments:a={}},originalText:i}=u,{ownLine:s=$e,endOfLine:l=$e,remaining:F=$e}=a,c=t.map((d,f)=>({...ct(e,d,u),comment:d,text:i,options:u,ast:e,isLastComment:t.length-1===f}));for(let[d,f]of c.entries()){let{comment:p,precedingNode:h,enclosingNode:g,followingNode:y,text:C,options:m,ast:E,isLastComment:v}=f;if(m.parser===\"json\"||m.parser===\"json5\"||m.parser===\"jsonc\"||m.parser===\"__js_expression\"||m.parser===\"__ts_expression\"||m.parser===\"__vue_expression\"||m.parser===\"__vue_ts_expression\"){if(D(p)-D(E)<=0){re(E,p);continue}if(n(p)-n(E)>=0){ne(E,p);continue}}let A;if(o?A=[f]:(p.enclosingNode=g,p.precedingNode=h,p.followingNode=y,A=[p,C,m,E,v]),tn(C,m,c,d))p.placement=\"ownLine\",s(...A)||(y?re(y,p):h?ne(h,p):U(g||E,p));else if(rn(C,m,c,d))p.placement=\"endOfLine\",l(...A)||(h?ne(h,p):y?re(y,p):U(g||E,p));else if(p.placement=\"remaining\",!F(...A))if(h&&y){let N=r.length;N>0&&r[N-1].followingNode!==y&&Au(r,m),r.push(f)}else h?ne(h,p):y?re(y,p):U(g||E,p)}if(Au(r,u),!o)for(let d of t)delete d.precedingNode,delete d.enclosingNode,delete d.followingNode}var ft=e=>!/[\\S\\n\\u2028\\u2029]/u.test(e);function tn(e,u,t,r){let{comment:D,precedingNode:n}=t[r],{locStart:o,locEnd:a}=u,i=o(D);if(n)for(let s=r-1;s>=0;s--){let{comment:l,precedingNode:F}=t[s];if(F!==n||!ft(e.slice(a(l),i)))break;i=o(l)}return V(e,i,{backwards:!0})}function rn(e,u,t,r){let{comment:D,followingNode:n}=t[r],{locStart:o,locEnd:a}=u,i=a(D);if(n)for(let s=r+1;s<t.length;s++){let{comment:l,followingNode:F}=t[s];if(F!==n||!ft(e.slice(i,o(l))))break;i=a(l)}return V(e,i)}function Au(e,u){var t,r;let D=e.length;if(D===0)return;let{precedingNode:n,followingNode:o}=e[0],a=u.locStart(o),i;for(i=D;i>0;--i){let{comment:s,precedingNode:l,followingNode:F}=e[i-1];Ze.strictEqual(l,n),Ze.strictEqual(F,o);let c=u.originalText.slice(u.locEnd(s),a);if(((r=(t=u.printer).isGap)==null?void 0:r.call(t,c,u))??/^[\\s(]*$/u.test(c))a=u.locStart(s);else break}for(let[s,{comment:l}]of e.entries())s<i?ne(n,l):re(o,l);for(let s of[n,o])s.comments&&s.comments.length>1&&s.comments.sort((l,F)=>u.locStart(l)-u.locStart(F));e.length=0}function Le(e,u,t){let r=t.locStart(u)-1;for(let D=1;D<e.length;++D)if(r<t.locStart(e[D]))return D-1;return 0}function nn(e,u){let t=u-1;t=q(e,t,{backwards:!0}),t=Z(e,t,{backwards:!0}),t=q(e,t,{backwards:!0});let r=Z(e,t,{backwards:!0});return t!==r}var fu=nn;function dt(e,u){let t=e.node;return t.printed=!0,u.printer.printComment(e,u)}function Dn(e,u){var t;let r=e.node,D=[dt(e,u)],{printer:n,originalText:o,locStart:a,locEnd:i}=u;if((t=n.isBlockComment)!=null&&t.call(n,r)){let l=V(o,i(r))?V(o,a(r),{backwards:!0})?Y:tt:\" \";D.push(l)}else D.push(Y);let s=Z(o,q(o,i(r)));return s!==!1&&V(o,s)&&D.push(Y),D}function on(e,u,t){var r;let D=e.node,n=dt(e,u),{printer:o,originalText:a,locStart:i}=u,s=(r=o.isBlockComment)==null?void 0:r.call(o,D);if(t!=null&&t.hasLineSuffix&&!(t!=null&&t.isBlock)||V(a,i(D),{backwards:!0})){let l=fu(a,i(D));return{doc:Ke([Y,l?Y:\"\",n]),isBlock:s,hasLineSuffix:!0}}return!s||t!=null&&t.hasLineSuffix?{doc:[Ke([\" \",n]),Ne],isBlock:s,hasLineSuffix:!0}:{doc:[\" \",n],isBlock:s,hasLineSuffix:!1}}function an(e,u){let t=e.node;if(!t)return{};let r=u[Symbol.for(\"printedComments\")];if((t.comments||[]).filter(a=>!r.has(a)).length===0)return{leading:\"\",trailing:\"\"};let D=[],n=[],o;return e.each(()=>{let a=e.node;if(r!=null&&r.has(a))return;let{leading:i,trailing:s}=a;i?D.push(Dn(e,u)):s&&(o=on(e,u,o),n.push(o.doc))},\"comments\"),{leading:D,trailing:n}}function sn(e,u,t){let{leading:r,trailing:D}=an(e,t);return!r&&!D?u:Ee(u,n=>[r,n,D])}function ln(e){let{[Symbol.for(\"comments\")]:u,[Symbol.for(\"printedComments\")]:t}=e;for(let r of u){if(!r.printed&&!t.has(r))throw new Error('Comment \"'+r.value.trim()+'\" was not printed. Please report this error!');delete r.printed}}var Ft=class extends Error{constructor(){super(...arguments);he(this,\"name\",\"ConfigError\")}},wu=class extends Error{constructor(){super(...arguments);he(this,\"name\",\"UndefinedParserError\")}},cn={cursorOffset:{category:\"Special\",type:\"int\",default:-1,range:{start:-1,end:1/0,step:1},description:\"Print (to stderr) where a cursor at the given position would move to after formatting.\",cliCategory:\"Editor\"},endOfLine:{category:\"Global\",type:\"choice\",default:\"lf\",description:\"Which end of line characters to apply.\",choices:[{value:\"lf\",description:\"Line Feed only (\\\\n), common on Linux and macOS as well as inside git repos\"},{value:\"crlf\",description:\"Carriage Return + Line Feed characters (\\\\r\\\\n), common on Windows\"},{value:\"cr\",description:\"Carriage Return character only (\\\\r), used very rarely\"},{value:\"auto\",description:`Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:\"Special\",type:\"path\",description:\"Specify the input filepath. This will be used to do parser inference.\",cliName:\"stdin-filepath\",cliCategory:\"Other\",cliDescription:\"Path to the file to pretend that stdin comes from.\"},insertPragma:{category:\"Special\",type:\"boolean\",default:!1,description:\"Insert @format pragma into file's first docblock comment.\",cliCategory:\"Other\"},parser:{category:\"Global\",type:\"choice\",default:void 0,description:\"Which parser to use.\",exception:e=>typeof e==\"string\"||typeof e==\"function\",choices:[{value:\"flow\",description:\"Flow\"},{value:\"babel\",description:\"JavaScript\"},{value:\"babel-flow\",description:\"Flow\"},{value:\"babel-ts\",description:\"TypeScript\"},{value:\"typescript\",description:\"TypeScript\"},{value:\"acorn\",description:\"JavaScript\"},{value:\"espree\",description:\"JavaScript\"},{value:\"meriyah\",description:\"JavaScript\"},{value:\"css\",description:\"CSS\"},{value:\"less\",description:\"Less\"},{value:\"scss\",description:\"SCSS\"},{value:\"json\",description:\"JSON\"},{value:\"json5\",description:\"JSON5\"},{value:\"jsonc\",description:\"JSON with Comments\"},{value:\"json-stringify\",description:\"JSON.stringify\"},{value:\"graphql\",description:\"GraphQL\"},{value:\"markdown\",description:\"Markdown\"},{value:\"mdx\",description:\"MDX\"},{value:\"vue\",description:\"Vue\"},{value:\"yaml\",description:\"YAML\"},{value:\"glimmer\",description:\"Ember / Handlebars\"},{value:\"html\",description:\"HTML\"},{value:\"angular\",description:\"Angular\"},{value:\"lwc\",description:\"Lightning Web Components\"}]},plugins:{type:\"path\",array:!0,default:[{value:[]}],category:\"Global\",description:\"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.\",exception:e=>typeof e==\"string\"||typeof e==\"object\",cliName:\"plugin\",cliCategory:\"Config\"},printWidth:{category:\"Global\",type:\"int\",default:80,description:\"The line length where Prettier will try wrap.\",range:{start:0,end:1/0,step:1}},rangeEnd:{category:\"Special\",type:\"int\",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.`,cliCategory:\"Editor\"},rangeStart:{category:\"Special\",type:\"int\",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:\"Editor\"},requirePragma:{category:\"Special\",type:\"boolean\",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.`,cliCategory:\"Other\"},tabWidth:{type:\"int\",category:\"Global\",default:2,description:\"Number of spaces per indentation level.\",range:{start:0,end:1/0,step:1}},useTabs:{category:\"Global\",type:\"boolean\",default:!1,description:\"Indent with tabs instead of spaces.\"},embeddedLanguageFormatting:{category:\"Global\",type:\"choice\",default:\"auto\",description:\"Control how Prettier formats quoted code embedded in the file.\",choices:[{value:\"auto\",description:\"Format embedded code if Prettier can automatically identify it.\"},{value:\"off\",description:\"Never automatically format embedded code.\"}]}};function pt({plugins:e=[],showDeprecated:u=!1}={}){let t=e.flatMap(D=>D.languages??[]),r=[];for(let D of dn(Object.assign({},...e.map(({options:n})=>n),cn)))!u&&D.deprecated||(Array.isArray(D.choices)&&(u||(D.choices=D.choices.filter(n=>!n.deprecated)),D.name===\"parser\"&&(D.choices=[...D.choices,...fn(D.choices,t,e)])),D.pluginDefaults=Object.fromEntries(e.filter(n=>{var o;return((o=n.defaultOptions)==null?void 0:o[D.name])!==void 0}).map(n=>[n.name,n.defaultOptions[D.name]])),r.push(D));return{languages:t,options:r}}function*fn(e,u,t){let r=new Set(e.map(D=>D.value));for(let D of u)if(D.parsers){for(let n of D.parsers)if(!r.has(n)){r.add(n);let o=t.find(i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,n)),a=D.name;o!=null&&o.name&&(a+=` (plugin: ${o.name})`),yield{value:n,description:a}}}}function dn(e){let u=[];for(let[t,r]of Object.entries(e)){let D={name:t,...r};Array.isArray(D.default)&&(D.default=B(!1,D.default,-1).value),u.push(D)}return u}var Fn=e=>String(e).split(/[/\\\\]/u).pop();function ku(e,u){if(!u)return;let t=Fn(u).toLowerCase();return e.find(({filenames:r})=>r==null?void 0:r.some(D=>D.toLowerCase()===t))??e.find(({extensions:r})=>r==null?void 0:r.some(D=>t.endsWith(D)))}function pn(e,u){if(u)return e.find(({name:t})=>t.toLowerCase()===u)??e.find(({aliases:t})=>t==null?void 0:t.includes(u))??e.find(({extensions:t})=>t==null?void 0:t.includes(`.${u}`))}function hn(e,u){let t=e.plugins.flatMap(D=>D.languages??[]),r=pn(t,u.language)??ku(t,u.physicalFile)??ku(t,u.file)??(u.physicalFile,void 0);return r==null?void 0:r.parsers[0]}var Cn=hn,De={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!=\"object\")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(t=>De.value(t)).join(\", \")}]`;let u=Object.keys(e);return u.length===0?\"{}\":`{ ${u.map(t=>`${De.key(t)}: ${De.value(e[t])}`).join(\", \")} }`},pair:({key:e,value:u})=>De.value({[e]:u})},Su=we(tu()),mn=(e,u,{descriptor:t})=>{let r=[`${Su.default.yellow(typeof e==\"string\"?t.key(e):t.pair(e))} is deprecated`];return u&&r.push(`we now treat it as ${Su.default.blue(typeof u==\"string\"?t.key(u):t.pair(u))}`),r.join(\"; \")+\".\"},oe=we(tu()),ht=Symbol.for(\"vnopts.VALUE_NOT_EXIST\"),ve=Symbol.for(\"vnopts.VALUE_UNCHANGED\"),xu=\" \".repeat(2),gn=(e,u,t)=>{let{text:r,list:D}=t.normalizeExpectedResult(t.schemas[e].expected(t)),n=[];return r&&n.push(Nu(e,u,r,t.descriptor)),D&&n.push([Nu(e,u,D.title,t.descriptor)].concat(D.values.map(o=>Ct(o,t.loggerPrintWidth))).join(`\n`)),mt(n,t.loggerPrintWidth)};function Nu(e,u,t,r){return[`Invalid ${oe.default.red(r.key(e))} value.`,`Expected ${oe.default.blue(t)},`,`but received ${u===ht?oe.default.gray(\"nothing\"):oe.default.red(r.value(u))}.`].join(\" \")}function Ct({text:e,list:u},t){let r=[];return e&&r.push(`- ${oe.default.blue(e)}`),u&&r.push([`- ${oe.default.blue(u.title)}:`].concat(u.values.map(D=>Ct(D,t-xu.length).replace(/^|\\n/g,`$&${xu}`))).join(`\n`)),mt(r,t)}function mt(e,u){if(e.length===1)return e[0];let[t,r]=e,[D,n]=e.map(o=>o.split(`\n`,1)[0].length);return D>u&&D>n?r:t}var Ou=we(tu()),Me=[],_u=[];function En(e,u){if(e===u)return 0;let t=e;e.length>u.length&&(e=u,u=t);let r=e.length,D=u.length;for(;r>0&&e.charCodeAt(~-r)===u.charCodeAt(~-D);)r--,D--;let n=0;for(;n<r&&e.charCodeAt(n)===u.charCodeAt(n);)n++;if(r-=n,D-=n,r===0)return D;let o,a,i,s,l=0,F=0;for(;l<r;)_u[l]=e.charCodeAt(n+l),Me[l]=++l;for(;F<D;)for(o=u.charCodeAt(n+F),i=F++,a=F,l=0;l<r;l++)s=o===_u[l]?i:i+1,i=Me[l],a=Me[l]=i>a?s>a?a+1:s:s>i?i+1:s;return a}var gt=(e,u,{descriptor:t,logger:r,schemas:D})=>{let n=[`Ignored unknown option ${Ou.default.yellow(t.pair({key:e,value:u}))}.`],o=Object.keys(D).sort().find(a=>En(e,a)<3);o&&n.push(`Did you mean ${Ou.default.blue(t.key(o))}?`),r.warn(n.join(\" \"))},yn=[\"default\",\"expected\",\"validate\",\"deprecated\",\"forward\",\"redirect\",\"overlap\",\"preprocess\",\"postprocess\"];function vn(e,u){let t=new e(u),r=Object.create(t);for(let D of yn)D in u&&(r[D]=Bn(u[D],t,J.prototype[D].length));return r}var J=class{static create(e){return vn(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return\"nothing\"}validate(e,u){return!1}deprecated(e,u){return!1}forward(e,u){}redirect(e,u){}overlap(e,u,t){return e}preprocess(e,u){return e}postprocess(e,u){return ve}};function Bn(e,u,t){return typeof e==\"function\"?(...r)=>e(...r.slice(0,t-1),u,...r.slice(t-1)):()=>e}var bn=class extends J{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,u){return u.schemas[this._sourceName].validate(e,u)}redirect(e,u){return this._sourceName}},An=class extends J{expected(){return\"anything\"}validate(){return!0}},wn=class extends J{constructor({valueSchema:e,name:u=e.name,...t}){super({...t,name:u}),this._valueSchema=e}expected(e){let{text:u,list:t}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:u&&`an array of ${u}`,list:t&&{title:\"an array of the following values\",values:[{list:t}]}}}validate(e,u){if(!Array.isArray(e))return!1;let t=[];for(let r of e){let D=u.normalizeValidateResult(this._valueSchema.validate(r,u),r);D!==!0&&t.push(D.value)}return t.length===0?!0:{value:t}}deprecated(e,u){let t=[];for(let r of e){let D=u.normalizeDeprecatedResult(this._valueSchema.deprecated(r,u),r);D!==!1&&t.push(...D.map(({value:n})=>({value:[n]})))}return t}forward(e,u){let t=[];for(let r of e){let D=u.normalizeForwardResult(this._valueSchema.forward(r,u),r);t.push(...D.map(ju))}return t}redirect(e,u){let t=[],r=[];for(let D of e){let n=u.normalizeRedirectResult(this._valueSchema.redirect(D,u),D);\"remain\"in n&&t.push(n.remain),r.push(...n.redirect.map(ju))}return t.length===0?{redirect:r}:{redirect:r,remain:t}}overlap(e,u){return e.concat(u)}};function ju({from:e,to:u}){return{from:[e],to:u}}var kn=class extends J{expected(){return\"true or false\"}validate(e){return typeof e==\"boolean\"}};function Sn(e,u){let t=Object.create(null);for(let r of e){let D=r[u];if(t[D])throw new Error(`Duplicate ${u} ${JSON.stringify(D)}`);t[D]=r}return t}function xn(e,u){let t=new Map;for(let r of e){let D=r[u];if(t.has(D))throw new Error(`Duplicate ${u} ${JSON.stringify(D)}`);t.set(D,r)}return t}function Nn(){let e=Object.create(null);return u=>{let t=JSON.stringify(u);return e[t]?!0:(e[t]=!0,!1)}}function On(e,u){let t=[],r=[];for(let D of e)u(D)?t.push(D):r.push(D);return[t,r]}function _n(e){return e===Math.floor(e)}function jn(e,u){if(e===u)return 0;let t=typeof e,r=typeof u,D=[\"undefined\",\"object\",\"boolean\",\"number\",\"string\"];return t!==r?D.indexOf(t)-D.indexOf(r):t!==\"string\"?Number(e)-Number(u):e.localeCompare(u)}function Tn(e){return(...u)=>{let t=e(...u);return typeof t==\"string\"?new Error(t):t}}function Tu(e){return e===void 0?{}:e}function Et(e){if(typeof e==\"string\")return{text:e};let{text:u,list:t}=e;return In((u||t)!==void 0,\"Unexpected `expected` result, there should be at least one field.\"),t?{text:u,list:{title:t.title,values:t.values.map(Et)}}:{text:u}}function Iu(e,u){return e===!0?!0:e===!1?{value:u}:e}function Pu(e,u,t=!1){return e===!1?!1:e===!0?t?!0:[{value:u}]:\"value\"in e?[e]:e.length===0?!1:e}function $u(e,u){return typeof e==\"string\"||\"key\"in e?{from:u,to:e}:\"from\"in e?{from:e.from,to:e.to}:{from:u,to:e.to}}function Qe(e,u){return e===void 0?[]:Array.isArray(e)?e.map(t=>$u(t,u)):[$u(e,u)]}function Lu(e,u){let t=Qe(typeof e==\"object\"&&\"redirect\"in e?e.redirect:e,u);return t.length===0?{remain:u,redirect:t}:typeof e==\"object\"&&\"remain\"in e?{remain:e.remain,redirect:t}:{redirect:t}}function In(e,u){if(!e)throw new Error(u)}var Pn=class extends J{constructor(e){super(e),this._choices=xn(e.choices.map(u=>u&&typeof u==\"object\"?u:{value:u}),\"value\")}expected({descriptor:e}){let u=Array.from(this._choices.keys()).map(D=>this._choices.get(D)).filter(({hidden:D})=>!D).map(D=>D.value).sort(jn).map(e.value),t=u.slice(0,-2),r=u.slice(-2);return{text:t.concat(r.join(\" or \")).join(\", \"),list:{title:\"one of the following values\",values:u}}}validate(e){return this._choices.has(e)}deprecated(e){let u=this._choices.get(e);return u&&u.deprecated?{value:e}:!1}forward(e){let u=this._choices.get(e);return u?u.forward:void 0}redirect(e){let u=this._choices.get(e);return u?u.redirect:void 0}},$n=class extends J{expected(){return\"a number\"}validate(e,u){return typeof e==\"number\"}},Ln=class extends $n{expected(){return\"an integer\"}validate(e,u){return u.normalizeValidateResult(super.validate(e,u),e)===!0&&_n(e)}},Mu=class extends J{expected(){return\"a string\"}validate(e){return typeof e==\"string\"}},Mn=De,Rn=gt,Wn=gn,zn=mn,Vn=class{constructor(e,u){let{logger:t=console,loggerPrintWidth:r=80,descriptor:D=Mn,unknown:n=Rn,invalid:o=Wn,deprecated:a=zn,missing:i=()=>!1,required:s=()=>!1,preprocess:l=c=>c,postprocess:F=()=>ve}=u||{};this._utils={descriptor:D,logger:t||{warn:()=>{}},loggerPrintWidth:r,schemas:Sn(e,\"name\"),normalizeDefaultResult:Tu,normalizeExpectedResult:Et,normalizeDeprecatedResult:Pu,normalizeForwardResult:Qe,normalizeRedirectResult:Lu,normalizeValidateResult:Iu},this._unknownHandler=n,this._invalidHandler=Tn(o),this._deprecatedHandler=a,this._identifyMissing=(c,d)=>!(c in d)||i(c,d),this._identifyRequired=s,this._preprocess=l,this._postprocess=F,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Nn()}normalize(e){let u={},t=[this._preprocess(e,this._utils)],r=()=>{for(;t.length!==0;){let D=t.shift(),n=this._applyNormalization(D,u);t.push(...n)}};r();for(let D of Object.keys(this._utils.schemas)){let n=this._utils.schemas[D];if(!(D in u)){let o=Tu(n.default(this._utils));\"value\"in o&&t.push({[D]:o.value})}}r();for(let D of Object.keys(this._utils.schemas)){if(!(D in u))continue;let n=this._utils.schemas[D],o=u[D],a=n.postprocess(o,this._utils);a!==ve&&(this._applyValidation(a,D,n),u[D]=a)}return this._applyPostprocess(u),this._applyRequiredCheck(u),u}_applyNormalization(e,u){let t=[],{knownKeys:r,unknownKeys:D}=this._partitionOptionKeys(e);for(let n of r){let o=this._utils.schemas[n],a=o.preprocess(e[n],this._utils);this._applyValidation(a,n,o);let i=({from:F,to:c})=>{t.push(typeof c==\"string\"?{[c]:F}:{[c.key]:c.value})},s=({value:F,redirectTo:c})=>{let d=Pu(o.deprecated(F,this._utils),a,!0);if(d!==!1)if(d===!0)this._hasDeprecationWarned(n)||this._utils.logger.warn(this._deprecatedHandler(n,c,this._utils));else for(let{value:f}of d){let p={key:n,value:f};if(!this._hasDeprecationWarned(p)){let h=typeof c==\"string\"?{key:c,value:f}:c;this._utils.logger.warn(this._deprecatedHandler(p,h,this._utils))}}};Qe(o.forward(a,this._utils),a).forEach(i);let l=Lu(o.redirect(a,this._utils),a);if(l.redirect.forEach(i),\"remain\"in l){let F=l.remain;u[n]=n in u?o.overlap(u[n],F,this._utils):F,s({value:F})}for(let{from:F,to:c}of l.redirect)s({value:F,redirectTo:c})}for(let n of D){let o=e[n];this._applyUnknownHandler(n,o,u,(a,i)=>{t.push({[a]:i})})}return t}_applyRequiredCheck(e){for(let u of Object.keys(this._utils.schemas))if(this._identifyMissing(u,e)&&this._identifyRequired(u))throw this._invalidHandler(u,ht,this._utils)}_partitionOptionKeys(e){let[u,t]=On(Object.keys(e).filter(r=>!this._identifyMissing(r,e)),r=>r in this._utils.schemas);return{knownKeys:u,unknownKeys:t}}_applyValidation(e,u,t){let r=Iu(t.validate(e,this._utils),e);if(r!==!0)throw this._invalidHandler(u,r.value,this._utils)}_applyUnknownHandler(e,u,t,r){let D=this._unknownHandler(e,u,this._utils);if(D)for(let n of Object.keys(D)){if(this._identifyMissing(n,D))continue;let o=D[n];n in this._utils.schemas?r(n,o):t[n]=o}}_applyPostprocess(e){let u=this._postprocess(e,this._utils);if(u!==ve){if(u.delete)for(let t of u.delete)delete e[t];if(u.override){let{knownKeys:t,unknownKeys:r}=this._partitionOptionKeys(u.override);for(let D of t){let n=u.override[D];this._applyValidation(n,D,this._utils.schemas[D]),e[D]=n}for(let D of r){let n=u.override[D];this._applyUnknownHandler(D,n,e,(o,a)=>{let i=this._utils.schemas[o];this._applyValidation(a,o,i),e[o]=a})}}}}},Re;function qn(e,u,{logger:t=!1,isCLI:r=!1,passThrough:D=!1,FlagSchema:n,descriptor:o}={}){if(r){if(!n)throw new Error(\"'FlagSchema' option is required.\");if(!o)throw new Error(\"'descriptor' option is required.\")}else o=De;let a=D?Array.isArray(D)?(c,d)=>D.includes(c)?{[c]:d}:void 0:(c,d)=>({[c]:d}):(c,d,f)=>{let{_:p,...h}=f.schemas;return gt(c,d,{...f,schemas:h})},i=Jn(u,{isCLI:r,FlagSchema:n}),s=new Vn(i,{logger:t,unknown:a,descriptor:o}),l=t!==!1;l&&Re&&(s._hasDeprecationWarned=Re);let F=s.normalize(e);return l&&(Re=s._hasDeprecationWarned),F}function Jn(e,{isCLI:u,FlagSchema:t}){let r=[];u&&r.push(An.create({name:\"_\"}));for(let D of e)r.push(Kn(D,{isCLI:u,optionInfos:e,FlagSchema:t})),D.alias&&u&&r.push(bn.create({name:D.alias,sourceName:D.name}));return r}function Kn(e,{isCLI:u,optionInfos:t,FlagSchema:r}){let{name:D}=e,n={name:D},o,a={};switch(e.type){case\"int\":o=Ln,u&&(n.preprocess=Number);break;case\"string\":o=Mu;break;case\"choice\":o=Pn,n.choices=e.choices.map(i=>i!=null&&i.redirect?{...i,redirect:{to:{key:e.name,value:i.redirect}}}:i);break;case\"boolean\":o=kn;break;case\"flag\":o=r,n.flags=t.flatMap(i=>[i.alias,i.description&&i.name,i.oppositeDescription&&`no-${i.name}`].filter(Boolean));break;case\"path\":o=Mu;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?n.validate=(i,s,l)=>e.exception(i)||s.validate(i,l):n.validate=(i,s,l)=>i===void 0||s.validate(i,l),e.redirect&&(a.redirect=i=>i?{to:typeof e.redirect==\"string\"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(a.deprecated=!0),u&&!e.array){let i=n.preprocess||(s=>s);n.preprocess=(s,l,F)=>l.preprocess(i(Array.isArray(s)?B(!1,s,-1):s),F)}return e.array?wn.create({...u?{preprocess:i=>Array.isArray(i)?i:[i]}:{},...a,valueSchema:o.create(n)}):o.create({...n,...a})}var Un=qn,Hn=(e,u,t)=>{if(!(e&&u==null)){if(u.findLast)return u.findLast(t);for(let r=u.length-1;r>=0;r--){let D=u[r];if(t(D,r,u))return D}}},yt=Hn;function vt(e,u){if(!u)throw new Error(\"parserName is required.\");let t=yt(!1,e,D=>D.parsers&&Object.prototype.hasOwnProperty.call(D.parsers,u));if(t)return t;let r=`Couldn't resolve parser \"${u}\".`;throw r+=\" Plugins must be explicitly added to the standalone bundle.\",new Ft(r)}function Gn(e,u){if(!u)throw new Error(\"astFormat is required.\");let t=yt(!1,e,D=>D.printers&&Object.prototype.hasOwnProperty.call(D.printers,u));if(t)return t;let r=`Couldn't find plugin for AST format \"${u}\".`;throw r+=\" Plugins must be explicitly added to the standalone bundle.\",new Ft(r)}function Bt({plugins:e,parser:u}){let t=vt(e,u);return bt(t,u)}function bt(e,u){let t=e.parsers[u];return typeof t==\"function\"?t():t}function Yn(e,u){let t=e.printers[u];return typeof t==\"function\"?t():t}var Ru={astFormat:\"estree\",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Zn(e,u={}){var t;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=Cn(r,{physicalFile:r.filepath}),!r.parser)throw new wu(`No parser could be inferred for file \"${r.filepath}\".`)}else throw new wu(\"No parser and no file path given, couldn't infer a parser.\");let D=pt({plugins:e.plugins,showDeprecated:!0}).options,n={...Ru,...Object.fromEntries(D.filter(c=>c.default!==void 0).map(c=>[c.name,c.default]))},o=vt(r.plugins,r.parser),a=await bt(o,r.parser);r.astFormat=a.astFormat,r.locEnd=a.locEnd,r.locStart=a.locStart;let i=(t=o.printers)!=null&&t[a.astFormat]?o:Gn(r.plugins,a.astFormat),s=await Yn(i,a.astFormat);r.printer=s;let l=i.defaultOptions?Object.fromEntries(Object.entries(i.defaultOptions).filter(([,c])=>c!==void 0)):{},F={...n,...l};for(let[c,d]of Object.entries(F))(r[c]===null||r[c]===void 0)&&(r[c]=d);return r.parser===\"json\"&&(r.trailingComma=\"none\"),Un(r,D,{passThrough:Object.keys(Ru),...u})}var se=Zn,Qn=we(Kt());async function Xn(e,u){let t=await Bt(u),r=t.preprocess?t.preprocess(e,u):e;u.originalText=r;let D;try{D=await t.parse(r,u,u)}catch(n){eD(n,e)}return{text:r,ast:D}}function eD(e,u){let{loc:t}=e;if(t){let r=(0,Qn.codeFrameColumns)(u,t,{highlightCode:!0});throw e.message+=`\n`+r,e.codeFrame=r,e}throw e}var pe=Xn;async function uD(e,u,t,r,D){let{embeddedLanguageFormatting:n,printer:{embed:o,hasPrettierIgnore:a=()=>!1,getVisitorKeys:i}}=t;if(!o||n!==\"auto\")return;if(o.length>2)throw new Error(\"printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed\");let s=je(o.getVisitorKeys??i),l=[];d();let F=e.stack;for(let{print:f,node:p,pathStack:h}of l)try{e.stack=h;let g=await f(c,u,e,t);g&&D.set(p,g)}catch(g){if(globalThis.PRETTIER_DEBUG)throw g}e.stack=F;function c(f,p){return tD(f,p,t,r)}function d(){let{node:f}=e;if(f===null||typeof f!=\"object\"||a(e))return;for(let h of s(f))Array.isArray(f[h])?e.each(d,h):e.call(d,h);let p=o(e,t);if(p){if(typeof p==\"function\"){l.push({print:p,node:f,pathStack:[...e.stack]});return}D.set(f,p)}}}async function tD(e,u,t,r){let D=await se({...t,...u,parentParser:t.parser,originalText:e},{passThrough:!0}),{ast:n}=await pe(e,D),o=await r(n,D);return Xu(o)}function rD(e,u){let{originalText:t,[Symbol.for(\"comments\")]:r,locStart:D,locEnd:n,[Symbol.for(\"printedComments\")]:o}=u,{node:a}=e,i=D(a),s=n(a);for(let l of r)D(l)>=i&&n(l)<=s&&o.add(l);return t.slice(i,s)}var nD=rD;async function Te(e,u){({ast:e}=await At(e,u));let t=new Map,r=new zr(e),D=new Map;await uD(r,o,u,Te,D);let n=await Wu(r,u,o,void 0,D);if(ln(u),u.nodeAfterCursor&&!u.nodeBeforeCursor)return[G,n];if(u.nodeBeforeCursor&&!u.nodeAfterCursor)return[n,G];return n;function o(i,s){return i===void 0||i===r?a(s):Array.isArray(i)?r.call(()=>a(s),...i):r.call(()=>a(s),i)}function a(i){let s=r.node;if(s==null)return\"\";let l=s&&typeof s==\"object\"&&i===void 0;if(l&&t.has(s))return t.get(s);let F=Wu(r,u,o,i,D);return l&&t.set(s,F),F}}function Wu(e,u,t,r,D){var n;let{node:o}=e,{printer:a}=u,i;switch((n=a.hasPrettierIgnore)!=null&&n.call(a,e)?i=nD(e,u):D.has(o)?i=D.get(o):i=a.print(e,u,t,r),o){case u.cursorNode:i=Ee(i,s=>[G,s,G]);break;case u.nodeBeforeCursor:i=Ee(i,s=>[s,G]);break;case u.nodeAfterCursor:i=Ee(i,s=>[G,s]);break}return a.printComment&&(!a.willPrintOwnComments||!a.willPrintOwnComments(e,u))&&(i=sn(e,i,u)),i}async function At(e,u){let t=e.comments??[];u[Symbol.for(\"comments\")]=t,u[Symbol.for(\"tokens\")]=e.tokens??[],u[Symbol.for(\"printedComments\")]=new Set,un(e,u);let{printer:{preprocess:r}}=u;return e=r?await r(e,u):e,{ast:e,comments:t}}function DD(e,u){let{cursorOffset:t,locStart:r,locEnd:D}=u,n=je(u.printer.getVisitorKeys),o=d=>r(d)<=t&&D(d)>=t,a=e,i=[e];for(let d of Jr(e,{getVisitorKeys:n,filter:o}))i.push(d),a=d;if(Kr(a,{getVisitorKeys:n}))return{cursorNode:a};let s,l,F=-1,c=Number.POSITIVE_INFINITY;for(;i.length>0&&(s===void 0||l===void 0);){a=i.pop();let d=s!==void 0,f=l!==void 0;for(let p of _e(a,{getVisitorKeys:n})){if(!d){let h=D(p);h<=t&&h>F&&(s=p,F=h)}if(!f){let h=r(p);h>=t&&h<c&&(l=p,c=h)}}}return{nodeBeforeCursor:s,nodeAfterCursor:l}}var oD=DD;function aD(e,u){let{printer:{massageAstNode:t,getVisitorKeys:r}}=u;if(!t)return e;let D=je(r),n=t.ignoredProperties??new Set;return o(e);function o(a,i){if(!(a!==null&&typeof a==\"object\"))return a;if(Array.isArray(a))return a.map(c=>o(c,i)).filter(Boolean);let s={},l=new Set(D(a));for(let c in a)!Object.prototype.hasOwnProperty.call(a,c)||n.has(c)||(l.has(c)?s[c]=o(a[c],a):s[c]=a[c]);let F=t(a,s,i);if(F!==null)return F??s}}var iD=aD,sD=(e,u,t)=>{if(!(e&&u==null)){if(u.findLastIndex)return u.findLastIndex(t);for(let r=u.length-1;r>=0;r--){let D=u[r];if(t(D,r,u))return r}return-1}},lD=sD,cD=({parser:e})=>e===\"json\"||e===\"json5\"||e===\"jsonc\"||e===\"json-stringify\";function fD(e,u){let t=[e.node,...e.parentNodes],r=new Set([u.node,...u.parentNodes]);return t.find(D=>wt.has(D.type)&&r.has(D))}function zu(e){let u=lD(!1,e,t=>t.type!==\"Program\"&&t.type!==\"File\");return u===-1?e:e.slice(0,u+1)}function dD(e,u,{locStart:t,locEnd:r}){let D=e.node,n=u.node;if(D===n)return{startNode:D,endNode:n};let o=t(e.node);for(let i of zu(u.parentNodes))if(t(i)>=o)n=i;else break;let a=r(u.node);for(let i of zu(e.parentNodes)){if(r(i)<=a)D=i;else break;if(D===n)break}return{startNode:D,endNode:n}}function Xe(e,u,t,r,D=[],n){let{locStart:o,locEnd:a}=t,i=o(e),s=a(e);if(!(u>s||u<i||n===\"rangeEnd\"&&u===i||n===\"rangeStart\"&&u===s)){for(let l of cu(e,t)){let F=Xe(l,u,t,r,[e,...D],n);if(F)return F}if(!r||r(e,D[0]))return{node:e,parentNodes:D}}}function FD(e,u){return u!==\"DeclareExportDeclaration\"&&e!==\"TypeParameterDeclaration\"&&(e===\"Directive\"||e===\"TypeAlias\"||e===\"TSExportAssignment\"||e.startsWith(\"Declare\")||e.startsWith(\"TSDeclare\")||e.endsWith(\"Statement\")||e.endsWith(\"Declaration\"))}var wt=new Set([\"JsonRoot\",\"ObjectExpression\",\"ArrayExpression\",\"StringLiteral\",\"NumericLiteral\",\"BooleanLiteral\",\"NullLiteral\",\"UnaryExpression\",\"TemplateLiteral\"]),pD=new Set([\"OperationDefinition\",\"FragmentDefinition\",\"VariableDefinition\",\"TypeExtensionDefinition\",\"ObjectTypeDefinition\",\"FieldDefinition\",\"DirectiveDefinition\",\"EnumTypeDefinition\",\"EnumValueDefinition\",\"InputValueDefinition\",\"InputObjectTypeDefinition\",\"SchemaDefinition\",\"OperationTypeDefinition\",\"InterfaceTypeDefinition\",\"UnionTypeDefinition\",\"ScalarTypeDefinition\"]);function Vu(e,u,t){if(!u)return!1;switch(e.parser){case\"flow\":case\"babel\":case\"babel-flow\":case\"babel-ts\":case\"typescript\":case\"acorn\":case\"espree\":case\"meriyah\":case\"__babel_estree\":return FD(u.type,t==null?void 0:t.type);case\"json\":case\"json5\":case\"jsonc\":case\"json-stringify\":return wt.has(u.type);case\"graphql\":return pD.has(u.kind);case\"vue\":return u.tag!==\"root\"}return!1}function hD(e,u,t){let{rangeStart:r,rangeEnd:D,locStart:n,locEnd:o}=u;Ze.ok(D>r);let a=e.slice(r,D).search(/\\S/u),i=a===-1;if(!i)for(r+=a;D>r&&!/\\S/u.test(e[D-1]);--D);let s=Xe(t,r,u,(d,f)=>Vu(u,d,f),[],\"rangeStart\"),l=i?s:Xe(t,D,u,d=>Vu(u,d),[],\"rangeEnd\");if(!s||!l)return{rangeStart:0,rangeEnd:0};let F,c;if(cD(u)){let d=fD(s,l);F=d,c=d}else({startNode:F,endNode:c}=dD(s,l,u));return{rangeStart:Math.min(n(F),n(c)),rangeEnd:Math.max(o(F),o(c))}}var kt=\"\\uFEFF\",qu=Symbol(\"cursor\");async function St(e,u,t=0){if(!e||e.trim().length===0)return{formatted:\"\",cursorOffset:-1,comments:[]};let{ast:r,text:D}=await pe(e,u);u.cursorOffset>=0&&(u={...u,...oD(r,u)});let n=await Te(r,u);t>0&&(n=Dt([Y,n],t,u.tabWidth));let o=Oe(n,u);if(t>0){let i=o.formatted.trim();o.cursorNodeStart!==void 0&&(o.cursorNodeStart-=o.formatted.indexOf(i),o.cursorNodeStart<0&&(o.cursorNodeStart=0,o.cursorNodeText=o.cursorNodeText.trimStart()),o.cursorNodeStart+o.cursorNodeText.length>i.length&&(o.cursorNodeText=o.cursorNodeText.trimEnd())),o.formatted=i+nu(u.endOfLine)}let a=u[Symbol.for(\"comments\")];if(u.cursorOffset>=0){let i,s,l,F;if((u.cursorNode||u.nodeBeforeCursor||u.nodeAfterCursor)&&o.cursorNodeText)if(l=o.cursorNodeStart,F=o.cursorNodeText,u.cursorNode)i=u.locStart(u.cursorNode),s=D.slice(i,u.locEnd(u.cursorNode));else{if(!u.nodeBeforeCursor&&!u.nodeAfterCursor)throw new Error(\"Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor\");i=u.nodeBeforeCursor?u.locEnd(u.nodeBeforeCursor):0;let g=u.nodeAfterCursor?u.locStart(u.nodeAfterCursor):D.length;s=D.slice(i,g)}else i=0,s=D,l=0,F=o.formatted;let c=u.cursorOffset-i;if(s===F)return{formatted:o.formatted,cursorOffset:l+c,comments:a};let d=s.split(\"\");d.splice(c,0,qu);let f=F.split(\"\"),p=Xt(d,f),h=l;for(let g of p)if(g.removed){if(g.value.includes(qu))break}else h+=g.count;return{formatted:o.formatted,cursorOffset:h,comments:a}}return{formatted:o.formatted,cursorOffset:-1,comments:a}}async function CD(e,u){let{ast:t,text:r}=await pe(e,u),{rangeStart:D,rangeEnd:n}=hD(r,u,t),o=r.slice(D,n),a=Math.min(D,r.lastIndexOf(`\n`,D)+1),i=r.slice(a,D).match(/^\\s*/u)[0],s=su(i,u.tabWidth),l=await St(o,{...u,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:u.cursorOffset>D&&u.cursorOffset<=n?u.cursorOffset-D:-1,endOfLine:\"lf\"},s),F=l.formatted.trimEnd(),{cursorOffset:c}=u;c>n?c+=F.length-o.length:l.cursorOffset>=0&&(c=l.cursorOffset+D);let d=r.slice(0,D)+F+r.slice(n);if(u.endOfLine!==\"lf\"){let f=nu(u.endOfLine);c>=0&&f===`\\r\n`&&(c+=Zu(d.slice(0,c),`\n`)),d=ke(!1,d,`\n`,f)}return{formatted:d,cursorOffset:c,comments:l.comments}}function We(e,u,t){return typeof u!=\"number\"||Number.isNaN(u)||u<0||u>e.length?t:u}function Ju(e,u){let{cursorOffset:t,rangeStart:r,rangeEnd:D}=u;return t=We(e,t,-1),r=We(e,r,0),D=We(e,D,e.length),{...u,cursorOffset:t,rangeStart:r,rangeEnd:D}}function xt(e,u){let{cursorOffset:t,rangeStart:r,rangeEnd:D,endOfLine:n}=Ju(e,u),o=e.charAt(0)===kt;if(o&&(e=e.slice(1),t--,r--,D--),n===\"auto\"&&(n=er(e)),e.includes(\"\\r\")){let a=i=>Zu(e.slice(0,Math.max(i,0)),`\\r\n`);t-=a(t),r-=a(r),D-=a(D),e=ur(e)}return{hasBOM:o,text:e,options:Ju(e,{...u,cursorOffset:t,rangeStart:r,rangeEnd:D,endOfLine:n})}}async function Ku(e,u){let t=await Bt(u);return!t.hasPragma||t.hasPragma(e)}async function Nt(e,u){let{hasBOM:t,text:r,options:D}=xt(e,await se(u));if(D.rangeStart>=D.rangeEnd&&r!==\"\"||D.requirePragma&&!await Ku(r,D))return{formatted:e,cursorOffset:u.cursorOffset,comments:[]};let n;return D.rangeStart>0||D.rangeEnd<r.length?n=await CD(r,D):(!D.requirePragma&&D.insertPragma&&D.printer.insertPragma&&!await Ku(r,D)&&(r=D.printer.insertPragma(r)),n=await St(r,D)),t&&(n.formatted=kt+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n}async function mD(e,u,t){let{text:r,options:D}=xt(e,await se(u)),n=await pe(r,D);return t&&(t.preprocessForPrint&&(n.ast=await At(n.ast,D)),t.massage&&(n.ast=iD(n.ast,D))),n}async function gD(e,u){u=await se(u);let t=await Te(e,u);return Oe(t,u)}async function ED(e,u){let t=Or(e),{formatted:r}=await Nt(t,{...u,parser:\"__js_expression\"});return r}async function yD(e,u){u=await se(u);let{ast:t}=await pe(e,u);return Te(t,u)}async function vD(e,u){return Oe(e,await se(u))}var Ot={};uu(Ot,{builders:()=>BD,printer:()=>bD,utils:()=>AD});var BD={join:nt,line:tt,softline:xr,hardline:Y,literalline:rt,group:et,conditionalGroup:Br,fill:br,lineSuffix:Ke,lineSuffixBoundary:kr,cursor:G,breakParent:Ne,ifBreak:Ar,trim:Sr,indent:Ae,indentIfBreak:wr,align:ie,addAlignmentToDoc:Dt,markAsRoot:yr,dedentToRoot:Er,dedent:vr,hardlineWithoutBreakParent:au,literallineWithoutBreakParent:ut,label:Nr,concat:e=>e},bD={printDocToString:Oe},AD={willBreak:sr,traverseDoc:Du,findInDoc:ou,mapDoc:xe,removeLines:fr,stripTrailingHardline:Xu,replaceEndOfLine:pr,canBreak:Cr},wD=\"3.5.3\",_t={};uu(_t,{addDanglingComment:()=>U,addLeadingComment:()=>re,addTrailingComment:()=>ne,getAlignmentSize:()=>su,getIndentSize:()=>_D,getMaxContinuousCount:()=>ID,getNextNonSpaceNonCommentCharacter:()=>$D,getNextNonSpaceNonCommentCharacterIndex:()=>UD,getPreferredQuote:()=>MD,getStringWidth:()=>iu,hasNewline:()=>V,hasNewlineInRange:()=>WD,hasSpaces:()=>VD,isNextLineEmpty:()=>ZD,isNextLineEmptyAfterIndex:()=>hu,isPreviousLineEmpty:()=>GD,makeString:()=>JD,skip:()=>Fe,skipEverythingButNewLine:()=>st,skipInlineComment:()=>du,skipNewline:()=>Z,skipSpaces:()=>q,skipToLineEnd:()=>it,skipTrailingComment:()=>Fu,skipWhitespace:()=>Ur});function kD(e,u){if(u===!1)return!1;if(e.charAt(u)===\"/\"&&e.charAt(u+1)===\"*\"){for(let t=u+2;t<e.length;++t)if(e.charAt(t)===\"*\"&&e.charAt(t+1)===\"/\")return t+2}return u}var du=kD;function SD(e,u){return u===!1?!1:e.charAt(u)===\"/\"&&e.charAt(u+1)===\"/\"?st(e,u):u}var Fu=SD;function xD(e,u){let t=null,r=u;for(;r!==t;)t=r,r=q(e,r),r=du(e,r),r=Fu(e,r),r=Z(e,r);return r}var pu=xD;function ND(e,u){let t=null,r=u;for(;r!==t;)t=r,r=it(e,r),r=du(e,r),r=q(e,r);return r=Fu(e,r),r=Z(e,r),r!==!1&&V(e,r)}var hu=ND;function OD(e,u){let t=e.lastIndexOf(`\n`);return t===-1?0:su(e.slice(t+1).match(/^[\\t ]*/u)[0],u)}var _D=OD;function jD(e){if(typeof e!=\"string\")throw new TypeError(\"Expected a string\");return e.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}function TD(e,u){let t=e.match(new RegExp(`(${jD(u)})+`,\"gu\"));return t===null?0:t.reduce((r,D)=>Math.max(r,D.length/u.length),0)}var ID=TD;function PD(e,u){let t=pu(e,u);return t===!1?\"\":e.charAt(t)}var $D=PD,ge=\"'\",Uu='\"';function LD(e,u){let t=u===!0||u===ge?ge:Uu,r=t===ge?Uu:ge,D=0,n=0;for(let o of e)o===t?D++:o===r&&n++;return D>n?r:t}var MD=LD;function RD(e,u,t){for(let r=u;r<t;++r)if(e.charAt(r)===`\n`)return!0;return!1}var WD=RD;function zD(e,u,t={}){return q(e,t.backwards?u-1:u,t)!==u}var VD=zD;function qD(e,u,t){let r=u==='\"'?\"'\":'\"',D=ke(!1,e,/\\\\(.)|([\"'])/gsu,(n,o,a)=>o===r?o:a===u?\"\\\\\"+a:a||(t&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/u.test(o)?o:\"\\\\\"+o));return u+D+u}var JD=qD;function KD(e,u,t){return pu(e,t(u))}function UD(e,u){return arguments.length===2||typeof u==\"number\"?pu(e,u):KD(...arguments)}function HD(e,u,t){return fu(e,t(u))}function GD(e,u){return arguments.length===2||typeof u==\"number\"?fu(e,u):HD(...arguments)}function YD(e,u,t){return hu(e,t(u))}function ZD(e,u){return arguments.length===2||typeof u==\"number\"?hu(e,u):YD(...arguments)}function H(e,u=1){return async(...t)=>{let r=t[u]??{},D=r.plugins??[];return t[u]={...r,plugins:Array.isArray(D)?D:Object.values(D)},e(...t)}}var jt=H(Nt);async function Tt(e,u){let{formatted:t}=await jt(e,{...u,cursorOffset:-1});return t}async function QD(e,u){return await Tt(e,u)===e}var XD=H(pt,0),eo={parse:H(mD),formatAST:H(gD),formatDoc:H(ED),printToDoc:H(yD),printDocToString:H(vD)},to=Yu;export{eo as __debug,QD as check,to as default,Ot as doc,Tt as format,jt as formatWithCursor,XD as getSupportInfo,_t as util,wD as version};\n"
  },
  {
    "path": "backend/openui/dist/assets/tsMode-FcR9Jej8.js",
    "content": "import{t as O,m as I}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var N=Object.defineProperty,M=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyNames,K=Object.prototype.hasOwnProperty,E=(e,t,r,o)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let i of R(t))!K.call(e,i)&&i!==r&&N(e,i,{get:()=>t[i],enumerable:!(o=M(t,i))||o.enumerable});return e},H=(e,t,r)=>(E(e,t,\"default\"),r),a={};H(a,I);var V=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;const e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=a.editor.createWebWorker({moduleId:\"vs/language/typescript/tsWorker\",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync()?await this._worker.withSyncedResources(a.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy()))()),this._client}async getLanguageServiceWorker(...e){const t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},n={};n[\"lib.d.ts\"]=!0;n[\"lib.decorators.d.ts\"]=!0;n[\"lib.decorators.legacy.d.ts\"]=!0;n[\"lib.dom.d.ts\"]=!0;n[\"lib.dom.iterable.d.ts\"]=!0;n[\"lib.es2015.collection.d.ts\"]=!0;n[\"lib.es2015.core.d.ts\"]=!0;n[\"lib.es2015.d.ts\"]=!0;n[\"lib.es2015.generator.d.ts\"]=!0;n[\"lib.es2015.iterable.d.ts\"]=!0;n[\"lib.es2015.promise.d.ts\"]=!0;n[\"lib.es2015.proxy.d.ts\"]=!0;n[\"lib.es2015.reflect.d.ts\"]=!0;n[\"lib.es2015.symbol.d.ts\"]=!0;n[\"lib.es2015.symbol.wellknown.d.ts\"]=!0;n[\"lib.es2016.array.include.d.ts\"]=!0;n[\"lib.es2016.d.ts\"]=!0;n[\"lib.es2016.full.d.ts\"]=!0;n[\"lib.es2017.d.ts\"]=!0;n[\"lib.es2017.full.d.ts\"]=!0;n[\"lib.es2017.intl.d.ts\"]=!0;n[\"lib.es2017.object.d.ts\"]=!0;n[\"lib.es2017.sharedmemory.d.ts\"]=!0;n[\"lib.es2017.string.d.ts\"]=!0;n[\"lib.es2017.typedarrays.d.ts\"]=!0;n[\"lib.es2018.asyncgenerator.d.ts\"]=!0;n[\"lib.es2018.asynciterable.d.ts\"]=!0;n[\"lib.es2018.d.ts\"]=!0;n[\"lib.es2018.full.d.ts\"]=!0;n[\"lib.es2018.intl.d.ts\"]=!0;n[\"lib.es2018.promise.d.ts\"]=!0;n[\"lib.es2018.regexp.d.ts\"]=!0;n[\"lib.es2019.array.d.ts\"]=!0;n[\"lib.es2019.d.ts\"]=!0;n[\"lib.es2019.full.d.ts\"]=!0;n[\"lib.es2019.intl.d.ts\"]=!0;n[\"lib.es2019.object.d.ts\"]=!0;n[\"lib.es2019.string.d.ts\"]=!0;n[\"lib.es2019.symbol.d.ts\"]=!0;n[\"lib.es2020.bigint.d.ts\"]=!0;n[\"lib.es2020.d.ts\"]=!0;n[\"lib.es2020.date.d.ts\"]=!0;n[\"lib.es2020.full.d.ts\"]=!0;n[\"lib.es2020.intl.d.ts\"]=!0;n[\"lib.es2020.number.d.ts\"]=!0;n[\"lib.es2020.promise.d.ts\"]=!0;n[\"lib.es2020.sharedmemory.d.ts\"]=!0;n[\"lib.es2020.string.d.ts\"]=!0;n[\"lib.es2020.symbol.wellknown.d.ts\"]=!0;n[\"lib.es2021.d.ts\"]=!0;n[\"lib.es2021.full.d.ts\"]=!0;n[\"lib.es2021.intl.d.ts\"]=!0;n[\"lib.es2021.promise.d.ts\"]=!0;n[\"lib.es2021.string.d.ts\"]=!0;n[\"lib.es2021.weakref.d.ts\"]=!0;n[\"lib.es2022.array.d.ts\"]=!0;n[\"lib.es2022.d.ts\"]=!0;n[\"lib.es2022.error.d.ts\"]=!0;n[\"lib.es2022.full.d.ts\"]=!0;n[\"lib.es2022.intl.d.ts\"]=!0;n[\"lib.es2022.object.d.ts\"]=!0;n[\"lib.es2022.regexp.d.ts\"]=!0;n[\"lib.es2022.sharedmemory.d.ts\"]=!0;n[\"lib.es2022.string.d.ts\"]=!0;n[\"lib.es2023.array.d.ts\"]=!0;n[\"lib.es2023.d.ts\"]=!0;n[\"lib.es2023.full.d.ts\"]=!0;n[\"lib.es5.d.ts\"]=!0;n[\"lib.es6.d.ts\"]=!0;n[\"lib.esnext.d.ts\"]=!0;n[\"lib.esnext.full.d.ts\"]=!0;n[\"lib.esnext.intl.d.ts\"]=!0;n[\"lib.scripthost.d.ts\"]=!0;n[\"lib.webworker.d.ts\"]=!0;n[\"lib.webworker.importscripts.d.ts\"]=!0;n[\"lib.webworker.iterable.d.ts\"]=!0;function D(e,t,r=0){if(typeof e==\"string\")return e;if(e===void 0)return\"\";let o=\"\";if(r){o+=t;for(let i=0;i<r;i++)o+=\"  \"}if(o+=e.messageText,r++,e.next)for(const i of e.next)o+=D(i,t,r);return o}function w(e){return e?e.map(t=>t.text).join(\"\"):\"\"}var _=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let r=e.getPositionAt(t.start),o=e.getPositionAt(t.start+t.length),{lineNumber:i,column:l}=r,{lineNumber:u,column:s}=o;return{startLineNumber:i,startColumn:l,endLineNumber:u,endColumn:s}}},W=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return e&&e.path.indexOf(\"/lib.\")===0?!!n[e.path.slice(1)]:!1}getOrCreateModel(e){const t=a.Uri.parse(e),r=a.editor.getModel(t);if(r)return r;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return a.editor.createModel(this._libFiles[t.path.slice(1)],\"typescript\",t);const o=O.getExtraLibs()[e];return o?a.editor.createModel(o.content,\"typescript\",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},j=class extends _{constructor(e,t,r,o){super(o),this._libFiles=e,this._defaults=t,this._selector=r,this._disposables=[],this._listener=Object.create(null);const i=s=>{if(s.getLanguageId()!==r)return;const c=()=>{const{onlyVisible:h}=this._defaults.getDiagnosticsOptions();h?s.isAttachedToEditor()&&this._doValidate(s):this._doValidate(s)};let g;const d=s.onDidChangeContent(()=>{clearTimeout(g),g=window.setTimeout(c,500)}),b=s.onDidChangeAttached(()=>{const{onlyVisible:h}=this._defaults.getDiagnosticsOptions();h&&(s.isAttachedToEditor()?c():a.editor.setModelMarkers(s,this._selector,[]))});this._listener[s.uri.toString()]={dispose(){d.dispose(),b.dispose(),clearTimeout(g)}},c()},l=s=>{a.editor.setModelMarkers(s,this._selector,[]);const c=s.uri.toString();this._listener[c]&&(this._listener[c].dispose(),delete this._listener[c])};this._disposables.push(a.editor.onDidCreateModel(s=>i(s))),this._disposables.push(a.editor.onWillDisposeModel(l)),this._disposables.push(a.editor.onDidChangeModelLanguage(s=>{l(s.model),i(s.model)})),this._disposables.push({dispose(){for(const s of a.editor.getModels())l(s)}});const u=()=>{for(const s of a.editor.getModels())l(s),i(s)};this._disposables.push(this._defaults.onDidChange(u)),this._disposables.push(this._defaults.onDidExtraLibsChange(u)),a.editor.getModels().forEach(s=>i(s))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){const t=await this._worker(e.uri);if(e.isDisposed())return;const r=[],{noSyntaxValidation:o,noSemanticValidation:i,noSuggestionDiagnostics:l}=this._defaults.getDiagnosticsOptions();o||r.push(t.getSyntacticDiagnostics(e.uri.toString())),i||r.push(t.getSemanticDiagnostics(e.uri.toString())),l||r.push(t.getSuggestionDiagnostics(e.uri.toString()));const u=await Promise.all(r);if(!u||e.isDisposed())return;const s=u.reduce((g,d)=>d.concat(g),[]).filter(g=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(g.code)===-1),c=s.map(g=>g.relatedInformation||[]).reduce((g,d)=>d.concat(g),[]).map(g=>g.file?a.Uri.parse(g.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(c),!e.isDisposed()&&a.editor.setModelMarkers(e,this._selector,s.map(g=>this._convertDiagnostics(e,g)))}_convertDiagnostics(e,t){const r=t.start||0,o=t.length||1,{lineNumber:i,column:l}=e.getPositionAt(r),{lineNumber:u,column:s}=e.getPositionAt(r+o),c=[];return t.reportsUnnecessary&&c.push(a.MarkerTag.Unnecessary),t.reportsDeprecated&&c.push(a.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:i,startColumn:l,endLineNumber:u,endColumn:s,message:D(t.messageText,`\n`),code:t.code.toString(),tags:c,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];const r=[];return t.forEach(o=>{let i=e;if(o.file&&(i=this._libFiles.getOrCreateModel(o.file.fileName)),!i)return;const l=o.start||0,u=o.length||1,{lineNumber:s,column:c}=i.getPositionAt(l),{lineNumber:g,column:d}=i.getPositionAt(l+u);r.push({resource:i.uri,startLineNumber:s,startColumn:c,endLineNumber:g,endColumn:d,message:D(o.messageText,`\n`)})}),r}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return a.MarkerSeverity.Error;case 3:return a.MarkerSeverity.Info;case 0:return a.MarkerSeverity.Warning;case 2:return a.MarkerSeverity.Hint}return a.MarkerSeverity.Info}},B=class C extends _{get triggerCharacters(){return[\".\"]}async provideCompletionItems(t,r,o,i){const l=t.getWordUntilPosition(r),u=new a.Range(r.lineNumber,l.startColumn,r.lineNumber,l.endColumn),s=t.uri,c=t.getOffsetAt(r),g=await this._worker(s);if(t.isDisposed())return;const d=await g.getCompletionsAtPosition(s.toString(),c);return!d||t.isDisposed()?void 0:{suggestions:d.entries.map(h=>{let y=u;if(h.replacementSpan){const S=t.getPositionAt(h.replacementSpan.start),x=t.getPositionAt(h.replacementSpan.start+h.replacementSpan.length);y=new a.Range(S.lineNumber,S.column,x.lineNumber,x.column)}const v=[];return h.kindModifiers!==void 0&&h.kindModifiers.indexOf(\"deprecated\")!==-1&&v.push(a.languages.CompletionItemTag.Deprecated),{uri:s,position:r,offset:c,range:y,label:h.name,insertText:h.name,sortText:h.sortText,kind:C.convertKind(h.kind),tags:v}})}}async resolveCompletionItem(t,r){const o=t,i=o.uri,l=o.position,u=o.offset,c=await(await this._worker(i)).getCompletionEntryDetails(i.toString(),u,o.label);return c?{uri:i,position:l,label:c.name,kind:C.convertKind(c.kind),detail:w(c.displayParts),documentation:{value:C.createDocumentationString(c)}}:o}static convertKind(t){switch(t){case f.primitiveType:case f.keyword:return a.languages.CompletionItemKind.Keyword;case f.variable:case f.localVariable:return a.languages.CompletionItemKind.Variable;case f.memberVariable:case f.memberGetAccessor:case f.memberSetAccessor:return a.languages.CompletionItemKind.Field;case f.function:case f.memberFunction:case f.constructSignature:case f.callSignature:case f.indexSignature:return a.languages.CompletionItemKind.Function;case f.enum:return a.languages.CompletionItemKind.Enum;case f.module:return a.languages.CompletionItemKind.Module;case f.class:return a.languages.CompletionItemKind.Class;case f.interface:return a.languages.CompletionItemKind.Interface;case f.warning:return a.languages.CompletionItemKind.File}return a.languages.CompletionItemKind.Property}static createDocumentationString(t){let r=w(t.documentation);if(t.tags)for(const o of t.tags)r+=`\n\n${T(o)}`;return r}};function T(e){let t=`*@${e.name}*`;if(e.name===\"param\"&&e.text){const[r,...o]=e.text;t+=`\\`${r.text}\\``,o.length>0&&(t+=` — ${o.map(i=>i.text).join(\" \")}`)}else Array.isArray(e.text)?t+=` — ${e.text.map(r=>r.text).join(\" \")}`:e.text&&(t+=` — ${e.text}`);return t}var U=class P extends _{constructor(){super(...arguments),this.signatureHelpTriggerCharacters=[\"(\",\",\"]}static _toSignatureHelpTriggerReason(t){switch(t.triggerKind){case a.languages.SignatureHelpTriggerKind.TriggerCharacter:return t.triggerCharacter?t.isRetrigger?{kind:\"retrigger\",triggerCharacter:t.triggerCharacter}:{kind:\"characterTyped\",triggerCharacter:t.triggerCharacter}:{kind:\"invoked\"};case a.languages.SignatureHelpTriggerKind.ContentChange:return t.isRetrigger?{kind:\"retrigger\"}:{kind:\"invoked\"};case a.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:\"invoked\"}}}async provideSignatureHelp(t,r,o,i){const l=t.uri,u=t.getOffsetAt(r),s=await this._worker(l);if(t.isDisposed())return;const c=await s.getSignatureHelpItems(l.toString(),u,{triggerReason:P._toSignatureHelpTriggerReason(i)});if(!c||t.isDisposed())return;const g={activeSignature:c.selectedItemIndex,activeParameter:c.argumentIndex,signatures:[]};return c.items.forEach(d=>{const b={label:\"\",parameters:[]};b.documentation={value:w(d.documentation)},b.label+=w(d.prefixDisplayParts),d.parameters.forEach((h,y,v)=>{const S=w(h.displayParts),x={label:S,documentation:{value:w(h.documentation)}};b.label+=S,b.parameters.push(x),y<v.length-1&&(b.label+=w(d.separatorDisplayParts))}),b.label+=w(d.suffixDisplayParts),g.signatures.push(b)}),{value:g,dispose(){}}}},$=class extends _{async provideHover(e,t,r){const o=e.uri,i=e.getOffsetAt(t),l=await this._worker(o);if(e.isDisposed())return;const u=await l.getQuickInfoAtPosition(o.toString(),i);if(!u||e.isDisposed())return;const s=w(u.documentation),c=u.tags?u.tags.map(d=>T(d)).join(`  \n\n`):\"\",g=w(u.displayParts);return{range:this._textSpanToRange(e,u.textSpan),contents:[{value:\"```typescript\\n\"+g+\"\\n```\\n\"},{value:s+(c?`\n\n`+c:\"\")}]}}},z=class extends _{async provideDocumentHighlights(e,t,r){const o=e.uri,i=e.getOffsetAt(t),l=await this._worker(o);if(e.isDisposed())return;const u=await l.getDocumentHighlights(o.toString(),i,[o.toString()]);if(!(!u||e.isDisposed()))return u.flatMap(s=>s.highlightSpans.map(c=>({range:this._textSpanToRange(e,c.textSpan),kind:c.kind===\"writtenReference\"?a.languages.DocumentHighlightKind.Write:a.languages.DocumentHighlightKind.Text})))}},G=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,r){const o=e.uri,i=e.getOffsetAt(t),l=await this._worker(o);if(e.isDisposed())return;const u=await l.getDefinitionAtPosition(o.toString(),i);if(!u||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(u.map(c=>a.Uri.parse(c.fileName))),e.isDisposed()))return;const s=[];for(let c of u){const g=this._libFiles.getOrCreateModel(c.fileName);g&&s.push({uri:g.uri,range:this._textSpanToRange(g,c.textSpan)})}return s}},J=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,r,o){const i=e.uri,l=e.getOffsetAt(t),u=await this._worker(i);if(e.isDisposed())return;const s=await u.getReferencesAtPosition(i.toString(),l);if(!s||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(s.map(g=>a.Uri.parse(g.fileName))),e.isDisposed()))return;const c=[];for(let g of s){const d=this._libFiles.getOrCreateModel(g.fileName);d&&c.push({uri:d.uri,range:this._textSpanToRange(d,g.textSpan)})}return c}},Q=class extends _{async provideDocumentSymbols(e,t){const r=e.uri,o=await this._worker(r);if(e.isDisposed())return;const i=await o.getNavigationTree(r.toString());if(!i||e.isDisposed())return;const l=(s,c)=>{var d;return{name:s.text,detail:\"\",kind:m[s.kind]||a.languages.SymbolKind.Variable,range:this._textSpanToRange(e,s.spans[0]),selectionRange:this._textSpanToRange(e,s.spans[0]),tags:[],children:(d=s.childItems)==null?void 0:d.map(b=>l(b,s.text)),containerName:c}};return i.childItems?i.childItems.map(s=>l(s)):[]}},p,f=(p=class{},p.unknown=\"\",p.keyword=\"keyword\",p.script=\"script\",p.module=\"module\",p.class=\"class\",p.interface=\"interface\",p.type=\"type\",p.enum=\"enum\",p.variable=\"var\",p.localVariable=\"local var\",p.function=\"function\",p.localFunction=\"local function\",p.memberFunction=\"method\",p.memberGetAccessor=\"getter\",p.memberSetAccessor=\"setter\",p.memberVariable=\"property\",p.constructorImplementation=\"constructor\",p.callSignature=\"call\",p.indexSignature=\"index\",p.constructSignature=\"construct\",p.parameter=\"parameter\",p.typeParameter=\"type parameter\",p.primitiveType=\"primitive type\",p.label=\"label\",p.alias=\"alias\",p.const=\"const\",p.let=\"let\",p.warning=\"warning\",p),m=Object.create(null);m[f.module]=a.languages.SymbolKind.Module;m[f.class]=a.languages.SymbolKind.Class;m[f.enum]=a.languages.SymbolKind.Enum;m[f.interface]=a.languages.SymbolKind.Interface;m[f.memberFunction]=a.languages.SymbolKind.Method;m[f.memberVariable]=a.languages.SymbolKind.Property;m[f.memberGetAccessor]=a.languages.SymbolKind.Property;m[f.memberSetAccessor]=a.languages.SymbolKind.Property;m[f.variable]=a.languages.SymbolKind.Variable;m[f.const]=a.languages.SymbolKind.Variable;m[f.localVariable]=a.languages.SymbolKind.Variable;m[f.variable]=a.languages.SymbolKind.Variable;m[f.function]=a.languages.SymbolKind.Function;m[f.localFunction]=a.languages.SymbolKind.Function;var k=class extends _{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:`\n`,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},q=class extends k{constructor(){super(...arguments),this.canFormatMultipleRanges=!1}async provideDocumentRangeFormattingEdits(e,t,r,o){const i=e.uri,l=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),u=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=await this._worker(i);if(e.isDisposed())return;const c=await s.getFormattingEditsForRange(i.toString(),l,u,k._convertOptions(r));if(!(!c||e.isDisposed()))return c.map(g=>this._convertTextChanges(e,g))}},X=class extends k{get autoFormatTriggerCharacters(){return[\";\",\"}\",`\n`]}async provideOnTypeFormattingEdits(e,t,r,o,i){const l=e.uri,u=e.getOffsetAt(t),s=await this._worker(l);if(e.isDisposed())return;const c=await s.getFormattingEditsAfterKeystroke(l.toString(),u,r,k._convertOptions(o));if(!(!c||e.isDisposed()))return c.map(g=>this._convertTextChanges(e,g))}},Y=class extends k{async provideCodeActions(e,t,r,o){const i=e.uri,l=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),u=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=k._convertOptions(e.getOptions()),c=r.markers.filter(h=>h.code).map(h=>h.code).map(Number),g=await this._worker(i);if(e.isDisposed())return;const d=await g.getCodeFixesAtPosition(i.toString(),l,u,c,s);return!d||e.isDisposed()?{actions:[],dispose:()=>{}}:{actions:d.filter(h=>h.changes.filter(y=>y.isNewFile).length===0).map(h=>this._tsCodeFixActionToMonacoCodeAction(e,r,h)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,r){const o=[];for(const l of r.changes)for(const u of l.textChanges)o.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,u.span),text:u.newText}});return{title:r.description,edit:{edits:o},diagnostics:t.markers,kind:\"quickfix\"}}},Z=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,r,o){const i=e.uri,l=i.toString(),u=e.getOffsetAt(t),s=await this._worker(i);if(e.isDisposed())return;const c=await s.getRenameInfo(l,u,{allowRenameOfImportPath:!1});if(c.canRename===!1)return{edits:[],rejectReason:c.localizedErrorMessage};if(c.fileToRename!==void 0)throw new Error(\"Renaming files is not supported.\");const g=await s.findRenameLocations(l,u,!1,!1,!1);if(!g||e.isDisposed())return;const d=[];for(const b of g){const h=this._libFiles.getOrCreateModel(b.fileName);if(h)d.push({resource:h.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(h,b.textSpan),text:r}});else throw new Error(`Unknown file ${b.fileName}.`)}return{edits:d}}},ee=class extends _{async provideInlayHints(e,t,r){const o=e.uri,i=o.toString(),l=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),u=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=await this._worker(o);return e.isDisposed()?null:{hints:(await s.provideInlayHints(i,l,u)).map(d=>({...d,label:d.text,position:e.getPositionAt(d.position),kind:this._convertHintKind(d.kind)})),dispose:()=>{}}}_convertHintKind(e){switch(e){case\"Parameter\":return a.languages.InlayHintKind.Parameter;case\"Type\":return a.languages.InlayHintKind.Type;default:return a.languages.InlayHintKind.Type}}},A,F;function ne(e){F=L(e,\"typescript\")}function ae(e){A=L(e,\"javascript\")}function oe(){return new Promise((e,t)=>{if(!A)return t(\"JavaScript not registered!\");e(A)})}function ce(){return new Promise((e,t)=>{if(!F)return t(\"TypeScript not registered!\");e(F)})}function L(e,t){const r=[],o=new V(t,e),i=(...s)=>o.getLanguageServiceWorker(...s),l=new W(i);function u(){const{modeConfiguration:s}=e;te(r),s.completionItems&&r.push(a.languages.registerCompletionItemProvider(t,new B(i))),s.signatureHelp&&r.push(a.languages.registerSignatureHelpProvider(t,new U(i))),s.hovers&&r.push(a.languages.registerHoverProvider(t,new $(i))),s.documentHighlights&&r.push(a.languages.registerDocumentHighlightProvider(t,new z(i))),s.definitions&&r.push(a.languages.registerDefinitionProvider(t,new G(l,i))),s.references&&r.push(a.languages.registerReferenceProvider(t,new J(l,i))),s.documentSymbols&&r.push(a.languages.registerDocumentSymbolProvider(t,new Q(i))),s.rename&&r.push(a.languages.registerRenameProvider(t,new Z(l,i))),s.documentRangeFormattingEdits&&r.push(a.languages.registerDocumentRangeFormattingEditProvider(t,new q(i))),s.onTypeFormattingEdits&&r.push(a.languages.registerOnTypeFormattingEditProvider(t,new X(i))),s.codeActions&&r.push(a.languages.registerCodeActionProvider(t,new Y(i))),s.inlayHints&&r.push(a.languages.registerInlayHintsProvider(t,new ee(i))),s.diagnostics&&r.push(new j(l,e,t,i))}return u(),i}function te(e){for(;e.length;)e.pop().dispose()}export{_ as Adapter,Y as CodeActionAdaptor,G as DefinitionAdapter,j as DiagnosticsAdapter,z as DocumentHighlightAdapter,q as FormatAdapter,k as FormatHelper,X as FormatOnTypeAdapter,ee as InlayHintsAdapter,f as Kind,W as LibFiles,Q as OutlineAdapter,$ as QuickInfoAdapter,J as ReferenceAdapter,Z as RenameAdapter,U as SignatureHelpAdapter,B as SuggestAdapter,V as WorkerManager,D as flattenDiagnosticMessageText,oe as getJavaScriptWorker,ce as getTypeScriptWorker,ae as setupJavaScript,ne as setupTypeScript};\n"
  },
  {
    "path": "backend/openui/dist/assets/typescript-BfKWl9Pr.js",
    "content": "import{m as s}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var c=Object.defineProperty,a=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,l=(t,e,o,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let n of p(e))!g.call(t,n)&&n!==o&&c(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t},d=(t,e,o)=>(l(t,e,\"default\"),o),r={};d(r,s);var u={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],onEnterRules:[{beforeText:/^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,afterText:/^\\s*\\*\\/$/,action:{indentAction:r.languages.IndentAction.IndentOutdent,appendText:\" * \"}},{beforeText:/^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,action:{indentAction:r.languages.IndentAction.None,appendText:\" * \"}},{beforeText:/^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$/,action:{indentAction:r.languages.IndentAction.None,appendText:\"* \"}},{beforeText:/^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$/,action:{indentAction:r.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:\"`\",close:\"`\",notIn:[\"string\",\"comment\"]},{open:\"/**\",close:\" */\",notIn:[\"string\"]}],folding:{markers:{start:new RegExp(\"^\\\\s*//\\\\s*#?region\\\\b\"),end:new RegExp(\"^\\\\s*//\\\\s*#?endregion\\\\b\")}}},f={defaultToken:\"invalid\",tokenPostfix:\".ts\",keywords:[\"abstract\",\"any\",\"as\",\"asserts\",\"bigint\",\"boolean\",\"break\",\"case\",\"catch\",\"class\",\"continue\",\"const\",\"constructor\",\"debugger\",\"declare\",\"default\",\"delete\",\"do\",\"else\",\"enum\",\"export\",\"extends\",\"false\",\"finally\",\"for\",\"from\",\"function\",\"get\",\"if\",\"implements\",\"import\",\"in\",\"infer\",\"instanceof\",\"interface\",\"is\",\"keyof\",\"let\",\"module\",\"namespace\",\"never\",\"new\",\"null\",\"number\",\"object\",\"out\",\"package\",\"private\",\"protected\",\"public\",\"override\",\"readonly\",\"require\",\"global\",\"return\",\"satisfies\",\"set\",\"static\",\"string\",\"super\",\"switch\",\"symbol\",\"this\",\"throw\",\"true\",\"try\",\"type\",\"typeof\",\"undefined\",\"unique\",\"unknown\",\"var\",\"void\",\"while\",\"with\",\"yield\",\"async\",\"await\",\"of\"],operators:[\"<=\",\">=\",\"==\",\"!=\",\"===\",\"!==\",\"=>\",\"+\",\"-\",\"**\",\"*\",\"/\",\"%\",\"++\",\"--\",\"<<\",\"</\",\">>\",\">>>\",\"&\",\"|\",\"^\",\"!\",\"~\",\"&&\",\"||\",\"??\",\"?\",\":\",\"=\",\"+=\",\"-=\",\"*=\",\"**=\",\"/=\",\"%=\",\"<<=\",\">>=\",\">>>=\",\"&=\",\"|=\",\"^=\",\"@\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\\d+(_+\\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\\[\\]\\$\\^|\\-*+?\\.]/,regexpesc:/\\\\(?:[bBdDfnrstvwWn0\\\\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,\"delimiter.bracket\"],{include:\"common\"}],common:[[/#?[a-z_$][\\w$]*/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],[/[A-Z][\\w\\$]*/,\"type.identifier\"],{include:\"@whitespace\"},[/\\/(?=([^\\\\\\/]|\\\\.)+\\/([dgimsuy]*)(\\s*)(\\.|;|,|\\)|\\]|\\}|$))/,{token:\"regexp\",bracket:\"@open\",next:\"@regexp\"}],[/[()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/!(?=([^=]|$))/,\"delimiter\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/(@digits)[eE]([\\-+]?(@digits))?/,\"number.float\"],[/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?/,\"number.float\"],[/0[xX](@hexdigits)n?/,\"number.hex\"],[/0[oO]?(@octaldigits)n?/,\"number.octal\"],[/0[bB](@binarydigits)n?/,\"number.binary\"],[/(@digits)n?/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string_double\"],[/'/,\"string\",\"@string_single\"],[/`/,\"string\",\"@string_backtick\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@jsdoc\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],jsdoc:[[/[^\\/*]+/,\"comment.doc\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],regexp:[[/(\\{)(\\d+(?:,\\d*)?)(\\})/,[\"regexp.escape.control\",\"regexp.escape.control\",\"regexp.escape.control\"]],[/(\\[)(\\^?)(?=(?:[^\\]\\\\\\/]|\\\\.)+)/,[\"regexp.escape.control\",{token:\"regexp.escape.control\",next:\"@regexrange\"}]],[/(\\()(\\?:|\\?=|\\?!)/,[\"regexp.escape.control\",\"regexp.escape.control\"]],[/[()]/,\"regexp.escape.control\"],[/@regexpctl/,\"regexp.escape.control\"],[/[^\\\\\\/]/,\"regexp\"],[/@regexpesc/,\"regexp.escape\"],[/\\\\\\./,\"regexp.invalid\"],[/(\\/)([dgimsuy]*)/,[{token:\"regexp\",bracket:\"@close\",next:\"@pop\"},\"keyword.other\"]]],regexrange:[[/-/,\"regexp.escape.control\"],[/\\^/,\"regexp.invalid\"],[/@regexpesc/,\"regexp.escape\"],[/[^\\]]/,\"regexp\"],[/\\]/,{token:\"regexp.escape.control\",next:\"@pop\",bracket:\"@close\"}]],string_double:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],string_single:[[/[^\\\\']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/'/,\"string\",\"@pop\"]],string_backtick:[[/\\$\\{/,{token:\"delimiter.bracket\",next:\"@bracketCounting\"}],[/[^\\\\`$]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/`/,\"string\",\"@pop\"]],bracketCounting:[[/\\{/,\"delimiter.bracket\",\"@bracketCounting\"],[/\\}/,\"delimiter.bracket\",\"@pop\"],{include:\"common\"}]}};export{u as conf,f as language};\n"
  },
  {
    "path": "backend/openui/dist/assets/yaml-DWuY8lcX.js",
    "content": "import{m as l}from\"./CodeEditor-B9qhAAku.js\";import\"./index-B7PjGjI7.js\";import\"./index-DnTpCebm.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var i=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,d=(n,e,r,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of u(e))!s.call(n,t)&&t!==r&&i(n,t,{get:()=>e[t],enumerable:!(o=c(e,t))||o.enumerable});return n},m=(n,e,r)=>(d(n,e,\"default\"),r),a={};m(a,l);var g={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\\s*$/,action:{indentAction:a.languages.IndentAction.Indent}}]},w={tokenPostfix:\".yaml\",brackets:[{token:\"delimiter.bracket\",open:\"{\",close:\"}\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"}],keywords:[\"true\",\"True\",\"TRUE\",\"false\",\"False\",\"FALSE\",\"null\",\"Null\",\"Null\",\"~\"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\\.(?:inf|Inf|INF)/,numberNaN:/\\.(?:nan|Nan|NAN)/,numberDate:/\\d{4}-\\d\\d-\\d\\d([Tt ]\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(( ?[+-]\\d\\d?(:\\d\\d)?)|Z)?)?/,escapes:/\\\\(?:[btnfr\\\\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:\"@whitespace\"},{include:\"@comment\"},[/%[^ ]+.*$/,\"meta.directive\"],[/---/,\"operators.directivesEnd\"],[/\\.{3}/,\"operators.documentEnd\"],[/[-?:](?= )/,\"operators\"],{include:\"@anchor\"},{include:\"@tagHandle\"},{include:\"@flowCollections\"},{include:\"@blockStyle\"},[/@numberInteger(?![ \\t]*\\S+)/,\"number\"],[/@numberFloat(?![ \\t]*\\S+)/,\"number.float\"],[/@numberOctal(?![ \\t]*\\S+)/,\"number.octal\"],[/@numberHex(?![ \\t]*\\S+)/,\"number.hex\"],[/@numberInfinity(?![ \\t]*\\S+)/,\"number.infinity\"],[/@numberNaN(?![ \\t]*\\S+)/,\"number.nan\"],[/@numberDate(?![ \\t]*\\S+)/,\"number.date\"],[/(\".*?\"|'.*?'|[^#'\"]*?)([ \\t]*)(:)( |$)/,[\"type\",\"white\",\"operators\",\"white\"]],{include:\"@flowScalars\"},[/.+?(?=(\\s+#|$))/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"string\"}}]],object:[{include:\"@whitespace\"},{include:\"@comment\"},[/\\}/,\"@brackets\",\"@pop\"],[/,/,\"delimiter.comma\"],[/:(?= )/,\"operators\"],[/(?:\".*?\"|'.*?'|[^,\\{\\[]+?)(?=: )/,\"type\"],{include:\"@flowCollections\"},{include:\"@flowScalars\"},{include:\"@tagHandle\"},{include:\"@anchor\"},{include:\"@flowNumber\"},[/[^\\},]+/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"string\"}}]],array:[{include:\"@whitespace\"},{include:\"@comment\"},[/\\]/,\"@brackets\",\"@pop\"],[/,/,\"delimiter.comma\"],{include:\"@flowCollections\"},{include:\"@flowScalars\"},{include:\"@tagHandle\"},{include:\"@anchor\"},{include:\"@flowNumber\"},[/[^\\],]+/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"string\"}}]],multiString:[[/^( +).+$/,\"string\",\"@multiStringContinued.$1\"]],multiStringContinued:[[/^( *).+$/,{cases:{\"$1==$S2\":\"string\",\"@default\":{token:\"@rematch\",next:\"@popall\"}}}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"]],comment:[[/#.*$/,\"comment\"]],flowCollections:[[/\\[/,\"@brackets\",\"@array\"],[/\\{/,\"@brackets\",\"@object\"]],flowScalars:[[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/'[^']*'/,\"string\"],[/\"/,\"string\",\"@doubleQuotedString\"]],doubleQuotedString:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],blockStyle:[[/[>|][0-9]*[+-]?$/,\"operators\",\"@multiString\"]],flowNumber:[[/@numberInteger(?=[ \\t]*[,\\]\\}])/,\"number\"],[/@numberFloat(?=[ \\t]*[,\\]\\}])/,\"number.float\"],[/@numberOctal(?=[ \\t]*[,\\]\\}])/,\"number.octal\"],[/@numberHex(?=[ \\t]*[,\\]\\}])/,\"number.hex\"],[/@numberInfinity(?=[ \\t]*[,\\]\\}])/,\"number.infinity\"],[/@numberNaN(?=[ \\t]*[,\\]\\}])/,\"number.nan\"],[/@numberDate(?=[ \\t]*[,\\]\\}])/,\"number.date\"]],tagHandle:[[/\\![^ ]*/,\"tag\"]],anchor:[[/[&*][^ ]+/,\"namespace\"]]}};export{g as conf,w as language};\n"
  },
  {
    "path": "backend/openui/dist/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" class=\"antialiased\">\n\t<head>\n\t\t<script>self[\"MonacoEnvironment\"] = (function (paths) {\n          return {\n            globalAPI: false,\n            getWorkerUrl : function (moduleId, label) {\n              var result =  paths[label];\n              if (/^((http:)|(https:)|(file:)|(\\/\\/))/.test(result)) {\n                var currentUrl = String(window.location);\n                var currentOrigin = currentUrl.substr(0, currentUrl.length - window.location.hash.length - window.location.search.length - window.location.pathname.length);\n                if (result.substring(0, currentOrigin.length) !== currentOrigin) {\n                  var js = '/*' + label + '*/importScripts(\"' + result + '\");';\n                  var blob = new Blob([js], { type: 'application/javascript' });\n                  return URL.createObjectURL(blob);\n                }\n              }\n              return result;\n            }\n          };\n        })({\n  \"editorWorkerService\": \"/monacoeditorwork/editor.worker.bundle.js\",\n  \"css\": \"/monacoeditorwork/css.worker.bundle.js\",\n  \"html\": \"/monacoeditorwork/html.worker.bundle.js\",\n  \"json\": \"/monacoeditorwork/json.worker.bundle.js\",\n  \"typescript\": \"/monacoeditorwork/ts.worker.bundle.js\",\n  \"tailwindcss\": \"/monacoeditorwork/tailwindcss.worker.bundle.js\",\n  \"javascript\": \"/monacoeditorwork/ts.worker.bundle.js\",\n  \"less\": \"/monacoeditorwork/css.worker.bundle.js\",\n  \"scss\": \"/monacoeditorwork/css.worker.bundle.js\",\n  \"handlebars\": \"/monacoeditorwork/html.worker.bundle.js\",\n  \"razor\": \"/monacoeditorwork/html.worker.bundle.js\"\n});</script>\n\n\t\t<script>\n\t\t\t// Only add google analytics when built for hosting\n\t\t\tif ('production' === 'hosted') {\n\t\t\t\tconst script = document.createElement('script')\n\t\t\t\tscript.src = 'https://www.googletagmanager.com/gtag/js?id=G-FDHP7DEY94'\n\t\t\t\tscript.async = true\n\t\t\t\tdocument.head.appendChild(script)\n\t\t\t}\n\t\t\twindow.dataLayer = window.dataLayer || []\n\t\t\tfunction gtag() {\n\t\t\t\tdataLayer.push(arguments)\n\t\t\t}\n\t\t\tgtag('js', new Date())\n\n\t\t\tgtag('config', 'G-FDHP7DEY94')\n\t\t</script>\n\t\t<meta charset=\"UTF-8\" />\n\t\t<link rel=\"icon\" type=\"image/png\" href=\"/favicon.png\" />\n\t\t<link rel=\"apple-touch-icon\" href=\"/apple-touch-icon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\t\t<meta name=\"description\" content=\"OpenUI\" />\n\t\t<meta\n\t\t\tname=\"apple-mobile-web-app-status-bar-style\"\n\t\t\tcontent=\"black-translucent\"\n\t\t/>\n\t\t<meta name=\"theme-color\" content=\"#15abbc\" />\n\t\t<title>OpenUI by W&B</title>\n\t\t<script type=\"module\" crossorigin src=\"/assets/index-B7PjGjI7.js\"></script>\n\t\t<link rel=\"stylesheet\" crossorigin href=\"/assets/index-CnQwS-Fb.css\">\n\t<link rel=\"manifest\" href=\"/manifest.webmanifest\"><script id=\"vite-plugin-pwa:register-sw\" src=\"/registerSW.js\"></script></head>\n\t<body>\n\t\t<noscript>You need to enable JavaScript to run this app.</noscript>\n\t\t<div id=\"root\"></div>\n\t</body>\n</html>\n"
  },
  {
    "path": "backend/openui/dist/logo.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\t\t<meta name=\"theme-color\" content=\"#0C0C0C\" />\n\t\t<meta name=\"date\" content=\"2024-06-08T04:52:44.590Z\" />\n\t\t<link\n\t\t\thref=\"https://fonts.cdnfonts.com/css/cascadia-code\"\n\t\t\trel=\"stylesheet\"\n\t\t/>\n\t\t<title>android-chrome-512x512</title>\n\t\t<style>\n\t\t\t* {\n\t\t\t\tfont-variant-ligatures: none;\n\t\t\t\tfont-feature-settings:\n\t\t\t\t\t'liga' 0,\n\t\t\t\t\t'clig' 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody {\n\t\t\t\tbackground: #0c0c0c;\n\t\t\t\tcolor: #cccccc;\n\t\t\t\ttext-align: center;\n\t\t\t\tmargin: 19px 0;\n\t\t\t}\n\t\t\tpre {\n\t\t\t\tfont-family: 'Cascadia Code', sans-serif;\n\t\t\t\tfont-size: 12pt;\n\t\t\t\tline-height: 1.2;\n\t\t\t\tmargin: 10px 0;\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<pre>                                                       \n                                                       \n                                                       \n                                                       \n                                                       \n                                                       \n             <span style=\"color: #FFD75F;\">___                   </span><span style=\"color: #00AFAF;\">_     </span><span style=\"color: #D787FF;\">_____________ \n        </span><span style=\"color: #FFD75F;\">_g@@@@@@@@@@g_          </span><span style=\"color: #00AFAF;\">_g@@@   </span><span style=\"color: #D787FF;\">|@@@@@@@@@@@@@g\n     </span><span style=\"color: #FFD75F;\">_@@@@@@@@@@@@@@@@@g_   </span><span style=\"color: #00AFAF;\">__@@@@@@@@  </span><span style=\"color: #D787FF;\">|@@@@@@@@@@@@@g\n   </span><span style=\"color: #FFD75F;\">_@@@@@@@@@@@@@@@@@@@@P</span><span style=\"color: #00AFAF;\">_g@@@@@@@@@@@@,</span><span style=\"color: #D787FF;\">|@@@@@@@@@@@@@g\n  </span><span style=\"color: #FFD75F;\">j@@@@@@@@@@@@@@@@@D&quot;</span><span style=\"color: #00AFAF;\">~@@@@@@@@@@@@@@@@@L</span><span style=\"color: #D787FF;\">0@@@@@@@@@@@@g\n </span><span style=\"color: #D7AF00;\">aggggggggggggggm&gt;</span><span style=\"color: #00AFAF;\">_======================_</span><span style=\"color: #D787FF;\">TBBBBBBBBBBBN\n </span><span style=\"color: #D7AF00;\">@@@@@@@@@@@@@P</span><span style=\"color: #00AFD7;\">_</span><span style=\"color: #00AFAF;\">mmmmmmmmmmmmmmmmmmmmmmmmmmu</span><span style=\"color: #D75FFF;\">&quot;==========*\n</span><span style=\"color: #D7AF00;\">|@@@@@@@@@@@@@@,</span><span style=\"color: #00AFD7;\">---------------------------</span><span style=\"color: #00AFAF;\">.</span><span style=\"color: #D75FD7;\">@@@@@@@@@@g\n</span><span style=\"color: #D7AF00;\">|@@@@@@@@@@@@@@@,</span><span style=\"color: #00AFD7;\">===========================</span><span style=\"color: #D75FD7;\">@@@@@@@@@@g\n </span><span style=\"color: #D7AF00;\">~~~~~~~~~~~~~~~~_</span><span style=\"color: #00AFD7;\">vmmmmmmmmmmmmmmmmmmmmmmmm:</span><span style=\"color: #D75FD7;\">BBBBBBBBBBN\n </span><span style=\"color: #D7AF5F;\">&apos;@@@@@@@@@@@@@@@@g</span><span style=\"color: #00AFD7;\">T@@@@@@@@@@@@@@@@@@@@@@@</span><span style=\"color: #AF5FD7;\">,@@@@@@@@@@g\n  </span><span style=\"color: #D7AF5F;\">&apos;@@@@@@@@@@@@@@@@@</span><span style=\"color: #00AFD7;\">\\@@@@@@@@@@@@@@@@@@@@@ </span><span style=\"color: #AF5FD7;\">@@@@@@@@@@@g\n    </span><span style=\"color: #D7AF5F;\">t@@@@@@@@@@@@@@@@_</span><span style=\"color: #00AFD7;\">@@@@@@@@@@@@@@@@@@@</span><span style=\"color: #AF5FD7;\">_@@@@@@@@@@@@g\n      </span><span style=\"color: #D7AF5F;\">&quot;@@@@@@@@@@@@@@@b</span><span style=\"color: #00AFD7;\">&apos;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&apos;</span><span style=\"color: #AF5FD7;\">!@@@@@@@@@@@@@g\n          </span><span style=\"color: #D7AF5F;\">&quot;&lt;0BBBBP&gt;&quot;       </span><span style=\"color: #00D7FF;\">&quot;*8B@BD&gt;&quot;    </span><span style=\"color: #AF5FD7;\">&apos;@@@@@@@@@@@@@)\n                                                       \n                                                       \n                                                       \n                                                       \n                                                       \n                                                       \n</span></pre>\n\t</body>\n</html>\n"
  },
  {
    "path": "backend/openui/dist/logo.txt",
    "content": "                                                         \n                                                         \n                                                         \n                                                         \n                                                         \n                                                         \n                                                         \n         \u001b[38;5;221m__g@@@@@@gg__            \u001b[38;5;37m_~@@    \u001b[38;5;177m@@@@@@@@@@@@@@@\n      \u001b[38;5;221m_@@@@@@@@@@@@@@@@g_      \u001b[38;5;37m_@@@@@@@,  \u001b[38;5;177m@@@@@@@@@@@@@@@\n    \u001b[38;5;221mo@@@@@@@@@@@@@@@@@@@@@ \u001b[38;5;37m_g@@@@@@@@@@@L \u001b[38;5;177m@@@@@@@@@@@@@@@\n  \u001b[38;5;221m,@@@@@@@@@@@@@@@@@@@B\"\u001b[38;5;37m~@@@@@@@@@@@@@@@@a\u001b[38;5;177m%@@@@@@@@@@@@@@\n \u001b[38;5;178m,\u001b[38;5;221m\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\u001b[38;5;37m_g@@@@@@@@@@@@@@@@@@@@g\u001b[38;5;177m\\@@@@@@@@@@@@@\n \u001b[38;5;178m@@@@@@@@@@@@@@P\"\u001b[38;5;37m~?????????????????????????? \u001b[38;5;171mgggggggggggg\n\u001b[38;5;178m!@@@@@@@@@@@@@@,\u001b[38;5;37m=============================\u001b[38;5;170m|@@@@@@@@@@@\n\u001b[38;5;178m[@@@@@@@@@@@@@@@L\u001b[38;5;38m\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\" \u001b[38;5;170m@@@@@@@@@@@\n \u001b[38;5;178mBBBBBBBBBBBBBBBBh\u001b[38;5;38m<========================== \u001b[38;5;170m@@@@@@@@@@@\n \u001b[38;5;179mvggggggggggggggggg \u001b[38;5;38mggggggggggggggggggggggggg\u001b[38;5;134m,@@@@@@@@@@@\n  \u001b[38;5;179m%@@@@@@@@@@@@@@@@@\u001b[38;5;38m'@@@@@@@@@@@@@@@@@@@@@@@'\u001b[38;5;134m@@@@@@@@@@@@\n   \u001b[38;5;179m\"@@@@@@@@@@@@@@@@@L\u001b[38;5;38mQ@@@@@@@@@@@@@@@@@@@@\u001b[38;5;134m,@@@@@@@@@@@@@\n     \u001b[38;5;179m\"@@@@@@@@@@@@@@@@@\u001b[38;5;38m'@@@@@@@@@@@@@@@@@P\u001b[38;5;134mo@@@@@@@@@@@@@@\n        \u001b[38;5;179m\"4@@@@@@@@@@@P\"   \u001b[38;5;38m\"\"\"\"\"\"\"\"\"\"\"\"\"   \u001b[38;5;134m@@@@@@@@@@@@@@@\n                                                         \n                                                         \n                                                         \n                                                         \n                                                         \n                                                         \n\u001b[0m"
  },
  {
    "path": "backend/openui/dist/manifest.webmanifest",
    "content": "{\"name\":\"OpenUI by Weights & Biases\",\"short_name\":\"OpenUI\",\"start_url\":\"/ai?app=pwa\",\"display\":\"standalone\",\"background_color\":\"#000000\",\"lang\":\"en\",\"scope\":\"/\",\"theme_color\":\"#15abbc\",\"icons\":[{\"src\":\"/android-chrome-192x192.png\",\"sizes\":\"192x192\",\"type\":\"image/png\"},{\"src\":\"/android-chrome-512x512.png\",\"sizes\":\"512x512\",\"type\":\"image/png\"}]}\n"
  },
  {
    "path": "backend/openui/dist/monacoeditorwork/css.worker.bundle.js",
    "content": "(() => {\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/errors.js\n  var ErrorHandler = class {\n    constructor() {\n      this.listeners = [];\n      this.unexpectedErrorHandler = function(e) {\n        setTimeout(() => {\n          if (e.stack) {\n            if (ErrorNoTelemetry.isErrorNoTelemetry(e)) {\n              throw new ErrorNoTelemetry(e.message + \"\\n\\n\" + e.stack);\n            }\n            throw new Error(e.message + \"\\n\\n\" + e.stack);\n          }\n          throw e;\n        }, 0);\n      };\n    }\n    emit(e) {\n      this.listeners.forEach((listener) => {\n        listener(e);\n      });\n    }\n    onUnexpectedError(e) {\n      this.unexpectedErrorHandler(e);\n      this.emit(e);\n    }\n    // For external errors, we don't want the listeners to be called\n    onUnexpectedExternalError(e) {\n      this.unexpectedErrorHandler(e);\n    }\n  };\n  var errorHandler = new ErrorHandler();\n  function onUnexpectedError(e) {\n    if (!isCancellationError(e)) {\n      errorHandler.onUnexpectedError(e);\n    }\n    return void 0;\n  }\n  function transformErrorForSerialization(error) {\n    if (error instanceof Error) {\n      const { name, message } = error;\n      const stack = error.stacktrace || error.stack;\n      return {\n        $isError: true,\n        name,\n        message,\n        stack,\n        noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error)\n      };\n    }\n    return error;\n  }\n  var canceledName = \"Canceled\";\n  function isCancellationError(error) {\n    if (error instanceof CancellationError) {\n      return true;\n    }\n    return error instanceof Error && error.name === canceledName && error.message === canceledName;\n  }\n  var CancellationError = class extends Error {\n    constructor() {\n      super(canceledName);\n      this.name = this.message;\n    }\n  };\n  var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error {\n    constructor(msg) {\n      super(msg);\n      this.name = \"CodeExpectedError\";\n    }\n    static fromError(err) {\n      if (err instanceof _ErrorNoTelemetry) {\n        return err;\n      }\n      const result = new _ErrorNoTelemetry();\n      result.message = err.message;\n      result.stack = err.stack;\n      return result;\n    }\n    static isErrorNoTelemetry(err) {\n      return err.name === \"CodeExpectedError\";\n    }\n  };\n  var BugIndicatingError = class _BugIndicatingError extends Error {\n    constructor(message) {\n      super(message || \"An unexpected bug occurred.\");\n      Object.setPrototypeOf(this, _BugIndicatingError.prototype);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/functional.js\n  function createSingleCallFunction(fn, fnDidRunCallback) {\n    const _this = this;\n    let didCall = false;\n    let result;\n    return function() {\n      if (didCall) {\n        return result;\n      }\n      didCall = true;\n      if (fnDidRunCallback) {\n        try {\n          result = fn.apply(_this, arguments);\n        } finally {\n          fnDidRunCallback();\n        }\n      } else {\n        result = fn.apply(_this, arguments);\n      }\n      return result;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/iterator.js\n  var Iterable;\n  (function(Iterable2) {\n    function is(thing) {\n      return thing && typeof thing === \"object\" && typeof thing[Symbol.iterator] === \"function\";\n    }\n    Iterable2.is = is;\n    const _empty2 = Object.freeze([]);\n    function empty() {\n      return _empty2;\n    }\n    Iterable2.empty = empty;\n    function* single(element) {\n      yield element;\n    }\n    Iterable2.single = single;\n    function wrap(iterableOrElement) {\n      if (is(iterableOrElement)) {\n        return iterableOrElement;\n      } else {\n        return single(iterableOrElement);\n      }\n    }\n    Iterable2.wrap = wrap;\n    function from(iterable) {\n      return iterable || _empty2;\n    }\n    Iterable2.from = from;\n    function* reverse(array) {\n      for (let i = array.length - 1; i >= 0; i--) {\n        yield array[i];\n      }\n    }\n    Iterable2.reverse = reverse;\n    function isEmpty(iterable) {\n      return !iterable || iterable[Symbol.iterator]().next().done === true;\n    }\n    Iterable2.isEmpty = isEmpty;\n    function first(iterable) {\n      return iterable[Symbol.iterator]().next().value;\n    }\n    Iterable2.first = first;\n    function some(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    Iterable2.some = some;\n    function find(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return element;\n        }\n      }\n      return void 0;\n    }\n    Iterable2.find = find;\n    function* filter(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          yield element;\n        }\n      }\n    }\n    Iterable2.filter = filter;\n    function* map(iterable, fn) {\n      let index = 0;\n      for (const element of iterable) {\n        yield fn(element, index++);\n      }\n    }\n    Iterable2.map = map;\n    function* concat(...iterables) {\n      for (const iterable of iterables) {\n        yield* iterable;\n      }\n    }\n    Iterable2.concat = concat;\n    function reduce(iterable, reducer, initialValue) {\n      let value = initialValue;\n      for (const element of iterable) {\n        value = reducer(value, element);\n      }\n      return value;\n    }\n    Iterable2.reduce = reduce;\n    function* slice(arr, from2, to = arr.length) {\n      if (from2 < 0) {\n        from2 += arr.length;\n      }\n      if (to < 0) {\n        to += arr.length;\n      } else if (to > arr.length) {\n        to = arr.length;\n      }\n      for (; from2 < to; from2++) {\n        yield arr[from2];\n      }\n    }\n    Iterable2.slice = slice;\n    function consume(iterable, atMost = Number.POSITIVE_INFINITY) {\n      const consumed = [];\n      if (atMost === 0) {\n        return [consumed, iterable];\n      }\n      const iterator = iterable[Symbol.iterator]();\n      for (let i = 0; i < atMost; i++) {\n        const next = iterator.next();\n        if (next.done) {\n          return [consumed, Iterable2.empty()];\n        }\n        consumed.push(next.value);\n      }\n      return [consumed, { [Symbol.iterator]() {\n        return iterator;\n      } }];\n    }\n    Iterable2.consume = consume;\n    async function asyncToArray(iterable) {\n      const result = [];\n      for await (const item of iterable) {\n        result.push(item);\n      }\n      return Promise.resolve(result);\n    }\n    Iterable2.asyncToArray = asyncToArray;\n  })(Iterable || (Iterable = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\n  var TRACK_DISPOSABLES = false;\n  var disposableTracker = null;\n  function setDisposableTracker(tracker) {\n    disposableTracker = tracker;\n  }\n  if (TRACK_DISPOSABLES) {\n    const __is_disposable_tracked__ = \"__is_disposable_tracked__\";\n    setDisposableTracker(new class {\n      trackDisposable(x) {\n        const stack = new Error(\"Potentially leaked disposable\").stack;\n        setTimeout(() => {\n          if (!x[__is_disposable_tracked__]) {\n            console.log(stack);\n          }\n        }, 3e3);\n      }\n      setParent(child, parent) {\n        if (child && child !== Disposable.None) {\n          try {\n            child[__is_disposable_tracked__] = true;\n          } catch (_a5) {\n          }\n        }\n      }\n      markAsDisposed(disposable) {\n        if (disposable && disposable !== Disposable.None) {\n          try {\n            disposable[__is_disposable_tracked__] = true;\n          } catch (_a5) {\n          }\n        }\n      }\n      markAsSingleton(disposable) {\n      }\n    }());\n  }\n  function trackDisposable(x) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.trackDisposable(x);\n    return x;\n  }\n  function markAsDisposed(disposable) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsDisposed(disposable);\n  }\n  function setParentOfDisposable(child, parent) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.setParent(child, parent);\n  }\n  function setParentOfDisposables(children, parent) {\n    if (!disposableTracker) {\n      return;\n    }\n    for (const child of children) {\n      disposableTracker.setParent(child, parent);\n    }\n  }\n  function dispose(arg) {\n    if (Iterable.is(arg)) {\n      const errors = [];\n      for (const d of arg) {\n        if (d) {\n          try {\n            d.dispose();\n          } catch (e) {\n            errors.push(e);\n          }\n        }\n      }\n      if (errors.length === 1) {\n        throw errors[0];\n      } else if (errors.length > 1) {\n        throw new AggregateError(errors, \"Encountered errors while disposing of store\");\n      }\n      return Array.isArray(arg) ? [] : arg;\n    } else if (arg) {\n      arg.dispose();\n      return arg;\n    }\n  }\n  function combinedDisposable(...disposables) {\n    const parent = toDisposable(() => dispose(disposables));\n    setParentOfDisposables(disposables, parent);\n    return parent;\n  }\n  function toDisposable(fn) {\n    const self2 = trackDisposable({\n      dispose: createSingleCallFunction(() => {\n        markAsDisposed(self2);\n        fn();\n      })\n    });\n    return self2;\n  }\n  var DisposableStore = class _DisposableStore {\n    constructor() {\n      this._toDispose = /* @__PURE__ */ new Set();\n      this._isDisposed = false;\n      trackDisposable(this);\n    }\n    /**\n     * Dispose of all registered disposables and mark this object as disposed.\n     *\n     * Any future disposables added to this object will be disposed of on `add`.\n     */\n    dispose() {\n      if (this._isDisposed) {\n        return;\n      }\n      markAsDisposed(this);\n      this._isDisposed = true;\n      this.clear();\n    }\n    /**\n     * @return `true` if this object has been disposed of.\n     */\n    get isDisposed() {\n      return this._isDisposed;\n    }\n    /**\n     * Dispose of all registered disposables but do not mark this object as disposed.\n     */\n    clear() {\n      if (this._toDispose.size === 0) {\n        return;\n      }\n      try {\n        dispose(this._toDispose);\n      } finally {\n        this._toDispose.clear();\n      }\n    }\n    /**\n     * Add a new {@link IDisposable disposable} to the collection.\n     */\n    add(o) {\n      if (!o) {\n        return o;\n      }\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      setParentOfDisposable(o, this);\n      if (this._isDisposed) {\n        if (!_DisposableStore.DISABLE_DISPOSED_WARNING) {\n          console.warn(new Error(\"Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!\").stack);\n        }\n      } else {\n        this._toDispose.add(o);\n      }\n      return o;\n    }\n    /**\n     * Deletes the value from the store, but does not dispose it.\n     */\n    deleteAndLeak(o) {\n      if (!o) {\n        return;\n      }\n      if (this._toDispose.has(o)) {\n        this._toDispose.delete(o);\n        setParentOfDisposable(o, null);\n      }\n    }\n  };\n  DisposableStore.DISABLE_DISPOSED_WARNING = false;\n  var Disposable = class {\n    constructor() {\n      this._store = new DisposableStore();\n      trackDisposable(this);\n      setParentOfDisposable(this._store, this);\n    }\n    dispose() {\n      markAsDisposed(this);\n      this._store.dispose();\n    }\n    /**\n     * Adds `o` to the collection of disposables managed by this object.\n     */\n    _register(o) {\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      return this._store.add(o);\n    }\n  };\n  Disposable.None = Object.freeze({ dispose() {\n  } });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/linkedList.js\n  var Node = class _Node {\n    constructor(element) {\n      this.element = element;\n      this.next = _Node.Undefined;\n      this.prev = _Node.Undefined;\n    }\n  };\n  Node.Undefined = new Node(void 0);\n  var LinkedList = class {\n    constructor() {\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    get size() {\n      return this._size;\n    }\n    isEmpty() {\n      return this._first === Node.Undefined;\n    }\n    clear() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        const next = node.next;\n        node.prev = Node.Undefined;\n        node.next = Node.Undefined;\n        node = next;\n      }\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    unshift(element) {\n      return this._insert(element, false);\n    }\n    push(element) {\n      return this._insert(element, true);\n    }\n    _insert(element, atTheEnd) {\n      const newNode = new Node(element);\n      if (this._first === Node.Undefined) {\n        this._first = newNode;\n        this._last = newNode;\n      } else if (atTheEnd) {\n        const oldLast = this._last;\n        this._last = newNode;\n        newNode.prev = oldLast;\n        oldLast.next = newNode;\n      } else {\n        const oldFirst = this._first;\n        this._first = newNode;\n        newNode.next = oldFirst;\n        oldFirst.prev = newNode;\n      }\n      this._size += 1;\n      let didRemove = false;\n      return () => {\n        if (!didRemove) {\n          didRemove = true;\n          this._remove(newNode);\n        }\n      };\n    }\n    shift() {\n      if (this._first === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._first.element;\n        this._remove(this._first);\n        return res;\n      }\n    }\n    pop() {\n      if (this._last === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._last.element;\n        this._remove(this._last);\n        return res;\n      }\n    }\n    _remove(node) {\n      if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {\n        const anchor = node.prev;\n        anchor.next = node.next;\n        node.next.prev = anchor;\n      } else if (node.prev === Node.Undefined && node.next === Node.Undefined) {\n        this._first = Node.Undefined;\n        this._last = Node.Undefined;\n      } else if (node.next === Node.Undefined) {\n        this._last = this._last.prev;\n        this._last.next = Node.Undefined;\n      } else if (node.prev === Node.Undefined) {\n        this._first = this._first.next;\n        this._first.prev = Node.Undefined;\n      }\n      this._size -= 1;\n    }\n    *[Symbol.iterator]() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        yield node.element;\n        node = node.next;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\n  var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === \"function\";\n  var StopWatch = class _StopWatch {\n    static create(highResolution) {\n      return new _StopWatch(highResolution);\n    }\n    constructor(highResolution) {\n      this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance);\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    stop() {\n      this._stopTime = this._now();\n    }\n    reset() {\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    elapsed() {\n      if (this._stopTime !== -1) {\n        return this._stopTime - this._startTime;\n      }\n      return this._now() - this._startTime;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/event.js\n  var _enableListenerGCedWarning = false;\n  var _enableDisposeWithListenerWarning = false;\n  var _enableSnapshotPotentialLeakWarning = false;\n  var Event;\n  (function(Event2) {\n    Event2.None = () => Disposable.None;\n    function _addLeakageTraceLogic(options) {\n      if (_enableSnapshotPotentialLeakWarning) {\n        const { onDidAddListener: origListenerDidAdd } = options;\n        const stack = Stacktrace.create();\n        let count = 0;\n        options.onDidAddListener = () => {\n          if (++count === 2) {\n            console.warn(\"snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here\");\n            stack.print();\n          }\n          origListenerDidAdd === null || origListenerDidAdd === void 0 ? void 0 : origListenerDidAdd();\n        };\n      }\n    }\n    function defer(event, disposable) {\n      return debounce(event, () => void 0, 0, void 0, true, void 0, disposable);\n    }\n    Event2.defer = defer;\n    function once(event) {\n      return (listener, thisArgs = null, disposables) => {\n        let didFire = false;\n        let result = void 0;\n        result = event((e) => {\n          if (didFire) {\n            return;\n          } else if (result) {\n            result.dispose();\n          } else {\n            didFire = true;\n          }\n          return listener.call(thisArgs, e);\n        }, null, disposables);\n        if (didFire) {\n          result.dispose();\n        }\n        return result;\n      };\n    }\n    Event2.once = once;\n    function map(event, map2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => listener.call(thisArgs, map2(i)), null, disposables), disposable);\n    }\n    Event2.map = map;\n    function forEach(event, each, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => {\n        each(i);\n        listener.call(thisArgs, i);\n      }, null, disposables), disposable);\n    }\n    Event2.forEach = forEach;\n    function filter(event, filter2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((e) => filter2(e) && listener.call(thisArgs, e), null, disposables), disposable);\n    }\n    Event2.filter = filter;\n    function signal(event) {\n      return event;\n    }\n    Event2.signal = signal;\n    function any(...events) {\n      return (listener, thisArgs = null, disposables) => {\n        const disposable = combinedDisposable(...events.map((event) => event((e) => listener.call(thisArgs, e))));\n        return addAndReturnDisposable(disposable, disposables);\n      };\n    }\n    Event2.any = any;\n    function reduce(event, merge, initial, disposable) {\n      let output = initial;\n      return map(event, (e) => {\n        output = merge(output, e);\n        return output;\n      }, disposable);\n    }\n    Event2.reduce = reduce;\n    function snapshot(event, disposable) {\n      let listener;\n      const options = {\n        onWillAddFirstListener() {\n          listener = event(emitter.fire, emitter);\n        },\n        onDidRemoveLastListener() {\n          listener === null || listener === void 0 ? void 0 : listener.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    function addAndReturnDisposable(d, store) {\n      if (store instanceof Array) {\n        store.push(d);\n      } else if (store) {\n        store.add(d);\n      }\n      return d;\n    }\n    function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) {\n      let subscription;\n      let output = void 0;\n      let handle = void 0;\n      let numDebouncedCalls = 0;\n      let doFire;\n      const options = {\n        leakWarningThreshold,\n        onWillAddFirstListener() {\n          subscription = event((cur) => {\n            numDebouncedCalls++;\n            output = merge(output, cur);\n            if (leading && !handle) {\n              emitter.fire(output);\n              output = void 0;\n            }\n            doFire = () => {\n              const _output = output;\n              output = void 0;\n              handle = void 0;\n              if (!leading || numDebouncedCalls > 1) {\n                emitter.fire(_output);\n              }\n              numDebouncedCalls = 0;\n            };\n            if (typeof delay === \"number\") {\n              clearTimeout(handle);\n              handle = setTimeout(doFire, delay);\n            } else {\n              if (handle === void 0) {\n                handle = 0;\n                queueMicrotask(doFire);\n              }\n            }\n          });\n        },\n        onWillRemoveListener() {\n          if (flushOnListenerRemove && numDebouncedCalls > 0) {\n            doFire === null || doFire === void 0 ? void 0 : doFire();\n          }\n        },\n        onDidRemoveLastListener() {\n          doFire = void 0;\n          subscription.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    Event2.debounce = debounce;\n    function accumulate(event, delay = 0, disposable) {\n      return Event2.debounce(event, (last, e) => {\n        if (!last) {\n          return [e];\n        }\n        last.push(e);\n        return last;\n      }, delay, void 0, true, void 0, disposable);\n    }\n    Event2.accumulate = accumulate;\n    function latch(event, equals3 = (a2, b) => a2 === b, disposable) {\n      let firstCall = true;\n      let cache;\n      return filter(event, (value) => {\n        const shouldEmit = firstCall || !equals3(value, cache);\n        firstCall = false;\n        cache = value;\n        return shouldEmit;\n      }, disposable);\n    }\n    Event2.latch = latch;\n    function split(event, isT, disposable) {\n      return [\n        Event2.filter(event, isT, disposable),\n        Event2.filter(event, (e) => !isT(e), disposable)\n      ];\n    }\n    Event2.split = split;\n    function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) {\n      let buffer2 = _buffer.slice();\n      let listener = event((e) => {\n        if (buffer2) {\n          buffer2.push(e);\n        } else {\n          emitter.fire(e);\n        }\n      });\n      if (disposable) {\n        disposable.add(listener);\n      }\n      const flush = () => {\n        buffer2 === null || buffer2 === void 0 ? void 0 : buffer2.forEach((e) => emitter.fire(e));\n        buffer2 = null;\n      };\n      const emitter = new Emitter({\n        onWillAddFirstListener() {\n          if (!listener) {\n            listener = event((e) => emitter.fire(e));\n            if (disposable) {\n              disposable.add(listener);\n            }\n          }\n        },\n        onDidAddFirstListener() {\n          if (buffer2) {\n            if (flushAfterTimeout) {\n              setTimeout(flush);\n            } else {\n              flush();\n            }\n          }\n        },\n        onDidRemoveLastListener() {\n          if (listener) {\n            listener.dispose();\n          }\n          listener = null;\n        }\n      });\n      if (disposable) {\n        disposable.add(emitter);\n      }\n      return emitter.event;\n    }\n    Event2.buffer = buffer;\n    function chain(event, sythensize) {\n      const fn = (listener, thisArgs, disposables) => {\n        const cs = sythensize(new ChainableSynthesis());\n        return event(function(value) {\n          const result = cs.evaluate(value);\n          if (result !== HaltChainable) {\n            listener.call(thisArgs, result);\n          }\n        }, void 0, disposables);\n      };\n      return fn;\n    }\n    Event2.chain = chain;\n    const HaltChainable = Symbol(\"HaltChainable\");\n    class ChainableSynthesis {\n      constructor() {\n        this.steps = [];\n      }\n      map(fn) {\n        this.steps.push(fn);\n        return this;\n      }\n      forEach(fn) {\n        this.steps.push((v) => {\n          fn(v);\n          return v;\n        });\n        return this;\n      }\n      filter(fn) {\n        this.steps.push((v) => fn(v) ? v : HaltChainable);\n        return this;\n      }\n      reduce(merge, initial) {\n        let last = initial;\n        this.steps.push((v) => {\n          last = merge(last, v);\n          return last;\n        });\n        return this;\n      }\n      latch(equals3 = (a2, b) => a2 === b) {\n        let firstCall = true;\n        let cache;\n        this.steps.push((value) => {\n          const shouldEmit = firstCall || !equals3(value, cache);\n          firstCall = false;\n          cache = value;\n          return shouldEmit ? value : HaltChainable;\n        });\n        return this;\n      }\n      evaluate(value) {\n        for (const step of this.steps) {\n          value = step(value);\n          if (value === HaltChainable) {\n            break;\n          }\n        }\n        return value;\n      }\n    }\n    function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.on(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromNodeEventEmitter = fromNodeEventEmitter;\n    function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromDOMEventEmitter = fromDOMEventEmitter;\n    function toPromise(event) {\n      return new Promise((resolve2) => once(event)(resolve2));\n    }\n    Event2.toPromise = toPromise;\n    function fromPromise(promise) {\n      const result = new Emitter();\n      promise.then((res) => {\n        result.fire(res);\n      }, () => {\n        result.fire(void 0);\n      }).finally(() => {\n        result.dispose();\n      });\n      return result.event;\n    }\n    Event2.fromPromise = fromPromise;\n    function runAndSubscribe(event, handler, initial) {\n      handler(initial);\n      return event((e) => handler(e));\n    }\n    Event2.runAndSubscribe = runAndSubscribe;\n    class EmitterObserver {\n      constructor(_observable, store) {\n        this._observable = _observable;\n        this._counter = 0;\n        this._hasChanged = false;\n        const options = {\n          onWillAddFirstListener: () => {\n            _observable.addObserver(this);\n          },\n          onDidRemoveLastListener: () => {\n            _observable.removeObserver(this);\n          }\n        };\n        if (!store) {\n          _addLeakageTraceLogic(options);\n        }\n        this.emitter = new Emitter(options);\n        if (store) {\n          store.add(this.emitter);\n        }\n      }\n      beginUpdate(_observable) {\n        this._counter++;\n      }\n      handlePossibleChange(_observable) {\n      }\n      handleChange(_observable, _change) {\n        this._hasChanged = true;\n      }\n      endUpdate(_observable) {\n        this._counter--;\n        if (this._counter === 0) {\n          this._observable.reportChanges();\n          if (this._hasChanged) {\n            this._hasChanged = false;\n            this.emitter.fire(this._observable.get());\n          }\n        }\n      }\n    }\n    function fromObservable(obs, store) {\n      const observer = new EmitterObserver(obs, store);\n      return observer.emitter.event;\n    }\n    Event2.fromObservable = fromObservable;\n    function fromObservableLight(observable) {\n      return (listener, thisArgs, disposables) => {\n        let count = 0;\n        let didChange = false;\n        const observer = {\n          beginUpdate() {\n            count++;\n          },\n          endUpdate() {\n            count--;\n            if (count === 0) {\n              observable.reportChanges();\n              if (didChange) {\n                didChange = false;\n                listener.call(thisArgs);\n              }\n            }\n          },\n          handlePossibleChange() {\n          },\n          handleChange() {\n            didChange = true;\n          }\n        };\n        observable.addObserver(observer);\n        observable.reportChanges();\n        const disposable = {\n          dispose() {\n            observable.removeObserver(observer);\n          }\n        };\n        if (disposables instanceof DisposableStore) {\n          disposables.add(disposable);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(disposable);\n        }\n        return disposable;\n      };\n    }\n    Event2.fromObservableLight = fromObservableLight;\n  })(Event || (Event = {}));\n  var EventProfiling = class _EventProfiling {\n    constructor(name) {\n      this.listenerCount = 0;\n      this.invocationCount = 0;\n      this.elapsedOverall = 0;\n      this.durations = [];\n      this.name = `${name}_${_EventProfiling._idPool++}`;\n      _EventProfiling.all.add(this);\n    }\n    start(listenerCount) {\n      this._stopWatch = new StopWatch();\n      this.listenerCount = listenerCount;\n    }\n    stop() {\n      if (this._stopWatch) {\n        const elapsed = this._stopWatch.elapsed();\n        this.durations.push(elapsed);\n        this.elapsedOverall += elapsed;\n        this.invocationCount += 1;\n        this._stopWatch = void 0;\n      }\n    }\n  };\n  EventProfiling.all = /* @__PURE__ */ new Set();\n  EventProfiling._idPool = 0;\n  var _globalLeakWarningThreshold = -1;\n  var LeakageMonitor = class {\n    constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {\n      this.threshold = threshold;\n      this.name = name;\n      this._warnCountdown = 0;\n    }\n    dispose() {\n      var _a5;\n      (_a5 = this._stacks) === null || _a5 === void 0 ? void 0 : _a5.clear();\n    }\n    check(stack, listenerCount) {\n      const threshold = this.threshold;\n      if (threshold <= 0 || listenerCount < threshold) {\n        return void 0;\n      }\n      if (!this._stacks) {\n        this._stacks = /* @__PURE__ */ new Map();\n      }\n      const count = this._stacks.get(stack.value) || 0;\n      this._stacks.set(stack.value, count + 1);\n      this._warnCountdown -= 1;\n      if (this._warnCountdown <= 0) {\n        this._warnCountdown = threshold * 0.5;\n        let topStack;\n        let topCount = 0;\n        for (const [stack2, count2] of this._stacks) {\n          if (!topStack || topCount < count2) {\n            topStack = stack2;\n            topCount = count2;\n          }\n        }\n        console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);\n        console.warn(topStack);\n      }\n      return () => {\n        const count2 = this._stacks.get(stack.value) || 0;\n        this._stacks.set(stack.value, count2 - 1);\n      };\n    }\n  };\n  var Stacktrace = class _Stacktrace {\n    static create() {\n      var _a5;\n      return new _Stacktrace((_a5 = new Error().stack) !== null && _a5 !== void 0 ? _a5 : \"\");\n    }\n    constructor(value) {\n      this.value = value;\n    }\n    print() {\n      console.warn(this.value.split(\"\\n\").slice(2).join(\"\\n\"));\n    }\n  };\n  var UniqueContainer = class {\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  var compactionThreshold = 2;\n  var forEachListener = (listeners, fn) => {\n    if (listeners instanceof UniqueContainer) {\n      fn(listeners);\n    } else {\n      for (let i = 0; i < listeners.length; i++) {\n        const l = listeners[i];\n        if (l) {\n          fn(l);\n        }\n      }\n    }\n  };\n  var _listenerFinalizers = _enableListenerGCedWarning ? new FinalizationRegistry((heldValue) => {\n    if (typeof heldValue === \"string\") {\n      console.warn(\"[LEAKING LISTENER] GC'ed a listener that was NOT yet disposed. This is where is was created:\");\n      console.warn(heldValue);\n    }\n  }) : void 0;\n  var Emitter = class {\n    constructor(options) {\n      var _a5, _b3, _c, _d, _e;\n      this._size = 0;\n      this._options = options;\n      this._leakageMon = _globalLeakWarningThreshold > 0 || ((_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.leakWarningThreshold) ? new LeakageMonitor((_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.leakWarningThreshold) !== null && _c !== void 0 ? _c : _globalLeakWarningThreshold) : void 0;\n      this._perfMon = ((_d = this._options) === null || _d === void 0 ? void 0 : _d._profName) ? new EventProfiling(this._options._profName) : void 0;\n      this._deliveryQueue = (_e = this._options) === null || _e === void 0 ? void 0 : _e.deliveryQueue;\n    }\n    dispose() {\n      var _a5, _b3, _c, _d;\n      if (!this._disposed) {\n        this._disposed = true;\n        if (((_a5 = this._deliveryQueue) === null || _a5 === void 0 ? void 0 : _a5.current) === this) {\n          this._deliveryQueue.reset();\n        }\n        if (this._listeners) {\n          if (_enableDisposeWithListenerWarning) {\n            const listeners = this._listeners;\n            queueMicrotask(() => {\n              forEachListener(listeners, (l) => {\n                var _a6;\n                return (_a6 = l.stack) === null || _a6 === void 0 ? void 0 : _a6.print();\n              });\n            });\n          }\n          this._listeners = void 0;\n          this._size = 0;\n        }\n        (_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.onDidRemoveLastListener) === null || _c === void 0 ? void 0 : _c.call(_b3);\n        (_d = this._leakageMon) === null || _d === void 0 ? void 0 : _d.dispose();\n      }\n    }\n    /**\n     * For the public to allow to subscribe\n     * to events from this Emitter\n     */\n    get event() {\n      var _a5;\n      (_a5 = this._event) !== null && _a5 !== void 0 ? _a5 : this._event = (callback, thisArgs, disposables) => {\n        var _a6, _b3, _c, _d, _e;\n        if (this._leakageMon && this._size > this._leakageMon.threshold * 3) {\n          console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);\n          return Disposable.None;\n        }\n        if (this._disposed) {\n          return Disposable.None;\n        }\n        if (thisArgs) {\n          callback = callback.bind(thisArgs);\n        }\n        const contained = new UniqueContainer(callback);\n        let removeMonitor;\n        let stack;\n        if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) {\n          contained.stack = Stacktrace.create();\n          removeMonitor = this._leakageMon.check(contained.stack, this._size + 1);\n        }\n        if (_enableDisposeWithListenerWarning) {\n          contained.stack = stack !== null && stack !== void 0 ? stack : Stacktrace.create();\n        }\n        if (!this._listeners) {\n          (_b3 = (_a6 = this._options) === null || _a6 === void 0 ? void 0 : _a6.onWillAddFirstListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a6, this);\n          this._listeners = contained;\n          (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidAddFirstListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        } else if (this._listeners instanceof UniqueContainer) {\n          (_e = this._deliveryQueue) !== null && _e !== void 0 ? _e : this._deliveryQueue = new EventDeliveryQueuePrivate();\n          this._listeners = [this._listeners, contained];\n        } else {\n          this._listeners.push(contained);\n        }\n        this._size++;\n        const result = toDisposable(() => {\n          _listenerFinalizers === null || _listenerFinalizers === void 0 ? void 0 : _listenerFinalizers.unregister(result);\n          removeMonitor === null || removeMonitor === void 0 ? void 0 : removeMonitor();\n          this._removeListener(contained);\n        });\n        if (disposables instanceof DisposableStore) {\n          disposables.add(result);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(result);\n        }\n        if (_listenerFinalizers) {\n          const stack2 = new Error().stack.split(\"\\n\").slice(2).join(\"\\n\").trim();\n          _listenerFinalizers.register(result, stack2, result);\n        }\n        return result;\n      };\n      return this._event;\n    }\n    _removeListener(listener) {\n      var _a5, _b3, _c, _d;\n      (_b3 = (_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onWillRemoveListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a5, this);\n      if (!this._listeners) {\n        return;\n      }\n      if (this._size === 1) {\n        this._listeners = void 0;\n        (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidRemoveLastListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        this._size = 0;\n        return;\n      }\n      const listeners = this._listeners;\n      const index = listeners.indexOf(listener);\n      if (index === -1) {\n        console.log(\"disposed?\", this._disposed);\n        console.log(\"size?\", this._size);\n        console.log(\"arr?\", JSON.stringify(this._listeners));\n        throw new Error(\"Attempted to dispose unknown listener\");\n      }\n      this._size--;\n      listeners[index] = void 0;\n      const adjustDeliveryQueue = this._deliveryQueue.current === this;\n      if (this._size * compactionThreshold <= listeners.length) {\n        let n = 0;\n        for (let i = 0; i < listeners.length; i++) {\n          if (listeners[i]) {\n            listeners[n++] = listeners[i];\n          } else if (adjustDeliveryQueue) {\n            this._deliveryQueue.end--;\n            if (n < this._deliveryQueue.i) {\n              this._deliveryQueue.i--;\n            }\n          }\n        }\n        listeners.length = n;\n      }\n    }\n    _deliver(listener, value) {\n      var _a5;\n      if (!listener) {\n        return;\n      }\n      const errorHandler2 = ((_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onListenerError) || onUnexpectedError;\n      if (!errorHandler2) {\n        listener.value(value);\n        return;\n      }\n      try {\n        listener.value(value);\n      } catch (e) {\n        errorHandler2(e);\n      }\n    }\n    /** Delivers items in the queue. Assumes the queue is ready to go. */\n    _deliverQueue(dq) {\n      const listeners = dq.current._listeners;\n      while (dq.i < dq.end) {\n        this._deliver(listeners[dq.i++], dq.value);\n      }\n      dq.reset();\n    }\n    /**\n     * To be kept private to fire an event to\n     * subscribers\n     */\n    fire(event) {\n      var _a5, _b3, _c, _d;\n      if ((_a5 = this._deliveryQueue) === null || _a5 === void 0 ? void 0 : _a5.current) {\n        this._deliverQueue(this._deliveryQueue);\n        (_b3 = this._perfMon) === null || _b3 === void 0 ? void 0 : _b3.stop();\n      }\n      (_c = this._perfMon) === null || _c === void 0 ? void 0 : _c.start(this._size);\n      if (!this._listeners) {\n      } else if (this._listeners instanceof UniqueContainer) {\n        this._deliver(this._listeners, event);\n      } else {\n        const dq = this._deliveryQueue;\n        dq.enqueue(this, event, this._listeners.length);\n        this._deliverQueue(dq);\n      }\n      (_d = this._perfMon) === null || _d === void 0 ? void 0 : _d.stop();\n    }\n    hasListeners() {\n      return this._size > 0;\n    }\n  };\n  var EventDeliveryQueuePrivate = class {\n    constructor() {\n      this.i = -1;\n      this.end = 0;\n    }\n    enqueue(emitter, value, end) {\n      this.i = 0;\n      this.end = end;\n      this.current = emitter;\n      this.value = value;\n    }\n    reset() {\n      this.i = this.end;\n      this.current = void 0;\n      this.value = void 0;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/types.js\n  function isString(str) {\n    return typeof str === \"string\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/objects.js\n  function getAllPropertyNames(obj) {\n    let res = [];\n    while (Object.prototype !== obj) {\n      res = res.concat(Object.getOwnPropertyNames(obj));\n      obj = Object.getPrototypeOf(obj);\n    }\n    return res;\n  }\n  function getAllMethodNames(obj) {\n    const methods = [];\n    for (const prop of getAllPropertyNames(obj)) {\n      if (typeof obj[prop] === \"function\") {\n        methods.push(prop);\n      }\n    }\n    return methods;\n  }\n  function createProxyObject(methodNames, invoke) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/nls.js\n  var isPseudo = typeof document !== \"undefined\" && document.location && document.location.hash.indexOf(\"pseudo=true\") >= 0;\n  function _format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        const index = rest[0];\n        const arg = args[index];\n        let result2 = match;\n        if (typeof arg === \"string\") {\n          result2 = arg;\n        } else if (typeof arg === \"number\" || typeof arg === \"boolean\" || arg === void 0 || arg === null) {\n          result2 = String(arg);\n        }\n        return result2;\n      });\n    }\n    if (isPseudo) {\n      result = \"\\uFF3B\" + result.replace(/[aouei]/g, \"$&$&\") + \"\\uFF3D\";\n    }\n    return result;\n  }\n  function localize(data, message, ...args) {\n    return _format(message, args);\n  }\n  function getConfiguredDefaultLocale(_) {\n    return void 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/platform.js\n  var _a;\n  var _b;\n  var LANGUAGE_DEFAULT = \"en\";\n  var _isWindows = false;\n  var _isMacintosh = false;\n  var _isLinux = false;\n  var _isLinuxSnap = false;\n  var _isNative = false;\n  var _isWeb = false;\n  var _isElectron = false;\n  var _isIOS = false;\n  var _isCI = false;\n  var _isMobile = false;\n  var _locale = void 0;\n  var _language = LANGUAGE_DEFAULT;\n  var _platformLocale = LANGUAGE_DEFAULT;\n  var _translationsConfigFile = void 0;\n  var _userAgent = void 0;\n  var $globalThis = globalThis;\n  var nodeProcess = void 0;\n  if (typeof $globalThis.vscode !== \"undefined\" && typeof $globalThis.vscode.process !== \"undefined\") {\n    nodeProcess = $globalThis.vscode.process;\n  } else if (typeof process !== \"undefined\" && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === \"string\") {\n    nodeProcess = process;\n  }\n  var isElectronProcess = typeof ((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) === \"string\";\n  var isElectronRenderer = isElectronProcess && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.type) === \"renderer\";\n  if (typeof nodeProcess === \"object\") {\n    _isWindows = nodeProcess.platform === \"win32\";\n    _isMacintosh = nodeProcess.platform === \"darwin\";\n    _isLinux = nodeProcess.platform === \"linux\";\n    _isLinuxSnap = _isLinux && !!nodeProcess.env[\"SNAP\"] && !!nodeProcess.env[\"SNAP_REVISION\"];\n    _isElectron = isElectronProcess;\n    _isCI = !!nodeProcess.env[\"CI\"] || !!nodeProcess.env[\"BUILD_ARTIFACTSTAGINGDIRECTORY\"];\n    _locale = LANGUAGE_DEFAULT;\n    _language = LANGUAGE_DEFAULT;\n    const rawNlsConfig = nodeProcess.env[\"VSCODE_NLS_CONFIG\"];\n    if (rawNlsConfig) {\n      try {\n        const nlsConfig = JSON.parse(rawNlsConfig);\n        const resolved = nlsConfig.availableLanguages[\"*\"];\n        _locale = nlsConfig.locale;\n        _platformLocale = nlsConfig.osLocale;\n        _language = resolved ? resolved : LANGUAGE_DEFAULT;\n        _translationsConfigFile = nlsConfig._translationsConfigFile;\n      } catch (e) {\n      }\n    }\n    _isNative = true;\n  } else if (typeof navigator === \"object\" && !isElectronRenderer) {\n    _userAgent = navigator.userAgent;\n    _isWindows = _userAgent.indexOf(\"Windows\") >= 0;\n    _isMacintosh = _userAgent.indexOf(\"Macintosh\") >= 0;\n    _isIOS = (_userAgent.indexOf(\"Macintosh\") >= 0 || _userAgent.indexOf(\"iPad\") >= 0 || _userAgent.indexOf(\"iPhone\") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\n    _isLinux = _userAgent.indexOf(\"Linux\") >= 0;\n    _isMobile = (_userAgent === null || _userAgent === void 0 ? void 0 : _userAgent.indexOf(\"Mobi\")) >= 0;\n    _isWeb = true;\n    const configuredLocale = getConfiguredDefaultLocale(\n      // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`\n      // to ensure that the NLS AMD Loader plugin has been loaded and configured.\n      // This is because the loader plugin decides what the default locale is based on\n      // how it's able to resolve the strings.\n      localize({ key: \"ensureLoaderPluginIsLoaded\", comment: [\"{Locked}\"] }, \"_\")\n    );\n    _locale = configuredLocale || LANGUAGE_DEFAULT;\n    _language = _locale;\n    _platformLocale = navigator.language;\n  } else {\n    console.error(\"Unable to resolve platform.\");\n  }\n  var _platform = 0;\n  if (_isMacintosh) {\n    _platform = 1;\n  } else if (_isWindows) {\n    _platform = 3;\n  } else if (_isLinux) {\n    _platform = 2;\n  }\n  var isWindows = _isWindows;\n  var isMacintosh = _isMacintosh;\n  var isWebWorker = _isWeb && typeof $globalThis.importScripts === \"function\";\n  var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0;\n  var userAgent = _userAgent;\n  var setTimeout0IsFaster = typeof $globalThis.postMessage === \"function\" && !$globalThis.importScripts;\n  var setTimeout0 = (() => {\n    if (setTimeout0IsFaster) {\n      const pending = [];\n      $globalThis.addEventListener(\"message\", (e) => {\n        if (e.data && e.data.vscodeScheduleAsyncWork) {\n          for (let i = 0, len = pending.length; i < len; i++) {\n            const candidate = pending[i];\n            if (candidate.id === e.data.vscodeScheduleAsyncWork) {\n              pending.splice(i, 1);\n              candidate.callback();\n              return;\n            }\n          }\n        }\n      });\n      let lastId = 0;\n      return (callback) => {\n        const myId = ++lastId;\n        pending.push({\n          id: myId,\n          callback\n        });\n        $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, \"*\");\n      };\n    }\n    return (callback) => setTimeout(callback);\n  })();\n  var isChrome = !!(userAgent && userAgent.indexOf(\"Chrome\") >= 0);\n  var isFirefox = !!(userAgent && userAgent.indexOf(\"Firefox\") >= 0);\n  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf(\"Safari\") >= 0));\n  var isEdge = !!(userAgent && userAgent.indexOf(\"Edg/\") >= 0);\n  var isAndroid = !!(userAgent && userAgent.indexOf(\"Android\") >= 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cache.js\n  function identity(t) {\n    return t;\n  }\n  var LRUCachedFunction = class {\n    constructor(arg1, arg2) {\n      this.lastCache = void 0;\n      this.lastArgKey = void 0;\n      if (typeof arg1 === \"function\") {\n        this._fn = arg1;\n        this._computeKey = identity;\n      } else {\n        this._fn = arg2;\n        this._computeKey = arg1.getCacheKey;\n      }\n    }\n    get(arg) {\n      const key = this._computeKey(arg);\n      if (this.lastArgKey !== key) {\n        this.lastArgKey = key;\n        this.lastCache = this._fn(arg);\n      }\n      return this.lastCache;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lazy.js\n  var Lazy = class {\n    constructor(executor) {\n      this.executor = executor;\n      this._didRun = false;\n    }\n    /**\n     * Get the wrapped value.\n     *\n     * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only\n     * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value\n     */\n    get value() {\n      if (!this._didRun) {\n        try {\n          this._value = this.executor();\n        } catch (err) {\n          this._error = err;\n        } finally {\n          this._didRun = true;\n        }\n      }\n      if (this._error) {\n        throw this._error;\n      }\n      return this._value;\n    }\n    /**\n     * Get the wrapped value without forcing evaluation.\n     */\n    get rawValue() {\n      return this._value;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/strings.js\n  var _a2;\n  function escapeRegExpCharacters(value) {\n    return value.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g, \"\\\\$&\");\n  }\n  function splitLines(str) {\n    return str.split(/\\r\\n|\\r|\\n/);\n  }\n  function firstNonWhitespaceIndex(str) {\n    for (let i = 0, len = str.length; i < len; i++) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {\n    for (let i = startIndex; i >= 0; i--) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isUpperAsciiLetter(code) {\n    return code >= 65 && code <= 90;\n  }\n  function isHighSurrogate(charCode) {\n    return 55296 <= charCode && charCode <= 56319;\n  }\n  function isLowSurrogate(charCode) {\n    return 56320 <= charCode && charCode <= 57343;\n  }\n  function computeCodePoint(highSurrogate, lowSurrogate) {\n    return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536;\n  }\n  function getNextCodePoint(str, len, offset) {\n    const charCode = str.charCodeAt(offset);\n    if (isHighSurrogate(charCode) && offset + 1 < len) {\n      const nextCharCode = str.charCodeAt(offset + 1);\n      if (isLowSurrogate(nextCharCode)) {\n        return computeCodePoint(charCode, nextCharCode);\n      }\n    }\n    return charCode;\n  }\n  var IS_BASIC_ASCII = /^[\\t\\n\\r\\x20-\\x7E]*$/;\n  function isBasicASCII(str) {\n    return IS_BASIC_ASCII.test(str);\n  }\n  var UTF8_BOM_CHARACTER = String.fromCharCode(\n    65279\n    /* CharCode.UTF8_BOM */\n  );\n  var GraphemeBreakTree = class _GraphemeBreakTree {\n    static getInstance() {\n      if (!_GraphemeBreakTree._INSTANCE) {\n        _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree();\n      }\n      return _GraphemeBreakTree._INSTANCE;\n    }\n    constructor() {\n      this._data = getGraphemeBreakRawData();\n    }\n    getGraphemeBreakType(codePoint) {\n      if (codePoint < 32) {\n        if (codePoint === 10) {\n          return 3;\n        }\n        if (codePoint === 13) {\n          return 2;\n        }\n        return 4;\n      }\n      if (codePoint < 127) {\n        return 0;\n      }\n      const data = this._data;\n      const nodeCount = data.length / 3;\n      let nodeIndex = 1;\n      while (nodeIndex <= nodeCount) {\n        if (codePoint < data[3 * nodeIndex]) {\n          nodeIndex = 2 * nodeIndex;\n        } else if (codePoint > data[3 * nodeIndex + 1]) {\n          nodeIndex = 2 * nodeIndex + 1;\n        } else {\n          return data[3 * nodeIndex + 2];\n        }\n      }\n      return 0;\n    }\n  };\n  GraphemeBreakTree._INSTANCE = null;\n  function getGraphemeBreakRawData() {\n    return JSON.parse(\"[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]\");\n  }\n  var AmbiguousCharacters = class {\n    static getInstance(locales) {\n      return _a2.cache.get(Array.from(locales));\n    }\n    static getLocales() {\n      return _a2._locales.value;\n    }\n    constructor(confusableDictionary) {\n      this.confusableDictionary = confusableDictionary;\n    }\n    isAmbiguous(codePoint) {\n      return this.confusableDictionary.has(codePoint);\n    }\n    /**\n     * Returns the non basic ASCII code point that the given code point can be confused,\n     * or undefined if such code point does note exist.\n     */\n    getPrimaryConfusable(codePoint) {\n      return this.confusableDictionary.get(codePoint);\n    }\n    getConfusableCodePoints() {\n      return new Set(this.confusableDictionary.keys());\n    }\n  };\n  _a2 = AmbiguousCharacters;\n  AmbiguousCharacters.ambiguousCharacterData = new Lazy(() => {\n    return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}');\n  });\n  AmbiguousCharacters.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => {\n    function arrayToMap(arr) {\n      const result = /* @__PURE__ */ new Map();\n      for (let i = 0; i < arr.length; i += 2) {\n        result.set(arr[i], arr[i + 1]);\n      }\n      return result;\n    }\n    function mergeMaps(map1, map2) {\n      const result = new Map(map1);\n      for (const [key, value] of map2) {\n        result.set(key, value);\n      }\n      return result;\n    }\n    function intersectMaps(map1, map2) {\n      if (!map1) {\n        return map2;\n      }\n      const result = /* @__PURE__ */ new Map();\n      for (const [key, value] of map1) {\n        if (map2.has(key)) {\n          result.set(key, value);\n        }\n      }\n      return result;\n    }\n    const data = _a2.ambiguousCharacterData.value;\n    let filteredLocales = locales.filter((l) => !l.startsWith(\"_\") && l in data);\n    if (filteredLocales.length === 0) {\n      filteredLocales = [\"_default\"];\n    }\n    let languageSpecificMap = void 0;\n    for (const locale of filteredLocales) {\n      const map2 = arrayToMap(data[locale]);\n      languageSpecificMap = intersectMaps(languageSpecificMap, map2);\n    }\n    const commonMap = arrayToMap(data[\"_common\"]);\n    const map = mergeMaps(commonMap, languageSpecificMap);\n    return new _a2(map);\n  });\n  AmbiguousCharacters._locales = new Lazy(() => Object.keys(_a2.ambiguousCharacterData.value).filter((k) => !k.startsWith(\"_\")));\n  var InvisibleCharacters = class _InvisibleCharacters {\n    static getRawData() {\n      return JSON.parse(\"[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]\");\n    }\n    static getData() {\n      if (!this._data) {\n        this._data = new Set(_InvisibleCharacters.getRawData());\n      }\n      return this._data;\n    }\n    static isInvisibleCharacter(codePoint) {\n      return _InvisibleCharacters.getData().has(codePoint);\n    }\n    static get codePoints() {\n      return _InvisibleCharacters.getData();\n    }\n  };\n  InvisibleCharacters._data = void 0;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js\n  var INITIALIZE = \"$initialize\";\n  var RequestMessage = class {\n    constructor(vsWorker, req, method, args) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.method = method;\n      this.args = args;\n      this.type = 0;\n    }\n  };\n  var ReplyMessage = class {\n    constructor(vsWorker, seq, res, err) {\n      this.vsWorker = vsWorker;\n      this.seq = seq;\n      this.res = res;\n      this.err = err;\n      this.type = 1;\n    }\n  };\n  var SubscribeEventMessage = class {\n    constructor(vsWorker, req, eventName, arg) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.eventName = eventName;\n      this.arg = arg;\n      this.type = 2;\n    }\n  };\n  var EventMessage = class {\n    constructor(vsWorker, req, event) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.event = event;\n      this.type = 3;\n    }\n  };\n  var UnsubscribeEventMessage = class {\n    constructor(vsWorker, req) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.type = 4;\n    }\n  };\n  var SimpleWorkerProtocol = class {\n    constructor(handler) {\n      this._workerId = -1;\n      this._handler = handler;\n      this._lastSentReq = 0;\n      this._pendingReplies = /* @__PURE__ */ Object.create(null);\n      this._pendingEmitters = /* @__PURE__ */ new Map();\n      this._pendingEvents = /* @__PURE__ */ new Map();\n    }\n    setWorkerId(workerId) {\n      this._workerId = workerId;\n    }\n    sendMessage(method, args) {\n      const req = String(++this._lastSentReq);\n      return new Promise((resolve2, reject) => {\n        this._pendingReplies[req] = {\n          resolve: resolve2,\n          reject\n        };\n        this._send(new RequestMessage(this._workerId, req, method, args));\n      });\n    }\n    listen(eventName, arg) {\n      let req = null;\n      const emitter = new Emitter({\n        onWillAddFirstListener: () => {\n          req = String(++this._lastSentReq);\n          this._pendingEmitters.set(req, emitter);\n          this._send(new SubscribeEventMessage(this._workerId, req, eventName, arg));\n        },\n        onDidRemoveLastListener: () => {\n          this._pendingEmitters.delete(req);\n          this._send(new UnsubscribeEventMessage(this._workerId, req));\n          req = null;\n        }\n      });\n      return emitter.event;\n    }\n    handleMessage(message) {\n      if (!message || !message.vsWorker) {\n        return;\n      }\n      if (this._workerId !== -1 && message.vsWorker !== this._workerId) {\n        return;\n      }\n      this._handleMessage(message);\n    }\n    _handleMessage(msg) {\n      switch (msg.type) {\n        case 1:\n          return this._handleReplyMessage(msg);\n        case 0:\n          return this._handleRequestMessage(msg);\n        case 2:\n          return this._handleSubscribeEventMessage(msg);\n        case 3:\n          return this._handleEventMessage(msg);\n        case 4:\n          return this._handleUnsubscribeEventMessage(msg);\n      }\n    }\n    _handleReplyMessage(replyMessage) {\n      if (!this._pendingReplies[replyMessage.seq]) {\n        console.warn(\"Got reply to unknown seq\");\n        return;\n      }\n      const reply = this._pendingReplies[replyMessage.seq];\n      delete this._pendingReplies[replyMessage.seq];\n      if (replyMessage.err) {\n        let err = replyMessage.err;\n        if (replyMessage.err.$isError) {\n          err = new Error();\n          err.name = replyMessage.err.name;\n          err.message = replyMessage.err.message;\n          err.stack = replyMessage.err.stack;\n        }\n        reply.reject(err);\n        return;\n      }\n      reply.resolve(replyMessage.res);\n    }\n    _handleRequestMessage(requestMessage) {\n      const req = requestMessage.req;\n      const result = this._handler.handleMessage(requestMessage.method, requestMessage.args);\n      result.then((r) => {\n        this._send(new ReplyMessage(this._workerId, req, r, void 0));\n      }, (e) => {\n        if (e.detail instanceof Error) {\n          e.detail = transformErrorForSerialization(e.detail);\n        }\n        this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e)));\n      });\n    }\n    _handleSubscribeEventMessage(msg) {\n      const req = msg.req;\n      const disposable = this._handler.handleEvent(msg.eventName, msg.arg)((event) => {\n        this._send(new EventMessage(this._workerId, req, event));\n      });\n      this._pendingEvents.set(req, disposable);\n    }\n    _handleEventMessage(msg) {\n      if (!this._pendingEmitters.has(msg.req)) {\n        console.warn(\"Got event for unknown req\");\n        return;\n      }\n      this._pendingEmitters.get(msg.req).fire(msg.event);\n    }\n    _handleUnsubscribeEventMessage(msg) {\n      if (!this._pendingEvents.has(msg.req)) {\n        console.warn(\"Got unsubscribe for unknown req\");\n        return;\n      }\n      this._pendingEvents.get(msg.req).dispose();\n      this._pendingEvents.delete(msg.req);\n    }\n    _send(msg) {\n      const transfer = [];\n      if (msg.type === 0) {\n        for (let i = 0; i < msg.args.length; i++) {\n          if (msg.args[i] instanceof ArrayBuffer) {\n            transfer.push(msg.args[i]);\n          }\n        }\n      } else if (msg.type === 1) {\n        if (msg.res instanceof ArrayBuffer) {\n          transfer.push(msg.res);\n        }\n      }\n      this._handler.sendMessage(msg, transfer);\n    }\n  };\n  function propertyIsEvent(name) {\n    return name[0] === \"o\" && name[1] === \"n\" && isUpperAsciiLetter(name.charCodeAt(2));\n  }\n  function propertyIsDynamicEvent(name) {\n    return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9));\n  }\n  function createProxyObject2(methodNames, invoke, proxyListen) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const createProxyDynamicEvent = (eventName) => {\n      return function(arg) {\n        return proxyListen(eventName, arg);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      if (propertyIsDynamicEvent(methodName)) {\n        result[methodName] = createProxyDynamicEvent(methodName);\n        continue;\n      }\n      if (propertyIsEvent(methodName)) {\n        result[methodName] = proxyListen(methodName, void 0);\n        continue;\n      }\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n  var SimpleWorkerServer = class {\n    constructor(postMessage, requestHandlerFactory) {\n      this._requestHandlerFactory = requestHandlerFactory;\n      this._requestHandler = null;\n      this._protocol = new SimpleWorkerProtocol({\n        sendMessage: (msg, transfer) => {\n          postMessage(msg, transfer);\n        },\n        handleMessage: (method, args) => this._handleMessage(method, args),\n        handleEvent: (eventName, arg) => this._handleEvent(eventName, arg)\n      });\n    }\n    onmessage(msg) {\n      this._protocol.handleMessage(msg);\n    }\n    _handleMessage(method, args) {\n      if (method === INITIALIZE) {\n        return this.initialize(args[0], args[1], args[2], args[3]);\n      }\n      if (!this._requestHandler || typeof this._requestHandler[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._requestHandler[method].apply(this._requestHandler, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n    _handleEvent(eventName, arg) {\n      if (!this._requestHandler) {\n        throw new Error(`Missing requestHandler`);\n      }\n      if (propertyIsDynamicEvent(eventName)) {\n        const event = this._requestHandler[eventName].call(this._requestHandler, arg);\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing dynamic event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      if (propertyIsEvent(eventName)) {\n        const event = this._requestHandler[eventName];\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      throw new Error(`Malformed event name ${eventName}`);\n    }\n    initialize(workerId, loaderConfig, moduleId, hostMethods) {\n      this._protocol.setWorkerId(workerId);\n      const proxyMethodRequest = (method, args) => {\n        return this._protocol.sendMessage(method, args);\n      };\n      const proxyListen = (eventName, arg) => {\n        return this._protocol.listen(eventName, arg);\n      };\n      const hostProxy = createProxyObject2(hostMethods, proxyMethodRequest, proxyListen);\n      if (this._requestHandlerFactory) {\n        this._requestHandler = this._requestHandlerFactory(hostProxy);\n        return Promise.resolve(getAllMethodNames(this._requestHandler));\n      }\n      if (loaderConfig) {\n        if (typeof loaderConfig.baseUrl !== \"undefined\") {\n          delete loaderConfig[\"baseUrl\"];\n        }\n        if (typeof loaderConfig.paths !== \"undefined\") {\n          if (typeof loaderConfig.paths.vs !== \"undefined\") {\n            delete loaderConfig.paths[\"vs\"];\n          }\n        }\n        if (typeof loaderConfig.trustedTypesPolicy !== \"undefined\") {\n          delete loaderConfig[\"trustedTypesPolicy\"];\n        }\n        loaderConfig.catchError = true;\n        globalThis.require.config(loaderConfig);\n      }\n      return new Promise((resolve2, reject) => {\n        const req = globalThis.require;\n        req([moduleId], (module) => {\n          this._requestHandler = module.create(hostProxy);\n          if (!this._requestHandler) {\n            reject(new Error(`No RequestHandler!`));\n            return;\n          }\n          resolve2(getAllMethodNames(this._requestHandler));\n        }, reject);\n      });\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js\n  var DiffChange = class {\n    /**\n     * Constructs a new DiffChange with the given sequence information\n     * and content.\n     */\n    constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\n      this.originalStart = originalStart;\n      this.originalLength = originalLength;\n      this.modifiedStart = modifiedStart;\n      this.modifiedLength = modifiedLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the original sequence.\n     */\n    getOriginalEnd() {\n      return this.originalStart + this.originalLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the modified sequence.\n     */\n    getModifiedEnd() {\n      return this.modifiedStart + this.modifiedLength;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/hash.js\n  function numberHash(val, initialHashVal) {\n    return (initialHashVal << 5) - initialHashVal + val | 0;\n  }\n  function stringHash(s, hashVal) {\n    hashVal = numberHash(149417, hashVal);\n    for (let i = 0, length = s.length; i < length; i++) {\n      hashVal = numberHash(s.charCodeAt(i), hashVal);\n    }\n    return hashVal;\n  }\n  function leftRotate(value, bits, totalBits = 32) {\n    const delta = totalBits - bits;\n    const mask = ~((1 << delta) - 1);\n    return (value << bits | (mask & value) >>> delta) >>> 0;\n  }\n  function fill(dest, index = 0, count = dest.byteLength, value = 0) {\n    for (let i = 0; i < count; i++) {\n      dest[index + i] = value;\n    }\n  }\n  function leftPad(value, length, char = \"0\") {\n    while (value.length < length) {\n      value = char + value;\n    }\n    return value;\n  }\n  function toHexString(bufferOrValue, bitsize = 32) {\n    if (bufferOrValue instanceof ArrayBuffer) {\n      return Array.from(new Uint8Array(bufferOrValue)).map((b) => b.toString(16).padStart(2, \"0\")).join(\"\");\n    }\n    return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4);\n  }\n  var StringSHA1 = class _StringSHA1 {\n    constructor() {\n      this._h0 = 1732584193;\n      this._h1 = 4023233417;\n      this._h2 = 2562383102;\n      this._h3 = 271733878;\n      this._h4 = 3285377520;\n      this._buff = new Uint8Array(\n        64 + 3\n        /* to fit any utf-8 */\n      );\n      this._buffDV = new DataView(this._buff.buffer);\n      this._buffLen = 0;\n      this._totalLen = 0;\n      this._leftoverHighSurrogate = 0;\n      this._finished = false;\n    }\n    update(str) {\n      const strLen = str.length;\n      if (strLen === 0) {\n        return;\n      }\n      const buff = this._buff;\n      let buffLen = this._buffLen;\n      let leftoverHighSurrogate = this._leftoverHighSurrogate;\n      let charCode;\n      let offset;\n      if (leftoverHighSurrogate !== 0) {\n        charCode = leftoverHighSurrogate;\n        offset = -1;\n        leftoverHighSurrogate = 0;\n      } else {\n        charCode = str.charCodeAt(0);\n        offset = 0;\n      }\n      while (true) {\n        let codePoint = charCode;\n        if (isHighSurrogate(charCode)) {\n          if (offset + 1 < strLen) {\n            const nextCharCode = str.charCodeAt(offset + 1);\n            if (isLowSurrogate(nextCharCode)) {\n              offset++;\n              codePoint = computeCodePoint(charCode, nextCharCode);\n            } else {\n              codePoint = 65533;\n            }\n          } else {\n            leftoverHighSurrogate = charCode;\n            break;\n          }\n        } else if (isLowSurrogate(charCode)) {\n          codePoint = 65533;\n        }\n        buffLen = this._push(buff, buffLen, codePoint);\n        offset++;\n        if (offset < strLen) {\n          charCode = str.charCodeAt(offset);\n        } else {\n          break;\n        }\n      }\n      this._buffLen = buffLen;\n      this._leftoverHighSurrogate = leftoverHighSurrogate;\n    }\n    _push(buff, buffLen, codePoint) {\n      if (codePoint < 128) {\n        buff[buffLen++] = codePoint;\n      } else if (codePoint < 2048) {\n        buff[buffLen++] = 192 | (codePoint & 1984) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else if (codePoint < 65536) {\n        buff[buffLen++] = 224 | (codePoint & 61440) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else {\n        buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18;\n        buff[buffLen++] = 128 | (codePoint & 258048) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      }\n      if (buffLen >= 64) {\n        this._step();\n        buffLen -= 64;\n        this._totalLen += 64;\n        buff[0] = buff[64 + 0];\n        buff[1] = buff[64 + 1];\n        buff[2] = buff[64 + 2];\n      }\n      return buffLen;\n    }\n    digest() {\n      if (!this._finished) {\n        this._finished = true;\n        if (this._leftoverHighSurrogate) {\n          this._leftoverHighSurrogate = 0;\n          this._buffLen = this._push(\n            this._buff,\n            this._buffLen,\n            65533\n            /* SHA1Constant.UNICODE_REPLACEMENT */\n          );\n        }\n        this._totalLen += this._buffLen;\n        this._wrapUp();\n      }\n      return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4);\n    }\n    _wrapUp() {\n      this._buff[this._buffLen++] = 128;\n      fill(this._buff, this._buffLen);\n      if (this._buffLen > 56) {\n        this._step();\n        fill(this._buff);\n      }\n      const ml = 8 * this._totalLen;\n      this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false);\n      this._buffDV.setUint32(60, ml % 4294967296, false);\n      this._step();\n    }\n    _step() {\n      const bigBlock32 = _StringSHA1._bigBlock32;\n      const data = this._buffDV;\n      for (let j = 0; j < 64; j += 4) {\n        bigBlock32.setUint32(j, data.getUint32(j, false), false);\n      }\n      for (let j = 64; j < 320; j += 4) {\n        bigBlock32.setUint32(j, leftRotate(bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false), 1), false);\n      }\n      let a2 = this._h0;\n      let b = this._h1;\n      let c = this._h2;\n      let d = this._h3;\n      let e = this._h4;\n      let f2, k;\n      let temp;\n      for (let j = 0; j < 80; j++) {\n        if (j < 20) {\n          f2 = b & c | ~b & d;\n          k = 1518500249;\n        } else if (j < 40) {\n          f2 = b ^ c ^ d;\n          k = 1859775393;\n        } else if (j < 60) {\n          f2 = b & c | b & d | c & d;\n          k = 2400959708;\n        } else {\n          f2 = b ^ c ^ d;\n          k = 3395469782;\n        }\n        temp = leftRotate(a2, 5) + f2 + e + k + bigBlock32.getUint32(j * 4, false) & 4294967295;\n        e = d;\n        d = c;\n        c = leftRotate(b, 30);\n        b = a2;\n        a2 = temp;\n      }\n      this._h0 = this._h0 + a2 & 4294967295;\n      this._h1 = this._h1 + b & 4294967295;\n      this._h2 = this._h2 + c & 4294967295;\n      this._h3 = this._h3 + d & 4294967295;\n      this._h4 = this._h4 + e & 4294967295;\n    }\n  };\n  StringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\n  var StringDiffSequence = class {\n    constructor(source) {\n      this.source = source;\n    }\n    getElements() {\n      const source = this.source;\n      const characters = new Int32Array(source.length);\n      for (let i = 0, len = source.length; i < len; i++) {\n        characters[i] = source.charCodeAt(i);\n      }\n      return characters;\n    }\n  };\n  function stringDiff(original, modified, pretty) {\n    return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes;\n  }\n  var Debug = class {\n    static Assert(condition, message) {\n      if (!condition) {\n        throw new Error(message);\n      }\n    }\n  };\n  var MyArray = class {\n    /**\n     * Copies a range of elements from an Array starting at the specified source index and pastes\n     * them to another Array starting at the specified destination index. The length and the indexes\n     * are specified as 64-bit integers.\n     * sourceArray:\n     *\t\tThe Array that contains the data to copy.\n     * sourceIndex:\n     *\t\tA 64-bit integer that represents the index in the sourceArray at which copying begins.\n     * destinationArray:\n     *\t\tThe Array that receives the data.\n     * destinationIndex:\n     *\t\tA 64-bit integer that represents the index in the destinationArray at which storing begins.\n     * length:\n     *\t\tA 64-bit integer that represents the number of elements to copy.\n     */\n    static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n    static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n  };\n  var DiffChangeHelper = class {\n    /**\n     * Constructs a new DiffChangeHelper for the given DiffSequences.\n     */\n    constructor() {\n      this.m_changes = [];\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n    }\n    /**\n     * Marks the beginning of the next change in the set of differences.\n     */\n    MarkNextChange() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount));\n      }\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n    }\n    /**\n     * Adds the original element at the given position to the elements\n     * affected by the current change. The modified index gives context\n     * to the change position with respect to the original sequence.\n     * @param originalIndex The index of the original element to add.\n     * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence.\n     */\n    AddOriginalElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_originalCount++;\n    }\n    /**\n     * Adds the modified element at the given position to the elements\n     * affected by the current change. The original index gives context\n     * to the change position with respect to the modified sequence.\n     * @param originalIndex The index of the original element that provides corresponding position in the original sequence.\n     * @param modifiedIndex The index of the modified element to add.\n     */\n    AddModifiedElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_modifiedCount++;\n    }\n    /**\n     * Retrieves all of the changes marked by the class.\n     */\n    getChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      return this.m_changes;\n    }\n    /**\n     * Retrieves all of the changes marked by the class in the reverse order\n     */\n    getReverseChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      this.m_changes.reverse();\n      return this.m_changes;\n    }\n  };\n  var LcsDiff = class _LcsDiff {\n    /**\n     * Constructs the DiffFinder\n     */\n    constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) {\n      this.ContinueProcessingPredicate = continueProcessingPredicate;\n      this._originalSequence = originalSequence;\n      this._modifiedSequence = modifiedSequence;\n      const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence);\n      const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence);\n      this._hasStrings = originalHasStrings && modifiedHasStrings;\n      this._originalStringElements = originalStringElements;\n      this._originalElementsOrHash = originalElementsOrHash;\n      this._modifiedStringElements = modifiedStringElements;\n      this._modifiedElementsOrHash = modifiedElementsOrHash;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n    }\n    static _isStringArray(arr) {\n      return arr.length > 0 && typeof arr[0] === \"string\";\n    }\n    static _getElements(sequence) {\n      const elements = sequence.getElements();\n      if (_LcsDiff._isStringArray(elements)) {\n        const hashes = new Int32Array(elements.length);\n        for (let i = 0, len = elements.length; i < len; i++) {\n          hashes[i] = stringHash(elements[i], 0);\n        }\n        return [elements, hashes, true];\n      }\n      if (elements instanceof Int32Array) {\n        return [[], elements, false];\n      }\n      return [[], new Int32Array(elements), false];\n    }\n    ElementsAreEqual(originalIndex, newIndex) {\n      if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true;\n    }\n    ElementsAreStrictEqual(originalIndex, newIndex) {\n      if (!this.ElementsAreEqual(originalIndex, newIndex)) {\n        return false;\n      }\n      const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex);\n      const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex);\n      return originalElement === modifiedElement;\n    }\n    static _getStrictElement(sequence, index) {\n      if (typeof sequence.getStrictElement === \"function\") {\n        return sequence.getStrictElement(index);\n      }\n      return null;\n    }\n    OriginalElementsAreEqual(index1, index2) {\n      if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true;\n    }\n    ModifiedElementsAreEqual(index1, index2) {\n      if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true;\n    }\n    ComputeDiff(pretty) {\n      return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty);\n    }\n    /**\n     * Computes the differences between the original and modified input\n     * sequences on the bounded range.\n     * @returns An array of the differences between the two input sequences.\n     */\n    _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) {\n      const quitEarlyArr = [false];\n      let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr);\n      if (pretty) {\n        changes = this.PrettifyChanges(changes);\n      }\n      return {\n        quitEarly: quitEarlyArr[0],\n        changes\n      };\n    }\n    /**\n     * Private helper method which computes the differences on the bounded range\n     * recursively.\n     * @returns An array of the differences between the two input sequences.\n     */\n    ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) {\n      quitEarlyArr[0] = false;\n      while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) {\n        originalStart++;\n        modifiedStart++;\n      }\n      while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) {\n        originalEnd--;\n        modifiedEnd--;\n      }\n      if (originalStart > originalEnd || modifiedStart > modifiedEnd) {\n        let changes;\n        if (modifiedStart <= modifiedEnd) {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          changes = [\n            new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1)\n          ];\n        } else if (originalStart <= originalEnd) {\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [\n            new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0)\n          ];\n        } else {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [];\n        }\n        return changes;\n      }\n      const midOriginalArr = [0];\n      const midModifiedArr = [0];\n      const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr);\n      const midOriginal = midOriginalArr[0];\n      const midModified = midModifiedArr[0];\n      if (result !== null) {\n        return result;\n      } else if (!quitEarlyArr[0]) {\n        const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr);\n        let rightChanges = [];\n        if (!quitEarlyArr[0]) {\n          rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr);\n        } else {\n          rightChanges = [\n            new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1)\n          ];\n        }\n        return this.ConcatenateChanges(leftChanges, rightChanges);\n      }\n      return [\n        new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n      ];\n    }\n    WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) {\n      let forwardChanges = null;\n      let reverseChanges = null;\n      let changeHelper = new DiffChangeHelper();\n      let diagonalMin = diagonalForwardStart;\n      let diagonalMax = diagonalForwardEnd;\n      let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset;\n      let lastOriginalIndex = -1073741824;\n      let historyIndex = this.m_forwardHistory.length - 1;\n      do {\n        const diagonal = diagonalRelative + diagonalForwardBase;\n        if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n          originalIndex = forwardPoints[diagonal + 1];\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex;\n          changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex);\n          diagonalRelative = diagonal + 1 - diagonalForwardBase;\n        } else {\n          originalIndex = forwardPoints[diagonal - 1] + 1;\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex - 1;\n          changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1);\n          diagonalRelative = diagonal - 1 - diagonalForwardBase;\n        }\n        if (historyIndex >= 0) {\n          forwardPoints = this.m_forwardHistory[historyIndex];\n          diagonalForwardBase = forwardPoints[0];\n          diagonalMin = 1;\n          diagonalMax = forwardPoints.length - 1;\n        }\n      } while (--historyIndex >= -1);\n      forwardChanges = changeHelper.getReverseChanges();\n      if (quitEarlyArr[0]) {\n        let originalStartPoint = midOriginalArr[0] + 1;\n        let modifiedStartPoint = midModifiedArr[0] + 1;\n        if (forwardChanges !== null && forwardChanges.length > 0) {\n          const lastForwardChange = forwardChanges[forwardChanges.length - 1];\n          originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd());\n          modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd());\n        }\n        reverseChanges = [\n          new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1)\n        ];\n      } else {\n        changeHelper = new DiffChangeHelper();\n        diagonalMin = diagonalReverseStart;\n        diagonalMax = diagonalReverseEnd;\n        diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset;\n        lastOriginalIndex = 1073741824;\n        historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;\n        do {\n          const diagonal = diagonalRelative + diagonalReverseBase;\n          if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex + 1;\n            changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal + 1 - diagonalReverseBase;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex;\n            changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal - 1 - diagonalReverseBase;\n          }\n          if (historyIndex >= 0) {\n            reversePoints = this.m_reverseHistory[historyIndex];\n            diagonalReverseBase = reversePoints[0];\n            diagonalMin = 1;\n            diagonalMax = reversePoints.length - 1;\n          }\n        } while (--historyIndex >= -1);\n        reverseChanges = changeHelper.getChanges();\n      }\n      return this.ConcatenateChanges(forwardChanges, reverseChanges);\n    }\n    /**\n     * Given the range to compute the diff on, this method finds the point:\n     * (midOriginal, midModified)\n     * that exists in the middle of the LCS of the two sequences and\n     * is the point at which the LCS problem may be broken down recursively.\n     * This method will try to keep the LCS trace in memory. If the LCS recursion\n     * point is calculated and the full trace is available in memory, then this method\n     * will return the change list.\n     * @param originalStart The start bound of the original sequence range\n     * @param originalEnd The end bound of the original sequence range\n     * @param modifiedStart The start bound of the modified sequence range\n     * @param modifiedEnd The end bound of the modified sequence range\n     * @param midOriginal The middle point of the original sequence range\n     * @param midModified The middle point of the modified sequence range\n     * @returns The diff changes, if available, otherwise null\n     */\n    ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) {\n      let originalIndex = 0, modifiedIndex = 0;\n      let diagonalForwardStart = 0, diagonalForwardEnd = 0;\n      let diagonalReverseStart = 0, diagonalReverseEnd = 0;\n      originalStart--;\n      modifiedStart--;\n      midOriginalArr[0] = 0;\n      midModifiedArr[0] = 0;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n      const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart);\n      const numDiagonals = maxDifferences + 1;\n      const forwardPoints = new Int32Array(numDiagonals);\n      const reversePoints = new Int32Array(numDiagonals);\n      const diagonalForwardBase = modifiedEnd - modifiedStart;\n      const diagonalReverseBase = originalEnd - originalStart;\n      const diagonalForwardOffset = originalStart - modifiedStart;\n      const diagonalReverseOffset = originalEnd - modifiedEnd;\n      const delta = diagonalReverseBase - diagonalForwardBase;\n      const deltaIsEven = delta % 2 === 0;\n      forwardPoints[diagonalForwardBase] = originalStart;\n      reversePoints[diagonalReverseBase] = originalEnd;\n      quitEarlyArr[0] = false;\n      for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) {\n        let furthestOriginalIndex = 0;\n        let furthestModifiedIndex = 0;\n        diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) {\n          if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n            originalIndex = forwardPoints[diagonal + 1];\n          } else {\n            originalIndex = forwardPoints[diagonal - 1] + 1;\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) {\n            originalIndex++;\n            modifiedIndex++;\n          }\n          forwardPoints[diagonal] = originalIndex;\n          if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) {\n            furthestOriginalIndex = originalIndex;\n            furthestModifiedIndex = modifiedIndex;\n          }\n          if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) {\n            if (originalIndex >= reversePoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2;\n        if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) {\n          quitEarlyArr[0] = true;\n          midOriginalArr[0] = furthestOriginalIndex;\n          midModifiedArr[0] = furthestModifiedIndex;\n          if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) {\n            return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n          } else {\n            originalStart++;\n            modifiedStart++;\n            return [\n              new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n            ];\n          }\n        }\n        diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) {\n          if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) {\n            originalIndex--;\n            modifiedIndex--;\n          }\n          reversePoints[diagonal] = originalIndex;\n          if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) {\n            if (originalIndex <= forwardPoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        if (numDifferences <= 1447) {\n          let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);\n          temp[0] = diagonalForwardBase - diagonalForwardStart + 1;\n          MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);\n          this.m_forwardHistory.push(temp);\n          temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2);\n          temp[0] = diagonalReverseBase - diagonalReverseStart + 1;\n          MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1);\n          this.m_reverseHistory.push(temp);\n        }\n      }\n      return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n    }\n    /**\n     * Shifts the given changes to provide a more intuitive diff.\n     * While the first element in a diff matches the first element after the diff,\n     * we shift the diff down.\n     *\n     * @param changes The list of changes to shift\n     * @returns The shifted changes\n     */\n    PrettifyChanges(changes) {\n      for (let i = 0; i < changes.length; i++) {\n        const change = changes[i];\n        const originalStop = i < changes.length - 1 ? changes[i + 1].originalStart : this._originalElementsOrHash.length;\n        const modifiedStop = i < changes.length - 1 ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length;\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) {\n          const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart);\n          const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength);\n          if (endStrictEqual && !startStrictEqual) {\n            break;\n          }\n          change.originalStart++;\n          change.modifiedStart++;\n        }\n        const mergedChangeArr = [null];\n        if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) {\n          changes[i] = mergedChangeArr[0];\n          changes.splice(i + 1, 1);\n          i--;\n          continue;\n        }\n      }\n      for (let i = changes.length - 1; i >= 0; i--) {\n        const change = changes[i];\n        let originalStop = 0;\n        let modifiedStop = 0;\n        if (i > 0) {\n          const prevChange = changes[i - 1];\n          originalStop = prevChange.originalStart + prevChange.originalLength;\n          modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength;\n        }\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        let bestDelta = 0;\n        let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength);\n        for (let delta = 1; ; delta++) {\n          const originalStart = change.originalStart - delta;\n          const modifiedStart = change.modifiedStart - delta;\n          if (originalStart < originalStop || modifiedStart < modifiedStop) {\n            break;\n          }\n          if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) {\n            break;\n          }\n          if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) {\n            break;\n          }\n          const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop;\n          const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength);\n          if (score2 > bestScore) {\n            bestScore = score2;\n            bestDelta = delta;\n          }\n        }\n        change.originalStart -= bestDelta;\n        change.modifiedStart -= bestDelta;\n        const mergedChangeArr = [null];\n        if (i > 0 && this.ChangesOverlap(changes[i - 1], changes[i], mergedChangeArr)) {\n          changes[i - 1] = mergedChangeArr[0];\n          changes.splice(i, 1);\n          i++;\n          continue;\n        }\n      }\n      if (this._hasStrings) {\n        for (let i = 1, len = changes.length; i < len; i++) {\n          const aChange = changes[i - 1];\n          const bChange = changes[i];\n          const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength;\n          const aOriginalStart = aChange.originalStart;\n          const bOriginalEnd = bChange.originalStart + bChange.originalLength;\n          const abOriginalLength = bOriginalEnd - aOriginalStart;\n          const aModifiedStart = aChange.modifiedStart;\n          const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength;\n          const abModifiedLength = bModifiedEnd - aModifiedStart;\n          if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) {\n            const t = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength);\n            if (t) {\n              const [originalMatchStart, modifiedMatchStart] = t;\n              if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) {\n                aChange.originalLength = originalMatchStart - aChange.originalStart;\n                aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart;\n                bChange.originalStart = originalMatchStart + matchedLength;\n                bChange.modifiedStart = modifiedMatchStart + matchedLength;\n                bChange.originalLength = bOriginalEnd - bChange.originalStart;\n                bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart;\n              }\n            }\n          }\n        }\n      }\n      return changes;\n    }\n    _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) {\n      if (originalLength < desiredLength || modifiedLength < desiredLength) {\n        return null;\n      }\n      const originalMax = originalStart + originalLength - desiredLength + 1;\n      const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1;\n      let bestScore = 0;\n      let bestOriginalStart = 0;\n      let bestModifiedStart = 0;\n      for (let i = originalStart; i < originalMax; i++) {\n        for (let j = modifiedStart; j < modifiedMax; j++) {\n          const score2 = this._contiguousSequenceScore(i, j, desiredLength);\n          if (score2 > 0 && score2 > bestScore) {\n            bestScore = score2;\n            bestOriginalStart = i;\n            bestModifiedStart = j;\n          }\n        }\n      }\n      if (bestScore > 0) {\n        return [bestOriginalStart, bestModifiedStart];\n      }\n      return null;\n    }\n    _contiguousSequenceScore(originalStart, modifiedStart, length) {\n      let score2 = 0;\n      for (let l = 0; l < length; l++) {\n        if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) {\n          return 0;\n        }\n        score2 += this._originalStringElements[originalStart + l].length;\n      }\n      return score2;\n    }\n    _OriginalIsBoundary(index) {\n      if (index <= 0 || index >= this._originalElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._originalStringElements[index]);\n    }\n    _OriginalRegionIsBoundary(originalStart, originalLength) {\n      if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) {\n        return true;\n      }\n      if (originalLength > 0) {\n        const originalEnd = originalStart + originalLength;\n        if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _ModifiedIsBoundary(index) {\n      if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._modifiedStringElements[index]);\n    }\n    _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) {\n      if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) {\n        return true;\n      }\n      if (modifiedLength > 0) {\n        const modifiedEnd = modifiedStart + modifiedLength;\n        if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) {\n      const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0;\n      const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0;\n      return originalScore + modifiedScore;\n    }\n    /**\n     * Concatenates the two input DiffChange lists and returns the resulting\n     * list.\n     * @param The left changes\n     * @param The right changes\n     * @returns The concatenated list\n     */\n    ConcatenateChanges(left, right) {\n      const mergedChangeArr = [];\n      if (left.length === 0 || right.length === 0) {\n        return right.length > 0 ? right : left;\n      } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) {\n        const result = new Array(left.length + right.length - 1);\n        MyArray.Copy(left, 0, result, 0, left.length - 1);\n        result[left.length - 1] = mergedChangeArr[0];\n        MyArray.Copy(right, 1, result, left.length, right.length - 1);\n        return result;\n      } else {\n        const result = new Array(left.length + right.length);\n        MyArray.Copy(left, 0, result, 0, left.length);\n        MyArray.Copy(right, 0, result, left.length, right.length);\n        return result;\n      }\n    }\n    /**\n     * Returns true if the two changes overlap and can be merged into a single\n     * change\n     * @param left The left change\n     * @param right The right change\n     * @param mergedChange The merged change if the two overlap, null otherwise\n     * @returns True if the two changes overlap\n     */\n    ChangesOverlap(left, right, mergedChangeArr) {\n      Debug.Assert(left.originalStart <= right.originalStart, \"Left change is not less than or equal to right change\");\n      Debug.Assert(left.modifiedStart <= right.modifiedStart, \"Left change is not less than or equal to right change\");\n      if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n        const originalStart = left.originalStart;\n        let originalLength = left.originalLength;\n        const modifiedStart = left.modifiedStart;\n        let modifiedLength = left.modifiedLength;\n        if (left.originalStart + left.originalLength >= right.originalStart) {\n          originalLength = right.originalStart + right.originalLength - left.originalStart;\n        }\n        if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n          modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart;\n        }\n        mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength);\n        return true;\n      } else {\n        mergedChangeArr[0] = null;\n        return false;\n      }\n    }\n    /**\n     * Helper method used to clip a diagonal index to the range of valid\n     * diagonals. This also decides whether or not the diagonal index,\n     * if it exceeds the boundary, should be clipped to the boundary or clipped\n     * one inside the boundary depending on the Even/Odd status of the boundary\n     * and numDifferences.\n     * @param diagonal The index of the diagonal to clip.\n     * @param numDifferences The current number of differences being iterated upon.\n     * @param diagonalBaseIndex The base reference diagonal.\n     * @param numDiagonals The total number of diagonals.\n     * @returns The clipped diagonal index.\n     */\n    ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) {\n      if (diagonal >= 0 && diagonal < numDiagonals) {\n        return diagonal;\n      }\n      const diagonalsBelow = diagonalBaseIndex;\n      const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1;\n      const diffEven = numDifferences % 2 === 0;\n      if (diagonal < 0) {\n        const lowerBoundEven = diagonalsBelow % 2 === 0;\n        return diffEven === lowerBoundEven ? 0 : 1;\n      } else {\n        const upperBoundEven = diagonalsAbove % 2 === 0;\n        return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/process.js\n  var safeProcess;\n  var vscodeGlobal = globalThis.vscode;\n  if (typeof vscodeGlobal !== \"undefined\" && typeof vscodeGlobal.process !== \"undefined\") {\n    const sandboxProcess = vscodeGlobal.process;\n    safeProcess = {\n      get platform() {\n        return sandboxProcess.platform;\n      },\n      get arch() {\n        return sandboxProcess.arch;\n      },\n      get env() {\n        return sandboxProcess.env;\n      },\n      cwd() {\n        return sandboxProcess.cwd();\n      }\n    };\n  } else if (typeof process !== \"undefined\") {\n    safeProcess = {\n      get platform() {\n        return process.platform;\n      },\n      get arch() {\n        return process.arch;\n      },\n      get env() {\n        return process.env;\n      },\n      cwd() {\n        return process.env[\"VSCODE_CWD\"] || process.cwd();\n      }\n    };\n  } else {\n    safeProcess = {\n      // Supported\n      get platform() {\n        return isWindows ? \"win32\" : isMacintosh ? \"darwin\" : \"linux\";\n      },\n      get arch() {\n        return void 0;\n      },\n      // Unsupported\n      get env() {\n        return {};\n      },\n      cwd() {\n        return \"/\";\n      }\n    };\n  }\n  var cwd = safeProcess.cwd;\n  var env = safeProcess.env;\n  var platform = safeProcess.platform;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/path.js\n  var CHAR_UPPERCASE_A = 65;\n  var CHAR_LOWERCASE_A = 97;\n  var CHAR_UPPERCASE_Z = 90;\n  var CHAR_LOWERCASE_Z = 122;\n  var CHAR_DOT = 46;\n  var CHAR_FORWARD_SLASH = 47;\n  var CHAR_BACKWARD_SLASH = 92;\n  var CHAR_COLON = 58;\n  var CHAR_QUESTION_MARK = 63;\n  var ErrorInvalidArgType = class extends Error {\n    constructor(name, expected, actual) {\n      let determiner;\n      if (typeof expected === \"string\" && expected.indexOf(\"not \") === 0) {\n        determiner = \"must not be\";\n        expected = expected.replace(/^not /, \"\");\n      } else {\n        determiner = \"must be\";\n      }\n      const type = name.indexOf(\".\") !== -1 ? \"property\" : \"argument\";\n      let msg = `The \"${name}\" ${type} ${determiner} of type ${expected}`;\n      msg += `. Received type ${typeof actual}`;\n      super(msg);\n      this.code = \"ERR_INVALID_ARG_TYPE\";\n    }\n  };\n  function validateObject(pathObject, name) {\n    if (pathObject === null || typeof pathObject !== \"object\") {\n      throw new ErrorInvalidArgType(name, \"Object\", pathObject);\n    }\n  }\n  function validateString(value, name) {\n    if (typeof value !== \"string\") {\n      throw new ErrorInvalidArgType(name, \"string\", value);\n    }\n  }\n  var platformIsWin32 = platform === \"win32\";\n  function isPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n  }\n  function isPosixPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH;\n  }\n  function isWindowsDeviceRoot(code) {\n    return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z;\n  }\n  function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) {\n    let res = \"\";\n    let lastSegmentLength = 0;\n    let lastSlash = -1;\n    let dots = 0;\n    let code = 0;\n    for (let i = 0; i <= path.length; ++i) {\n      if (i < path.length) {\n        code = path.charCodeAt(i);\n      } else if (isPathSeparator2(code)) {\n        break;\n      } else {\n        code = CHAR_FORWARD_SLASH;\n      }\n      if (isPathSeparator2(code)) {\n        if (lastSlash === i - 1 || dots === 1) {\n        } else if (dots === 2) {\n          if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {\n            if (res.length > 2) {\n              const lastSlashIndex = res.lastIndexOf(separator);\n              if (lastSlashIndex === -1) {\n                res = \"\";\n                lastSegmentLength = 0;\n              } else {\n                res = res.slice(0, lastSlashIndex);\n                lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);\n              }\n              lastSlash = i;\n              dots = 0;\n              continue;\n            } else if (res.length !== 0) {\n              res = \"\";\n              lastSegmentLength = 0;\n              lastSlash = i;\n              dots = 0;\n              continue;\n            }\n          }\n          if (allowAboveRoot) {\n            res += res.length > 0 ? `${separator}..` : \"..\";\n            lastSegmentLength = 2;\n          }\n        } else {\n          if (res.length > 0) {\n            res += `${separator}${path.slice(lastSlash + 1, i)}`;\n          } else {\n            res = path.slice(lastSlash + 1, i);\n          }\n          lastSegmentLength = i - lastSlash - 1;\n        }\n        lastSlash = i;\n        dots = 0;\n      } else if (code === CHAR_DOT && dots !== -1) {\n        ++dots;\n      } else {\n        dots = -1;\n      }\n    }\n    return res;\n  }\n  function _format2(sep2, pathObject) {\n    validateObject(pathObject, \"pathObject\");\n    const dir = pathObject.dir || pathObject.root;\n    const base = pathObject.base || `${pathObject.name || \"\"}${pathObject.ext || \"\"}`;\n    if (!dir) {\n      return base;\n    }\n    return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`;\n  }\n  var win32 = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedDevice = \"\";\n      let resolvedTail = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1; i--) {\n        let path;\n        if (i >= 0) {\n          path = pathSegments[i];\n          validateString(path, \"path\");\n          if (path.length === 0) {\n            continue;\n          }\n        } else if (resolvedDevice.length === 0) {\n          path = cwd();\n        } else {\n          path = env[`=${resolvedDevice}`] || cwd();\n          if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n            path = `${resolvedDevice}\\\\`;\n          }\n        }\n        const len = path.length;\n        let rootEnd = 0;\n        let device = \"\";\n        let isAbsolute = false;\n        const code = path.charCodeAt(0);\n        if (len === 1) {\n          if (isPathSeparator(code)) {\n            rootEnd = 1;\n            isAbsolute = true;\n          }\n        } else if (isPathSeparator(code)) {\n          isAbsolute = true;\n          if (isPathSeparator(path.charCodeAt(1))) {\n            let j = 2;\n            let last = j;\n            while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              const firstPart = path.slice(last, j);\n              last = j;\n              while (j < len && isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j < len && j !== last) {\n                last = j;\n                while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                  j++;\n                }\n                if (j === len || j !== last) {\n                  device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                  rootEnd = j;\n                }\n              }\n            }\n          } else {\n            rootEnd = 1;\n          }\n        } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n          device = path.slice(0, 2);\n          rootEnd = 2;\n          if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n            isAbsolute = true;\n            rootEnd = 3;\n          }\n        }\n        if (device.length > 0) {\n          if (resolvedDevice.length > 0) {\n            if (device.toLowerCase() !== resolvedDevice.toLowerCase()) {\n              continue;\n            }\n          } else {\n            resolvedDevice = device;\n          }\n        }\n        if (resolvedAbsolute) {\n          if (resolvedDevice.length > 0) {\n            break;\n          }\n        } else {\n          resolvedTail = `${path.slice(rootEnd)}\\\\${resolvedTail}`;\n          resolvedAbsolute = isAbsolute;\n          if (isAbsolute && resolvedDevice.length > 0) {\n            break;\n          }\n        }\n      }\n      resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, \"\\\\\", isPathSeparator);\n      return resolvedAbsolute ? `${resolvedDevice}\\\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = 0;\n      let device;\n      let isAbsolute = false;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPosixPathSeparator(code) ? \"\\\\\" : path;\n      }\n      if (isPathSeparator(code)) {\n        isAbsolute = true;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            const firstPart = path.slice(last, j);\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return `\\\\\\\\${firstPart}\\\\${path.slice(last)}\\\\`;\n              }\n              if (j !== last) {\n                device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                rootEnd = j;\n              }\n            }\n          }\n        } else {\n          rootEnd = 1;\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        device = path.slice(0, 2);\n        rootEnd = 2;\n        if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n          isAbsolute = true;\n          rootEnd = 3;\n        }\n      }\n      let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, \"\\\\\", isPathSeparator) : \"\";\n      if (tail.length === 0 && !isAbsolute) {\n        tail = \".\";\n      }\n      if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {\n        tail += \"\\\\\";\n      }\n      if (device === void 0) {\n        return isAbsolute ? `\\\\${tail}` : tail;\n      }\n      return isAbsolute ? `${device}\\\\${tail}` : `${device}${tail}`;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return false;\n      }\n      const code = path.charCodeAt(0);\n      return isPathSeparator(code) || // Possible device root\n      len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2));\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      let firstPart;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = firstPart = arg;\n          } else {\n            joined += `\\\\${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      let needsReplace = true;\n      let slashCount = 0;\n      if (typeof firstPart === \"string\" && isPathSeparator(firstPart.charCodeAt(0))) {\n        ++slashCount;\n        const firstLen = firstPart.length;\n        if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) {\n          ++slashCount;\n          if (firstLen > 2) {\n            if (isPathSeparator(firstPart.charCodeAt(2))) {\n              ++slashCount;\n            } else {\n              needsReplace = false;\n            }\n          }\n        }\n      }\n      if (needsReplace) {\n        while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) {\n          slashCount++;\n        }\n        if (slashCount >= 2) {\n          joined = `\\\\${joined.slice(slashCount)}`;\n        }\n      }\n      return win32.normalize(joined);\n    },\n    // It will solve the relative path from `from` to `to`, for instance:\n    //  from = 'C:\\\\orandea\\\\test\\\\aaa'\n    //  to = 'C:\\\\orandea\\\\impl\\\\bbb'\n    // The output of the function should be: '..\\\\..\\\\impl\\\\bbb'\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      const fromOrig = win32.resolve(from);\n      const toOrig = win32.resolve(to);\n      if (fromOrig === toOrig) {\n        return \"\";\n      }\n      from = fromOrig.toLowerCase();\n      to = toOrig.toLowerCase();\n      if (from === to) {\n        return \"\";\n      }\n      let fromStart = 0;\n      while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {\n        fromStart++;\n      }\n      let fromEnd = from.length;\n      while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) {\n        fromEnd--;\n      }\n      const fromLen = fromEnd - fromStart;\n      let toStart = 0;\n      while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        toStart++;\n      }\n      let toEnd = to.length;\n      while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) {\n        toEnd--;\n      }\n      const toLen = toEnd - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_BACKWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i !== length) {\n        if (lastCommonSep === -1) {\n          return toOrig;\n        }\n      } else {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {\n            return toOrig.slice(toStart + i + 1);\n          }\n          if (i === 2) {\n            return toOrig.slice(toStart + i);\n          }\n        }\n        if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 2) {\n            lastCommonSep = 3;\n          }\n        }\n        if (lastCommonSep === -1) {\n          lastCommonSep = 0;\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"\\\\..\";\n        }\n      }\n      toStart += lastCommonSep;\n      if (out.length > 0) {\n        return `${out}${toOrig.slice(toStart, toEnd)}`;\n      }\n      if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        ++toStart;\n      }\n      return toOrig.slice(toStart, toEnd);\n    },\n    toNamespacedPath(path) {\n      if (typeof path !== \"string\" || path.length === 0) {\n        return path;\n      }\n      const resolvedPath = win32.resolve(path);\n      if (resolvedPath.length <= 2) {\n        return path;\n      }\n      if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {\n        if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {\n          const code = resolvedPath.charCodeAt(2);\n          if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {\n            return `\\\\\\\\?\\\\UNC\\\\${resolvedPath.slice(2)}`;\n          }\n        }\n      } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n        return `\\\\\\\\?\\\\${resolvedPath}`;\n      }\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = -1;\n      let offset = 0;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPathSeparator(code) ? path : \".\";\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = offset = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return path;\n              }\n              if (j !== last) {\n                rootEnd = offset = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2;\n        offset = rootEnd;\n      }\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = len - 1; i >= offset; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        if (rootEnd === -1) {\n          return \".\";\n        }\n        end = rootEnd;\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) {\n        start = 2;\n      }\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= start; --i) {\n          const code = path.charCodeAt(i);\n          if (isPathSeparator(code)) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= start; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let start = 0;\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {\n        start = startPart = 2;\n      }\n      for (let i = path.length - 1; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"\\\\\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const len = path.length;\n      let rootEnd = 0;\n      let code = path.charCodeAt(0);\n      if (len === 1) {\n        if (isPathSeparator(code)) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        ret.base = ret.name = path;\n        return ret;\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                rootEnd = j;\n              } else if (j !== last) {\n                rootEnd = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        if (len <= 2) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        rootEnd = 2;\n        if (isPathSeparator(path.charCodeAt(2))) {\n          if (len === 3) {\n            ret.root = ret.dir = path;\n            return ret;\n          }\n          rootEnd = 3;\n        }\n      }\n      if (rootEnd > 0) {\n        ret.root = path.slice(0, rootEnd);\n      }\n      let startDot = -1;\n      let startPart = rootEnd;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= rootEnd; --i) {\n        code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(startPart, end);\n        } else {\n          ret.name = path.slice(startPart, startDot);\n          ret.base = path.slice(startPart, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0 && startPart !== rootEnd) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else {\n        ret.dir = ret.root;\n      }\n      return ret;\n    },\n    sep: \"\\\\\",\n    delimiter: \";\",\n    win32: null,\n    posix: null\n  };\n  var posixCwd = (() => {\n    if (platformIsWin32) {\n      const regexp = /\\\\/g;\n      return () => {\n        const cwd2 = cwd().replace(regexp, \"/\");\n        return cwd2.slice(cwd2.indexOf(\"/\"));\n      };\n    }\n    return () => cwd();\n  })();\n  var posix = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedPath = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n        const path = i >= 0 ? pathSegments[i] : posixCwd();\n        validateString(path, \"path\");\n        if (path.length === 0) {\n          continue;\n        }\n        resolvedPath = `${path}/${resolvedPath}`;\n        resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      }\n      resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\", isPosixPathSeparator);\n      if (resolvedAbsolute) {\n        return `/${resolvedPath}`;\n      }\n      return resolvedPath.length > 0 ? resolvedPath : \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH;\n      path = normalizeString(path, !isAbsolute, \"/\", isPosixPathSeparator);\n      if (path.length === 0) {\n        if (isAbsolute) {\n          return \"/\";\n        }\n        return trailingSeparator ? \"./\" : \".\";\n      }\n      if (trailingSeparator) {\n        path += \"/\";\n      }\n      return isAbsolute ? `/${path}` : path;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = arg;\n          } else {\n            joined += `/${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      return posix.normalize(joined);\n    },\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      from = posix.resolve(from);\n      to = posix.resolve(to);\n      if (from === to) {\n        return \"\";\n      }\n      const fromStart = 1;\n      const fromEnd = from.length;\n      const fromLen = fromEnd - fromStart;\n      const toStart = 1;\n      const toLen = to.length - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_FORWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i === length) {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) {\n            return to.slice(toStart + i + 1);\n          }\n          if (i === 0) {\n            return to.slice(toStart + i);\n          }\n        } else if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 0) {\n            lastCommonSep = 0;\n          }\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"/..\";\n        }\n      }\n      return `${out}${to.slice(toStart + lastCommonSep)}`;\n    },\n    toNamespacedPath(path) {\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = path.length - 1; i >= 1; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        return hasRoot ? \"/\" : \".\";\n      }\n      if (hasRoot && end === 1) {\n        return \"//\";\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= 0; --i) {\n          const code = path.charCodeAt(i);\n          if (code === CHAR_FORWARD_SLASH) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= 0; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      for (let i = path.length - 1; i >= 0; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"/\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let start;\n      if (isAbsolute) {\n        ret.root = \"/\";\n        start = 1;\n      } else {\n        start = 0;\n      }\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        const start2 = startPart === 0 && isAbsolute ? 1 : startPart;\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(start2, end);\n        } else {\n          ret.name = path.slice(start2, startDot);\n          ret.base = path.slice(start2, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else if (isAbsolute) {\n        ret.dir = \"/\";\n      }\n      return ret;\n    },\n    sep: \"/\",\n    delimiter: \":\",\n    win32: null,\n    posix: null\n  };\n  posix.win32 = win32.win32 = win32;\n  posix.posix = win32.posix = posix;\n  var normalize = platformIsWin32 ? win32.normalize : posix.normalize;\n  var resolve = platformIsWin32 ? win32.resolve : posix.resolve;\n  var relative = platformIsWin32 ? win32.relative : posix.relative;\n  var dirname = platformIsWin32 ? win32.dirname : posix.dirname;\n  var basename = platformIsWin32 ? win32.basename : posix.basename;\n  var extname = platformIsWin32 ? win32.extname : posix.extname;\n  var sep = platformIsWin32 ? win32.sep : posix.sep;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uri.js\n  var _schemePattern = /^\\w[\\w\\d+.-]*$/;\n  var _singleSlashStart = /^\\//;\n  var _doubleSlashStart = /^\\/\\//;\n  function _validateUri(ret, _strict) {\n    if (!ret.scheme && _strict) {\n      throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${ret.authority}\", path: \"${ret.path}\", query: \"${ret.query}\", fragment: \"${ret.fragment}\"}`);\n    }\n    if (ret.scheme && !_schemePattern.test(ret.scheme)) {\n      throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n    }\n    if (ret.path) {\n      if (ret.authority) {\n        if (!_singleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n        }\n      } else {\n        if (_doubleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n    }\n  }\n  function _schemeFix(scheme, _strict) {\n    if (!scheme && !_strict) {\n      return \"file\";\n    }\n    return scheme;\n  }\n  function _referenceResolution(scheme, path) {\n    switch (scheme) {\n      case \"https\":\n      case \"http\":\n      case \"file\":\n        if (!path) {\n          path = _slash;\n        } else if (path[0] !== _slash) {\n          path = _slash + path;\n        }\n        break;\n    }\n    return path;\n  }\n  var _empty = \"\";\n  var _slash = \"/\";\n  var _regexp = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;\n  var URI = class _URI {\n    static isUri(thing) {\n      if (thing instanceof _URI) {\n        return true;\n      }\n      if (!thing) {\n        return false;\n      }\n      return typeof thing.authority === \"string\" && typeof thing.fragment === \"string\" && typeof thing.path === \"string\" && typeof thing.query === \"string\" && typeof thing.scheme === \"string\" && typeof thing.fsPath === \"string\" && typeof thing.with === \"function\" && typeof thing.toString === \"function\";\n    }\n    /**\n     * @internal\n     */\n    constructor(schemeOrData, authority, path, query, fragment, _strict = false) {\n      if (typeof schemeOrData === \"object\") {\n        this.scheme = schemeOrData.scheme || _empty;\n        this.authority = schemeOrData.authority || _empty;\n        this.path = schemeOrData.path || _empty;\n        this.query = schemeOrData.query || _empty;\n        this.fragment = schemeOrData.fragment || _empty;\n      } else {\n        this.scheme = _schemeFix(schemeOrData, _strict);\n        this.authority = authority || _empty;\n        this.path = _referenceResolution(this.scheme, path || _empty);\n        this.query = query || _empty;\n        this.fragment = fragment || _empty;\n        _validateUri(this, _strict);\n      }\n    }\n    // ---- filesystem path -----------------------\n    /**\n     * Returns a string representing the corresponding file system path of this URI.\n     * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the\n     * platform specific path separator.\n     *\n     * * Will *not* validate the path for invalid characters and semantics.\n     * * Will *not* look at the scheme of this URI.\n     * * The result shall *not* be used for display purposes but for accessing a file on disk.\n     *\n     *\n     * The *difference* to `URI#path` is the use of the platform specific separator and the handling\n     * of UNC paths. See the below sample of a file-uri with an authority (UNC path).\n     *\n     * ```ts\n        const u = URI.parse('file://server/c$/folder/file.txt')\n        u.authority === 'server'\n        u.path === '/shares/c$/file.txt'\n        u.fsPath === '\\\\server\\c$\\folder\\file.txt'\n    ```\n     *\n     * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path,\n     * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working\n     * with URIs that represent files on disk (`file` scheme).\n     */\n    get fsPath() {\n      return uriToFsPath(this, false);\n    }\n    // ---- modify to new -------------------------\n    with(change) {\n      if (!change) {\n        return this;\n      }\n      let { scheme, authority, path, query, fragment } = change;\n      if (scheme === void 0) {\n        scheme = this.scheme;\n      } else if (scheme === null) {\n        scheme = _empty;\n      }\n      if (authority === void 0) {\n        authority = this.authority;\n      } else if (authority === null) {\n        authority = _empty;\n      }\n      if (path === void 0) {\n        path = this.path;\n      } else if (path === null) {\n        path = _empty;\n      }\n      if (query === void 0) {\n        query = this.query;\n      } else if (query === null) {\n        query = _empty;\n      }\n      if (fragment === void 0) {\n        fragment = this.fragment;\n      } else if (fragment === null) {\n        fragment = _empty;\n      }\n      if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) {\n        return this;\n      }\n      return new Uri(scheme, authority, path, query, fragment);\n    }\n    // ---- parse & validate ------------------------\n    /**\n     * Creates a new URI from a string, e.g. `http://www.example.com/some/path`,\n     * `file:///usr/home`, or `scheme:with/path`.\n     *\n     * @param value A string which represents an URI (see `URI#toString`).\n     */\n    static parse(value, _strict = false) {\n      const match = _regexp.exec(value);\n      if (!match) {\n        return new Uri(_empty, _empty, _empty, _empty, _empty);\n      }\n      return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict);\n    }\n    /**\n     * Creates a new URI from a file system path, e.g. `c:\\my\\files`,\n     * `/usr/home`, or `\\\\server\\share\\some\\path`.\n     *\n     * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument\n     * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as**\n     * `URI.parse('file://' + path)` because the path might contain characters that are\n     * interpreted (# and ?). See the following sample:\n     * ```ts\n    const good = URI.file('/coding/c#/project1');\n    good.scheme === 'file';\n    good.path === '/coding/c#/project1';\n    good.fragment === '';\n    const bad = URI.parse('file://' + '/coding/c#/project1');\n    bad.scheme === 'file';\n    bad.path === '/coding/c'; // path is now broken\n    bad.fragment === '/project1';\n    ```\n     *\n     * @param path A file system path (see `URI#fsPath`)\n     */\n    static file(path) {\n      let authority = _empty;\n      if (isWindows) {\n        path = path.replace(/\\\\/g, _slash);\n      }\n      if (path[0] === _slash && path[1] === _slash) {\n        const idx = path.indexOf(_slash, 2);\n        if (idx === -1) {\n          authority = path.substring(2);\n          path = _slash;\n        } else {\n          authority = path.substring(2, idx);\n          path = path.substring(idx) || _slash;\n        }\n      }\n      return new Uri(\"file\", authority, path, _empty, _empty);\n    }\n    /**\n     * Creates new URI from uri components.\n     *\n     * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs\n     * validation and should be used for untrusted uri components retrieved from storage,\n     * user input, command arguments etc\n     */\n    static from(components, strict) {\n      const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict);\n      return result;\n    }\n    /**\n     * Join a URI path with path fragments and normalizes the resulting path.\n     *\n     * @param uri The input URI.\n     * @param pathFragment The path fragment to add to the URI path.\n     * @returns The resulting URI.\n     */\n    static joinPath(uri, ...pathFragment) {\n      if (!uri.path) {\n        throw new Error(`[UriError]: cannot call joinPath on URI without path`);\n      }\n      let newPath;\n      if (isWindows && uri.scheme === \"file\") {\n        newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path;\n      } else {\n        newPath = posix.join(uri.path, ...pathFragment);\n      }\n      return uri.with({ path: newPath });\n    }\n    // ---- printing/externalize ---------------------------\n    /**\n     * Creates a string representation for this URI. It's guaranteed that calling\n     * `URI.parse` with the result of this function creates an URI which is equal\n     * to this URI.\n     *\n     * * The result shall *not* be used for display purposes but for externalization or transport.\n     * * The result will be encoded using the percentage encoding and encoding happens mostly\n     * ignore the scheme-specific encoding rules.\n     *\n     * @param skipEncoding Do not encode the result, default is `false`\n     */\n    toString(skipEncoding = false) {\n      return _asFormatted(this, skipEncoding);\n    }\n    toJSON() {\n      return this;\n    }\n    static revive(data) {\n      var _a5, _b3;\n      if (!data) {\n        return data;\n      } else if (data instanceof _URI) {\n        return data;\n      } else {\n        const result = new Uri(data);\n        result._formatted = (_a5 = data.external) !== null && _a5 !== void 0 ? _a5 : null;\n        result._fsPath = data._sep === _pathSepMarker ? (_b3 = data.fsPath) !== null && _b3 !== void 0 ? _b3 : null : null;\n        return result;\n      }\n    }\n  };\n  var _pathSepMarker = isWindows ? 1 : void 0;\n  var Uri = class extends URI {\n    constructor() {\n      super(...arguments);\n      this._formatted = null;\n      this._fsPath = null;\n    }\n    get fsPath() {\n      if (!this._fsPath) {\n        this._fsPath = uriToFsPath(this, false);\n      }\n      return this._fsPath;\n    }\n    toString(skipEncoding = false) {\n      if (!skipEncoding) {\n        if (!this._formatted) {\n          this._formatted = _asFormatted(this, false);\n        }\n        return this._formatted;\n      } else {\n        return _asFormatted(this, true);\n      }\n    }\n    toJSON() {\n      const res = {\n        $mid: 1\n        /* MarshalledId.Uri */\n      };\n      if (this._fsPath) {\n        res.fsPath = this._fsPath;\n        res._sep = _pathSepMarker;\n      }\n      if (this._formatted) {\n        res.external = this._formatted;\n      }\n      if (this.path) {\n        res.path = this.path;\n      }\n      if (this.scheme) {\n        res.scheme = this.scheme;\n      }\n      if (this.authority) {\n        res.authority = this.authority;\n      }\n      if (this.query) {\n        res.query = this.query;\n      }\n      if (this.fragment) {\n        res.fragment = this.fragment;\n      }\n      return res;\n    }\n  };\n  var encodeTable = {\n    [\n      58\n      /* CharCode.Colon */\n    ]: \"%3A\",\n    // gen-delims\n    [\n      47\n      /* CharCode.Slash */\n    ]: \"%2F\",\n    [\n      63\n      /* CharCode.QuestionMark */\n    ]: \"%3F\",\n    [\n      35\n      /* CharCode.Hash */\n    ]: \"%23\",\n    [\n      91\n      /* CharCode.OpenSquareBracket */\n    ]: \"%5B\",\n    [\n      93\n      /* CharCode.CloseSquareBracket */\n    ]: \"%5D\",\n    [\n      64\n      /* CharCode.AtSign */\n    ]: \"%40\",\n    [\n      33\n      /* CharCode.ExclamationMark */\n    ]: \"%21\",\n    // sub-delims\n    [\n      36\n      /* CharCode.DollarSign */\n    ]: \"%24\",\n    [\n      38\n      /* CharCode.Ampersand */\n    ]: \"%26\",\n    [\n      39\n      /* CharCode.SingleQuote */\n    ]: \"%27\",\n    [\n      40\n      /* CharCode.OpenParen */\n    ]: \"%28\",\n    [\n      41\n      /* CharCode.CloseParen */\n    ]: \"%29\",\n    [\n      42\n      /* CharCode.Asterisk */\n    ]: \"%2A\",\n    [\n      43\n      /* CharCode.Plus */\n    ]: \"%2B\",\n    [\n      44\n      /* CharCode.Comma */\n    ]: \"%2C\",\n    [\n      59\n      /* CharCode.Semicolon */\n    ]: \"%3B\",\n    [\n      61\n      /* CharCode.Equals */\n    ]: \"%3D\",\n    [\n      32\n      /* CharCode.Space */\n    ]: \"%20\"\n  };\n  function encodeURIComponentFast(uriComponent, isPath, isAuthority) {\n    let res = void 0;\n    let nativeEncodePos = -1;\n    for (let pos = 0; pos < uriComponent.length; pos++) {\n      const code = uriComponent.charCodeAt(pos);\n      if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) {\n        if (nativeEncodePos !== -1) {\n          res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n          nativeEncodePos = -1;\n        }\n        if (res !== void 0) {\n          res += uriComponent.charAt(pos);\n        }\n      } else {\n        if (res === void 0) {\n          res = uriComponent.substr(0, pos);\n        }\n        const escaped = encodeTable[code];\n        if (escaped !== void 0) {\n          if (nativeEncodePos !== -1) {\n            res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n            nativeEncodePos = -1;\n          }\n          res += escaped;\n        } else if (nativeEncodePos === -1) {\n          nativeEncodePos = pos;\n        }\n      }\n    }\n    if (nativeEncodePos !== -1) {\n      res += encodeURIComponent(uriComponent.substring(nativeEncodePos));\n    }\n    return res !== void 0 ? res : uriComponent;\n  }\n  function encodeURIComponentMinimal(path) {\n    let res = void 0;\n    for (let pos = 0; pos < path.length; pos++) {\n      const code = path.charCodeAt(pos);\n      if (code === 35 || code === 63) {\n        if (res === void 0) {\n          res = path.substr(0, pos);\n        }\n        res += encodeTable[code];\n      } else {\n        if (res !== void 0) {\n          res += path[pos];\n        }\n      }\n    }\n    return res !== void 0 ? res : path;\n  }\n  function uriToFsPath(uri, keepDriveLetterCasing) {\n    let value;\n    if (uri.authority && uri.path.length > 1 && uri.scheme === \"file\") {\n      value = `//${uri.authority}${uri.path}`;\n    } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) {\n      if (!keepDriveLetterCasing) {\n        value = uri.path[1].toLowerCase() + uri.path.substr(2);\n      } else {\n        value = uri.path.substr(1);\n      }\n    } else {\n      value = uri.path;\n    }\n    if (isWindows) {\n      value = value.replace(/\\//g, \"\\\\\");\n    }\n    return value;\n  }\n  function _asFormatted(uri, skipEncoding) {\n    const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal;\n    let res = \"\";\n    let { scheme, authority, path, query, fragment } = uri;\n    if (scheme) {\n      res += scheme;\n      res += \":\";\n    }\n    if (authority || scheme === \"file\") {\n      res += _slash;\n      res += _slash;\n    }\n    if (authority) {\n      let idx = authority.indexOf(\"@\");\n      if (idx !== -1) {\n        const userinfo = authority.substr(0, idx);\n        authority = authority.substr(idx + 1);\n        idx = userinfo.lastIndexOf(\":\");\n        if (idx === -1) {\n          res += encoder(userinfo, false, false);\n        } else {\n          res += encoder(userinfo.substr(0, idx), false, false);\n          res += \":\";\n          res += encoder(userinfo.substr(idx + 1), false, true);\n        }\n        res += \"@\";\n      }\n      authority = authority.toLowerCase();\n      idx = authority.lastIndexOf(\":\");\n      if (idx === -1) {\n        res += encoder(authority, false, true);\n      } else {\n        res += encoder(authority.substr(0, idx), false, true);\n        res += authority.substr(idx);\n      }\n    }\n    if (path) {\n      if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {\n        const code = path.charCodeAt(1);\n        if (code >= 65 && code <= 90) {\n          path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;\n        }\n      } else if (path.length >= 2 && path.charCodeAt(1) === 58) {\n        const code = path.charCodeAt(0);\n        if (code >= 65 && code <= 90) {\n          path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;\n        }\n      }\n      res += encoder(path, true, false);\n    }\n    if (query) {\n      res += \"?\";\n      res += encoder(query, false, false);\n    }\n    if (fragment) {\n      res += \"#\";\n      res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment;\n    }\n    return res;\n  }\n  function decodeURIComponentGraceful(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (_a5) {\n      if (str.length > 3) {\n        return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3));\n      } else {\n        return str;\n      }\n    }\n  }\n  var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n  function percentDecode(str) {\n    if (!str.match(_rEncodedAsHex)) {\n      return str;\n    }\n    return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/position.js\n  var Position = class _Position {\n    constructor(lineNumber, column) {\n      this.lineNumber = lineNumber;\n      this.column = column;\n    }\n    /**\n     * Create a new position from this position.\n     *\n     * @param newLineNumber new line number\n     * @param newColumn new column\n     */\n    with(newLineNumber = this.lineNumber, newColumn = this.column) {\n      if (newLineNumber === this.lineNumber && newColumn === this.column) {\n        return this;\n      } else {\n        return new _Position(newLineNumber, newColumn);\n      }\n    }\n    /**\n     * Derive a new position from this position.\n     *\n     * @param deltaLineNumber line number delta\n     * @param deltaColumn column delta\n     */\n    delta(deltaLineNumber = 0, deltaColumn = 0) {\n      return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\n    }\n    /**\n     * Test if this position equals other position\n     */\n    equals(other) {\n      return _Position.equals(this, other);\n    }\n    /**\n     * Test if position `a` equals position `b`\n     */\n    static equals(a2, b) {\n      if (!a2 && !b) {\n        return true;\n      }\n      return !!a2 && !!b && a2.lineNumber === b.lineNumber && a2.column === b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be false.\n     */\n    isBefore(other) {\n      return _Position.isBefore(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be false.\n     */\n    static isBefore(a2, b) {\n      if (a2.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a2.lineNumber) {\n        return false;\n      }\n      return a2.column < b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be true.\n     */\n    isBeforeOrEqual(other) {\n      return _Position.isBeforeOrEqual(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be true.\n     */\n    static isBeforeOrEqual(a2, b) {\n      if (a2.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a2.lineNumber) {\n        return false;\n      }\n      return a2.column <= b.column;\n    }\n    /**\n     * A function that compares positions, useful for sorting\n     */\n    static compare(a2, b) {\n      const aLineNumber = a2.lineNumber | 0;\n      const bLineNumber = b.lineNumber | 0;\n      if (aLineNumber === bLineNumber) {\n        const aColumn = a2.column | 0;\n        const bColumn = b.column | 0;\n        return aColumn - bColumn;\n      }\n      return aLineNumber - bLineNumber;\n    }\n    /**\n     * Clone this position.\n     */\n    clone() {\n      return new _Position(this.lineNumber, this.column);\n    }\n    /**\n     * Convert to a human-readable representation.\n     */\n    toString() {\n      return \"(\" + this.lineNumber + \",\" + this.column + \")\";\n    }\n    // ---\n    /**\n     * Create a `Position` from an `IPosition`.\n     */\n    static lift(pos) {\n      return new _Position(pos.lineNumber, pos.column);\n    }\n    /**\n     * Test if `obj` is an `IPosition`.\n     */\n    static isIPosition(obj) {\n      return obj && typeof obj.lineNumber === \"number\" && typeof obj.column === \"number\";\n    }\n    toJSON() {\n      return {\n        lineNumber: this.lineNumber,\n        column: this.column\n      };\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/range.js\n  var Range = class _Range {\n    constructor(startLineNumber, startColumn, endLineNumber, endColumn) {\n      if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {\n        this.startLineNumber = endLineNumber;\n        this.startColumn = endColumn;\n        this.endLineNumber = startLineNumber;\n        this.endColumn = startColumn;\n      } else {\n        this.startLineNumber = startLineNumber;\n        this.startColumn = startColumn;\n        this.endLineNumber = endLineNumber;\n        this.endColumn = endColumn;\n      }\n    }\n    /**\n     * Test if this range is empty.\n     */\n    isEmpty() {\n      return _Range.isEmpty(this);\n    }\n    /**\n     * Test if `range` is empty.\n     */\n    static isEmpty(range) {\n      return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn;\n    }\n    /**\n     * Test if position is in this range. If the position is at the edges, will return true.\n     */\n    containsPosition(position) {\n      return _Range.containsPosition(this, position);\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return true.\n     */\n    static containsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return false.\n     * @internal\n     */\n    static strictContainsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column <= range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if range is in this range. If the range is equal to this range, will return true.\n     */\n    containsRange(range) {\n      return _Range.containsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is in `range`. If the ranges are equal, will return true.\n     */\n    static containsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.\n     */\n    strictContainsRange(range) {\n      return _Range.strictContainsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false.\n     */\n    static strictContainsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    plusRange(range) {\n      return _Range.plusRange(this, range);\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    static plusRange(a2, b) {\n      let startLineNumber;\n      let startColumn;\n      let endLineNumber;\n      let endColumn;\n      if (b.startLineNumber < a2.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = b.startColumn;\n      } else if (b.startLineNumber === a2.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = Math.min(b.startColumn, a2.startColumn);\n      } else {\n        startLineNumber = a2.startLineNumber;\n        startColumn = a2.startColumn;\n      }\n      if (b.endLineNumber > a2.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = b.endColumn;\n      } else if (b.endLineNumber === a2.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = Math.max(b.endColumn, a2.endColumn);\n      } else {\n        endLineNumber = a2.endLineNumber;\n        endColumn = a2.endColumn;\n      }\n      return new _Range(startLineNumber, startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    intersectRanges(range) {\n      return _Range.intersectRanges(this, range);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    static intersectRanges(a2, b) {\n      let resultStartLineNumber = a2.startLineNumber;\n      let resultStartColumn = a2.startColumn;\n      let resultEndLineNumber = a2.endLineNumber;\n      let resultEndColumn = a2.endColumn;\n      const otherStartLineNumber = b.startLineNumber;\n      const otherStartColumn = b.startColumn;\n      const otherEndLineNumber = b.endLineNumber;\n      const otherEndColumn = b.endColumn;\n      if (resultStartLineNumber < otherStartLineNumber) {\n        resultStartLineNumber = otherStartLineNumber;\n        resultStartColumn = otherStartColumn;\n      } else if (resultStartLineNumber === otherStartLineNumber) {\n        resultStartColumn = Math.max(resultStartColumn, otherStartColumn);\n      }\n      if (resultEndLineNumber > otherEndLineNumber) {\n        resultEndLineNumber = otherEndLineNumber;\n        resultEndColumn = otherEndColumn;\n      } else if (resultEndLineNumber === otherEndLineNumber) {\n        resultEndColumn = Math.min(resultEndColumn, otherEndColumn);\n      }\n      if (resultStartLineNumber > resultEndLineNumber) {\n        return null;\n      }\n      if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) {\n        return null;\n      }\n      return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn);\n    }\n    /**\n     * Test if this range equals other.\n     */\n    equalsRange(other) {\n      return _Range.equalsRange(this, other);\n    }\n    /**\n     * Test if range `a` equals `b`.\n     */\n    static equalsRange(a2, b) {\n      if (!a2 && !b) {\n        return true;\n      }\n      return !!a2 && !!b && a2.startLineNumber === b.startLineNumber && a2.startColumn === b.startColumn && a2.endLineNumber === b.endLineNumber && a2.endColumn === b.endColumn;\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    getEndPosition() {\n      return _Range.getEndPosition(this);\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    static getEndPosition(range) {\n      return new Position(range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    getStartPosition() {\n      return _Range.getStartPosition(this);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    static getStartPosition(range) {\n      return new Position(range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Transform to a user presentable string representation.\n     */\n    toString() {\n      return \"[\" + this.startLineNumber + \",\" + this.startColumn + \" -> \" + this.endLineNumber + \",\" + this.endColumn + \"]\";\n    }\n    /**\n     * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    collapseToStart() {\n      return _Range.collapseToStart(this);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    static collapseToStart(range) {\n      return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    collapseToEnd() {\n      return _Range.collapseToEnd(this);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    static collapseToEnd(range) {\n      return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Moves the range by the given amount of lines.\n     */\n    delta(lineCount) {\n      return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn);\n    }\n    // ---\n    static fromPositions(start, end = start) {\n      return new _Range(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    static lift(range) {\n      if (!range) {\n        return null;\n      }\n      return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Test if `obj` is an `IRange`.\n     */\n    static isIRange(obj) {\n      return obj && typeof obj.startLineNumber === \"number\" && typeof obj.startColumn === \"number\" && typeof obj.endLineNumber === \"number\" && typeof obj.endColumn === \"number\";\n    }\n    /**\n     * Test if the two ranges are touching in any way.\n     */\n    static areIntersectingOrTouching(a2, b) {\n      if (a2.endLineNumber < b.startLineNumber || a2.endLineNumber === b.startLineNumber && a2.endColumn < b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a2.startLineNumber || b.endLineNumber === a2.startLineNumber && b.endColumn < a2.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if the two ranges are intersecting. If the ranges are touching it returns true.\n     */\n    static areIntersecting(a2, b) {\n      if (a2.endLineNumber < b.startLineNumber || a2.endLineNumber === b.startLineNumber && a2.endColumn <= b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a2.startLineNumber || b.endLineNumber === a2.startLineNumber && b.endColumn <= a2.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the startPosition and then on the endPosition\n     */\n    static compareRangesUsingStarts(a2, b) {\n      if (a2 && b) {\n        const aStartLineNumber = a2.startLineNumber | 0;\n        const bStartLineNumber = b.startLineNumber | 0;\n        if (aStartLineNumber === bStartLineNumber) {\n          const aStartColumn = a2.startColumn | 0;\n          const bStartColumn = b.startColumn | 0;\n          if (aStartColumn === bStartColumn) {\n            const aEndLineNumber = a2.endLineNumber | 0;\n            const bEndLineNumber = b.endLineNumber | 0;\n            if (aEndLineNumber === bEndLineNumber) {\n              const aEndColumn = a2.endColumn | 0;\n              const bEndColumn = b.endColumn | 0;\n              return aEndColumn - bEndColumn;\n            }\n            return aEndLineNumber - bEndLineNumber;\n          }\n          return aStartColumn - bStartColumn;\n        }\n        return aStartLineNumber - bStartLineNumber;\n      }\n      const aExists = a2 ? 1 : 0;\n      const bExists = b ? 1 : 0;\n      return aExists - bExists;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the endPosition and then on the startPosition\n     */\n    static compareRangesUsingEnds(a2, b) {\n      if (a2.endLineNumber === b.endLineNumber) {\n        if (a2.endColumn === b.endColumn) {\n          if (a2.startLineNumber === b.startLineNumber) {\n            return a2.startColumn - b.startColumn;\n          }\n          return a2.startLineNumber - b.startLineNumber;\n        }\n        return a2.endColumn - b.endColumn;\n      }\n      return a2.endLineNumber - b.endLineNumber;\n    }\n    /**\n     * Test if the range spans multiple lines.\n     */\n    static spansMultipleLines(range) {\n      return range.endLineNumber > range.startLineNumber;\n    }\n    toJSON() {\n      return this;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arrays.js\n  function equals(one, other, itemEquals = (a2, b) => a2 === b) {\n    if (one === other) {\n      return true;\n    }\n    if (!one || !other) {\n      return false;\n    }\n    if (one.length !== other.length) {\n      return false;\n    }\n    for (let i = 0, len = one.length; i < len; i++) {\n      if (!itemEquals(one[i], other[i])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function* groupAdjacentBy(items, shouldBeGrouped) {\n    let currentGroup;\n    let last;\n    for (const item of items) {\n      if (last !== void 0 && shouldBeGrouped(last, item)) {\n        currentGroup.push(item);\n      } else {\n        if (currentGroup) {\n          yield currentGroup;\n        }\n        currentGroup = [item];\n      }\n      last = item;\n    }\n    if (currentGroup) {\n      yield currentGroup;\n    }\n  }\n  function forEachAdjacent(arr, f2) {\n    for (let i = 0; i <= arr.length; i++) {\n      f2(i === 0 ? void 0 : arr[i - 1], i === arr.length ? void 0 : arr[i]);\n    }\n  }\n  function forEachWithNeighbors(arr, f2) {\n    for (let i = 0; i < arr.length; i++) {\n      f2(i === 0 ? void 0 : arr[i - 1], arr[i], i + 1 === arr.length ? void 0 : arr[i + 1]);\n    }\n  }\n  function pushMany(arr, items) {\n    for (const item of items) {\n      arr.push(item);\n    }\n  }\n  var CompareResult;\n  (function(CompareResult2) {\n    function isLessThan(result) {\n      return result < 0;\n    }\n    CompareResult2.isLessThan = isLessThan;\n    function isLessThanOrEqual(result) {\n      return result <= 0;\n    }\n    CompareResult2.isLessThanOrEqual = isLessThanOrEqual;\n    function isGreaterThan(result) {\n      return result > 0;\n    }\n    CompareResult2.isGreaterThan = isGreaterThan;\n    function isNeitherLessOrGreaterThan(result) {\n      return result === 0;\n    }\n    CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan;\n    CompareResult2.greaterThan = 1;\n    CompareResult2.lessThan = -1;\n    CompareResult2.neitherLessOrGreaterThan = 0;\n  })(CompareResult || (CompareResult = {}));\n  function compareBy(selector, comparator) {\n    return (a2, b) => comparator(selector(a2), selector(b));\n  }\n  var numberComparator = (a2, b) => a2 - b;\n  function reverseOrder(comparator) {\n    return (a2, b) => -comparator(a2, b);\n  }\n  var CallbackIterable = class _CallbackIterable {\n    constructor(iterate) {\n      this.iterate = iterate;\n    }\n    toArray() {\n      const result = [];\n      this.iterate((item) => {\n        result.push(item);\n        return true;\n      });\n      return result;\n    }\n    filter(predicate) {\n      return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true));\n    }\n    map(mapFn) {\n      return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item))));\n    }\n    findLast(predicate) {\n      let result;\n      this.iterate((item) => {\n        if (predicate(item)) {\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n    findLastMaxBy(comparator) {\n      let result;\n      let first = true;\n      this.iterate((item) => {\n        if (first || CompareResult.isGreaterThan(comparator(item, result))) {\n          first = false;\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n  };\n  CallbackIterable.empty = new CallbackIterable((_callback) => {\n  });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uint.js\n  function toUint8(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 255) {\n      return 255;\n    }\n    return v | 0;\n  }\n  function toUint32(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 4294967295) {\n      return 4294967295;\n    }\n    return v | 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js\n  var PrefixSumComputer = class {\n    constructor(values2) {\n      this.values = values2;\n      this.prefixSum = new Uint32Array(values2.length);\n      this.prefixSumValidIndex = new Int32Array(1);\n      this.prefixSumValidIndex[0] = -1;\n    }\n    insertValues(insertIndex, insertValues) {\n      insertIndex = toUint32(insertIndex);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      const insertValuesLen = insertValues.length;\n      if (insertValuesLen === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length + insertValuesLen);\n      this.values.set(oldValues.subarray(0, insertIndex), 0);\n      this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen);\n      this.values.set(insertValues, insertIndex);\n      if (insertIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = insertIndex - 1;\n      }\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    setValue(index, value) {\n      index = toUint32(index);\n      value = toUint32(value);\n      if (this.values[index] === value) {\n        return false;\n      }\n      this.values[index] = value;\n      if (index - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = index - 1;\n      }\n      return true;\n    }\n    removeValues(startIndex, count) {\n      startIndex = toUint32(startIndex);\n      count = toUint32(count);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      if (startIndex >= oldValues.length) {\n        return false;\n      }\n      const maxCount = oldValues.length - startIndex;\n      if (count >= maxCount) {\n        count = maxCount;\n      }\n      if (count === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length - count);\n      this.values.set(oldValues.subarray(0, startIndex), 0);\n      this.values.set(oldValues.subarray(startIndex + count), startIndex);\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (startIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = startIndex - 1;\n      }\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    getTotalSum() {\n      if (this.values.length === 0) {\n        return 0;\n      }\n      return this._getPrefixSum(this.values.length - 1);\n    }\n    /**\n     * Returns the sum of the first `index + 1` many items.\n     * @returns `SUM(0 <= j <= index, values[j])`.\n     */\n    getPrefixSum(index) {\n      if (index < 0) {\n        return 0;\n      }\n      index = toUint32(index);\n      return this._getPrefixSum(index);\n    }\n    _getPrefixSum(index) {\n      if (index <= this.prefixSumValidIndex[0]) {\n        return this.prefixSum[index];\n      }\n      let startIndex = this.prefixSumValidIndex[0] + 1;\n      if (startIndex === 0) {\n        this.prefixSum[0] = this.values[0];\n        startIndex++;\n      }\n      if (index >= this.values.length) {\n        index = this.values.length - 1;\n      }\n      for (let i = startIndex; i <= index; i++) {\n        this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i];\n      }\n      this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index);\n      return this.prefixSum[index];\n    }\n    getIndexOf(sum) {\n      sum = Math.floor(sum);\n      this.getTotalSum();\n      let low = 0;\n      let high = this.values.length - 1;\n      let mid = 0;\n      let midStop = 0;\n      let midStart = 0;\n      while (low <= high) {\n        mid = low + (high - low) / 2 | 0;\n        midStop = this.prefixSum[mid];\n        midStart = midStop - this.values[mid];\n        if (sum < midStart) {\n          high = mid - 1;\n        } else if (sum >= midStop) {\n          low = mid + 1;\n        } else {\n          break;\n        }\n      }\n      return new PrefixSumIndexOfResult(mid, sum - midStart);\n    }\n  };\n  var PrefixSumIndexOfResult = class {\n    constructor(index, remainder) {\n      this.index = index;\n      this.remainder = remainder;\n      this._prefixSumIndexOfResultBrand = void 0;\n      this.index = index;\n      this.remainder = remainder;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js\n  var MirrorTextModel = class {\n    constructor(uri, lines, eol, versionId) {\n      this._uri = uri;\n      this._lines = lines;\n      this._eol = eol;\n      this._versionId = versionId;\n      this._lineStarts = null;\n      this._cachedTextValue = null;\n    }\n    dispose() {\n      this._lines.length = 0;\n    }\n    get version() {\n      return this._versionId;\n    }\n    getText() {\n      if (this._cachedTextValue === null) {\n        this._cachedTextValue = this._lines.join(this._eol);\n      }\n      return this._cachedTextValue;\n    }\n    onEvents(e) {\n      if (e.eol && e.eol !== this._eol) {\n        this._eol = e.eol;\n        this._lineStarts = null;\n      }\n      const changes = e.changes;\n      for (const change of changes) {\n        this._acceptDeleteRange(change.range);\n        this._acceptInsertText(new Position(change.range.startLineNumber, change.range.startColumn), change.text);\n      }\n      this._versionId = e.versionId;\n      this._cachedTextValue = null;\n    }\n    _ensureLineStarts() {\n      if (!this._lineStarts) {\n        const eolLength = this._eol.length;\n        const linesLength = this._lines.length;\n        const lineStartValues = new Uint32Array(linesLength);\n        for (let i = 0; i < linesLength; i++) {\n          lineStartValues[i] = this._lines[i].length + eolLength;\n        }\n        this._lineStarts = new PrefixSumComputer(lineStartValues);\n      }\n    }\n    /**\n     * All changes to a line's text go through this method\n     */\n    _setLineText(lineIndex, newValue) {\n      this._lines[lineIndex] = newValue;\n      if (this._lineStarts) {\n        this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length);\n      }\n    }\n    _acceptDeleteRange(range) {\n      if (range.startLineNumber === range.endLineNumber) {\n        if (range.startColumn === range.endColumn) {\n          return;\n        }\n        this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1));\n        return;\n      }\n      this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1));\n      this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      if (this._lineStarts) {\n        this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      }\n    }\n    _acceptInsertText(position, insertText) {\n      if (insertText.length === 0) {\n        return;\n      }\n      const insertLines = splitLines(insertText);\n      if (insertLines.length === 1) {\n        this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0] + this._lines[position.lineNumber - 1].substring(position.column - 1));\n        return;\n      }\n      insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1);\n      this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0]);\n      const newLengths = new Uint32Array(insertLines.length - 1);\n      for (let i = 1; i < insertLines.length; i++) {\n        this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]);\n        newLengths[i - 1] = insertLines[i].length + this._eol.length;\n      }\n      if (this._lineStarts) {\n        this._lineStarts.insertValues(position.lineNumber, newLengths);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js\n  var USUAL_WORD_SEPARATORS = \"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";\n  function createWordRegExp(allowInWords = \"\") {\n    let source = \"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";\n    for (const sep2 of USUAL_WORD_SEPARATORS) {\n      if (allowInWords.indexOf(sep2) >= 0) {\n        continue;\n      }\n      source += \"\\\\\" + sep2;\n    }\n    source += \"\\\\s]+)\";\n    return new RegExp(source, \"g\");\n  }\n  var DEFAULT_WORD_REGEXP = createWordRegExp();\n  function ensureValidWordDefinition(wordDefinition) {\n    let result = DEFAULT_WORD_REGEXP;\n    if (wordDefinition && wordDefinition instanceof RegExp) {\n      if (!wordDefinition.global) {\n        let flags = \"g\";\n        if (wordDefinition.ignoreCase) {\n          flags += \"i\";\n        }\n        if (wordDefinition.multiline) {\n          flags += \"m\";\n        }\n        if (wordDefinition.unicode) {\n          flags += \"u\";\n        }\n        result = new RegExp(wordDefinition.source, flags);\n      } else {\n        result = wordDefinition;\n      }\n    }\n    result.lastIndex = 0;\n    return result;\n  }\n  var _defaultConfig = new LinkedList();\n  _defaultConfig.unshift({\n    maxLen: 1e3,\n    windowSize: 15,\n    timeBudget: 150\n  });\n  function getWordAtText(column, wordDefinition, text, textOffset, config) {\n    wordDefinition = ensureValidWordDefinition(wordDefinition);\n    if (!config) {\n      config = Iterable.first(_defaultConfig);\n    }\n    if (text.length > config.maxLen) {\n      let start = column - config.maxLen / 2;\n      if (start < 0) {\n        start = 0;\n      } else {\n        textOffset += start;\n      }\n      text = text.substring(start, column + config.maxLen / 2);\n      return getWordAtText(column, wordDefinition, text, textOffset, config);\n    }\n    const t1 = Date.now();\n    const pos = column - 1 - textOffset;\n    let prevRegexIndex = -1;\n    let match = null;\n    for (let i = 1; ; i++) {\n      if (Date.now() - t1 >= config.timeBudget) {\n        break;\n      }\n      const regexIndex = pos - config.windowSize * i;\n      wordDefinition.lastIndex = Math.max(0, regexIndex);\n      const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex);\n      if (!thisMatch && match) {\n        break;\n      }\n      match = thisMatch;\n      if (regexIndex <= 0) {\n        break;\n      }\n      prevRegexIndex = regexIndex;\n    }\n    if (match) {\n      const result = {\n        word: match[0],\n        startColumn: textOffset + 1 + match.index,\n        endColumn: textOffset + 1 + match.index + match[0].length\n      };\n      wordDefinition.lastIndex = 0;\n      return result;\n    }\n    return null;\n  }\n  function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {\n    let match;\n    while (match = wordDefinition.exec(text)) {\n      const matchIndex = match.index || 0;\n      if (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\n        return match;\n      } else if (stopPos > 0 && matchIndex > stopPos) {\n        return null;\n      }\n    }\n    return null;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js\n  var CharacterClassifier = class _CharacterClassifier {\n    constructor(_defaultValue) {\n      const defaultValue = toUint8(_defaultValue);\n      this._defaultValue = defaultValue;\n      this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue);\n      this._map = /* @__PURE__ */ new Map();\n    }\n    static _createAsciiMap(defaultValue) {\n      const asciiMap = new Uint8Array(256);\n      asciiMap.fill(defaultValue);\n      return asciiMap;\n    }\n    set(charCode, _value) {\n      const value = toUint8(_value);\n      if (charCode >= 0 && charCode < 256) {\n        this._asciiMap[charCode] = value;\n      } else {\n        this._map.set(charCode, value);\n      }\n    }\n    get(charCode) {\n      if (charCode >= 0 && charCode < 256) {\n        return this._asciiMap[charCode];\n      } else {\n        return this._map.get(charCode) || this._defaultValue;\n      }\n    }\n    clear() {\n      this._asciiMap.fill(this._defaultValue);\n      this._map.clear();\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js\n  var Uint8Matrix = class {\n    constructor(rows, cols, defaultValue) {\n      const data = new Uint8Array(rows * cols);\n      for (let i = 0, len = rows * cols; i < len; i++) {\n        data[i] = defaultValue;\n      }\n      this._data = data;\n      this.rows = rows;\n      this.cols = cols;\n    }\n    get(row, col) {\n      return this._data[row * this.cols + col];\n    }\n    set(row, col, value) {\n      this._data[row * this.cols + col] = value;\n    }\n  };\n  var StateMachine = class {\n    constructor(edges) {\n      let maxCharCode = 0;\n      let maxState = 0;\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        if (chCode > maxCharCode) {\n          maxCharCode = chCode;\n        }\n        if (from > maxState) {\n          maxState = from;\n        }\n        if (to > maxState) {\n          maxState = to;\n        }\n      }\n      maxCharCode++;\n      maxState++;\n      const states = new Uint8Matrix(\n        maxState,\n        maxCharCode,\n        0\n        /* State.Invalid */\n      );\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        states.set(from, chCode, to);\n      }\n      this._states = states;\n      this._maxCharCode = maxCharCode;\n    }\n    nextState(currentState, chCode) {\n      if (chCode < 0 || chCode >= this._maxCharCode) {\n        return 0;\n      }\n      return this._states.get(currentState, chCode);\n    }\n  };\n  var _stateMachine = null;\n  function getStateMachine() {\n    if (_stateMachine === null) {\n      _stateMachine = new StateMachine([\n        [\n          1,\n          104,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          72,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          102,\n          6\n          /* State.F */\n        ],\n        [\n          1,\n          70,\n          6\n          /* State.F */\n        ],\n        [\n          2,\n          116,\n          3\n          /* State.HT */\n        ],\n        [\n          2,\n          84,\n          3\n          /* State.HT */\n        ],\n        [\n          3,\n          116,\n          4\n          /* State.HTT */\n        ],\n        [\n          3,\n          84,\n          4\n          /* State.HTT */\n        ],\n        [\n          4,\n          112,\n          5\n          /* State.HTTP */\n        ],\n        [\n          4,\n          80,\n          5\n          /* State.HTTP */\n        ],\n        [\n          5,\n          115,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          83,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          6,\n          105,\n          7\n          /* State.FI */\n        ],\n        [\n          6,\n          73,\n          7\n          /* State.FI */\n        ],\n        [\n          7,\n          108,\n          8\n          /* State.FIL */\n        ],\n        [\n          7,\n          76,\n          8\n          /* State.FIL */\n        ],\n        [\n          8,\n          101,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          8,\n          69,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          9,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          10,\n          47,\n          11\n          /* State.AlmostThere */\n        ],\n        [\n          11,\n          47,\n          12\n          /* State.End */\n        ]\n      ]);\n    }\n    return _stateMachine;\n  }\n  var _classifier = null;\n  function getClassifier() {\n    if (_classifier === null) {\n      _classifier = new CharacterClassifier(\n        0\n        /* CharacterClass.None */\n      );\n      const FORCE_TERMINATION_CHARACTERS = ` \t<>'\"\\u3001\\u3002\\uFF61\\uFF64\\uFF0C\\uFF0E\\uFF1A\\uFF1B\\u2018\\u3008\\u300C\\u300E\\u3014\\uFF08\\uFF3B\\uFF5B\\uFF62\\uFF63\\uFF5D\\uFF3D\\uFF09\\u3015\\u300F\\u300D\\u3009\\u2019\\uFF40\\uFF5E\\u2026`;\n      for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) {\n        _classifier.set(\n          FORCE_TERMINATION_CHARACTERS.charCodeAt(i),\n          1\n          /* CharacterClass.ForceTermination */\n        );\n      }\n      const CANNOT_END_WITH_CHARACTERS = \".,;:\";\n      for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) {\n        _classifier.set(\n          CANNOT_END_WITH_CHARACTERS.charCodeAt(i),\n          2\n          /* CharacterClass.CannotEndIn */\n        );\n      }\n    }\n    return _classifier;\n  }\n  var LinkComputer = class _LinkComputer {\n    static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) {\n      let lastIncludedCharIndex = linkEndIndex - 1;\n      do {\n        const chCode = line.charCodeAt(lastIncludedCharIndex);\n        const chClass = classifier.get(chCode);\n        if (chClass !== 2) {\n          break;\n        }\n        lastIncludedCharIndex--;\n      } while (lastIncludedCharIndex > linkBeginIndex);\n      if (linkBeginIndex > 0) {\n        const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);\n        const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);\n        if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) {\n          lastIncludedCharIndex--;\n        }\n      }\n      return {\n        range: {\n          startLineNumber: lineNumber,\n          startColumn: linkBeginIndex + 1,\n          endLineNumber: lineNumber,\n          endColumn: lastIncludedCharIndex + 2\n        },\n        url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1)\n      };\n    }\n    static computeLinks(model, stateMachine = getStateMachine()) {\n      const classifier = getClassifier();\n      const result = [];\n      for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) {\n        const line = model.getLineContent(i);\n        const len = line.length;\n        let j = 0;\n        let linkBeginIndex = 0;\n        let linkBeginChCode = 0;\n        let state = 1;\n        let hasOpenParens = false;\n        let hasOpenSquareBracket = false;\n        let inSquareBrackets = false;\n        let hasOpenCurlyBracket = false;\n        while (j < len) {\n          let resetStateMachine = false;\n          const chCode = line.charCodeAt(j);\n          if (state === 13) {\n            let chClass;\n            switch (chCode) {\n              case 40:\n                hasOpenParens = true;\n                chClass = 0;\n                break;\n              case 41:\n                chClass = hasOpenParens ? 0 : 1;\n                break;\n              case 91:\n                inSquareBrackets = true;\n                hasOpenSquareBracket = true;\n                chClass = 0;\n                break;\n              case 93:\n                inSquareBrackets = false;\n                chClass = hasOpenSquareBracket ? 0 : 1;\n                break;\n              case 123:\n                hasOpenCurlyBracket = true;\n                chClass = 0;\n                break;\n              case 125:\n                chClass = hasOpenCurlyBracket ? 0 : 1;\n                break;\n              case 39:\n              case 34:\n              case 96:\n                if (linkBeginChCode === chCode) {\n                  chClass = 1;\n                } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) {\n                  chClass = 0;\n                } else {\n                  chClass = 1;\n                }\n                break;\n              case 42:\n                chClass = linkBeginChCode === 42 ? 1 : 0;\n                break;\n              case 124:\n                chClass = linkBeginChCode === 124 ? 1 : 0;\n                break;\n              case 32:\n                chClass = inSquareBrackets ? 0 : 1;\n                break;\n              default:\n                chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j));\n              resetStateMachine = true;\n            }\n          } else if (state === 12) {\n            let chClass;\n            if (chCode === 91) {\n              hasOpenSquareBracket = true;\n              chClass = 0;\n            } else {\n              chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              resetStateMachine = true;\n            } else {\n              state = 13;\n            }\n          } else {\n            state = stateMachine.nextState(state, chCode);\n            if (state === 0) {\n              resetStateMachine = true;\n            }\n          }\n          if (resetStateMachine) {\n            state = 1;\n            hasOpenParens = false;\n            hasOpenSquareBracket = false;\n            hasOpenCurlyBracket = false;\n            linkBeginIndex = j + 1;\n            linkBeginChCode = chCode;\n          }\n          j++;\n        }\n        if (state === 13) {\n          result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len));\n        }\n      }\n      return result;\n    }\n  };\n  function computeLinks(model) {\n    if (!model || typeof model.getLineCount !== \"function\" || typeof model.getLineContent !== \"function\") {\n      return [];\n    }\n    return LinkComputer.computeLinks(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js\n  var BasicInplaceReplace = class {\n    constructor() {\n      this._defaultValueSet = [\n        [\"true\", \"false\"],\n        [\"True\", \"False\"],\n        [\"Private\", \"Public\", \"Friend\", \"ReadOnly\", \"Partial\", \"Protected\", \"WriteOnly\"],\n        [\"public\", \"protected\", \"private\"]\n      ];\n    }\n    navigateValueSet(range1, text1, range2, text2, up) {\n      if (range1 && text1) {\n        const result = this.doNavigateValueSet(text1, up);\n        if (result) {\n          return {\n            range: range1,\n            value: result\n          };\n        }\n      }\n      if (range2 && text2) {\n        const result = this.doNavigateValueSet(text2, up);\n        if (result) {\n          return {\n            range: range2,\n            value: result\n          };\n        }\n      }\n      return null;\n    }\n    doNavigateValueSet(text, up) {\n      const numberResult = this.numberReplace(text, up);\n      if (numberResult !== null) {\n        return numberResult;\n      }\n      return this.textReplace(text, up);\n    }\n    numberReplace(value, up) {\n      const precision = Math.pow(10, value.length - (value.lastIndexOf(\".\") + 1));\n      let n1 = Number(value);\n      const n2 = parseFloat(value);\n      if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\n        if (n1 === 0 && !up) {\n          return null;\n        } else {\n          n1 = Math.floor(n1 * precision);\n          n1 += up ? precision : -precision;\n          return String(n1 / precision);\n        }\n      }\n      return null;\n    }\n    textReplace(value, up) {\n      return this.valueSetsReplace(this._defaultValueSet, value, up);\n    }\n    valueSetsReplace(valueSets, value, up) {\n      let result = null;\n      for (let i = 0, len = valueSets.length; result === null && i < len; i++) {\n        result = this.valueSetReplace(valueSets[i], value, up);\n      }\n      return result;\n    }\n    valueSetReplace(valueSet, value, up) {\n      let idx = valueSet.indexOf(value);\n      if (idx >= 0) {\n        idx += up ? 1 : -1;\n        if (idx < 0) {\n          idx = valueSet.length - 1;\n        } else {\n          idx %= valueSet.length;\n        }\n        return valueSet[idx];\n      }\n      return null;\n    }\n  };\n  BasicInplaceReplace.INSTANCE = new BasicInplaceReplace();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cancellation.js\n  var shortcutEvent = Object.freeze(function(callback, context) {\n    const handle = setTimeout(callback.bind(context), 0);\n    return { dispose() {\n      clearTimeout(handle);\n    } };\n  });\n  var CancellationToken;\n  (function(CancellationToken2) {\n    function isCancellationToken(thing) {\n      if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) {\n        return true;\n      }\n      if (thing instanceof MutableToken) {\n        return true;\n      }\n      if (!thing || typeof thing !== \"object\") {\n        return false;\n      }\n      return typeof thing.isCancellationRequested === \"boolean\" && typeof thing.onCancellationRequested === \"function\";\n    }\n    CancellationToken2.isCancellationToken = isCancellationToken;\n    CancellationToken2.None = Object.freeze({\n      isCancellationRequested: false,\n      onCancellationRequested: Event.None\n    });\n    CancellationToken2.Cancelled = Object.freeze({\n      isCancellationRequested: true,\n      onCancellationRequested: shortcutEvent\n    });\n  })(CancellationToken || (CancellationToken = {}));\n  var MutableToken = class {\n    constructor() {\n      this._isCancelled = false;\n      this._emitter = null;\n    }\n    cancel() {\n      if (!this._isCancelled) {\n        this._isCancelled = true;\n        if (this._emitter) {\n          this._emitter.fire(void 0);\n          this.dispose();\n        }\n      }\n    }\n    get isCancellationRequested() {\n      return this._isCancelled;\n    }\n    get onCancellationRequested() {\n      if (this._isCancelled) {\n        return shortcutEvent;\n      }\n      if (!this._emitter) {\n        this._emitter = new Emitter();\n      }\n      return this._emitter.event;\n    }\n    dispose() {\n      if (this._emitter) {\n        this._emitter.dispose();\n        this._emitter = null;\n      }\n    }\n  };\n  var CancellationTokenSource = class {\n    constructor(parent) {\n      this._token = void 0;\n      this._parentListener = void 0;\n      this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);\n    }\n    get token() {\n      if (!this._token) {\n        this._token = new MutableToken();\n      }\n      return this._token;\n    }\n    cancel() {\n      if (!this._token) {\n        this._token = CancellationToken.Cancelled;\n      } else if (this._token instanceof MutableToken) {\n        this._token.cancel();\n      }\n    }\n    dispose(cancel = false) {\n      var _a5;\n      if (cancel) {\n        this.cancel();\n      }\n      (_a5 = this._parentListener) === null || _a5 === void 0 ? void 0 : _a5.dispose();\n      if (!this._token) {\n        this._token = CancellationToken.None;\n      } else if (this._token instanceof MutableToken) {\n        this._token.dispose();\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/keyCodes.js\n  var KeyCodeStrMap = class {\n    constructor() {\n      this._keyCodeToStr = [];\n      this._strToKeyCode = /* @__PURE__ */ Object.create(null);\n    }\n    define(keyCode, str) {\n      this._keyCodeToStr[keyCode] = str;\n      this._strToKeyCode[str.toLowerCase()] = keyCode;\n    }\n    keyCodeToStr(keyCode) {\n      return this._keyCodeToStr[keyCode];\n    }\n    strToKeyCode(str) {\n      return this._strToKeyCode[str.toLowerCase()] || 0;\n    }\n  };\n  var uiMap = new KeyCodeStrMap();\n  var userSettingsUSMap = new KeyCodeStrMap();\n  var userSettingsGeneralMap = new KeyCodeStrMap();\n  var EVENT_KEY_CODE_MAP = new Array(230);\n  var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {};\n  var scanCodeIntToStr = [];\n  var scanCodeStrToInt = /* @__PURE__ */ Object.create(null);\n  var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null);\n  var IMMUTABLE_CODE_TO_KEY_CODE = [];\n  var IMMUTABLE_KEY_CODE_TO_CODE = [];\n  for (let i = 0; i <= 193; i++) {\n    IMMUTABLE_CODE_TO_KEY_CODE[i] = -1;\n  }\n  for (let i = 0; i <= 132; i++) {\n    IMMUTABLE_KEY_CODE_TO_CODE[i] = -1;\n  }\n  (function() {\n    const empty = \"\";\n    const mappings = [\n      // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel\n      [1, 0, \"None\", 0, \"unknown\", 0, \"VK_UNKNOWN\", empty, empty],\n      [1, 1, \"Hyper\", 0, empty, 0, empty, empty, empty],\n      [1, 2, \"Super\", 0, empty, 0, empty, empty, empty],\n      [1, 3, \"Fn\", 0, empty, 0, empty, empty, empty],\n      [1, 4, \"FnLock\", 0, empty, 0, empty, empty, empty],\n      [1, 5, \"Suspend\", 0, empty, 0, empty, empty, empty],\n      [1, 6, \"Resume\", 0, empty, 0, empty, empty, empty],\n      [1, 7, \"Turbo\", 0, empty, 0, empty, empty, empty],\n      [1, 8, \"Sleep\", 0, empty, 0, \"VK_SLEEP\", empty, empty],\n      [1, 9, \"WakeUp\", 0, empty, 0, empty, empty, empty],\n      [0, 10, \"KeyA\", 31, \"A\", 65, \"VK_A\", empty, empty],\n      [0, 11, \"KeyB\", 32, \"B\", 66, \"VK_B\", empty, empty],\n      [0, 12, \"KeyC\", 33, \"C\", 67, \"VK_C\", empty, empty],\n      [0, 13, \"KeyD\", 34, \"D\", 68, \"VK_D\", empty, empty],\n      [0, 14, \"KeyE\", 35, \"E\", 69, \"VK_E\", empty, empty],\n      [0, 15, \"KeyF\", 36, \"F\", 70, \"VK_F\", empty, empty],\n      [0, 16, \"KeyG\", 37, \"G\", 71, \"VK_G\", empty, empty],\n      [0, 17, \"KeyH\", 38, \"H\", 72, \"VK_H\", empty, empty],\n      [0, 18, \"KeyI\", 39, \"I\", 73, \"VK_I\", empty, empty],\n      [0, 19, \"KeyJ\", 40, \"J\", 74, \"VK_J\", empty, empty],\n      [0, 20, \"KeyK\", 41, \"K\", 75, \"VK_K\", empty, empty],\n      [0, 21, \"KeyL\", 42, \"L\", 76, \"VK_L\", empty, empty],\n      [0, 22, \"KeyM\", 43, \"M\", 77, \"VK_M\", empty, empty],\n      [0, 23, \"KeyN\", 44, \"N\", 78, \"VK_N\", empty, empty],\n      [0, 24, \"KeyO\", 45, \"O\", 79, \"VK_O\", empty, empty],\n      [0, 25, \"KeyP\", 46, \"P\", 80, \"VK_P\", empty, empty],\n      [0, 26, \"KeyQ\", 47, \"Q\", 81, \"VK_Q\", empty, empty],\n      [0, 27, \"KeyR\", 48, \"R\", 82, \"VK_R\", empty, empty],\n      [0, 28, \"KeyS\", 49, \"S\", 83, \"VK_S\", empty, empty],\n      [0, 29, \"KeyT\", 50, \"T\", 84, \"VK_T\", empty, empty],\n      [0, 30, \"KeyU\", 51, \"U\", 85, \"VK_U\", empty, empty],\n      [0, 31, \"KeyV\", 52, \"V\", 86, \"VK_V\", empty, empty],\n      [0, 32, \"KeyW\", 53, \"W\", 87, \"VK_W\", empty, empty],\n      [0, 33, \"KeyX\", 54, \"X\", 88, \"VK_X\", empty, empty],\n      [0, 34, \"KeyY\", 55, \"Y\", 89, \"VK_Y\", empty, empty],\n      [0, 35, \"KeyZ\", 56, \"Z\", 90, \"VK_Z\", empty, empty],\n      [0, 36, \"Digit1\", 22, \"1\", 49, \"VK_1\", empty, empty],\n      [0, 37, \"Digit2\", 23, \"2\", 50, \"VK_2\", empty, empty],\n      [0, 38, \"Digit3\", 24, \"3\", 51, \"VK_3\", empty, empty],\n      [0, 39, \"Digit4\", 25, \"4\", 52, \"VK_4\", empty, empty],\n      [0, 40, \"Digit5\", 26, \"5\", 53, \"VK_5\", empty, empty],\n      [0, 41, \"Digit6\", 27, \"6\", 54, \"VK_6\", empty, empty],\n      [0, 42, \"Digit7\", 28, \"7\", 55, \"VK_7\", empty, empty],\n      [0, 43, \"Digit8\", 29, \"8\", 56, \"VK_8\", empty, empty],\n      [0, 44, \"Digit9\", 30, \"9\", 57, \"VK_9\", empty, empty],\n      [0, 45, \"Digit0\", 21, \"0\", 48, \"VK_0\", empty, empty],\n      [1, 46, \"Enter\", 3, \"Enter\", 13, \"VK_RETURN\", empty, empty],\n      [1, 47, \"Escape\", 9, \"Escape\", 27, \"VK_ESCAPE\", empty, empty],\n      [1, 48, \"Backspace\", 1, \"Backspace\", 8, \"VK_BACK\", empty, empty],\n      [1, 49, \"Tab\", 2, \"Tab\", 9, \"VK_TAB\", empty, empty],\n      [1, 50, \"Space\", 10, \"Space\", 32, \"VK_SPACE\", empty, empty],\n      [0, 51, \"Minus\", 88, \"-\", 189, \"VK_OEM_MINUS\", \"-\", \"OEM_MINUS\"],\n      [0, 52, \"Equal\", 86, \"=\", 187, \"VK_OEM_PLUS\", \"=\", \"OEM_PLUS\"],\n      [0, 53, \"BracketLeft\", 92, \"[\", 219, \"VK_OEM_4\", \"[\", \"OEM_4\"],\n      [0, 54, \"BracketRight\", 94, \"]\", 221, \"VK_OEM_6\", \"]\", \"OEM_6\"],\n      [0, 55, \"Backslash\", 93, \"\\\\\", 220, \"VK_OEM_5\", \"\\\\\", \"OEM_5\"],\n      [0, 56, \"IntlHash\", 0, empty, 0, empty, empty, empty],\n      // has been dropped from the w3c spec\n      [0, 57, \"Semicolon\", 85, \";\", 186, \"VK_OEM_1\", \";\", \"OEM_1\"],\n      [0, 58, \"Quote\", 95, \"'\", 222, \"VK_OEM_7\", \"'\", \"OEM_7\"],\n      [0, 59, \"Backquote\", 91, \"`\", 192, \"VK_OEM_3\", \"`\", \"OEM_3\"],\n      [0, 60, \"Comma\", 87, \",\", 188, \"VK_OEM_COMMA\", \",\", \"OEM_COMMA\"],\n      [0, 61, \"Period\", 89, \".\", 190, \"VK_OEM_PERIOD\", \".\", \"OEM_PERIOD\"],\n      [0, 62, \"Slash\", 90, \"/\", 191, \"VK_OEM_2\", \"/\", \"OEM_2\"],\n      [1, 63, \"CapsLock\", 8, \"CapsLock\", 20, \"VK_CAPITAL\", empty, empty],\n      [1, 64, \"F1\", 59, \"F1\", 112, \"VK_F1\", empty, empty],\n      [1, 65, \"F2\", 60, \"F2\", 113, \"VK_F2\", empty, empty],\n      [1, 66, \"F3\", 61, \"F3\", 114, \"VK_F3\", empty, empty],\n      [1, 67, \"F4\", 62, \"F4\", 115, \"VK_F4\", empty, empty],\n      [1, 68, \"F5\", 63, \"F5\", 116, \"VK_F5\", empty, empty],\n      [1, 69, \"F6\", 64, \"F6\", 117, \"VK_F6\", empty, empty],\n      [1, 70, \"F7\", 65, \"F7\", 118, \"VK_F7\", empty, empty],\n      [1, 71, \"F8\", 66, \"F8\", 119, \"VK_F8\", empty, empty],\n      [1, 72, \"F9\", 67, \"F9\", 120, \"VK_F9\", empty, empty],\n      [1, 73, \"F10\", 68, \"F10\", 121, \"VK_F10\", empty, empty],\n      [1, 74, \"F11\", 69, \"F11\", 122, \"VK_F11\", empty, empty],\n      [1, 75, \"F12\", 70, \"F12\", 123, \"VK_F12\", empty, empty],\n      [1, 76, \"PrintScreen\", 0, empty, 0, empty, empty, empty],\n      [1, 77, \"ScrollLock\", 84, \"ScrollLock\", 145, \"VK_SCROLL\", empty, empty],\n      [1, 78, \"Pause\", 7, \"PauseBreak\", 19, \"VK_PAUSE\", empty, empty],\n      [1, 79, \"Insert\", 19, \"Insert\", 45, \"VK_INSERT\", empty, empty],\n      [1, 80, \"Home\", 14, \"Home\", 36, \"VK_HOME\", empty, empty],\n      [1, 81, \"PageUp\", 11, \"PageUp\", 33, \"VK_PRIOR\", empty, empty],\n      [1, 82, \"Delete\", 20, \"Delete\", 46, \"VK_DELETE\", empty, empty],\n      [1, 83, \"End\", 13, \"End\", 35, \"VK_END\", empty, empty],\n      [1, 84, \"PageDown\", 12, \"PageDown\", 34, \"VK_NEXT\", empty, empty],\n      [1, 85, \"ArrowRight\", 17, \"RightArrow\", 39, \"VK_RIGHT\", \"Right\", empty],\n      [1, 86, \"ArrowLeft\", 15, \"LeftArrow\", 37, \"VK_LEFT\", \"Left\", empty],\n      [1, 87, \"ArrowDown\", 18, \"DownArrow\", 40, \"VK_DOWN\", \"Down\", empty],\n      [1, 88, \"ArrowUp\", 16, \"UpArrow\", 38, \"VK_UP\", \"Up\", empty],\n      [1, 89, \"NumLock\", 83, \"NumLock\", 144, \"VK_NUMLOCK\", empty, empty],\n      [1, 90, \"NumpadDivide\", 113, \"NumPad_Divide\", 111, \"VK_DIVIDE\", empty, empty],\n      [1, 91, \"NumpadMultiply\", 108, \"NumPad_Multiply\", 106, \"VK_MULTIPLY\", empty, empty],\n      [1, 92, \"NumpadSubtract\", 111, \"NumPad_Subtract\", 109, \"VK_SUBTRACT\", empty, empty],\n      [1, 93, \"NumpadAdd\", 109, \"NumPad_Add\", 107, \"VK_ADD\", empty, empty],\n      [1, 94, \"NumpadEnter\", 3, empty, 0, empty, empty, empty],\n      [1, 95, \"Numpad1\", 99, \"NumPad1\", 97, \"VK_NUMPAD1\", empty, empty],\n      [1, 96, \"Numpad2\", 100, \"NumPad2\", 98, \"VK_NUMPAD2\", empty, empty],\n      [1, 97, \"Numpad3\", 101, \"NumPad3\", 99, \"VK_NUMPAD3\", empty, empty],\n      [1, 98, \"Numpad4\", 102, \"NumPad4\", 100, \"VK_NUMPAD4\", empty, empty],\n      [1, 99, \"Numpad5\", 103, \"NumPad5\", 101, \"VK_NUMPAD5\", empty, empty],\n      [1, 100, \"Numpad6\", 104, \"NumPad6\", 102, \"VK_NUMPAD6\", empty, empty],\n      [1, 101, \"Numpad7\", 105, \"NumPad7\", 103, \"VK_NUMPAD7\", empty, empty],\n      [1, 102, \"Numpad8\", 106, \"NumPad8\", 104, \"VK_NUMPAD8\", empty, empty],\n      [1, 103, \"Numpad9\", 107, \"NumPad9\", 105, \"VK_NUMPAD9\", empty, empty],\n      [1, 104, \"Numpad0\", 98, \"NumPad0\", 96, \"VK_NUMPAD0\", empty, empty],\n      [1, 105, \"NumpadDecimal\", 112, \"NumPad_Decimal\", 110, \"VK_DECIMAL\", empty, empty],\n      [0, 106, \"IntlBackslash\", 97, \"OEM_102\", 226, \"VK_OEM_102\", empty, empty],\n      [1, 107, \"ContextMenu\", 58, \"ContextMenu\", 93, empty, empty, empty],\n      [1, 108, \"Power\", 0, empty, 0, empty, empty, empty],\n      [1, 109, \"NumpadEqual\", 0, empty, 0, empty, empty, empty],\n      [1, 110, \"F13\", 71, \"F13\", 124, \"VK_F13\", empty, empty],\n      [1, 111, \"F14\", 72, \"F14\", 125, \"VK_F14\", empty, empty],\n      [1, 112, \"F15\", 73, \"F15\", 126, \"VK_F15\", empty, empty],\n      [1, 113, \"F16\", 74, \"F16\", 127, \"VK_F16\", empty, empty],\n      [1, 114, \"F17\", 75, \"F17\", 128, \"VK_F17\", empty, empty],\n      [1, 115, \"F18\", 76, \"F18\", 129, \"VK_F18\", empty, empty],\n      [1, 116, \"F19\", 77, \"F19\", 130, \"VK_F19\", empty, empty],\n      [1, 117, \"F20\", 78, \"F20\", 131, \"VK_F20\", empty, empty],\n      [1, 118, \"F21\", 79, \"F21\", 132, \"VK_F21\", empty, empty],\n      [1, 119, \"F22\", 80, \"F22\", 133, \"VK_F22\", empty, empty],\n      [1, 120, \"F23\", 81, \"F23\", 134, \"VK_F23\", empty, empty],\n      [1, 121, \"F24\", 82, \"F24\", 135, \"VK_F24\", empty, empty],\n      [1, 122, \"Open\", 0, empty, 0, empty, empty, empty],\n      [1, 123, \"Help\", 0, empty, 0, empty, empty, empty],\n      [1, 124, \"Select\", 0, empty, 0, empty, empty, empty],\n      [1, 125, \"Again\", 0, empty, 0, empty, empty, empty],\n      [1, 126, \"Undo\", 0, empty, 0, empty, empty, empty],\n      [1, 127, \"Cut\", 0, empty, 0, empty, empty, empty],\n      [1, 128, \"Copy\", 0, empty, 0, empty, empty, empty],\n      [1, 129, \"Paste\", 0, empty, 0, empty, empty, empty],\n      [1, 130, \"Find\", 0, empty, 0, empty, empty, empty],\n      [1, 131, \"AudioVolumeMute\", 117, \"AudioVolumeMute\", 173, \"VK_VOLUME_MUTE\", empty, empty],\n      [1, 132, \"AudioVolumeUp\", 118, \"AudioVolumeUp\", 175, \"VK_VOLUME_UP\", empty, empty],\n      [1, 133, \"AudioVolumeDown\", 119, \"AudioVolumeDown\", 174, \"VK_VOLUME_DOWN\", empty, empty],\n      [1, 134, \"NumpadComma\", 110, \"NumPad_Separator\", 108, \"VK_SEPARATOR\", empty, empty],\n      [0, 135, \"IntlRo\", 115, \"ABNT_C1\", 193, \"VK_ABNT_C1\", empty, empty],\n      [1, 136, \"KanaMode\", 0, empty, 0, empty, empty, empty],\n      [0, 137, \"IntlYen\", 0, empty, 0, empty, empty, empty],\n      [1, 138, \"Convert\", 0, empty, 0, empty, empty, empty],\n      [1, 139, \"NonConvert\", 0, empty, 0, empty, empty, empty],\n      [1, 140, \"Lang1\", 0, empty, 0, empty, empty, empty],\n      [1, 141, \"Lang2\", 0, empty, 0, empty, empty, empty],\n      [1, 142, \"Lang3\", 0, empty, 0, empty, empty, empty],\n      [1, 143, \"Lang4\", 0, empty, 0, empty, empty, empty],\n      [1, 144, \"Lang5\", 0, empty, 0, empty, empty, empty],\n      [1, 145, \"Abort\", 0, empty, 0, empty, empty, empty],\n      [1, 146, \"Props\", 0, empty, 0, empty, empty, empty],\n      [1, 147, \"NumpadParenLeft\", 0, empty, 0, empty, empty, empty],\n      [1, 148, \"NumpadParenRight\", 0, empty, 0, empty, empty, empty],\n      [1, 149, \"NumpadBackspace\", 0, empty, 0, empty, empty, empty],\n      [1, 150, \"NumpadMemoryStore\", 0, empty, 0, empty, empty, empty],\n      [1, 151, \"NumpadMemoryRecall\", 0, empty, 0, empty, empty, empty],\n      [1, 152, \"NumpadMemoryClear\", 0, empty, 0, empty, empty, empty],\n      [1, 153, \"NumpadMemoryAdd\", 0, empty, 0, empty, empty, empty],\n      [1, 154, \"NumpadMemorySubtract\", 0, empty, 0, empty, empty, empty],\n      [1, 155, \"NumpadClear\", 131, \"Clear\", 12, \"VK_CLEAR\", empty, empty],\n      [1, 156, \"NumpadClearEntry\", 0, empty, 0, empty, empty, empty],\n      [1, 0, empty, 5, \"Ctrl\", 17, \"VK_CONTROL\", empty, empty],\n      [1, 0, empty, 4, \"Shift\", 16, \"VK_SHIFT\", empty, empty],\n      [1, 0, empty, 6, \"Alt\", 18, \"VK_MENU\", empty, empty],\n      [1, 0, empty, 57, \"Meta\", 91, \"VK_COMMAND\", empty, empty],\n      [1, 157, \"ControlLeft\", 5, empty, 0, \"VK_LCONTROL\", empty, empty],\n      [1, 158, \"ShiftLeft\", 4, empty, 0, \"VK_LSHIFT\", empty, empty],\n      [1, 159, \"AltLeft\", 6, empty, 0, \"VK_LMENU\", empty, empty],\n      [1, 160, \"MetaLeft\", 57, empty, 0, \"VK_LWIN\", empty, empty],\n      [1, 161, \"ControlRight\", 5, empty, 0, \"VK_RCONTROL\", empty, empty],\n      [1, 162, \"ShiftRight\", 4, empty, 0, \"VK_RSHIFT\", empty, empty],\n      [1, 163, \"AltRight\", 6, empty, 0, \"VK_RMENU\", empty, empty],\n      [1, 164, \"MetaRight\", 57, empty, 0, \"VK_RWIN\", empty, empty],\n      [1, 165, \"BrightnessUp\", 0, empty, 0, empty, empty, empty],\n      [1, 166, \"BrightnessDown\", 0, empty, 0, empty, empty, empty],\n      [1, 167, \"MediaPlay\", 0, empty, 0, empty, empty, empty],\n      [1, 168, \"MediaRecord\", 0, empty, 0, empty, empty, empty],\n      [1, 169, \"MediaFastForward\", 0, empty, 0, empty, empty, empty],\n      [1, 170, \"MediaRewind\", 0, empty, 0, empty, empty, empty],\n      [1, 171, \"MediaTrackNext\", 124, \"MediaTrackNext\", 176, \"VK_MEDIA_NEXT_TRACK\", empty, empty],\n      [1, 172, \"MediaTrackPrevious\", 125, \"MediaTrackPrevious\", 177, \"VK_MEDIA_PREV_TRACK\", empty, empty],\n      [1, 173, \"MediaStop\", 126, \"MediaStop\", 178, \"VK_MEDIA_STOP\", empty, empty],\n      [1, 174, \"Eject\", 0, empty, 0, empty, empty, empty],\n      [1, 175, \"MediaPlayPause\", 127, \"MediaPlayPause\", 179, \"VK_MEDIA_PLAY_PAUSE\", empty, empty],\n      [1, 176, \"MediaSelect\", 128, \"LaunchMediaPlayer\", 181, \"VK_MEDIA_LAUNCH_MEDIA_SELECT\", empty, empty],\n      [1, 177, \"LaunchMail\", 129, \"LaunchMail\", 180, \"VK_MEDIA_LAUNCH_MAIL\", empty, empty],\n      [1, 178, \"LaunchApp2\", 130, \"LaunchApp2\", 183, \"VK_MEDIA_LAUNCH_APP2\", empty, empty],\n      [1, 179, \"LaunchApp1\", 0, empty, 0, \"VK_MEDIA_LAUNCH_APP1\", empty, empty],\n      [1, 180, \"SelectTask\", 0, empty, 0, empty, empty, empty],\n      [1, 181, \"LaunchScreenSaver\", 0, empty, 0, empty, empty, empty],\n      [1, 182, \"BrowserSearch\", 120, \"BrowserSearch\", 170, \"VK_BROWSER_SEARCH\", empty, empty],\n      [1, 183, \"BrowserHome\", 121, \"BrowserHome\", 172, \"VK_BROWSER_HOME\", empty, empty],\n      [1, 184, \"BrowserBack\", 122, \"BrowserBack\", 166, \"VK_BROWSER_BACK\", empty, empty],\n      [1, 185, \"BrowserForward\", 123, \"BrowserForward\", 167, \"VK_BROWSER_FORWARD\", empty, empty],\n      [1, 186, \"BrowserStop\", 0, empty, 0, \"VK_BROWSER_STOP\", empty, empty],\n      [1, 187, \"BrowserRefresh\", 0, empty, 0, \"VK_BROWSER_REFRESH\", empty, empty],\n      [1, 188, \"BrowserFavorites\", 0, empty, 0, \"VK_BROWSER_FAVORITES\", empty, empty],\n      [1, 189, \"ZoomToggle\", 0, empty, 0, empty, empty, empty],\n      [1, 190, \"MailReply\", 0, empty, 0, empty, empty, empty],\n      [1, 191, \"MailForward\", 0, empty, 0, empty, empty, empty],\n      [1, 192, \"MailSend\", 0, empty, 0, empty, empty, empty],\n      // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html\n      // If an Input Method Editor is processing key input and the event is keydown, return 229.\n      [1, 0, empty, 114, \"KeyInComposition\", 229, empty, empty, empty],\n      [1, 0, empty, 116, \"ABNT_C2\", 194, \"VK_ABNT_C2\", empty, empty],\n      [1, 0, empty, 96, \"OEM_8\", 223, \"VK_OEM_8\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANGUL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_JUNJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_FINAL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANJI\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONCONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ACCEPT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_MODECHANGE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SELECT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PRINT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXECUTE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SNAPSHOT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HELP\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_APPS\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PROCESSKEY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PACKET\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_SBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_DBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ATTN\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CRSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EREOF\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PLAY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ZOOM\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONAME\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PA1\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_OEM_CLEAR\", empty, empty]\n    ];\n    const seenKeyCode = [];\n    const seenScanCode = [];\n    for (const mapping of mappings) {\n      const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;\n      if (!seenScanCode[scanCode]) {\n        seenScanCode[scanCode] = true;\n        scanCodeIntToStr[scanCode] = scanCodeStr;\n        scanCodeStrToInt[scanCodeStr] = scanCode;\n        scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode;\n        if (immutable) {\n          IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode;\n          if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) {\n            IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode;\n          }\n        }\n      }\n      if (!seenKeyCode[keyCode]) {\n        seenKeyCode[keyCode] = true;\n        if (!keyCodeStr) {\n          throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`);\n        }\n        uiMap.define(keyCode, keyCodeStr);\n        userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr);\n        userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr);\n      }\n      if (eventKeyCode) {\n        EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode;\n      }\n      if (vkey) {\n        NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode;\n      }\n    }\n    IMMUTABLE_KEY_CODE_TO_CODE[\n      3\n      /* KeyCode.Enter */\n    ] = 46;\n  })();\n  var KeyCodeUtils;\n  (function(KeyCodeUtils2) {\n    function toString(keyCode) {\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toString = toString;\n    function fromString(key) {\n      return uiMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromString = fromString;\n    function toUserSettingsUS(keyCode) {\n      return userSettingsUSMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS;\n    function toUserSettingsGeneral(keyCode) {\n      return userSettingsGeneralMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral;\n    function fromUserSettings(key) {\n      return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromUserSettings = fromUserSettings;\n    function toElectronAccelerator(keyCode) {\n      if (keyCode >= 98 && keyCode <= 113) {\n        return null;\n      }\n      switch (keyCode) {\n        case 16:\n          return \"Up\";\n        case 18:\n          return \"Down\";\n        case 15:\n          return \"Left\";\n        case 17:\n          return \"Right\";\n      }\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator;\n  })(KeyCodeUtils || (KeyCodeUtils = {}));\n  function KeyChord(firstPart, secondPart) {\n    const chordPart = (secondPart & 65535) << 16 >>> 0;\n    return (firstPart | chordPart) >>> 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/selection.js\n  var Selection = class _Selection extends Range {\n    constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {\n      super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);\n      this.selectionStartLineNumber = selectionStartLineNumber;\n      this.selectionStartColumn = selectionStartColumn;\n      this.positionLineNumber = positionLineNumber;\n      this.positionColumn = positionColumn;\n    }\n    /**\n     * Transform to a human-readable representation.\n     */\n    toString() {\n      return \"[\" + this.selectionStartLineNumber + \",\" + this.selectionStartColumn + \" -> \" + this.positionLineNumber + \",\" + this.positionColumn + \"]\";\n    }\n    /**\n     * Test if equals other selection.\n     */\n    equalsSelection(other) {\n      return _Selection.selectionsEqual(this, other);\n    }\n    /**\n     * Test if the two selections are equal.\n     */\n    static selectionsEqual(a2, b) {\n      return a2.selectionStartLineNumber === b.selectionStartLineNumber && a2.selectionStartColumn === b.selectionStartColumn && a2.positionLineNumber === b.positionLineNumber && a2.positionColumn === b.positionColumn;\n    }\n    /**\n     * Get directions (LTR or RTL).\n     */\n    getDirection() {\n      if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {\n        return 0;\n      }\n      return 1;\n    }\n    /**\n     * Create a new selection with a different `positionLineNumber` and `positionColumn`.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);\n    }\n    /**\n     * Get the position at `positionLineNumber` and `positionColumn`.\n     */\n    getPosition() {\n      return new Position(this.positionLineNumber, this.positionColumn);\n    }\n    /**\n     * Get the position at the start of the selection.\n    */\n    getSelectionStart() {\n      return new Position(this.selectionStartLineNumber, this.selectionStartColumn);\n    }\n    /**\n     * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n      }\n      return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);\n    }\n    // ----\n    /**\n     * Create a `Selection` from one or two positions\n     */\n    static fromPositions(start, end = start) {\n      return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    /**\n     * Creates a `Selection` from a range, given a direction.\n     */\n    static fromRange(range, direction) {\n      if (direction === 0) {\n        return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n      } else {\n        return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn);\n      }\n    }\n    /**\n     * Create a `Selection` from an `ISelection`.\n     */\n    static liftSelection(sel) {\n      return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);\n    }\n    /**\n     * `a` equals `b`.\n     */\n    static selectionsArrEqual(a2, b) {\n      if (a2 && !b || !a2 && b) {\n        return false;\n      }\n      if (!a2 && !b) {\n        return true;\n      }\n      if (a2.length !== b.length) {\n        return false;\n      }\n      for (let i = 0, len = a2.length; i < len; i++) {\n        if (!this.selectionsEqual(a2[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    /**\n     * Test if `obj` is an `ISelection`.\n     */\n    static isISelection(obj) {\n      return obj && typeof obj.selectionStartLineNumber === \"number\" && typeof obj.selectionStartColumn === \"number\" && typeof obj.positionLineNumber === \"number\" && typeof obj.positionColumn === \"number\";\n    }\n    /**\n     * Create with a direction.\n     */\n    static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {\n      if (direction === 0) {\n        return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js\n  var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);\n  function register(id, fontCharacter) {\n    if (isString(fontCharacter)) {\n      const val = _codiconFontCharacters[fontCharacter];\n      if (val === void 0) {\n        throw new Error(`${id} references an unknown codicon: ${fontCharacter}`);\n      }\n      fontCharacter = val;\n    }\n    _codiconFontCharacters[id] = fontCharacter;\n    return { id };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js\n  var codiconsLibrary = {\n    add: register(\"add\", 6e4),\n    plus: register(\"plus\", 6e4),\n    gistNew: register(\"gist-new\", 6e4),\n    repoCreate: register(\"repo-create\", 6e4),\n    lightbulb: register(\"lightbulb\", 60001),\n    lightBulb: register(\"light-bulb\", 60001),\n    repo: register(\"repo\", 60002),\n    repoDelete: register(\"repo-delete\", 60002),\n    gistFork: register(\"gist-fork\", 60003),\n    repoForked: register(\"repo-forked\", 60003),\n    gitPullRequest: register(\"git-pull-request\", 60004),\n    gitPullRequestAbandoned: register(\"git-pull-request-abandoned\", 60004),\n    recordKeys: register(\"record-keys\", 60005),\n    keyboard: register(\"keyboard\", 60005),\n    tag: register(\"tag\", 60006),\n    gitPullRequestLabel: register(\"git-pull-request-label\", 60006),\n    tagAdd: register(\"tag-add\", 60006),\n    tagRemove: register(\"tag-remove\", 60006),\n    person: register(\"person\", 60007),\n    personFollow: register(\"person-follow\", 60007),\n    personOutline: register(\"person-outline\", 60007),\n    personFilled: register(\"person-filled\", 60007),\n    gitBranch: register(\"git-branch\", 60008),\n    gitBranchCreate: register(\"git-branch-create\", 60008),\n    gitBranchDelete: register(\"git-branch-delete\", 60008),\n    sourceControl: register(\"source-control\", 60008),\n    mirror: register(\"mirror\", 60009),\n    mirrorPublic: register(\"mirror-public\", 60009),\n    star: register(\"star\", 60010),\n    starAdd: register(\"star-add\", 60010),\n    starDelete: register(\"star-delete\", 60010),\n    starEmpty: register(\"star-empty\", 60010),\n    comment: register(\"comment\", 60011),\n    commentAdd: register(\"comment-add\", 60011),\n    alert: register(\"alert\", 60012),\n    warning: register(\"warning\", 60012),\n    search: register(\"search\", 60013),\n    searchSave: register(\"search-save\", 60013),\n    logOut: register(\"log-out\", 60014),\n    signOut: register(\"sign-out\", 60014),\n    logIn: register(\"log-in\", 60015),\n    signIn: register(\"sign-in\", 60015),\n    eye: register(\"eye\", 60016),\n    eyeUnwatch: register(\"eye-unwatch\", 60016),\n    eyeWatch: register(\"eye-watch\", 60016),\n    circleFilled: register(\"circle-filled\", 60017),\n    primitiveDot: register(\"primitive-dot\", 60017),\n    closeDirty: register(\"close-dirty\", 60017),\n    debugBreakpoint: register(\"debug-breakpoint\", 60017),\n    debugBreakpointDisabled: register(\"debug-breakpoint-disabled\", 60017),\n    debugHint: register(\"debug-hint\", 60017),\n    terminalDecorationSuccess: register(\"terminal-decoration-success\", 60017),\n    primitiveSquare: register(\"primitive-square\", 60018),\n    edit: register(\"edit\", 60019),\n    pencil: register(\"pencil\", 60019),\n    info: register(\"info\", 60020),\n    issueOpened: register(\"issue-opened\", 60020),\n    gistPrivate: register(\"gist-private\", 60021),\n    gitForkPrivate: register(\"git-fork-private\", 60021),\n    lock: register(\"lock\", 60021),\n    mirrorPrivate: register(\"mirror-private\", 60021),\n    close: register(\"close\", 60022),\n    removeClose: register(\"remove-close\", 60022),\n    x: register(\"x\", 60022),\n    repoSync: register(\"repo-sync\", 60023),\n    sync: register(\"sync\", 60023),\n    clone: register(\"clone\", 60024),\n    desktopDownload: register(\"desktop-download\", 60024),\n    beaker: register(\"beaker\", 60025),\n    microscope: register(\"microscope\", 60025),\n    vm: register(\"vm\", 60026),\n    deviceDesktop: register(\"device-desktop\", 60026),\n    file: register(\"file\", 60027),\n    fileText: register(\"file-text\", 60027),\n    more: register(\"more\", 60028),\n    ellipsis: register(\"ellipsis\", 60028),\n    kebabHorizontal: register(\"kebab-horizontal\", 60028),\n    mailReply: register(\"mail-reply\", 60029),\n    reply: register(\"reply\", 60029),\n    organization: register(\"organization\", 60030),\n    organizationFilled: register(\"organization-filled\", 60030),\n    organizationOutline: register(\"organization-outline\", 60030),\n    newFile: register(\"new-file\", 60031),\n    fileAdd: register(\"file-add\", 60031),\n    newFolder: register(\"new-folder\", 60032),\n    fileDirectoryCreate: register(\"file-directory-create\", 60032),\n    trash: register(\"trash\", 60033),\n    trashcan: register(\"trashcan\", 60033),\n    history: register(\"history\", 60034),\n    clock: register(\"clock\", 60034),\n    folder: register(\"folder\", 60035),\n    fileDirectory: register(\"file-directory\", 60035),\n    symbolFolder: register(\"symbol-folder\", 60035),\n    logoGithub: register(\"logo-github\", 60036),\n    markGithub: register(\"mark-github\", 60036),\n    github: register(\"github\", 60036),\n    terminal: register(\"terminal\", 60037),\n    console: register(\"console\", 60037),\n    repl: register(\"repl\", 60037),\n    zap: register(\"zap\", 60038),\n    symbolEvent: register(\"symbol-event\", 60038),\n    error: register(\"error\", 60039),\n    stop: register(\"stop\", 60039),\n    variable: register(\"variable\", 60040),\n    symbolVariable: register(\"symbol-variable\", 60040),\n    array: register(\"array\", 60042),\n    symbolArray: register(\"symbol-array\", 60042),\n    symbolModule: register(\"symbol-module\", 60043),\n    symbolPackage: register(\"symbol-package\", 60043),\n    symbolNamespace: register(\"symbol-namespace\", 60043),\n    symbolObject: register(\"symbol-object\", 60043),\n    symbolMethod: register(\"symbol-method\", 60044),\n    symbolFunction: register(\"symbol-function\", 60044),\n    symbolConstructor: register(\"symbol-constructor\", 60044),\n    symbolBoolean: register(\"symbol-boolean\", 60047),\n    symbolNull: register(\"symbol-null\", 60047),\n    symbolNumeric: register(\"symbol-numeric\", 60048),\n    symbolNumber: register(\"symbol-number\", 60048),\n    symbolStructure: register(\"symbol-structure\", 60049),\n    symbolStruct: register(\"symbol-struct\", 60049),\n    symbolParameter: register(\"symbol-parameter\", 60050),\n    symbolTypeParameter: register(\"symbol-type-parameter\", 60050),\n    symbolKey: register(\"symbol-key\", 60051),\n    symbolText: register(\"symbol-text\", 60051),\n    symbolReference: register(\"symbol-reference\", 60052),\n    goToFile: register(\"go-to-file\", 60052),\n    symbolEnum: register(\"symbol-enum\", 60053),\n    symbolValue: register(\"symbol-value\", 60053),\n    symbolRuler: register(\"symbol-ruler\", 60054),\n    symbolUnit: register(\"symbol-unit\", 60054),\n    activateBreakpoints: register(\"activate-breakpoints\", 60055),\n    archive: register(\"archive\", 60056),\n    arrowBoth: register(\"arrow-both\", 60057),\n    arrowDown: register(\"arrow-down\", 60058),\n    arrowLeft: register(\"arrow-left\", 60059),\n    arrowRight: register(\"arrow-right\", 60060),\n    arrowSmallDown: register(\"arrow-small-down\", 60061),\n    arrowSmallLeft: register(\"arrow-small-left\", 60062),\n    arrowSmallRight: register(\"arrow-small-right\", 60063),\n    arrowSmallUp: register(\"arrow-small-up\", 60064),\n    arrowUp: register(\"arrow-up\", 60065),\n    bell: register(\"bell\", 60066),\n    bold: register(\"bold\", 60067),\n    book: register(\"book\", 60068),\n    bookmark: register(\"bookmark\", 60069),\n    debugBreakpointConditionalUnverified: register(\"debug-breakpoint-conditional-unverified\", 60070),\n    debugBreakpointConditional: register(\"debug-breakpoint-conditional\", 60071),\n    debugBreakpointConditionalDisabled: register(\"debug-breakpoint-conditional-disabled\", 60071),\n    debugBreakpointDataUnverified: register(\"debug-breakpoint-data-unverified\", 60072),\n    debugBreakpointData: register(\"debug-breakpoint-data\", 60073),\n    debugBreakpointDataDisabled: register(\"debug-breakpoint-data-disabled\", 60073),\n    debugBreakpointLogUnverified: register(\"debug-breakpoint-log-unverified\", 60074),\n    debugBreakpointLog: register(\"debug-breakpoint-log\", 60075),\n    debugBreakpointLogDisabled: register(\"debug-breakpoint-log-disabled\", 60075),\n    briefcase: register(\"briefcase\", 60076),\n    broadcast: register(\"broadcast\", 60077),\n    browser: register(\"browser\", 60078),\n    bug: register(\"bug\", 60079),\n    calendar: register(\"calendar\", 60080),\n    caseSensitive: register(\"case-sensitive\", 60081),\n    check: register(\"check\", 60082),\n    checklist: register(\"checklist\", 60083),\n    chevronDown: register(\"chevron-down\", 60084),\n    chevronLeft: register(\"chevron-left\", 60085),\n    chevronRight: register(\"chevron-right\", 60086),\n    chevronUp: register(\"chevron-up\", 60087),\n    chromeClose: register(\"chrome-close\", 60088),\n    chromeMaximize: register(\"chrome-maximize\", 60089),\n    chromeMinimize: register(\"chrome-minimize\", 60090),\n    chromeRestore: register(\"chrome-restore\", 60091),\n    circleOutline: register(\"circle-outline\", 60092),\n    circle: register(\"circle\", 60092),\n    debugBreakpointUnverified: register(\"debug-breakpoint-unverified\", 60092),\n    terminalDecorationIncomplete: register(\"terminal-decoration-incomplete\", 60092),\n    circleSlash: register(\"circle-slash\", 60093),\n    circuitBoard: register(\"circuit-board\", 60094),\n    clearAll: register(\"clear-all\", 60095),\n    clippy: register(\"clippy\", 60096),\n    closeAll: register(\"close-all\", 60097),\n    cloudDownload: register(\"cloud-download\", 60098),\n    cloudUpload: register(\"cloud-upload\", 60099),\n    code: register(\"code\", 60100),\n    collapseAll: register(\"collapse-all\", 60101),\n    colorMode: register(\"color-mode\", 60102),\n    commentDiscussion: register(\"comment-discussion\", 60103),\n    creditCard: register(\"credit-card\", 60105),\n    dash: register(\"dash\", 60108),\n    dashboard: register(\"dashboard\", 60109),\n    database: register(\"database\", 60110),\n    debugContinue: register(\"debug-continue\", 60111),\n    debugDisconnect: register(\"debug-disconnect\", 60112),\n    debugPause: register(\"debug-pause\", 60113),\n    debugRestart: register(\"debug-restart\", 60114),\n    debugStart: register(\"debug-start\", 60115),\n    debugStepInto: register(\"debug-step-into\", 60116),\n    debugStepOut: register(\"debug-step-out\", 60117),\n    debugStepOver: register(\"debug-step-over\", 60118),\n    debugStop: register(\"debug-stop\", 60119),\n    debug: register(\"debug\", 60120),\n    deviceCameraVideo: register(\"device-camera-video\", 60121),\n    deviceCamera: register(\"device-camera\", 60122),\n    deviceMobile: register(\"device-mobile\", 60123),\n    diffAdded: register(\"diff-added\", 60124),\n    diffIgnored: register(\"diff-ignored\", 60125),\n    diffModified: register(\"diff-modified\", 60126),\n    diffRemoved: register(\"diff-removed\", 60127),\n    diffRenamed: register(\"diff-renamed\", 60128),\n    diff: register(\"diff\", 60129),\n    diffSidebyside: register(\"diff-sidebyside\", 60129),\n    discard: register(\"discard\", 60130),\n    editorLayout: register(\"editor-layout\", 60131),\n    emptyWindow: register(\"empty-window\", 60132),\n    exclude: register(\"exclude\", 60133),\n    extensions: register(\"extensions\", 60134),\n    eyeClosed: register(\"eye-closed\", 60135),\n    fileBinary: register(\"file-binary\", 60136),\n    fileCode: register(\"file-code\", 60137),\n    fileMedia: register(\"file-media\", 60138),\n    filePdf: register(\"file-pdf\", 60139),\n    fileSubmodule: register(\"file-submodule\", 60140),\n    fileSymlinkDirectory: register(\"file-symlink-directory\", 60141),\n    fileSymlinkFile: register(\"file-symlink-file\", 60142),\n    fileZip: register(\"file-zip\", 60143),\n    files: register(\"files\", 60144),\n    filter: register(\"filter\", 60145),\n    flame: register(\"flame\", 60146),\n    foldDown: register(\"fold-down\", 60147),\n    foldUp: register(\"fold-up\", 60148),\n    fold: register(\"fold\", 60149),\n    folderActive: register(\"folder-active\", 60150),\n    folderOpened: register(\"folder-opened\", 60151),\n    gear: register(\"gear\", 60152),\n    gift: register(\"gift\", 60153),\n    gistSecret: register(\"gist-secret\", 60154),\n    gist: register(\"gist\", 60155),\n    gitCommit: register(\"git-commit\", 60156),\n    gitCompare: register(\"git-compare\", 60157),\n    compareChanges: register(\"compare-changes\", 60157),\n    gitMerge: register(\"git-merge\", 60158),\n    githubAction: register(\"github-action\", 60159),\n    githubAlt: register(\"github-alt\", 60160),\n    globe: register(\"globe\", 60161),\n    grabber: register(\"grabber\", 60162),\n    graph: register(\"graph\", 60163),\n    gripper: register(\"gripper\", 60164),\n    heart: register(\"heart\", 60165),\n    home: register(\"home\", 60166),\n    horizontalRule: register(\"horizontal-rule\", 60167),\n    hubot: register(\"hubot\", 60168),\n    inbox: register(\"inbox\", 60169),\n    issueReopened: register(\"issue-reopened\", 60171),\n    issues: register(\"issues\", 60172),\n    italic: register(\"italic\", 60173),\n    jersey: register(\"jersey\", 60174),\n    json: register(\"json\", 60175),\n    kebabVertical: register(\"kebab-vertical\", 60176),\n    key: register(\"key\", 60177),\n    law: register(\"law\", 60178),\n    lightbulbAutofix: register(\"lightbulb-autofix\", 60179),\n    linkExternal: register(\"link-external\", 60180),\n    link: register(\"link\", 60181),\n    listOrdered: register(\"list-ordered\", 60182),\n    listUnordered: register(\"list-unordered\", 60183),\n    liveShare: register(\"live-share\", 60184),\n    loading: register(\"loading\", 60185),\n    location: register(\"location\", 60186),\n    mailRead: register(\"mail-read\", 60187),\n    mail: register(\"mail\", 60188),\n    markdown: register(\"markdown\", 60189),\n    megaphone: register(\"megaphone\", 60190),\n    mention: register(\"mention\", 60191),\n    milestone: register(\"milestone\", 60192),\n    gitPullRequestMilestone: register(\"git-pull-request-milestone\", 60192),\n    mortarBoard: register(\"mortar-board\", 60193),\n    move: register(\"move\", 60194),\n    multipleWindows: register(\"multiple-windows\", 60195),\n    mute: register(\"mute\", 60196),\n    noNewline: register(\"no-newline\", 60197),\n    note: register(\"note\", 60198),\n    octoface: register(\"octoface\", 60199),\n    openPreview: register(\"open-preview\", 60200),\n    package: register(\"package\", 60201),\n    paintcan: register(\"paintcan\", 60202),\n    pin: register(\"pin\", 60203),\n    play: register(\"play\", 60204),\n    run: register(\"run\", 60204),\n    plug: register(\"plug\", 60205),\n    preserveCase: register(\"preserve-case\", 60206),\n    preview: register(\"preview\", 60207),\n    project: register(\"project\", 60208),\n    pulse: register(\"pulse\", 60209),\n    question: register(\"question\", 60210),\n    quote: register(\"quote\", 60211),\n    radioTower: register(\"radio-tower\", 60212),\n    reactions: register(\"reactions\", 60213),\n    references: register(\"references\", 60214),\n    refresh: register(\"refresh\", 60215),\n    regex: register(\"regex\", 60216),\n    remoteExplorer: register(\"remote-explorer\", 60217),\n    remote: register(\"remote\", 60218),\n    remove: register(\"remove\", 60219),\n    replaceAll: register(\"replace-all\", 60220),\n    replace: register(\"replace\", 60221),\n    repoClone: register(\"repo-clone\", 60222),\n    repoForcePush: register(\"repo-force-push\", 60223),\n    repoPull: register(\"repo-pull\", 60224),\n    repoPush: register(\"repo-push\", 60225),\n    report: register(\"report\", 60226),\n    requestChanges: register(\"request-changes\", 60227),\n    rocket: register(\"rocket\", 60228),\n    rootFolderOpened: register(\"root-folder-opened\", 60229),\n    rootFolder: register(\"root-folder\", 60230),\n    rss: register(\"rss\", 60231),\n    ruby: register(\"ruby\", 60232),\n    saveAll: register(\"save-all\", 60233),\n    saveAs: register(\"save-as\", 60234),\n    save: register(\"save\", 60235),\n    screenFull: register(\"screen-full\", 60236),\n    screenNormal: register(\"screen-normal\", 60237),\n    searchStop: register(\"search-stop\", 60238),\n    server: register(\"server\", 60240),\n    settingsGear: register(\"settings-gear\", 60241),\n    settings: register(\"settings\", 60242),\n    shield: register(\"shield\", 60243),\n    smiley: register(\"smiley\", 60244),\n    sortPrecedence: register(\"sort-precedence\", 60245),\n    splitHorizontal: register(\"split-horizontal\", 60246),\n    splitVertical: register(\"split-vertical\", 60247),\n    squirrel: register(\"squirrel\", 60248),\n    starFull: register(\"star-full\", 60249),\n    starHalf: register(\"star-half\", 60250),\n    symbolClass: register(\"symbol-class\", 60251),\n    symbolColor: register(\"symbol-color\", 60252),\n    symbolConstant: register(\"symbol-constant\", 60253),\n    symbolEnumMember: register(\"symbol-enum-member\", 60254),\n    symbolField: register(\"symbol-field\", 60255),\n    symbolFile: register(\"symbol-file\", 60256),\n    symbolInterface: register(\"symbol-interface\", 60257),\n    symbolKeyword: register(\"symbol-keyword\", 60258),\n    symbolMisc: register(\"symbol-misc\", 60259),\n    symbolOperator: register(\"symbol-operator\", 60260),\n    symbolProperty: register(\"symbol-property\", 60261),\n    wrench: register(\"wrench\", 60261),\n    wrenchSubaction: register(\"wrench-subaction\", 60261),\n    symbolSnippet: register(\"symbol-snippet\", 60262),\n    tasklist: register(\"tasklist\", 60263),\n    telescope: register(\"telescope\", 60264),\n    textSize: register(\"text-size\", 60265),\n    threeBars: register(\"three-bars\", 60266),\n    thumbsdown: register(\"thumbsdown\", 60267),\n    thumbsup: register(\"thumbsup\", 60268),\n    tools: register(\"tools\", 60269),\n    triangleDown: register(\"triangle-down\", 60270),\n    triangleLeft: register(\"triangle-left\", 60271),\n    triangleRight: register(\"triangle-right\", 60272),\n    triangleUp: register(\"triangle-up\", 60273),\n    twitter: register(\"twitter\", 60274),\n    unfold: register(\"unfold\", 60275),\n    unlock: register(\"unlock\", 60276),\n    unmute: register(\"unmute\", 60277),\n    unverified: register(\"unverified\", 60278),\n    verified: register(\"verified\", 60279),\n    versions: register(\"versions\", 60280),\n    vmActive: register(\"vm-active\", 60281),\n    vmOutline: register(\"vm-outline\", 60282),\n    vmRunning: register(\"vm-running\", 60283),\n    watch: register(\"watch\", 60284),\n    whitespace: register(\"whitespace\", 60285),\n    wholeWord: register(\"whole-word\", 60286),\n    window: register(\"window\", 60287),\n    wordWrap: register(\"word-wrap\", 60288),\n    zoomIn: register(\"zoom-in\", 60289),\n    zoomOut: register(\"zoom-out\", 60290),\n    listFilter: register(\"list-filter\", 60291),\n    listFlat: register(\"list-flat\", 60292),\n    listSelection: register(\"list-selection\", 60293),\n    selection: register(\"selection\", 60293),\n    listTree: register(\"list-tree\", 60294),\n    debugBreakpointFunctionUnverified: register(\"debug-breakpoint-function-unverified\", 60295),\n    debugBreakpointFunction: register(\"debug-breakpoint-function\", 60296),\n    debugBreakpointFunctionDisabled: register(\"debug-breakpoint-function-disabled\", 60296),\n    debugStackframeActive: register(\"debug-stackframe-active\", 60297),\n    circleSmallFilled: register(\"circle-small-filled\", 60298),\n    debugStackframeDot: register(\"debug-stackframe-dot\", 60298),\n    terminalDecorationMark: register(\"terminal-decoration-mark\", 60298),\n    debugStackframe: register(\"debug-stackframe\", 60299),\n    debugStackframeFocused: register(\"debug-stackframe-focused\", 60299),\n    debugBreakpointUnsupported: register(\"debug-breakpoint-unsupported\", 60300),\n    symbolString: register(\"symbol-string\", 60301),\n    debugReverseContinue: register(\"debug-reverse-continue\", 60302),\n    debugStepBack: register(\"debug-step-back\", 60303),\n    debugRestartFrame: register(\"debug-restart-frame\", 60304),\n    debugAlt: register(\"debug-alt\", 60305),\n    callIncoming: register(\"call-incoming\", 60306),\n    callOutgoing: register(\"call-outgoing\", 60307),\n    menu: register(\"menu\", 60308),\n    expandAll: register(\"expand-all\", 60309),\n    feedback: register(\"feedback\", 60310),\n    gitPullRequestReviewer: register(\"git-pull-request-reviewer\", 60310),\n    groupByRefType: register(\"group-by-ref-type\", 60311),\n    ungroupByRefType: register(\"ungroup-by-ref-type\", 60312),\n    account: register(\"account\", 60313),\n    gitPullRequestAssignee: register(\"git-pull-request-assignee\", 60313),\n    bellDot: register(\"bell-dot\", 60314),\n    debugConsole: register(\"debug-console\", 60315),\n    library: register(\"library\", 60316),\n    output: register(\"output\", 60317),\n    runAll: register(\"run-all\", 60318),\n    syncIgnored: register(\"sync-ignored\", 60319),\n    pinned: register(\"pinned\", 60320),\n    githubInverted: register(\"github-inverted\", 60321),\n    serverProcess: register(\"server-process\", 60322),\n    serverEnvironment: register(\"server-environment\", 60323),\n    pass: register(\"pass\", 60324),\n    issueClosed: register(\"issue-closed\", 60324),\n    stopCircle: register(\"stop-circle\", 60325),\n    playCircle: register(\"play-circle\", 60326),\n    record: register(\"record\", 60327),\n    debugAltSmall: register(\"debug-alt-small\", 60328),\n    vmConnect: register(\"vm-connect\", 60329),\n    cloud: register(\"cloud\", 60330),\n    merge: register(\"merge\", 60331),\n    export: register(\"export\", 60332),\n    graphLeft: register(\"graph-left\", 60333),\n    magnet: register(\"magnet\", 60334),\n    notebook: register(\"notebook\", 60335),\n    redo: register(\"redo\", 60336),\n    checkAll: register(\"check-all\", 60337),\n    pinnedDirty: register(\"pinned-dirty\", 60338),\n    passFilled: register(\"pass-filled\", 60339),\n    circleLargeFilled: register(\"circle-large-filled\", 60340),\n    circleLarge: register(\"circle-large\", 60341),\n    circleLargeOutline: register(\"circle-large-outline\", 60341),\n    combine: register(\"combine\", 60342),\n    gather: register(\"gather\", 60342),\n    table: register(\"table\", 60343),\n    variableGroup: register(\"variable-group\", 60344),\n    typeHierarchy: register(\"type-hierarchy\", 60345),\n    typeHierarchySub: register(\"type-hierarchy-sub\", 60346),\n    typeHierarchySuper: register(\"type-hierarchy-super\", 60347),\n    gitPullRequestCreate: register(\"git-pull-request-create\", 60348),\n    runAbove: register(\"run-above\", 60349),\n    runBelow: register(\"run-below\", 60350),\n    notebookTemplate: register(\"notebook-template\", 60351),\n    debugRerun: register(\"debug-rerun\", 60352),\n    workspaceTrusted: register(\"workspace-trusted\", 60353),\n    workspaceUntrusted: register(\"workspace-untrusted\", 60354),\n    workspaceUnknown: register(\"workspace-unknown\", 60355),\n    terminalCmd: register(\"terminal-cmd\", 60356),\n    terminalDebian: register(\"terminal-debian\", 60357),\n    terminalLinux: register(\"terminal-linux\", 60358),\n    terminalPowershell: register(\"terminal-powershell\", 60359),\n    terminalTmux: register(\"terminal-tmux\", 60360),\n    terminalUbuntu: register(\"terminal-ubuntu\", 60361),\n    terminalBash: register(\"terminal-bash\", 60362),\n    arrowSwap: register(\"arrow-swap\", 60363),\n    copy: register(\"copy\", 60364),\n    personAdd: register(\"person-add\", 60365),\n    filterFilled: register(\"filter-filled\", 60366),\n    wand: register(\"wand\", 60367),\n    debugLineByLine: register(\"debug-line-by-line\", 60368),\n    inspect: register(\"inspect\", 60369),\n    layers: register(\"layers\", 60370),\n    layersDot: register(\"layers-dot\", 60371),\n    layersActive: register(\"layers-active\", 60372),\n    compass: register(\"compass\", 60373),\n    compassDot: register(\"compass-dot\", 60374),\n    compassActive: register(\"compass-active\", 60375),\n    azure: register(\"azure\", 60376),\n    issueDraft: register(\"issue-draft\", 60377),\n    gitPullRequestClosed: register(\"git-pull-request-closed\", 60378),\n    gitPullRequestDraft: register(\"git-pull-request-draft\", 60379),\n    debugAll: register(\"debug-all\", 60380),\n    debugCoverage: register(\"debug-coverage\", 60381),\n    runErrors: register(\"run-errors\", 60382),\n    folderLibrary: register(\"folder-library\", 60383),\n    debugContinueSmall: register(\"debug-continue-small\", 60384),\n    beakerStop: register(\"beaker-stop\", 60385),\n    graphLine: register(\"graph-line\", 60386),\n    graphScatter: register(\"graph-scatter\", 60387),\n    pieChart: register(\"pie-chart\", 60388),\n    bracket: register(\"bracket\", 60175),\n    bracketDot: register(\"bracket-dot\", 60389),\n    bracketError: register(\"bracket-error\", 60390),\n    lockSmall: register(\"lock-small\", 60391),\n    azureDevops: register(\"azure-devops\", 60392),\n    verifiedFilled: register(\"verified-filled\", 60393),\n    newline: register(\"newline\", 60394),\n    layout: register(\"layout\", 60395),\n    layoutActivitybarLeft: register(\"layout-activitybar-left\", 60396),\n    layoutActivitybarRight: register(\"layout-activitybar-right\", 60397),\n    layoutPanelLeft: register(\"layout-panel-left\", 60398),\n    layoutPanelCenter: register(\"layout-panel-center\", 60399),\n    layoutPanelJustify: register(\"layout-panel-justify\", 60400),\n    layoutPanelRight: register(\"layout-panel-right\", 60401),\n    layoutPanel: register(\"layout-panel\", 60402),\n    layoutSidebarLeft: register(\"layout-sidebar-left\", 60403),\n    layoutSidebarRight: register(\"layout-sidebar-right\", 60404),\n    layoutStatusbar: register(\"layout-statusbar\", 60405),\n    layoutMenubar: register(\"layout-menubar\", 60406),\n    layoutCentered: register(\"layout-centered\", 60407),\n    target: register(\"target\", 60408),\n    indent: register(\"indent\", 60409),\n    recordSmall: register(\"record-small\", 60410),\n    errorSmall: register(\"error-small\", 60411),\n    terminalDecorationError: register(\"terminal-decoration-error\", 60411),\n    arrowCircleDown: register(\"arrow-circle-down\", 60412),\n    arrowCircleLeft: register(\"arrow-circle-left\", 60413),\n    arrowCircleRight: register(\"arrow-circle-right\", 60414),\n    arrowCircleUp: register(\"arrow-circle-up\", 60415),\n    layoutSidebarRightOff: register(\"layout-sidebar-right-off\", 60416),\n    layoutPanelOff: register(\"layout-panel-off\", 60417),\n    layoutSidebarLeftOff: register(\"layout-sidebar-left-off\", 60418),\n    blank: register(\"blank\", 60419),\n    heartFilled: register(\"heart-filled\", 60420),\n    map: register(\"map\", 60421),\n    mapHorizontal: register(\"map-horizontal\", 60421),\n    foldHorizontal: register(\"fold-horizontal\", 60421),\n    mapFilled: register(\"map-filled\", 60422),\n    mapHorizontalFilled: register(\"map-horizontal-filled\", 60422),\n    foldHorizontalFilled: register(\"fold-horizontal-filled\", 60422),\n    circleSmall: register(\"circle-small\", 60423),\n    bellSlash: register(\"bell-slash\", 60424),\n    bellSlashDot: register(\"bell-slash-dot\", 60425),\n    commentUnresolved: register(\"comment-unresolved\", 60426),\n    gitPullRequestGoToChanges: register(\"git-pull-request-go-to-changes\", 60427),\n    gitPullRequestNewChanges: register(\"git-pull-request-new-changes\", 60428),\n    searchFuzzy: register(\"search-fuzzy\", 60429),\n    commentDraft: register(\"comment-draft\", 60430),\n    send: register(\"send\", 60431),\n    sparkle: register(\"sparkle\", 60432),\n    insert: register(\"insert\", 60433),\n    mic: register(\"mic\", 60434),\n    thumbsdownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsupFilled: register(\"thumbsup-filled\", 60436),\n    coffee: register(\"coffee\", 60437),\n    snake: register(\"snake\", 60438),\n    game: register(\"game\", 60439),\n    vr: register(\"vr\", 60440),\n    chip: register(\"chip\", 60441),\n    piano: register(\"piano\", 60442),\n    music: register(\"music\", 60443),\n    micFilled: register(\"mic-filled\", 60444),\n    repoFetch: register(\"repo-fetch\", 60445),\n    copilot: register(\"copilot\", 60446),\n    lightbulbSparkle: register(\"lightbulb-sparkle\", 60447),\n    robot: register(\"robot\", 60448),\n    sparkleFilled: register(\"sparkle-filled\", 60449),\n    diffSingle: register(\"diff-single\", 60450),\n    diffMultiple: register(\"diff-multiple\", 60451),\n    surroundWith: register(\"surround-with\", 60452),\n    share: register(\"share\", 60453),\n    gitStash: register(\"git-stash\", 60454),\n    gitStashApply: register(\"git-stash-apply\", 60455),\n    gitStashPop: register(\"git-stash-pop\", 60456),\n    vscode: register(\"vscode\", 60457),\n    vscodeInsiders: register(\"vscode-insiders\", 60458),\n    codeOss: register(\"code-oss\", 60459),\n    runCoverage: register(\"run-coverage\", 60460),\n    runAllCoverage: register(\"run-all-coverage\", 60461),\n    coverage: register(\"coverage\", 60462),\n    githubProject: register(\"github-project\", 60463),\n    mapVertical: register(\"map-vertical\", 60464),\n    foldVertical: register(\"fold-vertical\", 60464),\n    mapVerticalFilled: register(\"map-vertical-filled\", 60465),\n    foldVerticalFilled: register(\"fold-vertical-filled\", 60465),\n    goToSearch: register(\"go-to-search\", 60466),\n    percentage: register(\"percentage\", 60467),\n    sortPercentage: register(\"sort-percentage\", 60467)\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codicons.js\n  var codiconsDerived = {\n    dialogError: register(\"dialog-error\", \"error\"),\n    dialogWarning: register(\"dialog-warning\", \"warning\"),\n    dialogInfo: register(\"dialog-info\", \"info\"),\n    dialogClose: register(\"dialog-close\", \"close\"),\n    treeItemExpanded: register(\"tree-item-expanded\", \"chevron-down\"),\n    // collapsed is done with rotation\n    treeFilterOnTypeOn: register(\"tree-filter-on-type-on\", \"list-filter\"),\n    treeFilterOnTypeOff: register(\"tree-filter-on-type-off\", \"list-selection\"),\n    treeFilterClear: register(\"tree-filter-clear\", \"close\"),\n    treeItemLoading: register(\"tree-item-loading\", \"loading\"),\n    menuSelection: register(\"menu-selection\", \"check\"),\n    menuSubmenu: register(\"menu-submenu\", \"chevron-right\"),\n    menuBarMore: register(\"menubar-more\", \"more\"),\n    scrollbarButtonLeft: register(\"scrollbar-button-left\", \"triangle-left\"),\n    scrollbarButtonRight: register(\"scrollbar-button-right\", \"triangle-right\"),\n    scrollbarButtonUp: register(\"scrollbar-button-up\", \"triangle-up\"),\n    scrollbarButtonDown: register(\"scrollbar-button-down\", \"triangle-down\"),\n    toolBarMore: register(\"toolbar-more\", \"more\"),\n    quickInputBack: register(\"quick-input-back\", \"arrow-left\"),\n    dropDownButton: register(\"drop-down-button\", 60084),\n    symbolCustomColor: register(\"symbol-customcolor\", 60252),\n    exportIcon: register(\"export\", 60332),\n    workspaceUnspecified: register(\"workspace-unspecified\", 60355),\n    newLine: register(\"newline\", 60394),\n    thumbsDownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsUpFilled: register(\"thumbsup-filled\", 60436),\n    gitFetch: register(\"git-fetch\", 60445),\n    lightbulbSparkleAutofix: register(\"lightbulb-sparkle-autofix\", 60447),\n    debugBreakpointPending: register(\"debug-breakpoint-pending\", 60377)\n  };\n  var Codicon = {\n    ...codiconsLibrary,\n    ...codiconsDerived\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js\n  var TokenizationRegistry = class {\n    constructor() {\n      this._tokenizationSupports = /* @__PURE__ */ new Map();\n      this._factories = /* @__PURE__ */ new Map();\n      this._onDidChange = new Emitter();\n      this.onDidChange = this._onDidChange.event;\n      this._colorMap = null;\n    }\n    handleChange(languageIds) {\n      this._onDidChange.fire({\n        changedLanguages: languageIds,\n        changedColorMap: false\n      });\n    }\n    register(languageId, support) {\n      this._tokenizationSupports.set(languageId, support);\n      this.handleChange([languageId]);\n      return toDisposable(() => {\n        if (this._tokenizationSupports.get(languageId) !== support) {\n          return;\n        }\n        this._tokenizationSupports.delete(languageId);\n        this.handleChange([languageId]);\n      });\n    }\n    get(languageId) {\n      return this._tokenizationSupports.get(languageId) || null;\n    }\n    registerFactory(languageId, factory) {\n      var _a5;\n      (_a5 = this._factories.get(languageId)) === null || _a5 === void 0 ? void 0 : _a5.dispose();\n      const myData = new TokenizationSupportFactoryData(this, languageId, factory);\n      this._factories.set(languageId, myData);\n      return toDisposable(() => {\n        const v = this._factories.get(languageId);\n        if (!v || v !== myData) {\n          return;\n        }\n        this._factories.delete(languageId);\n        v.dispose();\n      });\n    }\n    async getOrCreate(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return tokenizationSupport;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return null;\n      }\n      await factory.resolve();\n      return this.get(languageId);\n    }\n    isResolved(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return true;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return true;\n      }\n      return false;\n    }\n    setColorMap(colorMap) {\n      this._colorMap = colorMap;\n      this._onDidChange.fire({\n        changedLanguages: Array.from(this._tokenizationSupports.keys()),\n        changedColorMap: true\n      });\n    }\n    getColorMap() {\n      return this._colorMap;\n    }\n    getDefaultBackground() {\n      if (this._colorMap && this._colorMap.length > 2) {\n        return this._colorMap[\n          2\n          /* ColorId.DefaultBackground */\n        ];\n      }\n      return null;\n    }\n  };\n  var TokenizationSupportFactoryData = class extends Disposable {\n    get isResolved() {\n      return this._isResolved;\n    }\n    constructor(_registry, _languageId, _factory) {\n      super();\n      this._registry = _registry;\n      this._languageId = _languageId;\n      this._factory = _factory;\n      this._isDisposed = false;\n      this._resolvePromise = null;\n      this._isResolved = false;\n    }\n    dispose() {\n      this._isDisposed = true;\n      super.dispose();\n    }\n    async resolve() {\n      if (!this._resolvePromise) {\n        this._resolvePromise = this._create();\n      }\n      return this._resolvePromise;\n    }\n    async _create() {\n      const value = await this._factory.tokenizationSupport;\n      this._isResolved = true;\n      if (value && !this._isDisposed) {\n        this._register(this._registry.register(this._languageId, value));\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages.js\n  var Token = class {\n    constructor(offset, type, language) {\n      this.offset = offset;\n      this.type = type;\n      this.language = language;\n      this._tokenBrand = void 0;\n    }\n    toString() {\n      return \"(\" + this.offset + \", \" + this.type + \")\";\n    }\n  };\n  var HoverVerbosityAction;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction || (HoverVerbosityAction = {}));\n  var CompletionItemKinds;\n  (function(CompletionItemKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolMethod);\n    byKind.set(1, Codicon.symbolFunction);\n    byKind.set(2, Codicon.symbolConstructor);\n    byKind.set(3, Codicon.symbolField);\n    byKind.set(4, Codicon.symbolVariable);\n    byKind.set(5, Codicon.symbolClass);\n    byKind.set(6, Codicon.symbolStruct);\n    byKind.set(7, Codicon.symbolInterface);\n    byKind.set(8, Codicon.symbolModule);\n    byKind.set(9, Codicon.symbolProperty);\n    byKind.set(10, Codicon.symbolEvent);\n    byKind.set(11, Codicon.symbolOperator);\n    byKind.set(12, Codicon.symbolUnit);\n    byKind.set(13, Codicon.symbolValue);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(14, Codicon.symbolConstant);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(16, Codicon.symbolEnumMember);\n    byKind.set(17, Codicon.symbolKeyword);\n    byKind.set(27, Codicon.symbolSnippet);\n    byKind.set(18, Codicon.symbolText);\n    byKind.set(19, Codicon.symbolColor);\n    byKind.set(20, Codicon.symbolFile);\n    byKind.set(21, Codicon.symbolReference);\n    byKind.set(22, Codicon.symbolCustomColor);\n    byKind.set(23, Codicon.symbolFolder);\n    byKind.set(24, Codicon.symbolTypeParameter);\n    byKind.set(25, Codicon.account);\n    byKind.set(26, Codicon.issues);\n    function toIcon(kind) {\n      let codicon = byKind.get(kind);\n      if (!codicon) {\n        console.info(\"No codicon found for CompletionItemKind \" + kind);\n        codicon = Codicon.symbolProperty;\n      }\n      return codicon;\n    }\n    CompletionItemKinds2.toIcon = toIcon;\n    const data = /* @__PURE__ */ new Map();\n    data.set(\n      \"method\",\n      0\n      /* CompletionItemKind.Method */\n    );\n    data.set(\n      \"function\",\n      1\n      /* CompletionItemKind.Function */\n    );\n    data.set(\n      \"constructor\",\n      2\n      /* CompletionItemKind.Constructor */\n    );\n    data.set(\n      \"field\",\n      3\n      /* CompletionItemKind.Field */\n    );\n    data.set(\n      \"variable\",\n      4\n      /* CompletionItemKind.Variable */\n    );\n    data.set(\n      \"class\",\n      5\n      /* CompletionItemKind.Class */\n    );\n    data.set(\n      \"struct\",\n      6\n      /* CompletionItemKind.Struct */\n    );\n    data.set(\n      \"interface\",\n      7\n      /* CompletionItemKind.Interface */\n    );\n    data.set(\n      \"module\",\n      8\n      /* CompletionItemKind.Module */\n    );\n    data.set(\n      \"property\",\n      9\n      /* CompletionItemKind.Property */\n    );\n    data.set(\n      \"event\",\n      10\n      /* CompletionItemKind.Event */\n    );\n    data.set(\n      \"operator\",\n      11\n      /* CompletionItemKind.Operator */\n    );\n    data.set(\n      \"unit\",\n      12\n      /* CompletionItemKind.Unit */\n    );\n    data.set(\n      \"value\",\n      13\n      /* CompletionItemKind.Value */\n    );\n    data.set(\n      \"constant\",\n      14\n      /* CompletionItemKind.Constant */\n    );\n    data.set(\n      \"enum\",\n      15\n      /* CompletionItemKind.Enum */\n    );\n    data.set(\n      \"enum-member\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"enumMember\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"keyword\",\n      17\n      /* CompletionItemKind.Keyword */\n    );\n    data.set(\n      \"snippet\",\n      27\n      /* CompletionItemKind.Snippet */\n    );\n    data.set(\n      \"text\",\n      18\n      /* CompletionItemKind.Text */\n    );\n    data.set(\n      \"color\",\n      19\n      /* CompletionItemKind.Color */\n    );\n    data.set(\n      \"file\",\n      20\n      /* CompletionItemKind.File */\n    );\n    data.set(\n      \"reference\",\n      21\n      /* CompletionItemKind.Reference */\n    );\n    data.set(\n      \"customcolor\",\n      22\n      /* CompletionItemKind.Customcolor */\n    );\n    data.set(\n      \"folder\",\n      23\n      /* CompletionItemKind.Folder */\n    );\n    data.set(\n      \"type-parameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"typeParameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"account\",\n      25\n      /* CompletionItemKind.User */\n    );\n    data.set(\n      \"issue\",\n      26\n      /* CompletionItemKind.Issue */\n    );\n    function fromString(value, strict) {\n      let res = data.get(value);\n      if (typeof res === \"undefined\" && !strict) {\n        res = 9;\n      }\n      return res;\n    }\n    CompletionItemKinds2.fromString = fromString;\n  })(CompletionItemKinds || (CompletionItemKinds = {}));\n  var InlineCompletionTriggerKind;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));\n  var DocumentPasteTriggerKind;\n  (function(DocumentPasteTriggerKind2) {\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"Automatic\"] = 0] = \"Automatic\";\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"PasteAs\"] = 1] = \"PasteAs\";\n  })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {}));\n  var SignatureHelpTriggerKind;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));\n  var DocumentHighlightKind;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind || (DocumentHighlightKind = {}));\n  var symbolKindNames = {\n    [\n      17\n      /* SymbolKind.Array */\n    ]: localize(\"Array\", \"array\"),\n    [\n      16\n      /* SymbolKind.Boolean */\n    ]: localize(\"Boolean\", \"boolean\"),\n    [\n      4\n      /* SymbolKind.Class */\n    ]: localize(\"Class\", \"class\"),\n    [\n      13\n      /* SymbolKind.Constant */\n    ]: localize(\"Constant\", \"constant\"),\n    [\n      8\n      /* SymbolKind.Constructor */\n    ]: localize(\"Constructor\", \"constructor\"),\n    [\n      9\n      /* SymbolKind.Enum */\n    ]: localize(\"Enum\", \"enumeration\"),\n    [\n      21\n      /* SymbolKind.EnumMember */\n    ]: localize(\"EnumMember\", \"enumeration member\"),\n    [\n      23\n      /* SymbolKind.Event */\n    ]: localize(\"Event\", \"event\"),\n    [\n      7\n      /* SymbolKind.Field */\n    ]: localize(\"Field\", \"field\"),\n    [\n      0\n      /* SymbolKind.File */\n    ]: localize(\"File\", \"file\"),\n    [\n      11\n      /* SymbolKind.Function */\n    ]: localize(\"Function\", \"function\"),\n    [\n      10\n      /* SymbolKind.Interface */\n    ]: localize(\"Interface\", \"interface\"),\n    [\n      19\n      /* SymbolKind.Key */\n    ]: localize(\"Key\", \"key\"),\n    [\n      5\n      /* SymbolKind.Method */\n    ]: localize(\"Method\", \"method\"),\n    [\n      1\n      /* SymbolKind.Module */\n    ]: localize(\"Module\", \"module\"),\n    [\n      2\n      /* SymbolKind.Namespace */\n    ]: localize(\"Namespace\", \"namespace\"),\n    [\n      20\n      /* SymbolKind.Null */\n    ]: localize(\"Null\", \"null\"),\n    [\n      15\n      /* SymbolKind.Number */\n    ]: localize(\"Number\", \"number\"),\n    [\n      18\n      /* SymbolKind.Object */\n    ]: localize(\"Object\", \"object\"),\n    [\n      24\n      /* SymbolKind.Operator */\n    ]: localize(\"Operator\", \"operator\"),\n    [\n      3\n      /* SymbolKind.Package */\n    ]: localize(\"Package\", \"package\"),\n    [\n      6\n      /* SymbolKind.Property */\n    ]: localize(\"Property\", \"property\"),\n    [\n      14\n      /* SymbolKind.String */\n    ]: localize(\"String\", \"string\"),\n    [\n      22\n      /* SymbolKind.Struct */\n    ]: localize(\"Struct\", \"struct\"),\n    [\n      25\n      /* SymbolKind.TypeParameter */\n    ]: localize(\"TypeParameter\", \"type parameter\"),\n    [\n      12\n      /* SymbolKind.Variable */\n    ]: localize(\"Variable\", \"variable\")\n  };\n  var SymbolKinds;\n  (function(SymbolKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolFile);\n    byKind.set(1, Codicon.symbolModule);\n    byKind.set(2, Codicon.symbolNamespace);\n    byKind.set(3, Codicon.symbolPackage);\n    byKind.set(4, Codicon.symbolClass);\n    byKind.set(5, Codicon.symbolMethod);\n    byKind.set(6, Codicon.symbolProperty);\n    byKind.set(7, Codicon.symbolField);\n    byKind.set(8, Codicon.symbolConstructor);\n    byKind.set(9, Codicon.symbolEnum);\n    byKind.set(10, Codicon.symbolInterface);\n    byKind.set(11, Codicon.symbolFunction);\n    byKind.set(12, Codicon.symbolVariable);\n    byKind.set(13, Codicon.symbolConstant);\n    byKind.set(14, Codicon.symbolString);\n    byKind.set(15, Codicon.symbolNumber);\n    byKind.set(16, Codicon.symbolBoolean);\n    byKind.set(17, Codicon.symbolArray);\n    byKind.set(18, Codicon.symbolObject);\n    byKind.set(19, Codicon.symbolKey);\n    byKind.set(20, Codicon.symbolNull);\n    byKind.set(21, Codicon.symbolEnumMember);\n    byKind.set(22, Codicon.symbolStruct);\n    byKind.set(23, Codicon.symbolEvent);\n    byKind.set(24, Codicon.symbolOperator);\n    byKind.set(25, Codicon.symbolTypeParameter);\n    function toIcon(kind) {\n      let icon = byKind.get(kind);\n      if (!icon) {\n        console.info(\"No codicon found for SymbolKind \" + kind);\n        icon = Codicon.symbolProperty;\n      }\n      return icon;\n    }\n    SymbolKinds2.toIcon = toIcon;\n  })(SymbolKinds || (SymbolKinds = {}));\n  var FoldingRangeKind = class _FoldingRangeKind {\n    /**\n     * Returns a {@link FoldingRangeKind} for the given value.\n     *\n     * @param value of the kind.\n     */\n    static fromValue(value) {\n      switch (value) {\n        case \"comment\":\n          return _FoldingRangeKind.Comment;\n        case \"imports\":\n          return _FoldingRangeKind.Imports;\n        case \"region\":\n          return _FoldingRangeKind.Region;\n      }\n      return new _FoldingRangeKind(value);\n    }\n    /**\n     * Creates a new {@link FoldingRangeKind}.\n     *\n     * @param value of the kind.\n     */\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  FoldingRangeKind.Comment = new FoldingRangeKind(\"comment\");\n  FoldingRangeKind.Imports = new FoldingRangeKind(\"imports\");\n  FoldingRangeKind.Region = new FoldingRangeKind(\"region\");\n  var NewSymbolNameTag;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag || (NewSymbolNameTag = {}));\n  var NewSymbolNameTriggerKind;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {}));\n  var Command;\n  (function(Command3) {\n    function is(obj) {\n      if (!obj || typeof obj !== \"object\") {\n        return false;\n      }\n      return typeof obj.id === \"string\" && typeof obj.title === \"string\";\n    }\n    Command3.is = is;\n  })(Command || (Command = {}));\n  var InlayHintKind;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind || (InlayHintKind = {}));\n  var TokenizationRegistry2 = new TokenizationRegistry();\n  var InlineEditTriggerKind;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind || (InlineEditTriggerKind = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js\n  var AccessibilitySupport;\n  (function(AccessibilitySupport2) {\n    AccessibilitySupport2[AccessibilitySupport2[\"Unknown\"] = 0] = \"Unknown\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Disabled\"] = 1] = \"Disabled\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Enabled\"] = 2] = \"Enabled\";\n  })(AccessibilitySupport || (AccessibilitySupport = {}));\n  var CodeActionTriggerType;\n  (function(CodeActionTriggerType2) {\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Invoke\"] = 1] = \"Invoke\";\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Auto\"] = 2] = \"Auto\";\n  })(CodeActionTriggerType || (CodeActionTriggerType = {}));\n  var CompletionItemInsertTextRule;\n  (function(CompletionItemInsertTextRule2) {\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"None\"] = 0] = \"None\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"KeepWhitespace\"] = 1] = \"KeepWhitespace\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"InsertAsSnippet\"] = 4] = \"InsertAsSnippet\";\n  })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));\n  var CompletionItemKind;\n  (function(CompletionItemKind3) {\n    CompletionItemKind3[CompletionItemKind3[\"Method\"] = 0] = \"Method\";\n    CompletionItemKind3[CompletionItemKind3[\"Function\"] = 1] = \"Function\";\n    CompletionItemKind3[CompletionItemKind3[\"Constructor\"] = 2] = \"Constructor\";\n    CompletionItemKind3[CompletionItemKind3[\"Field\"] = 3] = \"Field\";\n    CompletionItemKind3[CompletionItemKind3[\"Variable\"] = 4] = \"Variable\";\n    CompletionItemKind3[CompletionItemKind3[\"Class\"] = 5] = \"Class\";\n    CompletionItemKind3[CompletionItemKind3[\"Struct\"] = 6] = \"Struct\";\n    CompletionItemKind3[CompletionItemKind3[\"Interface\"] = 7] = \"Interface\";\n    CompletionItemKind3[CompletionItemKind3[\"Module\"] = 8] = \"Module\";\n    CompletionItemKind3[CompletionItemKind3[\"Property\"] = 9] = \"Property\";\n    CompletionItemKind3[CompletionItemKind3[\"Event\"] = 10] = \"Event\";\n    CompletionItemKind3[CompletionItemKind3[\"Operator\"] = 11] = \"Operator\";\n    CompletionItemKind3[CompletionItemKind3[\"Unit\"] = 12] = \"Unit\";\n    CompletionItemKind3[CompletionItemKind3[\"Value\"] = 13] = \"Value\";\n    CompletionItemKind3[CompletionItemKind3[\"Constant\"] = 14] = \"Constant\";\n    CompletionItemKind3[CompletionItemKind3[\"Enum\"] = 15] = \"Enum\";\n    CompletionItemKind3[CompletionItemKind3[\"EnumMember\"] = 16] = \"EnumMember\";\n    CompletionItemKind3[CompletionItemKind3[\"Keyword\"] = 17] = \"Keyword\";\n    CompletionItemKind3[CompletionItemKind3[\"Text\"] = 18] = \"Text\";\n    CompletionItemKind3[CompletionItemKind3[\"Color\"] = 19] = \"Color\";\n    CompletionItemKind3[CompletionItemKind3[\"File\"] = 20] = \"File\";\n    CompletionItemKind3[CompletionItemKind3[\"Reference\"] = 21] = \"Reference\";\n    CompletionItemKind3[CompletionItemKind3[\"Customcolor\"] = 22] = \"Customcolor\";\n    CompletionItemKind3[CompletionItemKind3[\"Folder\"] = 23] = \"Folder\";\n    CompletionItemKind3[CompletionItemKind3[\"TypeParameter\"] = 24] = \"TypeParameter\";\n    CompletionItemKind3[CompletionItemKind3[\"User\"] = 25] = \"User\";\n    CompletionItemKind3[CompletionItemKind3[\"Issue\"] = 26] = \"Issue\";\n    CompletionItemKind3[CompletionItemKind3[\"Snippet\"] = 27] = \"Snippet\";\n  })(CompletionItemKind || (CompletionItemKind = {}));\n  var CompletionItemTag;\n  (function(CompletionItemTag3) {\n    CompletionItemTag3[CompletionItemTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(CompletionItemTag || (CompletionItemTag = {}));\n  var CompletionTriggerKind;\n  (function(CompletionTriggerKind2) {\n    CompletionTriggerKind2[CompletionTriggerKind2[\"Invoke\"] = 0] = \"Invoke\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerCharacter\"] = 1] = \"TriggerCharacter\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerForIncompleteCompletions\"] = 2] = \"TriggerForIncompleteCompletions\";\n  })(CompletionTriggerKind || (CompletionTriggerKind = {}));\n  var ContentWidgetPositionPreference;\n  (function(ContentWidgetPositionPreference2) {\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"EXACT\"] = 0] = \"EXACT\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"ABOVE\"] = 1] = \"ABOVE\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"BELOW\"] = 2] = \"BELOW\";\n  })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));\n  var CursorChangeReason;\n  (function(CursorChangeReason2) {\n    CursorChangeReason2[CursorChangeReason2[\"NotSet\"] = 0] = \"NotSet\";\n    CursorChangeReason2[CursorChangeReason2[\"ContentFlush\"] = 1] = \"ContentFlush\";\n    CursorChangeReason2[CursorChangeReason2[\"RecoverFromMarkers\"] = 2] = \"RecoverFromMarkers\";\n    CursorChangeReason2[CursorChangeReason2[\"Explicit\"] = 3] = \"Explicit\";\n    CursorChangeReason2[CursorChangeReason2[\"Paste\"] = 4] = \"Paste\";\n    CursorChangeReason2[CursorChangeReason2[\"Undo\"] = 5] = \"Undo\";\n    CursorChangeReason2[CursorChangeReason2[\"Redo\"] = 6] = \"Redo\";\n  })(CursorChangeReason || (CursorChangeReason = {}));\n  var DefaultEndOfLine;\n  (function(DefaultEndOfLine2) {\n    DefaultEndOfLine2[DefaultEndOfLine2[\"LF\"] = 1] = \"LF\";\n    DefaultEndOfLine2[DefaultEndOfLine2[\"CRLF\"] = 2] = \"CRLF\";\n  })(DefaultEndOfLine || (DefaultEndOfLine = {}));\n  var DocumentHighlightKind2;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {}));\n  var EditorAutoIndentStrategy;\n  (function(EditorAutoIndentStrategy2) {\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"None\"] = 0] = \"None\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Keep\"] = 1] = \"Keep\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Brackets\"] = 2] = \"Brackets\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Advanced\"] = 3] = \"Advanced\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Full\"] = 4] = \"Full\";\n  })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));\n  var EditorOption;\n  (function(EditorOption2) {\n    EditorOption2[EditorOption2[\"acceptSuggestionOnCommitCharacter\"] = 0] = \"acceptSuggestionOnCommitCharacter\";\n    EditorOption2[EditorOption2[\"acceptSuggestionOnEnter\"] = 1] = \"acceptSuggestionOnEnter\";\n    EditorOption2[EditorOption2[\"accessibilitySupport\"] = 2] = \"accessibilitySupport\";\n    EditorOption2[EditorOption2[\"accessibilityPageSize\"] = 3] = \"accessibilityPageSize\";\n    EditorOption2[EditorOption2[\"ariaLabel\"] = 4] = \"ariaLabel\";\n    EditorOption2[EditorOption2[\"ariaRequired\"] = 5] = \"ariaRequired\";\n    EditorOption2[EditorOption2[\"autoClosingBrackets\"] = 6] = \"autoClosingBrackets\";\n    EditorOption2[EditorOption2[\"autoClosingComments\"] = 7] = \"autoClosingComments\";\n    EditorOption2[EditorOption2[\"screenReaderAnnounceInlineSuggestion\"] = 8] = \"screenReaderAnnounceInlineSuggestion\";\n    EditorOption2[EditorOption2[\"autoClosingDelete\"] = 9] = \"autoClosingDelete\";\n    EditorOption2[EditorOption2[\"autoClosingOvertype\"] = 10] = \"autoClosingOvertype\";\n    EditorOption2[EditorOption2[\"autoClosingQuotes\"] = 11] = \"autoClosingQuotes\";\n    EditorOption2[EditorOption2[\"autoIndent\"] = 12] = \"autoIndent\";\n    EditorOption2[EditorOption2[\"automaticLayout\"] = 13] = \"automaticLayout\";\n    EditorOption2[EditorOption2[\"autoSurround\"] = 14] = \"autoSurround\";\n    EditorOption2[EditorOption2[\"bracketPairColorization\"] = 15] = \"bracketPairColorization\";\n    EditorOption2[EditorOption2[\"guides\"] = 16] = \"guides\";\n    EditorOption2[EditorOption2[\"codeLens\"] = 17] = \"codeLens\";\n    EditorOption2[EditorOption2[\"codeLensFontFamily\"] = 18] = \"codeLensFontFamily\";\n    EditorOption2[EditorOption2[\"codeLensFontSize\"] = 19] = \"codeLensFontSize\";\n    EditorOption2[EditorOption2[\"colorDecorators\"] = 20] = \"colorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsLimit\"] = 21] = \"colorDecoratorsLimit\";\n    EditorOption2[EditorOption2[\"columnSelection\"] = 22] = \"columnSelection\";\n    EditorOption2[EditorOption2[\"comments\"] = 23] = \"comments\";\n    EditorOption2[EditorOption2[\"contextmenu\"] = 24] = \"contextmenu\";\n    EditorOption2[EditorOption2[\"copyWithSyntaxHighlighting\"] = 25] = \"copyWithSyntaxHighlighting\";\n    EditorOption2[EditorOption2[\"cursorBlinking\"] = 26] = \"cursorBlinking\";\n    EditorOption2[EditorOption2[\"cursorSmoothCaretAnimation\"] = 27] = \"cursorSmoothCaretAnimation\";\n    EditorOption2[EditorOption2[\"cursorStyle\"] = 28] = \"cursorStyle\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLines\"] = 29] = \"cursorSurroundingLines\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLinesStyle\"] = 30] = \"cursorSurroundingLinesStyle\";\n    EditorOption2[EditorOption2[\"cursorWidth\"] = 31] = \"cursorWidth\";\n    EditorOption2[EditorOption2[\"disableLayerHinting\"] = 32] = \"disableLayerHinting\";\n    EditorOption2[EditorOption2[\"disableMonospaceOptimizations\"] = 33] = \"disableMonospaceOptimizations\";\n    EditorOption2[EditorOption2[\"domReadOnly\"] = 34] = \"domReadOnly\";\n    EditorOption2[EditorOption2[\"dragAndDrop\"] = 35] = \"dragAndDrop\";\n    EditorOption2[EditorOption2[\"dropIntoEditor\"] = 36] = \"dropIntoEditor\";\n    EditorOption2[EditorOption2[\"emptySelectionClipboard\"] = 37] = \"emptySelectionClipboard\";\n    EditorOption2[EditorOption2[\"experimentalWhitespaceRendering\"] = 38] = \"experimentalWhitespaceRendering\";\n    EditorOption2[EditorOption2[\"extraEditorClassName\"] = 39] = \"extraEditorClassName\";\n    EditorOption2[EditorOption2[\"fastScrollSensitivity\"] = 40] = \"fastScrollSensitivity\";\n    EditorOption2[EditorOption2[\"find\"] = 41] = \"find\";\n    EditorOption2[EditorOption2[\"fixedOverflowWidgets\"] = 42] = \"fixedOverflowWidgets\";\n    EditorOption2[EditorOption2[\"folding\"] = 43] = \"folding\";\n    EditorOption2[EditorOption2[\"foldingStrategy\"] = 44] = \"foldingStrategy\";\n    EditorOption2[EditorOption2[\"foldingHighlight\"] = 45] = \"foldingHighlight\";\n    EditorOption2[EditorOption2[\"foldingImportsByDefault\"] = 46] = \"foldingImportsByDefault\";\n    EditorOption2[EditorOption2[\"foldingMaximumRegions\"] = 47] = \"foldingMaximumRegions\";\n    EditorOption2[EditorOption2[\"unfoldOnClickAfterEndOfLine\"] = 48] = \"unfoldOnClickAfterEndOfLine\";\n    EditorOption2[EditorOption2[\"fontFamily\"] = 49] = \"fontFamily\";\n    EditorOption2[EditorOption2[\"fontInfo\"] = 50] = \"fontInfo\";\n    EditorOption2[EditorOption2[\"fontLigatures\"] = 51] = \"fontLigatures\";\n    EditorOption2[EditorOption2[\"fontSize\"] = 52] = \"fontSize\";\n    EditorOption2[EditorOption2[\"fontWeight\"] = 53] = \"fontWeight\";\n    EditorOption2[EditorOption2[\"fontVariations\"] = 54] = \"fontVariations\";\n    EditorOption2[EditorOption2[\"formatOnPaste\"] = 55] = \"formatOnPaste\";\n    EditorOption2[EditorOption2[\"formatOnType\"] = 56] = \"formatOnType\";\n    EditorOption2[EditorOption2[\"glyphMargin\"] = 57] = \"glyphMargin\";\n    EditorOption2[EditorOption2[\"gotoLocation\"] = 58] = \"gotoLocation\";\n    EditorOption2[EditorOption2[\"hideCursorInOverviewRuler\"] = 59] = \"hideCursorInOverviewRuler\";\n    EditorOption2[EditorOption2[\"hover\"] = 60] = \"hover\";\n    EditorOption2[EditorOption2[\"inDiffEditor\"] = 61] = \"inDiffEditor\";\n    EditorOption2[EditorOption2[\"inlineSuggest\"] = 62] = \"inlineSuggest\";\n    EditorOption2[EditorOption2[\"inlineEdit\"] = 63] = \"inlineEdit\";\n    EditorOption2[EditorOption2[\"letterSpacing\"] = 64] = \"letterSpacing\";\n    EditorOption2[EditorOption2[\"lightbulb\"] = 65] = \"lightbulb\";\n    EditorOption2[EditorOption2[\"lineDecorationsWidth\"] = 66] = \"lineDecorationsWidth\";\n    EditorOption2[EditorOption2[\"lineHeight\"] = 67] = \"lineHeight\";\n    EditorOption2[EditorOption2[\"lineNumbers\"] = 68] = \"lineNumbers\";\n    EditorOption2[EditorOption2[\"lineNumbersMinChars\"] = 69] = \"lineNumbersMinChars\";\n    EditorOption2[EditorOption2[\"linkedEditing\"] = 70] = \"linkedEditing\";\n    EditorOption2[EditorOption2[\"links\"] = 71] = \"links\";\n    EditorOption2[EditorOption2[\"matchBrackets\"] = 72] = \"matchBrackets\";\n    EditorOption2[EditorOption2[\"minimap\"] = 73] = \"minimap\";\n    EditorOption2[EditorOption2[\"mouseStyle\"] = 74] = \"mouseStyle\";\n    EditorOption2[EditorOption2[\"mouseWheelScrollSensitivity\"] = 75] = \"mouseWheelScrollSensitivity\";\n    EditorOption2[EditorOption2[\"mouseWheelZoom\"] = 76] = \"mouseWheelZoom\";\n    EditorOption2[EditorOption2[\"multiCursorMergeOverlapping\"] = 77] = \"multiCursorMergeOverlapping\";\n    EditorOption2[EditorOption2[\"multiCursorModifier\"] = 78] = \"multiCursorModifier\";\n    EditorOption2[EditorOption2[\"multiCursorPaste\"] = 79] = \"multiCursorPaste\";\n    EditorOption2[EditorOption2[\"multiCursorLimit\"] = 80] = \"multiCursorLimit\";\n    EditorOption2[EditorOption2[\"occurrencesHighlight\"] = 81] = \"occurrencesHighlight\";\n    EditorOption2[EditorOption2[\"overviewRulerBorder\"] = 82] = \"overviewRulerBorder\";\n    EditorOption2[EditorOption2[\"overviewRulerLanes\"] = 83] = \"overviewRulerLanes\";\n    EditorOption2[EditorOption2[\"padding\"] = 84] = \"padding\";\n    EditorOption2[EditorOption2[\"pasteAs\"] = 85] = \"pasteAs\";\n    EditorOption2[EditorOption2[\"parameterHints\"] = 86] = \"parameterHints\";\n    EditorOption2[EditorOption2[\"peekWidgetDefaultFocus\"] = 87] = \"peekWidgetDefaultFocus\";\n    EditorOption2[EditorOption2[\"definitionLinkOpensInPeek\"] = 88] = \"definitionLinkOpensInPeek\";\n    EditorOption2[EditorOption2[\"quickSuggestions\"] = 89] = \"quickSuggestions\";\n    EditorOption2[EditorOption2[\"quickSuggestionsDelay\"] = 90] = \"quickSuggestionsDelay\";\n    EditorOption2[EditorOption2[\"readOnly\"] = 91] = \"readOnly\";\n    EditorOption2[EditorOption2[\"readOnlyMessage\"] = 92] = \"readOnlyMessage\";\n    EditorOption2[EditorOption2[\"renameOnType\"] = 93] = \"renameOnType\";\n    EditorOption2[EditorOption2[\"renderControlCharacters\"] = 94] = \"renderControlCharacters\";\n    EditorOption2[EditorOption2[\"renderFinalNewline\"] = 95] = \"renderFinalNewline\";\n    EditorOption2[EditorOption2[\"renderLineHighlight\"] = 96] = \"renderLineHighlight\";\n    EditorOption2[EditorOption2[\"renderLineHighlightOnlyWhenFocus\"] = 97] = \"renderLineHighlightOnlyWhenFocus\";\n    EditorOption2[EditorOption2[\"renderValidationDecorations\"] = 98] = \"renderValidationDecorations\";\n    EditorOption2[EditorOption2[\"renderWhitespace\"] = 99] = \"renderWhitespace\";\n    EditorOption2[EditorOption2[\"revealHorizontalRightPadding\"] = 100] = \"revealHorizontalRightPadding\";\n    EditorOption2[EditorOption2[\"roundedSelection\"] = 101] = \"roundedSelection\";\n    EditorOption2[EditorOption2[\"rulers\"] = 102] = \"rulers\";\n    EditorOption2[EditorOption2[\"scrollbar\"] = 103] = \"scrollbar\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastColumn\"] = 104] = \"scrollBeyondLastColumn\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastLine\"] = 105] = \"scrollBeyondLastLine\";\n    EditorOption2[EditorOption2[\"scrollPredominantAxis\"] = 106] = \"scrollPredominantAxis\";\n    EditorOption2[EditorOption2[\"selectionClipboard\"] = 107] = \"selectionClipboard\";\n    EditorOption2[EditorOption2[\"selectionHighlight\"] = 108] = \"selectionHighlight\";\n    EditorOption2[EditorOption2[\"selectOnLineNumbers\"] = 109] = \"selectOnLineNumbers\";\n    EditorOption2[EditorOption2[\"showFoldingControls\"] = 110] = \"showFoldingControls\";\n    EditorOption2[EditorOption2[\"showUnused\"] = 111] = \"showUnused\";\n    EditorOption2[EditorOption2[\"snippetSuggestions\"] = 112] = \"snippetSuggestions\";\n    EditorOption2[EditorOption2[\"smartSelect\"] = 113] = \"smartSelect\";\n    EditorOption2[EditorOption2[\"smoothScrolling\"] = 114] = \"smoothScrolling\";\n    EditorOption2[EditorOption2[\"stickyScroll\"] = 115] = \"stickyScroll\";\n    EditorOption2[EditorOption2[\"stickyTabStops\"] = 116] = \"stickyTabStops\";\n    EditorOption2[EditorOption2[\"stopRenderingLineAfter\"] = 117] = \"stopRenderingLineAfter\";\n    EditorOption2[EditorOption2[\"suggest\"] = 118] = \"suggest\";\n    EditorOption2[EditorOption2[\"suggestFontSize\"] = 119] = \"suggestFontSize\";\n    EditorOption2[EditorOption2[\"suggestLineHeight\"] = 120] = \"suggestLineHeight\";\n    EditorOption2[EditorOption2[\"suggestOnTriggerCharacters\"] = 121] = \"suggestOnTriggerCharacters\";\n    EditorOption2[EditorOption2[\"suggestSelection\"] = 122] = \"suggestSelection\";\n    EditorOption2[EditorOption2[\"tabCompletion\"] = 123] = \"tabCompletion\";\n    EditorOption2[EditorOption2[\"tabIndex\"] = 124] = \"tabIndex\";\n    EditorOption2[EditorOption2[\"unicodeHighlighting\"] = 125] = \"unicodeHighlighting\";\n    EditorOption2[EditorOption2[\"unusualLineTerminators\"] = 126] = \"unusualLineTerminators\";\n    EditorOption2[EditorOption2[\"useShadowDOM\"] = 127] = \"useShadowDOM\";\n    EditorOption2[EditorOption2[\"useTabStops\"] = 128] = \"useTabStops\";\n    EditorOption2[EditorOption2[\"wordBreak\"] = 129] = \"wordBreak\";\n    EditorOption2[EditorOption2[\"wordSegmenterLocales\"] = 130] = \"wordSegmenterLocales\";\n    EditorOption2[EditorOption2[\"wordSeparators\"] = 131] = \"wordSeparators\";\n    EditorOption2[EditorOption2[\"wordWrap\"] = 132] = \"wordWrap\";\n    EditorOption2[EditorOption2[\"wordWrapBreakAfterCharacters\"] = 133] = \"wordWrapBreakAfterCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapBreakBeforeCharacters\"] = 134] = \"wordWrapBreakBeforeCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapColumn\"] = 135] = \"wordWrapColumn\";\n    EditorOption2[EditorOption2[\"wordWrapOverride1\"] = 136] = \"wordWrapOverride1\";\n    EditorOption2[EditorOption2[\"wordWrapOverride2\"] = 137] = \"wordWrapOverride2\";\n    EditorOption2[EditorOption2[\"wrappingIndent\"] = 138] = \"wrappingIndent\";\n    EditorOption2[EditorOption2[\"wrappingStrategy\"] = 139] = \"wrappingStrategy\";\n    EditorOption2[EditorOption2[\"showDeprecated\"] = 140] = \"showDeprecated\";\n    EditorOption2[EditorOption2[\"inlayHints\"] = 141] = \"inlayHints\";\n    EditorOption2[EditorOption2[\"editorClassName\"] = 142] = \"editorClassName\";\n    EditorOption2[EditorOption2[\"pixelRatio\"] = 143] = \"pixelRatio\";\n    EditorOption2[EditorOption2[\"tabFocusMode\"] = 144] = \"tabFocusMode\";\n    EditorOption2[EditorOption2[\"layoutInfo\"] = 145] = \"layoutInfo\";\n    EditorOption2[EditorOption2[\"wrappingInfo\"] = 146] = \"wrappingInfo\";\n    EditorOption2[EditorOption2[\"defaultColorDecorators\"] = 147] = \"defaultColorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsActivatedOn\"] = 148] = \"colorDecoratorsActivatedOn\";\n    EditorOption2[EditorOption2[\"inlineCompletionsAccessibilityVerbose\"] = 149] = \"inlineCompletionsAccessibilityVerbose\";\n  })(EditorOption || (EditorOption = {}));\n  var EndOfLinePreference;\n  (function(EndOfLinePreference2) {\n    EndOfLinePreference2[EndOfLinePreference2[\"TextDefined\"] = 0] = \"TextDefined\";\n    EndOfLinePreference2[EndOfLinePreference2[\"LF\"] = 1] = \"LF\";\n    EndOfLinePreference2[EndOfLinePreference2[\"CRLF\"] = 2] = \"CRLF\";\n  })(EndOfLinePreference || (EndOfLinePreference = {}));\n  var EndOfLineSequence;\n  (function(EndOfLineSequence2) {\n    EndOfLineSequence2[EndOfLineSequence2[\"LF\"] = 0] = \"LF\";\n    EndOfLineSequence2[EndOfLineSequence2[\"CRLF\"] = 1] = \"CRLF\";\n  })(EndOfLineSequence || (EndOfLineSequence = {}));\n  var GlyphMarginLane;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane || (GlyphMarginLane = {}));\n  var HoverVerbosityAction2;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {}));\n  var IndentAction;\n  (function(IndentAction2) {\n    IndentAction2[IndentAction2[\"None\"] = 0] = \"None\";\n    IndentAction2[IndentAction2[\"Indent\"] = 1] = \"Indent\";\n    IndentAction2[IndentAction2[\"IndentOutdent\"] = 2] = \"IndentOutdent\";\n    IndentAction2[IndentAction2[\"Outdent\"] = 3] = \"Outdent\";\n  })(IndentAction || (IndentAction = {}));\n  var InjectedTextCursorStops;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops || (InjectedTextCursorStops = {}));\n  var InlayHintKind2;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind2 || (InlayHintKind2 = {}));\n  var InlineCompletionTriggerKind2;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {}));\n  var InlineEditTriggerKind2;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {}));\n  var KeyCode;\n  (function(KeyCode2) {\n    KeyCode2[KeyCode2[\"DependsOnKbLayout\"] = -1] = \"DependsOnKbLayout\";\n    KeyCode2[KeyCode2[\"Unknown\"] = 0] = \"Unknown\";\n    KeyCode2[KeyCode2[\"Backspace\"] = 1] = \"Backspace\";\n    KeyCode2[KeyCode2[\"Tab\"] = 2] = \"Tab\";\n    KeyCode2[KeyCode2[\"Enter\"] = 3] = \"Enter\";\n    KeyCode2[KeyCode2[\"Shift\"] = 4] = \"Shift\";\n    KeyCode2[KeyCode2[\"Ctrl\"] = 5] = \"Ctrl\";\n    KeyCode2[KeyCode2[\"Alt\"] = 6] = \"Alt\";\n    KeyCode2[KeyCode2[\"PauseBreak\"] = 7] = \"PauseBreak\";\n    KeyCode2[KeyCode2[\"CapsLock\"] = 8] = \"CapsLock\";\n    KeyCode2[KeyCode2[\"Escape\"] = 9] = \"Escape\";\n    KeyCode2[KeyCode2[\"Space\"] = 10] = \"Space\";\n    KeyCode2[KeyCode2[\"PageUp\"] = 11] = \"PageUp\";\n    KeyCode2[KeyCode2[\"PageDown\"] = 12] = \"PageDown\";\n    KeyCode2[KeyCode2[\"End\"] = 13] = \"End\";\n    KeyCode2[KeyCode2[\"Home\"] = 14] = \"Home\";\n    KeyCode2[KeyCode2[\"LeftArrow\"] = 15] = \"LeftArrow\";\n    KeyCode2[KeyCode2[\"UpArrow\"] = 16] = \"UpArrow\";\n    KeyCode2[KeyCode2[\"RightArrow\"] = 17] = \"RightArrow\";\n    KeyCode2[KeyCode2[\"DownArrow\"] = 18] = \"DownArrow\";\n    KeyCode2[KeyCode2[\"Insert\"] = 19] = \"Insert\";\n    KeyCode2[KeyCode2[\"Delete\"] = 20] = \"Delete\";\n    KeyCode2[KeyCode2[\"Digit0\"] = 21] = \"Digit0\";\n    KeyCode2[KeyCode2[\"Digit1\"] = 22] = \"Digit1\";\n    KeyCode2[KeyCode2[\"Digit2\"] = 23] = \"Digit2\";\n    KeyCode2[KeyCode2[\"Digit3\"] = 24] = \"Digit3\";\n    KeyCode2[KeyCode2[\"Digit4\"] = 25] = \"Digit4\";\n    KeyCode2[KeyCode2[\"Digit5\"] = 26] = \"Digit5\";\n    KeyCode2[KeyCode2[\"Digit6\"] = 27] = \"Digit6\";\n    KeyCode2[KeyCode2[\"Digit7\"] = 28] = \"Digit7\";\n    KeyCode2[KeyCode2[\"Digit8\"] = 29] = \"Digit8\";\n    KeyCode2[KeyCode2[\"Digit9\"] = 30] = \"Digit9\";\n    KeyCode2[KeyCode2[\"KeyA\"] = 31] = \"KeyA\";\n    KeyCode2[KeyCode2[\"KeyB\"] = 32] = \"KeyB\";\n    KeyCode2[KeyCode2[\"KeyC\"] = 33] = \"KeyC\";\n    KeyCode2[KeyCode2[\"KeyD\"] = 34] = \"KeyD\";\n    KeyCode2[KeyCode2[\"KeyE\"] = 35] = \"KeyE\";\n    KeyCode2[KeyCode2[\"KeyF\"] = 36] = \"KeyF\";\n    KeyCode2[KeyCode2[\"KeyG\"] = 37] = \"KeyG\";\n    KeyCode2[KeyCode2[\"KeyH\"] = 38] = \"KeyH\";\n    KeyCode2[KeyCode2[\"KeyI\"] = 39] = \"KeyI\";\n    KeyCode2[KeyCode2[\"KeyJ\"] = 40] = \"KeyJ\";\n    KeyCode2[KeyCode2[\"KeyK\"] = 41] = \"KeyK\";\n    KeyCode2[KeyCode2[\"KeyL\"] = 42] = \"KeyL\";\n    KeyCode2[KeyCode2[\"KeyM\"] = 43] = \"KeyM\";\n    KeyCode2[KeyCode2[\"KeyN\"] = 44] = \"KeyN\";\n    KeyCode2[KeyCode2[\"KeyO\"] = 45] = \"KeyO\";\n    KeyCode2[KeyCode2[\"KeyP\"] = 46] = \"KeyP\";\n    KeyCode2[KeyCode2[\"KeyQ\"] = 47] = \"KeyQ\";\n    KeyCode2[KeyCode2[\"KeyR\"] = 48] = \"KeyR\";\n    KeyCode2[KeyCode2[\"KeyS\"] = 49] = \"KeyS\";\n    KeyCode2[KeyCode2[\"KeyT\"] = 50] = \"KeyT\";\n    KeyCode2[KeyCode2[\"KeyU\"] = 51] = \"KeyU\";\n    KeyCode2[KeyCode2[\"KeyV\"] = 52] = \"KeyV\";\n    KeyCode2[KeyCode2[\"KeyW\"] = 53] = \"KeyW\";\n    KeyCode2[KeyCode2[\"KeyX\"] = 54] = \"KeyX\";\n    KeyCode2[KeyCode2[\"KeyY\"] = 55] = \"KeyY\";\n    KeyCode2[KeyCode2[\"KeyZ\"] = 56] = \"KeyZ\";\n    KeyCode2[KeyCode2[\"Meta\"] = 57] = \"Meta\";\n    KeyCode2[KeyCode2[\"ContextMenu\"] = 58] = \"ContextMenu\";\n    KeyCode2[KeyCode2[\"F1\"] = 59] = \"F1\";\n    KeyCode2[KeyCode2[\"F2\"] = 60] = \"F2\";\n    KeyCode2[KeyCode2[\"F3\"] = 61] = \"F3\";\n    KeyCode2[KeyCode2[\"F4\"] = 62] = \"F4\";\n    KeyCode2[KeyCode2[\"F5\"] = 63] = \"F5\";\n    KeyCode2[KeyCode2[\"F6\"] = 64] = \"F6\";\n    KeyCode2[KeyCode2[\"F7\"] = 65] = \"F7\";\n    KeyCode2[KeyCode2[\"F8\"] = 66] = \"F8\";\n    KeyCode2[KeyCode2[\"F9\"] = 67] = \"F9\";\n    KeyCode2[KeyCode2[\"F10\"] = 68] = \"F10\";\n    KeyCode2[KeyCode2[\"F11\"] = 69] = \"F11\";\n    KeyCode2[KeyCode2[\"F12\"] = 70] = \"F12\";\n    KeyCode2[KeyCode2[\"F13\"] = 71] = \"F13\";\n    KeyCode2[KeyCode2[\"F14\"] = 72] = \"F14\";\n    KeyCode2[KeyCode2[\"F15\"] = 73] = \"F15\";\n    KeyCode2[KeyCode2[\"F16\"] = 74] = \"F16\";\n    KeyCode2[KeyCode2[\"F17\"] = 75] = \"F17\";\n    KeyCode2[KeyCode2[\"F18\"] = 76] = \"F18\";\n    KeyCode2[KeyCode2[\"F19\"] = 77] = \"F19\";\n    KeyCode2[KeyCode2[\"F20\"] = 78] = \"F20\";\n    KeyCode2[KeyCode2[\"F21\"] = 79] = \"F21\";\n    KeyCode2[KeyCode2[\"F22\"] = 80] = \"F22\";\n    KeyCode2[KeyCode2[\"F23\"] = 81] = \"F23\";\n    KeyCode2[KeyCode2[\"F24\"] = 82] = \"F24\";\n    KeyCode2[KeyCode2[\"NumLock\"] = 83] = \"NumLock\";\n    KeyCode2[KeyCode2[\"ScrollLock\"] = 84] = \"ScrollLock\";\n    KeyCode2[KeyCode2[\"Semicolon\"] = 85] = \"Semicolon\";\n    KeyCode2[KeyCode2[\"Equal\"] = 86] = \"Equal\";\n    KeyCode2[KeyCode2[\"Comma\"] = 87] = \"Comma\";\n    KeyCode2[KeyCode2[\"Minus\"] = 88] = \"Minus\";\n    KeyCode2[KeyCode2[\"Period\"] = 89] = \"Period\";\n    KeyCode2[KeyCode2[\"Slash\"] = 90] = \"Slash\";\n    KeyCode2[KeyCode2[\"Backquote\"] = 91] = \"Backquote\";\n    KeyCode2[KeyCode2[\"BracketLeft\"] = 92] = \"BracketLeft\";\n    KeyCode2[KeyCode2[\"Backslash\"] = 93] = \"Backslash\";\n    KeyCode2[KeyCode2[\"BracketRight\"] = 94] = \"BracketRight\";\n    KeyCode2[KeyCode2[\"Quote\"] = 95] = \"Quote\";\n    KeyCode2[KeyCode2[\"OEM_8\"] = 96] = \"OEM_8\";\n    KeyCode2[KeyCode2[\"IntlBackslash\"] = 97] = \"IntlBackslash\";\n    KeyCode2[KeyCode2[\"Numpad0\"] = 98] = \"Numpad0\";\n    KeyCode2[KeyCode2[\"Numpad1\"] = 99] = \"Numpad1\";\n    KeyCode2[KeyCode2[\"Numpad2\"] = 100] = \"Numpad2\";\n    KeyCode2[KeyCode2[\"Numpad3\"] = 101] = \"Numpad3\";\n    KeyCode2[KeyCode2[\"Numpad4\"] = 102] = \"Numpad4\";\n    KeyCode2[KeyCode2[\"Numpad5\"] = 103] = \"Numpad5\";\n    KeyCode2[KeyCode2[\"Numpad6\"] = 104] = \"Numpad6\";\n    KeyCode2[KeyCode2[\"Numpad7\"] = 105] = \"Numpad7\";\n    KeyCode2[KeyCode2[\"Numpad8\"] = 106] = \"Numpad8\";\n    KeyCode2[KeyCode2[\"Numpad9\"] = 107] = \"Numpad9\";\n    KeyCode2[KeyCode2[\"NumpadMultiply\"] = 108] = \"NumpadMultiply\";\n    KeyCode2[KeyCode2[\"NumpadAdd\"] = 109] = \"NumpadAdd\";\n    KeyCode2[KeyCode2[\"NUMPAD_SEPARATOR\"] = 110] = \"NUMPAD_SEPARATOR\";\n    KeyCode2[KeyCode2[\"NumpadSubtract\"] = 111] = \"NumpadSubtract\";\n    KeyCode2[KeyCode2[\"NumpadDecimal\"] = 112] = \"NumpadDecimal\";\n    KeyCode2[KeyCode2[\"NumpadDivide\"] = 113] = \"NumpadDivide\";\n    KeyCode2[KeyCode2[\"KEY_IN_COMPOSITION\"] = 114] = \"KEY_IN_COMPOSITION\";\n    KeyCode2[KeyCode2[\"ABNT_C1\"] = 115] = \"ABNT_C1\";\n    KeyCode2[KeyCode2[\"ABNT_C2\"] = 116] = \"ABNT_C2\";\n    KeyCode2[KeyCode2[\"AudioVolumeMute\"] = 117] = \"AudioVolumeMute\";\n    KeyCode2[KeyCode2[\"AudioVolumeUp\"] = 118] = \"AudioVolumeUp\";\n    KeyCode2[KeyCode2[\"AudioVolumeDown\"] = 119] = \"AudioVolumeDown\";\n    KeyCode2[KeyCode2[\"BrowserSearch\"] = 120] = \"BrowserSearch\";\n    KeyCode2[KeyCode2[\"BrowserHome\"] = 121] = \"BrowserHome\";\n    KeyCode2[KeyCode2[\"BrowserBack\"] = 122] = \"BrowserBack\";\n    KeyCode2[KeyCode2[\"BrowserForward\"] = 123] = \"BrowserForward\";\n    KeyCode2[KeyCode2[\"MediaTrackNext\"] = 124] = \"MediaTrackNext\";\n    KeyCode2[KeyCode2[\"MediaTrackPrevious\"] = 125] = \"MediaTrackPrevious\";\n    KeyCode2[KeyCode2[\"MediaStop\"] = 126] = \"MediaStop\";\n    KeyCode2[KeyCode2[\"MediaPlayPause\"] = 127] = \"MediaPlayPause\";\n    KeyCode2[KeyCode2[\"LaunchMediaPlayer\"] = 128] = \"LaunchMediaPlayer\";\n    KeyCode2[KeyCode2[\"LaunchMail\"] = 129] = \"LaunchMail\";\n    KeyCode2[KeyCode2[\"LaunchApp2\"] = 130] = \"LaunchApp2\";\n    KeyCode2[KeyCode2[\"Clear\"] = 131] = \"Clear\";\n    KeyCode2[KeyCode2[\"MAX_VALUE\"] = 132] = \"MAX_VALUE\";\n  })(KeyCode || (KeyCode = {}));\n  var MarkerSeverity;\n  (function(MarkerSeverity2) {\n    MarkerSeverity2[MarkerSeverity2[\"Hint\"] = 1] = \"Hint\";\n    MarkerSeverity2[MarkerSeverity2[\"Info\"] = 2] = \"Info\";\n    MarkerSeverity2[MarkerSeverity2[\"Warning\"] = 4] = \"Warning\";\n    MarkerSeverity2[MarkerSeverity2[\"Error\"] = 8] = \"Error\";\n  })(MarkerSeverity || (MarkerSeverity = {}));\n  var MarkerTag;\n  (function(MarkerTag2) {\n    MarkerTag2[MarkerTag2[\"Unnecessary\"] = 1] = \"Unnecessary\";\n    MarkerTag2[MarkerTag2[\"Deprecated\"] = 2] = \"Deprecated\";\n  })(MarkerTag || (MarkerTag = {}));\n  var MinimapPosition;\n  (function(MinimapPosition2) {\n    MinimapPosition2[MinimapPosition2[\"Inline\"] = 1] = \"Inline\";\n    MinimapPosition2[MinimapPosition2[\"Gutter\"] = 2] = \"Gutter\";\n  })(MinimapPosition || (MinimapPosition = {}));\n  var MinimapSectionHeaderStyle;\n  (function(MinimapSectionHeaderStyle2) {\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Normal\"] = 1] = \"Normal\";\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Underlined\"] = 2] = \"Underlined\";\n  })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));\n  var MouseTargetType;\n  (function(MouseTargetType2) {\n    MouseTargetType2[MouseTargetType2[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n    MouseTargetType2[MouseTargetType2[\"TEXTAREA\"] = 1] = \"TEXTAREA\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_GLYPH_MARGIN\"] = 2] = \"GUTTER_GLYPH_MARGIN\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_NUMBERS\"] = 3] = \"GUTTER_LINE_NUMBERS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_DECORATIONS\"] = 4] = \"GUTTER_LINE_DECORATIONS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_VIEW_ZONE\"] = 5] = \"GUTTER_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_TEXT\"] = 6] = \"CONTENT_TEXT\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_EMPTY\"] = 7] = \"CONTENT_EMPTY\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_VIEW_ZONE\"] = 8] = \"CONTENT_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_WIDGET\"] = 9] = \"CONTENT_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OVERVIEW_RULER\"] = 10] = \"OVERVIEW_RULER\";\n    MouseTargetType2[MouseTargetType2[\"SCROLLBAR\"] = 11] = \"SCROLLBAR\";\n    MouseTargetType2[MouseTargetType2[\"OVERLAY_WIDGET\"] = 12] = \"OVERLAY_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OUTSIDE_EDITOR\"] = 13] = \"OUTSIDE_EDITOR\";\n  })(MouseTargetType || (MouseTargetType = {}));\n  var NewSymbolNameTag2;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {}));\n  var NewSymbolNameTriggerKind2;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {}));\n  var OverlayWidgetPositionPreference;\n  (function(OverlayWidgetPositionPreference2) {\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_RIGHT_CORNER\"] = 0] = \"TOP_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"BOTTOM_RIGHT_CORNER\"] = 1] = \"BOTTOM_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_CENTER\"] = 2] = \"TOP_CENTER\";\n  })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));\n  var OverviewRulerLane;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane || (OverviewRulerLane = {}));\n  var PartialAcceptTriggerKind;\n  (function(PartialAcceptTriggerKind2) {\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Word\"] = 0] = \"Word\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Line\"] = 1] = \"Line\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Suggest\"] = 2] = \"Suggest\";\n  })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));\n  var PositionAffinity;\n  (function(PositionAffinity2) {\n    PositionAffinity2[PositionAffinity2[\"Left\"] = 0] = \"Left\";\n    PositionAffinity2[PositionAffinity2[\"Right\"] = 1] = \"Right\";\n    PositionAffinity2[PositionAffinity2[\"None\"] = 2] = \"None\";\n    PositionAffinity2[PositionAffinity2[\"LeftOfInjectedText\"] = 3] = \"LeftOfInjectedText\";\n    PositionAffinity2[PositionAffinity2[\"RightOfInjectedText\"] = 4] = \"RightOfInjectedText\";\n  })(PositionAffinity || (PositionAffinity = {}));\n  var RenderLineNumbersType;\n  (function(RenderLineNumbersType2) {\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Off\"] = 0] = \"Off\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"On\"] = 1] = \"On\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Relative\"] = 2] = \"Relative\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Interval\"] = 3] = \"Interval\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Custom\"] = 4] = \"Custom\";\n  })(RenderLineNumbersType || (RenderLineNumbersType = {}));\n  var RenderMinimap;\n  (function(RenderMinimap2) {\n    RenderMinimap2[RenderMinimap2[\"None\"] = 0] = \"None\";\n    RenderMinimap2[RenderMinimap2[\"Text\"] = 1] = \"Text\";\n    RenderMinimap2[RenderMinimap2[\"Blocks\"] = 2] = \"Blocks\";\n  })(RenderMinimap || (RenderMinimap = {}));\n  var ScrollType;\n  (function(ScrollType2) {\n    ScrollType2[ScrollType2[\"Smooth\"] = 0] = \"Smooth\";\n    ScrollType2[ScrollType2[\"Immediate\"] = 1] = \"Immediate\";\n  })(ScrollType || (ScrollType = {}));\n  var ScrollbarVisibility;\n  (function(ScrollbarVisibility2) {\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Auto\"] = 1] = \"Auto\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Hidden\"] = 2] = \"Hidden\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Visible\"] = 3] = \"Visible\";\n  })(ScrollbarVisibility || (ScrollbarVisibility = {}));\n  var SelectionDirection;\n  (function(SelectionDirection2) {\n    SelectionDirection2[SelectionDirection2[\"LTR\"] = 0] = \"LTR\";\n    SelectionDirection2[SelectionDirection2[\"RTL\"] = 1] = \"RTL\";\n  })(SelectionDirection || (SelectionDirection = {}));\n  var ShowLightbulbIconMode;\n  (function(ShowLightbulbIconMode2) {\n    ShowLightbulbIconMode2[\"Off\"] = \"off\";\n    ShowLightbulbIconMode2[\"OnCode\"] = \"onCode\";\n    ShowLightbulbIconMode2[\"On\"] = \"on\";\n  })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}));\n  var SignatureHelpTriggerKind2;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {}));\n  var SymbolKind;\n  (function(SymbolKind3) {\n    SymbolKind3[SymbolKind3[\"File\"] = 0] = \"File\";\n    SymbolKind3[SymbolKind3[\"Module\"] = 1] = \"Module\";\n    SymbolKind3[SymbolKind3[\"Namespace\"] = 2] = \"Namespace\";\n    SymbolKind3[SymbolKind3[\"Package\"] = 3] = \"Package\";\n    SymbolKind3[SymbolKind3[\"Class\"] = 4] = \"Class\";\n    SymbolKind3[SymbolKind3[\"Method\"] = 5] = \"Method\";\n    SymbolKind3[SymbolKind3[\"Property\"] = 6] = \"Property\";\n    SymbolKind3[SymbolKind3[\"Field\"] = 7] = \"Field\";\n    SymbolKind3[SymbolKind3[\"Constructor\"] = 8] = \"Constructor\";\n    SymbolKind3[SymbolKind3[\"Enum\"] = 9] = \"Enum\";\n    SymbolKind3[SymbolKind3[\"Interface\"] = 10] = \"Interface\";\n    SymbolKind3[SymbolKind3[\"Function\"] = 11] = \"Function\";\n    SymbolKind3[SymbolKind3[\"Variable\"] = 12] = \"Variable\";\n    SymbolKind3[SymbolKind3[\"Constant\"] = 13] = \"Constant\";\n    SymbolKind3[SymbolKind3[\"String\"] = 14] = \"String\";\n    SymbolKind3[SymbolKind3[\"Number\"] = 15] = \"Number\";\n    SymbolKind3[SymbolKind3[\"Boolean\"] = 16] = \"Boolean\";\n    SymbolKind3[SymbolKind3[\"Array\"] = 17] = \"Array\";\n    SymbolKind3[SymbolKind3[\"Object\"] = 18] = \"Object\";\n    SymbolKind3[SymbolKind3[\"Key\"] = 19] = \"Key\";\n    SymbolKind3[SymbolKind3[\"Null\"] = 20] = \"Null\";\n    SymbolKind3[SymbolKind3[\"EnumMember\"] = 21] = \"EnumMember\";\n    SymbolKind3[SymbolKind3[\"Struct\"] = 22] = \"Struct\";\n    SymbolKind3[SymbolKind3[\"Event\"] = 23] = \"Event\";\n    SymbolKind3[SymbolKind3[\"Operator\"] = 24] = \"Operator\";\n    SymbolKind3[SymbolKind3[\"TypeParameter\"] = 25] = \"TypeParameter\";\n  })(SymbolKind || (SymbolKind = {}));\n  var SymbolTag;\n  (function(SymbolTag3) {\n    SymbolTag3[SymbolTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(SymbolTag || (SymbolTag = {}));\n  var TextEditorCursorBlinkingStyle;\n  (function(TextEditorCursorBlinkingStyle2) {\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Hidden\"] = 0] = \"Hidden\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Blink\"] = 1] = \"Blink\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Smooth\"] = 2] = \"Smooth\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Phase\"] = 3] = \"Phase\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Expand\"] = 4] = \"Expand\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Solid\"] = 5] = \"Solid\";\n  })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));\n  var TextEditorCursorStyle;\n  (function(TextEditorCursorStyle2) {\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Line\"] = 1] = \"Line\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Block\"] = 2] = \"Block\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Underline\"] = 3] = \"Underline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"LineThin\"] = 4] = \"LineThin\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"BlockOutline\"] = 5] = \"BlockOutline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"UnderlineThin\"] = 6] = \"UnderlineThin\";\n  })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));\n  var TrackedRangeStickiness;\n  (function(TrackedRangeStickiness2) {\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"AlwaysGrowsWhenTypingAtEdges\"] = 0] = \"AlwaysGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"NeverGrowsWhenTypingAtEdges\"] = 1] = \"NeverGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingBefore\"] = 2] = \"GrowsOnlyWhenTypingBefore\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingAfter\"] = 3] = \"GrowsOnlyWhenTypingAfter\";\n  })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));\n  var WrappingIndent;\n  (function(WrappingIndent2) {\n    WrappingIndent2[WrappingIndent2[\"None\"] = 0] = \"None\";\n    WrappingIndent2[WrappingIndent2[\"Same\"] = 1] = \"Same\";\n    WrappingIndent2[WrappingIndent2[\"Indent\"] = 2] = \"Indent\";\n    WrappingIndent2[WrappingIndent2[\"DeepIndent\"] = 3] = \"DeepIndent\";\n  })(WrappingIndent || (WrappingIndent = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js\n  var KeyMod = class {\n    static chord(firstPart, secondPart) {\n      return KeyChord(firstPart, secondPart);\n    }\n  };\n  KeyMod.CtrlCmd = 2048;\n  KeyMod.Shift = 1024;\n  KeyMod.Alt = 512;\n  KeyMod.WinCtrl = 256;\n  function createMonacoBaseAPI() {\n    return {\n      editor: void 0,\n      // undefined override expected here\n      languages: void 0,\n      // undefined override expected here\n      CancellationTokenSource,\n      Emitter,\n      KeyCode,\n      KeyMod,\n      Position,\n      Range,\n      Selection,\n      SelectionDirection,\n      MarkerSeverity,\n      MarkerTag,\n      Uri: URI,\n      Token\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/map.js\n  var _a3;\n  var _b2;\n  var ResourceMapEntry = class {\n    constructor(uri, value) {\n      this.uri = uri;\n      this.value = value;\n    }\n  };\n  function isEntries(arg) {\n    return Array.isArray(arg);\n  }\n  var ResourceMap = class _ResourceMap {\n    constructor(arg, toKey) {\n      this[_a3] = \"ResourceMap\";\n      if (arg instanceof _ResourceMap) {\n        this.map = new Map(arg.map);\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n      } else if (isEntries(arg)) {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n        for (const [resource, value] of arg) {\n          this.set(resource, value);\n        }\n      } else {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = arg !== null && arg !== void 0 ? arg : _ResourceMap.defaultToKey;\n      }\n    }\n    set(resource, value) {\n      this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value));\n      return this;\n    }\n    get(resource) {\n      var _c;\n      return (_c = this.map.get(this.toKey(resource))) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(resource) {\n      return this.map.has(this.toKey(resource));\n    }\n    get size() {\n      return this.map.size;\n    }\n    clear() {\n      this.map.clear();\n    }\n    delete(resource) {\n      return this.map.delete(this.toKey(resource));\n    }\n    forEach(clb, thisArg) {\n      if (typeof thisArg !== \"undefined\") {\n        clb = clb.bind(thisArg);\n      }\n      for (const [_, entry] of this.map) {\n        clb(entry.value, entry.uri, this);\n      }\n    }\n    *values() {\n      for (const entry of this.map.values()) {\n        yield entry.value;\n      }\n    }\n    *keys() {\n      for (const entry of this.map.values()) {\n        yield entry.uri;\n      }\n    }\n    *entries() {\n      for (const entry of this.map.values()) {\n        yield [entry.uri, entry.value];\n      }\n    }\n    *[(_a3 = Symbol.toStringTag, Symbol.iterator)]() {\n      for (const [, entry] of this.map) {\n        yield [entry.uri, entry.value];\n      }\n    }\n  };\n  ResourceMap.defaultToKey = (resource) => resource.toString();\n  var LinkedMap = class {\n    constructor() {\n      this[_b2] = \"LinkedMap\";\n      this._map = /* @__PURE__ */ new Map();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state = 0;\n    }\n    clear() {\n      this._map.clear();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state++;\n    }\n    isEmpty() {\n      return !this._head && !this._tail;\n    }\n    get size() {\n      return this._size;\n    }\n    get first() {\n      var _c;\n      return (_c = this._head) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    get last() {\n      var _c;\n      return (_c = this._tail) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(key) {\n      return this._map.has(key);\n    }\n    get(key, touch = 0) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      if (touch !== 0) {\n        this.touch(item, touch);\n      }\n      return item.value;\n    }\n    set(key, value, touch = 0) {\n      let item = this._map.get(key);\n      if (item) {\n        item.value = value;\n        if (touch !== 0) {\n          this.touch(item, touch);\n        }\n      } else {\n        item = { key, value, next: void 0, previous: void 0 };\n        switch (touch) {\n          case 0:\n            this.addItemLast(item);\n            break;\n          case 1:\n            this.addItemFirst(item);\n            break;\n          case 2:\n            this.addItemLast(item);\n            break;\n          default:\n            this.addItemLast(item);\n            break;\n        }\n        this._map.set(key, item);\n        this._size++;\n      }\n      return this;\n    }\n    delete(key) {\n      return !!this.remove(key);\n    }\n    remove(key) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      this._map.delete(key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    shift() {\n      if (!this._head && !this._tail) {\n        return void 0;\n      }\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      const item = this._head;\n      this._map.delete(item.key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    forEach(callbackfn, thisArg) {\n      const state = this._state;\n      let current = this._head;\n      while (current) {\n        if (thisArg) {\n          callbackfn.bind(thisArg)(current.value, current.key, this);\n        } else {\n          callbackfn(current.value, current.key, this);\n        }\n        if (this._state !== state) {\n          throw new Error(`LinkedMap got modified during iteration.`);\n        }\n        current = current.next;\n      }\n    }\n    keys() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.key, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    values() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.value, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    entries() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: [current.key, current.value], done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    [(_b2 = Symbol.toStringTag, Symbol.iterator)]() {\n      return this.entries();\n    }\n    trimOld(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._head;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.next;\n        currentSize--;\n      }\n      this._head = current;\n      this._size = currentSize;\n      if (current) {\n        current.previous = void 0;\n      }\n      this._state++;\n    }\n    trimNew(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._tail;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.previous;\n        currentSize--;\n      }\n      this._tail = current;\n      this._size = currentSize;\n      if (current) {\n        current.next = void 0;\n      }\n      this._state++;\n    }\n    addItemFirst(item) {\n      if (!this._head && !this._tail) {\n        this._tail = item;\n      } else if (!this._head) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.next = this._head;\n        this._head.previous = item;\n      }\n      this._head = item;\n      this._state++;\n    }\n    addItemLast(item) {\n      if (!this._head && !this._tail) {\n        this._head = item;\n      } else if (!this._tail) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.previous = this._tail;\n        this._tail.next = item;\n      }\n      this._tail = item;\n      this._state++;\n    }\n    removeItem(item) {\n      if (item === this._head && item === this._tail) {\n        this._head = void 0;\n        this._tail = void 0;\n      } else if (item === this._head) {\n        if (!item.next) {\n          throw new Error(\"Invalid list\");\n        }\n        item.next.previous = void 0;\n        this._head = item.next;\n      } else if (item === this._tail) {\n        if (!item.previous) {\n          throw new Error(\"Invalid list\");\n        }\n        item.previous.next = void 0;\n        this._tail = item.previous;\n      } else {\n        const next = item.next;\n        const previous = item.previous;\n        if (!next || !previous) {\n          throw new Error(\"Invalid list\");\n        }\n        next.previous = previous;\n        previous.next = next;\n      }\n      item.next = void 0;\n      item.previous = void 0;\n      this._state++;\n    }\n    touch(item, touch) {\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      if (touch !== 1 && touch !== 2) {\n        return;\n      }\n      if (touch === 1) {\n        if (item === this._head) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._tail) {\n          previous.next = void 0;\n          this._tail = previous;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.previous = void 0;\n        item.next = this._head;\n        this._head.previous = item;\n        this._head = item;\n        this._state++;\n      } else if (touch === 2) {\n        if (item === this._tail) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._head) {\n          next.previous = void 0;\n          this._head = next;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.next = void 0;\n        item.previous = this._tail;\n        this._tail.next = item;\n        this._tail = item;\n        this._state++;\n      }\n    }\n    toJSON() {\n      const data = [];\n      this.forEach((value, key) => {\n        data.push([key, value]);\n      });\n      return data;\n    }\n    fromJSON(data) {\n      this.clear();\n      for (const [key, value] of data) {\n        this.set(key, value);\n      }\n    }\n  };\n  var Cache = class extends LinkedMap {\n    constructor(limit, ratio = 1) {\n      super();\n      this._limit = limit;\n      this._ratio = Math.min(Math.max(0, ratio), 1);\n    }\n    get limit() {\n      return this._limit;\n    }\n    set limit(limit) {\n      this._limit = limit;\n      this.checkTrim();\n    }\n    get(key, touch = 2) {\n      return super.get(key, touch);\n    }\n    peek(key) {\n      return super.get(\n        key,\n        0\n        /* Touch.None */\n      );\n    }\n    set(key, value) {\n      super.set(\n        key,\n        value,\n        2\n        /* Touch.AsNew */\n      );\n      return this;\n    }\n    checkTrim() {\n      if (this.size > this._limit) {\n        this.trim(Math.round(this._limit * this._ratio));\n      }\n    }\n  };\n  var LRUCache = class extends Cache {\n    constructor(limit, ratio = 1) {\n      super(limit, ratio);\n    }\n    trim(newSize) {\n      this.trimOld(newSize);\n    }\n    set(key, value) {\n      super.set(key, value);\n      this.checkTrim();\n      return this;\n    }\n  };\n  var SetMap = class {\n    constructor() {\n      this.map = /* @__PURE__ */ new Map();\n    }\n    add(key, value) {\n      let values2 = this.map.get(key);\n      if (!values2) {\n        values2 = /* @__PURE__ */ new Set();\n        this.map.set(key, values2);\n      }\n      values2.add(value);\n    }\n    delete(key, value) {\n      const values2 = this.map.get(key);\n      if (!values2) {\n        return;\n      }\n      values2.delete(value);\n      if (values2.size === 0) {\n        this.map.delete(key);\n      }\n    }\n    forEach(key, fn) {\n      const values2 = this.map.get(key);\n      if (!values2) {\n        return;\n      }\n      values2.forEach(fn);\n    }\n    get(key) {\n      const values2 = this.map.get(key);\n      if (!values2) {\n        return /* @__PURE__ */ new Set();\n      }\n      return values2;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js\n  var wordClassifierCache = new LRUCache(10);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model.js\n  var OverviewRulerLane2;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane2 || (OverviewRulerLane2 = {}));\n  var GlyphMarginLane2;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane2 || (GlyphMarginLane2 = {}));\n  var InjectedTextCursorStops2;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js\n  function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex === 0) {\n      return true;\n    }\n    const charBefore = text.charCodeAt(matchStartIndex - 1);\n    if (wordSeparators.get(charBefore) !== 0) {\n      return true;\n    }\n    if (charBefore === 13 || charBefore === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const firstCharInMatch = text.charCodeAt(matchStartIndex);\n      if (wordSeparators.get(firstCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex + matchLength === textLength) {\n      return true;\n    }\n    const charAfter = text.charCodeAt(matchStartIndex + matchLength);\n    if (wordSeparators.get(charAfter) !== 0) {\n      return true;\n    }\n    if (charAfter === 13 || charAfter === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1);\n      if (wordSeparators.get(lastCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isValidMatch(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    return leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength);\n  }\n  var Searcher = class {\n    constructor(wordSeparators, searchRegex) {\n      this._wordSeparators = wordSeparators;\n      this._searchRegex = searchRegex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    reset(lastIndex) {\n      this._searchRegex.lastIndex = lastIndex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    next(text) {\n      const textLength = text.length;\n      let m;\n      do {\n        if (this._prevMatchStartIndex + this._prevMatchLength === textLength) {\n          return null;\n        }\n        m = this._searchRegex.exec(text);\n        if (!m) {\n          return null;\n        }\n        const matchStartIndex = m.index;\n        const matchLength = m[0].length;\n        if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) {\n          if (matchLength === 0) {\n            if (getNextCodePoint(text, textLength, this._searchRegex.lastIndex) > 65535) {\n              this._searchRegex.lastIndex += 2;\n            } else {\n              this._searchRegex.lastIndex += 1;\n            }\n            continue;\n          }\n          return null;\n        }\n        this._prevMatchStartIndex = matchStartIndex;\n        this._prevMatchLength = matchLength;\n        if (!this._wordSeparators || isValidMatch(this._wordSeparators, text, textLength, matchStartIndex, matchLength)) {\n          return m;\n        }\n      } while (m);\n      return null;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/assert.js\n  function assertNever(value, message = \"Unreachable\") {\n    throw new Error(message);\n  }\n  function assertFn(condition) {\n    if (!condition()) {\n      debugger;\n      condition();\n      onUnexpectedError(new BugIndicatingError(\"Assertion Failed\"));\n    }\n  }\n  function checkAdjacentItems(items, predicate) {\n    let i = 0;\n    while (i < items.length - 1) {\n      const a2 = items[i];\n      const b = items[i + 1];\n      if (!predicate(a2, b)) {\n        return false;\n      }\n      i++;\n    }\n    return true;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js\n  var UnicodeTextModelHighlighter = class {\n    static computeUnicodeHighlights(model, options, range) {\n      const startLine = range ? range.startLineNumber : 1;\n      const endLine = range ? range.endLineNumber : model.getLineCount();\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const candidates = codePointHighlighter.getCandidateCodePoints();\n      let regex;\n      if (candidates === \"allNonBasicAscii\") {\n        regex = new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\", \"g\");\n      } else {\n        regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, \"g\");\n      }\n      const searcher = new Searcher(null, regex);\n      const ranges = [];\n      let hasMore = false;\n      let m;\n      let ambiguousCharacterCount = 0;\n      let invisibleCharacterCount = 0;\n      let nonBasicAsciiCharacterCount = 0;\n      forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) {\n        const lineContent = model.getLineContent(lineNumber);\n        const lineLength = lineContent.length;\n        searcher.reset(0);\n        do {\n          m = searcher.next(lineContent);\n          if (m) {\n            let startIndex = m.index;\n            let endIndex = m.index + m[0].length;\n            if (startIndex > 0) {\n              const charCodeBefore = lineContent.charCodeAt(startIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                startIndex--;\n              }\n            }\n            if (endIndex + 1 < lineLength) {\n              const charCodeBefore = lineContent.charCodeAt(endIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                endIndex++;\n              }\n            }\n            const str = lineContent.substring(startIndex, endIndex);\n            let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0);\n            if (word && word.endColumn <= startIndex + 1) {\n              word = null;\n            }\n            const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null);\n            if (highlightReason !== 0) {\n              if (highlightReason === 3) {\n                ambiguousCharacterCount++;\n              } else if (highlightReason === 2) {\n                invisibleCharacterCount++;\n              } else if (highlightReason === 1) {\n                nonBasicAsciiCharacterCount++;\n              } else {\n                assertNever(highlightReason);\n              }\n              const MAX_RESULT_LENGTH = 1e3;\n              if (ranges.length >= MAX_RESULT_LENGTH) {\n                hasMore = true;\n                break forLoop;\n              }\n              ranges.push(new Range(lineNumber, startIndex + 1, lineNumber, endIndex + 1));\n            }\n          }\n        } while (m);\n      }\n      return {\n        ranges,\n        hasMore,\n        ambiguousCharacterCount,\n        invisibleCharacterCount,\n        nonBasicAsciiCharacterCount\n      };\n    }\n    static computeUnicodeHighlightReason(char, options) {\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null);\n      switch (reason) {\n        case 0:\n          return null;\n        case 2:\n          return {\n            kind: 1\n            /* UnicodeHighlighterReasonKind.Invisible */\n          };\n        case 3: {\n          const codePoint = char.codePointAt(0);\n          const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint);\n          const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint));\n          return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };\n        }\n        case 1:\n          return {\n            kind: 2\n            /* UnicodeHighlighterReasonKind.NonBasicAscii */\n          };\n      }\n    }\n  };\n  function buildRegExpCharClassExpr(codePoints, flags) {\n    const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(\"\"))}]`;\n    return src;\n  }\n  var CodePointHighlighter = class {\n    constructor(options) {\n      this.options = options;\n      this.allowedCodePoints = new Set(options.allowedCodePoints);\n      this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales));\n    }\n    getCandidateCodePoints() {\n      if (this.options.nonBasicASCII) {\n        return \"allNonBasicAscii\";\n      }\n      const set = /* @__PURE__ */ new Set();\n      if (this.options.invisibleCharacters) {\n        for (const cp of InvisibleCharacters.codePoints) {\n          if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) {\n            set.add(cp);\n          }\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) {\n          set.add(cp);\n        }\n      }\n      for (const cp of this.allowedCodePoints) {\n        set.delete(cp);\n      }\n      return set;\n    }\n    shouldHighlightNonBasicASCII(character, wordContext) {\n      const codePoint = character.codePointAt(0);\n      if (this.allowedCodePoints.has(codePoint)) {\n        return 0;\n      }\n      if (this.options.nonBasicASCII) {\n        return 1;\n      }\n      let hasBasicASCIICharacters = false;\n      let hasNonConfusableNonBasicAsciiCharacter = false;\n      if (wordContext) {\n        for (const char of wordContext) {\n          const codePoint2 = char.codePointAt(0);\n          const isBasicASCII2 = isBasicASCII(char);\n          hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2;\n          if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) {\n            hasNonConfusableNonBasicAsciiCharacter = true;\n          }\n        }\n      }\n      if (\n        /* Don't allow mixing weird looking characters with ASCII */\n        !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */\n        hasNonConfusableNonBasicAsciiCharacter\n      ) {\n        return 0;\n      }\n      if (this.options.invisibleCharacters) {\n        if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) {\n          return 2;\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        if (this.ambiguousCharacters.isAmbiguous(codePoint)) {\n          return 3;\n        }\n      }\n      return 0;\n    }\n  };\n  function isAllowedInvisibleCharacter(character) {\n    return character === \" \" || character === \"\\n\" || character === \"\t\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js\n  var LinesDiff = class {\n    constructor(changes, moves, hitTimeout) {\n      this.changes = changes;\n      this.moves = moves;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var MovedText = class {\n    constructor(lineRangeMapping, changes) {\n      this.lineRangeMapping = lineRangeMapping;\n      this.changes = changes;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js\n  var OffsetRange = class _OffsetRange {\n    static addRange(range, sortedRanges) {\n      let i = 0;\n      while (i < sortedRanges.length && sortedRanges[i].endExclusive < range.start) {\n        i++;\n      }\n      let j = i;\n      while (j < sortedRanges.length && sortedRanges[j].start <= range.endExclusive) {\n        j++;\n      }\n      if (i === j) {\n        sortedRanges.splice(i, 0, range);\n      } else {\n        const start = Math.min(range.start, sortedRanges[i].start);\n        const end = Math.max(range.endExclusive, sortedRanges[j - 1].endExclusive);\n        sortedRanges.splice(i, j - i, new _OffsetRange(start, end));\n      }\n    }\n    static tryCreate(start, endExclusive) {\n      if (start > endExclusive) {\n        return void 0;\n      }\n      return new _OffsetRange(start, endExclusive);\n    }\n    static ofLength(length) {\n      return new _OffsetRange(0, length);\n    }\n    static ofStartAndLength(start, length) {\n      return new _OffsetRange(start, start + length);\n    }\n    constructor(start, endExclusive) {\n      this.start = start;\n      this.endExclusive = endExclusive;\n      if (start > endExclusive) {\n        throw new BugIndicatingError(`Invalid range: ${this.toString()}`);\n      }\n    }\n    get isEmpty() {\n      return this.start === this.endExclusive;\n    }\n    delta(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive + offset);\n    }\n    deltaStart(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive);\n    }\n    deltaEnd(offset) {\n      return new _OffsetRange(this.start, this.endExclusive + offset);\n    }\n    get length() {\n      return this.endExclusive - this.start;\n    }\n    toString() {\n      return `[${this.start}, ${this.endExclusive})`;\n    }\n    contains(offset) {\n      return this.start <= offset && offset < this.endExclusive;\n    }\n    /**\n     * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n)\n     * The joined range is the smallest range that contains both ranges.\n     */\n    join(other) {\n      return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive));\n    }\n    /**\n     * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n)\n     *\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      if (start <= end) {\n        return new _OffsetRange(start, end);\n      }\n      return void 0;\n    }\n    intersects(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      return start < end;\n    }\n    isBefore(other) {\n      return this.endExclusive <= other.start;\n    }\n    isAfter(other) {\n      return this.start >= other.endExclusive;\n    }\n    slice(arr) {\n      return arr.slice(this.start, this.endExclusive);\n    }\n    substring(str) {\n      return str.substring(this.start, this.endExclusive);\n    }\n    /**\n     * Returns the given value if it is contained in this instance, otherwise the closest value that is contained.\n     * The range must not be empty.\n     */\n    clip(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      return Math.max(this.start, Math.min(this.endExclusive - 1, value));\n    }\n    /**\n     * Returns `r := value + k * length` such that `r` is contained in this range.\n     * The range must not be empty.\n     *\n     * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`.\n     */\n    clipCyclic(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      if (value < this.start) {\n        return this.endExclusive - (this.start - value) % this.length;\n      }\n      if (value >= this.endExclusive) {\n        return this.start + (value - this.start) % this.length;\n      }\n      return value;\n    }\n    forEach(f2) {\n      for (let i = this.start; i < this.endExclusive; i++) {\n        f2(i);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arraysFind.js\n  function findLastMonotonous(array, predicate) {\n    const idx = findLastIdxMonotonous(array, predicate);\n    return idx === -1 ? void 0 : array[idx];\n  }\n  function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        i = k + 1;\n      } else {\n        j = k;\n      }\n    }\n    return i - 1;\n  }\n  function findFirstMonotonous(array, predicate) {\n    const idx = findFirstIdxMonotonousOrArrLen(array, predicate);\n    return idx === array.length ? void 0 : array[idx];\n  }\n  function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        j = k;\n      } else {\n        i = k + 1;\n      }\n    }\n    return i;\n  }\n  var MonotonousArray = class _MonotonousArray {\n    constructor(_array) {\n      this._array = _array;\n      this._findLastMonotonousLastIdx = 0;\n    }\n    /**\n     * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`!\n     * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`.\n     */\n    findLastMonotonous(predicate) {\n      if (_MonotonousArray.assertInvariants) {\n        if (this._prevFindLastPredicate) {\n          for (const item of this._array) {\n            if (this._prevFindLastPredicate(item) && !predicate(item)) {\n              throw new Error(\"MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.\");\n            }\n          }\n        }\n        this._prevFindLastPredicate = predicate;\n      }\n      const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx);\n      this._findLastMonotonousLastIdx = idx + 1;\n      return idx === -1 ? void 0 : this._array[idx];\n    }\n  };\n  MonotonousArray.assertInvariants = false;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js\n  var LineRange = class _LineRange {\n    static fromRangeInclusive(range) {\n      return new _LineRange(range.startLineNumber, range.endLineNumber + 1);\n    }\n    /**\n     * @param lineRanges An array of sorted line ranges.\n     */\n    static joinMany(lineRanges) {\n      if (lineRanges.length === 0) {\n        return [];\n      }\n      let result = new LineRangeSet(lineRanges[0].slice());\n      for (let i = 1; i < lineRanges.length; i++) {\n        result = result.getUnion(new LineRangeSet(lineRanges[i].slice()));\n      }\n      return result.ranges;\n    }\n    static join(lineRanges) {\n      if (lineRanges.length === 0) {\n        throw new BugIndicatingError(\"lineRanges cannot be empty\");\n      }\n      let startLineNumber = lineRanges[0].startLineNumber;\n      let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive;\n      for (let i = 1; i < lineRanges.length; i++) {\n        startLineNumber = Math.min(startLineNumber, lineRanges[i].startLineNumber);\n        endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i].endLineNumberExclusive);\n      }\n      return new _LineRange(startLineNumber, endLineNumberExclusive);\n    }\n    static ofLength(startLineNumber, length) {\n      return new _LineRange(startLineNumber, startLineNumber + length);\n    }\n    /**\n     * @internal\n     */\n    static deserialize(lineRange) {\n      return new _LineRange(lineRange[0], lineRange[1]);\n    }\n    constructor(startLineNumber, endLineNumberExclusive) {\n      if (startLineNumber > endLineNumberExclusive) {\n        throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`);\n      }\n      this.startLineNumber = startLineNumber;\n      this.endLineNumberExclusive = endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range contains the given line number.\n     */\n    contains(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range is empty.\n     */\n    get isEmpty() {\n      return this.startLineNumber === this.endLineNumberExclusive;\n    }\n    /**\n     * Moves this line range by the given offset of line numbers.\n     */\n    delta(offset) {\n      return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset);\n    }\n    deltaLength(offset) {\n      return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset);\n    }\n    /**\n     * The number of lines this line range spans.\n     */\n    get length() {\n      return this.endLineNumberExclusive - this.startLineNumber;\n    }\n    /**\n     * Creates a line range that combines this and the given line range.\n     */\n    join(other) {\n      return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive));\n    }\n    toString() {\n      return `[${this.startLineNumber},${this.endLineNumberExclusive})`;\n    }\n    /**\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber);\n      const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive);\n      if (startLineNumber <= endLineNumberExclusive) {\n        return new _LineRange(startLineNumber, endLineNumberExclusive);\n      }\n      return void 0;\n    }\n    intersectsStrict(other) {\n      return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive;\n    }\n    overlapOrTouch(other) {\n      return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive;\n    }\n    equals(b) {\n      return this.startLineNumber === b.startLineNumber && this.endLineNumberExclusive === b.endLineNumberExclusive;\n    }\n    toInclusiveRange() {\n      if (this.isEmpty) {\n        return null;\n      }\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER);\n    }\n    /**\n     * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position!\n    */\n    toExclusiveRange() {\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive, 1);\n    }\n    mapToLineArray(f2) {\n      const result = [];\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        result.push(f2(lineNumber));\n      }\n      return result;\n    }\n    forEach(f2) {\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        f2(lineNumber);\n      }\n    }\n    /**\n     * @internal\n     */\n    serialize() {\n      return [this.startLineNumber, this.endLineNumberExclusive];\n    }\n    includes(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Converts this 1-based line range to a 0-based offset range (subtracts 1!).\n     * @internal\n     */\n    toOffsetRange() {\n      return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1);\n    }\n  };\n  var LineRangeSet = class _LineRangeSet {\n    constructor(_normalizedRanges = []) {\n      this._normalizedRanges = _normalizedRanges;\n    }\n    get ranges() {\n      return this._normalizedRanges;\n    }\n    addRange(range) {\n      if (range.length === 0) {\n        return;\n      }\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        this._normalizedRanges.splice(joinRangeStartIdx, 0, range);\n      } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx];\n        this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range);\n      } else {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range);\n        this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange);\n      }\n    }\n    contains(lineNumber) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= lineNumber);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber;\n    }\n    intersects(range) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber < range.endLineNumberExclusive);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber;\n    }\n    getUnion(other) {\n      if (this._normalizedRanges.length === 0) {\n        return other;\n      }\n      if (other._normalizedRanges.length === 0) {\n        return this;\n      }\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      let current = null;\n      while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) {\n        let next = null;\n        if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n          const lineRange1 = this._normalizedRanges[i1];\n          const lineRange2 = other._normalizedRanges[i2];\n          if (lineRange1.startLineNumber < lineRange2.startLineNumber) {\n            next = lineRange1;\n            i1++;\n          } else {\n            next = lineRange2;\n            i2++;\n          }\n        } else if (i1 < this._normalizedRanges.length) {\n          next = this._normalizedRanges[i1];\n          i1++;\n        } else {\n          next = other._normalizedRanges[i2];\n          i2++;\n        }\n        if (current === null) {\n          current = next;\n        } else {\n          if (current.endLineNumberExclusive >= next.startLineNumber) {\n            current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive));\n          } else {\n            result.push(current);\n            current = next;\n          }\n        }\n      }\n      if (current !== null) {\n        result.push(current);\n      }\n      return new _LineRangeSet(result);\n    }\n    /**\n     * Subtracts all ranges in this set from `range` and returns the result.\n     */\n    subtractFrom(range) {\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        return new _LineRangeSet([range]);\n      }\n      const result = [];\n      let startLineNumber = range.startLineNumber;\n      for (let i = joinRangeStartIdx; i < joinRangeEndIdxExclusive; i++) {\n        const r = this._normalizedRanges[i];\n        if (r.startLineNumber > startLineNumber) {\n          result.push(new LineRange(startLineNumber, r.startLineNumber));\n        }\n        startLineNumber = r.endLineNumberExclusive;\n      }\n      if (startLineNumber < range.endLineNumberExclusive) {\n        result.push(new LineRange(startLineNumber, range.endLineNumberExclusive));\n      }\n      return new _LineRangeSet(result);\n    }\n    toString() {\n      return this._normalizedRanges.map((r) => r.toString()).join(\", \");\n    }\n    getIntersection(other) {\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n        const r1 = this._normalizedRanges[i1];\n        const r2 = other._normalizedRanges[i2];\n        const i = r1.intersect(r2);\n        if (i && !i.isEmpty) {\n          result.push(i);\n        }\n        if (r1.endLineNumberExclusive < r2.endLineNumberExclusive) {\n          i1++;\n        } else {\n          i2++;\n        }\n      }\n      return new _LineRangeSet(result);\n    }\n    getWithDelta(value) {\n      return new _LineRangeSet(this._normalizedRanges.map((r) => r.delta(value)));\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js\n  var TextLength = class _TextLength {\n    static betweenPositions(position1, position2) {\n      if (position1.lineNumber === position2.lineNumber) {\n        return new _TextLength(0, position2.column - position1.column);\n      } else {\n        return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1);\n      }\n    }\n    static ofRange(range) {\n      return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition());\n    }\n    static ofText(text) {\n      let line = 0;\n      let column = 0;\n      for (const c of text) {\n        if (c === \"\\n\") {\n          line++;\n          column = 0;\n        } else {\n          column++;\n        }\n      }\n      return new _TextLength(line, column);\n    }\n    constructor(lineCount, columnCount) {\n      this.lineCount = lineCount;\n      this.columnCount = columnCount;\n    }\n    isGreaterThanOrEqualTo(other) {\n      if (this.lineCount !== other.lineCount) {\n        return this.lineCount > other.lineCount;\n      }\n      return this.columnCount >= other.columnCount;\n    }\n    createRange(startPosition) {\n      if (this.lineCount === 0) {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount);\n      } else {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    addToPosition(position) {\n      if (this.lineCount === 0) {\n        return new Position(position.lineNumber, position.column + this.columnCount);\n      } else {\n        return new Position(position.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    toString() {\n      return `${this.lineCount},${this.columnCount}`;\n    }\n  };\n  TextLength.zero = new TextLength(0, 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js\n  var SingleTextEdit = class {\n    constructor(range, text) {\n      this.range = range;\n      this.text = text;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js\n  var LineRangeMapping = class _LineRangeMapping {\n    static inverse(mapping, originalLineCount, modifiedLineCount) {\n      const result = [];\n      let lastOriginalEndLineNumber = 1;\n      let lastModifiedEndLineNumber = 1;\n      for (const m of mapping) {\n        const r2 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m.modified.startLineNumber));\n        if (!r2.modified.isEmpty) {\n          result.push(r2);\n        }\n        lastOriginalEndLineNumber = m.original.endLineNumberExclusive;\n        lastModifiedEndLineNumber = m.modified.endLineNumberExclusive;\n      }\n      const r = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1));\n      if (!r.modified.isEmpty) {\n        result.push(r);\n      }\n      return result;\n    }\n    static clip(mapping, originalRange, modifiedRange) {\n      const result = [];\n      for (const m of mapping) {\n        const original = m.original.intersect(originalRange);\n        const modified = m.modified.intersect(modifiedRange);\n        if (original && !original.isEmpty && modified && !modified.isEmpty) {\n          result.push(new _LineRangeMapping(original, modified));\n        }\n      }\n      return result;\n    }\n    constructor(originalRange, modifiedRange) {\n      this.original = originalRange;\n      this.modified = modifiedRange;\n    }\n    toString() {\n      return `{${this.original.toString()}->${this.modified.toString()}}`;\n    }\n    flip() {\n      return new _LineRangeMapping(this.modified, this.original);\n    }\n    join(other) {\n      return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified));\n    }\n    /**\n     * This method assumes that the LineRangeMapping describes a valid diff!\n     * I.e. if one range is empty, the other range cannot be the entire document.\n     * It avoids various problems when the line range points to non-existing line-numbers.\n    */\n    toRangeMapping() {\n      const origInclusiveRange = this.original.toInclusiveRange();\n      const modInclusiveRange = this.modified.toInclusiveRange();\n      if (origInclusiveRange && modInclusiveRange) {\n        return new RangeMapping(origInclusiveRange, modInclusiveRange);\n      } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {\n        if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) {\n          throw new BugIndicatingError(\"not a valid diff\");\n        }\n        return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));\n      } else {\n        return new RangeMapping(new Range(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));\n      }\n    }\n  };\n  var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping {\n    static fromRangeMappings(rangeMappings) {\n      const originalRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.originalRange)));\n      const modifiedRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.modifiedRange)));\n      return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings);\n    }\n    constructor(originalRange, modifiedRange, innerChanges) {\n      super(originalRange, modifiedRange);\n      this.innerChanges = innerChanges;\n    }\n    flip() {\n      var _a5;\n      return new _DetailedLineRangeMapping(this.modified, this.original, (_a5 = this.innerChanges) === null || _a5 === void 0 ? void 0 : _a5.map((c) => c.flip()));\n    }\n    withInnerChangesFromLineRanges() {\n      return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]);\n    }\n  };\n  var RangeMapping = class _RangeMapping {\n    constructor(originalRange, modifiedRange) {\n      this.originalRange = originalRange;\n      this.modifiedRange = modifiedRange;\n    }\n    toString() {\n      return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`;\n    }\n    flip() {\n      return new _RangeMapping(this.modifiedRange, this.originalRange);\n    }\n    /**\n     * Creates a single text edit that describes the change from the original to the modified text.\n    */\n    toTextEdit(modified) {\n      const newText = modified.getValueOfRange(this.modifiedRange);\n      return new SingleTextEdit(this.originalRange, newText);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js\n  var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;\n  var LegacyLinesDiffComputer = class {\n    computeDiff(originalLines, modifiedLines, options) {\n      var _a5;\n      const diffComputer = new DiffComputer(originalLines, modifiedLines, {\n        maxComputationTime: options.maxComputationTimeMs,\n        shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace,\n        shouldComputeCharChanges: true,\n        shouldMakePrettyDiff: true,\n        shouldPostProcessCharChanges: true\n      });\n      const result = diffComputer.computeDiff();\n      const changes = [];\n      let lastChange = null;\n      for (const c of result.changes) {\n        let originalRange;\n        if (c.originalEndLineNumber === 0) {\n          originalRange = new LineRange(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1);\n        } else {\n          originalRange = new LineRange(c.originalStartLineNumber, c.originalEndLineNumber + 1);\n        }\n        let modifiedRange;\n        if (c.modifiedEndLineNumber === 0) {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1);\n        } else {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1);\n        }\n        let change = new DetailedLineRangeMapping(originalRange, modifiedRange, (_a5 = c.charChanges) === null || _a5 === void 0 ? void 0 : _a5.map((c2) => new RangeMapping(new Range(c2.originalStartLineNumber, c2.originalStartColumn, c2.originalEndLineNumber, c2.originalEndColumn), new Range(c2.modifiedStartLineNumber, c2.modifiedStartColumn, c2.modifiedEndLineNumber, c2.modifiedEndColumn))));\n        if (lastChange) {\n          if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) {\n            change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0);\n            changes.pop();\n          }\n        }\n        changes.push(change);\n        lastChange = change;\n      }\n      assertFn(() => {\n        return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n        m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n      });\n      return new LinesDiff(changes, [], result.quitEarly);\n    }\n  };\n  function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) {\n    const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate);\n    return diffAlgo.ComputeDiff(pretty);\n  }\n  var LineSequence = class {\n    constructor(lines) {\n      const startColumns = [];\n      const endColumns = [];\n      for (let i = 0, length = lines.length; i < length; i++) {\n        startColumns[i] = getFirstNonBlankColumn(lines[i], 1);\n        endColumns[i] = getLastNonBlankColumn(lines[i], 1);\n      }\n      this.lines = lines;\n      this._startColumns = startColumns;\n      this._endColumns = endColumns;\n    }\n    getElements() {\n      const elements = [];\n      for (let i = 0, len = this.lines.length; i < len; i++) {\n        elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1);\n      }\n      return elements;\n    }\n    getStrictElement(index) {\n      return this.lines[index];\n    }\n    getStartLineNumber(i) {\n      return i + 1;\n    }\n    getEndLineNumber(i) {\n      return i + 1;\n    }\n    createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) {\n      const charCodes = [];\n      const lineNumbers = [];\n      const columns = [];\n      let len = 0;\n      for (let index = startIndex; index <= endIndex; index++) {\n        const lineContent = this.lines[index];\n        const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1;\n        const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1;\n        for (let col = startColumn; col < endColumn; col++) {\n          charCodes[len] = lineContent.charCodeAt(col - 1);\n          lineNumbers[len] = index + 1;\n          columns[len] = col;\n          len++;\n        }\n        if (!shouldIgnoreTrimWhitespace && index < endIndex) {\n          charCodes[len] = 10;\n          lineNumbers[len] = index + 1;\n          columns[len] = lineContent.length + 1;\n          len++;\n        }\n      }\n      return new CharSequence(charCodes, lineNumbers, columns);\n    }\n  };\n  var CharSequence = class {\n    constructor(charCodes, lineNumbers, columns) {\n      this._charCodes = charCodes;\n      this._lineNumbers = lineNumbers;\n      this._columns = columns;\n    }\n    toString() {\n      return \"[\" + this._charCodes.map((s, idx) => (s === 10 ? \"\\\\n\" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(\", \") + \"]\";\n    }\n    _assertIndex(index, arr) {\n      if (index < 0 || index >= arr.length) {\n        throw new Error(`Illegal index`);\n      }\n    }\n    getElements() {\n      return this._charCodes;\n    }\n    getStartLineNumber(i) {\n      if (i > 0 && i === this._lineNumbers.length) {\n        return this.getEndLineNumber(i - 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      return this._lineNumbers[i];\n    }\n    getEndLineNumber(i) {\n      if (i === -1) {\n        return this.getStartLineNumber(i + 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      if (this._charCodes[i] === 10) {\n        return this._lineNumbers[i] + 1;\n      }\n      return this._lineNumbers[i];\n    }\n    getStartColumn(i) {\n      if (i > 0 && i === this._columns.length) {\n        return this.getEndColumn(i - 1);\n      }\n      this._assertIndex(i, this._columns);\n      return this._columns[i];\n    }\n    getEndColumn(i) {\n      if (i === -1) {\n        return this.getStartColumn(i + 1);\n      }\n      this._assertIndex(i, this._columns);\n      if (this._charCodes[i] === 10) {\n        return 1;\n      }\n      return this._columns[i] + 1;\n    }\n  };\n  var CharChange = class _CharChange {\n    constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalStartColumn = originalStartColumn;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.originalEndColumn = originalEndColumn;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedStartColumn = modifiedStartColumn;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.modifiedEndColumn = modifiedEndColumn;\n    }\n    static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) {\n      const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart);\n      const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart);\n      const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1);\n      const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart);\n      const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart);\n      const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn);\n    }\n  };\n  function postProcessCharChanges(rawChanges) {\n    if (rawChanges.length <= 1) {\n      return rawChanges;\n    }\n    const result = [rawChanges[0]];\n    let prevChange = result[0];\n    for (let i = 1, len = rawChanges.length; i < len; i++) {\n      const currChange = rawChanges[i];\n      const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength);\n      const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength);\n      const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength);\n      if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) {\n        prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart;\n        prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart;\n      } else {\n        result.push(currChange);\n        prevChange = currChange;\n      }\n    }\n    return result;\n  }\n  var LineChange = class _LineChange {\n    constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.charChanges = charChanges;\n    }\n    static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) {\n      let originalStartLineNumber;\n      let originalEndLineNumber;\n      let modifiedStartLineNumber;\n      let modifiedEndLineNumber;\n      let charChanges = void 0;\n      if (diffChange.originalLength === 0) {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1;\n        originalEndLineNumber = 0;\n      } else {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart);\n        originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      }\n      if (diffChange.modifiedLength === 0) {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1;\n        modifiedEndLineNumber = 0;\n      } else {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart);\n        modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      }\n      if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) {\n        const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1);\n        const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1);\n        if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) {\n          let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes;\n          if (shouldPostProcessCharChanges) {\n            rawChanges = postProcessCharChanges(rawChanges);\n          }\n          charChanges = [];\n          for (let i = 0, length = rawChanges.length; i < length; i++) {\n            charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence));\n          }\n        }\n      }\n      return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges);\n    }\n  };\n  var DiffComputer = class {\n    constructor(originalLines, modifiedLines, opts) {\n      this.shouldComputeCharChanges = opts.shouldComputeCharChanges;\n      this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges;\n      this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace;\n      this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff;\n      this.originalLines = originalLines;\n      this.modifiedLines = modifiedLines;\n      this.original = new LineSequence(originalLines);\n      this.modified = new LineSequence(modifiedLines);\n      this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime);\n      this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3));\n    }\n    computeDiff() {\n      if (this.original.lines.length === 1 && this.original.lines[0].length === 0) {\n        if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n          return {\n            quitEarly: false,\n            changes: []\n          };\n        }\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: 1,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: this.modified.lines.length,\n            charChanges: void 0\n          }]\n        };\n      }\n      if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: this.original.lines.length,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: 1,\n            charChanges: void 0\n          }]\n        };\n      }\n      const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff);\n      const rawChanges = diffResult.changes;\n      const quitEarly = diffResult.quitEarly;\n      if (this.shouldIgnoreTrimWhitespace) {\n        const lineChanges = [];\n        for (let i = 0, length = rawChanges.length; i < length; i++) {\n          lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n        }\n        return {\n          quitEarly,\n          changes: lineChanges\n        };\n      }\n      const result = [];\n      let originalLineIndex = 0;\n      let modifiedLineIndex = 0;\n      for (let i = -1, len = rawChanges.length; i < len; i++) {\n        const nextChange = i + 1 < len ? rawChanges[i + 1] : null;\n        const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length;\n        const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length;\n        while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) {\n          const originalLine = this.originalLines[originalLineIndex];\n          const modifiedLine = this.modifiedLines[modifiedLineIndex];\n          if (originalLine !== modifiedLine) {\n            {\n              let originalStartColumn = getFirstNonBlankColumn(originalLine, 1);\n              let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1);\n              while (originalStartColumn > 1 && modifiedStartColumn > 1) {\n                const originalChar = originalLine.charCodeAt(originalStartColumn - 2);\n                const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalStartColumn--;\n                modifiedStartColumn--;\n              }\n              if (originalStartColumn > 1 || modifiedStartColumn > 1) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn);\n              }\n            }\n            {\n              let originalEndColumn = getLastNonBlankColumn(originalLine, 1);\n              let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1);\n              const originalMaxColumn = originalLine.length + 1;\n              const modifiedMaxColumn = modifiedLine.length + 1;\n              while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) {\n                const originalChar = originalLine.charCodeAt(originalEndColumn - 1);\n                const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalEndColumn++;\n                modifiedEndColumn++;\n              }\n              if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn);\n              }\n            }\n          }\n          originalLineIndex++;\n          modifiedLineIndex++;\n        }\n        if (nextChange) {\n          result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n          originalLineIndex += nextChange.originalLength;\n          modifiedLineIndex += nextChange.modifiedLength;\n        }\n      }\n      return {\n        quitEarly,\n        changes: result\n      };\n    }\n    _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) {\n        return;\n      }\n      let charChanges = void 0;\n      if (this.shouldComputeCharChanges) {\n        charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)];\n      }\n      result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges));\n    }\n    _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      const len = result.length;\n      if (len === 0) {\n        return false;\n      }\n      const prevChange = result[len - 1];\n      if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) {\n        return false;\n      }\n      if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) {\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) {\n        prevChange.originalEndLineNumber = originalLineNumber;\n        prevChange.modifiedEndLineNumber = modifiedLineNumber;\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      return false;\n    }\n  };\n  function getFirstNonBlankColumn(txt, defaultValue) {\n    const r = firstNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 1;\n  }\n  function getLastNonBlankColumn(txt, defaultValue) {\n    const r = lastNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 2;\n  }\n  function createContinueProcessingPredicate(maximumRuntime) {\n    if (maximumRuntime === 0) {\n      return () => true;\n    }\n    const startTime = Date.now();\n    return () => {\n      return Date.now() - startTime < maximumRuntime;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js\n  var DiffAlgorithmResult = class _DiffAlgorithmResult {\n    static trivial(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);\n    }\n    static trivialTimedOut(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true);\n    }\n    constructor(diffs, hitTimeout) {\n      this.diffs = diffs;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var SequenceDiff = class _SequenceDiff {\n    static invert(sequenceDiffs, doc1Length) {\n      const result = [];\n      forEachAdjacent(sequenceDiffs, (a2, b) => {\n        result.push(_SequenceDiff.fromOffsetPairs(a2 ? a2.getEndExclusives() : OffsetPair.zero, b ? b.getStarts() : new OffsetPair(doc1Length, (a2 ? a2.seq2Range.endExclusive - a2.seq1Range.endExclusive : 0) + doc1Length)));\n      });\n      return result;\n    }\n    static fromOffsetPairs(start, endExclusive) {\n      return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2));\n    }\n    constructor(seq1Range, seq2Range) {\n      this.seq1Range = seq1Range;\n      this.seq2Range = seq2Range;\n    }\n    swap() {\n      return new _SequenceDiff(this.seq2Range, this.seq1Range);\n    }\n    toString() {\n      return `${this.seq1Range} <-> ${this.seq2Range}`;\n    }\n    join(other) {\n      return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range));\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset));\n    }\n    deltaStart(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset));\n    }\n    deltaEnd(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset));\n    }\n    intersect(other) {\n      const i1 = this.seq1Range.intersect(other.seq1Range);\n      const i2 = this.seq2Range.intersect(other.seq2Range);\n      if (!i1 || !i2) {\n        return void 0;\n      }\n      return new _SequenceDiff(i1, i2);\n    }\n    getStarts() {\n      return new OffsetPair(this.seq1Range.start, this.seq2Range.start);\n    }\n    getEndExclusives() {\n      return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive);\n    }\n  };\n  var OffsetPair = class _OffsetPair {\n    constructor(offset1, offset2) {\n      this.offset1 = offset1;\n      this.offset2 = offset2;\n    }\n    toString() {\n      return `${this.offset1} <-> ${this.offset2}`;\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _OffsetPair(this.offset1 + offset, this.offset2 + offset);\n    }\n    equals(other) {\n      return this.offset1 === other.offset1 && this.offset2 === other.offset2;\n    }\n  };\n  OffsetPair.zero = new OffsetPair(0, 0);\n  OffsetPair.max = new OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER);\n  var InfiniteTimeout = class {\n    isValid() {\n      return true;\n    }\n  };\n  InfiniteTimeout.instance = new InfiniteTimeout();\n  var DateTimeout = class {\n    constructor(timeout) {\n      this.timeout = timeout;\n      this.startTime = Date.now();\n      this.valid = true;\n      if (timeout <= 0) {\n        throw new BugIndicatingError(\"timeout must be positive\");\n      }\n    }\n    // Recommendation: Set a log-point `{this.disable()}` in the body\n    isValid() {\n      const valid = Date.now() - this.startTime < this.timeout;\n      if (!valid && this.valid) {\n        this.valid = false;\n        debugger;\n      }\n      return this.valid;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js\n  var Array2D = class {\n    constructor(width, height) {\n      this.width = width;\n      this.height = height;\n      this.array = [];\n      this.array = new Array(width * height);\n    }\n    get(x, y) {\n      return this.array[x + y * this.width];\n    }\n    set(x, y, value) {\n      this.array[x + y * this.width] = value;\n    }\n  };\n  function isSpace(charCode) {\n    return charCode === 32 || charCode === 9;\n  }\n  var LineRangeFragment = class _LineRangeFragment {\n    static getKey(chr) {\n      let key = this.chrKeys.get(chr);\n      if (key === void 0) {\n        key = this.chrKeys.size;\n        this.chrKeys.set(chr, key);\n      }\n      return key;\n    }\n    constructor(range, lines, source) {\n      this.range = range;\n      this.lines = lines;\n      this.source = source;\n      this.histogram = [];\n      let counter = 0;\n      for (let i = range.startLineNumber - 1; i < range.endLineNumberExclusive - 1; i++) {\n        const line = lines[i];\n        for (let j = 0; j < line.length; j++) {\n          counter++;\n          const chr = line[j];\n          const key2 = _LineRangeFragment.getKey(chr);\n          this.histogram[key2] = (this.histogram[key2] || 0) + 1;\n        }\n        counter++;\n        const key = _LineRangeFragment.getKey(\"\\n\");\n        this.histogram[key] = (this.histogram[key] || 0) + 1;\n      }\n      this.totalCount = counter;\n    }\n    computeSimilarity(other) {\n      var _a5, _b3;\n      let sumDifferences = 0;\n      const maxLength = Math.max(this.histogram.length, other.histogram.length);\n      for (let i = 0; i < maxLength; i++) {\n        sumDifferences += Math.abs(((_a5 = this.histogram[i]) !== null && _a5 !== void 0 ? _a5 : 0) - ((_b3 = other.histogram[i]) !== null && _b3 !== void 0 ? _b3 : 0));\n      }\n      return 1 - sumDifferences / (this.totalCount + other.totalCount);\n    }\n  };\n  LineRangeFragment.chrKeys = /* @__PURE__ */ new Map();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js\n  var DynamicProgrammingDiffing = class {\n    compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {\n      if (sequence1.length === 0 || sequence2.length === 0) {\n        return DiffAlgorithmResult.trivial(sequence1, sequence2);\n      }\n      const lcsLengths = new Array2D(sequence1.length, sequence2.length);\n      const directions = new Array2D(sequence1.length, sequence2.length);\n      const lengths = new Array2D(sequence1.length, sequence2.length);\n      for (let s12 = 0; s12 < sequence1.length; s12++) {\n        for (let s22 = 0; s22 < sequence2.length; s22++) {\n          if (!timeout.isValid()) {\n            return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2);\n          }\n          const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22);\n          const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1);\n          let extendedSeqScore;\n          if (sequence1.getElement(s12) === sequence2.getElement(s22)) {\n            if (s12 === 0 || s22 === 0) {\n              extendedSeqScore = 0;\n            } else {\n              extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1);\n            }\n            if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) {\n              extendedSeqScore += lengths.get(s12 - 1, s22 - 1);\n            }\n            extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1;\n          } else {\n            extendedSeqScore = -1;\n          }\n          const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore);\n          if (newValue === extendedSeqScore) {\n            const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0;\n            lengths.set(s12, s22, prevLen + 1);\n            directions.set(s12, s22, 3);\n          } else if (newValue === horizontalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 1);\n          } else if (newValue === verticalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 2);\n          }\n          lcsLengths.set(s12, s22, newValue);\n        }\n      }\n      const result = [];\n      let lastAligningPosS1 = sequence1.length;\n      let lastAligningPosS2 = sequence2.length;\n      function reportDecreasingAligningPositions(s12, s22) {\n        if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2)));\n        }\n        lastAligningPosS1 = s12;\n        lastAligningPosS2 = s22;\n      }\n      let s1 = sequence1.length - 1;\n      let s2 = sequence2.length - 1;\n      while (s1 >= 0 && s2 >= 0) {\n        if (directions.get(s1, s2) === 3) {\n          reportDecreasingAligningPositions(s1, s2);\n          s1--;\n          s2--;\n        } else {\n          if (directions.get(s1, s2) === 1) {\n            s1--;\n          } else {\n            s2--;\n          }\n        }\n      }\n      reportDecreasingAligningPositions(-1, -1);\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js\n  var MyersDiffAlgorithm = class {\n    compute(seq1, seq2, timeout = InfiniteTimeout.instance) {\n      if (seq1.length === 0 || seq2.length === 0) {\n        return DiffAlgorithmResult.trivial(seq1, seq2);\n      }\n      const seqX = seq1;\n      const seqY = seq2;\n      function getXAfterSnake(x, y) {\n        while (x < seqX.length && y < seqY.length && seqX.getElement(x) === seqY.getElement(y)) {\n          x++;\n          y++;\n        }\n        return x;\n      }\n      let d = 0;\n      const V = new FastInt32Array();\n      V.set(0, getXAfterSnake(0, 0));\n      const paths = new FastArrayNegativeIndices();\n      paths.set(0, V.get(0) === 0 ? null : new SnakePath(null, 0, 0, V.get(0)));\n      let k = 0;\n      loop: while (true) {\n        d++;\n        if (!timeout.isValid()) {\n          return DiffAlgorithmResult.trivialTimedOut(seqX, seqY);\n        }\n        const lowerBound = -Math.min(d, seqY.length + d % 2);\n        const upperBound = Math.min(d, seqX.length + d % 2);\n        for (k = lowerBound; k <= upperBound; k += 2) {\n          let step = 0;\n          const maxXofDLineTop = k === upperBound ? -1 : V.get(k + 1);\n          const maxXofDLineLeft = k === lowerBound ? -1 : V.get(k - 1) + 1;\n          step++;\n          const x = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length);\n          const y = x - k;\n          step++;\n          if (x > seqX.length || y > seqY.length) {\n            continue;\n          }\n          const newMaxX = getXAfterSnake(x, y);\n          V.set(k, newMaxX);\n          const lastPath = x === maxXofDLineTop ? paths.get(k + 1) : paths.get(k - 1);\n          paths.set(k, newMaxX !== x ? new SnakePath(lastPath, x, y, newMaxX - x) : lastPath);\n          if (V.get(k) === seqX.length && V.get(k) - k === seqY.length) {\n            break loop;\n          }\n        }\n      }\n      let path = paths.get(k);\n      const result = [];\n      let lastAligningPosS1 = seqX.length;\n      let lastAligningPosS2 = seqY.length;\n      while (true) {\n        const endX = path ? path.x + path.length : 0;\n        const endY = path ? path.y + path.length : 0;\n        if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2)));\n        }\n        if (!path) {\n          break;\n        }\n        lastAligningPosS1 = path.x;\n        lastAligningPosS2 = path.y;\n        path = path.prev;\n      }\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n  var SnakePath = class {\n    constructor(prev, x, y, length) {\n      this.prev = prev;\n      this.x = x;\n      this.y = y;\n      this.length = length;\n    }\n  };\n  var FastInt32Array = class {\n    constructor() {\n      this.positiveArr = new Int32Array(10);\n      this.negativeArr = new Int32Array(10);\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        if (idx >= this.negativeArr.length) {\n          const arr = this.negativeArr;\n          this.negativeArr = new Int32Array(arr.length * 2);\n          this.negativeArr.set(arr);\n        }\n        this.negativeArr[idx] = value;\n      } else {\n        if (idx >= this.positiveArr.length) {\n          const arr = this.positiveArr;\n          this.positiveArr = new Int32Array(arr.length * 2);\n          this.positiveArr.set(arr);\n        }\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n  var FastArrayNegativeIndices = class {\n    constructor() {\n      this.positiveArr = [];\n      this.negativeArr = [];\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        this.negativeArr[idx] = value;\n      } else {\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js\n  var LinesSliceCharSequence = class {\n    constructor(lines, lineRange, considerWhitespaceChanges) {\n      this.lines = lines;\n      this.considerWhitespaceChanges = considerWhitespaceChanges;\n      this.elements = [];\n      this.firstCharOffsetByLine = [];\n      this.additionalOffsetByLine = [];\n      let trimFirstLineFully = false;\n      if (lineRange.start > 0 && lineRange.endExclusive >= lines.length) {\n        lineRange = new OffsetRange(lineRange.start - 1, lineRange.endExclusive);\n        trimFirstLineFully = true;\n      }\n      this.lineRange = lineRange;\n      this.firstCharOffsetByLine[0] = 0;\n      for (let i = this.lineRange.start; i < this.lineRange.endExclusive; i++) {\n        let line = lines[i];\n        let offset = 0;\n        if (trimFirstLineFully) {\n          offset = line.length;\n          line = \"\";\n          trimFirstLineFully = false;\n        } else if (!considerWhitespaceChanges) {\n          const trimmedStartLine = line.trimStart();\n          offset = line.length - trimmedStartLine.length;\n          line = trimmedStartLine.trimEnd();\n        }\n        this.additionalOffsetByLine.push(offset);\n        for (let i2 = 0; i2 < line.length; i2++) {\n          this.elements.push(line.charCodeAt(i2));\n        }\n        if (i < lines.length - 1) {\n          this.elements.push(\"\\n\".charCodeAt(0));\n          this.firstCharOffsetByLine[i - this.lineRange.start + 1] = this.elements.length;\n        }\n      }\n      this.additionalOffsetByLine.push(0);\n    }\n    toString() {\n      return `Slice: \"${this.text}\"`;\n    }\n    get text() {\n      return this.getText(new OffsetRange(0, this.length));\n    }\n    getText(range) {\n      return this.elements.slice(range.start, range.endExclusive).map((e) => String.fromCharCode(e)).join(\"\");\n    }\n    getElement(offset) {\n      return this.elements[offset];\n    }\n    get length() {\n      return this.elements.length;\n    }\n    getBoundaryScore(length) {\n      const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1);\n      const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1);\n      if (prevCategory === 7 && nextCategory === 8) {\n        return 0;\n      }\n      if (prevCategory === 8) {\n        return 150;\n      }\n      let score2 = 0;\n      if (prevCategory !== nextCategory) {\n        score2 += 10;\n        if (prevCategory === 0 && nextCategory === 1) {\n          score2 += 1;\n        }\n      }\n      score2 += getCategoryBoundaryScore(prevCategory);\n      score2 += getCategoryBoundaryScore(nextCategory);\n      return score2;\n    }\n    translateOffset(offset) {\n      if (this.lineRange.isEmpty) {\n        return new Position(this.lineRange.start + 1, 1);\n      }\n      const i = findLastIdxMonotonous(this.firstCharOffsetByLine, (value) => value <= offset);\n      return new Position(this.lineRange.start + i + 1, offset - this.firstCharOffsetByLine[i] + this.additionalOffsetByLine[i] + 1);\n    }\n    translateRange(range) {\n      return Range.fromPositions(this.translateOffset(range.start), this.translateOffset(range.endExclusive));\n    }\n    /**\n     * Finds the word that contains the character at the given offset\n     */\n    findWordContaining(offset) {\n      if (offset < 0 || offset >= this.elements.length) {\n        return void 0;\n      }\n      if (!isWordChar(this.elements[offset])) {\n        return void 0;\n      }\n      let start = offset;\n      while (start > 0 && isWordChar(this.elements[start - 1])) {\n        start--;\n      }\n      let end = offset;\n      while (end < this.elements.length && isWordChar(this.elements[end])) {\n        end++;\n      }\n      return new OffsetRange(start, end);\n    }\n    countLinesIn(range) {\n      return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber;\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.elements[offset1] === this.elements[offset2];\n    }\n    extendToFullLines(range) {\n      var _a5, _b3;\n      const start = (_a5 = findLastMonotonous(this.firstCharOffsetByLine, (x) => x <= range.start)) !== null && _a5 !== void 0 ? _a5 : 0;\n      const end = (_b3 = findFirstMonotonous(this.firstCharOffsetByLine, (x) => range.endExclusive <= x)) !== null && _b3 !== void 0 ? _b3 : this.elements.length;\n      return new OffsetRange(start, end);\n    }\n  };\n  function isWordChar(charCode) {\n    return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57;\n  }\n  var score = {\n    [\n      0\n      /* CharBoundaryCategory.WordLower */\n    ]: 0,\n    [\n      1\n      /* CharBoundaryCategory.WordUpper */\n    ]: 0,\n    [\n      2\n      /* CharBoundaryCategory.WordNumber */\n    ]: 0,\n    [\n      3\n      /* CharBoundaryCategory.End */\n    ]: 10,\n    [\n      4\n      /* CharBoundaryCategory.Other */\n    ]: 2,\n    [\n      5\n      /* CharBoundaryCategory.Separator */\n    ]: 30,\n    [\n      6\n      /* CharBoundaryCategory.Space */\n    ]: 3,\n    [\n      7\n      /* CharBoundaryCategory.LineBreakCR */\n    ]: 10,\n    [\n      8\n      /* CharBoundaryCategory.LineBreakLF */\n    ]: 10\n  };\n  function getCategoryBoundaryScore(category) {\n    return score[category];\n  }\n  function getCategory(charCode) {\n    if (charCode === 10) {\n      return 8;\n    } else if (charCode === 13) {\n      return 7;\n    } else if (isSpace(charCode)) {\n      return 6;\n    } else if (charCode >= 97 && charCode <= 122) {\n      return 0;\n    } else if (charCode >= 65 && charCode <= 90) {\n      return 1;\n    } else if (charCode >= 48 && charCode <= 57) {\n      return 2;\n    } else if (charCode === -1) {\n      return 3;\n    } else if (charCode === 44 || charCode === 59) {\n      return 5;\n    } else {\n      return 4;\n    }\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js\n  function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {\n    let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);\n    if (!timeout.isValid()) {\n      return [];\n    }\n    const filteredChanges = changes.filter((c) => !excludedChanges.has(c));\n    const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout);\n    pushMany(moves, unchangedMoves);\n    moves = joinCloseConsecutiveMoves(moves);\n    moves = moves.filter((current) => {\n      const lines = current.original.toOffsetRange().slice(originalLines).map((l) => l.trim());\n      const originalText = lines.join(\"\\n\");\n      return originalText.length >= 15 && countWhere(lines, (l) => l.length >= 2) >= 2;\n    });\n    moves = removeMovesInSameDiff(changes, moves);\n    return moves;\n  }\n  function countWhere(arr, predicate) {\n    let count = 0;\n    for (const t of arr) {\n      if (predicate(t)) {\n        count++;\n      }\n    }\n    return count;\n  }\n  function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const deletions = changes.filter((c) => c.modified.isEmpty && c.original.length >= 3).map((d) => new LineRangeFragment(d.original, originalLines, d));\n    const insertions = new Set(changes.filter((c) => c.original.isEmpty && c.modified.length >= 3).map((d) => new LineRangeFragment(d.modified, modifiedLines, d)));\n    const excludedChanges = /* @__PURE__ */ new Set();\n    for (const deletion of deletions) {\n      let highestSimilarity = -1;\n      let best;\n      for (const insertion of insertions) {\n        const similarity = deletion.computeSimilarity(insertion);\n        if (similarity > highestSimilarity) {\n          highestSimilarity = similarity;\n          best = insertion;\n        }\n      }\n      if (highestSimilarity > 0.9 && best) {\n        insertions.delete(best);\n        moves.push(new LineRangeMapping(deletion.range, best.range));\n        excludedChanges.add(deletion.source);\n        excludedChanges.add(best.source);\n      }\n      if (!timeout.isValid()) {\n        return { moves, excludedChanges };\n      }\n    }\n    return { moves, excludedChanges };\n  }\n  function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const original3LineHashes = new SetMap();\n    for (const change of changes) {\n      for (let i = change.original.startLineNumber; i < change.original.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedOriginalLines[i - 1]}:${hashedOriginalLines[i + 1 - 1]}:${hashedOriginalLines[i + 2 - 1]}`;\n        original3LineHashes.add(key, { range: new LineRange(i, i + 3) });\n      }\n    }\n    const possibleMappings = [];\n    changes.sort(compareBy((c) => c.modified.startLineNumber, numberComparator));\n    for (const change of changes) {\n      let lastMappings = [];\n      for (let i = change.modified.startLineNumber; i < change.modified.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedModifiedLines[i - 1]}:${hashedModifiedLines[i + 1 - 1]}:${hashedModifiedLines[i + 2 - 1]}`;\n        const currentModifiedRange = new LineRange(i, i + 3);\n        const nextMappings = [];\n        original3LineHashes.forEach(key, ({ range }) => {\n          for (const lastMapping of lastMappings) {\n            if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) {\n              lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive);\n              lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive);\n              nextMappings.push(lastMapping);\n              return;\n            }\n          }\n          const mapping = {\n            modifiedLineRange: currentModifiedRange,\n            originalLineRange: range\n          };\n          possibleMappings.push(mapping);\n          nextMappings.push(mapping);\n        });\n        lastMappings = nextMappings;\n      }\n      if (!timeout.isValid()) {\n        return [];\n      }\n    }\n    possibleMappings.sort(reverseOrder(compareBy((m) => m.modifiedLineRange.length, numberComparator)));\n    const modifiedSet = new LineRangeSet();\n    const originalSet = new LineRangeSet();\n    for (const mapping of possibleMappings) {\n      const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber;\n      const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange);\n      const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod);\n      const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections);\n      for (const s of modifiedIntersectedSections.ranges) {\n        if (s.length < 3) {\n          continue;\n        }\n        const modifiedLineRange = s;\n        const originalLineRange = s.delta(-diffOrigToMod);\n        moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange));\n        modifiedSet.addRange(modifiedLineRange);\n        originalSet.addRange(originalLineRange);\n      }\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const monotonousChanges = new MonotonousArray(changes);\n    for (let i = 0; i < moves.length; i++) {\n      const move = moves[i];\n      const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber <= move.original.startLineNumber);\n      const firstTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber <= move.modified.startLineNumber);\n      const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber);\n      const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber < move.original.endLineNumberExclusive);\n      const lastTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber < move.modified.endLineNumberExclusive);\n      const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive);\n      let extendToTop;\n      for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) {\n        const origLine = move.original.startLineNumber - extendToTop - 1;\n        const modLine = move.modified.startLineNumber - extendToTop - 1;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToTop > 0) {\n        originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber));\n        modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber));\n      }\n      let extendToBottom;\n      for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) {\n        const origLine = move.original.endLineNumberExclusive + extendToBottom;\n        const modLine = move.modified.endLineNumberExclusive + extendToBottom;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToBottom > 0) {\n        originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom));\n        modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n      if (extendToTop > 0 || extendToBottom > 0) {\n        moves[i] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n    }\n    return moves;\n  }\n  function areLinesSimilar(line1, line2, timeout) {\n    if (line1.trim() === line2.trim()) {\n      return true;\n    }\n    if (line1.length > 300 && line2.length > 300) {\n      return false;\n    }\n    const myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new OffsetRange(0, 1), false), new LinesSliceCharSequence([line2], new OffsetRange(0, 1), false), timeout);\n    let commonNonSpaceCharCount = 0;\n    const inverted = SequenceDiff.invert(result.diffs, line1.length);\n    for (const seq of inverted) {\n      seq.seq1Range.forEach((idx) => {\n        if (!isSpace(line1.charCodeAt(idx))) {\n          commonNonSpaceCharCount++;\n        }\n      });\n    }\n    function countNonWsChars(str) {\n      let count = 0;\n      for (let i = 0; i < line1.length; i++) {\n        if (!isSpace(str.charCodeAt(i))) {\n          count++;\n        }\n      }\n      return count;\n    }\n    const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2);\n    const r = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10;\n    return r;\n  }\n  function joinCloseConsecutiveMoves(moves) {\n    if (moves.length === 0) {\n      return moves;\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const result = [moves[0]];\n    for (let i = 1; i < moves.length; i++) {\n      const last = result[result.length - 1];\n      const current = moves[i];\n      const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive;\n      const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive;\n      const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0;\n      if (currentMoveAfterLast && originalDist + modifiedDist <= 2) {\n        result[result.length - 1] = last.join(current);\n        continue;\n      }\n      result.push(current);\n    }\n    return result;\n  }\n  function removeMovesInSameDiff(changes, moves) {\n    const changesMonotonous = new MonotonousArray(changes);\n    moves = moves.filter((m) => {\n      const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c) => c.original.startLineNumber < m.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1));\n      const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c) => c.modified.startLineNumber < m.modified.endLineNumberExclusive);\n      const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified;\n      return differentDiffs;\n    });\n    return moves;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js\n  function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    let result = sequenceDiffs;\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = shiftSequenceDiffs(sequence1, sequence2, result);\n    return result;\n  }\n  function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) {\n    if (sequenceDiffs.length === 0) {\n      return sequenceDiffs;\n    }\n    const result = [];\n    result.push(sequenceDiffs[0]);\n    for (let i = 1; i < sequenceDiffs.length; i++) {\n      const prevResult = result[result.length - 1];\n      let cur = sequenceDiffs[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = cur.seq1Range.start - prevResult.seq1Range.endExclusive;\n        let d;\n        for (d = 1; d <= length; d++) {\n          if (sequence1.getElement(cur.seq1Range.start - d) !== sequence1.getElement(cur.seq1Range.endExclusive - d) || sequence2.getElement(cur.seq2Range.start - d) !== sequence2.getElement(cur.seq2Range.endExclusive - d)) {\n            break;\n          }\n        }\n        d--;\n        if (d === length) {\n          result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length));\n          continue;\n        }\n        cur = cur.delta(-d);\n      }\n      result.push(cur);\n    }\n    const result2 = [];\n    for (let i = 0; i < result.length - 1; i++) {\n      const nextResult = result[i + 1];\n      let cur = result[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = nextResult.seq1Range.start - cur.seq1Range.endExclusive;\n        let d;\n        for (d = 0; d < length; d++) {\n          if (!sequence1.isStronglyEqual(cur.seq1Range.start + d, cur.seq1Range.endExclusive + d) || !sequence2.isStronglyEqual(cur.seq2Range.start + d, cur.seq2Range.endExclusive + d)) {\n            break;\n          }\n        }\n        if (d === length) {\n          result[i + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length, nextResult.seq2Range.endExclusive));\n          continue;\n        }\n        if (d > 0) {\n          cur = cur.delta(d);\n        }\n      }\n      result2.push(cur);\n    }\n    if (result.length > 0) {\n      result2.push(result[result.length - 1]);\n    }\n    return result2;\n  }\n  function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) {\n      return sequenceDiffs;\n    }\n    for (let i = 0; i < sequenceDiffs.length; i++) {\n      const prevDiff = i > 0 ? sequenceDiffs[i - 1] : void 0;\n      const diff = sequenceDiffs[i];\n      const nextDiff = i + 1 < sequenceDiffs.length ? sequenceDiffs[i + 1] : void 0;\n      const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length);\n      const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length);\n      if (diff.seq1Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange);\n      } else if (diff.seq2Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap();\n      }\n    }\n    return sequenceDiffs;\n  }\n  function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) {\n    const maxShiftLimit = 100;\n    let deltaBefore = 1;\n    while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) {\n      deltaBefore++;\n    }\n    deltaBefore--;\n    let deltaAfter = 0;\n    while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) {\n      deltaAfter++;\n    }\n    if (deltaBefore === 0 && deltaAfter === 0) {\n      return diff;\n    }\n    let bestDelta = 0;\n    let bestScore = -1;\n    for (let delta = -deltaBefore; delta <= deltaAfter; delta++) {\n      const seq2OffsetStart = diff.seq2Range.start + delta;\n      const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta;\n      const seq1Offset = diff.seq1Range.start + delta;\n      const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive);\n      if (score2 > bestScore) {\n        bestScore = score2;\n        bestDelta = delta;\n      }\n    }\n    return diff.delta(bestDelta);\n  }\n  function removeShortMatches(sequence1, sequence2, sequenceDiffs) {\n    const result = [];\n    for (const s of sequenceDiffs) {\n      const last = result[result.length - 1];\n      if (!last) {\n        result.push(s);\n        continue;\n      }\n      if (s.seq1Range.start - last.seq1Range.endExclusive <= 2 || s.seq2Range.start - last.seq2Range.endExclusive <= 2) {\n        result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s.seq1Range), last.seq2Range.join(s.seq2Range));\n      } else {\n        result.push(s);\n      }\n    }\n    return result;\n  }\n  function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) {\n    const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length);\n    const additional = [];\n    let lastPoint = new OffsetPair(0, 0);\n    function scanWord(pair, equalMapping) {\n      if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) {\n        return;\n      }\n      const w1 = sequence1.findWordContaining(pair.offset1);\n      const w2 = sequence2.findWordContaining(pair.offset2);\n      if (!w1 || !w2) {\n        return;\n      }\n      let w = new SequenceDiff(w1, w2);\n      const equalPart = w.intersect(equalMapping);\n      let equalChars1 = equalPart.seq1Range.length;\n      let equalChars2 = equalPart.seq2Range.length;\n      while (equalMappings.length > 0) {\n        const next = equalMappings[0];\n        const intersects = next.seq1Range.intersects(w.seq1Range) || next.seq2Range.intersects(w.seq2Range);\n        if (!intersects) {\n          break;\n        }\n        const v1 = sequence1.findWordContaining(next.seq1Range.start);\n        const v2 = sequence2.findWordContaining(next.seq2Range.start);\n        const v = new SequenceDiff(v1, v2);\n        const equalPart2 = v.intersect(next);\n        equalChars1 += equalPart2.seq1Range.length;\n        equalChars2 += equalPart2.seq2Range.length;\n        w = w.join(v);\n        if (w.seq1Range.endExclusive >= next.seq1Range.endExclusive) {\n          equalMappings.shift();\n        } else {\n          break;\n        }\n      }\n      if (equalChars1 + equalChars2 < (w.seq1Range.length + w.seq2Range.length) * 2 / 3) {\n        additional.push(w);\n      }\n      lastPoint = w.getEndExclusives();\n    }\n    while (equalMappings.length > 0) {\n      const next = equalMappings.shift();\n      if (next.seq1Range.isEmpty) {\n        continue;\n      }\n      scanWord(next.getStarts(), next);\n      scanWord(next.getEndExclusives().delta(-1), next);\n    }\n    const merged = mergeSequenceDiffs(sequenceDiffs, additional);\n    return merged;\n  }\n  function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) {\n    const result = [];\n    while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) {\n      const sd1 = sequenceDiffs1[0];\n      const sd2 = sequenceDiffs2[0];\n      let next;\n      if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) {\n        next = sequenceDiffs1.shift();\n      } else {\n        next = sequenceDiffs2.shift();\n      }\n      if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) {\n        result[result.length - 1] = result[result.length - 1].join(next);\n      } else {\n        result.push(next);\n      }\n    }\n    return result;\n  }\n  function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedText = sequence1.getText(unchangedRange);\n          const unchangedTextWithoutWs = unchangedText.replace(/\\s/g, \"\");\n          if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    return diffs;\n  }\n  function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedLineCount = sequence1.countLinesIn(unchangedRange);\n          if (unchangedLineCount > 5 || unchangedRange.length > 500) {\n            return false;\n          }\n          const unchangedText = sequence1.getText(unchangedRange).trim();\n          if (unchangedText.length > 20 || unchangedText.split(/\\r\\n|\\r|\\n/).length > 1) {\n            return false;\n          }\n          const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range);\n          const beforeSeq1Length = before.seq1Range.length;\n          const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range);\n          const beforeSeq2Length = before.seq2Range.length;\n          const afterLineCount1 = sequence1.countLinesIn(after.seq1Range);\n          const afterSeq1Length = after.seq1Range.length;\n          const afterLineCount2 = sequence2.countLinesIn(after.seq2Range);\n          const afterSeq2Length = after.seq2Range.length;\n          const max = 2 * 40 + 50;\n          function cap(v) {\n            return Math.min(v, max);\n          }\n          if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max ** 1.5) ** 1.5 * 1.3) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    const newDiffs = [];\n    forEachWithNeighbors(diffs, (prev, cur, next) => {\n      let newDiff = cur;\n      function shouldMarkAsChanged(text) {\n        return text.length > 0 && text.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100;\n      }\n      const fullRange1 = sequence1.extendToFullLines(cur.seq1Range);\n      const prefix = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start));\n      if (shouldMarkAsChanged(prefix)) {\n        newDiff = newDiff.deltaStart(-prefix.length);\n      }\n      const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive));\n      if (shouldMarkAsChanged(suffix)) {\n        newDiff = newDiff.deltaEnd(suffix.length);\n      }\n      const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max);\n      const result = newDiff.intersect(availableSpace);\n      if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) {\n        newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result);\n      } else {\n        newDiffs.push(result);\n      }\n    });\n    return newDiffs;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js\n  var LineSequence2 = class {\n    constructor(trimmedHash, lines) {\n      this.trimmedHash = trimmedHash;\n      this.lines = lines;\n    }\n    getElement(offset) {\n      return this.trimmedHash[offset];\n    }\n    get length() {\n      return this.trimmedHash.length;\n    }\n    getBoundaryScore(length) {\n      const indentationBefore = length === 0 ? 0 : getIndentation(this.lines[length - 1]);\n      const indentationAfter = length === this.lines.length ? 0 : getIndentation(this.lines[length]);\n      return 1e3 - (indentationBefore + indentationAfter);\n    }\n    getText(range) {\n      return this.lines.slice(range.start, range.endExclusive).join(\"\\n\");\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.lines[offset1] === this.lines[offset2];\n    }\n  };\n  function getIndentation(str) {\n    let i = 0;\n    while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) {\n      i++;\n    }\n    return i;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js\n  var DefaultLinesDiffComputer = class {\n    constructor() {\n      this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing();\n      this.myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    }\n    computeDiff(originalLines, modifiedLines, options) {\n      if (originalLines.length <= 1 && equals(originalLines, modifiedLines, (a2, b) => a2 === b)) {\n        return new LinesDiff([], [], false);\n      }\n      if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) {\n        return new LinesDiff([\n          new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [\n            new RangeMapping(new Range(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1))\n          ])\n        ], [], false);\n      }\n      const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs);\n      const considerWhitespaceChanges = !options.ignoreTrimWhitespace;\n      const perfectHashes = /* @__PURE__ */ new Map();\n      function getOrCreateHash(text) {\n        let hash = perfectHashes.get(text);\n        if (hash === void 0) {\n          hash = perfectHashes.size;\n          perfectHashes.set(text, hash);\n        }\n        return hash;\n      }\n      const originalLinesHashes = originalLines.map((l) => getOrCreateHash(l.trim()));\n      const modifiedLinesHashes = modifiedLines.map((l) => getOrCreateHash(l.trim()));\n      const sequence1 = new LineSequence2(originalLinesHashes, originalLines);\n      const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines);\n      const lineAlignmentResult = (() => {\n        if (sequence1.length + sequence2.length < 1700) {\n          return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99);\n        }\n        return this.myersDiffingAlgorithm.compute(sequence1, sequence2);\n      })();\n      let lineAlignments = lineAlignmentResult.diffs;\n      let hitTimeout = lineAlignmentResult.hitTimeout;\n      lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments);\n      lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments);\n      const alignments = [];\n      const scanForWhitespaceChanges = (equalLinesCount) => {\n        if (!considerWhitespaceChanges) {\n          return;\n        }\n        for (let i = 0; i < equalLinesCount; i++) {\n          const seq1Offset = seq1LastStart + i;\n          const seq2Offset = seq2LastStart + i;\n          if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) {\n            const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges);\n            for (const a2 of characterDiffs.mappings) {\n              alignments.push(a2);\n            }\n            if (characterDiffs.hitTimeout) {\n              hitTimeout = true;\n            }\n          }\n        }\n      };\n      let seq1LastStart = 0;\n      let seq2LastStart = 0;\n      for (const diff of lineAlignments) {\n        assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart);\n        const equalLinesCount = diff.seq1Range.start - seq1LastStart;\n        scanForWhitespaceChanges(equalLinesCount);\n        seq1LastStart = diff.seq1Range.endExclusive;\n        seq2LastStart = diff.seq2Range.endExclusive;\n        const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges);\n        if (characterDiffs.hitTimeout) {\n          hitTimeout = true;\n        }\n        for (const a2 of characterDiffs.mappings) {\n          alignments.push(a2);\n        }\n      }\n      scanForWhitespaceChanges(originalLines.length - seq1LastStart);\n      const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines);\n      let moves = [];\n      if (options.computeMoves) {\n        moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges);\n      }\n      assertFn(() => {\n        function validatePosition(pos, lines) {\n          if (pos.lineNumber < 1 || pos.lineNumber > lines.length) {\n            return false;\n          }\n          const line = lines[pos.lineNumber - 1];\n          if (pos.column < 1 || pos.column > line.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        function validateRange(range, lines) {\n          if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) {\n            return false;\n          }\n          if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        for (const c of changes) {\n          if (!c.innerChanges) {\n            return false;\n          }\n          for (const ic of c.innerChanges) {\n            const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines);\n            if (!valid) {\n              return false;\n            }\n          }\n          if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return new LinesDiff(changes, moves, hitTimeout);\n    }\n    computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) {\n      const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout);\n      const movesWithDiffs = moves.map((m) => {\n        const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m.original.toOffsetRange(), m.modified.toOffsetRange()), timeout, considerWhitespaceChanges);\n        const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true);\n        return new MovedText(m, mappings);\n      });\n      return movesWithDiffs;\n    }\n    refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) {\n      const slice1 = new LinesSliceCharSequence(originalLines, diff.seq1Range, considerWhitespaceChanges);\n      const slice2 = new LinesSliceCharSequence(modifiedLines, diff.seq2Range, considerWhitespaceChanges);\n      const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout);\n      let diffs = diffResult.diffs;\n      diffs = optimizeSequenceDiffs(slice1, slice2, diffs);\n      diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs);\n      diffs = removeShortMatches(slice1, slice2, diffs);\n      diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs);\n      const result = diffs.map((d) => new RangeMapping(slice1.translateRange(d.seq1Range), slice2.translateRange(d.seq2Range)));\n      return {\n        mappings: result,\n        hitTimeout: diffResult.hitTimeout\n      };\n    }\n  };\n  function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) {\n    const changes = [];\n    for (const g of groupAdjacentBy(alignments.map((a2) => getLineRangeMapping(a2, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) {\n      const first = g[0];\n      const last = g[g.length - 1];\n      changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g.map((a2) => a2.innerChanges[0])));\n    }\n    assertFn(() => {\n      if (!dontAssertStartLine && changes.length > 0) {\n        if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) {\n          return false;\n        }\n        if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) {\n          return false;\n        }\n      }\n      return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n      m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n    });\n    return changes;\n  }\n  function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {\n    let lineStartDelta = 0;\n    let lineEndDelta = 0;\n    if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) {\n      lineEndDelta = -1;\n    }\n    if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) {\n      lineStartDelta = 1;\n    }\n    const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta);\n    const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta);\n    return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js\n  var linesDiffComputers = {\n    getLegacy: () => new LegacyLinesDiffComputer(),\n    getDefault: () => new DefaultLinesDiffComputer()\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/color.js\n  function roundFloat(number, decimalPoints) {\n    const decimal = Math.pow(10, decimalPoints);\n    return Math.round(number * decimal) / decimal;\n  }\n  var RGBA = class {\n    constructor(r, g, b, a2 = 1) {\n      this._rgbaBrand = void 0;\n      this.r = Math.min(255, Math.max(0, r)) | 0;\n      this.g = Math.min(255, Math.max(0, g)) | 0;\n      this.b = Math.min(255, Math.max(0, b)) | 0;\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b) {\n      return a2.r === b.r && a2.g === b.g && a2.b === b.b && a2.a === b.a;\n    }\n  };\n  var HSLA = class _HSLA {\n    constructor(h, s, l, a2) {\n      this._hslaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.l = roundFloat(Math.max(Math.min(1, l), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b) {\n      return a2.h === b.h && a2.s === b.s && a2.l === b.l && a2.a === b.a;\n    }\n    /**\n     * Converts an RGB color value to HSL. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes r, g, and b are contained in the set [0, 255] and\n     * returns h in the set [0, 360], s, and l in the set [0, 1].\n     */\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const a2 = rgba.a;\n      const max = Math.max(r, g, b);\n      const min = Math.min(r, g, b);\n      let h = 0;\n      let s = 0;\n      const l = (min + max) / 2;\n      const chroma = max - min;\n      if (chroma > 0) {\n        s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1);\n        switch (max) {\n          case r:\n            h = (g - b) / chroma + (g < b ? 6 : 0);\n            break;\n          case g:\n            h = (b - r) / chroma + 2;\n            break;\n          case b:\n            h = (r - g) / chroma + 4;\n            break;\n        }\n        h *= 60;\n        h = Math.round(h);\n      }\n      return new _HSLA(h, s, l, a2);\n    }\n    static _hue2rgb(p, q, t) {\n      if (t < 0) {\n        t += 1;\n      }\n      if (t > 1) {\n        t -= 1;\n      }\n      if (t < 1 / 6) {\n        return p + (q - p) * 6 * t;\n      }\n      if (t < 1 / 2) {\n        return q;\n      }\n      if (t < 2 / 3) {\n        return p + (q - p) * (2 / 3 - t) * 6;\n      }\n      return p;\n    }\n    /**\n     * Converts an HSL color value to RGB. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and\n     * returns r, g, and b in the set [0, 255].\n     */\n    static toRGBA(hsla) {\n      const h = hsla.h / 360;\n      const { s, l, a: a2 } = hsla;\n      let r, g, b;\n      if (s === 0) {\n        r = g = b = l;\n      } else {\n        const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n        const p = 2 * l - q;\n        r = _HSLA._hue2rgb(p, q, h + 1 / 3);\n        g = _HSLA._hue2rgb(p, q, h);\n        b = _HSLA._hue2rgb(p, q, h - 1 / 3);\n      }\n      return new RGBA(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255), a2);\n    }\n  };\n  var HSVA = class _HSVA {\n    constructor(h, s, v, a2) {\n      this._hsvaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.v = roundFloat(Math.max(Math.min(1, v), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b) {\n      return a2.h === b.h && a2.s === b.s && a2.v === b.v && a2.a === b.a;\n    }\n    // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const cmax = Math.max(r, g, b);\n      const cmin = Math.min(r, g, b);\n      const delta = cmax - cmin;\n      const s = cmax === 0 ? 0 : delta / cmax;\n      let m;\n      if (delta === 0) {\n        m = 0;\n      } else if (cmax === r) {\n        m = ((g - b) / delta % 6 + 6) % 6;\n      } else if (cmax === g) {\n        m = (b - r) / delta + 2;\n      } else {\n        m = (r - g) / delta + 4;\n      }\n      return new _HSVA(Math.round(m * 60), s, cmax, rgba.a);\n    }\n    // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm\n    static toRGBA(hsva) {\n      const { h, s, v, a: a2 } = hsva;\n      const c = v * s;\n      const x = c * (1 - Math.abs(h / 60 % 2 - 1));\n      const m = v - c;\n      let [r, g, b] = [0, 0, 0];\n      if (h < 60) {\n        r = c;\n        g = x;\n      } else if (h < 120) {\n        r = x;\n        g = c;\n      } else if (h < 180) {\n        g = c;\n        b = x;\n      } else if (h < 240) {\n        g = x;\n        b = c;\n      } else if (h < 300) {\n        r = x;\n        b = c;\n      } else if (h <= 360) {\n        r = c;\n        b = x;\n      }\n      r = Math.round((r + m) * 255);\n      g = Math.round((g + m) * 255);\n      b = Math.round((b + m) * 255);\n      return new RGBA(r, g, b, a2);\n    }\n  };\n  var Color = class _Color {\n    static fromHex(hex) {\n      return _Color.Format.CSS.parseHex(hex) || _Color.red;\n    }\n    static equals(a2, b) {\n      if (!a2 && !b) {\n        return true;\n      }\n      if (!a2 || !b) {\n        return false;\n      }\n      return a2.equals(b);\n    }\n    get hsla() {\n      if (this._hsla) {\n        return this._hsla;\n      } else {\n        return HSLA.fromRGBA(this.rgba);\n      }\n    }\n    get hsva() {\n      if (this._hsva) {\n        return this._hsva;\n      }\n      return HSVA.fromRGBA(this.rgba);\n    }\n    constructor(arg) {\n      if (!arg) {\n        throw new Error(\"Color needs a value\");\n      } else if (arg instanceof RGBA) {\n        this.rgba = arg;\n      } else if (arg instanceof HSLA) {\n        this._hsla = arg;\n        this.rgba = HSLA.toRGBA(arg);\n      } else if (arg instanceof HSVA) {\n        this._hsva = arg;\n        this.rgba = HSVA.toRGBA(arg);\n      } else {\n        throw new Error(\"Invalid color ctor argument\");\n      }\n    }\n    equals(other) {\n      return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva);\n    }\n    /**\n     * http://www.w3.org/TR/WCAG20/#relativeluminancedef\n     * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.\n     */\n    getRelativeLuminance() {\n      const R = _Color._relativeLuminanceForComponent(this.rgba.r);\n      const G = _Color._relativeLuminanceForComponent(this.rgba.g);\n      const B = _Color._relativeLuminanceForComponent(this.rgba.b);\n      const luminance = 0.2126 * R + 0.7152 * G + 0.0722 * B;\n      return roundFloat(luminance, 4);\n    }\n    static _relativeLuminanceForComponent(color) {\n      const c = color / 255;\n      return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);\n    }\n    /**\n     *\thttp://24ways.org/2010/calculating-color-contrast\n     *  Return 'true' if lighter color otherwise 'false'\n     */\n    isLighter() {\n      const yiq = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3;\n      return yiq >= 128;\n    }\n    isLighterThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 > lum2;\n    }\n    isDarkerThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 < lum2;\n    }\n    lighten(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor, this.hsla.a));\n    }\n    darken(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor, this.hsla.a));\n    }\n    transparent(factor) {\n      const { r, g, b, a: a2 } = this.rgba;\n      return new _Color(new RGBA(r, g, b, a2 * factor));\n    }\n    isTransparent() {\n      return this.rgba.a === 0;\n    }\n    isOpaque() {\n      return this.rgba.a === 1;\n    }\n    opposite() {\n      return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));\n    }\n    makeOpaque(opaqueBackground) {\n      if (this.isOpaque() || opaqueBackground.rgba.a !== 1) {\n        return this;\n      }\n      const { r, g, b, a: a2 } = this.rgba;\n      return new _Color(new RGBA(opaqueBackground.rgba.r - a2 * (opaqueBackground.rgba.r - r), opaqueBackground.rgba.g - a2 * (opaqueBackground.rgba.g - g), opaqueBackground.rgba.b - a2 * (opaqueBackground.rgba.b - b), 1));\n    }\n    toString() {\n      if (!this._toString) {\n        this._toString = _Color.Format.CSS.format(this);\n      }\n      return this._toString;\n    }\n    static getLighterColor(of, relative2, factor) {\n      if (of.isLighterThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum2 - lum1) / lum2;\n      return of.lighten(factor);\n    }\n    static getDarkerColor(of, relative2, factor) {\n      if (of.isDarkerThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum1 - lum2) / lum1;\n      return of.darken(factor);\n    }\n  };\n  Color.white = new Color(new RGBA(255, 255, 255, 1));\n  Color.black = new Color(new RGBA(0, 0, 0, 1));\n  Color.red = new Color(new RGBA(255, 0, 0, 1));\n  Color.blue = new Color(new RGBA(0, 0, 255, 1));\n  Color.green = new Color(new RGBA(0, 255, 0, 1));\n  Color.cyan = new Color(new RGBA(0, 255, 255, 1));\n  Color.lightgrey = new Color(new RGBA(211, 211, 211, 1));\n  Color.transparent = new Color(new RGBA(0, 0, 0, 0));\n  (function(Color3) {\n    let Format;\n    (function(Format2) {\n      let CSS;\n      (function(CSS2) {\n        function formatRGB(color) {\n          if (color.rgba.a === 1) {\n            return `rgb(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b})`;\n          }\n          return Color3.Format.CSS.formatRGBA(color);\n        }\n        CSS2.formatRGB = formatRGB;\n        function formatRGBA(color) {\n          return `rgba(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b}, ${+color.rgba.a.toFixed(2)})`;\n        }\n        CSS2.formatRGBA = formatRGBA;\n        function formatHSL(color) {\n          if (color.hsla.a === 1) {\n            return `hsl(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%)`;\n          }\n          return Color3.Format.CSS.formatHSLA(color);\n        }\n        CSS2.formatHSL = formatHSL;\n        function formatHSLA(color) {\n          return `hsla(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%, ${color.hsla.a.toFixed(2)})`;\n        }\n        CSS2.formatHSLA = formatHSLA;\n        function _toTwoDigitHex(n) {\n          const r = n.toString(16);\n          return r.length !== 2 ? \"0\" + r : r;\n        }\n        function formatHex(color) {\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}`;\n        }\n        CSS2.formatHex = formatHex;\n        function formatHexA(color, compact = false) {\n          if (compact && color.rgba.a === 1) {\n            return Color3.Format.CSS.formatHex(color);\n          }\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}${_toTwoDigitHex(Math.round(color.rgba.a * 255))}`;\n        }\n        CSS2.formatHexA = formatHexA;\n        function format3(color) {\n          if (color.isOpaque()) {\n            return Color3.Format.CSS.formatHex(color);\n          }\n          return Color3.Format.CSS.formatRGBA(color);\n        }\n        CSS2.format = format3;\n        function parseHex(hex) {\n          const length = hex.length;\n          if (length === 0) {\n            return null;\n          }\n          if (hex.charCodeAt(0) !== 35) {\n            return null;\n          }\n          if (length === 7) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            return new Color3(new RGBA(r, g, b, 1));\n          }\n          if (length === 9) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            const a2 = 16 * _parseHexDigit(hex.charCodeAt(7)) + _parseHexDigit(hex.charCodeAt(8));\n            return new Color3(new RGBA(r, g, b, a2 / 255));\n          }\n          if (length === 4) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b));\n          }\n          if (length === 5) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            const a2 = _parseHexDigit(hex.charCodeAt(4));\n            return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b, (16 * a2 + a2) / 255));\n          }\n          return null;\n        }\n        CSS2.parseHex = parseHex;\n        function _parseHexDigit(charCode) {\n          switch (charCode) {\n            case 48:\n              return 0;\n            case 49:\n              return 1;\n            case 50:\n              return 2;\n            case 51:\n              return 3;\n            case 52:\n              return 4;\n            case 53:\n              return 5;\n            case 54:\n              return 6;\n            case 55:\n              return 7;\n            case 56:\n              return 8;\n            case 57:\n              return 9;\n            case 97:\n              return 10;\n            case 65:\n              return 10;\n            case 98:\n              return 11;\n            case 66:\n              return 11;\n            case 99:\n              return 12;\n            case 67:\n              return 12;\n            case 100:\n              return 13;\n            case 68:\n              return 13;\n            case 101:\n              return 14;\n            case 69:\n              return 14;\n            case 102:\n              return 15;\n            case 70:\n              return 15;\n          }\n          return 0;\n        }\n      })(CSS = Format2.CSS || (Format2.CSS = {}));\n    })(Format = Color3.Format || (Color3.Format = {}));\n  })(Color || (Color = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js\n  function _parseCaptureGroups(captureGroups) {\n    const values2 = [];\n    for (const captureGroup of captureGroups) {\n      const parsedNumber = Number(captureGroup);\n      if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\\s/g, \"\") !== \"\") {\n        values2.push(parsedNumber);\n      }\n    }\n    return values2;\n  }\n  function _toIColor(r, g, b, a2) {\n    return {\n      red: r / 255,\n      blue: b / 255,\n      green: g / 255,\n      alpha: a2\n    };\n  }\n  function _findRange(model, match) {\n    const index = match.index;\n    const length = match[0].length;\n    if (!index) {\n      return;\n    }\n    const startPosition = model.positionAt(index);\n    const range = {\n      startLineNumber: startPosition.lineNumber,\n      startColumn: startPosition.column,\n      endLineNumber: startPosition.lineNumber,\n      endColumn: startPosition.column + length\n    };\n    return range;\n  }\n  function _findHexColorInformation(range, hexValue) {\n    if (!range) {\n      return;\n    }\n    const parsedHexColor = Color.Format.CSS.parseHex(hexValue);\n    if (!parsedHexColor) {\n      return;\n    }\n    return {\n      range,\n      color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a)\n    };\n  }\n  function _findRGBColorInformation(range, matches2, isAlpha) {\n    if (!range || matches2.length !== 1) {\n      return;\n    }\n    const match = matches2[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    return {\n      range,\n      color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1)\n    };\n  }\n  function _findHSLColorInformation(range, matches2, isAlpha) {\n    if (!range || matches2.length !== 1) {\n      return;\n    }\n    const match = matches2[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    const colorEquivalent = new Color(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1));\n    return {\n      range,\n      color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a)\n    };\n  }\n  function _findMatches(model, regex) {\n    if (typeof model === \"string\") {\n      return [...model.matchAll(regex)];\n    } else {\n      return model.findMatches(regex);\n    }\n  }\n  function computeColors(model) {\n    const result = [];\n    const initialValidationRegex = /\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|(#)([A-Fa-f0-9]{3})\\b|(#)([A-Fa-f0-9]{4})\\b|(#)([A-Fa-f0-9]{6})\\b|(#)([A-Fa-f0-9]{8})\\b/gm;\n    const initialValidationMatches = _findMatches(model, initialValidationRegex);\n    if (initialValidationMatches.length > 0) {\n      for (const initialMatch of initialValidationMatches) {\n        const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0);\n        const colorScheme = initialCaptureGroups[1];\n        const colorParameters = initialCaptureGroups[2];\n        if (!colorParameters) {\n          continue;\n        }\n        let colorInformation;\n        if (colorScheme === \"rgb\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"rgba\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"hsl\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"hsla\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"#\") {\n          colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters);\n        }\n        if (colorInformation) {\n          result.push(colorInformation);\n        }\n      }\n    }\n    return result;\n  }\n  function computeDefaultDocumentColors(model) {\n    if (!model || typeof model.getValue !== \"function\" || typeof model.positionAt !== \"function\") {\n      return [];\n    }\n    return computeColors(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js\n  var markRegex = /\\bMARK:\\s*(.*)$/d;\n  var trimDashesRegex = /^-+|-+$/g;\n  function findSectionHeaders(model, options) {\n    var _a5;\n    let headers = [];\n    if (options.findRegionSectionHeaders && ((_a5 = options.foldingRules) === null || _a5 === void 0 ? void 0 : _a5.markers)) {\n      const regionHeaders = collectRegionHeaders(model, options);\n      headers = headers.concat(regionHeaders);\n    }\n    if (options.findMarkSectionHeaders) {\n      const markHeaders = collectMarkHeaders(model);\n      headers = headers.concat(markHeaders);\n    }\n    return headers;\n  }\n  function collectRegionHeaders(model, options) {\n    const regionHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      const match = lineContent.match(options.foldingRules.markers.start);\n      if (match) {\n        const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 };\n        if (range.endColumn > range.startColumn) {\n          const sectionHeader = {\n            range,\n            ...getHeaderText(lineContent.substring(match[0].length)),\n            shouldBeInComments: false\n          };\n          if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n            regionHeaders.push(sectionHeader);\n          }\n        }\n      }\n    }\n    return regionHeaders;\n  }\n  function collectMarkHeaders(model) {\n    const markHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      addMarkHeaderIfFound(lineContent, lineNumber, markHeaders);\n    }\n    return markHeaders;\n  }\n  function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) {\n    markRegex.lastIndex = 0;\n    const match = markRegex.exec(lineContent);\n    if (match) {\n      const column = match.indices[1][0] + 1;\n      const endColumn = match.indices[1][1] + 1;\n      const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn };\n      if (range.endColumn > range.startColumn) {\n        const sectionHeader = {\n          range,\n          ...getHeaderText(match[1]),\n          shouldBeInComments: true\n        };\n        if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n          sectionHeaders.push(sectionHeader);\n        }\n      }\n    }\n  }\n  function getHeaderText(text) {\n    text = text.trim();\n    const hasSeparatorLine = text.startsWith(\"-\");\n    text = text.replace(trimDashesRegex, \"\");\n    return { text, hasSeparatorLine };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js\n  var MirrorModel = class extends MirrorTextModel {\n    get uri() {\n      return this._uri;\n    }\n    get eol() {\n      return this._eol;\n    }\n    getValue() {\n      return this.getText();\n    }\n    findMatches(regex) {\n      const matches2 = [];\n      for (let i = 0; i < this._lines.length; i++) {\n        const line = this._lines[i];\n        const offsetToAdd = this.offsetAt(new Position(i + 1, 1));\n        const iteratorOverMatches = line.matchAll(regex);\n        for (const match of iteratorOverMatches) {\n          if (match.index || match.index === 0) {\n            match.index = match.index + offsetToAdd;\n          }\n          matches2.push(match);\n        }\n      }\n      return matches2;\n    }\n    getLinesContent() {\n      return this._lines.slice(0);\n    }\n    getLineCount() {\n      return this._lines.length;\n    }\n    getLineContent(lineNumber) {\n      return this._lines[lineNumber - 1];\n    }\n    getWordAtPosition(position, wordDefinition) {\n      const wordAtText = getWordAtText(position.column, ensureValidWordDefinition(wordDefinition), this._lines[position.lineNumber - 1], 0);\n      if (wordAtText) {\n        return new Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn);\n      }\n      return null;\n    }\n    words(wordDefinition) {\n      const lines = this._lines;\n      const wordenize = this._wordenize.bind(this);\n      let lineNumber = 0;\n      let lineText = \"\";\n      let wordRangesIdx = 0;\n      let wordRanges = [];\n      return {\n        *[Symbol.iterator]() {\n          while (true) {\n            if (wordRangesIdx < wordRanges.length) {\n              const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end);\n              wordRangesIdx += 1;\n              yield value;\n            } else {\n              if (lineNumber < lines.length) {\n                lineText = lines[lineNumber];\n                wordRanges = wordenize(lineText, wordDefinition);\n                wordRangesIdx = 0;\n                lineNumber += 1;\n              } else {\n                break;\n              }\n            }\n          }\n        }\n      };\n    }\n    getLineWords(lineNumber, wordDefinition) {\n      const content = this._lines[lineNumber - 1];\n      const ranges = this._wordenize(content, wordDefinition);\n      const words = [];\n      for (const range of ranges) {\n        words.push({\n          word: content.substring(range.start, range.end),\n          startColumn: range.start + 1,\n          endColumn: range.end + 1\n        });\n      }\n      return words;\n    }\n    _wordenize(content, wordDefinition) {\n      const result = [];\n      let match;\n      wordDefinition.lastIndex = 0;\n      while (match = wordDefinition.exec(content)) {\n        if (match[0].length === 0) {\n          break;\n        }\n        result.push({ start: match.index, end: match.index + match[0].length });\n      }\n      return result;\n    }\n    getValueInRange(range) {\n      range = this._validateRange(range);\n      if (range.startLineNumber === range.endLineNumber) {\n        return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1);\n      }\n      const lineEnding = this._eol;\n      const startLineIndex = range.startLineNumber - 1;\n      const endLineIndex = range.endLineNumber - 1;\n      const resultLines = [];\n      resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1));\n      for (let i = startLineIndex + 1; i < endLineIndex; i++) {\n        resultLines.push(this._lines[i]);\n      }\n      resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1));\n      return resultLines.join(lineEnding);\n    }\n    offsetAt(position) {\n      position = this._validatePosition(position);\n      this._ensureLineStarts();\n      return this._lineStarts.getPrefixSum(position.lineNumber - 2) + (position.column - 1);\n    }\n    positionAt(offset) {\n      offset = Math.floor(offset);\n      offset = Math.max(0, offset);\n      this._ensureLineStarts();\n      const out = this._lineStarts.getIndexOf(offset);\n      const lineLength = this._lines[out.index].length;\n      return {\n        lineNumber: 1 + out.index,\n        column: 1 + Math.min(out.remainder, lineLength)\n      };\n    }\n    _validateRange(range) {\n      const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn });\n      const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn });\n      if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) {\n        return {\n          startLineNumber: start.lineNumber,\n          startColumn: start.column,\n          endLineNumber: end.lineNumber,\n          endColumn: end.column\n        };\n      }\n      return range;\n    }\n    _validatePosition(position) {\n      if (!Position.isIPosition(position)) {\n        throw new Error(\"bad position\");\n      }\n      let { lineNumber, column } = position;\n      let hasChanged = false;\n      if (lineNumber < 1) {\n        lineNumber = 1;\n        column = 1;\n        hasChanged = true;\n      } else if (lineNumber > this._lines.length) {\n        lineNumber = this._lines.length;\n        column = this._lines[lineNumber - 1].length + 1;\n        hasChanged = true;\n      } else {\n        const maxCharacter = this._lines[lineNumber - 1].length + 1;\n        if (column < 1) {\n          column = 1;\n          hasChanged = true;\n        } else if (column > maxCharacter) {\n          column = maxCharacter;\n          hasChanged = true;\n        }\n      }\n      if (!hasChanged) {\n        return position;\n      } else {\n        return { lineNumber, column };\n      }\n    }\n  };\n  var EditorSimpleWorker = class _EditorSimpleWorker {\n    constructor(host, foreignModuleFactory) {\n      this._host = host;\n      this._models = /* @__PURE__ */ Object.create(null);\n      this._foreignModuleFactory = foreignModuleFactory;\n      this._foreignModule = null;\n    }\n    dispose() {\n      this._models = /* @__PURE__ */ Object.create(null);\n    }\n    _getModel(uri) {\n      return this._models[uri];\n    }\n    _getModels() {\n      const all = [];\n      Object.keys(this._models).forEach((key) => all.push(this._models[key]));\n      return all;\n    }\n    acceptNewModel(data) {\n      this._models[data.url] = new MirrorModel(URI.parse(data.url), data.lines, data.EOL, data.versionId);\n    }\n    acceptModelChanged(strURL, e) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      const model = this._models[strURL];\n      model.onEvents(e);\n    }\n    acceptRemovedModel(strURL) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      delete this._models[strURL];\n    }\n    async computeUnicodeHighlights(url, options, range) {\n      const model = this._getModel(url);\n      if (!model) {\n        return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 };\n      }\n      return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range);\n    }\n    async findSectionHeaders(url, options) {\n      const model = this._getModel(url);\n      if (!model) {\n        return [];\n      }\n      return findSectionHeaders(model, options);\n    }\n    // ---- BEGIN diff --------------------------------------------------------------------------\n    async computeDiff(originalUrl, modifiedUrl, options, algorithm) {\n      const original = this._getModel(originalUrl);\n      const modified = this._getModel(modifiedUrl);\n      if (!original || !modified) {\n        return null;\n      }\n      const result = _EditorSimpleWorker.computeDiff(original, modified, options, algorithm);\n      return result;\n    }\n    static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) {\n      const diffAlgorithm = algorithm === \"advanced\" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy();\n      const originalLines = originalTextModel.getLinesContent();\n      const modifiedLines = modifiedTextModel.getLinesContent();\n      const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options);\n      const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel);\n      function getLineChanges(changes) {\n        return changes.map((m) => {\n          var _a5;\n          return [m.original.startLineNumber, m.original.endLineNumberExclusive, m.modified.startLineNumber, m.modified.endLineNumberExclusive, (_a5 = m.innerChanges) === null || _a5 === void 0 ? void 0 : _a5.map((m2) => [\n            m2.originalRange.startLineNumber,\n            m2.originalRange.startColumn,\n            m2.originalRange.endLineNumber,\n            m2.originalRange.endColumn,\n            m2.modifiedRange.startLineNumber,\n            m2.modifiedRange.startColumn,\n            m2.modifiedRange.endLineNumber,\n            m2.modifiedRange.endColumn\n          ])];\n        });\n      }\n      return {\n        identical,\n        quitEarly: result.hitTimeout,\n        changes: getLineChanges(result.changes),\n        moves: result.moves.map((m) => [\n          m.lineRangeMapping.original.startLineNumber,\n          m.lineRangeMapping.original.endLineNumberExclusive,\n          m.lineRangeMapping.modified.startLineNumber,\n          m.lineRangeMapping.modified.endLineNumberExclusive,\n          getLineChanges(m.changes)\n        ])\n      };\n    }\n    static _modelsAreIdentical(original, modified) {\n      const originalLineCount = original.getLineCount();\n      const modifiedLineCount = modified.getLineCount();\n      if (originalLineCount !== modifiedLineCount) {\n        return false;\n      }\n      for (let line = 1; line <= originalLineCount; line++) {\n        const originalLine = original.getLineContent(line);\n        const modifiedLine = modified.getLineContent(line);\n        if (originalLine !== modifiedLine) {\n          return false;\n        }\n      }\n      return true;\n    }\n    async computeMoreMinimalEdits(modelUrl, edits, pretty) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return edits;\n      }\n      const result = [];\n      let lastEol = void 0;\n      edits = edits.slice(0).sort((a2, b) => {\n        if (a2.range && b.range) {\n          return Range.compareRangesUsingStarts(a2.range, b.range);\n        }\n        const aRng = a2.range ? 0 : 1;\n        const bRng = b.range ? 0 : 1;\n        return aRng - bRng;\n      });\n      let writeIndex = 0;\n      for (let readIndex = 1; readIndex < edits.length; readIndex++) {\n        if (Range.getEndPosition(edits[writeIndex].range).equals(Range.getStartPosition(edits[readIndex].range))) {\n          edits[writeIndex].range = Range.fromPositions(Range.getStartPosition(edits[writeIndex].range), Range.getEndPosition(edits[readIndex].range));\n          edits[writeIndex].text += edits[readIndex].text;\n        } else {\n          writeIndex++;\n          edits[writeIndex] = edits[readIndex];\n        }\n      }\n      edits.length = writeIndex + 1;\n      for (let { range, text, eol } of edits) {\n        if (typeof eol === \"number\") {\n          lastEol = eol;\n        }\n        if (Range.isEmpty(range) && !text) {\n          continue;\n        }\n        const original = model.getValueInRange(range);\n        text = text.replace(/\\r\\n|\\n|\\r/g, model.eol);\n        if (original === text) {\n          continue;\n        }\n        if (Math.max(text.length, original.length) > _EditorSimpleWorker._diffLimit) {\n          result.push({ range, text });\n          continue;\n        }\n        const changes = stringDiff(original, text, pretty);\n        const editOffset = model.offsetAt(Range.lift(range).getStartPosition());\n        for (const change of changes) {\n          const start = model.positionAt(editOffset + change.originalStart);\n          const end = model.positionAt(editOffset + change.originalStart + change.originalLength);\n          const newEdit = {\n            text: text.substr(change.modifiedStart, change.modifiedLength),\n            range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column }\n          };\n          if (model.getValueInRange(newEdit.range) !== newEdit.text) {\n            result.push(newEdit);\n          }\n        }\n      }\n      if (typeof lastEol === \"number\") {\n        result.push({ eol: lastEol, text: \"\", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } });\n      }\n      return result;\n    }\n    // ---- END minimal edits ---------------------------------------------------------------\n    async computeLinks(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeLinks(model);\n    }\n    // --- BEGIN default document colors -----------------------------------------------------------\n    async computeDefaultDocumentColors(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeDefaultDocumentColors(model);\n    }\n    async textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) {\n      const sw = new StopWatch();\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const seen = /* @__PURE__ */ new Set();\n      outer: for (const url of modelUrls) {\n        const model = this._getModel(url);\n        if (!model) {\n          continue;\n        }\n        for (const word of model.words(wordDefRegExp)) {\n          if (word === leadingWord || !isNaN(Number(word))) {\n            continue;\n          }\n          seen.add(word);\n          if (seen.size > _EditorSimpleWorker._suggestionsLimit) {\n            break outer;\n          }\n        }\n      }\n      return { words: Array.from(seen), duration: sw.elapsed() };\n    }\n    // ---- END suggest --------------------------------------------------------------------------\n    //#region -- word ranges --\n    async computeWordRanges(modelUrl, range, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return /* @__PURE__ */ Object.create(null);\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const result = /* @__PURE__ */ Object.create(null);\n      for (let line = range.startLineNumber; line < range.endLineNumber; line++) {\n        const words = model.getLineWords(line, wordDefRegExp);\n        for (const word of words) {\n          if (!isNaN(Number(word.word))) {\n            continue;\n          }\n          let array = result[word.word];\n          if (!array) {\n            array = [];\n            result[word.word] = array;\n          }\n          array.push({\n            startLineNumber: line,\n            startColumn: word.startColumn,\n            endLineNumber: line,\n            endColumn: word.endColumn\n          });\n        }\n      }\n      return result;\n    }\n    //#endregion\n    async navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      if (range.startColumn === range.endColumn) {\n        range = {\n          startLineNumber: range.startLineNumber,\n          startColumn: range.startColumn,\n          endLineNumber: range.endLineNumber,\n          endColumn: range.endColumn + 1\n        };\n      }\n      const selectionText = model.getValueInRange(range);\n      const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp);\n      if (!wordRange) {\n        return null;\n      }\n      const word = model.getValueInRange(wordRange);\n      const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up);\n      return result;\n    }\n    // ---- BEGIN foreign module support --------------------------------------------------------------------------\n    loadForeignModule(moduleId, createData, foreignHostMethods) {\n      const proxyMethodRequest = (method, args) => {\n        return this._host.fhr(method, args);\n      };\n      const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest);\n      const ctx = {\n        host: foreignHost,\n        getMirrorModels: () => {\n          return this._getModels();\n        }\n      };\n      if (this._foreignModuleFactory) {\n        this._foreignModule = this._foreignModuleFactory(ctx, createData);\n        return Promise.resolve(getAllMethodNames(this._foreignModule));\n      }\n      return Promise.reject(new Error(`Unexpected usage`));\n    }\n    // foreign method request\n    fmr(method, args) {\n      if (!this._foreignModule || typeof this._foreignModule[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n  };\n  EditorSimpleWorker._diffLimit = 1e5;\n  EditorSimpleWorker._suggestionsLimit = 1e4;\n  if (typeof importScripts === \"function\") {\n    globalThis.monaco = createMonacoBaseAPI();\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/editor.worker.js\n  var initialized = false;\n  function initialize(foreignModule) {\n    if (initialized) {\n      return;\n    }\n    initialized = true;\n    const simpleWorker = new SimpleWorkerServer((msg) => {\n      globalThis.postMessage(msg);\n    }, (host) => new EditorSimpleWorker(host, foreignModule));\n    globalThis.onmessage = (e) => {\n      simpleWorker.onmessage(e.data);\n    };\n  }\n  globalThis.onmessage = (e) => {\n    if (!initialized) {\n      initialize(null);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/language/css/css.worker.js\n  var TokenType;\n  (function(TokenType2) {\n    TokenType2[TokenType2[\"Ident\"] = 0] = \"Ident\";\n    TokenType2[TokenType2[\"AtKeyword\"] = 1] = \"AtKeyword\";\n    TokenType2[TokenType2[\"String\"] = 2] = \"String\";\n    TokenType2[TokenType2[\"BadString\"] = 3] = \"BadString\";\n    TokenType2[TokenType2[\"UnquotedString\"] = 4] = \"UnquotedString\";\n    TokenType2[TokenType2[\"Hash\"] = 5] = \"Hash\";\n    TokenType2[TokenType2[\"Num\"] = 6] = \"Num\";\n    TokenType2[TokenType2[\"Percentage\"] = 7] = \"Percentage\";\n    TokenType2[TokenType2[\"Dimension\"] = 8] = \"Dimension\";\n    TokenType2[TokenType2[\"UnicodeRange\"] = 9] = \"UnicodeRange\";\n    TokenType2[TokenType2[\"CDO\"] = 10] = \"CDO\";\n    TokenType2[TokenType2[\"CDC\"] = 11] = \"CDC\";\n    TokenType2[TokenType2[\"Colon\"] = 12] = \"Colon\";\n    TokenType2[TokenType2[\"SemiColon\"] = 13] = \"SemiColon\";\n    TokenType2[TokenType2[\"CurlyL\"] = 14] = \"CurlyL\";\n    TokenType2[TokenType2[\"CurlyR\"] = 15] = \"CurlyR\";\n    TokenType2[TokenType2[\"ParenthesisL\"] = 16] = \"ParenthesisL\";\n    TokenType2[TokenType2[\"ParenthesisR\"] = 17] = \"ParenthesisR\";\n    TokenType2[TokenType2[\"BracketL\"] = 18] = \"BracketL\";\n    TokenType2[TokenType2[\"BracketR\"] = 19] = \"BracketR\";\n    TokenType2[TokenType2[\"Whitespace\"] = 20] = \"Whitespace\";\n    TokenType2[TokenType2[\"Includes\"] = 21] = \"Includes\";\n    TokenType2[TokenType2[\"Dashmatch\"] = 22] = \"Dashmatch\";\n    TokenType2[TokenType2[\"SubstringOperator\"] = 23] = \"SubstringOperator\";\n    TokenType2[TokenType2[\"PrefixOperator\"] = 24] = \"PrefixOperator\";\n    TokenType2[TokenType2[\"SuffixOperator\"] = 25] = \"SuffixOperator\";\n    TokenType2[TokenType2[\"Delim\"] = 26] = \"Delim\";\n    TokenType2[TokenType2[\"EMS\"] = 27] = \"EMS\";\n    TokenType2[TokenType2[\"EXS\"] = 28] = \"EXS\";\n    TokenType2[TokenType2[\"Length\"] = 29] = \"Length\";\n    TokenType2[TokenType2[\"Angle\"] = 30] = \"Angle\";\n    TokenType2[TokenType2[\"Time\"] = 31] = \"Time\";\n    TokenType2[TokenType2[\"Freq\"] = 32] = \"Freq\";\n    TokenType2[TokenType2[\"Exclamation\"] = 33] = \"Exclamation\";\n    TokenType2[TokenType2[\"Resolution\"] = 34] = \"Resolution\";\n    TokenType2[TokenType2[\"Comma\"] = 35] = \"Comma\";\n    TokenType2[TokenType2[\"Charset\"] = 36] = \"Charset\";\n    TokenType2[TokenType2[\"EscapedJavaScript\"] = 37] = \"EscapedJavaScript\";\n    TokenType2[TokenType2[\"BadEscapedJavaScript\"] = 38] = \"BadEscapedJavaScript\";\n    TokenType2[TokenType2[\"Comment\"] = 39] = \"Comment\";\n    TokenType2[TokenType2[\"SingleLineComment\"] = 40] = \"SingleLineComment\";\n    TokenType2[TokenType2[\"EOF\"] = 41] = \"EOF\";\n    TokenType2[TokenType2[\"CustomToken\"] = 42] = \"CustomToken\";\n  })(TokenType || (TokenType = {}));\n  var MultiLineStream = (\n    /** @class */\n    function() {\n      function MultiLineStream2(source) {\n        this.source = source;\n        this.len = source.length;\n        this.position = 0;\n      }\n      MultiLineStream2.prototype.substring = function(from, to) {\n        if (to === void 0) {\n          to = this.position;\n        }\n        return this.source.substring(from, to);\n      };\n      MultiLineStream2.prototype.eos = function() {\n        return this.len <= this.position;\n      };\n      MultiLineStream2.prototype.pos = function() {\n        return this.position;\n      };\n      MultiLineStream2.prototype.goBackTo = function(pos) {\n        this.position = pos;\n      };\n      MultiLineStream2.prototype.goBack = function(n) {\n        this.position -= n;\n      };\n      MultiLineStream2.prototype.advance = function(n) {\n        this.position += n;\n      };\n      MultiLineStream2.prototype.nextChar = function() {\n        return this.source.charCodeAt(this.position++) || 0;\n      };\n      MultiLineStream2.prototype.peekChar = function(n) {\n        if (n === void 0) {\n          n = 0;\n        }\n        return this.source.charCodeAt(this.position + n) || 0;\n      };\n      MultiLineStream2.prototype.lookbackChar = function(n) {\n        if (n === void 0) {\n          n = 0;\n        }\n        return this.source.charCodeAt(this.position - n) || 0;\n      };\n      MultiLineStream2.prototype.advanceIfChar = function(ch) {\n        if (ch === this.source.charCodeAt(this.position)) {\n          this.position++;\n          return true;\n        }\n        return false;\n      };\n      MultiLineStream2.prototype.advanceIfChars = function(ch) {\n        if (this.position + ch.length > this.source.length) {\n          return false;\n        }\n        var i = 0;\n        for (; i < ch.length; i++) {\n          if (this.source.charCodeAt(this.position + i) !== ch[i]) {\n            return false;\n          }\n        }\n        this.advance(i);\n        return true;\n      };\n      MultiLineStream2.prototype.advanceWhileChar = function(condition) {\n        var posNow = this.position;\n        while (this.position < this.len && condition(this.source.charCodeAt(this.position))) {\n          this.position++;\n        }\n        return this.position - posNow;\n      };\n      return MultiLineStream2;\n    }()\n  );\n  var _a4 = \"a\".charCodeAt(0);\n  var _f = \"f\".charCodeAt(0);\n  var _z = \"z\".charCodeAt(0);\n  var _u = \"u\".charCodeAt(0);\n  var _A = \"A\".charCodeAt(0);\n  var _F = \"F\".charCodeAt(0);\n  var _Z = \"Z\".charCodeAt(0);\n  var _0 = \"0\".charCodeAt(0);\n  var _9 = \"9\".charCodeAt(0);\n  var _TLD = \"~\".charCodeAt(0);\n  var _HAT = \"^\".charCodeAt(0);\n  var _EQS = \"=\".charCodeAt(0);\n  var _PIP = \"|\".charCodeAt(0);\n  var _MIN = \"-\".charCodeAt(0);\n  var _USC = \"_\".charCodeAt(0);\n  var _PRC = \"%\".charCodeAt(0);\n  var _MUL = \"*\".charCodeAt(0);\n  var _LPA = \"(\".charCodeAt(0);\n  var _RPA = \")\".charCodeAt(0);\n  var _LAN = \"<\".charCodeAt(0);\n  var _RAN = \">\".charCodeAt(0);\n  var _ATS = \"@\".charCodeAt(0);\n  var _HSH = \"#\".charCodeAt(0);\n  var _DLR = \"$\".charCodeAt(0);\n  var _BSL = \"\\\\\".charCodeAt(0);\n  var _FSL = \"/\".charCodeAt(0);\n  var _NWL = \"\\n\".charCodeAt(0);\n  var _CAR = \"\\r\".charCodeAt(0);\n  var _LFD = \"\\f\".charCodeAt(0);\n  var _DQO = '\"'.charCodeAt(0);\n  var _SQO = \"'\".charCodeAt(0);\n  var _WSP = \" \".charCodeAt(0);\n  var _TAB = \"\t\".charCodeAt(0);\n  var _SEM = \";\".charCodeAt(0);\n  var _COL = \":\".charCodeAt(0);\n  var _CUL = \"{\".charCodeAt(0);\n  var _CUR = \"}\".charCodeAt(0);\n  var _BRL = \"[\".charCodeAt(0);\n  var _BRR = \"]\".charCodeAt(0);\n  var _CMA = \",\".charCodeAt(0);\n  var _DOT = \".\".charCodeAt(0);\n  var _BNG = \"!\".charCodeAt(0);\n  var _QSM = \"?\".charCodeAt(0);\n  var _PLS = \"+\".charCodeAt(0);\n  var staticTokenTable = {};\n  staticTokenTable[_SEM] = TokenType.SemiColon;\n  staticTokenTable[_COL] = TokenType.Colon;\n  staticTokenTable[_CUL] = TokenType.CurlyL;\n  staticTokenTable[_CUR] = TokenType.CurlyR;\n  staticTokenTable[_BRR] = TokenType.BracketR;\n  staticTokenTable[_BRL] = TokenType.BracketL;\n  staticTokenTable[_LPA] = TokenType.ParenthesisL;\n  staticTokenTable[_RPA] = TokenType.ParenthesisR;\n  staticTokenTable[_CMA] = TokenType.Comma;\n  var staticUnitTable = {};\n  staticUnitTable[\"em\"] = TokenType.EMS;\n  staticUnitTable[\"ex\"] = TokenType.EXS;\n  staticUnitTable[\"px\"] = TokenType.Length;\n  staticUnitTable[\"cm\"] = TokenType.Length;\n  staticUnitTable[\"mm\"] = TokenType.Length;\n  staticUnitTable[\"in\"] = TokenType.Length;\n  staticUnitTable[\"pt\"] = TokenType.Length;\n  staticUnitTable[\"pc\"] = TokenType.Length;\n  staticUnitTable[\"deg\"] = TokenType.Angle;\n  staticUnitTable[\"rad\"] = TokenType.Angle;\n  staticUnitTable[\"grad\"] = TokenType.Angle;\n  staticUnitTable[\"ms\"] = TokenType.Time;\n  staticUnitTable[\"s\"] = TokenType.Time;\n  staticUnitTable[\"hz\"] = TokenType.Freq;\n  staticUnitTable[\"khz\"] = TokenType.Freq;\n  staticUnitTable[\"%\"] = TokenType.Percentage;\n  staticUnitTable[\"fr\"] = TokenType.Percentage;\n  staticUnitTable[\"dpi\"] = TokenType.Resolution;\n  staticUnitTable[\"dpcm\"] = TokenType.Resolution;\n  var Scanner = (\n    /** @class */\n    function() {\n      function Scanner2() {\n        this.stream = new MultiLineStream(\"\");\n        this.ignoreComment = true;\n        this.ignoreWhitespace = true;\n        this.inURL = false;\n      }\n      Scanner2.prototype.setSource = function(input) {\n        this.stream = new MultiLineStream(input);\n      };\n      Scanner2.prototype.finishToken = function(offset, type, text) {\n        return {\n          offset,\n          len: this.stream.pos() - offset,\n          type,\n          text: text || this.stream.substring(offset)\n        };\n      };\n      Scanner2.prototype.substring = function(offset, len) {\n        return this.stream.substring(offset, offset + len);\n      };\n      Scanner2.prototype.pos = function() {\n        return this.stream.pos();\n      };\n      Scanner2.prototype.goBackTo = function(pos) {\n        this.stream.goBackTo(pos);\n      };\n      Scanner2.prototype.scanUnquotedString = function() {\n        var offset = this.stream.pos();\n        var content = [];\n        if (this._unquotedString(content)) {\n          return this.finishToken(offset, TokenType.UnquotedString, content.join(\"\"));\n        }\n        return null;\n      };\n      Scanner2.prototype.scan = function() {\n        var triviaToken = this.trivia();\n        if (triviaToken !== null) {\n          return triviaToken;\n        }\n        var offset = this.stream.pos();\n        if (this.stream.eos()) {\n          return this.finishToken(offset, TokenType.EOF);\n        }\n        return this.scanNext(offset);\n      };\n      Scanner2.prototype.tryScanUnicode = function() {\n        var offset = this.stream.pos();\n        if (!this.stream.eos() && this._unicodeRange()) {\n          return this.finishToken(offset, TokenType.UnicodeRange);\n        }\n        this.stream.goBackTo(offset);\n        return void 0;\n      };\n      Scanner2.prototype.scanNext = function(offset) {\n        if (this.stream.advanceIfChars([_LAN, _BNG, _MIN, _MIN])) {\n          return this.finishToken(offset, TokenType.CDO);\n        }\n        if (this.stream.advanceIfChars([_MIN, _MIN, _RAN])) {\n          return this.finishToken(offset, TokenType.CDC);\n        }\n        var content = [];\n        if (this.ident(content)) {\n          return this.finishToken(offset, TokenType.Ident, content.join(\"\"));\n        }\n        if (this.stream.advanceIfChar(_ATS)) {\n          content = [\"@\"];\n          if (this._name(content)) {\n            var keywordText = content.join(\"\");\n            if (keywordText === \"@charset\") {\n              return this.finishToken(offset, TokenType.Charset, keywordText);\n            }\n            return this.finishToken(offset, TokenType.AtKeyword, keywordText);\n          } else {\n            return this.finishToken(offset, TokenType.Delim);\n          }\n        }\n        if (this.stream.advanceIfChar(_HSH)) {\n          content = [\"#\"];\n          if (this._name(content)) {\n            return this.finishToken(offset, TokenType.Hash, content.join(\"\"));\n          } else {\n            return this.finishToken(offset, TokenType.Delim);\n          }\n        }\n        if (this.stream.advanceIfChar(_BNG)) {\n          return this.finishToken(offset, TokenType.Exclamation);\n        }\n        if (this._number()) {\n          var pos = this.stream.pos();\n          content = [this.stream.substring(offset, pos)];\n          if (this.stream.advanceIfChar(_PRC)) {\n            return this.finishToken(offset, TokenType.Percentage);\n          } else if (this.ident(content)) {\n            var dim = this.stream.substring(pos).toLowerCase();\n            var tokenType_1 = staticUnitTable[dim];\n            if (typeof tokenType_1 !== \"undefined\") {\n              return this.finishToken(offset, tokenType_1, content.join(\"\"));\n            } else {\n              return this.finishToken(offset, TokenType.Dimension, content.join(\"\"));\n            }\n          }\n          return this.finishToken(offset, TokenType.Num);\n        }\n        content = [];\n        var tokenType = this._string(content);\n        if (tokenType !== null) {\n          return this.finishToken(offset, tokenType, content.join(\"\"));\n        }\n        tokenType = staticTokenTable[this.stream.peekChar()];\n        if (typeof tokenType !== \"undefined\") {\n          this.stream.advance(1);\n          return this.finishToken(offset, tokenType);\n        }\n        if (this.stream.peekChar(0) === _TLD && this.stream.peekChar(1) === _EQS) {\n          this.stream.advance(2);\n          return this.finishToken(offset, TokenType.Includes);\n        }\n        if (this.stream.peekChar(0) === _PIP && this.stream.peekChar(1) === _EQS) {\n          this.stream.advance(2);\n          return this.finishToken(offset, TokenType.Dashmatch);\n        }\n        if (this.stream.peekChar(0) === _MUL && this.stream.peekChar(1) === _EQS) {\n          this.stream.advance(2);\n          return this.finishToken(offset, TokenType.SubstringOperator);\n        }\n        if (this.stream.peekChar(0) === _HAT && this.stream.peekChar(1) === _EQS) {\n          this.stream.advance(2);\n          return this.finishToken(offset, TokenType.PrefixOperator);\n        }\n        if (this.stream.peekChar(0) === _DLR && this.stream.peekChar(1) === _EQS) {\n          this.stream.advance(2);\n          return this.finishToken(offset, TokenType.SuffixOperator);\n        }\n        this.stream.nextChar();\n        return this.finishToken(offset, TokenType.Delim);\n      };\n      Scanner2.prototype.trivia = function() {\n        while (true) {\n          var offset = this.stream.pos();\n          if (this._whitespace()) {\n            if (!this.ignoreWhitespace) {\n              return this.finishToken(offset, TokenType.Whitespace);\n            }\n          } else if (this.comment()) {\n            if (!this.ignoreComment) {\n              return this.finishToken(offset, TokenType.Comment);\n            }\n          } else {\n            return null;\n          }\n        }\n      };\n      Scanner2.prototype.comment = function() {\n        if (this.stream.advanceIfChars([_FSL, _MUL])) {\n          var success_1 = false, hot_1 = false;\n          this.stream.advanceWhileChar(function(ch) {\n            if (hot_1 && ch === _FSL) {\n              success_1 = true;\n              return false;\n            }\n            hot_1 = ch === _MUL;\n            return true;\n          });\n          if (success_1) {\n            this.stream.advance(1);\n          }\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._number = function() {\n        var npeek = 0, ch;\n        if (this.stream.peekChar() === _DOT) {\n          npeek = 1;\n        }\n        ch = this.stream.peekChar(npeek);\n        if (ch >= _0 && ch <= _9) {\n          this.stream.advance(npeek + 1);\n          this.stream.advanceWhileChar(function(ch2) {\n            return ch2 >= _0 && ch2 <= _9 || npeek === 0 && ch2 === _DOT;\n          });\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._newline = function(result) {\n        var ch = this.stream.peekChar();\n        switch (ch) {\n          case _CAR:\n          case _LFD:\n          case _NWL:\n            this.stream.advance(1);\n            result.push(String.fromCharCode(ch));\n            if (ch === _CAR && this.stream.advanceIfChar(_NWL)) {\n              result.push(\"\\n\");\n            }\n            return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._escape = function(result, includeNewLines) {\n        var ch = this.stream.peekChar();\n        if (ch === _BSL) {\n          this.stream.advance(1);\n          ch = this.stream.peekChar();\n          var hexNumCount = 0;\n          while (hexNumCount < 6 && (ch >= _0 && ch <= _9 || ch >= _a4 && ch <= _f || ch >= _A && ch <= _F)) {\n            this.stream.advance(1);\n            ch = this.stream.peekChar();\n            hexNumCount++;\n          }\n          if (hexNumCount > 0) {\n            try {\n              var hexVal = parseInt(this.stream.substring(this.stream.pos() - hexNumCount), 16);\n              if (hexVal) {\n                result.push(String.fromCharCode(hexVal));\n              }\n            } catch (e) {\n            }\n            if (ch === _WSP || ch === _TAB) {\n              this.stream.advance(1);\n            } else {\n              this._newline([]);\n            }\n            return true;\n          }\n          if (ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n            this.stream.advance(1);\n            result.push(String.fromCharCode(ch));\n            return true;\n          } else if (includeNewLines) {\n            return this._newline(result);\n          }\n        }\n        return false;\n      };\n      Scanner2.prototype._stringChar = function(closeQuote, result) {\n        var ch = this.stream.peekChar();\n        if (ch !== 0 && ch !== closeQuote && ch !== _BSL && ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n          this.stream.advance(1);\n          result.push(String.fromCharCode(ch));\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._string = function(result) {\n        if (this.stream.peekChar() === _SQO || this.stream.peekChar() === _DQO) {\n          var closeQuote = this.stream.nextChar();\n          result.push(String.fromCharCode(closeQuote));\n          while (this._stringChar(closeQuote, result) || this._escape(result, true)) {\n          }\n          if (this.stream.peekChar() === closeQuote) {\n            this.stream.nextChar();\n            result.push(String.fromCharCode(closeQuote));\n            return TokenType.String;\n          } else {\n            return TokenType.BadString;\n          }\n        }\n        return null;\n      };\n      Scanner2.prototype._unquotedChar = function(result) {\n        var ch = this.stream.peekChar();\n        if (ch !== 0 && ch !== _BSL && ch !== _SQO && ch !== _DQO && ch !== _LPA && ch !== _RPA && ch !== _WSP && ch !== _TAB && ch !== _NWL && ch !== _LFD && ch !== _CAR) {\n          this.stream.advance(1);\n          result.push(String.fromCharCode(ch));\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._unquotedString = function(result) {\n        var hasContent = false;\n        while (this._unquotedChar(result) || this._escape(result)) {\n          hasContent = true;\n        }\n        return hasContent;\n      };\n      Scanner2.prototype._whitespace = function() {\n        var n = this.stream.advanceWhileChar(function(ch) {\n          return ch === _WSP || ch === _TAB || ch === _NWL || ch === _LFD || ch === _CAR;\n        });\n        return n > 0;\n      };\n      Scanner2.prototype._name = function(result) {\n        var matched = false;\n        while (this._identChar(result) || this._escape(result)) {\n          matched = true;\n        }\n        return matched;\n      };\n      Scanner2.prototype.ident = function(result) {\n        var pos = this.stream.pos();\n        var hasMinus = this._minus(result);\n        if (hasMinus) {\n          if (this._minus(result) || this._identFirstChar(result) || this._escape(result)) {\n            while (this._identChar(result) || this._escape(result)) {\n            }\n            return true;\n          }\n        } else if (this._identFirstChar(result) || this._escape(result)) {\n          while (this._identChar(result) || this._escape(result)) {\n          }\n          return true;\n        }\n        this.stream.goBackTo(pos);\n        return false;\n      };\n      Scanner2.prototype._identFirstChar = function(result) {\n        var ch = this.stream.peekChar();\n        if (ch === _USC || // _\n        ch >= _a4 && ch <= _z || // a-z\n        ch >= _A && ch <= _Z || // A-Z\n        ch >= 128 && ch <= 65535) {\n          this.stream.advance(1);\n          result.push(String.fromCharCode(ch));\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._minus = function(result) {\n        var ch = this.stream.peekChar();\n        if (ch === _MIN) {\n          this.stream.advance(1);\n          result.push(String.fromCharCode(ch));\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._identChar = function(result) {\n        var ch = this.stream.peekChar();\n        if (ch === _USC || // _\n        ch === _MIN || // -\n        ch >= _a4 && ch <= _z || // a-z\n        ch >= _A && ch <= _Z || // A-Z\n        ch >= _0 && ch <= _9 || // 0/9\n        ch >= 128 && ch <= 65535) {\n          this.stream.advance(1);\n          result.push(String.fromCharCode(ch));\n          return true;\n        }\n        return false;\n      };\n      Scanner2.prototype._unicodeRange = function() {\n        if (this.stream.advanceIfChar(_PLS)) {\n          var isHexDigit = function(ch) {\n            return ch >= _0 && ch <= _9 || ch >= _a4 && ch <= _f || ch >= _A && ch <= _F;\n          };\n          var codePoints = this.stream.advanceWhileChar(isHexDigit) + this.stream.advanceWhileChar(function(ch) {\n            return ch === _QSM;\n          });\n          if (codePoints >= 1 && codePoints <= 6) {\n            if (this.stream.advanceIfChar(_MIN)) {\n              var digits = this.stream.advanceWhileChar(isHexDigit);\n              if (digits >= 1 && digits <= 6) {\n                return true;\n              }\n            } else {\n              return true;\n            }\n          }\n        }\n        return false;\n      };\n      return Scanner2;\n    }()\n  );\n  function startsWith(haystack, needle) {\n    if (haystack.length < needle.length) {\n      return false;\n    }\n    for (var i = 0; i < needle.length; i++) {\n      if (haystack[i] !== needle[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function endsWith(haystack, needle) {\n    var diff = haystack.length - needle.length;\n    if (diff > 0) {\n      return haystack.lastIndexOf(needle) === diff;\n    } else if (diff === 0) {\n      return haystack === needle;\n    } else {\n      return false;\n    }\n  }\n  function difference(first, second, maxLenDelta) {\n    if (maxLenDelta === void 0) {\n      maxLenDelta = 4;\n    }\n    var lengthDifference = Math.abs(first.length - second.length);\n    if (lengthDifference > maxLenDelta) {\n      return 0;\n    }\n    var LCS = [];\n    var zeroArray = [];\n    var i, j;\n    for (i = 0; i < second.length + 1; ++i) {\n      zeroArray.push(0);\n    }\n    for (i = 0; i < first.length + 1; ++i) {\n      LCS.push(zeroArray);\n    }\n    for (i = 1; i < first.length + 1; ++i) {\n      for (j = 1; j < second.length + 1; ++j) {\n        if (first[i - 1] === second[j - 1]) {\n          LCS[i][j] = LCS[i - 1][j - 1] + 1;\n        } else {\n          LCS[i][j] = Math.max(LCS[i - 1][j], LCS[i][j - 1]);\n        }\n      }\n    }\n    return LCS[first.length][second.length] - Math.sqrt(lengthDifference);\n  }\n  function getLimitedString(str, ellipsis) {\n    if (ellipsis === void 0) {\n      ellipsis = true;\n    }\n    if (!str) {\n      return \"\";\n    }\n    if (str.length < 140) {\n      return str;\n    }\n    return str.slice(0, 140) + (ellipsis ? \"\\u2026\" : \"\");\n  }\n  function trim(str, regexp) {\n    var m = regexp.exec(str);\n    if (m && m[0].length) {\n      return str.substr(0, str.length - m[0].length);\n    }\n    return str;\n  }\n  function repeat(value, count) {\n    var s = \"\";\n    while (count > 0) {\n      if ((count & 1) === 1) {\n        s += value;\n      }\n      value += value;\n      count = count >>> 1;\n    }\n    return s;\n  }\n  var __extends = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var NodeType;\n  (function(NodeType2) {\n    NodeType2[NodeType2[\"Undefined\"] = 0] = \"Undefined\";\n    NodeType2[NodeType2[\"Identifier\"] = 1] = \"Identifier\";\n    NodeType2[NodeType2[\"Stylesheet\"] = 2] = \"Stylesheet\";\n    NodeType2[NodeType2[\"Ruleset\"] = 3] = \"Ruleset\";\n    NodeType2[NodeType2[\"Selector\"] = 4] = \"Selector\";\n    NodeType2[NodeType2[\"SimpleSelector\"] = 5] = \"SimpleSelector\";\n    NodeType2[NodeType2[\"SelectorInterpolation\"] = 6] = \"SelectorInterpolation\";\n    NodeType2[NodeType2[\"SelectorCombinator\"] = 7] = \"SelectorCombinator\";\n    NodeType2[NodeType2[\"SelectorCombinatorParent\"] = 8] = \"SelectorCombinatorParent\";\n    NodeType2[NodeType2[\"SelectorCombinatorSibling\"] = 9] = \"SelectorCombinatorSibling\";\n    NodeType2[NodeType2[\"SelectorCombinatorAllSiblings\"] = 10] = \"SelectorCombinatorAllSiblings\";\n    NodeType2[NodeType2[\"SelectorCombinatorShadowPiercingDescendant\"] = 11] = \"SelectorCombinatorShadowPiercingDescendant\";\n    NodeType2[NodeType2[\"Page\"] = 12] = \"Page\";\n    NodeType2[NodeType2[\"PageBoxMarginBox\"] = 13] = \"PageBoxMarginBox\";\n    NodeType2[NodeType2[\"ClassSelector\"] = 14] = \"ClassSelector\";\n    NodeType2[NodeType2[\"IdentifierSelector\"] = 15] = \"IdentifierSelector\";\n    NodeType2[NodeType2[\"ElementNameSelector\"] = 16] = \"ElementNameSelector\";\n    NodeType2[NodeType2[\"PseudoSelector\"] = 17] = \"PseudoSelector\";\n    NodeType2[NodeType2[\"AttributeSelector\"] = 18] = \"AttributeSelector\";\n    NodeType2[NodeType2[\"Declaration\"] = 19] = \"Declaration\";\n    NodeType2[NodeType2[\"Declarations\"] = 20] = \"Declarations\";\n    NodeType2[NodeType2[\"Property\"] = 21] = \"Property\";\n    NodeType2[NodeType2[\"Expression\"] = 22] = \"Expression\";\n    NodeType2[NodeType2[\"BinaryExpression\"] = 23] = \"BinaryExpression\";\n    NodeType2[NodeType2[\"Term\"] = 24] = \"Term\";\n    NodeType2[NodeType2[\"Operator\"] = 25] = \"Operator\";\n    NodeType2[NodeType2[\"Value\"] = 26] = \"Value\";\n    NodeType2[NodeType2[\"StringLiteral\"] = 27] = \"StringLiteral\";\n    NodeType2[NodeType2[\"URILiteral\"] = 28] = \"URILiteral\";\n    NodeType2[NodeType2[\"EscapedValue\"] = 29] = \"EscapedValue\";\n    NodeType2[NodeType2[\"Function\"] = 30] = \"Function\";\n    NodeType2[NodeType2[\"NumericValue\"] = 31] = \"NumericValue\";\n    NodeType2[NodeType2[\"HexColorValue\"] = 32] = \"HexColorValue\";\n    NodeType2[NodeType2[\"RatioValue\"] = 33] = \"RatioValue\";\n    NodeType2[NodeType2[\"MixinDeclaration\"] = 34] = \"MixinDeclaration\";\n    NodeType2[NodeType2[\"MixinReference\"] = 35] = \"MixinReference\";\n    NodeType2[NodeType2[\"VariableName\"] = 36] = \"VariableName\";\n    NodeType2[NodeType2[\"VariableDeclaration\"] = 37] = \"VariableDeclaration\";\n    NodeType2[NodeType2[\"Prio\"] = 38] = \"Prio\";\n    NodeType2[NodeType2[\"Interpolation\"] = 39] = \"Interpolation\";\n    NodeType2[NodeType2[\"NestedProperties\"] = 40] = \"NestedProperties\";\n    NodeType2[NodeType2[\"ExtendsReference\"] = 41] = \"ExtendsReference\";\n    NodeType2[NodeType2[\"SelectorPlaceholder\"] = 42] = \"SelectorPlaceholder\";\n    NodeType2[NodeType2[\"Debug\"] = 43] = \"Debug\";\n    NodeType2[NodeType2[\"If\"] = 44] = \"If\";\n    NodeType2[NodeType2[\"Else\"] = 45] = \"Else\";\n    NodeType2[NodeType2[\"For\"] = 46] = \"For\";\n    NodeType2[NodeType2[\"Each\"] = 47] = \"Each\";\n    NodeType2[NodeType2[\"While\"] = 48] = \"While\";\n    NodeType2[NodeType2[\"MixinContentReference\"] = 49] = \"MixinContentReference\";\n    NodeType2[NodeType2[\"MixinContentDeclaration\"] = 50] = \"MixinContentDeclaration\";\n    NodeType2[NodeType2[\"Media\"] = 51] = \"Media\";\n    NodeType2[NodeType2[\"Keyframe\"] = 52] = \"Keyframe\";\n    NodeType2[NodeType2[\"FontFace\"] = 53] = \"FontFace\";\n    NodeType2[NodeType2[\"Import\"] = 54] = \"Import\";\n    NodeType2[NodeType2[\"Namespace\"] = 55] = \"Namespace\";\n    NodeType2[NodeType2[\"Invocation\"] = 56] = \"Invocation\";\n    NodeType2[NodeType2[\"FunctionDeclaration\"] = 57] = \"FunctionDeclaration\";\n    NodeType2[NodeType2[\"ReturnStatement\"] = 58] = \"ReturnStatement\";\n    NodeType2[NodeType2[\"MediaQuery\"] = 59] = \"MediaQuery\";\n    NodeType2[NodeType2[\"MediaCondition\"] = 60] = \"MediaCondition\";\n    NodeType2[NodeType2[\"MediaFeature\"] = 61] = \"MediaFeature\";\n    NodeType2[NodeType2[\"FunctionParameter\"] = 62] = \"FunctionParameter\";\n    NodeType2[NodeType2[\"FunctionArgument\"] = 63] = \"FunctionArgument\";\n    NodeType2[NodeType2[\"KeyframeSelector\"] = 64] = \"KeyframeSelector\";\n    NodeType2[NodeType2[\"ViewPort\"] = 65] = \"ViewPort\";\n    NodeType2[NodeType2[\"Document\"] = 66] = \"Document\";\n    NodeType2[NodeType2[\"AtApplyRule\"] = 67] = \"AtApplyRule\";\n    NodeType2[NodeType2[\"CustomPropertyDeclaration\"] = 68] = \"CustomPropertyDeclaration\";\n    NodeType2[NodeType2[\"CustomPropertySet\"] = 69] = \"CustomPropertySet\";\n    NodeType2[NodeType2[\"ListEntry\"] = 70] = \"ListEntry\";\n    NodeType2[NodeType2[\"Supports\"] = 71] = \"Supports\";\n    NodeType2[NodeType2[\"SupportsCondition\"] = 72] = \"SupportsCondition\";\n    NodeType2[NodeType2[\"NamespacePrefix\"] = 73] = \"NamespacePrefix\";\n    NodeType2[NodeType2[\"GridLine\"] = 74] = \"GridLine\";\n    NodeType2[NodeType2[\"Plugin\"] = 75] = \"Plugin\";\n    NodeType2[NodeType2[\"UnknownAtRule\"] = 76] = \"UnknownAtRule\";\n    NodeType2[NodeType2[\"Use\"] = 77] = \"Use\";\n    NodeType2[NodeType2[\"ModuleConfiguration\"] = 78] = \"ModuleConfiguration\";\n    NodeType2[NodeType2[\"Forward\"] = 79] = \"Forward\";\n    NodeType2[NodeType2[\"ForwardVisibility\"] = 80] = \"ForwardVisibility\";\n    NodeType2[NodeType2[\"Module\"] = 81] = \"Module\";\n    NodeType2[NodeType2[\"UnicodeRange\"] = 82] = \"UnicodeRange\";\n  })(NodeType || (NodeType = {}));\n  var ReferenceType;\n  (function(ReferenceType2) {\n    ReferenceType2[ReferenceType2[\"Mixin\"] = 0] = \"Mixin\";\n    ReferenceType2[ReferenceType2[\"Rule\"] = 1] = \"Rule\";\n    ReferenceType2[ReferenceType2[\"Variable\"] = 2] = \"Variable\";\n    ReferenceType2[ReferenceType2[\"Function\"] = 3] = \"Function\";\n    ReferenceType2[ReferenceType2[\"Keyframe\"] = 4] = \"Keyframe\";\n    ReferenceType2[ReferenceType2[\"Unknown\"] = 5] = \"Unknown\";\n    ReferenceType2[ReferenceType2[\"Module\"] = 6] = \"Module\";\n    ReferenceType2[ReferenceType2[\"Forward\"] = 7] = \"Forward\";\n    ReferenceType2[ReferenceType2[\"ForwardVisibility\"] = 8] = \"ForwardVisibility\";\n  })(ReferenceType || (ReferenceType = {}));\n  function getNodeAtOffset(node, offset) {\n    var candidate = null;\n    if (!node || offset < node.offset || offset > node.end) {\n      return null;\n    }\n    node.accept(function(node2) {\n      if (node2.offset === -1 && node2.length === -1) {\n        return true;\n      }\n      if (node2.offset <= offset && node2.end >= offset) {\n        if (!candidate) {\n          candidate = node2;\n        } else if (node2.length <= candidate.length) {\n          candidate = node2;\n        }\n        return true;\n      }\n      return false;\n    });\n    return candidate;\n  }\n  function getNodePath(node, offset) {\n    var candidate = getNodeAtOffset(node, offset);\n    var path = [];\n    while (candidate) {\n      path.unshift(candidate);\n      candidate = candidate.parent;\n    }\n    return path;\n  }\n  function getParentDeclaration(node) {\n    var decl = node.findParent(NodeType.Declaration);\n    var value = decl && decl.getValue();\n    if (value && value.encloses(node)) {\n      return decl;\n    }\n    return null;\n  }\n  var Node2 = (\n    /** @class */\n    function() {\n      function Node22(offset, len, nodeType) {\n        if (offset === void 0) {\n          offset = -1;\n        }\n        if (len === void 0) {\n          len = -1;\n        }\n        this.parent = null;\n        this.offset = offset;\n        this.length = len;\n        if (nodeType) {\n          this.nodeType = nodeType;\n        }\n      }\n      Object.defineProperty(Node22.prototype, \"end\", {\n        get: function() {\n          return this.offset + this.length;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(Node22.prototype, \"type\", {\n        get: function() {\n          return this.nodeType || NodeType.Undefined;\n        },\n        set: function(type) {\n          this.nodeType = type;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Node22.prototype.getTextProvider = function() {\n        var node = this;\n        while (node && !node.textProvider) {\n          node = node.parent;\n        }\n        if (node) {\n          return node.textProvider;\n        }\n        return function() {\n          return \"unknown\";\n        };\n      };\n      Node22.prototype.getText = function() {\n        return this.getTextProvider()(this.offset, this.length);\n      };\n      Node22.prototype.matches = function(str) {\n        return this.length === str.length && this.getTextProvider()(this.offset, this.length) === str;\n      };\n      Node22.prototype.startsWith = function(str) {\n        return this.length >= str.length && this.getTextProvider()(this.offset, str.length) === str;\n      };\n      Node22.prototype.endsWith = function(str) {\n        return this.length >= str.length && this.getTextProvider()(this.end - str.length, str.length) === str;\n      };\n      Node22.prototype.accept = function(visitor) {\n        if (visitor(this) && this.children) {\n          for (var _i = 0, _a22 = this.children; _i < _a22.length; _i++) {\n            var child = _a22[_i];\n            child.accept(visitor);\n          }\n        }\n      };\n      Node22.prototype.acceptVisitor = function(visitor) {\n        this.accept(visitor.visitNode.bind(visitor));\n      };\n      Node22.prototype.adoptChild = function(node, index) {\n        if (index === void 0) {\n          index = -1;\n        }\n        if (node.parent && node.parent.children) {\n          var idx = node.parent.children.indexOf(node);\n          if (idx >= 0) {\n            node.parent.children.splice(idx, 1);\n          }\n        }\n        node.parent = this;\n        var children = this.children;\n        if (!children) {\n          children = this.children = [];\n        }\n        if (index !== -1) {\n          children.splice(index, 0, node);\n        } else {\n          children.push(node);\n        }\n        return node;\n      };\n      Node22.prototype.attachTo = function(parent, index) {\n        if (index === void 0) {\n          index = -1;\n        }\n        if (parent) {\n          parent.adoptChild(this, index);\n        }\n        return this;\n      };\n      Node22.prototype.collectIssues = function(results) {\n        if (this.issues) {\n          results.push.apply(results, this.issues);\n        }\n      };\n      Node22.prototype.addIssue = function(issue) {\n        if (!this.issues) {\n          this.issues = [];\n        }\n        this.issues.push(issue);\n      };\n      Node22.prototype.hasIssue = function(rule) {\n        return Array.isArray(this.issues) && this.issues.some(function(i) {\n          return i.getRule() === rule;\n        });\n      };\n      Node22.prototype.isErroneous = function(recursive) {\n        if (recursive === void 0) {\n          recursive = false;\n        }\n        if (this.issues && this.issues.length > 0) {\n          return true;\n        }\n        return recursive && Array.isArray(this.children) && this.children.some(function(c) {\n          return c.isErroneous(true);\n        });\n      };\n      Node22.prototype.setNode = function(field, node, index) {\n        if (index === void 0) {\n          index = -1;\n        }\n        if (node) {\n          node.attachTo(this, index);\n          this[field] = node;\n          return true;\n        }\n        return false;\n      };\n      Node22.prototype.addChild = function(node) {\n        if (node) {\n          if (!this.children) {\n            this.children = [];\n          }\n          node.attachTo(this);\n          this.updateOffsetAndLength(node);\n          return true;\n        }\n        return false;\n      };\n      Node22.prototype.updateOffsetAndLength = function(node) {\n        if (node.offset < this.offset || this.offset === -1) {\n          this.offset = node.offset;\n        }\n        var nodeEnd = node.end;\n        if (nodeEnd > this.end || this.length === -1) {\n          this.length = nodeEnd - this.offset;\n        }\n      };\n      Node22.prototype.hasChildren = function() {\n        return !!this.children && this.children.length > 0;\n      };\n      Node22.prototype.getChildren = function() {\n        return this.children ? this.children.slice(0) : [];\n      };\n      Node22.prototype.getChild = function(index) {\n        if (this.children && index < this.children.length) {\n          return this.children[index];\n        }\n        return null;\n      };\n      Node22.prototype.addChildren = function(nodes) {\n        for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) {\n          var node = nodes_1[_i];\n          this.addChild(node);\n        }\n      };\n      Node22.prototype.findFirstChildBeforeOffset = function(offset) {\n        if (this.children) {\n          var current = null;\n          for (var i = this.children.length - 1; i >= 0; i--) {\n            current = this.children[i];\n            if (current.offset <= offset) {\n              return current;\n            }\n          }\n        }\n        return null;\n      };\n      Node22.prototype.findChildAtOffset = function(offset, goDeep) {\n        var current = this.findFirstChildBeforeOffset(offset);\n        if (current && current.end >= offset) {\n          if (goDeep) {\n            return current.findChildAtOffset(offset, true) || current;\n          }\n          return current;\n        }\n        return null;\n      };\n      Node22.prototype.encloses = function(candidate) {\n        return this.offset <= candidate.offset && this.offset + this.length >= candidate.offset + candidate.length;\n      };\n      Node22.prototype.getParent = function() {\n        var result = this.parent;\n        while (result instanceof Nodelist) {\n          result = result.parent;\n        }\n        return result;\n      };\n      Node22.prototype.findParent = function(type) {\n        var result = this;\n        while (result && result.type !== type) {\n          result = result.parent;\n        }\n        return result;\n      };\n      Node22.prototype.findAParent = function() {\n        var types = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n          types[_i] = arguments[_i];\n        }\n        var result = this;\n        while (result && !types.some(function(t) {\n          return result.type === t;\n        })) {\n          result = result.parent;\n        }\n        return result;\n      };\n      Node22.prototype.setData = function(key, value) {\n        if (!this.options) {\n          this.options = {};\n        }\n        this.options[key] = value;\n      };\n      Node22.prototype.getData = function(key) {\n        if (!this.options || !this.options.hasOwnProperty(key)) {\n          return null;\n        }\n        return this.options[key];\n      };\n      return Node22;\n    }()\n  );\n  var Nodelist = (\n    /** @class */\n    function(_super) {\n      __extends(Nodelist2, _super);\n      function Nodelist2(parent, index) {\n        if (index === void 0) {\n          index = -1;\n        }\n        var _this = _super.call(this, -1, -1) || this;\n        _this.attachTo(parent, index);\n        _this.offset = -1;\n        _this.length = -1;\n        return _this;\n      }\n      return Nodelist2;\n    }(Node2)\n  );\n  var UnicodeRange = (\n    /** @class */\n    function(_super) {\n      __extends(UnicodeRange2, _super);\n      function UnicodeRange2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(UnicodeRange2.prototype, \"type\", {\n        get: function() {\n          return NodeType.UnicodeRange;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      UnicodeRange2.prototype.setRangeStart = function(rangeStart) {\n        return this.setNode(\"rangeStart\", rangeStart);\n      };\n      UnicodeRange2.prototype.getRangeStart = function() {\n        return this.rangeStart;\n      };\n      UnicodeRange2.prototype.setRangeEnd = function(rangeEnd) {\n        return this.setNode(\"rangeEnd\", rangeEnd);\n      };\n      UnicodeRange2.prototype.getRangeEnd = function() {\n        return this.rangeEnd;\n      };\n      return UnicodeRange2;\n    }(Node2)\n  );\n  var Identifier = (\n    /** @class */\n    function(_super) {\n      __extends(Identifier2, _super);\n      function Identifier2(offset, length) {\n        var _this = _super.call(this, offset, length) || this;\n        _this.isCustomProperty = false;\n        return _this;\n      }\n      Object.defineProperty(Identifier2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Identifier;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Identifier2.prototype.containsInterpolation = function() {\n        return this.hasChildren();\n      };\n      return Identifier2;\n    }(Node2)\n  );\n  var Stylesheet = (\n    /** @class */\n    function(_super) {\n      __extends(Stylesheet2, _super);\n      function Stylesheet2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Stylesheet2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Stylesheet;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Stylesheet2;\n    }(Node2)\n  );\n  var Declarations = (\n    /** @class */\n    function(_super) {\n      __extends(Declarations2, _super);\n      function Declarations2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Declarations2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Declarations;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Declarations2;\n    }(Node2)\n  );\n  var BodyDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(BodyDeclaration2, _super);\n      function BodyDeclaration2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      BodyDeclaration2.prototype.getDeclarations = function() {\n        return this.declarations;\n      };\n      BodyDeclaration2.prototype.setDeclarations = function(decls) {\n        return this.setNode(\"declarations\", decls);\n      };\n      return BodyDeclaration2;\n    }(Node2)\n  );\n  var RuleSet = (\n    /** @class */\n    function(_super) {\n      __extends(RuleSet2, _super);\n      function RuleSet2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(RuleSet2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Ruleset;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      RuleSet2.prototype.getSelectors = function() {\n        if (!this.selectors) {\n          this.selectors = new Nodelist(this);\n        }\n        return this.selectors;\n      };\n      RuleSet2.prototype.isNested = function() {\n        return !!this.parent && this.parent.findParent(NodeType.Declarations) !== null;\n      };\n      return RuleSet2;\n    }(BodyDeclaration)\n  );\n  var Selector = (\n    /** @class */\n    function(_super) {\n      __extends(Selector2, _super);\n      function Selector2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Selector2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Selector;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Selector2;\n    }(Node2)\n  );\n  var SimpleSelector = (\n    /** @class */\n    function(_super) {\n      __extends(SimpleSelector2, _super);\n      function SimpleSelector2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(SimpleSelector2.prototype, \"type\", {\n        get: function() {\n          return NodeType.SimpleSelector;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return SimpleSelector2;\n    }(Node2)\n  );\n  var AtApplyRule = (\n    /** @class */\n    function(_super) {\n      __extends(AtApplyRule2, _super);\n      function AtApplyRule2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(AtApplyRule2.prototype, \"type\", {\n        get: function() {\n          return NodeType.AtApplyRule;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      AtApplyRule2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      AtApplyRule2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      AtApplyRule2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      return AtApplyRule2;\n    }(Node2)\n  );\n  var AbstractDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(AbstractDeclaration2, _super);\n      function AbstractDeclaration2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      return AbstractDeclaration2;\n    }(Node2)\n  );\n  var CustomPropertySet = (\n    /** @class */\n    function(_super) {\n      __extends(CustomPropertySet2, _super);\n      function CustomPropertySet2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(CustomPropertySet2.prototype, \"type\", {\n        get: function() {\n          return NodeType.CustomPropertySet;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return CustomPropertySet2;\n    }(BodyDeclaration)\n  );\n  var Declaration = (\n    /** @class */\n    function(_super) {\n      __extends(Declaration2, _super);\n      function Declaration2(offset, length) {\n        var _this = _super.call(this, offset, length) || this;\n        _this.property = null;\n        return _this;\n      }\n      Object.defineProperty(Declaration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Declaration;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Declaration2.prototype.setProperty = function(node) {\n        return this.setNode(\"property\", node);\n      };\n      Declaration2.prototype.getProperty = function() {\n        return this.property;\n      };\n      Declaration2.prototype.getFullPropertyName = function() {\n        var propertyName = this.property ? this.property.getName() : \"unknown\";\n        if (this.parent instanceof Declarations && this.parent.getParent() instanceof NestedProperties) {\n          var parentDecl = this.parent.getParent().getParent();\n          if (parentDecl instanceof Declaration2) {\n            return parentDecl.getFullPropertyName() + propertyName;\n          }\n        }\n        return propertyName;\n      };\n      Declaration2.prototype.getNonPrefixedPropertyName = function() {\n        var propertyName = this.getFullPropertyName();\n        if (propertyName && propertyName.charAt(0) === \"-\") {\n          var vendorPrefixEnd = propertyName.indexOf(\"-\", 1);\n          if (vendorPrefixEnd !== -1) {\n            return propertyName.substring(vendorPrefixEnd + 1);\n          }\n        }\n        return propertyName;\n      };\n      Declaration2.prototype.setValue = function(value) {\n        return this.setNode(\"value\", value);\n      };\n      Declaration2.prototype.getValue = function() {\n        return this.value;\n      };\n      Declaration2.prototype.setNestedProperties = function(value) {\n        return this.setNode(\"nestedProperties\", value);\n      };\n      Declaration2.prototype.getNestedProperties = function() {\n        return this.nestedProperties;\n      };\n      return Declaration2;\n    }(AbstractDeclaration)\n  );\n  var CustomPropertyDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(CustomPropertyDeclaration2, _super);\n      function CustomPropertyDeclaration2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(CustomPropertyDeclaration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.CustomPropertyDeclaration;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      CustomPropertyDeclaration2.prototype.setPropertySet = function(value) {\n        return this.setNode(\"propertySet\", value);\n      };\n      CustomPropertyDeclaration2.prototype.getPropertySet = function() {\n        return this.propertySet;\n      };\n      return CustomPropertyDeclaration2;\n    }(Declaration)\n  );\n  var Property = (\n    /** @class */\n    function(_super) {\n      __extends(Property2, _super);\n      function Property2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Property2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Property;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Property2.prototype.setIdentifier = function(value) {\n        return this.setNode(\"identifier\", value);\n      };\n      Property2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      Property2.prototype.getName = function() {\n        return trim(this.getText(), /[_\\+]+$/);\n      };\n      Property2.prototype.isCustomProperty = function() {\n        return !!this.identifier && this.identifier.isCustomProperty;\n      };\n      return Property2;\n    }(Node2)\n  );\n  var Invocation = (\n    /** @class */\n    function(_super) {\n      __extends(Invocation2, _super);\n      function Invocation2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Invocation2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Invocation;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Invocation2.prototype.getArguments = function() {\n        if (!this.arguments) {\n          this.arguments = new Nodelist(this);\n        }\n        return this.arguments;\n      };\n      return Invocation2;\n    }(Node2)\n  );\n  var Function = (\n    /** @class */\n    function(_super) {\n      __extends(Function2, _super);\n      function Function2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Function2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Function;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Function2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      Function2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      Function2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      return Function2;\n    }(Invocation)\n  );\n  var FunctionParameter = (\n    /** @class */\n    function(_super) {\n      __extends(FunctionParameter2, _super);\n      function FunctionParameter2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(FunctionParameter2.prototype, \"type\", {\n        get: function() {\n          return NodeType.FunctionParameter;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      FunctionParameter2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      FunctionParameter2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      FunctionParameter2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      FunctionParameter2.prototype.setDefaultValue = function(node) {\n        return this.setNode(\"defaultValue\", node, 0);\n      };\n      FunctionParameter2.prototype.getDefaultValue = function() {\n        return this.defaultValue;\n      };\n      return FunctionParameter2;\n    }(Node2)\n  );\n  var FunctionArgument = (\n    /** @class */\n    function(_super) {\n      __extends(FunctionArgument2, _super);\n      function FunctionArgument2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(FunctionArgument2.prototype, \"type\", {\n        get: function() {\n          return NodeType.FunctionArgument;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      FunctionArgument2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      FunctionArgument2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      FunctionArgument2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      FunctionArgument2.prototype.setValue = function(node) {\n        return this.setNode(\"value\", node, 0);\n      };\n      FunctionArgument2.prototype.getValue = function() {\n        return this.value;\n      };\n      return FunctionArgument2;\n    }(Node2)\n  );\n  var IfStatement = (\n    /** @class */\n    function(_super) {\n      __extends(IfStatement2, _super);\n      function IfStatement2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(IfStatement2.prototype, \"type\", {\n        get: function() {\n          return NodeType.If;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      IfStatement2.prototype.setExpression = function(node) {\n        return this.setNode(\"expression\", node, 0);\n      };\n      IfStatement2.prototype.setElseClause = function(elseClause) {\n        return this.setNode(\"elseClause\", elseClause);\n      };\n      return IfStatement2;\n    }(BodyDeclaration)\n  );\n  var ForStatement = (\n    /** @class */\n    function(_super) {\n      __extends(ForStatement2, _super);\n      function ForStatement2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(ForStatement2.prototype, \"type\", {\n        get: function() {\n          return NodeType.For;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ForStatement2.prototype.setVariable = function(node) {\n        return this.setNode(\"variable\", node, 0);\n      };\n      return ForStatement2;\n    }(BodyDeclaration)\n  );\n  var EachStatement = (\n    /** @class */\n    function(_super) {\n      __extends(EachStatement2, _super);\n      function EachStatement2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(EachStatement2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Each;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      EachStatement2.prototype.getVariables = function() {\n        if (!this.variables) {\n          this.variables = new Nodelist(this);\n        }\n        return this.variables;\n      };\n      return EachStatement2;\n    }(BodyDeclaration)\n  );\n  var WhileStatement = (\n    /** @class */\n    function(_super) {\n      __extends(WhileStatement2, _super);\n      function WhileStatement2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(WhileStatement2.prototype, \"type\", {\n        get: function() {\n          return NodeType.While;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return WhileStatement2;\n    }(BodyDeclaration)\n  );\n  var ElseStatement = (\n    /** @class */\n    function(_super) {\n      __extends(ElseStatement2, _super);\n      function ElseStatement2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(ElseStatement2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Else;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return ElseStatement2;\n    }(BodyDeclaration)\n  );\n  var FunctionDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(FunctionDeclaration2, _super);\n      function FunctionDeclaration2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(FunctionDeclaration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.FunctionDeclaration;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      FunctionDeclaration2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      FunctionDeclaration2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      FunctionDeclaration2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      FunctionDeclaration2.prototype.getParameters = function() {\n        if (!this.parameters) {\n          this.parameters = new Nodelist(this);\n        }\n        return this.parameters;\n      };\n      return FunctionDeclaration2;\n    }(BodyDeclaration)\n  );\n  var ViewPort = (\n    /** @class */\n    function(_super) {\n      __extends(ViewPort2, _super);\n      function ViewPort2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(ViewPort2.prototype, \"type\", {\n        get: function() {\n          return NodeType.ViewPort;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return ViewPort2;\n    }(BodyDeclaration)\n  );\n  var FontFace = (\n    /** @class */\n    function(_super) {\n      __extends(FontFace2, _super);\n      function FontFace2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(FontFace2.prototype, \"type\", {\n        get: function() {\n          return NodeType.FontFace;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return FontFace2;\n    }(BodyDeclaration)\n  );\n  var NestedProperties = (\n    /** @class */\n    function(_super) {\n      __extends(NestedProperties2, _super);\n      function NestedProperties2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(NestedProperties2.prototype, \"type\", {\n        get: function() {\n          return NodeType.NestedProperties;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return NestedProperties2;\n    }(BodyDeclaration)\n  );\n  var Keyframe = (\n    /** @class */\n    function(_super) {\n      __extends(Keyframe2, _super);\n      function Keyframe2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Keyframe2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Keyframe;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Keyframe2.prototype.setKeyword = function(keyword) {\n        return this.setNode(\"keyword\", keyword, 0);\n      };\n      Keyframe2.prototype.getKeyword = function() {\n        return this.keyword;\n      };\n      Keyframe2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      Keyframe2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      Keyframe2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      return Keyframe2;\n    }(BodyDeclaration)\n  );\n  var KeyframeSelector = (\n    /** @class */\n    function(_super) {\n      __extends(KeyframeSelector2, _super);\n      function KeyframeSelector2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(KeyframeSelector2.prototype, \"type\", {\n        get: function() {\n          return NodeType.KeyframeSelector;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return KeyframeSelector2;\n    }(BodyDeclaration)\n  );\n  var Import = (\n    /** @class */\n    function(_super) {\n      __extends(Import2, _super);\n      function Import2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Import2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Import;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Import2.prototype.setMedialist = function(node) {\n        if (node) {\n          node.attachTo(this);\n          return true;\n        }\n        return false;\n      };\n      return Import2;\n    }(Node2)\n  );\n  var Use = (\n    /** @class */\n    function(_super) {\n      __extends(Use2, _super);\n      function Use2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      Object.defineProperty(Use2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Use;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Use2.prototype.getParameters = function() {\n        if (!this.parameters) {\n          this.parameters = new Nodelist(this);\n        }\n        return this.parameters;\n      };\n      Use2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      Use2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      return Use2;\n    }(Node2)\n  );\n  var ModuleConfiguration = (\n    /** @class */\n    function(_super) {\n      __extends(ModuleConfiguration2, _super);\n      function ModuleConfiguration2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      Object.defineProperty(ModuleConfiguration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.ModuleConfiguration;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ModuleConfiguration2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      ModuleConfiguration2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      ModuleConfiguration2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      ModuleConfiguration2.prototype.setValue = function(node) {\n        return this.setNode(\"value\", node, 0);\n      };\n      ModuleConfiguration2.prototype.getValue = function() {\n        return this.value;\n      };\n      return ModuleConfiguration2;\n    }(Node2)\n  );\n  var Forward = (\n    /** @class */\n    function(_super) {\n      __extends(Forward2, _super);\n      function Forward2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      Object.defineProperty(Forward2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Forward;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Forward2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      Forward2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      Forward2.prototype.getMembers = function() {\n        if (!this.members) {\n          this.members = new Nodelist(this);\n        }\n        return this.members;\n      };\n      Forward2.prototype.getParameters = function() {\n        if (!this.parameters) {\n          this.parameters = new Nodelist(this);\n        }\n        return this.parameters;\n      };\n      return Forward2;\n    }(Node2)\n  );\n  var ForwardVisibility = (\n    /** @class */\n    function(_super) {\n      __extends(ForwardVisibility2, _super);\n      function ForwardVisibility2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      Object.defineProperty(ForwardVisibility2.prototype, \"type\", {\n        get: function() {\n          return NodeType.ForwardVisibility;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ForwardVisibility2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      ForwardVisibility2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      return ForwardVisibility2;\n    }(Node2)\n  );\n  var Namespace = (\n    /** @class */\n    function(_super) {\n      __extends(Namespace2, _super);\n      function Namespace2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Namespace2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Namespace;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Namespace2;\n    }(Node2)\n  );\n  var Media = (\n    /** @class */\n    function(_super) {\n      __extends(Media2, _super);\n      function Media2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Media2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Media;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Media2;\n    }(BodyDeclaration)\n  );\n  var Supports = (\n    /** @class */\n    function(_super) {\n      __extends(Supports2, _super);\n      function Supports2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Supports2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Supports;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Supports2;\n    }(BodyDeclaration)\n  );\n  var Document = (\n    /** @class */\n    function(_super) {\n      __extends(Document2, _super);\n      function Document2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Document2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Document;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Document2;\n    }(BodyDeclaration)\n  );\n  var Medialist = (\n    /** @class */\n    function(_super) {\n      __extends(Medialist2, _super);\n      function Medialist2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Medialist2.prototype.getMediums = function() {\n        if (!this.mediums) {\n          this.mediums = new Nodelist(this);\n        }\n        return this.mediums;\n      };\n      return Medialist2;\n    }(Node2)\n  );\n  var MediaQuery = (\n    /** @class */\n    function(_super) {\n      __extends(MediaQuery2, _super);\n      function MediaQuery2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MediaQuery2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MediaQuery;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return MediaQuery2;\n    }(Node2)\n  );\n  var MediaCondition = (\n    /** @class */\n    function(_super) {\n      __extends(MediaCondition2, _super);\n      function MediaCondition2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MediaCondition2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MediaCondition;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return MediaCondition2;\n    }(Node2)\n  );\n  var MediaFeature = (\n    /** @class */\n    function(_super) {\n      __extends(MediaFeature2, _super);\n      function MediaFeature2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MediaFeature2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MediaFeature;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return MediaFeature2;\n    }(Node2)\n  );\n  var SupportsCondition = (\n    /** @class */\n    function(_super) {\n      __extends(SupportsCondition2, _super);\n      function SupportsCondition2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(SupportsCondition2.prototype, \"type\", {\n        get: function() {\n          return NodeType.SupportsCondition;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return SupportsCondition2;\n    }(Node2)\n  );\n  var Page = (\n    /** @class */\n    function(_super) {\n      __extends(Page2, _super);\n      function Page2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Page2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Page;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Page2;\n    }(BodyDeclaration)\n  );\n  var PageBoxMarginBox = (\n    /** @class */\n    function(_super) {\n      __extends(PageBoxMarginBox2, _super);\n      function PageBoxMarginBox2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(PageBoxMarginBox2.prototype, \"type\", {\n        get: function() {\n          return NodeType.PageBoxMarginBox;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return PageBoxMarginBox2;\n    }(BodyDeclaration)\n  );\n  var Expression = (\n    /** @class */\n    function(_super) {\n      __extends(Expression2, _super);\n      function Expression2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Expression2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Expression;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Expression2;\n    }(Node2)\n  );\n  var BinaryExpression = (\n    /** @class */\n    function(_super) {\n      __extends(BinaryExpression2, _super);\n      function BinaryExpression2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(BinaryExpression2.prototype, \"type\", {\n        get: function() {\n          return NodeType.BinaryExpression;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      BinaryExpression2.prototype.setLeft = function(left) {\n        return this.setNode(\"left\", left);\n      };\n      BinaryExpression2.prototype.getLeft = function() {\n        return this.left;\n      };\n      BinaryExpression2.prototype.setRight = function(right) {\n        return this.setNode(\"right\", right);\n      };\n      BinaryExpression2.prototype.getRight = function() {\n        return this.right;\n      };\n      BinaryExpression2.prototype.setOperator = function(value) {\n        return this.setNode(\"operator\", value);\n      };\n      BinaryExpression2.prototype.getOperator = function() {\n        return this.operator;\n      };\n      return BinaryExpression2;\n    }(Node2)\n  );\n  var Term = (\n    /** @class */\n    function(_super) {\n      __extends(Term2, _super);\n      function Term2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Term2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Term;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Term2.prototype.setOperator = function(value) {\n        return this.setNode(\"operator\", value);\n      };\n      Term2.prototype.getOperator = function() {\n        return this.operator;\n      };\n      Term2.prototype.setExpression = function(value) {\n        return this.setNode(\"expression\", value);\n      };\n      Term2.prototype.getExpression = function() {\n        return this.expression;\n      };\n      return Term2;\n    }(Node2)\n  );\n  var AttributeSelector = (\n    /** @class */\n    function(_super) {\n      __extends(AttributeSelector2, _super);\n      function AttributeSelector2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(AttributeSelector2.prototype, \"type\", {\n        get: function() {\n          return NodeType.AttributeSelector;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      AttributeSelector2.prototype.setNamespacePrefix = function(value) {\n        return this.setNode(\"namespacePrefix\", value);\n      };\n      AttributeSelector2.prototype.getNamespacePrefix = function() {\n        return this.namespacePrefix;\n      };\n      AttributeSelector2.prototype.setIdentifier = function(value) {\n        return this.setNode(\"identifier\", value);\n      };\n      AttributeSelector2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      AttributeSelector2.prototype.setOperator = function(operator) {\n        return this.setNode(\"operator\", operator);\n      };\n      AttributeSelector2.prototype.getOperator = function() {\n        return this.operator;\n      };\n      AttributeSelector2.prototype.setValue = function(value) {\n        return this.setNode(\"value\", value);\n      };\n      AttributeSelector2.prototype.getValue = function() {\n        return this.value;\n      };\n      return AttributeSelector2;\n    }(Node2)\n  );\n  var Operator = (\n    /** @class */\n    function(_super) {\n      __extends(Operator2, _super);\n      function Operator2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Operator2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Operator;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Operator2;\n    }(Node2)\n  );\n  var HexColorValue = (\n    /** @class */\n    function(_super) {\n      __extends(HexColorValue2, _super);\n      function HexColorValue2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(HexColorValue2.prototype, \"type\", {\n        get: function() {\n          return NodeType.HexColorValue;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return HexColorValue2;\n    }(Node2)\n  );\n  var RatioValue = (\n    /** @class */\n    function(_super) {\n      __extends(RatioValue2, _super);\n      function RatioValue2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(RatioValue2.prototype, \"type\", {\n        get: function() {\n          return NodeType.RatioValue;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return RatioValue2;\n    }(Node2)\n  );\n  var _dot = \".\".charCodeAt(0);\n  var _02 = \"0\".charCodeAt(0);\n  var _92 = \"9\".charCodeAt(0);\n  var NumericValue = (\n    /** @class */\n    function(_super) {\n      __extends(NumericValue2, _super);\n      function NumericValue2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(NumericValue2.prototype, \"type\", {\n        get: function() {\n          return NodeType.NumericValue;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      NumericValue2.prototype.getValue = function() {\n        var raw = this.getText();\n        var unitIdx = 0;\n        var code;\n        for (var i = 0, len = raw.length; i < len; i++) {\n          code = raw.charCodeAt(i);\n          if (!(_02 <= code && code <= _92 || code === _dot)) {\n            break;\n          }\n          unitIdx += 1;\n        }\n        return {\n          value: raw.substring(0, unitIdx),\n          unit: unitIdx < raw.length ? raw.substring(unitIdx) : void 0\n        };\n      };\n      return NumericValue2;\n    }(Node2)\n  );\n  var VariableDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(VariableDeclaration2, _super);\n      function VariableDeclaration2(offset, length) {\n        var _this = _super.call(this, offset, length) || this;\n        _this.variable = null;\n        _this.value = null;\n        _this.needsSemicolon = true;\n        return _this;\n      }\n      Object.defineProperty(VariableDeclaration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.VariableDeclaration;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      VariableDeclaration2.prototype.setVariable = function(node) {\n        if (node) {\n          node.attachTo(this);\n          this.variable = node;\n          return true;\n        }\n        return false;\n      };\n      VariableDeclaration2.prototype.getVariable = function() {\n        return this.variable;\n      };\n      VariableDeclaration2.prototype.getName = function() {\n        return this.variable ? this.variable.getName() : \"\";\n      };\n      VariableDeclaration2.prototype.setValue = function(node) {\n        if (node) {\n          node.attachTo(this);\n          this.value = node;\n          return true;\n        }\n        return false;\n      };\n      VariableDeclaration2.prototype.getValue = function() {\n        return this.value;\n      };\n      return VariableDeclaration2;\n    }(AbstractDeclaration)\n  );\n  var Interpolation = (\n    /** @class */\n    function(_super) {\n      __extends(Interpolation2, _super);\n      function Interpolation2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Interpolation2.prototype, \"type\", {\n        get: function() {\n          return NodeType.Interpolation;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return Interpolation2;\n    }(Node2)\n  );\n  var Variable = (\n    /** @class */\n    function(_super) {\n      __extends(Variable2, _super);\n      function Variable2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(Variable2.prototype, \"type\", {\n        get: function() {\n          return NodeType.VariableName;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Variable2.prototype.getName = function() {\n        return this.getText();\n      };\n      return Variable2;\n    }(Node2)\n  );\n  var ExtendsReference = (\n    /** @class */\n    function(_super) {\n      __extends(ExtendsReference2, _super);\n      function ExtendsReference2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(ExtendsReference2.prototype, \"type\", {\n        get: function() {\n          return NodeType.ExtendsReference;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ExtendsReference2.prototype.getSelectors = function() {\n        if (!this.selectors) {\n          this.selectors = new Nodelist(this);\n        }\n        return this.selectors;\n      };\n      return ExtendsReference2;\n    }(Node2)\n  );\n  var MixinContentReference = (\n    /** @class */\n    function(_super) {\n      __extends(MixinContentReference2, _super);\n      function MixinContentReference2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MixinContentReference2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MixinContentReference;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      MixinContentReference2.prototype.getArguments = function() {\n        if (!this.arguments) {\n          this.arguments = new Nodelist(this);\n        }\n        return this.arguments;\n      };\n      return MixinContentReference2;\n    }(Node2)\n  );\n  var MixinContentDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(MixinContentDeclaration2, _super);\n      function MixinContentDeclaration2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MixinContentDeclaration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MixinContentReference;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      MixinContentDeclaration2.prototype.getParameters = function() {\n        if (!this.parameters) {\n          this.parameters = new Nodelist(this);\n        }\n        return this.parameters;\n      };\n      return MixinContentDeclaration2;\n    }(BodyDeclaration)\n  );\n  var MixinReference = (\n    /** @class */\n    function(_super) {\n      __extends(MixinReference2, _super);\n      function MixinReference2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MixinReference2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MixinReference;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      MixinReference2.prototype.getNamespaces = function() {\n        if (!this.namespaces) {\n          this.namespaces = new Nodelist(this);\n        }\n        return this.namespaces;\n      };\n      MixinReference2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      MixinReference2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      MixinReference2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      MixinReference2.prototype.getArguments = function() {\n        if (!this.arguments) {\n          this.arguments = new Nodelist(this);\n        }\n        return this.arguments;\n      };\n      MixinReference2.prototype.setContent = function(node) {\n        return this.setNode(\"content\", node);\n      };\n      MixinReference2.prototype.getContent = function() {\n        return this.content;\n      };\n      return MixinReference2;\n    }(Node2)\n  );\n  var MixinDeclaration = (\n    /** @class */\n    function(_super) {\n      __extends(MixinDeclaration2, _super);\n      function MixinDeclaration2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(MixinDeclaration2.prototype, \"type\", {\n        get: function() {\n          return NodeType.MixinDeclaration;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      MixinDeclaration2.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      MixinDeclaration2.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      MixinDeclaration2.prototype.getName = function() {\n        return this.identifier ? this.identifier.getText() : \"\";\n      };\n      MixinDeclaration2.prototype.getParameters = function() {\n        if (!this.parameters) {\n          this.parameters = new Nodelist(this);\n        }\n        return this.parameters;\n      };\n      MixinDeclaration2.prototype.setGuard = function(node) {\n        if (node) {\n          node.attachTo(this);\n          this.guard = node;\n        }\n        return false;\n      };\n      return MixinDeclaration2;\n    }(BodyDeclaration)\n  );\n  var UnknownAtRule = (\n    /** @class */\n    function(_super) {\n      __extends(UnknownAtRule2, _super);\n      function UnknownAtRule2(offset, length) {\n        return _super.call(this, offset, length) || this;\n      }\n      Object.defineProperty(UnknownAtRule2.prototype, \"type\", {\n        get: function() {\n          return NodeType.UnknownAtRule;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      UnknownAtRule2.prototype.setAtRuleName = function(atRuleName) {\n        this.atRuleName = atRuleName;\n      };\n      UnknownAtRule2.prototype.getAtRuleName = function() {\n        return this.atRuleName;\n      };\n      return UnknownAtRule2;\n    }(BodyDeclaration)\n  );\n  var ListEntry = (\n    /** @class */\n    function(_super) {\n      __extends(ListEntry2, _super);\n      function ListEntry2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      Object.defineProperty(ListEntry2.prototype, \"type\", {\n        get: function() {\n          return NodeType.ListEntry;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ListEntry2.prototype.setKey = function(node) {\n        return this.setNode(\"key\", node, 0);\n      };\n      ListEntry2.prototype.setValue = function(node) {\n        return this.setNode(\"value\", node, 1);\n      };\n      return ListEntry2;\n    }(Node2)\n  );\n  var LessGuard = (\n    /** @class */\n    function(_super) {\n      __extends(LessGuard2, _super);\n      function LessGuard2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      LessGuard2.prototype.getConditions = function() {\n        if (!this.conditions) {\n          this.conditions = new Nodelist(this);\n        }\n        return this.conditions;\n      };\n      return LessGuard2;\n    }(Node2)\n  );\n  var GuardCondition = (\n    /** @class */\n    function(_super) {\n      __extends(GuardCondition2, _super);\n      function GuardCondition2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      GuardCondition2.prototype.setVariable = function(node) {\n        return this.setNode(\"variable\", node);\n      };\n      return GuardCondition2;\n    }(Node2)\n  );\n  var Module = (\n    /** @class */\n    function(_super) {\n      __extends(Module3, _super);\n      function Module3() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      Object.defineProperty(Module3.prototype, \"type\", {\n        get: function() {\n          return NodeType.Module;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Module3.prototype.setIdentifier = function(node) {\n        return this.setNode(\"identifier\", node, 0);\n      };\n      Module3.prototype.getIdentifier = function() {\n        return this.identifier;\n      };\n      return Module3;\n    }(Node2)\n  );\n  var Level;\n  (function(Level2) {\n    Level2[Level2[\"Ignore\"] = 1] = \"Ignore\";\n    Level2[Level2[\"Warning\"] = 2] = \"Warning\";\n    Level2[Level2[\"Error\"] = 4] = \"Error\";\n  })(Level || (Level = {}));\n  var Marker = (\n    /** @class */\n    function() {\n      function Marker2(node, rule, level, message, offset, length) {\n        if (offset === void 0) {\n          offset = node.offset;\n        }\n        if (length === void 0) {\n          length = node.length;\n        }\n        this.node = node;\n        this.rule = rule;\n        this.level = level;\n        this.message = message || rule.message;\n        this.offset = offset;\n        this.length = length;\n      }\n      Marker2.prototype.getRule = function() {\n        return this.rule;\n      };\n      Marker2.prototype.getLevel = function() {\n        return this.level;\n      };\n      Marker2.prototype.getOffset = function() {\n        return this.offset;\n      };\n      Marker2.prototype.getLength = function() {\n        return this.length;\n      };\n      Marker2.prototype.getNode = function() {\n        return this.node;\n      };\n      Marker2.prototype.getMessage = function() {\n        return this.message;\n      };\n      return Marker2;\n    }()\n  );\n  var ParseErrorCollector = (\n    /** @class */\n    function() {\n      function ParseErrorCollector2() {\n        this.entries = [];\n      }\n      ParseErrorCollector2.entries = function(node) {\n        var visitor = new ParseErrorCollector2();\n        node.acceptVisitor(visitor);\n        return visitor.entries;\n      };\n      ParseErrorCollector2.prototype.visitNode = function(node) {\n        if (node.isErroneous()) {\n          node.collectIssues(this.entries);\n        }\n        return true;\n      };\n      return ParseErrorCollector2;\n    }()\n  );\n  function format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        let index = rest[0];\n        return typeof args[index] !== \"undefined\" ? args[index] : match;\n      });\n    }\n    return result;\n  }\n  function localize2(key, message, ...args) {\n    return format(message, args);\n  }\n  function loadMessageBundle(file) {\n    return localize2;\n  }\n  var localize22 = loadMessageBundle();\n  var CSSIssueType = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function CSSIssueType2(id, message) {\n        this.id = id;\n        this.message = message;\n      }\n      return CSSIssueType2;\n    }()\n  );\n  var ParseError = {\n    NumberExpected: new CSSIssueType(\"css-numberexpected\", localize22(\"expected.number\", \"number expected\")),\n    ConditionExpected: new CSSIssueType(\"css-conditionexpected\", localize22(\"expected.condt\", \"condition expected\")),\n    RuleOrSelectorExpected: new CSSIssueType(\"css-ruleorselectorexpected\", localize22(\"expected.ruleorselector\", \"at-rule or selector expected\")),\n    DotExpected: new CSSIssueType(\"css-dotexpected\", localize22(\"expected.dot\", \"dot expected\")),\n    ColonExpected: new CSSIssueType(\"css-colonexpected\", localize22(\"expected.colon\", \"colon expected\")),\n    SemiColonExpected: new CSSIssueType(\"css-semicolonexpected\", localize22(\"expected.semicolon\", \"semi-colon expected\")),\n    TermExpected: new CSSIssueType(\"css-termexpected\", localize22(\"expected.term\", \"term expected\")),\n    ExpressionExpected: new CSSIssueType(\"css-expressionexpected\", localize22(\"expected.expression\", \"expression expected\")),\n    OperatorExpected: new CSSIssueType(\"css-operatorexpected\", localize22(\"expected.operator\", \"operator expected\")),\n    IdentifierExpected: new CSSIssueType(\"css-identifierexpected\", localize22(\"expected.ident\", \"identifier expected\")),\n    PercentageExpected: new CSSIssueType(\"css-percentageexpected\", localize22(\"expected.percentage\", \"percentage expected\")),\n    URIOrStringExpected: new CSSIssueType(\"css-uriorstringexpected\", localize22(\"expected.uriorstring\", \"uri or string expected\")),\n    URIExpected: new CSSIssueType(\"css-uriexpected\", localize22(\"expected.uri\", \"URI expected\")),\n    VariableNameExpected: new CSSIssueType(\"css-varnameexpected\", localize22(\"expected.varname\", \"variable name expected\")),\n    VariableValueExpected: new CSSIssueType(\"css-varvalueexpected\", localize22(\"expected.varvalue\", \"variable value expected\")),\n    PropertyValueExpected: new CSSIssueType(\"css-propertyvalueexpected\", localize22(\"expected.propvalue\", \"property value expected\")),\n    LeftCurlyExpected: new CSSIssueType(\"css-lcurlyexpected\", localize22(\"expected.lcurly\", \"{ expected\")),\n    RightCurlyExpected: new CSSIssueType(\"css-rcurlyexpected\", localize22(\"expected.rcurly\", \"} expected\")),\n    LeftSquareBracketExpected: new CSSIssueType(\"css-rbracketexpected\", localize22(\"expected.lsquare\", \"[ expected\")),\n    RightSquareBracketExpected: new CSSIssueType(\"css-lbracketexpected\", localize22(\"expected.rsquare\", \"] expected\")),\n    LeftParenthesisExpected: new CSSIssueType(\"css-lparentexpected\", localize22(\"expected.lparen\", \"( expected\")),\n    RightParenthesisExpected: new CSSIssueType(\"css-rparentexpected\", localize22(\"expected.rparent\", \") expected\")),\n    CommaExpected: new CSSIssueType(\"css-commaexpected\", localize22(\"expected.comma\", \"comma expected\")),\n    PageDirectiveOrDeclarationExpected: new CSSIssueType(\"css-pagedirordeclexpected\", localize22(\"expected.pagedirordecl\", \"page directive or declaraton expected\")),\n    UnknownAtRule: new CSSIssueType(\"css-unknownatrule\", localize22(\"unknown.atrule\", \"at-rule unknown\")),\n    UnknownKeyword: new CSSIssueType(\"css-unknownkeyword\", localize22(\"unknown.keyword\", \"unknown keyword\")),\n    SelectorExpected: new CSSIssueType(\"css-selectorexpected\", localize22(\"expected.selector\", \"selector expected\")),\n    StringLiteralExpected: new CSSIssueType(\"css-stringliteralexpected\", localize22(\"expected.stringliteral\", \"string literal expected\")),\n    WhitespaceExpected: new CSSIssueType(\"css-whitespaceexpected\", localize22(\"expected.whitespace\", \"whitespace expected\")),\n    MediaQueryExpected: new CSSIssueType(\"css-mediaqueryexpected\", localize22(\"expected.mediaquery\", \"media query expected\")),\n    IdentifierOrWildcardExpected: new CSSIssueType(\"css-idorwildcardexpected\", localize22(\"expected.idorwildcard\", \"identifier or wildcard expected\")),\n    WildcardExpected: new CSSIssueType(\"css-wildcardexpected\", localize22(\"expected.wildcard\", \"wildcard expected\")),\n    IdentifierOrVariableExpected: new CSSIssueType(\"css-idorvarexpected\", localize22(\"expected.idorvar\", \"identifier or variable expected\"))\n  };\n  var integer;\n  (function(integer2) {\n    integer2.MIN_VALUE = -2147483648;\n    integer2.MAX_VALUE = 2147483647;\n  })(integer || (integer = {}));\n  var uinteger;\n  (function(uinteger2) {\n    uinteger2.MIN_VALUE = 0;\n    uinteger2.MAX_VALUE = 2147483647;\n  })(uinteger || (uinteger = {}));\n  var Position2;\n  (function(Position22) {\n    function create(line, character) {\n      if (line === Number.MAX_VALUE) {\n        line = uinteger.MAX_VALUE;\n      }\n      if (character === Number.MAX_VALUE) {\n        character = uinteger.MAX_VALUE;\n      }\n      return { line, character };\n    }\n    Position22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n    }\n    Position22.is = is;\n  })(Position2 || (Position2 = {}));\n  var Range2;\n  (function(Range22) {\n    function create(one, two, three, four) {\n      if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n        return { start: Position2.create(one, two), end: Position2.create(three, four) };\n      } else if (Position2.is(one) && Position2.is(two)) {\n        return { start: one, end: two };\n      } else {\n        throw new Error(\"Range#create called with invalid arguments[\" + one + \", \" + two + \", \" + three + \", \" + four + \"]\");\n      }\n    }\n    Range22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Position2.is(candidate.start) && Position2.is(candidate.end);\n    }\n    Range22.is = is;\n  })(Range2 || (Range2 = {}));\n  var Location;\n  (function(Location2) {\n    function create(uri, range) {\n      return { uri, range };\n    }\n    Location2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n    }\n    Location2.is = is;\n  })(Location || (Location = {}));\n  var LocationLink;\n  (function(LocationLink2) {\n    function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n      return { targetUri, targetRange, targetSelectionRange, originSelectionRange };\n    }\n    LocationLink2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.targetRange) && Is.string(candidate.targetUri) && (Range2.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange)) && (Range2.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n    }\n    LocationLink2.is = is;\n  })(LocationLink || (LocationLink = {}));\n  var Color2;\n  (function(Color22) {\n    function create(red, green, blue, alpha) {\n      return {\n        red,\n        green,\n        blue,\n        alpha\n      };\n    }\n    Color22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1);\n    }\n    Color22.is = is;\n  })(Color2 || (Color2 = {}));\n  var ColorInformation;\n  (function(ColorInformation2) {\n    function create(range, color) {\n      return {\n        range,\n        color\n      };\n    }\n    ColorInformation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Range2.is(candidate.range) && Color2.is(candidate.color);\n    }\n    ColorInformation2.is = is;\n  })(ColorInformation || (ColorInformation = {}));\n  var ColorPresentation;\n  (function(ColorPresentation2) {\n    function create(label, textEdit, additionalTextEdits) {\n      return {\n        label,\n        textEdit,\n        additionalTextEdits\n      };\n    }\n    ColorPresentation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n    }\n    ColorPresentation2.is = is;\n  })(ColorPresentation || (ColorPresentation = {}));\n  var FoldingRangeKind2;\n  (function(FoldingRangeKind22) {\n    FoldingRangeKind22[\"Comment\"] = \"comment\";\n    FoldingRangeKind22[\"Imports\"] = \"imports\";\n    FoldingRangeKind22[\"Region\"] = \"region\";\n  })(FoldingRangeKind2 || (FoldingRangeKind2 = {}));\n  var FoldingRange;\n  (function(FoldingRange2) {\n    function create(startLine, endLine, startCharacter, endCharacter, kind) {\n      var result = {\n        startLine,\n        endLine\n      };\n      if (Is.defined(startCharacter)) {\n        result.startCharacter = startCharacter;\n      }\n      if (Is.defined(endCharacter)) {\n        result.endCharacter = endCharacter;\n      }\n      if (Is.defined(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    FoldingRange2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n    }\n    FoldingRange2.is = is;\n  })(FoldingRange || (FoldingRange = {}));\n  var DiagnosticRelatedInformation;\n  (function(DiagnosticRelatedInformation2) {\n    function create(location, message) {\n      return {\n        location,\n        message\n      };\n    }\n    DiagnosticRelatedInformation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n    }\n    DiagnosticRelatedInformation2.is = is;\n  })(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n  var DiagnosticSeverity;\n  (function(DiagnosticSeverity2) {\n    DiagnosticSeverity2.Error = 1;\n    DiagnosticSeverity2.Warning = 2;\n    DiagnosticSeverity2.Information = 3;\n    DiagnosticSeverity2.Hint = 4;\n  })(DiagnosticSeverity || (DiagnosticSeverity = {}));\n  var DiagnosticTag;\n  (function(DiagnosticTag2) {\n    DiagnosticTag2.Unnecessary = 1;\n    DiagnosticTag2.Deprecated = 2;\n  })(DiagnosticTag || (DiagnosticTag = {}));\n  var CodeDescription;\n  (function(CodeDescription2) {\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && candidate !== null && Is.string(candidate.href);\n    }\n    CodeDescription2.is = is;\n  })(CodeDescription || (CodeDescription = {}));\n  var Diagnostic;\n  (function(Diagnostic2) {\n    function create(range, message, severity, code, source, relatedInformation) {\n      var result = { range, message };\n      if (Is.defined(severity)) {\n        result.severity = severity;\n      }\n      if (Is.defined(code)) {\n        result.code = code;\n      }\n      if (Is.defined(source)) {\n        result.source = source;\n      }\n      if (Is.defined(relatedInformation)) {\n        result.relatedInformation = relatedInformation;\n      }\n      return result;\n    }\n    Diagnostic2.create = create;\n    function is(value) {\n      var _a22;\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a22 = candidate.codeDescription) === null || _a22 === void 0 ? void 0 : _a22.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n    }\n    Diagnostic2.is = is;\n  })(Diagnostic || (Diagnostic = {}));\n  var Command2;\n  (function(Command22) {\n    function create(title, command) {\n      var args = [];\n      for (var _i = 2; _i < arguments.length; _i++) {\n        args[_i - 2] = arguments[_i];\n      }\n      var result = { title, command };\n      if (Is.defined(args) && args.length > 0) {\n        result.arguments = args;\n      }\n      return result;\n    }\n    Command22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n    }\n    Command22.is = is;\n  })(Command2 || (Command2 = {}));\n  var TextEdit;\n  (function(TextEdit2) {\n    function replace(range, newText) {\n      return { range, newText };\n    }\n    TextEdit2.replace = replace;\n    function insert(position, newText) {\n      return { range: { start: position, end: position }, newText };\n    }\n    TextEdit2.insert = insert;\n    function del(range) {\n      return { range, newText: \"\" };\n    }\n    TextEdit2.del = del;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range2.is(candidate.range);\n    }\n    TextEdit2.is = is;\n  })(TextEdit || (TextEdit = {}));\n  var ChangeAnnotation;\n  (function(ChangeAnnotation2) {\n    function create(label, needsConfirmation, description) {\n      var result = { label };\n      if (needsConfirmation !== void 0) {\n        result.needsConfirmation = needsConfirmation;\n      }\n      if (description !== void 0) {\n        result.description = description;\n      }\n      return result;\n    }\n    ChangeAnnotation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0);\n    }\n    ChangeAnnotation2.is = is;\n  })(ChangeAnnotation || (ChangeAnnotation = {}));\n  var ChangeAnnotationIdentifier;\n  (function(ChangeAnnotationIdentifier2) {\n    function is(value) {\n      var candidate = value;\n      return typeof candidate === \"string\";\n    }\n    ChangeAnnotationIdentifier2.is = is;\n  })(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\n  var AnnotatedTextEdit;\n  (function(AnnotatedTextEdit2) {\n    function replace(range, newText, annotation) {\n      return { range, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.replace = replace;\n    function insert(position, newText, annotation) {\n      return { range: { start: position, end: position }, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.insert = insert;\n    function del(range, annotation) {\n      return { range, newText: \"\", annotationId: annotation };\n    }\n    AnnotatedTextEdit2.del = del;\n    function is(value) {\n      var candidate = value;\n      return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    AnnotatedTextEdit2.is = is;\n  })(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n  var TextDocumentEdit;\n  (function(TextDocumentEdit2) {\n    function create(textDocument, edits) {\n      return { textDocument, edits };\n    }\n    TextDocumentEdit2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits);\n    }\n    TextDocumentEdit2.is = is;\n  })(TextDocumentEdit || (TextDocumentEdit = {}));\n  var CreateFile;\n  (function(CreateFile2) {\n    function create(uri, options, annotation) {\n      var result = {\n        kind: \"create\",\n        uri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    CreateFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"create\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    CreateFile2.is = is;\n  })(CreateFile || (CreateFile = {}));\n  var RenameFile;\n  (function(RenameFile2) {\n    function create(oldUri, newUri, options, annotation) {\n      var result = {\n        kind: \"rename\",\n        oldUri,\n        newUri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    RenameFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"rename\" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    RenameFile2.is = is;\n  })(RenameFile || (RenameFile = {}));\n  var DeleteFile;\n  (function(DeleteFile2) {\n    function create(uri, options, annotation) {\n      var result = {\n        kind: \"delete\",\n        uri\n      };\n      if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    DeleteFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"delete\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    DeleteFile2.is = is;\n  })(DeleteFile || (DeleteFile = {}));\n  var WorkspaceEdit;\n  (function(WorkspaceEdit2) {\n    function is(value) {\n      var candidate = value;\n      return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every(function(change) {\n        if (Is.string(change.kind)) {\n          return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n        } else {\n          return TextDocumentEdit.is(change);\n        }\n      }));\n    }\n    WorkspaceEdit2.is = is;\n  })(WorkspaceEdit || (WorkspaceEdit = {}));\n  var TextEditChangeImpl = (\n    /** @class */\n    function() {\n      function TextEditChangeImpl2(edits, changeAnnotations) {\n        this.edits = edits;\n        this.changeAnnotations = changeAnnotations;\n      }\n      TextEditChangeImpl2.prototype.insert = function(position, newText, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.insert(position, newText);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.insert(position, newText, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.insert(position, newText, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.replace = function(range, newText, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.replace(range, newText);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.replace(range, newText, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.replace(range, newText, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.delete = function(range, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.del(range);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.del(range, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.del(range, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.add = function(edit) {\n        this.edits.push(edit);\n      };\n      TextEditChangeImpl2.prototype.all = function() {\n        return this.edits;\n      };\n      TextEditChangeImpl2.prototype.clear = function() {\n        this.edits.splice(0, this.edits.length);\n      };\n      TextEditChangeImpl2.prototype.assertChangeAnnotations = function(value) {\n        if (value === void 0) {\n          throw new Error(\"Text edit change is not configured to manage change annotations.\");\n        }\n      };\n      return TextEditChangeImpl2;\n    }()\n  );\n  var ChangeAnnotations = (\n    /** @class */\n    function() {\n      function ChangeAnnotations2(annotations) {\n        this._annotations = annotations === void 0 ? /* @__PURE__ */ Object.create(null) : annotations;\n        this._counter = 0;\n        this._size = 0;\n      }\n      ChangeAnnotations2.prototype.all = function() {\n        return this._annotations;\n      };\n      Object.defineProperty(ChangeAnnotations2.prototype, \"size\", {\n        get: function() {\n          return this._size;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ChangeAnnotations2.prototype.manage = function(idOrAnnotation, annotation) {\n        var id;\n        if (ChangeAnnotationIdentifier.is(idOrAnnotation)) {\n          id = idOrAnnotation;\n        } else {\n          id = this.nextId();\n          annotation = idOrAnnotation;\n        }\n        if (this._annotations[id] !== void 0) {\n          throw new Error(\"Id \" + id + \" is already in use.\");\n        }\n        if (annotation === void 0) {\n          throw new Error(\"No annotation provided for id \" + id);\n        }\n        this._annotations[id] = annotation;\n        this._size++;\n        return id;\n      };\n      ChangeAnnotations2.prototype.nextId = function() {\n        this._counter++;\n        return this._counter.toString();\n      };\n      return ChangeAnnotations2;\n    }()\n  );\n  var WorkspaceChange = (\n    /** @class */\n    function() {\n      function WorkspaceChange2(workspaceEdit) {\n        var _this = this;\n        this._textEditChanges = /* @__PURE__ */ Object.create(null);\n        if (workspaceEdit !== void 0) {\n          this._workspaceEdit = workspaceEdit;\n          if (workspaceEdit.documentChanges) {\n            this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations);\n            workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n            workspaceEdit.documentChanges.forEach(function(change) {\n              if (TextDocumentEdit.is(change)) {\n                var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations);\n                _this._textEditChanges[change.textDocument.uri] = textEditChange;\n              }\n            });\n          } else if (workspaceEdit.changes) {\n            Object.keys(workspaceEdit.changes).forEach(function(key) {\n              var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]);\n              _this._textEditChanges[key] = textEditChange;\n            });\n          }\n        } else {\n          this._workspaceEdit = {};\n        }\n      }\n      Object.defineProperty(WorkspaceChange2.prototype, \"edit\", {\n        /**\n         * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal\n         * use to be returned from a workspace edit operation like rename.\n         */\n        get: function() {\n          this.initDocumentChanges();\n          if (this._changeAnnotations !== void 0) {\n            if (this._changeAnnotations.size === 0) {\n              this._workspaceEdit.changeAnnotations = void 0;\n            } else {\n              this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n            }\n          }\n          return this._workspaceEdit;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      WorkspaceChange2.prototype.getTextEditChange = function(key) {\n        if (OptionalVersionedTextDocumentIdentifier.is(key)) {\n          this.initDocumentChanges();\n          if (this._workspaceEdit.documentChanges === void 0) {\n            throw new Error(\"Workspace edit is not configured for document changes.\");\n          }\n          var textDocument = { uri: key.uri, version: key.version };\n          var result = this._textEditChanges[textDocument.uri];\n          if (!result) {\n            var edits = [];\n            var textDocumentEdit = {\n              textDocument,\n              edits\n            };\n            this._workspaceEdit.documentChanges.push(textDocumentEdit);\n            result = new TextEditChangeImpl(edits, this._changeAnnotations);\n            this._textEditChanges[textDocument.uri] = result;\n          }\n          return result;\n        } else {\n          this.initChanges();\n          if (this._workspaceEdit.changes === void 0) {\n            throw new Error(\"Workspace edit is not configured for normal text edit changes.\");\n          }\n          var result = this._textEditChanges[key];\n          if (!result) {\n            var edits = [];\n            this._workspaceEdit.changes[key] = edits;\n            result = new TextEditChangeImpl(edits);\n            this._textEditChanges[key] = result;\n          }\n          return result;\n        }\n      };\n      WorkspaceChange2.prototype.initDocumentChanges = function() {\n        if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {\n          this._changeAnnotations = new ChangeAnnotations();\n          this._workspaceEdit.documentChanges = [];\n          this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n        }\n      };\n      WorkspaceChange2.prototype.initChanges = function() {\n        if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {\n          this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null);\n        }\n      };\n      WorkspaceChange2.prototype.createFile = function(uri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = CreateFile.create(uri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = CreateFile.create(uri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      WorkspaceChange2.prototype.renameFile = function(oldUri, newUri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = RenameFile.create(oldUri, newUri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = RenameFile.create(oldUri, newUri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      WorkspaceChange2.prototype.deleteFile = function(uri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = DeleteFile.create(uri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = DeleteFile.create(uri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      return WorkspaceChange2;\n    }()\n  );\n  var TextDocumentIdentifier;\n  (function(TextDocumentIdentifier2) {\n    function create(uri) {\n      return { uri };\n    }\n    TextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri);\n    }\n    TextDocumentIdentifier2.is = is;\n  })(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n  var VersionedTextDocumentIdentifier;\n  (function(VersionedTextDocumentIdentifier2) {\n    function create(uri, version) {\n      return { uri, version };\n    }\n    VersionedTextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n    }\n    VersionedTextDocumentIdentifier2.is = is;\n  })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n  var OptionalVersionedTextDocumentIdentifier;\n  (function(OptionalVersionedTextDocumentIdentifier2) {\n    function create(uri, version) {\n      return { uri, version };\n    }\n    OptionalVersionedTextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n    }\n    OptionalVersionedTextDocumentIdentifier2.is = is;\n  })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n  var TextDocumentItem;\n  (function(TextDocumentItem2) {\n    function create(uri, languageId, version, text) {\n      return { uri, languageId, version, text };\n    }\n    TextDocumentItem2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n    }\n    TextDocumentItem2.is = is;\n  })(TextDocumentItem || (TextDocumentItem = {}));\n  var MarkupKind;\n  (function(MarkupKind2) {\n    MarkupKind2.PlainText = \"plaintext\";\n    MarkupKind2.Markdown = \"markdown\";\n  })(MarkupKind || (MarkupKind = {}));\n  (function(MarkupKind2) {\n    function is(value) {\n      var candidate = value;\n      return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown;\n    }\n    MarkupKind2.is = is;\n  })(MarkupKind || (MarkupKind = {}));\n  var MarkupContent;\n  (function(MarkupContent2) {\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n    }\n    MarkupContent2.is = is;\n  })(MarkupContent || (MarkupContent = {}));\n  var CompletionItemKind2;\n  (function(CompletionItemKind22) {\n    CompletionItemKind22.Text = 1;\n    CompletionItemKind22.Method = 2;\n    CompletionItemKind22.Function = 3;\n    CompletionItemKind22.Constructor = 4;\n    CompletionItemKind22.Field = 5;\n    CompletionItemKind22.Variable = 6;\n    CompletionItemKind22.Class = 7;\n    CompletionItemKind22.Interface = 8;\n    CompletionItemKind22.Module = 9;\n    CompletionItemKind22.Property = 10;\n    CompletionItemKind22.Unit = 11;\n    CompletionItemKind22.Value = 12;\n    CompletionItemKind22.Enum = 13;\n    CompletionItemKind22.Keyword = 14;\n    CompletionItemKind22.Snippet = 15;\n    CompletionItemKind22.Color = 16;\n    CompletionItemKind22.File = 17;\n    CompletionItemKind22.Reference = 18;\n    CompletionItemKind22.Folder = 19;\n    CompletionItemKind22.EnumMember = 20;\n    CompletionItemKind22.Constant = 21;\n    CompletionItemKind22.Struct = 22;\n    CompletionItemKind22.Event = 23;\n    CompletionItemKind22.Operator = 24;\n    CompletionItemKind22.TypeParameter = 25;\n  })(CompletionItemKind2 || (CompletionItemKind2 = {}));\n  var InsertTextFormat;\n  (function(InsertTextFormat2) {\n    InsertTextFormat2.PlainText = 1;\n    InsertTextFormat2.Snippet = 2;\n  })(InsertTextFormat || (InsertTextFormat = {}));\n  var CompletionItemTag2;\n  (function(CompletionItemTag22) {\n    CompletionItemTag22.Deprecated = 1;\n  })(CompletionItemTag2 || (CompletionItemTag2 = {}));\n  var InsertReplaceEdit;\n  (function(InsertReplaceEdit2) {\n    function create(newText, insert, replace) {\n      return { newText, insert, replace };\n    }\n    InsertReplaceEdit2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.newText) && Range2.is(candidate.insert) && Range2.is(candidate.replace);\n    }\n    InsertReplaceEdit2.is = is;\n  })(InsertReplaceEdit || (InsertReplaceEdit = {}));\n  var InsertTextMode;\n  (function(InsertTextMode2) {\n    InsertTextMode2.asIs = 1;\n    InsertTextMode2.adjustIndentation = 2;\n  })(InsertTextMode || (InsertTextMode = {}));\n  var CompletionItem;\n  (function(CompletionItem2) {\n    function create(label) {\n      return { label };\n    }\n    CompletionItem2.create = create;\n  })(CompletionItem || (CompletionItem = {}));\n  var CompletionList;\n  (function(CompletionList2) {\n    function create(items, isIncomplete) {\n      return { items: items ? items : [], isIncomplete: !!isIncomplete };\n    }\n    CompletionList2.create = create;\n  })(CompletionList || (CompletionList = {}));\n  var MarkedString;\n  (function(MarkedString2) {\n    function fromPlainText(plainText) {\n      return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, \"\\\\$&\");\n    }\n    MarkedString2.fromPlainText = fromPlainText;\n    function is(value) {\n      var candidate = value;\n      return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value);\n    }\n    MarkedString2.is = is;\n  })(MarkedString || (MarkedString = {}));\n  var Hover;\n  (function(Hover2) {\n    function is(value) {\n      var candidate = value;\n      return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range2.is(value.range));\n    }\n    Hover2.is = is;\n  })(Hover || (Hover = {}));\n  var ParameterInformation;\n  (function(ParameterInformation2) {\n    function create(label, documentation) {\n      return documentation ? { label, documentation } : { label };\n    }\n    ParameterInformation2.create = create;\n  })(ParameterInformation || (ParameterInformation = {}));\n  var SignatureInformation;\n  (function(SignatureInformation2) {\n    function create(label, documentation) {\n      var parameters = [];\n      for (var _i = 2; _i < arguments.length; _i++) {\n        parameters[_i - 2] = arguments[_i];\n      }\n      var result = { label };\n      if (Is.defined(documentation)) {\n        result.documentation = documentation;\n      }\n      if (Is.defined(parameters)) {\n        result.parameters = parameters;\n      } else {\n        result.parameters = [];\n      }\n      return result;\n    }\n    SignatureInformation2.create = create;\n  })(SignatureInformation || (SignatureInformation = {}));\n  var DocumentHighlightKind3;\n  (function(DocumentHighlightKind22) {\n    DocumentHighlightKind22.Text = 1;\n    DocumentHighlightKind22.Read = 2;\n    DocumentHighlightKind22.Write = 3;\n  })(DocumentHighlightKind3 || (DocumentHighlightKind3 = {}));\n  var DocumentHighlight;\n  (function(DocumentHighlight2) {\n    function create(range, kind) {\n      var result = { range };\n      if (Is.number(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    DocumentHighlight2.create = create;\n  })(DocumentHighlight || (DocumentHighlight = {}));\n  var SymbolKind2;\n  (function(SymbolKind22) {\n    SymbolKind22.File = 1;\n    SymbolKind22.Module = 2;\n    SymbolKind22.Namespace = 3;\n    SymbolKind22.Package = 4;\n    SymbolKind22.Class = 5;\n    SymbolKind22.Method = 6;\n    SymbolKind22.Property = 7;\n    SymbolKind22.Field = 8;\n    SymbolKind22.Constructor = 9;\n    SymbolKind22.Enum = 10;\n    SymbolKind22.Interface = 11;\n    SymbolKind22.Function = 12;\n    SymbolKind22.Variable = 13;\n    SymbolKind22.Constant = 14;\n    SymbolKind22.String = 15;\n    SymbolKind22.Number = 16;\n    SymbolKind22.Boolean = 17;\n    SymbolKind22.Array = 18;\n    SymbolKind22.Object = 19;\n    SymbolKind22.Key = 20;\n    SymbolKind22.Null = 21;\n    SymbolKind22.EnumMember = 22;\n    SymbolKind22.Struct = 23;\n    SymbolKind22.Event = 24;\n    SymbolKind22.Operator = 25;\n    SymbolKind22.TypeParameter = 26;\n  })(SymbolKind2 || (SymbolKind2 = {}));\n  var SymbolTag2;\n  (function(SymbolTag22) {\n    SymbolTag22.Deprecated = 1;\n  })(SymbolTag2 || (SymbolTag2 = {}));\n  var SymbolInformation;\n  (function(SymbolInformation2) {\n    function create(name, kind, range, uri, containerName) {\n      var result = {\n        name,\n        kind,\n        location: { uri, range }\n      };\n      if (containerName) {\n        result.containerName = containerName;\n      }\n      return result;\n    }\n    SymbolInformation2.create = create;\n  })(SymbolInformation || (SymbolInformation = {}));\n  var DocumentSymbol;\n  (function(DocumentSymbol2) {\n    function create(name, detail, kind, range, selectionRange, children) {\n      var result = {\n        name,\n        detail,\n        kind,\n        range,\n        selectionRange\n      };\n      if (children !== void 0) {\n        result.children = children;\n      }\n      return result;\n    }\n    DocumentSymbol2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range2.is(candidate.range) && Range2.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags));\n    }\n    DocumentSymbol2.is = is;\n  })(DocumentSymbol || (DocumentSymbol = {}));\n  var CodeActionKind;\n  (function(CodeActionKind2) {\n    CodeActionKind2.Empty = \"\";\n    CodeActionKind2.QuickFix = \"quickfix\";\n    CodeActionKind2.Refactor = \"refactor\";\n    CodeActionKind2.RefactorExtract = \"refactor.extract\";\n    CodeActionKind2.RefactorInline = \"refactor.inline\";\n    CodeActionKind2.RefactorRewrite = \"refactor.rewrite\";\n    CodeActionKind2.Source = \"source\";\n    CodeActionKind2.SourceOrganizeImports = \"source.organizeImports\";\n    CodeActionKind2.SourceFixAll = \"source.fixAll\";\n  })(CodeActionKind || (CodeActionKind = {}));\n  var CodeActionContext;\n  (function(CodeActionContext2) {\n    function create(diagnostics, only) {\n      var result = { diagnostics };\n      if (only !== void 0 && only !== null) {\n        result.only = only;\n      }\n      return result;\n    }\n    CodeActionContext2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string));\n    }\n    CodeActionContext2.is = is;\n  })(CodeActionContext || (CodeActionContext = {}));\n  var CodeAction;\n  (function(CodeAction2) {\n    function create(title, kindOrCommandOrEdit, kind) {\n      var result = { title };\n      var checkKind = true;\n      if (typeof kindOrCommandOrEdit === \"string\") {\n        checkKind = false;\n        result.kind = kindOrCommandOrEdit;\n      } else if (Command2.is(kindOrCommandOrEdit)) {\n        result.command = kindOrCommandOrEdit;\n      } else {\n        result.edit = kindOrCommandOrEdit;\n      }\n      if (checkKind && kind !== void 0) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    CodeAction2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command2.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit));\n    }\n    CodeAction2.is = is;\n  })(CodeAction || (CodeAction = {}));\n  var CodeLens;\n  (function(CodeLens2) {\n    function create(range, data) {\n      var result = { range };\n      if (Is.defined(data)) {\n        result.data = data;\n      }\n      return result;\n    }\n    CodeLens2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.command) || Command2.is(candidate.command));\n    }\n    CodeLens2.is = is;\n  })(CodeLens || (CodeLens = {}));\n  var FormattingOptions;\n  (function(FormattingOptions2) {\n    function create(tabSize, insertSpaces) {\n      return { tabSize, insertSpaces };\n    }\n    FormattingOptions2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n    }\n    FormattingOptions2.is = is;\n  })(FormattingOptions || (FormattingOptions = {}));\n  var DocumentLink;\n  (function(DocumentLink2) {\n    function create(range, target, data) {\n      return { range, target, data };\n    }\n    DocumentLink2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n    }\n    DocumentLink2.is = is;\n  })(DocumentLink || (DocumentLink = {}));\n  var SelectionRange;\n  (function(SelectionRange2) {\n    function create(range, parent) {\n      return { range, parent };\n    }\n    SelectionRange2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && Range2.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent));\n    }\n    SelectionRange2.is = is;\n  })(SelectionRange || (SelectionRange = {}));\n  var TextDocument;\n  (function(TextDocument3) {\n    function create(uri, languageId, version, content) {\n      return new FullTextDocument(uri, languageId, version, content);\n    }\n    TextDocument3.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n    }\n    TextDocument3.is = is;\n    function applyEdits(document2, edits) {\n      var text = document2.getText();\n      var sortedEdits = mergeSort2(edits, function(a2, b) {\n        var diff = a2.range.start.line - b.range.start.line;\n        if (diff === 0) {\n          return a2.range.start.character - b.range.start.character;\n        }\n        return diff;\n      });\n      var lastModifiedOffset = text.length;\n      for (var i = sortedEdits.length - 1; i >= 0; i--) {\n        var e = sortedEdits[i];\n        var startOffset = document2.offsetAt(e.range.start);\n        var endOffset = document2.offsetAt(e.range.end);\n        if (endOffset <= lastModifiedOffset) {\n          text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);\n        } else {\n          throw new Error(\"Overlapping edit\");\n        }\n        lastModifiedOffset = startOffset;\n      }\n      return text;\n    }\n    TextDocument3.applyEdits = applyEdits;\n    function mergeSort2(data, compare) {\n      if (data.length <= 1) {\n        return data;\n      }\n      var p = data.length / 2 | 0;\n      var left = data.slice(0, p);\n      var right = data.slice(p);\n      mergeSort2(left, compare);\n      mergeSort2(right, compare);\n      var leftIdx = 0;\n      var rightIdx = 0;\n      var i = 0;\n      while (leftIdx < left.length && rightIdx < right.length) {\n        var ret = compare(left[leftIdx], right[rightIdx]);\n        if (ret <= 0) {\n          data[i++] = left[leftIdx++];\n        } else {\n          data[i++] = right[rightIdx++];\n        }\n      }\n      while (leftIdx < left.length) {\n        data[i++] = left[leftIdx++];\n      }\n      while (rightIdx < right.length) {\n        data[i++] = right[rightIdx++];\n      }\n      return data;\n    }\n  })(TextDocument || (TextDocument = {}));\n  var FullTextDocument = (\n    /** @class */\n    function() {\n      function FullTextDocument3(uri, languageId, version, content) {\n        this._uri = uri;\n        this._languageId = languageId;\n        this._version = version;\n        this._content = content;\n        this._lineOffsets = void 0;\n      }\n      Object.defineProperty(FullTextDocument3.prototype, \"uri\", {\n        get: function() {\n          return this._uri;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(FullTextDocument3.prototype, \"languageId\", {\n        get: function() {\n          return this._languageId;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(FullTextDocument3.prototype, \"version\", {\n        get: function() {\n          return this._version;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      FullTextDocument3.prototype.getText = function(range) {\n        if (range) {\n          var start = this.offsetAt(range.start);\n          var end = this.offsetAt(range.end);\n          return this._content.substring(start, end);\n        }\n        return this._content;\n      };\n      FullTextDocument3.prototype.update = function(event, version) {\n        this._content = event.text;\n        this._version = version;\n        this._lineOffsets = void 0;\n      };\n      FullTextDocument3.prototype.getLineOffsets = function() {\n        if (this._lineOffsets === void 0) {\n          var lineOffsets = [];\n          var text = this._content;\n          var isLineStart = true;\n          for (var i = 0; i < text.length; i++) {\n            if (isLineStart) {\n              lineOffsets.push(i);\n              isLineStart = false;\n            }\n            var ch = text.charAt(i);\n            isLineStart = ch === \"\\r\" || ch === \"\\n\";\n            if (ch === \"\\r\" && i + 1 < text.length && text.charAt(i + 1) === \"\\n\") {\n              i++;\n            }\n          }\n          if (isLineStart && text.length > 0) {\n            lineOffsets.push(text.length);\n          }\n          this._lineOffsets = lineOffsets;\n        }\n        return this._lineOffsets;\n      };\n      FullTextDocument3.prototype.positionAt = function(offset) {\n        offset = Math.max(Math.min(offset, this._content.length), 0);\n        var lineOffsets = this.getLineOffsets();\n        var low = 0, high = lineOffsets.length;\n        if (high === 0) {\n          return Position2.create(0, offset);\n        }\n        while (low < high) {\n          var mid = Math.floor((low + high) / 2);\n          if (lineOffsets[mid] > offset) {\n            high = mid;\n          } else {\n            low = mid + 1;\n          }\n        }\n        var line = low - 1;\n        return Position2.create(line, offset - lineOffsets[line]);\n      };\n      FullTextDocument3.prototype.offsetAt = function(position) {\n        var lineOffsets = this.getLineOffsets();\n        if (position.line >= lineOffsets.length) {\n          return this._content.length;\n        } else if (position.line < 0) {\n          return 0;\n        }\n        var lineOffset = lineOffsets[position.line];\n        var nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length;\n        return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n      };\n      Object.defineProperty(FullTextDocument3.prototype, \"lineCount\", {\n        get: function() {\n          return this.getLineOffsets().length;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return FullTextDocument3;\n    }()\n  );\n  var Is;\n  (function(Is2) {\n    var toString = Object.prototype.toString;\n    function defined(value) {\n      return typeof value !== \"undefined\";\n    }\n    Is2.defined = defined;\n    function undefined2(value) {\n      return typeof value === \"undefined\";\n    }\n    Is2.undefined = undefined2;\n    function boolean(value) {\n      return value === true || value === false;\n    }\n    Is2.boolean = boolean;\n    function string(value) {\n      return toString.call(value) === \"[object String]\";\n    }\n    Is2.string = string;\n    function number(value) {\n      return toString.call(value) === \"[object Number]\";\n    }\n    Is2.number = number;\n    function numberRange(value, min, max) {\n      return toString.call(value) === \"[object Number]\" && min <= value && value <= max;\n    }\n    Is2.numberRange = numberRange;\n    function integer2(value) {\n      return toString.call(value) === \"[object Number]\" && -2147483648 <= value && value <= 2147483647;\n    }\n    Is2.integer = integer2;\n    function uinteger2(value) {\n      return toString.call(value) === \"[object Number]\" && 0 <= value && value <= 2147483647;\n    }\n    Is2.uinteger = uinteger2;\n    function func(value) {\n      return toString.call(value) === \"[object Function]\";\n    }\n    Is2.func = func;\n    function objectLiteral(value) {\n      return value !== null && typeof value === \"object\";\n    }\n    Is2.objectLiteral = objectLiteral;\n    function typedArray(value, check) {\n      return Array.isArray(value) && value.every(check);\n    }\n    Is2.typedArray = typedArray;\n  })(Is || (Is = {}));\n  var FullTextDocument2 = class _FullTextDocument {\n    constructor(uri, languageId, version, content) {\n      this._uri = uri;\n      this._languageId = languageId;\n      this._version = version;\n      this._content = content;\n      this._lineOffsets = void 0;\n    }\n    get uri() {\n      return this._uri;\n    }\n    get languageId() {\n      return this._languageId;\n    }\n    get version() {\n      return this._version;\n    }\n    getText(range) {\n      if (range) {\n        const start = this.offsetAt(range.start);\n        const end = this.offsetAt(range.end);\n        return this._content.substring(start, end);\n      }\n      return this._content;\n    }\n    update(changes, version) {\n      for (let change of changes) {\n        if (_FullTextDocument.isIncremental(change)) {\n          const range = getWellformedRange(change.range);\n          const startOffset = this.offsetAt(range.start);\n          const endOffset = this.offsetAt(range.end);\n          this._content = this._content.substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length);\n          const startLine = Math.max(range.start.line, 0);\n          const endLine = Math.max(range.end.line, 0);\n          let lineOffsets = this._lineOffsets;\n          const addedLineOffsets = computeLineOffsets(change.text, false, startOffset);\n          if (endLine - startLine === addedLineOffsets.length) {\n            for (let i = 0, len = addedLineOffsets.length; i < len; i++) {\n              lineOffsets[i + startLine + 1] = addedLineOffsets[i];\n            }\n          } else {\n            if (addedLineOffsets.length < 1e4) {\n              lineOffsets.splice(startLine + 1, endLine - startLine, ...addedLineOffsets);\n            } else {\n              this._lineOffsets = lineOffsets = lineOffsets.slice(0, startLine + 1).concat(addedLineOffsets, lineOffsets.slice(endLine + 1));\n            }\n          }\n          const diff = change.text.length - (endOffset - startOffset);\n          if (diff !== 0) {\n            for (let i = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i < len; i++) {\n              lineOffsets[i] = lineOffsets[i] + diff;\n            }\n          }\n        } else if (_FullTextDocument.isFull(change)) {\n          this._content = change.text;\n          this._lineOffsets = void 0;\n        } else {\n          throw new Error(\"Unknown change event received\");\n        }\n      }\n      this._version = version;\n    }\n    getLineOffsets() {\n      if (this._lineOffsets === void 0) {\n        this._lineOffsets = computeLineOffsets(this._content, true);\n      }\n      return this._lineOffsets;\n    }\n    positionAt(offset) {\n      offset = Math.max(Math.min(offset, this._content.length), 0);\n      let lineOffsets = this.getLineOffsets();\n      let low = 0, high = lineOffsets.length;\n      if (high === 0) {\n        return { line: 0, character: offset };\n      }\n      while (low < high) {\n        let mid = Math.floor((low + high) / 2);\n        if (lineOffsets[mid] > offset) {\n          high = mid;\n        } else {\n          low = mid + 1;\n        }\n      }\n      let line = low - 1;\n      return { line, character: offset - lineOffsets[line] };\n    }\n    offsetAt(position) {\n      let lineOffsets = this.getLineOffsets();\n      if (position.line >= lineOffsets.length) {\n        return this._content.length;\n      } else if (position.line < 0) {\n        return 0;\n      }\n      let lineOffset = lineOffsets[position.line];\n      let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length;\n      return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n    }\n    get lineCount() {\n      return this.getLineOffsets().length;\n    }\n    static isIncremental(event) {\n      let candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === \"number\");\n    }\n    static isFull(event) {\n      let candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range === void 0 && candidate.rangeLength === void 0;\n    }\n  };\n  var TextDocument2;\n  (function(TextDocument3) {\n    function create(uri, languageId, version, content) {\n      return new FullTextDocument2(uri, languageId, version, content);\n    }\n    TextDocument3.create = create;\n    function update(document2, changes, version) {\n      if (document2 instanceof FullTextDocument2) {\n        document2.update(changes, version);\n        return document2;\n      } else {\n        throw new Error(\"TextDocument.update: document must be created by TextDocument.create\");\n      }\n    }\n    TextDocument3.update = update;\n    function applyEdits(document2, edits) {\n      let text = document2.getText();\n      let sortedEdits = mergeSort(edits.map(getWellformedEdit), (a2, b) => {\n        let diff = a2.range.start.line - b.range.start.line;\n        if (diff === 0) {\n          return a2.range.start.character - b.range.start.character;\n        }\n        return diff;\n      });\n      let lastModifiedOffset = 0;\n      const spans = [];\n      for (const e of sortedEdits) {\n        let startOffset = document2.offsetAt(e.range.start);\n        if (startOffset < lastModifiedOffset) {\n          throw new Error(\"Overlapping edit\");\n        } else if (startOffset > lastModifiedOffset) {\n          spans.push(text.substring(lastModifiedOffset, startOffset));\n        }\n        if (e.newText.length) {\n          spans.push(e.newText);\n        }\n        lastModifiedOffset = document2.offsetAt(e.range.end);\n      }\n      spans.push(text.substr(lastModifiedOffset));\n      return spans.join(\"\");\n    }\n    TextDocument3.applyEdits = applyEdits;\n  })(TextDocument2 || (TextDocument2 = {}));\n  function mergeSort(data, compare) {\n    if (data.length <= 1) {\n      return data;\n    }\n    const p = data.length / 2 | 0;\n    const left = data.slice(0, p);\n    const right = data.slice(p);\n    mergeSort(left, compare);\n    mergeSort(right, compare);\n    let leftIdx = 0;\n    let rightIdx = 0;\n    let i = 0;\n    while (leftIdx < left.length && rightIdx < right.length) {\n      let ret = compare(left[leftIdx], right[rightIdx]);\n      if (ret <= 0) {\n        data[i++] = left[leftIdx++];\n      } else {\n        data[i++] = right[rightIdx++];\n      }\n    }\n    while (leftIdx < left.length) {\n      data[i++] = left[leftIdx++];\n    }\n    while (rightIdx < right.length) {\n      data[i++] = right[rightIdx++];\n    }\n    return data;\n  }\n  function computeLineOffsets(text, isAtLineStart, textOffset = 0) {\n    const result = isAtLineStart ? [textOffset] : [];\n    for (let i = 0; i < text.length; i++) {\n      let ch = text.charCodeAt(i);\n      if (ch === 13 || ch === 10) {\n        if (ch === 13 && i + 1 < text.length && text.charCodeAt(i + 1) === 10) {\n          i++;\n        }\n        result.push(textOffset + i + 1);\n      }\n    }\n    return result;\n  }\n  function getWellformedRange(range) {\n    const start = range.start;\n    const end = range.end;\n    if (start.line > end.line || start.line === end.line && start.character > end.character) {\n      return { start: end, end: start };\n    }\n    return range;\n  }\n  function getWellformedEdit(textEdit) {\n    const range = getWellformedRange(textEdit.range);\n    if (range !== textEdit.range) {\n      return { newText: textEdit.newText, range };\n    }\n    return textEdit;\n  }\n  var ClientCapabilities;\n  (function(ClientCapabilities2) {\n    ClientCapabilities2.LATEST = {\n      textDocument: {\n        completion: {\n          completionItem: {\n            documentationFormat: [MarkupKind.Markdown, MarkupKind.PlainText]\n          }\n        },\n        hover: {\n          contentFormat: [MarkupKind.Markdown, MarkupKind.PlainText]\n        }\n      }\n    };\n  })(ClientCapabilities || (ClientCapabilities = {}));\n  var FileType;\n  (function(FileType2) {\n    FileType2[FileType2[\"Unknown\"] = 0] = \"Unknown\";\n    FileType2[FileType2[\"File\"] = 1] = \"File\";\n    FileType2[FileType2[\"Directory\"] = 2] = \"Directory\";\n    FileType2[FileType2[\"SymbolicLink\"] = 64] = \"SymbolicLink\";\n  })(FileType || (FileType = {}));\n  var browserNames = {\n    E: \"Edge\",\n    FF: \"Firefox\",\n    S: \"Safari\",\n    C: \"Chrome\",\n    IE: \"IE\",\n    O: \"Opera\"\n  };\n  function getEntryStatus(status) {\n    switch (status) {\n      case \"experimental\":\n        return \"\\u26A0\\uFE0F Property is experimental. Be cautious when using it.\\uFE0F\\n\\n\";\n      case \"nonstandard\":\n        return \"\\u{1F6A8}\\uFE0F Property is nonstandard. Avoid using it.\\n\\n\";\n      case \"obsolete\":\n        return \"\\u{1F6A8}\\uFE0F\\uFE0F\\uFE0F Property is obsolete. Avoid using it.\\n\\n\";\n      default:\n        return \"\";\n    }\n  }\n  function getEntryDescription(entry, doesSupportMarkdown, settings) {\n    var result;\n    if (doesSupportMarkdown) {\n      result = {\n        kind: \"markdown\",\n        value: getEntryMarkdownDescription(entry, settings)\n      };\n    } else {\n      result = {\n        kind: \"plaintext\",\n        value: getEntryStringDescription(entry, settings)\n      };\n    }\n    if (result.value === \"\") {\n      return void 0;\n    }\n    return result;\n  }\n  function textToMarkedString(text) {\n    text = text.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, \"\\\\$&\");\n    return text.replace(/</g, \"&lt;\").replace(/>/g, \"&gt;\");\n  }\n  function getEntryStringDescription(entry, settings) {\n    if (!entry.description || entry.description === \"\") {\n      return \"\";\n    }\n    if (typeof entry.description !== \"string\") {\n      return entry.description.value;\n    }\n    var result = \"\";\n    if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n      if (entry.status) {\n        result += getEntryStatus(entry.status);\n      }\n      result += entry.description;\n      var browserLabel = getBrowserLabel(entry.browsers);\n      if (browserLabel) {\n        result += \"\\n(\" + browserLabel + \")\";\n      }\n      if (\"syntax\" in entry) {\n        result += \"\\n\\nSyntax: \".concat(entry.syntax);\n      }\n    }\n    if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n      if (result.length > 0) {\n        result += \"\\n\\n\";\n      }\n      result += entry.references.map(function(r) {\n        return \"\".concat(r.name, \": \").concat(r.url);\n      }).join(\" | \");\n    }\n    return result;\n  }\n  function getEntryMarkdownDescription(entry, settings) {\n    if (!entry.description || entry.description === \"\") {\n      return \"\";\n    }\n    var result = \"\";\n    if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n      if (entry.status) {\n        result += getEntryStatus(entry.status);\n      }\n      if (typeof entry.description === \"string\") {\n        result += textToMarkedString(entry.description);\n      } else {\n        result += entry.description.kind === MarkupKind.Markdown ? entry.description.value : textToMarkedString(entry.description.value);\n      }\n      var browserLabel = getBrowserLabel(entry.browsers);\n      if (browserLabel) {\n        result += \"\\n\\n(\" + textToMarkedString(browserLabel) + \")\";\n      }\n      if (\"syntax\" in entry && entry.syntax) {\n        result += \"\\n\\nSyntax: \".concat(textToMarkedString(entry.syntax));\n      }\n    }\n    if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n      if (result.length > 0) {\n        result += \"\\n\\n\";\n      }\n      result += entry.references.map(function(r) {\n        return \"[\".concat(r.name, \"](\").concat(r.url, \")\");\n      }).join(\" | \");\n    }\n    return result;\n  }\n  function getBrowserLabel(browsers) {\n    if (browsers === void 0) {\n      browsers = [];\n    }\n    if (browsers.length === 0) {\n      return null;\n    }\n    return browsers.map(function(b) {\n      var result = \"\";\n      var matches2 = b.match(/([A-Z]+)(\\d+)?/);\n      var name = matches2[1];\n      var version = matches2[2];\n      if (name in browserNames) {\n        result += browserNames[name];\n      }\n      if (version) {\n        result += \" \" + version;\n      }\n      return result;\n    }).join(\", \");\n  }\n  var localize3 = loadMessageBundle();\n  var colorFunctions = [\n    { func: \"rgb($red, $green, $blue)\", desc: localize3(\"css.builtin.rgb\", \"Creates a Color from red, green, and blue values.\") },\n    { func: \"rgba($red, $green, $blue, $alpha)\", desc: localize3(\"css.builtin.rgba\", \"Creates a Color from red, green, blue, and alpha values.\") },\n    { func: \"hsl($hue, $saturation, $lightness)\", desc: localize3(\"css.builtin.hsl\", \"Creates a Color from hue, saturation, and lightness values.\") },\n    { func: \"hsla($hue, $saturation, $lightness, $alpha)\", desc: localize3(\"css.builtin.hsla\", \"Creates a Color from hue, saturation, lightness, and alpha values.\") },\n    { func: \"hwb($hue $white $black)\", desc: localize3(\"css.builtin.hwb\", \"Creates a Color from hue, white and black.\") }\n  ];\n  var colors = {\n    aliceblue: \"#f0f8ff\",\n    antiquewhite: \"#faebd7\",\n    aqua: \"#00ffff\",\n    aquamarine: \"#7fffd4\",\n    azure: \"#f0ffff\",\n    beige: \"#f5f5dc\",\n    bisque: \"#ffe4c4\",\n    black: \"#000000\",\n    blanchedalmond: \"#ffebcd\",\n    blue: \"#0000ff\",\n    blueviolet: \"#8a2be2\",\n    brown: \"#a52a2a\",\n    burlywood: \"#deb887\",\n    cadetblue: \"#5f9ea0\",\n    chartreuse: \"#7fff00\",\n    chocolate: \"#d2691e\",\n    coral: \"#ff7f50\",\n    cornflowerblue: \"#6495ed\",\n    cornsilk: \"#fff8dc\",\n    crimson: \"#dc143c\",\n    cyan: \"#00ffff\",\n    darkblue: \"#00008b\",\n    darkcyan: \"#008b8b\",\n    darkgoldenrod: \"#b8860b\",\n    darkgray: \"#a9a9a9\",\n    darkgrey: \"#a9a9a9\",\n    darkgreen: \"#006400\",\n    darkkhaki: \"#bdb76b\",\n    darkmagenta: \"#8b008b\",\n    darkolivegreen: \"#556b2f\",\n    darkorange: \"#ff8c00\",\n    darkorchid: \"#9932cc\",\n    darkred: \"#8b0000\",\n    darksalmon: \"#e9967a\",\n    darkseagreen: \"#8fbc8f\",\n    darkslateblue: \"#483d8b\",\n    darkslategray: \"#2f4f4f\",\n    darkslategrey: \"#2f4f4f\",\n    darkturquoise: \"#00ced1\",\n    darkviolet: \"#9400d3\",\n    deeppink: \"#ff1493\",\n    deepskyblue: \"#00bfff\",\n    dimgray: \"#696969\",\n    dimgrey: \"#696969\",\n    dodgerblue: \"#1e90ff\",\n    firebrick: \"#b22222\",\n    floralwhite: \"#fffaf0\",\n    forestgreen: \"#228b22\",\n    fuchsia: \"#ff00ff\",\n    gainsboro: \"#dcdcdc\",\n    ghostwhite: \"#f8f8ff\",\n    gold: \"#ffd700\",\n    goldenrod: \"#daa520\",\n    gray: \"#808080\",\n    grey: \"#808080\",\n    green: \"#008000\",\n    greenyellow: \"#adff2f\",\n    honeydew: \"#f0fff0\",\n    hotpink: \"#ff69b4\",\n    indianred: \"#cd5c5c\",\n    indigo: \"#4b0082\",\n    ivory: \"#fffff0\",\n    khaki: \"#f0e68c\",\n    lavender: \"#e6e6fa\",\n    lavenderblush: \"#fff0f5\",\n    lawngreen: \"#7cfc00\",\n    lemonchiffon: \"#fffacd\",\n    lightblue: \"#add8e6\",\n    lightcoral: \"#f08080\",\n    lightcyan: \"#e0ffff\",\n    lightgoldenrodyellow: \"#fafad2\",\n    lightgray: \"#d3d3d3\",\n    lightgrey: \"#d3d3d3\",\n    lightgreen: \"#90ee90\",\n    lightpink: \"#ffb6c1\",\n    lightsalmon: \"#ffa07a\",\n    lightseagreen: \"#20b2aa\",\n    lightskyblue: \"#87cefa\",\n    lightslategray: \"#778899\",\n    lightslategrey: \"#778899\",\n    lightsteelblue: \"#b0c4de\",\n    lightyellow: \"#ffffe0\",\n    lime: \"#00ff00\",\n    limegreen: \"#32cd32\",\n    linen: \"#faf0e6\",\n    magenta: \"#ff00ff\",\n    maroon: \"#800000\",\n    mediumaquamarine: \"#66cdaa\",\n    mediumblue: \"#0000cd\",\n    mediumorchid: \"#ba55d3\",\n    mediumpurple: \"#9370d8\",\n    mediumseagreen: \"#3cb371\",\n    mediumslateblue: \"#7b68ee\",\n    mediumspringgreen: \"#00fa9a\",\n    mediumturquoise: \"#48d1cc\",\n    mediumvioletred: \"#c71585\",\n    midnightblue: \"#191970\",\n    mintcream: \"#f5fffa\",\n    mistyrose: \"#ffe4e1\",\n    moccasin: \"#ffe4b5\",\n    navajowhite: \"#ffdead\",\n    navy: \"#000080\",\n    oldlace: \"#fdf5e6\",\n    olive: \"#808000\",\n    olivedrab: \"#6b8e23\",\n    orange: \"#ffa500\",\n    orangered: \"#ff4500\",\n    orchid: \"#da70d6\",\n    palegoldenrod: \"#eee8aa\",\n    palegreen: \"#98fb98\",\n    paleturquoise: \"#afeeee\",\n    palevioletred: \"#d87093\",\n    papayawhip: \"#ffefd5\",\n    peachpuff: \"#ffdab9\",\n    peru: \"#cd853f\",\n    pink: \"#ffc0cb\",\n    plum: \"#dda0dd\",\n    powderblue: \"#b0e0e6\",\n    purple: \"#800080\",\n    red: \"#ff0000\",\n    rebeccapurple: \"#663399\",\n    rosybrown: \"#bc8f8f\",\n    royalblue: \"#4169e1\",\n    saddlebrown: \"#8b4513\",\n    salmon: \"#fa8072\",\n    sandybrown: \"#f4a460\",\n    seagreen: \"#2e8b57\",\n    seashell: \"#fff5ee\",\n    sienna: \"#a0522d\",\n    silver: \"#c0c0c0\",\n    skyblue: \"#87ceeb\",\n    slateblue: \"#6a5acd\",\n    slategray: \"#708090\",\n    slategrey: \"#708090\",\n    snow: \"#fffafa\",\n    springgreen: \"#00ff7f\",\n    steelblue: \"#4682b4\",\n    tan: \"#d2b48c\",\n    teal: \"#008080\",\n    thistle: \"#d8bfd8\",\n    tomato: \"#ff6347\",\n    turquoise: \"#40e0d0\",\n    violet: \"#ee82ee\",\n    wheat: \"#f5deb3\",\n    white: \"#ffffff\",\n    whitesmoke: \"#f5f5f5\",\n    yellow: \"#ffff00\",\n    yellowgreen: \"#9acd32\"\n  };\n  var colorKeywords = {\n    \"currentColor\": \"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.\",\n    \"transparent\": \"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.\"\n  };\n  function getNumericValue(node, factor) {\n    var val = node.getText();\n    var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(%?)$/);\n    if (m) {\n      if (m[2]) {\n        factor = 100;\n      }\n      var result = parseFloat(m[1]) / factor;\n      if (result >= 0 && result <= 1) {\n        return result;\n      }\n    }\n    throw new Error();\n  }\n  function getAngle(node) {\n    var val = node.getText();\n    var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(deg|rad|grad|turn)?$/);\n    if (m) {\n      switch (m[2]) {\n        case \"deg\":\n          return parseFloat(val) % 360;\n        case \"rad\":\n          return parseFloat(val) * 180 / Math.PI % 360;\n        case \"grad\":\n          return parseFloat(val) * 0.9 % 360;\n        case \"turn\":\n          return parseFloat(val) * 360 % 360;\n        default:\n          if (\"undefined\" === typeof m[2]) {\n            return parseFloat(val) % 360;\n          }\n      }\n    }\n    throw new Error();\n  }\n  function isColorConstructor(node) {\n    var name = node.getName();\n    if (!name) {\n      return false;\n    }\n    return /^(rgb|rgba|hsl|hsla|hwb)$/gi.test(name);\n  }\n  var Digit0 = 48;\n  var Digit9 = 57;\n  var A = 65;\n  var a = 97;\n  var f = 102;\n  function hexDigit(charCode) {\n    if (charCode < Digit0) {\n      return 0;\n    }\n    if (charCode <= Digit9) {\n      return charCode - Digit0;\n    }\n    if (charCode < a) {\n      charCode += a - A;\n    }\n    if (charCode >= a && charCode <= f) {\n      return charCode - a + 10;\n    }\n    return 0;\n  }\n  function colorFromHex(text) {\n    if (text[0] !== \"#\") {\n      return null;\n    }\n    switch (text.length) {\n      case 4:\n        return {\n          red: hexDigit(text.charCodeAt(1)) * 17 / 255,\n          green: hexDigit(text.charCodeAt(2)) * 17 / 255,\n          blue: hexDigit(text.charCodeAt(3)) * 17 / 255,\n          alpha: 1\n        };\n      case 5:\n        return {\n          red: hexDigit(text.charCodeAt(1)) * 17 / 255,\n          green: hexDigit(text.charCodeAt(2)) * 17 / 255,\n          blue: hexDigit(text.charCodeAt(3)) * 17 / 255,\n          alpha: hexDigit(text.charCodeAt(4)) * 17 / 255\n        };\n      case 7:\n        return {\n          red: (hexDigit(text.charCodeAt(1)) * 16 + hexDigit(text.charCodeAt(2))) / 255,\n          green: (hexDigit(text.charCodeAt(3)) * 16 + hexDigit(text.charCodeAt(4))) / 255,\n          blue: (hexDigit(text.charCodeAt(5)) * 16 + hexDigit(text.charCodeAt(6))) / 255,\n          alpha: 1\n        };\n      case 9:\n        return {\n          red: (hexDigit(text.charCodeAt(1)) * 16 + hexDigit(text.charCodeAt(2))) / 255,\n          green: (hexDigit(text.charCodeAt(3)) * 16 + hexDigit(text.charCodeAt(4))) / 255,\n          blue: (hexDigit(text.charCodeAt(5)) * 16 + hexDigit(text.charCodeAt(6))) / 255,\n          alpha: (hexDigit(text.charCodeAt(7)) * 16 + hexDigit(text.charCodeAt(8))) / 255\n        };\n    }\n    return null;\n  }\n  function colorFromHSL(hue, sat, light, alpha) {\n    if (alpha === void 0) {\n      alpha = 1;\n    }\n    hue = hue / 60;\n    if (sat === 0) {\n      return { red: light, green: light, blue: light, alpha };\n    } else {\n      var hueToRgb = function(t12, t22, hue2) {\n        while (hue2 < 0) {\n          hue2 += 6;\n        }\n        while (hue2 >= 6) {\n          hue2 -= 6;\n        }\n        if (hue2 < 1) {\n          return (t22 - t12) * hue2 + t12;\n        }\n        if (hue2 < 3) {\n          return t22;\n        }\n        if (hue2 < 4) {\n          return (t22 - t12) * (4 - hue2) + t12;\n        }\n        return t12;\n      };\n      var t2 = light <= 0.5 ? light * (sat + 1) : light + sat - light * sat;\n      var t1 = light * 2 - t2;\n      return { red: hueToRgb(t1, t2, hue + 2), green: hueToRgb(t1, t2, hue), blue: hueToRgb(t1, t2, hue - 2), alpha };\n    }\n  }\n  function hslFromColor(rgba) {\n    var r = rgba.red;\n    var g = rgba.green;\n    var b = rgba.blue;\n    var a2 = rgba.alpha;\n    var max = Math.max(r, g, b);\n    var min = Math.min(r, g, b);\n    var h = 0;\n    var s = 0;\n    var l = (min + max) / 2;\n    var chroma = max - min;\n    if (chroma > 0) {\n      s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1);\n      switch (max) {\n        case r:\n          h = (g - b) / chroma + (g < b ? 6 : 0);\n          break;\n        case g:\n          h = (b - r) / chroma + 2;\n          break;\n        case b:\n          h = (r - g) / chroma + 4;\n          break;\n      }\n      h *= 60;\n      h = Math.round(h);\n    }\n    return { h, s, l, a: a2 };\n  }\n  function colorFromHWB(hue, white, black, alpha) {\n    if (alpha === void 0) {\n      alpha = 1;\n    }\n    if (white + black >= 1) {\n      var gray = white / (white + black);\n      return { red: gray, green: gray, blue: gray, alpha };\n    }\n    var rgb = colorFromHSL(hue, 1, 0.5, alpha);\n    var red = rgb.red;\n    red *= 1 - white - black;\n    red += white;\n    var green = rgb.green;\n    green *= 1 - white - black;\n    green += white;\n    var blue = rgb.blue;\n    blue *= 1 - white - black;\n    blue += white;\n    return {\n      red,\n      green,\n      blue,\n      alpha\n    };\n  }\n  function hwbFromColor(rgba) {\n    var hsl = hslFromColor(rgba);\n    var white = Math.min(rgba.red, rgba.green, rgba.blue);\n    var black = 1 - Math.max(rgba.red, rgba.green, rgba.blue);\n    return {\n      h: hsl.h,\n      w: white,\n      b: black,\n      a: hsl.a\n    };\n  }\n  function getColorValue(node) {\n    if (node.type === NodeType.HexColorValue) {\n      var text = node.getText();\n      return colorFromHex(text);\n    } else if (node.type === NodeType.Function) {\n      var functionNode = node;\n      var name = functionNode.getName();\n      var colorValues = functionNode.getArguments().getChildren();\n      if (colorValues.length === 1) {\n        var functionArg = colorValues[0].getChildren();\n        if (functionArg.length === 1 && functionArg[0].type === NodeType.Expression) {\n          colorValues = functionArg[0].getChildren();\n          if (colorValues.length === 3) {\n            var lastValue = colorValues[2];\n            if (lastValue instanceof BinaryExpression) {\n              var left = lastValue.getLeft(), right = lastValue.getRight(), operator = lastValue.getOperator();\n              if (left && right && operator && operator.matches(\"/\")) {\n                colorValues = [colorValues[0], colorValues[1], left, right];\n              }\n            }\n          }\n        }\n      }\n      if (!name || colorValues.length < 3 || colorValues.length > 4) {\n        return null;\n      }\n      try {\n        var alpha = colorValues.length === 4 ? getNumericValue(colorValues[3], 1) : 1;\n        if (name === \"rgb\" || name === \"rgba\") {\n          return {\n            red: getNumericValue(colorValues[0], 255),\n            green: getNumericValue(colorValues[1], 255),\n            blue: getNumericValue(colorValues[2], 255),\n            alpha\n          };\n        } else if (name === \"hsl\" || name === \"hsla\") {\n          var h = getAngle(colorValues[0]);\n          var s = getNumericValue(colorValues[1], 100);\n          var l = getNumericValue(colorValues[2], 100);\n          return colorFromHSL(h, s, l, alpha);\n        } else if (name === \"hwb\") {\n          var h = getAngle(colorValues[0]);\n          var w = getNumericValue(colorValues[1], 100);\n          var b = getNumericValue(colorValues[2], 100);\n          return colorFromHWB(h, w, b, alpha);\n        }\n      } catch (e) {\n        return null;\n      }\n    } else if (node.type === NodeType.Identifier) {\n      if (node.parent && node.parent.type !== NodeType.Term) {\n        return null;\n      }\n      var term = node.parent;\n      if (term && term.parent && term.parent.type === NodeType.BinaryExpression) {\n        var expression = term.parent;\n        if (expression.parent && expression.parent.type === NodeType.ListEntry && expression.parent.key === expression) {\n          return null;\n        }\n      }\n      var candidateColor = node.getText().toLowerCase();\n      if (candidateColor === \"none\") {\n        return null;\n      }\n      var colorHex = colors[candidateColor];\n      if (colorHex) {\n        return colorFromHex(colorHex);\n      }\n    }\n    return null;\n  }\n  var positionKeywords = {\n    \"bottom\": \"Computes to \\u2018100%\\u2019 for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.\",\n    \"center\": \"Computes to \\u201850%\\u2019 (\\u2018left 50%\\u2019) for the horizontal position if the horizontal position is not otherwise specified, or \\u201850%\\u2019 (\\u2018top 50%\\u2019) for the vertical position if it is.\",\n    \"left\": \"Computes to \\u20180%\\u2019 for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.\",\n    \"right\": \"Computes to \\u2018100%\\u2019 for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.\",\n    \"top\": \"Computes to \\u20180%\\u2019 for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.\"\n  };\n  var repeatStyleKeywords = {\n    \"no-repeat\": \"Placed once and not repeated in this direction.\",\n    \"repeat\": \"Repeated in this direction as often as needed to cover the background painting area.\",\n    \"repeat-x\": \"Computes to \\u2018repeat no-repeat\\u2019.\",\n    \"repeat-y\": \"Computes to \\u2018no-repeat repeat\\u2019.\",\n    \"round\": \"Repeated as often as will fit within the background positioning area. If it doesn\\u2019t fit a whole number of times, it is rescaled so that it does.\",\n    \"space\": \"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area.\"\n  };\n  var lineStyleKeywords = {\n    \"dashed\": \"A series of square-ended dashes.\",\n    \"dotted\": \"A series of round dots.\",\n    \"double\": \"Two parallel solid lines with some space between them.\",\n    \"groove\": \"Looks as if it were carved in the canvas.\",\n    \"hidden\": \"Same as \\u2018none\\u2019, but has different behavior in the border conflict resolution rules for border-collapsed tables.\",\n    \"inset\": \"Looks as if the content on the inside of the border is sunken into the canvas.\",\n    \"none\": \"No border. Color and width are ignored.\",\n    \"outset\": \"Looks as if the content on the inside of the border is coming out of the canvas.\",\n    \"ridge\": \"Looks as if it were coming out of the canvas.\",\n    \"solid\": \"A single line segment.\"\n  };\n  var lineWidthKeywords = [\"medium\", \"thick\", \"thin\"];\n  var boxKeywords = {\n    \"border-box\": \"The background is painted within (clipped to) the border box.\",\n    \"content-box\": \"The background is painted within (clipped to) the content box.\",\n    \"padding-box\": \"The background is painted within (clipped to) the padding box.\"\n  };\n  var geometryBoxKeywords = {\n    \"margin-box\": \"Uses the margin box as reference box.\",\n    \"fill-box\": \"Uses the object bounding box as reference box.\",\n    \"stroke-box\": \"Uses the stroke bounding box as reference box.\",\n    \"view-box\": \"Uses the nearest SVG viewport as reference box.\"\n  };\n  var cssWideKeywords = {\n    \"initial\": \"Represents the value specified as the property\\u2019s initial value.\",\n    \"inherit\": \"Represents the computed value of the property on the element\\u2019s parent.\",\n    \"unset\": \"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not.\"\n  };\n  var cssWideFunctions = {\n    \"var()\": \"Evaluates the value of a custom variable.\",\n    \"calc()\": \"Evaluates an mathematical expression. The following operators can be used: + - * /.\"\n  };\n  var imageFunctions = {\n    \"url()\": \"Reference an image file by URL\",\n    \"image()\": \"Provide image fallbacks and annotations.\",\n    \"-webkit-image-set()\": \"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.\",\n    \"image-set()\": \"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.\",\n    \"-moz-element()\": \"Use an element in the document as an image. Remember to use unprefixed element() in addition.\",\n    \"element()\": \"Use an element in the document as an image.\",\n    \"cross-fade()\": \"Indicates the two images to be combined and how far along in the transition the combination is.\",\n    \"-webkit-gradient()\": \"Deprecated. Use modern linear-gradient() or radial-gradient() instead.\",\n    \"-webkit-linear-gradient()\": \"Linear gradient. Remember to use unprefixed version in addition.\",\n    \"-moz-linear-gradient()\": \"Linear gradient. Remember to use unprefixed version in addition.\",\n    \"-o-linear-gradient()\": \"Linear gradient. Remember to use unprefixed version in addition.\",\n    \"linear-gradient()\": \"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.\",\n    \"-webkit-repeating-linear-gradient()\": \"Repeating Linear gradient. Remember to use unprefixed version in addition.\",\n    \"-moz-repeating-linear-gradient()\": \"Repeating Linear gradient. Remember to use unprefixed version in addition.\",\n    \"-o-repeating-linear-gradient()\": \"Repeating Linear gradient. Remember to use unprefixed version in addition.\",\n    \"repeating-linear-gradient()\": \"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\\u2019s position and the first specified color-stop\\u2019s position.\",\n    \"-webkit-radial-gradient()\": \"Radial gradient. Remember to use unprefixed version in addition.\",\n    \"-moz-radial-gradient()\": \"Radial gradient. Remember to use unprefixed version in addition.\",\n    \"radial-gradient()\": \"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.\",\n    \"-webkit-repeating-radial-gradient()\": \"Repeating radial gradient. Remember to use unprefixed version in addition.\",\n    \"-moz-repeating-radial-gradient()\": \"Repeating radial gradient. Remember to use unprefixed version in addition.\",\n    \"repeating-radial-gradient()\": \"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\\u2019s position and the first specified color-stop\\u2019s position.\"\n  };\n  var transitionTimingFunctions = {\n    \"ease\": \"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).\",\n    \"ease-in\": \"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).\",\n    \"ease-in-out\": \"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).\",\n    \"ease-out\": \"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).\",\n    \"linear\": \"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).\",\n    \"step-end\": \"Equivalent to steps(1, end).\",\n    \"step-start\": \"Equivalent to steps(1, start).\",\n    \"steps()\": \"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value \\u201Cstart\\u201D or \\u201Cend\\u201D.\",\n    \"cubic-bezier()\": \"Specifies a cubic-bezier curve. The four values specify points P1 and P2  of the curve as (x1, y1, x2, y2).\",\n    \"cubic-bezier(0.6, -0.28, 0.735, 0.045)\": \"Ease-in Back. Overshoots.\",\n    \"cubic-bezier(0.68, -0.55, 0.265, 1.55)\": \"Ease-in-out Back. Overshoots.\",\n    \"cubic-bezier(0.175, 0.885, 0.32, 1.275)\": \"Ease-out Back. Overshoots.\",\n    \"cubic-bezier(0.6, 0.04, 0.98, 0.335)\": \"Ease-in Circular. Based on half circle.\",\n    \"cubic-bezier(0.785, 0.135, 0.15, 0.86)\": \"Ease-in-out Circular. Based on half circle.\",\n    \"cubic-bezier(0.075, 0.82, 0.165, 1)\": \"Ease-out Circular. Based on half circle.\",\n    \"cubic-bezier(0.55, 0.055, 0.675, 0.19)\": \"Ease-in Cubic. Based on power of three.\",\n    \"cubic-bezier(0.645, 0.045, 0.355, 1)\": \"Ease-in-out Cubic. Based on power of three.\",\n    \"cubic-bezier(0.215, 0.610, 0.355, 1)\": \"Ease-out Cubic. Based on power of three.\",\n    \"cubic-bezier(0.95, 0.05, 0.795, 0.035)\": \"Ease-in Exponential. Based on two to the power ten.\",\n    \"cubic-bezier(1, 0, 0, 1)\": \"Ease-in-out Exponential. Based on two to the power ten.\",\n    \"cubic-bezier(0.19, 1, 0.22, 1)\": \"Ease-out Exponential. Based on two to the power ten.\",\n    \"cubic-bezier(0.47, 0, 0.745, 0.715)\": \"Ease-in Sine.\",\n    \"cubic-bezier(0.445, 0.05, 0.55, 0.95)\": \"Ease-in-out Sine.\",\n    \"cubic-bezier(0.39, 0.575, 0.565, 1)\": \"Ease-out Sine.\",\n    \"cubic-bezier(0.55, 0.085, 0.68, 0.53)\": \"Ease-in Quadratic. Based on power of two.\",\n    \"cubic-bezier(0.455, 0.03, 0.515, 0.955)\": \"Ease-in-out Quadratic. Based on power of two.\",\n    \"cubic-bezier(0.25, 0.46, 0.45, 0.94)\": \"Ease-out Quadratic. Based on power of two.\",\n    \"cubic-bezier(0.895, 0.03, 0.685, 0.22)\": \"Ease-in Quartic. Based on power of four.\",\n    \"cubic-bezier(0.77, 0, 0.175, 1)\": \"Ease-in-out Quartic. Based on power of four.\",\n    \"cubic-bezier(0.165, 0.84, 0.44, 1)\": \"Ease-out Quartic. Based on power of four.\",\n    \"cubic-bezier(0.755, 0.05, 0.855, 0.06)\": \"Ease-in Quintic. Based on power of five.\",\n    \"cubic-bezier(0.86, 0, 0.07, 1)\": \"Ease-in-out Quintic. Based on power of five.\",\n    \"cubic-bezier(0.23, 1, 0.320, 1)\": \"Ease-out Quintic. Based on power of five.\"\n  };\n  var basicShapeFunctions = {\n    \"circle()\": \"Defines a circle.\",\n    \"ellipse()\": \"Defines an ellipse.\",\n    \"inset()\": \"Defines an inset rectangle.\",\n    \"polygon()\": \"Defines a polygon.\"\n  };\n  var units = {\n    \"length\": [\"em\", \"rem\", \"ex\", \"px\", \"cm\", \"mm\", \"in\", \"pt\", \"pc\", \"ch\", \"vw\", \"vh\", \"vmin\", \"vmax\"],\n    \"angle\": [\"deg\", \"rad\", \"grad\", \"turn\"],\n    \"time\": [\"ms\", \"s\"],\n    \"frequency\": [\"Hz\", \"kHz\"],\n    \"resolution\": [\"dpi\", \"dpcm\", \"dppx\"],\n    \"percentage\": [\"%\", \"fr\"]\n  };\n  var html5Tags = [\n    \"a\",\n    \"abbr\",\n    \"address\",\n    \"area\",\n    \"article\",\n    \"aside\",\n    \"audio\",\n    \"b\",\n    \"base\",\n    \"bdi\",\n    \"bdo\",\n    \"blockquote\",\n    \"body\",\n    \"br\",\n    \"button\",\n    \"canvas\",\n    \"caption\",\n    \"cite\",\n    \"code\",\n    \"col\",\n    \"colgroup\",\n    \"data\",\n    \"datalist\",\n    \"dd\",\n    \"del\",\n    \"details\",\n    \"dfn\",\n    \"dialog\",\n    \"div\",\n    \"dl\",\n    \"dt\",\n    \"em\",\n    \"embed\",\n    \"fieldset\",\n    \"figcaption\",\n    \"figure\",\n    \"footer\",\n    \"form\",\n    \"h1\",\n    \"h2\",\n    \"h3\",\n    \"h4\",\n    \"h5\",\n    \"h6\",\n    \"head\",\n    \"header\",\n    \"hgroup\",\n    \"hr\",\n    \"html\",\n    \"i\",\n    \"iframe\",\n    \"img\",\n    \"input\",\n    \"ins\",\n    \"kbd\",\n    \"keygen\",\n    \"label\",\n    \"legend\",\n    \"li\",\n    \"link\",\n    \"main\",\n    \"map\",\n    \"mark\",\n    \"menu\",\n    \"menuitem\",\n    \"meta\",\n    \"meter\",\n    \"nav\",\n    \"noscript\",\n    \"object\",\n    \"ol\",\n    \"optgroup\",\n    \"option\",\n    \"output\",\n    \"p\",\n    \"param\",\n    \"picture\",\n    \"pre\",\n    \"progress\",\n    \"q\",\n    \"rb\",\n    \"rp\",\n    \"rt\",\n    \"rtc\",\n    \"ruby\",\n    \"s\",\n    \"samp\",\n    \"script\",\n    \"section\",\n    \"select\",\n    \"small\",\n    \"source\",\n    \"span\",\n    \"strong\",\n    \"style\",\n    \"sub\",\n    \"summary\",\n    \"sup\",\n    \"table\",\n    \"tbody\",\n    \"td\",\n    \"template\",\n    \"textarea\",\n    \"tfoot\",\n    \"th\",\n    \"thead\",\n    \"time\",\n    \"title\",\n    \"tr\",\n    \"track\",\n    \"u\",\n    \"ul\",\n    \"const\",\n    \"video\",\n    \"wbr\"\n  ];\n  var svgElements = [\n    \"circle\",\n    \"clipPath\",\n    \"cursor\",\n    \"defs\",\n    \"desc\",\n    \"ellipse\",\n    \"feBlend\",\n    \"feColorMatrix\",\n    \"feComponentTransfer\",\n    \"feComposite\",\n    \"feConvolveMatrix\",\n    \"feDiffuseLighting\",\n    \"feDisplacementMap\",\n    \"feDistantLight\",\n    \"feDropShadow\",\n    \"feFlood\",\n    \"feFuncA\",\n    \"feFuncB\",\n    \"feFuncG\",\n    \"feFuncR\",\n    \"feGaussianBlur\",\n    \"feImage\",\n    \"feMerge\",\n    \"feMergeNode\",\n    \"feMorphology\",\n    \"feOffset\",\n    \"fePointLight\",\n    \"feSpecularLighting\",\n    \"feSpotLight\",\n    \"feTile\",\n    \"feTurbulence\",\n    \"filter\",\n    \"foreignObject\",\n    \"g\",\n    \"hatch\",\n    \"hatchpath\",\n    \"image\",\n    \"line\",\n    \"linearGradient\",\n    \"marker\",\n    \"mask\",\n    \"mesh\",\n    \"meshpatch\",\n    \"meshrow\",\n    \"metadata\",\n    \"mpath\",\n    \"path\",\n    \"pattern\",\n    \"polygon\",\n    \"polyline\",\n    \"radialGradient\",\n    \"rect\",\n    \"set\",\n    \"solidcolor\",\n    \"stop\",\n    \"svg\",\n    \"switch\",\n    \"symbol\",\n    \"text\",\n    \"textPath\",\n    \"tspan\",\n    \"use\",\n    \"view\"\n  ];\n  var pageBoxDirectives = [\n    \"@bottom-center\",\n    \"@bottom-left\",\n    \"@bottom-left-corner\",\n    \"@bottom-right\",\n    \"@bottom-right-corner\",\n    \"@left-bottom\",\n    \"@left-middle\",\n    \"@left-top\",\n    \"@right-bottom\",\n    \"@right-middle\",\n    \"@right-top\",\n    \"@top-center\",\n    \"@top-left\",\n    \"@top-left-corner\",\n    \"@top-right\",\n    \"@top-right-corner\"\n  ];\n  function values(obj) {\n    return Object.keys(obj).map(function(key) {\n      return obj[key];\n    });\n  }\n  function isDefined(obj) {\n    return typeof obj !== \"undefined\";\n  }\n  var __spreadArray = function(to, from, pack) {\n    if (pack || arguments.length === 2)\n      for (var i = 0, l = from.length, ar; i < l; i++) {\n        if (ar || !(i in from)) {\n          if (!ar)\n            ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n        }\n      }\n    return to.concat(ar || Array.prototype.slice.call(from));\n  };\n  var Parser = (\n    /** @class */\n    function() {\n      function Parser2(scnr) {\n        if (scnr === void 0) {\n          scnr = new Scanner();\n        }\n        this.keyframeRegex = /^@(\\-(webkit|ms|moz|o)\\-)?keyframes$/i;\n        this.scanner = scnr;\n        this.token = { type: TokenType.EOF, offset: -1, len: 0, text: \"\" };\n        this.prevToken = void 0;\n      }\n      Parser2.prototype.peekIdent = function(text) {\n        return TokenType.Ident === this.token.type && text.length === this.token.text.length && text === this.token.text.toLowerCase();\n      };\n      Parser2.prototype.peekKeyword = function(text) {\n        return TokenType.AtKeyword === this.token.type && text.length === this.token.text.length && text === this.token.text.toLowerCase();\n      };\n      Parser2.prototype.peekDelim = function(text) {\n        return TokenType.Delim === this.token.type && text === this.token.text;\n      };\n      Parser2.prototype.peek = function(type) {\n        return type === this.token.type;\n      };\n      Parser2.prototype.peekOne = function() {\n        var types = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n          types[_i] = arguments[_i];\n        }\n        return types.indexOf(this.token.type) !== -1;\n      };\n      Parser2.prototype.peekRegExp = function(type, regEx) {\n        if (type !== this.token.type) {\n          return false;\n        }\n        return regEx.test(this.token.text);\n      };\n      Parser2.prototype.hasWhitespace = function() {\n        return !!this.prevToken && this.prevToken.offset + this.prevToken.len !== this.token.offset;\n      };\n      Parser2.prototype.consumeToken = function() {\n        this.prevToken = this.token;\n        this.token = this.scanner.scan();\n      };\n      Parser2.prototype.acceptUnicodeRange = function() {\n        var token = this.scanner.tryScanUnicode();\n        if (token) {\n          this.prevToken = token;\n          this.token = this.scanner.scan();\n          return true;\n        }\n        return false;\n      };\n      Parser2.prototype.mark = function() {\n        return {\n          prev: this.prevToken,\n          curr: this.token,\n          pos: this.scanner.pos()\n        };\n      };\n      Parser2.prototype.restoreAtMark = function(mark) {\n        this.prevToken = mark.prev;\n        this.token = mark.curr;\n        this.scanner.goBackTo(mark.pos);\n      };\n      Parser2.prototype.try = function(func) {\n        var pos = this.mark();\n        var node = func();\n        if (!node) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        return node;\n      };\n      Parser2.prototype.acceptOneKeyword = function(keywords) {\n        if (TokenType.AtKeyword === this.token.type) {\n          for (var _i = 0, keywords_1 = keywords; _i < keywords_1.length; _i++) {\n            var keyword = keywords_1[_i];\n            if (keyword.length === this.token.text.length && keyword === this.token.text.toLowerCase()) {\n              this.consumeToken();\n              return true;\n            }\n          }\n        }\n        return false;\n      };\n      Parser2.prototype.accept = function(type) {\n        if (type === this.token.type) {\n          this.consumeToken();\n          return true;\n        }\n        return false;\n      };\n      Parser2.prototype.acceptIdent = function(text) {\n        if (this.peekIdent(text)) {\n          this.consumeToken();\n          return true;\n        }\n        return false;\n      };\n      Parser2.prototype.acceptKeyword = function(text) {\n        if (this.peekKeyword(text)) {\n          this.consumeToken();\n          return true;\n        }\n        return false;\n      };\n      Parser2.prototype.acceptDelim = function(text) {\n        if (this.peekDelim(text)) {\n          this.consumeToken();\n          return true;\n        }\n        return false;\n      };\n      Parser2.prototype.acceptRegexp = function(regEx) {\n        if (regEx.test(this.token.text)) {\n          this.consumeToken();\n          return true;\n        }\n        return false;\n      };\n      Parser2.prototype._parseRegexp = function(regEx) {\n        var node = this.createNode(NodeType.Identifier);\n        do {\n        } while (this.acceptRegexp(regEx));\n        return this.finish(node);\n      };\n      Parser2.prototype.acceptUnquotedString = function() {\n        var pos = this.scanner.pos();\n        this.scanner.goBackTo(this.token.offset);\n        var unquoted = this.scanner.scanUnquotedString();\n        if (unquoted) {\n          this.token = unquoted;\n          this.consumeToken();\n          return true;\n        }\n        this.scanner.goBackTo(pos);\n        return false;\n      };\n      Parser2.prototype.resync = function(resyncTokens, resyncStopTokens) {\n        while (true) {\n          if (resyncTokens && resyncTokens.indexOf(this.token.type) !== -1) {\n            this.consumeToken();\n            return true;\n          } else if (resyncStopTokens && resyncStopTokens.indexOf(this.token.type) !== -1) {\n            return true;\n          } else {\n            if (this.token.type === TokenType.EOF) {\n              return false;\n            }\n            this.token = this.scanner.scan();\n          }\n        }\n      };\n      Parser2.prototype.createNode = function(nodeType) {\n        return new Node2(this.token.offset, this.token.len, nodeType);\n      };\n      Parser2.prototype.create = function(ctor) {\n        return new ctor(this.token.offset, this.token.len);\n      };\n      Parser2.prototype.finish = function(node, error, resyncTokens, resyncStopTokens) {\n        if (!(node instanceof Nodelist)) {\n          if (error) {\n            this.markError(node, error, resyncTokens, resyncStopTokens);\n          }\n          if (this.prevToken) {\n            var prevEnd = this.prevToken.offset + this.prevToken.len;\n            node.length = prevEnd > node.offset ? prevEnd - node.offset : 0;\n          }\n        }\n        return node;\n      };\n      Parser2.prototype.markError = function(node, error, resyncTokens, resyncStopTokens) {\n        if (this.token !== this.lastErrorToken) {\n          node.addIssue(new Marker(node, error, Level.Error, void 0, this.token.offset, this.token.len));\n          this.lastErrorToken = this.token;\n        }\n        if (resyncTokens || resyncStopTokens) {\n          this.resync(resyncTokens, resyncStopTokens);\n        }\n      };\n      Parser2.prototype.parseStylesheet = function(textDocument) {\n        var versionId = textDocument.version;\n        var text = textDocument.getText();\n        var textProvider = function(offset, length) {\n          if (textDocument.version !== versionId) {\n            throw new Error(\"Underlying model has changed, AST is no longer valid\");\n          }\n          return text.substr(offset, length);\n        };\n        return this.internalParse(text, this._parseStylesheet, textProvider);\n      };\n      Parser2.prototype.internalParse = function(input, parseFunc, textProvider) {\n        this.scanner.setSource(input);\n        this.token = this.scanner.scan();\n        var node = parseFunc.bind(this)();\n        if (node) {\n          if (textProvider) {\n            node.textProvider = textProvider;\n          } else {\n            node.textProvider = function(offset, length) {\n              return input.substr(offset, length);\n            };\n          }\n        }\n        return node;\n      };\n      Parser2.prototype._parseStylesheet = function() {\n        var node = this.create(Stylesheet);\n        while (node.addChild(this._parseStylesheetStart())) {\n        }\n        var inRecovery = false;\n        do {\n          var hasMatch = false;\n          do {\n            hasMatch = false;\n            var statement = this._parseStylesheetStatement();\n            if (statement) {\n              node.addChild(statement);\n              hasMatch = true;\n              inRecovery = false;\n              if (!this.peek(TokenType.EOF) && this._needsSemicolonAfter(statement) && !this.accept(TokenType.SemiColon)) {\n                this.markError(node, ParseError.SemiColonExpected);\n              }\n            }\n            while (this.accept(TokenType.SemiColon) || this.accept(TokenType.CDO) || this.accept(TokenType.CDC)) {\n              hasMatch = true;\n              inRecovery = false;\n            }\n          } while (hasMatch);\n          if (this.peek(TokenType.EOF)) {\n            break;\n          }\n          if (!inRecovery) {\n            if (this.peek(TokenType.AtKeyword)) {\n              this.markError(node, ParseError.UnknownAtRule);\n            } else {\n              this.markError(node, ParseError.RuleOrSelectorExpected);\n            }\n            inRecovery = true;\n          }\n          this.consumeToken();\n        } while (!this.peek(TokenType.EOF));\n        return this.finish(node);\n      };\n      Parser2.prototype._parseStylesheetStart = function() {\n        return this._parseCharset();\n      };\n      Parser2.prototype._parseStylesheetStatement = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (this.peek(TokenType.AtKeyword)) {\n          return this._parseStylesheetAtStatement(isNested);\n        }\n        return this._parseRuleset(isNested);\n      };\n      Parser2.prototype._parseStylesheetAtStatement = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        return this._parseImport() || this._parseMedia(isNested) || this._parsePage() || this._parseFontFace() || this._parseKeyframe() || this._parseSupports(isNested) || this._parseViewPort() || this._parseNamespace() || this._parseDocument() || this._parseUnknownAtRule();\n      };\n      Parser2.prototype._tryParseRuleset = function(isNested) {\n        var mark = this.mark();\n        if (this._parseSelector(isNested)) {\n          while (this.accept(TokenType.Comma) && this._parseSelector(isNested)) {\n          }\n          if (this.accept(TokenType.CurlyL)) {\n            this.restoreAtMark(mark);\n            return this._parseRuleset(isNested);\n          }\n        }\n        this.restoreAtMark(mark);\n        return null;\n      };\n      Parser2.prototype._parseRuleset = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        var node = this.create(RuleSet);\n        var selectors = node.getSelectors();\n        if (!selectors.addChild(this._parseSelector(isNested))) {\n          return null;\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!selectors.addChild(this._parseSelector(isNested))) {\n            return this.finish(node, ParseError.SelectorExpected);\n          }\n        }\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      Parser2.prototype._parseRuleSetDeclarationAtStatement = function() {\n        return this._parseUnknownAtRule();\n      };\n      Parser2.prototype._parseRuleSetDeclaration = function() {\n        if (this.peek(TokenType.AtKeyword)) {\n          return this._parseRuleSetDeclarationAtStatement();\n        }\n        return this._parseDeclaration();\n      };\n      Parser2.prototype._needsSemicolonAfter = function(node) {\n        switch (node.type) {\n          case NodeType.Keyframe:\n          case NodeType.ViewPort:\n          case NodeType.Media:\n          case NodeType.Ruleset:\n          case NodeType.Namespace:\n          case NodeType.If:\n          case NodeType.For:\n          case NodeType.Each:\n          case NodeType.While:\n          case NodeType.MixinDeclaration:\n          case NodeType.FunctionDeclaration:\n          case NodeType.MixinContentDeclaration:\n            return false;\n          case NodeType.ExtendsReference:\n          case NodeType.MixinContentReference:\n          case NodeType.ReturnStatement:\n          case NodeType.MediaQuery:\n          case NodeType.Debug:\n          case NodeType.Import:\n          case NodeType.AtApplyRule:\n          case NodeType.CustomPropertyDeclaration:\n            return true;\n          case NodeType.VariableDeclaration:\n            return node.needsSemicolon;\n          case NodeType.MixinReference:\n            return !node.getContent();\n          case NodeType.Declaration:\n            return !node.getNestedProperties();\n        }\n        return false;\n      };\n      Parser2.prototype._parseDeclarations = function(parseDeclaration) {\n        var node = this.create(Declarations);\n        if (!this.accept(TokenType.CurlyL)) {\n          return null;\n        }\n        var decl = parseDeclaration();\n        while (node.addChild(decl)) {\n          if (this.peek(TokenType.CurlyR)) {\n            break;\n          }\n          if (this._needsSemicolonAfter(decl) && !this.accept(TokenType.SemiColon)) {\n            return this.finish(node, ParseError.SemiColonExpected, [TokenType.SemiColon, TokenType.CurlyR]);\n          }\n          if (decl && this.prevToken && this.prevToken.type === TokenType.SemiColon) {\n            decl.semicolonPosition = this.prevToken.offset;\n          }\n          while (this.accept(TokenType.SemiColon)) {\n          }\n          decl = parseDeclaration();\n        }\n        if (!this.accept(TokenType.CurlyR)) {\n          return this.finish(node, ParseError.RightCurlyExpected, [TokenType.CurlyR, TokenType.SemiColon]);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseBody = function(node, parseDeclaration) {\n        if (!node.setDeclarations(this._parseDeclarations(parseDeclaration))) {\n          return this.finish(node, ParseError.LeftCurlyExpected, [TokenType.CurlyR, TokenType.SemiColon]);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseSelector = function(isNested) {\n        var node = this.create(Selector);\n        var hasContent = false;\n        if (isNested) {\n          hasContent = node.addChild(this._parseCombinator());\n        }\n        while (node.addChild(this._parseSimpleSelector())) {\n          hasContent = true;\n          node.addChild(this._parseCombinator());\n        }\n        return hasContent ? this.finish(node) : null;\n      };\n      Parser2.prototype._parseDeclaration = function(stopTokens) {\n        var custonProperty = this._tryParseCustomPropertyDeclaration(stopTokens);\n        if (custonProperty) {\n          return custonProperty;\n        }\n        var node = this.create(Declaration);\n        if (!node.setProperty(this._parseProperty())) {\n          return null;\n        }\n        if (!this.accept(TokenType.Colon)) {\n          return this.finish(node, ParseError.ColonExpected, [TokenType.Colon], stopTokens || [TokenType.SemiColon]);\n        }\n        if (this.prevToken) {\n          node.colonPosition = this.prevToken.offset;\n        }\n        if (!node.setValue(this._parseExpr())) {\n          return this.finish(node, ParseError.PropertyValueExpected);\n        }\n        node.addChild(this._parsePrio());\n        if (this.peek(TokenType.SemiColon)) {\n          node.semicolonPosition = this.token.offset;\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._tryParseCustomPropertyDeclaration = function(stopTokens) {\n        if (!this.peekRegExp(TokenType.Ident, /^--/)) {\n          return null;\n        }\n        var node = this.create(CustomPropertyDeclaration);\n        if (!node.setProperty(this._parseProperty())) {\n          return null;\n        }\n        if (!this.accept(TokenType.Colon)) {\n          return this.finish(node, ParseError.ColonExpected, [TokenType.Colon]);\n        }\n        if (this.prevToken) {\n          node.colonPosition = this.prevToken.offset;\n        }\n        var mark = this.mark();\n        if (this.peek(TokenType.CurlyL)) {\n          var propertySet = this.create(CustomPropertySet);\n          var declarations = this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));\n          if (propertySet.setDeclarations(declarations) && !declarations.isErroneous(true)) {\n            propertySet.addChild(this._parsePrio());\n            if (this.peek(TokenType.SemiColon)) {\n              this.finish(propertySet);\n              node.setPropertySet(propertySet);\n              node.semicolonPosition = this.token.offset;\n              return this.finish(node);\n            }\n          }\n          this.restoreAtMark(mark);\n        }\n        var expression = this._parseExpr();\n        if (expression && !expression.isErroneous(true)) {\n          this._parsePrio();\n          if (this.peekOne.apply(this, __spreadArray(__spreadArray([], stopTokens || [], false), [TokenType.SemiColon, TokenType.EOF], false))) {\n            node.setValue(expression);\n            if (this.peek(TokenType.SemiColon)) {\n              node.semicolonPosition = this.token.offset;\n            }\n            return this.finish(node);\n          }\n        }\n        this.restoreAtMark(mark);\n        node.addChild(this._parseCustomPropertyValue(stopTokens));\n        node.addChild(this._parsePrio());\n        if (isDefined(node.colonPosition) && this.token.offset === node.colonPosition + 1) {\n          return this.finish(node, ParseError.PropertyValueExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseCustomPropertyValue = function(stopTokens) {\n        var _this = this;\n        if (stopTokens === void 0) {\n          stopTokens = [TokenType.CurlyR];\n        }\n        var node = this.create(Node2);\n        var isTopLevel = function() {\n          return curlyDepth === 0 && parensDepth === 0 && bracketsDepth === 0;\n        };\n        var onStopToken = function() {\n          return stopTokens.indexOf(_this.token.type) !== -1;\n        };\n        var curlyDepth = 0;\n        var parensDepth = 0;\n        var bracketsDepth = 0;\n        done:\n          while (true) {\n            switch (this.token.type) {\n              case TokenType.SemiColon:\n                if (isTopLevel()) {\n                  break done;\n                }\n                break;\n              case TokenType.Exclamation:\n                if (isTopLevel()) {\n                  break done;\n                }\n                break;\n              case TokenType.CurlyL:\n                curlyDepth++;\n                break;\n              case TokenType.CurlyR:\n                curlyDepth--;\n                if (curlyDepth < 0) {\n                  if (onStopToken() && parensDepth === 0 && bracketsDepth === 0) {\n                    break done;\n                  }\n                  return this.finish(node, ParseError.LeftCurlyExpected);\n                }\n                break;\n              case TokenType.ParenthesisL:\n                parensDepth++;\n                break;\n              case TokenType.ParenthesisR:\n                parensDepth--;\n                if (parensDepth < 0) {\n                  if (onStopToken() && bracketsDepth === 0 && curlyDepth === 0) {\n                    break done;\n                  }\n                  return this.finish(node, ParseError.LeftParenthesisExpected);\n                }\n                break;\n              case TokenType.BracketL:\n                bracketsDepth++;\n                break;\n              case TokenType.BracketR:\n                bracketsDepth--;\n                if (bracketsDepth < 0) {\n                  return this.finish(node, ParseError.LeftSquareBracketExpected);\n                }\n                break;\n              case TokenType.BadString:\n                break done;\n              case TokenType.EOF:\n                var error = ParseError.RightCurlyExpected;\n                if (bracketsDepth > 0) {\n                  error = ParseError.RightSquareBracketExpected;\n                } else if (parensDepth > 0) {\n                  error = ParseError.RightParenthesisExpected;\n                }\n                return this.finish(node, error);\n            }\n            this.consumeToken();\n          }\n        return this.finish(node);\n      };\n      Parser2.prototype._tryToParseDeclaration = function(stopTokens) {\n        var mark = this.mark();\n        if (this._parseProperty() && this.accept(TokenType.Colon)) {\n          this.restoreAtMark(mark);\n          return this._parseDeclaration(stopTokens);\n        }\n        this.restoreAtMark(mark);\n        return null;\n      };\n      Parser2.prototype._parseProperty = function() {\n        var node = this.create(Property);\n        var mark = this.mark();\n        if (this.acceptDelim(\"*\") || this.acceptDelim(\"_\")) {\n          if (this.hasWhitespace()) {\n            this.restoreAtMark(mark);\n            return null;\n          }\n        }\n        if (node.setIdentifier(this._parsePropertyIdentifier())) {\n          return this.finish(node);\n        }\n        return null;\n      };\n      Parser2.prototype._parsePropertyIdentifier = function() {\n        return this._parseIdent();\n      };\n      Parser2.prototype._parseCharset = function() {\n        if (!this.peek(TokenType.Charset)) {\n          return null;\n        }\n        var node = this.create(Node2);\n        this.consumeToken();\n        if (!this.accept(TokenType.String)) {\n          return this.finish(node, ParseError.IdentifierExpected);\n        }\n        if (!this.accept(TokenType.SemiColon)) {\n          return this.finish(node, ParseError.SemiColonExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseImport = function() {\n        if (!this.peekKeyword(\"@import\")) {\n          return null;\n        }\n        var node = this.create(Import);\n        this.consumeToken();\n        if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n          return this.finish(node, ParseError.URIOrStringExpected);\n        }\n        if (!this.peek(TokenType.SemiColon) && !this.peek(TokenType.EOF)) {\n          node.setMedialist(this._parseMediaQueryList());\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseNamespace = function() {\n        if (!this.peekKeyword(\"@namespace\")) {\n          return null;\n        }\n        var node = this.create(Namespace);\n        this.consumeToken();\n        if (!node.addChild(this._parseURILiteral())) {\n          node.addChild(this._parseIdent());\n          if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n            return this.finish(node, ParseError.URIExpected, [TokenType.SemiColon]);\n          }\n        }\n        if (!this.accept(TokenType.SemiColon)) {\n          return this.finish(node, ParseError.SemiColonExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseFontFace = function() {\n        if (!this.peekKeyword(\"@font-face\")) {\n          return null;\n        }\n        var node = this.create(FontFace);\n        this.consumeToken();\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      Parser2.prototype._parseViewPort = function() {\n        if (!this.peekKeyword(\"@-ms-viewport\") && !this.peekKeyword(\"@-o-viewport\") && !this.peekKeyword(\"@viewport\")) {\n          return null;\n        }\n        var node = this.create(ViewPort);\n        this.consumeToken();\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      Parser2.prototype._parseKeyframe = function() {\n        if (!this.peekRegExp(TokenType.AtKeyword, this.keyframeRegex)) {\n          return null;\n        }\n        var node = this.create(Keyframe);\n        var atNode = this.create(Node2);\n        this.consumeToken();\n        node.setKeyword(this.finish(atNode));\n        if (atNode.matches(\"@-ms-keyframes\")) {\n          this.markError(atNode, ParseError.UnknownKeyword);\n        }\n        if (!node.setIdentifier(this._parseKeyframeIdent())) {\n          return this.finish(node, ParseError.IdentifierExpected, [TokenType.CurlyR]);\n        }\n        return this._parseBody(node, this._parseKeyframeSelector.bind(this));\n      };\n      Parser2.prototype._parseKeyframeIdent = function() {\n        return this._parseIdent([ReferenceType.Keyframe]);\n      };\n      Parser2.prototype._parseKeyframeSelector = function() {\n        var node = this.create(KeyframeSelector);\n        if (!node.addChild(this._parseIdent()) && !this.accept(TokenType.Percentage)) {\n          return null;\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!node.addChild(this._parseIdent()) && !this.accept(TokenType.Percentage)) {\n            return this.finish(node, ParseError.PercentageExpected);\n          }\n        }\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      Parser2.prototype._tryParseKeyframeSelector = function() {\n        var node = this.create(KeyframeSelector);\n        var pos = this.mark();\n        if (!node.addChild(this._parseIdent()) && !this.accept(TokenType.Percentage)) {\n          return null;\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!node.addChild(this._parseIdent()) && !this.accept(TokenType.Percentage)) {\n            this.restoreAtMark(pos);\n            return null;\n          }\n        }\n        if (!this.peek(TokenType.CurlyL)) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      Parser2.prototype._parseSupports = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (!this.peekKeyword(\"@supports\")) {\n          return null;\n        }\n        var node = this.create(Supports);\n        this.consumeToken();\n        node.addChild(this._parseSupportsCondition());\n        return this._parseBody(node, this._parseSupportsDeclaration.bind(this, isNested));\n      };\n      Parser2.prototype._parseSupportsDeclaration = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (isNested) {\n          return this._tryParseRuleset(true) || this._tryToParseDeclaration() || this._parseStylesheetStatement(true);\n        }\n        return this._parseStylesheetStatement(false);\n      };\n      Parser2.prototype._parseSupportsCondition = function() {\n        var node = this.create(SupportsCondition);\n        if (this.acceptIdent(\"not\")) {\n          node.addChild(this._parseSupportsConditionInParens());\n        } else {\n          node.addChild(this._parseSupportsConditionInParens());\n          if (this.peekRegExp(TokenType.Ident, /^(and|or)$/i)) {\n            var text = this.token.text.toLowerCase();\n            while (this.acceptIdent(text)) {\n              node.addChild(this._parseSupportsConditionInParens());\n            }\n          }\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseSupportsConditionInParens = function() {\n        var node = this.create(SupportsCondition);\n        if (this.accept(TokenType.ParenthesisL)) {\n          if (this.prevToken) {\n            node.lParent = this.prevToken.offset;\n          }\n          if (!node.addChild(this._tryToParseDeclaration([TokenType.ParenthesisR]))) {\n            if (!this._parseSupportsCondition()) {\n              return this.finish(node, ParseError.ConditionExpected);\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected, [TokenType.ParenthesisR], []);\n          }\n          if (this.prevToken) {\n            node.rParent = this.prevToken.offset;\n          }\n          return this.finish(node);\n        } else if (this.peek(TokenType.Ident)) {\n          var pos = this.mark();\n          this.consumeToken();\n          if (!this.hasWhitespace() && this.accept(TokenType.ParenthesisL)) {\n            var openParentCount = 1;\n            while (this.token.type !== TokenType.EOF && openParentCount !== 0) {\n              if (this.token.type === TokenType.ParenthesisL) {\n                openParentCount++;\n              } else if (this.token.type === TokenType.ParenthesisR) {\n                openParentCount--;\n              }\n              this.consumeToken();\n            }\n            return this.finish(node);\n          } else {\n            this.restoreAtMark(pos);\n          }\n        }\n        return this.finish(node, ParseError.LeftParenthesisExpected, [], [TokenType.ParenthesisL]);\n      };\n      Parser2.prototype._parseMediaDeclaration = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (isNested) {\n          return this._tryParseRuleset(true) || this._tryToParseDeclaration() || this._parseStylesheetStatement(true);\n        }\n        return this._parseStylesheetStatement(false);\n      };\n      Parser2.prototype._parseMedia = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (!this.peekKeyword(\"@media\")) {\n          return null;\n        }\n        var node = this.create(Media);\n        this.consumeToken();\n        if (!node.addChild(this._parseMediaQueryList())) {\n          return this.finish(node, ParseError.MediaQueryExpected);\n        }\n        return this._parseBody(node, this._parseMediaDeclaration.bind(this, isNested));\n      };\n      Parser2.prototype._parseMediaQueryList = function() {\n        var node = this.create(Medialist);\n        if (!node.addChild(this._parseMediaQuery())) {\n          return this.finish(node, ParseError.MediaQueryExpected);\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!node.addChild(this._parseMediaQuery())) {\n            return this.finish(node, ParseError.MediaQueryExpected);\n          }\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseMediaQuery = function() {\n        var node = this.create(MediaQuery);\n        var pos = this.mark();\n        this.acceptIdent(\"not\");\n        if (!this.peek(TokenType.ParenthesisL)) {\n          if (this.acceptIdent(\"only\")) {\n          }\n          if (!node.addChild(this._parseIdent())) {\n            return null;\n          }\n          if (this.acceptIdent(\"and\")) {\n            node.addChild(this._parseMediaCondition());\n          }\n        } else {\n          this.restoreAtMark(pos);\n          node.addChild(this._parseMediaCondition());\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseRatio = function() {\n        var pos = this.mark();\n        var node = this.create(RatioValue);\n        if (!this._parseNumeric()) {\n          return null;\n        }\n        if (!this.acceptDelim(\"/\")) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        if (!this._parseNumeric()) {\n          return this.finish(node, ParseError.NumberExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseMediaCondition = function() {\n        var node = this.create(MediaCondition);\n        this.acceptIdent(\"not\");\n        var parseExpression = true;\n        while (parseExpression) {\n          if (!this.accept(TokenType.ParenthesisL)) {\n            return this.finish(node, ParseError.LeftParenthesisExpected, [], [TokenType.CurlyL]);\n          }\n          if (this.peek(TokenType.ParenthesisL) || this.peekIdent(\"not\")) {\n            node.addChild(this._parseMediaCondition());\n          } else {\n            node.addChild(this._parseMediaFeature());\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected, [], [TokenType.CurlyL]);\n          }\n          parseExpression = this.acceptIdent(\"and\") || this.acceptIdent(\"or\");\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseMediaFeature = function() {\n        var _this = this;\n        var resyncStopToken = [TokenType.ParenthesisR];\n        var node = this.create(MediaFeature);\n        var parseRangeOperator = function() {\n          if (_this.acceptDelim(\"<\") || _this.acceptDelim(\">\")) {\n            if (!_this.hasWhitespace()) {\n              _this.acceptDelim(\"=\");\n            }\n            return true;\n          } else if (_this.acceptDelim(\"=\")) {\n            return true;\n          }\n          return false;\n        };\n        if (node.addChild(this._parseMediaFeatureName())) {\n          if (this.accept(TokenType.Colon)) {\n            if (!node.addChild(this._parseMediaFeatureValue())) {\n              return this.finish(node, ParseError.TermExpected, [], resyncStopToken);\n            }\n          } else if (parseRangeOperator()) {\n            if (!node.addChild(this._parseMediaFeatureValue())) {\n              return this.finish(node, ParseError.TermExpected, [], resyncStopToken);\n            }\n            if (parseRangeOperator()) {\n              if (!node.addChild(this._parseMediaFeatureValue())) {\n                return this.finish(node, ParseError.TermExpected, [], resyncStopToken);\n              }\n            }\n          } else {\n          }\n        } else if (node.addChild(this._parseMediaFeatureValue())) {\n          if (!parseRangeOperator()) {\n            return this.finish(node, ParseError.OperatorExpected, [], resyncStopToken);\n          }\n          if (!node.addChild(this._parseMediaFeatureName())) {\n            return this.finish(node, ParseError.IdentifierExpected, [], resyncStopToken);\n          }\n          if (parseRangeOperator()) {\n            if (!node.addChild(this._parseMediaFeatureValue())) {\n              return this.finish(node, ParseError.TermExpected, [], resyncStopToken);\n            }\n          }\n        } else {\n          return this.finish(node, ParseError.IdentifierExpected, [], resyncStopToken);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseMediaFeatureName = function() {\n        return this._parseIdent();\n      };\n      Parser2.prototype._parseMediaFeatureValue = function() {\n        return this._parseRatio() || this._parseTermExpression();\n      };\n      Parser2.prototype._parseMedium = function() {\n        var node = this.create(Node2);\n        if (node.addChild(this._parseIdent())) {\n          return this.finish(node);\n        } else {\n          return null;\n        }\n      };\n      Parser2.prototype._parsePageDeclaration = function() {\n        return this._parsePageMarginBox() || this._parseRuleSetDeclaration();\n      };\n      Parser2.prototype._parsePage = function() {\n        if (!this.peekKeyword(\"@page\")) {\n          return null;\n        }\n        var node = this.create(Page);\n        this.consumeToken();\n        if (node.addChild(this._parsePageSelector())) {\n          while (this.accept(TokenType.Comma)) {\n            if (!node.addChild(this._parsePageSelector())) {\n              return this.finish(node, ParseError.IdentifierExpected);\n            }\n          }\n        }\n        return this._parseBody(node, this._parsePageDeclaration.bind(this));\n      };\n      Parser2.prototype._parsePageMarginBox = function() {\n        if (!this.peek(TokenType.AtKeyword)) {\n          return null;\n        }\n        var node = this.create(PageBoxMarginBox);\n        if (!this.acceptOneKeyword(pageBoxDirectives)) {\n          this.markError(node, ParseError.UnknownAtRule, [], [TokenType.CurlyL]);\n        }\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      Parser2.prototype._parsePageSelector = function() {\n        if (!this.peek(TokenType.Ident) && !this.peek(TokenType.Colon)) {\n          return null;\n        }\n        var node = this.create(Node2);\n        node.addChild(this._parseIdent());\n        if (this.accept(TokenType.Colon)) {\n          if (!node.addChild(this._parseIdent())) {\n            return this.finish(node, ParseError.IdentifierExpected);\n          }\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseDocument = function() {\n        if (!this.peekKeyword(\"@-moz-document\")) {\n          return null;\n        }\n        var node = this.create(Document);\n        this.consumeToken();\n        this.resync([], [TokenType.CurlyL]);\n        return this._parseBody(node, this._parseStylesheetStatement.bind(this));\n      };\n      Parser2.prototype._parseUnknownAtRule = function() {\n        if (!this.peek(TokenType.AtKeyword)) {\n          return null;\n        }\n        var node = this.create(UnknownAtRule);\n        node.addChild(this._parseUnknownAtRuleName());\n        var isTopLevel = function() {\n          return curlyDepth === 0 && parensDepth === 0 && bracketsDepth === 0;\n        };\n        var curlyLCount = 0;\n        var curlyDepth = 0;\n        var parensDepth = 0;\n        var bracketsDepth = 0;\n        done:\n          while (true) {\n            switch (this.token.type) {\n              case TokenType.SemiColon:\n                if (isTopLevel()) {\n                  break done;\n                }\n                break;\n              case TokenType.EOF:\n                if (curlyDepth > 0) {\n                  return this.finish(node, ParseError.RightCurlyExpected);\n                } else if (bracketsDepth > 0) {\n                  return this.finish(node, ParseError.RightSquareBracketExpected);\n                } else if (parensDepth > 0) {\n                  return this.finish(node, ParseError.RightParenthesisExpected);\n                } else {\n                  return this.finish(node);\n                }\n              case TokenType.CurlyL:\n                curlyLCount++;\n                curlyDepth++;\n                break;\n              case TokenType.CurlyR:\n                curlyDepth--;\n                if (curlyLCount > 0 && curlyDepth === 0) {\n                  this.consumeToken();\n                  if (bracketsDepth > 0) {\n                    return this.finish(node, ParseError.RightSquareBracketExpected);\n                  } else if (parensDepth > 0) {\n                    return this.finish(node, ParseError.RightParenthesisExpected);\n                  }\n                  break done;\n                }\n                if (curlyDepth < 0) {\n                  if (parensDepth === 0 && bracketsDepth === 0) {\n                    break done;\n                  }\n                  return this.finish(node, ParseError.LeftCurlyExpected);\n                }\n                break;\n              case TokenType.ParenthesisL:\n                parensDepth++;\n                break;\n              case TokenType.ParenthesisR:\n                parensDepth--;\n                if (parensDepth < 0) {\n                  return this.finish(node, ParseError.LeftParenthesisExpected);\n                }\n                break;\n              case TokenType.BracketL:\n                bracketsDepth++;\n                break;\n              case TokenType.BracketR:\n                bracketsDepth--;\n                if (bracketsDepth < 0) {\n                  return this.finish(node, ParseError.LeftSquareBracketExpected);\n                }\n                break;\n            }\n            this.consumeToken();\n          }\n        return node;\n      };\n      Parser2.prototype._parseUnknownAtRuleName = function() {\n        var node = this.create(Node2);\n        if (this.accept(TokenType.AtKeyword)) {\n          return this.finish(node);\n        }\n        return node;\n      };\n      Parser2.prototype._parseOperator = function() {\n        if (this.peekDelim(\"/\") || this.peekDelim(\"*\") || this.peekDelim(\"+\") || this.peekDelim(\"-\") || this.peek(TokenType.Dashmatch) || this.peek(TokenType.Includes) || this.peek(TokenType.SubstringOperator) || this.peek(TokenType.PrefixOperator) || this.peek(TokenType.SuffixOperator) || this.peekDelim(\"=\")) {\n          var node = this.createNode(NodeType.Operator);\n          this.consumeToken();\n          return this.finish(node);\n        } else {\n          return null;\n        }\n      };\n      Parser2.prototype._parseUnaryOperator = function() {\n        if (!this.peekDelim(\"+\") && !this.peekDelim(\"-\")) {\n          return null;\n        }\n        var node = this.create(Node2);\n        this.consumeToken();\n        return this.finish(node);\n      };\n      Parser2.prototype._parseCombinator = function() {\n        if (this.peekDelim(\">\")) {\n          var node = this.create(Node2);\n          this.consumeToken();\n          var mark = this.mark();\n          if (!this.hasWhitespace() && this.acceptDelim(\">\")) {\n            if (!this.hasWhitespace() && this.acceptDelim(\">\")) {\n              node.type = NodeType.SelectorCombinatorShadowPiercingDescendant;\n              return this.finish(node);\n            }\n            this.restoreAtMark(mark);\n          }\n          node.type = NodeType.SelectorCombinatorParent;\n          return this.finish(node);\n        } else if (this.peekDelim(\"+\")) {\n          var node = this.create(Node2);\n          this.consumeToken();\n          node.type = NodeType.SelectorCombinatorSibling;\n          return this.finish(node);\n        } else if (this.peekDelim(\"~\")) {\n          var node = this.create(Node2);\n          this.consumeToken();\n          node.type = NodeType.SelectorCombinatorAllSiblings;\n          return this.finish(node);\n        } else if (this.peekDelim(\"/\")) {\n          var node = this.create(Node2);\n          this.consumeToken();\n          var mark = this.mark();\n          if (!this.hasWhitespace() && this.acceptIdent(\"deep\") && !this.hasWhitespace() && this.acceptDelim(\"/\")) {\n            node.type = NodeType.SelectorCombinatorShadowPiercingDescendant;\n            return this.finish(node);\n          }\n          this.restoreAtMark(mark);\n        }\n        return null;\n      };\n      Parser2.prototype._parseSimpleSelector = function() {\n        var node = this.create(SimpleSelector);\n        var c = 0;\n        if (node.addChild(this._parseElementName())) {\n          c++;\n        }\n        while ((c === 0 || !this.hasWhitespace()) && node.addChild(this._parseSimpleSelectorBody())) {\n          c++;\n        }\n        return c > 0 ? this.finish(node) : null;\n      };\n      Parser2.prototype._parseSimpleSelectorBody = function() {\n        return this._parsePseudo() || this._parseHash() || this._parseClass() || this._parseAttrib();\n      };\n      Parser2.prototype._parseSelectorIdent = function() {\n        return this._parseIdent();\n      };\n      Parser2.prototype._parseHash = function() {\n        if (!this.peek(TokenType.Hash) && !this.peekDelim(\"#\")) {\n          return null;\n        }\n        var node = this.createNode(NodeType.IdentifierSelector);\n        if (this.acceptDelim(\"#\")) {\n          if (this.hasWhitespace() || !node.addChild(this._parseSelectorIdent())) {\n            return this.finish(node, ParseError.IdentifierExpected);\n          }\n        } else {\n          this.consumeToken();\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseClass = function() {\n        if (!this.peekDelim(\".\")) {\n          return null;\n        }\n        var node = this.createNode(NodeType.ClassSelector);\n        this.consumeToken();\n        if (this.hasWhitespace() || !node.addChild(this._parseSelectorIdent())) {\n          return this.finish(node, ParseError.IdentifierExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseElementName = function() {\n        var pos = this.mark();\n        var node = this.createNode(NodeType.ElementNameSelector);\n        node.addChild(this._parseNamespacePrefix());\n        if (!node.addChild(this._parseSelectorIdent()) && !this.acceptDelim(\"*\")) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseNamespacePrefix = function() {\n        var pos = this.mark();\n        var node = this.createNode(NodeType.NamespacePrefix);\n        if (!node.addChild(this._parseIdent()) && !this.acceptDelim(\"*\")) {\n        }\n        if (!this.acceptDelim(\"|\")) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseAttrib = function() {\n        if (!this.peek(TokenType.BracketL)) {\n          return null;\n        }\n        var node = this.create(AttributeSelector);\n        this.consumeToken();\n        node.setNamespacePrefix(this._parseNamespacePrefix());\n        if (!node.setIdentifier(this._parseIdent())) {\n          return this.finish(node, ParseError.IdentifierExpected);\n        }\n        if (node.setOperator(this._parseOperator())) {\n          node.setValue(this._parseBinaryExpr());\n          this.acceptIdent(\"i\");\n          this.acceptIdent(\"s\");\n        }\n        if (!this.accept(TokenType.BracketR)) {\n          return this.finish(node, ParseError.RightSquareBracketExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parsePseudo = function() {\n        var _this = this;\n        var node = this._tryParsePseudoIdentifier();\n        if (node) {\n          if (!this.hasWhitespace() && this.accept(TokenType.ParenthesisL)) {\n            var tryAsSelector = function() {\n              var selectors = _this.create(Node2);\n              if (!selectors.addChild(_this._parseSelector(false))) {\n                return null;\n              }\n              while (_this.accept(TokenType.Comma) && selectors.addChild(_this._parseSelector(false))) {\n              }\n              if (_this.peek(TokenType.ParenthesisR)) {\n                return _this.finish(selectors);\n              }\n              return null;\n            };\n            node.addChild(this.try(tryAsSelector) || this._parseBinaryExpr());\n            if (!this.accept(TokenType.ParenthesisR)) {\n              return this.finish(node, ParseError.RightParenthesisExpected);\n            }\n          }\n          return this.finish(node);\n        }\n        return null;\n      };\n      Parser2.prototype._tryParsePseudoIdentifier = function() {\n        if (!this.peek(TokenType.Colon)) {\n          return null;\n        }\n        var pos = this.mark();\n        var node = this.createNode(NodeType.PseudoSelector);\n        this.consumeToken();\n        if (this.hasWhitespace()) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        this.accept(TokenType.Colon);\n        if (this.hasWhitespace() || !node.addChild(this._parseIdent())) {\n          return this.finish(node, ParseError.IdentifierExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._tryParsePrio = function() {\n        var mark = this.mark();\n        var prio = this._parsePrio();\n        if (prio) {\n          return prio;\n        }\n        this.restoreAtMark(mark);\n        return null;\n      };\n      Parser2.prototype._parsePrio = function() {\n        if (!this.peek(TokenType.Exclamation)) {\n          return null;\n        }\n        var node = this.createNode(NodeType.Prio);\n        if (this.accept(TokenType.Exclamation) && this.acceptIdent(\"important\")) {\n          return this.finish(node);\n        }\n        return null;\n      };\n      Parser2.prototype._parseExpr = function(stopOnComma) {\n        if (stopOnComma === void 0) {\n          stopOnComma = false;\n        }\n        var node = this.create(Expression);\n        if (!node.addChild(this._parseBinaryExpr())) {\n          return null;\n        }\n        while (true) {\n          if (this.peek(TokenType.Comma)) {\n            if (stopOnComma) {\n              return this.finish(node);\n            }\n            this.consumeToken();\n          } else if (!this.hasWhitespace()) {\n            break;\n          }\n          if (!node.addChild(this._parseBinaryExpr())) {\n            break;\n          }\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseUnicodeRange = function() {\n        if (!this.peekIdent(\"u\")) {\n          return null;\n        }\n        var node = this.create(UnicodeRange);\n        if (!this.acceptUnicodeRange()) {\n          return null;\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseNamedLine = function() {\n        if (!this.peek(TokenType.BracketL)) {\n          return null;\n        }\n        var node = this.createNode(NodeType.GridLine);\n        this.consumeToken();\n        while (node.addChild(this._parseIdent())) {\n        }\n        if (!this.accept(TokenType.BracketR)) {\n          return this.finish(node, ParseError.RightSquareBracketExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseBinaryExpr = function(preparsedLeft, preparsedOper) {\n        var node = this.create(BinaryExpression);\n        if (!node.setLeft(preparsedLeft || this._parseTerm())) {\n          return null;\n        }\n        if (!node.setOperator(preparsedOper || this._parseOperator())) {\n          return this.finish(node);\n        }\n        if (!node.setRight(this._parseTerm())) {\n          return this.finish(node, ParseError.TermExpected);\n        }\n        node = this.finish(node);\n        var operator = this._parseOperator();\n        if (operator) {\n          node = this._parseBinaryExpr(node, operator);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseTerm = function() {\n        var node = this.create(Term);\n        node.setOperator(this._parseUnaryOperator());\n        if (node.setExpression(this._parseTermExpression())) {\n          return this.finish(node);\n        }\n        return null;\n      };\n      Parser2.prototype._parseTermExpression = function() {\n        return this._parseURILiteral() || // url before function\n        this._parseUnicodeRange() || this._parseFunction() || // function before ident\n        this._parseIdent() || this._parseStringLiteral() || this._parseNumeric() || this._parseHexColor() || this._parseOperation() || this._parseNamedLine();\n      };\n      Parser2.prototype._parseOperation = function() {\n        if (!this.peek(TokenType.ParenthesisL)) {\n          return null;\n        }\n        var node = this.create(Node2);\n        this.consumeToken();\n        node.addChild(this._parseExpr());\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseNumeric = function() {\n        if (this.peek(TokenType.Num) || this.peek(TokenType.Percentage) || this.peek(TokenType.Resolution) || this.peek(TokenType.Length) || this.peek(TokenType.EMS) || this.peek(TokenType.EXS) || this.peek(TokenType.Angle) || this.peek(TokenType.Time) || this.peek(TokenType.Dimension) || this.peek(TokenType.Freq)) {\n          var node = this.create(NumericValue);\n          this.consumeToken();\n          return this.finish(node);\n        }\n        return null;\n      };\n      Parser2.prototype._parseStringLiteral = function() {\n        if (!this.peek(TokenType.String) && !this.peek(TokenType.BadString)) {\n          return null;\n        }\n        var node = this.createNode(NodeType.StringLiteral);\n        this.consumeToken();\n        return this.finish(node);\n      };\n      Parser2.prototype._parseURILiteral = function() {\n        if (!this.peekRegExp(TokenType.Ident, /^url(-prefix)?$/i)) {\n          return null;\n        }\n        var pos = this.mark();\n        var node = this.createNode(NodeType.URILiteral);\n        this.accept(TokenType.Ident);\n        if (this.hasWhitespace() || !this.peek(TokenType.ParenthesisL)) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        this.scanner.inURL = true;\n        this.consumeToken();\n        node.addChild(this._parseURLArgument());\n        this.scanner.inURL = false;\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseURLArgument = function() {\n        var node = this.create(Node2);\n        if (!this.accept(TokenType.String) && !this.accept(TokenType.BadString) && !this.acceptUnquotedString()) {\n          return null;\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseIdent = function(referenceTypes) {\n        if (!this.peek(TokenType.Ident)) {\n          return null;\n        }\n        var node = this.create(Identifier);\n        if (referenceTypes) {\n          node.referenceTypes = referenceTypes;\n        }\n        node.isCustomProperty = this.peekRegExp(TokenType.Ident, /^--/);\n        this.consumeToken();\n        return this.finish(node);\n      };\n      Parser2.prototype._parseFunction = function() {\n        var pos = this.mark();\n        var node = this.create(Function);\n        if (!node.setIdentifier(this._parseFunctionIdentifier())) {\n          return null;\n        }\n        if (this.hasWhitespace() || !this.accept(TokenType.ParenthesisL)) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        if (node.getArguments().addChild(this._parseFunctionArgument())) {\n          while (this.accept(TokenType.Comma)) {\n            if (this.peek(TokenType.ParenthesisR)) {\n              break;\n            }\n            if (!node.getArguments().addChild(this._parseFunctionArgument())) {\n              this.markError(node, ParseError.ExpressionExpected);\n            }\n          }\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      Parser2.prototype._parseFunctionIdentifier = function() {\n        if (!this.peek(TokenType.Ident)) {\n          return null;\n        }\n        var node = this.create(Identifier);\n        node.referenceTypes = [ReferenceType.Function];\n        if (this.acceptIdent(\"progid\")) {\n          if (this.accept(TokenType.Colon)) {\n            while (this.accept(TokenType.Ident) && this.acceptDelim(\".\")) {\n            }\n          }\n          return this.finish(node);\n        }\n        this.consumeToken();\n        return this.finish(node);\n      };\n      Parser2.prototype._parseFunctionArgument = function() {\n        var node = this.create(FunctionArgument);\n        if (node.setValue(this._parseExpr(true))) {\n          return this.finish(node);\n        }\n        return null;\n      };\n      Parser2.prototype._parseHexColor = function() {\n        if (this.peekRegExp(TokenType.Hash, /^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)) {\n          var node = this.create(HexColorValue);\n          this.consumeToken();\n          return this.finish(node);\n        } else {\n          return null;\n        }\n      };\n      return Parser2;\n    }()\n  );\n  function findFirst(array, p) {\n    var low = 0, high = array.length;\n    if (high === 0) {\n      return 0;\n    }\n    while (low < high) {\n      var mid = Math.floor((low + high) / 2);\n      if (p(array[mid])) {\n        high = mid;\n      } else {\n        low = mid + 1;\n      }\n    }\n    return low;\n  }\n  function includes(array, item) {\n    return array.indexOf(item) !== -1;\n  }\n  function union() {\n    var arrays = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n      arrays[_i] = arguments[_i];\n    }\n    var result = [];\n    for (var _a22 = 0, arrays_1 = arrays; _a22 < arrays_1.length; _a22++) {\n      var array = arrays_1[_a22];\n      for (var _b3 = 0, array_1 = array; _b3 < array_1.length; _b3++) {\n        var item = array_1[_b3];\n        if (!includes(result, item)) {\n          result.push(item);\n        }\n      }\n    }\n    return result;\n  }\n  var __extends2 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var Scope = (\n    /** @class */\n    function() {\n      function Scope2(offset, length) {\n        this.offset = offset;\n        this.length = length;\n        this.symbols = [];\n        this.parent = null;\n        this.children = [];\n      }\n      Scope2.prototype.addChild = function(scope) {\n        this.children.push(scope);\n        scope.setParent(this);\n      };\n      Scope2.prototype.setParent = function(scope) {\n        this.parent = scope;\n      };\n      Scope2.prototype.findScope = function(offset, length) {\n        if (length === void 0) {\n          length = 0;\n        }\n        if (this.offset <= offset && this.offset + this.length > offset + length || this.offset === offset && this.length === length) {\n          return this.findInScope(offset, length);\n        }\n        return null;\n      };\n      Scope2.prototype.findInScope = function(offset, length) {\n        if (length === void 0) {\n          length = 0;\n        }\n        var end = offset + length;\n        var idx = findFirst(this.children, function(s) {\n          return s.offset > end;\n        });\n        if (idx === 0) {\n          return this;\n        }\n        var res = this.children[idx - 1];\n        if (res.offset <= offset && res.offset + res.length >= offset + length) {\n          return res.findInScope(offset, length);\n        }\n        return this;\n      };\n      Scope2.prototype.addSymbol = function(symbol) {\n        this.symbols.push(symbol);\n      };\n      Scope2.prototype.getSymbol = function(name, type) {\n        for (var index = 0; index < this.symbols.length; index++) {\n          var symbol = this.symbols[index];\n          if (symbol.name === name && symbol.type === type) {\n            return symbol;\n          }\n        }\n        return null;\n      };\n      Scope2.prototype.getSymbols = function() {\n        return this.symbols;\n      };\n      return Scope2;\n    }()\n  );\n  var GlobalScope = (\n    /** @class */\n    function(_super) {\n      __extends2(GlobalScope2, _super);\n      function GlobalScope2() {\n        return _super.call(this, 0, Number.MAX_VALUE) || this;\n      }\n      return GlobalScope2;\n    }(Scope)\n  );\n  var Symbol2 = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function Symbol3(name, value, node, type) {\n        this.name = name;\n        this.value = value;\n        this.node = node;\n        this.type = type;\n      }\n      return Symbol3;\n    }()\n  );\n  var ScopeBuilder = (\n    /** @class */\n    function() {\n      function ScopeBuilder2(scope) {\n        this.scope = scope;\n      }\n      ScopeBuilder2.prototype.addSymbol = function(node, name, value, type) {\n        if (node.offset !== -1) {\n          var current = this.scope.findScope(node.offset, node.length);\n          if (current) {\n            current.addSymbol(new Symbol2(name, value, node, type));\n          }\n        }\n      };\n      ScopeBuilder2.prototype.addScope = function(node) {\n        if (node.offset !== -1) {\n          var current = this.scope.findScope(node.offset, node.length);\n          if (current && (current.offset !== node.offset || current.length !== node.length)) {\n            var newScope = new Scope(node.offset, node.length);\n            current.addChild(newScope);\n            return newScope;\n          }\n          return current;\n        }\n        return null;\n      };\n      ScopeBuilder2.prototype.addSymbolToChildScope = function(scopeNode, node, name, value, type) {\n        if (scopeNode && scopeNode.offset !== -1) {\n          var current = this.addScope(scopeNode);\n          if (current) {\n            current.addSymbol(new Symbol2(name, value, node, type));\n          }\n        }\n      };\n      ScopeBuilder2.prototype.visitNode = function(node) {\n        switch (node.type) {\n          case NodeType.Keyframe:\n            this.addSymbol(node, node.getName(), void 0, ReferenceType.Keyframe);\n            return true;\n          case NodeType.CustomPropertyDeclaration:\n            return this.visitCustomPropertyDeclarationNode(node);\n          case NodeType.VariableDeclaration:\n            return this.visitVariableDeclarationNode(node);\n          case NodeType.Ruleset:\n            return this.visitRuleSet(node);\n          case NodeType.MixinDeclaration:\n            this.addSymbol(node, node.getName(), void 0, ReferenceType.Mixin);\n            return true;\n          case NodeType.FunctionDeclaration:\n            this.addSymbol(node, node.getName(), void 0, ReferenceType.Function);\n            return true;\n          case NodeType.FunctionParameter: {\n            return this.visitFunctionParameterNode(node);\n          }\n          case NodeType.Declarations:\n            this.addScope(node);\n            return true;\n          case NodeType.For:\n            var forNode = node;\n            var scopeNode = forNode.getDeclarations();\n            if (scopeNode && forNode.variable) {\n              this.addSymbolToChildScope(scopeNode, forNode.variable, forNode.variable.getName(), void 0, ReferenceType.Variable);\n            }\n            return true;\n          case NodeType.Each: {\n            var eachNode = node;\n            var scopeNode_1 = eachNode.getDeclarations();\n            if (scopeNode_1) {\n              var variables = eachNode.getVariables().getChildren();\n              for (var _i = 0, variables_1 = variables; _i < variables_1.length; _i++) {\n                var variable = variables_1[_i];\n                this.addSymbolToChildScope(scopeNode_1, variable, variable.getName(), void 0, ReferenceType.Variable);\n              }\n            }\n            return true;\n          }\n        }\n        return true;\n      };\n      ScopeBuilder2.prototype.visitRuleSet = function(node) {\n        var current = this.scope.findScope(node.offset, node.length);\n        if (current) {\n          for (var _i = 0, _a22 = node.getSelectors().getChildren(); _i < _a22.length; _i++) {\n            var child = _a22[_i];\n            if (child instanceof Selector) {\n              if (child.getChildren().length === 1) {\n                current.addSymbol(new Symbol2(child.getChild(0).getText(), void 0, child, ReferenceType.Rule));\n              }\n            }\n          }\n        }\n        return true;\n      };\n      ScopeBuilder2.prototype.visitVariableDeclarationNode = function(node) {\n        var value = node.getValue() ? node.getValue().getText() : void 0;\n        this.addSymbol(node, node.getName(), value, ReferenceType.Variable);\n        return true;\n      };\n      ScopeBuilder2.prototype.visitFunctionParameterNode = function(node) {\n        var scopeNode = node.getParent().getDeclarations();\n        if (scopeNode) {\n          var valueNode = node.getDefaultValue();\n          var value = valueNode ? valueNode.getText() : void 0;\n          this.addSymbolToChildScope(scopeNode, node, node.getName(), value, ReferenceType.Variable);\n        }\n        return true;\n      };\n      ScopeBuilder2.prototype.visitCustomPropertyDeclarationNode = function(node) {\n        var value = node.getValue() ? node.getValue().getText() : \"\";\n        this.addCSSVariable(node.getProperty(), node.getProperty().getName(), value, ReferenceType.Variable);\n        return true;\n      };\n      ScopeBuilder2.prototype.addCSSVariable = function(node, name, value, type) {\n        if (node.offset !== -1) {\n          this.scope.addSymbol(new Symbol2(name, value, node, type));\n        }\n      };\n      return ScopeBuilder2;\n    }()\n  );\n  var Symbols = (\n    /** @class */\n    function() {\n      function Symbols2(node) {\n        this.global = new GlobalScope();\n        node.acceptVisitor(new ScopeBuilder(this.global));\n      }\n      Symbols2.prototype.findSymbolsAtOffset = function(offset, referenceType) {\n        var scope = this.global.findScope(offset, 0);\n        var result = [];\n        var names = {};\n        while (scope) {\n          var symbols = scope.getSymbols();\n          for (var i = 0; i < symbols.length; i++) {\n            var symbol = symbols[i];\n            if (symbol.type === referenceType && !names[symbol.name]) {\n              result.push(symbol);\n              names[symbol.name] = true;\n            }\n          }\n          scope = scope.parent;\n        }\n        return result;\n      };\n      Symbols2.prototype.internalFindSymbol = function(node, referenceTypes) {\n        var scopeNode = node;\n        if (node.parent instanceof FunctionParameter && node.parent.getParent() instanceof BodyDeclaration) {\n          scopeNode = node.parent.getParent().getDeclarations();\n        }\n        if (node.parent instanceof FunctionArgument && node.parent.getParent() instanceof Function) {\n          var funcId = node.parent.getParent().getIdentifier();\n          if (funcId) {\n            var functionSymbol = this.internalFindSymbol(funcId, [ReferenceType.Function]);\n            if (functionSymbol) {\n              scopeNode = functionSymbol.node.getDeclarations();\n            }\n          }\n        }\n        if (!scopeNode) {\n          return null;\n        }\n        var name = node.getText();\n        var scope = this.global.findScope(scopeNode.offset, scopeNode.length);\n        while (scope) {\n          for (var index = 0; index < referenceTypes.length; index++) {\n            var type = referenceTypes[index];\n            var symbol = scope.getSymbol(name, type);\n            if (symbol) {\n              return symbol;\n            }\n          }\n          scope = scope.parent;\n        }\n        return null;\n      };\n      Symbols2.prototype.evaluateReferenceTypes = function(node) {\n        if (node instanceof Identifier) {\n          var referenceTypes = node.referenceTypes;\n          if (referenceTypes) {\n            return referenceTypes;\n          } else {\n            if (node.isCustomProperty) {\n              return [ReferenceType.Variable];\n            }\n            var decl = getParentDeclaration(node);\n            if (decl) {\n              var propertyName = decl.getNonPrefixedPropertyName();\n              if ((propertyName === \"animation\" || propertyName === \"animation-name\") && decl.getValue() && decl.getValue().offset === node.offset) {\n                return [ReferenceType.Keyframe];\n              }\n            }\n          }\n        } else if (node instanceof Variable) {\n          return [ReferenceType.Variable];\n        }\n        var selector = node.findAParent(NodeType.Selector, NodeType.ExtendsReference);\n        if (selector) {\n          return [ReferenceType.Rule];\n        }\n        return null;\n      };\n      Symbols2.prototype.findSymbolFromNode = function(node) {\n        if (!node) {\n          return null;\n        }\n        while (node.type === NodeType.Interpolation) {\n          node = node.getParent();\n        }\n        var referenceTypes = this.evaluateReferenceTypes(node);\n        if (referenceTypes) {\n          return this.internalFindSymbol(node, referenceTypes);\n        }\n        return null;\n      };\n      Symbols2.prototype.matchesSymbol = function(node, symbol) {\n        if (!node) {\n          return false;\n        }\n        while (node.type === NodeType.Interpolation) {\n          node = node.getParent();\n        }\n        if (!node.matches(symbol.name)) {\n          return false;\n        }\n        var referenceTypes = this.evaluateReferenceTypes(node);\n        if (!referenceTypes || referenceTypes.indexOf(symbol.type) === -1) {\n          return false;\n        }\n        var nodeSymbol = this.internalFindSymbol(node, referenceTypes);\n        return nodeSymbol === symbol;\n      };\n      Symbols2.prototype.findSymbol = function(name, type, offset) {\n        var scope = this.global.findScope(offset);\n        while (scope) {\n          var symbol = scope.getSymbol(name, type);\n          if (symbol) {\n            return symbol;\n          }\n          scope = scope.parent;\n        }\n        return null;\n      };\n      return Symbols2;\n    }()\n  );\n  var LIB;\n  LIB = (() => {\n    \"use strict\";\n    var t = { 470: (t2) => {\n      function e2(t3) {\n        if (\"string\" != typeof t3)\n          throw new TypeError(\"Path must be a string. Received \" + JSON.stringify(t3));\n      }\n      function r2(t3, e3) {\n        for (var r3, n2 = \"\", o = 0, i = -1, a2 = 0, h = 0; h <= t3.length; ++h) {\n          if (h < t3.length)\n            r3 = t3.charCodeAt(h);\n          else {\n            if (47 === r3)\n              break;\n            r3 = 47;\n          }\n          if (47 === r3) {\n            if (i === h - 1 || 1 === a2)\n              ;\n            else if (i !== h - 1 && 2 === a2) {\n              if (n2.length < 2 || 2 !== o || 46 !== n2.charCodeAt(n2.length - 1) || 46 !== n2.charCodeAt(n2.length - 2)) {\n                if (n2.length > 2) {\n                  var s = n2.lastIndexOf(\"/\");\n                  if (s !== n2.length - 1) {\n                    -1 === s ? (n2 = \"\", o = 0) : o = (n2 = n2.slice(0, s)).length - 1 - n2.lastIndexOf(\"/\"), i = h, a2 = 0;\n                    continue;\n                  }\n                } else if (2 === n2.length || 1 === n2.length) {\n                  n2 = \"\", o = 0, i = h, a2 = 0;\n                  continue;\n                }\n              }\n              e3 && (n2.length > 0 ? n2 += \"/..\" : n2 = \"..\", o = 2);\n            } else\n              n2.length > 0 ? n2 += \"/\" + t3.slice(i + 1, h) : n2 = t3.slice(i + 1, h), o = h - i - 1;\n            i = h, a2 = 0;\n          } else\n            46 === r3 && -1 !== a2 ? ++a2 : a2 = -1;\n        }\n        return n2;\n      }\n      var n = { resolve: function() {\n        for (var t3, n2 = \"\", o = false, i = arguments.length - 1; i >= -1 && !o; i--) {\n          var a2;\n          i >= 0 ? a2 = arguments[i] : (void 0 === t3 && (t3 = process.cwd()), a2 = t3), e2(a2), 0 !== a2.length && (n2 = a2 + \"/\" + n2, o = 47 === a2.charCodeAt(0));\n        }\n        return n2 = r2(n2, !o), o ? n2.length > 0 ? \"/\" + n2 : \"/\" : n2.length > 0 ? n2 : \".\";\n      }, normalize: function(t3) {\n        if (e2(t3), 0 === t3.length)\n          return \".\";\n        var n2 = 47 === t3.charCodeAt(0), o = 47 === t3.charCodeAt(t3.length - 1);\n        return 0 !== (t3 = r2(t3, !n2)).length || n2 || (t3 = \".\"), t3.length > 0 && o && (t3 += \"/\"), n2 ? \"/\" + t3 : t3;\n      }, isAbsolute: function(t3) {\n        return e2(t3), t3.length > 0 && 47 === t3.charCodeAt(0);\n      }, join: function() {\n        if (0 === arguments.length)\n          return \".\";\n        for (var t3, r3 = 0; r3 < arguments.length; ++r3) {\n          var o = arguments[r3];\n          e2(o), o.length > 0 && (void 0 === t3 ? t3 = o : t3 += \"/\" + o);\n        }\n        return void 0 === t3 ? \".\" : n.normalize(t3);\n      }, relative: function(t3, r3) {\n        if (e2(t3), e2(r3), t3 === r3)\n          return \"\";\n        if ((t3 = n.resolve(t3)) === (r3 = n.resolve(r3)))\n          return \"\";\n        for (var o = 1; o < t3.length && 47 === t3.charCodeAt(o); ++o)\n          ;\n        for (var i = t3.length, a2 = i - o, h = 1; h < r3.length && 47 === r3.charCodeAt(h); ++h)\n          ;\n        for (var s = r3.length - h, c = a2 < s ? a2 : s, f2 = -1, u = 0; u <= c; ++u) {\n          if (u === c) {\n            if (s > c) {\n              if (47 === r3.charCodeAt(h + u))\n                return r3.slice(h + u + 1);\n              if (0 === u)\n                return r3.slice(h + u);\n            } else\n              a2 > c && (47 === t3.charCodeAt(o + u) ? f2 = u : 0 === u && (f2 = 0));\n            break;\n          }\n          var l = t3.charCodeAt(o + u);\n          if (l !== r3.charCodeAt(h + u))\n            break;\n          47 === l && (f2 = u);\n        }\n        var p = \"\";\n        for (u = o + f2 + 1; u <= i; ++u)\n          u !== i && 47 !== t3.charCodeAt(u) || (0 === p.length ? p += \"..\" : p += \"/..\");\n        return p.length > 0 ? p + r3.slice(h + f2) : (h += f2, 47 === r3.charCodeAt(h) && ++h, r3.slice(h));\n      }, _makeLong: function(t3) {\n        return t3;\n      }, dirname: function(t3) {\n        if (e2(t3), 0 === t3.length)\n          return \".\";\n        for (var r3 = t3.charCodeAt(0), n2 = 47 === r3, o = -1, i = true, a2 = t3.length - 1; a2 >= 1; --a2)\n          if (47 === (r3 = t3.charCodeAt(a2))) {\n            if (!i) {\n              o = a2;\n              break;\n            }\n          } else\n            i = false;\n        return -1 === o ? n2 ? \"/\" : \".\" : n2 && 1 === o ? \"//\" : t3.slice(0, o);\n      }, basename: function(t3, r3) {\n        if (void 0 !== r3 && \"string\" != typeof r3)\n          throw new TypeError('\"ext\" argument must be a string');\n        e2(t3);\n        var n2, o = 0, i = -1, a2 = true;\n        if (void 0 !== r3 && r3.length > 0 && r3.length <= t3.length) {\n          if (r3.length === t3.length && r3 === t3)\n            return \"\";\n          var h = r3.length - 1, s = -1;\n          for (n2 = t3.length - 1; n2 >= 0; --n2) {\n            var c = t3.charCodeAt(n2);\n            if (47 === c) {\n              if (!a2) {\n                o = n2 + 1;\n                break;\n              }\n            } else\n              -1 === s && (a2 = false, s = n2 + 1), h >= 0 && (c === r3.charCodeAt(h) ? -1 == --h && (i = n2) : (h = -1, i = s));\n          }\n          return o === i ? i = s : -1 === i && (i = t3.length), t3.slice(o, i);\n        }\n        for (n2 = t3.length - 1; n2 >= 0; --n2)\n          if (47 === t3.charCodeAt(n2)) {\n            if (!a2) {\n              o = n2 + 1;\n              break;\n            }\n          } else\n            -1 === i && (a2 = false, i = n2 + 1);\n        return -1 === i ? \"\" : t3.slice(o, i);\n      }, extname: function(t3) {\n        e2(t3);\n        for (var r3 = -1, n2 = 0, o = -1, i = true, a2 = 0, h = t3.length - 1; h >= 0; --h) {\n          var s = t3.charCodeAt(h);\n          if (47 !== s)\n            -1 === o && (i = false, o = h + 1), 46 === s ? -1 === r3 ? r3 = h : 1 !== a2 && (a2 = 1) : -1 !== r3 && (a2 = -1);\n          else if (!i) {\n            n2 = h + 1;\n            break;\n          }\n        }\n        return -1 === r3 || -1 === o || 0 === a2 || 1 === a2 && r3 === o - 1 && r3 === n2 + 1 ? \"\" : t3.slice(r3, o);\n      }, format: function(t3) {\n        if (null === t3 || \"object\" != typeof t3)\n          throw new TypeError('The \"pathObject\" argument must be of type Object. Received type ' + typeof t3);\n        return function(t4, e3) {\n          var r3 = e3.dir || e3.root, n2 = e3.base || (e3.name || \"\") + (e3.ext || \"\");\n          return r3 ? r3 === e3.root ? r3 + n2 : r3 + \"/\" + n2 : n2;\n        }(0, t3);\n      }, parse: function(t3) {\n        e2(t3);\n        var r3 = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n        if (0 === t3.length)\n          return r3;\n        var n2, o = t3.charCodeAt(0), i = 47 === o;\n        i ? (r3.root = \"/\", n2 = 1) : n2 = 0;\n        for (var a2 = -1, h = 0, s = -1, c = true, f2 = t3.length - 1, u = 0; f2 >= n2; --f2)\n          if (47 !== (o = t3.charCodeAt(f2)))\n            -1 === s && (c = false, s = f2 + 1), 46 === o ? -1 === a2 ? a2 = f2 : 1 !== u && (u = 1) : -1 !== a2 && (u = -1);\n          else if (!c) {\n            h = f2 + 1;\n            break;\n          }\n        return -1 === a2 || -1 === s || 0 === u || 1 === u && a2 === s - 1 && a2 === h + 1 ? -1 !== s && (r3.base = r3.name = 0 === h && i ? t3.slice(1, s) : t3.slice(h, s)) : (0 === h && i ? (r3.name = t3.slice(1, a2), r3.base = t3.slice(1, s)) : (r3.name = t3.slice(h, a2), r3.base = t3.slice(h, s)), r3.ext = t3.slice(a2, s)), h > 0 ? r3.dir = t3.slice(0, h - 1) : i && (r3.dir = \"/\"), r3;\n      }, sep: \"/\", delimiter: \":\", win32: null, posix: null };\n      n.posix = n, t2.exports = n;\n    }, 447: (t2, e2, r2) => {\n      var n;\n      if (r2.r(e2), r2.d(e2, { URI: () => d, Utils: () => P }), \"object\" == typeof process)\n        n = \"win32\" === process.platform;\n      else if (\"object\" == typeof navigator) {\n        var o = navigator.userAgent;\n        n = o.indexOf(\"Windows\") >= 0;\n      }\n      var i, a2, h = (i = function(t3, e3) {\n        return (i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t4, e4) {\n          t4.__proto__ = e4;\n        } || function(t4, e4) {\n          for (var r3 in e4)\n            Object.prototype.hasOwnProperty.call(e4, r3) && (t4[r3] = e4[r3]);\n        })(t3, e3);\n      }, function(t3, e3) {\n        if (\"function\" != typeof e3 && null !== e3)\n          throw new TypeError(\"Class extends value \" + String(e3) + \" is not a constructor or null\");\n        function r3() {\n          this.constructor = t3;\n        }\n        i(t3, e3), t3.prototype = null === e3 ? Object.create(e3) : (r3.prototype = e3.prototype, new r3());\n      }), s = /^\\w[\\w\\d+.-]*$/, c = /^\\//, f2 = /^\\/\\//;\n      function u(t3, e3) {\n        if (!t3.scheme && e3)\n          throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'.concat(t3.authority, '\", path: \"').concat(t3.path, '\", query: \"').concat(t3.query, '\", fragment: \"').concat(t3.fragment, '\"}'));\n        if (t3.scheme && !s.test(t3.scheme))\n          throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n        if (t3.path) {\n          if (t3.authority) {\n            if (!c.test(t3.path))\n              throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n          } else if (f2.test(t3.path))\n            throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n      var l = \"\", p = \"/\", g = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/, d = function() {\n        function t3(t4, e3, r3, n2, o2, i2) {\n          void 0 === i2 && (i2 = false), \"object\" == typeof t4 ? (this.scheme = t4.scheme || l, this.authority = t4.authority || l, this.path = t4.path || l, this.query = t4.query || l, this.fragment = t4.fragment || l) : (this.scheme = /* @__PURE__ */ function(t5, e4) {\n            return t5 || e4 ? t5 : \"file\";\n          }(t4, i2), this.authority = e3 || l, this.path = function(t5, e4) {\n            switch (t5) {\n              case \"https\":\n              case \"http\":\n              case \"file\":\n                e4 ? e4[0] !== p && (e4 = p + e4) : e4 = p;\n            }\n            return e4;\n          }(this.scheme, r3 || l), this.query = n2 || l, this.fragment = o2 || l, u(this, i2));\n        }\n        return t3.isUri = function(e3) {\n          return e3 instanceof t3 || !!e3 && \"string\" == typeof e3.authority && \"string\" == typeof e3.fragment && \"string\" == typeof e3.path && \"string\" == typeof e3.query && \"string\" == typeof e3.scheme && \"string\" == typeof e3.fsPath && \"function\" == typeof e3.with && \"function\" == typeof e3.toString;\n        }, Object.defineProperty(t3.prototype, \"fsPath\", { get: function() {\n          return A2(this, false);\n        }, enumerable: false, configurable: true }), t3.prototype.with = function(t4) {\n          if (!t4)\n            return this;\n          var e3 = t4.scheme, r3 = t4.authority, n2 = t4.path, o2 = t4.query, i2 = t4.fragment;\n          return void 0 === e3 ? e3 = this.scheme : null === e3 && (e3 = l), void 0 === r3 ? r3 = this.authority : null === r3 && (r3 = l), void 0 === n2 ? n2 = this.path : null === n2 && (n2 = l), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = l), void 0 === i2 ? i2 = this.fragment : null === i2 && (i2 = l), e3 === this.scheme && r3 === this.authority && n2 === this.path && o2 === this.query && i2 === this.fragment ? this : new y(e3, r3, n2, o2, i2);\n        }, t3.parse = function(t4, e3) {\n          void 0 === e3 && (e3 = false);\n          var r3 = g.exec(t4);\n          return r3 ? new y(r3[2] || l, O(r3[4] || l), O(r3[5] || l), O(r3[7] || l), O(r3[9] || l), e3) : new y(l, l, l, l, l);\n        }, t3.file = function(t4) {\n          var e3 = l;\n          if (n && (t4 = t4.replace(/\\\\/g, p)), t4[0] === p && t4[1] === p) {\n            var r3 = t4.indexOf(p, 2);\n            -1 === r3 ? (e3 = t4.substring(2), t4 = p) : (e3 = t4.substring(2, r3), t4 = t4.substring(r3) || p);\n          }\n          return new y(\"file\", e3, t4, l, l);\n        }, t3.from = function(t4) {\n          var e3 = new y(t4.scheme, t4.authority, t4.path, t4.query, t4.fragment);\n          return u(e3, true), e3;\n        }, t3.prototype.toString = function(t4) {\n          return void 0 === t4 && (t4 = false), w(this, t4);\n        }, t3.prototype.toJSON = function() {\n          return this;\n        }, t3.revive = function(e3) {\n          if (e3) {\n            if (e3 instanceof t3)\n              return e3;\n            var r3 = new y(e3);\n            return r3._formatted = e3.external, r3._fsPath = e3._sep === v ? e3.fsPath : null, r3;\n          }\n          return e3;\n        }, t3;\n      }(), v = n ? 1 : void 0, y = function(t3) {\n        function e3() {\n          var e4 = null !== t3 && t3.apply(this, arguments) || this;\n          return e4._formatted = null, e4._fsPath = null, e4;\n        }\n        return h(e3, t3), Object.defineProperty(e3.prototype, \"fsPath\", { get: function() {\n          return this._fsPath || (this._fsPath = A2(this, false)), this._fsPath;\n        }, enumerable: false, configurable: true }), e3.prototype.toString = function(t4) {\n          return void 0 === t4 && (t4 = false), t4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted);\n        }, e3.prototype.toJSON = function() {\n          var t4 = { $mid: 1 };\n          return this._fsPath && (t4.fsPath = this._fsPath, t4._sep = v), this._formatted && (t4.external = this._formatted), this.path && (t4.path = this.path), this.scheme && (t4.scheme = this.scheme), this.authority && (t4.authority = this.authority), this.query && (t4.query = this.query), this.fragment && (t4.fragment = this.fragment), t4;\n        }, e3;\n      }(d), m = ((a2 = {})[58] = \"%3A\", a2[47] = \"%2F\", a2[63] = \"%3F\", a2[35] = \"%23\", a2[91] = \"%5B\", a2[93] = \"%5D\", a2[64] = \"%40\", a2[33] = \"%21\", a2[36] = \"%24\", a2[38] = \"%26\", a2[39] = \"%27\", a2[40] = \"%28\", a2[41] = \"%29\", a2[42] = \"%2A\", a2[43] = \"%2B\", a2[44] = \"%2C\", a2[59] = \"%3B\", a2[61] = \"%3D\", a2[32] = \"%20\", a2);\n      function b(t3, e3) {\n        for (var r3 = void 0, n2 = -1, o2 = 0; o2 < t3.length; o2++) {\n          var i2 = t3.charCodeAt(o2);\n          if (i2 >= 97 && i2 <= 122 || i2 >= 65 && i2 <= 90 || i2 >= 48 && i2 <= 57 || 45 === i2 || 46 === i2 || 95 === i2 || 126 === i2 || e3 && 47 === i2)\n            -1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2, o2)), n2 = -1), void 0 !== r3 && (r3 += t3.charAt(o2));\n          else {\n            void 0 === r3 && (r3 = t3.substr(0, o2));\n            var a3 = m[i2];\n            void 0 !== a3 ? (-1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2, o2)), n2 = -1), r3 += a3) : -1 === n2 && (n2 = o2);\n          }\n        }\n        return -1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2))), void 0 !== r3 ? r3 : t3;\n      }\n      function C(t3) {\n        for (var e3 = void 0, r3 = 0; r3 < t3.length; r3++) {\n          var n2 = t3.charCodeAt(r3);\n          35 === n2 || 63 === n2 ? (void 0 === e3 && (e3 = t3.substr(0, r3)), e3 += m[n2]) : void 0 !== e3 && (e3 += t3[r3]);\n        }\n        return void 0 !== e3 ? e3 : t3;\n      }\n      function A2(t3, e3) {\n        var r3;\n        return r3 = t3.authority && t3.path.length > 1 && \"file\" === t3.scheme ? \"//\".concat(t3.authority).concat(t3.path) : 47 === t3.path.charCodeAt(0) && (t3.path.charCodeAt(1) >= 65 && t3.path.charCodeAt(1) <= 90 || t3.path.charCodeAt(1) >= 97 && t3.path.charCodeAt(1) <= 122) && 58 === t3.path.charCodeAt(2) ? e3 ? t3.path.substr(1) : t3.path[1].toLowerCase() + t3.path.substr(2) : t3.path, n && (r3 = r3.replace(/\\//g, \"\\\\\")), r3;\n      }\n      function w(t3, e3) {\n        var r3 = e3 ? C : b, n2 = \"\", o2 = t3.scheme, i2 = t3.authority, a3 = t3.path, h2 = t3.query, s2 = t3.fragment;\n        if (o2 && (n2 += o2, n2 += \":\"), (i2 || \"file\" === o2) && (n2 += p, n2 += p), i2) {\n          var c2 = i2.indexOf(\"@\");\n          if (-1 !== c2) {\n            var f3 = i2.substr(0, c2);\n            i2 = i2.substr(c2 + 1), -1 === (c2 = f3.indexOf(\":\")) ? n2 += r3(f3, false) : (n2 += r3(f3.substr(0, c2), false), n2 += \":\", n2 += r3(f3.substr(c2 + 1), false)), n2 += \"@\";\n          }\n          -1 === (c2 = (i2 = i2.toLowerCase()).indexOf(\":\")) ? n2 += r3(i2, false) : (n2 += r3(i2.substr(0, c2), false), n2 += i2.substr(c2));\n        }\n        if (a3) {\n          if (a3.length >= 3 && 47 === a3.charCodeAt(0) && 58 === a3.charCodeAt(2))\n            (u2 = a3.charCodeAt(1)) >= 65 && u2 <= 90 && (a3 = \"/\".concat(String.fromCharCode(u2 + 32), \":\").concat(a3.substr(3)));\n          else if (a3.length >= 2 && 58 === a3.charCodeAt(1)) {\n            var u2;\n            (u2 = a3.charCodeAt(0)) >= 65 && u2 <= 90 && (a3 = \"\".concat(String.fromCharCode(u2 + 32), \":\").concat(a3.substr(2)));\n          }\n          n2 += r3(a3, true);\n        }\n        return h2 && (n2 += \"?\", n2 += r3(h2, false)), s2 && (n2 += \"#\", n2 += e3 ? s2 : b(s2, false)), n2;\n      }\n      function x(t3) {\n        try {\n          return decodeURIComponent(t3);\n        } catch (e3) {\n          return t3.length > 3 ? t3.substr(0, 3) + x(t3.substr(3)) : t3;\n        }\n      }\n      var _ = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n      function O(t3) {\n        return t3.match(_) ? t3.replace(_, function(t4) {\n          return x(t4);\n        }) : t3;\n      }\n      var P, j = r2(470), U = function(t3, e3, r3) {\n        if (r3 || 2 === arguments.length)\n          for (var n2, o2 = 0, i2 = e3.length; o2 < i2; o2++)\n            !n2 && o2 in e3 || (n2 || (n2 = Array.prototype.slice.call(e3, 0, o2)), n2[o2] = e3[o2]);\n        return t3.concat(n2 || Array.prototype.slice.call(e3));\n      }, I = j.posix || j;\n      !function(t3) {\n        t3.joinPath = function(t4) {\n          for (var e3 = [], r3 = 1; r3 < arguments.length; r3++)\n            e3[r3 - 1] = arguments[r3];\n          return t4.with({ path: I.join.apply(I, U([t4.path], e3, false)) });\n        }, t3.resolvePath = function(t4) {\n          for (var e3 = [], r3 = 1; r3 < arguments.length; r3++)\n            e3[r3 - 1] = arguments[r3];\n          var n2 = t4.path || \"/\";\n          return t4.with({ path: I.resolve.apply(I, U([n2], e3, false)) });\n        }, t3.dirname = function(t4) {\n          var e3 = I.dirname(t4.path);\n          return 1 === e3.length && 46 === e3.charCodeAt(0) ? t4 : t4.with({ path: e3 });\n        }, t3.basename = function(t4) {\n          return I.basename(t4.path);\n        }, t3.extname = function(t4) {\n          return I.extname(t4.path);\n        };\n      }(P || (P = {}));\n    } }, e = {};\n    function r(n) {\n      if (e[n])\n        return e[n].exports;\n      var o = e[n] = { exports: {} };\n      return t[n](o, o.exports, r), o.exports;\n    }\n    return r.d = (t2, e2) => {\n      for (var n in e2)\n        r.o(e2, n) && !r.o(t2, n) && Object.defineProperty(t2, n, { enumerable: true, get: e2[n] });\n    }, r.o = (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), r.r = (t2) => {\n      \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: \"Module\" }), Object.defineProperty(t2, \"__esModule\", { value: true });\n    }, r(447);\n  })();\n  var { URI: URI2, Utils } = LIB;\n  var __spreadArray2 = function(to, from, pack) {\n    if (pack || arguments.length === 2)\n      for (var i = 0, l = from.length, ar; i < l; i++) {\n        if (ar || !(i in from)) {\n          if (!ar)\n            ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n        }\n      }\n    return to.concat(ar || Array.prototype.slice.call(from));\n  };\n  function dirname2(uriString) {\n    return Utils.dirname(URI2.parse(uriString)).toString();\n  }\n  function joinPath(uriString) {\n    var paths = [];\n    for (var _i = 1; _i < arguments.length; _i++) {\n      paths[_i - 1] = arguments[_i];\n    }\n    return Utils.joinPath.apply(Utils, __spreadArray2([URI2.parse(uriString)], paths, false)).toString();\n  }\n  var __awaiter = function(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function(resolve2) {\n        resolve2(value);\n      });\n    }\n    return new (P || (P = Promise))(function(resolve2, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  };\n  var __generator = function(thisArg, body) {\n    var _ = { label: 0, sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    }, trys: [], ops: [] }, f2, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n      return this;\n    }), g;\n    function verb(n) {\n      return function(v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f2)\n        throw new TypeError(\"Generator is already executing.\");\n      while (_)\n        try {\n          if (f2 = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n            return t;\n          if (y = 0, t)\n            op = [op[0] & 2, t.value];\n          switch (op[0]) {\n            case 0:\n            case 1:\n              t = op;\n              break;\n            case 4:\n              _.label++;\n              return { value: op[1], done: false };\n            case 5:\n              _.label++;\n              y = op[1];\n              op = [0];\n              continue;\n            case 7:\n              op = _.ops.pop();\n              _.trys.pop();\n              continue;\n            default:\n              if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                _ = 0;\n                continue;\n              }\n              if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                _.label = op[1];\n                break;\n              }\n              if (op[0] === 6 && _.label < t[1]) {\n                _.label = t[1];\n                t = op;\n                break;\n              }\n              if (t && _.label < t[2]) {\n                _.label = t[2];\n                _.ops.push(op);\n                break;\n              }\n              if (t[2])\n                _.ops.pop();\n              _.trys.pop();\n              continue;\n          }\n          op = body.call(thisArg, _);\n        } catch (e) {\n          op = [6, e];\n          y = 0;\n        } finally {\n          f2 = t = 0;\n        }\n      if (op[0] & 5)\n        throw op[1];\n      return { value: op[0] ? op[1] : void 0, done: true };\n    }\n  };\n  var PathCompletionParticipant = (\n    /** @class */\n    function() {\n      function PathCompletionParticipant2(readDirectory) {\n        this.readDirectory = readDirectory;\n        this.literalCompletions = [];\n        this.importCompletions = [];\n      }\n      PathCompletionParticipant2.prototype.onCssURILiteralValue = function(context) {\n        this.literalCompletions.push(context);\n      };\n      PathCompletionParticipant2.prototype.onCssImportPath = function(context) {\n        this.importCompletions.push(context);\n      };\n      PathCompletionParticipant2.prototype.computeCompletions = function(document2, documentContext) {\n        return __awaiter(this, void 0, void 0, function() {\n          var result, _i, _a22, literalCompletion, uriValue, fullValue, items, _b3, items_1, item, _c, _d, importCompletion, pathValue, fullValue, suggestions, _e, suggestions_1, item;\n          return __generator(this, function(_f2) {\n            switch (_f2.label) {\n              case 0:\n                result = { items: [], isIncomplete: false };\n                _i = 0, _a22 = this.literalCompletions;\n                _f2.label = 1;\n              case 1:\n                if (!(_i < _a22.length))\n                  return [3, 5];\n                literalCompletion = _a22[_i];\n                uriValue = literalCompletion.uriValue;\n                fullValue = stripQuotes(uriValue);\n                if (!(fullValue === \".\" || fullValue === \"..\"))\n                  return [3, 2];\n                result.isIncomplete = true;\n                return [3, 4];\n              case 2:\n                return [4, this.providePathSuggestions(uriValue, literalCompletion.position, literalCompletion.range, document2, documentContext)];\n              case 3:\n                items = _f2.sent();\n                for (_b3 = 0, items_1 = items; _b3 < items_1.length; _b3++) {\n                  item = items_1[_b3];\n                  result.items.push(item);\n                }\n                _f2.label = 4;\n              case 4:\n                _i++;\n                return [3, 1];\n              case 5:\n                _c = 0, _d = this.importCompletions;\n                _f2.label = 6;\n              case 6:\n                if (!(_c < _d.length))\n                  return [3, 10];\n                importCompletion = _d[_c];\n                pathValue = importCompletion.pathValue;\n                fullValue = stripQuotes(pathValue);\n                if (!(fullValue === \".\" || fullValue === \"..\"))\n                  return [3, 7];\n                result.isIncomplete = true;\n                return [3, 9];\n              case 7:\n                return [4, this.providePathSuggestions(pathValue, importCompletion.position, importCompletion.range, document2, documentContext)];\n              case 8:\n                suggestions = _f2.sent();\n                if (document2.languageId === \"scss\") {\n                  suggestions.forEach(function(s) {\n                    if (startsWith(s.label, \"_\") && endsWith(s.label, \".scss\")) {\n                      if (s.textEdit) {\n                        s.textEdit.newText = s.label.slice(1, -5);\n                      } else {\n                        s.label = s.label.slice(1, -5);\n                      }\n                    }\n                  });\n                }\n                for (_e = 0, suggestions_1 = suggestions; _e < suggestions_1.length; _e++) {\n                  item = suggestions_1[_e];\n                  result.items.push(item);\n                }\n                _f2.label = 9;\n              case 9:\n                _c++;\n                return [3, 6];\n              case 10:\n                return [2, result];\n            }\n          });\n        });\n      };\n      PathCompletionParticipant2.prototype.providePathSuggestions = function(pathValue, position, range, document2, documentContext) {\n        return __awaiter(this, void 0, void 0, function() {\n          var fullValue, isValueQuoted, valueBeforeCursor, currentDocUri, fullValueRange, replaceRange, valueBeforeLastSlash, parentDir, result, infos, _i, infos_1, _a22, name, type, e_1;\n          return __generator(this, function(_b3) {\n            switch (_b3.label) {\n              case 0:\n                fullValue = stripQuotes(pathValue);\n                isValueQuoted = startsWith(pathValue, \"'\") || startsWith(pathValue, '\"');\n                valueBeforeCursor = isValueQuoted ? fullValue.slice(0, position.character - (range.start.character + 1)) : fullValue.slice(0, position.character - range.start.character);\n                currentDocUri = document2.uri;\n                fullValueRange = isValueQuoted ? shiftRange(range, 1, -1) : range;\n                replaceRange = pathToReplaceRange(valueBeforeCursor, fullValue, fullValueRange);\n                valueBeforeLastSlash = valueBeforeCursor.substring(0, valueBeforeCursor.lastIndexOf(\"/\") + 1);\n                parentDir = documentContext.resolveReference(valueBeforeLastSlash || \".\", currentDocUri);\n                if (!parentDir)\n                  return [3, 4];\n                _b3.label = 1;\n              case 1:\n                _b3.trys.push([1, 3, , 4]);\n                result = [];\n                return [4, this.readDirectory(parentDir)];\n              case 2:\n                infos = _b3.sent();\n                for (_i = 0, infos_1 = infos; _i < infos_1.length; _i++) {\n                  _a22 = infos_1[_i], name = _a22[0], type = _a22[1];\n                  if (name.charCodeAt(0) !== CharCode_dot && (type === FileType.Directory || joinPath(parentDir, name) !== currentDocUri)) {\n                    result.push(createCompletionItem(name, type === FileType.Directory, replaceRange));\n                  }\n                }\n                return [2, result];\n              case 3:\n                e_1 = _b3.sent();\n                return [3, 4];\n              case 4:\n                return [2, []];\n            }\n          });\n        });\n      };\n      return PathCompletionParticipant2;\n    }()\n  );\n  var CharCode_dot = \".\".charCodeAt(0);\n  function stripQuotes(fullValue) {\n    if (startsWith(fullValue, \"'\") || startsWith(fullValue, '\"')) {\n      return fullValue.slice(1, -1);\n    } else {\n      return fullValue;\n    }\n  }\n  function pathToReplaceRange(valueBeforeCursor, fullValue, fullValueRange) {\n    var replaceRange;\n    var lastIndexOfSlash = valueBeforeCursor.lastIndexOf(\"/\");\n    if (lastIndexOfSlash === -1) {\n      replaceRange = fullValueRange;\n    } else {\n      var valueAfterLastSlash = fullValue.slice(lastIndexOfSlash + 1);\n      var startPos = shiftPosition(fullValueRange.end, -valueAfterLastSlash.length);\n      var whitespaceIndex = valueAfterLastSlash.indexOf(\" \");\n      var endPos = void 0;\n      if (whitespaceIndex !== -1) {\n        endPos = shiftPosition(startPos, whitespaceIndex);\n      } else {\n        endPos = fullValueRange.end;\n      }\n      replaceRange = Range2.create(startPos, endPos);\n    }\n    return replaceRange;\n  }\n  function createCompletionItem(name, isDir, replaceRange) {\n    if (isDir) {\n      name = name + \"/\";\n      return {\n        label: escapePath(name),\n        kind: CompletionItemKind2.Folder,\n        textEdit: TextEdit.replace(replaceRange, escapePath(name)),\n        command: {\n          title: \"Suggest\",\n          command: \"editor.action.triggerSuggest\"\n        }\n      };\n    } else {\n      return {\n        label: escapePath(name),\n        kind: CompletionItemKind2.File,\n        textEdit: TextEdit.replace(replaceRange, escapePath(name))\n      };\n    }\n  }\n  function escapePath(p) {\n    return p.replace(/(\\s|\\(|\\)|,|\"|')/g, \"\\\\$1\");\n  }\n  function shiftPosition(pos, offset) {\n    return Position2.create(pos.line, pos.character + offset);\n  }\n  function shiftRange(range, startOffset, endOffset) {\n    var start = shiftPosition(range.start, startOffset);\n    var end = shiftPosition(range.end, endOffset);\n    return Range2.create(start, end);\n  }\n  var __awaiter2 = function(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function(resolve2) {\n        resolve2(value);\n      });\n    }\n    return new (P || (P = Promise))(function(resolve2, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  };\n  var __generator2 = function(thisArg, body) {\n    var _ = { label: 0, sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    }, trys: [], ops: [] }, f2, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n      return this;\n    }), g;\n    function verb(n) {\n      return function(v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f2)\n        throw new TypeError(\"Generator is already executing.\");\n      while (_)\n        try {\n          if (f2 = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n            return t;\n          if (y = 0, t)\n            op = [op[0] & 2, t.value];\n          switch (op[0]) {\n            case 0:\n            case 1:\n              t = op;\n              break;\n            case 4:\n              _.label++;\n              return { value: op[1], done: false };\n            case 5:\n              _.label++;\n              y = op[1];\n              op = [0];\n              continue;\n            case 7:\n              op = _.ops.pop();\n              _.trys.pop();\n              continue;\n            default:\n              if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                _ = 0;\n                continue;\n              }\n              if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                _.label = op[1];\n                break;\n              }\n              if (op[0] === 6 && _.label < t[1]) {\n                _.label = t[1];\n                t = op;\n                break;\n              }\n              if (t && _.label < t[2]) {\n                _.label = t[2];\n                _.ops.push(op);\n                break;\n              }\n              if (t[2])\n                _.ops.pop();\n              _.trys.pop();\n              continue;\n          }\n          op = body.call(thisArg, _);\n        } catch (e) {\n          op = [6, e];\n          y = 0;\n        } finally {\n          f2 = t = 0;\n        }\n      if (op[0] & 5)\n        throw op[1];\n      return { value: op[0] ? op[1] : void 0, done: true };\n    }\n  };\n  var localize4 = loadMessageBundle();\n  var SnippetFormat = InsertTextFormat.Snippet;\n  var retriggerCommand = {\n    title: \"Suggest\",\n    command: \"editor.action.triggerSuggest\"\n  };\n  var SortTexts;\n  (function(SortTexts2) {\n    SortTexts2[\"Enums\"] = \" \";\n    SortTexts2[\"Normal\"] = \"d\";\n    SortTexts2[\"VendorPrefixed\"] = \"x\";\n    SortTexts2[\"Term\"] = \"y\";\n    SortTexts2[\"Variable\"] = \"z\";\n  })(SortTexts || (SortTexts = {}));\n  var CSSCompletion = (\n    /** @class */\n    function() {\n      function CSSCompletion2(variablePrefix, lsOptions, cssDataManager) {\n        if (variablePrefix === void 0) {\n          variablePrefix = null;\n        }\n        this.variablePrefix = variablePrefix;\n        this.lsOptions = lsOptions;\n        this.cssDataManager = cssDataManager;\n        this.completionParticipants = [];\n      }\n      CSSCompletion2.prototype.configure = function(settings) {\n        this.defaultSettings = settings;\n      };\n      CSSCompletion2.prototype.getSymbolContext = function() {\n        if (!this.symbolContext) {\n          this.symbolContext = new Symbols(this.styleSheet);\n        }\n        return this.symbolContext;\n      };\n      CSSCompletion2.prototype.setCompletionParticipants = function(registeredCompletionParticipants) {\n        this.completionParticipants = registeredCompletionParticipants || [];\n      };\n      CSSCompletion2.prototype.doComplete2 = function(document2, position, styleSheet, documentContext, completionSettings) {\n        if (completionSettings === void 0) {\n          completionSettings = this.defaultSettings;\n        }\n        return __awaiter2(this, void 0, void 0, function() {\n          var participant, contributedParticipants, result, pathCompletionResult;\n          return __generator2(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                if (!this.lsOptions.fileSystemProvider || !this.lsOptions.fileSystemProvider.readDirectory) {\n                  return [2, this.doComplete(document2, position, styleSheet, completionSettings)];\n                }\n                participant = new PathCompletionParticipant(this.lsOptions.fileSystemProvider.readDirectory);\n                contributedParticipants = this.completionParticipants;\n                this.completionParticipants = [participant].concat(contributedParticipants);\n                result = this.doComplete(document2, position, styleSheet, completionSettings);\n                _a22.label = 1;\n              case 1:\n                _a22.trys.push([1, , 3, 4]);\n                return [4, participant.computeCompletions(document2, documentContext)];\n              case 2:\n                pathCompletionResult = _a22.sent();\n                return [2, {\n                  isIncomplete: result.isIncomplete || pathCompletionResult.isIncomplete,\n                  items: pathCompletionResult.items.concat(result.items)\n                }];\n              case 3:\n                this.completionParticipants = contributedParticipants;\n                return [\n                  7\n                  /*endfinally*/\n                ];\n              case 4:\n                return [\n                  2\n                  /*return*/\n                ];\n            }\n          });\n        });\n      };\n      CSSCompletion2.prototype.doComplete = function(document2, position, styleSheet, documentSettings) {\n        this.offset = document2.offsetAt(position);\n        this.position = position;\n        this.currentWord = getCurrentWord(document2, this.offset);\n        this.defaultReplaceRange = Range2.create(Position2.create(this.position.line, this.position.character - this.currentWord.length), this.position);\n        this.textDocument = document2;\n        this.styleSheet = styleSheet;\n        this.documentSettings = documentSettings;\n        try {\n          var result = { isIncomplete: false, items: [] };\n          this.nodePath = getNodePath(this.styleSheet, this.offset);\n          for (var i = this.nodePath.length - 1; i >= 0; i--) {\n            var node = this.nodePath[i];\n            if (node instanceof Property) {\n              this.getCompletionsForDeclarationProperty(node.getParent(), result);\n            } else if (node instanceof Expression) {\n              if (node.parent instanceof Interpolation) {\n                this.getVariableProposals(null, result);\n              } else {\n                this.getCompletionsForExpression(node, result);\n              }\n            } else if (node instanceof SimpleSelector) {\n              var parentRef = node.findAParent(NodeType.ExtendsReference, NodeType.Ruleset);\n              if (parentRef) {\n                if (parentRef.type === NodeType.ExtendsReference) {\n                  this.getCompletionsForExtendsReference(parentRef, node, result);\n                } else {\n                  var parentRuleSet = parentRef;\n                  this.getCompletionsForSelector(parentRuleSet, parentRuleSet && parentRuleSet.isNested(), result);\n                }\n              }\n            } else if (node instanceof FunctionArgument) {\n              this.getCompletionsForFunctionArgument(node, node.getParent(), result);\n            } else if (node instanceof Declarations) {\n              this.getCompletionsForDeclarations(node, result);\n            } else if (node instanceof VariableDeclaration) {\n              this.getCompletionsForVariableDeclaration(node, result);\n            } else if (node instanceof RuleSet) {\n              this.getCompletionsForRuleSet(node, result);\n            } else if (node instanceof Interpolation) {\n              this.getCompletionsForInterpolation(node, result);\n            } else if (node instanceof FunctionDeclaration) {\n              this.getCompletionsForFunctionDeclaration(node, result);\n            } else if (node instanceof MixinReference) {\n              this.getCompletionsForMixinReference(node, result);\n            } else if (node instanceof Function) {\n              this.getCompletionsForFunctionArgument(null, node, result);\n            } else if (node instanceof Supports) {\n              this.getCompletionsForSupports(node, result);\n            } else if (node instanceof SupportsCondition) {\n              this.getCompletionsForSupportsCondition(node, result);\n            } else if (node instanceof ExtendsReference) {\n              this.getCompletionsForExtendsReference(node, null, result);\n            } else if (node.type === NodeType.URILiteral) {\n              this.getCompletionForUriLiteralValue(node, result);\n            } else if (node.parent === null) {\n              this.getCompletionForTopLevel(result);\n            } else if (node.type === NodeType.StringLiteral && this.isImportPathParent(node.parent.type)) {\n              this.getCompletionForImportPath(node, result);\n            } else {\n              continue;\n            }\n            if (result.items.length > 0 || this.offset > node.offset) {\n              return this.finalize(result);\n            }\n          }\n          this.getCompletionsForStylesheet(result);\n          if (result.items.length === 0) {\n            if (this.variablePrefix && this.currentWord.indexOf(this.variablePrefix) === 0) {\n              this.getVariableProposals(null, result);\n            }\n          }\n          return this.finalize(result);\n        } finally {\n          this.position = null;\n          this.currentWord = null;\n          this.textDocument = null;\n          this.styleSheet = null;\n          this.symbolContext = null;\n          this.defaultReplaceRange = null;\n          this.nodePath = null;\n        }\n      };\n      CSSCompletion2.prototype.isImportPathParent = function(type) {\n        return type === NodeType.Import;\n      };\n      CSSCompletion2.prototype.finalize = function(result) {\n        return result;\n      };\n      CSSCompletion2.prototype.findInNodePath = function() {\n        var types = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n          types[_i] = arguments[_i];\n        }\n        for (var i = this.nodePath.length - 1; i >= 0; i--) {\n          var node = this.nodePath[i];\n          if (types.indexOf(node.type) !== -1) {\n            return node;\n          }\n        }\n        return null;\n      };\n      CSSCompletion2.prototype.getCompletionsForDeclarationProperty = function(declaration, result) {\n        return this.getPropertyProposals(declaration, result);\n      };\n      CSSCompletion2.prototype.getPropertyProposals = function(declaration, result) {\n        var _this = this;\n        var triggerPropertyValueCompletion = this.isTriggerPropertyValueCompletionEnabled;\n        var completePropertyWithSemicolon = this.isCompletePropertyWithSemicolonEnabled;\n        var properties = this.cssDataManager.getProperties();\n        properties.forEach(function(entry) {\n          var range;\n          var insertText;\n          var retrigger = false;\n          if (declaration) {\n            range = _this.getCompletionRange(declaration.getProperty());\n            insertText = entry.name;\n            if (!isDefined(declaration.colonPosition)) {\n              insertText += \": \";\n              retrigger = true;\n            }\n          } else {\n            range = _this.getCompletionRange(null);\n            insertText = entry.name + \": \";\n            retrigger = true;\n          }\n          if (!declaration && completePropertyWithSemicolon) {\n            insertText += \"$0;\";\n          }\n          if (declaration && !declaration.semicolonPosition) {\n            if (completePropertyWithSemicolon && _this.offset >= _this.textDocument.offsetAt(range.end)) {\n              insertText += \"$0;\";\n            }\n          }\n          var item = {\n            label: entry.name,\n            documentation: getEntryDescription(entry, _this.doesSupportMarkdown()),\n            tags: isDeprecated(entry) ? [CompletionItemTag2.Deprecated] : [],\n            textEdit: TextEdit.replace(range, insertText),\n            insertTextFormat: InsertTextFormat.Snippet,\n            kind: CompletionItemKind2.Property\n          };\n          if (!entry.restrictions) {\n            retrigger = false;\n          }\n          if (triggerPropertyValueCompletion && retrigger) {\n            item.command = retriggerCommand;\n          }\n          var relevance = typeof entry.relevance === \"number\" ? Math.min(Math.max(entry.relevance, 0), 99) : 50;\n          var sortTextSuffix = (255 - relevance).toString(16);\n          var sortTextPrefix = startsWith(entry.name, \"-\") ? SortTexts.VendorPrefixed : SortTexts.Normal;\n          item.sortText = sortTextPrefix + \"_\" + sortTextSuffix;\n          result.items.push(item);\n        });\n        this.completionParticipants.forEach(function(participant) {\n          if (participant.onCssProperty) {\n            participant.onCssProperty({\n              propertyName: _this.currentWord,\n              range: _this.defaultReplaceRange\n            });\n          }\n        });\n        return result;\n      };\n      Object.defineProperty(CSSCompletion2.prototype, \"isTriggerPropertyValueCompletionEnabled\", {\n        get: function() {\n          var _a22, _b3;\n          return (_b3 = (_a22 = this.documentSettings) === null || _a22 === void 0 ? void 0 : _a22.triggerPropertyValueCompletion) !== null && _b3 !== void 0 ? _b3 : true;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(CSSCompletion2.prototype, \"isCompletePropertyWithSemicolonEnabled\", {\n        get: function() {\n          var _a22, _b3;\n          return (_b3 = (_a22 = this.documentSettings) === null || _a22 === void 0 ? void 0 : _a22.completePropertyWithSemicolon) !== null && _b3 !== void 0 ? _b3 : true;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      CSSCompletion2.prototype.getCompletionsForDeclarationValue = function(node, result) {\n        var _this = this;\n        var propertyName = node.getFullPropertyName();\n        var entry = this.cssDataManager.getProperty(propertyName);\n        var existingNode = node.getValue() || null;\n        while (existingNode && existingNode.hasChildren()) {\n          existingNode = existingNode.findChildAtOffset(this.offset, false);\n        }\n        this.completionParticipants.forEach(function(participant) {\n          if (participant.onCssPropertyValue) {\n            participant.onCssPropertyValue({\n              propertyName,\n              propertyValue: _this.currentWord,\n              range: _this.getCompletionRange(existingNode)\n            });\n          }\n        });\n        if (entry) {\n          if (entry.restrictions) {\n            for (var _i = 0, _a22 = entry.restrictions; _i < _a22.length; _i++) {\n              var restriction = _a22[_i];\n              switch (restriction) {\n                case \"color\":\n                  this.getColorProposals(entry, existingNode, result);\n                  break;\n                case \"position\":\n                  this.getPositionProposals(entry, existingNode, result);\n                  break;\n                case \"repeat\":\n                  this.getRepeatStyleProposals(entry, existingNode, result);\n                  break;\n                case \"line-style\":\n                  this.getLineStyleProposals(entry, existingNode, result);\n                  break;\n                case \"line-width\":\n                  this.getLineWidthProposals(entry, existingNode, result);\n                  break;\n                case \"geometry-box\":\n                  this.getGeometryBoxProposals(entry, existingNode, result);\n                  break;\n                case \"box\":\n                  this.getBoxProposals(entry, existingNode, result);\n                  break;\n                case \"image\":\n                  this.getImageProposals(entry, existingNode, result);\n                  break;\n                case \"timing-function\":\n                  this.getTimingFunctionProposals(entry, existingNode, result);\n                  break;\n                case \"shape\":\n                  this.getBasicShapeProposals(entry, existingNode, result);\n                  break;\n              }\n            }\n          }\n          this.getValueEnumProposals(entry, existingNode, result);\n          this.getCSSWideKeywordProposals(entry, existingNode, result);\n          this.getUnitProposals(entry, existingNode, result);\n        } else {\n          var existingValues = collectValues(this.styleSheet, node);\n          for (var _b3 = 0, _c = existingValues.getEntries(); _b3 < _c.length; _b3++) {\n            var existingValue = _c[_b3];\n            result.items.push({\n              label: existingValue,\n              textEdit: TextEdit.replace(this.getCompletionRange(existingNode), existingValue),\n              kind: CompletionItemKind2.Value\n            });\n          }\n        }\n        this.getVariableProposals(existingNode, result);\n        this.getTermProposals(entry, existingNode, result);\n        return result;\n      };\n      CSSCompletion2.prototype.getValueEnumProposals = function(entry, existingNode, result) {\n        if (entry.values) {\n          for (var _i = 0, _a22 = entry.values; _i < _a22.length; _i++) {\n            var value = _a22[_i];\n            var insertString = value.name;\n            var insertTextFormat = void 0;\n            if (endsWith(insertString, \")\")) {\n              var from = insertString.lastIndexOf(\"(\");\n              if (from !== -1) {\n                insertString = insertString.substr(0, from) + \"($1)\";\n                insertTextFormat = SnippetFormat;\n              }\n            }\n            var sortText = SortTexts.Enums;\n            if (startsWith(value.name, \"-\")) {\n              sortText += SortTexts.VendorPrefixed;\n            }\n            var item = {\n              label: value.name,\n              documentation: getEntryDescription(value, this.doesSupportMarkdown()),\n              tags: isDeprecated(entry) ? [CompletionItemTag2.Deprecated] : [],\n              textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertString),\n              sortText,\n              kind: CompletionItemKind2.Value,\n              insertTextFormat\n            };\n            result.items.push(item);\n          }\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCSSWideKeywordProposals = function(entry, existingNode, result) {\n        for (var keywords in cssWideKeywords) {\n          result.items.push({\n            label: keywords,\n            documentation: cssWideKeywords[keywords],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), keywords),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        for (var func in cssWideFunctions) {\n          var insertText = moveCursorInsideParenthesis(func);\n          result.items.push({\n            label: func,\n            documentation: cssWideFunctions[func],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n            kind: CompletionItemKind2.Function,\n            insertTextFormat: SnippetFormat,\n            command: startsWith(func, \"var\") ? retriggerCommand : void 0\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForInterpolation = function(node, result) {\n        if (this.offset >= node.offset + 2) {\n          this.getVariableProposals(null, result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getVariableProposals = function(existingNode, result) {\n        var symbols = this.getSymbolContext().findSymbolsAtOffset(this.offset, ReferenceType.Variable);\n        for (var _i = 0, symbols_1 = symbols; _i < symbols_1.length; _i++) {\n          var symbol = symbols_1[_i];\n          var insertText = startsWith(symbol.name, \"--\") ? \"var(\".concat(symbol.name, \")\") : symbol.name;\n          var completionItem = {\n            label: symbol.name,\n            documentation: symbol.value ? getLimitedString(symbol.value) : symbol.value,\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n            kind: CompletionItemKind2.Variable,\n            sortText: SortTexts.Variable\n          };\n          if (typeof completionItem.documentation === \"string\" && isColorString(completionItem.documentation)) {\n            completionItem.kind = CompletionItemKind2.Color;\n          }\n          if (symbol.node.type === NodeType.FunctionParameter) {\n            var mixinNode = symbol.node.getParent();\n            if (mixinNode.type === NodeType.MixinDeclaration) {\n              completionItem.detail = localize4(\"completion.argument\", \"argument from '{0}'\", mixinNode.getName());\n            }\n          }\n          result.items.push(completionItem);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getVariableProposalsForCSSVarFunction = function(result) {\n        var allReferencedVariables = new Set2();\n        this.styleSheet.acceptVisitor(new VariableCollector(allReferencedVariables, this.offset));\n        var symbols = this.getSymbolContext().findSymbolsAtOffset(this.offset, ReferenceType.Variable);\n        for (var _i = 0, symbols_2 = symbols; _i < symbols_2.length; _i++) {\n          var symbol = symbols_2[_i];\n          if (startsWith(symbol.name, \"--\")) {\n            var completionItem = {\n              label: symbol.name,\n              documentation: symbol.value ? getLimitedString(symbol.value) : symbol.value,\n              textEdit: TextEdit.replace(this.getCompletionRange(null), symbol.name),\n              kind: CompletionItemKind2.Variable\n            };\n            if (typeof completionItem.documentation === \"string\" && isColorString(completionItem.documentation)) {\n              completionItem.kind = CompletionItemKind2.Color;\n            }\n            result.items.push(completionItem);\n          }\n          allReferencedVariables.remove(symbol.name);\n        }\n        for (var _a22 = 0, _b3 = allReferencedVariables.getEntries(); _a22 < _b3.length; _a22++) {\n          var name = _b3[_a22];\n          if (startsWith(name, \"--\")) {\n            var completionItem = {\n              label: name,\n              textEdit: TextEdit.replace(this.getCompletionRange(null), name),\n              kind: CompletionItemKind2.Variable\n            };\n            result.items.push(completionItem);\n          }\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getUnitProposals = function(entry, existingNode, result) {\n        var currentWord = \"0\";\n        if (this.currentWord.length > 0) {\n          var numMatch = this.currentWord.match(/^-?\\d[\\.\\d+]*/);\n          if (numMatch) {\n            currentWord = numMatch[0];\n            result.isIncomplete = currentWord.length === this.currentWord.length;\n          }\n        } else if (this.currentWord.length === 0) {\n          result.isIncomplete = true;\n        }\n        if (existingNode && existingNode.parent && existingNode.parent.type === NodeType.Term) {\n          existingNode = existingNode.getParent();\n        }\n        if (entry.restrictions) {\n          for (var _i = 0, _a22 = entry.restrictions; _i < _a22.length; _i++) {\n            var restriction = _a22[_i];\n            var units2 = units[restriction];\n            if (units2) {\n              for (var _b3 = 0, units_1 = units2; _b3 < units_1.length; _b3++) {\n                var unit = units_1[_b3];\n                var insertText = currentWord + unit;\n                result.items.push({\n                  label: insertText,\n                  textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n                  kind: CompletionItemKind2.Unit\n                });\n              }\n            }\n          }\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionRange = function(existingNode) {\n        if (existingNode && existingNode.offset <= this.offset && this.offset <= existingNode.end) {\n          var end = existingNode.end !== -1 ? this.textDocument.positionAt(existingNode.end) : this.position;\n          var start = this.textDocument.positionAt(existingNode.offset);\n          if (start.line === end.line) {\n            return Range2.create(start, end);\n          }\n        }\n        return this.defaultReplaceRange;\n      };\n      CSSCompletion2.prototype.getColorProposals = function(entry, existingNode, result) {\n        for (var color in colors) {\n          result.items.push({\n            label: color,\n            documentation: colors[color],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), color),\n            kind: CompletionItemKind2.Color\n          });\n        }\n        for (var color in colorKeywords) {\n          result.items.push({\n            label: color,\n            documentation: colorKeywords[color],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), color),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        var colorValues = new Set2();\n        this.styleSheet.acceptVisitor(new ColorValueCollector(colorValues, this.offset));\n        for (var _i = 0, _a22 = colorValues.getEntries(); _i < _a22.length; _i++) {\n          var color = _a22[_i];\n          result.items.push({\n            label: color,\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), color),\n            kind: CompletionItemKind2.Color\n          });\n        }\n        var _loop_1 = function(p2) {\n          var tabStop = 1;\n          var replaceFunction = function(_match, p1) {\n            return \"${\" + tabStop++ + \":\" + p1 + \"}\";\n          };\n          var insertText = p2.func.replace(/\\[?\\$(\\w+)\\]?/g, replaceFunction);\n          result.items.push({\n            label: p2.func.substr(0, p2.func.indexOf(\"(\")),\n            detail: p2.func,\n            documentation: p2.desc,\n            textEdit: TextEdit.replace(this_1.getCompletionRange(existingNode), insertText),\n            insertTextFormat: SnippetFormat,\n            kind: CompletionItemKind2.Function\n          });\n        };\n        var this_1 = this;\n        for (var _b3 = 0, _c = colorFunctions; _b3 < _c.length; _b3++) {\n          var p = _c[_b3];\n          _loop_1(p);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getPositionProposals = function(entry, existingNode, result) {\n        for (var position in positionKeywords) {\n          result.items.push({\n            label: position,\n            documentation: positionKeywords[position],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), position),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getRepeatStyleProposals = function(entry, existingNode, result) {\n        for (var repeat2 in repeatStyleKeywords) {\n          result.items.push({\n            label: repeat2,\n            documentation: repeatStyleKeywords[repeat2],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), repeat2),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getLineStyleProposals = function(entry, existingNode, result) {\n        for (var lineStyle in lineStyleKeywords) {\n          result.items.push({\n            label: lineStyle,\n            documentation: lineStyleKeywords[lineStyle],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), lineStyle),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getLineWidthProposals = function(entry, existingNode, result) {\n        for (var _i = 0, _a22 = lineWidthKeywords; _i < _a22.length; _i++) {\n          var lineWidth = _a22[_i];\n          result.items.push({\n            label: lineWidth,\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), lineWidth),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getGeometryBoxProposals = function(entry, existingNode, result) {\n        for (var box in geometryBoxKeywords) {\n          result.items.push({\n            label: box,\n            documentation: geometryBoxKeywords[box],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), box),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getBoxProposals = function(entry, existingNode, result) {\n        for (var box in boxKeywords) {\n          result.items.push({\n            label: box,\n            documentation: boxKeywords[box],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), box),\n            kind: CompletionItemKind2.Value\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getImageProposals = function(entry, existingNode, result) {\n        for (var image in imageFunctions) {\n          var insertText = moveCursorInsideParenthesis(image);\n          result.items.push({\n            label: image,\n            documentation: imageFunctions[image],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n            kind: CompletionItemKind2.Function,\n            insertTextFormat: image !== insertText ? SnippetFormat : void 0\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getTimingFunctionProposals = function(entry, existingNode, result) {\n        for (var timing in transitionTimingFunctions) {\n          var insertText = moveCursorInsideParenthesis(timing);\n          result.items.push({\n            label: timing,\n            documentation: transitionTimingFunctions[timing],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n            kind: CompletionItemKind2.Function,\n            insertTextFormat: timing !== insertText ? SnippetFormat : void 0\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getBasicShapeProposals = function(entry, existingNode, result) {\n        for (var shape in basicShapeFunctions) {\n          var insertText = moveCursorInsideParenthesis(shape);\n          result.items.push({\n            label: shape,\n            documentation: basicShapeFunctions[shape],\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n            kind: CompletionItemKind2.Function,\n            insertTextFormat: shape !== insertText ? SnippetFormat : void 0\n          });\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForStylesheet = function(result) {\n        var node = this.styleSheet.findFirstChildBeforeOffset(this.offset);\n        if (!node) {\n          return this.getCompletionForTopLevel(result);\n        }\n        if (node instanceof RuleSet) {\n          return this.getCompletionsForRuleSet(node, result);\n        }\n        if (node instanceof Supports) {\n          return this.getCompletionsForSupports(node, result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionForTopLevel = function(result) {\n        var _this = this;\n        this.cssDataManager.getAtDirectives().forEach(function(entry) {\n          result.items.push({\n            label: entry.name,\n            textEdit: TextEdit.replace(_this.getCompletionRange(null), entry.name),\n            documentation: getEntryDescription(entry, _this.doesSupportMarkdown()),\n            tags: isDeprecated(entry) ? [CompletionItemTag2.Deprecated] : [],\n            kind: CompletionItemKind2.Keyword\n          });\n        });\n        this.getCompletionsForSelector(null, false, result);\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForRuleSet = function(ruleSet, result) {\n        var declarations = ruleSet.getDeclarations();\n        var isAfter = declarations && declarations.endsWith(\"}\") && this.offset >= declarations.end;\n        if (isAfter) {\n          return this.getCompletionForTopLevel(result);\n        }\n        var isInSelectors = !declarations || this.offset <= declarations.offset;\n        if (isInSelectors) {\n          return this.getCompletionsForSelector(ruleSet, ruleSet.isNested(), result);\n        }\n        return this.getCompletionsForDeclarations(ruleSet.getDeclarations(), result);\n      };\n      CSSCompletion2.prototype.getCompletionsForSelector = function(ruleSet, isNested, result) {\n        var _this = this;\n        var existingNode = this.findInNodePath(NodeType.PseudoSelector, NodeType.IdentifierSelector, NodeType.ClassSelector, NodeType.ElementNameSelector);\n        if (!existingNode && this.hasCharacterAtPosition(this.offset - this.currentWord.length - 1, \":\")) {\n          this.currentWord = \":\" + this.currentWord;\n          if (this.hasCharacterAtPosition(this.offset - this.currentWord.length - 1, \":\")) {\n            this.currentWord = \":\" + this.currentWord;\n          }\n          this.defaultReplaceRange = Range2.create(Position2.create(this.position.line, this.position.character - this.currentWord.length), this.position);\n        }\n        var pseudoClasses = this.cssDataManager.getPseudoClasses();\n        pseudoClasses.forEach(function(entry2) {\n          var insertText = moveCursorInsideParenthesis(entry2.name);\n          var item = {\n            label: entry2.name,\n            textEdit: TextEdit.replace(_this.getCompletionRange(existingNode), insertText),\n            documentation: getEntryDescription(entry2, _this.doesSupportMarkdown()),\n            tags: isDeprecated(entry2) ? [CompletionItemTag2.Deprecated] : [],\n            kind: CompletionItemKind2.Function,\n            insertTextFormat: entry2.name !== insertText ? SnippetFormat : void 0\n          };\n          if (startsWith(entry2.name, \":-\")) {\n            item.sortText = SortTexts.VendorPrefixed;\n          }\n          result.items.push(item);\n        });\n        var pseudoElements = this.cssDataManager.getPseudoElements();\n        pseudoElements.forEach(function(entry2) {\n          var insertText = moveCursorInsideParenthesis(entry2.name);\n          var item = {\n            label: entry2.name,\n            textEdit: TextEdit.replace(_this.getCompletionRange(existingNode), insertText),\n            documentation: getEntryDescription(entry2, _this.doesSupportMarkdown()),\n            tags: isDeprecated(entry2) ? [CompletionItemTag2.Deprecated] : [],\n            kind: CompletionItemKind2.Function,\n            insertTextFormat: entry2.name !== insertText ? SnippetFormat : void 0\n          };\n          if (startsWith(entry2.name, \"::-\")) {\n            item.sortText = SortTexts.VendorPrefixed;\n          }\n          result.items.push(item);\n        });\n        if (!isNested) {\n          for (var _i = 0, _a22 = html5Tags; _i < _a22.length; _i++) {\n            var entry = _a22[_i];\n            result.items.push({\n              label: entry,\n              textEdit: TextEdit.replace(this.getCompletionRange(existingNode), entry),\n              kind: CompletionItemKind2.Keyword\n            });\n          }\n          for (var _b3 = 0, _c = svgElements; _b3 < _c.length; _b3++) {\n            var entry = _c[_b3];\n            result.items.push({\n              label: entry,\n              textEdit: TextEdit.replace(this.getCompletionRange(existingNode), entry),\n              kind: CompletionItemKind2.Keyword\n            });\n          }\n        }\n        var visited = {};\n        visited[this.currentWord] = true;\n        var docText = this.textDocument.getText();\n        this.styleSheet.accept(function(n) {\n          if (n.type === NodeType.SimpleSelector && n.length > 0) {\n            var selector2 = docText.substr(n.offset, n.length);\n            if (selector2.charAt(0) === \".\" && !visited[selector2]) {\n              visited[selector2] = true;\n              result.items.push({\n                label: selector2,\n                textEdit: TextEdit.replace(_this.getCompletionRange(existingNode), selector2),\n                kind: CompletionItemKind2.Keyword\n              });\n            }\n            return false;\n          }\n          return true;\n        });\n        if (ruleSet && ruleSet.isNested()) {\n          var selector = ruleSet.getSelectors().findFirstChildBeforeOffset(this.offset);\n          if (selector && ruleSet.getSelectors().getChildren().indexOf(selector) === 0) {\n            this.getPropertyProposals(null, result);\n          }\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForDeclarations = function(declarations, result) {\n        if (!declarations || this.offset === declarations.offset) {\n          return result;\n        }\n        var node = declarations.findFirstChildBeforeOffset(this.offset);\n        if (!node) {\n          return this.getCompletionsForDeclarationProperty(null, result);\n        }\n        if (node instanceof AbstractDeclaration) {\n          var declaration = node;\n          if (!isDefined(declaration.colonPosition) || this.offset <= declaration.colonPosition) {\n            return this.getCompletionsForDeclarationProperty(declaration, result);\n          } else if (isDefined(declaration.semicolonPosition) && declaration.semicolonPosition < this.offset) {\n            if (this.offset === declaration.semicolonPosition + 1) {\n              return result;\n            }\n            return this.getCompletionsForDeclarationProperty(null, result);\n          }\n          if (declaration instanceof Declaration) {\n            return this.getCompletionsForDeclarationValue(declaration, result);\n          }\n        } else if (node instanceof ExtendsReference) {\n          this.getCompletionsForExtendsReference(node, null, result);\n        } else if (this.currentWord && this.currentWord[0] === \"@\") {\n          this.getCompletionsForDeclarationProperty(null, result);\n        } else if (node instanceof RuleSet) {\n          this.getCompletionsForDeclarationProperty(null, result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForVariableDeclaration = function(declaration, result) {\n        if (this.offset && isDefined(declaration.colonPosition) && this.offset > declaration.colonPosition) {\n          this.getVariableProposals(declaration.getValue(), result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForExpression = function(expression, result) {\n        var parent = expression.getParent();\n        if (parent instanceof FunctionArgument) {\n          this.getCompletionsForFunctionArgument(parent, parent.getParent(), result);\n          return result;\n        }\n        var declaration = expression.findParent(NodeType.Declaration);\n        if (!declaration) {\n          this.getTermProposals(void 0, null, result);\n          return result;\n        }\n        var node = expression.findChildAtOffset(this.offset, true);\n        if (!node) {\n          return this.getCompletionsForDeclarationValue(declaration, result);\n        }\n        if (node instanceof NumericValue || node instanceof Identifier) {\n          return this.getCompletionsForDeclarationValue(declaration, result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForFunctionArgument = function(arg, func, result) {\n        var identifier = func.getIdentifier();\n        if (identifier && identifier.matches(\"var\")) {\n          if (!func.getArguments().hasChildren() || func.getArguments().getChild(0) === arg) {\n            this.getVariableProposalsForCSSVarFunction(result);\n          }\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForFunctionDeclaration = function(decl, result) {\n        var declarations = decl.getDeclarations();\n        if (declarations && this.offset > declarations.offset && this.offset < declarations.end) {\n          this.getTermProposals(void 0, null, result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForMixinReference = function(ref, result) {\n        var _this = this;\n        var allMixins = this.getSymbolContext().findSymbolsAtOffset(this.offset, ReferenceType.Mixin);\n        for (var _i = 0, allMixins_1 = allMixins; _i < allMixins_1.length; _i++) {\n          var mixinSymbol = allMixins_1[_i];\n          if (mixinSymbol.node instanceof MixinDeclaration) {\n            result.items.push(this.makeTermProposal(mixinSymbol, mixinSymbol.node.getParameters(), null));\n          }\n        }\n        var identifierNode = ref.getIdentifier() || null;\n        this.completionParticipants.forEach(function(participant) {\n          if (participant.onCssMixinReference) {\n            participant.onCssMixinReference({\n              mixinName: _this.currentWord,\n              range: _this.getCompletionRange(identifierNode)\n            });\n          }\n        });\n        return result;\n      };\n      CSSCompletion2.prototype.getTermProposals = function(entry, existingNode, result) {\n        var allFunctions = this.getSymbolContext().findSymbolsAtOffset(this.offset, ReferenceType.Function);\n        for (var _i = 0, allFunctions_1 = allFunctions; _i < allFunctions_1.length; _i++) {\n          var functionSymbol = allFunctions_1[_i];\n          if (functionSymbol.node instanceof FunctionDeclaration) {\n            result.items.push(this.makeTermProposal(functionSymbol, functionSymbol.node.getParameters(), existingNode));\n          }\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.makeTermProposal = function(symbol, parameters, existingNode) {\n        var decl = symbol.node;\n        var params = parameters.getChildren().map(function(c) {\n          return c instanceof FunctionParameter ? c.getName() : c.getText();\n        });\n        var insertText = symbol.name + \"(\" + params.map(function(p, index) {\n          return \"${\" + (index + 1) + \":\" + p + \"}\";\n        }).join(\", \") + \")\";\n        return {\n          label: symbol.name,\n          detail: symbol.name + \"(\" + params.join(\", \") + \")\",\n          textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n          insertTextFormat: SnippetFormat,\n          kind: CompletionItemKind2.Function,\n          sortText: SortTexts.Term\n        };\n      };\n      CSSCompletion2.prototype.getCompletionsForSupportsCondition = function(supportsCondition, result) {\n        var child = supportsCondition.findFirstChildBeforeOffset(this.offset);\n        if (child) {\n          if (child instanceof Declaration) {\n            if (!isDefined(child.colonPosition) || this.offset <= child.colonPosition) {\n              return this.getCompletionsForDeclarationProperty(child, result);\n            } else {\n              return this.getCompletionsForDeclarationValue(child, result);\n            }\n          } else if (child instanceof SupportsCondition) {\n            return this.getCompletionsForSupportsCondition(child, result);\n          }\n        }\n        if (isDefined(supportsCondition.lParent) && this.offset > supportsCondition.lParent && (!isDefined(supportsCondition.rParent) || this.offset <= supportsCondition.rParent)) {\n          return this.getCompletionsForDeclarationProperty(null, result);\n        }\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionsForSupports = function(supports, result) {\n        var declarations = supports.getDeclarations();\n        var inInCondition = !declarations || this.offset <= declarations.offset;\n        if (inInCondition) {\n          var child = supports.findFirstChildBeforeOffset(this.offset);\n          if (child instanceof SupportsCondition) {\n            return this.getCompletionsForSupportsCondition(child, result);\n          }\n          return result;\n        }\n        return this.getCompletionForTopLevel(result);\n      };\n      CSSCompletion2.prototype.getCompletionsForExtendsReference = function(extendsRef, existingNode, result) {\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionForUriLiteralValue = function(uriLiteralNode, result) {\n        var uriValue;\n        var position;\n        var range;\n        if (!uriLiteralNode.hasChildren()) {\n          uriValue = \"\";\n          position = this.position;\n          var emptyURIValuePosition = this.textDocument.positionAt(uriLiteralNode.offset + \"url(\".length);\n          range = Range2.create(emptyURIValuePosition, emptyURIValuePosition);\n        } else {\n          var uriValueNode = uriLiteralNode.getChild(0);\n          uriValue = uriValueNode.getText();\n          position = this.position;\n          range = this.getCompletionRange(uriValueNode);\n        }\n        this.completionParticipants.forEach(function(participant) {\n          if (participant.onCssURILiteralValue) {\n            participant.onCssURILiteralValue({\n              uriValue,\n              position,\n              range\n            });\n          }\n        });\n        return result;\n      };\n      CSSCompletion2.prototype.getCompletionForImportPath = function(importPathNode, result) {\n        var _this = this;\n        this.completionParticipants.forEach(function(participant) {\n          if (participant.onCssImportPath) {\n            participant.onCssImportPath({\n              pathValue: importPathNode.getText(),\n              position: _this.position,\n              range: _this.getCompletionRange(importPathNode)\n            });\n          }\n        });\n        return result;\n      };\n      CSSCompletion2.prototype.hasCharacterAtPosition = function(offset, char) {\n        var text = this.textDocument.getText();\n        return offset >= 0 && offset < text.length && text.charAt(offset) === char;\n      };\n      CSSCompletion2.prototype.doesSupportMarkdown = function() {\n        var _a22, _b3, _c;\n        if (!isDefined(this.supportsMarkdown)) {\n          if (!isDefined(this.lsOptions.clientCapabilities)) {\n            this.supportsMarkdown = true;\n            return this.supportsMarkdown;\n          }\n          var documentationFormat = (_c = (_b3 = (_a22 = this.lsOptions.clientCapabilities.textDocument) === null || _a22 === void 0 ? void 0 : _a22.completion) === null || _b3 === void 0 ? void 0 : _b3.completionItem) === null || _c === void 0 ? void 0 : _c.documentationFormat;\n          this.supportsMarkdown = Array.isArray(documentationFormat) && documentationFormat.indexOf(MarkupKind.Markdown) !== -1;\n        }\n        return this.supportsMarkdown;\n      };\n      return CSSCompletion2;\n    }()\n  );\n  function isDeprecated(entry) {\n    if (entry.status && (entry.status === \"nonstandard\" || entry.status === \"obsolete\")) {\n      return true;\n    }\n    return false;\n  }\n  var Set2 = (\n    /** @class */\n    function() {\n      function Set22() {\n        this.entries = {};\n      }\n      Set22.prototype.add = function(entry) {\n        this.entries[entry] = true;\n      };\n      Set22.prototype.remove = function(entry) {\n        delete this.entries[entry];\n      };\n      Set22.prototype.getEntries = function() {\n        return Object.keys(this.entries);\n      };\n      return Set22;\n    }()\n  );\n  function moveCursorInsideParenthesis(text) {\n    return text.replace(/\\(\\)$/, \"($1)\");\n  }\n  function collectValues(styleSheet, declaration) {\n    var fullPropertyName = declaration.getFullPropertyName();\n    var entries = new Set2();\n    function visitValue(node) {\n      if (node instanceof Identifier || node instanceof NumericValue || node instanceof HexColorValue) {\n        entries.add(node.getText());\n      }\n      return true;\n    }\n    function matchesProperty(decl) {\n      var propertyName = decl.getFullPropertyName();\n      return fullPropertyName === propertyName;\n    }\n    function vistNode(node) {\n      if (node instanceof Declaration && node !== declaration) {\n        if (matchesProperty(node)) {\n          var value = node.getValue();\n          if (value) {\n            value.accept(visitValue);\n          }\n        }\n      }\n      return true;\n    }\n    styleSheet.accept(vistNode);\n    return entries;\n  }\n  var ColorValueCollector = (\n    /** @class */\n    function() {\n      function ColorValueCollector2(entries, currentOffset) {\n        this.entries = entries;\n        this.currentOffset = currentOffset;\n      }\n      ColorValueCollector2.prototype.visitNode = function(node) {\n        if (node instanceof HexColorValue || node instanceof Function && isColorConstructor(node)) {\n          if (this.currentOffset < node.offset || node.end < this.currentOffset) {\n            this.entries.add(node.getText());\n          }\n        }\n        return true;\n      };\n      return ColorValueCollector2;\n    }()\n  );\n  var VariableCollector = (\n    /** @class */\n    function() {\n      function VariableCollector2(entries, currentOffset) {\n        this.entries = entries;\n        this.currentOffset = currentOffset;\n      }\n      VariableCollector2.prototype.visitNode = function(node) {\n        if (node instanceof Identifier && node.isCustomProperty) {\n          if (this.currentOffset < node.offset || node.end < this.currentOffset) {\n            this.entries.add(node.getText());\n          }\n        }\n        return true;\n      };\n      return VariableCollector2;\n    }()\n  );\n  function getCurrentWord(document2, offset) {\n    var i = offset - 1;\n    var text = document2.getText();\n    while (i >= 0 && ' \t\\n\\r\":{[()]},*>+'.indexOf(text.charAt(i)) === -1) {\n      i--;\n    }\n    return text.substring(i + 1, offset);\n  }\n  function isColorString(s) {\n    return s.toLowerCase() in colors || /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(s);\n  }\n  var __extends3 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var localize5 = loadMessageBundle();\n  var Element = (\n    /** @class */\n    function() {\n      function Element3() {\n        this.parent = null;\n        this.children = null;\n        this.attributes = null;\n      }\n      Element3.prototype.findAttribute = function(name) {\n        if (this.attributes) {\n          for (var _i = 0, _a22 = this.attributes; _i < _a22.length; _i++) {\n            var attribute = _a22[_i];\n            if (attribute.name === name) {\n              return attribute.value;\n            }\n          }\n        }\n        return null;\n      };\n      Element3.prototype.addChild = function(child) {\n        if (child instanceof Element3) {\n          child.parent = this;\n        }\n        if (!this.children) {\n          this.children = [];\n        }\n        this.children.push(child);\n      };\n      Element3.prototype.append = function(text) {\n        if (this.attributes) {\n          var last = this.attributes[this.attributes.length - 1];\n          last.value = last.value + text;\n        }\n      };\n      Element3.prototype.prepend = function(text) {\n        if (this.attributes) {\n          var first = this.attributes[0];\n          first.value = text + first.value;\n        }\n      };\n      Element3.prototype.findRoot = function() {\n        var curr = this;\n        while (curr.parent && !(curr.parent instanceof RootElement)) {\n          curr = curr.parent;\n        }\n        return curr;\n      };\n      Element3.prototype.removeChild = function(child) {\n        if (this.children) {\n          var index = this.children.indexOf(child);\n          if (index !== -1) {\n            this.children.splice(index, 1);\n            return true;\n          }\n        }\n        return false;\n      };\n      Element3.prototype.addAttr = function(name, value) {\n        if (!this.attributes) {\n          this.attributes = [];\n        }\n        for (var _i = 0, _a22 = this.attributes; _i < _a22.length; _i++) {\n          var attribute = _a22[_i];\n          if (attribute.name === name) {\n            attribute.value += \" \" + value;\n            return;\n          }\n        }\n        this.attributes.push({ name, value });\n      };\n      Element3.prototype.clone = function(cloneChildren) {\n        if (cloneChildren === void 0) {\n          cloneChildren = true;\n        }\n        var elem = new Element3();\n        if (this.attributes) {\n          elem.attributes = [];\n          for (var _i = 0, _a22 = this.attributes; _i < _a22.length; _i++) {\n            var attribute = _a22[_i];\n            elem.addAttr(attribute.name, attribute.value);\n          }\n        }\n        if (cloneChildren && this.children) {\n          elem.children = [];\n          for (var index = 0; index < this.children.length; index++) {\n            elem.addChild(this.children[index].clone());\n          }\n        }\n        return elem;\n      };\n      Element3.prototype.cloneWithParent = function() {\n        var clone = this.clone(false);\n        if (this.parent && !(this.parent instanceof RootElement)) {\n          var parentClone = this.parent.cloneWithParent();\n          parentClone.addChild(clone);\n        }\n        return clone;\n      };\n      return Element3;\n    }()\n  );\n  var RootElement = (\n    /** @class */\n    function(_super) {\n      __extends3(RootElement2, _super);\n      function RootElement2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      return RootElement2;\n    }(Element)\n  );\n  var LabelElement = (\n    /** @class */\n    function(_super) {\n      __extends3(LabelElement2, _super);\n      function LabelElement2(label) {\n        var _this = _super.call(this) || this;\n        _this.addAttr(\"name\", label);\n        return _this;\n      }\n      return LabelElement2;\n    }(Element)\n  );\n  var MarkedStringPrinter = (\n    /** @class */\n    function() {\n      function MarkedStringPrinter2(quote) {\n        this.quote = quote;\n        this.result = [];\n      }\n      MarkedStringPrinter2.prototype.print = function(element) {\n        this.result = [];\n        if (element instanceof RootElement) {\n          if (element.children) {\n            this.doPrint(element.children, 0);\n          }\n        } else {\n          this.doPrint([element], 0);\n        }\n        var value = this.result.join(\"\\n\");\n        return [{ language: \"html\", value }];\n      };\n      MarkedStringPrinter2.prototype.doPrint = function(elements, indent) {\n        for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) {\n          var element = elements_1[_i];\n          this.doPrintElement(element, indent);\n          if (element.children) {\n            this.doPrint(element.children, indent + 1);\n          }\n        }\n      };\n      MarkedStringPrinter2.prototype.writeLine = function(level, content) {\n        var indent = new Array(level + 1).join(\"  \");\n        this.result.push(indent + content);\n      };\n      MarkedStringPrinter2.prototype.doPrintElement = function(element, indent) {\n        var name = element.findAttribute(\"name\");\n        if (element instanceof LabelElement || name === \"\\u2026\") {\n          this.writeLine(indent, name);\n          return;\n        }\n        var content = [\"<\"];\n        if (name) {\n          content.push(name);\n        } else {\n          content.push(\"element\");\n        }\n        if (element.attributes) {\n          for (var _i = 0, _a22 = element.attributes; _i < _a22.length; _i++) {\n            var attr = _a22[_i];\n            if (attr.name !== \"name\") {\n              content.push(\" \");\n              content.push(attr.name);\n              var value = attr.value;\n              if (value) {\n                content.push(\"=\");\n                content.push(quotes.ensure(value, this.quote));\n              }\n            }\n          }\n        }\n        content.push(\">\");\n        this.writeLine(indent, content.join(\"\"));\n      };\n      return MarkedStringPrinter2;\n    }()\n  );\n  var quotes;\n  (function(quotes2) {\n    function ensure(value, which) {\n      return which + remove(value) + which;\n    }\n    quotes2.ensure = ensure;\n    function remove(value) {\n      var match = value.match(/^['\"](.*)[\"']$/);\n      if (match) {\n        return match[1];\n      }\n      return value;\n    }\n    quotes2.remove = remove;\n  })(quotes || (quotes = {}));\n  var Specificity = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function Specificity2() {\n        this.id = 0;\n        this.attr = 0;\n        this.tag = 0;\n      }\n      return Specificity2;\n    }()\n  );\n  function toElement(node, parentElement) {\n    var result = new Element();\n    for (var _i = 0, _a22 = node.getChildren(); _i < _a22.length; _i++) {\n      var child = _a22[_i];\n      switch (child.type) {\n        case NodeType.SelectorCombinator:\n          if (parentElement) {\n            var segments = child.getText().split(\"&\");\n            if (segments.length === 1) {\n              result.addAttr(\"name\", segments[0]);\n              break;\n            }\n            result = parentElement.cloneWithParent();\n            if (segments[0]) {\n              var root = result.findRoot();\n              root.prepend(segments[0]);\n            }\n            for (var i = 1; i < segments.length; i++) {\n              if (i > 1) {\n                var clone = parentElement.cloneWithParent();\n                result.addChild(clone.findRoot());\n                result = clone;\n              }\n              result.append(segments[i]);\n            }\n          }\n          break;\n        case NodeType.SelectorPlaceholder:\n          if (child.matches(\"@at-root\")) {\n            return result;\n          }\n        case NodeType.ElementNameSelector:\n          var text = child.getText();\n          result.addAttr(\"name\", text === \"*\" ? \"element\" : unescape(text));\n          break;\n        case NodeType.ClassSelector:\n          result.addAttr(\"class\", unescape(child.getText().substring(1)));\n          break;\n        case NodeType.IdentifierSelector:\n          result.addAttr(\"id\", unescape(child.getText().substring(1)));\n          break;\n        case NodeType.MixinDeclaration:\n          result.addAttr(\"class\", child.getName());\n          break;\n        case NodeType.PseudoSelector:\n          result.addAttr(unescape(child.getText()), \"\");\n          break;\n        case NodeType.AttributeSelector:\n          var selector = child;\n          var identifier = selector.getIdentifier();\n          if (identifier) {\n            var expression = selector.getValue();\n            var operator = selector.getOperator();\n            var value = void 0;\n            if (expression && operator) {\n              switch (unescape(operator.getText())) {\n                case \"|=\":\n                  value = \"\".concat(quotes.remove(unescape(expression.getText())), \"-\\u2026\");\n                  break;\n                case \"^=\":\n                  value = \"\".concat(quotes.remove(unescape(expression.getText())), \"\\u2026\");\n                  break;\n                case \"$=\":\n                  value = \"\\u2026\".concat(quotes.remove(unescape(expression.getText())));\n                  break;\n                case \"~=\":\n                  value = \" \\u2026 \".concat(quotes.remove(unescape(expression.getText())), \" \\u2026 \");\n                  break;\n                case \"*=\":\n                  value = \"\\u2026\".concat(quotes.remove(unescape(expression.getText())), \"\\u2026\");\n                  break;\n                default:\n                  value = quotes.remove(unescape(expression.getText()));\n                  break;\n              }\n            }\n            result.addAttr(unescape(identifier.getText()), value);\n          }\n          break;\n      }\n    }\n    return result;\n  }\n  function unescape(content) {\n    var scanner = new Scanner();\n    scanner.setSource(content);\n    var token = scanner.scanUnquotedString();\n    if (token) {\n      return token.text;\n    }\n    return content;\n  }\n  var SelectorPrinting = (\n    /** @class */\n    function() {\n      function SelectorPrinting2(cssDataManager) {\n        this.cssDataManager = cssDataManager;\n      }\n      SelectorPrinting2.prototype.selectorToMarkedString = function(node) {\n        var root = selectorToElement(node);\n        if (root) {\n          var markedStrings = new MarkedStringPrinter('\"').print(root);\n          markedStrings.push(this.selectorToSpecificityMarkedString(node));\n          return markedStrings;\n        } else {\n          return [];\n        }\n      };\n      SelectorPrinting2.prototype.simpleSelectorToMarkedString = function(node) {\n        var element = toElement(node);\n        var markedStrings = new MarkedStringPrinter('\"').print(element);\n        markedStrings.push(this.selectorToSpecificityMarkedString(node));\n        return markedStrings;\n      };\n      SelectorPrinting2.prototype.isPseudoElementIdentifier = function(text) {\n        var match = text.match(/^::?([\\w-]+)/);\n        if (!match) {\n          return false;\n        }\n        return !!this.cssDataManager.getPseudoElement(\"::\" + match[1]);\n      };\n      SelectorPrinting2.prototype.selectorToSpecificityMarkedString = function(node) {\n        var _this = this;\n        var calculateScore = function(node2) {\n          var specificity2 = new Specificity();\n          elementLoop:\n            for (var _i = 0, _a22 = node2.getChildren(); _i < _a22.length; _i++) {\n              var element = _a22[_i];\n              switch (element.type) {\n                case NodeType.IdentifierSelector:\n                  specificity2.id++;\n                  break;\n                case NodeType.ClassSelector:\n                case NodeType.AttributeSelector:\n                  specificity2.attr++;\n                  break;\n                case NodeType.ElementNameSelector:\n                  if (element.matches(\"*\")) {\n                    break;\n                  }\n                  specificity2.tag++;\n                  break;\n                case NodeType.PseudoSelector:\n                  var text = element.getText();\n                  if (_this.isPseudoElementIdentifier(text)) {\n                    specificity2.tag++;\n                    break;\n                  }\n                  if (text.match(/^:where/i)) {\n                    continue elementLoop;\n                  }\n                  if (text.match(/^:(not|has|is)/i) && element.getChildren().length > 0) {\n                    var mostSpecificListItem = new Specificity();\n                    for (var _b3 = 0, _c = element.getChildren(); _b3 < _c.length; _b3++) {\n                      var containerElement = _c[_b3];\n                      var list = void 0;\n                      if (containerElement.type === NodeType.Undefined) {\n                        list = containerElement.getChildren();\n                      } else {\n                        list = [containerElement];\n                      }\n                      for (var _d = 0, _e = containerElement.getChildren(); _d < _e.length; _d++) {\n                        var childElement = _e[_d];\n                        var itemSpecificity = calculateScore(childElement);\n                        if (itemSpecificity.id > mostSpecificListItem.id) {\n                          mostSpecificListItem = itemSpecificity;\n                          continue;\n                        } else if (itemSpecificity.id < mostSpecificListItem.id) {\n                          continue;\n                        }\n                        if (itemSpecificity.attr > mostSpecificListItem.attr) {\n                          mostSpecificListItem = itemSpecificity;\n                          continue;\n                        } else if (itemSpecificity.attr < mostSpecificListItem.attr) {\n                          continue;\n                        }\n                        if (itemSpecificity.tag > mostSpecificListItem.tag) {\n                          mostSpecificListItem = itemSpecificity;\n                          continue;\n                        }\n                      }\n                    }\n                    specificity2.id += mostSpecificListItem.id;\n                    specificity2.attr += mostSpecificListItem.attr;\n                    specificity2.tag += mostSpecificListItem.tag;\n                    continue elementLoop;\n                  }\n                  specificity2.attr++;\n                  break;\n              }\n              if (element.getChildren().length > 0) {\n                var itemSpecificity = calculateScore(element);\n                specificity2.id += itemSpecificity.id;\n                specificity2.attr += itemSpecificity.attr;\n                specificity2.tag += itemSpecificity.tag;\n              }\n            }\n          return specificity2;\n        };\n        var specificity = calculateScore(node);\n        ;\n        return localize5(\"specificity\", \"[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})\", specificity.id, specificity.attr, specificity.tag);\n      };\n      return SelectorPrinting2;\n    }()\n  );\n  var SelectorElementBuilder = (\n    /** @class */\n    function() {\n      function SelectorElementBuilder2(element) {\n        this.prev = null;\n        this.element = element;\n      }\n      SelectorElementBuilder2.prototype.processSelector = function(selector) {\n        var parentElement = null;\n        if (!(this.element instanceof RootElement)) {\n          if (selector.getChildren().some(function(c) {\n            return c.hasChildren() && c.getChild(0).type === NodeType.SelectorCombinator;\n          })) {\n            var curr = this.element.findRoot();\n            if (curr.parent instanceof RootElement) {\n              parentElement = this.element;\n              this.element = curr.parent;\n              this.element.removeChild(curr);\n              this.prev = null;\n            }\n          }\n        }\n        for (var _i = 0, _a22 = selector.getChildren(); _i < _a22.length; _i++) {\n          var selectorChild = _a22[_i];\n          if (selectorChild instanceof SimpleSelector) {\n            if (this.prev instanceof SimpleSelector) {\n              var labelElement = new LabelElement(\"\\u2026\");\n              this.element.addChild(labelElement);\n              this.element = labelElement;\n            } else if (this.prev && (this.prev.matches(\"+\") || this.prev.matches(\"~\")) && this.element.parent) {\n              this.element = this.element.parent;\n            }\n            if (this.prev && this.prev.matches(\"~\")) {\n              this.element.addChild(new LabelElement(\"\\u22EE\"));\n            }\n            var thisElement = toElement(selectorChild, parentElement);\n            var root = thisElement.findRoot();\n            this.element.addChild(root);\n            this.element = thisElement;\n          }\n          if (selectorChild instanceof SimpleSelector || selectorChild.type === NodeType.SelectorCombinatorParent || selectorChild.type === NodeType.SelectorCombinatorShadowPiercingDescendant || selectorChild.type === NodeType.SelectorCombinatorSibling || selectorChild.type === NodeType.SelectorCombinatorAllSiblings) {\n            this.prev = selectorChild;\n          }\n        }\n      };\n      return SelectorElementBuilder2;\n    }()\n  );\n  function isNewSelectorContext(node) {\n    switch (node.type) {\n      case NodeType.MixinDeclaration:\n      case NodeType.Stylesheet:\n        return true;\n    }\n    return false;\n  }\n  function selectorToElement(node) {\n    if (node.matches(\"@at-root\")) {\n      return null;\n    }\n    var root = new RootElement();\n    var parentRuleSets = [];\n    var ruleSet = node.getParent();\n    if (ruleSet instanceof RuleSet) {\n      var parent = ruleSet.getParent();\n      while (parent && !isNewSelectorContext(parent)) {\n        if (parent instanceof RuleSet) {\n          if (parent.getSelectors().matches(\"@at-root\")) {\n            break;\n          }\n          parentRuleSets.push(parent);\n        }\n        parent = parent.getParent();\n      }\n    }\n    var builder = new SelectorElementBuilder(root);\n    for (var i = parentRuleSets.length - 1; i >= 0; i--) {\n      var selector = parentRuleSets[i].getSelectors().getChild(0);\n      if (selector) {\n        builder.processSelector(selector);\n      }\n    }\n    builder.processSelector(node);\n    return root;\n  }\n  var CSSHover = (\n    /** @class */\n    function() {\n      function CSSHover2(clientCapabilities, cssDataManager) {\n        this.clientCapabilities = clientCapabilities;\n        this.cssDataManager = cssDataManager;\n        this.selectorPrinting = new SelectorPrinting(cssDataManager);\n      }\n      CSSHover2.prototype.configure = function(settings) {\n        this.defaultSettings = settings;\n      };\n      CSSHover2.prototype.doHover = function(document2, position, stylesheet, settings) {\n        if (settings === void 0) {\n          settings = this.defaultSettings;\n        }\n        function getRange2(node2) {\n          return Range2.create(document2.positionAt(node2.offset), document2.positionAt(node2.end));\n        }\n        var offset = document2.offsetAt(position);\n        var nodepath = getNodePath(stylesheet, offset);\n        var hover = null;\n        for (var i = 0; i < nodepath.length; i++) {\n          var node = nodepath[i];\n          if (node instanceof Selector) {\n            hover = {\n              contents: this.selectorPrinting.selectorToMarkedString(node),\n              range: getRange2(node)\n            };\n            break;\n          }\n          if (node instanceof SimpleSelector) {\n            if (!startsWith(node.getText(), \"@\")) {\n              hover = {\n                contents: this.selectorPrinting.simpleSelectorToMarkedString(node),\n                range: getRange2(node)\n              };\n            }\n            break;\n          }\n          if (node instanceof Declaration) {\n            var propertyName = node.getFullPropertyName();\n            var entry = this.cssDataManager.getProperty(propertyName);\n            if (entry) {\n              var contents = getEntryDescription(entry, this.doesSupportMarkdown(), settings);\n              if (contents) {\n                hover = {\n                  contents,\n                  range: getRange2(node)\n                };\n              } else {\n                hover = null;\n              }\n            }\n            continue;\n          }\n          if (node instanceof UnknownAtRule) {\n            var atRuleName = node.getText();\n            var entry = this.cssDataManager.getAtDirective(atRuleName);\n            if (entry) {\n              var contents = getEntryDescription(entry, this.doesSupportMarkdown(), settings);\n              if (contents) {\n                hover = {\n                  contents,\n                  range: getRange2(node)\n                };\n              } else {\n                hover = null;\n              }\n            }\n            continue;\n          }\n          if (node instanceof Node2 && node.type === NodeType.PseudoSelector) {\n            var selectorName = node.getText();\n            var entry = selectorName.slice(0, 2) === \"::\" ? this.cssDataManager.getPseudoElement(selectorName) : this.cssDataManager.getPseudoClass(selectorName);\n            if (entry) {\n              var contents = getEntryDescription(entry, this.doesSupportMarkdown(), settings);\n              if (contents) {\n                hover = {\n                  contents,\n                  range: getRange2(node)\n                };\n              } else {\n                hover = null;\n              }\n            }\n            continue;\n          }\n        }\n        if (hover) {\n          hover.contents = this.convertContents(hover.contents);\n        }\n        return hover;\n      };\n      CSSHover2.prototype.convertContents = function(contents) {\n        if (!this.doesSupportMarkdown()) {\n          if (typeof contents === \"string\") {\n            return contents;\n          } else if (\"kind\" in contents) {\n            return {\n              kind: \"plaintext\",\n              value: contents.value\n            };\n          } else if (Array.isArray(contents)) {\n            return contents.map(function(c) {\n              return typeof c === \"string\" ? c : c.value;\n            });\n          } else {\n            return contents.value;\n          }\n        }\n        return contents;\n      };\n      CSSHover2.prototype.doesSupportMarkdown = function() {\n        if (!isDefined(this.supportsMarkdown)) {\n          if (!isDefined(this.clientCapabilities)) {\n            this.supportsMarkdown = true;\n            return this.supportsMarkdown;\n          }\n          var hover = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.hover;\n          this.supportsMarkdown = hover && hover.contentFormat && Array.isArray(hover.contentFormat) && hover.contentFormat.indexOf(MarkupKind.Markdown) !== -1;\n        }\n        return this.supportsMarkdown;\n      };\n      return CSSHover2;\n    }()\n  );\n  var __awaiter3 = function(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function(resolve2) {\n        resolve2(value);\n      });\n    }\n    return new (P || (P = Promise))(function(resolve2, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  };\n  var __generator3 = function(thisArg, body) {\n    var _ = { label: 0, sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    }, trys: [], ops: [] }, f2, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n      return this;\n    }), g;\n    function verb(n) {\n      return function(v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f2)\n        throw new TypeError(\"Generator is already executing.\");\n      while (_)\n        try {\n          if (f2 = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n            return t;\n          if (y = 0, t)\n            op = [op[0] & 2, t.value];\n          switch (op[0]) {\n            case 0:\n            case 1:\n              t = op;\n              break;\n            case 4:\n              _.label++;\n              return { value: op[1], done: false };\n            case 5:\n              _.label++;\n              y = op[1];\n              op = [0];\n              continue;\n            case 7:\n              op = _.ops.pop();\n              _.trys.pop();\n              continue;\n            default:\n              if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                _ = 0;\n                continue;\n              }\n              if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                _.label = op[1];\n                break;\n              }\n              if (op[0] === 6 && _.label < t[1]) {\n                _.label = t[1];\n                t = op;\n                break;\n              }\n              if (t && _.label < t[2]) {\n                _.label = t[2];\n                _.ops.push(op);\n                break;\n              }\n              if (t[2])\n                _.ops.pop();\n              _.trys.pop();\n              continue;\n          }\n          op = body.call(thisArg, _);\n        } catch (e) {\n          op = [6, e];\n          y = 0;\n        } finally {\n          f2 = t = 0;\n        }\n      if (op[0] & 5)\n        throw op[1];\n      return { value: op[0] ? op[1] : void 0, done: true };\n    }\n  };\n  var localize6 = loadMessageBundle();\n  var startsWithSchemeRegex = /^\\w+:\\/\\//;\n  var startsWithData = /^data:/;\n  var CSSNavigation = (\n    /** @class */\n    function() {\n      function CSSNavigation2(fileSystemProvider, resolveModuleReferences) {\n        this.fileSystemProvider = fileSystemProvider;\n        this.resolveModuleReferences = resolveModuleReferences;\n      }\n      CSSNavigation2.prototype.findDefinition = function(document2, position, stylesheet) {\n        var symbols = new Symbols(stylesheet);\n        var offset = document2.offsetAt(position);\n        var node = getNodeAtOffset(stylesheet, offset);\n        if (!node) {\n          return null;\n        }\n        var symbol = symbols.findSymbolFromNode(node);\n        if (!symbol) {\n          return null;\n        }\n        return {\n          uri: document2.uri,\n          range: getRange(symbol.node, document2)\n        };\n      };\n      CSSNavigation2.prototype.findReferences = function(document2, position, stylesheet) {\n        var highlights = this.findDocumentHighlights(document2, position, stylesheet);\n        return highlights.map(function(h) {\n          return {\n            uri: document2.uri,\n            range: h.range\n          };\n        });\n      };\n      CSSNavigation2.prototype.findDocumentHighlights = function(document2, position, stylesheet) {\n        var result = [];\n        var offset = document2.offsetAt(position);\n        var node = getNodeAtOffset(stylesheet, offset);\n        if (!node || node.type === NodeType.Stylesheet || node.type === NodeType.Declarations) {\n          return result;\n        }\n        if (node.type === NodeType.Identifier && node.parent && node.parent.type === NodeType.ClassSelector) {\n          node = node.parent;\n        }\n        var symbols = new Symbols(stylesheet);\n        var symbol = symbols.findSymbolFromNode(node);\n        var name = node.getText();\n        stylesheet.accept(function(candidate) {\n          if (symbol) {\n            if (symbols.matchesSymbol(candidate, symbol)) {\n              result.push({\n                kind: getHighlightKind(candidate),\n                range: getRange(candidate, document2)\n              });\n              return false;\n            }\n          } else if (node && node.type === candidate.type && candidate.matches(name)) {\n            result.push({\n              kind: getHighlightKind(candidate),\n              range: getRange(candidate, document2)\n            });\n          }\n          return true;\n        });\n        return result;\n      };\n      CSSNavigation2.prototype.isRawStringDocumentLinkNode = function(node) {\n        return node.type === NodeType.Import;\n      };\n      CSSNavigation2.prototype.findDocumentLinks = function(document2, stylesheet, documentContext) {\n        var linkData = this.findUnresolvedLinks(document2, stylesheet);\n        var resolvedLinks = [];\n        for (var _i = 0, linkData_1 = linkData; _i < linkData_1.length; _i++) {\n          var data = linkData_1[_i];\n          var link = data.link;\n          var target = link.target;\n          if (!target || startsWithData.test(target)) {\n          } else if (startsWithSchemeRegex.test(target)) {\n            resolvedLinks.push(link);\n          } else {\n            var resolved = documentContext.resolveReference(target, document2.uri);\n            if (resolved) {\n              link.target = resolved;\n            }\n            resolvedLinks.push(link);\n          }\n        }\n        return resolvedLinks;\n      };\n      CSSNavigation2.prototype.findDocumentLinks2 = function(document2, stylesheet, documentContext) {\n        return __awaiter3(this, void 0, void 0, function() {\n          var linkData, resolvedLinks, _i, linkData_2, data, link, target, resolvedTarget;\n          return __generator3(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                linkData = this.findUnresolvedLinks(document2, stylesheet);\n                resolvedLinks = [];\n                _i = 0, linkData_2 = linkData;\n                _a22.label = 1;\n              case 1:\n                if (!(_i < linkData_2.length))\n                  return [3, 6];\n                data = linkData_2[_i];\n                link = data.link;\n                target = link.target;\n                if (!(!target || startsWithData.test(target)))\n                  return [3, 2];\n                return [3, 5];\n              case 2:\n                if (!startsWithSchemeRegex.test(target))\n                  return [3, 3];\n                resolvedLinks.push(link);\n                return [3, 5];\n              case 3:\n                return [4, this.resolveRelativeReference(target, document2.uri, documentContext, data.isRawLink)];\n              case 4:\n                resolvedTarget = _a22.sent();\n                if (resolvedTarget !== void 0) {\n                  link.target = resolvedTarget;\n                  resolvedLinks.push(link);\n                }\n                _a22.label = 5;\n              case 5:\n                _i++;\n                return [3, 1];\n              case 6:\n                return [2, resolvedLinks];\n            }\n          });\n        });\n      };\n      CSSNavigation2.prototype.findUnresolvedLinks = function(document2, stylesheet) {\n        var _this = this;\n        var result = [];\n        var collect = function(uriStringNode) {\n          var rawUri = uriStringNode.getText();\n          var range = getRange(uriStringNode, document2);\n          if (range.start.line === range.end.line && range.start.character === range.end.character) {\n            return;\n          }\n          if (startsWith(rawUri, \"'\") || startsWith(rawUri, '\"')) {\n            rawUri = rawUri.slice(1, -1);\n          }\n          var isRawLink = uriStringNode.parent ? _this.isRawStringDocumentLinkNode(uriStringNode.parent) : false;\n          result.push({ link: { target: rawUri, range }, isRawLink });\n        };\n        stylesheet.accept(function(candidate) {\n          if (candidate.type === NodeType.URILiteral) {\n            var first = candidate.getChild(0);\n            if (first) {\n              collect(first);\n            }\n            return false;\n          }\n          if (candidate.parent && _this.isRawStringDocumentLinkNode(candidate.parent)) {\n            var rawText = candidate.getText();\n            if (startsWith(rawText, \"'\") || startsWith(rawText, '\"')) {\n              collect(candidate);\n            }\n            return false;\n          }\n          return true;\n        });\n        return result;\n      };\n      CSSNavigation2.prototype.findDocumentSymbols = function(document2, stylesheet) {\n        var result = [];\n        stylesheet.accept(function(node) {\n          var entry = {\n            name: null,\n            kind: SymbolKind2.Class,\n            location: null\n          };\n          var locationNode = node;\n          if (node instanceof Selector) {\n            entry.name = node.getText();\n            locationNode = node.findAParent(NodeType.Ruleset, NodeType.ExtendsReference);\n            if (locationNode) {\n              entry.location = Location.create(document2.uri, getRange(locationNode, document2));\n              result.push(entry);\n            }\n            return false;\n          } else if (node instanceof VariableDeclaration) {\n            entry.name = node.getName();\n            entry.kind = SymbolKind2.Variable;\n          } else if (node instanceof MixinDeclaration) {\n            entry.name = node.getName();\n            entry.kind = SymbolKind2.Method;\n          } else if (node instanceof FunctionDeclaration) {\n            entry.name = node.getName();\n            entry.kind = SymbolKind2.Function;\n          } else if (node instanceof Keyframe) {\n            entry.name = localize6(\"literal.keyframes\", \"@keyframes {0}\", node.getName());\n          } else if (node instanceof FontFace) {\n            entry.name = localize6(\"literal.fontface\", \"@font-face\");\n          } else if (node instanceof Media) {\n            var mediaList = node.getChild(0);\n            if (mediaList instanceof Medialist) {\n              entry.name = \"@media \" + mediaList.getText();\n              entry.kind = SymbolKind2.Module;\n            }\n          }\n          if (entry.name) {\n            entry.location = Location.create(document2.uri, getRange(locationNode, document2));\n            result.push(entry);\n          }\n          return true;\n        });\n        return result;\n      };\n      CSSNavigation2.prototype.findDocumentColors = function(document2, stylesheet) {\n        var result = [];\n        stylesheet.accept(function(node) {\n          var colorInfo = getColorInformation(node, document2);\n          if (colorInfo) {\n            result.push(colorInfo);\n          }\n          return true;\n        });\n        return result;\n      };\n      CSSNavigation2.prototype.getColorPresentations = function(document2, stylesheet, color, range) {\n        var result = [];\n        var red256 = Math.round(color.red * 255), green256 = Math.round(color.green * 255), blue256 = Math.round(color.blue * 255);\n        var label;\n        if (color.alpha === 1) {\n          label = \"rgb(\".concat(red256, \", \").concat(green256, \", \").concat(blue256, \")\");\n        } else {\n          label = \"rgba(\".concat(red256, \", \").concat(green256, \", \").concat(blue256, \", \").concat(color.alpha, \")\");\n        }\n        result.push({ label, textEdit: TextEdit.replace(range, label) });\n        if (color.alpha === 1) {\n          label = \"#\".concat(toTwoDigitHex(red256)).concat(toTwoDigitHex(green256)).concat(toTwoDigitHex(blue256));\n        } else {\n          label = \"#\".concat(toTwoDigitHex(red256)).concat(toTwoDigitHex(green256)).concat(toTwoDigitHex(blue256)).concat(toTwoDigitHex(Math.round(color.alpha * 255)));\n        }\n        result.push({ label, textEdit: TextEdit.replace(range, label) });\n        var hsl = hslFromColor(color);\n        if (hsl.a === 1) {\n          label = \"hsl(\".concat(hsl.h, \", \").concat(Math.round(hsl.s * 100), \"%, \").concat(Math.round(hsl.l * 100), \"%)\");\n        } else {\n          label = \"hsla(\".concat(hsl.h, \", \").concat(Math.round(hsl.s * 100), \"%, \").concat(Math.round(hsl.l * 100), \"%, \").concat(hsl.a, \")\");\n        }\n        result.push({ label, textEdit: TextEdit.replace(range, label) });\n        var hwb = hwbFromColor(color);\n        if (hwb.a === 1) {\n          label = \"hwb(\".concat(hwb.h, \" \").concat(Math.round(hwb.w * 100), \"% \").concat(Math.round(hwb.b * 100), \"%)\");\n        } else {\n          label = \"hwb(\".concat(hwb.h, \" \").concat(Math.round(hwb.w * 100), \"% \").concat(Math.round(hwb.b * 100), \"% / \").concat(hwb.a, \")\");\n        }\n        result.push({ label, textEdit: TextEdit.replace(range, label) });\n        return result;\n      };\n      CSSNavigation2.prototype.doRename = function(document2, position, newName, stylesheet) {\n        var _a22;\n        var highlights = this.findDocumentHighlights(document2, position, stylesheet);\n        var edits = highlights.map(function(h) {\n          return TextEdit.replace(h.range, newName);\n        });\n        return {\n          changes: (_a22 = {}, _a22[document2.uri] = edits, _a22)\n        };\n      };\n      CSSNavigation2.prototype.resolveModuleReference = function(ref, documentUri, documentContext) {\n        return __awaiter3(this, void 0, void 0, function() {\n          var moduleName, rootFolderUri, documentFolderUri, modulePath, pathWithinModule;\n          return __generator3(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                if (!startsWith(documentUri, \"file://\"))\n                  return [3, 2];\n                moduleName = getModuleNameFromPath(ref);\n                rootFolderUri = documentContext.resolveReference(\"/\", documentUri);\n                documentFolderUri = dirname2(documentUri);\n                return [4, this.resolvePathToModule(moduleName, documentFolderUri, rootFolderUri)];\n              case 1:\n                modulePath = _a22.sent();\n                if (modulePath) {\n                  pathWithinModule = ref.substring(moduleName.length + 1);\n                  return [2, joinPath(modulePath, pathWithinModule)];\n                }\n                _a22.label = 2;\n              case 2:\n                return [2, void 0];\n            }\n          });\n        });\n      };\n      CSSNavigation2.prototype.resolveRelativeReference = function(ref, documentUri, documentContext, isRawLink) {\n        return __awaiter3(this, void 0, void 0, function() {\n          var relativeReference, _a22;\n          return __generator3(this, function(_b3) {\n            switch (_b3.label) {\n              case 0:\n                relativeReference = documentContext.resolveReference(ref, documentUri);\n                if (!(ref[0] === \"~\" && ref[1] !== \"/\" && this.fileSystemProvider))\n                  return [3, 2];\n                ref = ref.substring(1);\n                return [4, this.resolveModuleReference(ref, documentUri, documentContext)];\n              case 1:\n                return [2, _b3.sent() || relativeReference];\n              case 2:\n                if (!this.resolveModuleReferences)\n                  return [3, 7];\n                _a22 = relativeReference;\n                if (!_a22)\n                  return [3, 4];\n                return [4, this.fileExists(relativeReference)];\n              case 3:\n                _a22 = _b3.sent();\n                _b3.label = 4;\n              case 4:\n                if (!_a22)\n                  return [3, 5];\n                return [2, relativeReference];\n              case 5:\n                return [4, this.resolveModuleReference(ref, documentUri, documentContext)];\n              case 6:\n                return [2, _b3.sent() || relativeReference];\n              case 7:\n                return [2, relativeReference];\n            }\n          });\n        });\n      };\n      CSSNavigation2.prototype.resolvePathToModule = function(_moduleName, documentFolderUri, rootFolderUri) {\n        return __awaiter3(this, void 0, void 0, function() {\n          var packPath;\n          return __generator3(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                packPath = joinPath(documentFolderUri, \"node_modules\", _moduleName, \"package.json\");\n                return [4, this.fileExists(packPath)];\n              case 1:\n                if (_a22.sent()) {\n                  return [2, dirname2(packPath)];\n                } else if (rootFolderUri && documentFolderUri.startsWith(rootFolderUri) && documentFolderUri.length !== rootFolderUri.length) {\n                  return [2, this.resolvePathToModule(_moduleName, dirname2(documentFolderUri), rootFolderUri)];\n                }\n                return [2, void 0];\n            }\n          });\n        });\n      };\n      CSSNavigation2.prototype.fileExists = function(uri) {\n        return __awaiter3(this, void 0, void 0, function() {\n          var stat, err_1;\n          return __generator3(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                if (!this.fileSystemProvider) {\n                  return [2, false];\n                }\n                _a22.label = 1;\n              case 1:\n                _a22.trys.push([1, 3, , 4]);\n                return [4, this.fileSystemProvider.stat(uri)];\n              case 2:\n                stat = _a22.sent();\n                if (stat.type === FileType.Unknown && stat.size === -1) {\n                  return [2, false];\n                }\n                return [2, true];\n              case 3:\n                err_1 = _a22.sent();\n                return [2, false];\n              case 4:\n                return [\n                  2\n                  /*return*/\n                ];\n            }\n          });\n        });\n      };\n      return CSSNavigation2;\n    }()\n  );\n  function getColorInformation(node, document2) {\n    var color = getColorValue(node);\n    if (color) {\n      var range = getRange(node, document2);\n      return { color, range };\n    }\n    return null;\n  }\n  function getRange(node, document2) {\n    return Range2.create(document2.positionAt(node.offset), document2.positionAt(node.end));\n  }\n  function getHighlightKind(node) {\n    if (node.type === NodeType.Selector) {\n      return DocumentHighlightKind3.Write;\n    }\n    if (node instanceof Identifier) {\n      if (node.parent && node.parent instanceof Property) {\n        if (node.isCustomProperty) {\n          return DocumentHighlightKind3.Write;\n        }\n      }\n    }\n    if (node.parent) {\n      switch (node.parent.type) {\n        case NodeType.FunctionDeclaration:\n        case NodeType.MixinDeclaration:\n        case NodeType.Keyframe:\n        case NodeType.VariableDeclaration:\n        case NodeType.FunctionParameter:\n          return DocumentHighlightKind3.Write;\n      }\n    }\n    return DocumentHighlightKind3.Read;\n  }\n  function toTwoDigitHex(n) {\n    var r = n.toString(16);\n    return r.length !== 2 ? \"0\" + r : r;\n  }\n  function getModuleNameFromPath(path) {\n    if (path[0] === \"@\") {\n      return path.substring(0, path.indexOf(\"/\", path.indexOf(\"/\") + 1));\n    }\n    return path.substring(0, path.indexOf(\"/\"));\n  }\n  var localize7 = loadMessageBundle();\n  var Warning = Level.Warning;\n  var Error2 = Level.Error;\n  var Ignore = Level.Ignore;\n  var Rule = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function Rule2(id, message, defaultValue) {\n        this.id = id;\n        this.message = message;\n        this.defaultValue = defaultValue;\n      }\n      return Rule2;\n    }()\n  );\n  var Setting = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function Setting2(id, message, defaultValue) {\n        this.id = id;\n        this.message = message;\n        this.defaultValue = defaultValue;\n      }\n      return Setting2;\n    }()\n  );\n  var Rules = {\n    AllVendorPrefixes: new Rule(\"compatibleVendorPrefixes\", localize7(\"rule.vendorprefixes.all\", \"When using a vendor-specific prefix make sure to also include all other vendor-specific properties\"), Ignore),\n    IncludeStandardPropertyWhenUsingVendorPrefix: new Rule(\"vendorPrefix\", localize7(\"rule.standardvendorprefix.all\", \"When using a vendor-specific prefix also include the standard property\"), Warning),\n    DuplicateDeclarations: new Rule(\"duplicateProperties\", localize7(\"rule.duplicateDeclarations\", \"Do not use duplicate style definitions\"), Ignore),\n    EmptyRuleSet: new Rule(\"emptyRules\", localize7(\"rule.emptyRuleSets\", \"Do not use empty rulesets\"), Warning),\n    ImportStatemement: new Rule(\"importStatement\", localize7(\"rule.importDirective\", \"Import statements do not load in parallel\"), Ignore),\n    BewareOfBoxModelSize: new Rule(\"boxModel\", localize7(\"rule.bewareOfBoxModelSize\", \"Do not use width or height when using padding or border\"), Ignore),\n    UniversalSelector: new Rule(\"universalSelector\", localize7(\"rule.universalSelector\", \"The universal selector (*) is known to be slow\"), Ignore),\n    ZeroWithUnit: new Rule(\"zeroUnits\", localize7(\"rule.zeroWidthUnit\", \"No unit for zero needed\"), Ignore),\n    RequiredPropertiesForFontFace: new Rule(\"fontFaceProperties\", localize7(\"rule.fontFaceProperties\", \"@font-face rule must define 'src' and 'font-family' properties\"), Warning),\n    HexColorLength: new Rule(\"hexColorLength\", localize7(\"rule.hexColor\", \"Hex colors must consist of three, four, six or eight hex numbers\"), Error2),\n    ArgsInColorFunction: new Rule(\"argumentsInColorFunction\", localize7(\"rule.colorFunction\", \"Invalid number of parameters\"), Error2),\n    UnknownProperty: new Rule(\"unknownProperties\", localize7(\"rule.unknownProperty\", \"Unknown property.\"), Warning),\n    UnknownAtRules: new Rule(\"unknownAtRules\", localize7(\"rule.unknownAtRules\", \"Unknown at-rule.\"), Warning),\n    IEStarHack: new Rule(\"ieHack\", localize7(\"rule.ieHack\", \"IE hacks are only necessary when supporting IE7 and older\"), Ignore),\n    UnknownVendorSpecificProperty: new Rule(\"unknownVendorSpecificProperties\", localize7(\"rule.unknownVendorSpecificProperty\", \"Unknown vendor specific property.\"), Ignore),\n    PropertyIgnoredDueToDisplay: new Rule(\"propertyIgnoredDueToDisplay\", localize7(\"rule.propertyIgnoredDueToDisplay\", \"Property is ignored due to the display.\"), Warning),\n    AvoidImportant: new Rule(\"important\", localize7(\"rule.avoidImportant\", \"Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\"), Ignore),\n    AvoidFloat: new Rule(\"float\", localize7(\"rule.avoidFloat\", \"Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\"), Ignore),\n    AvoidIdSelector: new Rule(\"idSelector\", localize7(\"rule.avoidIdSelector\", \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\"), Ignore)\n  };\n  var Settings = {\n    ValidProperties: new Setting(\"validProperties\", localize7(\"rule.validProperties\", \"A list of properties that are not validated against the `unknownProperties` rule.\"), [])\n  };\n  var LintConfigurationSettings = (\n    /** @class */\n    function() {\n      function LintConfigurationSettings2(conf) {\n        if (conf === void 0) {\n          conf = {};\n        }\n        this.conf = conf;\n      }\n      LintConfigurationSettings2.prototype.getRule = function(rule) {\n        if (this.conf.hasOwnProperty(rule.id)) {\n          var level = toLevel(this.conf[rule.id]);\n          if (level) {\n            return level;\n          }\n        }\n        return rule.defaultValue;\n      };\n      LintConfigurationSettings2.prototype.getSetting = function(setting) {\n        return this.conf[setting.id];\n      };\n      return LintConfigurationSettings2;\n    }()\n  );\n  function toLevel(level) {\n    switch (level) {\n      case \"ignore\":\n        return Level.Ignore;\n      case \"warning\":\n        return Level.Warning;\n      case \"error\":\n        return Level.Error;\n    }\n    return null;\n  }\n  var localize8 = loadMessageBundle();\n  var CSSCodeActions = (\n    /** @class */\n    function() {\n      function CSSCodeActions2(cssDataManager) {\n        this.cssDataManager = cssDataManager;\n      }\n      CSSCodeActions2.prototype.doCodeActions = function(document2, range, context, stylesheet) {\n        return this.doCodeActions2(document2, range, context, stylesheet).map(function(ca) {\n          var textDocumentEdit = ca.edit && ca.edit.documentChanges && ca.edit.documentChanges[0];\n          return Command2.create(ca.title, \"_css.applyCodeAction\", document2.uri, document2.version, textDocumentEdit && textDocumentEdit.edits);\n        });\n      };\n      CSSCodeActions2.prototype.doCodeActions2 = function(document2, range, context, stylesheet) {\n        var result = [];\n        if (context.diagnostics) {\n          for (var _i = 0, _a22 = context.diagnostics; _i < _a22.length; _i++) {\n            var diagnostic = _a22[_i];\n            this.appendFixesForMarker(document2, stylesheet, diagnostic, result);\n          }\n        }\n        return result;\n      };\n      CSSCodeActions2.prototype.getFixesForUnknownProperty = function(document2, property, marker, result) {\n        var propertyName = property.getName();\n        var candidates = [];\n        this.cssDataManager.getProperties().forEach(function(p) {\n          var score2 = difference(propertyName, p.name);\n          if (score2 >= propertyName.length / 2) {\n            candidates.push({ property: p.name, score: score2 });\n          }\n        });\n        candidates.sort(function(a2, b) {\n          return b.score - a2.score || a2.property.localeCompare(b.property);\n        });\n        var maxActions = 3;\n        for (var _i = 0, candidates_1 = candidates; _i < candidates_1.length; _i++) {\n          var candidate = candidates_1[_i];\n          var propertyName_1 = candidate.property;\n          var title = localize8(\"css.codeaction.rename\", \"Rename to '{0}'\", propertyName_1);\n          var edit = TextEdit.replace(marker.range, propertyName_1);\n          var documentIdentifier = VersionedTextDocumentIdentifier.create(document2.uri, document2.version);\n          var workspaceEdit = { documentChanges: [TextDocumentEdit.create(documentIdentifier, [edit])] };\n          var codeAction = CodeAction.create(title, workspaceEdit, CodeActionKind.QuickFix);\n          codeAction.diagnostics = [marker];\n          result.push(codeAction);\n          if (--maxActions <= 0) {\n            return;\n          }\n        }\n      };\n      CSSCodeActions2.prototype.appendFixesForMarker = function(document2, stylesheet, marker, result) {\n        if (marker.code !== Rules.UnknownProperty.id) {\n          return;\n        }\n        var offset = document2.offsetAt(marker.range.start);\n        var end = document2.offsetAt(marker.range.end);\n        var nodepath = getNodePath(stylesheet, offset);\n        for (var i = nodepath.length - 1; i >= 0; i--) {\n          var node = nodepath[i];\n          if (node instanceof Declaration) {\n            var property = node.getProperty();\n            if (property && property.offset === offset && property.end === end) {\n              this.getFixesForUnknownProperty(document2, property, marker, result);\n              return;\n            }\n          }\n        }\n      };\n      return CSSCodeActions2;\n    }()\n  );\n  var Element2 = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function Element3(decl) {\n        this.fullPropertyName = decl.getFullPropertyName().toLowerCase();\n        this.node = decl;\n      }\n      return Element3;\n    }()\n  );\n  function setSide(model, side, value, property) {\n    var state = model[side];\n    state.value = value;\n    if (value) {\n      if (!includes(state.properties, property)) {\n        state.properties.push(property);\n      }\n    }\n  }\n  function setAllSides(model, value, property) {\n    setSide(model, \"top\", value, property);\n    setSide(model, \"right\", value, property);\n    setSide(model, \"bottom\", value, property);\n    setSide(model, \"left\", value, property);\n  }\n  function updateModelWithValue(model, side, value, property) {\n    if (side === \"top\" || side === \"right\" || side === \"bottom\" || side === \"left\") {\n      setSide(model, side, value, property);\n    } else {\n      setAllSides(model, value, property);\n    }\n  }\n  function updateModelWithList(model, values2, property) {\n    switch (values2.length) {\n      case 1:\n        updateModelWithValue(model, void 0, values2[0], property);\n        break;\n      case 2:\n        updateModelWithValue(model, \"top\", values2[0], property);\n        updateModelWithValue(model, \"bottom\", values2[0], property);\n        updateModelWithValue(model, \"right\", values2[1], property);\n        updateModelWithValue(model, \"left\", values2[1], property);\n        break;\n      case 3:\n        updateModelWithValue(model, \"top\", values2[0], property);\n        updateModelWithValue(model, \"right\", values2[1], property);\n        updateModelWithValue(model, \"left\", values2[1], property);\n        updateModelWithValue(model, \"bottom\", values2[2], property);\n        break;\n      case 4:\n        updateModelWithValue(model, \"top\", values2[0], property);\n        updateModelWithValue(model, \"right\", values2[1], property);\n        updateModelWithValue(model, \"bottom\", values2[2], property);\n        updateModelWithValue(model, \"left\", values2[3], property);\n        break;\n    }\n  }\n  function matches(value, candidates) {\n    for (var _i = 0, candidates_1 = candidates; _i < candidates_1.length; _i++) {\n      var candidate = candidates_1[_i];\n      if (value.matches(candidate)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function checkLineWidth(value, allowsKeywords) {\n    if (allowsKeywords === void 0) {\n      allowsKeywords = true;\n    }\n    if (allowsKeywords && matches(value, [\"initial\", \"unset\"])) {\n      return false;\n    }\n    return parseFloat(value.getText()) !== 0;\n  }\n  function checkLineWidthList(nodes, allowsKeywords) {\n    if (allowsKeywords === void 0) {\n      allowsKeywords = true;\n    }\n    return nodes.map(function(node) {\n      return checkLineWidth(node, allowsKeywords);\n    });\n  }\n  function checkLineStyle(valueNode, allowsKeywords) {\n    if (allowsKeywords === void 0) {\n      allowsKeywords = true;\n    }\n    if (matches(valueNode, [\"none\", \"hidden\"])) {\n      return false;\n    }\n    if (allowsKeywords && matches(valueNode, [\"initial\", \"unset\"])) {\n      return false;\n    }\n    return true;\n  }\n  function checkLineStyleList(nodes, allowsKeywords) {\n    if (allowsKeywords === void 0) {\n      allowsKeywords = true;\n    }\n    return nodes.map(function(node) {\n      return checkLineStyle(node, allowsKeywords);\n    });\n  }\n  function checkBorderShorthand(node) {\n    var children = node.getChildren();\n    if (children.length === 1) {\n      var value = children[0];\n      return checkLineWidth(value) && checkLineStyle(value);\n    }\n    for (var _i = 0, children_1 = children; _i < children_1.length; _i++) {\n      var child = children_1[_i];\n      var value = child;\n      if (!checkLineWidth(\n        value,\n        /* allowsKeywords: */\n        false\n      ) || !checkLineStyle(\n        value,\n        /* allowsKeywords: */\n        false\n      )) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function calculateBoxModel(propertyTable) {\n    var model = {\n      top: { value: false, properties: [] },\n      right: { value: false, properties: [] },\n      bottom: { value: false, properties: [] },\n      left: { value: false, properties: [] }\n    };\n    for (var _i = 0, propertyTable_1 = propertyTable; _i < propertyTable_1.length; _i++) {\n      var property = propertyTable_1[_i];\n      var value = property.node.value;\n      if (typeof value === \"undefined\") {\n        continue;\n      }\n      switch (property.fullPropertyName) {\n        case \"box-sizing\":\n          return {\n            top: { value: false, properties: [] },\n            right: { value: false, properties: [] },\n            bottom: { value: false, properties: [] },\n            left: { value: false, properties: [] }\n          };\n        case \"width\":\n          model.width = property;\n          break;\n        case \"height\":\n          model.height = property;\n          break;\n        default:\n          var segments = property.fullPropertyName.split(\"-\");\n          switch (segments[0]) {\n            case \"border\":\n              switch (segments[1]) {\n                case void 0:\n                case \"top\":\n                case \"right\":\n                case \"bottom\":\n                case \"left\":\n                  switch (segments[2]) {\n                    case void 0:\n                      updateModelWithValue(model, segments[1], checkBorderShorthand(value), property);\n                      break;\n                    case \"width\":\n                      updateModelWithValue(model, segments[1], checkLineWidth(value, false), property);\n                      break;\n                    case \"style\":\n                      updateModelWithValue(model, segments[1], checkLineStyle(value, true), property);\n                      break;\n                  }\n                  break;\n                case \"width\":\n                  updateModelWithList(model, checkLineWidthList(value.getChildren(), false), property);\n                  break;\n                case \"style\":\n                  updateModelWithList(model, checkLineStyleList(value.getChildren(), true), property);\n                  break;\n              }\n              break;\n            case \"padding\":\n              if (segments.length === 1) {\n                updateModelWithList(model, checkLineWidthList(value.getChildren(), true), property);\n              } else {\n                updateModelWithValue(model, segments[1], checkLineWidth(value, true), property);\n              }\n              break;\n          }\n          break;\n      }\n    }\n    return model;\n  }\n  var localize9 = loadMessageBundle();\n  var NodesByRootMap = (\n    /** @class */\n    function() {\n      function NodesByRootMap2() {\n        this.data = {};\n      }\n      NodesByRootMap2.prototype.add = function(root, name, node) {\n        var entry = this.data[root];\n        if (!entry) {\n          entry = { nodes: [], names: [] };\n          this.data[root] = entry;\n        }\n        entry.names.push(name);\n        if (node) {\n          entry.nodes.push(node);\n        }\n      };\n      return NodesByRootMap2;\n    }()\n  );\n  var LintVisitor = (\n    /** @class */\n    function() {\n      function LintVisitor2(document2, settings, cssDataManager) {\n        var _this = this;\n        this.cssDataManager = cssDataManager;\n        this.warnings = [];\n        this.settings = settings;\n        this.documentText = document2.getText();\n        this.keyframes = new NodesByRootMap();\n        this.validProperties = {};\n        var properties = settings.getSetting(Settings.ValidProperties);\n        if (Array.isArray(properties)) {\n          properties.forEach(function(p) {\n            if (typeof p === \"string\") {\n              var name = p.trim().toLowerCase();\n              if (name.length) {\n                _this.validProperties[name] = true;\n              }\n            }\n          });\n        }\n      }\n      LintVisitor2.entries = function(node, document2, settings, cssDataManager, entryFilter) {\n        var visitor = new LintVisitor2(document2, settings, cssDataManager);\n        node.acceptVisitor(visitor);\n        visitor.completeValidations();\n        return visitor.getEntries(entryFilter);\n      };\n      LintVisitor2.prototype.isValidPropertyDeclaration = function(element) {\n        var propertyName = element.fullPropertyName;\n        return this.validProperties[propertyName];\n      };\n      LintVisitor2.prototype.fetch = function(input, s) {\n        var elements = [];\n        for (var _i = 0, input_1 = input; _i < input_1.length; _i++) {\n          var curr = input_1[_i];\n          if (curr.fullPropertyName === s) {\n            elements.push(curr);\n          }\n        }\n        return elements;\n      };\n      LintVisitor2.prototype.fetchWithValue = function(input, s, v) {\n        var elements = [];\n        for (var _i = 0, input_2 = input; _i < input_2.length; _i++) {\n          var inputElement = input_2[_i];\n          if (inputElement.fullPropertyName === s) {\n            var expression = inputElement.node.getValue();\n            if (expression && this.findValueInExpression(expression, v)) {\n              elements.push(inputElement);\n            }\n          }\n        }\n        return elements;\n      };\n      LintVisitor2.prototype.findValueInExpression = function(expression, v) {\n        var found = false;\n        expression.accept(function(node) {\n          if (node.type === NodeType.Identifier && node.matches(v)) {\n            found = true;\n          }\n          return !found;\n        });\n        return found;\n      };\n      LintVisitor2.prototype.getEntries = function(filter) {\n        if (filter === void 0) {\n          filter = Level.Warning | Level.Error;\n        }\n        return this.warnings.filter(function(entry) {\n          return (entry.getLevel() & filter) !== 0;\n        });\n      };\n      LintVisitor2.prototype.addEntry = function(node, rule, details) {\n        var entry = new Marker(node, rule, this.settings.getRule(rule), details);\n        this.warnings.push(entry);\n      };\n      LintVisitor2.prototype.getMissingNames = function(expected, actual) {\n        var expectedClone = expected.slice(0);\n        for (var i = 0; i < actual.length; i++) {\n          var k = expectedClone.indexOf(actual[i]);\n          if (k !== -1) {\n            expectedClone[k] = null;\n          }\n        }\n        var result = null;\n        for (var i = 0; i < expectedClone.length; i++) {\n          var curr = expectedClone[i];\n          if (curr) {\n            if (result === null) {\n              result = localize9(\"namelist.single\", \"'{0}'\", curr);\n            } else {\n              result = localize9(\"namelist.concatenated\", \"{0}, '{1}'\", result, curr);\n            }\n          }\n        }\n        return result;\n      };\n      LintVisitor2.prototype.visitNode = function(node) {\n        switch (node.type) {\n          case NodeType.UnknownAtRule:\n            return this.visitUnknownAtRule(node);\n          case NodeType.Keyframe:\n            return this.visitKeyframe(node);\n          case NodeType.FontFace:\n            return this.visitFontFace(node);\n          case NodeType.Ruleset:\n            return this.visitRuleSet(node);\n          case NodeType.SimpleSelector:\n            return this.visitSimpleSelector(node);\n          case NodeType.Function:\n            return this.visitFunction(node);\n          case NodeType.NumericValue:\n            return this.visitNumericValue(node);\n          case NodeType.Import:\n            return this.visitImport(node);\n          case NodeType.HexColorValue:\n            return this.visitHexColorValue(node);\n          case NodeType.Prio:\n            return this.visitPrio(node);\n          case NodeType.IdentifierSelector:\n            return this.visitIdentifierSelector(node);\n        }\n        return true;\n      };\n      LintVisitor2.prototype.completeValidations = function() {\n        this.validateKeyframes();\n      };\n      LintVisitor2.prototype.visitUnknownAtRule = function(node) {\n        var atRuleName = node.getChild(0);\n        if (!atRuleName) {\n          return false;\n        }\n        var atDirective = this.cssDataManager.getAtDirective(atRuleName.getText());\n        if (atDirective) {\n          return false;\n        }\n        this.addEntry(atRuleName, Rules.UnknownAtRules, \"Unknown at rule \".concat(atRuleName.getText()));\n        return true;\n      };\n      LintVisitor2.prototype.visitKeyframe = function(node) {\n        var keyword = node.getKeyword();\n        if (!keyword) {\n          return false;\n        }\n        var text = keyword.getText();\n        this.keyframes.add(node.getName(), text, text !== \"@keyframes\" ? keyword : null);\n        return true;\n      };\n      LintVisitor2.prototype.validateKeyframes = function() {\n        var expected = [\"@-webkit-keyframes\", \"@-moz-keyframes\", \"@-o-keyframes\"];\n        for (var name in this.keyframes.data) {\n          var actual = this.keyframes.data[name].names;\n          var needsStandard = actual.indexOf(\"@keyframes\") === -1;\n          if (!needsStandard && actual.length === 1) {\n            continue;\n          }\n          var missingVendorSpecific = this.getMissingNames(expected, actual);\n          if (missingVendorSpecific || needsStandard) {\n            for (var _i = 0, _a22 = this.keyframes.data[name].nodes; _i < _a22.length; _i++) {\n              var node = _a22[_i];\n              if (needsStandard) {\n                var message = localize9(\"keyframes.standardrule.missing\", \"Always define standard rule '@keyframes' when defining keyframes.\");\n                this.addEntry(node, Rules.IncludeStandardPropertyWhenUsingVendorPrefix, message);\n              }\n              if (missingVendorSpecific) {\n                var message = localize9(\"keyframes.vendorspecific.missing\", \"Always include all vendor specific rules: Missing: {0}\", missingVendorSpecific);\n                this.addEntry(node, Rules.AllVendorPrefixes, message);\n              }\n            }\n          }\n        }\n        return true;\n      };\n      LintVisitor2.prototype.visitSimpleSelector = function(node) {\n        var firstChar = this.documentText.charAt(node.offset);\n        if (node.length === 1 && firstChar === \"*\") {\n          this.addEntry(node, Rules.UniversalSelector);\n        }\n        return true;\n      };\n      LintVisitor2.prototype.visitIdentifierSelector = function(node) {\n        this.addEntry(node, Rules.AvoidIdSelector);\n        return true;\n      };\n      LintVisitor2.prototype.visitImport = function(node) {\n        this.addEntry(node, Rules.ImportStatemement);\n        return true;\n      };\n      LintVisitor2.prototype.visitRuleSet = function(node) {\n        var declarations = node.getDeclarations();\n        if (!declarations) {\n          return false;\n        }\n        if (!declarations.hasChildren()) {\n          this.addEntry(node.getSelectors(), Rules.EmptyRuleSet);\n        }\n        var propertyTable = [];\n        for (var _i = 0, _a22 = declarations.getChildren(); _i < _a22.length; _i++) {\n          var element = _a22[_i];\n          if (element instanceof Declaration) {\n            propertyTable.push(new Element2(element));\n          }\n        }\n        var boxModel = calculateBoxModel(propertyTable);\n        if (boxModel.width) {\n          var properties = [];\n          if (boxModel.right.value) {\n            properties = union(properties, boxModel.right.properties);\n          }\n          if (boxModel.left.value) {\n            properties = union(properties, boxModel.left.properties);\n          }\n          if (properties.length !== 0) {\n            for (var _b3 = 0, properties_1 = properties; _b3 < properties_1.length; _b3++) {\n              var item = properties_1[_b3];\n              this.addEntry(item.node, Rules.BewareOfBoxModelSize);\n            }\n            this.addEntry(boxModel.width.node, Rules.BewareOfBoxModelSize);\n          }\n        }\n        if (boxModel.height) {\n          var properties = [];\n          if (boxModel.top.value) {\n            properties = union(properties, boxModel.top.properties);\n          }\n          if (boxModel.bottom.value) {\n            properties = union(properties, boxModel.bottom.properties);\n          }\n          if (properties.length !== 0) {\n            for (var _c = 0, properties_2 = properties; _c < properties_2.length; _c++) {\n              var item = properties_2[_c];\n              this.addEntry(item.node, Rules.BewareOfBoxModelSize);\n            }\n            this.addEntry(boxModel.height.node, Rules.BewareOfBoxModelSize);\n          }\n        }\n        var displayElems = this.fetchWithValue(propertyTable, \"display\", \"inline-block\");\n        if (displayElems.length > 0) {\n          var elem = this.fetch(propertyTable, \"float\");\n          for (var index = 0; index < elem.length; index++) {\n            var node_1 = elem[index].node;\n            var value = node_1.getValue();\n            if (value && !value.matches(\"none\")) {\n              this.addEntry(node_1, Rules.PropertyIgnoredDueToDisplay, localize9(\"rule.propertyIgnoredDueToDisplayInlineBlock\", \"inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'\"));\n            }\n          }\n        }\n        displayElems = this.fetchWithValue(propertyTable, \"display\", \"block\");\n        if (displayElems.length > 0) {\n          var elem = this.fetch(propertyTable, \"vertical-align\");\n          for (var index = 0; index < elem.length; index++) {\n            this.addEntry(elem[index].node, Rules.PropertyIgnoredDueToDisplay, localize9(\"rule.propertyIgnoredDueToDisplayBlock\", \"Property is ignored due to the display. With 'display: block', vertical-align should not be used.\"));\n          }\n        }\n        var elements = this.fetch(propertyTable, \"float\");\n        for (var index = 0; index < elements.length; index++) {\n          var element = elements[index];\n          if (!this.isValidPropertyDeclaration(element)) {\n            this.addEntry(element.node, Rules.AvoidFloat);\n          }\n        }\n        for (var i = 0; i < propertyTable.length; i++) {\n          var element = propertyTable[i];\n          if (element.fullPropertyName !== \"background\" && !this.validProperties[element.fullPropertyName]) {\n            var value = element.node.getValue();\n            if (value && this.documentText.charAt(value.offset) !== \"-\") {\n              var elements_1 = this.fetch(propertyTable, element.fullPropertyName);\n              if (elements_1.length > 1) {\n                for (var k = 0; k < elements_1.length; k++) {\n                  var value_1 = elements_1[k].node.getValue();\n                  if (value_1 && this.documentText.charAt(value_1.offset) !== \"-\" && elements_1[k] !== element) {\n                    this.addEntry(element.node, Rules.DuplicateDeclarations);\n                  }\n                }\n              }\n            }\n          }\n        }\n        var isExportBlock = node.getSelectors().matches(\":export\");\n        if (!isExportBlock) {\n          var propertiesBySuffix = new NodesByRootMap();\n          var containsUnknowns = false;\n          for (var _d = 0, propertyTable_1 = propertyTable; _d < propertyTable_1.length; _d++) {\n            var element = propertyTable_1[_d];\n            var decl = element.node;\n            if (this.isCSSDeclaration(decl)) {\n              var name = element.fullPropertyName;\n              var firstChar = name.charAt(0);\n              if (firstChar === \"-\") {\n                if (name.charAt(1) !== \"-\") {\n                  if (!this.cssDataManager.isKnownProperty(name) && !this.validProperties[name]) {\n                    this.addEntry(decl.getProperty(), Rules.UnknownVendorSpecificProperty);\n                  }\n                  var nonPrefixedName = decl.getNonPrefixedPropertyName();\n                  propertiesBySuffix.add(nonPrefixedName, name, decl.getProperty());\n                }\n              } else {\n                var fullName = name;\n                if (firstChar === \"*\" || firstChar === \"_\") {\n                  this.addEntry(decl.getProperty(), Rules.IEStarHack);\n                  name = name.substr(1);\n                }\n                if (!this.cssDataManager.isKnownProperty(fullName) && !this.cssDataManager.isKnownProperty(name)) {\n                  if (!this.validProperties[name]) {\n                    this.addEntry(decl.getProperty(), Rules.UnknownProperty, localize9(\"property.unknownproperty.detailed\", \"Unknown property: '{0}'\", decl.getFullPropertyName()));\n                  }\n                }\n                propertiesBySuffix.add(name, name, null);\n              }\n            } else {\n              containsUnknowns = true;\n            }\n          }\n          if (!containsUnknowns) {\n            for (var suffix in propertiesBySuffix.data) {\n              var entry = propertiesBySuffix.data[suffix];\n              var actual = entry.names;\n              var needsStandard = this.cssDataManager.isStandardProperty(suffix) && actual.indexOf(suffix) === -1;\n              if (!needsStandard && actual.length === 1) {\n                continue;\n              }\n              var expected = [];\n              for (var i = 0, len = LintVisitor2.prefixes.length; i < len; i++) {\n                var prefix = LintVisitor2.prefixes[i];\n                if (this.cssDataManager.isStandardProperty(prefix + suffix)) {\n                  expected.push(prefix + suffix);\n                }\n              }\n              var missingVendorSpecific = this.getMissingNames(expected, actual);\n              if (missingVendorSpecific || needsStandard) {\n                for (var _e = 0, _f2 = entry.nodes; _e < _f2.length; _e++) {\n                  var node_2 = _f2[_e];\n                  if (needsStandard) {\n                    var message = localize9(\"property.standard.missing\", \"Also define the standard property '{0}' for compatibility\", suffix);\n                    this.addEntry(node_2, Rules.IncludeStandardPropertyWhenUsingVendorPrefix, message);\n                  }\n                  if (missingVendorSpecific) {\n                    var message = localize9(\"property.vendorspecific.missing\", \"Always include all vendor specific properties: Missing: {0}\", missingVendorSpecific);\n                    this.addEntry(node_2, Rules.AllVendorPrefixes, message);\n                  }\n                }\n              }\n            }\n          }\n        }\n        return true;\n      };\n      LintVisitor2.prototype.visitPrio = function(node) {\n        this.addEntry(node, Rules.AvoidImportant);\n        return true;\n      };\n      LintVisitor2.prototype.visitNumericValue = function(node) {\n        var funcDecl = node.findParent(NodeType.Function);\n        if (funcDecl && funcDecl.getName() === \"calc\") {\n          return true;\n        }\n        var decl = node.findParent(NodeType.Declaration);\n        if (decl) {\n          var declValue = decl.getValue();\n          if (declValue) {\n            var value = node.getValue();\n            if (!value.unit || units.length.indexOf(value.unit.toLowerCase()) === -1) {\n              return true;\n            }\n            if (parseFloat(value.value) === 0 && !!value.unit && !this.validProperties[decl.getFullPropertyName()]) {\n              this.addEntry(node, Rules.ZeroWithUnit);\n            }\n          }\n        }\n        return true;\n      };\n      LintVisitor2.prototype.visitFontFace = function(node) {\n        var declarations = node.getDeclarations();\n        if (!declarations) {\n          return false;\n        }\n        var definesSrc = false, definesFontFamily = false;\n        var containsUnknowns = false;\n        for (var _i = 0, _a22 = declarations.getChildren(); _i < _a22.length; _i++) {\n          var node_3 = _a22[_i];\n          if (this.isCSSDeclaration(node_3)) {\n            var name = node_3.getProperty().getName().toLowerCase();\n            if (name === \"src\") {\n              definesSrc = true;\n            }\n            if (name === \"font-family\") {\n              definesFontFamily = true;\n            }\n          } else {\n            containsUnknowns = true;\n          }\n        }\n        if (!containsUnknowns && (!definesSrc || !definesFontFamily)) {\n          this.addEntry(node, Rules.RequiredPropertiesForFontFace);\n        }\n        return true;\n      };\n      LintVisitor2.prototype.isCSSDeclaration = function(node) {\n        if (node instanceof Declaration) {\n          if (!node.getValue()) {\n            return false;\n          }\n          var property = node.getProperty();\n          if (!property) {\n            return false;\n          }\n          var identifier = property.getIdentifier();\n          if (!identifier || identifier.containsInterpolation()) {\n            return false;\n          }\n          return true;\n        }\n        return false;\n      };\n      LintVisitor2.prototype.visitHexColorValue = function(node) {\n        var length = node.length;\n        if (length !== 9 && length !== 7 && length !== 5 && length !== 4) {\n          this.addEntry(node, Rules.HexColorLength);\n        }\n        return false;\n      };\n      LintVisitor2.prototype.visitFunction = function(node) {\n        var fnName = node.getName().toLowerCase();\n        var expectedAttrCount = -1;\n        var actualAttrCount = 0;\n        switch (fnName) {\n          case \"rgb(\":\n          case \"hsl(\":\n            expectedAttrCount = 3;\n            break;\n          case \"rgba(\":\n          case \"hsla(\":\n            expectedAttrCount = 4;\n            break;\n        }\n        if (expectedAttrCount !== -1) {\n          node.getArguments().accept(function(n) {\n            if (n instanceof BinaryExpression) {\n              actualAttrCount += 1;\n              return false;\n            }\n            return true;\n          });\n          if (actualAttrCount !== expectedAttrCount) {\n            this.addEntry(node, Rules.ArgsInColorFunction);\n          }\n        }\n        return true;\n      };\n      LintVisitor2.prefixes = [\n        \"-ms-\",\n        \"-moz-\",\n        \"-o-\",\n        \"-webkit-\"\n        // Quite common\n        //\t\t'-xv-', '-atsc-', '-wap-', '-khtml-', 'mso-', 'prince-', '-ah-', '-hp-', '-ro-', '-rim-', '-tc-' // Quite un-common\n      ];\n      return LintVisitor2;\n    }()\n  );\n  var CSSValidation = (\n    /** @class */\n    function() {\n      function CSSValidation2(cssDataManager) {\n        this.cssDataManager = cssDataManager;\n      }\n      CSSValidation2.prototype.configure = function(settings) {\n        this.settings = settings;\n      };\n      CSSValidation2.prototype.doValidation = function(document2, stylesheet, settings) {\n        if (settings === void 0) {\n          settings = this.settings;\n        }\n        if (settings && settings.validate === false) {\n          return [];\n        }\n        var entries = [];\n        entries.push.apply(entries, ParseErrorCollector.entries(stylesheet));\n        entries.push.apply(entries, LintVisitor.entries(stylesheet, document2, new LintConfigurationSettings(settings && settings.lint), this.cssDataManager));\n        var ruleIds = [];\n        for (var r in Rules) {\n          ruleIds.push(Rules[r].id);\n        }\n        function toDiagnostic(marker) {\n          var range = Range2.create(document2.positionAt(marker.getOffset()), document2.positionAt(marker.getOffset() + marker.getLength()));\n          var source = document2.languageId;\n          return {\n            code: marker.getRule().id,\n            source,\n            message: marker.getMessage(),\n            severity: marker.getLevel() === Level.Warning ? DiagnosticSeverity.Warning : DiagnosticSeverity.Error,\n            range\n          };\n        }\n        return entries.filter(function(entry) {\n          return entry.getLevel() !== Level.Ignore;\n        }).map(toDiagnostic);\n      };\n      return CSSValidation2;\n    }()\n  );\n  var __extends4 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var _FSL2 = \"/\".charCodeAt(0);\n  var _NWL2 = \"\\n\".charCodeAt(0);\n  var _CAR2 = \"\\r\".charCodeAt(0);\n  var _LFD2 = \"\\f\".charCodeAt(0);\n  var _DLR2 = \"$\".charCodeAt(0);\n  var _HSH2 = \"#\".charCodeAt(0);\n  var _CUL2 = \"{\".charCodeAt(0);\n  var _EQS2 = \"=\".charCodeAt(0);\n  var _BNG2 = \"!\".charCodeAt(0);\n  var _LAN2 = \"<\".charCodeAt(0);\n  var _RAN2 = \">\".charCodeAt(0);\n  var _DOT2 = \".\".charCodeAt(0);\n  var _ATS2 = \"@\".charCodeAt(0);\n  var customTokenValue = TokenType.CustomToken;\n  var VariableName = customTokenValue++;\n  var InterpolationFunction = customTokenValue++;\n  var Default = customTokenValue++;\n  var EqualsOperator = customTokenValue++;\n  var NotEqualsOperator = customTokenValue++;\n  var GreaterEqualsOperator = customTokenValue++;\n  var SmallerEqualsOperator = customTokenValue++;\n  var Ellipsis = customTokenValue++;\n  var Module2 = customTokenValue++;\n  var SCSSScanner = (\n    /** @class */\n    function(_super) {\n      __extends4(SCSSScanner2, _super);\n      function SCSSScanner2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      SCSSScanner2.prototype.scanNext = function(offset) {\n        if (this.stream.advanceIfChar(_DLR2)) {\n          var content = [\"$\"];\n          if (this.ident(content)) {\n            return this.finishToken(offset, VariableName, content.join(\"\"));\n          } else {\n            this.stream.goBackTo(offset);\n          }\n        }\n        if (this.stream.advanceIfChars([_HSH2, _CUL2])) {\n          return this.finishToken(offset, InterpolationFunction);\n        }\n        if (this.stream.advanceIfChars([_EQS2, _EQS2])) {\n          return this.finishToken(offset, EqualsOperator);\n        }\n        if (this.stream.advanceIfChars([_BNG2, _EQS2])) {\n          return this.finishToken(offset, NotEqualsOperator);\n        }\n        if (this.stream.advanceIfChar(_LAN2)) {\n          if (this.stream.advanceIfChar(_EQS2)) {\n            return this.finishToken(offset, SmallerEqualsOperator);\n          }\n          return this.finishToken(offset, TokenType.Delim);\n        }\n        if (this.stream.advanceIfChar(_RAN2)) {\n          if (this.stream.advanceIfChar(_EQS2)) {\n            return this.finishToken(offset, GreaterEqualsOperator);\n          }\n          return this.finishToken(offset, TokenType.Delim);\n        }\n        if (this.stream.advanceIfChars([_DOT2, _DOT2, _DOT2])) {\n          return this.finishToken(offset, Ellipsis);\n        }\n        return _super.prototype.scanNext.call(this, offset);\n      };\n      SCSSScanner2.prototype.comment = function() {\n        if (_super.prototype.comment.call(this)) {\n          return true;\n        }\n        if (!this.inURL && this.stream.advanceIfChars([_FSL2, _FSL2])) {\n          this.stream.advanceWhileChar(function(ch) {\n            switch (ch) {\n              case _NWL2:\n              case _CAR2:\n              case _LFD2:\n                return false;\n              default:\n                return true;\n            }\n          });\n          return true;\n        } else {\n          return false;\n        }\n      };\n      return SCSSScanner2;\n    }(Scanner)\n  );\n  var localize10 = loadMessageBundle();\n  var SCSSIssueType = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function SCSSIssueType2(id, message) {\n        this.id = id;\n        this.message = message;\n      }\n      return SCSSIssueType2;\n    }()\n  );\n  var SCSSParseError = {\n    FromExpected: new SCSSIssueType(\"scss-fromexpected\", localize10(\"expected.from\", \"'from' expected\")),\n    ThroughOrToExpected: new SCSSIssueType(\"scss-throughexpected\", localize10(\"expected.through\", \"'through' or 'to' expected\")),\n    InExpected: new SCSSIssueType(\"scss-fromexpected\", localize10(\"expected.in\", \"'in' expected\"))\n  };\n  var __extends5 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var SCSSParser = (\n    /** @class */\n    function(_super) {\n      __extends5(SCSSParser2, _super);\n      function SCSSParser2() {\n        return _super.call(this, new SCSSScanner()) || this;\n      }\n      SCSSParser2.prototype._parseStylesheetStatement = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (this.peek(TokenType.AtKeyword)) {\n          return this._parseWarnAndDebug() || this._parseControlStatement() || this._parseMixinDeclaration() || this._parseMixinContent() || this._parseMixinReference() || this._parseFunctionDeclaration() || this._parseForward() || this._parseUse() || this._parseRuleset(isNested) || _super.prototype._parseStylesheetAtStatement.call(this, isNested);\n        }\n        return this._parseRuleset(true) || this._parseVariableDeclaration();\n      };\n      SCSSParser2.prototype._parseImport = function() {\n        if (!this.peekKeyword(\"@import\")) {\n          return null;\n        }\n        var node = this.create(Import);\n        this.consumeToken();\n        if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n          return this.finish(node, ParseError.URIOrStringExpected);\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n            return this.finish(node, ParseError.URIOrStringExpected);\n          }\n        }\n        if (!this.peek(TokenType.SemiColon) && !this.peek(TokenType.EOF)) {\n          node.setMedialist(this._parseMediaQueryList());\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseVariableDeclaration = function(panic) {\n        if (panic === void 0) {\n          panic = [];\n        }\n        if (!this.peek(VariableName)) {\n          return null;\n        }\n        var node = this.create(VariableDeclaration);\n        if (!node.setVariable(this._parseVariable())) {\n          return null;\n        }\n        if (!this.accept(TokenType.Colon)) {\n          return this.finish(node, ParseError.ColonExpected);\n        }\n        if (this.prevToken) {\n          node.colonPosition = this.prevToken.offset;\n        }\n        if (!node.setValue(this._parseExpr())) {\n          return this.finish(node, ParseError.VariableValueExpected, [], panic);\n        }\n        while (this.peek(TokenType.Exclamation)) {\n          if (node.addChild(this._tryParsePrio())) {\n          } else {\n            this.consumeToken();\n            if (!this.peekRegExp(TokenType.Ident, /^(default|global)$/)) {\n              return this.finish(node, ParseError.UnknownKeyword);\n            }\n            this.consumeToken();\n          }\n        }\n        if (this.peek(TokenType.SemiColon)) {\n          node.semicolonPosition = this.token.offset;\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseMediaCondition = function() {\n        return this._parseInterpolation() || _super.prototype._parseMediaCondition.call(this);\n      };\n      SCSSParser2.prototype._parseMediaFeatureName = function() {\n        return this._parseModuleMember() || this._parseFunction() || this._parseIdent() || this._parseVariable();\n      };\n      SCSSParser2.prototype._parseKeyframeSelector = function() {\n        return this._tryParseKeyframeSelector() || this._parseControlStatement(this._parseKeyframeSelector.bind(this)) || this._parseVariableDeclaration() || this._parseMixinContent();\n      };\n      SCSSParser2.prototype._parseVariable = function() {\n        if (!this.peek(VariableName)) {\n          return null;\n        }\n        var node = this.create(Variable);\n        this.consumeToken();\n        return node;\n      };\n      SCSSParser2.prototype._parseModuleMember = function() {\n        var pos = this.mark();\n        var node = this.create(Module);\n        if (!node.setIdentifier(this._parseIdent([ReferenceType.Module]))) {\n          return null;\n        }\n        if (this.hasWhitespace() || !this.acceptDelim(\".\") || this.hasWhitespace()) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        if (!node.addChild(this._parseVariable() || this._parseFunction())) {\n          return this.finish(node, ParseError.IdentifierOrVariableExpected);\n        }\n        return node;\n      };\n      SCSSParser2.prototype._parseIdent = function(referenceTypes) {\n        var _this = this;\n        if (!this.peek(TokenType.Ident) && !this.peek(InterpolationFunction) && !this.peekDelim(\"-\")) {\n          return null;\n        }\n        var node = this.create(Identifier);\n        node.referenceTypes = referenceTypes;\n        node.isCustomProperty = this.peekRegExp(TokenType.Ident, /^--/);\n        var hasContent = false;\n        var indentInterpolation = function() {\n          var pos = _this.mark();\n          if (_this.acceptDelim(\"-\")) {\n            if (!_this.hasWhitespace()) {\n              _this.acceptDelim(\"-\");\n            }\n            if (_this.hasWhitespace()) {\n              _this.restoreAtMark(pos);\n              return null;\n            }\n          }\n          return _this._parseInterpolation();\n        };\n        while (this.accept(TokenType.Ident) || node.addChild(indentInterpolation()) || hasContent && this.acceptRegexp(/^[\\w-]/)) {\n          hasContent = true;\n          if (this.hasWhitespace()) {\n            break;\n          }\n        }\n        return hasContent ? this.finish(node) : null;\n      };\n      SCSSParser2.prototype._parseTermExpression = function() {\n        return this._parseModuleMember() || this._parseVariable() || this._parseSelectorCombinator() || //this._tryParsePrio() ||\n        _super.prototype._parseTermExpression.call(this);\n      };\n      SCSSParser2.prototype._parseInterpolation = function() {\n        if (this.peek(InterpolationFunction)) {\n          var node = this.create(Interpolation);\n          this.consumeToken();\n          if (!node.addChild(this._parseExpr()) && !this._parseSelectorCombinator()) {\n            if (this.accept(TokenType.CurlyR)) {\n              return this.finish(node);\n            }\n            return this.finish(node, ParseError.ExpressionExpected);\n          }\n          if (!this.accept(TokenType.CurlyR)) {\n            return this.finish(node, ParseError.RightCurlyExpected);\n          }\n          return this.finish(node);\n        }\n        return null;\n      };\n      SCSSParser2.prototype._parseOperator = function() {\n        if (this.peek(EqualsOperator) || this.peek(NotEqualsOperator) || this.peek(GreaterEqualsOperator) || this.peek(SmallerEqualsOperator) || this.peekDelim(\">\") || this.peekDelim(\"<\") || this.peekIdent(\"and\") || this.peekIdent(\"or\") || this.peekDelim(\"%\")) {\n          var node = this.createNode(NodeType.Operator);\n          this.consumeToken();\n          return this.finish(node);\n        }\n        return _super.prototype._parseOperator.call(this);\n      };\n      SCSSParser2.prototype._parseUnaryOperator = function() {\n        if (this.peekIdent(\"not\")) {\n          var node = this.create(Node2);\n          this.consumeToken();\n          return this.finish(node);\n        }\n        return _super.prototype._parseUnaryOperator.call(this);\n      };\n      SCSSParser2.prototype._parseRuleSetDeclaration = function() {\n        if (this.peek(TokenType.AtKeyword)) {\n          return this._parseKeyframe() || this._parseImport() || this._parseMedia(true) || this._parseFontFace() || this._parseWarnAndDebug() || this._parseControlStatement() || this._parseFunctionDeclaration() || this._parseExtends() || this._parseMixinReference() || this._parseMixinContent() || this._parseMixinDeclaration() || this._parseRuleset(true) || this._parseSupports(true) || _super.prototype._parseRuleSetDeclarationAtStatement.call(this);\n        }\n        return this._parseVariableDeclaration() || this._tryParseRuleset(true) || _super.prototype._parseRuleSetDeclaration.call(this);\n      };\n      SCSSParser2.prototype._parseDeclaration = function(stopTokens) {\n        var custonProperty = this._tryParseCustomPropertyDeclaration(stopTokens);\n        if (custonProperty) {\n          return custonProperty;\n        }\n        var node = this.create(Declaration);\n        if (!node.setProperty(this._parseProperty())) {\n          return null;\n        }\n        if (!this.accept(TokenType.Colon)) {\n          return this.finish(node, ParseError.ColonExpected, [TokenType.Colon], stopTokens || [TokenType.SemiColon]);\n        }\n        if (this.prevToken) {\n          node.colonPosition = this.prevToken.offset;\n        }\n        var hasContent = false;\n        if (node.setValue(this._parseExpr())) {\n          hasContent = true;\n          node.addChild(this._parsePrio());\n        }\n        if (this.peek(TokenType.CurlyL)) {\n          node.setNestedProperties(this._parseNestedProperties());\n        } else {\n          if (!hasContent) {\n            return this.finish(node, ParseError.PropertyValueExpected);\n          }\n        }\n        if (this.peek(TokenType.SemiColon)) {\n          node.semicolonPosition = this.token.offset;\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseNestedProperties = function() {\n        var node = this.create(NestedProperties);\n        return this._parseBody(node, this._parseDeclaration.bind(this));\n      };\n      SCSSParser2.prototype._parseExtends = function() {\n        if (this.peekKeyword(\"@extend\")) {\n          var node = this.create(ExtendsReference);\n          this.consumeToken();\n          if (!node.getSelectors().addChild(this._parseSimpleSelector())) {\n            return this.finish(node, ParseError.SelectorExpected);\n          }\n          while (this.accept(TokenType.Comma)) {\n            node.getSelectors().addChild(this._parseSimpleSelector());\n          }\n          if (this.accept(TokenType.Exclamation)) {\n            if (!this.acceptIdent(\"optional\")) {\n              return this.finish(node, ParseError.UnknownKeyword);\n            }\n          }\n          return this.finish(node);\n        }\n        return null;\n      };\n      SCSSParser2.prototype._parseSimpleSelectorBody = function() {\n        return this._parseSelectorCombinator() || this._parseSelectorPlaceholder() || _super.prototype._parseSimpleSelectorBody.call(this);\n      };\n      SCSSParser2.prototype._parseSelectorCombinator = function() {\n        if (this.peekDelim(\"&\")) {\n          var node = this.createNode(NodeType.SelectorCombinator);\n          this.consumeToken();\n          while (!this.hasWhitespace() && (this.acceptDelim(\"-\") || this.accept(TokenType.Num) || this.accept(TokenType.Dimension) || node.addChild(this._parseIdent()) || this.acceptDelim(\"&\"))) {\n          }\n          return this.finish(node);\n        }\n        return null;\n      };\n      SCSSParser2.prototype._parseSelectorPlaceholder = function() {\n        if (this.peekDelim(\"%\")) {\n          var node = this.createNode(NodeType.SelectorPlaceholder);\n          this.consumeToken();\n          this._parseIdent();\n          return this.finish(node);\n        } else if (this.peekKeyword(\"@at-root\")) {\n          var node = this.createNode(NodeType.SelectorPlaceholder);\n          this.consumeToken();\n          return this.finish(node);\n        }\n        return null;\n      };\n      SCSSParser2.prototype._parseElementName = function() {\n        var pos = this.mark();\n        var node = _super.prototype._parseElementName.call(this);\n        if (node && !this.hasWhitespace() && this.peek(TokenType.ParenthesisL)) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        return node;\n      };\n      SCSSParser2.prototype._tryParsePseudoIdentifier = function() {\n        return this._parseInterpolation() || _super.prototype._tryParsePseudoIdentifier.call(this);\n      };\n      SCSSParser2.prototype._parseWarnAndDebug = function() {\n        if (!this.peekKeyword(\"@debug\") && !this.peekKeyword(\"@warn\") && !this.peekKeyword(\"@error\")) {\n          return null;\n        }\n        var node = this.createNode(NodeType.Debug);\n        this.consumeToken();\n        node.addChild(this._parseExpr());\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseControlStatement = function(parseStatement) {\n        if (parseStatement === void 0) {\n          parseStatement = this._parseRuleSetDeclaration.bind(this);\n        }\n        if (!this.peek(TokenType.AtKeyword)) {\n          return null;\n        }\n        return this._parseIfStatement(parseStatement) || this._parseForStatement(parseStatement) || this._parseEachStatement(parseStatement) || this._parseWhileStatement(parseStatement);\n      };\n      SCSSParser2.prototype._parseIfStatement = function(parseStatement) {\n        if (!this.peekKeyword(\"@if\")) {\n          return null;\n        }\n        return this._internalParseIfStatement(parseStatement);\n      };\n      SCSSParser2.prototype._internalParseIfStatement = function(parseStatement) {\n        var node = this.create(IfStatement);\n        this.consumeToken();\n        if (!node.setExpression(this._parseExpr(true))) {\n          return this.finish(node, ParseError.ExpressionExpected);\n        }\n        this._parseBody(node, parseStatement);\n        if (this.acceptKeyword(\"@else\")) {\n          if (this.peekIdent(\"if\")) {\n            node.setElseClause(this._internalParseIfStatement(parseStatement));\n          } else if (this.peek(TokenType.CurlyL)) {\n            var elseNode = this.create(ElseStatement);\n            this._parseBody(elseNode, parseStatement);\n            node.setElseClause(elseNode);\n          }\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseForStatement = function(parseStatement) {\n        if (!this.peekKeyword(\"@for\")) {\n          return null;\n        }\n        var node = this.create(ForStatement);\n        this.consumeToken();\n        if (!node.setVariable(this._parseVariable())) {\n          return this.finish(node, ParseError.VariableNameExpected, [TokenType.CurlyR]);\n        }\n        if (!this.acceptIdent(\"from\")) {\n          return this.finish(node, SCSSParseError.FromExpected, [TokenType.CurlyR]);\n        }\n        if (!node.addChild(this._parseBinaryExpr())) {\n          return this.finish(node, ParseError.ExpressionExpected, [TokenType.CurlyR]);\n        }\n        if (!this.acceptIdent(\"to\") && !this.acceptIdent(\"through\")) {\n          return this.finish(node, SCSSParseError.ThroughOrToExpected, [TokenType.CurlyR]);\n        }\n        if (!node.addChild(this._parseBinaryExpr())) {\n          return this.finish(node, ParseError.ExpressionExpected, [TokenType.CurlyR]);\n        }\n        return this._parseBody(node, parseStatement);\n      };\n      SCSSParser2.prototype._parseEachStatement = function(parseStatement) {\n        if (!this.peekKeyword(\"@each\")) {\n          return null;\n        }\n        var node = this.create(EachStatement);\n        this.consumeToken();\n        var variables = node.getVariables();\n        if (!variables.addChild(this._parseVariable())) {\n          return this.finish(node, ParseError.VariableNameExpected, [TokenType.CurlyR]);\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!variables.addChild(this._parseVariable())) {\n            return this.finish(node, ParseError.VariableNameExpected, [TokenType.CurlyR]);\n          }\n        }\n        this.finish(variables);\n        if (!this.acceptIdent(\"in\")) {\n          return this.finish(node, SCSSParseError.InExpected, [TokenType.CurlyR]);\n        }\n        if (!node.addChild(this._parseExpr())) {\n          return this.finish(node, ParseError.ExpressionExpected, [TokenType.CurlyR]);\n        }\n        return this._parseBody(node, parseStatement);\n      };\n      SCSSParser2.prototype._parseWhileStatement = function(parseStatement) {\n        if (!this.peekKeyword(\"@while\")) {\n          return null;\n        }\n        var node = this.create(WhileStatement);\n        this.consumeToken();\n        if (!node.addChild(this._parseBinaryExpr())) {\n          return this.finish(node, ParseError.ExpressionExpected, [TokenType.CurlyR]);\n        }\n        return this._parseBody(node, parseStatement);\n      };\n      SCSSParser2.prototype._parseFunctionBodyDeclaration = function() {\n        return this._parseVariableDeclaration() || this._parseReturnStatement() || this._parseWarnAndDebug() || this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this));\n      };\n      SCSSParser2.prototype._parseFunctionDeclaration = function() {\n        if (!this.peekKeyword(\"@function\")) {\n          return null;\n        }\n        var node = this.create(FunctionDeclaration);\n        this.consumeToken();\n        if (!node.setIdentifier(this._parseIdent([ReferenceType.Function]))) {\n          return this.finish(node, ParseError.IdentifierExpected, [TokenType.CurlyR]);\n        }\n        if (!this.accept(TokenType.ParenthesisL)) {\n          return this.finish(node, ParseError.LeftParenthesisExpected, [TokenType.CurlyR]);\n        }\n        if (node.getParameters().addChild(this._parseParameterDeclaration())) {\n          while (this.accept(TokenType.Comma)) {\n            if (this.peek(TokenType.ParenthesisR)) {\n              break;\n            }\n            if (!node.getParameters().addChild(this._parseParameterDeclaration())) {\n              return this.finish(node, ParseError.VariableNameExpected);\n            }\n          }\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected, [TokenType.CurlyR]);\n        }\n        return this._parseBody(node, this._parseFunctionBodyDeclaration.bind(this));\n      };\n      SCSSParser2.prototype._parseReturnStatement = function() {\n        if (!this.peekKeyword(\"@return\")) {\n          return null;\n        }\n        var node = this.createNode(NodeType.ReturnStatement);\n        this.consumeToken();\n        if (!node.addChild(this._parseExpr())) {\n          return this.finish(node, ParseError.ExpressionExpected);\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseMixinDeclaration = function() {\n        if (!this.peekKeyword(\"@mixin\")) {\n          return null;\n        }\n        var node = this.create(MixinDeclaration);\n        this.consumeToken();\n        if (!node.setIdentifier(this._parseIdent([ReferenceType.Mixin]))) {\n          return this.finish(node, ParseError.IdentifierExpected, [TokenType.CurlyR]);\n        }\n        if (this.accept(TokenType.ParenthesisL)) {\n          if (node.getParameters().addChild(this._parseParameterDeclaration())) {\n            while (this.accept(TokenType.Comma)) {\n              if (this.peek(TokenType.ParenthesisR)) {\n                break;\n              }\n              if (!node.getParameters().addChild(this._parseParameterDeclaration())) {\n                return this.finish(node, ParseError.VariableNameExpected);\n              }\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected, [TokenType.CurlyR]);\n          }\n        }\n        return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n      };\n      SCSSParser2.prototype._parseParameterDeclaration = function() {\n        var node = this.create(FunctionParameter);\n        if (!node.setIdentifier(this._parseVariable())) {\n          return null;\n        }\n        if (this.accept(Ellipsis)) {\n        }\n        if (this.accept(TokenType.Colon)) {\n          if (!node.setDefaultValue(this._parseExpr(true))) {\n            return this.finish(node, ParseError.VariableValueExpected, [], [TokenType.Comma, TokenType.ParenthesisR]);\n          }\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseMixinContent = function() {\n        if (!this.peekKeyword(\"@content\")) {\n          return null;\n        }\n        var node = this.create(MixinContentReference);\n        this.consumeToken();\n        if (this.accept(TokenType.ParenthesisL)) {\n          if (node.getArguments().addChild(this._parseFunctionArgument())) {\n            while (this.accept(TokenType.Comma)) {\n              if (this.peek(TokenType.ParenthesisR)) {\n                break;\n              }\n              if (!node.getArguments().addChild(this._parseFunctionArgument())) {\n                return this.finish(node, ParseError.ExpressionExpected);\n              }\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected);\n          }\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseMixinReference = function() {\n        if (!this.peekKeyword(\"@include\")) {\n          return null;\n        }\n        var node = this.create(MixinReference);\n        this.consumeToken();\n        var firstIdent = this._parseIdent([ReferenceType.Mixin]);\n        if (!node.setIdentifier(firstIdent)) {\n          return this.finish(node, ParseError.IdentifierExpected, [TokenType.CurlyR]);\n        }\n        if (!this.hasWhitespace() && this.acceptDelim(\".\") && !this.hasWhitespace()) {\n          var secondIdent = this._parseIdent([ReferenceType.Mixin]);\n          if (!secondIdent) {\n            return this.finish(node, ParseError.IdentifierExpected, [TokenType.CurlyR]);\n          }\n          var moduleToken = this.create(Module);\n          firstIdent.referenceTypes = [ReferenceType.Module];\n          moduleToken.setIdentifier(firstIdent);\n          node.setIdentifier(secondIdent);\n          node.addChild(moduleToken);\n        }\n        if (this.accept(TokenType.ParenthesisL)) {\n          if (node.getArguments().addChild(this._parseFunctionArgument())) {\n            while (this.accept(TokenType.Comma)) {\n              if (this.peek(TokenType.ParenthesisR)) {\n                break;\n              }\n              if (!node.getArguments().addChild(this._parseFunctionArgument())) {\n                return this.finish(node, ParseError.ExpressionExpected);\n              }\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected);\n          }\n        }\n        if (this.peekIdent(\"using\") || this.peek(TokenType.CurlyL)) {\n          node.setContent(this._parseMixinContentDeclaration());\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseMixinContentDeclaration = function() {\n        var node = this.create(MixinContentDeclaration);\n        if (this.acceptIdent(\"using\")) {\n          if (!this.accept(TokenType.ParenthesisL)) {\n            return this.finish(node, ParseError.LeftParenthesisExpected, [TokenType.CurlyL]);\n          }\n          if (node.getParameters().addChild(this._parseParameterDeclaration())) {\n            while (this.accept(TokenType.Comma)) {\n              if (this.peek(TokenType.ParenthesisR)) {\n                break;\n              }\n              if (!node.getParameters().addChild(this._parseParameterDeclaration())) {\n                return this.finish(node, ParseError.VariableNameExpected);\n              }\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected, [TokenType.CurlyL]);\n          }\n        }\n        if (this.peek(TokenType.CurlyL)) {\n          this._parseBody(node, this._parseMixinReferenceBodyStatement.bind(this));\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseMixinReferenceBodyStatement = function() {\n        return this._tryParseKeyframeSelector() || this._parseRuleSetDeclaration();\n      };\n      SCSSParser2.prototype._parseFunctionArgument = function() {\n        var node = this.create(FunctionArgument);\n        var pos = this.mark();\n        var argument = this._parseVariable();\n        if (argument) {\n          if (!this.accept(TokenType.Colon)) {\n            if (this.accept(Ellipsis)) {\n              node.setValue(argument);\n              return this.finish(node);\n            } else {\n              this.restoreAtMark(pos);\n            }\n          } else {\n            node.setIdentifier(argument);\n          }\n        }\n        if (node.setValue(this._parseExpr(true))) {\n          this.accept(Ellipsis);\n          node.addChild(this._parsePrio());\n          return this.finish(node);\n        } else if (node.setValue(this._tryParsePrio())) {\n          return this.finish(node);\n        }\n        return null;\n      };\n      SCSSParser2.prototype._parseURLArgument = function() {\n        var pos = this.mark();\n        var node = _super.prototype._parseURLArgument.call(this);\n        if (!node || !this.peek(TokenType.ParenthesisR)) {\n          this.restoreAtMark(pos);\n          var node_1 = this.create(Node2);\n          node_1.addChild(this._parseBinaryExpr());\n          return this.finish(node_1);\n        }\n        return node;\n      };\n      SCSSParser2.prototype._parseOperation = function() {\n        if (!this.peek(TokenType.ParenthesisL)) {\n          return null;\n        }\n        var node = this.create(Node2);\n        this.consumeToken();\n        while (node.addChild(this._parseListElement())) {\n          this.accept(TokenType.Comma);\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseListElement = function() {\n        var node = this.create(ListEntry);\n        var child = this._parseBinaryExpr();\n        if (!child) {\n          return null;\n        }\n        if (this.accept(TokenType.Colon)) {\n          node.setKey(child);\n          if (!node.setValue(this._parseBinaryExpr())) {\n            return this.finish(node, ParseError.ExpressionExpected);\n          }\n        } else {\n          node.setValue(child);\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseUse = function() {\n        if (!this.peekKeyword(\"@use\")) {\n          return null;\n        }\n        var node = this.create(Use);\n        this.consumeToken();\n        if (!node.addChild(this._parseStringLiteral())) {\n          return this.finish(node, ParseError.StringLiteralExpected);\n        }\n        if (!this.peek(TokenType.SemiColon) && !this.peek(TokenType.EOF)) {\n          if (!this.peekRegExp(TokenType.Ident, /as|with/)) {\n            return this.finish(node, ParseError.UnknownKeyword);\n          }\n          if (this.acceptIdent(\"as\") && (!node.setIdentifier(this._parseIdent([ReferenceType.Module])) && !this.acceptDelim(\"*\"))) {\n            return this.finish(node, ParseError.IdentifierOrWildcardExpected);\n          }\n          if (this.acceptIdent(\"with\")) {\n            if (!this.accept(TokenType.ParenthesisL)) {\n              return this.finish(node, ParseError.LeftParenthesisExpected, [TokenType.ParenthesisR]);\n            }\n            if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n              return this.finish(node, ParseError.VariableNameExpected);\n            }\n            while (this.accept(TokenType.Comma)) {\n              if (this.peek(TokenType.ParenthesisR)) {\n                break;\n              }\n              if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n                return this.finish(node, ParseError.VariableNameExpected);\n              }\n            }\n            if (!this.accept(TokenType.ParenthesisR)) {\n              return this.finish(node, ParseError.RightParenthesisExpected);\n            }\n          }\n        }\n        if (!this.accept(TokenType.SemiColon) && !this.accept(TokenType.EOF)) {\n          return this.finish(node, ParseError.SemiColonExpected);\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseModuleConfigDeclaration = function() {\n        var node = this.create(ModuleConfiguration);\n        if (!node.setIdentifier(this._parseVariable())) {\n          return null;\n        }\n        if (!this.accept(TokenType.Colon) || !node.setValue(this._parseExpr(true))) {\n          return this.finish(node, ParseError.VariableValueExpected, [], [TokenType.Comma, TokenType.ParenthesisR]);\n        }\n        if (this.accept(TokenType.Exclamation)) {\n          if (this.hasWhitespace() || !this.acceptIdent(\"default\")) {\n            return this.finish(node, ParseError.UnknownKeyword);\n          }\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseForward = function() {\n        if (!this.peekKeyword(\"@forward\")) {\n          return null;\n        }\n        var node = this.create(Forward);\n        this.consumeToken();\n        if (!node.addChild(this._parseStringLiteral())) {\n          return this.finish(node, ParseError.StringLiteralExpected);\n        }\n        if (this.acceptIdent(\"with\")) {\n          if (!this.accept(TokenType.ParenthesisL)) {\n            return this.finish(node, ParseError.LeftParenthesisExpected, [TokenType.ParenthesisR]);\n          }\n          if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n            return this.finish(node, ParseError.VariableNameExpected);\n          }\n          while (this.accept(TokenType.Comma)) {\n            if (this.peek(TokenType.ParenthesisR)) {\n              break;\n            }\n            if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n              return this.finish(node, ParseError.VariableNameExpected);\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected);\n          }\n        }\n        if (!this.peek(TokenType.SemiColon) && !this.peek(TokenType.EOF)) {\n          if (!this.peekRegExp(TokenType.Ident, /as|hide|show/)) {\n            return this.finish(node, ParseError.UnknownKeyword);\n          }\n          if (this.acceptIdent(\"as\")) {\n            var identifier = this._parseIdent([ReferenceType.Forward]);\n            if (!node.setIdentifier(identifier)) {\n              return this.finish(node, ParseError.IdentifierExpected);\n            }\n            if (this.hasWhitespace() || !this.acceptDelim(\"*\")) {\n              return this.finish(node, ParseError.WildcardExpected);\n            }\n          }\n          if (this.peekIdent(\"hide\") || this.peekIdent(\"show\")) {\n            if (!node.addChild(this._parseForwardVisibility())) {\n              return this.finish(node, ParseError.IdentifierOrVariableExpected);\n            }\n          }\n        }\n        if (!this.accept(TokenType.SemiColon) && !this.accept(TokenType.EOF)) {\n          return this.finish(node, ParseError.SemiColonExpected);\n        }\n        return this.finish(node);\n      };\n      SCSSParser2.prototype._parseForwardVisibility = function() {\n        var node = this.create(ForwardVisibility);\n        node.setIdentifier(this._parseIdent());\n        while (node.addChild(this._parseVariable() || this._parseIdent())) {\n          this.accept(TokenType.Comma);\n        }\n        return node.getChildren().length > 1 ? node : null;\n      };\n      SCSSParser2.prototype._parseSupportsCondition = function() {\n        return this._parseInterpolation() || _super.prototype._parseSupportsCondition.call(this);\n      };\n      return SCSSParser2;\n    }(Parser)\n  );\n  var __extends6 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var localize11 = loadMessageBundle();\n  var SCSSCompletion = (\n    /** @class */\n    function(_super) {\n      __extends6(SCSSCompletion2, _super);\n      function SCSSCompletion2(lsServiceOptions, cssDataManager) {\n        var _this = _super.call(this, \"$\", lsServiceOptions, cssDataManager) || this;\n        addReferencesToDocumentation(SCSSCompletion2.scssModuleLoaders);\n        addReferencesToDocumentation(SCSSCompletion2.scssModuleBuiltIns);\n        return _this;\n      }\n      SCSSCompletion2.prototype.isImportPathParent = function(type) {\n        return type === NodeType.Forward || type === NodeType.Use || _super.prototype.isImportPathParent.call(this, type);\n      };\n      SCSSCompletion2.prototype.getCompletionForImportPath = function(importPathNode, result) {\n        var parentType = importPathNode.getParent().type;\n        if (parentType === NodeType.Forward || parentType === NodeType.Use) {\n          for (var _i = 0, _a22 = SCSSCompletion2.scssModuleBuiltIns; _i < _a22.length; _i++) {\n            var p = _a22[_i];\n            var item = {\n              label: p.label,\n              documentation: p.documentation,\n              textEdit: TextEdit.replace(this.getCompletionRange(importPathNode), \"'\".concat(p.label, \"'\")),\n              kind: CompletionItemKind2.Module\n            };\n            result.items.push(item);\n          }\n        }\n        return _super.prototype.getCompletionForImportPath.call(this, importPathNode, result);\n      };\n      SCSSCompletion2.prototype.createReplaceFunction = function() {\n        var tabStopCounter = 1;\n        return function(_match, p1) {\n          return \"\\\\\" + p1 + \": ${\" + tabStopCounter++ + \":\" + (SCSSCompletion2.variableDefaults[p1] || \"\") + \"}\";\n        };\n      };\n      SCSSCompletion2.prototype.createFunctionProposals = function(proposals, existingNode, sortToEnd, result) {\n        for (var _i = 0, proposals_1 = proposals; _i < proposals_1.length; _i++) {\n          var p = proposals_1[_i];\n          var insertText = p.func.replace(/\\[?(\\$\\w+)\\]?/g, this.createReplaceFunction());\n          var label = p.func.substr(0, p.func.indexOf(\"(\"));\n          var item = {\n            label,\n            detail: p.func,\n            documentation: p.desc,\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n            insertTextFormat: InsertTextFormat.Snippet,\n            kind: CompletionItemKind2.Function\n          };\n          if (sortToEnd) {\n            item.sortText = \"z\";\n          }\n          result.items.push(item);\n        }\n        return result;\n      };\n      SCSSCompletion2.prototype.getCompletionsForSelector = function(ruleSet, isNested, result) {\n        this.createFunctionProposals(SCSSCompletion2.selectorFuncs, null, true, result);\n        return _super.prototype.getCompletionsForSelector.call(this, ruleSet, isNested, result);\n      };\n      SCSSCompletion2.prototype.getTermProposals = function(entry, existingNode, result) {\n        var functions = SCSSCompletion2.builtInFuncs;\n        if (entry) {\n          functions = functions.filter(function(f2) {\n            return !f2.type || !entry.restrictions || entry.restrictions.indexOf(f2.type) !== -1;\n          });\n        }\n        this.createFunctionProposals(functions, existingNode, true, result);\n        return _super.prototype.getTermProposals.call(this, entry, existingNode, result);\n      };\n      SCSSCompletion2.prototype.getColorProposals = function(entry, existingNode, result) {\n        this.createFunctionProposals(SCSSCompletion2.colorProposals, existingNode, false, result);\n        return _super.prototype.getColorProposals.call(this, entry, existingNode, result);\n      };\n      SCSSCompletion2.prototype.getCompletionsForDeclarationProperty = function(declaration, result) {\n        this.getCompletionForAtDirectives(result);\n        this.getCompletionsForSelector(null, true, result);\n        return _super.prototype.getCompletionsForDeclarationProperty.call(this, declaration, result);\n      };\n      SCSSCompletion2.prototype.getCompletionsForExtendsReference = function(_extendsRef, existingNode, result) {\n        var symbols = this.getSymbolContext().findSymbolsAtOffset(this.offset, ReferenceType.Rule);\n        for (var _i = 0, symbols_1 = symbols; _i < symbols_1.length; _i++) {\n          var symbol = symbols_1[_i];\n          var suggest = {\n            label: symbol.name,\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), symbol.name),\n            kind: CompletionItemKind2.Function\n          };\n          result.items.push(suggest);\n        }\n        return result;\n      };\n      SCSSCompletion2.prototype.getCompletionForAtDirectives = function(result) {\n        var _a22;\n        (_a22 = result.items).push.apply(_a22, SCSSCompletion2.scssAtDirectives);\n        return result;\n      };\n      SCSSCompletion2.prototype.getCompletionForTopLevel = function(result) {\n        this.getCompletionForAtDirectives(result);\n        this.getCompletionForModuleLoaders(result);\n        _super.prototype.getCompletionForTopLevel.call(this, result);\n        return result;\n      };\n      SCSSCompletion2.prototype.getCompletionForModuleLoaders = function(result) {\n        var _a22;\n        (_a22 = result.items).push.apply(_a22, SCSSCompletion2.scssModuleLoaders);\n        return result;\n      };\n      SCSSCompletion2.variableDefaults = {\n        \"$red\": \"1\",\n        \"$green\": \"2\",\n        \"$blue\": \"3\",\n        \"$alpha\": \"1.0\",\n        \"$color\": \"#000000\",\n        \"$weight\": \"0.5\",\n        \"$hue\": \"0\",\n        \"$saturation\": \"0%\",\n        \"$lightness\": \"0%\",\n        \"$degrees\": \"0\",\n        \"$amount\": \"0\",\n        \"$string\": '\"\"',\n        \"$substring\": '\"s\"',\n        \"$number\": \"0\",\n        \"$limit\": \"1\"\n      };\n      SCSSCompletion2.colorProposals = [\n        { func: \"red($color)\", desc: localize11(\"scss.builtin.red\", \"Gets the red component of a color.\") },\n        { func: \"green($color)\", desc: localize11(\"scss.builtin.green\", \"Gets the green component of a color.\") },\n        { func: \"blue($color)\", desc: localize11(\"scss.builtin.blue\", \"Gets the blue component of a color.\") },\n        { func: \"mix($color, $color, [$weight])\", desc: localize11(\"scss.builtin.mix\", \"Mixes two colors together.\") },\n        { func: \"hue($color)\", desc: localize11(\"scss.builtin.hue\", \"Gets the hue component of a color.\") },\n        { func: \"saturation($color)\", desc: localize11(\"scss.builtin.saturation\", \"Gets the saturation component of a color.\") },\n        { func: \"lightness($color)\", desc: localize11(\"scss.builtin.lightness\", \"Gets the lightness component of a color.\") },\n        { func: \"adjust-hue($color, $degrees)\", desc: localize11(\"scss.builtin.adjust-hue\", \"Changes the hue of a color.\") },\n        { func: \"lighten($color, $amount)\", desc: localize11(\"scss.builtin.lighten\", \"Makes a color lighter.\") },\n        { func: \"darken($color, $amount)\", desc: localize11(\"scss.builtin.darken\", \"Makes a color darker.\") },\n        { func: \"saturate($color, $amount)\", desc: localize11(\"scss.builtin.saturate\", \"Makes a color more saturated.\") },\n        { func: \"desaturate($color, $amount)\", desc: localize11(\"scss.builtin.desaturate\", \"Makes a color less saturated.\") },\n        { func: \"grayscale($color)\", desc: localize11(\"scss.builtin.grayscale\", \"Converts a color to grayscale.\") },\n        { func: \"complement($color)\", desc: localize11(\"scss.builtin.complement\", \"Returns the complement of a color.\") },\n        { func: \"invert($color)\", desc: localize11(\"scss.builtin.invert\", \"Returns the inverse of a color.\") },\n        { func: \"alpha($color)\", desc: localize11(\"scss.builtin.alpha\", \"Gets the opacity component of a color.\") },\n        { func: \"opacity($color)\", desc: \"Gets the alpha component (opacity) of a color.\" },\n        { func: \"rgba($color, $alpha)\", desc: localize11(\"scss.builtin.rgba\", \"Changes the alpha component for a color.\") },\n        { func: \"opacify($color, $amount)\", desc: localize11(\"scss.builtin.opacify\", \"Makes a color more opaque.\") },\n        { func: \"fade-in($color, $amount)\", desc: localize11(\"scss.builtin.fade-in\", \"Makes a color more opaque.\") },\n        { func: \"transparentize($color, $amount)\", desc: localize11(\"scss.builtin.transparentize\", \"Makes a color more transparent.\") },\n        { func: \"fade-out($color, $amount)\", desc: localize11(\"scss.builtin.fade-out\", \"Makes a color more transparent.\") },\n        { func: \"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])\", desc: localize11(\"scss.builtin.adjust-color\", \"Increases or decreases one or more components of a color.\") },\n        { func: \"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])\", desc: localize11(\"scss.builtin.scale-color\", \"Fluidly scales one or more properties of a color.\") },\n        { func: \"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])\", desc: localize11(\"scss.builtin.change-color\", \"Changes one or more properties of a color.\") },\n        { func: \"ie-hex-str($color)\", desc: localize11(\"scss.builtin.ie-hex-str\", \"Converts a color into the format understood by IE filters.\") }\n      ];\n      SCSSCompletion2.selectorFuncs = [\n        { func: \"selector-nest($selectors\\u2026)\", desc: localize11(\"scss.builtin.selector-nest\", \"Nests selector beneath one another like they would be nested in the stylesheet.\") },\n        { func: \"selector-append($selectors\\u2026)\", desc: localize11(\"scss.builtin.selector-append\", \"Appends selectors to one another without spaces in between.\") },\n        { func: \"selector-extend($selector, $extendee, $extender)\", desc: localize11(\"scss.builtin.selector-extend\", \"Extends $extendee with $extender within $selector.\") },\n        { func: \"selector-replace($selector, $original, $replacement)\", desc: localize11(\"scss.builtin.selector-replace\", \"Replaces $original with $replacement within $selector.\") },\n        { func: \"selector-unify($selector1, $selector2)\", desc: localize11(\"scss.builtin.selector-unify\", \"Unifies two selectors to produce a selector that matches elements matched by both.\") },\n        { func: \"is-superselector($super, $sub)\", desc: localize11(\"scss.builtin.is-superselector\", \"Returns whether $super matches all the elements $sub does, and possibly more.\") },\n        { func: \"simple-selectors($selector)\", desc: localize11(\"scss.builtin.simple-selectors\", \"Returns the simple selectors that comprise a compound selector.\") },\n        { func: \"selector-parse($selector)\", desc: localize11(\"scss.builtin.selector-parse\", \"Parses a selector into the format returned by &.\") }\n      ];\n      SCSSCompletion2.builtInFuncs = [\n        { func: \"unquote($string)\", desc: localize11(\"scss.builtin.unquote\", \"Removes quotes from a string.\") },\n        { func: \"quote($string)\", desc: localize11(\"scss.builtin.quote\", \"Adds quotes to a string.\") },\n        { func: \"str-length($string)\", desc: localize11(\"scss.builtin.str-length\", \"Returns the number of characters in a string.\") },\n        { func: \"str-insert($string, $insert, $index)\", desc: localize11(\"scss.builtin.str-insert\", \"Inserts $insert into $string at $index.\") },\n        { func: \"str-index($string, $substring)\", desc: localize11(\"scss.builtin.str-index\", \"Returns the index of the first occurance of $substring in $string.\") },\n        { func: \"str-slice($string, $start-at, [$end-at])\", desc: localize11(\"scss.builtin.str-slice\", \"Extracts a substring from $string.\") },\n        { func: \"to-upper-case($string)\", desc: localize11(\"scss.builtin.to-upper-case\", \"Converts a string to upper case.\") },\n        { func: \"to-lower-case($string)\", desc: localize11(\"scss.builtin.to-lower-case\", \"Converts a string to lower case.\") },\n        { func: \"percentage($number)\", desc: localize11(\"scss.builtin.percentage\", \"Converts a unitless number to a percentage.\"), type: \"percentage\" },\n        { func: \"round($number)\", desc: localize11(\"scss.builtin.round\", \"Rounds a number to the nearest whole number.\") },\n        { func: \"ceil($number)\", desc: localize11(\"scss.builtin.ceil\", \"Rounds a number up to the next whole number.\") },\n        { func: \"floor($number)\", desc: localize11(\"scss.builtin.floor\", \"Rounds a number down to the previous whole number.\") },\n        { func: \"abs($number)\", desc: localize11(\"scss.builtin.abs\", \"Returns the absolute value of a number.\") },\n        { func: \"min($numbers)\", desc: localize11(\"scss.builtin.min\", \"Finds the minimum of several numbers.\") },\n        { func: \"max($numbers)\", desc: localize11(\"scss.builtin.max\", \"Finds the maximum of several numbers.\") },\n        { func: \"random([$limit])\", desc: localize11(\"scss.builtin.random\", \"Returns a random number.\") },\n        { func: \"length($list)\", desc: localize11(\"scss.builtin.length\", \"Returns the length of a list.\") },\n        { func: \"nth($list, $n)\", desc: localize11(\"scss.builtin.nth\", \"Returns a specific item in a list.\") },\n        { func: \"set-nth($list, $n, $value)\", desc: localize11(\"scss.builtin.set-nth\", \"Replaces the nth item in a list.\") },\n        { func: \"join($list1, $list2, [$separator])\", desc: localize11(\"scss.builtin.join\", \"Joins together two lists into one.\") },\n        { func: \"append($list1, $val, [$separator])\", desc: localize11(\"scss.builtin.append\", \"Appends a single value onto the end of a list.\") },\n        { func: \"zip($lists)\", desc: localize11(\"scss.builtin.zip\", \"Combines several lists into a single multidimensional list.\") },\n        { func: \"index($list, $value)\", desc: localize11(\"scss.builtin.index\", \"Returns the position of a value within a list.\") },\n        { func: \"list-separator(#list)\", desc: localize11(\"scss.builtin.list-separator\", \"Returns the separator of a list.\") },\n        { func: \"map-get($map, $key)\", desc: localize11(\"scss.builtin.map-get\", \"Returns the value in a map associated with a given key.\") },\n        { func: \"map-merge($map1, $map2)\", desc: localize11(\"scss.builtin.map-merge\", \"Merges two maps together into a new map.\") },\n        { func: \"map-remove($map, $keys)\", desc: localize11(\"scss.builtin.map-remove\", \"Returns a new map with keys removed.\") },\n        { func: \"map-keys($map)\", desc: localize11(\"scss.builtin.map-keys\", \"Returns a list of all keys in a map.\") },\n        { func: \"map-values($map)\", desc: localize11(\"scss.builtin.map-values\", \"Returns a list of all values in a map.\") },\n        { func: \"map-has-key($map, $key)\", desc: localize11(\"scss.builtin.map-has-key\", \"Returns whether a map has a value associated with a given key.\") },\n        { func: \"keywords($args)\", desc: localize11(\"scss.builtin.keywords\", \"Returns the keywords passed to a function that takes variable arguments.\") },\n        { func: \"feature-exists($feature)\", desc: localize11(\"scss.builtin.feature-exists\", \"Returns whether a feature exists in the current Sass runtime.\") },\n        { func: \"variable-exists($name)\", desc: localize11(\"scss.builtin.variable-exists\", \"Returns whether a variable with the given name exists in the current scope.\") },\n        { func: \"global-variable-exists($name)\", desc: localize11(\"scss.builtin.global-variable-exists\", \"Returns whether a variable with the given name exists in the global scope.\") },\n        { func: \"function-exists($name)\", desc: localize11(\"scss.builtin.function-exists\", \"Returns whether a function with the given name exists.\") },\n        { func: \"mixin-exists($name)\", desc: localize11(\"scss.builtin.mixin-exists\", \"Returns whether a mixin with the given name exists.\") },\n        { func: \"inspect($value)\", desc: localize11(\"scss.builtin.inspect\", \"Returns the string representation of a value as it would be represented in Sass.\") },\n        { func: \"type-of($value)\", desc: localize11(\"scss.builtin.type-of\", \"Returns the type of a value.\") },\n        { func: \"unit($number)\", desc: localize11(\"scss.builtin.unit\", \"Returns the unit(s) associated with a number.\") },\n        { func: \"unitless($number)\", desc: localize11(\"scss.builtin.unitless\", \"Returns whether a number has units.\") },\n        { func: \"comparable($number1, $number2)\", desc: localize11(\"scss.builtin.comparable\", \"Returns whether two numbers can be added, subtracted, or compared.\") },\n        { func: \"call($name, $args\\u2026)\", desc: localize11(\"scss.builtin.call\", \"Dynamically calls a Sass function.\") }\n      ];\n      SCSSCompletion2.scssAtDirectives = [\n        {\n          label: \"@extend\",\n          documentation: localize11(\"scss.builtin.@extend\", \"Inherits the styles of another selector.\"),\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@at-root\",\n          documentation: localize11(\"scss.builtin.@at-root\", \"Causes one or more rules to be emitted at the root of the document.\"),\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@debug\",\n          documentation: localize11(\"scss.builtin.@debug\", \"Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files.\"),\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@warn\",\n          documentation: localize11(\"scss.builtin.@warn\", \"Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option.\"),\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@error\",\n          documentation: localize11(\"scss.builtin.@error\", \"Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions.\"),\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@if\",\n          documentation: localize11(\"scss.builtin.@if\", \"Includes the body if the expression does not evaluate to `false` or `null`.\"),\n          insertText: \"@if ${1:expr} {\\n\t$0\\n}\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@for\",\n          documentation: localize11(\"scss.builtin.@for\", \"For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause.\"),\n          insertText: \"@for \\\\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\\n\t$0\\n}\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@each\",\n          documentation: localize11(\"scss.builtin.@each\", \"Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`.\"),\n          insertText: \"@each \\\\$${1:var} in ${2:list} {\\n\t$0\\n}\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@while\",\n          documentation: localize11(\"scss.builtin.@while\", \"While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`.\"),\n          insertText: \"@while ${1:condition} {\\n\t$0\\n}\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@mixin\",\n          documentation: localize11(\"scss.builtin.@mixin\", \"Defines styles that can be re-used throughout the stylesheet with `@include`.\"),\n          insertText: \"@mixin ${1:name} {\\n\t$0\\n}\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@include\",\n          documentation: localize11(\"scss.builtin.@include\", \"Includes the styles defined by another mixin into the current rule.\"),\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@function\",\n          documentation: localize11(\"scss.builtin.@function\", \"Defines complex operations that can be re-used throughout stylesheets.\"),\n          kind: CompletionItemKind2.Keyword\n        }\n      ];\n      SCSSCompletion2.scssModuleLoaders = [\n        {\n          label: \"@use\",\n          documentation: localize11(\"scss.builtin.@use\", \"Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/at-rules/use\" }],\n          insertText: \"@use $0;\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        },\n        {\n          label: \"@forward\",\n          documentation: localize11(\"scss.builtin.@forward\", \"Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/at-rules/forward\" }],\n          insertText: \"@forward $0;\",\n          insertTextFormat: InsertTextFormat.Snippet,\n          kind: CompletionItemKind2.Keyword\n        }\n      ];\n      SCSSCompletion2.scssModuleBuiltIns = [\n        {\n          label: \"sass:math\",\n          documentation: localize11(\"scss.builtin.sass:math\", \"Provides functions that operate on numbers.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/math\" }]\n        },\n        {\n          label: \"sass:string\",\n          documentation: localize11(\"scss.builtin.sass:string\", \"Makes it easy to combine, search, or split apart strings.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/string\" }]\n        },\n        {\n          label: \"sass:color\",\n          documentation: localize11(\"scss.builtin.sass:color\", \"Generates new colors based on existing ones, making it easy to build color themes.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/color\" }]\n        },\n        {\n          label: \"sass:list\",\n          documentation: localize11(\"scss.builtin.sass:list\", \"Lets you access and modify values in lists.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/list\" }]\n        },\n        {\n          label: \"sass:map\",\n          documentation: localize11(\"scss.builtin.sass:map\", \"Makes it possible to look up the value associated with a key in a map, and much more.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/map\" }]\n        },\n        {\n          label: \"sass:selector\",\n          documentation: localize11(\"scss.builtin.sass:selector\", \"Provides access to Sass\\u2019s powerful selector engine.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/selector\" }]\n        },\n        {\n          label: \"sass:meta\",\n          documentation: localize11(\"scss.builtin.sass:meta\", \"Exposes the details of Sass\\u2019s inner workings.\"),\n          references: [{ name: \"Sass documentation\", url: \"https://sass-lang.com/documentation/modules/meta\" }]\n        }\n      ];\n      return SCSSCompletion2;\n    }(CSSCompletion)\n  );\n  function addReferencesToDocumentation(items) {\n    items.forEach(function(i) {\n      if (i.documentation && i.references && i.references.length > 0) {\n        var markdownDoc = typeof i.documentation === \"string\" ? { kind: \"markdown\", value: i.documentation } : { kind: \"markdown\", value: i.documentation.value };\n        markdownDoc.value += \"\\n\\n\";\n        markdownDoc.value += i.references.map(function(r) {\n          return \"[\".concat(r.name, \"](\").concat(r.url, \")\");\n        }).join(\" | \");\n        i.documentation = markdownDoc;\n      }\n    });\n  }\n  var __extends7 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var _FSL3 = \"/\".charCodeAt(0);\n  var _NWL3 = \"\\n\".charCodeAt(0);\n  var _CAR3 = \"\\r\".charCodeAt(0);\n  var _LFD3 = \"\\f\".charCodeAt(0);\n  var _TIC = \"`\".charCodeAt(0);\n  var _DOT3 = \".\".charCodeAt(0);\n  var customTokenValue2 = TokenType.CustomToken;\n  var Ellipsis2 = customTokenValue2++;\n  var LESSScanner = (\n    /** @class */\n    function(_super) {\n      __extends7(LESSScanner2, _super);\n      function LESSScanner2() {\n        return _super !== null && _super.apply(this, arguments) || this;\n      }\n      LESSScanner2.prototype.scanNext = function(offset) {\n        var tokenType = this.escapedJavaScript();\n        if (tokenType !== null) {\n          return this.finishToken(offset, tokenType);\n        }\n        if (this.stream.advanceIfChars([_DOT3, _DOT3, _DOT3])) {\n          return this.finishToken(offset, Ellipsis2);\n        }\n        return _super.prototype.scanNext.call(this, offset);\n      };\n      LESSScanner2.prototype.comment = function() {\n        if (_super.prototype.comment.call(this)) {\n          return true;\n        }\n        if (!this.inURL && this.stream.advanceIfChars([_FSL3, _FSL3])) {\n          this.stream.advanceWhileChar(function(ch) {\n            switch (ch) {\n              case _NWL3:\n              case _CAR3:\n              case _LFD3:\n                return false;\n              default:\n                return true;\n            }\n          });\n          return true;\n        } else {\n          return false;\n        }\n      };\n      LESSScanner2.prototype.escapedJavaScript = function() {\n        var ch = this.stream.peekChar();\n        if (ch === _TIC) {\n          this.stream.advance(1);\n          this.stream.advanceWhileChar(function(ch2) {\n            return ch2 !== _TIC;\n          });\n          return this.stream.advanceIfChar(_TIC) ? TokenType.EscapedJavaScript : TokenType.BadEscapedJavaScript;\n        }\n        return null;\n      };\n      return LESSScanner2;\n    }(Scanner)\n  );\n  var __extends8 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var LESSParser = (\n    /** @class */\n    function(_super) {\n      __extends8(LESSParser2, _super);\n      function LESSParser2() {\n        return _super.call(this, new LESSScanner()) || this;\n      }\n      LESSParser2.prototype._parseStylesheetStatement = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        if (this.peek(TokenType.AtKeyword)) {\n          return this._parseVariableDeclaration() || this._parsePlugin() || _super.prototype._parseStylesheetAtStatement.call(this, isNested);\n        }\n        return this._tryParseMixinDeclaration() || this._tryParseMixinReference() || this._parseFunction() || this._parseRuleset(true);\n      };\n      LESSParser2.prototype._parseImport = function() {\n        if (!this.peekKeyword(\"@import\") && !this.peekKeyword(\"@import-once\")) {\n          return null;\n        }\n        var node = this.create(Import);\n        this.consumeToken();\n        if (this.accept(TokenType.ParenthesisL)) {\n          if (!this.accept(TokenType.Ident)) {\n            return this.finish(node, ParseError.IdentifierExpected, [TokenType.SemiColon]);\n          }\n          do {\n            if (!this.accept(TokenType.Comma)) {\n              break;\n            }\n          } while (this.accept(TokenType.Ident));\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected, [TokenType.SemiColon]);\n          }\n        }\n        if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n          return this.finish(node, ParseError.URIOrStringExpected, [TokenType.SemiColon]);\n        }\n        if (!this.peek(TokenType.SemiColon) && !this.peek(TokenType.EOF)) {\n          node.setMedialist(this._parseMediaQueryList());\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parsePlugin = function() {\n        if (!this.peekKeyword(\"@plugin\")) {\n          return null;\n        }\n        var node = this.createNode(NodeType.Plugin);\n        this.consumeToken();\n        if (!node.addChild(this._parseStringLiteral())) {\n          return this.finish(node, ParseError.StringLiteralExpected);\n        }\n        if (!this.accept(TokenType.SemiColon)) {\n          return this.finish(node, ParseError.SemiColonExpected);\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseMediaQuery = function() {\n        var node = _super.prototype._parseMediaQuery.call(this);\n        if (!node) {\n          var node_1 = this.create(MediaQuery);\n          if (node_1.addChild(this._parseVariable())) {\n            return this.finish(node_1);\n          }\n          return null;\n        }\n        return node;\n      };\n      LESSParser2.prototype._parseMediaDeclaration = function(isNested) {\n        if (isNested === void 0) {\n          isNested = false;\n        }\n        return this._tryParseRuleset(isNested) || this._tryToParseDeclaration() || this._tryParseMixinDeclaration() || this._tryParseMixinReference() || this._parseDetachedRuleSetMixin() || this._parseStylesheetStatement(isNested);\n      };\n      LESSParser2.prototype._parseMediaFeatureName = function() {\n        return this._parseIdent() || this._parseVariable();\n      };\n      LESSParser2.prototype._parseVariableDeclaration = function(panic) {\n        if (panic === void 0) {\n          panic = [];\n        }\n        var node = this.create(VariableDeclaration);\n        var mark = this.mark();\n        if (!node.setVariable(this._parseVariable(true))) {\n          return null;\n        }\n        if (this.accept(TokenType.Colon)) {\n          if (this.prevToken) {\n            node.colonPosition = this.prevToken.offset;\n          }\n          if (node.setValue(this._parseDetachedRuleSet())) {\n            node.needsSemicolon = false;\n          } else if (!node.setValue(this._parseExpr())) {\n            return this.finish(node, ParseError.VariableValueExpected, [], panic);\n          }\n          node.addChild(this._parsePrio());\n        } else {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        if (this.peek(TokenType.SemiColon)) {\n          node.semicolonPosition = this.token.offset;\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseDetachedRuleSet = function() {\n        var mark = this.mark();\n        if (this.peekDelim(\"#\") || this.peekDelim(\".\")) {\n          this.consumeToken();\n          if (!this.hasWhitespace() && this.accept(TokenType.ParenthesisL)) {\n            var node = this.create(MixinDeclaration);\n            if (node.getParameters().addChild(this._parseMixinParameter())) {\n              while (this.accept(TokenType.Comma) || this.accept(TokenType.SemiColon)) {\n                if (this.peek(TokenType.ParenthesisR)) {\n                  break;\n                }\n                if (!node.getParameters().addChild(this._parseMixinParameter())) {\n                  this.markError(node, ParseError.IdentifierExpected, [], [TokenType.ParenthesisR]);\n                }\n              }\n            }\n            if (!this.accept(TokenType.ParenthesisR)) {\n              this.restoreAtMark(mark);\n              return null;\n            }\n          } else {\n            this.restoreAtMark(mark);\n            return null;\n          }\n        }\n        if (!this.peek(TokenType.CurlyL)) {\n          return null;\n        }\n        var content = this.create(BodyDeclaration);\n        this._parseBody(content, this._parseDetachedRuleSetBody.bind(this));\n        return this.finish(content);\n      };\n      LESSParser2.prototype._parseDetachedRuleSetBody = function() {\n        return this._tryParseKeyframeSelector() || this._parseRuleSetDeclaration();\n      };\n      LESSParser2.prototype._addLookupChildren = function(node) {\n        if (!node.addChild(this._parseLookupValue())) {\n          return false;\n        }\n        var expectsValue = false;\n        while (true) {\n          if (this.peek(TokenType.BracketL)) {\n            expectsValue = true;\n          }\n          if (!node.addChild(this._parseLookupValue())) {\n            break;\n          }\n          expectsValue = false;\n        }\n        return !expectsValue;\n      };\n      LESSParser2.prototype._parseLookupValue = function() {\n        var node = this.create(Node2);\n        var mark = this.mark();\n        if (!this.accept(TokenType.BracketL)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        if ((node.addChild(this._parseVariable(false, true)) || node.addChild(this._parsePropertyIdentifier())) && this.accept(TokenType.BracketR) || this.accept(TokenType.BracketR)) {\n          return node;\n        }\n        this.restoreAtMark(mark);\n        return null;\n      };\n      LESSParser2.prototype._parseVariable = function(declaration, insideLookup) {\n        if (declaration === void 0) {\n          declaration = false;\n        }\n        if (insideLookup === void 0) {\n          insideLookup = false;\n        }\n        var isPropertyReference = !declaration && this.peekDelim(\"$\");\n        if (!this.peekDelim(\"@\") && !isPropertyReference && !this.peek(TokenType.AtKeyword)) {\n          return null;\n        }\n        var node = this.create(Variable);\n        var mark = this.mark();\n        while (this.acceptDelim(\"@\") || !declaration && this.acceptDelim(\"$\")) {\n          if (this.hasWhitespace()) {\n            this.restoreAtMark(mark);\n            return null;\n          }\n        }\n        if (!this.accept(TokenType.AtKeyword) && !this.accept(TokenType.Ident)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        if (!insideLookup && this.peek(TokenType.BracketL)) {\n          if (!this._addLookupChildren(node)) {\n            this.restoreAtMark(mark);\n            return null;\n          }\n        }\n        return node;\n      };\n      LESSParser2.prototype._parseTermExpression = function() {\n        return this._parseVariable() || this._parseEscaped() || _super.prototype._parseTermExpression.call(this) || // preference for colors before mixin references\n        this._tryParseMixinReference(false);\n      };\n      LESSParser2.prototype._parseEscaped = function() {\n        if (this.peek(TokenType.EscapedJavaScript) || this.peek(TokenType.BadEscapedJavaScript)) {\n          var node = this.createNode(NodeType.EscapedValue);\n          this.consumeToken();\n          return this.finish(node);\n        }\n        if (this.peekDelim(\"~\")) {\n          var node = this.createNode(NodeType.EscapedValue);\n          this.consumeToken();\n          if (this.accept(TokenType.String) || this.accept(TokenType.EscapedJavaScript)) {\n            return this.finish(node);\n          } else {\n            return this.finish(node, ParseError.TermExpected);\n          }\n        }\n        return null;\n      };\n      LESSParser2.prototype._parseOperator = function() {\n        var node = this._parseGuardOperator();\n        if (node) {\n          return node;\n        } else {\n          return _super.prototype._parseOperator.call(this);\n        }\n      };\n      LESSParser2.prototype._parseGuardOperator = function() {\n        if (this.peekDelim(\">\")) {\n          var node = this.createNode(NodeType.Operator);\n          this.consumeToken();\n          this.acceptDelim(\"=\");\n          return node;\n        } else if (this.peekDelim(\"=\")) {\n          var node = this.createNode(NodeType.Operator);\n          this.consumeToken();\n          this.acceptDelim(\"<\");\n          return node;\n        } else if (this.peekDelim(\"<\")) {\n          var node = this.createNode(NodeType.Operator);\n          this.consumeToken();\n          this.acceptDelim(\"=\");\n          return node;\n        }\n        return null;\n      };\n      LESSParser2.prototype._parseRuleSetDeclaration = function() {\n        if (this.peek(TokenType.AtKeyword)) {\n          return this._parseKeyframe() || this._parseMedia(true) || this._parseImport() || this._parseSupports(true) || this._parseDetachedRuleSetMixin() || this._parseVariableDeclaration() || _super.prototype._parseRuleSetDeclarationAtStatement.call(this);\n        }\n        return this._tryParseMixinDeclaration() || this._tryParseRuleset(true) || this._tryParseMixinReference() || this._parseFunction() || this._parseExtend() || _super.prototype._parseRuleSetDeclaration.call(this);\n      };\n      LESSParser2.prototype._parseKeyframeIdent = function() {\n        return this._parseIdent([ReferenceType.Keyframe]) || this._parseVariable();\n      };\n      LESSParser2.prototype._parseKeyframeSelector = function() {\n        return this._parseDetachedRuleSetMixin() || _super.prototype._parseKeyframeSelector.call(this);\n      };\n      LESSParser2.prototype._parseSimpleSelectorBody = function() {\n        return this._parseSelectorCombinator() || _super.prototype._parseSimpleSelectorBody.call(this);\n      };\n      LESSParser2.prototype._parseSelector = function(isNested) {\n        var node = this.create(Selector);\n        var hasContent = false;\n        if (isNested) {\n          hasContent = node.addChild(this._parseCombinator());\n        }\n        while (node.addChild(this._parseSimpleSelector())) {\n          hasContent = true;\n          var mark = this.mark();\n          if (node.addChild(this._parseGuard()) && this.peek(TokenType.CurlyL)) {\n            break;\n          }\n          this.restoreAtMark(mark);\n          node.addChild(this._parseCombinator());\n        }\n        return hasContent ? this.finish(node) : null;\n      };\n      LESSParser2.prototype._parseSelectorCombinator = function() {\n        if (this.peekDelim(\"&\")) {\n          var node = this.createNode(NodeType.SelectorCombinator);\n          this.consumeToken();\n          while (!this.hasWhitespace() && (this.acceptDelim(\"-\") || this.accept(TokenType.Num) || this.accept(TokenType.Dimension) || node.addChild(this._parseIdent()) || this.acceptDelim(\"&\"))) {\n          }\n          return this.finish(node);\n        }\n        return null;\n      };\n      LESSParser2.prototype._parseSelectorIdent = function() {\n        if (!this.peekInterpolatedIdent()) {\n          return null;\n        }\n        var node = this.createNode(NodeType.SelectorInterpolation);\n        var hasContent = this._acceptInterpolatedIdent(node);\n        return hasContent ? this.finish(node) : null;\n      };\n      LESSParser2.prototype._parsePropertyIdentifier = function(inLookup) {\n        if (inLookup === void 0) {\n          inLookup = false;\n        }\n        var propertyRegex = /^[\\w-]+/;\n        if (!this.peekInterpolatedIdent() && !this.peekRegExp(this.token.type, propertyRegex)) {\n          return null;\n        }\n        var mark = this.mark();\n        var node = this.create(Identifier);\n        node.isCustomProperty = this.acceptDelim(\"-\") && this.acceptDelim(\"-\");\n        var childAdded = false;\n        if (!inLookup) {\n          if (node.isCustomProperty) {\n            childAdded = this._acceptInterpolatedIdent(node);\n          } else {\n            childAdded = this._acceptInterpolatedIdent(node, propertyRegex);\n          }\n        } else {\n          if (node.isCustomProperty) {\n            childAdded = node.addChild(this._parseIdent());\n          } else {\n            childAdded = node.addChild(this._parseRegexp(propertyRegex));\n          }\n        }\n        if (!childAdded) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        if (!inLookup && !this.hasWhitespace()) {\n          this.acceptDelim(\"+\");\n          if (!this.hasWhitespace()) {\n            this.acceptIdent(\"_\");\n          }\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype.peekInterpolatedIdent = function() {\n        return this.peek(TokenType.Ident) || this.peekDelim(\"@\") || this.peekDelim(\"$\") || this.peekDelim(\"-\");\n      };\n      LESSParser2.prototype._acceptInterpolatedIdent = function(node, identRegex) {\n        var _this = this;\n        var hasContent = false;\n        var indentInterpolation = function() {\n          var pos = _this.mark();\n          if (_this.acceptDelim(\"-\")) {\n            if (!_this.hasWhitespace()) {\n              _this.acceptDelim(\"-\");\n            }\n            if (_this.hasWhitespace()) {\n              _this.restoreAtMark(pos);\n              return null;\n            }\n          }\n          return _this._parseInterpolation();\n        };\n        var accept = identRegex ? function() {\n          return _this.acceptRegexp(identRegex);\n        } : function() {\n          return _this.accept(TokenType.Ident);\n        };\n        while (accept() || node.addChild(this._parseInterpolation() || this.try(indentInterpolation))) {\n          hasContent = true;\n          if (this.hasWhitespace()) {\n            break;\n          }\n        }\n        return hasContent;\n      };\n      LESSParser2.prototype._parseInterpolation = function() {\n        var mark = this.mark();\n        if (this.peekDelim(\"@\") || this.peekDelim(\"$\")) {\n          var node = this.createNode(NodeType.Interpolation);\n          this.consumeToken();\n          if (this.hasWhitespace() || !this.accept(TokenType.CurlyL)) {\n            this.restoreAtMark(mark);\n            return null;\n          }\n          if (!node.addChild(this._parseIdent())) {\n            return this.finish(node, ParseError.IdentifierExpected);\n          }\n          if (!this.accept(TokenType.CurlyR)) {\n            return this.finish(node, ParseError.RightCurlyExpected);\n          }\n          return this.finish(node);\n        }\n        return null;\n      };\n      LESSParser2.prototype._tryParseMixinDeclaration = function() {\n        var mark = this.mark();\n        var node = this.create(MixinDeclaration);\n        if (!node.setIdentifier(this._parseMixinDeclarationIdentifier()) || !this.accept(TokenType.ParenthesisL)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        if (node.getParameters().addChild(this._parseMixinParameter())) {\n          while (this.accept(TokenType.Comma) || this.accept(TokenType.SemiColon)) {\n            if (this.peek(TokenType.ParenthesisR)) {\n              break;\n            }\n            if (!node.getParameters().addChild(this._parseMixinParameter())) {\n              this.markError(node, ParseError.IdentifierExpected, [], [TokenType.ParenthesisR]);\n            }\n          }\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        node.setGuard(this._parseGuard());\n        if (!this.peek(TokenType.CurlyL)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        return this._parseBody(node, this._parseMixInBodyDeclaration.bind(this));\n      };\n      LESSParser2.prototype._parseMixInBodyDeclaration = function() {\n        return this._parseFontFace() || this._parseRuleSetDeclaration();\n      };\n      LESSParser2.prototype._parseMixinDeclarationIdentifier = function() {\n        var identifier;\n        if (this.peekDelim(\"#\") || this.peekDelim(\".\")) {\n          identifier = this.create(Identifier);\n          this.consumeToken();\n          if (this.hasWhitespace() || !identifier.addChild(this._parseIdent())) {\n            return null;\n          }\n        } else if (this.peek(TokenType.Hash)) {\n          identifier = this.create(Identifier);\n          this.consumeToken();\n        } else {\n          return null;\n        }\n        identifier.referenceTypes = [ReferenceType.Mixin];\n        return this.finish(identifier);\n      };\n      LESSParser2.prototype._parsePseudo = function() {\n        if (!this.peek(TokenType.Colon)) {\n          return null;\n        }\n        var mark = this.mark();\n        var node = this.create(ExtendsReference);\n        this.consumeToken();\n        if (this.acceptIdent(\"extend\")) {\n          return this._completeExtends(node);\n        }\n        this.restoreAtMark(mark);\n        return _super.prototype._parsePseudo.call(this);\n      };\n      LESSParser2.prototype._parseExtend = function() {\n        if (!this.peekDelim(\"&\")) {\n          return null;\n        }\n        var mark = this.mark();\n        var node = this.create(ExtendsReference);\n        this.consumeToken();\n        if (this.hasWhitespace() || !this.accept(TokenType.Colon) || !this.acceptIdent(\"extend\")) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        return this._completeExtends(node);\n      };\n      LESSParser2.prototype._completeExtends = function(node) {\n        if (!this.accept(TokenType.ParenthesisL)) {\n          return this.finish(node, ParseError.LeftParenthesisExpected);\n        }\n        var selectors = node.getSelectors();\n        if (!selectors.addChild(this._parseSelector(true))) {\n          return this.finish(node, ParseError.SelectorExpected);\n        }\n        while (this.accept(TokenType.Comma)) {\n          if (!selectors.addChild(this._parseSelector(true))) {\n            return this.finish(node, ParseError.SelectorExpected);\n          }\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseDetachedRuleSetMixin = function() {\n        if (!this.peek(TokenType.AtKeyword)) {\n          return null;\n        }\n        var mark = this.mark();\n        var node = this.create(MixinReference);\n        if (node.addChild(this._parseVariable(true)) && (this.hasWhitespace() || !this.accept(TokenType.ParenthesisL))) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._tryParseMixinReference = function(atRoot) {\n        if (atRoot === void 0) {\n          atRoot = true;\n        }\n        var mark = this.mark();\n        var node = this.create(MixinReference);\n        var identifier = this._parseMixinDeclarationIdentifier();\n        while (identifier) {\n          this.acceptDelim(\">\");\n          var nextId = this._parseMixinDeclarationIdentifier();\n          if (nextId) {\n            node.getNamespaces().addChild(identifier);\n            identifier = nextId;\n          } else {\n            break;\n          }\n        }\n        if (!node.setIdentifier(identifier)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        var hasArguments = false;\n        if (this.accept(TokenType.ParenthesisL)) {\n          hasArguments = true;\n          if (node.getArguments().addChild(this._parseMixinArgument())) {\n            while (this.accept(TokenType.Comma) || this.accept(TokenType.SemiColon)) {\n              if (this.peek(TokenType.ParenthesisR)) {\n                break;\n              }\n              if (!node.getArguments().addChild(this._parseMixinArgument())) {\n                return this.finish(node, ParseError.ExpressionExpected);\n              }\n            }\n          }\n          if (!this.accept(TokenType.ParenthesisR)) {\n            return this.finish(node, ParseError.RightParenthesisExpected);\n          }\n          identifier.referenceTypes = [ReferenceType.Mixin];\n        } else {\n          identifier.referenceTypes = [ReferenceType.Mixin, ReferenceType.Rule];\n        }\n        if (this.peek(TokenType.BracketL)) {\n          if (!atRoot) {\n            this._addLookupChildren(node);\n          }\n        } else {\n          node.addChild(this._parsePrio());\n        }\n        if (!hasArguments && !this.peek(TokenType.SemiColon) && !this.peek(TokenType.CurlyR) && !this.peek(TokenType.EOF)) {\n          this.restoreAtMark(mark);\n          return null;\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseMixinArgument = function() {\n        var node = this.create(FunctionArgument);\n        var pos = this.mark();\n        var argument = this._parseVariable();\n        if (argument) {\n          if (!this.accept(TokenType.Colon)) {\n            this.restoreAtMark(pos);\n          } else {\n            node.setIdentifier(argument);\n          }\n        }\n        if (node.setValue(this._parseDetachedRuleSet() || this._parseExpr(true))) {\n          return this.finish(node);\n        }\n        this.restoreAtMark(pos);\n        return null;\n      };\n      LESSParser2.prototype._parseMixinParameter = function() {\n        var node = this.create(FunctionParameter);\n        if (this.peekKeyword(\"@rest\")) {\n          var restNode = this.create(Node2);\n          this.consumeToken();\n          if (!this.accept(Ellipsis2)) {\n            return this.finish(node, ParseError.DotExpected, [], [TokenType.Comma, TokenType.ParenthesisR]);\n          }\n          node.setIdentifier(this.finish(restNode));\n          return this.finish(node);\n        }\n        if (this.peek(Ellipsis2)) {\n          var varargsNode = this.create(Node2);\n          this.consumeToken();\n          node.setIdentifier(this.finish(varargsNode));\n          return this.finish(node);\n        }\n        var hasContent = false;\n        if (node.setIdentifier(this._parseVariable())) {\n          this.accept(TokenType.Colon);\n          hasContent = true;\n        }\n        if (!node.setDefaultValue(this._parseDetachedRuleSet() || this._parseExpr(true)) && !hasContent) {\n          return null;\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseGuard = function() {\n        if (!this.peekIdent(\"when\")) {\n          return null;\n        }\n        var node = this.create(LessGuard);\n        this.consumeToken();\n        node.isNegated = this.acceptIdent(\"not\");\n        if (!node.getConditions().addChild(this._parseGuardCondition())) {\n          return this.finish(node, ParseError.ConditionExpected);\n        }\n        while (this.acceptIdent(\"and\") || this.accept(TokenType.Comma)) {\n          if (!node.getConditions().addChild(this._parseGuardCondition())) {\n            return this.finish(node, ParseError.ConditionExpected);\n          }\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseGuardCondition = function() {\n        if (!this.peek(TokenType.ParenthesisL)) {\n          return null;\n        }\n        var node = this.create(GuardCondition);\n        this.consumeToken();\n        if (!node.addChild(this._parseExpr())) {\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseFunction = function() {\n        var pos = this.mark();\n        var node = this.create(Function);\n        if (!node.setIdentifier(this._parseFunctionIdentifier())) {\n          return null;\n        }\n        if (this.hasWhitespace() || !this.accept(TokenType.ParenthesisL)) {\n          this.restoreAtMark(pos);\n          return null;\n        }\n        if (node.getArguments().addChild(this._parseMixinArgument())) {\n          while (this.accept(TokenType.Comma) || this.accept(TokenType.SemiColon)) {\n            if (this.peek(TokenType.ParenthesisR)) {\n              break;\n            }\n            if (!node.getArguments().addChild(this._parseMixinArgument())) {\n              return this.finish(node, ParseError.ExpressionExpected);\n            }\n          }\n        }\n        if (!this.accept(TokenType.ParenthesisR)) {\n          return this.finish(node, ParseError.RightParenthesisExpected);\n        }\n        return this.finish(node);\n      };\n      LESSParser2.prototype._parseFunctionIdentifier = function() {\n        if (this.peekDelim(\"%\")) {\n          var node = this.create(Identifier);\n          node.referenceTypes = [ReferenceType.Function];\n          this.consumeToken();\n          return this.finish(node);\n        }\n        return _super.prototype._parseFunctionIdentifier.call(this);\n      };\n      LESSParser2.prototype._parseURLArgument = function() {\n        var pos = this.mark();\n        var node = _super.prototype._parseURLArgument.call(this);\n        if (!node || !this.peek(TokenType.ParenthesisR)) {\n          this.restoreAtMark(pos);\n          var node_2 = this.create(Node2);\n          node_2.addChild(this._parseBinaryExpr());\n          return this.finish(node_2);\n        }\n        return node;\n      };\n      return LESSParser2;\n    }(Parser)\n  );\n  var __extends9 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var localize12 = loadMessageBundle();\n  var LESSCompletion = (\n    /** @class */\n    function(_super) {\n      __extends9(LESSCompletion2, _super);\n      function LESSCompletion2(lsOptions, cssDataManager) {\n        return _super.call(this, \"@\", lsOptions, cssDataManager) || this;\n      }\n      LESSCompletion2.prototype.createFunctionProposals = function(proposals, existingNode, sortToEnd, result) {\n        for (var _i = 0, proposals_1 = proposals; _i < proposals_1.length; _i++) {\n          var p = proposals_1[_i];\n          var item = {\n            label: p.name,\n            detail: p.example,\n            documentation: p.description,\n            textEdit: TextEdit.replace(this.getCompletionRange(existingNode), p.name + \"($0)\"),\n            insertTextFormat: InsertTextFormat.Snippet,\n            kind: CompletionItemKind2.Function\n          };\n          if (sortToEnd) {\n            item.sortText = \"z\";\n          }\n          result.items.push(item);\n        }\n        return result;\n      };\n      LESSCompletion2.prototype.getTermProposals = function(entry, existingNode, result) {\n        var functions = LESSCompletion2.builtInProposals;\n        if (entry) {\n          functions = functions.filter(function(f2) {\n            return !f2.type || !entry.restrictions || entry.restrictions.indexOf(f2.type) !== -1;\n          });\n        }\n        this.createFunctionProposals(functions, existingNode, true, result);\n        return _super.prototype.getTermProposals.call(this, entry, existingNode, result);\n      };\n      LESSCompletion2.prototype.getColorProposals = function(entry, existingNode, result) {\n        this.createFunctionProposals(LESSCompletion2.colorProposals, existingNode, false, result);\n        return _super.prototype.getColorProposals.call(this, entry, existingNode, result);\n      };\n      LESSCompletion2.prototype.getCompletionsForDeclarationProperty = function(declaration, result) {\n        this.getCompletionsForSelector(null, true, result);\n        return _super.prototype.getCompletionsForDeclarationProperty.call(this, declaration, result);\n      };\n      LESSCompletion2.builtInProposals = [\n        // Boolean functions\n        {\n          \"name\": \"if\",\n          \"example\": \"if(condition, trueValue [, falseValue]);\",\n          \"description\": localize12(\"less.builtin.if\", \"returns one of two values depending on a condition.\")\n        },\n        {\n          \"name\": \"boolean\",\n          \"example\": \"boolean(condition);\",\n          \"description\": localize12(\"less.builtin.boolean\", '\"store\" a boolean test for later evaluation in a guard or if().')\n        },\n        // List functions\n        {\n          \"name\": \"length\",\n          \"example\": \"length(@list);\",\n          \"description\": localize12(\"less.builtin.length\", \"returns the number of elements in a value list\")\n        },\n        {\n          \"name\": \"extract\",\n          \"example\": \"extract(@list, index);\",\n          \"description\": localize12(\"less.builtin.extract\", \"returns a value at the specified position in the list\")\n        },\n        {\n          \"name\": \"range\",\n          \"example\": \"range([start, ] end [, step]);\",\n          \"description\": localize12(\"less.builtin.range\", \"generate a list spanning a range of values\")\n        },\n        {\n          \"name\": \"each\",\n          \"example\": \"each(@list, ruleset);\",\n          \"description\": localize12(\"less.builtin.each\", \"bind the evaluation of a ruleset to each member of a list.\")\n        },\n        // Other built-ins\n        {\n          \"name\": \"escape\",\n          \"example\": \"escape(@string);\",\n          \"description\": localize12(\"less.builtin.escape\", \"URL encodes a string\")\n        },\n        {\n          \"name\": \"e\",\n          \"example\": \"e(@string);\",\n          \"description\": localize12(\"less.builtin.e\", \"escape string content\")\n        },\n        {\n          \"name\": \"replace\",\n          \"example\": \"replace(@string, @pattern, @replacement[, @flags]);\",\n          \"description\": localize12(\"less.builtin.replace\", \"string replace\")\n        },\n        {\n          \"name\": \"unit\",\n          \"example\": \"unit(@dimension, [@unit: '']);\",\n          \"description\": localize12(\"less.builtin.unit\", \"remove or change the unit of a dimension\")\n        },\n        {\n          \"name\": \"color\",\n          \"example\": \"color(@string);\",\n          \"description\": localize12(\"less.builtin.color\", \"parses a string to a color\"),\n          \"type\": \"color\"\n        },\n        {\n          \"name\": \"convert\",\n          \"example\": \"convert(@value, unit);\",\n          \"description\": localize12(\"less.builtin.convert\", \"converts numbers from one type into another\")\n        },\n        {\n          \"name\": \"data-uri\",\n          \"example\": \"data-uri([mimetype,] url);\",\n          \"description\": localize12(\"less.builtin.data-uri\", \"inlines a resource and falls back to `url()`\"),\n          \"type\": \"url\"\n        },\n        {\n          \"name\": \"abs\",\n          \"description\": localize12(\"less.builtin.abs\", \"absolute value of a number\"),\n          \"example\": \"abs(number);\"\n        },\n        {\n          \"name\": \"acos\",\n          \"description\": localize12(\"less.builtin.acos\", \"arccosine - inverse of cosine function\"),\n          \"example\": \"acos(number);\"\n        },\n        {\n          \"name\": \"asin\",\n          \"description\": localize12(\"less.builtin.asin\", \"arcsine - inverse of sine function\"),\n          \"example\": \"asin(number);\"\n        },\n        {\n          \"name\": \"ceil\",\n          \"example\": \"ceil(@number);\",\n          \"description\": localize12(\"less.builtin.ceil\", \"rounds up to an integer\")\n        },\n        {\n          \"name\": \"cos\",\n          \"description\": localize12(\"less.builtin.cos\", \"cosine function\"),\n          \"example\": \"cos(number);\"\n        },\n        {\n          \"name\": \"floor\",\n          \"description\": localize12(\"less.builtin.floor\", \"rounds down to an integer\"),\n          \"example\": \"floor(@number);\"\n        },\n        {\n          \"name\": \"percentage\",\n          \"description\": localize12(\"less.builtin.percentage\", \"converts to a %, e.g. 0.5 > 50%\"),\n          \"example\": \"percentage(@number);\",\n          \"type\": \"percentage\"\n        },\n        {\n          \"name\": \"round\",\n          \"description\": localize12(\"less.builtin.round\", \"rounds a number to a number of places\"),\n          \"example\": \"round(number, [places: 0]);\"\n        },\n        {\n          \"name\": \"sqrt\",\n          \"description\": localize12(\"less.builtin.sqrt\", \"calculates square root of a number\"),\n          \"example\": \"sqrt(number);\"\n        },\n        {\n          \"name\": \"sin\",\n          \"description\": localize12(\"less.builtin.sin\", \"sine function\"),\n          \"example\": \"sin(number);\"\n        },\n        {\n          \"name\": \"tan\",\n          \"description\": localize12(\"less.builtin.tan\", \"tangent function\"),\n          \"example\": \"tan(number);\"\n        },\n        {\n          \"name\": \"atan\",\n          \"description\": localize12(\"less.builtin.atan\", \"arctangent - inverse of tangent function\"),\n          \"example\": \"atan(number);\"\n        },\n        {\n          \"name\": \"pi\",\n          \"description\": localize12(\"less.builtin.pi\", \"returns pi\"),\n          \"example\": \"pi();\"\n        },\n        {\n          \"name\": \"pow\",\n          \"description\": localize12(\"less.builtin.pow\", \"first argument raised to the power of the second argument\"),\n          \"example\": \"pow(@base, @exponent);\"\n        },\n        {\n          \"name\": \"mod\",\n          \"description\": localize12(\"less.builtin.mod\", \"first argument modulus second argument\"),\n          \"example\": \"mod(number, number);\"\n        },\n        {\n          \"name\": \"min\",\n          \"description\": localize12(\"less.builtin.min\", \"returns the lowest of one or more values\"),\n          \"example\": \"min(@x, @y);\"\n        },\n        {\n          \"name\": \"max\",\n          \"description\": localize12(\"less.builtin.max\", \"returns the lowest of one or more values\"),\n          \"example\": \"max(@x, @y);\"\n        }\n      ];\n      LESSCompletion2.colorProposals = [\n        {\n          \"name\": \"argb\",\n          \"example\": \"argb(@color);\",\n          \"description\": localize12(\"less.builtin.argb\", \"creates a #AARRGGBB\")\n        },\n        {\n          \"name\": \"hsl\",\n          \"example\": \"hsl(@hue, @saturation, @lightness);\",\n          \"description\": localize12(\"less.builtin.hsl\", \"creates a color\")\n        },\n        {\n          \"name\": \"hsla\",\n          \"example\": \"hsla(@hue, @saturation, @lightness, @alpha);\",\n          \"description\": localize12(\"less.builtin.hsla\", \"creates a color\")\n        },\n        {\n          \"name\": \"hsv\",\n          \"example\": \"hsv(@hue, @saturation, @value);\",\n          \"description\": localize12(\"less.builtin.hsv\", \"creates a color\")\n        },\n        {\n          \"name\": \"hsva\",\n          \"example\": \"hsva(@hue, @saturation, @value, @alpha);\",\n          \"description\": localize12(\"less.builtin.hsva\", \"creates a color\")\n        },\n        {\n          \"name\": \"hue\",\n          \"example\": \"hue(@color);\",\n          \"description\": localize12(\"less.builtin.hue\", \"returns the `hue` channel of `@color` in the HSL space\")\n        },\n        {\n          \"name\": \"saturation\",\n          \"example\": \"saturation(@color);\",\n          \"description\": localize12(\"less.builtin.saturation\", \"returns the `saturation` channel of `@color` in the HSL space\")\n        },\n        {\n          \"name\": \"lightness\",\n          \"example\": \"lightness(@color);\",\n          \"description\": localize12(\"less.builtin.lightness\", \"returns the `lightness` channel of `@color` in the HSL space\")\n        },\n        {\n          \"name\": \"hsvhue\",\n          \"example\": \"hsvhue(@color);\",\n          \"description\": localize12(\"less.builtin.hsvhue\", \"returns the `hue` channel of `@color` in the HSV space\")\n        },\n        {\n          \"name\": \"hsvsaturation\",\n          \"example\": \"hsvsaturation(@color);\",\n          \"description\": localize12(\"less.builtin.hsvsaturation\", \"returns the `saturation` channel of `@color` in the HSV space\")\n        },\n        {\n          \"name\": \"hsvvalue\",\n          \"example\": \"hsvvalue(@color);\",\n          \"description\": localize12(\"less.builtin.hsvvalue\", \"returns the `value` channel of `@color` in the HSV space\")\n        },\n        {\n          \"name\": \"red\",\n          \"example\": \"red(@color);\",\n          \"description\": localize12(\"less.builtin.red\", \"returns the `red` channel of `@color`\")\n        },\n        {\n          \"name\": \"green\",\n          \"example\": \"green(@color);\",\n          \"description\": localize12(\"less.builtin.green\", \"returns the `green` channel of `@color`\")\n        },\n        {\n          \"name\": \"blue\",\n          \"example\": \"blue(@color);\",\n          \"description\": localize12(\"less.builtin.blue\", \"returns the `blue` channel of `@color`\")\n        },\n        {\n          \"name\": \"alpha\",\n          \"example\": \"alpha(@color);\",\n          \"description\": localize12(\"less.builtin.alpha\", \"returns the `alpha` channel of `@color`\")\n        },\n        {\n          \"name\": \"luma\",\n          \"example\": \"luma(@color);\",\n          \"description\": localize12(\"less.builtin.luma\", \"returns the `luma` value (perceptual brightness) of `@color`\")\n        },\n        {\n          \"name\": \"saturate\",\n          \"example\": \"saturate(@color, 10%);\",\n          \"description\": localize12(\"less.builtin.saturate\", \"return `@color` 10% points more saturated\")\n        },\n        {\n          \"name\": \"desaturate\",\n          \"example\": \"desaturate(@color, 10%);\",\n          \"description\": localize12(\"less.builtin.desaturate\", \"return `@color` 10% points less saturated\")\n        },\n        {\n          \"name\": \"lighten\",\n          \"example\": \"lighten(@color, 10%);\",\n          \"description\": localize12(\"less.builtin.lighten\", \"return `@color` 10% points lighter\")\n        },\n        {\n          \"name\": \"darken\",\n          \"example\": \"darken(@color, 10%);\",\n          \"description\": localize12(\"less.builtin.darken\", \"return `@color` 10% points darker\")\n        },\n        {\n          \"name\": \"fadein\",\n          \"example\": \"fadein(@color, 10%);\",\n          \"description\": localize12(\"less.builtin.fadein\", \"return `@color` 10% points less transparent\")\n        },\n        {\n          \"name\": \"fadeout\",\n          \"example\": \"fadeout(@color, 10%);\",\n          \"description\": localize12(\"less.builtin.fadeout\", \"return `@color` 10% points more transparent\")\n        },\n        {\n          \"name\": \"fade\",\n          \"example\": \"fade(@color, 50%);\",\n          \"description\": localize12(\"less.builtin.fade\", \"return `@color` with 50% transparency\")\n        },\n        {\n          \"name\": \"spin\",\n          \"example\": \"spin(@color, 10);\",\n          \"description\": localize12(\"less.builtin.spin\", \"return `@color` with a 10 degree larger in hue\")\n        },\n        {\n          \"name\": \"mix\",\n          \"example\": \"mix(@color1, @color2, [@weight: 50%]);\",\n          \"description\": localize12(\"less.builtin.mix\", \"return a mix of `@color1` and `@color2`\")\n        },\n        {\n          \"name\": \"greyscale\",\n          \"example\": \"greyscale(@color);\",\n          \"description\": localize12(\"less.builtin.greyscale\", \"returns a grey, 100% desaturated color\")\n        },\n        {\n          \"name\": \"contrast\",\n          \"example\": \"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);\",\n          \"description\": localize12(\"less.builtin.contrast\", \"return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes\")\n        },\n        {\n          \"name\": \"multiply\",\n          \"example\": \"multiply(@color1, @color2);\"\n        },\n        {\n          \"name\": \"screen\",\n          \"example\": \"screen(@color1, @color2);\"\n        },\n        {\n          \"name\": \"overlay\",\n          \"example\": \"overlay(@color1, @color2);\"\n        },\n        {\n          \"name\": \"softlight\",\n          \"example\": \"softlight(@color1, @color2);\"\n        },\n        {\n          \"name\": \"hardlight\",\n          \"example\": \"hardlight(@color1, @color2);\"\n        },\n        {\n          \"name\": \"difference\",\n          \"example\": \"difference(@color1, @color2);\"\n        },\n        {\n          \"name\": \"exclusion\",\n          \"example\": \"exclusion(@color1, @color2);\"\n        },\n        {\n          \"name\": \"average\",\n          \"example\": \"average(@color1, @color2);\"\n        },\n        {\n          \"name\": \"negation\",\n          \"example\": \"negation(@color1, @color2);\"\n        }\n      ];\n      return LESSCompletion2;\n    }(CSSCompletion)\n  );\n  function getFoldingRanges(document2, context) {\n    var ranges = computeFoldingRanges(document2);\n    return limitFoldingRanges(ranges, context);\n  }\n  function computeFoldingRanges(document2) {\n    function getStartLine(t) {\n      return document2.positionAt(t.offset).line;\n    }\n    function getEndLine(t) {\n      return document2.positionAt(t.offset + t.len).line;\n    }\n    function getScanner() {\n      switch (document2.languageId) {\n        case \"scss\":\n          return new SCSSScanner();\n        case \"less\":\n          return new LESSScanner();\n        default:\n          return new Scanner();\n      }\n    }\n    function tokenToRange(t, kind) {\n      var startLine = getStartLine(t);\n      var endLine = getEndLine(t);\n      if (startLine !== endLine) {\n        return {\n          startLine,\n          endLine,\n          kind\n        };\n      } else {\n        return null;\n      }\n    }\n    var ranges = [];\n    var delimiterStack = [];\n    var scanner = getScanner();\n    scanner.ignoreComment = false;\n    scanner.setSource(document2.getText());\n    var token = scanner.scan();\n    var prevToken = null;\n    var _loop_1 = function() {\n      switch (token.type) {\n        case TokenType.CurlyL:\n        case InterpolationFunction: {\n          delimiterStack.push({ line: getStartLine(token), type: \"brace\", isStart: true });\n          break;\n        }\n        case TokenType.CurlyR: {\n          if (delimiterStack.length !== 0) {\n            var prevDelimiter = popPrevStartDelimiterOfType(delimiterStack, \"brace\");\n            if (!prevDelimiter) {\n              break;\n            }\n            var endLine = getEndLine(token);\n            if (prevDelimiter.type === \"brace\") {\n              if (prevToken && getEndLine(prevToken) !== endLine) {\n                endLine--;\n              }\n              if (prevDelimiter.line !== endLine) {\n                ranges.push({\n                  startLine: prevDelimiter.line,\n                  endLine,\n                  kind: void 0\n                });\n              }\n            }\n          }\n          break;\n        }\n        case TokenType.Comment: {\n          var commentRegionMarkerToDelimiter_1 = function(marker) {\n            if (marker === \"#region\") {\n              return { line: getStartLine(token), type: \"comment\", isStart: true };\n            } else {\n              return { line: getEndLine(token), type: \"comment\", isStart: false };\n            }\n          };\n          var getCurrDelimiter = function(token2) {\n            var matches2 = token2.text.match(/^\\s*\\/\\*\\s*(#region|#endregion)\\b\\s*(.*?)\\s*\\*\\//);\n            if (matches2) {\n              return commentRegionMarkerToDelimiter_1(matches2[1]);\n            } else if (document2.languageId === \"scss\" || document2.languageId === \"less\") {\n              var matches_1 = token2.text.match(/^\\s*\\/\\/\\s*(#region|#endregion)\\b\\s*(.*?)\\s*/);\n              if (matches_1) {\n                return commentRegionMarkerToDelimiter_1(matches_1[1]);\n              }\n            }\n            return null;\n          };\n          var currDelimiter = getCurrDelimiter(token);\n          if (currDelimiter) {\n            if (currDelimiter.isStart) {\n              delimiterStack.push(currDelimiter);\n            } else {\n              var prevDelimiter = popPrevStartDelimiterOfType(delimiterStack, \"comment\");\n              if (!prevDelimiter) {\n                break;\n              }\n              if (prevDelimiter.type === \"comment\") {\n                if (prevDelimiter.line !== currDelimiter.line) {\n                  ranges.push({\n                    startLine: prevDelimiter.line,\n                    endLine: currDelimiter.line,\n                    kind: \"region\"\n                  });\n                }\n              }\n            }\n          } else {\n            var range = tokenToRange(token, \"comment\");\n            if (range) {\n              ranges.push(range);\n            }\n          }\n          break;\n        }\n      }\n      prevToken = token;\n      token = scanner.scan();\n    };\n    while (token.type !== TokenType.EOF) {\n      _loop_1();\n    }\n    return ranges;\n  }\n  function popPrevStartDelimiterOfType(stack, type) {\n    if (stack.length === 0) {\n      return null;\n    }\n    for (var i = stack.length - 1; i >= 0; i--) {\n      if (stack[i].type === type && stack[i].isStart) {\n        return stack.splice(i, 1)[0];\n      }\n    }\n    return null;\n  }\n  function limitFoldingRanges(ranges, context) {\n    var maxRanges = context && context.rangeLimit || Number.MAX_VALUE;\n    var sortedRanges = ranges.sort(function(r1, r2) {\n      var diff = r1.startLine - r2.startLine;\n      if (diff === 0) {\n        diff = r1.endLine - r2.endLine;\n      }\n      return diff;\n    });\n    var validRanges = [];\n    var prevEndLine = -1;\n    sortedRanges.forEach(function(r) {\n      if (!(r.startLine < prevEndLine && prevEndLine < r.endLine)) {\n        validRanges.push(r);\n        prevEndLine = r.endLine;\n      }\n    });\n    if (validRanges.length < maxRanges) {\n      return validRanges;\n    } else {\n      return validRanges.slice(0, maxRanges);\n    }\n  }\n  var legacy_beautify_css;\n  (function() {\n    \"use strict\";\n    var __webpack_modules__ = [\n      ,\n      ,\n      /* 2 */\n      /***/\n      function(module) {\n        function OutputLine(parent) {\n          this.__parent = parent;\n          this.__character_count = 0;\n          this.__indent_count = -1;\n          this.__alignment_count = 0;\n          this.__wrap_point_index = 0;\n          this.__wrap_point_character_count = 0;\n          this.__wrap_point_indent_count = -1;\n          this.__wrap_point_alignment_count = 0;\n          this.__items = [];\n        }\n        OutputLine.prototype.clone_empty = function() {\n          var line = new OutputLine(this.__parent);\n          line.set_indent(this.__indent_count, this.__alignment_count);\n          return line;\n        };\n        OutputLine.prototype.item = function(index) {\n          if (index < 0) {\n            return this.__items[this.__items.length + index];\n          } else {\n            return this.__items[index];\n          }\n        };\n        OutputLine.prototype.has_match = function(pattern) {\n          for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n            if (this.__items[lastCheckedOutput].match(pattern)) {\n              return true;\n            }\n          }\n          return false;\n        };\n        OutputLine.prototype.set_indent = function(indent, alignment) {\n          if (this.is_empty()) {\n            this.__indent_count = indent || 0;\n            this.__alignment_count = alignment || 0;\n            this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);\n          }\n        };\n        OutputLine.prototype._set_wrap_point = function() {\n          if (this.__parent.wrap_line_length) {\n            this.__wrap_point_index = this.__items.length;\n            this.__wrap_point_character_count = this.__character_count;\n            this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;\n            this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;\n          }\n        };\n        OutputLine.prototype._should_wrap = function() {\n          return this.__wrap_point_index && this.__character_count > this.__parent.wrap_line_length && this.__wrap_point_character_count > this.__parent.next_line.__character_count;\n        };\n        OutputLine.prototype._allow_wrap = function() {\n          if (this._should_wrap()) {\n            this.__parent.add_new_line();\n            var next = this.__parent.current_line;\n            next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);\n            next.__items = this.__items.slice(this.__wrap_point_index);\n            this.__items = this.__items.slice(0, this.__wrap_point_index);\n            next.__character_count += this.__character_count - this.__wrap_point_character_count;\n            this.__character_count = this.__wrap_point_character_count;\n            if (next.__items[0] === \" \") {\n              next.__items.splice(0, 1);\n              next.__character_count -= 1;\n            }\n            return true;\n          }\n          return false;\n        };\n        OutputLine.prototype.is_empty = function() {\n          return this.__items.length === 0;\n        };\n        OutputLine.prototype.last = function() {\n          if (!this.is_empty()) {\n            return this.__items[this.__items.length - 1];\n          } else {\n            return null;\n          }\n        };\n        OutputLine.prototype.push = function(item) {\n          this.__items.push(item);\n          var last_newline_index = item.lastIndexOf(\"\\n\");\n          if (last_newline_index !== -1) {\n            this.__character_count = item.length - last_newline_index;\n          } else {\n            this.__character_count += item.length;\n          }\n        };\n        OutputLine.prototype.pop = function() {\n          var item = null;\n          if (!this.is_empty()) {\n            item = this.__items.pop();\n            this.__character_count -= item.length;\n          }\n          return item;\n        };\n        OutputLine.prototype._remove_indent = function() {\n          if (this.__indent_count > 0) {\n            this.__indent_count -= 1;\n            this.__character_count -= this.__parent.indent_size;\n          }\n        };\n        OutputLine.prototype._remove_wrap_indent = function() {\n          if (this.__wrap_point_indent_count > 0) {\n            this.__wrap_point_indent_count -= 1;\n          }\n        };\n        OutputLine.prototype.trim = function() {\n          while (this.last() === \" \") {\n            this.__items.pop();\n            this.__character_count -= 1;\n          }\n        };\n        OutputLine.prototype.toString = function() {\n          var result = \"\";\n          if (this.is_empty()) {\n            if (this.__parent.indent_empty_lines) {\n              result = this.__parent.get_indent_string(this.__indent_count);\n            }\n          } else {\n            result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);\n            result += this.__items.join(\"\");\n          }\n          return result;\n        };\n        function IndentStringCache(options, baseIndentString) {\n          this.__cache = [\"\"];\n          this.__indent_size = options.indent_size;\n          this.__indent_string = options.indent_char;\n          if (!options.indent_with_tabs) {\n            this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);\n          }\n          baseIndentString = baseIndentString || \"\";\n          if (options.indent_level > 0) {\n            baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);\n          }\n          this.__base_string = baseIndentString;\n          this.__base_string_length = baseIndentString.length;\n        }\n        IndentStringCache.prototype.get_indent_size = function(indent, column) {\n          var result = this.__base_string_length;\n          column = column || 0;\n          if (indent < 0) {\n            result = 0;\n          }\n          result += indent * this.__indent_size;\n          result += column;\n          return result;\n        };\n        IndentStringCache.prototype.get_indent_string = function(indent_level, column) {\n          var result = this.__base_string;\n          column = column || 0;\n          if (indent_level < 0) {\n            indent_level = 0;\n            result = \"\";\n          }\n          column += indent_level * this.__indent_size;\n          this.__ensure_cache(column);\n          result += this.__cache[column];\n          return result;\n        };\n        IndentStringCache.prototype.__ensure_cache = function(column) {\n          while (column >= this.__cache.length) {\n            this.__add_column();\n          }\n        };\n        IndentStringCache.prototype.__add_column = function() {\n          var column = this.__cache.length;\n          var indent = 0;\n          var result = \"\";\n          if (this.__indent_size && column >= this.__indent_size) {\n            indent = Math.floor(column / this.__indent_size);\n            column -= indent * this.__indent_size;\n            result = new Array(indent + 1).join(this.__indent_string);\n          }\n          if (column) {\n            result += new Array(column + 1).join(\" \");\n          }\n          this.__cache.push(result);\n        };\n        function Output(options, baseIndentString) {\n          this.__indent_cache = new IndentStringCache(options, baseIndentString);\n          this.raw = false;\n          this._end_with_newline = options.end_with_newline;\n          this.indent_size = options.indent_size;\n          this.wrap_line_length = options.wrap_line_length;\n          this.indent_empty_lines = options.indent_empty_lines;\n          this.__lines = [];\n          this.previous_line = null;\n          this.current_line = null;\n          this.next_line = new OutputLine(this);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = false;\n          this.__add_outputline();\n        }\n        Output.prototype.__add_outputline = function() {\n          this.previous_line = this.current_line;\n          this.current_line = this.next_line.clone_empty();\n          this.__lines.push(this.current_line);\n        };\n        Output.prototype.get_line_number = function() {\n          return this.__lines.length;\n        };\n        Output.prototype.get_indent_string = function(indent, column) {\n          return this.__indent_cache.get_indent_string(indent, column);\n        };\n        Output.prototype.get_indent_size = function(indent, column) {\n          return this.__indent_cache.get_indent_size(indent, column);\n        };\n        Output.prototype.is_empty = function() {\n          return !this.previous_line && this.current_line.is_empty();\n        };\n        Output.prototype.add_new_line = function(force_newline) {\n          if (this.is_empty() || !force_newline && this.just_added_newline()) {\n            return false;\n          }\n          if (!this.raw) {\n            this.__add_outputline();\n          }\n          return true;\n        };\n        Output.prototype.get_code = function(eol) {\n          this.trim(true);\n          var last_item = this.current_line.pop();\n          if (last_item) {\n            if (last_item[last_item.length - 1] === \"\\n\") {\n              last_item = last_item.replace(/\\n+$/g, \"\");\n            }\n            this.current_line.push(last_item);\n          }\n          if (this._end_with_newline) {\n            this.__add_outputline();\n          }\n          var sweet_code = this.__lines.join(\"\\n\");\n          if (eol !== \"\\n\") {\n            sweet_code = sweet_code.replace(/[\\n]/g, eol);\n          }\n          return sweet_code;\n        };\n        Output.prototype.set_wrap_point = function() {\n          this.current_line._set_wrap_point();\n        };\n        Output.prototype.set_indent = function(indent, alignment) {\n          indent = indent || 0;\n          alignment = alignment || 0;\n          this.next_line.set_indent(indent, alignment);\n          if (this.__lines.length > 1) {\n            this.current_line.set_indent(indent, alignment);\n            return true;\n          }\n          this.current_line.set_indent();\n          return false;\n        };\n        Output.prototype.add_raw_token = function(token) {\n          for (var x = 0; x < token.newlines; x++) {\n            this.__add_outputline();\n          }\n          this.current_line.set_indent(-1);\n          this.current_line.push(token.whitespace_before);\n          this.current_line.push(token.text);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = false;\n        };\n        Output.prototype.add_token = function(printable_token) {\n          this.__add_space_before_token();\n          this.current_line.push(printable_token);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = this.current_line._allow_wrap();\n        };\n        Output.prototype.__add_space_before_token = function() {\n          if (this.space_before_token && !this.just_added_newline()) {\n            if (!this.non_breaking_space) {\n              this.set_wrap_point();\n            }\n            this.current_line.push(\" \");\n          }\n        };\n        Output.prototype.remove_indent = function(index) {\n          var output_length = this.__lines.length;\n          while (index < output_length) {\n            this.__lines[index]._remove_indent();\n            index++;\n          }\n          this.current_line._remove_wrap_indent();\n        };\n        Output.prototype.trim = function(eat_newlines) {\n          eat_newlines = eat_newlines === void 0 ? false : eat_newlines;\n          this.current_line.trim();\n          while (eat_newlines && this.__lines.length > 1 && this.current_line.is_empty()) {\n            this.__lines.pop();\n            this.current_line = this.__lines[this.__lines.length - 1];\n            this.current_line.trim();\n          }\n          this.previous_line = this.__lines.length > 1 ? this.__lines[this.__lines.length - 2] : null;\n        };\n        Output.prototype.just_added_newline = function() {\n          return this.current_line.is_empty();\n        };\n        Output.prototype.just_added_blankline = function() {\n          return this.is_empty() || this.current_line.is_empty() && this.previous_line.is_empty();\n        };\n        Output.prototype.ensure_empty_line_above = function(starts_with, ends_with) {\n          var index = this.__lines.length - 2;\n          while (index >= 0) {\n            var potentialEmptyLine = this.__lines[index];\n            if (potentialEmptyLine.is_empty()) {\n              break;\n            } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 && potentialEmptyLine.item(-1) !== ends_with) {\n              this.__lines.splice(index + 1, 0, new OutputLine(this));\n              this.previous_line = this.__lines[this.__lines.length - 2];\n              break;\n            }\n            index--;\n          }\n        };\n        module.exports.Output = Output;\n      },\n      ,\n      ,\n      ,\n      /* 6 */\n      /***/\n      function(module) {\n        function Options(options, merge_child_field) {\n          this.raw_options = _mergeOpts(options, merge_child_field);\n          this.disabled = this._get_boolean(\"disabled\");\n          this.eol = this._get_characters(\"eol\", \"auto\");\n          this.end_with_newline = this._get_boolean(\"end_with_newline\");\n          this.indent_size = this._get_number(\"indent_size\", 4);\n          this.indent_char = this._get_characters(\"indent_char\", \" \");\n          this.indent_level = this._get_number(\"indent_level\");\n          this.preserve_newlines = this._get_boolean(\"preserve_newlines\", true);\n          this.max_preserve_newlines = this._get_number(\"max_preserve_newlines\", 32786);\n          if (!this.preserve_newlines) {\n            this.max_preserve_newlines = 0;\n          }\n          this.indent_with_tabs = this._get_boolean(\"indent_with_tabs\", this.indent_char === \"\t\");\n          if (this.indent_with_tabs) {\n            this.indent_char = \"\t\";\n            if (this.indent_size === 1) {\n              this.indent_size = 4;\n            }\n          }\n          this.wrap_line_length = this._get_number(\"wrap_line_length\", this._get_number(\"max_char\"));\n          this.indent_empty_lines = this._get_boolean(\"indent_empty_lines\");\n          this.templating = this._get_selection_list(\"templating\", [\"auto\", \"none\", \"django\", \"erb\", \"handlebars\", \"php\", \"smarty\"], [\"auto\"]);\n        }\n        Options.prototype._get_array = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = default_value || [];\n          if (typeof option_value === \"object\") {\n            if (option_value !== null && typeof option_value.concat === \"function\") {\n              result = option_value.concat();\n            }\n          } else if (typeof option_value === \"string\") {\n            result = option_value.split(/[^a-zA-Z0-9_\\/\\-]+/);\n          }\n          return result;\n        };\n        Options.prototype._get_boolean = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = option_value === void 0 ? !!default_value : !!option_value;\n          return result;\n        };\n        Options.prototype._get_characters = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = default_value || \"\";\n          if (typeof option_value === \"string\") {\n            result = option_value.replace(/\\\\r/, \"\\r\").replace(/\\\\n/, \"\\n\").replace(/\\\\t/, \"\t\");\n          }\n          return result;\n        };\n        Options.prototype._get_number = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          default_value = parseInt(default_value, 10);\n          if (isNaN(default_value)) {\n            default_value = 0;\n          }\n          var result = parseInt(option_value, 10);\n          if (isNaN(result)) {\n            result = default_value;\n          }\n          return result;\n        };\n        Options.prototype._get_selection = function(name, selection_list, default_value) {\n          var result = this._get_selection_list(name, selection_list, default_value);\n          if (result.length !== 1) {\n            throw new Error(\n              \"Invalid Option Value: The option '\" + name + \"' can only be one of the following values:\\n\" + selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\"\n            );\n          }\n          return result[0];\n        };\n        Options.prototype._get_selection_list = function(name, selection_list, default_value) {\n          if (!selection_list || selection_list.length === 0) {\n            throw new Error(\"Selection list cannot be empty.\");\n          }\n          default_value = default_value || [selection_list[0]];\n          if (!this._is_valid_selection(default_value, selection_list)) {\n            throw new Error(\"Invalid Default Value!\");\n          }\n          var result = this._get_array(name, default_value);\n          if (!this._is_valid_selection(result, selection_list)) {\n            throw new Error(\n              \"Invalid Option Value: The option '\" + name + \"' can contain only the following values:\\n\" + selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\"\n            );\n          }\n          return result;\n        };\n        Options.prototype._is_valid_selection = function(result, selection_list) {\n          return result.length && selection_list.length && !result.some(function(item) {\n            return selection_list.indexOf(item) === -1;\n          });\n        };\n        function _mergeOpts(allOptions, childFieldName) {\n          var finalOpts = {};\n          allOptions = _normalizeOpts(allOptions);\n          var name;\n          for (name in allOptions) {\n            if (name !== childFieldName) {\n              finalOpts[name] = allOptions[name];\n            }\n          }\n          if (childFieldName && allOptions[childFieldName]) {\n            for (name in allOptions[childFieldName]) {\n              finalOpts[name] = allOptions[childFieldName][name];\n            }\n          }\n          return finalOpts;\n        }\n        function _normalizeOpts(options) {\n          var convertedOpts = {};\n          var key;\n          for (key in options) {\n            var newKey = key.replace(/-/g, \"_\");\n            convertedOpts[newKey] = options[key];\n          }\n          return convertedOpts;\n        }\n        module.exports.Options = Options;\n        module.exports.normalizeOpts = _normalizeOpts;\n        module.exports.mergeOpts = _mergeOpts;\n      },\n      ,\n      /* 8 */\n      /***/\n      function(module) {\n        var regexp_has_sticky = RegExp.prototype.hasOwnProperty(\"sticky\");\n        function InputScanner(input_string) {\n          this.__input = input_string || \"\";\n          this.__input_length = this.__input.length;\n          this.__position = 0;\n        }\n        InputScanner.prototype.restart = function() {\n          this.__position = 0;\n        };\n        InputScanner.prototype.back = function() {\n          if (this.__position > 0) {\n            this.__position -= 1;\n          }\n        };\n        InputScanner.prototype.hasNext = function() {\n          return this.__position < this.__input_length;\n        };\n        InputScanner.prototype.next = function() {\n          var val = null;\n          if (this.hasNext()) {\n            val = this.__input.charAt(this.__position);\n            this.__position += 1;\n          }\n          return val;\n        };\n        InputScanner.prototype.peek = function(index) {\n          var val = null;\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__input_length) {\n            val = this.__input.charAt(index);\n          }\n          return val;\n        };\n        InputScanner.prototype.__match = function(pattern, index) {\n          pattern.lastIndex = index;\n          var pattern_match = pattern.exec(this.__input);\n          if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {\n            if (pattern_match.index !== index) {\n              pattern_match = null;\n            }\n          }\n          return pattern_match;\n        };\n        InputScanner.prototype.test = function(pattern, index) {\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__input_length) {\n            return !!this.__match(pattern, index);\n          } else {\n            return false;\n          }\n        };\n        InputScanner.prototype.testChar = function(pattern, index) {\n          var val = this.peek(index);\n          pattern.lastIndex = 0;\n          return val !== null && pattern.test(val);\n        };\n        InputScanner.prototype.match = function(pattern) {\n          var pattern_match = this.__match(pattern, this.__position);\n          if (pattern_match) {\n            this.__position += pattern_match[0].length;\n          } else {\n            pattern_match = null;\n          }\n          return pattern_match;\n        };\n        InputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {\n          var val = \"\";\n          var match;\n          if (starting_pattern) {\n            match = this.match(starting_pattern);\n            if (match) {\n              val += match[0];\n            }\n          }\n          if (until_pattern && (match || !starting_pattern)) {\n            val += this.readUntil(until_pattern, until_after);\n          }\n          return val;\n        };\n        InputScanner.prototype.readUntil = function(pattern, until_after) {\n          var val = \"\";\n          var match_index = this.__position;\n          pattern.lastIndex = this.__position;\n          var pattern_match = pattern.exec(this.__input);\n          if (pattern_match) {\n            match_index = pattern_match.index;\n            if (until_after) {\n              match_index += pattern_match[0].length;\n            }\n          } else {\n            match_index = this.__input_length;\n          }\n          val = this.__input.substring(this.__position, match_index);\n          this.__position = match_index;\n          return val;\n        };\n        InputScanner.prototype.readUntilAfter = function(pattern) {\n          return this.readUntil(pattern, true);\n        };\n        InputScanner.prototype.get_regexp = function(pattern, match_from) {\n          var result = null;\n          var flags = \"g\";\n          if (match_from && regexp_has_sticky) {\n            flags = \"y\";\n          }\n          if (typeof pattern === \"string\" && pattern !== \"\") {\n            result = new RegExp(pattern, flags);\n          } else if (pattern) {\n            result = new RegExp(pattern.source, flags);\n          }\n          return result;\n        };\n        InputScanner.prototype.get_literal_regexp = function(literal_string) {\n          return RegExp(literal_string.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\"));\n        };\n        InputScanner.prototype.peekUntilAfter = function(pattern) {\n          var start = this.__position;\n          var val = this.readUntilAfter(pattern);\n          this.__position = start;\n          return val;\n        };\n        InputScanner.prototype.lookBack = function(testVal) {\n          var start = this.__position - 1;\n          return start >= testVal.length && this.__input.substring(start - testVal.length, start).toLowerCase() === testVal;\n        };\n        module.exports.InputScanner = InputScanner;\n      },\n      ,\n      ,\n      ,\n      ,\n      /* 13 */\n      /***/\n      function(module) {\n        function Directives(start_block_pattern, end_block_pattern) {\n          start_block_pattern = typeof start_block_pattern === \"string\" ? start_block_pattern : start_block_pattern.source;\n          end_block_pattern = typeof end_block_pattern === \"string\" ? end_block_pattern : end_block_pattern.source;\n          this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \\w+[:]\\w+)+ /.source + end_block_pattern, \"g\");\n          this.__directive_pattern = / (\\w+)[:](\\w+)/g;\n          this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\\sbeautify\\signore:end\\s/.source + end_block_pattern, \"g\");\n        }\n        Directives.prototype.get_directives = function(text) {\n          if (!text.match(this.__directives_block_pattern)) {\n            return null;\n          }\n          var directives = {};\n          this.__directive_pattern.lastIndex = 0;\n          var directive_match = this.__directive_pattern.exec(text);\n          while (directive_match) {\n            directives[directive_match[1]] = directive_match[2];\n            directive_match = this.__directive_pattern.exec(text);\n          }\n          return directives;\n        };\n        Directives.prototype.readIgnored = function(input) {\n          return input.readUntilAfter(this.__directives_end_ignore_pattern);\n        };\n        module.exports.Directives = Directives;\n      },\n      ,\n      /* 15 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Beautifier = __webpack_require__2(16).Beautifier, Options = __webpack_require__2(17).Options;\n        function css_beautify2(source_text, options) {\n          var beautifier = new Beautifier(source_text, options);\n          return beautifier.beautify();\n        }\n        module.exports = css_beautify2;\n        module.exports.defaultOptions = function() {\n          return new Options();\n        };\n      },\n      /* 16 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Options = __webpack_require__2(17).Options;\n        var Output = __webpack_require__2(2).Output;\n        var InputScanner = __webpack_require__2(8).InputScanner;\n        var Directives = __webpack_require__2(13).Directives;\n        var directives_core = new Directives(/\\/\\*/, /\\*\\//);\n        var lineBreak = /\\r\\n|[\\r\\n]/;\n        var allLineBreaks = /\\r\\n|[\\r\\n]/g;\n        var whitespaceChar = /\\s/;\n        var whitespacePattern = /(?:\\s|\\n)+/g;\n        var block_comment_pattern = /\\/\\*(?:[\\s\\S]*?)((?:\\*\\/)|$)/g;\n        var comment_pattern = /\\/\\/(?:[^\\n\\r\\u2028\\u2029]*)/g;\n        function Beautifier(source_text, options) {\n          this._source_text = source_text || \"\";\n          this._options = new Options(options);\n          this._ch = null;\n          this._input = null;\n          this.NESTED_AT_RULE = {\n            \"@page\": true,\n            \"@font-face\": true,\n            \"@keyframes\": true,\n            // also in CONDITIONAL_GROUP_RULE below\n            \"@media\": true,\n            \"@supports\": true,\n            \"@document\": true\n          };\n          this.CONDITIONAL_GROUP_RULE = {\n            \"@media\": true,\n            \"@supports\": true,\n            \"@document\": true\n          };\n        }\n        Beautifier.prototype.eatString = function(endChars) {\n          var result = \"\";\n          this._ch = this._input.next();\n          while (this._ch) {\n            result += this._ch;\n            if (this._ch === \"\\\\\") {\n              result += this._input.next();\n            } else if (endChars.indexOf(this._ch) !== -1 || this._ch === \"\\n\") {\n              break;\n            }\n            this._ch = this._input.next();\n          }\n          return result;\n        };\n        Beautifier.prototype.eatWhitespace = function(allowAtLeastOneNewLine) {\n          var result = whitespaceChar.test(this._input.peek());\n          var newline_count = 0;\n          while (whitespaceChar.test(this._input.peek())) {\n            this._ch = this._input.next();\n            if (allowAtLeastOneNewLine && this._ch === \"\\n\") {\n              if (newline_count === 0 || newline_count < this._options.max_preserve_newlines) {\n                newline_count++;\n                this._output.add_new_line(true);\n              }\n            }\n          }\n          return result;\n        };\n        Beautifier.prototype.foundNestedPseudoClass = function() {\n          var openParen = 0;\n          var i = 1;\n          var ch = this._input.peek(i);\n          while (ch) {\n            if (ch === \"{\") {\n              return true;\n            } else if (ch === \"(\") {\n              openParen += 1;\n            } else if (ch === \")\") {\n              if (openParen === 0) {\n                return false;\n              }\n              openParen -= 1;\n            } else if (ch === \";\" || ch === \"}\") {\n              return false;\n            }\n            i++;\n            ch = this._input.peek(i);\n          }\n          return false;\n        };\n        Beautifier.prototype.print_string = function(output_string) {\n          this._output.set_indent(this._indentLevel);\n          this._output.non_breaking_space = true;\n          this._output.add_token(output_string);\n        };\n        Beautifier.prototype.preserveSingleSpace = function(isAfterSpace) {\n          if (isAfterSpace) {\n            this._output.space_before_token = true;\n          }\n        };\n        Beautifier.prototype.indent = function() {\n          this._indentLevel++;\n        };\n        Beautifier.prototype.outdent = function() {\n          if (this._indentLevel > 0) {\n            this._indentLevel--;\n          }\n        };\n        Beautifier.prototype.beautify = function() {\n          if (this._options.disabled) {\n            return this._source_text;\n          }\n          var source_text = this._source_text;\n          var eol = this._options.eol;\n          if (eol === \"auto\") {\n            eol = \"\\n\";\n            if (source_text && lineBreak.test(source_text || \"\")) {\n              eol = source_text.match(lineBreak)[0];\n            }\n          }\n          source_text = source_text.replace(allLineBreaks, \"\\n\");\n          var baseIndentString = source_text.match(/^[\\t ]*/)[0];\n          this._output = new Output(this._options, baseIndentString);\n          this._input = new InputScanner(source_text);\n          this._indentLevel = 0;\n          this._nestedLevel = 0;\n          this._ch = null;\n          var parenLevel = 0;\n          var insideRule = false;\n          var insidePropertyValue = false;\n          var enteringConditionalGroup = false;\n          var insideAtExtend = false;\n          var insideAtImport = false;\n          var topCharacter = this._ch;\n          var whitespace;\n          var isAfterSpace;\n          var previous_ch;\n          while (true) {\n            whitespace = this._input.read(whitespacePattern);\n            isAfterSpace = whitespace !== \"\";\n            previous_ch = topCharacter;\n            this._ch = this._input.next();\n            if (this._ch === \"\\\\\" && this._input.hasNext()) {\n              this._ch += this._input.next();\n            }\n            topCharacter = this._ch;\n            if (!this._ch) {\n              break;\n            } else if (this._ch === \"/\" && this._input.peek() === \"*\") {\n              this._output.add_new_line();\n              this._input.back();\n              var comment = this._input.read(block_comment_pattern);\n              var directives = directives_core.get_directives(comment);\n              if (directives && directives.ignore === \"start\") {\n                comment += directives_core.readIgnored(this._input);\n              }\n              this.print_string(comment);\n              this.eatWhitespace(true);\n              this._output.add_new_line();\n            } else if (this._ch === \"/\" && this._input.peek() === \"/\") {\n              this._output.space_before_token = true;\n              this._input.back();\n              this.print_string(this._input.read(comment_pattern));\n              this.eatWhitespace(true);\n            } else if (this._ch === \"@\") {\n              this.preserveSingleSpace(isAfterSpace);\n              if (this._input.peek() === \"{\") {\n                this.print_string(this._ch + this.eatString(\"}\"));\n              } else {\n                this.print_string(this._ch);\n                var variableOrRule = this._input.peekUntilAfter(/[: ,;{}()[\\]\\/='\"]/g);\n                if (variableOrRule.match(/[ :]$/)) {\n                  variableOrRule = this.eatString(\": \").replace(/\\s$/, \"\");\n                  this.print_string(variableOrRule);\n                  this._output.space_before_token = true;\n                }\n                variableOrRule = variableOrRule.replace(/\\s$/, \"\");\n                if (variableOrRule === \"extend\") {\n                  insideAtExtend = true;\n                } else if (variableOrRule === \"import\") {\n                  insideAtImport = true;\n                }\n                if (variableOrRule in this.NESTED_AT_RULE) {\n                  this._nestedLevel += 1;\n                  if (variableOrRule in this.CONDITIONAL_GROUP_RULE) {\n                    enteringConditionalGroup = true;\n                  }\n                } else if (!insideRule && parenLevel === 0 && variableOrRule.indexOf(\":\") !== -1) {\n                  insidePropertyValue = true;\n                  this.indent();\n                }\n              }\n            } else if (this._ch === \"#\" && this._input.peek() === \"{\") {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch + this.eatString(\"}\"));\n            } else if (this._ch === \"{\") {\n              if (insidePropertyValue) {\n                insidePropertyValue = false;\n                this.outdent();\n              }\n              if (enteringConditionalGroup) {\n                enteringConditionalGroup = false;\n                insideRule = this._indentLevel >= this._nestedLevel;\n              } else {\n                insideRule = this._indentLevel >= this._nestedLevel - 1;\n              }\n              if (this._options.newline_between_rules && insideRule) {\n                if (this._output.previous_line && this._output.previous_line.item(-1) !== \"{\") {\n                  this._output.ensure_empty_line_above(\"/\", \",\");\n                }\n              }\n              this._output.space_before_token = true;\n              if (this._options.brace_style === \"expand\") {\n                this._output.add_new_line();\n                this.print_string(this._ch);\n                this.indent();\n                this._output.set_indent(this._indentLevel);\n              } else {\n                this.indent();\n                this.print_string(this._ch);\n              }\n              this.eatWhitespace(true);\n              this._output.add_new_line();\n            } else if (this._ch === \"}\") {\n              this.outdent();\n              this._output.add_new_line();\n              if (previous_ch === \"{\") {\n                this._output.trim(true);\n              }\n              insideAtImport = false;\n              insideAtExtend = false;\n              if (insidePropertyValue) {\n                this.outdent();\n                insidePropertyValue = false;\n              }\n              this.print_string(this._ch);\n              insideRule = false;\n              if (this._nestedLevel) {\n                this._nestedLevel--;\n              }\n              this.eatWhitespace(true);\n              this._output.add_new_line();\n              if (this._options.newline_between_rules && !this._output.just_added_blankline()) {\n                if (this._input.peek() !== \"}\") {\n                  this._output.add_new_line(true);\n                }\n              }\n            } else if (this._ch === \":\") {\n              if ((insideRule || enteringConditionalGroup) && !(this._input.lookBack(\"&\") || this.foundNestedPseudoClass()) && !this._input.lookBack(\"(\") && !insideAtExtend && parenLevel === 0) {\n                this.print_string(\":\");\n                if (!insidePropertyValue) {\n                  insidePropertyValue = true;\n                  this._output.space_before_token = true;\n                  this.eatWhitespace(true);\n                  this.indent();\n                }\n              } else {\n                if (this._input.lookBack(\" \")) {\n                  this._output.space_before_token = true;\n                }\n                if (this._input.peek() === \":\") {\n                  this._ch = this._input.next();\n                  this.print_string(\"::\");\n                } else {\n                  this.print_string(\":\");\n                }\n              }\n            } else if (this._ch === '\"' || this._ch === \"'\") {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch + this.eatString(this._ch));\n              this.eatWhitespace(true);\n            } else if (this._ch === \";\") {\n              if (parenLevel === 0) {\n                if (insidePropertyValue) {\n                  this.outdent();\n                  insidePropertyValue = false;\n                }\n                insideAtExtend = false;\n                insideAtImport = false;\n                this.print_string(this._ch);\n                this.eatWhitespace(true);\n                if (this._input.peek() !== \"/\") {\n                  this._output.add_new_line();\n                }\n              } else {\n                this.print_string(this._ch);\n                this.eatWhitespace(true);\n                this._output.space_before_token = true;\n              }\n            } else if (this._ch === \"(\") {\n              if (this._input.lookBack(\"url\")) {\n                this.print_string(this._ch);\n                this.eatWhitespace();\n                parenLevel++;\n                this.indent();\n                this._ch = this._input.next();\n                if (this._ch === \")\" || this._ch === '\"' || this._ch === \"'\") {\n                  this._input.back();\n                } else if (this._ch) {\n                  this.print_string(this._ch + this.eatString(\")\"));\n                  if (parenLevel) {\n                    parenLevel--;\n                    this.outdent();\n                  }\n                }\n              } else {\n                this.preserveSingleSpace(isAfterSpace);\n                this.print_string(this._ch);\n                this.eatWhitespace();\n                parenLevel++;\n                this.indent();\n              }\n            } else if (this._ch === \")\") {\n              if (parenLevel) {\n                parenLevel--;\n                this.outdent();\n              }\n              this.print_string(this._ch);\n            } else if (this._ch === \",\") {\n              this.print_string(this._ch);\n              this.eatWhitespace(true);\n              if (this._options.selector_separator_newline && !insidePropertyValue && parenLevel === 0 && !insideAtImport && !insideAtExtend) {\n                this._output.add_new_line();\n              } else {\n                this._output.space_before_token = true;\n              }\n            } else if ((this._ch === \">\" || this._ch === \"+\" || this._ch === \"~\") && !insidePropertyValue && parenLevel === 0) {\n              if (this._options.space_around_combinator) {\n                this._output.space_before_token = true;\n                this.print_string(this._ch);\n                this._output.space_before_token = true;\n              } else {\n                this.print_string(this._ch);\n                this.eatWhitespace();\n                if (this._ch && whitespaceChar.test(this._ch)) {\n                  this._ch = \"\";\n                }\n              }\n            } else if (this._ch === \"]\") {\n              this.print_string(this._ch);\n            } else if (this._ch === \"[\") {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch);\n            } else if (this._ch === \"=\") {\n              this.eatWhitespace();\n              this.print_string(\"=\");\n              if (whitespaceChar.test(this._ch)) {\n                this._ch = \"\";\n              }\n            } else if (this._ch === \"!\" && !this._input.lookBack(\"\\\\\")) {\n              this.print_string(\" \");\n              this.print_string(this._ch);\n            } else {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch);\n            }\n          }\n          var sweetCode = this._output.get_code(eol);\n          return sweetCode;\n        };\n        module.exports.Beautifier = Beautifier;\n      },\n      /* 17 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var BaseOptions = __webpack_require__2(6).Options;\n        function Options(options) {\n          BaseOptions.call(this, options, \"css\");\n          this.selector_separator_newline = this._get_boolean(\"selector_separator_newline\", true);\n          this.newline_between_rules = this._get_boolean(\"newline_between_rules\", true);\n          var space_around_selector_separator = this._get_boolean(\"space_around_selector_separator\");\n          this.space_around_combinator = this._get_boolean(\"space_around_combinator\") || space_around_selector_separator;\n          var brace_style_split = this._get_selection_list(\"brace_style\", [\"collapse\", \"expand\", \"end-expand\", \"none\", \"preserve-inline\"]);\n          this.brace_style = \"collapse\";\n          for (var bs = 0; bs < brace_style_split.length; bs++) {\n            if (brace_style_split[bs] !== \"expand\") {\n              this.brace_style = \"collapse\";\n            } else {\n              this.brace_style = brace_style_split[bs];\n            }\n          }\n        }\n        Options.prototype = new BaseOptions();\n        module.exports.Options = Options;\n      }\n      /******/\n    ];\n    var __webpack_module_cache__ = {};\n    function __webpack_require__(moduleId) {\n      var cachedModule = __webpack_module_cache__[moduleId];\n      if (cachedModule !== void 0) {\n        return cachedModule.exports;\n      }\n      var module = __webpack_module_cache__[moduleId] = {\n        /******/\n        // no module.id needed\n        /******/\n        // no module.loaded needed\n        /******/\n        exports: {}\n        /******/\n      };\n      __webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n      return module.exports;\n    }\n    var __webpack_exports__ = __webpack_require__(15);\n    legacy_beautify_css = __webpack_exports__;\n  })();\n  var css_beautify = legacy_beautify_css;\n  function format2(document2, range, options) {\n    var value = document2.getText();\n    var includesEnd = true;\n    var initialIndentLevel = 0;\n    var inRule = false;\n    var tabSize = options.tabSize || 4;\n    if (range) {\n      var startOffset = document2.offsetAt(range.start);\n      var extendedStart = startOffset;\n      while (extendedStart > 0 && isWhitespace(value, extendedStart - 1)) {\n        extendedStart--;\n      }\n      if (extendedStart === 0 || isEOL(value, extendedStart - 1)) {\n        startOffset = extendedStart;\n      } else {\n        if (extendedStart < startOffset) {\n          startOffset = extendedStart + 1;\n        }\n      }\n      var endOffset = document2.offsetAt(range.end);\n      var extendedEnd = endOffset;\n      while (extendedEnd < value.length && isWhitespace(value, extendedEnd)) {\n        extendedEnd++;\n      }\n      if (extendedEnd === value.length || isEOL(value, extendedEnd)) {\n        endOffset = extendedEnd;\n      }\n      range = Range2.create(document2.positionAt(startOffset), document2.positionAt(endOffset));\n      inRule = isInRule(value, startOffset);\n      includesEnd = endOffset === value.length;\n      value = value.substring(startOffset, endOffset);\n      if (startOffset !== 0) {\n        var startOfLineOffset = document2.offsetAt(Position2.create(range.start.line, 0));\n        initialIndentLevel = computeIndentLevel(document2.getText(), startOfLineOffset, options);\n      }\n      if (inRule) {\n        value = \"{\\n\".concat(trimLeft(value));\n      }\n    } else {\n      range = Range2.create(Position2.create(0, 0), document2.positionAt(value.length));\n    }\n    var cssOptions = {\n      indent_size: tabSize,\n      indent_char: options.insertSpaces ? \" \" : \"\t\",\n      end_with_newline: includesEnd && getFormatOption(options, \"insertFinalNewline\", false),\n      selector_separator_newline: getFormatOption(options, \"newlineBetweenSelectors\", true),\n      newline_between_rules: getFormatOption(options, \"newlineBetweenRules\", true),\n      space_around_selector_separator: getFormatOption(options, \"spaceAroundSelectorSeparator\", false),\n      brace_style: getFormatOption(options, \"braceStyle\", \"collapse\"),\n      indent_empty_lines: getFormatOption(options, \"indentEmptyLines\", false),\n      max_preserve_newlines: getFormatOption(options, \"maxPreserveNewLines\", void 0),\n      preserve_newlines: getFormatOption(options, \"preserveNewLines\", true),\n      wrap_line_length: getFormatOption(options, \"wrapLineLength\", void 0),\n      eol: \"\\n\"\n    };\n    var result = css_beautify(value, cssOptions);\n    if (inRule) {\n      result = trimLeft(result.substring(2));\n    }\n    if (initialIndentLevel > 0) {\n      var indent = options.insertSpaces ? repeat(\" \", tabSize * initialIndentLevel) : repeat(\"\t\", initialIndentLevel);\n      result = result.split(\"\\n\").join(\"\\n\" + indent);\n      if (range.start.character === 0) {\n        result = indent + result;\n      }\n    }\n    return [{\n      range,\n      newText: result\n    }];\n  }\n  function trimLeft(str) {\n    return str.replace(/^\\s+/, \"\");\n  }\n  var _CUL3 = \"{\".charCodeAt(0);\n  var _CUR2 = \"}\".charCodeAt(0);\n  function isInRule(str, offset) {\n    while (offset >= 0) {\n      var ch = str.charCodeAt(offset);\n      if (ch === _CUL3) {\n        return true;\n      } else if (ch === _CUR2) {\n        return false;\n      }\n      offset--;\n    }\n    return false;\n  }\n  function getFormatOption(options, key, dflt) {\n    if (options && options.hasOwnProperty(key)) {\n      var value = options[key];\n      if (value !== null) {\n        return value;\n      }\n    }\n    return dflt;\n  }\n  function computeIndentLevel(content, offset, options) {\n    var i = offset;\n    var nChars = 0;\n    var tabSize = options.tabSize || 4;\n    while (i < content.length) {\n      var ch = content.charAt(i);\n      if (ch === \" \") {\n        nChars++;\n      } else if (ch === \"\t\") {\n        nChars += tabSize;\n      } else {\n        break;\n      }\n      i++;\n    }\n    return Math.floor(nChars / tabSize);\n  }\n  function isEOL(text, offset) {\n    return \"\\r\\n\".indexOf(text.charAt(offset)) !== -1;\n  }\n  function isWhitespace(text, offset) {\n    return \" \t\".indexOf(text.charAt(offset)) !== -1;\n  }\n  var cssData = {\n    \"version\": 1.1,\n    \"properties\": [\n      {\n        \"name\": \"additive-symbols\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"[ <integer> && <symbol> ]#\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.\",\n        \"restrictions\": [\n          \"integer\",\n          \"string\",\n          \"image\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"align-content\",\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Lines are packed toward the center of the flex container.\"\n          },\n          {\n            \"name\": \"flex-end\",\n            \"description\": \"Lines are packed toward the end of the flex container.\"\n          },\n          {\n            \"name\": \"flex-start\",\n            \"description\": \"Lines are packed toward the start of the flex container.\"\n          },\n          {\n            \"name\": \"space-around\",\n            \"description\": \"Lines are evenly distributed in the flex container, with half-size spaces on either end.\"\n          },\n          {\n            \"name\": \"space-between\",\n            \"description\": \"Lines are evenly distributed in the flex container.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"Lines stretch to take up the remaining space.\"\n          }\n        ],\n        \"syntax\": \"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>\",\n        \"relevance\": 62,\n        \"description\": \"Aligns a flex container\\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"align-items\",\n        \"values\": [\n          {\n            \"name\": \"baseline\",\n            \"description\": \"If the flex item\\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The flex item\\u2019s margin box is centered in the cross axis within the line.\"\n          },\n          {\n            \"name\": \"flex-end\",\n            \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n          },\n          {\n            \"name\": \"flex-start\",\n            \"description\": \"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n          }\n        ],\n        \"syntax\": \"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]\",\n        \"relevance\": 85,\n        \"description\": \"Aligns flex items along the cross axis of the current line of the flex container.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"justify-items\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"normal\"\n          },\n          {\n            \"name\": \"end\"\n          },\n          {\n            \"name\": \"start\"\n          },\n          {\n            \"name\": \"flex-end\",\n            \"description\": '\"Flex items are packed toward the end of the line.\"'\n          },\n          {\n            \"name\": \"flex-start\",\n            \"description\": '\"Flex items are packed toward the start of the line.\"'\n          },\n          {\n            \"name\": \"self-end\",\n            \"description\": \"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis.\"\n          },\n          {\n            \"name\": \"self-start\",\n            \"description\": \"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis..\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The items are packed flush to each other toward the center of the of the alignment container.\"\n          },\n          {\n            \"name\": \"left\"\n          },\n          {\n            \"name\": \"right\"\n          },\n          {\n            \"name\": \"baseline\"\n          },\n          {\n            \"name\": \"first baseline\"\n          },\n          {\n            \"name\": \"last baseline\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n          },\n          {\n            \"name\": \"save\"\n          },\n          {\n            \"name\": \"unsave\"\n          },\n          {\n            \"name\": \"legacy\"\n          }\n        ],\n        \"syntax\": \"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]\",\n        \"relevance\": 53,\n        \"description\": \"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"justify-self\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"normal\"\n          },\n          {\n            \"name\": \"end\"\n          },\n          {\n            \"name\": \"start\"\n          },\n          {\n            \"name\": \"flex-end\",\n            \"description\": '\"Flex items are packed toward the end of the line.\"'\n          },\n          {\n            \"name\": \"flex-start\",\n            \"description\": '\"Flex items are packed toward the start of the line.\"'\n          },\n          {\n            \"name\": \"self-end\",\n            \"description\": \"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis.\"\n          },\n          {\n            \"name\": \"self-start\",\n            \"description\": \"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis..\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The items are packed flush to each other toward the center of the of the alignment container.\"\n          },\n          {\n            \"name\": \"left\"\n          },\n          {\n            \"name\": \"right\"\n          },\n          {\n            \"name\": \"baseline\"\n          },\n          {\n            \"name\": \"first baseline\"\n          },\n          {\n            \"name\": \"last baseline\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n          },\n          {\n            \"name\": \"save\"\n          },\n          {\n            \"name\": \"unsave\"\n          }\n        ],\n        \"syntax\": \"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]\",\n        \"relevance\": 53,\n        \"description\": \"Defines the way of justifying a box inside its container along the appropriate axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"align-self\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Computes to the value of 'align-items' on the element\\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself.\"\n          },\n          {\n            \"name\": \"baseline\",\n            \"description\": \"If the flex item\\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The flex item\\u2019s margin box is centered in the cross axis within the line.\"\n          },\n          {\n            \"name\": \"flex-end\",\n            \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n          },\n          {\n            \"name\": \"flex-start\",\n            \"description\": \"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n          }\n        ],\n        \"syntax\": \"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>\",\n        \"relevance\": 72,\n        \"description\": \"Allows the default alignment along the cross axis to be overridden for individual flex items.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"all\",\n        \"browsers\": [\n          \"E79\",\n          \"FF27\",\n          \"S9.1\",\n          \"C37\",\n          \"O24\"\n        ],\n        \"values\": [],\n        \"syntax\": \"initial | inherit | unset | revert\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/all\"\n          }\n        ],\n        \"description\": \"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"alt\",\n        \"browsers\": [\n          \"S9\"\n        ],\n        \"values\": [],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/alt\"\n          }\n        ],\n        \"description\": \"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.\",\n        \"restrictions\": [\n          \"string\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"animation\",\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"syntax\": \"<single-animation>#\",\n        \"relevance\": 82,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation\"\n          }\n        ],\n        \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"timing-function\",\n          \"enum\",\n          \"identifier\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"animation-delay\",\n        \"syntax\": \"<time>#\",\n        \"relevance\": 64,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-delay\"\n          }\n        ],\n        \"description\": \"Defines when the animation will start.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"animation-direction\",\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"syntax\": \"<single-animation-direction>#\",\n        \"relevance\": 57,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-direction\"\n          }\n        ],\n        \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"animation-duration\",\n        \"syntax\": \"<time>#\",\n        \"relevance\": 68,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-duration\"\n          }\n        ],\n        \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"animation-fill-mode\",\n        \"values\": [\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes.\"\n          }\n        ],\n        \"syntax\": \"<single-animation-fill-mode>#\",\n        \"relevance\": 63,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode\"\n          }\n        ],\n        \"description\": \"Defines what values are applied by the animation outside the time it is executing.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"animation-iteration-count\",\n        \"values\": [\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          }\n        ],\n        \"syntax\": \"<single-animation-iteration-count>#\",\n        \"relevance\": 60,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count\"\n          }\n        ],\n        \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n        \"restrictions\": [\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"animation-name\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          }\n        ],\n        \"syntax\": \"[ none | <keyframes-name> ]#\",\n        \"relevance\": 68,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-name\"\n          }\n        ],\n        \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"animation-play-state\",\n        \"values\": [\n          {\n            \"name\": \"paused\",\n            \"description\": \"A running animation will be paused.\"\n          },\n          {\n            \"name\": \"running\",\n            \"description\": \"Resume playback of a paused animation.\"\n          }\n        ],\n        \"syntax\": \"<single-animation-play-state>#\",\n        \"relevance\": 54,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-play-state\"\n          }\n        ],\n        \"description\": \"Defines whether the animation is running or paused.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"animation-timing-function\",\n        \"syntax\": \"<easing-function>#\",\n        \"relevance\": 71,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function\"\n          }\n        ],\n        \"description\": \"Describes how the animation will progress over one cycle of its duration.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"backface-visibility\",\n        \"values\": [\n          {\n            \"name\": \"hidden\",\n            \"description\": \"Back side is hidden.\"\n          },\n          {\n            \"name\": \"visible\",\n            \"description\": \"Back side is visible.\"\n          }\n        ],\n        \"syntax\": \"visible | hidden\",\n        \"relevance\": 59,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/backface-visibility\"\n          }\n        ],\n        \"description\": \"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"background\",\n        \"values\": [\n          {\n            \"name\": \"fixed\",\n            \"description\": \"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page.\"\n          },\n          {\n            \"name\": \"local\",\n            \"description\": \"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"A value of 'none' counts as an image layer but draws nothing.\"\n          },\n          {\n            \"name\": \"scroll\",\n            \"description\": \"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)\"\n          }\n        ],\n        \"syntax\": \"[ <bg-layer> , ]* <final-bg-layer>\",\n        \"relevance\": 93,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting most background properties at the same place in the style sheet.\",\n        \"restrictions\": [\n          \"enum\",\n          \"image\",\n          \"color\",\n          \"position\",\n          \"length\",\n          \"repeat\",\n          \"percentage\",\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"background-attachment\",\n        \"values\": [\n          {\n            \"name\": \"fixed\",\n            \"description\": \"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page.\"\n          },\n          {\n            \"name\": \"local\",\n            \"description\": \"The background is fixed with regard to the element\\u2019s contents: if the element has a scrolling mechanism, the background scrolls with the element\\u2019s contents.\"\n          },\n          {\n            \"name\": \"scroll\",\n            \"description\": \"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element\\u2019s border.)\"\n          }\n        ],\n        \"syntax\": \"<attachment>#\",\n        \"relevance\": 54,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-attachment\"\n          }\n        ],\n        \"description\": \"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"background-blend-mode\",\n        \"browsers\": [\n          \"E79\",\n          \"FF30\",\n          \"S8\",\n          \"C35\",\n          \"O22\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"Default attribute which specifies no blending\"\n          },\n          {\n            \"name\": \"multiply\",\n            \"description\": \"The source color is multiplied by the destination color and replaces the destination.\"\n          },\n          {\n            \"name\": \"screen\",\n            \"description\": \"Multiplies the complements of the backdrop and source color values, then complements the result.\"\n          },\n          {\n            \"name\": \"overlay\",\n            \"description\": \"Multiplies or screens the colors, depending on the backdrop color value.\"\n          },\n          {\n            \"name\": \"darken\",\n            \"description\": \"Selects the darker of the backdrop and source colors.\"\n          },\n          {\n            \"name\": \"lighten\",\n            \"description\": \"Selects the lighter of the backdrop and source colors.\"\n          },\n          {\n            \"name\": \"color-dodge\",\n            \"description\": \"Brightens the backdrop color to reflect the source color.\"\n          },\n          {\n            \"name\": \"color-burn\",\n            \"description\": \"Darkens the backdrop color to reflect the source color.\"\n          },\n          {\n            \"name\": \"hard-light\",\n            \"description\": \"Multiplies or screens the colors, depending on the source color value.\"\n          },\n          {\n            \"name\": \"soft-light\",\n            \"description\": \"Darkens or lightens the colors, depending on the source color value.\"\n          },\n          {\n            \"name\": \"difference\",\n            \"description\": \"Subtracts the darker of the two constituent colors from the lighter color..\"\n          },\n          {\n            \"name\": \"exclusion\",\n            \"description\": \"Produces an effect similar to that of the Difference mode but lower in contrast.\"\n          },\n          {\n            \"name\": \"hue\",\n            \"browsers\": [\n              \"E79\",\n              \"FF30\",\n              \"S8\",\n              \"C35\",\n              \"O22\"\n            ],\n            \"description\": \"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.\"\n          },\n          {\n            \"name\": \"saturation\",\n            \"browsers\": [\n              \"E79\",\n              \"FF30\",\n              \"S8\",\n              \"C35\",\n              \"O22\"\n            ],\n            \"description\": \"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.\"\n          },\n          {\n            \"name\": \"color\",\n            \"browsers\": [\n              \"E79\",\n              \"FF30\",\n              \"S8\",\n              \"C35\",\n              \"O22\"\n            ],\n            \"description\": \"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.\"\n          },\n          {\n            \"name\": \"luminosity\",\n            \"browsers\": [\n              \"E79\",\n              \"FF30\",\n              \"S8\",\n              \"C35\",\n              \"O22\"\n            ],\n            \"description\": \"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.\"\n          }\n        ],\n        \"syntax\": \"<blend-mode>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode\"\n          }\n        ],\n        \"description\": \"Defines the blending mode of each background layer.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"background-clip\",\n        \"syntax\": \"<box>#\",\n        \"relevance\": 69,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-clip\"\n          }\n        ],\n        \"description\": \"Determines the background painting area.\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"background-color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 95,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-color\"\n          }\n        ],\n        \"description\": \"Sets the background color of an element.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"background-image\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Counts as an image layer but draws nothing.\"\n          }\n        ],\n        \"syntax\": \"<bg-image>#\",\n        \"relevance\": 89,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-image\"\n          }\n        ],\n        \"description\": \"Sets the background image(s) of an element.\",\n        \"restrictions\": [\n          \"image\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"background-origin\",\n        \"syntax\": \"<box>#\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-origin\"\n          }\n        ],\n        \"description\": \"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"background-position\",\n        \"syntax\": \"<bg-position>#\",\n        \"relevance\": 88,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-position\"\n          }\n        ],\n        \"description\": \"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"background-position-x\",\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.\"\n          }\n        ],\n        \"status\": \"experimental\",\n        \"syntax\": \"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#\",\n        \"relevance\": 54,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-position-x\"\n          }\n        ],\n        \"description\": \"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"background-position-y\",\n        \"values\": [\n          {\n            \"name\": \"bottom\",\n            \"description\": \"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is.\"\n          },\n          {\n            \"name\": \"top\",\n            \"description\": \"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.\"\n          }\n        ],\n        \"status\": \"experimental\",\n        \"syntax\": \"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-position-y\"\n          }\n        ],\n        \"description\": \"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"background-repeat\",\n        \"values\": [],\n        \"syntax\": \"<repeat-style>#\",\n        \"relevance\": 85,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-repeat\"\n          }\n        ],\n        \"description\": \"Specifies how background images are tiled after they have been sized and positioned.\",\n        \"restrictions\": [\n          \"repeat\"\n        ]\n      },\n      {\n        \"name\": \"background-size\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Resolved by using the image\\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\\u2019s intrinsic size, or failing that, treating it as 100%.\"\n          },\n          {\n            \"name\": \"contain\",\n            \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.\"\n          },\n          {\n            \"name\": \"cover\",\n            \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.\"\n          }\n        ],\n        \"syntax\": \"<bg-size>#\",\n        \"relevance\": 85,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-size\"\n          }\n        ],\n        \"description\": \"Specifies the size of the background images.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"behavior\",\n        \"browsers\": [\n          \"IE6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"IE only. Used to extend behaviors of the browser.\",\n        \"restrictions\": [\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"block-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Depends on the values of other properties.\"\n          }\n        ],\n        \"syntax\": \"<'width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/block-size\"\n          }\n        ],\n        \"description\": \"Size of an element in the direction opposite that of the direction specified by 'writing-mode'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border\",\n        \"syntax\": \"<line-width> || <line-style> || <color>\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting border width, style, and color.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-block-end\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end\"\n          }\n        ],\n        \"description\": \"Logical 'border-bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-block-start\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start\"\n          }\n        ],\n        \"description\": \"Logical 'border-top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-block-end-color\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-color'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color\"\n          }\n        ],\n        \"description\": \"Logical 'border-bottom-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-block-start-color\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-color'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color\"\n          }\n        ],\n        \"description\": \"Logical 'border-top-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-block-end-style\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-style'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style\"\n          }\n        ],\n        \"description\": \"Logical 'border-bottom-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-block-start-style\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-style'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style\"\n          }\n        ],\n        \"description\": \"Logical 'border-top-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-block-end-width\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width\"\n          }\n        ],\n        \"description\": \"Logical 'border-bottom-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-block-start-width\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width\"\n          }\n        ],\n        \"description\": \"Logical 'border-top-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-bottom\",\n        \"syntax\": \"<line-width> || <line-style> || <color>\",\n        \"relevance\": 89,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting border width, style and color.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-bottom-color\",\n        \"syntax\": \"<'border-top-color'>\",\n        \"relevance\": 72,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color\"\n          }\n        ],\n        \"description\": \"Sets the color of the bottom border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-bottom-left-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius\"\n          }\n        ],\n        \"description\": \"Defines the radii of the bottom left outer border edge.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border-bottom-right-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius\"\n          }\n        ],\n        \"description\": \"Defines the radii of the bottom right outer border edge.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border-bottom-style\",\n        \"syntax\": \"<line-style>\",\n        \"relevance\": 59,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style\"\n          }\n        ],\n        \"description\": \"Sets the style of the bottom border.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-bottom-width\",\n        \"syntax\": \"<line-width>\",\n        \"relevance\": 63,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width\"\n          }\n        ],\n        \"description\": \"Sets the thickness of the bottom border.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-collapse\",\n        \"values\": [\n          {\n            \"name\": \"collapse\",\n            \"description\": \"Selects the collapsing borders model.\"\n          },\n          {\n            \"name\": \"separate\",\n            \"description\": \"Selects the separated borders border model.\"\n          }\n        ],\n        \"syntax\": \"collapse | separate\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-collapse\"\n          }\n        ],\n        \"description\": \"Selects a table's border model.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"border-color\",\n        \"values\": [],\n        \"syntax\": \"<color>{1,4}\",\n        \"relevance\": 87,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-color\"\n          }\n        ],\n        \"description\": \"The color of the border around all four edges of an element.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-image\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"Causes the middle part of the border-image to be preserved.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Use the border styles.\"\n          },\n          {\n            \"name\": \"repeat\",\n            \"description\": \"The image is tiled (repeated) to fill the area.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n          },\n          {\n            \"name\": \"space\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The image is stretched to fill the area.\"\n          },\n          {\n            \"name\": \"url()\"\n          }\n        ],\n        \"syntax\": \"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"number\",\n          \"url\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"border-image-outset\",\n        \"syntax\": \"[ <length> | <number> ]{1,4}\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-outset\"\n          }\n        ],\n        \"description\": \"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.\",\n        \"restrictions\": [\n          \"length\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"border-image-repeat\",\n        \"values\": [\n          {\n            \"name\": \"repeat\",\n            \"description\": \"The image is tiled (repeated) to fill the area.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n          },\n          {\n            \"name\": \"space\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The image is stretched to fill the area.\"\n          }\n        ],\n        \"syntax\": \"[ stretch | repeat | round | space ]{1,2}\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat\"\n          }\n        ],\n        \"description\": \"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"border-image-slice\",\n        \"values\": [\n          {\n            \"name\": \"fill\",\n            \"description\": \"Causes the middle part of the border-image to be preserved.\"\n          }\n        ],\n        \"syntax\": \"<number-percentage>{1,4} && fill?\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-slice\"\n          }\n        ],\n        \"description\": \"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.\",\n        \"restrictions\": [\n          \"number\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border-image-source\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Use the border styles.\"\n          }\n        ],\n        \"syntax\": \"none | <image>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-source\"\n          }\n        ],\n        \"description\": \"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.\",\n        \"restrictions\": [\n          \"image\"\n        ]\n      },\n      {\n        \"name\": \"border-image-width\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n          }\n        ],\n        \"syntax\": \"[ <length-percentage> | <number> | auto ]{1,4}\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-width\"\n          }\n        ],\n        \"description\": \"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-end\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end\"\n          }\n        ],\n        \"description\": \"Logical 'border-right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-start\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start\"\n          }\n        ],\n        \"description\": \"Logical 'border-left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-end-color\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-color'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color\"\n          }\n        ],\n        \"description\": \"Logical 'border-right-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-start-color\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-color'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color\"\n          }\n        ],\n        \"description\": \"Logical 'border-left-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-end-style\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-style'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style\"\n          }\n        ],\n        \"description\": \"Logical 'border-right-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-start-style\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-style'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style\"\n          }\n        ],\n        \"description\": \"Logical 'border-left-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-end-width\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width\"\n          }\n        ],\n        \"description\": \"Logical 'border-right-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-inline-start-width\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'border-top-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width\"\n          }\n        ],\n        \"description\": \"Logical 'border-left-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-left\",\n        \"syntax\": \"<line-width> || <line-style> || <color>\",\n        \"relevance\": 83,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting border width, style and color\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-left-color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 65,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left-color\"\n          }\n        ],\n        \"description\": \"Sets the color of the left border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-left-style\",\n        \"syntax\": \"<line-style>\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left-style\"\n          }\n        ],\n        \"description\": \"Sets the style of the left border.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-left-width\",\n        \"syntax\": \"<line-width>\",\n        \"relevance\": 59,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left-width\"\n          }\n        ],\n        \"description\": \"Sets the thickness of the left border.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-radius\",\n        \"syntax\": \"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-radius\"\n          }\n        ],\n        \"description\": \"Defines the radii of the outer border edge.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border-right\",\n        \"syntax\": \"<line-width> || <line-style> || <color>\",\n        \"relevance\": 82,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting border width, style and color\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-right-color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 65,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right-color\"\n          }\n        ],\n        \"description\": \"Sets the color of the right border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-right-style\",\n        \"syntax\": \"<line-style>\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right-style\"\n          }\n        ],\n        \"description\": \"Sets the style of the right border.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-right-width\",\n        \"syntax\": \"<line-width>\",\n        \"relevance\": 59,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right-width\"\n          }\n        ],\n        \"description\": \"Sets the thickness of the right border.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-spacing\",\n        \"syntax\": \"<length> <length>?\",\n        \"relevance\": 68,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-spacing\"\n          }\n        ],\n        \"description\": \"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"border-style\",\n        \"values\": [],\n        \"syntax\": \"<line-style>{1,4}\",\n        \"relevance\": 81,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-style\"\n          }\n        ],\n        \"description\": \"The style of the border around edges of an element.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-top\",\n        \"syntax\": \"<line-width> || <line-style> || <color>\",\n        \"relevance\": 88,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting border width, style and color\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-top-color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 72,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-color\"\n          }\n        ],\n        \"description\": \"Sets the color of the top border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"border-top-left-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 76,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius\"\n          }\n        ],\n        \"description\": \"Defines the radii of the top left outer border edge.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border-top-right-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius\"\n          }\n        ],\n        \"description\": \"Defines the radii of the top right outer border edge.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"border-top-style\",\n        \"syntax\": \"<line-style>\",\n        \"relevance\": 57,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-style\"\n          }\n        ],\n        \"description\": \"Sets the style of the top border.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"border-top-width\",\n        \"syntax\": \"<line-width>\",\n        \"relevance\": 61,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-width\"\n          }\n        ],\n        \"description\": \"Sets the thickness of the top border.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"border-width\",\n        \"values\": [],\n        \"syntax\": \"<line-width>{1,4}\",\n        \"relevance\": 82,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-width\"\n          }\n        ],\n        \"description\": \"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"bottom\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/bottom\"\n          }\n        ],\n        \"description\": \"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"box-decoration-break\",\n        \"browsers\": [\n          \"E79\",\n          \"FF32\",\n          \"S7\",\n          \"C22\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"clone\",\n            \"description\": \"Each box is independently wrapped with the border and padding.\"\n          },\n          {\n            \"name\": \"slice\",\n            \"description\": \"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward.\"\n          }\n        ],\n        \"syntax\": \"slice | clone\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break\"\n          }\n        ],\n        \"description\": \"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"box-shadow\",\n        \"values\": [\n          {\n            \"name\": \"inset\",\n            \"description\": \"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it).\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No shadow.\"\n          }\n        ],\n        \"syntax\": \"none | <shadow>#\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-shadow\"\n          }\n        ],\n        \"description\": \"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.\",\n        \"restrictions\": [\n          \"length\",\n          \"color\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"box-sizing\",\n        \"values\": [\n          {\n            \"name\": \"border-box\",\n            \"description\": \"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"\n          },\n          {\n            \"name\": \"content-box\",\n            \"description\": \"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element.\"\n          }\n        ],\n        \"syntax\": \"content-box | border-box\",\n        \"relevance\": 93,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-sizing\"\n          }\n        ],\n        \"description\": \"Specifies the behavior of the 'width' and 'height' properties.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"break-after\",\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break before/after the principal box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a break before/after the principal box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break before/after the principal box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break before/after the principal box.\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"Always force a column break before/after the principal box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"page\",\n            \"description\": \"Always force a page break before/after the principal box.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"syntax\": \"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region\",\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column/region break behavior after the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"break-before\",\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break before/after the principal box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a break before/after the principal box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break before/after the principal box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break before/after the principal box.\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"Always force a column break before/after the principal box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"page\",\n            \"description\": \"Always force a page break before/after the principal box.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"syntax\": \"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region\",\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column/region break behavior before the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"break-inside\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Impose no additional breaking constraints within the box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid breaks within the box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break within the box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break within the box.\"\n          }\n        ],\n        \"syntax\": \"auto | avoid | avoid-page | avoid-column | avoid-region\",\n        \"relevance\": 51,\n        \"description\": \"Describes the page/column/region break behavior inside the principal box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"caption-side\",\n        \"values\": [\n          {\n            \"name\": \"bottom\",\n            \"description\": \"Positions the caption box below the table box.\"\n          },\n          {\n            \"name\": \"top\",\n            \"description\": \"Positions the caption box above the table box.\"\n          }\n        ],\n        \"syntax\": \"top | bottom | block-start | block-end | inline-start | inline-end\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/caption-side\"\n          }\n        ],\n        \"description\": \"Specifies the position of the caption box with respect to the table box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"caret-color\",\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S11.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors.\"\n          }\n        ],\n        \"syntax\": \"auto | <color>\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/caret-color\"\n          }\n        ],\n        \"description\": \"Controls the color of the text insertion indicator.\",\n        \"restrictions\": [\n          \"color\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"clear\",\n        \"values\": [\n          {\n            \"name\": \"both\",\n            \"description\": \"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No constraint on the box's position with respect to floats.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document.\"\n          }\n        ],\n        \"syntax\": \"none | left | right | both | inline-start | inline-end\",\n        \"relevance\": 85,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/clear\"\n          }\n        ],\n        \"description\": \"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"clip\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The element does not clip.\"\n          },\n          {\n            \"name\": \"rect()\",\n            \"description\": \"Specifies offsets from the edges of the border box.\"\n          }\n        ],\n        \"syntax\": \"<shape> | auto\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/clip\"\n          }\n        ],\n        \"description\": \"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element\\u2019s box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"clip-path\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No clipping path gets created.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"References a <clipPath> element to create a clipping path.\"\n          }\n        ],\n        \"syntax\": \"<clip-source> | [ <basic-shape> || <geometry-box> ] | none\",\n        \"relevance\": 62,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/clip-path\"\n          }\n        ],\n        \"description\": \"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.\",\n        \"restrictions\": [\n          \"url\",\n          \"shape\",\n          \"geometry-box\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"clip-rule\",\n        \"browsers\": [\n          \"E\",\n          \"C5\",\n          \"FF3\",\n          \"IE10\",\n          \"O9\",\n          \"S6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"evenodd\",\n            \"description\": \"Determines the \\u2018insideness\\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses.\"\n          },\n          {\n            \"name\": \"nonzero\",\n            \"description\": \"Determines the \\u2018insideness\\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 95,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/color\"\n          }\n        ],\n        \"description\": \"Sets the color of an element's text\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"color-interpolation-filters\",\n        \"browsers\": [\n          \"E\",\n          \"C5\",\n          \"FF3\",\n          \"IE10\",\n          \"O9\",\n          \"S6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Color operations are not required to occur in a particular color space.\"\n          },\n          {\n            \"name\": \"linearRGB\",\n            \"description\": \"Color operations should occur in the linearized RGB color space.\"\n          },\n          {\n            \"name\": \"sRGB\",\n            \"description\": \"Color operations should occur in the sRGB color space.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the color space for imaging operations performed via filter effects.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"column-count\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Determines the number of columns by the 'column-width' property and the element width.\"\n          }\n        ],\n        \"syntax\": \"<integer> | auto\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-count\"\n          }\n        ],\n        \"description\": \"Describes the optimal number of columns into which the content of the element will be flowed.\",\n        \"restrictions\": [\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"column-fill\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Fills columns sequentially.\"\n          },\n          {\n            \"name\": \"balance\",\n            \"description\": \"Balance content equally between columns, if possible.\"\n          }\n        ],\n        \"syntax\": \"auto | balance | balance-all\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-fill\"\n          }\n        ],\n        \"description\": \"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"column-gap\",\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"User agent specific and typically equivalent to 1em.\"\n          }\n        ],\n        \"syntax\": \"normal | <length-percentage>\",\n        \"relevance\": 54,\n        \"description\": \"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",\n        \"restrictions\": [\n          \"length\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"column-rule\",\n        \"syntax\": \"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule\"\n          }\n        ],\n        \"description\": \"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"column-rule-color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule-color\"\n          }\n        ],\n        \"description\": \"Sets the color of the column rule\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"column-rule-style\",\n        \"syntax\": \"<'border-style'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule-style\"\n          }\n        ],\n        \"description\": \"Sets the style of the rule between columns of an element.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"column-rule-width\",\n        \"syntax\": \"<'border-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule-width\"\n          }\n        ],\n        \"description\": \"Sets the width of the rule between columns. Negative values are not allowed.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"columns\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          }\n        ],\n        \"syntax\": \"<'column-width'> || <'column-count'>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/columns\"\n          }\n        ],\n        \"description\": \"A shorthand property which sets both 'column-width' and 'column-count'.\",\n        \"restrictions\": [\n          \"length\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"column-span\",\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The element does not span multiple columns.\"\n          }\n        ],\n        \"syntax\": \"none | all\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-span\"\n          }\n        ],\n        \"description\": \"Describes the page/column break behavior after the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"column-width\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          }\n        ],\n        \"syntax\": \"<length> | auto\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-width\"\n          }\n        ],\n        \"description\": \"Describes the width of columns in multicol elements.\",\n        \"restrictions\": [\n          \"length\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"contain\",\n        \"browsers\": [\n          \"E79\",\n          \"FF69\",\n          \"S15.4\",\n          \"C52\",\n          \"O40\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that the property has no effect.\"\n          },\n          {\n            \"name\": \"strict\",\n            \"description\": \"Turns on all forms of containment for the element.\"\n          },\n          {\n            \"name\": \"content\",\n            \"description\": \"All containment rules except size are applied to the element.\"\n          },\n          {\n            \"name\": \"size\",\n            \"description\": \"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element.\"\n          },\n          {\n            \"name\": \"layout\",\n            \"description\": \"Turns on layout containment for the element.\"\n          },\n          {\n            \"name\": \"style\",\n            \"description\": \"Turns on style containment for the element.\"\n          },\n          {\n            \"name\": \"paint\",\n            \"description\": \"Turns on paint containment for the element.\"\n          }\n        ],\n        \"syntax\": \"none | strict | content | [ size || layout || style || paint ]\",\n        \"relevance\": 59,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/contain\"\n          }\n        ],\n        \"description\": \"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"content\",\n        \"values\": [\n          {\n            \"name\": \"attr()\",\n            \"description\": \"The attr(n) function returns as a string the value of attribute n for the subject of the selector.\"\n          },\n          {\n            \"name\": \"counter(name)\",\n            \"description\": \"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties).\"\n          },\n          {\n            \"name\": \"icon\",\n            \"description\": \"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"See http://www.w3.org/TR/css3-content/#content for computation rules.\"\n          },\n          {\n            \"name\": \"url()\"\n          }\n        ],\n        \"syntax\": \"normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/content\"\n          }\n        ],\n        \"description\": \"Determines which page-based occurrence of a given element is applied to a counter or string value.\",\n        \"restrictions\": [\n          \"string\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"counter-increment\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"This element does not alter the value of any counters.\"\n          }\n        ],\n        \"syntax\": \"[ <counter-name> <integer>? ]+ | none\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/counter-increment\"\n          }\n        ],\n        \"description\": \"Manipulate the value of existing counters.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"counter-reset\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The counter is not modified.\"\n          }\n        ],\n        \"syntax\": \"[ <counter-name> <integer>? | <reversed-counter-name> <integer>? ]+ | none\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/counter-reset\"\n          }\n        ],\n        \"description\": \"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"cursor\",\n        \"values\": [\n          {\n            \"name\": \"alias\",\n            \"description\": \"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it.\"\n          },\n          {\n            \"name\": \"all-scroll\",\n            \"description\": \"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"The UA determines the cursor to display based on the current context.\"\n          },\n          {\n            \"name\": \"cell\",\n            \"description\": \"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle.\"\n          },\n          {\n            \"name\": \"col-resize\",\n            \"description\": \"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them.\"\n          },\n          {\n            \"name\": \"context-menu\",\n            \"description\": \"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it.\"\n          },\n          {\n            \"name\": \"copy\",\n            \"description\": \"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it.\"\n          },\n          {\n            \"name\": \"crosshair\",\n            \"description\": \"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode.\"\n          },\n          {\n            \"name\": \"default\",\n            \"description\": \"The platform-dependent default cursor. Often rendered as an arrow.\"\n          },\n          {\n            \"name\": \"e-resize\",\n            \"description\": \"Indicates that east edge is to be moved.\"\n          },\n          {\n            \"name\": \"ew-resize\",\n            \"description\": \"Indicates a bidirectional east-west resize cursor.\"\n          },\n          {\n            \"name\": \"grab\",\n            \"description\": \"Indicates that something can be grabbed.\"\n          },\n          {\n            \"name\": \"grabbing\",\n            \"description\": \"Indicates that something is being grabbed.\"\n          },\n          {\n            \"name\": \"help\",\n            \"description\": \"Help is available for the object under the cursor. Often rendered as a question mark or a balloon.\"\n          },\n          {\n            \"name\": \"move\",\n            \"description\": \"Indicates something is to be moved.\"\n          },\n          {\n            \"name\": \"-moz-grab\",\n            \"description\": \"Indicates that something can be grabbed.\"\n          },\n          {\n            \"name\": \"-moz-grabbing\",\n            \"description\": \"Indicates that something is being grabbed.\"\n          },\n          {\n            \"name\": \"-moz-zoom-in\",\n            \"description\": \"Indicates that something can be zoomed (magnified) in.\"\n          },\n          {\n            \"name\": \"-moz-zoom-out\",\n            \"description\": \"Indicates that something can be zoomed (magnified) out.\"\n          },\n          {\n            \"name\": \"ne-resize\",\n            \"description\": \"Indicates that movement starts from north-east corner.\"\n          },\n          {\n            \"name\": \"nesw-resize\",\n            \"description\": \"Indicates a bidirectional north-east/south-west cursor.\"\n          },\n          {\n            \"name\": \"no-drop\",\n            \"description\": \"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No cursor is rendered for the element.\"\n          },\n          {\n            \"name\": \"not-allowed\",\n            \"description\": \"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it.\"\n          },\n          {\n            \"name\": \"n-resize\",\n            \"description\": \"Indicates that north edge is to be moved.\"\n          },\n          {\n            \"name\": \"ns-resize\",\n            \"description\": \"Indicates a bidirectional north-south cursor.\"\n          },\n          {\n            \"name\": \"nw-resize\",\n            \"description\": \"Indicates that movement starts from north-west corner.\"\n          },\n          {\n            \"name\": \"nwse-resize\",\n            \"description\": \"Indicates a bidirectional north-west/south-east cursor.\"\n          },\n          {\n            \"name\": \"pointer\",\n            \"description\": \"The cursor is a pointer that indicates a link.\"\n          },\n          {\n            \"name\": \"progress\",\n            \"description\": \"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.\"\n          },\n          {\n            \"name\": \"row-resize\",\n            \"description\": \"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.\"\n          },\n          {\n            \"name\": \"se-resize\",\n            \"description\": \"Indicates that movement starts from south-east corner.\"\n          },\n          {\n            \"name\": \"s-resize\",\n            \"description\": \"Indicates that south edge is to be moved.\"\n          },\n          {\n            \"name\": \"sw-resize\",\n            \"description\": \"Indicates that movement starts from south-west corner.\"\n          },\n          {\n            \"name\": \"text\",\n            \"description\": \"Indicates text that may be selected. Often rendered as a vertical I-beam.\"\n          },\n          {\n            \"name\": \"vertical-text\",\n            \"description\": \"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.\"\n          },\n          {\n            \"name\": \"wait\",\n            \"description\": \"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.\"\n          },\n          {\n            \"name\": \"-webkit-grab\",\n            \"description\": \"Indicates that something can be grabbed.\"\n          },\n          {\n            \"name\": \"-webkit-grabbing\",\n            \"description\": \"Indicates that something is being grabbed.\"\n          },\n          {\n            \"name\": \"-webkit-zoom-in\",\n            \"description\": \"Indicates that something can be zoomed (magnified) in.\"\n          },\n          {\n            \"name\": \"-webkit-zoom-out\",\n            \"description\": \"Indicates that something can be zoomed (magnified) out.\"\n          },\n          {\n            \"name\": \"w-resize\",\n            \"description\": \"Indicates that west edge is to be moved.\"\n          },\n          {\n            \"name\": \"zoom-in\",\n            \"description\": \"Indicates that something can be zoomed (magnified) in.\"\n          },\n          {\n            \"name\": \"zoom-out\",\n            \"description\": \"Indicates that something can be zoomed (magnified) out.\"\n          }\n        ],\n        \"syntax\": \"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/cursor\"\n          }\n        ],\n        \"description\": \"Allows control over cursor appearance in an element\",\n        \"restrictions\": [\n          \"url\",\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"direction\",\n        \"values\": [\n          {\n            \"name\": \"ltr\",\n            \"description\": \"Left-to-right direction.\"\n          },\n          {\n            \"name\": \"rtl\",\n            \"description\": \"Right-to-left direction.\"\n          }\n        ],\n        \"syntax\": \"ltr | rtl\",\n        \"relevance\": 69,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/direction\"\n          }\n        ],\n        \"description\": \"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"display\",\n        \"values\": [\n          {\n            \"name\": \"block\",\n            \"description\": \"The element generates a block-level box\"\n          },\n          {\n            \"name\": \"contents\",\n            \"description\": \"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal.\"\n          },\n          {\n            \"name\": \"flex\",\n            \"description\": \"The element generates a principal flex container box and establishes a flex formatting context.\"\n          },\n          {\n            \"name\": \"flexbox\",\n            \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n          },\n          {\n            \"name\": \"flow-root\",\n            \"description\": \"The element generates a block container box, and lays out its contents using flow layout.\"\n          },\n          {\n            \"name\": \"grid\",\n            \"description\": \"The element generates a principal grid container box, and establishes a grid formatting context.\"\n          },\n          {\n            \"name\": \"inline\",\n            \"description\": \"The element generates an inline-level box.\"\n          },\n          {\n            \"name\": \"inline-block\",\n            \"description\": \"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box.\"\n          },\n          {\n            \"name\": \"inline-flex\",\n            \"description\": \"Inline-level flex container.\"\n          },\n          {\n            \"name\": \"inline-flexbox\",\n            \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n          },\n          {\n            \"name\": \"inline-table\",\n            \"description\": \"Inline-level table wrapper box containing table box.\"\n          },\n          {\n            \"name\": \"list-item\",\n            \"description\": \"One or more block boxes and one marker box.\"\n          },\n          {\n            \"name\": \"-moz-box\",\n            \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n          },\n          {\n            \"name\": \"-moz-deck\"\n          },\n          {\n            \"name\": \"-moz-grid\"\n          },\n          {\n            \"name\": \"-moz-grid-group\"\n          },\n          {\n            \"name\": \"-moz-grid-line\"\n          },\n          {\n            \"name\": \"-moz-groupbox\"\n          },\n          {\n            \"name\": \"-moz-inline-box\",\n            \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n          },\n          {\n            \"name\": \"-moz-inline-grid\"\n          },\n          {\n            \"name\": \"-moz-inline-stack\"\n          },\n          {\n            \"name\": \"-moz-marker\"\n          },\n          {\n            \"name\": \"-moz-popup\"\n          },\n          {\n            \"name\": \"-moz-stack\"\n          },\n          {\n            \"name\": \"-ms-flexbox\",\n            \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n          },\n          {\n            \"name\": \"-ms-grid\",\n            \"description\": \"The element generates a principal grid container box, and establishes a grid formatting context.\"\n          },\n          {\n            \"name\": \"-ms-inline-flexbox\",\n            \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n          },\n          {\n            \"name\": \"-ms-inline-grid\",\n            \"description\": \"Inline-level grid container.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The element and its descendants generates no boxes.\"\n          },\n          {\n            \"name\": \"ruby\",\n            \"description\": \"The element generates a principal ruby container box, and establishes a ruby formatting context.\"\n          },\n          {\n            \"name\": \"ruby-base\"\n          },\n          {\n            \"name\": \"ruby-base-container\"\n          },\n          {\n            \"name\": \"ruby-text\"\n          },\n          {\n            \"name\": \"ruby-text-container\"\n          },\n          {\n            \"name\": \"run-in\",\n            \"description\": \"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements.\"\n          },\n          {\n            \"name\": \"table\",\n            \"description\": \"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context.\"\n          },\n          {\n            \"name\": \"table-caption\"\n          },\n          {\n            \"name\": \"table-cell\"\n          },\n          {\n            \"name\": \"table-column\"\n          },\n          {\n            \"name\": \"table-column-group\"\n          },\n          {\n            \"name\": \"table-footer-group\"\n          },\n          {\n            \"name\": \"table-header-group\"\n          },\n          {\n            \"name\": \"table-row\"\n          },\n          {\n            \"name\": \"table-row-group\"\n          },\n          {\n            \"name\": \"-webkit-box\",\n            \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n          },\n          {\n            \"name\": \"-webkit-flex\",\n            \"description\": \"The element lays out its contents using flow layout (block-and-inline layout).\"\n          },\n          {\n            \"name\": \"-webkit-inline-box\",\n            \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n          },\n          {\n            \"name\": \"-webkit-inline-flex\",\n            \"description\": \"Inline-level flex container.\"\n          }\n        ],\n        \"syntax\": \"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/display\"\n          }\n        ],\n        \"description\": \"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"empty-cells\",\n        \"values\": [\n          {\n            \"name\": \"hide\",\n            \"description\": \"No borders or backgrounds are drawn around/behind empty cells.\"\n          },\n          {\n            \"name\": \"-moz-show-background\"\n          },\n          {\n            \"name\": \"show\",\n            \"description\": \"Borders and backgrounds are drawn around/behind empty cells (like normal cells).\"\n          }\n        ],\n        \"syntax\": \"show | hide\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/empty-cells\"\n          }\n        ],\n        \"description\": \"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"enable-background\",\n        \"values\": [\n          {\n            \"name\": \"accumulate\",\n            \"description\": \"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target.\"\n          },\n          {\n            \"name\": \"new\",\n            \"description\": \"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.\",\n        \"restrictions\": [\n          \"integer\",\n          \"length\",\n          \"percentage\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"fallback\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"<counter-style-name>\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can\\u2019t create a representation for a given counter value.\",\n        \"restrictions\": [\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"fill\",\n        \"values\": [\n          {\n            \"name\": \"url()\",\n            \"description\": \"A URL reference to a paint server element, which is an element that defines a paint server: \\u2018hatch\\u2019, \\u2018linearGradient\\u2019, \\u2018mesh\\u2019, \\u2018pattern\\u2019, \\u2018radialGradient\\u2019 and \\u2018solidcolor\\u2019.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No paint is applied in this layer.\"\n          }\n        ],\n        \"relevance\": 77,\n        \"description\": \"Paints the interior of the given graphical element.\",\n        \"restrictions\": [\n          \"color\",\n          \"enum\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"fill-opacity\",\n        \"relevance\": 52,\n        \"description\": \"Specifies the opacity of the painting operation used to paint the interior the current object.\",\n        \"restrictions\": [\n          \"number(0-1)\"\n        ]\n      },\n      {\n        \"name\": \"fill-rule\",\n        \"values\": [\n          {\n            \"name\": \"evenodd\",\n            \"description\": \"Determines the \\u2018insideness\\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses.\"\n          },\n          {\n            \"name\": \"nonzero\",\n            \"description\": \"Determines the \\u2018insideness\\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"filter\",\n        \"browsers\": [\n          \"E12\",\n          \"FF35\",\n          \"S9.1\",\n          \"C53\",\n          \"O40\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No filter effects are applied.\"\n          },\n          {\n            \"name\": \"blur()\",\n            \"description\": \"Applies a Gaussian blur to the input image.\"\n          },\n          {\n            \"name\": \"brightness()\",\n            \"description\": \"Applies a linear multiplier to input image, making it appear more or less bright.\"\n          },\n          {\n            \"name\": \"contrast()\",\n            \"description\": \"Adjusts the contrast of the input.\"\n          },\n          {\n            \"name\": \"drop-shadow()\",\n            \"description\": \"Applies a drop shadow effect to the input image.\"\n          },\n          {\n            \"name\": \"grayscale()\",\n            \"description\": \"Converts the input image to grayscale.\"\n          },\n          {\n            \"name\": \"hue-rotate()\",\n            \"description\": \"Applies a hue rotation on the input image. \"\n          },\n          {\n            \"name\": \"invert()\",\n            \"description\": \"Inverts the samples in the input image.\"\n          },\n          {\n            \"name\": \"opacity()\",\n            \"description\": \"Applies transparency to the samples in the input image.\"\n          },\n          {\n            \"name\": \"saturate()\",\n            \"description\": \"Saturates the input image.\"\n          },\n          {\n            \"name\": \"sepia()\",\n            \"description\": \"Converts the input image to sepia.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"browsers\": [\n              \"E12\",\n              \"FF35\",\n              \"S9.1\",\n              \"C53\",\n              \"O40\"\n            ],\n            \"description\": \"A filter reference to a <filter> element.\"\n          }\n        ],\n        \"syntax\": \"none | <filter-function-list>\",\n        \"relevance\": 66,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/filter\"\n          }\n        ],\n        \"description\": \"Processes an element\\u2019s rendering before it is displayed in the document, by applying one or more filter effects.\",\n        \"restrictions\": [\n          \"enum\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"flex\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Retrieves the value of the main size property as the used 'flex-basis'.\"\n          },\n          {\n            \"name\": \"content\",\n            \"description\": \"Indicates automatic sizing, based on the flex item\\u2019s content.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Expands to '0 0 auto'.\"\n          }\n        ],\n        \"syntax\": \"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]\",\n        \"relevance\": 80,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex\"\n          }\n        ],\n        \"description\": \"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.\",\n        \"restrictions\": [\n          \"length\",\n          \"number\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"flex-basis\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Retrieves the value of the main size property as the used 'flex-basis'.\"\n          },\n          {\n            \"name\": \"content\",\n            \"description\": \"Indicates automatic sizing, based on the flex item\\u2019s content.\"\n          }\n        ],\n        \"syntax\": \"content | <'width'>\",\n        \"relevance\": 65,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-basis\"\n          }\n        ],\n        \"description\": \"Sets the flex basis.\",\n        \"restrictions\": [\n          \"length\",\n          \"number\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"flex-direction\",\n        \"values\": [\n          {\n            \"name\": \"column\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"column-reverse\",\n            \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n          },\n          {\n            \"name\": \"row\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"row-reverse\",\n            \"description\": \"Same as 'row', except the main-start and main-end directions are swapped.\"\n          }\n        ],\n        \"syntax\": \"row | row-reverse | column | column-reverse\",\n        \"relevance\": 83,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-direction\"\n          }\n        ],\n        \"description\": \"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\\u2019s main axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"flex-flow\",\n        \"values\": [\n          {\n            \"name\": \"column\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"column-reverse\",\n            \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n          },\n          {\n            \"name\": \"nowrap\",\n            \"description\": \"The flex container is single-line.\"\n          },\n          {\n            \"name\": \"row\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"row-reverse\",\n            \"description\": \"Same as 'row', except the main-start and main-end directions are swapped.\"\n          },\n          {\n            \"name\": \"wrap\",\n            \"description\": \"The flexbox is multi-line.\"\n          },\n          {\n            \"name\": \"wrap-reverse\",\n            \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n          }\n        ],\n        \"syntax\": \"<'flex-direction'> || <'flex-wrap'>\",\n        \"relevance\": 61,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-flow\"\n          }\n        ],\n        \"description\": \"Specifies how flexbox items are placed in the flexbox.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"flex-grow\",\n        \"syntax\": \"<number>\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-grow\"\n          }\n        ],\n        \"description\": \"Sets the flex grow factor. Negative numbers are invalid.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"flex-shrink\",\n        \"syntax\": \"<number>\",\n        \"relevance\": 74,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-shrink\"\n          }\n        ],\n        \"description\": \"Sets the flex shrink factor. Negative numbers are invalid.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"flex-wrap\",\n        \"values\": [\n          {\n            \"name\": \"nowrap\",\n            \"description\": \"The flex container is single-line.\"\n          },\n          {\n            \"name\": \"wrap\",\n            \"description\": \"The flexbox is multi-line.\"\n          },\n          {\n            \"name\": \"wrap-reverse\",\n            \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n          }\n        ],\n        \"syntax\": \"nowrap | wrap | wrap-reverse\",\n        \"relevance\": 79,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-wrap\"\n          }\n        ],\n        \"description\": \"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"float\",\n        \"values\": [\n          {\n            \"name\": \"inline-end\",\n            \"description\": \"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts.\"\n          },\n          {\n            \"name\": \"inline-start\",\n            \"description\": \"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property).\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The box is not floated.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top.\"\n          }\n        ],\n        \"syntax\": \"left | right | none | inline-start | inline-end\",\n        \"relevance\": 91,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/float\"\n          }\n        ],\n        \"description\": \"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"flood-color\",\n        \"browsers\": [\n          \"E\",\n          \"C5\",\n          \"FF3\",\n          \"IE10\",\n          \"O9\",\n          \"S6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates what color to use to flood the current filter primitive subregion.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"flood-opacity\",\n        \"browsers\": [\n          \"E\",\n          \"C5\",\n          \"FF3\",\n          \"IE10\",\n          \"O9\",\n          \"S6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates what opacity to use to flood the current filter primitive subregion.\",\n        \"restrictions\": [\n          \"number(0-1)\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"font\",\n        \"values\": [\n          {\n            \"name\": \"100\",\n            \"description\": \"Thin\"\n          },\n          {\n            \"name\": \"200\",\n            \"description\": \"Extra Light (Ultra Light)\"\n          },\n          {\n            \"name\": \"300\",\n            \"description\": \"Light\"\n          },\n          {\n            \"name\": \"400\",\n            \"description\": \"Normal\"\n          },\n          {\n            \"name\": \"500\",\n            \"description\": \"Medium\"\n          },\n          {\n            \"name\": \"600\",\n            \"description\": \"Semi Bold (Demi Bold)\"\n          },\n          {\n            \"name\": \"700\",\n            \"description\": \"Bold\"\n          },\n          {\n            \"name\": \"800\",\n            \"description\": \"Extra Bold (Ultra Bold)\"\n          },\n          {\n            \"name\": \"900\",\n            \"description\": \"Black (Heavy)\"\n          },\n          {\n            \"name\": \"bold\",\n            \"description\": \"Same as 700\"\n          },\n          {\n            \"name\": \"bolder\",\n            \"description\": \"Specifies the weight of the face bolder than the inherited value.\"\n          },\n          {\n            \"name\": \"caption\",\n            \"description\": \"The font used for captioned controls (e.g., buttons, drop-downs, etc.).\"\n          },\n          {\n            \"name\": \"icon\",\n            \"description\": \"The font used to label icons.\"\n          },\n          {\n            \"name\": \"italic\",\n            \"description\": \"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'.\"\n          },\n          {\n            \"name\": \"large\"\n          },\n          {\n            \"name\": \"larger\"\n          },\n          {\n            \"name\": \"lighter\",\n            \"description\": \"Specifies the weight of the face lighter than the inherited value.\"\n          },\n          {\n            \"name\": \"medium\"\n          },\n          {\n            \"name\": \"menu\",\n            \"description\": \"The font used in menus (e.g., dropdown menus and menu lists).\"\n          },\n          {\n            \"name\": \"message-box\",\n            \"description\": \"The font used in dialog boxes.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Specifies a face that is not labeled as a small-caps font.\"\n          },\n          {\n            \"name\": \"oblique\",\n            \"description\": \"Selects a font that is labeled 'oblique'.\"\n          },\n          {\n            \"name\": \"small\"\n          },\n          {\n            \"name\": \"small-caps\",\n            \"description\": \"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font.\"\n          },\n          {\n            \"name\": \"small-caption\",\n            \"description\": \"The font used for labeling small controls.\"\n          },\n          {\n            \"name\": \"smaller\"\n          },\n          {\n            \"name\": \"status-bar\",\n            \"description\": \"The font used in window status bars.\"\n          },\n          {\n            \"name\": \"x-large\"\n          },\n          {\n            \"name\": \"x-small\"\n          },\n          {\n            \"name\": \"xx-large\"\n          },\n          {\n            \"name\": \"xx-small\"\n          }\n        ],\n        \"syntax\": \"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar\",\n        \"relevance\": 84,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font\"\n          }\n        ],\n        \"description\": \"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.\",\n        \"restrictions\": [\n          \"font\"\n        ]\n      },\n      {\n        \"name\": \"font-family\",\n        \"values\": [\n          {\n            \"name\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif\"\n          },\n          {\n            \"name\": \"Arial, Helvetica, sans-serif\"\n          },\n          {\n            \"name\": \"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif\"\n          },\n          {\n            \"name\": \"'Courier New', Courier, monospace\"\n          },\n          {\n            \"name\": \"cursive\"\n          },\n          {\n            \"name\": \"fantasy\"\n          },\n          {\n            \"name\": \"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif\"\n          },\n          {\n            \"name\": \"Georgia, 'Times New Roman', Times, serif\"\n          },\n          {\n            \"name\": \"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif\"\n          },\n          {\n            \"name\": \"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif\"\n          },\n          {\n            \"name\": \"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif\"\n          },\n          {\n            \"name\": \"monospace\"\n          },\n          {\n            \"name\": \"sans-serif\"\n          },\n          {\n            \"name\": \"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif\"\n          },\n          {\n            \"name\": \"serif\"\n          },\n          {\n            \"name\": \"'Times New Roman', Times, serif\"\n          },\n          {\n            \"name\": \"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif\"\n          },\n          {\n            \"name\": \"Verdana, Geneva, Tahoma, sans-serif\"\n          }\n        ],\n        \"syntax\": \"<family-name>\",\n        \"relevance\": 94,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-family\"\n          }\n        ],\n        \"description\": \"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.\",\n        \"restrictions\": [\n          \"font\"\n        ]\n      },\n      {\n        \"name\": \"font-feature-settings\",\n        \"values\": [\n          {\n            \"name\": '\"aalt\"',\n            \"description\": \"Access All Alternates.\"\n          },\n          {\n            \"name\": '\"abvf\"',\n            \"description\": \"Above-base Forms. Required in Khmer script.\"\n          },\n          {\n            \"name\": '\"abvm\"',\n            \"description\": \"Above-base Mark Positioning. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"abvs\"',\n            \"description\": \"Above-base Substitutions. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"afrc\"',\n            \"description\": \"Alternative Fractions.\"\n          },\n          {\n            \"name\": '\"akhn\"',\n            \"description\": \"Akhand. Required in most Indic scripts.\"\n          },\n          {\n            \"name\": '\"blwf\"',\n            \"description\": \"Below-base Form. Required in a number of Indic scripts.\"\n          },\n          {\n            \"name\": '\"blwm\"',\n            \"description\": \"Below-base Mark Positioning. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"blws\"',\n            \"description\": \"Below-base Substitutions. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"calt\"',\n            \"description\": \"Contextual Alternates.\"\n          },\n          {\n            \"name\": '\"case\"',\n            \"description\": \"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting.\"\n          },\n          {\n            \"name\": '\"ccmp\"',\n            \"description\": \"Glyph Composition/Decomposition.\"\n          },\n          {\n            \"name\": '\"cfar\"',\n            \"description\": \"Conjunct Form After Ro. Required in Khmer scripts.\"\n          },\n          {\n            \"name\": '\"cjct\"',\n            \"description\": \"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari.\"\n          },\n          {\n            \"name\": '\"clig\"',\n            \"description\": \"Contextual Ligatures.\"\n          },\n          {\n            \"name\": '\"cpct\"',\n            \"description\": \"Centered CJK Punctuation. Used primarily in Chinese fonts.\"\n          },\n          {\n            \"name\": '\"cpsp\"',\n            \"description\": \"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic).\"\n          },\n          {\n            \"name\": '\"cswh\"',\n            \"description\": \"Contextual Swash.\"\n          },\n          {\n            \"name\": '\"curs\"',\n            \"description\": \"Cursive Positioning. Can be used in any cursive script.\"\n          },\n          {\n            \"name\": '\"c2pc\"',\n            \"description\": \"Petite Capitals From Capitals. Applies only to bicameral scripts.\"\n          },\n          {\n            \"name\": '\"c2sc\"',\n            \"description\": \"Small Capitals From Capitals. Applies only to bicameral scripts.\"\n          },\n          {\n            \"name\": '\"dist\"',\n            \"description\": \"Distances. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"dlig\"',\n            \"description\": \"Discretionary ligatures.\"\n          },\n          {\n            \"name\": '\"dnom\"',\n            \"description\": \"Denominators.\"\n          },\n          {\n            \"name\": '\"dtls\"',\n            \"description\": \"Dotless Forms. Applied to math formula layout.\"\n          },\n          {\n            \"name\": '\"expt\"',\n            \"description\": \"Expert Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"falt\"',\n            \"description\": \"Final Glyph on Line Alternates. Can be used in any cursive script.\"\n          },\n          {\n            \"name\": '\"fin2\"',\n            \"description\": \"Terminal Form #2. Used only with the Syriac script.\"\n          },\n          {\n            \"name\": '\"fin3\"',\n            \"description\": \"Terminal Form #3. Used only with the Syriac script.\"\n          },\n          {\n            \"name\": '\"fina\"',\n            \"description\": \"Terminal Forms. Can be used in any alphabetic script.\"\n          },\n          {\n            \"name\": '\"flac\"',\n            \"description\": \"Flattened ascent forms. Applied to math formula layout.\"\n          },\n          {\n            \"name\": '\"frac\"',\n            \"description\": \"Fractions.\"\n          },\n          {\n            \"name\": '\"fwid\"',\n            \"description\": \"Full Widths. Applies to any script which can use monospaced forms.\"\n          },\n          {\n            \"name\": '\"half\"',\n            \"description\": \"Half Forms. Required in Indic scripts that show similarity to Devanagari.\"\n          },\n          {\n            \"name\": '\"haln\"',\n            \"description\": \"Halant Forms. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"halt\"',\n            \"description\": \"Alternate Half Widths. Used only in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"hist\"',\n            \"description\": \"Historical Forms.\"\n          },\n          {\n            \"name\": '\"hkna\"',\n            \"description\": \"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana).\"\n          },\n          {\n            \"name\": '\"hlig\"',\n            \"description\": \"Historical Ligatures.\"\n          },\n          {\n            \"name\": '\"hngl\"',\n            \"description\": \"Hangul. Korean only.\"\n          },\n          {\n            \"name\": '\"hojo\"',\n            \"description\": \"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script.\"\n          },\n          {\n            \"name\": '\"hwid\"',\n            \"description\": \"Half Widths. Generally used only in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"init\"',\n            \"description\": \"Initial Forms. Can be used in any alphabetic script.\"\n          },\n          {\n            \"name\": '\"isol\"',\n            \"description\": \"Isolated Forms. Can be used in any cursive script.\"\n          },\n          {\n            \"name\": '\"ital\"',\n            \"description\": \"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well.\"\n          },\n          {\n            \"name\": '\"jalt\"',\n            \"description\": \"Justification Alternates. Can be used in any cursive script.\"\n          },\n          {\n            \"name\": '\"jp78\"',\n            \"description\": \"JIS78 Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"jp83\"',\n            \"description\": \"JIS83 Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"jp90\"',\n            \"description\": \"JIS90 Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"jp04\"',\n            \"description\": \"JIS2004 Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"kern\"',\n            \"description\": \"Kerning.\"\n          },\n          {\n            \"name\": '\"lfbd\"',\n            \"description\": \"Left Bounds.\"\n          },\n          {\n            \"name\": '\"liga\"',\n            \"description\": \"Standard Ligatures.\"\n          },\n          {\n            \"name\": '\"ljmo\"',\n            \"description\": \"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"\n          },\n          {\n            \"name\": '\"lnum\"',\n            \"description\": \"Lining Figures.\"\n          },\n          {\n            \"name\": '\"locl\"',\n            \"description\": \"Localized Forms.\"\n          },\n          {\n            \"name\": '\"ltra\"',\n            \"description\": \"Left-to-right glyph alternates.\"\n          },\n          {\n            \"name\": '\"ltrm\"',\n            \"description\": \"Left-to-right mirrored forms.\"\n          },\n          {\n            \"name\": '\"mark\"',\n            \"description\": \"Mark Positioning.\"\n          },\n          {\n            \"name\": '\"med2\"',\n            \"description\": \"Medial Form #2. Used only with the Syriac script.\"\n          },\n          {\n            \"name\": '\"medi\"',\n            \"description\": \"Medial Forms.\"\n          },\n          {\n            \"name\": '\"mgrk\"',\n            \"description\": \"Mathematical Greek.\"\n          },\n          {\n            \"name\": '\"mkmk\"',\n            \"description\": \"Mark to Mark Positioning.\"\n          },\n          {\n            \"name\": '\"nalt\"',\n            \"description\": \"Alternate Annotation Forms.\"\n          },\n          {\n            \"name\": '\"nlck\"',\n            \"description\": \"NLC Kanji Forms. Used only with Kanji script.\"\n          },\n          {\n            \"name\": '\"nukt\"',\n            \"description\": \"Nukta Forms. Required in Indic scripts..\"\n          },\n          {\n            \"name\": '\"numr\"',\n            \"description\": \"Numerators.\"\n          },\n          {\n            \"name\": '\"onum\"',\n            \"description\": \"Oldstyle Figures.\"\n          },\n          {\n            \"name\": '\"opbd\"',\n            \"description\": \"Optical Bounds.\"\n          },\n          {\n            \"name\": '\"ordn\"',\n            \"description\": \"Ordinals. Applies mostly to Latin script.\"\n          },\n          {\n            \"name\": '\"ornm\"',\n            \"description\": \"Ornaments.\"\n          },\n          {\n            \"name\": '\"palt\"',\n            \"description\": \"Proportional Alternate Widths. Used mostly in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"pcap\"',\n            \"description\": \"Petite Capitals.\"\n          },\n          {\n            \"name\": '\"pkna\"',\n            \"description\": \"Proportional Kana. Generally used only in Japanese fonts.\"\n          },\n          {\n            \"name\": '\"pnum\"',\n            \"description\": \"Proportional Figures.\"\n          },\n          {\n            \"name\": '\"pref\"',\n            \"description\": \"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra.\"\n          },\n          {\n            \"name\": '\"pres\"',\n            \"description\": \"Pre-base Substitutions. Required in Indic scripts.\"\n          },\n          {\n            \"name\": '\"pstf\"',\n            \"description\": \"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer.\"\n          },\n          {\n            \"name\": '\"psts\"',\n            \"description\": \"Post-base Substitutions.\"\n          },\n          {\n            \"name\": '\"pwid\"',\n            \"description\": \"Proportional Widths.\"\n          },\n          {\n            \"name\": '\"qwid\"',\n            \"description\": \"Quarter Widths. Generally used only in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"rand\"',\n            \"description\": \"Randomize.\"\n          },\n          {\n            \"name\": '\"rclt\"',\n            \"description\": \"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic.\"\n          },\n          {\n            \"name\": '\"rlig\"',\n            \"description\": \"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts.\"\n          },\n          {\n            \"name\": '\"rkrf\"',\n            \"description\": \"Rakar Forms. Required in Devanagari and Gujarati scripts.\"\n          },\n          {\n            \"name\": '\"rphf\"',\n            \"description\": \"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada.\"\n          },\n          {\n            \"name\": '\"rtbd\"',\n            \"description\": \"Right Bounds.\"\n          },\n          {\n            \"name\": '\"rtla\"',\n            \"description\": \"Right-to-left alternates.\"\n          },\n          {\n            \"name\": '\"rtlm\"',\n            \"description\": \"Right-to-left mirrored forms.\"\n          },\n          {\n            \"name\": '\"ruby\"',\n            \"description\": \"Ruby Notation Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"salt\"',\n            \"description\": \"Stylistic Alternates.\"\n          },\n          {\n            \"name\": '\"sinf\"',\n            \"description\": \"Scientific Inferiors.\"\n          },\n          {\n            \"name\": '\"size\"',\n            \"description\": \"Optical size.\"\n          },\n          {\n            \"name\": '\"smcp\"',\n            \"description\": \"Small Capitals. Applies only to bicameral scripts.\"\n          },\n          {\n            \"name\": '\"smpl\"',\n            \"description\": \"Simplified Forms. Applies only to Chinese and Japanese.\"\n          },\n          {\n            \"name\": '\"ssty\"',\n            \"description\": \"Math script style alternates.\"\n          },\n          {\n            \"name\": '\"stch\"',\n            \"description\": \"Stretching Glyph Decomposition.\"\n          },\n          {\n            \"name\": '\"subs\"',\n            \"description\": \"Subscript.\"\n          },\n          {\n            \"name\": '\"sups\"',\n            \"description\": \"Superscript.\"\n          },\n          {\n            \"name\": '\"swsh\"',\n            \"description\": \"Swash. Does not apply to ideographic scripts.\"\n          },\n          {\n            \"name\": '\"titl\"',\n            \"description\": \"Titling.\"\n          },\n          {\n            \"name\": '\"tjmo\"',\n            \"description\": \"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"\n          },\n          {\n            \"name\": '\"tnam\"',\n            \"description\": \"Traditional Name Forms. Applies only to Japanese.\"\n          },\n          {\n            \"name\": '\"tnum\"',\n            \"description\": \"Tabular Figures.\"\n          },\n          {\n            \"name\": '\"trad\"',\n            \"description\": \"Traditional Forms. Applies only to Chinese and Japanese.\"\n          },\n          {\n            \"name\": '\"twid\"',\n            \"description\": \"Third Widths. Generally used only in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"unic\"',\n            \"description\": \"Unicase.\"\n          },\n          {\n            \"name\": '\"valt\"',\n            \"description\": \"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes.\"\n          },\n          {\n            \"name\": '\"vatu\"',\n            \"description\": \"Vattu Variants. Used for Indic scripts. E.g. Devanagari.\"\n          },\n          {\n            \"name\": '\"vert\"',\n            \"description\": \"Vertical Alternates. Applies only to scripts with vertical writing modes.\"\n          },\n          {\n            \"name\": '\"vhal\"',\n            \"description\": \"Alternate Vertical Half Metrics. Used only in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"vjmo\"',\n            \"description\": \"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"\n          },\n          {\n            \"name\": '\"vkna\"',\n            \"description\": \"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana).\"\n          },\n          {\n            \"name\": '\"vkrn\"',\n            \"description\": \"Vertical Kerning.\"\n          },\n          {\n            \"name\": '\"vpal\"',\n            \"description\": \"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts.\"\n          },\n          {\n            \"name\": '\"vrt2\"',\n            \"description\": \"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes.\"\n          },\n          {\n            \"name\": '\"zero\"',\n            \"description\": \"Slashed Zero.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"No change in glyph substitution or positioning occurs.\"\n          },\n          {\n            \"name\": \"off\",\n            \"description\": \"Disable feature.\"\n          },\n          {\n            \"name\": \"on\",\n            \"description\": \"Enable feature.\"\n          }\n        ],\n        \"syntax\": \"normal | <feature-tag-value>#\",\n        \"relevance\": 57,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings\"\n          }\n        ],\n        \"description\": \"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.\",\n        \"restrictions\": [\n          \"string\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"font-kerning\",\n        \"browsers\": [\n          \"E79\",\n          \"FF32\",\n          \"S9\",\n          \"C33\",\n          \"O20\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Specifies that kerning is applied at the discretion of the user agent.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Specifies that kerning is not applied.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Specifies that kerning is applied.\"\n          }\n        ],\n        \"syntax\": \"auto | normal | none\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-kerning\"\n          }\n        ],\n        \"description\": \"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-language-override\",\n        \"browsers\": [\n          \"FF34\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.\"\n          }\n        ],\n        \"syntax\": \"normal | <string>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-language-override\"\n          }\n        ],\n        \"description\": \"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.\",\n        \"restrictions\": [\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"font-size\",\n        \"values\": [\n          {\n            \"name\": \"large\"\n          },\n          {\n            \"name\": \"larger\"\n          },\n          {\n            \"name\": \"medium\"\n          },\n          {\n            \"name\": \"small\"\n          },\n          {\n            \"name\": \"smaller\"\n          },\n          {\n            \"name\": \"x-large\"\n          },\n          {\n            \"name\": \"x-small\"\n          },\n          {\n            \"name\": \"xx-large\"\n          },\n          {\n            \"name\": \"xx-small\"\n          }\n        ],\n        \"syntax\": \"<absolute-size> | <relative-size> | <length-percentage>\",\n        \"relevance\": 95,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-size\"\n          }\n        ],\n        \"description\": \"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"font-size-adjust\",\n        \"browsers\": [\n          \"E79\",\n          \"FF40\",\n          \"C43\",\n          \"O30\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Do not preserve the font\\u2019s x-height.\"\n          }\n        ],\n        \"syntax\": \"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number> ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust\"\n          }\n        ],\n        \"description\": \"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"font-stretch\",\n        \"values\": [\n          {\n            \"name\": \"condensed\"\n          },\n          {\n            \"name\": \"expanded\"\n          },\n          {\n            \"name\": \"extra-condensed\"\n          },\n          {\n            \"name\": \"extra-expanded\"\n          },\n          {\n            \"name\": \"narrower\",\n            \"description\": \"Indicates a narrower value relative to the width of the parent element.\"\n          },\n          {\n            \"name\": \"normal\"\n          },\n          {\n            \"name\": \"semi-condensed\"\n          },\n          {\n            \"name\": \"semi-expanded\"\n          },\n          {\n            \"name\": \"ultra-condensed\"\n          },\n          {\n            \"name\": \"ultra-expanded\"\n          },\n          {\n            \"name\": \"wider\",\n            \"description\": \"Indicates a wider value relative to the width of the parent element.\"\n          }\n        ],\n        \"syntax\": \"<font-stretch-absolute>{1,2}\",\n        \"relevance\": 56,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-stretch\"\n          }\n        ],\n        \"description\": \"Selects a normal, condensed, or expanded face from a font family.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-style\",\n        \"values\": [\n          {\n            \"name\": \"italic\",\n            \"description\": \"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Selects a face that is classified as 'normal'.\"\n          },\n          {\n            \"name\": \"oblique\",\n            \"description\": \"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not.\"\n          }\n        ],\n        \"syntax\": \"normal | italic | oblique <angle>{0,2}\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-style\"\n          }\n        ],\n        \"description\": \"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-synthesis\",\n        \"browsers\": [\n          \"E97\",\n          \"FF34\",\n          \"S9\",\n          \"C97\",\n          \"O83\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Disallow all synthetic faces.\"\n          },\n          {\n            \"name\": \"style\",\n            \"description\": \"Allow synthetic italic faces.\"\n          },\n          {\n            \"name\": \"weight\",\n            \"description\": \"Allow synthetic bold faces.\"\n          }\n        ],\n        \"syntax\": \"none | [ weight || style || small-caps ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-synthesis\"\n          }\n        ],\n        \"description\": \"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant\",\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"Specifies a face that is not labeled as a small-caps font.\"\n          },\n          {\n            \"name\": \"small-caps\",\n            \"description\": \"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font.\"\n          }\n        ],\n        \"syntax\": \"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]\",\n        \"relevance\": 64,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant\"\n          }\n        ],\n        \"description\": \"Specifies variant representations of the font\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant-alternates\",\n        \"browsers\": [\n          \"FF34\",\n          \"S9.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"annotation()\",\n            \"description\": \"Enables display of alternate annotation forms.\"\n          },\n          {\n            \"name\": \"character-variant()\",\n            \"description\": \"Enables display of specific character variants.\"\n          },\n          {\n            \"name\": \"historical-forms\",\n            \"description\": \"Enables display of historical forms.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"None of the features are enabled.\"\n          },\n          {\n            \"name\": \"ornaments()\",\n            \"description\": \"Enables replacement of default glyphs with ornaments, if provided in the font.\"\n          },\n          {\n            \"name\": \"styleset()\",\n            \"description\": \"Enables display with stylistic sets.\"\n          },\n          {\n            \"name\": \"stylistic()\",\n            \"description\": \"Enables display of stylistic alternates.\"\n          },\n          {\n            \"name\": \"swash()\",\n            \"description\": \"Enables display of swash glyphs.\"\n          }\n        ],\n        \"syntax\": \"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates\"\n          }\n        ],\n        \"description\": \"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant-caps\",\n        \"browsers\": [\n          \"E79\",\n          \"FF34\",\n          \"S9.1\",\n          \"C52\",\n          \"O39\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all-petite-caps\",\n            \"description\": \"Enables display of petite capitals for both upper and lowercase letters.\"\n          },\n          {\n            \"name\": \"all-small-caps\",\n            \"description\": \"Enables display of small capitals for both upper and lowercase letters.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"None of the features are enabled.\"\n          },\n          {\n            \"name\": \"petite-caps\",\n            \"description\": \"Enables display of petite capitals.\"\n          },\n          {\n            \"name\": \"small-caps\",\n            \"description\": \"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.\"\n          },\n          {\n            \"name\": \"titling-caps\",\n            \"description\": \"Enables display of titling capitals.\"\n          },\n          {\n            \"name\": \"unicase\",\n            \"description\": \"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters.\"\n          }\n        ],\n        \"syntax\": \"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps\"\n          }\n        ],\n        \"description\": \"Specifies control over capitalized forms.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant-east-asian\",\n        \"browsers\": [\n          \"E79\",\n          \"FF34\",\n          \"S9.1\",\n          \"C63\",\n          \"O50\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"full-width\",\n            \"description\": \"Enables rendering of full-width variants.\"\n          },\n          {\n            \"name\": \"jis04\",\n            \"description\": \"Enables rendering of JIS04 forms.\"\n          },\n          {\n            \"name\": \"jis78\",\n            \"description\": \"Enables rendering of JIS78 forms.\"\n          },\n          {\n            \"name\": \"jis83\",\n            \"description\": \"Enables rendering of JIS83 forms.\"\n          },\n          {\n            \"name\": \"jis90\",\n            \"description\": \"Enables rendering of JIS90 forms.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"None of the features are enabled.\"\n          },\n          {\n            \"name\": \"proportional-width\",\n            \"description\": \"Enables rendering of proportionally-spaced variants.\"\n          },\n          {\n            \"name\": \"ruby\",\n            \"description\": \"Enables display of ruby variant glyphs.\"\n          },\n          {\n            \"name\": \"simplified\",\n            \"description\": \"Enables rendering of simplified forms.\"\n          },\n          {\n            \"name\": \"traditional\",\n            \"description\": \"Enables rendering of traditional forms.\"\n          }\n        ],\n        \"syntax\": \"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian\"\n          }\n        ],\n        \"description\": \"Allows control of glyph substitute and positioning in East Asian text.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant-ligatures\",\n        \"browsers\": [\n          \"E79\",\n          \"FF34\",\n          \"S9.1\",\n          \"C34\",\n          \"O21\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"additional-ligatures\",\n            \"description\": \"Enables display of additional ligatures.\"\n          },\n          {\n            \"name\": \"common-ligatures\",\n            \"description\": \"Enables display of common ligatures.\"\n          },\n          {\n            \"name\": \"contextual\",\n            \"browsers\": [\n              \"E79\",\n              \"FF34\",\n              \"S9.1\",\n              \"C34\",\n              \"O21\"\n            ],\n            \"description\": \"Enables display of contextual alternates.\"\n          },\n          {\n            \"name\": \"discretionary-ligatures\",\n            \"description\": \"Enables display of discretionary ligatures.\"\n          },\n          {\n            \"name\": \"historical-ligatures\",\n            \"description\": \"Enables display of historical ligatures.\"\n          },\n          {\n            \"name\": \"no-additional-ligatures\",\n            \"description\": \"Disables display of additional ligatures.\"\n          },\n          {\n            \"name\": \"no-common-ligatures\",\n            \"description\": \"Disables display of common ligatures.\"\n          },\n          {\n            \"name\": \"no-contextual\",\n            \"browsers\": [\n              \"E79\",\n              \"FF34\",\n              \"S9.1\",\n              \"C34\",\n              \"O21\"\n            ],\n            \"description\": \"Disables display of contextual alternates.\"\n          },\n          {\n            \"name\": \"no-discretionary-ligatures\",\n            \"description\": \"Disables display of discretionary ligatures.\"\n          },\n          {\n            \"name\": \"no-historical-ligatures\",\n            \"description\": \"Disables display of historical ligatures.\"\n          },\n          {\n            \"name\": \"none\",\n            \"browsers\": [\n              \"E79\",\n              \"FF34\",\n              \"S9.1\",\n              \"C34\",\n              \"O21\"\n            ],\n            \"description\": \"Disables all ligatures.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Implies that the defaults set by the font are used.\"\n          }\n        ],\n        \"syntax\": \"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures\"\n          }\n        ],\n        \"description\": \"Specifies control over which ligatures are enabled or disabled. A value of \\u2018normal\\u2019 implies that the defaults set by the font are used.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant-numeric\",\n        \"browsers\": [\n          \"E79\",\n          \"FF34\",\n          \"S9.1\",\n          \"C52\",\n          \"O39\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"diagonal-fractions\",\n            \"description\": \"Enables display of lining diagonal fractions.\"\n          },\n          {\n            \"name\": \"lining-nums\",\n            \"description\": \"Enables display of lining numerals.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"None of the features are enabled.\"\n          },\n          {\n            \"name\": \"oldstyle-nums\",\n            \"description\": \"Enables display of old-style numerals.\"\n          },\n          {\n            \"name\": \"ordinal\",\n            \"description\": \"Enables display of letter forms used with ordinal numbers.\"\n          },\n          {\n            \"name\": \"proportional-nums\",\n            \"description\": \"Enables display of proportional numerals.\"\n          },\n          {\n            \"name\": \"slashed-zero\",\n            \"description\": \"Enables display of slashed zeros.\"\n          },\n          {\n            \"name\": \"stacked-fractions\",\n            \"description\": \"Enables display of lining stacked fractions.\"\n          },\n          {\n            \"name\": \"tabular-nums\",\n            \"description\": \"Enables display of tabular numerals.\"\n          }\n        ],\n        \"syntax\": \"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric\"\n          }\n        ],\n        \"description\": \"Specifies control over numerical forms.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-variant-position\",\n        \"browsers\": [\n          \"FF34\",\n          \"S9.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"None of the features are enabled.\"\n          },\n          {\n            \"name\": \"sub\",\n            \"description\": \"Enables display of subscript variants (OpenType feature: subs).\"\n          },\n          {\n            \"name\": \"super\",\n            \"description\": \"Enables display of superscript variants (OpenType feature: sups).\"\n          }\n        ],\n        \"syntax\": \"normal | sub | super\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-position\"\n          }\n        ],\n        \"description\": \"Specifies the vertical position\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"font-weight\",\n        \"values\": [\n          {\n            \"name\": \"100\",\n            \"description\": \"Thin\"\n          },\n          {\n            \"name\": \"200\",\n            \"description\": \"Extra Light (Ultra Light)\"\n          },\n          {\n            \"name\": \"300\",\n            \"description\": \"Light\"\n          },\n          {\n            \"name\": \"400\",\n            \"description\": \"Normal\"\n          },\n          {\n            \"name\": \"500\",\n            \"description\": \"Medium\"\n          },\n          {\n            \"name\": \"600\",\n            \"description\": \"Semi Bold (Demi Bold)\"\n          },\n          {\n            \"name\": \"700\",\n            \"description\": \"Bold\"\n          },\n          {\n            \"name\": \"800\",\n            \"description\": \"Extra Bold (Ultra Bold)\"\n          },\n          {\n            \"name\": \"900\",\n            \"description\": \"Black (Heavy)\"\n          },\n          {\n            \"name\": \"bold\",\n            \"description\": \"Same as 700\"\n          },\n          {\n            \"name\": \"bolder\",\n            \"description\": \"Specifies the weight of the face bolder than the inherited value.\"\n          },\n          {\n            \"name\": \"lighter\",\n            \"description\": \"Specifies the weight of the face lighter than the inherited value.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Same as 400\"\n          }\n        ],\n        \"syntax\": \"<font-weight-absolute>{1,2}\",\n        \"relevance\": 94,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-weight\"\n          }\n        ],\n        \"description\": \"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"glyph-orientation-horizontal\",\n        \"relevance\": 50,\n        \"description\": \"Controls glyph orientation when the inline-progression-direction is horizontal.\",\n        \"restrictions\": [\n          \"angle\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"glyph-orientation-vertical\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls glyph orientation when the inline-progression-direction is vertical.\",\n        \"restrictions\": [\n          \"angle\",\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-area\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line> [ / <grid-line> ]{0,3}\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-area\"\n          }\n        ],\n        \"description\": \"Determine a grid item\\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"grid\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"syntax\": \"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid\"\n          }\n        ],\n        \"description\": \"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"length\",\n          \"percentage\",\n          \"string\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-auto-columns\",\n        \"values\": [\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"minmax()\",\n            \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n          }\n        ],\n        \"syntax\": \"<track-size>+\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns\"\n          }\n        ],\n        \"description\": \"Specifies the size of implicitly created columns.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"grid-auto-flow\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"row\",\n            \"description\": \"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary.\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary.\"\n          },\n          {\n            \"name\": \"dense\",\n            \"description\": \"If specified, the auto-placement algorithm uses a \\u201Cdense\\u201D packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later.\"\n          }\n        ],\n        \"syntax\": \"[ row | column ] || dense\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow\"\n          }\n        ],\n        \"description\": \"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-auto-rows\",\n        \"values\": [\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"minmax()\",\n            \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n          }\n        ],\n        \"syntax\": \"<track-size>+\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows\"\n          }\n        ],\n        \"description\": \"Specifies the size of implicitly created rows.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"grid-column\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line> [ / <grid-line> ]?\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-column\"\n          }\n        ],\n        \"description\": \"Shorthand for 'grid-column-start' and 'grid-column-end'.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-column-end\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-column-end\"\n          }\n        ],\n        \"description\": \"Determine a grid item\\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-column-gap\",\n        \"browsers\": [\n          \"FF52\",\n          \"C57\",\n          \"S10.1\",\n          \"O44\"\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"<length-percentage>\",\n        \"relevance\": 2,\n        \"description\": \"Specifies the gutters between grid columns. Replaced by 'column-gap' property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"grid-column-start\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-column-start\"\n          }\n        ],\n        \"description\": \"Determine a grid item\\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-gap\",\n        \"browsers\": [\n          \"FF52\",\n          \"C57\",\n          \"S10.1\",\n          \"O44\"\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"<'grid-row-gap'> <'grid-column-gap'>?\",\n        \"relevance\": 3,\n        \"description\": \"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"grid-row\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line> [ / <grid-line> ]?\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-row\"\n          }\n        ],\n        \"description\": \"Shorthand for 'grid-row-start' and 'grid-row-end'.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-row-end\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-row-end\"\n          }\n        ],\n        \"description\": \"Determine a grid item\\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-row-gap\",\n        \"browsers\": [\n          \"FF52\",\n          \"C57\",\n          \"S10.1\",\n          \"O44\"\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"<length-percentage>\",\n        \"relevance\": 1,\n        \"description\": \"Specifies the gutters between grid rows. Replaced by 'row-gap' property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"grid-row-start\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n          },\n          {\n            \"name\": \"span\",\n            \"description\": \"Contributes a grid span to the grid item\\u2019s placement such that the corresponding edge of the grid item\\u2019s grid area is N lines from its opposite edge.\"\n          }\n        ],\n        \"syntax\": \"<grid-line>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-row-start\"\n          }\n        ],\n        \"description\": \"Determine a grid item\\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-template\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Sets all three properties to their initial values.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"subgrid\",\n            \"description\": \"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value.\"\n          },\n          {\n            \"name\": \"minmax()\",\n            \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n          },\n          {\n            \"name\": \"repeat()\",\n            \"description\": \"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.\"\n          }\n        ],\n        \"syntax\": \"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template\"\n          }\n        ],\n        \"description\": \"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"length\",\n          \"percentage\",\n          \"string\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-template-areas\",\n        \"browsers\": [\n          \"E16\",\n          \"FF52\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The grid container doesn\\u2019t define any named grid areas.\"\n          }\n        ],\n        \"syntax\": \"none | <string>+\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas\"\n          }\n        ],\n        \"description\": \"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.\",\n        \"restrictions\": [\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"grid-template-columns\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"There is no explicit grid; any rows/columns will be implicitly generated.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"subgrid\",\n            \"description\": \"Indicates that the grid will align to its parent grid in that axis.\"\n          },\n          {\n            \"name\": \"minmax()\",\n            \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n          },\n          {\n            \"name\": \"repeat()\",\n            \"description\": \"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.\"\n          }\n        ],\n        \"syntax\": \"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?\",\n        \"relevance\": 58,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns\"\n          }\n        ],\n        \"description\": \"specifies, as a space-separated track list, the line names and track sizing functions of the grid.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"length\",\n          \"percentage\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"grid-template-rows\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"There is no explicit grid; any rows/columns will be implicitly generated.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n          },\n          {\n            \"name\": \"subgrid\",\n            \"description\": \"Indicates that the grid will align to its parent grid in that axis.\"\n          },\n          {\n            \"name\": \"minmax()\",\n            \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n          },\n          {\n            \"name\": \"repeat()\",\n            \"description\": \"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.\"\n          }\n        ],\n        \"syntax\": \"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?\",\n        \"relevance\": 54,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows\"\n          }\n        ],\n        \"description\": \"specifies, as a space-separated track list, the line names and track sizing functions of the grid.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"length\",\n          \"percentage\",\n          \"string\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"height\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The height depends on the values of other properties.\"\n          },\n          {\n            \"name\": \"fit-content\",\n            \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n          }\n        ],\n        \"syntax\": \"<viewport-length>{1,2}\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/height\"\n          }\n        ],\n        \"description\": \"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"hyphens\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n          },\n          {\n            \"name\": \"manual\",\n            \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n          }\n        ],\n        \"syntax\": \"none | manual | auto\",\n        \"relevance\": 55,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/hyphens\"\n          }\n        ],\n        \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"image-orientation\",\n        \"browsers\": [\n          \"E81\",\n          \"FF26\",\n          \"S13.1\",\n          \"C81\",\n          \"O67\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"flip\",\n            \"description\": \"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted.\"\n          },\n          {\n            \"name\": \"from-image\",\n            \"description\": \"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image.\"\n          }\n        ],\n        \"syntax\": \"from-image | <angle> | [ <angle>? flip ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/image-orientation\"\n          }\n        ],\n        \"description\": \"Specifies an orthogonal rotation to be applied to an image before it is laid out.\",\n        \"restrictions\": [\n          \"angle\"\n        ]\n      },\n      {\n        \"name\": \"image-rendering\",\n        \"browsers\": [\n          \"E79\",\n          \"FF3.6\",\n          \"S6\",\n          \"C13\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The image should be scaled with an algorithm that maximizes the appearance of the image.\"\n          },\n          {\n            \"name\": \"crisp-edges\",\n            \"description\": \"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process.\"\n          },\n          {\n            \"name\": \"-moz-crisp-edges\",\n            \"browsers\": [\n              \"E79\",\n              \"FF3.6\",\n              \"S6\",\n              \"C13\",\n              \"O15\"\n            ]\n          },\n          {\n            \"name\": \"optimizeQuality\",\n            \"description\": \"Deprecated.\"\n          },\n          {\n            \"name\": \"optimizeSpeed\",\n            \"description\": \"Deprecated.\"\n          },\n          {\n            \"name\": \"pixelated\",\n            \"description\": \"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels.\"\n          }\n        ],\n        \"syntax\": \"auto | crisp-edges | pixelated\",\n        \"relevance\": 54,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/image-rendering\"\n          }\n        ],\n        \"description\": \"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"ime-mode\",\n        \"browsers\": [\n          \"E12\",\n          \"FF3\",\n          \"IE5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"active\",\n            \"description\": \"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"No change is made to the current input method editor state. This is the default.\"\n          },\n          {\n            \"name\": \"disabled\",\n            \"description\": \"The input method editor is disabled and may not be activated by the user.\"\n          },\n          {\n            \"name\": \"inactive\",\n            \"description\": \"The input method editor is initially inactive, but the user may activate it if they wish.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"The IME state should be normal; this value can be used in a user style sheet to override the page setting.\"\n          }\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"auto | normal | active | inactive | disabled\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/ime-mode\"\n          }\n        ],\n        \"description\": \"Controls the state of the input method editor for text fields.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"inline-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Depends on the values of other properties.\"\n          }\n        ],\n        \"syntax\": \"<'width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inline-size\"\n          }\n        ],\n        \"description\": \"Size of an element in the direction specified by 'writing-mode'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"isolation\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S8\",\n          \"C41\",\n          \"O30\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Elements are not isolated unless an operation is applied that causes the creation of a stacking context.\"\n          },\n          {\n            \"name\": \"isolate\",\n            \"description\": \"In CSS will turn the element into a stacking context.\"\n          }\n        ],\n        \"syntax\": \"auto | isolate\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/isolation\"\n          }\n        ],\n        \"description\": \"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"justify-content\",\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Flex items are packed toward the center of the line.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"The items are packed flush to each other toward the start edge of the alignment container in the main axis.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"The items are packed flush to each other toward the end edge of the alignment container in the main axis.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The items are packed flush to each other toward the left edge of the alignment container in the main axis.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The items are packed flush to each other toward the right edge of the alignment container in the main axis.\"\n          },\n          {\n            \"name\": \"safe\",\n            \"description\": \"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start.\"\n          },\n          {\n            \"name\": \"unsafe\",\n            \"description\": \"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container.\"\n          },\n          {\n            \"name\": \"space-evenly\",\n            \"description\": \"The items are evenly distributed within the alignment container along the main axis.\"\n          },\n          {\n            \"name\": \"flex-end\",\n            \"description\": \"Flex items are packed toward the end of the line.\"\n          },\n          {\n            \"name\": \"flex-start\",\n            \"description\": \"Flex items are packed toward the start of the line.\"\n          },\n          {\n            \"name\": \"space-around\",\n            \"description\": \"Flex items are evenly distributed in the line, with half-size spaces on either end.\"\n          },\n          {\n            \"name\": \"space-between\",\n            \"description\": \"Flex items are evenly distributed in the line.\"\n          },\n          {\n            \"name\": \"baseline\",\n            \"description\": \"Specifies participation in first-baseline alignment.\"\n          },\n          {\n            \"name\": \"first baseline\",\n            \"description\": \"Specifies participation in first-baseline alignment.\"\n          },\n          {\n            \"name\": \"last baseline\",\n            \"description\": \"Specifies participation in last-baseline alignment.\"\n          }\n        ],\n        \"syntax\": \"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]\",\n        \"relevance\": 85,\n        \"description\": \"Aligns flex items along the main axis of the current line of the flex container.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"kerning\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.\",\n        \"restrictions\": [\n          \"length\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"left\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 95,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/left\"\n          }\n        ],\n        \"description\": \"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"letter-spacing\",\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"The spacing is the normal spacing for the current font. It is typically zero-length.\"\n          }\n        ],\n        \"syntax\": \"normal | <length>\",\n        \"relevance\": 81,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/letter-spacing\"\n          }\n        ],\n        \"description\": \"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"lighting-color\",\n        \"browsers\": [\n          \"E\",\n          \"C5\",\n          \"FF3\",\n          \"IE10\",\n          \"O9\",\n          \"S6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"line-break\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.\"\n          },\n          {\n            \"name\": \"loose\",\n            \"description\": \"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Breaks text using the most common set of line-breaking rules.\"\n          },\n          {\n            \"name\": \"strict\",\n            \"description\": \"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'.\"\n          }\n        ],\n        \"syntax\": \"auto | loose | normal | strict | anywhere\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/line-break\"\n          }\n        ],\n        \"description\": \"Specifies what set of line breaking restrictions are in effect within the element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"line-height\",\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element.\"\n          }\n        ],\n        \"syntax\": \"normal | <number> | <length> | <percentage>\",\n        \"relevance\": 93,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/line-height\"\n          }\n        ],\n        \"description\": \"Determines the block-progression dimension of the text content area of an inline box.\",\n        \"restrictions\": [\n          \"number\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"list-style\",\n        \"values\": [\n          {\n            \"name\": \"armenian\"\n          },\n          {\n            \"name\": \"circle\",\n            \"description\": \"A hollow circle.\"\n          },\n          {\n            \"name\": \"decimal\"\n          },\n          {\n            \"name\": \"decimal-leading-zero\"\n          },\n          {\n            \"name\": \"disc\",\n            \"description\": \"A filled circle.\"\n          },\n          {\n            \"name\": \"georgian\"\n          },\n          {\n            \"name\": \"inside\",\n            \"description\": \"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below.\"\n          },\n          {\n            \"name\": \"lower-alpha\"\n          },\n          {\n            \"name\": \"lower-greek\"\n          },\n          {\n            \"name\": \"lower-latin\"\n          },\n          {\n            \"name\": \"lower-roman\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"outside\",\n            \"description\": \"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows.\"\n          },\n          {\n            \"name\": \"square\",\n            \"description\": \"A filled square.\"\n          },\n          {\n            \"name\": \"symbols()\",\n            \"description\": \"Allows a counter style to be defined inline.\"\n          },\n          {\n            \"name\": \"upper-alpha\"\n          },\n          {\n            \"name\": \"upper-latin\"\n          },\n          {\n            \"name\": \"upper-roman\"\n          },\n          {\n            \"name\": \"url()\"\n          }\n        ],\n        \"syntax\": \"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>\",\n        \"relevance\": 85,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style\"\n          }\n        ],\n        \"description\": \"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'\",\n        \"restrictions\": [\n          \"image\",\n          \"enum\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"list-style-image\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The default contents of the of the list item\\u2019s marker are given by 'list-style-type' instead.\"\n          }\n        ],\n        \"syntax\": \"<image> | none\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style-image\"\n          }\n        ],\n        \"description\": \"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.\",\n        \"restrictions\": [\n          \"image\"\n        ]\n      },\n      {\n        \"name\": \"list-style-position\",\n        \"values\": [\n          {\n            \"name\": \"inside\",\n            \"description\": \"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below.\"\n          },\n          {\n            \"name\": \"outside\",\n            \"description\": \"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows.\"\n          }\n        ],\n        \"syntax\": \"inside | outside\",\n        \"relevance\": 55,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style-position\"\n          }\n        ],\n        \"description\": \"Specifies the position of the '::marker' pseudo-element's box in the list item.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"list-style-type\",\n        \"values\": [\n          {\n            \"name\": \"armenian\",\n            \"description\": \"Traditional uppercase Armenian numbering.\"\n          },\n          {\n            \"name\": \"circle\",\n            \"description\": \"A hollow circle.\"\n          },\n          {\n            \"name\": \"decimal\",\n            \"description\": \"Western decimal numbers.\"\n          },\n          {\n            \"name\": \"decimal-leading-zero\",\n            \"description\": \"Decimal numbers padded by initial zeros.\"\n          },\n          {\n            \"name\": \"disc\",\n            \"description\": \"A filled circle.\"\n          },\n          {\n            \"name\": \"georgian\",\n            \"description\": \"Traditional Georgian numbering.\"\n          },\n          {\n            \"name\": \"lower-alpha\",\n            \"description\": \"Lowercase ASCII letters.\"\n          },\n          {\n            \"name\": \"lower-greek\",\n            \"description\": \"Lowercase classical Greek.\"\n          },\n          {\n            \"name\": \"lower-latin\",\n            \"description\": \"Lowercase ASCII letters.\"\n          },\n          {\n            \"name\": \"lower-roman\",\n            \"description\": \"Lowercase ASCII Roman numerals.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No marker\"\n          },\n          {\n            \"name\": \"square\",\n            \"description\": \"A filled square.\"\n          },\n          {\n            \"name\": \"symbols()\",\n            \"description\": \"Allows a counter style to be defined inline.\"\n          },\n          {\n            \"name\": \"upper-alpha\",\n            \"description\": \"Uppercase ASCII letters.\"\n          },\n          {\n            \"name\": \"upper-latin\",\n            \"description\": \"Uppercase ASCII letters.\"\n          },\n          {\n            \"name\": \"upper-roman\",\n            \"description\": \"Uppercase ASCII Roman numerals.\"\n          }\n        ],\n        \"syntax\": \"<counter-style> | <string> | none\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style-type\"\n          }\n        ],\n        \"description\": \"Used to construct the default contents of a list item\\u2019s marker\",\n        \"restrictions\": [\n          \"enum\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"margin\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"[ <length> | <percentage> | auto ]{1,4}\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-block-end\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<'margin-left'>\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-block-end\"\n          }\n        ],\n        \"description\": \"Logical 'margin-bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-block-start\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<'margin-left'>\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-block-start\"\n          }\n        ],\n        \"description\": \"Logical 'margin-top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-bottom\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-bottom\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-inline-end\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<'margin-left'>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end\"\n          }\n        ],\n        \"description\": \"Logical 'margin-right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-inline-start\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<'margin-left'>\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start\"\n          }\n        ],\n        \"description\": \"Logical 'margin-left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-left\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-left\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-right\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 91,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-right\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"margin-top\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 95,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-top\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"marker\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"Indicates that the <marker> element referenced will be used.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given \\u2018path\\u2019 element or basic shape.\",\n        \"restrictions\": [\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"marker-end\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"Indicates that the <marker> element referenced will be used.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the marker that will be drawn at the last vertices of the given markable element.\",\n        \"restrictions\": [\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"marker-mid\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"Indicates that the <marker> element referenced will be used.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the marker that will be drawn at all vertices except the first and last.\",\n        \"restrictions\": [\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"marker-start\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"Indicates that the <marker> element referenced will be used.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the marker that will be drawn at the first vertices of the given markable element.\",\n        \"restrictions\": [\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"mask-image\",\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S15.4\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Counts as a transparent black image layer.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"Reference to a <mask element or to a CSS image.\"\n          }\n        ],\n        \"syntax\": \"<mask-reference>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-image\"\n          }\n        ],\n        \"description\": \"Sets the mask layer image of an element.\",\n        \"restrictions\": [\n          \"url\",\n          \"image\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"mask-mode\",\n        \"browsers\": [\n          \"FF53\",\n          \"S15.4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alpha\",\n            \"description\": \"Alpha values of the mask layer image should be used as the mask values.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image.\"\n          },\n          {\n            \"name\": \"luminance\",\n            \"description\": \"Luminance values of the mask layer image should be used as the mask values.\"\n          }\n        ],\n        \"syntax\": \"<masking-mode>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-mode\"\n          }\n        ],\n        \"description\": \"Indicates whether the mask layer image is treated as luminance mask or alpha mask.\",\n        \"restrictions\": [\n          \"url\",\n          \"image\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"mask-origin\",\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S15.4\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"syntax\": \"<geometry-box>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-origin\"\n          }\n        ],\n        \"description\": \"Specifies the mask positioning area.\",\n        \"restrictions\": [\n          \"geometry-box\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"mask-position\",\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S15.4\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"syntax\": \"<position>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-position\"\n          }\n        ],\n        \"description\": \"Specifies how mask layer images are positioned.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"mask-repeat\",\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S15.4\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"syntax\": \"<repeat-style>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-repeat\"\n          }\n        ],\n        \"description\": \"Specifies how mask layer images are tiled after they have been sized and positioned.\",\n        \"restrictions\": [\n          \"repeat\"\n        ]\n      },\n      {\n        \"name\": \"mask-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S15.4\",\n          \"C4\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Resolved by using the image\\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\\u2019s intrinsic size, or failing that, treating it as 100%.\"\n          },\n          {\n            \"name\": \"contain\",\n            \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.\"\n          },\n          {\n            \"name\": \"cover\",\n            \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.\"\n          }\n        ],\n        \"syntax\": \"<bg-size>#\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-size\"\n          }\n        ],\n        \"description\": \"Specifies the size of the mask layer images.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"mask-type\",\n        \"browsers\": [\n          \"E79\",\n          \"FF35\",\n          \"S7\",\n          \"C24\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alpha\",\n            \"description\": \"Indicates that the alpha values of the mask should be used.\"\n          },\n          {\n            \"name\": \"luminance\",\n            \"description\": \"Indicates that the luminance values of the mask should be used.\"\n          }\n        ],\n        \"syntax\": \"luminance | alpha\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-type\"\n          }\n        ],\n        \"description\": \"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"max-block-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No limit on the width of the box.\"\n          }\n        ],\n        \"syntax\": \"<'max-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-block-size\"\n          }\n        ],\n        \"description\": \"Maximum size of an element in the direction opposite that of the direction specified by 'writing-mode'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"max-height\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No limit on the height of the box.\"\n          },\n          {\n            \"name\": \"fit-content\",\n            \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n          }\n        ],\n        \"syntax\": \"<viewport-length>\",\n        \"relevance\": 85,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-height\"\n          }\n        ],\n        \"description\": \"Allows authors to constrain content height to a certain range.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"max-inline-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No limit on the height of the box.\"\n          }\n        ],\n        \"syntax\": \"<'max-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-inline-size\"\n          }\n        ],\n        \"description\": \"Maximum size of an element in the direction specified by 'writing-mode'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"max-width\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No limit on the width of the box.\"\n          },\n          {\n            \"name\": \"fit-content\",\n            \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n          }\n        ],\n        \"syntax\": \"<viewport-length>\",\n        \"relevance\": 91,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-width\"\n          }\n        ],\n        \"description\": \"Allows authors to constrain content width to a certain range.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"min-block-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"syntax\": \"<'min-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-block-size\"\n          }\n        ],\n        \"description\": \"Minimal size of an element in the direction opposite that of the direction specified by 'writing-mode'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"min-height\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"fit-content\",\n            \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n          }\n        ],\n        \"syntax\": \"<viewport-length>\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-height\"\n          }\n        ],\n        \"description\": \"Allows authors to constrain content height to a certain range.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"min-inline-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"syntax\": \"<'min-width'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-inline-size\"\n          }\n        ],\n        \"description\": \"Minimal size of an element in the direction specified by 'writing-mode'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"min-width\",\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"fit-content\",\n            \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n          }\n        ],\n        \"syntax\": \"<viewport-length>\",\n        \"relevance\": 88,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-width\"\n          }\n        ],\n        \"description\": \"Allows authors to constrain content width to a certain range.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"mix-blend-mode\",\n        \"browsers\": [\n          \"E79\",\n          \"FF32\",\n          \"S8\",\n          \"C41\",\n          \"O28\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"Default attribute which specifies no blending\"\n          },\n          {\n            \"name\": \"multiply\",\n            \"description\": \"The source color is multiplied by the destination color and replaces the destination.\"\n          },\n          {\n            \"name\": \"screen\",\n            \"description\": \"Multiplies the complements of the backdrop and source color values, then complements the result.\"\n          },\n          {\n            \"name\": \"overlay\",\n            \"description\": \"Multiplies or screens the colors, depending on the backdrop color value.\"\n          },\n          {\n            \"name\": \"darken\",\n            \"description\": \"Selects the darker of the backdrop and source colors.\"\n          },\n          {\n            \"name\": \"lighten\",\n            \"description\": \"Selects the lighter of the backdrop and source colors.\"\n          },\n          {\n            \"name\": \"color-dodge\",\n            \"description\": \"Brightens the backdrop color to reflect the source color.\"\n          },\n          {\n            \"name\": \"color-burn\",\n            \"description\": \"Darkens the backdrop color to reflect the source color.\"\n          },\n          {\n            \"name\": \"hard-light\",\n            \"description\": \"Multiplies or screens the colors, depending on the source color value.\"\n          },\n          {\n            \"name\": \"soft-light\",\n            \"description\": \"Darkens or lightens the colors, depending on the source color value.\"\n          },\n          {\n            \"name\": \"difference\",\n            \"description\": \"Subtracts the darker of the two constituent colors from the lighter color..\"\n          },\n          {\n            \"name\": \"exclusion\",\n            \"description\": \"Produces an effect similar to that of the Difference mode but lower in contrast.\"\n          },\n          {\n            \"name\": \"hue\",\n            \"browsers\": [\n              \"E79\",\n              \"FF32\",\n              \"S8\",\n              \"C41\",\n              \"O28\"\n            ],\n            \"description\": \"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.\"\n          },\n          {\n            \"name\": \"saturation\",\n            \"browsers\": [\n              \"E79\",\n              \"FF32\",\n              \"S8\",\n              \"C41\",\n              \"O28\"\n            ],\n            \"description\": \"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.\"\n          },\n          {\n            \"name\": \"color\",\n            \"browsers\": [\n              \"E79\",\n              \"FF32\",\n              \"S8\",\n              \"C41\",\n              \"O28\"\n            ],\n            \"description\": \"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.\"\n          },\n          {\n            \"name\": \"luminosity\",\n            \"browsers\": [\n              \"E79\",\n              \"FF32\",\n              \"S8\",\n              \"C41\",\n              \"O28\"\n            ],\n            \"description\": \"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.\"\n          }\n        ],\n        \"syntax\": \"<blend-mode>\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode\"\n          }\n        ],\n        \"description\": \"Defines the formula that must be used to mix the colors with the backdrop.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"motion\",\n        \"browsers\": [\n          \"C46\",\n          \"O33\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No motion path gets created.\"\n          },\n          {\n            \"name\": \"path()\",\n            \"description\": \"Defines an SVG path as a string, with optional 'fill-rule' as the first argument.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.\",\n        \"restrictions\": [\n          \"url\",\n          \"length\",\n          \"percentage\",\n          \"angle\",\n          \"shape\",\n          \"geometry-box\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"motion-offset\",\n        \"browsers\": [\n          \"C46\",\n          \"O33\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"A distance that describes the position along the specified motion path.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"motion-path\",\n        \"browsers\": [\n          \"C46\",\n          \"O33\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No motion path gets created.\"\n          },\n          {\n            \"name\": \"path()\",\n            \"description\": \"Defines an SVG path as a string, with optional 'fill-rule' as the first argument.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the motion path the element gets positioned at.\",\n        \"restrictions\": [\n          \"url\",\n          \"shape\",\n          \"geometry-box\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"motion-rotation\",\n        \"browsers\": [\n          \"C46\",\n          \"O33\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the direction of the element while positioning along the motion path.\",\n        \"restrictions\": [\n          \"angle\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"enum\",\n          \"timing-function\",\n          \"identifier\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-delay\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines when the animation will start.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-direction\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-duration\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-iteration-count\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n        \"restrictions\": [\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-name\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-play-state\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"paused\",\n            \"description\": \"A running animation will be paused.\"\n          },\n          {\n            \"name\": \"running\",\n            \"description\": \"Resume playback of a paused animation.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines whether the animation is running or paused.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-animation-timing-function\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"-moz-appearance\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"button\"\n          },\n          {\n            \"name\": \"button-arrow-down\"\n          },\n          {\n            \"name\": \"button-arrow-next\"\n          },\n          {\n            \"name\": \"button-arrow-previous\"\n          },\n          {\n            \"name\": \"button-arrow-up\"\n          },\n          {\n            \"name\": \"button-bevel\"\n          },\n          {\n            \"name\": \"checkbox\"\n          },\n          {\n            \"name\": \"checkbox-container\"\n          },\n          {\n            \"name\": \"checkbox-label\"\n          },\n          {\n            \"name\": \"dialog\"\n          },\n          {\n            \"name\": \"groupbox\"\n          },\n          {\n            \"name\": \"listbox\"\n          },\n          {\n            \"name\": \"menuarrow\"\n          },\n          {\n            \"name\": \"menuimage\"\n          },\n          {\n            \"name\": \"menuitem\"\n          },\n          {\n            \"name\": \"menuitemtext\"\n          },\n          {\n            \"name\": \"menulist\"\n          },\n          {\n            \"name\": \"menulist-button\"\n          },\n          {\n            \"name\": \"menulist-text\"\n          },\n          {\n            \"name\": \"menulist-textfield\"\n          },\n          {\n            \"name\": \"menupopup\"\n          },\n          {\n            \"name\": \"menuradio\"\n          },\n          {\n            \"name\": \"menuseparator\"\n          },\n          {\n            \"name\": \"-moz-mac-unified-toolbar\"\n          },\n          {\n            \"name\": \"-moz-win-borderless-glass\"\n          },\n          {\n            \"name\": \"-moz-win-browsertabbar-toolbox\"\n          },\n          {\n            \"name\": \"-moz-win-communications-toolbox\"\n          },\n          {\n            \"name\": \"-moz-win-glass\"\n          },\n          {\n            \"name\": \"-moz-win-media-toolbox\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"progressbar\"\n          },\n          {\n            \"name\": \"progresschunk\"\n          },\n          {\n            \"name\": \"radio\"\n          },\n          {\n            \"name\": \"radio-container\"\n          },\n          {\n            \"name\": \"radio-label\"\n          },\n          {\n            \"name\": \"radiomenuitem\"\n          },\n          {\n            \"name\": \"resizer\"\n          },\n          {\n            \"name\": \"resizerpanel\"\n          },\n          {\n            \"name\": \"scrollbarbutton-down\"\n          },\n          {\n            \"name\": \"scrollbarbutton-left\"\n          },\n          {\n            \"name\": \"scrollbarbutton-right\"\n          },\n          {\n            \"name\": \"scrollbarbutton-up\"\n          },\n          {\n            \"name\": \"scrollbar-small\"\n          },\n          {\n            \"name\": \"scrollbartrack-horizontal\"\n          },\n          {\n            \"name\": \"scrollbartrack-vertical\"\n          },\n          {\n            \"name\": \"separator\"\n          },\n          {\n            \"name\": \"spinner\"\n          },\n          {\n            \"name\": \"spinner-downbutton\"\n          },\n          {\n            \"name\": \"spinner-textfield\"\n          },\n          {\n            \"name\": \"spinner-upbutton\"\n          },\n          {\n            \"name\": \"statusbar\"\n          },\n          {\n            \"name\": \"statusbarpanel\"\n          },\n          {\n            \"name\": \"tab\"\n          },\n          {\n            \"name\": \"tabpanels\"\n          },\n          {\n            \"name\": \"tab-scroll-arrow-back\"\n          },\n          {\n            \"name\": \"tab-scroll-arrow-forward\"\n          },\n          {\n            \"name\": \"textfield\"\n          },\n          {\n            \"name\": \"textfield-multiline\"\n          },\n          {\n            \"name\": \"toolbar\"\n          },\n          {\n            \"name\": \"toolbox\"\n          },\n          {\n            \"name\": \"tooltip\"\n          },\n          {\n            \"name\": \"treeheadercell\"\n          },\n          {\n            \"name\": \"treeheadersortarrow\"\n          },\n          {\n            \"name\": \"treeitem\"\n          },\n          {\n            \"name\": \"treetwistyopen\"\n          },\n          {\n            \"name\": \"treeview\"\n          },\n          {\n            \"name\": \"treewisty\"\n          },\n          {\n            \"name\": \"window\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized\",\n        \"relevance\": 0,\n        \"description\": \"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-backface-visibility\",\n        \"browsers\": [\n          \"FF10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"hidden\"\n          },\n          {\n            \"name\": \"visible\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-background-clip\",\n        \"browsers\": [\n          \"FF1-3.6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"padding\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines the background painting area.\",\n        \"restrictions\": [\n          \"box\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-background-inline-policy\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"bounding-box\"\n          },\n          {\n            \"name\": \"continuous\"\n          },\n          {\n            \"name\": \"each-box\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-background-origin\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"-moz-border-bottom-colors\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>+ | none\",\n        \"relevance\": 0,\n        \"description\": \"Sets a list of colors for the bottom border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-border-image\",\n        \"browsers\": [\n          \"FF3.6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"Causes the middle part of the border-image to be preserved.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"repeat\",\n            \"description\": \"The image is tiled (repeated) to fill the area.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n          },\n          {\n            \"name\": \"space\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The image is stretched to fill the area.\"\n          },\n          {\n            \"name\": \"url()\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"number\",\n          \"url\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-border-left-colors\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>+ | none\",\n        \"relevance\": 0,\n        \"description\": \"Sets a list of colors for the bottom border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-border-right-colors\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>+ | none\",\n        \"relevance\": 0,\n        \"description\": \"Sets a list of colors for the bottom border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-border-top-colors\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>+ | none\",\n        \"relevance\": 0,\n        \"description\": \"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-align\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"baseline\",\n            \"description\": \"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"Any extra space is divided evenly, with half placed above the child and the other half placed after the child.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The height of each child is adjusted to that of the containing block.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-direction\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-flex\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-flexgroup\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-ordinal-group\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-orient\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"block-axis\",\n            \"description\": \"Elements are oriented along the box's axis.\"\n          },\n          {\n            \"name\": \"horizontal\",\n            \"description\": \"The box displays its children from left to right in a horizontal line.\"\n          },\n          {\n            \"name\": \"inline-axis\",\n            \"description\": \"Elements are oriented vertically.\"\n          },\n          {\n            \"name\": \"vertical\",\n            \"description\": \"The box displays its children from stacked from top to bottom vertically.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-pack\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-box-sizing\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"border-box\",\n            \"description\": \"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"\n          },\n          {\n            \"name\": \"content-box\",\n            \"description\": \"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element.\"\n          },\n          {\n            \"name\": \"padding-box\",\n            \"description\": \"The specified width and height (and respective min/max properties) on this element determine the padding box of the element.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Box Model addition in CSS3.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-count\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Determines the number of columns by the 'column-width' property and the element width.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the optimal number of columns into which the content of the element will be flowed.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-gap\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"User agent specific and typically equivalent to 1em.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-rule\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-rule-color\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the color of the column rule\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-rule-style\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the style of the rule between columns of an element.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-rule-width\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the width of the rule between columns. Negative values are not allowed.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"-moz-columns\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"A shorthand property which sets both 'column-width' and 'column-count'.\",\n        \"restrictions\": [\n          \"length\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-moz-column-width\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"This property describes the width of columns in multicol elements.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-moz-font-feature-settings\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"values\": [\n          {\n            \"name\": '\"c2cs\"'\n          },\n          {\n            \"name\": '\"dlig\"'\n          },\n          {\n            \"name\": '\"kern\"'\n          },\n          {\n            \"name\": '\"liga\"'\n          },\n          {\n            \"name\": '\"lnum\"'\n          },\n          {\n            \"name\": '\"onum\"'\n          },\n          {\n            \"name\": '\"smcp\"'\n          },\n          {\n            \"name\": '\"swsh\"'\n          },\n          {\n            \"name\": '\"tnum\"'\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"No change in glyph substitution or positioning occurs.\"\n          },\n          {\n            \"name\": \"off\",\n            \"browsers\": [\n              \"FF4\"\n            ]\n          },\n          {\n            \"name\": \"on\",\n            \"browsers\": [\n              \"FF4\"\n            ]\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.\",\n        \"restrictions\": [\n          \"string\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-moz-hyphens\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n          },\n          {\n            \"name\": \"manual\",\n            \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-perspective\",\n        \"browsers\": [\n          \"FF10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No perspective transform is applied.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-moz-perspective-origin\",\n        \"browsers\": [\n          \"FF10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n        \"restrictions\": [\n          \"position\",\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-moz-text-align-last\",\n        \"browsers\": [\n          \"FF12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The inline contents are centered within the line box.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-text-decoration-color\",\n        \"browsers\": [\n          \"FF6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-moz-text-decoration-line\",\n        \"browsers\": [\n          \"FF6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"line-through\",\n            \"description\": \"Each line of text has a line through the middle.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Neither produces nor inhibits text decoration.\"\n          },\n          {\n            \"name\": \"overline\",\n            \"description\": \"Each line of text has a line above it.\"\n          },\n          {\n            \"name\": \"underline\",\n            \"description\": \"Each line of text is underlined.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies what line decorations, if any, are added to the element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-text-decoration-style\",\n        \"browsers\": [\n          \"FF6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"dashed\",\n            \"description\": \"Produces a dashed line style.\"\n          },\n          {\n            \"name\": \"dotted\",\n            \"description\": \"Produces a dotted line.\"\n          },\n          {\n            \"name\": \"double\",\n            \"description\": \"Produces a double line.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Produces no line.\"\n          },\n          {\n            \"name\": \"solid\",\n            \"description\": \"Produces a solid line.\"\n          },\n          {\n            \"name\": \"wavy\",\n            \"description\": \"Produces a wavy line.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the line style for underline, line-through and overline text decoration.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-text-size-adjust\",\n        \"browsers\": [\n          \"FF\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Renderers must use the default size adjustment when displaying on a small device.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Renderers must not do size adjustment when displaying on a small device.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies a size adjustment for displaying text content in mobile browsers.\",\n        \"restrictions\": [\n          \"enum\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transform\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"matrix()\",\n            \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n          },\n          {\n            \"name\": \"matrix3d()\",\n            \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"perspective\",\n            \"description\": \"Specifies a perspective projection matrix.\"\n          },\n          {\n            \"name\": \"rotate()\",\n            \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n          },\n          {\n            \"name\": \"rotate3d()\",\n            \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n          },\n          {\n            \"name\": \"rotateX('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n          },\n          {\n            \"name\": \"rotateY('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n          },\n          {\n            \"name\": \"rotateZ('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n          },\n          {\n            \"name\": \"scale()\",\n            \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n          },\n          {\n            \"name\": \"scale3d()\",\n            \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n          },\n          {\n            \"name\": \"scaleX()\",\n            \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleY()\",\n            \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleZ()\",\n            \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n          },\n          {\n            \"name\": \"skew()\",\n            \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n          },\n          {\n            \"name\": \"skewX()\",\n            \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n          },\n          {\n            \"name\": \"skewY()\",\n            \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n          },\n          {\n            \"name\": \"translate()\",\n            \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n          },\n          {\n            \"name\": \"translate3d()\",\n            \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n          },\n          {\n            \"name\": \"translateX()\",\n            \"description\": \"Specifies a translation by the given amount in the X direction.\"\n          },\n          {\n            \"name\": \"translateY()\",\n            \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n          },\n          {\n            \"name\": \"translateZ()\",\n            \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transform-origin\",\n        \"browsers\": [\n          \"FF3.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin of transformation for an element.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transition\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"property\",\n          \"timing-function\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transition-delay\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transition-duration\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transition-property\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n        \"restrictions\": [\n          \"property\"\n        ]\n      },\n      {\n        \"name\": \"-moz-transition-timing-function\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"-moz-user-focus\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"ignore\"\n          },\n          {\n            \"name\": \"normal\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus\"\n          }\n        ],\n        \"description\": \"Used to indicate whether the element can have focus.\"\n      },\n      {\n        \"name\": \"-moz-user-select\",\n        \"browsers\": [\n          \"FF1.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\"\n          },\n          {\n            \"name\": \"element\"\n          },\n          {\n            \"name\": \"elements\"\n          },\n          {\n            \"name\": \"-moz-all\"\n          },\n          {\n            \"name\": \"-moz-none\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"text\"\n          },\n          {\n            \"name\": \"toggle\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls the appearance of selection.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-accelerator\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"false\",\n            \"description\": \"The element does not contain an accelerator key sequence.\"\n          },\n          {\n            \"name\": \"true\",\n            \"description\": \"The element contains an accelerator key sequence.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"false | true\",\n        \"relevance\": 0,\n        \"description\": \"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-behavior\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"IE only. Used to extend behaviors of the browser\",\n        \"restrictions\": [\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"-ms-block-progression\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"bt\",\n            \"description\": \"Bottom-to-top block flow. Layout is horizontal.\"\n          },\n          {\n            \"name\": \"lr\",\n            \"description\": \"Left-to-right direction. The flow orientation is vertical.\"\n          },\n          {\n            \"name\": \"rl\",\n            \"description\": \"Right-to-left direction. The flow orientation is vertical.\"\n          },\n          {\n            \"name\": \"tb\",\n            \"description\": \"Top-to-bottom direction. The flow orientation is horizontal.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"tb | rl | bt | lr\",\n        \"relevance\": 0,\n        \"description\": \"Sets the block-progression value and the flow orientation\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-content-zoom-chaining\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"chained\",\n            \"description\": \"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"A bounce effect is shown when the user hits a zoom limit during a manipulation.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | chained\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation.\"\n      },\n      {\n        \"name\": \"-ms-content-zooming\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The element is not zoomable.\"\n          },\n          {\n            \"name\": \"zoom\",\n            \"description\": \"The element is zoomable.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | zoom\",\n        \"relevance\": 0,\n        \"description\": \"Specifies whether zooming is enabled.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-content-zoom-limit\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>\",\n        \"relevance\": 0,\n        \"description\": \"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.\",\n        \"restrictions\": [\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-content-zoom-limit-max\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<percentage>\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the maximum zoom factor.\",\n        \"restrictions\": [\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-content-zoom-limit-min\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<percentage>\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the minimum zoom factor.\",\n        \"restrictions\": [\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-content-zoom-snap\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"mandatory\",\n            \"description\": \"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that zooming is unaffected by any defined snap-points.\"\n          },\n          {\n            \"name\": \"proximity\",\n            \"description\": 'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop \"close enough\" to a snap-point.'\n          },\n          {\n            \"name\": \"snapInterval(100%, 100%)\",\n            \"description\": \"Specifies where the snap-points will be placed.\"\n          },\n          {\n            \"name\": \"snapList()\",\n            \"description\": \"Specifies the position of individual snap-points as a comma-separated list of zoom factors.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>\",\n        \"relevance\": 0,\n        \"description\": \"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties.\"\n      },\n      {\n        \"name\": \"-ms-content-zoom-snap-points\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"snapInterval(100%, 100%)\",\n            \"description\": \"Specifies where the snap-points will be placed.\"\n          },\n          {\n            \"name\": \"snapList()\",\n            \"description\": \"Specifies the position of individual snap-points as a comma-separated list of zoom factors.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )\",\n        \"relevance\": 0,\n        \"description\": \"Defines where zoom snap-points are located.\"\n      },\n      {\n        \"name\": \"-ms-content-zoom-snap-type\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"mandatory\",\n            \"description\": \"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that zooming is unaffected by any defined snap-points.\"\n          },\n          {\n            \"name\": \"proximity\",\n            \"description\": 'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop \"close enough\" to a snap-point.'\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | proximity | mandatory\",\n        \"relevance\": 0,\n        \"description\": \"Specifies how zooming is affected by defined snap-points.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-filter\",\n        \"browsers\": [\n          \"IE8-9\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<string>\",\n        \"relevance\": 0,\n        \"description\": \"IE only. Used to produce visual effects.\",\n        \"restrictions\": [\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Retrieves the value of the main size property as the used 'flex-basis'.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Expands to '0 0 auto'.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.\",\n        \"restrictions\": [\n          \"length\",\n          \"number\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-align\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"baseline\",\n            \"description\": \"If the flex item\\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The flex item\\u2019s margin box is centered in the cross axis within the line.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Aligns flex items along the cross axis of the current line of the flex container.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-direction\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"column\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"column-reverse\",\n            \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n          },\n          {\n            \"name\": \"row\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"row-reverse\",\n            \"description\": \"Same as 'row', except the main-start and main-end directions are swapped.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\\u2019s main axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-flow\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"column\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"column-reverse\",\n            \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n          },\n          {\n            \"name\": \"nowrap\",\n            \"description\": \"The flex container is single-line.\"\n          },\n          {\n            \"name\": \"row\",\n            \"description\": \"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"\n          },\n          {\n            \"name\": \"wrap\",\n            \"description\": \"The flexbox is multi-line.\"\n          },\n          {\n            \"name\": \"wrap-reverse\",\n            \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how flexbox items are placed in the flexbox.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-item-align\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Computes to the value of 'align-items' on the element\\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself.\"\n          },\n          {\n            \"name\": \"baseline\",\n            \"description\": \"If the flex item\\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The flex item\\u2019s margin box is centered in the cross axis within the line.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Allows the default alignment along the cross axis to be overridden for individual flex items.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-line-pack\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Lines are packed toward the center of the flex container.\"\n          },\n          {\n            \"name\": \"distribute\",\n            \"description\": \"Lines are evenly distributed in the flex container, with half-size spaces on either end.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"Lines are packed toward the end of the flex container.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"Lines are evenly distributed in the flex container.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"Lines are packed toward the start of the flex container.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"Lines stretch to take up the remaining space.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Aligns a flex container\\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-order\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-pack\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Flex items are packed toward the center of the line.\"\n          },\n          {\n            \"name\": \"distribute\",\n            \"description\": \"Flex items are evenly distributed in the line, with half-size spaces on either end.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"Flex items are packed toward the end of the line.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"Flex items are evenly distributed in the line.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"Flex items are packed toward the start of the line.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Aligns flex items along the main axis of the current line of the flex container.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flex-wrap\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"nowrap\",\n            \"description\": \"The flex container is single-line.\"\n          },\n          {\n            \"name\": \"wrap\",\n            \"description\": \"The flexbox is multi-line.\"\n          },\n          {\n            \"name\": \"wrap-reverse\",\n            \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flow-from\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The block container is not a CSS Region.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ none | <custom-ident> ]#\",\n        \"relevance\": 0,\n        \"description\": \"Makes a block container a region and associates it with a named flow.\",\n        \"restrictions\": [\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"-ms-flow-into\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The element is not moved to a named flow and normal CSS processing takes place.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ none | <custom-ident> ]#\",\n        \"relevance\": 0,\n        \"description\": \"Places an element or its contents into a named flow.\",\n        \"restrictions\": [\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-column\",\n        \"browsers\": [\n          \"E12\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"end\"\n          },\n          {\n            \"name\": \"start\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Used to place grid items and explicitly defined grid cells in the Grid.\",\n        \"restrictions\": [\n          \"integer\",\n          \"string\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-column-align\",\n        \"browsers\": [\n          \"E12\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Places the center of the Grid Item's margin box at the center of the Grid Item's column.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Aligns the columns in a grid.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-columns\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | <track-list> | <auto-track-list>\",\n        \"relevance\": 0,\n        \"description\": \"Lays out the columns of the grid.\"\n      },\n      {\n        \"name\": \"-ms-grid-column-span\",\n        \"browsers\": [\n          \"E12\",\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the number of columns to span.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-layer\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-row\",\n        \"browsers\": [\n          \"E12\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"end\"\n          },\n          {\n            \"name\": \"start\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"grid-row is used to place grid items and explicitly defined grid cells in the Grid.\",\n        \"restrictions\": [\n          \"integer\",\n          \"string\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-row-align\",\n        \"browsers\": [\n          \"E12\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"Places the center of the Grid Item's margin box at the center of the Grid Item's row.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Aligns the rows in a grid.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-grid-rows\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | <track-list> | <auto-track-list>\",\n        \"relevance\": 0,\n        \"description\": \"Lays out the columns of the grid.\"\n      },\n      {\n        \"name\": \"-ms-grid-row-span\",\n        \"browsers\": [\n          \"E12\",\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the number of rows to span.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-high-contrast-adjust\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Properties will be adjusted as applicable.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No adjustments will be applied.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | none\",\n        \"relevance\": 0,\n        \"description\": \"Specifies if properties should be adjusted in high contrast mode.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-hyphenate-limit-chars\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent chooses a value that adapts to the current layout.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | <integer>{1,3}\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the minimum number of characters in a hyphenated word.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-hyphenate-limit-lines\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"no-limit\",\n            \"description\": \"There is no limit.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"no-limit | <integer>\",\n        \"relevance\": 0,\n        \"description\": \"Indicates the maximum number of successive hyphenated lines in an element.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-hyphenate-limit-zone\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<percentage> | <length>\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.\",\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-hyphens\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n          },\n          {\n            \"name\": \"manual\",\n            \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-ime-mode\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"active\",\n            \"description\": \"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"No change is made to the current input method editor state. This is the default.\"\n          },\n          {\n            \"name\": \"disabled\",\n            \"description\": \"The input method editor is disabled and may not be activated by the user.\"\n          },\n          {\n            \"name\": \"inactive\",\n            \"description\": \"The input method editor is initially inactive, but the user may activate it if they wish.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"The IME state should be normal; this value can be used in a user style sheet to override the page setting.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls the state of the input method editor for text fields.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-interpolation-mode\",\n        \"browsers\": [\n          \"IE7\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"bicubic\"\n          },\n          {\n            \"name\": \"nearest-neighbor\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Gets or sets the interpolation (resampling) method used to stretch images.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-layout-grid\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"char\",\n            \"description\": \"Any of the range of character values available to the -ms-layout-grid-char property.\"\n          },\n          {\n            \"name\": \"line\",\n            \"description\": \"Any of the range of line values available to the -ms-layout-grid-line property.\"\n          },\n          {\n            \"name\": \"mode\",\n            \"description\": \"Any of the range of mode values available to the -ms-layout-grid-mode property.\"\n          },\n          {\n            \"name\": \"type\",\n            \"description\": \"Any of the range of type values available to the -ms-layout-grid-type property.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets or retrieves the composite document grid properties that specify the layout of text characters.\"\n      },\n      {\n        \"name\": \"-ms-layout-grid-char\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Largest character in the font of the element is used to set the character grid.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Default. No character grid is set.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets or retrieves the size of the character grid used for rendering the text content of an element.\",\n        \"restrictions\": [\n          \"enum\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-layout-grid-line\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Largest character in the font of the element is used to set the character grid.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Default. No grid line is set.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets or retrieves the gridline value used for rendering the text content of an element.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-layout-grid-mode\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"both\",\n            \"description\": \"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element.\"\n          },\n          {\n            \"name\": \"char\",\n            \"description\": \"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled.\"\n          },\n          {\n            \"name\": \"line\",\n            \"description\": \"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No grid is used.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Gets or sets whether the text layout grid uses two dimensions.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-layout-grid-type\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"fixed\",\n            \"description\": \"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default.\"\n          },\n          {\n            \"name\": \"loose\",\n            \"description\": \"Default. Grid used for Japanese and Korean characters.\"\n          },\n          {\n            \"name\": \"strict\",\n            \"description\": \"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets or retrieves the type of grid used for rendering the text content of an element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-line-break\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.\"\n          },\n          {\n            \"name\": \"keep-all\",\n            \"description\": \"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean.\"\n          },\n          {\n            \"name\": \"newspaper\",\n            \"description\": \"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Breaks CJK scripts using a normal set of line-breaking rules.\"\n          },\n          {\n            \"name\": \"strict\",\n            \"description\": \"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies what set of line breaking restrictions are in effect within the element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-overflow-style\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"No preference, UA should use the first scrolling method in the list that it supports.\"\n          },\n          {\n            \"name\": \"-ms-autohiding-scrollbar\",\n            \"description\": \"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates the element does not display scrollbars or panning indicators, even when its content overflows.\"\n          },\n          {\n            \"name\": \"scrollbar\",\n            \"description\": 'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a \"thumb\" to drag up and down (or left and right) to move the contents of the element.'\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | none | scrollbar | -ms-autohiding-scrollbar\",\n        \"relevance\": 0,\n        \"description\": \"Specify whether content is clipped when it overflows the element's content area.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-perspective\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No perspective transform is applied.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-perspective-origin\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n        \"restrictions\": [\n          \"position\",\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-perspective-origin-x\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin for the perspective property. It effectively sets the X  position at which the viewer appears to be looking at the children of the element.\",\n        \"restrictions\": [\n          \"position\",\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-perspective-origin-y\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.\",\n        \"restrictions\": [\n          \"position\",\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-progress-appearance\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"bar\"\n          },\n          {\n            \"name\": \"ring\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-3dlight-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-arrow-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the arrow elements of a scroll arrow.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-base-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-darkshadow-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the gutter of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-face-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-highlight-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-shadow-color\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scrollbar-track-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the track element of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-chaining\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"chained\"\n          },\n          {\n            \"name\": \"none\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"chained | none\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.\",\n        \"restrictions\": [\n          \"enum\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-limit\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-limit-x-max\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | <length>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that specifies the maximum value for the scrollLeft property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-limit-x-min\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that specifies the minimum value for the scrollLeft property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-limit-y-max\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | <length>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that specifies the maximum value for the scrollTop property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-limit-y-min\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that specifies the minimum value for the scrollTop property.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-rails\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"railed\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | railed\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).\",\n        \"restrictions\": [\n          \"enum\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-snap-points-x\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"snapInterval(100%, 100%)\"\n          },\n          {\n            \"name\": \"snapList()\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that defines where snap-points will be located along the x-axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-snap-points-y\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"snapInterval(100%, 100%)\"\n          },\n          {\n            \"name\": \"snapList()\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that defines where snap-points will be located along the y-axis.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-snap-type\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The visual viewport of this scroll container must ignore snap points, if any, when scrolled.\"\n          },\n          {\n            \"name\": \"mandatory\",\n            \"description\": \"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations.\"\n          },\n          {\n            \"name\": \"proximity\",\n            \"description\": \"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | proximity | mandatory\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-snap-x\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"mandatory\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"proximity\"\n          },\n          {\n            \"name\": \"snapInterval(100%, 100%)\"\n          },\n          {\n            \"name\": \"snapList()\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-snap-y\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"mandatory\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"proximity\"\n          },\n          {\n            \"name\": \"snapInterval(100%, 100%)\"\n          },\n          {\n            \"name\": \"snapList()\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-scroll-translation\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"vertical-to-horizontal\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | vertical-to-horizontal\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-align-last\",\n        \"browsers\": [\n          \"E\",\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The inline contents are centered within the line box.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-autospace\",\n        \"browsers\": [\n          \"E\",\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"ideograph-alpha\",\n            \"description\": \"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew.\"\n          },\n          {\n            \"name\": \"ideograph-numeric\",\n            \"description\": \"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs.\"\n          },\n          {\n            \"name\": \"ideograph-parenthesis\",\n            \"description\": \"Creates extra spacing between normal (non wide) parenthesis and ideographs.\"\n          },\n          {\n            \"name\": \"ideograph-space\",\n            \"description\": \"Extends the width of the space character while surrounded by ideographs.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No extra space is created.\"\n          },\n          {\n            \"name\": \"punctuation\",\n            \"description\": \"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space\",\n        \"relevance\": 0,\n        \"description\": \"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-combine-horizontal\",\n        \"browsers\": [\n          \"E\",\n          \"IE11\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box.\"\n          },\n          {\n            \"name\": \"digits\",\n            \"description\": \"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030\\u2013U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No special processing.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"This property specifies the combination of multiple characters into the space of a single character.\",\n        \"restrictions\": [\n          \"enum\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-justify\",\n        \"browsers\": [\n          \"E\",\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality.\"\n          },\n          {\n            \"name\": \"distribute\",\n            \"description\": \"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property.\"\n          },\n          {\n            \"name\": \"inter-cluster\",\n            \"description\": \"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai.\"\n          },\n          {\n            \"name\": \"inter-ideograph\",\n            \"description\": \"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages.\"\n          },\n          {\n            \"name\": \"inter-word\",\n            \"description\": \"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean.\"\n          },\n          {\n            \"name\": \"kashida\",\n            \"description\": \"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-kashida-space\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.\",\n        \"restrictions\": [\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-overflow\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"clip\",\n            \"description\": \"Clip inline content that overflows. Characters may be only partially rendered.\"\n          },\n          {\n            \"name\": \"ellipsis\",\n            \"description\": \"Render an ellipsis character (U+2026) to represent clipped inline content.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Text can overflow for example when it is prevented from wrapping\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-size-adjust\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Renderers must use the default size adjustment when displaying on a small device.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Renderers must not do size adjustment when displaying on a small device.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies a size adjustment for displaying text content in mobile browsers.\",\n        \"restrictions\": [\n          \"enum\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-text-underline-position\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alphabetic\",\n            \"description\": \"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over.\"\n          },\n          {\n            \"name\": \"over\",\n            \"description\": \"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides.\"\n          },\n          {\n            \"name\": \"under\",\n            \"description\": \"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-touch-action\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The element is a passive element, with several exceptions.\"\n          },\n          {\n            \"name\": \"double-tap-zoom\",\n            \"description\": \"The element will zoom on double-tap.\"\n          },\n          {\n            \"name\": \"manipulation\",\n            \"description\": \"The element is a manipulation-causing element.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The element is a manipulation-blocking element.\"\n          },\n          {\n            \"name\": \"pan-x\",\n            \"description\": \"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content.\"\n          },\n          {\n            \"name\": \"pan-y\",\n            \"description\": \"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content.\"\n          },\n          {\n            \"name\": \"pinch-zoom\",\n            \"description\": \"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-touch-select\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"grippers\",\n            \"description\": \"Grippers are always on.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Grippers are always off.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"grippers | none\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-transform\",\n        \"browsers\": [\n          \"IE9-9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"matrix()\",\n            \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n          },\n          {\n            \"name\": \"matrix3d()\",\n            \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"rotate()\",\n            \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n          },\n          {\n            \"name\": \"rotate3d()\",\n            \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n          },\n          {\n            \"name\": \"rotateX('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n          },\n          {\n            \"name\": \"rotateY('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n          },\n          {\n            \"name\": \"rotateZ('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n          },\n          {\n            \"name\": \"scale()\",\n            \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n          },\n          {\n            \"name\": \"scale3d()\",\n            \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n          },\n          {\n            \"name\": \"scaleX()\",\n            \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleY()\",\n            \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleZ()\",\n            \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n          },\n          {\n            \"name\": \"skew()\",\n            \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n          },\n          {\n            \"name\": \"skewX()\",\n            \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n          },\n          {\n            \"name\": \"skewY()\",\n            \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n          },\n          {\n            \"name\": \"translate()\",\n            \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n          },\n          {\n            \"name\": \"translate3d()\",\n            \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n          },\n          {\n            \"name\": \"translateX()\",\n            \"description\": \"Specifies a translation by the given amount in the X direction.\"\n          },\n          {\n            \"name\": \"translateY()\",\n            \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n          },\n          {\n            \"name\": \"translateZ()\",\n            \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-transform-origin\",\n        \"browsers\": [\n          \"IE9-9\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin of transformation for an element.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-transform-origin-x\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"The x coordinate of the origin for transforms applied to an element with respect to its border box.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-transform-origin-y\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"The y coordinate of the origin for transforms applied to an element with respect to its border box.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-transform-origin-z\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"The z coordinate of the origin for transforms applied to an element with respect to its border box.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-user-select\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"element\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"text\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | element | text\",\n        \"relevance\": 0,\n        \"description\": \"Controls the appearance of selection.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-word-break\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"break-all\",\n            \"description\": \"Lines may break between any two grapheme clusters for non-CJK scripts.\"\n          },\n          {\n            \"name\": \"keep-all\",\n            \"description\": \"Block characters can no longer create implied break points.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Breaks non-CJK scripts according to their own rules.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies line break opportunities for non-CJK scripts.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-word-wrap\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"break-word\",\n            \"description\": \"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Lines may break only at allowed break points.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-wrap-flow\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For floats an exclusion is created, for all other elements an exclusion is not created.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Inline flow content can flow on all sides of the exclusion.\"\n          },\n          {\n            \"name\": \"clear\",\n            \"description\": \"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty.\"\n          },\n          {\n            \"name\": \"maximum\",\n            \"description\": \"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty.\"\n          },\n          {\n            \"name\": \"minimum\",\n            \"description\": \"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content\\u2019s containing block, and must leave the other edge of the exclusion empty.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | both | start | end | maximum | clear\",\n        \"relevance\": 0,\n        \"description\": \"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-wrap-margin\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 0,\n        \"description\": \"Gets or sets a value that is used to offset the inner wrap shape from other shapes.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-wrap-through\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element.\"\n          },\n          {\n            \"name\": \"wrap\",\n            \"description\": \"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"wrap | none\",\n        \"relevance\": 0,\n        \"description\": \"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-writing-mode\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"bt-lr\"\n          },\n          {\n            \"name\": \"bt-rl\"\n          },\n          {\n            \"name\": \"lr-bt\"\n          },\n          {\n            \"name\": \"lr-tb\"\n          },\n          {\n            \"name\": \"rl-bt\"\n          },\n          {\n            \"name\": \"rl-tb\"\n          },\n          {\n            \"name\": \"tb-lr\"\n          },\n          {\n            \"name\": \"tb-rl\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property for both 'direction' and 'block-progression'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-ms-zoom\",\n        \"browsers\": [\n          \"IE8\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets or retrieves the magnification scale of the object.\",\n        \"restrictions\": [\n          \"enum\",\n          \"integer\",\n          \"number\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-zoom-animation\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"default\"\n          },\n          {\n            \"name\": \"none\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Gets or sets a value that indicates whether an animation is used when zooming.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"nav-down\",\n        \"browsers\": [\n          \"O9.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n          },\n          {\n            \"name\": \"current\",\n            \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n          },\n          {\n            \"name\": \"root\",\n            \"description\": \"Indicates that the user agent should target the full window.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides an way to control directional focus navigation.\",\n        \"restrictions\": [\n          \"enum\",\n          \"identifier\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"nav-index\",\n        \"browsers\": [\n          \"O9.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The element's sequential navigation order is assigned automatically by the user agent.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"nav-left\",\n        \"browsers\": [\n          \"O9.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n          },\n          {\n            \"name\": \"current\",\n            \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n          },\n          {\n            \"name\": \"root\",\n            \"description\": \"Indicates that the user agent should target the full window.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides an way to control directional focus navigation.\",\n        \"restrictions\": [\n          \"enum\",\n          \"identifier\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"nav-right\",\n        \"browsers\": [\n          \"O9.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n          },\n          {\n            \"name\": \"current\",\n            \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n          },\n          {\n            \"name\": \"root\",\n            \"description\": \"Indicates that the user agent should target the full window.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides an way to control directional focus navigation.\",\n        \"restrictions\": [\n          \"enum\",\n          \"identifier\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"nav-up\",\n        \"browsers\": [\n          \"O9.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n          },\n          {\n            \"name\": \"current\",\n            \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n          },\n          {\n            \"name\": \"root\",\n            \"description\": \"Indicates that the user agent should target the full window.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides an way to control directional focus navigation.\",\n        \"restrictions\": [\n          \"enum\",\n          \"identifier\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"negative\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"<symbol> <symbol>?\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.\",\n        \"restrictions\": [\n          \"image\",\n          \"identifier\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"enum\",\n          \"timing-function\",\n          \"identifier\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-delay\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines when the animation will start.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-direction\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-duration\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-fill-mode\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines what values are applied by the animation outside the time it is executing.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-iteration-count\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n        \"restrictions\": [\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-name\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-play-state\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"paused\",\n            \"description\": \"A running animation will be paused.\"\n          },\n          {\n            \"name\": \"running\",\n            \"description\": \"Resume playback of a paused animation.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines whether the animation is running or paused.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-animation-timing-function\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"object-fit\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S10\",\n          \"C32\",\n          \"O19\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"contain\",\n            \"description\": \"The replaced content is sized to maintain its aspect ratio while fitting within the element\\u2019s content box: its concrete object size is resolved as a contain constraint against the element's used width and height.\"\n          },\n          {\n            \"name\": \"cover\",\n            \"description\": \"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element\\u2019s used width and height.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"The replaced content is sized to fill the element\\u2019s content box: the object's concrete object size is the element's used width and height.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The replaced content is not resized to fit inside the element's content box\"\n          },\n          {\n            \"name\": \"scale-down\",\n            \"description\": \"Size the content as if \\u2018none\\u2019 or \\u2018contain\\u2019 were specified, whichever would result in a smaller concrete object size.\"\n          }\n        ],\n        \"syntax\": \"fill | contain | cover | none | scale-down\",\n        \"relevance\": 68,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/object-fit\"\n          }\n        ],\n        \"description\": \"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"object-position\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S10\",\n          \"C32\",\n          \"O19\"\n        ],\n        \"syntax\": \"<position>\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/object-position\"\n          }\n        ],\n        \"description\": \"Determines the alignment of the replaced element inside its box.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-o-border-image\",\n        \"browsers\": [\n          \"O11.6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"Causes the middle part of the border-image to be preserved.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"repeat\",\n            \"description\": \"The image is tiled (repeated) to fill the area.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n          },\n          {\n            \"name\": \"space\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The image is stretched to fill the area.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"number\",\n          \"image\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-object-fit\",\n        \"browsers\": [\n          \"O10.6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"contain\",\n            \"description\": \"The replaced content is sized to maintain its aspect ratio while fitting within the element\\u2019s content box: its concrete object size is resolved as a contain constraint against the element's used width and height.\"\n          },\n          {\n            \"name\": \"cover\",\n            \"description\": \"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element\\u2019s used width and height.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"The replaced content is sized to fill the element\\u2019s content box: the object's concrete object size is the element's used width and height.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The replaced content is not resized to fit inside the element's content box\"\n          },\n          {\n            \"name\": \"scale-down\",\n            \"description\": \"Size the content as if \\u2018none\\u2019 or \\u2018contain\\u2019 were specified, whichever would result in a smaller concrete object size.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-object-position\",\n        \"browsers\": [\n          \"O10.6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines the alignment of the replaced element inside its box.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"opacity\",\n        \"syntax\": \"<alpha-value>\",\n        \"relevance\": 93,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/opacity\"\n          }\n        ],\n        \"description\": \"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.\",\n        \"restrictions\": [\n          \"number(0-1)\"\n        ]\n      },\n      {\n        \"name\": \"order\",\n        \"syntax\": \"<integer>\",\n        \"relevance\": 63,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/order\"\n          }\n        ],\n        \"description\": \"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"orphans\",\n        \"browsers\": [\n          \"E12\",\n          \"S1.3\",\n          \"C25\",\n          \"IE8\",\n          \"O9.2\"\n        ],\n        \"syntax\": \"<integer>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/orphans\"\n          }\n        ],\n        \"description\": \"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-o-table-baseline\",\n        \"browsers\": [\n          \"O9.6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines which row of a inline-table should be used as baseline of inline-table.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-o-tab-size\",\n        \"browsers\": [\n          \"O10.6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.\",\n        \"restrictions\": [\n          \"integer\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-o-text-overflow\",\n        \"browsers\": [\n          \"O10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"clip\",\n            \"description\": \"Clip inline content that overflows. Characters may be only partially rendered.\"\n          },\n          {\n            \"name\": \"ellipsis\",\n            \"description\": \"Render an ellipsis character (U+2026) to represent clipped inline content.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Text can overflow for example when it is prevented from wrapping\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-transform\",\n        \"browsers\": [\n          \"O10.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"matrix()\",\n            \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n          },\n          {\n            \"name\": \"matrix3d()\",\n            \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"rotate()\",\n            \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n          },\n          {\n            \"name\": \"rotate3d()\",\n            \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n          },\n          {\n            \"name\": \"rotateX('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n          },\n          {\n            \"name\": \"rotateY('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n          },\n          {\n            \"name\": \"rotateZ('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n          },\n          {\n            \"name\": \"scale()\",\n            \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n          },\n          {\n            \"name\": \"scale3d()\",\n            \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n          },\n          {\n            \"name\": \"scaleX()\",\n            \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleY()\",\n            \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleZ()\",\n            \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n          },\n          {\n            \"name\": \"skew()\",\n            \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n          },\n          {\n            \"name\": \"skewX()\",\n            \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n          },\n          {\n            \"name\": \"skewY()\",\n            \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n          },\n          {\n            \"name\": \"translate()\",\n            \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n          },\n          {\n            \"name\": \"translate3d()\",\n            \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n          },\n          {\n            \"name\": \"translateX()\",\n            \"description\": \"Specifies a translation by the given amount in the X direction.\"\n          },\n          {\n            \"name\": \"translateY()\",\n            \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n          },\n          {\n            \"name\": \"translateZ()\",\n            \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-transform-origin\",\n        \"browsers\": [\n          \"O10.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin of transformation for an element.\",\n        \"restrictions\": [\n          \"positon\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-o-transition\",\n        \"browsers\": [\n          \"O11.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"property\",\n          \"timing-function\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-o-transition-delay\",\n        \"browsers\": [\n          \"O11.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-o-transition-duration\",\n        \"browsers\": [\n          \"O11.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-o-transition-property\",\n        \"browsers\": [\n          \"O11.5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n        \"restrictions\": [\n          \"property\"\n        ]\n      },\n      {\n        \"name\": \"-o-transition-timing-function\",\n        \"browsers\": [\n          \"O11.5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"offset-block-end\",\n        \"browsers\": [\n          \"FF41\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Logical 'bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"offset-block-start\",\n        \"browsers\": [\n          \"FF41\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Logical 'top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"offset-inline-end\",\n        \"browsers\": [\n          \"FF41\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Logical 'right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"offset-inline-start\",\n        \"browsers\": [\n          \"FF41\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Logical 'left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"outline\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Permits the user agent to render a custom outline style, typically the default platform style.\"\n          },\n          {\n            \"name\": \"invert\",\n            \"description\": \"Performs a color inversion on the pixels on the screen.\"\n          }\n        ],\n        \"syntax\": \"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]\",\n        \"relevance\": 88,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline\"\n          }\n        ],\n        \"description\": \"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"outline-color\",\n        \"values\": [\n          {\n            \"name\": \"invert\",\n            \"description\": \"Performs a color inversion on the pixels on the screen.\"\n          }\n        ],\n        \"syntax\": \"<color> | invert\",\n        \"relevance\": 55,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-color\"\n          }\n        ],\n        \"description\": \"The color of the outline.\",\n        \"restrictions\": [\n          \"enum\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"outline-offset\",\n        \"browsers\": [\n          \"E15\",\n          \"FF1.5\",\n          \"S1.2\",\n          \"C1\",\n          \"O9.5\"\n        ],\n        \"syntax\": \"<length>\",\n        \"relevance\": 69,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-offset\"\n          }\n        ],\n        \"description\": \"Offset the outline and draw it beyond the border edge.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"outline-style\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Permits the user agent to render a custom outline style, typically the default platform style.\"\n          }\n        ],\n        \"syntax\": \"auto | <'border-style'>\",\n        \"relevance\": 61,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-style\"\n          }\n        ],\n        \"description\": \"Style of the outline.\",\n        \"restrictions\": [\n          \"line-style\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"outline-width\",\n        \"syntax\": \"<line-width>\",\n        \"relevance\": 61,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-width\"\n          }\n        ],\n        \"description\": \"Width of the outline.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"overflow\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"\n          },\n          {\n            \"name\": \"hidden\",\n            \"description\": \"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"\n          },\n          {\n            \"name\": \"-moz-hidden-unscrollable\",\n            \"description\": \"Same as the standardized 'clip', except doesn\\u2019t establish a block formatting context.\"\n          },\n          {\n            \"name\": \"scroll\",\n            \"description\": \"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped.\"\n          },\n          {\n            \"name\": \"visible\",\n            \"description\": \"Content is not clipped, i.e., it may be rendered outside the content box.\"\n          }\n        ],\n        \"syntax\": \"[ visible | hidden | clip | scroll | auto ]{1,2}\",\n        \"relevance\": 93,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow\"\n          }\n        ],\n        \"description\": \"Shorthand for setting 'overflow-x' and 'overflow-y'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"overflow-wrap\",\n        \"values\": [\n          {\n            \"name\": \"break-word\",\n            \"description\": \"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Lines may break only at allowed break points.\"\n          }\n        ],\n        \"syntax\": \"normal | break-word | anywhere\",\n        \"relevance\": 66,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap\"\n          }\n        ],\n        \"description\": \"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"overflow-x\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"\n          },\n          {\n            \"name\": \"hidden\",\n            \"description\": \"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"\n          },\n          {\n            \"name\": \"scroll\",\n            \"description\": \"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped.\"\n          },\n          {\n            \"name\": \"visible\",\n            \"description\": \"Content is not clipped, i.e., it may be rendered outside the content box.\"\n          }\n        ],\n        \"syntax\": \"visible | hidden | clip | scroll | auto\",\n        \"relevance\": 81,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-x\"\n          }\n        ],\n        \"description\": \"Specifies the handling of overflow in the horizontal direction.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"overflow-y\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"\n          },\n          {\n            \"name\": \"hidden\",\n            \"description\": \"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"\n          },\n          {\n            \"name\": \"scroll\",\n            \"description\": \"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped.\"\n          },\n          {\n            \"name\": \"visible\",\n            \"description\": \"Content is not clipped, i.e., it may be rendered outside the content box.\"\n          }\n        ],\n        \"syntax\": \"visible | hidden | clip | scroll | auto\",\n        \"relevance\": 83,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-y\"\n          }\n        ],\n        \"description\": \"Specifies the handling of overflow in the vertical direction.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"pad\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"<integer> && <symbol>\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies a \\u201Cfixed-width\\u201D counter style, where representations shorter than the pad value are padded with a particular <symbol>\",\n        \"restrictions\": [\n          \"integer\",\n          \"image\",\n          \"string\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"padding\",\n        \"values\": [],\n        \"syntax\": \"[ <length> | <percentage> ]{1,4}\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-bottom\",\n        \"syntax\": \"<length> | <percentage>\",\n        \"relevance\": 89,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-bottom\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-block-end\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'padding-left'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-block-end\"\n          }\n        ],\n        \"description\": \"Logical 'padding-bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-block-start\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'padding-left'>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-block-start\"\n          }\n        ],\n        \"description\": \"Logical 'padding-top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-inline-end\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'padding-left'>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end\"\n          }\n        ],\n        \"description\": \"Logical 'padding-right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-inline-start\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S12.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"syntax\": \"<'padding-left'>\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start\"\n          }\n        ],\n        \"description\": \"Logical 'padding-left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-left\",\n        \"syntax\": \"<length> | <percentage>\",\n        \"relevance\": 91,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-left\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-right\",\n        \"syntax\": \"<length> | <percentage>\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-right\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"padding-top\",\n        \"syntax\": \"<length> | <percentage>\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-top\"\n          }\n        ],\n        \"description\": \"Shorthand property to set values for the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"page-break-after\",\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page break after generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page break after the generated box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"syntax\": \"auto | always | avoid | left | right | recto | verso\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/page-break-after\"\n          }\n        ],\n        \"description\": \"Defines rules for page breaks after an element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"page-break-before\",\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page break before the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page break before the generated box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"syntax\": \"auto | always | avoid | left | right | recto | verso\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/page-break-before\"\n          }\n        ],\n        \"description\": \"Defines rules for page breaks before an element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"page-break-inside\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page break inside the generated box.\"\n          }\n        ],\n        \"syntax\": \"auto | avoid\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/page-break-inside\"\n          }\n        ],\n        \"description\": \"Defines rules for page breaks inside an element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"paint-order\",\n        \"browsers\": [\n          \"E17\",\n          \"FF60\",\n          \"S8\",\n          \"C35\",\n          \"O22\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"fill\"\n          },\n          {\n            \"name\": \"markers\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers.\"\n          },\n          {\n            \"name\": \"stroke\"\n          }\n        ],\n        \"syntax\": \"normal | [ fill || stroke || markers ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/paint-order\"\n          }\n        ],\n        \"description\": \"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"perspective\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No perspective transform is applied.\"\n          }\n        ],\n        \"syntax\": \"none | <length>\",\n        \"relevance\": 55,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/perspective\"\n          }\n        ],\n        \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n        \"restrictions\": [\n          \"length\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"perspective-origin\",\n        \"syntax\": \"<position>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/perspective-origin\"\n          }\n        ],\n        \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n        \"restrictions\": [\n          \"position\",\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"pointer-events\",\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"The given element can be the target element for pointer events whenever the pointer is over the interior of the element.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The given element does not receive pointer events.\"\n          },\n          {\n            \"name\": \"painted\",\n            \"description\": 'The given element can be the target element for pointer events when the pointer is over a \"painted\" area. '\n          },\n          {\n            \"name\": \"stroke\",\n            \"description\": \"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element.\"\n          },\n          {\n            \"name\": \"visible\",\n            \"description\": \"The given element can be the target element for pointer events when the \\u2018visibility\\u2019 property is set to visible and the pointer is over either the interior or the perimeter of the element.\"\n          },\n          {\n            \"name\": \"visibleFill\",\n            \"description\": \"The given element can be the target element for pointer events when the \\u2018visibility\\u2019 property is set to visible and when the pointer is over the interior of the element.\"\n          },\n          {\n            \"name\": \"visiblePainted\",\n            \"description\": \"The given element can be the target element for pointer events when the \\u2018visibility\\u2019 property is set to visible and when the pointer is over a \\u2018painted\\u2019 area.\"\n          },\n          {\n            \"name\": \"visibleStroke\",\n            \"description\": \"The given element can be the target element for pointer events when the \\u2018visibility\\u2019 property is set to visible and when the pointer is over the perimeter of the element.\"\n          }\n        ],\n        \"syntax\": \"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit\",\n        \"relevance\": 82,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/pointer-events\"\n          }\n        ],\n        \"description\": \"Specifies under what circumstances a given element can be the target element for a pointer event.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"position\",\n        \"values\": [\n          {\n            \"name\": \"absolute\",\n            \"description\": \"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'.\"\n          },\n          {\n            \"name\": \"fixed\",\n            \"description\": \"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins.\"\n          },\n          {\n            \"name\": \"-ms-page\",\n            \"description\": \"The box's position is calculated according to the 'absolute' model.\"\n          },\n          {\n            \"name\": \"relative\",\n            \"description\": \"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position.\"\n          },\n          {\n            \"name\": \"static\",\n            \"description\": \"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply.\"\n          },\n          {\n            \"name\": \"sticky\",\n            \"description\": \"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes.\"\n          },\n          {\n            \"name\": \"-webkit-sticky\",\n            \"description\": \"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes.\"\n          }\n        ],\n        \"syntax\": \"static | relative | absolute | sticky | fixed\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/position\"\n          }\n        ],\n        \"description\": \"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"prefix\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"<symbol>\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.\",\n        \"restrictions\": [\n          \"image\",\n          \"string\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"quotes\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively.\"\n          }\n        ],\n        \"syntax\": \"none | auto | [ <string> <string> ]+\",\n        \"relevance\": 53,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/quotes\"\n          }\n        ],\n        \"description\": \"Specifies quotation marks for any number of embedded quotations.\",\n        \"restrictions\": [\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"range\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The range depends on the counter system.\"\n          },\n          {\n            \"name\": \"infinite\",\n            \"description\": \"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity.\"\n          }\n        ],\n        \"syntax\": \"[ [ <integer> | infinite ]{2} ]# | auto\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Defines the ranges over which the counter style is defined.\",\n        \"restrictions\": [\n          \"integer\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"resize\",\n        \"browsers\": [\n          \"E79\",\n          \"FF4\",\n          \"S3\",\n          \"C1\",\n          \"O12.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"both\",\n            \"description\": \"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element.\"\n          },\n          {\n            \"name\": \"horizontal\",\n            \"description\": \"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element.\"\n          },\n          {\n            \"name\": \"vertical\",\n            \"description\": \"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element.\"\n          }\n        ],\n        \"syntax\": \"none | both | horizontal | vertical | block | inline\",\n        \"relevance\": 61,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/resize\"\n          }\n        ],\n        \"description\": \"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"right\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 91,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/right\"\n          }\n        ],\n        \"description\": \"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"ruby-align\",\n        \"browsers\": [\n          \"FF38\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"The user agent determines how the ruby contents are aligned. This is the initial value.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The ruby content is centered within its box.\"\n          },\n          {\n            \"name\": \"distribute-letter\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text.\"\n          },\n          {\n            \"name\": \"distribute-space\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The ruby text content is aligned with the start edge of the base.\"\n          },\n          {\n            \"name\": \"line-edge\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base.\"\n          },\n          {\n            \"name\": \"right\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"The ruby text content is aligned with the end edge of the base.\"\n          },\n          {\n            \"name\": \"start\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"The ruby text content is aligned with the start edge of the base.\"\n          },\n          {\n            \"name\": \"space-between\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),\"\n          },\n          {\n            \"name\": \"space-around\",\n            \"browsers\": [\n              \"FF38\"\n            ],\n            \"description\": \"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content.\"\n          }\n        ],\n        \"status\": \"experimental\",\n        \"syntax\": \"start | center | space-between | space-around\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/ruby-align\"\n          }\n        ],\n        \"description\": \"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"ruby-overhang\",\n        \"browsers\": [\n          \"FF10\",\n          \"IE5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The ruby text can overhang text adjacent to the base on either side. This is the initial value.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"The ruby text can overhang the text that follows it.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The ruby text cannot overhang any text adjacent to its base, only its own base.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"The ruby text can overhang the text that precedes it.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"ruby-position\",\n        \"browsers\": [\n          \"E84\",\n          \"FF38\",\n          \"S7\",\n          \"C84\",\n          \"O70\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"after\",\n            \"description\": \"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text.\"\n          },\n          {\n            \"name\": \"before\",\n            \"description\": \"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems.\"\n          },\n          {\n            \"name\": \"inline\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction.\"\n          }\n        ],\n        \"status\": \"experimental\",\n        \"syntax\": \"[ alternate || [ over | under ] ] | inter-character\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/ruby-position\"\n          }\n        ],\n        \"description\": \"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"ruby-span\",\n        \"browsers\": [\n          \"FF10\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"attr(x)\",\n            \"description\": \"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No spanning. The computed value is '1'.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-3dlight-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-arrow-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the arrow elements of a scroll arrow.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-base-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-darkshadow-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the gutter of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-face-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-highlight-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-shadow-color\",\n        \"browsers\": [\n          \"IE5\"\n        ],\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color\"\n          }\n        ],\n        \"description\": \"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scrollbar-track-color\",\n        \"browsers\": [\n          \"IE6\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines the color of the track element of a scroll bar.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"scroll-behavior\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S15.4\",\n          \"C61\",\n          \"O48\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Scrolls in an instant fashion.\"\n          },\n          {\n            \"name\": \"smooth\",\n            \"description\": \"Scrolls in a smooth fashion using a user-agent-defined timing function and time period.\"\n          }\n        ],\n        \"syntax\": \"auto | smooth\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior\"\n          }\n        ],\n        \"description\": \"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"scroll-snap-coordinate\",\n        \"browsers\": [\n          \"FF39\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Specifies that this element does not contribute a snap point.\"\n          }\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"none | <position>#\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate\"\n          }\n        ],\n        \"description\": \"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container\\u2019s snap-destination for the respective axis.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"scroll-snap-destination\",\n        \"browsers\": [\n          \"FF39\"\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"<position>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination\"\n          }\n        ],\n        \"description\": \"Define the x and y coordinate within the scroll container\\u2019s visual viewport which element snap points will align with.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"scroll-snap-points-x\",\n        \"browsers\": [\n          \"FF39\",\n          \"S9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No snap points are defined by this scroll container.\"\n          },\n          {\n            \"name\": \"repeat()\",\n            \"description\": \"Defines an interval at which snap points are defined, starting from the container\\u2019s relevant start edge.\"\n          }\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"none | repeat( <length-percentage> )\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x\"\n          }\n        ],\n        \"description\": \"Defines the positioning of snap points along the x axis of the scroll container it is applied to.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"scroll-snap-points-y\",\n        \"browsers\": [\n          \"FF39\",\n          \"S9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No snap points are defined by this scroll container.\"\n          },\n          {\n            \"name\": \"repeat()\",\n            \"description\": \"Defines an interval at which snap points are defined, starting from the container\\u2019s relevant start edge.\"\n          }\n        ],\n        \"status\": \"obsolete\",\n        \"syntax\": \"none | repeat( <length-percentage> )\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y\"\n          }\n        ],\n        \"description\": \"Defines the positioning of snap points along the y axis of the scroll container it is applied to.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"scroll-snap-type\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The visual viewport of this scroll container must ignore snap points, if any, when scrolled.\"\n          },\n          {\n            \"name\": \"mandatory\",\n            \"description\": \"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations.\"\n          },\n          {\n            \"name\": \"proximity\",\n            \"description\": \"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll.\"\n          }\n        ],\n        \"syntax\": \"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type\"\n          }\n        ],\n        \"description\": \"Defines how strictly snap points are enforced on the scroll container.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"shape-image-threshold\",\n        \"browsers\": [\n          \"E79\",\n          \"FF62\",\n          \"S10.1\",\n          \"C37\",\n          \"O24\"\n        ],\n        \"syntax\": \"<alpha-value>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold\"\n          }\n        ],\n        \"description\": \"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"shape-margin\",\n        \"browsers\": [\n          \"E79\",\n          \"FF62\",\n          \"S10.1\",\n          \"C37\",\n          \"O24\"\n        ],\n        \"syntax\": \"<length-percentage>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/shape-margin\"\n          }\n        ],\n        \"description\": \"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.\",\n        \"restrictions\": [\n          \"url\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"shape-outside\",\n        \"browsers\": [\n          \"E79\",\n          \"FF62\",\n          \"S10.1\",\n          \"C37\",\n          \"O24\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"margin-box\",\n            \"description\": \"The background is painted within (clipped to) the margin box.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The float area is unaffected.\"\n          }\n        ],\n        \"syntax\": \"none | [ <shape-box> || <basic-shape> ] | <image>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/shape-outside\"\n          }\n        ],\n        \"description\": \"Specifies an orthogonal rotation to be applied to an image before it is laid out.\",\n        \"restrictions\": [\n          \"image\",\n          \"box\",\n          \"shape\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"shape-rendering\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Suppresses aural rendering.\"\n          },\n          {\n            \"name\": \"crispEdges\",\n            \"description\": \"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision.\"\n          },\n          {\n            \"name\": \"geometricPrecision\",\n            \"description\": \"Emphasize geometric precision over speed and crisp edges.\"\n          },\n          {\n            \"name\": \"optimizeSpeed\",\n            \"description\": \"Emphasize rendering speed over geometric precision and crisp edges.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"size\",\n        \"browsers\": [\n          \"C\",\n          \"O8\"\n        ],\n        \"syntax\": \"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]\",\n        \"relevance\": 53,\n        \"description\": \"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"src\",\n        \"values\": [\n          {\n            \"name\": \"url()\",\n            \"description\": \"Reference font by URL\"\n          },\n          {\n            \"name\": \"format()\",\n            \"description\": \"Optional hint describing the format of the font resource.\"\n          },\n          {\n            \"name\": \"local()\",\n            \"description\": \"Format-specific string that identifies a locally available copy of a given font.\"\n          }\n        ],\n        \"syntax\": \"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#\",\n        \"relevance\": 87,\n        \"description\": \"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.\",\n        \"restrictions\": [\n          \"enum\",\n          \"url\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"stop-color\",\n        \"relevance\": 51,\n        \"description\": \"Indicates what color to use at that gradient stop.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"stop-opacity\",\n        \"relevance\": 50,\n        \"description\": \"Defines the opacity of a given gradient stop.\",\n        \"restrictions\": [\n          \"number(0-1)\"\n        ]\n      },\n      {\n        \"name\": \"stroke\",\n        \"values\": [\n          {\n            \"name\": \"url()\",\n            \"description\": \"A URL reference to a paint server element, which is an element that defines a paint server: \\u2018hatch\\u2019, \\u2018linearGradient\\u2019, \\u2018mesh\\u2019, \\u2018pattern\\u2019, \\u2018radialGradient\\u2019 and \\u2018solidcolor\\u2019.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No paint is applied in this layer.\"\n          }\n        ],\n        \"relevance\": 65,\n        \"description\": \"Paints along the outline of the given graphical element.\",\n        \"restrictions\": [\n          \"color\",\n          \"enum\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"stroke-dasharray\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Indicates that no dashing is used.\"\n          }\n        ],\n        \"relevance\": 58,\n        \"description\": \"Controls the pattern of dashes and gaps used to stroke paths.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"stroke-dashoffset\",\n        \"relevance\": 59,\n        \"description\": \"Specifies the distance into the dash pattern to start the dash.\",\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"stroke-linecap\",\n        \"values\": [\n          {\n            \"name\": \"butt\",\n            \"description\": \"Indicates that the stroke for each subpath does not extend beyond its two endpoints.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width.\"\n          },\n          {\n            \"name\": \"square\",\n            \"description\": \"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width.\"\n          }\n        ],\n        \"relevance\": 53,\n        \"description\": \"Specifies the shape to be used at the end of open subpaths when they are stroked.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"stroke-linejoin\",\n        \"values\": [\n          {\n            \"name\": \"bevel\",\n            \"description\": \"Indicates that a bevelled corner is to be used to join path segments.\"\n          },\n          {\n            \"name\": \"miter\",\n            \"description\": \"Indicates that a sharp corner is to be used to join path segments.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"Indicates that a round corner is to be used to join path segments.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"stroke-miterlimit\",\n        \"relevance\": 51,\n        \"description\": \"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"stroke-opacity\",\n        \"relevance\": 52,\n        \"description\": \"Specifies the opacity of the painting operation used to stroke the current object.\",\n        \"restrictions\": [\n          \"number(0-1)\"\n        ]\n      },\n      {\n        \"name\": \"stroke-width\",\n        \"relevance\": 61,\n        \"description\": \"Specifies the width of the stroke on the current object.\",\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"suffix\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"<symbol>\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.\",\n        \"restrictions\": [\n          \"image\",\n          \"string\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"system\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"additive\",\n            \"description\": \"Represents \\u201Csign-value\\u201D numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together.\"\n          },\n          {\n            \"name\": \"alphabetic\",\n            \"description\": 'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from \"a\", \"b\", \"c\", to \"aa\", \"ab\", \"ac\".'\n          },\n          {\n            \"name\": \"cyclic\",\n            \"description\": \"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list.\"\n          },\n          {\n            \"name\": \"extends\",\n            \"description\": \"Use the algorithm of another counter style, but alter other aspects.\"\n          },\n          {\n            \"name\": \"fixed\",\n            \"description\": \"Runs through its list of counter symbols once, then falls back.\"\n          },\n          {\n            \"name\": \"numeric\",\n            \"description\": `interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style.`\n          },\n          {\n            \"name\": \"symbolic\",\n            \"description\": \"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list.\"\n          }\n        ],\n        \"syntax\": \"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies which algorithm will be used to construct the counter\\u2019s representation based on the counter value.\",\n        \"restrictions\": [\n          \"enum\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"symbols\",\n        \"browsers\": [\n          \"FF33\"\n        ],\n        \"syntax\": \"<symbol>+\",\n        \"relevance\": 50,\n        \"description\": \"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.\",\n        \"restrictions\": [\n          \"image\",\n          \"string\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"table-layout\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Use any automatic table layout algorithm.\"\n          },\n          {\n            \"name\": \"fixed\",\n            \"description\": \"Use the fixed table layout algorithm.\"\n          }\n        ],\n        \"syntax\": \"auto | fixed\",\n        \"relevance\": 60,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/table-layout\"\n          }\n        ],\n        \"description\": \"Controls the algorithm used to lay out the table cells, rows, and columns.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"tab-size\",\n        \"browsers\": [\n          \"E79\",\n          \"FF91\",\n          \"S7\",\n          \"C21\",\n          \"O15\"\n        ],\n        \"syntax\": \"<integer> | <length>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/tab-size\"\n          }\n        ],\n        \"description\": \"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.\",\n        \"restrictions\": [\n          \"integer\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"text-align\",\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"The inline contents are centered within the line box.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"The inline contents are aligned to the end edge of the line box.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"The inline contents are aligned to the start edge of the line box.\"\n          }\n        ],\n        \"syntax\": \"start | end | left | right | center | justify | match-parent\",\n        \"relevance\": 94,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-align\"\n          }\n        ],\n        \"description\": \"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.\",\n        \"restrictions\": [\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"text-align-last\",\n        \"browsers\": [\n          \"E12\",\n          \"FF49\",\n          \"C47\",\n          \"IE5.5\",\n          \"O34\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"The inline contents are centered within the line box.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n          }\n        ],\n        \"syntax\": \"auto | start | end | left | right | center | justify\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-align-last\"\n          }\n        ],\n        \"description\": \"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-anchor\",\n        \"values\": [\n          {\n            \"name\": \"end\",\n            \"description\": \"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position.\"\n          },\n          {\n            \"name\": \"middle\",\n            \"description\": \"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-decoration\",\n        \"values\": [\n          {\n            \"name\": \"dashed\",\n            \"description\": \"Produces a dashed line style.\"\n          },\n          {\n            \"name\": \"dotted\",\n            \"description\": \"Produces a dotted line.\"\n          },\n          {\n            \"name\": \"double\",\n            \"description\": \"Produces a double line.\"\n          },\n          {\n            \"name\": \"line-through\",\n            \"description\": \"Each line of text has a line through the middle.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Produces no line.\"\n          },\n          {\n            \"name\": \"overline\",\n            \"description\": \"Each line of text has a line above it.\"\n          },\n          {\n            \"name\": \"solid\",\n            \"description\": \"Produces a solid line.\"\n          },\n          {\n            \"name\": \"underline\",\n            \"description\": \"Each line of text is underlined.\"\n          },\n          {\n            \"name\": \"wavy\",\n            \"description\": \"Produces a wavy line.\"\n          }\n        ],\n        \"syntax\": \"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration\"\n          }\n        ],\n        \"description\": \"Decorations applied to font used for an element's text.\",\n        \"restrictions\": [\n          \"enum\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"text-decoration-color\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"syntax\": \"<color>\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color\"\n          }\n        ],\n        \"description\": \"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"text-decoration-line\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"line-through\",\n            \"description\": \"Each line of text has a line through the middle.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Neither produces nor inhibits text decoration.\"\n          },\n          {\n            \"name\": \"overline\",\n            \"description\": \"Each line of text has a line above it.\"\n          },\n          {\n            \"name\": \"underline\",\n            \"description\": \"Each line of text is underlined.\"\n          }\n        ],\n        \"syntax\": \"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error\",\n        \"relevance\": 52,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line\"\n          }\n        ],\n        \"description\": \"Specifies what line decorations, if any, are added to the element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-decoration-style\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"dashed\",\n            \"description\": \"Produces a dashed line style.\"\n          },\n          {\n            \"name\": \"dotted\",\n            \"description\": \"Produces a dotted line.\"\n          },\n          {\n            \"name\": \"double\",\n            \"description\": \"Produces a double line.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Produces no line.\"\n          },\n          {\n            \"name\": \"solid\",\n            \"description\": \"Produces a solid line.\"\n          },\n          {\n            \"name\": \"wavy\",\n            \"description\": \"Produces a wavy line.\"\n          }\n        ],\n        \"syntax\": \"solid | double | dotted | dashed | wavy\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style\"\n          }\n        ],\n        \"description\": \"Specifies the line style for underline, line-through and overline text decoration.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-indent\",\n        \"values\": [],\n        \"syntax\": \"<length-percentage> && hanging? && each-line?\",\n        \"relevance\": 68,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-indent\"\n          }\n        ],\n        \"description\": \"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.\",\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"text-justify\",\n        \"browsers\": [\n          \"E12\",\n          \"FF55\",\n          \"C32\",\n          \"IE11\",\n          \"O19\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality.\"\n          },\n          {\n            \"name\": \"distribute\",\n            \"description\": \"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property.\"\n          },\n          {\n            \"name\": \"distribute-all-lines\"\n          },\n          {\n            \"name\": \"inter-cluster\",\n            \"description\": \"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai.\"\n          },\n          {\n            \"name\": \"inter-ideograph\",\n            \"description\": \"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages.\"\n          },\n          {\n            \"name\": \"inter-word\",\n            \"description\": \"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean.\"\n          },\n          {\n            \"name\": \"kashida\",\n            \"description\": \"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation.\"\n          },\n          {\n            \"name\": \"newspaper\"\n          }\n        ],\n        \"syntax\": \"auto | inter-character | inter-word | none\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-justify\"\n          }\n        ],\n        \"description\": \"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-orientation\",\n        \"browsers\": [\n          \"E79\",\n          \"FF41\",\n          \"S14\",\n          \"C48\",\n          \"O35\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"sideways\",\n            \"browsers\": [\n              \"E79\",\n              \"FF41\",\n              \"S14\",\n              \"C48\",\n              \"O35\"\n            ],\n            \"description\": \"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode.\"\n          },\n          {\n            \"name\": \"sideways-right\",\n            \"browsers\": [\n              \"E79\",\n              \"FF41\",\n              \"S14\",\n              \"C48\",\n              \"O35\"\n            ],\n            \"description\": \"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90\\xB0 clockwise.\"\n          },\n          {\n            \"name\": \"upright\",\n            \"description\": \"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation.\"\n          }\n        ],\n        \"syntax\": \"mixed | upright | sideways\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-orientation\"\n          }\n        ],\n        \"description\": \"Specifies the orientation of text within a line.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-overflow\",\n        \"values\": [\n          {\n            \"name\": \"clip\",\n            \"description\": \"Clip inline content that overflows. Characters may be only partially rendered.\"\n          },\n          {\n            \"name\": \"ellipsis\",\n            \"description\": \"Render an ellipsis character (U+2026) to represent clipped inline content.\"\n          }\n        ],\n        \"syntax\": \"[ clip | ellipsis | <string> ]{1,2}\",\n        \"relevance\": 82,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-overflow\"\n          }\n        ],\n        \"description\": \"Text can overflow for example when it is prevented from wrapping.\",\n        \"restrictions\": [\n          \"enum\",\n          \"string\"\n        ]\n      },\n      {\n        \"name\": \"text-rendering\",\n        \"browsers\": [\n          \"E79\",\n          \"FF1\",\n          \"S5\",\n          \"C4\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"geometricPrecision\",\n            \"description\": \"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed.\"\n          },\n          {\n            \"name\": \"optimizeLegibility\",\n            \"description\": \"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision.\"\n          },\n          {\n            \"name\": \"optimizeSpeed\",\n            \"description\": \"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision.\"\n          }\n        ],\n        \"syntax\": \"auto | optimizeSpeed | optimizeLegibility | geometricPrecision\",\n        \"relevance\": 70,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-rendering\"\n          }\n        ],\n        \"description\": \"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The \\u2018text-rendering\\u2019 property provides these hints.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-shadow\",\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No shadow.\"\n          }\n        ],\n        \"syntax\": \"none | <shadow-t>#\",\n        \"relevance\": 74,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-shadow\"\n          }\n        ],\n        \"description\": \"Enables shadow effects to be applied to the text of the element.\",\n        \"restrictions\": [\n          \"length\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"text-transform\",\n        \"values\": [\n          {\n            \"name\": \"capitalize\",\n            \"description\": \"Puts the first typographic letter unit of each word in titlecase.\"\n          },\n          {\n            \"name\": \"lowercase\",\n            \"description\": \"Puts all letters in lowercase.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No effects.\"\n          },\n          {\n            \"name\": \"uppercase\",\n            \"description\": \"Puts all letters in uppercase.\"\n          }\n        ],\n        \"syntax\": \"none | capitalize | uppercase | lowercase | full-width | full-size-kana\",\n        \"relevance\": 86,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-transform\"\n          }\n        ],\n        \"description\": \"Controls capitalization effects of an element\\u2019s text.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"text-underline-position\",\n        \"values\": [\n          {\n            \"name\": \"above\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent may use any algorithm to determine the underline\\u2019s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over.\"\n          },\n          {\n            \"name\": \"below\",\n            \"description\": \"The underline is aligned with the under edge of the element\\u2019s content box.\"\n          }\n        ],\n        \"syntax\": \"auto | from-font | [ under || [ left | right ] ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-underline-position\"\n          }\n        ],\n        \"description\": \"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"top\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n          }\n        ],\n        \"syntax\": \"<length> | <percentage> | auto\",\n        \"relevance\": 95,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/top\"\n          }\n        ],\n        \"description\": \"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"touch-action\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The user agent may determine any permitted touch behaviors for touches that begin on the element.\"\n          },\n          {\n            \"name\": \"cross-slide-x\"\n          },\n          {\n            \"name\": \"cross-slide-y\"\n          },\n          {\n            \"name\": \"double-tap-zoom\"\n          },\n          {\n            \"name\": \"manipulation\",\n            \"description\": \"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Touches that begin on the element must not trigger default touch behaviors.\"\n          },\n          {\n            \"name\": \"pan-x\",\n            \"description\": \"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element\\u2019s nearest ancestor with horizontally scrollable content.\"\n          },\n          {\n            \"name\": \"pan-y\",\n            \"description\": \"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element\\u2019s nearest ancestor with vertically scrollable content.\"\n          },\n          {\n            \"name\": \"pinch-zoom\"\n          }\n        ],\n        \"syntax\": \"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation\",\n        \"relevance\": 67,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/touch-action\"\n          }\n        ],\n        \"description\": \"Determines whether touch input may trigger default behavior supplied by user agent.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"transform\",\n        \"values\": [\n          {\n            \"name\": \"matrix()\",\n            \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n          },\n          {\n            \"name\": \"matrix3d()\",\n            \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"perspective()\",\n            \"description\": \"Specifies a perspective projection matrix.\"\n          },\n          {\n            \"name\": \"rotate()\",\n            \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n          },\n          {\n            \"name\": \"rotate3d()\",\n            \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n          },\n          {\n            \"name\": \"rotateX('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n          },\n          {\n            \"name\": \"rotateY('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n          },\n          {\n            \"name\": \"rotateZ('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n          },\n          {\n            \"name\": \"scale()\",\n            \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n          },\n          {\n            \"name\": \"scale3d()\",\n            \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n          },\n          {\n            \"name\": \"scaleX()\",\n            \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleY()\",\n            \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleZ()\",\n            \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n          },\n          {\n            \"name\": \"skew()\",\n            \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n          },\n          {\n            \"name\": \"skewX()\",\n            \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n          },\n          {\n            \"name\": \"skewY()\",\n            \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n          },\n          {\n            \"name\": \"translate()\",\n            \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n          },\n          {\n            \"name\": \"translate3d()\",\n            \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n          },\n          {\n            \"name\": \"translateX()\",\n            \"description\": \"Specifies a translation by the given amount in the X direction.\"\n          },\n          {\n            \"name\": \"translateY()\",\n            \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n          },\n          {\n            \"name\": \"translateZ()\",\n            \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n          }\n        ],\n        \"syntax\": \"none | <transform-list>\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform\"\n          }\n        ],\n        \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"transform-origin\",\n        \"syntax\": \"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?\",\n        \"relevance\": 77,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform-origin\"\n          }\n        ],\n        \"description\": \"Establishes the origin of transformation for an element.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"transform-style\",\n        \"browsers\": [\n          \"E12\",\n          \"FF16\",\n          \"S9\",\n          \"C36\",\n          \"O23\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"flat\",\n            \"description\": \"All children of this element are rendered flattened into the 2D plane of the element.\"\n          },\n          {\n            \"name\": \"preserve-3d\",\n            \"browsers\": [\n              \"E12\",\n              \"FF16\",\n              \"S9\",\n              \"C36\",\n              \"O23\"\n            ],\n            \"description\": \"Flattening is not performed, so children maintain their position in 3D space.\"\n          }\n        ],\n        \"syntax\": \"flat | preserve-3d\",\n        \"relevance\": 55,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform-style\"\n          }\n        ],\n        \"description\": \"Defines how nested elements are rendered in 3D space.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"transition\",\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"syntax\": \"<single-transition>#\",\n        \"relevance\": 88,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition\"\n          }\n        ],\n        \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"property\",\n          \"timing-function\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"transition-delay\",\n        \"syntax\": \"<time>#\",\n        \"relevance\": 64,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-delay\"\n          }\n        ],\n        \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"transition-duration\",\n        \"syntax\": \"<time>#\",\n        \"relevance\": 64,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-duration\"\n          }\n        ],\n        \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"transition-property\",\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"syntax\": \"none | <single-transition-property>#\",\n        \"relevance\": 64,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-property\"\n          }\n        ],\n        \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n        \"restrictions\": [\n          \"property\"\n        ]\n      },\n      {\n        \"name\": \"transition-timing-function\",\n        \"syntax\": \"<easing-function>#\",\n        \"relevance\": 64,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function\"\n          }\n        ],\n        \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"unicode-bidi\",\n        \"values\": [\n          {\n            \"name\": \"bidi-override\",\n            \"description\": \"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored.\"\n          },\n          {\n            \"name\": \"embed\",\n            \"description\": \"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property.\"\n          },\n          {\n            \"name\": \"isolate\",\n            \"description\": \"The contents of the element are considered to be inside a separate, independent paragraph.\"\n          },\n          {\n            \"name\": \"isolate-override\",\n            \"description\": \"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries.\"\n          },\n          {\n            \"name\": \"plaintext\",\n            \"description\": \"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'.\"\n          }\n        ],\n        \"syntax\": \"normal | embed | isolate | bidi-override | isolate-override | plaintext\",\n        \"relevance\": 57,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi\"\n          }\n        ],\n        \"description\": \"The level of embedding with respect to the bidirectional algorithm.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"unicode-range\",\n        \"values\": [\n          {\n            \"name\": \"U+26\",\n            \"description\": \"Ampersand.\"\n          },\n          {\n            \"name\": \"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00\\u2013FB4F\",\n            \"description\": \"WGL4 character set (Pan-European).\"\n          },\n          {\n            \"name\": \"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF\",\n            \"description\": \"The Multilingual European Subset No. 1. Latin. Covers ~44 languages.\"\n          },\n          {\n            \"name\": \"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD\",\n            \"description\": \"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language.\"\n          },\n          {\n            \"name\": \"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD\",\n            \"description\": \"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts.\"\n          },\n          {\n            \"name\": \"U+00-7F\",\n            \"description\": \"Basic Latin (ASCII).\"\n          },\n          {\n            \"name\": \"U+80-FF\",\n            \"description\": \"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs.\"\n          },\n          {\n            \"name\": \"U+100-17F\",\n            \"description\": \"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish.\"\n          },\n          {\n            \"name\": \"U+180-24F\",\n            \"description\": \"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology.\"\n          },\n          {\n            \"name\": \"U+1E00-1EFF\",\n            \"description\": \"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use.\"\n          },\n          {\n            \"name\": \"U+250-2AF\",\n            \"description\": \"International Phonetic Alphabet Extensions.\"\n          },\n          {\n            \"name\": \"U+370-3FF\",\n            \"description\": \"Greek and Coptic.\"\n          },\n          {\n            \"name\": \"U+1F00-1FFF\",\n            \"description\": \"Greek Extended. Accented characters for polytonic Greek.\"\n          },\n          {\n            \"name\": \"U+400-4FF\",\n            \"description\": \"Cyrillic.\"\n          },\n          {\n            \"name\": \"U+500-52F\",\n            \"description\": \"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok.\"\n          },\n          {\n            \"name\": \"U+00-52F, U+1E00-1FFF, U+2200\\u201322FF\",\n            \"description\": \"Latin, Greek, Cyrillic, some punctuation and symbols.\"\n          },\n          {\n            \"name\": \"U+530\\u201358F\",\n            \"description\": \"Armenian.\"\n          },\n          {\n            \"name\": \"U+590\\u20135FF\",\n            \"description\": \"Hebrew.\"\n          },\n          {\n            \"name\": \"U+600\\u20136FF\",\n            \"description\": \"Arabic.\"\n          },\n          {\n            \"name\": \"U+750\\u201377F\",\n            \"description\": \"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian.\"\n          },\n          {\n            \"name\": \"U+8A0\\u20138FF\",\n            \"description\": \"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs.\"\n          },\n          {\n            \"name\": \"U+700\\u201374F\",\n            \"description\": \"Syriac.\"\n          },\n          {\n            \"name\": \"U+900\\u201397F\",\n            \"description\": \"Devanagari.\"\n          },\n          {\n            \"name\": \"U+980\\u20139FF\",\n            \"description\": \"Bengali.\"\n          },\n          {\n            \"name\": \"U+A00\\u2013A7F\",\n            \"description\": \"Gurmukhi.\"\n          },\n          {\n            \"name\": \"U+A80\\u2013AFF\",\n            \"description\": \"Gujarati.\"\n          },\n          {\n            \"name\": \"U+B00\\u2013B7F\",\n            \"description\": \"Oriya.\"\n          },\n          {\n            \"name\": \"U+B80\\u2013BFF\",\n            \"description\": \"Tamil.\"\n          },\n          {\n            \"name\": \"U+C00\\u2013C7F\",\n            \"description\": \"Telugu.\"\n          },\n          {\n            \"name\": \"U+C80\\u2013CFF\",\n            \"description\": \"Kannada.\"\n          },\n          {\n            \"name\": \"U+D00\\u2013D7F\",\n            \"description\": \"Malayalam.\"\n          },\n          {\n            \"name\": \"U+D80\\u2013DFF\",\n            \"description\": \"Sinhala.\"\n          },\n          {\n            \"name\": \"U+118A0\\u2013118FF\",\n            \"description\": \"Warang Citi.\"\n          },\n          {\n            \"name\": \"U+E00\\u2013E7F\",\n            \"description\": \"Thai.\"\n          },\n          {\n            \"name\": \"U+1A20\\u20131AAF\",\n            \"description\": \"Tai Tham.\"\n          },\n          {\n            \"name\": \"U+AA80\\u2013AADF\",\n            \"description\": \"Tai Viet.\"\n          },\n          {\n            \"name\": \"U+E80\\u2013EFF\",\n            \"description\": \"Lao.\"\n          },\n          {\n            \"name\": \"U+F00\\u2013FFF\",\n            \"description\": \"Tibetan.\"\n          },\n          {\n            \"name\": \"U+1000\\u2013109F\",\n            \"description\": \"Myanmar (Burmese).\"\n          },\n          {\n            \"name\": \"U+10A0\\u201310FF\",\n            \"description\": \"Georgian.\"\n          },\n          {\n            \"name\": \"U+1200\\u2013137F\",\n            \"description\": \"Ethiopic.\"\n          },\n          {\n            \"name\": \"U+1380\\u2013139F\",\n            \"description\": \"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks\"\n          },\n          {\n            \"name\": \"U+2D80\\u20132DDF\",\n            \"description\": \"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit.\"\n          },\n          {\n            \"name\": \"U+AB00\\u2013AB2F\",\n            \"description\": \"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz.\"\n          },\n          {\n            \"name\": \"U+1780\\u201317FF\",\n            \"description\": \"Khmer.\"\n          },\n          {\n            \"name\": \"U+1800\\u201318AF\",\n            \"description\": \"Mongolian.\"\n          },\n          {\n            \"name\": \"U+1B80\\u20131BBF\",\n            \"description\": \"Sundanese.\"\n          },\n          {\n            \"name\": \"U+1CC0\\u20131CCF\",\n            \"description\": \"Sundanese Supplement. Punctuation.\"\n          },\n          {\n            \"name\": \"U+4E00\\u20139FD5\",\n            \"description\": \"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese.\"\n          },\n          {\n            \"name\": \"U+3400\\u20134DB5\",\n            \"description\": \"CJK Unified Ideographs Extension A. Rare ideographs.\"\n          },\n          {\n            \"name\": \"U+2F00\\u20132FDF\",\n            \"description\": \"Kangxi Radicals.\"\n          },\n          {\n            \"name\": \"U+2E80\\u20132EFF\",\n            \"description\": \"CJK Radicals Supplement. Alternative forms of Kangxi Radicals.\"\n          },\n          {\n            \"name\": \"U+1100\\u201311FF\",\n            \"description\": \"Hangul Jamo.\"\n          },\n          {\n            \"name\": \"U+AC00\\u2013D7AF\",\n            \"description\": \"Hangul Syllables.\"\n          },\n          {\n            \"name\": \"U+3040\\u2013309F\",\n            \"description\": \"Hiragana.\"\n          },\n          {\n            \"name\": \"U+30A0\\u201330FF\",\n            \"description\": \"Katakana.\"\n          },\n          {\n            \"name\": \"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F\",\n            \"description\": \"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol.\"\n          },\n          {\n            \"name\": \"U+A4D0\\u2013A4FF\",\n            \"description\": \"Lisu.\"\n          },\n          {\n            \"name\": \"U+A000\\u2013A48F\",\n            \"description\": \"Yi Syllables.\"\n          },\n          {\n            \"name\": \"U+A490\\u2013A4CF\",\n            \"description\": \"Yi Radicals.\"\n          },\n          {\n            \"name\": \"U+2000-206F\",\n            \"description\": \"General Punctuation.\"\n          },\n          {\n            \"name\": \"U+3000\\u2013303F\",\n            \"description\": \"CJK Symbols and Punctuation.\"\n          },\n          {\n            \"name\": \"U+2070\\u2013209F\",\n            \"description\": \"Superscripts and Subscripts.\"\n          },\n          {\n            \"name\": \"U+20A0\\u201320CF\",\n            \"description\": \"Currency Symbols.\"\n          },\n          {\n            \"name\": \"U+2100\\u2013214F\",\n            \"description\": \"Letterlike Symbols.\"\n          },\n          {\n            \"name\": \"U+2150\\u2013218F\",\n            \"description\": \"Number Forms.\"\n          },\n          {\n            \"name\": \"U+2190\\u201321FF\",\n            \"description\": \"Arrows.\"\n          },\n          {\n            \"name\": \"U+2200\\u201322FF\",\n            \"description\": \"Mathematical Operators.\"\n          },\n          {\n            \"name\": \"U+2300\\u201323FF\",\n            \"description\": \"Miscellaneous Technical.\"\n          },\n          {\n            \"name\": \"U+E000-F8FF\",\n            \"description\": \"Private Use Area.\"\n          },\n          {\n            \"name\": \"U+FB00\\u2013FB4F\",\n            \"description\": \"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew.\"\n          },\n          {\n            \"name\": \"U+FB50\\u2013FDFF\",\n            \"description\": \"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures.\"\n          },\n          {\n            \"name\": \"U+1F600\\u20131F64F\",\n            \"description\": \"Emoji: Emoticons.\"\n          },\n          {\n            \"name\": \"U+2600\\u201326FF\",\n            \"description\": \"Emoji: Miscellaneous Symbols.\"\n          },\n          {\n            \"name\": \"U+1F300\\u20131F5FF\",\n            \"description\": \"Emoji: Miscellaneous Symbols and Pictographs.\"\n          },\n          {\n            \"name\": \"U+1F900\\u20131F9FF\",\n            \"description\": \"Emoji: Supplemental Symbols and Pictographs.\"\n          },\n          {\n            \"name\": \"U+1F680\\u20131F6FF\",\n            \"description\": \"Emoji: Transport and Map Symbols.\"\n          }\n        ],\n        \"syntax\": \"<unicode-range>#\",\n        \"relevance\": 73,\n        \"description\": \"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.\",\n        \"restrictions\": [\n          \"unicode-range\"\n        ]\n      },\n      {\n        \"name\": \"user-select\",\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"The content of the element must be selected atomically\"\n          },\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"contain\",\n            \"description\": \"UAs must not allow a selection which is started in this element to be extended outside of this element.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The UA must not allow selections to be started in this element.\"\n          },\n          {\n            \"name\": \"text\",\n            \"description\": \"The element imposes no constraint on the selection.\"\n          }\n        ],\n        \"syntax\": \"auto | text | none | contain | all\",\n        \"relevance\": 78,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/user-select\"\n          }\n        ],\n        \"description\": \"Controls the appearance of selection.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"vertical-align\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box.\"\n          },\n          {\n            \"name\": \"baseline\",\n            \"description\": \"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element.\"\n          },\n          {\n            \"name\": \"bottom\",\n            \"description\": \"Align the after edge of the extended inline box with the after-edge of the line box.\"\n          },\n          {\n            \"name\": \"middle\",\n            \"description\": \"Align the 'middle' baseline of the inline element with the middle baseline of the parent.\"\n          },\n          {\n            \"name\": \"sub\",\n            \"description\": \"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)\"\n          },\n          {\n            \"name\": \"super\",\n            \"description\": \"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)\"\n          },\n          {\n            \"name\": \"text-bottom\",\n            \"description\": \"Align the bottom of the box with the after-edge of the parent element's font.\"\n          },\n          {\n            \"name\": \"text-top\",\n            \"description\": \"Align the top of the box with the before-edge of the parent element's font.\"\n          },\n          {\n            \"name\": \"top\",\n            \"description\": \"Align the before edge of the extended inline box with the before-edge of the line box.\"\n          },\n          {\n            \"name\": \"-webkit-baseline-middle\"\n          }\n        ],\n        \"syntax\": \"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/vertical-align\"\n          }\n        ],\n        \"description\": \"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.\",\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"visibility\",\n        \"values\": [\n          {\n            \"name\": \"collapse\",\n            \"description\": \"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'.\"\n          },\n          {\n            \"name\": \"hidden\",\n            \"description\": \"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout.\"\n          },\n          {\n            \"name\": \"visible\",\n            \"description\": \"The generated box is visible.\"\n          }\n        ],\n        \"syntax\": \"visible | hidden | collapse\",\n        \"relevance\": 88,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/visibility\"\n          }\n        ],\n        \"description\": \"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the \\u2018display\\u2019 property to \\u2018none\\u2019 to suppress box generation altogether).\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"enum\",\n          \"timing-function\",\n          \"identifier\",\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-delay\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines when the animation will start.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-direction\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"alternate\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n          },\n          {\n            \"name\": \"alternate-reverse\",\n            \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Normal playback.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-duration\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-fill-mode\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"backwards\",\n            \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n          },\n          {\n            \"name\": \"both\",\n            \"description\": \"Both forwards and backwards fill modes are applied.\"\n          },\n          {\n            \"name\": \"forwards\",\n            \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines what values are applied by the animation outside the time it is executing.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-iteration-count\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"infinite\",\n            \"description\": \"Causes the animation to repeat forever.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n        \"restrictions\": [\n          \"number\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-name\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No animation is performed\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n        \"restrictions\": [\n          \"identifier\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-play-state\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"paused\",\n            \"description\": \"A running animation will be paused.\"\n          },\n          {\n            \"name\": \"running\",\n            \"description\": \"Resume playback of a paused animation.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines whether the animation is running or paused.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-animation-timing-function\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-appearance\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"button\"\n          },\n          {\n            \"name\": \"button-bevel\"\n          },\n          {\n            \"name\": \"caps-lock-indicator\"\n          },\n          {\n            \"name\": \"caret\"\n          },\n          {\n            \"name\": \"checkbox\"\n          },\n          {\n            \"name\": \"default-button\"\n          },\n          {\n            \"name\": \"listbox\"\n          },\n          {\n            \"name\": \"listitem\"\n          },\n          {\n            \"name\": \"media-fullscreen-button\"\n          },\n          {\n            \"name\": \"media-mute-button\"\n          },\n          {\n            \"name\": \"media-play-button\"\n          },\n          {\n            \"name\": \"media-seek-back-button\"\n          },\n          {\n            \"name\": \"media-seek-forward-button\"\n          },\n          {\n            \"name\": \"media-slider\"\n          },\n          {\n            \"name\": \"media-sliderthumb\"\n          },\n          {\n            \"name\": \"menulist\"\n          },\n          {\n            \"name\": \"menulist-button\"\n          },\n          {\n            \"name\": \"menulist-text\"\n          },\n          {\n            \"name\": \"menulist-textfield\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"push-button\"\n          },\n          {\n            \"name\": \"radio\"\n          },\n          {\n            \"name\": \"scrollbarbutton-down\"\n          },\n          {\n            \"name\": \"scrollbarbutton-left\"\n          },\n          {\n            \"name\": \"scrollbarbutton-right\"\n          },\n          {\n            \"name\": \"scrollbarbutton-up\"\n          },\n          {\n            \"name\": \"scrollbargripper-horizontal\"\n          },\n          {\n            \"name\": \"scrollbargripper-vertical\"\n          },\n          {\n            \"name\": \"scrollbarthumb-horizontal\"\n          },\n          {\n            \"name\": \"scrollbarthumb-vertical\"\n          },\n          {\n            \"name\": \"scrollbartrack-horizontal\"\n          },\n          {\n            \"name\": \"scrollbartrack-vertical\"\n          },\n          {\n            \"name\": \"searchfield\"\n          },\n          {\n            \"name\": \"searchfield-cancel-button\"\n          },\n          {\n            \"name\": \"searchfield-decoration\"\n          },\n          {\n            \"name\": \"searchfield-results-button\"\n          },\n          {\n            \"name\": \"searchfield-results-decoration\"\n          },\n          {\n            \"name\": \"slider-horizontal\"\n          },\n          {\n            \"name\": \"sliderthumb-horizontal\"\n          },\n          {\n            \"name\": \"sliderthumb-vertical\"\n          },\n          {\n            \"name\": \"slider-vertical\"\n          },\n          {\n            \"name\": \"square-button\"\n          },\n          {\n            \"name\": \"textarea\"\n          },\n          {\n            \"name\": \"textfield\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button\",\n        \"relevance\": 0,\n        \"description\": \"Changes the appearance of buttons and other controls to resemble native controls.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-backdrop-filter\",\n        \"browsers\": [\n          \"S9\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No filter effects are applied.\"\n          },\n          {\n            \"name\": \"blur()\",\n            \"description\": \"Applies a Gaussian blur to the input image.\"\n          },\n          {\n            \"name\": \"brightness()\",\n            \"description\": \"Applies a linear multiplier to input image, making it appear more or less bright.\"\n          },\n          {\n            \"name\": \"contrast()\",\n            \"description\": \"Adjusts the contrast of the input.\"\n          },\n          {\n            \"name\": \"drop-shadow()\",\n            \"description\": \"Applies a drop shadow effect to the input image.\"\n          },\n          {\n            \"name\": \"grayscale()\",\n            \"description\": \"Converts the input image to grayscale.\"\n          },\n          {\n            \"name\": \"hue-rotate()\",\n            \"description\": \"Applies a hue rotation on the input image. \"\n          },\n          {\n            \"name\": \"invert()\",\n            \"description\": \"Inverts the samples in the input image.\"\n          },\n          {\n            \"name\": \"opacity()\",\n            \"description\": \"Applies transparency to the samples in the input image.\"\n          },\n          {\n            \"name\": \"saturate()\",\n            \"description\": \"Saturates the input image.\"\n          },\n          {\n            \"name\": \"sepia()\",\n            \"description\": \"Converts the input image to sepia.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"A filter reference to a <filter> element.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Applies a filter effect where the first filter in the list takes the element's background image as the input image.\",\n        \"restrictions\": [\n          \"enum\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-backface-visibility\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"hidden\"\n          },\n          {\n            \"name\": \"visible\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-background-clip\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Determines the background painting area.\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-background-composite\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"border\"\n          },\n          {\n            \"name\": \"padding\"\n          }\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-background-origin\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-border-image\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n          },\n          {\n            \"name\": \"fill\",\n            \"description\": \"Causes the middle part of the border-image to be preserved.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"repeat\",\n            \"description\": \"The image is tiled (repeated) to fill the area.\"\n          },\n          {\n            \"name\": \"round\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n          },\n          {\n            \"name\": \"space\",\n            \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The image is stretched to fill the area.\"\n          },\n          {\n            \"name\": \"url()\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"number\",\n          \"url\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-align\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"baseline\",\n            \"description\": \"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used.\"\n          },\n          {\n            \"name\": \"center\",\n            \"description\": \"Any extra space is divided evenly, with half placed above the child and the other half placed after the child.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element.\"\n          },\n          {\n            \"name\": \"stretch\",\n            \"description\": \"The height of each child is adjusted to that of the containing block.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the alignment of nested elements within an outer flexible box element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-direction\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom.\"\n          },\n          {\n            \"name\": \"reverse\",\n            \"description\": \"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-flex\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies an element's flexibility.\",\n        \"restrictions\": [\n          \"number\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-flex-group\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-ordinal-group\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-orient\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"block-axis\",\n            \"description\": \"Elements are oriented along the box's axis.\"\n          },\n          {\n            \"name\": \"horizontal\",\n            \"description\": \"The box displays its children from left to right in a horizontal line.\"\n          },\n          {\n            \"name\": \"inline-axis\",\n            \"description\": \"Elements are oriented vertically.\"\n          },\n          {\n            \"name\": \"vertical\",\n            \"description\": \"The box displays its children from stacked from top to bottom vertically.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-pack\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"center\",\n            \"description\": \"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child.\"\n          },\n          {\n            \"name\": \"end\",\n            \"description\": \"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child.\"\n          },\n          {\n            \"name\": \"justify\",\n            \"description\": \"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start.\"\n          },\n          {\n            \"name\": \"start\",\n            \"description\": \"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies alignment of child elements within the current element in the direction of orientation.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-box-reflect\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C4\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"above\",\n            \"description\": \"The reflection appears above the border box.\"\n          },\n          {\n            \"name\": \"below\",\n            \"description\": \"The reflection appears below the border box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"The reflection appears to the left of the border box.\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"The reflection appears to the right of the border box.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ above | below | right | left ]? <length>? <image>?\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect\"\n          }\n        ],\n        \"description\": \"Defines a reflection of a border box.\"\n      },\n      {\n        \"name\": \"-webkit-box-sizing\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"border-box\",\n            \"description\": \"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"\n          },\n          {\n            \"name\": \"content-box\",\n            \"description\": \"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Box Model addition in CSS3.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-break-after\",\n        \"browsers\": [\n          \"S7\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-region\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"Always force a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"page\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"region\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior before the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-break-before\",\n        \"browsers\": [\n          \"S7\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-region\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"Always force a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"page\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"region\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior before the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-break-inside\",\n        \"browsers\": [\n          \"S7\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page/column break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid-region\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior inside the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-break-after\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-region\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"Always force a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"page\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"region\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior before the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-break-before\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"always\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page/column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"avoid-region\"\n          },\n          {\n            \"name\": \"column\",\n            \"description\": \"Always force a column break before/after the generated box.\"\n          },\n          {\n            \"name\": \"left\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n          },\n          {\n            \"name\": \"page\",\n            \"description\": \"Always force a page break before/after the generated box.\"\n          },\n          {\n            \"name\": \"region\"\n          },\n          {\n            \"name\": \"right\",\n            \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior before the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-break-inside\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Neither force nor forbid a page/column break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid\",\n            \"description\": \"Avoid a page/column break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid-column\",\n            \"description\": \"Avoid a column break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid-page\",\n            \"description\": \"Avoid a page break inside the generated box.\"\n          },\n          {\n            \"name\": \"avoid-region\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior inside the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-count\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Determines the number of columns by the 'column-width' property and the element width.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the optimal number of columns into which the content of the element will be flowed.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-gap\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"User agent specific and typically equivalent to 1em.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-rule\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"line-style\",\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-rule-color\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the color of the column rule\",\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-rule-style\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the style of the rule between columns of an element.\",\n        \"restrictions\": [\n          \"line-style\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-rule-width\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Sets the width of the rule between columns. Negative values are not allowed.\",\n        \"restrictions\": [\n          \"length\",\n          \"line-width\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-columns\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"A shorthand property which sets both 'column-width' and 'column-count'.\",\n        \"restrictions\": [\n          \"length\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-span\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"The element does not span multiple columns.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes the page/column break behavior after the generated box.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-column-width\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"This property describes the width of columns in multicol elements.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-filter\",\n        \"browsers\": [\n          \"C18\",\n          \"O15\",\n          \"S6\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No filter effects are applied.\"\n          },\n          {\n            \"name\": \"blur()\",\n            \"description\": \"Applies a Gaussian blur to the input image.\"\n          },\n          {\n            \"name\": \"brightness()\",\n            \"description\": \"Applies a linear multiplier to input image, making it appear more or less bright.\"\n          },\n          {\n            \"name\": \"contrast()\",\n            \"description\": \"Adjusts the contrast of the input.\"\n          },\n          {\n            \"name\": \"drop-shadow()\",\n            \"description\": \"Applies a drop shadow effect to the input image.\"\n          },\n          {\n            \"name\": \"grayscale()\",\n            \"description\": \"Converts the input image to grayscale.\"\n          },\n          {\n            \"name\": \"hue-rotate()\",\n            \"description\": \"Applies a hue rotation on the input image. \"\n          },\n          {\n            \"name\": \"invert()\",\n            \"description\": \"Inverts the samples in the input image.\"\n          },\n          {\n            \"name\": \"opacity()\",\n            \"description\": \"Applies transparency to the samples in the input image.\"\n          },\n          {\n            \"name\": \"saturate()\",\n            \"description\": \"Saturates the input image.\"\n          },\n          {\n            \"name\": \"sepia()\",\n            \"description\": \"Converts the input image to sepia.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"A filter reference to a <filter> element.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Processes an element\\u2019s rendering before it is displayed in the document, by applying one or more filter effects.\",\n        \"restrictions\": [\n          \"enum\",\n          \"url\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-flow-from\",\n        \"browsers\": [\n          \"S6.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The block container is not a CSS Region.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Makes a block container a region and associates it with a named flow.\",\n        \"restrictions\": [\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-flow-into\",\n        \"browsers\": [\n          \"S6.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"The element is not moved to a named flow and normal CSS processing takes place.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Places an element or its contents into a named flow.\",\n        \"restrictions\": [\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-font-feature-settings\",\n        \"browsers\": [\n          \"C16\"\n        ],\n        \"values\": [\n          {\n            \"name\": '\"c2cs\"'\n          },\n          {\n            \"name\": '\"dlig\"'\n          },\n          {\n            \"name\": '\"kern\"'\n          },\n          {\n            \"name\": '\"liga\"'\n          },\n          {\n            \"name\": '\"lnum\"'\n          },\n          {\n            \"name\": '\"onum\"'\n          },\n          {\n            \"name\": '\"smcp\"'\n          },\n          {\n            \"name\": '\"swsh\"'\n          },\n          {\n            \"name\": '\"tnum\"'\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"No change in glyph substitution or positioning occurs.\"\n          },\n          {\n            \"name\": \"off\"\n          },\n          {\n            \"name\": \"on\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.\",\n        \"restrictions\": [\n          \"string\",\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-hyphens\",\n        \"browsers\": [\n          \"S5.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n          },\n          {\n            \"name\": \"manual\",\n            \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-line-break\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"after-white-space\"\n          },\n          {\n            \"name\": \"normal\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text.\"\n      },\n      {\n        \"name\": \"-webkit-margin-bottom-collapse\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"collapse\"\n          },\n          {\n            \"name\": \"discard\"\n          },\n          {\n            \"name\": \"separate\"\n          }\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-margin-collapse\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"collapse\"\n          },\n          {\n            \"name\": \"discard\"\n          },\n          {\n            \"name\": \"separate\"\n          }\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-margin-start\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          }\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-margin-top-collapse\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"collapse\"\n          },\n          {\n            \"name\": \"discard\"\n          },\n          {\n            \"name\": \"separate\"\n          }\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-mask-clip\",\n        \"browsers\": [\n          \"C\",\n          \"O15\",\n          \"S4\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ <box> | border | padding | content | text ]#\",\n        \"relevance\": 0,\n        \"description\": \"Determines the mask painting area, which determines the area that is affected by the mask.\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-mask-image\",\n        \"browsers\": [\n          \"C\",\n          \"O15\",\n          \"S4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"Counts as a transparent black image layer.\"\n          },\n          {\n            \"name\": \"url()\",\n            \"description\": \"Reference to a <mask element or to a CSS image.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<mask-reference>#\",\n        \"relevance\": 0,\n        \"description\": \"Sets the mask layer image of an element.\",\n        \"restrictions\": [\n          \"url\",\n          \"image\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-mask-origin\",\n        \"browsers\": [\n          \"C\",\n          \"O15\",\n          \"S4\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ <box> | border | padding | content ]#\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the mask positioning area.\",\n        \"restrictions\": [\n          \"box\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-mask-repeat\",\n        \"browsers\": [\n          \"C\",\n          \"O15\",\n          \"S4\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<repeat-style>#\",\n        \"relevance\": 0,\n        \"description\": \"Specifies how mask layer images are tiled after they have been sized and positioned.\",\n        \"restrictions\": [\n          \"repeat\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-mask-size\",\n        \"browsers\": [\n          \"C\",\n          \"O15\",\n          \"S4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Resolved by using the image\\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\\u2019s intrinsic size, or failing that, treating it as 100%.\"\n          },\n          {\n            \"name\": \"contain\",\n            \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.\"\n          },\n          {\n            \"name\": \"cover\",\n            \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<bg-size>#\",\n        \"relevance\": 0,\n        \"description\": \"Specifies the size of the mask layer images.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-nbsp-mode\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\"\n          },\n          {\n            \"name\": \"space\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines the behavior of nonbreaking spaces within text.\"\n      },\n      {\n        \"name\": \"-webkit-overflow-scrolling\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"touch\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | touch\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling\"\n          }\n        ],\n        \"description\": \"Specifies whether to use native-style scrolling in an overflow:scroll element.\"\n      },\n      {\n        \"name\": \"-webkit-padding-start\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-perspective\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\",\n            \"description\": \"No perspective transform is applied.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n        \"restrictions\": [\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-perspective-origin\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n        \"restrictions\": [\n          \"position\",\n          \"percentage\",\n          \"length\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-region-fragment\",\n        \"browsers\": [\n          \"S7\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Content flows as it would in a regular content box.\"\n          },\n          {\n            \"name\": \"break\",\n            \"description\": \"If the content fits within the CSS Region, then this property has no effect.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"The 'region-fragment' property controls the behavior of the last region associated with a named flow.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-tap-highlight-color\",\n        \"browsers\": [\n          \"E12\",\n          \"C16\",\n          \"O15\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color\"\n          }\n        ],\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-text-fill-color\",\n        \"browsers\": [\n          \"E12\",\n          \"FF49\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color\"\n          }\n        ],\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-text-size-adjust\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Renderers must use the default size adjustment when displaying on a small device.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"Renderers must not do size adjustment when displaying on a small device.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies a size adjustment for displaying text content in mobile browsers.\",\n        \"restrictions\": [\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-text-stroke\",\n        \"browsers\": [\n          \"E15\",\n          \"FF49\",\n          \"S3\",\n          \"C4\",\n          \"O15\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<length> || <color>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke\"\n          }\n        ],\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"color\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-text-stroke-color\",\n        \"browsers\": [\n          \"E15\",\n          \"FF49\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color\"\n          }\n        ],\n        \"restrictions\": [\n          \"color\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-text-stroke-width\",\n        \"browsers\": [\n          \"E15\",\n          \"FF49\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width\"\n          }\n        ],\n        \"restrictions\": [\n          \"length\",\n          \"line-width\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-touch-callout\",\n        \"browsers\": [\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"none\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"default | none\",\n        \"relevance\": 0,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout\"\n          }\n        ],\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transform\",\n        \"browsers\": [\n          \"C\",\n          \"O12\",\n          \"S3.1\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"matrix()\",\n            \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n          },\n          {\n            \"name\": \"matrix3d()\",\n            \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"perspective()\",\n            \"description\": \"Specifies a perspective projection matrix.\"\n          },\n          {\n            \"name\": \"rotate()\",\n            \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n          },\n          {\n            \"name\": \"rotate3d()\",\n            \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n          },\n          {\n            \"name\": \"rotateX('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n          },\n          {\n            \"name\": \"rotateY('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n          },\n          {\n            \"name\": \"rotateZ('angle')\",\n            \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n          },\n          {\n            \"name\": \"scale()\",\n            \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n          },\n          {\n            \"name\": \"scale3d()\",\n            \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n          },\n          {\n            \"name\": \"scaleX()\",\n            \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleY()\",\n            \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n          },\n          {\n            \"name\": \"scaleZ()\",\n            \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n          },\n          {\n            \"name\": \"skew()\",\n            \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n          },\n          {\n            \"name\": \"skewX()\",\n            \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n          },\n          {\n            \"name\": \"skewY()\",\n            \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n          },\n          {\n            \"name\": \"translate()\",\n            \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n          },\n          {\n            \"name\": \"translate3d()\",\n            \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n          },\n          {\n            \"name\": \"translateX()\",\n            \"description\": \"Specifies a translation by the given amount in the X direction.\"\n          },\n          {\n            \"name\": \"translateY()\",\n            \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n          },\n          {\n            \"name\": \"translateZ()\",\n            \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transform-origin\",\n        \"browsers\": [\n          \"C\",\n          \"O15\",\n          \"S3.1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Establishes the origin of transformation for an element.\",\n        \"restrictions\": [\n          \"position\",\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transform-origin-x\",\n        \"browsers\": [\n          \"C\",\n          \"S3.1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"The x coordinate of the origin for transforms applied to an element with respect to its border box.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transform-origin-y\",\n        \"browsers\": [\n          \"C\",\n          \"S3.1\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"The y coordinate of the origin for transforms applied to an element with respect to its border box.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transform-origin-z\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"The z coordinate of the origin for transforms applied to an element with respect to its border box.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transform-style\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"flat\",\n            \"description\": \"All children of this element are rendered flattened into the 2D plane of the element.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines how nested elements are rendered in 3D space.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transition\",\n        \"browsers\": [\n          \"C\",\n          \"O12\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n        \"restrictions\": [\n          \"time\",\n          \"property\",\n          \"timing-function\",\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transition-delay\",\n        \"browsers\": [\n          \"C\",\n          \"O12\",\n          \"S5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transition-duration\",\n        \"browsers\": [\n          \"C\",\n          \"O12\",\n          \"S5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n        \"restrictions\": [\n          \"time\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transition-property\",\n        \"browsers\": [\n          \"C\",\n          \"O12\",\n          \"S5\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"all\",\n            \"description\": \"Every property that is able to undergo a transition will do so.\"\n          },\n          {\n            \"name\": \"none\",\n            \"description\": \"No property will transition.\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n        \"restrictions\": [\n          \"property\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-transition-timing-function\",\n        \"browsers\": [\n          \"C\",\n          \"O12\",\n          \"S5\"\n        ],\n        \"relevance\": 50,\n        \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n        \"restrictions\": [\n          \"timing-function\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-user-drag\",\n        \"browsers\": [\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"element\"\n          },\n          {\n            \"name\": \"none\"\n          }\n        ],\n        \"relevance\": 50,\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-user-modify\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"read-only\"\n          },\n          {\n            \"name\": \"read-write\"\n          },\n          {\n            \"name\": \"read-write-plaintext-only\"\n          }\n        ],\n        \"status\": \"nonstandard\",\n        \"syntax\": \"read-only | read-write | read-write-plaintext-only\",\n        \"relevance\": 0,\n        \"description\": \"Determines whether a user can edit the content of an element.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"-webkit-user-select\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"text\"\n          }\n        ],\n        \"relevance\": 50,\n        \"description\": \"Controls the appearance of selection.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"widows\",\n        \"browsers\": [\n          \"E12\",\n          \"S1.3\",\n          \"C25\",\n          \"IE8\",\n          \"O9.2\"\n        ],\n        \"syntax\": \"<integer>\",\n        \"relevance\": 51,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/widows\"\n          }\n        ],\n        \"description\": \"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"width\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The width depends on the values of other properties.\"\n          },\n          {\n            \"name\": \"fit-content\",\n            \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"max-content\",\n            \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n          },\n          {\n            \"name\": \"min-content\",\n            \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n          }\n        ],\n        \"syntax\": \"<viewport-length>{1,2}\",\n        \"relevance\": 96,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/width\"\n          }\n        ],\n        \"description\": \"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"will-change\",\n        \"browsers\": [\n          \"E79\",\n          \"FF36\",\n          \"S9.1\",\n          \"C36\",\n          \"O24\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"Expresses no particular intent.\"\n          },\n          {\n            \"name\": \"contents\",\n            \"description\": \"Indicates that the author expects to animate or change something about the element\\u2019s contents in the near future.\"\n          },\n          {\n            \"name\": \"scroll-position\",\n            \"description\": \"Indicates that the author expects to animate or change the scroll position of the element in the near future.\"\n          }\n        ],\n        \"syntax\": \"auto | <animateable-feature>#\",\n        \"relevance\": 63,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/will-change\"\n          }\n        ],\n        \"description\": \"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.\",\n        \"restrictions\": [\n          \"enum\",\n          \"identifier\"\n        ]\n      },\n      {\n        \"name\": \"word-break\",\n        \"values\": [\n          {\n            \"name\": \"break-all\",\n            \"description\": \"Lines may break between any two grapheme clusters for non-CJK scripts.\"\n          },\n          {\n            \"name\": \"keep-all\",\n            \"description\": \"Block characters can no longer create implied break points.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Breaks non-CJK scripts according to their own rules.\"\n          }\n        ],\n        \"syntax\": \"normal | break-all | keep-all | break-word\",\n        \"relevance\": 75,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/word-break\"\n          }\n        ],\n        \"description\": \"Specifies line break opportunities for non-CJK scripts.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"word-spacing\",\n        \"values\": [\n          {\n            \"name\": \"normal\",\n            \"description\": \"No additional spacing is applied. Computes to zero.\"\n          }\n        ],\n        \"syntax\": \"normal | <length>\",\n        \"relevance\": 57,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/word-spacing\"\n          }\n        ],\n        \"description\": \"Specifies additional spacing between \\u201Cwords\\u201D.\",\n        \"restrictions\": [\n          \"length\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"word-wrap\",\n        \"values\": [\n          {\n            \"name\": \"break-word\",\n            \"description\": \"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"\n          },\n          {\n            \"name\": \"normal\",\n            \"description\": \"Lines may break only at allowed break points.\"\n          }\n        ],\n        \"syntax\": \"normal | break-word\",\n        \"relevance\": 78,\n        \"description\": \"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"writing-mode\",\n        \"values\": [\n          {\n            \"name\": \"horizontal-tb\",\n            \"description\": \"Top-to-bottom block flow direction. The writing mode is horizontal.\"\n          },\n          {\n            \"name\": \"sideways-lr\",\n            \"description\": \"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal.\"\n          },\n          {\n            \"name\": \"sideways-rl\",\n            \"description\": \"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal.\"\n          },\n          {\n            \"name\": \"vertical-lr\",\n            \"description\": \"Left-to-right block flow direction. The writing mode is vertical.\"\n          },\n          {\n            \"name\": \"vertical-rl\",\n            \"description\": \"Right-to-left block flow direction. The writing mode is vertical.\"\n          }\n        ],\n        \"syntax\": \"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/writing-mode\"\n          }\n        ],\n        \"description\": \"This is a shorthand property for both 'direction' and 'block-progression'.\",\n        \"restrictions\": [\n          \"enum\"\n        ]\n      },\n      {\n        \"name\": \"z-index\",\n        \"values\": [\n          {\n            \"name\": \"auto\",\n            \"description\": \"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element.\"\n          }\n        ],\n        \"syntax\": \"auto | <integer>\",\n        \"relevance\": 92,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/z-index\"\n          }\n        ],\n        \"description\": \"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.\",\n        \"restrictions\": [\n          \"integer\"\n        ]\n      },\n      {\n        \"name\": \"zoom\",\n        \"browsers\": [\n          \"E12\",\n          \"S3.1\",\n          \"C1\",\n          \"IE5.5\",\n          \"O15\"\n        ],\n        \"values\": [\n          {\n            \"name\": \"normal\"\n          }\n        ],\n        \"syntax\": \"auto | <number> | <percentage>\",\n        \"relevance\": 67,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/zoom\"\n          }\n        ],\n        \"description\": \"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.\",\n        \"restrictions\": [\n          \"enum\",\n          \"integer\",\n          \"number\",\n          \"percentage\"\n        ]\n      },\n      {\n        \"name\": \"-ms-ime-align\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | after\",\n        \"relevance\": 0,\n        \"description\": \"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active.\"\n      },\n      {\n        \"name\": \"-moz-binding\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<url> | none\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-binding\"\n          }\n        ],\n        \"description\": \"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element.\"\n      },\n      {\n        \"name\": \"-moz-context-properties\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | [ fill | fill-opacity | stroke | stroke-opacity ]#\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF55\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties\"\n          }\n        ],\n        \"description\": \"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\\n\\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true.\"\n      },\n      {\n        \"name\": \"-moz-float-edge\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"border-box | content-box | margin-box | padding-box\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge\"\n          }\n        ],\n        \"description\": \"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness.\"\n      },\n      {\n        \"name\": \"-moz-force-broken-image-icon\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"0 | 1\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon\"\n          }\n        ],\n        \"description\": \"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute.\"\n      },\n      {\n        \"name\": \"-moz-image-region\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<shape> | auto\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region\"\n          }\n        ],\n        \"description\": \"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance.\"\n      },\n      {\n        \"name\": \"-moz-orient\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"inline | block | horizontal | vertical\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF6\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-orient\"\n          }\n        ],\n        \"description\": \"The -moz-orient CSS property specifies the orientation of the element to which it's applied.\"\n      },\n      {\n        \"name\": \"-moz-outline-radius\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius\"\n          }\n        ],\n        \"description\": \"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners.\"\n      },\n      {\n        \"name\": \"-moz-outline-radius-bottomleft\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<outline-radius>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft\"\n          }\n        ],\n        \"description\": \"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline.\"\n      },\n      {\n        \"name\": \"-moz-outline-radius-bottomright\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<outline-radius>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright\"\n          }\n        ],\n        \"description\": \"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline.\"\n      },\n      {\n        \"name\": \"-moz-outline-radius-topleft\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<outline-radius>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft\"\n          }\n        ],\n        \"description\": \"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline.\"\n      },\n      {\n        \"name\": \"-moz-outline-radius-topright\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<outline-radius>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright\"\n          }\n        ],\n        \"description\": \"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline.\"\n      },\n      {\n        \"name\": \"-moz-stack-sizing\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"ignore | stretch-to-fit\",\n        \"relevance\": 0,\n        \"description\": \"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible.\"\n      },\n      {\n        \"name\": \"-moz-text-blink\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"none | blink\",\n        \"relevance\": 0,\n        \"description\": \"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode.\"\n      },\n      {\n        \"name\": \"-moz-user-input\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | none | enabled | disabled\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input\"\n          }\n        ],\n        \"description\": \"In Mozilla applications, -moz-user-input determines if an element will accept user input.\"\n      },\n      {\n        \"name\": \"-moz-user-modify\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"read-only | read-write | write-only\",\n        \"relevance\": 0,\n        \"description\": \"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user.\"\n      },\n      {\n        \"name\": \"-moz-window-dragging\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"drag | no-drag\",\n        \"relevance\": 0,\n        \"description\": \"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X.\"\n      },\n      {\n        \"name\": \"-moz-window-shadow\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"default | menu | tooltip | sheet | none\",\n        \"relevance\": 0,\n        \"description\": \"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X.\"\n      },\n      {\n        \"name\": \"-webkit-border-before\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'border-width'> || <'border-style'> || <color>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E79\",\n          \"S5.1\",\n          \"C8\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before\"\n          }\n        ],\n        \"description\": \"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet.\"\n      },\n      {\n        \"name\": \"-webkit-border-before-color\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 0,\n        \"description\": \"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet.\"\n      },\n      {\n        \"name\": \"-webkit-border-before-style\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'border-style'>\",\n        \"relevance\": 0,\n        \"description\": \"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet.\"\n      },\n      {\n        \"name\": \"-webkit-border-before-width\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<'border-width'>\",\n        \"relevance\": 0,\n        \"description\": \"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet.\"\n      },\n      {\n        \"name\": \"-webkit-line-clamp\",\n        \"syntax\": \"none | <integer>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E17\",\n          \"FF68\",\n          \"S5\",\n          \"C6\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp\"\n          }\n        ],\n        \"description\": \"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines.\"\n      },\n      {\n        \"name\": \"-webkit-mask\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#\",\n        \"relevance\": 0,\n        \"description\": \"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points.\"\n      },\n      {\n        \"name\": \"-webkit-mask-attachment\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<attachment>#\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"S4\",\n          \"C1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment\"\n          }\n        ],\n        \"description\": \"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block.\"\n      },\n      {\n        \"name\": \"-webkit-mask-composite\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<composite-style>#\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E18\",\n          \"FF53\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite\"\n          }\n        ],\n        \"description\": \"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property.\"\n      },\n      {\n        \"name\": \"-webkit-mask-position\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<position>#\",\n        \"relevance\": 0,\n        \"description\": \"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image.\"\n      },\n      {\n        \"name\": \"-webkit-mask-position-x\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ <length-percentage> | left | center | right ]#\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E18\",\n          \"FF49\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x\"\n          }\n        ],\n        \"description\": \"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image.\"\n      },\n      {\n        \"name\": \"-webkit-mask-position-y\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"[ <length-percentage> | top | center | bottom ]#\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E18\",\n          \"FF49\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y\"\n          }\n        ],\n        \"description\": \"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image.\"\n      },\n      {\n        \"name\": \"-webkit-mask-repeat-x\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"repeat | no-repeat | space | round\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E18\",\n          \"S5\",\n          \"C3\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x\"\n          }\n        ],\n        \"description\": \"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally.\"\n      },\n      {\n        \"name\": \"-webkit-mask-repeat-y\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"repeat | no-repeat | space | round\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E18\",\n          \"S5\",\n          \"C3\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y\"\n          }\n        ],\n        \"description\": \"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically.\"\n      },\n      {\n        \"name\": \"accent-color\",\n        \"syntax\": \"auto | <color>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E93\",\n          \"FF92\",\n          \"S15.4\",\n          \"C93\",\n          \"O79\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/accent-color\"\n          }\n        ],\n        \"description\": \"Sets the color of the elements accent\"\n      },\n      {\n        \"name\": \"align-tracks\",\n        \"status\": \"experimental\",\n        \"syntax\": \"[ normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position> ]#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF77\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/align-tracks\"\n          }\n        ],\n        \"description\": \"The align-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.\"\n      },\n      {\n        \"name\": \"animation-timeline\",\n        \"syntax\": \"<single-animation-timeline>#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF97\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-timeline\"\n          }\n        ],\n        \"description\": \"Specifies the names of one or more @scroll-timeline at-rules to describe the element's scroll animations.\"\n      },\n      {\n        \"name\": \"appearance\",\n        \"status\": \"experimental\",\n        \"syntax\": \"none | auto | textfield | menulist-button | <compat-auto>\",\n        \"relevance\": 62,\n        \"browsers\": [\n          \"E84\",\n          \"FF80\",\n          \"S15.4\",\n          \"C84\",\n          \"O70\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/appearance\"\n          }\n        ],\n        \"description\": \"Changes the appearance of buttons and other controls to resemble native controls.\"\n      },\n      {\n        \"name\": \"aspect-ratio\",\n        \"status\": \"experimental\",\n        \"syntax\": \"auto | <ratio>\",\n        \"relevance\": 52,\n        \"browsers\": [\n          \"E88\",\n          \"FF89\",\n          \"S15\",\n          \"C88\",\n          \"O74\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio\"\n          }\n        ],\n        \"description\": \"The aspect-ratio   CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.\"\n      },\n      {\n        \"name\": \"azimuth\",\n        \"status\": \"obsolete\",\n        \"syntax\": \"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards\",\n        \"relevance\": 0,\n        \"description\": \"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage.\"\n      },\n      {\n        \"name\": \"backdrop-filter\",\n        \"syntax\": \"none | <filter-function-list>\",\n        \"relevance\": 53,\n        \"browsers\": [\n          \"E17\",\n          \"FF70\",\n          \"S9\",\n          \"C76\",\n          \"O63\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter\"\n          }\n        ],\n        \"description\": \"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent.\"\n      },\n      {\n        \"name\": \"border-block\",\n        \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block\"\n          }\n        ],\n        \"description\": \"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.\"\n      },\n      {\n        \"name\": \"border-block-color\",\n        \"syntax\": \"<'border-top-color'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-color\"\n          }\n        ],\n        \"description\": \"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-block-style\",\n        \"syntax\": \"<'border-top-style'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-style\"\n          }\n        ],\n        \"description\": \"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-block-width\",\n        \"syntax\": \"<'border-top-width'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-width\"\n          }\n        ],\n        \"description\": \"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-end-end-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E89\",\n          \"FF66\",\n          \"S15\",\n          \"C89\",\n          \"O75\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius\"\n          }\n        ],\n        \"description\": \"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-end-start-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E89\",\n          \"FF66\",\n          \"S15\",\n          \"C89\",\n          \"O75\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius\"\n          }\n        ],\n        \"description\": \"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-inline\",\n        \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline\"\n          }\n        ],\n        \"description\": \"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.\"\n      },\n      {\n        \"name\": \"border-inline-color\",\n        \"syntax\": \"<'border-top-color'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-color\"\n          }\n        ],\n        \"description\": \"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-inline-style\",\n        \"syntax\": \"<'border-top-style'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-style\"\n          }\n        ],\n        \"description\": \"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-inline-width\",\n        \"syntax\": \"<'border-top-width'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-width\"\n          }\n        ],\n        \"description\": \"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-start-end-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E89\",\n          \"FF66\",\n          \"S15\",\n          \"C89\",\n          \"O75\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius\"\n          }\n        ],\n        \"description\": \"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"border-start-start-radius\",\n        \"syntax\": \"<length-percentage>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E89\",\n          \"FF66\",\n          \"S15\",\n          \"C89\",\n          \"O75\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius\"\n          }\n        ],\n        \"description\": \"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"box-align\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"start | center | end | baseline | stretch\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E12\",\n          \"FF1\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-align\"\n          }\n        ],\n        \"description\": \"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box.\"\n      },\n      {\n        \"name\": \"box-direction\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"normal | reverse | inherit\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E12\",\n          \"FF1\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-direction\"\n          }\n        ],\n        \"description\": \"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).\"\n      },\n      {\n        \"name\": \"box-flex\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<number>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E12\",\n          \"FF1\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-flex\"\n          }\n        ],\n        \"description\": \"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout.\"\n      },\n      {\n        \"name\": \"box-flex-group\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<integer>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-flex-group\"\n          }\n        ],\n        \"description\": \"The box-flex-group CSS property assigns the flexbox's child elements to a flex group.\"\n      },\n      {\n        \"name\": \"box-lines\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"single | multiple\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-lines\"\n          }\n        ],\n        \"description\": \"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes).\"\n      },\n      {\n        \"name\": \"box-ordinal-group\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"<integer>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E12\",\n          \"FF1\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group\"\n          }\n        ],\n        \"description\": \"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group.\"\n      },\n      {\n        \"name\": \"box-orient\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"horizontal | vertical | inline-axis | block-axis | inherit\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E12\",\n          \"FF1\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-orient\"\n          }\n        ],\n        \"description\": \"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically.\"\n      },\n      {\n        \"name\": \"box-pack\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"start | center | end | justify\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E12\",\n          \"FF1\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-pack\"\n          }\n        ],\n        \"description\": \"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.\"\n      },\n      {\n        \"name\": \"print-color-adjust\",\n        \"syntax\": \"economy | exact\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF97\",\n          \"S15.4\",\n          \"C17\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/print-color-adjust\"\n          }\n        ],\n        \"description\": \"Defines what optimization the user agent is allowed to do when adjusting the appearance for an output device.\"\n      },\n      {\n        \"name\": \"color-scheme\",\n        \"syntax\": \"normal | [ light | dark | <custom-ident> ]+ && only?\",\n        \"relevance\": 52,\n        \"browsers\": [\n          \"E81\",\n          \"FF96\",\n          \"S13\",\n          \"C81\",\n          \"O68\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/color-scheme\"\n          }\n        ],\n        \"description\": \"The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in.\"\n      },\n      {\n        \"name\": \"content-visibility\",\n        \"syntax\": \"visible | auto | hidden\",\n        \"relevance\": 51,\n        \"browsers\": [\n          \"E85\",\n          \"S15.4\",\n          \"C85\",\n          \"O71\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/content-visibility\"\n          }\n        ],\n        \"description\": \"Controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed.\"\n      },\n      {\n        \"name\": \"counter-set\",\n        \"syntax\": \"[ <counter-name> <integer>? ]+ | none\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E85\",\n          \"FF68\",\n          \"C85\",\n          \"O71\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/counter-set\"\n          }\n        ],\n        \"description\": \"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element.\"\n      },\n      {\n        \"name\": \"font-optical-sizing\",\n        \"syntax\": \"auto | none\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E17\",\n          \"FF62\",\n          \"S11\",\n          \"C79\",\n          \"O66\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing\"\n          }\n        ],\n        \"description\": \"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis.\"\n      },\n      {\n        \"name\": \"font-variation-settings\",\n        \"syntax\": \"normal | [ <string> <number> ]#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E17\",\n          \"FF62\",\n          \"S11\",\n          \"C62\",\n          \"O49\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings\"\n          }\n        ],\n        \"description\": \"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values.\"\n      },\n      {\n        \"name\": \"font-smooth\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"auto | never | always | <absolute-size> | <length>\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"E79\",\n          \"FF25\",\n          \"S4\",\n          \"C5\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-smooth\"\n          }\n        ],\n        \"description\": \"The font-smooth CSS property controls the application of anti-aliasing when fonts are rendered.\"\n      },\n      {\n        \"name\": \"forced-color-adjust\",\n        \"status\": \"experimental\",\n        \"syntax\": \"auto | none\",\n        \"relevance\": 52,\n        \"browsers\": [\n          \"E79\",\n          \"C89\",\n          \"IE10\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust\"\n          }\n        ],\n        \"description\": \"Allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS\"\n      },\n      {\n        \"name\": \"gap\",\n        \"syntax\": \"<'row-gap'> <'column-gap'>?\",\n        \"relevance\": 55,\n        \"browsers\": [\n          \"E84\",\n          \"FF63\",\n          \"S14.1\",\n          \"C84\",\n          \"O70\"\n        ],\n        \"description\": \"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns.\"\n      },\n      {\n        \"name\": \"hanging-punctuation\",\n        \"syntax\": \"none | [ first || [ force-end | allow-end ] || last ]\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"S10\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation\"\n          }\n        ],\n        \"description\": \"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box.\"\n      },\n      {\n        \"name\": \"hyphenate-character\",\n        \"syntax\": \"auto | <string>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF98\",\n          \"S5.1\",\n          \"C6\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/hyphenate-character\"\n          }\n        ],\n        \"description\": \"A hyphenate character used at the end of a line.\"\n      },\n      {\n        \"name\": \"image-resolution\",\n        \"status\": \"experimental\",\n        \"syntax\": \"[ from-image || <resolution> ] && snap?\",\n        \"relevance\": 50,\n        \"description\": \"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image\\u2019s intrinsic dimensions.\"\n      },\n      {\n        \"name\": \"initial-letter\",\n        \"status\": \"experimental\",\n        \"syntax\": \"normal | [ <number> <integer>? ]\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"S9\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/initial-letter\"\n          }\n        ],\n        \"description\": \"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters.\"\n      },\n      {\n        \"name\": \"initial-letter-align\",\n        \"status\": \"experimental\",\n        \"syntax\": \"[ auto | alphabetic | hanging | ideographic ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align\"\n          }\n        ],\n        \"description\": \"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph.\"\n      },\n      {\n        \"name\": \"input-security\",\n        \"syntax\": \"auto | none\",\n        \"relevance\": 50,\n        \"description\": \"Enables or disables the obscuring a sensitive test input.\"\n      },\n      {\n        \"name\": \"inset\",\n        \"syntax\": \"<'top'>{1,4}\",\n        \"relevance\": 51,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset\"\n          }\n        ],\n        \"description\": \"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"inset-block\",\n        \"syntax\": \"<'top'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF63\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-block\"\n          }\n        ],\n        \"description\": \"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"inset-block-end\",\n        \"syntax\": \"<'top'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF63\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-block-end\"\n          }\n        ],\n        \"description\": \"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"inset-block-start\",\n        \"syntax\": \"<'top'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF63\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-block-start\"\n          }\n        ],\n        \"description\": \"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"inset-inline\",\n        \"syntax\": \"<'top'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF63\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-inline\"\n          }\n        ],\n        \"description\": \"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"inset-inline-end\",\n        \"syntax\": \"<'top'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF63\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end\"\n          }\n        ],\n        \"description\": \"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"inset-inline-start\",\n        \"syntax\": \"<'top'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF63\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start\"\n          }\n        ],\n        \"description\": \"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n      },\n      {\n        \"name\": \"justify-tracks\",\n        \"status\": \"experimental\",\n        \"syntax\": \"[ normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF77\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/justify-tracks\"\n          }\n        ],\n        \"description\": \"The justify-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis\"\n      },\n      {\n        \"name\": \"line-clamp\",\n        \"status\": \"experimental\",\n        \"syntax\": \"none | <integer>\",\n        \"relevance\": 50,\n        \"description\": \"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content.\"\n      },\n      {\n        \"name\": \"line-height-step\",\n        \"status\": \"experimental\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"C60\",\n          \"O47\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/line-height-step\"\n          }\n        ],\n        \"description\": \"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid.\"\n      },\n      {\n        \"name\": \"margin-block\",\n        \"syntax\": \"<'margin-left'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-block\"\n          }\n        ],\n        \"description\": \"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.\"\n      },\n      {\n        \"name\": \"margin-inline\",\n        \"syntax\": \"<'margin-left'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-inline\"\n          }\n        ],\n        \"description\": \"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.\"\n      },\n      {\n        \"name\": \"margin-trim\",\n        \"status\": \"experimental\",\n        \"syntax\": \"none | in-flow | all\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-trim\"\n          }\n        ],\n        \"description\": \"The margin-trim property allows the container to trim the margins of its children where they adjoin the container\\u2019s edges.\"\n      },\n      {\n        \"name\": \"mask\",\n        \"syntax\": \"<mask-layer>#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF2\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask\"\n          }\n        ],\n        \"description\": \"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points.\"\n      },\n      {\n        \"name\": \"mask-border\",\n        \"syntax\": \"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border\"\n          }\n        ],\n        \"description\": \"The mask-border CSS property lets you create a mask along the edge of an element's border.\\n\\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value.\"\n      },\n      {\n        \"name\": \"mask-border-mode\",\n        \"syntax\": \"luminance | alpha\",\n        \"relevance\": 50,\n        \"description\": \"The mask-border-mode CSS property specifies the blending mode used in a mask border.\"\n      },\n      {\n        \"name\": \"mask-border-outset\",\n        \"syntax\": \"[ <length> | <number> ]{1,4}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-outset\"\n          }\n        ],\n        \"description\": \"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box.\"\n      },\n      {\n        \"name\": \"mask-border-repeat\",\n        \"syntax\": \"[ stretch | repeat | round | space ]{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat\"\n          }\n        ],\n        \"description\": \"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border.\"\n      },\n      {\n        \"name\": \"mask-border-slice\",\n        \"syntax\": \"<number-percentage>{1,4} fill?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-slice\"\n          }\n        ],\n        \"description\": \"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border.\"\n      },\n      {\n        \"name\": \"mask-border-source\",\n        \"syntax\": \"none | <image>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-source\"\n          }\n        ],\n        \"description\": \"The mask-border-source CSS property specifies the source image used to create an element's mask border.\\n\\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border.\"\n      },\n      {\n        \"name\": \"mask-border-width\",\n        \"syntax\": \"[ <length-percentage> | <number> | auto ]{1,4}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S3.1\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-width\"\n          }\n        ],\n        \"description\": \"The mask-border-width CSS property specifies the width of an element's mask border.\"\n      },\n      {\n        \"name\": \"mask-clip\",\n        \"syntax\": \"[ <geometry-box> | no-clip ]#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF53\",\n          \"S15.4\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-clip\"\n          }\n        ],\n        \"description\": \"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area.\"\n      },\n      {\n        \"name\": \"mask-composite\",\n        \"syntax\": \"<compositing-operator>#\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E18\",\n          \"FF53\",\n          \"S15.4\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-composite\"\n          }\n        ],\n        \"description\": \"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it.\"\n      },\n      {\n        \"name\": \"masonry-auto-flow\",\n        \"status\": \"experimental\",\n        \"syntax\": \"[ pack | next ] || [ definite-first | ordered ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow\"\n          }\n        ],\n        \"description\": \"The masonry-auto-flow CSS property modifies how items are placed when using masonry in CSS Grid Layout.\"\n      },\n      {\n        \"name\": \"math-style\",\n        \"syntax\": \"normal | compact\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF83\",\n          \"S14.1\",\n          \"C83\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/math-style\"\n          }\n        ],\n        \"description\": \"The math-style property indicates whether MathML equations should render with normal or compact height.\"\n      },\n      {\n        \"name\": \"max-lines\",\n        \"status\": \"experimental\",\n        \"syntax\": \"none | <integer>\",\n        \"relevance\": 50,\n        \"description\": \"The max-liens property forces a break after a set number of lines\"\n      },\n      {\n        \"name\": \"offset\",\n        \"syntax\": \"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF72\",\n          \"C55\",\n          \"O42\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset\"\n          }\n        ],\n        \"description\": \"The offset CSS property is a shorthand property for animating an element along a defined path.\"\n      },\n      {\n        \"name\": \"offset-anchor\",\n        \"syntax\": \"auto | <position>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF72\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-anchor\"\n          }\n        ],\n        \"description\": \"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path.\"\n      },\n      {\n        \"name\": \"offset-distance\",\n        \"syntax\": \"<length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF72\",\n          \"C55\",\n          \"O42\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-distance\"\n          }\n        ],\n        \"description\": \"The offset-distance CSS property specifies a position along an offset-path.\"\n      },\n      {\n        \"name\": \"offset-path\",\n        \"syntax\": \"none | ray( [ <angle> && <size> && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF72\",\n          \"C55\",\n          \"O45\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-path\"\n          }\n        ],\n        \"description\": 'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element\\u2019s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of \"0\" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\\n\\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object\\u2019s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'\n      },\n      {\n        \"name\": \"offset-position\",\n        \"status\": \"experimental\",\n        \"syntax\": \"auto | <position>\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-position\"\n          }\n        ],\n        \"description\": \"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored.\"\n      },\n      {\n        \"name\": \"offset-rotate\",\n        \"syntax\": \"[ auto | reverse ] || <angle>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF72\",\n          \"C56\",\n          \"O43\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-rotate\"\n          }\n        ],\n        \"description\": \"The offset-rotate CSS property defines the direction of the element while positioning along the offset path.\"\n      },\n      {\n        \"name\": \"overflow-anchor\",\n        \"syntax\": \"auto | none\",\n        \"relevance\": 52,\n        \"browsers\": [\n          \"E79\",\n          \"FF66\",\n          \"C56\",\n          \"O43\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor\"\n          }\n        ],\n        \"description\": \"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts.\"\n      },\n      {\n        \"name\": \"overflow-block\",\n        \"syntax\": \"visible | hidden | clip | scroll | auto\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF69\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-block\"\n          }\n        ],\n        \"description\": \"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis.\"\n      },\n      {\n        \"name\": \"overflow-clip-box\",\n        \"status\": \"nonstandard\",\n        \"syntax\": \"padding-box | content-box\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF29\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box\"\n          }\n        ],\n        \"description\": \"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties.\"\n      },\n      {\n        \"name\": \"overflow-clip-margin\",\n        \"syntax\": \"<visual-box> || <length [0,\\u221E]>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E90\",\n          \"C90\",\n          \"O76\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin\"\n          }\n        ],\n        \"description\": \"The overflow-clip-margin CSS property determines how far outside its bounds an element with overflow: clip may be painted before being clipped.\"\n      },\n      {\n        \"name\": \"overflow-inline\",\n        \"syntax\": \"visible | hidden | clip | scroll | auto\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF69\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-inline\"\n          }\n        ],\n        \"description\": \"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis.\"\n      },\n      {\n        \"name\": \"overscroll-behavior\",\n        \"syntax\": \"[ contain | none | auto ]{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E18\",\n          \"FF59\",\n          \"C63\",\n          \"O50\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior\"\n          }\n        ],\n        \"description\": \"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior \\u2014 what happens when the boundary of a scrolling area is reached.\"\n      },\n      {\n        \"name\": \"overscroll-behavior-block\",\n        \"syntax\": \"contain | none | auto\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF73\",\n          \"C77\",\n          \"O64\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block\"\n          }\n        ],\n        \"description\": \"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.\"\n      },\n      {\n        \"name\": \"overscroll-behavior-inline\",\n        \"syntax\": \"contain | none | auto\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF73\",\n          \"C77\",\n          \"O64\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline\"\n          }\n        ],\n        \"description\": \"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.\"\n      },\n      {\n        \"name\": \"overscroll-behavior-x\",\n        \"syntax\": \"contain | none | auto\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E18\",\n          \"FF59\",\n          \"C63\",\n          \"O50\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x\"\n          }\n        ],\n        \"description\": \"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior \\u2014 what happens when the boundary of a scrolling area is reached \\u2014 in the x axis direction.\"\n      },\n      {\n        \"name\": \"overscroll-behavior-y\",\n        \"syntax\": \"contain | none | auto\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E18\",\n          \"FF59\",\n          \"C63\",\n          \"O50\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y\"\n          }\n        ],\n        \"description\": \"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior \\u2014 what happens when the boundary of a scrolling area is reached \\u2014 in the y axis direction.\"\n      },\n      {\n        \"name\": \"padding-block\",\n        \"syntax\": \"<'padding-left'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-block\"\n          }\n        ],\n        \"description\": \"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.\"\n      },\n      {\n        \"name\": \"padding-inline\",\n        \"syntax\": \"<'padding-left'>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF66\",\n          \"S14.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-inline\"\n          }\n        ],\n        \"description\": \"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.\"\n      },\n      {\n        \"name\": \"place-content\",\n        \"syntax\": \"<'align-content'> <'justify-content'>?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF45\",\n          \"S9\",\n          \"C59\",\n          \"O46\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/place-content\"\n          }\n        ],\n        \"description\": \"The place-content CSS shorthand property sets both the align-content and justify-content properties.\"\n      },\n      {\n        \"name\": \"place-items\",\n        \"syntax\": \"<'align-items'> <'justify-items'>?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF45\",\n          \"S11\",\n          \"C59\",\n          \"O46\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/place-items\"\n          }\n        ],\n        \"description\": \"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it.\"\n      },\n      {\n        \"name\": \"place-self\",\n        \"syntax\": \"<'align-self'> <'justify-self'>?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF45\",\n          \"S11\",\n          \"C59\",\n          \"O46\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/place-self\"\n          }\n        ],\n        \"description\": \"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it.\"\n      },\n      {\n        \"name\": \"rotate\",\n        \"syntax\": \"none | <angle> | [ x | y | z | <number>{3} ] && <angle>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF72\",\n          \"S14.1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/rotate\"\n          }\n        ],\n        \"description\": \"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.\"\n      },\n      {\n        \"name\": \"row-gap\",\n        \"syntax\": \"normal | <length-percentage>\",\n        \"relevance\": 51,\n        \"browsers\": [\n          \"E84\",\n          \"FF63\",\n          \"S14.1\",\n          \"C84\",\n          \"O70\"\n        ],\n        \"description\": \"The row-gap CSS property specifies the gutter between grid rows.\"\n      },\n      {\n        \"name\": \"ruby-merge\",\n        \"status\": \"experimental\",\n        \"syntax\": \"separate | collapse | auto\",\n        \"relevance\": 50,\n        \"description\": \"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available.\"\n      },\n      {\n        \"name\": \"scale\",\n        \"syntax\": \"none | <number>{1,3}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF72\",\n          \"S14.1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scale\"\n          }\n        ],\n        \"description\": \"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.\"\n      },\n      {\n        \"name\": \"scrollbar-color\",\n        \"syntax\": \"auto | <color>{2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF64\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color\"\n          }\n        ],\n        \"description\": \"The scrollbar-color CSS property sets the color of the scrollbar track and thumb.\"\n      },\n      {\n        \"name\": \"scrollbar-gutter\",\n        \"syntax\": \"auto | stable && both-edges?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E94\",\n          \"FF97\",\n          \"C94\",\n          \"O80\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter\"\n          }\n        ],\n        \"description\": \"The scrollbar-gutter CSS property allows authors to reserve space for the scrollbar, preventing unwanted layout changes as the content grows while also avoiding unnecessary visuals when scrolling isn't needed.\"\n      },\n      {\n        \"name\": \"scrollbar-width\",\n        \"syntax\": \"auto | thin | none\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF64\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width\"\n          }\n        ],\n        \"description\": \"The scrollbar-width property allows the author to set the maximum thickness of an element\\u2019s scrollbars when they are shown. \"\n      },\n      {\n        \"name\": \"scroll-margin\",\n        \"syntax\": \"<length>{1,4}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF90\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin\"\n          }\n        ],\n        \"description\": \"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands.\"\n      },\n      {\n        \"name\": \"scroll-margin-block\",\n        \"syntax\": \"<length>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block\"\n          }\n        ],\n        \"description\": \"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension.\"\n      },\n      {\n        \"name\": \"scroll-margin-block-start\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start\"\n          }\n        ],\n        \"description\": \"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-block-end\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end\"\n          }\n        ],\n        \"description\": \"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-bottom\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom\"\n          }\n        ],\n        \"description\": \"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-inline\",\n        \"syntax\": \"<length>{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline\"\n          }\n        ],\n        \"description\": \"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension.\"\n      },\n      {\n        \"name\": \"scroll-margin-inline-start\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start\"\n          }\n        ],\n        \"description\": \"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-inline-end\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end\"\n          }\n        ],\n        \"description\": \"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-left\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left\"\n          }\n        ],\n        \"description\": \"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-right\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right\"\n          }\n        ],\n        \"description\": \"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-margin-top\",\n        \"syntax\": \"<length>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top\"\n          }\n        ],\n        \"description\": \"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\\u2019s coordinate space), then adding the specified outsets.\"\n      },\n      {\n        \"name\": \"scroll-padding\",\n        \"syntax\": \"[ auto | <length-percentage> ]{1,4}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding\"\n          }\n        ],\n        \"description\": \"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands.\"\n      },\n      {\n        \"name\": \"scroll-padding-block\",\n        \"syntax\": \"[ auto | <length-percentage> ]{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S15\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block\"\n          }\n        ],\n        \"description\": \"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension.\"\n      },\n      {\n        \"name\": \"scroll-padding-block-start\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S15\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start\"\n          }\n        ],\n        \"description\": \"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-block-end\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S15\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end\"\n          }\n        ],\n        \"description\": \"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-bottom\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom\"\n          }\n        ],\n        \"description\": \"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-inline\",\n        \"syntax\": \"[ auto | <length-percentage> ]{1,2}\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S15\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline\"\n          }\n        ],\n        \"description\": \"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension.\"\n      },\n      {\n        \"name\": \"scroll-padding-inline-start\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S15\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start\"\n          }\n        ],\n        \"description\": \"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-inline-end\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S15\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end\"\n          }\n        ],\n        \"description\": \"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-left\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left\"\n          }\n        ],\n        \"description\": \"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-right\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right\"\n          }\n        ],\n        \"description\": \"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-padding-top\",\n        \"syntax\": \"auto | <length-percentage>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S14.1\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top\"\n          }\n        ],\n        \"description\": \"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n      },\n      {\n        \"name\": \"scroll-snap-align\",\n        \"syntax\": \"[ none | start | end | center ]{1,2}\",\n        \"relevance\": 52,\n        \"browsers\": [\n          \"E79\",\n          \"FF68\",\n          \"S11\",\n          \"C69\",\n          \"O56\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align\"\n          }\n        ],\n        \"description\": \"The scroll-snap-align property specifies the box\\u2019s snap position as an alignment of its snap area (as the alignment subject) within its snap container\\u2019s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value.\"\n      },\n      {\n        \"name\": \"scroll-snap-stop\",\n        \"syntax\": \"normal | always\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"S15\",\n          \"C75\",\n          \"O62\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop\"\n          }\n        ],\n        \"description\": 'The scroll-snap-stop CSS property defines whether the scroll container is allowed to \"pass over\" possible snap positions.'\n      },\n      {\n        \"name\": \"scroll-snap-type-x\",\n        \"status\": \"obsolete\",\n        \"syntax\": \"none | mandatory | proximity\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF39\",\n          \"S9\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x\"\n          }\n        ],\n        \"description\": \"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\\n\\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.\"\n      },\n      {\n        \"name\": \"scroll-snap-type-y\",\n        \"status\": \"obsolete\",\n        \"syntax\": \"none | mandatory | proximity\",\n        \"relevance\": 0,\n        \"browsers\": [\n          \"FF39\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y\"\n          }\n        ],\n        \"description\": \"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\\n\\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.\"\n      },\n      {\n        \"name\": \"text-combine-upright\",\n        \"syntax\": \"none | all | [ digits <integer>? ]\",\n        \"relevance\": 50,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright\"\n          }\n        ],\n        \"description\": \"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\\n\\nThis is used to produce an effect that is known as tate-ch\\u016B-yoko (\\u7E26\\u4E2D\\u6A2A) in Japanese, or as \\u76F4\\u66F8\\u6A6B\\u5411 in Chinese.\"\n      },\n      {\n        \"name\": \"text-decoration-skip\",\n        \"status\": \"experimental\",\n        \"syntax\": \"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]\",\n        \"relevance\": 52,\n        \"browsers\": [\n          \"S12.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip\"\n          }\n        ],\n        \"description\": \"The text-decoration-skip CSS property specifies what parts of the element\\u2019s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors.\"\n      },\n      {\n        \"name\": \"text-decoration-skip-ink\",\n        \"syntax\": \"auto | all | none\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF70\",\n          \"S15.4\",\n          \"C64\",\n          \"O50\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink\"\n          }\n        ],\n        \"description\": \"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.\"\n      },\n      {\n        \"name\": \"text-decoration-thickness\",\n        \"syntax\": \"auto | from-font | <length> | <percentage> \",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E89\",\n          \"FF70\",\n          \"S12.1\",\n          \"C89\",\n          \"O75\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness\"\n          }\n        ],\n        \"description\": \"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline.\"\n      },\n      {\n        \"name\": \"text-emphasis\",\n        \"syntax\": \"<'text-emphasis-style'> || <'text-emphasis-color'>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF46\",\n          \"S7\",\n          \"C25\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis\"\n          }\n        ],\n        \"description\": \"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces,  and control characters.\"\n      },\n      {\n        \"name\": \"text-emphasis-color\",\n        \"syntax\": \"<color>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF46\",\n          \"S7\",\n          \"C25\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color\"\n          }\n        ],\n        \"description\": \"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand.\"\n      },\n      {\n        \"name\": \"text-emphasis-position\",\n        \"syntax\": \"[ over | under ] && [ right | left ]\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF46\",\n          \"S7\",\n          \"C25\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position\"\n          }\n        ],\n        \"description\": \"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased.\"\n      },\n      {\n        \"name\": \"text-emphasis-style\",\n        \"syntax\": \"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF46\",\n          \"S7\",\n          \"C25\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style\"\n          }\n        ],\n        \"description\": \"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand.\"\n      },\n      {\n        \"name\": \"text-size-adjust\",\n        \"status\": \"experimental\",\n        \"syntax\": \"none | auto | <percentage>\",\n        \"relevance\": 57,\n        \"browsers\": [\n          \"E79\",\n          \"C54\",\n          \"O41\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust\"\n          }\n        ],\n        \"description\": \"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.\"\n      },\n      {\n        \"name\": \"text-underline-offset\",\n        \"syntax\": \"auto | <length> | <percentage> \",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E87\",\n          \"FF70\",\n          \"S12.1\",\n          \"C87\",\n          \"O73\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset\"\n          }\n        ],\n        \"description\": \"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position.\"\n      },\n      {\n        \"name\": \"transform-box\",\n        \"syntax\": \"content-box | border-box | fill-box | stroke-box | view-box\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"E79\",\n          \"FF55\",\n          \"S11\",\n          \"C64\",\n          \"O51\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform-box\"\n          }\n        ],\n        \"description\": \"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate.\"\n      },\n      {\n        \"name\": \"translate\",\n        \"syntax\": \"none | <length-percentage> [ <length-percentage> <length>? ]?\",\n        \"relevance\": 50,\n        \"browsers\": [\n          \"FF72\",\n          \"S14.1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/translate\"\n          }\n        ],\n        \"description\": \"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.\"\n      },\n      {\n        \"name\": \"white-space\",\n        \"syntax\": \"normal | pre | nowrap | pre-wrap | pre-line | break-spaces\",\n        \"relevance\": 90,\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/white-space\"\n          }\n        ],\n        \"description\": \"Specifies how whitespace is handled in an element.\"\n      },\n      {\n        \"name\": \"speak-as\",\n        \"syntax\": \"auto | bullets | numbers | words | spell-out | <counter-style-name>\",\n        \"relevance\": 50,\n        \"description\": \"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue.\"\n      },\n      {\n        \"name\": \"ascent-override\",\n        \"status\": \"experimental\",\n        \"syntax\": \"normal | <percentage>\",\n        \"relevance\": 50,\n        \"description\": \"Describes the ascent metric of a font.\"\n      },\n      {\n        \"name\": \"descent-override\",\n        \"status\": \"experimental\",\n        \"syntax\": \"normal | <percentage>\",\n        \"relevance\": 50,\n        \"description\": \"Describes the descent metric of a font.\"\n      },\n      {\n        \"name\": \"font-display\",\n        \"status\": \"experimental\",\n        \"syntax\": \"[ auto | block | swap | fallback | optional ]\",\n        \"relevance\": 70,\n        \"description\": \"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use.\"\n      },\n      {\n        \"name\": \"line-gap-override\",\n        \"status\": \"experimental\",\n        \"syntax\": \"normal | <percentage>\",\n        \"relevance\": 50,\n        \"description\": \"Describes the line-gap metric of a font.\"\n      },\n      {\n        \"name\": \"size-adjust\",\n        \"status\": \"experimental\",\n        \"syntax\": \"<percentage>\",\n        \"relevance\": 50,\n        \"description\": \"A multiplier for glyph outlines and metrics of a font.\"\n      },\n      {\n        \"name\": \"bleed\",\n        \"syntax\": \"auto | <length>\",\n        \"relevance\": 50,\n        \"description\": \"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property.\"\n      },\n      {\n        \"name\": \"marks\",\n        \"syntax\": \"none | [ crop || cross ]\",\n        \"relevance\": 50,\n        \"description\": \"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets.\"\n      },\n      {\n        \"name\": \"syntax\",\n        \"status\": \"experimental\",\n        \"syntax\": \"<string>\",\n        \"relevance\": 50,\n        \"description\": \"Specifies the syntax of the custom property registration represented by the @property rule, controlling how the property\\u2019s value is parsed at computed value time.\"\n      },\n      {\n        \"name\": \"inherits\",\n        \"status\": \"experimental\",\n        \"syntax\": \"true | false\",\n        \"relevance\": 50,\n        \"description\": \"Specifies the inherit flag of the custom property registration represented by the @property rule, controlling whether or not the property inherits by default.\"\n      },\n      {\n        \"name\": \"initial-value\",\n        \"status\": \"experimental\",\n        \"syntax\": \"<string>\",\n        \"relevance\": 50,\n        \"description\": \"Specifies the initial value of the custom property registration represented by the @property rule, controlling the property\\u2019s initial value.\"\n      },\n      {\n        \"name\": \"max-zoom\",\n        \"syntax\": \"auto | <number> | <percentage>\",\n        \"relevance\": 50,\n        \"description\": \"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\\n\\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.\"\n      },\n      {\n        \"name\": \"min-zoom\",\n        \"syntax\": \"auto | <number> | <percentage>\",\n        \"relevance\": 50,\n        \"description\": \"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\\n\\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.\"\n      },\n      {\n        \"name\": \"orientation\",\n        \"syntax\": \"auto | portrait | landscape\",\n        \"relevance\": 50,\n        \"description\": \"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media).\"\n      },\n      {\n        \"name\": \"user-zoom\",\n        \"syntax\": \"zoom | fixed\",\n        \"relevance\": 50,\n        \"description\": \"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport.\"\n      },\n      {\n        \"name\": \"viewport-fit\",\n        \"syntax\": \"auto | contain | cover\",\n        \"relevance\": 50,\n        \"description\": \"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation.\"\n      }\n    ],\n    \"atDirectives\": [\n      {\n        \"name\": \"@charset\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@charset\"\n          }\n        ],\n        \"description\": \"Defines character set of the document.\"\n      },\n      {\n        \"name\": \"@counter-style\",\n        \"browsers\": [\n          \"E91\",\n          \"FF33\",\n          \"C91\",\n          \"O77\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@counter-style\"\n          }\n        ],\n        \"description\": \"Defines a custom counter style.\"\n      },\n      {\n        \"name\": \"@font-face\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@font-face\"\n          }\n        ],\n        \"description\": \"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment.\"\n      },\n      {\n        \"name\": \"@font-feature-values\",\n        \"browsers\": [\n          \"FF34\",\n          \"S9.1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values\"\n          }\n        ],\n        \"description\": \"Defines named values for the indices used to select alternate glyphs for a given font family.\"\n      },\n      {\n        \"name\": \"@import\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@import\"\n          }\n        ],\n        \"description\": \"Includes content of another file.\"\n      },\n      {\n        \"name\": \"@keyframes\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@keyframes\"\n          }\n        ],\n        \"description\": \"Defines set of animation key frames.\"\n      },\n      {\n        \"name\": \"@media\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@media\"\n          }\n        ],\n        \"description\": \"Defines a stylesheet for a particular media type.\"\n      },\n      {\n        \"name\": \"@-moz-document\",\n        \"browsers\": [\n          \"FF1.8\"\n        ],\n        \"description\": \"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document.\"\n      },\n      {\n        \"name\": \"@-moz-keyframes\",\n        \"browsers\": [\n          \"FF5\"\n        ],\n        \"description\": \"Defines set of animation key frames.\"\n      },\n      {\n        \"name\": \"@-ms-viewport\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Specifies the size, zoom factor, and orientation of the viewport.\"\n      },\n      {\n        \"name\": \"@namespace\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@namespace\"\n          }\n        ],\n        \"description\": \"Declares a prefix and associates it with a namespace name.\"\n      },\n      {\n        \"name\": \"@-o-keyframes\",\n        \"browsers\": [\n          \"O12\"\n        ],\n        \"description\": \"Defines set of animation key frames.\"\n      },\n      {\n        \"name\": \"@-o-viewport\",\n        \"browsers\": [\n          \"O11\"\n        ],\n        \"description\": \"Specifies the size, zoom factor, and orientation of the viewport.\"\n      },\n      {\n        \"name\": \"@page\",\n        \"browsers\": [\n          \"E12\",\n          \"FF19\",\n          \"C2\",\n          \"IE8\",\n          \"O6\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@page\"\n          }\n        ],\n        \"description\": \"Directive defines various page parameters.\"\n      },\n      {\n        \"name\": \"@supports\",\n        \"browsers\": [\n          \"E12\",\n          \"FF22\",\n          \"S9\",\n          \"C28\",\n          \"O12.1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@supports\"\n          }\n        ],\n        \"description\": \"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs.\"\n      },\n      {\n        \"name\": \"@-webkit-keyframes\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ],\n        \"description\": \"Defines set of animation key frames.\"\n      }\n    ],\n    \"pseudoClasses\": [\n      {\n        \"name\": \":active\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:active\"\n          }\n        ],\n        \"description\": \"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it.\"\n      },\n      {\n        \"name\": \":any-link\",\n        \"browsers\": [\n          \"E79\",\n          \"FF50\",\n          \"S9\",\n          \"C65\",\n          \"O52\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:any-link\"\n          }\n        ],\n        \"description\": \"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links.\"\n      },\n      {\n        \"name\": \":checked\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:checked\"\n          }\n        ],\n        \"description\": \"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies.\"\n      },\n      {\n        \"name\": \":corner-present\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Indicates whether or not a scrollbar corner is present.\"\n      },\n      {\n        \"name\": \":decrement\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view\\u2019s position when used.\"\n      },\n      {\n        \"name\": \":default\",\n        \"browsers\": [\n          \"E79\",\n          \"FF4\",\n          \"S5\",\n          \"C10\",\n          \"O10\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:default\"\n          }\n        ],\n        \"description\": \"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus.\"\n      },\n      {\n        \"name\": \":disabled\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:disabled\"\n          }\n        ],\n        \"description\": \"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state.\"\n      },\n      {\n        \"name\": \":double-button\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar.\"\n      },\n      {\n        \"name\": \":empty\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:empty\"\n          }\n        ],\n        \"description\": \"Represents an element that has no children at all.\"\n      },\n      {\n        \"name\": \":enabled\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:enabled\"\n          }\n        ],\n        \"description\": \"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state.\"\n      },\n      {\n        \"name\": \":end\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb.\"\n      },\n      {\n        \"name\": \":first\",\n        \"browsers\": [\n          \"E12\",\n          \"S6\",\n          \"C18\",\n          \"IE8\",\n          \"O9.2\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:first\"\n          }\n        ],\n        \"description\": \"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the  page context.\"\n      },\n      {\n        \"name\": \":first-child\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:first-child\"\n          }\n        ],\n        \"description\": \"Same as :nth-child(1). Represents an element that is the first child of some other element.\"\n      },\n      {\n        \"name\": \":first-of-type\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:first-of-type\"\n          }\n        ],\n        \"description\": \"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element.\"\n      },\n      {\n        \"name\": \":focus\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:focus\"\n          }\n        ],\n        \"description\": \"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input).\"\n      },\n      {\n        \"name\": \":fullscreen\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:fullscreen\"\n          }\n        ],\n        \"description\": \"Matches any element that has its fullscreen flag set.\"\n      },\n      {\n        \"name\": \":future\",\n        \"browsers\": [\n          \"S7\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:future\"\n          }\n        ],\n        \"description\": \"Represents any element that is defined to occur entirely after a :current element.\"\n      },\n      {\n        \"name\": \":horizontal\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation.\"\n      },\n      {\n        \"name\": \":host\",\n        \"browsers\": [\n          \"E79\",\n          \"FF63\",\n          \"S10\",\n          \"C54\",\n          \"O41\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:host\"\n          }\n        ],\n        \"description\": \"When evaluated in the context of a shadow tree, matches the shadow tree\\u2019s host element.\"\n      },\n      {\n        \"name\": \":host()\",\n        \"browsers\": [\n          \"C35\",\n          \"O22\"\n        ],\n        \"description\": \"When evaluated in the context of a shadow tree, it matches the shadow tree\\u2019s host element if the host element, in its normal context, matches the selector argument.\"\n      },\n      {\n        \"name\": \":host-context()\",\n        \"browsers\": [\n          \"C35\",\n          \"O22\"\n        ],\n        \"description\": \"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector.\"\n      },\n      {\n        \"name\": \":hover\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:hover\"\n          }\n        ],\n        \"description\": \"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element.\"\n      },\n      {\n        \"name\": \":increment\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view\\u2019s position when used.\"\n      },\n      {\n        \"name\": \":indeterminate\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:indeterminate\"\n          }\n        ],\n        \"description\": \"Applies to UI elements whose value is in an indeterminate state.\"\n      },\n      {\n        \"name\": \":in-range\",\n        \"browsers\": [\n          \"E13\",\n          \"FF29\",\n          \"S5.1\",\n          \"C10\",\n          \"O11\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:in-range\"\n          }\n        ],\n        \"description\": \"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes.\"\n      },\n      {\n        \"name\": \":invalid\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:invalid\"\n          }\n        ],\n        \"description\": \"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification.\"\n      },\n      {\n        \"name\": \":lang()\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"FF1\",\n          \"IE8\",\n          \"O8\",\n          \"S3\"\n        ],\n        \"description\": \"Represents an element that is in language specified.\"\n      },\n      {\n        \"name\": \":last-child\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:last-child\"\n          }\n        ],\n        \"description\": \"Same as :nth-last-child(1). Represents an element that is the last child of some other element.\"\n      },\n      {\n        \"name\": \":last-of-type\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:last-of-type\"\n          }\n        ],\n        \"description\": \"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element.\"\n      },\n      {\n        \"name\": \":left\",\n        \"browsers\": [\n          \"E12\",\n          \"S5.1\",\n          \"C6\",\n          \"IE8\",\n          \"O9.2\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:left\"\n          }\n        ],\n        \"description\": \"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the  page context.\"\n      },\n      {\n        \"name\": \":link\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:link\"\n          }\n        ],\n        \"description\": \"Applies to links that have not yet been visited.\"\n      },\n      {\n        \"name\": \":matches()\",\n        \"browsers\": [\n          \"S9\"\n        ],\n        \"description\": \"Takes a selector list as its argument. It represents an element that is represented by its argument.\"\n      },\n      {\n        \"name\": \":-moz-any()\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"description\": \"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches().\"\n      },\n      {\n        \"name\": \":-moz-any-link\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links.\"\n      },\n      {\n        \"name\": \":-moz-broken\",\n        \"browsers\": [\n          \"FF3\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken\"\n          }\n        ],\n        \"description\": \"Non-standard. Matches elements representing broken images.\"\n      },\n      {\n        \"name\": \":-moz-drag-over\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Non-standard. Matches elements when a drag-over event applies to it.\"\n      },\n      {\n        \"name\": \":-moz-first-node\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Non-standard. Represents an element that is the first child node of some other element.\"\n      },\n      {\n        \"name\": \":-moz-focusring\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"description\": \"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser.\"\n      },\n      {\n        \"name\": \":-moz-full-screen\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"description\": \"Matches any element that has its fullscreen flag set. Standardized as :fullscreen.\"\n      },\n      {\n        \"name\": \":-moz-last-node\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Non-standard. Represents an element that is the last child node of some other element.\"\n      },\n      {\n        \"name\": \":-moz-loading\",\n        \"browsers\": [\n          \"FF3\"\n        ],\n        \"description\": \"Non-standard. Matches elements, such as images, that haven\\u2019t started loading yet.\"\n      },\n      {\n        \"name\": \":-moz-only-whitespace\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace\"\n          }\n        ],\n        \"description\": \"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank.\"\n      },\n      {\n        \"name\": \":-moz-placeholder\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"description\": \"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+.\"\n      },\n      {\n        \"name\": \":-moz-submit-invalid\",\n        \"browsers\": [\n          \"FF88\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid\"\n          }\n        ],\n        \"description\": \"Non-standard. Represents any submit button when the contents of the associated form are not valid.\"\n      },\n      {\n        \"name\": \":-moz-suppressed\",\n        \"browsers\": [\n          \"FF3\"\n        ],\n        \"description\": \"Non-standard. Matches elements representing images that have been blocked from loading.\"\n      },\n      {\n        \"name\": \":-moz-ui-invalid\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"description\": \"Non-standard. Represents any validated form element whose value isn't valid \"\n      },\n      {\n        \"name\": \":-moz-ui-valid\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"description\": \"Non-standard. Represents any validated form element whose value is valid \"\n      },\n      {\n        \"name\": \":-moz-user-disabled\",\n        \"browsers\": [\n          \"FF3\"\n        ],\n        \"description\": \"Non-standard. Matches elements representing images that have been disabled due to the user\\u2019s preferences.\"\n      },\n      {\n        \"name\": \":-moz-window-inactive\",\n        \"browsers\": [\n          \"FF4\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive\"\n          }\n        ],\n        \"description\": \"Non-standard. Matches elements in an inactive window.\"\n      },\n      {\n        \"name\": \":-ms-fullscreen\",\n        \"browsers\": [\n          \"IE11\"\n        ],\n        \"description\": \"Matches any element that has its fullscreen flag set.\"\n      },\n      {\n        \"name\": \":-ms-input-placeholder\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"description\": \"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder.\"\n      },\n      {\n        \"name\": \":-ms-keyboard-active\",\n        \"browsers\": [\n          \"IE10\"\n        ],\n        \"description\": \"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar.\"\n      },\n      {\n        \"name\": \":-ms-lang()\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents an element that is in the language specified. Accepts a comma separated list of language tokens.\"\n      },\n      {\n        \"name\": \":no-button\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track.\"\n      },\n      {\n        \"name\": \":not()\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"FF1\",\n          \"IE9\",\n          \"O9.5\",\n          \"S2\"\n        ],\n        \"description\": \"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument.\"\n      },\n      {\n        \"name\": \":nth-child()\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"FF3.5\",\n          \"IE9\",\n          \"O9.5\",\n          \"S3.1\"\n        ],\n        \"description\": \"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element.\"\n      },\n      {\n        \"name\": \":nth-last-child()\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"FF3.5\",\n          \"IE9\",\n          \"O9.5\",\n          \"S3.1\"\n        ],\n        \"description\": \"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element.\"\n      },\n      {\n        \"name\": \":nth-last-of-type()\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"FF3.5\",\n          \"IE9\",\n          \"O9.5\",\n          \"S3.1\"\n        ],\n        \"description\": \"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element.\"\n      },\n      {\n        \"name\": \":nth-of-type()\",\n        \"browsers\": [\n          \"E\",\n          \"C\",\n          \"FF3.5\",\n          \"IE9\",\n          \"O9.5\",\n          \"S3.1\"\n        ],\n        \"description\": \"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element.\"\n      },\n      {\n        \"name\": \":only-child\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:only-child\"\n          }\n        ],\n        \"description\": \"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity.\"\n      },\n      {\n        \"name\": \":only-of-type\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:only-of-type\"\n          }\n        ],\n        \"description\": \"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity.\"\n      },\n      {\n        \"name\": \":optional\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:optional\"\n          }\n        ],\n        \"description\": \"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional.\"\n      },\n      {\n        \"name\": \":out-of-range\",\n        \"browsers\": [\n          \"E13\",\n          \"FF29\",\n          \"S5.1\",\n          \"C10\",\n          \"O11\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:out-of-range\"\n          }\n        ],\n        \"description\": \"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes.\"\n      },\n      {\n        \"name\": \":past\",\n        \"browsers\": [\n          \"S7\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:past\"\n          }\n        ],\n        \"description\": \"Represents any element that is defined to occur entirely prior to a :current element.\"\n      },\n      {\n        \"name\": \":read-only\",\n        \"browsers\": [\n          \"E13\",\n          \"FF78\",\n          \"S4\",\n          \"C1\",\n          \"O9\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:read-only\"\n          }\n        ],\n        \"description\": \"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only.\"\n      },\n      {\n        \"name\": \":read-write\",\n        \"browsers\": [\n          \"E13\",\n          \"FF78\",\n          \"S4\",\n          \"C1\",\n          \"O9\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:read-write\"\n          }\n        ],\n        \"description\": \"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only.\"\n      },\n      {\n        \"name\": \":required\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:required\"\n          }\n        ],\n        \"description\": \"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional.\"\n      },\n      {\n        \"name\": \":right\",\n        \"browsers\": [\n          \"E12\",\n          \"S5.1\",\n          \"C6\",\n          \"IE8\",\n          \"O9.2\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:right\"\n          }\n        ],\n        \"description\": \"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the  page context.\"\n      },\n      {\n        \"name\": \":root\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:root\"\n          }\n        ],\n        \"description\": \"Represents an element that is the root of the document. In HTML 4, this is always the HTML element.\"\n      },\n      {\n        \"name\": \":scope\",\n        \"browsers\": [\n          \"E79\",\n          \"FF32\",\n          \"S7\",\n          \"C27\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:scope\"\n          }\n        ],\n        \"description\": \"Represents any element that is in the contextual reference element set.\"\n      },\n      {\n        \"name\": \":single-button\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar.\"\n      },\n      {\n        \"name\": \":start\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb.\"\n      },\n      {\n        \"name\": \":target\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:target\"\n          }\n        ],\n        \"description\": \"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier).\"\n      },\n      {\n        \"name\": \":valid\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:valid\"\n          }\n        ],\n        \"description\": \"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification.\"\n      },\n      {\n        \"name\": \":vertical\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Non-standard. Applies to any scrollbar pieces that have a vertical orientation.\"\n      },\n      {\n        \"name\": \":visited\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:visited\"\n          }\n        ],\n        \"description\": \"Applies once the link has been visited by the user.\"\n      },\n      {\n        \"name\": \":-webkit-any()\",\n        \"browsers\": [\n          \"C\",\n          \"S5\"\n        ],\n        \"description\": \"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches().\"\n      },\n      {\n        \"name\": \":-webkit-full-screen\",\n        \"browsers\": [\n          \"C\",\n          \"S6\"\n        ],\n        \"description\": \"Matches any element that has its fullscreen flag set. Standardized as :fullscreen.\"\n      },\n      {\n        \"name\": \":window-inactive\",\n        \"browsers\": [\n          \"C\",\n          \"S3\"\n        ],\n        \"description\": \"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active.\"\n      },\n      {\n        \"name\": \":current\",\n        \"status\": \"experimental\",\n        \"description\": \"The :current CSS pseudo-class selector is a time-dimensional pseudo-class that represents the element, or an ancestor of the element, that is currently being displayed\"\n      },\n      {\n        \"name\": \":blank\",\n        \"status\": \"experimental\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:blank\"\n          }\n        ],\n        \"description\": \"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>).\"\n      },\n      {\n        \"name\": \":defined\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"E79\",\n          \"FF63\",\n          \"S10\",\n          \"C54\",\n          \"O41\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:defined\"\n          }\n        ],\n        \"description\": \"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method).\"\n      },\n      {\n        \"name\": \":dir\",\n        \"browsers\": [\n          \"FF49\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:dir\"\n          }\n        ],\n        \"description\": \"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them.\"\n      },\n      {\n        \"name\": \":focus-visible\",\n        \"browsers\": [\n          \"E86\",\n          \"FF85\",\n          \"S15.4\",\n          \"C86\",\n          \"O72\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:focus-visible\"\n          }\n        ],\n        \"description\": \"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element.\"\n      },\n      {\n        \"name\": \":focus-within\",\n        \"browsers\": [\n          \"E79\",\n          \"FF52\",\n          \"S10.1\",\n          \"C60\",\n          \"O47\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:focus-within\"\n          }\n        ],\n        \"description\": \"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus.\"\n      },\n      {\n        \"name\": \":has\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"S15.4\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:has\"\n          }\n        ],\n        \"description\": \":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element.\"\n      },\n      {\n        \"name\": \":is\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"E88\",\n          \"FF78\",\n          \"S14\",\n          \"C88\",\n          \"O74\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:is\"\n          }\n        ],\n        \"description\": \"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form.\"\n      },\n      {\n        \"name\": \":local-link\",\n        \"status\": \"experimental\",\n        \"description\": \"The :local-link CSS pseudo-class represents an link to the same document\"\n      },\n      {\n        \"name\": \":nth-col\",\n        \"status\": \"experimental\",\n        \"description\": \"The :nth-col() CSS pseudo-class is designed for tables and grids. It accepts the An+B notation such as used with the :nth-child selector, using this to target every nth column. \"\n      },\n      {\n        \"name\": \":nth-last-col\",\n        \"status\": \"experimental\",\n        \"description\": \"The :nth-last-col() CSS pseudo-class is designed for tables and grids. It accepts the An+B notation such as used with the :nth-child selector, using this to target every nth column before it, therefore counting back from the end of the set of columns.\"\n      },\n      {\n        \"name\": \":paused\",\n        \"status\": \"experimental\",\n        \"description\": \"The :paused CSS pseudo-class selector is a resource state pseudo-class that will match an audio, video, or similar resource that is capable of being \\u201Cplayed\\u201D or \\u201Cpaused\\u201D, when that element is \\u201Cpaused\\u201D.\"\n      },\n      {\n        \"name\": \":placeholder-shown\",\n        \"status\": \"experimental\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown\"\n          }\n        ],\n        \"description\": \"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text.\"\n      },\n      {\n        \"name\": \":playing\",\n        \"status\": \"experimental\",\n        \"description\": \"The :playing CSS pseudo-class selector is a resource state pseudo-class that will match an audio, video, or similar resource that is capable of being \\u201Cplayed\\u201D or \\u201Cpaused\\u201D, when that element is \\u201Cplaying\\u201D. \"\n      },\n      {\n        \"name\": \":target-within\",\n        \"status\": \"experimental\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:target-within\"\n          }\n        ],\n        \"description\": \"The :target-within CSS pseudo-class represents an element that is a target element or contains an element that is a target. A target element is a unique element with an id matching the URL's fragment.\"\n      },\n      {\n        \"name\": \":user-invalid\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"FF88\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:user-invalid\"\n          }\n        ],\n        \"description\": \"The :user-invalid CSS pseudo-class represents any validated form element whose value isn't valid based on their validation constraints, after the user has interacted with it.\"\n      },\n      {\n        \"name\": \":user-valid\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"FF88\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:user-valid\"\n          }\n        ],\n        \"description\": \"The :user-valid CSS pseudo-class represents any validated form element whose value validates correctly based on its validation constraints. However, unlike :valid it only matches once the user has interacted with it.\"\n      },\n      {\n        \"name\": \":where\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"E88\",\n          \"FF78\",\n          \"S14\",\n          \"C88\",\n          \"O74\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:where\"\n          }\n        ],\n        \"description\": \"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list.\"\n      },\n      {\n        \"name\": \":picture-in-picture\",\n        \"status\": \"experimental\",\n        \"description\": \"The :picture-in-picture CSS pseudo-class matches the element which is currently in picture-in-picture mode.\"\n      }\n    ],\n    \"pseudoElements\": [\n      {\n        \"name\": \"::after\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::after\"\n          }\n        ],\n        \"description\": \"Represents a styleable child pseudo-element immediately after the originating element\\u2019s actual content.\"\n      },\n      {\n        \"name\": \"::backdrop\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::backdrop\"\n          }\n        ],\n        \"description\": \"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen).\"\n      },\n      {\n        \"name\": \"::before\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::before\"\n          }\n        ],\n        \"description\": \"Represents a styleable child pseudo-element immediately before the originating element\\u2019s actual content.\"\n      },\n      {\n        \"name\": \"::content\",\n        \"browsers\": [\n          \"C35\",\n          \"O22\"\n        ],\n        \"description\": \"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility.\"\n      },\n      {\n        \"name\": \"::cue\",\n        \"browsers\": [\n          \"E79\",\n          \"FF55\",\n          \"S7\",\n          \"C26\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::cue\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::cue()\",\n        \"browsers\": [\n          \"C\",\n          \"O16\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::cue-region\",\n        \"browsers\": [\n          \"C\",\n          \"O16\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::cue-region()\",\n        \"browsers\": [\n          \"C\",\n          \"O16\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::first-letter\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::first-letter\"\n          }\n        ],\n        \"description\": \"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line.\"\n      },\n      {\n        \"name\": \"::first-line\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::first-line\"\n          }\n        ],\n        \"description\": \"Describes the contents of the first formatted line of its originating element.\"\n      },\n      {\n        \"name\": \"::-moz-focus-inner\",\n        \"browsers\": [\n          \"FF4\"\n        ]\n      },\n      {\n        \"name\": \"::-moz-focus-outer\",\n        \"browsers\": [\n          \"FF4\"\n        ]\n      },\n      {\n        \"name\": \"::-moz-list-bullet\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Used to style the bullet of a list element. Similar to the standardized ::marker.\"\n      },\n      {\n        \"name\": \"::-moz-list-number\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Used to style the numbers of a list element. Similar to the standardized ::marker.\"\n      },\n      {\n        \"name\": \"::-moz-placeholder\",\n        \"browsers\": [\n          \"FF19\"\n        ],\n        \"description\": \"Represents placeholder text in an input field\"\n      },\n      {\n        \"name\": \"::-moz-progress-bar\",\n        \"browsers\": [\n          \"FF9\"\n        ],\n        \"description\": \"Represents the bar portion of a progress bar.\"\n      },\n      {\n        \"name\": \"::-moz-selection\",\n        \"browsers\": [\n          \"FF1\"\n        ],\n        \"description\": \"Represents the portion of a document that has been highlighted by the user.\"\n      },\n      {\n        \"name\": \"::-ms-backdrop\",\n        \"browsers\": [\n          \"IE11\"\n        ],\n        \"description\": \"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen).\"\n      },\n      {\n        \"name\": \"::-ms-browse\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the browse button of an input type=file control.\"\n      },\n      {\n        \"name\": \"::-ms-check\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the check of a checkbox or radio button input control.\"\n      },\n      {\n        \"name\": \"::-ms-clear\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the clear button of a text input control\"\n      },\n      {\n        \"name\": \"::-ms-expand\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the drop-down button of a select control.\"\n      },\n      {\n        \"name\": \"::-ms-fill\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the bar portion of a progress bar.\"\n      },\n      {\n        \"name\": \"::-ms-fill-lower\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb.\"\n      },\n      {\n        \"name\": \"::-ms-fill-upper\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb.\"\n      },\n      {\n        \"name\": \"::-ms-reveal\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the password reveal button of an input type=password control.\"\n      },\n      {\n        \"name\": \"::-ms-thumb\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the portion of range input control (also known as a slider control) that the user drags.\"\n      },\n      {\n        \"name\": \"::-ms-ticks-after\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb.\"\n      },\n      {\n        \"name\": \"::-ms-ticks-before\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb.\"\n      },\n      {\n        \"name\": \"::-ms-tooltip\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the tooltip of a slider (input type=range).\"\n      },\n      {\n        \"name\": \"::-ms-track\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the track of a slider.\"\n      },\n      {\n        \"name\": \"::-ms-value\",\n        \"browsers\": [\n          \"E\",\n          \"IE10\"\n        ],\n        \"description\": \"Represents the content of a text or password input control, or a select control.\"\n      },\n      {\n        \"name\": \"::selection\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::selection\"\n          }\n        ],\n        \"description\": \"Represents the portion of a document that has been highlighted by the user.\"\n      },\n      {\n        \"name\": \"::shadow\",\n        \"browsers\": [\n          \"C35\",\n          \"O22\"\n        ],\n        \"description\": \"Matches the shadow root if an element has a shadow tree.\"\n      },\n      {\n        \"name\": \"::-webkit-file-upload-button\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-inner-spin-button\",\n        \"browsers\": [\n          \"E79\",\n          \"S5\",\n          \"C6\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-input-placeholder\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-keygen-select\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-meter-bar\",\n        \"browsers\": [\n          \"E79\",\n          \"S5.1\",\n          \"C12\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-meter-even-less-good-value\",\n        \"browsers\": [\n          \"E79\",\n          \"S5.1\",\n          \"C12\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-meter-optimum-value\",\n        \"browsers\": [\n          \"E79\",\n          \"S5.1\",\n          \"C12\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-meter-suboptimum-value\",\n        \"browsers\": [\n          \"E79\",\n          \"S5.1\",\n          \"C12\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-outer-spin-button\",\n        \"browsers\": [\n          \"S5\",\n          \"C6\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-progress-bar\",\n        \"browsers\": [\n          \"E79\",\n          \"S7\",\n          \"C25\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-progress-inner-element\",\n        \"browsers\": [\n          \"E79\",\n          \"S7\",\n          \"C23\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-progress-value\",\n        \"browsers\": [\n          \"E79\",\n          \"S7\",\n          \"C25\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-resizer\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-scrollbar\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-scrollbar-button\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-scrollbar-corner\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-scrollbar-thumb\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-scrollbar-track\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-scrollbar-track-piece\",\n        \"browsers\": [\n          \"E79\",\n          \"S4\",\n          \"C2\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-search-cancel-button\",\n        \"browsers\": [\n          \"E79\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-search-decoration\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-search-results-button\",\n        \"browsers\": [\n          \"E79\",\n          \"S3\",\n          \"C1\",\n          \"O15\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button\"\n          }\n        ]\n      },\n      {\n        \"name\": \"::-webkit-search-results-decoration\",\n        \"browsers\": [\n          \"C\",\n          \"S4\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-slider-runnable-track\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-slider-thumb\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-textfield-decoration-container\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-validation-bubble\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-validation-bubble-arrow\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-validation-bubble-arrow-clipper\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-validation-bubble-heading\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-validation-bubble-message\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::-webkit-validation-bubble-text-block\",\n        \"browsers\": [\n          \"C\",\n          \"O\",\n          \"S6\"\n        ]\n      },\n      {\n        \"name\": \"::target-text\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"E89\",\n          \"C89\",\n          \"O75\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::target-text\"\n          }\n        ],\n        \"description\": \"The ::target-text CSS pseudo-element represents the text that has been scrolled to if the browser supports scroll-to-text fragments. It allows authors to choose how to highlight that section of text.\"\n      },\n      {\n        \"name\": \"::-moz-range-progress\",\n        \"status\": \"nonstandard\",\n        \"browsers\": [\n          \"FF22\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress\"\n          }\n        ],\n        \"description\": 'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type=\"range\". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'\n      },\n      {\n        \"name\": \"::-moz-range-thumb\",\n        \"status\": \"nonstandard\",\n        \"browsers\": [\n          \"FF21\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb\"\n          }\n        ],\n        \"description\": `The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type=\"range\". The user can move the thumb along the input's track to alter its numerical value.`\n      },\n      {\n        \"name\": \"::-moz-range-track\",\n        \"status\": \"nonstandard\",\n        \"browsers\": [\n          \"FF21\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track\"\n          }\n        ],\n        \"description\": 'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type=\"range\".'\n      },\n      {\n        \"name\": \"::-webkit-progress-inner-value\",\n        \"status\": \"nonstandard\",\n        \"description\": \"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\\n\\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element.\"\n      },\n      {\n        \"name\": \"::grammar-error\",\n        \"status\": \"experimental\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::grammar-error\"\n          }\n        ],\n        \"description\": \"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect.\"\n      },\n      {\n        \"name\": \"::marker\",\n        \"browsers\": [\n          \"E86\",\n          \"FF68\",\n          \"S11.1\",\n          \"C86\",\n          \"O72\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::marker\"\n          }\n        ],\n        \"description\": \"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements.\"\n      },\n      {\n        \"name\": \"::part\",\n        \"status\": \"experimental\",\n        \"browsers\": [\n          \"E79\",\n          \"FF72\",\n          \"S13.1\",\n          \"C73\",\n          \"O60\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::part\"\n          }\n        ],\n        \"description\": \"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.\"\n      },\n      {\n        \"name\": \"::placeholder\",\n        \"browsers\": [\n          \"E79\",\n          \"FF51\",\n          \"S10.1\",\n          \"C57\",\n          \"O44\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::placeholder\"\n          }\n        ],\n        \"description\": \"The ::placeholder CSS pseudo-element represents the placeholder text of a form element.\"\n      },\n      {\n        \"name\": \"::slotted\",\n        \"browsers\": [\n          \"E79\",\n          \"FF63\",\n          \"S10\",\n          \"C50\",\n          \"O37\"\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::slotted\"\n          }\n        ],\n        \"description\": \"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template.\"\n      },\n      {\n        \"name\": \"::spelling-error\",\n        \"status\": \"experimental\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::spelling-error\"\n          }\n        ],\n        \"description\": \"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled.\"\n      }\n    ]\n  };\n  var CSSDataProvider = (\n    /** @class */\n    function() {\n      function CSSDataProvider2(data) {\n        this._properties = [];\n        this._atDirectives = [];\n        this._pseudoClasses = [];\n        this._pseudoElements = [];\n        this.addData(data);\n      }\n      CSSDataProvider2.prototype.provideProperties = function() {\n        return this._properties;\n      };\n      CSSDataProvider2.prototype.provideAtDirectives = function() {\n        return this._atDirectives;\n      };\n      CSSDataProvider2.prototype.providePseudoClasses = function() {\n        return this._pseudoClasses;\n      };\n      CSSDataProvider2.prototype.providePseudoElements = function() {\n        return this._pseudoElements;\n      };\n      CSSDataProvider2.prototype.addData = function(data) {\n        if (Array.isArray(data.properties)) {\n          for (var _i = 0, _a22 = data.properties; _i < _a22.length; _i++) {\n            var prop = _a22[_i];\n            if (isPropertyData(prop)) {\n              this._properties.push(prop);\n            }\n          }\n        }\n        if (Array.isArray(data.atDirectives)) {\n          for (var _b3 = 0, _c = data.atDirectives; _b3 < _c.length; _b3++) {\n            var prop = _c[_b3];\n            if (isAtDirective(prop)) {\n              this._atDirectives.push(prop);\n            }\n          }\n        }\n        if (Array.isArray(data.pseudoClasses)) {\n          for (var _d = 0, _e = data.pseudoClasses; _d < _e.length; _d++) {\n            var prop = _e[_d];\n            if (isPseudoClassData(prop)) {\n              this._pseudoClasses.push(prop);\n            }\n          }\n        }\n        if (Array.isArray(data.pseudoElements)) {\n          for (var _f2 = 0, _g = data.pseudoElements; _f2 < _g.length; _f2++) {\n            var prop = _g[_f2];\n            if (isPseudoElementData(prop)) {\n              this._pseudoElements.push(prop);\n            }\n          }\n        }\n      };\n      return CSSDataProvider2;\n    }()\n  );\n  function isPropertyData(d) {\n    return typeof d.name === \"string\";\n  }\n  function isAtDirective(d) {\n    return typeof d.name === \"string\";\n  }\n  function isPseudoClassData(d) {\n    return typeof d.name === \"string\";\n  }\n  function isPseudoElementData(d) {\n    return typeof d.name === \"string\";\n  }\n  var CSSDataManager = (\n    /** @class */\n    function() {\n      function CSSDataManager2(options) {\n        this.dataProviders = [];\n        this._propertySet = {};\n        this._atDirectiveSet = {};\n        this._pseudoClassSet = {};\n        this._pseudoElementSet = {};\n        this._properties = [];\n        this._atDirectives = [];\n        this._pseudoClasses = [];\n        this._pseudoElements = [];\n        this.setDataProviders((options === null || options === void 0 ? void 0 : options.useDefaultDataProvider) !== false, (options === null || options === void 0 ? void 0 : options.customDataProviders) || []);\n      }\n      CSSDataManager2.prototype.setDataProviders = function(builtIn, providers) {\n        var _a22;\n        this.dataProviders = [];\n        if (builtIn) {\n          this.dataProviders.push(new CSSDataProvider(cssData));\n        }\n        (_a22 = this.dataProviders).push.apply(_a22, providers);\n        this.collectData();\n      };\n      CSSDataManager2.prototype.collectData = function() {\n        var _this = this;\n        this._propertySet = {};\n        this._atDirectiveSet = {};\n        this._pseudoClassSet = {};\n        this._pseudoElementSet = {};\n        this.dataProviders.forEach(function(provider) {\n          provider.provideProperties().forEach(function(p) {\n            if (!_this._propertySet[p.name]) {\n              _this._propertySet[p.name] = p;\n            }\n          });\n          provider.provideAtDirectives().forEach(function(p) {\n            if (!_this._atDirectiveSet[p.name]) {\n              _this._atDirectiveSet[p.name] = p;\n            }\n          });\n          provider.providePseudoClasses().forEach(function(p) {\n            if (!_this._pseudoClassSet[p.name]) {\n              _this._pseudoClassSet[p.name] = p;\n            }\n          });\n          provider.providePseudoElements().forEach(function(p) {\n            if (!_this._pseudoElementSet[p.name]) {\n              _this._pseudoElementSet[p.name] = p;\n            }\n          });\n        });\n        this._properties = values(this._propertySet);\n        this._atDirectives = values(this._atDirectiveSet);\n        this._pseudoClasses = values(this._pseudoClassSet);\n        this._pseudoElements = values(this._pseudoElementSet);\n      };\n      CSSDataManager2.prototype.getProperty = function(name) {\n        return this._propertySet[name];\n      };\n      CSSDataManager2.prototype.getAtDirective = function(name) {\n        return this._atDirectiveSet[name];\n      };\n      CSSDataManager2.prototype.getPseudoClass = function(name) {\n        return this._pseudoClassSet[name];\n      };\n      CSSDataManager2.prototype.getPseudoElement = function(name) {\n        return this._pseudoElementSet[name];\n      };\n      CSSDataManager2.prototype.getProperties = function() {\n        return this._properties;\n      };\n      CSSDataManager2.prototype.getAtDirectives = function() {\n        return this._atDirectives;\n      };\n      CSSDataManager2.prototype.getPseudoClasses = function() {\n        return this._pseudoClasses;\n      };\n      CSSDataManager2.prototype.getPseudoElements = function() {\n        return this._pseudoElements;\n      };\n      CSSDataManager2.prototype.isKnownProperty = function(name) {\n        return name.toLowerCase() in this._propertySet;\n      };\n      CSSDataManager2.prototype.isStandardProperty = function(name) {\n        return this.isKnownProperty(name) && (!this._propertySet[name.toLowerCase()].status || this._propertySet[name.toLowerCase()].status === \"standard\");\n      };\n      return CSSDataManager2;\n    }()\n  );\n  function getSelectionRanges(document2, positions, stylesheet) {\n    function getSelectionRange(position) {\n      var applicableRanges = getApplicableRanges(position);\n      var current = void 0;\n      for (var index = applicableRanges.length - 1; index >= 0; index--) {\n        current = SelectionRange.create(Range2.create(document2.positionAt(applicableRanges[index][0]), document2.positionAt(applicableRanges[index][1])), current);\n      }\n      if (!current) {\n        current = SelectionRange.create(Range2.create(position, position));\n      }\n      return current;\n    }\n    return positions.map(getSelectionRange);\n    function getApplicableRanges(position) {\n      var offset = document2.offsetAt(position);\n      var currNode = stylesheet.findChildAtOffset(offset, true);\n      if (!currNode) {\n        return [];\n      }\n      var result = [];\n      while (currNode) {\n        if (currNode.parent && currNode.offset === currNode.parent.offset && currNode.end === currNode.parent.end) {\n          currNode = currNode.parent;\n          continue;\n        }\n        if (currNode.type === NodeType.Declarations) {\n          if (offset > currNode.offset && offset < currNode.end) {\n            result.push([currNode.offset + 1, currNode.end - 1]);\n          }\n        }\n        result.push([currNode.offset, currNode.end]);\n        currNode = currNode.parent;\n      }\n      return result;\n    }\n  }\n  var __extends10 = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var __awaiter4 = function(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function(resolve2) {\n        resolve2(value);\n      });\n    }\n    return new (P || (P = Promise))(function(resolve2, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  };\n  var __generator4 = function(thisArg, body) {\n    var _ = { label: 0, sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    }, trys: [], ops: [] }, f2, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n      return this;\n    }), g;\n    function verb(n) {\n      return function(v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f2)\n        throw new TypeError(\"Generator is already executing.\");\n      while (_)\n        try {\n          if (f2 = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n            return t;\n          if (y = 0, t)\n            op = [op[0] & 2, t.value];\n          switch (op[0]) {\n            case 0:\n            case 1:\n              t = op;\n              break;\n            case 4:\n              _.label++;\n              return { value: op[1], done: false };\n            case 5:\n              _.label++;\n              y = op[1];\n              op = [0];\n              continue;\n            case 7:\n              op = _.ops.pop();\n              _.trys.pop();\n              continue;\n            default:\n              if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                _ = 0;\n                continue;\n              }\n              if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                _.label = op[1];\n                break;\n              }\n              if (op[0] === 6 && _.label < t[1]) {\n                _.label = t[1];\n                t = op;\n                break;\n              }\n              if (t && _.label < t[2]) {\n                _.label = t[2];\n                _.ops.push(op);\n                break;\n              }\n              if (t[2])\n                _.ops.pop();\n              _.trys.pop();\n              continue;\n          }\n          op = body.call(thisArg, _);\n        } catch (e) {\n          op = [6, e];\n          y = 0;\n        } finally {\n          f2 = t = 0;\n        }\n      if (op[0] & 5)\n        throw op[1];\n      return { value: op[0] ? op[1] : void 0, done: true };\n    }\n  };\n  var SCSSNavigation = (\n    /** @class */\n    function(_super) {\n      __extends10(SCSSNavigation2, _super);\n      function SCSSNavigation2(fileSystemProvider) {\n        return _super.call(this, fileSystemProvider, true) || this;\n      }\n      SCSSNavigation2.prototype.isRawStringDocumentLinkNode = function(node) {\n        return _super.prototype.isRawStringDocumentLinkNode.call(this, node) || node.type === NodeType.Use || node.type === NodeType.Forward;\n      };\n      SCSSNavigation2.prototype.resolveRelativeReference = function(ref, documentUri, documentContext, isRawLink) {\n        return __awaiter4(this, void 0, void 0, function() {\n          function toPathVariations(uri) {\n            if (uri.path === \"\") {\n              return void 0;\n            }\n            if (uri.path.endsWith(\".scss\") || uri.path.endsWith(\".css\")) {\n              return void 0;\n            }\n            if (uri.path.endsWith(\"/\")) {\n              return [\n                uri.with({ path: uri.path + \"index.scss\" }).toString(),\n                uri.with({ path: uri.path + \"_index.scss\" }).toString()\n              ];\n            }\n            var pathFragments = uri.path.split(\"/\");\n            var basename2 = pathFragments[pathFragments.length - 1];\n            var pathWithoutBasename = uri.path.slice(0, -basename2.length);\n            if (basename2.startsWith(\"_\")) {\n              if (uri.path.endsWith(\".scss\")) {\n                return void 0;\n              } else {\n                return [uri.with({ path: uri.path + \".scss\" }).toString()];\n              }\n            }\n            var normalizedBasename = basename2 + \".scss\";\n            var documentUriWithBasename = function(newBasename) {\n              return uri.with({ path: pathWithoutBasename + newBasename }).toString();\n            };\n            var normalizedPath = documentUriWithBasename(normalizedBasename);\n            var underScorePath = documentUriWithBasename(\"_\" + normalizedBasename);\n            var indexPath = documentUriWithBasename(normalizedBasename.slice(0, -5) + \"/index.scss\");\n            var indexUnderscoreUri = documentUriWithBasename(normalizedBasename.slice(0, -5) + \"/_index.scss\");\n            var cssPath = documentUriWithBasename(normalizedBasename.slice(0, -5) + \".css\");\n            return [normalizedPath, underScorePath, indexPath, indexUnderscoreUri, cssPath];\n          }\n          var target, parsedUri, pathVariations, j, e_1;\n          return __generator4(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                if (startsWith(ref, \"sass:\")) {\n                  return [2, void 0];\n                }\n                return [4, _super.prototype.resolveRelativeReference.call(this, ref, documentUri, documentContext, isRawLink)];\n              case 1:\n                target = _a22.sent();\n                if (!(this.fileSystemProvider && target && isRawLink))\n                  return [3, 8];\n                parsedUri = URI2.parse(target);\n                _a22.label = 2;\n              case 2:\n                _a22.trys.push([2, 7, , 8]);\n                pathVariations = toPathVariations(parsedUri);\n                if (!pathVariations)\n                  return [3, 6];\n                j = 0;\n                _a22.label = 3;\n              case 3:\n                if (!(j < pathVariations.length))\n                  return [3, 6];\n                return [4, this.fileExists(pathVariations[j])];\n              case 4:\n                if (_a22.sent()) {\n                  return [2, pathVariations[j]];\n                }\n                _a22.label = 5;\n              case 5:\n                j++;\n                return [3, 3];\n              case 6:\n                return [3, 8];\n              case 7:\n                e_1 = _a22.sent();\n                return [3, 8];\n              case 8:\n                return [2, target];\n            }\n          });\n        });\n      };\n      return SCSSNavigation2;\n    }(CSSNavigation)\n  );\n  function newCSSDataProvider(data) {\n    return new CSSDataProvider(data);\n  }\n  function createFacade(parser, completion, hover, navigation, codeActions, validation, cssDataManager) {\n    return {\n      configure: function(settings) {\n        validation.configure(settings);\n        completion.configure(settings === null || settings === void 0 ? void 0 : settings.completion);\n        hover.configure(settings === null || settings === void 0 ? void 0 : settings.hover);\n      },\n      setDataProviders: cssDataManager.setDataProviders.bind(cssDataManager),\n      doValidation: validation.doValidation.bind(validation),\n      parseStylesheet: parser.parseStylesheet.bind(parser),\n      doComplete: completion.doComplete.bind(completion),\n      doComplete2: completion.doComplete2.bind(completion),\n      setCompletionParticipants: completion.setCompletionParticipants.bind(completion),\n      doHover: hover.doHover.bind(hover),\n      format: format2,\n      findDefinition: navigation.findDefinition.bind(navigation),\n      findReferences: navigation.findReferences.bind(navigation),\n      findDocumentHighlights: navigation.findDocumentHighlights.bind(navigation),\n      findDocumentLinks: navigation.findDocumentLinks.bind(navigation),\n      findDocumentLinks2: navigation.findDocumentLinks2.bind(navigation),\n      findDocumentSymbols: navigation.findDocumentSymbols.bind(navigation),\n      doCodeActions: codeActions.doCodeActions.bind(codeActions),\n      doCodeActions2: codeActions.doCodeActions2.bind(codeActions),\n      findDocumentColors: navigation.findDocumentColors.bind(navigation),\n      getColorPresentations: navigation.getColorPresentations.bind(navigation),\n      doRename: navigation.doRename.bind(navigation),\n      getFoldingRanges,\n      getSelectionRanges\n    };\n  }\n  var defaultLanguageServiceOptions = {};\n  function getCSSLanguageService(options) {\n    if (options === void 0) {\n      options = defaultLanguageServiceOptions;\n    }\n    var cssDataManager = new CSSDataManager(options);\n    return createFacade(new Parser(), new CSSCompletion(null, options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new CSSNavigation(options && options.fileSystemProvider, false), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);\n  }\n  function getSCSSLanguageService(options) {\n    if (options === void 0) {\n      options = defaultLanguageServiceOptions;\n    }\n    var cssDataManager = new CSSDataManager(options);\n    return createFacade(new SCSSParser(), new SCSSCompletion(options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new SCSSNavigation(options && options.fileSystemProvider), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);\n  }\n  function getLESSLanguageService(options) {\n    if (options === void 0) {\n      options = defaultLanguageServiceOptions;\n    }\n    var cssDataManager = new CSSDataManager(options);\n    return createFacade(new LESSParser(), new LESSCompletion(options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new CSSNavigation(options && options.fileSystemProvider, true), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);\n  }\n  var CSSWorker = class {\n    constructor(ctx, createData) {\n      this._ctx = ctx;\n      this._languageSettings = createData.options;\n      this._languageId = createData.languageId;\n      const data = createData.options.data;\n      const useDefaultDataProvider = data?.useDefaultDataProvider;\n      const customDataProviders = [];\n      if (data?.dataProviders) {\n        for (const id in data.dataProviders) {\n          customDataProviders.push(newCSSDataProvider(data.dataProviders[id]));\n        }\n      }\n      const lsOptions = {\n        customDataProviders,\n        useDefaultDataProvider\n      };\n      switch (this._languageId) {\n        case \"css\":\n          this._languageService = getCSSLanguageService(lsOptions);\n          break;\n        case \"less\":\n          this._languageService = getLESSLanguageService(lsOptions);\n          break;\n        case \"scss\":\n          this._languageService = getSCSSLanguageService(lsOptions);\n          break;\n        default:\n          throw new Error(\"Invalid language id: \" + this._languageId);\n      }\n      this._languageService.configure(this._languageSettings);\n    }\n    // --- language service host ---------------\n    async doValidation(uri) {\n      const document2 = this._getTextDocument(uri);\n      if (document2) {\n        const stylesheet = this._languageService.parseStylesheet(document2);\n        const diagnostics = this._languageService.doValidation(document2, stylesheet);\n        return Promise.resolve(diagnostics);\n      }\n      return Promise.resolve([]);\n    }\n    async doComplete(uri, position) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const completions = this._languageService.doComplete(document2, position, stylesheet);\n      return Promise.resolve(completions);\n    }\n    async doHover(uri, position) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const hover = this._languageService.doHover(document2, position, stylesheet);\n      return Promise.resolve(hover);\n    }\n    async findDefinition(uri, position) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const definition = this._languageService.findDefinition(document2, position, stylesheet);\n      return Promise.resolve(definition);\n    }\n    async findReferences(uri, position) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const references = this._languageService.findReferences(document2, position, stylesheet);\n      return Promise.resolve(references);\n    }\n    async findDocumentHighlights(uri, position) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const highlights = this._languageService.findDocumentHighlights(document2, position, stylesheet);\n      return Promise.resolve(highlights);\n    }\n    async findDocumentSymbols(uri) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const symbols = this._languageService.findDocumentSymbols(document2, stylesheet);\n      return Promise.resolve(symbols);\n    }\n    async doCodeActions(uri, range, context) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const actions = this._languageService.doCodeActions(document2, range, context, stylesheet);\n      return Promise.resolve(actions);\n    }\n    async findDocumentColors(uri) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const colorSymbols = this._languageService.findDocumentColors(document2, stylesheet);\n      return Promise.resolve(colorSymbols);\n    }\n    async getColorPresentations(uri, color, range) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const colorPresentations = this._languageService.getColorPresentations(\n        document2,\n        stylesheet,\n        color,\n        range\n      );\n      return Promise.resolve(colorPresentations);\n    }\n    async getFoldingRanges(uri, context) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const ranges = this._languageService.getFoldingRanges(document2, context);\n      return Promise.resolve(ranges);\n    }\n    async getSelectionRanges(uri, positions) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const ranges = this._languageService.getSelectionRanges(document2, positions, stylesheet);\n      return Promise.resolve(ranges);\n    }\n    async doRename(uri, position, newName) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      const stylesheet = this._languageService.parseStylesheet(document2);\n      const renames = this._languageService.doRename(document2, position, newName, stylesheet);\n      return Promise.resolve(renames);\n    }\n    async format(uri, range, options) {\n      const document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      const settings = { ...this._languageSettings.format, ...options };\n      const textEdits = this._languageService.format(document2, range, settings);\n      return Promise.resolve(textEdits);\n    }\n    _getTextDocument(uri) {\n      const models = this._ctx.getMirrorModels();\n      for (const model of models) {\n        if (model.uri.toString() === uri) {\n          return TextDocument2.create(\n            uri,\n            this._languageId,\n            model.version,\n            model.getValue()\n          );\n        }\n      }\n      return null;\n    }\n  };\n  self.onmessage = () => {\n    initialize((ctx, createData) => {\n      return new CSSWorker(ctx, createData);\n    });\n  };\n})();\n/*! Bundled license information:\n\nmonaco-editor/esm/vs/language/css/css.worker.js:\n  (*!-----------------------------------------------------------------------------\n   * Copyright (c) Microsoft Corporation. All rights reserved.\n   * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n   * Released under the MIT license\n   * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n   *-----------------------------------------------------------------------------*)\n*/\n"
  },
  {
    "path": "backend/openui/dist/monacoeditorwork/html.worker.bundle.js",
    "content": "(() => {\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/errors.js\n  var ErrorHandler = class {\n    constructor() {\n      this.listeners = [];\n      this.unexpectedErrorHandler = function(e) {\n        setTimeout(() => {\n          if (e.stack) {\n            if (ErrorNoTelemetry.isErrorNoTelemetry(e)) {\n              throw new ErrorNoTelemetry(e.message + \"\\n\\n\" + e.stack);\n            }\n            throw new Error(e.message + \"\\n\\n\" + e.stack);\n          }\n          throw e;\n        }, 0);\n      };\n    }\n    emit(e) {\n      this.listeners.forEach((listener) => {\n        listener(e);\n      });\n    }\n    onUnexpectedError(e) {\n      this.unexpectedErrorHandler(e);\n      this.emit(e);\n    }\n    // For external errors, we don't want the listeners to be called\n    onUnexpectedExternalError(e) {\n      this.unexpectedErrorHandler(e);\n    }\n  };\n  var errorHandler = new ErrorHandler();\n  function onUnexpectedError(e) {\n    if (!isCancellationError(e)) {\n      errorHandler.onUnexpectedError(e);\n    }\n    return void 0;\n  }\n  function transformErrorForSerialization(error) {\n    if (error instanceof Error) {\n      const { name, message } = error;\n      const stack = error.stacktrace || error.stack;\n      return {\n        $isError: true,\n        name,\n        message,\n        stack,\n        noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error)\n      };\n    }\n    return error;\n  }\n  var canceledName = \"Canceled\";\n  function isCancellationError(error) {\n    if (error instanceof CancellationError) {\n      return true;\n    }\n    return error instanceof Error && error.name === canceledName && error.message === canceledName;\n  }\n  var CancellationError = class extends Error {\n    constructor() {\n      super(canceledName);\n      this.name = this.message;\n    }\n  };\n  var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error {\n    constructor(msg) {\n      super(msg);\n      this.name = \"CodeExpectedError\";\n    }\n    static fromError(err) {\n      if (err instanceof _ErrorNoTelemetry) {\n        return err;\n      }\n      const result = new _ErrorNoTelemetry();\n      result.message = err.message;\n      result.stack = err.stack;\n      return result;\n    }\n    static isErrorNoTelemetry(err) {\n      return err.name === \"CodeExpectedError\";\n    }\n  };\n  var BugIndicatingError = class _BugIndicatingError extends Error {\n    constructor(message) {\n      super(message || \"An unexpected bug occurred.\");\n      Object.setPrototypeOf(this, _BugIndicatingError.prototype);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/functional.js\n  function createSingleCallFunction(fn, fnDidRunCallback) {\n    const _this = this;\n    let didCall = false;\n    let result;\n    return function() {\n      if (didCall) {\n        return result;\n      }\n      didCall = true;\n      if (fnDidRunCallback) {\n        try {\n          result = fn.apply(_this, arguments);\n        } finally {\n          fnDidRunCallback();\n        }\n      } else {\n        result = fn.apply(_this, arguments);\n      }\n      return result;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/iterator.js\n  var Iterable;\n  (function(Iterable2) {\n    function is(thing) {\n      return thing && typeof thing === \"object\" && typeof thing[Symbol.iterator] === \"function\";\n    }\n    Iterable2.is = is;\n    const _empty2 = Object.freeze([]);\n    function empty() {\n      return _empty2;\n    }\n    Iterable2.empty = empty;\n    function* single(element) {\n      yield element;\n    }\n    Iterable2.single = single;\n    function wrap(iterableOrElement) {\n      if (is(iterableOrElement)) {\n        return iterableOrElement;\n      } else {\n        return single(iterableOrElement);\n      }\n    }\n    Iterable2.wrap = wrap;\n    function from(iterable) {\n      return iterable || _empty2;\n    }\n    Iterable2.from = from;\n    function* reverse(array) {\n      for (let i = array.length - 1; i >= 0; i--) {\n        yield array[i];\n      }\n    }\n    Iterable2.reverse = reverse;\n    function isEmpty(iterable) {\n      return !iterable || iterable[Symbol.iterator]().next().done === true;\n    }\n    Iterable2.isEmpty = isEmpty;\n    function first(iterable) {\n      return iterable[Symbol.iterator]().next().value;\n    }\n    Iterable2.first = first;\n    function some(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    Iterable2.some = some;\n    function find(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return element;\n        }\n      }\n      return void 0;\n    }\n    Iterable2.find = find;\n    function* filter(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          yield element;\n        }\n      }\n    }\n    Iterable2.filter = filter;\n    function* map(iterable, fn) {\n      let index = 0;\n      for (const element of iterable) {\n        yield fn(element, index++);\n      }\n    }\n    Iterable2.map = map;\n    function* concat(...iterables) {\n      for (const iterable of iterables) {\n        yield* iterable;\n      }\n    }\n    Iterable2.concat = concat;\n    function reduce(iterable, reducer, initialValue) {\n      let value = initialValue;\n      for (const element of iterable) {\n        value = reducer(value, element);\n      }\n      return value;\n    }\n    Iterable2.reduce = reduce;\n    function* slice(arr, from2, to = arr.length) {\n      if (from2 < 0) {\n        from2 += arr.length;\n      }\n      if (to < 0) {\n        to += arr.length;\n      } else if (to > arr.length) {\n        to = arr.length;\n      }\n      for (; from2 < to; from2++) {\n        yield arr[from2];\n      }\n    }\n    Iterable2.slice = slice;\n    function consume(iterable, atMost = Number.POSITIVE_INFINITY) {\n      const consumed = [];\n      if (atMost === 0) {\n        return [consumed, iterable];\n      }\n      const iterator = iterable[Symbol.iterator]();\n      for (let i = 0; i < atMost; i++) {\n        const next = iterator.next();\n        if (next.done) {\n          return [consumed, Iterable2.empty()];\n        }\n        consumed.push(next.value);\n      }\n      return [consumed, { [Symbol.iterator]() {\n        return iterator;\n      } }];\n    }\n    Iterable2.consume = consume;\n    async function asyncToArray(iterable) {\n      const result = [];\n      for await (const item of iterable) {\n        result.push(item);\n      }\n      return Promise.resolve(result);\n    }\n    Iterable2.asyncToArray = asyncToArray;\n  })(Iterable || (Iterable = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\n  var TRACK_DISPOSABLES = false;\n  var disposableTracker = null;\n  function setDisposableTracker(tracker) {\n    disposableTracker = tracker;\n  }\n  if (TRACK_DISPOSABLES) {\n    const __is_disposable_tracked__ = \"__is_disposable_tracked__\";\n    setDisposableTracker(new class {\n      trackDisposable(x) {\n        const stack = new Error(\"Potentially leaked disposable\").stack;\n        setTimeout(() => {\n          if (!x[__is_disposable_tracked__]) {\n            console.log(stack);\n          }\n        }, 3e3);\n      }\n      setParent(child, parent) {\n        if (child && child !== Disposable.None) {\n          try {\n            child[__is_disposable_tracked__] = true;\n          } catch (_a5) {\n          }\n        }\n      }\n      markAsDisposed(disposable) {\n        if (disposable && disposable !== Disposable.None) {\n          try {\n            disposable[__is_disposable_tracked__] = true;\n          } catch (_a5) {\n          }\n        }\n      }\n      markAsSingleton(disposable) {\n      }\n    }());\n  }\n  function trackDisposable(x) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.trackDisposable(x);\n    return x;\n  }\n  function markAsDisposed(disposable) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsDisposed(disposable);\n  }\n  function setParentOfDisposable(child, parent) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.setParent(child, parent);\n  }\n  function setParentOfDisposables(children, parent) {\n    if (!disposableTracker) {\n      return;\n    }\n    for (const child of children) {\n      disposableTracker.setParent(child, parent);\n    }\n  }\n  function dispose(arg) {\n    if (Iterable.is(arg)) {\n      const errors = [];\n      for (const d of arg) {\n        if (d) {\n          try {\n            d.dispose();\n          } catch (e) {\n            errors.push(e);\n          }\n        }\n      }\n      if (errors.length === 1) {\n        throw errors[0];\n      } else if (errors.length > 1) {\n        throw new AggregateError(errors, \"Encountered errors while disposing of store\");\n      }\n      return Array.isArray(arg) ? [] : arg;\n    } else if (arg) {\n      arg.dispose();\n      return arg;\n    }\n  }\n  function combinedDisposable(...disposables) {\n    const parent = toDisposable(() => dispose(disposables));\n    setParentOfDisposables(disposables, parent);\n    return parent;\n  }\n  function toDisposable(fn) {\n    const self2 = trackDisposable({\n      dispose: createSingleCallFunction(() => {\n        markAsDisposed(self2);\n        fn();\n      })\n    });\n    return self2;\n  }\n  var DisposableStore = class _DisposableStore {\n    constructor() {\n      this._toDispose = /* @__PURE__ */ new Set();\n      this._isDisposed = false;\n      trackDisposable(this);\n    }\n    /**\n     * Dispose of all registered disposables and mark this object as disposed.\n     *\n     * Any future disposables added to this object will be disposed of on `add`.\n     */\n    dispose() {\n      if (this._isDisposed) {\n        return;\n      }\n      markAsDisposed(this);\n      this._isDisposed = true;\n      this.clear();\n    }\n    /**\n     * @return `true` if this object has been disposed of.\n     */\n    get isDisposed() {\n      return this._isDisposed;\n    }\n    /**\n     * Dispose of all registered disposables but do not mark this object as disposed.\n     */\n    clear() {\n      if (this._toDispose.size === 0) {\n        return;\n      }\n      try {\n        dispose(this._toDispose);\n      } finally {\n        this._toDispose.clear();\n      }\n    }\n    /**\n     * Add a new {@link IDisposable disposable} to the collection.\n     */\n    add(o) {\n      if (!o) {\n        return o;\n      }\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      setParentOfDisposable(o, this);\n      if (this._isDisposed) {\n        if (!_DisposableStore.DISABLE_DISPOSED_WARNING) {\n          console.warn(new Error(\"Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!\").stack);\n        }\n      } else {\n        this._toDispose.add(o);\n      }\n      return o;\n    }\n    /**\n     * Deletes the value from the store, but does not dispose it.\n     */\n    deleteAndLeak(o) {\n      if (!o) {\n        return;\n      }\n      if (this._toDispose.has(o)) {\n        this._toDispose.delete(o);\n        setParentOfDisposable(o, null);\n      }\n    }\n  };\n  DisposableStore.DISABLE_DISPOSED_WARNING = false;\n  var Disposable = class {\n    constructor() {\n      this._store = new DisposableStore();\n      trackDisposable(this);\n      setParentOfDisposable(this._store, this);\n    }\n    dispose() {\n      markAsDisposed(this);\n      this._store.dispose();\n    }\n    /**\n     * Adds `o` to the collection of disposables managed by this object.\n     */\n    _register(o) {\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      return this._store.add(o);\n    }\n  };\n  Disposable.None = Object.freeze({ dispose() {\n  } });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/linkedList.js\n  var Node = class _Node {\n    constructor(element) {\n      this.element = element;\n      this.next = _Node.Undefined;\n      this.prev = _Node.Undefined;\n    }\n  };\n  Node.Undefined = new Node(void 0);\n  var LinkedList = class {\n    constructor() {\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    get size() {\n      return this._size;\n    }\n    isEmpty() {\n      return this._first === Node.Undefined;\n    }\n    clear() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        const next = node.next;\n        node.prev = Node.Undefined;\n        node.next = Node.Undefined;\n        node = next;\n      }\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    unshift(element) {\n      return this._insert(element, false);\n    }\n    push(element) {\n      return this._insert(element, true);\n    }\n    _insert(element, atTheEnd) {\n      const newNode = new Node(element);\n      if (this._first === Node.Undefined) {\n        this._first = newNode;\n        this._last = newNode;\n      } else if (atTheEnd) {\n        const oldLast = this._last;\n        this._last = newNode;\n        newNode.prev = oldLast;\n        oldLast.next = newNode;\n      } else {\n        const oldFirst = this._first;\n        this._first = newNode;\n        newNode.next = oldFirst;\n        oldFirst.prev = newNode;\n      }\n      this._size += 1;\n      let didRemove = false;\n      return () => {\n        if (!didRemove) {\n          didRemove = true;\n          this._remove(newNode);\n        }\n      };\n    }\n    shift() {\n      if (this._first === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._first.element;\n        this._remove(this._first);\n        return res;\n      }\n    }\n    pop() {\n      if (this._last === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._last.element;\n        this._remove(this._last);\n        return res;\n      }\n    }\n    _remove(node) {\n      if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {\n        const anchor = node.prev;\n        anchor.next = node.next;\n        node.next.prev = anchor;\n      } else if (node.prev === Node.Undefined && node.next === Node.Undefined) {\n        this._first = Node.Undefined;\n        this._last = Node.Undefined;\n      } else if (node.next === Node.Undefined) {\n        this._last = this._last.prev;\n        this._last.next = Node.Undefined;\n      } else if (node.prev === Node.Undefined) {\n        this._first = this._first.next;\n        this._first.prev = Node.Undefined;\n      }\n      this._size -= 1;\n    }\n    *[Symbol.iterator]() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        yield node.element;\n        node = node.next;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\n  var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === \"function\";\n  var StopWatch = class _StopWatch {\n    static create(highResolution) {\n      return new _StopWatch(highResolution);\n    }\n    constructor(highResolution) {\n      this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance);\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    stop() {\n      this._stopTime = this._now();\n    }\n    reset() {\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    elapsed() {\n      if (this._stopTime !== -1) {\n        return this._stopTime - this._startTime;\n      }\n      return this._now() - this._startTime;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/event.js\n  var _enableListenerGCedWarning = false;\n  var _enableDisposeWithListenerWarning = false;\n  var _enableSnapshotPotentialLeakWarning = false;\n  var Event;\n  (function(Event2) {\n    Event2.None = () => Disposable.None;\n    function _addLeakageTraceLogic(options) {\n      if (_enableSnapshotPotentialLeakWarning) {\n        const { onDidAddListener: origListenerDidAdd } = options;\n        const stack = Stacktrace.create();\n        let count = 0;\n        options.onDidAddListener = () => {\n          if (++count === 2) {\n            console.warn(\"snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here\");\n            stack.print();\n          }\n          origListenerDidAdd === null || origListenerDidAdd === void 0 ? void 0 : origListenerDidAdd();\n        };\n      }\n    }\n    function defer(event, disposable) {\n      return debounce(event, () => void 0, 0, void 0, true, void 0, disposable);\n    }\n    Event2.defer = defer;\n    function once(event) {\n      return (listener, thisArgs = null, disposables) => {\n        let didFire = false;\n        let result = void 0;\n        result = event((e) => {\n          if (didFire) {\n            return;\n          } else if (result) {\n            result.dispose();\n          } else {\n            didFire = true;\n          }\n          return listener.call(thisArgs, e);\n        }, null, disposables);\n        if (didFire) {\n          result.dispose();\n        }\n        return result;\n      };\n    }\n    Event2.once = once;\n    function map(event, map2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => listener.call(thisArgs, map2(i)), null, disposables), disposable);\n    }\n    Event2.map = map;\n    function forEach(event, each, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => {\n        each(i);\n        listener.call(thisArgs, i);\n      }, null, disposables), disposable);\n    }\n    Event2.forEach = forEach;\n    function filter(event, filter2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((e) => filter2(e) && listener.call(thisArgs, e), null, disposables), disposable);\n    }\n    Event2.filter = filter;\n    function signal(event) {\n      return event;\n    }\n    Event2.signal = signal;\n    function any(...events) {\n      return (listener, thisArgs = null, disposables) => {\n        const disposable = combinedDisposable(...events.map((event) => event((e) => listener.call(thisArgs, e))));\n        return addAndReturnDisposable(disposable, disposables);\n      };\n    }\n    Event2.any = any;\n    function reduce(event, merge, initial, disposable) {\n      let output = initial;\n      return map(event, (e) => {\n        output = merge(output, e);\n        return output;\n      }, disposable);\n    }\n    Event2.reduce = reduce;\n    function snapshot(event, disposable) {\n      let listener;\n      const options = {\n        onWillAddFirstListener() {\n          listener = event(emitter.fire, emitter);\n        },\n        onDidRemoveLastListener() {\n          listener === null || listener === void 0 ? void 0 : listener.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    function addAndReturnDisposable(d, store) {\n      if (store instanceof Array) {\n        store.push(d);\n      } else if (store) {\n        store.add(d);\n      }\n      return d;\n    }\n    function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) {\n      let subscription;\n      let output = void 0;\n      let handle = void 0;\n      let numDebouncedCalls = 0;\n      let doFire;\n      const options = {\n        leakWarningThreshold,\n        onWillAddFirstListener() {\n          subscription = event((cur) => {\n            numDebouncedCalls++;\n            output = merge(output, cur);\n            if (leading && !handle) {\n              emitter.fire(output);\n              output = void 0;\n            }\n            doFire = () => {\n              const _output = output;\n              output = void 0;\n              handle = void 0;\n              if (!leading || numDebouncedCalls > 1) {\n                emitter.fire(_output);\n              }\n              numDebouncedCalls = 0;\n            };\n            if (typeof delay === \"number\") {\n              clearTimeout(handle);\n              handle = setTimeout(doFire, delay);\n            } else {\n              if (handle === void 0) {\n                handle = 0;\n                queueMicrotask(doFire);\n              }\n            }\n          });\n        },\n        onWillRemoveListener() {\n          if (flushOnListenerRemove && numDebouncedCalls > 0) {\n            doFire === null || doFire === void 0 ? void 0 : doFire();\n          }\n        },\n        onDidRemoveLastListener() {\n          doFire = void 0;\n          subscription.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    Event2.debounce = debounce;\n    function accumulate(event, delay = 0, disposable) {\n      return Event2.debounce(event, (last, e) => {\n        if (!last) {\n          return [e];\n        }\n        last.push(e);\n        return last;\n      }, delay, void 0, true, void 0, disposable);\n    }\n    Event2.accumulate = accumulate;\n    function latch(event, equals3 = (a, b) => a === b, disposable) {\n      let firstCall = true;\n      let cache;\n      return filter(event, (value) => {\n        const shouldEmit = firstCall || !equals3(value, cache);\n        firstCall = false;\n        cache = value;\n        return shouldEmit;\n      }, disposable);\n    }\n    Event2.latch = latch;\n    function split(event, isT, disposable) {\n      return [\n        Event2.filter(event, isT, disposable),\n        Event2.filter(event, (e) => !isT(e), disposable)\n      ];\n    }\n    Event2.split = split;\n    function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) {\n      let buffer2 = _buffer.slice();\n      let listener = event((e) => {\n        if (buffer2) {\n          buffer2.push(e);\n        } else {\n          emitter.fire(e);\n        }\n      });\n      if (disposable) {\n        disposable.add(listener);\n      }\n      const flush = () => {\n        buffer2 === null || buffer2 === void 0 ? void 0 : buffer2.forEach((e) => emitter.fire(e));\n        buffer2 = null;\n      };\n      const emitter = new Emitter({\n        onWillAddFirstListener() {\n          if (!listener) {\n            listener = event((e) => emitter.fire(e));\n            if (disposable) {\n              disposable.add(listener);\n            }\n          }\n        },\n        onDidAddFirstListener() {\n          if (buffer2) {\n            if (flushAfterTimeout) {\n              setTimeout(flush);\n            } else {\n              flush();\n            }\n          }\n        },\n        onDidRemoveLastListener() {\n          if (listener) {\n            listener.dispose();\n          }\n          listener = null;\n        }\n      });\n      if (disposable) {\n        disposable.add(emitter);\n      }\n      return emitter.event;\n    }\n    Event2.buffer = buffer;\n    function chain(event, sythensize) {\n      const fn = (listener, thisArgs, disposables) => {\n        const cs = sythensize(new ChainableSynthesis());\n        return event(function(value) {\n          const result = cs.evaluate(value);\n          if (result !== HaltChainable) {\n            listener.call(thisArgs, result);\n          }\n        }, void 0, disposables);\n      };\n      return fn;\n    }\n    Event2.chain = chain;\n    const HaltChainable = Symbol(\"HaltChainable\");\n    class ChainableSynthesis {\n      constructor() {\n        this.steps = [];\n      }\n      map(fn) {\n        this.steps.push(fn);\n        return this;\n      }\n      forEach(fn) {\n        this.steps.push((v) => {\n          fn(v);\n          return v;\n        });\n        return this;\n      }\n      filter(fn) {\n        this.steps.push((v) => fn(v) ? v : HaltChainable);\n        return this;\n      }\n      reduce(merge, initial) {\n        let last = initial;\n        this.steps.push((v) => {\n          last = merge(last, v);\n          return last;\n        });\n        return this;\n      }\n      latch(equals3 = (a, b) => a === b) {\n        let firstCall = true;\n        let cache;\n        this.steps.push((value) => {\n          const shouldEmit = firstCall || !equals3(value, cache);\n          firstCall = false;\n          cache = value;\n          return shouldEmit ? value : HaltChainable;\n        });\n        return this;\n      }\n      evaluate(value) {\n        for (const step of this.steps) {\n          value = step(value);\n          if (value === HaltChainable) {\n            break;\n          }\n        }\n        return value;\n      }\n    }\n    function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.on(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromNodeEventEmitter = fromNodeEventEmitter;\n    function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromDOMEventEmitter = fromDOMEventEmitter;\n    function toPromise(event) {\n      return new Promise((resolve2) => once(event)(resolve2));\n    }\n    Event2.toPromise = toPromise;\n    function fromPromise(promise) {\n      const result = new Emitter();\n      promise.then((res) => {\n        result.fire(res);\n      }, () => {\n        result.fire(void 0);\n      }).finally(() => {\n        result.dispose();\n      });\n      return result.event;\n    }\n    Event2.fromPromise = fromPromise;\n    function runAndSubscribe(event, handler, initial) {\n      handler(initial);\n      return event((e) => handler(e));\n    }\n    Event2.runAndSubscribe = runAndSubscribe;\n    class EmitterObserver {\n      constructor(_observable, store) {\n        this._observable = _observable;\n        this._counter = 0;\n        this._hasChanged = false;\n        const options = {\n          onWillAddFirstListener: () => {\n            _observable.addObserver(this);\n          },\n          onDidRemoveLastListener: () => {\n            _observable.removeObserver(this);\n          }\n        };\n        if (!store) {\n          _addLeakageTraceLogic(options);\n        }\n        this.emitter = new Emitter(options);\n        if (store) {\n          store.add(this.emitter);\n        }\n      }\n      beginUpdate(_observable) {\n        this._counter++;\n      }\n      handlePossibleChange(_observable) {\n      }\n      handleChange(_observable, _change) {\n        this._hasChanged = true;\n      }\n      endUpdate(_observable) {\n        this._counter--;\n        if (this._counter === 0) {\n          this._observable.reportChanges();\n          if (this._hasChanged) {\n            this._hasChanged = false;\n            this.emitter.fire(this._observable.get());\n          }\n        }\n      }\n    }\n    function fromObservable(obs, store) {\n      const observer = new EmitterObserver(obs, store);\n      return observer.emitter.event;\n    }\n    Event2.fromObservable = fromObservable;\n    function fromObservableLight(observable) {\n      return (listener, thisArgs, disposables) => {\n        let count = 0;\n        let didChange = false;\n        const observer = {\n          beginUpdate() {\n            count++;\n          },\n          endUpdate() {\n            count--;\n            if (count === 0) {\n              observable.reportChanges();\n              if (didChange) {\n                didChange = false;\n                listener.call(thisArgs);\n              }\n            }\n          },\n          handlePossibleChange() {\n          },\n          handleChange() {\n            didChange = true;\n          }\n        };\n        observable.addObserver(observer);\n        observable.reportChanges();\n        const disposable = {\n          dispose() {\n            observable.removeObserver(observer);\n          }\n        };\n        if (disposables instanceof DisposableStore) {\n          disposables.add(disposable);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(disposable);\n        }\n        return disposable;\n      };\n    }\n    Event2.fromObservableLight = fromObservableLight;\n  })(Event || (Event = {}));\n  var EventProfiling = class _EventProfiling {\n    constructor(name) {\n      this.listenerCount = 0;\n      this.invocationCount = 0;\n      this.elapsedOverall = 0;\n      this.durations = [];\n      this.name = `${name}_${_EventProfiling._idPool++}`;\n      _EventProfiling.all.add(this);\n    }\n    start(listenerCount) {\n      this._stopWatch = new StopWatch();\n      this.listenerCount = listenerCount;\n    }\n    stop() {\n      if (this._stopWatch) {\n        const elapsed = this._stopWatch.elapsed();\n        this.durations.push(elapsed);\n        this.elapsedOverall += elapsed;\n        this.invocationCount += 1;\n        this._stopWatch = void 0;\n      }\n    }\n  };\n  EventProfiling.all = /* @__PURE__ */ new Set();\n  EventProfiling._idPool = 0;\n  var _globalLeakWarningThreshold = -1;\n  var LeakageMonitor = class {\n    constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {\n      this.threshold = threshold;\n      this.name = name;\n      this._warnCountdown = 0;\n    }\n    dispose() {\n      var _a5;\n      (_a5 = this._stacks) === null || _a5 === void 0 ? void 0 : _a5.clear();\n    }\n    check(stack, listenerCount) {\n      const threshold = this.threshold;\n      if (threshold <= 0 || listenerCount < threshold) {\n        return void 0;\n      }\n      if (!this._stacks) {\n        this._stacks = /* @__PURE__ */ new Map();\n      }\n      const count = this._stacks.get(stack.value) || 0;\n      this._stacks.set(stack.value, count + 1);\n      this._warnCountdown -= 1;\n      if (this._warnCountdown <= 0) {\n        this._warnCountdown = threshold * 0.5;\n        let topStack;\n        let topCount = 0;\n        for (const [stack2, count2] of this._stacks) {\n          if (!topStack || topCount < count2) {\n            topStack = stack2;\n            topCount = count2;\n          }\n        }\n        console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);\n        console.warn(topStack);\n      }\n      return () => {\n        const count2 = this._stacks.get(stack.value) || 0;\n        this._stacks.set(stack.value, count2 - 1);\n      };\n    }\n  };\n  var Stacktrace = class _Stacktrace {\n    static create() {\n      var _a5;\n      return new _Stacktrace((_a5 = new Error().stack) !== null && _a5 !== void 0 ? _a5 : \"\");\n    }\n    constructor(value) {\n      this.value = value;\n    }\n    print() {\n      console.warn(this.value.split(\"\\n\").slice(2).join(\"\\n\"));\n    }\n  };\n  var UniqueContainer = class {\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  var compactionThreshold = 2;\n  var forEachListener = (listeners, fn) => {\n    if (listeners instanceof UniqueContainer) {\n      fn(listeners);\n    } else {\n      for (let i = 0; i < listeners.length; i++) {\n        const l = listeners[i];\n        if (l) {\n          fn(l);\n        }\n      }\n    }\n  };\n  var _listenerFinalizers = _enableListenerGCedWarning ? new FinalizationRegistry((heldValue) => {\n    if (typeof heldValue === \"string\") {\n      console.warn(\"[LEAKING LISTENER] GC'ed a listener that was NOT yet disposed. This is where is was created:\");\n      console.warn(heldValue);\n    }\n  }) : void 0;\n  var Emitter = class {\n    constructor(options) {\n      var _a5, _b3, _c, _d, _e;\n      this._size = 0;\n      this._options = options;\n      this._leakageMon = _globalLeakWarningThreshold > 0 || ((_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.leakWarningThreshold) ? new LeakageMonitor((_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.leakWarningThreshold) !== null && _c !== void 0 ? _c : _globalLeakWarningThreshold) : void 0;\n      this._perfMon = ((_d = this._options) === null || _d === void 0 ? void 0 : _d._profName) ? new EventProfiling(this._options._profName) : void 0;\n      this._deliveryQueue = (_e = this._options) === null || _e === void 0 ? void 0 : _e.deliveryQueue;\n    }\n    dispose() {\n      var _a5, _b3, _c, _d;\n      if (!this._disposed) {\n        this._disposed = true;\n        if (((_a5 = this._deliveryQueue) === null || _a5 === void 0 ? void 0 : _a5.current) === this) {\n          this._deliveryQueue.reset();\n        }\n        if (this._listeners) {\n          if (_enableDisposeWithListenerWarning) {\n            const listeners = this._listeners;\n            queueMicrotask(() => {\n              forEachListener(listeners, (l) => {\n                var _a6;\n                return (_a6 = l.stack) === null || _a6 === void 0 ? void 0 : _a6.print();\n              });\n            });\n          }\n          this._listeners = void 0;\n          this._size = 0;\n        }\n        (_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.onDidRemoveLastListener) === null || _c === void 0 ? void 0 : _c.call(_b3);\n        (_d = this._leakageMon) === null || _d === void 0 ? void 0 : _d.dispose();\n      }\n    }\n    /**\n     * For the public to allow to subscribe\n     * to events from this Emitter\n     */\n    get event() {\n      var _a5;\n      (_a5 = this._event) !== null && _a5 !== void 0 ? _a5 : this._event = (callback, thisArgs, disposables) => {\n        var _a6, _b3, _c, _d, _e;\n        if (this._leakageMon && this._size > this._leakageMon.threshold * 3) {\n          console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);\n          return Disposable.None;\n        }\n        if (this._disposed) {\n          return Disposable.None;\n        }\n        if (thisArgs) {\n          callback = callback.bind(thisArgs);\n        }\n        const contained = new UniqueContainer(callback);\n        let removeMonitor;\n        let stack;\n        if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) {\n          contained.stack = Stacktrace.create();\n          removeMonitor = this._leakageMon.check(contained.stack, this._size + 1);\n        }\n        if (_enableDisposeWithListenerWarning) {\n          contained.stack = stack !== null && stack !== void 0 ? stack : Stacktrace.create();\n        }\n        if (!this._listeners) {\n          (_b3 = (_a6 = this._options) === null || _a6 === void 0 ? void 0 : _a6.onWillAddFirstListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a6, this);\n          this._listeners = contained;\n          (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidAddFirstListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        } else if (this._listeners instanceof UniqueContainer) {\n          (_e = this._deliveryQueue) !== null && _e !== void 0 ? _e : this._deliveryQueue = new EventDeliveryQueuePrivate();\n          this._listeners = [this._listeners, contained];\n        } else {\n          this._listeners.push(contained);\n        }\n        this._size++;\n        const result = toDisposable(() => {\n          _listenerFinalizers === null || _listenerFinalizers === void 0 ? void 0 : _listenerFinalizers.unregister(result);\n          removeMonitor === null || removeMonitor === void 0 ? void 0 : removeMonitor();\n          this._removeListener(contained);\n        });\n        if (disposables instanceof DisposableStore) {\n          disposables.add(result);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(result);\n        }\n        if (_listenerFinalizers) {\n          const stack2 = new Error().stack.split(\"\\n\").slice(2).join(\"\\n\").trim();\n          _listenerFinalizers.register(result, stack2, result);\n        }\n        return result;\n      };\n      return this._event;\n    }\n    _removeListener(listener) {\n      var _a5, _b3, _c, _d;\n      (_b3 = (_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onWillRemoveListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a5, this);\n      if (!this._listeners) {\n        return;\n      }\n      if (this._size === 1) {\n        this._listeners = void 0;\n        (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidRemoveLastListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        this._size = 0;\n        return;\n      }\n      const listeners = this._listeners;\n      const index = listeners.indexOf(listener);\n      if (index === -1) {\n        console.log(\"disposed?\", this._disposed);\n        console.log(\"size?\", this._size);\n        console.log(\"arr?\", JSON.stringify(this._listeners));\n        throw new Error(\"Attempted to dispose unknown listener\");\n      }\n      this._size--;\n      listeners[index] = void 0;\n      const adjustDeliveryQueue = this._deliveryQueue.current === this;\n      if (this._size * compactionThreshold <= listeners.length) {\n        let n = 0;\n        for (let i = 0; i < listeners.length; i++) {\n          if (listeners[i]) {\n            listeners[n++] = listeners[i];\n          } else if (adjustDeliveryQueue) {\n            this._deliveryQueue.end--;\n            if (n < this._deliveryQueue.i) {\n              this._deliveryQueue.i--;\n            }\n          }\n        }\n        listeners.length = n;\n      }\n    }\n    _deliver(listener, value) {\n      var _a5;\n      if (!listener) {\n        return;\n      }\n      const errorHandler2 = ((_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onListenerError) || onUnexpectedError;\n      if (!errorHandler2) {\n        listener.value(value);\n        return;\n      }\n      try {\n        listener.value(value);\n      } catch (e) {\n        errorHandler2(e);\n      }\n    }\n    /** Delivers items in the queue. Assumes the queue is ready to go. */\n    _deliverQueue(dq) {\n      const listeners = dq.current._listeners;\n      while (dq.i < dq.end) {\n        this._deliver(listeners[dq.i++], dq.value);\n      }\n      dq.reset();\n    }\n    /**\n     * To be kept private to fire an event to\n     * subscribers\n     */\n    fire(event) {\n      var _a5, _b3, _c, _d;\n      if ((_a5 = this._deliveryQueue) === null || _a5 === void 0 ? void 0 : _a5.current) {\n        this._deliverQueue(this._deliveryQueue);\n        (_b3 = this._perfMon) === null || _b3 === void 0 ? void 0 : _b3.stop();\n      }\n      (_c = this._perfMon) === null || _c === void 0 ? void 0 : _c.start(this._size);\n      if (!this._listeners) {\n      } else if (this._listeners instanceof UniqueContainer) {\n        this._deliver(this._listeners, event);\n      } else {\n        const dq = this._deliveryQueue;\n        dq.enqueue(this, event, this._listeners.length);\n        this._deliverQueue(dq);\n      }\n      (_d = this._perfMon) === null || _d === void 0 ? void 0 : _d.stop();\n    }\n    hasListeners() {\n      return this._size > 0;\n    }\n  };\n  var EventDeliveryQueuePrivate = class {\n    constructor() {\n      this.i = -1;\n      this.end = 0;\n    }\n    enqueue(emitter, value, end) {\n      this.i = 0;\n      this.end = end;\n      this.current = emitter;\n      this.value = value;\n    }\n    reset() {\n      this.i = this.end;\n      this.current = void 0;\n      this.value = void 0;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/types.js\n  function isString(str) {\n    return typeof str === \"string\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/objects.js\n  function getAllPropertyNames(obj) {\n    let res = [];\n    while (Object.prototype !== obj) {\n      res = res.concat(Object.getOwnPropertyNames(obj));\n      obj = Object.getPrototypeOf(obj);\n    }\n    return res;\n  }\n  function getAllMethodNames(obj) {\n    const methods = [];\n    for (const prop of getAllPropertyNames(obj)) {\n      if (typeof obj[prop] === \"function\") {\n        methods.push(prop);\n      }\n    }\n    return methods;\n  }\n  function createProxyObject(methodNames, invoke) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/nls.js\n  var isPseudo = typeof document !== \"undefined\" && document.location && document.location.hash.indexOf(\"pseudo=true\") >= 0;\n  function _format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        const index = rest[0];\n        const arg = args[index];\n        let result2 = match;\n        if (typeof arg === \"string\") {\n          result2 = arg;\n        } else if (typeof arg === \"number\" || typeof arg === \"boolean\" || arg === void 0 || arg === null) {\n          result2 = String(arg);\n        }\n        return result2;\n      });\n    }\n    if (isPseudo) {\n      result = \"\\uFF3B\" + result.replace(/[aouei]/g, \"$&$&\") + \"\\uFF3D\";\n    }\n    return result;\n  }\n  function localize(data, message, ...args) {\n    return _format(message, args);\n  }\n  function getConfiguredDefaultLocale(_) {\n    return void 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/platform.js\n  var _a;\n  var _b;\n  var LANGUAGE_DEFAULT = \"en\";\n  var _isWindows = false;\n  var _isMacintosh = false;\n  var _isLinux = false;\n  var _isLinuxSnap = false;\n  var _isNative = false;\n  var _isWeb = false;\n  var _isElectron = false;\n  var _isIOS = false;\n  var _isCI = false;\n  var _isMobile = false;\n  var _locale = void 0;\n  var _language = LANGUAGE_DEFAULT;\n  var _platformLocale = LANGUAGE_DEFAULT;\n  var _translationsConfigFile = void 0;\n  var _userAgent = void 0;\n  var $globalThis = globalThis;\n  var nodeProcess = void 0;\n  if (typeof $globalThis.vscode !== \"undefined\" && typeof $globalThis.vscode.process !== \"undefined\") {\n    nodeProcess = $globalThis.vscode.process;\n  } else if (typeof process !== \"undefined\" && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === \"string\") {\n    nodeProcess = process;\n  }\n  var isElectronProcess = typeof ((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) === \"string\";\n  var isElectronRenderer = isElectronProcess && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.type) === \"renderer\";\n  if (typeof nodeProcess === \"object\") {\n    _isWindows = nodeProcess.platform === \"win32\";\n    _isMacintosh = nodeProcess.platform === \"darwin\";\n    _isLinux = nodeProcess.platform === \"linux\";\n    _isLinuxSnap = _isLinux && !!nodeProcess.env[\"SNAP\"] && !!nodeProcess.env[\"SNAP_REVISION\"];\n    _isElectron = isElectronProcess;\n    _isCI = !!nodeProcess.env[\"CI\"] || !!nodeProcess.env[\"BUILD_ARTIFACTSTAGINGDIRECTORY\"];\n    _locale = LANGUAGE_DEFAULT;\n    _language = LANGUAGE_DEFAULT;\n    const rawNlsConfig = nodeProcess.env[\"VSCODE_NLS_CONFIG\"];\n    if (rawNlsConfig) {\n      try {\n        const nlsConfig = JSON.parse(rawNlsConfig);\n        const resolved = nlsConfig.availableLanguages[\"*\"];\n        _locale = nlsConfig.locale;\n        _platformLocale = nlsConfig.osLocale;\n        _language = resolved ? resolved : LANGUAGE_DEFAULT;\n        _translationsConfigFile = nlsConfig._translationsConfigFile;\n      } catch (e) {\n      }\n    }\n    _isNative = true;\n  } else if (typeof navigator === \"object\" && !isElectronRenderer) {\n    _userAgent = navigator.userAgent;\n    _isWindows = _userAgent.indexOf(\"Windows\") >= 0;\n    _isMacintosh = _userAgent.indexOf(\"Macintosh\") >= 0;\n    _isIOS = (_userAgent.indexOf(\"Macintosh\") >= 0 || _userAgent.indexOf(\"iPad\") >= 0 || _userAgent.indexOf(\"iPhone\") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\n    _isLinux = _userAgent.indexOf(\"Linux\") >= 0;\n    _isMobile = (_userAgent === null || _userAgent === void 0 ? void 0 : _userAgent.indexOf(\"Mobi\")) >= 0;\n    _isWeb = true;\n    const configuredLocale = getConfiguredDefaultLocale(\n      // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`\n      // to ensure that the NLS AMD Loader plugin has been loaded and configured.\n      // This is because the loader plugin decides what the default locale is based on\n      // how it's able to resolve the strings.\n      localize({ key: \"ensureLoaderPluginIsLoaded\", comment: [\"{Locked}\"] }, \"_\")\n    );\n    _locale = configuredLocale || LANGUAGE_DEFAULT;\n    _language = _locale;\n    _platformLocale = navigator.language;\n  } else {\n    console.error(\"Unable to resolve platform.\");\n  }\n  var _platform = 0;\n  if (_isMacintosh) {\n    _platform = 1;\n  } else if (_isWindows) {\n    _platform = 3;\n  } else if (_isLinux) {\n    _platform = 2;\n  }\n  var isWindows = _isWindows;\n  var isMacintosh = _isMacintosh;\n  var isWebWorker = _isWeb && typeof $globalThis.importScripts === \"function\";\n  var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0;\n  var userAgent = _userAgent;\n  var setTimeout0IsFaster = typeof $globalThis.postMessage === \"function\" && !$globalThis.importScripts;\n  var setTimeout0 = (() => {\n    if (setTimeout0IsFaster) {\n      const pending = [];\n      $globalThis.addEventListener(\"message\", (e) => {\n        if (e.data && e.data.vscodeScheduleAsyncWork) {\n          for (let i = 0, len = pending.length; i < len; i++) {\n            const candidate = pending[i];\n            if (candidate.id === e.data.vscodeScheduleAsyncWork) {\n              pending.splice(i, 1);\n              candidate.callback();\n              return;\n            }\n          }\n        }\n      });\n      let lastId = 0;\n      return (callback) => {\n        const myId = ++lastId;\n        pending.push({\n          id: myId,\n          callback\n        });\n        $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, \"*\");\n      };\n    }\n    return (callback) => setTimeout(callback);\n  })();\n  var isChrome = !!(userAgent && userAgent.indexOf(\"Chrome\") >= 0);\n  var isFirefox = !!(userAgent && userAgent.indexOf(\"Firefox\") >= 0);\n  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf(\"Safari\") >= 0));\n  var isEdge = !!(userAgent && userAgent.indexOf(\"Edg/\") >= 0);\n  var isAndroid = !!(userAgent && userAgent.indexOf(\"Android\") >= 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cache.js\n  function identity(t) {\n    return t;\n  }\n  var LRUCachedFunction = class {\n    constructor(arg1, arg2) {\n      this.lastCache = void 0;\n      this.lastArgKey = void 0;\n      if (typeof arg1 === \"function\") {\n        this._fn = arg1;\n        this._computeKey = identity;\n      } else {\n        this._fn = arg2;\n        this._computeKey = arg1.getCacheKey;\n      }\n    }\n    get(arg) {\n      const key = this._computeKey(arg);\n      if (this.lastArgKey !== key) {\n        this.lastArgKey = key;\n        this.lastCache = this._fn(arg);\n      }\n      return this.lastCache;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lazy.js\n  var Lazy = class {\n    constructor(executor) {\n      this.executor = executor;\n      this._didRun = false;\n    }\n    /**\n     * Get the wrapped value.\n     *\n     * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only\n     * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value\n     */\n    get value() {\n      if (!this._didRun) {\n        try {\n          this._value = this.executor();\n        } catch (err) {\n          this._error = err;\n        } finally {\n          this._didRun = true;\n        }\n      }\n      if (this._error) {\n        throw this._error;\n      }\n      return this._value;\n    }\n    /**\n     * Get the wrapped value without forcing evaluation.\n     */\n    get rawValue() {\n      return this._value;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/strings.js\n  var _a2;\n  function escapeRegExpCharacters(value) {\n    return value.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g, \"\\\\$&\");\n  }\n  function splitLines(str) {\n    return str.split(/\\r\\n|\\r|\\n/);\n  }\n  function firstNonWhitespaceIndex(str) {\n    for (let i = 0, len = str.length; i < len; i++) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {\n    for (let i = startIndex; i >= 0; i--) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isUpperAsciiLetter(code) {\n    return code >= 65 && code <= 90;\n  }\n  function isHighSurrogate(charCode) {\n    return 55296 <= charCode && charCode <= 56319;\n  }\n  function isLowSurrogate(charCode) {\n    return 56320 <= charCode && charCode <= 57343;\n  }\n  function computeCodePoint(highSurrogate, lowSurrogate) {\n    return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536;\n  }\n  function getNextCodePoint(str, len, offset) {\n    const charCode = str.charCodeAt(offset);\n    if (isHighSurrogate(charCode) && offset + 1 < len) {\n      const nextCharCode = str.charCodeAt(offset + 1);\n      if (isLowSurrogate(nextCharCode)) {\n        return computeCodePoint(charCode, nextCharCode);\n      }\n    }\n    return charCode;\n  }\n  var IS_BASIC_ASCII = /^[\\t\\n\\r\\x20-\\x7E]*$/;\n  function isBasicASCII(str) {\n    return IS_BASIC_ASCII.test(str);\n  }\n  var UTF8_BOM_CHARACTER = String.fromCharCode(\n    65279\n    /* CharCode.UTF8_BOM */\n  );\n  var GraphemeBreakTree = class _GraphemeBreakTree {\n    static getInstance() {\n      if (!_GraphemeBreakTree._INSTANCE) {\n        _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree();\n      }\n      return _GraphemeBreakTree._INSTANCE;\n    }\n    constructor() {\n      this._data = getGraphemeBreakRawData();\n    }\n    getGraphemeBreakType(codePoint) {\n      if (codePoint < 32) {\n        if (codePoint === 10) {\n          return 3;\n        }\n        if (codePoint === 13) {\n          return 2;\n        }\n        return 4;\n      }\n      if (codePoint < 127) {\n        return 0;\n      }\n      const data = this._data;\n      const nodeCount = data.length / 3;\n      let nodeIndex = 1;\n      while (nodeIndex <= nodeCount) {\n        if (codePoint < data[3 * nodeIndex]) {\n          nodeIndex = 2 * nodeIndex;\n        } else if (codePoint > data[3 * nodeIndex + 1]) {\n          nodeIndex = 2 * nodeIndex + 1;\n        } else {\n          return data[3 * nodeIndex + 2];\n        }\n      }\n      return 0;\n    }\n  };\n  GraphemeBreakTree._INSTANCE = null;\n  function getGraphemeBreakRawData() {\n    return JSON.parse(\"[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]\");\n  }\n  var AmbiguousCharacters = class {\n    static getInstance(locales) {\n      return _a2.cache.get(Array.from(locales));\n    }\n    static getLocales() {\n      return _a2._locales.value;\n    }\n    constructor(confusableDictionary) {\n      this.confusableDictionary = confusableDictionary;\n    }\n    isAmbiguous(codePoint) {\n      return this.confusableDictionary.has(codePoint);\n    }\n    /**\n     * Returns the non basic ASCII code point that the given code point can be confused,\n     * or undefined if such code point does note exist.\n     */\n    getPrimaryConfusable(codePoint) {\n      return this.confusableDictionary.get(codePoint);\n    }\n    getConfusableCodePoints() {\n      return new Set(this.confusableDictionary.keys());\n    }\n  };\n  _a2 = AmbiguousCharacters;\n  AmbiguousCharacters.ambiguousCharacterData = new Lazy(() => {\n    return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}');\n  });\n  AmbiguousCharacters.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => {\n    function arrayToMap(arr) {\n      const result = /* @__PURE__ */ new Map();\n      for (let i = 0; i < arr.length; i += 2) {\n        result.set(arr[i], arr[i + 1]);\n      }\n      return result;\n    }\n    function mergeMaps(map1, map2) {\n      const result = new Map(map1);\n      for (const [key, value] of map2) {\n        result.set(key, value);\n      }\n      return result;\n    }\n    function intersectMaps(map1, map2) {\n      if (!map1) {\n        return map2;\n      }\n      const result = /* @__PURE__ */ new Map();\n      for (const [key, value] of map1) {\n        if (map2.has(key)) {\n          result.set(key, value);\n        }\n      }\n      return result;\n    }\n    const data = _a2.ambiguousCharacterData.value;\n    let filteredLocales = locales.filter((l) => !l.startsWith(\"_\") && l in data);\n    if (filteredLocales.length === 0) {\n      filteredLocales = [\"_default\"];\n    }\n    let languageSpecificMap = void 0;\n    for (const locale of filteredLocales) {\n      const map2 = arrayToMap(data[locale]);\n      languageSpecificMap = intersectMaps(languageSpecificMap, map2);\n    }\n    const commonMap = arrayToMap(data[\"_common\"]);\n    const map = mergeMaps(commonMap, languageSpecificMap);\n    return new _a2(map);\n  });\n  AmbiguousCharacters._locales = new Lazy(() => Object.keys(_a2.ambiguousCharacterData.value).filter((k) => !k.startsWith(\"_\")));\n  var InvisibleCharacters = class _InvisibleCharacters {\n    static getRawData() {\n      return JSON.parse(\"[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]\");\n    }\n    static getData() {\n      if (!this._data) {\n        this._data = new Set(_InvisibleCharacters.getRawData());\n      }\n      return this._data;\n    }\n    static isInvisibleCharacter(codePoint) {\n      return _InvisibleCharacters.getData().has(codePoint);\n    }\n    static get codePoints() {\n      return _InvisibleCharacters.getData();\n    }\n  };\n  InvisibleCharacters._data = void 0;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js\n  var INITIALIZE = \"$initialize\";\n  var RequestMessage = class {\n    constructor(vsWorker, req, method, args) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.method = method;\n      this.args = args;\n      this.type = 0;\n    }\n  };\n  var ReplyMessage = class {\n    constructor(vsWorker, seq, res, err) {\n      this.vsWorker = vsWorker;\n      this.seq = seq;\n      this.res = res;\n      this.err = err;\n      this.type = 1;\n    }\n  };\n  var SubscribeEventMessage = class {\n    constructor(vsWorker, req, eventName, arg) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.eventName = eventName;\n      this.arg = arg;\n      this.type = 2;\n    }\n  };\n  var EventMessage = class {\n    constructor(vsWorker, req, event) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.event = event;\n      this.type = 3;\n    }\n  };\n  var UnsubscribeEventMessage = class {\n    constructor(vsWorker, req) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.type = 4;\n    }\n  };\n  var SimpleWorkerProtocol = class {\n    constructor(handler) {\n      this._workerId = -1;\n      this._handler = handler;\n      this._lastSentReq = 0;\n      this._pendingReplies = /* @__PURE__ */ Object.create(null);\n      this._pendingEmitters = /* @__PURE__ */ new Map();\n      this._pendingEvents = /* @__PURE__ */ new Map();\n    }\n    setWorkerId(workerId) {\n      this._workerId = workerId;\n    }\n    sendMessage(method, args) {\n      const req = String(++this._lastSentReq);\n      return new Promise((resolve2, reject) => {\n        this._pendingReplies[req] = {\n          resolve: resolve2,\n          reject\n        };\n        this._send(new RequestMessage(this._workerId, req, method, args));\n      });\n    }\n    listen(eventName, arg) {\n      let req = null;\n      const emitter = new Emitter({\n        onWillAddFirstListener: () => {\n          req = String(++this._lastSentReq);\n          this._pendingEmitters.set(req, emitter);\n          this._send(new SubscribeEventMessage(this._workerId, req, eventName, arg));\n        },\n        onDidRemoveLastListener: () => {\n          this._pendingEmitters.delete(req);\n          this._send(new UnsubscribeEventMessage(this._workerId, req));\n          req = null;\n        }\n      });\n      return emitter.event;\n    }\n    handleMessage(message) {\n      if (!message || !message.vsWorker) {\n        return;\n      }\n      if (this._workerId !== -1 && message.vsWorker !== this._workerId) {\n        return;\n      }\n      this._handleMessage(message);\n    }\n    _handleMessage(msg) {\n      switch (msg.type) {\n        case 1:\n          return this._handleReplyMessage(msg);\n        case 0:\n          return this._handleRequestMessage(msg);\n        case 2:\n          return this._handleSubscribeEventMessage(msg);\n        case 3:\n          return this._handleEventMessage(msg);\n        case 4:\n          return this._handleUnsubscribeEventMessage(msg);\n      }\n    }\n    _handleReplyMessage(replyMessage) {\n      if (!this._pendingReplies[replyMessage.seq]) {\n        console.warn(\"Got reply to unknown seq\");\n        return;\n      }\n      const reply = this._pendingReplies[replyMessage.seq];\n      delete this._pendingReplies[replyMessage.seq];\n      if (replyMessage.err) {\n        let err = replyMessage.err;\n        if (replyMessage.err.$isError) {\n          err = new Error();\n          err.name = replyMessage.err.name;\n          err.message = replyMessage.err.message;\n          err.stack = replyMessage.err.stack;\n        }\n        reply.reject(err);\n        return;\n      }\n      reply.resolve(replyMessage.res);\n    }\n    _handleRequestMessage(requestMessage) {\n      const req = requestMessage.req;\n      const result = this._handler.handleMessage(requestMessage.method, requestMessage.args);\n      result.then((r) => {\n        this._send(new ReplyMessage(this._workerId, req, r, void 0));\n      }, (e) => {\n        if (e.detail instanceof Error) {\n          e.detail = transformErrorForSerialization(e.detail);\n        }\n        this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e)));\n      });\n    }\n    _handleSubscribeEventMessage(msg) {\n      const req = msg.req;\n      const disposable = this._handler.handleEvent(msg.eventName, msg.arg)((event) => {\n        this._send(new EventMessage(this._workerId, req, event));\n      });\n      this._pendingEvents.set(req, disposable);\n    }\n    _handleEventMessage(msg) {\n      if (!this._pendingEmitters.has(msg.req)) {\n        console.warn(\"Got event for unknown req\");\n        return;\n      }\n      this._pendingEmitters.get(msg.req).fire(msg.event);\n    }\n    _handleUnsubscribeEventMessage(msg) {\n      if (!this._pendingEvents.has(msg.req)) {\n        console.warn(\"Got unsubscribe for unknown req\");\n        return;\n      }\n      this._pendingEvents.get(msg.req).dispose();\n      this._pendingEvents.delete(msg.req);\n    }\n    _send(msg) {\n      const transfer = [];\n      if (msg.type === 0) {\n        for (let i = 0; i < msg.args.length; i++) {\n          if (msg.args[i] instanceof ArrayBuffer) {\n            transfer.push(msg.args[i]);\n          }\n        }\n      } else if (msg.type === 1) {\n        if (msg.res instanceof ArrayBuffer) {\n          transfer.push(msg.res);\n        }\n      }\n      this._handler.sendMessage(msg, transfer);\n    }\n  };\n  function propertyIsEvent(name) {\n    return name[0] === \"o\" && name[1] === \"n\" && isUpperAsciiLetter(name.charCodeAt(2));\n  }\n  function propertyIsDynamicEvent(name) {\n    return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9));\n  }\n  function createProxyObject2(methodNames, invoke, proxyListen) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const createProxyDynamicEvent = (eventName) => {\n      return function(arg) {\n        return proxyListen(eventName, arg);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      if (propertyIsDynamicEvent(methodName)) {\n        result[methodName] = createProxyDynamicEvent(methodName);\n        continue;\n      }\n      if (propertyIsEvent(methodName)) {\n        result[methodName] = proxyListen(methodName, void 0);\n        continue;\n      }\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n  var SimpleWorkerServer = class {\n    constructor(postMessage, requestHandlerFactory) {\n      this._requestHandlerFactory = requestHandlerFactory;\n      this._requestHandler = null;\n      this._protocol = new SimpleWorkerProtocol({\n        sendMessage: (msg, transfer) => {\n          postMessage(msg, transfer);\n        },\n        handleMessage: (method, args) => this._handleMessage(method, args),\n        handleEvent: (eventName, arg) => this._handleEvent(eventName, arg)\n      });\n    }\n    onmessage(msg) {\n      this._protocol.handleMessage(msg);\n    }\n    _handleMessage(method, args) {\n      if (method === INITIALIZE) {\n        return this.initialize(args[0], args[1], args[2], args[3]);\n      }\n      if (!this._requestHandler || typeof this._requestHandler[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._requestHandler[method].apply(this._requestHandler, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n    _handleEvent(eventName, arg) {\n      if (!this._requestHandler) {\n        throw new Error(`Missing requestHandler`);\n      }\n      if (propertyIsDynamicEvent(eventName)) {\n        const event = this._requestHandler[eventName].call(this._requestHandler, arg);\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing dynamic event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      if (propertyIsEvent(eventName)) {\n        const event = this._requestHandler[eventName];\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      throw new Error(`Malformed event name ${eventName}`);\n    }\n    initialize(workerId, loaderConfig, moduleId, hostMethods) {\n      this._protocol.setWorkerId(workerId);\n      const proxyMethodRequest = (method, args) => {\n        return this._protocol.sendMessage(method, args);\n      };\n      const proxyListen = (eventName, arg) => {\n        return this._protocol.listen(eventName, arg);\n      };\n      const hostProxy = createProxyObject2(hostMethods, proxyMethodRequest, proxyListen);\n      if (this._requestHandlerFactory) {\n        this._requestHandler = this._requestHandlerFactory(hostProxy);\n        return Promise.resolve(getAllMethodNames(this._requestHandler));\n      }\n      if (loaderConfig) {\n        if (typeof loaderConfig.baseUrl !== \"undefined\") {\n          delete loaderConfig[\"baseUrl\"];\n        }\n        if (typeof loaderConfig.paths !== \"undefined\") {\n          if (typeof loaderConfig.paths.vs !== \"undefined\") {\n            delete loaderConfig.paths[\"vs\"];\n          }\n        }\n        if (typeof loaderConfig.trustedTypesPolicy !== \"undefined\") {\n          delete loaderConfig[\"trustedTypesPolicy\"];\n        }\n        loaderConfig.catchError = true;\n        globalThis.require.config(loaderConfig);\n      }\n      return new Promise((resolve2, reject) => {\n        const req = globalThis.require;\n        req([moduleId], (module) => {\n          this._requestHandler = module.create(hostProxy);\n          if (!this._requestHandler) {\n            reject(new Error(`No RequestHandler!`));\n            return;\n          }\n          resolve2(getAllMethodNames(this._requestHandler));\n        }, reject);\n      });\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js\n  var DiffChange = class {\n    /**\n     * Constructs a new DiffChange with the given sequence information\n     * and content.\n     */\n    constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\n      this.originalStart = originalStart;\n      this.originalLength = originalLength;\n      this.modifiedStart = modifiedStart;\n      this.modifiedLength = modifiedLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the original sequence.\n     */\n    getOriginalEnd() {\n      return this.originalStart + this.originalLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the modified sequence.\n     */\n    getModifiedEnd() {\n      return this.modifiedStart + this.modifiedLength;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/hash.js\n  function numberHash(val, initialHashVal) {\n    return (initialHashVal << 5) - initialHashVal + val | 0;\n  }\n  function stringHash(s, hashVal) {\n    hashVal = numberHash(149417, hashVal);\n    for (let i = 0, length = s.length; i < length; i++) {\n      hashVal = numberHash(s.charCodeAt(i), hashVal);\n    }\n    return hashVal;\n  }\n  function leftRotate(value, bits, totalBits = 32) {\n    const delta = totalBits - bits;\n    const mask = ~((1 << delta) - 1);\n    return (value << bits | (mask & value) >>> delta) >>> 0;\n  }\n  function fill(dest, index = 0, count = dest.byteLength, value = 0) {\n    for (let i = 0; i < count; i++) {\n      dest[index + i] = value;\n    }\n  }\n  function leftPad(value, length, char = \"0\") {\n    while (value.length < length) {\n      value = char + value;\n    }\n    return value;\n  }\n  function toHexString(bufferOrValue, bitsize = 32) {\n    if (bufferOrValue instanceof ArrayBuffer) {\n      return Array.from(new Uint8Array(bufferOrValue)).map((b) => b.toString(16).padStart(2, \"0\")).join(\"\");\n    }\n    return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4);\n  }\n  var StringSHA1 = class _StringSHA1 {\n    constructor() {\n      this._h0 = 1732584193;\n      this._h1 = 4023233417;\n      this._h2 = 2562383102;\n      this._h3 = 271733878;\n      this._h4 = 3285377520;\n      this._buff = new Uint8Array(\n        64 + 3\n        /* to fit any utf-8 */\n      );\n      this._buffDV = new DataView(this._buff.buffer);\n      this._buffLen = 0;\n      this._totalLen = 0;\n      this._leftoverHighSurrogate = 0;\n      this._finished = false;\n    }\n    update(str) {\n      const strLen = str.length;\n      if (strLen === 0) {\n        return;\n      }\n      const buff = this._buff;\n      let buffLen = this._buffLen;\n      let leftoverHighSurrogate = this._leftoverHighSurrogate;\n      let charCode;\n      let offset;\n      if (leftoverHighSurrogate !== 0) {\n        charCode = leftoverHighSurrogate;\n        offset = -1;\n        leftoverHighSurrogate = 0;\n      } else {\n        charCode = str.charCodeAt(0);\n        offset = 0;\n      }\n      while (true) {\n        let codePoint = charCode;\n        if (isHighSurrogate(charCode)) {\n          if (offset + 1 < strLen) {\n            const nextCharCode = str.charCodeAt(offset + 1);\n            if (isLowSurrogate(nextCharCode)) {\n              offset++;\n              codePoint = computeCodePoint(charCode, nextCharCode);\n            } else {\n              codePoint = 65533;\n            }\n          } else {\n            leftoverHighSurrogate = charCode;\n            break;\n          }\n        } else if (isLowSurrogate(charCode)) {\n          codePoint = 65533;\n        }\n        buffLen = this._push(buff, buffLen, codePoint);\n        offset++;\n        if (offset < strLen) {\n          charCode = str.charCodeAt(offset);\n        } else {\n          break;\n        }\n      }\n      this._buffLen = buffLen;\n      this._leftoverHighSurrogate = leftoverHighSurrogate;\n    }\n    _push(buff, buffLen, codePoint) {\n      if (codePoint < 128) {\n        buff[buffLen++] = codePoint;\n      } else if (codePoint < 2048) {\n        buff[buffLen++] = 192 | (codePoint & 1984) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else if (codePoint < 65536) {\n        buff[buffLen++] = 224 | (codePoint & 61440) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else {\n        buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18;\n        buff[buffLen++] = 128 | (codePoint & 258048) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      }\n      if (buffLen >= 64) {\n        this._step();\n        buffLen -= 64;\n        this._totalLen += 64;\n        buff[0] = buff[64 + 0];\n        buff[1] = buff[64 + 1];\n        buff[2] = buff[64 + 2];\n      }\n      return buffLen;\n    }\n    digest() {\n      if (!this._finished) {\n        this._finished = true;\n        if (this._leftoverHighSurrogate) {\n          this._leftoverHighSurrogate = 0;\n          this._buffLen = this._push(\n            this._buff,\n            this._buffLen,\n            65533\n            /* SHA1Constant.UNICODE_REPLACEMENT */\n          );\n        }\n        this._totalLen += this._buffLen;\n        this._wrapUp();\n      }\n      return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4);\n    }\n    _wrapUp() {\n      this._buff[this._buffLen++] = 128;\n      fill(this._buff, this._buffLen);\n      if (this._buffLen > 56) {\n        this._step();\n        fill(this._buff);\n      }\n      const ml = 8 * this._totalLen;\n      this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false);\n      this._buffDV.setUint32(60, ml % 4294967296, false);\n      this._step();\n    }\n    _step() {\n      const bigBlock32 = _StringSHA1._bigBlock32;\n      const data = this._buffDV;\n      for (let j = 0; j < 64; j += 4) {\n        bigBlock32.setUint32(j, data.getUint32(j, false), false);\n      }\n      for (let j = 64; j < 320; j += 4) {\n        bigBlock32.setUint32(j, leftRotate(bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false), 1), false);\n      }\n      let a = this._h0;\n      let b = this._h1;\n      let c = this._h2;\n      let d = this._h3;\n      let e = this._h4;\n      let f, k;\n      let temp;\n      for (let j = 0; j < 80; j++) {\n        if (j < 20) {\n          f = b & c | ~b & d;\n          k = 1518500249;\n        } else if (j < 40) {\n          f = b ^ c ^ d;\n          k = 1859775393;\n        } else if (j < 60) {\n          f = b & c | b & d | c & d;\n          k = 2400959708;\n        } else {\n          f = b ^ c ^ d;\n          k = 3395469782;\n        }\n        temp = leftRotate(a, 5) + f + e + k + bigBlock32.getUint32(j * 4, false) & 4294967295;\n        e = d;\n        d = c;\n        c = leftRotate(b, 30);\n        b = a;\n        a = temp;\n      }\n      this._h0 = this._h0 + a & 4294967295;\n      this._h1 = this._h1 + b & 4294967295;\n      this._h2 = this._h2 + c & 4294967295;\n      this._h3 = this._h3 + d & 4294967295;\n      this._h4 = this._h4 + e & 4294967295;\n    }\n  };\n  StringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\n  var StringDiffSequence = class {\n    constructor(source) {\n      this.source = source;\n    }\n    getElements() {\n      const source = this.source;\n      const characters = new Int32Array(source.length);\n      for (let i = 0, len = source.length; i < len; i++) {\n        characters[i] = source.charCodeAt(i);\n      }\n      return characters;\n    }\n  };\n  function stringDiff(original, modified, pretty) {\n    return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes;\n  }\n  var Debug = class {\n    static Assert(condition, message) {\n      if (!condition) {\n        throw new Error(message);\n      }\n    }\n  };\n  var MyArray = class {\n    /**\n     * Copies a range of elements from an Array starting at the specified source index and pastes\n     * them to another Array starting at the specified destination index. The length and the indexes\n     * are specified as 64-bit integers.\n     * sourceArray:\n     *\t\tThe Array that contains the data to copy.\n     * sourceIndex:\n     *\t\tA 64-bit integer that represents the index in the sourceArray at which copying begins.\n     * destinationArray:\n     *\t\tThe Array that receives the data.\n     * destinationIndex:\n     *\t\tA 64-bit integer that represents the index in the destinationArray at which storing begins.\n     * length:\n     *\t\tA 64-bit integer that represents the number of elements to copy.\n     */\n    static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n    static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n  };\n  var DiffChangeHelper = class {\n    /**\n     * Constructs a new DiffChangeHelper for the given DiffSequences.\n     */\n    constructor() {\n      this.m_changes = [];\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n    }\n    /**\n     * Marks the beginning of the next change in the set of differences.\n     */\n    MarkNextChange() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount));\n      }\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n    }\n    /**\n     * Adds the original element at the given position to the elements\n     * affected by the current change. The modified index gives context\n     * to the change position with respect to the original sequence.\n     * @param originalIndex The index of the original element to add.\n     * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence.\n     */\n    AddOriginalElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_originalCount++;\n    }\n    /**\n     * Adds the modified element at the given position to the elements\n     * affected by the current change. The original index gives context\n     * to the change position with respect to the modified sequence.\n     * @param originalIndex The index of the original element that provides corresponding position in the original sequence.\n     * @param modifiedIndex The index of the modified element to add.\n     */\n    AddModifiedElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_modifiedCount++;\n    }\n    /**\n     * Retrieves all of the changes marked by the class.\n     */\n    getChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      return this.m_changes;\n    }\n    /**\n     * Retrieves all of the changes marked by the class in the reverse order\n     */\n    getReverseChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      this.m_changes.reverse();\n      return this.m_changes;\n    }\n  };\n  var LcsDiff = class _LcsDiff {\n    /**\n     * Constructs the DiffFinder\n     */\n    constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) {\n      this.ContinueProcessingPredicate = continueProcessingPredicate;\n      this._originalSequence = originalSequence;\n      this._modifiedSequence = modifiedSequence;\n      const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence);\n      const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence);\n      this._hasStrings = originalHasStrings && modifiedHasStrings;\n      this._originalStringElements = originalStringElements;\n      this._originalElementsOrHash = originalElementsOrHash;\n      this._modifiedStringElements = modifiedStringElements;\n      this._modifiedElementsOrHash = modifiedElementsOrHash;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n    }\n    static _isStringArray(arr) {\n      return arr.length > 0 && typeof arr[0] === \"string\";\n    }\n    static _getElements(sequence) {\n      const elements = sequence.getElements();\n      if (_LcsDiff._isStringArray(elements)) {\n        const hashes = new Int32Array(elements.length);\n        for (let i = 0, len = elements.length; i < len; i++) {\n          hashes[i] = stringHash(elements[i], 0);\n        }\n        return [elements, hashes, true];\n      }\n      if (elements instanceof Int32Array) {\n        return [[], elements, false];\n      }\n      return [[], new Int32Array(elements), false];\n    }\n    ElementsAreEqual(originalIndex, newIndex) {\n      if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true;\n    }\n    ElementsAreStrictEqual(originalIndex, newIndex) {\n      if (!this.ElementsAreEqual(originalIndex, newIndex)) {\n        return false;\n      }\n      const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex);\n      const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex);\n      return originalElement === modifiedElement;\n    }\n    static _getStrictElement(sequence, index) {\n      if (typeof sequence.getStrictElement === \"function\") {\n        return sequence.getStrictElement(index);\n      }\n      return null;\n    }\n    OriginalElementsAreEqual(index1, index2) {\n      if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true;\n    }\n    ModifiedElementsAreEqual(index1, index2) {\n      if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true;\n    }\n    ComputeDiff(pretty) {\n      return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty);\n    }\n    /**\n     * Computes the differences between the original and modified input\n     * sequences on the bounded range.\n     * @returns An array of the differences between the two input sequences.\n     */\n    _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) {\n      const quitEarlyArr = [false];\n      let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr);\n      if (pretty) {\n        changes = this.PrettifyChanges(changes);\n      }\n      return {\n        quitEarly: quitEarlyArr[0],\n        changes\n      };\n    }\n    /**\n     * Private helper method which computes the differences on the bounded range\n     * recursively.\n     * @returns An array of the differences between the two input sequences.\n     */\n    ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) {\n      quitEarlyArr[0] = false;\n      while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) {\n        originalStart++;\n        modifiedStart++;\n      }\n      while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) {\n        originalEnd--;\n        modifiedEnd--;\n      }\n      if (originalStart > originalEnd || modifiedStart > modifiedEnd) {\n        let changes;\n        if (modifiedStart <= modifiedEnd) {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          changes = [\n            new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1)\n          ];\n        } else if (originalStart <= originalEnd) {\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [\n            new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0)\n          ];\n        } else {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [];\n        }\n        return changes;\n      }\n      const midOriginalArr = [0];\n      const midModifiedArr = [0];\n      const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr);\n      const midOriginal = midOriginalArr[0];\n      const midModified = midModifiedArr[0];\n      if (result !== null) {\n        return result;\n      } else if (!quitEarlyArr[0]) {\n        const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr);\n        let rightChanges = [];\n        if (!quitEarlyArr[0]) {\n          rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr);\n        } else {\n          rightChanges = [\n            new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1)\n          ];\n        }\n        return this.ConcatenateChanges(leftChanges, rightChanges);\n      }\n      return [\n        new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n      ];\n    }\n    WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) {\n      let forwardChanges = null;\n      let reverseChanges = null;\n      let changeHelper = new DiffChangeHelper();\n      let diagonalMin = diagonalForwardStart;\n      let diagonalMax = diagonalForwardEnd;\n      let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset;\n      let lastOriginalIndex = -1073741824;\n      let historyIndex = this.m_forwardHistory.length - 1;\n      do {\n        const diagonal = diagonalRelative + diagonalForwardBase;\n        if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n          originalIndex = forwardPoints[diagonal + 1];\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex;\n          changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex);\n          diagonalRelative = diagonal + 1 - diagonalForwardBase;\n        } else {\n          originalIndex = forwardPoints[diagonal - 1] + 1;\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex - 1;\n          changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1);\n          diagonalRelative = diagonal - 1 - diagonalForwardBase;\n        }\n        if (historyIndex >= 0) {\n          forwardPoints = this.m_forwardHistory[historyIndex];\n          diagonalForwardBase = forwardPoints[0];\n          diagonalMin = 1;\n          diagonalMax = forwardPoints.length - 1;\n        }\n      } while (--historyIndex >= -1);\n      forwardChanges = changeHelper.getReverseChanges();\n      if (quitEarlyArr[0]) {\n        let originalStartPoint = midOriginalArr[0] + 1;\n        let modifiedStartPoint = midModifiedArr[0] + 1;\n        if (forwardChanges !== null && forwardChanges.length > 0) {\n          const lastForwardChange = forwardChanges[forwardChanges.length - 1];\n          originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd());\n          modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd());\n        }\n        reverseChanges = [\n          new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1)\n        ];\n      } else {\n        changeHelper = new DiffChangeHelper();\n        diagonalMin = diagonalReverseStart;\n        diagonalMax = diagonalReverseEnd;\n        diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset;\n        lastOriginalIndex = 1073741824;\n        historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;\n        do {\n          const diagonal = diagonalRelative + diagonalReverseBase;\n          if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex + 1;\n            changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal + 1 - diagonalReverseBase;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex;\n            changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal - 1 - diagonalReverseBase;\n          }\n          if (historyIndex >= 0) {\n            reversePoints = this.m_reverseHistory[historyIndex];\n            diagonalReverseBase = reversePoints[0];\n            diagonalMin = 1;\n            diagonalMax = reversePoints.length - 1;\n          }\n        } while (--historyIndex >= -1);\n        reverseChanges = changeHelper.getChanges();\n      }\n      return this.ConcatenateChanges(forwardChanges, reverseChanges);\n    }\n    /**\n     * Given the range to compute the diff on, this method finds the point:\n     * (midOriginal, midModified)\n     * that exists in the middle of the LCS of the two sequences and\n     * is the point at which the LCS problem may be broken down recursively.\n     * This method will try to keep the LCS trace in memory. If the LCS recursion\n     * point is calculated and the full trace is available in memory, then this method\n     * will return the change list.\n     * @param originalStart The start bound of the original sequence range\n     * @param originalEnd The end bound of the original sequence range\n     * @param modifiedStart The start bound of the modified sequence range\n     * @param modifiedEnd The end bound of the modified sequence range\n     * @param midOriginal The middle point of the original sequence range\n     * @param midModified The middle point of the modified sequence range\n     * @returns The diff changes, if available, otherwise null\n     */\n    ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) {\n      let originalIndex = 0, modifiedIndex = 0;\n      let diagonalForwardStart = 0, diagonalForwardEnd = 0;\n      let diagonalReverseStart = 0, diagonalReverseEnd = 0;\n      originalStart--;\n      modifiedStart--;\n      midOriginalArr[0] = 0;\n      midModifiedArr[0] = 0;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n      const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart);\n      const numDiagonals = maxDifferences + 1;\n      const forwardPoints = new Int32Array(numDiagonals);\n      const reversePoints = new Int32Array(numDiagonals);\n      const diagonalForwardBase = modifiedEnd - modifiedStart;\n      const diagonalReverseBase = originalEnd - originalStart;\n      const diagonalForwardOffset = originalStart - modifiedStart;\n      const diagonalReverseOffset = originalEnd - modifiedEnd;\n      const delta = diagonalReverseBase - diagonalForwardBase;\n      const deltaIsEven = delta % 2 === 0;\n      forwardPoints[diagonalForwardBase] = originalStart;\n      reversePoints[diagonalReverseBase] = originalEnd;\n      quitEarlyArr[0] = false;\n      for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) {\n        let furthestOriginalIndex = 0;\n        let furthestModifiedIndex = 0;\n        diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) {\n          if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n            originalIndex = forwardPoints[diagonal + 1];\n          } else {\n            originalIndex = forwardPoints[diagonal - 1] + 1;\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) {\n            originalIndex++;\n            modifiedIndex++;\n          }\n          forwardPoints[diagonal] = originalIndex;\n          if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) {\n            furthestOriginalIndex = originalIndex;\n            furthestModifiedIndex = modifiedIndex;\n          }\n          if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) {\n            if (originalIndex >= reversePoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2;\n        if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) {\n          quitEarlyArr[0] = true;\n          midOriginalArr[0] = furthestOriginalIndex;\n          midModifiedArr[0] = furthestModifiedIndex;\n          if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) {\n            return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n          } else {\n            originalStart++;\n            modifiedStart++;\n            return [\n              new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n            ];\n          }\n        }\n        diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) {\n          if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) {\n            originalIndex--;\n            modifiedIndex--;\n          }\n          reversePoints[diagonal] = originalIndex;\n          if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) {\n            if (originalIndex <= forwardPoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        if (numDifferences <= 1447) {\n          let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);\n          temp[0] = diagonalForwardBase - diagonalForwardStart + 1;\n          MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);\n          this.m_forwardHistory.push(temp);\n          temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2);\n          temp[0] = diagonalReverseBase - diagonalReverseStart + 1;\n          MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1);\n          this.m_reverseHistory.push(temp);\n        }\n      }\n      return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n    }\n    /**\n     * Shifts the given changes to provide a more intuitive diff.\n     * While the first element in a diff matches the first element after the diff,\n     * we shift the diff down.\n     *\n     * @param changes The list of changes to shift\n     * @returns The shifted changes\n     */\n    PrettifyChanges(changes) {\n      for (let i = 0; i < changes.length; i++) {\n        const change = changes[i];\n        const originalStop = i < changes.length - 1 ? changes[i + 1].originalStart : this._originalElementsOrHash.length;\n        const modifiedStop = i < changes.length - 1 ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length;\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) {\n          const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart);\n          const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength);\n          if (endStrictEqual && !startStrictEqual) {\n            break;\n          }\n          change.originalStart++;\n          change.modifiedStart++;\n        }\n        const mergedChangeArr = [null];\n        if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) {\n          changes[i] = mergedChangeArr[0];\n          changes.splice(i + 1, 1);\n          i--;\n          continue;\n        }\n      }\n      for (let i = changes.length - 1; i >= 0; i--) {\n        const change = changes[i];\n        let originalStop = 0;\n        let modifiedStop = 0;\n        if (i > 0) {\n          const prevChange = changes[i - 1];\n          originalStop = prevChange.originalStart + prevChange.originalLength;\n          modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength;\n        }\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        let bestDelta = 0;\n        let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength);\n        for (let delta = 1; ; delta++) {\n          const originalStart = change.originalStart - delta;\n          const modifiedStart = change.modifiedStart - delta;\n          if (originalStart < originalStop || modifiedStart < modifiedStop) {\n            break;\n          }\n          if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) {\n            break;\n          }\n          if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) {\n            break;\n          }\n          const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop;\n          const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength);\n          if (score2 > bestScore) {\n            bestScore = score2;\n            bestDelta = delta;\n          }\n        }\n        change.originalStart -= bestDelta;\n        change.modifiedStart -= bestDelta;\n        const mergedChangeArr = [null];\n        if (i > 0 && this.ChangesOverlap(changes[i - 1], changes[i], mergedChangeArr)) {\n          changes[i - 1] = mergedChangeArr[0];\n          changes.splice(i, 1);\n          i++;\n          continue;\n        }\n      }\n      if (this._hasStrings) {\n        for (let i = 1, len = changes.length; i < len; i++) {\n          const aChange = changes[i - 1];\n          const bChange = changes[i];\n          const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength;\n          const aOriginalStart = aChange.originalStart;\n          const bOriginalEnd = bChange.originalStart + bChange.originalLength;\n          const abOriginalLength = bOriginalEnd - aOriginalStart;\n          const aModifiedStart = aChange.modifiedStart;\n          const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength;\n          const abModifiedLength = bModifiedEnd - aModifiedStart;\n          if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) {\n            const t = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength);\n            if (t) {\n              const [originalMatchStart, modifiedMatchStart] = t;\n              if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) {\n                aChange.originalLength = originalMatchStart - aChange.originalStart;\n                aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart;\n                bChange.originalStart = originalMatchStart + matchedLength;\n                bChange.modifiedStart = modifiedMatchStart + matchedLength;\n                bChange.originalLength = bOriginalEnd - bChange.originalStart;\n                bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart;\n              }\n            }\n          }\n        }\n      }\n      return changes;\n    }\n    _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) {\n      if (originalLength < desiredLength || modifiedLength < desiredLength) {\n        return null;\n      }\n      const originalMax = originalStart + originalLength - desiredLength + 1;\n      const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1;\n      let bestScore = 0;\n      let bestOriginalStart = 0;\n      let bestModifiedStart = 0;\n      for (let i = originalStart; i < originalMax; i++) {\n        for (let j = modifiedStart; j < modifiedMax; j++) {\n          const score2 = this._contiguousSequenceScore(i, j, desiredLength);\n          if (score2 > 0 && score2 > bestScore) {\n            bestScore = score2;\n            bestOriginalStart = i;\n            bestModifiedStart = j;\n          }\n        }\n      }\n      if (bestScore > 0) {\n        return [bestOriginalStart, bestModifiedStart];\n      }\n      return null;\n    }\n    _contiguousSequenceScore(originalStart, modifiedStart, length) {\n      let score2 = 0;\n      for (let l = 0; l < length; l++) {\n        if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) {\n          return 0;\n        }\n        score2 += this._originalStringElements[originalStart + l].length;\n      }\n      return score2;\n    }\n    _OriginalIsBoundary(index) {\n      if (index <= 0 || index >= this._originalElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._originalStringElements[index]);\n    }\n    _OriginalRegionIsBoundary(originalStart, originalLength) {\n      if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) {\n        return true;\n      }\n      if (originalLength > 0) {\n        const originalEnd = originalStart + originalLength;\n        if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _ModifiedIsBoundary(index) {\n      if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._modifiedStringElements[index]);\n    }\n    _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) {\n      if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) {\n        return true;\n      }\n      if (modifiedLength > 0) {\n        const modifiedEnd = modifiedStart + modifiedLength;\n        if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) {\n      const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0;\n      const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0;\n      return originalScore + modifiedScore;\n    }\n    /**\n     * Concatenates the two input DiffChange lists and returns the resulting\n     * list.\n     * @param The left changes\n     * @param The right changes\n     * @returns The concatenated list\n     */\n    ConcatenateChanges(left, right) {\n      const mergedChangeArr = [];\n      if (left.length === 0 || right.length === 0) {\n        return right.length > 0 ? right : left;\n      } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) {\n        const result = new Array(left.length + right.length - 1);\n        MyArray.Copy(left, 0, result, 0, left.length - 1);\n        result[left.length - 1] = mergedChangeArr[0];\n        MyArray.Copy(right, 1, result, left.length, right.length - 1);\n        return result;\n      } else {\n        const result = new Array(left.length + right.length);\n        MyArray.Copy(left, 0, result, 0, left.length);\n        MyArray.Copy(right, 0, result, left.length, right.length);\n        return result;\n      }\n    }\n    /**\n     * Returns true if the two changes overlap and can be merged into a single\n     * change\n     * @param left The left change\n     * @param right The right change\n     * @param mergedChange The merged change if the two overlap, null otherwise\n     * @returns True if the two changes overlap\n     */\n    ChangesOverlap(left, right, mergedChangeArr) {\n      Debug.Assert(left.originalStart <= right.originalStart, \"Left change is not less than or equal to right change\");\n      Debug.Assert(left.modifiedStart <= right.modifiedStart, \"Left change is not less than or equal to right change\");\n      if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n        const originalStart = left.originalStart;\n        let originalLength = left.originalLength;\n        const modifiedStart = left.modifiedStart;\n        let modifiedLength = left.modifiedLength;\n        if (left.originalStart + left.originalLength >= right.originalStart) {\n          originalLength = right.originalStart + right.originalLength - left.originalStart;\n        }\n        if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n          modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart;\n        }\n        mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength);\n        return true;\n      } else {\n        mergedChangeArr[0] = null;\n        return false;\n      }\n    }\n    /**\n     * Helper method used to clip a diagonal index to the range of valid\n     * diagonals. This also decides whether or not the diagonal index,\n     * if it exceeds the boundary, should be clipped to the boundary or clipped\n     * one inside the boundary depending on the Even/Odd status of the boundary\n     * and numDifferences.\n     * @param diagonal The index of the diagonal to clip.\n     * @param numDifferences The current number of differences being iterated upon.\n     * @param diagonalBaseIndex The base reference diagonal.\n     * @param numDiagonals The total number of diagonals.\n     * @returns The clipped diagonal index.\n     */\n    ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) {\n      if (diagonal >= 0 && diagonal < numDiagonals) {\n        return diagonal;\n      }\n      const diagonalsBelow = diagonalBaseIndex;\n      const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1;\n      const diffEven = numDifferences % 2 === 0;\n      if (diagonal < 0) {\n        const lowerBoundEven = diagonalsBelow % 2 === 0;\n        return diffEven === lowerBoundEven ? 0 : 1;\n      } else {\n        const upperBoundEven = diagonalsAbove % 2 === 0;\n        return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/process.js\n  var safeProcess;\n  var vscodeGlobal = globalThis.vscode;\n  if (typeof vscodeGlobal !== \"undefined\" && typeof vscodeGlobal.process !== \"undefined\") {\n    const sandboxProcess = vscodeGlobal.process;\n    safeProcess = {\n      get platform() {\n        return sandboxProcess.platform;\n      },\n      get arch() {\n        return sandboxProcess.arch;\n      },\n      get env() {\n        return sandboxProcess.env;\n      },\n      cwd() {\n        return sandboxProcess.cwd();\n      }\n    };\n  } else if (typeof process !== \"undefined\") {\n    safeProcess = {\n      get platform() {\n        return process.platform;\n      },\n      get arch() {\n        return process.arch;\n      },\n      get env() {\n        return process.env;\n      },\n      cwd() {\n        return process.env[\"VSCODE_CWD\"] || process.cwd();\n      }\n    };\n  } else {\n    safeProcess = {\n      // Supported\n      get platform() {\n        return isWindows ? \"win32\" : isMacintosh ? \"darwin\" : \"linux\";\n      },\n      get arch() {\n        return void 0;\n      },\n      // Unsupported\n      get env() {\n        return {};\n      },\n      cwd() {\n        return \"/\";\n      }\n    };\n  }\n  var cwd = safeProcess.cwd;\n  var env = safeProcess.env;\n  var platform = safeProcess.platform;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/path.js\n  var CHAR_UPPERCASE_A = 65;\n  var CHAR_LOWERCASE_A = 97;\n  var CHAR_UPPERCASE_Z = 90;\n  var CHAR_LOWERCASE_Z = 122;\n  var CHAR_DOT = 46;\n  var CHAR_FORWARD_SLASH = 47;\n  var CHAR_BACKWARD_SLASH = 92;\n  var CHAR_COLON = 58;\n  var CHAR_QUESTION_MARK = 63;\n  var ErrorInvalidArgType = class extends Error {\n    constructor(name, expected, actual) {\n      let determiner;\n      if (typeof expected === \"string\" && expected.indexOf(\"not \") === 0) {\n        determiner = \"must not be\";\n        expected = expected.replace(/^not /, \"\");\n      } else {\n        determiner = \"must be\";\n      }\n      const type = name.indexOf(\".\") !== -1 ? \"property\" : \"argument\";\n      let msg = `The \"${name}\" ${type} ${determiner} of type ${expected}`;\n      msg += `. Received type ${typeof actual}`;\n      super(msg);\n      this.code = \"ERR_INVALID_ARG_TYPE\";\n    }\n  };\n  function validateObject(pathObject, name) {\n    if (pathObject === null || typeof pathObject !== \"object\") {\n      throw new ErrorInvalidArgType(name, \"Object\", pathObject);\n    }\n  }\n  function validateString(value, name) {\n    if (typeof value !== \"string\") {\n      throw new ErrorInvalidArgType(name, \"string\", value);\n    }\n  }\n  var platformIsWin32 = platform === \"win32\";\n  function isPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n  }\n  function isPosixPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH;\n  }\n  function isWindowsDeviceRoot(code) {\n    return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z;\n  }\n  function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) {\n    let res = \"\";\n    let lastSegmentLength = 0;\n    let lastSlash = -1;\n    let dots = 0;\n    let code = 0;\n    for (let i = 0; i <= path.length; ++i) {\n      if (i < path.length) {\n        code = path.charCodeAt(i);\n      } else if (isPathSeparator2(code)) {\n        break;\n      } else {\n        code = CHAR_FORWARD_SLASH;\n      }\n      if (isPathSeparator2(code)) {\n        if (lastSlash === i - 1 || dots === 1) {\n        } else if (dots === 2) {\n          if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {\n            if (res.length > 2) {\n              const lastSlashIndex = res.lastIndexOf(separator);\n              if (lastSlashIndex === -1) {\n                res = \"\";\n                lastSegmentLength = 0;\n              } else {\n                res = res.slice(0, lastSlashIndex);\n                lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);\n              }\n              lastSlash = i;\n              dots = 0;\n              continue;\n            } else if (res.length !== 0) {\n              res = \"\";\n              lastSegmentLength = 0;\n              lastSlash = i;\n              dots = 0;\n              continue;\n            }\n          }\n          if (allowAboveRoot) {\n            res += res.length > 0 ? `${separator}..` : \"..\";\n            lastSegmentLength = 2;\n          }\n        } else {\n          if (res.length > 0) {\n            res += `${separator}${path.slice(lastSlash + 1, i)}`;\n          } else {\n            res = path.slice(lastSlash + 1, i);\n          }\n          lastSegmentLength = i - lastSlash - 1;\n        }\n        lastSlash = i;\n        dots = 0;\n      } else if (code === CHAR_DOT && dots !== -1) {\n        ++dots;\n      } else {\n        dots = -1;\n      }\n    }\n    return res;\n  }\n  function _format2(sep2, pathObject) {\n    validateObject(pathObject, \"pathObject\");\n    const dir = pathObject.dir || pathObject.root;\n    const base = pathObject.base || `${pathObject.name || \"\"}${pathObject.ext || \"\"}`;\n    if (!dir) {\n      return base;\n    }\n    return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`;\n  }\n  var win32 = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedDevice = \"\";\n      let resolvedTail = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1; i--) {\n        let path;\n        if (i >= 0) {\n          path = pathSegments[i];\n          validateString(path, \"path\");\n          if (path.length === 0) {\n            continue;\n          }\n        } else if (resolvedDevice.length === 0) {\n          path = cwd();\n        } else {\n          path = env[`=${resolvedDevice}`] || cwd();\n          if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n            path = `${resolvedDevice}\\\\`;\n          }\n        }\n        const len = path.length;\n        let rootEnd = 0;\n        let device = \"\";\n        let isAbsolute = false;\n        const code = path.charCodeAt(0);\n        if (len === 1) {\n          if (isPathSeparator(code)) {\n            rootEnd = 1;\n            isAbsolute = true;\n          }\n        } else if (isPathSeparator(code)) {\n          isAbsolute = true;\n          if (isPathSeparator(path.charCodeAt(1))) {\n            let j = 2;\n            let last = j;\n            while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              const firstPart = path.slice(last, j);\n              last = j;\n              while (j < len && isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j < len && j !== last) {\n                last = j;\n                while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                  j++;\n                }\n                if (j === len || j !== last) {\n                  device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                  rootEnd = j;\n                }\n              }\n            }\n          } else {\n            rootEnd = 1;\n          }\n        } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n          device = path.slice(0, 2);\n          rootEnd = 2;\n          if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n            isAbsolute = true;\n            rootEnd = 3;\n          }\n        }\n        if (device.length > 0) {\n          if (resolvedDevice.length > 0) {\n            if (device.toLowerCase() !== resolvedDevice.toLowerCase()) {\n              continue;\n            }\n          } else {\n            resolvedDevice = device;\n          }\n        }\n        if (resolvedAbsolute) {\n          if (resolvedDevice.length > 0) {\n            break;\n          }\n        } else {\n          resolvedTail = `${path.slice(rootEnd)}\\\\${resolvedTail}`;\n          resolvedAbsolute = isAbsolute;\n          if (isAbsolute && resolvedDevice.length > 0) {\n            break;\n          }\n        }\n      }\n      resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, \"\\\\\", isPathSeparator);\n      return resolvedAbsolute ? `${resolvedDevice}\\\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = 0;\n      let device;\n      let isAbsolute = false;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPosixPathSeparator(code) ? \"\\\\\" : path;\n      }\n      if (isPathSeparator(code)) {\n        isAbsolute = true;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            const firstPart = path.slice(last, j);\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return `\\\\\\\\${firstPart}\\\\${path.slice(last)}\\\\`;\n              }\n              if (j !== last) {\n                device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                rootEnd = j;\n              }\n            }\n          }\n        } else {\n          rootEnd = 1;\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        device = path.slice(0, 2);\n        rootEnd = 2;\n        if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n          isAbsolute = true;\n          rootEnd = 3;\n        }\n      }\n      let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, \"\\\\\", isPathSeparator) : \"\";\n      if (tail.length === 0 && !isAbsolute) {\n        tail = \".\";\n      }\n      if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {\n        tail += \"\\\\\";\n      }\n      if (device === void 0) {\n        return isAbsolute ? `\\\\${tail}` : tail;\n      }\n      return isAbsolute ? `${device}\\\\${tail}` : `${device}${tail}`;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return false;\n      }\n      const code = path.charCodeAt(0);\n      return isPathSeparator(code) || // Possible device root\n      len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2));\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      let firstPart;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = firstPart = arg;\n          } else {\n            joined += `\\\\${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      let needsReplace = true;\n      let slashCount = 0;\n      if (typeof firstPart === \"string\" && isPathSeparator(firstPart.charCodeAt(0))) {\n        ++slashCount;\n        const firstLen = firstPart.length;\n        if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) {\n          ++slashCount;\n          if (firstLen > 2) {\n            if (isPathSeparator(firstPart.charCodeAt(2))) {\n              ++slashCount;\n            } else {\n              needsReplace = false;\n            }\n          }\n        }\n      }\n      if (needsReplace) {\n        while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) {\n          slashCount++;\n        }\n        if (slashCount >= 2) {\n          joined = `\\\\${joined.slice(slashCount)}`;\n        }\n      }\n      return win32.normalize(joined);\n    },\n    // It will solve the relative path from `from` to `to`, for instance:\n    //  from = 'C:\\\\orandea\\\\test\\\\aaa'\n    //  to = 'C:\\\\orandea\\\\impl\\\\bbb'\n    // The output of the function should be: '..\\\\..\\\\impl\\\\bbb'\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      const fromOrig = win32.resolve(from);\n      const toOrig = win32.resolve(to);\n      if (fromOrig === toOrig) {\n        return \"\";\n      }\n      from = fromOrig.toLowerCase();\n      to = toOrig.toLowerCase();\n      if (from === to) {\n        return \"\";\n      }\n      let fromStart = 0;\n      while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {\n        fromStart++;\n      }\n      let fromEnd = from.length;\n      while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) {\n        fromEnd--;\n      }\n      const fromLen = fromEnd - fromStart;\n      let toStart = 0;\n      while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        toStart++;\n      }\n      let toEnd = to.length;\n      while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) {\n        toEnd--;\n      }\n      const toLen = toEnd - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_BACKWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i !== length) {\n        if (lastCommonSep === -1) {\n          return toOrig;\n        }\n      } else {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {\n            return toOrig.slice(toStart + i + 1);\n          }\n          if (i === 2) {\n            return toOrig.slice(toStart + i);\n          }\n        }\n        if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 2) {\n            lastCommonSep = 3;\n          }\n        }\n        if (lastCommonSep === -1) {\n          lastCommonSep = 0;\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"\\\\..\";\n        }\n      }\n      toStart += lastCommonSep;\n      if (out.length > 0) {\n        return `${out}${toOrig.slice(toStart, toEnd)}`;\n      }\n      if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        ++toStart;\n      }\n      return toOrig.slice(toStart, toEnd);\n    },\n    toNamespacedPath(path) {\n      if (typeof path !== \"string\" || path.length === 0) {\n        return path;\n      }\n      const resolvedPath = win32.resolve(path);\n      if (resolvedPath.length <= 2) {\n        return path;\n      }\n      if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {\n        if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {\n          const code = resolvedPath.charCodeAt(2);\n          if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {\n            return `\\\\\\\\?\\\\UNC\\\\${resolvedPath.slice(2)}`;\n          }\n        }\n      } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n        return `\\\\\\\\?\\\\${resolvedPath}`;\n      }\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = -1;\n      let offset = 0;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPathSeparator(code) ? path : \".\";\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = offset = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return path;\n              }\n              if (j !== last) {\n                rootEnd = offset = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2;\n        offset = rootEnd;\n      }\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = len - 1; i >= offset; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        if (rootEnd === -1) {\n          return \".\";\n        }\n        end = rootEnd;\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) {\n        start = 2;\n      }\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= start; --i) {\n          const code = path.charCodeAt(i);\n          if (isPathSeparator(code)) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= start; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let start = 0;\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {\n        start = startPart = 2;\n      }\n      for (let i = path.length - 1; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"\\\\\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const len = path.length;\n      let rootEnd = 0;\n      let code = path.charCodeAt(0);\n      if (len === 1) {\n        if (isPathSeparator(code)) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        ret.base = ret.name = path;\n        return ret;\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                rootEnd = j;\n              } else if (j !== last) {\n                rootEnd = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        if (len <= 2) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        rootEnd = 2;\n        if (isPathSeparator(path.charCodeAt(2))) {\n          if (len === 3) {\n            ret.root = ret.dir = path;\n            return ret;\n          }\n          rootEnd = 3;\n        }\n      }\n      if (rootEnd > 0) {\n        ret.root = path.slice(0, rootEnd);\n      }\n      let startDot = -1;\n      let startPart = rootEnd;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= rootEnd; --i) {\n        code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(startPart, end);\n        } else {\n          ret.name = path.slice(startPart, startDot);\n          ret.base = path.slice(startPart, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0 && startPart !== rootEnd) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else {\n        ret.dir = ret.root;\n      }\n      return ret;\n    },\n    sep: \"\\\\\",\n    delimiter: \";\",\n    win32: null,\n    posix: null\n  };\n  var posixCwd = (() => {\n    if (platformIsWin32) {\n      const regexp = /\\\\/g;\n      return () => {\n        const cwd2 = cwd().replace(regexp, \"/\");\n        return cwd2.slice(cwd2.indexOf(\"/\"));\n      };\n    }\n    return () => cwd();\n  })();\n  var posix = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedPath = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n        const path = i >= 0 ? pathSegments[i] : posixCwd();\n        validateString(path, \"path\");\n        if (path.length === 0) {\n          continue;\n        }\n        resolvedPath = `${path}/${resolvedPath}`;\n        resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      }\n      resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\", isPosixPathSeparator);\n      if (resolvedAbsolute) {\n        return `/${resolvedPath}`;\n      }\n      return resolvedPath.length > 0 ? resolvedPath : \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH;\n      path = normalizeString(path, !isAbsolute, \"/\", isPosixPathSeparator);\n      if (path.length === 0) {\n        if (isAbsolute) {\n          return \"/\";\n        }\n        return trailingSeparator ? \"./\" : \".\";\n      }\n      if (trailingSeparator) {\n        path += \"/\";\n      }\n      return isAbsolute ? `/${path}` : path;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = arg;\n          } else {\n            joined += `/${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      return posix.normalize(joined);\n    },\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      from = posix.resolve(from);\n      to = posix.resolve(to);\n      if (from === to) {\n        return \"\";\n      }\n      const fromStart = 1;\n      const fromEnd = from.length;\n      const fromLen = fromEnd - fromStart;\n      const toStart = 1;\n      const toLen = to.length - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_FORWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i === length) {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) {\n            return to.slice(toStart + i + 1);\n          }\n          if (i === 0) {\n            return to.slice(toStart + i);\n          }\n        } else if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 0) {\n            lastCommonSep = 0;\n          }\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"/..\";\n        }\n      }\n      return `${out}${to.slice(toStart + lastCommonSep)}`;\n    },\n    toNamespacedPath(path) {\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = path.length - 1; i >= 1; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        return hasRoot ? \"/\" : \".\";\n      }\n      if (hasRoot && end === 1) {\n        return \"//\";\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= 0; --i) {\n          const code = path.charCodeAt(i);\n          if (code === CHAR_FORWARD_SLASH) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= 0; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      for (let i = path.length - 1; i >= 0; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"/\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let start;\n      if (isAbsolute) {\n        ret.root = \"/\";\n        start = 1;\n      } else {\n        start = 0;\n      }\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        const start2 = startPart === 0 && isAbsolute ? 1 : startPart;\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(start2, end);\n        } else {\n          ret.name = path.slice(start2, startDot);\n          ret.base = path.slice(start2, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else if (isAbsolute) {\n        ret.dir = \"/\";\n      }\n      return ret;\n    },\n    sep: \"/\",\n    delimiter: \":\",\n    win32: null,\n    posix: null\n  };\n  posix.win32 = win32.win32 = win32;\n  posix.posix = win32.posix = posix;\n  var normalize = platformIsWin32 ? win32.normalize : posix.normalize;\n  var resolve = platformIsWin32 ? win32.resolve : posix.resolve;\n  var relative = platformIsWin32 ? win32.relative : posix.relative;\n  var dirname = platformIsWin32 ? win32.dirname : posix.dirname;\n  var basename = platformIsWin32 ? win32.basename : posix.basename;\n  var extname = platformIsWin32 ? win32.extname : posix.extname;\n  var sep = platformIsWin32 ? win32.sep : posix.sep;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uri.js\n  var _schemePattern = /^\\w[\\w\\d+.-]*$/;\n  var _singleSlashStart = /^\\//;\n  var _doubleSlashStart = /^\\/\\//;\n  function _validateUri(ret, _strict) {\n    if (!ret.scheme && _strict) {\n      throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${ret.authority}\", path: \"${ret.path}\", query: \"${ret.query}\", fragment: \"${ret.fragment}\"}`);\n    }\n    if (ret.scheme && !_schemePattern.test(ret.scheme)) {\n      throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n    }\n    if (ret.path) {\n      if (ret.authority) {\n        if (!_singleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n        }\n      } else {\n        if (_doubleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n    }\n  }\n  function _schemeFix(scheme, _strict) {\n    if (!scheme && !_strict) {\n      return \"file\";\n    }\n    return scheme;\n  }\n  function _referenceResolution(scheme, path) {\n    switch (scheme) {\n      case \"https\":\n      case \"http\":\n      case \"file\":\n        if (!path) {\n          path = _slash;\n        } else if (path[0] !== _slash) {\n          path = _slash + path;\n        }\n        break;\n    }\n    return path;\n  }\n  var _empty = \"\";\n  var _slash = \"/\";\n  var _regexp = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;\n  var URI = class _URI {\n    static isUri(thing) {\n      if (thing instanceof _URI) {\n        return true;\n      }\n      if (!thing) {\n        return false;\n      }\n      return typeof thing.authority === \"string\" && typeof thing.fragment === \"string\" && typeof thing.path === \"string\" && typeof thing.query === \"string\" && typeof thing.scheme === \"string\" && typeof thing.fsPath === \"string\" && typeof thing.with === \"function\" && typeof thing.toString === \"function\";\n    }\n    /**\n     * @internal\n     */\n    constructor(schemeOrData, authority, path, query, fragment, _strict = false) {\n      if (typeof schemeOrData === \"object\") {\n        this.scheme = schemeOrData.scheme || _empty;\n        this.authority = schemeOrData.authority || _empty;\n        this.path = schemeOrData.path || _empty;\n        this.query = schemeOrData.query || _empty;\n        this.fragment = schemeOrData.fragment || _empty;\n      } else {\n        this.scheme = _schemeFix(schemeOrData, _strict);\n        this.authority = authority || _empty;\n        this.path = _referenceResolution(this.scheme, path || _empty);\n        this.query = query || _empty;\n        this.fragment = fragment || _empty;\n        _validateUri(this, _strict);\n      }\n    }\n    // ---- filesystem path -----------------------\n    /**\n     * Returns a string representing the corresponding file system path of this URI.\n     * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the\n     * platform specific path separator.\n     *\n     * * Will *not* validate the path for invalid characters and semantics.\n     * * Will *not* look at the scheme of this URI.\n     * * The result shall *not* be used for display purposes but for accessing a file on disk.\n     *\n     *\n     * The *difference* to `URI#path` is the use of the platform specific separator and the handling\n     * of UNC paths. See the below sample of a file-uri with an authority (UNC path).\n     *\n     * ```ts\n        const u = URI.parse('file://server/c$/folder/file.txt')\n        u.authority === 'server'\n        u.path === '/shares/c$/file.txt'\n        u.fsPath === '\\\\server\\c$\\folder\\file.txt'\n    ```\n     *\n     * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path,\n     * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working\n     * with URIs that represent files on disk (`file` scheme).\n     */\n    get fsPath() {\n      return uriToFsPath(this, false);\n    }\n    // ---- modify to new -------------------------\n    with(change) {\n      if (!change) {\n        return this;\n      }\n      let { scheme, authority, path, query, fragment } = change;\n      if (scheme === void 0) {\n        scheme = this.scheme;\n      } else if (scheme === null) {\n        scheme = _empty;\n      }\n      if (authority === void 0) {\n        authority = this.authority;\n      } else if (authority === null) {\n        authority = _empty;\n      }\n      if (path === void 0) {\n        path = this.path;\n      } else if (path === null) {\n        path = _empty;\n      }\n      if (query === void 0) {\n        query = this.query;\n      } else if (query === null) {\n        query = _empty;\n      }\n      if (fragment === void 0) {\n        fragment = this.fragment;\n      } else if (fragment === null) {\n        fragment = _empty;\n      }\n      if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) {\n        return this;\n      }\n      return new Uri(scheme, authority, path, query, fragment);\n    }\n    // ---- parse & validate ------------------------\n    /**\n     * Creates a new URI from a string, e.g. `http://www.example.com/some/path`,\n     * `file:///usr/home`, or `scheme:with/path`.\n     *\n     * @param value A string which represents an URI (see `URI#toString`).\n     */\n    static parse(value, _strict = false) {\n      const match = _regexp.exec(value);\n      if (!match) {\n        return new Uri(_empty, _empty, _empty, _empty, _empty);\n      }\n      return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict);\n    }\n    /**\n     * Creates a new URI from a file system path, e.g. `c:\\my\\files`,\n     * `/usr/home`, or `\\\\server\\share\\some\\path`.\n     *\n     * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument\n     * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as**\n     * `URI.parse('file://' + path)` because the path might contain characters that are\n     * interpreted (# and ?). See the following sample:\n     * ```ts\n    const good = URI.file('/coding/c#/project1');\n    good.scheme === 'file';\n    good.path === '/coding/c#/project1';\n    good.fragment === '';\n    const bad = URI.parse('file://' + '/coding/c#/project1');\n    bad.scheme === 'file';\n    bad.path === '/coding/c'; // path is now broken\n    bad.fragment === '/project1';\n    ```\n     *\n     * @param path A file system path (see `URI#fsPath`)\n     */\n    static file(path) {\n      let authority = _empty;\n      if (isWindows) {\n        path = path.replace(/\\\\/g, _slash);\n      }\n      if (path[0] === _slash && path[1] === _slash) {\n        const idx = path.indexOf(_slash, 2);\n        if (idx === -1) {\n          authority = path.substring(2);\n          path = _slash;\n        } else {\n          authority = path.substring(2, idx);\n          path = path.substring(idx) || _slash;\n        }\n      }\n      return new Uri(\"file\", authority, path, _empty, _empty);\n    }\n    /**\n     * Creates new URI from uri components.\n     *\n     * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs\n     * validation and should be used for untrusted uri components retrieved from storage,\n     * user input, command arguments etc\n     */\n    static from(components, strict) {\n      const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict);\n      return result;\n    }\n    /**\n     * Join a URI path with path fragments and normalizes the resulting path.\n     *\n     * @param uri The input URI.\n     * @param pathFragment The path fragment to add to the URI path.\n     * @returns The resulting URI.\n     */\n    static joinPath(uri, ...pathFragment) {\n      if (!uri.path) {\n        throw new Error(`[UriError]: cannot call joinPath on URI without path`);\n      }\n      let newPath;\n      if (isWindows && uri.scheme === \"file\") {\n        newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path;\n      } else {\n        newPath = posix.join(uri.path, ...pathFragment);\n      }\n      return uri.with({ path: newPath });\n    }\n    // ---- printing/externalize ---------------------------\n    /**\n     * Creates a string representation for this URI. It's guaranteed that calling\n     * `URI.parse` with the result of this function creates an URI which is equal\n     * to this URI.\n     *\n     * * The result shall *not* be used for display purposes but for externalization or transport.\n     * * The result will be encoded using the percentage encoding and encoding happens mostly\n     * ignore the scheme-specific encoding rules.\n     *\n     * @param skipEncoding Do not encode the result, default is `false`\n     */\n    toString(skipEncoding = false) {\n      return _asFormatted(this, skipEncoding);\n    }\n    toJSON() {\n      return this;\n    }\n    static revive(data) {\n      var _a5, _b3;\n      if (!data) {\n        return data;\n      } else if (data instanceof _URI) {\n        return data;\n      } else {\n        const result = new Uri(data);\n        result._formatted = (_a5 = data.external) !== null && _a5 !== void 0 ? _a5 : null;\n        result._fsPath = data._sep === _pathSepMarker ? (_b3 = data.fsPath) !== null && _b3 !== void 0 ? _b3 : null : null;\n        return result;\n      }\n    }\n  };\n  var _pathSepMarker = isWindows ? 1 : void 0;\n  var Uri = class extends URI {\n    constructor() {\n      super(...arguments);\n      this._formatted = null;\n      this._fsPath = null;\n    }\n    get fsPath() {\n      if (!this._fsPath) {\n        this._fsPath = uriToFsPath(this, false);\n      }\n      return this._fsPath;\n    }\n    toString(skipEncoding = false) {\n      if (!skipEncoding) {\n        if (!this._formatted) {\n          this._formatted = _asFormatted(this, false);\n        }\n        return this._formatted;\n      } else {\n        return _asFormatted(this, true);\n      }\n    }\n    toJSON() {\n      const res = {\n        $mid: 1\n        /* MarshalledId.Uri */\n      };\n      if (this._fsPath) {\n        res.fsPath = this._fsPath;\n        res._sep = _pathSepMarker;\n      }\n      if (this._formatted) {\n        res.external = this._formatted;\n      }\n      if (this.path) {\n        res.path = this.path;\n      }\n      if (this.scheme) {\n        res.scheme = this.scheme;\n      }\n      if (this.authority) {\n        res.authority = this.authority;\n      }\n      if (this.query) {\n        res.query = this.query;\n      }\n      if (this.fragment) {\n        res.fragment = this.fragment;\n      }\n      return res;\n    }\n  };\n  var encodeTable = {\n    [\n      58\n      /* CharCode.Colon */\n    ]: \"%3A\",\n    // gen-delims\n    [\n      47\n      /* CharCode.Slash */\n    ]: \"%2F\",\n    [\n      63\n      /* CharCode.QuestionMark */\n    ]: \"%3F\",\n    [\n      35\n      /* CharCode.Hash */\n    ]: \"%23\",\n    [\n      91\n      /* CharCode.OpenSquareBracket */\n    ]: \"%5B\",\n    [\n      93\n      /* CharCode.CloseSquareBracket */\n    ]: \"%5D\",\n    [\n      64\n      /* CharCode.AtSign */\n    ]: \"%40\",\n    [\n      33\n      /* CharCode.ExclamationMark */\n    ]: \"%21\",\n    // sub-delims\n    [\n      36\n      /* CharCode.DollarSign */\n    ]: \"%24\",\n    [\n      38\n      /* CharCode.Ampersand */\n    ]: \"%26\",\n    [\n      39\n      /* CharCode.SingleQuote */\n    ]: \"%27\",\n    [\n      40\n      /* CharCode.OpenParen */\n    ]: \"%28\",\n    [\n      41\n      /* CharCode.CloseParen */\n    ]: \"%29\",\n    [\n      42\n      /* CharCode.Asterisk */\n    ]: \"%2A\",\n    [\n      43\n      /* CharCode.Plus */\n    ]: \"%2B\",\n    [\n      44\n      /* CharCode.Comma */\n    ]: \"%2C\",\n    [\n      59\n      /* CharCode.Semicolon */\n    ]: \"%3B\",\n    [\n      61\n      /* CharCode.Equals */\n    ]: \"%3D\",\n    [\n      32\n      /* CharCode.Space */\n    ]: \"%20\"\n  };\n  function encodeURIComponentFast(uriComponent, isPath, isAuthority) {\n    let res = void 0;\n    let nativeEncodePos = -1;\n    for (let pos = 0; pos < uriComponent.length; pos++) {\n      const code = uriComponent.charCodeAt(pos);\n      if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) {\n        if (nativeEncodePos !== -1) {\n          res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n          nativeEncodePos = -1;\n        }\n        if (res !== void 0) {\n          res += uriComponent.charAt(pos);\n        }\n      } else {\n        if (res === void 0) {\n          res = uriComponent.substr(0, pos);\n        }\n        const escaped = encodeTable[code];\n        if (escaped !== void 0) {\n          if (nativeEncodePos !== -1) {\n            res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n            nativeEncodePos = -1;\n          }\n          res += escaped;\n        } else if (nativeEncodePos === -1) {\n          nativeEncodePos = pos;\n        }\n      }\n    }\n    if (nativeEncodePos !== -1) {\n      res += encodeURIComponent(uriComponent.substring(nativeEncodePos));\n    }\n    return res !== void 0 ? res : uriComponent;\n  }\n  function encodeURIComponentMinimal(path) {\n    let res = void 0;\n    for (let pos = 0; pos < path.length; pos++) {\n      const code = path.charCodeAt(pos);\n      if (code === 35 || code === 63) {\n        if (res === void 0) {\n          res = path.substr(0, pos);\n        }\n        res += encodeTable[code];\n      } else {\n        if (res !== void 0) {\n          res += path[pos];\n        }\n      }\n    }\n    return res !== void 0 ? res : path;\n  }\n  function uriToFsPath(uri, keepDriveLetterCasing) {\n    let value;\n    if (uri.authority && uri.path.length > 1 && uri.scheme === \"file\") {\n      value = `//${uri.authority}${uri.path}`;\n    } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) {\n      if (!keepDriveLetterCasing) {\n        value = uri.path[1].toLowerCase() + uri.path.substr(2);\n      } else {\n        value = uri.path.substr(1);\n      }\n    } else {\n      value = uri.path;\n    }\n    if (isWindows) {\n      value = value.replace(/\\//g, \"\\\\\");\n    }\n    return value;\n  }\n  function _asFormatted(uri, skipEncoding) {\n    const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal;\n    let res = \"\";\n    let { scheme, authority, path, query, fragment } = uri;\n    if (scheme) {\n      res += scheme;\n      res += \":\";\n    }\n    if (authority || scheme === \"file\") {\n      res += _slash;\n      res += _slash;\n    }\n    if (authority) {\n      let idx = authority.indexOf(\"@\");\n      if (idx !== -1) {\n        const userinfo = authority.substr(0, idx);\n        authority = authority.substr(idx + 1);\n        idx = userinfo.lastIndexOf(\":\");\n        if (idx === -1) {\n          res += encoder(userinfo, false, false);\n        } else {\n          res += encoder(userinfo.substr(0, idx), false, false);\n          res += \":\";\n          res += encoder(userinfo.substr(idx + 1), false, true);\n        }\n        res += \"@\";\n      }\n      authority = authority.toLowerCase();\n      idx = authority.lastIndexOf(\":\");\n      if (idx === -1) {\n        res += encoder(authority, false, true);\n      } else {\n        res += encoder(authority.substr(0, idx), false, true);\n        res += authority.substr(idx);\n      }\n    }\n    if (path) {\n      if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {\n        const code = path.charCodeAt(1);\n        if (code >= 65 && code <= 90) {\n          path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;\n        }\n      } else if (path.length >= 2 && path.charCodeAt(1) === 58) {\n        const code = path.charCodeAt(0);\n        if (code >= 65 && code <= 90) {\n          path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;\n        }\n      }\n      res += encoder(path, true, false);\n    }\n    if (query) {\n      res += \"?\";\n      res += encoder(query, false, false);\n    }\n    if (fragment) {\n      res += \"#\";\n      res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment;\n    }\n    return res;\n  }\n  function decodeURIComponentGraceful(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (_a5) {\n      if (str.length > 3) {\n        return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3));\n      } else {\n        return str;\n      }\n    }\n  }\n  var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n  function percentDecode(str) {\n    if (!str.match(_rEncodedAsHex)) {\n      return str;\n    }\n    return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/position.js\n  var Position = class _Position {\n    constructor(lineNumber, column) {\n      this.lineNumber = lineNumber;\n      this.column = column;\n    }\n    /**\n     * Create a new position from this position.\n     *\n     * @param newLineNumber new line number\n     * @param newColumn new column\n     */\n    with(newLineNumber = this.lineNumber, newColumn = this.column) {\n      if (newLineNumber === this.lineNumber && newColumn === this.column) {\n        return this;\n      } else {\n        return new _Position(newLineNumber, newColumn);\n      }\n    }\n    /**\n     * Derive a new position from this position.\n     *\n     * @param deltaLineNumber line number delta\n     * @param deltaColumn column delta\n     */\n    delta(deltaLineNumber = 0, deltaColumn = 0) {\n      return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\n    }\n    /**\n     * Test if this position equals other position\n     */\n    equals(other) {\n      return _Position.equals(this, other);\n    }\n    /**\n     * Test if position `a` equals position `b`\n     */\n    static equals(a, b) {\n      if (!a && !b) {\n        return true;\n      }\n      return !!a && !!b && a.lineNumber === b.lineNumber && a.column === b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be false.\n     */\n    isBefore(other) {\n      return _Position.isBefore(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be false.\n     */\n    static isBefore(a, b) {\n      if (a.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a.lineNumber) {\n        return false;\n      }\n      return a.column < b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be true.\n     */\n    isBeforeOrEqual(other) {\n      return _Position.isBeforeOrEqual(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be true.\n     */\n    static isBeforeOrEqual(a, b) {\n      if (a.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a.lineNumber) {\n        return false;\n      }\n      return a.column <= b.column;\n    }\n    /**\n     * A function that compares positions, useful for sorting\n     */\n    static compare(a, b) {\n      const aLineNumber = a.lineNumber | 0;\n      const bLineNumber = b.lineNumber | 0;\n      if (aLineNumber === bLineNumber) {\n        const aColumn = a.column | 0;\n        const bColumn = b.column | 0;\n        return aColumn - bColumn;\n      }\n      return aLineNumber - bLineNumber;\n    }\n    /**\n     * Clone this position.\n     */\n    clone() {\n      return new _Position(this.lineNumber, this.column);\n    }\n    /**\n     * Convert to a human-readable representation.\n     */\n    toString() {\n      return \"(\" + this.lineNumber + \",\" + this.column + \")\";\n    }\n    // ---\n    /**\n     * Create a `Position` from an `IPosition`.\n     */\n    static lift(pos) {\n      return new _Position(pos.lineNumber, pos.column);\n    }\n    /**\n     * Test if `obj` is an `IPosition`.\n     */\n    static isIPosition(obj) {\n      return obj && typeof obj.lineNumber === \"number\" && typeof obj.column === \"number\";\n    }\n    toJSON() {\n      return {\n        lineNumber: this.lineNumber,\n        column: this.column\n      };\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/range.js\n  var Range = class _Range {\n    constructor(startLineNumber, startColumn, endLineNumber, endColumn) {\n      if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {\n        this.startLineNumber = endLineNumber;\n        this.startColumn = endColumn;\n        this.endLineNumber = startLineNumber;\n        this.endColumn = startColumn;\n      } else {\n        this.startLineNumber = startLineNumber;\n        this.startColumn = startColumn;\n        this.endLineNumber = endLineNumber;\n        this.endColumn = endColumn;\n      }\n    }\n    /**\n     * Test if this range is empty.\n     */\n    isEmpty() {\n      return _Range.isEmpty(this);\n    }\n    /**\n     * Test if `range` is empty.\n     */\n    static isEmpty(range) {\n      return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn;\n    }\n    /**\n     * Test if position is in this range. If the position is at the edges, will return true.\n     */\n    containsPosition(position) {\n      return _Range.containsPosition(this, position);\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return true.\n     */\n    static containsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return false.\n     * @internal\n     */\n    static strictContainsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column <= range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if range is in this range. If the range is equal to this range, will return true.\n     */\n    containsRange(range) {\n      return _Range.containsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is in `range`. If the ranges are equal, will return true.\n     */\n    static containsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.\n     */\n    strictContainsRange(range) {\n      return _Range.strictContainsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false.\n     */\n    static strictContainsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    plusRange(range) {\n      return _Range.plusRange(this, range);\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    static plusRange(a, b) {\n      let startLineNumber;\n      let startColumn;\n      let endLineNumber;\n      let endColumn;\n      if (b.startLineNumber < a.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = b.startColumn;\n      } else if (b.startLineNumber === a.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = Math.min(b.startColumn, a.startColumn);\n      } else {\n        startLineNumber = a.startLineNumber;\n        startColumn = a.startColumn;\n      }\n      if (b.endLineNumber > a.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = b.endColumn;\n      } else if (b.endLineNumber === a.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = Math.max(b.endColumn, a.endColumn);\n      } else {\n        endLineNumber = a.endLineNumber;\n        endColumn = a.endColumn;\n      }\n      return new _Range(startLineNumber, startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    intersectRanges(range) {\n      return _Range.intersectRanges(this, range);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    static intersectRanges(a, b) {\n      let resultStartLineNumber = a.startLineNumber;\n      let resultStartColumn = a.startColumn;\n      let resultEndLineNumber = a.endLineNumber;\n      let resultEndColumn = a.endColumn;\n      const otherStartLineNumber = b.startLineNumber;\n      const otherStartColumn = b.startColumn;\n      const otherEndLineNumber = b.endLineNumber;\n      const otherEndColumn = b.endColumn;\n      if (resultStartLineNumber < otherStartLineNumber) {\n        resultStartLineNumber = otherStartLineNumber;\n        resultStartColumn = otherStartColumn;\n      } else if (resultStartLineNumber === otherStartLineNumber) {\n        resultStartColumn = Math.max(resultStartColumn, otherStartColumn);\n      }\n      if (resultEndLineNumber > otherEndLineNumber) {\n        resultEndLineNumber = otherEndLineNumber;\n        resultEndColumn = otherEndColumn;\n      } else if (resultEndLineNumber === otherEndLineNumber) {\n        resultEndColumn = Math.min(resultEndColumn, otherEndColumn);\n      }\n      if (resultStartLineNumber > resultEndLineNumber) {\n        return null;\n      }\n      if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) {\n        return null;\n      }\n      return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn);\n    }\n    /**\n     * Test if this range equals other.\n     */\n    equalsRange(other) {\n      return _Range.equalsRange(this, other);\n    }\n    /**\n     * Test if range `a` equals `b`.\n     */\n    static equalsRange(a, b) {\n      if (!a && !b) {\n        return true;\n      }\n      return !!a && !!b && a.startLineNumber === b.startLineNumber && a.startColumn === b.startColumn && a.endLineNumber === b.endLineNumber && a.endColumn === b.endColumn;\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    getEndPosition() {\n      return _Range.getEndPosition(this);\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    static getEndPosition(range) {\n      return new Position(range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    getStartPosition() {\n      return _Range.getStartPosition(this);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    static getStartPosition(range) {\n      return new Position(range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Transform to a user presentable string representation.\n     */\n    toString() {\n      return \"[\" + this.startLineNumber + \",\" + this.startColumn + \" -> \" + this.endLineNumber + \",\" + this.endColumn + \"]\";\n    }\n    /**\n     * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    collapseToStart() {\n      return _Range.collapseToStart(this);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    static collapseToStart(range) {\n      return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    collapseToEnd() {\n      return _Range.collapseToEnd(this);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    static collapseToEnd(range) {\n      return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Moves the range by the given amount of lines.\n     */\n    delta(lineCount) {\n      return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn);\n    }\n    // ---\n    static fromPositions(start, end = start) {\n      return new _Range(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    static lift(range) {\n      if (!range) {\n        return null;\n      }\n      return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Test if `obj` is an `IRange`.\n     */\n    static isIRange(obj) {\n      return obj && typeof obj.startLineNumber === \"number\" && typeof obj.startColumn === \"number\" && typeof obj.endLineNumber === \"number\" && typeof obj.endColumn === \"number\";\n    }\n    /**\n     * Test if the two ranges are touching in any way.\n     */\n    static areIntersectingOrTouching(a, b) {\n      if (a.endLineNumber < b.startLineNumber || a.endLineNumber === b.startLineNumber && a.endColumn < b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a.startLineNumber || b.endLineNumber === a.startLineNumber && b.endColumn < a.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if the two ranges are intersecting. If the ranges are touching it returns true.\n     */\n    static areIntersecting(a, b) {\n      if (a.endLineNumber < b.startLineNumber || a.endLineNumber === b.startLineNumber && a.endColumn <= b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a.startLineNumber || b.endLineNumber === a.startLineNumber && b.endColumn <= a.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the startPosition and then on the endPosition\n     */\n    static compareRangesUsingStarts(a, b) {\n      if (a && b) {\n        const aStartLineNumber = a.startLineNumber | 0;\n        const bStartLineNumber = b.startLineNumber | 0;\n        if (aStartLineNumber === bStartLineNumber) {\n          const aStartColumn = a.startColumn | 0;\n          const bStartColumn = b.startColumn | 0;\n          if (aStartColumn === bStartColumn) {\n            const aEndLineNumber = a.endLineNumber | 0;\n            const bEndLineNumber = b.endLineNumber | 0;\n            if (aEndLineNumber === bEndLineNumber) {\n              const aEndColumn = a.endColumn | 0;\n              const bEndColumn = b.endColumn | 0;\n              return aEndColumn - bEndColumn;\n            }\n            return aEndLineNumber - bEndLineNumber;\n          }\n          return aStartColumn - bStartColumn;\n        }\n        return aStartLineNumber - bStartLineNumber;\n      }\n      const aExists = a ? 1 : 0;\n      const bExists = b ? 1 : 0;\n      return aExists - bExists;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the endPosition and then on the startPosition\n     */\n    static compareRangesUsingEnds(a, b) {\n      if (a.endLineNumber === b.endLineNumber) {\n        if (a.endColumn === b.endColumn) {\n          if (a.startLineNumber === b.startLineNumber) {\n            return a.startColumn - b.startColumn;\n          }\n          return a.startLineNumber - b.startLineNumber;\n        }\n        return a.endColumn - b.endColumn;\n      }\n      return a.endLineNumber - b.endLineNumber;\n    }\n    /**\n     * Test if the range spans multiple lines.\n     */\n    static spansMultipleLines(range) {\n      return range.endLineNumber > range.startLineNumber;\n    }\n    toJSON() {\n      return this;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arrays.js\n  function equals(one, other, itemEquals = (a, b) => a === b) {\n    if (one === other) {\n      return true;\n    }\n    if (!one || !other) {\n      return false;\n    }\n    if (one.length !== other.length) {\n      return false;\n    }\n    for (let i = 0, len = one.length; i < len; i++) {\n      if (!itemEquals(one[i], other[i])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function* groupAdjacentBy(items, shouldBeGrouped) {\n    let currentGroup;\n    let last;\n    for (const item of items) {\n      if (last !== void 0 && shouldBeGrouped(last, item)) {\n        currentGroup.push(item);\n      } else {\n        if (currentGroup) {\n          yield currentGroup;\n        }\n        currentGroup = [item];\n      }\n      last = item;\n    }\n    if (currentGroup) {\n      yield currentGroup;\n    }\n  }\n  function forEachAdjacent(arr, f) {\n    for (let i = 0; i <= arr.length; i++) {\n      f(i === 0 ? void 0 : arr[i - 1], i === arr.length ? void 0 : arr[i]);\n    }\n  }\n  function forEachWithNeighbors(arr, f) {\n    for (let i = 0; i < arr.length; i++) {\n      f(i === 0 ? void 0 : arr[i - 1], arr[i], i + 1 === arr.length ? void 0 : arr[i + 1]);\n    }\n  }\n  function pushMany(arr, items) {\n    for (const item of items) {\n      arr.push(item);\n    }\n  }\n  var CompareResult;\n  (function(CompareResult2) {\n    function isLessThan(result) {\n      return result < 0;\n    }\n    CompareResult2.isLessThan = isLessThan;\n    function isLessThanOrEqual(result) {\n      return result <= 0;\n    }\n    CompareResult2.isLessThanOrEqual = isLessThanOrEqual;\n    function isGreaterThan(result) {\n      return result > 0;\n    }\n    CompareResult2.isGreaterThan = isGreaterThan;\n    function isNeitherLessOrGreaterThan(result) {\n      return result === 0;\n    }\n    CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan;\n    CompareResult2.greaterThan = 1;\n    CompareResult2.lessThan = -1;\n    CompareResult2.neitherLessOrGreaterThan = 0;\n  })(CompareResult || (CompareResult = {}));\n  function compareBy(selector, comparator) {\n    return (a, b) => comparator(selector(a), selector(b));\n  }\n  var numberComparator = (a, b) => a - b;\n  function reverseOrder(comparator) {\n    return (a, b) => -comparator(a, b);\n  }\n  var CallbackIterable = class _CallbackIterable {\n    constructor(iterate) {\n      this.iterate = iterate;\n    }\n    toArray() {\n      const result = [];\n      this.iterate((item) => {\n        result.push(item);\n        return true;\n      });\n      return result;\n    }\n    filter(predicate) {\n      return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true));\n    }\n    map(mapFn) {\n      return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item))));\n    }\n    findLast(predicate) {\n      let result;\n      this.iterate((item) => {\n        if (predicate(item)) {\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n    findLastMaxBy(comparator) {\n      let result;\n      let first = true;\n      this.iterate((item) => {\n        if (first || CompareResult.isGreaterThan(comparator(item, result))) {\n          first = false;\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n  };\n  CallbackIterable.empty = new CallbackIterable((_callback) => {\n  });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uint.js\n  function toUint8(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 255) {\n      return 255;\n    }\n    return v | 0;\n  }\n  function toUint32(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 4294967295) {\n      return 4294967295;\n    }\n    return v | 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js\n  var PrefixSumComputer = class {\n    constructor(values) {\n      this.values = values;\n      this.prefixSum = new Uint32Array(values.length);\n      this.prefixSumValidIndex = new Int32Array(1);\n      this.prefixSumValidIndex[0] = -1;\n    }\n    insertValues(insertIndex, insertValues) {\n      insertIndex = toUint32(insertIndex);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      const insertValuesLen = insertValues.length;\n      if (insertValuesLen === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length + insertValuesLen);\n      this.values.set(oldValues.subarray(0, insertIndex), 0);\n      this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen);\n      this.values.set(insertValues, insertIndex);\n      if (insertIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = insertIndex - 1;\n      }\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    setValue(index, value) {\n      index = toUint32(index);\n      value = toUint32(value);\n      if (this.values[index] === value) {\n        return false;\n      }\n      this.values[index] = value;\n      if (index - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = index - 1;\n      }\n      return true;\n    }\n    removeValues(startIndex, count) {\n      startIndex = toUint32(startIndex);\n      count = toUint32(count);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      if (startIndex >= oldValues.length) {\n        return false;\n      }\n      const maxCount = oldValues.length - startIndex;\n      if (count >= maxCount) {\n        count = maxCount;\n      }\n      if (count === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length - count);\n      this.values.set(oldValues.subarray(0, startIndex), 0);\n      this.values.set(oldValues.subarray(startIndex + count), startIndex);\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (startIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = startIndex - 1;\n      }\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    getTotalSum() {\n      if (this.values.length === 0) {\n        return 0;\n      }\n      return this._getPrefixSum(this.values.length - 1);\n    }\n    /**\n     * Returns the sum of the first `index + 1` many items.\n     * @returns `SUM(0 <= j <= index, values[j])`.\n     */\n    getPrefixSum(index) {\n      if (index < 0) {\n        return 0;\n      }\n      index = toUint32(index);\n      return this._getPrefixSum(index);\n    }\n    _getPrefixSum(index) {\n      if (index <= this.prefixSumValidIndex[0]) {\n        return this.prefixSum[index];\n      }\n      let startIndex = this.prefixSumValidIndex[0] + 1;\n      if (startIndex === 0) {\n        this.prefixSum[0] = this.values[0];\n        startIndex++;\n      }\n      if (index >= this.values.length) {\n        index = this.values.length - 1;\n      }\n      for (let i = startIndex; i <= index; i++) {\n        this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i];\n      }\n      this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index);\n      return this.prefixSum[index];\n    }\n    getIndexOf(sum) {\n      sum = Math.floor(sum);\n      this.getTotalSum();\n      let low = 0;\n      let high = this.values.length - 1;\n      let mid = 0;\n      let midStop = 0;\n      let midStart = 0;\n      while (low <= high) {\n        mid = low + (high - low) / 2 | 0;\n        midStop = this.prefixSum[mid];\n        midStart = midStop - this.values[mid];\n        if (sum < midStart) {\n          high = mid - 1;\n        } else if (sum >= midStop) {\n          low = mid + 1;\n        } else {\n          break;\n        }\n      }\n      return new PrefixSumIndexOfResult(mid, sum - midStart);\n    }\n  };\n  var PrefixSumIndexOfResult = class {\n    constructor(index, remainder) {\n      this.index = index;\n      this.remainder = remainder;\n      this._prefixSumIndexOfResultBrand = void 0;\n      this.index = index;\n      this.remainder = remainder;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js\n  var MirrorTextModel = class {\n    constructor(uri, lines, eol, versionId) {\n      this._uri = uri;\n      this._lines = lines;\n      this._eol = eol;\n      this._versionId = versionId;\n      this._lineStarts = null;\n      this._cachedTextValue = null;\n    }\n    dispose() {\n      this._lines.length = 0;\n    }\n    get version() {\n      return this._versionId;\n    }\n    getText() {\n      if (this._cachedTextValue === null) {\n        this._cachedTextValue = this._lines.join(this._eol);\n      }\n      return this._cachedTextValue;\n    }\n    onEvents(e) {\n      if (e.eol && e.eol !== this._eol) {\n        this._eol = e.eol;\n        this._lineStarts = null;\n      }\n      const changes = e.changes;\n      for (const change of changes) {\n        this._acceptDeleteRange(change.range);\n        this._acceptInsertText(new Position(change.range.startLineNumber, change.range.startColumn), change.text);\n      }\n      this._versionId = e.versionId;\n      this._cachedTextValue = null;\n    }\n    _ensureLineStarts() {\n      if (!this._lineStarts) {\n        const eolLength = this._eol.length;\n        const linesLength = this._lines.length;\n        const lineStartValues = new Uint32Array(linesLength);\n        for (let i = 0; i < linesLength; i++) {\n          lineStartValues[i] = this._lines[i].length + eolLength;\n        }\n        this._lineStarts = new PrefixSumComputer(lineStartValues);\n      }\n    }\n    /**\n     * All changes to a line's text go through this method\n     */\n    _setLineText(lineIndex, newValue) {\n      this._lines[lineIndex] = newValue;\n      if (this._lineStarts) {\n        this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length);\n      }\n    }\n    _acceptDeleteRange(range) {\n      if (range.startLineNumber === range.endLineNumber) {\n        if (range.startColumn === range.endColumn) {\n          return;\n        }\n        this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1));\n        return;\n      }\n      this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1));\n      this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      if (this._lineStarts) {\n        this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      }\n    }\n    _acceptInsertText(position, insertText) {\n      if (insertText.length === 0) {\n        return;\n      }\n      const insertLines = splitLines(insertText);\n      if (insertLines.length === 1) {\n        this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0] + this._lines[position.lineNumber - 1].substring(position.column - 1));\n        return;\n      }\n      insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1);\n      this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0]);\n      const newLengths = new Uint32Array(insertLines.length - 1);\n      for (let i = 1; i < insertLines.length; i++) {\n        this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]);\n        newLengths[i - 1] = insertLines[i].length + this._eol.length;\n      }\n      if (this._lineStarts) {\n        this._lineStarts.insertValues(position.lineNumber, newLengths);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js\n  var USUAL_WORD_SEPARATORS = \"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";\n  function createWordRegExp(allowInWords = \"\") {\n    let source = \"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";\n    for (const sep2 of USUAL_WORD_SEPARATORS) {\n      if (allowInWords.indexOf(sep2) >= 0) {\n        continue;\n      }\n      source += \"\\\\\" + sep2;\n    }\n    source += \"\\\\s]+)\";\n    return new RegExp(source, \"g\");\n  }\n  var DEFAULT_WORD_REGEXP = createWordRegExp();\n  function ensureValidWordDefinition(wordDefinition) {\n    let result = DEFAULT_WORD_REGEXP;\n    if (wordDefinition && wordDefinition instanceof RegExp) {\n      if (!wordDefinition.global) {\n        let flags = \"g\";\n        if (wordDefinition.ignoreCase) {\n          flags += \"i\";\n        }\n        if (wordDefinition.multiline) {\n          flags += \"m\";\n        }\n        if (wordDefinition.unicode) {\n          flags += \"u\";\n        }\n        result = new RegExp(wordDefinition.source, flags);\n      } else {\n        result = wordDefinition;\n      }\n    }\n    result.lastIndex = 0;\n    return result;\n  }\n  var _defaultConfig = new LinkedList();\n  _defaultConfig.unshift({\n    maxLen: 1e3,\n    windowSize: 15,\n    timeBudget: 150\n  });\n  function getWordAtText(column, wordDefinition, text, textOffset, config) {\n    wordDefinition = ensureValidWordDefinition(wordDefinition);\n    if (!config) {\n      config = Iterable.first(_defaultConfig);\n    }\n    if (text.length > config.maxLen) {\n      let start = column - config.maxLen / 2;\n      if (start < 0) {\n        start = 0;\n      } else {\n        textOffset += start;\n      }\n      text = text.substring(start, column + config.maxLen / 2);\n      return getWordAtText(column, wordDefinition, text, textOffset, config);\n    }\n    const t1 = Date.now();\n    const pos = column - 1 - textOffset;\n    let prevRegexIndex = -1;\n    let match = null;\n    for (let i = 1; ; i++) {\n      if (Date.now() - t1 >= config.timeBudget) {\n        break;\n      }\n      const regexIndex = pos - config.windowSize * i;\n      wordDefinition.lastIndex = Math.max(0, regexIndex);\n      const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex);\n      if (!thisMatch && match) {\n        break;\n      }\n      match = thisMatch;\n      if (regexIndex <= 0) {\n        break;\n      }\n      prevRegexIndex = regexIndex;\n    }\n    if (match) {\n      const result = {\n        word: match[0],\n        startColumn: textOffset + 1 + match.index,\n        endColumn: textOffset + 1 + match.index + match[0].length\n      };\n      wordDefinition.lastIndex = 0;\n      return result;\n    }\n    return null;\n  }\n  function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {\n    let match;\n    while (match = wordDefinition.exec(text)) {\n      const matchIndex = match.index || 0;\n      if (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\n        return match;\n      } else if (stopPos > 0 && matchIndex > stopPos) {\n        return null;\n      }\n    }\n    return null;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js\n  var CharacterClassifier = class _CharacterClassifier {\n    constructor(_defaultValue) {\n      const defaultValue = toUint8(_defaultValue);\n      this._defaultValue = defaultValue;\n      this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue);\n      this._map = /* @__PURE__ */ new Map();\n    }\n    static _createAsciiMap(defaultValue) {\n      const asciiMap = new Uint8Array(256);\n      asciiMap.fill(defaultValue);\n      return asciiMap;\n    }\n    set(charCode, _value) {\n      const value = toUint8(_value);\n      if (charCode >= 0 && charCode < 256) {\n        this._asciiMap[charCode] = value;\n      } else {\n        this._map.set(charCode, value);\n      }\n    }\n    get(charCode) {\n      if (charCode >= 0 && charCode < 256) {\n        return this._asciiMap[charCode];\n      } else {\n        return this._map.get(charCode) || this._defaultValue;\n      }\n    }\n    clear() {\n      this._asciiMap.fill(this._defaultValue);\n      this._map.clear();\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js\n  var Uint8Matrix = class {\n    constructor(rows, cols, defaultValue) {\n      const data = new Uint8Array(rows * cols);\n      for (let i = 0, len = rows * cols; i < len; i++) {\n        data[i] = defaultValue;\n      }\n      this._data = data;\n      this.rows = rows;\n      this.cols = cols;\n    }\n    get(row, col) {\n      return this._data[row * this.cols + col];\n    }\n    set(row, col, value) {\n      this._data[row * this.cols + col] = value;\n    }\n  };\n  var StateMachine = class {\n    constructor(edges) {\n      let maxCharCode = 0;\n      let maxState = 0;\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        if (chCode > maxCharCode) {\n          maxCharCode = chCode;\n        }\n        if (from > maxState) {\n          maxState = from;\n        }\n        if (to > maxState) {\n          maxState = to;\n        }\n      }\n      maxCharCode++;\n      maxState++;\n      const states = new Uint8Matrix(\n        maxState,\n        maxCharCode,\n        0\n        /* State.Invalid */\n      );\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        states.set(from, chCode, to);\n      }\n      this._states = states;\n      this._maxCharCode = maxCharCode;\n    }\n    nextState(currentState, chCode) {\n      if (chCode < 0 || chCode >= this._maxCharCode) {\n        return 0;\n      }\n      return this._states.get(currentState, chCode);\n    }\n  };\n  var _stateMachine = null;\n  function getStateMachine() {\n    if (_stateMachine === null) {\n      _stateMachine = new StateMachine([\n        [\n          1,\n          104,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          72,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          102,\n          6\n          /* State.F */\n        ],\n        [\n          1,\n          70,\n          6\n          /* State.F */\n        ],\n        [\n          2,\n          116,\n          3\n          /* State.HT */\n        ],\n        [\n          2,\n          84,\n          3\n          /* State.HT */\n        ],\n        [\n          3,\n          116,\n          4\n          /* State.HTT */\n        ],\n        [\n          3,\n          84,\n          4\n          /* State.HTT */\n        ],\n        [\n          4,\n          112,\n          5\n          /* State.HTTP */\n        ],\n        [\n          4,\n          80,\n          5\n          /* State.HTTP */\n        ],\n        [\n          5,\n          115,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          83,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          6,\n          105,\n          7\n          /* State.FI */\n        ],\n        [\n          6,\n          73,\n          7\n          /* State.FI */\n        ],\n        [\n          7,\n          108,\n          8\n          /* State.FIL */\n        ],\n        [\n          7,\n          76,\n          8\n          /* State.FIL */\n        ],\n        [\n          8,\n          101,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          8,\n          69,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          9,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          10,\n          47,\n          11\n          /* State.AlmostThere */\n        ],\n        [\n          11,\n          47,\n          12\n          /* State.End */\n        ]\n      ]);\n    }\n    return _stateMachine;\n  }\n  var _classifier = null;\n  function getClassifier() {\n    if (_classifier === null) {\n      _classifier = new CharacterClassifier(\n        0\n        /* CharacterClass.None */\n      );\n      const FORCE_TERMINATION_CHARACTERS = ` \t<>'\"\\u3001\\u3002\\uFF61\\uFF64\\uFF0C\\uFF0E\\uFF1A\\uFF1B\\u2018\\u3008\\u300C\\u300E\\u3014\\uFF08\\uFF3B\\uFF5B\\uFF62\\uFF63\\uFF5D\\uFF3D\\uFF09\\u3015\\u300F\\u300D\\u3009\\u2019\\uFF40\\uFF5E\\u2026`;\n      for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) {\n        _classifier.set(\n          FORCE_TERMINATION_CHARACTERS.charCodeAt(i),\n          1\n          /* CharacterClass.ForceTermination */\n        );\n      }\n      const CANNOT_END_WITH_CHARACTERS = \".,;:\";\n      for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) {\n        _classifier.set(\n          CANNOT_END_WITH_CHARACTERS.charCodeAt(i),\n          2\n          /* CharacterClass.CannotEndIn */\n        );\n      }\n    }\n    return _classifier;\n  }\n  var LinkComputer = class _LinkComputer {\n    static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) {\n      let lastIncludedCharIndex = linkEndIndex - 1;\n      do {\n        const chCode = line.charCodeAt(lastIncludedCharIndex);\n        const chClass = classifier.get(chCode);\n        if (chClass !== 2) {\n          break;\n        }\n        lastIncludedCharIndex--;\n      } while (lastIncludedCharIndex > linkBeginIndex);\n      if (linkBeginIndex > 0) {\n        const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);\n        const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);\n        if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) {\n          lastIncludedCharIndex--;\n        }\n      }\n      return {\n        range: {\n          startLineNumber: lineNumber,\n          startColumn: linkBeginIndex + 1,\n          endLineNumber: lineNumber,\n          endColumn: lastIncludedCharIndex + 2\n        },\n        url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1)\n      };\n    }\n    static computeLinks(model, stateMachine = getStateMachine()) {\n      const classifier = getClassifier();\n      const result = [];\n      for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) {\n        const line = model.getLineContent(i);\n        const len = line.length;\n        let j = 0;\n        let linkBeginIndex = 0;\n        let linkBeginChCode = 0;\n        let state = 1;\n        let hasOpenParens = false;\n        let hasOpenSquareBracket = false;\n        let inSquareBrackets = false;\n        let hasOpenCurlyBracket = false;\n        while (j < len) {\n          let resetStateMachine = false;\n          const chCode = line.charCodeAt(j);\n          if (state === 13) {\n            let chClass;\n            switch (chCode) {\n              case 40:\n                hasOpenParens = true;\n                chClass = 0;\n                break;\n              case 41:\n                chClass = hasOpenParens ? 0 : 1;\n                break;\n              case 91:\n                inSquareBrackets = true;\n                hasOpenSquareBracket = true;\n                chClass = 0;\n                break;\n              case 93:\n                inSquareBrackets = false;\n                chClass = hasOpenSquareBracket ? 0 : 1;\n                break;\n              case 123:\n                hasOpenCurlyBracket = true;\n                chClass = 0;\n                break;\n              case 125:\n                chClass = hasOpenCurlyBracket ? 0 : 1;\n                break;\n              case 39:\n              case 34:\n              case 96:\n                if (linkBeginChCode === chCode) {\n                  chClass = 1;\n                } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) {\n                  chClass = 0;\n                } else {\n                  chClass = 1;\n                }\n                break;\n              case 42:\n                chClass = linkBeginChCode === 42 ? 1 : 0;\n                break;\n              case 124:\n                chClass = linkBeginChCode === 124 ? 1 : 0;\n                break;\n              case 32:\n                chClass = inSquareBrackets ? 0 : 1;\n                break;\n              default:\n                chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j));\n              resetStateMachine = true;\n            }\n          } else if (state === 12) {\n            let chClass;\n            if (chCode === 91) {\n              hasOpenSquareBracket = true;\n              chClass = 0;\n            } else {\n              chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              resetStateMachine = true;\n            } else {\n              state = 13;\n            }\n          } else {\n            state = stateMachine.nextState(state, chCode);\n            if (state === 0) {\n              resetStateMachine = true;\n            }\n          }\n          if (resetStateMachine) {\n            state = 1;\n            hasOpenParens = false;\n            hasOpenSquareBracket = false;\n            hasOpenCurlyBracket = false;\n            linkBeginIndex = j + 1;\n            linkBeginChCode = chCode;\n          }\n          j++;\n        }\n        if (state === 13) {\n          result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len));\n        }\n      }\n      return result;\n    }\n  };\n  function computeLinks(model) {\n    if (!model || typeof model.getLineCount !== \"function\" || typeof model.getLineContent !== \"function\") {\n      return [];\n    }\n    return LinkComputer.computeLinks(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js\n  var BasicInplaceReplace = class {\n    constructor() {\n      this._defaultValueSet = [\n        [\"true\", \"false\"],\n        [\"True\", \"False\"],\n        [\"Private\", \"Public\", \"Friend\", \"ReadOnly\", \"Partial\", \"Protected\", \"WriteOnly\"],\n        [\"public\", \"protected\", \"private\"]\n      ];\n    }\n    navigateValueSet(range1, text1, range2, text2, up) {\n      if (range1 && text1) {\n        const result = this.doNavigateValueSet(text1, up);\n        if (result) {\n          return {\n            range: range1,\n            value: result\n          };\n        }\n      }\n      if (range2 && text2) {\n        const result = this.doNavigateValueSet(text2, up);\n        if (result) {\n          return {\n            range: range2,\n            value: result\n          };\n        }\n      }\n      return null;\n    }\n    doNavigateValueSet(text, up) {\n      const numberResult = this.numberReplace(text, up);\n      if (numberResult !== null) {\n        return numberResult;\n      }\n      return this.textReplace(text, up);\n    }\n    numberReplace(value, up) {\n      const precision = Math.pow(10, value.length - (value.lastIndexOf(\".\") + 1));\n      let n1 = Number(value);\n      const n2 = parseFloat(value);\n      if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\n        if (n1 === 0 && !up) {\n          return null;\n        } else {\n          n1 = Math.floor(n1 * precision);\n          n1 += up ? precision : -precision;\n          return String(n1 / precision);\n        }\n      }\n      return null;\n    }\n    textReplace(value, up) {\n      return this.valueSetsReplace(this._defaultValueSet, value, up);\n    }\n    valueSetsReplace(valueSets, value, up) {\n      let result = null;\n      for (let i = 0, len = valueSets.length; result === null && i < len; i++) {\n        result = this.valueSetReplace(valueSets[i], value, up);\n      }\n      return result;\n    }\n    valueSetReplace(valueSet, value, up) {\n      let idx = valueSet.indexOf(value);\n      if (idx >= 0) {\n        idx += up ? 1 : -1;\n        if (idx < 0) {\n          idx = valueSet.length - 1;\n        } else {\n          idx %= valueSet.length;\n        }\n        return valueSet[idx];\n      }\n      return null;\n    }\n  };\n  BasicInplaceReplace.INSTANCE = new BasicInplaceReplace();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cancellation.js\n  var shortcutEvent = Object.freeze(function(callback, context) {\n    const handle = setTimeout(callback.bind(context), 0);\n    return { dispose() {\n      clearTimeout(handle);\n    } };\n  });\n  var CancellationToken;\n  (function(CancellationToken2) {\n    function isCancellationToken(thing) {\n      if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) {\n        return true;\n      }\n      if (thing instanceof MutableToken) {\n        return true;\n      }\n      if (!thing || typeof thing !== \"object\") {\n        return false;\n      }\n      return typeof thing.isCancellationRequested === \"boolean\" && typeof thing.onCancellationRequested === \"function\";\n    }\n    CancellationToken2.isCancellationToken = isCancellationToken;\n    CancellationToken2.None = Object.freeze({\n      isCancellationRequested: false,\n      onCancellationRequested: Event.None\n    });\n    CancellationToken2.Cancelled = Object.freeze({\n      isCancellationRequested: true,\n      onCancellationRequested: shortcutEvent\n    });\n  })(CancellationToken || (CancellationToken = {}));\n  var MutableToken = class {\n    constructor() {\n      this._isCancelled = false;\n      this._emitter = null;\n    }\n    cancel() {\n      if (!this._isCancelled) {\n        this._isCancelled = true;\n        if (this._emitter) {\n          this._emitter.fire(void 0);\n          this.dispose();\n        }\n      }\n    }\n    get isCancellationRequested() {\n      return this._isCancelled;\n    }\n    get onCancellationRequested() {\n      if (this._isCancelled) {\n        return shortcutEvent;\n      }\n      if (!this._emitter) {\n        this._emitter = new Emitter();\n      }\n      return this._emitter.event;\n    }\n    dispose() {\n      if (this._emitter) {\n        this._emitter.dispose();\n        this._emitter = null;\n      }\n    }\n  };\n  var CancellationTokenSource = class {\n    constructor(parent) {\n      this._token = void 0;\n      this._parentListener = void 0;\n      this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);\n    }\n    get token() {\n      if (!this._token) {\n        this._token = new MutableToken();\n      }\n      return this._token;\n    }\n    cancel() {\n      if (!this._token) {\n        this._token = CancellationToken.Cancelled;\n      } else if (this._token instanceof MutableToken) {\n        this._token.cancel();\n      }\n    }\n    dispose(cancel = false) {\n      var _a5;\n      if (cancel) {\n        this.cancel();\n      }\n      (_a5 = this._parentListener) === null || _a5 === void 0 ? void 0 : _a5.dispose();\n      if (!this._token) {\n        this._token = CancellationToken.None;\n      } else if (this._token instanceof MutableToken) {\n        this._token.dispose();\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/keyCodes.js\n  var KeyCodeStrMap = class {\n    constructor() {\n      this._keyCodeToStr = [];\n      this._strToKeyCode = /* @__PURE__ */ Object.create(null);\n    }\n    define(keyCode, str) {\n      this._keyCodeToStr[keyCode] = str;\n      this._strToKeyCode[str.toLowerCase()] = keyCode;\n    }\n    keyCodeToStr(keyCode) {\n      return this._keyCodeToStr[keyCode];\n    }\n    strToKeyCode(str) {\n      return this._strToKeyCode[str.toLowerCase()] || 0;\n    }\n  };\n  var uiMap = new KeyCodeStrMap();\n  var userSettingsUSMap = new KeyCodeStrMap();\n  var userSettingsGeneralMap = new KeyCodeStrMap();\n  var EVENT_KEY_CODE_MAP = new Array(230);\n  var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {};\n  var scanCodeIntToStr = [];\n  var scanCodeStrToInt = /* @__PURE__ */ Object.create(null);\n  var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null);\n  var IMMUTABLE_CODE_TO_KEY_CODE = [];\n  var IMMUTABLE_KEY_CODE_TO_CODE = [];\n  for (let i = 0; i <= 193; i++) {\n    IMMUTABLE_CODE_TO_KEY_CODE[i] = -1;\n  }\n  for (let i = 0; i <= 132; i++) {\n    IMMUTABLE_KEY_CODE_TO_CODE[i] = -1;\n  }\n  (function() {\n    const empty = \"\";\n    const mappings = [\n      // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel\n      [1, 0, \"None\", 0, \"unknown\", 0, \"VK_UNKNOWN\", empty, empty],\n      [1, 1, \"Hyper\", 0, empty, 0, empty, empty, empty],\n      [1, 2, \"Super\", 0, empty, 0, empty, empty, empty],\n      [1, 3, \"Fn\", 0, empty, 0, empty, empty, empty],\n      [1, 4, \"FnLock\", 0, empty, 0, empty, empty, empty],\n      [1, 5, \"Suspend\", 0, empty, 0, empty, empty, empty],\n      [1, 6, \"Resume\", 0, empty, 0, empty, empty, empty],\n      [1, 7, \"Turbo\", 0, empty, 0, empty, empty, empty],\n      [1, 8, \"Sleep\", 0, empty, 0, \"VK_SLEEP\", empty, empty],\n      [1, 9, \"WakeUp\", 0, empty, 0, empty, empty, empty],\n      [0, 10, \"KeyA\", 31, \"A\", 65, \"VK_A\", empty, empty],\n      [0, 11, \"KeyB\", 32, \"B\", 66, \"VK_B\", empty, empty],\n      [0, 12, \"KeyC\", 33, \"C\", 67, \"VK_C\", empty, empty],\n      [0, 13, \"KeyD\", 34, \"D\", 68, \"VK_D\", empty, empty],\n      [0, 14, \"KeyE\", 35, \"E\", 69, \"VK_E\", empty, empty],\n      [0, 15, \"KeyF\", 36, \"F\", 70, \"VK_F\", empty, empty],\n      [0, 16, \"KeyG\", 37, \"G\", 71, \"VK_G\", empty, empty],\n      [0, 17, \"KeyH\", 38, \"H\", 72, \"VK_H\", empty, empty],\n      [0, 18, \"KeyI\", 39, \"I\", 73, \"VK_I\", empty, empty],\n      [0, 19, \"KeyJ\", 40, \"J\", 74, \"VK_J\", empty, empty],\n      [0, 20, \"KeyK\", 41, \"K\", 75, \"VK_K\", empty, empty],\n      [0, 21, \"KeyL\", 42, \"L\", 76, \"VK_L\", empty, empty],\n      [0, 22, \"KeyM\", 43, \"M\", 77, \"VK_M\", empty, empty],\n      [0, 23, \"KeyN\", 44, \"N\", 78, \"VK_N\", empty, empty],\n      [0, 24, \"KeyO\", 45, \"O\", 79, \"VK_O\", empty, empty],\n      [0, 25, \"KeyP\", 46, \"P\", 80, \"VK_P\", empty, empty],\n      [0, 26, \"KeyQ\", 47, \"Q\", 81, \"VK_Q\", empty, empty],\n      [0, 27, \"KeyR\", 48, \"R\", 82, \"VK_R\", empty, empty],\n      [0, 28, \"KeyS\", 49, \"S\", 83, \"VK_S\", empty, empty],\n      [0, 29, \"KeyT\", 50, \"T\", 84, \"VK_T\", empty, empty],\n      [0, 30, \"KeyU\", 51, \"U\", 85, \"VK_U\", empty, empty],\n      [0, 31, \"KeyV\", 52, \"V\", 86, \"VK_V\", empty, empty],\n      [0, 32, \"KeyW\", 53, \"W\", 87, \"VK_W\", empty, empty],\n      [0, 33, \"KeyX\", 54, \"X\", 88, \"VK_X\", empty, empty],\n      [0, 34, \"KeyY\", 55, \"Y\", 89, \"VK_Y\", empty, empty],\n      [0, 35, \"KeyZ\", 56, \"Z\", 90, \"VK_Z\", empty, empty],\n      [0, 36, \"Digit1\", 22, \"1\", 49, \"VK_1\", empty, empty],\n      [0, 37, \"Digit2\", 23, \"2\", 50, \"VK_2\", empty, empty],\n      [0, 38, \"Digit3\", 24, \"3\", 51, \"VK_3\", empty, empty],\n      [0, 39, \"Digit4\", 25, \"4\", 52, \"VK_4\", empty, empty],\n      [0, 40, \"Digit5\", 26, \"5\", 53, \"VK_5\", empty, empty],\n      [0, 41, \"Digit6\", 27, \"6\", 54, \"VK_6\", empty, empty],\n      [0, 42, \"Digit7\", 28, \"7\", 55, \"VK_7\", empty, empty],\n      [0, 43, \"Digit8\", 29, \"8\", 56, \"VK_8\", empty, empty],\n      [0, 44, \"Digit9\", 30, \"9\", 57, \"VK_9\", empty, empty],\n      [0, 45, \"Digit0\", 21, \"0\", 48, \"VK_0\", empty, empty],\n      [1, 46, \"Enter\", 3, \"Enter\", 13, \"VK_RETURN\", empty, empty],\n      [1, 47, \"Escape\", 9, \"Escape\", 27, \"VK_ESCAPE\", empty, empty],\n      [1, 48, \"Backspace\", 1, \"Backspace\", 8, \"VK_BACK\", empty, empty],\n      [1, 49, \"Tab\", 2, \"Tab\", 9, \"VK_TAB\", empty, empty],\n      [1, 50, \"Space\", 10, \"Space\", 32, \"VK_SPACE\", empty, empty],\n      [0, 51, \"Minus\", 88, \"-\", 189, \"VK_OEM_MINUS\", \"-\", \"OEM_MINUS\"],\n      [0, 52, \"Equal\", 86, \"=\", 187, \"VK_OEM_PLUS\", \"=\", \"OEM_PLUS\"],\n      [0, 53, \"BracketLeft\", 92, \"[\", 219, \"VK_OEM_4\", \"[\", \"OEM_4\"],\n      [0, 54, \"BracketRight\", 94, \"]\", 221, \"VK_OEM_6\", \"]\", \"OEM_6\"],\n      [0, 55, \"Backslash\", 93, \"\\\\\", 220, \"VK_OEM_5\", \"\\\\\", \"OEM_5\"],\n      [0, 56, \"IntlHash\", 0, empty, 0, empty, empty, empty],\n      // has been dropped from the w3c spec\n      [0, 57, \"Semicolon\", 85, \";\", 186, \"VK_OEM_1\", \";\", \"OEM_1\"],\n      [0, 58, \"Quote\", 95, \"'\", 222, \"VK_OEM_7\", \"'\", \"OEM_7\"],\n      [0, 59, \"Backquote\", 91, \"`\", 192, \"VK_OEM_3\", \"`\", \"OEM_3\"],\n      [0, 60, \"Comma\", 87, \",\", 188, \"VK_OEM_COMMA\", \",\", \"OEM_COMMA\"],\n      [0, 61, \"Period\", 89, \".\", 190, \"VK_OEM_PERIOD\", \".\", \"OEM_PERIOD\"],\n      [0, 62, \"Slash\", 90, \"/\", 191, \"VK_OEM_2\", \"/\", \"OEM_2\"],\n      [1, 63, \"CapsLock\", 8, \"CapsLock\", 20, \"VK_CAPITAL\", empty, empty],\n      [1, 64, \"F1\", 59, \"F1\", 112, \"VK_F1\", empty, empty],\n      [1, 65, \"F2\", 60, \"F2\", 113, \"VK_F2\", empty, empty],\n      [1, 66, \"F3\", 61, \"F3\", 114, \"VK_F3\", empty, empty],\n      [1, 67, \"F4\", 62, \"F4\", 115, \"VK_F4\", empty, empty],\n      [1, 68, \"F5\", 63, \"F5\", 116, \"VK_F5\", empty, empty],\n      [1, 69, \"F6\", 64, \"F6\", 117, \"VK_F6\", empty, empty],\n      [1, 70, \"F7\", 65, \"F7\", 118, \"VK_F7\", empty, empty],\n      [1, 71, \"F8\", 66, \"F8\", 119, \"VK_F8\", empty, empty],\n      [1, 72, \"F9\", 67, \"F9\", 120, \"VK_F9\", empty, empty],\n      [1, 73, \"F10\", 68, \"F10\", 121, \"VK_F10\", empty, empty],\n      [1, 74, \"F11\", 69, \"F11\", 122, \"VK_F11\", empty, empty],\n      [1, 75, \"F12\", 70, \"F12\", 123, \"VK_F12\", empty, empty],\n      [1, 76, \"PrintScreen\", 0, empty, 0, empty, empty, empty],\n      [1, 77, \"ScrollLock\", 84, \"ScrollLock\", 145, \"VK_SCROLL\", empty, empty],\n      [1, 78, \"Pause\", 7, \"PauseBreak\", 19, \"VK_PAUSE\", empty, empty],\n      [1, 79, \"Insert\", 19, \"Insert\", 45, \"VK_INSERT\", empty, empty],\n      [1, 80, \"Home\", 14, \"Home\", 36, \"VK_HOME\", empty, empty],\n      [1, 81, \"PageUp\", 11, \"PageUp\", 33, \"VK_PRIOR\", empty, empty],\n      [1, 82, \"Delete\", 20, \"Delete\", 46, \"VK_DELETE\", empty, empty],\n      [1, 83, \"End\", 13, \"End\", 35, \"VK_END\", empty, empty],\n      [1, 84, \"PageDown\", 12, \"PageDown\", 34, \"VK_NEXT\", empty, empty],\n      [1, 85, \"ArrowRight\", 17, \"RightArrow\", 39, \"VK_RIGHT\", \"Right\", empty],\n      [1, 86, \"ArrowLeft\", 15, \"LeftArrow\", 37, \"VK_LEFT\", \"Left\", empty],\n      [1, 87, \"ArrowDown\", 18, \"DownArrow\", 40, \"VK_DOWN\", \"Down\", empty],\n      [1, 88, \"ArrowUp\", 16, \"UpArrow\", 38, \"VK_UP\", \"Up\", empty],\n      [1, 89, \"NumLock\", 83, \"NumLock\", 144, \"VK_NUMLOCK\", empty, empty],\n      [1, 90, \"NumpadDivide\", 113, \"NumPad_Divide\", 111, \"VK_DIVIDE\", empty, empty],\n      [1, 91, \"NumpadMultiply\", 108, \"NumPad_Multiply\", 106, \"VK_MULTIPLY\", empty, empty],\n      [1, 92, \"NumpadSubtract\", 111, \"NumPad_Subtract\", 109, \"VK_SUBTRACT\", empty, empty],\n      [1, 93, \"NumpadAdd\", 109, \"NumPad_Add\", 107, \"VK_ADD\", empty, empty],\n      [1, 94, \"NumpadEnter\", 3, empty, 0, empty, empty, empty],\n      [1, 95, \"Numpad1\", 99, \"NumPad1\", 97, \"VK_NUMPAD1\", empty, empty],\n      [1, 96, \"Numpad2\", 100, \"NumPad2\", 98, \"VK_NUMPAD2\", empty, empty],\n      [1, 97, \"Numpad3\", 101, \"NumPad3\", 99, \"VK_NUMPAD3\", empty, empty],\n      [1, 98, \"Numpad4\", 102, \"NumPad4\", 100, \"VK_NUMPAD4\", empty, empty],\n      [1, 99, \"Numpad5\", 103, \"NumPad5\", 101, \"VK_NUMPAD5\", empty, empty],\n      [1, 100, \"Numpad6\", 104, \"NumPad6\", 102, \"VK_NUMPAD6\", empty, empty],\n      [1, 101, \"Numpad7\", 105, \"NumPad7\", 103, \"VK_NUMPAD7\", empty, empty],\n      [1, 102, \"Numpad8\", 106, \"NumPad8\", 104, \"VK_NUMPAD8\", empty, empty],\n      [1, 103, \"Numpad9\", 107, \"NumPad9\", 105, \"VK_NUMPAD9\", empty, empty],\n      [1, 104, \"Numpad0\", 98, \"NumPad0\", 96, \"VK_NUMPAD0\", empty, empty],\n      [1, 105, \"NumpadDecimal\", 112, \"NumPad_Decimal\", 110, \"VK_DECIMAL\", empty, empty],\n      [0, 106, \"IntlBackslash\", 97, \"OEM_102\", 226, \"VK_OEM_102\", empty, empty],\n      [1, 107, \"ContextMenu\", 58, \"ContextMenu\", 93, empty, empty, empty],\n      [1, 108, \"Power\", 0, empty, 0, empty, empty, empty],\n      [1, 109, \"NumpadEqual\", 0, empty, 0, empty, empty, empty],\n      [1, 110, \"F13\", 71, \"F13\", 124, \"VK_F13\", empty, empty],\n      [1, 111, \"F14\", 72, \"F14\", 125, \"VK_F14\", empty, empty],\n      [1, 112, \"F15\", 73, \"F15\", 126, \"VK_F15\", empty, empty],\n      [1, 113, \"F16\", 74, \"F16\", 127, \"VK_F16\", empty, empty],\n      [1, 114, \"F17\", 75, \"F17\", 128, \"VK_F17\", empty, empty],\n      [1, 115, \"F18\", 76, \"F18\", 129, \"VK_F18\", empty, empty],\n      [1, 116, \"F19\", 77, \"F19\", 130, \"VK_F19\", empty, empty],\n      [1, 117, \"F20\", 78, \"F20\", 131, \"VK_F20\", empty, empty],\n      [1, 118, \"F21\", 79, \"F21\", 132, \"VK_F21\", empty, empty],\n      [1, 119, \"F22\", 80, \"F22\", 133, \"VK_F22\", empty, empty],\n      [1, 120, \"F23\", 81, \"F23\", 134, \"VK_F23\", empty, empty],\n      [1, 121, \"F24\", 82, \"F24\", 135, \"VK_F24\", empty, empty],\n      [1, 122, \"Open\", 0, empty, 0, empty, empty, empty],\n      [1, 123, \"Help\", 0, empty, 0, empty, empty, empty],\n      [1, 124, \"Select\", 0, empty, 0, empty, empty, empty],\n      [1, 125, \"Again\", 0, empty, 0, empty, empty, empty],\n      [1, 126, \"Undo\", 0, empty, 0, empty, empty, empty],\n      [1, 127, \"Cut\", 0, empty, 0, empty, empty, empty],\n      [1, 128, \"Copy\", 0, empty, 0, empty, empty, empty],\n      [1, 129, \"Paste\", 0, empty, 0, empty, empty, empty],\n      [1, 130, \"Find\", 0, empty, 0, empty, empty, empty],\n      [1, 131, \"AudioVolumeMute\", 117, \"AudioVolumeMute\", 173, \"VK_VOLUME_MUTE\", empty, empty],\n      [1, 132, \"AudioVolumeUp\", 118, \"AudioVolumeUp\", 175, \"VK_VOLUME_UP\", empty, empty],\n      [1, 133, \"AudioVolumeDown\", 119, \"AudioVolumeDown\", 174, \"VK_VOLUME_DOWN\", empty, empty],\n      [1, 134, \"NumpadComma\", 110, \"NumPad_Separator\", 108, \"VK_SEPARATOR\", empty, empty],\n      [0, 135, \"IntlRo\", 115, \"ABNT_C1\", 193, \"VK_ABNT_C1\", empty, empty],\n      [1, 136, \"KanaMode\", 0, empty, 0, empty, empty, empty],\n      [0, 137, \"IntlYen\", 0, empty, 0, empty, empty, empty],\n      [1, 138, \"Convert\", 0, empty, 0, empty, empty, empty],\n      [1, 139, \"NonConvert\", 0, empty, 0, empty, empty, empty],\n      [1, 140, \"Lang1\", 0, empty, 0, empty, empty, empty],\n      [1, 141, \"Lang2\", 0, empty, 0, empty, empty, empty],\n      [1, 142, \"Lang3\", 0, empty, 0, empty, empty, empty],\n      [1, 143, \"Lang4\", 0, empty, 0, empty, empty, empty],\n      [1, 144, \"Lang5\", 0, empty, 0, empty, empty, empty],\n      [1, 145, \"Abort\", 0, empty, 0, empty, empty, empty],\n      [1, 146, \"Props\", 0, empty, 0, empty, empty, empty],\n      [1, 147, \"NumpadParenLeft\", 0, empty, 0, empty, empty, empty],\n      [1, 148, \"NumpadParenRight\", 0, empty, 0, empty, empty, empty],\n      [1, 149, \"NumpadBackspace\", 0, empty, 0, empty, empty, empty],\n      [1, 150, \"NumpadMemoryStore\", 0, empty, 0, empty, empty, empty],\n      [1, 151, \"NumpadMemoryRecall\", 0, empty, 0, empty, empty, empty],\n      [1, 152, \"NumpadMemoryClear\", 0, empty, 0, empty, empty, empty],\n      [1, 153, \"NumpadMemoryAdd\", 0, empty, 0, empty, empty, empty],\n      [1, 154, \"NumpadMemorySubtract\", 0, empty, 0, empty, empty, empty],\n      [1, 155, \"NumpadClear\", 131, \"Clear\", 12, \"VK_CLEAR\", empty, empty],\n      [1, 156, \"NumpadClearEntry\", 0, empty, 0, empty, empty, empty],\n      [1, 0, empty, 5, \"Ctrl\", 17, \"VK_CONTROL\", empty, empty],\n      [1, 0, empty, 4, \"Shift\", 16, \"VK_SHIFT\", empty, empty],\n      [1, 0, empty, 6, \"Alt\", 18, \"VK_MENU\", empty, empty],\n      [1, 0, empty, 57, \"Meta\", 91, \"VK_COMMAND\", empty, empty],\n      [1, 157, \"ControlLeft\", 5, empty, 0, \"VK_LCONTROL\", empty, empty],\n      [1, 158, \"ShiftLeft\", 4, empty, 0, \"VK_LSHIFT\", empty, empty],\n      [1, 159, \"AltLeft\", 6, empty, 0, \"VK_LMENU\", empty, empty],\n      [1, 160, \"MetaLeft\", 57, empty, 0, \"VK_LWIN\", empty, empty],\n      [1, 161, \"ControlRight\", 5, empty, 0, \"VK_RCONTROL\", empty, empty],\n      [1, 162, \"ShiftRight\", 4, empty, 0, \"VK_RSHIFT\", empty, empty],\n      [1, 163, \"AltRight\", 6, empty, 0, \"VK_RMENU\", empty, empty],\n      [1, 164, \"MetaRight\", 57, empty, 0, \"VK_RWIN\", empty, empty],\n      [1, 165, \"BrightnessUp\", 0, empty, 0, empty, empty, empty],\n      [1, 166, \"BrightnessDown\", 0, empty, 0, empty, empty, empty],\n      [1, 167, \"MediaPlay\", 0, empty, 0, empty, empty, empty],\n      [1, 168, \"MediaRecord\", 0, empty, 0, empty, empty, empty],\n      [1, 169, \"MediaFastForward\", 0, empty, 0, empty, empty, empty],\n      [1, 170, \"MediaRewind\", 0, empty, 0, empty, empty, empty],\n      [1, 171, \"MediaTrackNext\", 124, \"MediaTrackNext\", 176, \"VK_MEDIA_NEXT_TRACK\", empty, empty],\n      [1, 172, \"MediaTrackPrevious\", 125, \"MediaTrackPrevious\", 177, \"VK_MEDIA_PREV_TRACK\", empty, empty],\n      [1, 173, \"MediaStop\", 126, \"MediaStop\", 178, \"VK_MEDIA_STOP\", empty, empty],\n      [1, 174, \"Eject\", 0, empty, 0, empty, empty, empty],\n      [1, 175, \"MediaPlayPause\", 127, \"MediaPlayPause\", 179, \"VK_MEDIA_PLAY_PAUSE\", empty, empty],\n      [1, 176, \"MediaSelect\", 128, \"LaunchMediaPlayer\", 181, \"VK_MEDIA_LAUNCH_MEDIA_SELECT\", empty, empty],\n      [1, 177, \"LaunchMail\", 129, \"LaunchMail\", 180, \"VK_MEDIA_LAUNCH_MAIL\", empty, empty],\n      [1, 178, \"LaunchApp2\", 130, \"LaunchApp2\", 183, \"VK_MEDIA_LAUNCH_APP2\", empty, empty],\n      [1, 179, \"LaunchApp1\", 0, empty, 0, \"VK_MEDIA_LAUNCH_APP1\", empty, empty],\n      [1, 180, \"SelectTask\", 0, empty, 0, empty, empty, empty],\n      [1, 181, \"LaunchScreenSaver\", 0, empty, 0, empty, empty, empty],\n      [1, 182, \"BrowserSearch\", 120, \"BrowserSearch\", 170, \"VK_BROWSER_SEARCH\", empty, empty],\n      [1, 183, \"BrowserHome\", 121, \"BrowserHome\", 172, \"VK_BROWSER_HOME\", empty, empty],\n      [1, 184, \"BrowserBack\", 122, \"BrowserBack\", 166, \"VK_BROWSER_BACK\", empty, empty],\n      [1, 185, \"BrowserForward\", 123, \"BrowserForward\", 167, \"VK_BROWSER_FORWARD\", empty, empty],\n      [1, 186, \"BrowserStop\", 0, empty, 0, \"VK_BROWSER_STOP\", empty, empty],\n      [1, 187, \"BrowserRefresh\", 0, empty, 0, \"VK_BROWSER_REFRESH\", empty, empty],\n      [1, 188, \"BrowserFavorites\", 0, empty, 0, \"VK_BROWSER_FAVORITES\", empty, empty],\n      [1, 189, \"ZoomToggle\", 0, empty, 0, empty, empty, empty],\n      [1, 190, \"MailReply\", 0, empty, 0, empty, empty, empty],\n      [1, 191, \"MailForward\", 0, empty, 0, empty, empty, empty],\n      [1, 192, \"MailSend\", 0, empty, 0, empty, empty, empty],\n      // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html\n      // If an Input Method Editor is processing key input and the event is keydown, return 229.\n      [1, 0, empty, 114, \"KeyInComposition\", 229, empty, empty, empty],\n      [1, 0, empty, 116, \"ABNT_C2\", 194, \"VK_ABNT_C2\", empty, empty],\n      [1, 0, empty, 96, \"OEM_8\", 223, \"VK_OEM_8\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANGUL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_JUNJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_FINAL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANJI\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONCONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ACCEPT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_MODECHANGE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SELECT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PRINT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXECUTE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SNAPSHOT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HELP\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_APPS\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PROCESSKEY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PACKET\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_SBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_DBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ATTN\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CRSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EREOF\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PLAY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ZOOM\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONAME\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PA1\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_OEM_CLEAR\", empty, empty]\n    ];\n    const seenKeyCode = [];\n    const seenScanCode = [];\n    for (const mapping of mappings) {\n      const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;\n      if (!seenScanCode[scanCode]) {\n        seenScanCode[scanCode] = true;\n        scanCodeIntToStr[scanCode] = scanCodeStr;\n        scanCodeStrToInt[scanCodeStr] = scanCode;\n        scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode;\n        if (immutable) {\n          IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode;\n          if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) {\n            IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode;\n          }\n        }\n      }\n      if (!seenKeyCode[keyCode]) {\n        seenKeyCode[keyCode] = true;\n        if (!keyCodeStr) {\n          throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`);\n        }\n        uiMap.define(keyCode, keyCodeStr);\n        userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr);\n        userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr);\n      }\n      if (eventKeyCode) {\n        EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode;\n      }\n      if (vkey) {\n        NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode;\n      }\n    }\n    IMMUTABLE_KEY_CODE_TO_CODE[\n      3\n      /* KeyCode.Enter */\n    ] = 46;\n  })();\n  var KeyCodeUtils;\n  (function(KeyCodeUtils2) {\n    function toString(keyCode) {\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toString = toString;\n    function fromString(key) {\n      return uiMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromString = fromString;\n    function toUserSettingsUS(keyCode) {\n      return userSettingsUSMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS;\n    function toUserSettingsGeneral(keyCode) {\n      return userSettingsGeneralMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral;\n    function fromUserSettings(key) {\n      return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromUserSettings = fromUserSettings;\n    function toElectronAccelerator(keyCode) {\n      if (keyCode >= 98 && keyCode <= 113) {\n        return null;\n      }\n      switch (keyCode) {\n        case 16:\n          return \"Up\";\n        case 18:\n          return \"Down\";\n        case 15:\n          return \"Left\";\n        case 17:\n          return \"Right\";\n      }\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator;\n  })(KeyCodeUtils || (KeyCodeUtils = {}));\n  function KeyChord(firstPart, secondPart) {\n    const chordPart = (secondPart & 65535) << 16 >>> 0;\n    return (firstPart | chordPart) >>> 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/selection.js\n  var Selection = class _Selection extends Range {\n    constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {\n      super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);\n      this.selectionStartLineNumber = selectionStartLineNumber;\n      this.selectionStartColumn = selectionStartColumn;\n      this.positionLineNumber = positionLineNumber;\n      this.positionColumn = positionColumn;\n    }\n    /**\n     * Transform to a human-readable representation.\n     */\n    toString() {\n      return \"[\" + this.selectionStartLineNumber + \",\" + this.selectionStartColumn + \" -> \" + this.positionLineNumber + \",\" + this.positionColumn + \"]\";\n    }\n    /**\n     * Test if equals other selection.\n     */\n    equalsSelection(other) {\n      return _Selection.selectionsEqual(this, other);\n    }\n    /**\n     * Test if the two selections are equal.\n     */\n    static selectionsEqual(a, b) {\n      return a.selectionStartLineNumber === b.selectionStartLineNumber && a.selectionStartColumn === b.selectionStartColumn && a.positionLineNumber === b.positionLineNumber && a.positionColumn === b.positionColumn;\n    }\n    /**\n     * Get directions (LTR or RTL).\n     */\n    getDirection() {\n      if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {\n        return 0;\n      }\n      return 1;\n    }\n    /**\n     * Create a new selection with a different `positionLineNumber` and `positionColumn`.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);\n    }\n    /**\n     * Get the position at `positionLineNumber` and `positionColumn`.\n     */\n    getPosition() {\n      return new Position(this.positionLineNumber, this.positionColumn);\n    }\n    /**\n     * Get the position at the start of the selection.\n    */\n    getSelectionStart() {\n      return new Position(this.selectionStartLineNumber, this.selectionStartColumn);\n    }\n    /**\n     * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n      }\n      return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);\n    }\n    // ----\n    /**\n     * Create a `Selection` from one or two positions\n     */\n    static fromPositions(start, end = start) {\n      return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    /**\n     * Creates a `Selection` from a range, given a direction.\n     */\n    static fromRange(range, direction) {\n      if (direction === 0) {\n        return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n      } else {\n        return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn);\n      }\n    }\n    /**\n     * Create a `Selection` from an `ISelection`.\n     */\n    static liftSelection(sel) {\n      return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);\n    }\n    /**\n     * `a` equals `b`.\n     */\n    static selectionsArrEqual(a, b) {\n      if (a && !b || !a && b) {\n        return false;\n      }\n      if (!a && !b) {\n        return true;\n      }\n      if (a.length !== b.length) {\n        return false;\n      }\n      for (let i = 0, len = a.length; i < len; i++) {\n        if (!this.selectionsEqual(a[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    /**\n     * Test if `obj` is an `ISelection`.\n     */\n    static isISelection(obj) {\n      return obj && typeof obj.selectionStartLineNumber === \"number\" && typeof obj.selectionStartColumn === \"number\" && typeof obj.positionLineNumber === \"number\" && typeof obj.positionColumn === \"number\";\n    }\n    /**\n     * Create with a direction.\n     */\n    static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {\n      if (direction === 0) {\n        return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js\n  var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);\n  function register(id, fontCharacter) {\n    if (isString(fontCharacter)) {\n      const val = _codiconFontCharacters[fontCharacter];\n      if (val === void 0) {\n        throw new Error(`${id} references an unknown codicon: ${fontCharacter}`);\n      }\n      fontCharacter = val;\n    }\n    _codiconFontCharacters[id] = fontCharacter;\n    return { id };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js\n  var codiconsLibrary = {\n    add: register(\"add\", 6e4),\n    plus: register(\"plus\", 6e4),\n    gistNew: register(\"gist-new\", 6e4),\n    repoCreate: register(\"repo-create\", 6e4),\n    lightbulb: register(\"lightbulb\", 60001),\n    lightBulb: register(\"light-bulb\", 60001),\n    repo: register(\"repo\", 60002),\n    repoDelete: register(\"repo-delete\", 60002),\n    gistFork: register(\"gist-fork\", 60003),\n    repoForked: register(\"repo-forked\", 60003),\n    gitPullRequest: register(\"git-pull-request\", 60004),\n    gitPullRequestAbandoned: register(\"git-pull-request-abandoned\", 60004),\n    recordKeys: register(\"record-keys\", 60005),\n    keyboard: register(\"keyboard\", 60005),\n    tag: register(\"tag\", 60006),\n    gitPullRequestLabel: register(\"git-pull-request-label\", 60006),\n    tagAdd: register(\"tag-add\", 60006),\n    tagRemove: register(\"tag-remove\", 60006),\n    person: register(\"person\", 60007),\n    personFollow: register(\"person-follow\", 60007),\n    personOutline: register(\"person-outline\", 60007),\n    personFilled: register(\"person-filled\", 60007),\n    gitBranch: register(\"git-branch\", 60008),\n    gitBranchCreate: register(\"git-branch-create\", 60008),\n    gitBranchDelete: register(\"git-branch-delete\", 60008),\n    sourceControl: register(\"source-control\", 60008),\n    mirror: register(\"mirror\", 60009),\n    mirrorPublic: register(\"mirror-public\", 60009),\n    star: register(\"star\", 60010),\n    starAdd: register(\"star-add\", 60010),\n    starDelete: register(\"star-delete\", 60010),\n    starEmpty: register(\"star-empty\", 60010),\n    comment: register(\"comment\", 60011),\n    commentAdd: register(\"comment-add\", 60011),\n    alert: register(\"alert\", 60012),\n    warning: register(\"warning\", 60012),\n    search: register(\"search\", 60013),\n    searchSave: register(\"search-save\", 60013),\n    logOut: register(\"log-out\", 60014),\n    signOut: register(\"sign-out\", 60014),\n    logIn: register(\"log-in\", 60015),\n    signIn: register(\"sign-in\", 60015),\n    eye: register(\"eye\", 60016),\n    eyeUnwatch: register(\"eye-unwatch\", 60016),\n    eyeWatch: register(\"eye-watch\", 60016),\n    circleFilled: register(\"circle-filled\", 60017),\n    primitiveDot: register(\"primitive-dot\", 60017),\n    closeDirty: register(\"close-dirty\", 60017),\n    debugBreakpoint: register(\"debug-breakpoint\", 60017),\n    debugBreakpointDisabled: register(\"debug-breakpoint-disabled\", 60017),\n    debugHint: register(\"debug-hint\", 60017),\n    terminalDecorationSuccess: register(\"terminal-decoration-success\", 60017),\n    primitiveSquare: register(\"primitive-square\", 60018),\n    edit: register(\"edit\", 60019),\n    pencil: register(\"pencil\", 60019),\n    info: register(\"info\", 60020),\n    issueOpened: register(\"issue-opened\", 60020),\n    gistPrivate: register(\"gist-private\", 60021),\n    gitForkPrivate: register(\"git-fork-private\", 60021),\n    lock: register(\"lock\", 60021),\n    mirrorPrivate: register(\"mirror-private\", 60021),\n    close: register(\"close\", 60022),\n    removeClose: register(\"remove-close\", 60022),\n    x: register(\"x\", 60022),\n    repoSync: register(\"repo-sync\", 60023),\n    sync: register(\"sync\", 60023),\n    clone: register(\"clone\", 60024),\n    desktopDownload: register(\"desktop-download\", 60024),\n    beaker: register(\"beaker\", 60025),\n    microscope: register(\"microscope\", 60025),\n    vm: register(\"vm\", 60026),\n    deviceDesktop: register(\"device-desktop\", 60026),\n    file: register(\"file\", 60027),\n    fileText: register(\"file-text\", 60027),\n    more: register(\"more\", 60028),\n    ellipsis: register(\"ellipsis\", 60028),\n    kebabHorizontal: register(\"kebab-horizontal\", 60028),\n    mailReply: register(\"mail-reply\", 60029),\n    reply: register(\"reply\", 60029),\n    organization: register(\"organization\", 60030),\n    organizationFilled: register(\"organization-filled\", 60030),\n    organizationOutline: register(\"organization-outline\", 60030),\n    newFile: register(\"new-file\", 60031),\n    fileAdd: register(\"file-add\", 60031),\n    newFolder: register(\"new-folder\", 60032),\n    fileDirectoryCreate: register(\"file-directory-create\", 60032),\n    trash: register(\"trash\", 60033),\n    trashcan: register(\"trashcan\", 60033),\n    history: register(\"history\", 60034),\n    clock: register(\"clock\", 60034),\n    folder: register(\"folder\", 60035),\n    fileDirectory: register(\"file-directory\", 60035),\n    symbolFolder: register(\"symbol-folder\", 60035),\n    logoGithub: register(\"logo-github\", 60036),\n    markGithub: register(\"mark-github\", 60036),\n    github: register(\"github\", 60036),\n    terminal: register(\"terminal\", 60037),\n    console: register(\"console\", 60037),\n    repl: register(\"repl\", 60037),\n    zap: register(\"zap\", 60038),\n    symbolEvent: register(\"symbol-event\", 60038),\n    error: register(\"error\", 60039),\n    stop: register(\"stop\", 60039),\n    variable: register(\"variable\", 60040),\n    symbolVariable: register(\"symbol-variable\", 60040),\n    array: register(\"array\", 60042),\n    symbolArray: register(\"symbol-array\", 60042),\n    symbolModule: register(\"symbol-module\", 60043),\n    symbolPackage: register(\"symbol-package\", 60043),\n    symbolNamespace: register(\"symbol-namespace\", 60043),\n    symbolObject: register(\"symbol-object\", 60043),\n    symbolMethod: register(\"symbol-method\", 60044),\n    symbolFunction: register(\"symbol-function\", 60044),\n    symbolConstructor: register(\"symbol-constructor\", 60044),\n    symbolBoolean: register(\"symbol-boolean\", 60047),\n    symbolNull: register(\"symbol-null\", 60047),\n    symbolNumeric: register(\"symbol-numeric\", 60048),\n    symbolNumber: register(\"symbol-number\", 60048),\n    symbolStructure: register(\"symbol-structure\", 60049),\n    symbolStruct: register(\"symbol-struct\", 60049),\n    symbolParameter: register(\"symbol-parameter\", 60050),\n    symbolTypeParameter: register(\"symbol-type-parameter\", 60050),\n    symbolKey: register(\"symbol-key\", 60051),\n    symbolText: register(\"symbol-text\", 60051),\n    symbolReference: register(\"symbol-reference\", 60052),\n    goToFile: register(\"go-to-file\", 60052),\n    symbolEnum: register(\"symbol-enum\", 60053),\n    symbolValue: register(\"symbol-value\", 60053),\n    symbolRuler: register(\"symbol-ruler\", 60054),\n    symbolUnit: register(\"symbol-unit\", 60054),\n    activateBreakpoints: register(\"activate-breakpoints\", 60055),\n    archive: register(\"archive\", 60056),\n    arrowBoth: register(\"arrow-both\", 60057),\n    arrowDown: register(\"arrow-down\", 60058),\n    arrowLeft: register(\"arrow-left\", 60059),\n    arrowRight: register(\"arrow-right\", 60060),\n    arrowSmallDown: register(\"arrow-small-down\", 60061),\n    arrowSmallLeft: register(\"arrow-small-left\", 60062),\n    arrowSmallRight: register(\"arrow-small-right\", 60063),\n    arrowSmallUp: register(\"arrow-small-up\", 60064),\n    arrowUp: register(\"arrow-up\", 60065),\n    bell: register(\"bell\", 60066),\n    bold: register(\"bold\", 60067),\n    book: register(\"book\", 60068),\n    bookmark: register(\"bookmark\", 60069),\n    debugBreakpointConditionalUnverified: register(\"debug-breakpoint-conditional-unverified\", 60070),\n    debugBreakpointConditional: register(\"debug-breakpoint-conditional\", 60071),\n    debugBreakpointConditionalDisabled: register(\"debug-breakpoint-conditional-disabled\", 60071),\n    debugBreakpointDataUnverified: register(\"debug-breakpoint-data-unverified\", 60072),\n    debugBreakpointData: register(\"debug-breakpoint-data\", 60073),\n    debugBreakpointDataDisabled: register(\"debug-breakpoint-data-disabled\", 60073),\n    debugBreakpointLogUnverified: register(\"debug-breakpoint-log-unverified\", 60074),\n    debugBreakpointLog: register(\"debug-breakpoint-log\", 60075),\n    debugBreakpointLogDisabled: register(\"debug-breakpoint-log-disabled\", 60075),\n    briefcase: register(\"briefcase\", 60076),\n    broadcast: register(\"broadcast\", 60077),\n    browser: register(\"browser\", 60078),\n    bug: register(\"bug\", 60079),\n    calendar: register(\"calendar\", 60080),\n    caseSensitive: register(\"case-sensitive\", 60081),\n    check: register(\"check\", 60082),\n    checklist: register(\"checklist\", 60083),\n    chevronDown: register(\"chevron-down\", 60084),\n    chevronLeft: register(\"chevron-left\", 60085),\n    chevronRight: register(\"chevron-right\", 60086),\n    chevronUp: register(\"chevron-up\", 60087),\n    chromeClose: register(\"chrome-close\", 60088),\n    chromeMaximize: register(\"chrome-maximize\", 60089),\n    chromeMinimize: register(\"chrome-minimize\", 60090),\n    chromeRestore: register(\"chrome-restore\", 60091),\n    circleOutline: register(\"circle-outline\", 60092),\n    circle: register(\"circle\", 60092),\n    debugBreakpointUnverified: register(\"debug-breakpoint-unverified\", 60092),\n    terminalDecorationIncomplete: register(\"terminal-decoration-incomplete\", 60092),\n    circleSlash: register(\"circle-slash\", 60093),\n    circuitBoard: register(\"circuit-board\", 60094),\n    clearAll: register(\"clear-all\", 60095),\n    clippy: register(\"clippy\", 60096),\n    closeAll: register(\"close-all\", 60097),\n    cloudDownload: register(\"cloud-download\", 60098),\n    cloudUpload: register(\"cloud-upload\", 60099),\n    code: register(\"code\", 60100),\n    collapseAll: register(\"collapse-all\", 60101),\n    colorMode: register(\"color-mode\", 60102),\n    commentDiscussion: register(\"comment-discussion\", 60103),\n    creditCard: register(\"credit-card\", 60105),\n    dash: register(\"dash\", 60108),\n    dashboard: register(\"dashboard\", 60109),\n    database: register(\"database\", 60110),\n    debugContinue: register(\"debug-continue\", 60111),\n    debugDisconnect: register(\"debug-disconnect\", 60112),\n    debugPause: register(\"debug-pause\", 60113),\n    debugRestart: register(\"debug-restart\", 60114),\n    debugStart: register(\"debug-start\", 60115),\n    debugStepInto: register(\"debug-step-into\", 60116),\n    debugStepOut: register(\"debug-step-out\", 60117),\n    debugStepOver: register(\"debug-step-over\", 60118),\n    debugStop: register(\"debug-stop\", 60119),\n    debug: register(\"debug\", 60120),\n    deviceCameraVideo: register(\"device-camera-video\", 60121),\n    deviceCamera: register(\"device-camera\", 60122),\n    deviceMobile: register(\"device-mobile\", 60123),\n    diffAdded: register(\"diff-added\", 60124),\n    diffIgnored: register(\"diff-ignored\", 60125),\n    diffModified: register(\"diff-modified\", 60126),\n    diffRemoved: register(\"diff-removed\", 60127),\n    diffRenamed: register(\"diff-renamed\", 60128),\n    diff: register(\"diff\", 60129),\n    diffSidebyside: register(\"diff-sidebyside\", 60129),\n    discard: register(\"discard\", 60130),\n    editorLayout: register(\"editor-layout\", 60131),\n    emptyWindow: register(\"empty-window\", 60132),\n    exclude: register(\"exclude\", 60133),\n    extensions: register(\"extensions\", 60134),\n    eyeClosed: register(\"eye-closed\", 60135),\n    fileBinary: register(\"file-binary\", 60136),\n    fileCode: register(\"file-code\", 60137),\n    fileMedia: register(\"file-media\", 60138),\n    filePdf: register(\"file-pdf\", 60139),\n    fileSubmodule: register(\"file-submodule\", 60140),\n    fileSymlinkDirectory: register(\"file-symlink-directory\", 60141),\n    fileSymlinkFile: register(\"file-symlink-file\", 60142),\n    fileZip: register(\"file-zip\", 60143),\n    files: register(\"files\", 60144),\n    filter: register(\"filter\", 60145),\n    flame: register(\"flame\", 60146),\n    foldDown: register(\"fold-down\", 60147),\n    foldUp: register(\"fold-up\", 60148),\n    fold: register(\"fold\", 60149),\n    folderActive: register(\"folder-active\", 60150),\n    folderOpened: register(\"folder-opened\", 60151),\n    gear: register(\"gear\", 60152),\n    gift: register(\"gift\", 60153),\n    gistSecret: register(\"gist-secret\", 60154),\n    gist: register(\"gist\", 60155),\n    gitCommit: register(\"git-commit\", 60156),\n    gitCompare: register(\"git-compare\", 60157),\n    compareChanges: register(\"compare-changes\", 60157),\n    gitMerge: register(\"git-merge\", 60158),\n    githubAction: register(\"github-action\", 60159),\n    githubAlt: register(\"github-alt\", 60160),\n    globe: register(\"globe\", 60161),\n    grabber: register(\"grabber\", 60162),\n    graph: register(\"graph\", 60163),\n    gripper: register(\"gripper\", 60164),\n    heart: register(\"heart\", 60165),\n    home: register(\"home\", 60166),\n    horizontalRule: register(\"horizontal-rule\", 60167),\n    hubot: register(\"hubot\", 60168),\n    inbox: register(\"inbox\", 60169),\n    issueReopened: register(\"issue-reopened\", 60171),\n    issues: register(\"issues\", 60172),\n    italic: register(\"italic\", 60173),\n    jersey: register(\"jersey\", 60174),\n    json: register(\"json\", 60175),\n    kebabVertical: register(\"kebab-vertical\", 60176),\n    key: register(\"key\", 60177),\n    law: register(\"law\", 60178),\n    lightbulbAutofix: register(\"lightbulb-autofix\", 60179),\n    linkExternal: register(\"link-external\", 60180),\n    link: register(\"link\", 60181),\n    listOrdered: register(\"list-ordered\", 60182),\n    listUnordered: register(\"list-unordered\", 60183),\n    liveShare: register(\"live-share\", 60184),\n    loading: register(\"loading\", 60185),\n    location: register(\"location\", 60186),\n    mailRead: register(\"mail-read\", 60187),\n    mail: register(\"mail\", 60188),\n    markdown: register(\"markdown\", 60189),\n    megaphone: register(\"megaphone\", 60190),\n    mention: register(\"mention\", 60191),\n    milestone: register(\"milestone\", 60192),\n    gitPullRequestMilestone: register(\"git-pull-request-milestone\", 60192),\n    mortarBoard: register(\"mortar-board\", 60193),\n    move: register(\"move\", 60194),\n    multipleWindows: register(\"multiple-windows\", 60195),\n    mute: register(\"mute\", 60196),\n    noNewline: register(\"no-newline\", 60197),\n    note: register(\"note\", 60198),\n    octoface: register(\"octoface\", 60199),\n    openPreview: register(\"open-preview\", 60200),\n    package: register(\"package\", 60201),\n    paintcan: register(\"paintcan\", 60202),\n    pin: register(\"pin\", 60203),\n    play: register(\"play\", 60204),\n    run: register(\"run\", 60204),\n    plug: register(\"plug\", 60205),\n    preserveCase: register(\"preserve-case\", 60206),\n    preview: register(\"preview\", 60207),\n    project: register(\"project\", 60208),\n    pulse: register(\"pulse\", 60209),\n    question: register(\"question\", 60210),\n    quote: register(\"quote\", 60211),\n    radioTower: register(\"radio-tower\", 60212),\n    reactions: register(\"reactions\", 60213),\n    references: register(\"references\", 60214),\n    refresh: register(\"refresh\", 60215),\n    regex: register(\"regex\", 60216),\n    remoteExplorer: register(\"remote-explorer\", 60217),\n    remote: register(\"remote\", 60218),\n    remove: register(\"remove\", 60219),\n    replaceAll: register(\"replace-all\", 60220),\n    replace: register(\"replace\", 60221),\n    repoClone: register(\"repo-clone\", 60222),\n    repoForcePush: register(\"repo-force-push\", 60223),\n    repoPull: register(\"repo-pull\", 60224),\n    repoPush: register(\"repo-push\", 60225),\n    report: register(\"report\", 60226),\n    requestChanges: register(\"request-changes\", 60227),\n    rocket: register(\"rocket\", 60228),\n    rootFolderOpened: register(\"root-folder-opened\", 60229),\n    rootFolder: register(\"root-folder\", 60230),\n    rss: register(\"rss\", 60231),\n    ruby: register(\"ruby\", 60232),\n    saveAll: register(\"save-all\", 60233),\n    saveAs: register(\"save-as\", 60234),\n    save: register(\"save\", 60235),\n    screenFull: register(\"screen-full\", 60236),\n    screenNormal: register(\"screen-normal\", 60237),\n    searchStop: register(\"search-stop\", 60238),\n    server: register(\"server\", 60240),\n    settingsGear: register(\"settings-gear\", 60241),\n    settings: register(\"settings\", 60242),\n    shield: register(\"shield\", 60243),\n    smiley: register(\"smiley\", 60244),\n    sortPrecedence: register(\"sort-precedence\", 60245),\n    splitHorizontal: register(\"split-horizontal\", 60246),\n    splitVertical: register(\"split-vertical\", 60247),\n    squirrel: register(\"squirrel\", 60248),\n    starFull: register(\"star-full\", 60249),\n    starHalf: register(\"star-half\", 60250),\n    symbolClass: register(\"symbol-class\", 60251),\n    symbolColor: register(\"symbol-color\", 60252),\n    symbolConstant: register(\"symbol-constant\", 60253),\n    symbolEnumMember: register(\"symbol-enum-member\", 60254),\n    symbolField: register(\"symbol-field\", 60255),\n    symbolFile: register(\"symbol-file\", 60256),\n    symbolInterface: register(\"symbol-interface\", 60257),\n    symbolKeyword: register(\"symbol-keyword\", 60258),\n    symbolMisc: register(\"symbol-misc\", 60259),\n    symbolOperator: register(\"symbol-operator\", 60260),\n    symbolProperty: register(\"symbol-property\", 60261),\n    wrench: register(\"wrench\", 60261),\n    wrenchSubaction: register(\"wrench-subaction\", 60261),\n    symbolSnippet: register(\"symbol-snippet\", 60262),\n    tasklist: register(\"tasklist\", 60263),\n    telescope: register(\"telescope\", 60264),\n    textSize: register(\"text-size\", 60265),\n    threeBars: register(\"three-bars\", 60266),\n    thumbsdown: register(\"thumbsdown\", 60267),\n    thumbsup: register(\"thumbsup\", 60268),\n    tools: register(\"tools\", 60269),\n    triangleDown: register(\"triangle-down\", 60270),\n    triangleLeft: register(\"triangle-left\", 60271),\n    triangleRight: register(\"triangle-right\", 60272),\n    triangleUp: register(\"triangle-up\", 60273),\n    twitter: register(\"twitter\", 60274),\n    unfold: register(\"unfold\", 60275),\n    unlock: register(\"unlock\", 60276),\n    unmute: register(\"unmute\", 60277),\n    unverified: register(\"unverified\", 60278),\n    verified: register(\"verified\", 60279),\n    versions: register(\"versions\", 60280),\n    vmActive: register(\"vm-active\", 60281),\n    vmOutline: register(\"vm-outline\", 60282),\n    vmRunning: register(\"vm-running\", 60283),\n    watch: register(\"watch\", 60284),\n    whitespace: register(\"whitespace\", 60285),\n    wholeWord: register(\"whole-word\", 60286),\n    window: register(\"window\", 60287),\n    wordWrap: register(\"word-wrap\", 60288),\n    zoomIn: register(\"zoom-in\", 60289),\n    zoomOut: register(\"zoom-out\", 60290),\n    listFilter: register(\"list-filter\", 60291),\n    listFlat: register(\"list-flat\", 60292),\n    listSelection: register(\"list-selection\", 60293),\n    selection: register(\"selection\", 60293),\n    listTree: register(\"list-tree\", 60294),\n    debugBreakpointFunctionUnverified: register(\"debug-breakpoint-function-unverified\", 60295),\n    debugBreakpointFunction: register(\"debug-breakpoint-function\", 60296),\n    debugBreakpointFunctionDisabled: register(\"debug-breakpoint-function-disabled\", 60296),\n    debugStackframeActive: register(\"debug-stackframe-active\", 60297),\n    circleSmallFilled: register(\"circle-small-filled\", 60298),\n    debugStackframeDot: register(\"debug-stackframe-dot\", 60298),\n    terminalDecorationMark: register(\"terminal-decoration-mark\", 60298),\n    debugStackframe: register(\"debug-stackframe\", 60299),\n    debugStackframeFocused: register(\"debug-stackframe-focused\", 60299),\n    debugBreakpointUnsupported: register(\"debug-breakpoint-unsupported\", 60300),\n    symbolString: register(\"symbol-string\", 60301),\n    debugReverseContinue: register(\"debug-reverse-continue\", 60302),\n    debugStepBack: register(\"debug-step-back\", 60303),\n    debugRestartFrame: register(\"debug-restart-frame\", 60304),\n    debugAlt: register(\"debug-alt\", 60305),\n    callIncoming: register(\"call-incoming\", 60306),\n    callOutgoing: register(\"call-outgoing\", 60307),\n    menu: register(\"menu\", 60308),\n    expandAll: register(\"expand-all\", 60309),\n    feedback: register(\"feedback\", 60310),\n    gitPullRequestReviewer: register(\"git-pull-request-reviewer\", 60310),\n    groupByRefType: register(\"group-by-ref-type\", 60311),\n    ungroupByRefType: register(\"ungroup-by-ref-type\", 60312),\n    account: register(\"account\", 60313),\n    gitPullRequestAssignee: register(\"git-pull-request-assignee\", 60313),\n    bellDot: register(\"bell-dot\", 60314),\n    debugConsole: register(\"debug-console\", 60315),\n    library: register(\"library\", 60316),\n    output: register(\"output\", 60317),\n    runAll: register(\"run-all\", 60318),\n    syncIgnored: register(\"sync-ignored\", 60319),\n    pinned: register(\"pinned\", 60320),\n    githubInverted: register(\"github-inverted\", 60321),\n    serverProcess: register(\"server-process\", 60322),\n    serverEnvironment: register(\"server-environment\", 60323),\n    pass: register(\"pass\", 60324),\n    issueClosed: register(\"issue-closed\", 60324),\n    stopCircle: register(\"stop-circle\", 60325),\n    playCircle: register(\"play-circle\", 60326),\n    record: register(\"record\", 60327),\n    debugAltSmall: register(\"debug-alt-small\", 60328),\n    vmConnect: register(\"vm-connect\", 60329),\n    cloud: register(\"cloud\", 60330),\n    merge: register(\"merge\", 60331),\n    export: register(\"export\", 60332),\n    graphLeft: register(\"graph-left\", 60333),\n    magnet: register(\"magnet\", 60334),\n    notebook: register(\"notebook\", 60335),\n    redo: register(\"redo\", 60336),\n    checkAll: register(\"check-all\", 60337),\n    pinnedDirty: register(\"pinned-dirty\", 60338),\n    passFilled: register(\"pass-filled\", 60339),\n    circleLargeFilled: register(\"circle-large-filled\", 60340),\n    circleLarge: register(\"circle-large\", 60341),\n    circleLargeOutline: register(\"circle-large-outline\", 60341),\n    combine: register(\"combine\", 60342),\n    gather: register(\"gather\", 60342),\n    table: register(\"table\", 60343),\n    variableGroup: register(\"variable-group\", 60344),\n    typeHierarchy: register(\"type-hierarchy\", 60345),\n    typeHierarchySub: register(\"type-hierarchy-sub\", 60346),\n    typeHierarchySuper: register(\"type-hierarchy-super\", 60347),\n    gitPullRequestCreate: register(\"git-pull-request-create\", 60348),\n    runAbove: register(\"run-above\", 60349),\n    runBelow: register(\"run-below\", 60350),\n    notebookTemplate: register(\"notebook-template\", 60351),\n    debugRerun: register(\"debug-rerun\", 60352),\n    workspaceTrusted: register(\"workspace-trusted\", 60353),\n    workspaceUntrusted: register(\"workspace-untrusted\", 60354),\n    workspaceUnknown: register(\"workspace-unknown\", 60355),\n    terminalCmd: register(\"terminal-cmd\", 60356),\n    terminalDebian: register(\"terminal-debian\", 60357),\n    terminalLinux: register(\"terminal-linux\", 60358),\n    terminalPowershell: register(\"terminal-powershell\", 60359),\n    terminalTmux: register(\"terminal-tmux\", 60360),\n    terminalUbuntu: register(\"terminal-ubuntu\", 60361),\n    terminalBash: register(\"terminal-bash\", 60362),\n    arrowSwap: register(\"arrow-swap\", 60363),\n    copy: register(\"copy\", 60364),\n    personAdd: register(\"person-add\", 60365),\n    filterFilled: register(\"filter-filled\", 60366),\n    wand: register(\"wand\", 60367),\n    debugLineByLine: register(\"debug-line-by-line\", 60368),\n    inspect: register(\"inspect\", 60369),\n    layers: register(\"layers\", 60370),\n    layersDot: register(\"layers-dot\", 60371),\n    layersActive: register(\"layers-active\", 60372),\n    compass: register(\"compass\", 60373),\n    compassDot: register(\"compass-dot\", 60374),\n    compassActive: register(\"compass-active\", 60375),\n    azure: register(\"azure\", 60376),\n    issueDraft: register(\"issue-draft\", 60377),\n    gitPullRequestClosed: register(\"git-pull-request-closed\", 60378),\n    gitPullRequestDraft: register(\"git-pull-request-draft\", 60379),\n    debugAll: register(\"debug-all\", 60380),\n    debugCoverage: register(\"debug-coverage\", 60381),\n    runErrors: register(\"run-errors\", 60382),\n    folderLibrary: register(\"folder-library\", 60383),\n    debugContinueSmall: register(\"debug-continue-small\", 60384),\n    beakerStop: register(\"beaker-stop\", 60385),\n    graphLine: register(\"graph-line\", 60386),\n    graphScatter: register(\"graph-scatter\", 60387),\n    pieChart: register(\"pie-chart\", 60388),\n    bracket: register(\"bracket\", 60175),\n    bracketDot: register(\"bracket-dot\", 60389),\n    bracketError: register(\"bracket-error\", 60390),\n    lockSmall: register(\"lock-small\", 60391),\n    azureDevops: register(\"azure-devops\", 60392),\n    verifiedFilled: register(\"verified-filled\", 60393),\n    newline: register(\"newline\", 60394),\n    layout: register(\"layout\", 60395),\n    layoutActivitybarLeft: register(\"layout-activitybar-left\", 60396),\n    layoutActivitybarRight: register(\"layout-activitybar-right\", 60397),\n    layoutPanelLeft: register(\"layout-panel-left\", 60398),\n    layoutPanelCenter: register(\"layout-panel-center\", 60399),\n    layoutPanelJustify: register(\"layout-panel-justify\", 60400),\n    layoutPanelRight: register(\"layout-panel-right\", 60401),\n    layoutPanel: register(\"layout-panel\", 60402),\n    layoutSidebarLeft: register(\"layout-sidebar-left\", 60403),\n    layoutSidebarRight: register(\"layout-sidebar-right\", 60404),\n    layoutStatusbar: register(\"layout-statusbar\", 60405),\n    layoutMenubar: register(\"layout-menubar\", 60406),\n    layoutCentered: register(\"layout-centered\", 60407),\n    target: register(\"target\", 60408),\n    indent: register(\"indent\", 60409),\n    recordSmall: register(\"record-small\", 60410),\n    errorSmall: register(\"error-small\", 60411),\n    terminalDecorationError: register(\"terminal-decoration-error\", 60411),\n    arrowCircleDown: register(\"arrow-circle-down\", 60412),\n    arrowCircleLeft: register(\"arrow-circle-left\", 60413),\n    arrowCircleRight: register(\"arrow-circle-right\", 60414),\n    arrowCircleUp: register(\"arrow-circle-up\", 60415),\n    layoutSidebarRightOff: register(\"layout-sidebar-right-off\", 60416),\n    layoutPanelOff: register(\"layout-panel-off\", 60417),\n    layoutSidebarLeftOff: register(\"layout-sidebar-left-off\", 60418),\n    blank: register(\"blank\", 60419),\n    heartFilled: register(\"heart-filled\", 60420),\n    map: register(\"map\", 60421),\n    mapHorizontal: register(\"map-horizontal\", 60421),\n    foldHorizontal: register(\"fold-horizontal\", 60421),\n    mapFilled: register(\"map-filled\", 60422),\n    mapHorizontalFilled: register(\"map-horizontal-filled\", 60422),\n    foldHorizontalFilled: register(\"fold-horizontal-filled\", 60422),\n    circleSmall: register(\"circle-small\", 60423),\n    bellSlash: register(\"bell-slash\", 60424),\n    bellSlashDot: register(\"bell-slash-dot\", 60425),\n    commentUnresolved: register(\"comment-unresolved\", 60426),\n    gitPullRequestGoToChanges: register(\"git-pull-request-go-to-changes\", 60427),\n    gitPullRequestNewChanges: register(\"git-pull-request-new-changes\", 60428),\n    searchFuzzy: register(\"search-fuzzy\", 60429),\n    commentDraft: register(\"comment-draft\", 60430),\n    send: register(\"send\", 60431),\n    sparkle: register(\"sparkle\", 60432),\n    insert: register(\"insert\", 60433),\n    mic: register(\"mic\", 60434),\n    thumbsdownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsupFilled: register(\"thumbsup-filled\", 60436),\n    coffee: register(\"coffee\", 60437),\n    snake: register(\"snake\", 60438),\n    game: register(\"game\", 60439),\n    vr: register(\"vr\", 60440),\n    chip: register(\"chip\", 60441),\n    piano: register(\"piano\", 60442),\n    music: register(\"music\", 60443),\n    micFilled: register(\"mic-filled\", 60444),\n    repoFetch: register(\"repo-fetch\", 60445),\n    copilot: register(\"copilot\", 60446),\n    lightbulbSparkle: register(\"lightbulb-sparkle\", 60447),\n    robot: register(\"robot\", 60448),\n    sparkleFilled: register(\"sparkle-filled\", 60449),\n    diffSingle: register(\"diff-single\", 60450),\n    diffMultiple: register(\"diff-multiple\", 60451),\n    surroundWith: register(\"surround-with\", 60452),\n    share: register(\"share\", 60453),\n    gitStash: register(\"git-stash\", 60454),\n    gitStashApply: register(\"git-stash-apply\", 60455),\n    gitStashPop: register(\"git-stash-pop\", 60456),\n    vscode: register(\"vscode\", 60457),\n    vscodeInsiders: register(\"vscode-insiders\", 60458),\n    codeOss: register(\"code-oss\", 60459),\n    runCoverage: register(\"run-coverage\", 60460),\n    runAllCoverage: register(\"run-all-coverage\", 60461),\n    coverage: register(\"coverage\", 60462),\n    githubProject: register(\"github-project\", 60463),\n    mapVertical: register(\"map-vertical\", 60464),\n    foldVertical: register(\"fold-vertical\", 60464),\n    mapVerticalFilled: register(\"map-vertical-filled\", 60465),\n    foldVerticalFilled: register(\"fold-vertical-filled\", 60465),\n    goToSearch: register(\"go-to-search\", 60466),\n    percentage: register(\"percentage\", 60467),\n    sortPercentage: register(\"sort-percentage\", 60467)\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codicons.js\n  var codiconsDerived = {\n    dialogError: register(\"dialog-error\", \"error\"),\n    dialogWarning: register(\"dialog-warning\", \"warning\"),\n    dialogInfo: register(\"dialog-info\", \"info\"),\n    dialogClose: register(\"dialog-close\", \"close\"),\n    treeItemExpanded: register(\"tree-item-expanded\", \"chevron-down\"),\n    // collapsed is done with rotation\n    treeFilterOnTypeOn: register(\"tree-filter-on-type-on\", \"list-filter\"),\n    treeFilterOnTypeOff: register(\"tree-filter-on-type-off\", \"list-selection\"),\n    treeFilterClear: register(\"tree-filter-clear\", \"close\"),\n    treeItemLoading: register(\"tree-item-loading\", \"loading\"),\n    menuSelection: register(\"menu-selection\", \"check\"),\n    menuSubmenu: register(\"menu-submenu\", \"chevron-right\"),\n    menuBarMore: register(\"menubar-more\", \"more\"),\n    scrollbarButtonLeft: register(\"scrollbar-button-left\", \"triangle-left\"),\n    scrollbarButtonRight: register(\"scrollbar-button-right\", \"triangle-right\"),\n    scrollbarButtonUp: register(\"scrollbar-button-up\", \"triangle-up\"),\n    scrollbarButtonDown: register(\"scrollbar-button-down\", \"triangle-down\"),\n    toolBarMore: register(\"toolbar-more\", \"more\"),\n    quickInputBack: register(\"quick-input-back\", \"arrow-left\"),\n    dropDownButton: register(\"drop-down-button\", 60084),\n    symbolCustomColor: register(\"symbol-customcolor\", 60252),\n    exportIcon: register(\"export\", 60332),\n    workspaceUnspecified: register(\"workspace-unspecified\", 60355),\n    newLine: register(\"newline\", 60394),\n    thumbsDownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsUpFilled: register(\"thumbsup-filled\", 60436),\n    gitFetch: register(\"git-fetch\", 60445),\n    lightbulbSparkleAutofix: register(\"lightbulb-sparkle-autofix\", 60447),\n    debugBreakpointPending: register(\"debug-breakpoint-pending\", 60377)\n  };\n  var Codicon = {\n    ...codiconsLibrary,\n    ...codiconsDerived\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js\n  var TokenizationRegistry = class {\n    constructor() {\n      this._tokenizationSupports = /* @__PURE__ */ new Map();\n      this._factories = /* @__PURE__ */ new Map();\n      this._onDidChange = new Emitter();\n      this.onDidChange = this._onDidChange.event;\n      this._colorMap = null;\n    }\n    handleChange(languageIds) {\n      this._onDidChange.fire({\n        changedLanguages: languageIds,\n        changedColorMap: false\n      });\n    }\n    register(languageId, support) {\n      this._tokenizationSupports.set(languageId, support);\n      this.handleChange([languageId]);\n      return toDisposable(() => {\n        if (this._tokenizationSupports.get(languageId) !== support) {\n          return;\n        }\n        this._tokenizationSupports.delete(languageId);\n        this.handleChange([languageId]);\n      });\n    }\n    get(languageId) {\n      return this._tokenizationSupports.get(languageId) || null;\n    }\n    registerFactory(languageId, factory) {\n      var _a5;\n      (_a5 = this._factories.get(languageId)) === null || _a5 === void 0 ? void 0 : _a5.dispose();\n      const myData = new TokenizationSupportFactoryData(this, languageId, factory);\n      this._factories.set(languageId, myData);\n      return toDisposable(() => {\n        const v = this._factories.get(languageId);\n        if (!v || v !== myData) {\n          return;\n        }\n        this._factories.delete(languageId);\n        v.dispose();\n      });\n    }\n    async getOrCreate(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return tokenizationSupport;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return null;\n      }\n      await factory.resolve();\n      return this.get(languageId);\n    }\n    isResolved(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return true;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return true;\n      }\n      return false;\n    }\n    setColorMap(colorMap) {\n      this._colorMap = colorMap;\n      this._onDidChange.fire({\n        changedLanguages: Array.from(this._tokenizationSupports.keys()),\n        changedColorMap: true\n      });\n    }\n    getColorMap() {\n      return this._colorMap;\n    }\n    getDefaultBackground() {\n      if (this._colorMap && this._colorMap.length > 2) {\n        return this._colorMap[\n          2\n          /* ColorId.DefaultBackground */\n        ];\n      }\n      return null;\n    }\n  };\n  var TokenizationSupportFactoryData = class extends Disposable {\n    get isResolved() {\n      return this._isResolved;\n    }\n    constructor(_registry, _languageId, _factory) {\n      super();\n      this._registry = _registry;\n      this._languageId = _languageId;\n      this._factory = _factory;\n      this._isDisposed = false;\n      this._resolvePromise = null;\n      this._isResolved = false;\n    }\n    dispose() {\n      this._isDisposed = true;\n      super.dispose();\n    }\n    async resolve() {\n      if (!this._resolvePromise) {\n        this._resolvePromise = this._create();\n      }\n      return this._resolvePromise;\n    }\n    async _create() {\n      const value = await this._factory.tokenizationSupport;\n      this._isResolved = true;\n      if (value && !this._isDisposed) {\n        this._register(this._registry.register(this._languageId, value));\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages.js\n  var Token = class {\n    constructor(offset, type, language) {\n      this.offset = offset;\n      this.type = type;\n      this.language = language;\n      this._tokenBrand = void 0;\n    }\n    toString() {\n      return \"(\" + this.offset + \", \" + this.type + \")\";\n    }\n  };\n  var HoverVerbosityAction;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction || (HoverVerbosityAction = {}));\n  var CompletionItemKinds;\n  (function(CompletionItemKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolMethod);\n    byKind.set(1, Codicon.symbolFunction);\n    byKind.set(2, Codicon.symbolConstructor);\n    byKind.set(3, Codicon.symbolField);\n    byKind.set(4, Codicon.symbolVariable);\n    byKind.set(5, Codicon.symbolClass);\n    byKind.set(6, Codicon.symbolStruct);\n    byKind.set(7, Codicon.symbolInterface);\n    byKind.set(8, Codicon.symbolModule);\n    byKind.set(9, Codicon.symbolProperty);\n    byKind.set(10, Codicon.symbolEvent);\n    byKind.set(11, Codicon.symbolOperator);\n    byKind.set(12, Codicon.symbolUnit);\n    byKind.set(13, Codicon.symbolValue);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(14, Codicon.symbolConstant);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(16, Codicon.symbolEnumMember);\n    byKind.set(17, Codicon.symbolKeyword);\n    byKind.set(27, Codicon.symbolSnippet);\n    byKind.set(18, Codicon.symbolText);\n    byKind.set(19, Codicon.symbolColor);\n    byKind.set(20, Codicon.symbolFile);\n    byKind.set(21, Codicon.symbolReference);\n    byKind.set(22, Codicon.symbolCustomColor);\n    byKind.set(23, Codicon.symbolFolder);\n    byKind.set(24, Codicon.symbolTypeParameter);\n    byKind.set(25, Codicon.account);\n    byKind.set(26, Codicon.issues);\n    function toIcon(kind) {\n      let codicon = byKind.get(kind);\n      if (!codicon) {\n        console.info(\"No codicon found for CompletionItemKind \" + kind);\n        codicon = Codicon.symbolProperty;\n      }\n      return codicon;\n    }\n    CompletionItemKinds2.toIcon = toIcon;\n    const data = /* @__PURE__ */ new Map();\n    data.set(\n      \"method\",\n      0\n      /* CompletionItemKind.Method */\n    );\n    data.set(\n      \"function\",\n      1\n      /* CompletionItemKind.Function */\n    );\n    data.set(\n      \"constructor\",\n      2\n      /* CompletionItemKind.Constructor */\n    );\n    data.set(\n      \"field\",\n      3\n      /* CompletionItemKind.Field */\n    );\n    data.set(\n      \"variable\",\n      4\n      /* CompletionItemKind.Variable */\n    );\n    data.set(\n      \"class\",\n      5\n      /* CompletionItemKind.Class */\n    );\n    data.set(\n      \"struct\",\n      6\n      /* CompletionItemKind.Struct */\n    );\n    data.set(\n      \"interface\",\n      7\n      /* CompletionItemKind.Interface */\n    );\n    data.set(\n      \"module\",\n      8\n      /* CompletionItemKind.Module */\n    );\n    data.set(\n      \"property\",\n      9\n      /* CompletionItemKind.Property */\n    );\n    data.set(\n      \"event\",\n      10\n      /* CompletionItemKind.Event */\n    );\n    data.set(\n      \"operator\",\n      11\n      /* CompletionItemKind.Operator */\n    );\n    data.set(\n      \"unit\",\n      12\n      /* CompletionItemKind.Unit */\n    );\n    data.set(\n      \"value\",\n      13\n      /* CompletionItemKind.Value */\n    );\n    data.set(\n      \"constant\",\n      14\n      /* CompletionItemKind.Constant */\n    );\n    data.set(\n      \"enum\",\n      15\n      /* CompletionItemKind.Enum */\n    );\n    data.set(\n      \"enum-member\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"enumMember\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"keyword\",\n      17\n      /* CompletionItemKind.Keyword */\n    );\n    data.set(\n      \"snippet\",\n      27\n      /* CompletionItemKind.Snippet */\n    );\n    data.set(\n      \"text\",\n      18\n      /* CompletionItemKind.Text */\n    );\n    data.set(\n      \"color\",\n      19\n      /* CompletionItemKind.Color */\n    );\n    data.set(\n      \"file\",\n      20\n      /* CompletionItemKind.File */\n    );\n    data.set(\n      \"reference\",\n      21\n      /* CompletionItemKind.Reference */\n    );\n    data.set(\n      \"customcolor\",\n      22\n      /* CompletionItemKind.Customcolor */\n    );\n    data.set(\n      \"folder\",\n      23\n      /* CompletionItemKind.Folder */\n    );\n    data.set(\n      \"type-parameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"typeParameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"account\",\n      25\n      /* CompletionItemKind.User */\n    );\n    data.set(\n      \"issue\",\n      26\n      /* CompletionItemKind.Issue */\n    );\n    function fromString(value, strict) {\n      let res = data.get(value);\n      if (typeof res === \"undefined\" && !strict) {\n        res = 9;\n      }\n      return res;\n    }\n    CompletionItemKinds2.fromString = fromString;\n  })(CompletionItemKinds || (CompletionItemKinds = {}));\n  var InlineCompletionTriggerKind;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));\n  var DocumentPasteTriggerKind;\n  (function(DocumentPasteTriggerKind2) {\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"Automatic\"] = 0] = \"Automatic\";\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"PasteAs\"] = 1] = \"PasteAs\";\n  })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {}));\n  var SignatureHelpTriggerKind;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));\n  var DocumentHighlightKind;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind || (DocumentHighlightKind = {}));\n  var symbolKindNames = {\n    [\n      17\n      /* SymbolKind.Array */\n    ]: localize(\"Array\", \"array\"),\n    [\n      16\n      /* SymbolKind.Boolean */\n    ]: localize(\"Boolean\", \"boolean\"),\n    [\n      4\n      /* SymbolKind.Class */\n    ]: localize(\"Class\", \"class\"),\n    [\n      13\n      /* SymbolKind.Constant */\n    ]: localize(\"Constant\", \"constant\"),\n    [\n      8\n      /* SymbolKind.Constructor */\n    ]: localize(\"Constructor\", \"constructor\"),\n    [\n      9\n      /* SymbolKind.Enum */\n    ]: localize(\"Enum\", \"enumeration\"),\n    [\n      21\n      /* SymbolKind.EnumMember */\n    ]: localize(\"EnumMember\", \"enumeration member\"),\n    [\n      23\n      /* SymbolKind.Event */\n    ]: localize(\"Event\", \"event\"),\n    [\n      7\n      /* SymbolKind.Field */\n    ]: localize(\"Field\", \"field\"),\n    [\n      0\n      /* SymbolKind.File */\n    ]: localize(\"File\", \"file\"),\n    [\n      11\n      /* SymbolKind.Function */\n    ]: localize(\"Function\", \"function\"),\n    [\n      10\n      /* SymbolKind.Interface */\n    ]: localize(\"Interface\", \"interface\"),\n    [\n      19\n      /* SymbolKind.Key */\n    ]: localize(\"Key\", \"key\"),\n    [\n      5\n      /* SymbolKind.Method */\n    ]: localize(\"Method\", \"method\"),\n    [\n      1\n      /* SymbolKind.Module */\n    ]: localize(\"Module\", \"module\"),\n    [\n      2\n      /* SymbolKind.Namespace */\n    ]: localize(\"Namespace\", \"namespace\"),\n    [\n      20\n      /* SymbolKind.Null */\n    ]: localize(\"Null\", \"null\"),\n    [\n      15\n      /* SymbolKind.Number */\n    ]: localize(\"Number\", \"number\"),\n    [\n      18\n      /* SymbolKind.Object */\n    ]: localize(\"Object\", \"object\"),\n    [\n      24\n      /* SymbolKind.Operator */\n    ]: localize(\"Operator\", \"operator\"),\n    [\n      3\n      /* SymbolKind.Package */\n    ]: localize(\"Package\", \"package\"),\n    [\n      6\n      /* SymbolKind.Property */\n    ]: localize(\"Property\", \"property\"),\n    [\n      14\n      /* SymbolKind.String */\n    ]: localize(\"String\", \"string\"),\n    [\n      22\n      /* SymbolKind.Struct */\n    ]: localize(\"Struct\", \"struct\"),\n    [\n      25\n      /* SymbolKind.TypeParameter */\n    ]: localize(\"TypeParameter\", \"type parameter\"),\n    [\n      12\n      /* SymbolKind.Variable */\n    ]: localize(\"Variable\", \"variable\")\n  };\n  var SymbolKinds;\n  (function(SymbolKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolFile);\n    byKind.set(1, Codicon.symbolModule);\n    byKind.set(2, Codicon.symbolNamespace);\n    byKind.set(3, Codicon.symbolPackage);\n    byKind.set(4, Codicon.symbolClass);\n    byKind.set(5, Codicon.symbolMethod);\n    byKind.set(6, Codicon.symbolProperty);\n    byKind.set(7, Codicon.symbolField);\n    byKind.set(8, Codicon.symbolConstructor);\n    byKind.set(9, Codicon.symbolEnum);\n    byKind.set(10, Codicon.symbolInterface);\n    byKind.set(11, Codicon.symbolFunction);\n    byKind.set(12, Codicon.symbolVariable);\n    byKind.set(13, Codicon.symbolConstant);\n    byKind.set(14, Codicon.symbolString);\n    byKind.set(15, Codicon.symbolNumber);\n    byKind.set(16, Codicon.symbolBoolean);\n    byKind.set(17, Codicon.symbolArray);\n    byKind.set(18, Codicon.symbolObject);\n    byKind.set(19, Codicon.symbolKey);\n    byKind.set(20, Codicon.symbolNull);\n    byKind.set(21, Codicon.symbolEnumMember);\n    byKind.set(22, Codicon.symbolStruct);\n    byKind.set(23, Codicon.symbolEvent);\n    byKind.set(24, Codicon.symbolOperator);\n    byKind.set(25, Codicon.symbolTypeParameter);\n    function toIcon(kind) {\n      let icon = byKind.get(kind);\n      if (!icon) {\n        console.info(\"No codicon found for SymbolKind \" + kind);\n        icon = Codicon.symbolProperty;\n      }\n      return icon;\n    }\n    SymbolKinds2.toIcon = toIcon;\n  })(SymbolKinds || (SymbolKinds = {}));\n  var FoldingRangeKind = class _FoldingRangeKind {\n    /**\n     * Returns a {@link FoldingRangeKind} for the given value.\n     *\n     * @param value of the kind.\n     */\n    static fromValue(value) {\n      switch (value) {\n        case \"comment\":\n          return _FoldingRangeKind.Comment;\n        case \"imports\":\n          return _FoldingRangeKind.Imports;\n        case \"region\":\n          return _FoldingRangeKind.Region;\n      }\n      return new _FoldingRangeKind(value);\n    }\n    /**\n     * Creates a new {@link FoldingRangeKind}.\n     *\n     * @param value of the kind.\n     */\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  FoldingRangeKind.Comment = new FoldingRangeKind(\"comment\");\n  FoldingRangeKind.Imports = new FoldingRangeKind(\"imports\");\n  FoldingRangeKind.Region = new FoldingRangeKind(\"region\");\n  var NewSymbolNameTag;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag || (NewSymbolNameTag = {}));\n  var NewSymbolNameTriggerKind;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {}));\n  var Command;\n  (function(Command3) {\n    function is(obj) {\n      if (!obj || typeof obj !== \"object\") {\n        return false;\n      }\n      return typeof obj.id === \"string\" && typeof obj.title === \"string\";\n    }\n    Command3.is = is;\n  })(Command || (Command = {}));\n  var InlayHintKind;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind || (InlayHintKind = {}));\n  var TokenizationRegistry2 = new TokenizationRegistry();\n  var InlineEditTriggerKind;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind || (InlineEditTriggerKind = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js\n  var AccessibilitySupport;\n  (function(AccessibilitySupport2) {\n    AccessibilitySupport2[AccessibilitySupport2[\"Unknown\"] = 0] = \"Unknown\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Disabled\"] = 1] = \"Disabled\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Enabled\"] = 2] = \"Enabled\";\n  })(AccessibilitySupport || (AccessibilitySupport = {}));\n  var CodeActionTriggerType;\n  (function(CodeActionTriggerType2) {\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Invoke\"] = 1] = \"Invoke\";\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Auto\"] = 2] = \"Auto\";\n  })(CodeActionTriggerType || (CodeActionTriggerType = {}));\n  var CompletionItemInsertTextRule;\n  (function(CompletionItemInsertTextRule2) {\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"None\"] = 0] = \"None\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"KeepWhitespace\"] = 1] = \"KeepWhitespace\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"InsertAsSnippet\"] = 4] = \"InsertAsSnippet\";\n  })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));\n  var CompletionItemKind;\n  (function(CompletionItemKind3) {\n    CompletionItemKind3[CompletionItemKind3[\"Method\"] = 0] = \"Method\";\n    CompletionItemKind3[CompletionItemKind3[\"Function\"] = 1] = \"Function\";\n    CompletionItemKind3[CompletionItemKind3[\"Constructor\"] = 2] = \"Constructor\";\n    CompletionItemKind3[CompletionItemKind3[\"Field\"] = 3] = \"Field\";\n    CompletionItemKind3[CompletionItemKind3[\"Variable\"] = 4] = \"Variable\";\n    CompletionItemKind3[CompletionItemKind3[\"Class\"] = 5] = \"Class\";\n    CompletionItemKind3[CompletionItemKind3[\"Struct\"] = 6] = \"Struct\";\n    CompletionItemKind3[CompletionItemKind3[\"Interface\"] = 7] = \"Interface\";\n    CompletionItemKind3[CompletionItemKind3[\"Module\"] = 8] = \"Module\";\n    CompletionItemKind3[CompletionItemKind3[\"Property\"] = 9] = \"Property\";\n    CompletionItemKind3[CompletionItemKind3[\"Event\"] = 10] = \"Event\";\n    CompletionItemKind3[CompletionItemKind3[\"Operator\"] = 11] = \"Operator\";\n    CompletionItemKind3[CompletionItemKind3[\"Unit\"] = 12] = \"Unit\";\n    CompletionItemKind3[CompletionItemKind3[\"Value\"] = 13] = \"Value\";\n    CompletionItemKind3[CompletionItemKind3[\"Constant\"] = 14] = \"Constant\";\n    CompletionItemKind3[CompletionItemKind3[\"Enum\"] = 15] = \"Enum\";\n    CompletionItemKind3[CompletionItemKind3[\"EnumMember\"] = 16] = \"EnumMember\";\n    CompletionItemKind3[CompletionItemKind3[\"Keyword\"] = 17] = \"Keyword\";\n    CompletionItemKind3[CompletionItemKind3[\"Text\"] = 18] = \"Text\";\n    CompletionItemKind3[CompletionItemKind3[\"Color\"] = 19] = \"Color\";\n    CompletionItemKind3[CompletionItemKind3[\"File\"] = 20] = \"File\";\n    CompletionItemKind3[CompletionItemKind3[\"Reference\"] = 21] = \"Reference\";\n    CompletionItemKind3[CompletionItemKind3[\"Customcolor\"] = 22] = \"Customcolor\";\n    CompletionItemKind3[CompletionItemKind3[\"Folder\"] = 23] = \"Folder\";\n    CompletionItemKind3[CompletionItemKind3[\"TypeParameter\"] = 24] = \"TypeParameter\";\n    CompletionItemKind3[CompletionItemKind3[\"User\"] = 25] = \"User\";\n    CompletionItemKind3[CompletionItemKind3[\"Issue\"] = 26] = \"Issue\";\n    CompletionItemKind3[CompletionItemKind3[\"Snippet\"] = 27] = \"Snippet\";\n  })(CompletionItemKind || (CompletionItemKind = {}));\n  var CompletionItemTag;\n  (function(CompletionItemTag3) {\n    CompletionItemTag3[CompletionItemTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(CompletionItemTag || (CompletionItemTag = {}));\n  var CompletionTriggerKind;\n  (function(CompletionTriggerKind2) {\n    CompletionTriggerKind2[CompletionTriggerKind2[\"Invoke\"] = 0] = \"Invoke\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerCharacter\"] = 1] = \"TriggerCharacter\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerForIncompleteCompletions\"] = 2] = \"TriggerForIncompleteCompletions\";\n  })(CompletionTriggerKind || (CompletionTriggerKind = {}));\n  var ContentWidgetPositionPreference;\n  (function(ContentWidgetPositionPreference2) {\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"EXACT\"] = 0] = \"EXACT\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"ABOVE\"] = 1] = \"ABOVE\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"BELOW\"] = 2] = \"BELOW\";\n  })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));\n  var CursorChangeReason;\n  (function(CursorChangeReason2) {\n    CursorChangeReason2[CursorChangeReason2[\"NotSet\"] = 0] = \"NotSet\";\n    CursorChangeReason2[CursorChangeReason2[\"ContentFlush\"] = 1] = \"ContentFlush\";\n    CursorChangeReason2[CursorChangeReason2[\"RecoverFromMarkers\"] = 2] = \"RecoverFromMarkers\";\n    CursorChangeReason2[CursorChangeReason2[\"Explicit\"] = 3] = \"Explicit\";\n    CursorChangeReason2[CursorChangeReason2[\"Paste\"] = 4] = \"Paste\";\n    CursorChangeReason2[CursorChangeReason2[\"Undo\"] = 5] = \"Undo\";\n    CursorChangeReason2[CursorChangeReason2[\"Redo\"] = 6] = \"Redo\";\n  })(CursorChangeReason || (CursorChangeReason = {}));\n  var DefaultEndOfLine;\n  (function(DefaultEndOfLine2) {\n    DefaultEndOfLine2[DefaultEndOfLine2[\"LF\"] = 1] = \"LF\";\n    DefaultEndOfLine2[DefaultEndOfLine2[\"CRLF\"] = 2] = \"CRLF\";\n  })(DefaultEndOfLine || (DefaultEndOfLine = {}));\n  var DocumentHighlightKind2;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {}));\n  var EditorAutoIndentStrategy;\n  (function(EditorAutoIndentStrategy2) {\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"None\"] = 0] = \"None\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Keep\"] = 1] = \"Keep\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Brackets\"] = 2] = \"Brackets\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Advanced\"] = 3] = \"Advanced\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Full\"] = 4] = \"Full\";\n  })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));\n  var EditorOption;\n  (function(EditorOption2) {\n    EditorOption2[EditorOption2[\"acceptSuggestionOnCommitCharacter\"] = 0] = \"acceptSuggestionOnCommitCharacter\";\n    EditorOption2[EditorOption2[\"acceptSuggestionOnEnter\"] = 1] = \"acceptSuggestionOnEnter\";\n    EditorOption2[EditorOption2[\"accessibilitySupport\"] = 2] = \"accessibilitySupport\";\n    EditorOption2[EditorOption2[\"accessibilityPageSize\"] = 3] = \"accessibilityPageSize\";\n    EditorOption2[EditorOption2[\"ariaLabel\"] = 4] = \"ariaLabel\";\n    EditorOption2[EditorOption2[\"ariaRequired\"] = 5] = \"ariaRequired\";\n    EditorOption2[EditorOption2[\"autoClosingBrackets\"] = 6] = \"autoClosingBrackets\";\n    EditorOption2[EditorOption2[\"autoClosingComments\"] = 7] = \"autoClosingComments\";\n    EditorOption2[EditorOption2[\"screenReaderAnnounceInlineSuggestion\"] = 8] = \"screenReaderAnnounceInlineSuggestion\";\n    EditorOption2[EditorOption2[\"autoClosingDelete\"] = 9] = \"autoClosingDelete\";\n    EditorOption2[EditorOption2[\"autoClosingOvertype\"] = 10] = \"autoClosingOvertype\";\n    EditorOption2[EditorOption2[\"autoClosingQuotes\"] = 11] = \"autoClosingQuotes\";\n    EditorOption2[EditorOption2[\"autoIndent\"] = 12] = \"autoIndent\";\n    EditorOption2[EditorOption2[\"automaticLayout\"] = 13] = \"automaticLayout\";\n    EditorOption2[EditorOption2[\"autoSurround\"] = 14] = \"autoSurround\";\n    EditorOption2[EditorOption2[\"bracketPairColorization\"] = 15] = \"bracketPairColorization\";\n    EditorOption2[EditorOption2[\"guides\"] = 16] = \"guides\";\n    EditorOption2[EditorOption2[\"codeLens\"] = 17] = \"codeLens\";\n    EditorOption2[EditorOption2[\"codeLensFontFamily\"] = 18] = \"codeLensFontFamily\";\n    EditorOption2[EditorOption2[\"codeLensFontSize\"] = 19] = \"codeLensFontSize\";\n    EditorOption2[EditorOption2[\"colorDecorators\"] = 20] = \"colorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsLimit\"] = 21] = \"colorDecoratorsLimit\";\n    EditorOption2[EditorOption2[\"columnSelection\"] = 22] = \"columnSelection\";\n    EditorOption2[EditorOption2[\"comments\"] = 23] = \"comments\";\n    EditorOption2[EditorOption2[\"contextmenu\"] = 24] = \"contextmenu\";\n    EditorOption2[EditorOption2[\"copyWithSyntaxHighlighting\"] = 25] = \"copyWithSyntaxHighlighting\";\n    EditorOption2[EditorOption2[\"cursorBlinking\"] = 26] = \"cursorBlinking\";\n    EditorOption2[EditorOption2[\"cursorSmoothCaretAnimation\"] = 27] = \"cursorSmoothCaretAnimation\";\n    EditorOption2[EditorOption2[\"cursorStyle\"] = 28] = \"cursorStyle\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLines\"] = 29] = \"cursorSurroundingLines\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLinesStyle\"] = 30] = \"cursorSurroundingLinesStyle\";\n    EditorOption2[EditorOption2[\"cursorWidth\"] = 31] = \"cursorWidth\";\n    EditorOption2[EditorOption2[\"disableLayerHinting\"] = 32] = \"disableLayerHinting\";\n    EditorOption2[EditorOption2[\"disableMonospaceOptimizations\"] = 33] = \"disableMonospaceOptimizations\";\n    EditorOption2[EditorOption2[\"domReadOnly\"] = 34] = \"domReadOnly\";\n    EditorOption2[EditorOption2[\"dragAndDrop\"] = 35] = \"dragAndDrop\";\n    EditorOption2[EditorOption2[\"dropIntoEditor\"] = 36] = \"dropIntoEditor\";\n    EditorOption2[EditorOption2[\"emptySelectionClipboard\"] = 37] = \"emptySelectionClipboard\";\n    EditorOption2[EditorOption2[\"experimentalWhitespaceRendering\"] = 38] = \"experimentalWhitespaceRendering\";\n    EditorOption2[EditorOption2[\"extraEditorClassName\"] = 39] = \"extraEditorClassName\";\n    EditorOption2[EditorOption2[\"fastScrollSensitivity\"] = 40] = \"fastScrollSensitivity\";\n    EditorOption2[EditorOption2[\"find\"] = 41] = \"find\";\n    EditorOption2[EditorOption2[\"fixedOverflowWidgets\"] = 42] = \"fixedOverflowWidgets\";\n    EditorOption2[EditorOption2[\"folding\"] = 43] = \"folding\";\n    EditorOption2[EditorOption2[\"foldingStrategy\"] = 44] = \"foldingStrategy\";\n    EditorOption2[EditorOption2[\"foldingHighlight\"] = 45] = \"foldingHighlight\";\n    EditorOption2[EditorOption2[\"foldingImportsByDefault\"] = 46] = \"foldingImportsByDefault\";\n    EditorOption2[EditorOption2[\"foldingMaximumRegions\"] = 47] = \"foldingMaximumRegions\";\n    EditorOption2[EditorOption2[\"unfoldOnClickAfterEndOfLine\"] = 48] = \"unfoldOnClickAfterEndOfLine\";\n    EditorOption2[EditorOption2[\"fontFamily\"] = 49] = \"fontFamily\";\n    EditorOption2[EditorOption2[\"fontInfo\"] = 50] = \"fontInfo\";\n    EditorOption2[EditorOption2[\"fontLigatures\"] = 51] = \"fontLigatures\";\n    EditorOption2[EditorOption2[\"fontSize\"] = 52] = \"fontSize\";\n    EditorOption2[EditorOption2[\"fontWeight\"] = 53] = \"fontWeight\";\n    EditorOption2[EditorOption2[\"fontVariations\"] = 54] = \"fontVariations\";\n    EditorOption2[EditorOption2[\"formatOnPaste\"] = 55] = \"formatOnPaste\";\n    EditorOption2[EditorOption2[\"formatOnType\"] = 56] = \"formatOnType\";\n    EditorOption2[EditorOption2[\"glyphMargin\"] = 57] = \"glyphMargin\";\n    EditorOption2[EditorOption2[\"gotoLocation\"] = 58] = \"gotoLocation\";\n    EditorOption2[EditorOption2[\"hideCursorInOverviewRuler\"] = 59] = \"hideCursorInOverviewRuler\";\n    EditorOption2[EditorOption2[\"hover\"] = 60] = \"hover\";\n    EditorOption2[EditorOption2[\"inDiffEditor\"] = 61] = \"inDiffEditor\";\n    EditorOption2[EditorOption2[\"inlineSuggest\"] = 62] = \"inlineSuggest\";\n    EditorOption2[EditorOption2[\"inlineEdit\"] = 63] = \"inlineEdit\";\n    EditorOption2[EditorOption2[\"letterSpacing\"] = 64] = \"letterSpacing\";\n    EditorOption2[EditorOption2[\"lightbulb\"] = 65] = \"lightbulb\";\n    EditorOption2[EditorOption2[\"lineDecorationsWidth\"] = 66] = \"lineDecorationsWidth\";\n    EditorOption2[EditorOption2[\"lineHeight\"] = 67] = \"lineHeight\";\n    EditorOption2[EditorOption2[\"lineNumbers\"] = 68] = \"lineNumbers\";\n    EditorOption2[EditorOption2[\"lineNumbersMinChars\"] = 69] = \"lineNumbersMinChars\";\n    EditorOption2[EditorOption2[\"linkedEditing\"] = 70] = \"linkedEditing\";\n    EditorOption2[EditorOption2[\"links\"] = 71] = \"links\";\n    EditorOption2[EditorOption2[\"matchBrackets\"] = 72] = \"matchBrackets\";\n    EditorOption2[EditorOption2[\"minimap\"] = 73] = \"minimap\";\n    EditorOption2[EditorOption2[\"mouseStyle\"] = 74] = \"mouseStyle\";\n    EditorOption2[EditorOption2[\"mouseWheelScrollSensitivity\"] = 75] = \"mouseWheelScrollSensitivity\";\n    EditorOption2[EditorOption2[\"mouseWheelZoom\"] = 76] = \"mouseWheelZoom\";\n    EditorOption2[EditorOption2[\"multiCursorMergeOverlapping\"] = 77] = \"multiCursorMergeOverlapping\";\n    EditorOption2[EditorOption2[\"multiCursorModifier\"] = 78] = \"multiCursorModifier\";\n    EditorOption2[EditorOption2[\"multiCursorPaste\"] = 79] = \"multiCursorPaste\";\n    EditorOption2[EditorOption2[\"multiCursorLimit\"] = 80] = \"multiCursorLimit\";\n    EditorOption2[EditorOption2[\"occurrencesHighlight\"] = 81] = \"occurrencesHighlight\";\n    EditorOption2[EditorOption2[\"overviewRulerBorder\"] = 82] = \"overviewRulerBorder\";\n    EditorOption2[EditorOption2[\"overviewRulerLanes\"] = 83] = \"overviewRulerLanes\";\n    EditorOption2[EditorOption2[\"padding\"] = 84] = \"padding\";\n    EditorOption2[EditorOption2[\"pasteAs\"] = 85] = \"pasteAs\";\n    EditorOption2[EditorOption2[\"parameterHints\"] = 86] = \"parameterHints\";\n    EditorOption2[EditorOption2[\"peekWidgetDefaultFocus\"] = 87] = \"peekWidgetDefaultFocus\";\n    EditorOption2[EditorOption2[\"definitionLinkOpensInPeek\"] = 88] = \"definitionLinkOpensInPeek\";\n    EditorOption2[EditorOption2[\"quickSuggestions\"] = 89] = \"quickSuggestions\";\n    EditorOption2[EditorOption2[\"quickSuggestionsDelay\"] = 90] = \"quickSuggestionsDelay\";\n    EditorOption2[EditorOption2[\"readOnly\"] = 91] = \"readOnly\";\n    EditorOption2[EditorOption2[\"readOnlyMessage\"] = 92] = \"readOnlyMessage\";\n    EditorOption2[EditorOption2[\"renameOnType\"] = 93] = \"renameOnType\";\n    EditorOption2[EditorOption2[\"renderControlCharacters\"] = 94] = \"renderControlCharacters\";\n    EditorOption2[EditorOption2[\"renderFinalNewline\"] = 95] = \"renderFinalNewline\";\n    EditorOption2[EditorOption2[\"renderLineHighlight\"] = 96] = \"renderLineHighlight\";\n    EditorOption2[EditorOption2[\"renderLineHighlightOnlyWhenFocus\"] = 97] = \"renderLineHighlightOnlyWhenFocus\";\n    EditorOption2[EditorOption2[\"renderValidationDecorations\"] = 98] = \"renderValidationDecorations\";\n    EditorOption2[EditorOption2[\"renderWhitespace\"] = 99] = \"renderWhitespace\";\n    EditorOption2[EditorOption2[\"revealHorizontalRightPadding\"] = 100] = \"revealHorizontalRightPadding\";\n    EditorOption2[EditorOption2[\"roundedSelection\"] = 101] = \"roundedSelection\";\n    EditorOption2[EditorOption2[\"rulers\"] = 102] = \"rulers\";\n    EditorOption2[EditorOption2[\"scrollbar\"] = 103] = \"scrollbar\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastColumn\"] = 104] = \"scrollBeyondLastColumn\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastLine\"] = 105] = \"scrollBeyondLastLine\";\n    EditorOption2[EditorOption2[\"scrollPredominantAxis\"] = 106] = \"scrollPredominantAxis\";\n    EditorOption2[EditorOption2[\"selectionClipboard\"] = 107] = \"selectionClipboard\";\n    EditorOption2[EditorOption2[\"selectionHighlight\"] = 108] = \"selectionHighlight\";\n    EditorOption2[EditorOption2[\"selectOnLineNumbers\"] = 109] = \"selectOnLineNumbers\";\n    EditorOption2[EditorOption2[\"showFoldingControls\"] = 110] = \"showFoldingControls\";\n    EditorOption2[EditorOption2[\"showUnused\"] = 111] = \"showUnused\";\n    EditorOption2[EditorOption2[\"snippetSuggestions\"] = 112] = \"snippetSuggestions\";\n    EditorOption2[EditorOption2[\"smartSelect\"] = 113] = \"smartSelect\";\n    EditorOption2[EditorOption2[\"smoothScrolling\"] = 114] = \"smoothScrolling\";\n    EditorOption2[EditorOption2[\"stickyScroll\"] = 115] = \"stickyScroll\";\n    EditorOption2[EditorOption2[\"stickyTabStops\"] = 116] = \"stickyTabStops\";\n    EditorOption2[EditorOption2[\"stopRenderingLineAfter\"] = 117] = \"stopRenderingLineAfter\";\n    EditorOption2[EditorOption2[\"suggest\"] = 118] = \"suggest\";\n    EditorOption2[EditorOption2[\"suggestFontSize\"] = 119] = \"suggestFontSize\";\n    EditorOption2[EditorOption2[\"suggestLineHeight\"] = 120] = \"suggestLineHeight\";\n    EditorOption2[EditorOption2[\"suggestOnTriggerCharacters\"] = 121] = \"suggestOnTriggerCharacters\";\n    EditorOption2[EditorOption2[\"suggestSelection\"] = 122] = \"suggestSelection\";\n    EditorOption2[EditorOption2[\"tabCompletion\"] = 123] = \"tabCompletion\";\n    EditorOption2[EditorOption2[\"tabIndex\"] = 124] = \"tabIndex\";\n    EditorOption2[EditorOption2[\"unicodeHighlighting\"] = 125] = \"unicodeHighlighting\";\n    EditorOption2[EditorOption2[\"unusualLineTerminators\"] = 126] = \"unusualLineTerminators\";\n    EditorOption2[EditorOption2[\"useShadowDOM\"] = 127] = \"useShadowDOM\";\n    EditorOption2[EditorOption2[\"useTabStops\"] = 128] = \"useTabStops\";\n    EditorOption2[EditorOption2[\"wordBreak\"] = 129] = \"wordBreak\";\n    EditorOption2[EditorOption2[\"wordSegmenterLocales\"] = 130] = \"wordSegmenterLocales\";\n    EditorOption2[EditorOption2[\"wordSeparators\"] = 131] = \"wordSeparators\";\n    EditorOption2[EditorOption2[\"wordWrap\"] = 132] = \"wordWrap\";\n    EditorOption2[EditorOption2[\"wordWrapBreakAfterCharacters\"] = 133] = \"wordWrapBreakAfterCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapBreakBeforeCharacters\"] = 134] = \"wordWrapBreakBeforeCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapColumn\"] = 135] = \"wordWrapColumn\";\n    EditorOption2[EditorOption2[\"wordWrapOverride1\"] = 136] = \"wordWrapOverride1\";\n    EditorOption2[EditorOption2[\"wordWrapOverride2\"] = 137] = \"wordWrapOverride2\";\n    EditorOption2[EditorOption2[\"wrappingIndent\"] = 138] = \"wrappingIndent\";\n    EditorOption2[EditorOption2[\"wrappingStrategy\"] = 139] = \"wrappingStrategy\";\n    EditorOption2[EditorOption2[\"showDeprecated\"] = 140] = \"showDeprecated\";\n    EditorOption2[EditorOption2[\"inlayHints\"] = 141] = \"inlayHints\";\n    EditorOption2[EditorOption2[\"editorClassName\"] = 142] = \"editorClassName\";\n    EditorOption2[EditorOption2[\"pixelRatio\"] = 143] = \"pixelRatio\";\n    EditorOption2[EditorOption2[\"tabFocusMode\"] = 144] = \"tabFocusMode\";\n    EditorOption2[EditorOption2[\"layoutInfo\"] = 145] = \"layoutInfo\";\n    EditorOption2[EditorOption2[\"wrappingInfo\"] = 146] = \"wrappingInfo\";\n    EditorOption2[EditorOption2[\"defaultColorDecorators\"] = 147] = \"defaultColorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsActivatedOn\"] = 148] = \"colorDecoratorsActivatedOn\";\n    EditorOption2[EditorOption2[\"inlineCompletionsAccessibilityVerbose\"] = 149] = \"inlineCompletionsAccessibilityVerbose\";\n  })(EditorOption || (EditorOption = {}));\n  var EndOfLinePreference;\n  (function(EndOfLinePreference2) {\n    EndOfLinePreference2[EndOfLinePreference2[\"TextDefined\"] = 0] = \"TextDefined\";\n    EndOfLinePreference2[EndOfLinePreference2[\"LF\"] = 1] = \"LF\";\n    EndOfLinePreference2[EndOfLinePreference2[\"CRLF\"] = 2] = \"CRLF\";\n  })(EndOfLinePreference || (EndOfLinePreference = {}));\n  var EndOfLineSequence;\n  (function(EndOfLineSequence2) {\n    EndOfLineSequence2[EndOfLineSequence2[\"LF\"] = 0] = \"LF\";\n    EndOfLineSequence2[EndOfLineSequence2[\"CRLF\"] = 1] = \"CRLF\";\n  })(EndOfLineSequence || (EndOfLineSequence = {}));\n  var GlyphMarginLane;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane || (GlyphMarginLane = {}));\n  var HoverVerbosityAction2;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {}));\n  var IndentAction;\n  (function(IndentAction2) {\n    IndentAction2[IndentAction2[\"None\"] = 0] = \"None\";\n    IndentAction2[IndentAction2[\"Indent\"] = 1] = \"Indent\";\n    IndentAction2[IndentAction2[\"IndentOutdent\"] = 2] = \"IndentOutdent\";\n    IndentAction2[IndentAction2[\"Outdent\"] = 3] = \"Outdent\";\n  })(IndentAction || (IndentAction = {}));\n  var InjectedTextCursorStops;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops || (InjectedTextCursorStops = {}));\n  var InlayHintKind2;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind2 || (InlayHintKind2 = {}));\n  var InlineCompletionTriggerKind2;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {}));\n  var InlineEditTriggerKind2;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {}));\n  var KeyCode;\n  (function(KeyCode2) {\n    KeyCode2[KeyCode2[\"DependsOnKbLayout\"] = -1] = \"DependsOnKbLayout\";\n    KeyCode2[KeyCode2[\"Unknown\"] = 0] = \"Unknown\";\n    KeyCode2[KeyCode2[\"Backspace\"] = 1] = \"Backspace\";\n    KeyCode2[KeyCode2[\"Tab\"] = 2] = \"Tab\";\n    KeyCode2[KeyCode2[\"Enter\"] = 3] = \"Enter\";\n    KeyCode2[KeyCode2[\"Shift\"] = 4] = \"Shift\";\n    KeyCode2[KeyCode2[\"Ctrl\"] = 5] = \"Ctrl\";\n    KeyCode2[KeyCode2[\"Alt\"] = 6] = \"Alt\";\n    KeyCode2[KeyCode2[\"PauseBreak\"] = 7] = \"PauseBreak\";\n    KeyCode2[KeyCode2[\"CapsLock\"] = 8] = \"CapsLock\";\n    KeyCode2[KeyCode2[\"Escape\"] = 9] = \"Escape\";\n    KeyCode2[KeyCode2[\"Space\"] = 10] = \"Space\";\n    KeyCode2[KeyCode2[\"PageUp\"] = 11] = \"PageUp\";\n    KeyCode2[KeyCode2[\"PageDown\"] = 12] = \"PageDown\";\n    KeyCode2[KeyCode2[\"End\"] = 13] = \"End\";\n    KeyCode2[KeyCode2[\"Home\"] = 14] = \"Home\";\n    KeyCode2[KeyCode2[\"LeftArrow\"] = 15] = \"LeftArrow\";\n    KeyCode2[KeyCode2[\"UpArrow\"] = 16] = \"UpArrow\";\n    KeyCode2[KeyCode2[\"RightArrow\"] = 17] = \"RightArrow\";\n    KeyCode2[KeyCode2[\"DownArrow\"] = 18] = \"DownArrow\";\n    KeyCode2[KeyCode2[\"Insert\"] = 19] = \"Insert\";\n    KeyCode2[KeyCode2[\"Delete\"] = 20] = \"Delete\";\n    KeyCode2[KeyCode2[\"Digit0\"] = 21] = \"Digit0\";\n    KeyCode2[KeyCode2[\"Digit1\"] = 22] = \"Digit1\";\n    KeyCode2[KeyCode2[\"Digit2\"] = 23] = \"Digit2\";\n    KeyCode2[KeyCode2[\"Digit3\"] = 24] = \"Digit3\";\n    KeyCode2[KeyCode2[\"Digit4\"] = 25] = \"Digit4\";\n    KeyCode2[KeyCode2[\"Digit5\"] = 26] = \"Digit5\";\n    KeyCode2[KeyCode2[\"Digit6\"] = 27] = \"Digit6\";\n    KeyCode2[KeyCode2[\"Digit7\"] = 28] = \"Digit7\";\n    KeyCode2[KeyCode2[\"Digit8\"] = 29] = \"Digit8\";\n    KeyCode2[KeyCode2[\"Digit9\"] = 30] = \"Digit9\";\n    KeyCode2[KeyCode2[\"KeyA\"] = 31] = \"KeyA\";\n    KeyCode2[KeyCode2[\"KeyB\"] = 32] = \"KeyB\";\n    KeyCode2[KeyCode2[\"KeyC\"] = 33] = \"KeyC\";\n    KeyCode2[KeyCode2[\"KeyD\"] = 34] = \"KeyD\";\n    KeyCode2[KeyCode2[\"KeyE\"] = 35] = \"KeyE\";\n    KeyCode2[KeyCode2[\"KeyF\"] = 36] = \"KeyF\";\n    KeyCode2[KeyCode2[\"KeyG\"] = 37] = \"KeyG\";\n    KeyCode2[KeyCode2[\"KeyH\"] = 38] = \"KeyH\";\n    KeyCode2[KeyCode2[\"KeyI\"] = 39] = \"KeyI\";\n    KeyCode2[KeyCode2[\"KeyJ\"] = 40] = \"KeyJ\";\n    KeyCode2[KeyCode2[\"KeyK\"] = 41] = \"KeyK\";\n    KeyCode2[KeyCode2[\"KeyL\"] = 42] = \"KeyL\";\n    KeyCode2[KeyCode2[\"KeyM\"] = 43] = \"KeyM\";\n    KeyCode2[KeyCode2[\"KeyN\"] = 44] = \"KeyN\";\n    KeyCode2[KeyCode2[\"KeyO\"] = 45] = \"KeyO\";\n    KeyCode2[KeyCode2[\"KeyP\"] = 46] = \"KeyP\";\n    KeyCode2[KeyCode2[\"KeyQ\"] = 47] = \"KeyQ\";\n    KeyCode2[KeyCode2[\"KeyR\"] = 48] = \"KeyR\";\n    KeyCode2[KeyCode2[\"KeyS\"] = 49] = \"KeyS\";\n    KeyCode2[KeyCode2[\"KeyT\"] = 50] = \"KeyT\";\n    KeyCode2[KeyCode2[\"KeyU\"] = 51] = \"KeyU\";\n    KeyCode2[KeyCode2[\"KeyV\"] = 52] = \"KeyV\";\n    KeyCode2[KeyCode2[\"KeyW\"] = 53] = \"KeyW\";\n    KeyCode2[KeyCode2[\"KeyX\"] = 54] = \"KeyX\";\n    KeyCode2[KeyCode2[\"KeyY\"] = 55] = \"KeyY\";\n    KeyCode2[KeyCode2[\"KeyZ\"] = 56] = \"KeyZ\";\n    KeyCode2[KeyCode2[\"Meta\"] = 57] = \"Meta\";\n    KeyCode2[KeyCode2[\"ContextMenu\"] = 58] = \"ContextMenu\";\n    KeyCode2[KeyCode2[\"F1\"] = 59] = \"F1\";\n    KeyCode2[KeyCode2[\"F2\"] = 60] = \"F2\";\n    KeyCode2[KeyCode2[\"F3\"] = 61] = \"F3\";\n    KeyCode2[KeyCode2[\"F4\"] = 62] = \"F4\";\n    KeyCode2[KeyCode2[\"F5\"] = 63] = \"F5\";\n    KeyCode2[KeyCode2[\"F6\"] = 64] = \"F6\";\n    KeyCode2[KeyCode2[\"F7\"] = 65] = \"F7\";\n    KeyCode2[KeyCode2[\"F8\"] = 66] = \"F8\";\n    KeyCode2[KeyCode2[\"F9\"] = 67] = \"F9\";\n    KeyCode2[KeyCode2[\"F10\"] = 68] = \"F10\";\n    KeyCode2[KeyCode2[\"F11\"] = 69] = \"F11\";\n    KeyCode2[KeyCode2[\"F12\"] = 70] = \"F12\";\n    KeyCode2[KeyCode2[\"F13\"] = 71] = \"F13\";\n    KeyCode2[KeyCode2[\"F14\"] = 72] = \"F14\";\n    KeyCode2[KeyCode2[\"F15\"] = 73] = \"F15\";\n    KeyCode2[KeyCode2[\"F16\"] = 74] = \"F16\";\n    KeyCode2[KeyCode2[\"F17\"] = 75] = \"F17\";\n    KeyCode2[KeyCode2[\"F18\"] = 76] = \"F18\";\n    KeyCode2[KeyCode2[\"F19\"] = 77] = \"F19\";\n    KeyCode2[KeyCode2[\"F20\"] = 78] = \"F20\";\n    KeyCode2[KeyCode2[\"F21\"] = 79] = \"F21\";\n    KeyCode2[KeyCode2[\"F22\"] = 80] = \"F22\";\n    KeyCode2[KeyCode2[\"F23\"] = 81] = \"F23\";\n    KeyCode2[KeyCode2[\"F24\"] = 82] = \"F24\";\n    KeyCode2[KeyCode2[\"NumLock\"] = 83] = \"NumLock\";\n    KeyCode2[KeyCode2[\"ScrollLock\"] = 84] = \"ScrollLock\";\n    KeyCode2[KeyCode2[\"Semicolon\"] = 85] = \"Semicolon\";\n    KeyCode2[KeyCode2[\"Equal\"] = 86] = \"Equal\";\n    KeyCode2[KeyCode2[\"Comma\"] = 87] = \"Comma\";\n    KeyCode2[KeyCode2[\"Minus\"] = 88] = \"Minus\";\n    KeyCode2[KeyCode2[\"Period\"] = 89] = \"Period\";\n    KeyCode2[KeyCode2[\"Slash\"] = 90] = \"Slash\";\n    KeyCode2[KeyCode2[\"Backquote\"] = 91] = \"Backquote\";\n    KeyCode2[KeyCode2[\"BracketLeft\"] = 92] = \"BracketLeft\";\n    KeyCode2[KeyCode2[\"Backslash\"] = 93] = \"Backslash\";\n    KeyCode2[KeyCode2[\"BracketRight\"] = 94] = \"BracketRight\";\n    KeyCode2[KeyCode2[\"Quote\"] = 95] = \"Quote\";\n    KeyCode2[KeyCode2[\"OEM_8\"] = 96] = \"OEM_8\";\n    KeyCode2[KeyCode2[\"IntlBackslash\"] = 97] = \"IntlBackslash\";\n    KeyCode2[KeyCode2[\"Numpad0\"] = 98] = \"Numpad0\";\n    KeyCode2[KeyCode2[\"Numpad1\"] = 99] = \"Numpad1\";\n    KeyCode2[KeyCode2[\"Numpad2\"] = 100] = \"Numpad2\";\n    KeyCode2[KeyCode2[\"Numpad3\"] = 101] = \"Numpad3\";\n    KeyCode2[KeyCode2[\"Numpad4\"] = 102] = \"Numpad4\";\n    KeyCode2[KeyCode2[\"Numpad5\"] = 103] = \"Numpad5\";\n    KeyCode2[KeyCode2[\"Numpad6\"] = 104] = \"Numpad6\";\n    KeyCode2[KeyCode2[\"Numpad7\"] = 105] = \"Numpad7\";\n    KeyCode2[KeyCode2[\"Numpad8\"] = 106] = \"Numpad8\";\n    KeyCode2[KeyCode2[\"Numpad9\"] = 107] = \"Numpad9\";\n    KeyCode2[KeyCode2[\"NumpadMultiply\"] = 108] = \"NumpadMultiply\";\n    KeyCode2[KeyCode2[\"NumpadAdd\"] = 109] = \"NumpadAdd\";\n    KeyCode2[KeyCode2[\"NUMPAD_SEPARATOR\"] = 110] = \"NUMPAD_SEPARATOR\";\n    KeyCode2[KeyCode2[\"NumpadSubtract\"] = 111] = \"NumpadSubtract\";\n    KeyCode2[KeyCode2[\"NumpadDecimal\"] = 112] = \"NumpadDecimal\";\n    KeyCode2[KeyCode2[\"NumpadDivide\"] = 113] = \"NumpadDivide\";\n    KeyCode2[KeyCode2[\"KEY_IN_COMPOSITION\"] = 114] = \"KEY_IN_COMPOSITION\";\n    KeyCode2[KeyCode2[\"ABNT_C1\"] = 115] = \"ABNT_C1\";\n    KeyCode2[KeyCode2[\"ABNT_C2\"] = 116] = \"ABNT_C2\";\n    KeyCode2[KeyCode2[\"AudioVolumeMute\"] = 117] = \"AudioVolumeMute\";\n    KeyCode2[KeyCode2[\"AudioVolumeUp\"] = 118] = \"AudioVolumeUp\";\n    KeyCode2[KeyCode2[\"AudioVolumeDown\"] = 119] = \"AudioVolumeDown\";\n    KeyCode2[KeyCode2[\"BrowserSearch\"] = 120] = \"BrowserSearch\";\n    KeyCode2[KeyCode2[\"BrowserHome\"] = 121] = \"BrowserHome\";\n    KeyCode2[KeyCode2[\"BrowserBack\"] = 122] = \"BrowserBack\";\n    KeyCode2[KeyCode2[\"BrowserForward\"] = 123] = \"BrowserForward\";\n    KeyCode2[KeyCode2[\"MediaTrackNext\"] = 124] = \"MediaTrackNext\";\n    KeyCode2[KeyCode2[\"MediaTrackPrevious\"] = 125] = \"MediaTrackPrevious\";\n    KeyCode2[KeyCode2[\"MediaStop\"] = 126] = \"MediaStop\";\n    KeyCode2[KeyCode2[\"MediaPlayPause\"] = 127] = \"MediaPlayPause\";\n    KeyCode2[KeyCode2[\"LaunchMediaPlayer\"] = 128] = \"LaunchMediaPlayer\";\n    KeyCode2[KeyCode2[\"LaunchMail\"] = 129] = \"LaunchMail\";\n    KeyCode2[KeyCode2[\"LaunchApp2\"] = 130] = \"LaunchApp2\";\n    KeyCode2[KeyCode2[\"Clear\"] = 131] = \"Clear\";\n    KeyCode2[KeyCode2[\"MAX_VALUE\"] = 132] = \"MAX_VALUE\";\n  })(KeyCode || (KeyCode = {}));\n  var MarkerSeverity;\n  (function(MarkerSeverity2) {\n    MarkerSeverity2[MarkerSeverity2[\"Hint\"] = 1] = \"Hint\";\n    MarkerSeverity2[MarkerSeverity2[\"Info\"] = 2] = \"Info\";\n    MarkerSeverity2[MarkerSeverity2[\"Warning\"] = 4] = \"Warning\";\n    MarkerSeverity2[MarkerSeverity2[\"Error\"] = 8] = \"Error\";\n  })(MarkerSeverity || (MarkerSeverity = {}));\n  var MarkerTag;\n  (function(MarkerTag2) {\n    MarkerTag2[MarkerTag2[\"Unnecessary\"] = 1] = \"Unnecessary\";\n    MarkerTag2[MarkerTag2[\"Deprecated\"] = 2] = \"Deprecated\";\n  })(MarkerTag || (MarkerTag = {}));\n  var MinimapPosition;\n  (function(MinimapPosition2) {\n    MinimapPosition2[MinimapPosition2[\"Inline\"] = 1] = \"Inline\";\n    MinimapPosition2[MinimapPosition2[\"Gutter\"] = 2] = \"Gutter\";\n  })(MinimapPosition || (MinimapPosition = {}));\n  var MinimapSectionHeaderStyle;\n  (function(MinimapSectionHeaderStyle2) {\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Normal\"] = 1] = \"Normal\";\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Underlined\"] = 2] = \"Underlined\";\n  })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));\n  var MouseTargetType;\n  (function(MouseTargetType2) {\n    MouseTargetType2[MouseTargetType2[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n    MouseTargetType2[MouseTargetType2[\"TEXTAREA\"] = 1] = \"TEXTAREA\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_GLYPH_MARGIN\"] = 2] = \"GUTTER_GLYPH_MARGIN\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_NUMBERS\"] = 3] = \"GUTTER_LINE_NUMBERS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_DECORATIONS\"] = 4] = \"GUTTER_LINE_DECORATIONS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_VIEW_ZONE\"] = 5] = \"GUTTER_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_TEXT\"] = 6] = \"CONTENT_TEXT\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_EMPTY\"] = 7] = \"CONTENT_EMPTY\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_VIEW_ZONE\"] = 8] = \"CONTENT_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_WIDGET\"] = 9] = \"CONTENT_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OVERVIEW_RULER\"] = 10] = \"OVERVIEW_RULER\";\n    MouseTargetType2[MouseTargetType2[\"SCROLLBAR\"] = 11] = \"SCROLLBAR\";\n    MouseTargetType2[MouseTargetType2[\"OVERLAY_WIDGET\"] = 12] = \"OVERLAY_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OUTSIDE_EDITOR\"] = 13] = \"OUTSIDE_EDITOR\";\n  })(MouseTargetType || (MouseTargetType = {}));\n  var NewSymbolNameTag2;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {}));\n  var NewSymbolNameTriggerKind2;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {}));\n  var OverlayWidgetPositionPreference;\n  (function(OverlayWidgetPositionPreference2) {\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_RIGHT_CORNER\"] = 0] = \"TOP_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"BOTTOM_RIGHT_CORNER\"] = 1] = \"BOTTOM_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_CENTER\"] = 2] = \"TOP_CENTER\";\n  })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));\n  var OverviewRulerLane;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane || (OverviewRulerLane = {}));\n  var PartialAcceptTriggerKind;\n  (function(PartialAcceptTriggerKind2) {\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Word\"] = 0] = \"Word\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Line\"] = 1] = \"Line\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Suggest\"] = 2] = \"Suggest\";\n  })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));\n  var PositionAffinity;\n  (function(PositionAffinity2) {\n    PositionAffinity2[PositionAffinity2[\"Left\"] = 0] = \"Left\";\n    PositionAffinity2[PositionAffinity2[\"Right\"] = 1] = \"Right\";\n    PositionAffinity2[PositionAffinity2[\"None\"] = 2] = \"None\";\n    PositionAffinity2[PositionAffinity2[\"LeftOfInjectedText\"] = 3] = \"LeftOfInjectedText\";\n    PositionAffinity2[PositionAffinity2[\"RightOfInjectedText\"] = 4] = \"RightOfInjectedText\";\n  })(PositionAffinity || (PositionAffinity = {}));\n  var RenderLineNumbersType;\n  (function(RenderLineNumbersType2) {\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Off\"] = 0] = \"Off\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"On\"] = 1] = \"On\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Relative\"] = 2] = \"Relative\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Interval\"] = 3] = \"Interval\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Custom\"] = 4] = \"Custom\";\n  })(RenderLineNumbersType || (RenderLineNumbersType = {}));\n  var RenderMinimap;\n  (function(RenderMinimap2) {\n    RenderMinimap2[RenderMinimap2[\"None\"] = 0] = \"None\";\n    RenderMinimap2[RenderMinimap2[\"Text\"] = 1] = \"Text\";\n    RenderMinimap2[RenderMinimap2[\"Blocks\"] = 2] = \"Blocks\";\n  })(RenderMinimap || (RenderMinimap = {}));\n  var ScrollType;\n  (function(ScrollType2) {\n    ScrollType2[ScrollType2[\"Smooth\"] = 0] = \"Smooth\";\n    ScrollType2[ScrollType2[\"Immediate\"] = 1] = \"Immediate\";\n  })(ScrollType || (ScrollType = {}));\n  var ScrollbarVisibility;\n  (function(ScrollbarVisibility2) {\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Auto\"] = 1] = \"Auto\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Hidden\"] = 2] = \"Hidden\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Visible\"] = 3] = \"Visible\";\n  })(ScrollbarVisibility || (ScrollbarVisibility = {}));\n  var SelectionDirection;\n  (function(SelectionDirection2) {\n    SelectionDirection2[SelectionDirection2[\"LTR\"] = 0] = \"LTR\";\n    SelectionDirection2[SelectionDirection2[\"RTL\"] = 1] = \"RTL\";\n  })(SelectionDirection || (SelectionDirection = {}));\n  var ShowLightbulbIconMode;\n  (function(ShowLightbulbIconMode2) {\n    ShowLightbulbIconMode2[\"Off\"] = \"off\";\n    ShowLightbulbIconMode2[\"OnCode\"] = \"onCode\";\n    ShowLightbulbIconMode2[\"On\"] = \"on\";\n  })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}));\n  var SignatureHelpTriggerKind2;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {}));\n  var SymbolKind;\n  (function(SymbolKind3) {\n    SymbolKind3[SymbolKind3[\"File\"] = 0] = \"File\";\n    SymbolKind3[SymbolKind3[\"Module\"] = 1] = \"Module\";\n    SymbolKind3[SymbolKind3[\"Namespace\"] = 2] = \"Namespace\";\n    SymbolKind3[SymbolKind3[\"Package\"] = 3] = \"Package\";\n    SymbolKind3[SymbolKind3[\"Class\"] = 4] = \"Class\";\n    SymbolKind3[SymbolKind3[\"Method\"] = 5] = \"Method\";\n    SymbolKind3[SymbolKind3[\"Property\"] = 6] = \"Property\";\n    SymbolKind3[SymbolKind3[\"Field\"] = 7] = \"Field\";\n    SymbolKind3[SymbolKind3[\"Constructor\"] = 8] = \"Constructor\";\n    SymbolKind3[SymbolKind3[\"Enum\"] = 9] = \"Enum\";\n    SymbolKind3[SymbolKind3[\"Interface\"] = 10] = \"Interface\";\n    SymbolKind3[SymbolKind3[\"Function\"] = 11] = \"Function\";\n    SymbolKind3[SymbolKind3[\"Variable\"] = 12] = \"Variable\";\n    SymbolKind3[SymbolKind3[\"Constant\"] = 13] = \"Constant\";\n    SymbolKind3[SymbolKind3[\"String\"] = 14] = \"String\";\n    SymbolKind3[SymbolKind3[\"Number\"] = 15] = \"Number\";\n    SymbolKind3[SymbolKind3[\"Boolean\"] = 16] = \"Boolean\";\n    SymbolKind3[SymbolKind3[\"Array\"] = 17] = \"Array\";\n    SymbolKind3[SymbolKind3[\"Object\"] = 18] = \"Object\";\n    SymbolKind3[SymbolKind3[\"Key\"] = 19] = \"Key\";\n    SymbolKind3[SymbolKind3[\"Null\"] = 20] = \"Null\";\n    SymbolKind3[SymbolKind3[\"EnumMember\"] = 21] = \"EnumMember\";\n    SymbolKind3[SymbolKind3[\"Struct\"] = 22] = \"Struct\";\n    SymbolKind3[SymbolKind3[\"Event\"] = 23] = \"Event\";\n    SymbolKind3[SymbolKind3[\"Operator\"] = 24] = \"Operator\";\n    SymbolKind3[SymbolKind3[\"TypeParameter\"] = 25] = \"TypeParameter\";\n  })(SymbolKind || (SymbolKind = {}));\n  var SymbolTag;\n  (function(SymbolTag3) {\n    SymbolTag3[SymbolTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(SymbolTag || (SymbolTag = {}));\n  var TextEditorCursorBlinkingStyle;\n  (function(TextEditorCursorBlinkingStyle2) {\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Hidden\"] = 0] = \"Hidden\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Blink\"] = 1] = \"Blink\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Smooth\"] = 2] = \"Smooth\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Phase\"] = 3] = \"Phase\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Expand\"] = 4] = \"Expand\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Solid\"] = 5] = \"Solid\";\n  })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));\n  var TextEditorCursorStyle;\n  (function(TextEditorCursorStyle2) {\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Line\"] = 1] = \"Line\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Block\"] = 2] = \"Block\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Underline\"] = 3] = \"Underline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"LineThin\"] = 4] = \"LineThin\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"BlockOutline\"] = 5] = \"BlockOutline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"UnderlineThin\"] = 6] = \"UnderlineThin\";\n  })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));\n  var TrackedRangeStickiness;\n  (function(TrackedRangeStickiness2) {\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"AlwaysGrowsWhenTypingAtEdges\"] = 0] = \"AlwaysGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"NeverGrowsWhenTypingAtEdges\"] = 1] = \"NeverGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingBefore\"] = 2] = \"GrowsOnlyWhenTypingBefore\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingAfter\"] = 3] = \"GrowsOnlyWhenTypingAfter\";\n  })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));\n  var WrappingIndent;\n  (function(WrappingIndent2) {\n    WrappingIndent2[WrappingIndent2[\"None\"] = 0] = \"None\";\n    WrappingIndent2[WrappingIndent2[\"Same\"] = 1] = \"Same\";\n    WrappingIndent2[WrappingIndent2[\"Indent\"] = 2] = \"Indent\";\n    WrappingIndent2[WrappingIndent2[\"DeepIndent\"] = 3] = \"DeepIndent\";\n  })(WrappingIndent || (WrappingIndent = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js\n  var KeyMod = class {\n    static chord(firstPart, secondPart) {\n      return KeyChord(firstPart, secondPart);\n    }\n  };\n  KeyMod.CtrlCmd = 2048;\n  KeyMod.Shift = 1024;\n  KeyMod.Alt = 512;\n  KeyMod.WinCtrl = 256;\n  function createMonacoBaseAPI() {\n    return {\n      editor: void 0,\n      // undefined override expected here\n      languages: void 0,\n      // undefined override expected here\n      CancellationTokenSource,\n      Emitter,\n      KeyCode,\n      KeyMod,\n      Position,\n      Range,\n      Selection,\n      SelectionDirection,\n      MarkerSeverity,\n      MarkerTag,\n      Uri: URI,\n      Token\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/map.js\n  var _a3;\n  var _b2;\n  var ResourceMapEntry = class {\n    constructor(uri, value) {\n      this.uri = uri;\n      this.value = value;\n    }\n  };\n  function isEntries(arg) {\n    return Array.isArray(arg);\n  }\n  var ResourceMap = class _ResourceMap {\n    constructor(arg, toKey) {\n      this[_a3] = \"ResourceMap\";\n      if (arg instanceof _ResourceMap) {\n        this.map = new Map(arg.map);\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n      } else if (isEntries(arg)) {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n        for (const [resource, value] of arg) {\n          this.set(resource, value);\n        }\n      } else {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = arg !== null && arg !== void 0 ? arg : _ResourceMap.defaultToKey;\n      }\n    }\n    set(resource, value) {\n      this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value));\n      return this;\n    }\n    get(resource) {\n      var _c;\n      return (_c = this.map.get(this.toKey(resource))) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(resource) {\n      return this.map.has(this.toKey(resource));\n    }\n    get size() {\n      return this.map.size;\n    }\n    clear() {\n      this.map.clear();\n    }\n    delete(resource) {\n      return this.map.delete(this.toKey(resource));\n    }\n    forEach(clb, thisArg) {\n      if (typeof thisArg !== \"undefined\") {\n        clb = clb.bind(thisArg);\n      }\n      for (const [_, entry] of this.map) {\n        clb(entry.value, entry.uri, this);\n      }\n    }\n    *values() {\n      for (const entry of this.map.values()) {\n        yield entry.value;\n      }\n    }\n    *keys() {\n      for (const entry of this.map.values()) {\n        yield entry.uri;\n      }\n    }\n    *entries() {\n      for (const entry of this.map.values()) {\n        yield [entry.uri, entry.value];\n      }\n    }\n    *[(_a3 = Symbol.toStringTag, Symbol.iterator)]() {\n      for (const [, entry] of this.map) {\n        yield [entry.uri, entry.value];\n      }\n    }\n  };\n  ResourceMap.defaultToKey = (resource) => resource.toString();\n  var LinkedMap = class {\n    constructor() {\n      this[_b2] = \"LinkedMap\";\n      this._map = /* @__PURE__ */ new Map();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state = 0;\n    }\n    clear() {\n      this._map.clear();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state++;\n    }\n    isEmpty() {\n      return !this._head && !this._tail;\n    }\n    get size() {\n      return this._size;\n    }\n    get first() {\n      var _c;\n      return (_c = this._head) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    get last() {\n      var _c;\n      return (_c = this._tail) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(key) {\n      return this._map.has(key);\n    }\n    get(key, touch = 0) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      if (touch !== 0) {\n        this.touch(item, touch);\n      }\n      return item.value;\n    }\n    set(key, value, touch = 0) {\n      let item = this._map.get(key);\n      if (item) {\n        item.value = value;\n        if (touch !== 0) {\n          this.touch(item, touch);\n        }\n      } else {\n        item = { key, value, next: void 0, previous: void 0 };\n        switch (touch) {\n          case 0:\n            this.addItemLast(item);\n            break;\n          case 1:\n            this.addItemFirst(item);\n            break;\n          case 2:\n            this.addItemLast(item);\n            break;\n          default:\n            this.addItemLast(item);\n            break;\n        }\n        this._map.set(key, item);\n        this._size++;\n      }\n      return this;\n    }\n    delete(key) {\n      return !!this.remove(key);\n    }\n    remove(key) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      this._map.delete(key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    shift() {\n      if (!this._head && !this._tail) {\n        return void 0;\n      }\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      const item = this._head;\n      this._map.delete(item.key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    forEach(callbackfn, thisArg) {\n      const state = this._state;\n      let current = this._head;\n      while (current) {\n        if (thisArg) {\n          callbackfn.bind(thisArg)(current.value, current.key, this);\n        } else {\n          callbackfn(current.value, current.key, this);\n        }\n        if (this._state !== state) {\n          throw new Error(`LinkedMap got modified during iteration.`);\n        }\n        current = current.next;\n      }\n    }\n    keys() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.key, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    values() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.value, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    entries() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: [current.key, current.value], done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    [(_b2 = Symbol.toStringTag, Symbol.iterator)]() {\n      return this.entries();\n    }\n    trimOld(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._head;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.next;\n        currentSize--;\n      }\n      this._head = current;\n      this._size = currentSize;\n      if (current) {\n        current.previous = void 0;\n      }\n      this._state++;\n    }\n    trimNew(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._tail;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.previous;\n        currentSize--;\n      }\n      this._tail = current;\n      this._size = currentSize;\n      if (current) {\n        current.next = void 0;\n      }\n      this._state++;\n    }\n    addItemFirst(item) {\n      if (!this._head && !this._tail) {\n        this._tail = item;\n      } else if (!this._head) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.next = this._head;\n        this._head.previous = item;\n      }\n      this._head = item;\n      this._state++;\n    }\n    addItemLast(item) {\n      if (!this._head && !this._tail) {\n        this._head = item;\n      } else if (!this._tail) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.previous = this._tail;\n        this._tail.next = item;\n      }\n      this._tail = item;\n      this._state++;\n    }\n    removeItem(item) {\n      if (item === this._head && item === this._tail) {\n        this._head = void 0;\n        this._tail = void 0;\n      } else if (item === this._head) {\n        if (!item.next) {\n          throw new Error(\"Invalid list\");\n        }\n        item.next.previous = void 0;\n        this._head = item.next;\n      } else if (item === this._tail) {\n        if (!item.previous) {\n          throw new Error(\"Invalid list\");\n        }\n        item.previous.next = void 0;\n        this._tail = item.previous;\n      } else {\n        const next = item.next;\n        const previous = item.previous;\n        if (!next || !previous) {\n          throw new Error(\"Invalid list\");\n        }\n        next.previous = previous;\n        previous.next = next;\n      }\n      item.next = void 0;\n      item.previous = void 0;\n      this._state++;\n    }\n    touch(item, touch) {\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      if (touch !== 1 && touch !== 2) {\n        return;\n      }\n      if (touch === 1) {\n        if (item === this._head) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._tail) {\n          previous.next = void 0;\n          this._tail = previous;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.previous = void 0;\n        item.next = this._head;\n        this._head.previous = item;\n        this._head = item;\n        this._state++;\n      } else if (touch === 2) {\n        if (item === this._tail) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._head) {\n          next.previous = void 0;\n          this._head = next;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.next = void 0;\n        item.previous = this._tail;\n        this._tail.next = item;\n        this._tail = item;\n        this._state++;\n      }\n    }\n    toJSON() {\n      const data = [];\n      this.forEach((value, key) => {\n        data.push([key, value]);\n      });\n      return data;\n    }\n    fromJSON(data) {\n      this.clear();\n      for (const [key, value] of data) {\n        this.set(key, value);\n      }\n    }\n  };\n  var Cache = class extends LinkedMap {\n    constructor(limit, ratio = 1) {\n      super();\n      this._limit = limit;\n      this._ratio = Math.min(Math.max(0, ratio), 1);\n    }\n    get limit() {\n      return this._limit;\n    }\n    set limit(limit) {\n      this._limit = limit;\n      this.checkTrim();\n    }\n    get(key, touch = 2) {\n      return super.get(key, touch);\n    }\n    peek(key) {\n      return super.get(\n        key,\n        0\n        /* Touch.None */\n      );\n    }\n    set(key, value) {\n      super.set(\n        key,\n        value,\n        2\n        /* Touch.AsNew */\n      );\n      return this;\n    }\n    checkTrim() {\n      if (this.size > this._limit) {\n        this.trim(Math.round(this._limit * this._ratio));\n      }\n    }\n  };\n  var LRUCache = class extends Cache {\n    constructor(limit, ratio = 1) {\n      super(limit, ratio);\n    }\n    trim(newSize) {\n      this.trimOld(newSize);\n    }\n    set(key, value) {\n      super.set(key, value);\n      this.checkTrim();\n      return this;\n    }\n  };\n  var SetMap = class {\n    constructor() {\n      this.map = /* @__PURE__ */ new Map();\n    }\n    add(key, value) {\n      let values = this.map.get(key);\n      if (!values) {\n        values = /* @__PURE__ */ new Set();\n        this.map.set(key, values);\n      }\n      values.add(value);\n    }\n    delete(key, value) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.delete(value);\n      if (values.size === 0) {\n        this.map.delete(key);\n      }\n    }\n    forEach(key, fn) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.forEach(fn);\n    }\n    get(key) {\n      const values = this.map.get(key);\n      if (!values) {\n        return /* @__PURE__ */ new Set();\n      }\n      return values;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js\n  var wordClassifierCache = new LRUCache(10);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model.js\n  var OverviewRulerLane2;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane2 || (OverviewRulerLane2 = {}));\n  var GlyphMarginLane2;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane2 || (GlyphMarginLane2 = {}));\n  var InjectedTextCursorStops2;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js\n  function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex === 0) {\n      return true;\n    }\n    const charBefore = text.charCodeAt(matchStartIndex - 1);\n    if (wordSeparators.get(charBefore) !== 0) {\n      return true;\n    }\n    if (charBefore === 13 || charBefore === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const firstCharInMatch = text.charCodeAt(matchStartIndex);\n      if (wordSeparators.get(firstCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex + matchLength === textLength) {\n      return true;\n    }\n    const charAfter = text.charCodeAt(matchStartIndex + matchLength);\n    if (wordSeparators.get(charAfter) !== 0) {\n      return true;\n    }\n    if (charAfter === 13 || charAfter === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1);\n      if (wordSeparators.get(lastCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isValidMatch(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    return leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength);\n  }\n  var Searcher = class {\n    constructor(wordSeparators, searchRegex) {\n      this._wordSeparators = wordSeparators;\n      this._searchRegex = searchRegex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    reset(lastIndex) {\n      this._searchRegex.lastIndex = lastIndex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    next(text) {\n      const textLength = text.length;\n      let m;\n      do {\n        if (this._prevMatchStartIndex + this._prevMatchLength === textLength) {\n          return null;\n        }\n        m = this._searchRegex.exec(text);\n        if (!m) {\n          return null;\n        }\n        const matchStartIndex = m.index;\n        const matchLength = m[0].length;\n        if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) {\n          if (matchLength === 0) {\n            if (getNextCodePoint(text, textLength, this._searchRegex.lastIndex) > 65535) {\n              this._searchRegex.lastIndex += 2;\n            } else {\n              this._searchRegex.lastIndex += 1;\n            }\n            continue;\n          }\n          return null;\n        }\n        this._prevMatchStartIndex = matchStartIndex;\n        this._prevMatchLength = matchLength;\n        if (!this._wordSeparators || isValidMatch(this._wordSeparators, text, textLength, matchStartIndex, matchLength)) {\n          return m;\n        }\n      } while (m);\n      return null;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/assert.js\n  function assertNever(value, message = \"Unreachable\") {\n    throw new Error(message);\n  }\n  function assertFn(condition) {\n    if (!condition()) {\n      debugger;\n      condition();\n      onUnexpectedError(new BugIndicatingError(\"Assertion Failed\"));\n    }\n  }\n  function checkAdjacentItems(items, predicate) {\n    let i = 0;\n    while (i < items.length - 1) {\n      const a = items[i];\n      const b = items[i + 1];\n      if (!predicate(a, b)) {\n        return false;\n      }\n      i++;\n    }\n    return true;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js\n  var UnicodeTextModelHighlighter = class {\n    static computeUnicodeHighlights(model, options, range) {\n      const startLine = range ? range.startLineNumber : 1;\n      const endLine = range ? range.endLineNumber : model.getLineCount();\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const candidates = codePointHighlighter.getCandidateCodePoints();\n      let regex;\n      if (candidates === \"allNonBasicAscii\") {\n        regex = new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\", \"g\");\n      } else {\n        regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, \"g\");\n      }\n      const searcher = new Searcher(null, regex);\n      const ranges = [];\n      let hasMore = false;\n      let m;\n      let ambiguousCharacterCount = 0;\n      let invisibleCharacterCount = 0;\n      let nonBasicAsciiCharacterCount = 0;\n      forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) {\n        const lineContent = model.getLineContent(lineNumber);\n        const lineLength = lineContent.length;\n        searcher.reset(0);\n        do {\n          m = searcher.next(lineContent);\n          if (m) {\n            let startIndex = m.index;\n            let endIndex = m.index + m[0].length;\n            if (startIndex > 0) {\n              const charCodeBefore = lineContent.charCodeAt(startIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                startIndex--;\n              }\n            }\n            if (endIndex + 1 < lineLength) {\n              const charCodeBefore = lineContent.charCodeAt(endIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                endIndex++;\n              }\n            }\n            const str = lineContent.substring(startIndex, endIndex);\n            let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0);\n            if (word && word.endColumn <= startIndex + 1) {\n              word = null;\n            }\n            const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null);\n            if (highlightReason !== 0) {\n              if (highlightReason === 3) {\n                ambiguousCharacterCount++;\n              } else if (highlightReason === 2) {\n                invisibleCharacterCount++;\n              } else if (highlightReason === 1) {\n                nonBasicAsciiCharacterCount++;\n              } else {\n                assertNever(highlightReason);\n              }\n              const MAX_RESULT_LENGTH = 1e3;\n              if (ranges.length >= MAX_RESULT_LENGTH) {\n                hasMore = true;\n                break forLoop;\n              }\n              ranges.push(new Range(lineNumber, startIndex + 1, lineNumber, endIndex + 1));\n            }\n          }\n        } while (m);\n      }\n      return {\n        ranges,\n        hasMore,\n        ambiguousCharacterCount,\n        invisibleCharacterCount,\n        nonBasicAsciiCharacterCount\n      };\n    }\n    static computeUnicodeHighlightReason(char, options) {\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null);\n      switch (reason) {\n        case 0:\n          return null;\n        case 2:\n          return {\n            kind: 1\n            /* UnicodeHighlighterReasonKind.Invisible */\n          };\n        case 3: {\n          const codePoint = char.codePointAt(0);\n          const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint);\n          const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint));\n          return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };\n        }\n        case 1:\n          return {\n            kind: 2\n            /* UnicodeHighlighterReasonKind.NonBasicAscii */\n          };\n      }\n    }\n  };\n  function buildRegExpCharClassExpr(codePoints, flags) {\n    const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(\"\"))}]`;\n    return src;\n  }\n  var CodePointHighlighter = class {\n    constructor(options) {\n      this.options = options;\n      this.allowedCodePoints = new Set(options.allowedCodePoints);\n      this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales));\n    }\n    getCandidateCodePoints() {\n      if (this.options.nonBasicASCII) {\n        return \"allNonBasicAscii\";\n      }\n      const set = /* @__PURE__ */ new Set();\n      if (this.options.invisibleCharacters) {\n        for (const cp of InvisibleCharacters.codePoints) {\n          if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) {\n            set.add(cp);\n          }\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) {\n          set.add(cp);\n        }\n      }\n      for (const cp of this.allowedCodePoints) {\n        set.delete(cp);\n      }\n      return set;\n    }\n    shouldHighlightNonBasicASCII(character, wordContext) {\n      const codePoint = character.codePointAt(0);\n      if (this.allowedCodePoints.has(codePoint)) {\n        return 0;\n      }\n      if (this.options.nonBasicASCII) {\n        return 1;\n      }\n      let hasBasicASCIICharacters = false;\n      let hasNonConfusableNonBasicAsciiCharacter = false;\n      if (wordContext) {\n        for (const char of wordContext) {\n          const codePoint2 = char.codePointAt(0);\n          const isBasicASCII2 = isBasicASCII(char);\n          hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2;\n          if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) {\n            hasNonConfusableNonBasicAsciiCharacter = true;\n          }\n        }\n      }\n      if (\n        /* Don't allow mixing weird looking characters with ASCII */\n        !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */\n        hasNonConfusableNonBasicAsciiCharacter\n      ) {\n        return 0;\n      }\n      if (this.options.invisibleCharacters) {\n        if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) {\n          return 2;\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        if (this.ambiguousCharacters.isAmbiguous(codePoint)) {\n          return 3;\n        }\n      }\n      return 0;\n    }\n  };\n  function isAllowedInvisibleCharacter(character) {\n    return character === \" \" || character === \"\\n\" || character === \"\t\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js\n  var LinesDiff = class {\n    constructor(changes, moves, hitTimeout) {\n      this.changes = changes;\n      this.moves = moves;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var MovedText = class {\n    constructor(lineRangeMapping, changes) {\n      this.lineRangeMapping = lineRangeMapping;\n      this.changes = changes;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js\n  var OffsetRange = class _OffsetRange {\n    static addRange(range, sortedRanges) {\n      let i = 0;\n      while (i < sortedRanges.length && sortedRanges[i].endExclusive < range.start) {\n        i++;\n      }\n      let j = i;\n      while (j < sortedRanges.length && sortedRanges[j].start <= range.endExclusive) {\n        j++;\n      }\n      if (i === j) {\n        sortedRanges.splice(i, 0, range);\n      } else {\n        const start = Math.min(range.start, sortedRanges[i].start);\n        const end = Math.max(range.endExclusive, sortedRanges[j - 1].endExclusive);\n        sortedRanges.splice(i, j - i, new _OffsetRange(start, end));\n      }\n    }\n    static tryCreate(start, endExclusive) {\n      if (start > endExclusive) {\n        return void 0;\n      }\n      return new _OffsetRange(start, endExclusive);\n    }\n    static ofLength(length) {\n      return new _OffsetRange(0, length);\n    }\n    static ofStartAndLength(start, length) {\n      return new _OffsetRange(start, start + length);\n    }\n    constructor(start, endExclusive) {\n      this.start = start;\n      this.endExclusive = endExclusive;\n      if (start > endExclusive) {\n        throw new BugIndicatingError(`Invalid range: ${this.toString()}`);\n      }\n    }\n    get isEmpty() {\n      return this.start === this.endExclusive;\n    }\n    delta(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive + offset);\n    }\n    deltaStart(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive);\n    }\n    deltaEnd(offset) {\n      return new _OffsetRange(this.start, this.endExclusive + offset);\n    }\n    get length() {\n      return this.endExclusive - this.start;\n    }\n    toString() {\n      return `[${this.start}, ${this.endExclusive})`;\n    }\n    contains(offset) {\n      return this.start <= offset && offset < this.endExclusive;\n    }\n    /**\n     * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n)\n     * The joined range is the smallest range that contains both ranges.\n     */\n    join(other) {\n      return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive));\n    }\n    /**\n     * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n)\n     *\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      if (start <= end) {\n        return new _OffsetRange(start, end);\n      }\n      return void 0;\n    }\n    intersects(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      return start < end;\n    }\n    isBefore(other) {\n      return this.endExclusive <= other.start;\n    }\n    isAfter(other) {\n      return this.start >= other.endExclusive;\n    }\n    slice(arr) {\n      return arr.slice(this.start, this.endExclusive);\n    }\n    substring(str) {\n      return str.substring(this.start, this.endExclusive);\n    }\n    /**\n     * Returns the given value if it is contained in this instance, otherwise the closest value that is contained.\n     * The range must not be empty.\n     */\n    clip(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      return Math.max(this.start, Math.min(this.endExclusive - 1, value));\n    }\n    /**\n     * Returns `r := value + k * length` such that `r` is contained in this range.\n     * The range must not be empty.\n     *\n     * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`.\n     */\n    clipCyclic(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      if (value < this.start) {\n        return this.endExclusive - (this.start - value) % this.length;\n      }\n      if (value >= this.endExclusive) {\n        return this.start + (value - this.start) % this.length;\n      }\n      return value;\n    }\n    forEach(f) {\n      for (let i = this.start; i < this.endExclusive; i++) {\n        f(i);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arraysFind.js\n  function findLastMonotonous(array, predicate) {\n    const idx = findLastIdxMonotonous(array, predicate);\n    return idx === -1 ? void 0 : array[idx];\n  }\n  function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        i = k + 1;\n      } else {\n        j = k;\n      }\n    }\n    return i - 1;\n  }\n  function findFirstMonotonous(array, predicate) {\n    const idx = findFirstIdxMonotonousOrArrLen(array, predicate);\n    return idx === array.length ? void 0 : array[idx];\n  }\n  function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        j = k;\n      } else {\n        i = k + 1;\n      }\n    }\n    return i;\n  }\n  var MonotonousArray = class _MonotonousArray {\n    constructor(_array) {\n      this._array = _array;\n      this._findLastMonotonousLastIdx = 0;\n    }\n    /**\n     * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`!\n     * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`.\n     */\n    findLastMonotonous(predicate) {\n      if (_MonotonousArray.assertInvariants) {\n        if (this._prevFindLastPredicate) {\n          for (const item of this._array) {\n            if (this._prevFindLastPredicate(item) && !predicate(item)) {\n              throw new Error(\"MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.\");\n            }\n          }\n        }\n        this._prevFindLastPredicate = predicate;\n      }\n      const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx);\n      this._findLastMonotonousLastIdx = idx + 1;\n      return idx === -1 ? void 0 : this._array[idx];\n    }\n  };\n  MonotonousArray.assertInvariants = false;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js\n  var LineRange = class _LineRange {\n    static fromRangeInclusive(range) {\n      return new _LineRange(range.startLineNumber, range.endLineNumber + 1);\n    }\n    /**\n     * @param lineRanges An array of sorted line ranges.\n     */\n    static joinMany(lineRanges) {\n      if (lineRanges.length === 0) {\n        return [];\n      }\n      let result = new LineRangeSet(lineRanges[0].slice());\n      for (let i = 1; i < lineRanges.length; i++) {\n        result = result.getUnion(new LineRangeSet(lineRanges[i].slice()));\n      }\n      return result.ranges;\n    }\n    static join(lineRanges) {\n      if (lineRanges.length === 0) {\n        throw new BugIndicatingError(\"lineRanges cannot be empty\");\n      }\n      let startLineNumber = lineRanges[0].startLineNumber;\n      let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive;\n      for (let i = 1; i < lineRanges.length; i++) {\n        startLineNumber = Math.min(startLineNumber, lineRanges[i].startLineNumber);\n        endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i].endLineNumberExclusive);\n      }\n      return new _LineRange(startLineNumber, endLineNumberExclusive);\n    }\n    static ofLength(startLineNumber, length) {\n      return new _LineRange(startLineNumber, startLineNumber + length);\n    }\n    /**\n     * @internal\n     */\n    static deserialize(lineRange) {\n      return new _LineRange(lineRange[0], lineRange[1]);\n    }\n    constructor(startLineNumber, endLineNumberExclusive) {\n      if (startLineNumber > endLineNumberExclusive) {\n        throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`);\n      }\n      this.startLineNumber = startLineNumber;\n      this.endLineNumberExclusive = endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range contains the given line number.\n     */\n    contains(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range is empty.\n     */\n    get isEmpty() {\n      return this.startLineNumber === this.endLineNumberExclusive;\n    }\n    /**\n     * Moves this line range by the given offset of line numbers.\n     */\n    delta(offset) {\n      return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset);\n    }\n    deltaLength(offset) {\n      return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset);\n    }\n    /**\n     * The number of lines this line range spans.\n     */\n    get length() {\n      return this.endLineNumberExclusive - this.startLineNumber;\n    }\n    /**\n     * Creates a line range that combines this and the given line range.\n     */\n    join(other) {\n      return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive));\n    }\n    toString() {\n      return `[${this.startLineNumber},${this.endLineNumberExclusive})`;\n    }\n    /**\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber);\n      const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive);\n      if (startLineNumber <= endLineNumberExclusive) {\n        return new _LineRange(startLineNumber, endLineNumberExclusive);\n      }\n      return void 0;\n    }\n    intersectsStrict(other) {\n      return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive;\n    }\n    overlapOrTouch(other) {\n      return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive;\n    }\n    equals(b) {\n      return this.startLineNumber === b.startLineNumber && this.endLineNumberExclusive === b.endLineNumberExclusive;\n    }\n    toInclusiveRange() {\n      if (this.isEmpty) {\n        return null;\n      }\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER);\n    }\n    /**\n     * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position!\n    */\n    toExclusiveRange() {\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive, 1);\n    }\n    mapToLineArray(f) {\n      const result = [];\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        result.push(f(lineNumber));\n      }\n      return result;\n    }\n    forEach(f) {\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        f(lineNumber);\n      }\n    }\n    /**\n     * @internal\n     */\n    serialize() {\n      return [this.startLineNumber, this.endLineNumberExclusive];\n    }\n    includes(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Converts this 1-based line range to a 0-based offset range (subtracts 1!).\n     * @internal\n     */\n    toOffsetRange() {\n      return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1);\n    }\n  };\n  var LineRangeSet = class _LineRangeSet {\n    constructor(_normalizedRanges = []) {\n      this._normalizedRanges = _normalizedRanges;\n    }\n    get ranges() {\n      return this._normalizedRanges;\n    }\n    addRange(range) {\n      if (range.length === 0) {\n        return;\n      }\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        this._normalizedRanges.splice(joinRangeStartIdx, 0, range);\n      } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx];\n        this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range);\n      } else {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range);\n        this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange);\n      }\n    }\n    contains(lineNumber) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= lineNumber);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber;\n    }\n    intersects(range) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber < range.endLineNumberExclusive);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber;\n    }\n    getUnion(other) {\n      if (this._normalizedRanges.length === 0) {\n        return other;\n      }\n      if (other._normalizedRanges.length === 0) {\n        return this;\n      }\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      let current = null;\n      while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) {\n        let next = null;\n        if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n          const lineRange1 = this._normalizedRanges[i1];\n          const lineRange2 = other._normalizedRanges[i2];\n          if (lineRange1.startLineNumber < lineRange2.startLineNumber) {\n            next = lineRange1;\n            i1++;\n          } else {\n            next = lineRange2;\n            i2++;\n          }\n        } else if (i1 < this._normalizedRanges.length) {\n          next = this._normalizedRanges[i1];\n          i1++;\n        } else {\n          next = other._normalizedRanges[i2];\n          i2++;\n        }\n        if (current === null) {\n          current = next;\n        } else {\n          if (current.endLineNumberExclusive >= next.startLineNumber) {\n            current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive));\n          } else {\n            result.push(current);\n            current = next;\n          }\n        }\n      }\n      if (current !== null) {\n        result.push(current);\n      }\n      return new _LineRangeSet(result);\n    }\n    /**\n     * Subtracts all ranges in this set from `range` and returns the result.\n     */\n    subtractFrom(range) {\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        return new _LineRangeSet([range]);\n      }\n      const result = [];\n      let startLineNumber = range.startLineNumber;\n      for (let i = joinRangeStartIdx; i < joinRangeEndIdxExclusive; i++) {\n        const r = this._normalizedRanges[i];\n        if (r.startLineNumber > startLineNumber) {\n          result.push(new LineRange(startLineNumber, r.startLineNumber));\n        }\n        startLineNumber = r.endLineNumberExclusive;\n      }\n      if (startLineNumber < range.endLineNumberExclusive) {\n        result.push(new LineRange(startLineNumber, range.endLineNumberExclusive));\n      }\n      return new _LineRangeSet(result);\n    }\n    toString() {\n      return this._normalizedRanges.map((r) => r.toString()).join(\", \");\n    }\n    getIntersection(other) {\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n        const r1 = this._normalizedRanges[i1];\n        const r2 = other._normalizedRanges[i2];\n        const i = r1.intersect(r2);\n        if (i && !i.isEmpty) {\n          result.push(i);\n        }\n        if (r1.endLineNumberExclusive < r2.endLineNumberExclusive) {\n          i1++;\n        } else {\n          i2++;\n        }\n      }\n      return new _LineRangeSet(result);\n    }\n    getWithDelta(value) {\n      return new _LineRangeSet(this._normalizedRanges.map((r) => r.delta(value)));\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js\n  var TextLength = class _TextLength {\n    static betweenPositions(position1, position2) {\n      if (position1.lineNumber === position2.lineNumber) {\n        return new _TextLength(0, position2.column - position1.column);\n      } else {\n        return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1);\n      }\n    }\n    static ofRange(range) {\n      return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition());\n    }\n    static ofText(text) {\n      let line = 0;\n      let column = 0;\n      for (const c of text) {\n        if (c === \"\\n\") {\n          line++;\n          column = 0;\n        } else {\n          column++;\n        }\n      }\n      return new _TextLength(line, column);\n    }\n    constructor(lineCount, columnCount) {\n      this.lineCount = lineCount;\n      this.columnCount = columnCount;\n    }\n    isGreaterThanOrEqualTo(other) {\n      if (this.lineCount !== other.lineCount) {\n        return this.lineCount > other.lineCount;\n      }\n      return this.columnCount >= other.columnCount;\n    }\n    createRange(startPosition) {\n      if (this.lineCount === 0) {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount);\n      } else {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    addToPosition(position) {\n      if (this.lineCount === 0) {\n        return new Position(position.lineNumber, position.column + this.columnCount);\n      } else {\n        return new Position(position.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    toString() {\n      return `${this.lineCount},${this.columnCount}`;\n    }\n  };\n  TextLength.zero = new TextLength(0, 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js\n  var SingleTextEdit = class {\n    constructor(range, text) {\n      this.range = range;\n      this.text = text;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js\n  var LineRangeMapping = class _LineRangeMapping {\n    static inverse(mapping, originalLineCount, modifiedLineCount) {\n      const result = [];\n      let lastOriginalEndLineNumber = 1;\n      let lastModifiedEndLineNumber = 1;\n      for (const m of mapping) {\n        const r2 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m.modified.startLineNumber));\n        if (!r2.modified.isEmpty) {\n          result.push(r2);\n        }\n        lastOriginalEndLineNumber = m.original.endLineNumberExclusive;\n        lastModifiedEndLineNumber = m.modified.endLineNumberExclusive;\n      }\n      const r = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1));\n      if (!r.modified.isEmpty) {\n        result.push(r);\n      }\n      return result;\n    }\n    static clip(mapping, originalRange, modifiedRange) {\n      const result = [];\n      for (const m of mapping) {\n        const original = m.original.intersect(originalRange);\n        const modified = m.modified.intersect(modifiedRange);\n        if (original && !original.isEmpty && modified && !modified.isEmpty) {\n          result.push(new _LineRangeMapping(original, modified));\n        }\n      }\n      return result;\n    }\n    constructor(originalRange, modifiedRange) {\n      this.original = originalRange;\n      this.modified = modifiedRange;\n    }\n    toString() {\n      return `{${this.original.toString()}->${this.modified.toString()}}`;\n    }\n    flip() {\n      return new _LineRangeMapping(this.modified, this.original);\n    }\n    join(other) {\n      return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified));\n    }\n    /**\n     * This method assumes that the LineRangeMapping describes a valid diff!\n     * I.e. if one range is empty, the other range cannot be the entire document.\n     * It avoids various problems when the line range points to non-existing line-numbers.\n    */\n    toRangeMapping() {\n      const origInclusiveRange = this.original.toInclusiveRange();\n      const modInclusiveRange = this.modified.toInclusiveRange();\n      if (origInclusiveRange && modInclusiveRange) {\n        return new RangeMapping(origInclusiveRange, modInclusiveRange);\n      } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {\n        if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) {\n          throw new BugIndicatingError(\"not a valid diff\");\n        }\n        return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));\n      } else {\n        return new RangeMapping(new Range(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));\n      }\n    }\n  };\n  var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping {\n    static fromRangeMappings(rangeMappings) {\n      const originalRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.originalRange)));\n      const modifiedRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.modifiedRange)));\n      return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings);\n    }\n    constructor(originalRange, modifiedRange, innerChanges) {\n      super(originalRange, modifiedRange);\n      this.innerChanges = innerChanges;\n    }\n    flip() {\n      var _a5;\n      return new _DetailedLineRangeMapping(this.modified, this.original, (_a5 = this.innerChanges) === null || _a5 === void 0 ? void 0 : _a5.map((c) => c.flip()));\n    }\n    withInnerChangesFromLineRanges() {\n      return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]);\n    }\n  };\n  var RangeMapping = class _RangeMapping {\n    constructor(originalRange, modifiedRange) {\n      this.originalRange = originalRange;\n      this.modifiedRange = modifiedRange;\n    }\n    toString() {\n      return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`;\n    }\n    flip() {\n      return new _RangeMapping(this.modifiedRange, this.originalRange);\n    }\n    /**\n     * Creates a single text edit that describes the change from the original to the modified text.\n    */\n    toTextEdit(modified) {\n      const newText = modified.getValueOfRange(this.modifiedRange);\n      return new SingleTextEdit(this.originalRange, newText);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js\n  var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;\n  var LegacyLinesDiffComputer = class {\n    computeDiff(originalLines, modifiedLines, options) {\n      var _a5;\n      const diffComputer = new DiffComputer(originalLines, modifiedLines, {\n        maxComputationTime: options.maxComputationTimeMs,\n        shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace,\n        shouldComputeCharChanges: true,\n        shouldMakePrettyDiff: true,\n        shouldPostProcessCharChanges: true\n      });\n      const result = diffComputer.computeDiff();\n      const changes = [];\n      let lastChange = null;\n      for (const c of result.changes) {\n        let originalRange;\n        if (c.originalEndLineNumber === 0) {\n          originalRange = new LineRange(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1);\n        } else {\n          originalRange = new LineRange(c.originalStartLineNumber, c.originalEndLineNumber + 1);\n        }\n        let modifiedRange;\n        if (c.modifiedEndLineNumber === 0) {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1);\n        } else {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1);\n        }\n        let change = new DetailedLineRangeMapping(originalRange, modifiedRange, (_a5 = c.charChanges) === null || _a5 === void 0 ? void 0 : _a5.map((c2) => new RangeMapping(new Range(c2.originalStartLineNumber, c2.originalStartColumn, c2.originalEndLineNumber, c2.originalEndColumn), new Range(c2.modifiedStartLineNumber, c2.modifiedStartColumn, c2.modifiedEndLineNumber, c2.modifiedEndColumn))));\n        if (lastChange) {\n          if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) {\n            change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0);\n            changes.pop();\n          }\n        }\n        changes.push(change);\n        lastChange = change;\n      }\n      assertFn(() => {\n        return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n        m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n      });\n      return new LinesDiff(changes, [], result.quitEarly);\n    }\n  };\n  function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) {\n    const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate);\n    return diffAlgo.ComputeDiff(pretty);\n  }\n  var LineSequence = class {\n    constructor(lines) {\n      const startColumns = [];\n      const endColumns = [];\n      for (let i = 0, length = lines.length; i < length; i++) {\n        startColumns[i] = getFirstNonBlankColumn(lines[i], 1);\n        endColumns[i] = getLastNonBlankColumn(lines[i], 1);\n      }\n      this.lines = lines;\n      this._startColumns = startColumns;\n      this._endColumns = endColumns;\n    }\n    getElements() {\n      const elements = [];\n      for (let i = 0, len = this.lines.length; i < len; i++) {\n        elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1);\n      }\n      return elements;\n    }\n    getStrictElement(index) {\n      return this.lines[index];\n    }\n    getStartLineNumber(i) {\n      return i + 1;\n    }\n    getEndLineNumber(i) {\n      return i + 1;\n    }\n    createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) {\n      const charCodes = [];\n      const lineNumbers = [];\n      const columns = [];\n      let len = 0;\n      for (let index = startIndex; index <= endIndex; index++) {\n        const lineContent = this.lines[index];\n        const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1;\n        const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1;\n        for (let col = startColumn; col < endColumn; col++) {\n          charCodes[len] = lineContent.charCodeAt(col - 1);\n          lineNumbers[len] = index + 1;\n          columns[len] = col;\n          len++;\n        }\n        if (!shouldIgnoreTrimWhitespace && index < endIndex) {\n          charCodes[len] = 10;\n          lineNumbers[len] = index + 1;\n          columns[len] = lineContent.length + 1;\n          len++;\n        }\n      }\n      return new CharSequence(charCodes, lineNumbers, columns);\n    }\n  };\n  var CharSequence = class {\n    constructor(charCodes, lineNumbers, columns) {\n      this._charCodes = charCodes;\n      this._lineNumbers = lineNumbers;\n      this._columns = columns;\n    }\n    toString() {\n      return \"[\" + this._charCodes.map((s, idx) => (s === 10 ? \"\\\\n\" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(\", \") + \"]\";\n    }\n    _assertIndex(index, arr) {\n      if (index < 0 || index >= arr.length) {\n        throw new Error(`Illegal index`);\n      }\n    }\n    getElements() {\n      return this._charCodes;\n    }\n    getStartLineNumber(i) {\n      if (i > 0 && i === this._lineNumbers.length) {\n        return this.getEndLineNumber(i - 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      return this._lineNumbers[i];\n    }\n    getEndLineNumber(i) {\n      if (i === -1) {\n        return this.getStartLineNumber(i + 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      if (this._charCodes[i] === 10) {\n        return this._lineNumbers[i] + 1;\n      }\n      return this._lineNumbers[i];\n    }\n    getStartColumn(i) {\n      if (i > 0 && i === this._columns.length) {\n        return this.getEndColumn(i - 1);\n      }\n      this._assertIndex(i, this._columns);\n      return this._columns[i];\n    }\n    getEndColumn(i) {\n      if (i === -1) {\n        return this.getStartColumn(i + 1);\n      }\n      this._assertIndex(i, this._columns);\n      if (this._charCodes[i] === 10) {\n        return 1;\n      }\n      return this._columns[i] + 1;\n    }\n  };\n  var CharChange = class _CharChange {\n    constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalStartColumn = originalStartColumn;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.originalEndColumn = originalEndColumn;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedStartColumn = modifiedStartColumn;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.modifiedEndColumn = modifiedEndColumn;\n    }\n    static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) {\n      const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart);\n      const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart);\n      const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1);\n      const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart);\n      const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart);\n      const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn);\n    }\n  };\n  function postProcessCharChanges(rawChanges) {\n    if (rawChanges.length <= 1) {\n      return rawChanges;\n    }\n    const result = [rawChanges[0]];\n    let prevChange = result[0];\n    for (let i = 1, len = rawChanges.length; i < len; i++) {\n      const currChange = rawChanges[i];\n      const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength);\n      const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength);\n      const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength);\n      if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) {\n        prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart;\n        prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart;\n      } else {\n        result.push(currChange);\n        prevChange = currChange;\n      }\n    }\n    return result;\n  }\n  var LineChange = class _LineChange {\n    constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.charChanges = charChanges;\n    }\n    static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) {\n      let originalStartLineNumber;\n      let originalEndLineNumber;\n      let modifiedStartLineNumber;\n      let modifiedEndLineNumber;\n      let charChanges = void 0;\n      if (diffChange.originalLength === 0) {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1;\n        originalEndLineNumber = 0;\n      } else {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart);\n        originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      }\n      if (diffChange.modifiedLength === 0) {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1;\n        modifiedEndLineNumber = 0;\n      } else {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart);\n        modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      }\n      if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) {\n        const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1);\n        const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1);\n        if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) {\n          let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes;\n          if (shouldPostProcessCharChanges) {\n            rawChanges = postProcessCharChanges(rawChanges);\n          }\n          charChanges = [];\n          for (let i = 0, length = rawChanges.length; i < length; i++) {\n            charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence));\n          }\n        }\n      }\n      return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges);\n    }\n  };\n  var DiffComputer = class {\n    constructor(originalLines, modifiedLines, opts) {\n      this.shouldComputeCharChanges = opts.shouldComputeCharChanges;\n      this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges;\n      this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace;\n      this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff;\n      this.originalLines = originalLines;\n      this.modifiedLines = modifiedLines;\n      this.original = new LineSequence(originalLines);\n      this.modified = new LineSequence(modifiedLines);\n      this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime);\n      this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3));\n    }\n    computeDiff() {\n      if (this.original.lines.length === 1 && this.original.lines[0].length === 0) {\n        if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n          return {\n            quitEarly: false,\n            changes: []\n          };\n        }\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: 1,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: this.modified.lines.length,\n            charChanges: void 0\n          }]\n        };\n      }\n      if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: this.original.lines.length,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: 1,\n            charChanges: void 0\n          }]\n        };\n      }\n      const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff);\n      const rawChanges = diffResult.changes;\n      const quitEarly = diffResult.quitEarly;\n      if (this.shouldIgnoreTrimWhitespace) {\n        const lineChanges = [];\n        for (let i = 0, length = rawChanges.length; i < length; i++) {\n          lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n        }\n        return {\n          quitEarly,\n          changes: lineChanges\n        };\n      }\n      const result = [];\n      let originalLineIndex = 0;\n      let modifiedLineIndex = 0;\n      for (let i = -1, len = rawChanges.length; i < len; i++) {\n        const nextChange = i + 1 < len ? rawChanges[i + 1] : null;\n        const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length;\n        const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length;\n        while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) {\n          const originalLine = this.originalLines[originalLineIndex];\n          const modifiedLine = this.modifiedLines[modifiedLineIndex];\n          if (originalLine !== modifiedLine) {\n            {\n              let originalStartColumn = getFirstNonBlankColumn(originalLine, 1);\n              let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1);\n              while (originalStartColumn > 1 && modifiedStartColumn > 1) {\n                const originalChar = originalLine.charCodeAt(originalStartColumn - 2);\n                const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalStartColumn--;\n                modifiedStartColumn--;\n              }\n              if (originalStartColumn > 1 || modifiedStartColumn > 1) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn);\n              }\n            }\n            {\n              let originalEndColumn = getLastNonBlankColumn(originalLine, 1);\n              let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1);\n              const originalMaxColumn = originalLine.length + 1;\n              const modifiedMaxColumn = modifiedLine.length + 1;\n              while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) {\n                const originalChar = originalLine.charCodeAt(originalEndColumn - 1);\n                const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalEndColumn++;\n                modifiedEndColumn++;\n              }\n              if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn);\n              }\n            }\n          }\n          originalLineIndex++;\n          modifiedLineIndex++;\n        }\n        if (nextChange) {\n          result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n          originalLineIndex += nextChange.originalLength;\n          modifiedLineIndex += nextChange.modifiedLength;\n        }\n      }\n      return {\n        quitEarly,\n        changes: result\n      };\n    }\n    _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) {\n        return;\n      }\n      let charChanges = void 0;\n      if (this.shouldComputeCharChanges) {\n        charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)];\n      }\n      result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges));\n    }\n    _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      const len = result.length;\n      if (len === 0) {\n        return false;\n      }\n      const prevChange = result[len - 1];\n      if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) {\n        return false;\n      }\n      if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) {\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) {\n        prevChange.originalEndLineNumber = originalLineNumber;\n        prevChange.modifiedEndLineNumber = modifiedLineNumber;\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      return false;\n    }\n  };\n  function getFirstNonBlankColumn(txt, defaultValue) {\n    const r = firstNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 1;\n  }\n  function getLastNonBlankColumn(txt, defaultValue) {\n    const r = lastNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 2;\n  }\n  function createContinueProcessingPredicate(maximumRuntime) {\n    if (maximumRuntime === 0) {\n      return () => true;\n    }\n    const startTime = Date.now();\n    return () => {\n      return Date.now() - startTime < maximumRuntime;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js\n  var DiffAlgorithmResult = class _DiffAlgorithmResult {\n    static trivial(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);\n    }\n    static trivialTimedOut(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true);\n    }\n    constructor(diffs, hitTimeout) {\n      this.diffs = diffs;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var SequenceDiff = class _SequenceDiff {\n    static invert(sequenceDiffs, doc1Length) {\n      const result = [];\n      forEachAdjacent(sequenceDiffs, (a, b) => {\n        result.push(_SequenceDiff.fromOffsetPairs(a ? a.getEndExclusives() : OffsetPair.zero, b ? b.getStarts() : new OffsetPair(doc1Length, (a ? a.seq2Range.endExclusive - a.seq1Range.endExclusive : 0) + doc1Length)));\n      });\n      return result;\n    }\n    static fromOffsetPairs(start, endExclusive) {\n      return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2));\n    }\n    constructor(seq1Range, seq2Range) {\n      this.seq1Range = seq1Range;\n      this.seq2Range = seq2Range;\n    }\n    swap() {\n      return new _SequenceDiff(this.seq2Range, this.seq1Range);\n    }\n    toString() {\n      return `${this.seq1Range} <-> ${this.seq2Range}`;\n    }\n    join(other) {\n      return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range));\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset));\n    }\n    deltaStart(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset));\n    }\n    deltaEnd(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset));\n    }\n    intersect(other) {\n      const i1 = this.seq1Range.intersect(other.seq1Range);\n      const i2 = this.seq2Range.intersect(other.seq2Range);\n      if (!i1 || !i2) {\n        return void 0;\n      }\n      return new _SequenceDiff(i1, i2);\n    }\n    getStarts() {\n      return new OffsetPair(this.seq1Range.start, this.seq2Range.start);\n    }\n    getEndExclusives() {\n      return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive);\n    }\n  };\n  var OffsetPair = class _OffsetPair {\n    constructor(offset1, offset2) {\n      this.offset1 = offset1;\n      this.offset2 = offset2;\n    }\n    toString() {\n      return `${this.offset1} <-> ${this.offset2}`;\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _OffsetPair(this.offset1 + offset, this.offset2 + offset);\n    }\n    equals(other) {\n      return this.offset1 === other.offset1 && this.offset2 === other.offset2;\n    }\n  };\n  OffsetPair.zero = new OffsetPair(0, 0);\n  OffsetPair.max = new OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER);\n  var InfiniteTimeout = class {\n    isValid() {\n      return true;\n    }\n  };\n  InfiniteTimeout.instance = new InfiniteTimeout();\n  var DateTimeout = class {\n    constructor(timeout) {\n      this.timeout = timeout;\n      this.startTime = Date.now();\n      this.valid = true;\n      if (timeout <= 0) {\n        throw new BugIndicatingError(\"timeout must be positive\");\n      }\n    }\n    // Recommendation: Set a log-point `{this.disable()}` in the body\n    isValid() {\n      const valid = Date.now() - this.startTime < this.timeout;\n      if (!valid && this.valid) {\n        this.valid = false;\n        debugger;\n      }\n      return this.valid;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js\n  var Array2D = class {\n    constructor(width, height) {\n      this.width = width;\n      this.height = height;\n      this.array = [];\n      this.array = new Array(width * height);\n    }\n    get(x, y) {\n      return this.array[x + y * this.width];\n    }\n    set(x, y, value) {\n      this.array[x + y * this.width] = value;\n    }\n  };\n  function isSpace(charCode) {\n    return charCode === 32 || charCode === 9;\n  }\n  var LineRangeFragment = class _LineRangeFragment {\n    static getKey(chr) {\n      let key = this.chrKeys.get(chr);\n      if (key === void 0) {\n        key = this.chrKeys.size;\n        this.chrKeys.set(chr, key);\n      }\n      return key;\n    }\n    constructor(range, lines, source) {\n      this.range = range;\n      this.lines = lines;\n      this.source = source;\n      this.histogram = [];\n      let counter = 0;\n      for (let i = range.startLineNumber - 1; i < range.endLineNumberExclusive - 1; i++) {\n        const line = lines[i];\n        for (let j = 0; j < line.length; j++) {\n          counter++;\n          const chr = line[j];\n          const key2 = _LineRangeFragment.getKey(chr);\n          this.histogram[key2] = (this.histogram[key2] || 0) + 1;\n        }\n        counter++;\n        const key = _LineRangeFragment.getKey(\"\\n\");\n        this.histogram[key] = (this.histogram[key] || 0) + 1;\n      }\n      this.totalCount = counter;\n    }\n    computeSimilarity(other) {\n      var _a5, _b3;\n      let sumDifferences = 0;\n      const maxLength = Math.max(this.histogram.length, other.histogram.length);\n      for (let i = 0; i < maxLength; i++) {\n        sumDifferences += Math.abs(((_a5 = this.histogram[i]) !== null && _a5 !== void 0 ? _a5 : 0) - ((_b3 = other.histogram[i]) !== null && _b3 !== void 0 ? _b3 : 0));\n      }\n      return 1 - sumDifferences / (this.totalCount + other.totalCount);\n    }\n  };\n  LineRangeFragment.chrKeys = /* @__PURE__ */ new Map();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js\n  var DynamicProgrammingDiffing = class {\n    compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {\n      if (sequence1.length === 0 || sequence2.length === 0) {\n        return DiffAlgorithmResult.trivial(sequence1, sequence2);\n      }\n      const lcsLengths = new Array2D(sequence1.length, sequence2.length);\n      const directions = new Array2D(sequence1.length, sequence2.length);\n      const lengths = new Array2D(sequence1.length, sequence2.length);\n      for (let s12 = 0; s12 < sequence1.length; s12++) {\n        for (let s22 = 0; s22 < sequence2.length; s22++) {\n          if (!timeout.isValid()) {\n            return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2);\n          }\n          const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22);\n          const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1);\n          let extendedSeqScore;\n          if (sequence1.getElement(s12) === sequence2.getElement(s22)) {\n            if (s12 === 0 || s22 === 0) {\n              extendedSeqScore = 0;\n            } else {\n              extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1);\n            }\n            if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) {\n              extendedSeqScore += lengths.get(s12 - 1, s22 - 1);\n            }\n            extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1;\n          } else {\n            extendedSeqScore = -1;\n          }\n          const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore);\n          if (newValue === extendedSeqScore) {\n            const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0;\n            lengths.set(s12, s22, prevLen + 1);\n            directions.set(s12, s22, 3);\n          } else if (newValue === horizontalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 1);\n          } else if (newValue === verticalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 2);\n          }\n          lcsLengths.set(s12, s22, newValue);\n        }\n      }\n      const result = [];\n      let lastAligningPosS1 = sequence1.length;\n      let lastAligningPosS2 = sequence2.length;\n      function reportDecreasingAligningPositions(s12, s22) {\n        if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2)));\n        }\n        lastAligningPosS1 = s12;\n        lastAligningPosS2 = s22;\n      }\n      let s1 = sequence1.length - 1;\n      let s2 = sequence2.length - 1;\n      while (s1 >= 0 && s2 >= 0) {\n        if (directions.get(s1, s2) === 3) {\n          reportDecreasingAligningPositions(s1, s2);\n          s1--;\n          s2--;\n        } else {\n          if (directions.get(s1, s2) === 1) {\n            s1--;\n          } else {\n            s2--;\n          }\n        }\n      }\n      reportDecreasingAligningPositions(-1, -1);\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js\n  var MyersDiffAlgorithm = class {\n    compute(seq1, seq2, timeout = InfiniteTimeout.instance) {\n      if (seq1.length === 0 || seq2.length === 0) {\n        return DiffAlgorithmResult.trivial(seq1, seq2);\n      }\n      const seqX = seq1;\n      const seqY = seq2;\n      function getXAfterSnake(x, y) {\n        while (x < seqX.length && y < seqY.length && seqX.getElement(x) === seqY.getElement(y)) {\n          x++;\n          y++;\n        }\n        return x;\n      }\n      let d = 0;\n      const V = new FastInt32Array();\n      V.set(0, getXAfterSnake(0, 0));\n      const paths = new FastArrayNegativeIndices();\n      paths.set(0, V.get(0) === 0 ? null : new SnakePath(null, 0, 0, V.get(0)));\n      let k = 0;\n      loop: while (true) {\n        d++;\n        if (!timeout.isValid()) {\n          return DiffAlgorithmResult.trivialTimedOut(seqX, seqY);\n        }\n        const lowerBound = -Math.min(d, seqY.length + d % 2);\n        const upperBound = Math.min(d, seqX.length + d % 2);\n        for (k = lowerBound; k <= upperBound; k += 2) {\n          let step = 0;\n          const maxXofDLineTop = k === upperBound ? -1 : V.get(k + 1);\n          const maxXofDLineLeft = k === lowerBound ? -1 : V.get(k - 1) + 1;\n          step++;\n          const x = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length);\n          const y = x - k;\n          step++;\n          if (x > seqX.length || y > seqY.length) {\n            continue;\n          }\n          const newMaxX = getXAfterSnake(x, y);\n          V.set(k, newMaxX);\n          const lastPath = x === maxXofDLineTop ? paths.get(k + 1) : paths.get(k - 1);\n          paths.set(k, newMaxX !== x ? new SnakePath(lastPath, x, y, newMaxX - x) : lastPath);\n          if (V.get(k) === seqX.length && V.get(k) - k === seqY.length) {\n            break loop;\n          }\n        }\n      }\n      let path = paths.get(k);\n      const result = [];\n      let lastAligningPosS1 = seqX.length;\n      let lastAligningPosS2 = seqY.length;\n      while (true) {\n        const endX = path ? path.x + path.length : 0;\n        const endY = path ? path.y + path.length : 0;\n        if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2)));\n        }\n        if (!path) {\n          break;\n        }\n        lastAligningPosS1 = path.x;\n        lastAligningPosS2 = path.y;\n        path = path.prev;\n      }\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n  var SnakePath = class {\n    constructor(prev, x, y, length) {\n      this.prev = prev;\n      this.x = x;\n      this.y = y;\n      this.length = length;\n    }\n  };\n  var FastInt32Array = class {\n    constructor() {\n      this.positiveArr = new Int32Array(10);\n      this.negativeArr = new Int32Array(10);\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        if (idx >= this.negativeArr.length) {\n          const arr = this.negativeArr;\n          this.negativeArr = new Int32Array(arr.length * 2);\n          this.negativeArr.set(arr);\n        }\n        this.negativeArr[idx] = value;\n      } else {\n        if (idx >= this.positiveArr.length) {\n          const arr = this.positiveArr;\n          this.positiveArr = new Int32Array(arr.length * 2);\n          this.positiveArr.set(arr);\n        }\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n  var FastArrayNegativeIndices = class {\n    constructor() {\n      this.positiveArr = [];\n      this.negativeArr = [];\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        this.negativeArr[idx] = value;\n      } else {\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js\n  var LinesSliceCharSequence = class {\n    constructor(lines, lineRange, considerWhitespaceChanges) {\n      this.lines = lines;\n      this.considerWhitespaceChanges = considerWhitespaceChanges;\n      this.elements = [];\n      this.firstCharOffsetByLine = [];\n      this.additionalOffsetByLine = [];\n      let trimFirstLineFully = false;\n      if (lineRange.start > 0 && lineRange.endExclusive >= lines.length) {\n        lineRange = new OffsetRange(lineRange.start - 1, lineRange.endExclusive);\n        trimFirstLineFully = true;\n      }\n      this.lineRange = lineRange;\n      this.firstCharOffsetByLine[0] = 0;\n      for (let i = this.lineRange.start; i < this.lineRange.endExclusive; i++) {\n        let line = lines[i];\n        let offset = 0;\n        if (trimFirstLineFully) {\n          offset = line.length;\n          line = \"\";\n          trimFirstLineFully = false;\n        } else if (!considerWhitespaceChanges) {\n          const trimmedStartLine = line.trimStart();\n          offset = line.length - trimmedStartLine.length;\n          line = trimmedStartLine.trimEnd();\n        }\n        this.additionalOffsetByLine.push(offset);\n        for (let i2 = 0; i2 < line.length; i2++) {\n          this.elements.push(line.charCodeAt(i2));\n        }\n        if (i < lines.length - 1) {\n          this.elements.push(\"\\n\".charCodeAt(0));\n          this.firstCharOffsetByLine[i - this.lineRange.start + 1] = this.elements.length;\n        }\n      }\n      this.additionalOffsetByLine.push(0);\n    }\n    toString() {\n      return `Slice: \"${this.text}\"`;\n    }\n    get text() {\n      return this.getText(new OffsetRange(0, this.length));\n    }\n    getText(range) {\n      return this.elements.slice(range.start, range.endExclusive).map((e) => String.fromCharCode(e)).join(\"\");\n    }\n    getElement(offset) {\n      return this.elements[offset];\n    }\n    get length() {\n      return this.elements.length;\n    }\n    getBoundaryScore(length) {\n      const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1);\n      const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1);\n      if (prevCategory === 7 && nextCategory === 8) {\n        return 0;\n      }\n      if (prevCategory === 8) {\n        return 150;\n      }\n      let score2 = 0;\n      if (prevCategory !== nextCategory) {\n        score2 += 10;\n        if (prevCategory === 0 && nextCategory === 1) {\n          score2 += 1;\n        }\n      }\n      score2 += getCategoryBoundaryScore(prevCategory);\n      score2 += getCategoryBoundaryScore(nextCategory);\n      return score2;\n    }\n    translateOffset(offset) {\n      if (this.lineRange.isEmpty) {\n        return new Position(this.lineRange.start + 1, 1);\n      }\n      const i = findLastIdxMonotonous(this.firstCharOffsetByLine, (value) => value <= offset);\n      return new Position(this.lineRange.start + i + 1, offset - this.firstCharOffsetByLine[i] + this.additionalOffsetByLine[i] + 1);\n    }\n    translateRange(range) {\n      return Range.fromPositions(this.translateOffset(range.start), this.translateOffset(range.endExclusive));\n    }\n    /**\n     * Finds the word that contains the character at the given offset\n     */\n    findWordContaining(offset) {\n      if (offset < 0 || offset >= this.elements.length) {\n        return void 0;\n      }\n      if (!isWordChar(this.elements[offset])) {\n        return void 0;\n      }\n      let start = offset;\n      while (start > 0 && isWordChar(this.elements[start - 1])) {\n        start--;\n      }\n      let end = offset;\n      while (end < this.elements.length && isWordChar(this.elements[end])) {\n        end++;\n      }\n      return new OffsetRange(start, end);\n    }\n    countLinesIn(range) {\n      return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber;\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.elements[offset1] === this.elements[offset2];\n    }\n    extendToFullLines(range) {\n      var _a5, _b3;\n      const start = (_a5 = findLastMonotonous(this.firstCharOffsetByLine, (x) => x <= range.start)) !== null && _a5 !== void 0 ? _a5 : 0;\n      const end = (_b3 = findFirstMonotonous(this.firstCharOffsetByLine, (x) => range.endExclusive <= x)) !== null && _b3 !== void 0 ? _b3 : this.elements.length;\n      return new OffsetRange(start, end);\n    }\n  };\n  function isWordChar(charCode) {\n    return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57;\n  }\n  var score = {\n    [\n      0\n      /* CharBoundaryCategory.WordLower */\n    ]: 0,\n    [\n      1\n      /* CharBoundaryCategory.WordUpper */\n    ]: 0,\n    [\n      2\n      /* CharBoundaryCategory.WordNumber */\n    ]: 0,\n    [\n      3\n      /* CharBoundaryCategory.End */\n    ]: 10,\n    [\n      4\n      /* CharBoundaryCategory.Other */\n    ]: 2,\n    [\n      5\n      /* CharBoundaryCategory.Separator */\n    ]: 30,\n    [\n      6\n      /* CharBoundaryCategory.Space */\n    ]: 3,\n    [\n      7\n      /* CharBoundaryCategory.LineBreakCR */\n    ]: 10,\n    [\n      8\n      /* CharBoundaryCategory.LineBreakLF */\n    ]: 10\n  };\n  function getCategoryBoundaryScore(category) {\n    return score[category];\n  }\n  function getCategory(charCode) {\n    if (charCode === 10) {\n      return 8;\n    } else if (charCode === 13) {\n      return 7;\n    } else if (isSpace(charCode)) {\n      return 6;\n    } else if (charCode >= 97 && charCode <= 122) {\n      return 0;\n    } else if (charCode >= 65 && charCode <= 90) {\n      return 1;\n    } else if (charCode >= 48 && charCode <= 57) {\n      return 2;\n    } else if (charCode === -1) {\n      return 3;\n    } else if (charCode === 44 || charCode === 59) {\n      return 5;\n    } else {\n      return 4;\n    }\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js\n  function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {\n    let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);\n    if (!timeout.isValid()) {\n      return [];\n    }\n    const filteredChanges = changes.filter((c) => !excludedChanges.has(c));\n    const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout);\n    pushMany(moves, unchangedMoves);\n    moves = joinCloseConsecutiveMoves(moves);\n    moves = moves.filter((current) => {\n      const lines = current.original.toOffsetRange().slice(originalLines).map((l) => l.trim());\n      const originalText = lines.join(\"\\n\");\n      return originalText.length >= 15 && countWhere(lines, (l) => l.length >= 2) >= 2;\n    });\n    moves = removeMovesInSameDiff(changes, moves);\n    return moves;\n  }\n  function countWhere(arr, predicate) {\n    let count = 0;\n    for (const t of arr) {\n      if (predicate(t)) {\n        count++;\n      }\n    }\n    return count;\n  }\n  function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const deletions = changes.filter((c) => c.modified.isEmpty && c.original.length >= 3).map((d) => new LineRangeFragment(d.original, originalLines, d));\n    const insertions = new Set(changes.filter((c) => c.original.isEmpty && c.modified.length >= 3).map((d) => new LineRangeFragment(d.modified, modifiedLines, d)));\n    const excludedChanges = /* @__PURE__ */ new Set();\n    for (const deletion of deletions) {\n      let highestSimilarity = -1;\n      let best;\n      for (const insertion of insertions) {\n        const similarity = deletion.computeSimilarity(insertion);\n        if (similarity > highestSimilarity) {\n          highestSimilarity = similarity;\n          best = insertion;\n        }\n      }\n      if (highestSimilarity > 0.9 && best) {\n        insertions.delete(best);\n        moves.push(new LineRangeMapping(deletion.range, best.range));\n        excludedChanges.add(deletion.source);\n        excludedChanges.add(best.source);\n      }\n      if (!timeout.isValid()) {\n        return { moves, excludedChanges };\n      }\n    }\n    return { moves, excludedChanges };\n  }\n  function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const original3LineHashes = new SetMap();\n    for (const change of changes) {\n      for (let i = change.original.startLineNumber; i < change.original.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedOriginalLines[i - 1]}:${hashedOriginalLines[i + 1 - 1]}:${hashedOriginalLines[i + 2 - 1]}`;\n        original3LineHashes.add(key, { range: new LineRange(i, i + 3) });\n      }\n    }\n    const possibleMappings = [];\n    changes.sort(compareBy((c) => c.modified.startLineNumber, numberComparator));\n    for (const change of changes) {\n      let lastMappings = [];\n      for (let i = change.modified.startLineNumber; i < change.modified.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedModifiedLines[i - 1]}:${hashedModifiedLines[i + 1 - 1]}:${hashedModifiedLines[i + 2 - 1]}`;\n        const currentModifiedRange = new LineRange(i, i + 3);\n        const nextMappings = [];\n        original3LineHashes.forEach(key, ({ range }) => {\n          for (const lastMapping of lastMappings) {\n            if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) {\n              lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive);\n              lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive);\n              nextMappings.push(lastMapping);\n              return;\n            }\n          }\n          const mapping = {\n            modifiedLineRange: currentModifiedRange,\n            originalLineRange: range\n          };\n          possibleMappings.push(mapping);\n          nextMappings.push(mapping);\n        });\n        lastMappings = nextMappings;\n      }\n      if (!timeout.isValid()) {\n        return [];\n      }\n    }\n    possibleMappings.sort(reverseOrder(compareBy((m) => m.modifiedLineRange.length, numberComparator)));\n    const modifiedSet = new LineRangeSet();\n    const originalSet = new LineRangeSet();\n    for (const mapping of possibleMappings) {\n      const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber;\n      const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange);\n      const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod);\n      const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections);\n      for (const s of modifiedIntersectedSections.ranges) {\n        if (s.length < 3) {\n          continue;\n        }\n        const modifiedLineRange = s;\n        const originalLineRange = s.delta(-diffOrigToMod);\n        moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange));\n        modifiedSet.addRange(modifiedLineRange);\n        originalSet.addRange(originalLineRange);\n      }\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const monotonousChanges = new MonotonousArray(changes);\n    for (let i = 0; i < moves.length; i++) {\n      const move = moves[i];\n      const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber <= move.original.startLineNumber);\n      const firstTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber <= move.modified.startLineNumber);\n      const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber);\n      const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber < move.original.endLineNumberExclusive);\n      const lastTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber < move.modified.endLineNumberExclusive);\n      const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive);\n      let extendToTop;\n      for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) {\n        const origLine = move.original.startLineNumber - extendToTop - 1;\n        const modLine = move.modified.startLineNumber - extendToTop - 1;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToTop > 0) {\n        originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber));\n        modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber));\n      }\n      let extendToBottom;\n      for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) {\n        const origLine = move.original.endLineNumberExclusive + extendToBottom;\n        const modLine = move.modified.endLineNumberExclusive + extendToBottom;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToBottom > 0) {\n        originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom));\n        modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n      if (extendToTop > 0 || extendToBottom > 0) {\n        moves[i] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n    }\n    return moves;\n  }\n  function areLinesSimilar(line1, line2, timeout) {\n    if (line1.trim() === line2.trim()) {\n      return true;\n    }\n    if (line1.length > 300 && line2.length > 300) {\n      return false;\n    }\n    const myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new OffsetRange(0, 1), false), new LinesSliceCharSequence([line2], new OffsetRange(0, 1), false), timeout);\n    let commonNonSpaceCharCount = 0;\n    const inverted = SequenceDiff.invert(result.diffs, line1.length);\n    for (const seq of inverted) {\n      seq.seq1Range.forEach((idx) => {\n        if (!isSpace(line1.charCodeAt(idx))) {\n          commonNonSpaceCharCount++;\n        }\n      });\n    }\n    function countNonWsChars(str) {\n      let count = 0;\n      for (let i = 0; i < line1.length; i++) {\n        if (!isSpace(str.charCodeAt(i))) {\n          count++;\n        }\n      }\n      return count;\n    }\n    const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2);\n    const r = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10;\n    return r;\n  }\n  function joinCloseConsecutiveMoves(moves) {\n    if (moves.length === 0) {\n      return moves;\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const result = [moves[0]];\n    for (let i = 1; i < moves.length; i++) {\n      const last = result[result.length - 1];\n      const current = moves[i];\n      const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive;\n      const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive;\n      const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0;\n      if (currentMoveAfterLast && originalDist + modifiedDist <= 2) {\n        result[result.length - 1] = last.join(current);\n        continue;\n      }\n      result.push(current);\n    }\n    return result;\n  }\n  function removeMovesInSameDiff(changes, moves) {\n    const changesMonotonous = new MonotonousArray(changes);\n    moves = moves.filter((m) => {\n      const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c) => c.original.startLineNumber < m.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1));\n      const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c) => c.modified.startLineNumber < m.modified.endLineNumberExclusive);\n      const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified;\n      return differentDiffs;\n    });\n    return moves;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js\n  function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    let result = sequenceDiffs;\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = shiftSequenceDiffs(sequence1, sequence2, result);\n    return result;\n  }\n  function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) {\n    if (sequenceDiffs.length === 0) {\n      return sequenceDiffs;\n    }\n    const result = [];\n    result.push(sequenceDiffs[0]);\n    for (let i = 1; i < sequenceDiffs.length; i++) {\n      const prevResult = result[result.length - 1];\n      let cur = sequenceDiffs[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = cur.seq1Range.start - prevResult.seq1Range.endExclusive;\n        let d;\n        for (d = 1; d <= length; d++) {\n          if (sequence1.getElement(cur.seq1Range.start - d) !== sequence1.getElement(cur.seq1Range.endExclusive - d) || sequence2.getElement(cur.seq2Range.start - d) !== sequence2.getElement(cur.seq2Range.endExclusive - d)) {\n            break;\n          }\n        }\n        d--;\n        if (d === length) {\n          result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length));\n          continue;\n        }\n        cur = cur.delta(-d);\n      }\n      result.push(cur);\n    }\n    const result2 = [];\n    for (let i = 0; i < result.length - 1; i++) {\n      const nextResult = result[i + 1];\n      let cur = result[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = nextResult.seq1Range.start - cur.seq1Range.endExclusive;\n        let d;\n        for (d = 0; d < length; d++) {\n          if (!sequence1.isStronglyEqual(cur.seq1Range.start + d, cur.seq1Range.endExclusive + d) || !sequence2.isStronglyEqual(cur.seq2Range.start + d, cur.seq2Range.endExclusive + d)) {\n            break;\n          }\n        }\n        if (d === length) {\n          result[i + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length, nextResult.seq2Range.endExclusive));\n          continue;\n        }\n        if (d > 0) {\n          cur = cur.delta(d);\n        }\n      }\n      result2.push(cur);\n    }\n    if (result.length > 0) {\n      result2.push(result[result.length - 1]);\n    }\n    return result2;\n  }\n  function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) {\n      return sequenceDiffs;\n    }\n    for (let i = 0; i < sequenceDiffs.length; i++) {\n      const prevDiff = i > 0 ? sequenceDiffs[i - 1] : void 0;\n      const diff = sequenceDiffs[i];\n      const nextDiff = i + 1 < sequenceDiffs.length ? sequenceDiffs[i + 1] : void 0;\n      const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length);\n      const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length);\n      if (diff.seq1Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange);\n      } else if (diff.seq2Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap();\n      }\n    }\n    return sequenceDiffs;\n  }\n  function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) {\n    const maxShiftLimit = 100;\n    let deltaBefore = 1;\n    while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) {\n      deltaBefore++;\n    }\n    deltaBefore--;\n    let deltaAfter = 0;\n    while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) {\n      deltaAfter++;\n    }\n    if (deltaBefore === 0 && deltaAfter === 0) {\n      return diff;\n    }\n    let bestDelta = 0;\n    let bestScore = -1;\n    for (let delta = -deltaBefore; delta <= deltaAfter; delta++) {\n      const seq2OffsetStart = diff.seq2Range.start + delta;\n      const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta;\n      const seq1Offset = diff.seq1Range.start + delta;\n      const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive);\n      if (score2 > bestScore) {\n        bestScore = score2;\n        bestDelta = delta;\n      }\n    }\n    return diff.delta(bestDelta);\n  }\n  function removeShortMatches(sequence1, sequence2, sequenceDiffs) {\n    const result = [];\n    for (const s of sequenceDiffs) {\n      const last = result[result.length - 1];\n      if (!last) {\n        result.push(s);\n        continue;\n      }\n      if (s.seq1Range.start - last.seq1Range.endExclusive <= 2 || s.seq2Range.start - last.seq2Range.endExclusive <= 2) {\n        result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s.seq1Range), last.seq2Range.join(s.seq2Range));\n      } else {\n        result.push(s);\n      }\n    }\n    return result;\n  }\n  function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) {\n    const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length);\n    const additional = [];\n    let lastPoint = new OffsetPair(0, 0);\n    function scanWord(pair, equalMapping) {\n      if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) {\n        return;\n      }\n      const w1 = sequence1.findWordContaining(pair.offset1);\n      const w2 = sequence2.findWordContaining(pair.offset2);\n      if (!w1 || !w2) {\n        return;\n      }\n      let w = new SequenceDiff(w1, w2);\n      const equalPart = w.intersect(equalMapping);\n      let equalChars1 = equalPart.seq1Range.length;\n      let equalChars2 = equalPart.seq2Range.length;\n      while (equalMappings.length > 0) {\n        const next = equalMappings[0];\n        const intersects = next.seq1Range.intersects(w.seq1Range) || next.seq2Range.intersects(w.seq2Range);\n        if (!intersects) {\n          break;\n        }\n        const v1 = sequence1.findWordContaining(next.seq1Range.start);\n        const v2 = sequence2.findWordContaining(next.seq2Range.start);\n        const v = new SequenceDiff(v1, v2);\n        const equalPart2 = v.intersect(next);\n        equalChars1 += equalPart2.seq1Range.length;\n        equalChars2 += equalPart2.seq2Range.length;\n        w = w.join(v);\n        if (w.seq1Range.endExclusive >= next.seq1Range.endExclusive) {\n          equalMappings.shift();\n        } else {\n          break;\n        }\n      }\n      if (equalChars1 + equalChars2 < (w.seq1Range.length + w.seq2Range.length) * 2 / 3) {\n        additional.push(w);\n      }\n      lastPoint = w.getEndExclusives();\n    }\n    while (equalMappings.length > 0) {\n      const next = equalMappings.shift();\n      if (next.seq1Range.isEmpty) {\n        continue;\n      }\n      scanWord(next.getStarts(), next);\n      scanWord(next.getEndExclusives().delta(-1), next);\n    }\n    const merged = mergeSequenceDiffs(sequenceDiffs, additional);\n    return merged;\n  }\n  function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) {\n    const result = [];\n    while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) {\n      const sd1 = sequenceDiffs1[0];\n      const sd2 = sequenceDiffs2[0];\n      let next;\n      if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) {\n        next = sequenceDiffs1.shift();\n      } else {\n        next = sequenceDiffs2.shift();\n      }\n      if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) {\n        result[result.length - 1] = result[result.length - 1].join(next);\n      } else {\n        result.push(next);\n      }\n    }\n    return result;\n  }\n  function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedText = sequence1.getText(unchangedRange);\n          const unchangedTextWithoutWs = unchangedText.replace(/\\s/g, \"\");\n          if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    return diffs;\n  }\n  function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedLineCount = sequence1.countLinesIn(unchangedRange);\n          if (unchangedLineCount > 5 || unchangedRange.length > 500) {\n            return false;\n          }\n          const unchangedText = sequence1.getText(unchangedRange).trim();\n          if (unchangedText.length > 20 || unchangedText.split(/\\r\\n|\\r|\\n/).length > 1) {\n            return false;\n          }\n          const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range);\n          const beforeSeq1Length = before.seq1Range.length;\n          const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range);\n          const beforeSeq2Length = before.seq2Range.length;\n          const afterLineCount1 = sequence1.countLinesIn(after.seq1Range);\n          const afterSeq1Length = after.seq1Range.length;\n          const afterLineCount2 = sequence2.countLinesIn(after.seq2Range);\n          const afterSeq2Length = after.seq2Range.length;\n          const max = 2 * 40 + 50;\n          function cap(v) {\n            return Math.min(v, max);\n          }\n          if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max ** 1.5) ** 1.5 * 1.3) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    const newDiffs = [];\n    forEachWithNeighbors(diffs, (prev, cur, next) => {\n      let newDiff = cur;\n      function shouldMarkAsChanged(text) {\n        return text.length > 0 && text.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100;\n      }\n      const fullRange1 = sequence1.extendToFullLines(cur.seq1Range);\n      const prefix = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start));\n      if (shouldMarkAsChanged(prefix)) {\n        newDiff = newDiff.deltaStart(-prefix.length);\n      }\n      const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive));\n      if (shouldMarkAsChanged(suffix)) {\n        newDiff = newDiff.deltaEnd(suffix.length);\n      }\n      const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max);\n      const result = newDiff.intersect(availableSpace);\n      if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) {\n        newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result);\n      } else {\n        newDiffs.push(result);\n      }\n    });\n    return newDiffs;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js\n  var LineSequence2 = class {\n    constructor(trimmedHash, lines) {\n      this.trimmedHash = trimmedHash;\n      this.lines = lines;\n    }\n    getElement(offset) {\n      return this.trimmedHash[offset];\n    }\n    get length() {\n      return this.trimmedHash.length;\n    }\n    getBoundaryScore(length) {\n      const indentationBefore = length === 0 ? 0 : getIndentation(this.lines[length - 1]);\n      const indentationAfter = length === this.lines.length ? 0 : getIndentation(this.lines[length]);\n      return 1e3 - (indentationBefore + indentationAfter);\n    }\n    getText(range) {\n      return this.lines.slice(range.start, range.endExclusive).join(\"\\n\");\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.lines[offset1] === this.lines[offset2];\n    }\n  };\n  function getIndentation(str) {\n    let i = 0;\n    while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) {\n      i++;\n    }\n    return i;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js\n  var DefaultLinesDiffComputer = class {\n    constructor() {\n      this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing();\n      this.myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    }\n    computeDiff(originalLines, modifiedLines, options) {\n      if (originalLines.length <= 1 && equals(originalLines, modifiedLines, (a, b) => a === b)) {\n        return new LinesDiff([], [], false);\n      }\n      if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) {\n        return new LinesDiff([\n          new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [\n            new RangeMapping(new Range(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1))\n          ])\n        ], [], false);\n      }\n      const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs);\n      const considerWhitespaceChanges = !options.ignoreTrimWhitespace;\n      const perfectHashes = /* @__PURE__ */ new Map();\n      function getOrCreateHash(text) {\n        let hash = perfectHashes.get(text);\n        if (hash === void 0) {\n          hash = perfectHashes.size;\n          perfectHashes.set(text, hash);\n        }\n        return hash;\n      }\n      const originalLinesHashes = originalLines.map((l) => getOrCreateHash(l.trim()));\n      const modifiedLinesHashes = modifiedLines.map((l) => getOrCreateHash(l.trim()));\n      const sequence1 = new LineSequence2(originalLinesHashes, originalLines);\n      const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines);\n      const lineAlignmentResult = (() => {\n        if (sequence1.length + sequence2.length < 1700) {\n          return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99);\n        }\n        return this.myersDiffingAlgorithm.compute(sequence1, sequence2);\n      })();\n      let lineAlignments = lineAlignmentResult.diffs;\n      let hitTimeout = lineAlignmentResult.hitTimeout;\n      lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments);\n      lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments);\n      const alignments = [];\n      const scanForWhitespaceChanges = (equalLinesCount) => {\n        if (!considerWhitespaceChanges) {\n          return;\n        }\n        for (let i = 0; i < equalLinesCount; i++) {\n          const seq1Offset = seq1LastStart + i;\n          const seq2Offset = seq2LastStart + i;\n          if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) {\n            const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges);\n            for (const a of characterDiffs.mappings) {\n              alignments.push(a);\n            }\n            if (characterDiffs.hitTimeout) {\n              hitTimeout = true;\n            }\n          }\n        }\n      };\n      let seq1LastStart = 0;\n      let seq2LastStart = 0;\n      for (const diff of lineAlignments) {\n        assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart);\n        const equalLinesCount = diff.seq1Range.start - seq1LastStart;\n        scanForWhitespaceChanges(equalLinesCount);\n        seq1LastStart = diff.seq1Range.endExclusive;\n        seq2LastStart = diff.seq2Range.endExclusive;\n        const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges);\n        if (characterDiffs.hitTimeout) {\n          hitTimeout = true;\n        }\n        for (const a of characterDiffs.mappings) {\n          alignments.push(a);\n        }\n      }\n      scanForWhitespaceChanges(originalLines.length - seq1LastStart);\n      const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines);\n      let moves = [];\n      if (options.computeMoves) {\n        moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges);\n      }\n      assertFn(() => {\n        function validatePosition(pos, lines) {\n          if (pos.lineNumber < 1 || pos.lineNumber > lines.length) {\n            return false;\n          }\n          const line = lines[pos.lineNumber - 1];\n          if (pos.column < 1 || pos.column > line.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        function validateRange(range, lines) {\n          if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) {\n            return false;\n          }\n          if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        for (const c of changes) {\n          if (!c.innerChanges) {\n            return false;\n          }\n          for (const ic of c.innerChanges) {\n            const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines);\n            if (!valid) {\n              return false;\n            }\n          }\n          if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return new LinesDiff(changes, moves, hitTimeout);\n    }\n    computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) {\n      const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout);\n      const movesWithDiffs = moves.map((m) => {\n        const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m.original.toOffsetRange(), m.modified.toOffsetRange()), timeout, considerWhitespaceChanges);\n        const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true);\n        return new MovedText(m, mappings);\n      });\n      return movesWithDiffs;\n    }\n    refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) {\n      const slice1 = new LinesSliceCharSequence(originalLines, diff.seq1Range, considerWhitespaceChanges);\n      const slice2 = new LinesSliceCharSequence(modifiedLines, diff.seq2Range, considerWhitespaceChanges);\n      const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout);\n      let diffs = diffResult.diffs;\n      diffs = optimizeSequenceDiffs(slice1, slice2, diffs);\n      diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs);\n      diffs = removeShortMatches(slice1, slice2, diffs);\n      diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs);\n      const result = diffs.map((d) => new RangeMapping(slice1.translateRange(d.seq1Range), slice2.translateRange(d.seq2Range)));\n      return {\n        mappings: result,\n        hitTimeout: diffResult.hitTimeout\n      };\n    }\n  };\n  function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) {\n    const changes = [];\n    for (const g of groupAdjacentBy(alignments.map((a) => getLineRangeMapping(a, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) {\n      const first = g[0];\n      const last = g[g.length - 1];\n      changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g.map((a) => a.innerChanges[0])));\n    }\n    assertFn(() => {\n      if (!dontAssertStartLine && changes.length > 0) {\n        if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) {\n          return false;\n        }\n        if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) {\n          return false;\n        }\n      }\n      return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n      m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n    });\n    return changes;\n  }\n  function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {\n    let lineStartDelta = 0;\n    let lineEndDelta = 0;\n    if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) {\n      lineEndDelta = -1;\n    }\n    if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) {\n      lineStartDelta = 1;\n    }\n    const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta);\n    const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta);\n    return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js\n  var linesDiffComputers = {\n    getLegacy: () => new LegacyLinesDiffComputer(),\n    getDefault: () => new DefaultLinesDiffComputer()\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/color.js\n  function roundFloat(number, decimalPoints) {\n    const decimal = Math.pow(10, decimalPoints);\n    return Math.round(number * decimal) / decimal;\n  }\n  var RGBA = class {\n    constructor(r, g, b, a = 1) {\n      this._rgbaBrand = void 0;\n      this.r = Math.min(255, Math.max(0, r)) | 0;\n      this.g = Math.min(255, Math.max(0, g)) | 0;\n      this.b = Math.min(255, Math.max(0, b)) | 0;\n      this.a = roundFloat(Math.max(Math.min(1, a), 0), 3);\n    }\n    static equals(a, b) {\n      return a.r === b.r && a.g === b.g && a.b === b.b && a.a === b.a;\n    }\n  };\n  var HSLA = class _HSLA {\n    constructor(h, s, l, a) {\n      this._hslaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.l = roundFloat(Math.max(Math.min(1, l), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a), 0), 3);\n    }\n    static equals(a, b) {\n      return a.h === b.h && a.s === b.s && a.l === b.l && a.a === b.a;\n    }\n    /**\n     * Converts an RGB color value to HSL. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes r, g, and b are contained in the set [0, 255] and\n     * returns h in the set [0, 360], s, and l in the set [0, 1].\n     */\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const a = rgba.a;\n      const max = Math.max(r, g, b);\n      const min = Math.min(r, g, b);\n      let h = 0;\n      let s = 0;\n      const l = (min + max) / 2;\n      const chroma = max - min;\n      if (chroma > 0) {\n        s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1);\n        switch (max) {\n          case r:\n            h = (g - b) / chroma + (g < b ? 6 : 0);\n            break;\n          case g:\n            h = (b - r) / chroma + 2;\n            break;\n          case b:\n            h = (r - g) / chroma + 4;\n            break;\n        }\n        h *= 60;\n        h = Math.round(h);\n      }\n      return new _HSLA(h, s, l, a);\n    }\n    static _hue2rgb(p, q, t) {\n      if (t < 0) {\n        t += 1;\n      }\n      if (t > 1) {\n        t -= 1;\n      }\n      if (t < 1 / 6) {\n        return p + (q - p) * 6 * t;\n      }\n      if (t < 1 / 2) {\n        return q;\n      }\n      if (t < 2 / 3) {\n        return p + (q - p) * (2 / 3 - t) * 6;\n      }\n      return p;\n    }\n    /**\n     * Converts an HSL color value to RGB. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and\n     * returns r, g, and b in the set [0, 255].\n     */\n    static toRGBA(hsla) {\n      const h = hsla.h / 360;\n      const { s, l, a } = hsla;\n      let r, g, b;\n      if (s === 0) {\n        r = g = b = l;\n      } else {\n        const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n        const p = 2 * l - q;\n        r = _HSLA._hue2rgb(p, q, h + 1 / 3);\n        g = _HSLA._hue2rgb(p, q, h);\n        b = _HSLA._hue2rgb(p, q, h - 1 / 3);\n      }\n      return new RGBA(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255), a);\n    }\n  };\n  var HSVA = class _HSVA {\n    constructor(h, s, v, a) {\n      this._hsvaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.v = roundFloat(Math.max(Math.min(1, v), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a), 0), 3);\n    }\n    static equals(a, b) {\n      return a.h === b.h && a.s === b.s && a.v === b.v && a.a === b.a;\n    }\n    // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const cmax = Math.max(r, g, b);\n      const cmin = Math.min(r, g, b);\n      const delta = cmax - cmin;\n      const s = cmax === 0 ? 0 : delta / cmax;\n      let m;\n      if (delta === 0) {\n        m = 0;\n      } else if (cmax === r) {\n        m = ((g - b) / delta % 6 + 6) % 6;\n      } else if (cmax === g) {\n        m = (b - r) / delta + 2;\n      } else {\n        m = (r - g) / delta + 4;\n      }\n      return new _HSVA(Math.round(m * 60), s, cmax, rgba.a);\n    }\n    // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm\n    static toRGBA(hsva) {\n      const { h, s, v, a } = hsva;\n      const c = v * s;\n      const x = c * (1 - Math.abs(h / 60 % 2 - 1));\n      const m = v - c;\n      let [r, g, b] = [0, 0, 0];\n      if (h < 60) {\n        r = c;\n        g = x;\n      } else if (h < 120) {\n        r = x;\n        g = c;\n      } else if (h < 180) {\n        g = c;\n        b = x;\n      } else if (h < 240) {\n        g = x;\n        b = c;\n      } else if (h < 300) {\n        r = x;\n        b = c;\n      } else if (h <= 360) {\n        r = c;\n        b = x;\n      }\n      r = Math.round((r + m) * 255);\n      g = Math.round((g + m) * 255);\n      b = Math.round((b + m) * 255);\n      return new RGBA(r, g, b, a);\n    }\n  };\n  var Color = class _Color {\n    static fromHex(hex) {\n      return _Color.Format.CSS.parseHex(hex) || _Color.red;\n    }\n    static equals(a, b) {\n      if (!a && !b) {\n        return true;\n      }\n      if (!a || !b) {\n        return false;\n      }\n      return a.equals(b);\n    }\n    get hsla() {\n      if (this._hsla) {\n        return this._hsla;\n      } else {\n        return HSLA.fromRGBA(this.rgba);\n      }\n    }\n    get hsva() {\n      if (this._hsva) {\n        return this._hsva;\n      }\n      return HSVA.fromRGBA(this.rgba);\n    }\n    constructor(arg) {\n      if (!arg) {\n        throw new Error(\"Color needs a value\");\n      } else if (arg instanceof RGBA) {\n        this.rgba = arg;\n      } else if (arg instanceof HSLA) {\n        this._hsla = arg;\n        this.rgba = HSLA.toRGBA(arg);\n      } else if (arg instanceof HSVA) {\n        this._hsva = arg;\n        this.rgba = HSVA.toRGBA(arg);\n      } else {\n        throw new Error(\"Invalid color ctor argument\");\n      }\n    }\n    equals(other) {\n      return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva);\n    }\n    /**\n     * http://www.w3.org/TR/WCAG20/#relativeluminancedef\n     * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.\n     */\n    getRelativeLuminance() {\n      const R = _Color._relativeLuminanceForComponent(this.rgba.r);\n      const G = _Color._relativeLuminanceForComponent(this.rgba.g);\n      const B = _Color._relativeLuminanceForComponent(this.rgba.b);\n      const luminance = 0.2126 * R + 0.7152 * G + 0.0722 * B;\n      return roundFloat(luminance, 4);\n    }\n    static _relativeLuminanceForComponent(color) {\n      const c = color / 255;\n      return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);\n    }\n    /**\n     *\thttp://24ways.org/2010/calculating-color-contrast\n     *  Return 'true' if lighter color otherwise 'false'\n     */\n    isLighter() {\n      const yiq = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3;\n      return yiq >= 128;\n    }\n    isLighterThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 > lum2;\n    }\n    isDarkerThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 < lum2;\n    }\n    lighten(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor, this.hsla.a));\n    }\n    darken(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor, this.hsla.a));\n    }\n    transparent(factor) {\n      const { r, g, b, a } = this.rgba;\n      return new _Color(new RGBA(r, g, b, a * factor));\n    }\n    isTransparent() {\n      return this.rgba.a === 0;\n    }\n    isOpaque() {\n      return this.rgba.a === 1;\n    }\n    opposite() {\n      return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));\n    }\n    makeOpaque(opaqueBackground) {\n      if (this.isOpaque() || opaqueBackground.rgba.a !== 1) {\n        return this;\n      }\n      const { r, g, b, a } = this.rgba;\n      return new _Color(new RGBA(opaqueBackground.rgba.r - a * (opaqueBackground.rgba.r - r), opaqueBackground.rgba.g - a * (opaqueBackground.rgba.g - g), opaqueBackground.rgba.b - a * (opaqueBackground.rgba.b - b), 1));\n    }\n    toString() {\n      if (!this._toString) {\n        this._toString = _Color.Format.CSS.format(this);\n      }\n      return this._toString;\n    }\n    static getLighterColor(of, relative2, factor) {\n      if (of.isLighterThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum2 - lum1) / lum2;\n      return of.lighten(factor);\n    }\n    static getDarkerColor(of, relative2, factor) {\n      if (of.isDarkerThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum1 - lum2) / lum1;\n      return of.darken(factor);\n    }\n  };\n  Color.white = new Color(new RGBA(255, 255, 255, 1));\n  Color.black = new Color(new RGBA(0, 0, 0, 1));\n  Color.red = new Color(new RGBA(255, 0, 0, 1));\n  Color.blue = new Color(new RGBA(0, 0, 255, 1));\n  Color.green = new Color(new RGBA(0, 255, 0, 1));\n  Color.cyan = new Color(new RGBA(0, 255, 255, 1));\n  Color.lightgrey = new Color(new RGBA(211, 211, 211, 1));\n  Color.transparent = new Color(new RGBA(0, 0, 0, 0));\n  (function(Color3) {\n    let Format;\n    (function(Format2) {\n      let CSS;\n      (function(CSS2) {\n        function formatRGB(color) {\n          if (color.rgba.a === 1) {\n            return `rgb(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b})`;\n          }\n          return Color3.Format.CSS.formatRGBA(color);\n        }\n        CSS2.formatRGB = formatRGB;\n        function formatRGBA(color) {\n          return `rgba(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b}, ${+color.rgba.a.toFixed(2)})`;\n        }\n        CSS2.formatRGBA = formatRGBA;\n        function formatHSL(color) {\n          if (color.hsla.a === 1) {\n            return `hsl(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%)`;\n          }\n          return Color3.Format.CSS.formatHSLA(color);\n        }\n        CSS2.formatHSL = formatHSL;\n        function formatHSLA(color) {\n          return `hsla(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%, ${color.hsla.a.toFixed(2)})`;\n        }\n        CSS2.formatHSLA = formatHSLA;\n        function _toTwoDigitHex(n) {\n          const r = n.toString(16);\n          return r.length !== 2 ? \"0\" + r : r;\n        }\n        function formatHex(color) {\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}`;\n        }\n        CSS2.formatHex = formatHex;\n        function formatHexA(color, compact = false) {\n          if (compact && color.rgba.a === 1) {\n            return Color3.Format.CSS.formatHex(color);\n          }\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}${_toTwoDigitHex(Math.round(color.rgba.a * 255))}`;\n        }\n        CSS2.formatHexA = formatHexA;\n        function format3(color) {\n          if (color.isOpaque()) {\n            return Color3.Format.CSS.formatHex(color);\n          }\n          return Color3.Format.CSS.formatRGBA(color);\n        }\n        CSS2.format = format3;\n        function parseHex(hex) {\n          const length = hex.length;\n          if (length === 0) {\n            return null;\n          }\n          if (hex.charCodeAt(0) !== 35) {\n            return null;\n          }\n          if (length === 7) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            return new Color3(new RGBA(r, g, b, 1));\n          }\n          if (length === 9) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            const a = 16 * _parseHexDigit(hex.charCodeAt(7)) + _parseHexDigit(hex.charCodeAt(8));\n            return new Color3(new RGBA(r, g, b, a / 255));\n          }\n          if (length === 4) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b));\n          }\n          if (length === 5) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            const a = _parseHexDigit(hex.charCodeAt(4));\n            return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b, (16 * a + a) / 255));\n          }\n          return null;\n        }\n        CSS2.parseHex = parseHex;\n        function _parseHexDigit(charCode) {\n          switch (charCode) {\n            case 48:\n              return 0;\n            case 49:\n              return 1;\n            case 50:\n              return 2;\n            case 51:\n              return 3;\n            case 52:\n              return 4;\n            case 53:\n              return 5;\n            case 54:\n              return 6;\n            case 55:\n              return 7;\n            case 56:\n              return 8;\n            case 57:\n              return 9;\n            case 97:\n              return 10;\n            case 65:\n              return 10;\n            case 98:\n              return 11;\n            case 66:\n              return 11;\n            case 99:\n              return 12;\n            case 67:\n              return 12;\n            case 100:\n              return 13;\n            case 68:\n              return 13;\n            case 101:\n              return 14;\n            case 69:\n              return 14;\n            case 102:\n              return 15;\n            case 70:\n              return 15;\n          }\n          return 0;\n        }\n      })(CSS = Format2.CSS || (Format2.CSS = {}));\n    })(Format = Color3.Format || (Color3.Format = {}));\n  })(Color || (Color = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js\n  function _parseCaptureGroups(captureGroups) {\n    const values = [];\n    for (const captureGroup of captureGroups) {\n      const parsedNumber = Number(captureGroup);\n      if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\\s/g, \"\") !== \"\") {\n        values.push(parsedNumber);\n      }\n    }\n    return values;\n  }\n  function _toIColor(r, g, b, a) {\n    return {\n      red: r / 255,\n      blue: b / 255,\n      green: g / 255,\n      alpha: a\n    };\n  }\n  function _findRange(model, match) {\n    const index = match.index;\n    const length = match[0].length;\n    if (!index) {\n      return;\n    }\n    const startPosition = model.positionAt(index);\n    const range = {\n      startLineNumber: startPosition.lineNumber,\n      startColumn: startPosition.column,\n      endLineNumber: startPosition.lineNumber,\n      endColumn: startPosition.column + length\n    };\n    return range;\n  }\n  function _findHexColorInformation(range, hexValue) {\n    if (!range) {\n      return;\n    }\n    const parsedHexColor = Color.Format.CSS.parseHex(hexValue);\n    if (!parsedHexColor) {\n      return;\n    }\n    return {\n      range,\n      color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a)\n    };\n  }\n  function _findRGBColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    return {\n      range,\n      color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1)\n    };\n  }\n  function _findHSLColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    const colorEquivalent = new Color(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1));\n    return {\n      range,\n      color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a)\n    };\n  }\n  function _findMatches(model, regex) {\n    if (typeof model === \"string\") {\n      return [...model.matchAll(regex)];\n    } else {\n      return model.findMatches(regex);\n    }\n  }\n  function computeColors(model) {\n    const result = [];\n    const initialValidationRegex = /\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|(#)([A-Fa-f0-9]{3})\\b|(#)([A-Fa-f0-9]{4})\\b|(#)([A-Fa-f0-9]{6})\\b|(#)([A-Fa-f0-9]{8})\\b/gm;\n    const initialValidationMatches = _findMatches(model, initialValidationRegex);\n    if (initialValidationMatches.length > 0) {\n      for (const initialMatch of initialValidationMatches) {\n        const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0);\n        const colorScheme = initialCaptureGroups[1];\n        const colorParameters = initialCaptureGroups[2];\n        if (!colorParameters) {\n          continue;\n        }\n        let colorInformation;\n        if (colorScheme === \"rgb\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"rgba\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"hsl\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"hsla\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"#\") {\n          colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters);\n        }\n        if (colorInformation) {\n          result.push(colorInformation);\n        }\n      }\n    }\n    return result;\n  }\n  function computeDefaultDocumentColors(model) {\n    if (!model || typeof model.getValue !== \"function\" || typeof model.positionAt !== \"function\") {\n      return [];\n    }\n    return computeColors(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js\n  var markRegex = /\\bMARK:\\s*(.*)$/d;\n  var trimDashesRegex = /^-+|-+$/g;\n  function findSectionHeaders(model, options) {\n    var _a5;\n    let headers = [];\n    if (options.findRegionSectionHeaders && ((_a5 = options.foldingRules) === null || _a5 === void 0 ? void 0 : _a5.markers)) {\n      const regionHeaders = collectRegionHeaders(model, options);\n      headers = headers.concat(regionHeaders);\n    }\n    if (options.findMarkSectionHeaders) {\n      const markHeaders = collectMarkHeaders(model);\n      headers = headers.concat(markHeaders);\n    }\n    return headers;\n  }\n  function collectRegionHeaders(model, options) {\n    const regionHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      const match = lineContent.match(options.foldingRules.markers.start);\n      if (match) {\n        const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 };\n        if (range.endColumn > range.startColumn) {\n          const sectionHeader = {\n            range,\n            ...getHeaderText(lineContent.substring(match[0].length)),\n            shouldBeInComments: false\n          };\n          if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n            regionHeaders.push(sectionHeader);\n          }\n        }\n      }\n    }\n    return regionHeaders;\n  }\n  function collectMarkHeaders(model) {\n    const markHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      addMarkHeaderIfFound(lineContent, lineNumber, markHeaders);\n    }\n    return markHeaders;\n  }\n  function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) {\n    markRegex.lastIndex = 0;\n    const match = markRegex.exec(lineContent);\n    if (match) {\n      const column = match.indices[1][0] + 1;\n      const endColumn = match.indices[1][1] + 1;\n      const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn };\n      if (range.endColumn > range.startColumn) {\n        const sectionHeader = {\n          range,\n          ...getHeaderText(match[1]),\n          shouldBeInComments: true\n        };\n        if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n          sectionHeaders.push(sectionHeader);\n        }\n      }\n    }\n  }\n  function getHeaderText(text) {\n    text = text.trim();\n    const hasSeparatorLine = text.startsWith(\"-\");\n    text = text.replace(trimDashesRegex, \"\");\n    return { text, hasSeparatorLine };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js\n  var MirrorModel = class extends MirrorTextModel {\n    get uri() {\n      return this._uri;\n    }\n    get eol() {\n      return this._eol;\n    }\n    getValue() {\n      return this.getText();\n    }\n    findMatches(regex) {\n      const matches = [];\n      for (let i = 0; i < this._lines.length; i++) {\n        const line = this._lines[i];\n        const offsetToAdd = this.offsetAt(new Position(i + 1, 1));\n        const iteratorOverMatches = line.matchAll(regex);\n        for (const match of iteratorOverMatches) {\n          if (match.index || match.index === 0) {\n            match.index = match.index + offsetToAdd;\n          }\n          matches.push(match);\n        }\n      }\n      return matches;\n    }\n    getLinesContent() {\n      return this._lines.slice(0);\n    }\n    getLineCount() {\n      return this._lines.length;\n    }\n    getLineContent(lineNumber) {\n      return this._lines[lineNumber - 1];\n    }\n    getWordAtPosition(position, wordDefinition) {\n      const wordAtText = getWordAtText(position.column, ensureValidWordDefinition(wordDefinition), this._lines[position.lineNumber - 1], 0);\n      if (wordAtText) {\n        return new Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn);\n      }\n      return null;\n    }\n    words(wordDefinition) {\n      const lines = this._lines;\n      const wordenize = this._wordenize.bind(this);\n      let lineNumber = 0;\n      let lineText = \"\";\n      let wordRangesIdx = 0;\n      let wordRanges = [];\n      return {\n        *[Symbol.iterator]() {\n          while (true) {\n            if (wordRangesIdx < wordRanges.length) {\n              const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end);\n              wordRangesIdx += 1;\n              yield value;\n            } else {\n              if (lineNumber < lines.length) {\n                lineText = lines[lineNumber];\n                wordRanges = wordenize(lineText, wordDefinition);\n                wordRangesIdx = 0;\n                lineNumber += 1;\n              } else {\n                break;\n              }\n            }\n          }\n        }\n      };\n    }\n    getLineWords(lineNumber, wordDefinition) {\n      const content = this._lines[lineNumber - 1];\n      const ranges = this._wordenize(content, wordDefinition);\n      const words = [];\n      for (const range of ranges) {\n        words.push({\n          word: content.substring(range.start, range.end),\n          startColumn: range.start + 1,\n          endColumn: range.end + 1\n        });\n      }\n      return words;\n    }\n    _wordenize(content, wordDefinition) {\n      const result = [];\n      let match;\n      wordDefinition.lastIndex = 0;\n      while (match = wordDefinition.exec(content)) {\n        if (match[0].length === 0) {\n          break;\n        }\n        result.push({ start: match.index, end: match.index + match[0].length });\n      }\n      return result;\n    }\n    getValueInRange(range) {\n      range = this._validateRange(range);\n      if (range.startLineNumber === range.endLineNumber) {\n        return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1);\n      }\n      const lineEnding = this._eol;\n      const startLineIndex = range.startLineNumber - 1;\n      const endLineIndex = range.endLineNumber - 1;\n      const resultLines = [];\n      resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1));\n      for (let i = startLineIndex + 1; i < endLineIndex; i++) {\n        resultLines.push(this._lines[i]);\n      }\n      resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1));\n      return resultLines.join(lineEnding);\n    }\n    offsetAt(position) {\n      position = this._validatePosition(position);\n      this._ensureLineStarts();\n      return this._lineStarts.getPrefixSum(position.lineNumber - 2) + (position.column - 1);\n    }\n    positionAt(offset) {\n      offset = Math.floor(offset);\n      offset = Math.max(0, offset);\n      this._ensureLineStarts();\n      const out = this._lineStarts.getIndexOf(offset);\n      const lineLength = this._lines[out.index].length;\n      return {\n        lineNumber: 1 + out.index,\n        column: 1 + Math.min(out.remainder, lineLength)\n      };\n    }\n    _validateRange(range) {\n      const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn });\n      const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn });\n      if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) {\n        return {\n          startLineNumber: start.lineNumber,\n          startColumn: start.column,\n          endLineNumber: end.lineNumber,\n          endColumn: end.column\n        };\n      }\n      return range;\n    }\n    _validatePosition(position) {\n      if (!Position.isIPosition(position)) {\n        throw new Error(\"bad position\");\n      }\n      let { lineNumber, column } = position;\n      let hasChanged = false;\n      if (lineNumber < 1) {\n        lineNumber = 1;\n        column = 1;\n        hasChanged = true;\n      } else if (lineNumber > this._lines.length) {\n        lineNumber = this._lines.length;\n        column = this._lines[lineNumber - 1].length + 1;\n        hasChanged = true;\n      } else {\n        const maxCharacter = this._lines[lineNumber - 1].length + 1;\n        if (column < 1) {\n          column = 1;\n          hasChanged = true;\n        } else if (column > maxCharacter) {\n          column = maxCharacter;\n          hasChanged = true;\n        }\n      }\n      if (!hasChanged) {\n        return position;\n      } else {\n        return { lineNumber, column };\n      }\n    }\n  };\n  var EditorSimpleWorker = class _EditorSimpleWorker {\n    constructor(host, foreignModuleFactory) {\n      this._host = host;\n      this._models = /* @__PURE__ */ Object.create(null);\n      this._foreignModuleFactory = foreignModuleFactory;\n      this._foreignModule = null;\n    }\n    dispose() {\n      this._models = /* @__PURE__ */ Object.create(null);\n    }\n    _getModel(uri) {\n      return this._models[uri];\n    }\n    _getModels() {\n      const all = [];\n      Object.keys(this._models).forEach((key) => all.push(this._models[key]));\n      return all;\n    }\n    acceptNewModel(data) {\n      this._models[data.url] = new MirrorModel(URI.parse(data.url), data.lines, data.EOL, data.versionId);\n    }\n    acceptModelChanged(strURL, e) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      const model = this._models[strURL];\n      model.onEvents(e);\n    }\n    acceptRemovedModel(strURL) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      delete this._models[strURL];\n    }\n    async computeUnicodeHighlights(url, options, range) {\n      const model = this._getModel(url);\n      if (!model) {\n        return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 };\n      }\n      return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range);\n    }\n    async findSectionHeaders(url, options) {\n      const model = this._getModel(url);\n      if (!model) {\n        return [];\n      }\n      return findSectionHeaders(model, options);\n    }\n    // ---- BEGIN diff --------------------------------------------------------------------------\n    async computeDiff(originalUrl, modifiedUrl, options, algorithm) {\n      const original = this._getModel(originalUrl);\n      const modified = this._getModel(modifiedUrl);\n      if (!original || !modified) {\n        return null;\n      }\n      const result = _EditorSimpleWorker.computeDiff(original, modified, options, algorithm);\n      return result;\n    }\n    static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) {\n      const diffAlgorithm = algorithm === \"advanced\" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy();\n      const originalLines = originalTextModel.getLinesContent();\n      const modifiedLines = modifiedTextModel.getLinesContent();\n      const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options);\n      const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel);\n      function getLineChanges(changes) {\n        return changes.map((m) => {\n          var _a5;\n          return [m.original.startLineNumber, m.original.endLineNumberExclusive, m.modified.startLineNumber, m.modified.endLineNumberExclusive, (_a5 = m.innerChanges) === null || _a5 === void 0 ? void 0 : _a5.map((m2) => [\n            m2.originalRange.startLineNumber,\n            m2.originalRange.startColumn,\n            m2.originalRange.endLineNumber,\n            m2.originalRange.endColumn,\n            m2.modifiedRange.startLineNumber,\n            m2.modifiedRange.startColumn,\n            m2.modifiedRange.endLineNumber,\n            m2.modifiedRange.endColumn\n          ])];\n        });\n      }\n      return {\n        identical,\n        quitEarly: result.hitTimeout,\n        changes: getLineChanges(result.changes),\n        moves: result.moves.map((m) => [\n          m.lineRangeMapping.original.startLineNumber,\n          m.lineRangeMapping.original.endLineNumberExclusive,\n          m.lineRangeMapping.modified.startLineNumber,\n          m.lineRangeMapping.modified.endLineNumberExclusive,\n          getLineChanges(m.changes)\n        ])\n      };\n    }\n    static _modelsAreIdentical(original, modified) {\n      const originalLineCount = original.getLineCount();\n      const modifiedLineCount = modified.getLineCount();\n      if (originalLineCount !== modifiedLineCount) {\n        return false;\n      }\n      for (let line = 1; line <= originalLineCount; line++) {\n        const originalLine = original.getLineContent(line);\n        const modifiedLine = modified.getLineContent(line);\n        if (originalLine !== modifiedLine) {\n          return false;\n        }\n      }\n      return true;\n    }\n    async computeMoreMinimalEdits(modelUrl, edits, pretty) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return edits;\n      }\n      const result = [];\n      let lastEol = void 0;\n      edits = edits.slice(0).sort((a, b) => {\n        if (a.range && b.range) {\n          return Range.compareRangesUsingStarts(a.range, b.range);\n        }\n        const aRng = a.range ? 0 : 1;\n        const bRng = b.range ? 0 : 1;\n        return aRng - bRng;\n      });\n      let writeIndex = 0;\n      for (let readIndex = 1; readIndex < edits.length; readIndex++) {\n        if (Range.getEndPosition(edits[writeIndex].range).equals(Range.getStartPosition(edits[readIndex].range))) {\n          edits[writeIndex].range = Range.fromPositions(Range.getStartPosition(edits[writeIndex].range), Range.getEndPosition(edits[readIndex].range));\n          edits[writeIndex].text += edits[readIndex].text;\n        } else {\n          writeIndex++;\n          edits[writeIndex] = edits[readIndex];\n        }\n      }\n      edits.length = writeIndex + 1;\n      for (let { range, text, eol } of edits) {\n        if (typeof eol === \"number\") {\n          lastEol = eol;\n        }\n        if (Range.isEmpty(range) && !text) {\n          continue;\n        }\n        const original = model.getValueInRange(range);\n        text = text.replace(/\\r\\n|\\n|\\r/g, model.eol);\n        if (original === text) {\n          continue;\n        }\n        if (Math.max(text.length, original.length) > _EditorSimpleWorker._diffLimit) {\n          result.push({ range, text });\n          continue;\n        }\n        const changes = stringDiff(original, text, pretty);\n        const editOffset = model.offsetAt(Range.lift(range).getStartPosition());\n        for (const change of changes) {\n          const start = model.positionAt(editOffset + change.originalStart);\n          const end = model.positionAt(editOffset + change.originalStart + change.originalLength);\n          const newEdit = {\n            text: text.substr(change.modifiedStart, change.modifiedLength),\n            range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column }\n          };\n          if (model.getValueInRange(newEdit.range) !== newEdit.text) {\n            result.push(newEdit);\n          }\n        }\n      }\n      if (typeof lastEol === \"number\") {\n        result.push({ eol: lastEol, text: \"\", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } });\n      }\n      return result;\n    }\n    // ---- END minimal edits ---------------------------------------------------------------\n    async computeLinks(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeLinks(model);\n    }\n    // --- BEGIN default document colors -----------------------------------------------------------\n    async computeDefaultDocumentColors(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeDefaultDocumentColors(model);\n    }\n    async textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) {\n      const sw = new StopWatch();\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const seen = /* @__PURE__ */ new Set();\n      outer: for (const url of modelUrls) {\n        const model = this._getModel(url);\n        if (!model) {\n          continue;\n        }\n        for (const word of model.words(wordDefRegExp)) {\n          if (word === leadingWord || !isNaN(Number(word))) {\n            continue;\n          }\n          seen.add(word);\n          if (seen.size > _EditorSimpleWorker._suggestionsLimit) {\n            break outer;\n          }\n        }\n      }\n      return { words: Array.from(seen), duration: sw.elapsed() };\n    }\n    // ---- END suggest --------------------------------------------------------------------------\n    //#region -- word ranges --\n    async computeWordRanges(modelUrl, range, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return /* @__PURE__ */ Object.create(null);\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const result = /* @__PURE__ */ Object.create(null);\n      for (let line = range.startLineNumber; line < range.endLineNumber; line++) {\n        const words = model.getLineWords(line, wordDefRegExp);\n        for (const word of words) {\n          if (!isNaN(Number(word.word))) {\n            continue;\n          }\n          let array = result[word.word];\n          if (!array) {\n            array = [];\n            result[word.word] = array;\n          }\n          array.push({\n            startLineNumber: line,\n            startColumn: word.startColumn,\n            endLineNumber: line,\n            endColumn: word.endColumn\n          });\n        }\n      }\n      return result;\n    }\n    //#endregion\n    async navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      if (range.startColumn === range.endColumn) {\n        range = {\n          startLineNumber: range.startLineNumber,\n          startColumn: range.startColumn,\n          endLineNumber: range.endLineNumber,\n          endColumn: range.endColumn + 1\n        };\n      }\n      const selectionText = model.getValueInRange(range);\n      const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp);\n      if (!wordRange) {\n        return null;\n      }\n      const word = model.getValueInRange(wordRange);\n      const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up);\n      return result;\n    }\n    // ---- BEGIN foreign module support --------------------------------------------------------------------------\n    loadForeignModule(moduleId, createData, foreignHostMethods) {\n      const proxyMethodRequest = (method, args) => {\n        return this._host.fhr(method, args);\n      };\n      const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest);\n      const ctx = {\n        host: foreignHost,\n        getMirrorModels: () => {\n          return this._getModels();\n        }\n      };\n      if (this._foreignModuleFactory) {\n        this._foreignModule = this._foreignModuleFactory(ctx, createData);\n        return Promise.resolve(getAllMethodNames(this._foreignModule));\n      }\n      return Promise.reject(new Error(`Unexpected usage`));\n    }\n    // foreign method request\n    fmr(method, args) {\n      if (!this._foreignModule || typeof this._foreignModule[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n  };\n  EditorSimpleWorker._diffLimit = 1e5;\n  EditorSimpleWorker._suggestionsLimit = 1e4;\n  if (typeof importScripts === \"function\") {\n    globalThis.monaco = createMonacoBaseAPI();\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/editor.worker.js\n  var initialized = false;\n  function initialize(foreignModule) {\n    if (initialized) {\n      return;\n    }\n    initialized = true;\n    const simpleWorker = new SimpleWorkerServer((msg) => {\n      globalThis.postMessage(msg);\n    }, (host) => new EditorSimpleWorker(host, foreignModule));\n    globalThis.onmessage = (e) => {\n      simpleWorker.onmessage(e.data);\n    };\n  }\n  globalThis.onmessage = (e) => {\n    if (!initialized) {\n      initialize(null);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/language/html/html.worker.js\n  function format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        let index = rest[0];\n        return typeof args[index] !== \"undefined\" ? args[index] : match;\n      });\n    }\n    return result;\n  }\n  function localize2(key, message, ...args) {\n    return format(message, args);\n  }\n  function loadMessageBundle(file) {\n    return localize2;\n  }\n  var integer;\n  (function(integer2) {\n    integer2.MIN_VALUE = -2147483648;\n    integer2.MAX_VALUE = 2147483647;\n  })(integer || (integer = {}));\n  var uinteger;\n  (function(uinteger2) {\n    uinteger2.MIN_VALUE = 0;\n    uinteger2.MAX_VALUE = 2147483647;\n  })(uinteger || (uinteger = {}));\n  var Position2;\n  (function(Position22) {\n    function create(line, character) {\n      if (line === Number.MAX_VALUE) {\n        line = uinteger.MAX_VALUE;\n      }\n      if (character === Number.MAX_VALUE) {\n        character = uinteger.MAX_VALUE;\n      }\n      return { line, character };\n    }\n    Position22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n    }\n    Position22.is = is;\n  })(Position2 || (Position2 = {}));\n  var Range2;\n  (function(Range22) {\n    function create(one, two, three, four) {\n      if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n        return { start: Position2.create(one, two), end: Position2.create(three, four) };\n      } else if (Position2.is(one) && Position2.is(two)) {\n        return { start: one, end: two };\n      } else {\n        throw new Error(\"Range#create called with invalid arguments[\" + one + \", \" + two + \", \" + three + \", \" + four + \"]\");\n      }\n    }\n    Range22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Position2.is(candidate.start) && Position2.is(candidate.end);\n    }\n    Range22.is = is;\n  })(Range2 || (Range2 = {}));\n  var Location;\n  (function(Location2) {\n    function create(uri, range) {\n      return { uri, range };\n    }\n    Location2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n    }\n    Location2.is = is;\n  })(Location || (Location = {}));\n  var LocationLink;\n  (function(LocationLink2) {\n    function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n      return { targetUri, targetRange, targetSelectionRange, originSelectionRange };\n    }\n    LocationLink2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.targetRange) && Is.string(candidate.targetUri) && (Range2.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange)) && (Range2.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n    }\n    LocationLink2.is = is;\n  })(LocationLink || (LocationLink = {}));\n  var Color2;\n  (function(Color22) {\n    function create(red, green, blue, alpha) {\n      return {\n        red,\n        green,\n        blue,\n        alpha\n      };\n    }\n    Color22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1);\n    }\n    Color22.is = is;\n  })(Color2 || (Color2 = {}));\n  var ColorInformation;\n  (function(ColorInformation2) {\n    function create(range, color) {\n      return {\n        range,\n        color\n      };\n    }\n    ColorInformation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Range2.is(candidate.range) && Color2.is(candidate.color);\n    }\n    ColorInformation2.is = is;\n  })(ColorInformation || (ColorInformation = {}));\n  var ColorPresentation;\n  (function(ColorPresentation2) {\n    function create(label, textEdit, additionalTextEdits) {\n      return {\n        label,\n        textEdit,\n        additionalTextEdits\n      };\n    }\n    ColorPresentation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n    }\n    ColorPresentation2.is = is;\n  })(ColorPresentation || (ColorPresentation = {}));\n  var FoldingRangeKind2;\n  (function(FoldingRangeKind22) {\n    FoldingRangeKind22[\"Comment\"] = \"comment\";\n    FoldingRangeKind22[\"Imports\"] = \"imports\";\n    FoldingRangeKind22[\"Region\"] = \"region\";\n  })(FoldingRangeKind2 || (FoldingRangeKind2 = {}));\n  var FoldingRange;\n  (function(FoldingRange2) {\n    function create(startLine, endLine, startCharacter, endCharacter, kind) {\n      var result = {\n        startLine,\n        endLine\n      };\n      if (Is.defined(startCharacter)) {\n        result.startCharacter = startCharacter;\n      }\n      if (Is.defined(endCharacter)) {\n        result.endCharacter = endCharacter;\n      }\n      if (Is.defined(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    FoldingRange2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n    }\n    FoldingRange2.is = is;\n  })(FoldingRange || (FoldingRange = {}));\n  var DiagnosticRelatedInformation;\n  (function(DiagnosticRelatedInformation2) {\n    function create(location, message) {\n      return {\n        location,\n        message\n      };\n    }\n    DiagnosticRelatedInformation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n    }\n    DiagnosticRelatedInformation2.is = is;\n  })(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n  var DiagnosticSeverity;\n  (function(DiagnosticSeverity2) {\n    DiagnosticSeverity2.Error = 1;\n    DiagnosticSeverity2.Warning = 2;\n    DiagnosticSeverity2.Information = 3;\n    DiagnosticSeverity2.Hint = 4;\n  })(DiagnosticSeverity || (DiagnosticSeverity = {}));\n  var DiagnosticTag;\n  (function(DiagnosticTag2) {\n    DiagnosticTag2.Unnecessary = 1;\n    DiagnosticTag2.Deprecated = 2;\n  })(DiagnosticTag || (DiagnosticTag = {}));\n  var CodeDescription;\n  (function(CodeDescription2) {\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && candidate !== null && Is.string(candidate.href);\n    }\n    CodeDescription2.is = is;\n  })(CodeDescription || (CodeDescription = {}));\n  var Diagnostic;\n  (function(Diagnostic2) {\n    function create(range, message, severity, code, source, relatedInformation) {\n      var result = { range, message };\n      if (Is.defined(severity)) {\n        result.severity = severity;\n      }\n      if (Is.defined(code)) {\n        result.code = code;\n      }\n      if (Is.defined(source)) {\n        result.source = source;\n      }\n      if (Is.defined(relatedInformation)) {\n        result.relatedInformation = relatedInformation;\n      }\n      return result;\n    }\n    Diagnostic2.create = create;\n    function is(value) {\n      var _a22;\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a22 = candidate.codeDescription) === null || _a22 === void 0 ? void 0 : _a22.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n    }\n    Diagnostic2.is = is;\n  })(Diagnostic || (Diagnostic = {}));\n  var Command2;\n  (function(Command22) {\n    function create(title, command) {\n      var args = [];\n      for (var _i = 2; _i < arguments.length; _i++) {\n        args[_i - 2] = arguments[_i];\n      }\n      var result = { title, command };\n      if (Is.defined(args) && args.length > 0) {\n        result.arguments = args;\n      }\n      return result;\n    }\n    Command22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n    }\n    Command22.is = is;\n  })(Command2 || (Command2 = {}));\n  var TextEdit;\n  (function(TextEdit2) {\n    function replace(range, newText) {\n      return { range, newText };\n    }\n    TextEdit2.replace = replace;\n    function insert(position, newText) {\n      return { range: { start: position, end: position }, newText };\n    }\n    TextEdit2.insert = insert;\n    function del(range) {\n      return { range, newText: \"\" };\n    }\n    TextEdit2.del = del;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range2.is(candidate.range);\n    }\n    TextEdit2.is = is;\n  })(TextEdit || (TextEdit = {}));\n  var ChangeAnnotation;\n  (function(ChangeAnnotation2) {\n    function create(label, needsConfirmation, description) {\n      var result = { label };\n      if (needsConfirmation !== void 0) {\n        result.needsConfirmation = needsConfirmation;\n      }\n      if (description !== void 0) {\n        result.description = description;\n      }\n      return result;\n    }\n    ChangeAnnotation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0);\n    }\n    ChangeAnnotation2.is = is;\n  })(ChangeAnnotation || (ChangeAnnotation = {}));\n  var ChangeAnnotationIdentifier;\n  (function(ChangeAnnotationIdentifier2) {\n    function is(value) {\n      var candidate = value;\n      return typeof candidate === \"string\";\n    }\n    ChangeAnnotationIdentifier2.is = is;\n  })(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\n  var AnnotatedTextEdit;\n  (function(AnnotatedTextEdit2) {\n    function replace(range, newText, annotation) {\n      return { range, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.replace = replace;\n    function insert(position, newText, annotation) {\n      return { range: { start: position, end: position }, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.insert = insert;\n    function del(range, annotation) {\n      return { range, newText: \"\", annotationId: annotation };\n    }\n    AnnotatedTextEdit2.del = del;\n    function is(value) {\n      var candidate = value;\n      return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    AnnotatedTextEdit2.is = is;\n  })(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n  var TextDocumentEdit;\n  (function(TextDocumentEdit2) {\n    function create(textDocument, edits) {\n      return { textDocument, edits };\n    }\n    TextDocumentEdit2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits);\n    }\n    TextDocumentEdit2.is = is;\n  })(TextDocumentEdit || (TextDocumentEdit = {}));\n  var CreateFile;\n  (function(CreateFile2) {\n    function create(uri, options, annotation) {\n      var result = {\n        kind: \"create\",\n        uri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    CreateFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"create\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    CreateFile2.is = is;\n  })(CreateFile || (CreateFile = {}));\n  var RenameFile;\n  (function(RenameFile2) {\n    function create(oldUri, newUri, options, annotation) {\n      var result = {\n        kind: \"rename\",\n        oldUri,\n        newUri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    RenameFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"rename\" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    RenameFile2.is = is;\n  })(RenameFile || (RenameFile = {}));\n  var DeleteFile;\n  (function(DeleteFile2) {\n    function create(uri, options, annotation) {\n      var result = {\n        kind: \"delete\",\n        uri\n      };\n      if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    DeleteFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"delete\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    DeleteFile2.is = is;\n  })(DeleteFile || (DeleteFile = {}));\n  var WorkspaceEdit;\n  (function(WorkspaceEdit2) {\n    function is(value) {\n      var candidate = value;\n      return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every(function(change) {\n        if (Is.string(change.kind)) {\n          return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n        } else {\n          return TextDocumentEdit.is(change);\n        }\n      }));\n    }\n    WorkspaceEdit2.is = is;\n  })(WorkspaceEdit || (WorkspaceEdit = {}));\n  var TextEditChangeImpl = (\n    /** @class */\n    function() {\n      function TextEditChangeImpl2(edits, changeAnnotations) {\n        this.edits = edits;\n        this.changeAnnotations = changeAnnotations;\n      }\n      TextEditChangeImpl2.prototype.insert = function(position, newText, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.insert(position, newText);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.insert(position, newText, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.insert(position, newText, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.replace = function(range, newText, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.replace(range, newText);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.replace(range, newText, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.replace(range, newText, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.delete = function(range, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.del(range);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.del(range, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.del(range, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.add = function(edit) {\n        this.edits.push(edit);\n      };\n      TextEditChangeImpl2.prototype.all = function() {\n        return this.edits;\n      };\n      TextEditChangeImpl2.prototype.clear = function() {\n        this.edits.splice(0, this.edits.length);\n      };\n      TextEditChangeImpl2.prototype.assertChangeAnnotations = function(value) {\n        if (value === void 0) {\n          throw new Error(\"Text edit change is not configured to manage change annotations.\");\n        }\n      };\n      return TextEditChangeImpl2;\n    }()\n  );\n  var ChangeAnnotations = (\n    /** @class */\n    function() {\n      function ChangeAnnotations2(annotations) {\n        this._annotations = annotations === void 0 ? /* @__PURE__ */ Object.create(null) : annotations;\n        this._counter = 0;\n        this._size = 0;\n      }\n      ChangeAnnotations2.prototype.all = function() {\n        return this._annotations;\n      };\n      Object.defineProperty(ChangeAnnotations2.prototype, \"size\", {\n        get: function() {\n          return this._size;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ChangeAnnotations2.prototype.manage = function(idOrAnnotation, annotation) {\n        var id;\n        if (ChangeAnnotationIdentifier.is(idOrAnnotation)) {\n          id = idOrAnnotation;\n        } else {\n          id = this.nextId();\n          annotation = idOrAnnotation;\n        }\n        if (this._annotations[id] !== void 0) {\n          throw new Error(\"Id \" + id + \" is already in use.\");\n        }\n        if (annotation === void 0) {\n          throw new Error(\"No annotation provided for id \" + id);\n        }\n        this._annotations[id] = annotation;\n        this._size++;\n        return id;\n      };\n      ChangeAnnotations2.prototype.nextId = function() {\n        this._counter++;\n        return this._counter.toString();\n      };\n      return ChangeAnnotations2;\n    }()\n  );\n  var WorkspaceChange = (\n    /** @class */\n    function() {\n      function WorkspaceChange2(workspaceEdit) {\n        var _this = this;\n        this._textEditChanges = /* @__PURE__ */ Object.create(null);\n        if (workspaceEdit !== void 0) {\n          this._workspaceEdit = workspaceEdit;\n          if (workspaceEdit.documentChanges) {\n            this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations);\n            workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n            workspaceEdit.documentChanges.forEach(function(change) {\n              if (TextDocumentEdit.is(change)) {\n                var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations);\n                _this._textEditChanges[change.textDocument.uri] = textEditChange;\n              }\n            });\n          } else if (workspaceEdit.changes) {\n            Object.keys(workspaceEdit.changes).forEach(function(key) {\n              var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]);\n              _this._textEditChanges[key] = textEditChange;\n            });\n          }\n        } else {\n          this._workspaceEdit = {};\n        }\n      }\n      Object.defineProperty(WorkspaceChange2.prototype, \"edit\", {\n        /**\n         * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal\n         * use to be returned from a workspace edit operation like rename.\n         */\n        get: function() {\n          this.initDocumentChanges();\n          if (this._changeAnnotations !== void 0) {\n            if (this._changeAnnotations.size === 0) {\n              this._workspaceEdit.changeAnnotations = void 0;\n            } else {\n              this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n            }\n          }\n          return this._workspaceEdit;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      WorkspaceChange2.prototype.getTextEditChange = function(key) {\n        if (OptionalVersionedTextDocumentIdentifier.is(key)) {\n          this.initDocumentChanges();\n          if (this._workspaceEdit.documentChanges === void 0) {\n            throw new Error(\"Workspace edit is not configured for document changes.\");\n          }\n          var textDocument = { uri: key.uri, version: key.version };\n          var result = this._textEditChanges[textDocument.uri];\n          if (!result) {\n            var edits = [];\n            var textDocumentEdit = {\n              textDocument,\n              edits\n            };\n            this._workspaceEdit.documentChanges.push(textDocumentEdit);\n            result = new TextEditChangeImpl(edits, this._changeAnnotations);\n            this._textEditChanges[textDocument.uri] = result;\n          }\n          return result;\n        } else {\n          this.initChanges();\n          if (this._workspaceEdit.changes === void 0) {\n            throw new Error(\"Workspace edit is not configured for normal text edit changes.\");\n          }\n          var result = this._textEditChanges[key];\n          if (!result) {\n            var edits = [];\n            this._workspaceEdit.changes[key] = edits;\n            result = new TextEditChangeImpl(edits);\n            this._textEditChanges[key] = result;\n          }\n          return result;\n        }\n      };\n      WorkspaceChange2.prototype.initDocumentChanges = function() {\n        if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {\n          this._changeAnnotations = new ChangeAnnotations();\n          this._workspaceEdit.documentChanges = [];\n          this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n        }\n      };\n      WorkspaceChange2.prototype.initChanges = function() {\n        if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {\n          this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null);\n        }\n      };\n      WorkspaceChange2.prototype.createFile = function(uri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = CreateFile.create(uri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = CreateFile.create(uri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      WorkspaceChange2.prototype.renameFile = function(oldUri, newUri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = RenameFile.create(oldUri, newUri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = RenameFile.create(oldUri, newUri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      WorkspaceChange2.prototype.deleteFile = function(uri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = DeleteFile.create(uri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = DeleteFile.create(uri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      return WorkspaceChange2;\n    }()\n  );\n  var TextDocumentIdentifier;\n  (function(TextDocumentIdentifier2) {\n    function create(uri) {\n      return { uri };\n    }\n    TextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri);\n    }\n    TextDocumentIdentifier2.is = is;\n  })(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n  var VersionedTextDocumentIdentifier;\n  (function(VersionedTextDocumentIdentifier2) {\n    function create(uri, version) {\n      return { uri, version };\n    }\n    VersionedTextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n    }\n    VersionedTextDocumentIdentifier2.is = is;\n  })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n  var OptionalVersionedTextDocumentIdentifier;\n  (function(OptionalVersionedTextDocumentIdentifier2) {\n    function create(uri, version) {\n      return { uri, version };\n    }\n    OptionalVersionedTextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n    }\n    OptionalVersionedTextDocumentIdentifier2.is = is;\n  })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n  var TextDocumentItem;\n  (function(TextDocumentItem2) {\n    function create(uri, languageId, version, text) {\n      return { uri, languageId, version, text };\n    }\n    TextDocumentItem2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n    }\n    TextDocumentItem2.is = is;\n  })(TextDocumentItem || (TextDocumentItem = {}));\n  var MarkupKind;\n  (function(MarkupKind2) {\n    MarkupKind2.PlainText = \"plaintext\";\n    MarkupKind2.Markdown = \"markdown\";\n  })(MarkupKind || (MarkupKind = {}));\n  (function(MarkupKind2) {\n    function is(value) {\n      var candidate = value;\n      return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown;\n    }\n    MarkupKind2.is = is;\n  })(MarkupKind || (MarkupKind = {}));\n  var MarkupContent;\n  (function(MarkupContent2) {\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n    }\n    MarkupContent2.is = is;\n  })(MarkupContent || (MarkupContent = {}));\n  var CompletionItemKind2;\n  (function(CompletionItemKind22) {\n    CompletionItemKind22.Text = 1;\n    CompletionItemKind22.Method = 2;\n    CompletionItemKind22.Function = 3;\n    CompletionItemKind22.Constructor = 4;\n    CompletionItemKind22.Field = 5;\n    CompletionItemKind22.Variable = 6;\n    CompletionItemKind22.Class = 7;\n    CompletionItemKind22.Interface = 8;\n    CompletionItemKind22.Module = 9;\n    CompletionItemKind22.Property = 10;\n    CompletionItemKind22.Unit = 11;\n    CompletionItemKind22.Value = 12;\n    CompletionItemKind22.Enum = 13;\n    CompletionItemKind22.Keyword = 14;\n    CompletionItemKind22.Snippet = 15;\n    CompletionItemKind22.Color = 16;\n    CompletionItemKind22.File = 17;\n    CompletionItemKind22.Reference = 18;\n    CompletionItemKind22.Folder = 19;\n    CompletionItemKind22.EnumMember = 20;\n    CompletionItemKind22.Constant = 21;\n    CompletionItemKind22.Struct = 22;\n    CompletionItemKind22.Event = 23;\n    CompletionItemKind22.Operator = 24;\n    CompletionItemKind22.TypeParameter = 25;\n  })(CompletionItemKind2 || (CompletionItemKind2 = {}));\n  var InsertTextFormat;\n  (function(InsertTextFormat2) {\n    InsertTextFormat2.PlainText = 1;\n    InsertTextFormat2.Snippet = 2;\n  })(InsertTextFormat || (InsertTextFormat = {}));\n  var CompletionItemTag2;\n  (function(CompletionItemTag22) {\n    CompletionItemTag22.Deprecated = 1;\n  })(CompletionItemTag2 || (CompletionItemTag2 = {}));\n  var InsertReplaceEdit;\n  (function(InsertReplaceEdit2) {\n    function create(newText, insert, replace) {\n      return { newText, insert, replace };\n    }\n    InsertReplaceEdit2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.newText) && Range2.is(candidate.insert) && Range2.is(candidate.replace);\n    }\n    InsertReplaceEdit2.is = is;\n  })(InsertReplaceEdit || (InsertReplaceEdit = {}));\n  var InsertTextMode;\n  (function(InsertTextMode2) {\n    InsertTextMode2.asIs = 1;\n    InsertTextMode2.adjustIndentation = 2;\n  })(InsertTextMode || (InsertTextMode = {}));\n  var CompletionItem;\n  (function(CompletionItem2) {\n    function create(label) {\n      return { label };\n    }\n    CompletionItem2.create = create;\n  })(CompletionItem || (CompletionItem = {}));\n  var CompletionList;\n  (function(CompletionList2) {\n    function create(items, isIncomplete) {\n      return { items: items ? items : [], isIncomplete: !!isIncomplete };\n    }\n    CompletionList2.create = create;\n  })(CompletionList || (CompletionList = {}));\n  var MarkedString;\n  (function(MarkedString2) {\n    function fromPlainText(plainText) {\n      return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, \"\\\\$&\");\n    }\n    MarkedString2.fromPlainText = fromPlainText;\n    function is(value) {\n      var candidate = value;\n      return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value);\n    }\n    MarkedString2.is = is;\n  })(MarkedString || (MarkedString = {}));\n  var Hover;\n  (function(Hover2) {\n    function is(value) {\n      var candidate = value;\n      return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range2.is(value.range));\n    }\n    Hover2.is = is;\n  })(Hover || (Hover = {}));\n  var ParameterInformation;\n  (function(ParameterInformation2) {\n    function create(label, documentation) {\n      return documentation ? { label, documentation } : { label };\n    }\n    ParameterInformation2.create = create;\n  })(ParameterInformation || (ParameterInformation = {}));\n  var SignatureInformation;\n  (function(SignatureInformation2) {\n    function create(label, documentation) {\n      var parameters = [];\n      for (var _i = 2; _i < arguments.length; _i++) {\n        parameters[_i - 2] = arguments[_i];\n      }\n      var result = { label };\n      if (Is.defined(documentation)) {\n        result.documentation = documentation;\n      }\n      if (Is.defined(parameters)) {\n        result.parameters = parameters;\n      } else {\n        result.parameters = [];\n      }\n      return result;\n    }\n    SignatureInformation2.create = create;\n  })(SignatureInformation || (SignatureInformation = {}));\n  var DocumentHighlightKind3;\n  (function(DocumentHighlightKind22) {\n    DocumentHighlightKind22.Text = 1;\n    DocumentHighlightKind22.Read = 2;\n    DocumentHighlightKind22.Write = 3;\n  })(DocumentHighlightKind3 || (DocumentHighlightKind3 = {}));\n  var DocumentHighlight;\n  (function(DocumentHighlight2) {\n    function create(range, kind) {\n      var result = { range };\n      if (Is.number(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    DocumentHighlight2.create = create;\n  })(DocumentHighlight || (DocumentHighlight = {}));\n  var SymbolKind2;\n  (function(SymbolKind22) {\n    SymbolKind22.File = 1;\n    SymbolKind22.Module = 2;\n    SymbolKind22.Namespace = 3;\n    SymbolKind22.Package = 4;\n    SymbolKind22.Class = 5;\n    SymbolKind22.Method = 6;\n    SymbolKind22.Property = 7;\n    SymbolKind22.Field = 8;\n    SymbolKind22.Constructor = 9;\n    SymbolKind22.Enum = 10;\n    SymbolKind22.Interface = 11;\n    SymbolKind22.Function = 12;\n    SymbolKind22.Variable = 13;\n    SymbolKind22.Constant = 14;\n    SymbolKind22.String = 15;\n    SymbolKind22.Number = 16;\n    SymbolKind22.Boolean = 17;\n    SymbolKind22.Array = 18;\n    SymbolKind22.Object = 19;\n    SymbolKind22.Key = 20;\n    SymbolKind22.Null = 21;\n    SymbolKind22.EnumMember = 22;\n    SymbolKind22.Struct = 23;\n    SymbolKind22.Event = 24;\n    SymbolKind22.Operator = 25;\n    SymbolKind22.TypeParameter = 26;\n  })(SymbolKind2 || (SymbolKind2 = {}));\n  var SymbolTag2;\n  (function(SymbolTag22) {\n    SymbolTag22.Deprecated = 1;\n  })(SymbolTag2 || (SymbolTag2 = {}));\n  var SymbolInformation;\n  (function(SymbolInformation2) {\n    function create(name, kind, range, uri, containerName) {\n      var result = {\n        name,\n        kind,\n        location: { uri, range }\n      };\n      if (containerName) {\n        result.containerName = containerName;\n      }\n      return result;\n    }\n    SymbolInformation2.create = create;\n  })(SymbolInformation || (SymbolInformation = {}));\n  var DocumentSymbol;\n  (function(DocumentSymbol2) {\n    function create(name, detail, kind, range, selectionRange, children) {\n      var result = {\n        name,\n        detail,\n        kind,\n        range,\n        selectionRange\n      };\n      if (children !== void 0) {\n        result.children = children;\n      }\n      return result;\n    }\n    DocumentSymbol2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range2.is(candidate.range) && Range2.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags));\n    }\n    DocumentSymbol2.is = is;\n  })(DocumentSymbol || (DocumentSymbol = {}));\n  var CodeActionKind;\n  (function(CodeActionKind2) {\n    CodeActionKind2.Empty = \"\";\n    CodeActionKind2.QuickFix = \"quickfix\";\n    CodeActionKind2.Refactor = \"refactor\";\n    CodeActionKind2.RefactorExtract = \"refactor.extract\";\n    CodeActionKind2.RefactorInline = \"refactor.inline\";\n    CodeActionKind2.RefactorRewrite = \"refactor.rewrite\";\n    CodeActionKind2.Source = \"source\";\n    CodeActionKind2.SourceOrganizeImports = \"source.organizeImports\";\n    CodeActionKind2.SourceFixAll = \"source.fixAll\";\n  })(CodeActionKind || (CodeActionKind = {}));\n  var CodeActionContext;\n  (function(CodeActionContext2) {\n    function create(diagnostics, only) {\n      var result = { diagnostics };\n      if (only !== void 0 && only !== null) {\n        result.only = only;\n      }\n      return result;\n    }\n    CodeActionContext2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string));\n    }\n    CodeActionContext2.is = is;\n  })(CodeActionContext || (CodeActionContext = {}));\n  var CodeAction;\n  (function(CodeAction2) {\n    function create(title, kindOrCommandOrEdit, kind) {\n      var result = { title };\n      var checkKind = true;\n      if (typeof kindOrCommandOrEdit === \"string\") {\n        checkKind = false;\n        result.kind = kindOrCommandOrEdit;\n      } else if (Command2.is(kindOrCommandOrEdit)) {\n        result.command = kindOrCommandOrEdit;\n      } else {\n        result.edit = kindOrCommandOrEdit;\n      }\n      if (checkKind && kind !== void 0) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    CodeAction2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command2.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit));\n    }\n    CodeAction2.is = is;\n  })(CodeAction || (CodeAction = {}));\n  var CodeLens;\n  (function(CodeLens2) {\n    function create(range, data) {\n      var result = { range };\n      if (Is.defined(data)) {\n        result.data = data;\n      }\n      return result;\n    }\n    CodeLens2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.command) || Command2.is(candidate.command));\n    }\n    CodeLens2.is = is;\n  })(CodeLens || (CodeLens = {}));\n  var FormattingOptions;\n  (function(FormattingOptions2) {\n    function create(tabSize, insertSpaces) {\n      return { tabSize, insertSpaces };\n    }\n    FormattingOptions2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n    }\n    FormattingOptions2.is = is;\n  })(FormattingOptions || (FormattingOptions = {}));\n  var DocumentLink;\n  (function(DocumentLink2) {\n    function create(range, target, data) {\n      return { range, target, data };\n    }\n    DocumentLink2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n    }\n    DocumentLink2.is = is;\n  })(DocumentLink || (DocumentLink = {}));\n  var SelectionRange;\n  (function(SelectionRange2) {\n    function create(range, parent) {\n      return { range, parent };\n    }\n    SelectionRange2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && Range2.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent));\n    }\n    SelectionRange2.is = is;\n  })(SelectionRange || (SelectionRange = {}));\n  var TextDocument;\n  (function(TextDocument3) {\n    function create(uri, languageId, version, content) {\n      return new FullTextDocument(uri, languageId, version, content);\n    }\n    TextDocument3.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n    }\n    TextDocument3.is = is;\n    function applyEdits(document2, edits) {\n      var text = document2.getText();\n      var sortedEdits = mergeSort2(edits, function(a, b) {\n        var diff = a.range.start.line - b.range.start.line;\n        if (diff === 0) {\n          return a.range.start.character - b.range.start.character;\n        }\n        return diff;\n      });\n      var lastModifiedOffset = text.length;\n      for (var i = sortedEdits.length - 1; i >= 0; i--) {\n        var e = sortedEdits[i];\n        var startOffset = document2.offsetAt(e.range.start);\n        var endOffset = document2.offsetAt(e.range.end);\n        if (endOffset <= lastModifiedOffset) {\n          text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);\n        } else {\n          throw new Error(\"Overlapping edit\");\n        }\n        lastModifiedOffset = startOffset;\n      }\n      return text;\n    }\n    TextDocument3.applyEdits = applyEdits;\n    function mergeSort2(data, compare) {\n      if (data.length <= 1) {\n        return data;\n      }\n      var p = data.length / 2 | 0;\n      var left = data.slice(0, p);\n      var right = data.slice(p);\n      mergeSort2(left, compare);\n      mergeSort2(right, compare);\n      var leftIdx = 0;\n      var rightIdx = 0;\n      var i = 0;\n      while (leftIdx < left.length && rightIdx < right.length) {\n        var ret = compare(left[leftIdx], right[rightIdx]);\n        if (ret <= 0) {\n          data[i++] = left[leftIdx++];\n        } else {\n          data[i++] = right[rightIdx++];\n        }\n      }\n      while (leftIdx < left.length) {\n        data[i++] = left[leftIdx++];\n      }\n      while (rightIdx < right.length) {\n        data[i++] = right[rightIdx++];\n      }\n      return data;\n    }\n  })(TextDocument || (TextDocument = {}));\n  var FullTextDocument = (\n    /** @class */\n    function() {\n      function FullTextDocument3(uri, languageId, version, content) {\n        this._uri = uri;\n        this._languageId = languageId;\n        this._version = version;\n        this._content = content;\n        this._lineOffsets = void 0;\n      }\n      Object.defineProperty(FullTextDocument3.prototype, \"uri\", {\n        get: function() {\n          return this._uri;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(FullTextDocument3.prototype, \"languageId\", {\n        get: function() {\n          return this._languageId;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(FullTextDocument3.prototype, \"version\", {\n        get: function() {\n          return this._version;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      FullTextDocument3.prototype.getText = function(range) {\n        if (range) {\n          var start = this.offsetAt(range.start);\n          var end = this.offsetAt(range.end);\n          return this._content.substring(start, end);\n        }\n        return this._content;\n      };\n      FullTextDocument3.prototype.update = function(event, version) {\n        this._content = event.text;\n        this._version = version;\n        this._lineOffsets = void 0;\n      };\n      FullTextDocument3.prototype.getLineOffsets = function() {\n        if (this._lineOffsets === void 0) {\n          var lineOffsets = [];\n          var text = this._content;\n          var isLineStart = true;\n          for (var i = 0; i < text.length; i++) {\n            if (isLineStart) {\n              lineOffsets.push(i);\n              isLineStart = false;\n            }\n            var ch = text.charAt(i);\n            isLineStart = ch === \"\\r\" || ch === \"\\n\";\n            if (ch === \"\\r\" && i + 1 < text.length && text.charAt(i + 1) === \"\\n\") {\n              i++;\n            }\n          }\n          if (isLineStart && text.length > 0) {\n            lineOffsets.push(text.length);\n          }\n          this._lineOffsets = lineOffsets;\n        }\n        return this._lineOffsets;\n      };\n      FullTextDocument3.prototype.positionAt = function(offset) {\n        offset = Math.max(Math.min(offset, this._content.length), 0);\n        var lineOffsets = this.getLineOffsets();\n        var low = 0, high = lineOffsets.length;\n        if (high === 0) {\n          return Position2.create(0, offset);\n        }\n        while (low < high) {\n          var mid = Math.floor((low + high) / 2);\n          if (lineOffsets[mid] > offset) {\n            high = mid;\n          } else {\n            low = mid + 1;\n          }\n        }\n        var line = low - 1;\n        return Position2.create(line, offset - lineOffsets[line]);\n      };\n      FullTextDocument3.prototype.offsetAt = function(position) {\n        var lineOffsets = this.getLineOffsets();\n        if (position.line >= lineOffsets.length) {\n          return this._content.length;\n        } else if (position.line < 0) {\n          return 0;\n        }\n        var lineOffset = lineOffsets[position.line];\n        var nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length;\n        return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n      };\n      Object.defineProperty(FullTextDocument3.prototype, \"lineCount\", {\n        get: function() {\n          return this.getLineOffsets().length;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return FullTextDocument3;\n    }()\n  );\n  var Is;\n  (function(Is2) {\n    var toString = Object.prototype.toString;\n    function defined(value) {\n      return typeof value !== \"undefined\";\n    }\n    Is2.defined = defined;\n    function undefined2(value) {\n      return typeof value === \"undefined\";\n    }\n    Is2.undefined = undefined2;\n    function boolean(value) {\n      return value === true || value === false;\n    }\n    Is2.boolean = boolean;\n    function string(value) {\n      return toString.call(value) === \"[object String]\";\n    }\n    Is2.string = string;\n    function number(value) {\n      return toString.call(value) === \"[object Number]\";\n    }\n    Is2.number = number;\n    function numberRange(value, min, max) {\n      return toString.call(value) === \"[object Number]\" && min <= value && value <= max;\n    }\n    Is2.numberRange = numberRange;\n    function integer2(value) {\n      return toString.call(value) === \"[object Number]\" && -2147483648 <= value && value <= 2147483647;\n    }\n    Is2.integer = integer2;\n    function uinteger2(value) {\n      return toString.call(value) === \"[object Number]\" && 0 <= value && value <= 2147483647;\n    }\n    Is2.uinteger = uinteger2;\n    function func(value) {\n      return toString.call(value) === \"[object Function]\";\n    }\n    Is2.func = func;\n    function objectLiteral(value) {\n      return value !== null && typeof value === \"object\";\n    }\n    Is2.objectLiteral = objectLiteral;\n    function typedArray(value, check) {\n      return Array.isArray(value) && value.every(check);\n    }\n    Is2.typedArray = typedArray;\n  })(Is || (Is = {}));\n  var FullTextDocument2 = class _FullTextDocument {\n    constructor(uri, languageId, version, content) {\n      this._uri = uri;\n      this._languageId = languageId;\n      this._version = version;\n      this._content = content;\n      this._lineOffsets = void 0;\n    }\n    get uri() {\n      return this._uri;\n    }\n    get languageId() {\n      return this._languageId;\n    }\n    get version() {\n      return this._version;\n    }\n    getText(range) {\n      if (range) {\n        const start = this.offsetAt(range.start);\n        const end = this.offsetAt(range.end);\n        return this._content.substring(start, end);\n      }\n      return this._content;\n    }\n    update(changes, version) {\n      for (let change of changes) {\n        if (_FullTextDocument.isIncremental(change)) {\n          const range = getWellformedRange(change.range);\n          const startOffset = this.offsetAt(range.start);\n          const endOffset = this.offsetAt(range.end);\n          this._content = this._content.substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length);\n          const startLine = Math.max(range.start.line, 0);\n          const endLine = Math.max(range.end.line, 0);\n          let lineOffsets = this._lineOffsets;\n          const addedLineOffsets = computeLineOffsets(change.text, false, startOffset);\n          if (endLine - startLine === addedLineOffsets.length) {\n            for (let i = 0, len = addedLineOffsets.length; i < len; i++) {\n              lineOffsets[i + startLine + 1] = addedLineOffsets[i];\n            }\n          } else {\n            if (addedLineOffsets.length < 1e4) {\n              lineOffsets.splice(startLine + 1, endLine - startLine, ...addedLineOffsets);\n            } else {\n              this._lineOffsets = lineOffsets = lineOffsets.slice(0, startLine + 1).concat(addedLineOffsets, lineOffsets.slice(endLine + 1));\n            }\n          }\n          const diff = change.text.length - (endOffset - startOffset);\n          if (diff !== 0) {\n            for (let i = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i < len; i++) {\n              lineOffsets[i] = lineOffsets[i] + diff;\n            }\n          }\n        } else if (_FullTextDocument.isFull(change)) {\n          this._content = change.text;\n          this._lineOffsets = void 0;\n        } else {\n          throw new Error(\"Unknown change event received\");\n        }\n      }\n      this._version = version;\n    }\n    getLineOffsets() {\n      if (this._lineOffsets === void 0) {\n        this._lineOffsets = computeLineOffsets(this._content, true);\n      }\n      return this._lineOffsets;\n    }\n    positionAt(offset) {\n      offset = Math.max(Math.min(offset, this._content.length), 0);\n      let lineOffsets = this.getLineOffsets();\n      let low = 0, high = lineOffsets.length;\n      if (high === 0) {\n        return { line: 0, character: offset };\n      }\n      while (low < high) {\n        let mid = Math.floor((low + high) / 2);\n        if (lineOffsets[mid] > offset) {\n          high = mid;\n        } else {\n          low = mid + 1;\n        }\n      }\n      let line = low - 1;\n      return { line, character: offset - lineOffsets[line] };\n    }\n    offsetAt(position) {\n      let lineOffsets = this.getLineOffsets();\n      if (position.line >= lineOffsets.length) {\n        return this._content.length;\n      } else if (position.line < 0) {\n        return 0;\n      }\n      let lineOffset = lineOffsets[position.line];\n      let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length;\n      return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n    }\n    get lineCount() {\n      return this.getLineOffsets().length;\n    }\n    static isIncremental(event) {\n      let candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === \"number\");\n    }\n    static isFull(event) {\n      let candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range === void 0 && candidate.rangeLength === void 0;\n    }\n  };\n  var TextDocument2;\n  (function(TextDocument3) {\n    function create(uri, languageId, version, content) {\n      return new FullTextDocument2(uri, languageId, version, content);\n    }\n    TextDocument3.create = create;\n    function update(document2, changes, version) {\n      if (document2 instanceof FullTextDocument2) {\n        document2.update(changes, version);\n        return document2;\n      } else {\n        throw new Error(\"TextDocument.update: document must be created by TextDocument.create\");\n      }\n    }\n    TextDocument3.update = update;\n    function applyEdits(document2, edits) {\n      let text = document2.getText();\n      let sortedEdits = mergeSort(edits.map(getWellformedEdit), (a, b) => {\n        let diff = a.range.start.line - b.range.start.line;\n        if (diff === 0) {\n          return a.range.start.character - b.range.start.character;\n        }\n        return diff;\n      });\n      let lastModifiedOffset = 0;\n      const spans = [];\n      for (const e of sortedEdits) {\n        let startOffset = document2.offsetAt(e.range.start);\n        if (startOffset < lastModifiedOffset) {\n          throw new Error(\"Overlapping edit\");\n        } else if (startOffset > lastModifiedOffset) {\n          spans.push(text.substring(lastModifiedOffset, startOffset));\n        }\n        if (e.newText.length) {\n          spans.push(e.newText);\n        }\n        lastModifiedOffset = document2.offsetAt(e.range.end);\n      }\n      spans.push(text.substr(lastModifiedOffset));\n      return spans.join(\"\");\n    }\n    TextDocument3.applyEdits = applyEdits;\n  })(TextDocument2 || (TextDocument2 = {}));\n  function mergeSort(data, compare) {\n    if (data.length <= 1) {\n      return data;\n    }\n    const p = data.length / 2 | 0;\n    const left = data.slice(0, p);\n    const right = data.slice(p);\n    mergeSort(left, compare);\n    mergeSort(right, compare);\n    let leftIdx = 0;\n    let rightIdx = 0;\n    let i = 0;\n    while (leftIdx < left.length && rightIdx < right.length) {\n      let ret = compare(left[leftIdx], right[rightIdx]);\n      if (ret <= 0) {\n        data[i++] = left[leftIdx++];\n      } else {\n        data[i++] = right[rightIdx++];\n      }\n    }\n    while (leftIdx < left.length) {\n      data[i++] = left[leftIdx++];\n    }\n    while (rightIdx < right.length) {\n      data[i++] = right[rightIdx++];\n    }\n    return data;\n  }\n  function computeLineOffsets(text, isAtLineStart, textOffset = 0) {\n    const result = isAtLineStart ? [textOffset] : [];\n    for (let i = 0; i < text.length; i++) {\n      let ch = text.charCodeAt(i);\n      if (ch === 13 || ch === 10) {\n        if (ch === 13 && i + 1 < text.length && text.charCodeAt(i + 1) === 10) {\n          i++;\n        }\n        result.push(textOffset + i + 1);\n      }\n    }\n    return result;\n  }\n  function getWellformedRange(range) {\n    const start = range.start;\n    const end = range.end;\n    if (start.line > end.line || start.line === end.line && start.character > end.character) {\n      return { start: end, end: start };\n    }\n    return range;\n  }\n  function getWellformedEdit(textEdit) {\n    const range = getWellformedRange(textEdit.range);\n    if (range !== textEdit.range) {\n      return { newText: textEdit.newText, range };\n    }\n    return textEdit;\n  }\n  var TokenType;\n  (function(TokenType2) {\n    TokenType2[TokenType2[\"StartCommentTag\"] = 0] = \"StartCommentTag\";\n    TokenType2[TokenType2[\"Comment\"] = 1] = \"Comment\";\n    TokenType2[TokenType2[\"EndCommentTag\"] = 2] = \"EndCommentTag\";\n    TokenType2[TokenType2[\"StartTagOpen\"] = 3] = \"StartTagOpen\";\n    TokenType2[TokenType2[\"StartTagClose\"] = 4] = \"StartTagClose\";\n    TokenType2[TokenType2[\"StartTagSelfClose\"] = 5] = \"StartTagSelfClose\";\n    TokenType2[TokenType2[\"StartTag\"] = 6] = \"StartTag\";\n    TokenType2[TokenType2[\"EndTagOpen\"] = 7] = \"EndTagOpen\";\n    TokenType2[TokenType2[\"EndTagClose\"] = 8] = \"EndTagClose\";\n    TokenType2[TokenType2[\"EndTag\"] = 9] = \"EndTag\";\n    TokenType2[TokenType2[\"DelimiterAssign\"] = 10] = \"DelimiterAssign\";\n    TokenType2[TokenType2[\"AttributeName\"] = 11] = \"AttributeName\";\n    TokenType2[TokenType2[\"AttributeValue\"] = 12] = \"AttributeValue\";\n    TokenType2[TokenType2[\"StartDoctypeTag\"] = 13] = \"StartDoctypeTag\";\n    TokenType2[TokenType2[\"Doctype\"] = 14] = \"Doctype\";\n    TokenType2[TokenType2[\"EndDoctypeTag\"] = 15] = \"EndDoctypeTag\";\n    TokenType2[TokenType2[\"Content\"] = 16] = \"Content\";\n    TokenType2[TokenType2[\"Whitespace\"] = 17] = \"Whitespace\";\n    TokenType2[TokenType2[\"Unknown\"] = 18] = \"Unknown\";\n    TokenType2[TokenType2[\"Script\"] = 19] = \"Script\";\n    TokenType2[TokenType2[\"Styles\"] = 20] = \"Styles\";\n    TokenType2[TokenType2[\"EOS\"] = 21] = \"EOS\";\n  })(TokenType || (TokenType = {}));\n  var ScannerState;\n  (function(ScannerState2) {\n    ScannerState2[ScannerState2[\"WithinContent\"] = 0] = \"WithinContent\";\n    ScannerState2[ScannerState2[\"AfterOpeningStartTag\"] = 1] = \"AfterOpeningStartTag\";\n    ScannerState2[ScannerState2[\"AfterOpeningEndTag\"] = 2] = \"AfterOpeningEndTag\";\n    ScannerState2[ScannerState2[\"WithinDoctype\"] = 3] = \"WithinDoctype\";\n    ScannerState2[ScannerState2[\"WithinTag\"] = 4] = \"WithinTag\";\n    ScannerState2[ScannerState2[\"WithinEndTag\"] = 5] = \"WithinEndTag\";\n    ScannerState2[ScannerState2[\"WithinComment\"] = 6] = \"WithinComment\";\n    ScannerState2[ScannerState2[\"WithinScriptContent\"] = 7] = \"WithinScriptContent\";\n    ScannerState2[ScannerState2[\"WithinStyleContent\"] = 8] = \"WithinStyleContent\";\n    ScannerState2[ScannerState2[\"AfterAttributeName\"] = 9] = \"AfterAttributeName\";\n    ScannerState2[ScannerState2[\"BeforeAttributeValue\"] = 10] = \"BeforeAttributeValue\";\n  })(ScannerState || (ScannerState = {}));\n  var ClientCapabilities;\n  (function(ClientCapabilities2) {\n    ClientCapabilities2.LATEST = {\n      textDocument: {\n        completion: {\n          completionItem: {\n            documentationFormat: [MarkupKind.Markdown, MarkupKind.PlainText]\n          }\n        },\n        hover: {\n          contentFormat: [MarkupKind.Markdown, MarkupKind.PlainText]\n        }\n      }\n    };\n  })(ClientCapabilities || (ClientCapabilities = {}));\n  var FileType;\n  (function(FileType2) {\n    FileType2[FileType2[\"Unknown\"] = 0] = \"Unknown\";\n    FileType2[FileType2[\"File\"] = 1] = \"File\";\n    FileType2[FileType2[\"Directory\"] = 2] = \"Directory\";\n    FileType2[FileType2[\"SymbolicLink\"] = 64] = \"SymbolicLink\";\n  })(FileType || (FileType = {}));\n  var localize22 = loadMessageBundle();\n  var MultiLineStream = (\n    /** @class */\n    function() {\n      function MultiLineStream2(source, position) {\n        this.source = source;\n        this.len = source.length;\n        this.position = position;\n      }\n      MultiLineStream2.prototype.eos = function() {\n        return this.len <= this.position;\n      };\n      MultiLineStream2.prototype.getSource = function() {\n        return this.source;\n      };\n      MultiLineStream2.prototype.pos = function() {\n        return this.position;\n      };\n      MultiLineStream2.prototype.goBackTo = function(pos) {\n        this.position = pos;\n      };\n      MultiLineStream2.prototype.goBack = function(n) {\n        this.position -= n;\n      };\n      MultiLineStream2.prototype.advance = function(n) {\n        this.position += n;\n      };\n      MultiLineStream2.prototype.goToEnd = function() {\n        this.position = this.source.length;\n      };\n      MultiLineStream2.prototype.nextChar = function() {\n        return this.source.charCodeAt(this.position++) || 0;\n      };\n      MultiLineStream2.prototype.peekChar = function(n) {\n        if (n === void 0) {\n          n = 0;\n        }\n        return this.source.charCodeAt(this.position + n) || 0;\n      };\n      MultiLineStream2.prototype.advanceIfChar = function(ch) {\n        if (ch === this.source.charCodeAt(this.position)) {\n          this.position++;\n          return true;\n        }\n        return false;\n      };\n      MultiLineStream2.prototype.advanceIfChars = function(ch) {\n        var i;\n        if (this.position + ch.length > this.source.length) {\n          return false;\n        }\n        for (i = 0; i < ch.length; i++) {\n          if (this.source.charCodeAt(this.position + i) !== ch[i]) {\n            return false;\n          }\n        }\n        this.advance(i);\n        return true;\n      };\n      MultiLineStream2.prototype.advanceIfRegExp = function(regex) {\n        var str = this.source.substr(this.position);\n        var match = str.match(regex);\n        if (match) {\n          this.position = this.position + match.index + match[0].length;\n          return match[0];\n        }\n        return \"\";\n      };\n      MultiLineStream2.prototype.advanceUntilRegExp = function(regex) {\n        var str = this.source.substr(this.position);\n        var match = str.match(regex);\n        if (match) {\n          this.position = this.position + match.index;\n          return match[0];\n        } else {\n          this.goToEnd();\n        }\n        return \"\";\n      };\n      MultiLineStream2.prototype.advanceUntilChar = function(ch) {\n        while (this.position < this.source.length) {\n          if (this.source.charCodeAt(this.position) === ch) {\n            return true;\n          }\n          this.advance(1);\n        }\n        return false;\n      };\n      MultiLineStream2.prototype.advanceUntilChars = function(ch) {\n        while (this.position + ch.length <= this.source.length) {\n          var i = 0;\n          for (; i < ch.length && this.source.charCodeAt(this.position + i) === ch[i]; i++) {\n          }\n          if (i === ch.length) {\n            return true;\n          }\n          this.advance(1);\n        }\n        this.goToEnd();\n        return false;\n      };\n      MultiLineStream2.prototype.skipWhitespace = function() {\n        var n = this.advanceWhileChar(function(ch) {\n          return ch === _WSP || ch === _TAB || ch === _NWL || ch === _LFD || ch === _CAR;\n        });\n        return n > 0;\n      };\n      MultiLineStream2.prototype.advanceWhileChar = function(condition) {\n        var posNow = this.position;\n        while (this.position < this.len && condition(this.source.charCodeAt(this.position))) {\n          this.position++;\n        }\n        return this.position - posNow;\n      };\n      return MultiLineStream2;\n    }()\n  );\n  var _BNG = \"!\".charCodeAt(0);\n  var _MIN = \"-\".charCodeAt(0);\n  var _LAN = \"<\".charCodeAt(0);\n  var _RAN = \">\".charCodeAt(0);\n  var _FSL = \"/\".charCodeAt(0);\n  var _EQS = \"=\".charCodeAt(0);\n  var _DQO = '\"'.charCodeAt(0);\n  var _SQO = \"'\".charCodeAt(0);\n  var _NWL = \"\\n\".charCodeAt(0);\n  var _CAR = \"\\r\".charCodeAt(0);\n  var _LFD = \"\\f\".charCodeAt(0);\n  var _WSP = \" \".charCodeAt(0);\n  var _TAB = \"\t\".charCodeAt(0);\n  var htmlScriptContents = {\n    \"text/x-handlebars-template\": true,\n    // Fix for https://github.com/microsoft/vscode/issues/77977\n    \"text/html\": true\n  };\n  function createScanner(input, initialOffset, initialState, emitPseudoCloseTags) {\n    if (initialOffset === void 0) {\n      initialOffset = 0;\n    }\n    if (initialState === void 0) {\n      initialState = ScannerState.WithinContent;\n    }\n    if (emitPseudoCloseTags === void 0) {\n      emitPseudoCloseTags = false;\n    }\n    var stream = new MultiLineStream(input, initialOffset);\n    var state = initialState;\n    var tokenOffset = 0;\n    var tokenType = TokenType.Unknown;\n    var tokenError;\n    var hasSpaceAfterTag;\n    var lastTag;\n    var lastAttributeName;\n    var lastTypeValue;\n    function nextElementName() {\n      return stream.advanceIfRegExp(/^[_:\\w][_:\\w-.\\d]*/).toLowerCase();\n    }\n    function nextAttributeName() {\n      return stream.advanceIfRegExp(/^[^\\s\"'></=\\x00-\\x0F\\x7F\\x80-\\x9F]*/).toLowerCase();\n    }\n    function finishToken(offset, type, errorMessage) {\n      tokenType = type;\n      tokenOffset = offset;\n      tokenError = errorMessage;\n      return type;\n    }\n    function scan() {\n      var offset = stream.pos();\n      var oldState = state;\n      var token = internalScan();\n      if (token !== TokenType.EOS && offset === stream.pos() && !(emitPseudoCloseTags && (token === TokenType.StartTagClose || token === TokenType.EndTagClose))) {\n        console.log(\"Scanner.scan has not advanced at offset \" + offset + \", state before: \" + oldState + \" after: \" + state);\n        stream.advance(1);\n        return finishToken(offset, TokenType.Unknown);\n      }\n      return token;\n    }\n    function internalScan() {\n      var offset = stream.pos();\n      if (stream.eos()) {\n        return finishToken(offset, TokenType.EOS);\n      }\n      var errorMessage;\n      switch (state) {\n        case ScannerState.WithinComment:\n          if (stream.advanceIfChars([_MIN, _MIN, _RAN])) {\n            state = ScannerState.WithinContent;\n            return finishToken(offset, TokenType.EndCommentTag);\n          }\n          stream.advanceUntilChars([_MIN, _MIN, _RAN]);\n          return finishToken(offset, TokenType.Comment);\n        case ScannerState.WithinDoctype:\n          if (stream.advanceIfChar(_RAN)) {\n            state = ScannerState.WithinContent;\n            return finishToken(offset, TokenType.EndDoctypeTag);\n          }\n          stream.advanceUntilChar(_RAN);\n          return finishToken(offset, TokenType.Doctype);\n        case ScannerState.WithinContent:\n          if (stream.advanceIfChar(_LAN)) {\n            if (!stream.eos() && stream.peekChar() === _BNG) {\n              if (stream.advanceIfChars([_BNG, _MIN, _MIN])) {\n                state = ScannerState.WithinComment;\n                return finishToken(offset, TokenType.StartCommentTag);\n              }\n              if (stream.advanceIfRegExp(/^!doctype/i)) {\n                state = ScannerState.WithinDoctype;\n                return finishToken(offset, TokenType.StartDoctypeTag);\n              }\n            }\n            if (stream.advanceIfChar(_FSL)) {\n              state = ScannerState.AfterOpeningEndTag;\n              return finishToken(offset, TokenType.EndTagOpen);\n            }\n            state = ScannerState.AfterOpeningStartTag;\n            return finishToken(offset, TokenType.StartTagOpen);\n          }\n          stream.advanceUntilChar(_LAN);\n          return finishToken(offset, TokenType.Content);\n        case ScannerState.AfterOpeningEndTag:\n          var tagName = nextElementName();\n          if (tagName.length > 0) {\n            state = ScannerState.WithinEndTag;\n            return finishToken(offset, TokenType.EndTag);\n          }\n          if (stream.skipWhitespace()) {\n            return finishToken(offset, TokenType.Whitespace, localize22(\"error.unexpectedWhitespace\", \"Tag name must directly follow the open bracket.\"));\n          }\n          state = ScannerState.WithinEndTag;\n          stream.advanceUntilChar(_RAN);\n          if (offset < stream.pos()) {\n            return finishToken(offset, TokenType.Unknown, localize22(\"error.endTagNameExpected\", \"End tag name expected.\"));\n          }\n          return internalScan();\n        case ScannerState.WithinEndTag:\n          if (stream.skipWhitespace()) {\n            return finishToken(offset, TokenType.Whitespace);\n          }\n          if (stream.advanceIfChar(_RAN)) {\n            state = ScannerState.WithinContent;\n            return finishToken(offset, TokenType.EndTagClose);\n          }\n          if (emitPseudoCloseTags && stream.peekChar() === _LAN) {\n            state = ScannerState.WithinContent;\n            return finishToken(offset, TokenType.EndTagClose, localize22(\"error.closingBracketMissing\", \"Closing bracket missing.\"));\n          }\n          errorMessage = localize22(\"error.closingBracketExpected\", \"Closing bracket expected.\");\n          break;\n        case ScannerState.AfterOpeningStartTag:\n          lastTag = nextElementName();\n          lastTypeValue = void 0;\n          lastAttributeName = void 0;\n          if (lastTag.length > 0) {\n            hasSpaceAfterTag = false;\n            state = ScannerState.WithinTag;\n            return finishToken(offset, TokenType.StartTag);\n          }\n          if (stream.skipWhitespace()) {\n            return finishToken(offset, TokenType.Whitespace, localize22(\"error.unexpectedWhitespace\", \"Tag name must directly follow the open bracket.\"));\n          }\n          state = ScannerState.WithinTag;\n          stream.advanceUntilChar(_RAN);\n          if (offset < stream.pos()) {\n            return finishToken(offset, TokenType.Unknown, localize22(\"error.startTagNameExpected\", \"Start tag name expected.\"));\n          }\n          return internalScan();\n        case ScannerState.WithinTag:\n          if (stream.skipWhitespace()) {\n            hasSpaceAfterTag = true;\n            return finishToken(offset, TokenType.Whitespace);\n          }\n          if (hasSpaceAfterTag) {\n            lastAttributeName = nextAttributeName();\n            if (lastAttributeName.length > 0) {\n              state = ScannerState.AfterAttributeName;\n              hasSpaceAfterTag = false;\n              return finishToken(offset, TokenType.AttributeName);\n            }\n          }\n          if (stream.advanceIfChars([_FSL, _RAN])) {\n            state = ScannerState.WithinContent;\n            return finishToken(offset, TokenType.StartTagSelfClose);\n          }\n          if (stream.advanceIfChar(_RAN)) {\n            if (lastTag === \"script\") {\n              if (lastTypeValue && htmlScriptContents[lastTypeValue]) {\n                state = ScannerState.WithinContent;\n              } else {\n                state = ScannerState.WithinScriptContent;\n              }\n            } else if (lastTag === \"style\") {\n              state = ScannerState.WithinStyleContent;\n            } else {\n              state = ScannerState.WithinContent;\n            }\n            return finishToken(offset, TokenType.StartTagClose);\n          }\n          if (emitPseudoCloseTags && stream.peekChar() === _LAN) {\n            state = ScannerState.WithinContent;\n            return finishToken(offset, TokenType.StartTagClose, localize22(\"error.closingBracketMissing\", \"Closing bracket missing.\"));\n          }\n          stream.advance(1);\n          return finishToken(offset, TokenType.Unknown, localize22(\"error.unexpectedCharacterInTag\", \"Unexpected character in tag.\"));\n        case ScannerState.AfterAttributeName:\n          if (stream.skipWhitespace()) {\n            hasSpaceAfterTag = true;\n            return finishToken(offset, TokenType.Whitespace);\n          }\n          if (stream.advanceIfChar(_EQS)) {\n            state = ScannerState.BeforeAttributeValue;\n            return finishToken(offset, TokenType.DelimiterAssign);\n          }\n          state = ScannerState.WithinTag;\n          return internalScan();\n        case ScannerState.BeforeAttributeValue:\n          if (stream.skipWhitespace()) {\n            return finishToken(offset, TokenType.Whitespace);\n          }\n          var attributeValue = stream.advanceIfRegExp(/^[^\\s\"'`=<>]+/);\n          if (attributeValue.length > 0) {\n            if (stream.peekChar() === _RAN && stream.peekChar(-1) === _FSL) {\n              stream.goBack(1);\n              attributeValue = attributeValue.substr(0, attributeValue.length - 1);\n            }\n            if (lastAttributeName === \"type\") {\n              lastTypeValue = attributeValue;\n            }\n            state = ScannerState.WithinTag;\n            hasSpaceAfterTag = false;\n            return finishToken(offset, TokenType.AttributeValue);\n          }\n          var ch = stream.peekChar();\n          if (ch === _SQO || ch === _DQO) {\n            stream.advance(1);\n            if (stream.advanceUntilChar(ch)) {\n              stream.advance(1);\n            }\n            if (lastAttributeName === \"type\") {\n              lastTypeValue = stream.getSource().substring(offset + 1, stream.pos() - 1);\n            }\n            state = ScannerState.WithinTag;\n            hasSpaceAfterTag = false;\n            return finishToken(offset, TokenType.AttributeValue);\n          }\n          state = ScannerState.WithinTag;\n          hasSpaceAfterTag = false;\n          return internalScan();\n        case ScannerState.WithinScriptContent:\n          var sciptState = 1;\n          while (!stream.eos()) {\n            var match = stream.advanceIfRegExp(/<!--|-->|<\\/?script\\s*\\/?>?/i);\n            if (match.length === 0) {\n              stream.goToEnd();\n              return finishToken(offset, TokenType.Script);\n            } else if (match === \"<!--\") {\n              if (sciptState === 1) {\n                sciptState = 2;\n              }\n            } else if (match === \"-->\") {\n              sciptState = 1;\n            } else if (match[1] !== \"/\") {\n              if (sciptState === 2) {\n                sciptState = 3;\n              }\n            } else {\n              if (sciptState === 3) {\n                sciptState = 2;\n              } else {\n                stream.goBack(match.length);\n                break;\n              }\n            }\n          }\n          state = ScannerState.WithinContent;\n          if (offset < stream.pos()) {\n            return finishToken(offset, TokenType.Script);\n          }\n          return internalScan();\n        case ScannerState.WithinStyleContent:\n          stream.advanceUntilRegExp(/<\\/style/i);\n          state = ScannerState.WithinContent;\n          if (offset < stream.pos()) {\n            return finishToken(offset, TokenType.Styles);\n          }\n          return internalScan();\n      }\n      stream.advance(1);\n      state = ScannerState.WithinContent;\n      return finishToken(offset, TokenType.Unknown, errorMessage);\n    }\n    return {\n      scan,\n      getTokenType: function() {\n        return tokenType;\n      },\n      getTokenOffset: function() {\n        return tokenOffset;\n      },\n      getTokenLength: function() {\n        return stream.pos() - tokenOffset;\n      },\n      getTokenEnd: function() {\n        return stream.pos();\n      },\n      getTokenText: function() {\n        return stream.getSource().substring(tokenOffset, stream.pos());\n      },\n      getScannerState: function() {\n        return state;\n      },\n      getTokenError: function() {\n        return tokenError;\n      }\n    };\n  }\n  function findFirst(array, p) {\n    var low = 0, high = array.length;\n    if (high === 0) {\n      return 0;\n    }\n    while (low < high) {\n      var mid = Math.floor((low + high) / 2);\n      if (p(array[mid])) {\n        high = mid;\n      } else {\n        low = mid + 1;\n      }\n    }\n    return low;\n  }\n  function binarySearch(array, key, comparator) {\n    var low = 0, high = array.length - 1;\n    while (low <= high) {\n      var mid = (low + high) / 2 | 0;\n      var comp = comparator(array[mid], key);\n      if (comp < 0) {\n        low = mid + 1;\n      } else if (comp > 0) {\n        high = mid - 1;\n      } else {\n        return mid;\n      }\n    }\n    return -(low + 1);\n  }\n  var VOID_ELEMENTS = [\"area\", \"base\", \"br\", \"col\", \"embed\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\", \"param\", \"source\", \"track\", \"wbr\"];\n  function isVoidElement(e) {\n    return !!e && binarySearch(VOID_ELEMENTS, e.toLowerCase(), function(s1, s2) {\n      return s1.localeCompare(s2);\n    }) >= 0;\n  }\n  var Node2 = (\n    /** @class */\n    function() {\n      function Node22(start, end, children, parent) {\n        this.start = start;\n        this.end = end;\n        this.children = children;\n        this.parent = parent;\n        this.closed = false;\n      }\n      Object.defineProperty(Node22.prototype, \"attributeNames\", {\n        get: function() {\n          return this.attributes ? Object.keys(this.attributes) : [];\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Node22.prototype.isSameTag = function(tagInLowerCase) {\n        if (this.tag === void 0) {\n          return tagInLowerCase === void 0;\n        } else {\n          return tagInLowerCase !== void 0 && this.tag.length === tagInLowerCase.length && this.tag.toLowerCase() === tagInLowerCase;\n        }\n      };\n      Object.defineProperty(Node22.prototype, \"firstChild\", {\n        get: function() {\n          return this.children[0];\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(Node22.prototype, \"lastChild\", {\n        get: function() {\n          return this.children.length ? this.children[this.children.length - 1] : void 0;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Node22.prototype.findNodeBefore = function(offset) {\n        var idx = findFirst(this.children, function(c) {\n          return offset <= c.start;\n        }) - 1;\n        if (idx >= 0) {\n          var child = this.children[idx];\n          if (offset > child.start) {\n            if (offset < child.end) {\n              return child.findNodeBefore(offset);\n            }\n            var lastChild = child.lastChild;\n            if (lastChild && lastChild.end === child.end) {\n              return child.findNodeBefore(offset);\n            }\n            return child;\n          }\n        }\n        return this;\n      };\n      Node22.prototype.findNodeAt = function(offset) {\n        var idx = findFirst(this.children, function(c) {\n          return offset <= c.start;\n        }) - 1;\n        if (idx >= 0) {\n          var child = this.children[idx];\n          if (offset > child.start && offset <= child.end) {\n            return child.findNodeAt(offset);\n          }\n        }\n        return this;\n      };\n      return Node22;\n    }()\n  );\n  function parse(text) {\n    var scanner = createScanner(text, void 0, void 0, true);\n    var htmlDocument = new Node2(0, text.length, [], void 0);\n    var curr = htmlDocument;\n    var endTagStart = -1;\n    var endTagName = void 0;\n    var pendingAttribute = null;\n    var token = scanner.scan();\n    while (token !== TokenType.EOS) {\n      switch (token) {\n        case TokenType.StartTagOpen:\n          var child = new Node2(scanner.getTokenOffset(), text.length, [], curr);\n          curr.children.push(child);\n          curr = child;\n          break;\n        case TokenType.StartTag:\n          curr.tag = scanner.getTokenText();\n          break;\n        case TokenType.StartTagClose:\n          if (curr.parent) {\n            curr.end = scanner.getTokenEnd();\n            if (scanner.getTokenLength()) {\n              curr.startTagEnd = scanner.getTokenEnd();\n              if (curr.tag && isVoidElement(curr.tag)) {\n                curr.closed = true;\n                curr = curr.parent;\n              }\n            } else {\n              curr = curr.parent;\n            }\n          }\n          break;\n        case TokenType.StartTagSelfClose:\n          if (curr.parent) {\n            curr.closed = true;\n            curr.end = scanner.getTokenEnd();\n            curr.startTagEnd = scanner.getTokenEnd();\n            curr = curr.parent;\n          }\n          break;\n        case TokenType.EndTagOpen:\n          endTagStart = scanner.getTokenOffset();\n          endTagName = void 0;\n          break;\n        case TokenType.EndTag:\n          endTagName = scanner.getTokenText().toLowerCase();\n          break;\n        case TokenType.EndTagClose:\n          var node = curr;\n          while (!node.isSameTag(endTagName) && node.parent) {\n            node = node.parent;\n          }\n          if (node.parent) {\n            while (curr !== node) {\n              curr.end = endTagStart;\n              curr.closed = false;\n              curr = curr.parent;\n            }\n            curr.closed = true;\n            curr.endTagStart = endTagStart;\n            curr.end = scanner.getTokenEnd();\n            curr = curr.parent;\n          }\n          break;\n        case TokenType.AttributeName: {\n          pendingAttribute = scanner.getTokenText();\n          var attributes = curr.attributes;\n          if (!attributes) {\n            curr.attributes = attributes = {};\n          }\n          attributes[pendingAttribute] = null;\n          break;\n        }\n        case TokenType.AttributeValue: {\n          var value = scanner.getTokenText();\n          var attributes = curr.attributes;\n          if (attributes && pendingAttribute) {\n            attributes[pendingAttribute] = value;\n            pendingAttribute = null;\n          }\n          break;\n        }\n      }\n      token = scanner.scan();\n    }\n    while (curr.parent) {\n      curr.end = text.length;\n      curr.closed = false;\n      curr = curr.parent;\n    }\n    return {\n      roots: htmlDocument.children,\n      findNodeBefore: htmlDocument.findNodeBefore.bind(htmlDocument),\n      findNodeAt: htmlDocument.findNodeAt.bind(htmlDocument)\n    };\n  }\n  var entities = {\n    \"Aacute;\": \"\\xC1\",\n    \"Aacute\": \"\\xC1\",\n    \"aacute;\": \"\\xE1\",\n    \"aacute\": \"\\xE1\",\n    \"Abreve;\": \"\\u0102\",\n    \"abreve;\": \"\\u0103\",\n    \"ac;\": \"\\u223E\",\n    \"acd;\": \"\\u223F\",\n    \"acE;\": \"\\u223E\\u0333\",\n    \"Acirc;\": \"\\xC2\",\n    \"Acirc\": \"\\xC2\",\n    \"acirc;\": \"\\xE2\",\n    \"acirc\": \"\\xE2\",\n    \"acute;\": \"\\xB4\",\n    \"acute\": \"\\xB4\",\n    \"Acy;\": \"\\u0410\",\n    \"acy;\": \"\\u0430\",\n    \"AElig;\": \"\\xC6\",\n    \"AElig\": \"\\xC6\",\n    \"aelig;\": \"\\xE6\",\n    \"aelig\": \"\\xE6\",\n    \"af;\": \"\\u2061\",\n    \"Afr;\": \"\\u{1D504}\",\n    \"afr;\": \"\\u{1D51E}\",\n    \"Agrave;\": \"\\xC0\",\n    \"Agrave\": \"\\xC0\",\n    \"agrave;\": \"\\xE0\",\n    \"agrave\": \"\\xE0\",\n    \"alefsym;\": \"\\u2135\",\n    \"aleph;\": \"\\u2135\",\n    \"Alpha;\": \"\\u0391\",\n    \"alpha;\": \"\\u03B1\",\n    \"Amacr;\": \"\\u0100\",\n    \"amacr;\": \"\\u0101\",\n    \"amalg;\": \"\\u2A3F\",\n    \"AMP;\": \"&\",\n    \"AMP\": \"&\",\n    \"amp;\": \"&\",\n    \"amp\": \"&\",\n    \"And;\": \"\\u2A53\",\n    \"and;\": \"\\u2227\",\n    \"andand;\": \"\\u2A55\",\n    \"andd;\": \"\\u2A5C\",\n    \"andslope;\": \"\\u2A58\",\n    \"andv;\": \"\\u2A5A\",\n    \"ang;\": \"\\u2220\",\n    \"ange;\": \"\\u29A4\",\n    \"angle;\": \"\\u2220\",\n    \"angmsd;\": \"\\u2221\",\n    \"angmsdaa;\": \"\\u29A8\",\n    \"angmsdab;\": \"\\u29A9\",\n    \"angmsdac;\": \"\\u29AA\",\n    \"angmsdad;\": \"\\u29AB\",\n    \"angmsdae;\": \"\\u29AC\",\n    \"angmsdaf;\": \"\\u29AD\",\n    \"angmsdag;\": \"\\u29AE\",\n    \"angmsdah;\": \"\\u29AF\",\n    \"angrt;\": \"\\u221F\",\n    \"angrtvb;\": \"\\u22BE\",\n    \"angrtvbd;\": \"\\u299D\",\n    \"angsph;\": \"\\u2222\",\n    \"angst;\": \"\\xC5\",\n    \"angzarr;\": \"\\u237C\",\n    \"Aogon;\": \"\\u0104\",\n    \"aogon;\": \"\\u0105\",\n    \"Aopf;\": \"\\u{1D538}\",\n    \"aopf;\": \"\\u{1D552}\",\n    \"ap;\": \"\\u2248\",\n    \"apacir;\": \"\\u2A6F\",\n    \"apE;\": \"\\u2A70\",\n    \"ape;\": \"\\u224A\",\n    \"apid;\": \"\\u224B\",\n    \"apos;\": \"'\",\n    \"ApplyFunction;\": \"\\u2061\",\n    \"approx;\": \"\\u2248\",\n    \"approxeq;\": \"\\u224A\",\n    \"Aring;\": \"\\xC5\",\n    \"Aring\": \"\\xC5\",\n    \"aring;\": \"\\xE5\",\n    \"aring\": \"\\xE5\",\n    \"Ascr;\": \"\\u{1D49C}\",\n    \"ascr;\": \"\\u{1D4B6}\",\n    \"Assign;\": \"\\u2254\",\n    \"ast;\": \"*\",\n    \"asymp;\": \"\\u2248\",\n    \"asympeq;\": \"\\u224D\",\n    \"Atilde;\": \"\\xC3\",\n    \"Atilde\": \"\\xC3\",\n    \"atilde;\": \"\\xE3\",\n    \"atilde\": \"\\xE3\",\n    \"Auml;\": \"\\xC4\",\n    \"Auml\": \"\\xC4\",\n    \"auml;\": \"\\xE4\",\n    \"auml\": \"\\xE4\",\n    \"awconint;\": \"\\u2233\",\n    \"awint;\": \"\\u2A11\",\n    \"backcong;\": \"\\u224C\",\n    \"backepsilon;\": \"\\u03F6\",\n    \"backprime;\": \"\\u2035\",\n    \"backsim;\": \"\\u223D\",\n    \"backsimeq;\": \"\\u22CD\",\n    \"Backslash;\": \"\\u2216\",\n    \"Barv;\": \"\\u2AE7\",\n    \"barvee;\": \"\\u22BD\",\n    \"Barwed;\": \"\\u2306\",\n    \"barwed;\": \"\\u2305\",\n    \"barwedge;\": \"\\u2305\",\n    \"bbrk;\": \"\\u23B5\",\n    \"bbrktbrk;\": \"\\u23B6\",\n    \"bcong;\": \"\\u224C\",\n    \"Bcy;\": \"\\u0411\",\n    \"bcy;\": \"\\u0431\",\n    \"bdquo;\": \"\\u201E\",\n    \"becaus;\": \"\\u2235\",\n    \"Because;\": \"\\u2235\",\n    \"because;\": \"\\u2235\",\n    \"bemptyv;\": \"\\u29B0\",\n    \"bepsi;\": \"\\u03F6\",\n    \"bernou;\": \"\\u212C\",\n    \"Bernoullis;\": \"\\u212C\",\n    \"Beta;\": \"\\u0392\",\n    \"beta;\": \"\\u03B2\",\n    \"beth;\": \"\\u2136\",\n    \"between;\": \"\\u226C\",\n    \"Bfr;\": \"\\u{1D505}\",\n    \"bfr;\": \"\\u{1D51F}\",\n    \"bigcap;\": \"\\u22C2\",\n    \"bigcirc;\": \"\\u25EF\",\n    \"bigcup;\": \"\\u22C3\",\n    \"bigodot;\": \"\\u2A00\",\n    \"bigoplus;\": \"\\u2A01\",\n    \"bigotimes;\": \"\\u2A02\",\n    \"bigsqcup;\": \"\\u2A06\",\n    \"bigstar;\": \"\\u2605\",\n    \"bigtriangledown;\": \"\\u25BD\",\n    \"bigtriangleup;\": \"\\u25B3\",\n    \"biguplus;\": \"\\u2A04\",\n    \"bigvee;\": \"\\u22C1\",\n    \"bigwedge;\": \"\\u22C0\",\n    \"bkarow;\": \"\\u290D\",\n    \"blacklozenge;\": \"\\u29EB\",\n    \"blacksquare;\": \"\\u25AA\",\n    \"blacktriangle;\": \"\\u25B4\",\n    \"blacktriangledown;\": \"\\u25BE\",\n    \"blacktriangleleft;\": \"\\u25C2\",\n    \"blacktriangleright;\": \"\\u25B8\",\n    \"blank;\": \"\\u2423\",\n    \"blk12;\": \"\\u2592\",\n    \"blk14;\": \"\\u2591\",\n    \"blk34;\": \"\\u2593\",\n    \"block;\": \"\\u2588\",\n    \"bne;\": \"=\\u20E5\",\n    \"bnequiv;\": \"\\u2261\\u20E5\",\n    \"bNot;\": \"\\u2AED\",\n    \"bnot;\": \"\\u2310\",\n    \"Bopf;\": \"\\u{1D539}\",\n    \"bopf;\": \"\\u{1D553}\",\n    \"bot;\": \"\\u22A5\",\n    \"bottom;\": \"\\u22A5\",\n    \"bowtie;\": \"\\u22C8\",\n    \"boxbox;\": \"\\u29C9\",\n    \"boxDL;\": \"\\u2557\",\n    \"boxDl;\": \"\\u2556\",\n    \"boxdL;\": \"\\u2555\",\n    \"boxdl;\": \"\\u2510\",\n    \"boxDR;\": \"\\u2554\",\n    \"boxDr;\": \"\\u2553\",\n    \"boxdR;\": \"\\u2552\",\n    \"boxdr;\": \"\\u250C\",\n    \"boxH;\": \"\\u2550\",\n    \"boxh;\": \"\\u2500\",\n    \"boxHD;\": \"\\u2566\",\n    \"boxHd;\": \"\\u2564\",\n    \"boxhD;\": \"\\u2565\",\n    \"boxhd;\": \"\\u252C\",\n    \"boxHU;\": \"\\u2569\",\n    \"boxHu;\": \"\\u2567\",\n    \"boxhU;\": \"\\u2568\",\n    \"boxhu;\": \"\\u2534\",\n    \"boxminus;\": \"\\u229F\",\n    \"boxplus;\": \"\\u229E\",\n    \"boxtimes;\": \"\\u22A0\",\n    \"boxUL;\": \"\\u255D\",\n    \"boxUl;\": \"\\u255C\",\n    \"boxuL;\": \"\\u255B\",\n    \"boxul;\": \"\\u2518\",\n    \"boxUR;\": \"\\u255A\",\n    \"boxUr;\": \"\\u2559\",\n    \"boxuR;\": \"\\u2558\",\n    \"boxur;\": \"\\u2514\",\n    \"boxV;\": \"\\u2551\",\n    \"boxv;\": \"\\u2502\",\n    \"boxVH;\": \"\\u256C\",\n    \"boxVh;\": \"\\u256B\",\n    \"boxvH;\": \"\\u256A\",\n    \"boxvh;\": \"\\u253C\",\n    \"boxVL;\": \"\\u2563\",\n    \"boxVl;\": \"\\u2562\",\n    \"boxvL;\": \"\\u2561\",\n    \"boxvl;\": \"\\u2524\",\n    \"boxVR;\": \"\\u2560\",\n    \"boxVr;\": \"\\u255F\",\n    \"boxvR;\": \"\\u255E\",\n    \"boxvr;\": \"\\u251C\",\n    \"bprime;\": \"\\u2035\",\n    \"Breve;\": \"\\u02D8\",\n    \"breve;\": \"\\u02D8\",\n    \"brvbar;\": \"\\xA6\",\n    \"brvbar\": \"\\xA6\",\n    \"Bscr;\": \"\\u212C\",\n    \"bscr;\": \"\\u{1D4B7}\",\n    \"bsemi;\": \"\\u204F\",\n    \"bsim;\": \"\\u223D\",\n    \"bsime;\": \"\\u22CD\",\n    \"bsol;\": \"\\\\\",\n    \"bsolb;\": \"\\u29C5\",\n    \"bsolhsub;\": \"\\u27C8\",\n    \"bull;\": \"\\u2022\",\n    \"bullet;\": \"\\u2022\",\n    \"bump;\": \"\\u224E\",\n    \"bumpE;\": \"\\u2AAE\",\n    \"bumpe;\": \"\\u224F\",\n    \"Bumpeq;\": \"\\u224E\",\n    \"bumpeq;\": \"\\u224F\",\n    \"Cacute;\": \"\\u0106\",\n    \"cacute;\": \"\\u0107\",\n    \"Cap;\": \"\\u22D2\",\n    \"cap;\": \"\\u2229\",\n    \"capand;\": \"\\u2A44\",\n    \"capbrcup;\": \"\\u2A49\",\n    \"capcap;\": \"\\u2A4B\",\n    \"capcup;\": \"\\u2A47\",\n    \"capdot;\": \"\\u2A40\",\n    \"CapitalDifferentialD;\": \"\\u2145\",\n    \"caps;\": \"\\u2229\\uFE00\",\n    \"caret;\": \"\\u2041\",\n    \"caron;\": \"\\u02C7\",\n    \"Cayleys;\": \"\\u212D\",\n    \"ccaps;\": \"\\u2A4D\",\n    \"Ccaron;\": \"\\u010C\",\n    \"ccaron;\": \"\\u010D\",\n    \"Ccedil;\": \"\\xC7\",\n    \"Ccedil\": \"\\xC7\",\n    \"ccedil;\": \"\\xE7\",\n    \"ccedil\": \"\\xE7\",\n    \"Ccirc;\": \"\\u0108\",\n    \"ccirc;\": \"\\u0109\",\n    \"Cconint;\": \"\\u2230\",\n    \"ccups;\": \"\\u2A4C\",\n    \"ccupssm;\": \"\\u2A50\",\n    \"Cdot;\": \"\\u010A\",\n    \"cdot;\": \"\\u010B\",\n    \"cedil;\": \"\\xB8\",\n    \"cedil\": \"\\xB8\",\n    \"Cedilla;\": \"\\xB8\",\n    \"cemptyv;\": \"\\u29B2\",\n    \"cent;\": \"\\xA2\",\n    \"cent\": \"\\xA2\",\n    \"CenterDot;\": \"\\xB7\",\n    \"centerdot;\": \"\\xB7\",\n    \"Cfr;\": \"\\u212D\",\n    \"cfr;\": \"\\u{1D520}\",\n    \"CHcy;\": \"\\u0427\",\n    \"chcy;\": \"\\u0447\",\n    \"check;\": \"\\u2713\",\n    \"checkmark;\": \"\\u2713\",\n    \"Chi;\": \"\\u03A7\",\n    \"chi;\": \"\\u03C7\",\n    \"cir;\": \"\\u25CB\",\n    \"circ;\": \"\\u02C6\",\n    \"circeq;\": \"\\u2257\",\n    \"circlearrowleft;\": \"\\u21BA\",\n    \"circlearrowright;\": \"\\u21BB\",\n    \"circledast;\": \"\\u229B\",\n    \"circledcirc;\": \"\\u229A\",\n    \"circleddash;\": \"\\u229D\",\n    \"CircleDot;\": \"\\u2299\",\n    \"circledR;\": \"\\xAE\",\n    \"circledS;\": \"\\u24C8\",\n    \"CircleMinus;\": \"\\u2296\",\n    \"CirclePlus;\": \"\\u2295\",\n    \"CircleTimes;\": \"\\u2297\",\n    \"cirE;\": \"\\u29C3\",\n    \"cire;\": \"\\u2257\",\n    \"cirfnint;\": \"\\u2A10\",\n    \"cirmid;\": \"\\u2AEF\",\n    \"cirscir;\": \"\\u29C2\",\n    \"ClockwiseContourIntegral;\": \"\\u2232\",\n    \"CloseCurlyDoubleQuote;\": \"\\u201D\",\n    \"CloseCurlyQuote;\": \"\\u2019\",\n    \"clubs;\": \"\\u2663\",\n    \"clubsuit;\": \"\\u2663\",\n    \"Colon;\": \"\\u2237\",\n    \"colon;\": \":\",\n    \"Colone;\": \"\\u2A74\",\n    \"colone;\": \"\\u2254\",\n    \"coloneq;\": \"\\u2254\",\n    \"comma;\": \",\",\n    \"commat;\": \"@\",\n    \"comp;\": \"\\u2201\",\n    \"compfn;\": \"\\u2218\",\n    \"complement;\": \"\\u2201\",\n    \"complexes;\": \"\\u2102\",\n    \"cong;\": \"\\u2245\",\n    \"congdot;\": \"\\u2A6D\",\n    \"Congruent;\": \"\\u2261\",\n    \"Conint;\": \"\\u222F\",\n    \"conint;\": \"\\u222E\",\n    \"ContourIntegral;\": \"\\u222E\",\n    \"Copf;\": \"\\u2102\",\n    \"copf;\": \"\\u{1D554}\",\n    \"coprod;\": \"\\u2210\",\n    \"Coproduct;\": \"\\u2210\",\n    \"COPY;\": \"\\xA9\",\n    \"COPY\": \"\\xA9\",\n    \"copy;\": \"\\xA9\",\n    \"copy\": \"\\xA9\",\n    \"copysr;\": \"\\u2117\",\n    \"CounterClockwiseContourIntegral;\": \"\\u2233\",\n    \"crarr;\": \"\\u21B5\",\n    \"Cross;\": \"\\u2A2F\",\n    \"cross;\": \"\\u2717\",\n    \"Cscr;\": \"\\u{1D49E}\",\n    \"cscr;\": \"\\u{1D4B8}\",\n    \"csub;\": \"\\u2ACF\",\n    \"csube;\": \"\\u2AD1\",\n    \"csup;\": \"\\u2AD0\",\n    \"csupe;\": \"\\u2AD2\",\n    \"ctdot;\": \"\\u22EF\",\n    \"cudarrl;\": \"\\u2938\",\n    \"cudarrr;\": \"\\u2935\",\n    \"cuepr;\": \"\\u22DE\",\n    \"cuesc;\": \"\\u22DF\",\n    \"cularr;\": \"\\u21B6\",\n    \"cularrp;\": \"\\u293D\",\n    \"Cup;\": \"\\u22D3\",\n    \"cup;\": \"\\u222A\",\n    \"cupbrcap;\": \"\\u2A48\",\n    \"CupCap;\": \"\\u224D\",\n    \"cupcap;\": \"\\u2A46\",\n    \"cupcup;\": \"\\u2A4A\",\n    \"cupdot;\": \"\\u228D\",\n    \"cupor;\": \"\\u2A45\",\n    \"cups;\": \"\\u222A\\uFE00\",\n    \"curarr;\": \"\\u21B7\",\n    \"curarrm;\": \"\\u293C\",\n    \"curlyeqprec;\": \"\\u22DE\",\n    \"curlyeqsucc;\": \"\\u22DF\",\n    \"curlyvee;\": \"\\u22CE\",\n    \"curlywedge;\": \"\\u22CF\",\n    \"curren;\": \"\\xA4\",\n    \"curren\": \"\\xA4\",\n    \"curvearrowleft;\": \"\\u21B6\",\n    \"curvearrowright;\": \"\\u21B7\",\n    \"cuvee;\": \"\\u22CE\",\n    \"cuwed;\": \"\\u22CF\",\n    \"cwconint;\": \"\\u2232\",\n    \"cwint;\": \"\\u2231\",\n    \"cylcty;\": \"\\u232D\",\n    \"Dagger;\": \"\\u2021\",\n    \"dagger;\": \"\\u2020\",\n    \"daleth;\": \"\\u2138\",\n    \"Darr;\": \"\\u21A1\",\n    \"dArr;\": \"\\u21D3\",\n    \"darr;\": \"\\u2193\",\n    \"dash;\": \"\\u2010\",\n    \"Dashv;\": \"\\u2AE4\",\n    \"dashv;\": \"\\u22A3\",\n    \"dbkarow;\": \"\\u290F\",\n    \"dblac;\": \"\\u02DD\",\n    \"Dcaron;\": \"\\u010E\",\n    \"dcaron;\": \"\\u010F\",\n    \"Dcy;\": \"\\u0414\",\n    \"dcy;\": \"\\u0434\",\n    \"DD;\": \"\\u2145\",\n    \"dd;\": \"\\u2146\",\n    \"ddagger;\": \"\\u2021\",\n    \"ddarr;\": \"\\u21CA\",\n    \"DDotrahd;\": \"\\u2911\",\n    \"ddotseq;\": \"\\u2A77\",\n    \"deg;\": \"\\xB0\",\n    \"deg\": \"\\xB0\",\n    \"Del;\": \"\\u2207\",\n    \"Delta;\": \"\\u0394\",\n    \"delta;\": \"\\u03B4\",\n    \"demptyv;\": \"\\u29B1\",\n    \"dfisht;\": \"\\u297F\",\n    \"Dfr;\": \"\\u{1D507}\",\n    \"dfr;\": \"\\u{1D521}\",\n    \"dHar;\": \"\\u2965\",\n    \"dharl;\": \"\\u21C3\",\n    \"dharr;\": \"\\u21C2\",\n    \"DiacriticalAcute;\": \"\\xB4\",\n    \"DiacriticalDot;\": \"\\u02D9\",\n    \"DiacriticalDoubleAcute;\": \"\\u02DD\",\n    \"DiacriticalGrave;\": \"`\",\n    \"DiacriticalTilde;\": \"\\u02DC\",\n    \"diam;\": \"\\u22C4\",\n    \"Diamond;\": \"\\u22C4\",\n    \"diamond;\": \"\\u22C4\",\n    \"diamondsuit;\": \"\\u2666\",\n    \"diams;\": \"\\u2666\",\n    \"die;\": \"\\xA8\",\n    \"DifferentialD;\": \"\\u2146\",\n    \"digamma;\": \"\\u03DD\",\n    \"disin;\": \"\\u22F2\",\n    \"div;\": \"\\xF7\",\n    \"divide;\": \"\\xF7\",\n    \"divide\": \"\\xF7\",\n    \"divideontimes;\": \"\\u22C7\",\n    \"divonx;\": \"\\u22C7\",\n    \"DJcy;\": \"\\u0402\",\n    \"djcy;\": \"\\u0452\",\n    \"dlcorn;\": \"\\u231E\",\n    \"dlcrop;\": \"\\u230D\",\n    \"dollar;\": \"$\",\n    \"Dopf;\": \"\\u{1D53B}\",\n    \"dopf;\": \"\\u{1D555}\",\n    \"Dot;\": \"\\xA8\",\n    \"dot;\": \"\\u02D9\",\n    \"DotDot;\": \"\\u20DC\",\n    \"doteq;\": \"\\u2250\",\n    \"doteqdot;\": \"\\u2251\",\n    \"DotEqual;\": \"\\u2250\",\n    \"dotminus;\": \"\\u2238\",\n    \"dotplus;\": \"\\u2214\",\n    \"dotsquare;\": \"\\u22A1\",\n    \"doublebarwedge;\": \"\\u2306\",\n    \"DoubleContourIntegral;\": \"\\u222F\",\n    \"DoubleDot;\": \"\\xA8\",\n    \"DoubleDownArrow;\": \"\\u21D3\",\n    \"DoubleLeftArrow;\": \"\\u21D0\",\n    \"DoubleLeftRightArrow;\": \"\\u21D4\",\n    \"DoubleLeftTee;\": \"\\u2AE4\",\n    \"DoubleLongLeftArrow;\": \"\\u27F8\",\n    \"DoubleLongLeftRightArrow;\": \"\\u27FA\",\n    \"DoubleLongRightArrow;\": \"\\u27F9\",\n    \"DoubleRightArrow;\": \"\\u21D2\",\n    \"DoubleRightTee;\": \"\\u22A8\",\n    \"DoubleUpArrow;\": \"\\u21D1\",\n    \"DoubleUpDownArrow;\": \"\\u21D5\",\n    \"DoubleVerticalBar;\": \"\\u2225\",\n    \"DownArrow;\": \"\\u2193\",\n    \"Downarrow;\": \"\\u21D3\",\n    \"downarrow;\": \"\\u2193\",\n    \"DownArrowBar;\": \"\\u2913\",\n    \"DownArrowUpArrow;\": \"\\u21F5\",\n    \"DownBreve;\": \"\\u0311\",\n    \"downdownarrows;\": \"\\u21CA\",\n    \"downharpoonleft;\": \"\\u21C3\",\n    \"downharpoonright;\": \"\\u21C2\",\n    \"DownLeftRightVector;\": \"\\u2950\",\n    \"DownLeftTeeVector;\": \"\\u295E\",\n    \"DownLeftVector;\": \"\\u21BD\",\n    \"DownLeftVectorBar;\": \"\\u2956\",\n    \"DownRightTeeVector;\": \"\\u295F\",\n    \"DownRightVector;\": \"\\u21C1\",\n    \"DownRightVectorBar;\": \"\\u2957\",\n    \"DownTee;\": \"\\u22A4\",\n    \"DownTeeArrow;\": \"\\u21A7\",\n    \"drbkarow;\": \"\\u2910\",\n    \"drcorn;\": \"\\u231F\",\n    \"drcrop;\": \"\\u230C\",\n    \"Dscr;\": \"\\u{1D49F}\",\n    \"dscr;\": \"\\u{1D4B9}\",\n    \"DScy;\": \"\\u0405\",\n    \"dscy;\": \"\\u0455\",\n    \"dsol;\": \"\\u29F6\",\n    \"Dstrok;\": \"\\u0110\",\n    \"dstrok;\": \"\\u0111\",\n    \"dtdot;\": \"\\u22F1\",\n    \"dtri;\": \"\\u25BF\",\n    \"dtrif;\": \"\\u25BE\",\n    \"duarr;\": \"\\u21F5\",\n    \"duhar;\": \"\\u296F\",\n    \"dwangle;\": \"\\u29A6\",\n    \"DZcy;\": \"\\u040F\",\n    \"dzcy;\": \"\\u045F\",\n    \"dzigrarr;\": \"\\u27FF\",\n    \"Eacute;\": \"\\xC9\",\n    \"Eacute\": \"\\xC9\",\n    \"eacute;\": \"\\xE9\",\n    \"eacute\": \"\\xE9\",\n    \"easter;\": \"\\u2A6E\",\n    \"Ecaron;\": \"\\u011A\",\n    \"ecaron;\": \"\\u011B\",\n    \"ecir;\": \"\\u2256\",\n    \"Ecirc;\": \"\\xCA\",\n    \"Ecirc\": \"\\xCA\",\n    \"ecirc;\": \"\\xEA\",\n    \"ecirc\": \"\\xEA\",\n    \"ecolon;\": \"\\u2255\",\n    \"Ecy;\": \"\\u042D\",\n    \"ecy;\": \"\\u044D\",\n    \"eDDot;\": \"\\u2A77\",\n    \"Edot;\": \"\\u0116\",\n    \"eDot;\": \"\\u2251\",\n    \"edot;\": \"\\u0117\",\n    \"ee;\": \"\\u2147\",\n    \"efDot;\": \"\\u2252\",\n    \"Efr;\": \"\\u{1D508}\",\n    \"efr;\": \"\\u{1D522}\",\n    \"eg;\": \"\\u2A9A\",\n    \"Egrave;\": \"\\xC8\",\n    \"Egrave\": \"\\xC8\",\n    \"egrave;\": \"\\xE8\",\n    \"egrave\": \"\\xE8\",\n    \"egs;\": \"\\u2A96\",\n    \"egsdot;\": \"\\u2A98\",\n    \"el;\": \"\\u2A99\",\n    \"Element;\": \"\\u2208\",\n    \"elinters;\": \"\\u23E7\",\n    \"ell;\": \"\\u2113\",\n    \"els;\": \"\\u2A95\",\n    \"elsdot;\": \"\\u2A97\",\n    \"Emacr;\": \"\\u0112\",\n    \"emacr;\": \"\\u0113\",\n    \"empty;\": \"\\u2205\",\n    \"emptyset;\": \"\\u2205\",\n    \"EmptySmallSquare;\": \"\\u25FB\",\n    \"emptyv;\": \"\\u2205\",\n    \"EmptyVerySmallSquare;\": \"\\u25AB\",\n    \"emsp;\": \"\\u2003\",\n    \"emsp13;\": \"\\u2004\",\n    \"emsp14;\": \"\\u2005\",\n    \"ENG;\": \"\\u014A\",\n    \"eng;\": \"\\u014B\",\n    \"ensp;\": \"\\u2002\",\n    \"Eogon;\": \"\\u0118\",\n    \"eogon;\": \"\\u0119\",\n    \"Eopf;\": \"\\u{1D53C}\",\n    \"eopf;\": \"\\u{1D556}\",\n    \"epar;\": \"\\u22D5\",\n    \"eparsl;\": \"\\u29E3\",\n    \"eplus;\": \"\\u2A71\",\n    \"epsi;\": \"\\u03B5\",\n    \"Epsilon;\": \"\\u0395\",\n    \"epsilon;\": \"\\u03B5\",\n    \"epsiv;\": \"\\u03F5\",\n    \"eqcirc;\": \"\\u2256\",\n    \"eqcolon;\": \"\\u2255\",\n    \"eqsim;\": \"\\u2242\",\n    \"eqslantgtr;\": \"\\u2A96\",\n    \"eqslantless;\": \"\\u2A95\",\n    \"Equal;\": \"\\u2A75\",\n    \"equals;\": \"=\",\n    \"EqualTilde;\": \"\\u2242\",\n    \"equest;\": \"\\u225F\",\n    \"Equilibrium;\": \"\\u21CC\",\n    \"equiv;\": \"\\u2261\",\n    \"equivDD;\": \"\\u2A78\",\n    \"eqvparsl;\": \"\\u29E5\",\n    \"erarr;\": \"\\u2971\",\n    \"erDot;\": \"\\u2253\",\n    \"Escr;\": \"\\u2130\",\n    \"escr;\": \"\\u212F\",\n    \"esdot;\": \"\\u2250\",\n    \"Esim;\": \"\\u2A73\",\n    \"esim;\": \"\\u2242\",\n    \"Eta;\": \"\\u0397\",\n    \"eta;\": \"\\u03B7\",\n    \"ETH;\": \"\\xD0\",\n    \"ETH\": \"\\xD0\",\n    \"eth;\": \"\\xF0\",\n    \"eth\": \"\\xF0\",\n    \"Euml;\": \"\\xCB\",\n    \"Euml\": \"\\xCB\",\n    \"euml;\": \"\\xEB\",\n    \"euml\": \"\\xEB\",\n    \"euro;\": \"\\u20AC\",\n    \"excl;\": \"!\",\n    \"exist;\": \"\\u2203\",\n    \"Exists;\": \"\\u2203\",\n    \"expectation;\": \"\\u2130\",\n    \"ExponentialE;\": \"\\u2147\",\n    \"exponentiale;\": \"\\u2147\",\n    \"fallingdotseq;\": \"\\u2252\",\n    \"Fcy;\": \"\\u0424\",\n    \"fcy;\": \"\\u0444\",\n    \"female;\": \"\\u2640\",\n    \"ffilig;\": \"\\uFB03\",\n    \"fflig;\": \"\\uFB00\",\n    \"ffllig;\": \"\\uFB04\",\n    \"Ffr;\": \"\\u{1D509}\",\n    \"ffr;\": \"\\u{1D523}\",\n    \"filig;\": \"\\uFB01\",\n    \"FilledSmallSquare;\": \"\\u25FC\",\n    \"FilledVerySmallSquare;\": \"\\u25AA\",\n    \"fjlig;\": \"fj\",\n    \"flat;\": \"\\u266D\",\n    \"fllig;\": \"\\uFB02\",\n    \"fltns;\": \"\\u25B1\",\n    \"fnof;\": \"\\u0192\",\n    \"Fopf;\": \"\\u{1D53D}\",\n    \"fopf;\": \"\\u{1D557}\",\n    \"ForAll;\": \"\\u2200\",\n    \"forall;\": \"\\u2200\",\n    \"fork;\": \"\\u22D4\",\n    \"forkv;\": \"\\u2AD9\",\n    \"Fouriertrf;\": \"\\u2131\",\n    \"fpartint;\": \"\\u2A0D\",\n    \"frac12;\": \"\\xBD\",\n    \"frac12\": \"\\xBD\",\n    \"frac13;\": \"\\u2153\",\n    \"frac14;\": \"\\xBC\",\n    \"frac14\": \"\\xBC\",\n    \"frac15;\": \"\\u2155\",\n    \"frac16;\": \"\\u2159\",\n    \"frac18;\": \"\\u215B\",\n    \"frac23;\": \"\\u2154\",\n    \"frac25;\": \"\\u2156\",\n    \"frac34;\": \"\\xBE\",\n    \"frac34\": \"\\xBE\",\n    \"frac35;\": \"\\u2157\",\n    \"frac38;\": \"\\u215C\",\n    \"frac45;\": \"\\u2158\",\n    \"frac56;\": \"\\u215A\",\n    \"frac58;\": \"\\u215D\",\n    \"frac78;\": \"\\u215E\",\n    \"frasl;\": \"\\u2044\",\n    \"frown;\": \"\\u2322\",\n    \"Fscr;\": \"\\u2131\",\n    \"fscr;\": \"\\u{1D4BB}\",\n    \"gacute;\": \"\\u01F5\",\n    \"Gamma;\": \"\\u0393\",\n    \"gamma;\": \"\\u03B3\",\n    \"Gammad;\": \"\\u03DC\",\n    \"gammad;\": \"\\u03DD\",\n    \"gap;\": \"\\u2A86\",\n    \"Gbreve;\": \"\\u011E\",\n    \"gbreve;\": \"\\u011F\",\n    \"Gcedil;\": \"\\u0122\",\n    \"Gcirc;\": \"\\u011C\",\n    \"gcirc;\": \"\\u011D\",\n    \"Gcy;\": \"\\u0413\",\n    \"gcy;\": \"\\u0433\",\n    \"Gdot;\": \"\\u0120\",\n    \"gdot;\": \"\\u0121\",\n    \"gE;\": \"\\u2267\",\n    \"ge;\": \"\\u2265\",\n    \"gEl;\": \"\\u2A8C\",\n    \"gel;\": \"\\u22DB\",\n    \"geq;\": \"\\u2265\",\n    \"geqq;\": \"\\u2267\",\n    \"geqslant;\": \"\\u2A7E\",\n    \"ges;\": \"\\u2A7E\",\n    \"gescc;\": \"\\u2AA9\",\n    \"gesdot;\": \"\\u2A80\",\n    \"gesdoto;\": \"\\u2A82\",\n    \"gesdotol;\": \"\\u2A84\",\n    \"gesl;\": \"\\u22DB\\uFE00\",\n    \"gesles;\": \"\\u2A94\",\n    \"Gfr;\": \"\\u{1D50A}\",\n    \"gfr;\": \"\\u{1D524}\",\n    \"Gg;\": \"\\u22D9\",\n    \"gg;\": \"\\u226B\",\n    \"ggg;\": \"\\u22D9\",\n    \"gimel;\": \"\\u2137\",\n    \"GJcy;\": \"\\u0403\",\n    \"gjcy;\": \"\\u0453\",\n    \"gl;\": \"\\u2277\",\n    \"gla;\": \"\\u2AA5\",\n    \"glE;\": \"\\u2A92\",\n    \"glj;\": \"\\u2AA4\",\n    \"gnap;\": \"\\u2A8A\",\n    \"gnapprox;\": \"\\u2A8A\",\n    \"gnE;\": \"\\u2269\",\n    \"gne;\": \"\\u2A88\",\n    \"gneq;\": \"\\u2A88\",\n    \"gneqq;\": \"\\u2269\",\n    \"gnsim;\": \"\\u22E7\",\n    \"Gopf;\": \"\\u{1D53E}\",\n    \"gopf;\": \"\\u{1D558}\",\n    \"grave;\": \"`\",\n    \"GreaterEqual;\": \"\\u2265\",\n    \"GreaterEqualLess;\": \"\\u22DB\",\n    \"GreaterFullEqual;\": \"\\u2267\",\n    \"GreaterGreater;\": \"\\u2AA2\",\n    \"GreaterLess;\": \"\\u2277\",\n    \"GreaterSlantEqual;\": \"\\u2A7E\",\n    \"GreaterTilde;\": \"\\u2273\",\n    \"Gscr;\": \"\\u{1D4A2}\",\n    \"gscr;\": \"\\u210A\",\n    \"gsim;\": \"\\u2273\",\n    \"gsime;\": \"\\u2A8E\",\n    \"gsiml;\": \"\\u2A90\",\n    \"GT;\": \">\",\n    \"GT\": \">\",\n    \"Gt;\": \"\\u226B\",\n    \"gt;\": \">\",\n    \"gt\": \">\",\n    \"gtcc;\": \"\\u2AA7\",\n    \"gtcir;\": \"\\u2A7A\",\n    \"gtdot;\": \"\\u22D7\",\n    \"gtlPar;\": \"\\u2995\",\n    \"gtquest;\": \"\\u2A7C\",\n    \"gtrapprox;\": \"\\u2A86\",\n    \"gtrarr;\": \"\\u2978\",\n    \"gtrdot;\": \"\\u22D7\",\n    \"gtreqless;\": \"\\u22DB\",\n    \"gtreqqless;\": \"\\u2A8C\",\n    \"gtrless;\": \"\\u2277\",\n    \"gtrsim;\": \"\\u2273\",\n    \"gvertneqq;\": \"\\u2269\\uFE00\",\n    \"gvnE;\": \"\\u2269\\uFE00\",\n    \"Hacek;\": \"\\u02C7\",\n    \"hairsp;\": \"\\u200A\",\n    \"half;\": \"\\xBD\",\n    \"hamilt;\": \"\\u210B\",\n    \"HARDcy;\": \"\\u042A\",\n    \"hardcy;\": \"\\u044A\",\n    \"hArr;\": \"\\u21D4\",\n    \"harr;\": \"\\u2194\",\n    \"harrcir;\": \"\\u2948\",\n    \"harrw;\": \"\\u21AD\",\n    \"Hat;\": \"^\",\n    \"hbar;\": \"\\u210F\",\n    \"Hcirc;\": \"\\u0124\",\n    \"hcirc;\": \"\\u0125\",\n    \"hearts;\": \"\\u2665\",\n    \"heartsuit;\": \"\\u2665\",\n    \"hellip;\": \"\\u2026\",\n    \"hercon;\": \"\\u22B9\",\n    \"Hfr;\": \"\\u210C\",\n    \"hfr;\": \"\\u{1D525}\",\n    \"HilbertSpace;\": \"\\u210B\",\n    \"hksearow;\": \"\\u2925\",\n    \"hkswarow;\": \"\\u2926\",\n    \"hoarr;\": \"\\u21FF\",\n    \"homtht;\": \"\\u223B\",\n    \"hookleftarrow;\": \"\\u21A9\",\n    \"hookrightarrow;\": \"\\u21AA\",\n    \"Hopf;\": \"\\u210D\",\n    \"hopf;\": \"\\u{1D559}\",\n    \"horbar;\": \"\\u2015\",\n    \"HorizontalLine;\": \"\\u2500\",\n    \"Hscr;\": \"\\u210B\",\n    \"hscr;\": \"\\u{1D4BD}\",\n    \"hslash;\": \"\\u210F\",\n    \"Hstrok;\": \"\\u0126\",\n    \"hstrok;\": \"\\u0127\",\n    \"HumpDownHump;\": \"\\u224E\",\n    \"HumpEqual;\": \"\\u224F\",\n    \"hybull;\": \"\\u2043\",\n    \"hyphen;\": \"\\u2010\",\n    \"Iacute;\": \"\\xCD\",\n    \"Iacute\": \"\\xCD\",\n    \"iacute;\": \"\\xED\",\n    \"iacute\": \"\\xED\",\n    \"ic;\": \"\\u2063\",\n    \"Icirc;\": \"\\xCE\",\n    \"Icirc\": \"\\xCE\",\n    \"icirc;\": \"\\xEE\",\n    \"icirc\": \"\\xEE\",\n    \"Icy;\": \"\\u0418\",\n    \"icy;\": \"\\u0438\",\n    \"Idot;\": \"\\u0130\",\n    \"IEcy;\": \"\\u0415\",\n    \"iecy;\": \"\\u0435\",\n    \"iexcl;\": \"\\xA1\",\n    \"iexcl\": \"\\xA1\",\n    \"iff;\": \"\\u21D4\",\n    \"Ifr;\": \"\\u2111\",\n    \"ifr;\": \"\\u{1D526}\",\n    \"Igrave;\": \"\\xCC\",\n    \"Igrave\": \"\\xCC\",\n    \"igrave;\": \"\\xEC\",\n    \"igrave\": \"\\xEC\",\n    \"ii;\": \"\\u2148\",\n    \"iiiint;\": \"\\u2A0C\",\n    \"iiint;\": \"\\u222D\",\n    \"iinfin;\": \"\\u29DC\",\n    \"iiota;\": \"\\u2129\",\n    \"IJlig;\": \"\\u0132\",\n    \"ijlig;\": \"\\u0133\",\n    \"Im;\": \"\\u2111\",\n    \"Imacr;\": \"\\u012A\",\n    \"imacr;\": \"\\u012B\",\n    \"image;\": \"\\u2111\",\n    \"ImaginaryI;\": \"\\u2148\",\n    \"imagline;\": \"\\u2110\",\n    \"imagpart;\": \"\\u2111\",\n    \"imath;\": \"\\u0131\",\n    \"imof;\": \"\\u22B7\",\n    \"imped;\": \"\\u01B5\",\n    \"Implies;\": \"\\u21D2\",\n    \"in;\": \"\\u2208\",\n    \"incare;\": \"\\u2105\",\n    \"infin;\": \"\\u221E\",\n    \"infintie;\": \"\\u29DD\",\n    \"inodot;\": \"\\u0131\",\n    \"Int;\": \"\\u222C\",\n    \"int;\": \"\\u222B\",\n    \"intcal;\": \"\\u22BA\",\n    \"integers;\": \"\\u2124\",\n    \"Integral;\": \"\\u222B\",\n    \"intercal;\": \"\\u22BA\",\n    \"Intersection;\": \"\\u22C2\",\n    \"intlarhk;\": \"\\u2A17\",\n    \"intprod;\": \"\\u2A3C\",\n    \"InvisibleComma;\": \"\\u2063\",\n    \"InvisibleTimes;\": \"\\u2062\",\n    \"IOcy;\": \"\\u0401\",\n    \"iocy;\": \"\\u0451\",\n    \"Iogon;\": \"\\u012E\",\n    \"iogon;\": \"\\u012F\",\n    \"Iopf;\": \"\\u{1D540}\",\n    \"iopf;\": \"\\u{1D55A}\",\n    \"Iota;\": \"\\u0399\",\n    \"iota;\": \"\\u03B9\",\n    \"iprod;\": \"\\u2A3C\",\n    \"iquest;\": \"\\xBF\",\n    \"iquest\": \"\\xBF\",\n    \"Iscr;\": \"\\u2110\",\n    \"iscr;\": \"\\u{1D4BE}\",\n    \"isin;\": \"\\u2208\",\n    \"isindot;\": \"\\u22F5\",\n    \"isinE;\": \"\\u22F9\",\n    \"isins;\": \"\\u22F4\",\n    \"isinsv;\": \"\\u22F3\",\n    \"isinv;\": \"\\u2208\",\n    \"it;\": \"\\u2062\",\n    \"Itilde;\": \"\\u0128\",\n    \"itilde;\": \"\\u0129\",\n    \"Iukcy;\": \"\\u0406\",\n    \"iukcy;\": \"\\u0456\",\n    \"Iuml;\": \"\\xCF\",\n    \"Iuml\": \"\\xCF\",\n    \"iuml;\": \"\\xEF\",\n    \"iuml\": \"\\xEF\",\n    \"Jcirc;\": \"\\u0134\",\n    \"jcirc;\": \"\\u0135\",\n    \"Jcy;\": \"\\u0419\",\n    \"jcy;\": \"\\u0439\",\n    \"Jfr;\": \"\\u{1D50D}\",\n    \"jfr;\": \"\\u{1D527}\",\n    \"jmath;\": \"\\u0237\",\n    \"Jopf;\": \"\\u{1D541}\",\n    \"jopf;\": \"\\u{1D55B}\",\n    \"Jscr;\": \"\\u{1D4A5}\",\n    \"jscr;\": \"\\u{1D4BF}\",\n    \"Jsercy;\": \"\\u0408\",\n    \"jsercy;\": \"\\u0458\",\n    \"Jukcy;\": \"\\u0404\",\n    \"jukcy;\": \"\\u0454\",\n    \"Kappa;\": \"\\u039A\",\n    \"kappa;\": \"\\u03BA\",\n    \"kappav;\": \"\\u03F0\",\n    \"Kcedil;\": \"\\u0136\",\n    \"kcedil;\": \"\\u0137\",\n    \"Kcy;\": \"\\u041A\",\n    \"kcy;\": \"\\u043A\",\n    \"Kfr;\": \"\\u{1D50E}\",\n    \"kfr;\": \"\\u{1D528}\",\n    \"kgreen;\": \"\\u0138\",\n    \"KHcy;\": \"\\u0425\",\n    \"khcy;\": \"\\u0445\",\n    \"KJcy;\": \"\\u040C\",\n    \"kjcy;\": \"\\u045C\",\n    \"Kopf;\": \"\\u{1D542}\",\n    \"kopf;\": \"\\u{1D55C}\",\n    \"Kscr;\": \"\\u{1D4A6}\",\n    \"kscr;\": \"\\u{1D4C0}\",\n    \"lAarr;\": \"\\u21DA\",\n    \"Lacute;\": \"\\u0139\",\n    \"lacute;\": \"\\u013A\",\n    \"laemptyv;\": \"\\u29B4\",\n    \"lagran;\": \"\\u2112\",\n    \"Lambda;\": \"\\u039B\",\n    \"lambda;\": \"\\u03BB\",\n    \"Lang;\": \"\\u27EA\",\n    \"lang;\": \"\\u27E8\",\n    \"langd;\": \"\\u2991\",\n    \"langle;\": \"\\u27E8\",\n    \"lap;\": \"\\u2A85\",\n    \"Laplacetrf;\": \"\\u2112\",\n    \"laquo;\": \"\\xAB\",\n    \"laquo\": \"\\xAB\",\n    \"Larr;\": \"\\u219E\",\n    \"lArr;\": \"\\u21D0\",\n    \"larr;\": \"\\u2190\",\n    \"larrb;\": \"\\u21E4\",\n    \"larrbfs;\": \"\\u291F\",\n    \"larrfs;\": \"\\u291D\",\n    \"larrhk;\": \"\\u21A9\",\n    \"larrlp;\": \"\\u21AB\",\n    \"larrpl;\": \"\\u2939\",\n    \"larrsim;\": \"\\u2973\",\n    \"larrtl;\": \"\\u21A2\",\n    \"lat;\": \"\\u2AAB\",\n    \"lAtail;\": \"\\u291B\",\n    \"latail;\": \"\\u2919\",\n    \"late;\": \"\\u2AAD\",\n    \"lates;\": \"\\u2AAD\\uFE00\",\n    \"lBarr;\": \"\\u290E\",\n    \"lbarr;\": \"\\u290C\",\n    \"lbbrk;\": \"\\u2772\",\n    \"lbrace;\": \"{\",\n    \"lbrack;\": \"[\",\n    \"lbrke;\": \"\\u298B\",\n    \"lbrksld;\": \"\\u298F\",\n    \"lbrkslu;\": \"\\u298D\",\n    \"Lcaron;\": \"\\u013D\",\n    \"lcaron;\": \"\\u013E\",\n    \"Lcedil;\": \"\\u013B\",\n    \"lcedil;\": \"\\u013C\",\n    \"lceil;\": \"\\u2308\",\n    \"lcub;\": \"{\",\n    \"Lcy;\": \"\\u041B\",\n    \"lcy;\": \"\\u043B\",\n    \"ldca;\": \"\\u2936\",\n    \"ldquo;\": \"\\u201C\",\n    \"ldquor;\": \"\\u201E\",\n    \"ldrdhar;\": \"\\u2967\",\n    \"ldrushar;\": \"\\u294B\",\n    \"ldsh;\": \"\\u21B2\",\n    \"lE;\": \"\\u2266\",\n    \"le;\": \"\\u2264\",\n    \"LeftAngleBracket;\": \"\\u27E8\",\n    \"LeftArrow;\": \"\\u2190\",\n    \"Leftarrow;\": \"\\u21D0\",\n    \"leftarrow;\": \"\\u2190\",\n    \"LeftArrowBar;\": \"\\u21E4\",\n    \"LeftArrowRightArrow;\": \"\\u21C6\",\n    \"leftarrowtail;\": \"\\u21A2\",\n    \"LeftCeiling;\": \"\\u2308\",\n    \"LeftDoubleBracket;\": \"\\u27E6\",\n    \"LeftDownTeeVector;\": \"\\u2961\",\n    \"LeftDownVector;\": \"\\u21C3\",\n    \"LeftDownVectorBar;\": \"\\u2959\",\n    \"LeftFloor;\": \"\\u230A\",\n    \"leftharpoondown;\": \"\\u21BD\",\n    \"leftharpoonup;\": \"\\u21BC\",\n    \"leftleftarrows;\": \"\\u21C7\",\n    \"LeftRightArrow;\": \"\\u2194\",\n    \"Leftrightarrow;\": \"\\u21D4\",\n    \"leftrightarrow;\": \"\\u2194\",\n    \"leftrightarrows;\": \"\\u21C6\",\n    \"leftrightharpoons;\": \"\\u21CB\",\n    \"leftrightsquigarrow;\": \"\\u21AD\",\n    \"LeftRightVector;\": \"\\u294E\",\n    \"LeftTee;\": \"\\u22A3\",\n    \"LeftTeeArrow;\": \"\\u21A4\",\n    \"LeftTeeVector;\": \"\\u295A\",\n    \"leftthreetimes;\": \"\\u22CB\",\n    \"LeftTriangle;\": \"\\u22B2\",\n    \"LeftTriangleBar;\": \"\\u29CF\",\n    \"LeftTriangleEqual;\": \"\\u22B4\",\n    \"LeftUpDownVector;\": \"\\u2951\",\n    \"LeftUpTeeVector;\": \"\\u2960\",\n    \"LeftUpVector;\": \"\\u21BF\",\n    \"LeftUpVectorBar;\": \"\\u2958\",\n    \"LeftVector;\": \"\\u21BC\",\n    \"LeftVectorBar;\": \"\\u2952\",\n    \"lEg;\": \"\\u2A8B\",\n    \"leg;\": \"\\u22DA\",\n    \"leq;\": \"\\u2264\",\n    \"leqq;\": \"\\u2266\",\n    \"leqslant;\": \"\\u2A7D\",\n    \"les;\": \"\\u2A7D\",\n    \"lescc;\": \"\\u2AA8\",\n    \"lesdot;\": \"\\u2A7F\",\n    \"lesdoto;\": \"\\u2A81\",\n    \"lesdotor;\": \"\\u2A83\",\n    \"lesg;\": \"\\u22DA\\uFE00\",\n    \"lesges;\": \"\\u2A93\",\n    \"lessapprox;\": \"\\u2A85\",\n    \"lessdot;\": \"\\u22D6\",\n    \"lesseqgtr;\": \"\\u22DA\",\n    \"lesseqqgtr;\": \"\\u2A8B\",\n    \"LessEqualGreater;\": \"\\u22DA\",\n    \"LessFullEqual;\": \"\\u2266\",\n    \"LessGreater;\": \"\\u2276\",\n    \"lessgtr;\": \"\\u2276\",\n    \"LessLess;\": \"\\u2AA1\",\n    \"lesssim;\": \"\\u2272\",\n    \"LessSlantEqual;\": \"\\u2A7D\",\n    \"LessTilde;\": \"\\u2272\",\n    \"lfisht;\": \"\\u297C\",\n    \"lfloor;\": \"\\u230A\",\n    \"Lfr;\": \"\\u{1D50F}\",\n    \"lfr;\": \"\\u{1D529}\",\n    \"lg;\": \"\\u2276\",\n    \"lgE;\": \"\\u2A91\",\n    \"lHar;\": \"\\u2962\",\n    \"lhard;\": \"\\u21BD\",\n    \"lharu;\": \"\\u21BC\",\n    \"lharul;\": \"\\u296A\",\n    \"lhblk;\": \"\\u2584\",\n    \"LJcy;\": \"\\u0409\",\n    \"ljcy;\": \"\\u0459\",\n    \"Ll;\": \"\\u22D8\",\n    \"ll;\": \"\\u226A\",\n    \"llarr;\": \"\\u21C7\",\n    \"llcorner;\": \"\\u231E\",\n    \"Lleftarrow;\": \"\\u21DA\",\n    \"llhard;\": \"\\u296B\",\n    \"lltri;\": \"\\u25FA\",\n    \"Lmidot;\": \"\\u013F\",\n    \"lmidot;\": \"\\u0140\",\n    \"lmoust;\": \"\\u23B0\",\n    \"lmoustache;\": \"\\u23B0\",\n    \"lnap;\": \"\\u2A89\",\n    \"lnapprox;\": \"\\u2A89\",\n    \"lnE;\": \"\\u2268\",\n    \"lne;\": \"\\u2A87\",\n    \"lneq;\": \"\\u2A87\",\n    \"lneqq;\": \"\\u2268\",\n    \"lnsim;\": \"\\u22E6\",\n    \"loang;\": \"\\u27EC\",\n    \"loarr;\": \"\\u21FD\",\n    \"lobrk;\": \"\\u27E6\",\n    \"LongLeftArrow;\": \"\\u27F5\",\n    \"Longleftarrow;\": \"\\u27F8\",\n    \"longleftarrow;\": \"\\u27F5\",\n    \"LongLeftRightArrow;\": \"\\u27F7\",\n    \"Longleftrightarrow;\": \"\\u27FA\",\n    \"longleftrightarrow;\": \"\\u27F7\",\n    \"longmapsto;\": \"\\u27FC\",\n    \"LongRightArrow;\": \"\\u27F6\",\n    \"Longrightarrow;\": \"\\u27F9\",\n    \"longrightarrow;\": \"\\u27F6\",\n    \"looparrowleft;\": \"\\u21AB\",\n    \"looparrowright;\": \"\\u21AC\",\n    \"lopar;\": \"\\u2985\",\n    \"Lopf;\": \"\\u{1D543}\",\n    \"lopf;\": \"\\u{1D55D}\",\n    \"loplus;\": \"\\u2A2D\",\n    \"lotimes;\": \"\\u2A34\",\n    \"lowast;\": \"\\u2217\",\n    \"lowbar;\": \"_\",\n    \"LowerLeftArrow;\": \"\\u2199\",\n    \"LowerRightArrow;\": \"\\u2198\",\n    \"loz;\": \"\\u25CA\",\n    \"lozenge;\": \"\\u25CA\",\n    \"lozf;\": \"\\u29EB\",\n    \"lpar;\": \"(\",\n    \"lparlt;\": \"\\u2993\",\n    \"lrarr;\": \"\\u21C6\",\n    \"lrcorner;\": \"\\u231F\",\n    \"lrhar;\": \"\\u21CB\",\n    \"lrhard;\": \"\\u296D\",\n    \"lrm;\": \"\\u200E\",\n    \"lrtri;\": \"\\u22BF\",\n    \"lsaquo;\": \"\\u2039\",\n    \"Lscr;\": \"\\u2112\",\n    \"lscr;\": \"\\u{1D4C1}\",\n    \"Lsh;\": \"\\u21B0\",\n    \"lsh;\": \"\\u21B0\",\n    \"lsim;\": \"\\u2272\",\n    \"lsime;\": \"\\u2A8D\",\n    \"lsimg;\": \"\\u2A8F\",\n    \"lsqb;\": \"[\",\n    \"lsquo;\": \"\\u2018\",\n    \"lsquor;\": \"\\u201A\",\n    \"Lstrok;\": \"\\u0141\",\n    \"lstrok;\": \"\\u0142\",\n    \"LT;\": \"<\",\n    \"LT\": \"<\",\n    \"Lt;\": \"\\u226A\",\n    \"lt;\": \"<\",\n    \"lt\": \"<\",\n    \"ltcc;\": \"\\u2AA6\",\n    \"ltcir;\": \"\\u2A79\",\n    \"ltdot;\": \"\\u22D6\",\n    \"lthree;\": \"\\u22CB\",\n    \"ltimes;\": \"\\u22C9\",\n    \"ltlarr;\": \"\\u2976\",\n    \"ltquest;\": \"\\u2A7B\",\n    \"ltri;\": \"\\u25C3\",\n    \"ltrie;\": \"\\u22B4\",\n    \"ltrif;\": \"\\u25C2\",\n    \"ltrPar;\": \"\\u2996\",\n    \"lurdshar;\": \"\\u294A\",\n    \"luruhar;\": \"\\u2966\",\n    \"lvertneqq;\": \"\\u2268\\uFE00\",\n    \"lvnE;\": \"\\u2268\\uFE00\",\n    \"macr;\": \"\\xAF\",\n    \"macr\": \"\\xAF\",\n    \"male;\": \"\\u2642\",\n    \"malt;\": \"\\u2720\",\n    \"maltese;\": \"\\u2720\",\n    \"Map;\": \"\\u2905\",\n    \"map;\": \"\\u21A6\",\n    \"mapsto;\": \"\\u21A6\",\n    \"mapstodown;\": \"\\u21A7\",\n    \"mapstoleft;\": \"\\u21A4\",\n    \"mapstoup;\": \"\\u21A5\",\n    \"marker;\": \"\\u25AE\",\n    \"mcomma;\": \"\\u2A29\",\n    \"Mcy;\": \"\\u041C\",\n    \"mcy;\": \"\\u043C\",\n    \"mdash;\": \"\\u2014\",\n    \"mDDot;\": \"\\u223A\",\n    \"measuredangle;\": \"\\u2221\",\n    \"MediumSpace;\": \"\\u205F\",\n    \"Mellintrf;\": \"\\u2133\",\n    \"Mfr;\": \"\\u{1D510}\",\n    \"mfr;\": \"\\u{1D52A}\",\n    \"mho;\": \"\\u2127\",\n    \"micro;\": \"\\xB5\",\n    \"micro\": \"\\xB5\",\n    \"mid;\": \"\\u2223\",\n    \"midast;\": \"*\",\n    \"midcir;\": \"\\u2AF0\",\n    \"middot;\": \"\\xB7\",\n    \"middot\": \"\\xB7\",\n    \"minus;\": \"\\u2212\",\n    \"minusb;\": \"\\u229F\",\n    \"minusd;\": \"\\u2238\",\n    \"minusdu;\": \"\\u2A2A\",\n    \"MinusPlus;\": \"\\u2213\",\n    \"mlcp;\": \"\\u2ADB\",\n    \"mldr;\": \"\\u2026\",\n    \"mnplus;\": \"\\u2213\",\n    \"models;\": \"\\u22A7\",\n    \"Mopf;\": \"\\u{1D544}\",\n    \"mopf;\": \"\\u{1D55E}\",\n    \"mp;\": \"\\u2213\",\n    \"Mscr;\": \"\\u2133\",\n    \"mscr;\": \"\\u{1D4C2}\",\n    \"mstpos;\": \"\\u223E\",\n    \"Mu;\": \"\\u039C\",\n    \"mu;\": \"\\u03BC\",\n    \"multimap;\": \"\\u22B8\",\n    \"mumap;\": \"\\u22B8\",\n    \"nabla;\": \"\\u2207\",\n    \"Nacute;\": \"\\u0143\",\n    \"nacute;\": \"\\u0144\",\n    \"nang;\": \"\\u2220\\u20D2\",\n    \"nap;\": \"\\u2249\",\n    \"napE;\": \"\\u2A70\\u0338\",\n    \"napid;\": \"\\u224B\\u0338\",\n    \"napos;\": \"\\u0149\",\n    \"napprox;\": \"\\u2249\",\n    \"natur;\": \"\\u266E\",\n    \"natural;\": \"\\u266E\",\n    \"naturals;\": \"\\u2115\",\n    \"nbsp;\": \"\\xA0\",\n    \"nbsp\": \"\\xA0\",\n    \"nbump;\": \"\\u224E\\u0338\",\n    \"nbumpe;\": \"\\u224F\\u0338\",\n    \"ncap;\": \"\\u2A43\",\n    \"Ncaron;\": \"\\u0147\",\n    \"ncaron;\": \"\\u0148\",\n    \"Ncedil;\": \"\\u0145\",\n    \"ncedil;\": \"\\u0146\",\n    \"ncong;\": \"\\u2247\",\n    \"ncongdot;\": \"\\u2A6D\\u0338\",\n    \"ncup;\": \"\\u2A42\",\n    \"Ncy;\": \"\\u041D\",\n    \"ncy;\": \"\\u043D\",\n    \"ndash;\": \"\\u2013\",\n    \"ne;\": \"\\u2260\",\n    \"nearhk;\": \"\\u2924\",\n    \"neArr;\": \"\\u21D7\",\n    \"nearr;\": \"\\u2197\",\n    \"nearrow;\": \"\\u2197\",\n    \"nedot;\": \"\\u2250\\u0338\",\n    \"NegativeMediumSpace;\": \"\\u200B\",\n    \"NegativeThickSpace;\": \"\\u200B\",\n    \"NegativeThinSpace;\": \"\\u200B\",\n    \"NegativeVeryThinSpace;\": \"\\u200B\",\n    \"nequiv;\": \"\\u2262\",\n    \"nesear;\": \"\\u2928\",\n    \"nesim;\": \"\\u2242\\u0338\",\n    \"NestedGreaterGreater;\": \"\\u226B\",\n    \"NestedLessLess;\": \"\\u226A\",\n    \"NewLine;\": \"\\n\",\n    \"nexist;\": \"\\u2204\",\n    \"nexists;\": \"\\u2204\",\n    \"Nfr;\": \"\\u{1D511}\",\n    \"nfr;\": \"\\u{1D52B}\",\n    \"ngE;\": \"\\u2267\\u0338\",\n    \"nge;\": \"\\u2271\",\n    \"ngeq;\": \"\\u2271\",\n    \"ngeqq;\": \"\\u2267\\u0338\",\n    \"ngeqslant;\": \"\\u2A7E\\u0338\",\n    \"nges;\": \"\\u2A7E\\u0338\",\n    \"nGg;\": \"\\u22D9\\u0338\",\n    \"ngsim;\": \"\\u2275\",\n    \"nGt;\": \"\\u226B\\u20D2\",\n    \"ngt;\": \"\\u226F\",\n    \"ngtr;\": \"\\u226F\",\n    \"nGtv;\": \"\\u226B\\u0338\",\n    \"nhArr;\": \"\\u21CE\",\n    \"nharr;\": \"\\u21AE\",\n    \"nhpar;\": \"\\u2AF2\",\n    \"ni;\": \"\\u220B\",\n    \"nis;\": \"\\u22FC\",\n    \"nisd;\": \"\\u22FA\",\n    \"niv;\": \"\\u220B\",\n    \"NJcy;\": \"\\u040A\",\n    \"njcy;\": \"\\u045A\",\n    \"nlArr;\": \"\\u21CD\",\n    \"nlarr;\": \"\\u219A\",\n    \"nldr;\": \"\\u2025\",\n    \"nlE;\": \"\\u2266\\u0338\",\n    \"nle;\": \"\\u2270\",\n    \"nLeftarrow;\": \"\\u21CD\",\n    \"nleftarrow;\": \"\\u219A\",\n    \"nLeftrightarrow;\": \"\\u21CE\",\n    \"nleftrightarrow;\": \"\\u21AE\",\n    \"nleq;\": \"\\u2270\",\n    \"nleqq;\": \"\\u2266\\u0338\",\n    \"nleqslant;\": \"\\u2A7D\\u0338\",\n    \"nles;\": \"\\u2A7D\\u0338\",\n    \"nless;\": \"\\u226E\",\n    \"nLl;\": \"\\u22D8\\u0338\",\n    \"nlsim;\": \"\\u2274\",\n    \"nLt;\": \"\\u226A\\u20D2\",\n    \"nlt;\": \"\\u226E\",\n    \"nltri;\": \"\\u22EA\",\n    \"nltrie;\": \"\\u22EC\",\n    \"nLtv;\": \"\\u226A\\u0338\",\n    \"nmid;\": \"\\u2224\",\n    \"NoBreak;\": \"\\u2060\",\n    \"NonBreakingSpace;\": \"\\xA0\",\n    \"Nopf;\": \"\\u2115\",\n    \"nopf;\": \"\\u{1D55F}\",\n    \"Not;\": \"\\u2AEC\",\n    \"not;\": \"\\xAC\",\n    \"not\": \"\\xAC\",\n    \"NotCongruent;\": \"\\u2262\",\n    \"NotCupCap;\": \"\\u226D\",\n    \"NotDoubleVerticalBar;\": \"\\u2226\",\n    \"NotElement;\": \"\\u2209\",\n    \"NotEqual;\": \"\\u2260\",\n    \"NotEqualTilde;\": \"\\u2242\\u0338\",\n    \"NotExists;\": \"\\u2204\",\n    \"NotGreater;\": \"\\u226F\",\n    \"NotGreaterEqual;\": \"\\u2271\",\n    \"NotGreaterFullEqual;\": \"\\u2267\\u0338\",\n    \"NotGreaterGreater;\": \"\\u226B\\u0338\",\n    \"NotGreaterLess;\": \"\\u2279\",\n    \"NotGreaterSlantEqual;\": \"\\u2A7E\\u0338\",\n    \"NotGreaterTilde;\": \"\\u2275\",\n    \"NotHumpDownHump;\": \"\\u224E\\u0338\",\n    \"NotHumpEqual;\": \"\\u224F\\u0338\",\n    \"notin;\": \"\\u2209\",\n    \"notindot;\": \"\\u22F5\\u0338\",\n    \"notinE;\": \"\\u22F9\\u0338\",\n    \"notinva;\": \"\\u2209\",\n    \"notinvb;\": \"\\u22F7\",\n    \"notinvc;\": \"\\u22F6\",\n    \"NotLeftTriangle;\": \"\\u22EA\",\n    \"NotLeftTriangleBar;\": \"\\u29CF\\u0338\",\n    \"NotLeftTriangleEqual;\": \"\\u22EC\",\n    \"NotLess;\": \"\\u226E\",\n    \"NotLessEqual;\": \"\\u2270\",\n    \"NotLessGreater;\": \"\\u2278\",\n    \"NotLessLess;\": \"\\u226A\\u0338\",\n    \"NotLessSlantEqual;\": \"\\u2A7D\\u0338\",\n    \"NotLessTilde;\": \"\\u2274\",\n    \"NotNestedGreaterGreater;\": \"\\u2AA2\\u0338\",\n    \"NotNestedLessLess;\": \"\\u2AA1\\u0338\",\n    \"notni;\": \"\\u220C\",\n    \"notniva;\": \"\\u220C\",\n    \"notnivb;\": \"\\u22FE\",\n    \"notnivc;\": \"\\u22FD\",\n    \"NotPrecedes;\": \"\\u2280\",\n    \"NotPrecedesEqual;\": \"\\u2AAF\\u0338\",\n    \"NotPrecedesSlantEqual;\": \"\\u22E0\",\n    \"NotReverseElement;\": \"\\u220C\",\n    \"NotRightTriangle;\": \"\\u22EB\",\n    \"NotRightTriangleBar;\": \"\\u29D0\\u0338\",\n    \"NotRightTriangleEqual;\": \"\\u22ED\",\n    \"NotSquareSubset;\": \"\\u228F\\u0338\",\n    \"NotSquareSubsetEqual;\": \"\\u22E2\",\n    \"NotSquareSuperset;\": \"\\u2290\\u0338\",\n    \"NotSquareSupersetEqual;\": \"\\u22E3\",\n    \"NotSubset;\": \"\\u2282\\u20D2\",\n    \"NotSubsetEqual;\": \"\\u2288\",\n    \"NotSucceeds;\": \"\\u2281\",\n    \"NotSucceedsEqual;\": \"\\u2AB0\\u0338\",\n    \"NotSucceedsSlantEqual;\": \"\\u22E1\",\n    \"NotSucceedsTilde;\": \"\\u227F\\u0338\",\n    \"NotSuperset;\": \"\\u2283\\u20D2\",\n    \"NotSupersetEqual;\": \"\\u2289\",\n    \"NotTilde;\": \"\\u2241\",\n    \"NotTildeEqual;\": \"\\u2244\",\n    \"NotTildeFullEqual;\": \"\\u2247\",\n    \"NotTildeTilde;\": \"\\u2249\",\n    \"NotVerticalBar;\": \"\\u2224\",\n    \"npar;\": \"\\u2226\",\n    \"nparallel;\": \"\\u2226\",\n    \"nparsl;\": \"\\u2AFD\\u20E5\",\n    \"npart;\": \"\\u2202\\u0338\",\n    \"npolint;\": \"\\u2A14\",\n    \"npr;\": \"\\u2280\",\n    \"nprcue;\": \"\\u22E0\",\n    \"npre;\": \"\\u2AAF\\u0338\",\n    \"nprec;\": \"\\u2280\",\n    \"npreceq;\": \"\\u2AAF\\u0338\",\n    \"nrArr;\": \"\\u21CF\",\n    \"nrarr;\": \"\\u219B\",\n    \"nrarrc;\": \"\\u2933\\u0338\",\n    \"nrarrw;\": \"\\u219D\\u0338\",\n    \"nRightarrow;\": \"\\u21CF\",\n    \"nrightarrow;\": \"\\u219B\",\n    \"nrtri;\": \"\\u22EB\",\n    \"nrtrie;\": \"\\u22ED\",\n    \"nsc;\": \"\\u2281\",\n    \"nsccue;\": \"\\u22E1\",\n    \"nsce;\": \"\\u2AB0\\u0338\",\n    \"Nscr;\": \"\\u{1D4A9}\",\n    \"nscr;\": \"\\u{1D4C3}\",\n    \"nshortmid;\": \"\\u2224\",\n    \"nshortparallel;\": \"\\u2226\",\n    \"nsim;\": \"\\u2241\",\n    \"nsime;\": \"\\u2244\",\n    \"nsimeq;\": \"\\u2244\",\n    \"nsmid;\": \"\\u2224\",\n    \"nspar;\": \"\\u2226\",\n    \"nsqsube;\": \"\\u22E2\",\n    \"nsqsupe;\": \"\\u22E3\",\n    \"nsub;\": \"\\u2284\",\n    \"nsubE;\": \"\\u2AC5\\u0338\",\n    \"nsube;\": \"\\u2288\",\n    \"nsubset;\": \"\\u2282\\u20D2\",\n    \"nsubseteq;\": \"\\u2288\",\n    \"nsubseteqq;\": \"\\u2AC5\\u0338\",\n    \"nsucc;\": \"\\u2281\",\n    \"nsucceq;\": \"\\u2AB0\\u0338\",\n    \"nsup;\": \"\\u2285\",\n    \"nsupE;\": \"\\u2AC6\\u0338\",\n    \"nsupe;\": \"\\u2289\",\n    \"nsupset;\": \"\\u2283\\u20D2\",\n    \"nsupseteq;\": \"\\u2289\",\n    \"nsupseteqq;\": \"\\u2AC6\\u0338\",\n    \"ntgl;\": \"\\u2279\",\n    \"Ntilde;\": \"\\xD1\",\n    \"Ntilde\": \"\\xD1\",\n    \"ntilde;\": \"\\xF1\",\n    \"ntilde\": \"\\xF1\",\n    \"ntlg;\": \"\\u2278\",\n    \"ntriangleleft;\": \"\\u22EA\",\n    \"ntrianglelefteq;\": \"\\u22EC\",\n    \"ntriangleright;\": \"\\u22EB\",\n    \"ntrianglerighteq;\": \"\\u22ED\",\n    \"Nu;\": \"\\u039D\",\n    \"nu;\": \"\\u03BD\",\n    \"num;\": \"#\",\n    \"numero;\": \"\\u2116\",\n    \"numsp;\": \"\\u2007\",\n    \"nvap;\": \"\\u224D\\u20D2\",\n    \"nVDash;\": \"\\u22AF\",\n    \"nVdash;\": \"\\u22AE\",\n    \"nvDash;\": \"\\u22AD\",\n    \"nvdash;\": \"\\u22AC\",\n    \"nvge;\": \"\\u2265\\u20D2\",\n    \"nvgt;\": \">\\u20D2\",\n    \"nvHarr;\": \"\\u2904\",\n    \"nvinfin;\": \"\\u29DE\",\n    \"nvlArr;\": \"\\u2902\",\n    \"nvle;\": \"\\u2264\\u20D2\",\n    \"nvlt;\": \"<\\u20D2\",\n    \"nvltrie;\": \"\\u22B4\\u20D2\",\n    \"nvrArr;\": \"\\u2903\",\n    \"nvrtrie;\": \"\\u22B5\\u20D2\",\n    \"nvsim;\": \"\\u223C\\u20D2\",\n    \"nwarhk;\": \"\\u2923\",\n    \"nwArr;\": \"\\u21D6\",\n    \"nwarr;\": \"\\u2196\",\n    \"nwarrow;\": \"\\u2196\",\n    \"nwnear;\": \"\\u2927\",\n    \"Oacute;\": \"\\xD3\",\n    \"Oacute\": \"\\xD3\",\n    \"oacute;\": \"\\xF3\",\n    \"oacute\": \"\\xF3\",\n    \"oast;\": \"\\u229B\",\n    \"ocir;\": \"\\u229A\",\n    \"Ocirc;\": \"\\xD4\",\n    \"Ocirc\": \"\\xD4\",\n    \"ocirc;\": \"\\xF4\",\n    \"ocirc\": \"\\xF4\",\n    \"Ocy;\": \"\\u041E\",\n    \"ocy;\": \"\\u043E\",\n    \"odash;\": \"\\u229D\",\n    \"Odblac;\": \"\\u0150\",\n    \"odblac;\": \"\\u0151\",\n    \"odiv;\": \"\\u2A38\",\n    \"odot;\": \"\\u2299\",\n    \"odsold;\": \"\\u29BC\",\n    \"OElig;\": \"\\u0152\",\n    \"oelig;\": \"\\u0153\",\n    \"ofcir;\": \"\\u29BF\",\n    \"Ofr;\": \"\\u{1D512}\",\n    \"ofr;\": \"\\u{1D52C}\",\n    \"ogon;\": \"\\u02DB\",\n    \"Ograve;\": \"\\xD2\",\n    \"Ograve\": \"\\xD2\",\n    \"ograve;\": \"\\xF2\",\n    \"ograve\": \"\\xF2\",\n    \"ogt;\": \"\\u29C1\",\n    \"ohbar;\": \"\\u29B5\",\n    \"ohm;\": \"\\u03A9\",\n    \"oint;\": \"\\u222E\",\n    \"olarr;\": \"\\u21BA\",\n    \"olcir;\": \"\\u29BE\",\n    \"olcross;\": \"\\u29BB\",\n    \"oline;\": \"\\u203E\",\n    \"olt;\": \"\\u29C0\",\n    \"Omacr;\": \"\\u014C\",\n    \"omacr;\": \"\\u014D\",\n    \"Omega;\": \"\\u03A9\",\n    \"omega;\": \"\\u03C9\",\n    \"Omicron;\": \"\\u039F\",\n    \"omicron;\": \"\\u03BF\",\n    \"omid;\": \"\\u29B6\",\n    \"ominus;\": \"\\u2296\",\n    \"Oopf;\": \"\\u{1D546}\",\n    \"oopf;\": \"\\u{1D560}\",\n    \"opar;\": \"\\u29B7\",\n    \"OpenCurlyDoubleQuote;\": \"\\u201C\",\n    \"OpenCurlyQuote;\": \"\\u2018\",\n    \"operp;\": \"\\u29B9\",\n    \"oplus;\": \"\\u2295\",\n    \"Or;\": \"\\u2A54\",\n    \"or;\": \"\\u2228\",\n    \"orarr;\": \"\\u21BB\",\n    \"ord;\": \"\\u2A5D\",\n    \"order;\": \"\\u2134\",\n    \"orderof;\": \"\\u2134\",\n    \"ordf;\": \"\\xAA\",\n    \"ordf\": \"\\xAA\",\n    \"ordm;\": \"\\xBA\",\n    \"ordm\": \"\\xBA\",\n    \"origof;\": \"\\u22B6\",\n    \"oror;\": \"\\u2A56\",\n    \"orslope;\": \"\\u2A57\",\n    \"orv;\": \"\\u2A5B\",\n    \"oS;\": \"\\u24C8\",\n    \"Oscr;\": \"\\u{1D4AA}\",\n    \"oscr;\": \"\\u2134\",\n    \"Oslash;\": \"\\xD8\",\n    \"Oslash\": \"\\xD8\",\n    \"oslash;\": \"\\xF8\",\n    \"oslash\": \"\\xF8\",\n    \"osol;\": \"\\u2298\",\n    \"Otilde;\": \"\\xD5\",\n    \"Otilde\": \"\\xD5\",\n    \"otilde;\": \"\\xF5\",\n    \"otilde\": \"\\xF5\",\n    \"Otimes;\": \"\\u2A37\",\n    \"otimes;\": \"\\u2297\",\n    \"otimesas;\": \"\\u2A36\",\n    \"Ouml;\": \"\\xD6\",\n    \"Ouml\": \"\\xD6\",\n    \"ouml;\": \"\\xF6\",\n    \"ouml\": \"\\xF6\",\n    \"ovbar;\": \"\\u233D\",\n    \"OverBar;\": \"\\u203E\",\n    \"OverBrace;\": \"\\u23DE\",\n    \"OverBracket;\": \"\\u23B4\",\n    \"OverParenthesis;\": \"\\u23DC\",\n    \"par;\": \"\\u2225\",\n    \"para;\": \"\\xB6\",\n    \"para\": \"\\xB6\",\n    \"parallel;\": \"\\u2225\",\n    \"parsim;\": \"\\u2AF3\",\n    \"parsl;\": \"\\u2AFD\",\n    \"part;\": \"\\u2202\",\n    \"PartialD;\": \"\\u2202\",\n    \"Pcy;\": \"\\u041F\",\n    \"pcy;\": \"\\u043F\",\n    \"percnt;\": \"%\",\n    \"period;\": \".\",\n    \"permil;\": \"\\u2030\",\n    \"perp;\": \"\\u22A5\",\n    \"pertenk;\": \"\\u2031\",\n    \"Pfr;\": \"\\u{1D513}\",\n    \"pfr;\": \"\\u{1D52D}\",\n    \"Phi;\": \"\\u03A6\",\n    \"phi;\": \"\\u03C6\",\n    \"phiv;\": \"\\u03D5\",\n    \"phmmat;\": \"\\u2133\",\n    \"phone;\": \"\\u260E\",\n    \"Pi;\": \"\\u03A0\",\n    \"pi;\": \"\\u03C0\",\n    \"pitchfork;\": \"\\u22D4\",\n    \"piv;\": \"\\u03D6\",\n    \"planck;\": \"\\u210F\",\n    \"planckh;\": \"\\u210E\",\n    \"plankv;\": \"\\u210F\",\n    \"plus;\": \"+\",\n    \"plusacir;\": \"\\u2A23\",\n    \"plusb;\": \"\\u229E\",\n    \"pluscir;\": \"\\u2A22\",\n    \"plusdo;\": \"\\u2214\",\n    \"plusdu;\": \"\\u2A25\",\n    \"pluse;\": \"\\u2A72\",\n    \"PlusMinus;\": \"\\xB1\",\n    \"plusmn;\": \"\\xB1\",\n    \"plusmn\": \"\\xB1\",\n    \"plussim;\": \"\\u2A26\",\n    \"plustwo;\": \"\\u2A27\",\n    \"pm;\": \"\\xB1\",\n    \"Poincareplane;\": \"\\u210C\",\n    \"pointint;\": \"\\u2A15\",\n    \"Popf;\": \"\\u2119\",\n    \"popf;\": \"\\u{1D561}\",\n    \"pound;\": \"\\xA3\",\n    \"pound\": \"\\xA3\",\n    \"Pr;\": \"\\u2ABB\",\n    \"pr;\": \"\\u227A\",\n    \"prap;\": \"\\u2AB7\",\n    \"prcue;\": \"\\u227C\",\n    \"prE;\": \"\\u2AB3\",\n    \"pre;\": \"\\u2AAF\",\n    \"prec;\": \"\\u227A\",\n    \"precapprox;\": \"\\u2AB7\",\n    \"preccurlyeq;\": \"\\u227C\",\n    \"Precedes;\": \"\\u227A\",\n    \"PrecedesEqual;\": \"\\u2AAF\",\n    \"PrecedesSlantEqual;\": \"\\u227C\",\n    \"PrecedesTilde;\": \"\\u227E\",\n    \"preceq;\": \"\\u2AAF\",\n    \"precnapprox;\": \"\\u2AB9\",\n    \"precneqq;\": \"\\u2AB5\",\n    \"precnsim;\": \"\\u22E8\",\n    \"precsim;\": \"\\u227E\",\n    \"Prime;\": \"\\u2033\",\n    \"prime;\": \"\\u2032\",\n    \"primes;\": \"\\u2119\",\n    \"prnap;\": \"\\u2AB9\",\n    \"prnE;\": \"\\u2AB5\",\n    \"prnsim;\": \"\\u22E8\",\n    \"prod;\": \"\\u220F\",\n    \"Product;\": \"\\u220F\",\n    \"profalar;\": \"\\u232E\",\n    \"profline;\": \"\\u2312\",\n    \"profsurf;\": \"\\u2313\",\n    \"prop;\": \"\\u221D\",\n    \"Proportion;\": \"\\u2237\",\n    \"Proportional;\": \"\\u221D\",\n    \"propto;\": \"\\u221D\",\n    \"prsim;\": \"\\u227E\",\n    \"prurel;\": \"\\u22B0\",\n    \"Pscr;\": \"\\u{1D4AB}\",\n    \"pscr;\": \"\\u{1D4C5}\",\n    \"Psi;\": \"\\u03A8\",\n    \"psi;\": \"\\u03C8\",\n    \"puncsp;\": \"\\u2008\",\n    \"Qfr;\": \"\\u{1D514}\",\n    \"qfr;\": \"\\u{1D52E}\",\n    \"qint;\": \"\\u2A0C\",\n    \"Qopf;\": \"\\u211A\",\n    \"qopf;\": \"\\u{1D562}\",\n    \"qprime;\": \"\\u2057\",\n    \"Qscr;\": \"\\u{1D4AC}\",\n    \"qscr;\": \"\\u{1D4C6}\",\n    \"quaternions;\": \"\\u210D\",\n    \"quatint;\": \"\\u2A16\",\n    \"quest;\": \"?\",\n    \"questeq;\": \"\\u225F\",\n    \"QUOT;\": '\"',\n    \"QUOT\": '\"',\n    \"quot;\": '\"',\n    \"quot\": '\"',\n    \"rAarr;\": \"\\u21DB\",\n    \"race;\": \"\\u223D\\u0331\",\n    \"Racute;\": \"\\u0154\",\n    \"racute;\": \"\\u0155\",\n    \"radic;\": \"\\u221A\",\n    \"raemptyv;\": \"\\u29B3\",\n    \"Rang;\": \"\\u27EB\",\n    \"rang;\": \"\\u27E9\",\n    \"rangd;\": \"\\u2992\",\n    \"range;\": \"\\u29A5\",\n    \"rangle;\": \"\\u27E9\",\n    \"raquo;\": \"\\xBB\",\n    \"raquo\": \"\\xBB\",\n    \"Rarr;\": \"\\u21A0\",\n    \"rArr;\": \"\\u21D2\",\n    \"rarr;\": \"\\u2192\",\n    \"rarrap;\": \"\\u2975\",\n    \"rarrb;\": \"\\u21E5\",\n    \"rarrbfs;\": \"\\u2920\",\n    \"rarrc;\": \"\\u2933\",\n    \"rarrfs;\": \"\\u291E\",\n    \"rarrhk;\": \"\\u21AA\",\n    \"rarrlp;\": \"\\u21AC\",\n    \"rarrpl;\": \"\\u2945\",\n    \"rarrsim;\": \"\\u2974\",\n    \"Rarrtl;\": \"\\u2916\",\n    \"rarrtl;\": \"\\u21A3\",\n    \"rarrw;\": \"\\u219D\",\n    \"rAtail;\": \"\\u291C\",\n    \"ratail;\": \"\\u291A\",\n    \"ratio;\": \"\\u2236\",\n    \"rationals;\": \"\\u211A\",\n    \"RBarr;\": \"\\u2910\",\n    \"rBarr;\": \"\\u290F\",\n    \"rbarr;\": \"\\u290D\",\n    \"rbbrk;\": \"\\u2773\",\n    \"rbrace;\": \"}\",\n    \"rbrack;\": \"]\",\n    \"rbrke;\": \"\\u298C\",\n    \"rbrksld;\": \"\\u298E\",\n    \"rbrkslu;\": \"\\u2990\",\n    \"Rcaron;\": \"\\u0158\",\n    \"rcaron;\": \"\\u0159\",\n    \"Rcedil;\": \"\\u0156\",\n    \"rcedil;\": \"\\u0157\",\n    \"rceil;\": \"\\u2309\",\n    \"rcub;\": \"}\",\n    \"Rcy;\": \"\\u0420\",\n    \"rcy;\": \"\\u0440\",\n    \"rdca;\": \"\\u2937\",\n    \"rdldhar;\": \"\\u2969\",\n    \"rdquo;\": \"\\u201D\",\n    \"rdquor;\": \"\\u201D\",\n    \"rdsh;\": \"\\u21B3\",\n    \"Re;\": \"\\u211C\",\n    \"real;\": \"\\u211C\",\n    \"realine;\": \"\\u211B\",\n    \"realpart;\": \"\\u211C\",\n    \"reals;\": \"\\u211D\",\n    \"rect;\": \"\\u25AD\",\n    \"REG;\": \"\\xAE\",\n    \"REG\": \"\\xAE\",\n    \"reg;\": \"\\xAE\",\n    \"reg\": \"\\xAE\",\n    \"ReverseElement;\": \"\\u220B\",\n    \"ReverseEquilibrium;\": \"\\u21CB\",\n    \"ReverseUpEquilibrium;\": \"\\u296F\",\n    \"rfisht;\": \"\\u297D\",\n    \"rfloor;\": \"\\u230B\",\n    \"Rfr;\": \"\\u211C\",\n    \"rfr;\": \"\\u{1D52F}\",\n    \"rHar;\": \"\\u2964\",\n    \"rhard;\": \"\\u21C1\",\n    \"rharu;\": \"\\u21C0\",\n    \"rharul;\": \"\\u296C\",\n    \"Rho;\": \"\\u03A1\",\n    \"rho;\": \"\\u03C1\",\n    \"rhov;\": \"\\u03F1\",\n    \"RightAngleBracket;\": \"\\u27E9\",\n    \"RightArrow;\": \"\\u2192\",\n    \"Rightarrow;\": \"\\u21D2\",\n    \"rightarrow;\": \"\\u2192\",\n    \"RightArrowBar;\": \"\\u21E5\",\n    \"RightArrowLeftArrow;\": \"\\u21C4\",\n    \"rightarrowtail;\": \"\\u21A3\",\n    \"RightCeiling;\": \"\\u2309\",\n    \"RightDoubleBracket;\": \"\\u27E7\",\n    \"RightDownTeeVector;\": \"\\u295D\",\n    \"RightDownVector;\": \"\\u21C2\",\n    \"RightDownVectorBar;\": \"\\u2955\",\n    \"RightFloor;\": \"\\u230B\",\n    \"rightharpoondown;\": \"\\u21C1\",\n    \"rightharpoonup;\": \"\\u21C0\",\n    \"rightleftarrows;\": \"\\u21C4\",\n    \"rightleftharpoons;\": \"\\u21CC\",\n    \"rightrightarrows;\": \"\\u21C9\",\n    \"rightsquigarrow;\": \"\\u219D\",\n    \"RightTee;\": \"\\u22A2\",\n    \"RightTeeArrow;\": \"\\u21A6\",\n    \"RightTeeVector;\": \"\\u295B\",\n    \"rightthreetimes;\": \"\\u22CC\",\n    \"RightTriangle;\": \"\\u22B3\",\n    \"RightTriangleBar;\": \"\\u29D0\",\n    \"RightTriangleEqual;\": \"\\u22B5\",\n    \"RightUpDownVector;\": \"\\u294F\",\n    \"RightUpTeeVector;\": \"\\u295C\",\n    \"RightUpVector;\": \"\\u21BE\",\n    \"RightUpVectorBar;\": \"\\u2954\",\n    \"RightVector;\": \"\\u21C0\",\n    \"RightVectorBar;\": \"\\u2953\",\n    \"ring;\": \"\\u02DA\",\n    \"risingdotseq;\": \"\\u2253\",\n    \"rlarr;\": \"\\u21C4\",\n    \"rlhar;\": \"\\u21CC\",\n    \"rlm;\": \"\\u200F\",\n    \"rmoust;\": \"\\u23B1\",\n    \"rmoustache;\": \"\\u23B1\",\n    \"rnmid;\": \"\\u2AEE\",\n    \"roang;\": \"\\u27ED\",\n    \"roarr;\": \"\\u21FE\",\n    \"robrk;\": \"\\u27E7\",\n    \"ropar;\": \"\\u2986\",\n    \"Ropf;\": \"\\u211D\",\n    \"ropf;\": \"\\u{1D563}\",\n    \"roplus;\": \"\\u2A2E\",\n    \"rotimes;\": \"\\u2A35\",\n    \"RoundImplies;\": \"\\u2970\",\n    \"rpar;\": \")\",\n    \"rpargt;\": \"\\u2994\",\n    \"rppolint;\": \"\\u2A12\",\n    \"rrarr;\": \"\\u21C9\",\n    \"Rrightarrow;\": \"\\u21DB\",\n    \"rsaquo;\": \"\\u203A\",\n    \"Rscr;\": \"\\u211B\",\n    \"rscr;\": \"\\u{1D4C7}\",\n    \"Rsh;\": \"\\u21B1\",\n    \"rsh;\": \"\\u21B1\",\n    \"rsqb;\": \"]\",\n    \"rsquo;\": \"\\u2019\",\n    \"rsquor;\": \"\\u2019\",\n    \"rthree;\": \"\\u22CC\",\n    \"rtimes;\": \"\\u22CA\",\n    \"rtri;\": \"\\u25B9\",\n    \"rtrie;\": \"\\u22B5\",\n    \"rtrif;\": \"\\u25B8\",\n    \"rtriltri;\": \"\\u29CE\",\n    \"RuleDelayed;\": \"\\u29F4\",\n    \"ruluhar;\": \"\\u2968\",\n    \"rx;\": \"\\u211E\",\n    \"Sacute;\": \"\\u015A\",\n    \"sacute;\": \"\\u015B\",\n    \"sbquo;\": \"\\u201A\",\n    \"Sc;\": \"\\u2ABC\",\n    \"sc;\": \"\\u227B\",\n    \"scap;\": \"\\u2AB8\",\n    \"Scaron;\": \"\\u0160\",\n    \"scaron;\": \"\\u0161\",\n    \"sccue;\": \"\\u227D\",\n    \"scE;\": \"\\u2AB4\",\n    \"sce;\": \"\\u2AB0\",\n    \"Scedil;\": \"\\u015E\",\n    \"scedil;\": \"\\u015F\",\n    \"Scirc;\": \"\\u015C\",\n    \"scirc;\": \"\\u015D\",\n    \"scnap;\": \"\\u2ABA\",\n    \"scnE;\": \"\\u2AB6\",\n    \"scnsim;\": \"\\u22E9\",\n    \"scpolint;\": \"\\u2A13\",\n    \"scsim;\": \"\\u227F\",\n    \"Scy;\": \"\\u0421\",\n    \"scy;\": \"\\u0441\",\n    \"sdot;\": \"\\u22C5\",\n    \"sdotb;\": \"\\u22A1\",\n    \"sdote;\": \"\\u2A66\",\n    \"searhk;\": \"\\u2925\",\n    \"seArr;\": \"\\u21D8\",\n    \"searr;\": \"\\u2198\",\n    \"searrow;\": \"\\u2198\",\n    \"sect;\": \"\\xA7\",\n    \"sect\": \"\\xA7\",\n    \"semi;\": \";\",\n    \"seswar;\": \"\\u2929\",\n    \"setminus;\": \"\\u2216\",\n    \"setmn;\": \"\\u2216\",\n    \"sext;\": \"\\u2736\",\n    \"Sfr;\": \"\\u{1D516}\",\n    \"sfr;\": \"\\u{1D530}\",\n    \"sfrown;\": \"\\u2322\",\n    \"sharp;\": \"\\u266F\",\n    \"SHCHcy;\": \"\\u0429\",\n    \"shchcy;\": \"\\u0449\",\n    \"SHcy;\": \"\\u0428\",\n    \"shcy;\": \"\\u0448\",\n    \"ShortDownArrow;\": \"\\u2193\",\n    \"ShortLeftArrow;\": \"\\u2190\",\n    \"shortmid;\": \"\\u2223\",\n    \"shortparallel;\": \"\\u2225\",\n    \"ShortRightArrow;\": \"\\u2192\",\n    \"ShortUpArrow;\": \"\\u2191\",\n    \"shy;\": \"\\xAD\",\n    \"shy\": \"\\xAD\",\n    \"Sigma;\": \"\\u03A3\",\n    \"sigma;\": \"\\u03C3\",\n    \"sigmaf;\": \"\\u03C2\",\n    \"sigmav;\": \"\\u03C2\",\n    \"sim;\": \"\\u223C\",\n    \"simdot;\": \"\\u2A6A\",\n    \"sime;\": \"\\u2243\",\n    \"simeq;\": \"\\u2243\",\n    \"simg;\": \"\\u2A9E\",\n    \"simgE;\": \"\\u2AA0\",\n    \"siml;\": \"\\u2A9D\",\n    \"simlE;\": \"\\u2A9F\",\n    \"simne;\": \"\\u2246\",\n    \"simplus;\": \"\\u2A24\",\n    \"simrarr;\": \"\\u2972\",\n    \"slarr;\": \"\\u2190\",\n    \"SmallCircle;\": \"\\u2218\",\n    \"smallsetminus;\": \"\\u2216\",\n    \"smashp;\": \"\\u2A33\",\n    \"smeparsl;\": \"\\u29E4\",\n    \"smid;\": \"\\u2223\",\n    \"smile;\": \"\\u2323\",\n    \"smt;\": \"\\u2AAA\",\n    \"smte;\": \"\\u2AAC\",\n    \"smtes;\": \"\\u2AAC\\uFE00\",\n    \"SOFTcy;\": \"\\u042C\",\n    \"softcy;\": \"\\u044C\",\n    \"sol;\": \"/\",\n    \"solb;\": \"\\u29C4\",\n    \"solbar;\": \"\\u233F\",\n    \"Sopf;\": \"\\u{1D54A}\",\n    \"sopf;\": \"\\u{1D564}\",\n    \"spades;\": \"\\u2660\",\n    \"spadesuit;\": \"\\u2660\",\n    \"spar;\": \"\\u2225\",\n    \"sqcap;\": \"\\u2293\",\n    \"sqcaps;\": \"\\u2293\\uFE00\",\n    \"sqcup;\": \"\\u2294\",\n    \"sqcups;\": \"\\u2294\\uFE00\",\n    \"Sqrt;\": \"\\u221A\",\n    \"sqsub;\": \"\\u228F\",\n    \"sqsube;\": \"\\u2291\",\n    \"sqsubset;\": \"\\u228F\",\n    \"sqsubseteq;\": \"\\u2291\",\n    \"sqsup;\": \"\\u2290\",\n    \"sqsupe;\": \"\\u2292\",\n    \"sqsupset;\": \"\\u2290\",\n    \"sqsupseteq;\": \"\\u2292\",\n    \"squ;\": \"\\u25A1\",\n    \"Square;\": \"\\u25A1\",\n    \"square;\": \"\\u25A1\",\n    \"SquareIntersection;\": \"\\u2293\",\n    \"SquareSubset;\": \"\\u228F\",\n    \"SquareSubsetEqual;\": \"\\u2291\",\n    \"SquareSuperset;\": \"\\u2290\",\n    \"SquareSupersetEqual;\": \"\\u2292\",\n    \"SquareUnion;\": \"\\u2294\",\n    \"squarf;\": \"\\u25AA\",\n    \"squf;\": \"\\u25AA\",\n    \"srarr;\": \"\\u2192\",\n    \"Sscr;\": \"\\u{1D4AE}\",\n    \"sscr;\": \"\\u{1D4C8}\",\n    \"ssetmn;\": \"\\u2216\",\n    \"ssmile;\": \"\\u2323\",\n    \"sstarf;\": \"\\u22C6\",\n    \"Star;\": \"\\u22C6\",\n    \"star;\": \"\\u2606\",\n    \"starf;\": \"\\u2605\",\n    \"straightepsilon;\": \"\\u03F5\",\n    \"straightphi;\": \"\\u03D5\",\n    \"strns;\": \"\\xAF\",\n    \"Sub;\": \"\\u22D0\",\n    \"sub;\": \"\\u2282\",\n    \"subdot;\": \"\\u2ABD\",\n    \"subE;\": \"\\u2AC5\",\n    \"sube;\": \"\\u2286\",\n    \"subedot;\": \"\\u2AC3\",\n    \"submult;\": \"\\u2AC1\",\n    \"subnE;\": \"\\u2ACB\",\n    \"subne;\": \"\\u228A\",\n    \"subplus;\": \"\\u2ABF\",\n    \"subrarr;\": \"\\u2979\",\n    \"Subset;\": \"\\u22D0\",\n    \"subset;\": \"\\u2282\",\n    \"subseteq;\": \"\\u2286\",\n    \"subseteqq;\": \"\\u2AC5\",\n    \"SubsetEqual;\": \"\\u2286\",\n    \"subsetneq;\": \"\\u228A\",\n    \"subsetneqq;\": \"\\u2ACB\",\n    \"subsim;\": \"\\u2AC7\",\n    \"subsub;\": \"\\u2AD5\",\n    \"subsup;\": \"\\u2AD3\",\n    \"succ;\": \"\\u227B\",\n    \"succapprox;\": \"\\u2AB8\",\n    \"succcurlyeq;\": \"\\u227D\",\n    \"Succeeds;\": \"\\u227B\",\n    \"SucceedsEqual;\": \"\\u2AB0\",\n    \"SucceedsSlantEqual;\": \"\\u227D\",\n    \"SucceedsTilde;\": \"\\u227F\",\n    \"succeq;\": \"\\u2AB0\",\n    \"succnapprox;\": \"\\u2ABA\",\n    \"succneqq;\": \"\\u2AB6\",\n    \"succnsim;\": \"\\u22E9\",\n    \"succsim;\": \"\\u227F\",\n    \"SuchThat;\": \"\\u220B\",\n    \"Sum;\": \"\\u2211\",\n    \"sum;\": \"\\u2211\",\n    \"sung;\": \"\\u266A\",\n    \"Sup;\": \"\\u22D1\",\n    \"sup;\": \"\\u2283\",\n    \"sup1;\": \"\\xB9\",\n    \"sup1\": \"\\xB9\",\n    \"sup2;\": \"\\xB2\",\n    \"sup2\": \"\\xB2\",\n    \"sup3;\": \"\\xB3\",\n    \"sup3\": \"\\xB3\",\n    \"supdot;\": \"\\u2ABE\",\n    \"supdsub;\": \"\\u2AD8\",\n    \"supE;\": \"\\u2AC6\",\n    \"supe;\": \"\\u2287\",\n    \"supedot;\": \"\\u2AC4\",\n    \"Superset;\": \"\\u2283\",\n    \"SupersetEqual;\": \"\\u2287\",\n    \"suphsol;\": \"\\u27C9\",\n    \"suphsub;\": \"\\u2AD7\",\n    \"suplarr;\": \"\\u297B\",\n    \"supmult;\": \"\\u2AC2\",\n    \"supnE;\": \"\\u2ACC\",\n    \"supne;\": \"\\u228B\",\n    \"supplus;\": \"\\u2AC0\",\n    \"Supset;\": \"\\u22D1\",\n    \"supset;\": \"\\u2283\",\n    \"supseteq;\": \"\\u2287\",\n    \"supseteqq;\": \"\\u2AC6\",\n    \"supsetneq;\": \"\\u228B\",\n    \"supsetneqq;\": \"\\u2ACC\",\n    \"supsim;\": \"\\u2AC8\",\n    \"supsub;\": \"\\u2AD4\",\n    \"supsup;\": \"\\u2AD6\",\n    \"swarhk;\": \"\\u2926\",\n    \"swArr;\": \"\\u21D9\",\n    \"swarr;\": \"\\u2199\",\n    \"swarrow;\": \"\\u2199\",\n    \"swnwar;\": \"\\u292A\",\n    \"szlig;\": \"\\xDF\",\n    \"szlig\": \"\\xDF\",\n    \"Tab;\": \"\t\",\n    \"target;\": \"\\u2316\",\n    \"Tau;\": \"\\u03A4\",\n    \"tau;\": \"\\u03C4\",\n    \"tbrk;\": \"\\u23B4\",\n    \"Tcaron;\": \"\\u0164\",\n    \"tcaron;\": \"\\u0165\",\n    \"Tcedil;\": \"\\u0162\",\n    \"tcedil;\": \"\\u0163\",\n    \"Tcy;\": \"\\u0422\",\n    \"tcy;\": \"\\u0442\",\n    \"tdot;\": \"\\u20DB\",\n    \"telrec;\": \"\\u2315\",\n    \"Tfr;\": \"\\u{1D517}\",\n    \"tfr;\": \"\\u{1D531}\",\n    \"there4;\": \"\\u2234\",\n    \"Therefore;\": \"\\u2234\",\n    \"therefore;\": \"\\u2234\",\n    \"Theta;\": \"\\u0398\",\n    \"theta;\": \"\\u03B8\",\n    \"thetasym;\": \"\\u03D1\",\n    \"thetav;\": \"\\u03D1\",\n    \"thickapprox;\": \"\\u2248\",\n    \"thicksim;\": \"\\u223C\",\n    \"ThickSpace;\": \"\\u205F\\u200A\",\n    \"thinsp;\": \"\\u2009\",\n    \"ThinSpace;\": \"\\u2009\",\n    \"thkap;\": \"\\u2248\",\n    \"thksim;\": \"\\u223C\",\n    \"THORN;\": \"\\xDE\",\n    \"THORN\": \"\\xDE\",\n    \"thorn;\": \"\\xFE\",\n    \"thorn\": \"\\xFE\",\n    \"Tilde;\": \"\\u223C\",\n    \"tilde;\": \"\\u02DC\",\n    \"TildeEqual;\": \"\\u2243\",\n    \"TildeFullEqual;\": \"\\u2245\",\n    \"TildeTilde;\": \"\\u2248\",\n    \"times;\": \"\\xD7\",\n    \"times\": \"\\xD7\",\n    \"timesb;\": \"\\u22A0\",\n    \"timesbar;\": \"\\u2A31\",\n    \"timesd;\": \"\\u2A30\",\n    \"tint;\": \"\\u222D\",\n    \"toea;\": \"\\u2928\",\n    \"top;\": \"\\u22A4\",\n    \"topbot;\": \"\\u2336\",\n    \"topcir;\": \"\\u2AF1\",\n    \"Topf;\": \"\\u{1D54B}\",\n    \"topf;\": \"\\u{1D565}\",\n    \"topfork;\": \"\\u2ADA\",\n    \"tosa;\": \"\\u2929\",\n    \"tprime;\": \"\\u2034\",\n    \"TRADE;\": \"\\u2122\",\n    \"trade;\": \"\\u2122\",\n    \"triangle;\": \"\\u25B5\",\n    \"triangledown;\": \"\\u25BF\",\n    \"triangleleft;\": \"\\u25C3\",\n    \"trianglelefteq;\": \"\\u22B4\",\n    \"triangleq;\": \"\\u225C\",\n    \"triangleright;\": \"\\u25B9\",\n    \"trianglerighteq;\": \"\\u22B5\",\n    \"tridot;\": \"\\u25EC\",\n    \"trie;\": \"\\u225C\",\n    \"triminus;\": \"\\u2A3A\",\n    \"TripleDot;\": \"\\u20DB\",\n    \"triplus;\": \"\\u2A39\",\n    \"trisb;\": \"\\u29CD\",\n    \"tritime;\": \"\\u2A3B\",\n    \"trpezium;\": \"\\u23E2\",\n    \"Tscr;\": \"\\u{1D4AF}\",\n    \"tscr;\": \"\\u{1D4C9}\",\n    \"TScy;\": \"\\u0426\",\n    \"tscy;\": \"\\u0446\",\n    \"TSHcy;\": \"\\u040B\",\n    \"tshcy;\": \"\\u045B\",\n    \"Tstrok;\": \"\\u0166\",\n    \"tstrok;\": \"\\u0167\",\n    \"twixt;\": \"\\u226C\",\n    \"twoheadleftarrow;\": \"\\u219E\",\n    \"twoheadrightarrow;\": \"\\u21A0\",\n    \"Uacute;\": \"\\xDA\",\n    \"Uacute\": \"\\xDA\",\n    \"uacute;\": \"\\xFA\",\n    \"uacute\": \"\\xFA\",\n    \"Uarr;\": \"\\u219F\",\n    \"uArr;\": \"\\u21D1\",\n    \"uarr;\": \"\\u2191\",\n    \"Uarrocir;\": \"\\u2949\",\n    \"Ubrcy;\": \"\\u040E\",\n    \"ubrcy;\": \"\\u045E\",\n    \"Ubreve;\": \"\\u016C\",\n    \"ubreve;\": \"\\u016D\",\n    \"Ucirc;\": \"\\xDB\",\n    \"Ucirc\": \"\\xDB\",\n    \"ucirc;\": \"\\xFB\",\n    \"ucirc\": \"\\xFB\",\n    \"Ucy;\": \"\\u0423\",\n    \"ucy;\": \"\\u0443\",\n    \"udarr;\": \"\\u21C5\",\n    \"Udblac;\": \"\\u0170\",\n    \"udblac;\": \"\\u0171\",\n    \"udhar;\": \"\\u296E\",\n    \"ufisht;\": \"\\u297E\",\n    \"Ufr;\": \"\\u{1D518}\",\n    \"ufr;\": \"\\u{1D532}\",\n    \"Ugrave;\": \"\\xD9\",\n    \"Ugrave\": \"\\xD9\",\n    \"ugrave;\": \"\\xF9\",\n    \"ugrave\": \"\\xF9\",\n    \"uHar;\": \"\\u2963\",\n    \"uharl;\": \"\\u21BF\",\n    \"uharr;\": \"\\u21BE\",\n    \"uhblk;\": \"\\u2580\",\n    \"ulcorn;\": \"\\u231C\",\n    \"ulcorner;\": \"\\u231C\",\n    \"ulcrop;\": \"\\u230F\",\n    \"ultri;\": \"\\u25F8\",\n    \"Umacr;\": \"\\u016A\",\n    \"umacr;\": \"\\u016B\",\n    \"uml;\": \"\\xA8\",\n    \"uml\": \"\\xA8\",\n    \"UnderBar;\": \"_\",\n    \"UnderBrace;\": \"\\u23DF\",\n    \"UnderBracket;\": \"\\u23B5\",\n    \"UnderParenthesis;\": \"\\u23DD\",\n    \"Union;\": \"\\u22C3\",\n    \"UnionPlus;\": \"\\u228E\",\n    \"Uogon;\": \"\\u0172\",\n    \"uogon;\": \"\\u0173\",\n    \"Uopf;\": \"\\u{1D54C}\",\n    \"uopf;\": \"\\u{1D566}\",\n    \"UpArrow;\": \"\\u2191\",\n    \"Uparrow;\": \"\\u21D1\",\n    \"uparrow;\": \"\\u2191\",\n    \"UpArrowBar;\": \"\\u2912\",\n    \"UpArrowDownArrow;\": \"\\u21C5\",\n    \"UpDownArrow;\": \"\\u2195\",\n    \"Updownarrow;\": \"\\u21D5\",\n    \"updownarrow;\": \"\\u2195\",\n    \"UpEquilibrium;\": \"\\u296E\",\n    \"upharpoonleft;\": \"\\u21BF\",\n    \"upharpoonright;\": \"\\u21BE\",\n    \"uplus;\": \"\\u228E\",\n    \"UpperLeftArrow;\": \"\\u2196\",\n    \"UpperRightArrow;\": \"\\u2197\",\n    \"Upsi;\": \"\\u03D2\",\n    \"upsi;\": \"\\u03C5\",\n    \"upsih;\": \"\\u03D2\",\n    \"Upsilon;\": \"\\u03A5\",\n    \"upsilon;\": \"\\u03C5\",\n    \"UpTee;\": \"\\u22A5\",\n    \"UpTeeArrow;\": \"\\u21A5\",\n    \"upuparrows;\": \"\\u21C8\",\n    \"urcorn;\": \"\\u231D\",\n    \"urcorner;\": \"\\u231D\",\n    \"urcrop;\": \"\\u230E\",\n    \"Uring;\": \"\\u016E\",\n    \"uring;\": \"\\u016F\",\n    \"urtri;\": \"\\u25F9\",\n    \"Uscr;\": \"\\u{1D4B0}\",\n    \"uscr;\": \"\\u{1D4CA}\",\n    \"utdot;\": \"\\u22F0\",\n    \"Utilde;\": \"\\u0168\",\n    \"utilde;\": \"\\u0169\",\n    \"utri;\": \"\\u25B5\",\n    \"utrif;\": \"\\u25B4\",\n    \"uuarr;\": \"\\u21C8\",\n    \"Uuml;\": \"\\xDC\",\n    \"Uuml\": \"\\xDC\",\n    \"uuml;\": \"\\xFC\",\n    \"uuml\": \"\\xFC\",\n    \"uwangle;\": \"\\u29A7\",\n    \"vangrt;\": \"\\u299C\",\n    \"varepsilon;\": \"\\u03F5\",\n    \"varkappa;\": \"\\u03F0\",\n    \"varnothing;\": \"\\u2205\",\n    \"varphi;\": \"\\u03D5\",\n    \"varpi;\": \"\\u03D6\",\n    \"varpropto;\": \"\\u221D\",\n    \"vArr;\": \"\\u21D5\",\n    \"varr;\": \"\\u2195\",\n    \"varrho;\": \"\\u03F1\",\n    \"varsigma;\": \"\\u03C2\",\n    \"varsubsetneq;\": \"\\u228A\\uFE00\",\n    \"varsubsetneqq;\": \"\\u2ACB\\uFE00\",\n    \"varsupsetneq;\": \"\\u228B\\uFE00\",\n    \"varsupsetneqq;\": \"\\u2ACC\\uFE00\",\n    \"vartheta;\": \"\\u03D1\",\n    \"vartriangleleft;\": \"\\u22B2\",\n    \"vartriangleright;\": \"\\u22B3\",\n    \"Vbar;\": \"\\u2AEB\",\n    \"vBar;\": \"\\u2AE8\",\n    \"vBarv;\": \"\\u2AE9\",\n    \"Vcy;\": \"\\u0412\",\n    \"vcy;\": \"\\u0432\",\n    \"VDash;\": \"\\u22AB\",\n    \"Vdash;\": \"\\u22A9\",\n    \"vDash;\": \"\\u22A8\",\n    \"vdash;\": \"\\u22A2\",\n    \"Vdashl;\": \"\\u2AE6\",\n    \"Vee;\": \"\\u22C1\",\n    \"vee;\": \"\\u2228\",\n    \"veebar;\": \"\\u22BB\",\n    \"veeeq;\": \"\\u225A\",\n    \"vellip;\": \"\\u22EE\",\n    \"Verbar;\": \"\\u2016\",\n    \"verbar;\": \"|\",\n    \"Vert;\": \"\\u2016\",\n    \"vert;\": \"|\",\n    \"VerticalBar;\": \"\\u2223\",\n    \"VerticalLine;\": \"|\",\n    \"VerticalSeparator;\": \"\\u2758\",\n    \"VerticalTilde;\": \"\\u2240\",\n    \"VeryThinSpace;\": \"\\u200A\",\n    \"Vfr;\": \"\\u{1D519}\",\n    \"vfr;\": \"\\u{1D533}\",\n    \"vltri;\": \"\\u22B2\",\n    \"vnsub;\": \"\\u2282\\u20D2\",\n    \"vnsup;\": \"\\u2283\\u20D2\",\n    \"Vopf;\": \"\\u{1D54D}\",\n    \"vopf;\": \"\\u{1D567}\",\n    \"vprop;\": \"\\u221D\",\n    \"vrtri;\": \"\\u22B3\",\n    \"Vscr;\": \"\\u{1D4B1}\",\n    \"vscr;\": \"\\u{1D4CB}\",\n    \"vsubnE;\": \"\\u2ACB\\uFE00\",\n    \"vsubne;\": \"\\u228A\\uFE00\",\n    \"vsupnE;\": \"\\u2ACC\\uFE00\",\n    \"vsupne;\": \"\\u228B\\uFE00\",\n    \"Vvdash;\": \"\\u22AA\",\n    \"vzigzag;\": \"\\u299A\",\n    \"Wcirc;\": \"\\u0174\",\n    \"wcirc;\": \"\\u0175\",\n    \"wedbar;\": \"\\u2A5F\",\n    \"Wedge;\": \"\\u22C0\",\n    \"wedge;\": \"\\u2227\",\n    \"wedgeq;\": \"\\u2259\",\n    \"weierp;\": \"\\u2118\",\n    \"Wfr;\": \"\\u{1D51A}\",\n    \"wfr;\": \"\\u{1D534}\",\n    \"Wopf;\": \"\\u{1D54E}\",\n    \"wopf;\": \"\\u{1D568}\",\n    \"wp;\": \"\\u2118\",\n    \"wr;\": \"\\u2240\",\n    \"wreath;\": \"\\u2240\",\n    \"Wscr;\": \"\\u{1D4B2}\",\n    \"wscr;\": \"\\u{1D4CC}\",\n    \"xcap;\": \"\\u22C2\",\n    \"xcirc;\": \"\\u25EF\",\n    \"xcup;\": \"\\u22C3\",\n    \"xdtri;\": \"\\u25BD\",\n    \"Xfr;\": \"\\u{1D51B}\",\n    \"xfr;\": \"\\u{1D535}\",\n    \"xhArr;\": \"\\u27FA\",\n    \"xharr;\": \"\\u27F7\",\n    \"Xi;\": \"\\u039E\",\n    \"xi;\": \"\\u03BE\",\n    \"xlArr;\": \"\\u27F8\",\n    \"xlarr;\": \"\\u27F5\",\n    \"xmap;\": \"\\u27FC\",\n    \"xnis;\": \"\\u22FB\",\n    \"xodot;\": \"\\u2A00\",\n    \"Xopf;\": \"\\u{1D54F}\",\n    \"xopf;\": \"\\u{1D569}\",\n    \"xoplus;\": \"\\u2A01\",\n    \"xotime;\": \"\\u2A02\",\n    \"xrArr;\": \"\\u27F9\",\n    \"xrarr;\": \"\\u27F6\",\n    \"Xscr;\": \"\\u{1D4B3}\",\n    \"xscr;\": \"\\u{1D4CD}\",\n    \"xsqcup;\": \"\\u2A06\",\n    \"xuplus;\": \"\\u2A04\",\n    \"xutri;\": \"\\u25B3\",\n    \"xvee;\": \"\\u22C1\",\n    \"xwedge;\": \"\\u22C0\",\n    \"Yacute;\": \"\\xDD\",\n    \"Yacute\": \"\\xDD\",\n    \"yacute;\": \"\\xFD\",\n    \"yacute\": \"\\xFD\",\n    \"YAcy;\": \"\\u042F\",\n    \"yacy;\": \"\\u044F\",\n    \"Ycirc;\": \"\\u0176\",\n    \"ycirc;\": \"\\u0177\",\n    \"Ycy;\": \"\\u042B\",\n    \"ycy;\": \"\\u044B\",\n    \"yen;\": \"\\xA5\",\n    \"yen\": \"\\xA5\",\n    \"Yfr;\": \"\\u{1D51C}\",\n    \"yfr;\": \"\\u{1D536}\",\n    \"YIcy;\": \"\\u0407\",\n    \"yicy;\": \"\\u0457\",\n    \"Yopf;\": \"\\u{1D550}\",\n    \"yopf;\": \"\\u{1D56A}\",\n    \"Yscr;\": \"\\u{1D4B4}\",\n    \"yscr;\": \"\\u{1D4CE}\",\n    \"YUcy;\": \"\\u042E\",\n    \"yucy;\": \"\\u044E\",\n    \"Yuml;\": \"\\u0178\",\n    \"yuml;\": \"\\xFF\",\n    \"yuml\": \"\\xFF\",\n    \"Zacute;\": \"\\u0179\",\n    \"zacute;\": \"\\u017A\",\n    \"Zcaron;\": \"\\u017D\",\n    \"zcaron;\": \"\\u017E\",\n    \"Zcy;\": \"\\u0417\",\n    \"zcy;\": \"\\u0437\",\n    \"Zdot;\": \"\\u017B\",\n    \"zdot;\": \"\\u017C\",\n    \"zeetrf;\": \"\\u2128\",\n    \"ZeroWidthSpace;\": \"\\u200B\",\n    \"Zeta;\": \"\\u0396\",\n    \"zeta;\": \"\\u03B6\",\n    \"Zfr;\": \"\\u2128\",\n    \"zfr;\": \"\\u{1D537}\",\n    \"ZHcy;\": \"\\u0416\",\n    \"zhcy;\": \"\\u0436\",\n    \"zigrarr;\": \"\\u21DD\",\n    \"Zopf;\": \"\\u2124\",\n    \"zopf;\": \"\\u{1D56B}\",\n    \"Zscr;\": \"\\u{1D4B5}\",\n    \"zscr;\": \"\\u{1D4CF}\",\n    \"zwj;\": \"\\u200D\",\n    \"zwnj;\": \"\\u200C\"\n  };\n  function startsWith(haystack, needle) {\n    if (haystack.length < needle.length) {\n      return false;\n    }\n    for (var i = 0; i < needle.length; i++) {\n      if (haystack[i] !== needle[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function endsWith(haystack, needle) {\n    var diff = haystack.length - needle.length;\n    if (diff > 0) {\n      return haystack.lastIndexOf(needle) === diff;\n    } else if (diff === 0) {\n      return haystack === needle;\n    } else {\n      return false;\n    }\n  }\n  function repeat(value, count) {\n    var s = \"\";\n    while (count > 0) {\n      if ((count & 1) === 1) {\n        s += value;\n      }\n      value += value;\n      count = count >>> 1;\n    }\n    return s;\n  }\n  var _a4 = \"a\".charCodeAt(0);\n  var _z = \"z\".charCodeAt(0);\n  var _A = \"A\".charCodeAt(0);\n  var _Z = \"Z\".charCodeAt(0);\n  var _0 = \"0\".charCodeAt(0);\n  var _9 = \"9\".charCodeAt(0);\n  function isLetterOrDigit(text, index) {\n    var c = text.charCodeAt(index);\n    return _a4 <= c && c <= _z || _A <= c && c <= _Z || _0 <= c && c <= _9;\n  }\n  function isDefined(obj) {\n    return typeof obj !== \"undefined\";\n  }\n  function normalizeMarkupContent(input) {\n    if (!input) {\n      return void 0;\n    }\n    if (typeof input === \"string\") {\n      return {\n        kind: \"markdown\",\n        value: input\n      };\n    }\n    return {\n      kind: \"markdown\",\n      value: input.value\n    };\n  }\n  var HTMLDataProvider = (\n    /** @class */\n    function() {\n      function HTMLDataProvider2(id, customData) {\n        var _this = this;\n        this.id = id;\n        this._tags = [];\n        this._tagMap = {};\n        this._valueSetMap = {};\n        this._tags = customData.tags || [];\n        this._globalAttributes = customData.globalAttributes || [];\n        this._tags.forEach(function(t) {\n          _this._tagMap[t.name.toLowerCase()] = t;\n        });\n        if (customData.valueSets) {\n          customData.valueSets.forEach(function(vs) {\n            _this._valueSetMap[vs.name] = vs.values;\n          });\n        }\n      }\n      HTMLDataProvider2.prototype.isApplicable = function() {\n        return true;\n      };\n      HTMLDataProvider2.prototype.getId = function() {\n        return this.id;\n      };\n      HTMLDataProvider2.prototype.provideTags = function() {\n        return this._tags;\n      };\n      HTMLDataProvider2.prototype.provideAttributes = function(tag) {\n        var attributes = [];\n        var processAttribute = function(a) {\n          attributes.push(a);\n        };\n        var tagEntry = this._tagMap[tag.toLowerCase()];\n        if (tagEntry) {\n          tagEntry.attributes.forEach(processAttribute);\n        }\n        this._globalAttributes.forEach(processAttribute);\n        return attributes;\n      };\n      HTMLDataProvider2.prototype.provideValues = function(tag, attribute) {\n        var _this = this;\n        var values = [];\n        attribute = attribute.toLowerCase();\n        var processAttributes = function(attributes) {\n          attributes.forEach(function(a) {\n            if (a.name.toLowerCase() === attribute) {\n              if (a.values) {\n                a.values.forEach(function(v) {\n                  values.push(v);\n                });\n              }\n              if (a.valueSet) {\n                if (_this._valueSetMap[a.valueSet]) {\n                  _this._valueSetMap[a.valueSet].forEach(function(v) {\n                    values.push(v);\n                  });\n                }\n              }\n            }\n          });\n        };\n        var tagEntry = this._tagMap[tag.toLowerCase()];\n        if (tagEntry) {\n          processAttributes(tagEntry.attributes);\n        }\n        processAttributes(this._globalAttributes);\n        return values;\n      };\n      return HTMLDataProvider2;\n    }()\n  );\n  function generateDocumentation(item, settings, doesSupportMarkdown) {\n    if (settings === void 0) {\n      settings = {};\n    }\n    var result = {\n      kind: doesSupportMarkdown ? \"markdown\" : \"plaintext\",\n      value: \"\"\n    };\n    if (item.description && settings.documentation !== false) {\n      var normalizedDescription = normalizeMarkupContent(item.description);\n      if (normalizedDescription) {\n        result.value += normalizedDescription.value;\n      }\n    }\n    if (item.references && item.references.length > 0 && settings.references !== false) {\n      if (result.value.length) {\n        result.value += \"\\n\\n\";\n      }\n      if (doesSupportMarkdown) {\n        result.value += item.references.map(function(r) {\n          return \"[\".concat(r.name, \"](\").concat(r.url, \")\");\n        }).join(\" | \");\n      } else {\n        result.value += item.references.map(function(r) {\n          return \"\".concat(r.name, \": \").concat(r.url);\n        }).join(\"\\n\");\n      }\n    }\n    if (result.value === \"\") {\n      return void 0;\n    }\n    return result;\n  }\n  var __awaiter = function(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function(resolve2) {\n        resolve2(value);\n      });\n    }\n    return new (P || (P = Promise))(function(resolve2, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  };\n  var __generator = function(thisArg, body) {\n    var _ = { label: 0, sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n      return this;\n    }), g;\n    function verb(n) {\n      return function(v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f)\n        throw new TypeError(\"Generator is already executing.\");\n      while (_)\n        try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n            return t;\n          if (y = 0, t)\n            op = [op[0] & 2, t.value];\n          switch (op[0]) {\n            case 0:\n            case 1:\n              t = op;\n              break;\n            case 4:\n              _.label++;\n              return { value: op[1], done: false };\n            case 5:\n              _.label++;\n              y = op[1];\n              op = [0];\n              continue;\n            case 7:\n              op = _.ops.pop();\n              _.trys.pop();\n              continue;\n            default:\n              if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                _ = 0;\n                continue;\n              }\n              if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                _.label = op[1];\n                break;\n              }\n              if (op[0] === 6 && _.label < t[1]) {\n                _.label = t[1];\n                t = op;\n                break;\n              }\n              if (t && _.label < t[2]) {\n                _.label = t[2];\n                _.ops.push(op);\n                break;\n              }\n              if (t[2])\n                _.ops.pop();\n              _.trys.pop();\n              continue;\n          }\n          op = body.call(thisArg, _);\n        } catch (e) {\n          op = [6, e];\n          y = 0;\n        } finally {\n          f = t = 0;\n        }\n      if (op[0] & 5)\n        throw op[1];\n      return { value: op[0] ? op[1] : void 0, done: true };\n    }\n  };\n  var PathCompletionParticipant = (\n    /** @class */\n    function() {\n      function PathCompletionParticipant2(readDirectory) {\n        this.readDirectory = readDirectory;\n        this.atributeCompletions = [];\n      }\n      PathCompletionParticipant2.prototype.onHtmlAttributeValue = function(context) {\n        if (isPathAttribute(context.tag, context.attribute)) {\n          this.atributeCompletions.push(context);\n        }\n      };\n      PathCompletionParticipant2.prototype.computeCompletions = function(document2, documentContext) {\n        return __awaiter(this, void 0, void 0, function() {\n          var result, _i, _a22, attributeCompletion, fullValue, replaceRange, suggestions, _b3, suggestions_1, item;\n          return __generator(this, function(_c) {\n            switch (_c.label) {\n              case 0:\n                result = { items: [], isIncomplete: false };\n                _i = 0, _a22 = this.atributeCompletions;\n                _c.label = 1;\n              case 1:\n                if (!(_i < _a22.length))\n                  return [3, 5];\n                attributeCompletion = _a22[_i];\n                fullValue = stripQuotes(document2.getText(attributeCompletion.range));\n                if (!isCompletablePath(fullValue))\n                  return [3, 4];\n                if (!(fullValue === \".\" || fullValue === \"..\"))\n                  return [3, 2];\n                result.isIncomplete = true;\n                return [3, 4];\n              case 2:\n                replaceRange = pathToReplaceRange(attributeCompletion.value, fullValue, attributeCompletion.range);\n                return [4, this.providePathSuggestions(attributeCompletion.value, replaceRange, document2, documentContext)];\n              case 3:\n                suggestions = _c.sent();\n                for (_b3 = 0, suggestions_1 = suggestions; _b3 < suggestions_1.length; _b3++) {\n                  item = suggestions_1[_b3];\n                  result.items.push(item);\n                }\n                _c.label = 4;\n              case 4:\n                _i++;\n                return [3, 1];\n              case 5:\n                return [2, result];\n            }\n          });\n        });\n      };\n      PathCompletionParticipant2.prototype.providePathSuggestions = function(valueBeforeCursor, replaceRange, document2, documentContext) {\n        return __awaiter(this, void 0, void 0, function() {\n          var valueBeforeLastSlash, parentDir, result, infos, _i, infos_1, _a22, name, type, e_1;\n          return __generator(this, function(_b3) {\n            switch (_b3.label) {\n              case 0:\n                valueBeforeLastSlash = valueBeforeCursor.substring(0, valueBeforeCursor.lastIndexOf(\"/\") + 1);\n                parentDir = documentContext.resolveReference(valueBeforeLastSlash || \".\", document2.uri);\n                if (!parentDir)\n                  return [3, 4];\n                _b3.label = 1;\n              case 1:\n                _b3.trys.push([1, 3, , 4]);\n                result = [];\n                return [4, this.readDirectory(parentDir)];\n              case 2:\n                infos = _b3.sent();\n                for (_i = 0, infos_1 = infos; _i < infos_1.length; _i++) {\n                  _a22 = infos_1[_i], name = _a22[0], type = _a22[1];\n                  if (name.charCodeAt(0) !== CharCode_dot) {\n                    result.push(createCompletionItem(name, type === FileType.Directory, replaceRange));\n                  }\n                }\n                return [2, result];\n              case 3:\n                e_1 = _b3.sent();\n                return [3, 4];\n              case 4:\n                return [2, []];\n            }\n          });\n        });\n      };\n      return PathCompletionParticipant2;\n    }()\n  );\n  var CharCode_dot = \".\".charCodeAt(0);\n  function stripQuotes(fullValue) {\n    if (startsWith(fullValue, \"'\") || startsWith(fullValue, '\"')) {\n      return fullValue.slice(1, -1);\n    } else {\n      return fullValue;\n    }\n  }\n  function isCompletablePath(value) {\n    if (startsWith(value, \"http\") || startsWith(value, \"https\") || startsWith(value, \"//\")) {\n      return false;\n    }\n    return true;\n  }\n  function isPathAttribute(tag, attr) {\n    if (attr === \"src\" || attr === \"href\") {\n      return true;\n    }\n    var a = PATH_TAG_AND_ATTR[tag];\n    if (a) {\n      if (typeof a === \"string\") {\n        return a === attr;\n      } else {\n        return a.indexOf(attr) !== -1;\n      }\n    }\n    return false;\n  }\n  function pathToReplaceRange(valueBeforeCursor, fullValue, range) {\n    var replaceRange;\n    var lastIndexOfSlash = valueBeforeCursor.lastIndexOf(\"/\");\n    if (lastIndexOfSlash === -1) {\n      replaceRange = shiftRange(range, 1, -1);\n    } else {\n      var valueAfterLastSlash = fullValue.slice(lastIndexOfSlash + 1);\n      var startPos = shiftPosition(range.end, -1 - valueAfterLastSlash.length);\n      var whitespaceIndex = valueAfterLastSlash.indexOf(\" \");\n      var endPos = void 0;\n      if (whitespaceIndex !== -1) {\n        endPos = shiftPosition(startPos, whitespaceIndex);\n      } else {\n        endPos = shiftPosition(range.end, -1);\n      }\n      replaceRange = Range2.create(startPos, endPos);\n    }\n    return replaceRange;\n  }\n  function createCompletionItem(p, isDir, replaceRange) {\n    if (isDir) {\n      p = p + \"/\";\n      return {\n        label: p,\n        kind: CompletionItemKind2.Folder,\n        textEdit: TextEdit.replace(replaceRange, p),\n        command: {\n          title: \"Suggest\",\n          command: \"editor.action.triggerSuggest\"\n        }\n      };\n    } else {\n      return {\n        label: p,\n        kind: CompletionItemKind2.File,\n        textEdit: TextEdit.replace(replaceRange, p)\n      };\n    }\n  }\n  function shiftPosition(pos, offset) {\n    return Position2.create(pos.line, pos.character + offset);\n  }\n  function shiftRange(range, startOffset, endOffset) {\n    var start = shiftPosition(range.start, startOffset);\n    var end = shiftPosition(range.end, endOffset);\n    return Range2.create(start, end);\n  }\n  var PATH_TAG_AND_ATTR = {\n    // HTML 4\n    a: \"href\",\n    area: \"href\",\n    body: \"background\",\n    del: \"cite\",\n    form: \"action\",\n    frame: [\"src\", \"longdesc\"],\n    img: [\"src\", \"longdesc\"],\n    ins: \"cite\",\n    link: \"href\",\n    object: \"data\",\n    q: \"cite\",\n    script: \"src\",\n    // HTML 5\n    audio: \"src\",\n    button: \"formaction\",\n    command: \"icon\",\n    embed: \"src\",\n    html: \"manifest\",\n    input: [\"src\", \"formaction\"],\n    source: \"src\",\n    track: \"src\",\n    video: [\"src\", \"poster\"]\n  };\n  var __awaiter2 = function(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function(resolve2) {\n        resolve2(value);\n      });\n    }\n    return new (P || (P = Promise))(function(resolve2, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  };\n  var __generator2 = function(thisArg, body) {\n    var _ = { label: 0, sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n      return this;\n    }), g;\n    function verb(n) {\n      return function(v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f)\n        throw new TypeError(\"Generator is already executing.\");\n      while (_)\n        try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n            return t;\n          if (y = 0, t)\n            op = [op[0] & 2, t.value];\n          switch (op[0]) {\n            case 0:\n            case 1:\n              t = op;\n              break;\n            case 4:\n              _.label++;\n              return { value: op[1], done: false };\n            case 5:\n              _.label++;\n              y = op[1];\n              op = [0];\n              continue;\n            case 7:\n              op = _.ops.pop();\n              _.trys.pop();\n              continue;\n            default:\n              if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                _ = 0;\n                continue;\n              }\n              if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                _.label = op[1];\n                break;\n              }\n              if (op[0] === 6 && _.label < t[1]) {\n                _.label = t[1];\n                t = op;\n                break;\n              }\n              if (t && _.label < t[2]) {\n                _.label = t[2];\n                _.ops.push(op);\n                break;\n              }\n              if (t[2])\n                _.ops.pop();\n              _.trys.pop();\n              continue;\n          }\n          op = body.call(thisArg, _);\n        } catch (e) {\n          op = [6, e];\n          y = 0;\n        } finally {\n          f = t = 0;\n        }\n      if (op[0] & 5)\n        throw op[1];\n      return { value: op[0] ? op[1] : void 0, done: true };\n    }\n  };\n  var localize3 = loadMessageBundle();\n  var HTMLCompletion = (\n    /** @class */\n    function() {\n      function HTMLCompletion2(lsOptions, dataManager) {\n        this.lsOptions = lsOptions;\n        this.dataManager = dataManager;\n        this.completionParticipants = [];\n      }\n      HTMLCompletion2.prototype.setCompletionParticipants = function(registeredCompletionParticipants) {\n        this.completionParticipants = registeredCompletionParticipants || [];\n      };\n      HTMLCompletion2.prototype.doComplete2 = function(document2, position, htmlDocument, documentContext, settings) {\n        return __awaiter2(this, void 0, void 0, function() {\n          var participant, contributedParticipants, result, pathCompletionResult;\n          return __generator2(this, function(_a22) {\n            switch (_a22.label) {\n              case 0:\n                if (!this.lsOptions.fileSystemProvider || !this.lsOptions.fileSystemProvider.readDirectory) {\n                  return [2, this.doComplete(document2, position, htmlDocument, settings)];\n                }\n                participant = new PathCompletionParticipant(this.lsOptions.fileSystemProvider.readDirectory);\n                contributedParticipants = this.completionParticipants;\n                this.completionParticipants = [participant].concat(contributedParticipants);\n                result = this.doComplete(document2, position, htmlDocument, settings);\n                _a22.label = 1;\n              case 1:\n                _a22.trys.push([1, , 3, 4]);\n                return [4, participant.computeCompletions(document2, documentContext)];\n              case 2:\n                pathCompletionResult = _a22.sent();\n                return [2, {\n                  isIncomplete: result.isIncomplete || pathCompletionResult.isIncomplete,\n                  items: pathCompletionResult.items.concat(result.items)\n                }];\n              case 3:\n                this.completionParticipants = contributedParticipants;\n                return [\n                  7\n                  /*endfinally*/\n                ];\n              case 4:\n                return [\n                  2\n                  /*return*/\n                ];\n            }\n          });\n        });\n      };\n      HTMLCompletion2.prototype.doComplete = function(document2, position, htmlDocument, settings) {\n        var result = this._doComplete(document2, position, htmlDocument, settings);\n        return this.convertCompletionList(result);\n      };\n      HTMLCompletion2.prototype._doComplete = function(document2, position, htmlDocument, settings) {\n        var result = {\n          isIncomplete: false,\n          items: []\n        };\n        var completionParticipants = this.completionParticipants;\n        var dataProviders = this.dataManager.getDataProviders().filter(function(p) {\n          return p.isApplicable(document2.languageId) && (!settings || settings[p.getId()] !== false);\n        });\n        var doesSupportMarkdown = this.doesSupportMarkdown();\n        var text = document2.getText();\n        var offset = document2.offsetAt(position);\n        var node = htmlDocument.findNodeBefore(offset);\n        if (!node) {\n          return result;\n        }\n        var scanner = createScanner(text, node.start);\n        var currentTag = \"\";\n        var currentAttributeName;\n        function getReplaceRange(replaceStart, replaceEnd) {\n          if (replaceEnd === void 0) {\n            replaceEnd = offset;\n          }\n          if (replaceStart > offset) {\n            replaceStart = offset;\n          }\n          return { start: document2.positionAt(replaceStart), end: document2.positionAt(replaceEnd) };\n        }\n        function collectOpenTagSuggestions(afterOpenBracket2, tagNameEnd) {\n          var range = getReplaceRange(afterOpenBracket2, tagNameEnd);\n          dataProviders.forEach(function(provider) {\n            provider.provideTags().forEach(function(tag) {\n              result.items.push({\n                label: tag.name,\n                kind: CompletionItemKind2.Property,\n                documentation: generateDocumentation(tag, void 0, doesSupportMarkdown),\n                textEdit: TextEdit.replace(range, tag.name),\n                insertTextFormat: InsertTextFormat.PlainText\n              });\n            });\n          });\n          return result;\n        }\n        function getLineIndent(offset2) {\n          var start2 = offset2;\n          while (start2 > 0) {\n            var ch2 = text.charAt(start2 - 1);\n            if (\"\\n\\r\".indexOf(ch2) >= 0) {\n              return text.substring(start2, offset2);\n            }\n            if (!isWhiteSpace(ch2)) {\n              return null;\n            }\n            start2--;\n          }\n          return text.substring(0, offset2);\n        }\n        function collectCloseTagSuggestions(afterOpenBracket2, inOpenTag, tagNameEnd) {\n          if (tagNameEnd === void 0) {\n            tagNameEnd = offset;\n          }\n          var range = getReplaceRange(afterOpenBracket2, tagNameEnd);\n          var closeTag = isFollowedBy(text, tagNameEnd, ScannerState.WithinEndTag, TokenType.EndTagClose) ? \"\" : \">\";\n          var curr = node;\n          if (inOpenTag) {\n            curr = curr.parent;\n          }\n          while (curr) {\n            var tag = curr.tag;\n            if (tag && (!curr.closed || curr.endTagStart && curr.endTagStart > offset)) {\n              var item = {\n                label: \"/\" + tag,\n                kind: CompletionItemKind2.Property,\n                filterText: \"/\" + tag,\n                textEdit: TextEdit.replace(range, \"/\" + tag + closeTag),\n                insertTextFormat: InsertTextFormat.PlainText\n              };\n              var startIndent = getLineIndent(curr.start);\n              var endIndent = getLineIndent(afterOpenBracket2 - 1);\n              if (startIndent !== null && endIndent !== null && startIndent !== endIndent) {\n                var insertText = startIndent + \"</\" + tag + closeTag;\n                item.textEdit = TextEdit.replace(getReplaceRange(afterOpenBracket2 - 1 - endIndent.length), insertText);\n                item.filterText = endIndent + \"</\" + tag;\n              }\n              result.items.push(item);\n              return result;\n            }\n            curr = curr.parent;\n          }\n          if (inOpenTag) {\n            return result;\n          }\n          dataProviders.forEach(function(provider) {\n            provider.provideTags().forEach(function(tag2) {\n              result.items.push({\n                label: \"/\" + tag2.name,\n                kind: CompletionItemKind2.Property,\n                documentation: generateDocumentation(tag2, void 0, doesSupportMarkdown),\n                filterText: \"/\" + tag2.name + closeTag,\n                textEdit: TextEdit.replace(range, \"/\" + tag2.name + closeTag),\n                insertTextFormat: InsertTextFormat.PlainText\n              });\n            });\n          });\n          return result;\n        }\n        function collectAutoCloseTagSuggestion(tagCloseEnd, tag) {\n          if (settings && settings.hideAutoCompleteProposals) {\n            return result;\n          }\n          if (!isVoidElement(tag)) {\n            var pos = document2.positionAt(tagCloseEnd);\n            result.items.push({\n              label: \"</\" + tag + \">\",\n              kind: CompletionItemKind2.Property,\n              filterText: \"</\" + tag + \">\",\n              textEdit: TextEdit.insert(pos, \"$0</\" + tag + \">\"),\n              insertTextFormat: InsertTextFormat.Snippet\n            });\n          }\n          return result;\n        }\n        function collectTagSuggestions(tagStart, tagEnd) {\n          collectOpenTagSuggestions(tagStart, tagEnd);\n          collectCloseTagSuggestions(tagStart, true, tagEnd);\n          return result;\n        }\n        function getExistingAttributes() {\n          var existingAttributes = /* @__PURE__ */ Object.create(null);\n          node.attributeNames.forEach(function(attribute) {\n            existingAttributes[attribute] = true;\n          });\n          return existingAttributes;\n        }\n        function collectAttributeNameSuggestions(nameStart, nameEnd) {\n          var _a22;\n          if (nameEnd === void 0) {\n            nameEnd = offset;\n          }\n          var replaceEnd = offset;\n          while (replaceEnd < nameEnd && text[replaceEnd] !== \"<\") {\n            replaceEnd++;\n          }\n          var currentAttribute = text.substring(nameStart, nameEnd);\n          var range = getReplaceRange(nameStart, replaceEnd);\n          var value = \"\";\n          if (!isFollowedBy(text, nameEnd, ScannerState.AfterAttributeName, TokenType.DelimiterAssign)) {\n            var defaultValue = (_a22 = settings === null || settings === void 0 ? void 0 : settings.attributeDefaultValue) !== null && _a22 !== void 0 ? _a22 : \"doublequotes\";\n            if (defaultValue === \"empty\") {\n              value = \"=$1\";\n            } else if (defaultValue === \"singlequotes\") {\n              value = \"='$1'\";\n            } else {\n              value = '=\"$1\"';\n            }\n          }\n          var seenAttributes = getExistingAttributes();\n          seenAttributes[currentAttribute] = false;\n          dataProviders.forEach(function(provider) {\n            provider.provideAttributes(currentTag).forEach(function(attr) {\n              if (seenAttributes[attr.name]) {\n                return;\n              }\n              seenAttributes[attr.name] = true;\n              var codeSnippet = attr.name;\n              var command;\n              if (attr.valueSet !== \"v\" && value.length) {\n                codeSnippet = codeSnippet + value;\n                if (attr.valueSet || attr.name === \"style\") {\n                  command = {\n                    title: \"Suggest\",\n                    command: \"editor.action.triggerSuggest\"\n                  };\n                }\n              }\n              result.items.push({\n                label: attr.name,\n                kind: attr.valueSet === \"handler\" ? CompletionItemKind2.Function : CompletionItemKind2.Value,\n                documentation: generateDocumentation(attr, void 0, doesSupportMarkdown),\n                textEdit: TextEdit.replace(range, codeSnippet),\n                insertTextFormat: InsertTextFormat.Snippet,\n                command\n              });\n            });\n          });\n          collectDataAttributesSuggestions(range, seenAttributes);\n          return result;\n        }\n        function collectDataAttributesSuggestions(range, seenAttributes) {\n          var dataAttr = \"data-\";\n          var dataAttributes = {};\n          dataAttributes[dataAttr] = \"\".concat(dataAttr, '$1=\"$2\"');\n          function addNodeDataAttributes(node2) {\n            node2.attributeNames.forEach(function(attr) {\n              if (startsWith(attr, dataAttr) && !dataAttributes[attr] && !seenAttributes[attr]) {\n                dataAttributes[attr] = attr + '=\"$1\"';\n              }\n            });\n            node2.children.forEach(function(child) {\n              return addNodeDataAttributes(child);\n            });\n          }\n          if (htmlDocument) {\n            htmlDocument.roots.forEach(function(root) {\n              return addNodeDataAttributes(root);\n            });\n          }\n          Object.keys(dataAttributes).forEach(function(attr) {\n            return result.items.push({\n              label: attr,\n              kind: CompletionItemKind2.Value,\n              textEdit: TextEdit.replace(range, dataAttributes[attr]),\n              insertTextFormat: InsertTextFormat.Snippet\n            });\n          });\n        }\n        function collectAttributeValueSuggestions(valueStart, valueEnd) {\n          if (valueEnd === void 0) {\n            valueEnd = offset;\n          }\n          var range;\n          var addQuotes;\n          var valuePrefix;\n          if (offset > valueStart && offset <= valueEnd && isQuote(text[valueStart])) {\n            var valueContentStart = valueStart + 1;\n            var valueContentEnd = valueEnd;\n            if (valueEnd > valueStart && text[valueEnd - 1] === text[valueStart]) {\n              valueContentEnd--;\n            }\n            var wsBefore = getWordStart(text, offset, valueContentStart);\n            var wsAfter = getWordEnd(text, offset, valueContentEnd);\n            range = getReplaceRange(wsBefore, wsAfter);\n            valuePrefix = offset >= valueContentStart && offset <= valueContentEnd ? text.substring(valueContentStart, offset) : \"\";\n            addQuotes = false;\n          } else {\n            range = getReplaceRange(valueStart, valueEnd);\n            valuePrefix = text.substring(valueStart, offset);\n            addQuotes = true;\n          }\n          if (completionParticipants.length > 0) {\n            var tag = currentTag.toLowerCase();\n            var attribute = currentAttributeName.toLowerCase();\n            var fullRange = getReplaceRange(valueStart, valueEnd);\n            for (var _i = 0, completionParticipants_1 = completionParticipants; _i < completionParticipants_1.length; _i++) {\n              var participant = completionParticipants_1[_i];\n              if (participant.onHtmlAttributeValue) {\n                participant.onHtmlAttributeValue({ document: document2, position, tag, attribute, value: valuePrefix, range: fullRange });\n              }\n            }\n          }\n          dataProviders.forEach(function(provider) {\n            provider.provideValues(currentTag, currentAttributeName).forEach(function(value) {\n              var insertText = addQuotes ? '\"' + value.name + '\"' : value.name;\n              result.items.push({\n                label: value.name,\n                filterText: insertText,\n                kind: CompletionItemKind2.Unit,\n                documentation: generateDocumentation(value, void 0, doesSupportMarkdown),\n                textEdit: TextEdit.replace(range, insertText),\n                insertTextFormat: InsertTextFormat.PlainText\n              });\n            });\n          });\n          collectCharacterEntityProposals();\n          return result;\n        }\n        function scanNextForEndPos(nextToken) {\n          if (offset === scanner.getTokenEnd()) {\n            token = scanner.scan();\n            if (token === nextToken && scanner.getTokenOffset() === offset) {\n              return scanner.getTokenEnd();\n            }\n          }\n          return offset;\n        }\n        function collectInsideContent() {\n          for (var _i = 0, completionParticipants_2 = completionParticipants; _i < completionParticipants_2.length; _i++) {\n            var participant = completionParticipants_2[_i];\n            if (participant.onHtmlContent) {\n              participant.onHtmlContent({ document: document2, position });\n            }\n          }\n          return collectCharacterEntityProposals();\n        }\n        function collectCharacterEntityProposals() {\n          var k = offset - 1;\n          var characterStart = position.character;\n          while (k >= 0 && isLetterOrDigit(text, k)) {\n            k--;\n            characterStart--;\n          }\n          if (k >= 0 && text[k] === \"&\") {\n            var range = Range2.create(Position2.create(position.line, characterStart - 1), position);\n            for (var entity in entities) {\n              if (endsWith(entity, \";\")) {\n                var label = \"&\" + entity;\n                result.items.push({\n                  label,\n                  kind: CompletionItemKind2.Keyword,\n                  documentation: localize3(\"entity.propose\", \"Character entity representing '\".concat(entities[entity], \"'\")),\n                  textEdit: TextEdit.replace(range, label),\n                  insertTextFormat: InsertTextFormat.PlainText\n                });\n              }\n            }\n          }\n          return result;\n        }\n        function suggestDoctype(replaceStart, replaceEnd) {\n          var range = getReplaceRange(replaceStart, replaceEnd);\n          result.items.push({\n            label: \"!DOCTYPE\",\n            kind: CompletionItemKind2.Property,\n            documentation: \"A preamble for an HTML document.\",\n            textEdit: TextEdit.replace(range, \"!DOCTYPE html>\"),\n            insertTextFormat: InsertTextFormat.PlainText\n          });\n        }\n        var token = scanner.scan();\n        while (token !== TokenType.EOS && scanner.getTokenOffset() <= offset) {\n          switch (token) {\n            case TokenType.StartTagOpen:\n              if (scanner.getTokenEnd() === offset) {\n                var endPos = scanNextForEndPos(TokenType.StartTag);\n                if (position.line === 0) {\n                  suggestDoctype(offset, endPos);\n                }\n                return collectTagSuggestions(offset, endPos);\n              }\n              break;\n            case TokenType.StartTag:\n              if (scanner.getTokenOffset() <= offset && offset <= scanner.getTokenEnd()) {\n                return collectOpenTagSuggestions(scanner.getTokenOffset(), scanner.getTokenEnd());\n              }\n              currentTag = scanner.getTokenText();\n              break;\n            case TokenType.AttributeName:\n              if (scanner.getTokenOffset() <= offset && offset <= scanner.getTokenEnd()) {\n                return collectAttributeNameSuggestions(scanner.getTokenOffset(), scanner.getTokenEnd());\n              }\n              currentAttributeName = scanner.getTokenText();\n              break;\n            case TokenType.DelimiterAssign:\n              if (scanner.getTokenEnd() === offset) {\n                var endPos = scanNextForEndPos(TokenType.AttributeValue);\n                return collectAttributeValueSuggestions(offset, endPos);\n              }\n              break;\n            case TokenType.AttributeValue:\n              if (scanner.getTokenOffset() <= offset && offset <= scanner.getTokenEnd()) {\n                return collectAttributeValueSuggestions(scanner.getTokenOffset(), scanner.getTokenEnd());\n              }\n              break;\n            case TokenType.Whitespace:\n              if (offset <= scanner.getTokenEnd()) {\n                switch (scanner.getScannerState()) {\n                  case ScannerState.AfterOpeningStartTag:\n                    var startPos = scanner.getTokenOffset();\n                    var endTagPos = scanNextForEndPos(TokenType.StartTag);\n                    return collectTagSuggestions(startPos, endTagPos);\n                  case ScannerState.WithinTag:\n                  case ScannerState.AfterAttributeName:\n                    return collectAttributeNameSuggestions(scanner.getTokenEnd());\n                  case ScannerState.BeforeAttributeValue:\n                    return collectAttributeValueSuggestions(scanner.getTokenEnd());\n                  case ScannerState.AfterOpeningEndTag:\n                    return collectCloseTagSuggestions(scanner.getTokenOffset() - 1, false);\n                  case ScannerState.WithinContent:\n                    return collectInsideContent();\n                }\n              }\n              break;\n            case TokenType.EndTagOpen:\n              if (offset <= scanner.getTokenEnd()) {\n                var afterOpenBracket = scanner.getTokenOffset() + 1;\n                var endOffset = scanNextForEndPos(TokenType.EndTag);\n                return collectCloseTagSuggestions(afterOpenBracket, false, endOffset);\n              }\n              break;\n            case TokenType.EndTag:\n              if (offset <= scanner.getTokenEnd()) {\n                var start = scanner.getTokenOffset() - 1;\n                while (start >= 0) {\n                  var ch = text.charAt(start);\n                  if (ch === \"/\") {\n                    return collectCloseTagSuggestions(start, false, scanner.getTokenEnd());\n                  } else if (!isWhiteSpace(ch)) {\n                    break;\n                  }\n                  start--;\n                }\n              }\n              break;\n            case TokenType.StartTagClose:\n              if (offset <= scanner.getTokenEnd()) {\n                if (currentTag) {\n                  return collectAutoCloseTagSuggestion(scanner.getTokenEnd(), currentTag);\n                }\n              }\n              break;\n            case TokenType.Content:\n              if (offset <= scanner.getTokenEnd()) {\n                return collectInsideContent();\n              }\n              break;\n            default:\n              if (offset <= scanner.getTokenEnd()) {\n                return result;\n              }\n              break;\n          }\n          token = scanner.scan();\n        }\n        return result;\n      };\n      HTMLCompletion2.prototype.doQuoteComplete = function(document2, position, htmlDocument, settings) {\n        var _a22;\n        var offset = document2.offsetAt(position);\n        if (offset <= 0) {\n          return null;\n        }\n        var defaultValue = (_a22 = settings === null || settings === void 0 ? void 0 : settings.attributeDefaultValue) !== null && _a22 !== void 0 ? _a22 : \"doublequotes\";\n        if (defaultValue === \"empty\") {\n          return null;\n        }\n        var char = document2.getText().charAt(offset - 1);\n        if (char !== \"=\") {\n          return null;\n        }\n        var value = defaultValue === \"doublequotes\" ? '\"$1\"' : \"'$1'\";\n        var node = htmlDocument.findNodeBefore(offset);\n        if (node && node.attributes && node.start < offset && (!node.endTagStart || node.endTagStart > offset)) {\n          var scanner = createScanner(document2.getText(), node.start);\n          var token = scanner.scan();\n          while (token !== TokenType.EOS && scanner.getTokenEnd() <= offset) {\n            if (token === TokenType.AttributeName && scanner.getTokenEnd() === offset - 1) {\n              token = scanner.scan();\n              if (token !== TokenType.DelimiterAssign) {\n                return null;\n              }\n              token = scanner.scan();\n              if (token === TokenType.Unknown || token === TokenType.AttributeValue) {\n                return null;\n              }\n              return value;\n            }\n            token = scanner.scan();\n          }\n        }\n        return null;\n      };\n      HTMLCompletion2.prototype.doTagComplete = function(document2, position, htmlDocument) {\n        var offset = document2.offsetAt(position);\n        if (offset <= 0) {\n          return null;\n        }\n        var char = document2.getText().charAt(offset - 1);\n        if (char === \">\") {\n          var node = htmlDocument.findNodeBefore(offset);\n          if (node && node.tag && !isVoidElement(node.tag) && node.start < offset && (!node.endTagStart || node.endTagStart > offset)) {\n            var scanner = createScanner(document2.getText(), node.start);\n            var token = scanner.scan();\n            while (token !== TokenType.EOS && scanner.getTokenEnd() <= offset) {\n              if (token === TokenType.StartTagClose && scanner.getTokenEnd() === offset) {\n                return \"$0</\".concat(node.tag, \">\");\n              }\n              token = scanner.scan();\n            }\n          }\n        } else if (char === \"/\") {\n          var node = htmlDocument.findNodeBefore(offset);\n          while (node && node.closed && !(node.endTagStart && node.endTagStart > offset)) {\n            node = node.parent;\n          }\n          if (node && node.tag) {\n            var scanner = createScanner(document2.getText(), node.start);\n            var token = scanner.scan();\n            while (token !== TokenType.EOS && scanner.getTokenEnd() <= offset) {\n              if (token === TokenType.EndTagOpen && scanner.getTokenEnd() === offset) {\n                return \"\".concat(node.tag, \">\");\n              }\n              token = scanner.scan();\n            }\n          }\n        }\n        return null;\n      };\n      HTMLCompletion2.prototype.convertCompletionList = function(list) {\n        if (!this.doesSupportMarkdown()) {\n          list.items.forEach(function(item) {\n            if (item.documentation && typeof item.documentation !== \"string\") {\n              item.documentation = {\n                kind: \"plaintext\",\n                value: item.documentation.value\n              };\n            }\n          });\n        }\n        return list;\n      };\n      HTMLCompletion2.prototype.doesSupportMarkdown = function() {\n        var _a22, _b3, _c;\n        if (!isDefined(this.supportsMarkdown)) {\n          if (!isDefined(this.lsOptions.clientCapabilities)) {\n            this.supportsMarkdown = true;\n            return this.supportsMarkdown;\n          }\n          var documentationFormat = (_c = (_b3 = (_a22 = this.lsOptions.clientCapabilities.textDocument) === null || _a22 === void 0 ? void 0 : _a22.completion) === null || _b3 === void 0 ? void 0 : _b3.completionItem) === null || _c === void 0 ? void 0 : _c.documentationFormat;\n          this.supportsMarkdown = Array.isArray(documentationFormat) && documentationFormat.indexOf(MarkupKind.Markdown) !== -1;\n        }\n        return this.supportsMarkdown;\n      };\n      return HTMLCompletion2;\n    }()\n  );\n  function isQuote(s) {\n    return /^[\"']*$/.test(s);\n  }\n  function isWhiteSpace(s) {\n    return /^\\s*$/.test(s);\n  }\n  function isFollowedBy(s, offset, intialState, expectedToken) {\n    var scanner = createScanner(s, offset, intialState);\n    var token = scanner.scan();\n    while (token === TokenType.Whitespace) {\n      token = scanner.scan();\n    }\n    return token === expectedToken;\n  }\n  function getWordStart(s, offset, limit) {\n    while (offset > limit && !isWhiteSpace(s[offset - 1])) {\n      offset--;\n    }\n    return offset;\n  }\n  function getWordEnd(s, offset, limit) {\n    while (offset < limit && !isWhiteSpace(s[offset])) {\n      offset++;\n    }\n    return offset;\n  }\n  var localize4 = loadMessageBundle();\n  var HTMLHover = (\n    /** @class */\n    function() {\n      function HTMLHover2(lsOptions, dataManager) {\n        this.lsOptions = lsOptions;\n        this.dataManager = dataManager;\n      }\n      HTMLHover2.prototype.doHover = function(document2, position, htmlDocument, options) {\n        var convertContents = this.convertContents.bind(this);\n        var doesSupportMarkdown = this.doesSupportMarkdown();\n        var offset = document2.offsetAt(position);\n        var node = htmlDocument.findNodeAt(offset);\n        var text = document2.getText();\n        if (!node || !node.tag) {\n          return null;\n        }\n        var dataProviders = this.dataManager.getDataProviders().filter(function(p) {\n          return p.isApplicable(document2.languageId);\n        });\n        function getTagHover(currTag, range, open) {\n          var _loop_1 = function(provider2) {\n            var hover = null;\n            provider2.provideTags().forEach(function(tag2) {\n              if (tag2.name.toLowerCase() === currTag.toLowerCase()) {\n                var markupContent = generateDocumentation(tag2, options, doesSupportMarkdown);\n                if (!markupContent) {\n                  markupContent = {\n                    kind: doesSupportMarkdown ? \"markdown\" : \"plaintext\",\n                    value: \"\"\n                  };\n                }\n                hover = { contents: markupContent, range };\n              }\n            });\n            if (hover) {\n              hover.contents = convertContents(hover.contents);\n              return { value: hover };\n            }\n          };\n          for (var _i = 0, dataProviders_1 = dataProviders; _i < dataProviders_1.length; _i++) {\n            var provider = dataProviders_1[_i];\n            var state_1 = _loop_1(provider);\n            if (typeof state_1 === \"object\")\n              return state_1.value;\n          }\n          return null;\n        }\n        function getAttrHover(currTag, currAttr, range) {\n          var _loop_2 = function(provider2) {\n            var hover = null;\n            provider2.provideAttributes(currTag).forEach(function(attr2) {\n              if (currAttr === attr2.name && attr2.description) {\n                var contentsDoc = generateDocumentation(attr2, options, doesSupportMarkdown);\n                if (contentsDoc) {\n                  hover = { contents: contentsDoc, range };\n                } else {\n                  hover = null;\n                }\n              }\n            });\n            if (hover) {\n              hover.contents = convertContents(hover.contents);\n              return { value: hover };\n            }\n          };\n          for (var _i = 0, dataProviders_2 = dataProviders; _i < dataProviders_2.length; _i++) {\n            var provider = dataProviders_2[_i];\n            var state_2 = _loop_2(provider);\n            if (typeof state_2 === \"object\")\n              return state_2.value;\n          }\n          return null;\n        }\n        function getAttrValueHover(currTag, currAttr, currAttrValue, range) {\n          var _loop_3 = function(provider2) {\n            var hover = null;\n            provider2.provideValues(currTag, currAttr).forEach(function(attrValue2) {\n              if (currAttrValue === attrValue2.name && attrValue2.description) {\n                var contentsDoc = generateDocumentation(attrValue2, options, doesSupportMarkdown);\n                if (contentsDoc) {\n                  hover = { contents: contentsDoc, range };\n                } else {\n                  hover = null;\n                }\n              }\n            });\n            if (hover) {\n              hover.contents = convertContents(hover.contents);\n              return { value: hover };\n            }\n          };\n          for (var _i = 0, dataProviders_3 = dataProviders; _i < dataProviders_3.length; _i++) {\n            var provider = dataProviders_3[_i];\n            var state_3 = _loop_3(provider);\n            if (typeof state_3 === \"object\")\n              return state_3.value;\n          }\n          return null;\n        }\n        function getEntityHover(text2, range) {\n          var currEntity = filterEntity(text2);\n          for (var entity in entities) {\n            var hover = null;\n            var label = \"&\" + entity;\n            if (currEntity === label) {\n              var code = entities[entity].charCodeAt(0).toString(16).toUpperCase();\n              var hex = \"U+\";\n              if (code.length < 4) {\n                var zeroes = 4 - code.length;\n                var k = 0;\n                while (k < zeroes) {\n                  hex += \"0\";\n                  k += 1;\n                }\n              }\n              hex += code;\n              var contentsDoc = localize4(\"entity.propose\", \"Character entity representing '\".concat(entities[entity], \"', unicode equivalent '\").concat(hex, \"'\"));\n              if (contentsDoc) {\n                hover = { contents: contentsDoc, range };\n              } else {\n                hover = null;\n              }\n            }\n            if (hover) {\n              hover.contents = convertContents(hover.contents);\n              return hover;\n            }\n          }\n          return null;\n        }\n        function getTagNameRange2(tokenType, startOffset) {\n          var scanner = createScanner(document2.getText(), startOffset);\n          var token = scanner.scan();\n          while (token !== TokenType.EOS && (scanner.getTokenEnd() < offset || scanner.getTokenEnd() === offset && token !== tokenType)) {\n            token = scanner.scan();\n          }\n          if (token === tokenType && offset <= scanner.getTokenEnd()) {\n            return { start: document2.positionAt(scanner.getTokenOffset()), end: document2.positionAt(scanner.getTokenEnd()) };\n          }\n          return null;\n        }\n        function getEntityRange() {\n          var k = offset - 1;\n          var characterStart = position.character;\n          while (k >= 0 && isLetterOrDigit(text, k)) {\n            k--;\n            characterStart--;\n          }\n          var n = k + 1;\n          var characterEnd = characterStart;\n          while (isLetterOrDigit(text, n)) {\n            n++;\n            characterEnd++;\n          }\n          if (k >= 0 && text[k] === \"&\") {\n            var range = null;\n            if (text[n] === \";\") {\n              range = Range2.create(Position2.create(position.line, characterStart), Position2.create(position.line, characterEnd + 1));\n            } else {\n              range = Range2.create(Position2.create(position.line, characterStart), Position2.create(position.line, characterEnd));\n            }\n            return range;\n          }\n          return null;\n        }\n        function filterEntity(text2) {\n          var k = offset - 1;\n          var newText = \"&\";\n          while (k >= 0 && isLetterOrDigit(text2, k)) {\n            k--;\n          }\n          k = k + 1;\n          while (isLetterOrDigit(text2, k)) {\n            newText += text2[k];\n            k += 1;\n          }\n          newText += \";\";\n          return newText;\n        }\n        if (node.endTagStart && offset >= node.endTagStart) {\n          var tagRange_1 = getTagNameRange2(TokenType.EndTag, node.endTagStart);\n          if (tagRange_1) {\n            return getTagHover(node.tag, tagRange_1, false);\n          }\n          return null;\n        }\n        var tagRange = getTagNameRange2(TokenType.StartTag, node.start);\n        if (tagRange) {\n          return getTagHover(node.tag, tagRange, true);\n        }\n        var attrRange = getTagNameRange2(TokenType.AttributeName, node.start);\n        if (attrRange) {\n          var tag = node.tag;\n          var attr = document2.getText(attrRange);\n          return getAttrHover(tag, attr, attrRange);\n        }\n        var entityRange = getEntityRange();\n        if (entityRange) {\n          return getEntityHover(text, entityRange);\n        }\n        function scanAttrAndAttrValue(nodeStart, attrValueStart) {\n          var scanner = createScanner(document2.getText(), nodeStart);\n          var token = scanner.scan();\n          var prevAttr = void 0;\n          while (token !== TokenType.EOS && scanner.getTokenEnd() <= attrValueStart) {\n            token = scanner.scan();\n            if (token === TokenType.AttributeName) {\n              prevAttr = scanner.getTokenText();\n            }\n          }\n          return prevAttr;\n        }\n        var attrValueRange = getTagNameRange2(TokenType.AttributeValue, node.start);\n        if (attrValueRange) {\n          var tag = node.tag;\n          var attrValue = trimQuotes(document2.getText(attrValueRange));\n          var matchAttr = scanAttrAndAttrValue(node.start, document2.offsetAt(attrValueRange.start));\n          if (matchAttr) {\n            return getAttrValueHover(tag, matchAttr, attrValue, attrValueRange);\n          }\n        }\n        return null;\n      };\n      HTMLHover2.prototype.convertContents = function(contents) {\n        if (!this.doesSupportMarkdown()) {\n          if (typeof contents === \"string\") {\n            return contents;\n          } else if (\"kind\" in contents) {\n            return {\n              kind: \"plaintext\",\n              value: contents.value\n            };\n          } else if (Array.isArray(contents)) {\n            contents.map(function(c) {\n              return typeof c === \"string\" ? c : c.value;\n            });\n          } else {\n            return contents.value;\n          }\n        }\n        return contents;\n      };\n      HTMLHover2.prototype.doesSupportMarkdown = function() {\n        var _a22, _b3, _c;\n        if (!isDefined(this.supportsMarkdown)) {\n          if (!isDefined(this.lsOptions.clientCapabilities)) {\n            this.supportsMarkdown = true;\n            return this.supportsMarkdown;\n          }\n          var contentFormat = (_c = (_b3 = (_a22 = this.lsOptions.clientCapabilities) === null || _a22 === void 0 ? void 0 : _a22.textDocument) === null || _b3 === void 0 ? void 0 : _b3.hover) === null || _c === void 0 ? void 0 : _c.contentFormat;\n          this.supportsMarkdown = Array.isArray(contentFormat) && contentFormat.indexOf(MarkupKind.Markdown) !== -1;\n        }\n        return this.supportsMarkdown;\n      };\n      return HTMLHover2;\n    }()\n  );\n  function trimQuotes(s) {\n    if (s.length <= 1) {\n      return s.replace(/['\"]/, \"\");\n    }\n    if (s[0] === \"'\" || s[0] === '\"') {\n      s = s.slice(1);\n    }\n    if (s[s.length - 1] === \"'\" || s[s.length - 1] === '\"') {\n      s = s.slice(0, -1);\n    }\n    return s;\n  }\n  function js_beautify(js_source_text, options) {\n    return js_source_text;\n  }\n  var legacy_beautify_css;\n  (function() {\n    \"use strict\";\n    var __webpack_modules__ = [\n      ,\n      ,\n      /* 2 */\n      /***/\n      function(module) {\n        function OutputLine(parent) {\n          this.__parent = parent;\n          this.__character_count = 0;\n          this.__indent_count = -1;\n          this.__alignment_count = 0;\n          this.__wrap_point_index = 0;\n          this.__wrap_point_character_count = 0;\n          this.__wrap_point_indent_count = -1;\n          this.__wrap_point_alignment_count = 0;\n          this.__items = [];\n        }\n        OutputLine.prototype.clone_empty = function() {\n          var line = new OutputLine(this.__parent);\n          line.set_indent(this.__indent_count, this.__alignment_count);\n          return line;\n        };\n        OutputLine.prototype.item = function(index) {\n          if (index < 0) {\n            return this.__items[this.__items.length + index];\n          } else {\n            return this.__items[index];\n          }\n        };\n        OutputLine.prototype.has_match = function(pattern) {\n          for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n            if (this.__items[lastCheckedOutput].match(pattern)) {\n              return true;\n            }\n          }\n          return false;\n        };\n        OutputLine.prototype.set_indent = function(indent, alignment) {\n          if (this.is_empty()) {\n            this.__indent_count = indent || 0;\n            this.__alignment_count = alignment || 0;\n            this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);\n          }\n        };\n        OutputLine.prototype._set_wrap_point = function() {\n          if (this.__parent.wrap_line_length) {\n            this.__wrap_point_index = this.__items.length;\n            this.__wrap_point_character_count = this.__character_count;\n            this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;\n            this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;\n          }\n        };\n        OutputLine.prototype._should_wrap = function() {\n          return this.__wrap_point_index && this.__character_count > this.__parent.wrap_line_length && this.__wrap_point_character_count > this.__parent.next_line.__character_count;\n        };\n        OutputLine.prototype._allow_wrap = function() {\n          if (this._should_wrap()) {\n            this.__parent.add_new_line();\n            var next = this.__parent.current_line;\n            next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);\n            next.__items = this.__items.slice(this.__wrap_point_index);\n            this.__items = this.__items.slice(0, this.__wrap_point_index);\n            next.__character_count += this.__character_count - this.__wrap_point_character_count;\n            this.__character_count = this.__wrap_point_character_count;\n            if (next.__items[0] === \" \") {\n              next.__items.splice(0, 1);\n              next.__character_count -= 1;\n            }\n            return true;\n          }\n          return false;\n        };\n        OutputLine.prototype.is_empty = function() {\n          return this.__items.length === 0;\n        };\n        OutputLine.prototype.last = function() {\n          if (!this.is_empty()) {\n            return this.__items[this.__items.length - 1];\n          } else {\n            return null;\n          }\n        };\n        OutputLine.prototype.push = function(item) {\n          this.__items.push(item);\n          var last_newline_index = item.lastIndexOf(\"\\n\");\n          if (last_newline_index !== -1) {\n            this.__character_count = item.length - last_newline_index;\n          } else {\n            this.__character_count += item.length;\n          }\n        };\n        OutputLine.prototype.pop = function() {\n          var item = null;\n          if (!this.is_empty()) {\n            item = this.__items.pop();\n            this.__character_count -= item.length;\n          }\n          return item;\n        };\n        OutputLine.prototype._remove_indent = function() {\n          if (this.__indent_count > 0) {\n            this.__indent_count -= 1;\n            this.__character_count -= this.__parent.indent_size;\n          }\n        };\n        OutputLine.prototype._remove_wrap_indent = function() {\n          if (this.__wrap_point_indent_count > 0) {\n            this.__wrap_point_indent_count -= 1;\n          }\n        };\n        OutputLine.prototype.trim = function() {\n          while (this.last() === \" \") {\n            this.__items.pop();\n            this.__character_count -= 1;\n          }\n        };\n        OutputLine.prototype.toString = function() {\n          var result = \"\";\n          if (this.is_empty()) {\n            if (this.__parent.indent_empty_lines) {\n              result = this.__parent.get_indent_string(this.__indent_count);\n            }\n          } else {\n            result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);\n            result += this.__items.join(\"\");\n          }\n          return result;\n        };\n        function IndentStringCache(options, baseIndentString) {\n          this.__cache = [\"\"];\n          this.__indent_size = options.indent_size;\n          this.__indent_string = options.indent_char;\n          if (!options.indent_with_tabs) {\n            this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);\n          }\n          baseIndentString = baseIndentString || \"\";\n          if (options.indent_level > 0) {\n            baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);\n          }\n          this.__base_string = baseIndentString;\n          this.__base_string_length = baseIndentString.length;\n        }\n        IndentStringCache.prototype.get_indent_size = function(indent, column) {\n          var result = this.__base_string_length;\n          column = column || 0;\n          if (indent < 0) {\n            result = 0;\n          }\n          result += indent * this.__indent_size;\n          result += column;\n          return result;\n        };\n        IndentStringCache.prototype.get_indent_string = function(indent_level, column) {\n          var result = this.__base_string;\n          column = column || 0;\n          if (indent_level < 0) {\n            indent_level = 0;\n            result = \"\";\n          }\n          column += indent_level * this.__indent_size;\n          this.__ensure_cache(column);\n          result += this.__cache[column];\n          return result;\n        };\n        IndentStringCache.prototype.__ensure_cache = function(column) {\n          while (column >= this.__cache.length) {\n            this.__add_column();\n          }\n        };\n        IndentStringCache.prototype.__add_column = function() {\n          var column = this.__cache.length;\n          var indent = 0;\n          var result = \"\";\n          if (this.__indent_size && column >= this.__indent_size) {\n            indent = Math.floor(column / this.__indent_size);\n            column -= indent * this.__indent_size;\n            result = new Array(indent + 1).join(this.__indent_string);\n          }\n          if (column) {\n            result += new Array(column + 1).join(\" \");\n          }\n          this.__cache.push(result);\n        };\n        function Output(options, baseIndentString) {\n          this.__indent_cache = new IndentStringCache(options, baseIndentString);\n          this.raw = false;\n          this._end_with_newline = options.end_with_newline;\n          this.indent_size = options.indent_size;\n          this.wrap_line_length = options.wrap_line_length;\n          this.indent_empty_lines = options.indent_empty_lines;\n          this.__lines = [];\n          this.previous_line = null;\n          this.current_line = null;\n          this.next_line = new OutputLine(this);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = false;\n          this.__add_outputline();\n        }\n        Output.prototype.__add_outputline = function() {\n          this.previous_line = this.current_line;\n          this.current_line = this.next_line.clone_empty();\n          this.__lines.push(this.current_line);\n        };\n        Output.prototype.get_line_number = function() {\n          return this.__lines.length;\n        };\n        Output.prototype.get_indent_string = function(indent, column) {\n          return this.__indent_cache.get_indent_string(indent, column);\n        };\n        Output.prototype.get_indent_size = function(indent, column) {\n          return this.__indent_cache.get_indent_size(indent, column);\n        };\n        Output.prototype.is_empty = function() {\n          return !this.previous_line && this.current_line.is_empty();\n        };\n        Output.prototype.add_new_line = function(force_newline) {\n          if (this.is_empty() || !force_newline && this.just_added_newline()) {\n            return false;\n          }\n          if (!this.raw) {\n            this.__add_outputline();\n          }\n          return true;\n        };\n        Output.prototype.get_code = function(eol) {\n          this.trim(true);\n          var last_item = this.current_line.pop();\n          if (last_item) {\n            if (last_item[last_item.length - 1] === \"\\n\") {\n              last_item = last_item.replace(/\\n+$/g, \"\");\n            }\n            this.current_line.push(last_item);\n          }\n          if (this._end_with_newline) {\n            this.__add_outputline();\n          }\n          var sweet_code = this.__lines.join(\"\\n\");\n          if (eol !== \"\\n\") {\n            sweet_code = sweet_code.replace(/[\\n]/g, eol);\n          }\n          return sweet_code;\n        };\n        Output.prototype.set_wrap_point = function() {\n          this.current_line._set_wrap_point();\n        };\n        Output.prototype.set_indent = function(indent, alignment) {\n          indent = indent || 0;\n          alignment = alignment || 0;\n          this.next_line.set_indent(indent, alignment);\n          if (this.__lines.length > 1) {\n            this.current_line.set_indent(indent, alignment);\n            return true;\n          }\n          this.current_line.set_indent();\n          return false;\n        };\n        Output.prototype.add_raw_token = function(token) {\n          for (var x = 0; x < token.newlines; x++) {\n            this.__add_outputline();\n          }\n          this.current_line.set_indent(-1);\n          this.current_line.push(token.whitespace_before);\n          this.current_line.push(token.text);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = false;\n        };\n        Output.prototype.add_token = function(printable_token) {\n          this.__add_space_before_token();\n          this.current_line.push(printable_token);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = this.current_line._allow_wrap();\n        };\n        Output.prototype.__add_space_before_token = function() {\n          if (this.space_before_token && !this.just_added_newline()) {\n            if (!this.non_breaking_space) {\n              this.set_wrap_point();\n            }\n            this.current_line.push(\" \");\n          }\n        };\n        Output.prototype.remove_indent = function(index) {\n          var output_length = this.__lines.length;\n          while (index < output_length) {\n            this.__lines[index]._remove_indent();\n            index++;\n          }\n          this.current_line._remove_wrap_indent();\n        };\n        Output.prototype.trim = function(eat_newlines) {\n          eat_newlines = eat_newlines === void 0 ? false : eat_newlines;\n          this.current_line.trim();\n          while (eat_newlines && this.__lines.length > 1 && this.current_line.is_empty()) {\n            this.__lines.pop();\n            this.current_line = this.__lines[this.__lines.length - 1];\n            this.current_line.trim();\n          }\n          this.previous_line = this.__lines.length > 1 ? this.__lines[this.__lines.length - 2] : null;\n        };\n        Output.prototype.just_added_newline = function() {\n          return this.current_line.is_empty();\n        };\n        Output.prototype.just_added_blankline = function() {\n          return this.is_empty() || this.current_line.is_empty() && this.previous_line.is_empty();\n        };\n        Output.prototype.ensure_empty_line_above = function(starts_with, ends_with) {\n          var index = this.__lines.length - 2;\n          while (index >= 0) {\n            var potentialEmptyLine = this.__lines[index];\n            if (potentialEmptyLine.is_empty()) {\n              break;\n            } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 && potentialEmptyLine.item(-1) !== ends_with) {\n              this.__lines.splice(index + 1, 0, new OutputLine(this));\n              this.previous_line = this.__lines[this.__lines.length - 2];\n              break;\n            }\n            index--;\n          }\n        };\n        module.exports.Output = Output;\n      },\n      ,\n      ,\n      ,\n      /* 6 */\n      /***/\n      function(module) {\n        function Options(options, merge_child_field) {\n          this.raw_options = _mergeOpts(options, merge_child_field);\n          this.disabled = this._get_boolean(\"disabled\");\n          this.eol = this._get_characters(\"eol\", \"auto\");\n          this.end_with_newline = this._get_boolean(\"end_with_newline\");\n          this.indent_size = this._get_number(\"indent_size\", 4);\n          this.indent_char = this._get_characters(\"indent_char\", \" \");\n          this.indent_level = this._get_number(\"indent_level\");\n          this.preserve_newlines = this._get_boolean(\"preserve_newlines\", true);\n          this.max_preserve_newlines = this._get_number(\"max_preserve_newlines\", 32786);\n          if (!this.preserve_newlines) {\n            this.max_preserve_newlines = 0;\n          }\n          this.indent_with_tabs = this._get_boolean(\"indent_with_tabs\", this.indent_char === \"\t\");\n          if (this.indent_with_tabs) {\n            this.indent_char = \"\t\";\n            if (this.indent_size === 1) {\n              this.indent_size = 4;\n            }\n          }\n          this.wrap_line_length = this._get_number(\"wrap_line_length\", this._get_number(\"max_char\"));\n          this.indent_empty_lines = this._get_boolean(\"indent_empty_lines\");\n          this.templating = this._get_selection_list(\"templating\", [\"auto\", \"none\", \"django\", \"erb\", \"handlebars\", \"php\", \"smarty\"], [\"auto\"]);\n        }\n        Options.prototype._get_array = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = default_value || [];\n          if (typeof option_value === \"object\") {\n            if (option_value !== null && typeof option_value.concat === \"function\") {\n              result = option_value.concat();\n            }\n          } else if (typeof option_value === \"string\") {\n            result = option_value.split(/[^a-zA-Z0-9_\\/\\-]+/);\n          }\n          return result;\n        };\n        Options.prototype._get_boolean = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = option_value === void 0 ? !!default_value : !!option_value;\n          return result;\n        };\n        Options.prototype._get_characters = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = default_value || \"\";\n          if (typeof option_value === \"string\") {\n            result = option_value.replace(/\\\\r/, \"\\r\").replace(/\\\\n/, \"\\n\").replace(/\\\\t/, \"\t\");\n          }\n          return result;\n        };\n        Options.prototype._get_number = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          default_value = parseInt(default_value, 10);\n          if (isNaN(default_value)) {\n            default_value = 0;\n          }\n          var result = parseInt(option_value, 10);\n          if (isNaN(result)) {\n            result = default_value;\n          }\n          return result;\n        };\n        Options.prototype._get_selection = function(name, selection_list, default_value) {\n          var result = this._get_selection_list(name, selection_list, default_value);\n          if (result.length !== 1) {\n            throw new Error(\n              \"Invalid Option Value: The option '\" + name + \"' can only be one of the following values:\\n\" + selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\"\n            );\n          }\n          return result[0];\n        };\n        Options.prototype._get_selection_list = function(name, selection_list, default_value) {\n          if (!selection_list || selection_list.length === 0) {\n            throw new Error(\"Selection list cannot be empty.\");\n          }\n          default_value = default_value || [selection_list[0]];\n          if (!this._is_valid_selection(default_value, selection_list)) {\n            throw new Error(\"Invalid Default Value!\");\n          }\n          var result = this._get_array(name, default_value);\n          if (!this._is_valid_selection(result, selection_list)) {\n            throw new Error(\n              \"Invalid Option Value: The option '\" + name + \"' can contain only the following values:\\n\" + selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\"\n            );\n          }\n          return result;\n        };\n        Options.prototype._is_valid_selection = function(result, selection_list) {\n          return result.length && selection_list.length && !result.some(function(item) {\n            return selection_list.indexOf(item) === -1;\n          });\n        };\n        function _mergeOpts(allOptions, childFieldName) {\n          var finalOpts = {};\n          allOptions = _normalizeOpts(allOptions);\n          var name;\n          for (name in allOptions) {\n            if (name !== childFieldName) {\n              finalOpts[name] = allOptions[name];\n            }\n          }\n          if (childFieldName && allOptions[childFieldName]) {\n            for (name in allOptions[childFieldName]) {\n              finalOpts[name] = allOptions[childFieldName][name];\n            }\n          }\n          return finalOpts;\n        }\n        function _normalizeOpts(options) {\n          var convertedOpts = {};\n          var key;\n          for (key in options) {\n            var newKey = key.replace(/-/g, \"_\");\n            convertedOpts[newKey] = options[key];\n          }\n          return convertedOpts;\n        }\n        module.exports.Options = Options;\n        module.exports.normalizeOpts = _normalizeOpts;\n        module.exports.mergeOpts = _mergeOpts;\n      },\n      ,\n      /* 8 */\n      /***/\n      function(module) {\n        var regexp_has_sticky = RegExp.prototype.hasOwnProperty(\"sticky\");\n        function InputScanner(input_string) {\n          this.__input = input_string || \"\";\n          this.__input_length = this.__input.length;\n          this.__position = 0;\n        }\n        InputScanner.prototype.restart = function() {\n          this.__position = 0;\n        };\n        InputScanner.prototype.back = function() {\n          if (this.__position > 0) {\n            this.__position -= 1;\n          }\n        };\n        InputScanner.prototype.hasNext = function() {\n          return this.__position < this.__input_length;\n        };\n        InputScanner.prototype.next = function() {\n          var val = null;\n          if (this.hasNext()) {\n            val = this.__input.charAt(this.__position);\n            this.__position += 1;\n          }\n          return val;\n        };\n        InputScanner.prototype.peek = function(index) {\n          var val = null;\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__input_length) {\n            val = this.__input.charAt(index);\n          }\n          return val;\n        };\n        InputScanner.prototype.__match = function(pattern, index) {\n          pattern.lastIndex = index;\n          var pattern_match = pattern.exec(this.__input);\n          if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {\n            if (pattern_match.index !== index) {\n              pattern_match = null;\n            }\n          }\n          return pattern_match;\n        };\n        InputScanner.prototype.test = function(pattern, index) {\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__input_length) {\n            return !!this.__match(pattern, index);\n          } else {\n            return false;\n          }\n        };\n        InputScanner.prototype.testChar = function(pattern, index) {\n          var val = this.peek(index);\n          pattern.lastIndex = 0;\n          return val !== null && pattern.test(val);\n        };\n        InputScanner.prototype.match = function(pattern) {\n          var pattern_match = this.__match(pattern, this.__position);\n          if (pattern_match) {\n            this.__position += pattern_match[0].length;\n          } else {\n            pattern_match = null;\n          }\n          return pattern_match;\n        };\n        InputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {\n          var val = \"\";\n          var match;\n          if (starting_pattern) {\n            match = this.match(starting_pattern);\n            if (match) {\n              val += match[0];\n            }\n          }\n          if (until_pattern && (match || !starting_pattern)) {\n            val += this.readUntil(until_pattern, until_after);\n          }\n          return val;\n        };\n        InputScanner.prototype.readUntil = function(pattern, until_after) {\n          var val = \"\";\n          var match_index = this.__position;\n          pattern.lastIndex = this.__position;\n          var pattern_match = pattern.exec(this.__input);\n          if (pattern_match) {\n            match_index = pattern_match.index;\n            if (until_after) {\n              match_index += pattern_match[0].length;\n            }\n          } else {\n            match_index = this.__input_length;\n          }\n          val = this.__input.substring(this.__position, match_index);\n          this.__position = match_index;\n          return val;\n        };\n        InputScanner.prototype.readUntilAfter = function(pattern) {\n          return this.readUntil(pattern, true);\n        };\n        InputScanner.prototype.get_regexp = function(pattern, match_from) {\n          var result = null;\n          var flags = \"g\";\n          if (match_from && regexp_has_sticky) {\n            flags = \"y\";\n          }\n          if (typeof pattern === \"string\" && pattern !== \"\") {\n            result = new RegExp(pattern, flags);\n          } else if (pattern) {\n            result = new RegExp(pattern.source, flags);\n          }\n          return result;\n        };\n        InputScanner.prototype.get_literal_regexp = function(literal_string) {\n          return RegExp(literal_string.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\"));\n        };\n        InputScanner.prototype.peekUntilAfter = function(pattern) {\n          var start = this.__position;\n          var val = this.readUntilAfter(pattern);\n          this.__position = start;\n          return val;\n        };\n        InputScanner.prototype.lookBack = function(testVal) {\n          var start = this.__position - 1;\n          return start >= testVal.length && this.__input.substring(start - testVal.length, start).toLowerCase() === testVal;\n        };\n        module.exports.InputScanner = InputScanner;\n      },\n      ,\n      ,\n      ,\n      ,\n      /* 13 */\n      /***/\n      function(module) {\n        function Directives(start_block_pattern, end_block_pattern) {\n          start_block_pattern = typeof start_block_pattern === \"string\" ? start_block_pattern : start_block_pattern.source;\n          end_block_pattern = typeof end_block_pattern === \"string\" ? end_block_pattern : end_block_pattern.source;\n          this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \\w+[:]\\w+)+ /.source + end_block_pattern, \"g\");\n          this.__directive_pattern = / (\\w+)[:](\\w+)/g;\n          this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\\sbeautify\\signore:end\\s/.source + end_block_pattern, \"g\");\n        }\n        Directives.prototype.get_directives = function(text) {\n          if (!text.match(this.__directives_block_pattern)) {\n            return null;\n          }\n          var directives = {};\n          this.__directive_pattern.lastIndex = 0;\n          var directive_match = this.__directive_pattern.exec(text);\n          while (directive_match) {\n            directives[directive_match[1]] = directive_match[2];\n            directive_match = this.__directive_pattern.exec(text);\n          }\n          return directives;\n        };\n        Directives.prototype.readIgnored = function(input) {\n          return input.readUntilAfter(this.__directives_end_ignore_pattern);\n        };\n        module.exports.Directives = Directives;\n      },\n      ,\n      /* 15 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Beautifier = __webpack_require__2(16).Beautifier, Options = __webpack_require__2(17).Options;\n        function css_beautify2(source_text, options) {\n          var beautifier = new Beautifier(source_text, options);\n          return beautifier.beautify();\n        }\n        module.exports = css_beautify2;\n        module.exports.defaultOptions = function() {\n          return new Options();\n        };\n      },\n      /* 16 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Options = __webpack_require__2(17).Options;\n        var Output = __webpack_require__2(2).Output;\n        var InputScanner = __webpack_require__2(8).InputScanner;\n        var Directives = __webpack_require__2(13).Directives;\n        var directives_core = new Directives(/\\/\\*/, /\\*\\//);\n        var lineBreak = /\\r\\n|[\\r\\n]/;\n        var allLineBreaks = /\\r\\n|[\\r\\n]/g;\n        var whitespaceChar = /\\s/;\n        var whitespacePattern = /(?:\\s|\\n)+/g;\n        var block_comment_pattern = /\\/\\*(?:[\\s\\S]*?)((?:\\*\\/)|$)/g;\n        var comment_pattern = /\\/\\/(?:[^\\n\\r\\u2028\\u2029]*)/g;\n        function Beautifier(source_text, options) {\n          this._source_text = source_text || \"\";\n          this._options = new Options(options);\n          this._ch = null;\n          this._input = null;\n          this.NESTED_AT_RULE = {\n            \"@page\": true,\n            \"@font-face\": true,\n            \"@keyframes\": true,\n            // also in CONDITIONAL_GROUP_RULE below\n            \"@media\": true,\n            \"@supports\": true,\n            \"@document\": true\n          };\n          this.CONDITIONAL_GROUP_RULE = {\n            \"@media\": true,\n            \"@supports\": true,\n            \"@document\": true\n          };\n        }\n        Beautifier.prototype.eatString = function(endChars) {\n          var result = \"\";\n          this._ch = this._input.next();\n          while (this._ch) {\n            result += this._ch;\n            if (this._ch === \"\\\\\") {\n              result += this._input.next();\n            } else if (endChars.indexOf(this._ch) !== -1 || this._ch === \"\\n\") {\n              break;\n            }\n            this._ch = this._input.next();\n          }\n          return result;\n        };\n        Beautifier.prototype.eatWhitespace = function(allowAtLeastOneNewLine) {\n          var result = whitespaceChar.test(this._input.peek());\n          var newline_count = 0;\n          while (whitespaceChar.test(this._input.peek())) {\n            this._ch = this._input.next();\n            if (allowAtLeastOneNewLine && this._ch === \"\\n\") {\n              if (newline_count === 0 || newline_count < this._options.max_preserve_newlines) {\n                newline_count++;\n                this._output.add_new_line(true);\n              }\n            }\n          }\n          return result;\n        };\n        Beautifier.prototype.foundNestedPseudoClass = function() {\n          var openParen = 0;\n          var i = 1;\n          var ch = this._input.peek(i);\n          while (ch) {\n            if (ch === \"{\") {\n              return true;\n            } else if (ch === \"(\") {\n              openParen += 1;\n            } else if (ch === \")\") {\n              if (openParen === 0) {\n                return false;\n              }\n              openParen -= 1;\n            } else if (ch === \";\" || ch === \"}\") {\n              return false;\n            }\n            i++;\n            ch = this._input.peek(i);\n          }\n          return false;\n        };\n        Beautifier.prototype.print_string = function(output_string) {\n          this._output.set_indent(this._indentLevel);\n          this._output.non_breaking_space = true;\n          this._output.add_token(output_string);\n        };\n        Beautifier.prototype.preserveSingleSpace = function(isAfterSpace) {\n          if (isAfterSpace) {\n            this._output.space_before_token = true;\n          }\n        };\n        Beautifier.prototype.indent = function() {\n          this._indentLevel++;\n        };\n        Beautifier.prototype.outdent = function() {\n          if (this._indentLevel > 0) {\n            this._indentLevel--;\n          }\n        };\n        Beautifier.prototype.beautify = function() {\n          if (this._options.disabled) {\n            return this._source_text;\n          }\n          var source_text = this._source_text;\n          var eol = this._options.eol;\n          if (eol === \"auto\") {\n            eol = \"\\n\";\n            if (source_text && lineBreak.test(source_text || \"\")) {\n              eol = source_text.match(lineBreak)[0];\n            }\n          }\n          source_text = source_text.replace(allLineBreaks, \"\\n\");\n          var baseIndentString = source_text.match(/^[\\t ]*/)[0];\n          this._output = new Output(this._options, baseIndentString);\n          this._input = new InputScanner(source_text);\n          this._indentLevel = 0;\n          this._nestedLevel = 0;\n          this._ch = null;\n          var parenLevel = 0;\n          var insideRule = false;\n          var insidePropertyValue = false;\n          var enteringConditionalGroup = false;\n          var insideAtExtend = false;\n          var insideAtImport = false;\n          var topCharacter = this._ch;\n          var whitespace;\n          var isAfterSpace;\n          var previous_ch;\n          while (true) {\n            whitespace = this._input.read(whitespacePattern);\n            isAfterSpace = whitespace !== \"\";\n            previous_ch = topCharacter;\n            this._ch = this._input.next();\n            if (this._ch === \"\\\\\" && this._input.hasNext()) {\n              this._ch += this._input.next();\n            }\n            topCharacter = this._ch;\n            if (!this._ch) {\n              break;\n            } else if (this._ch === \"/\" && this._input.peek() === \"*\") {\n              this._output.add_new_line();\n              this._input.back();\n              var comment = this._input.read(block_comment_pattern);\n              var directives = directives_core.get_directives(comment);\n              if (directives && directives.ignore === \"start\") {\n                comment += directives_core.readIgnored(this._input);\n              }\n              this.print_string(comment);\n              this.eatWhitespace(true);\n              this._output.add_new_line();\n            } else if (this._ch === \"/\" && this._input.peek() === \"/\") {\n              this._output.space_before_token = true;\n              this._input.back();\n              this.print_string(this._input.read(comment_pattern));\n              this.eatWhitespace(true);\n            } else if (this._ch === \"@\") {\n              this.preserveSingleSpace(isAfterSpace);\n              if (this._input.peek() === \"{\") {\n                this.print_string(this._ch + this.eatString(\"}\"));\n              } else {\n                this.print_string(this._ch);\n                var variableOrRule = this._input.peekUntilAfter(/[: ,;{}()[\\]\\/='\"]/g);\n                if (variableOrRule.match(/[ :]$/)) {\n                  variableOrRule = this.eatString(\": \").replace(/\\s$/, \"\");\n                  this.print_string(variableOrRule);\n                  this._output.space_before_token = true;\n                }\n                variableOrRule = variableOrRule.replace(/\\s$/, \"\");\n                if (variableOrRule === \"extend\") {\n                  insideAtExtend = true;\n                } else if (variableOrRule === \"import\") {\n                  insideAtImport = true;\n                }\n                if (variableOrRule in this.NESTED_AT_RULE) {\n                  this._nestedLevel += 1;\n                  if (variableOrRule in this.CONDITIONAL_GROUP_RULE) {\n                    enteringConditionalGroup = true;\n                  }\n                } else if (!insideRule && parenLevel === 0 && variableOrRule.indexOf(\":\") !== -1) {\n                  insidePropertyValue = true;\n                  this.indent();\n                }\n              }\n            } else if (this._ch === \"#\" && this._input.peek() === \"{\") {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch + this.eatString(\"}\"));\n            } else if (this._ch === \"{\") {\n              if (insidePropertyValue) {\n                insidePropertyValue = false;\n                this.outdent();\n              }\n              if (enteringConditionalGroup) {\n                enteringConditionalGroup = false;\n                insideRule = this._indentLevel >= this._nestedLevel;\n              } else {\n                insideRule = this._indentLevel >= this._nestedLevel - 1;\n              }\n              if (this._options.newline_between_rules && insideRule) {\n                if (this._output.previous_line && this._output.previous_line.item(-1) !== \"{\") {\n                  this._output.ensure_empty_line_above(\"/\", \",\");\n                }\n              }\n              this._output.space_before_token = true;\n              if (this._options.brace_style === \"expand\") {\n                this._output.add_new_line();\n                this.print_string(this._ch);\n                this.indent();\n                this._output.set_indent(this._indentLevel);\n              } else {\n                this.indent();\n                this.print_string(this._ch);\n              }\n              this.eatWhitespace(true);\n              this._output.add_new_line();\n            } else if (this._ch === \"}\") {\n              this.outdent();\n              this._output.add_new_line();\n              if (previous_ch === \"{\") {\n                this._output.trim(true);\n              }\n              insideAtImport = false;\n              insideAtExtend = false;\n              if (insidePropertyValue) {\n                this.outdent();\n                insidePropertyValue = false;\n              }\n              this.print_string(this._ch);\n              insideRule = false;\n              if (this._nestedLevel) {\n                this._nestedLevel--;\n              }\n              this.eatWhitespace(true);\n              this._output.add_new_line();\n              if (this._options.newline_between_rules && !this._output.just_added_blankline()) {\n                if (this._input.peek() !== \"}\") {\n                  this._output.add_new_line(true);\n                }\n              }\n            } else if (this._ch === \":\") {\n              if ((insideRule || enteringConditionalGroup) && !(this._input.lookBack(\"&\") || this.foundNestedPseudoClass()) && !this._input.lookBack(\"(\") && !insideAtExtend && parenLevel === 0) {\n                this.print_string(\":\");\n                if (!insidePropertyValue) {\n                  insidePropertyValue = true;\n                  this._output.space_before_token = true;\n                  this.eatWhitespace(true);\n                  this.indent();\n                }\n              } else {\n                if (this._input.lookBack(\" \")) {\n                  this._output.space_before_token = true;\n                }\n                if (this._input.peek() === \":\") {\n                  this._ch = this._input.next();\n                  this.print_string(\"::\");\n                } else {\n                  this.print_string(\":\");\n                }\n              }\n            } else if (this._ch === '\"' || this._ch === \"'\") {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch + this.eatString(this._ch));\n              this.eatWhitespace(true);\n            } else if (this._ch === \";\") {\n              if (parenLevel === 0) {\n                if (insidePropertyValue) {\n                  this.outdent();\n                  insidePropertyValue = false;\n                }\n                insideAtExtend = false;\n                insideAtImport = false;\n                this.print_string(this._ch);\n                this.eatWhitespace(true);\n                if (this._input.peek() !== \"/\") {\n                  this._output.add_new_line();\n                }\n              } else {\n                this.print_string(this._ch);\n                this.eatWhitespace(true);\n                this._output.space_before_token = true;\n              }\n            } else if (this._ch === \"(\") {\n              if (this._input.lookBack(\"url\")) {\n                this.print_string(this._ch);\n                this.eatWhitespace();\n                parenLevel++;\n                this.indent();\n                this._ch = this._input.next();\n                if (this._ch === \")\" || this._ch === '\"' || this._ch === \"'\") {\n                  this._input.back();\n                } else if (this._ch) {\n                  this.print_string(this._ch + this.eatString(\")\"));\n                  if (parenLevel) {\n                    parenLevel--;\n                    this.outdent();\n                  }\n                }\n              } else {\n                this.preserveSingleSpace(isAfterSpace);\n                this.print_string(this._ch);\n                this.eatWhitespace();\n                parenLevel++;\n                this.indent();\n              }\n            } else if (this._ch === \")\") {\n              if (parenLevel) {\n                parenLevel--;\n                this.outdent();\n              }\n              this.print_string(this._ch);\n            } else if (this._ch === \",\") {\n              this.print_string(this._ch);\n              this.eatWhitespace(true);\n              if (this._options.selector_separator_newline && !insidePropertyValue && parenLevel === 0 && !insideAtImport && !insideAtExtend) {\n                this._output.add_new_line();\n              } else {\n                this._output.space_before_token = true;\n              }\n            } else if ((this._ch === \">\" || this._ch === \"+\" || this._ch === \"~\") && !insidePropertyValue && parenLevel === 0) {\n              if (this._options.space_around_combinator) {\n                this._output.space_before_token = true;\n                this.print_string(this._ch);\n                this._output.space_before_token = true;\n              } else {\n                this.print_string(this._ch);\n                this.eatWhitespace();\n                if (this._ch && whitespaceChar.test(this._ch)) {\n                  this._ch = \"\";\n                }\n              }\n            } else if (this._ch === \"]\") {\n              this.print_string(this._ch);\n            } else if (this._ch === \"[\") {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch);\n            } else if (this._ch === \"=\") {\n              this.eatWhitespace();\n              this.print_string(\"=\");\n              if (whitespaceChar.test(this._ch)) {\n                this._ch = \"\";\n              }\n            } else if (this._ch === \"!\" && !this._input.lookBack(\"\\\\\")) {\n              this.print_string(\" \");\n              this.print_string(this._ch);\n            } else {\n              this.preserveSingleSpace(isAfterSpace);\n              this.print_string(this._ch);\n            }\n          }\n          var sweetCode = this._output.get_code(eol);\n          return sweetCode;\n        };\n        module.exports.Beautifier = Beautifier;\n      },\n      /* 17 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var BaseOptions = __webpack_require__2(6).Options;\n        function Options(options) {\n          BaseOptions.call(this, options, \"css\");\n          this.selector_separator_newline = this._get_boolean(\"selector_separator_newline\", true);\n          this.newline_between_rules = this._get_boolean(\"newline_between_rules\", true);\n          var space_around_selector_separator = this._get_boolean(\"space_around_selector_separator\");\n          this.space_around_combinator = this._get_boolean(\"space_around_combinator\") || space_around_selector_separator;\n          var brace_style_split = this._get_selection_list(\"brace_style\", [\"collapse\", \"expand\", \"end-expand\", \"none\", \"preserve-inline\"]);\n          this.brace_style = \"collapse\";\n          for (var bs = 0; bs < brace_style_split.length; bs++) {\n            if (brace_style_split[bs] !== \"expand\") {\n              this.brace_style = \"collapse\";\n            } else {\n              this.brace_style = brace_style_split[bs];\n            }\n          }\n        }\n        Options.prototype = new BaseOptions();\n        module.exports.Options = Options;\n      }\n      /******/\n    ];\n    var __webpack_module_cache__ = {};\n    function __webpack_require__(moduleId) {\n      var cachedModule = __webpack_module_cache__[moduleId];\n      if (cachedModule !== void 0) {\n        return cachedModule.exports;\n      }\n      var module = __webpack_module_cache__[moduleId] = {\n        /******/\n        // no module.id needed\n        /******/\n        // no module.loaded needed\n        /******/\n        exports: {}\n        /******/\n      };\n      __webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n      return module.exports;\n    }\n    var __webpack_exports__ = __webpack_require__(15);\n    legacy_beautify_css = __webpack_exports__;\n  })();\n  var css_beautify = legacy_beautify_css;\n  var legacy_beautify_html;\n  (function() {\n    \"use strict\";\n    var __webpack_modules__ = [\n      ,\n      ,\n      /* 2 */\n      /***/\n      function(module) {\n        function OutputLine(parent) {\n          this.__parent = parent;\n          this.__character_count = 0;\n          this.__indent_count = -1;\n          this.__alignment_count = 0;\n          this.__wrap_point_index = 0;\n          this.__wrap_point_character_count = 0;\n          this.__wrap_point_indent_count = -1;\n          this.__wrap_point_alignment_count = 0;\n          this.__items = [];\n        }\n        OutputLine.prototype.clone_empty = function() {\n          var line = new OutputLine(this.__parent);\n          line.set_indent(this.__indent_count, this.__alignment_count);\n          return line;\n        };\n        OutputLine.prototype.item = function(index) {\n          if (index < 0) {\n            return this.__items[this.__items.length + index];\n          } else {\n            return this.__items[index];\n          }\n        };\n        OutputLine.prototype.has_match = function(pattern) {\n          for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n            if (this.__items[lastCheckedOutput].match(pattern)) {\n              return true;\n            }\n          }\n          return false;\n        };\n        OutputLine.prototype.set_indent = function(indent, alignment) {\n          if (this.is_empty()) {\n            this.__indent_count = indent || 0;\n            this.__alignment_count = alignment || 0;\n            this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);\n          }\n        };\n        OutputLine.prototype._set_wrap_point = function() {\n          if (this.__parent.wrap_line_length) {\n            this.__wrap_point_index = this.__items.length;\n            this.__wrap_point_character_count = this.__character_count;\n            this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;\n            this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;\n          }\n        };\n        OutputLine.prototype._should_wrap = function() {\n          return this.__wrap_point_index && this.__character_count > this.__parent.wrap_line_length && this.__wrap_point_character_count > this.__parent.next_line.__character_count;\n        };\n        OutputLine.prototype._allow_wrap = function() {\n          if (this._should_wrap()) {\n            this.__parent.add_new_line();\n            var next = this.__parent.current_line;\n            next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);\n            next.__items = this.__items.slice(this.__wrap_point_index);\n            this.__items = this.__items.slice(0, this.__wrap_point_index);\n            next.__character_count += this.__character_count - this.__wrap_point_character_count;\n            this.__character_count = this.__wrap_point_character_count;\n            if (next.__items[0] === \" \") {\n              next.__items.splice(0, 1);\n              next.__character_count -= 1;\n            }\n            return true;\n          }\n          return false;\n        };\n        OutputLine.prototype.is_empty = function() {\n          return this.__items.length === 0;\n        };\n        OutputLine.prototype.last = function() {\n          if (!this.is_empty()) {\n            return this.__items[this.__items.length - 1];\n          } else {\n            return null;\n          }\n        };\n        OutputLine.prototype.push = function(item) {\n          this.__items.push(item);\n          var last_newline_index = item.lastIndexOf(\"\\n\");\n          if (last_newline_index !== -1) {\n            this.__character_count = item.length - last_newline_index;\n          } else {\n            this.__character_count += item.length;\n          }\n        };\n        OutputLine.prototype.pop = function() {\n          var item = null;\n          if (!this.is_empty()) {\n            item = this.__items.pop();\n            this.__character_count -= item.length;\n          }\n          return item;\n        };\n        OutputLine.prototype._remove_indent = function() {\n          if (this.__indent_count > 0) {\n            this.__indent_count -= 1;\n            this.__character_count -= this.__parent.indent_size;\n          }\n        };\n        OutputLine.prototype._remove_wrap_indent = function() {\n          if (this.__wrap_point_indent_count > 0) {\n            this.__wrap_point_indent_count -= 1;\n          }\n        };\n        OutputLine.prototype.trim = function() {\n          while (this.last() === \" \") {\n            this.__items.pop();\n            this.__character_count -= 1;\n          }\n        };\n        OutputLine.prototype.toString = function() {\n          var result = \"\";\n          if (this.is_empty()) {\n            if (this.__parent.indent_empty_lines) {\n              result = this.__parent.get_indent_string(this.__indent_count);\n            }\n          } else {\n            result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);\n            result += this.__items.join(\"\");\n          }\n          return result;\n        };\n        function IndentStringCache(options, baseIndentString) {\n          this.__cache = [\"\"];\n          this.__indent_size = options.indent_size;\n          this.__indent_string = options.indent_char;\n          if (!options.indent_with_tabs) {\n            this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);\n          }\n          baseIndentString = baseIndentString || \"\";\n          if (options.indent_level > 0) {\n            baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);\n          }\n          this.__base_string = baseIndentString;\n          this.__base_string_length = baseIndentString.length;\n        }\n        IndentStringCache.prototype.get_indent_size = function(indent, column) {\n          var result = this.__base_string_length;\n          column = column || 0;\n          if (indent < 0) {\n            result = 0;\n          }\n          result += indent * this.__indent_size;\n          result += column;\n          return result;\n        };\n        IndentStringCache.prototype.get_indent_string = function(indent_level, column) {\n          var result = this.__base_string;\n          column = column || 0;\n          if (indent_level < 0) {\n            indent_level = 0;\n            result = \"\";\n          }\n          column += indent_level * this.__indent_size;\n          this.__ensure_cache(column);\n          result += this.__cache[column];\n          return result;\n        };\n        IndentStringCache.prototype.__ensure_cache = function(column) {\n          while (column >= this.__cache.length) {\n            this.__add_column();\n          }\n        };\n        IndentStringCache.prototype.__add_column = function() {\n          var column = this.__cache.length;\n          var indent = 0;\n          var result = \"\";\n          if (this.__indent_size && column >= this.__indent_size) {\n            indent = Math.floor(column / this.__indent_size);\n            column -= indent * this.__indent_size;\n            result = new Array(indent + 1).join(this.__indent_string);\n          }\n          if (column) {\n            result += new Array(column + 1).join(\" \");\n          }\n          this.__cache.push(result);\n        };\n        function Output(options, baseIndentString) {\n          this.__indent_cache = new IndentStringCache(options, baseIndentString);\n          this.raw = false;\n          this._end_with_newline = options.end_with_newline;\n          this.indent_size = options.indent_size;\n          this.wrap_line_length = options.wrap_line_length;\n          this.indent_empty_lines = options.indent_empty_lines;\n          this.__lines = [];\n          this.previous_line = null;\n          this.current_line = null;\n          this.next_line = new OutputLine(this);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = false;\n          this.__add_outputline();\n        }\n        Output.prototype.__add_outputline = function() {\n          this.previous_line = this.current_line;\n          this.current_line = this.next_line.clone_empty();\n          this.__lines.push(this.current_line);\n        };\n        Output.prototype.get_line_number = function() {\n          return this.__lines.length;\n        };\n        Output.prototype.get_indent_string = function(indent, column) {\n          return this.__indent_cache.get_indent_string(indent, column);\n        };\n        Output.prototype.get_indent_size = function(indent, column) {\n          return this.__indent_cache.get_indent_size(indent, column);\n        };\n        Output.prototype.is_empty = function() {\n          return !this.previous_line && this.current_line.is_empty();\n        };\n        Output.prototype.add_new_line = function(force_newline) {\n          if (this.is_empty() || !force_newline && this.just_added_newline()) {\n            return false;\n          }\n          if (!this.raw) {\n            this.__add_outputline();\n          }\n          return true;\n        };\n        Output.prototype.get_code = function(eol) {\n          this.trim(true);\n          var last_item = this.current_line.pop();\n          if (last_item) {\n            if (last_item[last_item.length - 1] === \"\\n\") {\n              last_item = last_item.replace(/\\n+$/g, \"\");\n            }\n            this.current_line.push(last_item);\n          }\n          if (this._end_with_newline) {\n            this.__add_outputline();\n          }\n          var sweet_code = this.__lines.join(\"\\n\");\n          if (eol !== \"\\n\") {\n            sweet_code = sweet_code.replace(/[\\n]/g, eol);\n          }\n          return sweet_code;\n        };\n        Output.prototype.set_wrap_point = function() {\n          this.current_line._set_wrap_point();\n        };\n        Output.prototype.set_indent = function(indent, alignment) {\n          indent = indent || 0;\n          alignment = alignment || 0;\n          this.next_line.set_indent(indent, alignment);\n          if (this.__lines.length > 1) {\n            this.current_line.set_indent(indent, alignment);\n            return true;\n          }\n          this.current_line.set_indent();\n          return false;\n        };\n        Output.prototype.add_raw_token = function(token) {\n          for (var x = 0; x < token.newlines; x++) {\n            this.__add_outputline();\n          }\n          this.current_line.set_indent(-1);\n          this.current_line.push(token.whitespace_before);\n          this.current_line.push(token.text);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = false;\n        };\n        Output.prototype.add_token = function(printable_token) {\n          this.__add_space_before_token();\n          this.current_line.push(printable_token);\n          this.space_before_token = false;\n          this.non_breaking_space = false;\n          this.previous_token_wrapped = this.current_line._allow_wrap();\n        };\n        Output.prototype.__add_space_before_token = function() {\n          if (this.space_before_token && !this.just_added_newline()) {\n            if (!this.non_breaking_space) {\n              this.set_wrap_point();\n            }\n            this.current_line.push(\" \");\n          }\n        };\n        Output.prototype.remove_indent = function(index) {\n          var output_length = this.__lines.length;\n          while (index < output_length) {\n            this.__lines[index]._remove_indent();\n            index++;\n          }\n          this.current_line._remove_wrap_indent();\n        };\n        Output.prototype.trim = function(eat_newlines) {\n          eat_newlines = eat_newlines === void 0 ? false : eat_newlines;\n          this.current_line.trim();\n          while (eat_newlines && this.__lines.length > 1 && this.current_line.is_empty()) {\n            this.__lines.pop();\n            this.current_line = this.__lines[this.__lines.length - 1];\n            this.current_line.trim();\n          }\n          this.previous_line = this.__lines.length > 1 ? this.__lines[this.__lines.length - 2] : null;\n        };\n        Output.prototype.just_added_newline = function() {\n          return this.current_line.is_empty();\n        };\n        Output.prototype.just_added_blankline = function() {\n          return this.is_empty() || this.current_line.is_empty() && this.previous_line.is_empty();\n        };\n        Output.prototype.ensure_empty_line_above = function(starts_with, ends_with) {\n          var index = this.__lines.length - 2;\n          while (index >= 0) {\n            var potentialEmptyLine = this.__lines[index];\n            if (potentialEmptyLine.is_empty()) {\n              break;\n            } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 && potentialEmptyLine.item(-1) !== ends_with) {\n              this.__lines.splice(index + 1, 0, new OutputLine(this));\n              this.previous_line = this.__lines[this.__lines.length - 2];\n              break;\n            }\n            index--;\n          }\n        };\n        module.exports.Output = Output;\n      },\n      /* 3 */\n      /***/\n      function(module) {\n        function Token2(type, text, newlines, whitespace_before) {\n          this.type = type;\n          this.text = text;\n          this.comments_before = null;\n          this.newlines = newlines || 0;\n          this.whitespace_before = whitespace_before || \"\";\n          this.parent = null;\n          this.next = null;\n          this.previous = null;\n          this.opened = null;\n          this.closed = null;\n          this.directives = null;\n        }\n        module.exports.Token = Token2;\n      },\n      ,\n      ,\n      /* 6 */\n      /***/\n      function(module) {\n        function Options(options, merge_child_field) {\n          this.raw_options = _mergeOpts(options, merge_child_field);\n          this.disabled = this._get_boolean(\"disabled\");\n          this.eol = this._get_characters(\"eol\", \"auto\");\n          this.end_with_newline = this._get_boolean(\"end_with_newline\");\n          this.indent_size = this._get_number(\"indent_size\", 4);\n          this.indent_char = this._get_characters(\"indent_char\", \" \");\n          this.indent_level = this._get_number(\"indent_level\");\n          this.preserve_newlines = this._get_boolean(\"preserve_newlines\", true);\n          this.max_preserve_newlines = this._get_number(\"max_preserve_newlines\", 32786);\n          if (!this.preserve_newlines) {\n            this.max_preserve_newlines = 0;\n          }\n          this.indent_with_tabs = this._get_boolean(\"indent_with_tabs\", this.indent_char === \"\t\");\n          if (this.indent_with_tabs) {\n            this.indent_char = \"\t\";\n            if (this.indent_size === 1) {\n              this.indent_size = 4;\n            }\n          }\n          this.wrap_line_length = this._get_number(\"wrap_line_length\", this._get_number(\"max_char\"));\n          this.indent_empty_lines = this._get_boolean(\"indent_empty_lines\");\n          this.templating = this._get_selection_list(\"templating\", [\"auto\", \"none\", \"django\", \"erb\", \"handlebars\", \"php\", \"smarty\"], [\"auto\"]);\n        }\n        Options.prototype._get_array = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = default_value || [];\n          if (typeof option_value === \"object\") {\n            if (option_value !== null && typeof option_value.concat === \"function\") {\n              result = option_value.concat();\n            }\n          } else if (typeof option_value === \"string\") {\n            result = option_value.split(/[^a-zA-Z0-9_\\/\\-]+/);\n          }\n          return result;\n        };\n        Options.prototype._get_boolean = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = option_value === void 0 ? !!default_value : !!option_value;\n          return result;\n        };\n        Options.prototype._get_characters = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          var result = default_value || \"\";\n          if (typeof option_value === \"string\") {\n            result = option_value.replace(/\\\\r/, \"\\r\").replace(/\\\\n/, \"\\n\").replace(/\\\\t/, \"\t\");\n          }\n          return result;\n        };\n        Options.prototype._get_number = function(name, default_value) {\n          var option_value = this.raw_options[name];\n          default_value = parseInt(default_value, 10);\n          if (isNaN(default_value)) {\n            default_value = 0;\n          }\n          var result = parseInt(option_value, 10);\n          if (isNaN(result)) {\n            result = default_value;\n          }\n          return result;\n        };\n        Options.prototype._get_selection = function(name, selection_list, default_value) {\n          var result = this._get_selection_list(name, selection_list, default_value);\n          if (result.length !== 1) {\n            throw new Error(\n              \"Invalid Option Value: The option '\" + name + \"' can only be one of the following values:\\n\" + selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\"\n            );\n          }\n          return result[0];\n        };\n        Options.prototype._get_selection_list = function(name, selection_list, default_value) {\n          if (!selection_list || selection_list.length === 0) {\n            throw new Error(\"Selection list cannot be empty.\");\n          }\n          default_value = default_value || [selection_list[0]];\n          if (!this._is_valid_selection(default_value, selection_list)) {\n            throw new Error(\"Invalid Default Value!\");\n          }\n          var result = this._get_array(name, default_value);\n          if (!this._is_valid_selection(result, selection_list)) {\n            throw new Error(\n              \"Invalid Option Value: The option '\" + name + \"' can contain only the following values:\\n\" + selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\"\n            );\n          }\n          return result;\n        };\n        Options.prototype._is_valid_selection = function(result, selection_list) {\n          return result.length && selection_list.length && !result.some(function(item) {\n            return selection_list.indexOf(item) === -1;\n          });\n        };\n        function _mergeOpts(allOptions, childFieldName) {\n          var finalOpts = {};\n          allOptions = _normalizeOpts(allOptions);\n          var name;\n          for (name in allOptions) {\n            if (name !== childFieldName) {\n              finalOpts[name] = allOptions[name];\n            }\n          }\n          if (childFieldName && allOptions[childFieldName]) {\n            for (name in allOptions[childFieldName]) {\n              finalOpts[name] = allOptions[childFieldName][name];\n            }\n          }\n          return finalOpts;\n        }\n        function _normalizeOpts(options) {\n          var convertedOpts = {};\n          var key;\n          for (key in options) {\n            var newKey = key.replace(/-/g, \"_\");\n            convertedOpts[newKey] = options[key];\n          }\n          return convertedOpts;\n        }\n        module.exports.Options = Options;\n        module.exports.normalizeOpts = _normalizeOpts;\n        module.exports.mergeOpts = _mergeOpts;\n      },\n      ,\n      /* 8 */\n      /***/\n      function(module) {\n        var regexp_has_sticky = RegExp.prototype.hasOwnProperty(\"sticky\");\n        function InputScanner(input_string) {\n          this.__input = input_string || \"\";\n          this.__input_length = this.__input.length;\n          this.__position = 0;\n        }\n        InputScanner.prototype.restart = function() {\n          this.__position = 0;\n        };\n        InputScanner.prototype.back = function() {\n          if (this.__position > 0) {\n            this.__position -= 1;\n          }\n        };\n        InputScanner.prototype.hasNext = function() {\n          return this.__position < this.__input_length;\n        };\n        InputScanner.prototype.next = function() {\n          var val = null;\n          if (this.hasNext()) {\n            val = this.__input.charAt(this.__position);\n            this.__position += 1;\n          }\n          return val;\n        };\n        InputScanner.prototype.peek = function(index) {\n          var val = null;\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__input_length) {\n            val = this.__input.charAt(index);\n          }\n          return val;\n        };\n        InputScanner.prototype.__match = function(pattern, index) {\n          pattern.lastIndex = index;\n          var pattern_match = pattern.exec(this.__input);\n          if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {\n            if (pattern_match.index !== index) {\n              pattern_match = null;\n            }\n          }\n          return pattern_match;\n        };\n        InputScanner.prototype.test = function(pattern, index) {\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__input_length) {\n            return !!this.__match(pattern, index);\n          } else {\n            return false;\n          }\n        };\n        InputScanner.prototype.testChar = function(pattern, index) {\n          var val = this.peek(index);\n          pattern.lastIndex = 0;\n          return val !== null && pattern.test(val);\n        };\n        InputScanner.prototype.match = function(pattern) {\n          var pattern_match = this.__match(pattern, this.__position);\n          if (pattern_match) {\n            this.__position += pattern_match[0].length;\n          } else {\n            pattern_match = null;\n          }\n          return pattern_match;\n        };\n        InputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {\n          var val = \"\";\n          var match;\n          if (starting_pattern) {\n            match = this.match(starting_pattern);\n            if (match) {\n              val += match[0];\n            }\n          }\n          if (until_pattern && (match || !starting_pattern)) {\n            val += this.readUntil(until_pattern, until_after);\n          }\n          return val;\n        };\n        InputScanner.prototype.readUntil = function(pattern, until_after) {\n          var val = \"\";\n          var match_index = this.__position;\n          pattern.lastIndex = this.__position;\n          var pattern_match = pattern.exec(this.__input);\n          if (pattern_match) {\n            match_index = pattern_match.index;\n            if (until_after) {\n              match_index += pattern_match[0].length;\n            }\n          } else {\n            match_index = this.__input_length;\n          }\n          val = this.__input.substring(this.__position, match_index);\n          this.__position = match_index;\n          return val;\n        };\n        InputScanner.prototype.readUntilAfter = function(pattern) {\n          return this.readUntil(pattern, true);\n        };\n        InputScanner.prototype.get_regexp = function(pattern, match_from) {\n          var result = null;\n          var flags = \"g\";\n          if (match_from && regexp_has_sticky) {\n            flags = \"y\";\n          }\n          if (typeof pattern === \"string\" && pattern !== \"\") {\n            result = new RegExp(pattern, flags);\n          } else if (pattern) {\n            result = new RegExp(pattern.source, flags);\n          }\n          return result;\n        };\n        InputScanner.prototype.get_literal_regexp = function(literal_string) {\n          return RegExp(literal_string.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\"));\n        };\n        InputScanner.prototype.peekUntilAfter = function(pattern) {\n          var start = this.__position;\n          var val = this.readUntilAfter(pattern);\n          this.__position = start;\n          return val;\n        };\n        InputScanner.prototype.lookBack = function(testVal) {\n          var start = this.__position - 1;\n          return start >= testVal.length && this.__input.substring(start - testVal.length, start).toLowerCase() === testVal;\n        };\n        module.exports.InputScanner = InputScanner;\n      },\n      /* 9 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var InputScanner = __webpack_require__2(8).InputScanner;\n        var Token2 = __webpack_require__2(3).Token;\n        var TokenStream = __webpack_require__2(10).TokenStream;\n        var WhitespacePattern = __webpack_require__2(11).WhitespacePattern;\n        var TOKEN = {\n          START: \"TK_START\",\n          RAW: \"TK_RAW\",\n          EOF: \"TK_EOF\"\n        };\n        var Tokenizer = function(input_string, options) {\n          this._input = new InputScanner(input_string);\n          this._options = options || {};\n          this.__tokens = null;\n          this._patterns = {};\n          this._patterns.whitespace = new WhitespacePattern(this._input);\n        };\n        Tokenizer.prototype.tokenize = function() {\n          this._input.restart();\n          this.__tokens = new TokenStream();\n          this._reset();\n          var current;\n          var previous = new Token2(TOKEN.START, \"\");\n          var open_token = null;\n          var open_stack = [];\n          var comments = new TokenStream();\n          while (previous.type !== TOKEN.EOF) {\n            current = this._get_next_token(previous, open_token);\n            while (this._is_comment(current)) {\n              comments.add(current);\n              current = this._get_next_token(previous, open_token);\n            }\n            if (!comments.isEmpty()) {\n              current.comments_before = comments;\n              comments = new TokenStream();\n            }\n            current.parent = open_token;\n            if (this._is_opening(current)) {\n              open_stack.push(open_token);\n              open_token = current;\n            } else if (open_token && this._is_closing(current, open_token)) {\n              current.opened = open_token;\n              open_token.closed = current;\n              open_token = open_stack.pop();\n              current.parent = open_token;\n            }\n            current.previous = previous;\n            previous.next = current;\n            this.__tokens.add(current);\n            previous = current;\n          }\n          return this.__tokens;\n        };\n        Tokenizer.prototype._is_first_token = function() {\n          return this.__tokens.isEmpty();\n        };\n        Tokenizer.prototype._reset = function() {\n        };\n        Tokenizer.prototype._get_next_token = function(previous_token, open_token) {\n          this._readWhitespace();\n          var resulting_string = this._input.read(/.+/g);\n          if (resulting_string) {\n            return this._create_token(TOKEN.RAW, resulting_string);\n          } else {\n            return this._create_token(TOKEN.EOF, \"\");\n          }\n        };\n        Tokenizer.prototype._is_comment = function(current_token) {\n          return false;\n        };\n        Tokenizer.prototype._is_opening = function(current_token) {\n          return false;\n        };\n        Tokenizer.prototype._is_closing = function(current_token, open_token) {\n          return false;\n        };\n        Tokenizer.prototype._create_token = function(type, text) {\n          var token = new Token2(\n            type,\n            text,\n            this._patterns.whitespace.newline_count,\n            this._patterns.whitespace.whitespace_before_token\n          );\n          return token;\n        };\n        Tokenizer.prototype._readWhitespace = function() {\n          return this._patterns.whitespace.read();\n        };\n        module.exports.Tokenizer = Tokenizer;\n        module.exports.TOKEN = TOKEN;\n      },\n      /* 10 */\n      /***/\n      function(module) {\n        function TokenStream(parent_token) {\n          this.__tokens = [];\n          this.__tokens_length = this.__tokens.length;\n          this.__position = 0;\n          this.__parent_token = parent_token;\n        }\n        TokenStream.prototype.restart = function() {\n          this.__position = 0;\n        };\n        TokenStream.prototype.isEmpty = function() {\n          return this.__tokens_length === 0;\n        };\n        TokenStream.prototype.hasNext = function() {\n          return this.__position < this.__tokens_length;\n        };\n        TokenStream.prototype.next = function() {\n          var val = null;\n          if (this.hasNext()) {\n            val = this.__tokens[this.__position];\n            this.__position += 1;\n          }\n          return val;\n        };\n        TokenStream.prototype.peek = function(index) {\n          var val = null;\n          index = index || 0;\n          index += this.__position;\n          if (index >= 0 && index < this.__tokens_length) {\n            val = this.__tokens[index];\n          }\n          return val;\n        };\n        TokenStream.prototype.add = function(token) {\n          if (this.__parent_token) {\n            token.parent = this.__parent_token;\n          }\n          this.__tokens.push(token);\n          this.__tokens_length += 1;\n        };\n        module.exports.TokenStream = TokenStream;\n      },\n      /* 11 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Pattern = __webpack_require__2(12).Pattern;\n        function WhitespacePattern(input_scanner, parent) {\n          Pattern.call(this, input_scanner, parent);\n          if (parent) {\n            this._line_regexp = this._input.get_regexp(parent._line_regexp);\n          } else {\n            this.__set_whitespace_patterns(\"\", \"\");\n          }\n          this.newline_count = 0;\n          this.whitespace_before_token = \"\";\n        }\n        WhitespacePattern.prototype = new Pattern();\n        WhitespacePattern.prototype.__set_whitespace_patterns = function(whitespace_chars, newline_chars) {\n          whitespace_chars += \"\\\\t \";\n          newline_chars += \"\\\\n\\\\r\";\n          this._match_pattern = this._input.get_regexp(\n            \"[\" + whitespace_chars + newline_chars + \"]+\",\n            true\n          );\n          this._newline_regexp = this._input.get_regexp(\n            \"\\\\r\\\\n|[\" + newline_chars + \"]\"\n          );\n        };\n        WhitespacePattern.prototype.read = function() {\n          this.newline_count = 0;\n          this.whitespace_before_token = \"\";\n          var resulting_string = this._input.read(this._match_pattern);\n          if (resulting_string === \" \") {\n            this.whitespace_before_token = \" \";\n          } else if (resulting_string) {\n            var matches = this.__split(this._newline_regexp, resulting_string);\n            this.newline_count = matches.length - 1;\n            this.whitespace_before_token = matches[this.newline_count];\n          }\n          return resulting_string;\n        };\n        WhitespacePattern.prototype.matching = function(whitespace_chars, newline_chars) {\n          var result = this._create();\n          result.__set_whitespace_patterns(whitespace_chars, newline_chars);\n          result._update();\n          return result;\n        };\n        WhitespacePattern.prototype._create = function() {\n          return new WhitespacePattern(this._input, this);\n        };\n        WhitespacePattern.prototype.__split = function(regexp, input_string) {\n          regexp.lastIndex = 0;\n          var start_index = 0;\n          var result = [];\n          var next_match = regexp.exec(input_string);\n          while (next_match) {\n            result.push(input_string.substring(start_index, next_match.index));\n            start_index = next_match.index + next_match[0].length;\n            next_match = regexp.exec(input_string);\n          }\n          if (start_index < input_string.length) {\n            result.push(input_string.substring(start_index, input_string.length));\n          } else {\n            result.push(\"\");\n          }\n          return result;\n        };\n        module.exports.WhitespacePattern = WhitespacePattern;\n      },\n      /* 12 */\n      /***/\n      function(module) {\n        function Pattern(input_scanner, parent) {\n          this._input = input_scanner;\n          this._starting_pattern = null;\n          this._match_pattern = null;\n          this._until_pattern = null;\n          this._until_after = false;\n          if (parent) {\n            this._starting_pattern = this._input.get_regexp(parent._starting_pattern, true);\n            this._match_pattern = this._input.get_regexp(parent._match_pattern, true);\n            this._until_pattern = this._input.get_regexp(parent._until_pattern);\n            this._until_after = parent._until_after;\n          }\n        }\n        Pattern.prototype.read = function() {\n          var result = this._input.read(this._starting_pattern);\n          if (!this._starting_pattern || result) {\n            result += this._input.read(this._match_pattern, this._until_pattern, this._until_after);\n          }\n          return result;\n        };\n        Pattern.prototype.read_match = function() {\n          return this._input.match(this._match_pattern);\n        };\n        Pattern.prototype.until_after = function(pattern) {\n          var result = this._create();\n          result._until_after = true;\n          result._until_pattern = this._input.get_regexp(pattern);\n          result._update();\n          return result;\n        };\n        Pattern.prototype.until = function(pattern) {\n          var result = this._create();\n          result._until_after = false;\n          result._until_pattern = this._input.get_regexp(pattern);\n          result._update();\n          return result;\n        };\n        Pattern.prototype.starting_with = function(pattern) {\n          var result = this._create();\n          result._starting_pattern = this._input.get_regexp(pattern, true);\n          result._update();\n          return result;\n        };\n        Pattern.prototype.matching = function(pattern) {\n          var result = this._create();\n          result._match_pattern = this._input.get_regexp(pattern, true);\n          result._update();\n          return result;\n        };\n        Pattern.prototype._create = function() {\n          return new Pattern(this._input, this);\n        };\n        Pattern.prototype._update = function() {\n        };\n        module.exports.Pattern = Pattern;\n      },\n      /* 13 */\n      /***/\n      function(module) {\n        function Directives(start_block_pattern, end_block_pattern) {\n          start_block_pattern = typeof start_block_pattern === \"string\" ? start_block_pattern : start_block_pattern.source;\n          end_block_pattern = typeof end_block_pattern === \"string\" ? end_block_pattern : end_block_pattern.source;\n          this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \\w+[:]\\w+)+ /.source + end_block_pattern, \"g\");\n          this.__directive_pattern = / (\\w+)[:](\\w+)/g;\n          this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\\sbeautify\\signore:end\\s/.source + end_block_pattern, \"g\");\n        }\n        Directives.prototype.get_directives = function(text) {\n          if (!text.match(this.__directives_block_pattern)) {\n            return null;\n          }\n          var directives = {};\n          this.__directive_pattern.lastIndex = 0;\n          var directive_match = this.__directive_pattern.exec(text);\n          while (directive_match) {\n            directives[directive_match[1]] = directive_match[2];\n            directive_match = this.__directive_pattern.exec(text);\n          }\n          return directives;\n        };\n        Directives.prototype.readIgnored = function(input) {\n          return input.readUntilAfter(this.__directives_end_ignore_pattern);\n        };\n        module.exports.Directives = Directives;\n      },\n      /* 14 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Pattern = __webpack_require__2(12).Pattern;\n        var template_names = {\n          django: false,\n          erb: false,\n          handlebars: false,\n          php: false,\n          smarty: false\n        };\n        function TemplatablePattern(input_scanner, parent) {\n          Pattern.call(this, input_scanner, parent);\n          this.__template_pattern = null;\n          this._disabled = Object.assign({}, template_names);\n          this._excluded = Object.assign({}, template_names);\n          if (parent) {\n            this.__template_pattern = this._input.get_regexp(parent.__template_pattern);\n            this._excluded = Object.assign(this._excluded, parent._excluded);\n            this._disabled = Object.assign(this._disabled, parent._disabled);\n          }\n          var pattern = new Pattern(input_scanner);\n          this.__patterns = {\n            handlebars_comment: pattern.starting_with(/{{!--/).until_after(/--}}/),\n            handlebars_unescaped: pattern.starting_with(/{{{/).until_after(/}}}/),\n            handlebars: pattern.starting_with(/{{/).until_after(/}}/),\n            php: pattern.starting_with(/<\\?(?:[= ]|php)/).until_after(/\\?>/),\n            erb: pattern.starting_with(/<%[^%]/).until_after(/[^%]%>/),\n            // django coflicts with handlebars a bit.\n            django: pattern.starting_with(/{%/).until_after(/%}/),\n            django_value: pattern.starting_with(/{{/).until_after(/}}/),\n            django_comment: pattern.starting_with(/{#/).until_after(/#}/),\n            smarty: pattern.starting_with(/{(?=[^}{\\s\\n])/).until_after(/[^\\s\\n]}/),\n            smarty_comment: pattern.starting_with(/{\\*/).until_after(/\\*}/),\n            smarty_literal: pattern.starting_with(/{literal}/).until_after(/{\\/literal}/)\n          };\n        }\n        TemplatablePattern.prototype = new Pattern();\n        TemplatablePattern.prototype._create = function() {\n          return new TemplatablePattern(this._input, this);\n        };\n        TemplatablePattern.prototype._update = function() {\n          this.__set_templated_pattern();\n        };\n        TemplatablePattern.prototype.disable = function(language) {\n          var result = this._create();\n          result._disabled[language] = true;\n          result._update();\n          return result;\n        };\n        TemplatablePattern.prototype.read_options = function(options) {\n          var result = this._create();\n          for (var language in template_names) {\n            result._disabled[language] = options.templating.indexOf(language) === -1;\n          }\n          result._update();\n          return result;\n        };\n        TemplatablePattern.prototype.exclude = function(language) {\n          var result = this._create();\n          result._excluded[language] = true;\n          result._update();\n          return result;\n        };\n        TemplatablePattern.prototype.read = function() {\n          var result = \"\";\n          if (this._match_pattern) {\n            result = this._input.read(this._starting_pattern);\n          } else {\n            result = this._input.read(this._starting_pattern, this.__template_pattern);\n          }\n          var next = this._read_template();\n          while (next) {\n            if (this._match_pattern) {\n              next += this._input.read(this._match_pattern);\n            } else {\n              next += this._input.readUntil(this.__template_pattern);\n            }\n            result += next;\n            next = this._read_template();\n          }\n          if (this._until_after) {\n            result += this._input.readUntilAfter(this._until_pattern);\n          }\n          return result;\n        };\n        TemplatablePattern.prototype.__set_templated_pattern = function() {\n          var items = [];\n          if (!this._disabled.php) {\n            items.push(this.__patterns.php._starting_pattern.source);\n          }\n          if (!this._disabled.handlebars) {\n            items.push(this.__patterns.handlebars._starting_pattern.source);\n          }\n          if (!this._disabled.erb) {\n            items.push(this.__patterns.erb._starting_pattern.source);\n          }\n          if (!this._disabled.django) {\n            items.push(this.__patterns.django._starting_pattern.source);\n            items.push(this.__patterns.django_value._starting_pattern.source);\n            items.push(this.__patterns.django_comment._starting_pattern.source);\n          }\n          if (!this._disabled.smarty) {\n            items.push(this.__patterns.smarty._starting_pattern.source);\n          }\n          if (this._until_pattern) {\n            items.push(this._until_pattern.source);\n          }\n          this.__template_pattern = this._input.get_regexp(\"(?:\" + items.join(\"|\") + \")\");\n        };\n        TemplatablePattern.prototype._read_template = function() {\n          var resulting_string = \"\";\n          var c = this._input.peek();\n          if (c === \"<\") {\n            var peek1 = this._input.peek(1);\n            if (!this._disabled.php && !this._excluded.php && peek1 === \"?\") {\n              resulting_string = resulting_string || this.__patterns.php.read();\n            }\n            if (!this._disabled.erb && !this._excluded.erb && peek1 === \"%\") {\n              resulting_string = resulting_string || this.__patterns.erb.read();\n            }\n          } else if (c === \"{\") {\n            if (!this._disabled.handlebars && !this._excluded.handlebars) {\n              resulting_string = resulting_string || this.__patterns.handlebars_comment.read();\n              resulting_string = resulting_string || this.__patterns.handlebars_unescaped.read();\n              resulting_string = resulting_string || this.__patterns.handlebars.read();\n            }\n            if (!this._disabled.django) {\n              if (!this._excluded.django && !this._excluded.handlebars) {\n                resulting_string = resulting_string || this.__patterns.django_value.read();\n              }\n              if (!this._excluded.django) {\n                resulting_string = resulting_string || this.__patterns.django_comment.read();\n                resulting_string = resulting_string || this.__patterns.django.read();\n              }\n            }\n            if (!this._disabled.smarty) {\n              if (this._disabled.django && this._disabled.handlebars) {\n                resulting_string = resulting_string || this.__patterns.smarty_comment.read();\n                resulting_string = resulting_string || this.__patterns.smarty_literal.read();\n                resulting_string = resulting_string || this.__patterns.smarty.read();\n              }\n            }\n          }\n          return resulting_string;\n        };\n        module.exports.TemplatablePattern = TemplatablePattern;\n      },\n      ,\n      ,\n      ,\n      /* 18 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Beautifier = __webpack_require__2(19).Beautifier, Options = __webpack_require__2(20).Options;\n        function style_html(html_source, options, js_beautify2, css_beautify2) {\n          var beautifier = new Beautifier(html_source, options, js_beautify2, css_beautify2);\n          return beautifier.beautify();\n        }\n        module.exports = style_html;\n        module.exports.defaultOptions = function() {\n          return new Options();\n        };\n      },\n      /* 19 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var Options = __webpack_require__2(20).Options;\n        var Output = __webpack_require__2(2).Output;\n        var Tokenizer = __webpack_require__2(21).Tokenizer;\n        var TOKEN = __webpack_require__2(21).TOKEN;\n        var lineBreak = /\\r\\n|[\\r\\n]/;\n        var allLineBreaks = /\\r\\n|[\\r\\n]/g;\n        var Printer = function(options, base_indent_string) {\n          this.indent_level = 0;\n          this.alignment_size = 0;\n          this.max_preserve_newlines = options.max_preserve_newlines;\n          this.preserve_newlines = options.preserve_newlines;\n          this._output = new Output(options, base_indent_string);\n        };\n        Printer.prototype.current_line_has_match = function(pattern) {\n          return this._output.current_line.has_match(pattern);\n        };\n        Printer.prototype.set_space_before_token = function(value, non_breaking) {\n          this._output.space_before_token = value;\n          this._output.non_breaking_space = non_breaking;\n        };\n        Printer.prototype.set_wrap_point = function() {\n          this._output.set_indent(this.indent_level, this.alignment_size);\n          this._output.set_wrap_point();\n        };\n        Printer.prototype.add_raw_token = function(token) {\n          this._output.add_raw_token(token);\n        };\n        Printer.prototype.print_preserved_newlines = function(raw_token) {\n          var newlines = 0;\n          if (raw_token.type !== TOKEN.TEXT && raw_token.previous.type !== TOKEN.TEXT) {\n            newlines = raw_token.newlines ? 1 : 0;\n          }\n          if (this.preserve_newlines) {\n            newlines = raw_token.newlines < this.max_preserve_newlines + 1 ? raw_token.newlines : this.max_preserve_newlines + 1;\n          }\n          for (var n = 0; n < newlines; n++) {\n            this.print_newline(n > 0);\n          }\n          return newlines !== 0;\n        };\n        Printer.prototype.traverse_whitespace = function(raw_token) {\n          if (raw_token.whitespace_before || raw_token.newlines) {\n            if (!this.print_preserved_newlines(raw_token)) {\n              this._output.space_before_token = true;\n            }\n            return true;\n          }\n          return false;\n        };\n        Printer.prototype.previous_token_wrapped = function() {\n          return this._output.previous_token_wrapped;\n        };\n        Printer.prototype.print_newline = function(force) {\n          this._output.add_new_line(force);\n        };\n        Printer.prototype.print_token = function(token) {\n          if (token.text) {\n            this._output.set_indent(this.indent_level, this.alignment_size);\n            this._output.add_token(token.text);\n          }\n        };\n        Printer.prototype.indent = function() {\n          this.indent_level++;\n        };\n        Printer.prototype.get_full_indent = function(level) {\n          level = this.indent_level + (level || 0);\n          if (level < 1) {\n            return \"\";\n          }\n          return this._output.get_indent_string(level);\n        };\n        var get_type_attribute = function(start_token) {\n          var result = null;\n          var raw_token = start_token.next;\n          while (raw_token.type !== TOKEN.EOF && start_token.closed !== raw_token) {\n            if (raw_token.type === TOKEN.ATTRIBUTE && raw_token.text === \"type\") {\n              if (raw_token.next && raw_token.next.type === TOKEN.EQUALS && raw_token.next.next && raw_token.next.next.type === TOKEN.VALUE) {\n                result = raw_token.next.next.text;\n              }\n              break;\n            }\n            raw_token = raw_token.next;\n          }\n          return result;\n        };\n        var get_custom_beautifier_name = function(tag_check, raw_token) {\n          var typeAttribute = null;\n          var result = null;\n          if (!raw_token.closed) {\n            return null;\n          }\n          if (tag_check === \"script\") {\n            typeAttribute = \"text/javascript\";\n          } else if (tag_check === \"style\") {\n            typeAttribute = \"text/css\";\n          }\n          typeAttribute = get_type_attribute(raw_token) || typeAttribute;\n          if (typeAttribute.search(\"text/css\") > -1) {\n            result = \"css\";\n          } else if (typeAttribute.search(/module|((text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\\+)?json|method|aspect))/) > -1) {\n            result = \"javascript\";\n          } else if (typeAttribute.search(/(text|application|dojo)\\/(x-)?(html)/) > -1) {\n            result = \"html\";\n          } else if (typeAttribute.search(/test\\/null/) > -1) {\n            result = \"null\";\n          }\n          return result;\n        };\n        function in_array(what, arr) {\n          return arr.indexOf(what) !== -1;\n        }\n        function TagFrame(parent, parser_token, indent_level) {\n          this.parent = parent || null;\n          this.tag = parser_token ? parser_token.tag_name : \"\";\n          this.indent_level = indent_level || 0;\n          this.parser_token = parser_token || null;\n        }\n        function TagStack(printer) {\n          this._printer = printer;\n          this._current_frame = null;\n        }\n        TagStack.prototype.get_parser_token = function() {\n          return this._current_frame ? this._current_frame.parser_token : null;\n        };\n        TagStack.prototype.record_tag = function(parser_token) {\n          var new_frame = new TagFrame(this._current_frame, parser_token, this._printer.indent_level);\n          this._current_frame = new_frame;\n        };\n        TagStack.prototype._try_pop_frame = function(frame) {\n          var parser_token = null;\n          if (frame) {\n            parser_token = frame.parser_token;\n            this._printer.indent_level = frame.indent_level;\n            this._current_frame = frame.parent;\n          }\n          return parser_token;\n        };\n        TagStack.prototype._get_frame = function(tag_list, stop_list) {\n          var frame = this._current_frame;\n          while (frame) {\n            if (tag_list.indexOf(frame.tag) !== -1) {\n              break;\n            } else if (stop_list && stop_list.indexOf(frame.tag) !== -1) {\n              frame = null;\n              break;\n            }\n            frame = frame.parent;\n          }\n          return frame;\n        };\n        TagStack.prototype.try_pop = function(tag, stop_list) {\n          var frame = this._get_frame([tag], stop_list);\n          return this._try_pop_frame(frame);\n        };\n        TagStack.prototype.indent_to_tag = function(tag_list) {\n          var frame = this._get_frame(tag_list);\n          if (frame) {\n            this._printer.indent_level = frame.indent_level;\n          }\n        };\n        function Beautifier(source_text, options, js_beautify2, css_beautify2) {\n          this._source_text = source_text || \"\";\n          options = options || {};\n          this._js_beautify = js_beautify2;\n          this._css_beautify = css_beautify2;\n          this._tag_stack = null;\n          var optionHtml = new Options(options, \"html\");\n          this._options = optionHtml;\n          this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, \"force\".length) === \"force\";\n          this._is_wrap_attributes_force_expand_multiline = this._options.wrap_attributes === \"force-expand-multiline\";\n          this._is_wrap_attributes_force_aligned = this._options.wrap_attributes === \"force-aligned\";\n          this._is_wrap_attributes_aligned_multiple = this._options.wrap_attributes === \"aligned-multiple\";\n          this._is_wrap_attributes_preserve = this._options.wrap_attributes.substr(0, \"preserve\".length) === \"preserve\";\n          this._is_wrap_attributes_preserve_aligned = this._options.wrap_attributes === \"preserve-aligned\";\n        }\n        Beautifier.prototype.beautify = function() {\n          if (this._options.disabled) {\n            return this._source_text;\n          }\n          var source_text = this._source_text;\n          var eol = this._options.eol;\n          if (this._options.eol === \"auto\") {\n            eol = \"\\n\";\n            if (source_text && lineBreak.test(source_text)) {\n              eol = source_text.match(lineBreak)[0];\n            }\n          }\n          source_text = source_text.replace(allLineBreaks, \"\\n\");\n          var baseIndentString = source_text.match(/^[\\t ]*/)[0];\n          var last_token = {\n            text: \"\",\n            type: \"\"\n          };\n          var last_tag_token = new TagOpenParserToken();\n          var printer = new Printer(this._options, baseIndentString);\n          var tokens = new Tokenizer(source_text, this._options).tokenize();\n          this._tag_stack = new TagStack(printer);\n          var parser_token = null;\n          var raw_token = tokens.next();\n          while (raw_token.type !== TOKEN.EOF) {\n            if (raw_token.type === TOKEN.TAG_OPEN || raw_token.type === TOKEN.COMMENT) {\n              parser_token = this._handle_tag_open(printer, raw_token, last_tag_token, last_token);\n              last_tag_token = parser_token;\n            } else if (raw_token.type === TOKEN.ATTRIBUTE || raw_token.type === TOKEN.EQUALS || raw_token.type === TOKEN.VALUE || raw_token.type === TOKEN.TEXT && !last_tag_token.tag_complete) {\n              parser_token = this._handle_inside_tag(printer, raw_token, last_tag_token, tokens);\n            } else if (raw_token.type === TOKEN.TAG_CLOSE) {\n              parser_token = this._handle_tag_close(printer, raw_token, last_tag_token);\n            } else if (raw_token.type === TOKEN.TEXT) {\n              parser_token = this._handle_text(printer, raw_token, last_tag_token);\n            } else {\n              printer.add_raw_token(raw_token);\n            }\n            last_token = parser_token;\n            raw_token = tokens.next();\n          }\n          var sweet_code = printer._output.get_code(eol);\n          return sweet_code;\n        };\n        Beautifier.prototype._handle_tag_close = function(printer, raw_token, last_tag_token) {\n          var parser_token = {\n            text: raw_token.text,\n            type: raw_token.type\n          };\n          printer.alignment_size = 0;\n          last_tag_token.tag_complete = true;\n          printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== \"\", true);\n          if (last_tag_token.is_unformatted) {\n            printer.add_raw_token(raw_token);\n          } else {\n            if (last_tag_token.tag_start_char === \"<\") {\n              printer.set_space_before_token(raw_token.text[0] === \"/\", true);\n              if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.has_wrapped_attrs) {\n                printer.print_newline(false);\n              }\n            }\n            printer.print_token(raw_token);\n          }\n          if (last_tag_token.indent_content && !(last_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {\n            printer.indent();\n            last_tag_token.indent_content = false;\n          }\n          if (!last_tag_token.is_inline_element && !(last_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {\n            printer.set_wrap_point();\n          }\n          return parser_token;\n        };\n        Beautifier.prototype._handle_inside_tag = function(printer, raw_token, last_tag_token, tokens) {\n          var wrapped = last_tag_token.has_wrapped_attrs;\n          var parser_token = {\n            text: raw_token.text,\n            type: raw_token.type\n          };\n          printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== \"\", true);\n          if (last_tag_token.is_unformatted) {\n            printer.add_raw_token(raw_token);\n          } else if (last_tag_token.tag_start_char === \"{\" && raw_token.type === TOKEN.TEXT) {\n            if (printer.print_preserved_newlines(raw_token)) {\n              raw_token.newlines = 0;\n              printer.add_raw_token(raw_token);\n            } else {\n              printer.print_token(raw_token);\n            }\n          } else {\n            if (raw_token.type === TOKEN.ATTRIBUTE) {\n              printer.set_space_before_token(true);\n              last_tag_token.attr_count += 1;\n            } else if (raw_token.type === TOKEN.EQUALS) {\n              printer.set_space_before_token(false);\n            } else if (raw_token.type === TOKEN.VALUE && raw_token.previous.type === TOKEN.EQUALS) {\n              printer.set_space_before_token(false);\n            }\n            if (raw_token.type === TOKEN.ATTRIBUTE && last_tag_token.tag_start_char === \"<\") {\n              if (this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) {\n                printer.traverse_whitespace(raw_token);\n                wrapped = wrapped || raw_token.newlines !== 0;\n              }\n              if (this._is_wrap_attributes_force) {\n                var force_attr_wrap = last_tag_token.attr_count > 1;\n                if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.attr_count === 1) {\n                  var is_only_attribute = true;\n                  var peek_index = 0;\n                  var peek_token;\n                  do {\n                    peek_token = tokens.peek(peek_index);\n                    if (peek_token.type === TOKEN.ATTRIBUTE) {\n                      is_only_attribute = false;\n                      break;\n                    }\n                    peek_index += 1;\n                  } while (peek_index < 4 && peek_token.type !== TOKEN.EOF && peek_token.type !== TOKEN.TAG_CLOSE);\n                  force_attr_wrap = !is_only_attribute;\n                }\n                if (force_attr_wrap) {\n                  printer.print_newline(false);\n                  wrapped = true;\n                }\n              }\n            }\n            printer.print_token(raw_token);\n            wrapped = wrapped || printer.previous_token_wrapped();\n            last_tag_token.has_wrapped_attrs = wrapped;\n          }\n          return parser_token;\n        };\n        Beautifier.prototype._handle_text = function(printer, raw_token, last_tag_token) {\n          var parser_token = {\n            text: raw_token.text,\n            type: \"TK_CONTENT\"\n          };\n          if (last_tag_token.custom_beautifier_name) {\n            this._print_custom_beatifier_text(printer, raw_token, last_tag_token);\n          } else if (last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) {\n            printer.add_raw_token(raw_token);\n          } else {\n            printer.traverse_whitespace(raw_token);\n            printer.print_token(raw_token);\n          }\n          return parser_token;\n        };\n        Beautifier.prototype._print_custom_beatifier_text = function(printer, raw_token, last_tag_token) {\n          var local = this;\n          if (raw_token.text !== \"\") {\n            var text = raw_token.text, _beautifier, script_indent_level = 1, pre = \"\", post = \"\";\n            if (last_tag_token.custom_beautifier_name === \"javascript\" && typeof this._js_beautify === \"function\") {\n              _beautifier = this._js_beautify;\n            } else if (last_tag_token.custom_beautifier_name === \"css\" && typeof this._css_beautify === \"function\") {\n              _beautifier = this._css_beautify;\n            } else if (last_tag_token.custom_beautifier_name === \"html\") {\n              _beautifier = function(html_source, options) {\n                var beautifier = new Beautifier(html_source, options, local._js_beautify, local._css_beautify);\n                return beautifier.beautify();\n              };\n            }\n            if (this._options.indent_scripts === \"keep\") {\n              script_indent_level = 0;\n            } else if (this._options.indent_scripts === \"separate\") {\n              script_indent_level = -printer.indent_level;\n            }\n            var indentation = printer.get_full_indent(script_indent_level);\n            text = text.replace(/\\n[ \\t]*$/, \"\");\n            if (last_tag_token.custom_beautifier_name !== \"html\" && text[0] === \"<\" && text.match(/^(<!--|<!\\[CDATA\\[)/)) {\n              var matched = /^(<!--[^\\n]*|<!\\[CDATA\\[)(\\n?)([ \\t\\n]*)([\\s\\S]*)(-->|]]>)$/.exec(text);\n              if (!matched) {\n                printer.add_raw_token(raw_token);\n                return;\n              }\n              pre = indentation + matched[1] + \"\\n\";\n              text = matched[4];\n              if (matched[5]) {\n                post = indentation + matched[5];\n              }\n              text = text.replace(/\\n[ \\t]*$/, \"\");\n              if (matched[2] || matched[3].indexOf(\"\\n\") !== -1) {\n                matched = matched[3].match(/[ \\t]+$/);\n                if (matched) {\n                  raw_token.whitespace_before = matched[0];\n                }\n              }\n            }\n            if (text) {\n              if (_beautifier) {\n                var Child_options = function() {\n                  this.eol = \"\\n\";\n                };\n                Child_options.prototype = this._options.raw_options;\n                var child_options = new Child_options();\n                text = _beautifier(indentation + text, child_options);\n              } else {\n                var white = raw_token.whitespace_before;\n                if (white) {\n                  text = text.replace(new RegExp(\"\\n(\" + white + \")?\", \"g\"), \"\\n\");\n                }\n                text = indentation + text.replace(/\\n/g, \"\\n\" + indentation);\n              }\n            }\n            if (pre) {\n              if (!text) {\n                text = pre + post;\n              } else {\n                text = pre + text + \"\\n\" + post;\n              }\n            }\n            printer.print_newline(false);\n            if (text) {\n              raw_token.text = text;\n              raw_token.whitespace_before = \"\";\n              raw_token.newlines = 0;\n              printer.add_raw_token(raw_token);\n              printer.print_newline(true);\n            }\n          }\n        };\n        Beautifier.prototype._handle_tag_open = function(printer, raw_token, last_tag_token, last_token) {\n          var parser_token = this._get_tag_open_token(raw_token);\n          if ((last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) && !last_tag_token.is_empty_element && raw_token.type === TOKEN.TAG_OPEN && raw_token.text.indexOf(\"</\") === 0) {\n            printer.add_raw_token(raw_token);\n            parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.tag_name);\n          } else {\n            printer.traverse_whitespace(raw_token);\n            this._set_tag_position(printer, raw_token, parser_token, last_tag_token, last_token);\n            if (!parser_token.is_inline_element) {\n              printer.set_wrap_point();\n            }\n            printer.print_token(raw_token);\n          }\n          if (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) {\n            parser_token.alignment_size = raw_token.text.length + 1;\n          }\n          if (!parser_token.tag_complete && !parser_token.is_unformatted) {\n            printer.alignment_size = parser_token.alignment_size;\n          }\n          return parser_token;\n        };\n        var TagOpenParserToken = function(parent, raw_token) {\n          this.parent = parent || null;\n          this.text = \"\";\n          this.type = \"TK_TAG_OPEN\";\n          this.tag_name = \"\";\n          this.is_inline_element = false;\n          this.is_unformatted = false;\n          this.is_content_unformatted = false;\n          this.is_empty_element = false;\n          this.is_start_tag = false;\n          this.is_end_tag = false;\n          this.indent_content = false;\n          this.multiline_content = false;\n          this.custom_beautifier_name = null;\n          this.start_tag_token = null;\n          this.attr_count = 0;\n          this.has_wrapped_attrs = false;\n          this.alignment_size = 0;\n          this.tag_complete = false;\n          this.tag_start_char = \"\";\n          this.tag_check = \"\";\n          if (!raw_token) {\n            this.tag_complete = true;\n          } else {\n            var tag_check_match;\n            this.tag_start_char = raw_token.text[0];\n            this.text = raw_token.text;\n            if (this.tag_start_char === \"<\") {\n              tag_check_match = raw_token.text.match(/^<([^\\s>]*)/);\n              this.tag_check = tag_check_match ? tag_check_match[1] : \"\";\n            } else {\n              tag_check_match = raw_token.text.match(/^{{(?:[\\^]|#\\*?)?([^\\s}]+)/);\n              this.tag_check = tag_check_match ? tag_check_match[1] : \"\";\n              if (raw_token.text === \"{{#>\" && this.tag_check === \">\" && raw_token.next !== null) {\n                this.tag_check = raw_token.next.text;\n              }\n            }\n            this.tag_check = this.tag_check.toLowerCase();\n            if (raw_token.type === TOKEN.COMMENT) {\n              this.tag_complete = true;\n            }\n            this.is_start_tag = this.tag_check.charAt(0) !== \"/\";\n            this.tag_name = !this.is_start_tag ? this.tag_check.substr(1) : this.tag_check;\n            this.is_end_tag = !this.is_start_tag || raw_token.closed && raw_token.closed.text === \"/>\";\n            this.is_end_tag = this.is_end_tag || this.tag_start_char === \"{\" && (this.text.length < 3 || /[^#\\^]/.test(this.text.charAt(2)));\n          }\n        };\n        Beautifier.prototype._get_tag_open_token = function(raw_token) {\n          var parser_token = new TagOpenParserToken(this._tag_stack.get_parser_token(), raw_token);\n          parser_token.alignment_size = this._options.wrap_attributes_indent_size;\n          parser_token.is_end_tag = parser_token.is_end_tag || in_array(parser_token.tag_check, this._options.void_elements);\n          parser_token.is_empty_element = parser_token.tag_complete || parser_token.is_start_tag && parser_token.is_end_tag;\n          parser_token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this._options.unformatted);\n          parser_token.is_content_unformatted = !parser_token.is_empty_element && in_array(parser_token.tag_check, this._options.content_unformatted);\n          parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_start_char === \"{\";\n          return parser_token;\n        };\n        Beautifier.prototype._set_tag_position = function(printer, raw_token, parser_token, last_tag_token, last_token) {\n          if (!parser_token.is_empty_element) {\n            if (parser_token.is_end_tag) {\n              parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.tag_name);\n            } else {\n              if (this._do_optional_end_element(parser_token)) {\n                if (!parser_token.is_inline_element) {\n                  printer.print_newline(false);\n                }\n              }\n              this._tag_stack.record_tag(parser_token);\n              if ((parser_token.tag_name === \"script\" || parser_token.tag_name === \"style\") && !(parser_token.is_unformatted || parser_token.is_content_unformatted)) {\n                parser_token.custom_beautifier_name = get_custom_beautifier_name(parser_token.tag_check, raw_token);\n              }\n            }\n          }\n          if (in_array(parser_token.tag_check, this._options.extra_liners)) {\n            printer.print_newline(false);\n            if (!printer._output.just_added_blankline()) {\n              printer.print_newline(true);\n            }\n          }\n          if (parser_token.is_empty_element) {\n            if (parser_token.tag_start_char === \"{\" && parser_token.tag_check === \"else\") {\n              this._tag_stack.indent_to_tag([\"if\", \"unless\", \"each\"]);\n              parser_token.indent_content = true;\n              var foundIfOnCurrentLine = printer.current_line_has_match(/{{#if/);\n              if (!foundIfOnCurrentLine) {\n                printer.print_newline(false);\n              }\n            }\n            if (parser_token.tag_name === \"!--\" && last_token.type === TOKEN.TAG_CLOSE && last_tag_token.is_end_tag && parser_token.text.indexOf(\"\\n\") === -1) {\n            } else {\n              if (!(parser_token.is_inline_element || parser_token.is_unformatted)) {\n                printer.print_newline(false);\n              }\n              this._calcluate_parent_multiline(printer, parser_token);\n            }\n          } else if (parser_token.is_end_tag) {\n            var do_end_expand = false;\n            do_end_expand = parser_token.start_tag_token && parser_token.start_tag_token.multiline_content;\n            do_end_expand = do_end_expand || !parser_token.is_inline_element && !(last_tag_token.is_inline_element || last_tag_token.is_unformatted) && !(last_token.type === TOKEN.TAG_CLOSE && parser_token.start_tag_token === last_tag_token) && last_token.type !== \"TK_CONTENT\";\n            if (parser_token.is_content_unformatted || parser_token.is_unformatted) {\n              do_end_expand = false;\n            }\n            if (do_end_expand) {\n              printer.print_newline(false);\n            }\n          } else {\n            parser_token.indent_content = !parser_token.custom_beautifier_name;\n            if (parser_token.tag_start_char === \"<\") {\n              if (parser_token.tag_name === \"html\") {\n                parser_token.indent_content = this._options.indent_inner_html;\n              } else if (parser_token.tag_name === \"head\") {\n                parser_token.indent_content = this._options.indent_head_inner_html;\n              } else if (parser_token.tag_name === \"body\") {\n                parser_token.indent_content = this._options.indent_body_inner_html;\n              }\n            }\n            if (!(parser_token.is_inline_element || parser_token.is_unformatted) && (last_token.type !== \"TK_CONTENT\" || parser_token.is_content_unformatted)) {\n              printer.print_newline(false);\n            }\n            this._calcluate_parent_multiline(printer, parser_token);\n          }\n        };\n        Beautifier.prototype._calcluate_parent_multiline = function(printer, parser_token) {\n          if (parser_token.parent && printer._output.just_added_newline() && !((parser_token.is_inline_element || parser_token.is_unformatted) && parser_token.parent.is_inline_element)) {\n            parser_token.parent.multiline_content = true;\n          }\n        };\n        var p_closers = [\"address\", \"article\", \"aside\", \"blockquote\", \"details\", \"div\", \"dl\", \"fieldset\", \"figcaption\", \"figure\", \"footer\", \"form\", \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"header\", \"hr\", \"main\", \"nav\", \"ol\", \"p\", \"pre\", \"section\", \"table\", \"ul\"];\n        var p_parent_excludes = [\"a\", \"audio\", \"del\", \"ins\", \"map\", \"noscript\", \"video\"];\n        Beautifier.prototype._do_optional_end_element = function(parser_token) {\n          var result = null;\n          if (parser_token.is_empty_element || !parser_token.is_start_tag || !parser_token.parent) {\n            return;\n          }\n          if (parser_token.tag_name === \"body\") {\n            result = result || this._tag_stack.try_pop(\"head\");\n          } else if (parser_token.tag_name === \"li\") {\n            result = result || this._tag_stack.try_pop(\"li\", [\"ol\", \"ul\"]);\n          } else if (parser_token.tag_name === \"dd\" || parser_token.tag_name === \"dt\") {\n            result = result || this._tag_stack.try_pop(\"dt\", [\"dl\"]);\n            result = result || this._tag_stack.try_pop(\"dd\", [\"dl\"]);\n          } else if (parser_token.parent.tag_name === \"p\" && p_closers.indexOf(parser_token.tag_name) !== -1) {\n            var p_parent = parser_token.parent.parent;\n            if (!p_parent || p_parent_excludes.indexOf(p_parent.tag_name) === -1) {\n              result = result || this._tag_stack.try_pop(\"p\");\n            }\n          } else if (parser_token.tag_name === \"rp\" || parser_token.tag_name === \"rt\") {\n            result = result || this._tag_stack.try_pop(\"rt\", [\"ruby\", \"rtc\"]);\n            result = result || this._tag_stack.try_pop(\"rp\", [\"ruby\", \"rtc\"]);\n          } else if (parser_token.tag_name === \"optgroup\") {\n            result = result || this._tag_stack.try_pop(\"optgroup\", [\"select\"]);\n          } else if (parser_token.tag_name === \"option\") {\n            result = result || this._tag_stack.try_pop(\"option\", [\"select\", \"datalist\", \"optgroup\"]);\n          } else if (parser_token.tag_name === \"colgroup\") {\n            result = result || this._tag_stack.try_pop(\"caption\", [\"table\"]);\n          } else if (parser_token.tag_name === \"thead\") {\n            result = result || this._tag_stack.try_pop(\"caption\", [\"table\"]);\n            result = result || this._tag_stack.try_pop(\"colgroup\", [\"table\"]);\n          } else if (parser_token.tag_name === \"tbody\" || parser_token.tag_name === \"tfoot\") {\n            result = result || this._tag_stack.try_pop(\"caption\", [\"table\"]);\n            result = result || this._tag_stack.try_pop(\"colgroup\", [\"table\"]);\n            result = result || this._tag_stack.try_pop(\"thead\", [\"table\"]);\n            result = result || this._tag_stack.try_pop(\"tbody\", [\"table\"]);\n          } else if (parser_token.tag_name === \"tr\") {\n            result = result || this._tag_stack.try_pop(\"caption\", [\"table\"]);\n            result = result || this._tag_stack.try_pop(\"colgroup\", [\"table\"]);\n            result = result || this._tag_stack.try_pop(\"tr\", [\"table\", \"thead\", \"tbody\", \"tfoot\"]);\n          } else if (parser_token.tag_name === \"th\" || parser_token.tag_name === \"td\") {\n            result = result || this._tag_stack.try_pop(\"td\", [\"table\", \"thead\", \"tbody\", \"tfoot\", \"tr\"]);\n            result = result || this._tag_stack.try_pop(\"th\", [\"table\", \"thead\", \"tbody\", \"tfoot\", \"tr\"]);\n          }\n          parser_token.parent = this._tag_stack.get_parser_token();\n          return result;\n        };\n        module.exports.Beautifier = Beautifier;\n      },\n      /* 20 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var BaseOptions = __webpack_require__2(6).Options;\n        function Options(options) {\n          BaseOptions.call(this, options, \"html\");\n          if (this.templating.length === 1 && this.templating[0] === \"auto\") {\n            this.templating = [\"django\", \"erb\", \"handlebars\", \"php\"];\n          }\n          this.indent_inner_html = this._get_boolean(\"indent_inner_html\");\n          this.indent_body_inner_html = this._get_boolean(\"indent_body_inner_html\", true);\n          this.indent_head_inner_html = this._get_boolean(\"indent_head_inner_html\", true);\n          this.indent_handlebars = this._get_boolean(\"indent_handlebars\", true);\n          this.wrap_attributes = this._get_selection(\n            \"wrap_attributes\",\n            [\"auto\", \"force\", \"force-aligned\", \"force-expand-multiline\", \"aligned-multiple\", \"preserve\", \"preserve-aligned\"]\n          );\n          this.wrap_attributes_indent_size = this._get_number(\"wrap_attributes_indent_size\", this.indent_size);\n          this.extra_liners = this._get_array(\"extra_liners\", [\"head\", \"body\", \"/html\"]);\n          this.inline = this._get_array(\"inline\", [\n            \"a\",\n            \"abbr\",\n            \"area\",\n            \"audio\",\n            \"b\",\n            \"bdi\",\n            \"bdo\",\n            \"br\",\n            \"button\",\n            \"canvas\",\n            \"cite\",\n            \"code\",\n            \"data\",\n            \"datalist\",\n            \"del\",\n            \"dfn\",\n            \"em\",\n            \"embed\",\n            \"i\",\n            \"iframe\",\n            \"img\",\n            \"input\",\n            \"ins\",\n            \"kbd\",\n            \"keygen\",\n            \"label\",\n            \"map\",\n            \"mark\",\n            \"math\",\n            \"meter\",\n            \"noscript\",\n            \"object\",\n            \"output\",\n            \"progress\",\n            \"q\",\n            \"ruby\",\n            \"s\",\n            \"samp\",\n            /* 'script', */\n            \"select\",\n            \"small\",\n            \"span\",\n            \"strong\",\n            \"sub\",\n            \"sup\",\n            \"svg\",\n            \"template\",\n            \"textarea\",\n            \"time\",\n            \"u\",\n            \"var\",\n            \"video\",\n            \"wbr\",\n            \"text\",\n            // obsolete inline tags\n            \"acronym\",\n            \"big\",\n            \"strike\",\n            \"tt\"\n          ]);\n          this.void_elements = this._get_array(\"void_elements\", [\n            // HTLM void elements - aka self-closing tags - aka singletons\n            // https://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements\n            \"area\",\n            \"base\",\n            \"br\",\n            \"col\",\n            \"embed\",\n            \"hr\",\n            \"img\",\n            \"input\",\n            \"keygen\",\n            \"link\",\n            \"menuitem\",\n            \"meta\",\n            \"param\",\n            \"source\",\n            \"track\",\n            \"wbr\",\n            // NOTE: Optional tags are too complex for a simple list\n            // they are hard coded in _do_optional_end_element\n            // Doctype and xml elements\n            \"!doctype\",\n            \"?xml\",\n            // obsolete tags\n            // basefont: https://www.computerhope.com/jargon/h/html-basefont-tag.htm\n            // isndex: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/isindex\n            \"basefont\",\n            \"isindex\"\n          ]);\n          this.unformatted = this._get_array(\"unformatted\", []);\n          this.content_unformatted = this._get_array(\"content_unformatted\", [\n            \"pre\",\n            \"textarea\"\n          ]);\n          this.unformatted_content_delimiter = this._get_characters(\"unformatted_content_delimiter\");\n          this.indent_scripts = this._get_selection(\"indent_scripts\", [\"normal\", \"keep\", \"separate\"]);\n        }\n        Options.prototype = new BaseOptions();\n        module.exports.Options = Options;\n      },\n      /* 21 */\n      /***/\n      function(module, __unused_webpack_exports, __webpack_require__2) {\n        var BaseTokenizer = __webpack_require__2(9).Tokenizer;\n        var BASETOKEN = __webpack_require__2(9).TOKEN;\n        var Directives = __webpack_require__2(13).Directives;\n        var TemplatablePattern = __webpack_require__2(14).TemplatablePattern;\n        var Pattern = __webpack_require__2(12).Pattern;\n        var TOKEN = {\n          TAG_OPEN: \"TK_TAG_OPEN\",\n          TAG_CLOSE: \"TK_TAG_CLOSE\",\n          ATTRIBUTE: \"TK_ATTRIBUTE\",\n          EQUALS: \"TK_EQUALS\",\n          VALUE: \"TK_VALUE\",\n          COMMENT: \"TK_COMMENT\",\n          TEXT: \"TK_TEXT\",\n          UNKNOWN: \"TK_UNKNOWN\",\n          START: BASETOKEN.START,\n          RAW: BASETOKEN.RAW,\n          EOF: BASETOKEN.EOF\n        };\n        var directives_core = new Directives(/<\\!--/, /-->/);\n        var Tokenizer = function(input_string, options) {\n          BaseTokenizer.call(this, input_string, options);\n          this._current_tag_name = \"\";\n          var templatable_reader = new TemplatablePattern(this._input).read_options(this._options);\n          var pattern_reader = new Pattern(this._input);\n          this.__patterns = {\n            word: templatable_reader.until(/[\\n\\r\\t <]/),\n            single_quote: templatable_reader.until_after(/'/),\n            double_quote: templatable_reader.until_after(/\"/),\n            attribute: templatable_reader.until(/[\\n\\r\\t =>]|\\/>/),\n            element_name: templatable_reader.until(/[\\n\\r\\t >\\/]/),\n            handlebars_comment: pattern_reader.starting_with(/{{!--/).until_after(/--}}/),\n            handlebars: pattern_reader.starting_with(/{{/).until_after(/}}/),\n            handlebars_open: pattern_reader.until(/[\\n\\r\\t }]/),\n            handlebars_raw_close: pattern_reader.until(/}}/),\n            comment: pattern_reader.starting_with(/<!--/).until_after(/-->/),\n            cdata: pattern_reader.starting_with(/<!\\[CDATA\\[/).until_after(/]]>/),\n            // https://en.wikipedia.org/wiki/Conditional_comment\n            conditional_comment: pattern_reader.starting_with(/<!\\[/).until_after(/]>/),\n            processing: pattern_reader.starting_with(/<\\?/).until_after(/\\?>/)\n          };\n          if (this._options.indent_handlebars) {\n            this.__patterns.word = this.__patterns.word.exclude(\"handlebars\");\n          }\n          this._unformatted_content_delimiter = null;\n          if (this._options.unformatted_content_delimiter) {\n            var literal_regexp = this._input.get_literal_regexp(this._options.unformatted_content_delimiter);\n            this.__patterns.unformatted_content_delimiter = pattern_reader.matching(literal_regexp).until_after(literal_regexp);\n          }\n        };\n        Tokenizer.prototype = new BaseTokenizer();\n        Tokenizer.prototype._is_comment = function(current_token) {\n          return false;\n        };\n        Tokenizer.prototype._is_opening = function(current_token) {\n          return current_token.type === TOKEN.TAG_OPEN;\n        };\n        Tokenizer.prototype._is_closing = function(current_token, open_token) {\n          return current_token.type === TOKEN.TAG_CLOSE && (open_token && ((current_token.text === \">\" || current_token.text === \"/>\") && open_token.text[0] === \"<\" || current_token.text === \"}}\" && open_token.text[0] === \"{\" && open_token.text[1] === \"{\"));\n        };\n        Tokenizer.prototype._reset = function() {\n          this._current_tag_name = \"\";\n        };\n        Tokenizer.prototype._get_next_token = function(previous_token, open_token) {\n          var token = null;\n          this._readWhitespace();\n          var c = this._input.peek();\n          if (c === null) {\n            return this._create_token(TOKEN.EOF, \"\");\n          }\n          token = token || this._read_open_handlebars(c, open_token);\n          token = token || this._read_attribute(c, previous_token, open_token);\n          token = token || this._read_close(c, open_token);\n          token = token || this._read_raw_content(c, previous_token, open_token);\n          token = token || this._read_content_word(c);\n          token = token || this._read_comment_or_cdata(c);\n          token = token || this._read_processing(c);\n          token = token || this._read_open(c, open_token);\n          token = token || this._create_token(TOKEN.UNKNOWN, this._input.next());\n          return token;\n        };\n        Tokenizer.prototype._read_comment_or_cdata = function(c) {\n          var token = null;\n          var resulting_string = null;\n          var directives = null;\n          if (c === \"<\") {\n            var peek1 = this._input.peek(1);\n            if (peek1 === \"!\") {\n              resulting_string = this.__patterns.comment.read();\n              if (resulting_string) {\n                directives = directives_core.get_directives(resulting_string);\n                if (directives && directives.ignore === \"start\") {\n                  resulting_string += directives_core.readIgnored(this._input);\n                }\n              } else {\n                resulting_string = this.__patterns.cdata.read();\n              }\n            }\n            if (resulting_string) {\n              token = this._create_token(TOKEN.COMMENT, resulting_string);\n              token.directives = directives;\n            }\n          }\n          return token;\n        };\n        Tokenizer.prototype._read_processing = function(c) {\n          var token = null;\n          var resulting_string = null;\n          var directives = null;\n          if (c === \"<\") {\n            var peek1 = this._input.peek(1);\n            if (peek1 === \"!\" || peek1 === \"?\") {\n              resulting_string = this.__patterns.conditional_comment.read();\n              resulting_string = resulting_string || this.__patterns.processing.read();\n            }\n            if (resulting_string) {\n              token = this._create_token(TOKEN.COMMENT, resulting_string);\n              token.directives = directives;\n            }\n          }\n          return token;\n        };\n        Tokenizer.prototype._read_open = function(c, open_token) {\n          var resulting_string = null;\n          var token = null;\n          if (!open_token) {\n            if (c === \"<\") {\n              resulting_string = this._input.next();\n              if (this._input.peek() === \"/\") {\n                resulting_string += this._input.next();\n              }\n              resulting_string += this.__patterns.element_name.read();\n              token = this._create_token(TOKEN.TAG_OPEN, resulting_string);\n            }\n          }\n          return token;\n        };\n        Tokenizer.prototype._read_open_handlebars = function(c, open_token) {\n          var resulting_string = null;\n          var token = null;\n          if (!open_token) {\n            if (this._options.indent_handlebars && c === \"{\" && this._input.peek(1) === \"{\") {\n              if (this._input.peek(2) === \"!\") {\n                resulting_string = this.__patterns.handlebars_comment.read();\n                resulting_string = resulting_string || this.__patterns.handlebars.read();\n                token = this._create_token(TOKEN.COMMENT, resulting_string);\n              } else {\n                resulting_string = this.__patterns.handlebars_open.read();\n                token = this._create_token(TOKEN.TAG_OPEN, resulting_string);\n              }\n            }\n          }\n          return token;\n        };\n        Tokenizer.prototype._read_close = function(c, open_token) {\n          var resulting_string = null;\n          var token = null;\n          if (open_token) {\n            if (open_token.text[0] === \"<\" && (c === \">\" || c === \"/\" && this._input.peek(1) === \">\")) {\n              resulting_string = this._input.next();\n              if (c === \"/\") {\n                resulting_string += this._input.next();\n              }\n              token = this._create_token(TOKEN.TAG_CLOSE, resulting_string);\n            } else if (open_token.text[0] === \"{\" && c === \"}\" && this._input.peek(1) === \"}\") {\n              this._input.next();\n              this._input.next();\n              token = this._create_token(TOKEN.TAG_CLOSE, \"}}\");\n            }\n          }\n          return token;\n        };\n        Tokenizer.prototype._read_attribute = function(c, previous_token, open_token) {\n          var token = null;\n          var resulting_string = \"\";\n          if (open_token && open_token.text[0] === \"<\") {\n            if (c === \"=\") {\n              token = this._create_token(TOKEN.EQUALS, this._input.next());\n            } else if (c === '\"' || c === \"'\") {\n              var content = this._input.next();\n              if (c === '\"') {\n                content += this.__patterns.double_quote.read();\n              } else {\n                content += this.__patterns.single_quote.read();\n              }\n              token = this._create_token(TOKEN.VALUE, content);\n            } else {\n              resulting_string = this.__patterns.attribute.read();\n              if (resulting_string) {\n                if (previous_token.type === TOKEN.EQUALS) {\n                  token = this._create_token(TOKEN.VALUE, resulting_string);\n                } else {\n                  token = this._create_token(TOKEN.ATTRIBUTE, resulting_string);\n                }\n              }\n            }\n          }\n          return token;\n        };\n        Tokenizer.prototype._is_content_unformatted = function(tag_name) {\n          return this._options.void_elements.indexOf(tag_name) === -1 && (this._options.content_unformatted.indexOf(tag_name) !== -1 || this._options.unformatted.indexOf(tag_name) !== -1);\n        };\n        Tokenizer.prototype._read_raw_content = function(c, previous_token, open_token) {\n          var resulting_string = \"\";\n          if (open_token && open_token.text[0] === \"{\") {\n            resulting_string = this.__patterns.handlebars_raw_close.read();\n          } else if (previous_token.type === TOKEN.TAG_CLOSE && previous_token.opened.text[0] === \"<\" && previous_token.text[0] !== \"/\") {\n            var tag_name = previous_token.opened.text.substr(1).toLowerCase();\n            if (tag_name === \"script\" || tag_name === \"style\") {\n              var token = this._read_comment_or_cdata(c);\n              if (token) {\n                token.type = TOKEN.TEXT;\n                return token;\n              }\n              resulting_string = this._input.readUntil(new RegExp(\"</\" + tag_name + \"[\\\\n\\\\r\\\\t ]*?>\", \"ig\"));\n            } else if (this._is_content_unformatted(tag_name)) {\n              resulting_string = this._input.readUntil(new RegExp(\"</\" + tag_name + \"[\\\\n\\\\r\\\\t ]*?>\", \"ig\"));\n            }\n          }\n          if (resulting_string) {\n            return this._create_token(TOKEN.TEXT, resulting_string);\n          }\n          return null;\n        };\n        Tokenizer.prototype._read_content_word = function(c) {\n          var resulting_string = \"\";\n          if (this._options.unformatted_content_delimiter) {\n            if (c === this._options.unformatted_content_delimiter[0]) {\n              resulting_string = this.__patterns.unformatted_content_delimiter.read();\n            }\n          }\n          if (!resulting_string) {\n            resulting_string = this.__patterns.word.read();\n          }\n          if (resulting_string) {\n            return this._create_token(TOKEN.TEXT, resulting_string);\n          }\n        };\n        module.exports.Tokenizer = Tokenizer;\n        module.exports.TOKEN = TOKEN;\n      }\n      /******/\n    ];\n    var __webpack_module_cache__ = {};\n    function __webpack_require__(moduleId) {\n      var cachedModule = __webpack_module_cache__[moduleId];\n      if (cachedModule !== void 0) {\n        return cachedModule.exports;\n      }\n      var module = __webpack_module_cache__[moduleId] = {\n        /******/\n        // no module.id needed\n        /******/\n        // no module.loaded needed\n        /******/\n        exports: {}\n        /******/\n      };\n      __webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n      return module.exports;\n    }\n    var __webpack_exports__ = __webpack_require__(18);\n    legacy_beautify_html = __webpack_exports__;\n  })();\n  function html_beautify(html_source, options) {\n    return legacy_beautify_html(html_source, options, js_beautify, css_beautify);\n  }\n  function format2(document2, range, options) {\n    var value = document2.getText();\n    var includesEnd = true;\n    var initialIndentLevel = 0;\n    var tabSize = options.tabSize || 4;\n    if (range) {\n      var startOffset = document2.offsetAt(range.start);\n      var extendedStart = startOffset;\n      while (extendedStart > 0 && isWhitespace(value, extendedStart - 1)) {\n        extendedStart--;\n      }\n      if (extendedStart === 0 || isEOL(value, extendedStart - 1)) {\n        startOffset = extendedStart;\n      } else {\n        if (extendedStart < startOffset) {\n          startOffset = extendedStart + 1;\n        }\n      }\n      var endOffset = document2.offsetAt(range.end);\n      var extendedEnd = endOffset;\n      while (extendedEnd < value.length && isWhitespace(value, extendedEnd)) {\n        extendedEnd++;\n      }\n      if (extendedEnd === value.length || isEOL(value, extendedEnd)) {\n        endOffset = extendedEnd;\n      }\n      range = Range2.create(document2.positionAt(startOffset), document2.positionAt(endOffset));\n      var firstHalf = value.substring(0, startOffset);\n      if (new RegExp(/.*[<][^>]*$/).test(firstHalf)) {\n        value = value.substring(startOffset, endOffset);\n        return [{\n          range,\n          newText: value\n        }];\n      }\n      includesEnd = endOffset === value.length;\n      value = value.substring(startOffset, endOffset);\n      if (startOffset !== 0) {\n        var startOfLineOffset = document2.offsetAt(Position2.create(range.start.line, 0));\n        initialIndentLevel = computeIndentLevel(document2.getText(), startOfLineOffset, options);\n      }\n    } else {\n      range = Range2.create(Position2.create(0, 0), document2.positionAt(value.length));\n    }\n    var htmlOptions = {\n      indent_size: tabSize,\n      indent_char: options.insertSpaces ? \" \" : \"\t\",\n      indent_empty_lines: getFormatOption(options, \"indentEmptyLines\", false),\n      wrap_line_length: getFormatOption(options, \"wrapLineLength\", 120),\n      unformatted: getTagsFormatOption(options, \"unformatted\", void 0),\n      content_unformatted: getTagsFormatOption(options, \"contentUnformatted\", void 0),\n      indent_inner_html: getFormatOption(options, \"indentInnerHtml\", false),\n      preserve_newlines: getFormatOption(options, \"preserveNewLines\", true),\n      max_preserve_newlines: getFormatOption(options, \"maxPreserveNewLines\", 32786),\n      indent_handlebars: getFormatOption(options, \"indentHandlebars\", false),\n      end_with_newline: includesEnd && getFormatOption(options, \"endWithNewline\", false),\n      extra_liners: getTagsFormatOption(options, \"extraLiners\", void 0),\n      wrap_attributes: getFormatOption(options, \"wrapAttributes\", \"auto\"),\n      wrap_attributes_indent_size: getFormatOption(options, \"wrapAttributesIndentSize\", void 0),\n      eol: \"\\n\",\n      indent_scripts: getFormatOption(options, \"indentScripts\", \"normal\"),\n      templating: getTemplatingFormatOption(options, \"all\"),\n      unformatted_content_delimiter: getFormatOption(options, \"unformattedContentDelimiter\", \"\")\n    };\n    var result = html_beautify(trimLeft(value), htmlOptions);\n    if (initialIndentLevel > 0) {\n      var indent = options.insertSpaces ? repeat(\" \", tabSize * initialIndentLevel) : repeat(\"\t\", initialIndentLevel);\n      result = result.split(\"\\n\").join(\"\\n\" + indent);\n      if (range.start.character === 0) {\n        result = indent + result;\n      }\n    }\n    return [{\n      range,\n      newText: result\n    }];\n  }\n  function trimLeft(str) {\n    return str.replace(/^\\s+/, \"\");\n  }\n  function getFormatOption(options, key, dflt) {\n    if (options && options.hasOwnProperty(key)) {\n      var value = options[key];\n      if (value !== null) {\n        return value;\n      }\n    }\n    return dflt;\n  }\n  function getTagsFormatOption(options, key, dflt) {\n    var list = getFormatOption(options, key, null);\n    if (typeof list === \"string\") {\n      if (list.length > 0) {\n        return list.split(\",\").map(function(t) {\n          return t.trim().toLowerCase();\n        });\n      }\n      return [];\n    }\n    return dflt;\n  }\n  function getTemplatingFormatOption(options, dflt) {\n    var value = getFormatOption(options, \"templating\", dflt);\n    if (value === true) {\n      return [\"auto\"];\n    }\n    return [\"none\"];\n  }\n  function computeIndentLevel(content, offset, options) {\n    var i = offset;\n    var nChars = 0;\n    var tabSize = options.tabSize || 4;\n    while (i < content.length) {\n      var ch = content.charAt(i);\n      if (ch === \" \") {\n        nChars++;\n      } else if (ch === \"\t\") {\n        nChars += tabSize;\n      } else {\n        break;\n      }\n      i++;\n    }\n    return Math.floor(nChars / tabSize);\n  }\n  function isEOL(text, offset) {\n    return \"\\r\\n\".indexOf(text.charAt(offset)) !== -1;\n  }\n  function isWhitespace(text, offset) {\n    return \" \t\".indexOf(text.charAt(offset)) !== -1;\n  }\n  var LIB;\n  LIB = (() => {\n    \"use strict\";\n    var t = { 470: (t2) => {\n      function e2(t3) {\n        if (\"string\" != typeof t3)\n          throw new TypeError(\"Path must be a string. Received \" + JSON.stringify(t3));\n      }\n      function r2(t3, e3) {\n        for (var r3, n2 = \"\", o = 0, i = -1, a = 0, h = 0; h <= t3.length; ++h) {\n          if (h < t3.length)\n            r3 = t3.charCodeAt(h);\n          else {\n            if (47 === r3)\n              break;\n            r3 = 47;\n          }\n          if (47 === r3) {\n            if (i === h - 1 || 1 === a)\n              ;\n            else if (i !== h - 1 && 2 === a) {\n              if (n2.length < 2 || 2 !== o || 46 !== n2.charCodeAt(n2.length - 1) || 46 !== n2.charCodeAt(n2.length - 2)) {\n                if (n2.length > 2) {\n                  var s = n2.lastIndexOf(\"/\");\n                  if (s !== n2.length - 1) {\n                    -1 === s ? (n2 = \"\", o = 0) : o = (n2 = n2.slice(0, s)).length - 1 - n2.lastIndexOf(\"/\"), i = h, a = 0;\n                    continue;\n                  }\n                } else if (2 === n2.length || 1 === n2.length) {\n                  n2 = \"\", o = 0, i = h, a = 0;\n                  continue;\n                }\n              }\n              e3 && (n2.length > 0 ? n2 += \"/..\" : n2 = \"..\", o = 2);\n            } else\n              n2.length > 0 ? n2 += \"/\" + t3.slice(i + 1, h) : n2 = t3.slice(i + 1, h), o = h - i - 1;\n            i = h, a = 0;\n          } else\n            46 === r3 && -1 !== a ? ++a : a = -1;\n        }\n        return n2;\n      }\n      var n = { resolve: function() {\n        for (var t3, n2 = \"\", o = false, i = arguments.length - 1; i >= -1 && !o; i--) {\n          var a;\n          i >= 0 ? a = arguments[i] : (void 0 === t3 && (t3 = process.cwd()), a = t3), e2(a), 0 !== a.length && (n2 = a + \"/\" + n2, o = 47 === a.charCodeAt(0));\n        }\n        return n2 = r2(n2, !o), o ? n2.length > 0 ? \"/\" + n2 : \"/\" : n2.length > 0 ? n2 : \".\";\n      }, normalize: function(t3) {\n        if (e2(t3), 0 === t3.length)\n          return \".\";\n        var n2 = 47 === t3.charCodeAt(0), o = 47 === t3.charCodeAt(t3.length - 1);\n        return 0 !== (t3 = r2(t3, !n2)).length || n2 || (t3 = \".\"), t3.length > 0 && o && (t3 += \"/\"), n2 ? \"/\" + t3 : t3;\n      }, isAbsolute: function(t3) {\n        return e2(t3), t3.length > 0 && 47 === t3.charCodeAt(0);\n      }, join: function() {\n        if (0 === arguments.length)\n          return \".\";\n        for (var t3, r3 = 0; r3 < arguments.length; ++r3) {\n          var o = arguments[r3];\n          e2(o), o.length > 0 && (void 0 === t3 ? t3 = o : t3 += \"/\" + o);\n        }\n        return void 0 === t3 ? \".\" : n.normalize(t3);\n      }, relative: function(t3, r3) {\n        if (e2(t3), e2(r3), t3 === r3)\n          return \"\";\n        if ((t3 = n.resolve(t3)) === (r3 = n.resolve(r3)))\n          return \"\";\n        for (var o = 1; o < t3.length && 47 === t3.charCodeAt(o); ++o)\n          ;\n        for (var i = t3.length, a = i - o, h = 1; h < r3.length && 47 === r3.charCodeAt(h); ++h)\n          ;\n        for (var s = r3.length - h, c = a < s ? a : s, f = -1, u = 0; u <= c; ++u) {\n          if (u === c) {\n            if (s > c) {\n              if (47 === r3.charCodeAt(h + u))\n                return r3.slice(h + u + 1);\n              if (0 === u)\n                return r3.slice(h + u);\n            } else\n              a > c && (47 === t3.charCodeAt(o + u) ? f = u : 0 === u && (f = 0));\n            break;\n          }\n          var l = t3.charCodeAt(o + u);\n          if (l !== r3.charCodeAt(h + u))\n            break;\n          47 === l && (f = u);\n        }\n        var p = \"\";\n        for (u = o + f + 1; u <= i; ++u)\n          u !== i && 47 !== t3.charCodeAt(u) || (0 === p.length ? p += \"..\" : p += \"/..\");\n        return p.length > 0 ? p + r3.slice(h + f) : (h += f, 47 === r3.charCodeAt(h) && ++h, r3.slice(h));\n      }, _makeLong: function(t3) {\n        return t3;\n      }, dirname: function(t3) {\n        if (e2(t3), 0 === t3.length)\n          return \".\";\n        for (var r3 = t3.charCodeAt(0), n2 = 47 === r3, o = -1, i = true, a = t3.length - 1; a >= 1; --a)\n          if (47 === (r3 = t3.charCodeAt(a))) {\n            if (!i) {\n              o = a;\n              break;\n            }\n          } else\n            i = false;\n        return -1 === o ? n2 ? \"/\" : \".\" : n2 && 1 === o ? \"//\" : t3.slice(0, o);\n      }, basename: function(t3, r3) {\n        if (void 0 !== r3 && \"string\" != typeof r3)\n          throw new TypeError('\"ext\" argument must be a string');\n        e2(t3);\n        var n2, o = 0, i = -1, a = true;\n        if (void 0 !== r3 && r3.length > 0 && r3.length <= t3.length) {\n          if (r3.length === t3.length && r3 === t3)\n            return \"\";\n          var h = r3.length - 1, s = -1;\n          for (n2 = t3.length - 1; n2 >= 0; --n2) {\n            var c = t3.charCodeAt(n2);\n            if (47 === c) {\n              if (!a) {\n                o = n2 + 1;\n                break;\n              }\n            } else\n              -1 === s && (a = false, s = n2 + 1), h >= 0 && (c === r3.charCodeAt(h) ? -1 == --h && (i = n2) : (h = -1, i = s));\n          }\n          return o === i ? i = s : -1 === i && (i = t3.length), t3.slice(o, i);\n        }\n        for (n2 = t3.length - 1; n2 >= 0; --n2)\n          if (47 === t3.charCodeAt(n2)) {\n            if (!a) {\n              o = n2 + 1;\n              break;\n            }\n          } else\n            -1 === i && (a = false, i = n2 + 1);\n        return -1 === i ? \"\" : t3.slice(o, i);\n      }, extname: function(t3) {\n        e2(t3);\n        for (var r3 = -1, n2 = 0, o = -1, i = true, a = 0, h = t3.length - 1; h >= 0; --h) {\n          var s = t3.charCodeAt(h);\n          if (47 !== s)\n            -1 === o && (i = false, o = h + 1), 46 === s ? -1 === r3 ? r3 = h : 1 !== a && (a = 1) : -1 !== r3 && (a = -1);\n          else if (!i) {\n            n2 = h + 1;\n            break;\n          }\n        }\n        return -1 === r3 || -1 === o || 0 === a || 1 === a && r3 === o - 1 && r3 === n2 + 1 ? \"\" : t3.slice(r3, o);\n      }, format: function(t3) {\n        if (null === t3 || \"object\" != typeof t3)\n          throw new TypeError('The \"pathObject\" argument must be of type Object. Received type ' + typeof t3);\n        return function(t4, e3) {\n          var r3 = e3.dir || e3.root, n2 = e3.base || (e3.name || \"\") + (e3.ext || \"\");\n          return r3 ? r3 === e3.root ? r3 + n2 : r3 + \"/\" + n2 : n2;\n        }(0, t3);\n      }, parse: function(t3) {\n        e2(t3);\n        var r3 = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n        if (0 === t3.length)\n          return r3;\n        var n2, o = t3.charCodeAt(0), i = 47 === o;\n        i ? (r3.root = \"/\", n2 = 1) : n2 = 0;\n        for (var a = -1, h = 0, s = -1, c = true, f = t3.length - 1, u = 0; f >= n2; --f)\n          if (47 !== (o = t3.charCodeAt(f)))\n            -1 === s && (c = false, s = f + 1), 46 === o ? -1 === a ? a = f : 1 !== u && (u = 1) : -1 !== a && (u = -1);\n          else if (!c) {\n            h = f + 1;\n            break;\n          }\n        return -1 === a || -1 === s || 0 === u || 1 === u && a === s - 1 && a === h + 1 ? -1 !== s && (r3.base = r3.name = 0 === h && i ? t3.slice(1, s) : t3.slice(h, s)) : (0 === h && i ? (r3.name = t3.slice(1, a), r3.base = t3.slice(1, s)) : (r3.name = t3.slice(h, a), r3.base = t3.slice(h, s)), r3.ext = t3.slice(a, s)), h > 0 ? r3.dir = t3.slice(0, h - 1) : i && (r3.dir = \"/\"), r3;\n      }, sep: \"/\", delimiter: \":\", win32: null, posix: null };\n      n.posix = n, t2.exports = n;\n    }, 447: (t2, e2, r2) => {\n      var n;\n      if (r2.r(e2), r2.d(e2, { URI: () => d, Utils: () => P }), \"object\" == typeof process)\n        n = \"win32\" === process.platform;\n      else if (\"object\" == typeof navigator) {\n        var o = navigator.userAgent;\n        n = o.indexOf(\"Windows\") >= 0;\n      }\n      var i, a, h = (i = function(t3, e3) {\n        return (i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t4, e4) {\n          t4.__proto__ = e4;\n        } || function(t4, e4) {\n          for (var r3 in e4)\n            Object.prototype.hasOwnProperty.call(e4, r3) && (t4[r3] = e4[r3]);\n        })(t3, e3);\n      }, function(t3, e3) {\n        if (\"function\" != typeof e3 && null !== e3)\n          throw new TypeError(\"Class extends value \" + String(e3) + \" is not a constructor or null\");\n        function r3() {\n          this.constructor = t3;\n        }\n        i(t3, e3), t3.prototype = null === e3 ? Object.create(e3) : (r3.prototype = e3.prototype, new r3());\n      }), s = /^\\w[\\w\\d+.-]*$/, c = /^\\//, f = /^\\/\\//;\n      function u(t3, e3) {\n        if (!t3.scheme && e3)\n          throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'.concat(t3.authority, '\", path: \"').concat(t3.path, '\", query: \"').concat(t3.query, '\", fragment: \"').concat(t3.fragment, '\"}'));\n        if (t3.scheme && !s.test(t3.scheme))\n          throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n        if (t3.path) {\n          if (t3.authority) {\n            if (!c.test(t3.path))\n              throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n          } else if (f.test(t3.path))\n            throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n      var l = \"\", p = \"/\", g = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/, d = function() {\n        function t3(t4, e3, r3, n2, o2, i2) {\n          void 0 === i2 && (i2 = false), \"object\" == typeof t4 ? (this.scheme = t4.scheme || l, this.authority = t4.authority || l, this.path = t4.path || l, this.query = t4.query || l, this.fragment = t4.fragment || l) : (this.scheme = /* @__PURE__ */ function(t5, e4) {\n            return t5 || e4 ? t5 : \"file\";\n          }(t4, i2), this.authority = e3 || l, this.path = function(t5, e4) {\n            switch (t5) {\n              case \"https\":\n              case \"http\":\n              case \"file\":\n                e4 ? e4[0] !== p && (e4 = p + e4) : e4 = p;\n            }\n            return e4;\n          }(this.scheme, r3 || l), this.query = n2 || l, this.fragment = o2 || l, u(this, i2));\n        }\n        return t3.isUri = function(e3) {\n          return e3 instanceof t3 || !!e3 && \"string\" == typeof e3.authority && \"string\" == typeof e3.fragment && \"string\" == typeof e3.path && \"string\" == typeof e3.query && \"string\" == typeof e3.scheme && \"string\" == typeof e3.fsPath && \"function\" == typeof e3.with && \"function\" == typeof e3.toString;\n        }, Object.defineProperty(t3.prototype, \"fsPath\", { get: function() {\n          return A(this, false);\n        }, enumerable: false, configurable: true }), t3.prototype.with = function(t4) {\n          if (!t4)\n            return this;\n          var e3 = t4.scheme, r3 = t4.authority, n2 = t4.path, o2 = t4.query, i2 = t4.fragment;\n          return void 0 === e3 ? e3 = this.scheme : null === e3 && (e3 = l), void 0 === r3 ? r3 = this.authority : null === r3 && (r3 = l), void 0 === n2 ? n2 = this.path : null === n2 && (n2 = l), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = l), void 0 === i2 ? i2 = this.fragment : null === i2 && (i2 = l), e3 === this.scheme && r3 === this.authority && n2 === this.path && o2 === this.query && i2 === this.fragment ? this : new y(e3, r3, n2, o2, i2);\n        }, t3.parse = function(t4, e3) {\n          void 0 === e3 && (e3 = false);\n          var r3 = g.exec(t4);\n          return r3 ? new y(r3[2] || l, O(r3[4] || l), O(r3[5] || l), O(r3[7] || l), O(r3[9] || l), e3) : new y(l, l, l, l, l);\n        }, t3.file = function(t4) {\n          var e3 = l;\n          if (n && (t4 = t4.replace(/\\\\/g, p)), t4[0] === p && t4[1] === p) {\n            var r3 = t4.indexOf(p, 2);\n            -1 === r3 ? (e3 = t4.substring(2), t4 = p) : (e3 = t4.substring(2, r3), t4 = t4.substring(r3) || p);\n          }\n          return new y(\"file\", e3, t4, l, l);\n        }, t3.from = function(t4) {\n          var e3 = new y(t4.scheme, t4.authority, t4.path, t4.query, t4.fragment);\n          return u(e3, true), e3;\n        }, t3.prototype.toString = function(t4) {\n          return void 0 === t4 && (t4 = false), w(this, t4);\n        }, t3.prototype.toJSON = function() {\n          return this;\n        }, t3.revive = function(e3) {\n          if (e3) {\n            if (e3 instanceof t3)\n              return e3;\n            var r3 = new y(e3);\n            return r3._formatted = e3.external, r3._fsPath = e3._sep === v ? e3.fsPath : null, r3;\n          }\n          return e3;\n        }, t3;\n      }(), v = n ? 1 : void 0, y = function(t3) {\n        function e3() {\n          var e4 = null !== t3 && t3.apply(this, arguments) || this;\n          return e4._formatted = null, e4._fsPath = null, e4;\n        }\n        return h(e3, t3), Object.defineProperty(e3.prototype, \"fsPath\", { get: function() {\n          return this._fsPath || (this._fsPath = A(this, false)), this._fsPath;\n        }, enumerable: false, configurable: true }), e3.prototype.toString = function(t4) {\n          return void 0 === t4 && (t4 = false), t4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted);\n        }, e3.prototype.toJSON = function() {\n          var t4 = { $mid: 1 };\n          return this._fsPath && (t4.fsPath = this._fsPath, t4._sep = v), this._formatted && (t4.external = this._formatted), this.path && (t4.path = this.path), this.scheme && (t4.scheme = this.scheme), this.authority && (t4.authority = this.authority), this.query && (t4.query = this.query), this.fragment && (t4.fragment = this.fragment), t4;\n        }, e3;\n      }(d), m = ((a = {})[58] = \"%3A\", a[47] = \"%2F\", a[63] = \"%3F\", a[35] = \"%23\", a[91] = \"%5B\", a[93] = \"%5D\", a[64] = \"%40\", a[33] = \"%21\", a[36] = \"%24\", a[38] = \"%26\", a[39] = \"%27\", a[40] = \"%28\", a[41] = \"%29\", a[42] = \"%2A\", a[43] = \"%2B\", a[44] = \"%2C\", a[59] = \"%3B\", a[61] = \"%3D\", a[32] = \"%20\", a);\n      function b(t3, e3) {\n        for (var r3 = void 0, n2 = -1, o2 = 0; o2 < t3.length; o2++) {\n          var i2 = t3.charCodeAt(o2);\n          if (i2 >= 97 && i2 <= 122 || i2 >= 65 && i2 <= 90 || i2 >= 48 && i2 <= 57 || 45 === i2 || 46 === i2 || 95 === i2 || 126 === i2 || e3 && 47 === i2)\n            -1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2, o2)), n2 = -1), void 0 !== r3 && (r3 += t3.charAt(o2));\n          else {\n            void 0 === r3 && (r3 = t3.substr(0, o2));\n            var a2 = m[i2];\n            void 0 !== a2 ? (-1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2, o2)), n2 = -1), r3 += a2) : -1 === n2 && (n2 = o2);\n          }\n        }\n        return -1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2))), void 0 !== r3 ? r3 : t3;\n      }\n      function C(t3) {\n        for (var e3 = void 0, r3 = 0; r3 < t3.length; r3++) {\n          var n2 = t3.charCodeAt(r3);\n          35 === n2 || 63 === n2 ? (void 0 === e3 && (e3 = t3.substr(0, r3)), e3 += m[n2]) : void 0 !== e3 && (e3 += t3[r3]);\n        }\n        return void 0 !== e3 ? e3 : t3;\n      }\n      function A(t3, e3) {\n        var r3;\n        return r3 = t3.authority && t3.path.length > 1 && \"file\" === t3.scheme ? \"//\".concat(t3.authority).concat(t3.path) : 47 === t3.path.charCodeAt(0) && (t3.path.charCodeAt(1) >= 65 && t3.path.charCodeAt(1) <= 90 || t3.path.charCodeAt(1) >= 97 && t3.path.charCodeAt(1) <= 122) && 58 === t3.path.charCodeAt(2) ? e3 ? t3.path.substr(1) : t3.path[1].toLowerCase() + t3.path.substr(2) : t3.path, n && (r3 = r3.replace(/\\//g, \"\\\\\")), r3;\n      }\n      function w(t3, e3) {\n        var r3 = e3 ? C : b, n2 = \"\", o2 = t3.scheme, i2 = t3.authority, a2 = t3.path, h2 = t3.query, s2 = t3.fragment;\n        if (o2 && (n2 += o2, n2 += \":\"), (i2 || \"file\" === o2) && (n2 += p, n2 += p), i2) {\n          var c2 = i2.indexOf(\"@\");\n          if (-1 !== c2) {\n            var f2 = i2.substr(0, c2);\n            i2 = i2.substr(c2 + 1), -1 === (c2 = f2.indexOf(\":\")) ? n2 += r3(f2, false) : (n2 += r3(f2.substr(0, c2), false), n2 += \":\", n2 += r3(f2.substr(c2 + 1), false)), n2 += \"@\";\n          }\n          -1 === (c2 = (i2 = i2.toLowerCase()).indexOf(\":\")) ? n2 += r3(i2, false) : (n2 += r3(i2.substr(0, c2), false), n2 += i2.substr(c2));\n        }\n        if (a2) {\n          if (a2.length >= 3 && 47 === a2.charCodeAt(0) && 58 === a2.charCodeAt(2))\n            (u2 = a2.charCodeAt(1)) >= 65 && u2 <= 90 && (a2 = \"/\".concat(String.fromCharCode(u2 + 32), \":\").concat(a2.substr(3)));\n          else if (a2.length >= 2 && 58 === a2.charCodeAt(1)) {\n            var u2;\n            (u2 = a2.charCodeAt(0)) >= 65 && u2 <= 90 && (a2 = \"\".concat(String.fromCharCode(u2 + 32), \":\").concat(a2.substr(2)));\n          }\n          n2 += r3(a2, true);\n        }\n        return h2 && (n2 += \"?\", n2 += r3(h2, false)), s2 && (n2 += \"#\", n2 += e3 ? s2 : b(s2, false)), n2;\n      }\n      function x(t3) {\n        try {\n          return decodeURIComponent(t3);\n        } catch (e3) {\n          return t3.length > 3 ? t3.substr(0, 3) + x(t3.substr(3)) : t3;\n        }\n      }\n      var _ = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n      function O(t3) {\n        return t3.match(_) ? t3.replace(_, function(t4) {\n          return x(t4);\n        }) : t3;\n      }\n      var P, j = r2(470), U = function(t3, e3, r3) {\n        if (r3 || 2 === arguments.length)\n          for (var n2, o2 = 0, i2 = e3.length; o2 < i2; o2++)\n            !n2 && o2 in e3 || (n2 || (n2 = Array.prototype.slice.call(e3, 0, o2)), n2[o2] = e3[o2]);\n        return t3.concat(n2 || Array.prototype.slice.call(e3));\n      }, I = j.posix || j;\n      !function(t3) {\n        t3.joinPath = function(t4) {\n          for (var e3 = [], r3 = 1; r3 < arguments.length; r3++)\n            e3[r3 - 1] = arguments[r3];\n          return t4.with({ path: I.join.apply(I, U([t4.path], e3, false)) });\n        }, t3.resolvePath = function(t4) {\n          for (var e3 = [], r3 = 1; r3 < arguments.length; r3++)\n            e3[r3 - 1] = arguments[r3];\n          var n2 = t4.path || \"/\";\n          return t4.with({ path: I.resolve.apply(I, U([n2], e3, false)) });\n        }, t3.dirname = function(t4) {\n          var e3 = I.dirname(t4.path);\n          return 1 === e3.length && 46 === e3.charCodeAt(0) ? t4 : t4.with({ path: e3 });\n        }, t3.basename = function(t4) {\n          return I.basename(t4.path);\n        }, t3.extname = function(t4) {\n          return I.extname(t4.path);\n        };\n      }(P || (P = {}));\n    } }, e = {};\n    function r(n) {\n      if (e[n])\n        return e[n].exports;\n      var o = e[n] = { exports: {} };\n      return t[n](o, o.exports, r), o.exports;\n    }\n    return r.d = (t2, e2) => {\n      for (var n in e2)\n        r.o(e2, n) && !r.o(t2, n) && Object.defineProperty(t2, n, { enumerable: true, get: e2[n] });\n    }, r.o = (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), r.r = (t2) => {\n      \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: \"Module\" }), Object.defineProperty(t2, \"__esModule\", { value: true });\n    }, r(447);\n  })();\n  var { URI: URI2, Utils } = LIB;\n  function normalizeRef(url) {\n    var first = url[0];\n    var last = url[url.length - 1];\n    if (first === last && (first === \"'\" || first === '\"')) {\n      url = url.substr(1, url.length - 2);\n    }\n    return url;\n  }\n  function validateRef(url, languageId) {\n    if (!url.length) {\n      return false;\n    }\n    if (languageId === \"handlebars\" && /{{|}}/.test(url)) {\n      return false;\n    }\n    return /\\b(w[\\w\\d+.-]*:\\/\\/)?[^\\s()<>]+(?:\\([\\w\\d]+\\)|([^[:punct:]\\s]|\\/?))/.test(url);\n  }\n  function getWorkspaceUrl(documentUri, tokenContent, documentContext, base) {\n    if (/^\\s*javascript\\:/i.test(tokenContent) || /[\\n\\r]/.test(tokenContent)) {\n      return void 0;\n    }\n    tokenContent = tokenContent.replace(/^\\s*/g, \"\");\n    if (/^https?:\\/\\//i.test(tokenContent) || /^file:\\/\\//i.test(tokenContent)) {\n      return tokenContent;\n    }\n    if (/^\\#/i.test(tokenContent)) {\n      return documentUri + tokenContent;\n    }\n    if (/^\\/\\//i.test(tokenContent)) {\n      var pickedScheme = startsWith(documentUri, \"https://\") ? \"https\" : \"http\";\n      return pickedScheme + \":\" + tokenContent.replace(/^\\s*/g, \"\");\n    }\n    if (documentContext) {\n      return documentContext.resolveReference(tokenContent, base || documentUri);\n    }\n    return tokenContent;\n  }\n  function createLink(document2, documentContext, attributeValue, startOffset, endOffset, base) {\n    var tokenContent = normalizeRef(attributeValue);\n    if (!validateRef(tokenContent, document2.languageId)) {\n      return void 0;\n    }\n    if (tokenContent.length < attributeValue.length) {\n      startOffset++;\n      endOffset--;\n    }\n    var workspaceUrl = getWorkspaceUrl(document2.uri, tokenContent, documentContext, base);\n    if (!workspaceUrl || !isValidURI(workspaceUrl)) {\n      return void 0;\n    }\n    return {\n      range: Range2.create(document2.positionAt(startOffset), document2.positionAt(endOffset)),\n      target: workspaceUrl\n    };\n  }\n  function isValidURI(uri) {\n    try {\n      URI2.parse(uri);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n  function findDocumentLinks(document2, documentContext) {\n    var newLinks = [];\n    var scanner = createScanner(document2.getText(), 0);\n    var token = scanner.scan();\n    var lastAttributeName = void 0;\n    var afterBase = false;\n    var base = void 0;\n    var idLocations = {};\n    while (token !== TokenType.EOS) {\n      switch (token) {\n        case TokenType.StartTag:\n          if (!base) {\n            var tagName = scanner.getTokenText().toLowerCase();\n            afterBase = tagName === \"base\";\n          }\n          break;\n        case TokenType.AttributeName:\n          lastAttributeName = scanner.getTokenText().toLowerCase();\n          break;\n        case TokenType.AttributeValue:\n          if (lastAttributeName === \"src\" || lastAttributeName === \"href\") {\n            var attributeValue = scanner.getTokenText();\n            if (!afterBase) {\n              var link = createLink(document2, documentContext, attributeValue, scanner.getTokenOffset(), scanner.getTokenEnd(), base);\n              if (link) {\n                newLinks.push(link);\n              }\n            }\n            if (afterBase && typeof base === \"undefined\") {\n              base = normalizeRef(attributeValue);\n              if (base && documentContext) {\n                base = documentContext.resolveReference(base, document2.uri);\n              }\n            }\n            afterBase = false;\n            lastAttributeName = void 0;\n          } else if (lastAttributeName === \"id\") {\n            var id = normalizeRef(scanner.getTokenText());\n            idLocations[id] = scanner.getTokenOffset();\n          }\n          break;\n      }\n      token = scanner.scan();\n    }\n    for (var _i = 0, newLinks_1 = newLinks; _i < newLinks_1.length; _i++) {\n      var link = newLinks_1[_i];\n      var localWithHash = document2.uri + \"#\";\n      if (link.target && startsWith(link.target, localWithHash)) {\n        var target = link.target.substr(localWithHash.length);\n        var offset = idLocations[target];\n        if (offset !== void 0) {\n          var pos = document2.positionAt(offset);\n          link.target = \"\".concat(localWithHash).concat(pos.line + 1, \",\").concat(pos.character + 1);\n        }\n      }\n    }\n    return newLinks;\n  }\n  function findDocumentHighlights(document2, position, htmlDocument) {\n    var offset = document2.offsetAt(position);\n    var node = htmlDocument.findNodeAt(offset);\n    if (!node.tag) {\n      return [];\n    }\n    var result = [];\n    var startTagRange = getTagNameRange(TokenType.StartTag, document2, node.start);\n    var endTagRange = typeof node.endTagStart === \"number\" && getTagNameRange(TokenType.EndTag, document2, node.endTagStart);\n    if (startTagRange && covers(startTagRange, position) || endTagRange && covers(endTagRange, position)) {\n      if (startTagRange) {\n        result.push({ kind: DocumentHighlightKind3.Read, range: startTagRange });\n      }\n      if (endTagRange) {\n        result.push({ kind: DocumentHighlightKind3.Read, range: endTagRange });\n      }\n    }\n    return result;\n  }\n  function isBeforeOrEqual(pos1, pos2) {\n    return pos1.line < pos2.line || pos1.line === pos2.line && pos1.character <= pos2.character;\n  }\n  function covers(range, position) {\n    return isBeforeOrEqual(range.start, position) && isBeforeOrEqual(position, range.end);\n  }\n  function getTagNameRange(tokenType, document2, startOffset) {\n    var scanner = createScanner(document2.getText(), startOffset);\n    var token = scanner.scan();\n    while (token !== TokenType.EOS && token !== tokenType) {\n      token = scanner.scan();\n    }\n    if (token !== TokenType.EOS) {\n      return { start: document2.positionAt(scanner.getTokenOffset()), end: document2.positionAt(scanner.getTokenEnd()) };\n    }\n    return null;\n  }\n  function findDocumentSymbols(document2, htmlDocument) {\n    var symbols = [];\n    htmlDocument.roots.forEach(function(node) {\n      provideFileSymbolsInternal(document2, node, \"\", symbols);\n    });\n    return symbols;\n  }\n  function provideFileSymbolsInternal(document2, node, container, symbols) {\n    var name = nodeToName(node);\n    var location = Location.create(document2.uri, Range2.create(document2.positionAt(node.start), document2.positionAt(node.end)));\n    var symbol = {\n      name,\n      location,\n      containerName: container,\n      kind: SymbolKind2.Field\n    };\n    symbols.push(symbol);\n    node.children.forEach(function(child) {\n      provideFileSymbolsInternal(document2, child, name, symbols);\n    });\n  }\n  function nodeToName(node) {\n    var name = node.tag;\n    if (node.attributes) {\n      var id = node.attributes[\"id\"];\n      var classes = node.attributes[\"class\"];\n      if (id) {\n        name += \"#\".concat(id.replace(/[\\\"\\']/g, \"\"));\n      }\n      if (classes) {\n        name += classes.replace(/[\\\"\\']/g, \"\").split(/\\s+/).map(function(className) {\n          return \".\".concat(className);\n        }).join(\"\");\n      }\n    }\n    return name || \"?\";\n  }\n  function doRename(document2, position, newName, htmlDocument) {\n    var _a22;\n    var offset = document2.offsetAt(position);\n    var node = htmlDocument.findNodeAt(offset);\n    if (!node.tag) {\n      return null;\n    }\n    if (!isWithinTagRange(node, offset, node.tag)) {\n      return null;\n    }\n    var edits = [];\n    var startTagRange = {\n      start: document2.positionAt(node.start + \"<\".length),\n      end: document2.positionAt(node.start + \"<\".length + node.tag.length)\n    };\n    edits.push({\n      range: startTagRange,\n      newText: newName\n    });\n    if (node.endTagStart) {\n      var endTagRange = {\n        start: document2.positionAt(node.endTagStart + \"</\".length),\n        end: document2.positionAt(node.endTagStart + \"</\".length + node.tag.length)\n      };\n      edits.push({\n        range: endTagRange,\n        newText: newName\n      });\n    }\n    var changes = (_a22 = {}, _a22[document2.uri.toString()] = edits, _a22);\n    return {\n      changes\n    };\n  }\n  function isWithinTagRange(node, offset, nodeTag) {\n    if (node.endTagStart) {\n      if (node.endTagStart + \"</\".length <= offset && offset <= node.endTagStart + \"</\".length + nodeTag.length) {\n        return true;\n      }\n    }\n    return node.start + \"<\".length <= offset && offset <= node.start + \"<\".length + nodeTag.length;\n  }\n  function findMatchingTagPosition(document2, position, htmlDocument) {\n    var offset = document2.offsetAt(position);\n    var node = htmlDocument.findNodeAt(offset);\n    if (!node.tag) {\n      return null;\n    }\n    if (!node.endTagStart) {\n      return null;\n    }\n    if (node.start + \"<\".length <= offset && offset <= node.start + \"<\".length + node.tag.length) {\n      var mirrorOffset = offset - \"<\".length - node.start + node.endTagStart + \"</\".length;\n      return document2.positionAt(mirrorOffset);\n    }\n    if (node.endTagStart + \"</\".length <= offset && offset <= node.endTagStart + \"</\".length + node.tag.length) {\n      var mirrorOffset = offset - \"</\".length - node.endTagStart + node.start + \"<\".length;\n      return document2.positionAt(mirrorOffset);\n    }\n    return null;\n  }\n  function findLinkedEditingRanges(document2, position, htmlDocument) {\n    var offset = document2.offsetAt(position);\n    var node = htmlDocument.findNodeAt(offset);\n    var tagLength = node.tag ? node.tag.length : 0;\n    if (!node.endTagStart) {\n      return null;\n    }\n    if (\n      // Within open tag, compute close tag\n      node.start + \"<\".length <= offset && offset <= node.start + \"<\".length + tagLength || // Within closing tag, compute open tag\n      node.endTagStart + \"</\".length <= offset && offset <= node.endTagStart + \"</\".length + tagLength\n    ) {\n      return [\n        Range2.create(document2.positionAt(node.start + \"<\".length), document2.positionAt(node.start + \"<\".length + tagLength)),\n        Range2.create(document2.positionAt(node.endTagStart + \"</\".length), document2.positionAt(node.endTagStart + \"</\".length + tagLength))\n      ];\n    }\n    return null;\n  }\n  function limitRanges(ranges, rangeLimit) {\n    ranges = ranges.sort(function(r1, r2) {\n      var diff = r1.startLine - r2.startLine;\n      if (diff === 0) {\n        diff = r1.endLine - r2.endLine;\n      }\n      return diff;\n    });\n    var top = void 0;\n    var previous = [];\n    var nestingLevels = [];\n    var nestingLevelCounts = [];\n    var setNestingLevel = function(index, level2) {\n      nestingLevels[index] = level2;\n      if (level2 < 30) {\n        nestingLevelCounts[level2] = (nestingLevelCounts[level2] || 0) + 1;\n      }\n    };\n    for (var i = 0; i < ranges.length; i++) {\n      var entry = ranges[i];\n      if (!top) {\n        top = entry;\n        setNestingLevel(i, 0);\n      } else {\n        if (entry.startLine > top.startLine) {\n          if (entry.endLine <= top.endLine) {\n            previous.push(top);\n            top = entry;\n            setNestingLevel(i, previous.length);\n          } else if (entry.startLine > top.endLine) {\n            do {\n              top = previous.pop();\n            } while (top && entry.startLine > top.endLine);\n            if (top) {\n              previous.push(top);\n            }\n            top = entry;\n            setNestingLevel(i, previous.length);\n          }\n        }\n      }\n    }\n    var entries = 0;\n    var maxLevel = 0;\n    for (var i = 0; i < nestingLevelCounts.length; i++) {\n      var n = nestingLevelCounts[i];\n      if (n) {\n        if (n + entries > rangeLimit) {\n          maxLevel = i;\n          break;\n        }\n        entries += n;\n      }\n    }\n    var result = [];\n    for (var i = 0; i < ranges.length; i++) {\n      var level = nestingLevels[i];\n      if (typeof level === \"number\") {\n        if (level < maxLevel || level === maxLevel && entries++ < rangeLimit) {\n          result.push(ranges[i]);\n        }\n      }\n    }\n    return result;\n  }\n  function getFoldingRanges(document2, context) {\n    var scanner = createScanner(document2.getText());\n    var token = scanner.scan();\n    var ranges = [];\n    var stack = [];\n    var lastTagName = null;\n    var prevStart = -1;\n    function addRange(range) {\n      ranges.push(range);\n      prevStart = range.startLine;\n    }\n    while (token !== TokenType.EOS) {\n      switch (token) {\n        case TokenType.StartTag: {\n          var tagName = scanner.getTokenText();\n          var startLine = document2.positionAt(scanner.getTokenOffset()).line;\n          stack.push({ startLine, tagName });\n          lastTagName = tagName;\n          break;\n        }\n        case TokenType.EndTag: {\n          lastTagName = scanner.getTokenText();\n          break;\n        }\n        case TokenType.StartTagClose:\n          if (!lastTagName || !isVoidElement(lastTagName)) {\n            break;\n          }\n        case TokenType.EndTagClose:\n        case TokenType.StartTagSelfClose: {\n          var i = stack.length - 1;\n          while (i >= 0 && stack[i].tagName !== lastTagName) {\n            i--;\n          }\n          if (i >= 0) {\n            var stackElement = stack[i];\n            stack.length = i;\n            var line = document2.positionAt(scanner.getTokenOffset()).line;\n            var startLine = stackElement.startLine;\n            var endLine = line - 1;\n            if (endLine > startLine && prevStart !== startLine) {\n              addRange({ startLine, endLine });\n            }\n          }\n          break;\n        }\n        case TokenType.Comment: {\n          var startLine = document2.positionAt(scanner.getTokenOffset()).line;\n          var text = scanner.getTokenText();\n          var m = text.match(/^\\s*#(region\\b)|(endregion\\b)/);\n          if (m) {\n            if (m[1]) {\n              stack.push({ startLine, tagName: \"\" });\n            } else {\n              var i = stack.length - 1;\n              while (i >= 0 && stack[i].tagName.length) {\n                i--;\n              }\n              if (i >= 0) {\n                var stackElement = stack[i];\n                stack.length = i;\n                var endLine = startLine;\n                startLine = stackElement.startLine;\n                if (endLine > startLine && prevStart !== startLine) {\n                  addRange({ startLine, endLine, kind: FoldingRangeKind2.Region });\n                }\n              }\n            }\n          } else {\n            var endLine = document2.positionAt(scanner.getTokenOffset() + scanner.getTokenLength()).line;\n            if (startLine < endLine) {\n              addRange({ startLine, endLine, kind: FoldingRangeKind2.Comment });\n            }\n          }\n          break;\n        }\n      }\n      token = scanner.scan();\n    }\n    var rangeLimit = context && context.rangeLimit || Number.MAX_VALUE;\n    if (ranges.length > rangeLimit) {\n      return limitRanges(ranges, rangeLimit);\n    }\n    return ranges;\n  }\n  function getSelectionRanges(document2, positions) {\n    function getSelectionRange(position) {\n      var applicableRanges = getApplicableRanges(document2, position);\n      var prev = void 0;\n      var current = void 0;\n      for (var index = applicableRanges.length - 1; index >= 0; index--) {\n        var range = applicableRanges[index];\n        if (!prev || range[0] !== prev[0] || range[1] !== prev[1]) {\n          current = SelectionRange.create(Range2.create(document2.positionAt(applicableRanges[index][0]), document2.positionAt(applicableRanges[index][1])), current);\n        }\n        prev = range;\n      }\n      if (!current) {\n        current = SelectionRange.create(Range2.create(position, position));\n      }\n      return current;\n    }\n    return positions.map(getSelectionRange);\n  }\n  function getApplicableRanges(document2, position) {\n    var htmlDoc = parse(document2.getText());\n    var currOffset = document2.offsetAt(position);\n    var currNode = htmlDoc.findNodeAt(currOffset);\n    var result = getAllParentTagRanges(currNode);\n    if (currNode.startTagEnd && !currNode.endTagStart) {\n      if (currNode.startTagEnd !== currNode.end) {\n        return [[currNode.start, currNode.end]];\n      }\n      var closeRange = Range2.create(document2.positionAt(currNode.startTagEnd - 2), document2.positionAt(currNode.startTagEnd));\n      var closeText = document2.getText(closeRange);\n      if (closeText === \"/>\") {\n        result.unshift([currNode.start + 1, currNode.startTagEnd - 2]);\n      } else {\n        result.unshift([currNode.start + 1, currNode.startTagEnd - 1]);\n      }\n      var attributeLevelRanges = getAttributeLevelRanges(document2, currNode, currOffset);\n      result = attributeLevelRanges.concat(result);\n      return result;\n    }\n    if (!currNode.startTagEnd || !currNode.endTagStart) {\n      return result;\n    }\n    result.unshift([currNode.start, currNode.end]);\n    if (currNode.start < currOffset && currOffset < currNode.startTagEnd) {\n      result.unshift([currNode.start + 1, currNode.startTagEnd - 1]);\n      var attributeLevelRanges = getAttributeLevelRanges(document2, currNode, currOffset);\n      result = attributeLevelRanges.concat(result);\n      return result;\n    } else if (currNode.startTagEnd <= currOffset && currOffset <= currNode.endTagStart) {\n      result.unshift([currNode.startTagEnd, currNode.endTagStart]);\n      return result;\n    } else {\n      if (currOffset >= currNode.endTagStart + 2) {\n        result.unshift([currNode.endTagStart + 2, currNode.end - 1]);\n      }\n      return result;\n    }\n  }\n  function getAllParentTagRanges(initialNode) {\n    var currNode = initialNode;\n    var getNodeRanges = function(n) {\n      if (n.startTagEnd && n.endTagStart && n.startTagEnd < n.endTagStart) {\n        return [\n          [n.startTagEnd, n.endTagStart],\n          [n.start, n.end]\n        ];\n      }\n      return [\n        [n.start, n.end]\n      ];\n    };\n    var result = [];\n    while (currNode.parent) {\n      currNode = currNode.parent;\n      getNodeRanges(currNode).forEach(function(r) {\n        return result.push(r);\n      });\n    }\n    return result;\n  }\n  function getAttributeLevelRanges(document2, currNode, currOffset) {\n    var currNodeRange = Range2.create(document2.positionAt(currNode.start), document2.positionAt(currNode.end));\n    var currNodeText = document2.getText(currNodeRange);\n    var relativeOffset = currOffset - currNode.start;\n    var scanner = createScanner(currNodeText);\n    var token = scanner.scan();\n    var positionOffset = currNode.start;\n    var result = [];\n    var isInsideAttribute = false;\n    var attrStart = -1;\n    while (token !== TokenType.EOS) {\n      switch (token) {\n        case TokenType.AttributeName: {\n          if (relativeOffset < scanner.getTokenOffset()) {\n            isInsideAttribute = false;\n            break;\n          }\n          if (relativeOffset <= scanner.getTokenEnd()) {\n            result.unshift([scanner.getTokenOffset(), scanner.getTokenEnd()]);\n          }\n          isInsideAttribute = true;\n          attrStart = scanner.getTokenOffset();\n          break;\n        }\n        case TokenType.AttributeValue: {\n          if (!isInsideAttribute) {\n            break;\n          }\n          var valueText = scanner.getTokenText();\n          if (relativeOffset < scanner.getTokenOffset()) {\n            result.push([attrStart, scanner.getTokenEnd()]);\n            break;\n          }\n          if (relativeOffset >= scanner.getTokenOffset() && relativeOffset <= scanner.getTokenEnd()) {\n            result.unshift([scanner.getTokenOffset(), scanner.getTokenEnd()]);\n            if (valueText[0] === '\"' && valueText[valueText.length - 1] === '\"' || valueText[0] === \"'\" && valueText[valueText.length - 1] === \"'\") {\n              if (relativeOffset >= scanner.getTokenOffset() + 1 && relativeOffset <= scanner.getTokenEnd() - 1) {\n                result.unshift([scanner.getTokenOffset() + 1, scanner.getTokenEnd() - 1]);\n              }\n            }\n            result.push([attrStart, scanner.getTokenEnd()]);\n          }\n          break;\n        }\n      }\n      token = scanner.scan();\n    }\n    return result.map(function(pair) {\n      return [pair[0] + positionOffset, pair[1] + positionOffset];\n    });\n  }\n  var htmlData = {\n    \"version\": 1.1,\n    \"tags\": [\n      {\n        \"name\": \"html\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The html element represents the root of an HTML document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"manifest\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details.\"\n            }\n          },\n          {\n            \"name\": \"version\",\n            \"description\": 'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD \"Document Type Definition: In HTML, the doctype is the required \"<!DOCTYPE html>\" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \\u201Cquirks mode\\u201D when rendering a document; that is, the \"<!DOCTYPE html>\" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.\") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'\n          },\n          {\n            \"name\": \"xmlns\",\n            \"description\": 'Specifies the XML Namespace of the document. Default value is `\"http://www.w3.org/1999/xhtml\"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/html\"\n          }\n        ]\n      },\n      {\n        \"name\": \"head\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The head element represents a collection of metadata for the Document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"profile\",\n            \"description\": \"The URIs of one or more metadata profiles, separated by white space.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/head\"\n          }\n        ]\n      },\n      {\n        \"name\": \"title\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/title\"\n          }\n        ]\n      },\n      {\n        \"name\": \"base\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"href\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed.\"\n            }\n          },\n          {\n            \"name\": \"target\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\\n\\n*   `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\\n*   `_blank`: Load the result into a new unnamed browsing context.\\n*   `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\\n*   `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\\n\\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/base\"\n          }\n        ]\n      },\n      {\n        \"name\": \"link\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The link element allows authors to link their document to other resources.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"href\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL \"URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.\") of the linked resource. A URL can be absolute or relative.'\n            }\n          },\n          {\n            \"name\": \"crossorigin\",\n            \"valueSet\": \"xo\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS \"CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.\") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas \"Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.\") element without being _tainted_. The allowed values are:\\n\\n`anonymous`\\n\\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin \"The Origin request header indicates where a fetch originates from. It doesn\\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\\'t disclose the whole path.\") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin \"The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.\") HTTP header) the image will be tainted and its usage restricted.\\n\\n`use-credentials`\\n\\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials \"The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\\'s credentials mode (Request.credentials) is \"include\".\") HTTP header), the resource will be _tainted_ and its usage restricted.\\n\\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS \"CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.\") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'\n            }\n          },\n          {\n            \"name\": \"rel\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\"\n            }\n          },\n          {\n            \"name\": \"media\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \\u2014 it allows the user agent to pick the best adapted one for the device it runs on.\\n\\n**Notes:**\\n\\n*   In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\\n*   Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4.\"\n            }\n          },\n          {\n            \"name\": \"hreflang\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel=\"preload\"` link types, to make sure the browser only downloads file types that it supports.'\n            }\n          },\n          {\n            \"name\": \"sizes\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\\n\\n*   `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\\n*   a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\\n\\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it.\"\n            }\n          },\n          {\n            \"name\": \"as\",\n            \"description\": 'This attribute is only used when `rel=\"preload\"` or `rel=\"prefetch\"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept \"The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\\xA0video or a script.\") request header.'\n          },\n          {\n            \"name\": \"importance\",\n            \"description\": \"Indicates the relative importance of the resource. Priority hints are delegated using the values:\"\n          },\n          {\n            \"name\": \"importance\",\n            \"description\": '**`auto`**: Indicates\\xA0**no\\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\\n\\n**`high`**: Indicates to the\\xA0browser\\xA0that the resource is of\\xA0**high** priority.\\n\\n**`low`**:\\xA0Indicates to the\\xA0browser\\xA0that the resource is of\\xA0**low** priority.\\n\\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel=\"preload\"` or `rel=\"prefetch\"` is present.'\n          },\n          {\n            \"name\": \"integrity\",\n            \"description\": \"Contains inline metadata \\u2014 a base64-encoded cryptographic hash of the resource (file) you\\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).\"\n          },\n          {\n            \"name\": \"referrerpolicy\",\n            \"description\": 'A string indicating which referrer to use when fetching the resource:\\n\\n*   `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\\n*   `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\\u2019s default behavior, if no policy is otherwise specified.\\n*   `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\\n*   `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\\'s path.\\n*   `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'\n          },\n          {\n            \"name\": \"title\",\n            \"description\": 'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel=\"stylesheet\">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/link\"\n          }\n        ]\n      },\n      {\n        \"name\": \"meta\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\\n\\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\\n\\n*   `application-name` which defines the name of the application running in the web page.\\n    \\n    **Note:**\\n    \\n    *   Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title \"The HTML Title element (<title>) defines the document\\'s title that is shown in a browser\\'s title bar or a page\\'s tab.\") element, which usually contain the application name, but may also contain information like the document name or a status.\\n    *   Simple web pages shouldn\\'t define an application-name.\\n    \\n*   `author` which defines the name of the document\\'s author.\\n*   `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\\n*   `generator` which contains the identifier of the software that generated the page.\\n*   `keywords` which contains words relevant to the page\\'s content separated by commas.\\n*   `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\\n    \\n    Values for the `content` attribute of `<meta name=\"referrer\">`\\n    \\n    `no-referrer`\\n    \\n    Do not send a HTTP `Referrer` header.\\n    \\n    `origin`\\n    \\n    Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\\n    \\n    `no-referrer-when-downgrade`\\n    \\n    Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https\\u2192https), but does not send a referrer to less secure URLs (https\\u2192http). This is the default behaviour.\\n    \\n    `origin-when-cross-origin`\\n    \\n    Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\\n    \\n    `same-origin`\\n    \\n    A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\\n    \\n    `strict-origin`\\n    \\n    Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\\'t send it to a less secure destination (HTTPS->HTTP).\\n    \\n    `strict-origin-when-cross-origin`\\n    \\n    Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\\n    \\n    `unsafe-URL`\\n    \\n    Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\\n    \\n    **Notes:**\\n    \\n    *   Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\\n    *   Dynamically inserting `<meta name=\"referrer\">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\\n    *   When several conflicting policies are defined, the no-referrer policy is applied.\\n    \\n\\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\\n\\n*   `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta \"The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.\") elements should be used.\\n*   `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\\n*   `publisher` which defines the name of the document\\'s publisher.\\n*   `robots` which defines the behaviour that cooperative crawlers, or \"robots\", should use with the page. It is a comma-separated list of the values below:\\n    \\n    Values for the content of `<meta name=\"robots\">`\\n    \\n    Value\\n    \\n    Description\\n    \\n    Used by\\n    \\n    `index`\\n    \\n    Allows the robot to index the page (default).\\n    \\n    All\\n    \\n    `noindex`\\n    \\n    Requests the robot to not index the page.\\n    \\n    All\\n    \\n    `follow`\\n    \\n    Allows the robot to follow the links on the page (default).\\n    \\n    All\\n    \\n    `nofollow`\\n    \\n    Requests the robot to not follow the links on the page.\\n    \\n    All\\n    \\n    `none`\\n    \\n    Equivalent to `noindex, nofollow`\\n    \\n    [Google](https://support.google.com/webmasters/answer/79812)\\n    \\n    `noodp`\\n    \\n    Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\\n    \\n    [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\\n    \\n    `noarchive`\\n    \\n    Requests the search engine not to cache the page content.\\n    \\n    [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\\n    \\n    `nosnippet`\\n    \\n    Prevents displaying any description of the page in search engine results.\\n    \\n    [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\\n    \\n    `noimageindex`\\n    \\n    Requests this page not to appear as the referring page of an indexed image.\\n    \\n    [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\\n    \\n    `nocache`\\n    \\n    Synonym of `noarchive`.\\n    \\n    [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\\n    \\n    **Notes:**\\n    \\n    *   Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\\n    *   The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt \"robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether\\xA0crawlers are permitted or forbidden access to the web site.\")_ file.\\n    *   If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\\n    *   Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\\'s behaviour is undefined and may vary between them.\\n    *   Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\\n    \\n*   `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\\n*   `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport \"viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view.\"). Used by mobile devices only.\\n    \\n    Values for the content of `<meta name=\"viewport\">`\\n    \\n    Value\\n    \\n    Possible subvalues\\n    \\n    Description\\n    \\n    `width`\\n    \\n    A positive integer number, or the text `device-width`\\n    \\n    Defines the pixel width of the viewport that you want the web site to be rendered at.\\n    \\n    `height`\\n    \\n    A positive integer, or the text `device-height`\\n    \\n    Defines the height of the viewport. Not used by any browser.\\n    \\n    `initial-scale`\\n    \\n    A positive number between `0.0` and `10.0`\\n    \\n    Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\\n    \\n    `maximum-scale`\\n    \\n    A positive number between `0.0` and `10.0`\\n    \\n    Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\\n    \\n    `minimum-scale`\\n    \\n    A positive number between `0.0` and `10.0`\\n    \\n    Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\\n    \\n    `user-scalable`\\n    \\n    `yes` or `no`\\n    \\n    If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\\n    \\n    Specification\\n    \\n    Status\\n    \\n    Comment\\n    \\n    [CSS Device Adaptation  \\n    The definition of \\'<meta name=\"viewport\">\\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\\n    \\n    Working Draft\\n    \\n    Non-normatively describes the Viewport META element\\n    \\n    See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport \"The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\\'s primarily used for mobile devices, but is also used by desktop browsers that support features like \"snap to edge\" (such as Microsoft Edge).\")\\n    \\n    **Notes:**\\n    \\n    *   Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\\n    *   The default values may vary between devices and browsers.\\n    *   To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag \"Mobile/Viewport meta tag\").'\n            }\n          },\n          {\n            \"name\": \"http-equiv\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\\n\\n*   `\"content-language\"`  \\n    Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\\n    \\n    **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html \"The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.\") element.\\n    \\n*   `\"content-security-policy\"`  \\n    Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\\n*   `\"content-type\"`  \\n    Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \\'`text/html`\\' followed by a character set with the following syntax: \\'`; charset=_IANAcharset_`\\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\\n    \\n    **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta \"The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.\") element.\\n    \\n    **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta \"The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.\") can\\'t change documents\\' types in XHTML or HTML5\\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\\n    \\n*   `\"refresh\"`  \\n    This instruction specifies:\\n    *   The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\\n    *   The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \\'`;url=`\\', and a valid URL.\\n*   `\"set-cookie\"`  \\n    Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\\n    \\n    **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'\n            }\n          },\n          {\n            \"name\": \"content\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used.\"\n            }\n          },\n          {\n            \"name\": \"charset\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute declares the page\\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\\'t request a specific encoding, it suggests:\\n\\n*   Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\\n*   Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\\n\\n**Note:** ASCII-incompatible encodings are those that don\\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\\n\\n*   Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\\n*   Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\\n\\n**Notes:**\\n\\n*   The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\\n*   The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta \"The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.\") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head \"The HTML <head> element provides general information (metadata) about the document, including its title and links to its\\xA0scripts and style sheets.\") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\\n*   This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta \"The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.\") element is only one part of the [algorithm to determine a page\\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm \"Algorithm charset page\"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark \"The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!\") override this element.\\n*   It is strongly recommended to define the character encoding. If a page\\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\\n*   The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta \"The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.\") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv=\"Content-Type\" content=\"text/html; charset=_IANAcharset_\">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'\n            }\n          },\n          {\n            \"name\": \"scheme\",\n            \"description\": \"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\\n\\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/meta\"\n          }\n        ]\n      },\n      {\n        \"name\": \"style\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"media\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing.\"\n            }\n          },\n          {\n            \"name\": \"nonce\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource\\u2019s policy is otherwise trivial.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified \\u2014 there is very little reason to include this in modern web documents.\"\n            }\n          },\n          {\n            \"name\": \"scoped\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"title\",\n            \"description\": \"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/style\"\n          }\n        ]\n      },\n      {\n        \"name\": \"body\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The body element represents the content of the document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"onafterprint\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call after the user has printed the document.\"\n            }\n          },\n          {\n            \"name\": \"onbeforeprint\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the user requests printing of the document.\"\n            }\n          },\n          {\n            \"name\": \"onbeforeunload\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the document is about to be unloaded.\"\n            }\n          },\n          {\n            \"name\": \"onhashchange\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed.\"\n            }\n          },\n          {\n            \"name\": \"onlanguagechange\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the preferred languages changed.\"\n            }\n          },\n          {\n            \"name\": \"onmessage\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the document has received a message.\"\n            }\n          },\n          {\n            \"name\": \"onoffline\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when network communication has failed.\"\n            }\n          },\n          {\n            \"name\": \"ononline\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when network communication has been restored.\"\n            }\n          },\n          {\n            \"name\": \"onpagehide\"\n          },\n          {\n            \"name\": \"onpageshow\"\n          },\n          {\n            \"name\": \"onpopstate\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the user has navigated session history.\"\n            }\n          },\n          {\n            \"name\": \"onstorage\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the storage area has changed.\"\n            }\n          },\n          {\n            \"name\": \"onunload\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Function to call when the document is going away.\"\n            }\n          },\n          {\n            \"name\": \"alink\",\n            \"description\": 'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color \"The color CSS property sets the foreground color value of an element\\'s text and text decorations, and sets the currentcolor value.\") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active \"The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.\") pseudo-class instead._'\n          },\n          {\n            \"name\": \"background\",\n            \"description\": 'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background \"The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.\") property on the element instead._'\n          },\n          {\n            \"name\": \"bgcolor\",\n            \"description\": 'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color \"The background-color CSS property sets the background color of an element.\") property on the element instead._'\n          },\n          {\n            \"name\": \"bottommargin\",\n            \"description\": 'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom \"The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.\") property on the element instead._'\n          },\n          {\n            \"name\": \"leftmargin\",\n            \"description\": 'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left \"The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.\") property on the element instead._'\n          },\n          {\n            \"name\": \"link\",\n            \"description\": 'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color \"The color CSS property sets the foreground color value of an element\\'s text and text decorations, and sets the currentcolor value.\") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link \"The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.\") pseudo-class instead._'\n          },\n          {\n            \"name\": \"onblur\",\n            \"description\": \"Function to call when the document loses focus.\"\n          },\n          {\n            \"name\": \"onerror\",\n            \"description\": \"Function to call when the document fails to load properly.\"\n          },\n          {\n            \"name\": \"onfocus\",\n            \"description\": \"Function to call when the document receives focus.\"\n          },\n          {\n            \"name\": \"onload\",\n            \"description\": \"Function to call when the document has finished loading.\"\n          },\n          {\n            \"name\": \"onredo\",\n            \"description\": \"Function to call when the user has moved forward in undo transaction history.\"\n          },\n          {\n            \"name\": \"onresize\",\n            \"description\": \"Function to call when the document has been resized.\"\n          },\n          {\n            \"name\": \"onundo\",\n            \"description\": \"Function to call when the user has moved backward in undo transaction history.\"\n          },\n          {\n            \"name\": \"rightmargin\",\n            \"description\": 'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right \"The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.\") property on the element instead._'\n          },\n          {\n            \"name\": \"text\",\n            \"description\": 'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color \"The color CSS property sets the foreground color value of an element\\'s text and text decorations, and sets the currentcolor value.\") property on the element instead._'\n          },\n          {\n            \"name\": \"topmargin\",\n            \"description\": 'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top \"The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.\") property on the element instead._'\n          },\n          {\n            \"name\": \"vlink\",\n            \"description\": 'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color \"The color CSS property sets the foreground color value of an element\\'s text and text decorations, and sets the currentcolor value.\") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited \"The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.\") pseudo-class instead._'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/body\"\n          }\n        ]\n      },\n      {\n        \"name\": \"article\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1\\u2013h6 element) as a child of the article element.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/article\"\n          }\n        ]\n      },\n      {\n        \"name\": \"section\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/section\"\n          }\n        ]\n      },\n      {\n        \"name\": \"nav\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/nav\"\n          }\n        ]\n      },\n      {\n        \"name\": \"aside\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/aside\"\n          }\n        ]\n      },\n      {\n        \"name\": \"h1\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The h1 element represents a section heading.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"\n          }\n        ]\n      },\n      {\n        \"name\": \"h2\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The h2 element represents a section heading.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"\n          }\n        ]\n      },\n      {\n        \"name\": \"h3\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The h3 element represents a section heading.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"\n          }\n        ]\n      },\n      {\n        \"name\": \"h4\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The h4 element represents a section heading.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"\n          }\n        ]\n      },\n      {\n        \"name\": \"h5\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The h5 element represents a section heading.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"\n          }\n        ]\n      },\n      {\n        \"name\": \"h6\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The h6 element represents a section heading.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"\n          }\n        ]\n      },\n      {\n        \"name\": \"header\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/header\"\n          }\n        ]\n      },\n      {\n        \"name\": \"footer\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/footer\"\n          }\n        ]\n      },\n      {\n        \"name\": \"address\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/address\"\n          }\n        ]\n      },\n      {\n        \"name\": \"p\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The p element represents a paragraph.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/p\"\n          }\n        ]\n      },\n      {\n        \"name\": \"hr\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"align\",\n            \"description\": \"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`.\"\n          },\n          {\n            \"name\": \"color\",\n            \"description\": \"Sets the color of the rule through color name or hexadecimal value.\"\n          },\n          {\n            \"name\": \"noshade\",\n            \"description\": \"Sets the rule to have no shading.\"\n          },\n          {\n            \"name\": \"size\",\n            \"description\": \"Sets the height, in pixels, of the rule.\"\n          },\n          {\n            \"name\": \"width\",\n            \"description\": \"Sets the length of the rule on the page through a pixel or percentage value.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/hr\"\n          }\n        ]\n      },\n      {\n        \"name\": \"pre\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"cols\",\n            \"description\": 'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width \"The width CSS property sets an element\\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.\") instead.'\n          },\n          {\n            \"name\": \"width\",\n            \"description\": 'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width \"The width CSS property sets an element\\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.\") instead.'\n          },\n          {\n            \"name\": \"wrap\",\n            \"description\": 'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space \"The white-space CSS property sets how white space inside an element is handled.\") instead.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/pre\"\n          }\n        ]\n      },\n      {\n        \"name\": \"blockquote\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"cite\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote\"\n          }\n        ]\n      },\n      {\n        \"name\": \"ol\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"reversed\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute specifies that the items of the list are specified in reversed order.\"\n            }\n          },\n          {\n            \"name\": \"start\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter \"C\", use `<ol start=\"3\">`.\\n\\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"valueSet\": \"lt\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the numbering type:\\n\\n*   `'a'` indicates lowercase letters,\\n*   `'A'` indicates uppercase letters,\\n*   `'i'` indicates lowercase Roman numerals,\\n*   `'I'` indicates uppercase Roman numerals,\\n*   and `'1'` indicates numbers (default).\\n\\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \\\"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\\\") element.\\n\\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\\n\\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \\\"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\\\") property should be used instead.\"\n            }\n          },\n          {\n            \"name\": \"compact\",\n            \"description\": 'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\\'t work in all browsers.\\n\\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol \"The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.\") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height \"The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.\") can be used with a value of `80%`.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/ol\"\n          }\n        ]\n      },\n      {\n        \"name\": \"ul\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The ul element represents a list of items, where the order of the items is not important \\u2014 that is, where changing the order would not materially change the meaning of the document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"compact\",\n            \"description\": 'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\\'t work in all browsers.\\n\\n**Usage note:\\xA0**Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul \"The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.\") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/ul\"\n          }\n        ]\n      },\n      {\n        \"name\": \"li\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"value\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol \"The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.\") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul \"The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.\")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu \"The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.\")).\\n\\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\\n\\n**Note:** Prior to Gecko\\xA09.0, negative values were incorrectly converted to 0. Starting in Gecko\\xA09.0 all integer values are correctly parsed.'\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": 'This character attribute indicates the numbering type:\\n\\n*   `a`: lowercase letters\\n*   `A`: uppercase letters\\n*   `i`: lowercase Roman numerals\\n*   `I`: uppercase Roman numerals\\n*   `1`: numbers\\n\\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol \"The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.\") element, if any.\\n\\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property instead.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/li\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dl\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/dl\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dt\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The dt element represents the term, or name, part of a term-description group in a description list (dl element).\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/dt\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dd\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"nowrap\",\n            \"description\": \"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/dd\"\n          }\n        ]\n      },\n      {\n        \"name\": \"figure\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/figure\"\n          }\n        ]\n      },\n      {\n        \"name\": \"figcaption\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption\"\n          }\n        ]\n      },\n      {\n        \"name\": \"main\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/main\"\n          }\n        ]\n      },\n      {\n        \"name\": \"div\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/div\"\n          }\n        ]\n      },\n      {\n        \"name\": \"a\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"href\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Contains a URL or a URL fragment that the hyperlink points to.\"\n            }\n          },\n          {\n            \"name\": \"target\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\\n\\n*   `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\\n*   `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\\n*   `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\\n*   `_top`: Load the URL into the top-level browsing context (that is, the \"highest\" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\\n\\n**Note:** When using `target`, consider adding `rel=\"noreferrer\"` to avoid exploitation of the `window.opener` API.\\n\\n**Note:** Linking to another page using `target=\"_blank\"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\\'s performance may suffer. To avoid this use `rel=\"noopener\"`.'\n            }\n          },\n          {\n            \"name\": \"download\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\\n\\n**Notes:**\\n\\n*   This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\\n*   Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\\n*   If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\\n*   If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute.\"\n            }\n          },\n          {\n            \"name\": \"ping\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST \"The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.\") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'\n            }\n          },\n          {\n            \"name\": \"rel\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\"\n            }\n          },\n          {\n            \"name\": \"hreflang\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt \"Tags for Identifying Languages\").'\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type \"MIME type: A\\xA0MIME type\\xA0(now properly called \"media type\", but\\xA0also sometimes \"content type\") is a string sent along\\xA0with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled\\xA0audio/ogg, or an image file\\xA0image/png).\") for the linked URL. It is purely advisory, with no built-in functionality.'\n            }\n          },\n          {\n            \"name\": \"referrerpolicy\",\n            \"description\": \"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\\n\\n*   `'no-referrer'` means the `Referer:` header will not be sent.\\n*   `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\\n*   `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\\n*   `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\\n*   `'strict-origin-when-cross-origin'`\\n*   `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/a\"\n          }\n        ]\n      },\n      {\n        \"name\": \"em\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The em element represents stress emphasis of its contents.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/em\"\n          }\n        ]\n      },\n      {\n        \"name\": \"strong\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The strong element represents strong importance, seriousness, or urgency for its contents.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/strong\"\n          }\n        ]\n      },\n      {\n        \"name\": \"small\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The small element represents side comments such as small print.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/small\"\n          }\n        ]\n      },\n      {\n        \"name\": \"s\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The s element represents contents that are no longer accurate or no longer relevant.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/s\"\n          }\n        ]\n      },\n      {\n        \"name\": \"cite\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/cite\"\n          }\n        ]\n      },\n      {\n        \"name\": \"q\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The q element represents some phrasing content quoted from another source.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"cite\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/q\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dfn\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/dfn\"\n          }\n        ]\n      },\n      {\n        \"name\": \"abbr\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/abbr\"\n          }\n        ]\n      },\n      {\n        \"name\": \"ruby\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/ruby\"\n          }\n        ]\n      },\n      {\n        \"name\": \"rb\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/rb\"\n          }\n        ]\n      },\n      {\n        \"name\": \"rt\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/rt\"\n          }\n        ]\n      },\n      {\n        \"name\": \"rp\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/rp\"\n          }\n        ]\n      },\n      {\n        \"name\": \"time\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"datetime\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute indicates the time and/or date of the element and must be in one of the formats described below.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/time\"\n          }\n        ]\n      },\n      {\n        \"name\": \"code\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/code\"\n          }\n        ]\n      },\n      {\n        \"name\": \"var\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/var\"\n          }\n        ]\n      },\n      {\n        \"name\": \"samp\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The samp element represents sample or quoted output from another program or computing system.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/samp\"\n          }\n        ]\n      },\n      {\n        \"name\": \"kbd\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/kbd\"\n          }\n        ]\n      },\n      {\n        \"name\": \"sub\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The sub element represents a subscript.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/sub\"\n          }\n        ]\n      },\n      {\n        \"name\": \"sup\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The sup element represents a superscript.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/sup\"\n          }\n        ]\n      },\n      {\n        \"name\": \"i\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/i\"\n          }\n        ]\n      },\n      {\n        \"name\": \"b\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/b\"\n          }\n        ]\n      },\n      {\n        \"name\": \"u\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/u\"\n          }\n        ]\n      },\n      {\n        \"name\": \"mark\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/mark\"\n          }\n        ]\n      },\n      {\n        \"name\": \"bdi\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/bdi\"\n          }\n        ]\n      },\n      {\n        \"name\": \"bdo\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"dir\",\n            \"description\": \"The direction in which text should be rendered in this element's contents. Possible values are:\\n\\n*   `ltr`: Indicates that the text should go in a left-to-right direction.\\n*   `rtl`: Indicates that the text should go in a right-to-left direction.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/bdo\"\n          }\n        ]\n      },\n      {\n        \"name\": \"span\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/span\"\n          }\n        ]\n      },\n      {\n        \"name\": \"br\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The br element represents a line break.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"clear\",\n            \"description\": \"Indicates where to begin the next line after the break.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/br\"\n          }\n        ]\n      },\n      {\n        \"name\": \"wbr\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The wbr element represents a line break opportunity.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/wbr\"\n          }\n        ]\n      },\n      {\n        \"name\": \"ins\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The ins element represents an addition to the document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"cite\",\n            \"description\": \"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system.\"\n          },\n          {\n            \"name\": \"datetime\",\n            \"description\": 'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\"). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\").'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/ins\"\n          }\n        ]\n      },\n      {\n        \"name\": \"del\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The del element represents a removal from the document.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"cite\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A URI for a resource that explains the change (for example, meeting minutes).\"\n            }\n          },\n          {\n            \"name\": \"datetime\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\"). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats \"Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.\").'\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/del\"\n          }\n        ]\n      },\n      {\n        \"name\": \"picture\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/picture\"\n          }\n        ]\n      },\n      {\n        \"name\": \"img\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An img element represents an image.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"alt\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute defines an alternative text description of the image.\\n\\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\\n\\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=\"\"`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'\n            }\n          },\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors.\"\n            }\n          },\n          {\n            \"name\": \"srcset\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\\n\\n1.  a URL to an image,\\n2.  optionally, whitespace followed by one of:\\n    *   A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\\n    *   A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\\n\\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\\n\\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\\n\\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example.\"\n            }\n          },\n          {\n            \"name\": \"crossorigin\",\n            \"valueSet\": \"xo\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas \"Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.\") element without being \"[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas).\" The allowed values are:'\n            }\n          },\n          {\n            \"name\": \"usemap\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The partial URL (starting with \\'#\\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\\n\\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a \"The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.\") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") element.'\n            }\n          },\n          {\n            \"name\": \"ismap\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\\n\\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a \"The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.\") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'\n            }\n          },\n          {\n            \"name\": \"width\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The intrinsic width of the image in pixels.\"\n            }\n          },\n          {\n            \"name\": \"height\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The intrinsic height of the image in pixels.\"\n            }\n          },\n          {\n            \"name\": \"decoding\",\n            \"description\": \"Provides an image decoding hint to the browser. The allowed values are:\"\n          },\n          {\n            \"name\": \"decoding\",\n            \"description\": \"`sync`\\n\\nDecode the image synchronously for atomic presentation with other content.\\n\\n`async`\\n\\nDecode the image asynchronously to reduce delay in presenting other content.\\n\\n`auto`\\n\\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.\"\n          },\n          {\n            \"name\": \"importance\",\n            \"description\": \"Indicates the relative importance of the resource. Priority hints are delegated using the values:\"\n          },\n          {\n            \"name\": \"importance\",\n            \"description\": \"`auto`: Indicates\\xA0**no\\xA0preference**. The browser may use its own heuristics to decide the priority of the image.\\n\\n`high`: Indicates to the\\xA0browser\\xA0that the image is of\\xA0**high** priority.\\n\\n`low`:\\xA0Indicates to the\\xA0browser\\xA0that the image is of\\xA0**low** priority.\"\n          },\n          {\n            \"name\": \"intrinsicsize\",\n            \"description\": \"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it\\u2019s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)\"\n          },\n          {\n            \"name\": \"referrerpolicy\",\n            \"description\": \"A string indicating which referrer to use when fetching the resource:\\n\\n*   `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \\\"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\\\") header will not be sent.\\n*   `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\\u2019s default behavior if no policy is otherwise specified.\\n*   `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\\n*   `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\\n*   `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.\"\n          },\n          {\n            \"name\": \"sizes\",\n            \"description\": \"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\\n\\n1.  a media condition. This must be omitted for the last item.\\n2.  a source size value.\\n\\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image\\u2019s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/img\"\n          }\n        ]\n      },\n      {\n        \"name\": \"iframe\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The iframe element represents a nested browsing context.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute \"The Element method removeAttribute() removes the attribute with the specified name from the element.\")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'\n            }\n          },\n          {\n            \"name\": \"srcdoc\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute.\"\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a \"The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.\"), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\"), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base \"The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.\") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open \"The\\xA0Window interface\\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.\") method.'\n            }\n          },\n          {\n            \"name\": \"sandbox\",\n            \"valueSet\": \"sb\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\\n\\n*   `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\\n*   `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\\n*   `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\\n*   `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\\n*   `allow-popups`: Allows popups (such as `window.open()`, `target=\"_blank\"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\\n*   `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\\n*   `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\\n*   `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy \"same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.\").\\n*   `allow-scripts`: Lets the resource run scripts (but not create popup windows).\\n*   `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\\n*   `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\\n*   `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\\n\\n**Notes about sandboxing:**\\n\\n*   When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute \\u2014 making it no more secure than not using the `sandbox` attribute at all.\\n*   Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` \\u2014 such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\\n*   The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'\n            }\n          },\n          {\n            \"name\": \"seamless\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"allowfullscreen\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen \"The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.\") method.'\n            }\n          },\n          {\n            \"name\": \"width\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The width of the frame in CSS pixels. Default is `300`.\"\n            }\n          },\n          {\n            \"name\": \"height\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The height of the frame in CSS pixels. Default is `150`.\"\n            }\n          },\n          {\n            \"name\": \"allow\",\n            \"description\": \"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`.\"\n          },\n          {\n            \"name\": \"allowpaymentrequest\",\n            \"description\": \"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API).\"\n          },\n          {\n            \"name\": \"allowpaymentrequest\",\n            \"description\": 'This attribute is considered a legacy attribute and redefined as `allow=\"payment\"`.'\n          },\n          {\n            \"name\": \"csp\",\n            \"description\": 'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp \"The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.\") for details.'\n          },\n          {\n            \"name\": \"importance\",\n            \"description\": \"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\\n\\n`auto` (default)\\n\\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\\n\\n`high`\\n\\nThe resource should be downloaded before other lower-priority page resources.\\n\\n`low`\\n\\nThe resource should be downloaded after other higher-priority page resources.\"\n          },\n          {\n            \"name\": \"referrerpolicy\",\n            \"description\": 'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\\'s resource:\\n\\n*   `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\\n*   `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin \"origin: Web content\\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.\")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS \"TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.\") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS \"HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.\")).\\n*   `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host \"host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails.\"), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port \"port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.\").\\n*   `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\\n*   `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy \"same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.\"), but cross-origin requests will contain no referrer information.\\n*   `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS\\u2192HTTPS), but don\\'t send it to a less secure destination (HTTPS\\u2192HTTP).\\n*   `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS\\u2192HTTPS), and send no header to a less secure destination (HTTPS\\u2192HTTP).\\n*   `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/iframe\"\n          }\n        ]\n      },\n      {\n        \"name\": \"embed\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The embed element provides an integration point for an external (typically non-HTML) application or interactive content.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The URL\\xA0of the resource being embedded.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The MIME\\xA0type to use to select the plug-in to instantiate.\"\n            }\n          },\n          {\n            \"name\": \"width\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed.\"\n            }\n          },\n          {\n            \"name\": \"height\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/embed\"\n          }\n        ]\n      },\n      {\n        \"name\": \"object\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"data\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The address of the resource as a valid URL. At least one of **data** and **type** must be defined.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined.\"\n            }\n          },\n          {\n            \"name\": \"typemustmatch\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used.\"\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The name of valid browsing context (HTML5), or the name of the control (HTML 4).\"\n            }\n          },\n          {\n            \"name\": \"usemap\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \\\"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\\\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element.\"\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element in the same document.'\n            }\n          },\n          {\n            \"name\": \"width\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))\"\n            }\n          },\n          {\n            \"name\": \"height\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))\"\n            }\n          },\n          {\n            \"name\": \"archive\",\n            \"description\": \"A space-separated list of URIs for archives of resources for the object.\"\n          },\n          {\n            \"name\": \"border\",\n            \"description\": \"The width of a border around the control, in pixels.\"\n          },\n          {\n            \"name\": \"classid\",\n            \"description\": \"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute.\"\n          },\n          {\n            \"name\": \"codebase\",\n            \"description\": \"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document.\"\n          },\n          {\n            \"name\": \"codetype\",\n            \"description\": \"The content type of the data specified by **classid**.\"\n          },\n          {\n            \"name\": \"declare\",\n            \"description\": \"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused.\"\n          },\n          {\n            \"name\": \"standby\",\n            \"description\": \"A message that the browser can show while loading the object's implementation and data.\"\n          },\n          {\n            \"name\": \"tabindex\",\n            \"description\": \"The position of the element in the tabbing navigation order for the current document.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/object\"\n          }\n        ]\n      },\n      {\n        \"name\": \"param\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Name of the parameter.\"\n            }\n          },\n          {\n            \"name\": \"value\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Specifies the value of the parameter.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": 'Only used if the `valuetype` is set to \"ref\". Specifies the MIME type of values found at the URI specified by value.'\n          },\n          {\n            \"name\": \"valuetype\",\n            \"description\": 'Specifies the type of the `value` attribute. Possible values are:\\n\\n*   data: Default value. The value is passed to the object\\'s implementation as a string.\\n*   ref: The value is a URI to a resource where run-time values are stored.\\n*   object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object \"The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.\") in the same document.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/param\"\n          }\n        ]\n      },\n      {\n        \"name\": \"video\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A video element is used for playing videos or movies, and audio files with captions.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"src\"\n          },\n          {\n            \"name\": \"crossorigin\",\n            \"valueSet\": \"xo\"\n          },\n          {\n            \"name\": \"poster\"\n          },\n          {\n            \"name\": \"preload\",\n            \"valueSet\": \"pl\"\n          },\n          {\n            \"name\": \"autoplay\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.\"\n            }\n          },\n          {\n            \"name\": \"mediagroup\"\n          },\n          {\n            \"name\": \"loop\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"muted\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"controls\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"width\"\n          },\n          {\n            \"name\": \"height\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/video\"\n          }\n        ]\n      },\n      {\n        \"name\": \"audio\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An audio element represents a sound or audio stream.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element within the audio block to specify the audio to embed.'\n            }\n          },\n          {\n            \"name\": \"crossorigin\",\n            \"valueSet\": \"xo\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas \"Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.\") element without being _tainted_. The allowed values are:\\n\\nanonymous\\n\\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\\n\\nuse-credentials\\n\\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\\n\\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas \"Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.\") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'\n            }\n          },\n          {\n            \"name\": \"preload\",\n            \"valueSet\": \"pl\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\\n\\n*   `none`: Indicates that the audio should not be preloaded.\\n*   `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\\n*   `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\\n*   _empty string_: A synonym of the `auto` value.\\n\\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\\n\\n**Usage notes:**\\n\\n*   The `autoplay` attribute has precedence over\\xA0`preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\\n*   The browser is not forced by the specification to follow the value of this attribute; it is a mere hint.\"\n            }\n          },\n          {\n            \"name\": \"autoplay\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A Boolean attribute:\\xA0if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\\n\\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control.\"\n            }\n          },\n          {\n            \"name\": \"mediagroup\"\n          },\n          {\n            \"name\": \"loop\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A Boolean attribute:\\xA0if specified, the audio player will\\xA0automatically seek back to the start\\xA0upon reaching the end of the audio.\"\n            }\n          },\n          {\n            \"name\": \"muted\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`.\"\n            }\n          },\n          {\n            \"name\": \"controls\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/audio\"\n          }\n        ]\n      },\n      {\n        \"name\": \"source\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio \"The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\\xA0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.\") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video \"The HTML Video element (<video>) embeds a media player which supports video playback into the document.\"), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element.'\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs.\"\n            }\n          },\n          {\n            \"name\": \"sizes\",\n            \"description\": 'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use.  \\nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element.'\n          },\n          {\n            \"name\": \"srcset\",\n            \"description\": \"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\\n\\n1.  one URL to an image,\\n2.  a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\\n3.  a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\\n\\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor.  \\nThe browser chooses the most adequate image to display at a given point of time.  \\nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \\\"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\\\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \\\"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\\\") element.\"\n          },\n          {\n            \"name\": \"media\",\n            \"description\": '[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/source\"\n          }\n        ]\n      },\n      {\n        \"name\": \"track\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"default\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element.\"\n            }\n          },\n          {\n            \"name\": \"kind\",\n            \"valueSet\": \"tk\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.)\\xA0The following keywords are allowed:\\n\\n*   `subtitles`\\n    *   Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\\n    *   Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\\n*   `captions`\\n    *   Closed captions provide a transcription and possibly a translation of audio.\\n    *   It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\\n    *   Suitable for users who are deaf or when the sound is muted.\\n*   `descriptions`\\n    *   Textual description of the video content.\\n    *   Suitable for users who are blind or where the video cannot be seen.\\n*   `chapters`\\n    *   Chapter titles are intended to be used when the user is navigating the media resource.\\n*   `metadata`\\n    *   Tracks used by scripts. Not visible to the user.\"\n            }\n          },\n          {\n            \"name\": \"label\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A user-readable title of the text track which is used by the browser when listing available text tracks.\"\n            }\n          },\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document \\u2014 unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio \"The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\\xA0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.\") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video \"The HTML Video element (<video>) embeds a media player which supports video playback into the document.\") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'\n            }\n          },\n          {\n            \"name\": \"srclang\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to\\xA0`subtitles,` then `srclang` must be defined.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/track\"\n          }\n        ]\n      },\n      {\n        \"name\": \"map\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/map\"\n          }\n        ]\n      },\n      {\n        \"name\": \"area\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"alt\"\n          },\n          {\n            \"name\": \"coords\"\n          },\n          {\n            \"name\": \"shape\",\n            \"valueSet\": \"sh\"\n          },\n          {\n            \"name\": \"href\"\n          },\n          {\n            \"name\": \"target\"\n          },\n          {\n            \"name\": \"download\"\n          },\n          {\n            \"name\": \"ping\"\n          },\n          {\n            \"name\": \"rel\"\n          },\n          {\n            \"name\": \"hreflang\"\n          },\n          {\n            \"name\": \"type\"\n          },\n          {\n            \"name\": \"accesskey\",\n            \"description\": \"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/area\"\n          }\n        ]\n      },\n      {\n        \"name\": \"table\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The table element represents data with more than one dimension, in the form of a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"border\"\n          },\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\\n\\n*   left: the table is displayed on the left side of the document;\\n*   center: the table is displayed in the center of the document;\\n*   right: the table is displayed on the right side of the document.\\n\\n**Usage Note**\\n\\n*   **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table \"The HTML <table> element represents tabular data \\u2014 that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.\") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left \"The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.\") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right \"The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.\") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin \"The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.\") to `0 auto` to achieve an effect that is similar to the align attribute.\\n*   Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/table\"\n          }\n        ]\n      },\n      {\n        \"name\": \"caption\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\\n\\n`left`\\n\\nThe caption is displayed to the left of the table.\\n\\n`top`\\n\\nThe caption is displayed above the table.\\n\\n`right`\\n\\nThe caption is displayed to the right of the table.\\n\\n`bottom`\\n\\nThe caption is displayed below the table.\\n\\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption \"The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.\") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side \"The caption-side CSS property puts the content of a table\\'s <caption> on the specified side. The values are relative to the writing-mode of the table.\") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\").'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/caption\"\n          }\n        ]\n      },\n      {\n        \"name\": \"colgroup\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"span\"\n          },\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\\n\\n*   `left`, aligning the content to the left of the cell\\n*   `center`, centering the content in the cell\\n*   `right`, aligning the content to the right of the cell\\n*   `justify`, inserting spaces into the textual content so that the content is justified in the cell\\n*   `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug\\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 \"character alignment not implemented (align=char, charoff=, text-align:<string>)\")).\\n\\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col \"The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.\") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\\n\\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values:\\n    *   Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup \"The HTML <colgroup> element defines a group of columns within a table.\") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td \"The HTML <td> element defines a cell of a table that contains data. It participates in the table model.\") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup \"The HTML <colgroup> element defines a group of columns within a table.\") element, they won\\'t inherit it.\\n    *   If the table doesn\\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property can be used.\\n    *   If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\\n*   To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property Unimplemented.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup\"\n          }\n        ]\n      },\n      {\n        \"name\": \"col\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"span\"\n          },\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\\n\\n*   `left`, aligning the content to the left of the cell\\n*   `center`, centering the content in the cell\\n*   `right`, aligning the content to the right of the cell\\n*   `justify`, inserting spaces into the textual content so that the content is justified in the cell\\n*   `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug\\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 \"character alignment not implemented (align=char, charoff=, text-align:<string>)\")).\\n\\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup \"The HTML <colgroup> element defines a group of columns within a table.\") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\\n\\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values:\\n    *   Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col \"The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.\") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td \"The HTML <td> element defines a cell of a table that contains data. It participates in the table model.\") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col \"The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.\") element, they won\\'t inherit it.\\n    *   If the table doesn\\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\\n    *   If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\\n*   To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property Unimplemented.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/col\"\n          }\n        ]\n      },\n      {\n        \"name\": \"tbody\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\\n\\n*   `left`, aligning the content to the left of the cell\\n*   `center`, centering the content in the cell\\n*   `right`, aligning the content to the right of the cell\\n*   `justify`, inserting spaces into the textual content so that the content is justified in the cell\\n*   `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\\n\\nIf this attribute is not set, the `left` value is assumed.\\n\\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property on it.\\n*   To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property Unimplemented.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/tbody\"\n          }\n        ]\n      },\n      {\n        \"name\": \"thead\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\\n\\n*   `left`, aligning the content to the left of the cell\\n*   `center`, centering the content in the cell\\n*   `right`, aligning the content to the right of the cell\\n*   `justify`, inserting spaces into the textual content so that the content is justified in the cell\\n*   `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug\\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 \"character alignment not implemented (align=char, charoff=, text-align:<string>)\")).\\n\\nIf this attribute is not set, the `left` value is assumed.\\n\\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property on it.\\n*   To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property Unimplemented.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/thead\"\n          }\n        ]\n      },\n      {\n        \"name\": \"tfoot\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\\n\\n*   `left`, aligning the content to the left of the cell\\n*   `center`, centering the content in the cell\\n*   `right`, aligning the content to the right of the cell\\n*   `justify`, inserting spaces into the textual content so that the content is justified in the cell\\n*   `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug\\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 \"character alignment not implemented (align=char, charoff=, text-align:<string>)\")).\\n\\nIf this attribute is not set, the `left` value is assumed.\\n\\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property on it.\\n*   To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property Unimplemented.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot\"\n          }\n        ]\n      },\n      {\n        \"name\": \"tr\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The tr element represents a row of cells in a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"align\",\n            \"description\": 'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString \"DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.\") which specifies how the cell\\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\\n\\n`left`\\n\\nAlign the content of each cell at its left edge.\\n\\n`center`\\n\\nCenter the contents of each cell between their left and right edges.\\n\\n`right`\\n\\nAlign the content of each cell at its right edge.\\n\\n`justify`\\n\\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\\n\\n`char`\\n\\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically \".\" or \",\" when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\\n\\nIf no value is expressly set for `align`, the parent node\\'s value is inherited.\\n\\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property to establish `left`, `center`, `right`, or `justify` alignment for the row\\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property to the alignment character (such as `\".\"` or `\",\"`).'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/tr\"\n          }\n        ]\n      },\n      {\n        \"name\": \"td\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The td element represents a data cell in a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"colspan\"\n          },\n          {\n            \"name\": \"rowspan\"\n          },\n          {\n            \"name\": \"headers\"\n          },\n          {\n            \"name\": \"abbr\",\n            \"description\": \"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\\n\\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute.\"\n          },\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how the cell content\\'s horizontal alignment will be handled. Possible values are:\\n\\n*   `left`: The content is aligned to the left of the cell.\\n*   `center`: The content is centered in the cell.\\n*   `right`: The content is aligned to the right of the cell.\\n*   `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\\n*   `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug\\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 \"character alignment not implemented (align=char, charoff=, text-align:<string>)\")).\\n\\nThe default value when this attribute is not specified is `left`.\\n\\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property to the element.\\n*   To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'\n          },\n          {\n            \"name\": \"axis\",\n            \"description\": \"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\\n\\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\"\n          },\n          {\n            \"name\": \"bgcolor\",\n            \"description\": 'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \\'#\\'. This attribute may be used with one of sixteen predefined color strings:\\n\\n\\xA0\\n\\n`black` = \"#000000\"\\n\\n\\xA0\\n\\n`green` = \"#008000\"\\n\\n\\xA0\\n\\n`silver` = \"#C0C0C0\"\\n\\n\\xA0\\n\\n`lime` = \"#00FF00\"\\n\\n\\xA0\\n\\n`gray` = \"#808080\"\\n\\n\\xA0\\n\\n`olive` = \"#808000\"\\n\\n\\xA0\\n\\n`white` = \"#FFFFFF\"\\n\\n\\xA0\\n\\n`yellow` = \"#FFFF00\"\\n\\n\\xA0\\n\\n`maroon` = \"#800000\"\\n\\n\\xA0\\n\\n`navy` = \"#000080\"\\n\\n\\xA0\\n\\n`red` = \"#FF0000\"\\n\\n\\xA0\\n\\n`blue` = \"#0000FF\"\\n\\n\\xA0\\n\\n`purple` = \"#800080\"\\n\\n\\xA0\\n\\n`teal` = \"#008080\"\\n\\n\\xA0\\n\\n`fuchsia` = \"#FF00FF\"\\n\\n\\xA0\\n\\n`aqua` = \"#00FFFF\"\\n\\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td \"The HTML <td> element defines a cell of a table that contains data. It participates in the table model.\") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color \"The background-color CSS property sets the background color of an element.\") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/td\"\n          }\n        ]\n      },\n      {\n        \"name\": \"th\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The th element represents a header cell in a table.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"colspan\"\n          },\n          {\n            \"name\": \"rowspan\"\n          },\n          {\n            \"name\": \"headers\"\n          },\n          {\n            \"name\": \"scope\",\n            \"valueSet\": \"s\"\n          },\n          {\n            \"name\": \"sorted\"\n          },\n          {\n            \"name\": \"abbr\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\"\n            }\n          },\n          {\n            \"name\": \"align\",\n            \"description\": 'This enumerated attribute specifies how the cell content\\'s horizontal alignment will be handled. Possible values are:\\n\\n*   `left`: The content is aligned to the left of the cell.\\n*   `center`: The content is centered in the cell.\\n*   `right`: The content is aligned to the right of the cell.\\n*   `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\\n*   `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\\n\\nThe default value when this attribute is not specified is `left`.\\n\\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\\n\\n*   To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property to the element.\\n*   To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align \"The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.\") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'\n          },\n          {\n            \"name\": \"axis\",\n            \"description\": \"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\\n\\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead.\"\n          },\n          {\n            \"name\": \"bgcolor\",\n            \"description\": 'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \\'#\\'. This attribute may be used with one of sixteen predefined color strings:\\n\\n\\xA0\\n\\n`black` = \"#000000\"\\n\\n\\xA0\\n\\n`green` = \"#008000\"\\n\\n\\xA0\\n\\n`silver` = \"#C0C0C0\"\\n\\n\\xA0\\n\\n`lime` = \"#00FF00\"\\n\\n\\xA0\\n\\n`gray` = \"#808080\"\\n\\n\\xA0\\n\\n`olive` = \"#808000\"\\n\\n\\xA0\\n\\n`white` = \"#FFFFFF\"\\n\\n\\xA0\\n\\n`yellow` = \"#FFFF00\"\\n\\n\\xA0\\n\\n`maroon` = \"#800000\"\\n\\n\\xA0\\n\\n`navy` = \"#000080\"\\n\\n\\xA0\\n\\n`red` = \"#FF0000\"\\n\\n\\xA0\\n\\n`blue` = \"#0000FF\"\\n\\n\\xA0\\n\\n`purple` = \"#800080\"\\n\\n\\xA0\\n\\n`teal` = \"#008080\"\\n\\n\\xA0\\n\\n`fuchsia` = \"#FF00FF\"\\n\\n\\xA0\\n\\n`aqua` = \"#00FFFF\"\\n\\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th \"The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.\") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color \"The background-color CSS property sets the background color of an element.\") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/th\"\n          }\n        ]\n      },\n      {\n        \"name\": \"form\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"accept-charset\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `\"UNKNOWN\"`, indicates the same encoding as that of the document containing the form element.  \\nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'\n            }\n          },\n          {\n            \"name\": \"action\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element.'\n            }\n          },\n          {\n            \"name\": \"autocomplete\",\n            \"valueSet\": \"o\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\\n\\n*   `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\\n*   `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\\n\\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields).\"\n            }\n          },\n          {\n            \"name\": \"enctype\",\n            \"valueSet\": \"et\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\\n\\n*   `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\\n*   `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element with the `type` attribute set to \"file\".\\n*   `text/plain`: (HTML5)\\n\\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element.'\n            }\n          },\n          {\n            \"name\": \"method\",\n            \"valueSet\": \"m\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\\n\\n*   `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\\n*   `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \\'?\\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\\n*   `dialog`: Use when the form is inside a\\xA0[`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog \"The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.\") element to close the dialog when submitted.\\n\\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element.'\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5.\"\n            }\n          },\n          {\n            \"name\": \"novalidate\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element belonging to the form.'\n            }\n          },\n          {\n            \"name\": \"target\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\\n\\n*   `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\\n*   `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\\n*   `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\\n*   `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\\n*   _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe \"The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.\").\\n\\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element.'\n            }\n          },\n          {\n            \"name\": \"accept\",\n            \"description\": 'A comma-separated list of content types that the server accepts.\\n\\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element.'\n          },\n          {\n            \"name\": \"autocapitalize\",\n            \"description\": \"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\\n\\n*   `none`: Completely disables automatic capitalization\\n*   `sentences`: Automatically capitalize the first letter of sentences.\\n*   `words`: Automatically capitalize the first letter of words.\\n*   `characters`: Automatically capitalize all characters.\\n*   `on`: Deprecated since iOS 5.\\n*   `off`: Deprecated since iOS 5.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/form\"\n          }\n        ]\n      },\n      {\n        \"name\": \"label\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'\n            }\n          },\n          {\n            \"name\": \"for\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is\\xA0not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\\n\\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/label\"\n          }\n        ]\n      },\n      {\n        \"name\": \"input\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The input element represents a typed data field, usually with a form control to allow the user to edit the data.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"accept\"\n          },\n          {\n            \"name\": \"alt\"\n          },\n          {\n            \"name\": \"autocomplete\",\n            \"valueSet\": \"inputautocomplete\"\n          },\n          {\n            \"name\": \"autofocus\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"checked\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"dirname\"\n          },\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"form\"\n          },\n          {\n            \"name\": \"formaction\"\n          },\n          {\n            \"name\": \"formenctype\",\n            \"valueSet\": \"et\"\n          },\n          {\n            \"name\": \"formmethod\",\n            \"valueSet\": \"fm\"\n          },\n          {\n            \"name\": \"formnovalidate\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"formtarget\"\n          },\n          {\n            \"name\": \"height\"\n          },\n          {\n            \"name\": \"inputmode\",\n            \"valueSet\": \"im\"\n          },\n          {\n            \"name\": \"list\"\n          },\n          {\n            \"name\": \"max\"\n          },\n          {\n            \"name\": \"maxlength\"\n          },\n          {\n            \"name\": \"min\"\n          },\n          {\n            \"name\": \"minlength\"\n          },\n          {\n            \"name\": \"multiple\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"name\"\n          },\n          {\n            \"name\": \"pattern\"\n          },\n          {\n            \"name\": \"placeholder\"\n          },\n          {\n            \"name\": \"readonly\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"required\",\n            \"valueSet\": \"v\"\n          },\n          {\n            \"name\": \"size\"\n          },\n          {\n            \"name\": \"src\"\n          },\n          {\n            \"name\": \"step\"\n          },\n          {\n            \"name\": \"type\",\n            \"valueSet\": \"t\"\n          },\n          {\n            \"name\": \"value\"\n          },\n          {\n            \"name\": \"width\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/input\"\n          }\n        ]\n      },\n      {\n        \"name\": \"button\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The button element represents a button labeled by its contents.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"autofocus\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified.\"\n            }\n          },\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset \"The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.\"); if there is no containing element with the **disabled** attribute set, then the button is enabled.\\n\\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") elements.'\n            }\n          },\n          {\n            \"name\": \"formaction\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner.\"\n            }\n          },\n          {\n            \"name\": \"formenctype\",\n            \"valueSet\": \"et\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\\n\\n*   `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\\n*   `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\\n*   `text/plain`\\n\\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\\'s form owner.'\n            }\n          },\n          {\n            \"name\": \"formmethod\",\n            \"valueSet\": \"fm\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\\n\\n*   `post`: The data from the form are included in the body of the form and sent to the server.\\n*   `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\\n\\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner.\"\n            }\n          },\n          {\n            \"name\": \"formnovalidate\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner.\"\n            }\n          },\n          {\n            \"name\": \"formtarget\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\\n\\n*   `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\\n*   `_blank`: Load the response into a new unnamed browsing context.\\n*   `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\\n*   `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\"\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The name of the button, which is submitted with the form data.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"valueSet\": \"bt\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The type of the button. Possible values are:\\n\\n*   `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\\n*   `reset`: The button resets all the controls to their initial values.\\n*   `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur.\"\n            }\n          },\n          {\n            \"name\": \"value\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted.\"\n            }\n          },\n          {\n            \"name\": \"autocomplete\",\n            \"description\": 'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button \"The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.\") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete=\"off\"`) disables this feature. See [bug\\xA0654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 \"if disabled state is changed with javascript, the normal state doesn\\'t return after refreshing the page\").'\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/button\"\n          }\n        ]\n      },\n      {\n        \"name\": \"select\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The select element represents a control for selecting amongst a set of options.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"autocomplete\",\n            \"valueSet\": \"inputautocomplete\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString \"DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.\") providing a hint for a [user agent\\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent \"user agent\\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.\") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'\n            }\n          },\n          {\n            \"name\": \"autofocus\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute.\"\n            }\n          },\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled.\"\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute lets you specify the form element to\\xA0which\\xA0the select element is associated\\xA0(that is, its \"form owner\"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'\n            }\n          },\n          {\n            \"name\": \"multiple\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown.\"\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute is used to specify the name of the control.\"\n            }\n          },\n          {\n            \"name\": \"required\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A Boolean attribute indicating that an option with a non-empty string value must be selected.\"\n            }\n          },\n          {\n            \"name\": \"size\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\\n\\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/select\"\n          }\n        ]\n      },\n      {\n        \"name\": \"datalist\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/datalist\"\n          }\n        ]\n      },\n      {\n        \"name\": \"optgroup\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The optgroup element represents a group of option elements with a common label.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones.\"\n            }\n          },\n          {\n            \"name\": \"label\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup\"\n          }\n        ]\n      },\n      {\n        \"name\": \"option\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The option element represents an option in a select element or as part of a list of suggestions in a datalist element.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup \"The HTML <optgroup> element creates a grouping of options within a <select> element.\") element.'\n            }\n          },\n          {\n            \"name\": \"label\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content.\"\n            }\n          },\n          {\n            \"name\": \"selected\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select \"The HTML <select> element represents a control that provides a menu of options\") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select \"The HTML <select> element represents a control that provides a menu of options\") element may have the `selected` attribute.'\n            }\n          },\n          {\n            \"name\": \"value\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The content of this attribute represents the value to be submitted with the form, should this option be selected.\\xA0If this attribute is omitted, the value is taken from the text content of the option element.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/option\"\n          }\n        ]\n      },\n      {\n        \"name\": \"textarea\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"autocomplete\",\n            \"valueSet\": \"inputautocomplete\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\\n\\n*   `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\\n*   `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\\n\\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\").'\n            }\n          },\n          {\n            \"name\": \"autofocus\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified.\"\n            }\n          },\n          {\n            \"name\": \"cols\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`.\"\n            }\n          },\n          {\n            \"name\": \"dirname\"\n          },\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset \"The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.\"); if there is no containing element when the `disabled` attribute is set, the control is enabled.'\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The form element that the `<textarea>` element is associated with (its \"form owner\"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'\n            }\n          },\n          {\n            \"name\": \"inputmode\",\n            \"valueSet\": \"im\"\n          },\n          {\n            \"name\": \"maxlength\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters.\"\n            }\n          },\n          {\n            \"name\": \"minlength\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The minimum number of characters (unicode code points) required that the user should enter.\"\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The name of the control.\"\n            }\n          },\n          {\n            \"name\": \"placeholder\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\\n\\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label \"The HTML <label> element represents a caption for an item in a user interface.\") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") for a full explanation.'\n            }\n          },\n          {\n            \"name\": \"readonly\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form.\"\n            }\n          },\n          {\n            \"name\": \"required\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute specifies that the user must fill in a value before submitting a form.\"\n            }\n          },\n          {\n            \"name\": \"rows\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The number of visible text lines for the control.\"\n            }\n          },\n          {\n            \"name\": \"wrap\",\n            \"valueSet\": \"w\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates how the control wraps text. Possible values are:\\n\\n*   `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\\n*   `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\\n*   `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\\n\\nIf this attribute is not specified, `soft` is its default value.\"\n            }\n          },\n          {\n            \"name\": \"autocapitalize\",\n            \"description\": \"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\\n\\n*   `none`: Completely disables automatic capitalization.\\n*   `sentences`: Automatically capitalize the first letter of sentences.\\n*   `words`: Automatically capitalize the first letter of words.\\n*   `characters`: Automatically capitalize all characters.\\n*   `on`: Deprecated since iOS 5.\\n*   `off`: Deprecated since iOS 5.\"\n          },\n          {\n            \"name\": \"spellcheck\",\n            \"description\": \"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\\n\\n*   `true`: Indicates that the element needs to have its spelling and grammar checked.\\n*   `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\\n*   `false` : Indicates that the element should not be spell checked.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/textarea\"\n          }\n        ]\n      },\n      {\n        \"name\": \"output\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The output element represents the result of a calculation performed by the application, or the result of a user action.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"for\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A space-separated list of other elements\\u2019 [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation.\"\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its \"form owner\"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement \"The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.\") API.'\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/output\"\n          }\n        ]\n      },\n      {\n        \"name\": \"progress\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"value\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.\"\n            }\n          },\n          {\n            \"name\": \"max\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/progress\"\n          }\n        ]\n      },\n      {\n        \"name\": \"meter\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"value\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\\n\\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it.\"\n            }\n          },\n          {\n            \"name\": \"min\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0.\"\n            }\n          },\n          {\n            \"name\": \"max\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1.\"\n            }\n          },\n          {\n            \"name\": \"low\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value.\"\n            }\n          },\n          {\n            \"name\": \"high\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value.\"\n            }\n          },\n          {\n            \"name\": \"optimum\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred.\"\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": \"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/meter\"\n          }\n        ]\n      },\n      {\n        \"name\": \"fieldset\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The fieldset element represents a set of form controls optionally grouped under a common name.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"disabled\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \\\"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\\\") element won't be disabled.\"\n            }\n          },\n          {\n            \"name\": \"form\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form \"The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.\") element you want the `<fieldset>` to be part of, even if it is not inside the form.'\n            }\n          },\n          {\n            \"name\": \"name\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'The name associated with the group.\\n\\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element nested inside it.'\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset\"\n          }\n        ]\n      },\n      {\n        \"name\": \"legend\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/legend\"\n          }\n        ]\n      },\n      {\n        \"name\": \"details\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The details element represents a disclosure widget from which the user can obtain additional information or controls.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"open\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This Boolean attribute indicates whether or not the details \\u2014 that is, the contents of the `<details>` element \\u2014 are currently visible. The default, `false`, means the details are not visible.\"\n            }\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/details\"\n          }\n        ]\n      },\n      {\n        \"name\": \"summary\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/summary\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dialog\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"open\",\n            \"description\": \"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/dialog\"\n          }\n        ]\n      },\n      {\n        \"name\": \"script\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"src\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\\n\\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags.\"\n            }\n          },\n          {\n            \"name\": \"type\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\\n\\n*   **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\\n*   **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\\n*   **Any other value:** The embedded content is treated as a data block which won\\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\\n\\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute \\u2014 for example `type=\"text/javascript;version=1.8\"`. This has been removed in Firefox 59 (see [bug\\xA01428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 \"FIXED: Remove support for version parameter from script loader\")).'\n            }\n          },\n          {\n            \"name\": \"charset\"\n          },\n          {\n            \"name\": \"async\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\\n\\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\\n\\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async=\"false\"`) during HTML parsing.\\n\\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement \"In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\\'t recognized.\")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async=\"false\"`.\\n\\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'\n            }\n          },\n          {\n            \"name\": \"defer\",\n            \"valueSet\": \"v\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded \"/en-US/docs/Web/Events/DOMContentLoaded\").\\n\\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\\n\\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\\n\\nTo achieve a similar effect for dynamically inserted scripts use `async=\"false\"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'\n            }\n          },\n          {\n            \"name\": \"crossorigin\",\n            \"valueSet\": \"xo\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": 'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror \"The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.\") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS \"CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.\") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'\n            }\n          },\n          {\n            \"name\": \"nonce\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial.\"\n            }\n          },\n          {\n            \"name\": \"integrity\",\n            \"description\": \"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).\"\n          },\n          {\n            \"name\": \"nomodule\",\n            \"description\": \"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) \\u2014 in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code.\"\n          },\n          {\n            \"name\": \"referrerpolicy\",\n            \"description\": 'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\\n\\n*   `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\\n*   `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin \"origin: Web content\\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.\")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS \"TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.\") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS \"HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.\")).\\n*   `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host \"host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails.\"), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port \"port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.\").\\n*   `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\\n*   `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy \"same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.\"), but cross-origin requests will contain no referrer information.\\n*   `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS\\u2192HTTPS), but don\\'t send it to a less secure destination (e.g. HTTPS\\u2192HTTP).\\n*   `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS\\u2192HTTPS), and send no header to a less secure destination (e.g. HTTPS\\u2192HTTP).\\n*   `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\\n\\n**Note**: An empty string value (`\"\"`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available,\\xA0the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'\n          },\n          {\n            \"name\": \"text\",\n            \"description\": \"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/script\"\n          }\n        ]\n      },\n      {\n        \"name\": \"noscript\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/noscript\"\n          }\n        ]\n      },\n      {\n        \"name\": \"template\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script.\"\n        },\n        \"attributes\": [],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/template\"\n          }\n        ]\n      },\n      {\n        \"name\": \"canvas\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly.\"\n        },\n        \"attributes\": [\n          {\n            \"name\": \"width\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The width of the coordinate space in CSS pixels. Defaults to 300.\"\n            }\n          },\n          {\n            \"name\": \"height\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"The height of the coordinate space in CSS pixels. Defaults to 150.\"\n            }\n          },\n          {\n            \"name\": \"moz-opaque\",\n            \"description\": \"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \\\"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\\\") instead.\"\n          }\n        ],\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Element/canvas\"\n          }\n        ]\n      }\n    ],\n    \"globalAttributes\": [\n      {\n        \"name\": \"accesskey\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey\"\n          }\n        ]\n      },\n      {\n        \"name\": \"autocapitalize\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\\n\\n*   `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\\n*   `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\\n*   `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\\n*   `characters`, all letters should default to uppercase\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize\"\n          }\n        ]\n      },\n      {\n        \"name\": \"class\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName \"returns an array-like object of all child elements which have all of the given class names.\").'\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class\"\n          }\n        ]\n      },\n      {\n        \"name\": \"contenteditable\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\\n\\n*   `true` or the _empty string_, which indicates that the element must be editable;\\n*   `false`, which indicates that the element must not be editable.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable\"\n          }\n        ]\n      },\n      {\n        \"name\": \"contextmenu\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu \"The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.\") to use as the contextual menu for this element.'\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dir\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\\n\\n*   `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\\n*   `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\\n*   `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element.\"\n        },\n        \"valueSet\": \"d\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir\"\n          }\n        ]\n      },\n      {\n        \"name\": \"draggable\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\\n\\n*   `true`, which indicates that the element may be dragged\\n*   `false`, which indicates that the element may not be dragged.\"\n        },\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dropzone\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\\n\\n*   `copy`, which indicates that dropping will create a copy of the element that was dragged\\n*   `move`, which indicates that the element that was dragged will be moved to this new location.\\n*   `link`, will create a link to the dragged data.\"\n        }\n      },\n      {\n        \"name\": \"exportparts\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Used to transitively export shadow parts from a nested shadow tree into a containing light tree.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts\"\n          }\n        ]\n      },\n      {\n        \"name\": \"hidden\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown.\"\n        },\n        \"valueSet\": \"v\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden\"\n          }\n        ]\n      },\n      {\n        \"name\": \"id\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id\"\n          }\n        ]\n      },\n      {\n        \"name\": \"inputmode\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode\"\n          }\n        ]\n      },\n      {\n        \"name\": \"is\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details).\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is\"\n          }\n        ]\n      },\n      {\n        \"name\": \"itemid\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The unique, global identifier of an item.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid\"\n          }\n        ]\n      },\n      {\n        \"name\": \"itemprop\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop\"\n          }\n        ]\n      },\n      {\n        \"name\": \"itemref\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref\"\n          }\n        ]\n      },\n      {\n        \"name\": \"itemscope\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context.\"\n        },\n        \"valueSet\": \"v\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope\"\n          }\n        ]\n      },\n      {\n        \"name\": \"itemtype\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype\"\n          }\n        ]\n      },\n      {\n        \"name\": \"lang\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one \\u201Clanguage tag\\u201D (made of hyphen-separated \\u201Clanguage subtags\\u201D) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang\"\n          }\n        ]\n      },\n      {\n        \"name\": \"part\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part \"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.\") pseudo-element.'\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part\"\n          }\n        ]\n      },\n      {\n        \"name\": \"role\",\n        \"valueSet\": \"roles\"\n      },\n      {\n        \"name\": \"slot\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \\\"The HTML <slot> element\\u2014part of the Web Components technology suite\\u2014is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\\\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot\"\n          }\n        ]\n      },\n      {\n        \"name\": \"spellcheck\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\\n\\n*   `true`, which indicates that the element should be, if possible, checked for spelling errors;\\n*   `false`, which indicates that the element should not be checked for spelling errors.\"\n        },\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck\"\n          }\n        ]\n      },\n      {\n        \"name\": \"style\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style \"The HTML <style> element contains style information for a document, or part of a document.\") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style\"\n          }\n        ]\n      },\n      {\n        \"name\": \"tabindex\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\\n\\n*   a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\\n*   `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\\n*   a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex\"\n          }\n        ]\n      },\n      {\n        \"name\": \"title\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip.\"\n        },\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title\"\n          }\n        ]\n      },\n      {\n        \"name\": \"translate\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \\\"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\\\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\\n\\n*   empty string and `yes`, which indicates that the element will be translated.\\n*   `no`, which indicates that the element will not be translated.\"\n        },\n        \"valueSet\": \"y\",\n        \"references\": [\n          {\n            \"name\": \"MDN Reference\",\n            \"url\": \"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate\"\n          }\n        ]\n      },\n      {\n        \"name\": \"onabort\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The loading of a resource has been aborted.\"\n        }\n      },\n      {\n        \"name\": \"onblur\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An element has lost focus (does not bubble).\"\n        }\n      },\n      {\n        \"name\": \"oncanplay\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.\"\n        }\n      },\n      {\n        \"name\": \"oncanplaythrough\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The user agent can play the media up to its end without having to stop for further buffering of content.\"\n        }\n      },\n      {\n        \"name\": \"onchange\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user.\"\n        }\n      },\n      {\n        \"name\": \"onclick\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device button has been pressed and released on an element.\"\n        }\n      },\n      {\n        \"name\": \"oncontextmenu\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The right button of the mouse is clicked (before the context menu is displayed).\"\n        }\n      },\n      {\n        \"name\": \"ondblclick\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device button is clicked twice on an element.\"\n        }\n      },\n      {\n        \"name\": \"ondrag\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An element or text selection is being dragged (every 350ms).\"\n        }\n      },\n      {\n        \"name\": \"ondragend\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A drag operation is being ended (by releasing a mouse button or hitting the escape key).\"\n        }\n      },\n      {\n        \"name\": \"ondragenter\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A dragged element or text selection enters a valid drop target.\"\n        }\n      },\n      {\n        \"name\": \"ondragleave\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A dragged element or text selection leaves a valid drop target.\"\n        }\n      },\n      {\n        \"name\": \"ondragover\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An element or text selection is being dragged over a valid drop target (every 350ms).\"\n        }\n      },\n      {\n        \"name\": \"ondragstart\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The user starts dragging an element or text selection.\"\n        }\n      },\n      {\n        \"name\": \"ondrop\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An element is dropped on a valid drop target.\"\n        }\n      },\n      {\n        \"name\": \"ondurationchange\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The duration attribute has been updated.\"\n        }\n      },\n      {\n        \"name\": \"onemptied\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it.\"\n        }\n      },\n      {\n        \"name\": \"onended\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Playback has stopped because the end of the media was reached.\"\n        }\n      },\n      {\n        \"name\": \"onerror\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A resource failed to load.\"\n        }\n      },\n      {\n        \"name\": \"onfocus\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"An element has received focus (does not bubble).\"\n        }\n      },\n      {\n        \"name\": \"onformchange\"\n      },\n      {\n        \"name\": \"onforminput\"\n      },\n      {\n        \"name\": \"oninput\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The value of an element changes or the content of an element with the attribute contenteditable is modified.\"\n        }\n      },\n      {\n        \"name\": \"oninvalid\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A submittable element has been checked and doesn't satisfy its constraints.\"\n        }\n      },\n      {\n        \"name\": \"onkeydown\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A key is pressed down.\"\n        }\n      },\n      {\n        \"name\": \"onkeypress\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A key is pressed down and that key normally produces a character value (use input instead).\"\n        }\n      },\n      {\n        \"name\": \"onkeyup\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A key is released.\"\n        }\n      },\n      {\n        \"name\": \"onload\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A resource and its dependent resources have finished loading.\"\n        }\n      },\n      {\n        \"name\": \"onloadeddata\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The first frame of the media has finished loading.\"\n        }\n      },\n      {\n        \"name\": \"onloadedmetadata\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The metadata has been loaded.\"\n        }\n      },\n      {\n        \"name\": \"onloadstart\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Progress has begun.\"\n        }\n      },\n      {\n        \"name\": \"onmousedown\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device button (usually a mouse) is pressed on an element.\"\n        }\n      },\n      {\n        \"name\": \"onmousemove\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device is moved over an element.\"\n        }\n      },\n      {\n        \"name\": \"onmouseout\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device is moved off the element that has the listener attached or off one of its children.\"\n        }\n      },\n      {\n        \"name\": \"onmouseover\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device is moved onto the element that has the listener attached or onto one of its children.\"\n        }\n      },\n      {\n        \"name\": \"onmouseup\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device button is released over an element.\"\n        }\n      },\n      {\n        \"name\": \"onmousewheel\"\n      },\n      {\n        \"name\": \"onmouseenter\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device is moved onto the element that has the listener attached.\"\n        }\n      },\n      {\n        \"name\": \"onmouseleave\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A pointing device is moved off the element that has the listener attached.\"\n        }\n      },\n      {\n        \"name\": \"onpause\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Playback has been paused.\"\n        }\n      },\n      {\n        \"name\": \"onplay\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Playback has begun.\"\n        }\n      },\n      {\n        \"name\": \"onplaying\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Playback is ready to start after having been paused or delayed due to lack of data.\"\n        }\n      },\n      {\n        \"name\": \"onprogress\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"In progress.\"\n        }\n      },\n      {\n        \"name\": \"onratechange\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The playback rate has changed.\"\n        }\n      },\n      {\n        \"name\": \"onreset\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A form is reset.\"\n        }\n      },\n      {\n        \"name\": \"onresize\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The document view has been resized.\"\n        }\n      },\n      {\n        \"name\": \"onreadystatechange\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The readyState attribute of a document has changed.\"\n        }\n      },\n      {\n        \"name\": \"onscroll\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The document view or an element has been scrolled.\"\n        }\n      },\n      {\n        \"name\": \"onseeked\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A seek operation completed.\"\n        }\n      },\n      {\n        \"name\": \"onseeking\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A seek operation began.\"\n        }\n      },\n      {\n        \"name\": \"onselect\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Some text is being selected.\"\n        }\n      },\n      {\n        \"name\": \"onshow\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute\"\n        }\n      },\n      {\n        \"name\": \"onstalled\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming.\"\n        }\n      },\n      {\n        \"name\": \"onsubmit\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"A form is submitted.\"\n        }\n      },\n      {\n        \"name\": \"onsuspend\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Media data loading has been suspended.\"\n        }\n      },\n      {\n        \"name\": \"ontimeupdate\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The time indicated by the currentTime attribute has been updated.\"\n        }\n      },\n      {\n        \"name\": \"onvolumechange\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The volume has changed.\"\n        }\n      },\n      {\n        \"name\": \"onwaiting\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Playback has stopped because of a temporary lack of data.\"\n        }\n      },\n      {\n        \"name\": \"onpointercancel\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointer is unlikely to produce any more events.\"\n        }\n      },\n      {\n        \"name\": \"onpointerdown\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointer enters the active buttons state.\"\n        }\n      },\n      {\n        \"name\": \"onpointerenter\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Pointing device is moved inside the hit-testing boundary.\"\n        }\n      },\n      {\n        \"name\": \"onpointerleave\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Pointing device is moved out of the hit-testing boundary.\"\n        }\n      },\n      {\n        \"name\": \"onpointerlockchange\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointer was locked or released.\"\n        }\n      },\n      {\n        \"name\": \"onpointerlockerror\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"It was impossible to lock the pointer for technical reasons or because the permission was denied.\"\n        }\n      },\n      {\n        \"name\": \"onpointermove\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointer changed coordinates.\"\n        }\n      },\n      {\n        \"name\": \"onpointerout\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointing device moved out of hit-testing boundary or leaves detectable hover range.\"\n        }\n      },\n      {\n        \"name\": \"onpointerover\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointing device is moved into the hit-testing boundary.\"\n        }\n      },\n      {\n        \"name\": \"onpointerup\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"The pointer leaves the active buttons state.\"\n        }\n      },\n      {\n        \"name\": \"aria-activedescendant\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application).\"\n        }\n      },\n      {\n        \"name\": \"aria-atomic\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute.\"\n        }\n      },\n      {\n        \"name\": \"aria-autocomplete\",\n        \"valueSet\": \"autocomplete\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.\"\n        }\n      },\n      {\n        \"name\": \"aria-busy\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-busy\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user.\"\n        }\n      },\n      {\n        \"name\": \"aria-checked\",\n        \"valueSet\": \"tristate\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-checked\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'Indicates the current \"checked\" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'\n        }\n      },\n      {\n        \"name\": \"aria-colcount\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex).\"\n        }\n      },\n      {\n        \"name\": \"aria-colindex\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan).\"\n        }\n      },\n      {\n        \"name\": \"aria-colspan\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan).\"\n        }\n      },\n      {\n        \"name\": \"aria-controls\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-controls\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns).\"\n        }\n      },\n      {\n        \"name\": \"aria-current\",\n        \"valueSet\": \"current\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-current\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements.\"\n        }\n      },\n      {\n        \"name\": \"aria-describedby\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby).\"\n        }\n      },\n      {\n        \"name\": \"aria-disabled\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly).\"\n        }\n      },\n      {\n        \"name\": \"aria-dropeffect\",\n        \"valueSet\": \"dropeffect\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"\\\\[Deprecated in ARIA 1.1\\\\] Indicates what functions can be performed when a dragged object is released on the drop target.\"\n        }\n      },\n      {\n        \"name\": \"aria-errormessage\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby).\"\n        }\n      },\n      {\n        \"name\": \"aria-expanded\",\n        \"valueSet\": \"u\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.\"\n        }\n      },\n      {\n        \"name\": \"aria-flowto\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.\"\n        }\n      },\n      {\n        \"name\": \"aria-grabbed\",\n        \"valueSet\": \"u\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": `\\\\[Deprecated in ARIA 1.1\\\\] Indicates an element's \"grabbed\" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`\n        }\n      },\n      {\n        \"name\": \"aria-haspopup\",\n        \"valueSet\": \"haspopup\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element).\"\n        }\n      },\n      {\n        \"name\": \"aria-hidden\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled).\"\n        }\n      },\n      {\n        \"name\": \"aria-invalid\",\n        \"valueSet\": \"invalid\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage).\"\n        }\n      },\n      {\n        \"name\": \"aria-label\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-label\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby).\"\n        }\n      },\n      {\n        \"name\": \"aria-labelledby\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby).\"\n        }\n      },\n      {\n        \"name\": \"aria-level\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-level\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure.\"\n        }\n      },\n      {\n        \"name\": \"aria-live\",\n        \"valueSet\": \"live\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-live\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region).\"\n        }\n      },\n      {\n        \"name\": \"aria-modal\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-modal\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed.\"\n        }\n      },\n      {\n        \"name\": \"aria-multiline\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether a text box accepts multiple lines of input or only a single line.\"\n        }\n      },\n      {\n        \"name\": \"aria-multiselectable\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates that the user may select more than one item from the current selectable descendants.\"\n        }\n      },\n      {\n        \"name\": \"aria-orientation\",\n        \"valueSet\": \"orientation\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.\"\n        }\n      },\n      {\n        \"name\": \"aria-owns\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-owns\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls).\"\n        }\n      },\n      {\n        \"name\": \"aria-placeholder\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.\"\n        }\n      },\n      {\n        \"name\": \"aria-posinset\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize).\"\n        }\n      },\n      {\n        \"name\": \"aria-pressed\",\n        \"valueSet\": \"tristate\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'Indicates the current \"pressed\" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'\n        }\n      },\n      {\n        \"name\": \"aria-readonly\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled).\"\n        }\n      },\n      {\n        \"name\": \"aria-relevant\",\n        \"valueSet\": \"relevant\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic).\"\n        }\n      },\n      {\n        \"name\": \"aria-required\",\n        \"valueSet\": \"b\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-required\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted.\"\n        }\n      },\n      {\n        \"name\": \"aria-roledescription\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element).\"\n        }\n      },\n      {\n        \"name\": \"aria-rowcount\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex).\"\n        }\n      },\n      {\n        \"name\": \"aria-rowindex\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan).\"\n        }\n      },\n      {\n        \"name\": \"aria-rowspan\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan).\"\n        }\n      },\n      {\n        \"name\": \"aria-selected\",\n        \"valueSet\": \"u\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-selected\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": 'Indicates the current \"selected\" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'\n        }\n      },\n      {\n        \"name\": \"aria-setsize\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset).\"\n        }\n      },\n      {\n        \"name\": \"aria-sort\",\n        \"valueSet\": \"sort\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-sort\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates if items in a table or grid are sorted in ascending or descending order.\"\n        }\n      },\n      {\n        \"name\": \"aria-valuemax\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).\"\n        }\n      },\n      {\n        \"name\": \"aria-valuemin\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).\"\n        }\n      },\n      {\n        \"name\": \"aria-valuenow\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext).\"\n        }\n      },\n      {\n        \"name\": \"aria-valuetext\",\n        \"references\": [\n          {\n            \"name\": \"WAI-ARIA Reference\",\n            \"url\": \"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext\"\n          }\n        ],\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).\"\n        }\n      },\n      {\n        \"name\": \"aria-details\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby).\"\n        }\n      },\n      {\n        \"name\": \"aria-keyshortcuts\",\n        \"description\": {\n          \"kind\": \"markdown\",\n          \"value\": \"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.\"\n        }\n      }\n    ],\n    \"valueSets\": [\n      {\n        \"name\": \"b\",\n        \"values\": [\n          {\n            \"name\": \"true\"\n          },\n          {\n            \"name\": \"false\"\n          }\n        ]\n      },\n      {\n        \"name\": \"u\",\n        \"values\": [\n          {\n            \"name\": \"true\"\n          },\n          {\n            \"name\": \"false\"\n          },\n          {\n            \"name\": \"undefined\"\n          }\n        ]\n      },\n      {\n        \"name\": \"o\",\n        \"values\": [\n          {\n            \"name\": \"on\"\n          },\n          {\n            \"name\": \"off\"\n          }\n        ]\n      },\n      {\n        \"name\": \"y\",\n        \"values\": [\n          {\n            \"name\": \"yes\"\n          },\n          {\n            \"name\": \"no\"\n          }\n        ]\n      },\n      {\n        \"name\": \"w\",\n        \"values\": [\n          {\n            \"name\": \"soft\"\n          },\n          {\n            \"name\": \"hard\"\n          }\n        ]\n      },\n      {\n        \"name\": \"d\",\n        \"values\": [\n          {\n            \"name\": \"ltr\"\n          },\n          {\n            \"name\": \"rtl\"\n          },\n          {\n            \"name\": \"auto\"\n          }\n        ]\n      },\n      {\n        \"name\": \"m\",\n        \"values\": [\n          {\n            \"name\": \"get\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\"\n            }\n          },\n          {\n            \"name\": \"post\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server.\"\n            }\n          },\n          {\n            \"name\": \"dialog\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted.\"\n            }\n          }\n        ]\n      },\n      {\n        \"name\": \"fm\",\n        \"values\": [\n          {\n            \"name\": \"get\"\n          },\n          {\n            \"name\": \"post\"\n          }\n        ]\n      },\n      {\n        \"name\": \"s\",\n        \"values\": [\n          {\n            \"name\": \"row\"\n          },\n          {\n            \"name\": \"col\"\n          },\n          {\n            \"name\": \"rowgroup\"\n          },\n          {\n            \"name\": \"colgroup\"\n          }\n        ]\n      },\n      {\n        \"name\": \"t\",\n        \"values\": [\n          {\n            \"name\": \"hidden\"\n          },\n          {\n            \"name\": \"text\"\n          },\n          {\n            \"name\": \"search\"\n          },\n          {\n            \"name\": \"tel\"\n          },\n          {\n            \"name\": \"url\"\n          },\n          {\n            \"name\": \"email\"\n          },\n          {\n            \"name\": \"password\"\n          },\n          {\n            \"name\": \"datetime\"\n          },\n          {\n            \"name\": \"date\"\n          },\n          {\n            \"name\": \"month\"\n          },\n          {\n            \"name\": \"week\"\n          },\n          {\n            \"name\": \"time\"\n          },\n          {\n            \"name\": \"datetime-local\"\n          },\n          {\n            \"name\": \"number\"\n          },\n          {\n            \"name\": \"range\"\n          },\n          {\n            \"name\": \"color\"\n          },\n          {\n            \"name\": \"checkbox\"\n          },\n          {\n            \"name\": \"radio\"\n          },\n          {\n            \"name\": \"file\"\n          },\n          {\n            \"name\": \"submit\"\n          },\n          {\n            \"name\": \"image\"\n          },\n          {\n            \"name\": \"reset\"\n          },\n          {\n            \"name\": \"button\"\n          }\n        ]\n      },\n      {\n        \"name\": \"im\",\n        \"values\": [\n          {\n            \"name\": \"verbatim\"\n          },\n          {\n            \"name\": \"latin\"\n          },\n          {\n            \"name\": \"latin-name\"\n          },\n          {\n            \"name\": \"latin-prose\"\n          },\n          {\n            \"name\": \"full-width-latin\"\n          },\n          {\n            \"name\": \"kana\"\n          },\n          {\n            \"name\": \"kana-name\"\n          },\n          {\n            \"name\": \"katakana\"\n          },\n          {\n            \"name\": \"numeric\"\n          },\n          {\n            \"name\": \"tel\"\n          },\n          {\n            \"name\": \"email\"\n          },\n          {\n            \"name\": \"url\"\n          }\n        ]\n      },\n      {\n        \"name\": \"bt\",\n        \"values\": [\n          {\n            \"name\": \"button\"\n          },\n          {\n            \"name\": \"submit\"\n          },\n          {\n            \"name\": \"reset\"\n          },\n          {\n            \"name\": \"menu\"\n          }\n        ]\n      },\n      {\n        \"name\": \"lt\",\n        \"values\": [\n          {\n            \"name\": \"1\"\n          },\n          {\n            \"name\": \"a\"\n          },\n          {\n            \"name\": \"A\"\n          },\n          {\n            \"name\": \"i\"\n          },\n          {\n            \"name\": \"I\"\n          }\n        ]\n      },\n      {\n        \"name\": \"mt\",\n        \"values\": [\n          {\n            \"name\": \"context\"\n          },\n          {\n            \"name\": \"toolbar\"\n          }\n        ]\n      },\n      {\n        \"name\": \"mit\",\n        \"values\": [\n          {\n            \"name\": \"command\"\n          },\n          {\n            \"name\": \"checkbox\"\n          },\n          {\n            \"name\": \"radio\"\n          }\n        ]\n      },\n      {\n        \"name\": \"et\",\n        \"values\": [\n          {\n            \"name\": \"application/x-www-form-urlencoded\"\n          },\n          {\n            \"name\": \"multipart/form-data\"\n          },\n          {\n            \"name\": \"text/plain\"\n          }\n        ]\n      },\n      {\n        \"name\": \"tk\",\n        \"values\": [\n          {\n            \"name\": \"subtitles\"\n          },\n          {\n            \"name\": \"captions\"\n          },\n          {\n            \"name\": \"descriptions\"\n          },\n          {\n            \"name\": \"chapters\"\n          },\n          {\n            \"name\": \"metadata\"\n          }\n        ]\n      },\n      {\n        \"name\": \"pl\",\n        \"values\": [\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"metadata\"\n          },\n          {\n            \"name\": \"auto\"\n          }\n        ]\n      },\n      {\n        \"name\": \"sh\",\n        \"values\": [\n          {\n            \"name\": \"circle\"\n          },\n          {\n            \"name\": \"default\"\n          },\n          {\n            \"name\": \"poly\"\n          },\n          {\n            \"name\": \"rect\"\n          }\n        ]\n      },\n      {\n        \"name\": \"xo\",\n        \"values\": [\n          {\n            \"name\": \"anonymous\"\n          },\n          {\n            \"name\": \"use-credentials\"\n          }\n        ]\n      },\n      {\n        \"name\": \"sb\",\n        \"values\": [\n          {\n            \"name\": \"allow-forms\"\n          },\n          {\n            \"name\": \"allow-modals\"\n          },\n          {\n            \"name\": \"allow-pointer-lock\"\n          },\n          {\n            \"name\": \"allow-popups\"\n          },\n          {\n            \"name\": \"allow-popups-to-escape-sandbox\"\n          },\n          {\n            \"name\": \"allow-same-origin\"\n          },\n          {\n            \"name\": \"allow-scripts\"\n          },\n          {\n            \"name\": \"allow-top-navigation\"\n          }\n        ]\n      },\n      {\n        \"name\": \"tristate\",\n        \"values\": [\n          {\n            \"name\": \"true\"\n          },\n          {\n            \"name\": \"false\"\n          },\n          {\n            \"name\": \"mixed\"\n          },\n          {\n            \"name\": \"undefined\"\n          }\n        ]\n      },\n      {\n        \"name\": \"inputautocomplete\",\n        \"values\": [\n          {\n            \"name\": \"additional-name\"\n          },\n          {\n            \"name\": \"address-level1\"\n          },\n          {\n            \"name\": \"address-level2\"\n          },\n          {\n            \"name\": \"address-level3\"\n          },\n          {\n            \"name\": \"address-level4\"\n          },\n          {\n            \"name\": \"address-line1\"\n          },\n          {\n            \"name\": \"address-line2\"\n          },\n          {\n            \"name\": \"address-line3\"\n          },\n          {\n            \"name\": \"bday\"\n          },\n          {\n            \"name\": \"bday-year\"\n          },\n          {\n            \"name\": \"bday-day\"\n          },\n          {\n            \"name\": \"bday-month\"\n          },\n          {\n            \"name\": \"billing\"\n          },\n          {\n            \"name\": \"cc-additional-name\"\n          },\n          {\n            \"name\": \"cc-csc\"\n          },\n          {\n            \"name\": \"cc-exp\"\n          },\n          {\n            \"name\": \"cc-exp-month\"\n          },\n          {\n            \"name\": \"cc-exp-year\"\n          },\n          {\n            \"name\": \"cc-family-name\"\n          },\n          {\n            \"name\": \"cc-given-name\"\n          },\n          {\n            \"name\": \"cc-name\"\n          },\n          {\n            \"name\": \"cc-number\"\n          },\n          {\n            \"name\": \"cc-type\"\n          },\n          {\n            \"name\": \"country\"\n          },\n          {\n            \"name\": \"country-name\"\n          },\n          {\n            \"name\": \"current-password\"\n          },\n          {\n            \"name\": \"email\"\n          },\n          {\n            \"name\": \"family-name\"\n          },\n          {\n            \"name\": \"fax\"\n          },\n          {\n            \"name\": \"given-name\"\n          },\n          {\n            \"name\": \"home\"\n          },\n          {\n            \"name\": \"honorific-prefix\"\n          },\n          {\n            \"name\": \"honorific-suffix\"\n          },\n          {\n            \"name\": \"impp\"\n          },\n          {\n            \"name\": \"language\"\n          },\n          {\n            \"name\": \"mobile\"\n          },\n          {\n            \"name\": \"name\"\n          },\n          {\n            \"name\": \"new-password\"\n          },\n          {\n            \"name\": \"nickname\"\n          },\n          {\n            \"name\": \"organization\"\n          },\n          {\n            \"name\": \"organization-title\"\n          },\n          {\n            \"name\": \"pager\"\n          },\n          {\n            \"name\": \"photo\"\n          },\n          {\n            \"name\": \"postal-code\"\n          },\n          {\n            \"name\": \"sex\"\n          },\n          {\n            \"name\": \"shipping\"\n          },\n          {\n            \"name\": \"street-address\"\n          },\n          {\n            \"name\": \"tel-area-code\"\n          },\n          {\n            \"name\": \"tel\"\n          },\n          {\n            \"name\": \"tel-country-code\"\n          },\n          {\n            \"name\": \"tel-extension\"\n          },\n          {\n            \"name\": \"tel-local\"\n          },\n          {\n            \"name\": \"tel-local-prefix\"\n          },\n          {\n            \"name\": \"tel-local-suffix\"\n          },\n          {\n            \"name\": \"tel-national\"\n          },\n          {\n            \"name\": \"transaction-amount\"\n          },\n          {\n            \"name\": \"transaction-currency\"\n          },\n          {\n            \"name\": \"url\"\n          },\n          {\n            \"name\": \"username\"\n          },\n          {\n            \"name\": \"work\"\n          }\n        ]\n      },\n      {\n        \"name\": \"autocomplete\",\n        \"values\": [\n          {\n            \"name\": \"inline\"\n          },\n          {\n            \"name\": \"list\"\n          },\n          {\n            \"name\": \"both\"\n          },\n          {\n            \"name\": \"none\"\n          }\n        ]\n      },\n      {\n        \"name\": \"current\",\n        \"values\": [\n          {\n            \"name\": \"page\"\n          },\n          {\n            \"name\": \"step\"\n          },\n          {\n            \"name\": \"location\"\n          },\n          {\n            \"name\": \"date\"\n          },\n          {\n            \"name\": \"time\"\n          },\n          {\n            \"name\": \"true\"\n          },\n          {\n            \"name\": \"false\"\n          }\n        ]\n      },\n      {\n        \"name\": \"dropeffect\",\n        \"values\": [\n          {\n            \"name\": \"copy\"\n          },\n          {\n            \"name\": \"move\"\n          },\n          {\n            \"name\": \"link\"\n          },\n          {\n            \"name\": \"execute\"\n          },\n          {\n            \"name\": \"popup\"\n          },\n          {\n            \"name\": \"none\"\n          }\n        ]\n      },\n      {\n        \"name\": \"invalid\",\n        \"values\": [\n          {\n            \"name\": \"grammar\"\n          },\n          {\n            \"name\": \"false\"\n          },\n          {\n            \"name\": \"spelling\"\n          },\n          {\n            \"name\": \"true\"\n          }\n        ]\n      },\n      {\n        \"name\": \"live\",\n        \"values\": [\n          {\n            \"name\": \"off\"\n          },\n          {\n            \"name\": \"polite\"\n          },\n          {\n            \"name\": \"assertive\"\n          }\n        ]\n      },\n      {\n        \"name\": \"orientation\",\n        \"values\": [\n          {\n            \"name\": \"vertical\"\n          },\n          {\n            \"name\": \"horizontal\"\n          },\n          {\n            \"name\": \"undefined\"\n          }\n        ]\n      },\n      {\n        \"name\": \"relevant\",\n        \"values\": [\n          {\n            \"name\": \"additions\"\n          },\n          {\n            \"name\": \"removals\"\n          },\n          {\n            \"name\": \"text\"\n          },\n          {\n            \"name\": \"all\"\n          },\n          {\n            \"name\": \"additions text\"\n          }\n        ]\n      },\n      {\n        \"name\": \"sort\",\n        \"values\": [\n          {\n            \"name\": \"ascending\"\n          },\n          {\n            \"name\": \"descending\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"other\"\n          }\n        ]\n      },\n      {\n        \"name\": \"roles\",\n        \"values\": [\n          {\n            \"name\": \"alert\"\n          },\n          {\n            \"name\": \"alertdialog\"\n          },\n          {\n            \"name\": \"button\"\n          },\n          {\n            \"name\": \"checkbox\"\n          },\n          {\n            \"name\": \"dialog\"\n          },\n          {\n            \"name\": \"gridcell\"\n          },\n          {\n            \"name\": \"link\"\n          },\n          {\n            \"name\": \"log\"\n          },\n          {\n            \"name\": \"marquee\"\n          },\n          {\n            \"name\": \"menuitem\"\n          },\n          {\n            \"name\": \"menuitemcheckbox\"\n          },\n          {\n            \"name\": \"menuitemradio\"\n          },\n          {\n            \"name\": \"option\"\n          },\n          {\n            \"name\": \"progressbar\"\n          },\n          {\n            \"name\": \"radio\"\n          },\n          {\n            \"name\": \"scrollbar\"\n          },\n          {\n            \"name\": \"searchbox\"\n          },\n          {\n            \"name\": \"slider\"\n          },\n          {\n            \"name\": \"spinbutton\"\n          },\n          {\n            \"name\": \"status\"\n          },\n          {\n            \"name\": \"switch\"\n          },\n          {\n            \"name\": \"tab\"\n          },\n          {\n            \"name\": \"tabpanel\"\n          },\n          {\n            \"name\": \"textbox\"\n          },\n          {\n            \"name\": \"timer\"\n          },\n          {\n            \"name\": \"tooltip\"\n          },\n          {\n            \"name\": \"treeitem\"\n          },\n          {\n            \"name\": \"combobox\"\n          },\n          {\n            \"name\": \"grid\"\n          },\n          {\n            \"name\": \"listbox\"\n          },\n          {\n            \"name\": \"menu\"\n          },\n          {\n            \"name\": \"menubar\"\n          },\n          {\n            \"name\": \"radiogroup\"\n          },\n          {\n            \"name\": \"tablist\"\n          },\n          {\n            \"name\": \"tree\"\n          },\n          {\n            \"name\": \"treegrid\"\n          },\n          {\n            \"name\": \"application\"\n          },\n          {\n            \"name\": \"article\"\n          },\n          {\n            \"name\": \"cell\"\n          },\n          {\n            \"name\": \"columnheader\"\n          },\n          {\n            \"name\": \"definition\"\n          },\n          {\n            \"name\": \"directory\"\n          },\n          {\n            \"name\": \"document\"\n          },\n          {\n            \"name\": \"feed\"\n          },\n          {\n            \"name\": \"figure\"\n          },\n          {\n            \"name\": \"group\"\n          },\n          {\n            \"name\": \"heading\"\n          },\n          {\n            \"name\": \"img\"\n          },\n          {\n            \"name\": \"list\"\n          },\n          {\n            \"name\": \"listitem\"\n          },\n          {\n            \"name\": \"math\"\n          },\n          {\n            \"name\": \"none\"\n          },\n          {\n            \"name\": \"note\"\n          },\n          {\n            \"name\": \"presentation\"\n          },\n          {\n            \"name\": \"region\"\n          },\n          {\n            \"name\": \"row\"\n          },\n          {\n            \"name\": \"rowgroup\"\n          },\n          {\n            \"name\": \"rowheader\"\n          },\n          {\n            \"name\": \"separator\"\n          },\n          {\n            \"name\": \"table\"\n          },\n          {\n            \"name\": \"term\"\n          },\n          {\n            \"name\": \"text\"\n          },\n          {\n            \"name\": \"toolbar\"\n          },\n          {\n            \"name\": \"banner\"\n          },\n          {\n            \"name\": \"complementary\"\n          },\n          {\n            \"name\": \"contentinfo\"\n          },\n          {\n            \"name\": \"form\"\n          },\n          {\n            \"name\": \"main\"\n          },\n          {\n            \"name\": \"navigation\"\n          },\n          {\n            \"name\": \"region\"\n          },\n          {\n            \"name\": \"search\"\n          },\n          {\n            \"name\": \"doc-abstract\"\n          },\n          {\n            \"name\": \"doc-acknowledgments\"\n          },\n          {\n            \"name\": \"doc-afterword\"\n          },\n          {\n            \"name\": \"doc-appendix\"\n          },\n          {\n            \"name\": \"doc-backlink\"\n          },\n          {\n            \"name\": \"doc-biblioentry\"\n          },\n          {\n            \"name\": \"doc-bibliography\"\n          },\n          {\n            \"name\": \"doc-biblioref\"\n          },\n          {\n            \"name\": \"doc-chapter\"\n          },\n          {\n            \"name\": \"doc-colophon\"\n          },\n          {\n            \"name\": \"doc-conclusion\"\n          },\n          {\n            \"name\": \"doc-cover\"\n          },\n          {\n            \"name\": \"doc-credit\"\n          },\n          {\n            \"name\": \"doc-credits\"\n          },\n          {\n            \"name\": \"doc-dedication\"\n          },\n          {\n            \"name\": \"doc-endnote\"\n          },\n          {\n            \"name\": \"doc-endnotes\"\n          },\n          {\n            \"name\": \"doc-epigraph\"\n          },\n          {\n            \"name\": \"doc-epilogue\"\n          },\n          {\n            \"name\": \"doc-errata\"\n          },\n          {\n            \"name\": \"doc-example\"\n          },\n          {\n            \"name\": \"doc-footnote\"\n          },\n          {\n            \"name\": \"doc-foreword\"\n          },\n          {\n            \"name\": \"doc-glossary\"\n          },\n          {\n            \"name\": \"doc-glossref\"\n          },\n          {\n            \"name\": \"doc-index\"\n          },\n          {\n            \"name\": \"doc-introduction\"\n          },\n          {\n            \"name\": \"doc-noteref\"\n          },\n          {\n            \"name\": \"doc-notice\"\n          },\n          {\n            \"name\": \"doc-pagebreak\"\n          },\n          {\n            \"name\": \"doc-pagelist\"\n          },\n          {\n            \"name\": \"doc-part\"\n          },\n          {\n            \"name\": \"doc-preface\"\n          },\n          {\n            \"name\": \"doc-prologue\"\n          },\n          {\n            \"name\": \"doc-pullquote\"\n          },\n          {\n            \"name\": \"doc-qna\"\n          },\n          {\n            \"name\": \"doc-subtitle\"\n          },\n          {\n            \"name\": \"doc-tip\"\n          },\n          {\n            \"name\": \"doc-toc\"\n          }\n        ]\n      },\n      {\n        \"name\": \"metanames\",\n        \"values\": [\n          {\n            \"name\": \"application-name\"\n          },\n          {\n            \"name\": \"author\"\n          },\n          {\n            \"name\": \"description\"\n          },\n          {\n            \"name\": \"format-detection\"\n          },\n          {\n            \"name\": \"generator\"\n          },\n          {\n            \"name\": \"keywords\"\n          },\n          {\n            \"name\": \"publisher\"\n          },\n          {\n            \"name\": \"referrer\"\n          },\n          {\n            \"name\": \"robots\"\n          },\n          {\n            \"name\": \"theme-color\"\n          },\n          {\n            \"name\": \"viewport\"\n          }\n        ]\n      },\n      {\n        \"name\": \"haspopup\",\n        \"values\": [\n          {\n            \"name\": \"false\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"(default) Indicates the element does not have a popup.\"\n            }\n          },\n          {\n            \"name\": \"true\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the popup is a menu.\"\n            }\n          },\n          {\n            \"name\": \"menu\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the popup is a menu.\"\n            }\n          },\n          {\n            \"name\": \"listbox\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the popup is a listbox.\"\n            }\n          },\n          {\n            \"name\": \"tree\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the popup is a tree.\"\n            }\n          },\n          {\n            \"name\": \"grid\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the popup is a grid.\"\n            }\n          },\n          {\n            \"name\": \"dialog\",\n            \"description\": {\n              \"kind\": \"markdown\",\n              \"value\": \"Indicates the popup is a dialog.\"\n            }\n          }\n        ]\n      }\n    ]\n  };\n  var HTMLDataManager = (\n    /** @class */\n    function() {\n      function HTMLDataManager2(options) {\n        this.dataProviders = [];\n        this.setDataProviders(options.useDefaultDataProvider !== false, options.customDataProviders || []);\n      }\n      HTMLDataManager2.prototype.setDataProviders = function(builtIn, providers) {\n        var _a22;\n        this.dataProviders = [];\n        if (builtIn) {\n          this.dataProviders.push(new HTMLDataProvider(\"html5\", htmlData));\n        }\n        (_a22 = this.dataProviders).push.apply(_a22, providers);\n      };\n      HTMLDataManager2.prototype.getDataProviders = function() {\n        return this.dataProviders;\n      };\n      return HTMLDataManager2;\n    }()\n  );\n  var defaultLanguageServiceOptions = {};\n  function getLanguageService(options) {\n    if (options === void 0) {\n      options = defaultLanguageServiceOptions;\n    }\n    var dataManager = new HTMLDataManager(options);\n    var htmlHover = new HTMLHover(options, dataManager);\n    var htmlCompletion = new HTMLCompletion(options, dataManager);\n    return {\n      setDataProviders: dataManager.setDataProviders.bind(dataManager),\n      createScanner,\n      parseHTMLDocument: function(document2) {\n        return parse(document2.getText());\n      },\n      doComplete: htmlCompletion.doComplete.bind(htmlCompletion),\n      doComplete2: htmlCompletion.doComplete2.bind(htmlCompletion),\n      setCompletionParticipants: htmlCompletion.setCompletionParticipants.bind(htmlCompletion),\n      doHover: htmlHover.doHover.bind(htmlHover),\n      format: format2,\n      findDocumentHighlights,\n      findDocumentLinks,\n      findDocumentSymbols,\n      getFoldingRanges,\n      getSelectionRanges,\n      doQuoteComplete: htmlCompletion.doQuoteComplete.bind(htmlCompletion),\n      doTagComplete: htmlCompletion.doTagComplete.bind(htmlCompletion),\n      doRename,\n      findMatchingTagPosition,\n      findOnTypeRenameRanges: findLinkedEditingRanges,\n      findLinkedEditingRanges\n    };\n  }\n  function newHTMLDataProvider(id, customData) {\n    return new HTMLDataProvider(id, customData);\n  }\n  var HTMLWorker = class {\n    constructor(ctx, createData) {\n      this._ctx = ctx;\n      this._languageSettings = createData.languageSettings;\n      this._languageId = createData.languageId;\n      const data = this._languageSettings.data;\n      const useDefaultDataProvider = data?.useDefaultDataProvider;\n      const customDataProviders = [];\n      if (data?.dataProviders) {\n        for (const id in data.dataProviders) {\n          customDataProviders.push(newHTMLDataProvider(id, data.dataProviders[id]));\n        }\n      }\n      this._languageService = getLanguageService({\n        useDefaultDataProvider,\n        customDataProviders\n      });\n    }\n    async doComplete(uri, position) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      let htmlDocument = this._languageService.parseHTMLDocument(document2);\n      return Promise.resolve(\n        this._languageService.doComplete(\n          document2,\n          position,\n          htmlDocument,\n          this._languageSettings && this._languageSettings.suggest\n        )\n      );\n    }\n    async format(uri, range, options) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let formattingOptions = { ...this._languageSettings.format, ...options };\n      let textEdits = this._languageService.format(document2, range, formattingOptions);\n      return Promise.resolve(textEdits);\n    }\n    async doHover(uri, position) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      let htmlDocument = this._languageService.parseHTMLDocument(document2);\n      let hover = this._languageService.doHover(document2, position, htmlDocument);\n      return Promise.resolve(hover);\n    }\n    async findDocumentHighlights(uri, position) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let htmlDocument = this._languageService.parseHTMLDocument(document2);\n      let highlights = this._languageService.findDocumentHighlights(document2, position, htmlDocument);\n      return Promise.resolve(highlights);\n    }\n    async findDocumentLinks(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let links = this._languageService.findDocumentLinks(\n        document2,\n        null\n        /*TODO@aeschli*/\n      );\n      return Promise.resolve(links);\n    }\n    async findDocumentSymbols(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let htmlDocument = this._languageService.parseHTMLDocument(document2);\n      let symbols = this._languageService.findDocumentSymbols(document2, htmlDocument);\n      return Promise.resolve(symbols);\n    }\n    async getFoldingRanges(uri, context) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let ranges = this._languageService.getFoldingRanges(document2, context);\n      return Promise.resolve(ranges);\n    }\n    async getSelectionRanges(uri, positions) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let ranges = this._languageService.getSelectionRanges(document2, positions);\n      return Promise.resolve(ranges);\n    }\n    async doRename(uri, position, newName) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      let htmlDocument = this._languageService.parseHTMLDocument(document2);\n      let renames = this._languageService.doRename(document2, position, newName, htmlDocument);\n      return Promise.resolve(renames);\n    }\n    _getTextDocument(uri) {\n      let models = this._ctx.getMirrorModels();\n      for (let model of models) {\n        if (model.uri.toString() === uri) {\n          return TextDocument2.create(\n            uri,\n            this._languageId,\n            model.version,\n            model.getValue()\n          );\n        }\n      }\n      return null;\n    }\n  };\n  self.onmessage = () => {\n    initialize((ctx, createData) => {\n      return new HTMLWorker(ctx, createData);\n    });\n  };\n})();\n/*! Bundled license information:\n\nmonaco-editor/esm/vs/language/html/html.worker.js:\n  (*!-----------------------------------------------------------------------------\n   * Copyright (c) Microsoft Corporation. All rights reserved.\n   * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n   * Released under the MIT license\n   * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n   *-----------------------------------------------------------------------------*)\n*/\n"
  },
  {
    "path": "backend/openui/dist/monacoeditorwork/json.worker.bundle.js",
    "content": "(() => {\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/errors.js\n  var ErrorHandler = class {\n    constructor() {\n      this.listeners = [];\n      this.unexpectedErrorHandler = function(e) {\n        setTimeout(() => {\n          if (e.stack) {\n            if (ErrorNoTelemetry.isErrorNoTelemetry(e)) {\n              throw new ErrorNoTelemetry(e.message + \"\\n\\n\" + e.stack);\n            }\n            throw new Error(e.message + \"\\n\\n\" + e.stack);\n          }\n          throw e;\n        }, 0);\n      };\n    }\n    emit(e) {\n      this.listeners.forEach((listener) => {\n        listener(e);\n      });\n    }\n    onUnexpectedError(e) {\n      this.unexpectedErrorHandler(e);\n      this.emit(e);\n    }\n    // For external errors, we don't want the listeners to be called\n    onUnexpectedExternalError(e) {\n      this.unexpectedErrorHandler(e);\n    }\n  };\n  var errorHandler = new ErrorHandler();\n  function onUnexpectedError(e) {\n    if (!isCancellationError(e)) {\n      errorHandler.onUnexpectedError(e);\n    }\n    return void 0;\n  }\n  function transformErrorForSerialization(error) {\n    if (error instanceof Error) {\n      const { name, message } = error;\n      const stack = error.stacktrace || error.stack;\n      return {\n        $isError: true,\n        name,\n        message,\n        stack,\n        noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error)\n      };\n    }\n    return error;\n  }\n  var canceledName = \"Canceled\";\n  function isCancellationError(error) {\n    if (error instanceof CancellationError) {\n      return true;\n    }\n    return error instanceof Error && error.name === canceledName && error.message === canceledName;\n  }\n  var CancellationError = class extends Error {\n    constructor() {\n      super(canceledName);\n      this.name = this.message;\n    }\n  };\n  var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error {\n    constructor(msg) {\n      super(msg);\n      this.name = \"CodeExpectedError\";\n    }\n    static fromError(err) {\n      if (err instanceof _ErrorNoTelemetry) {\n        return err;\n      }\n      const result = new _ErrorNoTelemetry();\n      result.message = err.message;\n      result.stack = err.stack;\n      return result;\n    }\n    static isErrorNoTelemetry(err) {\n      return err.name === \"CodeExpectedError\";\n    }\n  };\n  var BugIndicatingError = class _BugIndicatingError extends Error {\n    constructor(message) {\n      super(message || \"An unexpected bug occurred.\");\n      Object.setPrototypeOf(this, _BugIndicatingError.prototype);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/functional.js\n  function createSingleCallFunction(fn, fnDidRunCallback) {\n    const _this = this;\n    let didCall = false;\n    let result;\n    return function() {\n      if (didCall) {\n        return result;\n      }\n      didCall = true;\n      if (fnDidRunCallback) {\n        try {\n          result = fn.apply(_this, arguments);\n        } finally {\n          fnDidRunCallback();\n        }\n      } else {\n        result = fn.apply(_this, arguments);\n      }\n      return result;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/iterator.js\n  var Iterable;\n  (function(Iterable2) {\n    function is(thing) {\n      return thing && typeof thing === \"object\" && typeof thing[Symbol.iterator] === \"function\";\n    }\n    Iterable2.is = is;\n    const _empty2 = Object.freeze([]);\n    function empty() {\n      return _empty2;\n    }\n    Iterable2.empty = empty;\n    function* single(element) {\n      yield element;\n    }\n    Iterable2.single = single;\n    function wrap(iterableOrElement) {\n      if (is(iterableOrElement)) {\n        return iterableOrElement;\n      } else {\n        return single(iterableOrElement);\n      }\n    }\n    Iterable2.wrap = wrap;\n    function from(iterable) {\n      return iterable || _empty2;\n    }\n    Iterable2.from = from;\n    function* reverse(array) {\n      for (let i = array.length - 1; i >= 0; i--) {\n        yield array[i];\n      }\n    }\n    Iterable2.reverse = reverse;\n    function isEmpty(iterable) {\n      return !iterable || iterable[Symbol.iterator]().next().done === true;\n    }\n    Iterable2.isEmpty = isEmpty;\n    function first(iterable) {\n      return iterable[Symbol.iterator]().next().value;\n    }\n    Iterable2.first = first;\n    function some(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    Iterable2.some = some;\n    function find(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return element;\n        }\n      }\n      return void 0;\n    }\n    Iterable2.find = find;\n    function* filter(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          yield element;\n        }\n      }\n    }\n    Iterable2.filter = filter;\n    function* map(iterable, fn) {\n      let index = 0;\n      for (const element of iterable) {\n        yield fn(element, index++);\n      }\n    }\n    Iterable2.map = map;\n    function* concat(...iterables) {\n      for (const iterable of iterables) {\n        yield* iterable;\n      }\n    }\n    Iterable2.concat = concat;\n    function reduce(iterable, reducer, initialValue) {\n      let value = initialValue;\n      for (const element of iterable) {\n        value = reducer(value, element);\n      }\n      return value;\n    }\n    Iterable2.reduce = reduce;\n    function* slice(arr, from2, to = arr.length) {\n      if (from2 < 0) {\n        from2 += arr.length;\n      }\n      if (to < 0) {\n        to += arr.length;\n      } else if (to > arr.length) {\n        to = arr.length;\n      }\n      for (; from2 < to; from2++) {\n        yield arr[from2];\n      }\n    }\n    Iterable2.slice = slice;\n    function consume(iterable, atMost = Number.POSITIVE_INFINITY) {\n      const consumed = [];\n      if (atMost === 0) {\n        return [consumed, iterable];\n      }\n      const iterator = iterable[Symbol.iterator]();\n      for (let i = 0; i < atMost; i++) {\n        const next = iterator.next();\n        if (next.done) {\n          return [consumed, Iterable2.empty()];\n        }\n        consumed.push(next.value);\n      }\n      return [consumed, { [Symbol.iterator]() {\n        return iterator;\n      } }];\n    }\n    Iterable2.consume = consume;\n    async function asyncToArray(iterable) {\n      const result = [];\n      for await (const item of iterable) {\n        result.push(item);\n      }\n      return Promise.resolve(result);\n    }\n    Iterable2.asyncToArray = asyncToArray;\n  })(Iterable || (Iterable = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\n  var TRACK_DISPOSABLES = false;\n  var disposableTracker = null;\n  function setDisposableTracker(tracker) {\n    disposableTracker = tracker;\n  }\n  if (TRACK_DISPOSABLES) {\n    const __is_disposable_tracked__ = \"__is_disposable_tracked__\";\n    setDisposableTracker(new class {\n      trackDisposable(x) {\n        const stack = new Error(\"Potentially leaked disposable\").stack;\n        setTimeout(() => {\n          if (!x[__is_disposable_tracked__]) {\n            console.log(stack);\n          }\n        }, 3e3);\n      }\n      setParent(child, parent) {\n        if (child && child !== Disposable.None) {\n          try {\n            child[__is_disposable_tracked__] = true;\n          } catch (_a4) {\n          }\n        }\n      }\n      markAsDisposed(disposable) {\n        if (disposable && disposable !== Disposable.None) {\n          try {\n            disposable[__is_disposable_tracked__] = true;\n          } catch (_a4) {\n          }\n        }\n      }\n      markAsSingleton(disposable) {\n      }\n    }());\n  }\n  function trackDisposable(x) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.trackDisposable(x);\n    return x;\n  }\n  function markAsDisposed(disposable) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsDisposed(disposable);\n  }\n  function setParentOfDisposable(child, parent) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.setParent(child, parent);\n  }\n  function setParentOfDisposables(children, parent) {\n    if (!disposableTracker) {\n      return;\n    }\n    for (const child of children) {\n      disposableTracker.setParent(child, parent);\n    }\n  }\n  function dispose(arg) {\n    if (Iterable.is(arg)) {\n      const errors = [];\n      for (const d of arg) {\n        if (d) {\n          try {\n            d.dispose();\n          } catch (e) {\n            errors.push(e);\n          }\n        }\n      }\n      if (errors.length === 1) {\n        throw errors[0];\n      } else if (errors.length > 1) {\n        throw new AggregateError(errors, \"Encountered errors while disposing of store\");\n      }\n      return Array.isArray(arg) ? [] : arg;\n    } else if (arg) {\n      arg.dispose();\n      return arg;\n    }\n  }\n  function combinedDisposable(...disposables) {\n    const parent = toDisposable(() => dispose(disposables));\n    setParentOfDisposables(disposables, parent);\n    return parent;\n  }\n  function toDisposable(fn) {\n    const self2 = trackDisposable({\n      dispose: createSingleCallFunction(() => {\n        markAsDisposed(self2);\n        fn();\n      })\n    });\n    return self2;\n  }\n  var DisposableStore = class _DisposableStore {\n    constructor() {\n      this._toDispose = /* @__PURE__ */ new Set();\n      this._isDisposed = false;\n      trackDisposable(this);\n    }\n    /**\n     * Dispose of all registered disposables and mark this object as disposed.\n     *\n     * Any future disposables added to this object will be disposed of on `add`.\n     */\n    dispose() {\n      if (this._isDisposed) {\n        return;\n      }\n      markAsDisposed(this);\n      this._isDisposed = true;\n      this.clear();\n    }\n    /**\n     * @return `true` if this object has been disposed of.\n     */\n    get isDisposed() {\n      return this._isDisposed;\n    }\n    /**\n     * Dispose of all registered disposables but do not mark this object as disposed.\n     */\n    clear() {\n      if (this._toDispose.size === 0) {\n        return;\n      }\n      try {\n        dispose(this._toDispose);\n      } finally {\n        this._toDispose.clear();\n      }\n    }\n    /**\n     * Add a new {@link IDisposable disposable} to the collection.\n     */\n    add(o) {\n      if (!o) {\n        return o;\n      }\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      setParentOfDisposable(o, this);\n      if (this._isDisposed) {\n        if (!_DisposableStore.DISABLE_DISPOSED_WARNING) {\n          console.warn(new Error(\"Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!\").stack);\n        }\n      } else {\n        this._toDispose.add(o);\n      }\n      return o;\n    }\n    /**\n     * Deletes the value from the store, but does not dispose it.\n     */\n    deleteAndLeak(o) {\n      if (!o) {\n        return;\n      }\n      if (this._toDispose.has(o)) {\n        this._toDispose.delete(o);\n        setParentOfDisposable(o, null);\n      }\n    }\n  };\n  DisposableStore.DISABLE_DISPOSED_WARNING = false;\n  var Disposable = class {\n    constructor() {\n      this._store = new DisposableStore();\n      trackDisposable(this);\n      setParentOfDisposable(this._store, this);\n    }\n    dispose() {\n      markAsDisposed(this);\n      this._store.dispose();\n    }\n    /**\n     * Adds `o` to the collection of disposables managed by this object.\n     */\n    _register(o) {\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      return this._store.add(o);\n    }\n  };\n  Disposable.None = Object.freeze({ dispose() {\n  } });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/linkedList.js\n  var Node = class _Node {\n    constructor(element) {\n      this.element = element;\n      this.next = _Node.Undefined;\n      this.prev = _Node.Undefined;\n    }\n  };\n  Node.Undefined = new Node(void 0);\n  var LinkedList = class {\n    constructor() {\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    get size() {\n      return this._size;\n    }\n    isEmpty() {\n      return this._first === Node.Undefined;\n    }\n    clear() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        const next = node.next;\n        node.prev = Node.Undefined;\n        node.next = Node.Undefined;\n        node = next;\n      }\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    unshift(element) {\n      return this._insert(element, false);\n    }\n    push(element) {\n      return this._insert(element, true);\n    }\n    _insert(element, atTheEnd) {\n      const newNode = new Node(element);\n      if (this._first === Node.Undefined) {\n        this._first = newNode;\n        this._last = newNode;\n      } else if (atTheEnd) {\n        const oldLast = this._last;\n        this._last = newNode;\n        newNode.prev = oldLast;\n        oldLast.next = newNode;\n      } else {\n        const oldFirst = this._first;\n        this._first = newNode;\n        newNode.next = oldFirst;\n        oldFirst.prev = newNode;\n      }\n      this._size += 1;\n      let didRemove = false;\n      return () => {\n        if (!didRemove) {\n          didRemove = true;\n          this._remove(newNode);\n        }\n      };\n    }\n    shift() {\n      if (this._first === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._first.element;\n        this._remove(this._first);\n        return res;\n      }\n    }\n    pop() {\n      if (this._last === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._last.element;\n        this._remove(this._last);\n        return res;\n      }\n    }\n    _remove(node) {\n      if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {\n        const anchor = node.prev;\n        anchor.next = node.next;\n        node.next.prev = anchor;\n      } else if (node.prev === Node.Undefined && node.next === Node.Undefined) {\n        this._first = Node.Undefined;\n        this._last = Node.Undefined;\n      } else if (node.next === Node.Undefined) {\n        this._last = this._last.prev;\n        this._last.next = Node.Undefined;\n      } else if (node.prev === Node.Undefined) {\n        this._first = this._first.next;\n        this._first.prev = Node.Undefined;\n      }\n      this._size -= 1;\n    }\n    *[Symbol.iterator]() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        yield node.element;\n        node = node.next;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\n  var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === \"function\";\n  var StopWatch = class _StopWatch {\n    static create(highResolution) {\n      return new _StopWatch(highResolution);\n    }\n    constructor(highResolution) {\n      this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance);\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    stop() {\n      this._stopTime = this._now();\n    }\n    reset() {\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    elapsed() {\n      if (this._stopTime !== -1) {\n        return this._stopTime - this._startTime;\n      }\n      return this._now() - this._startTime;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/event.js\n  var _enableListenerGCedWarning = false;\n  var _enableDisposeWithListenerWarning = false;\n  var _enableSnapshotPotentialLeakWarning = false;\n  var Event;\n  (function(Event2) {\n    Event2.None = () => Disposable.None;\n    function _addLeakageTraceLogic(options) {\n      if (_enableSnapshotPotentialLeakWarning) {\n        const { onDidAddListener: origListenerDidAdd } = options;\n        const stack = Stacktrace.create();\n        let count = 0;\n        options.onDidAddListener = () => {\n          if (++count === 2) {\n            console.warn(\"snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here\");\n            stack.print();\n          }\n          origListenerDidAdd === null || origListenerDidAdd === void 0 ? void 0 : origListenerDidAdd();\n        };\n      }\n    }\n    function defer(event, disposable) {\n      return debounce(event, () => void 0, 0, void 0, true, void 0, disposable);\n    }\n    Event2.defer = defer;\n    function once(event) {\n      return (listener, thisArgs = null, disposables) => {\n        let didFire = false;\n        let result = void 0;\n        result = event((e) => {\n          if (didFire) {\n            return;\n          } else if (result) {\n            result.dispose();\n          } else {\n            didFire = true;\n          }\n          return listener.call(thisArgs, e);\n        }, null, disposables);\n        if (didFire) {\n          result.dispose();\n        }\n        return result;\n      };\n    }\n    Event2.once = once;\n    function map(event, map2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => listener.call(thisArgs, map2(i)), null, disposables), disposable);\n    }\n    Event2.map = map;\n    function forEach(event, each, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => {\n        each(i);\n        listener.call(thisArgs, i);\n      }, null, disposables), disposable);\n    }\n    Event2.forEach = forEach;\n    function filter(event, filter2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((e) => filter2(e) && listener.call(thisArgs, e), null, disposables), disposable);\n    }\n    Event2.filter = filter;\n    function signal(event) {\n      return event;\n    }\n    Event2.signal = signal;\n    function any(...events) {\n      return (listener, thisArgs = null, disposables) => {\n        const disposable = combinedDisposable(...events.map((event) => event((e) => listener.call(thisArgs, e))));\n        return addAndReturnDisposable(disposable, disposables);\n      };\n    }\n    Event2.any = any;\n    function reduce(event, merge, initial, disposable) {\n      let output = initial;\n      return map(event, (e) => {\n        output = merge(output, e);\n        return output;\n      }, disposable);\n    }\n    Event2.reduce = reduce;\n    function snapshot(event, disposable) {\n      let listener;\n      const options = {\n        onWillAddFirstListener() {\n          listener = event(emitter.fire, emitter);\n        },\n        onDidRemoveLastListener() {\n          listener === null || listener === void 0 ? void 0 : listener.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    function addAndReturnDisposable(d, store) {\n      if (store instanceof Array) {\n        store.push(d);\n      } else if (store) {\n        store.add(d);\n      }\n      return d;\n    }\n    function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) {\n      let subscription;\n      let output = void 0;\n      let handle = void 0;\n      let numDebouncedCalls = 0;\n      let doFire;\n      const options = {\n        leakWarningThreshold,\n        onWillAddFirstListener() {\n          subscription = event((cur) => {\n            numDebouncedCalls++;\n            output = merge(output, cur);\n            if (leading && !handle) {\n              emitter.fire(output);\n              output = void 0;\n            }\n            doFire = () => {\n              const _output = output;\n              output = void 0;\n              handle = void 0;\n              if (!leading || numDebouncedCalls > 1) {\n                emitter.fire(_output);\n              }\n              numDebouncedCalls = 0;\n            };\n            if (typeof delay === \"number\") {\n              clearTimeout(handle);\n              handle = setTimeout(doFire, delay);\n            } else {\n              if (handle === void 0) {\n                handle = 0;\n                queueMicrotask(doFire);\n              }\n            }\n          });\n        },\n        onWillRemoveListener() {\n          if (flushOnListenerRemove && numDebouncedCalls > 0) {\n            doFire === null || doFire === void 0 ? void 0 : doFire();\n          }\n        },\n        onDidRemoveLastListener() {\n          doFire = void 0;\n          subscription.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    Event2.debounce = debounce;\n    function accumulate(event, delay = 0, disposable) {\n      return Event2.debounce(event, (last, e) => {\n        if (!last) {\n          return [e];\n        }\n        last.push(e);\n        return last;\n      }, delay, void 0, true, void 0, disposable);\n    }\n    Event2.accumulate = accumulate;\n    function latch(event, equals4 = (a2, b) => a2 === b, disposable) {\n      let firstCall = true;\n      let cache;\n      return filter(event, (value) => {\n        const shouldEmit = firstCall || !equals4(value, cache);\n        firstCall = false;\n        cache = value;\n        return shouldEmit;\n      }, disposable);\n    }\n    Event2.latch = latch;\n    function split(event, isT, disposable) {\n      return [\n        Event2.filter(event, isT, disposable),\n        Event2.filter(event, (e) => !isT(e), disposable)\n      ];\n    }\n    Event2.split = split;\n    function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) {\n      let buffer2 = _buffer.slice();\n      let listener = event((e) => {\n        if (buffer2) {\n          buffer2.push(e);\n        } else {\n          emitter.fire(e);\n        }\n      });\n      if (disposable) {\n        disposable.add(listener);\n      }\n      const flush = () => {\n        buffer2 === null || buffer2 === void 0 ? void 0 : buffer2.forEach((e) => emitter.fire(e));\n        buffer2 = null;\n      };\n      const emitter = new Emitter({\n        onWillAddFirstListener() {\n          if (!listener) {\n            listener = event((e) => emitter.fire(e));\n            if (disposable) {\n              disposable.add(listener);\n            }\n          }\n        },\n        onDidAddFirstListener() {\n          if (buffer2) {\n            if (flushAfterTimeout) {\n              setTimeout(flush);\n            } else {\n              flush();\n            }\n          }\n        },\n        onDidRemoveLastListener() {\n          if (listener) {\n            listener.dispose();\n          }\n          listener = null;\n        }\n      });\n      if (disposable) {\n        disposable.add(emitter);\n      }\n      return emitter.event;\n    }\n    Event2.buffer = buffer;\n    function chain(event, sythensize) {\n      const fn = (listener, thisArgs, disposables) => {\n        const cs = sythensize(new ChainableSynthesis());\n        return event(function(value) {\n          const result = cs.evaluate(value);\n          if (result !== HaltChainable) {\n            listener.call(thisArgs, result);\n          }\n        }, void 0, disposables);\n      };\n      return fn;\n    }\n    Event2.chain = chain;\n    const HaltChainable = Symbol(\"HaltChainable\");\n    class ChainableSynthesis {\n      constructor() {\n        this.steps = [];\n      }\n      map(fn) {\n        this.steps.push(fn);\n        return this;\n      }\n      forEach(fn) {\n        this.steps.push((v) => {\n          fn(v);\n          return v;\n        });\n        return this;\n      }\n      filter(fn) {\n        this.steps.push((v) => fn(v) ? v : HaltChainable);\n        return this;\n      }\n      reduce(merge, initial) {\n        let last = initial;\n        this.steps.push((v) => {\n          last = merge(last, v);\n          return last;\n        });\n        return this;\n      }\n      latch(equals4 = (a2, b) => a2 === b) {\n        let firstCall = true;\n        let cache;\n        this.steps.push((value) => {\n          const shouldEmit = firstCall || !equals4(value, cache);\n          firstCall = false;\n          cache = value;\n          return shouldEmit ? value : HaltChainable;\n        });\n        return this;\n      }\n      evaluate(value) {\n        for (const step of this.steps) {\n          value = step(value);\n          if (value === HaltChainable) {\n            break;\n          }\n        }\n        return value;\n      }\n    }\n    function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.on(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromNodeEventEmitter = fromNodeEventEmitter;\n    function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromDOMEventEmitter = fromDOMEventEmitter;\n    function toPromise(event) {\n      return new Promise((resolve2) => once(event)(resolve2));\n    }\n    Event2.toPromise = toPromise;\n    function fromPromise(promise) {\n      const result = new Emitter();\n      promise.then((res) => {\n        result.fire(res);\n      }, () => {\n        result.fire(void 0);\n      }).finally(() => {\n        result.dispose();\n      });\n      return result.event;\n    }\n    Event2.fromPromise = fromPromise;\n    function runAndSubscribe(event, handler, initial) {\n      handler(initial);\n      return event((e) => handler(e));\n    }\n    Event2.runAndSubscribe = runAndSubscribe;\n    class EmitterObserver {\n      constructor(_observable, store) {\n        this._observable = _observable;\n        this._counter = 0;\n        this._hasChanged = false;\n        const options = {\n          onWillAddFirstListener: () => {\n            _observable.addObserver(this);\n          },\n          onDidRemoveLastListener: () => {\n            _observable.removeObserver(this);\n          }\n        };\n        if (!store) {\n          _addLeakageTraceLogic(options);\n        }\n        this.emitter = new Emitter(options);\n        if (store) {\n          store.add(this.emitter);\n        }\n      }\n      beginUpdate(_observable) {\n        this._counter++;\n      }\n      handlePossibleChange(_observable) {\n      }\n      handleChange(_observable, _change) {\n        this._hasChanged = true;\n      }\n      endUpdate(_observable) {\n        this._counter--;\n        if (this._counter === 0) {\n          this._observable.reportChanges();\n          if (this._hasChanged) {\n            this._hasChanged = false;\n            this.emitter.fire(this._observable.get());\n          }\n        }\n      }\n    }\n    function fromObservable(obs, store) {\n      const observer = new EmitterObserver(obs, store);\n      return observer.emitter.event;\n    }\n    Event2.fromObservable = fromObservable;\n    function fromObservableLight(observable) {\n      return (listener, thisArgs, disposables) => {\n        let count = 0;\n        let didChange = false;\n        const observer = {\n          beginUpdate() {\n            count++;\n          },\n          endUpdate() {\n            count--;\n            if (count === 0) {\n              observable.reportChanges();\n              if (didChange) {\n                didChange = false;\n                listener.call(thisArgs);\n              }\n            }\n          },\n          handlePossibleChange() {\n          },\n          handleChange() {\n            didChange = true;\n          }\n        };\n        observable.addObserver(observer);\n        observable.reportChanges();\n        const disposable = {\n          dispose() {\n            observable.removeObserver(observer);\n          }\n        };\n        if (disposables instanceof DisposableStore) {\n          disposables.add(disposable);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(disposable);\n        }\n        return disposable;\n      };\n    }\n    Event2.fromObservableLight = fromObservableLight;\n  })(Event || (Event = {}));\n  var EventProfiling = class _EventProfiling {\n    constructor(name) {\n      this.listenerCount = 0;\n      this.invocationCount = 0;\n      this.elapsedOverall = 0;\n      this.durations = [];\n      this.name = `${name}_${_EventProfiling._idPool++}`;\n      _EventProfiling.all.add(this);\n    }\n    start(listenerCount) {\n      this._stopWatch = new StopWatch();\n      this.listenerCount = listenerCount;\n    }\n    stop() {\n      if (this._stopWatch) {\n        const elapsed = this._stopWatch.elapsed();\n        this.durations.push(elapsed);\n        this.elapsedOverall += elapsed;\n        this.invocationCount += 1;\n        this._stopWatch = void 0;\n      }\n    }\n  };\n  EventProfiling.all = /* @__PURE__ */ new Set();\n  EventProfiling._idPool = 0;\n  var _globalLeakWarningThreshold = -1;\n  var LeakageMonitor = class {\n    constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {\n      this.threshold = threshold;\n      this.name = name;\n      this._warnCountdown = 0;\n    }\n    dispose() {\n      var _a4;\n      (_a4 = this._stacks) === null || _a4 === void 0 ? void 0 : _a4.clear();\n    }\n    check(stack, listenerCount) {\n      const threshold = this.threshold;\n      if (threshold <= 0 || listenerCount < threshold) {\n        return void 0;\n      }\n      if (!this._stacks) {\n        this._stacks = /* @__PURE__ */ new Map();\n      }\n      const count = this._stacks.get(stack.value) || 0;\n      this._stacks.set(stack.value, count + 1);\n      this._warnCountdown -= 1;\n      if (this._warnCountdown <= 0) {\n        this._warnCountdown = threshold * 0.5;\n        let topStack;\n        let topCount = 0;\n        for (const [stack2, count2] of this._stacks) {\n          if (!topStack || topCount < count2) {\n            topStack = stack2;\n            topCount = count2;\n          }\n        }\n        console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);\n        console.warn(topStack);\n      }\n      return () => {\n        const count2 = this._stacks.get(stack.value) || 0;\n        this._stacks.set(stack.value, count2 - 1);\n      };\n    }\n  };\n  var Stacktrace = class _Stacktrace {\n    static create() {\n      var _a4;\n      return new _Stacktrace((_a4 = new Error().stack) !== null && _a4 !== void 0 ? _a4 : \"\");\n    }\n    constructor(value) {\n      this.value = value;\n    }\n    print() {\n      console.warn(this.value.split(\"\\n\").slice(2).join(\"\\n\"));\n    }\n  };\n  var UniqueContainer = class {\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  var compactionThreshold = 2;\n  var forEachListener = (listeners, fn) => {\n    if (listeners instanceof UniqueContainer) {\n      fn(listeners);\n    } else {\n      for (let i = 0; i < listeners.length; i++) {\n        const l = listeners[i];\n        if (l) {\n          fn(l);\n        }\n      }\n    }\n  };\n  var _listenerFinalizers = _enableListenerGCedWarning ? new FinalizationRegistry((heldValue) => {\n    if (typeof heldValue === \"string\") {\n      console.warn(\"[LEAKING LISTENER] GC'ed a listener that was NOT yet disposed. This is where is was created:\");\n      console.warn(heldValue);\n    }\n  }) : void 0;\n  var Emitter = class {\n    constructor(options) {\n      var _a4, _b3, _c, _d, _e;\n      this._size = 0;\n      this._options = options;\n      this._leakageMon = _globalLeakWarningThreshold > 0 || ((_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.leakWarningThreshold) ? new LeakageMonitor((_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.leakWarningThreshold) !== null && _c !== void 0 ? _c : _globalLeakWarningThreshold) : void 0;\n      this._perfMon = ((_d = this._options) === null || _d === void 0 ? void 0 : _d._profName) ? new EventProfiling(this._options._profName) : void 0;\n      this._deliveryQueue = (_e = this._options) === null || _e === void 0 ? void 0 : _e.deliveryQueue;\n    }\n    dispose() {\n      var _a4, _b3, _c, _d;\n      if (!this._disposed) {\n        this._disposed = true;\n        if (((_a4 = this._deliveryQueue) === null || _a4 === void 0 ? void 0 : _a4.current) === this) {\n          this._deliveryQueue.reset();\n        }\n        if (this._listeners) {\n          if (_enableDisposeWithListenerWarning) {\n            const listeners = this._listeners;\n            queueMicrotask(() => {\n              forEachListener(listeners, (l) => {\n                var _a5;\n                return (_a5 = l.stack) === null || _a5 === void 0 ? void 0 : _a5.print();\n              });\n            });\n          }\n          this._listeners = void 0;\n          this._size = 0;\n        }\n        (_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.onDidRemoveLastListener) === null || _c === void 0 ? void 0 : _c.call(_b3);\n        (_d = this._leakageMon) === null || _d === void 0 ? void 0 : _d.dispose();\n      }\n    }\n    /**\n     * For the public to allow to subscribe\n     * to events from this Emitter\n     */\n    get event() {\n      var _a4;\n      (_a4 = this._event) !== null && _a4 !== void 0 ? _a4 : this._event = (callback, thisArgs, disposables) => {\n        var _a5, _b3, _c, _d, _e;\n        if (this._leakageMon && this._size > this._leakageMon.threshold * 3) {\n          console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);\n          return Disposable.None;\n        }\n        if (this._disposed) {\n          return Disposable.None;\n        }\n        if (thisArgs) {\n          callback = callback.bind(thisArgs);\n        }\n        const contained = new UniqueContainer(callback);\n        let removeMonitor;\n        let stack;\n        if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) {\n          contained.stack = Stacktrace.create();\n          removeMonitor = this._leakageMon.check(contained.stack, this._size + 1);\n        }\n        if (_enableDisposeWithListenerWarning) {\n          contained.stack = stack !== null && stack !== void 0 ? stack : Stacktrace.create();\n        }\n        if (!this._listeners) {\n          (_b3 = (_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onWillAddFirstListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a5, this);\n          this._listeners = contained;\n          (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidAddFirstListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        } else if (this._listeners instanceof UniqueContainer) {\n          (_e = this._deliveryQueue) !== null && _e !== void 0 ? _e : this._deliveryQueue = new EventDeliveryQueuePrivate();\n          this._listeners = [this._listeners, contained];\n        } else {\n          this._listeners.push(contained);\n        }\n        this._size++;\n        const result = toDisposable(() => {\n          _listenerFinalizers === null || _listenerFinalizers === void 0 ? void 0 : _listenerFinalizers.unregister(result);\n          removeMonitor === null || removeMonitor === void 0 ? void 0 : removeMonitor();\n          this._removeListener(contained);\n        });\n        if (disposables instanceof DisposableStore) {\n          disposables.add(result);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(result);\n        }\n        if (_listenerFinalizers) {\n          const stack2 = new Error().stack.split(\"\\n\").slice(2).join(\"\\n\").trim();\n          _listenerFinalizers.register(result, stack2, result);\n        }\n        return result;\n      };\n      return this._event;\n    }\n    _removeListener(listener) {\n      var _a4, _b3, _c, _d;\n      (_b3 = (_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.onWillRemoveListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a4, this);\n      if (!this._listeners) {\n        return;\n      }\n      if (this._size === 1) {\n        this._listeners = void 0;\n        (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidRemoveLastListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        this._size = 0;\n        return;\n      }\n      const listeners = this._listeners;\n      const index = listeners.indexOf(listener);\n      if (index === -1) {\n        console.log(\"disposed?\", this._disposed);\n        console.log(\"size?\", this._size);\n        console.log(\"arr?\", JSON.stringify(this._listeners));\n        throw new Error(\"Attempted to dispose unknown listener\");\n      }\n      this._size--;\n      listeners[index] = void 0;\n      const adjustDeliveryQueue = this._deliveryQueue.current === this;\n      if (this._size * compactionThreshold <= listeners.length) {\n        let n = 0;\n        for (let i = 0; i < listeners.length; i++) {\n          if (listeners[i]) {\n            listeners[n++] = listeners[i];\n          } else if (adjustDeliveryQueue) {\n            this._deliveryQueue.end--;\n            if (n < this._deliveryQueue.i) {\n              this._deliveryQueue.i--;\n            }\n          }\n        }\n        listeners.length = n;\n      }\n    }\n    _deliver(listener, value) {\n      var _a4;\n      if (!listener) {\n        return;\n      }\n      const errorHandler2 = ((_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.onListenerError) || onUnexpectedError;\n      if (!errorHandler2) {\n        listener.value(value);\n        return;\n      }\n      try {\n        listener.value(value);\n      } catch (e) {\n        errorHandler2(e);\n      }\n    }\n    /** Delivers items in the queue. Assumes the queue is ready to go. */\n    _deliverQueue(dq) {\n      const listeners = dq.current._listeners;\n      while (dq.i < dq.end) {\n        this._deliver(listeners[dq.i++], dq.value);\n      }\n      dq.reset();\n    }\n    /**\n     * To be kept private to fire an event to\n     * subscribers\n     */\n    fire(event) {\n      var _a4, _b3, _c, _d;\n      if ((_a4 = this._deliveryQueue) === null || _a4 === void 0 ? void 0 : _a4.current) {\n        this._deliverQueue(this._deliveryQueue);\n        (_b3 = this._perfMon) === null || _b3 === void 0 ? void 0 : _b3.stop();\n      }\n      (_c = this._perfMon) === null || _c === void 0 ? void 0 : _c.start(this._size);\n      if (!this._listeners) {\n      } else if (this._listeners instanceof UniqueContainer) {\n        this._deliver(this._listeners, event);\n      } else {\n        const dq = this._deliveryQueue;\n        dq.enqueue(this, event, this._listeners.length);\n        this._deliverQueue(dq);\n      }\n      (_d = this._perfMon) === null || _d === void 0 ? void 0 : _d.stop();\n    }\n    hasListeners() {\n      return this._size > 0;\n    }\n  };\n  var EventDeliveryQueuePrivate = class {\n    constructor() {\n      this.i = -1;\n      this.end = 0;\n    }\n    enqueue(emitter, value, end) {\n      this.i = 0;\n      this.end = end;\n      this.current = emitter;\n      this.value = value;\n    }\n    reset() {\n      this.i = this.end;\n      this.current = void 0;\n      this.value = void 0;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/types.js\n  function isString(str) {\n    return typeof str === \"string\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/objects.js\n  function getAllPropertyNames(obj) {\n    let res = [];\n    while (Object.prototype !== obj) {\n      res = res.concat(Object.getOwnPropertyNames(obj));\n      obj = Object.getPrototypeOf(obj);\n    }\n    return res;\n  }\n  function getAllMethodNames(obj) {\n    const methods = [];\n    for (const prop of getAllPropertyNames(obj)) {\n      if (typeof obj[prop] === \"function\") {\n        methods.push(prop);\n      }\n    }\n    return methods;\n  }\n  function createProxyObject(methodNames, invoke) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/nls.js\n  var isPseudo = typeof document !== \"undefined\" && document.location && document.location.hash.indexOf(\"pseudo=true\") >= 0;\n  function _format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        const index = rest[0];\n        const arg = args[index];\n        let result2 = match;\n        if (typeof arg === \"string\") {\n          result2 = arg;\n        } else if (typeof arg === \"number\" || typeof arg === \"boolean\" || arg === void 0 || arg === null) {\n          result2 = String(arg);\n        }\n        return result2;\n      });\n    }\n    if (isPseudo) {\n      result = \"\\uFF3B\" + result.replace(/[aouei]/g, \"$&$&\") + \"\\uFF3D\";\n    }\n    return result;\n  }\n  function localize(data, message, ...args) {\n    return _format(message, args);\n  }\n  function getConfiguredDefaultLocale(_) {\n    return void 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/platform.js\n  var _a;\n  var _b;\n  var LANGUAGE_DEFAULT = \"en\";\n  var _isWindows = false;\n  var _isMacintosh = false;\n  var _isLinux = false;\n  var _isLinuxSnap = false;\n  var _isNative = false;\n  var _isWeb = false;\n  var _isElectron = false;\n  var _isIOS = false;\n  var _isCI = false;\n  var _isMobile = false;\n  var _locale = void 0;\n  var _language = LANGUAGE_DEFAULT;\n  var _platformLocale = LANGUAGE_DEFAULT;\n  var _translationsConfigFile = void 0;\n  var _userAgent = void 0;\n  var $globalThis = globalThis;\n  var nodeProcess = void 0;\n  if (typeof $globalThis.vscode !== \"undefined\" && typeof $globalThis.vscode.process !== \"undefined\") {\n    nodeProcess = $globalThis.vscode.process;\n  } else if (typeof process !== \"undefined\" && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === \"string\") {\n    nodeProcess = process;\n  }\n  var isElectronProcess = typeof ((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) === \"string\";\n  var isElectronRenderer = isElectronProcess && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.type) === \"renderer\";\n  if (typeof nodeProcess === \"object\") {\n    _isWindows = nodeProcess.platform === \"win32\";\n    _isMacintosh = nodeProcess.platform === \"darwin\";\n    _isLinux = nodeProcess.platform === \"linux\";\n    _isLinuxSnap = _isLinux && !!nodeProcess.env[\"SNAP\"] && !!nodeProcess.env[\"SNAP_REVISION\"];\n    _isElectron = isElectronProcess;\n    _isCI = !!nodeProcess.env[\"CI\"] || !!nodeProcess.env[\"BUILD_ARTIFACTSTAGINGDIRECTORY\"];\n    _locale = LANGUAGE_DEFAULT;\n    _language = LANGUAGE_DEFAULT;\n    const rawNlsConfig = nodeProcess.env[\"VSCODE_NLS_CONFIG\"];\n    if (rawNlsConfig) {\n      try {\n        const nlsConfig = JSON.parse(rawNlsConfig);\n        const resolved = nlsConfig.availableLanguages[\"*\"];\n        _locale = nlsConfig.locale;\n        _platformLocale = nlsConfig.osLocale;\n        _language = resolved ? resolved : LANGUAGE_DEFAULT;\n        _translationsConfigFile = nlsConfig._translationsConfigFile;\n      } catch (e) {\n      }\n    }\n    _isNative = true;\n  } else if (typeof navigator === \"object\" && !isElectronRenderer) {\n    _userAgent = navigator.userAgent;\n    _isWindows = _userAgent.indexOf(\"Windows\") >= 0;\n    _isMacintosh = _userAgent.indexOf(\"Macintosh\") >= 0;\n    _isIOS = (_userAgent.indexOf(\"Macintosh\") >= 0 || _userAgent.indexOf(\"iPad\") >= 0 || _userAgent.indexOf(\"iPhone\") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\n    _isLinux = _userAgent.indexOf(\"Linux\") >= 0;\n    _isMobile = (_userAgent === null || _userAgent === void 0 ? void 0 : _userAgent.indexOf(\"Mobi\")) >= 0;\n    _isWeb = true;\n    const configuredLocale = getConfiguredDefaultLocale(\n      // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`\n      // to ensure that the NLS AMD Loader plugin has been loaded and configured.\n      // This is because the loader plugin decides what the default locale is based on\n      // how it's able to resolve the strings.\n      localize({ key: \"ensureLoaderPluginIsLoaded\", comment: [\"{Locked}\"] }, \"_\")\n    );\n    _locale = configuredLocale || LANGUAGE_DEFAULT;\n    _language = _locale;\n    _platformLocale = navigator.language;\n  } else {\n    console.error(\"Unable to resolve platform.\");\n  }\n  var _platform = 0;\n  if (_isMacintosh) {\n    _platform = 1;\n  } else if (_isWindows) {\n    _platform = 3;\n  } else if (_isLinux) {\n    _platform = 2;\n  }\n  var isWindows = _isWindows;\n  var isMacintosh = _isMacintosh;\n  var isWebWorker = _isWeb && typeof $globalThis.importScripts === \"function\";\n  var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0;\n  var userAgent = _userAgent;\n  var setTimeout0IsFaster = typeof $globalThis.postMessage === \"function\" && !$globalThis.importScripts;\n  var setTimeout0 = (() => {\n    if (setTimeout0IsFaster) {\n      const pending = [];\n      $globalThis.addEventListener(\"message\", (e) => {\n        if (e.data && e.data.vscodeScheduleAsyncWork) {\n          for (let i = 0, len = pending.length; i < len; i++) {\n            const candidate = pending[i];\n            if (candidate.id === e.data.vscodeScheduleAsyncWork) {\n              pending.splice(i, 1);\n              candidate.callback();\n              return;\n            }\n          }\n        }\n      });\n      let lastId = 0;\n      return (callback) => {\n        const myId = ++lastId;\n        pending.push({\n          id: myId,\n          callback\n        });\n        $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, \"*\");\n      };\n    }\n    return (callback) => setTimeout(callback);\n  })();\n  var isChrome = !!(userAgent && userAgent.indexOf(\"Chrome\") >= 0);\n  var isFirefox = !!(userAgent && userAgent.indexOf(\"Firefox\") >= 0);\n  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf(\"Safari\") >= 0));\n  var isEdge = !!(userAgent && userAgent.indexOf(\"Edg/\") >= 0);\n  var isAndroid = !!(userAgent && userAgent.indexOf(\"Android\") >= 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cache.js\n  function identity(t) {\n    return t;\n  }\n  var LRUCachedFunction = class {\n    constructor(arg1, arg2) {\n      this.lastCache = void 0;\n      this.lastArgKey = void 0;\n      if (typeof arg1 === \"function\") {\n        this._fn = arg1;\n        this._computeKey = identity;\n      } else {\n        this._fn = arg2;\n        this._computeKey = arg1.getCacheKey;\n      }\n    }\n    get(arg) {\n      const key = this._computeKey(arg);\n      if (this.lastArgKey !== key) {\n        this.lastArgKey = key;\n        this.lastCache = this._fn(arg);\n      }\n      return this.lastCache;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lazy.js\n  var Lazy = class {\n    constructor(executor) {\n      this.executor = executor;\n      this._didRun = false;\n    }\n    /**\n     * Get the wrapped value.\n     *\n     * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only\n     * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value\n     */\n    get value() {\n      if (!this._didRun) {\n        try {\n          this._value = this.executor();\n        } catch (err) {\n          this._error = err;\n        } finally {\n          this._didRun = true;\n        }\n      }\n      if (this._error) {\n        throw this._error;\n      }\n      return this._value;\n    }\n    /**\n     * Get the wrapped value without forcing evaluation.\n     */\n    get rawValue() {\n      return this._value;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/strings.js\n  var _a2;\n  function escapeRegExpCharacters(value) {\n    return value.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g, \"\\\\$&\");\n  }\n  function splitLines(str) {\n    return str.split(/\\r\\n|\\r|\\n/);\n  }\n  function firstNonWhitespaceIndex(str) {\n    for (let i = 0, len = str.length; i < len; i++) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {\n    for (let i = startIndex; i >= 0; i--) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isUpperAsciiLetter(code) {\n    return code >= 65 && code <= 90;\n  }\n  function isHighSurrogate(charCode) {\n    return 55296 <= charCode && charCode <= 56319;\n  }\n  function isLowSurrogate(charCode) {\n    return 56320 <= charCode && charCode <= 57343;\n  }\n  function computeCodePoint(highSurrogate, lowSurrogate) {\n    return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536;\n  }\n  function getNextCodePoint(str, len, offset) {\n    const charCode = str.charCodeAt(offset);\n    if (isHighSurrogate(charCode) && offset + 1 < len) {\n      const nextCharCode = str.charCodeAt(offset + 1);\n      if (isLowSurrogate(nextCharCode)) {\n        return computeCodePoint(charCode, nextCharCode);\n      }\n    }\n    return charCode;\n  }\n  var IS_BASIC_ASCII = /^[\\t\\n\\r\\x20-\\x7E]*$/;\n  function isBasicASCII(str) {\n    return IS_BASIC_ASCII.test(str);\n  }\n  var UTF8_BOM_CHARACTER = String.fromCharCode(\n    65279\n    /* CharCode.UTF8_BOM */\n  );\n  var GraphemeBreakTree = class _GraphemeBreakTree {\n    static getInstance() {\n      if (!_GraphemeBreakTree._INSTANCE) {\n        _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree();\n      }\n      return _GraphemeBreakTree._INSTANCE;\n    }\n    constructor() {\n      this._data = getGraphemeBreakRawData();\n    }\n    getGraphemeBreakType(codePoint) {\n      if (codePoint < 32) {\n        if (codePoint === 10) {\n          return 3;\n        }\n        if (codePoint === 13) {\n          return 2;\n        }\n        return 4;\n      }\n      if (codePoint < 127) {\n        return 0;\n      }\n      const data = this._data;\n      const nodeCount = data.length / 3;\n      let nodeIndex = 1;\n      while (nodeIndex <= nodeCount) {\n        if (codePoint < data[3 * nodeIndex]) {\n          nodeIndex = 2 * nodeIndex;\n        } else if (codePoint > data[3 * nodeIndex + 1]) {\n          nodeIndex = 2 * nodeIndex + 1;\n        } else {\n          return data[3 * nodeIndex + 2];\n        }\n      }\n      return 0;\n    }\n  };\n  GraphemeBreakTree._INSTANCE = null;\n  function getGraphemeBreakRawData() {\n    return JSON.parse(\"[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]\");\n  }\n  var AmbiguousCharacters = class {\n    static getInstance(locales) {\n      return _a2.cache.get(Array.from(locales));\n    }\n    static getLocales() {\n      return _a2._locales.value;\n    }\n    constructor(confusableDictionary) {\n      this.confusableDictionary = confusableDictionary;\n    }\n    isAmbiguous(codePoint) {\n      return this.confusableDictionary.has(codePoint);\n    }\n    /**\n     * Returns the non basic ASCII code point that the given code point can be confused,\n     * or undefined if such code point does note exist.\n     */\n    getPrimaryConfusable(codePoint) {\n      return this.confusableDictionary.get(codePoint);\n    }\n    getConfusableCodePoints() {\n      return new Set(this.confusableDictionary.keys());\n    }\n  };\n  _a2 = AmbiguousCharacters;\n  AmbiguousCharacters.ambiguousCharacterData = new Lazy(() => {\n    return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}');\n  });\n  AmbiguousCharacters.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => {\n    function arrayToMap(arr) {\n      const result = /* @__PURE__ */ new Map();\n      for (let i = 0; i < arr.length; i += 2) {\n        result.set(arr[i], arr[i + 1]);\n      }\n      return result;\n    }\n    function mergeMaps(map1, map2) {\n      const result = new Map(map1);\n      for (const [key, value] of map2) {\n        result.set(key, value);\n      }\n      return result;\n    }\n    function intersectMaps(map1, map2) {\n      if (!map1) {\n        return map2;\n      }\n      const result = /* @__PURE__ */ new Map();\n      for (const [key, value] of map1) {\n        if (map2.has(key)) {\n          result.set(key, value);\n        }\n      }\n      return result;\n    }\n    const data = _a2.ambiguousCharacterData.value;\n    let filteredLocales = locales.filter((l) => !l.startsWith(\"_\") && l in data);\n    if (filteredLocales.length === 0) {\n      filteredLocales = [\"_default\"];\n    }\n    let languageSpecificMap = void 0;\n    for (const locale of filteredLocales) {\n      const map2 = arrayToMap(data[locale]);\n      languageSpecificMap = intersectMaps(languageSpecificMap, map2);\n    }\n    const commonMap = arrayToMap(data[\"_common\"]);\n    const map = mergeMaps(commonMap, languageSpecificMap);\n    return new _a2(map);\n  });\n  AmbiguousCharacters._locales = new Lazy(() => Object.keys(_a2.ambiguousCharacterData.value).filter((k) => !k.startsWith(\"_\")));\n  var InvisibleCharacters = class _InvisibleCharacters {\n    static getRawData() {\n      return JSON.parse(\"[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]\");\n    }\n    static getData() {\n      if (!this._data) {\n        this._data = new Set(_InvisibleCharacters.getRawData());\n      }\n      return this._data;\n    }\n    static isInvisibleCharacter(codePoint) {\n      return _InvisibleCharacters.getData().has(codePoint);\n    }\n    static get codePoints() {\n      return _InvisibleCharacters.getData();\n    }\n  };\n  InvisibleCharacters._data = void 0;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js\n  var INITIALIZE = \"$initialize\";\n  var RequestMessage = class {\n    constructor(vsWorker, req, method, args) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.method = method;\n      this.args = args;\n      this.type = 0;\n    }\n  };\n  var ReplyMessage = class {\n    constructor(vsWorker, seq, res, err) {\n      this.vsWorker = vsWorker;\n      this.seq = seq;\n      this.res = res;\n      this.err = err;\n      this.type = 1;\n    }\n  };\n  var SubscribeEventMessage = class {\n    constructor(vsWorker, req, eventName, arg) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.eventName = eventName;\n      this.arg = arg;\n      this.type = 2;\n    }\n  };\n  var EventMessage = class {\n    constructor(vsWorker, req, event) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.event = event;\n      this.type = 3;\n    }\n  };\n  var UnsubscribeEventMessage = class {\n    constructor(vsWorker, req) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.type = 4;\n    }\n  };\n  var SimpleWorkerProtocol = class {\n    constructor(handler) {\n      this._workerId = -1;\n      this._handler = handler;\n      this._lastSentReq = 0;\n      this._pendingReplies = /* @__PURE__ */ Object.create(null);\n      this._pendingEmitters = /* @__PURE__ */ new Map();\n      this._pendingEvents = /* @__PURE__ */ new Map();\n    }\n    setWorkerId(workerId) {\n      this._workerId = workerId;\n    }\n    sendMessage(method, args) {\n      const req = String(++this._lastSentReq);\n      return new Promise((resolve2, reject) => {\n        this._pendingReplies[req] = {\n          resolve: resolve2,\n          reject\n        };\n        this._send(new RequestMessage(this._workerId, req, method, args));\n      });\n    }\n    listen(eventName, arg) {\n      let req = null;\n      const emitter = new Emitter({\n        onWillAddFirstListener: () => {\n          req = String(++this._lastSentReq);\n          this._pendingEmitters.set(req, emitter);\n          this._send(new SubscribeEventMessage(this._workerId, req, eventName, arg));\n        },\n        onDidRemoveLastListener: () => {\n          this._pendingEmitters.delete(req);\n          this._send(new UnsubscribeEventMessage(this._workerId, req));\n          req = null;\n        }\n      });\n      return emitter.event;\n    }\n    handleMessage(message) {\n      if (!message || !message.vsWorker) {\n        return;\n      }\n      if (this._workerId !== -1 && message.vsWorker !== this._workerId) {\n        return;\n      }\n      this._handleMessage(message);\n    }\n    _handleMessage(msg) {\n      switch (msg.type) {\n        case 1:\n          return this._handleReplyMessage(msg);\n        case 0:\n          return this._handleRequestMessage(msg);\n        case 2:\n          return this._handleSubscribeEventMessage(msg);\n        case 3:\n          return this._handleEventMessage(msg);\n        case 4:\n          return this._handleUnsubscribeEventMessage(msg);\n      }\n    }\n    _handleReplyMessage(replyMessage) {\n      if (!this._pendingReplies[replyMessage.seq]) {\n        console.warn(\"Got reply to unknown seq\");\n        return;\n      }\n      const reply = this._pendingReplies[replyMessage.seq];\n      delete this._pendingReplies[replyMessage.seq];\n      if (replyMessage.err) {\n        let err = replyMessage.err;\n        if (replyMessage.err.$isError) {\n          err = new Error();\n          err.name = replyMessage.err.name;\n          err.message = replyMessage.err.message;\n          err.stack = replyMessage.err.stack;\n        }\n        reply.reject(err);\n        return;\n      }\n      reply.resolve(replyMessage.res);\n    }\n    _handleRequestMessage(requestMessage) {\n      const req = requestMessage.req;\n      const result = this._handler.handleMessage(requestMessage.method, requestMessage.args);\n      result.then((r) => {\n        this._send(new ReplyMessage(this._workerId, req, r, void 0));\n      }, (e) => {\n        if (e.detail instanceof Error) {\n          e.detail = transformErrorForSerialization(e.detail);\n        }\n        this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e)));\n      });\n    }\n    _handleSubscribeEventMessage(msg) {\n      const req = msg.req;\n      const disposable = this._handler.handleEvent(msg.eventName, msg.arg)((event) => {\n        this._send(new EventMessage(this._workerId, req, event));\n      });\n      this._pendingEvents.set(req, disposable);\n    }\n    _handleEventMessage(msg) {\n      if (!this._pendingEmitters.has(msg.req)) {\n        console.warn(\"Got event for unknown req\");\n        return;\n      }\n      this._pendingEmitters.get(msg.req).fire(msg.event);\n    }\n    _handleUnsubscribeEventMessage(msg) {\n      if (!this._pendingEvents.has(msg.req)) {\n        console.warn(\"Got unsubscribe for unknown req\");\n        return;\n      }\n      this._pendingEvents.get(msg.req).dispose();\n      this._pendingEvents.delete(msg.req);\n    }\n    _send(msg) {\n      const transfer = [];\n      if (msg.type === 0) {\n        for (let i = 0; i < msg.args.length; i++) {\n          if (msg.args[i] instanceof ArrayBuffer) {\n            transfer.push(msg.args[i]);\n          }\n        }\n      } else if (msg.type === 1) {\n        if (msg.res instanceof ArrayBuffer) {\n          transfer.push(msg.res);\n        }\n      }\n      this._handler.sendMessage(msg, transfer);\n    }\n  };\n  function propertyIsEvent(name) {\n    return name[0] === \"o\" && name[1] === \"n\" && isUpperAsciiLetter(name.charCodeAt(2));\n  }\n  function propertyIsDynamicEvent(name) {\n    return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9));\n  }\n  function createProxyObject2(methodNames, invoke, proxyListen) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const createProxyDynamicEvent = (eventName) => {\n      return function(arg) {\n        return proxyListen(eventName, arg);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      if (propertyIsDynamicEvent(methodName)) {\n        result[methodName] = createProxyDynamicEvent(methodName);\n        continue;\n      }\n      if (propertyIsEvent(methodName)) {\n        result[methodName] = proxyListen(methodName, void 0);\n        continue;\n      }\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n  var SimpleWorkerServer = class {\n    constructor(postMessage, requestHandlerFactory) {\n      this._requestHandlerFactory = requestHandlerFactory;\n      this._requestHandler = null;\n      this._protocol = new SimpleWorkerProtocol({\n        sendMessage: (msg, transfer) => {\n          postMessage(msg, transfer);\n        },\n        handleMessage: (method, args) => this._handleMessage(method, args),\n        handleEvent: (eventName, arg) => this._handleEvent(eventName, arg)\n      });\n    }\n    onmessage(msg) {\n      this._protocol.handleMessage(msg);\n    }\n    _handleMessage(method, args) {\n      if (method === INITIALIZE) {\n        return this.initialize(args[0], args[1], args[2], args[3]);\n      }\n      if (!this._requestHandler || typeof this._requestHandler[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._requestHandler[method].apply(this._requestHandler, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n    _handleEvent(eventName, arg) {\n      if (!this._requestHandler) {\n        throw new Error(`Missing requestHandler`);\n      }\n      if (propertyIsDynamicEvent(eventName)) {\n        const event = this._requestHandler[eventName].call(this._requestHandler, arg);\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing dynamic event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      if (propertyIsEvent(eventName)) {\n        const event = this._requestHandler[eventName];\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      throw new Error(`Malformed event name ${eventName}`);\n    }\n    initialize(workerId, loaderConfig, moduleId, hostMethods) {\n      this._protocol.setWorkerId(workerId);\n      const proxyMethodRequest = (method, args) => {\n        return this._protocol.sendMessage(method, args);\n      };\n      const proxyListen = (eventName, arg) => {\n        return this._protocol.listen(eventName, arg);\n      };\n      const hostProxy = createProxyObject2(hostMethods, proxyMethodRequest, proxyListen);\n      if (this._requestHandlerFactory) {\n        this._requestHandler = this._requestHandlerFactory(hostProxy);\n        return Promise.resolve(getAllMethodNames(this._requestHandler));\n      }\n      if (loaderConfig) {\n        if (typeof loaderConfig.baseUrl !== \"undefined\") {\n          delete loaderConfig[\"baseUrl\"];\n        }\n        if (typeof loaderConfig.paths !== \"undefined\") {\n          if (typeof loaderConfig.paths.vs !== \"undefined\") {\n            delete loaderConfig.paths[\"vs\"];\n          }\n        }\n        if (typeof loaderConfig.trustedTypesPolicy !== \"undefined\") {\n          delete loaderConfig[\"trustedTypesPolicy\"];\n        }\n        loaderConfig.catchError = true;\n        globalThis.require.config(loaderConfig);\n      }\n      return new Promise((resolve2, reject) => {\n        const req = globalThis.require;\n        req([moduleId], (module) => {\n          this._requestHandler = module.create(hostProxy);\n          if (!this._requestHandler) {\n            reject(new Error(`No RequestHandler!`));\n            return;\n          }\n          resolve2(getAllMethodNames(this._requestHandler));\n        }, reject);\n      });\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js\n  var DiffChange = class {\n    /**\n     * Constructs a new DiffChange with the given sequence information\n     * and content.\n     */\n    constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\n      this.originalStart = originalStart;\n      this.originalLength = originalLength;\n      this.modifiedStart = modifiedStart;\n      this.modifiedLength = modifiedLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the original sequence.\n     */\n    getOriginalEnd() {\n      return this.originalStart + this.originalLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the modified sequence.\n     */\n    getModifiedEnd() {\n      return this.modifiedStart + this.modifiedLength;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/hash.js\n  function numberHash(val, initialHashVal) {\n    return (initialHashVal << 5) - initialHashVal + val | 0;\n  }\n  function stringHash(s, hashVal) {\n    hashVal = numberHash(149417, hashVal);\n    for (let i = 0, length = s.length; i < length; i++) {\n      hashVal = numberHash(s.charCodeAt(i), hashVal);\n    }\n    return hashVal;\n  }\n  function leftRotate(value, bits, totalBits = 32) {\n    const delta = totalBits - bits;\n    const mask = ~((1 << delta) - 1);\n    return (value << bits | (mask & value) >>> delta) >>> 0;\n  }\n  function fill(dest, index = 0, count = dest.byteLength, value = 0) {\n    for (let i = 0; i < count; i++) {\n      dest[index + i] = value;\n    }\n  }\n  function leftPad(value, length, char = \"0\") {\n    while (value.length < length) {\n      value = char + value;\n    }\n    return value;\n  }\n  function toHexString(bufferOrValue, bitsize = 32) {\n    if (bufferOrValue instanceof ArrayBuffer) {\n      return Array.from(new Uint8Array(bufferOrValue)).map((b) => b.toString(16).padStart(2, \"0\")).join(\"\");\n    }\n    return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4);\n  }\n  var StringSHA1 = class _StringSHA1 {\n    constructor() {\n      this._h0 = 1732584193;\n      this._h1 = 4023233417;\n      this._h2 = 2562383102;\n      this._h3 = 271733878;\n      this._h4 = 3285377520;\n      this._buff = new Uint8Array(\n        64 + 3\n        /* to fit any utf-8 */\n      );\n      this._buffDV = new DataView(this._buff.buffer);\n      this._buffLen = 0;\n      this._totalLen = 0;\n      this._leftoverHighSurrogate = 0;\n      this._finished = false;\n    }\n    update(str) {\n      const strLen = str.length;\n      if (strLen === 0) {\n        return;\n      }\n      const buff = this._buff;\n      let buffLen = this._buffLen;\n      let leftoverHighSurrogate = this._leftoverHighSurrogate;\n      let charCode;\n      let offset;\n      if (leftoverHighSurrogate !== 0) {\n        charCode = leftoverHighSurrogate;\n        offset = -1;\n        leftoverHighSurrogate = 0;\n      } else {\n        charCode = str.charCodeAt(0);\n        offset = 0;\n      }\n      while (true) {\n        let codePoint = charCode;\n        if (isHighSurrogate(charCode)) {\n          if (offset + 1 < strLen) {\n            const nextCharCode = str.charCodeAt(offset + 1);\n            if (isLowSurrogate(nextCharCode)) {\n              offset++;\n              codePoint = computeCodePoint(charCode, nextCharCode);\n            } else {\n              codePoint = 65533;\n            }\n          } else {\n            leftoverHighSurrogate = charCode;\n            break;\n          }\n        } else if (isLowSurrogate(charCode)) {\n          codePoint = 65533;\n        }\n        buffLen = this._push(buff, buffLen, codePoint);\n        offset++;\n        if (offset < strLen) {\n          charCode = str.charCodeAt(offset);\n        } else {\n          break;\n        }\n      }\n      this._buffLen = buffLen;\n      this._leftoverHighSurrogate = leftoverHighSurrogate;\n    }\n    _push(buff, buffLen, codePoint) {\n      if (codePoint < 128) {\n        buff[buffLen++] = codePoint;\n      } else if (codePoint < 2048) {\n        buff[buffLen++] = 192 | (codePoint & 1984) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else if (codePoint < 65536) {\n        buff[buffLen++] = 224 | (codePoint & 61440) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else {\n        buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18;\n        buff[buffLen++] = 128 | (codePoint & 258048) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      }\n      if (buffLen >= 64) {\n        this._step();\n        buffLen -= 64;\n        this._totalLen += 64;\n        buff[0] = buff[64 + 0];\n        buff[1] = buff[64 + 1];\n        buff[2] = buff[64 + 2];\n      }\n      return buffLen;\n    }\n    digest() {\n      if (!this._finished) {\n        this._finished = true;\n        if (this._leftoverHighSurrogate) {\n          this._leftoverHighSurrogate = 0;\n          this._buffLen = this._push(\n            this._buff,\n            this._buffLen,\n            65533\n            /* SHA1Constant.UNICODE_REPLACEMENT */\n          );\n        }\n        this._totalLen += this._buffLen;\n        this._wrapUp();\n      }\n      return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4);\n    }\n    _wrapUp() {\n      this._buff[this._buffLen++] = 128;\n      fill(this._buff, this._buffLen);\n      if (this._buffLen > 56) {\n        this._step();\n        fill(this._buff);\n      }\n      const ml = 8 * this._totalLen;\n      this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false);\n      this._buffDV.setUint32(60, ml % 4294967296, false);\n      this._step();\n    }\n    _step() {\n      const bigBlock32 = _StringSHA1._bigBlock32;\n      const data = this._buffDV;\n      for (let j = 0; j < 64; j += 4) {\n        bigBlock32.setUint32(j, data.getUint32(j, false), false);\n      }\n      for (let j = 64; j < 320; j += 4) {\n        bigBlock32.setUint32(j, leftRotate(bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false), 1), false);\n      }\n      let a2 = this._h0;\n      let b = this._h1;\n      let c = this._h2;\n      let d = this._h3;\n      let e = this._h4;\n      let f2, k;\n      let temp;\n      for (let j = 0; j < 80; j++) {\n        if (j < 20) {\n          f2 = b & c | ~b & d;\n          k = 1518500249;\n        } else if (j < 40) {\n          f2 = b ^ c ^ d;\n          k = 1859775393;\n        } else if (j < 60) {\n          f2 = b & c | b & d | c & d;\n          k = 2400959708;\n        } else {\n          f2 = b ^ c ^ d;\n          k = 3395469782;\n        }\n        temp = leftRotate(a2, 5) + f2 + e + k + bigBlock32.getUint32(j * 4, false) & 4294967295;\n        e = d;\n        d = c;\n        c = leftRotate(b, 30);\n        b = a2;\n        a2 = temp;\n      }\n      this._h0 = this._h0 + a2 & 4294967295;\n      this._h1 = this._h1 + b & 4294967295;\n      this._h2 = this._h2 + c & 4294967295;\n      this._h3 = this._h3 + d & 4294967295;\n      this._h4 = this._h4 + e & 4294967295;\n    }\n  };\n  StringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\n  var StringDiffSequence = class {\n    constructor(source) {\n      this.source = source;\n    }\n    getElements() {\n      const source = this.source;\n      const characters = new Int32Array(source.length);\n      for (let i = 0, len = source.length; i < len; i++) {\n        characters[i] = source.charCodeAt(i);\n      }\n      return characters;\n    }\n  };\n  function stringDiff(original, modified, pretty) {\n    return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes;\n  }\n  var Debug = class {\n    static Assert(condition, message) {\n      if (!condition) {\n        throw new Error(message);\n      }\n    }\n  };\n  var MyArray = class {\n    /**\n     * Copies a range of elements from an Array starting at the specified source index and pastes\n     * them to another Array starting at the specified destination index. The length and the indexes\n     * are specified as 64-bit integers.\n     * sourceArray:\n     *\t\tThe Array that contains the data to copy.\n     * sourceIndex:\n     *\t\tA 64-bit integer that represents the index in the sourceArray at which copying begins.\n     * destinationArray:\n     *\t\tThe Array that receives the data.\n     * destinationIndex:\n     *\t\tA 64-bit integer that represents the index in the destinationArray at which storing begins.\n     * length:\n     *\t\tA 64-bit integer that represents the number of elements to copy.\n     */\n    static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n    static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n  };\n  var DiffChangeHelper = class {\n    /**\n     * Constructs a new DiffChangeHelper for the given DiffSequences.\n     */\n    constructor() {\n      this.m_changes = [];\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n    }\n    /**\n     * Marks the beginning of the next change in the set of differences.\n     */\n    MarkNextChange() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount));\n      }\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n    }\n    /**\n     * Adds the original element at the given position to the elements\n     * affected by the current change. The modified index gives context\n     * to the change position with respect to the original sequence.\n     * @param originalIndex The index of the original element to add.\n     * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence.\n     */\n    AddOriginalElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_originalCount++;\n    }\n    /**\n     * Adds the modified element at the given position to the elements\n     * affected by the current change. The original index gives context\n     * to the change position with respect to the modified sequence.\n     * @param originalIndex The index of the original element that provides corresponding position in the original sequence.\n     * @param modifiedIndex The index of the modified element to add.\n     */\n    AddModifiedElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_modifiedCount++;\n    }\n    /**\n     * Retrieves all of the changes marked by the class.\n     */\n    getChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      return this.m_changes;\n    }\n    /**\n     * Retrieves all of the changes marked by the class in the reverse order\n     */\n    getReverseChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      this.m_changes.reverse();\n      return this.m_changes;\n    }\n  };\n  var LcsDiff = class _LcsDiff {\n    /**\n     * Constructs the DiffFinder\n     */\n    constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) {\n      this.ContinueProcessingPredicate = continueProcessingPredicate;\n      this._originalSequence = originalSequence;\n      this._modifiedSequence = modifiedSequence;\n      const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence);\n      const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence);\n      this._hasStrings = originalHasStrings && modifiedHasStrings;\n      this._originalStringElements = originalStringElements;\n      this._originalElementsOrHash = originalElementsOrHash;\n      this._modifiedStringElements = modifiedStringElements;\n      this._modifiedElementsOrHash = modifiedElementsOrHash;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n    }\n    static _isStringArray(arr) {\n      return arr.length > 0 && typeof arr[0] === \"string\";\n    }\n    static _getElements(sequence) {\n      const elements = sequence.getElements();\n      if (_LcsDiff._isStringArray(elements)) {\n        const hashes = new Int32Array(elements.length);\n        for (let i = 0, len = elements.length; i < len; i++) {\n          hashes[i] = stringHash(elements[i], 0);\n        }\n        return [elements, hashes, true];\n      }\n      if (elements instanceof Int32Array) {\n        return [[], elements, false];\n      }\n      return [[], new Int32Array(elements), false];\n    }\n    ElementsAreEqual(originalIndex, newIndex) {\n      if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true;\n    }\n    ElementsAreStrictEqual(originalIndex, newIndex) {\n      if (!this.ElementsAreEqual(originalIndex, newIndex)) {\n        return false;\n      }\n      const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex);\n      const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex);\n      return originalElement === modifiedElement;\n    }\n    static _getStrictElement(sequence, index) {\n      if (typeof sequence.getStrictElement === \"function\") {\n        return sequence.getStrictElement(index);\n      }\n      return null;\n    }\n    OriginalElementsAreEqual(index1, index2) {\n      if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true;\n    }\n    ModifiedElementsAreEqual(index1, index2) {\n      if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true;\n    }\n    ComputeDiff(pretty) {\n      return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty);\n    }\n    /**\n     * Computes the differences between the original and modified input\n     * sequences on the bounded range.\n     * @returns An array of the differences between the two input sequences.\n     */\n    _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) {\n      const quitEarlyArr = [false];\n      let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr);\n      if (pretty) {\n        changes = this.PrettifyChanges(changes);\n      }\n      return {\n        quitEarly: quitEarlyArr[0],\n        changes\n      };\n    }\n    /**\n     * Private helper method which computes the differences on the bounded range\n     * recursively.\n     * @returns An array of the differences between the two input sequences.\n     */\n    ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) {\n      quitEarlyArr[0] = false;\n      while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) {\n        originalStart++;\n        modifiedStart++;\n      }\n      while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) {\n        originalEnd--;\n        modifiedEnd--;\n      }\n      if (originalStart > originalEnd || modifiedStart > modifiedEnd) {\n        let changes;\n        if (modifiedStart <= modifiedEnd) {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          changes = [\n            new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1)\n          ];\n        } else if (originalStart <= originalEnd) {\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [\n            new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0)\n          ];\n        } else {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [];\n        }\n        return changes;\n      }\n      const midOriginalArr = [0];\n      const midModifiedArr = [0];\n      const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr);\n      const midOriginal = midOriginalArr[0];\n      const midModified = midModifiedArr[0];\n      if (result !== null) {\n        return result;\n      } else if (!quitEarlyArr[0]) {\n        const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr);\n        let rightChanges = [];\n        if (!quitEarlyArr[0]) {\n          rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr);\n        } else {\n          rightChanges = [\n            new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1)\n          ];\n        }\n        return this.ConcatenateChanges(leftChanges, rightChanges);\n      }\n      return [\n        new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n      ];\n    }\n    WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) {\n      let forwardChanges = null;\n      let reverseChanges = null;\n      let changeHelper = new DiffChangeHelper();\n      let diagonalMin = diagonalForwardStart;\n      let diagonalMax = diagonalForwardEnd;\n      let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset;\n      let lastOriginalIndex = -1073741824;\n      let historyIndex = this.m_forwardHistory.length - 1;\n      do {\n        const diagonal = diagonalRelative + diagonalForwardBase;\n        if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n          originalIndex = forwardPoints[diagonal + 1];\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex;\n          changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex);\n          diagonalRelative = diagonal + 1 - diagonalForwardBase;\n        } else {\n          originalIndex = forwardPoints[diagonal - 1] + 1;\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex - 1;\n          changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1);\n          diagonalRelative = diagonal - 1 - diagonalForwardBase;\n        }\n        if (historyIndex >= 0) {\n          forwardPoints = this.m_forwardHistory[historyIndex];\n          diagonalForwardBase = forwardPoints[0];\n          diagonalMin = 1;\n          diagonalMax = forwardPoints.length - 1;\n        }\n      } while (--historyIndex >= -1);\n      forwardChanges = changeHelper.getReverseChanges();\n      if (quitEarlyArr[0]) {\n        let originalStartPoint = midOriginalArr[0] + 1;\n        let modifiedStartPoint = midModifiedArr[0] + 1;\n        if (forwardChanges !== null && forwardChanges.length > 0) {\n          const lastForwardChange = forwardChanges[forwardChanges.length - 1];\n          originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd());\n          modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd());\n        }\n        reverseChanges = [\n          new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1)\n        ];\n      } else {\n        changeHelper = new DiffChangeHelper();\n        diagonalMin = diagonalReverseStart;\n        diagonalMax = diagonalReverseEnd;\n        diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset;\n        lastOriginalIndex = 1073741824;\n        historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;\n        do {\n          const diagonal = diagonalRelative + diagonalReverseBase;\n          if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex + 1;\n            changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal + 1 - diagonalReverseBase;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex;\n            changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal - 1 - diagonalReverseBase;\n          }\n          if (historyIndex >= 0) {\n            reversePoints = this.m_reverseHistory[historyIndex];\n            diagonalReverseBase = reversePoints[0];\n            diagonalMin = 1;\n            diagonalMax = reversePoints.length - 1;\n          }\n        } while (--historyIndex >= -1);\n        reverseChanges = changeHelper.getChanges();\n      }\n      return this.ConcatenateChanges(forwardChanges, reverseChanges);\n    }\n    /**\n     * Given the range to compute the diff on, this method finds the point:\n     * (midOriginal, midModified)\n     * that exists in the middle of the LCS of the two sequences and\n     * is the point at which the LCS problem may be broken down recursively.\n     * This method will try to keep the LCS trace in memory. If the LCS recursion\n     * point is calculated and the full trace is available in memory, then this method\n     * will return the change list.\n     * @param originalStart The start bound of the original sequence range\n     * @param originalEnd The end bound of the original sequence range\n     * @param modifiedStart The start bound of the modified sequence range\n     * @param modifiedEnd The end bound of the modified sequence range\n     * @param midOriginal The middle point of the original sequence range\n     * @param midModified The middle point of the modified sequence range\n     * @returns The diff changes, if available, otherwise null\n     */\n    ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) {\n      let originalIndex = 0, modifiedIndex = 0;\n      let diagonalForwardStart = 0, diagonalForwardEnd = 0;\n      let diagonalReverseStart = 0, diagonalReverseEnd = 0;\n      originalStart--;\n      modifiedStart--;\n      midOriginalArr[0] = 0;\n      midModifiedArr[0] = 0;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n      const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart);\n      const numDiagonals = maxDifferences + 1;\n      const forwardPoints = new Int32Array(numDiagonals);\n      const reversePoints = new Int32Array(numDiagonals);\n      const diagonalForwardBase = modifiedEnd - modifiedStart;\n      const diagonalReverseBase = originalEnd - originalStart;\n      const diagonalForwardOffset = originalStart - modifiedStart;\n      const diagonalReverseOffset = originalEnd - modifiedEnd;\n      const delta = diagonalReverseBase - diagonalForwardBase;\n      const deltaIsEven = delta % 2 === 0;\n      forwardPoints[diagonalForwardBase] = originalStart;\n      reversePoints[diagonalReverseBase] = originalEnd;\n      quitEarlyArr[0] = false;\n      for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) {\n        let furthestOriginalIndex = 0;\n        let furthestModifiedIndex = 0;\n        diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) {\n          if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n            originalIndex = forwardPoints[diagonal + 1];\n          } else {\n            originalIndex = forwardPoints[diagonal - 1] + 1;\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) {\n            originalIndex++;\n            modifiedIndex++;\n          }\n          forwardPoints[diagonal] = originalIndex;\n          if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) {\n            furthestOriginalIndex = originalIndex;\n            furthestModifiedIndex = modifiedIndex;\n          }\n          if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) {\n            if (originalIndex >= reversePoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2;\n        if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) {\n          quitEarlyArr[0] = true;\n          midOriginalArr[0] = furthestOriginalIndex;\n          midModifiedArr[0] = furthestModifiedIndex;\n          if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) {\n            return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n          } else {\n            originalStart++;\n            modifiedStart++;\n            return [\n              new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n            ];\n          }\n        }\n        diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) {\n          if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) {\n            originalIndex--;\n            modifiedIndex--;\n          }\n          reversePoints[diagonal] = originalIndex;\n          if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) {\n            if (originalIndex <= forwardPoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        if (numDifferences <= 1447) {\n          let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);\n          temp[0] = diagonalForwardBase - diagonalForwardStart + 1;\n          MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);\n          this.m_forwardHistory.push(temp);\n          temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2);\n          temp[0] = diagonalReverseBase - diagonalReverseStart + 1;\n          MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1);\n          this.m_reverseHistory.push(temp);\n        }\n      }\n      return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n    }\n    /**\n     * Shifts the given changes to provide a more intuitive diff.\n     * While the first element in a diff matches the first element after the diff,\n     * we shift the diff down.\n     *\n     * @param changes The list of changes to shift\n     * @returns The shifted changes\n     */\n    PrettifyChanges(changes) {\n      for (let i = 0; i < changes.length; i++) {\n        const change = changes[i];\n        const originalStop = i < changes.length - 1 ? changes[i + 1].originalStart : this._originalElementsOrHash.length;\n        const modifiedStop = i < changes.length - 1 ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length;\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) {\n          const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart);\n          const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength);\n          if (endStrictEqual && !startStrictEqual) {\n            break;\n          }\n          change.originalStart++;\n          change.modifiedStart++;\n        }\n        const mergedChangeArr = [null];\n        if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) {\n          changes[i] = mergedChangeArr[0];\n          changes.splice(i + 1, 1);\n          i--;\n          continue;\n        }\n      }\n      for (let i = changes.length - 1; i >= 0; i--) {\n        const change = changes[i];\n        let originalStop = 0;\n        let modifiedStop = 0;\n        if (i > 0) {\n          const prevChange = changes[i - 1];\n          originalStop = prevChange.originalStart + prevChange.originalLength;\n          modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength;\n        }\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        let bestDelta = 0;\n        let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength);\n        for (let delta = 1; ; delta++) {\n          const originalStart = change.originalStart - delta;\n          const modifiedStart = change.modifiedStart - delta;\n          if (originalStart < originalStop || modifiedStart < modifiedStop) {\n            break;\n          }\n          if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) {\n            break;\n          }\n          if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) {\n            break;\n          }\n          const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop;\n          const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength);\n          if (score2 > bestScore) {\n            bestScore = score2;\n            bestDelta = delta;\n          }\n        }\n        change.originalStart -= bestDelta;\n        change.modifiedStart -= bestDelta;\n        const mergedChangeArr = [null];\n        if (i > 0 && this.ChangesOverlap(changes[i - 1], changes[i], mergedChangeArr)) {\n          changes[i - 1] = mergedChangeArr[0];\n          changes.splice(i, 1);\n          i++;\n          continue;\n        }\n      }\n      if (this._hasStrings) {\n        for (let i = 1, len = changes.length; i < len; i++) {\n          const aChange = changes[i - 1];\n          const bChange = changes[i];\n          const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength;\n          const aOriginalStart = aChange.originalStart;\n          const bOriginalEnd = bChange.originalStart + bChange.originalLength;\n          const abOriginalLength = bOriginalEnd - aOriginalStart;\n          const aModifiedStart = aChange.modifiedStart;\n          const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength;\n          const abModifiedLength = bModifiedEnd - aModifiedStart;\n          if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) {\n            const t = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength);\n            if (t) {\n              const [originalMatchStart, modifiedMatchStart] = t;\n              if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) {\n                aChange.originalLength = originalMatchStart - aChange.originalStart;\n                aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart;\n                bChange.originalStart = originalMatchStart + matchedLength;\n                bChange.modifiedStart = modifiedMatchStart + matchedLength;\n                bChange.originalLength = bOriginalEnd - bChange.originalStart;\n                bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart;\n              }\n            }\n          }\n        }\n      }\n      return changes;\n    }\n    _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) {\n      if (originalLength < desiredLength || modifiedLength < desiredLength) {\n        return null;\n      }\n      const originalMax = originalStart + originalLength - desiredLength + 1;\n      const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1;\n      let bestScore = 0;\n      let bestOriginalStart = 0;\n      let bestModifiedStart = 0;\n      for (let i = originalStart; i < originalMax; i++) {\n        for (let j = modifiedStart; j < modifiedMax; j++) {\n          const score2 = this._contiguousSequenceScore(i, j, desiredLength);\n          if (score2 > 0 && score2 > bestScore) {\n            bestScore = score2;\n            bestOriginalStart = i;\n            bestModifiedStart = j;\n          }\n        }\n      }\n      if (bestScore > 0) {\n        return [bestOriginalStart, bestModifiedStart];\n      }\n      return null;\n    }\n    _contiguousSequenceScore(originalStart, modifiedStart, length) {\n      let score2 = 0;\n      for (let l = 0; l < length; l++) {\n        if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) {\n          return 0;\n        }\n        score2 += this._originalStringElements[originalStart + l].length;\n      }\n      return score2;\n    }\n    _OriginalIsBoundary(index) {\n      if (index <= 0 || index >= this._originalElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._originalStringElements[index]);\n    }\n    _OriginalRegionIsBoundary(originalStart, originalLength) {\n      if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) {\n        return true;\n      }\n      if (originalLength > 0) {\n        const originalEnd = originalStart + originalLength;\n        if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _ModifiedIsBoundary(index) {\n      if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._modifiedStringElements[index]);\n    }\n    _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) {\n      if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) {\n        return true;\n      }\n      if (modifiedLength > 0) {\n        const modifiedEnd = modifiedStart + modifiedLength;\n        if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) {\n      const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0;\n      const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0;\n      return originalScore + modifiedScore;\n    }\n    /**\n     * Concatenates the two input DiffChange lists and returns the resulting\n     * list.\n     * @param The left changes\n     * @param The right changes\n     * @returns The concatenated list\n     */\n    ConcatenateChanges(left, right) {\n      const mergedChangeArr = [];\n      if (left.length === 0 || right.length === 0) {\n        return right.length > 0 ? right : left;\n      } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) {\n        const result = new Array(left.length + right.length - 1);\n        MyArray.Copy(left, 0, result, 0, left.length - 1);\n        result[left.length - 1] = mergedChangeArr[0];\n        MyArray.Copy(right, 1, result, left.length, right.length - 1);\n        return result;\n      } else {\n        const result = new Array(left.length + right.length);\n        MyArray.Copy(left, 0, result, 0, left.length);\n        MyArray.Copy(right, 0, result, left.length, right.length);\n        return result;\n      }\n    }\n    /**\n     * Returns true if the two changes overlap and can be merged into a single\n     * change\n     * @param left The left change\n     * @param right The right change\n     * @param mergedChange The merged change if the two overlap, null otherwise\n     * @returns True if the two changes overlap\n     */\n    ChangesOverlap(left, right, mergedChangeArr) {\n      Debug.Assert(left.originalStart <= right.originalStart, \"Left change is not less than or equal to right change\");\n      Debug.Assert(left.modifiedStart <= right.modifiedStart, \"Left change is not less than or equal to right change\");\n      if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n        const originalStart = left.originalStart;\n        let originalLength = left.originalLength;\n        const modifiedStart = left.modifiedStart;\n        let modifiedLength = left.modifiedLength;\n        if (left.originalStart + left.originalLength >= right.originalStart) {\n          originalLength = right.originalStart + right.originalLength - left.originalStart;\n        }\n        if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n          modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart;\n        }\n        mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength);\n        return true;\n      } else {\n        mergedChangeArr[0] = null;\n        return false;\n      }\n    }\n    /**\n     * Helper method used to clip a diagonal index to the range of valid\n     * diagonals. This also decides whether or not the diagonal index,\n     * if it exceeds the boundary, should be clipped to the boundary or clipped\n     * one inside the boundary depending on the Even/Odd status of the boundary\n     * and numDifferences.\n     * @param diagonal The index of the diagonal to clip.\n     * @param numDifferences The current number of differences being iterated upon.\n     * @param diagonalBaseIndex The base reference diagonal.\n     * @param numDiagonals The total number of diagonals.\n     * @returns The clipped diagonal index.\n     */\n    ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) {\n      if (diagonal >= 0 && diagonal < numDiagonals) {\n        return diagonal;\n      }\n      const diagonalsBelow = diagonalBaseIndex;\n      const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1;\n      const diffEven = numDifferences % 2 === 0;\n      if (diagonal < 0) {\n        const lowerBoundEven = diagonalsBelow % 2 === 0;\n        return diffEven === lowerBoundEven ? 0 : 1;\n      } else {\n        const upperBoundEven = diagonalsAbove % 2 === 0;\n        return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/process.js\n  var safeProcess;\n  var vscodeGlobal = globalThis.vscode;\n  if (typeof vscodeGlobal !== \"undefined\" && typeof vscodeGlobal.process !== \"undefined\") {\n    const sandboxProcess = vscodeGlobal.process;\n    safeProcess = {\n      get platform() {\n        return sandboxProcess.platform;\n      },\n      get arch() {\n        return sandboxProcess.arch;\n      },\n      get env() {\n        return sandboxProcess.env;\n      },\n      cwd() {\n        return sandboxProcess.cwd();\n      }\n    };\n  } else if (typeof process !== \"undefined\") {\n    safeProcess = {\n      get platform() {\n        return process.platform;\n      },\n      get arch() {\n        return process.arch;\n      },\n      get env() {\n        return process.env;\n      },\n      cwd() {\n        return process.env[\"VSCODE_CWD\"] || process.cwd();\n      }\n    };\n  } else {\n    safeProcess = {\n      // Supported\n      get platform() {\n        return isWindows ? \"win32\" : isMacintosh ? \"darwin\" : \"linux\";\n      },\n      get arch() {\n        return void 0;\n      },\n      // Unsupported\n      get env() {\n        return {};\n      },\n      cwd() {\n        return \"/\";\n      }\n    };\n  }\n  var cwd = safeProcess.cwd;\n  var env = safeProcess.env;\n  var platform = safeProcess.platform;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/path.js\n  var CHAR_UPPERCASE_A = 65;\n  var CHAR_LOWERCASE_A = 97;\n  var CHAR_UPPERCASE_Z = 90;\n  var CHAR_LOWERCASE_Z = 122;\n  var CHAR_DOT = 46;\n  var CHAR_FORWARD_SLASH = 47;\n  var CHAR_BACKWARD_SLASH = 92;\n  var CHAR_COLON = 58;\n  var CHAR_QUESTION_MARK = 63;\n  var ErrorInvalidArgType = class extends Error {\n    constructor(name, expected, actual) {\n      let determiner;\n      if (typeof expected === \"string\" && expected.indexOf(\"not \") === 0) {\n        determiner = \"must not be\";\n        expected = expected.replace(/^not /, \"\");\n      } else {\n        determiner = \"must be\";\n      }\n      const type = name.indexOf(\".\") !== -1 ? \"property\" : \"argument\";\n      let msg = `The \"${name}\" ${type} ${determiner} of type ${expected}`;\n      msg += `. Received type ${typeof actual}`;\n      super(msg);\n      this.code = \"ERR_INVALID_ARG_TYPE\";\n    }\n  };\n  function validateObject(pathObject, name) {\n    if (pathObject === null || typeof pathObject !== \"object\") {\n      throw new ErrorInvalidArgType(name, \"Object\", pathObject);\n    }\n  }\n  function validateString(value, name) {\n    if (typeof value !== \"string\") {\n      throw new ErrorInvalidArgType(name, \"string\", value);\n    }\n  }\n  var platformIsWin32 = platform === \"win32\";\n  function isPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n  }\n  function isPosixPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH;\n  }\n  function isWindowsDeviceRoot(code) {\n    return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z;\n  }\n  function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) {\n    let res = \"\";\n    let lastSegmentLength = 0;\n    let lastSlash = -1;\n    let dots = 0;\n    let code = 0;\n    for (let i = 0; i <= path.length; ++i) {\n      if (i < path.length) {\n        code = path.charCodeAt(i);\n      } else if (isPathSeparator2(code)) {\n        break;\n      } else {\n        code = CHAR_FORWARD_SLASH;\n      }\n      if (isPathSeparator2(code)) {\n        if (lastSlash === i - 1 || dots === 1) {\n        } else if (dots === 2) {\n          if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {\n            if (res.length > 2) {\n              const lastSlashIndex = res.lastIndexOf(separator);\n              if (lastSlashIndex === -1) {\n                res = \"\";\n                lastSegmentLength = 0;\n              } else {\n                res = res.slice(0, lastSlashIndex);\n                lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);\n              }\n              lastSlash = i;\n              dots = 0;\n              continue;\n            } else if (res.length !== 0) {\n              res = \"\";\n              lastSegmentLength = 0;\n              lastSlash = i;\n              dots = 0;\n              continue;\n            }\n          }\n          if (allowAboveRoot) {\n            res += res.length > 0 ? `${separator}..` : \"..\";\n            lastSegmentLength = 2;\n          }\n        } else {\n          if (res.length > 0) {\n            res += `${separator}${path.slice(lastSlash + 1, i)}`;\n          } else {\n            res = path.slice(lastSlash + 1, i);\n          }\n          lastSegmentLength = i - lastSlash - 1;\n        }\n        lastSlash = i;\n        dots = 0;\n      } else if (code === CHAR_DOT && dots !== -1) {\n        ++dots;\n      } else {\n        dots = -1;\n      }\n    }\n    return res;\n  }\n  function _format2(sep2, pathObject) {\n    validateObject(pathObject, \"pathObject\");\n    const dir = pathObject.dir || pathObject.root;\n    const base = pathObject.base || `${pathObject.name || \"\"}${pathObject.ext || \"\"}`;\n    if (!dir) {\n      return base;\n    }\n    return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`;\n  }\n  var win32 = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedDevice = \"\";\n      let resolvedTail = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1; i--) {\n        let path;\n        if (i >= 0) {\n          path = pathSegments[i];\n          validateString(path, \"path\");\n          if (path.length === 0) {\n            continue;\n          }\n        } else if (resolvedDevice.length === 0) {\n          path = cwd();\n        } else {\n          path = env[`=${resolvedDevice}`] || cwd();\n          if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n            path = `${resolvedDevice}\\\\`;\n          }\n        }\n        const len = path.length;\n        let rootEnd = 0;\n        let device = \"\";\n        let isAbsolute = false;\n        const code = path.charCodeAt(0);\n        if (len === 1) {\n          if (isPathSeparator(code)) {\n            rootEnd = 1;\n            isAbsolute = true;\n          }\n        } else if (isPathSeparator(code)) {\n          isAbsolute = true;\n          if (isPathSeparator(path.charCodeAt(1))) {\n            let j = 2;\n            let last = j;\n            while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              const firstPart = path.slice(last, j);\n              last = j;\n              while (j < len && isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j < len && j !== last) {\n                last = j;\n                while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                  j++;\n                }\n                if (j === len || j !== last) {\n                  device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                  rootEnd = j;\n                }\n              }\n            }\n          } else {\n            rootEnd = 1;\n          }\n        } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n          device = path.slice(0, 2);\n          rootEnd = 2;\n          if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n            isAbsolute = true;\n            rootEnd = 3;\n          }\n        }\n        if (device.length > 0) {\n          if (resolvedDevice.length > 0) {\n            if (device.toLowerCase() !== resolvedDevice.toLowerCase()) {\n              continue;\n            }\n          } else {\n            resolvedDevice = device;\n          }\n        }\n        if (resolvedAbsolute) {\n          if (resolvedDevice.length > 0) {\n            break;\n          }\n        } else {\n          resolvedTail = `${path.slice(rootEnd)}\\\\${resolvedTail}`;\n          resolvedAbsolute = isAbsolute;\n          if (isAbsolute && resolvedDevice.length > 0) {\n            break;\n          }\n        }\n      }\n      resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, \"\\\\\", isPathSeparator);\n      return resolvedAbsolute ? `${resolvedDevice}\\\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = 0;\n      let device;\n      let isAbsolute = false;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPosixPathSeparator(code) ? \"\\\\\" : path;\n      }\n      if (isPathSeparator(code)) {\n        isAbsolute = true;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            const firstPart = path.slice(last, j);\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return `\\\\\\\\${firstPart}\\\\${path.slice(last)}\\\\`;\n              }\n              if (j !== last) {\n                device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                rootEnd = j;\n              }\n            }\n          }\n        } else {\n          rootEnd = 1;\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        device = path.slice(0, 2);\n        rootEnd = 2;\n        if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n          isAbsolute = true;\n          rootEnd = 3;\n        }\n      }\n      let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, \"\\\\\", isPathSeparator) : \"\";\n      if (tail.length === 0 && !isAbsolute) {\n        tail = \".\";\n      }\n      if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {\n        tail += \"\\\\\";\n      }\n      if (device === void 0) {\n        return isAbsolute ? `\\\\${tail}` : tail;\n      }\n      return isAbsolute ? `${device}\\\\${tail}` : `${device}${tail}`;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return false;\n      }\n      const code = path.charCodeAt(0);\n      return isPathSeparator(code) || // Possible device root\n      len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2));\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      let firstPart;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = firstPart = arg;\n          } else {\n            joined += `\\\\${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      let needsReplace = true;\n      let slashCount = 0;\n      if (typeof firstPart === \"string\" && isPathSeparator(firstPart.charCodeAt(0))) {\n        ++slashCount;\n        const firstLen = firstPart.length;\n        if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) {\n          ++slashCount;\n          if (firstLen > 2) {\n            if (isPathSeparator(firstPart.charCodeAt(2))) {\n              ++slashCount;\n            } else {\n              needsReplace = false;\n            }\n          }\n        }\n      }\n      if (needsReplace) {\n        while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) {\n          slashCount++;\n        }\n        if (slashCount >= 2) {\n          joined = `\\\\${joined.slice(slashCount)}`;\n        }\n      }\n      return win32.normalize(joined);\n    },\n    // It will solve the relative path from `from` to `to`, for instance:\n    //  from = 'C:\\\\orandea\\\\test\\\\aaa'\n    //  to = 'C:\\\\orandea\\\\impl\\\\bbb'\n    // The output of the function should be: '..\\\\..\\\\impl\\\\bbb'\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      const fromOrig = win32.resolve(from);\n      const toOrig = win32.resolve(to);\n      if (fromOrig === toOrig) {\n        return \"\";\n      }\n      from = fromOrig.toLowerCase();\n      to = toOrig.toLowerCase();\n      if (from === to) {\n        return \"\";\n      }\n      let fromStart = 0;\n      while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {\n        fromStart++;\n      }\n      let fromEnd = from.length;\n      while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) {\n        fromEnd--;\n      }\n      const fromLen = fromEnd - fromStart;\n      let toStart = 0;\n      while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        toStart++;\n      }\n      let toEnd = to.length;\n      while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) {\n        toEnd--;\n      }\n      const toLen = toEnd - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_BACKWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i !== length) {\n        if (lastCommonSep === -1) {\n          return toOrig;\n        }\n      } else {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {\n            return toOrig.slice(toStart + i + 1);\n          }\n          if (i === 2) {\n            return toOrig.slice(toStart + i);\n          }\n        }\n        if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 2) {\n            lastCommonSep = 3;\n          }\n        }\n        if (lastCommonSep === -1) {\n          lastCommonSep = 0;\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"\\\\..\";\n        }\n      }\n      toStart += lastCommonSep;\n      if (out.length > 0) {\n        return `${out}${toOrig.slice(toStart, toEnd)}`;\n      }\n      if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        ++toStart;\n      }\n      return toOrig.slice(toStart, toEnd);\n    },\n    toNamespacedPath(path) {\n      if (typeof path !== \"string\" || path.length === 0) {\n        return path;\n      }\n      const resolvedPath = win32.resolve(path);\n      if (resolvedPath.length <= 2) {\n        return path;\n      }\n      if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {\n        if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {\n          const code = resolvedPath.charCodeAt(2);\n          if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {\n            return `\\\\\\\\?\\\\UNC\\\\${resolvedPath.slice(2)}`;\n          }\n        }\n      } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n        return `\\\\\\\\?\\\\${resolvedPath}`;\n      }\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = -1;\n      let offset = 0;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPathSeparator(code) ? path : \".\";\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = offset = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return path;\n              }\n              if (j !== last) {\n                rootEnd = offset = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2;\n        offset = rootEnd;\n      }\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = len - 1; i >= offset; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        if (rootEnd === -1) {\n          return \".\";\n        }\n        end = rootEnd;\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) {\n        start = 2;\n      }\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= start; --i) {\n          const code = path.charCodeAt(i);\n          if (isPathSeparator(code)) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= start; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let start = 0;\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {\n        start = startPart = 2;\n      }\n      for (let i = path.length - 1; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"\\\\\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const len = path.length;\n      let rootEnd = 0;\n      let code = path.charCodeAt(0);\n      if (len === 1) {\n        if (isPathSeparator(code)) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        ret.base = ret.name = path;\n        return ret;\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                rootEnd = j;\n              } else if (j !== last) {\n                rootEnd = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        if (len <= 2) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        rootEnd = 2;\n        if (isPathSeparator(path.charCodeAt(2))) {\n          if (len === 3) {\n            ret.root = ret.dir = path;\n            return ret;\n          }\n          rootEnd = 3;\n        }\n      }\n      if (rootEnd > 0) {\n        ret.root = path.slice(0, rootEnd);\n      }\n      let startDot = -1;\n      let startPart = rootEnd;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= rootEnd; --i) {\n        code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(startPart, end);\n        } else {\n          ret.name = path.slice(startPart, startDot);\n          ret.base = path.slice(startPart, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0 && startPart !== rootEnd) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else {\n        ret.dir = ret.root;\n      }\n      return ret;\n    },\n    sep: \"\\\\\",\n    delimiter: \";\",\n    win32: null,\n    posix: null\n  };\n  var posixCwd = (() => {\n    if (platformIsWin32) {\n      const regexp = /\\\\/g;\n      return () => {\n        const cwd2 = cwd().replace(regexp, \"/\");\n        return cwd2.slice(cwd2.indexOf(\"/\"));\n      };\n    }\n    return () => cwd();\n  })();\n  var posix = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedPath = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n        const path = i >= 0 ? pathSegments[i] : posixCwd();\n        validateString(path, \"path\");\n        if (path.length === 0) {\n          continue;\n        }\n        resolvedPath = `${path}/${resolvedPath}`;\n        resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      }\n      resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\", isPosixPathSeparator);\n      if (resolvedAbsolute) {\n        return `/${resolvedPath}`;\n      }\n      return resolvedPath.length > 0 ? resolvedPath : \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH;\n      path = normalizeString(path, !isAbsolute, \"/\", isPosixPathSeparator);\n      if (path.length === 0) {\n        if (isAbsolute) {\n          return \"/\";\n        }\n        return trailingSeparator ? \"./\" : \".\";\n      }\n      if (trailingSeparator) {\n        path += \"/\";\n      }\n      return isAbsolute ? `/${path}` : path;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = arg;\n          } else {\n            joined += `/${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      return posix.normalize(joined);\n    },\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      from = posix.resolve(from);\n      to = posix.resolve(to);\n      if (from === to) {\n        return \"\";\n      }\n      const fromStart = 1;\n      const fromEnd = from.length;\n      const fromLen = fromEnd - fromStart;\n      const toStart = 1;\n      const toLen = to.length - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_FORWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i === length) {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) {\n            return to.slice(toStart + i + 1);\n          }\n          if (i === 0) {\n            return to.slice(toStart + i);\n          }\n        } else if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 0) {\n            lastCommonSep = 0;\n          }\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"/..\";\n        }\n      }\n      return `${out}${to.slice(toStart + lastCommonSep)}`;\n    },\n    toNamespacedPath(path) {\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = path.length - 1; i >= 1; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        return hasRoot ? \"/\" : \".\";\n      }\n      if (hasRoot && end === 1) {\n        return \"//\";\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= 0; --i) {\n          const code = path.charCodeAt(i);\n          if (code === CHAR_FORWARD_SLASH) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= 0; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      for (let i = path.length - 1; i >= 0; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"/\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let start;\n      if (isAbsolute) {\n        ret.root = \"/\";\n        start = 1;\n      } else {\n        start = 0;\n      }\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        const start2 = startPart === 0 && isAbsolute ? 1 : startPart;\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(start2, end);\n        } else {\n          ret.name = path.slice(start2, startDot);\n          ret.base = path.slice(start2, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else if (isAbsolute) {\n        ret.dir = \"/\";\n      }\n      return ret;\n    },\n    sep: \"/\",\n    delimiter: \":\",\n    win32: null,\n    posix: null\n  };\n  posix.win32 = win32.win32 = win32;\n  posix.posix = win32.posix = posix;\n  var normalize = platformIsWin32 ? win32.normalize : posix.normalize;\n  var resolve = platformIsWin32 ? win32.resolve : posix.resolve;\n  var relative = platformIsWin32 ? win32.relative : posix.relative;\n  var dirname = platformIsWin32 ? win32.dirname : posix.dirname;\n  var basename = platformIsWin32 ? win32.basename : posix.basename;\n  var extname = platformIsWin32 ? win32.extname : posix.extname;\n  var sep = platformIsWin32 ? win32.sep : posix.sep;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uri.js\n  var _schemePattern = /^\\w[\\w\\d+.-]*$/;\n  var _singleSlashStart = /^\\//;\n  var _doubleSlashStart = /^\\/\\//;\n  function _validateUri(ret, _strict) {\n    if (!ret.scheme && _strict) {\n      throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${ret.authority}\", path: \"${ret.path}\", query: \"${ret.query}\", fragment: \"${ret.fragment}\"}`);\n    }\n    if (ret.scheme && !_schemePattern.test(ret.scheme)) {\n      throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n    }\n    if (ret.path) {\n      if (ret.authority) {\n        if (!_singleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n        }\n      } else {\n        if (_doubleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n    }\n  }\n  function _schemeFix(scheme, _strict) {\n    if (!scheme && !_strict) {\n      return \"file\";\n    }\n    return scheme;\n  }\n  function _referenceResolution(scheme, path) {\n    switch (scheme) {\n      case \"https\":\n      case \"http\":\n      case \"file\":\n        if (!path) {\n          path = _slash;\n        } else if (path[0] !== _slash) {\n          path = _slash + path;\n        }\n        break;\n    }\n    return path;\n  }\n  var _empty = \"\";\n  var _slash = \"/\";\n  var _regexp = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;\n  var URI = class _URI {\n    static isUri(thing) {\n      if (thing instanceof _URI) {\n        return true;\n      }\n      if (!thing) {\n        return false;\n      }\n      return typeof thing.authority === \"string\" && typeof thing.fragment === \"string\" && typeof thing.path === \"string\" && typeof thing.query === \"string\" && typeof thing.scheme === \"string\" && typeof thing.fsPath === \"string\" && typeof thing.with === \"function\" && typeof thing.toString === \"function\";\n    }\n    /**\n     * @internal\n     */\n    constructor(schemeOrData, authority, path, query, fragment, _strict = false) {\n      if (typeof schemeOrData === \"object\") {\n        this.scheme = schemeOrData.scheme || _empty;\n        this.authority = schemeOrData.authority || _empty;\n        this.path = schemeOrData.path || _empty;\n        this.query = schemeOrData.query || _empty;\n        this.fragment = schemeOrData.fragment || _empty;\n      } else {\n        this.scheme = _schemeFix(schemeOrData, _strict);\n        this.authority = authority || _empty;\n        this.path = _referenceResolution(this.scheme, path || _empty);\n        this.query = query || _empty;\n        this.fragment = fragment || _empty;\n        _validateUri(this, _strict);\n      }\n    }\n    // ---- filesystem path -----------------------\n    /**\n     * Returns a string representing the corresponding file system path of this URI.\n     * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the\n     * platform specific path separator.\n     *\n     * * Will *not* validate the path for invalid characters and semantics.\n     * * Will *not* look at the scheme of this URI.\n     * * The result shall *not* be used for display purposes but for accessing a file on disk.\n     *\n     *\n     * The *difference* to `URI#path` is the use of the platform specific separator and the handling\n     * of UNC paths. See the below sample of a file-uri with an authority (UNC path).\n     *\n     * ```ts\n        const u = URI.parse('file://server/c$/folder/file.txt')\n        u.authority === 'server'\n        u.path === '/shares/c$/file.txt'\n        u.fsPath === '\\\\server\\c$\\folder\\file.txt'\n    ```\n     *\n     * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path,\n     * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working\n     * with URIs that represent files on disk (`file` scheme).\n     */\n    get fsPath() {\n      return uriToFsPath(this, false);\n    }\n    // ---- modify to new -------------------------\n    with(change) {\n      if (!change) {\n        return this;\n      }\n      let { scheme, authority, path, query, fragment } = change;\n      if (scheme === void 0) {\n        scheme = this.scheme;\n      } else if (scheme === null) {\n        scheme = _empty;\n      }\n      if (authority === void 0) {\n        authority = this.authority;\n      } else if (authority === null) {\n        authority = _empty;\n      }\n      if (path === void 0) {\n        path = this.path;\n      } else if (path === null) {\n        path = _empty;\n      }\n      if (query === void 0) {\n        query = this.query;\n      } else if (query === null) {\n        query = _empty;\n      }\n      if (fragment === void 0) {\n        fragment = this.fragment;\n      } else if (fragment === null) {\n        fragment = _empty;\n      }\n      if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) {\n        return this;\n      }\n      return new Uri(scheme, authority, path, query, fragment);\n    }\n    // ---- parse & validate ------------------------\n    /**\n     * Creates a new URI from a string, e.g. `http://www.example.com/some/path`,\n     * `file:///usr/home`, or `scheme:with/path`.\n     *\n     * @param value A string which represents an URI (see `URI#toString`).\n     */\n    static parse(value, _strict = false) {\n      const match = _regexp.exec(value);\n      if (!match) {\n        return new Uri(_empty, _empty, _empty, _empty, _empty);\n      }\n      return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict);\n    }\n    /**\n     * Creates a new URI from a file system path, e.g. `c:\\my\\files`,\n     * `/usr/home`, or `\\\\server\\share\\some\\path`.\n     *\n     * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument\n     * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as**\n     * `URI.parse('file://' + path)` because the path might contain characters that are\n     * interpreted (# and ?). See the following sample:\n     * ```ts\n    const good = URI.file('/coding/c#/project1');\n    good.scheme === 'file';\n    good.path === '/coding/c#/project1';\n    good.fragment === '';\n    const bad = URI.parse('file://' + '/coding/c#/project1');\n    bad.scheme === 'file';\n    bad.path === '/coding/c'; // path is now broken\n    bad.fragment === '/project1';\n    ```\n     *\n     * @param path A file system path (see `URI#fsPath`)\n     */\n    static file(path) {\n      let authority = _empty;\n      if (isWindows) {\n        path = path.replace(/\\\\/g, _slash);\n      }\n      if (path[0] === _slash && path[1] === _slash) {\n        const idx = path.indexOf(_slash, 2);\n        if (idx === -1) {\n          authority = path.substring(2);\n          path = _slash;\n        } else {\n          authority = path.substring(2, idx);\n          path = path.substring(idx) || _slash;\n        }\n      }\n      return new Uri(\"file\", authority, path, _empty, _empty);\n    }\n    /**\n     * Creates new URI from uri components.\n     *\n     * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs\n     * validation and should be used for untrusted uri components retrieved from storage,\n     * user input, command arguments etc\n     */\n    static from(components, strict) {\n      const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict);\n      return result;\n    }\n    /**\n     * Join a URI path with path fragments and normalizes the resulting path.\n     *\n     * @param uri The input URI.\n     * @param pathFragment The path fragment to add to the URI path.\n     * @returns The resulting URI.\n     */\n    static joinPath(uri, ...pathFragment) {\n      if (!uri.path) {\n        throw new Error(`[UriError]: cannot call joinPath on URI without path`);\n      }\n      let newPath;\n      if (isWindows && uri.scheme === \"file\") {\n        newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path;\n      } else {\n        newPath = posix.join(uri.path, ...pathFragment);\n      }\n      return uri.with({ path: newPath });\n    }\n    // ---- printing/externalize ---------------------------\n    /**\n     * Creates a string representation for this URI. It's guaranteed that calling\n     * `URI.parse` with the result of this function creates an URI which is equal\n     * to this URI.\n     *\n     * * The result shall *not* be used for display purposes but for externalization or transport.\n     * * The result will be encoded using the percentage encoding and encoding happens mostly\n     * ignore the scheme-specific encoding rules.\n     *\n     * @param skipEncoding Do not encode the result, default is `false`\n     */\n    toString(skipEncoding = false) {\n      return _asFormatted(this, skipEncoding);\n    }\n    toJSON() {\n      return this;\n    }\n    static revive(data) {\n      var _a4, _b3;\n      if (!data) {\n        return data;\n      } else if (data instanceof _URI) {\n        return data;\n      } else {\n        const result = new Uri(data);\n        result._formatted = (_a4 = data.external) !== null && _a4 !== void 0 ? _a4 : null;\n        result._fsPath = data._sep === _pathSepMarker ? (_b3 = data.fsPath) !== null && _b3 !== void 0 ? _b3 : null : null;\n        return result;\n      }\n    }\n  };\n  var _pathSepMarker = isWindows ? 1 : void 0;\n  var Uri = class extends URI {\n    constructor() {\n      super(...arguments);\n      this._formatted = null;\n      this._fsPath = null;\n    }\n    get fsPath() {\n      if (!this._fsPath) {\n        this._fsPath = uriToFsPath(this, false);\n      }\n      return this._fsPath;\n    }\n    toString(skipEncoding = false) {\n      if (!skipEncoding) {\n        if (!this._formatted) {\n          this._formatted = _asFormatted(this, false);\n        }\n        return this._formatted;\n      } else {\n        return _asFormatted(this, true);\n      }\n    }\n    toJSON() {\n      const res = {\n        $mid: 1\n        /* MarshalledId.Uri */\n      };\n      if (this._fsPath) {\n        res.fsPath = this._fsPath;\n        res._sep = _pathSepMarker;\n      }\n      if (this._formatted) {\n        res.external = this._formatted;\n      }\n      if (this.path) {\n        res.path = this.path;\n      }\n      if (this.scheme) {\n        res.scheme = this.scheme;\n      }\n      if (this.authority) {\n        res.authority = this.authority;\n      }\n      if (this.query) {\n        res.query = this.query;\n      }\n      if (this.fragment) {\n        res.fragment = this.fragment;\n      }\n      return res;\n    }\n  };\n  var encodeTable = {\n    [\n      58\n      /* CharCode.Colon */\n    ]: \"%3A\",\n    // gen-delims\n    [\n      47\n      /* CharCode.Slash */\n    ]: \"%2F\",\n    [\n      63\n      /* CharCode.QuestionMark */\n    ]: \"%3F\",\n    [\n      35\n      /* CharCode.Hash */\n    ]: \"%23\",\n    [\n      91\n      /* CharCode.OpenSquareBracket */\n    ]: \"%5B\",\n    [\n      93\n      /* CharCode.CloseSquareBracket */\n    ]: \"%5D\",\n    [\n      64\n      /* CharCode.AtSign */\n    ]: \"%40\",\n    [\n      33\n      /* CharCode.ExclamationMark */\n    ]: \"%21\",\n    // sub-delims\n    [\n      36\n      /* CharCode.DollarSign */\n    ]: \"%24\",\n    [\n      38\n      /* CharCode.Ampersand */\n    ]: \"%26\",\n    [\n      39\n      /* CharCode.SingleQuote */\n    ]: \"%27\",\n    [\n      40\n      /* CharCode.OpenParen */\n    ]: \"%28\",\n    [\n      41\n      /* CharCode.CloseParen */\n    ]: \"%29\",\n    [\n      42\n      /* CharCode.Asterisk */\n    ]: \"%2A\",\n    [\n      43\n      /* CharCode.Plus */\n    ]: \"%2B\",\n    [\n      44\n      /* CharCode.Comma */\n    ]: \"%2C\",\n    [\n      59\n      /* CharCode.Semicolon */\n    ]: \"%3B\",\n    [\n      61\n      /* CharCode.Equals */\n    ]: \"%3D\",\n    [\n      32\n      /* CharCode.Space */\n    ]: \"%20\"\n  };\n  function encodeURIComponentFast(uriComponent, isPath, isAuthority) {\n    let res = void 0;\n    let nativeEncodePos = -1;\n    for (let pos = 0; pos < uriComponent.length; pos++) {\n      const code = uriComponent.charCodeAt(pos);\n      if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) {\n        if (nativeEncodePos !== -1) {\n          res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n          nativeEncodePos = -1;\n        }\n        if (res !== void 0) {\n          res += uriComponent.charAt(pos);\n        }\n      } else {\n        if (res === void 0) {\n          res = uriComponent.substr(0, pos);\n        }\n        const escaped = encodeTable[code];\n        if (escaped !== void 0) {\n          if (nativeEncodePos !== -1) {\n            res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n            nativeEncodePos = -1;\n          }\n          res += escaped;\n        } else if (nativeEncodePos === -1) {\n          nativeEncodePos = pos;\n        }\n      }\n    }\n    if (nativeEncodePos !== -1) {\n      res += encodeURIComponent(uriComponent.substring(nativeEncodePos));\n    }\n    return res !== void 0 ? res : uriComponent;\n  }\n  function encodeURIComponentMinimal(path) {\n    let res = void 0;\n    for (let pos = 0; pos < path.length; pos++) {\n      const code = path.charCodeAt(pos);\n      if (code === 35 || code === 63) {\n        if (res === void 0) {\n          res = path.substr(0, pos);\n        }\n        res += encodeTable[code];\n      } else {\n        if (res !== void 0) {\n          res += path[pos];\n        }\n      }\n    }\n    return res !== void 0 ? res : path;\n  }\n  function uriToFsPath(uri, keepDriveLetterCasing) {\n    let value;\n    if (uri.authority && uri.path.length > 1 && uri.scheme === \"file\") {\n      value = `//${uri.authority}${uri.path}`;\n    } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) {\n      if (!keepDriveLetterCasing) {\n        value = uri.path[1].toLowerCase() + uri.path.substr(2);\n      } else {\n        value = uri.path.substr(1);\n      }\n    } else {\n      value = uri.path;\n    }\n    if (isWindows) {\n      value = value.replace(/\\//g, \"\\\\\");\n    }\n    return value;\n  }\n  function _asFormatted(uri, skipEncoding) {\n    const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal;\n    let res = \"\";\n    let { scheme, authority, path, query, fragment } = uri;\n    if (scheme) {\n      res += scheme;\n      res += \":\";\n    }\n    if (authority || scheme === \"file\") {\n      res += _slash;\n      res += _slash;\n    }\n    if (authority) {\n      let idx = authority.indexOf(\"@\");\n      if (idx !== -1) {\n        const userinfo = authority.substr(0, idx);\n        authority = authority.substr(idx + 1);\n        idx = userinfo.lastIndexOf(\":\");\n        if (idx === -1) {\n          res += encoder(userinfo, false, false);\n        } else {\n          res += encoder(userinfo.substr(0, idx), false, false);\n          res += \":\";\n          res += encoder(userinfo.substr(idx + 1), false, true);\n        }\n        res += \"@\";\n      }\n      authority = authority.toLowerCase();\n      idx = authority.lastIndexOf(\":\");\n      if (idx === -1) {\n        res += encoder(authority, false, true);\n      } else {\n        res += encoder(authority.substr(0, idx), false, true);\n        res += authority.substr(idx);\n      }\n    }\n    if (path) {\n      if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {\n        const code = path.charCodeAt(1);\n        if (code >= 65 && code <= 90) {\n          path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;\n        }\n      } else if (path.length >= 2 && path.charCodeAt(1) === 58) {\n        const code = path.charCodeAt(0);\n        if (code >= 65 && code <= 90) {\n          path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;\n        }\n      }\n      res += encoder(path, true, false);\n    }\n    if (query) {\n      res += \"?\";\n      res += encoder(query, false, false);\n    }\n    if (fragment) {\n      res += \"#\";\n      res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment;\n    }\n    return res;\n  }\n  function decodeURIComponentGraceful(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (_a4) {\n      if (str.length > 3) {\n        return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3));\n      } else {\n        return str;\n      }\n    }\n  }\n  var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n  function percentDecode(str) {\n    if (!str.match(_rEncodedAsHex)) {\n      return str;\n    }\n    return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/position.js\n  var Position = class _Position {\n    constructor(lineNumber, column) {\n      this.lineNumber = lineNumber;\n      this.column = column;\n    }\n    /**\n     * Create a new position from this position.\n     *\n     * @param newLineNumber new line number\n     * @param newColumn new column\n     */\n    with(newLineNumber = this.lineNumber, newColumn = this.column) {\n      if (newLineNumber === this.lineNumber && newColumn === this.column) {\n        return this;\n      } else {\n        return new _Position(newLineNumber, newColumn);\n      }\n    }\n    /**\n     * Derive a new position from this position.\n     *\n     * @param deltaLineNumber line number delta\n     * @param deltaColumn column delta\n     */\n    delta(deltaLineNumber = 0, deltaColumn = 0) {\n      return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\n    }\n    /**\n     * Test if this position equals other position\n     */\n    equals(other) {\n      return _Position.equals(this, other);\n    }\n    /**\n     * Test if position `a` equals position `b`\n     */\n    static equals(a2, b) {\n      if (!a2 && !b) {\n        return true;\n      }\n      return !!a2 && !!b && a2.lineNumber === b.lineNumber && a2.column === b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be false.\n     */\n    isBefore(other) {\n      return _Position.isBefore(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be false.\n     */\n    static isBefore(a2, b) {\n      if (a2.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a2.lineNumber) {\n        return false;\n      }\n      return a2.column < b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be true.\n     */\n    isBeforeOrEqual(other) {\n      return _Position.isBeforeOrEqual(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be true.\n     */\n    static isBeforeOrEqual(a2, b) {\n      if (a2.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a2.lineNumber) {\n        return false;\n      }\n      return a2.column <= b.column;\n    }\n    /**\n     * A function that compares positions, useful for sorting\n     */\n    static compare(a2, b) {\n      const aLineNumber = a2.lineNumber | 0;\n      const bLineNumber = b.lineNumber | 0;\n      if (aLineNumber === bLineNumber) {\n        const aColumn = a2.column | 0;\n        const bColumn = b.column | 0;\n        return aColumn - bColumn;\n      }\n      return aLineNumber - bLineNumber;\n    }\n    /**\n     * Clone this position.\n     */\n    clone() {\n      return new _Position(this.lineNumber, this.column);\n    }\n    /**\n     * Convert to a human-readable representation.\n     */\n    toString() {\n      return \"(\" + this.lineNumber + \",\" + this.column + \")\";\n    }\n    // ---\n    /**\n     * Create a `Position` from an `IPosition`.\n     */\n    static lift(pos) {\n      return new _Position(pos.lineNumber, pos.column);\n    }\n    /**\n     * Test if `obj` is an `IPosition`.\n     */\n    static isIPosition(obj) {\n      return obj && typeof obj.lineNumber === \"number\" && typeof obj.column === \"number\";\n    }\n    toJSON() {\n      return {\n        lineNumber: this.lineNumber,\n        column: this.column\n      };\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/range.js\n  var Range = class _Range {\n    constructor(startLineNumber, startColumn, endLineNumber, endColumn) {\n      if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {\n        this.startLineNumber = endLineNumber;\n        this.startColumn = endColumn;\n        this.endLineNumber = startLineNumber;\n        this.endColumn = startColumn;\n      } else {\n        this.startLineNumber = startLineNumber;\n        this.startColumn = startColumn;\n        this.endLineNumber = endLineNumber;\n        this.endColumn = endColumn;\n      }\n    }\n    /**\n     * Test if this range is empty.\n     */\n    isEmpty() {\n      return _Range.isEmpty(this);\n    }\n    /**\n     * Test if `range` is empty.\n     */\n    static isEmpty(range) {\n      return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn;\n    }\n    /**\n     * Test if position is in this range. If the position is at the edges, will return true.\n     */\n    containsPosition(position) {\n      return _Range.containsPosition(this, position);\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return true.\n     */\n    static containsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return false.\n     * @internal\n     */\n    static strictContainsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column <= range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if range is in this range. If the range is equal to this range, will return true.\n     */\n    containsRange(range) {\n      return _Range.containsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is in `range`. If the ranges are equal, will return true.\n     */\n    static containsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.\n     */\n    strictContainsRange(range) {\n      return _Range.strictContainsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false.\n     */\n    static strictContainsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    plusRange(range) {\n      return _Range.plusRange(this, range);\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    static plusRange(a2, b) {\n      let startLineNumber;\n      let startColumn;\n      let endLineNumber;\n      let endColumn;\n      if (b.startLineNumber < a2.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = b.startColumn;\n      } else if (b.startLineNumber === a2.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = Math.min(b.startColumn, a2.startColumn);\n      } else {\n        startLineNumber = a2.startLineNumber;\n        startColumn = a2.startColumn;\n      }\n      if (b.endLineNumber > a2.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = b.endColumn;\n      } else if (b.endLineNumber === a2.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = Math.max(b.endColumn, a2.endColumn);\n      } else {\n        endLineNumber = a2.endLineNumber;\n        endColumn = a2.endColumn;\n      }\n      return new _Range(startLineNumber, startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    intersectRanges(range) {\n      return _Range.intersectRanges(this, range);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    static intersectRanges(a2, b) {\n      let resultStartLineNumber = a2.startLineNumber;\n      let resultStartColumn = a2.startColumn;\n      let resultEndLineNumber = a2.endLineNumber;\n      let resultEndColumn = a2.endColumn;\n      const otherStartLineNumber = b.startLineNumber;\n      const otherStartColumn = b.startColumn;\n      const otherEndLineNumber = b.endLineNumber;\n      const otherEndColumn = b.endColumn;\n      if (resultStartLineNumber < otherStartLineNumber) {\n        resultStartLineNumber = otherStartLineNumber;\n        resultStartColumn = otherStartColumn;\n      } else if (resultStartLineNumber === otherStartLineNumber) {\n        resultStartColumn = Math.max(resultStartColumn, otherStartColumn);\n      }\n      if (resultEndLineNumber > otherEndLineNumber) {\n        resultEndLineNumber = otherEndLineNumber;\n        resultEndColumn = otherEndColumn;\n      } else if (resultEndLineNumber === otherEndLineNumber) {\n        resultEndColumn = Math.min(resultEndColumn, otherEndColumn);\n      }\n      if (resultStartLineNumber > resultEndLineNumber) {\n        return null;\n      }\n      if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) {\n        return null;\n      }\n      return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn);\n    }\n    /**\n     * Test if this range equals other.\n     */\n    equalsRange(other) {\n      return _Range.equalsRange(this, other);\n    }\n    /**\n     * Test if range `a` equals `b`.\n     */\n    static equalsRange(a2, b) {\n      if (!a2 && !b) {\n        return true;\n      }\n      return !!a2 && !!b && a2.startLineNumber === b.startLineNumber && a2.startColumn === b.startColumn && a2.endLineNumber === b.endLineNumber && a2.endColumn === b.endColumn;\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    getEndPosition() {\n      return _Range.getEndPosition(this);\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    static getEndPosition(range) {\n      return new Position(range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    getStartPosition() {\n      return _Range.getStartPosition(this);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    static getStartPosition(range) {\n      return new Position(range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Transform to a user presentable string representation.\n     */\n    toString() {\n      return \"[\" + this.startLineNumber + \",\" + this.startColumn + \" -> \" + this.endLineNumber + \",\" + this.endColumn + \"]\";\n    }\n    /**\n     * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    collapseToStart() {\n      return _Range.collapseToStart(this);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    static collapseToStart(range) {\n      return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    collapseToEnd() {\n      return _Range.collapseToEnd(this);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    static collapseToEnd(range) {\n      return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Moves the range by the given amount of lines.\n     */\n    delta(lineCount) {\n      return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn);\n    }\n    // ---\n    static fromPositions(start, end = start) {\n      return new _Range(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    static lift(range) {\n      if (!range) {\n        return null;\n      }\n      return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Test if `obj` is an `IRange`.\n     */\n    static isIRange(obj) {\n      return obj && typeof obj.startLineNumber === \"number\" && typeof obj.startColumn === \"number\" && typeof obj.endLineNumber === \"number\" && typeof obj.endColumn === \"number\";\n    }\n    /**\n     * Test if the two ranges are touching in any way.\n     */\n    static areIntersectingOrTouching(a2, b) {\n      if (a2.endLineNumber < b.startLineNumber || a2.endLineNumber === b.startLineNumber && a2.endColumn < b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a2.startLineNumber || b.endLineNumber === a2.startLineNumber && b.endColumn < a2.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if the two ranges are intersecting. If the ranges are touching it returns true.\n     */\n    static areIntersecting(a2, b) {\n      if (a2.endLineNumber < b.startLineNumber || a2.endLineNumber === b.startLineNumber && a2.endColumn <= b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a2.startLineNumber || b.endLineNumber === a2.startLineNumber && b.endColumn <= a2.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the startPosition and then on the endPosition\n     */\n    static compareRangesUsingStarts(a2, b) {\n      if (a2 && b) {\n        const aStartLineNumber = a2.startLineNumber | 0;\n        const bStartLineNumber = b.startLineNumber | 0;\n        if (aStartLineNumber === bStartLineNumber) {\n          const aStartColumn = a2.startColumn | 0;\n          const bStartColumn = b.startColumn | 0;\n          if (aStartColumn === bStartColumn) {\n            const aEndLineNumber = a2.endLineNumber | 0;\n            const bEndLineNumber = b.endLineNumber | 0;\n            if (aEndLineNumber === bEndLineNumber) {\n              const aEndColumn = a2.endColumn | 0;\n              const bEndColumn = b.endColumn | 0;\n              return aEndColumn - bEndColumn;\n            }\n            return aEndLineNumber - bEndLineNumber;\n          }\n          return aStartColumn - bStartColumn;\n        }\n        return aStartLineNumber - bStartLineNumber;\n      }\n      const aExists = a2 ? 1 : 0;\n      const bExists = b ? 1 : 0;\n      return aExists - bExists;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the endPosition and then on the startPosition\n     */\n    static compareRangesUsingEnds(a2, b) {\n      if (a2.endLineNumber === b.endLineNumber) {\n        if (a2.endColumn === b.endColumn) {\n          if (a2.startLineNumber === b.startLineNumber) {\n            return a2.startColumn - b.startColumn;\n          }\n          return a2.startLineNumber - b.startLineNumber;\n        }\n        return a2.endColumn - b.endColumn;\n      }\n      return a2.endLineNumber - b.endLineNumber;\n    }\n    /**\n     * Test if the range spans multiple lines.\n     */\n    static spansMultipleLines(range) {\n      return range.endLineNumber > range.startLineNumber;\n    }\n    toJSON() {\n      return this;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arrays.js\n  function equals(one, other, itemEquals = (a2, b) => a2 === b) {\n    if (one === other) {\n      return true;\n    }\n    if (!one || !other) {\n      return false;\n    }\n    if (one.length !== other.length) {\n      return false;\n    }\n    for (let i = 0, len = one.length; i < len; i++) {\n      if (!itemEquals(one[i], other[i])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function* groupAdjacentBy(items, shouldBeGrouped) {\n    let currentGroup;\n    let last;\n    for (const item of items) {\n      if (last !== void 0 && shouldBeGrouped(last, item)) {\n        currentGroup.push(item);\n      } else {\n        if (currentGroup) {\n          yield currentGroup;\n        }\n        currentGroup = [item];\n      }\n      last = item;\n    }\n    if (currentGroup) {\n      yield currentGroup;\n    }\n  }\n  function forEachAdjacent(arr, f2) {\n    for (let i = 0; i <= arr.length; i++) {\n      f2(i === 0 ? void 0 : arr[i - 1], i === arr.length ? void 0 : arr[i]);\n    }\n  }\n  function forEachWithNeighbors(arr, f2) {\n    for (let i = 0; i < arr.length; i++) {\n      f2(i === 0 ? void 0 : arr[i - 1], arr[i], i + 1 === arr.length ? void 0 : arr[i + 1]);\n    }\n  }\n  function pushMany(arr, items) {\n    for (const item of items) {\n      arr.push(item);\n    }\n  }\n  var CompareResult;\n  (function(CompareResult2) {\n    function isLessThan(result) {\n      return result < 0;\n    }\n    CompareResult2.isLessThan = isLessThan;\n    function isLessThanOrEqual(result) {\n      return result <= 0;\n    }\n    CompareResult2.isLessThanOrEqual = isLessThanOrEqual;\n    function isGreaterThan(result) {\n      return result > 0;\n    }\n    CompareResult2.isGreaterThan = isGreaterThan;\n    function isNeitherLessOrGreaterThan(result) {\n      return result === 0;\n    }\n    CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan;\n    CompareResult2.greaterThan = 1;\n    CompareResult2.lessThan = -1;\n    CompareResult2.neitherLessOrGreaterThan = 0;\n  })(CompareResult || (CompareResult = {}));\n  function compareBy(selector, comparator) {\n    return (a2, b) => comparator(selector(a2), selector(b));\n  }\n  var numberComparator = (a2, b) => a2 - b;\n  function reverseOrder(comparator) {\n    return (a2, b) => -comparator(a2, b);\n  }\n  var CallbackIterable = class _CallbackIterable {\n    constructor(iterate) {\n      this.iterate = iterate;\n    }\n    toArray() {\n      const result = [];\n      this.iterate((item) => {\n        result.push(item);\n        return true;\n      });\n      return result;\n    }\n    filter(predicate) {\n      return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true));\n    }\n    map(mapFn) {\n      return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item))));\n    }\n    findLast(predicate) {\n      let result;\n      this.iterate((item) => {\n        if (predicate(item)) {\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n    findLastMaxBy(comparator) {\n      let result;\n      let first = true;\n      this.iterate((item) => {\n        if (first || CompareResult.isGreaterThan(comparator(item, result))) {\n          first = false;\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n  };\n  CallbackIterable.empty = new CallbackIterable((_callback) => {\n  });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uint.js\n  function toUint8(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 255) {\n      return 255;\n    }\n    return v | 0;\n  }\n  function toUint32(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 4294967295) {\n      return 4294967295;\n    }\n    return v | 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js\n  var PrefixSumComputer = class {\n    constructor(values) {\n      this.values = values;\n      this.prefixSum = new Uint32Array(values.length);\n      this.prefixSumValidIndex = new Int32Array(1);\n      this.prefixSumValidIndex[0] = -1;\n    }\n    insertValues(insertIndex, insertValues) {\n      insertIndex = toUint32(insertIndex);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      const insertValuesLen = insertValues.length;\n      if (insertValuesLen === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length + insertValuesLen);\n      this.values.set(oldValues.subarray(0, insertIndex), 0);\n      this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen);\n      this.values.set(insertValues, insertIndex);\n      if (insertIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = insertIndex - 1;\n      }\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    setValue(index, value) {\n      index = toUint32(index);\n      value = toUint32(value);\n      if (this.values[index] === value) {\n        return false;\n      }\n      this.values[index] = value;\n      if (index - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = index - 1;\n      }\n      return true;\n    }\n    removeValues(startIndex, count) {\n      startIndex = toUint32(startIndex);\n      count = toUint32(count);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      if (startIndex >= oldValues.length) {\n        return false;\n      }\n      const maxCount = oldValues.length - startIndex;\n      if (count >= maxCount) {\n        count = maxCount;\n      }\n      if (count === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length - count);\n      this.values.set(oldValues.subarray(0, startIndex), 0);\n      this.values.set(oldValues.subarray(startIndex + count), startIndex);\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (startIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = startIndex - 1;\n      }\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    getTotalSum() {\n      if (this.values.length === 0) {\n        return 0;\n      }\n      return this._getPrefixSum(this.values.length - 1);\n    }\n    /**\n     * Returns the sum of the first `index + 1` many items.\n     * @returns `SUM(0 <= j <= index, values[j])`.\n     */\n    getPrefixSum(index) {\n      if (index < 0) {\n        return 0;\n      }\n      index = toUint32(index);\n      return this._getPrefixSum(index);\n    }\n    _getPrefixSum(index) {\n      if (index <= this.prefixSumValidIndex[0]) {\n        return this.prefixSum[index];\n      }\n      let startIndex = this.prefixSumValidIndex[0] + 1;\n      if (startIndex === 0) {\n        this.prefixSum[0] = this.values[0];\n        startIndex++;\n      }\n      if (index >= this.values.length) {\n        index = this.values.length - 1;\n      }\n      for (let i = startIndex; i <= index; i++) {\n        this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i];\n      }\n      this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index);\n      return this.prefixSum[index];\n    }\n    getIndexOf(sum) {\n      sum = Math.floor(sum);\n      this.getTotalSum();\n      let low = 0;\n      let high = this.values.length - 1;\n      let mid = 0;\n      let midStop = 0;\n      let midStart = 0;\n      while (low <= high) {\n        mid = low + (high - low) / 2 | 0;\n        midStop = this.prefixSum[mid];\n        midStart = midStop - this.values[mid];\n        if (sum < midStart) {\n          high = mid - 1;\n        } else if (sum >= midStop) {\n          low = mid + 1;\n        } else {\n          break;\n        }\n      }\n      return new PrefixSumIndexOfResult(mid, sum - midStart);\n    }\n  };\n  var PrefixSumIndexOfResult = class {\n    constructor(index, remainder) {\n      this.index = index;\n      this.remainder = remainder;\n      this._prefixSumIndexOfResultBrand = void 0;\n      this.index = index;\n      this.remainder = remainder;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js\n  var MirrorTextModel = class {\n    constructor(uri, lines, eol, versionId) {\n      this._uri = uri;\n      this._lines = lines;\n      this._eol = eol;\n      this._versionId = versionId;\n      this._lineStarts = null;\n      this._cachedTextValue = null;\n    }\n    dispose() {\n      this._lines.length = 0;\n    }\n    get version() {\n      return this._versionId;\n    }\n    getText() {\n      if (this._cachedTextValue === null) {\n        this._cachedTextValue = this._lines.join(this._eol);\n      }\n      return this._cachedTextValue;\n    }\n    onEvents(e) {\n      if (e.eol && e.eol !== this._eol) {\n        this._eol = e.eol;\n        this._lineStarts = null;\n      }\n      const changes = e.changes;\n      for (const change of changes) {\n        this._acceptDeleteRange(change.range);\n        this._acceptInsertText(new Position(change.range.startLineNumber, change.range.startColumn), change.text);\n      }\n      this._versionId = e.versionId;\n      this._cachedTextValue = null;\n    }\n    _ensureLineStarts() {\n      if (!this._lineStarts) {\n        const eolLength = this._eol.length;\n        const linesLength = this._lines.length;\n        const lineStartValues = new Uint32Array(linesLength);\n        for (let i = 0; i < linesLength; i++) {\n          lineStartValues[i] = this._lines[i].length + eolLength;\n        }\n        this._lineStarts = new PrefixSumComputer(lineStartValues);\n      }\n    }\n    /**\n     * All changes to a line's text go through this method\n     */\n    _setLineText(lineIndex, newValue) {\n      this._lines[lineIndex] = newValue;\n      if (this._lineStarts) {\n        this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length);\n      }\n    }\n    _acceptDeleteRange(range) {\n      if (range.startLineNumber === range.endLineNumber) {\n        if (range.startColumn === range.endColumn) {\n          return;\n        }\n        this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1));\n        return;\n      }\n      this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1));\n      this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      if (this._lineStarts) {\n        this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      }\n    }\n    _acceptInsertText(position, insertText) {\n      if (insertText.length === 0) {\n        return;\n      }\n      const insertLines = splitLines(insertText);\n      if (insertLines.length === 1) {\n        this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0] + this._lines[position.lineNumber - 1].substring(position.column - 1));\n        return;\n      }\n      insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1);\n      this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0]);\n      const newLengths = new Uint32Array(insertLines.length - 1);\n      for (let i = 1; i < insertLines.length; i++) {\n        this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]);\n        newLengths[i - 1] = insertLines[i].length + this._eol.length;\n      }\n      if (this._lineStarts) {\n        this._lineStarts.insertValues(position.lineNumber, newLengths);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js\n  var USUAL_WORD_SEPARATORS = \"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";\n  function createWordRegExp(allowInWords = \"\") {\n    let source = \"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";\n    for (const sep2 of USUAL_WORD_SEPARATORS) {\n      if (allowInWords.indexOf(sep2) >= 0) {\n        continue;\n      }\n      source += \"\\\\\" + sep2;\n    }\n    source += \"\\\\s]+)\";\n    return new RegExp(source, \"g\");\n  }\n  var DEFAULT_WORD_REGEXP = createWordRegExp();\n  function ensureValidWordDefinition(wordDefinition) {\n    let result = DEFAULT_WORD_REGEXP;\n    if (wordDefinition && wordDefinition instanceof RegExp) {\n      if (!wordDefinition.global) {\n        let flags = \"g\";\n        if (wordDefinition.ignoreCase) {\n          flags += \"i\";\n        }\n        if (wordDefinition.multiline) {\n          flags += \"m\";\n        }\n        if (wordDefinition.unicode) {\n          flags += \"u\";\n        }\n        result = new RegExp(wordDefinition.source, flags);\n      } else {\n        result = wordDefinition;\n      }\n    }\n    result.lastIndex = 0;\n    return result;\n  }\n  var _defaultConfig = new LinkedList();\n  _defaultConfig.unshift({\n    maxLen: 1e3,\n    windowSize: 15,\n    timeBudget: 150\n  });\n  function getWordAtText(column, wordDefinition, text, textOffset, config) {\n    wordDefinition = ensureValidWordDefinition(wordDefinition);\n    if (!config) {\n      config = Iterable.first(_defaultConfig);\n    }\n    if (text.length > config.maxLen) {\n      let start = column - config.maxLen / 2;\n      if (start < 0) {\n        start = 0;\n      } else {\n        textOffset += start;\n      }\n      text = text.substring(start, column + config.maxLen / 2);\n      return getWordAtText(column, wordDefinition, text, textOffset, config);\n    }\n    const t1 = Date.now();\n    const pos = column - 1 - textOffset;\n    let prevRegexIndex = -1;\n    let match = null;\n    for (let i = 1; ; i++) {\n      if (Date.now() - t1 >= config.timeBudget) {\n        break;\n      }\n      const regexIndex = pos - config.windowSize * i;\n      wordDefinition.lastIndex = Math.max(0, regexIndex);\n      const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex);\n      if (!thisMatch && match) {\n        break;\n      }\n      match = thisMatch;\n      if (regexIndex <= 0) {\n        break;\n      }\n      prevRegexIndex = regexIndex;\n    }\n    if (match) {\n      const result = {\n        word: match[0],\n        startColumn: textOffset + 1 + match.index,\n        endColumn: textOffset + 1 + match.index + match[0].length\n      };\n      wordDefinition.lastIndex = 0;\n      return result;\n    }\n    return null;\n  }\n  function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {\n    let match;\n    while (match = wordDefinition.exec(text)) {\n      const matchIndex = match.index || 0;\n      if (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\n        return match;\n      } else if (stopPos > 0 && matchIndex > stopPos) {\n        return null;\n      }\n    }\n    return null;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js\n  var CharacterClassifier = class _CharacterClassifier {\n    constructor(_defaultValue) {\n      const defaultValue = toUint8(_defaultValue);\n      this._defaultValue = defaultValue;\n      this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue);\n      this._map = /* @__PURE__ */ new Map();\n    }\n    static _createAsciiMap(defaultValue) {\n      const asciiMap = new Uint8Array(256);\n      asciiMap.fill(defaultValue);\n      return asciiMap;\n    }\n    set(charCode, _value) {\n      const value = toUint8(_value);\n      if (charCode >= 0 && charCode < 256) {\n        this._asciiMap[charCode] = value;\n      } else {\n        this._map.set(charCode, value);\n      }\n    }\n    get(charCode) {\n      if (charCode >= 0 && charCode < 256) {\n        return this._asciiMap[charCode];\n      } else {\n        return this._map.get(charCode) || this._defaultValue;\n      }\n    }\n    clear() {\n      this._asciiMap.fill(this._defaultValue);\n      this._map.clear();\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js\n  var Uint8Matrix = class {\n    constructor(rows, cols, defaultValue) {\n      const data = new Uint8Array(rows * cols);\n      for (let i = 0, len = rows * cols; i < len; i++) {\n        data[i] = defaultValue;\n      }\n      this._data = data;\n      this.rows = rows;\n      this.cols = cols;\n    }\n    get(row, col) {\n      return this._data[row * this.cols + col];\n    }\n    set(row, col, value) {\n      this._data[row * this.cols + col] = value;\n    }\n  };\n  var StateMachine = class {\n    constructor(edges) {\n      let maxCharCode = 0;\n      let maxState = 0;\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        if (chCode > maxCharCode) {\n          maxCharCode = chCode;\n        }\n        if (from > maxState) {\n          maxState = from;\n        }\n        if (to > maxState) {\n          maxState = to;\n        }\n      }\n      maxCharCode++;\n      maxState++;\n      const states = new Uint8Matrix(\n        maxState,\n        maxCharCode,\n        0\n        /* State.Invalid */\n      );\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        states.set(from, chCode, to);\n      }\n      this._states = states;\n      this._maxCharCode = maxCharCode;\n    }\n    nextState(currentState, chCode) {\n      if (chCode < 0 || chCode >= this._maxCharCode) {\n        return 0;\n      }\n      return this._states.get(currentState, chCode);\n    }\n  };\n  var _stateMachine = null;\n  function getStateMachine() {\n    if (_stateMachine === null) {\n      _stateMachine = new StateMachine([\n        [\n          1,\n          104,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          72,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          102,\n          6\n          /* State.F */\n        ],\n        [\n          1,\n          70,\n          6\n          /* State.F */\n        ],\n        [\n          2,\n          116,\n          3\n          /* State.HT */\n        ],\n        [\n          2,\n          84,\n          3\n          /* State.HT */\n        ],\n        [\n          3,\n          116,\n          4\n          /* State.HTT */\n        ],\n        [\n          3,\n          84,\n          4\n          /* State.HTT */\n        ],\n        [\n          4,\n          112,\n          5\n          /* State.HTTP */\n        ],\n        [\n          4,\n          80,\n          5\n          /* State.HTTP */\n        ],\n        [\n          5,\n          115,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          83,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          6,\n          105,\n          7\n          /* State.FI */\n        ],\n        [\n          6,\n          73,\n          7\n          /* State.FI */\n        ],\n        [\n          7,\n          108,\n          8\n          /* State.FIL */\n        ],\n        [\n          7,\n          76,\n          8\n          /* State.FIL */\n        ],\n        [\n          8,\n          101,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          8,\n          69,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          9,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          10,\n          47,\n          11\n          /* State.AlmostThere */\n        ],\n        [\n          11,\n          47,\n          12\n          /* State.End */\n        ]\n      ]);\n    }\n    return _stateMachine;\n  }\n  var _classifier = null;\n  function getClassifier() {\n    if (_classifier === null) {\n      _classifier = new CharacterClassifier(\n        0\n        /* CharacterClass.None */\n      );\n      const FORCE_TERMINATION_CHARACTERS = ` \t<>'\"\\u3001\\u3002\\uFF61\\uFF64\\uFF0C\\uFF0E\\uFF1A\\uFF1B\\u2018\\u3008\\u300C\\u300E\\u3014\\uFF08\\uFF3B\\uFF5B\\uFF62\\uFF63\\uFF5D\\uFF3D\\uFF09\\u3015\\u300F\\u300D\\u3009\\u2019\\uFF40\\uFF5E\\u2026`;\n      for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) {\n        _classifier.set(\n          FORCE_TERMINATION_CHARACTERS.charCodeAt(i),\n          1\n          /* CharacterClass.ForceTermination */\n        );\n      }\n      const CANNOT_END_WITH_CHARACTERS = \".,;:\";\n      for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) {\n        _classifier.set(\n          CANNOT_END_WITH_CHARACTERS.charCodeAt(i),\n          2\n          /* CharacterClass.CannotEndIn */\n        );\n      }\n    }\n    return _classifier;\n  }\n  var LinkComputer = class _LinkComputer {\n    static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) {\n      let lastIncludedCharIndex = linkEndIndex - 1;\n      do {\n        const chCode = line.charCodeAt(lastIncludedCharIndex);\n        const chClass = classifier.get(chCode);\n        if (chClass !== 2) {\n          break;\n        }\n        lastIncludedCharIndex--;\n      } while (lastIncludedCharIndex > linkBeginIndex);\n      if (linkBeginIndex > 0) {\n        const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);\n        const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);\n        if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) {\n          lastIncludedCharIndex--;\n        }\n      }\n      return {\n        range: {\n          startLineNumber: lineNumber,\n          startColumn: linkBeginIndex + 1,\n          endLineNumber: lineNumber,\n          endColumn: lastIncludedCharIndex + 2\n        },\n        url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1)\n      };\n    }\n    static computeLinks(model, stateMachine = getStateMachine()) {\n      const classifier = getClassifier();\n      const result = [];\n      for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) {\n        const line = model.getLineContent(i);\n        const len = line.length;\n        let j = 0;\n        let linkBeginIndex = 0;\n        let linkBeginChCode = 0;\n        let state = 1;\n        let hasOpenParens = false;\n        let hasOpenSquareBracket = false;\n        let inSquareBrackets = false;\n        let hasOpenCurlyBracket = false;\n        while (j < len) {\n          let resetStateMachine = false;\n          const chCode = line.charCodeAt(j);\n          if (state === 13) {\n            let chClass;\n            switch (chCode) {\n              case 40:\n                hasOpenParens = true;\n                chClass = 0;\n                break;\n              case 41:\n                chClass = hasOpenParens ? 0 : 1;\n                break;\n              case 91:\n                inSquareBrackets = true;\n                hasOpenSquareBracket = true;\n                chClass = 0;\n                break;\n              case 93:\n                inSquareBrackets = false;\n                chClass = hasOpenSquareBracket ? 0 : 1;\n                break;\n              case 123:\n                hasOpenCurlyBracket = true;\n                chClass = 0;\n                break;\n              case 125:\n                chClass = hasOpenCurlyBracket ? 0 : 1;\n                break;\n              case 39:\n              case 34:\n              case 96:\n                if (linkBeginChCode === chCode) {\n                  chClass = 1;\n                } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) {\n                  chClass = 0;\n                } else {\n                  chClass = 1;\n                }\n                break;\n              case 42:\n                chClass = linkBeginChCode === 42 ? 1 : 0;\n                break;\n              case 124:\n                chClass = linkBeginChCode === 124 ? 1 : 0;\n                break;\n              case 32:\n                chClass = inSquareBrackets ? 0 : 1;\n                break;\n              default:\n                chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j));\n              resetStateMachine = true;\n            }\n          } else if (state === 12) {\n            let chClass;\n            if (chCode === 91) {\n              hasOpenSquareBracket = true;\n              chClass = 0;\n            } else {\n              chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              resetStateMachine = true;\n            } else {\n              state = 13;\n            }\n          } else {\n            state = stateMachine.nextState(state, chCode);\n            if (state === 0) {\n              resetStateMachine = true;\n            }\n          }\n          if (resetStateMachine) {\n            state = 1;\n            hasOpenParens = false;\n            hasOpenSquareBracket = false;\n            hasOpenCurlyBracket = false;\n            linkBeginIndex = j + 1;\n            linkBeginChCode = chCode;\n          }\n          j++;\n        }\n        if (state === 13) {\n          result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len));\n        }\n      }\n      return result;\n    }\n  };\n  function computeLinks(model) {\n    if (!model || typeof model.getLineCount !== \"function\" || typeof model.getLineContent !== \"function\") {\n      return [];\n    }\n    return LinkComputer.computeLinks(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js\n  var BasicInplaceReplace = class {\n    constructor() {\n      this._defaultValueSet = [\n        [\"true\", \"false\"],\n        [\"True\", \"False\"],\n        [\"Private\", \"Public\", \"Friend\", \"ReadOnly\", \"Partial\", \"Protected\", \"WriteOnly\"],\n        [\"public\", \"protected\", \"private\"]\n      ];\n    }\n    navigateValueSet(range1, text1, range2, text2, up) {\n      if (range1 && text1) {\n        const result = this.doNavigateValueSet(text1, up);\n        if (result) {\n          return {\n            range: range1,\n            value: result\n          };\n        }\n      }\n      if (range2 && text2) {\n        const result = this.doNavigateValueSet(text2, up);\n        if (result) {\n          return {\n            range: range2,\n            value: result\n          };\n        }\n      }\n      return null;\n    }\n    doNavigateValueSet(text, up) {\n      const numberResult = this.numberReplace(text, up);\n      if (numberResult !== null) {\n        return numberResult;\n      }\n      return this.textReplace(text, up);\n    }\n    numberReplace(value, up) {\n      const precision = Math.pow(10, value.length - (value.lastIndexOf(\".\") + 1));\n      let n1 = Number(value);\n      const n2 = parseFloat(value);\n      if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\n        if (n1 === 0 && !up) {\n          return null;\n        } else {\n          n1 = Math.floor(n1 * precision);\n          n1 += up ? precision : -precision;\n          return String(n1 / precision);\n        }\n      }\n      return null;\n    }\n    textReplace(value, up) {\n      return this.valueSetsReplace(this._defaultValueSet, value, up);\n    }\n    valueSetsReplace(valueSets, value, up) {\n      let result = null;\n      for (let i = 0, len = valueSets.length; result === null && i < len; i++) {\n        result = this.valueSetReplace(valueSets[i], value, up);\n      }\n      return result;\n    }\n    valueSetReplace(valueSet, value, up) {\n      let idx = valueSet.indexOf(value);\n      if (idx >= 0) {\n        idx += up ? 1 : -1;\n        if (idx < 0) {\n          idx = valueSet.length - 1;\n        } else {\n          idx %= valueSet.length;\n        }\n        return valueSet[idx];\n      }\n      return null;\n    }\n  };\n  BasicInplaceReplace.INSTANCE = new BasicInplaceReplace();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cancellation.js\n  var shortcutEvent = Object.freeze(function(callback, context) {\n    const handle = setTimeout(callback.bind(context), 0);\n    return { dispose() {\n      clearTimeout(handle);\n    } };\n  });\n  var CancellationToken;\n  (function(CancellationToken2) {\n    function isCancellationToken(thing) {\n      if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) {\n        return true;\n      }\n      if (thing instanceof MutableToken) {\n        return true;\n      }\n      if (!thing || typeof thing !== \"object\") {\n        return false;\n      }\n      return typeof thing.isCancellationRequested === \"boolean\" && typeof thing.onCancellationRequested === \"function\";\n    }\n    CancellationToken2.isCancellationToken = isCancellationToken;\n    CancellationToken2.None = Object.freeze({\n      isCancellationRequested: false,\n      onCancellationRequested: Event.None\n    });\n    CancellationToken2.Cancelled = Object.freeze({\n      isCancellationRequested: true,\n      onCancellationRequested: shortcutEvent\n    });\n  })(CancellationToken || (CancellationToken = {}));\n  var MutableToken = class {\n    constructor() {\n      this._isCancelled = false;\n      this._emitter = null;\n    }\n    cancel() {\n      if (!this._isCancelled) {\n        this._isCancelled = true;\n        if (this._emitter) {\n          this._emitter.fire(void 0);\n          this.dispose();\n        }\n      }\n    }\n    get isCancellationRequested() {\n      return this._isCancelled;\n    }\n    get onCancellationRequested() {\n      if (this._isCancelled) {\n        return shortcutEvent;\n      }\n      if (!this._emitter) {\n        this._emitter = new Emitter();\n      }\n      return this._emitter.event;\n    }\n    dispose() {\n      if (this._emitter) {\n        this._emitter.dispose();\n        this._emitter = null;\n      }\n    }\n  };\n  var CancellationTokenSource = class {\n    constructor(parent) {\n      this._token = void 0;\n      this._parentListener = void 0;\n      this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);\n    }\n    get token() {\n      if (!this._token) {\n        this._token = new MutableToken();\n      }\n      return this._token;\n    }\n    cancel() {\n      if (!this._token) {\n        this._token = CancellationToken.Cancelled;\n      } else if (this._token instanceof MutableToken) {\n        this._token.cancel();\n      }\n    }\n    dispose(cancel = false) {\n      var _a4;\n      if (cancel) {\n        this.cancel();\n      }\n      (_a4 = this._parentListener) === null || _a4 === void 0 ? void 0 : _a4.dispose();\n      if (!this._token) {\n        this._token = CancellationToken.None;\n      } else if (this._token instanceof MutableToken) {\n        this._token.dispose();\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/keyCodes.js\n  var KeyCodeStrMap = class {\n    constructor() {\n      this._keyCodeToStr = [];\n      this._strToKeyCode = /* @__PURE__ */ Object.create(null);\n    }\n    define(keyCode, str) {\n      this._keyCodeToStr[keyCode] = str;\n      this._strToKeyCode[str.toLowerCase()] = keyCode;\n    }\n    keyCodeToStr(keyCode) {\n      return this._keyCodeToStr[keyCode];\n    }\n    strToKeyCode(str) {\n      return this._strToKeyCode[str.toLowerCase()] || 0;\n    }\n  };\n  var uiMap = new KeyCodeStrMap();\n  var userSettingsUSMap = new KeyCodeStrMap();\n  var userSettingsGeneralMap = new KeyCodeStrMap();\n  var EVENT_KEY_CODE_MAP = new Array(230);\n  var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {};\n  var scanCodeIntToStr = [];\n  var scanCodeStrToInt = /* @__PURE__ */ Object.create(null);\n  var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null);\n  var IMMUTABLE_CODE_TO_KEY_CODE = [];\n  var IMMUTABLE_KEY_CODE_TO_CODE = [];\n  for (let i = 0; i <= 193; i++) {\n    IMMUTABLE_CODE_TO_KEY_CODE[i] = -1;\n  }\n  for (let i = 0; i <= 132; i++) {\n    IMMUTABLE_KEY_CODE_TO_CODE[i] = -1;\n  }\n  (function() {\n    const empty = \"\";\n    const mappings = [\n      // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel\n      [1, 0, \"None\", 0, \"unknown\", 0, \"VK_UNKNOWN\", empty, empty],\n      [1, 1, \"Hyper\", 0, empty, 0, empty, empty, empty],\n      [1, 2, \"Super\", 0, empty, 0, empty, empty, empty],\n      [1, 3, \"Fn\", 0, empty, 0, empty, empty, empty],\n      [1, 4, \"FnLock\", 0, empty, 0, empty, empty, empty],\n      [1, 5, \"Suspend\", 0, empty, 0, empty, empty, empty],\n      [1, 6, \"Resume\", 0, empty, 0, empty, empty, empty],\n      [1, 7, \"Turbo\", 0, empty, 0, empty, empty, empty],\n      [1, 8, \"Sleep\", 0, empty, 0, \"VK_SLEEP\", empty, empty],\n      [1, 9, \"WakeUp\", 0, empty, 0, empty, empty, empty],\n      [0, 10, \"KeyA\", 31, \"A\", 65, \"VK_A\", empty, empty],\n      [0, 11, \"KeyB\", 32, \"B\", 66, \"VK_B\", empty, empty],\n      [0, 12, \"KeyC\", 33, \"C\", 67, \"VK_C\", empty, empty],\n      [0, 13, \"KeyD\", 34, \"D\", 68, \"VK_D\", empty, empty],\n      [0, 14, \"KeyE\", 35, \"E\", 69, \"VK_E\", empty, empty],\n      [0, 15, \"KeyF\", 36, \"F\", 70, \"VK_F\", empty, empty],\n      [0, 16, \"KeyG\", 37, \"G\", 71, \"VK_G\", empty, empty],\n      [0, 17, \"KeyH\", 38, \"H\", 72, \"VK_H\", empty, empty],\n      [0, 18, \"KeyI\", 39, \"I\", 73, \"VK_I\", empty, empty],\n      [0, 19, \"KeyJ\", 40, \"J\", 74, \"VK_J\", empty, empty],\n      [0, 20, \"KeyK\", 41, \"K\", 75, \"VK_K\", empty, empty],\n      [0, 21, \"KeyL\", 42, \"L\", 76, \"VK_L\", empty, empty],\n      [0, 22, \"KeyM\", 43, \"M\", 77, \"VK_M\", empty, empty],\n      [0, 23, \"KeyN\", 44, \"N\", 78, \"VK_N\", empty, empty],\n      [0, 24, \"KeyO\", 45, \"O\", 79, \"VK_O\", empty, empty],\n      [0, 25, \"KeyP\", 46, \"P\", 80, \"VK_P\", empty, empty],\n      [0, 26, \"KeyQ\", 47, \"Q\", 81, \"VK_Q\", empty, empty],\n      [0, 27, \"KeyR\", 48, \"R\", 82, \"VK_R\", empty, empty],\n      [0, 28, \"KeyS\", 49, \"S\", 83, \"VK_S\", empty, empty],\n      [0, 29, \"KeyT\", 50, \"T\", 84, \"VK_T\", empty, empty],\n      [0, 30, \"KeyU\", 51, \"U\", 85, \"VK_U\", empty, empty],\n      [0, 31, \"KeyV\", 52, \"V\", 86, \"VK_V\", empty, empty],\n      [0, 32, \"KeyW\", 53, \"W\", 87, \"VK_W\", empty, empty],\n      [0, 33, \"KeyX\", 54, \"X\", 88, \"VK_X\", empty, empty],\n      [0, 34, \"KeyY\", 55, \"Y\", 89, \"VK_Y\", empty, empty],\n      [0, 35, \"KeyZ\", 56, \"Z\", 90, \"VK_Z\", empty, empty],\n      [0, 36, \"Digit1\", 22, \"1\", 49, \"VK_1\", empty, empty],\n      [0, 37, \"Digit2\", 23, \"2\", 50, \"VK_2\", empty, empty],\n      [0, 38, \"Digit3\", 24, \"3\", 51, \"VK_3\", empty, empty],\n      [0, 39, \"Digit4\", 25, \"4\", 52, \"VK_4\", empty, empty],\n      [0, 40, \"Digit5\", 26, \"5\", 53, \"VK_5\", empty, empty],\n      [0, 41, \"Digit6\", 27, \"6\", 54, \"VK_6\", empty, empty],\n      [0, 42, \"Digit7\", 28, \"7\", 55, \"VK_7\", empty, empty],\n      [0, 43, \"Digit8\", 29, \"8\", 56, \"VK_8\", empty, empty],\n      [0, 44, \"Digit9\", 30, \"9\", 57, \"VK_9\", empty, empty],\n      [0, 45, \"Digit0\", 21, \"0\", 48, \"VK_0\", empty, empty],\n      [1, 46, \"Enter\", 3, \"Enter\", 13, \"VK_RETURN\", empty, empty],\n      [1, 47, \"Escape\", 9, \"Escape\", 27, \"VK_ESCAPE\", empty, empty],\n      [1, 48, \"Backspace\", 1, \"Backspace\", 8, \"VK_BACK\", empty, empty],\n      [1, 49, \"Tab\", 2, \"Tab\", 9, \"VK_TAB\", empty, empty],\n      [1, 50, \"Space\", 10, \"Space\", 32, \"VK_SPACE\", empty, empty],\n      [0, 51, \"Minus\", 88, \"-\", 189, \"VK_OEM_MINUS\", \"-\", \"OEM_MINUS\"],\n      [0, 52, \"Equal\", 86, \"=\", 187, \"VK_OEM_PLUS\", \"=\", \"OEM_PLUS\"],\n      [0, 53, \"BracketLeft\", 92, \"[\", 219, \"VK_OEM_4\", \"[\", \"OEM_4\"],\n      [0, 54, \"BracketRight\", 94, \"]\", 221, \"VK_OEM_6\", \"]\", \"OEM_6\"],\n      [0, 55, \"Backslash\", 93, \"\\\\\", 220, \"VK_OEM_5\", \"\\\\\", \"OEM_5\"],\n      [0, 56, \"IntlHash\", 0, empty, 0, empty, empty, empty],\n      // has been dropped from the w3c spec\n      [0, 57, \"Semicolon\", 85, \";\", 186, \"VK_OEM_1\", \";\", \"OEM_1\"],\n      [0, 58, \"Quote\", 95, \"'\", 222, \"VK_OEM_7\", \"'\", \"OEM_7\"],\n      [0, 59, \"Backquote\", 91, \"`\", 192, \"VK_OEM_3\", \"`\", \"OEM_3\"],\n      [0, 60, \"Comma\", 87, \",\", 188, \"VK_OEM_COMMA\", \",\", \"OEM_COMMA\"],\n      [0, 61, \"Period\", 89, \".\", 190, \"VK_OEM_PERIOD\", \".\", \"OEM_PERIOD\"],\n      [0, 62, \"Slash\", 90, \"/\", 191, \"VK_OEM_2\", \"/\", \"OEM_2\"],\n      [1, 63, \"CapsLock\", 8, \"CapsLock\", 20, \"VK_CAPITAL\", empty, empty],\n      [1, 64, \"F1\", 59, \"F1\", 112, \"VK_F1\", empty, empty],\n      [1, 65, \"F2\", 60, \"F2\", 113, \"VK_F2\", empty, empty],\n      [1, 66, \"F3\", 61, \"F3\", 114, \"VK_F3\", empty, empty],\n      [1, 67, \"F4\", 62, \"F4\", 115, \"VK_F4\", empty, empty],\n      [1, 68, \"F5\", 63, \"F5\", 116, \"VK_F5\", empty, empty],\n      [1, 69, \"F6\", 64, \"F6\", 117, \"VK_F6\", empty, empty],\n      [1, 70, \"F7\", 65, \"F7\", 118, \"VK_F7\", empty, empty],\n      [1, 71, \"F8\", 66, \"F8\", 119, \"VK_F8\", empty, empty],\n      [1, 72, \"F9\", 67, \"F9\", 120, \"VK_F9\", empty, empty],\n      [1, 73, \"F10\", 68, \"F10\", 121, \"VK_F10\", empty, empty],\n      [1, 74, \"F11\", 69, \"F11\", 122, \"VK_F11\", empty, empty],\n      [1, 75, \"F12\", 70, \"F12\", 123, \"VK_F12\", empty, empty],\n      [1, 76, \"PrintScreen\", 0, empty, 0, empty, empty, empty],\n      [1, 77, \"ScrollLock\", 84, \"ScrollLock\", 145, \"VK_SCROLL\", empty, empty],\n      [1, 78, \"Pause\", 7, \"PauseBreak\", 19, \"VK_PAUSE\", empty, empty],\n      [1, 79, \"Insert\", 19, \"Insert\", 45, \"VK_INSERT\", empty, empty],\n      [1, 80, \"Home\", 14, \"Home\", 36, \"VK_HOME\", empty, empty],\n      [1, 81, \"PageUp\", 11, \"PageUp\", 33, \"VK_PRIOR\", empty, empty],\n      [1, 82, \"Delete\", 20, \"Delete\", 46, \"VK_DELETE\", empty, empty],\n      [1, 83, \"End\", 13, \"End\", 35, \"VK_END\", empty, empty],\n      [1, 84, \"PageDown\", 12, \"PageDown\", 34, \"VK_NEXT\", empty, empty],\n      [1, 85, \"ArrowRight\", 17, \"RightArrow\", 39, \"VK_RIGHT\", \"Right\", empty],\n      [1, 86, \"ArrowLeft\", 15, \"LeftArrow\", 37, \"VK_LEFT\", \"Left\", empty],\n      [1, 87, \"ArrowDown\", 18, \"DownArrow\", 40, \"VK_DOWN\", \"Down\", empty],\n      [1, 88, \"ArrowUp\", 16, \"UpArrow\", 38, \"VK_UP\", \"Up\", empty],\n      [1, 89, \"NumLock\", 83, \"NumLock\", 144, \"VK_NUMLOCK\", empty, empty],\n      [1, 90, \"NumpadDivide\", 113, \"NumPad_Divide\", 111, \"VK_DIVIDE\", empty, empty],\n      [1, 91, \"NumpadMultiply\", 108, \"NumPad_Multiply\", 106, \"VK_MULTIPLY\", empty, empty],\n      [1, 92, \"NumpadSubtract\", 111, \"NumPad_Subtract\", 109, \"VK_SUBTRACT\", empty, empty],\n      [1, 93, \"NumpadAdd\", 109, \"NumPad_Add\", 107, \"VK_ADD\", empty, empty],\n      [1, 94, \"NumpadEnter\", 3, empty, 0, empty, empty, empty],\n      [1, 95, \"Numpad1\", 99, \"NumPad1\", 97, \"VK_NUMPAD1\", empty, empty],\n      [1, 96, \"Numpad2\", 100, \"NumPad2\", 98, \"VK_NUMPAD2\", empty, empty],\n      [1, 97, \"Numpad3\", 101, \"NumPad3\", 99, \"VK_NUMPAD3\", empty, empty],\n      [1, 98, \"Numpad4\", 102, \"NumPad4\", 100, \"VK_NUMPAD4\", empty, empty],\n      [1, 99, \"Numpad5\", 103, \"NumPad5\", 101, \"VK_NUMPAD5\", empty, empty],\n      [1, 100, \"Numpad6\", 104, \"NumPad6\", 102, \"VK_NUMPAD6\", empty, empty],\n      [1, 101, \"Numpad7\", 105, \"NumPad7\", 103, \"VK_NUMPAD7\", empty, empty],\n      [1, 102, \"Numpad8\", 106, \"NumPad8\", 104, \"VK_NUMPAD8\", empty, empty],\n      [1, 103, \"Numpad9\", 107, \"NumPad9\", 105, \"VK_NUMPAD9\", empty, empty],\n      [1, 104, \"Numpad0\", 98, \"NumPad0\", 96, \"VK_NUMPAD0\", empty, empty],\n      [1, 105, \"NumpadDecimal\", 112, \"NumPad_Decimal\", 110, \"VK_DECIMAL\", empty, empty],\n      [0, 106, \"IntlBackslash\", 97, \"OEM_102\", 226, \"VK_OEM_102\", empty, empty],\n      [1, 107, \"ContextMenu\", 58, \"ContextMenu\", 93, empty, empty, empty],\n      [1, 108, \"Power\", 0, empty, 0, empty, empty, empty],\n      [1, 109, \"NumpadEqual\", 0, empty, 0, empty, empty, empty],\n      [1, 110, \"F13\", 71, \"F13\", 124, \"VK_F13\", empty, empty],\n      [1, 111, \"F14\", 72, \"F14\", 125, \"VK_F14\", empty, empty],\n      [1, 112, \"F15\", 73, \"F15\", 126, \"VK_F15\", empty, empty],\n      [1, 113, \"F16\", 74, \"F16\", 127, \"VK_F16\", empty, empty],\n      [1, 114, \"F17\", 75, \"F17\", 128, \"VK_F17\", empty, empty],\n      [1, 115, \"F18\", 76, \"F18\", 129, \"VK_F18\", empty, empty],\n      [1, 116, \"F19\", 77, \"F19\", 130, \"VK_F19\", empty, empty],\n      [1, 117, \"F20\", 78, \"F20\", 131, \"VK_F20\", empty, empty],\n      [1, 118, \"F21\", 79, \"F21\", 132, \"VK_F21\", empty, empty],\n      [1, 119, \"F22\", 80, \"F22\", 133, \"VK_F22\", empty, empty],\n      [1, 120, \"F23\", 81, \"F23\", 134, \"VK_F23\", empty, empty],\n      [1, 121, \"F24\", 82, \"F24\", 135, \"VK_F24\", empty, empty],\n      [1, 122, \"Open\", 0, empty, 0, empty, empty, empty],\n      [1, 123, \"Help\", 0, empty, 0, empty, empty, empty],\n      [1, 124, \"Select\", 0, empty, 0, empty, empty, empty],\n      [1, 125, \"Again\", 0, empty, 0, empty, empty, empty],\n      [1, 126, \"Undo\", 0, empty, 0, empty, empty, empty],\n      [1, 127, \"Cut\", 0, empty, 0, empty, empty, empty],\n      [1, 128, \"Copy\", 0, empty, 0, empty, empty, empty],\n      [1, 129, \"Paste\", 0, empty, 0, empty, empty, empty],\n      [1, 130, \"Find\", 0, empty, 0, empty, empty, empty],\n      [1, 131, \"AudioVolumeMute\", 117, \"AudioVolumeMute\", 173, \"VK_VOLUME_MUTE\", empty, empty],\n      [1, 132, \"AudioVolumeUp\", 118, \"AudioVolumeUp\", 175, \"VK_VOLUME_UP\", empty, empty],\n      [1, 133, \"AudioVolumeDown\", 119, \"AudioVolumeDown\", 174, \"VK_VOLUME_DOWN\", empty, empty],\n      [1, 134, \"NumpadComma\", 110, \"NumPad_Separator\", 108, \"VK_SEPARATOR\", empty, empty],\n      [0, 135, \"IntlRo\", 115, \"ABNT_C1\", 193, \"VK_ABNT_C1\", empty, empty],\n      [1, 136, \"KanaMode\", 0, empty, 0, empty, empty, empty],\n      [0, 137, \"IntlYen\", 0, empty, 0, empty, empty, empty],\n      [1, 138, \"Convert\", 0, empty, 0, empty, empty, empty],\n      [1, 139, \"NonConvert\", 0, empty, 0, empty, empty, empty],\n      [1, 140, \"Lang1\", 0, empty, 0, empty, empty, empty],\n      [1, 141, \"Lang2\", 0, empty, 0, empty, empty, empty],\n      [1, 142, \"Lang3\", 0, empty, 0, empty, empty, empty],\n      [1, 143, \"Lang4\", 0, empty, 0, empty, empty, empty],\n      [1, 144, \"Lang5\", 0, empty, 0, empty, empty, empty],\n      [1, 145, \"Abort\", 0, empty, 0, empty, empty, empty],\n      [1, 146, \"Props\", 0, empty, 0, empty, empty, empty],\n      [1, 147, \"NumpadParenLeft\", 0, empty, 0, empty, empty, empty],\n      [1, 148, \"NumpadParenRight\", 0, empty, 0, empty, empty, empty],\n      [1, 149, \"NumpadBackspace\", 0, empty, 0, empty, empty, empty],\n      [1, 150, \"NumpadMemoryStore\", 0, empty, 0, empty, empty, empty],\n      [1, 151, \"NumpadMemoryRecall\", 0, empty, 0, empty, empty, empty],\n      [1, 152, \"NumpadMemoryClear\", 0, empty, 0, empty, empty, empty],\n      [1, 153, \"NumpadMemoryAdd\", 0, empty, 0, empty, empty, empty],\n      [1, 154, \"NumpadMemorySubtract\", 0, empty, 0, empty, empty, empty],\n      [1, 155, \"NumpadClear\", 131, \"Clear\", 12, \"VK_CLEAR\", empty, empty],\n      [1, 156, \"NumpadClearEntry\", 0, empty, 0, empty, empty, empty],\n      [1, 0, empty, 5, \"Ctrl\", 17, \"VK_CONTROL\", empty, empty],\n      [1, 0, empty, 4, \"Shift\", 16, \"VK_SHIFT\", empty, empty],\n      [1, 0, empty, 6, \"Alt\", 18, \"VK_MENU\", empty, empty],\n      [1, 0, empty, 57, \"Meta\", 91, \"VK_COMMAND\", empty, empty],\n      [1, 157, \"ControlLeft\", 5, empty, 0, \"VK_LCONTROL\", empty, empty],\n      [1, 158, \"ShiftLeft\", 4, empty, 0, \"VK_LSHIFT\", empty, empty],\n      [1, 159, \"AltLeft\", 6, empty, 0, \"VK_LMENU\", empty, empty],\n      [1, 160, \"MetaLeft\", 57, empty, 0, \"VK_LWIN\", empty, empty],\n      [1, 161, \"ControlRight\", 5, empty, 0, \"VK_RCONTROL\", empty, empty],\n      [1, 162, \"ShiftRight\", 4, empty, 0, \"VK_RSHIFT\", empty, empty],\n      [1, 163, \"AltRight\", 6, empty, 0, \"VK_RMENU\", empty, empty],\n      [1, 164, \"MetaRight\", 57, empty, 0, \"VK_RWIN\", empty, empty],\n      [1, 165, \"BrightnessUp\", 0, empty, 0, empty, empty, empty],\n      [1, 166, \"BrightnessDown\", 0, empty, 0, empty, empty, empty],\n      [1, 167, \"MediaPlay\", 0, empty, 0, empty, empty, empty],\n      [1, 168, \"MediaRecord\", 0, empty, 0, empty, empty, empty],\n      [1, 169, \"MediaFastForward\", 0, empty, 0, empty, empty, empty],\n      [1, 170, \"MediaRewind\", 0, empty, 0, empty, empty, empty],\n      [1, 171, \"MediaTrackNext\", 124, \"MediaTrackNext\", 176, \"VK_MEDIA_NEXT_TRACK\", empty, empty],\n      [1, 172, \"MediaTrackPrevious\", 125, \"MediaTrackPrevious\", 177, \"VK_MEDIA_PREV_TRACK\", empty, empty],\n      [1, 173, \"MediaStop\", 126, \"MediaStop\", 178, \"VK_MEDIA_STOP\", empty, empty],\n      [1, 174, \"Eject\", 0, empty, 0, empty, empty, empty],\n      [1, 175, \"MediaPlayPause\", 127, \"MediaPlayPause\", 179, \"VK_MEDIA_PLAY_PAUSE\", empty, empty],\n      [1, 176, \"MediaSelect\", 128, \"LaunchMediaPlayer\", 181, \"VK_MEDIA_LAUNCH_MEDIA_SELECT\", empty, empty],\n      [1, 177, \"LaunchMail\", 129, \"LaunchMail\", 180, \"VK_MEDIA_LAUNCH_MAIL\", empty, empty],\n      [1, 178, \"LaunchApp2\", 130, \"LaunchApp2\", 183, \"VK_MEDIA_LAUNCH_APP2\", empty, empty],\n      [1, 179, \"LaunchApp1\", 0, empty, 0, \"VK_MEDIA_LAUNCH_APP1\", empty, empty],\n      [1, 180, \"SelectTask\", 0, empty, 0, empty, empty, empty],\n      [1, 181, \"LaunchScreenSaver\", 0, empty, 0, empty, empty, empty],\n      [1, 182, \"BrowserSearch\", 120, \"BrowserSearch\", 170, \"VK_BROWSER_SEARCH\", empty, empty],\n      [1, 183, \"BrowserHome\", 121, \"BrowserHome\", 172, \"VK_BROWSER_HOME\", empty, empty],\n      [1, 184, \"BrowserBack\", 122, \"BrowserBack\", 166, \"VK_BROWSER_BACK\", empty, empty],\n      [1, 185, \"BrowserForward\", 123, \"BrowserForward\", 167, \"VK_BROWSER_FORWARD\", empty, empty],\n      [1, 186, \"BrowserStop\", 0, empty, 0, \"VK_BROWSER_STOP\", empty, empty],\n      [1, 187, \"BrowserRefresh\", 0, empty, 0, \"VK_BROWSER_REFRESH\", empty, empty],\n      [1, 188, \"BrowserFavorites\", 0, empty, 0, \"VK_BROWSER_FAVORITES\", empty, empty],\n      [1, 189, \"ZoomToggle\", 0, empty, 0, empty, empty, empty],\n      [1, 190, \"MailReply\", 0, empty, 0, empty, empty, empty],\n      [1, 191, \"MailForward\", 0, empty, 0, empty, empty, empty],\n      [1, 192, \"MailSend\", 0, empty, 0, empty, empty, empty],\n      // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html\n      // If an Input Method Editor is processing key input and the event is keydown, return 229.\n      [1, 0, empty, 114, \"KeyInComposition\", 229, empty, empty, empty],\n      [1, 0, empty, 116, \"ABNT_C2\", 194, \"VK_ABNT_C2\", empty, empty],\n      [1, 0, empty, 96, \"OEM_8\", 223, \"VK_OEM_8\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANGUL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_JUNJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_FINAL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANJI\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONCONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ACCEPT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_MODECHANGE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SELECT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PRINT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXECUTE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SNAPSHOT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HELP\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_APPS\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PROCESSKEY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PACKET\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_SBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_DBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ATTN\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CRSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EREOF\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PLAY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ZOOM\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONAME\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PA1\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_OEM_CLEAR\", empty, empty]\n    ];\n    const seenKeyCode = [];\n    const seenScanCode = [];\n    for (const mapping of mappings) {\n      const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;\n      if (!seenScanCode[scanCode]) {\n        seenScanCode[scanCode] = true;\n        scanCodeIntToStr[scanCode] = scanCodeStr;\n        scanCodeStrToInt[scanCodeStr] = scanCode;\n        scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode;\n        if (immutable) {\n          IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode;\n          if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) {\n            IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode;\n          }\n        }\n      }\n      if (!seenKeyCode[keyCode]) {\n        seenKeyCode[keyCode] = true;\n        if (!keyCodeStr) {\n          throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`);\n        }\n        uiMap.define(keyCode, keyCodeStr);\n        userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr);\n        userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr);\n      }\n      if (eventKeyCode) {\n        EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode;\n      }\n      if (vkey) {\n        NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode;\n      }\n    }\n    IMMUTABLE_KEY_CODE_TO_CODE[\n      3\n      /* KeyCode.Enter */\n    ] = 46;\n  })();\n  var KeyCodeUtils;\n  (function(KeyCodeUtils2) {\n    function toString(keyCode) {\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toString = toString;\n    function fromString(key) {\n      return uiMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromString = fromString;\n    function toUserSettingsUS(keyCode) {\n      return userSettingsUSMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS;\n    function toUserSettingsGeneral(keyCode) {\n      return userSettingsGeneralMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral;\n    function fromUserSettings(key) {\n      return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromUserSettings = fromUserSettings;\n    function toElectronAccelerator(keyCode) {\n      if (keyCode >= 98 && keyCode <= 113) {\n        return null;\n      }\n      switch (keyCode) {\n        case 16:\n          return \"Up\";\n        case 18:\n          return \"Down\";\n        case 15:\n          return \"Left\";\n        case 17:\n          return \"Right\";\n      }\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator;\n  })(KeyCodeUtils || (KeyCodeUtils = {}));\n  function KeyChord(firstPart, secondPart) {\n    const chordPart = (secondPart & 65535) << 16 >>> 0;\n    return (firstPart | chordPart) >>> 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/selection.js\n  var Selection = class _Selection extends Range {\n    constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {\n      super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);\n      this.selectionStartLineNumber = selectionStartLineNumber;\n      this.selectionStartColumn = selectionStartColumn;\n      this.positionLineNumber = positionLineNumber;\n      this.positionColumn = positionColumn;\n    }\n    /**\n     * Transform to a human-readable representation.\n     */\n    toString() {\n      return \"[\" + this.selectionStartLineNumber + \",\" + this.selectionStartColumn + \" -> \" + this.positionLineNumber + \",\" + this.positionColumn + \"]\";\n    }\n    /**\n     * Test if equals other selection.\n     */\n    equalsSelection(other) {\n      return _Selection.selectionsEqual(this, other);\n    }\n    /**\n     * Test if the two selections are equal.\n     */\n    static selectionsEqual(a2, b) {\n      return a2.selectionStartLineNumber === b.selectionStartLineNumber && a2.selectionStartColumn === b.selectionStartColumn && a2.positionLineNumber === b.positionLineNumber && a2.positionColumn === b.positionColumn;\n    }\n    /**\n     * Get directions (LTR or RTL).\n     */\n    getDirection() {\n      if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {\n        return 0;\n      }\n      return 1;\n    }\n    /**\n     * Create a new selection with a different `positionLineNumber` and `positionColumn`.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);\n    }\n    /**\n     * Get the position at `positionLineNumber` and `positionColumn`.\n     */\n    getPosition() {\n      return new Position(this.positionLineNumber, this.positionColumn);\n    }\n    /**\n     * Get the position at the start of the selection.\n    */\n    getSelectionStart() {\n      return new Position(this.selectionStartLineNumber, this.selectionStartColumn);\n    }\n    /**\n     * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n      }\n      return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);\n    }\n    // ----\n    /**\n     * Create a `Selection` from one or two positions\n     */\n    static fromPositions(start, end = start) {\n      return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    /**\n     * Creates a `Selection` from a range, given a direction.\n     */\n    static fromRange(range, direction) {\n      if (direction === 0) {\n        return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n      } else {\n        return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn);\n      }\n    }\n    /**\n     * Create a `Selection` from an `ISelection`.\n     */\n    static liftSelection(sel) {\n      return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);\n    }\n    /**\n     * `a` equals `b`.\n     */\n    static selectionsArrEqual(a2, b) {\n      if (a2 && !b || !a2 && b) {\n        return false;\n      }\n      if (!a2 && !b) {\n        return true;\n      }\n      if (a2.length !== b.length) {\n        return false;\n      }\n      for (let i = 0, len = a2.length; i < len; i++) {\n        if (!this.selectionsEqual(a2[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    /**\n     * Test if `obj` is an `ISelection`.\n     */\n    static isISelection(obj) {\n      return obj && typeof obj.selectionStartLineNumber === \"number\" && typeof obj.selectionStartColumn === \"number\" && typeof obj.positionLineNumber === \"number\" && typeof obj.positionColumn === \"number\";\n    }\n    /**\n     * Create with a direction.\n     */\n    static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {\n      if (direction === 0) {\n        return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js\n  var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);\n  function register(id, fontCharacter) {\n    if (isString(fontCharacter)) {\n      const val = _codiconFontCharacters[fontCharacter];\n      if (val === void 0) {\n        throw new Error(`${id} references an unknown codicon: ${fontCharacter}`);\n      }\n      fontCharacter = val;\n    }\n    _codiconFontCharacters[id] = fontCharacter;\n    return { id };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js\n  var codiconsLibrary = {\n    add: register(\"add\", 6e4),\n    plus: register(\"plus\", 6e4),\n    gistNew: register(\"gist-new\", 6e4),\n    repoCreate: register(\"repo-create\", 6e4),\n    lightbulb: register(\"lightbulb\", 60001),\n    lightBulb: register(\"light-bulb\", 60001),\n    repo: register(\"repo\", 60002),\n    repoDelete: register(\"repo-delete\", 60002),\n    gistFork: register(\"gist-fork\", 60003),\n    repoForked: register(\"repo-forked\", 60003),\n    gitPullRequest: register(\"git-pull-request\", 60004),\n    gitPullRequestAbandoned: register(\"git-pull-request-abandoned\", 60004),\n    recordKeys: register(\"record-keys\", 60005),\n    keyboard: register(\"keyboard\", 60005),\n    tag: register(\"tag\", 60006),\n    gitPullRequestLabel: register(\"git-pull-request-label\", 60006),\n    tagAdd: register(\"tag-add\", 60006),\n    tagRemove: register(\"tag-remove\", 60006),\n    person: register(\"person\", 60007),\n    personFollow: register(\"person-follow\", 60007),\n    personOutline: register(\"person-outline\", 60007),\n    personFilled: register(\"person-filled\", 60007),\n    gitBranch: register(\"git-branch\", 60008),\n    gitBranchCreate: register(\"git-branch-create\", 60008),\n    gitBranchDelete: register(\"git-branch-delete\", 60008),\n    sourceControl: register(\"source-control\", 60008),\n    mirror: register(\"mirror\", 60009),\n    mirrorPublic: register(\"mirror-public\", 60009),\n    star: register(\"star\", 60010),\n    starAdd: register(\"star-add\", 60010),\n    starDelete: register(\"star-delete\", 60010),\n    starEmpty: register(\"star-empty\", 60010),\n    comment: register(\"comment\", 60011),\n    commentAdd: register(\"comment-add\", 60011),\n    alert: register(\"alert\", 60012),\n    warning: register(\"warning\", 60012),\n    search: register(\"search\", 60013),\n    searchSave: register(\"search-save\", 60013),\n    logOut: register(\"log-out\", 60014),\n    signOut: register(\"sign-out\", 60014),\n    logIn: register(\"log-in\", 60015),\n    signIn: register(\"sign-in\", 60015),\n    eye: register(\"eye\", 60016),\n    eyeUnwatch: register(\"eye-unwatch\", 60016),\n    eyeWatch: register(\"eye-watch\", 60016),\n    circleFilled: register(\"circle-filled\", 60017),\n    primitiveDot: register(\"primitive-dot\", 60017),\n    closeDirty: register(\"close-dirty\", 60017),\n    debugBreakpoint: register(\"debug-breakpoint\", 60017),\n    debugBreakpointDisabled: register(\"debug-breakpoint-disabled\", 60017),\n    debugHint: register(\"debug-hint\", 60017),\n    terminalDecorationSuccess: register(\"terminal-decoration-success\", 60017),\n    primitiveSquare: register(\"primitive-square\", 60018),\n    edit: register(\"edit\", 60019),\n    pencil: register(\"pencil\", 60019),\n    info: register(\"info\", 60020),\n    issueOpened: register(\"issue-opened\", 60020),\n    gistPrivate: register(\"gist-private\", 60021),\n    gitForkPrivate: register(\"git-fork-private\", 60021),\n    lock: register(\"lock\", 60021),\n    mirrorPrivate: register(\"mirror-private\", 60021),\n    close: register(\"close\", 60022),\n    removeClose: register(\"remove-close\", 60022),\n    x: register(\"x\", 60022),\n    repoSync: register(\"repo-sync\", 60023),\n    sync: register(\"sync\", 60023),\n    clone: register(\"clone\", 60024),\n    desktopDownload: register(\"desktop-download\", 60024),\n    beaker: register(\"beaker\", 60025),\n    microscope: register(\"microscope\", 60025),\n    vm: register(\"vm\", 60026),\n    deviceDesktop: register(\"device-desktop\", 60026),\n    file: register(\"file\", 60027),\n    fileText: register(\"file-text\", 60027),\n    more: register(\"more\", 60028),\n    ellipsis: register(\"ellipsis\", 60028),\n    kebabHorizontal: register(\"kebab-horizontal\", 60028),\n    mailReply: register(\"mail-reply\", 60029),\n    reply: register(\"reply\", 60029),\n    organization: register(\"organization\", 60030),\n    organizationFilled: register(\"organization-filled\", 60030),\n    organizationOutline: register(\"organization-outline\", 60030),\n    newFile: register(\"new-file\", 60031),\n    fileAdd: register(\"file-add\", 60031),\n    newFolder: register(\"new-folder\", 60032),\n    fileDirectoryCreate: register(\"file-directory-create\", 60032),\n    trash: register(\"trash\", 60033),\n    trashcan: register(\"trashcan\", 60033),\n    history: register(\"history\", 60034),\n    clock: register(\"clock\", 60034),\n    folder: register(\"folder\", 60035),\n    fileDirectory: register(\"file-directory\", 60035),\n    symbolFolder: register(\"symbol-folder\", 60035),\n    logoGithub: register(\"logo-github\", 60036),\n    markGithub: register(\"mark-github\", 60036),\n    github: register(\"github\", 60036),\n    terminal: register(\"terminal\", 60037),\n    console: register(\"console\", 60037),\n    repl: register(\"repl\", 60037),\n    zap: register(\"zap\", 60038),\n    symbolEvent: register(\"symbol-event\", 60038),\n    error: register(\"error\", 60039),\n    stop: register(\"stop\", 60039),\n    variable: register(\"variable\", 60040),\n    symbolVariable: register(\"symbol-variable\", 60040),\n    array: register(\"array\", 60042),\n    symbolArray: register(\"symbol-array\", 60042),\n    symbolModule: register(\"symbol-module\", 60043),\n    symbolPackage: register(\"symbol-package\", 60043),\n    symbolNamespace: register(\"symbol-namespace\", 60043),\n    symbolObject: register(\"symbol-object\", 60043),\n    symbolMethod: register(\"symbol-method\", 60044),\n    symbolFunction: register(\"symbol-function\", 60044),\n    symbolConstructor: register(\"symbol-constructor\", 60044),\n    symbolBoolean: register(\"symbol-boolean\", 60047),\n    symbolNull: register(\"symbol-null\", 60047),\n    symbolNumeric: register(\"symbol-numeric\", 60048),\n    symbolNumber: register(\"symbol-number\", 60048),\n    symbolStructure: register(\"symbol-structure\", 60049),\n    symbolStruct: register(\"symbol-struct\", 60049),\n    symbolParameter: register(\"symbol-parameter\", 60050),\n    symbolTypeParameter: register(\"symbol-type-parameter\", 60050),\n    symbolKey: register(\"symbol-key\", 60051),\n    symbolText: register(\"symbol-text\", 60051),\n    symbolReference: register(\"symbol-reference\", 60052),\n    goToFile: register(\"go-to-file\", 60052),\n    symbolEnum: register(\"symbol-enum\", 60053),\n    symbolValue: register(\"symbol-value\", 60053),\n    symbolRuler: register(\"symbol-ruler\", 60054),\n    symbolUnit: register(\"symbol-unit\", 60054),\n    activateBreakpoints: register(\"activate-breakpoints\", 60055),\n    archive: register(\"archive\", 60056),\n    arrowBoth: register(\"arrow-both\", 60057),\n    arrowDown: register(\"arrow-down\", 60058),\n    arrowLeft: register(\"arrow-left\", 60059),\n    arrowRight: register(\"arrow-right\", 60060),\n    arrowSmallDown: register(\"arrow-small-down\", 60061),\n    arrowSmallLeft: register(\"arrow-small-left\", 60062),\n    arrowSmallRight: register(\"arrow-small-right\", 60063),\n    arrowSmallUp: register(\"arrow-small-up\", 60064),\n    arrowUp: register(\"arrow-up\", 60065),\n    bell: register(\"bell\", 60066),\n    bold: register(\"bold\", 60067),\n    book: register(\"book\", 60068),\n    bookmark: register(\"bookmark\", 60069),\n    debugBreakpointConditionalUnverified: register(\"debug-breakpoint-conditional-unverified\", 60070),\n    debugBreakpointConditional: register(\"debug-breakpoint-conditional\", 60071),\n    debugBreakpointConditionalDisabled: register(\"debug-breakpoint-conditional-disabled\", 60071),\n    debugBreakpointDataUnverified: register(\"debug-breakpoint-data-unverified\", 60072),\n    debugBreakpointData: register(\"debug-breakpoint-data\", 60073),\n    debugBreakpointDataDisabled: register(\"debug-breakpoint-data-disabled\", 60073),\n    debugBreakpointLogUnverified: register(\"debug-breakpoint-log-unverified\", 60074),\n    debugBreakpointLog: register(\"debug-breakpoint-log\", 60075),\n    debugBreakpointLogDisabled: register(\"debug-breakpoint-log-disabled\", 60075),\n    briefcase: register(\"briefcase\", 60076),\n    broadcast: register(\"broadcast\", 60077),\n    browser: register(\"browser\", 60078),\n    bug: register(\"bug\", 60079),\n    calendar: register(\"calendar\", 60080),\n    caseSensitive: register(\"case-sensitive\", 60081),\n    check: register(\"check\", 60082),\n    checklist: register(\"checklist\", 60083),\n    chevronDown: register(\"chevron-down\", 60084),\n    chevronLeft: register(\"chevron-left\", 60085),\n    chevronRight: register(\"chevron-right\", 60086),\n    chevronUp: register(\"chevron-up\", 60087),\n    chromeClose: register(\"chrome-close\", 60088),\n    chromeMaximize: register(\"chrome-maximize\", 60089),\n    chromeMinimize: register(\"chrome-minimize\", 60090),\n    chromeRestore: register(\"chrome-restore\", 60091),\n    circleOutline: register(\"circle-outline\", 60092),\n    circle: register(\"circle\", 60092),\n    debugBreakpointUnverified: register(\"debug-breakpoint-unverified\", 60092),\n    terminalDecorationIncomplete: register(\"terminal-decoration-incomplete\", 60092),\n    circleSlash: register(\"circle-slash\", 60093),\n    circuitBoard: register(\"circuit-board\", 60094),\n    clearAll: register(\"clear-all\", 60095),\n    clippy: register(\"clippy\", 60096),\n    closeAll: register(\"close-all\", 60097),\n    cloudDownload: register(\"cloud-download\", 60098),\n    cloudUpload: register(\"cloud-upload\", 60099),\n    code: register(\"code\", 60100),\n    collapseAll: register(\"collapse-all\", 60101),\n    colorMode: register(\"color-mode\", 60102),\n    commentDiscussion: register(\"comment-discussion\", 60103),\n    creditCard: register(\"credit-card\", 60105),\n    dash: register(\"dash\", 60108),\n    dashboard: register(\"dashboard\", 60109),\n    database: register(\"database\", 60110),\n    debugContinue: register(\"debug-continue\", 60111),\n    debugDisconnect: register(\"debug-disconnect\", 60112),\n    debugPause: register(\"debug-pause\", 60113),\n    debugRestart: register(\"debug-restart\", 60114),\n    debugStart: register(\"debug-start\", 60115),\n    debugStepInto: register(\"debug-step-into\", 60116),\n    debugStepOut: register(\"debug-step-out\", 60117),\n    debugStepOver: register(\"debug-step-over\", 60118),\n    debugStop: register(\"debug-stop\", 60119),\n    debug: register(\"debug\", 60120),\n    deviceCameraVideo: register(\"device-camera-video\", 60121),\n    deviceCamera: register(\"device-camera\", 60122),\n    deviceMobile: register(\"device-mobile\", 60123),\n    diffAdded: register(\"diff-added\", 60124),\n    diffIgnored: register(\"diff-ignored\", 60125),\n    diffModified: register(\"diff-modified\", 60126),\n    diffRemoved: register(\"diff-removed\", 60127),\n    diffRenamed: register(\"diff-renamed\", 60128),\n    diff: register(\"diff\", 60129),\n    diffSidebyside: register(\"diff-sidebyside\", 60129),\n    discard: register(\"discard\", 60130),\n    editorLayout: register(\"editor-layout\", 60131),\n    emptyWindow: register(\"empty-window\", 60132),\n    exclude: register(\"exclude\", 60133),\n    extensions: register(\"extensions\", 60134),\n    eyeClosed: register(\"eye-closed\", 60135),\n    fileBinary: register(\"file-binary\", 60136),\n    fileCode: register(\"file-code\", 60137),\n    fileMedia: register(\"file-media\", 60138),\n    filePdf: register(\"file-pdf\", 60139),\n    fileSubmodule: register(\"file-submodule\", 60140),\n    fileSymlinkDirectory: register(\"file-symlink-directory\", 60141),\n    fileSymlinkFile: register(\"file-symlink-file\", 60142),\n    fileZip: register(\"file-zip\", 60143),\n    files: register(\"files\", 60144),\n    filter: register(\"filter\", 60145),\n    flame: register(\"flame\", 60146),\n    foldDown: register(\"fold-down\", 60147),\n    foldUp: register(\"fold-up\", 60148),\n    fold: register(\"fold\", 60149),\n    folderActive: register(\"folder-active\", 60150),\n    folderOpened: register(\"folder-opened\", 60151),\n    gear: register(\"gear\", 60152),\n    gift: register(\"gift\", 60153),\n    gistSecret: register(\"gist-secret\", 60154),\n    gist: register(\"gist\", 60155),\n    gitCommit: register(\"git-commit\", 60156),\n    gitCompare: register(\"git-compare\", 60157),\n    compareChanges: register(\"compare-changes\", 60157),\n    gitMerge: register(\"git-merge\", 60158),\n    githubAction: register(\"github-action\", 60159),\n    githubAlt: register(\"github-alt\", 60160),\n    globe: register(\"globe\", 60161),\n    grabber: register(\"grabber\", 60162),\n    graph: register(\"graph\", 60163),\n    gripper: register(\"gripper\", 60164),\n    heart: register(\"heart\", 60165),\n    home: register(\"home\", 60166),\n    horizontalRule: register(\"horizontal-rule\", 60167),\n    hubot: register(\"hubot\", 60168),\n    inbox: register(\"inbox\", 60169),\n    issueReopened: register(\"issue-reopened\", 60171),\n    issues: register(\"issues\", 60172),\n    italic: register(\"italic\", 60173),\n    jersey: register(\"jersey\", 60174),\n    json: register(\"json\", 60175),\n    kebabVertical: register(\"kebab-vertical\", 60176),\n    key: register(\"key\", 60177),\n    law: register(\"law\", 60178),\n    lightbulbAutofix: register(\"lightbulb-autofix\", 60179),\n    linkExternal: register(\"link-external\", 60180),\n    link: register(\"link\", 60181),\n    listOrdered: register(\"list-ordered\", 60182),\n    listUnordered: register(\"list-unordered\", 60183),\n    liveShare: register(\"live-share\", 60184),\n    loading: register(\"loading\", 60185),\n    location: register(\"location\", 60186),\n    mailRead: register(\"mail-read\", 60187),\n    mail: register(\"mail\", 60188),\n    markdown: register(\"markdown\", 60189),\n    megaphone: register(\"megaphone\", 60190),\n    mention: register(\"mention\", 60191),\n    milestone: register(\"milestone\", 60192),\n    gitPullRequestMilestone: register(\"git-pull-request-milestone\", 60192),\n    mortarBoard: register(\"mortar-board\", 60193),\n    move: register(\"move\", 60194),\n    multipleWindows: register(\"multiple-windows\", 60195),\n    mute: register(\"mute\", 60196),\n    noNewline: register(\"no-newline\", 60197),\n    note: register(\"note\", 60198),\n    octoface: register(\"octoface\", 60199),\n    openPreview: register(\"open-preview\", 60200),\n    package: register(\"package\", 60201),\n    paintcan: register(\"paintcan\", 60202),\n    pin: register(\"pin\", 60203),\n    play: register(\"play\", 60204),\n    run: register(\"run\", 60204),\n    plug: register(\"plug\", 60205),\n    preserveCase: register(\"preserve-case\", 60206),\n    preview: register(\"preview\", 60207),\n    project: register(\"project\", 60208),\n    pulse: register(\"pulse\", 60209),\n    question: register(\"question\", 60210),\n    quote: register(\"quote\", 60211),\n    radioTower: register(\"radio-tower\", 60212),\n    reactions: register(\"reactions\", 60213),\n    references: register(\"references\", 60214),\n    refresh: register(\"refresh\", 60215),\n    regex: register(\"regex\", 60216),\n    remoteExplorer: register(\"remote-explorer\", 60217),\n    remote: register(\"remote\", 60218),\n    remove: register(\"remove\", 60219),\n    replaceAll: register(\"replace-all\", 60220),\n    replace: register(\"replace\", 60221),\n    repoClone: register(\"repo-clone\", 60222),\n    repoForcePush: register(\"repo-force-push\", 60223),\n    repoPull: register(\"repo-pull\", 60224),\n    repoPush: register(\"repo-push\", 60225),\n    report: register(\"report\", 60226),\n    requestChanges: register(\"request-changes\", 60227),\n    rocket: register(\"rocket\", 60228),\n    rootFolderOpened: register(\"root-folder-opened\", 60229),\n    rootFolder: register(\"root-folder\", 60230),\n    rss: register(\"rss\", 60231),\n    ruby: register(\"ruby\", 60232),\n    saveAll: register(\"save-all\", 60233),\n    saveAs: register(\"save-as\", 60234),\n    save: register(\"save\", 60235),\n    screenFull: register(\"screen-full\", 60236),\n    screenNormal: register(\"screen-normal\", 60237),\n    searchStop: register(\"search-stop\", 60238),\n    server: register(\"server\", 60240),\n    settingsGear: register(\"settings-gear\", 60241),\n    settings: register(\"settings\", 60242),\n    shield: register(\"shield\", 60243),\n    smiley: register(\"smiley\", 60244),\n    sortPrecedence: register(\"sort-precedence\", 60245),\n    splitHorizontal: register(\"split-horizontal\", 60246),\n    splitVertical: register(\"split-vertical\", 60247),\n    squirrel: register(\"squirrel\", 60248),\n    starFull: register(\"star-full\", 60249),\n    starHalf: register(\"star-half\", 60250),\n    symbolClass: register(\"symbol-class\", 60251),\n    symbolColor: register(\"symbol-color\", 60252),\n    symbolConstant: register(\"symbol-constant\", 60253),\n    symbolEnumMember: register(\"symbol-enum-member\", 60254),\n    symbolField: register(\"symbol-field\", 60255),\n    symbolFile: register(\"symbol-file\", 60256),\n    symbolInterface: register(\"symbol-interface\", 60257),\n    symbolKeyword: register(\"symbol-keyword\", 60258),\n    symbolMisc: register(\"symbol-misc\", 60259),\n    symbolOperator: register(\"symbol-operator\", 60260),\n    symbolProperty: register(\"symbol-property\", 60261),\n    wrench: register(\"wrench\", 60261),\n    wrenchSubaction: register(\"wrench-subaction\", 60261),\n    symbolSnippet: register(\"symbol-snippet\", 60262),\n    tasklist: register(\"tasklist\", 60263),\n    telescope: register(\"telescope\", 60264),\n    textSize: register(\"text-size\", 60265),\n    threeBars: register(\"three-bars\", 60266),\n    thumbsdown: register(\"thumbsdown\", 60267),\n    thumbsup: register(\"thumbsup\", 60268),\n    tools: register(\"tools\", 60269),\n    triangleDown: register(\"triangle-down\", 60270),\n    triangleLeft: register(\"triangle-left\", 60271),\n    triangleRight: register(\"triangle-right\", 60272),\n    triangleUp: register(\"triangle-up\", 60273),\n    twitter: register(\"twitter\", 60274),\n    unfold: register(\"unfold\", 60275),\n    unlock: register(\"unlock\", 60276),\n    unmute: register(\"unmute\", 60277),\n    unverified: register(\"unverified\", 60278),\n    verified: register(\"verified\", 60279),\n    versions: register(\"versions\", 60280),\n    vmActive: register(\"vm-active\", 60281),\n    vmOutline: register(\"vm-outline\", 60282),\n    vmRunning: register(\"vm-running\", 60283),\n    watch: register(\"watch\", 60284),\n    whitespace: register(\"whitespace\", 60285),\n    wholeWord: register(\"whole-word\", 60286),\n    window: register(\"window\", 60287),\n    wordWrap: register(\"word-wrap\", 60288),\n    zoomIn: register(\"zoom-in\", 60289),\n    zoomOut: register(\"zoom-out\", 60290),\n    listFilter: register(\"list-filter\", 60291),\n    listFlat: register(\"list-flat\", 60292),\n    listSelection: register(\"list-selection\", 60293),\n    selection: register(\"selection\", 60293),\n    listTree: register(\"list-tree\", 60294),\n    debugBreakpointFunctionUnverified: register(\"debug-breakpoint-function-unverified\", 60295),\n    debugBreakpointFunction: register(\"debug-breakpoint-function\", 60296),\n    debugBreakpointFunctionDisabled: register(\"debug-breakpoint-function-disabled\", 60296),\n    debugStackframeActive: register(\"debug-stackframe-active\", 60297),\n    circleSmallFilled: register(\"circle-small-filled\", 60298),\n    debugStackframeDot: register(\"debug-stackframe-dot\", 60298),\n    terminalDecorationMark: register(\"terminal-decoration-mark\", 60298),\n    debugStackframe: register(\"debug-stackframe\", 60299),\n    debugStackframeFocused: register(\"debug-stackframe-focused\", 60299),\n    debugBreakpointUnsupported: register(\"debug-breakpoint-unsupported\", 60300),\n    symbolString: register(\"symbol-string\", 60301),\n    debugReverseContinue: register(\"debug-reverse-continue\", 60302),\n    debugStepBack: register(\"debug-step-back\", 60303),\n    debugRestartFrame: register(\"debug-restart-frame\", 60304),\n    debugAlt: register(\"debug-alt\", 60305),\n    callIncoming: register(\"call-incoming\", 60306),\n    callOutgoing: register(\"call-outgoing\", 60307),\n    menu: register(\"menu\", 60308),\n    expandAll: register(\"expand-all\", 60309),\n    feedback: register(\"feedback\", 60310),\n    gitPullRequestReviewer: register(\"git-pull-request-reviewer\", 60310),\n    groupByRefType: register(\"group-by-ref-type\", 60311),\n    ungroupByRefType: register(\"ungroup-by-ref-type\", 60312),\n    account: register(\"account\", 60313),\n    gitPullRequestAssignee: register(\"git-pull-request-assignee\", 60313),\n    bellDot: register(\"bell-dot\", 60314),\n    debugConsole: register(\"debug-console\", 60315),\n    library: register(\"library\", 60316),\n    output: register(\"output\", 60317),\n    runAll: register(\"run-all\", 60318),\n    syncIgnored: register(\"sync-ignored\", 60319),\n    pinned: register(\"pinned\", 60320),\n    githubInverted: register(\"github-inverted\", 60321),\n    serverProcess: register(\"server-process\", 60322),\n    serverEnvironment: register(\"server-environment\", 60323),\n    pass: register(\"pass\", 60324),\n    issueClosed: register(\"issue-closed\", 60324),\n    stopCircle: register(\"stop-circle\", 60325),\n    playCircle: register(\"play-circle\", 60326),\n    record: register(\"record\", 60327),\n    debugAltSmall: register(\"debug-alt-small\", 60328),\n    vmConnect: register(\"vm-connect\", 60329),\n    cloud: register(\"cloud\", 60330),\n    merge: register(\"merge\", 60331),\n    export: register(\"export\", 60332),\n    graphLeft: register(\"graph-left\", 60333),\n    magnet: register(\"magnet\", 60334),\n    notebook: register(\"notebook\", 60335),\n    redo: register(\"redo\", 60336),\n    checkAll: register(\"check-all\", 60337),\n    pinnedDirty: register(\"pinned-dirty\", 60338),\n    passFilled: register(\"pass-filled\", 60339),\n    circleLargeFilled: register(\"circle-large-filled\", 60340),\n    circleLarge: register(\"circle-large\", 60341),\n    circleLargeOutline: register(\"circle-large-outline\", 60341),\n    combine: register(\"combine\", 60342),\n    gather: register(\"gather\", 60342),\n    table: register(\"table\", 60343),\n    variableGroup: register(\"variable-group\", 60344),\n    typeHierarchy: register(\"type-hierarchy\", 60345),\n    typeHierarchySub: register(\"type-hierarchy-sub\", 60346),\n    typeHierarchySuper: register(\"type-hierarchy-super\", 60347),\n    gitPullRequestCreate: register(\"git-pull-request-create\", 60348),\n    runAbove: register(\"run-above\", 60349),\n    runBelow: register(\"run-below\", 60350),\n    notebookTemplate: register(\"notebook-template\", 60351),\n    debugRerun: register(\"debug-rerun\", 60352),\n    workspaceTrusted: register(\"workspace-trusted\", 60353),\n    workspaceUntrusted: register(\"workspace-untrusted\", 60354),\n    workspaceUnknown: register(\"workspace-unknown\", 60355),\n    terminalCmd: register(\"terminal-cmd\", 60356),\n    terminalDebian: register(\"terminal-debian\", 60357),\n    terminalLinux: register(\"terminal-linux\", 60358),\n    terminalPowershell: register(\"terminal-powershell\", 60359),\n    terminalTmux: register(\"terminal-tmux\", 60360),\n    terminalUbuntu: register(\"terminal-ubuntu\", 60361),\n    terminalBash: register(\"terminal-bash\", 60362),\n    arrowSwap: register(\"arrow-swap\", 60363),\n    copy: register(\"copy\", 60364),\n    personAdd: register(\"person-add\", 60365),\n    filterFilled: register(\"filter-filled\", 60366),\n    wand: register(\"wand\", 60367),\n    debugLineByLine: register(\"debug-line-by-line\", 60368),\n    inspect: register(\"inspect\", 60369),\n    layers: register(\"layers\", 60370),\n    layersDot: register(\"layers-dot\", 60371),\n    layersActive: register(\"layers-active\", 60372),\n    compass: register(\"compass\", 60373),\n    compassDot: register(\"compass-dot\", 60374),\n    compassActive: register(\"compass-active\", 60375),\n    azure: register(\"azure\", 60376),\n    issueDraft: register(\"issue-draft\", 60377),\n    gitPullRequestClosed: register(\"git-pull-request-closed\", 60378),\n    gitPullRequestDraft: register(\"git-pull-request-draft\", 60379),\n    debugAll: register(\"debug-all\", 60380),\n    debugCoverage: register(\"debug-coverage\", 60381),\n    runErrors: register(\"run-errors\", 60382),\n    folderLibrary: register(\"folder-library\", 60383),\n    debugContinueSmall: register(\"debug-continue-small\", 60384),\n    beakerStop: register(\"beaker-stop\", 60385),\n    graphLine: register(\"graph-line\", 60386),\n    graphScatter: register(\"graph-scatter\", 60387),\n    pieChart: register(\"pie-chart\", 60388),\n    bracket: register(\"bracket\", 60175),\n    bracketDot: register(\"bracket-dot\", 60389),\n    bracketError: register(\"bracket-error\", 60390),\n    lockSmall: register(\"lock-small\", 60391),\n    azureDevops: register(\"azure-devops\", 60392),\n    verifiedFilled: register(\"verified-filled\", 60393),\n    newline: register(\"newline\", 60394),\n    layout: register(\"layout\", 60395),\n    layoutActivitybarLeft: register(\"layout-activitybar-left\", 60396),\n    layoutActivitybarRight: register(\"layout-activitybar-right\", 60397),\n    layoutPanelLeft: register(\"layout-panel-left\", 60398),\n    layoutPanelCenter: register(\"layout-panel-center\", 60399),\n    layoutPanelJustify: register(\"layout-panel-justify\", 60400),\n    layoutPanelRight: register(\"layout-panel-right\", 60401),\n    layoutPanel: register(\"layout-panel\", 60402),\n    layoutSidebarLeft: register(\"layout-sidebar-left\", 60403),\n    layoutSidebarRight: register(\"layout-sidebar-right\", 60404),\n    layoutStatusbar: register(\"layout-statusbar\", 60405),\n    layoutMenubar: register(\"layout-menubar\", 60406),\n    layoutCentered: register(\"layout-centered\", 60407),\n    target: register(\"target\", 60408),\n    indent: register(\"indent\", 60409),\n    recordSmall: register(\"record-small\", 60410),\n    errorSmall: register(\"error-small\", 60411),\n    terminalDecorationError: register(\"terminal-decoration-error\", 60411),\n    arrowCircleDown: register(\"arrow-circle-down\", 60412),\n    arrowCircleLeft: register(\"arrow-circle-left\", 60413),\n    arrowCircleRight: register(\"arrow-circle-right\", 60414),\n    arrowCircleUp: register(\"arrow-circle-up\", 60415),\n    layoutSidebarRightOff: register(\"layout-sidebar-right-off\", 60416),\n    layoutPanelOff: register(\"layout-panel-off\", 60417),\n    layoutSidebarLeftOff: register(\"layout-sidebar-left-off\", 60418),\n    blank: register(\"blank\", 60419),\n    heartFilled: register(\"heart-filled\", 60420),\n    map: register(\"map\", 60421),\n    mapHorizontal: register(\"map-horizontal\", 60421),\n    foldHorizontal: register(\"fold-horizontal\", 60421),\n    mapFilled: register(\"map-filled\", 60422),\n    mapHorizontalFilled: register(\"map-horizontal-filled\", 60422),\n    foldHorizontalFilled: register(\"fold-horizontal-filled\", 60422),\n    circleSmall: register(\"circle-small\", 60423),\n    bellSlash: register(\"bell-slash\", 60424),\n    bellSlashDot: register(\"bell-slash-dot\", 60425),\n    commentUnresolved: register(\"comment-unresolved\", 60426),\n    gitPullRequestGoToChanges: register(\"git-pull-request-go-to-changes\", 60427),\n    gitPullRequestNewChanges: register(\"git-pull-request-new-changes\", 60428),\n    searchFuzzy: register(\"search-fuzzy\", 60429),\n    commentDraft: register(\"comment-draft\", 60430),\n    send: register(\"send\", 60431),\n    sparkle: register(\"sparkle\", 60432),\n    insert: register(\"insert\", 60433),\n    mic: register(\"mic\", 60434),\n    thumbsdownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsupFilled: register(\"thumbsup-filled\", 60436),\n    coffee: register(\"coffee\", 60437),\n    snake: register(\"snake\", 60438),\n    game: register(\"game\", 60439),\n    vr: register(\"vr\", 60440),\n    chip: register(\"chip\", 60441),\n    piano: register(\"piano\", 60442),\n    music: register(\"music\", 60443),\n    micFilled: register(\"mic-filled\", 60444),\n    repoFetch: register(\"repo-fetch\", 60445),\n    copilot: register(\"copilot\", 60446),\n    lightbulbSparkle: register(\"lightbulb-sparkle\", 60447),\n    robot: register(\"robot\", 60448),\n    sparkleFilled: register(\"sparkle-filled\", 60449),\n    diffSingle: register(\"diff-single\", 60450),\n    diffMultiple: register(\"diff-multiple\", 60451),\n    surroundWith: register(\"surround-with\", 60452),\n    share: register(\"share\", 60453),\n    gitStash: register(\"git-stash\", 60454),\n    gitStashApply: register(\"git-stash-apply\", 60455),\n    gitStashPop: register(\"git-stash-pop\", 60456),\n    vscode: register(\"vscode\", 60457),\n    vscodeInsiders: register(\"vscode-insiders\", 60458),\n    codeOss: register(\"code-oss\", 60459),\n    runCoverage: register(\"run-coverage\", 60460),\n    runAllCoverage: register(\"run-all-coverage\", 60461),\n    coverage: register(\"coverage\", 60462),\n    githubProject: register(\"github-project\", 60463),\n    mapVertical: register(\"map-vertical\", 60464),\n    foldVertical: register(\"fold-vertical\", 60464),\n    mapVerticalFilled: register(\"map-vertical-filled\", 60465),\n    foldVerticalFilled: register(\"fold-vertical-filled\", 60465),\n    goToSearch: register(\"go-to-search\", 60466),\n    percentage: register(\"percentage\", 60467),\n    sortPercentage: register(\"sort-percentage\", 60467)\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codicons.js\n  var codiconsDerived = {\n    dialogError: register(\"dialog-error\", \"error\"),\n    dialogWarning: register(\"dialog-warning\", \"warning\"),\n    dialogInfo: register(\"dialog-info\", \"info\"),\n    dialogClose: register(\"dialog-close\", \"close\"),\n    treeItemExpanded: register(\"tree-item-expanded\", \"chevron-down\"),\n    // collapsed is done with rotation\n    treeFilterOnTypeOn: register(\"tree-filter-on-type-on\", \"list-filter\"),\n    treeFilterOnTypeOff: register(\"tree-filter-on-type-off\", \"list-selection\"),\n    treeFilterClear: register(\"tree-filter-clear\", \"close\"),\n    treeItemLoading: register(\"tree-item-loading\", \"loading\"),\n    menuSelection: register(\"menu-selection\", \"check\"),\n    menuSubmenu: register(\"menu-submenu\", \"chevron-right\"),\n    menuBarMore: register(\"menubar-more\", \"more\"),\n    scrollbarButtonLeft: register(\"scrollbar-button-left\", \"triangle-left\"),\n    scrollbarButtonRight: register(\"scrollbar-button-right\", \"triangle-right\"),\n    scrollbarButtonUp: register(\"scrollbar-button-up\", \"triangle-up\"),\n    scrollbarButtonDown: register(\"scrollbar-button-down\", \"triangle-down\"),\n    toolBarMore: register(\"toolbar-more\", \"more\"),\n    quickInputBack: register(\"quick-input-back\", \"arrow-left\"),\n    dropDownButton: register(\"drop-down-button\", 60084),\n    symbolCustomColor: register(\"symbol-customcolor\", 60252),\n    exportIcon: register(\"export\", 60332),\n    workspaceUnspecified: register(\"workspace-unspecified\", 60355),\n    newLine: register(\"newline\", 60394),\n    thumbsDownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsUpFilled: register(\"thumbsup-filled\", 60436),\n    gitFetch: register(\"git-fetch\", 60445),\n    lightbulbSparkleAutofix: register(\"lightbulb-sparkle-autofix\", 60447),\n    debugBreakpointPending: register(\"debug-breakpoint-pending\", 60377)\n  };\n  var Codicon = {\n    ...codiconsLibrary,\n    ...codiconsDerived\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js\n  var TokenizationRegistry = class {\n    constructor() {\n      this._tokenizationSupports = /* @__PURE__ */ new Map();\n      this._factories = /* @__PURE__ */ new Map();\n      this._onDidChange = new Emitter();\n      this.onDidChange = this._onDidChange.event;\n      this._colorMap = null;\n    }\n    handleChange(languageIds) {\n      this._onDidChange.fire({\n        changedLanguages: languageIds,\n        changedColorMap: false\n      });\n    }\n    register(languageId, support) {\n      this._tokenizationSupports.set(languageId, support);\n      this.handleChange([languageId]);\n      return toDisposable(() => {\n        if (this._tokenizationSupports.get(languageId) !== support) {\n          return;\n        }\n        this._tokenizationSupports.delete(languageId);\n        this.handleChange([languageId]);\n      });\n    }\n    get(languageId) {\n      return this._tokenizationSupports.get(languageId) || null;\n    }\n    registerFactory(languageId, factory) {\n      var _a4;\n      (_a4 = this._factories.get(languageId)) === null || _a4 === void 0 ? void 0 : _a4.dispose();\n      const myData = new TokenizationSupportFactoryData(this, languageId, factory);\n      this._factories.set(languageId, myData);\n      return toDisposable(() => {\n        const v = this._factories.get(languageId);\n        if (!v || v !== myData) {\n          return;\n        }\n        this._factories.delete(languageId);\n        v.dispose();\n      });\n    }\n    async getOrCreate(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return tokenizationSupport;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return null;\n      }\n      await factory.resolve();\n      return this.get(languageId);\n    }\n    isResolved(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return true;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return true;\n      }\n      return false;\n    }\n    setColorMap(colorMap) {\n      this._colorMap = colorMap;\n      this._onDidChange.fire({\n        changedLanguages: Array.from(this._tokenizationSupports.keys()),\n        changedColorMap: true\n      });\n    }\n    getColorMap() {\n      return this._colorMap;\n    }\n    getDefaultBackground() {\n      if (this._colorMap && this._colorMap.length > 2) {\n        return this._colorMap[\n          2\n          /* ColorId.DefaultBackground */\n        ];\n      }\n      return null;\n    }\n  };\n  var TokenizationSupportFactoryData = class extends Disposable {\n    get isResolved() {\n      return this._isResolved;\n    }\n    constructor(_registry, _languageId, _factory) {\n      super();\n      this._registry = _registry;\n      this._languageId = _languageId;\n      this._factory = _factory;\n      this._isDisposed = false;\n      this._resolvePromise = null;\n      this._isResolved = false;\n    }\n    dispose() {\n      this._isDisposed = true;\n      super.dispose();\n    }\n    async resolve() {\n      if (!this._resolvePromise) {\n        this._resolvePromise = this._create();\n      }\n      return this._resolvePromise;\n    }\n    async _create() {\n      const value = await this._factory.tokenizationSupport;\n      this._isResolved = true;\n      if (value && !this._isDisposed) {\n        this._register(this._registry.register(this._languageId, value));\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages.js\n  var Token = class {\n    constructor(offset, type, language) {\n      this.offset = offset;\n      this.type = type;\n      this.language = language;\n      this._tokenBrand = void 0;\n    }\n    toString() {\n      return \"(\" + this.offset + \", \" + this.type + \")\";\n    }\n  };\n  var HoverVerbosityAction;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction || (HoverVerbosityAction = {}));\n  var CompletionItemKinds;\n  (function(CompletionItemKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolMethod);\n    byKind.set(1, Codicon.symbolFunction);\n    byKind.set(2, Codicon.symbolConstructor);\n    byKind.set(3, Codicon.symbolField);\n    byKind.set(4, Codicon.symbolVariable);\n    byKind.set(5, Codicon.symbolClass);\n    byKind.set(6, Codicon.symbolStruct);\n    byKind.set(7, Codicon.symbolInterface);\n    byKind.set(8, Codicon.symbolModule);\n    byKind.set(9, Codicon.symbolProperty);\n    byKind.set(10, Codicon.symbolEvent);\n    byKind.set(11, Codicon.symbolOperator);\n    byKind.set(12, Codicon.symbolUnit);\n    byKind.set(13, Codicon.symbolValue);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(14, Codicon.symbolConstant);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(16, Codicon.symbolEnumMember);\n    byKind.set(17, Codicon.symbolKeyword);\n    byKind.set(27, Codicon.symbolSnippet);\n    byKind.set(18, Codicon.symbolText);\n    byKind.set(19, Codicon.symbolColor);\n    byKind.set(20, Codicon.symbolFile);\n    byKind.set(21, Codicon.symbolReference);\n    byKind.set(22, Codicon.symbolCustomColor);\n    byKind.set(23, Codicon.symbolFolder);\n    byKind.set(24, Codicon.symbolTypeParameter);\n    byKind.set(25, Codicon.account);\n    byKind.set(26, Codicon.issues);\n    function toIcon(kind) {\n      let codicon = byKind.get(kind);\n      if (!codicon) {\n        console.info(\"No codicon found for CompletionItemKind \" + kind);\n        codicon = Codicon.symbolProperty;\n      }\n      return codicon;\n    }\n    CompletionItemKinds2.toIcon = toIcon;\n    const data = /* @__PURE__ */ new Map();\n    data.set(\n      \"method\",\n      0\n      /* CompletionItemKind.Method */\n    );\n    data.set(\n      \"function\",\n      1\n      /* CompletionItemKind.Function */\n    );\n    data.set(\n      \"constructor\",\n      2\n      /* CompletionItemKind.Constructor */\n    );\n    data.set(\n      \"field\",\n      3\n      /* CompletionItemKind.Field */\n    );\n    data.set(\n      \"variable\",\n      4\n      /* CompletionItemKind.Variable */\n    );\n    data.set(\n      \"class\",\n      5\n      /* CompletionItemKind.Class */\n    );\n    data.set(\n      \"struct\",\n      6\n      /* CompletionItemKind.Struct */\n    );\n    data.set(\n      \"interface\",\n      7\n      /* CompletionItemKind.Interface */\n    );\n    data.set(\n      \"module\",\n      8\n      /* CompletionItemKind.Module */\n    );\n    data.set(\n      \"property\",\n      9\n      /* CompletionItemKind.Property */\n    );\n    data.set(\n      \"event\",\n      10\n      /* CompletionItemKind.Event */\n    );\n    data.set(\n      \"operator\",\n      11\n      /* CompletionItemKind.Operator */\n    );\n    data.set(\n      \"unit\",\n      12\n      /* CompletionItemKind.Unit */\n    );\n    data.set(\n      \"value\",\n      13\n      /* CompletionItemKind.Value */\n    );\n    data.set(\n      \"constant\",\n      14\n      /* CompletionItemKind.Constant */\n    );\n    data.set(\n      \"enum\",\n      15\n      /* CompletionItemKind.Enum */\n    );\n    data.set(\n      \"enum-member\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"enumMember\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"keyword\",\n      17\n      /* CompletionItemKind.Keyword */\n    );\n    data.set(\n      \"snippet\",\n      27\n      /* CompletionItemKind.Snippet */\n    );\n    data.set(\n      \"text\",\n      18\n      /* CompletionItemKind.Text */\n    );\n    data.set(\n      \"color\",\n      19\n      /* CompletionItemKind.Color */\n    );\n    data.set(\n      \"file\",\n      20\n      /* CompletionItemKind.File */\n    );\n    data.set(\n      \"reference\",\n      21\n      /* CompletionItemKind.Reference */\n    );\n    data.set(\n      \"customcolor\",\n      22\n      /* CompletionItemKind.Customcolor */\n    );\n    data.set(\n      \"folder\",\n      23\n      /* CompletionItemKind.Folder */\n    );\n    data.set(\n      \"type-parameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"typeParameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"account\",\n      25\n      /* CompletionItemKind.User */\n    );\n    data.set(\n      \"issue\",\n      26\n      /* CompletionItemKind.Issue */\n    );\n    function fromString(value, strict) {\n      let res = data.get(value);\n      if (typeof res === \"undefined\" && !strict) {\n        res = 9;\n      }\n      return res;\n    }\n    CompletionItemKinds2.fromString = fromString;\n  })(CompletionItemKinds || (CompletionItemKinds = {}));\n  var InlineCompletionTriggerKind;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));\n  var DocumentPasteTriggerKind;\n  (function(DocumentPasteTriggerKind2) {\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"Automatic\"] = 0] = \"Automatic\";\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"PasteAs\"] = 1] = \"PasteAs\";\n  })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {}));\n  var SignatureHelpTriggerKind;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));\n  var DocumentHighlightKind;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind || (DocumentHighlightKind = {}));\n  var symbolKindNames = {\n    [\n      17\n      /* SymbolKind.Array */\n    ]: localize(\"Array\", \"array\"),\n    [\n      16\n      /* SymbolKind.Boolean */\n    ]: localize(\"Boolean\", \"boolean\"),\n    [\n      4\n      /* SymbolKind.Class */\n    ]: localize(\"Class\", \"class\"),\n    [\n      13\n      /* SymbolKind.Constant */\n    ]: localize(\"Constant\", \"constant\"),\n    [\n      8\n      /* SymbolKind.Constructor */\n    ]: localize(\"Constructor\", \"constructor\"),\n    [\n      9\n      /* SymbolKind.Enum */\n    ]: localize(\"Enum\", \"enumeration\"),\n    [\n      21\n      /* SymbolKind.EnumMember */\n    ]: localize(\"EnumMember\", \"enumeration member\"),\n    [\n      23\n      /* SymbolKind.Event */\n    ]: localize(\"Event\", \"event\"),\n    [\n      7\n      /* SymbolKind.Field */\n    ]: localize(\"Field\", \"field\"),\n    [\n      0\n      /* SymbolKind.File */\n    ]: localize(\"File\", \"file\"),\n    [\n      11\n      /* SymbolKind.Function */\n    ]: localize(\"Function\", \"function\"),\n    [\n      10\n      /* SymbolKind.Interface */\n    ]: localize(\"Interface\", \"interface\"),\n    [\n      19\n      /* SymbolKind.Key */\n    ]: localize(\"Key\", \"key\"),\n    [\n      5\n      /* SymbolKind.Method */\n    ]: localize(\"Method\", \"method\"),\n    [\n      1\n      /* SymbolKind.Module */\n    ]: localize(\"Module\", \"module\"),\n    [\n      2\n      /* SymbolKind.Namespace */\n    ]: localize(\"Namespace\", \"namespace\"),\n    [\n      20\n      /* SymbolKind.Null */\n    ]: localize(\"Null\", \"null\"),\n    [\n      15\n      /* SymbolKind.Number */\n    ]: localize(\"Number\", \"number\"),\n    [\n      18\n      /* SymbolKind.Object */\n    ]: localize(\"Object\", \"object\"),\n    [\n      24\n      /* SymbolKind.Operator */\n    ]: localize(\"Operator\", \"operator\"),\n    [\n      3\n      /* SymbolKind.Package */\n    ]: localize(\"Package\", \"package\"),\n    [\n      6\n      /* SymbolKind.Property */\n    ]: localize(\"Property\", \"property\"),\n    [\n      14\n      /* SymbolKind.String */\n    ]: localize(\"String\", \"string\"),\n    [\n      22\n      /* SymbolKind.Struct */\n    ]: localize(\"Struct\", \"struct\"),\n    [\n      25\n      /* SymbolKind.TypeParameter */\n    ]: localize(\"TypeParameter\", \"type parameter\"),\n    [\n      12\n      /* SymbolKind.Variable */\n    ]: localize(\"Variable\", \"variable\")\n  };\n  var SymbolKinds;\n  (function(SymbolKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolFile);\n    byKind.set(1, Codicon.symbolModule);\n    byKind.set(2, Codicon.symbolNamespace);\n    byKind.set(3, Codicon.symbolPackage);\n    byKind.set(4, Codicon.symbolClass);\n    byKind.set(5, Codicon.symbolMethod);\n    byKind.set(6, Codicon.symbolProperty);\n    byKind.set(7, Codicon.symbolField);\n    byKind.set(8, Codicon.symbolConstructor);\n    byKind.set(9, Codicon.symbolEnum);\n    byKind.set(10, Codicon.symbolInterface);\n    byKind.set(11, Codicon.symbolFunction);\n    byKind.set(12, Codicon.symbolVariable);\n    byKind.set(13, Codicon.symbolConstant);\n    byKind.set(14, Codicon.symbolString);\n    byKind.set(15, Codicon.symbolNumber);\n    byKind.set(16, Codicon.symbolBoolean);\n    byKind.set(17, Codicon.symbolArray);\n    byKind.set(18, Codicon.symbolObject);\n    byKind.set(19, Codicon.symbolKey);\n    byKind.set(20, Codicon.symbolNull);\n    byKind.set(21, Codicon.symbolEnumMember);\n    byKind.set(22, Codicon.symbolStruct);\n    byKind.set(23, Codicon.symbolEvent);\n    byKind.set(24, Codicon.symbolOperator);\n    byKind.set(25, Codicon.symbolTypeParameter);\n    function toIcon(kind) {\n      let icon = byKind.get(kind);\n      if (!icon) {\n        console.info(\"No codicon found for SymbolKind \" + kind);\n        icon = Codicon.symbolProperty;\n      }\n      return icon;\n    }\n    SymbolKinds2.toIcon = toIcon;\n  })(SymbolKinds || (SymbolKinds = {}));\n  var FoldingRangeKind = class _FoldingRangeKind {\n    /**\n     * Returns a {@link FoldingRangeKind} for the given value.\n     *\n     * @param value of the kind.\n     */\n    static fromValue(value) {\n      switch (value) {\n        case \"comment\":\n          return _FoldingRangeKind.Comment;\n        case \"imports\":\n          return _FoldingRangeKind.Imports;\n        case \"region\":\n          return _FoldingRangeKind.Region;\n      }\n      return new _FoldingRangeKind(value);\n    }\n    /**\n     * Creates a new {@link FoldingRangeKind}.\n     *\n     * @param value of the kind.\n     */\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  FoldingRangeKind.Comment = new FoldingRangeKind(\"comment\");\n  FoldingRangeKind.Imports = new FoldingRangeKind(\"imports\");\n  FoldingRangeKind.Region = new FoldingRangeKind(\"region\");\n  var NewSymbolNameTag;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag || (NewSymbolNameTag = {}));\n  var NewSymbolNameTriggerKind;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {}));\n  var Command;\n  (function(Command3) {\n    function is(obj) {\n      if (!obj || typeof obj !== \"object\") {\n        return false;\n      }\n      return typeof obj.id === \"string\" && typeof obj.title === \"string\";\n    }\n    Command3.is = is;\n  })(Command || (Command = {}));\n  var InlayHintKind;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind || (InlayHintKind = {}));\n  var TokenizationRegistry2 = new TokenizationRegistry();\n  var InlineEditTriggerKind;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind || (InlineEditTriggerKind = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js\n  var AccessibilitySupport;\n  (function(AccessibilitySupport2) {\n    AccessibilitySupport2[AccessibilitySupport2[\"Unknown\"] = 0] = \"Unknown\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Disabled\"] = 1] = \"Disabled\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Enabled\"] = 2] = \"Enabled\";\n  })(AccessibilitySupport || (AccessibilitySupport = {}));\n  var CodeActionTriggerType;\n  (function(CodeActionTriggerType2) {\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Invoke\"] = 1] = \"Invoke\";\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Auto\"] = 2] = \"Auto\";\n  })(CodeActionTriggerType || (CodeActionTriggerType = {}));\n  var CompletionItemInsertTextRule;\n  (function(CompletionItemInsertTextRule2) {\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"None\"] = 0] = \"None\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"KeepWhitespace\"] = 1] = \"KeepWhitespace\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"InsertAsSnippet\"] = 4] = \"InsertAsSnippet\";\n  })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));\n  var CompletionItemKind;\n  (function(CompletionItemKind3) {\n    CompletionItemKind3[CompletionItemKind3[\"Method\"] = 0] = \"Method\";\n    CompletionItemKind3[CompletionItemKind3[\"Function\"] = 1] = \"Function\";\n    CompletionItemKind3[CompletionItemKind3[\"Constructor\"] = 2] = \"Constructor\";\n    CompletionItemKind3[CompletionItemKind3[\"Field\"] = 3] = \"Field\";\n    CompletionItemKind3[CompletionItemKind3[\"Variable\"] = 4] = \"Variable\";\n    CompletionItemKind3[CompletionItemKind3[\"Class\"] = 5] = \"Class\";\n    CompletionItemKind3[CompletionItemKind3[\"Struct\"] = 6] = \"Struct\";\n    CompletionItemKind3[CompletionItemKind3[\"Interface\"] = 7] = \"Interface\";\n    CompletionItemKind3[CompletionItemKind3[\"Module\"] = 8] = \"Module\";\n    CompletionItemKind3[CompletionItemKind3[\"Property\"] = 9] = \"Property\";\n    CompletionItemKind3[CompletionItemKind3[\"Event\"] = 10] = \"Event\";\n    CompletionItemKind3[CompletionItemKind3[\"Operator\"] = 11] = \"Operator\";\n    CompletionItemKind3[CompletionItemKind3[\"Unit\"] = 12] = \"Unit\";\n    CompletionItemKind3[CompletionItemKind3[\"Value\"] = 13] = \"Value\";\n    CompletionItemKind3[CompletionItemKind3[\"Constant\"] = 14] = \"Constant\";\n    CompletionItemKind3[CompletionItemKind3[\"Enum\"] = 15] = \"Enum\";\n    CompletionItemKind3[CompletionItemKind3[\"EnumMember\"] = 16] = \"EnumMember\";\n    CompletionItemKind3[CompletionItemKind3[\"Keyword\"] = 17] = \"Keyword\";\n    CompletionItemKind3[CompletionItemKind3[\"Text\"] = 18] = \"Text\";\n    CompletionItemKind3[CompletionItemKind3[\"Color\"] = 19] = \"Color\";\n    CompletionItemKind3[CompletionItemKind3[\"File\"] = 20] = \"File\";\n    CompletionItemKind3[CompletionItemKind3[\"Reference\"] = 21] = \"Reference\";\n    CompletionItemKind3[CompletionItemKind3[\"Customcolor\"] = 22] = \"Customcolor\";\n    CompletionItemKind3[CompletionItemKind3[\"Folder\"] = 23] = \"Folder\";\n    CompletionItemKind3[CompletionItemKind3[\"TypeParameter\"] = 24] = \"TypeParameter\";\n    CompletionItemKind3[CompletionItemKind3[\"User\"] = 25] = \"User\";\n    CompletionItemKind3[CompletionItemKind3[\"Issue\"] = 26] = \"Issue\";\n    CompletionItemKind3[CompletionItemKind3[\"Snippet\"] = 27] = \"Snippet\";\n  })(CompletionItemKind || (CompletionItemKind = {}));\n  var CompletionItemTag;\n  (function(CompletionItemTag3) {\n    CompletionItemTag3[CompletionItemTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(CompletionItemTag || (CompletionItemTag = {}));\n  var CompletionTriggerKind;\n  (function(CompletionTriggerKind2) {\n    CompletionTriggerKind2[CompletionTriggerKind2[\"Invoke\"] = 0] = \"Invoke\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerCharacter\"] = 1] = \"TriggerCharacter\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerForIncompleteCompletions\"] = 2] = \"TriggerForIncompleteCompletions\";\n  })(CompletionTriggerKind || (CompletionTriggerKind = {}));\n  var ContentWidgetPositionPreference;\n  (function(ContentWidgetPositionPreference2) {\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"EXACT\"] = 0] = \"EXACT\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"ABOVE\"] = 1] = \"ABOVE\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"BELOW\"] = 2] = \"BELOW\";\n  })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));\n  var CursorChangeReason;\n  (function(CursorChangeReason2) {\n    CursorChangeReason2[CursorChangeReason2[\"NotSet\"] = 0] = \"NotSet\";\n    CursorChangeReason2[CursorChangeReason2[\"ContentFlush\"] = 1] = \"ContentFlush\";\n    CursorChangeReason2[CursorChangeReason2[\"RecoverFromMarkers\"] = 2] = \"RecoverFromMarkers\";\n    CursorChangeReason2[CursorChangeReason2[\"Explicit\"] = 3] = \"Explicit\";\n    CursorChangeReason2[CursorChangeReason2[\"Paste\"] = 4] = \"Paste\";\n    CursorChangeReason2[CursorChangeReason2[\"Undo\"] = 5] = \"Undo\";\n    CursorChangeReason2[CursorChangeReason2[\"Redo\"] = 6] = \"Redo\";\n  })(CursorChangeReason || (CursorChangeReason = {}));\n  var DefaultEndOfLine;\n  (function(DefaultEndOfLine2) {\n    DefaultEndOfLine2[DefaultEndOfLine2[\"LF\"] = 1] = \"LF\";\n    DefaultEndOfLine2[DefaultEndOfLine2[\"CRLF\"] = 2] = \"CRLF\";\n  })(DefaultEndOfLine || (DefaultEndOfLine = {}));\n  var DocumentHighlightKind2;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {}));\n  var EditorAutoIndentStrategy;\n  (function(EditorAutoIndentStrategy2) {\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"None\"] = 0] = \"None\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Keep\"] = 1] = \"Keep\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Brackets\"] = 2] = \"Brackets\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Advanced\"] = 3] = \"Advanced\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Full\"] = 4] = \"Full\";\n  })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));\n  var EditorOption;\n  (function(EditorOption2) {\n    EditorOption2[EditorOption2[\"acceptSuggestionOnCommitCharacter\"] = 0] = \"acceptSuggestionOnCommitCharacter\";\n    EditorOption2[EditorOption2[\"acceptSuggestionOnEnter\"] = 1] = \"acceptSuggestionOnEnter\";\n    EditorOption2[EditorOption2[\"accessibilitySupport\"] = 2] = \"accessibilitySupport\";\n    EditorOption2[EditorOption2[\"accessibilityPageSize\"] = 3] = \"accessibilityPageSize\";\n    EditorOption2[EditorOption2[\"ariaLabel\"] = 4] = \"ariaLabel\";\n    EditorOption2[EditorOption2[\"ariaRequired\"] = 5] = \"ariaRequired\";\n    EditorOption2[EditorOption2[\"autoClosingBrackets\"] = 6] = \"autoClosingBrackets\";\n    EditorOption2[EditorOption2[\"autoClosingComments\"] = 7] = \"autoClosingComments\";\n    EditorOption2[EditorOption2[\"screenReaderAnnounceInlineSuggestion\"] = 8] = \"screenReaderAnnounceInlineSuggestion\";\n    EditorOption2[EditorOption2[\"autoClosingDelete\"] = 9] = \"autoClosingDelete\";\n    EditorOption2[EditorOption2[\"autoClosingOvertype\"] = 10] = \"autoClosingOvertype\";\n    EditorOption2[EditorOption2[\"autoClosingQuotes\"] = 11] = \"autoClosingQuotes\";\n    EditorOption2[EditorOption2[\"autoIndent\"] = 12] = \"autoIndent\";\n    EditorOption2[EditorOption2[\"automaticLayout\"] = 13] = \"automaticLayout\";\n    EditorOption2[EditorOption2[\"autoSurround\"] = 14] = \"autoSurround\";\n    EditorOption2[EditorOption2[\"bracketPairColorization\"] = 15] = \"bracketPairColorization\";\n    EditorOption2[EditorOption2[\"guides\"] = 16] = \"guides\";\n    EditorOption2[EditorOption2[\"codeLens\"] = 17] = \"codeLens\";\n    EditorOption2[EditorOption2[\"codeLensFontFamily\"] = 18] = \"codeLensFontFamily\";\n    EditorOption2[EditorOption2[\"codeLensFontSize\"] = 19] = \"codeLensFontSize\";\n    EditorOption2[EditorOption2[\"colorDecorators\"] = 20] = \"colorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsLimit\"] = 21] = \"colorDecoratorsLimit\";\n    EditorOption2[EditorOption2[\"columnSelection\"] = 22] = \"columnSelection\";\n    EditorOption2[EditorOption2[\"comments\"] = 23] = \"comments\";\n    EditorOption2[EditorOption2[\"contextmenu\"] = 24] = \"contextmenu\";\n    EditorOption2[EditorOption2[\"copyWithSyntaxHighlighting\"] = 25] = \"copyWithSyntaxHighlighting\";\n    EditorOption2[EditorOption2[\"cursorBlinking\"] = 26] = \"cursorBlinking\";\n    EditorOption2[EditorOption2[\"cursorSmoothCaretAnimation\"] = 27] = \"cursorSmoothCaretAnimation\";\n    EditorOption2[EditorOption2[\"cursorStyle\"] = 28] = \"cursorStyle\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLines\"] = 29] = \"cursorSurroundingLines\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLinesStyle\"] = 30] = \"cursorSurroundingLinesStyle\";\n    EditorOption2[EditorOption2[\"cursorWidth\"] = 31] = \"cursorWidth\";\n    EditorOption2[EditorOption2[\"disableLayerHinting\"] = 32] = \"disableLayerHinting\";\n    EditorOption2[EditorOption2[\"disableMonospaceOptimizations\"] = 33] = \"disableMonospaceOptimizations\";\n    EditorOption2[EditorOption2[\"domReadOnly\"] = 34] = \"domReadOnly\";\n    EditorOption2[EditorOption2[\"dragAndDrop\"] = 35] = \"dragAndDrop\";\n    EditorOption2[EditorOption2[\"dropIntoEditor\"] = 36] = \"dropIntoEditor\";\n    EditorOption2[EditorOption2[\"emptySelectionClipboard\"] = 37] = \"emptySelectionClipboard\";\n    EditorOption2[EditorOption2[\"experimentalWhitespaceRendering\"] = 38] = \"experimentalWhitespaceRendering\";\n    EditorOption2[EditorOption2[\"extraEditorClassName\"] = 39] = \"extraEditorClassName\";\n    EditorOption2[EditorOption2[\"fastScrollSensitivity\"] = 40] = \"fastScrollSensitivity\";\n    EditorOption2[EditorOption2[\"find\"] = 41] = \"find\";\n    EditorOption2[EditorOption2[\"fixedOverflowWidgets\"] = 42] = \"fixedOverflowWidgets\";\n    EditorOption2[EditorOption2[\"folding\"] = 43] = \"folding\";\n    EditorOption2[EditorOption2[\"foldingStrategy\"] = 44] = \"foldingStrategy\";\n    EditorOption2[EditorOption2[\"foldingHighlight\"] = 45] = \"foldingHighlight\";\n    EditorOption2[EditorOption2[\"foldingImportsByDefault\"] = 46] = \"foldingImportsByDefault\";\n    EditorOption2[EditorOption2[\"foldingMaximumRegions\"] = 47] = \"foldingMaximumRegions\";\n    EditorOption2[EditorOption2[\"unfoldOnClickAfterEndOfLine\"] = 48] = \"unfoldOnClickAfterEndOfLine\";\n    EditorOption2[EditorOption2[\"fontFamily\"] = 49] = \"fontFamily\";\n    EditorOption2[EditorOption2[\"fontInfo\"] = 50] = \"fontInfo\";\n    EditorOption2[EditorOption2[\"fontLigatures\"] = 51] = \"fontLigatures\";\n    EditorOption2[EditorOption2[\"fontSize\"] = 52] = \"fontSize\";\n    EditorOption2[EditorOption2[\"fontWeight\"] = 53] = \"fontWeight\";\n    EditorOption2[EditorOption2[\"fontVariations\"] = 54] = \"fontVariations\";\n    EditorOption2[EditorOption2[\"formatOnPaste\"] = 55] = \"formatOnPaste\";\n    EditorOption2[EditorOption2[\"formatOnType\"] = 56] = \"formatOnType\";\n    EditorOption2[EditorOption2[\"glyphMargin\"] = 57] = \"glyphMargin\";\n    EditorOption2[EditorOption2[\"gotoLocation\"] = 58] = \"gotoLocation\";\n    EditorOption2[EditorOption2[\"hideCursorInOverviewRuler\"] = 59] = \"hideCursorInOverviewRuler\";\n    EditorOption2[EditorOption2[\"hover\"] = 60] = \"hover\";\n    EditorOption2[EditorOption2[\"inDiffEditor\"] = 61] = \"inDiffEditor\";\n    EditorOption2[EditorOption2[\"inlineSuggest\"] = 62] = \"inlineSuggest\";\n    EditorOption2[EditorOption2[\"inlineEdit\"] = 63] = \"inlineEdit\";\n    EditorOption2[EditorOption2[\"letterSpacing\"] = 64] = \"letterSpacing\";\n    EditorOption2[EditorOption2[\"lightbulb\"] = 65] = \"lightbulb\";\n    EditorOption2[EditorOption2[\"lineDecorationsWidth\"] = 66] = \"lineDecorationsWidth\";\n    EditorOption2[EditorOption2[\"lineHeight\"] = 67] = \"lineHeight\";\n    EditorOption2[EditorOption2[\"lineNumbers\"] = 68] = \"lineNumbers\";\n    EditorOption2[EditorOption2[\"lineNumbersMinChars\"] = 69] = \"lineNumbersMinChars\";\n    EditorOption2[EditorOption2[\"linkedEditing\"] = 70] = \"linkedEditing\";\n    EditorOption2[EditorOption2[\"links\"] = 71] = \"links\";\n    EditorOption2[EditorOption2[\"matchBrackets\"] = 72] = \"matchBrackets\";\n    EditorOption2[EditorOption2[\"minimap\"] = 73] = \"minimap\";\n    EditorOption2[EditorOption2[\"mouseStyle\"] = 74] = \"mouseStyle\";\n    EditorOption2[EditorOption2[\"mouseWheelScrollSensitivity\"] = 75] = \"mouseWheelScrollSensitivity\";\n    EditorOption2[EditorOption2[\"mouseWheelZoom\"] = 76] = \"mouseWheelZoom\";\n    EditorOption2[EditorOption2[\"multiCursorMergeOverlapping\"] = 77] = \"multiCursorMergeOverlapping\";\n    EditorOption2[EditorOption2[\"multiCursorModifier\"] = 78] = \"multiCursorModifier\";\n    EditorOption2[EditorOption2[\"multiCursorPaste\"] = 79] = \"multiCursorPaste\";\n    EditorOption2[EditorOption2[\"multiCursorLimit\"] = 80] = \"multiCursorLimit\";\n    EditorOption2[EditorOption2[\"occurrencesHighlight\"] = 81] = \"occurrencesHighlight\";\n    EditorOption2[EditorOption2[\"overviewRulerBorder\"] = 82] = \"overviewRulerBorder\";\n    EditorOption2[EditorOption2[\"overviewRulerLanes\"] = 83] = \"overviewRulerLanes\";\n    EditorOption2[EditorOption2[\"padding\"] = 84] = \"padding\";\n    EditorOption2[EditorOption2[\"pasteAs\"] = 85] = \"pasteAs\";\n    EditorOption2[EditorOption2[\"parameterHints\"] = 86] = \"parameterHints\";\n    EditorOption2[EditorOption2[\"peekWidgetDefaultFocus\"] = 87] = \"peekWidgetDefaultFocus\";\n    EditorOption2[EditorOption2[\"definitionLinkOpensInPeek\"] = 88] = \"definitionLinkOpensInPeek\";\n    EditorOption2[EditorOption2[\"quickSuggestions\"] = 89] = \"quickSuggestions\";\n    EditorOption2[EditorOption2[\"quickSuggestionsDelay\"] = 90] = \"quickSuggestionsDelay\";\n    EditorOption2[EditorOption2[\"readOnly\"] = 91] = \"readOnly\";\n    EditorOption2[EditorOption2[\"readOnlyMessage\"] = 92] = \"readOnlyMessage\";\n    EditorOption2[EditorOption2[\"renameOnType\"] = 93] = \"renameOnType\";\n    EditorOption2[EditorOption2[\"renderControlCharacters\"] = 94] = \"renderControlCharacters\";\n    EditorOption2[EditorOption2[\"renderFinalNewline\"] = 95] = \"renderFinalNewline\";\n    EditorOption2[EditorOption2[\"renderLineHighlight\"] = 96] = \"renderLineHighlight\";\n    EditorOption2[EditorOption2[\"renderLineHighlightOnlyWhenFocus\"] = 97] = \"renderLineHighlightOnlyWhenFocus\";\n    EditorOption2[EditorOption2[\"renderValidationDecorations\"] = 98] = \"renderValidationDecorations\";\n    EditorOption2[EditorOption2[\"renderWhitespace\"] = 99] = \"renderWhitespace\";\n    EditorOption2[EditorOption2[\"revealHorizontalRightPadding\"] = 100] = \"revealHorizontalRightPadding\";\n    EditorOption2[EditorOption2[\"roundedSelection\"] = 101] = \"roundedSelection\";\n    EditorOption2[EditorOption2[\"rulers\"] = 102] = \"rulers\";\n    EditorOption2[EditorOption2[\"scrollbar\"] = 103] = \"scrollbar\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastColumn\"] = 104] = \"scrollBeyondLastColumn\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastLine\"] = 105] = \"scrollBeyondLastLine\";\n    EditorOption2[EditorOption2[\"scrollPredominantAxis\"] = 106] = \"scrollPredominantAxis\";\n    EditorOption2[EditorOption2[\"selectionClipboard\"] = 107] = \"selectionClipboard\";\n    EditorOption2[EditorOption2[\"selectionHighlight\"] = 108] = \"selectionHighlight\";\n    EditorOption2[EditorOption2[\"selectOnLineNumbers\"] = 109] = \"selectOnLineNumbers\";\n    EditorOption2[EditorOption2[\"showFoldingControls\"] = 110] = \"showFoldingControls\";\n    EditorOption2[EditorOption2[\"showUnused\"] = 111] = \"showUnused\";\n    EditorOption2[EditorOption2[\"snippetSuggestions\"] = 112] = \"snippetSuggestions\";\n    EditorOption2[EditorOption2[\"smartSelect\"] = 113] = \"smartSelect\";\n    EditorOption2[EditorOption2[\"smoothScrolling\"] = 114] = \"smoothScrolling\";\n    EditorOption2[EditorOption2[\"stickyScroll\"] = 115] = \"stickyScroll\";\n    EditorOption2[EditorOption2[\"stickyTabStops\"] = 116] = \"stickyTabStops\";\n    EditorOption2[EditorOption2[\"stopRenderingLineAfter\"] = 117] = \"stopRenderingLineAfter\";\n    EditorOption2[EditorOption2[\"suggest\"] = 118] = \"suggest\";\n    EditorOption2[EditorOption2[\"suggestFontSize\"] = 119] = \"suggestFontSize\";\n    EditorOption2[EditorOption2[\"suggestLineHeight\"] = 120] = \"suggestLineHeight\";\n    EditorOption2[EditorOption2[\"suggestOnTriggerCharacters\"] = 121] = \"suggestOnTriggerCharacters\";\n    EditorOption2[EditorOption2[\"suggestSelection\"] = 122] = \"suggestSelection\";\n    EditorOption2[EditorOption2[\"tabCompletion\"] = 123] = \"tabCompletion\";\n    EditorOption2[EditorOption2[\"tabIndex\"] = 124] = \"tabIndex\";\n    EditorOption2[EditorOption2[\"unicodeHighlighting\"] = 125] = \"unicodeHighlighting\";\n    EditorOption2[EditorOption2[\"unusualLineTerminators\"] = 126] = \"unusualLineTerminators\";\n    EditorOption2[EditorOption2[\"useShadowDOM\"] = 127] = \"useShadowDOM\";\n    EditorOption2[EditorOption2[\"useTabStops\"] = 128] = \"useTabStops\";\n    EditorOption2[EditorOption2[\"wordBreak\"] = 129] = \"wordBreak\";\n    EditorOption2[EditorOption2[\"wordSegmenterLocales\"] = 130] = \"wordSegmenterLocales\";\n    EditorOption2[EditorOption2[\"wordSeparators\"] = 131] = \"wordSeparators\";\n    EditorOption2[EditorOption2[\"wordWrap\"] = 132] = \"wordWrap\";\n    EditorOption2[EditorOption2[\"wordWrapBreakAfterCharacters\"] = 133] = \"wordWrapBreakAfterCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapBreakBeforeCharacters\"] = 134] = \"wordWrapBreakBeforeCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapColumn\"] = 135] = \"wordWrapColumn\";\n    EditorOption2[EditorOption2[\"wordWrapOverride1\"] = 136] = \"wordWrapOverride1\";\n    EditorOption2[EditorOption2[\"wordWrapOverride2\"] = 137] = \"wordWrapOverride2\";\n    EditorOption2[EditorOption2[\"wrappingIndent\"] = 138] = \"wrappingIndent\";\n    EditorOption2[EditorOption2[\"wrappingStrategy\"] = 139] = \"wrappingStrategy\";\n    EditorOption2[EditorOption2[\"showDeprecated\"] = 140] = \"showDeprecated\";\n    EditorOption2[EditorOption2[\"inlayHints\"] = 141] = \"inlayHints\";\n    EditorOption2[EditorOption2[\"editorClassName\"] = 142] = \"editorClassName\";\n    EditorOption2[EditorOption2[\"pixelRatio\"] = 143] = \"pixelRatio\";\n    EditorOption2[EditorOption2[\"tabFocusMode\"] = 144] = \"tabFocusMode\";\n    EditorOption2[EditorOption2[\"layoutInfo\"] = 145] = \"layoutInfo\";\n    EditorOption2[EditorOption2[\"wrappingInfo\"] = 146] = \"wrappingInfo\";\n    EditorOption2[EditorOption2[\"defaultColorDecorators\"] = 147] = \"defaultColorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsActivatedOn\"] = 148] = \"colorDecoratorsActivatedOn\";\n    EditorOption2[EditorOption2[\"inlineCompletionsAccessibilityVerbose\"] = 149] = \"inlineCompletionsAccessibilityVerbose\";\n  })(EditorOption || (EditorOption = {}));\n  var EndOfLinePreference;\n  (function(EndOfLinePreference2) {\n    EndOfLinePreference2[EndOfLinePreference2[\"TextDefined\"] = 0] = \"TextDefined\";\n    EndOfLinePreference2[EndOfLinePreference2[\"LF\"] = 1] = \"LF\";\n    EndOfLinePreference2[EndOfLinePreference2[\"CRLF\"] = 2] = \"CRLF\";\n  })(EndOfLinePreference || (EndOfLinePreference = {}));\n  var EndOfLineSequence;\n  (function(EndOfLineSequence2) {\n    EndOfLineSequence2[EndOfLineSequence2[\"LF\"] = 0] = \"LF\";\n    EndOfLineSequence2[EndOfLineSequence2[\"CRLF\"] = 1] = \"CRLF\";\n  })(EndOfLineSequence || (EndOfLineSequence = {}));\n  var GlyphMarginLane;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane || (GlyphMarginLane = {}));\n  var HoverVerbosityAction2;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {}));\n  var IndentAction;\n  (function(IndentAction2) {\n    IndentAction2[IndentAction2[\"None\"] = 0] = \"None\";\n    IndentAction2[IndentAction2[\"Indent\"] = 1] = \"Indent\";\n    IndentAction2[IndentAction2[\"IndentOutdent\"] = 2] = \"IndentOutdent\";\n    IndentAction2[IndentAction2[\"Outdent\"] = 3] = \"Outdent\";\n  })(IndentAction || (IndentAction = {}));\n  var InjectedTextCursorStops;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops || (InjectedTextCursorStops = {}));\n  var InlayHintKind2;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind2 || (InlayHintKind2 = {}));\n  var InlineCompletionTriggerKind2;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {}));\n  var InlineEditTriggerKind2;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {}));\n  var KeyCode;\n  (function(KeyCode2) {\n    KeyCode2[KeyCode2[\"DependsOnKbLayout\"] = -1] = \"DependsOnKbLayout\";\n    KeyCode2[KeyCode2[\"Unknown\"] = 0] = \"Unknown\";\n    KeyCode2[KeyCode2[\"Backspace\"] = 1] = \"Backspace\";\n    KeyCode2[KeyCode2[\"Tab\"] = 2] = \"Tab\";\n    KeyCode2[KeyCode2[\"Enter\"] = 3] = \"Enter\";\n    KeyCode2[KeyCode2[\"Shift\"] = 4] = \"Shift\";\n    KeyCode2[KeyCode2[\"Ctrl\"] = 5] = \"Ctrl\";\n    KeyCode2[KeyCode2[\"Alt\"] = 6] = \"Alt\";\n    KeyCode2[KeyCode2[\"PauseBreak\"] = 7] = \"PauseBreak\";\n    KeyCode2[KeyCode2[\"CapsLock\"] = 8] = \"CapsLock\";\n    KeyCode2[KeyCode2[\"Escape\"] = 9] = \"Escape\";\n    KeyCode2[KeyCode2[\"Space\"] = 10] = \"Space\";\n    KeyCode2[KeyCode2[\"PageUp\"] = 11] = \"PageUp\";\n    KeyCode2[KeyCode2[\"PageDown\"] = 12] = \"PageDown\";\n    KeyCode2[KeyCode2[\"End\"] = 13] = \"End\";\n    KeyCode2[KeyCode2[\"Home\"] = 14] = \"Home\";\n    KeyCode2[KeyCode2[\"LeftArrow\"] = 15] = \"LeftArrow\";\n    KeyCode2[KeyCode2[\"UpArrow\"] = 16] = \"UpArrow\";\n    KeyCode2[KeyCode2[\"RightArrow\"] = 17] = \"RightArrow\";\n    KeyCode2[KeyCode2[\"DownArrow\"] = 18] = \"DownArrow\";\n    KeyCode2[KeyCode2[\"Insert\"] = 19] = \"Insert\";\n    KeyCode2[KeyCode2[\"Delete\"] = 20] = \"Delete\";\n    KeyCode2[KeyCode2[\"Digit0\"] = 21] = \"Digit0\";\n    KeyCode2[KeyCode2[\"Digit1\"] = 22] = \"Digit1\";\n    KeyCode2[KeyCode2[\"Digit2\"] = 23] = \"Digit2\";\n    KeyCode2[KeyCode2[\"Digit3\"] = 24] = \"Digit3\";\n    KeyCode2[KeyCode2[\"Digit4\"] = 25] = \"Digit4\";\n    KeyCode2[KeyCode2[\"Digit5\"] = 26] = \"Digit5\";\n    KeyCode2[KeyCode2[\"Digit6\"] = 27] = \"Digit6\";\n    KeyCode2[KeyCode2[\"Digit7\"] = 28] = \"Digit7\";\n    KeyCode2[KeyCode2[\"Digit8\"] = 29] = \"Digit8\";\n    KeyCode2[KeyCode2[\"Digit9\"] = 30] = \"Digit9\";\n    KeyCode2[KeyCode2[\"KeyA\"] = 31] = \"KeyA\";\n    KeyCode2[KeyCode2[\"KeyB\"] = 32] = \"KeyB\";\n    KeyCode2[KeyCode2[\"KeyC\"] = 33] = \"KeyC\";\n    KeyCode2[KeyCode2[\"KeyD\"] = 34] = \"KeyD\";\n    KeyCode2[KeyCode2[\"KeyE\"] = 35] = \"KeyE\";\n    KeyCode2[KeyCode2[\"KeyF\"] = 36] = \"KeyF\";\n    KeyCode2[KeyCode2[\"KeyG\"] = 37] = \"KeyG\";\n    KeyCode2[KeyCode2[\"KeyH\"] = 38] = \"KeyH\";\n    KeyCode2[KeyCode2[\"KeyI\"] = 39] = \"KeyI\";\n    KeyCode2[KeyCode2[\"KeyJ\"] = 40] = \"KeyJ\";\n    KeyCode2[KeyCode2[\"KeyK\"] = 41] = \"KeyK\";\n    KeyCode2[KeyCode2[\"KeyL\"] = 42] = \"KeyL\";\n    KeyCode2[KeyCode2[\"KeyM\"] = 43] = \"KeyM\";\n    KeyCode2[KeyCode2[\"KeyN\"] = 44] = \"KeyN\";\n    KeyCode2[KeyCode2[\"KeyO\"] = 45] = \"KeyO\";\n    KeyCode2[KeyCode2[\"KeyP\"] = 46] = \"KeyP\";\n    KeyCode2[KeyCode2[\"KeyQ\"] = 47] = \"KeyQ\";\n    KeyCode2[KeyCode2[\"KeyR\"] = 48] = \"KeyR\";\n    KeyCode2[KeyCode2[\"KeyS\"] = 49] = \"KeyS\";\n    KeyCode2[KeyCode2[\"KeyT\"] = 50] = \"KeyT\";\n    KeyCode2[KeyCode2[\"KeyU\"] = 51] = \"KeyU\";\n    KeyCode2[KeyCode2[\"KeyV\"] = 52] = \"KeyV\";\n    KeyCode2[KeyCode2[\"KeyW\"] = 53] = \"KeyW\";\n    KeyCode2[KeyCode2[\"KeyX\"] = 54] = \"KeyX\";\n    KeyCode2[KeyCode2[\"KeyY\"] = 55] = \"KeyY\";\n    KeyCode2[KeyCode2[\"KeyZ\"] = 56] = \"KeyZ\";\n    KeyCode2[KeyCode2[\"Meta\"] = 57] = \"Meta\";\n    KeyCode2[KeyCode2[\"ContextMenu\"] = 58] = \"ContextMenu\";\n    KeyCode2[KeyCode2[\"F1\"] = 59] = \"F1\";\n    KeyCode2[KeyCode2[\"F2\"] = 60] = \"F2\";\n    KeyCode2[KeyCode2[\"F3\"] = 61] = \"F3\";\n    KeyCode2[KeyCode2[\"F4\"] = 62] = \"F4\";\n    KeyCode2[KeyCode2[\"F5\"] = 63] = \"F5\";\n    KeyCode2[KeyCode2[\"F6\"] = 64] = \"F6\";\n    KeyCode2[KeyCode2[\"F7\"] = 65] = \"F7\";\n    KeyCode2[KeyCode2[\"F8\"] = 66] = \"F8\";\n    KeyCode2[KeyCode2[\"F9\"] = 67] = \"F9\";\n    KeyCode2[KeyCode2[\"F10\"] = 68] = \"F10\";\n    KeyCode2[KeyCode2[\"F11\"] = 69] = \"F11\";\n    KeyCode2[KeyCode2[\"F12\"] = 70] = \"F12\";\n    KeyCode2[KeyCode2[\"F13\"] = 71] = \"F13\";\n    KeyCode2[KeyCode2[\"F14\"] = 72] = \"F14\";\n    KeyCode2[KeyCode2[\"F15\"] = 73] = \"F15\";\n    KeyCode2[KeyCode2[\"F16\"] = 74] = \"F16\";\n    KeyCode2[KeyCode2[\"F17\"] = 75] = \"F17\";\n    KeyCode2[KeyCode2[\"F18\"] = 76] = \"F18\";\n    KeyCode2[KeyCode2[\"F19\"] = 77] = \"F19\";\n    KeyCode2[KeyCode2[\"F20\"] = 78] = \"F20\";\n    KeyCode2[KeyCode2[\"F21\"] = 79] = \"F21\";\n    KeyCode2[KeyCode2[\"F22\"] = 80] = \"F22\";\n    KeyCode2[KeyCode2[\"F23\"] = 81] = \"F23\";\n    KeyCode2[KeyCode2[\"F24\"] = 82] = \"F24\";\n    KeyCode2[KeyCode2[\"NumLock\"] = 83] = \"NumLock\";\n    KeyCode2[KeyCode2[\"ScrollLock\"] = 84] = \"ScrollLock\";\n    KeyCode2[KeyCode2[\"Semicolon\"] = 85] = \"Semicolon\";\n    KeyCode2[KeyCode2[\"Equal\"] = 86] = \"Equal\";\n    KeyCode2[KeyCode2[\"Comma\"] = 87] = \"Comma\";\n    KeyCode2[KeyCode2[\"Minus\"] = 88] = \"Minus\";\n    KeyCode2[KeyCode2[\"Period\"] = 89] = \"Period\";\n    KeyCode2[KeyCode2[\"Slash\"] = 90] = \"Slash\";\n    KeyCode2[KeyCode2[\"Backquote\"] = 91] = \"Backquote\";\n    KeyCode2[KeyCode2[\"BracketLeft\"] = 92] = \"BracketLeft\";\n    KeyCode2[KeyCode2[\"Backslash\"] = 93] = \"Backslash\";\n    KeyCode2[KeyCode2[\"BracketRight\"] = 94] = \"BracketRight\";\n    KeyCode2[KeyCode2[\"Quote\"] = 95] = \"Quote\";\n    KeyCode2[KeyCode2[\"OEM_8\"] = 96] = \"OEM_8\";\n    KeyCode2[KeyCode2[\"IntlBackslash\"] = 97] = \"IntlBackslash\";\n    KeyCode2[KeyCode2[\"Numpad0\"] = 98] = \"Numpad0\";\n    KeyCode2[KeyCode2[\"Numpad1\"] = 99] = \"Numpad1\";\n    KeyCode2[KeyCode2[\"Numpad2\"] = 100] = \"Numpad2\";\n    KeyCode2[KeyCode2[\"Numpad3\"] = 101] = \"Numpad3\";\n    KeyCode2[KeyCode2[\"Numpad4\"] = 102] = \"Numpad4\";\n    KeyCode2[KeyCode2[\"Numpad5\"] = 103] = \"Numpad5\";\n    KeyCode2[KeyCode2[\"Numpad6\"] = 104] = \"Numpad6\";\n    KeyCode2[KeyCode2[\"Numpad7\"] = 105] = \"Numpad7\";\n    KeyCode2[KeyCode2[\"Numpad8\"] = 106] = \"Numpad8\";\n    KeyCode2[KeyCode2[\"Numpad9\"] = 107] = \"Numpad9\";\n    KeyCode2[KeyCode2[\"NumpadMultiply\"] = 108] = \"NumpadMultiply\";\n    KeyCode2[KeyCode2[\"NumpadAdd\"] = 109] = \"NumpadAdd\";\n    KeyCode2[KeyCode2[\"NUMPAD_SEPARATOR\"] = 110] = \"NUMPAD_SEPARATOR\";\n    KeyCode2[KeyCode2[\"NumpadSubtract\"] = 111] = \"NumpadSubtract\";\n    KeyCode2[KeyCode2[\"NumpadDecimal\"] = 112] = \"NumpadDecimal\";\n    KeyCode2[KeyCode2[\"NumpadDivide\"] = 113] = \"NumpadDivide\";\n    KeyCode2[KeyCode2[\"KEY_IN_COMPOSITION\"] = 114] = \"KEY_IN_COMPOSITION\";\n    KeyCode2[KeyCode2[\"ABNT_C1\"] = 115] = \"ABNT_C1\";\n    KeyCode2[KeyCode2[\"ABNT_C2\"] = 116] = \"ABNT_C2\";\n    KeyCode2[KeyCode2[\"AudioVolumeMute\"] = 117] = \"AudioVolumeMute\";\n    KeyCode2[KeyCode2[\"AudioVolumeUp\"] = 118] = \"AudioVolumeUp\";\n    KeyCode2[KeyCode2[\"AudioVolumeDown\"] = 119] = \"AudioVolumeDown\";\n    KeyCode2[KeyCode2[\"BrowserSearch\"] = 120] = \"BrowserSearch\";\n    KeyCode2[KeyCode2[\"BrowserHome\"] = 121] = \"BrowserHome\";\n    KeyCode2[KeyCode2[\"BrowserBack\"] = 122] = \"BrowserBack\";\n    KeyCode2[KeyCode2[\"BrowserForward\"] = 123] = \"BrowserForward\";\n    KeyCode2[KeyCode2[\"MediaTrackNext\"] = 124] = \"MediaTrackNext\";\n    KeyCode2[KeyCode2[\"MediaTrackPrevious\"] = 125] = \"MediaTrackPrevious\";\n    KeyCode2[KeyCode2[\"MediaStop\"] = 126] = \"MediaStop\";\n    KeyCode2[KeyCode2[\"MediaPlayPause\"] = 127] = \"MediaPlayPause\";\n    KeyCode2[KeyCode2[\"LaunchMediaPlayer\"] = 128] = \"LaunchMediaPlayer\";\n    KeyCode2[KeyCode2[\"LaunchMail\"] = 129] = \"LaunchMail\";\n    KeyCode2[KeyCode2[\"LaunchApp2\"] = 130] = \"LaunchApp2\";\n    KeyCode2[KeyCode2[\"Clear\"] = 131] = \"Clear\";\n    KeyCode2[KeyCode2[\"MAX_VALUE\"] = 132] = \"MAX_VALUE\";\n  })(KeyCode || (KeyCode = {}));\n  var MarkerSeverity;\n  (function(MarkerSeverity2) {\n    MarkerSeverity2[MarkerSeverity2[\"Hint\"] = 1] = \"Hint\";\n    MarkerSeverity2[MarkerSeverity2[\"Info\"] = 2] = \"Info\";\n    MarkerSeverity2[MarkerSeverity2[\"Warning\"] = 4] = \"Warning\";\n    MarkerSeverity2[MarkerSeverity2[\"Error\"] = 8] = \"Error\";\n  })(MarkerSeverity || (MarkerSeverity = {}));\n  var MarkerTag;\n  (function(MarkerTag2) {\n    MarkerTag2[MarkerTag2[\"Unnecessary\"] = 1] = \"Unnecessary\";\n    MarkerTag2[MarkerTag2[\"Deprecated\"] = 2] = \"Deprecated\";\n  })(MarkerTag || (MarkerTag = {}));\n  var MinimapPosition;\n  (function(MinimapPosition2) {\n    MinimapPosition2[MinimapPosition2[\"Inline\"] = 1] = \"Inline\";\n    MinimapPosition2[MinimapPosition2[\"Gutter\"] = 2] = \"Gutter\";\n  })(MinimapPosition || (MinimapPosition = {}));\n  var MinimapSectionHeaderStyle;\n  (function(MinimapSectionHeaderStyle2) {\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Normal\"] = 1] = \"Normal\";\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Underlined\"] = 2] = \"Underlined\";\n  })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));\n  var MouseTargetType;\n  (function(MouseTargetType2) {\n    MouseTargetType2[MouseTargetType2[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n    MouseTargetType2[MouseTargetType2[\"TEXTAREA\"] = 1] = \"TEXTAREA\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_GLYPH_MARGIN\"] = 2] = \"GUTTER_GLYPH_MARGIN\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_NUMBERS\"] = 3] = \"GUTTER_LINE_NUMBERS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_DECORATIONS\"] = 4] = \"GUTTER_LINE_DECORATIONS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_VIEW_ZONE\"] = 5] = \"GUTTER_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_TEXT\"] = 6] = \"CONTENT_TEXT\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_EMPTY\"] = 7] = \"CONTENT_EMPTY\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_VIEW_ZONE\"] = 8] = \"CONTENT_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_WIDGET\"] = 9] = \"CONTENT_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OVERVIEW_RULER\"] = 10] = \"OVERVIEW_RULER\";\n    MouseTargetType2[MouseTargetType2[\"SCROLLBAR\"] = 11] = \"SCROLLBAR\";\n    MouseTargetType2[MouseTargetType2[\"OVERLAY_WIDGET\"] = 12] = \"OVERLAY_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OUTSIDE_EDITOR\"] = 13] = \"OUTSIDE_EDITOR\";\n  })(MouseTargetType || (MouseTargetType = {}));\n  var NewSymbolNameTag2;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {}));\n  var NewSymbolNameTriggerKind2;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {}));\n  var OverlayWidgetPositionPreference;\n  (function(OverlayWidgetPositionPreference2) {\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_RIGHT_CORNER\"] = 0] = \"TOP_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"BOTTOM_RIGHT_CORNER\"] = 1] = \"BOTTOM_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_CENTER\"] = 2] = \"TOP_CENTER\";\n  })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));\n  var OverviewRulerLane;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane || (OverviewRulerLane = {}));\n  var PartialAcceptTriggerKind;\n  (function(PartialAcceptTriggerKind2) {\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Word\"] = 0] = \"Word\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Line\"] = 1] = \"Line\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Suggest\"] = 2] = \"Suggest\";\n  })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));\n  var PositionAffinity;\n  (function(PositionAffinity2) {\n    PositionAffinity2[PositionAffinity2[\"Left\"] = 0] = \"Left\";\n    PositionAffinity2[PositionAffinity2[\"Right\"] = 1] = \"Right\";\n    PositionAffinity2[PositionAffinity2[\"None\"] = 2] = \"None\";\n    PositionAffinity2[PositionAffinity2[\"LeftOfInjectedText\"] = 3] = \"LeftOfInjectedText\";\n    PositionAffinity2[PositionAffinity2[\"RightOfInjectedText\"] = 4] = \"RightOfInjectedText\";\n  })(PositionAffinity || (PositionAffinity = {}));\n  var RenderLineNumbersType;\n  (function(RenderLineNumbersType2) {\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Off\"] = 0] = \"Off\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"On\"] = 1] = \"On\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Relative\"] = 2] = \"Relative\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Interval\"] = 3] = \"Interval\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Custom\"] = 4] = \"Custom\";\n  })(RenderLineNumbersType || (RenderLineNumbersType = {}));\n  var RenderMinimap;\n  (function(RenderMinimap2) {\n    RenderMinimap2[RenderMinimap2[\"None\"] = 0] = \"None\";\n    RenderMinimap2[RenderMinimap2[\"Text\"] = 1] = \"Text\";\n    RenderMinimap2[RenderMinimap2[\"Blocks\"] = 2] = \"Blocks\";\n  })(RenderMinimap || (RenderMinimap = {}));\n  var ScrollType;\n  (function(ScrollType2) {\n    ScrollType2[ScrollType2[\"Smooth\"] = 0] = \"Smooth\";\n    ScrollType2[ScrollType2[\"Immediate\"] = 1] = \"Immediate\";\n  })(ScrollType || (ScrollType = {}));\n  var ScrollbarVisibility;\n  (function(ScrollbarVisibility2) {\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Auto\"] = 1] = \"Auto\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Hidden\"] = 2] = \"Hidden\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Visible\"] = 3] = \"Visible\";\n  })(ScrollbarVisibility || (ScrollbarVisibility = {}));\n  var SelectionDirection;\n  (function(SelectionDirection2) {\n    SelectionDirection2[SelectionDirection2[\"LTR\"] = 0] = \"LTR\";\n    SelectionDirection2[SelectionDirection2[\"RTL\"] = 1] = \"RTL\";\n  })(SelectionDirection || (SelectionDirection = {}));\n  var ShowLightbulbIconMode;\n  (function(ShowLightbulbIconMode2) {\n    ShowLightbulbIconMode2[\"Off\"] = \"off\";\n    ShowLightbulbIconMode2[\"OnCode\"] = \"onCode\";\n    ShowLightbulbIconMode2[\"On\"] = \"on\";\n  })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}));\n  var SignatureHelpTriggerKind2;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {}));\n  var SymbolKind;\n  (function(SymbolKind3) {\n    SymbolKind3[SymbolKind3[\"File\"] = 0] = \"File\";\n    SymbolKind3[SymbolKind3[\"Module\"] = 1] = \"Module\";\n    SymbolKind3[SymbolKind3[\"Namespace\"] = 2] = \"Namespace\";\n    SymbolKind3[SymbolKind3[\"Package\"] = 3] = \"Package\";\n    SymbolKind3[SymbolKind3[\"Class\"] = 4] = \"Class\";\n    SymbolKind3[SymbolKind3[\"Method\"] = 5] = \"Method\";\n    SymbolKind3[SymbolKind3[\"Property\"] = 6] = \"Property\";\n    SymbolKind3[SymbolKind3[\"Field\"] = 7] = \"Field\";\n    SymbolKind3[SymbolKind3[\"Constructor\"] = 8] = \"Constructor\";\n    SymbolKind3[SymbolKind3[\"Enum\"] = 9] = \"Enum\";\n    SymbolKind3[SymbolKind3[\"Interface\"] = 10] = \"Interface\";\n    SymbolKind3[SymbolKind3[\"Function\"] = 11] = \"Function\";\n    SymbolKind3[SymbolKind3[\"Variable\"] = 12] = \"Variable\";\n    SymbolKind3[SymbolKind3[\"Constant\"] = 13] = \"Constant\";\n    SymbolKind3[SymbolKind3[\"String\"] = 14] = \"String\";\n    SymbolKind3[SymbolKind3[\"Number\"] = 15] = \"Number\";\n    SymbolKind3[SymbolKind3[\"Boolean\"] = 16] = \"Boolean\";\n    SymbolKind3[SymbolKind3[\"Array\"] = 17] = \"Array\";\n    SymbolKind3[SymbolKind3[\"Object\"] = 18] = \"Object\";\n    SymbolKind3[SymbolKind3[\"Key\"] = 19] = \"Key\";\n    SymbolKind3[SymbolKind3[\"Null\"] = 20] = \"Null\";\n    SymbolKind3[SymbolKind3[\"EnumMember\"] = 21] = \"EnumMember\";\n    SymbolKind3[SymbolKind3[\"Struct\"] = 22] = \"Struct\";\n    SymbolKind3[SymbolKind3[\"Event\"] = 23] = \"Event\";\n    SymbolKind3[SymbolKind3[\"Operator\"] = 24] = \"Operator\";\n    SymbolKind3[SymbolKind3[\"TypeParameter\"] = 25] = \"TypeParameter\";\n  })(SymbolKind || (SymbolKind = {}));\n  var SymbolTag;\n  (function(SymbolTag3) {\n    SymbolTag3[SymbolTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(SymbolTag || (SymbolTag = {}));\n  var TextEditorCursorBlinkingStyle;\n  (function(TextEditorCursorBlinkingStyle2) {\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Hidden\"] = 0] = \"Hidden\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Blink\"] = 1] = \"Blink\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Smooth\"] = 2] = \"Smooth\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Phase\"] = 3] = \"Phase\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Expand\"] = 4] = \"Expand\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Solid\"] = 5] = \"Solid\";\n  })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));\n  var TextEditorCursorStyle;\n  (function(TextEditorCursorStyle2) {\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Line\"] = 1] = \"Line\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Block\"] = 2] = \"Block\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Underline\"] = 3] = \"Underline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"LineThin\"] = 4] = \"LineThin\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"BlockOutline\"] = 5] = \"BlockOutline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"UnderlineThin\"] = 6] = \"UnderlineThin\";\n  })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));\n  var TrackedRangeStickiness;\n  (function(TrackedRangeStickiness2) {\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"AlwaysGrowsWhenTypingAtEdges\"] = 0] = \"AlwaysGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"NeverGrowsWhenTypingAtEdges\"] = 1] = \"NeverGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingBefore\"] = 2] = \"GrowsOnlyWhenTypingBefore\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingAfter\"] = 3] = \"GrowsOnlyWhenTypingAfter\";\n  })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));\n  var WrappingIndent;\n  (function(WrappingIndent2) {\n    WrappingIndent2[WrappingIndent2[\"None\"] = 0] = \"None\";\n    WrappingIndent2[WrappingIndent2[\"Same\"] = 1] = \"Same\";\n    WrappingIndent2[WrappingIndent2[\"Indent\"] = 2] = \"Indent\";\n    WrappingIndent2[WrappingIndent2[\"DeepIndent\"] = 3] = \"DeepIndent\";\n  })(WrappingIndent || (WrappingIndent = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js\n  var KeyMod = class {\n    static chord(firstPart, secondPart) {\n      return KeyChord(firstPart, secondPart);\n    }\n  };\n  KeyMod.CtrlCmd = 2048;\n  KeyMod.Shift = 1024;\n  KeyMod.Alt = 512;\n  KeyMod.WinCtrl = 256;\n  function createMonacoBaseAPI() {\n    return {\n      editor: void 0,\n      // undefined override expected here\n      languages: void 0,\n      // undefined override expected here\n      CancellationTokenSource,\n      Emitter,\n      KeyCode,\n      KeyMod,\n      Position,\n      Range,\n      Selection,\n      SelectionDirection,\n      MarkerSeverity,\n      MarkerTag,\n      Uri: URI,\n      Token\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/map.js\n  var _a3;\n  var _b2;\n  var ResourceMapEntry = class {\n    constructor(uri, value) {\n      this.uri = uri;\n      this.value = value;\n    }\n  };\n  function isEntries(arg) {\n    return Array.isArray(arg);\n  }\n  var ResourceMap = class _ResourceMap {\n    constructor(arg, toKey) {\n      this[_a3] = \"ResourceMap\";\n      if (arg instanceof _ResourceMap) {\n        this.map = new Map(arg.map);\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n      } else if (isEntries(arg)) {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n        for (const [resource, value] of arg) {\n          this.set(resource, value);\n        }\n      } else {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = arg !== null && arg !== void 0 ? arg : _ResourceMap.defaultToKey;\n      }\n    }\n    set(resource, value) {\n      this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value));\n      return this;\n    }\n    get(resource) {\n      var _c;\n      return (_c = this.map.get(this.toKey(resource))) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(resource) {\n      return this.map.has(this.toKey(resource));\n    }\n    get size() {\n      return this.map.size;\n    }\n    clear() {\n      this.map.clear();\n    }\n    delete(resource) {\n      return this.map.delete(this.toKey(resource));\n    }\n    forEach(clb, thisArg) {\n      if (typeof thisArg !== \"undefined\") {\n        clb = clb.bind(thisArg);\n      }\n      for (const [_, entry] of this.map) {\n        clb(entry.value, entry.uri, this);\n      }\n    }\n    *values() {\n      for (const entry of this.map.values()) {\n        yield entry.value;\n      }\n    }\n    *keys() {\n      for (const entry of this.map.values()) {\n        yield entry.uri;\n      }\n    }\n    *entries() {\n      for (const entry of this.map.values()) {\n        yield [entry.uri, entry.value];\n      }\n    }\n    *[(_a3 = Symbol.toStringTag, Symbol.iterator)]() {\n      for (const [, entry] of this.map) {\n        yield [entry.uri, entry.value];\n      }\n    }\n  };\n  ResourceMap.defaultToKey = (resource) => resource.toString();\n  var LinkedMap = class {\n    constructor() {\n      this[_b2] = \"LinkedMap\";\n      this._map = /* @__PURE__ */ new Map();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state = 0;\n    }\n    clear() {\n      this._map.clear();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state++;\n    }\n    isEmpty() {\n      return !this._head && !this._tail;\n    }\n    get size() {\n      return this._size;\n    }\n    get first() {\n      var _c;\n      return (_c = this._head) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    get last() {\n      var _c;\n      return (_c = this._tail) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(key) {\n      return this._map.has(key);\n    }\n    get(key, touch = 0) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      if (touch !== 0) {\n        this.touch(item, touch);\n      }\n      return item.value;\n    }\n    set(key, value, touch = 0) {\n      let item = this._map.get(key);\n      if (item) {\n        item.value = value;\n        if (touch !== 0) {\n          this.touch(item, touch);\n        }\n      } else {\n        item = { key, value, next: void 0, previous: void 0 };\n        switch (touch) {\n          case 0:\n            this.addItemLast(item);\n            break;\n          case 1:\n            this.addItemFirst(item);\n            break;\n          case 2:\n            this.addItemLast(item);\n            break;\n          default:\n            this.addItemLast(item);\n            break;\n        }\n        this._map.set(key, item);\n        this._size++;\n      }\n      return this;\n    }\n    delete(key) {\n      return !!this.remove(key);\n    }\n    remove(key) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      this._map.delete(key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    shift() {\n      if (!this._head && !this._tail) {\n        return void 0;\n      }\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      const item = this._head;\n      this._map.delete(item.key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    forEach(callbackfn, thisArg) {\n      const state = this._state;\n      let current = this._head;\n      while (current) {\n        if (thisArg) {\n          callbackfn.bind(thisArg)(current.value, current.key, this);\n        } else {\n          callbackfn(current.value, current.key, this);\n        }\n        if (this._state !== state) {\n          throw new Error(`LinkedMap got modified during iteration.`);\n        }\n        current = current.next;\n      }\n    }\n    keys() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.key, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    values() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.value, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    entries() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: [current.key, current.value], done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    [(_b2 = Symbol.toStringTag, Symbol.iterator)]() {\n      return this.entries();\n    }\n    trimOld(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._head;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.next;\n        currentSize--;\n      }\n      this._head = current;\n      this._size = currentSize;\n      if (current) {\n        current.previous = void 0;\n      }\n      this._state++;\n    }\n    trimNew(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._tail;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.previous;\n        currentSize--;\n      }\n      this._tail = current;\n      this._size = currentSize;\n      if (current) {\n        current.next = void 0;\n      }\n      this._state++;\n    }\n    addItemFirst(item) {\n      if (!this._head && !this._tail) {\n        this._tail = item;\n      } else if (!this._head) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.next = this._head;\n        this._head.previous = item;\n      }\n      this._head = item;\n      this._state++;\n    }\n    addItemLast(item) {\n      if (!this._head && !this._tail) {\n        this._head = item;\n      } else if (!this._tail) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.previous = this._tail;\n        this._tail.next = item;\n      }\n      this._tail = item;\n      this._state++;\n    }\n    removeItem(item) {\n      if (item === this._head && item === this._tail) {\n        this._head = void 0;\n        this._tail = void 0;\n      } else if (item === this._head) {\n        if (!item.next) {\n          throw new Error(\"Invalid list\");\n        }\n        item.next.previous = void 0;\n        this._head = item.next;\n      } else if (item === this._tail) {\n        if (!item.previous) {\n          throw new Error(\"Invalid list\");\n        }\n        item.previous.next = void 0;\n        this._tail = item.previous;\n      } else {\n        const next = item.next;\n        const previous = item.previous;\n        if (!next || !previous) {\n          throw new Error(\"Invalid list\");\n        }\n        next.previous = previous;\n        previous.next = next;\n      }\n      item.next = void 0;\n      item.previous = void 0;\n      this._state++;\n    }\n    touch(item, touch) {\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      if (touch !== 1 && touch !== 2) {\n        return;\n      }\n      if (touch === 1) {\n        if (item === this._head) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._tail) {\n          previous.next = void 0;\n          this._tail = previous;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.previous = void 0;\n        item.next = this._head;\n        this._head.previous = item;\n        this._head = item;\n        this._state++;\n      } else if (touch === 2) {\n        if (item === this._tail) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._head) {\n          next.previous = void 0;\n          this._head = next;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.next = void 0;\n        item.previous = this._tail;\n        this._tail.next = item;\n        this._tail = item;\n        this._state++;\n      }\n    }\n    toJSON() {\n      const data = [];\n      this.forEach((value, key) => {\n        data.push([key, value]);\n      });\n      return data;\n    }\n    fromJSON(data) {\n      this.clear();\n      for (const [key, value] of data) {\n        this.set(key, value);\n      }\n    }\n  };\n  var Cache = class extends LinkedMap {\n    constructor(limit, ratio = 1) {\n      super();\n      this._limit = limit;\n      this._ratio = Math.min(Math.max(0, ratio), 1);\n    }\n    get limit() {\n      return this._limit;\n    }\n    set limit(limit) {\n      this._limit = limit;\n      this.checkTrim();\n    }\n    get(key, touch = 2) {\n      return super.get(key, touch);\n    }\n    peek(key) {\n      return super.get(\n        key,\n        0\n        /* Touch.None */\n      );\n    }\n    set(key, value) {\n      super.set(\n        key,\n        value,\n        2\n        /* Touch.AsNew */\n      );\n      return this;\n    }\n    checkTrim() {\n      if (this.size > this._limit) {\n        this.trim(Math.round(this._limit * this._ratio));\n      }\n    }\n  };\n  var LRUCache = class extends Cache {\n    constructor(limit, ratio = 1) {\n      super(limit, ratio);\n    }\n    trim(newSize) {\n      this.trimOld(newSize);\n    }\n    set(key, value) {\n      super.set(key, value);\n      this.checkTrim();\n      return this;\n    }\n  };\n  var SetMap = class {\n    constructor() {\n      this.map = /* @__PURE__ */ new Map();\n    }\n    add(key, value) {\n      let values = this.map.get(key);\n      if (!values) {\n        values = /* @__PURE__ */ new Set();\n        this.map.set(key, values);\n      }\n      values.add(value);\n    }\n    delete(key, value) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.delete(value);\n      if (values.size === 0) {\n        this.map.delete(key);\n      }\n    }\n    forEach(key, fn) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.forEach(fn);\n    }\n    get(key) {\n      const values = this.map.get(key);\n      if (!values) {\n        return /* @__PURE__ */ new Set();\n      }\n      return values;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js\n  var wordClassifierCache = new LRUCache(10);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model.js\n  var OverviewRulerLane2;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane2 || (OverviewRulerLane2 = {}));\n  var GlyphMarginLane2;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane2 || (GlyphMarginLane2 = {}));\n  var InjectedTextCursorStops2;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js\n  function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex === 0) {\n      return true;\n    }\n    const charBefore = text.charCodeAt(matchStartIndex - 1);\n    if (wordSeparators.get(charBefore) !== 0) {\n      return true;\n    }\n    if (charBefore === 13 || charBefore === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const firstCharInMatch = text.charCodeAt(matchStartIndex);\n      if (wordSeparators.get(firstCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex + matchLength === textLength) {\n      return true;\n    }\n    const charAfter = text.charCodeAt(matchStartIndex + matchLength);\n    if (wordSeparators.get(charAfter) !== 0) {\n      return true;\n    }\n    if (charAfter === 13 || charAfter === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1);\n      if (wordSeparators.get(lastCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isValidMatch(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    return leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength);\n  }\n  var Searcher = class {\n    constructor(wordSeparators, searchRegex) {\n      this._wordSeparators = wordSeparators;\n      this._searchRegex = searchRegex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    reset(lastIndex) {\n      this._searchRegex.lastIndex = lastIndex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    next(text) {\n      const textLength = text.length;\n      let m;\n      do {\n        if (this._prevMatchStartIndex + this._prevMatchLength === textLength) {\n          return null;\n        }\n        m = this._searchRegex.exec(text);\n        if (!m) {\n          return null;\n        }\n        const matchStartIndex = m.index;\n        const matchLength = m[0].length;\n        if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) {\n          if (matchLength === 0) {\n            if (getNextCodePoint(text, textLength, this._searchRegex.lastIndex) > 65535) {\n              this._searchRegex.lastIndex += 2;\n            } else {\n              this._searchRegex.lastIndex += 1;\n            }\n            continue;\n          }\n          return null;\n        }\n        this._prevMatchStartIndex = matchStartIndex;\n        this._prevMatchLength = matchLength;\n        if (!this._wordSeparators || isValidMatch(this._wordSeparators, text, textLength, matchStartIndex, matchLength)) {\n          return m;\n        }\n      } while (m);\n      return null;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/assert.js\n  function assertNever(value, message = \"Unreachable\") {\n    throw new Error(message);\n  }\n  function assertFn(condition) {\n    if (!condition()) {\n      debugger;\n      condition();\n      onUnexpectedError(new BugIndicatingError(\"Assertion Failed\"));\n    }\n  }\n  function checkAdjacentItems(items, predicate) {\n    let i = 0;\n    while (i < items.length - 1) {\n      const a2 = items[i];\n      const b = items[i + 1];\n      if (!predicate(a2, b)) {\n        return false;\n      }\n      i++;\n    }\n    return true;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js\n  var UnicodeTextModelHighlighter = class {\n    static computeUnicodeHighlights(model, options, range) {\n      const startLine = range ? range.startLineNumber : 1;\n      const endLine = range ? range.endLineNumber : model.getLineCount();\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const candidates = codePointHighlighter.getCandidateCodePoints();\n      let regex;\n      if (candidates === \"allNonBasicAscii\") {\n        regex = new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\", \"g\");\n      } else {\n        regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, \"g\");\n      }\n      const searcher = new Searcher(null, regex);\n      const ranges = [];\n      let hasMore = false;\n      let m;\n      let ambiguousCharacterCount = 0;\n      let invisibleCharacterCount = 0;\n      let nonBasicAsciiCharacterCount = 0;\n      forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) {\n        const lineContent = model.getLineContent(lineNumber);\n        const lineLength = lineContent.length;\n        searcher.reset(0);\n        do {\n          m = searcher.next(lineContent);\n          if (m) {\n            let startIndex = m.index;\n            let endIndex = m.index + m[0].length;\n            if (startIndex > 0) {\n              const charCodeBefore = lineContent.charCodeAt(startIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                startIndex--;\n              }\n            }\n            if (endIndex + 1 < lineLength) {\n              const charCodeBefore = lineContent.charCodeAt(endIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                endIndex++;\n              }\n            }\n            const str = lineContent.substring(startIndex, endIndex);\n            let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0);\n            if (word && word.endColumn <= startIndex + 1) {\n              word = null;\n            }\n            const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null);\n            if (highlightReason !== 0) {\n              if (highlightReason === 3) {\n                ambiguousCharacterCount++;\n              } else if (highlightReason === 2) {\n                invisibleCharacterCount++;\n              } else if (highlightReason === 1) {\n                nonBasicAsciiCharacterCount++;\n              } else {\n                assertNever(highlightReason);\n              }\n              const MAX_RESULT_LENGTH = 1e3;\n              if (ranges.length >= MAX_RESULT_LENGTH) {\n                hasMore = true;\n                break forLoop;\n              }\n              ranges.push(new Range(lineNumber, startIndex + 1, lineNumber, endIndex + 1));\n            }\n          }\n        } while (m);\n      }\n      return {\n        ranges,\n        hasMore,\n        ambiguousCharacterCount,\n        invisibleCharacterCount,\n        nonBasicAsciiCharacterCount\n      };\n    }\n    static computeUnicodeHighlightReason(char, options) {\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null);\n      switch (reason) {\n        case 0:\n          return null;\n        case 2:\n          return {\n            kind: 1\n            /* UnicodeHighlighterReasonKind.Invisible */\n          };\n        case 3: {\n          const codePoint = char.codePointAt(0);\n          const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint);\n          const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint));\n          return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };\n        }\n        case 1:\n          return {\n            kind: 2\n            /* UnicodeHighlighterReasonKind.NonBasicAscii */\n          };\n      }\n    }\n  };\n  function buildRegExpCharClassExpr(codePoints, flags) {\n    const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(\"\"))}]`;\n    return src;\n  }\n  var CodePointHighlighter = class {\n    constructor(options) {\n      this.options = options;\n      this.allowedCodePoints = new Set(options.allowedCodePoints);\n      this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales));\n    }\n    getCandidateCodePoints() {\n      if (this.options.nonBasicASCII) {\n        return \"allNonBasicAscii\";\n      }\n      const set = /* @__PURE__ */ new Set();\n      if (this.options.invisibleCharacters) {\n        for (const cp of InvisibleCharacters.codePoints) {\n          if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) {\n            set.add(cp);\n          }\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) {\n          set.add(cp);\n        }\n      }\n      for (const cp of this.allowedCodePoints) {\n        set.delete(cp);\n      }\n      return set;\n    }\n    shouldHighlightNonBasicASCII(character, wordContext) {\n      const codePoint = character.codePointAt(0);\n      if (this.allowedCodePoints.has(codePoint)) {\n        return 0;\n      }\n      if (this.options.nonBasicASCII) {\n        return 1;\n      }\n      let hasBasicASCIICharacters = false;\n      let hasNonConfusableNonBasicAsciiCharacter = false;\n      if (wordContext) {\n        for (const char of wordContext) {\n          const codePoint2 = char.codePointAt(0);\n          const isBasicASCII2 = isBasicASCII(char);\n          hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2;\n          if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) {\n            hasNonConfusableNonBasicAsciiCharacter = true;\n          }\n        }\n      }\n      if (\n        /* Don't allow mixing weird looking characters with ASCII */\n        !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */\n        hasNonConfusableNonBasicAsciiCharacter\n      ) {\n        return 0;\n      }\n      if (this.options.invisibleCharacters) {\n        if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) {\n          return 2;\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        if (this.ambiguousCharacters.isAmbiguous(codePoint)) {\n          return 3;\n        }\n      }\n      return 0;\n    }\n  };\n  function isAllowedInvisibleCharacter(character) {\n    return character === \" \" || character === \"\\n\" || character === \"\t\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js\n  var LinesDiff = class {\n    constructor(changes, moves, hitTimeout) {\n      this.changes = changes;\n      this.moves = moves;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var MovedText = class {\n    constructor(lineRangeMapping, changes) {\n      this.lineRangeMapping = lineRangeMapping;\n      this.changes = changes;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js\n  var OffsetRange = class _OffsetRange {\n    static addRange(range, sortedRanges) {\n      let i = 0;\n      while (i < sortedRanges.length && sortedRanges[i].endExclusive < range.start) {\n        i++;\n      }\n      let j = i;\n      while (j < sortedRanges.length && sortedRanges[j].start <= range.endExclusive) {\n        j++;\n      }\n      if (i === j) {\n        sortedRanges.splice(i, 0, range);\n      } else {\n        const start = Math.min(range.start, sortedRanges[i].start);\n        const end = Math.max(range.endExclusive, sortedRanges[j - 1].endExclusive);\n        sortedRanges.splice(i, j - i, new _OffsetRange(start, end));\n      }\n    }\n    static tryCreate(start, endExclusive) {\n      if (start > endExclusive) {\n        return void 0;\n      }\n      return new _OffsetRange(start, endExclusive);\n    }\n    static ofLength(length) {\n      return new _OffsetRange(0, length);\n    }\n    static ofStartAndLength(start, length) {\n      return new _OffsetRange(start, start + length);\n    }\n    constructor(start, endExclusive) {\n      this.start = start;\n      this.endExclusive = endExclusive;\n      if (start > endExclusive) {\n        throw new BugIndicatingError(`Invalid range: ${this.toString()}`);\n      }\n    }\n    get isEmpty() {\n      return this.start === this.endExclusive;\n    }\n    delta(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive + offset);\n    }\n    deltaStart(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive);\n    }\n    deltaEnd(offset) {\n      return new _OffsetRange(this.start, this.endExclusive + offset);\n    }\n    get length() {\n      return this.endExclusive - this.start;\n    }\n    toString() {\n      return `[${this.start}, ${this.endExclusive})`;\n    }\n    contains(offset) {\n      return this.start <= offset && offset < this.endExclusive;\n    }\n    /**\n     * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n)\n     * The joined range is the smallest range that contains both ranges.\n     */\n    join(other) {\n      return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive));\n    }\n    /**\n     * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n)\n     *\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      if (start <= end) {\n        return new _OffsetRange(start, end);\n      }\n      return void 0;\n    }\n    intersects(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      return start < end;\n    }\n    isBefore(other) {\n      return this.endExclusive <= other.start;\n    }\n    isAfter(other) {\n      return this.start >= other.endExclusive;\n    }\n    slice(arr) {\n      return arr.slice(this.start, this.endExclusive);\n    }\n    substring(str) {\n      return str.substring(this.start, this.endExclusive);\n    }\n    /**\n     * Returns the given value if it is contained in this instance, otherwise the closest value that is contained.\n     * The range must not be empty.\n     */\n    clip(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      return Math.max(this.start, Math.min(this.endExclusive - 1, value));\n    }\n    /**\n     * Returns `r := value + k * length` such that `r` is contained in this range.\n     * The range must not be empty.\n     *\n     * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`.\n     */\n    clipCyclic(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      if (value < this.start) {\n        return this.endExclusive - (this.start - value) % this.length;\n      }\n      if (value >= this.endExclusive) {\n        return this.start + (value - this.start) % this.length;\n      }\n      return value;\n    }\n    forEach(f2) {\n      for (let i = this.start; i < this.endExclusive; i++) {\n        f2(i);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arraysFind.js\n  function findLastMonotonous(array, predicate) {\n    const idx = findLastIdxMonotonous(array, predicate);\n    return idx === -1 ? void 0 : array[idx];\n  }\n  function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        i = k + 1;\n      } else {\n        j = k;\n      }\n    }\n    return i - 1;\n  }\n  function findFirstMonotonous(array, predicate) {\n    const idx = findFirstIdxMonotonousOrArrLen(array, predicate);\n    return idx === array.length ? void 0 : array[idx];\n  }\n  function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        j = k;\n      } else {\n        i = k + 1;\n      }\n    }\n    return i;\n  }\n  var MonotonousArray = class _MonotonousArray {\n    constructor(_array) {\n      this._array = _array;\n      this._findLastMonotonousLastIdx = 0;\n    }\n    /**\n     * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`!\n     * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`.\n     */\n    findLastMonotonous(predicate) {\n      if (_MonotonousArray.assertInvariants) {\n        if (this._prevFindLastPredicate) {\n          for (const item of this._array) {\n            if (this._prevFindLastPredicate(item) && !predicate(item)) {\n              throw new Error(\"MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.\");\n            }\n          }\n        }\n        this._prevFindLastPredicate = predicate;\n      }\n      const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx);\n      this._findLastMonotonousLastIdx = idx + 1;\n      return idx === -1 ? void 0 : this._array[idx];\n    }\n  };\n  MonotonousArray.assertInvariants = false;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js\n  var LineRange = class _LineRange {\n    static fromRangeInclusive(range) {\n      return new _LineRange(range.startLineNumber, range.endLineNumber + 1);\n    }\n    /**\n     * @param lineRanges An array of sorted line ranges.\n     */\n    static joinMany(lineRanges) {\n      if (lineRanges.length === 0) {\n        return [];\n      }\n      let result = new LineRangeSet(lineRanges[0].slice());\n      for (let i = 1; i < lineRanges.length; i++) {\n        result = result.getUnion(new LineRangeSet(lineRanges[i].slice()));\n      }\n      return result.ranges;\n    }\n    static join(lineRanges) {\n      if (lineRanges.length === 0) {\n        throw new BugIndicatingError(\"lineRanges cannot be empty\");\n      }\n      let startLineNumber = lineRanges[0].startLineNumber;\n      let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive;\n      for (let i = 1; i < lineRanges.length; i++) {\n        startLineNumber = Math.min(startLineNumber, lineRanges[i].startLineNumber);\n        endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i].endLineNumberExclusive);\n      }\n      return new _LineRange(startLineNumber, endLineNumberExclusive);\n    }\n    static ofLength(startLineNumber, length) {\n      return new _LineRange(startLineNumber, startLineNumber + length);\n    }\n    /**\n     * @internal\n     */\n    static deserialize(lineRange) {\n      return new _LineRange(lineRange[0], lineRange[1]);\n    }\n    constructor(startLineNumber, endLineNumberExclusive) {\n      if (startLineNumber > endLineNumberExclusive) {\n        throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`);\n      }\n      this.startLineNumber = startLineNumber;\n      this.endLineNumberExclusive = endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range contains the given line number.\n     */\n    contains(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range is empty.\n     */\n    get isEmpty() {\n      return this.startLineNumber === this.endLineNumberExclusive;\n    }\n    /**\n     * Moves this line range by the given offset of line numbers.\n     */\n    delta(offset) {\n      return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset);\n    }\n    deltaLength(offset) {\n      return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset);\n    }\n    /**\n     * The number of lines this line range spans.\n     */\n    get length() {\n      return this.endLineNumberExclusive - this.startLineNumber;\n    }\n    /**\n     * Creates a line range that combines this and the given line range.\n     */\n    join(other) {\n      return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive));\n    }\n    toString() {\n      return `[${this.startLineNumber},${this.endLineNumberExclusive})`;\n    }\n    /**\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber);\n      const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive);\n      if (startLineNumber <= endLineNumberExclusive) {\n        return new _LineRange(startLineNumber, endLineNumberExclusive);\n      }\n      return void 0;\n    }\n    intersectsStrict(other) {\n      return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive;\n    }\n    overlapOrTouch(other) {\n      return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive;\n    }\n    equals(b) {\n      return this.startLineNumber === b.startLineNumber && this.endLineNumberExclusive === b.endLineNumberExclusive;\n    }\n    toInclusiveRange() {\n      if (this.isEmpty) {\n        return null;\n      }\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER);\n    }\n    /**\n     * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position!\n    */\n    toExclusiveRange() {\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive, 1);\n    }\n    mapToLineArray(f2) {\n      const result = [];\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        result.push(f2(lineNumber));\n      }\n      return result;\n    }\n    forEach(f2) {\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        f2(lineNumber);\n      }\n    }\n    /**\n     * @internal\n     */\n    serialize() {\n      return [this.startLineNumber, this.endLineNumberExclusive];\n    }\n    includes(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Converts this 1-based line range to a 0-based offset range (subtracts 1!).\n     * @internal\n     */\n    toOffsetRange() {\n      return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1);\n    }\n  };\n  var LineRangeSet = class _LineRangeSet {\n    constructor(_normalizedRanges = []) {\n      this._normalizedRanges = _normalizedRanges;\n    }\n    get ranges() {\n      return this._normalizedRanges;\n    }\n    addRange(range) {\n      if (range.length === 0) {\n        return;\n      }\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        this._normalizedRanges.splice(joinRangeStartIdx, 0, range);\n      } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx];\n        this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range);\n      } else {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range);\n        this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange);\n      }\n    }\n    contains(lineNumber) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= lineNumber);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber;\n    }\n    intersects(range) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber < range.endLineNumberExclusive);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber;\n    }\n    getUnion(other) {\n      if (this._normalizedRanges.length === 0) {\n        return other;\n      }\n      if (other._normalizedRanges.length === 0) {\n        return this;\n      }\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      let current = null;\n      while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) {\n        let next = null;\n        if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n          const lineRange1 = this._normalizedRanges[i1];\n          const lineRange2 = other._normalizedRanges[i2];\n          if (lineRange1.startLineNumber < lineRange2.startLineNumber) {\n            next = lineRange1;\n            i1++;\n          } else {\n            next = lineRange2;\n            i2++;\n          }\n        } else if (i1 < this._normalizedRanges.length) {\n          next = this._normalizedRanges[i1];\n          i1++;\n        } else {\n          next = other._normalizedRanges[i2];\n          i2++;\n        }\n        if (current === null) {\n          current = next;\n        } else {\n          if (current.endLineNumberExclusive >= next.startLineNumber) {\n            current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive));\n          } else {\n            result.push(current);\n            current = next;\n          }\n        }\n      }\n      if (current !== null) {\n        result.push(current);\n      }\n      return new _LineRangeSet(result);\n    }\n    /**\n     * Subtracts all ranges in this set from `range` and returns the result.\n     */\n    subtractFrom(range) {\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        return new _LineRangeSet([range]);\n      }\n      const result = [];\n      let startLineNumber = range.startLineNumber;\n      for (let i = joinRangeStartIdx; i < joinRangeEndIdxExclusive; i++) {\n        const r = this._normalizedRanges[i];\n        if (r.startLineNumber > startLineNumber) {\n          result.push(new LineRange(startLineNumber, r.startLineNumber));\n        }\n        startLineNumber = r.endLineNumberExclusive;\n      }\n      if (startLineNumber < range.endLineNumberExclusive) {\n        result.push(new LineRange(startLineNumber, range.endLineNumberExclusive));\n      }\n      return new _LineRangeSet(result);\n    }\n    toString() {\n      return this._normalizedRanges.map((r) => r.toString()).join(\", \");\n    }\n    getIntersection(other) {\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n        const r1 = this._normalizedRanges[i1];\n        const r2 = other._normalizedRanges[i2];\n        const i = r1.intersect(r2);\n        if (i && !i.isEmpty) {\n          result.push(i);\n        }\n        if (r1.endLineNumberExclusive < r2.endLineNumberExclusive) {\n          i1++;\n        } else {\n          i2++;\n        }\n      }\n      return new _LineRangeSet(result);\n    }\n    getWithDelta(value) {\n      return new _LineRangeSet(this._normalizedRanges.map((r) => r.delta(value)));\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js\n  var TextLength = class _TextLength {\n    static betweenPositions(position1, position2) {\n      if (position1.lineNumber === position2.lineNumber) {\n        return new _TextLength(0, position2.column - position1.column);\n      } else {\n        return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1);\n      }\n    }\n    static ofRange(range) {\n      return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition());\n    }\n    static ofText(text) {\n      let line = 0;\n      let column = 0;\n      for (const c of text) {\n        if (c === \"\\n\") {\n          line++;\n          column = 0;\n        } else {\n          column++;\n        }\n      }\n      return new _TextLength(line, column);\n    }\n    constructor(lineCount, columnCount) {\n      this.lineCount = lineCount;\n      this.columnCount = columnCount;\n    }\n    isGreaterThanOrEqualTo(other) {\n      if (this.lineCount !== other.lineCount) {\n        return this.lineCount > other.lineCount;\n      }\n      return this.columnCount >= other.columnCount;\n    }\n    createRange(startPosition) {\n      if (this.lineCount === 0) {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount);\n      } else {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    addToPosition(position) {\n      if (this.lineCount === 0) {\n        return new Position(position.lineNumber, position.column + this.columnCount);\n      } else {\n        return new Position(position.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    toString() {\n      return `${this.lineCount},${this.columnCount}`;\n    }\n  };\n  TextLength.zero = new TextLength(0, 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js\n  var SingleTextEdit = class {\n    constructor(range, text) {\n      this.range = range;\n      this.text = text;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js\n  var LineRangeMapping = class _LineRangeMapping {\n    static inverse(mapping, originalLineCount, modifiedLineCount) {\n      const result = [];\n      let lastOriginalEndLineNumber = 1;\n      let lastModifiedEndLineNumber = 1;\n      for (const m of mapping) {\n        const r2 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m.modified.startLineNumber));\n        if (!r2.modified.isEmpty) {\n          result.push(r2);\n        }\n        lastOriginalEndLineNumber = m.original.endLineNumberExclusive;\n        lastModifiedEndLineNumber = m.modified.endLineNumberExclusive;\n      }\n      const r = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1));\n      if (!r.modified.isEmpty) {\n        result.push(r);\n      }\n      return result;\n    }\n    static clip(mapping, originalRange, modifiedRange) {\n      const result = [];\n      for (const m of mapping) {\n        const original = m.original.intersect(originalRange);\n        const modified = m.modified.intersect(modifiedRange);\n        if (original && !original.isEmpty && modified && !modified.isEmpty) {\n          result.push(new _LineRangeMapping(original, modified));\n        }\n      }\n      return result;\n    }\n    constructor(originalRange, modifiedRange) {\n      this.original = originalRange;\n      this.modified = modifiedRange;\n    }\n    toString() {\n      return `{${this.original.toString()}->${this.modified.toString()}}`;\n    }\n    flip() {\n      return new _LineRangeMapping(this.modified, this.original);\n    }\n    join(other) {\n      return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified));\n    }\n    /**\n     * This method assumes that the LineRangeMapping describes a valid diff!\n     * I.e. if one range is empty, the other range cannot be the entire document.\n     * It avoids various problems when the line range points to non-existing line-numbers.\n    */\n    toRangeMapping() {\n      const origInclusiveRange = this.original.toInclusiveRange();\n      const modInclusiveRange = this.modified.toInclusiveRange();\n      if (origInclusiveRange && modInclusiveRange) {\n        return new RangeMapping(origInclusiveRange, modInclusiveRange);\n      } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {\n        if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) {\n          throw new BugIndicatingError(\"not a valid diff\");\n        }\n        return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));\n      } else {\n        return new RangeMapping(new Range(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));\n      }\n    }\n  };\n  var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping {\n    static fromRangeMappings(rangeMappings) {\n      const originalRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.originalRange)));\n      const modifiedRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.modifiedRange)));\n      return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings);\n    }\n    constructor(originalRange, modifiedRange, innerChanges) {\n      super(originalRange, modifiedRange);\n      this.innerChanges = innerChanges;\n    }\n    flip() {\n      var _a4;\n      return new _DetailedLineRangeMapping(this.modified, this.original, (_a4 = this.innerChanges) === null || _a4 === void 0 ? void 0 : _a4.map((c) => c.flip()));\n    }\n    withInnerChangesFromLineRanges() {\n      return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]);\n    }\n  };\n  var RangeMapping = class _RangeMapping {\n    constructor(originalRange, modifiedRange) {\n      this.originalRange = originalRange;\n      this.modifiedRange = modifiedRange;\n    }\n    toString() {\n      return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`;\n    }\n    flip() {\n      return new _RangeMapping(this.modifiedRange, this.originalRange);\n    }\n    /**\n     * Creates a single text edit that describes the change from the original to the modified text.\n    */\n    toTextEdit(modified) {\n      const newText = modified.getValueOfRange(this.modifiedRange);\n      return new SingleTextEdit(this.originalRange, newText);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js\n  var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;\n  var LegacyLinesDiffComputer = class {\n    computeDiff(originalLines, modifiedLines, options) {\n      var _a4;\n      const diffComputer = new DiffComputer(originalLines, modifiedLines, {\n        maxComputationTime: options.maxComputationTimeMs,\n        shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace,\n        shouldComputeCharChanges: true,\n        shouldMakePrettyDiff: true,\n        shouldPostProcessCharChanges: true\n      });\n      const result = diffComputer.computeDiff();\n      const changes = [];\n      let lastChange = null;\n      for (const c of result.changes) {\n        let originalRange;\n        if (c.originalEndLineNumber === 0) {\n          originalRange = new LineRange(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1);\n        } else {\n          originalRange = new LineRange(c.originalStartLineNumber, c.originalEndLineNumber + 1);\n        }\n        let modifiedRange;\n        if (c.modifiedEndLineNumber === 0) {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1);\n        } else {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1);\n        }\n        let change = new DetailedLineRangeMapping(originalRange, modifiedRange, (_a4 = c.charChanges) === null || _a4 === void 0 ? void 0 : _a4.map((c2) => new RangeMapping(new Range(c2.originalStartLineNumber, c2.originalStartColumn, c2.originalEndLineNumber, c2.originalEndColumn), new Range(c2.modifiedStartLineNumber, c2.modifiedStartColumn, c2.modifiedEndLineNumber, c2.modifiedEndColumn))));\n        if (lastChange) {\n          if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) {\n            change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0);\n            changes.pop();\n          }\n        }\n        changes.push(change);\n        lastChange = change;\n      }\n      assertFn(() => {\n        return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n        m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n      });\n      return new LinesDiff(changes, [], result.quitEarly);\n    }\n  };\n  function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) {\n    const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate);\n    return diffAlgo.ComputeDiff(pretty);\n  }\n  var LineSequence = class {\n    constructor(lines) {\n      const startColumns = [];\n      const endColumns = [];\n      for (let i = 0, length = lines.length; i < length; i++) {\n        startColumns[i] = getFirstNonBlankColumn(lines[i], 1);\n        endColumns[i] = getLastNonBlankColumn(lines[i], 1);\n      }\n      this.lines = lines;\n      this._startColumns = startColumns;\n      this._endColumns = endColumns;\n    }\n    getElements() {\n      const elements = [];\n      for (let i = 0, len = this.lines.length; i < len; i++) {\n        elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1);\n      }\n      return elements;\n    }\n    getStrictElement(index) {\n      return this.lines[index];\n    }\n    getStartLineNumber(i) {\n      return i + 1;\n    }\n    getEndLineNumber(i) {\n      return i + 1;\n    }\n    createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) {\n      const charCodes = [];\n      const lineNumbers = [];\n      const columns = [];\n      let len = 0;\n      for (let index = startIndex; index <= endIndex; index++) {\n        const lineContent = this.lines[index];\n        const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1;\n        const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1;\n        for (let col = startColumn; col < endColumn; col++) {\n          charCodes[len] = lineContent.charCodeAt(col - 1);\n          lineNumbers[len] = index + 1;\n          columns[len] = col;\n          len++;\n        }\n        if (!shouldIgnoreTrimWhitespace && index < endIndex) {\n          charCodes[len] = 10;\n          lineNumbers[len] = index + 1;\n          columns[len] = lineContent.length + 1;\n          len++;\n        }\n      }\n      return new CharSequence(charCodes, lineNumbers, columns);\n    }\n  };\n  var CharSequence = class {\n    constructor(charCodes, lineNumbers, columns) {\n      this._charCodes = charCodes;\n      this._lineNumbers = lineNumbers;\n      this._columns = columns;\n    }\n    toString() {\n      return \"[\" + this._charCodes.map((s, idx) => (s === 10 ? \"\\\\n\" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(\", \") + \"]\";\n    }\n    _assertIndex(index, arr) {\n      if (index < 0 || index >= arr.length) {\n        throw new Error(`Illegal index`);\n      }\n    }\n    getElements() {\n      return this._charCodes;\n    }\n    getStartLineNumber(i) {\n      if (i > 0 && i === this._lineNumbers.length) {\n        return this.getEndLineNumber(i - 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      return this._lineNumbers[i];\n    }\n    getEndLineNumber(i) {\n      if (i === -1) {\n        return this.getStartLineNumber(i + 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      if (this._charCodes[i] === 10) {\n        return this._lineNumbers[i] + 1;\n      }\n      return this._lineNumbers[i];\n    }\n    getStartColumn(i) {\n      if (i > 0 && i === this._columns.length) {\n        return this.getEndColumn(i - 1);\n      }\n      this._assertIndex(i, this._columns);\n      return this._columns[i];\n    }\n    getEndColumn(i) {\n      if (i === -1) {\n        return this.getStartColumn(i + 1);\n      }\n      this._assertIndex(i, this._columns);\n      if (this._charCodes[i] === 10) {\n        return 1;\n      }\n      return this._columns[i] + 1;\n    }\n  };\n  var CharChange = class _CharChange {\n    constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalStartColumn = originalStartColumn;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.originalEndColumn = originalEndColumn;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedStartColumn = modifiedStartColumn;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.modifiedEndColumn = modifiedEndColumn;\n    }\n    static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) {\n      const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart);\n      const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart);\n      const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1);\n      const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart);\n      const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart);\n      const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn);\n    }\n  };\n  function postProcessCharChanges(rawChanges) {\n    if (rawChanges.length <= 1) {\n      return rawChanges;\n    }\n    const result = [rawChanges[0]];\n    let prevChange = result[0];\n    for (let i = 1, len = rawChanges.length; i < len; i++) {\n      const currChange = rawChanges[i];\n      const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength);\n      const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength);\n      const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength);\n      if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) {\n        prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart;\n        prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart;\n      } else {\n        result.push(currChange);\n        prevChange = currChange;\n      }\n    }\n    return result;\n  }\n  var LineChange = class _LineChange {\n    constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.charChanges = charChanges;\n    }\n    static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) {\n      let originalStartLineNumber;\n      let originalEndLineNumber;\n      let modifiedStartLineNumber;\n      let modifiedEndLineNumber;\n      let charChanges = void 0;\n      if (diffChange.originalLength === 0) {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1;\n        originalEndLineNumber = 0;\n      } else {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart);\n        originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      }\n      if (diffChange.modifiedLength === 0) {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1;\n        modifiedEndLineNumber = 0;\n      } else {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart);\n        modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      }\n      if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) {\n        const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1);\n        const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1);\n        if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) {\n          let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes;\n          if (shouldPostProcessCharChanges) {\n            rawChanges = postProcessCharChanges(rawChanges);\n          }\n          charChanges = [];\n          for (let i = 0, length = rawChanges.length; i < length; i++) {\n            charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence));\n          }\n        }\n      }\n      return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges);\n    }\n  };\n  var DiffComputer = class {\n    constructor(originalLines, modifiedLines, opts) {\n      this.shouldComputeCharChanges = opts.shouldComputeCharChanges;\n      this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges;\n      this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace;\n      this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff;\n      this.originalLines = originalLines;\n      this.modifiedLines = modifiedLines;\n      this.original = new LineSequence(originalLines);\n      this.modified = new LineSequence(modifiedLines);\n      this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime);\n      this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3));\n    }\n    computeDiff() {\n      if (this.original.lines.length === 1 && this.original.lines[0].length === 0) {\n        if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n          return {\n            quitEarly: false,\n            changes: []\n          };\n        }\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: 1,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: this.modified.lines.length,\n            charChanges: void 0\n          }]\n        };\n      }\n      if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: this.original.lines.length,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: 1,\n            charChanges: void 0\n          }]\n        };\n      }\n      const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff);\n      const rawChanges = diffResult.changes;\n      const quitEarly = diffResult.quitEarly;\n      if (this.shouldIgnoreTrimWhitespace) {\n        const lineChanges = [];\n        for (let i = 0, length = rawChanges.length; i < length; i++) {\n          lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n        }\n        return {\n          quitEarly,\n          changes: lineChanges\n        };\n      }\n      const result = [];\n      let originalLineIndex = 0;\n      let modifiedLineIndex = 0;\n      for (let i = -1, len = rawChanges.length; i < len; i++) {\n        const nextChange = i + 1 < len ? rawChanges[i + 1] : null;\n        const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length;\n        const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length;\n        while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) {\n          const originalLine = this.originalLines[originalLineIndex];\n          const modifiedLine = this.modifiedLines[modifiedLineIndex];\n          if (originalLine !== modifiedLine) {\n            {\n              let originalStartColumn = getFirstNonBlankColumn(originalLine, 1);\n              let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1);\n              while (originalStartColumn > 1 && modifiedStartColumn > 1) {\n                const originalChar = originalLine.charCodeAt(originalStartColumn - 2);\n                const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalStartColumn--;\n                modifiedStartColumn--;\n              }\n              if (originalStartColumn > 1 || modifiedStartColumn > 1) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn);\n              }\n            }\n            {\n              let originalEndColumn = getLastNonBlankColumn(originalLine, 1);\n              let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1);\n              const originalMaxColumn = originalLine.length + 1;\n              const modifiedMaxColumn = modifiedLine.length + 1;\n              while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) {\n                const originalChar = originalLine.charCodeAt(originalEndColumn - 1);\n                const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalEndColumn++;\n                modifiedEndColumn++;\n              }\n              if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn);\n              }\n            }\n          }\n          originalLineIndex++;\n          modifiedLineIndex++;\n        }\n        if (nextChange) {\n          result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n          originalLineIndex += nextChange.originalLength;\n          modifiedLineIndex += nextChange.modifiedLength;\n        }\n      }\n      return {\n        quitEarly,\n        changes: result\n      };\n    }\n    _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) {\n        return;\n      }\n      let charChanges = void 0;\n      if (this.shouldComputeCharChanges) {\n        charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)];\n      }\n      result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges));\n    }\n    _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      const len = result.length;\n      if (len === 0) {\n        return false;\n      }\n      const prevChange = result[len - 1];\n      if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) {\n        return false;\n      }\n      if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) {\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) {\n        prevChange.originalEndLineNumber = originalLineNumber;\n        prevChange.modifiedEndLineNumber = modifiedLineNumber;\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      return false;\n    }\n  };\n  function getFirstNonBlankColumn(txt, defaultValue) {\n    const r = firstNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 1;\n  }\n  function getLastNonBlankColumn(txt, defaultValue) {\n    const r = lastNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 2;\n  }\n  function createContinueProcessingPredicate(maximumRuntime) {\n    if (maximumRuntime === 0) {\n      return () => true;\n    }\n    const startTime = Date.now();\n    return () => {\n      return Date.now() - startTime < maximumRuntime;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js\n  var DiffAlgorithmResult = class _DiffAlgorithmResult {\n    static trivial(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);\n    }\n    static trivialTimedOut(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true);\n    }\n    constructor(diffs, hitTimeout) {\n      this.diffs = diffs;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var SequenceDiff = class _SequenceDiff {\n    static invert(sequenceDiffs, doc1Length) {\n      const result = [];\n      forEachAdjacent(sequenceDiffs, (a2, b) => {\n        result.push(_SequenceDiff.fromOffsetPairs(a2 ? a2.getEndExclusives() : OffsetPair.zero, b ? b.getStarts() : new OffsetPair(doc1Length, (a2 ? a2.seq2Range.endExclusive - a2.seq1Range.endExclusive : 0) + doc1Length)));\n      });\n      return result;\n    }\n    static fromOffsetPairs(start, endExclusive) {\n      return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2));\n    }\n    constructor(seq1Range, seq2Range) {\n      this.seq1Range = seq1Range;\n      this.seq2Range = seq2Range;\n    }\n    swap() {\n      return new _SequenceDiff(this.seq2Range, this.seq1Range);\n    }\n    toString() {\n      return `${this.seq1Range} <-> ${this.seq2Range}`;\n    }\n    join(other) {\n      return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range));\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset));\n    }\n    deltaStart(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset));\n    }\n    deltaEnd(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset));\n    }\n    intersect(other) {\n      const i1 = this.seq1Range.intersect(other.seq1Range);\n      const i2 = this.seq2Range.intersect(other.seq2Range);\n      if (!i1 || !i2) {\n        return void 0;\n      }\n      return new _SequenceDiff(i1, i2);\n    }\n    getStarts() {\n      return new OffsetPair(this.seq1Range.start, this.seq2Range.start);\n    }\n    getEndExclusives() {\n      return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive);\n    }\n  };\n  var OffsetPair = class _OffsetPair {\n    constructor(offset1, offset2) {\n      this.offset1 = offset1;\n      this.offset2 = offset2;\n    }\n    toString() {\n      return `${this.offset1} <-> ${this.offset2}`;\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _OffsetPair(this.offset1 + offset, this.offset2 + offset);\n    }\n    equals(other) {\n      return this.offset1 === other.offset1 && this.offset2 === other.offset2;\n    }\n  };\n  OffsetPair.zero = new OffsetPair(0, 0);\n  OffsetPair.max = new OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER);\n  var InfiniteTimeout = class {\n    isValid() {\n      return true;\n    }\n  };\n  InfiniteTimeout.instance = new InfiniteTimeout();\n  var DateTimeout = class {\n    constructor(timeout) {\n      this.timeout = timeout;\n      this.startTime = Date.now();\n      this.valid = true;\n      if (timeout <= 0) {\n        throw new BugIndicatingError(\"timeout must be positive\");\n      }\n    }\n    // Recommendation: Set a log-point `{this.disable()}` in the body\n    isValid() {\n      const valid = Date.now() - this.startTime < this.timeout;\n      if (!valid && this.valid) {\n        this.valid = false;\n        debugger;\n      }\n      return this.valid;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js\n  var Array2D = class {\n    constructor(width, height) {\n      this.width = width;\n      this.height = height;\n      this.array = [];\n      this.array = new Array(width * height);\n    }\n    get(x, y) {\n      return this.array[x + y * this.width];\n    }\n    set(x, y, value) {\n      this.array[x + y * this.width] = value;\n    }\n  };\n  function isSpace(charCode) {\n    return charCode === 32 || charCode === 9;\n  }\n  var LineRangeFragment = class _LineRangeFragment {\n    static getKey(chr) {\n      let key = this.chrKeys.get(chr);\n      if (key === void 0) {\n        key = this.chrKeys.size;\n        this.chrKeys.set(chr, key);\n      }\n      return key;\n    }\n    constructor(range, lines, source) {\n      this.range = range;\n      this.lines = lines;\n      this.source = source;\n      this.histogram = [];\n      let counter = 0;\n      for (let i = range.startLineNumber - 1; i < range.endLineNumberExclusive - 1; i++) {\n        const line = lines[i];\n        for (let j = 0; j < line.length; j++) {\n          counter++;\n          const chr = line[j];\n          const key2 = _LineRangeFragment.getKey(chr);\n          this.histogram[key2] = (this.histogram[key2] || 0) + 1;\n        }\n        counter++;\n        const key = _LineRangeFragment.getKey(\"\\n\");\n        this.histogram[key] = (this.histogram[key] || 0) + 1;\n      }\n      this.totalCount = counter;\n    }\n    computeSimilarity(other) {\n      var _a4, _b3;\n      let sumDifferences = 0;\n      const maxLength = Math.max(this.histogram.length, other.histogram.length);\n      for (let i = 0; i < maxLength; i++) {\n        sumDifferences += Math.abs(((_a4 = this.histogram[i]) !== null && _a4 !== void 0 ? _a4 : 0) - ((_b3 = other.histogram[i]) !== null && _b3 !== void 0 ? _b3 : 0));\n      }\n      return 1 - sumDifferences / (this.totalCount + other.totalCount);\n    }\n  };\n  LineRangeFragment.chrKeys = /* @__PURE__ */ new Map();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js\n  var DynamicProgrammingDiffing = class {\n    compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {\n      if (sequence1.length === 0 || sequence2.length === 0) {\n        return DiffAlgorithmResult.trivial(sequence1, sequence2);\n      }\n      const lcsLengths = new Array2D(sequence1.length, sequence2.length);\n      const directions = new Array2D(sequence1.length, sequence2.length);\n      const lengths = new Array2D(sequence1.length, sequence2.length);\n      for (let s12 = 0; s12 < sequence1.length; s12++) {\n        for (let s22 = 0; s22 < sequence2.length; s22++) {\n          if (!timeout.isValid()) {\n            return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2);\n          }\n          const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22);\n          const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1);\n          let extendedSeqScore;\n          if (sequence1.getElement(s12) === sequence2.getElement(s22)) {\n            if (s12 === 0 || s22 === 0) {\n              extendedSeqScore = 0;\n            } else {\n              extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1);\n            }\n            if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) {\n              extendedSeqScore += lengths.get(s12 - 1, s22 - 1);\n            }\n            extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1;\n          } else {\n            extendedSeqScore = -1;\n          }\n          const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore);\n          if (newValue === extendedSeqScore) {\n            const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0;\n            lengths.set(s12, s22, prevLen + 1);\n            directions.set(s12, s22, 3);\n          } else if (newValue === horizontalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 1);\n          } else if (newValue === verticalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 2);\n          }\n          lcsLengths.set(s12, s22, newValue);\n        }\n      }\n      const result = [];\n      let lastAligningPosS1 = sequence1.length;\n      let lastAligningPosS2 = sequence2.length;\n      function reportDecreasingAligningPositions(s12, s22) {\n        if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2)));\n        }\n        lastAligningPosS1 = s12;\n        lastAligningPosS2 = s22;\n      }\n      let s1 = sequence1.length - 1;\n      let s2 = sequence2.length - 1;\n      while (s1 >= 0 && s2 >= 0) {\n        if (directions.get(s1, s2) === 3) {\n          reportDecreasingAligningPositions(s1, s2);\n          s1--;\n          s2--;\n        } else {\n          if (directions.get(s1, s2) === 1) {\n            s1--;\n          } else {\n            s2--;\n          }\n        }\n      }\n      reportDecreasingAligningPositions(-1, -1);\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js\n  var MyersDiffAlgorithm = class {\n    compute(seq1, seq2, timeout = InfiniteTimeout.instance) {\n      if (seq1.length === 0 || seq2.length === 0) {\n        return DiffAlgorithmResult.trivial(seq1, seq2);\n      }\n      const seqX = seq1;\n      const seqY = seq2;\n      function getXAfterSnake(x, y) {\n        while (x < seqX.length && y < seqY.length && seqX.getElement(x) === seqY.getElement(y)) {\n          x++;\n          y++;\n        }\n        return x;\n      }\n      let d = 0;\n      const V = new FastInt32Array();\n      V.set(0, getXAfterSnake(0, 0));\n      const paths = new FastArrayNegativeIndices();\n      paths.set(0, V.get(0) === 0 ? null : new SnakePath(null, 0, 0, V.get(0)));\n      let k = 0;\n      loop: while (true) {\n        d++;\n        if (!timeout.isValid()) {\n          return DiffAlgorithmResult.trivialTimedOut(seqX, seqY);\n        }\n        const lowerBound = -Math.min(d, seqY.length + d % 2);\n        const upperBound = Math.min(d, seqX.length + d % 2);\n        for (k = lowerBound; k <= upperBound; k += 2) {\n          let step = 0;\n          const maxXofDLineTop = k === upperBound ? -1 : V.get(k + 1);\n          const maxXofDLineLeft = k === lowerBound ? -1 : V.get(k - 1) + 1;\n          step++;\n          const x = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length);\n          const y = x - k;\n          step++;\n          if (x > seqX.length || y > seqY.length) {\n            continue;\n          }\n          const newMaxX = getXAfterSnake(x, y);\n          V.set(k, newMaxX);\n          const lastPath = x === maxXofDLineTop ? paths.get(k + 1) : paths.get(k - 1);\n          paths.set(k, newMaxX !== x ? new SnakePath(lastPath, x, y, newMaxX - x) : lastPath);\n          if (V.get(k) === seqX.length && V.get(k) - k === seqY.length) {\n            break loop;\n          }\n        }\n      }\n      let path = paths.get(k);\n      const result = [];\n      let lastAligningPosS1 = seqX.length;\n      let lastAligningPosS2 = seqY.length;\n      while (true) {\n        const endX = path ? path.x + path.length : 0;\n        const endY = path ? path.y + path.length : 0;\n        if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2)));\n        }\n        if (!path) {\n          break;\n        }\n        lastAligningPosS1 = path.x;\n        lastAligningPosS2 = path.y;\n        path = path.prev;\n      }\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n  var SnakePath = class {\n    constructor(prev, x, y, length) {\n      this.prev = prev;\n      this.x = x;\n      this.y = y;\n      this.length = length;\n    }\n  };\n  var FastInt32Array = class {\n    constructor() {\n      this.positiveArr = new Int32Array(10);\n      this.negativeArr = new Int32Array(10);\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        if (idx >= this.negativeArr.length) {\n          const arr = this.negativeArr;\n          this.negativeArr = new Int32Array(arr.length * 2);\n          this.negativeArr.set(arr);\n        }\n        this.negativeArr[idx] = value;\n      } else {\n        if (idx >= this.positiveArr.length) {\n          const arr = this.positiveArr;\n          this.positiveArr = new Int32Array(arr.length * 2);\n          this.positiveArr.set(arr);\n        }\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n  var FastArrayNegativeIndices = class {\n    constructor() {\n      this.positiveArr = [];\n      this.negativeArr = [];\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        this.negativeArr[idx] = value;\n      } else {\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js\n  var LinesSliceCharSequence = class {\n    constructor(lines, lineRange, considerWhitespaceChanges) {\n      this.lines = lines;\n      this.considerWhitespaceChanges = considerWhitespaceChanges;\n      this.elements = [];\n      this.firstCharOffsetByLine = [];\n      this.additionalOffsetByLine = [];\n      let trimFirstLineFully = false;\n      if (lineRange.start > 0 && lineRange.endExclusive >= lines.length) {\n        lineRange = new OffsetRange(lineRange.start - 1, lineRange.endExclusive);\n        trimFirstLineFully = true;\n      }\n      this.lineRange = lineRange;\n      this.firstCharOffsetByLine[0] = 0;\n      for (let i = this.lineRange.start; i < this.lineRange.endExclusive; i++) {\n        let line = lines[i];\n        let offset = 0;\n        if (trimFirstLineFully) {\n          offset = line.length;\n          line = \"\";\n          trimFirstLineFully = false;\n        } else if (!considerWhitespaceChanges) {\n          const trimmedStartLine = line.trimStart();\n          offset = line.length - trimmedStartLine.length;\n          line = trimmedStartLine.trimEnd();\n        }\n        this.additionalOffsetByLine.push(offset);\n        for (let i2 = 0; i2 < line.length; i2++) {\n          this.elements.push(line.charCodeAt(i2));\n        }\n        if (i < lines.length - 1) {\n          this.elements.push(\"\\n\".charCodeAt(0));\n          this.firstCharOffsetByLine[i - this.lineRange.start + 1] = this.elements.length;\n        }\n      }\n      this.additionalOffsetByLine.push(0);\n    }\n    toString() {\n      return `Slice: \"${this.text}\"`;\n    }\n    get text() {\n      return this.getText(new OffsetRange(0, this.length));\n    }\n    getText(range) {\n      return this.elements.slice(range.start, range.endExclusive).map((e) => String.fromCharCode(e)).join(\"\");\n    }\n    getElement(offset) {\n      return this.elements[offset];\n    }\n    get length() {\n      return this.elements.length;\n    }\n    getBoundaryScore(length) {\n      const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1);\n      const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1);\n      if (prevCategory === 7 && nextCategory === 8) {\n        return 0;\n      }\n      if (prevCategory === 8) {\n        return 150;\n      }\n      let score2 = 0;\n      if (prevCategory !== nextCategory) {\n        score2 += 10;\n        if (prevCategory === 0 && nextCategory === 1) {\n          score2 += 1;\n        }\n      }\n      score2 += getCategoryBoundaryScore(prevCategory);\n      score2 += getCategoryBoundaryScore(nextCategory);\n      return score2;\n    }\n    translateOffset(offset) {\n      if (this.lineRange.isEmpty) {\n        return new Position(this.lineRange.start + 1, 1);\n      }\n      const i = findLastIdxMonotonous(this.firstCharOffsetByLine, (value) => value <= offset);\n      return new Position(this.lineRange.start + i + 1, offset - this.firstCharOffsetByLine[i] + this.additionalOffsetByLine[i] + 1);\n    }\n    translateRange(range) {\n      return Range.fromPositions(this.translateOffset(range.start), this.translateOffset(range.endExclusive));\n    }\n    /**\n     * Finds the word that contains the character at the given offset\n     */\n    findWordContaining(offset) {\n      if (offset < 0 || offset >= this.elements.length) {\n        return void 0;\n      }\n      if (!isWordChar(this.elements[offset])) {\n        return void 0;\n      }\n      let start = offset;\n      while (start > 0 && isWordChar(this.elements[start - 1])) {\n        start--;\n      }\n      let end = offset;\n      while (end < this.elements.length && isWordChar(this.elements[end])) {\n        end++;\n      }\n      return new OffsetRange(start, end);\n    }\n    countLinesIn(range) {\n      return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber;\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.elements[offset1] === this.elements[offset2];\n    }\n    extendToFullLines(range) {\n      var _a4, _b3;\n      const start = (_a4 = findLastMonotonous(this.firstCharOffsetByLine, (x) => x <= range.start)) !== null && _a4 !== void 0 ? _a4 : 0;\n      const end = (_b3 = findFirstMonotonous(this.firstCharOffsetByLine, (x) => range.endExclusive <= x)) !== null && _b3 !== void 0 ? _b3 : this.elements.length;\n      return new OffsetRange(start, end);\n    }\n  };\n  function isWordChar(charCode) {\n    return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57;\n  }\n  var score = {\n    [\n      0\n      /* CharBoundaryCategory.WordLower */\n    ]: 0,\n    [\n      1\n      /* CharBoundaryCategory.WordUpper */\n    ]: 0,\n    [\n      2\n      /* CharBoundaryCategory.WordNumber */\n    ]: 0,\n    [\n      3\n      /* CharBoundaryCategory.End */\n    ]: 10,\n    [\n      4\n      /* CharBoundaryCategory.Other */\n    ]: 2,\n    [\n      5\n      /* CharBoundaryCategory.Separator */\n    ]: 30,\n    [\n      6\n      /* CharBoundaryCategory.Space */\n    ]: 3,\n    [\n      7\n      /* CharBoundaryCategory.LineBreakCR */\n    ]: 10,\n    [\n      8\n      /* CharBoundaryCategory.LineBreakLF */\n    ]: 10\n  };\n  function getCategoryBoundaryScore(category) {\n    return score[category];\n  }\n  function getCategory(charCode) {\n    if (charCode === 10) {\n      return 8;\n    } else if (charCode === 13) {\n      return 7;\n    } else if (isSpace(charCode)) {\n      return 6;\n    } else if (charCode >= 97 && charCode <= 122) {\n      return 0;\n    } else if (charCode >= 65 && charCode <= 90) {\n      return 1;\n    } else if (charCode >= 48 && charCode <= 57) {\n      return 2;\n    } else if (charCode === -1) {\n      return 3;\n    } else if (charCode === 44 || charCode === 59) {\n      return 5;\n    } else {\n      return 4;\n    }\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js\n  function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {\n    let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);\n    if (!timeout.isValid()) {\n      return [];\n    }\n    const filteredChanges = changes.filter((c) => !excludedChanges.has(c));\n    const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout);\n    pushMany(moves, unchangedMoves);\n    moves = joinCloseConsecutiveMoves(moves);\n    moves = moves.filter((current) => {\n      const lines = current.original.toOffsetRange().slice(originalLines).map((l) => l.trim());\n      const originalText = lines.join(\"\\n\");\n      return originalText.length >= 15 && countWhere(lines, (l) => l.length >= 2) >= 2;\n    });\n    moves = removeMovesInSameDiff(changes, moves);\n    return moves;\n  }\n  function countWhere(arr, predicate) {\n    let count = 0;\n    for (const t of arr) {\n      if (predicate(t)) {\n        count++;\n      }\n    }\n    return count;\n  }\n  function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const deletions = changes.filter((c) => c.modified.isEmpty && c.original.length >= 3).map((d) => new LineRangeFragment(d.original, originalLines, d));\n    const insertions = new Set(changes.filter((c) => c.original.isEmpty && c.modified.length >= 3).map((d) => new LineRangeFragment(d.modified, modifiedLines, d)));\n    const excludedChanges = /* @__PURE__ */ new Set();\n    for (const deletion of deletions) {\n      let highestSimilarity = -1;\n      let best;\n      for (const insertion of insertions) {\n        const similarity = deletion.computeSimilarity(insertion);\n        if (similarity > highestSimilarity) {\n          highestSimilarity = similarity;\n          best = insertion;\n        }\n      }\n      if (highestSimilarity > 0.9 && best) {\n        insertions.delete(best);\n        moves.push(new LineRangeMapping(deletion.range, best.range));\n        excludedChanges.add(deletion.source);\n        excludedChanges.add(best.source);\n      }\n      if (!timeout.isValid()) {\n        return { moves, excludedChanges };\n      }\n    }\n    return { moves, excludedChanges };\n  }\n  function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const original3LineHashes = new SetMap();\n    for (const change of changes) {\n      for (let i = change.original.startLineNumber; i < change.original.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedOriginalLines[i - 1]}:${hashedOriginalLines[i + 1 - 1]}:${hashedOriginalLines[i + 2 - 1]}`;\n        original3LineHashes.add(key, { range: new LineRange(i, i + 3) });\n      }\n    }\n    const possibleMappings = [];\n    changes.sort(compareBy((c) => c.modified.startLineNumber, numberComparator));\n    for (const change of changes) {\n      let lastMappings = [];\n      for (let i = change.modified.startLineNumber; i < change.modified.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedModifiedLines[i - 1]}:${hashedModifiedLines[i + 1 - 1]}:${hashedModifiedLines[i + 2 - 1]}`;\n        const currentModifiedRange = new LineRange(i, i + 3);\n        const nextMappings = [];\n        original3LineHashes.forEach(key, ({ range }) => {\n          for (const lastMapping of lastMappings) {\n            if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) {\n              lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive);\n              lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive);\n              nextMappings.push(lastMapping);\n              return;\n            }\n          }\n          const mapping = {\n            modifiedLineRange: currentModifiedRange,\n            originalLineRange: range\n          };\n          possibleMappings.push(mapping);\n          nextMappings.push(mapping);\n        });\n        lastMappings = nextMappings;\n      }\n      if (!timeout.isValid()) {\n        return [];\n      }\n    }\n    possibleMappings.sort(reverseOrder(compareBy((m) => m.modifiedLineRange.length, numberComparator)));\n    const modifiedSet = new LineRangeSet();\n    const originalSet = new LineRangeSet();\n    for (const mapping of possibleMappings) {\n      const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber;\n      const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange);\n      const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod);\n      const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections);\n      for (const s of modifiedIntersectedSections.ranges) {\n        if (s.length < 3) {\n          continue;\n        }\n        const modifiedLineRange = s;\n        const originalLineRange = s.delta(-diffOrigToMod);\n        moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange));\n        modifiedSet.addRange(modifiedLineRange);\n        originalSet.addRange(originalLineRange);\n      }\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const monotonousChanges = new MonotonousArray(changes);\n    for (let i = 0; i < moves.length; i++) {\n      const move = moves[i];\n      const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber <= move.original.startLineNumber);\n      const firstTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber <= move.modified.startLineNumber);\n      const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber);\n      const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber < move.original.endLineNumberExclusive);\n      const lastTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber < move.modified.endLineNumberExclusive);\n      const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive);\n      let extendToTop;\n      for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) {\n        const origLine = move.original.startLineNumber - extendToTop - 1;\n        const modLine = move.modified.startLineNumber - extendToTop - 1;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToTop > 0) {\n        originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber));\n        modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber));\n      }\n      let extendToBottom;\n      for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) {\n        const origLine = move.original.endLineNumberExclusive + extendToBottom;\n        const modLine = move.modified.endLineNumberExclusive + extendToBottom;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToBottom > 0) {\n        originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom));\n        modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n      if (extendToTop > 0 || extendToBottom > 0) {\n        moves[i] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n    }\n    return moves;\n  }\n  function areLinesSimilar(line1, line2, timeout) {\n    if (line1.trim() === line2.trim()) {\n      return true;\n    }\n    if (line1.length > 300 && line2.length > 300) {\n      return false;\n    }\n    const myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new OffsetRange(0, 1), false), new LinesSliceCharSequence([line2], new OffsetRange(0, 1), false), timeout);\n    let commonNonSpaceCharCount = 0;\n    const inverted = SequenceDiff.invert(result.diffs, line1.length);\n    for (const seq of inverted) {\n      seq.seq1Range.forEach((idx) => {\n        if (!isSpace(line1.charCodeAt(idx))) {\n          commonNonSpaceCharCount++;\n        }\n      });\n    }\n    function countNonWsChars(str) {\n      let count = 0;\n      for (let i = 0; i < line1.length; i++) {\n        if (!isSpace(str.charCodeAt(i))) {\n          count++;\n        }\n      }\n      return count;\n    }\n    const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2);\n    const r = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10;\n    return r;\n  }\n  function joinCloseConsecutiveMoves(moves) {\n    if (moves.length === 0) {\n      return moves;\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const result = [moves[0]];\n    for (let i = 1; i < moves.length; i++) {\n      const last = result[result.length - 1];\n      const current = moves[i];\n      const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive;\n      const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive;\n      const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0;\n      if (currentMoveAfterLast && originalDist + modifiedDist <= 2) {\n        result[result.length - 1] = last.join(current);\n        continue;\n      }\n      result.push(current);\n    }\n    return result;\n  }\n  function removeMovesInSameDiff(changes, moves) {\n    const changesMonotonous = new MonotonousArray(changes);\n    moves = moves.filter((m) => {\n      const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c) => c.original.startLineNumber < m.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1));\n      const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c) => c.modified.startLineNumber < m.modified.endLineNumberExclusive);\n      const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified;\n      return differentDiffs;\n    });\n    return moves;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js\n  function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    let result = sequenceDiffs;\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = shiftSequenceDiffs(sequence1, sequence2, result);\n    return result;\n  }\n  function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) {\n    if (sequenceDiffs.length === 0) {\n      return sequenceDiffs;\n    }\n    const result = [];\n    result.push(sequenceDiffs[0]);\n    for (let i = 1; i < sequenceDiffs.length; i++) {\n      const prevResult = result[result.length - 1];\n      let cur = sequenceDiffs[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = cur.seq1Range.start - prevResult.seq1Range.endExclusive;\n        let d;\n        for (d = 1; d <= length; d++) {\n          if (sequence1.getElement(cur.seq1Range.start - d) !== sequence1.getElement(cur.seq1Range.endExclusive - d) || sequence2.getElement(cur.seq2Range.start - d) !== sequence2.getElement(cur.seq2Range.endExclusive - d)) {\n            break;\n          }\n        }\n        d--;\n        if (d === length) {\n          result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length));\n          continue;\n        }\n        cur = cur.delta(-d);\n      }\n      result.push(cur);\n    }\n    const result2 = [];\n    for (let i = 0; i < result.length - 1; i++) {\n      const nextResult = result[i + 1];\n      let cur = result[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = nextResult.seq1Range.start - cur.seq1Range.endExclusive;\n        let d;\n        for (d = 0; d < length; d++) {\n          if (!sequence1.isStronglyEqual(cur.seq1Range.start + d, cur.seq1Range.endExclusive + d) || !sequence2.isStronglyEqual(cur.seq2Range.start + d, cur.seq2Range.endExclusive + d)) {\n            break;\n          }\n        }\n        if (d === length) {\n          result[i + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length, nextResult.seq2Range.endExclusive));\n          continue;\n        }\n        if (d > 0) {\n          cur = cur.delta(d);\n        }\n      }\n      result2.push(cur);\n    }\n    if (result.length > 0) {\n      result2.push(result[result.length - 1]);\n    }\n    return result2;\n  }\n  function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) {\n      return sequenceDiffs;\n    }\n    for (let i = 0; i < sequenceDiffs.length; i++) {\n      const prevDiff = i > 0 ? sequenceDiffs[i - 1] : void 0;\n      const diff = sequenceDiffs[i];\n      const nextDiff = i + 1 < sequenceDiffs.length ? sequenceDiffs[i + 1] : void 0;\n      const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length);\n      const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length);\n      if (diff.seq1Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange);\n      } else if (diff.seq2Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap();\n      }\n    }\n    return sequenceDiffs;\n  }\n  function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) {\n    const maxShiftLimit = 100;\n    let deltaBefore = 1;\n    while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) {\n      deltaBefore++;\n    }\n    deltaBefore--;\n    let deltaAfter = 0;\n    while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) {\n      deltaAfter++;\n    }\n    if (deltaBefore === 0 && deltaAfter === 0) {\n      return diff;\n    }\n    let bestDelta = 0;\n    let bestScore = -1;\n    for (let delta = -deltaBefore; delta <= deltaAfter; delta++) {\n      const seq2OffsetStart = diff.seq2Range.start + delta;\n      const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta;\n      const seq1Offset = diff.seq1Range.start + delta;\n      const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive);\n      if (score2 > bestScore) {\n        bestScore = score2;\n        bestDelta = delta;\n      }\n    }\n    return diff.delta(bestDelta);\n  }\n  function removeShortMatches(sequence1, sequence2, sequenceDiffs) {\n    const result = [];\n    for (const s of sequenceDiffs) {\n      const last = result[result.length - 1];\n      if (!last) {\n        result.push(s);\n        continue;\n      }\n      if (s.seq1Range.start - last.seq1Range.endExclusive <= 2 || s.seq2Range.start - last.seq2Range.endExclusive <= 2) {\n        result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s.seq1Range), last.seq2Range.join(s.seq2Range));\n      } else {\n        result.push(s);\n      }\n    }\n    return result;\n  }\n  function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) {\n    const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length);\n    const additional = [];\n    let lastPoint = new OffsetPair(0, 0);\n    function scanWord(pair, equalMapping) {\n      if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) {\n        return;\n      }\n      const w1 = sequence1.findWordContaining(pair.offset1);\n      const w2 = sequence2.findWordContaining(pair.offset2);\n      if (!w1 || !w2) {\n        return;\n      }\n      let w = new SequenceDiff(w1, w2);\n      const equalPart = w.intersect(equalMapping);\n      let equalChars1 = equalPart.seq1Range.length;\n      let equalChars2 = equalPart.seq2Range.length;\n      while (equalMappings.length > 0) {\n        const next = equalMappings[0];\n        const intersects = next.seq1Range.intersects(w.seq1Range) || next.seq2Range.intersects(w.seq2Range);\n        if (!intersects) {\n          break;\n        }\n        const v1 = sequence1.findWordContaining(next.seq1Range.start);\n        const v2 = sequence2.findWordContaining(next.seq2Range.start);\n        const v = new SequenceDiff(v1, v2);\n        const equalPart2 = v.intersect(next);\n        equalChars1 += equalPart2.seq1Range.length;\n        equalChars2 += equalPart2.seq2Range.length;\n        w = w.join(v);\n        if (w.seq1Range.endExclusive >= next.seq1Range.endExclusive) {\n          equalMappings.shift();\n        } else {\n          break;\n        }\n      }\n      if (equalChars1 + equalChars2 < (w.seq1Range.length + w.seq2Range.length) * 2 / 3) {\n        additional.push(w);\n      }\n      lastPoint = w.getEndExclusives();\n    }\n    while (equalMappings.length > 0) {\n      const next = equalMappings.shift();\n      if (next.seq1Range.isEmpty) {\n        continue;\n      }\n      scanWord(next.getStarts(), next);\n      scanWord(next.getEndExclusives().delta(-1), next);\n    }\n    const merged = mergeSequenceDiffs(sequenceDiffs, additional);\n    return merged;\n  }\n  function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) {\n    const result = [];\n    while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) {\n      const sd1 = sequenceDiffs1[0];\n      const sd2 = sequenceDiffs2[0];\n      let next;\n      if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) {\n        next = sequenceDiffs1.shift();\n      } else {\n        next = sequenceDiffs2.shift();\n      }\n      if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) {\n        result[result.length - 1] = result[result.length - 1].join(next);\n      } else {\n        result.push(next);\n      }\n    }\n    return result;\n  }\n  function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedText = sequence1.getText(unchangedRange);\n          const unchangedTextWithoutWs = unchangedText.replace(/\\s/g, \"\");\n          if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    return diffs;\n  }\n  function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedLineCount = sequence1.countLinesIn(unchangedRange);\n          if (unchangedLineCount > 5 || unchangedRange.length > 500) {\n            return false;\n          }\n          const unchangedText = sequence1.getText(unchangedRange).trim();\n          if (unchangedText.length > 20 || unchangedText.split(/\\r\\n|\\r|\\n/).length > 1) {\n            return false;\n          }\n          const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range);\n          const beforeSeq1Length = before.seq1Range.length;\n          const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range);\n          const beforeSeq2Length = before.seq2Range.length;\n          const afterLineCount1 = sequence1.countLinesIn(after.seq1Range);\n          const afterSeq1Length = after.seq1Range.length;\n          const afterLineCount2 = sequence2.countLinesIn(after.seq2Range);\n          const afterSeq2Length = after.seq2Range.length;\n          const max = 2 * 40 + 50;\n          function cap(v) {\n            return Math.min(v, max);\n          }\n          if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max ** 1.5) ** 1.5 * 1.3) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    const newDiffs = [];\n    forEachWithNeighbors(diffs, (prev, cur, next) => {\n      let newDiff = cur;\n      function shouldMarkAsChanged(text) {\n        return text.length > 0 && text.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100;\n      }\n      const fullRange1 = sequence1.extendToFullLines(cur.seq1Range);\n      const prefix = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start));\n      if (shouldMarkAsChanged(prefix)) {\n        newDiff = newDiff.deltaStart(-prefix.length);\n      }\n      const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive));\n      if (shouldMarkAsChanged(suffix)) {\n        newDiff = newDiff.deltaEnd(suffix.length);\n      }\n      const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max);\n      const result = newDiff.intersect(availableSpace);\n      if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) {\n        newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result);\n      } else {\n        newDiffs.push(result);\n      }\n    });\n    return newDiffs;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js\n  var LineSequence2 = class {\n    constructor(trimmedHash, lines) {\n      this.trimmedHash = trimmedHash;\n      this.lines = lines;\n    }\n    getElement(offset) {\n      return this.trimmedHash[offset];\n    }\n    get length() {\n      return this.trimmedHash.length;\n    }\n    getBoundaryScore(length) {\n      const indentationBefore = length === 0 ? 0 : getIndentation(this.lines[length - 1]);\n      const indentationAfter = length === this.lines.length ? 0 : getIndentation(this.lines[length]);\n      return 1e3 - (indentationBefore + indentationAfter);\n    }\n    getText(range) {\n      return this.lines.slice(range.start, range.endExclusive).join(\"\\n\");\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.lines[offset1] === this.lines[offset2];\n    }\n  };\n  function getIndentation(str) {\n    let i = 0;\n    while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) {\n      i++;\n    }\n    return i;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js\n  var DefaultLinesDiffComputer = class {\n    constructor() {\n      this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing();\n      this.myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    }\n    computeDiff(originalLines, modifiedLines, options) {\n      if (originalLines.length <= 1 && equals(originalLines, modifiedLines, (a2, b) => a2 === b)) {\n        return new LinesDiff([], [], false);\n      }\n      if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) {\n        return new LinesDiff([\n          new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [\n            new RangeMapping(new Range(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1))\n          ])\n        ], [], false);\n      }\n      const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs);\n      const considerWhitespaceChanges = !options.ignoreTrimWhitespace;\n      const perfectHashes = /* @__PURE__ */ new Map();\n      function getOrCreateHash(text) {\n        let hash = perfectHashes.get(text);\n        if (hash === void 0) {\n          hash = perfectHashes.size;\n          perfectHashes.set(text, hash);\n        }\n        return hash;\n      }\n      const originalLinesHashes = originalLines.map((l) => getOrCreateHash(l.trim()));\n      const modifiedLinesHashes = modifiedLines.map((l) => getOrCreateHash(l.trim()));\n      const sequence1 = new LineSequence2(originalLinesHashes, originalLines);\n      const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines);\n      const lineAlignmentResult = (() => {\n        if (sequence1.length + sequence2.length < 1700) {\n          return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99);\n        }\n        return this.myersDiffingAlgorithm.compute(sequence1, sequence2);\n      })();\n      let lineAlignments = lineAlignmentResult.diffs;\n      let hitTimeout = lineAlignmentResult.hitTimeout;\n      lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments);\n      lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments);\n      const alignments = [];\n      const scanForWhitespaceChanges = (equalLinesCount) => {\n        if (!considerWhitespaceChanges) {\n          return;\n        }\n        for (let i = 0; i < equalLinesCount; i++) {\n          const seq1Offset = seq1LastStart + i;\n          const seq2Offset = seq2LastStart + i;\n          if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) {\n            const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges);\n            for (const a2 of characterDiffs.mappings) {\n              alignments.push(a2);\n            }\n            if (characterDiffs.hitTimeout) {\n              hitTimeout = true;\n            }\n          }\n        }\n      };\n      let seq1LastStart = 0;\n      let seq2LastStart = 0;\n      for (const diff of lineAlignments) {\n        assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart);\n        const equalLinesCount = diff.seq1Range.start - seq1LastStart;\n        scanForWhitespaceChanges(equalLinesCount);\n        seq1LastStart = diff.seq1Range.endExclusive;\n        seq2LastStart = diff.seq2Range.endExclusive;\n        const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges);\n        if (characterDiffs.hitTimeout) {\n          hitTimeout = true;\n        }\n        for (const a2 of characterDiffs.mappings) {\n          alignments.push(a2);\n        }\n      }\n      scanForWhitespaceChanges(originalLines.length - seq1LastStart);\n      const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines);\n      let moves = [];\n      if (options.computeMoves) {\n        moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges);\n      }\n      assertFn(() => {\n        function validatePosition(pos, lines) {\n          if (pos.lineNumber < 1 || pos.lineNumber > lines.length) {\n            return false;\n          }\n          const line = lines[pos.lineNumber - 1];\n          if (pos.column < 1 || pos.column > line.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        function validateRange(range, lines) {\n          if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) {\n            return false;\n          }\n          if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        for (const c of changes) {\n          if (!c.innerChanges) {\n            return false;\n          }\n          for (const ic of c.innerChanges) {\n            const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines);\n            if (!valid) {\n              return false;\n            }\n          }\n          if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return new LinesDiff(changes, moves, hitTimeout);\n    }\n    computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) {\n      const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout);\n      const movesWithDiffs = moves.map((m) => {\n        const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m.original.toOffsetRange(), m.modified.toOffsetRange()), timeout, considerWhitespaceChanges);\n        const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true);\n        return new MovedText(m, mappings);\n      });\n      return movesWithDiffs;\n    }\n    refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) {\n      const slice1 = new LinesSliceCharSequence(originalLines, diff.seq1Range, considerWhitespaceChanges);\n      const slice2 = new LinesSliceCharSequence(modifiedLines, diff.seq2Range, considerWhitespaceChanges);\n      const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout);\n      let diffs = diffResult.diffs;\n      diffs = optimizeSequenceDiffs(slice1, slice2, diffs);\n      diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs);\n      diffs = removeShortMatches(slice1, slice2, diffs);\n      diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs);\n      const result = diffs.map((d) => new RangeMapping(slice1.translateRange(d.seq1Range), slice2.translateRange(d.seq2Range)));\n      return {\n        mappings: result,\n        hitTimeout: diffResult.hitTimeout\n      };\n    }\n  };\n  function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) {\n    const changes = [];\n    for (const g of groupAdjacentBy(alignments.map((a2) => getLineRangeMapping(a2, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) {\n      const first = g[0];\n      const last = g[g.length - 1];\n      changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g.map((a2) => a2.innerChanges[0])));\n    }\n    assertFn(() => {\n      if (!dontAssertStartLine && changes.length > 0) {\n        if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) {\n          return false;\n        }\n        if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) {\n          return false;\n        }\n      }\n      return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n      m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n    });\n    return changes;\n  }\n  function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {\n    let lineStartDelta = 0;\n    let lineEndDelta = 0;\n    if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) {\n      lineEndDelta = -1;\n    }\n    if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) {\n      lineStartDelta = 1;\n    }\n    const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta);\n    const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta);\n    return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js\n  var linesDiffComputers = {\n    getLegacy: () => new LegacyLinesDiffComputer(),\n    getDefault: () => new DefaultLinesDiffComputer()\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/color.js\n  function roundFloat(number, decimalPoints) {\n    const decimal = Math.pow(10, decimalPoints);\n    return Math.round(number * decimal) / decimal;\n  }\n  var RGBA = class {\n    constructor(r, g, b, a2 = 1) {\n      this._rgbaBrand = void 0;\n      this.r = Math.min(255, Math.max(0, r)) | 0;\n      this.g = Math.min(255, Math.max(0, g)) | 0;\n      this.b = Math.min(255, Math.max(0, b)) | 0;\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b) {\n      return a2.r === b.r && a2.g === b.g && a2.b === b.b && a2.a === b.a;\n    }\n  };\n  var HSLA = class _HSLA {\n    constructor(h, s, l, a2) {\n      this._hslaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.l = roundFloat(Math.max(Math.min(1, l), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b) {\n      return a2.h === b.h && a2.s === b.s && a2.l === b.l && a2.a === b.a;\n    }\n    /**\n     * Converts an RGB color value to HSL. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes r, g, and b are contained in the set [0, 255] and\n     * returns h in the set [0, 360], s, and l in the set [0, 1].\n     */\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const a2 = rgba.a;\n      const max = Math.max(r, g, b);\n      const min = Math.min(r, g, b);\n      let h = 0;\n      let s = 0;\n      const l = (min + max) / 2;\n      const chroma = max - min;\n      if (chroma > 0) {\n        s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1);\n        switch (max) {\n          case r:\n            h = (g - b) / chroma + (g < b ? 6 : 0);\n            break;\n          case g:\n            h = (b - r) / chroma + 2;\n            break;\n          case b:\n            h = (r - g) / chroma + 4;\n            break;\n        }\n        h *= 60;\n        h = Math.round(h);\n      }\n      return new _HSLA(h, s, l, a2);\n    }\n    static _hue2rgb(p, q, t) {\n      if (t < 0) {\n        t += 1;\n      }\n      if (t > 1) {\n        t -= 1;\n      }\n      if (t < 1 / 6) {\n        return p + (q - p) * 6 * t;\n      }\n      if (t < 1 / 2) {\n        return q;\n      }\n      if (t < 2 / 3) {\n        return p + (q - p) * (2 / 3 - t) * 6;\n      }\n      return p;\n    }\n    /**\n     * Converts an HSL color value to RGB. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and\n     * returns r, g, and b in the set [0, 255].\n     */\n    static toRGBA(hsla) {\n      const h = hsla.h / 360;\n      const { s, l, a: a2 } = hsla;\n      let r, g, b;\n      if (s === 0) {\n        r = g = b = l;\n      } else {\n        const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n        const p = 2 * l - q;\n        r = _HSLA._hue2rgb(p, q, h + 1 / 3);\n        g = _HSLA._hue2rgb(p, q, h);\n        b = _HSLA._hue2rgb(p, q, h - 1 / 3);\n      }\n      return new RGBA(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255), a2);\n    }\n  };\n  var HSVA = class _HSVA {\n    constructor(h, s, v, a2) {\n      this._hsvaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.v = roundFloat(Math.max(Math.min(1, v), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b) {\n      return a2.h === b.h && a2.s === b.s && a2.v === b.v && a2.a === b.a;\n    }\n    // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const cmax = Math.max(r, g, b);\n      const cmin = Math.min(r, g, b);\n      const delta = cmax - cmin;\n      const s = cmax === 0 ? 0 : delta / cmax;\n      let m;\n      if (delta === 0) {\n        m = 0;\n      } else if (cmax === r) {\n        m = ((g - b) / delta % 6 + 6) % 6;\n      } else if (cmax === g) {\n        m = (b - r) / delta + 2;\n      } else {\n        m = (r - g) / delta + 4;\n      }\n      return new _HSVA(Math.round(m * 60), s, cmax, rgba.a);\n    }\n    // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm\n    static toRGBA(hsva) {\n      const { h, s, v, a: a2 } = hsva;\n      const c = v * s;\n      const x = c * (1 - Math.abs(h / 60 % 2 - 1));\n      const m = v - c;\n      let [r, g, b] = [0, 0, 0];\n      if (h < 60) {\n        r = c;\n        g = x;\n      } else if (h < 120) {\n        r = x;\n        g = c;\n      } else if (h < 180) {\n        g = c;\n        b = x;\n      } else if (h < 240) {\n        g = x;\n        b = c;\n      } else if (h < 300) {\n        r = x;\n        b = c;\n      } else if (h <= 360) {\n        r = c;\n        b = x;\n      }\n      r = Math.round((r + m) * 255);\n      g = Math.round((g + m) * 255);\n      b = Math.round((b + m) * 255);\n      return new RGBA(r, g, b, a2);\n    }\n  };\n  var Color = class _Color {\n    static fromHex(hex) {\n      return _Color.Format.CSS.parseHex(hex) || _Color.red;\n    }\n    static equals(a2, b) {\n      if (!a2 && !b) {\n        return true;\n      }\n      if (!a2 || !b) {\n        return false;\n      }\n      return a2.equals(b);\n    }\n    get hsla() {\n      if (this._hsla) {\n        return this._hsla;\n      } else {\n        return HSLA.fromRGBA(this.rgba);\n      }\n    }\n    get hsva() {\n      if (this._hsva) {\n        return this._hsva;\n      }\n      return HSVA.fromRGBA(this.rgba);\n    }\n    constructor(arg) {\n      if (!arg) {\n        throw new Error(\"Color needs a value\");\n      } else if (arg instanceof RGBA) {\n        this.rgba = arg;\n      } else if (arg instanceof HSLA) {\n        this._hsla = arg;\n        this.rgba = HSLA.toRGBA(arg);\n      } else if (arg instanceof HSVA) {\n        this._hsva = arg;\n        this.rgba = HSVA.toRGBA(arg);\n      } else {\n        throw new Error(\"Invalid color ctor argument\");\n      }\n    }\n    equals(other) {\n      return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva);\n    }\n    /**\n     * http://www.w3.org/TR/WCAG20/#relativeluminancedef\n     * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.\n     */\n    getRelativeLuminance() {\n      const R = _Color._relativeLuminanceForComponent(this.rgba.r);\n      const G = _Color._relativeLuminanceForComponent(this.rgba.g);\n      const B = _Color._relativeLuminanceForComponent(this.rgba.b);\n      const luminance = 0.2126 * R + 0.7152 * G + 0.0722 * B;\n      return roundFloat(luminance, 4);\n    }\n    static _relativeLuminanceForComponent(color) {\n      const c = color / 255;\n      return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);\n    }\n    /**\n     *\thttp://24ways.org/2010/calculating-color-contrast\n     *  Return 'true' if lighter color otherwise 'false'\n     */\n    isLighter() {\n      const yiq = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3;\n      return yiq >= 128;\n    }\n    isLighterThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 > lum2;\n    }\n    isDarkerThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 < lum2;\n    }\n    lighten(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor, this.hsla.a));\n    }\n    darken(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor, this.hsla.a));\n    }\n    transparent(factor) {\n      const { r, g, b, a: a2 } = this.rgba;\n      return new _Color(new RGBA(r, g, b, a2 * factor));\n    }\n    isTransparent() {\n      return this.rgba.a === 0;\n    }\n    isOpaque() {\n      return this.rgba.a === 1;\n    }\n    opposite() {\n      return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));\n    }\n    makeOpaque(opaqueBackground) {\n      if (this.isOpaque() || opaqueBackground.rgba.a !== 1) {\n        return this;\n      }\n      const { r, g, b, a: a2 } = this.rgba;\n      return new _Color(new RGBA(opaqueBackground.rgba.r - a2 * (opaqueBackground.rgba.r - r), opaqueBackground.rgba.g - a2 * (opaqueBackground.rgba.g - g), opaqueBackground.rgba.b - a2 * (opaqueBackground.rgba.b - b), 1));\n    }\n    toString() {\n      if (!this._toString) {\n        this._toString = _Color.Format.CSS.format(this);\n      }\n      return this._toString;\n    }\n    static getLighterColor(of, relative2, factor) {\n      if (of.isLighterThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum2 - lum1) / lum2;\n      return of.lighten(factor);\n    }\n    static getDarkerColor(of, relative2, factor) {\n      if (of.isDarkerThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum1 - lum2) / lum1;\n      return of.darken(factor);\n    }\n  };\n  Color.white = new Color(new RGBA(255, 255, 255, 1));\n  Color.black = new Color(new RGBA(0, 0, 0, 1));\n  Color.red = new Color(new RGBA(255, 0, 0, 1));\n  Color.blue = new Color(new RGBA(0, 0, 255, 1));\n  Color.green = new Color(new RGBA(0, 255, 0, 1));\n  Color.cyan = new Color(new RGBA(0, 255, 255, 1));\n  Color.lightgrey = new Color(new RGBA(211, 211, 211, 1));\n  Color.transparent = new Color(new RGBA(0, 0, 0, 0));\n  (function(Color3) {\n    let Format;\n    (function(Format2) {\n      let CSS;\n      (function(CSS2) {\n        function formatRGB(color) {\n          if (color.rgba.a === 1) {\n            return `rgb(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b})`;\n          }\n          return Color3.Format.CSS.formatRGBA(color);\n        }\n        CSS2.formatRGB = formatRGB;\n        function formatRGBA(color) {\n          return `rgba(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b}, ${+color.rgba.a.toFixed(2)})`;\n        }\n        CSS2.formatRGBA = formatRGBA;\n        function formatHSL(color) {\n          if (color.hsla.a === 1) {\n            return `hsl(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%)`;\n          }\n          return Color3.Format.CSS.formatHSLA(color);\n        }\n        CSS2.formatHSL = formatHSL;\n        function formatHSLA(color) {\n          return `hsla(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%, ${color.hsla.a.toFixed(2)})`;\n        }\n        CSS2.formatHSLA = formatHSLA;\n        function _toTwoDigitHex(n) {\n          const r = n.toString(16);\n          return r.length !== 2 ? \"0\" + r : r;\n        }\n        function formatHex(color) {\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}`;\n        }\n        CSS2.formatHex = formatHex;\n        function formatHexA(color, compact = false) {\n          if (compact && color.rgba.a === 1) {\n            return Color3.Format.CSS.formatHex(color);\n          }\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}${_toTwoDigitHex(Math.round(color.rgba.a * 255))}`;\n        }\n        CSS2.formatHexA = formatHexA;\n        function format4(color) {\n          if (color.isOpaque()) {\n            return Color3.Format.CSS.formatHex(color);\n          }\n          return Color3.Format.CSS.formatRGBA(color);\n        }\n        CSS2.format = format4;\n        function parseHex(hex) {\n          const length = hex.length;\n          if (length === 0) {\n            return null;\n          }\n          if (hex.charCodeAt(0) !== 35) {\n            return null;\n          }\n          if (length === 7) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            return new Color3(new RGBA(r, g, b, 1));\n          }\n          if (length === 9) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            const a2 = 16 * _parseHexDigit(hex.charCodeAt(7)) + _parseHexDigit(hex.charCodeAt(8));\n            return new Color3(new RGBA(r, g, b, a2 / 255));\n          }\n          if (length === 4) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b));\n          }\n          if (length === 5) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            const a2 = _parseHexDigit(hex.charCodeAt(4));\n            return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b, (16 * a2 + a2) / 255));\n          }\n          return null;\n        }\n        CSS2.parseHex = parseHex;\n        function _parseHexDigit(charCode) {\n          switch (charCode) {\n            case 48:\n              return 0;\n            case 49:\n              return 1;\n            case 50:\n              return 2;\n            case 51:\n              return 3;\n            case 52:\n              return 4;\n            case 53:\n              return 5;\n            case 54:\n              return 6;\n            case 55:\n              return 7;\n            case 56:\n              return 8;\n            case 57:\n              return 9;\n            case 97:\n              return 10;\n            case 65:\n              return 10;\n            case 98:\n              return 11;\n            case 66:\n              return 11;\n            case 99:\n              return 12;\n            case 67:\n              return 12;\n            case 100:\n              return 13;\n            case 68:\n              return 13;\n            case 101:\n              return 14;\n            case 69:\n              return 14;\n            case 102:\n              return 15;\n            case 70:\n              return 15;\n          }\n          return 0;\n        }\n      })(CSS = Format2.CSS || (Format2.CSS = {}));\n    })(Format = Color3.Format || (Color3.Format = {}));\n  })(Color || (Color = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js\n  function _parseCaptureGroups(captureGroups) {\n    const values = [];\n    for (const captureGroup of captureGroups) {\n      const parsedNumber = Number(captureGroup);\n      if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\\s/g, \"\") !== \"\") {\n        values.push(parsedNumber);\n      }\n    }\n    return values;\n  }\n  function _toIColor(r, g, b, a2) {\n    return {\n      red: r / 255,\n      blue: b / 255,\n      green: g / 255,\n      alpha: a2\n    };\n  }\n  function _findRange(model, match) {\n    const index = match.index;\n    const length = match[0].length;\n    if (!index) {\n      return;\n    }\n    const startPosition = model.positionAt(index);\n    const range = {\n      startLineNumber: startPosition.lineNumber,\n      startColumn: startPosition.column,\n      endLineNumber: startPosition.lineNumber,\n      endColumn: startPosition.column + length\n    };\n    return range;\n  }\n  function _findHexColorInformation(range, hexValue) {\n    if (!range) {\n      return;\n    }\n    const parsedHexColor = Color.Format.CSS.parseHex(hexValue);\n    if (!parsedHexColor) {\n      return;\n    }\n    return {\n      range,\n      color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a)\n    };\n  }\n  function _findRGBColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    return {\n      range,\n      color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1)\n    };\n  }\n  function _findHSLColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    const colorEquivalent = new Color(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1));\n    return {\n      range,\n      color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a)\n    };\n  }\n  function _findMatches(model, regex) {\n    if (typeof model === \"string\") {\n      return [...model.matchAll(regex)];\n    } else {\n      return model.findMatches(regex);\n    }\n  }\n  function computeColors(model) {\n    const result = [];\n    const initialValidationRegex = /\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|(#)([A-Fa-f0-9]{3})\\b|(#)([A-Fa-f0-9]{4})\\b|(#)([A-Fa-f0-9]{6})\\b|(#)([A-Fa-f0-9]{8})\\b/gm;\n    const initialValidationMatches = _findMatches(model, initialValidationRegex);\n    if (initialValidationMatches.length > 0) {\n      for (const initialMatch of initialValidationMatches) {\n        const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0);\n        const colorScheme = initialCaptureGroups[1];\n        const colorParameters = initialCaptureGroups[2];\n        if (!colorParameters) {\n          continue;\n        }\n        let colorInformation;\n        if (colorScheme === \"rgb\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"rgba\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"hsl\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"hsla\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"#\") {\n          colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters);\n        }\n        if (colorInformation) {\n          result.push(colorInformation);\n        }\n      }\n    }\n    return result;\n  }\n  function computeDefaultDocumentColors(model) {\n    if (!model || typeof model.getValue !== \"function\" || typeof model.positionAt !== \"function\") {\n      return [];\n    }\n    return computeColors(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js\n  var markRegex = /\\bMARK:\\s*(.*)$/d;\n  var trimDashesRegex = /^-+|-+$/g;\n  function findSectionHeaders(model, options) {\n    var _a4;\n    let headers = [];\n    if (options.findRegionSectionHeaders && ((_a4 = options.foldingRules) === null || _a4 === void 0 ? void 0 : _a4.markers)) {\n      const regionHeaders = collectRegionHeaders(model, options);\n      headers = headers.concat(regionHeaders);\n    }\n    if (options.findMarkSectionHeaders) {\n      const markHeaders = collectMarkHeaders(model);\n      headers = headers.concat(markHeaders);\n    }\n    return headers;\n  }\n  function collectRegionHeaders(model, options) {\n    const regionHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      const match = lineContent.match(options.foldingRules.markers.start);\n      if (match) {\n        const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 };\n        if (range.endColumn > range.startColumn) {\n          const sectionHeader = {\n            range,\n            ...getHeaderText(lineContent.substring(match[0].length)),\n            shouldBeInComments: false\n          };\n          if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n            regionHeaders.push(sectionHeader);\n          }\n        }\n      }\n    }\n    return regionHeaders;\n  }\n  function collectMarkHeaders(model) {\n    const markHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      addMarkHeaderIfFound(lineContent, lineNumber, markHeaders);\n    }\n    return markHeaders;\n  }\n  function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) {\n    markRegex.lastIndex = 0;\n    const match = markRegex.exec(lineContent);\n    if (match) {\n      const column = match.indices[1][0] + 1;\n      const endColumn = match.indices[1][1] + 1;\n      const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn };\n      if (range.endColumn > range.startColumn) {\n        const sectionHeader = {\n          range,\n          ...getHeaderText(match[1]),\n          shouldBeInComments: true\n        };\n        if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n          sectionHeaders.push(sectionHeader);\n        }\n      }\n    }\n  }\n  function getHeaderText(text) {\n    text = text.trim();\n    const hasSeparatorLine = text.startsWith(\"-\");\n    text = text.replace(trimDashesRegex, \"\");\n    return { text, hasSeparatorLine };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js\n  var MirrorModel = class extends MirrorTextModel {\n    get uri() {\n      return this._uri;\n    }\n    get eol() {\n      return this._eol;\n    }\n    getValue() {\n      return this.getText();\n    }\n    findMatches(regex) {\n      const matches = [];\n      for (let i = 0; i < this._lines.length; i++) {\n        const line = this._lines[i];\n        const offsetToAdd = this.offsetAt(new Position(i + 1, 1));\n        const iteratorOverMatches = line.matchAll(regex);\n        for (const match of iteratorOverMatches) {\n          if (match.index || match.index === 0) {\n            match.index = match.index + offsetToAdd;\n          }\n          matches.push(match);\n        }\n      }\n      return matches;\n    }\n    getLinesContent() {\n      return this._lines.slice(0);\n    }\n    getLineCount() {\n      return this._lines.length;\n    }\n    getLineContent(lineNumber) {\n      return this._lines[lineNumber - 1];\n    }\n    getWordAtPosition(position, wordDefinition) {\n      const wordAtText = getWordAtText(position.column, ensureValidWordDefinition(wordDefinition), this._lines[position.lineNumber - 1], 0);\n      if (wordAtText) {\n        return new Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn);\n      }\n      return null;\n    }\n    words(wordDefinition) {\n      const lines = this._lines;\n      const wordenize = this._wordenize.bind(this);\n      let lineNumber = 0;\n      let lineText = \"\";\n      let wordRangesIdx = 0;\n      let wordRanges = [];\n      return {\n        *[Symbol.iterator]() {\n          while (true) {\n            if (wordRangesIdx < wordRanges.length) {\n              const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end);\n              wordRangesIdx += 1;\n              yield value;\n            } else {\n              if (lineNumber < lines.length) {\n                lineText = lines[lineNumber];\n                wordRanges = wordenize(lineText, wordDefinition);\n                wordRangesIdx = 0;\n                lineNumber += 1;\n              } else {\n                break;\n              }\n            }\n          }\n        }\n      };\n    }\n    getLineWords(lineNumber, wordDefinition) {\n      const content = this._lines[lineNumber - 1];\n      const ranges = this._wordenize(content, wordDefinition);\n      const words = [];\n      for (const range of ranges) {\n        words.push({\n          word: content.substring(range.start, range.end),\n          startColumn: range.start + 1,\n          endColumn: range.end + 1\n        });\n      }\n      return words;\n    }\n    _wordenize(content, wordDefinition) {\n      const result = [];\n      let match;\n      wordDefinition.lastIndex = 0;\n      while (match = wordDefinition.exec(content)) {\n        if (match[0].length === 0) {\n          break;\n        }\n        result.push({ start: match.index, end: match.index + match[0].length });\n      }\n      return result;\n    }\n    getValueInRange(range) {\n      range = this._validateRange(range);\n      if (range.startLineNumber === range.endLineNumber) {\n        return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1);\n      }\n      const lineEnding = this._eol;\n      const startLineIndex = range.startLineNumber - 1;\n      const endLineIndex = range.endLineNumber - 1;\n      const resultLines = [];\n      resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1));\n      for (let i = startLineIndex + 1; i < endLineIndex; i++) {\n        resultLines.push(this._lines[i]);\n      }\n      resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1));\n      return resultLines.join(lineEnding);\n    }\n    offsetAt(position) {\n      position = this._validatePosition(position);\n      this._ensureLineStarts();\n      return this._lineStarts.getPrefixSum(position.lineNumber - 2) + (position.column - 1);\n    }\n    positionAt(offset) {\n      offset = Math.floor(offset);\n      offset = Math.max(0, offset);\n      this._ensureLineStarts();\n      const out = this._lineStarts.getIndexOf(offset);\n      const lineLength = this._lines[out.index].length;\n      return {\n        lineNumber: 1 + out.index,\n        column: 1 + Math.min(out.remainder, lineLength)\n      };\n    }\n    _validateRange(range) {\n      const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn });\n      const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn });\n      if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) {\n        return {\n          startLineNumber: start.lineNumber,\n          startColumn: start.column,\n          endLineNumber: end.lineNumber,\n          endColumn: end.column\n        };\n      }\n      return range;\n    }\n    _validatePosition(position) {\n      if (!Position.isIPosition(position)) {\n        throw new Error(\"bad position\");\n      }\n      let { lineNumber, column } = position;\n      let hasChanged = false;\n      if (lineNumber < 1) {\n        lineNumber = 1;\n        column = 1;\n        hasChanged = true;\n      } else if (lineNumber > this._lines.length) {\n        lineNumber = this._lines.length;\n        column = this._lines[lineNumber - 1].length + 1;\n        hasChanged = true;\n      } else {\n        const maxCharacter = this._lines[lineNumber - 1].length + 1;\n        if (column < 1) {\n          column = 1;\n          hasChanged = true;\n        } else if (column > maxCharacter) {\n          column = maxCharacter;\n          hasChanged = true;\n        }\n      }\n      if (!hasChanged) {\n        return position;\n      } else {\n        return { lineNumber, column };\n      }\n    }\n  };\n  var EditorSimpleWorker = class _EditorSimpleWorker {\n    constructor(host, foreignModuleFactory) {\n      this._host = host;\n      this._models = /* @__PURE__ */ Object.create(null);\n      this._foreignModuleFactory = foreignModuleFactory;\n      this._foreignModule = null;\n    }\n    dispose() {\n      this._models = /* @__PURE__ */ Object.create(null);\n    }\n    _getModel(uri) {\n      return this._models[uri];\n    }\n    _getModels() {\n      const all = [];\n      Object.keys(this._models).forEach((key) => all.push(this._models[key]));\n      return all;\n    }\n    acceptNewModel(data) {\n      this._models[data.url] = new MirrorModel(URI.parse(data.url), data.lines, data.EOL, data.versionId);\n    }\n    acceptModelChanged(strURL, e) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      const model = this._models[strURL];\n      model.onEvents(e);\n    }\n    acceptRemovedModel(strURL) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      delete this._models[strURL];\n    }\n    async computeUnicodeHighlights(url, options, range) {\n      const model = this._getModel(url);\n      if (!model) {\n        return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 };\n      }\n      return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range);\n    }\n    async findSectionHeaders(url, options) {\n      const model = this._getModel(url);\n      if (!model) {\n        return [];\n      }\n      return findSectionHeaders(model, options);\n    }\n    // ---- BEGIN diff --------------------------------------------------------------------------\n    async computeDiff(originalUrl, modifiedUrl, options, algorithm) {\n      const original = this._getModel(originalUrl);\n      const modified = this._getModel(modifiedUrl);\n      if (!original || !modified) {\n        return null;\n      }\n      const result = _EditorSimpleWorker.computeDiff(original, modified, options, algorithm);\n      return result;\n    }\n    static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) {\n      const diffAlgorithm = algorithm === \"advanced\" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy();\n      const originalLines = originalTextModel.getLinesContent();\n      const modifiedLines = modifiedTextModel.getLinesContent();\n      const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options);\n      const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel);\n      function getLineChanges(changes) {\n        return changes.map((m) => {\n          var _a4;\n          return [m.original.startLineNumber, m.original.endLineNumberExclusive, m.modified.startLineNumber, m.modified.endLineNumberExclusive, (_a4 = m.innerChanges) === null || _a4 === void 0 ? void 0 : _a4.map((m2) => [\n            m2.originalRange.startLineNumber,\n            m2.originalRange.startColumn,\n            m2.originalRange.endLineNumber,\n            m2.originalRange.endColumn,\n            m2.modifiedRange.startLineNumber,\n            m2.modifiedRange.startColumn,\n            m2.modifiedRange.endLineNumber,\n            m2.modifiedRange.endColumn\n          ])];\n        });\n      }\n      return {\n        identical,\n        quitEarly: result.hitTimeout,\n        changes: getLineChanges(result.changes),\n        moves: result.moves.map((m) => [\n          m.lineRangeMapping.original.startLineNumber,\n          m.lineRangeMapping.original.endLineNumberExclusive,\n          m.lineRangeMapping.modified.startLineNumber,\n          m.lineRangeMapping.modified.endLineNumberExclusive,\n          getLineChanges(m.changes)\n        ])\n      };\n    }\n    static _modelsAreIdentical(original, modified) {\n      const originalLineCount = original.getLineCount();\n      const modifiedLineCount = modified.getLineCount();\n      if (originalLineCount !== modifiedLineCount) {\n        return false;\n      }\n      for (let line = 1; line <= originalLineCount; line++) {\n        const originalLine = original.getLineContent(line);\n        const modifiedLine = modified.getLineContent(line);\n        if (originalLine !== modifiedLine) {\n          return false;\n        }\n      }\n      return true;\n    }\n    async computeMoreMinimalEdits(modelUrl, edits, pretty) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return edits;\n      }\n      const result = [];\n      let lastEol = void 0;\n      edits = edits.slice(0).sort((a2, b) => {\n        if (a2.range && b.range) {\n          return Range.compareRangesUsingStarts(a2.range, b.range);\n        }\n        const aRng = a2.range ? 0 : 1;\n        const bRng = b.range ? 0 : 1;\n        return aRng - bRng;\n      });\n      let writeIndex = 0;\n      for (let readIndex = 1; readIndex < edits.length; readIndex++) {\n        if (Range.getEndPosition(edits[writeIndex].range).equals(Range.getStartPosition(edits[readIndex].range))) {\n          edits[writeIndex].range = Range.fromPositions(Range.getStartPosition(edits[writeIndex].range), Range.getEndPosition(edits[readIndex].range));\n          edits[writeIndex].text += edits[readIndex].text;\n        } else {\n          writeIndex++;\n          edits[writeIndex] = edits[readIndex];\n        }\n      }\n      edits.length = writeIndex + 1;\n      for (let { range, text, eol } of edits) {\n        if (typeof eol === \"number\") {\n          lastEol = eol;\n        }\n        if (Range.isEmpty(range) && !text) {\n          continue;\n        }\n        const original = model.getValueInRange(range);\n        text = text.replace(/\\r\\n|\\n|\\r/g, model.eol);\n        if (original === text) {\n          continue;\n        }\n        if (Math.max(text.length, original.length) > _EditorSimpleWorker._diffLimit) {\n          result.push({ range, text });\n          continue;\n        }\n        const changes = stringDiff(original, text, pretty);\n        const editOffset = model.offsetAt(Range.lift(range).getStartPosition());\n        for (const change of changes) {\n          const start = model.positionAt(editOffset + change.originalStart);\n          const end = model.positionAt(editOffset + change.originalStart + change.originalLength);\n          const newEdit = {\n            text: text.substr(change.modifiedStart, change.modifiedLength),\n            range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column }\n          };\n          if (model.getValueInRange(newEdit.range) !== newEdit.text) {\n            result.push(newEdit);\n          }\n        }\n      }\n      if (typeof lastEol === \"number\") {\n        result.push({ eol: lastEol, text: \"\", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } });\n      }\n      return result;\n    }\n    // ---- END minimal edits ---------------------------------------------------------------\n    async computeLinks(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeLinks(model);\n    }\n    // --- BEGIN default document colors -----------------------------------------------------------\n    async computeDefaultDocumentColors(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeDefaultDocumentColors(model);\n    }\n    async textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) {\n      const sw = new StopWatch();\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const seen = /* @__PURE__ */ new Set();\n      outer: for (const url of modelUrls) {\n        const model = this._getModel(url);\n        if (!model) {\n          continue;\n        }\n        for (const word of model.words(wordDefRegExp)) {\n          if (word === leadingWord || !isNaN(Number(word))) {\n            continue;\n          }\n          seen.add(word);\n          if (seen.size > _EditorSimpleWorker._suggestionsLimit) {\n            break outer;\n          }\n        }\n      }\n      return { words: Array.from(seen), duration: sw.elapsed() };\n    }\n    // ---- END suggest --------------------------------------------------------------------------\n    //#region -- word ranges --\n    async computeWordRanges(modelUrl, range, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return /* @__PURE__ */ Object.create(null);\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const result = /* @__PURE__ */ Object.create(null);\n      for (let line = range.startLineNumber; line < range.endLineNumber; line++) {\n        const words = model.getLineWords(line, wordDefRegExp);\n        for (const word of words) {\n          if (!isNaN(Number(word.word))) {\n            continue;\n          }\n          let array = result[word.word];\n          if (!array) {\n            array = [];\n            result[word.word] = array;\n          }\n          array.push({\n            startLineNumber: line,\n            startColumn: word.startColumn,\n            endLineNumber: line,\n            endColumn: word.endColumn\n          });\n        }\n      }\n      return result;\n    }\n    //#endregion\n    async navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      if (range.startColumn === range.endColumn) {\n        range = {\n          startLineNumber: range.startLineNumber,\n          startColumn: range.startColumn,\n          endLineNumber: range.endLineNumber,\n          endColumn: range.endColumn + 1\n        };\n      }\n      const selectionText = model.getValueInRange(range);\n      const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp);\n      if (!wordRange) {\n        return null;\n      }\n      const word = model.getValueInRange(wordRange);\n      const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up);\n      return result;\n    }\n    // ---- BEGIN foreign module support --------------------------------------------------------------------------\n    loadForeignModule(moduleId, createData, foreignHostMethods) {\n      const proxyMethodRequest = (method, args) => {\n        return this._host.fhr(method, args);\n      };\n      const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest);\n      const ctx = {\n        host: foreignHost,\n        getMirrorModels: () => {\n          return this._getModels();\n        }\n      };\n      if (this._foreignModuleFactory) {\n        this._foreignModule = this._foreignModuleFactory(ctx, createData);\n        return Promise.resolve(getAllMethodNames(this._foreignModule));\n      }\n      return Promise.reject(new Error(`Unexpected usage`));\n    }\n    // foreign method request\n    fmr(method, args) {\n      if (!this._foreignModule || typeof this._foreignModule[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n  };\n  EditorSimpleWorker._diffLimit = 1e5;\n  EditorSimpleWorker._suggestionsLimit = 1e4;\n  if (typeof importScripts === \"function\") {\n    globalThis.monaco = createMonacoBaseAPI();\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/editor.worker.js\n  var initialized = false;\n  function initialize(foreignModule) {\n    if (initialized) {\n      return;\n    }\n    initialized = true;\n    const simpleWorker = new SimpleWorkerServer((msg) => {\n      globalThis.postMessage(msg);\n    }, (host) => new EditorSimpleWorker(host, foreignModule));\n    globalThis.onmessage = (e) => {\n      simpleWorker.onmessage(e.data);\n    };\n  }\n  globalThis.onmessage = (e) => {\n    if (!initialized) {\n      initialize(null);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/language/json/json.worker.js\n  function createScanner(text, ignoreTrivia) {\n    if (ignoreTrivia === void 0) {\n      ignoreTrivia = false;\n    }\n    var len = text.length;\n    var pos = 0, value = \"\", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0;\n    function scanHexDigits(count, exact) {\n      var digits = 0;\n      var value2 = 0;\n      while (digits < count || !exact) {\n        var ch = text.charCodeAt(pos);\n        if (ch >= 48 && ch <= 57) {\n          value2 = value2 * 16 + ch - 48;\n        } else if (ch >= 65 && ch <= 70) {\n          value2 = value2 * 16 + ch - 65 + 10;\n        } else if (ch >= 97 && ch <= 102) {\n          value2 = value2 * 16 + ch - 97 + 10;\n        } else {\n          break;\n        }\n        pos++;\n        digits++;\n      }\n      if (digits < count) {\n        value2 = -1;\n      }\n      return value2;\n    }\n    function setPosition(newPosition) {\n      pos = newPosition;\n      value = \"\";\n      tokenOffset = 0;\n      token = 16;\n      scanError = 0;\n    }\n    function scanNumber() {\n      var start = pos;\n      if (text.charCodeAt(pos) === 48) {\n        pos++;\n      } else {\n        pos++;\n        while (pos < text.length && isDigit(text.charCodeAt(pos))) {\n          pos++;\n        }\n      }\n      if (pos < text.length && text.charCodeAt(pos) === 46) {\n        pos++;\n        if (pos < text.length && isDigit(text.charCodeAt(pos))) {\n          pos++;\n          while (pos < text.length && isDigit(text.charCodeAt(pos))) {\n            pos++;\n          }\n        } else {\n          scanError = 3;\n          return text.substring(start, pos);\n        }\n      }\n      var end = pos;\n      if (pos < text.length && (text.charCodeAt(pos) === 69 || text.charCodeAt(pos) === 101)) {\n        pos++;\n        if (pos < text.length && text.charCodeAt(pos) === 43 || text.charCodeAt(pos) === 45) {\n          pos++;\n        }\n        if (pos < text.length && isDigit(text.charCodeAt(pos))) {\n          pos++;\n          while (pos < text.length && isDigit(text.charCodeAt(pos))) {\n            pos++;\n          }\n          end = pos;\n        } else {\n          scanError = 3;\n        }\n      }\n      return text.substring(start, end);\n    }\n    function scanString() {\n      var result = \"\", start = pos;\n      while (true) {\n        if (pos >= len) {\n          result += text.substring(start, pos);\n          scanError = 2;\n          break;\n        }\n        var ch = text.charCodeAt(pos);\n        if (ch === 34) {\n          result += text.substring(start, pos);\n          pos++;\n          break;\n        }\n        if (ch === 92) {\n          result += text.substring(start, pos);\n          pos++;\n          if (pos >= len) {\n            scanError = 2;\n            break;\n          }\n          var ch2 = text.charCodeAt(pos++);\n          switch (ch2) {\n            case 34:\n              result += '\"';\n              break;\n            case 92:\n              result += \"\\\\\";\n              break;\n            case 47:\n              result += \"/\";\n              break;\n            case 98:\n              result += \"\\b\";\n              break;\n            case 102:\n              result += \"\\f\";\n              break;\n            case 110:\n              result += \"\\n\";\n              break;\n            case 114:\n              result += \"\\r\";\n              break;\n            case 116:\n              result += \"\t\";\n              break;\n            case 117:\n              var ch3 = scanHexDigits(4, true);\n              if (ch3 >= 0) {\n                result += String.fromCharCode(ch3);\n              } else {\n                scanError = 4;\n              }\n              break;\n            default:\n              scanError = 5;\n          }\n          start = pos;\n          continue;\n        }\n        if (ch >= 0 && ch <= 31) {\n          if (isLineBreak(ch)) {\n            result += text.substring(start, pos);\n            scanError = 2;\n            break;\n          } else {\n            scanError = 6;\n          }\n        }\n        pos++;\n      }\n      return result;\n    }\n    function scanNext() {\n      value = \"\";\n      scanError = 0;\n      tokenOffset = pos;\n      lineStartOffset = lineNumber;\n      prevTokenLineStartOffset = tokenLineStartOffset;\n      if (pos >= len) {\n        tokenOffset = len;\n        return token = 17;\n      }\n      var code = text.charCodeAt(pos);\n      if (isWhiteSpace(code)) {\n        do {\n          pos++;\n          value += String.fromCharCode(code);\n          code = text.charCodeAt(pos);\n        } while (isWhiteSpace(code));\n        return token = 15;\n      }\n      if (isLineBreak(code)) {\n        pos++;\n        value += String.fromCharCode(code);\n        if (code === 13 && text.charCodeAt(pos) === 10) {\n          pos++;\n          value += \"\\n\";\n        }\n        lineNumber++;\n        tokenLineStartOffset = pos;\n        return token = 14;\n      }\n      switch (code) {\n        case 123:\n          pos++;\n          return token = 1;\n        case 125:\n          pos++;\n          return token = 2;\n        case 91:\n          pos++;\n          return token = 3;\n        case 93:\n          pos++;\n          return token = 4;\n        case 58:\n          pos++;\n          return token = 6;\n        case 44:\n          pos++;\n          return token = 5;\n        case 34:\n          pos++;\n          value = scanString();\n          return token = 10;\n        case 47:\n          var start = pos - 1;\n          if (text.charCodeAt(pos + 1) === 47) {\n            pos += 2;\n            while (pos < len) {\n              if (isLineBreak(text.charCodeAt(pos))) {\n                break;\n              }\n              pos++;\n            }\n            value = text.substring(start, pos);\n            return token = 12;\n          }\n          if (text.charCodeAt(pos + 1) === 42) {\n            pos += 2;\n            var safeLength = len - 1;\n            var commentClosed = false;\n            while (pos < safeLength) {\n              var ch = text.charCodeAt(pos);\n              if (ch === 42 && text.charCodeAt(pos + 1) === 47) {\n                pos += 2;\n                commentClosed = true;\n                break;\n              }\n              pos++;\n              if (isLineBreak(ch)) {\n                if (ch === 13 && text.charCodeAt(pos) === 10) {\n                  pos++;\n                }\n                lineNumber++;\n                tokenLineStartOffset = pos;\n              }\n            }\n            if (!commentClosed) {\n              pos++;\n              scanError = 1;\n            }\n            value = text.substring(start, pos);\n            return token = 13;\n          }\n          value += String.fromCharCode(code);\n          pos++;\n          return token = 16;\n        case 45:\n          value += String.fromCharCode(code);\n          pos++;\n          if (pos === len || !isDigit(text.charCodeAt(pos))) {\n            return token = 16;\n          }\n        case 48:\n        case 49:\n        case 50:\n        case 51:\n        case 52:\n        case 53:\n        case 54:\n        case 55:\n        case 56:\n        case 57:\n          value += scanNumber();\n          return token = 11;\n        default:\n          while (pos < len && isUnknownContentCharacter(code)) {\n            pos++;\n            code = text.charCodeAt(pos);\n          }\n          if (tokenOffset !== pos) {\n            value = text.substring(tokenOffset, pos);\n            switch (value) {\n              case \"true\":\n                return token = 8;\n              case \"false\":\n                return token = 9;\n              case \"null\":\n                return token = 7;\n            }\n            return token = 16;\n          }\n          value += String.fromCharCode(code);\n          pos++;\n          return token = 16;\n      }\n    }\n    function isUnknownContentCharacter(code) {\n      if (isWhiteSpace(code) || isLineBreak(code)) {\n        return false;\n      }\n      switch (code) {\n        case 125:\n        case 93:\n        case 123:\n        case 91:\n        case 34:\n        case 58:\n        case 44:\n        case 47:\n          return false;\n      }\n      return true;\n    }\n    function scanNextNonTrivia() {\n      var result;\n      do {\n        result = scanNext();\n      } while (result >= 12 && result <= 15);\n      return result;\n    }\n    return {\n      setPosition,\n      getPosition: function() {\n        return pos;\n      },\n      scan: ignoreTrivia ? scanNextNonTrivia : scanNext,\n      getToken: function() {\n        return token;\n      },\n      getTokenValue: function() {\n        return value;\n      },\n      getTokenOffset: function() {\n        return tokenOffset;\n      },\n      getTokenLength: function() {\n        return pos - tokenOffset;\n      },\n      getTokenStartLine: function() {\n        return lineStartOffset;\n      },\n      getTokenStartCharacter: function() {\n        return tokenOffset - prevTokenLineStartOffset;\n      },\n      getTokenError: function() {\n        return scanError;\n      }\n    };\n  }\n  function isWhiteSpace(ch) {\n    return ch === 32 || ch === 9 || ch === 11 || ch === 12 || ch === 160 || ch === 5760 || ch >= 8192 && ch <= 8203 || ch === 8239 || ch === 8287 || ch === 12288 || ch === 65279;\n  }\n  function isLineBreak(ch) {\n    return ch === 10 || ch === 13 || ch === 8232 || ch === 8233;\n  }\n  function isDigit(ch) {\n    return ch >= 48 && ch <= 57;\n  }\n  function format(documentText, range, options) {\n    var initialIndentLevel;\n    var formatText;\n    var formatTextStart;\n    var rangeStart;\n    var rangeEnd;\n    if (range) {\n      rangeStart = range.offset;\n      rangeEnd = rangeStart + range.length;\n      formatTextStart = rangeStart;\n      while (formatTextStart > 0 && !isEOL(documentText, formatTextStart - 1)) {\n        formatTextStart--;\n      }\n      var endOffset = rangeEnd;\n      while (endOffset < documentText.length && !isEOL(documentText, endOffset)) {\n        endOffset++;\n      }\n      formatText = documentText.substring(formatTextStart, endOffset);\n      initialIndentLevel = computeIndentLevel(formatText, options);\n    } else {\n      formatText = documentText;\n      initialIndentLevel = 0;\n      formatTextStart = 0;\n      rangeStart = 0;\n      rangeEnd = documentText.length;\n    }\n    var eol = getEOL(options, documentText);\n    var lineBreak = false;\n    var indentLevel = 0;\n    var indentValue;\n    if (options.insertSpaces) {\n      indentValue = repeat(\" \", options.tabSize || 4);\n    } else {\n      indentValue = \"\t\";\n    }\n    var scanner = createScanner(formatText, false);\n    var hasError = false;\n    function newLineAndIndent() {\n      return eol + repeat(indentValue, initialIndentLevel + indentLevel);\n    }\n    function scanNext() {\n      var token = scanner.scan();\n      lineBreak = false;\n      while (token === 15 || token === 14) {\n        lineBreak = lineBreak || token === 14;\n        token = scanner.scan();\n      }\n      hasError = token === 16 || scanner.getTokenError() !== 0;\n      return token;\n    }\n    var editOperations = [];\n    function addEdit(text, startOffset, endOffset2) {\n      if (!hasError && (!range || startOffset < rangeEnd && endOffset2 > rangeStart) && documentText.substring(startOffset, endOffset2) !== text) {\n        editOperations.push({ offset: startOffset, length: endOffset2 - startOffset, content: text });\n      }\n    }\n    var firstToken = scanNext();\n    if (firstToken !== 17) {\n      var firstTokenStart = scanner.getTokenOffset() + formatTextStart;\n      var initialIndent = repeat(indentValue, initialIndentLevel);\n      addEdit(initialIndent, formatTextStart, firstTokenStart);\n    }\n    while (firstToken !== 17) {\n      var firstTokenEnd = scanner.getTokenOffset() + scanner.getTokenLength() + formatTextStart;\n      var secondToken = scanNext();\n      var replaceContent = \"\";\n      var needsLineBreak = false;\n      while (!lineBreak && (secondToken === 12 || secondToken === 13)) {\n        var commentTokenStart = scanner.getTokenOffset() + formatTextStart;\n        addEdit(\" \", firstTokenEnd, commentTokenStart);\n        firstTokenEnd = scanner.getTokenOffset() + scanner.getTokenLength() + formatTextStart;\n        needsLineBreak = secondToken === 12;\n        replaceContent = needsLineBreak ? newLineAndIndent() : \"\";\n        secondToken = scanNext();\n      }\n      if (secondToken === 2) {\n        if (firstToken !== 1) {\n          indentLevel--;\n          replaceContent = newLineAndIndent();\n        }\n      } else if (secondToken === 4) {\n        if (firstToken !== 3) {\n          indentLevel--;\n          replaceContent = newLineAndIndent();\n        }\n      } else {\n        switch (firstToken) {\n          case 3:\n          case 1:\n            indentLevel++;\n            replaceContent = newLineAndIndent();\n            break;\n          case 5:\n          case 12:\n            replaceContent = newLineAndIndent();\n            break;\n          case 13:\n            if (lineBreak) {\n              replaceContent = newLineAndIndent();\n            } else if (!needsLineBreak) {\n              replaceContent = \" \";\n            }\n            break;\n          case 6:\n            if (!needsLineBreak) {\n              replaceContent = \" \";\n            }\n            break;\n          case 10:\n            if (secondToken === 6) {\n              if (!needsLineBreak) {\n                replaceContent = \"\";\n              }\n              break;\n            }\n          case 7:\n          case 8:\n          case 9:\n          case 11:\n          case 2:\n          case 4:\n            if (secondToken === 12 || secondToken === 13) {\n              if (!needsLineBreak) {\n                replaceContent = \" \";\n              }\n            } else if (secondToken !== 5 && secondToken !== 17) {\n              hasError = true;\n            }\n            break;\n          case 16:\n            hasError = true;\n            break;\n        }\n        if (lineBreak && (secondToken === 12 || secondToken === 13)) {\n          replaceContent = newLineAndIndent();\n        }\n      }\n      if (secondToken === 17) {\n        replaceContent = options.insertFinalNewline ? eol : \"\";\n      }\n      var secondTokenStart = scanner.getTokenOffset() + formatTextStart;\n      addEdit(replaceContent, firstTokenEnd, secondTokenStart);\n      firstToken = secondToken;\n    }\n    return editOperations;\n  }\n  function repeat(s, count) {\n    var result = \"\";\n    for (var i = 0; i < count; i++) {\n      result += s;\n    }\n    return result;\n  }\n  function computeIndentLevel(content, options) {\n    var i = 0;\n    var nChars = 0;\n    var tabSize = options.tabSize || 4;\n    while (i < content.length) {\n      var ch = content.charAt(i);\n      if (ch === \" \") {\n        nChars++;\n      } else if (ch === \"\t\") {\n        nChars += tabSize;\n      } else {\n        break;\n      }\n      i++;\n    }\n    return Math.floor(nChars / tabSize);\n  }\n  function getEOL(options, text) {\n    for (var i = 0; i < text.length; i++) {\n      var ch = text.charAt(i);\n      if (ch === \"\\r\") {\n        if (i + 1 < text.length && text.charAt(i + 1) === \"\\n\") {\n          return \"\\r\\n\";\n        }\n        return \"\\r\";\n      } else if (ch === \"\\n\") {\n        return \"\\n\";\n      }\n    }\n    return options && options.eol || \"\\n\";\n  }\n  function isEOL(text, offset) {\n    return \"\\r\\n\".indexOf(text.charAt(offset)) !== -1;\n  }\n  var ParseOptions;\n  (function(ParseOptions2) {\n    ParseOptions2.DEFAULT = {\n      allowTrailingComma: false\n    };\n  })(ParseOptions || (ParseOptions = {}));\n  function parse(text, errors, options) {\n    if (errors === void 0) {\n      errors = [];\n    }\n    if (options === void 0) {\n      options = ParseOptions.DEFAULT;\n    }\n    var currentProperty = null;\n    var currentParent = [];\n    var previousParents = [];\n    function onValue(value) {\n      if (Array.isArray(currentParent)) {\n        currentParent.push(value);\n      } else if (currentProperty !== null) {\n        currentParent[currentProperty] = value;\n      }\n    }\n    var visitor = {\n      onObjectBegin: function() {\n        var object = {};\n        onValue(object);\n        previousParents.push(currentParent);\n        currentParent = object;\n        currentProperty = null;\n      },\n      onObjectProperty: function(name) {\n        currentProperty = name;\n      },\n      onObjectEnd: function() {\n        currentParent = previousParents.pop();\n      },\n      onArrayBegin: function() {\n        var array = [];\n        onValue(array);\n        previousParents.push(currentParent);\n        currentParent = array;\n        currentProperty = null;\n      },\n      onArrayEnd: function() {\n        currentParent = previousParents.pop();\n      },\n      onLiteralValue: onValue,\n      onError: function(error, offset, length) {\n        errors.push({ error, offset, length });\n      }\n    };\n    visit(text, visitor, options);\n    return currentParent[0];\n  }\n  function getNodePath(node) {\n    if (!node.parent || !node.parent.children) {\n      return [];\n    }\n    var path = getNodePath(node.parent);\n    if (node.parent.type === \"property\") {\n      var key = node.parent.children[0].value;\n      path.push(key);\n    } else if (node.parent.type === \"array\") {\n      var index = node.parent.children.indexOf(node);\n      if (index !== -1) {\n        path.push(index);\n      }\n    }\n    return path;\n  }\n  function getNodeValue(node) {\n    switch (node.type) {\n      case \"array\":\n        return node.children.map(getNodeValue);\n      case \"object\":\n        var obj = /* @__PURE__ */ Object.create(null);\n        for (var _i = 0, _a4 = node.children; _i < _a4.length; _i++) {\n          var prop = _a4[_i];\n          var valueNode = prop.children[1];\n          if (valueNode) {\n            obj[prop.children[0].value] = getNodeValue(valueNode);\n          }\n        }\n        return obj;\n      case \"null\":\n      case \"string\":\n      case \"number\":\n      case \"boolean\":\n        return node.value;\n      default:\n        return void 0;\n    }\n  }\n  function contains(node, offset, includeRightBound) {\n    if (includeRightBound === void 0) {\n      includeRightBound = false;\n    }\n    return offset >= node.offset && offset < node.offset + node.length || includeRightBound && offset === node.offset + node.length;\n  }\n  function findNodeAtOffset(node, offset, includeRightBound) {\n    if (includeRightBound === void 0) {\n      includeRightBound = false;\n    }\n    if (contains(node, offset, includeRightBound)) {\n      var children = node.children;\n      if (Array.isArray(children)) {\n        for (var i = 0; i < children.length && children[i].offset <= offset; i++) {\n          var item = findNodeAtOffset(children[i], offset, includeRightBound);\n          if (item) {\n            return item;\n          }\n        }\n      }\n      return node;\n    }\n    return void 0;\n  }\n  function visit(text, visitor, options) {\n    if (options === void 0) {\n      options = ParseOptions.DEFAULT;\n    }\n    var _scanner = createScanner(text, false);\n    function toNoArgVisit(visitFunction) {\n      return visitFunction ? function() {\n        return visitFunction(_scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter());\n      } : function() {\n        return true;\n      };\n    }\n    function toOneArgVisit(visitFunction) {\n      return visitFunction ? function(arg) {\n        return visitFunction(arg, _scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter());\n      } : function() {\n        return true;\n      };\n    }\n    var onObjectBegin = toNoArgVisit(visitor.onObjectBegin), onObjectProperty = toOneArgVisit(visitor.onObjectProperty), onObjectEnd = toNoArgVisit(visitor.onObjectEnd), onArrayBegin = toNoArgVisit(visitor.onArrayBegin), onArrayEnd = toNoArgVisit(visitor.onArrayEnd), onLiteralValue = toOneArgVisit(visitor.onLiteralValue), onSeparator = toOneArgVisit(visitor.onSeparator), onComment = toNoArgVisit(visitor.onComment), onError = toOneArgVisit(visitor.onError);\n    var disallowComments = options && options.disallowComments;\n    var allowTrailingComma = options && options.allowTrailingComma;\n    function scanNext() {\n      while (true) {\n        var token = _scanner.scan();\n        switch (_scanner.getTokenError()) {\n          case 4:\n            handleError(\n              14\n              /* InvalidUnicode */\n            );\n            break;\n          case 5:\n            handleError(\n              15\n              /* InvalidEscapeCharacter */\n            );\n            break;\n          case 3:\n            handleError(\n              13\n              /* UnexpectedEndOfNumber */\n            );\n            break;\n          case 1:\n            if (!disallowComments) {\n              handleError(\n                11\n                /* UnexpectedEndOfComment */\n              );\n            }\n            break;\n          case 2:\n            handleError(\n              12\n              /* UnexpectedEndOfString */\n            );\n            break;\n          case 6:\n            handleError(\n              16\n              /* InvalidCharacter */\n            );\n            break;\n        }\n        switch (token) {\n          case 12:\n          case 13:\n            if (disallowComments) {\n              handleError(\n                10\n                /* InvalidCommentToken */\n              );\n            } else {\n              onComment();\n            }\n            break;\n          case 16:\n            handleError(\n              1\n              /* InvalidSymbol */\n            );\n            break;\n          case 15:\n          case 14:\n            break;\n          default:\n            return token;\n        }\n      }\n    }\n    function handleError(error, skipUntilAfter, skipUntil) {\n      if (skipUntilAfter === void 0) {\n        skipUntilAfter = [];\n      }\n      if (skipUntil === void 0) {\n        skipUntil = [];\n      }\n      onError(error);\n      if (skipUntilAfter.length + skipUntil.length > 0) {\n        var token = _scanner.getToken();\n        while (token !== 17) {\n          if (skipUntilAfter.indexOf(token) !== -1) {\n            scanNext();\n            break;\n          } else if (skipUntil.indexOf(token) !== -1) {\n            break;\n          }\n          token = scanNext();\n        }\n      }\n    }\n    function parseString(isValue) {\n      var value = _scanner.getTokenValue();\n      if (isValue) {\n        onLiteralValue(value);\n      } else {\n        onObjectProperty(value);\n      }\n      scanNext();\n      return true;\n    }\n    function parseLiteral() {\n      switch (_scanner.getToken()) {\n        case 11:\n          var tokenValue = _scanner.getTokenValue();\n          var value = Number(tokenValue);\n          if (isNaN(value)) {\n            handleError(\n              2\n              /* InvalidNumberFormat */\n            );\n            value = 0;\n          }\n          onLiteralValue(value);\n          break;\n        case 7:\n          onLiteralValue(null);\n          break;\n        case 8:\n          onLiteralValue(true);\n          break;\n        case 9:\n          onLiteralValue(false);\n          break;\n        default:\n          return false;\n      }\n      scanNext();\n      return true;\n    }\n    function parseProperty() {\n      if (_scanner.getToken() !== 10) {\n        handleError(3, [], [\n          2,\n          5\n          /* CommaToken */\n        ]);\n        return false;\n      }\n      parseString(false);\n      if (_scanner.getToken() === 6) {\n        onSeparator(\":\");\n        scanNext();\n        if (!parseValue()) {\n          handleError(4, [], [\n            2,\n            5\n            /* CommaToken */\n          ]);\n        }\n      } else {\n        handleError(5, [], [\n          2,\n          5\n          /* CommaToken */\n        ]);\n      }\n      return true;\n    }\n    function parseObject() {\n      onObjectBegin();\n      scanNext();\n      var needsComma = false;\n      while (_scanner.getToken() !== 2 && _scanner.getToken() !== 17) {\n        if (_scanner.getToken() === 5) {\n          if (!needsComma) {\n            handleError(4, [], []);\n          }\n          onSeparator(\",\");\n          scanNext();\n          if (_scanner.getToken() === 2 && allowTrailingComma) {\n            break;\n          }\n        } else if (needsComma) {\n          handleError(6, [], []);\n        }\n        if (!parseProperty()) {\n          handleError(4, [], [\n            2,\n            5\n            /* CommaToken */\n          ]);\n        }\n        needsComma = true;\n      }\n      onObjectEnd();\n      if (_scanner.getToken() !== 2) {\n        handleError(7, [\n          2\n          /* CloseBraceToken */\n        ], []);\n      } else {\n        scanNext();\n      }\n      return true;\n    }\n    function parseArray() {\n      onArrayBegin();\n      scanNext();\n      var needsComma = false;\n      while (_scanner.getToken() !== 4 && _scanner.getToken() !== 17) {\n        if (_scanner.getToken() === 5) {\n          if (!needsComma) {\n            handleError(4, [], []);\n          }\n          onSeparator(\",\");\n          scanNext();\n          if (_scanner.getToken() === 4 && allowTrailingComma) {\n            break;\n          }\n        } else if (needsComma) {\n          handleError(6, [], []);\n        }\n        if (!parseValue()) {\n          handleError(4, [], [\n            4,\n            5\n            /* CommaToken */\n          ]);\n        }\n        needsComma = true;\n      }\n      onArrayEnd();\n      if (_scanner.getToken() !== 4) {\n        handleError(8, [\n          4\n          /* CloseBracketToken */\n        ], []);\n      } else {\n        scanNext();\n      }\n      return true;\n    }\n    function parseValue() {\n      switch (_scanner.getToken()) {\n        case 3:\n          return parseArray();\n        case 1:\n          return parseObject();\n        case 10:\n          return parseString(true);\n        default:\n          return parseLiteral();\n      }\n    }\n    scanNext();\n    if (_scanner.getToken() === 17) {\n      if (options.allowEmptyContent) {\n        return true;\n      }\n      handleError(4, [], []);\n      return false;\n    }\n    if (!parseValue()) {\n      handleError(4, [], []);\n      return false;\n    }\n    if (_scanner.getToken() !== 17) {\n      handleError(9, [], []);\n    }\n    return true;\n  }\n  var createScanner2 = createScanner;\n  var parse2 = parse;\n  var findNodeAtOffset2 = findNodeAtOffset;\n  var getNodePath2 = getNodePath;\n  var getNodeValue2 = getNodeValue;\n  function format2(documentText, range, options) {\n    return format(documentText, range, options);\n  }\n  function equals3(one, other) {\n    if (one === other) {\n      return true;\n    }\n    if (one === null || one === void 0 || other === null || other === void 0) {\n      return false;\n    }\n    if (typeof one !== typeof other) {\n      return false;\n    }\n    if (typeof one !== \"object\") {\n      return false;\n    }\n    if (Array.isArray(one) !== Array.isArray(other)) {\n      return false;\n    }\n    var i, key;\n    if (Array.isArray(one)) {\n      if (one.length !== other.length) {\n        return false;\n      }\n      for (i = 0; i < one.length; i++) {\n        if (!equals3(one[i], other[i])) {\n          return false;\n        }\n      }\n    } else {\n      var oneKeys = [];\n      for (key in one) {\n        oneKeys.push(key);\n      }\n      oneKeys.sort();\n      var otherKeys = [];\n      for (key in other) {\n        otherKeys.push(key);\n      }\n      otherKeys.sort();\n      if (!equals3(oneKeys, otherKeys)) {\n        return false;\n      }\n      for (i = 0; i < oneKeys.length; i++) {\n        if (!equals3(one[oneKeys[i]], other[oneKeys[i]])) {\n          return false;\n        }\n      }\n    }\n    return true;\n  }\n  function isNumber(val) {\n    return typeof val === \"number\";\n  }\n  function isDefined(val) {\n    return typeof val !== \"undefined\";\n  }\n  function isBoolean(val) {\n    return typeof val === \"boolean\";\n  }\n  function isString2(val) {\n    return typeof val === \"string\";\n  }\n  function startsWith(haystack, needle) {\n    if (haystack.length < needle.length) {\n      return false;\n    }\n    for (var i = 0; i < needle.length; i++) {\n      if (haystack[i] !== needle[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function endsWith(haystack, needle) {\n    var diff = haystack.length - needle.length;\n    if (diff > 0) {\n      return haystack.lastIndexOf(needle) === diff;\n    } else if (diff === 0) {\n      return haystack === needle;\n    } else {\n      return false;\n    }\n  }\n  function extendedRegExp(pattern) {\n    var flags = \"\";\n    if (startsWith(pattern, \"(?i)\")) {\n      pattern = pattern.substring(4);\n      flags = \"i\";\n    }\n    try {\n      return new RegExp(pattern, flags + \"u\");\n    } catch (e) {\n      try {\n        return new RegExp(pattern, flags);\n      } catch (e2) {\n        return void 0;\n      }\n    }\n  }\n  var integer;\n  (function(integer2) {\n    integer2.MIN_VALUE = -2147483648;\n    integer2.MAX_VALUE = 2147483647;\n  })(integer || (integer = {}));\n  var uinteger;\n  (function(uinteger2) {\n    uinteger2.MIN_VALUE = 0;\n    uinteger2.MAX_VALUE = 2147483647;\n  })(uinteger || (uinteger = {}));\n  var Position2;\n  (function(Position22) {\n    function create(line, character) {\n      if (line === Number.MAX_VALUE) {\n        line = uinteger.MAX_VALUE;\n      }\n      if (character === Number.MAX_VALUE) {\n        character = uinteger.MAX_VALUE;\n      }\n      return { line, character };\n    }\n    Position22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n    }\n    Position22.is = is;\n  })(Position2 || (Position2 = {}));\n  var Range2;\n  (function(Range22) {\n    function create(one, two, three, four) {\n      if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n        return { start: Position2.create(one, two), end: Position2.create(three, four) };\n      } else if (Position2.is(one) && Position2.is(two)) {\n        return { start: one, end: two };\n      } else {\n        throw new Error(\"Range#create called with invalid arguments[\" + one + \", \" + two + \", \" + three + \", \" + four + \"]\");\n      }\n    }\n    Range22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Position2.is(candidate.start) && Position2.is(candidate.end);\n    }\n    Range22.is = is;\n  })(Range2 || (Range2 = {}));\n  var Location;\n  (function(Location2) {\n    function create(uri, range) {\n      return { uri, range };\n    }\n    Location2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n    }\n    Location2.is = is;\n  })(Location || (Location = {}));\n  var LocationLink;\n  (function(LocationLink2) {\n    function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n      return { targetUri, targetRange, targetSelectionRange, originSelectionRange };\n    }\n    LocationLink2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.targetRange) && Is.string(candidate.targetUri) && (Range2.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange)) && (Range2.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n    }\n    LocationLink2.is = is;\n  })(LocationLink || (LocationLink = {}));\n  var Color2;\n  (function(Color22) {\n    function create(red, green, blue, alpha) {\n      return {\n        red,\n        green,\n        blue,\n        alpha\n      };\n    }\n    Color22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1);\n    }\n    Color22.is = is;\n  })(Color2 || (Color2 = {}));\n  var ColorInformation;\n  (function(ColorInformation2) {\n    function create(range, color) {\n      return {\n        range,\n        color\n      };\n    }\n    ColorInformation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Range2.is(candidate.range) && Color2.is(candidate.color);\n    }\n    ColorInformation2.is = is;\n  })(ColorInformation || (ColorInformation = {}));\n  var ColorPresentation;\n  (function(ColorPresentation2) {\n    function create(label, textEdit, additionalTextEdits) {\n      return {\n        label,\n        textEdit,\n        additionalTextEdits\n      };\n    }\n    ColorPresentation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n    }\n    ColorPresentation2.is = is;\n  })(ColorPresentation || (ColorPresentation = {}));\n  var FoldingRangeKind2;\n  (function(FoldingRangeKind22) {\n    FoldingRangeKind22[\"Comment\"] = \"comment\";\n    FoldingRangeKind22[\"Imports\"] = \"imports\";\n    FoldingRangeKind22[\"Region\"] = \"region\";\n  })(FoldingRangeKind2 || (FoldingRangeKind2 = {}));\n  var FoldingRange;\n  (function(FoldingRange2) {\n    function create(startLine, endLine, startCharacter, endCharacter, kind) {\n      var result = {\n        startLine,\n        endLine\n      };\n      if (Is.defined(startCharacter)) {\n        result.startCharacter = startCharacter;\n      }\n      if (Is.defined(endCharacter)) {\n        result.endCharacter = endCharacter;\n      }\n      if (Is.defined(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    FoldingRange2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n    }\n    FoldingRange2.is = is;\n  })(FoldingRange || (FoldingRange = {}));\n  var DiagnosticRelatedInformation;\n  (function(DiagnosticRelatedInformation2) {\n    function create(location, message) {\n      return {\n        location,\n        message\n      };\n    }\n    DiagnosticRelatedInformation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n    }\n    DiagnosticRelatedInformation2.is = is;\n  })(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n  var DiagnosticSeverity;\n  (function(DiagnosticSeverity2) {\n    DiagnosticSeverity2.Error = 1;\n    DiagnosticSeverity2.Warning = 2;\n    DiagnosticSeverity2.Information = 3;\n    DiagnosticSeverity2.Hint = 4;\n  })(DiagnosticSeverity || (DiagnosticSeverity = {}));\n  var DiagnosticTag;\n  (function(DiagnosticTag2) {\n    DiagnosticTag2.Unnecessary = 1;\n    DiagnosticTag2.Deprecated = 2;\n  })(DiagnosticTag || (DiagnosticTag = {}));\n  var CodeDescription;\n  (function(CodeDescription2) {\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && candidate !== null && Is.string(candidate.href);\n    }\n    CodeDescription2.is = is;\n  })(CodeDescription || (CodeDescription = {}));\n  var Diagnostic;\n  (function(Diagnostic2) {\n    function create(range, message, severity, code, source, relatedInformation) {\n      var result = { range, message };\n      if (Is.defined(severity)) {\n        result.severity = severity;\n      }\n      if (Is.defined(code)) {\n        result.code = code;\n      }\n      if (Is.defined(source)) {\n        result.source = source;\n      }\n      if (Is.defined(relatedInformation)) {\n        result.relatedInformation = relatedInformation;\n      }\n      return result;\n    }\n    Diagnostic2.create = create;\n    function is(value) {\n      var _a4;\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a4 = candidate.codeDescription) === null || _a4 === void 0 ? void 0 : _a4.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n    }\n    Diagnostic2.is = is;\n  })(Diagnostic || (Diagnostic = {}));\n  var Command2;\n  (function(Command22) {\n    function create(title, command) {\n      var args = [];\n      for (var _i = 2; _i < arguments.length; _i++) {\n        args[_i - 2] = arguments[_i];\n      }\n      var result = { title, command };\n      if (Is.defined(args) && args.length > 0) {\n        result.arguments = args;\n      }\n      return result;\n    }\n    Command22.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n    }\n    Command22.is = is;\n  })(Command2 || (Command2 = {}));\n  var TextEdit;\n  (function(TextEdit2) {\n    function replace(range, newText) {\n      return { range, newText };\n    }\n    TextEdit2.replace = replace;\n    function insert(position, newText) {\n      return { range: { start: position, end: position }, newText };\n    }\n    TextEdit2.insert = insert;\n    function del(range) {\n      return { range, newText: \"\" };\n    }\n    TextEdit2.del = del;\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range2.is(candidate.range);\n    }\n    TextEdit2.is = is;\n  })(TextEdit || (TextEdit = {}));\n  var ChangeAnnotation;\n  (function(ChangeAnnotation2) {\n    function create(label, needsConfirmation, description2) {\n      var result = { label };\n      if (needsConfirmation !== void 0) {\n        result.needsConfirmation = needsConfirmation;\n      }\n      if (description2 !== void 0) {\n        result.description = description2;\n      }\n      return result;\n    }\n    ChangeAnnotation2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0);\n    }\n    ChangeAnnotation2.is = is;\n  })(ChangeAnnotation || (ChangeAnnotation = {}));\n  var ChangeAnnotationIdentifier;\n  (function(ChangeAnnotationIdentifier2) {\n    function is(value) {\n      var candidate = value;\n      return typeof candidate === \"string\";\n    }\n    ChangeAnnotationIdentifier2.is = is;\n  })(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\n  var AnnotatedTextEdit;\n  (function(AnnotatedTextEdit2) {\n    function replace(range, newText, annotation) {\n      return { range, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.replace = replace;\n    function insert(position, newText, annotation) {\n      return { range: { start: position, end: position }, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.insert = insert;\n    function del(range, annotation) {\n      return { range, newText: \"\", annotationId: annotation };\n    }\n    AnnotatedTextEdit2.del = del;\n    function is(value) {\n      var candidate = value;\n      return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    AnnotatedTextEdit2.is = is;\n  })(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n  var TextDocumentEdit;\n  (function(TextDocumentEdit2) {\n    function create(textDocument, edits) {\n      return { textDocument, edits };\n    }\n    TextDocumentEdit2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits);\n    }\n    TextDocumentEdit2.is = is;\n  })(TextDocumentEdit || (TextDocumentEdit = {}));\n  var CreateFile;\n  (function(CreateFile2) {\n    function create(uri, options, annotation) {\n      var result = {\n        kind: \"create\",\n        uri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    CreateFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"create\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    CreateFile2.is = is;\n  })(CreateFile || (CreateFile = {}));\n  var RenameFile;\n  (function(RenameFile2) {\n    function create(oldUri, newUri, options, annotation) {\n      var result = {\n        kind: \"rename\",\n        oldUri,\n        newUri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    RenameFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"rename\" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    RenameFile2.is = is;\n  })(RenameFile || (RenameFile = {}));\n  var DeleteFile;\n  (function(DeleteFile2) {\n    function create(uri, options, annotation) {\n      var result = {\n        kind: \"delete\",\n        uri\n      };\n      if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    DeleteFile2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && candidate.kind === \"delete\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    DeleteFile2.is = is;\n  })(DeleteFile || (DeleteFile = {}));\n  var WorkspaceEdit;\n  (function(WorkspaceEdit2) {\n    function is(value) {\n      var candidate = value;\n      return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every(function(change) {\n        if (Is.string(change.kind)) {\n          return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n        } else {\n          return TextDocumentEdit.is(change);\n        }\n      }));\n    }\n    WorkspaceEdit2.is = is;\n  })(WorkspaceEdit || (WorkspaceEdit = {}));\n  var TextEditChangeImpl = (\n    /** @class */\n    function() {\n      function TextEditChangeImpl2(edits, changeAnnotations) {\n        this.edits = edits;\n        this.changeAnnotations = changeAnnotations;\n      }\n      TextEditChangeImpl2.prototype.insert = function(position, newText, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.insert(position, newText);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.insert(position, newText, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.insert(position, newText, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.replace = function(range, newText, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.replace(range, newText);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.replace(range, newText, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.replace(range, newText, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.delete = function(range, annotation) {\n        var edit;\n        var id;\n        if (annotation === void 0) {\n          edit = TextEdit.del(range);\n        } else if (ChangeAnnotationIdentifier.is(annotation)) {\n          id = annotation;\n          edit = AnnotatedTextEdit.del(range, annotation);\n        } else {\n          this.assertChangeAnnotations(this.changeAnnotations);\n          id = this.changeAnnotations.manage(annotation);\n          edit = AnnotatedTextEdit.del(range, id);\n        }\n        this.edits.push(edit);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      TextEditChangeImpl2.prototype.add = function(edit) {\n        this.edits.push(edit);\n      };\n      TextEditChangeImpl2.prototype.all = function() {\n        return this.edits;\n      };\n      TextEditChangeImpl2.prototype.clear = function() {\n        this.edits.splice(0, this.edits.length);\n      };\n      TextEditChangeImpl2.prototype.assertChangeAnnotations = function(value) {\n        if (value === void 0) {\n          throw new Error(\"Text edit change is not configured to manage change annotations.\");\n        }\n      };\n      return TextEditChangeImpl2;\n    }()\n  );\n  var ChangeAnnotations = (\n    /** @class */\n    function() {\n      function ChangeAnnotations2(annotations) {\n        this._annotations = annotations === void 0 ? /* @__PURE__ */ Object.create(null) : annotations;\n        this._counter = 0;\n        this._size = 0;\n      }\n      ChangeAnnotations2.prototype.all = function() {\n        return this._annotations;\n      };\n      Object.defineProperty(ChangeAnnotations2.prototype, \"size\", {\n        get: function() {\n          return this._size;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ChangeAnnotations2.prototype.manage = function(idOrAnnotation, annotation) {\n        var id;\n        if (ChangeAnnotationIdentifier.is(idOrAnnotation)) {\n          id = idOrAnnotation;\n        } else {\n          id = this.nextId();\n          annotation = idOrAnnotation;\n        }\n        if (this._annotations[id] !== void 0) {\n          throw new Error(\"Id \" + id + \" is already in use.\");\n        }\n        if (annotation === void 0) {\n          throw new Error(\"No annotation provided for id \" + id);\n        }\n        this._annotations[id] = annotation;\n        this._size++;\n        return id;\n      };\n      ChangeAnnotations2.prototype.nextId = function() {\n        this._counter++;\n        return this._counter.toString();\n      };\n      return ChangeAnnotations2;\n    }()\n  );\n  var WorkspaceChange = (\n    /** @class */\n    function() {\n      function WorkspaceChange2(workspaceEdit) {\n        var _this = this;\n        this._textEditChanges = /* @__PURE__ */ Object.create(null);\n        if (workspaceEdit !== void 0) {\n          this._workspaceEdit = workspaceEdit;\n          if (workspaceEdit.documentChanges) {\n            this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations);\n            workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n            workspaceEdit.documentChanges.forEach(function(change) {\n              if (TextDocumentEdit.is(change)) {\n                var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations);\n                _this._textEditChanges[change.textDocument.uri] = textEditChange;\n              }\n            });\n          } else if (workspaceEdit.changes) {\n            Object.keys(workspaceEdit.changes).forEach(function(key) {\n              var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]);\n              _this._textEditChanges[key] = textEditChange;\n            });\n          }\n        } else {\n          this._workspaceEdit = {};\n        }\n      }\n      Object.defineProperty(WorkspaceChange2.prototype, \"edit\", {\n        /**\n         * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal\n         * use to be returned from a workspace edit operation like rename.\n         */\n        get: function() {\n          this.initDocumentChanges();\n          if (this._changeAnnotations !== void 0) {\n            if (this._changeAnnotations.size === 0) {\n              this._workspaceEdit.changeAnnotations = void 0;\n            } else {\n              this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n            }\n          }\n          return this._workspaceEdit;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      WorkspaceChange2.prototype.getTextEditChange = function(key) {\n        if (OptionalVersionedTextDocumentIdentifier.is(key)) {\n          this.initDocumentChanges();\n          if (this._workspaceEdit.documentChanges === void 0) {\n            throw new Error(\"Workspace edit is not configured for document changes.\");\n          }\n          var textDocument = { uri: key.uri, version: key.version };\n          var result = this._textEditChanges[textDocument.uri];\n          if (!result) {\n            var edits = [];\n            var textDocumentEdit = {\n              textDocument,\n              edits\n            };\n            this._workspaceEdit.documentChanges.push(textDocumentEdit);\n            result = new TextEditChangeImpl(edits, this._changeAnnotations);\n            this._textEditChanges[textDocument.uri] = result;\n          }\n          return result;\n        } else {\n          this.initChanges();\n          if (this._workspaceEdit.changes === void 0) {\n            throw new Error(\"Workspace edit is not configured for normal text edit changes.\");\n          }\n          var result = this._textEditChanges[key];\n          if (!result) {\n            var edits = [];\n            this._workspaceEdit.changes[key] = edits;\n            result = new TextEditChangeImpl(edits);\n            this._textEditChanges[key] = result;\n          }\n          return result;\n        }\n      };\n      WorkspaceChange2.prototype.initDocumentChanges = function() {\n        if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {\n          this._changeAnnotations = new ChangeAnnotations();\n          this._workspaceEdit.documentChanges = [];\n          this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n        }\n      };\n      WorkspaceChange2.prototype.initChanges = function() {\n        if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {\n          this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null);\n        }\n      };\n      WorkspaceChange2.prototype.createFile = function(uri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = CreateFile.create(uri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = CreateFile.create(uri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      WorkspaceChange2.prototype.renameFile = function(oldUri, newUri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = RenameFile.create(oldUri, newUri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = RenameFile.create(oldUri, newUri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      WorkspaceChange2.prototype.deleteFile = function(uri, optionsOrAnnotation, options) {\n        this.initDocumentChanges();\n        if (this._workspaceEdit.documentChanges === void 0) {\n          throw new Error(\"Workspace edit is not configured for document changes.\");\n        }\n        var annotation;\n        if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n          annotation = optionsOrAnnotation;\n        } else {\n          options = optionsOrAnnotation;\n        }\n        var operation;\n        var id;\n        if (annotation === void 0) {\n          operation = DeleteFile.create(uri, options);\n        } else {\n          id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n          operation = DeleteFile.create(uri, options, id);\n        }\n        this._workspaceEdit.documentChanges.push(operation);\n        if (id !== void 0) {\n          return id;\n        }\n      };\n      return WorkspaceChange2;\n    }()\n  );\n  var TextDocumentIdentifier;\n  (function(TextDocumentIdentifier2) {\n    function create(uri) {\n      return { uri };\n    }\n    TextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri);\n    }\n    TextDocumentIdentifier2.is = is;\n  })(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n  var VersionedTextDocumentIdentifier;\n  (function(VersionedTextDocumentIdentifier2) {\n    function create(uri, version) {\n      return { uri, version };\n    }\n    VersionedTextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n    }\n    VersionedTextDocumentIdentifier2.is = is;\n  })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n  var OptionalVersionedTextDocumentIdentifier;\n  (function(OptionalVersionedTextDocumentIdentifier2) {\n    function create(uri, version) {\n      return { uri, version };\n    }\n    OptionalVersionedTextDocumentIdentifier2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n    }\n    OptionalVersionedTextDocumentIdentifier2.is = is;\n  })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n  var TextDocumentItem;\n  (function(TextDocumentItem2) {\n    function create(uri, languageId, version, text) {\n      return { uri, languageId, version, text };\n    }\n    TextDocumentItem2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n    }\n    TextDocumentItem2.is = is;\n  })(TextDocumentItem || (TextDocumentItem = {}));\n  var MarkupKind;\n  (function(MarkupKind2) {\n    MarkupKind2.PlainText = \"plaintext\";\n    MarkupKind2.Markdown = \"markdown\";\n  })(MarkupKind || (MarkupKind = {}));\n  (function(MarkupKind2) {\n    function is(value) {\n      var candidate = value;\n      return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown;\n    }\n    MarkupKind2.is = is;\n  })(MarkupKind || (MarkupKind = {}));\n  var MarkupContent;\n  (function(MarkupContent2) {\n    function is(value) {\n      var candidate = value;\n      return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n    }\n    MarkupContent2.is = is;\n  })(MarkupContent || (MarkupContent = {}));\n  var CompletionItemKind2;\n  (function(CompletionItemKind22) {\n    CompletionItemKind22.Text = 1;\n    CompletionItemKind22.Method = 2;\n    CompletionItemKind22.Function = 3;\n    CompletionItemKind22.Constructor = 4;\n    CompletionItemKind22.Field = 5;\n    CompletionItemKind22.Variable = 6;\n    CompletionItemKind22.Class = 7;\n    CompletionItemKind22.Interface = 8;\n    CompletionItemKind22.Module = 9;\n    CompletionItemKind22.Property = 10;\n    CompletionItemKind22.Unit = 11;\n    CompletionItemKind22.Value = 12;\n    CompletionItemKind22.Enum = 13;\n    CompletionItemKind22.Keyword = 14;\n    CompletionItemKind22.Snippet = 15;\n    CompletionItemKind22.Color = 16;\n    CompletionItemKind22.File = 17;\n    CompletionItemKind22.Reference = 18;\n    CompletionItemKind22.Folder = 19;\n    CompletionItemKind22.EnumMember = 20;\n    CompletionItemKind22.Constant = 21;\n    CompletionItemKind22.Struct = 22;\n    CompletionItemKind22.Event = 23;\n    CompletionItemKind22.Operator = 24;\n    CompletionItemKind22.TypeParameter = 25;\n  })(CompletionItemKind2 || (CompletionItemKind2 = {}));\n  var InsertTextFormat;\n  (function(InsertTextFormat2) {\n    InsertTextFormat2.PlainText = 1;\n    InsertTextFormat2.Snippet = 2;\n  })(InsertTextFormat || (InsertTextFormat = {}));\n  var CompletionItemTag2;\n  (function(CompletionItemTag22) {\n    CompletionItemTag22.Deprecated = 1;\n  })(CompletionItemTag2 || (CompletionItemTag2 = {}));\n  var InsertReplaceEdit;\n  (function(InsertReplaceEdit2) {\n    function create(newText, insert, replace) {\n      return { newText, insert, replace };\n    }\n    InsertReplaceEdit2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.newText) && Range2.is(candidate.insert) && Range2.is(candidate.replace);\n    }\n    InsertReplaceEdit2.is = is;\n  })(InsertReplaceEdit || (InsertReplaceEdit = {}));\n  var InsertTextMode;\n  (function(InsertTextMode2) {\n    InsertTextMode2.asIs = 1;\n    InsertTextMode2.adjustIndentation = 2;\n  })(InsertTextMode || (InsertTextMode = {}));\n  var CompletionItem;\n  (function(CompletionItem2) {\n    function create(label) {\n      return { label };\n    }\n    CompletionItem2.create = create;\n  })(CompletionItem || (CompletionItem = {}));\n  var CompletionList;\n  (function(CompletionList2) {\n    function create(items, isIncomplete) {\n      return { items: items ? items : [], isIncomplete: !!isIncomplete };\n    }\n    CompletionList2.create = create;\n  })(CompletionList || (CompletionList = {}));\n  var MarkedString;\n  (function(MarkedString2) {\n    function fromPlainText(plainText) {\n      return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, \"\\\\$&\");\n    }\n    MarkedString2.fromPlainText = fromPlainText;\n    function is(value) {\n      var candidate = value;\n      return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value);\n    }\n    MarkedString2.is = is;\n  })(MarkedString || (MarkedString = {}));\n  var Hover;\n  (function(Hover2) {\n    function is(value) {\n      var candidate = value;\n      return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range2.is(value.range));\n    }\n    Hover2.is = is;\n  })(Hover || (Hover = {}));\n  var ParameterInformation;\n  (function(ParameterInformation2) {\n    function create(label, documentation) {\n      return documentation ? { label, documentation } : { label };\n    }\n    ParameterInformation2.create = create;\n  })(ParameterInformation || (ParameterInformation = {}));\n  var SignatureInformation;\n  (function(SignatureInformation2) {\n    function create(label, documentation) {\n      var parameters = [];\n      for (var _i = 2; _i < arguments.length; _i++) {\n        parameters[_i - 2] = arguments[_i];\n      }\n      var result = { label };\n      if (Is.defined(documentation)) {\n        result.documentation = documentation;\n      }\n      if (Is.defined(parameters)) {\n        result.parameters = parameters;\n      } else {\n        result.parameters = [];\n      }\n      return result;\n    }\n    SignatureInformation2.create = create;\n  })(SignatureInformation || (SignatureInformation = {}));\n  var DocumentHighlightKind3;\n  (function(DocumentHighlightKind22) {\n    DocumentHighlightKind22.Text = 1;\n    DocumentHighlightKind22.Read = 2;\n    DocumentHighlightKind22.Write = 3;\n  })(DocumentHighlightKind3 || (DocumentHighlightKind3 = {}));\n  var DocumentHighlight;\n  (function(DocumentHighlight2) {\n    function create(range, kind) {\n      var result = { range };\n      if (Is.number(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    DocumentHighlight2.create = create;\n  })(DocumentHighlight || (DocumentHighlight = {}));\n  var SymbolKind2;\n  (function(SymbolKind22) {\n    SymbolKind22.File = 1;\n    SymbolKind22.Module = 2;\n    SymbolKind22.Namespace = 3;\n    SymbolKind22.Package = 4;\n    SymbolKind22.Class = 5;\n    SymbolKind22.Method = 6;\n    SymbolKind22.Property = 7;\n    SymbolKind22.Field = 8;\n    SymbolKind22.Constructor = 9;\n    SymbolKind22.Enum = 10;\n    SymbolKind22.Interface = 11;\n    SymbolKind22.Function = 12;\n    SymbolKind22.Variable = 13;\n    SymbolKind22.Constant = 14;\n    SymbolKind22.String = 15;\n    SymbolKind22.Number = 16;\n    SymbolKind22.Boolean = 17;\n    SymbolKind22.Array = 18;\n    SymbolKind22.Object = 19;\n    SymbolKind22.Key = 20;\n    SymbolKind22.Null = 21;\n    SymbolKind22.EnumMember = 22;\n    SymbolKind22.Struct = 23;\n    SymbolKind22.Event = 24;\n    SymbolKind22.Operator = 25;\n    SymbolKind22.TypeParameter = 26;\n  })(SymbolKind2 || (SymbolKind2 = {}));\n  var SymbolTag2;\n  (function(SymbolTag22) {\n    SymbolTag22.Deprecated = 1;\n  })(SymbolTag2 || (SymbolTag2 = {}));\n  var SymbolInformation;\n  (function(SymbolInformation2) {\n    function create(name, kind, range, uri, containerName) {\n      var result = {\n        name,\n        kind,\n        location: { uri, range }\n      };\n      if (containerName) {\n        result.containerName = containerName;\n      }\n      return result;\n    }\n    SymbolInformation2.create = create;\n  })(SymbolInformation || (SymbolInformation = {}));\n  var DocumentSymbol;\n  (function(DocumentSymbol2) {\n    function create(name, detail, kind, range, selectionRange, children) {\n      var result = {\n        name,\n        detail,\n        kind,\n        range,\n        selectionRange\n      };\n      if (children !== void 0) {\n        result.children = children;\n      }\n      return result;\n    }\n    DocumentSymbol2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range2.is(candidate.range) && Range2.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags));\n    }\n    DocumentSymbol2.is = is;\n  })(DocumentSymbol || (DocumentSymbol = {}));\n  var CodeActionKind;\n  (function(CodeActionKind2) {\n    CodeActionKind2.Empty = \"\";\n    CodeActionKind2.QuickFix = \"quickfix\";\n    CodeActionKind2.Refactor = \"refactor\";\n    CodeActionKind2.RefactorExtract = \"refactor.extract\";\n    CodeActionKind2.RefactorInline = \"refactor.inline\";\n    CodeActionKind2.RefactorRewrite = \"refactor.rewrite\";\n    CodeActionKind2.Source = \"source\";\n    CodeActionKind2.SourceOrganizeImports = \"source.organizeImports\";\n    CodeActionKind2.SourceFixAll = \"source.fixAll\";\n  })(CodeActionKind || (CodeActionKind = {}));\n  var CodeActionContext;\n  (function(CodeActionContext2) {\n    function create(diagnostics, only) {\n      var result = { diagnostics };\n      if (only !== void 0 && only !== null) {\n        result.only = only;\n      }\n      return result;\n    }\n    CodeActionContext2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string));\n    }\n    CodeActionContext2.is = is;\n  })(CodeActionContext || (CodeActionContext = {}));\n  var CodeAction;\n  (function(CodeAction2) {\n    function create(title, kindOrCommandOrEdit, kind) {\n      var result = { title };\n      var checkKind = true;\n      if (typeof kindOrCommandOrEdit === \"string\") {\n        checkKind = false;\n        result.kind = kindOrCommandOrEdit;\n      } else if (Command2.is(kindOrCommandOrEdit)) {\n        result.command = kindOrCommandOrEdit;\n      } else {\n        result.edit = kindOrCommandOrEdit;\n      }\n      if (checkKind && kind !== void 0) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    CodeAction2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command2.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit));\n    }\n    CodeAction2.is = is;\n  })(CodeAction || (CodeAction = {}));\n  var CodeLens;\n  (function(CodeLens2) {\n    function create(range, data) {\n      var result = { range };\n      if (Is.defined(data)) {\n        result.data = data;\n      }\n      return result;\n    }\n    CodeLens2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.command) || Command2.is(candidate.command));\n    }\n    CodeLens2.is = is;\n  })(CodeLens || (CodeLens = {}));\n  var FormattingOptions;\n  (function(FormattingOptions2) {\n    function create(tabSize, insertSpaces) {\n      return { tabSize, insertSpaces };\n    }\n    FormattingOptions2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n    }\n    FormattingOptions2.is = is;\n  })(FormattingOptions || (FormattingOptions = {}));\n  var DocumentLink;\n  (function(DocumentLink2) {\n    function create(range, target, data) {\n      return { range, target, data };\n    }\n    DocumentLink2.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n    }\n    DocumentLink2.is = is;\n  })(DocumentLink || (DocumentLink = {}));\n  var SelectionRange;\n  (function(SelectionRange2) {\n    function create(range, parent) {\n      return { range, parent };\n    }\n    SelectionRange2.create = create;\n    function is(value) {\n      var candidate = value;\n      return candidate !== void 0 && Range2.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent));\n    }\n    SelectionRange2.is = is;\n  })(SelectionRange || (SelectionRange = {}));\n  var TextDocument;\n  (function(TextDocument3) {\n    function create(uri, languageId, version, content) {\n      return new FullTextDocument(uri, languageId, version, content);\n    }\n    TextDocument3.create = create;\n    function is(value) {\n      var candidate = value;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n    }\n    TextDocument3.is = is;\n    function applyEdits(document2, edits) {\n      var text = document2.getText();\n      var sortedEdits = mergeSort2(edits, function(a2, b) {\n        var diff = a2.range.start.line - b.range.start.line;\n        if (diff === 0) {\n          return a2.range.start.character - b.range.start.character;\n        }\n        return diff;\n      });\n      var lastModifiedOffset = text.length;\n      for (var i = sortedEdits.length - 1; i >= 0; i--) {\n        var e = sortedEdits[i];\n        var startOffset = document2.offsetAt(e.range.start);\n        var endOffset = document2.offsetAt(e.range.end);\n        if (endOffset <= lastModifiedOffset) {\n          text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);\n        } else {\n          throw new Error(\"Overlapping edit\");\n        }\n        lastModifiedOffset = startOffset;\n      }\n      return text;\n    }\n    TextDocument3.applyEdits = applyEdits;\n    function mergeSort2(data, compare) {\n      if (data.length <= 1) {\n        return data;\n      }\n      var p = data.length / 2 | 0;\n      var left = data.slice(0, p);\n      var right = data.slice(p);\n      mergeSort2(left, compare);\n      mergeSort2(right, compare);\n      var leftIdx = 0;\n      var rightIdx = 0;\n      var i = 0;\n      while (leftIdx < left.length && rightIdx < right.length) {\n        var ret = compare(left[leftIdx], right[rightIdx]);\n        if (ret <= 0) {\n          data[i++] = left[leftIdx++];\n        } else {\n          data[i++] = right[rightIdx++];\n        }\n      }\n      while (leftIdx < left.length) {\n        data[i++] = left[leftIdx++];\n      }\n      while (rightIdx < right.length) {\n        data[i++] = right[rightIdx++];\n      }\n      return data;\n    }\n  })(TextDocument || (TextDocument = {}));\n  var FullTextDocument = (\n    /** @class */\n    function() {\n      function FullTextDocument3(uri, languageId, version, content) {\n        this._uri = uri;\n        this._languageId = languageId;\n        this._version = version;\n        this._content = content;\n        this._lineOffsets = void 0;\n      }\n      Object.defineProperty(FullTextDocument3.prototype, \"uri\", {\n        get: function() {\n          return this._uri;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(FullTextDocument3.prototype, \"languageId\", {\n        get: function() {\n          return this._languageId;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      Object.defineProperty(FullTextDocument3.prototype, \"version\", {\n        get: function() {\n          return this._version;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      FullTextDocument3.prototype.getText = function(range) {\n        if (range) {\n          var start = this.offsetAt(range.start);\n          var end = this.offsetAt(range.end);\n          return this._content.substring(start, end);\n        }\n        return this._content;\n      };\n      FullTextDocument3.prototype.update = function(event, version) {\n        this._content = event.text;\n        this._version = version;\n        this._lineOffsets = void 0;\n      };\n      FullTextDocument3.prototype.getLineOffsets = function() {\n        if (this._lineOffsets === void 0) {\n          var lineOffsets = [];\n          var text = this._content;\n          var isLineStart = true;\n          for (var i = 0; i < text.length; i++) {\n            if (isLineStart) {\n              lineOffsets.push(i);\n              isLineStart = false;\n            }\n            var ch = text.charAt(i);\n            isLineStart = ch === \"\\r\" || ch === \"\\n\";\n            if (ch === \"\\r\" && i + 1 < text.length && text.charAt(i + 1) === \"\\n\") {\n              i++;\n            }\n          }\n          if (isLineStart && text.length > 0) {\n            lineOffsets.push(text.length);\n          }\n          this._lineOffsets = lineOffsets;\n        }\n        return this._lineOffsets;\n      };\n      FullTextDocument3.prototype.positionAt = function(offset) {\n        offset = Math.max(Math.min(offset, this._content.length), 0);\n        var lineOffsets = this.getLineOffsets();\n        var low = 0, high = lineOffsets.length;\n        if (high === 0) {\n          return Position2.create(0, offset);\n        }\n        while (low < high) {\n          var mid = Math.floor((low + high) / 2);\n          if (lineOffsets[mid] > offset) {\n            high = mid;\n          } else {\n            low = mid + 1;\n          }\n        }\n        var line = low - 1;\n        return Position2.create(line, offset - lineOffsets[line]);\n      };\n      FullTextDocument3.prototype.offsetAt = function(position) {\n        var lineOffsets = this.getLineOffsets();\n        if (position.line >= lineOffsets.length) {\n          return this._content.length;\n        } else if (position.line < 0) {\n          return 0;\n        }\n        var lineOffset = lineOffsets[position.line];\n        var nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length;\n        return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n      };\n      Object.defineProperty(FullTextDocument3.prototype, \"lineCount\", {\n        get: function() {\n          return this.getLineOffsets().length;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return FullTextDocument3;\n    }()\n  );\n  var Is;\n  (function(Is2) {\n    var toString = Object.prototype.toString;\n    function defined(value) {\n      return typeof value !== \"undefined\";\n    }\n    Is2.defined = defined;\n    function undefined2(value) {\n      return typeof value === \"undefined\";\n    }\n    Is2.undefined = undefined2;\n    function boolean(value) {\n      return value === true || value === false;\n    }\n    Is2.boolean = boolean;\n    function string(value) {\n      return toString.call(value) === \"[object String]\";\n    }\n    Is2.string = string;\n    function number(value) {\n      return toString.call(value) === \"[object Number]\";\n    }\n    Is2.number = number;\n    function numberRange(value, min, max) {\n      return toString.call(value) === \"[object Number]\" && min <= value && value <= max;\n    }\n    Is2.numberRange = numberRange;\n    function integer2(value) {\n      return toString.call(value) === \"[object Number]\" && -2147483648 <= value && value <= 2147483647;\n    }\n    Is2.integer = integer2;\n    function uinteger2(value) {\n      return toString.call(value) === \"[object Number]\" && 0 <= value && value <= 2147483647;\n    }\n    Is2.uinteger = uinteger2;\n    function func(value) {\n      return toString.call(value) === \"[object Function]\";\n    }\n    Is2.func = func;\n    function objectLiteral(value) {\n      return value !== null && typeof value === \"object\";\n    }\n    Is2.objectLiteral = objectLiteral;\n    function typedArray(value, check) {\n      return Array.isArray(value) && value.every(check);\n    }\n    Is2.typedArray = typedArray;\n  })(Is || (Is = {}));\n  var FullTextDocument2 = class _FullTextDocument {\n    constructor(uri, languageId, version, content) {\n      this._uri = uri;\n      this._languageId = languageId;\n      this._version = version;\n      this._content = content;\n      this._lineOffsets = void 0;\n    }\n    get uri() {\n      return this._uri;\n    }\n    get languageId() {\n      return this._languageId;\n    }\n    get version() {\n      return this._version;\n    }\n    getText(range) {\n      if (range) {\n        const start = this.offsetAt(range.start);\n        const end = this.offsetAt(range.end);\n        return this._content.substring(start, end);\n      }\n      return this._content;\n    }\n    update(changes, version) {\n      for (let change of changes) {\n        if (_FullTextDocument.isIncremental(change)) {\n          const range = getWellformedRange(change.range);\n          const startOffset = this.offsetAt(range.start);\n          const endOffset = this.offsetAt(range.end);\n          this._content = this._content.substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length);\n          const startLine = Math.max(range.start.line, 0);\n          const endLine = Math.max(range.end.line, 0);\n          let lineOffsets = this._lineOffsets;\n          const addedLineOffsets = computeLineOffsets(change.text, false, startOffset);\n          if (endLine - startLine === addedLineOffsets.length) {\n            for (let i = 0, len = addedLineOffsets.length; i < len; i++) {\n              lineOffsets[i + startLine + 1] = addedLineOffsets[i];\n            }\n          } else {\n            if (addedLineOffsets.length < 1e4) {\n              lineOffsets.splice(startLine + 1, endLine - startLine, ...addedLineOffsets);\n            } else {\n              this._lineOffsets = lineOffsets = lineOffsets.slice(0, startLine + 1).concat(addedLineOffsets, lineOffsets.slice(endLine + 1));\n            }\n          }\n          const diff = change.text.length - (endOffset - startOffset);\n          if (diff !== 0) {\n            for (let i = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i < len; i++) {\n              lineOffsets[i] = lineOffsets[i] + diff;\n            }\n          }\n        } else if (_FullTextDocument.isFull(change)) {\n          this._content = change.text;\n          this._lineOffsets = void 0;\n        } else {\n          throw new Error(\"Unknown change event received\");\n        }\n      }\n      this._version = version;\n    }\n    getLineOffsets() {\n      if (this._lineOffsets === void 0) {\n        this._lineOffsets = computeLineOffsets(this._content, true);\n      }\n      return this._lineOffsets;\n    }\n    positionAt(offset) {\n      offset = Math.max(Math.min(offset, this._content.length), 0);\n      let lineOffsets = this.getLineOffsets();\n      let low = 0, high = lineOffsets.length;\n      if (high === 0) {\n        return { line: 0, character: offset };\n      }\n      while (low < high) {\n        let mid = Math.floor((low + high) / 2);\n        if (lineOffsets[mid] > offset) {\n          high = mid;\n        } else {\n          low = mid + 1;\n        }\n      }\n      let line = low - 1;\n      return { line, character: offset - lineOffsets[line] };\n    }\n    offsetAt(position) {\n      let lineOffsets = this.getLineOffsets();\n      if (position.line >= lineOffsets.length) {\n        return this._content.length;\n      } else if (position.line < 0) {\n        return 0;\n      }\n      let lineOffset = lineOffsets[position.line];\n      let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length;\n      return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n    }\n    get lineCount() {\n      return this.getLineOffsets().length;\n    }\n    static isIncremental(event) {\n      let candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === \"number\");\n    }\n    static isFull(event) {\n      let candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range === void 0 && candidate.rangeLength === void 0;\n    }\n  };\n  var TextDocument2;\n  (function(TextDocument3) {\n    function create(uri, languageId, version, content) {\n      return new FullTextDocument2(uri, languageId, version, content);\n    }\n    TextDocument3.create = create;\n    function update(document2, changes, version) {\n      if (document2 instanceof FullTextDocument2) {\n        document2.update(changes, version);\n        return document2;\n      } else {\n        throw new Error(\"TextDocument.update: document must be created by TextDocument.create\");\n      }\n    }\n    TextDocument3.update = update;\n    function applyEdits(document2, edits) {\n      let text = document2.getText();\n      let sortedEdits = mergeSort(edits.map(getWellformedEdit), (a2, b) => {\n        let diff = a2.range.start.line - b.range.start.line;\n        if (diff === 0) {\n          return a2.range.start.character - b.range.start.character;\n        }\n        return diff;\n      });\n      let lastModifiedOffset = 0;\n      const spans = [];\n      for (const e of sortedEdits) {\n        let startOffset = document2.offsetAt(e.range.start);\n        if (startOffset < lastModifiedOffset) {\n          throw new Error(\"Overlapping edit\");\n        } else if (startOffset > lastModifiedOffset) {\n          spans.push(text.substring(lastModifiedOffset, startOffset));\n        }\n        if (e.newText.length) {\n          spans.push(e.newText);\n        }\n        lastModifiedOffset = document2.offsetAt(e.range.end);\n      }\n      spans.push(text.substr(lastModifiedOffset));\n      return spans.join(\"\");\n    }\n    TextDocument3.applyEdits = applyEdits;\n  })(TextDocument2 || (TextDocument2 = {}));\n  function mergeSort(data, compare) {\n    if (data.length <= 1) {\n      return data;\n    }\n    const p = data.length / 2 | 0;\n    const left = data.slice(0, p);\n    const right = data.slice(p);\n    mergeSort(left, compare);\n    mergeSort(right, compare);\n    let leftIdx = 0;\n    let rightIdx = 0;\n    let i = 0;\n    while (leftIdx < left.length && rightIdx < right.length) {\n      let ret = compare(left[leftIdx], right[rightIdx]);\n      if (ret <= 0) {\n        data[i++] = left[leftIdx++];\n      } else {\n        data[i++] = right[rightIdx++];\n      }\n    }\n    while (leftIdx < left.length) {\n      data[i++] = left[leftIdx++];\n    }\n    while (rightIdx < right.length) {\n      data[i++] = right[rightIdx++];\n    }\n    return data;\n  }\n  function computeLineOffsets(text, isAtLineStart, textOffset = 0) {\n    const result = isAtLineStart ? [textOffset] : [];\n    for (let i = 0; i < text.length; i++) {\n      let ch = text.charCodeAt(i);\n      if (ch === 13 || ch === 10) {\n        if (ch === 13 && i + 1 < text.length && text.charCodeAt(i + 1) === 10) {\n          i++;\n        }\n        result.push(textOffset + i + 1);\n      }\n    }\n    return result;\n  }\n  function getWellformedRange(range) {\n    const start = range.start;\n    const end = range.end;\n    if (start.line > end.line || start.line === end.line && start.character > end.character) {\n      return { start: end, end: start };\n    }\n    return range;\n  }\n  function getWellformedEdit(textEdit) {\n    const range = getWellformedRange(textEdit.range);\n    if (range !== textEdit.range) {\n      return { newText: textEdit.newText, range };\n    }\n    return textEdit;\n  }\n  var ErrorCode;\n  (function(ErrorCode2) {\n    ErrorCode2[ErrorCode2[\"Undefined\"] = 0] = \"Undefined\";\n    ErrorCode2[ErrorCode2[\"EnumValueMismatch\"] = 1] = \"EnumValueMismatch\";\n    ErrorCode2[ErrorCode2[\"Deprecated\"] = 2] = \"Deprecated\";\n    ErrorCode2[ErrorCode2[\"UnexpectedEndOfComment\"] = 257] = \"UnexpectedEndOfComment\";\n    ErrorCode2[ErrorCode2[\"UnexpectedEndOfString\"] = 258] = \"UnexpectedEndOfString\";\n    ErrorCode2[ErrorCode2[\"UnexpectedEndOfNumber\"] = 259] = \"UnexpectedEndOfNumber\";\n    ErrorCode2[ErrorCode2[\"InvalidUnicode\"] = 260] = \"InvalidUnicode\";\n    ErrorCode2[ErrorCode2[\"InvalidEscapeCharacter\"] = 261] = \"InvalidEscapeCharacter\";\n    ErrorCode2[ErrorCode2[\"InvalidCharacter\"] = 262] = \"InvalidCharacter\";\n    ErrorCode2[ErrorCode2[\"PropertyExpected\"] = 513] = \"PropertyExpected\";\n    ErrorCode2[ErrorCode2[\"CommaExpected\"] = 514] = \"CommaExpected\";\n    ErrorCode2[ErrorCode2[\"ColonExpected\"] = 515] = \"ColonExpected\";\n    ErrorCode2[ErrorCode2[\"ValueExpected\"] = 516] = \"ValueExpected\";\n    ErrorCode2[ErrorCode2[\"CommaOrCloseBacketExpected\"] = 517] = \"CommaOrCloseBacketExpected\";\n    ErrorCode2[ErrorCode2[\"CommaOrCloseBraceExpected\"] = 518] = \"CommaOrCloseBraceExpected\";\n    ErrorCode2[ErrorCode2[\"TrailingComma\"] = 519] = \"TrailingComma\";\n    ErrorCode2[ErrorCode2[\"DuplicateKey\"] = 520] = \"DuplicateKey\";\n    ErrorCode2[ErrorCode2[\"CommentNotPermitted\"] = 521] = \"CommentNotPermitted\";\n    ErrorCode2[ErrorCode2[\"SchemaResolveError\"] = 768] = \"SchemaResolveError\";\n  })(ErrorCode || (ErrorCode = {}));\n  var ClientCapabilities;\n  (function(ClientCapabilities2) {\n    ClientCapabilities2.LATEST = {\n      textDocument: {\n        completion: {\n          completionItem: {\n            documentationFormat: [MarkupKind.Markdown, MarkupKind.PlainText],\n            commitCharactersSupport: true\n          }\n        }\n      }\n    };\n  })(ClientCapabilities || (ClientCapabilities = {}));\n  function format3(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        let index = rest[0];\n        return typeof args[index] !== \"undefined\" ? args[index] : match;\n      });\n    }\n    return result;\n  }\n  function localize2(key, message, ...args) {\n    return format3(message, args);\n  }\n  function loadMessageBundle(file) {\n    return localize2;\n  }\n  var __extends = /* @__PURE__ */ function() {\n    var extendStatics = function(d, b) {\n      extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n        d2.__proto__ = b2;\n      } || function(d2, b2) {\n        for (var p in b2)\n          if (Object.prototype.hasOwnProperty.call(b2, p))\n            d2[p] = b2[p];\n      };\n      return extendStatics(d, b);\n    };\n    return function(d, b) {\n      if (typeof b !== \"function\" && b !== null)\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n      extendStatics(d, b);\n      function __() {\n        this.constructor = d;\n      }\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n  }();\n  var localize22 = loadMessageBundle();\n  var formats = {\n    \"color-hex\": { errorMessage: localize22(\"colorHexFormatWarning\", \"Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA.\"), pattern: /^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/ },\n    \"date-time\": { errorMessage: localize22(\"dateTimeFormatWarning\", \"String is not a RFC3339 date-time.\"), pattern: /^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i },\n    \"date\": { errorMessage: localize22(\"dateFormatWarning\", \"String is not a RFC3339 date.\"), pattern: /^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i },\n    \"time\": { errorMessage: localize22(\"timeFormatWarning\", \"String is not a RFC3339 time.\"), pattern: /^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i },\n    \"email\": { errorMessage: localize22(\"emailFormatWarning\", \"String is not an e-mail address.\"), pattern: /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}))$/ },\n    \"hostname\": { errorMessage: localize22(\"hostnameFormatWarning\", \"String is not a hostname.\"), pattern: /^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i },\n    \"ipv4\": { errorMessage: localize22(\"ipv4FormatWarning\", \"String is not an IPv4 address.\"), pattern: /^(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)$/ },\n    \"ipv6\": { errorMessage: localize22(\"ipv6FormatWarning\", \"String is not an IPv6 address.\"), pattern: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i }\n  };\n  var ASTNodeImpl = (\n    /** @class */\n    function() {\n      function ASTNodeImpl2(parent, offset, length) {\n        if (length === void 0) {\n          length = 0;\n        }\n        this.offset = offset;\n        this.length = length;\n        this.parent = parent;\n      }\n      Object.defineProperty(ASTNodeImpl2.prototype, \"children\", {\n        get: function() {\n          return [];\n        },\n        enumerable: false,\n        configurable: true\n      });\n      ASTNodeImpl2.prototype.toString = function() {\n        return \"type: \" + this.type + \" (\" + this.offset + \"/\" + this.length + \")\" + (this.parent ? \" parent: {\" + this.parent.toString() + \"}\" : \"\");\n      };\n      return ASTNodeImpl2;\n    }()\n  );\n  var NullASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(NullASTNodeImpl2, _super);\n      function NullASTNodeImpl2(parent, offset) {\n        var _this = _super.call(this, parent, offset) || this;\n        _this.type = \"null\";\n        _this.value = null;\n        return _this;\n      }\n      return NullASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  var BooleanASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(BooleanASTNodeImpl2, _super);\n      function BooleanASTNodeImpl2(parent, boolValue, offset) {\n        var _this = _super.call(this, parent, offset) || this;\n        _this.type = \"boolean\";\n        _this.value = boolValue;\n        return _this;\n      }\n      return BooleanASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  var ArrayASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(ArrayASTNodeImpl2, _super);\n      function ArrayASTNodeImpl2(parent, offset) {\n        var _this = _super.call(this, parent, offset) || this;\n        _this.type = \"array\";\n        _this.items = [];\n        return _this;\n      }\n      Object.defineProperty(ArrayASTNodeImpl2.prototype, \"children\", {\n        get: function() {\n          return this.items;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return ArrayASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  var NumberASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(NumberASTNodeImpl2, _super);\n      function NumberASTNodeImpl2(parent, offset) {\n        var _this = _super.call(this, parent, offset) || this;\n        _this.type = \"number\";\n        _this.isInteger = true;\n        _this.value = Number.NaN;\n        return _this;\n      }\n      return NumberASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  var StringASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(StringASTNodeImpl2, _super);\n      function StringASTNodeImpl2(parent, offset, length) {\n        var _this = _super.call(this, parent, offset, length) || this;\n        _this.type = \"string\";\n        _this.value = \"\";\n        return _this;\n      }\n      return StringASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  var PropertyASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(PropertyASTNodeImpl2, _super);\n      function PropertyASTNodeImpl2(parent, offset, keyNode) {\n        var _this = _super.call(this, parent, offset) || this;\n        _this.type = \"property\";\n        _this.colonOffset = -1;\n        _this.keyNode = keyNode;\n        return _this;\n      }\n      Object.defineProperty(PropertyASTNodeImpl2.prototype, \"children\", {\n        get: function() {\n          return this.valueNode ? [this.keyNode, this.valueNode] : [this.keyNode];\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return PropertyASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  var ObjectASTNodeImpl = (\n    /** @class */\n    function(_super) {\n      __extends(ObjectASTNodeImpl2, _super);\n      function ObjectASTNodeImpl2(parent, offset) {\n        var _this = _super.call(this, parent, offset) || this;\n        _this.type = \"object\";\n        _this.properties = [];\n        return _this;\n      }\n      Object.defineProperty(ObjectASTNodeImpl2.prototype, \"children\", {\n        get: function() {\n          return this.properties;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      return ObjectASTNodeImpl2;\n    }(ASTNodeImpl)\n  );\n  function asSchema(schema2) {\n    if (isBoolean(schema2)) {\n      return schema2 ? {} : { \"not\": {} };\n    }\n    return schema2;\n  }\n  var EnumMatch;\n  (function(EnumMatch2) {\n    EnumMatch2[EnumMatch2[\"Key\"] = 0] = \"Key\";\n    EnumMatch2[EnumMatch2[\"Enum\"] = 1] = \"Enum\";\n  })(EnumMatch || (EnumMatch = {}));\n  var SchemaCollector = (\n    /** @class */\n    function() {\n      function SchemaCollector2(focusOffset, exclude) {\n        if (focusOffset === void 0) {\n          focusOffset = -1;\n        }\n        this.focusOffset = focusOffset;\n        this.exclude = exclude;\n        this.schemas = [];\n      }\n      SchemaCollector2.prototype.add = function(schema2) {\n        this.schemas.push(schema2);\n      };\n      SchemaCollector2.prototype.merge = function(other) {\n        Array.prototype.push.apply(this.schemas, other.schemas);\n      };\n      SchemaCollector2.prototype.include = function(node) {\n        return (this.focusOffset === -1 || contains2(node, this.focusOffset)) && node !== this.exclude;\n      };\n      SchemaCollector2.prototype.newSub = function() {\n        return new SchemaCollector2(-1, this.exclude);\n      };\n      return SchemaCollector2;\n    }()\n  );\n  var NoOpSchemaCollector = (\n    /** @class */\n    function() {\n      function NoOpSchemaCollector2() {\n      }\n      Object.defineProperty(NoOpSchemaCollector2.prototype, \"schemas\", {\n        get: function() {\n          return [];\n        },\n        enumerable: false,\n        configurable: true\n      });\n      NoOpSchemaCollector2.prototype.add = function(schema2) {\n      };\n      NoOpSchemaCollector2.prototype.merge = function(other) {\n      };\n      NoOpSchemaCollector2.prototype.include = function(node) {\n        return true;\n      };\n      NoOpSchemaCollector2.prototype.newSub = function() {\n        return this;\n      };\n      NoOpSchemaCollector2.instance = new NoOpSchemaCollector2();\n      return NoOpSchemaCollector2;\n    }()\n  );\n  var ValidationResult = (\n    /** @class */\n    function() {\n      function ValidationResult2() {\n        this.problems = [];\n        this.propertiesMatches = 0;\n        this.propertiesValueMatches = 0;\n        this.primaryValueMatches = 0;\n        this.enumValueMatch = false;\n        this.enumValues = void 0;\n      }\n      ValidationResult2.prototype.hasProblems = function() {\n        return !!this.problems.length;\n      };\n      ValidationResult2.prototype.mergeAll = function(validationResults) {\n        for (var _i = 0, validationResults_1 = validationResults; _i < validationResults_1.length; _i++) {\n          var validationResult = validationResults_1[_i];\n          this.merge(validationResult);\n        }\n      };\n      ValidationResult2.prototype.merge = function(validationResult) {\n        this.problems = this.problems.concat(validationResult.problems);\n      };\n      ValidationResult2.prototype.mergeEnumValues = function(validationResult) {\n        if (!this.enumValueMatch && !validationResult.enumValueMatch && this.enumValues && validationResult.enumValues) {\n          this.enumValues = this.enumValues.concat(validationResult.enumValues);\n          for (var _i = 0, _a4 = this.problems; _i < _a4.length; _i++) {\n            var error = _a4[_i];\n            if (error.code === ErrorCode.EnumValueMismatch) {\n              error.message = localize22(\"enumWarning\", \"Value is not accepted. Valid values: {0}.\", this.enumValues.map(function(v) {\n                return JSON.stringify(v);\n              }).join(\", \"));\n            }\n          }\n        }\n      };\n      ValidationResult2.prototype.mergePropertyMatch = function(propertyValidationResult) {\n        this.merge(propertyValidationResult);\n        this.propertiesMatches++;\n        if (propertyValidationResult.enumValueMatch || !propertyValidationResult.hasProblems() && propertyValidationResult.propertiesMatches) {\n          this.propertiesValueMatches++;\n        }\n        if (propertyValidationResult.enumValueMatch && propertyValidationResult.enumValues && propertyValidationResult.enumValues.length === 1) {\n          this.primaryValueMatches++;\n        }\n      };\n      ValidationResult2.prototype.compare = function(other) {\n        var hasProblems = this.hasProblems();\n        if (hasProblems !== other.hasProblems()) {\n          return hasProblems ? -1 : 1;\n        }\n        if (this.enumValueMatch !== other.enumValueMatch) {\n          return other.enumValueMatch ? -1 : 1;\n        }\n        if (this.primaryValueMatches !== other.primaryValueMatches) {\n          return this.primaryValueMatches - other.primaryValueMatches;\n        }\n        if (this.propertiesValueMatches !== other.propertiesValueMatches) {\n          return this.propertiesValueMatches - other.propertiesValueMatches;\n        }\n        return this.propertiesMatches - other.propertiesMatches;\n      };\n      return ValidationResult2;\n    }()\n  );\n  function newJSONDocument(root, diagnostics) {\n    if (diagnostics === void 0) {\n      diagnostics = [];\n    }\n    return new JSONDocument(root, diagnostics, []);\n  }\n  function getNodeValue3(node) {\n    return getNodeValue2(node);\n  }\n  function getNodePath3(node) {\n    return getNodePath2(node);\n  }\n  function contains2(node, offset, includeRightBound) {\n    if (includeRightBound === void 0) {\n      includeRightBound = false;\n    }\n    return offset >= node.offset && offset < node.offset + node.length || includeRightBound && offset === node.offset + node.length;\n  }\n  var JSONDocument = (\n    /** @class */\n    function() {\n      function JSONDocument2(root, syntaxErrors, comments) {\n        if (syntaxErrors === void 0) {\n          syntaxErrors = [];\n        }\n        if (comments === void 0) {\n          comments = [];\n        }\n        this.root = root;\n        this.syntaxErrors = syntaxErrors;\n        this.comments = comments;\n      }\n      JSONDocument2.prototype.getNodeFromOffset = function(offset, includeRightBound) {\n        if (includeRightBound === void 0) {\n          includeRightBound = false;\n        }\n        if (this.root) {\n          return findNodeAtOffset2(this.root, offset, includeRightBound);\n        }\n        return void 0;\n      };\n      JSONDocument2.prototype.visit = function(visitor) {\n        if (this.root) {\n          var doVisit_1 = function(node) {\n            var ctn = visitor(node);\n            var children = node.children;\n            if (Array.isArray(children)) {\n              for (var i = 0; i < children.length && ctn; i++) {\n                ctn = doVisit_1(children[i]);\n              }\n            }\n            return ctn;\n          };\n          doVisit_1(this.root);\n        }\n      };\n      JSONDocument2.prototype.validate = function(textDocument, schema2, severity) {\n        if (severity === void 0) {\n          severity = DiagnosticSeverity.Warning;\n        }\n        if (this.root && schema2) {\n          var validationResult = new ValidationResult();\n          validate(this.root, schema2, validationResult, NoOpSchemaCollector.instance);\n          return validationResult.problems.map(function(p) {\n            var _a4;\n            var range = Range2.create(textDocument.positionAt(p.location.offset), textDocument.positionAt(p.location.offset + p.location.length));\n            return Diagnostic.create(range, p.message, (_a4 = p.severity) !== null && _a4 !== void 0 ? _a4 : severity, p.code);\n          });\n        }\n        return void 0;\n      };\n      JSONDocument2.prototype.getMatchingSchemas = function(schema2, focusOffset, exclude) {\n        if (focusOffset === void 0) {\n          focusOffset = -1;\n        }\n        var matchingSchemas = new SchemaCollector(focusOffset, exclude);\n        if (this.root && schema2) {\n          validate(this.root, schema2, new ValidationResult(), matchingSchemas);\n        }\n        return matchingSchemas.schemas;\n      };\n      return JSONDocument2;\n    }()\n  );\n  function validate(n, schema2, validationResult, matchingSchemas) {\n    if (!n || !matchingSchemas.include(n)) {\n      return;\n    }\n    var node = n;\n    switch (node.type) {\n      case \"object\":\n        _validateObjectNode(node, schema2, validationResult, matchingSchemas);\n        break;\n      case \"array\":\n        _validateArrayNode(node, schema2, validationResult, matchingSchemas);\n        break;\n      case \"string\":\n        _validateStringNode(node, schema2, validationResult, matchingSchemas);\n        break;\n      case \"number\":\n        _validateNumberNode(node, schema2, validationResult, matchingSchemas);\n        break;\n      case \"property\":\n        return validate(node.valueNode, schema2, validationResult, matchingSchemas);\n    }\n    _validateNode();\n    matchingSchemas.add({ node, schema: schema2 });\n    function _validateNode() {\n      function matchesType(type) {\n        return node.type === type || type === \"integer\" && node.type === \"number\" && node.isInteger;\n      }\n      if (Array.isArray(schema2.type)) {\n        if (!schema2.type.some(matchesType)) {\n          validationResult.problems.push({\n            location: { offset: node.offset, length: node.length },\n            message: schema2.errorMessage || localize22(\"typeArrayMismatchWarning\", \"Incorrect type. Expected one of {0}.\", schema2.type.join(\", \"))\n          });\n        }\n      } else if (schema2.type) {\n        if (!matchesType(schema2.type)) {\n          validationResult.problems.push({\n            location: { offset: node.offset, length: node.length },\n            message: schema2.errorMessage || localize22(\"typeMismatchWarning\", 'Incorrect type. Expected \"{0}\".', schema2.type)\n          });\n        }\n      }\n      if (Array.isArray(schema2.allOf)) {\n        for (var _i = 0, _a4 = schema2.allOf; _i < _a4.length; _i++) {\n          var subSchemaRef = _a4[_i];\n          validate(node, asSchema(subSchemaRef), validationResult, matchingSchemas);\n        }\n      }\n      var notSchema = asSchema(schema2.not);\n      if (notSchema) {\n        var subValidationResult = new ValidationResult();\n        var subMatchingSchemas = matchingSchemas.newSub();\n        validate(node, notSchema, subValidationResult, subMatchingSchemas);\n        if (!subValidationResult.hasProblems()) {\n          validationResult.problems.push({\n            location: { offset: node.offset, length: node.length },\n            message: localize22(\"notSchemaWarning\", \"Matches a schema that is not allowed.\")\n          });\n        }\n        for (var _b3 = 0, _c = subMatchingSchemas.schemas; _b3 < _c.length; _b3++) {\n          var ms = _c[_b3];\n          ms.inverted = !ms.inverted;\n          matchingSchemas.add(ms);\n        }\n      }\n      var testAlternatives = function(alternatives, maxOneMatch) {\n        var matches = [];\n        var bestMatch = void 0;\n        for (var _i2 = 0, alternatives_1 = alternatives; _i2 < alternatives_1.length; _i2++) {\n          var subSchemaRef2 = alternatives_1[_i2];\n          var subSchema = asSchema(subSchemaRef2);\n          var subValidationResult2 = new ValidationResult();\n          var subMatchingSchemas2 = matchingSchemas.newSub();\n          validate(node, subSchema, subValidationResult2, subMatchingSchemas2);\n          if (!subValidationResult2.hasProblems()) {\n            matches.push(subSchema);\n          }\n          if (!bestMatch) {\n            bestMatch = { schema: subSchema, validationResult: subValidationResult2, matchingSchemas: subMatchingSchemas2 };\n          } else {\n            if (!maxOneMatch && !subValidationResult2.hasProblems() && !bestMatch.validationResult.hasProblems()) {\n              bestMatch.matchingSchemas.merge(subMatchingSchemas2);\n              bestMatch.validationResult.propertiesMatches += subValidationResult2.propertiesMatches;\n              bestMatch.validationResult.propertiesValueMatches += subValidationResult2.propertiesValueMatches;\n            } else {\n              var compareResult = subValidationResult2.compare(bestMatch.validationResult);\n              if (compareResult > 0) {\n                bestMatch = { schema: subSchema, validationResult: subValidationResult2, matchingSchemas: subMatchingSchemas2 };\n              } else if (compareResult === 0) {\n                bestMatch.matchingSchemas.merge(subMatchingSchemas2);\n                bestMatch.validationResult.mergeEnumValues(subValidationResult2);\n              }\n            }\n          }\n        }\n        if (matches.length > 1 && maxOneMatch) {\n          validationResult.problems.push({\n            location: { offset: node.offset, length: 1 },\n            message: localize22(\"oneOfWarning\", \"Matches multiple schemas when only one must validate.\")\n          });\n        }\n        if (bestMatch) {\n          validationResult.merge(bestMatch.validationResult);\n          validationResult.propertiesMatches += bestMatch.validationResult.propertiesMatches;\n          validationResult.propertiesValueMatches += bestMatch.validationResult.propertiesValueMatches;\n          matchingSchemas.merge(bestMatch.matchingSchemas);\n        }\n        return matches.length;\n      };\n      if (Array.isArray(schema2.anyOf)) {\n        testAlternatives(schema2.anyOf, false);\n      }\n      if (Array.isArray(schema2.oneOf)) {\n        testAlternatives(schema2.oneOf, true);\n      }\n      var testBranch = function(schema22) {\n        var subValidationResult2 = new ValidationResult();\n        var subMatchingSchemas2 = matchingSchemas.newSub();\n        validate(node, asSchema(schema22), subValidationResult2, subMatchingSchemas2);\n        validationResult.merge(subValidationResult2);\n        validationResult.propertiesMatches += subValidationResult2.propertiesMatches;\n        validationResult.propertiesValueMatches += subValidationResult2.propertiesValueMatches;\n        matchingSchemas.merge(subMatchingSchemas2);\n      };\n      var testCondition = function(ifSchema2, thenSchema, elseSchema) {\n        var subSchema = asSchema(ifSchema2);\n        var subValidationResult2 = new ValidationResult();\n        var subMatchingSchemas2 = matchingSchemas.newSub();\n        validate(node, subSchema, subValidationResult2, subMatchingSchemas2);\n        matchingSchemas.merge(subMatchingSchemas2);\n        if (!subValidationResult2.hasProblems()) {\n          if (thenSchema) {\n            testBranch(thenSchema);\n          }\n        } else if (elseSchema) {\n          testBranch(elseSchema);\n        }\n      };\n      var ifSchema = asSchema(schema2.if);\n      if (ifSchema) {\n        testCondition(ifSchema, asSchema(schema2.then), asSchema(schema2.else));\n      }\n      if (Array.isArray(schema2.enum)) {\n        var val = getNodeValue3(node);\n        var enumValueMatch = false;\n        for (var _d = 0, _e = schema2.enum; _d < _e.length; _d++) {\n          var e = _e[_d];\n          if (equals3(val, e)) {\n            enumValueMatch = true;\n            break;\n          }\n        }\n        validationResult.enumValues = schema2.enum;\n        validationResult.enumValueMatch = enumValueMatch;\n        if (!enumValueMatch) {\n          validationResult.problems.push({\n            location: { offset: node.offset, length: node.length },\n            code: ErrorCode.EnumValueMismatch,\n            message: schema2.errorMessage || localize22(\"enumWarning\", \"Value is not accepted. Valid values: {0}.\", schema2.enum.map(function(v) {\n              return JSON.stringify(v);\n            }).join(\", \"))\n          });\n        }\n      }\n      if (isDefined(schema2.const)) {\n        var val = getNodeValue3(node);\n        if (!equals3(val, schema2.const)) {\n          validationResult.problems.push({\n            location: { offset: node.offset, length: node.length },\n            code: ErrorCode.EnumValueMismatch,\n            message: schema2.errorMessage || localize22(\"constWarning\", \"Value must be {0}.\", JSON.stringify(schema2.const))\n          });\n          validationResult.enumValueMatch = false;\n        } else {\n          validationResult.enumValueMatch = true;\n        }\n        validationResult.enumValues = [schema2.const];\n      }\n      if (schema2.deprecationMessage && node.parent) {\n        validationResult.problems.push({\n          location: { offset: node.parent.offset, length: node.parent.length },\n          severity: DiagnosticSeverity.Warning,\n          message: schema2.deprecationMessage,\n          code: ErrorCode.Deprecated\n        });\n      }\n    }\n    function _validateNumberNode(node2, schema22, validationResult2, matchingSchemas2) {\n      var val = node2.value;\n      function normalizeFloats(float) {\n        var _a4;\n        var parts = /^(-?\\d+)(?:\\.(\\d+))?(?:e([-+]\\d+))?$/.exec(float.toString());\n        return parts && {\n          value: Number(parts[1] + (parts[2] || \"\")),\n          multiplier: (((_a4 = parts[2]) === null || _a4 === void 0 ? void 0 : _a4.length) || 0) - (parseInt(parts[3]) || 0)\n        };\n      }\n      ;\n      if (isNumber(schema22.multipleOf)) {\n        var remainder = -1;\n        if (Number.isInteger(schema22.multipleOf)) {\n          remainder = val % schema22.multipleOf;\n        } else {\n          var normMultipleOf = normalizeFloats(schema22.multipleOf);\n          var normValue = normalizeFloats(val);\n          if (normMultipleOf && normValue) {\n            var multiplier = Math.pow(10, Math.abs(normValue.multiplier - normMultipleOf.multiplier));\n            if (normValue.multiplier < normMultipleOf.multiplier) {\n              normValue.value *= multiplier;\n            } else {\n              normMultipleOf.value *= multiplier;\n            }\n            remainder = normValue.value % normMultipleOf.value;\n          }\n        }\n        if (remainder !== 0) {\n          validationResult2.problems.push({\n            location: { offset: node2.offset, length: node2.length },\n            message: localize22(\"multipleOfWarning\", \"Value is not divisible by {0}.\", schema22.multipleOf)\n          });\n        }\n      }\n      function getExclusiveLimit(limit, exclusive) {\n        if (isNumber(exclusive)) {\n          return exclusive;\n        }\n        if (isBoolean(exclusive) && exclusive) {\n          return limit;\n        }\n        return void 0;\n      }\n      function getLimit(limit, exclusive) {\n        if (!isBoolean(exclusive) || !exclusive) {\n          return limit;\n        }\n        return void 0;\n      }\n      var exclusiveMinimum = getExclusiveLimit(schema22.minimum, schema22.exclusiveMinimum);\n      if (isNumber(exclusiveMinimum) && val <= exclusiveMinimum) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"exclusiveMinimumWarning\", \"Value is below the exclusive minimum of {0}.\", exclusiveMinimum)\n        });\n      }\n      var exclusiveMaximum = getExclusiveLimit(schema22.maximum, schema22.exclusiveMaximum);\n      if (isNumber(exclusiveMaximum) && val >= exclusiveMaximum) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"exclusiveMaximumWarning\", \"Value is above the exclusive maximum of {0}.\", exclusiveMaximum)\n        });\n      }\n      var minimum = getLimit(schema22.minimum, schema22.exclusiveMinimum);\n      if (isNumber(minimum) && val < minimum) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"minimumWarning\", \"Value is below the minimum of {0}.\", minimum)\n        });\n      }\n      var maximum = getLimit(schema22.maximum, schema22.exclusiveMaximum);\n      if (isNumber(maximum) && val > maximum) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"maximumWarning\", \"Value is above the maximum of {0}.\", maximum)\n        });\n      }\n    }\n    function _validateStringNode(node2, schema22, validationResult2, matchingSchemas2) {\n      if (isNumber(schema22.minLength) && node2.value.length < schema22.minLength) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"minLengthWarning\", \"String is shorter than the minimum length of {0}.\", schema22.minLength)\n        });\n      }\n      if (isNumber(schema22.maxLength) && node2.value.length > schema22.maxLength) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"maxLengthWarning\", \"String is longer than the maximum length of {0}.\", schema22.maxLength)\n        });\n      }\n      if (isString2(schema22.pattern)) {\n        var regex = extendedRegExp(schema22.pattern);\n        if (!(regex === null || regex === void 0 ? void 0 : regex.test(node2.value))) {\n          validationResult2.problems.push({\n            location: { offset: node2.offset, length: node2.length },\n            message: schema22.patternErrorMessage || schema22.errorMessage || localize22(\"patternWarning\", 'String does not match the pattern of \"{0}\".', schema22.pattern)\n          });\n        }\n      }\n      if (schema22.format) {\n        switch (schema22.format) {\n          case \"uri\":\n          case \"uri-reference\":\n            {\n              var errorMessage = void 0;\n              if (!node2.value) {\n                errorMessage = localize22(\"uriEmpty\", \"URI expected.\");\n              } else {\n                var match = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/.exec(node2.value);\n                if (!match) {\n                  errorMessage = localize22(\"uriMissing\", \"URI is expected.\");\n                } else if (!match[2] && schema22.format === \"uri\") {\n                  errorMessage = localize22(\"uriSchemeMissing\", \"URI with a scheme is expected.\");\n                }\n              }\n              if (errorMessage) {\n                validationResult2.problems.push({\n                  location: { offset: node2.offset, length: node2.length },\n                  message: schema22.patternErrorMessage || schema22.errorMessage || localize22(\"uriFormatWarning\", \"String is not a URI: {0}\", errorMessage)\n                });\n              }\n            }\n            break;\n          case \"color-hex\":\n          case \"date-time\":\n          case \"date\":\n          case \"time\":\n          case \"email\":\n          case \"hostname\":\n          case \"ipv4\":\n          case \"ipv6\":\n            var format4 = formats[schema22.format];\n            if (!node2.value || !format4.pattern.exec(node2.value)) {\n              validationResult2.problems.push({\n                location: { offset: node2.offset, length: node2.length },\n                message: schema22.patternErrorMessage || schema22.errorMessage || format4.errorMessage\n              });\n            }\n          default:\n        }\n      }\n    }\n    function _validateArrayNode(node2, schema22, validationResult2, matchingSchemas2) {\n      if (Array.isArray(schema22.items)) {\n        var subSchemas = schema22.items;\n        for (var index = 0; index < subSchemas.length; index++) {\n          var subSchemaRef = subSchemas[index];\n          var subSchema = asSchema(subSchemaRef);\n          var itemValidationResult = new ValidationResult();\n          var item = node2.items[index];\n          if (item) {\n            validate(item, subSchema, itemValidationResult, matchingSchemas2);\n            validationResult2.mergePropertyMatch(itemValidationResult);\n          } else if (node2.items.length >= subSchemas.length) {\n            validationResult2.propertiesValueMatches++;\n          }\n        }\n        if (node2.items.length > subSchemas.length) {\n          if (typeof schema22.additionalItems === \"object\") {\n            for (var i = subSchemas.length; i < node2.items.length; i++) {\n              var itemValidationResult = new ValidationResult();\n              validate(node2.items[i], schema22.additionalItems, itemValidationResult, matchingSchemas2);\n              validationResult2.mergePropertyMatch(itemValidationResult);\n            }\n          } else if (schema22.additionalItems === false) {\n            validationResult2.problems.push({\n              location: { offset: node2.offset, length: node2.length },\n              message: localize22(\"additionalItemsWarning\", \"Array has too many items according to schema. Expected {0} or fewer.\", subSchemas.length)\n            });\n          }\n        }\n      } else {\n        var itemSchema = asSchema(schema22.items);\n        if (itemSchema) {\n          for (var _i = 0, _a4 = node2.items; _i < _a4.length; _i++) {\n            var item = _a4[_i];\n            var itemValidationResult = new ValidationResult();\n            validate(item, itemSchema, itemValidationResult, matchingSchemas2);\n            validationResult2.mergePropertyMatch(itemValidationResult);\n          }\n        }\n      }\n      var containsSchema = asSchema(schema22.contains);\n      if (containsSchema) {\n        var doesContain = node2.items.some(function(item2) {\n          var itemValidationResult2 = new ValidationResult();\n          validate(item2, containsSchema, itemValidationResult2, NoOpSchemaCollector.instance);\n          return !itemValidationResult2.hasProblems();\n        });\n        if (!doesContain) {\n          validationResult2.problems.push({\n            location: { offset: node2.offset, length: node2.length },\n            message: schema22.errorMessage || localize22(\"requiredItemMissingWarning\", \"Array does not contain required item.\")\n          });\n        }\n      }\n      if (isNumber(schema22.minItems) && node2.items.length < schema22.minItems) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"minItemsWarning\", \"Array has too few items. Expected {0} or more.\", schema22.minItems)\n        });\n      }\n      if (isNumber(schema22.maxItems) && node2.items.length > schema22.maxItems) {\n        validationResult2.problems.push({\n          location: { offset: node2.offset, length: node2.length },\n          message: localize22(\"maxItemsWarning\", \"Array has too many items. Expected {0} or fewer.\", schema22.maxItems)\n        });\n      }\n      if (schema22.uniqueItems === true) {\n        var values_1 = getNodeValue3(node2);\n        var duplicates = values_1.some(function(value, index2) {\n          return index2 !== values_1.lastIndexOf(value);\n        });\n        if (duplicates) {\n          validationResult2.problems.push({\n            location: { offset: node2.offset, length: node2.length },\n            message: localize22(\"uniqueItemsWarning\", \"Array has duplicate items.\")\n          });\n        }\n      }\n    }\n    function _validateObjectNode(node2, schema22, validationResult2, matchingSchemas2) {\n      var seenKeys = /* @__PURE__ */ Object.create(null);\n      var unprocessedProperties = [];\n      for (var _i = 0, _a4 = node2.properties; _i < _a4.length; _i++) {\n        var propertyNode = _a4[_i];\n        var key = propertyNode.keyNode.value;\n        seenKeys[key] = propertyNode.valueNode;\n        unprocessedProperties.push(key);\n      }\n      if (Array.isArray(schema22.required)) {\n        for (var _b3 = 0, _c = schema22.required; _b3 < _c.length; _b3++) {\n          var propertyName = _c[_b3];\n          if (!seenKeys[propertyName]) {\n            var keyNode = node2.parent && node2.parent.type === \"property\" && node2.parent.keyNode;\n            var location = keyNode ? { offset: keyNode.offset, length: keyNode.length } : { offset: node2.offset, length: 1 };\n            validationResult2.problems.push({\n              location,\n              message: localize22(\"MissingRequiredPropWarning\", 'Missing property \"{0}\".', propertyName)\n            });\n          }\n        }\n      }\n      var propertyProcessed = function(prop2) {\n        var index = unprocessedProperties.indexOf(prop2);\n        while (index >= 0) {\n          unprocessedProperties.splice(index, 1);\n          index = unprocessedProperties.indexOf(prop2);\n        }\n      };\n      if (schema22.properties) {\n        for (var _d = 0, _e = Object.keys(schema22.properties); _d < _e.length; _d++) {\n          var propertyName = _e[_d];\n          propertyProcessed(propertyName);\n          var propertySchema = schema22.properties[propertyName];\n          var child = seenKeys[propertyName];\n          if (child) {\n            if (isBoolean(propertySchema)) {\n              if (!propertySchema) {\n                var propertyNode = child.parent;\n                validationResult2.problems.push({\n                  location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length },\n                  message: schema22.errorMessage || localize22(\"DisallowedExtraPropWarning\", \"Property {0} is not allowed.\", propertyName)\n                });\n              } else {\n                validationResult2.propertiesMatches++;\n                validationResult2.propertiesValueMatches++;\n              }\n            } else {\n              var propertyValidationResult = new ValidationResult();\n              validate(child, propertySchema, propertyValidationResult, matchingSchemas2);\n              validationResult2.mergePropertyMatch(propertyValidationResult);\n            }\n          }\n        }\n      }\n      if (schema22.patternProperties) {\n        for (var _f = 0, _g = Object.keys(schema22.patternProperties); _f < _g.length; _f++) {\n          var propertyPattern = _g[_f];\n          var regex = extendedRegExp(propertyPattern);\n          for (var _h = 0, _j = unprocessedProperties.slice(0); _h < _j.length; _h++) {\n            var propertyName = _j[_h];\n            if (regex === null || regex === void 0 ? void 0 : regex.test(propertyName)) {\n              propertyProcessed(propertyName);\n              var child = seenKeys[propertyName];\n              if (child) {\n                var propertySchema = schema22.patternProperties[propertyPattern];\n                if (isBoolean(propertySchema)) {\n                  if (!propertySchema) {\n                    var propertyNode = child.parent;\n                    validationResult2.problems.push({\n                      location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length },\n                      message: schema22.errorMessage || localize22(\"DisallowedExtraPropWarning\", \"Property {0} is not allowed.\", propertyName)\n                    });\n                  } else {\n                    validationResult2.propertiesMatches++;\n                    validationResult2.propertiesValueMatches++;\n                  }\n                } else {\n                  var propertyValidationResult = new ValidationResult();\n                  validate(child, propertySchema, propertyValidationResult, matchingSchemas2);\n                  validationResult2.mergePropertyMatch(propertyValidationResult);\n                }\n              }\n            }\n          }\n        }\n      }\n      if (typeof schema22.additionalProperties === \"object\") {\n        for (var _k = 0, unprocessedProperties_1 = unprocessedProperties; _k < unprocessedProperties_1.length; _k++) {\n          var propertyName = unprocessedProperties_1[_k];\n          var child = seenKeys[propertyName];\n          if (child) {\n            var propertyValidationResult = new ValidationResult();\n            validate(child, schema22.additionalProperties, propertyValidationResult, matchingSchemas2);\n            validationResult2.mergePropertyMatch(propertyValidationResult);\n          }\n        }\n      } else if (schema22.additionalProperties === false) {\n        if (unprocessedProperties.length > 0) {\n          for (var _l = 0, unprocessedProperties_2 = unprocessedProperties; _l < unprocessedProperties_2.length; _l++) {\n            var propertyName = unprocessedProperties_2[_l];\n            var child = seenKeys[propertyName];\n            if (child) {\n              var propertyNode = child.parent;\n              validationResult2.problems.push({\n                location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length },\n                message: schema22.errorMessage || localize22(\"DisallowedExtraPropWarning\", \"Property {0} is not allowed.\", propertyName)\n              });\n            }\n          }\n        }\n      }\n      if (isNumber(schema22.maxProperties)) {\n        if (node2.properties.length > schema22.maxProperties) {\n          validationResult2.problems.push({\n            location: { offset: node2.offset, length: node2.length },\n            message: localize22(\"MaxPropWarning\", \"Object has more properties than limit of {0}.\", schema22.maxProperties)\n          });\n        }\n      }\n      if (isNumber(schema22.minProperties)) {\n        if (node2.properties.length < schema22.minProperties) {\n          validationResult2.problems.push({\n            location: { offset: node2.offset, length: node2.length },\n            message: localize22(\"MinPropWarning\", \"Object has fewer properties than the required number of {0}\", schema22.minProperties)\n          });\n        }\n      }\n      if (schema22.dependencies) {\n        for (var _m = 0, _o = Object.keys(schema22.dependencies); _m < _o.length; _m++) {\n          var key = _o[_m];\n          var prop = seenKeys[key];\n          if (prop) {\n            var propertyDep = schema22.dependencies[key];\n            if (Array.isArray(propertyDep)) {\n              for (var _p = 0, propertyDep_1 = propertyDep; _p < propertyDep_1.length; _p++) {\n                var requiredProp = propertyDep_1[_p];\n                if (!seenKeys[requiredProp]) {\n                  validationResult2.problems.push({\n                    location: { offset: node2.offset, length: node2.length },\n                    message: localize22(\"RequiredDependentPropWarning\", \"Object is missing property {0} required by property {1}.\", requiredProp, key)\n                  });\n                } else {\n                  validationResult2.propertiesValueMatches++;\n                }\n              }\n            } else {\n              var propertySchema = asSchema(propertyDep);\n              if (propertySchema) {\n                var propertyValidationResult = new ValidationResult();\n                validate(node2, propertySchema, propertyValidationResult, matchingSchemas2);\n                validationResult2.mergePropertyMatch(propertyValidationResult);\n              }\n            }\n          }\n        }\n      }\n      var propertyNames = asSchema(schema22.propertyNames);\n      if (propertyNames) {\n        for (var _q = 0, _r = node2.properties; _q < _r.length; _q++) {\n          var f2 = _r[_q];\n          var key = f2.keyNode;\n          if (key) {\n            validate(key, propertyNames, validationResult2, NoOpSchemaCollector.instance);\n          }\n        }\n      }\n    }\n  }\n  function parse3(textDocument, config) {\n    var problems = [];\n    var lastProblemOffset = -1;\n    var text = textDocument.getText();\n    var scanner = createScanner2(text, false);\n    var commentRanges = config && config.collectComments ? [] : void 0;\n    function _scanNext() {\n      while (true) {\n        var token_1 = scanner.scan();\n        _checkScanError();\n        switch (token_1) {\n          case 12:\n          case 13:\n            if (Array.isArray(commentRanges)) {\n              commentRanges.push(Range2.create(textDocument.positionAt(scanner.getTokenOffset()), textDocument.positionAt(scanner.getTokenOffset() + scanner.getTokenLength())));\n            }\n            break;\n          case 15:\n          case 14:\n            break;\n          default:\n            return token_1;\n        }\n      }\n    }\n    function _accept(token2) {\n      if (scanner.getToken() === token2) {\n        _scanNext();\n        return true;\n      }\n      return false;\n    }\n    function _errorAtRange(message, code, startOffset, endOffset, severity) {\n      if (severity === void 0) {\n        severity = DiagnosticSeverity.Error;\n      }\n      if (problems.length === 0 || startOffset !== lastProblemOffset) {\n        var range = Range2.create(textDocument.positionAt(startOffset), textDocument.positionAt(endOffset));\n        problems.push(Diagnostic.create(range, message, severity, code, textDocument.languageId));\n        lastProblemOffset = startOffset;\n      }\n    }\n    function _error(message, code, node, skipUntilAfter, skipUntil) {\n      if (node === void 0) {\n        node = void 0;\n      }\n      if (skipUntilAfter === void 0) {\n        skipUntilAfter = [];\n      }\n      if (skipUntil === void 0) {\n        skipUntil = [];\n      }\n      var start = scanner.getTokenOffset();\n      var end = scanner.getTokenOffset() + scanner.getTokenLength();\n      if (start === end && start > 0) {\n        start--;\n        while (start > 0 && /\\s/.test(text.charAt(start))) {\n          start--;\n        }\n        end = start + 1;\n      }\n      _errorAtRange(message, code, start, end);\n      if (node) {\n        _finalize(node, false);\n      }\n      if (skipUntilAfter.length + skipUntil.length > 0) {\n        var token_2 = scanner.getToken();\n        while (token_2 !== 17) {\n          if (skipUntilAfter.indexOf(token_2) !== -1) {\n            _scanNext();\n            break;\n          } else if (skipUntil.indexOf(token_2) !== -1) {\n            break;\n          }\n          token_2 = _scanNext();\n        }\n      }\n      return node;\n    }\n    function _checkScanError() {\n      switch (scanner.getTokenError()) {\n        case 4:\n          _error(localize22(\"InvalidUnicode\", \"Invalid unicode sequence in string.\"), ErrorCode.InvalidUnicode);\n          return true;\n        case 5:\n          _error(localize22(\"InvalidEscapeCharacter\", \"Invalid escape character in string.\"), ErrorCode.InvalidEscapeCharacter);\n          return true;\n        case 3:\n          _error(localize22(\"UnexpectedEndOfNumber\", \"Unexpected end of number.\"), ErrorCode.UnexpectedEndOfNumber);\n          return true;\n        case 1:\n          _error(localize22(\"UnexpectedEndOfComment\", \"Unexpected end of comment.\"), ErrorCode.UnexpectedEndOfComment);\n          return true;\n        case 2:\n          _error(localize22(\"UnexpectedEndOfString\", \"Unexpected end of string.\"), ErrorCode.UnexpectedEndOfString);\n          return true;\n        case 6:\n          _error(localize22(\"InvalidCharacter\", \"Invalid characters in string. Control characters must be escaped.\"), ErrorCode.InvalidCharacter);\n          return true;\n      }\n      return false;\n    }\n    function _finalize(node, scanNext) {\n      node.length = scanner.getTokenOffset() + scanner.getTokenLength() - node.offset;\n      if (scanNext) {\n        _scanNext();\n      }\n      return node;\n    }\n    function _parseArray(parent) {\n      if (scanner.getToken() !== 3) {\n        return void 0;\n      }\n      var node = new ArrayASTNodeImpl(parent, scanner.getTokenOffset());\n      _scanNext();\n      var count = 0;\n      var needsComma = false;\n      while (scanner.getToken() !== 4 && scanner.getToken() !== 17) {\n        if (scanner.getToken() === 5) {\n          if (!needsComma) {\n            _error(localize22(\"ValueExpected\", \"Value expected\"), ErrorCode.ValueExpected);\n          }\n          var commaOffset = scanner.getTokenOffset();\n          _scanNext();\n          if (scanner.getToken() === 4) {\n            if (needsComma) {\n              _errorAtRange(localize22(\"TrailingComma\", \"Trailing comma\"), ErrorCode.TrailingComma, commaOffset, commaOffset + 1);\n            }\n            continue;\n          }\n        } else if (needsComma) {\n          _error(localize22(\"ExpectedComma\", \"Expected comma\"), ErrorCode.CommaExpected);\n        }\n        var item = _parseValue(node);\n        if (!item) {\n          _error(localize22(\"PropertyExpected\", \"Value expected\"), ErrorCode.ValueExpected, void 0, [], [\n            4,\n            5\n            /* CommaToken */\n          ]);\n        } else {\n          node.items.push(item);\n        }\n        needsComma = true;\n      }\n      if (scanner.getToken() !== 4) {\n        return _error(localize22(\"ExpectedCloseBracket\", \"Expected comma or closing bracket\"), ErrorCode.CommaOrCloseBacketExpected, node);\n      }\n      return _finalize(node, true);\n    }\n    var keyPlaceholder = new StringASTNodeImpl(void 0, 0, 0);\n    function _parseProperty(parent, keysSeen) {\n      var node = new PropertyASTNodeImpl(parent, scanner.getTokenOffset(), keyPlaceholder);\n      var key = _parseString(node);\n      if (!key) {\n        if (scanner.getToken() === 16) {\n          _error(localize22(\"DoubleQuotesExpected\", \"Property keys must be doublequoted\"), ErrorCode.Undefined);\n          var keyNode = new StringASTNodeImpl(node, scanner.getTokenOffset(), scanner.getTokenLength());\n          keyNode.value = scanner.getTokenValue();\n          key = keyNode;\n          _scanNext();\n        } else {\n          return void 0;\n        }\n      }\n      node.keyNode = key;\n      var seen = keysSeen[key.value];\n      if (seen) {\n        _errorAtRange(localize22(\"DuplicateKeyWarning\", \"Duplicate object key\"), ErrorCode.DuplicateKey, node.keyNode.offset, node.keyNode.offset + node.keyNode.length, DiagnosticSeverity.Warning);\n        if (typeof seen === \"object\") {\n          _errorAtRange(localize22(\"DuplicateKeyWarning\", \"Duplicate object key\"), ErrorCode.DuplicateKey, seen.keyNode.offset, seen.keyNode.offset + seen.keyNode.length, DiagnosticSeverity.Warning);\n        }\n        keysSeen[key.value] = true;\n      } else {\n        keysSeen[key.value] = node;\n      }\n      if (scanner.getToken() === 6) {\n        node.colonOffset = scanner.getTokenOffset();\n        _scanNext();\n      } else {\n        _error(localize22(\"ColonExpected\", \"Colon expected\"), ErrorCode.ColonExpected);\n        if (scanner.getToken() === 10 && textDocument.positionAt(key.offset + key.length).line < textDocument.positionAt(scanner.getTokenOffset()).line) {\n          node.length = key.length;\n          return node;\n        }\n      }\n      var value = _parseValue(node);\n      if (!value) {\n        return _error(localize22(\"ValueExpected\", \"Value expected\"), ErrorCode.ValueExpected, node, [], [\n          2,\n          5\n          /* CommaToken */\n        ]);\n      }\n      node.valueNode = value;\n      node.length = value.offset + value.length - node.offset;\n      return node;\n    }\n    function _parseObject(parent) {\n      if (scanner.getToken() !== 1) {\n        return void 0;\n      }\n      var node = new ObjectASTNodeImpl(parent, scanner.getTokenOffset());\n      var keysSeen = /* @__PURE__ */ Object.create(null);\n      _scanNext();\n      var needsComma = false;\n      while (scanner.getToken() !== 2 && scanner.getToken() !== 17) {\n        if (scanner.getToken() === 5) {\n          if (!needsComma) {\n            _error(localize22(\"PropertyExpected\", \"Property expected\"), ErrorCode.PropertyExpected);\n          }\n          var commaOffset = scanner.getTokenOffset();\n          _scanNext();\n          if (scanner.getToken() === 2) {\n            if (needsComma) {\n              _errorAtRange(localize22(\"TrailingComma\", \"Trailing comma\"), ErrorCode.TrailingComma, commaOffset, commaOffset + 1);\n            }\n            continue;\n          }\n        } else if (needsComma) {\n          _error(localize22(\"ExpectedComma\", \"Expected comma\"), ErrorCode.CommaExpected);\n        }\n        var property2 = _parseProperty(node, keysSeen);\n        if (!property2) {\n          _error(localize22(\"PropertyExpected\", \"Property expected\"), ErrorCode.PropertyExpected, void 0, [], [\n            2,\n            5\n            /* CommaToken */\n          ]);\n        } else {\n          node.properties.push(property2);\n        }\n        needsComma = true;\n      }\n      if (scanner.getToken() !== 2) {\n        return _error(localize22(\"ExpectedCloseBrace\", \"Expected comma or closing brace\"), ErrorCode.CommaOrCloseBraceExpected, node);\n      }\n      return _finalize(node, true);\n    }\n    function _parseString(parent) {\n      if (scanner.getToken() !== 10) {\n        return void 0;\n      }\n      var node = new StringASTNodeImpl(parent, scanner.getTokenOffset());\n      node.value = scanner.getTokenValue();\n      return _finalize(node, true);\n    }\n    function _parseNumber(parent) {\n      if (scanner.getToken() !== 11) {\n        return void 0;\n      }\n      var node = new NumberASTNodeImpl(parent, scanner.getTokenOffset());\n      if (scanner.getTokenError() === 0) {\n        var tokenValue = scanner.getTokenValue();\n        try {\n          var numberValue = JSON.parse(tokenValue);\n          if (!isNumber(numberValue)) {\n            return _error(localize22(\"InvalidNumberFormat\", \"Invalid number format.\"), ErrorCode.Undefined, node);\n          }\n          node.value = numberValue;\n        } catch (e) {\n          return _error(localize22(\"InvalidNumberFormat\", \"Invalid number format.\"), ErrorCode.Undefined, node);\n        }\n        node.isInteger = tokenValue.indexOf(\".\") === -1;\n      }\n      return _finalize(node, true);\n    }\n    function _parseLiteral(parent) {\n      var node;\n      switch (scanner.getToken()) {\n        case 7:\n          return _finalize(new NullASTNodeImpl(parent, scanner.getTokenOffset()), true);\n        case 8:\n          return _finalize(new BooleanASTNodeImpl(parent, true, scanner.getTokenOffset()), true);\n        case 9:\n          return _finalize(new BooleanASTNodeImpl(parent, false, scanner.getTokenOffset()), true);\n        default:\n          return void 0;\n      }\n    }\n    function _parseValue(parent) {\n      return _parseArray(parent) || _parseObject(parent) || _parseString(parent) || _parseNumber(parent) || _parseLiteral(parent);\n    }\n    var _root = void 0;\n    var token = _scanNext();\n    if (token !== 17) {\n      _root = _parseValue(_root);\n      if (!_root) {\n        _error(localize22(\"Invalid symbol\", \"Expected a JSON object, array or literal.\"), ErrorCode.Undefined);\n      } else if (scanner.getToken() !== 17) {\n        _error(localize22(\"End of file expected\", \"End of file expected.\"), ErrorCode.Undefined);\n      }\n    }\n    return new JSONDocument(_root, problems, commentRanges);\n  }\n  function stringifyObject(obj, indent, stringifyLiteral) {\n    if (obj !== null && typeof obj === \"object\") {\n      var newIndent = indent + \"\t\";\n      if (Array.isArray(obj)) {\n        if (obj.length === 0) {\n          return \"[]\";\n        }\n        var result = \"[\\n\";\n        for (var i = 0; i < obj.length; i++) {\n          result += newIndent + stringifyObject(obj[i], newIndent, stringifyLiteral);\n          if (i < obj.length - 1) {\n            result += \",\";\n          }\n          result += \"\\n\";\n        }\n        result += indent + \"]\";\n        return result;\n      } else {\n        var keys = Object.keys(obj);\n        if (keys.length === 0) {\n          return \"{}\";\n        }\n        var result = \"{\\n\";\n        for (var i = 0; i < keys.length; i++) {\n          var key = keys[i];\n          result += newIndent + JSON.stringify(key) + \": \" + stringifyObject(obj[key], newIndent, stringifyLiteral);\n          if (i < keys.length - 1) {\n            result += \",\";\n          }\n          result += \"\\n\";\n        }\n        result += indent + \"}\";\n        return result;\n      }\n    }\n    return stringifyLiteral(obj);\n  }\n  var localize3 = loadMessageBundle();\n  var valueCommitCharacters = [\",\", \"}\", \"]\"];\n  var propertyCommitCharacters = [\":\"];\n  var JSONCompletion = (\n    /** @class */\n    function() {\n      function JSONCompletion2(schemaService, contributions, promiseConstructor, clientCapabilities) {\n        if (contributions === void 0) {\n          contributions = [];\n        }\n        if (promiseConstructor === void 0) {\n          promiseConstructor = Promise;\n        }\n        if (clientCapabilities === void 0) {\n          clientCapabilities = {};\n        }\n        this.schemaService = schemaService;\n        this.contributions = contributions;\n        this.promiseConstructor = promiseConstructor;\n        this.clientCapabilities = clientCapabilities;\n      }\n      JSONCompletion2.prototype.doResolve = function(item) {\n        for (var i = this.contributions.length - 1; i >= 0; i--) {\n          var resolveCompletion = this.contributions[i].resolveCompletion;\n          if (resolveCompletion) {\n            var resolver = resolveCompletion(item);\n            if (resolver) {\n              return resolver;\n            }\n          }\n        }\n        return this.promiseConstructor.resolve(item);\n      };\n      JSONCompletion2.prototype.doComplete = function(document2, position, doc) {\n        var _this = this;\n        var result = {\n          items: [],\n          isIncomplete: false\n        };\n        var text = document2.getText();\n        var offset = document2.offsetAt(position);\n        var node = doc.getNodeFromOffset(offset, true);\n        if (this.isInComment(document2, node ? node.offset : 0, offset)) {\n          return Promise.resolve(result);\n        }\n        if (node && offset === node.offset + node.length && offset > 0) {\n          var ch = text[offset - 1];\n          if (node.type === \"object\" && ch === \"}\" || node.type === \"array\" && ch === \"]\") {\n            node = node.parent;\n          }\n        }\n        var currentWord = this.getCurrentWord(document2, offset);\n        var overwriteRange;\n        if (node && (node.type === \"string\" || node.type === \"number\" || node.type === \"boolean\" || node.type === \"null\")) {\n          overwriteRange = Range2.create(document2.positionAt(node.offset), document2.positionAt(node.offset + node.length));\n        } else {\n          var overwriteStart = offset - currentWord.length;\n          if (overwriteStart > 0 && text[overwriteStart - 1] === '\"') {\n            overwriteStart--;\n          }\n          overwriteRange = Range2.create(document2.positionAt(overwriteStart), position);\n        }\n        var supportsCommitCharacters = false;\n        var proposed = {};\n        var collector = {\n          add: function(suggestion) {\n            var label = suggestion.label;\n            var existing = proposed[label];\n            if (!existing) {\n              label = label.replace(/[\\n]/g, \"\\u21B5\");\n              if (label.length > 60) {\n                var shortendedLabel = label.substr(0, 57).trim() + \"...\";\n                if (!proposed[shortendedLabel]) {\n                  label = shortendedLabel;\n                }\n              }\n              if (overwriteRange && suggestion.insertText !== void 0) {\n                suggestion.textEdit = TextEdit.replace(overwriteRange, suggestion.insertText);\n              }\n              if (supportsCommitCharacters) {\n                suggestion.commitCharacters = suggestion.kind === CompletionItemKind2.Property ? propertyCommitCharacters : valueCommitCharacters;\n              }\n              suggestion.label = label;\n              proposed[label] = suggestion;\n              result.items.push(suggestion);\n            } else {\n              if (!existing.documentation) {\n                existing.documentation = suggestion.documentation;\n              }\n              if (!existing.detail) {\n                existing.detail = suggestion.detail;\n              }\n            }\n          },\n          setAsIncomplete: function() {\n            result.isIncomplete = true;\n          },\n          error: function(message) {\n            console.error(message);\n          },\n          log: function(message) {\n            console.log(message);\n          },\n          getNumberOfProposals: function() {\n            return result.items.length;\n          }\n        };\n        return this.schemaService.getSchemaForResource(document2.uri, doc).then(function(schema2) {\n          var collectionPromises = [];\n          var addValue = true;\n          var currentKey = \"\";\n          var currentProperty = void 0;\n          if (node) {\n            if (node.type === \"string\") {\n              var parent = node.parent;\n              if (parent && parent.type === \"property\" && parent.keyNode === node) {\n                addValue = !parent.valueNode;\n                currentProperty = parent;\n                currentKey = text.substr(node.offset + 1, node.length - 2);\n                if (parent) {\n                  node = parent.parent;\n                }\n              }\n            }\n          }\n          if (node && node.type === \"object\") {\n            if (node.offset === offset) {\n              return result;\n            }\n            var properties = node.properties;\n            properties.forEach(function(p) {\n              if (!currentProperty || currentProperty !== p) {\n                proposed[p.keyNode.value] = CompletionItem.create(\"__\");\n              }\n            });\n            var separatorAfter_1 = \"\";\n            if (addValue) {\n              separatorAfter_1 = _this.evaluateSeparatorAfter(document2, document2.offsetAt(overwriteRange.end));\n            }\n            if (schema2) {\n              _this.getPropertyCompletions(schema2, doc, node, addValue, separatorAfter_1, collector);\n            } else {\n              _this.getSchemaLessPropertyCompletions(doc, node, currentKey, collector);\n            }\n            var location_1 = getNodePath3(node);\n            _this.contributions.forEach(function(contribution) {\n              var collectPromise = contribution.collectPropertyCompletions(document2.uri, location_1, currentWord, addValue, separatorAfter_1 === \"\", collector);\n              if (collectPromise) {\n                collectionPromises.push(collectPromise);\n              }\n            });\n            if (!schema2 && currentWord.length > 0 && text.charAt(offset - currentWord.length - 1) !== '\"') {\n              collector.add({\n                kind: CompletionItemKind2.Property,\n                label: _this.getLabelForValue(currentWord),\n                insertText: _this.getInsertTextForProperty(currentWord, void 0, false, separatorAfter_1),\n                insertTextFormat: InsertTextFormat.Snippet,\n                documentation: \"\"\n              });\n              collector.setAsIncomplete();\n            }\n          }\n          var types = {};\n          if (schema2) {\n            _this.getValueCompletions(schema2, doc, node, offset, document2, collector, types);\n          } else {\n            _this.getSchemaLessValueCompletions(doc, node, offset, document2, collector);\n          }\n          if (_this.contributions.length > 0) {\n            _this.getContributedValueCompletions(doc, node, offset, document2, collector, collectionPromises);\n          }\n          return _this.promiseConstructor.all(collectionPromises).then(function() {\n            if (collector.getNumberOfProposals() === 0) {\n              var offsetForSeparator = offset;\n              if (node && (node.type === \"string\" || node.type === \"number\" || node.type === \"boolean\" || node.type === \"null\")) {\n                offsetForSeparator = node.offset + node.length;\n              }\n              var separatorAfter = _this.evaluateSeparatorAfter(document2, offsetForSeparator);\n              _this.addFillerValueCompletions(types, separatorAfter, collector);\n            }\n            return result;\n          });\n        });\n      };\n      JSONCompletion2.prototype.getPropertyCompletions = function(schema2, doc, node, addValue, separatorAfter, collector) {\n        var _this = this;\n        var matchingSchemas = doc.getMatchingSchemas(schema2.schema, node.offset);\n        matchingSchemas.forEach(function(s) {\n          if (s.node === node && !s.inverted) {\n            var schemaProperties_1 = s.schema.properties;\n            if (schemaProperties_1) {\n              Object.keys(schemaProperties_1).forEach(function(key) {\n                var propertySchema = schemaProperties_1[key];\n                if (typeof propertySchema === \"object\" && !propertySchema.deprecationMessage && !propertySchema.doNotSuggest) {\n                  var proposal = {\n                    kind: CompletionItemKind2.Property,\n                    label: key,\n                    insertText: _this.getInsertTextForProperty(key, propertySchema, addValue, separatorAfter),\n                    insertTextFormat: InsertTextFormat.Snippet,\n                    filterText: _this.getFilterTextForValue(key),\n                    documentation: _this.fromMarkup(propertySchema.markdownDescription) || propertySchema.description || \"\"\n                  };\n                  if (propertySchema.suggestSortText !== void 0) {\n                    proposal.sortText = propertySchema.suggestSortText;\n                  }\n                  if (proposal.insertText && endsWith(proposal.insertText, \"$1\".concat(separatorAfter))) {\n                    proposal.command = {\n                      title: \"Suggest\",\n                      command: \"editor.action.triggerSuggest\"\n                    };\n                  }\n                  collector.add(proposal);\n                }\n              });\n            }\n            var schemaPropertyNames_1 = s.schema.propertyNames;\n            if (typeof schemaPropertyNames_1 === \"object\" && !schemaPropertyNames_1.deprecationMessage && !schemaPropertyNames_1.doNotSuggest) {\n              var propertyNameCompletionItem = function(name, enumDescription2) {\n                if (enumDescription2 === void 0) {\n                  enumDescription2 = void 0;\n                }\n                var proposal = {\n                  kind: CompletionItemKind2.Property,\n                  label: name,\n                  insertText: _this.getInsertTextForProperty(name, void 0, addValue, separatorAfter),\n                  insertTextFormat: InsertTextFormat.Snippet,\n                  filterText: _this.getFilterTextForValue(name),\n                  documentation: enumDescription2 || _this.fromMarkup(schemaPropertyNames_1.markdownDescription) || schemaPropertyNames_1.description || \"\"\n                };\n                if (schemaPropertyNames_1.suggestSortText !== void 0) {\n                  proposal.sortText = schemaPropertyNames_1.suggestSortText;\n                }\n                if (proposal.insertText && endsWith(proposal.insertText, \"$1\".concat(separatorAfter))) {\n                  proposal.command = {\n                    title: \"Suggest\",\n                    command: \"editor.action.triggerSuggest\"\n                  };\n                }\n                collector.add(proposal);\n              };\n              if (schemaPropertyNames_1.enum) {\n                for (var i = 0; i < schemaPropertyNames_1.enum.length; i++) {\n                  var enumDescription = void 0;\n                  if (schemaPropertyNames_1.markdownEnumDescriptions && i < schemaPropertyNames_1.markdownEnumDescriptions.length) {\n                    enumDescription = _this.fromMarkup(schemaPropertyNames_1.markdownEnumDescriptions[i]);\n                  } else if (schemaPropertyNames_1.enumDescriptions && i < schemaPropertyNames_1.enumDescriptions.length) {\n                    enumDescription = schemaPropertyNames_1.enumDescriptions[i];\n                  }\n                  propertyNameCompletionItem(schemaPropertyNames_1.enum[i], enumDescription);\n                }\n              }\n              if (schemaPropertyNames_1.const) {\n                propertyNameCompletionItem(schemaPropertyNames_1.const);\n              }\n            }\n          }\n        });\n      };\n      JSONCompletion2.prototype.getSchemaLessPropertyCompletions = function(doc, node, currentKey, collector) {\n        var _this = this;\n        var collectCompletionsForSimilarObject = function(obj) {\n          obj.properties.forEach(function(p) {\n            var key = p.keyNode.value;\n            collector.add({\n              kind: CompletionItemKind2.Property,\n              label: key,\n              insertText: _this.getInsertTextForValue(key, \"\"),\n              insertTextFormat: InsertTextFormat.Snippet,\n              filterText: _this.getFilterTextForValue(key),\n              documentation: \"\"\n            });\n          });\n        };\n        if (node.parent) {\n          if (node.parent.type === \"property\") {\n            var parentKey_1 = node.parent.keyNode.value;\n            doc.visit(function(n) {\n              if (n.type === \"property\" && n !== node.parent && n.keyNode.value === parentKey_1 && n.valueNode && n.valueNode.type === \"object\") {\n                collectCompletionsForSimilarObject(n.valueNode);\n              }\n              return true;\n            });\n          } else if (node.parent.type === \"array\") {\n            node.parent.items.forEach(function(n) {\n              if (n.type === \"object\" && n !== node) {\n                collectCompletionsForSimilarObject(n);\n              }\n            });\n          }\n        } else if (node.type === \"object\") {\n          collector.add({\n            kind: CompletionItemKind2.Property,\n            label: \"$schema\",\n            insertText: this.getInsertTextForProperty(\"$schema\", void 0, true, \"\"),\n            insertTextFormat: InsertTextFormat.Snippet,\n            documentation: \"\",\n            filterText: this.getFilterTextForValue(\"$schema\")\n          });\n        }\n      };\n      JSONCompletion2.prototype.getSchemaLessValueCompletions = function(doc, node, offset, document2, collector) {\n        var _this = this;\n        var offsetForSeparator = offset;\n        if (node && (node.type === \"string\" || node.type === \"number\" || node.type === \"boolean\" || node.type === \"null\")) {\n          offsetForSeparator = node.offset + node.length;\n          node = node.parent;\n        }\n        if (!node) {\n          collector.add({\n            kind: this.getSuggestionKind(\"object\"),\n            label: \"Empty object\",\n            insertText: this.getInsertTextForValue({}, \"\"),\n            insertTextFormat: InsertTextFormat.Snippet,\n            documentation: \"\"\n          });\n          collector.add({\n            kind: this.getSuggestionKind(\"array\"),\n            label: \"Empty array\",\n            insertText: this.getInsertTextForValue([], \"\"),\n            insertTextFormat: InsertTextFormat.Snippet,\n            documentation: \"\"\n          });\n          return;\n        }\n        var separatorAfter = this.evaluateSeparatorAfter(document2, offsetForSeparator);\n        var collectSuggestionsForValues = function(value) {\n          if (value.parent && !contains2(value.parent, offset, true)) {\n            collector.add({\n              kind: _this.getSuggestionKind(value.type),\n              label: _this.getLabelTextForMatchingNode(value, document2),\n              insertText: _this.getInsertTextForMatchingNode(value, document2, separatorAfter),\n              insertTextFormat: InsertTextFormat.Snippet,\n              documentation: \"\"\n            });\n          }\n          if (value.type === \"boolean\") {\n            _this.addBooleanValueCompletion(!value.value, separatorAfter, collector);\n          }\n        };\n        if (node.type === \"property\") {\n          if (offset > (node.colonOffset || 0)) {\n            var valueNode = node.valueNode;\n            if (valueNode && (offset > valueNode.offset + valueNode.length || valueNode.type === \"object\" || valueNode.type === \"array\")) {\n              return;\n            }\n            var parentKey_2 = node.keyNode.value;\n            doc.visit(function(n) {\n              if (n.type === \"property\" && n.keyNode.value === parentKey_2 && n.valueNode) {\n                collectSuggestionsForValues(n.valueNode);\n              }\n              return true;\n            });\n            if (parentKey_2 === \"$schema\" && node.parent && !node.parent.parent) {\n              this.addDollarSchemaCompletions(separatorAfter, collector);\n            }\n          }\n        }\n        if (node.type === \"array\") {\n          if (node.parent && node.parent.type === \"property\") {\n            var parentKey_3 = node.parent.keyNode.value;\n            doc.visit(function(n) {\n              if (n.type === \"property\" && n.keyNode.value === parentKey_3 && n.valueNode && n.valueNode.type === \"array\") {\n                n.valueNode.items.forEach(collectSuggestionsForValues);\n              }\n              return true;\n            });\n          } else {\n            node.items.forEach(collectSuggestionsForValues);\n          }\n        }\n      };\n      JSONCompletion2.prototype.getValueCompletions = function(schema2, doc, node, offset, document2, collector, types) {\n        var offsetForSeparator = offset;\n        var parentKey = void 0;\n        var valueNode = void 0;\n        if (node && (node.type === \"string\" || node.type === \"number\" || node.type === \"boolean\" || node.type === \"null\")) {\n          offsetForSeparator = node.offset + node.length;\n          valueNode = node;\n          node = node.parent;\n        }\n        if (!node) {\n          this.addSchemaValueCompletions(schema2.schema, \"\", collector, types);\n          return;\n        }\n        if (node.type === \"property\" && offset > (node.colonOffset || 0)) {\n          var valueNode_1 = node.valueNode;\n          if (valueNode_1 && offset > valueNode_1.offset + valueNode_1.length) {\n            return;\n          }\n          parentKey = node.keyNode.value;\n          node = node.parent;\n        }\n        if (node && (parentKey !== void 0 || node.type === \"array\")) {\n          var separatorAfter = this.evaluateSeparatorAfter(document2, offsetForSeparator);\n          var matchingSchemas = doc.getMatchingSchemas(schema2.schema, node.offset, valueNode);\n          for (var _i = 0, matchingSchemas_1 = matchingSchemas; _i < matchingSchemas_1.length; _i++) {\n            var s = matchingSchemas_1[_i];\n            if (s.node === node && !s.inverted && s.schema) {\n              if (node.type === \"array\" && s.schema.items) {\n                if (Array.isArray(s.schema.items)) {\n                  var index = this.findItemAtOffset(node, document2, offset);\n                  if (index < s.schema.items.length) {\n                    this.addSchemaValueCompletions(s.schema.items[index], separatorAfter, collector, types);\n                  }\n                } else {\n                  this.addSchemaValueCompletions(s.schema.items, separatorAfter, collector, types);\n                }\n              }\n              if (parentKey !== void 0) {\n                var propertyMatched = false;\n                if (s.schema.properties) {\n                  var propertySchema = s.schema.properties[parentKey];\n                  if (propertySchema) {\n                    propertyMatched = true;\n                    this.addSchemaValueCompletions(propertySchema, separatorAfter, collector, types);\n                  }\n                }\n                if (s.schema.patternProperties && !propertyMatched) {\n                  for (var _a4 = 0, _b3 = Object.keys(s.schema.patternProperties); _a4 < _b3.length; _a4++) {\n                    var pattern = _b3[_a4];\n                    var regex = extendedRegExp(pattern);\n                    if (regex === null || regex === void 0 ? void 0 : regex.test(parentKey)) {\n                      propertyMatched = true;\n                      var propertySchema = s.schema.patternProperties[pattern];\n                      this.addSchemaValueCompletions(propertySchema, separatorAfter, collector, types);\n                    }\n                  }\n                }\n                if (s.schema.additionalProperties && !propertyMatched) {\n                  var propertySchema = s.schema.additionalProperties;\n                  this.addSchemaValueCompletions(propertySchema, separatorAfter, collector, types);\n                }\n              }\n            }\n          }\n          if (parentKey === \"$schema\" && !node.parent) {\n            this.addDollarSchemaCompletions(separatorAfter, collector);\n          }\n          if (types[\"boolean\"]) {\n            this.addBooleanValueCompletion(true, separatorAfter, collector);\n            this.addBooleanValueCompletion(false, separatorAfter, collector);\n          }\n          if (types[\"null\"]) {\n            this.addNullValueCompletion(separatorAfter, collector);\n          }\n        }\n      };\n      JSONCompletion2.prototype.getContributedValueCompletions = function(doc, node, offset, document2, collector, collectionPromises) {\n        if (!node) {\n          this.contributions.forEach(function(contribution) {\n            var collectPromise = contribution.collectDefaultCompletions(document2.uri, collector);\n            if (collectPromise) {\n              collectionPromises.push(collectPromise);\n            }\n          });\n        } else {\n          if (node.type === \"string\" || node.type === \"number\" || node.type === \"boolean\" || node.type === \"null\") {\n            node = node.parent;\n          }\n          if (node && node.type === \"property\" && offset > (node.colonOffset || 0)) {\n            var parentKey_4 = node.keyNode.value;\n            var valueNode = node.valueNode;\n            if ((!valueNode || offset <= valueNode.offset + valueNode.length) && node.parent) {\n              var location_2 = getNodePath3(node.parent);\n              this.contributions.forEach(function(contribution) {\n                var collectPromise = contribution.collectValueCompletions(document2.uri, location_2, parentKey_4, collector);\n                if (collectPromise) {\n                  collectionPromises.push(collectPromise);\n                }\n              });\n            }\n          }\n        }\n      };\n      JSONCompletion2.prototype.addSchemaValueCompletions = function(schema2, separatorAfter, collector, types) {\n        var _this = this;\n        if (typeof schema2 === \"object\") {\n          this.addEnumValueCompletions(schema2, separatorAfter, collector);\n          this.addDefaultValueCompletions(schema2, separatorAfter, collector);\n          this.collectTypes(schema2, types);\n          if (Array.isArray(schema2.allOf)) {\n            schema2.allOf.forEach(function(s) {\n              return _this.addSchemaValueCompletions(s, separatorAfter, collector, types);\n            });\n          }\n          if (Array.isArray(schema2.anyOf)) {\n            schema2.anyOf.forEach(function(s) {\n              return _this.addSchemaValueCompletions(s, separatorAfter, collector, types);\n            });\n          }\n          if (Array.isArray(schema2.oneOf)) {\n            schema2.oneOf.forEach(function(s) {\n              return _this.addSchemaValueCompletions(s, separatorAfter, collector, types);\n            });\n          }\n        }\n      };\n      JSONCompletion2.prototype.addDefaultValueCompletions = function(schema2, separatorAfter, collector, arrayDepth) {\n        var _this = this;\n        if (arrayDepth === void 0) {\n          arrayDepth = 0;\n        }\n        var hasProposals = false;\n        if (isDefined(schema2.default)) {\n          var type = schema2.type;\n          var value = schema2.default;\n          for (var i = arrayDepth; i > 0; i--) {\n            value = [value];\n            type = \"array\";\n          }\n          collector.add({\n            kind: this.getSuggestionKind(type),\n            label: this.getLabelForValue(value),\n            insertText: this.getInsertTextForValue(value, separatorAfter),\n            insertTextFormat: InsertTextFormat.Snippet,\n            detail: localize3(\"json.suggest.default\", \"Default value\")\n          });\n          hasProposals = true;\n        }\n        if (Array.isArray(schema2.examples)) {\n          schema2.examples.forEach(function(example) {\n            var type2 = schema2.type;\n            var value2 = example;\n            for (var i2 = arrayDepth; i2 > 0; i2--) {\n              value2 = [value2];\n              type2 = \"array\";\n            }\n            collector.add({\n              kind: _this.getSuggestionKind(type2),\n              label: _this.getLabelForValue(value2),\n              insertText: _this.getInsertTextForValue(value2, separatorAfter),\n              insertTextFormat: InsertTextFormat.Snippet\n            });\n            hasProposals = true;\n          });\n        }\n        if (Array.isArray(schema2.defaultSnippets)) {\n          schema2.defaultSnippets.forEach(function(s) {\n            var type2 = schema2.type;\n            var value2 = s.body;\n            var label = s.label;\n            var insertText;\n            var filterText;\n            if (isDefined(value2)) {\n              var type_1 = schema2.type;\n              for (var i2 = arrayDepth; i2 > 0; i2--) {\n                value2 = [value2];\n                type_1 = \"array\";\n              }\n              insertText = _this.getInsertTextForSnippetValue(value2, separatorAfter);\n              filterText = _this.getFilterTextForSnippetValue(value2);\n              label = label || _this.getLabelForSnippetValue(value2);\n            } else if (typeof s.bodyText === \"string\") {\n              var prefix = \"\", suffix = \"\", indent = \"\";\n              for (var i2 = arrayDepth; i2 > 0; i2--) {\n                prefix = prefix + indent + \"[\\n\";\n                suffix = suffix + \"\\n\" + indent + \"]\";\n                indent += \"\t\";\n                type2 = \"array\";\n              }\n              insertText = prefix + indent + s.bodyText.split(\"\\n\").join(\"\\n\" + indent) + suffix + separatorAfter;\n              label = label || insertText, filterText = insertText.replace(/[\\n]/g, \"\");\n            } else {\n              return;\n            }\n            collector.add({\n              kind: _this.getSuggestionKind(type2),\n              label,\n              documentation: _this.fromMarkup(s.markdownDescription) || s.description,\n              insertText,\n              insertTextFormat: InsertTextFormat.Snippet,\n              filterText\n            });\n            hasProposals = true;\n          });\n        }\n        if (!hasProposals && typeof schema2.items === \"object\" && !Array.isArray(schema2.items) && arrayDepth < 5) {\n          this.addDefaultValueCompletions(schema2.items, separatorAfter, collector, arrayDepth + 1);\n        }\n      };\n      JSONCompletion2.prototype.addEnumValueCompletions = function(schema2, separatorAfter, collector) {\n        if (isDefined(schema2.const)) {\n          collector.add({\n            kind: this.getSuggestionKind(schema2.type),\n            label: this.getLabelForValue(schema2.const),\n            insertText: this.getInsertTextForValue(schema2.const, separatorAfter),\n            insertTextFormat: InsertTextFormat.Snippet,\n            documentation: this.fromMarkup(schema2.markdownDescription) || schema2.description\n          });\n        }\n        if (Array.isArray(schema2.enum)) {\n          for (var i = 0, length = schema2.enum.length; i < length; i++) {\n            var enm = schema2.enum[i];\n            var documentation = this.fromMarkup(schema2.markdownDescription) || schema2.description;\n            if (schema2.markdownEnumDescriptions && i < schema2.markdownEnumDescriptions.length && this.doesSupportMarkdown()) {\n              documentation = this.fromMarkup(schema2.markdownEnumDescriptions[i]);\n            } else if (schema2.enumDescriptions && i < schema2.enumDescriptions.length) {\n              documentation = schema2.enumDescriptions[i];\n            }\n            collector.add({\n              kind: this.getSuggestionKind(schema2.type),\n              label: this.getLabelForValue(enm),\n              insertText: this.getInsertTextForValue(enm, separatorAfter),\n              insertTextFormat: InsertTextFormat.Snippet,\n              documentation\n            });\n          }\n        }\n      };\n      JSONCompletion2.prototype.collectTypes = function(schema2, types) {\n        if (Array.isArray(schema2.enum) || isDefined(schema2.const)) {\n          return;\n        }\n        var type = schema2.type;\n        if (Array.isArray(type)) {\n          type.forEach(function(t) {\n            return types[t] = true;\n          });\n        } else if (type) {\n          types[type] = true;\n        }\n      };\n      JSONCompletion2.prototype.addFillerValueCompletions = function(types, separatorAfter, collector) {\n        if (types[\"object\"]) {\n          collector.add({\n            kind: this.getSuggestionKind(\"object\"),\n            label: \"{}\",\n            insertText: this.getInsertTextForGuessedValue({}, separatorAfter),\n            insertTextFormat: InsertTextFormat.Snippet,\n            detail: localize3(\"defaults.object\", \"New object\"),\n            documentation: \"\"\n          });\n        }\n        if (types[\"array\"]) {\n          collector.add({\n            kind: this.getSuggestionKind(\"array\"),\n            label: \"[]\",\n            insertText: this.getInsertTextForGuessedValue([], separatorAfter),\n            insertTextFormat: InsertTextFormat.Snippet,\n            detail: localize3(\"defaults.array\", \"New array\"),\n            documentation: \"\"\n          });\n        }\n      };\n      JSONCompletion2.prototype.addBooleanValueCompletion = function(value, separatorAfter, collector) {\n        collector.add({\n          kind: this.getSuggestionKind(\"boolean\"),\n          label: value ? \"true\" : \"false\",\n          insertText: this.getInsertTextForValue(value, separatorAfter),\n          insertTextFormat: InsertTextFormat.Snippet,\n          documentation: \"\"\n        });\n      };\n      JSONCompletion2.prototype.addNullValueCompletion = function(separatorAfter, collector) {\n        collector.add({\n          kind: this.getSuggestionKind(\"null\"),\n          label: \"null\",\n          insertText: \"null\" + separatorAfter,\n          insertTextFormat: InsertTextFormat.Snippet,\n          documentation: \"\"\n        });\n      };\n      JSONCompletion2.prototype.addDollarSchemaCompletions = function(separatorAfter, collector) {\n        var _this = this;\n        var schemaIds = this.schemaService.getRegisteredSchemaIds(function(schema2) {\n          return schema2 === \"http\" || schema2 === \"https\";\n        });\n        schemaIds.forEach(function(schemaId) {\n          return collector.add({\n            kind: CompletionItemKind2.Module,\n            label: _this.getLabelForValue(schemaId),\n            filterText: _this.getFilterTextForValue(schemaId),\n            insertText: _this.getInsertTextForValue(schemaId, separatorAfter),\n            insertTextFormat: InsertTextFormat.Snippet,\n            documentation: \"\"\n          });\n        });\n      };\n      JSONCompletion2.prototype.getLabelForValue = function(value) {\n        return JSON.stringify(value);\n      };\n      JSONCompletion2.prototype.getFilterTextForValue = function(value) {\n        return JSON.stringify(value);\n      };\n      JSONCompletion2.prototype.getFilterTextForSnippetValue = function(value) {\n        return JSON.stringify(value).replace(/\\$\\{\\d+:([^}]+)\\}|\\$\\d+/g, \"$1\");\n      };\n      JSONCompletion2.prototype.getLabelForSnippetValue = function(value) {\n        var label = JSON.stringify(value);\n        return label.replace(/\\$\\{\\d+:([^}]+)\\}|\\$\\d+/g, \"$1\");\n      };\n      JSONCompletion2.prototype.getInsertTextForPlainText = function(text) {\n        return text.replace(/[\\\\\\$\\}]/g, \"\\\\$&\");\n      };\n      JSONCompletion2.prototype.getInsertTextForValue = function(value, separatorAfter) {\n        var text = JSON.stringify(value, null, \"\t\");\n        if (text === \"{}\") {\n          return \"{$1}\" + separatorAfter;\n        } else if (text === \"[]\") {\n          return \"[$1]\" + separatorAfter;\n        }\n        return this.getInsertTextForPlainText(text + separatorAfter);\n      };\n      JSONCompletion2.prototype.getInsertTextForSnippetValue = function(value, separatorAfter) {\n        var replacer = function(value2) {\n          if (typeof value2 === \"string\") {\n            if (value2[0] === \"^\") {\n              return value2.substr(1);\n            }\n          }\n          return JSON.stringify(value2);\n        };\n        return stringifyObject(value, \"\", replacer) + separatorAfter;\n      };\n      JSONCompletion2.prototype.getInsertTextForGuessedValue = function(value, separatorAfter) {\n        switch (typeof value) {\n          case \"object\":\n            if (value === null) {\n              return \"${1:null}\" + separatorAfter;\n            }\n            return this.getInsertTextForValue(value, separatorAfter);\n          case \"string\":\n            var snippetValue = JSON.stringify(value);\n            snippetValue = snippetValue.substr(1, snippetValue.length - 2);\n            snippetValue = this.getInsertTextForPlainText(snippetValue);\n            return '\"${1:' + snippetValue + '}\"' + separatorAfter;\n          case \"number\":\n          case \"boolean\":\n            return \"${1:\" + JSON.stringify(value) + \"}\" + separatorAfter;\n        }\n        return this.getInsertTextForValue(value, separatorAfter);\n      };\n      JSONCompletion2.prototype.getSuggestionKind = function(type) {\n        if (Array.isArray(type)) {\n          var array = type;\n          type = array.length > 0 ? array[0] : void 0;\n        }\n        if (!type) {\n          return CompletionItemKind2.Value;\n        }\n        switch (type) {\n          case \"string\":\n            return CompletionItemKind2.Value;\n          case \"object\":\n            return CompletionItemKind2.Module;\n          case \"property\":\n            return CompletionItemKind2.Property;\n          default:\n            return CompletionItemKind2.Value;\n        }\n      };\n      JSONCompletion2.prototype.getLabelTextForMatchingNode = function(node, document2) {\n        switch (node.type) {\n          case \"array\":\n            return \"[]\";\n          case \"object\":\n            return \"{}\";\n          default:\n            var content = document2.getText().substr(node.offset, node.length);\n            return content;\n        }\n      };\n      JSONCompletion2.prototype.getInsertTextForMatchingNode = function(node, document2, separatorAfter) {\n        switch (node.type) {\n          case \"array\":\n            return this.getInsertTextForValue([], separatorAfter);\n          case \"object\":\n            return this.getInsertTextForValue({}, separatorAfter);\n          default:\n            var content = document2.getText().substr(node.offset, node.length) + separatorAfter;\n            return this.getInsertTextForPlainText(content);\n        }\n      };\n      JSONCompletion2.prototype.getInsertTextForProperty = function(key, propertySchema, addValue, separatorAfter) {\n        var propertyText = this.getInsertTextForValue(key, \"\");\n        if (!addValue) {\n          return propertyText;\n        }\n        var resultText = propertyText + \": \";\n        var value;\n        var nValueProposals = 0;\n        if (propertySchema) {\n          if (Array.isArray(propertySchema.defaultSnippets)) {\n            if (propertySchema.defaultSnippets.length === 1) {\n              var body = propertySchema.defaultSnippets[0].body;\n              if (isDefined(body)) {\n                value = this.getInsertTextForSnippetValue(body, \"\");\n              }\n            }\n            nValueProposals += propertySchema.defaultSnippets.length;\n          }\n          if (propertySchema.enum) {\n            if (!value && propertySchema.enum.length === 1) {\n              value = this.getInsertTextForGuessedValue(propertySchema.enum[0], \"\");\n            }\n            nValueProposals += propertySchema.enum.length;\n          }\n          if (isDefined(propertySchema.default)) {\n            if (!value) {\n              value = this.getInsertTextForGuessedValue(propertySchema.default, \"\");\n            }\n            nValueProposals++;\n          }\n          if (Array.isArray(propertySchema.examples) && propertySchema.examples.length) {\n            if (!value) {\n              value = this.getInsertTextForGuessedValue(propertySchema.examples[0], \"\");\n            }\n            nValueProposals += propertySchema.examples.length;\n          }\n          if (nValueProposals === 0) {\n            var type = Array.isArray(propertySchema.type) ? propertySchema.type[0] : propertySchema.type;\n            if (!type) {\n              if (propertySchema.properties) {\n                type = \"object\";\n              } else if (propertySchema.items) {\n                type = \"array\";\n              }\n            }\n            switch (type) {\n              case \"boolean\":\n                value = \"$1\";\n                break;\n              case \"string\":\n                value = '\"$1\"';\n                break;\n              case \"object\":\n                value = \"{$1}\";\n                break;\n              case \"array\":\n                value = \"[$1]\";\n                break;\n              case \"number\":\n              case \"integer\":\n                value = \"${1:0}\";\n                break;\n              case \"null\":\n                value = \"${1:null}\";\n                break;\n              default:\n                return propertyText;\n            }\n          }\n        }\n        if (!value || nValueProposals > 1) {\n          value = \"$1\";\n        }\n        return resultText + value + separatorAfter;\n      };\n      JSONCompletion2.prototype.getCurrentWord = function(document2, offset) {\n        var i = offset - 1;\n        var text = document2.getText();\n        while (i >= 0 && ' \t\\n\\r\\v\":{[,]}'.indexOf(text.charAt(i)) === -1) {\n          i--;\n        }\n        return text.substring(i + 1, offset);\n      };\n      JSONCompletion2.prototype.evaluateSeparatorAfter = function(document2, offset) {\n        var scanner = createScanner2(document2.getText(), true);\n        scanner.setPosition(offset);\n        var token = scanner.scan();\n        switch (token) {\n          case 5:\n          case 2:\n          case 4:\n          case 17:\n            return \"\";\n          default:\n            return \",\";\n        }\n      };\n      JSONCompletion2.prototype.findItemAtOffset = function(node, document2, offset) {\n        var scanner = createScanner2(document2.getText(), true);\n        var children = node.items;\n        for (var i = children.length - 1; i >= 0; i--) {\n          var child = children[i];\n          if (offset > child.offset + child.length) {\n            scanner.setPosition(child.offset + child.length);\n            var token = scanner.scan();\n            if (token === 5 && offset >= scanner.getTokenOffset() + scanner.getTokenLength()) {\n              return i + 1;\n            }\n            return i;\n          } else if (offset >= child.offset) {\n            return i;\n          }\n        }\n        return 0;\n      };\n      JSONCompletion2.prototype.isInComment = function(document2, start, offset) {\n        var scanner = createScanner2(document2.getText(), false);\n        scanner.setPosition(start);\n        var token = scanner.scan();\n        while (token !== 17 && scanner.getTokenOffset() + scanner.getTokenLength() < offset) {\n          token = scanner.scan();\n        }\n        return (token === 12 || token === 13) && scanner.getTokenOffset() <= offset;\n      };\n      JSONCompletion2.prototype.fromMarkup = function(markupString) {\n        if (markupString && this.doesSupportMarkdown()) {\n          return {\n            kind: MarkupKind.Markdown,\n            value: markupString\n          };\n        }\n        return void 0;\n      };\n      JSONCompletion2.prototype.doesSupportMarkdown = function() {\n        if (!isDefined(this.supportsMarkdown)) {\n          var completion = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.completion;\n          this.supportsMarkdown = completion && completion.completionItem && Array.isArray(completion.completionItem.documentationFormat) && completion.completionItem.documentationFormat.indexOf(MarkupKind.Markdown) !== -1;\n        }\n        return this.supportsMarkdown;\n      };\n      JSONCompletion2.prototype.doesSupportsCommitCharacters = function() {\n        if (!isDefined(this.supportsCommitCharacters)) {\n          var completion = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.completion;\n          this.supportsCommitCharacters = completion && completion.completionItem && !!completion.completionItem.commitCharactersSupport;\n        }\n        return this.supportsCommitCharacters;\n      };\n      return JSONCompletion2;\n    }()\n  );\n  var JSONHover = (\n    /** @class */\n    function() {\n      function JSONHover2(schemaService, contributions, promiseConstructor) {\n        if (contributions === void 0) {\n          contributions = [];\n        }\n        this.schemaService = schemaService;\n        this.contributions = contributions;\n        this.promise = promiseConstructor || Promise;\n      }\n      JSONHover2.prototype.doHover = function(document2, position, doc) {\n        var offset = document2.offsetAt(position);\n        var node = doc.getNodeFromOffset(offset);\n        if (!node || (node.type === \"object\" || node.type === \"array\") && offset > node.offset + 1 && offset < node.offset + node.length - 1) {\n          return this.promise.resolve(null);\n        }\n        var hoverRangeNode = node;\n        if (node.type === \"string\") {\n          var parent = node.parent;\n          if (parent && parent.type === \"property\" && parent.keyNode === node) {\n            node = parent.valueNode;\n            if (!node) {\n              return this.promise.resolve(null);\n            }\n          }\n        }\n        var hoverRange = Range2.create(document2.positionAt(hoverRangeNode.offset), document2.positionAt(hoverRangeNode.offset + hoverRangeNode.length));\n        var createHover = function(contents) {\n          var result = {\n            contents,\n            range: hoverRange\n          };\n          return result;\n        };\n        var location = getNodePath3(node);\n        for (var i = this.contributions.length - 1; i >= 0; i--) {\n          var contribution = this.contributions[i];\n          var promise = contribution.getInfoContribution(document2.uri, location);\n          if (promise) {\n            return promise.then(function(htmlContent) {\n              return createHover(htmlContent);\n            });\n          }\n        }\n        return this.schemaService.getSchemaForResource(document2.uri, doc).then(function(schema2) {\n          if (schema2 && node) {\n            var matchingSchemas = doc.getMatchingSchemas(schema2.schema, node.offset);\n            var title_1 = void 0;\n            var markdownDescription_1 = void 0;\n            var markdownEnumValueDescription_1 = void 0, enumValue_1 = void 0;\n            matchingSchemas.every(function(s) {\n              if (s.node === node && !s.inverted && s.schema) {\n                title_1 = title_1 || s.schema.title;\n                markdownDescription_1 = markdownDescription_1 || s.schema.markdownDescription || toMarkdown(s.schema.description);\n                if (s.schema.enum) {\n                  var idx = s.schema.enum.indexOf(getNodeValue3(node));\n                  if (s.schema.markdownEnumDescriptions) {\n                    markdownEnumValueDescription_1 = s.schema.markdownEnumDescriptions[idx];\n                  } else if (s.schema.enumDescriptions) {\n                    markdownEnumValueDescription_1 = toMarkdown(s.schema.enumDescriptions[idx]);\n                  }\n                  if (markdownEnumValueDescription_1) {\n                    enumValue_1 = s.schema.enum[idx];\n                    if (typeof enumValue_1 !== \"string\") {\n                      enumValue_1 = JSON.stringify(enumValue_1);\n                    }\n                  }\n                }\n              }\n              return true;\n            });\n            var result = \"\";\n            if (title_1) {\n              result = toMarkdown(title_1);\n            }\n            if (markdownDescription_1) {\n              if (result.length > 0) {\n                result += \"\\n\\n\";\n              }\n              result += markdownDescription_1;\n            }\n            if (markdownEnumValueDescription_1) {\n              if (result.length > 0) {\n                result += \"\\n\\n\";\n              }\n              result += \"`\".concat(toMarkdownCodeBlock(enumValue_1), \"`: \").concat(markdownEnumValueDescription_1);\n            }\n            return createHover([result]);\n          }\n          return null;\n        });\n      };\n      return JSONHover2;\n    }()\n  );\n  function toMarkdown(plain) {\n    if (plain) {\n      var res = plain.replace(/([^\\n\\r])(\\r?\\n)([^\\n\\r])/gm, \"$1\\n\\n$3\");\n      return res.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, \"\\\\$&\");\n    }\n    return void 0;\n  }\n  function toMarkdownCodeBlock(content) {\n    if (content.indexOf(\"`\") !== -1) {\n      return \"`` \" + content + \" ``\";\n    }\n    return content;\n  }\n  var localize4 = loadMessageBundle();\n  var JSONValidation = (\n    /** @class */\n    function() {\n      function JSONValidation2(jsonSchemaService, promiseConstructor) {\n        this.jsonSchemaService = jsonSchemaService;\n        this.promise = promiseConstructor;\n        this.validationEnabled = true;\n      }\n      JSONValidation2.prototype.configure = function(raw) {\n        if (raw) {\n          this.validationEnabled = raw.validate !== false;\n          this.commentSeverity = raw.allowComments ? void 0 : DiagnosticSeverity.Error;\n        }\n      };\n      JSONValidation2.prototype.doValidation = function(textDocument, jsonDocument, documentSettings, schema2) {\n        var _this = this;\n        if (!this.validationEnabled) {\n          return this.promise.resolve([]);\n        }\n        var diagnostics = [];\n        var added = {};\n        var addProblem = function(problem) {\n          var signature = problem.range.start.line + \" \" + problem.range.start.character + \" \" + problem.message;\n          if (!added[signature]) {\n            added[signature] = true;\n            diagnostics.push(problem);\n          }\n        };\n        var getDiagnostics = function(schema22) {\n          var trailingCommaSeverity = (documentSettings === null || documentSettings === void 0 ? void 0 : documentSettings.trailingCommas) ? toDiagnosticSeverity(documentSettings.trailingCommas) : DiagnosticSeverity.Error;\n          var commentSeverity = (documentSettings === null || documentSettings === void 0 ? void 0 : documentSettings.comments) ? toDiagnosticSeverity(documentSettings.comments) : _this.commentSeverity;\n          var schemaValidation = (documentSettings === null || documentSettings === void 0 ? void 0 : documentSettings.schemaValidation) ? toDiagnosticSeverity(documentSettings.schemaValidation) : DiagnosticSeverity.Warning;\n          var schemaRequest = (documentSettings === null || documentSettings === void 0 ? void 0 : documentSettings.schemaRequest) ? toDiagnosticSeverity(documentSettings.schemaRequest) : DiagnosticSeverity.Warning;\n          if (schema22) {\n            if (schema22.errors.length && jsonDocument.root && schemaRequest) {\n              var astRoot = jsonDocument.root;\n              var property2 = astRoot.type === \"object\" ? astRoot.properties[0] : void 0;\n              if (property2 && property2.keyNode.value === \"$schema\") {\n                var node = property2.valueNode || property2;\n                var range = Range2.create(textDocument.positionAt(node.offset), textDocument.positionAt(node.offset + node.length));\n                addProblem(Diagnostic.create(range, schema22.errors[0], schemaRequest, ErrorCode.SchemaResolveError));\n              } else {\n                var range = Range2.create(textDocument.positionAt(astRoot.offset), textDocument.positionAt(astRoot.offset + 1));\n                addProblem(Diagnostic.create(range, schema22.errors[0], schemaRequest, ErrorCode.SchemaResolveError));\n              }\n            } else if (schemaValidation) {\n              var semanticErrors = jsonDocument.validate(textDocument, schema22.schema, schemaValidation);\n              if (semanticErrors) {\n                semanticErrors.forEach(addProblem);\n              }\n            }\n            if (schemaAllowsComments(schema22.schema)) {\n              commentSeverity = void 0;\n            }\n            if (schemaAllowsTrailingCommas(schema22.schema)) {\n              trailingCommaSeverity = void 0;\n            }\n          }\n          for (var _i = 0, _a4 = jsonDocument.syntaxErrors; _i < _a4.length; _i++) {\n            var p = _a4[_i];\n            if (p.code === ErrorCode.TrailingComma) {\n              if (typeof trailingCommaSeverity !== \"number\") {\n                continue;\n              }\n              p.severity = trailingCommaSeverity;\n            }\n            addProblem(p);\n          }\n          if (typeof commentSeverity === \"number\") {\n            var message_1 = localize4(\"InvalidCommentToken\", \"Comments are not permitted in JSON.\");\n            jsonDocument.comments.forEach(function(c) {\n              addProblem(Diagnostic.create(c, message_1, commentSeverity, ErrorCode.CommentNotPermitted));\n            });\n          }\n          return diagnostics;\n        };\n        if (schema2) {\n          var id = schema2.id || \"schemaservice://untitled/\" + idCounter++;\n          var handle = this.jsonSchemaService.registerExternalSchema(id, [], schema2);\n          return handle.getResolvedSchema().then(function(resolvedSchema) {\n            return getDiagnostics(resolvedSchema);\n          });\n        }\n        return this.jsonSchemaService.getSchemaForResource(textDocument.uri, jsonDocument).then(function(schema22) {\n          return getDiagnostics(schema22);\n        });\n      };\n      JSONValidation2.prototype.getLanguageStatus = function(textDocument, jsonDocument) {\n        return { schemas: this.jsonSchemaService.getSchemaURIsForResource(textDocument.uri, jsonDocument) };\n      };\n      return JSONValidation2;\n    }()\n  );\n  var idCounter = 0;\n  function schemaAllowsComments(schemaRef) {\n    if (schemaRef && typeof schemaRef === \"object\") {\n      if (isBoolean(schemaRef.allowComments)) {\n        return schemaRef.allowComments;\n      }\n      if (schemaRef.allOf) {\n        for (var _i = 0, _a4 = schemaRef.allOf; _i < _a4.length; _i++) {\n          var schema2 = _a4[_i];\n          var allow = schemaAllowsComments(schema2);\n          if (isBoolean(allow)) {\n            return allow;\n          }\n        }\n      }\n    }\n    return void 0;\n  }\n  function schemaAllowsTrailingCommas(schemaRef) {\n    if (schemaRef && typeof schemaRef === \"object\") {\n      if (isBoolean(schemaRef.allowTrailingCommas)) {\n        return schemaRef.allowTrailingCommas;\n      }\n      var deprSchemaRef = schemaRef;\n      if (isBoolean(deprSchemaRef[\"allowsTrailingCommas\"])) {\n        return deprSchemaRef[\"allowsTrailingCommas\"];\n      }\n      if (schemaRef.allOf) {\n        for (var _i = 0, _a4 = schemaRef.allOf; _i < _a4.length; _i++) {\n          var schema2 = _a4[_i];\n          var allow = schemaAllowsTrailingCommas(schema2);\n          if (isBoolean(allow)) {\n            return allow;\n          }\n        }\n      }\n    }\n    return void 0;\n  }\n  function toDiagnosticSeverity(severityLevel) {\n    switch (severityLevel) {\n      case \"error\":\n        return DiagnosticSeverity.Error;\n      case \"warning\":\n        return DiagnosticSeverity.Warning;\n      case \"ignore\":\n        return void 0;\n    }\n    return void 0;\n  }\n  var Digit0 = 48;\n  var Digit9 = 57;\n  var A = 65;\n  var a = 97;\n  var f = 102;\n  function hexDigit(charCode) {\n    if (charCode < Digit0) {\n      return 0;\n    }\n    if (charCode <= Digit9) {\n      return charCode - Digit0;\n    }\n    if (charCode < a) {\n      charCode += a - A;\n    }\n    if (charCode >= a && charCode <= f) {\n      return charCode - a + 10;\n    }\n    return 0;\n  }\n  function colorFromHex(text) {\n    if (text[0] !== \"#\") {\n      return void 0;\n    }\n    switch (text.length) {\n      case 4:\n        return {\n          red: hexDigit(text.charCodeAt(1)) * 17 / 255,\n          green: hexDigit(text.charCodeAt(2)) * 17 / 255,\n          blue: hexDigit(text.charCodeAt(3)) * 17 / 255,\n          alpha: 1\n        };\n      case 5:\n        return {\n          red: hexDigit(text.charCodeAt(1)) * 17 / 255,\n          green: hexDigit(text.charCodeAt(2)) * 17 / 255,\n          blue: hexDigit(text.charCodeAt(3)) * 17 / 255,\n          alpha: hexDigit(text.charCodeAt(4)) * 17 / 255\n        };\n      case 7:\n        return {\n          red: (hexDigit(text.charCodeAt(1)) * 16 + hexDigit(text.charCodeAt(2))) / 255,\n          green: (hexDigit(text.charCodeAt(3)) * 16 + hexDigit(text.charCodeAt(4))) / 255,\n          blue: (hexDigit(text.charCodeAt(5)) * 16 + hexDigit(text.charCodeAt(6))) / 255,\n          alpha: 1\n        };\n      case 9:\n        return {\n          red: (hexDigit(text.charCodeAt(1)) * 16 + hexDigit(text.charCodeAt(2))) / 255,\n          green: (hexDigit(text.charCodeAt(3)) * 16 + hexDigit(text.charCodeAt(4))) / 255,\n          blue: (hexDigit(text.charCodeAt(5)) * 16 + hexDigit(text.charCodeAt(6))) / 255,\n          alpha: (hexDigit(text.charCodeAt(7)) * 16 + hexDigit(text.charCodeAt(8))) / 255\n        };\n    }\n    return void 0;\n  }\n  var JSONDocumentSymbols = (\n    /** @class */\n    function() {\n      function JSONDocumentSymbols2(schemaService) {\n        this.schemaService = schemaService;\n      }\n      JSONDocumentSymbols2.prototype.findDocumentSymbols = function(document2, doc, context) {\n        var _this = this;\n        if (context === void 0) {\n          context = { resultLimit: Number.MAX_VALUE };\n        }\n        var root = doc.root;\n        if (!root) {\n          return [];\n        }\n        var limit = context.resultLimit || Number.MAX_VALUE;\n        var resourceString = document2.uri;\n        if (resourceString === \"vscode://defaultsettings/keybindings.json\" || endsWith(resourceString.toLowerCase(), \"/user/keybindings.json\")) {\n          if (root.type === \"array\") {\n            var result_1 = [];\n            for (var _i = 0, _a4 = root.items; _i < _a4.length; _i++) {\n              var item = _a4[_i];\n              if (item.type === \"object\") {\n                for (var _b3 = 0, _c = item.properties; _b3 < _c.length; _b3++) {\n                  var property2 = _c[_b3];\n                  if (property2.keyNode.value === \"key\" && property2.valueNode) {\n                    var location = Location.create(document2.uri, getRange(document2, item));\n                    result_1.push({ name: getNodeValue3(property2.valueNode), kind: SymbolKind2.Function, location });\n                    limit--;\n                    if (limit <= 0) {\n                      if (context && context.onResultLimitExceeded) {\n                        context.onResultLimitExceeded(resourceString);\n                      }\n                      return result_1;\n                    }\n                  }\n                }\n              }\n            }\n            return result_1;\n          }\n        }\n        var toVisit = [\n          { node: root, containerName: \"\" }\n        ];\n        var nextToVisit = 0;\n        var limitExceeded = false;\n        var result = [];\n        var collectOutlineEntries = function(node, containerName) {\n          if (node.type === \"array\") {\n            node.items.forEach(function(node2) {\n              if (node2) {\n                toVisit.push({ node: node2, containerName });\n              }\n            });\n          } else if (node.type === \"object\") {\n            node.properties.forEach(function(property22) {\n              var valueNode = property22.valueNode;\n              if (valueNode) {\n                if (limit > 0) {\n                  limit--;\n                  var location2 = Location.create(document2.uri, getRange(document2, property22));\n                  var childContainerName = containerName ? containerName + \".\" + property22.keyNode.value : property22.keyNode.value;\n                  result.push({ name: _this.getKeyLabel(property22), kind: _this.getSymbolKind(valueNode.type), location: location2, containerName });\n                  toVisit.push({ node: valueNode, containerName: childContainerName });\n                } else {\n                  limitExceeded = true;\n                }\n              }\n            });\n          }\n        };\n        while (nextToVisit < toVisit.length) {\n          var next = toVisit[nextToVisit++];\n          collectOutlineEntries(next.node, next.containerName);\n        }\n        if (limitExceeded && context && context.onResultLimitExceeded) {\n          context.onResultLimitExceeded(resourceString);\n        }\n        return result;\n      };\n      JSONDocumentSymbols2.prototype.findDocumentSymbols2 = function(document2, doc, context) {\n        var _this = this;\n        if (context === void 0) {\n          context = { resultLimit: Number.MAX_VALUE };\n        }\n        var root = doc.root;\n        if (!root) {\n          return [];\n        }\n        var limit = context.resultLimit || Number.MAX_VALUE;\n        var resourceString = document2.uri;\n        if (resourceString === \"vscode://defaultsettings/keybindings.json\" || endsWith(resourceString.toLowerCase(), \"/user/keybindings.json\")) {\n          if (root.type === \"array\") {\n            var result_2 = [];\n            for (var _i = 0, _a4 = root.items; _i < _a4.length; _i++) {\n              var item = _a4[_i];\n              if (item.type === \"object\") {\n                for (var _b3 = 0, _c = item.properties; _b3 < _c.length; _b3++) {\n                  var property2 = _c[_b3];\n                  if (property2.keyNode.value === \"key\" && property2.valueNode) {\n                    var range = getRange(document2, item);\n                    var selectionRange = getRange(document2, property2.keyNode);\n                    result_2.push({ name: getNodeValue3(property2.valueNode), kind: SymbolKind2.Function, range, selectionRange });\n                    limit--;\n                    if (limit <= 0) {\n                      if (context && context.onResultLimitExceeded) {\n                        context.onResultLimitExceeded(resourceString);\n                      }\n                      return result_2;\n                    }\n                  }\n                }\n              }\n            }\n            return result_2;\n          }\n        }\n        var result = [];\n        var toVisit = [\n          { node: root, result }\n        ];\n        var nextToVisit = 0;\n        var limitExceeded = false;\n        var collectOutlineEntries = function(node, result2) {\n          if (node.type === \"array\") {\n            node.items.forEach(function(node2, index) {\n              if (node2) {\n                if (limit > 0) {\n                  limit--;\n                  var range2 = getRange(document2, node2);\n                  var selectionRange2 = range2;\n                  var name = String(index);\n                  var symbol = { name, kind: _this.getSymbolKind(node2.type), range: range2, selectionRange: selectionRange2, children: [] };\n                  result2.push(symbol);\n                  toVisit.push({ result: symbol.children, node: node2 });\n                } else {\n                  limitExceeded = true;\n                }\n              }\n            });\n          } else if (node.type === \"object\") {\n            node.properties.forEach(function(property22) {\n              var valueNode = property22.valueNode;\n              if (valueNode) {\n                if (limit > 0) {\n                  limit--;\n                  var range2 = getRange(document2, property22);\n                  var selectionRange2 = getRange(document2, property22.keyNode);\n                  var children = [];\n                  var symbol = { name: _this.getKeyLabel(property22), kind: _this.getSymbolKind(valueNode.type), range: range2, selectionRange: selectionRange2, children, detail: _this.getDetail(valueNode) };\n                  result2.push(symbol);\n                  toVisit.push({ result: children, node: valueNode });\n                } else {\n                  limitExceeded = true;\n                }\n              }\n            });\n          }\n        };\n        while (nextToVisit < toVisit.length) {\n          var next = toVisit[nextToVisit++];\n          collectOutlineEntries(next.node, next.result);\n        }\n        if (limitExceeded && context && context.onResultLimitExceeded) {\n          context.onResultLimitExceeded(resourceString);\n        }\n        return result;\n      };\n      JSONDocumentSymbols2.prototype.getSymbolKind = function(nodeType) {\n        switch (nodeType) {\n          case \"object\":\n            return SymbolKind2.Module;\n          case \"string\":\n            return SymbolKind2.String;\n          case \"number\":\n            return SymbolKind2.Number;\n          case \"array\":\n            return SymbolKind2.Array;\n          case \"boolean\":\n            return SymbolKind2.Boolean;\n          default:\n            return SymbolKind2.Variable;\n        }\n      };\n      JSONDocumentSymbols2.prototype.getKeyLabel = function(property2) {\n        var name = property2.keyNode.value;\n        if (name) {\n          name = name.replace(/[\\n]/g, \"\\u21B5\");\n        }\n        if (name && name.trim()) {\n          return name;\n        }\n        return '\"'.concat(name, '\"');\n      };\n      JSONDocumentSymbols2.prototype.getDetail = function(node) {\n        if (!node) {\n          return void 0;\n        }\n        if (node.type === \"boolean\" || node.type === \"number\" || node.type === \"null\" || node.type === \"string\") {\n          return String(node.value);\n        } else {\n          if (node.type === \"array\") {\n            return node.children.length ? void 0 : \"[]\";\n          } else if (node.type === \"object\") {\n            return node.children.length ? void 0 : \"{}\";\n          }\n        }\n        return void 0;\n      };\n      JSONDocumentSymbols2.prototype.findDocumentColors = function(document2, doc, context) {\n        return this.schemaService.getSchemaForResource(document2.uri, doc).then(function(schema2) {\n          var result = [];\n          if (schema2) {\n            var limit = context && typeof context.resultLimit === \"number\" ? context.resultLimit : Number.MAX_VALUE;\n            var matchingSchemas = doc.getMatchingSchemas(schema2.schema);\n            var visitedNode = {};\n            for (var _i = 0, matchingSchemas_1 = matchingSchemas; _i < matchingSchemas_1.length; _i++) {\n              var s = matchingSchemas_1[_i];\n              if (!s.inverted && s.schema && (s.schema.format === \"color\" || s.schema.format === \"color-hex\") && s.node && s.node.type === \"string\") {\n                var nodeId = String(s.node.offset);\n                if (!visitedNode[nodeId]) {\n                  var color = colorFromHex(getNodeValue3(s.node));\n                  if (color) {\n                    var range = getRange(document2, s.node);\n                    result.push({ color, range });\n                  }\n                  visitedNode[nodeId] = true;\n                  limit--;\n                  if (limit <= 0) {\n                    if (context && context.onResultLimitExceeded) {\n                      context.onResultLimitExceeded(document2.uri);\n                    }\n                    return result;\n                  }\n                }\n              }\n            }\n          }\n          return result;\n        });\n      };\n      JSONDocumentSymbols2.prototype.getColorPresentations = function(document2, doc, color, range) {\n        var result = [];\n        var red256 = Math.round(color.red * 255), green256 = Math.round(color.green * 255), blue256 = Math.round(color.blue * 255);\n        function toTwoDigitHex(n) {\n          var r = n.toString(16);\n          return r.length !== 2 ? \"0\" + r : r;\n        }\n        var label;\n        if (color.alpha === 1) {\n          label = \"#\".concat(toTwoDigitHex(red256)).concat(toTwoDigitHex(green256)).concat(toTwoDigitHex(blue256));\n        } else {\n          label = \"#\".concat(toTwoDigitHex(red256)).concat(toTwoDigitHex(green256)).concat(toTwoDigitHex(blue256)).concat(toTwoDigitHex(Math.round(color.alpha * 255)));\n        }\n        result.push({ label, textEdit: TextEdit.replace(range, JSON.stringify(label)) });\n        return result;\n      };\n      return JSONDocumentSymbols2;\n    }()\n  );\n  function getRange(document2, node) {\n    return Range2.create(document2.positionAt(node.offset), document2.positionAt(node.offset + node.length));\n  }\n  var localize5 = loadMessageBundle();\n  var schemaContributions = {\n    schemaAssociations: [],\n    schemas: {\n      // refer to the latest schema\n      \"http://json-schema.org/schema#\": {\n        $ref: \"http://json-schema.org/draft-07/schema#\"\n      },\n      // bundle the schema-schema to include (localized) descriptions\n      \"http://json-schema.org/draft-04/schema#\": {\n        \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n        \"definitions\": {\n          \"schemaArray\": {\n            \"type\": \"array\",\n            \"minItems\": 1,\n            \"items\": {\n              \"$ref\": \"#\"\n            }\n          },\n          \"positiveInteger\": {\n            \"type\": \"integer\",\n            \"minimum\": 0\n          },\n          \"positiveIntegerDefault0\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveInteger\"\n              },\n              {\n                \"default\": 0\n              }\n            ]\n          },\n          \"simpleTypes\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"array\",\n              \"boolean\",\n              \"integer\",\n              \"null\",\n              \"number\",\n              \"object\",\n              \"string\"\n            ]\n          },\n          \"stringArray\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            },\n            \"minItems\": 1,\n            \"uniqueItems\": true\n          }\n        },\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"format\": \"uri\"\n          },\n          \"$schema\": {\n            \"type\": \"string\",\n            \"format\": \"uri\"\n          },\n          \"title\": {\n            \"type\": \"string\"\n          },\n          \"description\": {\n            \"type\": \"string\"\n          },\n          \"default\": {},\n          \"multipleOf\": {\n            \"type\": \"number\",\n            \"minimum\": 0,\n            \"exclusiveMinimum\": true\n          },\n          \"maximum\": {\n            \"type\": \"number\"\n          },\n          \"exclusiveMaximum\": {\n            \"type\": \"boolean\",\n            \"default\": false\n          },\n          \"minimum\": {\n            \"type\": \"number\"\n          },\n          \"exclusiveMinimum\": {\n            \"type\": \"boolean\",\n            \"default\": false\n          },\n          \"maxLength\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveInteger\"\n              }\n            ]\n          },\n          \"minLength\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveIntegerDefault0\"\n              }\n            ]\n          },\n          \"pattern\": {\n            \"type\": \"string\",\n            \"format\": \"regex\"\n          },\n          \"additionalItems\": {\n            \"anyOf\": [\n              {\n                \"type\": \"boolean\"\n              },\n              {\n                \"$ref\": \"#\"\n              }\n            ],\n            \"default\": {}\n          },\n          \"items\": {\n            \"anyOf\": [\n              {\n                \"$ref\": \"#\"\n              },\n              {\n                \"$ref\": \"#/definitions/schemaArray\"\n              }\n            ],\n            \"default\": {}\n          },\n          \"maxItems\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveInteger\"\n              }\n            ]\n          },\n          \"minItems\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveIntegerDefault0\"\n              }\n            ]\n          },\n          \"uniqueItems\": {\n            \"type\": \"boolean\",\n            \"default\": false\n          },\n          \"maxProperties\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveInteger\"\n              }\n            ]\n          },\n          \"minProperties\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/positiveIntegerDefault0\"\n              }\n            ]\n          },\n          \"required\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/stringArray\"\n              }\n            ]\n          },\n          \"additionalProperties\": {\n            \"anyOf\": [\n              {\n                \"type\": \"boolean\"\n              },\n              {\n                \"$ref\": \"#\"\n              }\n            ],\n            \"default\": {}\n          },\n          \"definitions\": {\n            \"type\": \"object\",\n            \"additionalProperties\": {\n              \"$ref\": \"#\"\n            },\n            \"default\": {}\n          },\n          \"properties\": {\n            \"type\": \"object\",\n            \"additionalProperties\": {\n              \"$ref\": \"#\"\n            },\n            \"default\": {}\n          },\n          \"patternProperties\": {\n            \"type\": \"object\",\n            \"additionalProperties\": {\n              \"$ref\": \"#\"\n            },\n            \"default\": {}\n          },\n          \"dependencies\": {\n            \"type\": \"object\",\n            \"additionalProperties\": {\n              \"anyOf\": [\n                {\n                  \"$ref\": \"#\"\n                },\n                {\n                  \"$ref\": \"#/definitions/stringArray\"\n                }\n              ]\n            }\n          },\n          \"enum\": {\n            \"type\": \"array\",\n            \"minItems\": 1,\n            \"uniqueItems\": true\n          },\n          \"type\": {\n            \"anyOf\": [\n              {\n                \"$ref\": \"#/definitions/simpleTypes\"\n              },\n              {\n                \"type\": \"array\",\n                \"items\": {\n                  \"$ref\": \"#/definitions/simpleTypes\"\n                },\n                \"minItems\": 1,\n                \"uniqueItems\": true\n              }\n            ]\n          },\n          \"format\": {\n            \"anyOf\": [\n              {\n                \"type\": \"string\",\n                \"enum\": [\n                  \"date-time\",\n                  \"uri\",\n                  \"email\",\n                  \"hostname\",\n                  \"ipv4\",\n                  \"ipv6\",\n                  \"regex\"\n                ]\n              },\n              {\n                \"type\": \"string\"\n              }\n            ]\n          },\n          \"allOf\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/schemaArray\"\n              }\n            ]\n          },\n          \"anyOf\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/schemaArray\"\n              }\n            ]\n          },\n          \"oneOf\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#/definitions/schemaArray\"\n              }\n            ]\n          },\n          \"not\": {\n            \"allOf\": [\n              {\n                \"$ref\": \"#\"\n              }\n            ]\n          }\n        },\n        \"dependencies\": {\n          \"exclusiveMaximum\": [\n            \"maximum\"\n          ],\n          \"exclusiveMinimum\": [\n            \"minimum\"\n          ]\n        },\n        \"default\": {}\n      },\n      \"http://json-schema.org/draft-07/schema#\": {\n        \"definitions\": {\n          \"schemaArray\": {\n            \"type\": \"array\",\n            \"minItems\": 1,\n            \"items\": { \"$ref\": \"#\" }\n          },\n          \"nonNegativeInteger\": {\n            \"type\": \"integer\",\n            \"minimum\": 0\n          },\n          \"nonNegativeIntegerDefault0\": {\n            \"allOf\": [\n              { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n              { \"default\": 0 }\n            ]\n          },\n          \"simpleTypes\": {\n            \"enum\": [\n              \"array\",\n              \"boolean\",\n              \"integer\",\n              \"null\",\n              \"number\",\n              \"object\",\n              \"string\"\n            ]\n          },\n          \"stringArray\": {\n            \"type\": \"array\",\n            \"items\": { \"type\": \"string\" },\n            \"uniqueItems\": true,\n            \"default\": []\n          }\n        },\n        \"type\": [\"object\", \"boolean\"],\n        \"properties\": {\n          \"$id\": {\n            \"type\": \"string\",\n            \"format\": \"uri-reference\"\n          },\n          \"$schema\": {\n            \"type\": \"string\",\n            \"format\": \"uri\"\n          },\n          \"$ref\": {\n            \"type\": \"string\",\n            \"format\": \"uri-reference\"\n          },\n          \"$comment\": {\n            \"type\": \"string\"\n          },\n          \"title\": {\n            \"type\": \"string\"\n          },\n          \"description\": {\n            \"type\": \"string\"\n          },\n          \"default\": true,\n          \"readOnly\": {\n            \"type\": \"boolean\",\n            \"default\": false\n          },\n          \"examples\": {\n            \"type\": \"array\",\n            \"items\": true\n          },\n          \"multipleOf\": {\n            \"type\": \"number\",\n            \"exclusiveMinimum\": 0\n          },\n          \"maximum\": {\n            \"type\": \"number\"\n          },\n          \"exclusiveMaximum\": {\n            \"type\": \"number\"\n          },\n          \"minimum\": {\n            \"type\": \"number\"\n          },\n          \"exclusiveMinimum\": {\n            \"type\": \"number\"\n          },\n          \"maxLength\": { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n          \"minLength\": { \"$ref\": \"#/definitions/nonNegativeIntegerDefault0\" },\n          \"pattern\": {\n            \"type\": \"string\",\n            \"format\": \"regex\"\n          },\n          \"additionalItems\": { \"$ref\": \"#\" },\n          \"items\": {\n            \"anyOf\": [\n              { \"$ref\": \"#\" },\n              { \"$ref\": \"#/definitions/schemaArray\" }\n            ],\n            \"default\": true\n          },\n          \"maxItems\": { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n          \"minItems\": { \"$ref\": \"#/definitions/nonNegativeIntegerDefault0\" },\n          \"uniqueItems\": {\n            \"type\": \"boolean\",\n            \"default\": false\n          },\n          \"contains\": { \"$ref\": \"#\" },\n          \"maxProperties\": { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n          \"minProperties\": { \"$ref\": \"#/definitions/nonNegativeIntegerDefault0\" },\n          \"required\": { \"$ref\": \"#/definitions/stringArray\" },\n          \"additionalProperties\": { \"$ref\": \"#\" },\n          \"definitions\": {\n            \"type\": \"object\",\n            \"additionalProperties\": { \"$ref\": \"#\" },\n            \"default\": {}\n          },\n          \"properties\": {\n            \"type\": \"object\",\n            \"additionalProperties\": { \"$ref\": \"#\" },\n            \"default\": {}\n          },\n          \"patternProperties\": {\n            \"type\": \"object\",\n            \"additionalProperties\": { \"$ref\": \"#\" },\n            \"propertyNames\": { \"format\": \"regex\" },\n            \"default\": {}\n          },\n          \"dependencies\": {\n            \"type\": \"object\",\n            \"additionalProperties\": {\n              \"anyOf\": [\n                { \"$ref\": \"#\" },\n                { \"$ref\": \"#/definitions/stringArray\" }\n              ]\n            }\n          },\n          \"propertyNames\": { \"$ref\": \"#\" },\n          \"const\": true,\n          \"enum\": {\n            \"type\": \"array\",\n            \"items\": true,\n            \"minItems\": 1,\n            \"uniqueItems\": true\n          },\n          \"type\": {\n            \"anyOf\": [\n              { \"$ref\": \"#/definitions/simpleTypes\" },\n              {\n                \"type\": \"array\",\n                \"items\": { \"$ref\": \"#/definitions/simpleTypes\" },\n                \"minItems\": 1,\n                \"uniqueItems\": true\n              }\n            ]\n          },\n          \"format\": { \"type\": \"string\" },\n          \"contentMediaType\": { \"type\": \"string\" },\n          \"contentEncoding\": { \"type\": \"string\" },\n          \"if\": { \"$ref\": \"#\" },\n          \"then\": { \"$ref\": \"#\" },\n          \"else\": { \"$ref\": \"#\" },\n          \"allOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n          \"anyOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n          \"oneOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n          \"not\": { \"$ref\": \"#\" }\n        },\n        \"default\": true\n      }\n    }\n  };\n  var descriptions = {\n    id: localize5(\"schema.json.id\", \"A unique identifier for the schema.\"),\n    $schema: localize5(\"schema.json.$schema\", \"The schema to verify this document against.\"),\n    title: localize5(\"schema.json.title\", \"A descriptive title of the element.\"),\n    description: localize5(\"schema.json.description\", \"A long description of the element. Used in hover menus and suggestions.\"),\n    default: localize5(\"schema.json.default\", \"A default value. Used by suggestions.\"),\n    multipleOf: localize5(\"schema.json.multipleOf\", \"A number that should cleanly divide the current value (i.e. have no remainder).\"),\n    maximum: localize5(\"schema.json.maximum\", \"The maximum numerical value, inclusive by default.\"),\n    exclusiveMaximum: localize5(\"schema.json.exclusiveMaximum\", \"Makes the maximum property exclusive.\"),\n    minimum: localize5(\"schema.json.minimum\", \"The minimum numerical value, inclusive by default.\"),\n    exclusiveMinimum: localize5(\"schema.json.exclusiveMininum\", \"Makes the minimum property exclusive.\"),\n    maxLength: localize5(\"schema.json.maxLength\", \"The maximum length of a string.\"),\n    minLength: localize5(\"schema.json.minLength\", \"The minimum length of a string.\"),\n    pattern: localize5(\"schema.json.pattern\", \"A regular expression to match the string against. It is not implicitly anchored.\"),\n    additionalItems: localize5(\"schema.json.additionalItems\", \"For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail.\"),\n    items: localize5(\"schema.json.items\", \"For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on.\"),\n    maxItems: localize5(\"schema.json.maxItems\", \"The maximum number of items that can be inside an array. Inclusive.\"),\n    minItems: localize5(\"schema.json.minItems\", \"The minimum number of items that can be inside an array. Inclusive.\"),\n    uniqueItems: localize5(\"schema.json.uniqueItems\", \"If all of the items in the array must be unique. Defaults to false.\"),\n    maxProperties: localize5(\"schema.json.maxProperties\", \"The maximum number of properties an object can have. Inclusive.\"),\n    minProperties: localize5(\"schema.json.minProperties\", \"The minimum number of properties an object can have. Inclusive.\"),\n    required: localize5(\"schema.json.required\", \"An array of strings that lists the names of all properties required on this object.\"),\n    additionalProperties: localize5(\"schema.json.additionalProperties\", \"Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail.\"),\n    definitions: localize5(\"schema.json.definitions\", \"Not used for validation. Place subschemas here that you wish to reference inline with $ref.\"),\n    properties: localize5(\"schema.json.properties\", \"A map of property names to schemas for each property.\"),\n    patternProperties: localize5(\"schema.json.patternProperties\", \"A map of regular expressions on property names to schemas for matching properties.\"),\n    dependencies: localize5(\"schema.json.dependencies\", \"A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object.\"),\n    enum: localize5(\"schema.json.enum\", \"The set of literal values that are valid.\"),\n    type: localize5(\"schema.json.type\", \"Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types.\"),\n    format: localize5(\"schema.json.format\", \"Describes the format expected for the value.\"),\n    allOf: localize5(\"schema.json.allOf\", \"An array of schemas, all of which must match.\"),\n    anyOf: localize5(\"schema.json.anyOf\", \"An array of schemas, where at least one must match.\"),\n    oneOf: localize5(\"schema.json.oneOf\", \"An array of schemas, exactly one of which must match.\"),\n    not: localize5(\"schema.json.not\", \"A schema which must not match.\"),\n    $id: localize5(\"schema.json.$id\", \"A unique identifier for the schema.\"),\n    $ref: localize5(\"schema.json.$ref\", \"Reference a definition hosted on any location.\"),\n    $comment: localize5(\"schema.json.$comment\", \"Comments from schema authors to readers or maintainers of the schema.\"),\n    readOnly: localize5(\"schema.json.readOnly\", \"Indicates that the value of the instance is managed exclusively by the owning authority.\"),\n    examples: localize5(\"schema.json.examples\", \"Sample JSON values associated with a particular schema, for the purpose of illustrating usage.\"),\n    contains: localize5(\"schema.json.contains\", 'An array instance is valid against \"contains\" if at least one of its elements is valid against the given schema.'),\n    propertyNames: localize5(\"schema.json.propertyNames\", \"If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema.\"),\n    const: localize5(\"schema.json.const\", \"An instance validates successfully against this keyword if its value is equal to the value of the keyword.\"),\n    contentMediaType: localize5(\"schema.json.contentMediaType\", \"Describes the media type of a string property.\"),\n    contentEncoding: localize5(\"schema.json.contentEncoding\", \"Describes the content encoding of a string property.\"),\n    if: localize5(\"schema.json.if\", 'The validation outcome of the \"if\" subschema controls which of the \"then\" or \"else\" keywords are evaluated.'),\n    then: localize5(\"schema.json.then\", 'The \"if\" subschema is used for validation when the \"if\" subschema succeeds.'),\n    else: localize5(\"schema.json.else\", 'The \"else\" subschema is used for validation when the \"if\" subschema fails.')\n  };\n  for (schemaName in schemaContributions.schemas) {\n    schema = schemaContributions.schemas[schemaName];\n    for (property in schema.properties) {\n      propertyObject = schema.properties[property];\n      if (typeof propertyObject === \"boolean\") {\n        propertyObject = schema.properties[property] = {};\n      }\n      description = descriptions[property];\n      if (description) {\n        propertyObject[\"description\"] = description;\n      } else {\n        console.log(\"\".concat(property, \": localize('schema.json.\").concat(property, `', \"\")`));\n      }\n    }\n  }\n  var schema;\n  var propertyObject;\n  var description;\n  var property;\n  var schemaName;\n  var LIB;\n  LIB = (() => {\n    \"use strict\";\n    var t = { 470: (t2) => {\n      function e2(t3) {\n        if (\"string\" != typeof t3)\n          throw new TypeError(\"Path must be a string. Received \" + JSON.stringify(t3));\n      }\n      function r2(t3, e3) {\n        for (var r3, n2 = \"\", o = 0, i = -1, a2 = 0, h = 0; h <= t3.length; ++h) {\n          if (h < t3.length)\n            r3 = t3.charCodeAt(h);\n          else {\n            if (47 === r3)\n              break;\n            r3 = 47;\n          }\n          if (47 === r3) {\n            if (i === h - 1 || 1 === a2)\n              ;\n            else if (i !== h - 1 && 2 === a2) {\n              if (n2.length < 2 || 2 !== o || 46 !== n2.charCodeAt(n2.length - 1) || 46 !== n2.charCodeAt(n2.length - 2)) {\n                if (n2.length > 2) {\n                  var s = n2.lastIndexOf(\"/\");\n                  if (s !== n2.length - 1) {\n                    -1 === s ? (n2 = \"\", o = 0) : o = (n2 = n2.slice(0, s)).length - 1 - n2.lastIndexOf(\"/\"), i = h, a2 = 0;\n                    continue;\n                  }\n                } else if (2 === n2.length || 1 === n2.length) {\n                  n2 = \"\", o = 0, i = h, a2 = 0;\n                  continue;\n                }\n              }\n              e3 && (n2.length > 0 ? n2 += \"/..\" : n2 = \"..\", o = 2);\n            } else\n              n2.length > 0 ? n2 += \"/\" + t3.slice(i + 1, h) : n2 = t3.slice(i + 1, h), o = h - i - 1;\n            i = h, a2 = 0;\n          } else\n            46 === r3 && -1 !== a2 ? ++a2 : a2 = -1;\n        }\n        return n2;\n      }\n      var n = { resolve: function() {\n        for (var t3, n2 = \"\", o = false, i = arguments.length - 1; i >= -1 && !o; i--) {\n          var a2;\n          i >= 0 ? a2 = arguments[i] : (void 0 === t3 && (t3 = process.cwd()), a2 = t3), e2(a2), 0 !== a2.length && (n2 = a2 + \"/\" + n2, o = 47 === a2.charCodeAt(0));\n        }\n        return n2 = r2(n2, !o), o ? n2.length > 0 ? \"/\" + n2 : \"/\" : n2.length > 0 ? n2 : \".\";\n      }, normalize: function(t3) {\n        if (e2(t3), 0 === t3.length)\n          return \".\";\n        var n2 = 47 === t3.charCodeAt(0), o = 47 === t3.charCodeAt(t3.length - 1);\n        return 0 !== (t3 = r2(t3, !n2)).length || n2 || (t3 = \".\"), t3.length > 0 && o && (t3 += \"/\"), n2 ? \"/\" + t3 : t3;\n      }, isAbsolute: function(t3) {\n        return e2(t3), t3.length > 0 && 47 === t3.charCodeAt(0);\n      }, join: function() {\n        if (0 === arguments.length)\n          return \".\";\n        for (var t3, r3 = 0; r3 < arguments.length; ++r3) {\n          var o = arguments[r3];\n          e2(o), o.length > 0 && (void 0 === t3 ? t3 = o : t3 += \"/\" + o);\n        }\n        return void 0 === t3 ? \".\" : n.normalize(t3);\n      }, relative: function(t3, r3) {\n        if (e2(t3), e2(r3), t3 === r3)\n          return \"\";\n        if ((t3 = n.resolve(t3)) === (r3 = n.resolve(r3)))\n          return \"\";\n        for (var o = 1; o < t3.length && 47 === t3.charCodeAt(o); ++o)\n          ;\n        for (var i = t3.length, a2 = i - o, h = 1; h < r3.length && 47 === r3.charCodeAt(h); ++h)\n          ;\n        for (var s = r3.length - h, c = a2 < s ? a2 : s, f2 = -1, u = 0; u <= c; ++u) {\n          if (u === c) {\n            if (s > c) {\n              if (47 === r3.charCodeAt(h + u))\n                return r3.slice(h + u + 1);\n              if (0 === u)\n                return r3.slice(h + u);\n            } else\n              a2 > c && (47 === t3.charCodeAt(o + u) ? f2 = u : 0 === u && (f2 = 0));\n            break;\n          }\n          var l = t3.charCodeAt(o + u);\n          if (l !== r3.charCodeAt(h + u))\n            break;\n          47 === l && (f2 = u);\n        }\n        var p = \"\";\n        for (u = o + f2 + 1; u <= i; ++u)\n          u !== i && 47 !== t3.charCodeAt(u) || (0 === p.length ? p += \"..\" : p += \"/..\");\n        return p.length > 0 ? p + r3.slice(h + f2) : (h += f2, 47 === r3.charCodeAt(h) && ++h, r3.slice(h));\n      }, _makeLong: function(t3) {\n        return t3;\n      }, dirname: function(t3) {\n        if (e2(t3), 0 === t3.length)\n          return \".\";\n        for (var r3 = t3.charCodeAt(0), n2 = 47 === r3, o = -1, i = true, a2 = t3.length - 1; a2 >= 1; --a2)\n          if (47 === (r3 = t3.charCodeAt(a2))) {\n            if (!i) {\n              o = a2;\n              break;\n            }\n          } else\n            i = false;\n        return -1 === o ? n2 ? \"/\" : \".\" : n2 && 1 === o ? \"//\" : t3.slice(0, o);\n      }, basename: function(t3, r3) {\n        if (void 0 !== r3 && \"string\" != typeof r3)\n          throw new TypeError('\"ext\" argument must be a string');\n        e2(t3);\n        var n2, o = 0, i = -1, a2 = true;\n        if (void 0 !== r3 && r3.length > 0 && r3.length <= t3.length) {\n          if (r3.length === t3.length && r3 === t3)\n            return \"\";\n          var h = r3.length - 1, s = -1;\n          for (n2 = t3.length - 1; n2 >= 0; --n2) {\n            var c = t3.charCodeAt(n2);\n            if (47 === c) {\n              if (!a2) {\n                o = n2 + 1;\n                break;\n              }\n            } else\n              -1 === s && (a2 = false, s = n2 + 1), h >= 0 && (c === r3.charCodeAt(h) ? -1 == --h && (i = n2) : (h = -1, i = s));\n          }\n          return o === i ? i = s : -1 === i && (i = t3.length), t3.slice(o, i);\n        }\n        for (n2 = t3.length - 1; n2 >= 0; --n2)\n          if (47 === t3.charCodeAt(n2)) {\n            if (!a2) {\n              o = n2 + 1;\n              break;\n            }\n          } else\n            -1 === i && (a2 = false, i = n2 + 1);\n        return -1 === i ? \"\" : t3.slice(o, i);\n      }, extname: function(t3) {\n        e2(t3);\n        for (var r3 = -1, n2 = 0, o = -1, i = true, a2 = 0, h = t3.length - 1; h >= 0; --h) {\n          var s = t3.charCodeAt(h);\n          if (47 !== s)\n            -1 === o && (i = false, o = h + 1), 46 === s ? -1 === r3 ? r3 = h : 1 !== a2 && (a2 = 1) : -1 !== r3 && (a2 = -1);\n          else if (!i) {\n            n2 = h + 1;\n            break;\n          }\n        }\n        return -1 === r3 || -1 === o || 0 === a2 || 1 === a2 && r3 === o - 1 && r3 === n2 + 1 ? \"\" : t3.slice(r3, o);\n      }, format: function(t3) {\n        if (null === t3 || \"object\" != typeof t3)\n          throw new TypeError('The \"pathObject\" argument must be of type Object. Received type ' + typeof t3);\n        return function(t4, e3) {\n          var r3 = e3.dir || e3.root, n2 = e3.base || (e3.name || \"\") + (e3.ext || \"\");\n          return r3 ? r3 === e3.root ? r3 + n2 : r3 + \"/\" + n2 : n2;\n        }(0, t3);\n      }, parse: function(t3) {\n        e2(t3);\n        var r3 = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n        if (0 === t3.length)\n          return r3;\n        var n2, o = t3.charCodeAt(0), i = 47 === o;\n        i ? (r3.root = \"/\", n2 = 1) : n2 = 0;\n        for (var a2 = -1, h = 0, s = -1, c = true, f2 = t3.length - 1, u = 0; f2 >= n2; --f2)\n          if (47 !== (o = t3.charCodeAt(f2)))\n            -1 === s && (c = false, s = f2 + 1), 46 === o ? -1 === a2 ? a2 = f2 : 1 !== u && (u = 1) : -1 !== a2 && (u = -1);\n          else if (!c) {\n            h = f2 + 1;\n            break;\n          }\n        return -1 === a2 || -1 === s || 0 === u || 1 === u && a2 === s - 1 && a2 === h + 1 ? -1 !== s && (r3.base = r3.name = 0 === h && i ? t3.slice(1, s) : t3.slice(h, s)) : (0 === h && i ? (r3.name = t3.slice(1, a2), r3.base = t3.slice(1, s)) : (r3.name = t3.slice(h, a2), r3.base = t3.slice(h, s)), r3.ext = t3.slice(a2, s)), h > 0 ? r3.dir = t3.slice(0, h - 1) : i && (r3.dir = \"/\"), r3;\n      }, sep: \"/\", delimiter: \":\", win32: null, posix: null };\n      n.posix = n, t2.exports = n;\n    }, 447: (t2, e2, r2) => {\n      var n;\n      if (r2.r(e2), r2.d(e2, { URI: () => d, Utils: () => P }), \"object\" == typeof process)\n        n = \"win32\" === process.platform;\n      else if (\"object\" == typeof navigator) {\n        var o = navigator.userAgent;\n        n = o.indexOf(\"Windows\") >= 0;\n      }\n      var i, a2, h = (i = function(t3, e3) {\n        return (i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t4, e4) {\n          t4.__proto__ = e4;\n        } || function(t4, e4) {\n          for (var r3 in e4)\n            Object.prototype.hasOwnProperty.call(e4, r3) && (t4[r3] = e4[r3]);\n        })(t3, e3);\n      }, function(t3, e3) {\n        if (\"function\" != typeof e3 && null !== e3)\n          throw new TypeError(\"Class extends value \" + String(e3) + \" is not a constructor or null\");\n        function r3() {\n          this.constructor = t3;\n        }\n        i(t3, e3), t3.prototype = null === e3 ? Object.create(e3) : (r3.prototype = e3.prototype, new r3());\n      }), s = /^\\w[\\w\\d+.-]*$/, c = /^\\//, f2 = /^\\/\\//;\n      function u(t3, e3) {\n        if (!t3.scheme && e3)\n          throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'.concat(t3.authority, '\", path: \"').concat(t3.path, '\", query: \"').concat(t3.query, '\", fragment: \"').concat(t3.fragment, '\"}'));\n        if (t3.scheme && !s.test(t3.scheme))\n          throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n        if (t3.path) {\n          if (t3.authority) {\n            if (!c.test(t3.path))\n              throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n          } else if (f2.test(t3.path))\n            throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n      var l = \"\", p = \"/\", g = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/, d = function() {\n        function t3(t4, e3, r3, n2, o2, i2) {\n          void 0 === i2 && (i2 = false), \"object\" == typeof t4 ? (this.scheme = t4.scheme || l, this.authority = t4.authority || l, this.path = t4.path || l, this.query = t4.query || l, this.fragment = t4.fragment || l) : (this.scheme = /* @__PURE__ */ function(t5, e4) {\n            return t5 || e4 ? t5 : \"file\";\n          }(t4, i2), this.authority = e3 || l, this.path = function(t5, e4) {\n            switch (t5) {\n              case \"https\":\n              case \"http\":\n              case \"file\":\n                e4 ? e4[0] !== p && (e4 = p + e4) : e4 = p;\n            }\n            return e4;\n          }(this.scheme, r3 || l), this.query = n2 || l, this.fragment = o2 || l, u(this, i2));\n        }\n        return t3.isUri = function(e3) {\n          return e3 instanceof t3 || !!e3 && \"string\" == typeof e3.authority && \"string\" == typeof e3.fragment && \"string\" == typeof e3.path && \"string\" == typeof e3.query && \"string\" == typeof e3.scheme && \"string\" == typeof e3.fsPath && \"function\" == typeof e3.with && \"function\" == typeof e3.toString;\n        }, Object.defineProperty(t3.prototype, \"fsPath\", { get: function() {\n          return A2(this, false);\n        }, enumerable: false, configurable: true }), t3.prototype.with = function(t4) {\n          if (!t4)\n            return this;\n          var e3 = t4.scheme, r3 = t4.authority, n2 = t4.path, o2 = t4.query, i2 = t4.fragment;\n          return void 0 === e3 ? e3 = this.scheme : null === e3 && (e3 = l), void 0 === r3 ? r3 = this.authority : null === r3 && (r3 = l), void 0 === n2 ? n2 = this.path : null === n2 && (n2 = l), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = l), void 0 === i2 ? i2 = this.fragment : null === i2 && (i2 = l), e3 === this.scheme && r3 === this.authority && n2 === this.path && o2 === this.query && i2 === this.fragment ? this : new y(e3, r3, n2, o2, i2);\n        }, t3.parse = function(t4, e3) {\n          void 0 === e3 && (e3 = false);\n          var r3 = g.exec(t4);\n          return r3 ? new y(r3[2] || l, O(r3[4] || l), O(r3[5] || l), O(r3[7] || l), O(r3[9] || l), e3) : new y(l, l, l, l, l);\n        }, t3.file = function(t4) {\n          var e3 = l;\n          if (n && (t4 = t4.replace(/\\\\/g, p)), t4[0] === p && t4[1] === p) {\n            var r3 = t4.indexOf(p, 2);\n            -1 === r3 ? (e3 = t4.substring(2), t4 = p) : (e3 = t4.substring(2, r3), t4 = t4.substring(r3) || p);\n          }\n          return new y(\"file\", e3, t4, l, l);\n        }, t3.from = function(t4) {\n          var e3 = new y(t4.scheme, t4.authority, t4.path, t4.query, t4.fragment);\n          return u(e3, true), e3;\n        }, t3.prototype.toString = function(t4) {\n          return void 0 === t4 && (t4 = false), w(this, t4);\n        }, t3.prototype.toJSON = function() {\n          return this;\n        }, t3.revive = function(e3) {\n          if (e3) {\n            if (e3 instanceof t3)\n              return e3;\n            var r3 = new y(e3);\n            return r3._formatted = e3.external, r3._fsPath = e3._sep === v ? e3.fsPath : null, r3;\n          }\n          return e3;\n        }, t3;\n      }(), v = n ? 1 : void 0, y = function(t3) {\n        function e3() {\n          var e4 = null !== t3 && t3.apply(this, arguments) || this;\n          return e4._formatted = null, e4._fsPath = null, e4;\n        }\n        return h(e3, t3), Object.defineProperty(e3.prototype, \"fsPath\", { get: function() {\n          return this._fsPath || (this._fsPath = A2(this, false)), this._fsPath;\n        }, enumerable: false, configurable: true }), e3.prototype.toString = function(t4) {\n          return void 0 === t4 && (t4 = false), t4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted);\n        }, e3.prototype.toJSON = function() {\n          var t4 = { $mid: 1 };\n          return this._fsPath && (t4.fsPath = this._fsPath, t4._sep = v), this._formatted && (t4.external = this._formatted), this.path && (t4.path = this.path), this.scheme && (t4.scheme = this.scheme), this.authority && (t4.authority = this.authority), this.query && (t4.query = this.query), this.fragment && (t4.fragment = this.fragment), t4;\n        }, e3;\n      }(d), m = ((a2 = {})[58] = \"%3A\", a2[47] = \"%2F\", a2[63] = \"%3F\", a2[35] = \"%23\", a2[91] = \"%5B\", a2[93] = \"%5D\", a2[64] = \"%40\", a2[33] = \"%21\", a2[36] = \"%24\", a2[38] = \"%26\", a2[39] = \"%27\", a2[40] = \"%28\", a2[41] = \"%29\", a2[42] = \"%2A\", a2[43] = \"%2B\", a2[44] = \"%2C\", a2[59] = \"%3B\", a2[61] = \"%3D\", a2[32] = \"%20\", a2);\n      function b(t3, e3) {\n        for (var r3 = void 0, n2 = -1, o2 = 0; o2 < t3.length; o2++) {\n          var i2 = t3.charCodeAt(o2);\n          if (i2 >= 97 && i2 <= 122 || i2 >= 65 && i2 <= 90 || i2 >= 48 && i2 <= 57 || 45 === i2 || 46 === i2 || 95 === i2 || 126 === i2 || e3 && 47 === i2)\n            -1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2, o2)), n2 = -1), void 0 !== r3 && (r3 += t3.charAt(o2));\n          else {\n            void 0 === r3 && (r3 = t3.substr(0, o2));\n            var a3 = m[i2];\n            void 0 !== a3 ? (-1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2, o2)), n2 = -1), r3 += a3) : -1 === n2 && (n2 = o2);\n          }\n        }\n        return -1 !== n2 && (r3 += encodeURIComponent(t3.substring(n2))), void 0 !== r3 ? r3 : t3;\n      }\n      function C(t3) {\n        for (var e3 = void 0, r3 = 0; r3 < t3.length; r3++) {\n          var n2 = t3.charCodeAt(r3);\n          35 === n2 || 63 === n2 ? (void 0 === e3 && (e3 = t3.substr(0, r3)), e3 += m[n2]) : void 0 !== e3 && (e3 += t3[r3]);\n        }\n        return void 0 !== e3 ? e3 : t3;\n      }\n      function A2(t3, e3) {\n        var r3;\n        return r3 = t3.authority && t3.path.length > 1 && \"file\" === t3.scheme ? \"//\".concat(t3.authority).concat(t3.path) : 47 === t3.path.charCodeAt(0) && (t3.path.charCodeAt(1) >= 65 && t3.path.charCodeAt(1) <= 90 || t3.path.charCodeAt(1) >= 97 && t3.path.charCodeAt(1) <= 122) && 58 === t3.path.charCodeAt(2) ? e3 ? t3.path.substr(1) : t3.path[1].toLowerCase() + t3.path.substr(2) : t3.path, n && (r3 = r3.replace(/\\//g, \"\\\\\")), r3;\n      }\n      function w(t3, e3) {\n        var r3 = e3 ? C : b, n2 = \"\", o2 = t3.scheme, i2 = t3.authority, a3 = t3.path, h2 = t3.query, s2 = t3.fragment;\n        if (o2 && (n2 += o2, n2 += \":\"), (i2 || \"file\" === o2) && (n2 += p, n2 += p), i2) {\n          var c2 = i2.indexOf(\"@\");\n          if (-1 !== c2) {\n            var f3 = i2.substr(0, c2);\n            i2 = i2.substr(c2 + 1), -1 === (c2 = f3.indexOf(\":\")) ? n2 += r3(f3, false) : (n2 += r3(f3.substr(0, c2), false), n2 += \":\", n2 += r3(f3.substr(c2 + 1), false)), n2 += \"@\";\n          }\n          -1 === (c2 = (i2 = i2.toLowerCase()).indexOf(\":\")) ? n2 += r3(i2, false) : (n2 += r3(i2.substr(0, c2), false), n2 += i2.substr(c2));\n        }\n        if (a3) {\n          if (a3.length >= 3 && 47 === a3.charCodeAt(0) && 58 === a3.charCodeAt(2))\n            (u2 = a3.charCodeAt(1)) >= 65 && u2 <= 90 && (a3 = \"/\".concat(String.fromCharCode(u2 + 32), \":\").concat(a3.substr(3)));\n          else if (a3.length >= 2 && 58 === a3.charCodeAt(1)) {\n            var u2;\n            (u2 = a3.charCodeAt(0)) >= 65 && u2 <= 90 && (a3 = \"\".concat(String.fromCharCode(u2 + 32), \":\").concat(a3.substr(2)));\n          }\n          n2 += r3(a3, true);\n        }\n        return h2 && (n2 += \"?\", n2 += r3(h2, false)), s2 && (n2 += \"#\", n2 += e3 ? s2 : b(s2, false)), n2;\n      }\n      function x(t3) {\n        try {\n          return decodeURIComponent(t3);\n        } catch (e3) {\n          return t3.length > 3 ? t3.substr(0, 3) + x(t3.substr(3)) : t3;\n        }\n      }\n      var _ = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n      function O(t3) {\n        return t3.match(_) ? t3.replace(_, function(t4) {\n          return x(t4);\n        }) : t3;\n      }\n      var P, j = r2(470), U = function(t3, e3, r3) {\n        if (r3 || 2 === arguments.length)\n          for (var n2, o2 = 0, i2 = e3.length; o2 < i2; o2++)\n            !n2 && o2 in e3 || (n2 || (n2 = Array.prototype.slice.call(e3, 0, o2)), n2[o2] = e3[o2]);\n        return t3.concat(n2 || Array.prototype.slice.call(e3));\n      }, I = j.posix || j;\n      !function(t3) {\n        t3.joinPath = function(t4) {\n          for (var e3 = [], r3 = 1; r3 < arguments.length; r3++)\n            e3[r3 - 1] = arguments[r3];\n          return t4.with({ path: I.join.apply(I, U([t4.path], e3, false)) });\n        }, t3.resolvePath = function(t4) {\n          for (var e3 = [], r3 = 1; r3 < arguments.length; r3++)\n            e3[r3 - 1] = arguments[r3];\n          var n2 = t4.path || \"/\";\n          return t4.with({ path: I.resolve.apply(I, U([n2], e3, false)) });\n        }, t3.dirname = function(t4) {\n          var e3 = I.dirname(t4.path);\n          return 1 === e3.length && 46 === e3.charCodeAt(0) ? t4 : t4.with({ path: e3 });\n        }, t3.basename = function(t4) {\n          return I.basename(t4.path);\n        }, t3.extname = function(t4) {\n          return I.extname(t4.path);\n        };\n      }(P || (P = {}));\n    } }, e = {};\n    function r(n) {\n      if (e[n])\n        return e[n].exports;\n      var o = e[n] = { exports: {} };\n      return t[n](o, o.exports, r), o.exports;\n    }\n    return r.d = (t2, e2) => {\n      for (var n in e2)\n        r.o(e2, n) && !r.o(t2, n) && Object.defineProperty(t2, n, { enumerable: true, get: e2[n] });\n    }, r.o = (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), r.r = (t2) => {\n      \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: \"Module\" }), Object.defineProperty(t2, \"__esModule\", { value: true });\n    }, r(447);\n  })();\n  var { URI: URI2, Utils } = LIB;\n  function createRegex(glob, opts) {\n    if (typeof glob !== \"string\") {\n      throw new TypeError(\"Expected a string\");\n    }\n    var str = String(glob);\n    var reStr = \"\";\n    var extended = opts ? !!opts.extended : false;\n    var globstar = opts ? !!opts.globstar : false;\n    var inGroup = false;\n    var flags = opts && typeof opts.flags === \"string\" ? opts.flags : \"\";\n    var c;\n    for (var i = 0, len = str.length; i < len; i++) {\n      c = str[i];\n      switch (c) {\n        case \"/\":\n        case \"$\":\n        case \"^\":\n        case \"+\":\n        case \".\":\n        case \"(\":\n        case \")\":\n        case \"=\":\n        case \"!\":\n        case \"|\":\n          reStr += \"\\\\\" + c;\n          break;\n        case \"?\":\n          if (extended) {\n            reStr += \".\";\n            break;\n          }\n        case \"[\":\n        case \"]\":\n          if (extended) {\n            reStr += c;\n            break;\n          }\n        case \"{\":\n          if (extended) {\n            inGroup = true;\n            reStr += \"(\";\n            break;\n          }\n        case \"}\":\n          if (extended) {\n            inGroup = false;\n            reStr += \")\";\n            break;\n          }\n        case \",\":\n          if (inGroup) {\n            reStr += \"|\";\n            break;\n          }\n          reStr += \"\\\\\" + c;\n          break;\n        case \"*\":\n          var prevChar = str[i - 1];\n          var starCount = 1;\n          while (str[i + 1] === \"*\") {\n            starCount++;\n            i++;\n          }\n          var nextChar = str[i + 1];\n          if (!globstar) {\n            reStr += \".*\";\n          } else {\n            var isGlobstar = starCount > 1 && (prevChar === \"/\" || prevChar === void 0 || prevChar === \"{\" || prevChar === \",\") && (nextChar === \"/\" || nextChar === void 0 || nextChar === \",\" || nextChar === \"}\");\n            if (isGlobstar) {\n              if (nextChar === \"/\") {\n                i++;\n              } else if (prevChar === \"/\" && reStr.endsWith(\"\\\\/\")) {\n                reStr = reStr.substr(0, reStr.length - 2);\n              }\n              reStr += \"((?:[^/]*(?:/|$))*)\";\n            } else {\n              reStr += \"([^/]*)\";\n            }\n          }\n          break;\n        default:\n          reStr += c;\n      }\n    }\n    if (!flags || !~flags.indexOf(\"g\")) {\n      reStr = \"^\" + reStr + \"$\";\n    }\n    return new RegExp(reStr, flags);\n  }\n  var localize6 = loadMessageBundle();\n  var BANG = \"!\";\n  var PATH_SEP = \"/\";\n  var FilePatternAssociation = (\n    /** @class */\n    function() {\n      function FilePatternAssociation2(pattern, uris) {\n        this.globWrappers = [];\n        try {\n          for (var _i = 0, pattern_1 = pattern; _i < pattern_1.length; _i++) {\n            var patternString = pattern_1[_i];\n            var include = patternString[0] !== BANG;\n            if (!include) {\n              patternString = patternString.substring(1);\n            }\n            if (patternString.length > 0) {\n              if (patternString[0] === PATH_SEP) {\n                patternString = patternString.substring(1);\n              }\n              this.globWrappers.push({\n                regexp: createRegex(\"**/\" + patternString, { extended: true, globstar: true }),\n                include\n              });\n            }\n          }\n          ;\n          this.uris = uris;\n        } catch (e) {\n          this.globWrappers.length = 0;\n          this.uris = [];\n        }\n      }\n      FilePatternAssociation2.prototype.matchesPattern = function(fileName) {\n        var match = false;\n        for (var _i = 0, _a4 = this.globWrappers; _i < _a4.length; _i++) {\n          var _b3 = _a4[_i], regexp = _b3.regexp, include = _b3.include;\n          if (regexp.test(fileName)) {\n            match = include;\n          }\n        }\n        return match;\n      };\n      FilePatternAssociation2.prototype.getURIs = function() {\n        return this.uris;\n      };\n      return FilePatternAssociation2;\n    }()\n  );\n  var SchemaHandle = (\n    /** @class */\n    function() {\n      function SchemaHandle2(service, uri, unresolvedSchemaContent) {\n        this.service = service;\n        this.uri = uri;\n        this.dependencies = /* @__PURE__ */ new Set();\n        this.anchors = void 0;\n        if (unresolvedSchemaContent) {\n          this.unresolvedSchema = this.service.promise.resolve(new UnresolvedSchema(unresolvedSchemaContent));\n        }\n      }\n      SchemaHandle2.prototype.getUnresolvedSchema = function() {\n        if (!this.unresolvedSchema) {\n          this.unresolvedSchema = this.service.loadSchema(this.uri);\n        }\n        return this.unresolvedSchema;\n      };\n      SchemaHandle2.prototype.getResolvedSchema = function() {\n        var _this = this;\n        if (!this.resolvedSchema) {\n          this.resolvedSchema = this.getUnresolvedSchema().then(function(unresolved) {\n            return _this.service.resolveSchemaContent(unresolved, _this);\n          });\n        }\n        return this.resolvedSchema;\n      };\n      SchemaHandle2.prototype.clearSchema = function() {\n        var hasChanges = !!this.unresolvedSchema;\n        this.resolvedSchema = void 0;\n        this.unresolvedSchema = void 0;\n        this.dependencies.clear();\n        this.anchors = void 0;\n        return hasChanges;\n      };\n      return SchemaHandle2;\n    }()\n  );\n  var UnresolvedSchema = (\n    /** @class */\n    /* @__PURE__ */ function() {\n      function UnresolvedSchema2(schema2, errors) {\n        if (errors === void 0) {\n          errors = [];\n        }\n        this.schema = schema2;\n        this.errors = errors;\n      }\n      return UnresolvedSchema2;\n    }()\n  );\n  var ResolvedSchema = (\n    /** @class */\n    function() {\n      function ResolvedSchema2(schema2, errors) {\n        if (errors === void 0) {\n          errors = [];\n        }\n        this.schema = schema2;\n        this.errors = errors;\n      }\n      ResolvedSchema2.prototype.getSection = function(path) {\n        var schemaRef = this.getSectionRecursive(path, this.schema);\n        if (schemaRef) {\n          return asSchema(schemaRef);\n        }\n        return void 0;\n      };\n      ResolvedSchema2.prototype.getSectionRecursive = function(path, schema2) {\n        if (!schema2 || typeof schema2 === \"boolean\" || path.length === 0) {\n          return schema2;\n        }\n        var next = path.shift();\n        if (schema2.properties && typeof schema2.properties[next]) {\n          return this.getSectionRecursive(path, schema2.properties[next]);\n        } else if (schema2.patternProperties) {\n          for (var _i = 0, _a4 = Object.keys(schema2.patternProperties); _i < _a4.length; _i++) {\n            var pattern = _a4[_i];\n            var regex = extendedRegExp(pattern);\n            if (regex === null || regex === void 0 ? void 0 : regex.test(next)) {\n              return this.getSectionRecursive(path, schema2.patternProperties[pattern]);\n            }\n          }\n        } else if (typeof schema2.additionalProperties === \"object\") {\n          return this.getSectionRecursive(path, schema2.additionalProperties);\n        } else if (next.match(\"[0-9]+\")) {\n          if (Array.isArray(schema2.items)) {\n            var index = parseInt(next, 10);\n            if (!isNaN(index) && schema2.items[index]) {\n              return this.getSectionRecursive(path, schema2.items[index]);\n            }\n          } else if (schema2.items) {\n            return this.getSectionRecursive(path, schema2.items);\n          }\n        }\n        return void 0;\n      };\n      return ResolvedSchema2;\n    }()\n  );\n  var JSONSchemaService = (\n    /** @class */\n    function() {\n      function JSONSchemaService2(requestService, contextService, promiseConstructor) {\n        this.contextService = contextService;\n        this.requestService = requestService;\n        this.promiseConstructor = promiseConstructor || Promise;\n        this.callOnDispose = [];\n        this.contributionSchemas = {};\n        this.contributionAssociations = [];\n        this.schemasById = {};\n        this.filePatternAssociations = [];\n        this.registeredSchemasIds = {};\n      }\n      JSONSchemaService2.prototype.getRegisteredSchemaIds = function(filter) {\n        return Object.keys(this.registeredSchemasIds).filter(function(id) {\n          var scheme = URI2.parse(id).scheme;\n          return scheme !== \"schemaservice\" && (!filter || filter(scheme));\n        });\n      };\n      Object.defineProperty(JSONSchemaService2.prototype, \"promise\", {\n        get: function() {\n          return this.promiseConstructor;\n        },\n        enumerable: false,\n        configurable: true\n      });\n      JSONSchemaService2.prototype.dispose = function() {\n        while (this.callOnDispose.length > 0) {\n          this.callOnDispose.pop()();\n        }\n      };\n      JSONSchemaService2.prototype.onResourceChange = function(uri) {\n        var _this = this;\n        this.cachedSchemaForResource = void 0;\n        var hasChanges = false;\n        uri = normalizeId(uri);\n        var toWalk = [uri];\n        var all = Object.keys(this.schemasById).map(function(key) {\n          return _this.schemasById[key];\n        });\n        while (toWalk.length) {\n          var curr = toWalk.pop();\n          for (var i = 0; i < all.length; i++) {\n            var handle = all[i];\n            if (handle && (handle.uri === curr || handle.dependencies.has(curr))) {\n              if (handle.uri !== curr) {\n                toWalk.push(handle.uri);\n              }\n              if (handle.clearSchema()) {\n                hasChanges = true;\n              }\n              all[i] = void 0;\n            }\n          }\n        }\n        return hasChanges;\n      };\n      JSONSchemaService2.prototype.setSchemaContributions = function(schemaContributions2) {\n        if (schemaContributions2.schemas) {\n          var schemas = schemaContributions2.schemas;\n          for (var id in schemas) {\n            var normalizedId = normalizeId(id);\n            this.contributionSchemas[normalizedId] = this.addSchemaHandle(normalizedId, schemas[id]);\n          }\n        }\n        if (Array.isArray(schemaContributions2.schemaAssociations)) {\n          var schemaAssociations = schemaContributions2.schemaAssociations;\n          for (var _i = 0, schemaAssociations_1 = schemaAssociations; _i < schemaAssociations_1.length; _i++) {\n            var schemaAssociation = schemaAssociations_1[_i];\n            var uris = schemaAssociation.uris.map(normalizeId);\n            var association = this.addFilePatternAssociation(schemaAssociation.pattern, uris);\n            this.contributionAssociations.push(association);\n          }\n        }\n      };\n      JSONSchemaService2.prototype.addSchemaHandle = function(id, unresolvedSchemaContent) {\n        var schemaHandle = new SchemaHandle(this, id, unresolvedSchemaContent);\n        this.schemasById[id] = schemaHandle;\n        return schemaHandle;\n      };\n      JSONSchemaService2.prototype.getOrAddSchemaHandle = function(id, unresolvedSchemaContent) {\n        return this.schemasById[id] || this.addSchemaHandle(id, unresolvedSchemaContent);\n      };\n      JSONSchemaService2.prototype.addFilePatternAssociation = function(pattern, uris) {\n        var fpa = new FilePatternAssociation(pattern, uris);\n        this.filePatternAssociations.push(fpa);\n        return fpa;\n      };\n      JSONSchemaService2.prototype.registerExternalSchema = function(uri, filePatterns, unresolvedSchemaContent) {\n        var id = normalizeId(uri);\n        this.registeredSchemasIds[id] = true;\n        this.cachedSchemaForResource = void 0;\n        if (filePatterns) {\n          this.addFilePatternAssociation(filePatterns, [id]);\n        }\n        return unresolvedSchemaContent ? this.addSchemaHandle(id, unresolvedSchemaContent) : this.getOrAddSchemaHandle(id);\n      };\n      JSONSchemaService2.prototype.clearExternalSchemas = function() {\n        this.schemasById = {};\n        this.filePatternAssociations = [];\n        this.registeredSchemasIds = {};\n        this.cachedSchemaForResource = void 0;\n        for (var id in this.contributionSchemas) {\n          this.schemasById[id] = this.contributionSchemas[id];\n          this.registeredSchemasIds[id] = true;\n        }\n        for (var _i = 0, _a4 = this.contributionAssociations; _i < _a4.length; _i++) {\n          var contributionAssociation = _a4[_i];\n          this.filePatternAssociations.push(contributionAssociation);\n        }\n      };\n      JSONSchemaService2.prototype.getResolvedSchema = function(schemaId) {\n        var id = normalizeId(schemaId);\n        var schemaHandle = this.schemasById[id];\n        if (schemaHandle) {\n          return schemaHandle.getResolvedSchema();\n        }\n        return this.promise.resolve(void 0);\n      };\n      JSONSchemaService2.prototype.loadSchema = function(url) {\n        if (!this.requestService) {\n          var errorMessage = localize6(\"json.schema.norequestservice\", \"Unable to load schema from '{0}'. No schema request service available\", toDisplayString(url));\n          return this.promise.resolve(new UnresolvedSchema({}, [errorMessage]));\n        }\n        return this.requestService(url).then(function(content) {\n          if (!content) {\n            var errorMessage2 = localize6(\"json.schema.nocontent\", \"Unable to load schema from '{0}': No content.\", toDisplayString(url));\n            return new UnresolvedSchema({}, [errorMessage2]);\n          }\n          var schemaContent = {};\n          var jsonErrors = [];\n          schemaContent = parse2(content, jsonErrors);\n          var errors = jsonErrors.length ? [localize6(\"json.schema.invalidFormat\", \"Unable to parse content from '{0}': Parse error at offset {1}.\", toDisplayString(url), jsonErrors[0].offset)] : [];\n          return new UnresolvedSchema(schemaContent, errors);\n        }, function(error) {\n          var errorMessage2 = error.toString();\n          var errorSplit = error.toString().split(\"Error: \");\n          if (errorSplit.length > 1) {\n            errorMessage2 = errorSplit[1];\n          }\n          if (endsWith(errorMessage2, \".\")) {\n            errorMessage2 = errorMessage2.substr(0, errorMessage2.length - 1);\n          }\n          return new UnresolvedSchema({}, [localize6(\"json.schema.nocontent\", \"Unable to load schema from '{0}': {1}.\", toDisplayString(url), errorMessage2)]);\n        });\n      };\n      JSONSchemaService2.prototype.resolveSchemaContent = function(schemaToResolve, handle) {\n        var _this = this;\n        var resolveErrors = schemaToResolve.errors.slice(0);\n        var schema2 = schemaToResolve.schema;\n        if (schema2.$schema) {\n          var id = normalizeId(schema2.$schema);\n          if (id === \"http://json-schema.org/draft-03/schema\") {\n            return this.promise.resolve(new ResolvedSchema({}, [localize6(\"json.schema.draft03.notsupported\", \"Draft-03 schemas are not supported.\")]));\n          } else if (id === \"https://json-schema.org/draft/2019-09/schema\") {\n            resolveErrors.push(localize6(\"json.schema.draft201909.notsupported\", \"Draft 2019-09 schemas are not yet fully supported.\"));\n          } else if (id === \"https://json-schema.org/draft/2020-12/schema\") {\n            resolveErrors.push(localize6(\"json.schema.draft202012.notsupported\", \"Draft 2020-12 schemas are not yet fully supported.\"));\n          }\n        }\n        var contextService = this.contextService;\n        var findSectionByJSONPointer = function(schema22, path) {\n          path = decodeURIComponent(path);\n          var current = schema22;\n          if (path[0] === \"/\") {\n            path = path.substring(1);\n          }\n          path.split(\"/\").some(function(part) {\n            part = part.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n            current = current[part];\n            return !current;\n          });\n          return current;\n        };\n        var findSchemaById = function(schema22, handle2, id2) {\n          if (!handle2.anchors) {\n            handle2.anchors = collectAnchors(schema22);\n          }\n          return handle2.anchors.get(id2);\n        };\n        var merge = function(target, section) {\n          for (var key in section) {\n            if (section.hasOwnProperty(key) && !target.hasOwnProperty(key) && key !== \"id\" && key !== \"$id\") {\n              target[key] = section[key];\n            }\n          }\n        };\n        var mergeRef = function(target, sourceRoot, sourceHandle, refSegment) {\n          var section;\n          if (refSegment === void 0 || refSegment.length === 0) {\n            section = sourceRoot;\n          } else if (refSegment.charAt(0) === \"/\") {\n            section = findSectionByJSONPointer(sourceRoot, refSegment);\n          } else {\n            section = findSchemaById(sourceRoot, sourceHandle, refSegment);\n          }\n          if (section) {\n            merge(target, section);\n          } else {\n            resolveErrors.push(localize6(\"json.schema.invalidid\", \"$ref '{0}' in '{1}' can not be resolved.\", refSegment, sourceHandle.uri));\n          }\n        };\n        var resolveExternalLink = function(node, uri, refSegment, parentHandle) {\n          if (contextService && !/^[A-Za-z][A-Za-z0-9+\\-.+]*:\\/\\/.*/.test(uri)) {\n            uri = contextService.resolveRelativePath(uri, parentHandle.uri);\n          }\n          uri = normalizeId(uri);\n          var referencedHandle = _this.getOrAddSchemaHandle(uri);\n          return referencedHandle.getUnresolvedSchema().then(function(unresolvedSchema) {\n            parentHandle.dependencies.add(uri);\n            if (unresolvedSchema.errors.length) {\n              var loc = refSegment ? uri + \"#\" + refSegment : uri;\n              resolveErrors.push(localize6(\"json.schema.problemloadingref\", \"Problems loading reference '{0}': {1}\", loc, unresolvedSchema.errors[0]));\n            }\n            mergeRef(node, unresolvedSchema.schema, referencedHandle, refSegment);\n            return resolveRefs(node, unresolvedSchema.schema, referencedHandle);\n          });\n        };\n        var resolveRefs = function(node, parentSchema, parentHandle) {\n          var openPromises = [];\n          _this.traverseNodes(node, function(next) {\n            var seenRefs = /* @__PURE__ */ new Set();\n            while (next.$ref) {\n              var ref = next.$ref;\n              var segments = ref.split(\"#\", 2);\n              delete next.$ref;\n              if (segments[0].length > 0) {\n                openPromises.push(resolveExternalLink(next, segments[0], segments[1], parentHandle));\n                return;\n              } else {\n                if (!seenRefs.has(ref)) {\n                  var id2 = segments[1];\n                  mergeRef(next, parentSchema, parentHandle, id2);\n                  seenRefs.add(ref);\n                }\n              }\n            }\n          });\n          return _this.promise.all(openPromises);\n        };\n        var collectAnchors = function(root) {\n          var result = /* @__PURE__ */ new Map();\n          _this.traverseNodes(root, function(next) {\n            var id2 = next.$id || next.id;\n            if (typeof id2 === \"string\" && id2.charAt(0) === \"#\") {\n              var anchor = id2.substring(1);\n              if (result.has(anchor)) {\n                resolveErrors.push(localize6(\"json.schema.duplicateid\", \"Duplicate id declaration: '{0}'\", id2));\n              } else {\n                result.set(anchor, next);\n              }\n            }\n          });\n          return result;\n        };\n        return resolveRefs(schema2, schema2, handle).then(function(_) {\n          return new ResolvedSchema(schema2, resolveErrors);\n        });\n      };\n      JSONSchemaService2.prototype.traverseNodes = function(root, handle) {\n        if (!root || typeof root !== \"object\") {\n          return Promise.resolve(null);\n        }\n        var seen = /* @__PURE__ */ new Set();\n        var collectEntries = function() {\n          var entries = [];\n          for (var _i = 0; _i < arguments.length; _i++) {\n            entries[_i] = arguments[_i];\n          }\n          for (var _a4 = 0, entries_1 = entries; _a4 < entries_1.length; _a4++) {\n            var entry = entries_1[_a4];\n            if (typeof entry === \"object\") {\n              toWalk.push(entry);\n            }\n          }\n        };\n        var collectMapEntries = function() {\n          var maps = [];\n          for (var _i = 0; _i < arguments.length; _i++) {\n            maps[_i] = arguments[_i];\n          }\n          for (var _a4 = 0, maps_1 = maps; _a4 < maps_1.length; _a4++) {\n            var map = maps_1[_a4];\n            if (typeof map === \"object\") {\n              for (var k in map) {\n                var key = k;\n                var entry = map[key];\n                if (typeof entry === \"object\") {\n                  toWalk.push(entry);\n                }\n              }\n            }\n          }\n        };\n        var collectArrayEntries = function() {\n          var arrays = [];\n          for (var _i = 0; _i < arguments.length; _i++) {\n            arrays[_i] = arguments[_i];\n          }\n          for (var _a4 = 0, arrays_1 = arrays; _a4 < arrays_1.length; _a4++) {\n            var array = arrays_1[_a4];\n            if (Array.isArray(array)) {\n              for (var _b3 = 0, array_1 = array; _b3 < array_1.length; _b3++) {\n                var entry = array_1[_b3];\n                if (typeof entry === \"object\") {\n                  toWalk.push(entry);\n                }\n              }\n            }\n          }\n        };\n        var toWalk = [root];\n        var next = toWalk.pop();\n        while (next) {\n          if (!seen.has(next)) {\n            seen.add(next);\n            handle(next);\n            collectEntries(next.items, next.additionalItems, next.additionalProperties, next.not, next.contains, next.propertyNames, next.if, next.then, next.else);\n            collectMapEntries(next.definitions, next.properties, next.patternProperties, next.dependencies);\n            collectArrayEntries(next.anyOf, next.allOf, next.oneOf, next.items);\n          }\n          next = toWalk.pop();\n        }\n      };\n      ;\n      JSONSchemaService2.prototype.getSchemaFromProperty = function(resource, document2) {\n        var _a4, _b3;\n        if (((_a4 = document2.root) === null || _a4 === void 0 ? void 0 : _a4.type) === \"object\") {\n          for (var _i = 0, _c = document2.root.properties; _i < _c.length; _i++) {\n            var p = _c[_i];\n            if (p.keyNode.value === \"$schema\" && ((_b3 = p.valueNode) === null || _b3 === void 0 ? void 0 : _b3.type) === \"string\") {\n              var schemaId = p.valueNode.value;\n              if (this.contextService && !/^\\w[\\w\\d+.-]*:/.test(schemaId)) {\n                schemaId = this.contextService.resolveRelativePath(schemaId, resource);\n              }\n              return schemaId;\n            }\n          }\n        }\n        return void 0;\n      };\n      JSONSchemaService2.prototype.getAssociatedSchemas = function(resource) {\n        var seen = /* @__PURE__ */ Object.create(null);\n        var schemas = [];\n        var normalizedResource = normalizeResourceForMatching(resource);\n        for (var _i = 0, _a4 = this.filePatternAssociations; _i < _a4.length; _i++) {\n          var entry = _a4[_i];\n          if (entry.matchesPattern(normalizedResource)) {\n            for (var _b3 = 0, _c = entry.getURIs(); _b3 < _c.length; _b3++) {\n              var schemaId = _c[_b3];\n              if (!seen[schemaId]) {\n                schemas.push(schemaId);\n                seen[schemaId] = true;\n              }\n            }\n          }\n        }\n        return schemas;\n      };\n      JSONSchemaService2.prototype.getSchemaURIsForResource = function(resource, document2) {\n        var schemeId = document2 && this.getSchemaFromProperty(resource, document2);\n        if (schemeId) {\n          return [schemeId];\n        }\n        return this.getAssociatedSchemas(resource);\n      };\n      JSONSchemaService2.prototype.getSchemaForResource = function(resource, document2) {\n        if (document2) {\n          var schemeId = this.getSchemaFromProperty(resource, document2);\n          if (schemeId) {\n            var id = normalizeId(schemeId);\n            return this.getOrAddSchemaHandle(id).getResolvedSchema();\n          }\n        }\n        if (this.cachedSchemaForResource && this.cachedSchemaForResource.resource === resource) {\n          return this.cachedSchemaForResource.resolvedSchema;\n        }\n        var schemas = this.getAssociatedSchemas(resource);\n        var resolvedSchema = schemas.length > 0 ? this.createCombinedSchema(resource, schemas).getResolvedSchema() : this.promise.resolve(void 0);\n        this.cachedSchemaForResource = { resource, resolvedSchema };\n        return resolvedSchema;\n      };\n      JSONSchemaService2.prototype.createCombinedSchema = function(resource, schemaIds) {\n        if (schemaIds.length === 1) {\n          return this.getOrAddSchemaHandle(schemaIds[0]);\n        } else {\n          var combinedSchemaId = \"schemaservice://combinedSchema/\" + encodeURIComponent(resource);\n          var combinedSchema = {\n            allOf: schemaIds.map(function(schemaId) {\n              return { $ref: schemaId };\n            })\n          };\n          return this.addSchemaHandle(combinedSchemaId, combinedSchema);\n        }\n      };\n      JSONSchemaService2.prototype.getMatchingSchemas = function(document2, jsonDocument, schema2) {\n        if (schema2) {\n          var id = schema2.id || \"schemaservice://untitled/matchingSchemas/\" + idCounter2++;\n          var handle = this.addSchemaHandle(id, schema2);\n          return handle.getResolvedSchema().then(function(resolvedSchema) {\n            return jsonDocument.getMatchingSchemas(resolvedSchema.schema).filter(function(s) {\n              return !s.inverted;\n            });\n          });\n        }\n        return this.getSchemaForResource(document2.uri, jsonDocument).then(function(schema22) {\n          if (schema22) {\n            return jsonDocument.getMatchingSchemas(schema22.schema).filter(function(s) {\n              return !s.inverted;\n            });\n          }\n          return [];\n        });\n      };\n      return JSONSchemaService2;\n    }()\n  );\n  var idCounter2 = 0;\n  function normalizeId(id) {\n    try {\n      return URI2.parse(id).toString(true);\n    } catch (e) {\n      return id;\n    }\n  }\n  function normalizeResourceForMatching(resource) {\n    try {\n      return URI2.parse(resource).with({ fragment: null, query: null }).toString(true);\n    } catch (e) {\n      return resource;\n    }\n  }\n  function toDisplayString(url) {\n    try {\n      var uri = URI2.parse(url);\n      if (uri.scheme === \"file\") {\n        return uri.fsPath;\n      }\n    } catch (e) {\n    }\n    return url;\n  }\n  function getFoldingRanges(document2, context) {\n    var ranges = [];\n    var nestingLevels = [];\n    var stack = [];\n    var prevStart = -1;\n    var scanner = createScanner2(document2.getText(), false);\n    var token = scanner.scan();\n    function addRange(range2) {\n      ranges.push(range2);\n      nestingLevels.push(stack.length);\n    }\n    while (token !== 17) {\n      switch (token) {\n        case 1:\n        case 3: {\n          var startLine = document2.positionAt(scanner.getTokenOffset()).line;\n          var range = { startLine, endLine: startLine, kind: token === 1 ? \"object\" : \"array\" };\n          stack.push(range);\n          break;\n        }\n        case 2:\n        case 4: {\n          var kind = token === 2 ? \"object\" : \"array\";\n          if (stack.length > 0 && stack[stack.length - 1].kind === kind) {\n            var range = stack.pop();\n            var line = document2.positionAt(scanner.getTokenOffset()).line;\n            if (range && line > range.startLine + 1 && prevStart !== range.startLine) {\n              range.endLine = line - 1;\n              addRange(range);\n              prevStart = range.startLine;\n            }\n          }\n          break;\n        }\n        case 13: {\n          var startLine = document2.positionAt(scanner.getTokenOffset()).line;\n          var endLine = document2.positionAt(scanner.getTokenOffset() + scanner.getTokenLength()).line;\n          if (scanner.getTokenError() === 1 && startLine + 1 < document2.lineCount) {\n            scanner.setPosition(document2.offsetAt(Position2.create(startLine + 1, 0)));\n          } else {\n            if (startLine < endLine) {\n              addRange({ startLine, endLine, kind: FoldingRangeKind2.Comment });\n              prevStart = startLine;\n            }\n          }\n          break;\n        }\n        case 12: {\n          var text = document2.getText().substr(scanner.getTokenOffset(), scanner.getTokenLength());\n          var m = text.match(/^\\/\\/\\s*#(region\\b)|(endregion\\b)/);\n          if (m) {\n            var line = document2.positionAt(scanner.getTokenOffset()).line;\n            if (m[1]) {\n              var range = { startLine: line, endLine: line, kind: FoldingRangeKind2.Region };\n              stack.push(range);\n            } else {\n              var i = stack.length - 1;\n              while (i >= 0 && stack[i].kind !== FoldingRangeKind2.Region) {\n                i--;\n              }\n              if (i >= 0) {\n                var range = stack[i];\n                stack.length = i;\n                if (line > range.startLine && prevStart !== range.startLine) {\n                  range.endLine = line;\n                  addRange(range);\n                  prevStart = range.startLine;\n                }\n              }\n            }\n          }\n          break;\n        }\n      }\n      token = scanner.scan();\n    }\n    var rangeLimit = context && context.rangeLimit;\n    if (typeof rangeLimit !== \"number\" || ranges.length <= rangeLimit) {\n      return ranges;\n    }\n    if (context && context.onRangeLimitExceeded) {\n      context.onRangeLimitExceeded(document2.uri);\n    }\n    var counts = [];\n    for (var _i = 0, nestingLevels_1 = nestingLevels; _i < nestingLevels_1.length; _i++) {\n      var level = nestingLevels_1[_i];\n      if (level < 30) {\n        counts[level] = (counts[level] || 0) + 1;\n      }\n    }\n    var entries = 0;\n    var maxLevel = 0;\n    for (var i = 0; i < counts.length; i++) {\n      var n = counts[i];\n      if (n) {\n        if (n + entries > rangeLimit) {\n          maxLevel = i;\n          break;\n        }\n        entries += n;\n      }\n    }\n    var result = [];\n    for (var i = 0; i < ranges.length; i++) {\n      var level = nestingLevels[i];\n      if (typeof level === \"number\") {\n        if (level < maxLevel || level === maxLevel && entries++ < rangeLimit) {\n          result.push(ranges[i]);\n        }\n      }\n    }\n    return result;\n  }\n  function getSelectionRanges(document2, positions, doc) {\n    function getSelectionRange(position) {\n      var offset = document2.offsetAt(position);\n      var node = doc.getNodeFromOffset(offset, true);\n      var result = [];\n      while (node) {\n        switch (node.type) {\n          case \"string\":\n          case \"object\":\n          case \"array\":\n            var cStart = node.offset + 1, cEnd = node.offset + node.length - 1;\n            if (cStart < cEnd && offset >= cStart && offset <= cEnd) {\n              result.push(newRange(cStart, cEnd));\n            }\n            result.push(newRange(node.offset, node.offset + node.length));\n            break;\n          case \"number\":\n          case \"boolean\":\n          case \"null\":\n          case \"property\":\n            result.push(newRange(node.offset, node.offset + node.length));\n            break;\n        }\n        if (node.type === \"property\" || node.parent && node.parent.type === \"array\") {\n          var afterCommaOffset = getOffsetAfterNextToken(\n            node.offset + node.length,\n            5\n            /* CommaToken */\n          );\n          if (afterCommaOffset !== -1) {\n            result.push(newRange(node.offset, afterCommaOffset));\n          }\n        }\n        node = node.parent;\n      }\n      var current = void 0;\n      for (var index = result.length - 1; index >= 0; index--) {\n        current = SelectionRange.create(result[index], current);\n      }\n      if (!current) {\n        current = SelectionRange.create(Range2.create(position, position));\n      }\n      return current;\n    }\n    function newRange(start, end) {\n      return Range2.create(document2.positionAt(start), document2.positionAt(end));\n    }\n    var scanner = createScanner2(document2.getText(), true);\n    function getOffsetAfterNextToken(offset, expectedToken) {\n      scanner.setPosition(offset);\n      var token = scanner.scan();\n      if (token === expectedToken) {\n        return scanner.getTokenOffset() + scanner.getTokenLength();\n      }\n      return -1;\n    }\n    return positions.map(getSelectionRange);\n  }\n  function findLinks(document2, doc) {\n    var links = [];\n    doc.visit(function(node) {\n      var _a4;\n      if (node.type === \"property\" && node.keyNode.value === \"$ref\" && ((_a4 = node.valueNode) === null || _a4 === void 0 ? void 0 : _a4.type) === \"string\") {\n        var path = node.valueNode.value;\n        var targetNode = findTargetNode(doc, path);\n        if (targetNode) {\n          var targetPos = document2.positionAt(targetNode.offset);\n          links.push({\n            target: \"\".concat(document2.uri, \"#\").concat(targetPos.line + 1, \",\").concat(targetPos.character + 1),\n            range: createRange(document2, node.valueNode)\n          });\n        }\n      }\n      return true;\n    });\n    return Promise.resolve(links);\n  }\n  function createRange(document2, node) {\n    return Range2.create(document2.positionAt(node.offset + 1), document2.positionAt(node.offset + node.length - 1));\n  }\n  function findTargetNode(doc, path) {\n    var tokens = parseJSONPointer(path);\n    if (!tokens) {\n      return null;\n    }\n    return findNode(tokens, doc.root);\n  }\n  function findNode(pointer, node) {\n    if (!node) {\n      return null;\n    }\n    if (pointer.length === 0) {\n      return node;\n    }\n    var token = pointer.shift();\n    if (node && node.type === \"object\") {\n      var propertyNode = node.properties.find(function(propertyNode2) {\n        return propertyNode2.keyNode.value === token;\n      });\n      if (!propertyNode) {\n        return null;\n      }\n      return findNode(pointer, propertyNode.valueNode);\n    } else if (node && node.type === \"array\") {\n      if (token.match(/^(0|[1-9][0-9]*)$/)) {\n        var index = Number.parseInt(token);\n        var arrayItem = node.items[index];\n        if (!arrayItem) {\n          return null;\n        }\n        return findNode(pointer, arrayItem);\n      }\n    }\n    return null;\n  }\n  function parseJSONPointer(path) {\n    if (path === \"#\") {\n      return [];\n    }\n    if (path[0] !== \"#\" || path[1] !== \"/\") {\n      return null;\n    }\n    return path.substring(2).split(/\\//).map(unescape);\n  }\n  function unescape(str) {\n    return str.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n  }\n  function getLanguageService(params) {\n    var promise = params.promiseConstructor || Promise;\n    var jsonSchemaService = new JSONSchemaService(params.schemaRequestService, params.workspaceContext, promise);\n    jsonSchemaService.setSchemaContributions(schemaContributions);\n    var jsonCompletion = new JSONCompletion(jsonSchemaService, params.contributions, promise, params.clientCapabilities);\n    var jsonHover = new JSONHover(jsonSchemaService, params.contributions, promise);\n    var jsonDocumentSymbols = new JSONDocumentSymbols(jsonSchemaService);\n    var jsonValidation = new JSONValidation(jsonSchemaService, promise);\n    return {\n      configure: function(settings) {\n        jsonSchemaService.clearExternalSchemas();\n        if (settings.schemas) {\n          settings.schemas.forEach(function(settings2) {\n            jsonSchemaService.registerExternalSchema(settings2.uri, settings2.fileMatch, settings2.schema);\n          });\n        }\n        jsonValidation.configure(settings);\n      },\n      resetSchema: function(uri) {\n        return jsonSchemaService.onResourceChange(uri);\n      },\n      doValidation: jsonValidation.doValidation.bind(jsonValidation),\n      getLanguageStatus: jsonValidation.getLanguageStatus.bind(jsonValidation),\n      parseJSONDocument: function(document2) {\n        return parse3(document2, { collectComments: true });\n      },\n      newJSONDocument: function(root, diagnostics) {\n        return newJSONDocument(root, diagnostics);\n      },\n      getMatchingSchemas: jsonSchemaService.getMatchingSchemas.bind(jsonSchemaService),\n      doResolve: jsonCompletion.doResolve.bind(jsonCompletion),\n      doComplete: jsonCompletion.doComplete.bind(jsonCompletion),\n      findDocumentSymbols: jsonDocumentSymbols.findDocumentSymbols.bind(jsonDocumentSymbols),\n      findDocumentSymbols2: jsonDocumentSymbols.findDocumentSymbols2.bind(jsonDocumentSymbols),\n      findDocumentColors: jsonDocumentSymbols.findDocumentColors.bind(jsonDocumentSymbols),\n      getColorPresentations: jsonDocumentSymbols.getColorPresentations.bind(jsonDocumentSymbols),\n      doHover: jsonHover.doHover.bind(jsonHover),\n      getFoldingRanges,\n      getSelectionRanges,\n      findDefinition: function() {\n        return Promise.resolve([]);\n      },\n      findLinks,\n      format: function(d, r, o) {\n        var range = void 0;\n        if (r) {\n          var offset = d.offsetAt(r.start);\n          var length = d.offsetAt(r.end) - offset;\n          range = { offset, length };\n        }\n        var options = { tabSize: o ? o.tabSize : 4, insertSpaces: (o === null || o === void 0 ? void 0 : o.insertSpaces) === true, insertFinalNewline: (o === null || o === void 0 ? void 0 : o.insertFinalNewline) === true, eol: \"\\n\" };\n        return format2(d.getText(), range, options).map(function(e) {\n          return TextEdit.replace(Range2.create(d.positionAt(e.offset), d.positionAt(e.offset + e.length)), e.content);\n        });\n      }\n    };\n  }\n  var defaultSchemaRequestService;\n  if (typeof fetch !== \"undefined\") {\n    defaultSchemaRequestService = function(url) {\n      return fetch(url).then((response) => response.text());\n    };\n  }\n  var JSONWorker = class {\n    constructor(ctx, createData) {\n      this._ctx = ctx;\n      this._languageSettings = createData.languageSettings;\n      this._languageId = createData.languageId;\n      this._languageService = getLanguageService({\n        workspaceContext: {\n          resolveRelativePath: (relativePath, resource) => {\n            const base = resource.substr(0, resource.lastIndexOf(\"/\") + 1);\n            return resolvePath(base, relativePath);\n          }\n        },\n        schemaRequestService: createData.enableSchemaRequest ? defaultSchemaRequestService : void 0,\n        clientCapabilities: ClientCapabilities.LATEST\n      });\n      this._languageService.configure(this._languageSettings);\n    }\n    async doValidation(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (document2) {\n        let jsonDocument = this._languageService.parseJSONDocument(document2);\n        return this._languageService.doValidation(document2, jsonDocument, this._languageSettings);\n      }\n      return Promise.resolve([]);\n    }\n    async doComplete(uri, position) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      return this._languageService.doComplete(document2, position, jsonDocument);\n    }\n    async doResolve(item) {\n      return this._languageService.doResolve(item);\n    }\n    async doHover(uri, position) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      return this._languageService.doHover(document2, position, jsonDocument);\n    }\n    async format(uri, range, options) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let textEdits = this._languageService.format(document2, range, options);\n      return Promise.resolve(textEdits);\n    }\n    async resetSchema(uri) {\n      return Promise.resolve(this._languageService.resetSchema(uri));\n    }\n    async findDocumentSymbols(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      let symbols = this._languageService.findDocumentSymbols2(document2, jsonDocument);\n      return Promise.resolve(symbols);\n    }\n    async findDocumentColors(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      let colorSymbols = this._languageService.findDocumentColors(document2, jsonDocument);\n      return Promise.resolve(colorSymbols);\n    }\n    async getColorPresentations(uri, color, range) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      let colorPresentations = this._languageService.getColorPresentations(\n        document2,\n        jsonDocument,\n        color,\n        range\n      );\n      return Promise.resolve(colorPresentations);\n    }\n    async getFoldingRanges(uri, context) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let ranges = this._languageService.getFoldingRanges(document2, context);\n      return Promise.resolve(ranges);\n    }\n    async getSelectionRanges(uri, positions) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      let ranges = this._languageService.getSelectionRanges(document2, positions, jsonDocument);\n      return Promise.resolve(ranges);\n    }\n    async parseJSONDocument(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return null;\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      return Promise.resolve(jsonDocument);\n    }\n    async getMatchingSchemas(uri) {\n      let document2 = this._getTextDocument(uri);\n      if (!document2) {\n        return [];\n      }\n      let jsonDocument = this._languageService.parseJSONDocument(document2);\n      return Promise.resolve(this._languageService.getMatchingSchemas(document2, jsonDocument));\n    }\n    _getTextDocument(uri) {\n      let models = this._ctx.getMirrorModels();\n      for (let model of models) {\n        if (model.uri.toString() === uri) {\n          return TextDocument2.create(\n            uri,\n            this._languageId,\n            model.version,\n            model.getValue()\n          );\n        }\n      }\n      return null;\n    }\n  };\n  var Slash = \"/\".charCodeAt(0);\n  var Dot = \".\".charCodeAt(0);\n  function isAbsolutePath(path) {\n    return path.charCodeAt(0) === Slash;\n  }\n  function resolvePath(uriString, path) {\n    if (isAbsolutePath(path)) {\n      const uri = URI2.parse(uriString);\n      const parts = path.split(\"/\");\n      return uri.with({ path: normalizePath(parts) }).toString();\n    }\n    return joinPath(uriString, path);\n  }\n  function normalizePath(parts) {\n    const newParts = [];\n    for (const part of parts) {\n      if (part.length === 0 || part.length === 1 && part.charCodeAt(0) === Dot) {\n      } else if (part.length === 2 && part.charCodeAt(0) === Dot && part.charCodeAt(1) === Dot) {\n        newParts.pop();\n      } else {\n        newParts.push(part);\n      }\n    }\n    if (parts.length > 1 && parts[parts.length - 1].length === 0) {\n      newParts.push(\"\");\n    }\n    let res = newParts.join(\"/\");\n    if (parts[0].length === 0) {\n      res = \"/\" + res;\n    }\n    return res;\n  }\n  function joinPath(uriString, ...paths) {\n    const uri = URI2.parse(uriString);\n    const parts = uri.path.split(\"/\");\n    for (let path of paths) {\n      parts.push(...path.split(\"/\"));\n    }\n    return uri.with({ path: normalizePath(parts) }).toString();\n  }\n  self.onmessage = () => {\n    initialize((ctx, createData) => {\n      return new JSONWorker(ctx, createData);\n    });\n  };\n})();\n/*! Bundled license information:\n\nmonaco-editor/esm/vs/language/json/json.worker.js:\n  (*!-----------------------------------------------------------------------------\n   * Copyright (c) Microsoft Corporation. All rights reserved.\n   * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n   * Released under the MIT license\n   * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n   *-----------------------------------------------------------------------------*)\n*/\n"
  },
  {
    "path": "backend/openui/dist/monacoeditorwork/tailwindcss.worker.bundle.js",
    "content": "(() => {\n  var __create = Object.create;\n  var __defProp = Object.defineProperty;\n  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;\n  var __getOwnPropNames = Object.getOwnPropertyNames;\n  var __getProtoOf = Object.getPrototypeOf;\n  var __hasOwnProp = Object.prototype.hasOwnProperty;\n  var __commonJS = (cb, mod) => function __require() {\n    return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n  };\n  var __copyProps = (to, from, except, desc) => {\n    if (from && typeof from === \"object\" || typeof from === \"function\") {\n      for (let key of __getOwnPropNames(from))\n        if (!__hasOwnProp.call(to, key) && key !== except)\n          __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n    }\n    return to;\n  };\n  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n    // If the importer is in node compatibility mode or this is not an ESM\n    // file that has been converted to a CommonJS file using a Babel-\n    // compatible transform (i.e. \"__esModule\" has not been set), then set\n    // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n    isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n    mod\n  ));\n\n  // node_modules/.pnpm/dlv@1.1.3/node_modules/dlv/dist/dlv.umd.js\n  var require_dlv_umd = __commonJS({\n    \"node_modules/.pnpm/dlv@1.1.3/node_modules/dlv/dist/dlv.umd.js\"(exports, module) {\n      !function(t2, n2) {\n        \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = function(t3, n3, e5, i2, o2) {\n          for (n3 = n3.split ? n3.split(\".\") : n3, i2 = 0; i2 < n3.length; i2++) t3 = t3 ? t3[n3[i2]] : o2;\n          return t3 === o2 ? e5 : t3;\n        } : \"function\" == typeof define && define.amd ? define(function() {\n          return function(t3, n3, e5, i2, o2) {\n            for (n3 = n3.split ? n3.split(\".\") : n3, i2 = 0; i2 < n3.length; i2++) t3 = t3 ? t3[n3[i2]] : o2;\n            return t3 === o2 ? e5 : t3;\n          };\n        }) : t2.dlv = function(t3, n3, e5, i2, o2) {\n          for (n3 = n3.split ? n3.split(\".\") : n3, i2 = 0; i2 < n3.length; i2++) t3 = t3 ? t3[n3[i2]] : o2;\n          return t3 === o2 ? e5 : t3;\n        };\n      }(exports);\n    }\n  });\n\n  // node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.browser.js\n  var require_picocolors_browser = __commonJS({\n    \"node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.browser.js\"(exports, module) {\n      var x2 = String;\n      var create = function() {\n        return { isColorSupported: false, reset: x2, bold: x2, dim: x2, italic: x2, underline: x2, inverse: x2, hidden: x2, strikethrough: x2, black: x2, red: x2, green: x2, yellow: x2, blue: x2, magenta: x2, cyan: x2, white: x2, gray: x2, bgBlack: x2, bgRed: x2, bgGreen: x2, bgYellow: x2, bgBlue: x2, bgMagenta: x2, bgCyan: x2, bgWhite: x2, blackBright: x2, redBright: x2, greenBright: x2, yellowBright: x2, blueBright: x2, magentaBright: x2, cyanBright: x2, whiteBright: x2, bgBlackBright: x2, bgRedBright: x2, bgGreenBright: x2, bgYellowBright: x2, bgBlueBright: x2, bgMagentaBright: x2, bgCyanBright: x2, bgWhiteBright: x2 };\n      };\n      module.exports = create();\n      module.exports.createColors = create;\n    }\n  });\n\n  // (disabled):node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/terminal-highlight\n  var require_terminal_highlight = __commonJS({\n    \"(disabled):node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/terminal-highlight\"() {\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/css-syntax-error.js\n  var require_css_syntax_error = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/css-syntax-error.js\"(exports, module) {\n      \"use strict\";\n      var pico = require_picocolors_browser();\n      var terminalHighlight = require_terminal_highlight();\n      var CssSyntaxError2 = class _CssSyntaxError extends Error {\n        constructor(message, line, column, source, file, plugin2) {\n          super(message);\n          this.name = \"CssSyntaxError\";\n          this.reason = message;\n          if (file) {\n            this.file = file;\n          }\n          if (source) {\n            this.source = source;\n          }\n          if (plugin2) {\n            this.plugin = plugin2;\n          }\n          if (typeof line !== \"undefined\" && typeof column !== \"undefined\") {\n            if (typeof line === \"number\") {\n              this.line = line;\n              this.column = column;\n            } else {\n              this.line = line.line;\n              this.column = line.column;\n              this.endLine = column.line;\n              this.endColumn = column.column;\n            }\n          }\n          this.setMessage();\n          if (Error.captureStackTrace) {\n            Error.captureStackTrace(this, _CssSyntaxError);\n          }\n        }\n        setMessage() {\n          this.message = this.plugin ? this.plugin + \": \" : \"\";\n          this.message += this.file ? this.file : \"<css input>\";\n          if (typeof this.line !== \"undefined\") {\n            this.message += \":\" + this.line + \":\" + this.column;\n          }\n          this.message += \": \" + this.reason;\n        }\n        showSourceCode(color2) {\n          if (!this.source) return \"\";\n          let css = this.source;\n          if (color2 == null) color2 = pico.isColorSupported;\n          let aside = (text2) => text2;\n          let mark = (text2) => text2;\n          let highlight = (text2) => text2;\n          if (color2) {\n            let { bold, gray, red } = pico.createColors(true);\n            mark = (text2) => bold(red(text2));\n            aside = (text2) => gray(text2);\n            if (terminalHighlight) {\n              highlight = (text2) => terminalHighlight(text2);\n            }\n          }\n          let lines = css.split(/\\r?\\n/);\n          let start = Math.max(this.line - 3, 0);\n          let end = Math.min(this.line + 2, lines.length);\n          let maxWidth = String(end).length;\n          return lines.slice(start, end).map((line, index2) => {\n            let number2 = start + 1 + index2;\n            let gutter = \" \" + (\" \" + number2).slice(-maxWidth) + \" | \";\n            if (number2 === this.line) {\n              if (line.length > 160) {\n                let padding = 20;\n                let subLineStart = Math.max(0, this.column - padding);\n                let subLineEnd = Math.max(\n                  this.column + padding,\n                  this.endColumn + padding\n                );\n                let subLine = line.slice(subLineStart, subLineEnd);\n                let spacing2 = aside(gutter.replace(/\\d/g, \" \")) + line.slice(0, Math.min(this.column - 1, padding - 1)).replace(/[^\\t]/g, \" \");\n                return mark(\">\") + aside(gutter) + highlight(subLine) + \"\\n \" + spacing2 + mark(\"^\");\n              }\n              let spacing = aside(gutter.replace(/\\d/g, \" \")) + line.slice(0, this.column - 1).replace(/[^\\t]/g, \" \");\n              return mark(\">\") + aside(gutter) + highlight(line) + \"\\n \" + spacing + mark(\"^\");\n            }\n            return \" \" + aside(gutter) + highlight(line);\n          }).join(\"\\n\");\n        }\n        toString() {\n          let code = this.showSourceCode();\n          if (code) {\n            code = \"\\n\\n\" + code + \"\\n\";\n          }\n          return this.name + \": \" + this.message + code;\n        }\n      };\n      module.exports = CssSyntaxError2;\n      CssSyntaxError2.default = CssSyntaxError2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/stringifier.js\n  var require_stringifier = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/stringifier.js\"(exports, module) {\n      \"use strict\";\n      var DEFAULT_RAW = {\n        after: \"\\n\",\n        beforeClose: \"\\n\",\n        beforeComment: \"\\n\",\n        beforeDecl: \"\\n\",\n        beforeOpen: \" \",\n        beforeRule: \"\\n\",\n        colon: \": \",\n        commentLeft: \" \",\n        commentRight: \" \",\n        emptyBody: \"\",\n        indent: \"    \",\n        semicolon: false\n      };\n      function capitalize(str) {\n        return str[0].toUpperCase() + str.slice(1);\n      }\n      var Stringifier = class {\n        constructor(builder) {\n          this.builder = builder;\n        }\n        atrule(node, semicolon) {\n          let name = \"@\" + node.name;\n          let params = node.params ? this.rawValue(node, \"params\") : \"\";\n          if (typeof node.raws.afterName !== \"undefined\") {\n            name += node.raws.afterName;\n          } else if (params) {\n            name += \" \";\n          }\n          if (node.nodes) {\n            this.block(node, name + params);\n          } else {\n            let end = (node.raws.between || \"\") + (semicolon ? \";\" : \"\");\n            this.builder(name + params + end, node);\n          }\n        }\n        beforeAfter(node, detect) {\n          let value2;\n          if (node.type === \"decl\") {\n            value2 = this.raw(node, null, \"beforeDecl\");\n          } else if (node.type === \"comment\") {\n            value2 = this.raw(node, null, \"beforeComment\");\n          } else if (detect === \"before\") {\n            value2 = this.raw(node, null, \"beforeRule\");\n          } else {\n            value2 = this.raw(node, null, \"beforeClose\");\n          }\n          let buf = node.parent;\n          let depth = 0;\n          while (buf && buf.type !== \"root\") {\n            depth += 1;\n            buf = buf.parent;\n          }\n          if (value2.includes(\"\\n\")) {\n            let indent = this.raw(node, null, \"indent\");\n            if (indent.length) {\n              for (let step = 0; step < depth; step++) value2 += indent;\n            }\n          }\n          return value2;\n        }\n        block(node, start) {\n          let between = this.raw(node, \"between\", \"beforeOpen\");\n          this.builder(start + between + \"{\", node, \"start\");\n          let after;\n          if (node.nodes && node.nodes.length) {\n            this.body(node);\n            after = this.raw(node, \"after\");\n          } else {\n            after = this.raw(node, \"after\", \"emptyBody\");\n          }\n          if (after) this.builder(after);\n          this.builder(\"}\", node, \"end\");\n        }\n        body(node) {\n          let last = node.nodes.length - 1;\n          while (last > 0) {\n            if (node.nodes[last].type !== \"comment\") break;\n            last -= 1;\n          }\n          let semicolon = this.raw(node, \"semicolon\");\n          for (let i2 = 0; i2 < node.nodes.length; i2++) {\n            let child = node.nodes[i2];\n            let before = this.raw(child, \"before\");\n            if (before) this.builder(before);\n            this.stringify(child, last !== i2 || semicolon);\n          }\n        }\n        comment(node) {\n          let left = this.raw(node, \"left\", \"commentLeft\");\n          let right = this.raw(node, \"right\", \"commentRight\");\n          this.builder(\"/*\" + left + node.text + right + \"*/\", node);\n        }\n        decl(node, semicolon) {\n          let between = this.raw(node, \"between\", \"colon\");\n          let string = node.prop + between + this.rawValue(node, \"value\");\n          if (node.important) {\n            string += node.raws.important || \" !important\";\n          }\n          if (semicolon) string += \";\";\n          this.builder(string, node);\n        }\n        document(node) {\n          this.body(node);\n        }\n        raw(node, own, detect) {\n          let value2;\n          if (!detect) detect = own;\n          if (own) {\n            value2 = node.raws[own];\n            if (typeof value2 !== \"undefined\") return value2;\n          }\n          let parent = node.parent;\n          if (detect === \"before\") {\n            if (!parent || parent.type === \"root\" && parent.first === node) {\n              return \"\";\n            }\n            if (parent && parent.type === \"document\") {\n              return \"\";\n            }\n          }\n          if (!parent) return DEFAULT_RAW[detect];\n          let root2 = node.root();\n          if (!root2.rawCache) root2.rawCache = {};\n          if (typeof root2.rawCache[detect] !== \"undefined\") {\n            return root2.rawCache[detect];\n          }\n          if (detect === \"before\" || detect === \"after\") {\n            return this.beforeAfter(node, detect);\n          } else {\n            let method = \"raw\" + capitalize(detect);\n            if (this[method]) {\n              value2 = this[method](root2, node);\n            } else {\n              root2.walk((i2) => {\n                value2 = i2.raws[own];\n                if (typeof value2 !== \"undefined\") return false;\n              });\n            }\n          }\n          if (typeof value2 === \"undefined\") value2 = DEFAULT_RAW[detect];\n          root2.rawCache[detect] = value2;\n          return value2;\n        }\n        rawBeforeClose(root2) {\n          let value2;\n          root2.walk((i2) => {\n            if (i2.nodes && i2.nodes.length > 0) {\n              if (typeof i2.raws.after !== \"undefined\") {\n                value2 = i2.raws.after;\n                if (value2.includes(\"\\n\")) {\n                  value2 = value2.replace(/[^\\n]+$/, \"\");\n                }\n                return false;\n              }\n            }\n          });\n          if (value2) value2 = value2.replace(/\\S/g, \"\");\n          return value2;\n        }\n        rawBeforeComment(root2, node) {\n          let value2;\n          root2.walkComments((i2) => {\n            if (typeof i2.raws.before !== \"undefined\") {\n              value2 = i2.raws.before;\n              if (value2.includes(\"\\n\")) {\n                value2 = value2.replace(/[^\\n]+$/, \"\");\n              }\n              return false;\n            }\n          });\n          if (typeof value2 === \"undefined\") {\n            value2 = this.raw(node, null, \"beforeDecl\");\n          } else if (value2) {\n            value2 = value2.replace(/\\S/g, \"\");\n          }\n          return value2;\n        }\n        rawBeforeDecl(root2, node) {\n          let value2;\n          root2.walkDecls((i2) => {\n            if (typeof i2.raws.before !== \"undefined\") {\n              value2 = i2.raws.before;\n              if (value2.includes(\"\\n\")) {\n                value2 = value2.replace(/[^\\n]+$/, \"\");\n              }\n              return false;\n            }\n          });\n          if (typeof value2 === \"undefined\") {\n            value2 = this.raw(node, null, \"beforeRule\");\n          } else if (value2) {\n            value2 = value2.replace(/\\S/g, \"\");\n          }\n          return value2;\n        }\n        rawBeforeOpen(root2) {\n          let value2;\n          root2.walk((i2) => {\n            if (i2.type !== \"decl\") {\n              value2 = i2.raws.between;\n              if (typeof value2 !== \"undefined\") return false;\n            }\n          });\n          return value2;\n        }\n        rawBeforeRule(root2) {\n          let value2;\n          root2.walk((i2) => {\n            if (i2.nodes && (i2.parent !== root2 || root2.first !== i2)) {\n              if (typeof i2.raws.before !== \"undefined\") {\n                value2 = i2.raws.before;\n                if (value2.includes(\"\\n\")) {\n                  value2 = value2.replace(/[^\\n]+$/, \"\");\n                }\n                return false;\n              }\n            }\n          });\n          if (value2) value2 = value2.replace(/\\S/g, \"\");\n          return value2;\n        }\n        rawColon(root2) {\n          let value2;\n          root2.walkDecls((i2) => {\n            if (typeof i2.raws.between !== \"undefined\") {\n              value2 = i2.raws.between.replace(/[^\\s:]/g, \"\");\n              return false;\n            }\n          });\n          return value2;\n        }\n        rawEmptyBody(root2) {\n          let value2;\n          root2.walk((i2) => {\n            if (i2.nodes && i2.nodes.length === 0) {\n              value2 = i2.raws.after;\n              if (typeof value2 !== \"undefined\") return false;\n            }\n          });\n          return value2;\n        }\n        rawIndent(root2) {\n          if (root2.raws.indent) return root2.raws.indent;\n          let value2;\n          root2.walk((i2) => {\n            let p4 = i2.parent;\n            if (p4 && p4 !== root2 && p4.parent && p4.parent === root2) {\n              if (typeof i2.raws.before !== \"undefined\") {\n                let parts = i2.raws.before.split(\"\\n\");\n                value2 = parts[parts.length - 1];\n                value2 = value2.replace(/\\S/g, \"\");\n                return false;\n              }\n            }\n          });\n          return value2;\n        }\n        rawSemicolon(root2) {\n          let value2;\n          root2.walk((i2) => {\n            if (i2.nodes && i2.nodes.length && i2.last.type === \"decl\") {\n              value2 = i2.raws.semicolon;\n              if (typeof value2 !== \"undefined\") return false;\n            }\n          });\n          return value2;\n        }\n        rawValue(node, prop) {\n          let value2 = node[prop];\n          let raw = node.raws[prop];\n          if (raw && raw.value === value2) {\n            return raw.raw;\n          }\n          return value2;\n        }\n        root(node) {\n          this.body(node);\n          if (node.raws.after) this.builder(node.raws.after);\n        }\n        rule(node) {\n          this.block(node, this.rawValue(node, \"selector\"));\n          if (node.raws.ownSemicolon) {\n            this.builder(node.raws.ownSemicolon, node, \"end\");\n          }\n        }\n        stringify(node, semicolon) {\n          if (!this[node.type]) {\n            throw new Error(\n              \"Unknown AST node type \" + node.type + \". Maybe you need to change PostCSS stringifier.\"\n            );\n          }\n          this[node.type](node, semicolon);\n        }\n      };\n      module.exports = Stringifier;\n      Stringifier.default = Stringifier;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/stringify.js\n  var require_stringify = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/stringify.js\"(exports, module) {\n      \"use strict\";\n      var Stringifier = require_stringifier();\n      function stringify3(node, builder) {\n        let str = new Stringifier(builder);\n        str.stringify(node);\n      }\n      module.exports = stringify3;\n      stringify3.default = stringify3;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/symbols.js\n  var require_symbols = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/symbols.js\"(exports, module) {\n      \"use strict\";\n      module.exports.isClean = Symbol(\"isClean\");\n      module.exports.my = Symbol(\"my\");\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/node.js\n  var require_node = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/node.js\"(exports, module) {\n      \"use strict\";\n      var CssSyntaxError2 = require_css_syntax_error();\n      var Stringifier = require_stringifier();\n      var stringify3 = require_stringify();\n      var { isClean, my } = require_symbols();\n      function cloneNode(obj, parent) {\n        let cloned = new obj.constructor();\n        for (let i2 in obj) {\n          if (!Object.prototype.hasOwnProperty.call(obj, i2)) {\n            continue;\n          }\n          if (i2 === \"proxyCache\") continue;\n          let value2 = obj[i2];\n          let type = typeof value2;\n          if (i2 === \"parent\" && type === \"object\") {\n            if (parent) cloned[i2] = parent;\n          } else if (i2 === \"source\") {\n            cloned[i2] = value2;\n          } else if (Array.isArray(value2)) {\n            cloned[i2] = value2.map((j2) => cloneNode(j2, cloned));\n          } else {\n            if (type === \"object\" && value2 !== null) value2 = cloneNode(value2);\n            cloned[i2] = value2;\n          }\n        }\n        return cloned;\n      }\n      function sourceOffset(inputCSS, position2) {\n        if (position2 && typeof position2.offset !== \"undefined\") {\n          return position2.offset;\n        }\n        let column = 1;\n        let line = 1;\n        let offset = 0;\n        for (let i2 = 0; i2 < inputCSS.length; i2++) {\n          if (line === position2.line && column === position2.column) {\n            offset = i2;\n            break;\n          }\n          if (inputCSS[i2] === \"\\n\") {\n            column = 1;\n            line += 1;\n          } else {\n            column += 1;\n          }\n        }\n        return offset;\n      }\n      var Node3 = class {\n        get proxyOf() {\n          return this;\n        }\n        constructor(defaults3 = {}) {\n          this.raws = {};\n          this[isClean] = false;\n          this[my] = true;\n          for (let name in defaults3) {\n            if (name === \"nodes\") {\n              this.nodes = [];\n              for (let node of defaults3[name]) {\n                if (typeof node.clone === \"function\") {\n                  this.append(node.clone());\n                } else {\n                  this.append(node);\n                }\n              }\n            } else {\n              this[name] = defaults3[name];\n            }\n          }\n        }\n        addToError(error) {\n          error.postcssNode = this;\n          if (error.stack && this.source && /\\n\\s{4}at /.test(error.stack)) {\n            let s2 = this.source;\n            error.stack = error.stack.replace(\n              /\\n\\s{4}at /,\n              `$&${s2.input.from}:${s2.start.line}:${s2.start.column}$&`\n            );\n          }\n          return error;\n        }\n        after(add) {\n          this.parent.insertAfter(this, add);\n          return this;\n        }\n        assign(overrides = {}) {\n          for (let name in overrides) {\n            this[name] = overrides[name];\n          }\n          return this;\n        }\n        before(add) {\n          this.parent.insertBefore(this, add);\n          return this;\n        }\n        cleanRaws(keepBetween) {\n          delete this.raws.before;\n          delete this.raws.after;\n          if (!keepBetween) delete this.raws.between;\n        }\n        clone(overrides = {}) {\n          let cloned = cloneNode(this);\n          for (let name in overrides) {\n            cloned[name] = overrides[name];\n          }\n          return cloned;\n        }\n        cloneAfter(overrides = {}) {\n          let cloned = this.clone(overrides);\n          this.parent.insertAfter(this, cloned);\n          return cloned;\n        }\n        cloneBefore(overrides = {}) {\n          let cloned = this.clone(overrides);\n          this.parent.insertBefore(this, cloned);\n          return cloned;\n        }\n        error(message, opts = {}) {\n          if (this.source) {\n            let { end, start } = this.rangeBy(opts);\n            return this.source.input.error(\n              message,\n              { column: start.column, line: start.line },\n              { column: end.column, line: end.line },\n              opts\n            );\n          }\n          return new CssSyntaxError2(message);\n        }\n        getProxyProcessor() {\n          return {\n            get(node, prop) {\n              if (prop === \"proxyOf\") {\n                return node;\n              } else if (prop === \"root\") {\n                return () => node.root().toProxy();\n              } else {\n                return node[prop];\n              }\n            },\n            set(node, prop, value2) {\n              if (node[prop] === value2) return true;\n              node[prop] = value2;\n              if (prop === \"prop\" || prop === \"value\" || prop === \"name\" || prop === \"params\" || prop === \"important\" || /* c8 ignore next */\n              prop === \"text\") {\n                node.markDirty();\n              }\n              return true;\n            }\n          };\n        }\n        /* c8 ignore next 3 */\n        markClean() {\n          this[isClean] = true;\n        }\n        markDirty() {\n          if (this[isClean]) {\n            this[isClean] = false;\n            let next = this;\n            while (next = next.parent) {\n              next[isClean] = false;\n            }\n          }\n        }\n        next() {\n          if (!this.parent) return void 0;\n          let index2 = this.parent.index(this);\n          return this.parent.nodes[index2 + 1];\n        }\n        positionBy(opts) {\n          let pos = this.source.start;\n          if (opts.index) {\n            pos = this.positionInside(opts.index);\n          } else if (opts.word) {\n            let inputString = \"document\" in this.source.input ? this.source.input.document : this.source.input.css;\n            let stringRepresentation = inputString.slice(\n              sourceOffset(inputString, this.source.start),\n              sourceOffset(inputString, this.source.end)\n            );\n            let index2 = stringRepresentation.indexOf(opts.word);\n            if (index2 !== -1) pos = this.positionInside(index2);\n          }\n          return pos;\n        }\n        positionInside(index2) {\n          let column = this.source.start.column;\n          let line = this.source.start.line;\n          let inputString = \"document\" in this.source.input ? this.source.input.document : this.source.input.css;\n          let offset = sourceOffset(inputString, this.source.start);\n          let end = offset + index2;\n          for (let i2 = offset; i2 < end; i2++) {\n            if (inputString[i2] === \"\\n\") {\n              column = 1;\n              line += 1;\n            } else {\n              column += 1;\n            }\n          }\n          return { column, line };\n        }\n        prev() {\n          if (!this.parent) return void 0;\n          let index2 = this.parent.index(this);\n          return this.parent.nodes[index2 - 1];\n        }\n        rangeBy(opts) {\n          let start = {\n            column: this.source.start.column,\n            line: this.source.start.line\n          };\n          let end = this.source.end ? {\n            column: this.source.end.column + 1,\n            line: this.source.end.line\n          } : {\n            column: start.column + 1,\n            line: start.line\n          };\n          if (opts.word) {\n            let inputString = \"document\" in this.source.input ? this.source.input.document : this.source.input.css;\n            let stringRepresentation = inputString.slice(\n              sourceOffset(inputString, this.source.start),\n              sourceOffset(inputString, this.source.end)\n            );\n            let index2 = stringRepresentation.indexOf(opts.word);\n            if (index2 !== -1) {\n              start = this.positionInside(index2);\n              end = this.positionInside(\n                index2 + opts.word.length\n              );\n            }\n          } else {\n            if (opts.start) {\n              start = {\n                column: opts.start.column,\n                line: opts.start.line\n              };\n            } else if (opts.index) {\n              start = this.positionInside(opts.index);\n            }\n            if (opts.end) {\n              end = {\n                column: opts.end.column,\n                line: opts.end.line\n              };\n            } else if (typeof opts.endIndex === \"number\") {\n              end = this.positionInside(opts.endIndex);\n            } else if (opts.index) {\n              end = this.positionInside(opts.index + 1);\n            }\n          }\n          if (end.line < start.line || end.line === start.line && end.column <= start.column) {\n            end = { column: start.column + 1, line: start.line };\n          }\n          return { end, start };\n        }\n        raw(prop, defaultType) {\n          let str = new Stringifier();\n          return str.raw(this, prop, defaultType);\n        }\n        remove() {\n          if (this.parent) {\n            this.parent.removeChild(this);\n          }\n          this.parent = void 0;\n          return this;\n        }\n        replaceWith(...nodes) {\n          if (this.parent) {\n            let bookmark = this;\n            let foundSelf = false;\n            for (let node of nodes) {\n              if (node === this) {\n                foundSelf = true;\n              } else if (foundSelf) {\n                this.parent.insertAfter(bookmark, node);\n                bookmark = node;\n              } else {\n                this.parent.insertBefore(bookmark, node);\n              }\n            }\n            if (!foundSelf) {\n              this.remove();\n            }\n          }\n          return this;\n        }\n        root() {\n          let result = this;\n          while (result.parent && result.parent.type !== \"document\") {\n            result = result.parent;\n          }\n          return result;\n        }\n        toJSON(_2, inputs) {\n          let fixed = {};\n          let emitInputs = inputs == null;\n          inputs = inputs || /* @__PURE__ */ new Map();\n          let inputsNextIndex = 0;\n          for (let name in this) {\n            if (!Object.prototype.hasOwnProperty.call(this, name)) {\n              continue;\n            }\n            if (name === \"parent\" || name === \"proxyCache\") continue;\n            let value2 = this[name];\n            if (Array.isArray(value2)) {\n              fixed[name] = value2.map((i2) => {\n                if (typeof i2 === \"object\" && i2.toJSON) {\n                  return i2.toJSON(null, inputs);\n                } else {\n                  return i2;\n                }\n              });\n            } else if (typeof value2 === \"object\" && value2.toJSON) {\n              fixed[name] = value2.toJSON(null, inputs);\n            } else if (name === \"source\") {\n              let inputId = inputs.get(value2.input);\n              if (inputId == null) {\n                inputId = inputsNextIndex;\n                inputs.set(value2.input, inputsNextIndex);\n                inputsNextIndex++;\n              }\n              fixed[name] = {\n                end: value2.end,\n                inputId,\n                start: value2.start\n              };\n            } else {\n              fixed[name] = value2;\n            }\n          }\n          if (emitInputs) {\n            fixed.inputs = [...inputs.keys()].map((input) => input.toJSON());\n          }\n          return fixed;\n        }\n        toProxy() {\n          if (!this.proxyCache) {\n            this.proxyCache = new Proxy(this, this.getProxyProcessor());\n          }\n          return this.proxyCache;\n        }\n        toString(stringifier = stringify3) {\n          if (stringifier.stringify) stringifier = stringifier.stringify;\n          let result = \"\";\n          stringifier(this, (i2) => {\n            result += i2;\n          });\n          return result;\n        }\n        warn(result, text2, opts) {\n          let data = { node: this };\n          for (let i2 in opts) data[i2] = opts[i2];\n          return result.warn(text2, data);\n        }\n      };\n      module.exports = Node3;\n      Node3.default = Node3;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/comment.js\n  var require_comment = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/comment.js\"(exports, module) {\n      \"use strict\";\n      var Node3 = require_node();\n      var Comment2 = class extends Node3 {\n        constructor(defaults3) {\n          super(defaults3);\n          this.type = \"comment\";\n        }\n      };\n      module.exports = Comment2;\n      Comment2.default = Comment2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/declaration.js\n  var require_declaration = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/declaration.js\"(exports, module) {\n      \"use strict\";\n      var Node3 = require_node();\n      var Declaration2 = class extends Node3 {\n        get variable() {\n          return this.prop.startsWith(\"--\") || this.prop[0] === \"$\";\n        }\n        constructor(defaults3) {\n          if (defaults3 && typeof defaults3.value !== \"undefined\" && typeof defaults3.value !== \"string\") {\n            defaults3 = { ...defaults3, value: String(defaults3.value) };\n          }\n          super(defaults3);\n          this.type = \"decl\";\n        }\n      };\n      module.exports = Declaration2;\n      Declaration2.default = Declaration2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/container.js\n  var require_container = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/container.js\"(exports, module) {\n      \"use strict\";\n      var Comment2 = require_comment();\n      var Declaration2 = require_declaration();\n      var Node3 = require_node();\n      var { isClean, my } = require_symbols();\n      var AtRule2;\n      var parse5;\n      var Root2;\n      var Rule2;\n      function cleanSource(nodes) {\n        return nodes.map((i2) => {\n          if (i2.nodes) i2.nodes = cleanSource(i2.nodes);\n          delete i2.source;\n          return i2;\n        });\n      }\n      function markTreeDirty(node) {\n        node[isClean] = false;\n        if (node.proxyOf.nodes) {\n          for (let i2 of node.proxyOf.nodes) {\n            markTreeDirty(i2);\n          }\n        }\n      }\n      var Container2 = class _Container extends Node3 {\n        get first() {\n          if (!this.proxyOf.nodes) return void 0;\n          return this.proxyOf.nodes[0];\n        }\n        get last() {\n          if (!this.proxyOf.nodes) return void 0;\n          return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];\n        }\n        append(...children) {\n          for (let child of children) {\n            let nodes = this.normalize(child, this.last);\n            for (let node of nodes) this.proxyOf.nodes.push(node);\n          }\n          this.markDirty();\n          return this;\n        }\n        cleanRaws(keepBetween) {\n          super.cleanRaws(keepBetween);\n          if (this.nodes) {\n            for (let node of this.nodes) node.cleanRaws(keepBetween);\n          }\n        }\n        each(callback) {\n          if (!this.proxyOf.nodes) return void 0;\n          let iterator = this.getIterator();\n          let index2, result;\n          while (this.indexes[iterator] < this.proxyOf.nodes.length) {\n            index2 = this.indexes[iterator];\n            result = callback(this.proxyOf.nodes[index2], index2);\n            if (result === false) break;\n            this.indexes[iterator] += 1;\n          }\n          delete this.indexes[iterator];\n          return result;\n        }\n        every(condition) {\n          return this.nodes.every(condition);\n        }\n        getIterator() {\n          if (!this.lastEach) this.lastEach = 0;\n          if (!this.indexes) this.indexes = {};\n          this.lastEach += 1;\n          let iterator = this.lastEach;\n          this.indexes[iterator] = 0;\n          return iterator;\n        }\n        getProxyProcessor() {\n          return {\n            get(node, prop) {\n              if (prop === \"proxyOf\") {\n                return node;\n              } else if (!node[prop]) {\n                return node[prop];\n              } else if (prop === \"each\" || typeof prop === \"string\" && prop.startsWith(\"walk\")) {\n                return (...args) => {\n                  return node[prop](\n                    ...args.map((i2) => {\n                      if (typeof i2 === \"function\") {\n                        return (child, index2) => i2(child.toProxy(), index2);\n                      } else {\n                        return i2;\n                      }\n                    })\n                  );\n                };\n              } else if (prop === \"every\" || prop === \"some\") {\n                return (cb) => {\n                  return node[prop](\n                    (child, ...other) => cb(child.toProxy(), ...other)\n                  );\n                };\n              } else if (prop === \"root\") {\n                return () => node.root().toProxy();\n              } else if (prop === \"nodes\") {\n                return node.nodes.map((i2) => i2.toProxy());\n              } else if (prop === \"first\" || prop === \"last\") {\n                return node[prop].toProxy();\n              } else {\n                return node[prop];\n              }\n            },\n            set(node, prop, value2) {\n              if (node[prop] === value2) return true;\n              node[prop] = value2;\n              if (prop === \"name\" || prop === \"params\" || prop === \"selector\") {\n                node.markDirty();\n              }\n              return true;\n            }\n          };\n        }\n        index(child) {\n          if (typeof child === \"number\") return child;\n          if (child.proxyOf) child = child.proxyOf;\n          return this.proxyOf.nodes.indexOf(child);\n        }\n        insertAfter(exist, add) {\n          let existIndex = this.index(exist);\n          let nodes = this.normalize(add, this.proxyOf.nodes[existIndex]).reverse();\n          existIndex = this.index(exist);\n          for (let node of nodes) this.proxyOf.nodes.splice(existIndex + 1, 0, node);\n          let index2;\n          for (let id in this.indexes) {\n            index2 = this.indexes[id];\n            if (existIndex < index2) {\n              this.indexes[id] = index2 + nodes.length;\n            }\n          }\n          this.markDirty();\n          return this;\n        }\n        insertBefore(exist, add) {\n          let existIndex = this.index(exist);\n          let type = existIndex === 0 ? \"prepend\" : false;\n          let nodes = this.normalize(\n            add,\n            this.proxyOf.nodes[existIndex],\n            type\n          ).reverse();\n          existIndex = this.index(exist);\n          for (let node of nodes) this.proxyOf.nodes.splice(existIndex, 0, node);\n          let index2;\n          for (let id in this.indexes) {\n            index2 = this.indexes[id];\n            if (existIndex <= index2) {\n              this.indexes[id] = index2 + nodes.length;\n            }\n          }\n          this.markDirty();\n          return this;\n        }\n        normalize(nodes, sample) {\n          if (typeof nodes === \"string\") {\n            nodes = cleanSource(parse5(nodes).nodes);\n          } else if (typeof nodes === \"undefined\") {\n            nodes = [];\n          } else if (Array.isArray(nodes)) {\n            nodes = nodes.slice(0);\n            for (let i2 of nodes) {\n              if (i2.parent) i2.parent.removeChild(i2, \"ignore\");\n            }\n          } else if (nodes.type === \"root\" && this.type !== \"document\") {\n            nodes = nodes.nodes.slice(0);\n            for (let i2 of nodes) {\n              if (i2.parent) i2.parent.removeChild(i2, \"ignore\");\n            }\n          } else if (nodes.type) {\n            nodes = [nodes];\n          } else if (nodes.prop) {\n            if (typeof nodes.value === \"undefined\") {\n              throw new Error(\"Value field is missed in node creation\");\n            } else if (typeof nodes.value !== \"string\") {\n              nodes.value = String(nodes.value);\n            }\n            nodes = [new Declaration2(nodes)];\n          } else if (nodes.selector || nodes.selectors) {\n            nodes = [new Rule2(nodes)];\n          } else if (nodes.name) {\n            nodes = [new AtRule2(nodes)];\n          } else if (nodes.text) {\n            nodes = [new Comment2(nodes)];\n          } else {\n            throw new Error(\"Unknown node type in node creation\");\n          }\n          let processed = nodes.map((i2) => {\n            if (!i2[my]) _Container.rebuild(i2);\n            i2 = i2.proxyOf;\n            if (i2.parent) i2.parent.removeChild(i2);\n            if (i2[isClean]) markTreeDirty(i2);\n            if (!i2.raws) i2.raws = {};\n            if (typeof i2.raws.before === \"undefined\") {\n              if (sample && typeof sample.raws.before !== \"undefined\") {\n                i2.raws.before = sample.raws.before.replace(/\\S/g, \"\");\n              }\n            }\n            i2.parent = this.proxyOf;\n            return i2;\n          });\n          return processed;\n        }\n        prepend(...children) {\n          children = children.reverse();\n          for (let child of children) {\n            let nodes = this.normalize(child, this.first, \"prepend\").reverse();\n            for (let node of nodes) this.proxyOf.nodes.unshift(node);\n            for (let id in this.indexes) {\n              this.indexes[id] = this.indexes[id] + nodes.length;\n            }\n          }\n          this.markDirty();\n          return this;\n        }\n        push(child) {\n          child.parent = this;\n          this.proxyOf.nodes.push(child);\n          return this;\n        }\n        removeAll() {\n          for (let node of this.proxyOf.nodes) node.parent = void 0;\n          this.proxyOf.nodes = [];\n          this.markDirty();\n          return this;\n        }\n        removeChild(child) {\n          child = this.index(child);\n          this.proxyOf.nodes[child].parent = void 0;\n          this.proxyOf.nodes.splice(child, 1);\n          let index2;\n          for (let id in this.indexes) {\n            index2 = this.indexes[id];\n            if (index2 >= child) {\n              this.indexes[id] = index2 - 1;\n            }\n          }\n          this.markDirty();\n          return this;\n        }\n        replaceValues(pattern2, opts, callback) {\n          if (!callback) {\n            callback = opts;\n            opts = {};\n          }\n          this.walkDecls((decl3) => {\n            if (opts.props && !opts.props.includes(decl3.prop)) return;\n            if (opts.fast && !decl3.value.includes(opts.fast)) return;\n            decl3.value = decl3.value.replace(pattern2, callback);\n          });\n          this.markDirty();\n          return this;\n        }\n        some(condition) {\n          return this.nodes.some(condition);\n        }\n        walk(callback) {\n          return this.each((child, i2) => {\n            let result;\n            try {\n              result = callback(child, i2);\n            } catch (e5) {\n              throw child.addToError(e5);\n            }\n            if (result !== false && child.walk) {\n              result = child.walk(callback);\n            }\n            return result;\n          });\n        }\n        walkAtRules(name, callback) {\n          if (!callback) {\n            callback = name;\n            return this.walk((child, i2) => {\n              if (child.type === \"atrule\") {\n                return callback(child, i2);\n              }\n            });\n          }\n          if (name instanceof RegExp) {\n            return this.walk((child, i2) => {\n              if (child.type === \"atrule\" && name.test(child.name)) {\n                return callback(child, i2);\n              }\n            });\n          }\n          return this.walk((child, i2) => {\n            if (child.type === \"atrule\" && child.name === name) {\n              return callback(child, i2);\n            }\n          });\n        }\n        walkComments(callback) {\n          return this.walk((child, i2) => {\n            if (child.type === \"comment\") {\n              return callback(child, i2);\n            }\n          });\n        }\n        walkDecls(prop, callback) {\n          if (!callback) {\n            callback = prop;\n            return this.walk((child, i2) => {\n              if (child.type === \"decl\") {\n                return callback(child, i2);\n              }\n            });\n          }\n          if (prop instanceof RegExp) {\n            return this.walk((child, i2) => {\n              if (child.type === \"decl\" && prop.test(child.prop)) {\n                return callback(child, i2);\n              }\n            });\n          }\n          return this.walk((child, i2) => {\n            if (child.type === \"decl\" && child.prop === prop) {\n              return callback(child, i2);\n            }\n          });\n        }\n        walkRules(selector, callback) {\n          if (!callback) {\n            callback = selector;\n            return this.walk((child, i2) => {\n              if (child.type === \"rule\") {\n                return callback(child, i2);\n              }\n            });\n          }\n          if (selector instanceof RegExp) {\n            return this.walk((child, i2) => {\n              if (child.type === \"rule\" && selector.test(child.selector)) {\n                return callback(child, i2);\n              }\n            });\n          }\n          return this.walk((child, i2) => {\n            if (child.type === \"rule\" && child.selector === selector) {\n              return callback(child, i2);\n            }\n          });\n        }\n      };\n      Container2.registerParse = (dependant) => {\n        parse5 = dependant;\n      };\n      Container2.registerRule = (dependant) => {\n        Rule2 = dependant;\n      };\n      Container2.registerAtRule = (dependant) => {\n        AtRule2 = dependant;\n      };\n      Container2.registerRoot = (dependant) => {\n        Root2 = dependant;\n      };\n      module.exports = Container2;\n      Container2.default = Container2;\n      Container2.rebuild = (node) => {\n        if (node.type === \"atrule\") {\n          Object.setPrototypeOf(node, AtRule2.prototype);\n        } else if (node.type === \"rule\") {\n          Object.setPrototypeOf(node, Rule2.prototype);\n        } else if (node.type === \"decl\") {\n          Object.setPrototypeOf(node, Declaration2.prototype);\n        } else if (node.type === \"comment\") {\n          Object.setPrototypeOf(node, Comment2.prototype);\n        } else if (node.type === \"root\") {\n          Object.setPrototypeOf(node, Root2.prototype);\n        }\n        node[my] = true;\n        if (node.nodes) {\n          node.nodes.forEach((child) => {\n            Container2.rebuild(child);\n          });\n        }\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/at-rule.js\n  var require_at_rule = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/at-rule.js\"(exports, module) {\n      \"use strict\";\n      var Container2 = require_container();\n      var AtRule2 = class extends Container2 {\n        constructor(defaults3) {\n          super(defaults3);\n          this.type = \"atrule\";\n        }\n        append(...children) {\n          if (!this.proxyOf.nodes) this.nodes = [];\n          return super.append(...children);\n        }\n        prepend(...children) {\n          if (!this.proxyOf.nodes) this.nodes = [];\n          return super.prepend(...children);\n        }\n      };\n      module.exports = AtRule2;\n      AtRule2.default = AtRule2;\n      Container2.registerAtRule(AtRule2);\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/document.js\n  var require_document = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/document.js\"(exports, module) {\n      \"use strict\";\n      var Container2 = require_container();\n      var LazyResult;\n      var Processor2;\n      var Document2 = class extends Container2 {\n        constructor(defaults3) {\n          super({ type: \"document\", ...defaults3 });\n          if (!this.nodes) {\n            this.nodes = [];\n          }\n        }\n        toResult(opts = {}) {\n          let lazy2 = new LazyResult(new Processor2(), this, opts);\n          return lazy2.stringify();\n        }\n      };\n      Document2.registerLazyResult = (dependant) => {\n        LazyResult = dependant;\n      };\n      Document2.registerProcessor = (dependant) => {\n        Processor2 = dependant;\n      };\n      module.exports = Document2;\n      Document2.default = Document2;\n    }\n  });\n\n  // node_modules/.pnpm/nanoid@3.3.11/node_modules/nanoid/non-secure/index.cjs\n  var require_non_secure = __commonJS({\n    \"node_modules/.pnpm/nanoid@3.3.11/node_modules/nanoid/non-secure/index.cjs\"(exports, module) {\n      var urlAlphabet = \"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict\";\n      var customAlphabet = (alphabet, defaultSize = 21) => {\n        return (size = defaultSize) => {\n          let id = \"\";\n          let i2 = size | 0;\n          while (i2--) {\n            id += alphabet[Math.random() * alphabet.length | 0];\n          }\n          return id;\n        };\n      };\n      var nanoid = (size = 21) => {\n        let id = \"\";\n        let i2 = size | 0;\n        while (i2--) {\n          id += urlAlphabet[Math.random() * 64 | 0];\n        }\n        return id;\n      };\n      module.exports = { nanoid, customAlphabet };\n    }\n  });\n\n  // (disabled):path\n  var require_path = __commonJS({\n    \"(disabled):path\"() {\n    }\n  });\n\n  // (disabled):node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js\n  var require_source_map = __commonJS({\n    \"(disabled):node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js\"() {\n    }\n  });\n\n  // (disabled):url\n  var require_url = __commonJS({\n    \"(disabled):url\"() {\n    }\n  });\n\n  // (disabled):fs\n  var require_fs = __commonJS({\n    \"(disabled):fs\"() {\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/previous-map.js\n  var require_previous_map = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/previous-map.js\"(exports, module) {\n      \"use strict\";\n      var { existsSync, readFileSync } = require_fs();\n      var { dirname: dirname2, join: join2 } = require_path();\n      var { SourceMapConsumer, SourceMapGenerator } = require_source_map();\n      function fromBase64(str) {\n        if (Buffer) {\n          return Buffer.from(str, \"base64\").toString();\n        } else {\n          return window.atob(str);\n        }\n      }\n      var PreviousMap = class {\n        constructor(css, opts) {\n          if (opts.map === false) return;\n          this.loadAnnotation(css);\n          this.inline = this.startWith(this.annotation, \"data:\");\n          let prev = opts.map ? opts.map.prev : void 0;\n          let text2 = this.loadMap(opts.from, prev);\n          if (!this.mapFile && opts.from) {\n            this.mapFile = opts.from;\n          }\n          if (this.mapFile) this.root = dirname2(this.mapFile);\n          if (text2) this.text = text2;\n        }\n        consumer() {\n          if (!this.consumerCache) {\n            this.consumerCache = new SourceMapConsumer(this.text);\n          }\n          return this.consumerCache;\n        }\n        decodeInline(text2) {\n          let baseCharsetUri = /^data:application\\/json;charset=utf-?8;base64,/;\n          let baseUri = /^data:application\\/json;base64,/;\n          let charsetUri = /^data:application\\/json;charset=utf-?8,/;\n          let uri = /^data:application\\/json,/;\n          let uriMatch = text2.match(charsetUri) || text2.match(uri);\n          if (uriMatch) {\n            return decodeURIComponent(text2.substr(uriMatch[0].length));\n          }\n          let baseUriMatch = text2.match(baseCharsetUri) || text2.match(baseUri);\n          if (baseUriMatch) {\n            return fromBase64(text2.substr(baseUriMatch[0].length));\n          }\n          let encoding = text2.match(/data:application\\/json;([^,]+),/)[1];\n          throw new Error(\"Unsupported source map encoding \" + encoding);\n        }\n        getAnnotationURL(sourceMapString) {\n          return sourceMapString.replace(/^\\/\\*\\s*# sourceMappingURL=/, \"\").trim();\n        }\n        isMap(map) {\n          if (typeof map !== \"object\") return false;\n          return typeof map.mappings === \"string\" || typeof map._mappings === \"string\" || Array.isArray(map.sections);\n        }\n        loadAnnotation(css) {\n          let comments = css.match(/\\/\\*\\s*# sourceMappingURL=/g);\n          if (!comments) return;\n          let start = css.lastIndexOf(comments.pop());\n          let end = css.indexOf(\"*/\", start);\n          if (start > -1 && end > -1) {\n            this.annotation = this.getAnnotationURL(css.substring(start, end));\n          }\n        }\n        loadFile(path) {\n          this.root = dirname2(path);\n          if (existsSync(path)) {\n            this.mapFile = path;\n            return readFileSync(path, \"utf-8\").toString().trim();\n          }\n        }\n        loadMap(file, prev) {\n          if (prev === false) return false;\n          if (prev) {\n            if (typeof prev === \"string\") {\n              return prev;\n            } else if (typeof prev === \"function\") {\n              let prevPath = prev(file);\n              if (prevPath) {\n                let map = this.loadFile(prevPath);\n                if (!map) {\n                  throw new Error(\n                    \"Unable to load previous source map: \" + prevPath.toString()\n                  );\n                }\n                return map;\n              }\n            } else if (prev instanceof SourceMapConsumer) {\n              return SourceMapGenerator.fromSourceMap(prev).toString();\n            } else if (prev instanceof SourceMapGenerator) {\n              return prev.toString();\n            } else if (this.isMap(prev)) {\n              return JSON.stringify(prev);\n            } else {\n              throw new Error(\n                \"Unsupported previous source map format: \" + prev.toString()\n              );\n            }\n          } else if (this.inline) {\n            return this.decodeInline(this.annotation);\n          } else if (this.annotation) {\n            let map = this.annotation;\n            if (file) map = join2(dirname2(file), map);\n            return this.loadFile(map);\n          }\n        }\n        startWith(string, start) {\n          if (!string) return false;\n          return string.substr(0, start.length) === start;\n        }\n        withContent() {\n          return !!(this.consumer().sourcesContent && this.consumer().sourcesContent.length > 0);\n        }\n      };\n      module.exports = PreviousMap;\n      PreviousMap.default = PreviousMap;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/input.js\n  var require_input = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/input.js\"(exports, module) {\n      \"use strict\";\n      var { nanoid } = require_non_secure();\n      var { isAbsolute, resolve: resolve2 } = require_path();\n      var { SourceMapConsumer, SourceMapGenerator } = require_source_map();\n      var { fileURLToPath, pathToFileURL } = require_url();\n      var CssSyntaxError2 = require_css_syntax_error();\n      var PreviousMap = require_previous_map();\n      var terminalHighlight = require_terminal_highlight();\n      var fromOffsetCache = Symbol(\"fromOffsetCache\");\n      var sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);\n      var pathAvailable = Boolean(resolve2 && isAbsolute);\n      var Input2 = class {\n        get from() {\n          return this.file || this.id;\n        }\n        constructor(css, opts = {}) {\n          if (css === null || typeof css === \"undefined\" || typeof css === \"object\" && !css.toString) {\n            throw new Error(`PostCSS received ${css} instead of CSS string`);\n          }\n          this.css = css.toString();\n          if (this.css[0] === \"\\uFEFF\" || this.css[0] === \"\\uFFFE\") {\n            this.hasBOM = true;\n            this.css = this.css.slice(1);\n          } else {\n            this.hasBOM = false;\n          }\n          this.document = this.css;\n          if (opts.document) this.document = opts.document.toString();\n          if (opts.from) {\n            if (!pathAvailable || /^\\w+:\\/\\//.test(opts.from) || isAbsolute(opts.from)) {\n              this.file = opts.from;\n            } else {\n              this.file = resolve2(opts.from);\n            }\n          }\n          if (pathAvailable && sourceMapAvailable) {\n            let map = new PreviousMap(this.css, opts);\n            if (map.text) {\n              this.map = map;\n              let file = map.consumer().file;\n              if (!this.file && file) this.file = this.mapResolve(file);\n            }\n          }\n          if (!this.file) {\n            this.id = \"<input css \" + nanoid(6) + \">\";\n          }\n          if (this.map) this.map.file = this.from;\n        }\n        error(message, line, column, opts = {}) {\n          let endColumn, endLine, result;\n          if (line && typeof line === \"object\") {\n            let start = line;\n            let end = column;\n            if (typeof start.offset === \"number\") {\n              let pos = this.fromOffset(start.offset);\n              line = pos.line;\n              column = pos.col;\n            } else {\n              line = start.line;\n              column = start.column;\n            }\n            if (typeof end.offset === \"number\") {\n              let pos = this.fromOffset(end.offset);\n              endLine = pos.line;\n              endColumn = pos.col;\n            } else {\n              endLine = end.line;\n              endColumn = end.column;\n            }\n          } else if (!column) {\n            let pos = this.fromOffset(line);\n            line = pos.line;\n            column = pos.col;\n          }\n          let origin = this.origin(line, column, endLine, endColumn);\n          if (origin) {\n            result = new CssSyntaxError2(\n              message,\n              origin.endLine === void 0 ? origin.line : { column: origin.column, line: origin.line },\n              origin.endLine === void 0 ? origin.column : { column: origin.endColumn, line: origin.endLine },\n              origin.source,\n              origin.file,\n              opts.plugin\n            );\n          } else {\n            result = new CssSyntaxError2(\n              message,\n              endLine === void 0 ? line : { column, line },\n              endLine === void 0 ? column : { column: endColumn, line: endLine },\n              this.css,\n              this.file,\n              opts.plugin\n            );\n          }\n          result.input = { column, endColumn, endLine, line, source: this.css };\n          if (this.file) {\n            if (pathToFileURL) {\n              result.input.url = pathToFileURL(this.file).toString();\n            }\n            result.input.file = this.file;\n          }\n          return result;\n        }\n        fromOffset(offset) {\n          let lastLine, lineToIndex;\n          if (!this[fromOffsetCache]) {\n            let lines = this.css.split(\"\\n\");\n            lineToIndex = new Array(lines.length);\n            let prevIndex = 0;\n            for (let i2 = 0, l2 = lines.length; i2 < l2; i2++) {\n              lineToIndex[i2] = prevIndex;\n              prevIndex += lines[i2].length + 1;\n            }\n            this[fromOffsetCache] = lineToIndex;\n          } else {\n            lineToIndex = this[fromOffsetCache];\n          }\n          lastLine = lineToIndex[lineToIndex.length - 1];\n          let min = 0;\n          if (offset >= lastLine) {\n            min = lineToIndex.length - 1;\n          } else {\n            let max2 = lineToIndex.length - 2;\n            let mid;\n            while (min < max2) {\n              mid = min + (max2 - min >> 1);\n              if (offset < lineToIndex[mid]) {\n                max2 = mid - 1;\n              } else if (offset >= lineToIndex[mid + 1]) {\n                min = mid + 1;\n              } else {\n                min = mid;\n                break;\n              }\n            }\n          }\n          return {\n            col: offset - lineToIndex[min] + 1,\n            line: min + 1\n          };\n        }\n        mapResolve(file) {\n          if (/^\\w+:\\/\\//.test(file)) {\n            return file;\n          }\n          return resolve2(this.map.consumer().sourceRoot || this.map.root || \".\", file);\n        }\n        origin(line, column, endLine, endColumn) {\n          if (!this.map) return false;\n          let consumer = this.map.consumer();\n          let from = consumer.originalPositionFor({ column, line });\n          if (!from.source) return false;\n          let to;\n          if (typeof endLine === \"number\") {\n            to = consumer.originalPositionFor({ column: endColumn, line: endLine });\n          }\n          let fromUrl;\n          if (isAbsolute(from.source)) {\n            fromUrl = pathToFileURL(from.source);\n          } else {\n            fromUrl = new URL(\n              from.source,\n              this.map.consumer().sourceRoot || pathToFileURL(this.map.mapFile)\n            );\n          }\n          let result = {\n            column: from.column,\n            endColumn: to && to.column,\n            endLine: to && to.line,\n            line: from.line,\n            url: fromUrl.toString()\n          };\n          if (fromUrl.protocol === \"file:\") {\n            if (fileURLToPath) {\n              result.file = fileURLToPath(fromUrl);\n            } else {\n              throw new Error(`file: protocol is not available in this PostCSS build`);\n            }\n          }\n          let source = consumer.sourceContentFor(from.source);\n          if (source) result.source = source;\n          return result;\n        }\n        toJSON() {\n          let json = {};\n          for (let name of [\"hasBOM\", \"css\", \"file\", \"id\"]) {\n            if (this[name] != null) {\n              json[name] = this[name];\n            }\n          }\n          if (this.map) {\n            json.map = { ...this.map };\n            if (json.map.consumerCache) {\n              json.map.consumerCache = void 0;\n            }\n          }\n          return json;\n        }\n      };\n      module.exports = Input2;\n      Input2.default = Input2;\n      if (terminalHighlight && terminalHighlight.registerInput) {\n        terminalHighlight.registerInput(Input2);\n      }\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/root.js\n  var require_root = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/root.js\"(exports, module) {\n      \"use strict\";\n      var Container2 = require_container();\n      var LazyResult;\n      var Processor2;\n      var Root2 = class extends Container2 {\n        constructor(defaults3) {\n          super(defaults3);\n          this.type = \"root\";\n          if (!this.nodes) this.nodes = [];\n        }\n        normalize(child, sample, type) {\n          let nodes = super.normalize(child);\n          if (sample) {\n            if (type === \"prepend\") {\n              if (this.nodes.length > 1) {\n                sample.raws.before = this.nodes[1].raws.before;\n              } else {\n                delete sample.raws.before;\n              }\n            } else if (this.first !== sample) {\n              for (let node of nodes) {\n                node.raws.before = sample.raws.before;\n              }\n            }\n          }\n          return nodes;\n        }\n        removeChild(child, ignore) {\n          let index2 = this.index(child);\n          if (!ignore && index2 === 0 && this.nodes.length > 1) {\n            this.nodes[1].raws.before = this.nodes[index2].raws.before;\n          }\n          return super.removeChild(child);\n        }\n        toResult(opts = {}) {\n          let lazy2 = new LazyResult(new Processor2(), this, opts);\n          return lazy2.stringify();\n        }\n      };\n      Root2.registerLazyResult = (dependant) => {\n        LazyResult = dependant;\n      };\n      Root2.registerProcessor = (dependant) => {\n        Processor2 = dependant;\n      };\n      module.exports = Root2;\n      Root2.default = Root2;\n      Container2.registerRoot(Root2);\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/list.js\n  var require_list = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/list.js\"(exports, module) {\n      \"use strict\";\n      var list3 = {\n        comma(string) {\n          return list3.split(string, [\",\"], true);\n        },\n        space(string) {\n          let spaces = [\" \", \"\\n\", \"\t\"];\n          return list3.split(string, spaces);\n        },\n        split(string, separators, last) {\n          let array = [];\n          let current = \"\";\n          let split = false;\n          let func = 0;\n          let inQuote = false;\n          let prevQuote = \"\";\n          let escape2 = false;\n          for (let letter of string) {\n            if (escape2) {\n              escape2 = false;\n            } else if (letter === \"\\\\\") {\n              escape2 = true;\n            } else if (inQuote) {\n              if (letter === prevQuote) {\n                inQuote = false;\n              }\n            } else if (letter === '\"' || letter === \"'\") {\n              inQuote = true;\n              prevQuote = letter;\n            } else if (letter === \"(\") {\n              func += 1;\n            } else if (letter === \")\") {\n              if (func > 0) func -= 1;\n            } else if (func === 0) {\n              if (separators.includes(letter)) split = true;\n            }\n            if (split) {\n              if (current !== \"\") array.push(current.trim());\n              current = \"\";\n              split = false;\n            } else {\n              current += letter;\n            }\n          }\n          if (last || current !== \"\") array.push(current.trim());\n          return array;\n        }\n      };\n      module.exports = list3;\n      list3.default = list3;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/rule.js\n  var require_rule = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/rule.js\"(exports, module) {\n      \"use strict\";\n      var Container2 = require_container();\n      var list3 = require_list();\n      var Rule2 = class extends Container2 {\n        get selectors() {\n          return list3.comma(this.selector);\n        }\n        set selectors(values) {\n          let match = this.selector ? this.selector.match(/,\\s*/) : null;\n          let sep2 = match ? match[0] : \",\" + this.raw(\"between\", \"beforeOpen\");\n          this.selector = values.join(sep2);\n        }\n        constructor(defaults3) {\n          super(defaults3);\n          this.type = \"rule\";\n          if (!this.nodes) this.nodes = [];\n        }\n      };\n      module.exports = Rule2;\n      Rule2.default = Rule2;\n      Container2.registerRule(Rule2);\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/fromJSON.js\n  var require_fromJSON = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/fromJSON.js\"(exports, module) {\n      \"use strict\";\n      var AtRule2 = require_at_rule();\n      var Comment2 = require_comment();\n      var Declaration2 = require_declaration();\n      var Input2 = require_input();\n      var PreviousMap = require_previous_map();\n      var Root2 = require_root();\n      var Rule2 = require_rule();\n      function fromJSON2(json, inputs) {\n        if (Array.isArray(json)) return json.map((n2) => fromJSON2(n2));\n        let { inputs: ownInputs, ...defaults3 } = json;\n        if (ownInputs) {\n          inputs = [];\n          for (let input of ownInputs) {\n            let inputHydrated = { ...input, __proto__: Input2.prototype };\n            if (inputHydrated.map) {\n              inputHydrated.map = {\n                ...inputHydrated.map,\n                __proto__: PreviousMap.prototype\n              };\n            }\n            inputs.push(inputHydrated);\n          }\n        }\n        if (defaults3.nodes) {\n          defaults3.nodes = json.nodes.map((n2) => fromJSON2(n2, inputs));\n        }\n        if (defaults3.source) {\n          let { inputId, ...source } = defaults3.source;\n          defaults3.source = source;\n          if (inputId != null) {\n            defaults3.source.input = inputs[inputId];\n          }\n        }\n        if (defaults3.type === \"root\") {\n          return new Root2(defaults3);\n        } else if (defaults3.type === \"decl\") {\n          return new Declaration2(defaults3);\n        } else if (defaults3.type === \"rule\") {\n          return new Rule2(defaults3);\n        } else if (defaults3.type === \"comment\") {\n          return new Comment2(defaults3);\n        } else if (defaults3.type === \"atrule\") {\n          return new AtRule2(defaults3);\n        } else {\n          throw new Error(\"Unknown node type: \" + json.type);\n        }\n      }\n      module.exports = fromJSON2;\n      fromJSON2.default = fromJSON2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/map-generator.js\n  var require_map_generator = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/map-generator.js\"(exports, module) {\n      \"use strict\";\n      var { dirname: dirname2, relative: relative2, resolve: resolve2, sep: sep2 } = require_path();\n      var { SourceMapConsumer, SourceMapGenerator } = require_source_map();\n      var { pathToFileURL } = require_url();\n      var Input2 = require_input();\n      var sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);\n      var pathAvailable = Boolean(dirname2 && resolve2 && relative2 && sep2);\n      var MapGenerator = class {\n        constructor(stringify3, root2, opts, cssString) {\n          this.stringify = stringify3;\n          this.mapOpts = opts.map || {};\n          this.root = root2;\n          this.opts = opts;\n          this.css = cssString;\n          this.originalCSS = cssString;\n          this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute;\n          this.memoizedFileURLs = /* @__PURE__ */ new Map();\n          this.memoizedPaths = /* @__PURE__ */ new Map();\n          this.memoizedURLs = /* @__PURE__ */ new Map();\n        }\n        addAnnotation() {\n          let content;\n          if (this.isInline()) {\n            content = \"data:application/json;base64,\" + this.toBase64(this.map.toString());\n          } else if (typeof this.mapOpts.annotation === \"string\") {\n            content = this.mapOpts.annotation;\n          } else if (typeof this.mapOpts.annotation === \"function\") {\n            content = this.mapOpts.annotation(this.opts.to, this.root);\n          } else {\n            content = this.outputFile() + \".map\";\n          }\n          let eol = \"\\n\";\n          if (this.css.includes(\"\\r\\n\")) eol = \"\\r\\n\";\n          this.css += eol + \"/*# sourceMappingURL=\" + content + \" */\";\n        }\n        applyPrevMaps() {\n          for (let prev of this.previous()) {\n            let from = this.toUrl(this.path(prev.file));\n            let root2 = prev.root || dirname2(prev.file);\n            let map;\n            if (this.mapOpts.sourcesContent === false) {\n              map = new SourceMapConsumer(prev.text);\n              if (map.sourcesContent) {\n                map.sourcesContent = null;\n              }\n            } else {\n              map = prev.consumer();\n            }\n            this.map.applySourceMap(map, from, this.toUrl(this.path(root2)));\n          }\n        }\n        clearAnnotation() {\n          if (this.mapOpts.annotation === false) return;\n          if (this.root) {\n            let node;\n            for (let i2 = this.root.nodes.length - 1; i2 >= 0; i2--) {\n              node = this.root.nodes[i2];\n              if (node.type !== \"comment\") continue;\n              if (node.text.startsWith(\"# sourceMappingURL=\")) {\n                this.root.removeChild(i2);\n              }\n            }\n          } else if (this.css) {\n            this.css = this.css.replace(/\\n*\\/\\*#[\\S\\s]*?\\*\\/$/gm, \"\");\n          }\n        }\n        generate() {\n          this.clearAnnotation();\n          if (pathAvailable && sourceMapAvailable && this.isMap()) {\n            return this.generateMap();\n          } else {\n            let result = \"\";\n            this.stringify(this.root, (i2) => {\n              result += i2;\n            });\n            return [result];\n          }\n        }\n        generateMap() {\n          if (this.root) {\n            this.generateString();\n          } else if (this.previous().length === 1) {\n            let prev = this.previous()[0].consumer();\n            prev.file = this.outputFile();\n            this.map = SourceMapGenerator.fromSourceMap(prev, {\n              ignoreInvalidMapping: true\n            });\n          } else {\n            this.map = new SourceMapGenerator({\n              file: this.outputFile(),\n              ignoreInvalidMapping: true\n            });\n            this.map.addMapping({\n              generated: { column: 0, line: 1 },\n              original: { column: 0, line: 1 },\n              source: this.opts.from ? this.toUrl(this.path(this.opts.from)) : \"<no source>\"\n            });\n          }\n          if (this.isSourcesContent()) this.setSourcesContent();\n          if (this.root && this.previous().length > 0) this.applyPrevMaps();\n          if (this.isAnnotation()) this.addAnnotation();\n          if (this.isInline()) {\n            return [this.css];\n          } else {\n            return [this.css, this.map];\n          }\n        }\n        generateString() {\n          this.css = \"\";\n          this.map = new SourceMapGenerator({\n            file: this.outputFile(),\n            ignoreInvalidMapping: true\n          });\n          let line = 1;\n          let column = 1;\n          let noSource = \"<no source>\";\n          let mapping = {\n            generated: { column: 0, line: 0 },\n            original: { column: 0, line: 0 },\n            source: \"\"\n          };\n          let last, lines;\n          this.stringify(this.root, (str, node, type) => {\n            this.css += str;\n            if (node && type !== \"end\") {\n              mapping.generated.line = line;\n              mapping.generated.column = column - 1;\n              if (node.source && node.source.start) {\n                mapping.source = this.sourcePath(node);\n                mapping.original.line = node.source.start.line;\n                mapping.original.column = node.source.start.column - 1;\n                this.map.addMapping(mapping);\n              } else {\n                mapping.source = noSource;\n                mapping.original.line = 1;\n                mapping.original.column = 0;\n                this.map.addMapping(mapping);\n              }\n            }\n            lines = str.match(/\\n/g);\n            if (lines) {\n              line += lines.length;\n              last = str.lastIndexOf(\"\\n\");\n              column = str.length - last;\n            } else {\n              column += str.length;\n            }\n            if (node && type !== \"start\") {\n              let p4 = node.parent || { raws: {} };\n              let childless = node.type === \"decl\" || node.type === \"atrule\" && !node.nodes;\n              if (!childless || node !== p4.last || p4.raws.semicolon) {\n                if (node.source && node.source.end) {\n                  mapping.source = this.sourcePath(node);\n                  mapping.original.line = node.source.end.line;\n                  mapping.original.column = node.source.end.column - 1;\n                  mapping.generated.line = line;\n                  mapping.generated.column = column - 2;\n                  this.map.addMapping(mapping);\n                } else {\n                  mapping.source = noSource;\n                  mapping.original.line = 1;\n                  mapping.original.column = 0;\n                  mapping.generated.line = line;\n                  mapping.generated.column = column - 1;\n                  this.map.addMapping(mapping);\n                }\n              }\n            }\n          });\n        }\n        isAnnotation() {\n          if (this.isInline()) {\n            return true;\n          }\n          if (typeof this.mapOpts.annotation !== \"undefined\") {\n            return this.mapOpts.annotation;\n          }\n          if (this.previous().length) {\n            return this.previous().some((i2) => i2.annotation);\n          }\n          return true;\n        }\n        isInline() {\n          if (typeof this.mapOpts.inline !== \"undefined\") {\n            return this.mapOpts.inline;\n          }\n          let annotation = this.mapOpts.annotation;\n          if (typeof annotation !== \"undefined\" && annotation !== true) {\n            return false;\n          }\n          if (this.previous().length) {\n            return this.previous().some((i2) => i2.inline);\n          }\n          return true;\n        }\n        isMap() {\n          if (typeof this.opts.map !== \"undefined\") {\n            return !!this.opts.map;\n          }\n          return this.previous().length > 0;\n        }\n        isSourcesContent() {\n          if (typeof this.mapOpts.sourcesContent !== \"undefined\") {\n            return this.mapOpts.sourcesContent;\n          }\n          if (this.previous().length) {\n            return this.previous().some((i2) => i2.withContent());\n          }\n          return true;\n        }\n        outputFile() {\n          if (this.opts.to) {\n            return this.path(this.opts.to);\n          } else if (this.opts.from) {\n            return this.path(this.opts.from);\n          } else {\n            return \"to.css\";\n          }\n        }\n        path(file) {\n          if (this.mapOpts.absolute) return file;\n          if (file.charCodeAt(0) === 60) return file;\n          if (/^\\w+:\\/\\//.test(file)) return file;\n          let cached = this.memoizedPaths.get(file);\n          if (cached) return cached;\n          let from = this.opts.to ? dirname2(this.opts.to) : \".\";\n          if (typeof this.mapOpts.annotation === \"string\") {\n            from = dirname2(resolve2(from, this.mapOpts.annotation));\n          }\n          let path = relative2(from, file);\n          this.memoizedPaths.set(file, path);\n          return path;\n        }\n        previous() {\n          if (!this.previousMaps) {\n            this.previousMaps = [];\n            if (this.root) {\n              this.root.walk((node) => {\n                if (node.source && node.source.input.map) {\n                  let map = node.source.input.map;\n                  if (!this.previousMaps.includes(map)) {\n                    this.previousMaps.push(map);\n                  }\n                }\n              });\n            } else {\n              let input = new Input2(this.originalCSS, this.opts);\n              if (input.map) this.previousMaps.push(input.map);\n            }\n          }\n          return this.previousMaps;\n        }\n        setSourcesContent() {\n          let already = {};\n          if (this.root) {\n            this.root.walk((node) => {\n              if (node.source) {\n                let from = node.source.input.from;\n                if (from && !already[from]) {\n                  already[from] = true;\n                  let fromUrl = this.usesFileUrls ? this.toFileUrl(from) : this.toUrl(this.path(from));\n                  this.map.setSourceContent(fromUrl, node.source.input.css);\n                }\n              }\n            });\n          } else if (this.css) {\n            let from = this.opts.from ? this.toUrl(this.path(this.opts.from)) : \"<no source>\";\n            this.map.setSourceContent(from, this.css);\n          }\n        }\n        sourcePath(node) {\n          if (this.mapOpts.from) {\n            return this.toUrl(this.mapOpts.from);\n          } else if (this.usesFileUrls) {\n            return this.toFileUrl(node.source.input.from);\n          } else {\n            return this.toUrl(this.path(node.source.input.from));\n          }\n        }\n        toBase64(str) {\n          if (Buffer) {\n            return Buffer.from(str).toString(\"base64\");\n          } else {\n            return window.btoa(unescape(encodeURIComponent(str)));\n          }\n        }\n        toFileUrl(path) {\n          let cached = this.memoizedFileURLs.get(path);\n          if (cached) return cached;\n          if (pathToFileURL) {\n            let fileURL = pathToFileURL(path).toString();\n            this.memoizedFileURLs.set(path, fileURL);\n            return fileURL;\n          } else {\n            throw new Error(\n              \"`map.absolute` option is not available in this PostCSS build\"\n            );\n          }\n        }\n        toUrl(path) {\n          let cached = this.memoizedURLs.get(path);\n          if (cached) return cached;\n          if (sep2 === \"\\\\\") {\n            path = path.replace(/\\\\/g, \"/\");\n          }\n          let url2 = encodeURI(path).replace(/[#?]/g, encodeURIComponent);\n          this.memoizedURLs.set(path, url2);\n          return url2;\n        }\n      };\n      module.exports = MapGenerator;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/tokenize.js\n  var require_tokenize = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/tokenize.js\"(exports, module) {\n      \"use strict\";\n      var SINGLE_QUOTE = \"'\".charCodeAt(0);\n      var DOUBLE_QUOTE = '\"'.charCodeAt(0);\n      var BACKSLASH = \"\\\\\".charCodeAt(0);\n      var SLASH = \"/\".charCodeAt(0);\n      var NEWLINE = \"\\n\".charCodeAt(0);\n      var SPACE3 = \" \".charCodeAt(0);\n      var FEED = \"\\f\".charCodeAt(0);\n      var TAB = \"\t\".charCodeAt(0);\n      var CR = \"\\r\".charCodeAt(0);\n      var OPEN_SQUARE = \"[\".charCodeAt(0);\n      var CLOSE_SQUARE = \"]\".charCodeAt(0);\n      var OPEN_PARENTHESES = \"(\".charCodeAt(0);\n      var CLOSE_PARENTHESES = \")\".charCodeAt(0);\n      var OPEN_CURLY = \"{\".charCodeAt(0);\n      var CLOSE_CURLY = \"}\".charCodeAt(0);\n      var SEMICOLON = \";\".charCodeAt(0);\n      var ASTERISK = \"*\".charCodeAt(0);\n      var COLON = \":\".charCodeAt(0);\n      var AT = \"@\".charCodeAt(0);\n      var RE_AT_END = /[\\t\\n\\f\\r \"#'()/;[\\\\\\]{}]/g;\n      var RE_WORD_END = /[\\t\\n\\f\\r !\"#'():;@[\\\\\\]{}]|\\/(?=\\*)/g;\n      var RE_BAD_BRACKET = /.[\\r\\n\"'(/\\\\]/;\n      var RE_HEX_ESCAPE = /[\\da-f]/i;\n      module.exports = function tokenizer2(input, options = {}) {\n        let css = input.css.valueOf();\n        let ignore = options.ignoreErrors;\n        let code, content, escape2, next, quote;\n        let currentToken, escaped, escapePos, n2, prev;\n        let length2 = css.length;\n        let pos = 0;\n        let buffer = [];\n        let returned = [];\n        function position2() {\n          return pos;\n        }\n        function unclosed(what) {\n          throw input.error(\"Unclosed \" + what, pos);\n        }\n        function endOfFile() {\n          return returned.length === 0 && pos >= length2;\n        }\n        function nextToken(opts) {\n          if (returned.length) return returned.pop();\n          if (pos >= length2) return;\n          let ignoreUnclosed = opts ? opts.ignoreUnclosed : false;\n          code = css.charCodeAt(pos);\n          switch (code) {\n            case NEWLINE:\n            case SPACE3:\n            case TAB:\n            case CR:\n            case FEED: {\n              next = pos;\n              do {\n                next += 1;\n                code = css.charCodeAt(next);\n              } while (code === SPACE3 || code === NEWLINE || code === TAB || code === CR || code === FEED);\n              currentToken = [\"space\", css.slice(pos, next)];\n              pos = next - 1;\n              break;\n            }\n            case OPEN_SQUARE:\n            case CLOSE_SQUARE:\n            case OPEN_CURLY:\n            case CLOSE_CURLY:\n            case COLON:\n            case SEMICOLON:\n            case CLOSE_PARENTHESES: {\n              let controlChar = String.fromCharCode(code);\n              currentToken = [controlChar, controlChar, pos];\n              break;\n            }\n            case OPEN_PARENTHESES: {\n              prev = buffer.length ? buffer.pop()[1] : \"\";\n              n2 = css.charCodeAt(pos + 1);\n              if (prev === \"url\" && n2 !== SINGLE_QUOTE && n2 !== DOUBLE_QUOTE && n2 !== SPACE3 && n2 !== NEWLINE && n2 !== TAB && n2 !== FEED && n2 !== CR) {\n                next = pos;\n                do {\n                  escaped = false;\n                  next = css.indexOf(\")\", next + 1);\n                  if (next === -1) {\n                    if (ignore || ignoreUnclosed) {\n                      next = pos;\n                      break;\n                    } else {\n                      unclosed(\"bracket\");\n                    }\n                  }\n                  escapePos = next;\n                  while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n                    escapePos -= 1;\n                    escaped = !escaped;\n                  }\n                } while (escaped);\n                currentToken = [\"brackets\", css.slice(pos, next + 1), pos, next];\n                pos = next;\n              } else {\n                next = css.indexOf(\")\", pos + 1);\n                content = css.slice(pos, next + 1);\n                if (next === -1 || RE_BAD_BRACKET.test(content)) {\n                  currentToken = [\"(\", \"(\", pos];\n                } else {\n                  currentToken = [\"brackets\", content, pos, next];\n                  pos = next;\n                }\n              }\n              break;\n            }\n            case SINGLE_QUOTE:\n            case DOUBLE_QUOTE: {\n              quote = code === SINGLE_QUOTE ? \"'\" : '\"';\n              next = pos;\n              do {\n                escaped = false;\n                next = css.indexOf(quote, next + 1);\n                if (next === -1) {\n                  if (ignore || ignoreUnclosed) {\n                    next = pos + 1;\n                    break;\n                  } else {\n                    unclosed(\"string\");\n                  }\n                }\n                escapePos = next;\n                while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n                  escapePos -= 1;\n                  escaped = !escaped;\n                }\n              } while (escaped);\n              currentToken = [\"string\", css.slice(pos, next + 1), pos, next];\n              pos = next;\n              break;\n            }\n            case AT: {\n              RE_AT_END.lastIndex = pos + 1;\n              RE_AT_END.test(css);\n              if (RE_AT_END.lastIndex === 0) {\n                next = css.length - 1;\n              } else {\n                next = RE_AT_END.lastIndex - 2;\n              }\n              currentToken = [\"at-word\", css.slice(pos, next + 1), pos, next];\n              pos = next;\n              break;\n            }\n            case BACKSLASH: {\n              next = pos;\n              escape2 = true;\n              while (css.charCodeAt(next + 1) === BACKSLASH) {\n                next += 1;\n                escape2 = !escape2;\n              }\n              code = css.charCodeAt(next + 1);\n              if (escape2 && code !== SLASH && code !== SPACE3 && code !== NEWLINE && code !== TAB && code !== CR && code !== FEED) {\n                next += 1;\n                if (RE_HEX_ESCAPE.test(css.charAt(next))) {\n                  while (RE_HEX_ESCAPE.test(css.charAt(next + 1))) {\n                    next += 1;\n                  }\n                  if (css.charCodeAt(next + 1) === SPACE3) {\n                    next += 1;\n                  }\n                }\n              }\n              currentToken = [\"word\", css.slice(pos, next + 1), pos, next];\n              pos = next;\n              break;\n            }\n            default: {\n              if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {\n                next = css.indexOf(\"*/\", pos + 2) + 1;\n                if (next === 0) {\n                  if (ignore || ignoreUnclosed) {\n                    next = css.length;\n                  } else {\n                    unclosed(\"comment\");\n                  }\n                }\n                currentToken = [\"comment\", css.slice(pos, next + 1), pos, next];\n                pos = next;\n              } else {\n                RE_WORD_END.lastIndex = pos + 1;\n                RE_WORD_END.test(css);\n                if (RE_WORD_END.lastIndex === 0) {\n                  next = css.length - 1;\n                } else {\n                  next = RE_WORD_END.lastIndex - 2;\n                }\n                currentToken = [\"word\", css.slice(pos, next + 1), pos, next];\n                buffer.push(currentToken);\n                pos = next;\n              }\n              break;\n            }\n          }\n          pos++;\n          return currentToken;\n        }\n        function back(token) {\n          returned.push(token);\n        }\n        return {\n          back,\n          endOfFile,\n          nextToken,\n          position: position2\n        };\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/parser.js\n  var require_parser = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/parser.js\"(exports, module) {\n      \"use strict\";\n      var AtRule2 = require_at_rule();\n      var Comment2 = require_comment();\n      var Declaration2 = require_declaration();\n      var Root2 = require_root();\n      var Rule2 = require_rule();\n      var tokenizer2 = require_tokenize();\n      var SAFE_COMMENT_NEIGHBOR = {\n        empty: true,\n        space: true\n      };\n      function findLastWithPosition(tokens) {\n        for (let i2 = tokens.length - 1; i2 >= 0; i2--) {\n          let token = tokens[i2];\n          let pos = token[3] || token[2];\n          if (pos) return pos;\n        }\n      }\n      var Parser = class {\n        constructor(input) {\n          this.input = input;\n          this.root = new Root2();\n          this.current = this.root;\n          this.spaces = \"\";\n          this.semicolon = false;\n          this.createTokenizer();\n          this.root.source = { input, start: { column: 1, line: 1, offset: 0 } };\n        }\n        atrule(token) {\n          let node = new AtRule2();\n          node.name = token[1].slice(1);\n          if (node.name === \"\") {\n            this.unnamedAtrule(node, token);\n          }\n          this.init(node, token[2]);\n          let type;\n          let prev;\n          let shift;\n          let last = false;\n          let open = false;\n          let params = [];\n          let brackets = [];\n          while (!this.tokenizer.endOfFile()) {\n            token = this.tokenizer.nextToken();\n            type = token[0];\n            if (type === \"(\" || type === \"[\") {\n              brackets.push(type === \"(\" ? \")\" : \"]\");\n            } else if (type === \"{\" && brackets.length > 0) {\n              brackets.push(\"}\");\n            } else if (type === brackets[brackets.length - 1]) {\n              brackets.pop();\n            }\n            if (brackets.length === 0) {\n              if (type === \";\") {\n                node.source.end = this.getPosition(token[2]);\n                node.source.end.offset++;\n                this.semicolon = true;\n                break;\n              } else if (type === \"{\") {\n                open = true;\n                break;\n              } else if (type === \"}\") {\n                if (params.length > 0) {\n                  shift = params.length - 1;\n                  prev = params[shift];\n                  while (prev && prev[0] === \"space\") {\n                    prev = params[--shift];\n                  }\n                  if (prev) {\n                    node.source.end = this.getPosition(prev[3] || prev[2]);\n                    node.source.end.offset++;\n                  }\n                }\n                this.end(token);\n                break;\n              } else {\n                params.push(token);\n              }\n            } else {\n              params.push(token);\n            }\n            if (this.tokenizer.endOfFile()) {\n              last = true;\n              break;\n            }\n          }\n          node.raws.between = this.spacesAndCommentsFromEnd(params);\n          if (params.length) {\n            node.raws.afterName = this.spacesAndCommentsFromStart(params);\n            this.raw(node, \"params\", params);\n            if (last) {\n              token = params[params.length - 1];\n              node.source.end = this.getPosition(token[3] || token[2]);\n              node.source.end.offset++;\n              this.spaces = node.raws.between;\n              node.raws.between = \"\";\n            }\n          } else {\n            node.raws.afterName = \"\";\n            node.params = \"\";\n          }\n          if (open) {\n            node.nodes = [];\n            this.current = node;\n          }\n        }\n        checkMissedSemicolon(tokens) {\n          let colon = this.colon(tokens);\n          if (colon === false) return;\n          let founded = 0;\n          let token;\n          for (let j2 = colon - 1; j2 >= 0; j2--) {\n            token = tokens[j2];\n            if (token[0] !== \"space\") {\n              founded += 1;\n              if (founded === 2) break;\n            }\n          }\n          throw this.input.error(\n            \"Missed semicolon\",\n            token[0] === \"word\" ? token[3] + 1 : token[2]\n          );\n        }\n        colon(tokens) {\n          let brackets = 0;\n          let prev, token, type;\n          for (let [i2, element] of tokens.entries()) {\n            token = element;\n            type = token[0];\n            if (type === \"(\") {\n              brackets += 1;\n            }\n            if (type === \")\") {\n              brackets -= 1;\n            }\n            if (brackets === 0 && type === \":\") {\n              if (!prev) {\n                this.doubleColon(token);\n              } else if (prev[0] === \"word\" && prev[1] === \"progid\") {\n                continue;\n              } else {\n                return i2;\n              }\n            }\n            prev = token;\n          }\n          return false;\n        }\n        comment(token) {\n          let node = new Comment2();\n          this.init(node, token[2]);\n          node.source.end = this.getPosition(token[3] || token[2]);\n          node.source.end.offset++;\n          let text2 = token[1].slice(2, -2);\n          if (/^\\s*$/.test(text2)) {\n            node.text = \"\";\n            node.raws.left = text2;\n            node.raws.right = \"\";\n          } else {\n            let match = text2.match(/^(\\s*)([^]*\\S)(\\s*)$/);\n            node.text = match[2];\n            node.raws.left = match[1];\n            node.raws.right = match[3];\n          }\n        }\n        createTokenizer() {\n          this.tokenizer = tokenizer2(this.input);\n        }\n        decl(tokens, customProperty) {\n          let node = new Declaration2();\n          this.init(node, tokens[0][2]);\n          let last = tokens[tokens.length - 1];\n          if (last[0] === \";\") {\n            this.semicolon = true;\n            tokens.pop();\n          }\n          node.source.end = this.getPosition(\n            last[3] || last[2] || findLastWithPosition(tokens)\n          );\n          node.source.end.offset++;\n          while (tokens[0][0] !== \"word\") {\n            if (tokens.length === 1) this.unknownWord(tokens);\n            node.raws.before += tokens.shift()[1];\n          }\n          node.source.start = this.getPosition(tokens[0][2]);\n          node.prop = \"\";\n          while (tokens.length) {\n            let type = tokens[0][0];\n            if (type === \":\" || type === \"space\" || type === \"comment\") {\n              break;\n            }\n            node.prop += tokens.shift()[1];\n          }\n          node.raws.between = \"\";\n          let token;\n          while (tokens.length) {\n            token = tokens.shift();\n            if (token[0] === \":\") {\n              node.raws.between += token[1];\n              break;\n            } else {\n              if (token[0] === \"word\" && /\\w/.test(token[1])) {\n                this.unknownWord([token]);\n              }\n              node.raws.between += token[1];\n            }\n          }\n          if (node.prop[0] === \"_\" || node.prop[0] === \"*\") {\n            node.raws.before += node.prop[0];\n            node.prop = node.prop.slice(1);\n          }\n          let firstSpaces = [];\n          let next;\n          while (tokens.length) {\n            next = tokens[0][0];\n            if (next !== \"space\" && next !== \"comment\") break;\n            firstSpaces.push(tokens.shift());\n          }\n          this.precheckMissedSemicolon(tokens);\n          for (let i2 = tokens.length - 1; i2 >= 0; i2--) {\n            token = tokens[i2];\n            if (token[1].toLowerCase() === \"!important\") {\n              node.important = true;\n              let string = this.stringFrom(tokens, i2);\n              string = this.spacesFromEnd(tokens) + string;\n              if (string !== \" !important\") node.raws.important = string;\n              break;\n            } else if (token[1].toLowerCase() === \"important\") {\n              let cache3 = tokens.slice(0);\n              let str = \"\";\n              for (let j2 = i2; j2 > 0; j2--) {\n                let type = cache3[j2][0];\n                if (str.trim().startsWith(\"!\") && type !== \"space\") {\n                  break;\n                }\n                str = cache3.pop()[1] + str;\n              }\n              if (str.trim().startsWith(\"!\")) {\n                node.important = true;\n                node.raws.important = str;\n                tokens = cache3;\n              }\n            }\n            if (token[0] !== \"space\" && token[0] !== \"comment\") {\n              break;\n            }\n          }\n          let hasWord = tokens.some((i2) => i2[0] !== \"space\" && i2[0] !== \"comment\");\n          if (hasWord) {\n            node.raws.between += firstSpaces.map((i2) => i2[1]).join(\"\");\n            firstSpaces = [];\n          }\n          this.raw(node, \"value\", firstSpaces.concat(tokens), customProperty);\n          if (node.value.includes(\":\") && !customProperty) {\n            this.checkMissedSemicolon(tokens);\n          }\n        }\n        doubleColon(token) {\n          throw this.input.error(\n            \"Double colon\",\n            { offset: token[2] },\n            { offset: token[2] + token[1].length }\n          );\n        }\n        emptyRule(token) {\n          let node = new Rule2();\n          this.init(node, token[2]);\n          node.selector = \"\";\n          node.raws.between = \"\";\n          this.current = node;\n        }\n        end(token) {\n          if (this.current.nodes && this.current.nodes.length) {\n            this.current.raws.semicolon = this.semicolon;\n          }\n          this.semicolon = false;\n          this.current.raws.after = (this.current.raws.after || \"\") + this.spaces;\n          this.spaces = \"\";\n          if (this.current.parent) {\n            this.current.source.end = this.getPosition(token[2]);\n            this.current.source.end.offset++;\n            this.current = this.current.parent;\n          } else {\n            this.unexpectedClose(token);\n          }\n        }\n        endFile() {\n          if (this.current.parent) this.unclosedBlock();\n          if (this.current.nodes && this.current.nodes.length) {\n            this.current.raws.semicolon = this.semicolon;\n          }\n          this.current.raws.after = (this.current.raws.after || \"\") + this.spaces;\n          this.root.source.end = this.getPosition(this.tokenizer.position());\n        }\n        freeSemicolon(token) {\n          this.spaces += token[1];\n          if (this.current.nodes) {\n            let prev = this.current.nodes[this.current.nodes.length - 1];\n            if (prev && prev.type === \"rule\" && !prev.raws.ownSemicolon) {\n              prev.raws.ownSemicolon = this.spaces;\n              this.spaces = \"\";\n              prev.source.end = this.getPosition(token[2]);\n              prev.source.end.offset += prev.raws.ownSemicolon.length;\n            }\n          }\n        }\n        // Helpers\n        getPosition(offset) {\n          let pos = this.input.fromOffset(offset);\n          return {\n            column: pos.col,\n            line: pos.line,\n            offset\n          };\n        }\n        init(node, offset) {\n          this.current.push(node);\n          node.source = {\n            input: this.input,\n            start: this.getPosition(offset)\n          };\n          node.raws.before = this.spaces;\n          this.spaces = \"\";\n          if (node.type !== \"comment\") this.semicolon = false;\n        }\n        other(start) {\n          let end = false;\n          let type = null;\n          let colon = false;\n          let bracket = null;\n          let brackets = [];\n          let customProperty = start[1].startsWith(\"--\");\n          let tokens = [];\n          let token = start;\n          while (token) {\n            type = token[0];\n            tokens.push(token);\n            if (type === \"(\" || type === \"[\") {\n              if (!bracket) bracket = token;\n              brackets.push(type === \"(\" ? \")\" : \"]\");\n            } else if (customProperty && colon && type === \"{\") {\n              if (!bracket) bracket = token;\n              brackets.push(\"}\");\n            } else if (brackets.length === 0) {\n              if (type === \";\") {\n                if (colon) {\n                  this.decl(tokens, customProperty);\n                  return;\n                } else {\n                  break;\n                }\n              } else if (type === \"{\") {\n                this.rule(tokens);\n                return;\n              } else if (type === \"}\") {\n                this.tokenizer.back(tokens.pop());\n                end = true;\n                break;\n              } else if (type === \":\") {\n                colon = true;\n              }\n            } else if (type === brackets[brackets.length - 1]) {\n              brackets.pop();\n              if (brackets.length === 0) bracket = null;\n            }\n            token = this.tokenizer.nextToken();\n          }\n          if (this.tokenizer.endOfFile()) end = true;\n          if (brackets.length > 0) this.unclosedBracket(bracket);\n          if (end && colon) {\n            if (!customProperty) {\n              while (tokens.length) {\n                token = tokens[tokens.length - 1][0];\n                if (token !== \"space\" && token !== \"comment\") break;\n                this.tokenizer.back(tokens.pop());\n              }\n            }\n            this.decl(tokens, customProperty);\n          } else {\n            this.unknownWord(tokens);\n          }\n        }\n        parse() {\n          let token;\n          while (!this.tokenizer.endOfFile()) {\n            token = this.tokenizer.nextToken();\n            switch (token[0]) {\n              case \"space\":\n                this.spaces += token[1];\n                break;\n              case \";\":\n                this.freeSemicolon(token);\n                break;\n              case \"}\":\n                this.end(token);\n                break;\n              case \"comment\":\n                this.comment(token);\n                break;\n              case \"at-word\":\n                this.atrule(token);\n                break;\n              case \"{\":\n                this.emptyRule(token);\n                break;\n              default:\n                this.other(token);\n                break;\n            }\n          }\n          this.endFile();\n        }\n        precheckMissedSemicolon() {\n        }\n        raw(node, prop, tokens, customProperty) {\n          let token, type;\n          let length2 = tokens.length;\n          let value2 = \"\";\n          let clean = true;\n          let next, prev;\n          for (let i2 = 0; i2 < length2; i2 += 1) {\n            token = tokens[i2];\n            type = token[0];\n            if (type === \"space\" && i2 === length2 - 1 && !customProperty) {\n              clean = false;\n            } else if (type === \"comment\") {\n              prev = tokens[i2 - 1] ? tokens[i2 - 1][0] : \"empty\";\n              next = tokens[i2 + 1] ? tokens[i2 + 1][0] : \"empty\";\n              if (!SAFE_COMMENT_NEIGHBOR[prev] && !SAFE_COMMENT_NEIGHBOR[next]) {\n                if (value2.slice(-1) === \",\") {\n                  clean = false;\n                } else {\n                  value2 += token[1];\n                }\n              } else {\n                clean = false;\n              }\n            } else {\n              value2 += token[1];\n            }\n          }\n          if (!clean) {\n            let raw = tokens.reduce((all, i2) => all + i2[1], \"\");\n            node.raws[prop] = { raw, value: value2 };\n          }\n          node[prop] = value2;\n        }\n        rule(tokens) {\n          tokens.pop();\n          let node = new Rule2();\n          this.init(node, tokens[0][2]);\n          node.raws.between = this.spacesAndCommentsFromEnd(tokens);\n          this.raw(node, \"selector\", tokens);\n          this.current = node;\n        }\n        spacesAndCommentsFromEnd(tokens) {\n          let lastTokenType;\n          let spaces = \"\";\n          while (tokens.length) {\n            lastTokenType = tokens[tokens.length - 1][0];\n            if (lastTokenType !== \"space\" && lastTokenType !== \"comment\") break;\n            spaces = tokens.pop()[1] + spaces;\n          }\n          return spaces;\n        }\n        // Errors\n        spacesAndCommentsFromStart(tokens) {\n          let next;\n          let spaces = \"\";\n          while (tokens.length) {\n            next = tokens[0][0];\n            if (next !== \"space\" && next !== \"comment\") break;\n            spaces += tokens.shift()[1];\n          }\n          return spaces;\n        }\n        spacesFromEnd(tokens) {\n          let lastTokenType;\n          let spaces = \"\";\n          while (tokens.length) {\n            lastTokenType = tokens[tokens.length - 1][0];\n            if (lastTokenType !== \"space\") break;\n            spaces = tokens.pop()[1] + spaces;\n          }\n          return spaces;\n        }\n        stringFrom(tokens, from) {\n          let result = \"\";\n          for (let i2 = from; i2 < tokens.length; i2++) {\n            result += tokens[i2][1];\n          }\n          tokens.splice(from, tokens.length - from);\n          return result;\n        }\n        unclosedBlock() {\n          let pos = this.current.source.start;\n          throw this.input.error(\"Unclosed block\", pos.line, pos.column);\n        }\n        unclosedBracket(bracket) {\n          throw this.input.error(\n            \"Unclosed bracket\",\n            { offset: bracket[2] },\n            { offset: bracket[2] + 1 }\n          );\n        }\n        unexpectedClose(token) {\n          throw this.input.error(\n            \"Unexpected }\",\n            { offset: token[2] },\n            { offset: token[2] + 1 }\n          );\n        }\n        unknownWord(tokens) {\n          throw this.input.error(\n            \"Unknown word \" + tokens[0][1],\n            { offset: tokens[0][2] },\n            { offset: tokens[0][2] + tokens[0][1].length }\n          );\n        }\n        unnamedAtrule(node, token) {\n          throw this.input.error(\n            \"At-rule without name\",\n            { offset: token[2] },\n            { offset: token[2] + token[1].length }\n          );\n        }\n      };\n      module.exports = Parser;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/parse.js\n  var require_parse = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/parse.js\"(exports, module) {\n      \"use strict\";\n      var Container2 = require_container();\n      var Input2 = require_input();\n      var Parser = require_parser();\n      function parse5(css, opts) {\n        let input = new Input2(css, opts);\n        let parser5 = new Parser(input);\n        try {\n          parser5.parse();\n        } catch (e5) {\n          if (true) {\n            if (e5.name === \"CssSyntaxError\" && opts && opts.from) {\n              if (/\\.scss$/i.test(opts.from)) {\n                e5.message += \"\\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser\";\n              } else if (/\\.sass/i.test(opts.from)) {\n                e5.message += \"\\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser\";\n              } else if (/\\.less$/i.test(opts.from)) {\n                e5.message += \"\\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser\";\n              }\n            }\n          }\n          throw e5;\n        }\n        return parser5.root;\n      }\n      module.exports = parse5;\n      parse5.default = parse5;\n      Container2.registerParse(parse5);\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/warning.js\n  var require_warning = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/warning.js\"(exports, module) {\n      \"use strict\";\n      var Warning2 = class {\n        constructor(text2, opts = {}) {\n          this.type = \"warning\";\n          this.text = text2;\n          if (opts.node && opts.node.source) {\n            let range = opts.node.rangeBy(opts);\n            this.line = range.start.line;\n            this.column = range.start.column;\n            this.endLine = range.end.line;\n            this.endColumn = range.end.column;\n          }\n          for (let opt in opts) this[opt] = opts[opt];\n        }\n        toString() {\n          if (this.node) {\n            return this.node.error(this.text, {\n              index: this.index,\n              plugin: this.plugin,\n              word: this.word\n            }).message;\n          }\n          if (this.plugin) {\n            return this.plugin + \": \" + this.text;\n          }\n          return this.text;\n        }\n      };\n      module.exports = Warning2;\n      Warning2.default = Warning2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/result.js\n  var require_result = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/result.js\"(exports, module) {\n      \"use strict\";\n      var Warning2 = require_warning();\n      var Result2 = class {\n        get content() {\n          return this.css;\n        }\n        constructor(processor, root2, opts) {\n          this.processor = processor;\n          this.messages = [];\n          this.root = root2;\n          this.opts = opts;\n          this.css = void 0;\n          this.map = void 0;\n        }\n        toString() {\n          return this.css;\n        }\n        warn(text2, opts = {}) {\n          if (!opts.plugin) {\n            if (this.lastPlugin && this.lastPlugin.postcssPlugin) {\n              opts.plugin = this.lastPlugin.postcssPlugin;\n            }\n          }\n          let warning = new Warning2(text2, opts);\n          this.messages.push(warning);\n          return warning;\n        }\n        warnings() {\n          return this.messages.filter((i2) => i2.type === \"warning\");\n        }\n      };\n      module.exports = Result2;\n      Result2.default = Result2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/warn-once.js\n  var require_warn_once = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/warn-once.js\"(exports, module) {\n      \"use strict\";\n      var printed = {};\n      module.exports = function warnOnce(message) {\n        if (printed[message]) return;\n        printed[message] = true;\n        if (typeof console !== \"undefined\" && console.warn) {\n          console.warn(message);\n        }\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/lazy-result.js\n  var require_lazy_result = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/lazy-result.js\"(exports, module) {\n      \"use strict\";\n      var Container2 = require_container();\n      var Document2 = require_document();\n      var MapGenerator = require_map_generator();\n      var parse5 = require_parse();\n      var Result2 = require_result();\n      var Root2 = require_root();\n      var stringify3 = require_stringify();\n      var { isClean, my } = require_symbols();\n      var warnOnce = require_warn_once();\n      var TYPE_TO_CLASS_NAME = {\n        atrule: \"AtRule\",\n        comment: \"Comment\",\n        decl: \"Declaration\",\n        document: \"Document\",\n        root: \"Root\",\n        rule: \"Rule\"\n      };\n      var PLUGIN_PROPS = {\n        AtRule: true,\n        AtRuleExit: true,\n        Comment: true,\n        CommentExit: true,\n        Declaration: true,\n        DeclarationExit: true,\n        Document: true,\n        DocumentExit: true,\n        Once: true,\n        OnceExit: true,\n        postcssPlugin: true,\n        prepare: true,\n        Root: true,\n        RootExit: true,\n        Rule: true,\n        RuleExit: true\n      };\n      var NOT_VISITORS = {\n        Once: true,\n        postcssPlugin: true,\n        prepare: true\n      };\n      var CHILDREN = 0;\n      function isPromise(obj) {\n        return typeof obj === \"object\" && typeof obj.then === \"function\";\n      }\n      function getEvents(node) {\n        let key = false;\n        let type = TYPE_TO_CLASS_NAME[node.type];\n        if (node.type === \"decl\") {\n          key = node.prop.toLowerCase();\n        } else if (node.type === \"atrule\") {\n          key = node.name.toLowerCase();\n        }\n        if (key && node.append) {\n          return [\n            type,\n            type + \"-\" + key,\n            CHILDREN,\n            type + \"Exit\",\n            type + \"Exit-\" + key\n          ];\n        } else if (key) {\n          return [type, type + \"-\" + key, type + \"Exit\", type + \"Exit-\" + key];\n        } else if (node.append) {\n          return [type, CHILDREN, type + \"Exit\"];\n        } else {\n          return [type, type + \"Exit\"];\n        }\n      }\n      function toStack(node) {\n        let events;\n        if (node.type === \"document\") {\n          events = [\"Document\", CHILDREN, \"DocumentExit\"];\n        } else if (node.type === \"root\") {\n          events = [\"Root\", CHILDREN, \"RootExit\"];\n        } else {\n          events = getEvents(node);\n        }\n        return {\n          eventIndex: 0,\n          events,\n          iterator: 0,\n          node,\n          visitorIndex: 0,\n          visitors: []\n        };\n      }\n      function cleanMarks(node) {\n        node[isClean] = false;\n        if (node.nodes) node.nodes.forEach((i2) => cleanMarks(i2));\n        return node;\n      }\n      var postcss2 = {};\n      var LazyResult = class _LazyResult {\n        get content() {\n          return this.stringify().content;\n        }\n        get css() {\n          return this.stringify().css;\n        }\n        get map() {\n          return this.stringify().map;\n        }\n        get messages() {\n          return this.sync().messages;\n        }\n        get opts() {\n          return this.result.opts;\n        }\n        get processor() {\n          return this.result.processor;\n        }\n        get root() {\n          return this.sync().root;\n        }\n        get [Symbol.toStringTag]() {\n          return \"LazyResult\";\n        }\n        constructor(processor, css, opts) {\n          this.stringified = false;\n          this.processed = false;\n          let root2;\n          if (typeof css === \"object\" && css !== null && (css.type === \"root\" || css.type === \"document\")) {\n            root2 = cleanMarks(css);\n          } else if (css instanceof _LazyResult || css instanceof Result2) {\n            root2 = cleanMarks(css.root);\n            if (css.map) {\n              if (typeof opts.map === \"undefined\") opts.map = {};\n              if (!opts.map.inline) opts.map.inline = false;\n              opts.map.prev = css.map;\n            }\n          } else {\n            let parser5 = parse5;\n            if (opts.syntax) parser5 = opts.syntax.parse;\n            if (opts.parser) parser5 = opts.parser;\n            if (parser5.parse) parser5 = parser5.parse;\n            try {\n              root2 = parser5(css, opts);\n            } catch (error) {\n              this.processed = true;\n              this.error = error;\n            }\n            if (root2 && !root2[my]) {\n              Container2.rebuild(root2);\n            }\n          }\n          this.result = new Result2(processor, root2, opts);\n          this.helpers = { ...postcss2, postcss: postcss2, result: this.result };\n          this.plugins = this.processor.plugins.map((plugin2) => {\n            if (typeof plugin2 === \"object\" && plugin2.prepare) {\n              return { ...plugin2, ...plugin2.prepare(this.result) };\n            } else {\n              return plugin2;\n            }\n          });\n        }\n        async() {\n          if (this.error) return Promise.reject(this.error);\n          if (this.processed) return Promise.resolve(this.result);\n          if (!this.processing) {\n            this.processing = this.runAsync();\n          }\n          return this.processing;\n        }\n        catch(onRejected) {\n          return this.async().catch(onRejected);\n        }\n        finally(onFinally) {\n          return this.async().then(onFinally, onFinally);\n        }\n        getAsyncError() {\n          throw new Error(\"Use process(css).then(cb) to work with async plugins\");\n        }\n        handleError(error, node) {\n          let plugin2 = this.result.lastPlugin;\n          try {\n            if (node) node.addToError(error);\n            this.error = error;\n            if (error.name === \"CssSyntaxError\" && !error.plugin) {\n              error.plugin = plugin2.postcssPlugin;\n              error.setMessage();\n            } else if (plugin2.postcssVersion) {\n              if (true) {\n                let pluginName = plugin2.postcssPlugin;\n                let pluginVer = plugin2.postcssVersion;\n                let runtimeVer = this.result.processor.version;\n                let a2 = pluginVer.split(\".\");\n                let b2 = runtimeVer.split(\".\");\n                if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {\n                  console.error(\n                    \"Unknown error from PostCSS plugin. Your current PostCSS version is \" + runtimeVer + \", but \" + pluginName + \" uses \" + pluginVer + \". Perhaps this is the source of the error below.\"\n                  );\n                }\n              }\n            }\n          } catch (err) {\n            if (console && console.error) console.error(err);\n          }\n          return error;\n        }\n        prepareVisitors() {\n          this.listeners = {};\n          let add = (plugin2, type, cb) => {\n            if (!this.listeners[type]) this.listeners[type] = [];\n            this.listeners[type].push([plugin2, cb]);\n          };\n          for (let plugin2 of this.plugins) {\n            if (typeof plugin2 === \"object\") {\n              for (let event in plugin2) {\n                if (!PLUGIN_PROPS[event] && /^[A-Z]/.test(event)) {\n                  throw new Error(\n                    `Unknown event ${event} in ${plugin2.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`\n                  );\n                }\n                if (!NOT_VISITORS[event]) {\n                  if (typeof plugin2[event] === \"object\") {\n                    for (let filter in plugin2[event]) {\n                      if (filter === \"*\") {\n                        add(plugin2, event, plugin2[event][filter]);\n                      } else {\n                        add(\n                          plugin2,\n                          event + \"-\" + filter.toLowerCase(),\n                          plugin2[event][filter]\n                        );\n                      }\n                    }\n                  } else if (typeof plugin2[event] === \"function\") {\n                    add(plugin2, event, plugin2[event]);\n                  }\n                }\n              }\n            }\n          }\n          this.hasListener = Object.keys(this.listeners).length > 0;\n        }\n        async runAsync() {\n          this.plugin = 0;\n          for (let i2 = 0; i2 < this.plugins.length; i2++) {\n            let plugin2 = this.plugins[i2];\n            let promise = this.runOnRoot(plugin2);\n            if (isPromise(promise)) {\n              try {\n                await promise;\n              } catch (error) {\n                throw this.handleError(error);\n              }\n            }\n          }\n          this.prepareVisitors();\n          if (this.hasListener) {\n            let root2 = this.result.root;\n            while (!root2[isClean]) {\n              root2[isClean] = true;\n              let stack = [toStack(root2)];\n              while (stack.length > 0) {\n                let promise = this.visitTick(stack);\n                if (isPromise(promise)) {\n                  try {\n                    await promise;\n                  } catch (e5) {\n                    let node = stack[stack.length - 1].node;\n                    throw this.handleError(e5, node);\n                  }\n                }\n              }\n            }\n            if (this.listeners.OnceExit) {\n              for (let [plugin2, visitor] of this.listeners.OnceExit) {\n                this.result.lastPlugin = plugin2;\n                try {\n                  if (root2.type === \"document\") {\n                    let roots = root2.nodes.map(\n                      (subRoot) => visitor(subRoot, this.helpers)\n                    );\n                    await Promise.all(roots);\n                  } else {\n                    await visitor(root2, this.helpers);\n                  }\n                } catch (e5) {\n                  throw this.handleError(e5);\n                }\n              }\n            }\n          }\n          this.processed = true;\n          return this.stringify();\n        }\n        runOnRoot(plugin2) {\n          this.result.lastPlugin = plugin2;\n          try {\n            if (typeof plugin2 === \"object\" && plugin2.Once) {\n              if (this.result.root.type === \"document\") {\n                let roots = this.result.root.nodes.map(\n                  (root2) => plugin2.Once(root2, this.helpers)\n                );\n                if (isPromise(roots[0])) {\n                  return Promise.all(roots);\n                }\n                return roots;\n              }\n              return plugin2.Once(this.result.root, this.helpers);\n            } else if (typeof plugin2 === \"function\") {\n              return plugin2(this.result.root, this.result);\n            }\n          } catch (error) {\n            throw this.handleError(error);\n          }\n        }\n        stringify() {\n          if (this.error) throw this.error;\n          if (this.stringified) return this.result;\n          this.stringified = true;\n          this.sync();\n          let opts = this.result.opts;\n          let str = stringify3;\n          if (opts.syntax) str = opts.syntax.stringify;\n          if (opts.stringifier) str = opts.stringifier;\n          if (str.stringify) str = str.stringify;\n          let map = new MapGenerator(str, this.result.root, this.result.opts);\n          let data = map.generate();\n          this.result.css = data[0];\n          this.result.map = data[1];\n          return this.result;\n        }\n        sync() {\n          if (this.error) throw this.error;\n          if (this.processed) return this.result;\n          this.processed = true;\n          if (this.processing) {\n            throw this.getAsyncError();\n          }\n          for (let plugin2 of this.plugins) {\n            let promise = this.runOnRoot(plugin2);\n            if (isPromise(promise)) {\n              throw this.getAsyncError();\n            }\n          }\n          this.prepareVisitors();\n          if (this.hasListener) {\n            let root2 = this.result.root;\n            while (!root2[isClean]) {\n              root2[isClean] = true;\n              this.walkSync(root2);\n            }\n            if (this.listeners.OnceExit) {\n              if (root2.type === \"document\") {\n                for (let subRoot of root2.nodes) {\n                  this.visitSync(this.listeners.OnceExit, subRoot);\n                }\n              } else {\n                this.visitSync(this.listeners.OnceExit, root2);\n              }\n            }\n          }\n          return this.result;\n        }\n        then(onFulfilled, onRejected) {\n          if (true) {\n            if (!(\"from\" in this.opts)) {\n              warnOnce(\n                \"Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.\"\n              );\n            }\n          }\n          return this.async().then(onFulfilled, onRejected);\n        }\n        toString() {\n          return this.css;\n        }\n        visitSync(visitors, node) {\n          for (let [plugin2, visitor] of visitors) {\n            this.result.lastPlugin = plugin2;\n            let promise;\n            try {\n              promise = visitor(node, this.helpers);\n            } catch (e5) {\n              throw this.handleError(e5, node.proxyOf);\n            }\n            if (node.type !== \"root\" && node.type !== \"document\" && !node.parent) {\n              return true;\n            }\n            if (isPromise(promise)) {\n              throw this.getAsyncError();\n            }\n          }\n        }\n        visitTick(stack) {\n          let visit2 = stack[stack.length - 1];\n          let { node, visitors } = visit2;\n          if (node.type !== \"root\" && node.type !== \"document\" && !node.parent) {\n            stack.pop();\n            return;\n          }\n          if (visitors.length > 0 && visit2.visitorIndex < visitors.length) {\n            let [plugin2, visitor] = visitors[visit2.visitorIndex];\n            visit2.visitorIndex += 1;\n            if (visit2.visitorIndex === visitors.length) {\n              visit2.visitors = [];\n              visit2.visitorIndex = 0;\n            }\n            this.result.lastPlugin = plugin2;\n            try {\n              return visitor(node.toProxy(), this.helpers);\n            } catch (e5) {\n              throw this.handleError(e5, node);\n            }\n          }\n          if (visit2.iterator !== 0) {\n            let iterator = visit2.iterator;\n            let child;\n            while (child = node.nodes[node.indexes[iterator]]) {\n              node.indexes[iterator] += 1;\n              if (!child[isClean]) {\n                child[isClean] = true;\n                stack.push(toStack(child));\n                return;\n              }\n            }\n            visit2.iterator = 0;\n            delete node.indexes[iterator];\n          }\n          let events = visit2.events;\n          while (visit2.eventIndex < events.length) {\n            let event = events[visit2.eventIndex];\n            visit2.eventIndex += 1;\n            if (event === CHILDREN) {\n              if (node.nodes && node.nodes.length) {\n                node[isClean] = true;\n                visit2.iterator = node.getIterator();\n              }\n              return;\n            } else if (this.listeners[event]) {\n              visit2.visitors = this.listeners[event];\n              return;\n            }\n          }\n          stack.pop();\n        }\n        walkSync(node) {\n          node[isClean] = true;\n          let events = getEvents(node);\n          for (let event of events) {\n            if (event === CHILDREN) {\n              if (node.nodes) {\n                node.each((child) => {\n                  if (!child[isClean]) this.walkSync(child);\n                });\n              }\n            } else {\n              let visitors = this.listeners[event];\n              if (visitors) {\n                if (this.visitSync(visitors, node.toProxy())) return;\n              }\n            }\n          }\n        }\n        warnings() {\n          return this.sync().warnings();\n        }\n      };\n      LazyResult.registerPostcss = (dependant) => {\n        postcss2 = dependant;\n      };\n      module.exports = LazyResult;\n      LazyResult.default = LazyResult;\n      Root2.registerLazyResult(LazyResult);\n      Document2.registerLazyResult(LazyResult);\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/no-work-result.js\n  var require_no_work_result = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/no-work-result.js\"(exports, module) {\n      \"use strict\";\n      var MapGenerator = require_map_generator();\n      var parse5 = require_parse();\n      var Result2 = require_result();\n      var stringify3 = require_stringify();\n      var warnOnce = require_warn_once();\n      var NoWorkResult = class {\n        get content() {\n          return this.result.css;\n        }\n        get css() {\n          return this.result.css;\n        }\n        get map() {\n          return this.result.map;\n        }\n        get messages() {\n          return [];\n        }\n        get opts() {\n          return this.result.opts;\n        }\n        get processor() {\n          return this.result.processor;\n        }\n        get root() {\n          if (this._root) {\n            return this._root;\n          }\n          let root2;\n          let parser5 = parse5;\n          try {\n            root2 = parser5(this._css, this._opts);\n          } catch (error) {\n            this.error = error;\n          }\n          if (this.error) {\n            throw this.error;\n          } else {\n            this._root = root2;\n            return root2;\n          }\n        }\n        get [Symbol.toStringTag]() {\n          return \"NoWorkResult\";\n        }\n        constructor(processor, css, opts) {\n          css = css.toString();\n          this.stringified = false;\n          this._processor = processor;\n          this._css = css;\n          this._opts = opts;\n          this._map = void 0;\n          let root2;\n          let str = stringify3;\n          this.result = new Result2(this._processor, root2, this._opts);\n          this.result.css = css;\n          let self2 = this;\n          Object.defineProperty(this.result, \"root\", {\n            get() {\n              return self2.root;\n            }\n          });\n          let map = new MapGenerator(str, root2, this._opts, css);\n          if (map.isMap()) {\n            let [generatedCSS, generatedMap] = map.generate();\n            if (generatedCSS) {\n              this.result.css = generatedCSS;\n            }\n            if (generatedMap) {\n              this.result.map = generatedMap;\n            }\n          } else {\n            map.clearAnnotation();\n            this.result.css = map.css;\n          }\n        }\n        async() {\n          if (this.error) return Promise.reject(this.error);\n          return Promise.resolve(this.result);\n        }\n        catch(onRejected) {\n          return this.async().catch(onRejected);\n        }\n        finally(onFinally) {\n          return this.async().then(onFinally, onFinally);\n        }\n        sync() {\n          if (this.error) throw this.error;\n          return this.result;\n        }\n        then(onFulfilled, onRejected) {\n          if (true) {\n            if (!(\"from\" in this._opts)) {\n              warnOnce(\n                \"Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.\"\n              );\n            }\n          }\n          return this.async().then(onFulfilled, onRejected);\n        }\n        toString() {\n          return this._css;\n        }\n        warnings() {\n          return [];\n        }\n      };\n      module.exports = NoWorkResult;\n      NoWorkResult.default = NoWorkResult;\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/processor.js\n  var require_processor = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/processor.js\"(exports, module) {\n      \"use strict\";\n      var Document2 = require_document();\n      var LazyResult = require_lazy_result();\n      var NoWorkResult = require_no_work_result();\n      var Root2 = require_root();\n      var Processor2 = class {\n        constructor(plugins = []) {\n          this.version = \"8.5.3\";\n          this.plugins = this.normalize(plugins);\n        }\n        normalize(plugins) {\n          let normalized = [];\n          for (let i2 of plugins) {\n            if (i2.postcss === true) {\n              i2 = i2();\n            } else if (i2.postcss) {\n              i2 = i2.postcss;\n            }\n            if (typeof i2 === \"object\" && Array.isArray(i2.plugins)) {\n              normalized = normalized.concat(i2.plugins);\n            } else if (typeof i2 === \"object\" && i2.postcssPlugin) {\n              normalized.push(i2);\n            } else if (typeof i2 === \"function\") {\n              normalized.push(i2);\n            } else if (typeof i2 === \"object\" && (i2.parse || i2.stringify)) {\n              if (true) {\n                throw new Error(\n                  \"PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.\"\n                );\n              }\n            } else {\n              throw new Error(i2 + \" is not a PostCSS plugin\");\n            }\n          }\n          return normalized;\n        }\n        process(css, opts = {}) {\n          if (!this.plugins.length && !opts.parser && !opts.stringifier && !opts.syntax) {\n            return new NoWorkResult(this, css, opts);\n          } else {\n            return new LazyResult(this, css, opts);\n          }\n        }\n        use(plugin2) {\n          this.plugins = this.plugins.concat(this.normalize([plugin2]));\n          return this;\n        }\n      };\n      module.exports = Processor2;\n      Processor2.default = Processor2;\n      Root2.registerProcessor(Processor2);\n      Document2.registerProcessor(Processor2);\n    }\n  });\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/postcss.js\n  var require_postcss = __commonJS({\n    \"node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/postcss.js\"(exports, module) {\n      \"use strict\";\n      var AtRule2 = require_at_rule();\n      var Comment2 = require_comment();\n      var Container2 = require_container();\n      var CssSyntaxError2 = require_css_syntax_error();\n      var Declaration2 = require_declaration();\n      var Document2 = require_document();\n      var fromJSON2 = require_fromJSON();\n      var Input2 = require_input();\n      var LazyResult = require_lazy_result();\n      var list3 = require_list();\n      var Node3 = require_node();\n      var parse5 = require_parse();\n      var Processor2 = require_processor();\n      var Result2 = require_result();\n      var Root2 = require_root();\n      var Rule2 = require_rule();\n      var stringify3 = require_stringify();\n      var Warning2 = require_warning();\n      function postcss2(...plugins) {\n        if (plugins.length === 1 && Array.isArray(plugins[0])) {\n          plugins = plugins[0];\n        }\n        return new Processor2(plugins);\n      }\n      postcss2.plugin = function plugin2(name, initializer) {\n        let warningPrinted = false;\n        function creator(...args) {\n          if (console && console.warn && !warningPrinted) {\n            warningPrinted = true;\n            console.warn(\n              name + \": postcss.plugin was deprecated. Migration guide:\\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration\"\n            );\n            if (process.env.LANG && process.env.LANG.startsWith(\"cn\")) {\n              console.warn(\n                name + \": \\u91CC\\u9762 postcss.plugin \\u88AB\\u5F03\\u7528. \\u8FC1\\u79FB\\u6307\\u5357:\\nhttps://www.w3ctech.com/topic/2226\"\n              );\n            }\n          }\n          let transformer = initializer(...args);\n          transformer.postcssPlugin = name;\n          transformer.postcssVersion = new Processor2().version;\n          return transformer;\n        }\n        let cache3;\n        Object.defineProperty(creator, \"postcss\", {\n          get() {\n            if (!cache3) cache3 = creator();\n            return cache3;\n          }\n        });\n        creator.process = function(css, processOpts, pluginOpts) {\n          return postcss2([creator(pluginOpts)]).process(css, processOpts);\n        };\n        return creator;\n      };\n      postcss2.stringify = stringify3;\n      postcss2.parse = parse5;\n      postcss2.fromJSON = fromJSON2;\n      postcss2.list = list3;\n      postcss2.comment = (defaults3) => new Comment2(defaults3);\n      postcss2.atRule = (defaults3) => new AtRule2(defaults3);\n      postcss2.decl = (defaults3) => new Declaration2(defaults3);\n      postcss2.rule = (defaults3) => new Rule2(defaults3);\n      postcss2.root = (defaults3) => new Root2(defaults3);\n      postcss2.document = (defaults3) => new Document2(defaults3);\n      postcss2.CssSyntaxError = CssSyntaxError2;\n      postcss2.Declaration = Declaration2;\n      postcss2.Container = Container2;\n      postcss2.Processor = Processor2;\n      postcss2.Document = Document2;\n      postcss2.Comment = Comment2;\n      postcss2.Warning = Warning2;\n      postcss2.AtRule = AtRule2;\n      postcss2.Result = Result2;\n      postcss2.Input = Input2;\n      postcss2.Rule = Rule2;\n      postcss2.Root = Root2;\n      postcss2.Node = Node3;\n      LazyResult.registerPostcss(postcss2);\n      module.exports = postcss2;\n      postcss2.default = postcss2;\n    }\n  });\n\n  // node_modules/.pnpm/isarray@1.0.0/node_modules/isarray/index.js\n  var require_isarray = __commonJS({\n    \"node_modules/.pnpm/isarray@1.0.0/node_modules/isarray/index.js\"(exports, module) {\n      var toString2 = {}.toString;\n      module.exports = Array.isArray || function(arr) {\n        return toString2.call(arr) == \"[object Array]\";\n      };\n    }\n  });\n\n  // node_modules/.pnpm/isobject@2.1.0/node_modules/isobject/index.js\n  var require_isobject = __commonJS({\n    \"node_modules/.pnpm/isobject@2.1.0/node_modules/isobject/index.js\"(exports, module) {\n      \"use strict\";\n      var isArray = require_isarray();\n      module.exports = function isObject4(val) {\n        return val != null && typeof val === \"object\" && isArray(val) === false;\n      };\n    }\n  });\n\n  // node_modules/.pnpm/line-column@1.0.2/node_modules/line-column/lib/line-column.js\n  var require_line_column = __commonJS({\n    \"node_modules/.pnpm/line-column@1.0.2/node_modules/line-column/lib/line-column.js\"(exports, module) {\n      \"use strict\";\n      var isArray = require_isarray();\n      var isObject4 = require_isobject();\n      var slice = Array.prototype.slice;\n      module.exports = LineColumnFinder;\n      function LineColumnFinder(str, options) {\n        if (!(this instanceof LineColumnFinder)) {\n          if (typeof options === \"number\") {\n            return new LineColumnFinder(str).fromIndex(options);\n          }\n          return new LineColumnFinder(str, options);\n        }\n        this.str = str || \"\";\n        this.lineToIndex = buildLineToIndex(this.str);\n        options = options || {};\n        this.origin = typeof options.origin === \"undefined\" ? 1 : options.origin;\n      }\n      LineColumnFinder.prototype.fromIndex = function(index2) {\n        if (index2 < 0 || index2 >= this.str.length || isNaN(index2)) {\n          return null;\n        }\n        var line = findLowerIndexInRangeArray(index2, this.lineToIndex);\n        return {\n          line: line + this.origin,\n          col: index2 - this.lineToIndex[line] + this.origin\n        };\n      };\n      LineColumnFinder.prototype.toIndex = function(line, column) {\n        if (typeof column === \"undefined\") {\n          if (isArray(line) && line.length >= 2) {\n            return this.toIndex(line[0], line[1]);\n          }\n          if (isObject4(line) && \"line\" in line && (\"col\" in line || \"column\" in line)) {\n            return this.toIndex(line.line, \"col\" in line ? line.col : line.column);\n          }\n          return -1;\n        }\n        if (isNaN(line) || isNaN(column)) {\n          return -1;\n        }\n        line -= this.origin;\n        column -= this.origin;\n        if (line >= 0 && column >= 0 && line < this.lineToIndex.length) {\n          var lineIndex = this.lineToIndex[line];\n          var nextIndex = line === this.lineToIndex.length - 1 ? this.str.length : this.lineToIndex[line + 1];\n          if (column < nextIndex - lineIndex) {\n            return lineIndex + column;\n          }\n        }\n        return -1;\n      };\n      function buildLineToIndex(str) {\n        var lines = str.split(\"\\n\"), lineToIndex = new Array(lines.length), index2 = 0;\n        for (var i2 = 0, l2 = lines.length; i2 < l2; i2++) {\n          lineToIndex[i2] = index2;\n          index2 += lines[i2].length + /* \"\\n\".length */\n          1;\n        }\n        return lineToIndex;\n      }\n      function findLowerIndexInRangeArray(value2, arr) {\n        if (value2 >= arr[arr.length - 1]) {\n          return arr.length - 1;\n        }\n        var min = 0, max2 = arr.length - 2, mid;\n        while (min < max2) {\n          mid = min + (max2 - min >> 1);\n          if (value2 < arr[mid]) {\n            max2 = mid - 1;\n          } else if (value2 >= arr[mid + 1]) {\n            min = mid + 1;\n          } else {\n            min = mid;\n            break;\n          }\n        }\n        return min;\n      }\n    }\n  });\n\n  // node_modules/.pnpm/moo@0.5.2/node_modules/moo/moo.js\n  var require_moo = __commonJS({\n    \"node_modules/.pnpm/moo@0.5.2/node_modules/moo/moo.js\"(exports, module) {\n      (function(root2, factory) {\n        if (typeof define === \"function\" && define.amd) {\n          define([], factory);\n        } else if (typeof module === \"object\" && module.exports) {\n          module.exports = factory();\n        } else {\n          root2.moo = factory();\n        }\n      })(exports, function() {\n        \"use strict\";\n        var hasOwnProperty = Object.prototype.hasOwnProperty;\n        var toString2 = Object.prototype.toString;\n        var hasSticky = typeof new RegExp().sticky === \"boolean\";\n        function isRegExp(o2) {\n          return o2 && toString2.call(o2) === \"[object RegExp]\";\n        }\n        function isObject4(o2) {\n          return o2 && typeof o2 === \"object\" && !isRegExp(o2) && !Array.isArray(o2);\n        }\n        function reEscape(s2) {\n          return s2.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\");\n        }\n        function reGroups(s2) {\n          var re = new RegExp(\"|\" + s2);\n          return re.exec(\"\").length - 1;\n        }\n        function reCapture(s2) {\n          return \"(\" + s2 + \")\";\n        }\n        function reUnion(regexps) {\n          if (!regexps.length) return \"(?!)\";\n          var source = regexps.map(function(s2) {\n            return \"(?:\" + s2 + \")\";\n          }).join(\"|\");\n          return \"(?:\" + source + \")\";\n        }\n        function regexpOrLiteral(obj) {\n          if (typeof obj === \"string\") {\n            return \"(?:\" + reEscape(obj) + \")\";\n          } else if (isRegExp(obj)) {\n            if (obj.ignoreCase) throw new Error(\"RegExp /i flag not allowed\");\n            if (obj.global) throw new Error(\"RegExp /g flag is implied\");\n            if (obj.sticky) throw new Error(\"RegExp /y flag is implied\");\n            if (obj.multiline) throw new Error(\"RegExp /m flag is implied\");\n            return obj.source;\n          } else {\n            throw new Error(\"Not a pattern: \" + obj);\n          }\n        }\n        function pad(s2, length2) {\n          if (s2.length > length2) {\n            return s2;\n          }\n          return Array(length2 - s2.length + 1).join(\" \") + s2;\n        }\n        function lastNLines(string, numLines) {\n          var position2 = string.length;\n          var lineBreaks = 0;\n          while (true) {\n            var idx = string.lastIndexOf(\"\\n\", position2 - 1);\n            if (idx === -1) {\n              break;\n            } else {\n              lineBreaks++;\n            }\n            position2 = idx;\n            if (lineBreaks === numLines) {\n              break;\n            }\n            if (position2 === 0) {\n              break;\n            }\n          }\n          var startPosition = lineBreaks < numLines ? 0 : position2 + 1;\n          return string.substring(startPosition).split(\"\\n\");\n        }\n        function objectToRules(object) {\n          var keys = Object.getOwnPropertyNames(object);\n          var result = [];\n          for (var i2 = 0; i2 < keys.length; i2++) {\n            var key = keys[i2];\n            var thing = object[key];\n            var rules = [].concat(thing);\n            if (key === \"include\") {\n              for (var j2 = 0; j2 < rules.length; j2++) {\n                result.push({ include: rules[j2] });\n              }\n              continue;\n            }\n            var match = [];\n            rules.forEach(function(rule2) {\n              if (isObject4(rule2)) {\n                if (match.length) result.push(ruleOptions(key, match));\n                result.push(ruleOptions(key, rule2));\n                match = [];\n              } else {\n                match.push(rule2);\n              }\n            });\n            if (match.length) result.push(ruleOptions(key, match));\n          }\n          return result;\n        }\n        function arrayToRules(array) {\n          var result = [];\n          for (var i2 = 0; i2 < array.length; i2++) {\n            var obj = array[i2];\n            if (obj.include) {\n              var include = [].concat(obj.include);\n              for (var j2 = 0; j2 < include.length; j2++) {\n                result.push({ include: include[j2] });\n              }\n              continue;\n            }\n            if (!obj.type) {\n              throw new Error(\"Rule has no type: \" + JSON.stringify(obj));\n            }\n            result.push(ruleOptions(obj.type, obj));\n          }\n          return result;\n        }\n        function ruleOptions(type, obj) {\n          if (!isObject4(obj)) {\n            obj = { match: obj };\n          }\n          if (obj.include) {\n            throw new Error(\"Matching rules cannot also include states\");\n          }\n          var options = {\n            defaultType: type,\n            lineBreaks: !!obj.error || !!obj.fallback,\n            pop: false,\n            next: null,\n            push: null,\n            error: false,\n            fallback: false,\n            value: null,\n            type: null,\n            shouldThrow: false\n          };\n          for (var key in obj) {\n            if (hasOwnProperty.call(obj, key)) {\n              options[key] = obj[key];\n            }\n          }\n          if (typeof options.type === \"string\" && type !== options.type) {\n            throw new Error(\"Type transform cannot be a string (type '\" + options.type + \"' for token '\" + type + \"')\");\n          }\n          var match = options.match;\n          options.match = Array.isArray(match) ? match : match ? [match] : [];\n          options.match.sort(function(a2, b2) {\n            return isRegExp(a2) && isRegExp(b2) ? 0 : isRegExp(b2) ? -1 : isRegExp(a2) ? 1 : b2.length - a2.length;\n          });\n          return options;\n        }\n        function toRules(spec) {\n          return Array.isArray(spec) ? arrayToRules(spec) : objectToRules(spec);\n        }\n        var defaultErrorRule = ruleOptions(\"error\", { lineBreaks: true, shouldThrow: true });\n        function compileRules(rules, hasStates) {\n          var errorRule = null;\n          var fast = /* @__PURE__ */ Object.create(null);\n          var fastAllowed = true;\n          var unicodeFlag = null;\n          var groups = [];\n          var parts = [];\n          for (var i2 = 0; i2 < rules.length; i2++) {\n            if (rules[i2].fallback) {\n              fastAllowed = false;\n            }\n          }\n          for (var i2 = 0; i2 < rules.length; i2++) {\n            var options = rules[i2];\n            if (options.include) {\n              throw new Error(\"Inheritance is not allowed in stateless lexers\");\n            }\n            if (options.error || options.fallback) {\n              if (errorRule) {\n                if (!options.fallback === !errorRule.fallback) {\n                  throw new Error(\"Multiple \" + (options.fallback ? \"fallback\" : \"error\") + \" rules not allowed (for token '\" + options.defaultType + \"')\");\n                } else {\n                  throw new Error(\"fallback and error are mutually exclusive (for token '\" + options.defaultType + \"')\");\n                }\n              }\n              errorRule = options;\n            }\n            var match = options.match.slice();\n            if (fastAllowed) {\n              while (match.length && typeof match[0] === \"string\" && match[0].length === 1) {\n                var word = match.shift();\n                fast[word.charCodeAt(0)] = options;\n              }\n            }\n            if (options.pop || options.push || options.next) {\n              if (!hasStates) {\n                throw new Error(\"State-switching options are not allowed in stateless lexers (for token '\" + options.defaultType + \"')\");\n              }\n              if (options.fallback) {\n                throw new Error(\"State-switching options are not allowed on fallback tokens (for token '\" + options.defaultType + \"')\");\n              }\n            }\n            if (match.length === 0) {\n              continue;\n            }\n            fastAllowed = false;\n            groups.push(options);\n            for (var j2 = 0; j2 < match.length; j2++) {\n              var obj = match[j2];\n              if (!isRegExp(obj)) {\n                continue;\n              }\n              if (unicodeFlag === null) {\n                unicodeFlag = obj.unicode;\n              } else if (unicodeFlag !== obj.unicode && options.fallback === false) {\n                throw new Error(\"If one rule is /u then all must be\");\n              }\n            }\n            var pat = reUnion(match.map(regexpOrLiteral));\n            var regexp = new RegExp(pat);\n            if (regexp.test(\"\")) {\n              throw new Error(\"RegExp matches empty string: \" + regexp);\n            }\n            var groupCount = reGroups(pat);\n            if (groupCount > 0) {\n              throw new Error(\"RegExp has capture groups: \" + regexp + \"\\nUse (?: \\u2026 ) instead\");\n            }\n            if (!options.lineBreaks && regexp.test(\"\\n\")) {\n              throw new Error(\"Rule should declare lineBreaks: \" + regexp);\n            }\n            parts.push(reCapture(pat));\n          }\n          var fallbackRule = errorRule && errorRule.fallback;\n          var flags = hasSticky && !fallbackRule ? \"ym\" : \"gm\";\n          var suffix = hasSticky || fallbackRule ? \"\" : \"|\";\n          if (unicodeFlag === true) flags += \"u\";\n          var combined = new RegExp(reUnion(parts) + suffix, flags);\n          return { regexp: combined, groups, fast, error: errorRule || defaultErrorRule };\n        }\n        function compile(rules) {\n          var result = compileRules(toRules(rules));\n          return new Lexer({ start: result }, \"start\");\n        }\n        function checkStateGroup(g2, name, map) {\n          var state = g2 && (g2.push || g2.next);\n          if (state && !map[state]) {\n            throw new Error(\"Missing state '\" + state + \"' (in token '\" + g2.defaultType + \"' of state '\" + name + \"')\");\n          }\n          if (g2 && g2.pop && +g2.pop !== 1) {\n            throw new Error(\"pop must be 1 (in token '\" + g2.defaultType + \"' of state '\" + name + \"')\");\n          }\n        }\n        function compileStates(states2, start) {\n          var all = states2.$all ? toRules(states2.$all) : [];\n          delete states2.$all;\n          var keys = Object.getOwnPropertyNames(states2);\n          if (!start) start = keys[0];\n          var ruleMap = /* @__PURE__ */ Object.create(null);\n          for (var i2 = 0; i2 < keys.length; i2++) {\n            var key = keys[i2];\n            ruleMap[key] = toRules(states2[key]).concat(all);\n          }\n          for (var i2 = 0; i2 < keys.length; i2++) {\n            var key = keys[i2];\n            var rules = ruleMap[key];\n            var included = /* @__PURE__ */ Object.create(null);\n            for (var j2 = 0; j2 < rules.length; j2++) {\n              var rule2 = rules[j2];\n              if (!rule2.include) continue;\n              var splice = [j2, 1];\n              if (rule2.include !== key && !included[rule2.include]) {\n                included[rule2.include] = true;\n                var newRules = ruleMap[rule2.include];\n                if (!newRules) {\n                  throw new Error(\"Cannot include nonexistent state '\" + rule2.include + \"' (in state '\" + key + \"')\");\n                }\n                for (var k5 = 0; k5 < newRules.length; k5++) {\n                  var newRule = newRules[k5];\n                  if (rules.indexOf(newRule) !== -1) continue;\n                  splice.push(newRule);\n                }\n              }\n              rules.splice.apply(rules, splice);\n              j2--;\n            }\n          }\n          var map = /* @__PURE__ */ Object.create(null);\n          for (var i2 = 0; i2 < keys.length; i2++) {\n            var key = keys[i2];\n            map[key] = compileRules(ruleMap[key], true);\n          }\n          for (var i2 = 0; i2 < keys.length; i2++) {\n            var name = keys[i2];\n            var state = map[name];\n            var groups = state.groups;\n            for (var j2 = 0; j2 < groups.length; j2++) {\n              checkStateGroup(groups[j2], name, map);\n            }\n            var fastKeys = Object.getOwnPropertyNames(state.fast);\n            for (var j2 = 0; j2 < fastKeys.length; j2++) {\n              checkStateGroup(state.fast[fastKeys[j2]], name, map);\n            }\n          }\n          return new Lexer(map, start);\n        }\n        function keywordTransform(map) {\n          var isMap = typeof Map !== \"undefined\";\n          var reverseMap = isMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);\n          var types2 = Object.getOwnPropertyNames(map);\n          for (var i2 = 0; i2 < types2.length; i2++) {\n            var tokenType = types2[i2];\n            var item = map[tokenType];\n            var keywordList = Array.isArray(item) ? item : [item];\n            keywordList.forEach(function(keyword) {\n              if (typeof keyword !== \"string\") {\n                throw new Error(\"keyword must be string (in keyword '\" + tokenType + \"')\");\n              }\n              if (isMap) {\n                reverseMap.set(keyword, tokenType);\n              } else {\n                reverseMap[keyword] = tokenType;\n              }\n            });\n          }\n          return function(k5) {\n            return isMap ? reverseMap.get(k5) : reverseMap[k5];\n          };\n        }\n        var Lexer = function(states2, state) {\n          this.startState = state;\n          this.states = states2;\n          this.buffer = \"\";\n          this.stack = [];\n          this.reset();\n        };\n        Lexer.prototype.reset = function(data, info) {\n          this.buffer = data || \"\";\n          this.index = 0;\n          this.line = info ? info.line : 1;\n          this.col = info ? info.col : 1;\n          this.queuedToken = info ? info.queuedToken : null;\n          this.queuedText = info ? info.queuedText : \"\";\n          this.queuedThrow = info ? info.queuedThrow : null;\n          this.setState(info ? info.state : this.startState);\n          this.stack = info && info.stack ? info.stack.slice() : [];\n          return this;\n        };\n        Lexer.prototype.save = function() {\n          return {\n            line: this.line,\n            col: this.col,\n            state: this.state,\n            stack: this.stack.slice(),\n            queuedToken: this.queuedToken,\n            queuedText: this.queuedText,\n            queuedThrow: this.queuedThrow\n          };\n        };\n        Lexer.prototype.setState = function(state) {\n          if (!state || this.state === state) return;\n          this.state = state;\n          var info = this.states[state];\n          this.groups = info.groups;\n          this.error = info.error;\n          this.re = info.regexp;\n          this.fast = info.fast;\n        };\n        Lexer.prototype.popState = function() {\n          this.setState(this.stack.pop());\n        };\n        Lexer.prototype.pushState = function(state) {\n          this.stack.push(this.state);\n          this.setState(state);\n        };\n        var eat = hasSticky ? function(re, buffer) {\n          return re.exec(buffer);\n        } : function(re, buffer) {\n          var match = re.exec(buffer);\n          if (match[0].length === 0) {\n            return null;\n          }\n          return match;\n        };\n        Lexer.prototype._getGroup = function(match) {\n          var groupCount = this.groups.length;\n          for (var i2 = 0; i2 < groupCount; i2++) {\n            if (match[i2 + 1] !== void 0) {\n              return this.groups[i2];\n            }\n          }\n          throw new Error(\"Cannot find token type for matched text\");\n        };\n        function tokenToString() {\n          return this.value;\n        }\n        Lexer.prototype.next = function() {\n          var index2 = this.index;\n          if (this.queuedGroup) {\n            var token = this._token(this.queuedGroup, this.queuedText, index2);\n            this.queuedGroup = null;\n            this.queuedText = \"\";\n            return token;\n          }\n          var buffer = this.buffer;\n          if (index2 === buffer.length) {\n            return;\n          }\n          var group = this.fast[buffer.charCodeAt(index2)];\n          if (group) {\n            return this._token(group, buffer.charAt(index2), index2);\n          }\n          var re = this.re;\n          re.lastIndex = index2;\n          var match = eat(re, buffer);\n          var error = this.error;\n          if (match == null) {\n            return this._token(error, buffer.slice(index2, buffer.length), index2);\n          }\n          var group = this._getGroup(match);\n          var text2 = match[0];\n          if (error.fallback && match.index !== index2) {\n            this.queuedGroup = group;\n            this.queuedText = text2;\n            return this._token(error, buffer.slice(index2, match.index), index2);\n          }\n          return this._token(group, text2, index2);\n        };\n        Lexer.prototype._token = function(group, text2, offset) {\n          var lineBreaks = 0;\n          if (group.lineBreaks) {\n            var matchNL = /\\n/g;\n            var nl = 1;\n            if (text2 === \"\\n\") {\n              lineBreaks = 1;\n            } else {\n              while (matchNL.exec(text2)) {\n                lineBreaks++;\n                nl = matchNL.lastIndex;\n              }\n            }\n          }\n          var token = {\n            type: typeof group.type === \"function\" && group.type(text2) || group.defaultType,\n            value: typeof group.value === \"function\" ? group.value(text2) : text2,\n            text: text2,\n            toString: tokenToString,\n            offset,\n            lineBreaks,\n            line: this.line,\n            col: this.col\n          };\n          var size = text2.length;\n          this.index += size;\n          this.line += lineBreaks;\n          if (lineBreaks !== 0) {\n            this.col = size - nl + 1;\n          } else {\n            this.col += size;\n          }\n          if (group.shouldThrow) {\n            var err = new Error(this.formatError(token, \"invalid syntax\"));\n            throw err;\n          }\n          if (group.pop) this.popState();\n          else if (group.push) this.pushState(group.push);\n          else if (group.next) this.setState(group.next);\n          return token;\n        };\n        if (typeof Symbol !== \"undefined\" && Symbol.iterator) {\n          var LexerIterator = function(lexer) {\n            this.lexer = lexer;\n          };\n          LexerIterator.prototype.next = function() {\n            var token = this.lexer.next();\n            return { value: token, done: !token };\n          };\n          LexerIterator.prototype[Symbol.iterator] = function() {\n            return this;\n          };\n          Lexer.prototype[Symbol.iterator] = function() {\n            return new LexerIterator(this);\n          };\n        }\n        Lexer.prototype.formatError = function(token, message) {\n          if (token == null) {\n            var text2 = this.buffer.slice(this.index);\n            var token = {\n              text: text2,\n              offset: this.index,\n              lineBreaks: text2.indexOf(\"\\n\") === -1 ? 0 : 1,\n              line: this.line,\n              col: this.col\n            };\n          }\n          var numLinesAround = 2;\n          var firstDisplayedLine = Math.max(token.line - numLinesAround, 1);\n          var lastDisplayedLine = token.line + numLinesAround;\n          var lastLineDigits = String(lastDisplayedLine).length;\n          var displayedLines = lastNLines(\n            this.buffer,\n            this.line - token.line + numLinesAround + 1\n          ).slice(0, 5);\n          var errorLines = [];\n          errorLines.push(message + \" at line \" + token.line + \" col \" + token.col + \":\");\n          errorLines.push(\"\");\n          for (var i2 = 0; i2 < displayedLines.length; i2++) {\n            var line = displayedLines[i2];\n            var lineNo = firstDisplayedLine + i2;\n            errorLines.push(pad(String(lineNo), lastLineDigits) + \"  \" + line);\n            if (lineNo === token.line) {\n              errorLines.push(pad(\"\", lastLineDigits + token.col + 1) + \"^\");\n            }\n          }\n          return errorLines.join(\"\\n\");\n        };\n        Lexer.prototype.clone = function() {\n          return new Lexer(this.states, this.state);\n        };\n        Lexer.prototype.has = function(tokenType) {\n          return true;\n        };\n        return {\n          compile,\n          states: compileStates,\n          error: Object.freeze({ error: true }),\n          fallback: Object.freeze({ fallback: true }),\n          keywords: keywordTransform\n        };\n      });\n    }\n  });\n\n  // node_modules/.pnpm/tmp-cache@1.1.0/node_modules/tmp-cache/lib/index.js\n  var require_lib = __commonJS({\n    \"node_modules/.pnpm/tmp-cache@1.1.0/node_modules/tmp-cache/lib/index.js\"(exports, module) {\n      var Cache3 = class extends Map {\n        constructor(opts = {}) {\n          super();\n          if (typeof opts === \"number\") {\n            opts = { max: opts };\n          }\n          let { max: max2, maxAge } = opts;\n          this.max = max2 > 0 && max2 || Infinity;\n          this.maxAge = maxAge !== void 0 ? maxAge : -1;\n          this.stale = !!opts.stale;\n        }\n        peek(key) {\n          return this.get(key, false);\n        }\n        set(key, content, maxAge = this.maxAge) {\n          this.has(key) && this.delete(key);\n          this.size + 1 > this.max && this.delete(this.keys().next().value);\n          let expires = maxAge > -1 && maxAge + Date.now();\n          return super.set(key, { expires, content });\n        }\n        get(key, mut = true) {\n          let x2 = super.get(key);\n          if (x2 === void 0) return x2;\n          let { expires, content } = x2;\n          if (expires !== false && Date.now() >= expires) {\n            this.delete(key);\n            return this.stale ? content : void 0;\n          }\n          if (mut) this.set(key, content);\n          return content;\n        }\n      };\n      module.exports = Cache3;\n    }\n  });\n\n  // node_modules/.pnpm/css.escape@1.5.1/node_modules/css.escape/css.escape.js\n  var require_css_escape = __commonJS({\n    \"node_modules/.pnpm/css.escape@1.5.1/node_modules/css.escape/css.escape.js\"(exports, module) {\n      (function(root2, factory) {\n        if (typeof exports == \"object\") {\n          module.exports = factory(root2);\n        } else if (typeof define == \"function\" && define.amd) {\n          define([], factory.bind(root2, root2));\n        } else {\n          factory(root2);\n        }\n      })(typeof global != \"undefined\" ? global : exports, function(root2) {\n        if (root2.CSS && root2.CSS.escape) {\n          return root2.CSS.escape;\n        }\n        var cssEscape = function(value2) {\n          if (arguments.length == 0) {\n            throw new TypeError(\"`CSS.escape` requires an argument.\");\n          }\n          var string = String(value2);\n          var length2 = string.length;\n          var index2 = -1;\n          var codeUnit;\n          var result = \"\";\n          var firstCodeUnit = string.charCodeAt(0);\n          while (++index2 < length2) {\n            codeUnit = string.charCodeAt(index2);\n            if (codeUnit == 0) {\n              result += \"\\uFFFD\";\n              continue;\n            }\n            if (\n              // If the character is in the range [\\1-\\1F] (U+0001 to U+001F) or is\n              // U+007F, […]\n              codeUnit >= 1 && codeUnit <= 31 || codeUnit == 127 || // If the character is the first character and is in the range [0-9]\n              // (U+0030 to U+0039), […]\n              index2 == 0 && codeUnit >= 48 && codeUnit <= 57 || // If the character is the second character and is in the range [0-9]\n              // (U+0030 to U+0039) and the first character is a `-` (U+002D), […]\n              index2 == 1 && codeUnit >= 48 && codeUnit <= 57 && firstCodeUnit == 45\n            ) {\n              result += \"\\\\\" + codeUnit.toString(16) + \" \";\n              continue;\n            }\n            if (\n              // If the character is the first character and is a `-` (U+002D), and\n              // there is no second character, […]\n              index2 == 0 && length2 == 1 && codeUnit == 45\n            ) {\n              result += \"\\\\\" + string.charAt(index2);\n              continue;\n            }\n            if (codeUnit >= 128 || codeUnit == 45 || codeUnit == 95 || codeUnit >= 48 && codeUnit <= 57 || codeUnit >= 65 && codeUnit <= 90 || codeUnit >= 97 && codeUnit <= 122) {\n              result += string.charAt(index2);\n              continue;\n            }\n            result += \"\\\\\" + string.charAt(index2);\n          }\n          return result;\n        };\n        if (!root2.CSS) {\n          root2.CSS = {};\n        }\n        root2.CSS.escape = cssEscape;\n        return cssEscape;\n      });\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js\n  var require_debug = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js\"(exports, module) {\n      var debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error(\"SEMVER\", ...args) : () => {\n      };\n      module.exports = debug;\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js\n  var require_constants = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js\"(exports, module) {\n      var SEMVER_SPEC_VERSION = \"2.0.0\";\n      var MAX_LENGTH = 256;\n      var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */\n      9007199254740991;\n      var MAX_SAFE_COMPONENT_LENGTH = 16;\n      var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n      var RELEASE_TYPES = [\n        \"major\",\n        \"premajor\",\n        \"minor\",\n        \"preminor\",\n        \"patch\",\n        \"prepatch\",\n        \"prerelease\"\n      ];\n      module.exports = {\n        MAX_LENGTH,\n        MAX_SAFE_COMPONENT_LENGTH,\n        MAX_SAFE_BUILD_LENGTH,\n        MAX_SAFE_INTEGER,\n        RELEASE_TYPES,\n        SEMVER_SPEC_VERSION,\n        FLAG_INCLUDE_PRERELEASE: 1,\n        FLAG_LOOSE: 2\n      };\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js\n  var require_re = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js\"(exports, module) {\n      var {\n        MAX_SAFE_COMPONENT_LENGTH,\n        MAX_SAFE_BUILD_LENGTH,\n        MAX_LENGTH\n      } = require_constants();\n      var debug = require_debug();\n      exports = module.exports = {};\n      var re = exports.re = [];\n      var safeRe = exports.safeRe = [];\n      var src = exports.src = [];\n      var safeSrc = exports.safeSrc = [];\n      var t2 = exports.t = {};\n      var R3 = 0;\n      var LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n      var safeRegexReplacements = [\n        [\"\\\\s\", 1],\n        [\"\\\\d\", MAX_LENGTH],\n        [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]\n      ];\n      var makeSafeRegex = (value2) => {\n        for (const [token, max2] of safeRegexReplacements) {\n          value2 = value2.split(`${token}*`).join(`${token}{0,${max2}}`).split(`${token}+`).join(`${token}{1,${max2}}`);\n        }\n        return value2;\n      };\n      var createToken = (name, value2, isGlobal) => {\n        const safe = makeSafeRegex(value2);\n        const index2 = R3++;\n        debug(name, index2, value2);\n        t2[name] = index2;\n        src[index2] = value2;\n        safeSrc[index2] = safe;\n        re[index2] = new RegExp(value2, isGlobal ? \"g\" : void 0);\n        safeRe[index2] = new RegExp(safe, isGlobal ? \"g\" : void 0);\n      };\n      createToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\n      createToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\n      createToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n      createToken(\"MAINVERSION\", `(${src[t2.NUMERICIDENTIFIER]})\\\\.(${src[t2.NUMERICIDENTIFIER]})\\\\.(${src[t2.NUMERICIDENTIFIER]})`);\n      createToken(\"MAINVERSIONLOOSE\", `(${src[t2.NUMERICIDENTIFIERLOOSE]})\\\\.(${src[t2.NUMERICIDENTIFIERLOOSE]})\\\\.(${src[t2.NUMERICIDENTIFIERLOOSE]})`);\n      createToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t2.NUMERICIDENTIFIER]}|${src[t2.NONNUMERICIDENTIFIER]})`);\n      createToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t2.NUMERICIDENTIFIERLOOSE]}|${src[t2.NONNUMERICIDENTIFIER]})`);\n      createToken(\"PRERELEASE\", `(?:-(${src[t2.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t2.PRERELEASEIDENTIFIER]})*))`);\n      createToken(\"PRERELEASELOOSE\", `(?:-?(${src[t2.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t2.PRERELEASEIDENTIFIERLOOSE]})*))`);\n      createToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n      createToken(\"BUILD\", `(?:\\\\+(${src[t2.BUILDIDENTIFIER]}(?:\\\\.${src[t2.BUILDIDENTIFIER]})*))`);\n      createToken(\"FULLPLAIN\", `v?${src[t2.MAINVERSION]}${src[t2.PRERELEASE]}?${src[t2.BUILD]}?`);\n      createToken(\"FULL\", `^${src[t2.FULLPLAIN]}$`);\n      createToken(\"LOOSEPLAIN\", `[v=\\\\s]*${src[t2.MAINVERSIONLOOSE]}${src[t2.PRERELEASELOOSE]}?${src[t2.BUILD]}?`);\n      createToken(\"LOOSE\", `^${src[t2.LOOSEPLAIN]}$`);\n      createToken(\"GTLT\", \"((?:<|>)?=?)\");\n      createToken(\"XRANGEIDENTIFIERLOOSE\", `${src[t2.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`);\n      createToken(\"XRANGEIDENTIFIER\", `${src[t2.NUMERICIDENTIFIER]}|x|X|\\\\*`);\n      createToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t2.XRANGEIDENTIFIER]})(?:\\\\.(${src[t2.XRANGEIDENTIFIER]})(?:\\\\.(${src[t2.XRANGEIDENTIFIER]})(?:${src[t2.PRERELEASE]})?${src[t2.BUILD]}?)?)?`);\n      createToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t2.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${src[t2.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${src[t2.XRANGEIDENTIFIERLOOSE]})(?:${src[t2.PRERELEASELOOSE]})?${src[t2.BUILD]}?)?)?`);\n      createToken(\"XRANGE\", `^${src[t2.GTLT]}\\\\s*${src[t2.XRANGEPLAIN]}$`);\n      createToken(\"XRANGELOOSE\", `^${src[t2.GTLT]}\\\\s*${src[t2.XRANGEPLAINLOOSE]}$`);\n      createToken(\"COERCEPLAIN\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);\n      createToken(\"COERCE\", `${src[t2.COERCEPLAIN]}(?:$|[^\\\\d])`);\n      createToken(\"COERCEFULL\", src[t2.COERCEPLAIN] + `(?:${src[t2.PRERELEASE]})?(?:${src[t2.BUILD]})?(?:$|[^\\\\d])`);\n      createToken(\"COERCERTL\", src[t2.COERCE], true);\n      createToken(\"COERCERTLFULL\", src[t2.COERCEFULL], true);\n      createToken(\"LONETILDE\", \"(?:~>?)\");\n      createToken(\"TILDETRIM\", `(\\\\s*)${src[t2.LONETILDE]}\\\\s+`, true);\n      exports.tildeTrimReplace = \"$1~\";\n      createToken(\"TILDE\", `^${src[t2.LONETILDE]}${src[t2.XRANGEPLAIN]}$`);\n      createToken(\"TILDELOOSE\", `^${src[t2.LONETILDE]}${src[t2.XRANGEPLAINLOOSE]}$`);\n      createToken(\"LONECARET\", \"(?:\\\\^)\");\n      createToken(\"CARETTRIM\", `(\\\\s*)${src[t2.LONECARET]}\\\\s+`, true);\n      exports.caretTrimReplace = \"$1^\";\n      createToken(\"CARET\", `^${src[t2.LONECARET]}${src[t2.XRANGEPLAIN]}$`);\n      createToken(\"CARETLOOSE\", `^${src[t2.LONECARET]}${src[t2.XRANGEPLAINLOOSE]}$`);\n      createToken(\"COMPARATORLOOSE\", `^${src[t2.GTLT]}\\\\s*(${src[t2.LOOSEPLAIN]})$|^$`);\n      createToken(\"COMPARATOR\", `^${src[t2.GTLT]}\\\\s*(${src[t2.FULLPLAIN]})$|^$`);\n      createToken(\"COMPARATORTRIM\", `(\\\\s*)${src[t2.GTLT]}\\\\s*(${src[t2.LOOSEPLAIN]}|${src[t2.XRANGEPLAIN]})`, true);\n      exports.comparatorTrimReplace = \"$1$2$3\";\n      createToken(\"HYPHENRANGE\", `^\\\\s*(${src[t2.XRANGEPLAIN]})\\\\s+-\\\\s+(${src[t2.XRANGEPLAIN]})\\\\s*$`);\n      createToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t2.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${src[t2.XRANGEPLAINLOOSE]})\\\\s*$`);\n      createToken(\"STAR\", \"(<|>)?=?\\\\s*\\\\*\");\n      createToken(\"GTE0\", \"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\");\n      createToken(\"GTE0PRE\", \"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\");\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js\n  var require_parse_options = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js\"(exports, module) {\n      var looseOption = Object.freeze({ loose: true });\n      var emptyOpts = Object.freeze({});\n      var parseOptions = (options) => {\n        if (!options) {\n          return emptyOpts;\n        }\n        if (typeof options !== \"object\") {\n          return looseOption;\n        }\n        return options;\n      };\n      module.exports = parseOptions;\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js\n  var require_identifiers = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js\"(exports, module) {\n      var numeric = /^[0-9]+$/;\n      var compareIdentifiers = (a2, b2) => {\n        const anum = numeric.test(a2);\n        const bnum = numeric.test(b2);\n        if (anum && bnum) {\n          a2 = +a2;\n          b2 = +b2;\n        }\n        return a2 === b2 ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a2 < b2 ? -1 : 1;\n      };\n      var rcompareIdentifiers = (a2, b2) => compareIdentifiers(b2, a2);\n      module.exports = {\n        compareIdentifiers,\n        rcompareIdentifiers\n      };\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js\n  var require_semver = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js\"(exports, module) {\n      var debug = require_debug();\n      var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();\n      var { safeRe: re, safeSrc: src, t: t2 } = require_re();\n      var parseOptions = require_parse_options();\n      var { compareIdentifiers } = require_identifiers();\n      var SemVer = class _SemVer {\n        constructor(version2, options) {\n          options = parseOptions(options);\n          if (version2 instanceof _SemVer) {\n            if (version2.loose === !!options.loose && version2.includePrerelease === !!options.includePrerelease) {\n              return version2;\n            } else {\n              version2 = version2.version;\n            }\n          } else if (typeof version2 !== \"string\") {\n            throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version2}\".`);\n          }\n          if (version2.length > MAX_LENGTH) {\n            throw new TypeError(\n              `version is longer than ${MAX_LENGTH} characters`\n            );\n          }\n          debug(\"SemVer\", version2, options);\n          this.options = options;\n          this.loose = !!options.loose;\n          this.includePrerelease = !!options.includePrerelease;\n          const m2 = version2.trim().match(options.loose ? re[t2.LOOSE] : re[t2.FULL]);\n          if (!m2) {\n            throw new TypeError(`Invalid Version: ${version2}`);\n          }\n          this.raw = version2;\n          this.major = +m2[1];\n          this.minor = +m2[2];\n          this.patch = +m2[3];\n          if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n            throw new TypeError(\"Invalid major version\");\n          }\n          if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n            throw new TypeError(\"Invalid minor version\");\n          }\n          if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n            throw new TypeError(\"Invalid patch version\");\n          }\n          if (!m2[4]) {\n            this.prerelease = [];\n          } else {\n            this.prerelease = m2[4].split(\".\").map((id) => {\n              if (/^[0-9]+$/.test(id)) {\n                const num3 = +id;\n                if (num3 >= 0 && num3 < MAX_SAFE_INTEGER) {\n                  return num3;\n                }\n              }\n              return id;\n            });\n          }\n          this.build = m2[5] ? m2[5].split(\".\") : [];\n          this.format();\n        }\n        format() {\n          this.version = `${this.major}.${this.minor}.${this.patch}`;\n          if (this.prerelease.length) {\n            this.version += `-${this.prerelease.join(\".\")}`;\n          }\n          return this.version;\n        }\n        toString() {\n          return this.version;\n        }\n        compare(other) {\n          debug(\"SemVer.compare\", this.version, this.options, other);\n          if (!(other instanceof _SemVer)) {\n            if (typeof other === \"string\" && other === this.version) {\n              return 0;\n            }\n            other = new _SemVer(other, this.options);\n          }\n          if (other.version === this.version) {\n            return 0;\n          }\n          return this.compareMain(other) || this.comparePre(other);\n        }\n        compareMain(other) {\n          if (!(other instanceof _SemVer)) {\n            other = new _SemVer(other, this.options);\n          }\n          return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n        }\n        comparePre(other) {\n          if (!(other instanceof _SemVer)) {\n            other = new _SemVer(other, this.options);\n          }\n          if (this.prerelease.length && !other.prerelease.length) {\n            return -1;\n          } else if (!this.prerelease.length && other.prerelease.length) {\n            return 1;\n          } else if (!this.prerelease.length && !other.prerelease.length) {\n            return 0;\n          }\n          let i2 = 0;\n          do {\n            const a2 = this.prerelease[i2];\n            const b2 = other.prerelease[i2];\n            debug(\"prerelease compare\", i2, a2, b2);\n            if (a2 === void 0 && b2 === void 0) {\n              return 0;\n            } else if (b2 === void 0) {\n              return 1;\n            } else if (a2 === void 0) {\n              return -1;\n            } else if (a2 === b2) {\n              continue;\n            } else {\n              return compareIdentifiers(a2, b2);\n            }\n          } while (++i2);\n        }\n        compareBuild(other) {\n          if (!(other instanceof _SemVer)) {\n            other = new _SemVer(other, this.options);\n          }\n          let i2 = 0;\n          do {\n            const a2 = this.build[i2];\n            const b2 = other.build[i2];\n            debug(\"build compare\", i2, a2, b2);\n            if (a2 === void 0 && b2 === void 0) {\n              return 0;\n            } else if (b2 === void 0) {\n              return 1;\n            } else if (a2 === void 0) {\n              return -1;\n            } else if (a2 === b2) {\n              continue;\n            } else {\n              return compareIdentifiers(a2, b2);\n            }\n          } while (++i2);\n        }\n        // preminor will bump the version up to the next minor release, and immediately\n        // down to pre-release. premajor and prepatch work the same way.\n        inc(release, identifier, identifierBase) {\n          if (release.startsWith(\"pre\")) {\n            if (!identifier && identifierBase === false) {\n              throw new Error(\"invalid increment argument: identifier is empty\");\n            }\n            if (identifier) {\n              const r3 = new RegExp(`^${this.options.loose ? src[t2.PRERELEASELOOSE] : src[t2.PRERELEASE]}$`);\n              const match = `-${identifier}`.match(r3);\n              if (!match || match[1] !== identifier) {\n                throw new Error(`invalid identifier: ${identifier}`);\n              }\n            }\n          }\n          switch (release) {\n            case \"premajor\":\n              this.prerelease.length = 0;\n              this.patch = 0;\n              this.minor = 0;\n              this.major++;\n              this.inc(\"pre\", identifier, identifierBase);\n              break;\n            case \"preminor\":\n              this.prerelease.length = 0;\n              this.patch = 0;\n              this.minor++;\n              this.inc(\"pre\", identifier, identifierBase);\n              break;\n            case \"prepatch\":\n              this.prerelease.length = 0;\n              this.inc(\"patch\", identifier, identifierBase);\n              this.inc(\"pre\", identifier, identifierBase);\n              break;\n            case \"prerelease\":\n              if (this.prerelease.length === 0) {\n                this.inc(\"patch\", identifier, identifierBase);\n              }\n              this.inc(\"pre\", identifier, identifierBase);\n              break;\n            case \"release\":\n              if (this.prerelease.length === 0) {\n                throw new Error(`version ${this.raw} is not a prerelease`);\n              }\n              this.prerelease.length = 0;\n              break;\n            case \"major\":\n              if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {\n                this.major++;\n              }\n              this.minor = 0;\n              this.patch = 0;\n              this.prerelease = [];\n              break;\n            case \"minor\":\n              if (this.patch !== 0 || this.prerelease.length === 0) {\n                this.minor++;\n              }\n              this.patch = 0;\n              this.prerelease = [];\n              break;\n            case \"patch\":\n              if (this.prerelease.length === 0) {\n                this.patch++;\n              }\n              this.prerelease = [];\n              break;\n            case \"pre\": {\n              const base = Number(identifierBase) ? 1 : 0;\n              if (this.prerelease.length === 0) {\n                this.prerelease = [base];\n              } else {\n                let i2 = this.prerelease.length;\n                while (--i2 >= 0) {\n                  if (typeof this.prerelease[i2] === \"number\") {\n                    this.prerelease[i2]++;\n                    i2 = -2;\n                  }\n                }\n                if (i2 === -1) {\n                  if (identifier === this.prerelease.join(\".\") && identifierBase === false) {\n                    throw new Error(\"invalid increment argument: identifier already exists\");\n                  }\n                  this.prerelease.push(base);\n                }\n              }\n              if (identifier) {\n                let prerelease = [identifier, base];\n                if (identifierBase === false) {\n                  prerelease = [identifier];\n                }\n                if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n                  if (isNaN(this.prerelease[1])) {\n                    this.prerelease = prerelease;\n                  }\n                } else {\n                  this.prerelease = prerelease;\n                }\n              }\n              break;\n            }\n            default:\n              throw new Error(`invalid increment argument: ${release}`);\n          }\n          this.raw = this.format();\n          if (this.build.length) {\n            this.raw += `+${this.build.join(\".\")}`;\n          }\n          return this;\n        }\n      };\n      module.exports = SemVer;\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js\n  var require_compare = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js\"(exports, module) {\n      var SemVer = require_semver();\n      var compare = (a2, b2, loose) => new SemVer(a2, loose).compare(new SemVer(b2, loose));\n      module.exports = compare;\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js\n  var require_gte = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js\"(exports, module) {\n      var compare = require_compare();\n      var gte2 = (a2, b2, loose) => compare(a2, b2, loose) >= 0;\n      module.exports = gte2;\n    }\n  });\n\n  // node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js\n  var require_lte = __commonJS({\n    \"node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js\"(exports, module) {\n      var compare = require_compare();\n      var lte = (a2, b2, loose) => compare(a2, b2, loose) <= 0;\n      module.exports = lte;\n    }\n  });\n\n  // node_modules/.pnpm/sift-string@0.0.2/node_modules/sift-string/index.js\n  var require_sift_string = __commonJS({\n    \"node_modules/.pnpm/sift-string@0.0.2/node_modules/sift-string/index.js\"(exports, module) {\n      module.exports = function sift2(s1, s2) {\n        if (s1 == null || s1.length === 0) {\n          if (s2 == null || s2.length === 0) {\n            return 0;\n          } else {\n            return s2.length;\n          }\n        }\n        if (s2 == null || s2.length === 0) {\n          return s1.length;\n        }\n        var c3 = 0;\n        var offset1 = 0;\n        var offset2 = 0;\n        var lcs = 0;\n        var maxOffset = 5;\n        while (c3 + offset1 < s1.length && c3 + offset2 < s2.length) {\n          if (s1.charAt(c3 + offset1) == s2.charAt(c3 + offset2)) {\n            lcs++;\n          } else {\n            offset1 = 0;\n            offset2 = 0;\n            for (var i2 = 0; i2 < maxOffset; i2++) {\n              if (c3 + i2 < s1.length && s1.charAt(c3 + i2) == s2.charAt(c3)) {\n                offset1 = i2;\n                break;\n              }\n              if (c3 + i2 < s2.length && s1.charAt(c3) == s2.charAt(c3 + i2)) {\n                offset2 = i2;\n                break;\n              }\n            }\n          }\n          c3++;\n        }\n        return (s1.length + s2.length) / 2 - lcs;\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/unesc.js\n  var require_unesc = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/unesc.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = unesc;\n      function gobbleHex(str) {\n        var lower = str.toLowerCase();\n        var hex2 = \"\";\n        var spaceTerminated = false;\n        for (var i2 = 0; i2 < 6 && lower[i2] !== void 0; i2++) {\n          var code = lower.charCodeAt(i2);\n          var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57;\n          spaceTerminated = code === 32;\n          if (!valid) {\n            break;\n          }\n          hex2 += lower[i2];\n        }\n        if (hex2.length === 0) {\n          return void 0;\n        }\n        var codePoint = parseInt(hex2, 16);\n        var isSurrogate = codePoint >= 55296 && codePoint <= 57343;\n        if (isSurrogate || codePoint === 0 || codePoint > 1114111) {\n          return [\"\\uFFFD\", hex2.length + (spaceTerminated ? 1 : 0)];\n        }\n        return [String.fromCodePoint(codePoint), hex2.length + (spaceTerminated ? 1 : 0)];\n      }\n      var CONTAINS_ESCAPE = /\\\\/;\n      function unesc(str) {\n        var needToProcess = CONTAINS_ESCAPE.test(str);\n        if (!needToProcess) {\n          return str;\n        }\n        var ret = \"\";\n        for (var i2 = 0; i2 < str.length; i2++) {\n          if (str[i2] === \"\\\\\") {\n            var gobbled = gobbleHex(str.slice(i2 + 1, i2 + 7));\n            if (gobbled !== void 0) {\n              ret += gobbled[0];\n              i2 += gobbled[1];\n              continue;\n            }\n            if (str[i2 + 1] === \"\\\\\") {\n              ret += \"\\\\\";\n              i2++;\n              continue;\n            }\n            if (str.length === i2 + 1) {\n              ret += str[i2];\n            }\n            continue;\n          }\n          ret += str[i2];\n        }\n        return ret;\n      }\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/getProp.js\n  var require_getProp = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/getProp.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = getProp;\n      function getProp(obj) {\n        for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          props[_key - 1] = arguments[_key];\n        }\n        while (props.length > 0) {\n          var prop = props.shift();\n          if (!obj[prop]) {\n            return void 0;\n          }\n          obj = obj[prop];\n        }\n        return obj;\n      }\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/ensureObject.js\n  var require_ensureObject = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/ensureObject.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = ensureObject;\n      function ensureObject(obj) {\n        for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          props[_key - 1] = arguments[_key];\n        }\n        while (props.length > 0) {\n          var prop = props.shift();\n          if (!obj[prop]) {\n            obj[prop] = {};\n          }\n          obj = obj[prop];\n        }\n      }\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/stripComments.js\n  var require_stripComments = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/stripComments.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = stripComments;\n      function stripComments(str) {\n        var s2 = \"\";\n        var commentStart = str.indexOf(\"/*\");\n        var lastEnd = 0;\n        while (commentStart >= 0) {\n          s2 = s2 + str.slice(lastEnd, commentStart);\n          var commentEnd = str.indexOf(\"*/\", commentStart + 2);\n          if (commentEnd < 0) {\n            return s2;\n          }\n          lastEnd = commentEnd + 2;\n          commentStart = str.indexOf(\"/*\", lastEnd);\n        }\n        s2 = s2 + str.slice(lastEnd);\n        return s2;\n      }\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/index.js\n  var require_util = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/util/index.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports.unesc = exports.stripComments = exports.getProp = exports.ensureObject = void 0;\n      var _unesc = _interopRequireDefault(require_unesc());\n      exports.unesc = _unesc[\"default\"];\n      var _getProp = _interopRequireDefault(require_getProp());\n      exports.getProp = _getProp[\"default\"];\n      var _ensureObject = _interopRequireDefault(require_ensureObject());\n      exports.ensureObject = _ensureObject[\"default\"];\n      var _stripComments = _interopRequireDefault(require_stripComments());\n      exports.stripComments = _stripComments[\"default\"];\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/node.js\n  var require_node2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/node.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _util = require_util();\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      var cloneNode = function cloneNode2(obj, parent) {\n        if (typeof obj !== \"object\" || obj === null) {\n          return obj;\n        }\n        var cloned = new obj.constructor();\n        for (var i2 in obj) {\n          if (!obj.hasOwnProperty(i2)) {\n            continue;\n          }\n          var value2 = obj[i2];\n          var type = typeof value2;\n          if (i2 === \"parent\" && type === \"object\") {\n            if (parent) {\n              cloned[i2] = parent;\n            }\n          } else if (value2 instanceof Array) {\n            cloned[i2] = value2.map(function(j2) {\n              return cloneNode2(j2, cloned);\n            });\n          } else {\n            cloned[i2] = cloneNode2(value2, cloned);\n          }\n        }\n        return cloned;\n      };\n      var Node3 = /* @__PURE__ */ function() {\n        function Node4(opts) {\n          if (opts === void 0) {\n            opts = {};\n          }\n          Object.assign(this, opts);\n          this.spaces = this.spaces || {};\n          this.spaces.before = this.spaces.before || \"\";\n          this.spaces.after = this.spaces.after || \"\";\n        }\n        var _proto = Node4.prototype;\n        _proto.remove = function remove() {\n          if (this.parent) {\n            this.parent.removeChild(this);\n          }\n          this.parent = void 0;\n          return this;\n        };\n        _proto.replaceWith = function replaceWith() {\n          if (this.parent) {\n            for (var index2 in arguments) {\n              this.parent.insertBefore(this, arguments[index2]);\n            }\n            this.remove();\n          }\n          return this;\n        };\n        _proto.next = function next() {\n          return this.parent.at(this.parent.index(this) + 1);\n        };\n        _proto.prev = function prev() {\n          return this.parent.at(this.parent.index(this) - 1);\n        };\n        _proto.clone = function clone(overrides) {\n          if (overrides === void 0) {\n            overrides = {};\n          }\n          var cloned = cloneNode(this);\n          for (var name in overrides) {\n            cloned[name] = overrides[name];\n          }\n          return cloned;\n        };\n        _proto.appendToPropertyAndEscape = function appendToPropertyAndEscape(name, value2, valueEscaped) {\n          if (!this.raws) {\n            this.raws = {};\n          }\n          var originalValue = this[name];\n          var originalEscaped = this.raws[name];\n          this[name] = originalValue + value2;\n          if (originalEscaped || valueEscaped !== value2) {\n            this.raws[name] = (originalEscaped || originalValue) + valueEscaped;\n          } else {\n            delete this.raws[name];\n          }\n        };\n        _proto.setPropertyAndEscape = function setPropertyAndEscape(name, value2, valueEscaped) {\n          if (!this.raws) {\n            this.raws = {};\n          }\n          this[name] = value2;\n          this.raws[name] = valueEscaped;\n        };\n        _proto.setPropertyWithoutEscape = function setPropertyWithoutEscape(name, value2) {\n          this[name] = value2;\n          if (this.raws) {\n            delete this.raws[name];\n          }\n        };\n        _proto.isAtPosition = function isAtPosition(line, column) {\n          if (this.source && this.source.start && this.source.end) {\n            if (this.source.start.line > line) {\n              return false;\n            }\n            if (this.source.end.line < line) {\n              return false;\n            }\n            if (this.source.start.line === line && this.source.start.column > column) {\n              return false;\n            }\n            if (this.source.end.line === line && this.source.end.column < column) {\n              return false;\n            }\n            return true;\n          }\n          return void 0;\n        };\n        _proto.stringifyProperty = function stringifyProperty(name) {\n          return this.raws && this.raws[name] || this[name];\n        };\n        _proto.valueToString = function valueToString() {\n          return String(this.stringifyProperty(\"value\"));\n        };\n        _proto.toString = function toString2() {\n          return [this.rawSpaceBefore, this.valueToString(), this.rawSpaceAfter].join(\"\");\n        };\n        _createClass(Node4, [{\n          key: \"rawSpaceBefore\",\n          get: function get() {\n            var rawSpace = this.raws && this.raws.spaces && this.raws.spaces.before;\n            if (rawSpace === void 0) {\n              rawSpace = this.spaces && this.spaces.before;\n            }\n            return rawSpace || \"\";\n          },\n          set: function set(raw) {\n            (0, _util.ensureObject)(this, \"raws\", \"spaces\");\n            this.raws.spaces.before = raw;\n          }\n        }, {\n          key: \"rawSpaceAfter\",\n          get: function get() {\n            var rawSpace = this.raws && this.raws.spaces && this.raws.spaces.after;\n            if (rawSpace === void 0) {\n              rawSpace = this.spaces.after;\n            }\n            return rawSpace || \"\";\n          },\n          set: function set(raw) {\n            (0, _util.ensureObject)(this, \"raws\", \"spaces\");\n            this.raws.spaces.after = raw;\n          }\n        }]);\n        return Node4;\n      }();\n      exports[\"default\"] = Node3;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/types.js\n  var require_types = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/types.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports.UNIVERSAL = exports.TAG = exports.STRING = exports.SELECTOR = exports.ROOT = exports.PSEUDO = exports.NESTING = exports.ID = exports.COMMENT = exports.COMBINATOR = exports.CLASS = exports.ATTRIBUTE = void 0;\n      var TAG = \"tag\";\n      exports.TAG = TAG;\n      var STRING = \"string\";\n      exports.STRING = STRING;\n      var SELECTOR = \"selector\";\n      exports.SELECTOR = SELECTOR;\n      var ROOT = \"root\";\n      exports.ROOT = ROOT;\n      var PSEUDO = \"pseudo\";\n      exports.PSEUDO = PSEUDO;\n      var NESTING = \"nesting\";\n      exports.NESTING = NESTING;\n      var ID = \"id\";\n      exports.ID = ID;\n      var COMMENT = \"comment\";\n      exports.COMMENT = COMMENT;\n      var COMBINATOR = \"combinator\";\n      exports.COMBINATOR = COMBINATOR;\n      var CLASS = \"class\";\n      exports.CLASS = CLASS;\n      var ATTRIBUTE = \"attribute\";\n      exports.ATTRIBUTE = ATTRIBUTE;\n      var UNIVERSAL = \"universal\";\n      exports.UNIVERSAL = UNIVERSAL;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/container.js\n  var require_container2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/container.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _node = _interopRequireDefault(require_node2());\n      var types2 = _interopRequireWildcard(require_types());\n      function _getRequireWildcardCache(nodeInterop) {\n        if (typeof WeakMap !== \"function\") return null;\n        var cacheBabelInterop = /* @__PURE__ */ new WeakMap();\n        var cacheNodeInterop = /* @__PURE__ */ new WeakMap();\n        return (_getRequireWildcardCache = function _getRequireWildcardCache2(nodeInterop2) {\n          return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;\n        })(nodeInterop);\n      }\n      function _interopRequireWildcard(obj, nodeInterop) {\n        if (!nodeInterop && obj && obj.__esModule) {\n          return obj;\n        }\n        if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n          return { \"default\": obj };\n        }\n        var cache3 = _getRequireWildcardCache(nodeInterop);\n        if (cache3 && cache3.has(obj)) {\n          return cache3.get(obj);\n        }\n        var newObj = {};\n        var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n        for (var key in obj) {\n          if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n            if (desc && (desc.get || desc.set)) {\n              Object.defineProperty(newObj, key, desc);\n            } else {\n              newObj[key] = obj[key];\n            }\n          }\n        }\n        newObj[\"default\"] = obj;\n        if (cache3) {\n          cache3.set(obj, newObj);\n        }\n        return newObj;\n      }\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _createForOfIteratorHelperLoose(o2, allowArrayLike) {\n        var it = typeof Symbol !== \"undefined\" && o2[Symbol.iterator] || o2[\"@@iterator\"];\n        if (it) return (it = it.call(o2)).next.bind(it);\n        if (Array.isArray(o2) || (it = _unsupportedIterableToArray(o2)) || allowArrayLike && o2 && typeof o2.length === \"number\") {\n          if (it) o2 = it;\n          var i2 = 0;\n          return function() {\n            if (i2 >= o2.length) return { done: true };\n            return { done: false, value: o2[i2++] };\n          };\n        }\n        throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function _unsupportedIterableToArray(o2, minLen) {\n        if (!o2) return;\n        if (typeof o2 === \"string\") return _arrayLikeToArray(o2, minLen);\n        var n2 = Object.prototype.toString.call(o2).slice(8, -1);\n        if (n2 === \"Object\" && o2.constructor) n2 = o2.constructor.name;\n        if (n2 === \"Map\" || n2 === \"Set\") return Array.from(o2);\n        if (n2 === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)) return _arrayLikeToArray(o2, minLen);\n      }\n      function _arrayLikeToArray(arr, len) {\n        if (len == null || len > arr.length) len = arr.length;\n        for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) {\n          arr2[i2] = arr[i2];\n        }\n        return arr2;\n      }\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Container2 = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(Container3, _Node);\n        function Container3(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          if (!_this.nodes) {\n            _this.nodes = [];\n          }\n          return _this;\n        }\n        var _proto = Container3.prototype;\n        _proto.append = function append(selector) {\n          selector.parent = this;\n          this.nodes.push(selector);\n          return this;\n        };\n        _proto.prepend = function prepend(selector) {\n          selector.parent = this;\n          this.nodes.unshift(selector);\n          return this;\n        };\n        _proto.at = function at(index2) {\n          return this.nodes[index2];\n        };\n        _proto.index = function index2(child) {\n          if (typeof child === \"number\") {\n            return child;\n          }\n          return this.nodes.indexOf(child);\n        };\n        _proto.removeChild = function removeChild(child) {\n          child = this.index(child);\n          this.at(child).parent = void 0;\n          this.nodes.splice(child, 1);\n          var index2;\n          for (var id in this.indexes) {\n            index2 = this.indexes[id];\n            if (index2 >= child) {\n              this.indexes[id] = index2 - 1;\n            }\n          }\n          return this;\n        };\n        _proto.removeAll = function removeAll() {\n          for (var _iterator = _createForOfIteratorHelperLoose(this.nodes), _step; !(_step = _iterator()).done; ) {\n            var node = _step.value;\n            node.parent = void 0;\n          }\n          this.nodes = [];\n          return this;\n        };\n        _proto.empty = function empty() {\n          return this.removeAll();\n        };\n        _proto.insertAfter = function insertAfter(oldNode, newNode) {\n          newNode.parent = this;\n          var oldIndex = this.index(oldNode);\n          this.nodes.splice(oldIndex + 1, 0, newNode);\n          newNode.parent = this;\n          var index2;\n          for (var id in this.indexes) {\n            index2 = this.indexes[id];\n            if (oldIndex <= index2) {\n              this.indexes[id] = index2 + 1;\n            }\n          }\n          return this;\n        };\n        _proto.insertBefore = function insertBefore(oldNode, newNode) {\n          newNode.parent = this;\n          var oldIndex = this.index(oldNode);\n          this.nodes.splice(oldIndex, 0, newNode);\n          newNode.parent = this;\n          var index2;\n          for (var id in this.indexes) {\n            index2 = this.indexes[id];\n            if (index2 <= oldIndex) {\n              this.indexes[id] = index2 + 1;\n            }\n          }\n          return this;\n        };\n        _proto._findChildAtPosition = function _findChildAtPosition(line, col) {\n          var found = void 0;\n          this.each(function(node) {\n            if (node.atPosition) {\n              var foundChild = node.atPosition(line, col);\n              if (foundChild) {\n                found = foundChild;\n                return false;\n              }\n            } else if (node.isAtPosition(line, col)) {\n              found = node;\n              return false;\n            }\n          });\n          return found;\n        };\n        _proto.atPosition = function atPosition(line, col) {\n          if (this.isAtPosition(line, col)) {\n            return this._findChildAtPosition(line, col) || this;\n          } else {\n            return void 0;\n          }\n        };\n        _proto._inferEndPosition = function _inferEndPosition() {\n          if (this.last && this.last.source && this.last.source.end) {\n            this.source = this.source || {};\n            this.source.end = this.source.end || {};\n            Object.assign(this.source.end, this.last.source.end);\n          }\n        };\n        _proto.each = function each(callback) {\n          if (!this.lastEach) {\n            this.lastEach = 0;\n          }\n          if (!this.indexes) {\n            this.indexes = {};\n          }\n          this.lastEach++;\n          var id = this.lastEach;\n          this.indexes[id] = 0;\n          if (!this.length) {\n            return void 0;\n          }\n          var index2, result;\n          while (this.indexes[id] < this.length) {\n            index2 = this.indexes[id];\n            result = callback(this.at(index2), index2);\n            if (result === false) {\n              break;\n            }\n            this.indexes[id] += 1;\n          }\n          delete this.indexes[id];\n          if (result === false) {\n            return false;\n          }\n        };\n        _proto.walk = function walk(callback) {\n          return this.each(function(node, i2) {\n            var result = callback(node, i2);\n            if (result !== false && node.length) {\n              result = node.walk(callback);\n            }\n            if (result === false) {\n              return false;\n            }\n          });\n        };\n        _proto.walkAttributes = function walkAttributes(callback) {\n          var _this2 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.ATTRIBUTE) {\n              return callback.call(_this2, selector);\n            }\n          });\n        };\n        _proto.walkClasses = function walkClasses(callback) {\n          var _this3 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.CLASS) {\n              return callback.call(_this3, selector);\n            }\n          });\n        };\n        _proto.walkCombinators = function walkCombinators(callback) {\n          var _this4 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.COMBINATOR) {\n              return callback.call(_this4, selector);\n            }\n          });\n        };\n        _proto.walkComments = function walkComments(callback) {\n          var _this5 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.COMMENT) {\n              return callback.call(_this5, selector);\n            }\n          });\n        };\n        _proto.walkIds = function walkIds(callback) {\n          var _this6 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.ID) {\n              return callback.call(_this6, selector);\n            }\n          });\n        };\n        _proto.walkNesting = function walkNesting(callback) {\n          var _this7 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.NESTING) {\n              return callback.call(_this7, selector);\n            }\n          });\n        };\n        _proto.walkPseudos = function walkPseudos(callback) {\n          var _this8 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.PSEUDO) {\n              return callback.call(_this8, selector);\n            }\n          });\n        };\n        _proto.walkTags = function walkTags(callback) {\n          var _this9 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.TAG) {\n              return callback.call(_this9, selector);\n            }\n          });\n        };\n        _proto.walkUniversals = function walkUniversals(callback) {\n          var _this10 = this;\n          return this.walk(function(selector) {\n            if (selector.type === types2.UNIVERSAL) {\n              return callback.call(_this10, selector);\n            }\n          });\n        };\n        _proto.split = function split(callback) {\n          var _this11 = this;\n          var current = [];\n          return this.reduce(function(memo, node, index2) {\n            var split2 = callback.call(_this11, node);\n            current.push(node);\n            if (split2) {\n              memo.push(current);\n              current = [];\n            } else if (index2 === _this11.length - 1) {\n              memo.push(current);\n            }\n            return memo;\n          }, []);\n        };\n        _proto.map = function map(callback) {\n          return this.nodes.map(callback);\n        };\n        _proto.reduce = function reduce(callback, memo) {\n          return this.nodes.reduce(callback, memo);\n        };\n        _proto.every = function every(callback) {\n          return this.nodes.every(callback);\n        };\n        _proto.some = function some(callback) {\n          return this.nodes.some(callback);\n        };\n        _proto.filter = function filter(callback) {\n          return this.nodes.filter(callback);\n        };\n        _proto.sort = function sort(callback) {\n          return this.nodes.sort(callback);\n        };\n        _proto.toString = function toString2() {\n          return this.map(String).join(\"\");\n        };\n        _createClass(Container3, [{\n          key: \"first\",\n          get: function get() {\n            return this.at(0);\n          }\n        }, {\n          key: \"last\",\n          get: function get() {\n            return this.at(this.length - 1);\n          }\n        }, {\n          key: \"length\",\n          get: function get() {\n            return this.nodes.length;\n          }\n        }]);\n        return Container3;\n      }(_node[\"default\"]);\n      exports[\"default\"] = Container2;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/root.js\n  var require_root2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/root.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _container = _interopRequireDefault(require_container2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Root2 = /* @__PURE__ */ function(_Container) {\n        _inheritsLoose(Root3, _Container);\n        function Root3(opts) {\n          var _this;\n          _this = _Container.call(this, opts) || this;\n          _this.type = _types.ROOT;\n          return _this;\n        }\n        var _proto = Root3.prototype;\n        _proto.toString = function toString2() {\n          var str = this.reduce(function(memo, selector) {\n            memo.push(String(selector));\n            return memo;\n          }, []).join(\",\");\n          return this.trailingComma ? str + \",\" : str;\n        };\n        _proto.error = function error(message, options) {\n          if (this._error) {\n            return this._error(message, options);\n          } else {\n            return new Error(message);\n          }\n        };\n        _createClass(Root3, [{\n          key: \"errorGenerator\",\n          set: function set(handler) {\n            this._error = handler;\n          }\n        }]);\n        return Root3;\n      }(_container[\"default\"]);\n      exports[\"default\"] = Root2;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/selector.js\n  var require_selector = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/selector.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _container = _interopRequireDefault(require_container2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Selector = /* @__PURE__ */ function(_Container) {\n        _inheritsLoose(Selector2, _Container);\n        function Selector2(opts) {\n          var _this;\n          _this = _Container.call(this, opts) || this;\n          _this.type = _types.SELECTOR;\n          return _this;\n        }\n        return Selector2;\n      }(_container[\"default\"]);\n      exports[\"default\"] = Selector;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js\n  var require_cssesc = __commonJS({\n    \"node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js\"(exports, module) {\n      \"use strict\";\n      var object = {};\n      var hasOwnProperty = object.hasOwnProperty;\n      var merge = function merge2(options, defaults3) {\n        if (!options) {\n          return defaults3;\n        }\n        var result = {};\n        for (var key in defaults3) {\n          result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults3[key];\n        }\n        return result;\n      };\n      var regexAnySingleEscape = /[ -,\\.\\/:-@\\[-\\^`\\{-~]/;\n      var regexSingleEscape = /[ -,\\.\\/:-@\\[\\]\\^`\\{-~]/;\n      var regexExcessiveSpaces = /(^|\\\\+)?(\\\\[A-F0-9]{1,6})\\x20(?![a-fA-F0-9\\x20])/g;\n      var cssesc = function cssesc2(string, options) {\n        options = merge(options, cssesc2.options);\n        if (options.quotes != \"single\" && options.quotes != \"double\") {\n          options.quotes = \"single\";\n        }\n        var quote = options.quotes == \"double\" ? '\"' : \"'\";\n        var isIdentifier = options.isIdentifier;\n        var firstChar = string.charAt(0);\n        var output = \"\";\n        var counter = 0;\n        var length2 = string.length;\n        while (counter < length2) {\n          var character = string.charAt(counter++);\n          var codePoint = character.charCodeAt();\n          var value2 = void 0;\n          if (codePoint < 32 || codePoint > 126) {\n            if (codePoint >= 55296 && codePoint <= 56319 && counter < length2) {\n              var extra = string.charCodeAt(counter++);\n              if ((extra & 64512) == 56320) {\n                codePoint = ((codePoint & 1023) << 10) + (extra & 1023) + 65536;\n              } else {\n                counter--;\n              }\n            }\n            value2 = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n          } else {\n            if (options.escapeEverything) {\n              if (regexAnySingleEscape.test(character)) {\n                value2 = \"\\\\\" + character;\n              } else {\n                value2 = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n              }\n            } else if (/[\\t\\n\\f\\r\\x0B]/.test(character)) {\n              value2 = \"\\\\\" + codePoint.toString(16).toUpperCase() + \" \";\n            } else if (character == \"\\\\\" || !isIdentifier && (character == '\"' && quote == character || character == \"'\" && quote == character) || isIdentifier && regexSingleEscape.test(character)) {\n              value2 = \"\\\\\" + character;\n            } else {\n              value2 = character;\n            }\n          }\n          output += value2;\n        }\n        if (isIdentifier) {\n          if (/^-[-\\d]/.test(output)) {\n            output = \"\\\\-\" + output.slice(1);\n          } else if (/\\d/.test(firstChar)) {\n            output = \"\\\\3\" + firstChar + \" \" + output.slice(1);\n          }\n        }\n        output = output.replace(regexExcessiveSpaces, function($0, $1, $2) {\n          if ($1 && $1.length % 2) {\n            return $0;\n          }\n          return ($1 || \"\") + $2;\n        });\n        if (!isIdentifier && options.wrap) {\n          return quote + output + quote;\n        }\n        return output;\n      };\n      cssesc.options = {\n        \"escapeEverything\": false,\n        \"isIdentifier\": false,\n        \"quotes\": \"single\",\n        \"wrap\": false\n      };\n      cssesc.version = \"3.0.0\";\n      module.exports = cssesc;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/className.js\n  var require_className = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/className.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _cssesc = _interopRequireDefault(require_cssesc());\n      var _util = require_util();\n      var _node = _interopRequireDefault(require_node2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var ClassName = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(ClassName2, _Node);\n        function ClassName2(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          _this.type = _types.CLASS;\n          _this._constructed = true;\n          return _this;\n        }\n        var _proto = ClassName2.prototype;\n        _proto.valueToString = function valueToString() {\n          return \".\" + _Node.prototype.valueToString.call(this);\n        };\n        _createClass(ClassName2, [{\n          key: \"value\",\n          get: function get() {\n            return this._value;\n          },\n          set: function set(v2) {\n            if (this._constructed) {\n              var escaped = (0, _cssesc[\"default\"])(v2, {\n                isIdentifier: true\n              });\n              if (escaped !== v2) {\n                (0, _util.ensureObject)(this, \"raws\");\n                this.raws.value = escaped;\n              } else if (this.raws) {\n                delete this.raws.value;\n              }\n            }\n            this._value = v2;\n          }\n        }]);\n        return ClassName2;\n      }(_node[\"default\"]);\n      exports[\"default\"] = ClassName;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/comment.js\n  var require_comment2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/comment.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _node = _interopRequireDefault(require_node2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Comment2 = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(Comment3, _Node);\n        function Comment3(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          _this.type = _types.COMMENT;\n          return _this;\n        }\n        return Comment3;\n      }(_node[\"default\"]);\n      exports[\"default\"] = Comment2;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/id.js\n  var require_id = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/id.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _node = _interopRequireDefault(require_node2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var ID = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(ID2, _Node);\n        function ID2(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          _this.type = _types.ID;\n          return _this;\n        }\n        var _proto = ID2.prototype;\n        _proto.valueToString = function valueToString() {\n          return \"#\" + _Node.prototype.valueToString.call(this);\n        };\n        return ID2;\n      }(_node[\"default\"]);\n      exports[\"default\"] = ID;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/namespace.js\n  var require_namespace = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/namespace.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _cssesc = _interopRequireDefault(require_cssesc());\n      var _util = require_util();\n      var _node = _interopRequireDefault(require_node2());\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Namespace = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(Namespace2, _Node);\n        function Namespace2() {\n          return _Node.apply(this, arguments) || this;\n        }\n        var _proto = Namespace2.prototype;\n        _proto.qualifiedName = function qualifiedName(value2) {\n          if (this.namespace) {\n            return this.namespaceString + \"|\" + value2;\n          } else {\n            return value2;\n          }\n        };\n        _proto.valueToString = function valueToString() {\n          return this.qualifiedName(_Node.prototype.valueToString.call(this));\n        };\n        _createClass(Namespace2, [{\n          key: \"namespace\",\n          get: function get() {\n            return this._namespace;\n          },\n          set: function set(namespace) {\n            if (namespace === true || namespace === \"*\" || namespace === \"&\") {\n              this._namespace = namespace;\n              if (this.raws) {\n                delete this.raws.namespace;\n              }\n              return;\n            }\n            var escaped = (0, _cssesc[\"default\"])(namespace, {\n              isIdentifier: true\n            });\n            this._namespace = namespace;\n            if (escaped !== namespace) {\n              (0, _util.ensureObject)(this, \"raws\");\n              this.raws.namespace = escaped;\n            } else if (this.raws) {\n              delete this.raws.namespace;\n            }\n          }\n        }, {\n          key: \"ns\",\n          get: function get() {\n            return this._namespace;\n          },\n          set: function set(namespace) {\n            this.namespace = namespace;\n          }\n        }, {\n          key: \"namespaceString\",\n          get: function get() {\n            if (this.namespace) {\n              var ns = this.stringifyProperty(\"namespace\");\n              if (ns === true) {\n                return \"\";\n              } else {\n                return ns;\n              }\n            } else {\n              return \"\";\n            }\n          }\n        }]);\n        return Namespace2;\n      }(_node[\"default\"]);\n      exports[\"default\"] = Namespace;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/tag.js\n  var require_tag = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/tag.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _namespace = _interopRequireDefault(require_namespace());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Tag = /* @__PURE__ */ function(_Namespace) {\n        _inheritsLoose(Tag2, _Namespace);\n        function Tag2(opts) {\n          var _this;\n          _this = _Namespace.call(this, opts) || this;\n          _this.type = _types.TAG;\n          return _this;\n        }\n        return Tag2;\n      }(_namespace[\"default\"]);\n      exports[\"default\"] = Tag;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/string.js\n  var require_string = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/string.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _node = _interopRequireDefault(require_node2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var String2 = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(String3, _Node);\n        function String3(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          _this.type = _types.STRING;\n          return _this;\n        }\n        return String3;\n      }(_node[\"default\"]);\n      exports[\"default\"] = String2;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/pseudo.js\n  var require_pseudo = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/pseudo.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _container = _interopRequireDefault(require_container2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Pseudo = /* @__PURE__ */ function(_Container) {\n        _inheritsLoose(Pseudo2, _Container);\n        function Pseudo2(opts) {\n          var _this;\n          _this = _Container.call(this, opts) || this;\n          _this.type = _types.PSEUDO;\n          return _this;\n        }\n        var _proto = Pseudo2.prototype;\n        _proto.toString = function toString2() {\n          var params = this.length ? \"(\" + this.map(String).join(\",\") + \")\" : \"\";\n          return [this.rawSpaceBefore, this.stringifyProperty(\"value\"), params, this.rawSpaceAfter].join(\"\");\n        };\n        return Pseudo2;\n      }(_container[\"default\"]);\n      exports[\"default\"] = Pseudo;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js\n  var require_browser = __commonJS({\n    \"node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js\"(exports, module) {\n      module.exports = deprecate;\n      function deprecate(fn5, msg) {\n        if (config(\"noDeprecation\")) {\n          return fn5;\n        }\n        var warned = false;\n        function deprecated() {\n          if (!warned) {\n            if (config(\"throwDeprecation\")) {\n              throw new Error(msg);\n            } else if (config(\"traceDeprecation\")) {\n              console.trace(msg);\n            } else {\n              console.warn(msg);\n            }\n            warned = true;\n          }\n          return fn5.apply(this, arguments);\n        }\n        return deprecated;\n      }\n      function config(name) {\n        try {\n          if (!global.localStorage) return false;\n        } catch (_2) {\n          return false;\n        }\n        var val = global.localStorage[name];\n        if (null == val) return false;\n        return String(val).toLowerCase() === \"true\";\n      }\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/attribute.js\n  var require_attribute = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/attribute.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      exports.unescapeValue = unescapeValue;\n      var _cssesc = _interopRequireDefault(require_cssesc());\n      var _unesc = _interopRequireDefault(require_unesc());\n      var _namespace = _interopRequireDefault(require_namespace());\n      var _types = require_types();\n      var _CSSESC_QUOTE_OPTIONS;\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var deprecate = require_browser();\n      var WRAPPED_IN_QUOTES = /^('|\")([^]*)\\1$/;\n      var warnOfDeprecatedValueAssignment = deprecate(function() {\n      }, \"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.\");\n      var warnOfDeprecatedQuotedAssignment = deprecate(function() {\n      }, \"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.\");\n      var warnOfDeprecatedConstructor = deprecate(function() {\n      }, \"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.\");\n      function unescapeValue(value2) {\n        var deprecatedUsage = false;\n        var quoteMark = null;\n        var unescaped = value2;\n        var m2 = unescaped.match(WRAPPED_IN_QUOTES);\n        if (m2) {\n          quoteMark = m2[1];\n          unescaped = m2[2];\n        }\n        unescaped = (0, _unesc[\"default\"])(unescaped);\n        if (unescaped !== value2) {\n          deprecatedUsage = true;\n        }\n        return {\n          deprecatedUsage,\n          unescaped,\n          quoteMark\n        };\n      }\n      function handleDeprecatedContructorOpts(opts) {\n        if (opts.quoteMark !== void 0) {\n          return opts;\n        }\n        if (opts.value === void 0) {\n          return opts;\n        }\n        warnOfDeprecatedConstructor();\n        var _unescapeValue = unescapeValue(opts.value), quoteMark = _unescapeValue.quoteMark, unescaped = _unescapeValue.unescaped;\n        if (!opts.raws) {\n          opts.raws = {};\n        }\n        if (opts.raws.value === void 0) {\n          opts.raws.value = opts.value;\n        }\n        opts.value = unescaped;\n        opts.quoteMark = quoteMark;\n        return opts;\n      }\n      var Attribute = /* @__PURE__ */ function(_Namespace) {\n        _inheritsLoose(Attribute2, _Namespace);\n        function Attribute2(opts) {\n          var _this;\n          if (opts === void 0) {\n            opts = {};\n          }\n          _this = _Namespace.call(this, handleDeprecatedContructorOpts(opts)) || this;\n          _this.type = _types.ATTRIBUTE;\n          _this.raws = _this.raws || {};\n          Object.defineProperty(_this.raws, \"unquoted\", {\n            get: deprecate(function() {\n              return _this.value;\n            }, \"attr.raws.unquoted is deprecated. Call attr.value instead.\"),\n            set: deprecate(function() {\n              return _this.value;\n            }, \"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.\")\n          });\n          _this._constructed = true;\n          return _this;\n        }\n        var _proto = Attribute2.prototype;\n        _proto.getQuotedValue = function getQuotedValue(options) {\n          if (options === void 0) {\n            options = {};\n          }\n          var quoteMark = this._determineQuoteMark(options);\n          var cssescopts = CSSESC_QUOTE_OPTIONS[quoteMark];\n          var escaped = (0, _cssesc[\"default\"])(this._value, cssescopts);\n          return escaped;\n        };\n        _proto._determineQuoteMark = function _determineQuoteMark(options) {\n          return options.smart ? this.smartQuoteMark(options) : this.preferredQuoteMark(options);\n        };\n        _proto.setValue = function setValue(value2, options) {\n          if (options === void 0) {\n            options = {};\n          }\n          this._value = value2;\n          this._quoteMark = this._determineQuoteMark(options);\n          this._syncRawValue();\n        };\n        _proto.smartQuoteMark = function smartQuoteMark(options) {\n          var v2 = this.value;\n          var numSingleQuotes = v2.replace(/[^']/g, \"\").length;\n          var numDoubleQuotes = v2.replace(/[^\"]/g, \"\").length;\n          if (numSingleQuotes + numDoubleQuotes === 0) {\n            var escaped = (0, _cssesc[\"default\"])(v2, {\n              isIdentifier: true\n            });\n            if (escaped === v2) {\n              return Attribute2.NO_QUOTE;\n            } else {\n              var pref = this.preferredQuoteMark(options);\n              if (pref === Attribute2.NO_QUOTE) {\n                var quote = this.quoteMark || options.quoteMark || Attribute2.DOUBLE_QUOTE;\n                var opts = CSSESC_QUOTE_OPTIONS[quote];\n                var quoteValue = (0, _cssesc[\"default\"])(v2, opts);\n                if (quoteValue.length < escaped.length) {\n                  return quote;\n                }\n              }\n              return pref;\n            }\n          } else if (numDoubleQuotes === numSingleQuotes) {\n            return this.preferredQuoteMark(options);\n          } else if (numDoubleQuotes < numSingleQuotes) {\n            return Attribute2.DOUBLE_QUOTE;\n          } else {\n            return Attribute2.SINGLE_QUOTE;\n          }\n        };\n        _proto.preferredQuoteMark = function preferredQuoteMark(options) {\n          var quoteMark = options.preferCurrentQuoteMark ? this.quoteMark : options.quoteMark;\n          if (quoteMark === void 0) {\n            quoteMark = options.preferCurrentQuoteMark ? options.quoteMark : this.quoteMark;\n          }\n          if (quoteMark === void 0) {\n            quoteMark = Attribute2.DOUBLE_QUOTE;\n          }\n          return quoteMark;\n        };\n        _proto._syncRawValue = function _syncRawValue() {\n          var rawValue = (0, _cssesc[\"default\"])(this._value, CSSESC_QUOTE_OPTIONS[this.quoteMark]);\n          if (rawValue === this._value) {\n            if (this.raws) {\n              delete this.raws.value;\n            }\n          } else {\n            this.raws.value = rawValue;\n          }\n        };\n        _proto._handleEscapes = function _handleEscapes(prop, value2) {\n          if (this._constructed) {\n            var escaped = (0, _cssesc[\"default\"])(value2, {\n              isIdentifier: true\n            });\n            if (escaped !== value2) {\n              this.raws[prop] = escaped;\n            } else {\n              delete this.raws[prop];\n            }\n          }\n        };\n        _proto._spacesFor = function _spacesFor(name) {\n          var attrSpaces = {\n            before: \"\",\n            after: \"\"\n          };\n          var spaces = this.spaces[name] || {};\n          var rawSpaces = this.raws.spaces && this.raws.spaces[name] || {};\n          return Object.assign(attrSpaces, spaces, rawSpaces);\n        };\n        _proto._stringFor = function _stringFor(name, spaceName, concat) {\n          if (spaceName === void 0) {\n            spaceName = name;\n          }\n          if (concat === void 0) {\n            concat = defaultAttrConcat;\n          }\n          var attrSpaces = this._spacesFor(spaceName);\n          return concat(this.stringifyProperty(name), attrSpaces);\n        };\n        _proto.offsetOf = function offsetOf(name) {\n          var count = 1;\n          var attributeSpaces = this._spacesFor(\"attribute\");\n          count += attributeSpaces.before.length;\n          if (name === \"namespace\" || name === \"ns\") {\n            return this.namespace ? count : -1;\n          }\n          if (name === \"attributeNS\") {\n            return count;\n          }\n          count += this.namespaceString.length;\n          if (this.namespace) {\n            count += 1;\n          }\n          if (name === \"attribute\") {\n            return count;\n          }\n          count += this.stringifyProperty(\"attribute\").length;\n          count += attributeSpaces.after.length;\n          var operatorSpaces = this._spacesFor(\"operator\");\n          count += operatorSpaces.before.length;\n          var operator = this.stringifyProperty(\"operator\");\n          if (name === \"operator\") {\n            return operator ? count : -1;\n          }\n          count += operator.length;\n          count += operatorSpaces.after.length;\n          var valueSpaces = this._spacesFor(\"value\");\n          count += valueSpaces.before.length;\n          var value2 = this.stringifyProperty(\"value\");\n          if (name === \"value\") {\n            return value2 ? count : -1;\n          }\n          count += value2.length;\n          count += valueSpaces.after.length;\n          var insensitiveSpaces = this._spacesFor(\"insensitive\");\n          count += insensitiveSpaces.before.length;\n          if (name === \"insensitive\") {\n            return this.insensitive ? count : -1;\n          }\n          return -1;\n        };\n        _proto.toString = function toString2() {\n          var _this2 = this;\n          var selector = [this.rawSpaceBefore, \"[\"];\n          selector.push(this._stringFor(\"qualifiedAttribute\", \"attribute\"));\n          if (this.operator && (this.value || this.value === \"\")) {\n            selector.push(this._stringFor(\"operator\"));\n            selector.push(this._stringFor(\"value\"));\n            selector.push(this._stringFor(\"insensitiveFlag\", \"insensitive\", function(attrValue, attrSpaces) {\n              if (attrValue.length > 0 && !_this2.quoted && attrSpaces.before.length === 0 && !(_this2.spaces.value && _this2.spaces.value.after)) {\n                attrSpaces.before = \" \";\n              }\n              return defaultAttrConcat(attrValue, attrSpaces);\n            }));\n          }\n          selector.push(\"]\");\n          selector.push(this.rawSpaceAfter);\n          return selector.join(\"\");\n        };\n        _createClass(Attribute2, [{\n          key: \"quoted\",\n          get: function get() {\n            var qm = this.quoteMark;\n            return qm === \"'\" || qm === '\"';\n          },\n          set: function set(value2) {\n            warnOfDeprecatedQuotedAssignment();\n          }\n          /**\n           * returns a single (`'`) or double (`\"`) quote character if the value is quoted.\n           * returns `null` if the value is not quoted.\n           * returns `undefined` if the quotation state is unknown (this can happen when\n           * the attribute is constructed without specifying a quote mark.)\n           */\n        }, {\n          key: \"quoteMark\",\n          get: function get() {\n            return this._quoteMark;\n          },\n          set: function set(quoteMark) {\n            if (!this._constructed) {\n              this._quoteMark = quoteMark;\n              return;\n            }\n            if (this._quoteMark !== quoteMark) {\n              this._quoteMark = quoteMark;\n              this._syncRawValue();\n            }\n          }\n        }, {\n          key: \"qualifiedAttribute\",\n          get: function get() {\n            return this.qualifiedName(this.raws.attribute || this.attribute);\n          }\n        }, {\n          key: \"insensitiveFlag\",\n          get: function get() {\n            return this.insensitive ? \"i\" : \"\";\n          }\n        }, {\n          key: \"value\",\n          get: function get() {\n            return this._value;\n          },\n          set: (\n            /**\n             * Before 3.0, the value had to be set to an escaped value including any wrapped\n             * quote marks. In 3.0, the semantics of `Attribute.value` changed so that the value\n             * is unescaped during parsing and any quote marks are removed.\n             *\n             * Because the ambiguity of this semantic change, if you set `attr.value = newValue`,\n             * a deprecation warning is raised when the new value contains any characters that would\n             * require escaping (including if it contains wrapped quotes).\n             *\n             * Instead, you should call `attr.setValue(newValue, opts)` and pass options that describe\n             * how the new value is quoted.\n             */\n            function set(v2) {\n              if (this._constructed) {\n                var _unescapeValue2 = unescapeValue(v2), deprecatedUsage = _unescapeValue2.deprecatedUsage, unescaped = _unescapeValue2.unescaped, quoteMark = _unescapeValue2.quoteMark;\n                if (deprecatedUsage) {\n                  warnOfDeprecatedValueAssignment();\n                }\n                if (unescaped === this._value && quoteMark === this._quoteMark) {\n                  return;\n                }\n                this._value = unescaped;\n                this._quoteMark = quoteMark;\n                this._syncRawValue();\n              } else {\n                this._value = v2;\n              }\n            }\n          )\n        }, {\n          key: \"insensitive\",\n          get: function get() {\n            return this._insensitive;\n          },\n          set: function set(insensitive) {\n            if (!insensitive) {\n              this._insensitive = false;\n              if (this.raws && (this.raws.insensitiveFlag === \"I\" || this.raws.insensitiveFlag === \"i\")) {\n                this.raws.insensitiveFlag = void 0;\n              }\n            }\n            this._insensitive = insensitive;\n          }\n        }, {\n          key: \"attribute\",\n          get: function get() {\n            return this._attribute;\n          },\n          set: function set(name) {\n            this._handleEscapes(\"attribute\", name);\n            this._attribute = name;\n          }\n        }]);\n        return Attribute2;\n      }(_namespace[\"default\"]);\n      exports[\"default\"] = Attribute;\n      Attribute.NO_QUOTE = null;\n      Attribute.SINGLE_QUOTE = \"'\";\n      Attribute.DOUBLE_QUOTE = '\"';\n      var CSSESC_QUOTE_OPTIONS = (_CSSESC_QUOTE_OPTIONS = {\n        \"'\": {\n          quotes: \"single\",\n          wrap: true\n        },\n        '\"': {\n          quotes: \"double\",\n          wrap: true\n        }\n      }, _CSSESC_QUOTE_OPTIONS[null] = {\n        isIdentifier: true\n      }, _CSSESC_QUOTE_OPTIONS);\n      function defaultAttrConcat(attrValue, attrSpaces) {\n        return \"\" + attrSpaces.before + attrValue + attrSpaces.after;\n      }\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/universal.js\n  var require_universal = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/universal.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _namespace = _interopRequireDefault(require_namespace());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Universal = /* @__PURE__ */ function(_Namespace) {\n        _inheritsLoose(Universal2, _Namespace);\n        function Universal2(opts) {\n          var _this;\n          _this = _Namespace.call(this, opts) || this;\n          _this.type = _types.UNIVERSAL;\n          _this.value = \"*\";\n          return _this;\n        }\n        return Universal2;\n      }(_namespace[\"default\"]);\n      exports[\"default\"] = Universal;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/combinator.js\n  var require_combinator = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/combinator.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _node = _interopRequireDefault(require_node2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Combinator = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(Combinator2, _Node);\n        function Combinator2(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          _this.type = _types.COMBINATOR;\n          return _this;\n        }\n        return Combinator2;\n      }(_node[\"default\"]);\n      exports[\"default\"] = Combinator;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/nesting.js\n  var require_nesting = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/nesting.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _node = _interopRequireDefault(require_node2());\n      var _types = require_types();\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _inheritsLoose(subClass, superClass) {\n        subClass.prototype = Object.create(superClass.prototype);\n        subClass.prototype.constructor = subClass;\n        _setPrototypeOf(subClass, superClass);\n      }\n      function _setPrototypeOf(o2, p4) {\n        _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p5) {\n          o3.__proto__ = p5;\n          return o3;\n        };\n        return _setPrototypeOf(o2, p4);\n      }\n      var Nesting = /* @__PURE__ */ function(_Node) {\n        _inheritsLoose(Nesting2, _Node);\n        function Nesting2(opts) {\n          var _this;\n          _this = _Node.call(this, opts) || this;\n          _this.type = _types.NESTING;\n          _this.value = \"&\";\n          return _this;\n        }\n        return Nesting2;\n      }(_node[\"default\"]);\n      exports[\"default\"] = Nesting;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/sortAscending.js\n  var require_sortAscending = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/sortAscending.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = sortAscending;\n      function sortAscending(list3) {\n        return list3.sort(function(a2, b2) {\n          return a2 - b2;\n        });\n      }\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/tokenTypes.js\n  var require_tokenTypes = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/tokenTypes.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports.word = exports.tilde = exports.tab = exports.str = exports.space = exports.slash = exports.singleQuote = exports.semicolon = exports.plus = exports.pipe = exports.openSquare = exports.openParenthesis = exports.newline = exports.greaterThan = exports.feed = exports.equals = exports.doubleQuote = exports.dollar = exports.cr = exports.comment = exports.comma = exports.combinator = exports.colon = exports.closeSquare = exports.closeParenthesis = exports.caret = exports.bang = exports.backslash = exports.at = exports.asterisk = exports.ampersand = void 0;\n      var ampersand = 38;\n      exports.ampersand = ampersand;\n      var asterisk = 42;\n      exports.asterisk = asterisk;\n      var at = 64;\n      exports.at = at;\n      var comma = 44;\n      exports.comma = comma;\n      var colon = 58;\n      exports.colon = colon;\n      var semicolon = 59;\n      exports.semicolon = semicolon;\n      var openParenthesis = 40;\n      exports.openParenthesis = openParenthesis;\n      var closeParenthesis = 41;\n      exports.closeParenthesis = closeParenthesis;\n      var openSquare = 91;\n      exports.openSquare = openSquare;\n      var closeSquare = 93;\n      exports.closeSquare = closeSquare;\n      var dollar = 36;\n      exports.dollar = dollar;\n      var tilde = 126;\n      exports.tilde = tilde;\n      var caret = 94;\n      exports.caret = caret;\n      var plus = 43;\n      exports.plus = plus;\n      var equals3 = 61;\n      exports.equals = equals3;\n      var pipe = 124;\n      exports.pipe = pipe;\n      var greaterThan = 62;\n      exports.greaterThan = greaterThan;\n      var space = 32;\n      exports.space = space;\n      var singleQuote = 39;\n      exports.singleQuote = singleQuote;\n      var doubleQuote = 34;\n      exports.doubleQuote = doubleQuote;\n      var slash = 47;\n      exports.slash = slash;\n      var bang = 33;\n      exports.bang = bang;\n      var backslash = 92;\n      exports.backslash = backslash;\n      var cr = 13;\n      exports.cr = cr;\n      var feed = 12;\n      exports.feed = feed;\n      var newline = 10;\n      exports.newline = newline;\n      var tab = 9;\n      exports.tab = tab;\n      var str = singleQuote;\n      exports.str = str;\n      var comment2 = -1;\n      exports.comment = comment2;\n      var word = -2;\n      exports.word = word;\n      var combinator = -3;\n      exports.combinator = combinator;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/tokenize.js\n  var require_tokenize2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/tokenize.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports.FIELDS = void 0;\n      exports[\"default\"] = tokenize2;\n      var t2 = _interopRequireWildcard(require_tokenTypes());\n      var _unescapable;\n      var _wordDelimiters;\n      function _getRequireWildcardCache(nodeInterop) {\n        if (typeof WeakMap !== \"function\") return null;\n        var cacheBabelInterop = /* @__PURE__ */ new WeakMap();\n        var cacheNodeInterop = /* @__PURE__ */ new WeakMap();\n        return (_getRequireWildcardCache = function _getRequireWildcardCache2(nodeInterop2) {\n          return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;\n        })(nodeInterop);\n      }\n      function _interopRequireWildcard(obj, nodeInterop) {\n        if (!nodeInterop && obj && obj.__esModule) {\n          return obj;\n        }\n        if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n          return { \"default\": obj };\n        }\n        var cache3 = _getRequireWildcardCache(nodeInterop);\n        if (cache3 && cache3.has(obj)) {\n          return cache3.get(obj);\n        }\n        var newObj = {};\n        var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n        for (var key in obj) {\n          if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n            if (desc && (desc.get || desc.set)) {\n              Object.defineProperty(newObj, key, desc);\n            } else {\n              newObj[key] = obj[key];\n            }\n          }\n        }\n        newObj[\"default\"] = obj;\n        if (cache3) {\n          cache3.set(obj, newObj);\n        }\n        return newObj;\n      }\n      var unescapable = (_unescapable = {}, _unescapable[t2.tab] = true, _unescapable[t2.newline] = true, _unescapable[t2.cr] = true, _unescapable[t2.feed] = true, _unescapable);\n      var wordDelimiters = (_wordDelimiters = {}, _wordDelimiters[t2.space] = true, _wordDelimiters[t2.tab] = true, _wordDelimiters[t2.newline] = true, _wordDelimiters[t2.cr] = true, _wordDelimiters[t2.feed] = true, _wordDelimiters[t2.ampersand] = true, _wordDelimiters[t2.asterisk] = true, _wordDelimiters[t2.bang] = true, _wordDelimiters[t2.comma] = true, _wordDelimiters[t2.colon] = true, _wordDelimiters[t2.semicolon] = true, _wordDelimiters[t2.openParenthesis] = true, _wordDelimiters[t2.closeParenthesis] = true, _wordDelimiters[t2.openSquare] = true, _wordDelimiters[t2.closeSquare] = true, _wordDelimiters[t2.singleQuote] = true, _wordDelimiters[t2.doubleQuote] = true, _wordDelimiters[t2.plus] = true, _wordDelimiters[t2.pipe] = true, _wordDelimiters[t2.tilde] = true, _wordDelimiters[t2.greaterThan] = true, _wordDelimiters[t2.equals] = true, _wordDelimiters[t2.dollar] = true, _wordDelimiters[t2.caret] = true, _wordDelimiters[t2.slash] = true, _wordDelimiters);\n      var hex2 = {};\n      var hexChars = \"0123456789abcdefABCDEF\";\n      for (i2 = 0; i2 < hexChars.length; i2++) {\n        hex2[hexChars.charCodeAt(i2)] = true;\n      }\n      var i2;\n      function consumeWord(css, start) {\n        var next = start;\n        var code;\n        do {\n          code = css.charCodeAt(next);\n          if (wordDelimiters[code]) {\n            return next - 1;\n          } else if (code === t2.backslash) {\n            next = consumeEscape(css, next) + 1;\n          } else {\n            next++;\n          }\n        } while (next < css.length);\n        return next - 1;\n      }\n      function consumeEscape(css, start) {\n        var next = start;\n        var code = css.charCodeAt(next + 1);\n        if (unescapable[code]) {\n        } else if (hex2[code]) {\n          var hexDigits = 0;\n          do {\n            next++;\n            hexDigits++;\n            code = css.charCodeAt(next + 1);\n          } while (hex2[code] && hexDigits < 6);\n          if (hexDigits < 6 && code === t2.space) {\n            next++;\n          }\n        } else {\n          next++;\n        }\n        return next;\n      }\n      var FIELDS = {\n        TYPE: 0,\n        START_LINE: 1,\n        START_COL: 2,\n        END_LINE: 3,\n        END_COL: 4,\n        START_POS: 5,\n        END_POS: 6\n      };\n      exports.FIELDS = FIELDS;\n      function tokenize2(input) {\n        var tokens = [];\n        var css = input.css.valueOf();\n        var _css = css, length2 = _css.length;\n        var offset = -1;\n        var line = 1;\n        var start = 0;\n        var end = 0;\n        var code, content, endColumn, endLine, escaped, escapePos, last, lines, next, nextLine, nextOffset, quote, tokenType;\n        function unclosed(what, fix) {\n          if (input.safe) {\n            css += fix;\n            next = css.length - 1;\n          } else {\n            throw input.error(\"Unclosed \" + what, line, start - offset, start);\n          }\n        }\n        while (start < length2) {\n          code = css.charCodeAt(start);\n          if (code === t2.newline) {\n            offset = start;\n            line += 1;\n          }\n          switch (code) {\n            case t2.space:\n            case t2.tab:\n            case t2.newline:\n            case t2.cr:\n            case t2.feed:\n              next = start;\n              do {\n                next += 1;\n                code = css.charCodeAt(next);\n                if (code === t2.newline) {\n                  offset = next;\n                  line += 1;\n                }\n              } while (code === t2.space || code === t2.newline || code === t2.tab || code === t2.cr || code === t2.feed);\n              tokenType = t2.space;\n              endLine = line;\n              endColumn = next - offset - 1;\n              end = next;\n              break;\n            case t2.plus:\n            case t2.greaterThan:\n            case t2.tilde:\n            case t2.pipe:\n              next = start;\n              do {\n                next += 1;\n                code = css.charCodeAt(next);\n              } while (code === t2.plus || code === t2.greaterThan || code === t2.tilde || code === t2.pipe);\n              tokenType = t2.combinator;\n              endLine = line;\n              endColumn = start - offset;\n              end = next;\n              break;\n            case t2.asterisk:\n            case t2.ampersand:\n            case t2.bang:\n            case t2.comma:\n            case t2.equals:\n            case t2.dollar:\n            case t2.caret:\n            case t2.openSquare:\n            case t2.closeSquare:\n            case t2.colon:\n            case t2.semicolon:\n            case t2.openParenthesis:\n            case t2.closeParenthesis:\n              next = start;\n              tokenType = code;\n              endLine = line;\n              endColumn = start - offset;\n              end = next + 1;\n              break;\n            case t2.singleQuote:\n            case t2.doubleQuote:\n              quote = code === t2.singleQuote ? \"'\" : '\"';\n              next = start;\n              do {\n                escaped = false;\n                next = css.indexOf(quote, next + 1);\n                if (next === -1) {\n                  unclosed(\"quote\", quote);\n                }\n                escapePos = next;\n                while (css.charCodeAt(escapePos - 1) === t2.backslash) {\n                  escapePos -= 1;\n                  escaped = !escaped;\n                }\n              } while (escaped);\n              tokenType = t2.str;\n              endLine = line;\n              endColumn = start - offset;\n              end = next + 1;\n              break;\n            default:\n              if (code === t2.slash && css.charCodeAt(start + 1) === t2.asterisk) {\n                next = css.indexOf(\"*/\", start + 2) + 1;\n                if (next === 0) {\n                  unclosed(\"comment\", \"*/\");\n                }\n                content = css.slice(start, next + 1);\n                lines = content.split(\"\\n\");\n                last = lines.length - 1;\n                if (last > 0) {\n                  nextLine = line + last;\n                  nextOffset = next - lines[last].length;\n                } else {\n                  nextLine = line;\n                  nextOffset = offset;\n                }\n                tokenType = t2.comment;\n                line = nextLine;\n                endLine = nextLine;\n                endColumn = next - nextOffset;\n              } else if (code === t2.slash) {\n                next = start;\n                tokenType = code;\n                endLine = line;\n                endColumn = start - offset;\n                end = next + 1;\n              } else {\n                next = consumeWord(css, start);\n                tokenType = t2.word;\n                endLine = line;\n                endColumn = next - offset;\n              }\n              end = next + 1;\n              break;\n          }\n          tokens.push([\n            tokenType,\n            // [0] Token type\n            line,\n            // [1] Starting line\n            start - offset,\n            // [2] Starting column\n            endLine,\n            // [3] Ending line\n            endColumn,\n            // [4] Ending column\n            start,\n            // [5] Start position / Source index\n            end\n            // [6] End position\n          ]);\n          if (nextOffset) {\n            offset = nextOffset;\n            nextOffset = null;\n          }\n          start = end;\n        }\n        return tokens;\n      }\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/parser.js\n  var require_parser2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/parser.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _root = _interopRequireDefault(require_root2());\n      var _selector = _interopRequireDefault(require_selector());\n      var _className = _interopRequireDefault(require_className());\n      var _comment = _interopRequireDefault(require_comment2());\n      var _id = _interopRequireDefault(require_id());\n      var _tag = _interopRequireDefault(require_tag());\n      var _string = _interopRequireDefault(require_string());\n      var _pseudo = _interopRequireDefault(require_pseudo());\n      var _attribute = _interopRequireWildcard(require_attribute());\n      var _universal = _interopRequireDefault(require_universal());\n      var _combinator = _interopRequireDefault(require_combinator());\n      var _nesting = _interopRequireDefault(require_nesting());\n      var _sortAscending = _interopRequireDefault(require_sortAscending());\n      var _tokenize = _interopRequireWildcard(require_tokenize2());\n      var tokens = _interopRequireWildcard(require_tokenTypes());\n      var types2 = _interopRequireWildcard(require_types());\n      var _util = require_util();\n      var _WHITESPACE_TOKENS;\n      var _Object$assign;\n      function _getRequireWildcardCache(nodeInterop) {\n        if (typeof WeakMap !== \"function\") return null;\n        var cacheBabelInterop = /* @__PURE__ */ new WeakMap();\n        var cacheNodeInterop = /* @__PURE__ */ new WeakMap();\n        return (_getRequireWildcardCache = function _getRequireWildcardCache2(nodeInterop2) {\n          return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;\n        })(nodeInterop);\n      }\n      function _interopRequireWildcard(obj, nodeInterop) {\n        if (!nodeInterop && obj && obj.__esModule) {\n          return obj;\n        }\n        if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n          return { \"default\": obj };\n        }\n        var cache3 = _getRequireWildcardCache(nodeInterop);\n        if (cache3 && cache3.has(obj)) {\n          return cache3.get(obj);\n        }\n        var newObj = {};\n        var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n        for (var key in obj) {\n          if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n            if (desc && (desc.get || desc.set)) {\n              Object.defineProperty(newObj, key, desc);\n            } else {\n              newObj[key] = obj[key];\n            }\n          }\n        }\n        newObj[\"default\"] = obj;\n        if (cache3) {\n          cache3.set(obj, newObj);\n        }\n        return newObj;\n      }\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      function _defineProperties(target, props) {\n        for (var i2 = 0; i2 < props.length; i2++) {\n          var descriptor = props[i2];\n          descriptor.enumerable = descriptor.enumerable || false;\n          descriptor.configurable = true;\n          if (\"value\" in descriptor) descriptor.writable = true;\n          Object.defineProperty(target, descriptor.key, descriptor);\n        }\n      }\n      function _createClass(Constructor, protoProps, staticProps) {\n        if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n        if (staticProps) _defineProperties(Constructor, staticProps);\n        Object.defineProperty(Constructor, \"prototype\", { writable: false });\n        return Constructor;\n      }\n      var WHITESPACE_TOKENS = (_WHITESPACE_TOKENS = {}, _WHITESPACE_TOKENS[tokens.space] = true, _WHITESPACE_TOKENS[tokens.cr] = true, _WHITESPACE_TOKENS[tokens.feed] = true, _WHITESPACE_TOKENS[tokens.newline] = true, _WHITESPACE_TOKENS[tokens.tab] = true, _WHITESPACE_TOKENS);\n      var WHITESPACE_EQUIV_TOKENS = Object.assign({}, WHITESPACE_TOKENS, (_Object$assign = {}, _Object$assign[tokens.comment] = true, _Object$assign));\n      function tokenStart(token) {\n        return {\n          line: token[_tokenize.FIELDS.START_LINE],\n          column: token[_tokenize.FIELDS.START_COL]\n        };\n      }\n      function tokenEnd(token) {\n        return {\n          line: token[_tokenize.FIELDS.END_LINE],\n          column: token[_tokenize.FIELDS.END_COL]\n        };\n      }\n      function getSource(startLine, startColumn, endLine, endColumn) {\n        return {\n          start: {\n            line: startLine,\n            column: startColumn\n          },\n          end: {\n            line: endLine,\n            column: endColumn\n          }\n        };\n      }\n      function getTokenSource(token) {\n        return getSource(token[_tokenize.FIELDS.START_LINE], token[_tokenize.FIELDS.START_COL], token[_tokenize.FIELDS.END_LINE], token[_tokenize.FIELDS.END_COL]);\n      }\n      function getTokenSourceSpan(startToken, endToken) {\n        if (!startToken) {\n          return void 0;\n        }\n        return getSource(startToken[_tokenize.FIELDS.START_LINE], startToken[_tokenize.FIELDS.START_COL], endToken[_tokenize.FIELDS.END_LINE], endToken[_tokenize.FIELDS.END_COL]);\n      }\n      function unescapeProp(node, prop) {\n        var value2 = node[prop];\n        if (typeof value2 !== \"string\") {\n          return;\n        }\n        if (value2.indexOf(\"\\\\\") !== -1) {\n          (0, _util.ensureObject)(node, \"raws\");\n          node[prop] = (0, _util.unesc)(value2);\n          if (node.raws[prop] === void 0) {\n            node.raws[prop] = value2;\n          }\n        }\n        return node;\n      }\n      function indexesOf(array, item) {\n        var i2 = -1;\n        var indexes = [];\n        while ((i2 = array.indexOf(item, i2 + 1)) !== -1) {\n          indexes.push(i2);\n        }\n        return indexes;\n      }\n      function uniqs() {\n        var list3 = Array.prototype.concat.apply([], arguments);\n        return list3.filter(function(item, i2) {\n          return i2 === list3.indexOf(item);\n        });\n      }\n      var Parser = /* @__PURE__ */ function() {\n        function Parser2(rule2, options) {\n          if (options === void 0) {\n            options = {};\n          }\n          this.rule = rule2;\n          this.options = Object.assign({\n            lossy: false,\n            safe: false\n          }, options);\n          this.position = 0;\n          this.css = typeof this.rule === \"string\" ? this.rule : this.rule.selector;\n          this.tokens = (0, _tokenize[\"default\"])({\n            css: this.css,\n            error: this._errorGenerator(),\n            safe: this.options.safe\n          });\n          var rootSource = getTokenSourceSpan(this.tokens[0], this.tokens[this.tokens.length - 1]);\n          this.root = new _root[\"default\"]({\n            source: rootSource\n          });\n          this.root.errorGenerator = this._errorGenerator();\n          var selector = new _selector[\"default\"]({\n            source: {\n              start: {\n                line: 1,\n                column: 1\n              }\n            },\n            sourceIndex: 0\n          });\n          this.root.append(selector);\n          this.current = selector;\n          this.loop();\n        }\n        var _proto = Parser2.prototype;\n        _proto._errorGenerator = function _errorGenerator() {\n          var _this = this;\n          return function(message, errorOptions) {\n            if (typeof _this.rule === \"string\") {\n              return new Error(message);\n            }\n            return _this.rule.error(message, errorOptions);\n          };\n        };\n        _proto.attribute = function attribute() {\n          var attr = [];\n          var startingToken = this.currToken;\n          this.position++;\n          while (this.position < this.tokens.length && this.currToken[_tokenize.FIELDS.TYPE] !== tokens.closeSquare) {\n            attr.push(this.currToken);\n            this.position++;\n          }\n          if (this.currToken[_tokenize.FIELDS.TYPE] !== tokens.closeSquare) {\n            return this.expected(\"closing square bracket\", this.currToken[_tokenize.FIELDS.START_POS]);\n          }\n          var len = attr.length;\n          var node = {\n            source: getSource(startingToken[1], startingToken[2], this.currToken[3], this.currToken[4]),\n            sourceIndex: startingToken[_tokenize.FIELDS.START_POS]\n          };\n          if (len === 1 && !~[tokens.word].indexOf(attr[0][_tokenize.FIELDS.TYPE])) {\n            return this.expected(\"attribute\", attr[0][_tokenize.FIELDS.START_POS]);\n          }\n          var pos = 0;\n          var spaceBefore = \"\";\n          var commentBefore = \"\";\n          var lastAdded = null;\n          var spaceAfterMeaningfulToken = false;\n          while (pos < len) {\n            var token = attr[pos];\n            var content = this.content(token);\n            var next = attr[pos + 1];\n            switch (token[_tokenize.FIELDS.TYPE]) {\n              case tokens.space:\n                spaceAfterMeaningfulToken = true;\n                if (this.options.lossy) {\n                  break;\n                }\n                if (lastAdded) {\n                  (0, _util.ensureObject)(node, \"spaces\", lastAdded);\n                  var prevContent = node.spaces[lastAdded].after || \"\";\n                  node.spaces[lastAdded].after = prevContent + content;\n                  var existingComment = (0, _util.getProp)(node, \"raws\", \"spaces\", lastAdded, \"after\") || null;\n                  if (existingComment) {\n                    node.raws.spaces[lastAdded].after = existingComment + content;\n                  }\n                } else {\n                  spaceBefore = spaceBefore + content;\n                  commentBefore = commentBefore + content;\n                }\n                break;\n              case tokens.asterisk:\n                if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {\n                  node.operator = content;\n                  lastAdded = \"operator\";\n                } else if ((!node.namespace || lastAdded === \"namespace\" && !spaceAfterMeaningfulToken) && next) {\n                  if (spaceBefore) {\n                    (0, _util.ensureObject)(node, \"spaces\", \"attribute\");\n                    node.spaces.attribute.before = spaceBefore;\n                    spaceBefore = \"\";\n                  }\n                  if (commentBefore) {\n                    (0, _util.ensureObject)(node, \"raws\", \"spaces\", \"attribute\");\n                    node.raws.spaces.attribute.before = spaceBefore;\n                    commentBefore = \"\";\n                  }\n                  node.namespace = (node.namespace || \"\") + content;\n                  var rawValue = (0, _util.getProp)(node, \"raws\", \"namespace\") || null;\n                  if (rawValue) {\n                    node.raws.namespace += content;\n                  }\n                  lastAdded = \"namespace\";\n                }\n                spaceAfterMeaningfulToken = false;\n                break;\n              case tokens.dollar:\n                if (lastAdded === \"value\") {\n                  var oldRawValue = (0, _util.getProp)(node, \"raws\", \"value\");\n                  node.value += \"$\";\n                  if (oldRawValue) {\n                    node.raws.value = oldRawValue + \"$\";\n                  }\n                  break;\n                }\n              case tokens.caret:\n                if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {\n                  node.operator = content;\n                  lastAdded = \"operator\";\n                }\n                spaceAfterMeaningfulToken = false;\n                break;\n              case tokens.combinator:\n                if (content === \"~\" && next[_tokenize.FIELDS.TYPE] === tokens.equals) {\n                  node.operator = content;\n                  lastAdded = \"operator\";\n                }\n                if (content !== \"|\") {\n                  spaceAfterMeaningfulToken = false;\n                  break;\n                }\n                if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {\n                  node.operator = content;\n                  lastAdded = \"operator\";\n                } else if (!node.namespace && !node.attribute) {\n                  node.namespace = true;\n                }\n                spaceAfterMeaningfulToken = false;\n                break;\n              case tokens.word:\n                if (next && this.content(next) === \"|\" && attr[pos + 2] && attr[pos + 2][_tokenize.FIELDS.TYPE] !== tokens.equals && // this look-ahead probably fails with comment nodes involved.\n                !node.operator && !node.namespace) {\n                  node.namespace = content;\n                  lastAdded = \"namespace\";\n                } else if (!node.attribute || lastAdded === \"attribute\" && !spaceAfterMeaningfulToken) {\n                  if (spaceBefore) {\n                    (0, _util.ensureObject)(node, \"spaces\", \"attribute\");\n                    node.spaces.attribute.before = spaceBefore;\n                    spaceBefore = \"\";\n                  }\n                  if (commentBefore) {\n                    (0, _util.ensureObject)(node, \"raws\", \"spaces\", \"attribute\");\n                    node.raws.spaces.attribute.before = commentBefore;\n                    commentBefore = \"\";\n                  }\n                  node.attribute = (node.attribute || \"\") + content;\n                  var _rawValue = (0, _util.getProp)(node, \"raws\", \"attribute\") || null;\n                  if (_rawValue) {\n                    node.raws.attribute += content;\n                  }\n                  lastAdded = \"attribute\";\n                } else if (!node.value && node.value !== \"\" || lastAdded === \"value\" && !(spaceAfterMeaningfulToken || node.quoteMark)) {\n                  var _unescaped = (0, _util.unesc)(content);\n                  var _oldRawValue = (0, _util.getProp)(node, \"raws\", \"value\") || \"\";\n                  var oldValue = node.value || \"\";\n                  node.value = oldValue + _unescaped;\n                  node.quoteMark = null;\n                  if (_unescaped !== content || _oldRawValue) {\n                    (0, _util.ensureObject)(node, \"raws\");\n                    node.raws.value = (_oldRawValue || oldValue) + content;\n                  }\n                  lastAdded = \"value\";\n                } else {\n                  var insensitive = content === \"i\" || content === \"I\";\n                  if ((node.value || node.value === \"\") && (node.quoteMark || spaceAfterMeaningfulToken)) {\n                    node.insensitive = insensitive;\n                    if (!insensitive || content === \"I\") {\n                      (0, _util.ensureObject)(node, \"raws\");\n                      node.raws.insensitiveFlag = content;\n                    }\n                    lastAdded = \"insensitive\";\n                    if (spaceBefore) {\n                      (0, _util.ensureObject)(node, \"spaces\", \"insensitive\");\n                      node.spaces.insensitive.before = spaceBefore;\n                      spaceBefore = \"\";\n                    }\n                    if (commentBefore) {\n                      (0, _util.ensureObject)(node, \"raws\", \"spaces\", \"insensitive\");\n                      node.raws.spaces.insensitive.before = commentBefore;\n                      commentBefore = \"\";\n                    }\n                  } else if (node.value || node.value === \"\") {\n                    lastAdded = \"value\";\n                    node.value += content;\n                    if (node.raws.value) {\n                      node.raws.value += content;\n                    }\n                  }\n                }\n                spaceAfterMeaningfulToken = false;\n                break;\n              case tokens.str:\n                if (!node.attribute || !node.operator) {\n                  return this.error(\"Expected an attribute followed by an operator preceding the string.\", {\n                    index: token[_tokenize.FIELDS.START_POS]\n                  });\n                }\n                var _unescapeValue = (0, _attribute.unescapeValue)(content), unescaped = _unescapeValue.unescaped, quoteMark = _unescapeValue.quoteMark;\n                node.value = unescaped;\n                node.quoteMark = quoteMark;\n                lastAdded = \"value\";\n                (0, _util.ensureObject)(node, \"raws\");\n                node.raws.value = content;\n                spaceAfterMeaningfulToken = false;\n                break;\n              case tokens.equals:\n                if (!node.attribute) {\n                  return this.expected(\"attribute\", token[_tokenize.FIELDS.START_POS], content);\n                }\n                if (node.value) {\n                  return this.error('Unexpected \"=\" found; an operator was already defined.', {\n                    index: token[_tokenize.FIELDS.START_POS]\n                  });\n                }\n                node.operator = node.operator ? node.operator + content : content;\n                lastAdded = \"operator\";\n                spaceAfterMeaningfulToken = false;\n                break;\n              case tokens.comment:\n                if (lastAdded) {\n                  if (spaceAfterMeaningfulToken || next && next[_tokenize.FIELDS.TYPE] === tokens.space || lastAdded === \"insensitive\") {\n                    var lastComment = (0, _util.getProp)(node, \"spaces\", lastAdded, \"after\") || \"\";\n                    var rawLastComment = (0, _util.getProp)(node, \"raws\", \"spaces\", lastAdded, \"after\") || lastComment;\n                    (0, _util.ensureObject)(node, \"raws\", \"spaces\", lastAdded);\n                    node.raws.spaces[lastAdded].after = rawLastComment + content;\n                  } else {\n                    var lastValue = node[lastAdded] || \"\";\n                    var rawLastValue = (0, _util.getProp)(node, \"raws\", lastAdded) || lastValue;\n                    (0, _util.ensureObject)(node, \"raws\");\n                    node.raws[lastAdded] = rawLastValue + content;\n                  }\n                } else {\n                  commentBefore = commentBefore + content;\n                }\n                break;\n              default:\n                return this.error('Unexpected \"' + content + '\" found.', {\n                  index: token[_tokenize.FIELDS.START_POS]\n                });\n            }\n            pos++;\n          }\n          unescapeProp(node, \"attribute\");\n          unescapeProp(node, \"namespace\");\n          this.newNode(new _attribute[\"default\"](node));\n          this.position++;\n        };\n        _proto.parseWhitespaceEquivalentTokens = function parseWhitespaceEquivalentTokens(stopPosition) {\n          if (stopPosition < 0) {\n            stopPosition = this.tokens.length;\n          }\n          var startPosition = this.position;\n          var nodes = [];\n          var space = \"\";\n          var lastComment = void 0;\n          do {\n            if (WHITESPACE_TOKENS[this.currToken[_tokenize.FIELDS.TYPE]]) {\n              if (!this.options.lossy) {\n                space += this.content();\n              }\n            } else if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.comment) {\n              var spaces = {};\n              if (space) {\n                spaces.before = space;\n                space = \"\";\n              }\n              lastComment = new _comment[\"default\"]({\n                value: this.content(),\n                source: getTokenSource(this.currToken),\n                sourceIndex: this.currToken[_tokenize.FIELDS.START_POS],\n                spaces\n              });\n              nodes.push(lastComment);\n            }\n          } while (++this.position < stopPosition);\n          if (space) {\n            if (lastComment) {\n              lastComment.spaces.after = space;\n            } else if (!this.options.lossy) {\n              var firstToken = this.tokens[startPosition];\n              var lastToken = this.tokens[this.position - 1];\n              nodes.push(new _string[\"default\"]({\n                value: \"\",\n                source: getSource(firstToken[_tokenize.FIELDS.START_LINE], firstToken[_tokenize.FIELDS.START_COL], lastToken[_tokenize.FIELDS.END_LINE], lastToken[_tokenize.FIELDS.END_COL]),\n                sourceIndex: firstToken[_tokenize.FIELDS.START_POS],\n                spaces: {\n                  before: space,\n                  after: \"\"\n                }\n              }));\n            }\n          }\n          return nodes;\n        };\n        _proto.convertWhitespaceNodesToSpace = function convertWhitespaceNodesToSpace(nodes, requiredSpace) {\n          var _this2 = this;\n          if (requiredSpace === void 0) {\n            requiredSpace = false;\n          }\n          var space = \"\";\n          var rawSpace = \"\";\n          nodes.forEach(function(n2) {\n            var spaceBefore = _this2.lossySpace(n2.spaces.before, requiredSpace);\n            var rawSpaceBefore = _this2.lossySpace(n2.rawSpaceBefore, requiredSpace);\n            space += spaceBefore + _this2.lossySpace(n2.spaces.after, requiredSpace && spaceBefore.length === 0);\n            rawSpace += spaceBefore + n2.value + _this2.lossySpace(n2.rawSpaceAfter, requiredSpace && rawSpaceBefore.length === 0);\n          });\n          if (rawSpace === space) {\n            rawSpace = void 0;\n          }\n          var result = {\n            space,\n            rawSpace\n          };\n          return result;\n        };\n        _proto.isNamedCombinator = function isNamedCombinator(position2) {\n          if (position2 === void 0) {\n            position2 = this.position;\n          }\n          return this.tokens[position2 + 0] && this.tokens[position2 + 0][_tokenize.FIELDS.TYPE] === tokens.slash && this.tokens[position2 + 1] && this.tokens[position2 + 1][_tokenize.FIELDS.TYPE] === tokens.word && this.tokens[position2 + 2] && this.tokens[position2 + 2][_tokenize.FIELDS.TYPE] === tokens.slash;\n        };\n        _proto.namedCombinator = function namedCombinator() {\n          if (this.isNamedCombinator()) {\n            var nameRaw = this.content(this.tokens[this.position + 1]);\n            var name = (0, _util.unesc)(nameRaw).toLowerCase();\n            var raws = {};\n            if (name !== nameRaw) {\n              raws.value = \"/\" + nameRaw + \"/\";\n            }\n            var node = new _combinator[\"default\"]({\n              value: \"/\" + name + \"/\",\n              source: getSource(this.currToken[_tokenize.FIELDS.START_LINE], this.currToken[_tokenize.FIELDS.START_COL], this.tokens[this.position + 2][_tokenize.FIELDS.END_LINE], this.tokens[this.position + 2][_tokenize.FIELDS.END_COL]),\n              sourceIndex: this.currToken[_tokenize.FIELDS.START_POS],\n              raws\n            });\n            this.position = this.position + 3;\n            return node;\n          } else {\n            this.unexpected();\n          }\n        };\n        _proto.combinator = function combinator() {\n          var _this3 = this;\n          if (this.content() === \"|\") {\n            return this.namespace();\n          }\n          var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);\n          if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {\n            var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);\n            if (nodes.length > 0) {\n              var last = this.current.last;\n              if (last) {\n                var _this$convertWhitespa = this.convertWhitespaceNodesToSpace(nodes), space = _this$convertWhitespa.space, rawSpace = _this$convertWhitespa.rawSpace;\n                if (rawSpace !== void 0) {\n                  last.rawSpaceAfter += rawSpace;\n                }\n                last.spaces.after += space;\n              } else {\n                nodes.forEach(function(n2) {\n                  return _this3.newNode(n2);\n                });\n              }\n            }\n            return;\n          }\n          var firstToken = this.currToken;\n          var spaceOrDescendantSelectorNodes = void 0;\n          if (nextSigTokenPos > this.position) {\n            spaceOrDescendantSelectorNodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);\n          }\n          var node;\n          if (this.isNamedCombinator()) {\n            node = this.namedCombinator();\n          } else if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.combinator) {\n            node = new _combinator[\"default\"]({\n              value: this.content(),\n              source: getTokenSource(this.currToken),\n              sourceIndex: this.currToken[_tokenize.FIELDS.START_POS]\n            });\n            this.position++;\n          } else if (WHITESPACE_TOKENS[this.currToken[_tokenize.FIELDS.TYPE]]) {\n          } else if (!spaceOrDescendantSelectorNodes) {\n            this.unexpected();\n          }\n          if (node) {\n            if (spaceOrDescendantSelectorNodes) {\n              var _this$convertWhitespa2 = this.convertWhitespaceNodesToSpace(spaceOrDescendantSelectorNodes), _space = _this$convertWhitespa2.space, _rawSpace = _this$convertWhitespa2.rawSpace;\n              node.spaces.before = _space;\n              node.rawSpaceBefore = _rawSpace;\n            }\n          } else {\n            var _this$convertWhitespa3 = this.convertWhitespaceNodesToSpace(spaceOrDescendantSelectorNodes, true), _space2 = _this$convertWhitespa3.space, _rawSpace2 = _this$convertWhitespa3.rawSpace;\n            if (!_rawSpace2) {\n              _rawSpace2 = _space2;\n            }\n            var spaces = {};\n            var raws = {\n              spaces: {}\n            };\n            if (_space2.endsWith(\" \") && _rawSpace2.endsWith(\" \")) {\n              spaces.before = _space2.slice(0, _space2.length - 1);\n              raws.spaces.before = _rawSpace2.slice(0, _rawSpace2.length - 1);\n            } else if (_space2.startsWith(\" \") && _rawSpace2.startsWith(\" \")) {\n              spaces.after = _space2.slice(1);\n              raws.spaces.after = _rawSpace2.slice(1);\n            } else {\n              raws.value = _rawSpace2;\n            }\n            node = new _combinator[\"default\"]({\n              value: \" \",\n              source: getTokenSourceSpan(firstToken, this.tokens[this.position - 1]),\n              sourceIndex: firstToken[_tokenize.FIELDS.START_POS],\n              spaces,\n              raws\n            });\n          }\n          if (this.currToken && this.currToken[_tokenize.FIELDS.TYPE] === tokens.space) {\n            node.spaces.after = this.optionalSpace(this.content());\n            this.position++;\n          }\n          return this.newNode(node);\n        };\n        _proto.comma = function comma() {\n          if (this.position === this.tokens.length - 1) {\n            this.root.trailingComma = true;\n            this.position++;\n            return;\n          }\n          this.current._inferEndPosition();\n          var selector = new _selector[\"default\"]({\n            source: {\n              start: tokenStart(this.tokens[this.position + 1])\n            },\n            sourceIndex: this.tokens[this.position + 1][_tokenize.FIELDS.START_POS]\n          });\n          this.current.parent.append(selector);\n          this.current = selector;\n          this.position++;\n        };\n        _proto.comment = function comment2() {\n          var current = this.currToken;\n          this.newNode(new _comment[\"default\"]({\n            value: this.content(),\n            source: getTokenSource(current),\n            sourceIndex: current[_tokenize.FIELDS.START_POS]\n          }));\n          this.position++;\n        };\n        _proto.error = function error(message, opts) {\n          throw this.root.error(message, opts);\n        };\n        _proto.missingBackslash = function missingBackslash() {\n          return this.error(\"Expected a backslash preceding the semicolon.\", {\n            index: this.currToken[_tokenize.FIELDS.START_POS]\n          });\n        };\n        _proto.missingParenthesis = function missingParenthesis() {\n          return this.expected(\"opening parenthesis\", this.currToken[_tokenize.FIELDS.START_POS]);\n        };\n        _proto.missingSquareBracket = function missingSquareBracket() {\n          return this.expected(\"opening square bracket\", this.currToken[_tokenize.FIELDS.START_POS]);\n        };\n        _proto.unexpected = function unexpected() {\n          return this.error(\"Unexpected '\" + this.content() + \"'. Escaping special characters with \\\\ may help.\", this.currToken[_tokenize.FIELDS.START_POS]);\n        };\n        _proto.unexpectedPipe = function unexpectedPipe() {\n          return this.error(\"Unexpected '|'.\", this.currToken[_tokenize.FIELDS.START_POS]);\n        };\n        _proto.namespace = function namespace() {\n          var before = this.prevToken && this.content(this.prevToken) || true;\n          if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.word) {\n            this.position++;\n            return this.word(before);\n          } else if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.asterisk) {\n            this.position++;\n            return this.universal(before);\n          }\n          this.unexpectedPipe();\n        };\n        _proto.nesting = function nesting() {\n          if (this.nextToken) {\n            var nextContent = this.content(this.nextToken);\n            if (nextContent === \"|\") {\n              this.position++;\n              return;\n            }\n          }\n          var current = this.currToken;\n          this.newNode(new _nesting[\"default\"]({\n            value: this.content(),\n            source: getTokenSource(current),\n            sourceIndex: current[_tokenize.FIELDS.START_POS]\n          }));\n          this.position++;\n        };\n        _proto.parentheses = function parentheses() {\n          var last = this.current.last;\n          var unbalanced = 1;\n          this.position++;\n          if (last && last.type === types2.PSEUDO) {\n            var selector = new _selector[\"default\"]({\n              source: {\n                start: tokenStart(this.tokens[this.position])\n              },\n              sourceIndex: this.tokens[this.position][_tokenize.FIELDS.START_POS]\n            });\n            var cache3 = this.current;\n            last.append(selector);\n            this.current = selector;\n            while (this.position < this.tokens.length && unbalanced) {\n              if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) {\n                unbalanced++;\n              }\n              if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {\n                unbalanced--;\n              }\n              if (unbalanced) {\n                this.parse();\n              } else {\n                this.current.source.end = tokenEnd(this.currToken);\n                this.current.parent.source.end = tokenEnd(this.currToken);\n                this.position++;\n              }\n            }\n            this.current = cache3;\n          } else {\n            var parenStart = this.currToken;\n            var parenValue = \"(\";\n            var parenEnd;\n            while (this.position < this.tokens.length && unbalanced) {\n              if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) {\n                unbalanced++;\n              }\n              if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {\n                unbalanced--;\n              }\n              parenEnd = this.currToken;\n              parenValue += this.parseParenthesisToken(this.currToken);\n              this.position++;\n            }\n            if (last) {\n              last.appendToPropertyAndEscape(\"value\", parenValue, parenValue);\n            } else {\n              this.newNode(new _string[\"default\"]({\n                value: parenValue,\n                source: getSource(parenStart[_tokenize.FIELDS.START_LINE], parenStart[_tokenize.FIELDS.START_COL], parenEnd[_tokenize.FIELDS.END_LINE], parenEnd[_tokenize.FIELDS.END_COL]),\n                sourceIndex: parenStart[_tokenize.FIELDS.START_POS]\n              }));\n            }\n          }\n          if (unbalanced) {\n            return this.expected(\"closing parenthesis\", this.currToken[_tokenize.FIELDS.START_POS]);\n          }\n        };\n        _proto.pseudo = function pseudo() {\n          var _this4 = this;\n          var pseudoStr = \"\";\n          var startingToken = this.currToken;\n          while (this.currToken && this.currToken[_tokenize.FIELDS.TYPE] === tokens.colon) {\n            pseudoStr += this.content();\n            this.position++;\n          }\n          if (!this.currToken) {\n            return this.expected([\"pseudo-class\", \"pseudo-element\"], this.position - 1);\n          }\n          if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.word) {\n            this.splitWord(false, function(first, length2) {\n              pseudoStr += first;\n              _this4.newNode(new _pseudo[\"default\"]({\n                value: pseudoStr,\n                source: getTokenSourceSpan(startingToken, _this4.currToken),\n                sourceIndex: startingToken[_tokenize.FIELDS.START_POS]\n              }));\n              if (length2 > 1 && _this4.nextToken && _this4.nextToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) {\n                _this4.error(\"Misplaced parenthesis.\", {\n                  index: _this4.nextToken[_tokenize.FIELDS.START_POS]\n                });\n              }\n            });\n          } else {\n            return this.expected([\"pseudo-class\", \"pseudo-element\"], this.currToken[_tokenize.FIELDS.START_POS]);\n          }\n        };\n        _proto.space = function space() {\n          var content = this.content();\n          if (this.position === 0 || this.prevToken[_tokenize.FIELDS.TYPE] === tokens.comma || this.prevToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis || this.current.nodes.every(function(node) {\n            return node.type === \"comment\";\n          })) {\n            this.spaces = this.optionalSpace(content);\n            this.position++;\n          } else if (this.position === this.tokens.length - 1 || this.nextToken[_tokenize.FIELDS.TYPE] === tokens.comma || this.nextToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {\n            this.current.last.spaces.after = this.optionalSpace(content);\n            this.position++;\n          } else {\n            this.combinator();\n          }\n        };\n        _proto.string = function string() {\n          var current = this.currToken;\n          this.newNode(new _string[\"default\"]({\n            value: this.content(),\n            source: getTokenSource(current),\n            sourceIndex: current[_tokenize.FIELDS.START_POS]\n          }));\n          this.position++;\n        };\n        _proto.universal = function universal(namespace) {\n          var nextToken = this.nextToken;\n          if (nextToken && this.content(nextToken) === \"|\") {\n            this.position++;\n            return this.namespace();\n          }\n          var current = this.currToken;\n          this.newNode(new _universal[\"default\"]({\n            value: this.content(),\n            source: getTokenSource(current),\n            sourceIndex: current[_tokenize.FIELDS.START_POS]\n          }), namespace);\n          this.position++;\n        };\n        _proto.splitWord = function splitWord(namespace, firstCallback) {\n          var _this5 = this;\n          var nextToken = this.nextToken;\n          var word = this.content();\n          while (nextToken && ~[tokens.dollar, tokens.caret, tokens.equals, tokens.word].indexOf(nextToken[_tokenize.FIELDS.TYPE])) {\n            this.position++;\n            var current = this.content();\n            word += current;\n            if (current.lastIndexOf(\"\\\\\") === current.length - 1) {\n              var next = this.nextToken;\n              if (next && next[_tokenize.FIELDS.TYPE] === tokens.space) {\n                word += this.requiredSpace(this.content(next));\n                this.position++;\n              }\n            }\n            nextToken = this.nextToken;\n          }\n          var hasClass = indexesOf(word, \".\").filter(function(i2) {\n            var escapedDot = word[i2 - 1] === \"\\\\\";\n            var isKeyframesPercent = /^\\d+\\.\\d+%$/.test(word);\n            return !escapedDot && !isKeyframesPercent;\n          });\n          var hasId = indexesOf(word, \"#\").filter(function(i2) {\n            return word[i2 - 1] !== \"\\\\\";\n          });\n          var interpolations = indexesOf(word, \"#{\");\n          if (interpolations.length) {\n            hasId = hasId.filter(function(hashIndex) {\n              return !~interpolations.indexOf(hashIndex);\n            });\n          }\n          var indices = (0, _sortAscending[\"default\"])(uniqs([0].concat(hasClass, hasId)));\n          indices.forEach(function(ind, i2) {\n            var index2 = indices[i2 + 1] || word.length;\n            var value2 = word.slice(ind, index2);\n            if (i2 === 0 && firstCallback) {\n              return firstCallback.call(_this5, value2, indices.length);\n            }\n            var node;\n            var current2 = _this5.currToken;\n            var sourceIndex = current2[_tokenize.FIELDS.START_POS] + indices[i2];\n            var source = getSource(current2[1], current2[2] + ind, current2[3], current2[2] + (index2 - 1));\n            if (~hasClass.indexOf(ind)) {\n              var classNameOpts = {\n                value: value2.slice(1),\n                source,\n                sourceIndex\n              };\n              node = new _className[\"default\"](unescapeProp(classNameOpts, \"value\"));\n            } else if (~hasId.indexOf(ind)) {\n              var idOpts = {\n                value: value2.slice(1),\n                source,\n                sourceIndex\n              };\n              node = new _id[\"default\"](unescapeProp(idOpts, \"value\"));\n            } else {\n              var tagOpts = {\n                value: value2,\n                source,\n                sourceIndex\n              };\n              unescapeProp(tagOpts, \"value\");\n              node = new _tag[\"default\"](tagOpts);\n            }\n            _this5.newNode(node, namespace);\n            namespace = null;\n          });\n          this.position++;\n        };\n        _proto.word = function word(namespace) {\n          var nextToken = this.nextToken;\n          if (nextToken && this.content(nextToken) === \"|\") {\n            this.position++;\n            return this.namespace();\n          }\n          return this.splitWord(namespace);\n        };\n        _proto.loop = function loop() {\n          while (this.position < this.tokens.length) {\n            this.parse(true);\n          }\n          this.current._inferEndPosition();\n          return this.root;\n        };\n        _proto.parse = function parse5(throwOnParenthesis) {\n          switch (this.currToken[_tokenize.FIELDS.TYPE]) {\n            case tokens.space:\n              this.space();\n              break;\n            case tokens.comment:\n              this.comment();\n              break;\n            case tokens.openParenthesis:\n              this.parentheses();\n              break;\n            case tokens.closeParenthesis:\n              if (throwOnParenthesis) {\n                this.missingParenthesis();\n              }\n              break;\n            case tokens.openSquare:\n              this.attribute();\n              break;\n            case tokens.dollar:\n            case tokens.caret:\n            case tokens.equals:\n            case tokens.word:\n              this.word();\n              break;\n            case tokens.colon:\n              this.pseudo();\n              break;\n            case tokens.comma:\n              this.comma();\n              break;\n            case tokens.asterisk:\n              this.universal();\n              break;\n            case tokens.ampersand:\n              this.nesting();\n              break;\n            case tokens.slash:\n            case tokens.combinator:\n              this.combinator();\n              break;\n            case tokens.str:\n              this.string();\n              break;\n            case tokens.closeSquare:\n              this.missingSquareBracket();\n            case tokens.semicolon:\n              this.missingBackslash();\n            default:\n              this.unexpected();\n          }\n        };\n        _proto.expected = function expected(description, index2, found) {\n          if (Array.isArray(description)) {\n            var last = description.pop();\n            description = description.join(\", \") + \" or \" + last;\n          }\n          var an = /^[aeiou]/.test(description[0]) ? \"an\" : \"a\";\n          if (!found) {\n            return this.error(\"Expected \" + an + \" \" + description + \".\", {\n              index: index2\n            });\n          }\n          return this.error(\"Expected \" + an + \" \" + description + ', found \"' + found + '\" instead.', {\n            index: index2\n          });\n        };\n        _proto.requiredSpace = function requiredSpace(space) {\n          return this.options.lossy ? \" \" : space;\n        };\n        _proto.optionalSpace = function optionalSpace(space) {\n          return this.options.lossy ? \"\" : space;\n        };\n        _proto.lossySpace = function lossySpace(space, required) {\n          if (this.options.lossy) {\n            return required ? \" \" : \"\";\n          } else {\n            return space;\n          }\n        };\n        _proto.parseParenthesisToken = function parseParenthesisToken(token) {\n          var content = this.content(token);\n          if (token[_tokenize.FIELDS.TYPE] === tokens.space) {\n            return this.requiredSpace(content);\n          } else {\n            return content;\n          }\n        };\n        _proto.newNode = function newNode(node, namespace) {\n          if (namespace) {\n            if (/^ +$/.test(namespace)) {\n              if (!this.options.lossy) {\n                this.spaces = (this.spaces || \"\") + namespace;\n              }\n              namespace = true;\n            }\n            node.namespace = namespace;\n            unescapeProp(node, \"namespace\");\n          }\n          if (this.spaces) {\n            node.spaces.before = this.spaces;\n            this.spaces = \"\";\n          }\n          return this.current.append(node);\n        };\n        _proto.content = function content(token) {\n          if (token === void 0) {\n            token = this.currToken;\n          }\n          return this.css.slice(token[_tokenize.FIELDS.START_POS], token[_tokenize.FIELDS.END_POS]);\n        };\n        _proto.locateNextMeaningfulToken = function locateNextMeaningfulToken(startPosition) {\n          if (startPosition === void 0) {\n            startPosition = this.position + 1;\n          }\n          var searchPosition = startPosition;\n          while (searchPosition < this.tokens.length) {\n            if (WHITESPACE_EQUIV_TOKENS[this.tokens[searchPosition][_tokenize.FIELDS.TYPE]]) {\n              searchPosition++;\n              continue;\n            } else {\n              return searchPosition;\n            }\n          }\n          return -1;\n        };\n        _createClass(Parser2, [{\n          key: \"currToken\",\n          get: function get() {\n            return this.tokens[this.position];\n          }\n        }, {\n          key: \"nextToken\",\n          get: function get() {\n            return this.tokens[this.position + 1];\n          }\n        }, {\n          key: \"prevToken\",\n          get: function get() {\n            return this.tokens[this.position - 1];\n          }\n        }]);\n        return Parser2;\n      }();\n      exports[\"default\"] = Parser;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/processor.js\n  var require_processor2 = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/processor.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _parser = _interopRequireDefault(require_parser2());\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      var Processor2 = /* @__PURE__ */ function() {\n        function Processor3(func, options) {\n          this.func = func || function noop2() {\n          };\n          this.funcRes = null;\n          this.options = options;\n        }\n        var _proto = Processor3.prototype;\n        _proto._shouldUpdateSelector = function _shouldUpdateSelector(rule2, options) {\n          if (options === void 0) {\n            options = {};\n          }\n          var merged = Object.assign({}, this.options, options);\n          if (merged.updateSelector === false) {\n            return false;\n          } else {\n            return typeof rule2 !== \"string\";\n          }\n        };\n        _proto._isLossy = function _isLossy(options) {\n          if (options === void 0) {\n            options = {};\n          }\n          var merged = Object.assign({}, this.options, options);\n          if (merged.lossless === false) {\n            return true;\n          } else {\n            return false;\n          }\n        };\n        _proto._root = function _root(rule2, options) {\n          if (options === void 0) {\n            options = {};\n          }\n          var parser5 = new _parser[\"default\"](rule2, this._parseOptions(options));\n          return parser5.root;\n        };\n        _proto._parseOptions = function _parseOptions(options) {\n          return {\n            lossy: this._isLossy(options)\n          };\n        };\n        _proto._run = function _run(rule2, options) {\n          var _this = this;\n          if (options === void 0) {\n            options = {};\n          }\n          return new Promise(function(resolve2, reject) {\n            try {\n              var root2 = _this._root(rule2, options);\n              Promise.resolve(_this.func(root2)).then(function(transform) {\n                var string = void 0;\n                if (_this._shouldUpdateSelector(rule2, options)) {\n                  string = root2.toString();\n                  rule2.selector = string;\n                }\n                return {\n                  transform,\n                  root: root2,\n                  string\n                };\n              }).then(resolve2, reject);\n            } catch (e5) {\n              reject(e5);\n              return;\n            }\n          });\n        };\n        _proto._runSync = function _runSync(rule2, options) {\n          if (options === void 0) {\n            options = {};\n          }\n          var root2 = this._root(rule2, options);\n          var transform = this.func(root2);\n          if (transform && typeof transform.then === \"function\") {\n            throw new Error(\"Selector processor returned a promise to a synchronous call.\");\n          }\n          var string = void 0;\n          if (options.updateSelector && typeof rule2 !== \"string\") {\n            string = root2.toString();\n            rule2.selector = string;\n          }\n          return {\n            transform,\n            root: root2,\n            string\n          };\n        };\n        _proto.ast = function ast(rule2, options) {\n          return this._run(rule2, options).then(function(result) {\n            return result.root;\n          });\n        };\n        _proto.astSync = function astSync(rule2, options) {\n          return this._runSync(rule2, options).root;\n        };\n        _proto.transform = function transform(rule2, options) {\n          return this._run(rule2, options).then(function(result) {\n            return result.transform;\n          });\n        };\n        _proto.transformSync = function transformSync(rule2, options) {\n          return this._runSync(rule2, options).transform;\n        };\n        _proto.process = function process2(rule2, options) {\n          return this._run(rule2, options).then(function(result) {\n            return result.string || result.root.toString();\n          });\n        };\n        _proto.processSync = function processSync(rule2, options) {\n          var result = this._runSync(rule2, options);\n          return result.string || result.root.toString();\n        };\n        return Processor3;\n      }();\n      exports[\"default\"] = Processor2;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/constructors.js\n  var require_constructors = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/constructors.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;\n      var _attribute = _interopRequireDefault(require_attribute());\n      var _className = _interopRequireDefault(require_className());\n      var _combinator = _interopRequireDefault(require_combinator());\n      var _comment = _interopRequireDefault(require_comment2());\n      var _id = _interopRequireDefault(require_id());\n      var _nesting = _interopRequireDefault(require_nesting());\n      var _pseudo = _interopRequireDefault(require_pseudo());\n      var _root = _interopRequireDefault(require_root2());\n      var _selector = _interopRequireDefault(require_selector());\n      var _string = _interopRequireDefault(require_string());\n      var _tag = _interopRequireDefault(require_tag());\n      var _universal = _interopRequireDefault(require_universal());\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      var attribute = function attribute2(opts) {\n        return new _attribute[\"default\"](opts);\n      };\n      exports.attribute = attribute;\n      var className = function className2(opts) {\n        return new _className[\"default\"](opts);\n      };\n      exports.className = className;\n      var combinator = function combinator2(opts) {\n        return new _combinator[\"default\"](opts);\n      };\n      exports.combinator = combinator;\n      var comment2 = function comment3(opts) {\n        return new _comment[\"default\"](opts);\n      };\n      exports.comment = comment2;\n      var id = function id2(opts) {\n        return new _id[\"default\"](opts);\n      };\n      exports.id = id;\n      var nesting = function nesting2(opts) {\n        return new _nesting[\"default\"](opts);\n      };\n      exports.nesting = nesting;\n      var pseudo = function pseudo2(opts) {\n        return new _pseudo[\"default\"](opts);\n      };\n      exports.pseudo = pseudo;\n      var root2 = function root3(opts) {\n        return new _root[\"default\"](opts);\n      };\n      exports.root = root2;\n      var selector = function selector2(opts) {\n        return new _selector[\"default\"](opts);\n      };\n      exports.selector = selector;\n      var string = function string2(opts) {\n        return new _string[\"default\"](opts);\n      };\n      exports.string = string;\n      var tag = function tag2(opts) {\n        return new _tag[\"default\"](opts);\n      };\n      exports.tag = tag;\n      var universal = function universal2(opts) {\n        return new _universal[\"default\"](opts);\n      };\n      exports.universal = universal;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/guards.js\n  var require_guards = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/guards.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports.isComment = exports.isCombinator = exports.isClassName = exports.isAttribute = void 0;\n      exports.isContainer = isContainer;\n      exports.isIdentifier = void 0;\n      exports.isNamespace = isNamespace;\n      exports.isNesting = void 0;\n      exports.isNode = isNode;\n      exports.isPseudo = void 0;\n      exports.isPseudoClass = isPseudoClass;\n      exports.isPseudoElement = isPseudoElement2;\n      exports.isUniversal = exports.isTag = exports.isString = exports.isSelector = exports.isRoot = void 0;\n      var _types = require_types();\n      var _IS_TYPE;\n      var IS_TYPE = (_IS_TYPE = {}, _IS_TYPE[_types.ATTRIBUTE] = true, _IS_TYPE[_types.CLASS] = true, _IS_TYPE[_types.COMBINATOR] = true, _IS_TYPE[_types.COMMENT] = true, _IS_TYPE[_types.ID] = true, _IS_TYPE[_types.NESTING] = true, _IS_TYPE[_types.PSEUDO] = true, _IS_TYPE[_types.ROOT] = true, _IS_TYPE[_types.SELECTOR] = true, _IS_TYPE[_types.STRING] = true, _IS_TYPE[_types.TAG] = true, _IS_TYPE[_types.UNIVERSAL] = true, _IS_TYPE);\n      function isNode(node) {\n        return typeof node === \"object\" && IS_TYPE[node.type];\n      }\n      function isNodeType(type, node) {\n        return isNode(node) && node.type === type;\n      }\n      var isAttribute = isNodeType.bind(null, _types.ATTRIBUTE);\n      exports.isAttribute = isAttribute;\n      var isClassName = isNodeType.bind(null, _types.CLASS);\n      exports.isClassName = isClassName;\n      var isCombinator = isNodeType.bind(null, _types.COMBINATOR);\n      exports.isCombinator = isCombinator;\n      var isComment = isNodeType.bind(null, _types.COMMENT);\n      exports.isComment = isComment;\n      var isIdentifier = isNodeType.bind(null, _types.ID);\n      exports.isIdentifier = isIdentifier;\n      var isNesting = isNodeType.bind(null, _types.NESTING);\n      exports.isNesting = isNesting;\n      var isPseudo2 = isNodeType.bind(null, _types.PSEUDO);\n      exports.isPseudo = isPseudo2;\n      var isRoot2 = isNodeType.bind(null, _types.ROOT);\n      exports.isRoot = isRoot2;\n      var isSelector = isNodeType.bind(null, _types.SELECTOR);\n      exports.isSelector = isSelector;\n      var isString2 = isNodeType.bind(null, _types.STRING);\n      exports.isString = isString2;\n      var isTag = isNodeType.bind(null, _types.TAG);\n      exports.isTag = isTag;\n      var isUniversal = isNodeType.bind(null, _types.UNIVERSAL);\n      exports.isUniversal = isUniversal;\n      function isPseudoElement2(node) {\n        return isPseudo2(node) && node.value && (node.value.startsWith(\"::\") || node.value.toLowerCase() === \":before\" || node.value.toLowerCase() === \":after\" || node.value.toLowerCase() === \":first-letter\" || node.value.toLowerCase() === \":first-line\");\n      }\n      function isPseudoClass(node) {\n        return isPseudo2(node) && !isPseudoElement2(node);\n      }\n      function isContainer(node) {\n        return !!(isNode(node) && node.walk);\n      }\n      function isNamespace(node) {\n        return isAttribute(node) || isTag(node);\n      }\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/index.js\n  var require_selectors = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/selectors/index.js\"(exports) {\n      \"use strict\";\n      exports.__esModule = true;\n      var _types = require_types();\n      Object.keys(_types).forEach(function(key) {\n        if (key === \"default\" || key === \"__esModule\") return;\n        if (key in exports && exports[key] === _types[key]) return;\n        exports[key] = _types[key];\n      });\n      var _constructors = require_constructors();\n      Object.keys(_constructors).forEach(function(key) {\n        if (key === \"default\" || key === \"__esModule\") return;\n        if (key in exports && exports[key] === _constructors[key]) return;\n        exports[key] = _constructors[key];\n      });\n      var _guards = require_guards();\n      Object.keys(_guards).forEach(function(key) {\n        if (key === \"default\" || key === \"__esModule\") return;\n        if (key in exports && exports[key] === _guards[key]) return;\n        exports[key] = _guards[key];\n      });\n    }\n  });\n\n  // node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/index.js\n  var require_dist = __commonJS({\n    \"node_modules/.pnpm/postcss-selector-parser@6.1.2/node_modules/postcss-selector-parser/dist/index.js\"(exports, module) {\n      \"use strict\";\n      exports.__esModule = true;\n      exports[\"default\"] = void 0;\n      var _processor = _interopRequireDefault(require_processor2());\n      var selectors = _interopRequireWildcard(require_selectors());\n      function _getRequireWildcardCache(nodeInterop) {\n        if (typeof WeakMap !== \"function\") return null;\n        var cacheBabelInterop = /* @__PURE__ */ new WeakMap();\n        var cacheNodeInterop = /* @__PURE__ */ new WeakMap();\n        return (_getRequireWildcardCache = function _getRequireWildcardCache2(nodeInterop2) {\n          return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;\n        })(nodeInterop);\n      }\n      function _interopRequireWildcard(obj, nodeInterop) {\n        if (!nodeInterop && obj && obj.__esModule) {\n          return obj;\n        }\n        if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n          return { \"default\": obj };\n        }\n        var cache3 = _getRequireWildcardCache(nodeInterop);\n        if (cache3 && cache3.has(obj)) {\n          return cache3.get(obj);\n        }\n        var newObj = {};\n        var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n        for (var key in obj) {\n          if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n            if (desc && (desc.get || desc.set)) {\n              Object.defineProperty(newObj, key, desc);\n            } else {\n              newObj[key] = obj[key];\n            }\n          }\n        }\n        newObj[\"default\"] = obj;\n        if (cache3) {\n          cache3.set(obj, newObj);\n        }\n        return newObj;\n      }\n      function _interopRequireDefault(obj) {\n        return obj && obj.__esModule ? obj : { \"default\": obj };\n      }\n      var parser5 = function parser6(processor) {\n        return new _processor[\"default\"](processor);\n      };\n      Object.assign(parser5, selectors);\n      delete parser5.__esModule;\n      var _default = parser5;\n      exports[\"default\"] = _default;\n      module.exports = exports.default;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-nested@6.2.0_postcss@8.5.3/node_modules/postcss-nested/index.js\n  var require_postcss_nested = __commonJS({\n    \"node_modules/.pnpm/postcss-nested@6.2.0_postcss@8.5.3/node_modules/postcss-nested/index.js\"(exports, module) {\n      var { AtRule: AtRule2, Rule: Rule2 } = require_postcss();\n      var parser5 = require_dist();\n      function parse5(rawSelector, rule2) {\n        let nodes;\n        try {\n          parser5((parsed) => {\n            nodes = parsed;\n          }).processSync(rawSelector);\n        } catch (e5) {\n          if (rawSelector.includes(\":\")) {\n            throw rule2 ? rule2.error(\"Missed semicolon\") : e5;\n          } else {\n            throw rule2 ? rule2.error(e5.message) : e5;\n          }\n        }\n        return nodes.at(0);\n      }\n      function interpolateAmpInSelector(nodes, parent) {\n        let replaced = false;\n        nodes.each((node) => {\n          if (node.type === \"nesting\") {\n            let clonedParent = parent.clone({});\n            if (node.value !== \"&\") {\n              node.replaceWith(\n                parse5(node.value.replace(\"&\", clonedParent.toString()))\n              );\n            } else {\n              node.replaceWith(clonedParent);\n            }\n            replaced = true;\n          } else if (\"nodes\" in node && node.nodes) {\n            if (interpolateAmpInSelector(node, parent)) {\n              replaced = true;\n            }\n          }\n        });\n        return replaced;\n      }\n      function mergeSelectors(parent, child) {\n        let merged = [];\n        parent.selectors.forEach((sel) => {\n          let parentNode = parse5(sel, parent);\n          child.selectors.forEach((selector) => {\n            if (!selector) {\n              return;\n            }\n            let node = parse5(selector, child);\n            let replaced = interpolateAmpInSelector(node, parentNode);\n            if (!replaced) {\n              node.prepend(parser5.combinator({ value: \" \" }));\n              node.prepend(parentNode.clone({}));\n            }\n            merged.push(node.toString());\n          });\n        });\n        return merged;\n      }\n      function breakOut(child, after) {\n        let prev = child.prev();\n        after.after(child);\n        while (prev && prev.type === \"comment\") {\n          let nextPrev = prev.prev();\n          after.after(prev);\n          prev = nextPrev;\n        }\n        return child;\n      }\n      function createFnAtruleChilds(bubble) {\n        return function atruleChilds(rule2, atrule, bubbling, mergeSels = bubbling) {\n          let children = [];\n          atrule.each((child) => {\n            if (child.type === \"rule\" && bubbling) {\n              if (mergeSels) {\n                child.selectors = mergeSelectors(rule2, child);\n              }\n            } else if (child.type === \"atrule\" && child.nodes) {\n              if (bubble[child.name]) {\n                atruleChilds(rule2, child, mergeSels);\n              } else if (atrule[rootRuleMergeSel] !== false) {\n                children.push(child);\n              }\n            } else {\n              children.push(child);\n            }\n          });\n          if (bubbling) {\n            if (children.length) {\n              let clone = rule2.clone({ nodes: [] });\n              for (let child of children) {\n                clone.append(child);\n              }\n              atrule.prepend(clone);\n            }\n          }\n        };\n      }\n      function pickDeclarations(selector, declarations, after) {\n        let parent = new Rule2({\n          nodes: [],\n          selector\n        });\n        parent.append(declarations);\n        after.after(parent);\n        return parent;\n      }\n      function atruleNames(defaults3, custom) {\n        let list3 = {};\n        for (let name of defaults3) {\n          list3[name] = true;\n        }\n        if (custom) {\n          for (let name of custom) {\n            list3[name.replace(/^@/, \"\")] = true;\n          }\n        }\n        return list3;\n      }\n      function parseRootRuleParams(params) {\n        params = params.trim();\n        let braceBlock = params.match(/^\\((.*)\\)$/);\n        if (!braceBlock) {\n          return { selector: params, type: \"basic\" };\n        }\n        let bits = braceBlock[1].match(/^(with(?:out)?):(.+)$/);\n        if (bits) {\n          let allowlist = bits[1] === \"with\";\n          let rules = Object.fromEntries(\n            bits[2].trim().split(/\\s+/).map((name) => [name, true])\n          );\n          if (allowlist && rules.all) {\n            return { type: \"noop\" };\n          }\n          let escapes = (rule2) => !!rules[rule2];\n          if (rules.all) {\n            escapes = () => true;\n          } else if (allowlist) {\n            escapes = (rule2) => rule2 === \"all\" ? false : !rules[rule2];\n          }\n          return {\n            escapes,\n            type: \"withrules\"\n          };\n        }\n        return { type: \"unknown\" };\n      }\n      function getAncestorRules(leaf) {\n        let lineage = [];\n        let parent = leaf.parent;\n        while (parent && parent instanceof AtRule2) {\n          lineage.push(parent);\n          parent = parent.parent;\n        }\n        return lineage;\n      }\n      function unwrapRootRule(rule2) {\n        let escapes = rule2[rootRuleEscapes];\n        if (!escapes) {\n          rule2.after(rule2.nodes);\n        } else {\n          let nodes = rule2.nodes;\n          let topEscaped;\n          let topEscapedIdx = -1;\n          let breakoutLeaf;\n          let breakoutRoot;\n          let clone;\n          let lineage = getAncestorRules(rule2);\n          lineage.forEach((parent, i2) => {\n            if (escapes(parent.name)) {\n              topEscaped = parent;\n              topEscapedIdx = i2;\n              breakoutRoot = clone;\n            } else {\n              let oldClone = clone;\n              clone = parent.clone({ nodes: [] });\n              oldClone && clone.append(oldClone);\n              breakoutLeaf = breakoutLeaf || clone;\n            }\n          });\n          if (!topEscaped) {\n            rule2.after(nodes);\n          } else if (!breakoutRoot) {\n            topEscaped.after(nodes);\n          } else {\n            let leaf = breakoutLeaf;\n            leaf.append(nodes);\n            topEscaped.after(breakoutRoot);\n          }\n          if (rule2.next() && topEscaped) {\n            let restRoot;\n            lineage.slice(0, topEscapedIdx + 1).forEach((parent, i2, arr) => {\n              let oldRoot = restRoot;\n              restRoot = parent.clone({ nodes: [] });\n              oldRoot && restRoot.append(oldRoot);\n              let nextSibs = [];\n              let _child = arr[i2 - 1] || rule2;\n              let next = _child.next();\n              while (next) {\n                nextSibs.push(next);\n                next = next.next();\n              }\n              restRoot.append(nextSibs);\n            });\n            restRoot && (breakoutRoot || nodes[nodes.length - 1]).after(restRoot);\n          }\n        }\n        rule2.remove();\n      }\n      var rootRuleMergeSel = Symbol(\"rootRuleMergeSel\");\n      var rootRuleEscapes = Symbol(\"rootRuleEscapes\");\n      function normalizeRootRule(rule2) {\n        let { params } = rule2;\n        let { escapes, selector, type } = parseRootRuleParams(params);\n        if (type === \"unknown\") {\n          throw rule2.error(\n            `Unknown @${rule2.name} parameter ${JSON.stringify(params)}`\n          );\n        }\n        if (type === \"basic\" && selector) {\n          let selectorBlock = new Rule2({ nodes: rule2.nodes, selector });\n          rule2.removeAll();\n          rule2.append(selectorBlock);\n        }\n        rule2[rootRuleEscapes] = escapes;\n        rule2[rootRuleMergeSel] = escapes ? !escapes(\"all\") : type === \"noop\";\n      }\n      var hasRootRule = Symbol(\"hasRootRule\");\n      module.exports = (opts = {}) => {\n        let bubble = atruleNames(\n          [\"media\", \"supports\", \"layer\", \"container\", \"starting-style\"],\n          opts.bubble\n        );\n        let atruleChilds = createFnAtruleChilds(bubble);\n        let unwrap = atruleNames(\n          [\n            \"document\",\n            \"font-face\",\n            \"keyframes\",\n            \"-webkit-keyframes\",\n            \"-moz-keyframes\"\n          ],\n          opts.unwrap\n        );\n        let rootRuleName = (opts.rootRuleName || \"at-root\").replace(/^@/, \"\");\n        let preserveEmpty = opts.preserveEmpty;\n        return {\n          Once(root2) {\n            root2.walkAtRules(rootRuleName, (node) => {\n              normalizeRootRule(node);\n              root2[hasRootRule] = true;\n            });\n          },\n          postcssPlugin: \"postcss-nested\",\n          RootExit(root2) {\n            if (root2[hasRootRule]) {\n              root2.walkAtRules(rootRuleName, unwrapRootRule);\n              root2[hasRootRule] = false;\n            }\n          },\n          Rule(rule2) {\n            let unwrapped = false;\n            let after = rule2;\n            let copyDeclarations = false;\n            let declarations = [];\n            rule2.each((child) => {\n              if (child.type === \"rule\") {\n                if (declarations.length) {\n                  after = pickDeclarations(rule2.selector, declarations, after);\n                  declarations = [];\n                }\n                copyDeclarations = true;\n                unwrapped = true;\n                child.selectors = mergeSelectors(rule2, child);\n                after = breakOut(child, after);\n              } else if (child.type === \"atrule\") {\n                if (declarations.length) {\n                  after = pickDeclarations(rule2.selector, declarations, after);\n                  declarations = [];\n                }\n                if (child.name === rootRuleName) {\n                  unwrapped = true;\n                  atruleChilds(rule2, child, true, child[rootRuleMergeSel]);\n                  after = breakOut(child, after);\n                } else if (bubble[child.name]) {\n                  copyDeclarations = true;\n                  unwrapped = true;\n                  atruleChilds(rule2, child, true);\n                  after = breakOut(child, after);\n                } else if (unwrap[child.name]) {\n                  copyDeclarations = true;\n                  unwrapped = true;\n                  atruleChilds(rule2, child, false);\n                  after = breakOut(child, after);\n                } else if (copyDeclarations) {\n                  declarations.push(child);\n                }\n              } else if (child.type === \"decl\" && copyDeclarations) {\n                declarations.push(child);\n              }\n            });\n            if (declarations.length) {\n              after = pickDeclarations(rule2.selector, declarations, after);\n            }\n            if (unwrapped && preserveEmpty !== true) {\n              rule2.raws.semicolon = true;\n              if (rule2.nodes.length === 0) rule2.remove();\n            }\n          }\n        };\n      };\n      module.exports.postcss = true;\n    }\n  });\n\n  // node_modules/.pnpm/camelcase-css@2.0.1/node_modules/camelcase-css/index-es5.js\n  var require_index_es5 = __commonJS({\n    \"node_modules/.pnpm/camelcase-css@2.0.1/node_modules/camelcase-css/index-es5.js\"(exports, module) {\n      \"use strict\";\n      var pattern2 = /-(\\w|$)/g;\n      var callback = function callback2(dashChar, char) {\n        return char.toUpperCase();\n      };\n      var camelCaseCSS = function camelCaseCSS2(property) {\n        property = property.toLowerCase();\n        if (property === \"float\") {\n          return \"cssFloat\";\n        } else if (property.charCodeAt(0) === 45 && property.charCodeAt(1) === 109 && property.charCodeAt(2) === 115 && property.charCodeAt(3) === 45) {\n          return property.substr(1).replace(pattern2, callback);\n        } else {\n          return property.replace(pattern2, callback);\n        }\n      };\n      module.exports = camelCaseCSS;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/objectifier.js\n  var require_objectifier = __commonJS({\n    \"node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/objectifier.js\"(exports, module) {\n      var camelcase = require_index_es5();\n      var UNITLESS = {\n        boxFlex: true,\n        boxFlexGroup: true,\n        columnCount: true,\n        flex: true,\n        flexGrow: true,\n        flexPositive: true,\n        flexShrink: true,\n        flexNegative: true,\n        fontWeight: true,\n        lineClamp: true,\n        lineHeight: true,\n        opacity: true,\n        order: true,\n        orphans: true,\n        tabSize: true,\n        widows: true,\n        zIndex: true,\n        zoom: true,\n        fillOpacity: true,\n        strokeDashoffset: true,\n        strokeOpacity: true,\n        strokeWidth: true\n      };\n      function atRule3(node) {\n        if (typeof node.nodes === \"undefined\") {\n          return true;\n        } else {\n          return process2(node);\n        }\n      }\n      function process2(node) {\n        let name;\n        let result = {};\n        node.each((child) => {\n          if (child.type === \"atrule\") {\n            name = \"@\" + child.name;\n            if (child.params) name += \" \" + child.params;\n            if (typeof result[name] === \"undefined\") {\n              result[name] = atRule3(child);\n            } else if (Array.isArray(result[name])) {\n              result[name].push(atRule3(child));\n            } else {\n              result[name] = [result[name], atRule3(child)];\n            }\n          } else if (child.type === \"rule\") {\n            let body = process2(child);\n            if (result[child.selector]) {\n              for (let i2 in body) {\n                result[child.selector][i2] = body[i2];\n              }\n            } else {\n              result[child.selector] = body;\n            }\n          } else if (child.type === \"decl\") {\n            if (child.prop[0] === \"-\" && child.prop[1] === \"-\") {\n              name = child.prop;\n            } else if (child.parent && child.parent.selector === \":export\") {\n              name = child.prop;\n            } else {\n              name = camelcase(child.prop);\n            }\n            let value2 = child.value;\n            if (!isNaN(child.value) && UNITLESS[name]) {\n              value2 = parseFloat(child.value);\n            }\n            if (child.important) value2 += \" !important\";\n            if (typeof result[name] === \"undefined\") {\n              result[name] = value2;\n            } else if (Array.isArray(result[name])) {\n              result[name].push(value2);\n            } else {\n              result[name] = [result[name], value2];\n            }\n          }\n        });\n        return result;\n      }\n      module.exports = process2;\n    }\n  });\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/parser.js\n  var require_parser3 = __commonJS({\n    \"node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/parser.js\"(exports, module) {\n      var postcss2 = require_postcss();\n      var IMPORTANT2 = /\\s*!important\\s*$/i;\n      var UNITLESS = {\n        \"box-flex\": true,\n        \"box-flex-group\": true,\n        \"column-count\": true,\n        \"flex\": true,\n        \"flex-grow\": true,\n        \"flex-positive\": true,\n        \"flex-shrink\": true,\n        \"flex-negative\": true,\n        \"font-weight\": true,\n        \"line-clamp\": true,\n        \"line-height\": true,\n        \"opacity\": true,\n        \"order\": true,\n        \"orphans\": true,\n        \"tab-size\": true,\n        \"widows\": true,\n        \"z-index\": true,\n        \"zoom\": true,\n        \"fill-opacity\": true,\n        \"stroke-dashoffset\": true,\n        \"stroke-opacity\": true,\n        \"stroke-width\": true\n      };\n      function dashify2(str) {\n        return str.replace(/([A-Z])/g, \"-$1\").replace(/^ms-/, \"-ms-\").toLowerCase();\n      }\n      function decl3(parent, name, value2) {\n        if (value2 === false || value2 === null) return;\n        if (!name.startsWith(\"--\")) {\n          name = dashify2(name);\n        }\n        if (typeof value2 === \"number\") {\n          if (value2 === 0 || UNITLESS[name]) {\n            value2 = value2.toString();\n          } else {\n            value2 += \"px\";\n          }\n        }\n        if (name === \"css-float\") name = \"float\";\n        if (IMPORTANT2.test(value2)) {\n          value2 = value2.replace(IMPORTANT2, \"\");\n          parent.push(postcss2.decl({ prop: name, value: value2, important: true }));\n        } else {\n          parent.push(postcss2.decl({ prop: name, value: value2 }));\n        }\n      }\n      function atRule3(parent, parts, value2) {\n        let node = postcss2.atRule({ name: parts[1], params: parts[3] || \"\" });\n        if (typeof value2 === \"object\") {\n          node.nodes = [];\n          parse5(value2, node);\n        }\n        parent.push(node);\n      }\n      function parse5(obj, parent) {\n        let name, value2, node;\n        for (name in obj) {\n          value2 = obj[name];\n          if (value2 === null || typeof value2 === \"undefined\") {\n            continue;\n          } else if (name[0] === \"@\") {\n            let parts = name.match(/@(\\S+)(\\s+([\\W\\w]*)\\s*)?/);\n            if (Array.isArray(value2)) {\n              for (let i2 of value2) {\n                atRule3(parent, parts, i2);\n              }\n            } else {\n              atRule3(parent, parts, value2);\n            }\n          } else if (Array.isArray(value2)) {\n            for (let i2 of value2) {\n              decl3(parent, name, i2);\n            }\n          } else if (typeof value2 === \"object\") {\n            node = postcss2.rule({ selector: name });\n            parse5(value2, node);\n            parent.push(node);\n          } else {\n            decl3(parent, name, value2);\n          }\n        }\n      }\n      module.exports = function(obj) {\n        let root2 = postcss2.root();\n        parse5(obj, root2);\n        return root2;\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/process-result.js\n  var require_process_result = __commonJS({\n    \"node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/process-result.js\"(exports, module) {\n      var objectify2 = require_objectifier();\n      module.exports = function processResult(result) {\n        if (console && console.warn) {\n          result.warnings().forEach((warn2) => {\n            let source = warn2.plugin || \"PostCSS\";\n            console.warn(source + \": \" + warn2.text);\n          });\n        }\n        return objectify2(result.root);\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/async.js\n  var require_async = __commonJS({\n    \"node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/async.js\"(exports, module) {\n      var postcss2 = require_postcss();\n      var processResult = require_process_result();\n      var parse5 = require_parser3();\n      module.exports = function async2(plugins) {\n        let processor = postcss2(plugins);\n        return async (input) => {\n          let result = await processor.process(input, {\n            parser: parse5,\n            from: void 0\n          });\n          return processResult(result);\n        };\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/sync.js\n  var require_sync = __commonJS({\n    \"node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/sync.js\"(exports, module) {\n      var postcss2 = require_postcss();\n      var processResult = require_process_result();\n      var parse5 = require_parser3();\n      module.exports = function(plugins) {\n        let processor = postcss2(plugins);\n        return (input) => {\n          let result = processor.process(input, { parser: parse5, from: void 0 });\n          return processResult(result);\n        };\n      };\n    }\n  });\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/index.js\n  var require_postcss_js = __commonJS({\n    \"node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/index.js\"(exports, module) {\n      var objectify2 = require_objectifier();\n      var parse5 = require_parser3();\n      var async2 = require_async();\n      var sync2 = require_sync();\n      module.exports = {\n        objectify: objectify2,\n        parse: parse5,\n        async: async2,\n        sync: sync2\n      };\n    }\n  });\n\n  // node_modules/.pnpm/@alloc+quick-lru@5.2.0/node_modules/@alloc/quick-lru/index.js\n  var require_quick_lru = __commonJS({\n    \"node_modules/.pnpm/@alloc+quick-lru@5.2.0/node_modules/@alloc/quick-lru/index.js\"(exports, module) {\n      \"use strict\";\n      var QuickLRU = class {\n        constructor(options = {}) {\n          if (!(options.maxSize && options.maxSize > 0)) {\n            throw new TypeError(\"`maxSize` must be a number greater than 0\");\n          }\n          if (typeof options.maxAge === \"number\" && options.maxAge === 0) {\n            throw new TypeError(\"`maxAge` must be a number greater than 0\");\n          }\n          this.maxSize = options.maxSize;\n          this.maxAge = options.maxAge || Infinity;\n          this.onEviction = options.onEviction;\n          this.cache = /* @__PURE__ */ new Map();\n          this.oldCache = /* @__PURE__ */ new Map();\n          this._size = 0;\n        }\n        _emitEvictions(cache3) {\n          if (typeof this.onEviction !== \"function\") {\n            return;\n          }\n          for (const [key, item] of cache3) {\n            this.onEviction(key, item.value);\n          }\n        }\n        _deleteIfExpired(key, item) {\n          if (typeof item.expiry === \"number\" && item.expiry <= Date.now()) {\n            if (typeof this.onEviction === \"function\") {\n              this.onEviction(key, item.value);\n            }\n            return this.delete(key);\n          }\n          return false;\n        }\n        _getOrDeleteIfExpired(key, item) {\n          const deleted = this._deleteIfExpired(key, item);\n          if (deleted === false) {\n            return item.value;\n          }\n        }\n        _getItemValue(key, item) {\n          return item.expiry ? this._getOrDeleteIfExpired(key, item) : item.value;\n        }\n        _peek(key, cache3) {\n          const item = cache3.get(key);\n          return this._getItemValue(key, item);\n        }\n        _set(key, value2) {\n          this.cache.set(key, value2);\n          this._size++;\n          if (this._size >= this.maxSize) {\n            this._size = 0;\n            this._emitEvictions(this.oldCache);\n            this.oldCache = this.cache;\n            this.cache = /* @__PURE__ */ new Map();\n          }\n        }\n        _moveToRecent(key, item) {\n          this.oldCache.delete(key);\n          this._set(key, item);\n        }\n        *_entriesAscending() {\n          for (const item of this.oldCache) {\n            const [key, value2] = item;\n            if (!this.cache.has(key)) {\n              const deleted = this._deleteIfExpired(key, value2);\n              if (deleted === false) {\n                yield item;\n              }\n            }\n          }\n          for (const item of this.cache) {\n            const [key, value2] = item;\n            const deleted = this._deleteIfExpired(key, value2);\n            if (deleted === false) {\n              yield item;\n            }\n          }\n        }\n        get(key) {\n          if (this.cache.has(key)) {\n            const item = this.cache.get(key);\n            return this._getItemValue(key, item);\n          }\n          if (this.oldCache.has(key)) {\n            const item = this.oldCache.get(key);\n            if (this._deleteIfExpired(key, item) === false) {\n              this._moveToRecent(key, item);\n              return item.value;\n            }\n          }\n        }\n        set(key, value2, { maxAge = this.maxAge === Infinity ? void 0 : Date.now() + this.maxAge } = {}) {\n          if (this.cache.has(key)) {\n            this.cache.set(key, {\n              value: value2,\n              maxAge\n            });\n          } else {\n            this._set(key, { value: value2, expiry: maxAge });\n          }\n        }\n        has(key) {\n          if (this.cache.has(key)) {\n            return !this._deleteIfExpired(key, this.cache.get(key));\n          }\n          if (this.oldCache.has(key)) {\n            return !this._deleteIfExpired(key, this.oldCache.get(key));\n          }\n          return false;\n        }\n        peek(key) {\n          if (this.cache.has(key)) {\n            return this._peek(key, this.cache);\n          }\n          if (this.oldCache.has(key)) {\n            return this._peek(key, this.oldCache);\n          }\n        }\n        delete(key) {\n          const deleted = this.cache.delete(key);\n          if (deleted) {\n            this._size--;\n          }\n          return this.oldCache.delete(key) || deleted;\n        }\n        clear() {\n          this.cache.clear();\n          this.oldCache.clear();\n          this._size = 0;\n        }\n        resize(newSize) {\n          if (!(newSize && newSize > 0)) {\n            throw new TypeError(\"`maxSize` must be a number greater than 0\");\n          }\n          const items = [...this._entriesAscending()];\n          const removeCount = items.length - newSize;\n          if (removeCount < 0) {\n            this.cache = new Map(items);\n            this.oldCache = /* @__PURE__ */ new Map();\n            this._size = items.length;\n          } else {\n            if (removeCount > 0) {\n              this._emitEvictions(items.slice(0, removeCount));\n            }\n            this.oldCache = new Map(items.slice(removeCount));\n            this.cache = /* @__PURE__ */ new Map();\n            this._size = 0;\n          }\n          this.maxSize = newSize;\n        }\n        *keys() {\n          for (const [key] of this) {\n            yield key;\n          }\n        }\n        *values() {\n          for (const [, value2] of this) {\n            yield value2;\n          }\n        }\n        *[Symbol.iterator]() {\n          for (const item of this.cache) {\n            const [key, value2] = item;\n            const deleted = this._deleteIfExpired(key, value2);\n            if (deleted === false) {\n              yield [key, value2.value];\n            }\n          }\n          for (const item of this.oldCache) {\n            const [key, value2] = item;\n            if (!this.cache.has(key)) {\n              const deleted = this._deleteIfExpired(key, value2);\n              if (deleted === false) {\n                yield [key, value2.value];\n              }\n            }\n          }\n        }\n        *entriesDescending() {\n          let items = [...this.cache];\n          for (let i2 = items.length - 1; i2 >= 0; --i2) {\n            const item = items[i2];\n            const [key, value2] = item;\n            const deleted = this._deleteIfExpired(key, value2);\n            if (deleted === false) {\n              yield [key, value2.value];\n            }\n          }\n          items = [...this.oldCache];\n          for (let i2 = items.length - 1; i2 >= 0; --i2) {\n            const item = items[i2];\n            const [key, value2] = item;\n            if (!this.cache.has(key)) {\n              const deleted = this._deleteIfExpired(key, value2);\n              if (deleted === false) {\n                yield [key, value2.value];\n              }\n            }\n          }\n        }\n        *entriesAscending() {\n          for (const [key, value2] of this._entriesAscending()) {\n            yield [key, value2.value];\n          }\n        }\n        get size() {\n          if (!this._size) {\n            return this.oldCache.size;\n          }\n          let oldCacheSize = 0;\n          for (const key of this.oldCache.keys()) {\n            if (!this.cache.has(key)) {\n              oldCacheSize++;\n            }\n          }\n          return Math.min(this._size + oldCacheSize, this.maxSize);\n        }\n      };\n      module.exports = QuickLRU;\n    }\n  });\n\n  // node_modules/.pnpm/didyoumean@1.2.2/node_modules/didyoumean/didYouMean-1.2.1.js\n  var require_didYouMean_1_2_1 = __commonJS({\n    \"node_modules/.pnpm/didyoumean@1.2.2/node_modules/didyoumean/didYouMean-1.2.1.js\"(exports, module) {\n      (function() {\n        \"use strict\";\n        function didYouMean2(str, list3, key) {\n          if (!str) return null;\n          if (!didYouMean2.caseSensitive) {\n            str = str.toLowerCase();\n          }\n          var thresholdRelative = didYouMean2.threshold === null ? null : didYouMean2.threshold * str.length, thresholdAbsolute = didYouMean2.thresholdAbsolute, winningVal;\n          if (thresholdRelative !== null && thresholdAbsolute !== null) winningVal = Math.min(thresholdRelative, thresholdAbsolute);\n          else if (thresholdRelative !== null) winningVal = thresholdRelative;\n          else if (thresholdAbsolute !== null) winningVal = thresholdAbsolute;\n          else winningVal = null;\n          var winner, candidate, testCandidate, val, i2, len = list3.length;\n          for (i2 = 0; i2 < len; i2++) {\n            candidate = list3[i2];\n            if (key) {\n              candidate = candidate[key];\n            }\n            if (!candidate) {\n              continue;\n            }\n            if (!didYouMean2.caseSensitive) {\n              testCandidate = candidate.toLowerCase();\n            } else {\n              testCandidate = candidate;\n            }\n            val = getEditDistance(str, testCandidate, winningVal);\n            if (winningVal === null || val < winningVal) {\n              winningVal = val;\n              if (key && didYouMean2.returnWinningObject) winner = list3[i2];\n              else winner = candidate;\n              if (didYouMean2.returnFirstMatch) return winner;\n            }\n          }\n          return winner || didYouMean2.nullResultValue;\n        }\n        didYouMean2.threshold = 0.4;\n        didYouMean2.thresholdAbsolute = 20;\n        didYouMean2.caseSensitive = false;\n        didYouMean2.nullResultValue = null;\n        didYouMean2.returnWinningObject = null;\n        didYouMean2.returnFirstMatch = false;\n        if (typeof module !== \"undefined\" && module.exports) {\n          module.exports = didYouMean2;\n        } else {\n          window.didYouMean = didYouMean2;\n        }\n        var MAX_INT = Math.pow(2, 32) - 1;\n        function getEditDistance(a2, b2, max2) {\n          max2 = max2 || max2 === 0 ? max2 : MAX_INT;\n          var lena = a2.length;\n          var lenb = b2.length;\n          if (lena === 0) return Math.min(max2 + 1, lenb);\n          if (lenb === 0) return Math.min(max2 + 1, lena);\n          if (Math.abs(lena - lenb) > max2) return max2 + 1;\n          var matrix = [], i2, j2, colMin, minJ, maxJ;\n          for (i2 = 0; i2 <= lenb; i2++) {\n            matrix[i2] = [i2];\n          }\n          for (j2 = 0; j2 <= lena; j2++) {\n            matrix[0][j2] = j2;\n          }\n          for (i2 = 1; i2 <= lenb; i2++) {\n            colMin = MAX_INT;\n            minJ = 1;\n            if (i2 > max2) minJ = i2 - max2;\n            maxJ = lenb + 1;\n            if (maxJ > max2 + i2) maxJ = max2 + i2;\n            for (j2 = 1; j2 <= lena; j2++) {\n              if (j2 < minJ || j2 > maxJ) {\n                matrix[i2][j2] = max2 + 1;\n              } else {\n                if (b2.charAt(i2 - 1) === a2.charAt(j2 - 1)) {\n                  matrix[i2][j2] = matrix[i2 - 1][j2 - 1];\n                } else {\n                  matrix[i2][j2] = Math.min(\n                    matrix[i2 - 1][j2 - 1] + 1,\n                    // Substitute\n                    Math.min(\n                      matrix[i2][j2 - 1] + 1,\n                      // Insert\n                      matrix[i2 - 1][j2] + 1\n                    )\n                  );\n                }\n              }\n              if (matrix[i2][j2] < colMin) colMin = matrix[i2][j2];\n            }\n            if (colMin > max2) return max2 + 1;\n          }\n          return matrix[lenb][lena];\n        }\n      })();\n    }\n  });\n\n  // node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.js\n  var DocumentUri;\n  (function(DocumentUri2) {\n    function is(value2) {\n      return typeof value2 === \"string\";\n    }\n    DocumentUri2.is = is;\n  })(DocumentUri || (DocumentUri = {}));\n  var URI;\n  (function(URI3) {\n    function is(value2) {\n      return typeof value2 === \"string\";\n    }\n    URI3.is = is;\n  })(URI || (URI = {}));\n  var integer;\n  (function(integer2) {\n    integer2.MIN_VALUE = -2147483648;\n    integer2.MAX_VALUE = 2147483647;\n    function is(value2) {\n      return typeof value2 === \"number\" && integer2.MIN_VALUE <= value2 && value2 <= integer2.MAX_VALUE;\n    }\n    integer2.is = is;\n  })(integer || (integer = {}));\n  var uinteger;\n  (function(uinteger2) {\n    uinteger2.MIN_VALUE = 0;\n    uinteger2.MAX_VALUE = 2147483647;\n    function is(value2) {\n      return typeof value2 === \"number\" && uinteger2.MIN_VALUE <= value2 && value2 <= uinteger2.MAX_VALUE;\n    }\n    uinteger2.is = is;\n  })(uinteger || (uinteger = {}));\n  var Position;\n  (function(Position3) {\n    function create(line, character) {\n      if (line === Number.MAX_VALUE) {\n        line = uinteger.MAX_VALUE;\n      }\n      if (character === Number.MAX_VALUE) {\n        character = uinteger.MAX_VALUE;\n      }\n      return { line, character };\n    }\n    Position3.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n    }\n    Position3.is = is;\n  })(Position || (Position = {}));\n  var Range;\n  (function(Range3) {\n    function create(one, two, three, four) {\n      if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n        return { start: Position.create(one, two), end: Position.create(three, four) };\n      } else if (Position.is(one) && Position.is(two)) {\n        return { start: one, end: two };\n      } else {\n        throw new Error(`Range#create called with invalid arguments[${one}, ${two}, ${three}, ${four}]`);\n      }\n    }\n    Range3.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end);\n    }\n    Range3.is = is;\n  })(Range || (Range = {}));\n  var Location;\n  (function(Location2) {\n    function create(uri, range) {\n      return { uri, range };\n    }\n    Location2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.objectLiteral(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n    }\n    Location2.is = is;\n  })(Location || (Location = {}));\n  var LocationLink;\n  (function(LocationLink2) {\n    function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n      return { targetUri, targetRange, targetSelectionRange, originSelectionRange };\n    }\n    LocationLink2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.objectLiteral(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri) && Range.is(candidate.targetSelectionRange) && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n    }\n    LocationLink2.is = is;\n  })(LocationLink || (LocationLink = {}));\n  var Color;\n  (function(Color3) {\n    function create(red, green, blue, alpha) {\n      return {\n        red,\n        green,\n        blue,\n        alpha\n      };\n    }\n    Color3.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1);\n    }\n    Color3.is = is;\n  })(Color || (Color = {}));\n  var ColorInformation;\n  (function(ColorInformation2) {\n    function create(range, color2) {\n      return {\n        range,\n        color: color2\n      };\n    }\n    ColorInformation2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Range.is(candidate.range) && Color.is(candidate.color);\n    }\n    ColorInformation2.is = is;\n  })(ColorInformation || (ColorInformation = {}));\n  var ColorPresentation;\n  (function(ColorPresentation2) {\n    function create(label, textEdit, additionalTextEdits) {\n      return {\n        label,\n        textEdit,\n        additionalTextEdits\n      };\n    }\n    ColorPresentation2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n    }\n    ColorPresentation2.is = is;\n  })(ColorPresentation || (ColorPresentation = {}));\n  var FoldingRangeKind;\n  (function(FoldingRangeKind3) {\n    FoldingRangeKind3.Comment = \"comment\";\n    FoldingRangeKind3.Imports = \"imports\";\n    FoldingRangeKind3.Region = \"region\";\n  })(FoldingRangeKind || (FoldingRangeKind = {}));\n  var FoldingRange;\n  (function(FoldingRange2) {\n    function create(startLine, endLine, startCharacter, endCharacter, kind, collapsedText) {\n      const result = {\n        startLine,\n        endLine\n      };\n      if (Is.defined(startCharacter)) {\n        result.startCharacter = startCharacter;\n      }\n      if (Is.defined(endCharacter)) {\n        result.endCharacter = endCharacter;\n      }\n      if (Is.defined(kind)) {\n        result.kind = kind;\n      }\n      if (Is.defined(collapsedText)) {\n        result.collapsedText = collapsedText;\n      }\n      return result;\n    }\n    FoldingRange2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n    }\n    FoldingRange2.is = is;\n  })(FoldingRange || (FoldingRange = {}));\n  var DiagnosticRelatedInformation;\n  (function(DiagnosticRelatedInformation2) {\n    function create(location, message) {\n      return {\n        location,\n        message\n      };\n    }\n    DiagnosticRelatedInformation2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n    }\n    DiagnosticRelatedInformation2.is = is;\n  })(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n  var DiagnosticSeverity;\n  (function(DiagnosticSeverity2) {\n    DiagnosticSeverity2.Error = 1;\n    DiagnosticSeverity2.Warning = 2;\n    DiagnosticSeverity2.Information = 3;\n    DiagnosticSeverity2.Hint = 4;\n  })(DiagnosticSeverity || (DiagnosticSeverity = {}));\n  var DiagnosticTag;\n  (function(DiagnosticTag2) {\n    DiagnosticTag2.Unnecessary = 1;\n    DiagnosticTag2.Deprecated = 2;\n  })(DiagnosticTag || (DiagnosticTag = {}));\n  var CodeDescription;\n  (function(CodeDescription2) {\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Is.string(candidate.href);\n    }\n    CodeDescription2.is = is;\n  })(CodeDescription || (CodeDescription = {}));\n  var Diagnostic;\n  (function(Diagnostic2) {\n    function create(range, message, severity, code, source, relatedInformation) {\n      let result = { range, message };\n      if (Is.defined(severity)) {\n        result.severity = severity;\n      }\n      if (Is.defined(code)) {\n        result.code = code;\n      }\n      if (Is.defined(source)) {\n        result.source = source;\n      }\n      if (Is.defined(relatedInformation)) {\n        result.relatedInformation = relatedInformation;\n      }\n      return result;\n    }\n    Diagnostic2.create = create;\n    function is(value2) {\n      var _a4;\n      let candidate = value2;\n      return Is.defined(candidate) && Range.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a4 = candidate.codeDescription) === null || _a4 === void 0 ? void 0 : _a4.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n    }\n    Diagnostic2.is = is;\n  })(Diagnostic || (Diagnostic = {}));\n  var Command;\n  (function(Command3) {\n    function create(title, command, ...args) {\n      let result = { title, command };\n      if (Is.defined(args) && args.length > 0) {\n        result.arguments = args;\n      }\n      return result;\n    }\n    Command3.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n    }\n    Command3.is = is;\n  })(Command || (Command = {}));\n  var TextEdit;\n  (function(TextEdit2) {\n    function replace2(range, newText) {\n      return { range, newText };\n    }\n    TextEdit2.replace = replace2;\n    function insert(position2, newText) {\n      return { range: { start: position2, end: position2 }, newText };\n    }\n    TextEdit2.insert = insert;\n    function del(range) {\n      return { range, newText: \"\" };\n    }\n    TextEdit2.del = del;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range.is(candidate.range);\n    }\n    TextEdit2.is = is;\n  })(TextEdit || (TextEdit = {}));\n  var ChangeAnnotation;\n  (function(ChangeAnnotation2) {\n    function create(label, needsConfirmation, description) {\n      const result = { label };\n      if (needsConfirmation !== void 0) {\n        result.needsConfirmation = needsConfirmation;\n      }\n      if (description !== void 0) {\n        result.description = description;\n      }\n      return result;\n    }\n    ChangeAnnotation2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0);\n    }\n    ChangeAnnotation2.is = is;\n  })(ChangeAnnotation || (ChangeAnnotation = {}));\n  var ChangeAnnotationIdentifier;\n  (function(ChangeAnnotationIdentifier2) {\n    function is(value2) {\n      const candidate = value2;\n      return Is.string(candidate);\n    }\n    ChangeAnnotationIdentifier2.is = is;\n  })(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\n  var AnnotatedTextEdit;\n  (function(AnnotatedTextEdit2) {\n    function replace2(range, newText, annotation) {\n      return { range, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.replace = replace2;\n    function insert(position2, newText, annotation) {\n      return { range: { start: position2, end: position2 }, newText, annotationId: annotation };\n    }\n    AnnotatedTextEdit2.insert = insert;\n    function del(range, annotation) {\n      return { range, newText: \"\", annotationId: annotation };\n    }\n    AnnotatedTextEdit2.del = del;\n    function is(value2) {\n      const candidate = value2;\n      return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    AnnotatedTextEdit2.is = is;\n  })(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n  var TextDocumentEdit;\n  (function(TextDocumentEdit2) {\n    function create(textDocument, edits) {\n      return { textDocument, edits };\n    }\n    TextDocumentEdit2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits);\n    }\n    TextDocumentEdit2.is = is;\n  })(TextDocumentEdit || (TextDocumentEdit = {}));\n  var CreateFile;\n  (function(CreateFile2) {\n    function create(uri, options, annotation) {\n      let result = {\n        kind: \"create\",\n        uri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    CreateFile2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return candidate && candidate.kind === \"create\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    CreateFile2.is = is;\n  })(CreateFile || (CreateFile = {}));\n  var RenameFile;\n  (function(RenameFile2) {\n    function create(oldUri, newUri, options, annotation) {\n      let result = {\n        kind: \"rename\",\n        oldUri,\n        newUri\n      };\n      if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    RenameFile2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return candidate && candidate.kind === \"rename\" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    RenameFile2.is = is;\n  })(RenameFile || (RenameFile = {}));\n  var DeleteFile;\n  (function(DeleteFile2) {\n    function create(uri, options, annotation) {\n      let result = {\n        kind: \"delete\",\n        uri\n      };\n      if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) {\n        result.options = options;\n      }\n      if (annotation !== void 0) {\n        result.annotationId = annotation;\n      }\n      return result;\n    }\n    DeleteFile2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return candidate && candidate.kind === \"delete\" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId));\n    }\n    DeleteFile2.is = is;\n  })(DeleteFile || (DeleteFile = {}));\n  var WorkspaceEdit;\n  (function(WorkspaceEdit2) {\n    function is(value2) {\n      let candidate = value2;\n      return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every((change) => {\n        if (Is.string(change.kind)) {\n          return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n        } else {\n          return TextDocumentEdit.is(change);\n        }\n      }));\n    }\n    WorkspaceEdit2.is = is;\n  })(WorkspaceEdit || (WorkspaceEdit = {}));\n  var TextDocumentIdentifier;\n  (function(TextDocumentIdentifier2) {\n    function create(uri) {\n      return { uri };\n    }\n    TextDocumentIdentifier2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.string(candidate.uri);\n    }\n    TextDocumentIdentifier2.is = is;\n  })(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n  var VersionedTextDocumentIdentifier;\n  (function(VersionedTextDocumentIdentifier2) {\n    function create(uri, version2) {\n      return { uri, version: version2 };\n    }\n    VersionedTextDocumentIdentifier2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n    }\n    VersionedTextDocumentIdentifier2.is = is;\n  })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n  var OptionalVersionedTextDocumentIdentifier;\n  (function(OptionalVersionedTextDocumentIdentifier2) {\n    function create(uri, version2) {\n      return { uri, version: version2 };\n    }\n    OptionalVersionedTextDocumentIdentifier2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n    }\n    OptionalVersionedTextDocumentIdentifier2.is = is;\n  })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n  var TextDocumentItem;\n  (function(TextDocumentItem2) {\n    function create(uri, languageId, version2, text2) {\n      return { uri, languageId, version: version2, text: text2 };\n    }\n    TextDocumentItem2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n    }\n    TextDocumentItem2.is = is;\n  })(TextDocumentItem || (TextDocumentItem = {}));\n  var MarkupKind;\n  (function(MarkupKind2) {\n    MarkupKind2.PlainText = \"plaintext\";\n    MarkupKind2.Markdown = \"markdown\";\n    function is(value2) {\n      const candidate = value2;\n      return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown;\n    }\n    MarkupKind2.is = is;\n  })(MarkupKind || (MarkupKind = {}));\n  var MarkupContent;\n  (function(MarkupContent2) {\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(value2) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n    }\n    MarkupContent2.is = is;\n  })(MarkupContent || (MarkupContent = {}));\n  var CompletionItemKind;\n  (function(CompletionItemKind3) {\n    CompletionItemKind3.Text = 1;\n    CompletionItemKind3.Method = 2;\n    CompletionItemKind3.Function = 3;\n    CompletionItemKind3.Constructor = 4;\n    CompletionItemKind3.Field = 5;\n    CompletionItemKind3.Variable = 6;\n    CompletionItemKind3.Class = 7;\n    CompletionItemKind3.Interface = 8;\n    CompletionItemKind3.Module = 9;\n    CompletionItemKind3.Property = 10;\n    CompletionItemKind3.Unit = 11;\n    CompletionItemKind3.Value = 12;\n    CompletionItemKind3.Enum = 13;\n    CompletionItemKind3.Keyword = 14;\n    CompletionItemKind3.Snippet = 15;\n    CompletionItemKind3.Color = 16;\n    CompletionItemKind3.File = 17;\n    CompletionItemKind3.Reference = 18;\n    CompletionItemKind3.Folder = 19;\n    CompletionItemKind3.EnumMember = 20;\n    CompletionItemKind3.Constant = 21;\n    CompletionItemKind3.Struct = 22;\n    CompletionItemKind3.Event = 23;\n    CompletionItemKind3.Operator = 24;\n    CompletionItemKind3.TypeParameter = 25;\n  })(CompletionItemKind || (CompletionItemKind = {}));\n  var InsertTextFormat;\n  (function(InsertTextFormat2) {\n    InsertTextFormat2.PlainText = 1;\n    InsertTextFormat2.Snippet = 2;\n  })(InsertTextFormat || (InsertTextFormat = {}));\n  var CompletionItemTag;\n  (function(CompletionItemTag3) {\n    CompletionItemTag3.Deprecated = 1;\n  })(CompletionItemTag || (CompletionItemTag = {}));\n  var InsertReplaceEdit;\n  (function(InsertReplaceEdit2) {\n    function create(newText, insert, replace2) {\n      return { newText, insert, replace: replace2 };\n    }\n    InsertReplaceEdit2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace);\n    }\n    InsertReplaceEdit2.is = is;\n  })(InsertReplaceEdit || (InsertReplaceEdit = {}));\n  var InsertTextMode;\n  (function(InsertTextMode2) {\n    InsertTextMode2.asIs = 1;\n    InsertTextMode2.adjustIndentation = 2;\n  })(InsertTextMode || (InsertTextMode = {}));\n  var CompletionItemLabelDetails;\n  (function(CompletionItemLabelDetails2) {\n    function is(value2) {\n      const candidate = value2;\n      return candidate && (Is.string(candidate.detail) || candidate.detail === void 0) && (Is.string(candidate.description) || candidate.description === void 0);\n    }\n    CompletionItemLabelDetails2.is = is;\n  })(CompletionItemLabelDetails || (CompletionItemLabelDetails = {}));\n  var CompletionItem;\n  (function(CompletionItem2) {\n    function create(label) {\n      return { label };\n    }\n    CompletionItem2.create = create;\n  })(CompletionItem || (CompletionItem = {}));\n  var CompletionList;\n  (function(CompletionList2) {\n    function create(items, isIncomplete) {\n      return { items: items ? items : [], isIncomplete: !!isIncomplete };\n    }\n    CompletionList2.create = create;\n  })(CompletionList || (CompletionList = {}));\n  var MarkedString;\n  (function(MarkedString2) {\n    function fromPlainText(plainText) {\n      return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, \"\\\\$&\");\n    }\n    MarkedString2.fromPlainText = fromPlainText;\n    function is(value2) {\n      const candidate = value2;\n      return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value);\n    }\n    MarkedString2.is = is;\n  })(MarkedString || (MarkedString = {}));\n  var Hover;\n  (function(Hover2) {\n    function is(value2) {\n      let candidate = value2;\n      return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value2.range === void 0 || Range.is(value2.range));\n    }\n    Hover2.is = is;\n  })(Hover || (Hover = {}));\n  var ParameterInformation;\n  (function(ParameterInformation2) {\n    function create(label, documentation) {\n      return documentation ? { label, documentation } : { label };\n    }\n    ParameterInformation2.create = create;\n  })(ParameterInformation || (ParameterInformation = {}));\n  var SignatureInformation;\n  (function(SignatureInformation2) {\n    function create(label, documentation, ...parameters) {\n      let result = { label };\n      if (Is.defined(documentation)) {\n        result.documentation = documentation;\n      }\n      if (Is.defined(parameters)) {\n        result.parameters = parameters;\n      } else {\n        result.parameters = [];\n      }\n      return result;\n    }\n    SignatureInformation2.create = create;\n  })(SignatureInformation || (SignatureInformation = {}));\n  var DocumentHighlightKind;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4.Text = 1;\n    DocumentHighlightKind4.Read = 2;\n    DocumentHighlightKind4.Write = 3;\n  })(DocumentHighlightKind || (DocumentHighlightKind = {}));\n  var DocumentHighlight;\n  (function(DocumentHighlight2) {\n    function create(range, kind) {\n      let result = { range };\n      if (Is.number(kind)) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    DocumentHighlight2.create = create;\n  })(DocumentHighlight || (DocumentHighlight = {}));\n  var SymbolKind;\n  (function(SymbolKind3) {\n    SymbolKind3.File = 1;\n    SymbolKind3.Module = 2;\n    SymbolKind3.Namespace = 3;\n    SymbolKind3.Package = 4;\n    SymbolKind3.Class = 5;\n    SymbolKind3.Method = 6;\n    SymbolKind3.Property = 7;\n    SymbolKind3.Field = 8;\n    SymbolKind3.Constructor = 9;\n    SymbolKind3.Enum = 10;\n    SymbolKind3.Interface = 11;\n    SymbolKind3.Function = 12;\n    SymbolKind3.Variable = 13;\n    SymbolKind3.Constant = 14;\n    SymbolKind3.String = 15;\n    SymbolKind3.Number = 16;\n    SymbolKind3.Boolean = 17;\n    SymbolKind3.Array = 18;\n    SymbolKind3.Object = 19;\n    SymbolKind3.Key = 20;\n    SymbolKind3.Null = 21;\n    SymbolKind3.EnumMember = 22;\n    SymbolKind3.Struct = 23;\n    SymbolKind3.Event = 24;\n    SymbolKind3.Operator = 25;\n    SymbolKind3.TypeParameter = 26;\n  })(SymbolKind || (SymbolKind = {}));\n  var SymbolTag;\n  (function(SymbolTag3) {\n    SymbolTag3.Deprecated = 1;\n  })(SymbolTag || (SymbolTag = {}));\n  var SymbolInformation;\n  (function(SymbolInformation2) {\n    function create(name, kind, range, uri, containerName) {\n      let result = {\n        name,\n        kind,\n        location: { uri, range }\n      };\n      if (containerName) {\n        result.containerName = containerName;\n      }\n      return result;\n    }\n    SymbolInformation2.create = create;\n  })(SymbolInformation || (SymbolInformation = {}));\n  var WorkspaceSymbol;\n  (function(WorkspaceSymbol2) {\n    function create(name, kind, uri, range) {\n      return range !== void 0 ? { name, kind, location: { uri, range } } : { name, kind, location: { uri } };\n    }\n    WorkspaceSymbol2.create = create;\n  })(WorkspaceSymbol || (WorkspaceSymbol = {}));\n  var DocumentSymbol;\n  (function(DocumentSymbol2) {\n    function create(name, detail, kind, range, selectionRange, children) {\n      let result = {\n        name,\n        detail,\n        kind,\n        range,\n        selectionRange\n      };\n      if (children !== void 0) {\n        result.children = children;\n      }\n      return result;\n    }\n    DocumentSymbol2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range.is(candidate.range) && Range.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags));\n    }\n    DocumentSymbol2.is = is;\n  })(DocumentSymbol || (DocumentSymbol = {}));\n  var CodeActionKind;\n  (function(CodeActionKind2) {\n    CodeActionKind2.Empty = \"\";\n    CodeActionKind2.QuickFix = \"quickfix\";\n    CodeActionKind2.Refactor = \"refactor\";\n    CodeActionKind2.RefactorExtract = \"refactor.extract\";\n    CodeActionKind2.RefactorInline = \"refactor.inline\";\n    CodeActionKind2.RefactorRewrite = \"refactor.rewrite\";\n    CodeActionKind2.Source = \"source\";\n    CodeActionKind2.SourceOrganizeImports = \"source.organizeImports\";\n    CodeActionKind2.SourceFixAll = \"source.fixAll\";\n  })(CodeActionKind || (CodeActionKind = {}));\n  var CodeActionTriggerKind;\n  (function(CodeActionTriggerKind2) {\n    CodeActionTriggerKind2.Invoked = 1;\n    CodeActionTriggerKind2.Automatic = 2;\n  })(CodeActionTriggerKind || (CodeActionTriggerKind = {}));\n  var CodeActionContext;\n  (function(CodeActionContext2) {\n    function create(diagnostics, only, triggerKind) {\n      let result = { diagnostics };\n      if (only !== void 0 && only !== null) {\n        result.only = only;\n      }\n      if (triggerKind !== void 0 && triggerKind !== null) {\n        result.triggerKind = triggerKind;\n      }\n      return result;\n    }\n    CodeActionContext2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string)) && (candidate.triggerKind === void 0 || candidate.triggerKind === CodeActionTriggerKind.Invoked || candidate.triggerKind === CodeActionTriggerKind.Automatic);\n    }\n    CodeActionContext2.is = is;\n  })(CodeActionContext || (CodeActionContext = {}));\n  var CodeAction;\n  (function(CodeAction2) {\n    function create(title, kindOrCommandOrEdit, kind) {\n      let result = { title };\n      let checkKind = true;\n      if (typeof kindOrCommandOrEdit === \"string\") {\n        checkKind = false;\n        result.kind = kindOrCommandOrEdit;\n      } else if (Command.is(kindOrCommandOrEdit)) {\n        result.command = kindOrCommandOrEdit;\n      } else {\n        result.edit = kindOrCommandOrEdit;\n      }\n      if (checkKind && kind !== void 0) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    CodeAction2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit));\n    }\n    CodeAction2.is = is;\n  })(CodeAction || (CodeAction = {}));\n  var CodeLens;\n  (function(CodeLens2) {\n    function create(range, data) {\n      let result = { range };\n      if (Is.defined(data)) {\n        result.data = data;\n      }\n      return result;\n    }\n    CodeLens2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command));\n    }\n    CodeLens2.is = is;\n  })(CodeLens || (CodeLens = {}));\n  var FormattingOptions;\n  (function(FormattingOptions2) {\n    function create(tabSize, insertSpaces) {\n      return { tabSize, insertSpaces };\n    }\n    FormattingOptions2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n    }\n    FormattingOptions2.is = is;\n  })(FormattingOptions || (FormattingOptions = {}));\n  var DocumentLink;\n  (function(DocumentLink2) {\n    function create(range, target, data) {\n      return { range, target, data };\n    }\n    DocumentLink2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n    }\n    DocumentLink2.is = is;\n  })(DocumentLink || (DocumentLink = {}));\n  var SelectionRange;\n  (function(SelectionRange2) {\n    function create(range, parent) {\n      return { range, parent };\n    }\n    SelectionRange2.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.objectLiteral(candidate) && Range.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent));\n    }\n    SelectionRange2.is = is;\n  })(SelectionRange || (SelectionRange = {}));\n  var SemanticTokenTypes;\n  (function(SemanticTokenTypes2) {\n    SemanticTokenTypes2[\"namespace\"] = \"namespace\";\n    SemanticTokenTypes2[\"type\"] = \"type\";\n    SemanticTokenTypes2[\"class\"] = \"class\";\n    SemanticTokenTypes2[\"enum\"] = \"enum\";\n    SemanticTokenTypes2[\"interface\"] = \"interface\";\n    SemanticTokenTypes2[\"struct\"] = \"struct\";\n    SemanticTokenTypes2[\"typeParameter\"] = \"typeParameter\";\n    SemanticTokenTypes2[\"parameter\"] = \"parameter\";\n    SemanticTokenTypes2[\"variable\"] = \"variable\";\n    SemanticTokenTypes2[\"property\"] = \"property\";\n    SemanticTokenTypes2[\"enumMember\"] = \"enumMember\";\n    SemanticTokenTypes2[\"event\"] = \"event\";\n    SemanticTokenTypes2[\"function\"] = \"function\";\n    SemanticTokenTypes2[\"method\"] = \"method\";\n    SemanticTokenTypes2[\"macro\"] = \"macro\";\n    SemanticTokenTypes2[\"keyword\"] = \"keyword\";\n    SemanticTokenTypes2[\"modifier\"] = \"modifier\";\n    SemanticTokenTypes2[\"comment\"] = \"comment\";\n    SemanticTokenTypes2[\"string\"] = \"string\";\n    SemanticTokenTypes2[\"number\"] = \"number\";\n    SemanticTokenTypes2[\"regexp\"] = \"regexp\";\n    SemanticTokenTypes2[\"operator\"] = \"operator\";\n    SemanticTokenTypes2[\"decorator\"] = \"decorator\";\n  })(SemanticTokenTypes || (SemanticTokenTypes = {}));\n  var SemanticTokenModifiers;\n  (function(SemanticTokenModifiers2) {\n    SemanticTokenModifiers2[\"declaration\"] = \"declaration\";\n    SemanticTokenModifiers2[\"definition\"] = \"definition\";\n    SemanticTokenModifiers2[\"readonly\"] = \"readonly\";\n    SemanticTokenModifiers2[\"static\"] = \"static\";\n    SemanticTokenModifiers2[\"deprecated\"] = \"deprecated\";\n    SemanticTokenModifiers2[\"abstract\"] = \"abstract\";\n    SemanticTokenModifiers2[\"async\"] = \"async\";\n    SemanticTokenModifiers2[\"modification\"] = \"modification\";\n    SemanticTokenModifiers2[\"documentation\"] = \"documentation\";\n    SemanticTokenModifiers2[\"defaultLibrary\"] = \"defaultLibrary\";\n  })(SemanticTokenModifiers || (SemanticTokenModifiers = {}));\n  var SemanticTokens;\n  (function(SemanticTokens2) {\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && (candidate.resultId === void 0 || typeof candidate.resultId === \"string\") && Array.isArray(candidate.data) && (candidate.data.length === 0 || typeof candidate.data[0] === \"number\");\n    }\n    SemanticTokens2.is = is;\n  })(SemanticTokens || (SemanticTokens = {}));\n  var InlineValueText;\n  (function(InlineValueText2) {\n    function create(range, text2) {\n      return { range, text: text2 };\n    }\n    InlineValueText2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && Is.string(candidate.text);\n    }\n    InlineValueText2.is = is;\n  })(InlineValueText || (InlineValueText = {}));\n  var InlineValueVariableLookup;\n  (function(InlineValueVariableLookup2) {\n    function create(range, variableName, caseSensitiveLookup) {\n      return { range, variableName, caseSensitiveLookup };\n    }\n    InlineValueVariableLookup2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && Is.boolean(candidate.caseSensitiveLookup) && (Is.string(candidate.variableName) || candidate.variableName === void 0);\n    }\n    InlineValueVariableLookup2.is = is;\n  })(InlineValueVariableLookup || (InlineValueVariableLookup = {}));\n  var InlineValueEvaluatableExpression;\n  (function(InlineValueEvaluatableExpression2) {\n    function create(range, expression) {\n      return { range, expression };\n    }\n    InlineValueEvaluatableExpression2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && (Is.string(candidate.expression) || candidate.expression === void 0);\n    }\n    InlineValueEvaluatableExpression2.is = is;\n  })(InlineValueEvaluatableExpression || (InlineValueEvaluatableExpression = {}));\n  var InlineValueContext;\n  (function(InlineValueContext2) {\n    function create(frameId, stoppedLocation) {\n      return { frameId, stoppedLocation };\n    }\n    InlineValueContext2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.defined(candidate) && Range.is(value2.stoppedLocation);\n    }\n    InlineValueContext2.is = is;\n  })(InlineValueContext || (InlineValueContext = {}));\n  var InlayHintKind;\n  (function(InlayHintKind4) {\n    InlayHintKind4.Type = 1;\n    InlayHintKind4.Parameter = 2;\n    function is(value2) {\n      return value2 === 1 || value2 === 2;\n    }\n    InlayHintKind4.is = is;\n  })(InlayHintKind || (InlayHintKind = {}));\n  var InlayHintLabelPart;\n  (function(InlayHintLabelPart2) {\n    function create(value2) {\n      return { value: value2 };\n    }\n    InlayHintLabelPart2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.location === void 0 || Location.is(candidate.location)) && (candidate.command === void 0 || Command.is(candidate.command));\n    }\n    InlayHintLabelPart2.is = is;\n  })(InlayHintLabelPart || (InlayHintLabelPart = {}));\n  var InlayHint;\n  (function(InlayHint2) {\n    function create(position2, label, kind) {\n      const result = { position: position2, label };\n      if (kind !== void 0) {\n        result.kind = kind;\n      }\n      return result;\n    }\n    InlayHint2.create = create;\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && Position.is(candidate.position) && (Is.string(candidate.label) || Is.typedArray(candidate.label, InlayHintLabelPart.is)) && (candidate.kind === void 0 || InlayHintKind.is(candidate.kind)) && candidate.textEdits === void 0 || Is.typedArray(candidate.textEdits, TextEdit.is) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.paddingLeft === void 0 || Is.boolean(candidate.paddingLeft)) && (candidate.paddingRight === void 0 || Is.boolean(candidate.paddingRight));\n    }\n    InlayHint2.is = is;\n  })(InlayHint || (InlayHint = {}));\n  var StringValue;\n  (function(StringValue2) {\n    function createSnippet(value2) {\n      return { kind: \"snippet\", value: value2 };\n    }\n    StringValue2.createSnippet = createSnippet;\n  })(StringValue || (StringValue = {}));\n  var InlineCompletionItem;\n  (function(InlineCompletionItem2) {\n    function create(insertText, filterText, range, command) {\n      return { insertText, filterText, range, command };\n    }\n    InlineCompletionItem2.create = create;\n  })(InlineCompletionItem || (InlineCompletionItem = {}));\n  var InlineCompletionList;\n  (function(InlineCompletionList2) {\n    function create(items) {\n      return { items };\n    }\n    InlineCompletionList2.create = create;\n  })(InlineCompletionList || (InlineCompletionList = {}));\n  var InlineCompletionTriggerKind;\n  (function(InlineCompletionTriggerKind4) {\n    InlineCompletionTriggerKind4.Invoked = 0;\n    InlineCompletionTriggerKind4.Automatic = 1;\n  })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));\n  var SelectedCompletionInfo;\n  (function(SelectedCompletionInfo2) {\n    function create(range, text2) {\n      return { range, text: text2 };\n    }\n    SelectedCompletionInfo2.create = create;\n  })(SelectedCompletionInfo || (SelectedCompletionInfo = {}));\n  var InlineCompletionContext;\n  (function(InlineCompletionContext2) {\n    function create(triggerKind, selectedCompletionInfo) {\n      return { triggerKind, selectedCompletionInfo };\n    }\n    InlineCompletionContext2.create = create;\n  })(InlineCompletionContext || (InlineCompletionContext = {}));\n  var WorkspaceFolder;\n  (function(WorkspaceFolder2) {\n    function is(value2) {\n      const candidate = value2;\n      return Is.objectLiteral(candidate) && URI.is(candidate.uri) && Is.string(candidate.name);\n    }\n    WorkspaceFolder2.is = is;\n  })(WorkspaceFolder || (WorkspaceFolder = {}));\n  var TextDocument;\n  (function(TextDocument3) {\n    function create(uri, languageId, version2, content) {\n      return new FullTextDocument(uri, languageId, version2, content);\n    }\n    TextDocument3.create = create;\n    function is(value2) {\n      let candidate = value2;\n      return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n    }\n    TextDocument3.is = is;\n    function applyEdits(document3, edits) {\n      let text2 = document3.getText();\n      let sortedEdits = mergeSort2(edits, (a2, b2) => {\n        let diff = a2.range.start.line - b2.range.start.line;\n        if (diff === 0) {\n          return a2.range.start.character - b2.range.start.character;\n        }\n        return diff;\n      });\n      let lastModifiedOffset = text2.length;\n      for (let i2 = sortedEdits.length - 1; i2 >= 0; i2--) {\n        let e5 = sortedEdits[i2];\n        let startOffset = document3.offsetAt(e5.range.start);\n        let endOffset = document3.offsetAt(e5.range.end);\n        if (endOffset <= lastModifiedOffset) {\n          text2 = text2.substring(0, startOffset) + e5.newText + text2.substring(endOffset, text2.length);\n        } else {\n          throw new Error(\"Overlapping edit\");\n        }\n        lastModifiedOffset = startOffset;\n      }\n      return text2;\n    }\n    TextDocument3.applyEdits = applyEdits;\n    function mergeSort2(data, compare) {\n      if (data.length <= 1) {\n        return data;\n      }\n      const p4 = data.length / 2 | 0;\n      const left = data.slice(0, p4);\n      const right = data.slice(p4);\n      mergeSort2(left, compare);\n      mergeSort2(right, compare);\n      let leftIdx = 0;\n      let rightIdx = 0;\n      let i2 = 0;\n      while (leftIdx < left.length && rightIdx < right.length) {\n        let ret = compare(left[leftIdx], right[rightIdx]);\n        if (ret <= 0) {\n          data[i2++] = left[leftIdx++];\n        } else {\n          data[i2++] = right[rightIdx++];\n        }\n      }\n      while (leftIdx < left.length) {\n        data[i2++] = left[leftIdx++];\n      }\n      while (rightIdx < right.length) {\n        data[i2++] = right[rightIdx++];\n      }\n      return data;\n    }\n  })(TextDocument || (TextDocument = {}));\n  var FullTextDocument = class {\n    constructor(uri, languageId, version2, content) {\n      this._uri = uri;\n      this._languageId = languageId;\n      this._version = version2;\n      this._content = content;\n      this._lineOffsets = void 0;\n    }\n    get uri() {\n      return this._uri;\n    }\n    get languageId() {\n      return this._languageId;\n    }\n    get version() {\n      return this._version;\n    }\n    getText(range) {\n      if (range) {\n        let start = this.offsetAt(range.start);\n        let end = this.offsetAt(range.end);\n        return this._content.substring(start, end);\n      }\n      return this._content;\n    }\n    update(event, version2) {\n      this._content = event.text;\n      this._version = version2;\n      this._lineOffsets = void 0;\n    }\n    getLineOffsets() {\n      if (this._lineOffsets === void 0) {\n        let lineOffsets = [];\n        let text2 = this._content;\n        let isLineStart = true;\n        for (let i2 = 0; i2 < text2.length; i2++) {\n          if (isLineStart) {\n            lineOffsets.push(i2);\n            isLineStart = false;\n          }\n          let ch = text2.charAt(i2);\n          isLineStart = ch === \"\\r\" || ch === \"\\n\";\n          if (ch === \"\\r\" && i2 + 1 < text2.length && text2.charAt(i2 + 1) === \"\\n\") {\n            i2++;\n          }\n        }\n        if (isLineStart && text2.length > 0) {\n          lineOffsets.push(text2.length);\n        }\n        this._lineOffsets = lineOffsets;\n      }\n      return this._lineOffsets;\n    }\n    positionAt(offset) {\n      offset = Math.max(Math.min(offset, this._content.length), 0);\n      let lineOffsets = this.getLineOffsets();\n      let low = 0, high = lineOffsets.length;\n      if (high === 0) {\n        return Position.create(0, offset);\n      }\n      while (low < high) {\n        let mid = Math.floor((low + high) / 2);\n        if (lineOffsets[mid] > offset) {\n          high = mid;\n        } else {\n          low = mid + 1;\n        }\n      }\n      let line = low - 1;\n      return Position.create(line, offset - lineOffsets[line]);\n    }\n    offsetAt(position2) {\n      let lineOffsets = this.getLineOffsets();\n      if (position2.line >= lineOffsets.length) {\n        return this._content.length;\n      } else if (position2.line < 0) {\n        return 0;\n      }\n      let lineOffset = lineOffsets[position2.line];\n      let nextLineOffset = position2.line + 1 < lineOffsets.length ? lineOffsets[position2.line + 1] : this._content.length;\n      return Math.max(Math.min(lineOffset + position2.character, nextLineOffset), lineOffset);\n    }\n    get lineCount() {\n      return this.getLineOffsets().length;\n    }\n  };\n  var Is;\n  (function(Is2) {\n    const toString2 = Object.prototype.toString;\n    function defined(value2) {\n      return typeof value2 !== \"undefined\";\n    }\n    Is2.defined = defined;\n    function undefined2(value2) {\n      return typeof value2 === \"undefined\";\n    }\n    Is2.undefined = undefined2;\n    function boolean(value2) {\n      return value2 === true || value2 === false;\n    }\n    Is2.boolean = boolean;\n    function string(value2) {\n      return toString2.call(value2) === \"[object String]\";\n    }\n    Is2.string = string;\n    function number2(value2) {\n      return toString2.call(value2) === \"[object Number]\";\n    }\n    Is2.number = number2;\n    function numberRange(value2, min, max2) {\n      return toString2.call(value2) === \"[object Number]\" && min <= value2 && value2 <= max2;\n    }\n    Is2.numberRange = numberRange;\n    function integer2(value2) {\n      return toString2.call(value2) === \"[object Number]\" && -2147483648 <= value2 && value2 <= 2147483647;\n    }\n    Is2.integer = integer2;\n    function uinteger2(value2) {\n      return toString2.call(value2) === \"[object Number]\" && 0 <= value2 && value2 <= 2147483647;\n    }\n    Is2.uinteger = uinteger2;\n    function func(value2) {\n      return toString2.call(value2) === \"[object Function]\";\n    }\n    Is2.func = func;\n    function objectLiteral(value2) {\n      return value2 !== null && typeof value2 === \"object\";\n    }\n    Is2.objectLiteral = objectLiteral;\n    function typedArray(value2, check) {\n      return Array.isArray(value2) && value2.every(check);\n    }\n    Is2.typedArray = typedArray;\n  })(Is || (Is = {}));\n\n  // node_modules/.pnpm/monaco-tailwindcss@0.6.1_monaco-editor@0.49.0/node_modules/monaco-tailwindcss/tailwindcss.worker.js\n  var import_dlv = __toESM(require_dlv_umd(), 1);\n  var import_dlv2 = __toESM(require_dlv_umd(), 1);\n  var import_dlv3 = __toESM(require_dlv_umd(), 1);\n\n  // node_modules/.pnpm/@csstools+css-tokenizer@2.4.1/node_modules/@csstools/css-tokenizer/dist/index.mjs\n  var ParseError = class extends Error {\n    sourceStart;\n    sourceEnd;\n    parserState;\n    constructor(e5, n2, o2, t2) {\n      super(e5), this.name = \"ParseError\", this.sourceStart = n2, this.sourceEnd = o2, this.parserState = t2;\n    }\n  };\n  var ParseErrorWithToken = class extends ParseError {\n    token;\n    constructor(e5, n2, o2, t2, r3) {\n      super(e5, n2, o2, t2), this.token = r3;\n    }\n  };\n  var e = { UnexpectedNewLineInString: \"Unexpected newline while consuming a string token.\", UnexpectedEOFInString: \"Unexpected EOF while consuming a string token.\", UnexpectedEOFInComment: \"Unexpected EOF while consuming a comment.\", UnexpectedEOFInURL: \"Unexpected EOF while consuming a url token.\", UnexpectedEOFInEscapedCodePoint: \"Unexpected EOF while consuming an escaped code point.\", UnexpectedCharacterInURL: \"Unexpected character while consuming a url token.\", InvalidEscapeSequenceInURL: \"Invalid escape sequence while consuming a url token.\", InvalidEscapeSequenceAfterBackslash: 'Invalid escape sequence after \"\\\\\"' };\n  var Reader = class {\n    cursor = 0;\n    source = \"\";\n    codePointSource = [];\n    representationIndices = [-1];\n    length = 0;\n    representationStart = 0;\n    representationEnd = -1;\n    constructor(e5) {\n      this.source = e5;\n      {\n        let n2 = -1, o2 = \"\";\n        for (o2 of e5) n2 += o2.length, this.codePointSource.push(o2.codePointAt(0)), this.representationIndices.push(n2);\n      }\n      this.length = this.codePointSource.length;\n    }\n    advanceCodePoint(e5 = 1) {\n      this.cursor = this.cursor + e5, this.representationEnd = this.representationIndices[this.cursor];\n    }\n    readCodePoint(e5 = 1) {\n      const n2 = this.codePointSource[this.cursor];\n      return void 0 !== n2 && (this.cursor = this.cursor + e5, this.representationEnd = this.representationIndices[this.cursor], n2);\n    }\n    unreadCodePoint(e5 = 1) {\n      this.cursor = this.cursor - e5, this.representationEnd = this.representationIndices[this.cursor];\n    }\n    resetRepresentation() {\n      this.representationStart = this.representationIndices[this.cursor] + 1, this.representationEnd = -1;\n    }\n  };\n  var n = \"undefined\" != typeof globalThis && \"structuredClone\" in globalThis;\n  function stringify(...e5) {\n    let n2 = \"\";\n    for (let o2 = 0; o2 < e5.length; o2++) n2 += e5[o2][1];\n    return n2;\n  }\n  var o = 39;\n  var t = 42;\n  var r = 8;\n  var i = 13;\n  var s = 9;\n  var c = 58;\n  var a = 44;\n  var u = 64;\n  var d = 127;\n  var p = 33;\n  var P = 12;\n  var S = 46;\n  var C = 62;\n  var l = 45;\n  var f = 31;\n  var m = 69;\n  var h = 101;\n  var k = 123;\n  var E = 40;\n  var T = 91;\n  var v = 60;\n  var g = 10;\n  var I = 11;\n  var U = 95;\n  var O = 1114111;\n  var D = 0;\n  var R = 35;\n  var w = 37;\n  var L = 43;\n  var A = 34;\n  var x = 65533;\n  var W = 92;\n  var y = 125;\n  var F = 41;\n  var q = 93;\n  var N = 59;\n  var b = 14;\n  var B = 47;\n  var H = 32;\n  var V = 117;\n  var K = 85;\n  var z = 114;\n  var M = 82;\n  var $ = 108;\n  var J = 76;\n  var _ = 63;\n  var j = 48;\n  var Q = 70;\n  function checkIfFourCodePointsWouldStartCDO(e5) {\n    return e5.codePointSource[e5.cursor] === v && e5.codePointSource[e5.cursor + 1] === p && e5.codePointSource[e5.cursor + 2] === l && e5.codePointSource[e5.cursor + 3] === l;\n  }\n  function isDigitCodePoint(e5) {\n    return e5 >= 48 && e5 <= 57;\n  }\n  function isUppercaseLetterCodePoint(e5) {\n    return e5 >= 65 && e5 <= 90;\n  }\n  function isLowercaseLetterCodePoint(e5) {\n    return e5 >= 97 && e5 <= 122;\n  }\n  function isHexDigitCodePoint(e5) {\n    return isDigitCodePoint(e5) || e5 >= 97 && e5 <= 102 || e5 >= 65 && e5 <= 70;\n  }\n  function isLetterCodePoint(e5) {\n    return isLowercaseLetterCodePoint(e5) || isUppercaseLetterCodePoint(e5);\n  }\n  function isIdentStartCodePoint(e5) {\n    return isLetterCodePoint(e5) || isNonASCII_IdentCodePoint(e5) || e5 === U;\n  }\n  function isIdentCodePoint(e5) {\n    return isIdentStartCodePoint(e5) || isDigitCodePoint(e5) || e5 === l;\n  }\n  function isNonASCII_IdentCodePoint(e5) {\n    return 183 === e5 || 8204 === e5 || 8205 === e5 || 8255 === e5 || 8256 === e5 || 8204 === e5 || (192 <= e5 && e5 <= 214 || 216 <= e5 && e5 <= 246 || 248 <= e5 && e5 <= 893 || 895 <= e5 && e5 <= 8191 || 8304 <= e5 && e5 <= 8591 || 11264 <= e5 && e5 <= 12271 || 12289 <= e5 && e5 <= 55295 || 63744 <= e5 && e5 <= 64975 || 65008 <= e5 && e5 <= 65533 || e5 >= 65536);\n  }\n  function isNewLine(e5) {\n    return e5 === g || e5 === i || e5 === P;\n  }\n  function isWhitespace(e5) {\n    return e5 === H || e5 === g || e5 === s || e5 === i || e5 === P;\n  }\n  function checkIfTwoCodePointsAreAValidEscape(e5) {\n    return e5.codePointSource[e5.cursor] === W && !isNewLine(e5.codePointSource[e5.cursor + 1]);\n  }\n  function checkIfThreeCodePointsWouldStartAnIdentSequence(e5, n2) {\n    return n2.codePointSource[n2.cursor] === l ? n2.codePointSource[n2.cursor + 1] === l || (!!isIdentStartCodePoint(n2.codePointSource[n2.cursor + 1]) || n2.codePointSource[n2.cursor + 1] === W && !isNewLine(n2.codePointSource[n2.cursor + 2])) : !!isIdentStartCodePoint(n2.codePointSource[n2.cursor]) || checkIfTwoCodePointsAreAValidEscape(n2);\n  }\n  function checkIfThreeCodePointsWouldStartANumber(e5) {\n    return e5.codePointSource[e5.cursor] === L || e5.codePointSource[e5.cursor] === l ? !!isDigitCodePoint(e5.codePointSource[e5.cursor + 1]) || e5.codePointSource[e5.cursor + 1] === S && isDigitCodePoint(e5.codePointSource[e5.cursor + 2]) : e5.codePointSource[e5.cursor] === S ? isDigitCodePoint(e5.codePointSource[e5.cursor + 1]) : isDigitCodePoint(e5.codePointSource[e5.cursor]);\n  }\n  function checkIfTwoCodePointsStartAComment(e5) {\n    return e5.codePointSource[e5.cursor] === B && e5.codePointSource[e5.cursor + 1] === t;\n  }\n  function checkIfThreeCodePointsWouldStartCDC(e5) {\n    return e5.codePointSource[e5.cursor] === l && e5.codePointSource[e5.cursor + 1] === l && e5.codePointSource[e5.cursor + 2] === C;\n  }\n  var G;\n  var X;\n  var Y;\n  function mirrorVariantType(e5) {\n    switch (e5) {\n      case G.OpenParen:\n        return G.CloseParen;\n      case G.CloseParen:\n        return G.OpenParen;\n      case G.OpenCurly:\n        return G.CloseCurly;\n      case G.CloseCurly:\n        return G.OpenCurly;\n      case G.OpenSquare:\n        return G.CloseSquare;\n      case G.CloseSquare:\n        return G.OpenSquare;\n      default:\n        return null;\n    }\n  }\n  function mirrorVariant(e5) {\n    switch (e5[0]) {\n      case G.OpenParen:\n        return [G.CloseParen, \")\", -1, -1, void 0];\n      case G.CloseParen:\n        return [G.OpenParen, \"(\", -1, -1, void 0];\n      case G.OpenCurly:\n        return [G.CloseCurly, \"}\", -1, -1, void 0];\n      case G.CloseCurly:\n        return [G.OpenCurly, \"{\", -1, -1, void 0];\n      case G.OpenSquare:\n        return [G.CloseSquare, \"]\", -1, -1, void 0];\n      case G.CloseSquare:\n        return [G.OpenSquare, \"[\", -1, -1, void 0];\n      default:\n        return null;\n    }\n  }\n  function consumeComment(n2, o2) {\n    for (o2.advanceCodePoint(2); ; ) {\n      const r3 = o2.readCodePoint();\n      if (false === r3) {\n        const t2 = [G.Comment, o2.source.slice(o2.representationStart, o2.representationEnd + 1), o2.representationStart, o2.representationEnd, void 0];\n        return n2.onParseError(new ParseErrorWithToken(e.UnexpectedEOFInComment, o2.representationStart, o2.representationEnd, [\"4.3.2. Consume comments\", \"Unexpected EOF\"], t2)), t2;\n      }\n      if (r3 === t && (void 0 !== o2.codePointSource[o2.cursor] && o2.codePointSource[o2.cursor] === B)) {\n        o2.advanceCodePoint();\n        break;\n      }\n    }\n    return [G.Comment, o2.source.slice(o2.representationStart, o2.representationEnd + 1), o2.representationStart, o2.representationEnd, void 0];\n  }\n  function consumeEscapedCodePoint(n2, o2) {\n    const t2 = o2.readCodePoint();\n    if (false === t2) return n2.onParseError(new ParseError(e.UnexpectedEOFInEscapedCodePoint, o2.representationStart, o2.representationEnd, [\"4.3.7. Consume an escaped code point\", \"Unexpected EOF\"])), x;\n    if (isHexDigitCodePoint(t2)) {\n      const e5 = [t2];\n      for (; void 0 !== o2.codePointSource[o2.cursor] && isHexDigitCodePoint(o2.codePointSource[o2.cursor]) && e5.length < 6; ) e5.push(o2.codePointSource[o2.cursor]), o2.advanceCodePoint();\n      isWhitespace(o2.codePointSource[o2.cursor]) && o2.advanceCodePoint();\n      const n3 = parseInt(String.fromCodePoint(...e5), 16);\n      return 0 === n3 ? x : (r3 = n3) >= 55296 && r3 <= 57343 || n3 > O ? x : n3;\n    }\n    var r3;\n    return t2;\n  }\n  function consumeIdentSequence(e5, n2) {\n    const o2 = [];\n    for (; ; ) if (isIdentCodePoint(n2.codePointSource[n2.cursor])) o2.push(n2.codePointSource[n2.cursor]), n2.advanceCodePoint();\n    else {\n      if (!checkIfTwoCodePointsAreAValidEscape(n2)) return o2;\n      n2.advanceCodePoint(), o2.push(consumeEscapedCodePoint(e5, n2));\n    }\n  }\n  function consumeHashToken(e5, n2) {\n    if (n2.advanceCodePoint(), void 0 !== n2.codePointSource[n2.cursor] && (isIdentCodePoint(n2.codePointSource[n2.cursor]) || checkIfTwoCodePointsAreAValidEscape(n2))) {\n      let o2 = Y.Unrestricted;\n      checkIfThreeCodePointsWouldStartAnIdentSequence(0, n2) && (o2 = Y.ID);\n      const t2 = consumeIdentSequence(e5, n2);\n      return [G.Hash, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: String.fromCodePoint(...t2), type: o2 }];\n    }\n    return [G.Delim, \"#\", n2.representationStart, n2.representationEnd, { value: \"#\" }];\n  }\n  function consumeNumber(e5, n2) {\n    let o2 = X.Integer;\n    for (n2.codePointSource[n2.cursor] !== L && n2.codePointSource[n2.cursor] !== l || n2.advanceCodePoint(); isDigitCodePoint(n2.codePointSource[n2.cursor]); ) n2.advanceCodePoint();\n    if (n2.codePointSource[n2.cursor] === S && isDigitCodePoint(n2.codePointSource[n2.cursor + 1])) for (n2.advanceCodePoint(2), o2 = X.Number; isDigitCodePoint(n2.codePointSource[n2.cursor]); ) n2.advanceCodePoint();\n    if (n2.codePointSource[n2.cursor] === h || n2.codePointSource[n2.cursor] === m) {\n      if (isDigitCodePoint(n2.codePointSource[n2.cursor + 1])) n2.advanceCodePoint(2);\n      else {\n        if (n2.codePointSource[n2.cursor + 1] !== l && n2.codePointSource[n2.cursor + 1] !== L || !isDigitCodePoint(n2.codePointSource[n2.cursor + 2])) return o2;\n        n2.advanceCodePoint(3);\n      }\n      for (o2 = X.Number; isDigitCodePoint(n2.codePointSource[n2.cursor]); ) n2.advanceCodePoint();\n    }\n    return o2;\n  }\n  function consumeNumericToken(e5, n2) {\n    let o2;\n    {\n      const e6 = n2.codePointSource[n2.cursor];\n      e6 === l ? o2 = \"-\" : e6 === L && (o2 = \"+\");\n    }\n    const t2 = consumeNumber(0, n2), r3 = parseFloat(n2.source.slice(n2.representationStart, n2.representationEnd + 1));\n    if (checkIfThreeCodePointsWouldStartAnIdentSequence(0, n2)) {\n      const i2 = consumeIdentSequence(e5, n2);\n      return [G.Dimension, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: r3, signCharacter: o2, type: t2, unit: String.fromCodePoint(...i2) }];\n    }\n    return n2.codePointSource[n2.cursor] === w ? (n2.advanceCodePoint(), [G.Percentage, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: r3, signCharacter: o2 }]) : [G.Number, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: r3, signCharacter: o2, type: t2 }];\n  }\n  function consumeWhiteSpace(e5) {\n    for (; isWhitespace(e5.codePointSource[e5.cursor]); ) e5.advanceCodePoint();\n    return [G.Whitespace, e5.source.slice(e5.representationStart, e5.representationEnd + 1), e5.representationStart, e5.representationEnd, void 0];\n  }\n  function consumeStringToken(n2, o2) {\n    let t2 = \"\";\n    const r3 = o2.readCodePoint();\n    for (; ; ) {\n      const s2 = o2.readCodePoint();\n      if (false === s2) {\n        const r4 = [G.String, o2.source.slice(o2.representationStart, o2.representationEnd + 1), o2.representationStart, o2.representationEnd, { value: t2 }];\n        return n2.onParseError(new ParseErrorWithToken(e.UnexpectedEOFInString, o2.representationStart, o2.representationEnd, [\"4.3.5. Consume a string token\", \"Unexpected EOF\"], r4)), r4;\n      }\n      if (isNewLine(s2)) {\n        o2.unreadCodePoint();\n        const t3 = [G.BadString, o2.source.slice(o2.representationStart, o2.representationEnd + 1), o2.representationStart, o2.representationEnd, void 0];\n        return n2.onParseError(new ParseErrorWithToken(e.UnexpectedNewLineInString, o2.representationStart, o2.codePointSource[o2.cursor] === i && o2.codePointSource[o2.cursor + 1] === g ? o2.representationEnd + 2 : o2.representationEnd + 1, [\"4.3.5. Consume a string token\", \"Unexpected newline\"], t3)), t3;\n      }\n      if (s2 === r3) return [G.String, o2.source.slice(o2.representationStart, o2.representationEnd + 1), o2.representationStart, o2.representationEnd, { value: t2 }];\n      if (s2 !== W) t2 += String.fromCodePoint(s2);\n      else {\n        if (void 0 === o2.codePointSource[o2.cursor]) continue;\n        if (isNewLine(o2.codePointSource[o2.cursor])) {\n          o2.codePointSource[o2.cursor] === i && o2.codePointSource[o2.cursor + 1] === g && o2.advanceCodePoint(), o2.advanceCodePoint();\n          continue;\n        }\n        t2 += String.fromCodePoint(consumeEscapedCodePoint(n2, o2));\n      }\n    }\n  }\n  function checkIfCodePointsMatchURLIdent(e5) {\n    return !(3 !== e5.length || e5[0] !== V && e5[0] !== K || e5[1] !== z && e5[1] !== M || e5[2] !== $ && e5[2] !== J);\n  }\n  function consumeBadURL(e5, n2) {\n    for (; ; ) {\n      if (void 0 === n2.codePointSource[n2.cursor]) return;\n      if (n2.codePointSource[n2.cursor] === F) return void n2.advanceCodePoint();\n      checkIfTwoCodePointsAreAValidEscape(n2) ? (n2.advanceCodePoint(), consumeEscapedCodePoint(e5, n2)) : n2.advanceCodePoint();\n    }\n  }\n  function consumeUrlToken(n2, t2) {\n    for (; isWhitespace(t2.codePointSource[t2.cursor]); ) t2.advanceCodePoint();\n    let i2 = \"\";\n    for (; ; ) {\n      if (void 0 === t2.codePointSource[t2.cursor]) {\n        const o2 = [G.URL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, { value: i2 }];\n        return n2.onParseError(new ParseErrorWithToken(e.UnexpectedEOFInURL, t2.representationStart, t2.representationEnd, [\"4.3.6. Consume a url token\", \"Unexpected EOF\"], o2)), o2;\n      }\n      if (t2.codePointSource[t2.cursor] === F) return t2.advanceCodePoint(), [G.URL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, { value: i2 }];\n      if (isWhitespace(t2.codePointSource[t2.cursor])) {\n        for (t2.advanceCodePoint(); isWhitespace(t2.codePointSource[t2.cursor]); ) t2.advanceCodePoint();\n        if (void 0 === t2.codePointSource[t2.cursor]) {\n          const o2 = [G.URL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, { value: i2 }];\n          return n2.onParseError(new ParseErrorWithToken(e.UnexpectedEOFInURL, t2.representationStart, t2.representationEnd, [\"4.3.6. Consume a url token\", \"Consume as much whitespace as possible\", \"Unexpected EOF\"], o2)), o2;\n        }\n        return t2.codePointSource[t2.cursor] === F ? (t2.advanceCodePoint(), [G.URL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, { value: i2 }]) : (consumeBadURL(n2, t2), [G.BadURL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, void 0]);\n      }\n      if (t2.codePointSource[t2.cursor] === A || t2.codePointSource[t2.cursor] === o || t2.codePointSource[t2.cursor] === E || ((s2 = t2.codePointSource[t2.cursor]) === I || s2 === d || D <= s2 && s2 <= r || b <= s2 && s2 <= f)) {\n        consumeBadURL(n2, t2);\n        const o2 = [G.BadURL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, void 0];\n        return n2.onParseError(new ParseErrorWithToken(e.UnexpectedCharacterInURL, t2.representationStart, t2.representationEnd, [\"4.3.6. Consume a url token\", `Unexpected U+0022 QUOTATION MARK (\"), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`], o2)), o2;\n      }\n      if (t2.codePointSource[t2.cursor] === W) {\n        if (checkIfTwoCodePointsAreAValidEscape(t2)) {\n          t2.advanceCodePoint(), i2 += String.fromCodePoint(consumeEscapedCodePoint(n2, t2));\n          continue;\n        }\n        consumeBadURL(n2, t2);\n        const o2 = [G.BadURL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, void 0];\n        return n2.onParseError(new ParseErrorWithToken(e.InvalidEscapeSequenceInURL, t2.representationStart, t2.representationEnd, [\"4.3.6. Consume a url token\", \"U+005C REVERSE SOLIDUS (\\\\)\", \"The input stream does not start with a valid escape sequence\"], o2)), o2;\n      }\n      i2 += String.fromCodePoint(t2.codePointSource[t2.cursor]), t2.advanceCodePoint();\n    }\n    var s2;\n  }\n  function consumeIdentLikeToken(e5, n2) {\n    const t2 = consumeIdentSequence(e5, n2);\n    if (n2.codePointSource[n2.cursor] !== E) return [G.Ident, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: String.fromCodePoint(...t2) }];\n    if (checkIfCodePointsMatchURLIdent(t2)) {\n      n2.advanceCodePoint();\n      let r3 = 0;\n      for (; ; ) {\n        const e6 = isWhitespace(n2.codePointSource[n2.cursor]), i2 = isWhitespace(n2.codePointSource[n2.cursor + 1]);\n        if (e6 && i2) {\n          r3 += 1, n2.advanceCodePoint(1);\n          continue;\n        }\n        const s2 = e6 ? n2.codePointSource[n2.cursor + 1] : n2.codePointSource[n2.cursor];\n        if (s2 === A || s2 === o) return r3 > 0 && n2.unreadCodePoint(r3), [G.Function, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: String.fromCodePoint(...t2) }];\n        break;\n      }\n      return consumeUrlToken(e5, n2);\n    }\n    return n2.advanceCodePoint(), [G.Function, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { value: String.fromCodePoint(...t2) }];\n  }\n  function checkIfThreeCodePointsWouldStartAUnicodeRange(e5) {\n    return !(e5.codePointSource[e5.cursor] !== V && e5.codePointSource[e5.cursor] !== K || e5.codePointSource[e5.cursor + 1] !== L || e5.codePointSource[e5.cursor + 2] !== _ && !isHexDigitCodePoint(e5.codePointSource[e5.cursor + 2]));\n  }\n  function consumeUnicodeRangeToken(e5, n2) {\n    n2.advanceCodePoint(2);\n    const o2 = [], t2 = [];\n    for (; void 0 !== n2.codePointSource[n2.cursor] && o2.length < 6 && isHexDigitCodePoint(n2.codePointSource[n2.cursor]); ) o2.push(n2.codePointSource[n2.cursor]), n2.advanceCodePoint();\n    for (; void 0 !== n2.codePointSource[n2.cursor] && o2.length < 6 && n2.codePointSource[n2.cursor] === _; ) 0 === t2.length && t2.push(...o2), o2.push(j), t2.push(Q), n2.advanceCodePoint();\n    if (!t2.length && n2.codePointSource[n2.cursor] === l && isHexDigitCodePoint(n2.codePointSource[n2.cursor + 1])) for (n2.advanceCodePoint(); void 0 !== n2.codePointSource[n2.cursor] && t2.length < 6 && isHexDigitCodePoint(n2.codePointSource[n2.cursor]); ) t2.push(n2.codePointSource[n2.cursor]), n2.advanceCodePoint();\n    if (!t2.length) {\n      const e6 = parseInt(String.fromCodePoint(...o2), 16);\n      return [G.UnicodeRange, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { startOfRange: e6, endOfRange: e6 }];\n    }\n    const r3 = parseInt(String.fromCodePoint(...o2), 16), i2 = parseInt(String.fromCodePoint(...t2), 16);\n    return [G.UnicodeRange, n2.source.slice(n2.representationStart, n2.representationEnd + 1), n2.representationStart, n2.representationEnd, { startOfRange: r3, endOfRange: i2 }];\n  }\n  function tokenizer(n2, t2) {\n    const r3 = n2.css.valueOf(), d2 = n2.unicodeRangesAllowed ?? false, p4 = new Reader(r3), C4 = { onParseError: t2?.onParseError ?? noop };\n    return { nextToken: function nextToken() {\n      p4.resetRepresentation();\n      const n3 = p4.codePointSource[p4.cursor];\n      if (void 0 === n3) return [G.EOF, \"\", -1, -1, void 0];\n      if (n3 === B && checkIfTwoCodePointsStartAComment(p4)) return consumeComment(C4, p4);\n      if (d2 && (n3 === V || n3 === K) && checkIfThreeCodePointsWouldStartAUnicodeRange(p4)) return consumeUnicodeRangeToken(0, p4);\n      if (isIdentStartCodePoint(n3)) return consumeIdentLikeToken(C4, p4);\n      if (isDigitCodePoint(n3)) return consumeNumericToken(C4, p4);\n      switch (n3) {\n        case a:\n          return p4.advanceCodePoint(), [G.Comma, \",\", p4.representationStart, p4.representationEnd, void 0];\n        case c:\n          return p4.advanceCodePoint(), [G.Colon, \":\", p4.representationStart, p4.representationEnd, void 0];\n        case N:\n          return p4.advanceCodePoint(), [G.Semicolon, \";\", p4.representationStart, p4.representationEnd, void 0];\n        case E:\n          return p4.advanceCodePoint(), [G.OpenParen, \"(\", p4.representationStart, p4.representationEnd, void 0];\n        case F:\n          return p4.advanceCodePoint(), [G.CloseParen, \")\", p4.representationStart, p4.representationEnd, void 0];\n        case T:\n          return p4.advanceCodePoint(), [G.OpenSquare, \"[\", p4.representationStart, p4.representationEnd, void 0];\n        case q:\n          return p4.advanceCodePoint(), [G.CloseSquare, \"]\", p4.representationStart, p4.representationEnd, void 0];\n        case k:\n          return p4.advanceCodePoint(), [G.OpenCurly, \"{\", p4.representationStart, p4.representationEnd, void 0];\n        case y:\n          return p4.advanceCodePoint(), [G.CloseCurly, \"}\", p4.representationStart, p4.representationEnd, void 0];\n        case o:\n        case A:\n          return consumeStringToken(C4, p4);\n        case R:\n          return consumeHashToken(C4, p4);\n        case L:\n        case S:\n          return checkIfThreeCodePointsWouldStartANumber(p4) ? consumeNumericToken(C4, p4) : (p4.advanceCodePoint(), [G.Delim, p4.source[p4.representationStart], p4.representationStart, p4.representationEnd, { value: p4.source[p4.representationStart] }]);\n        case g:\n        case i:\n        case P:\n        case s:\n        case H:\n          return consumeWhiteSpace(p4);\n        case l:\n          return checkIfThreeCodePointsWouldStartANumber(p4) ? consumeNumericToken(C4, p4) : checkIfThreeCodePointsWouldStartCDC(p4) ? (p4.advanceCodePoint(3), [G.CDC, \"-->\", p4.representationStart, p4.representationEnd, void 0]) : checkIfThreeCodePointsWouldStartAnIdentSequence(0, p4) ? consumeIdentLikeToken(C4, p4) : (p4.advanceCodePoint(), [G.Delim, \"-\", p4.representationStart, p4.representationEnd, { value: \"-\" }]);\n        case v:\n          return checkIfFourCodePointsWouldStartCDO(p4) ? (p4.advanceCodePoint(4), [G.CDO, \"<!--\", p4.representationStart, p4.representationEnd, void 0]) : (p4.advanceCodePoint(), [G.Delim, \"<\", p4.representationStart, p4.representationEnd, { value: \"<\" }]);\n        case u:\n          if (p4.advanceCodePoint(), checkIfThreeCodePointsWouldStartAnIdentSequence(0, p4)) {\n            const e5 = consumeIdentSequence(C4, p4);\n            return [G.AtKeyword, p4.source.slice(p4.representationStart, p4.representationEnd + 1), p4.representationStart, p4.representationEnd, { value: String.fromCodePoint(...e5) }];\n          }\n          return [G.Delim, \"@\", p4.representationStart, p4.representationEnd, { value: \"@\" }];\n        case W: {\n          if (checkIfTwoCodePointsAreAValidEscape(p4)) return consumeIdentLikeToken(C4, p4);\n          p4.advanceCodePoint();\n          const n4 = [G.Delim, \"\\\\\", p4.representationStart, p4.representationEnd, { value: \"\\\\\" }];\n          return C4.onParseError(new ParseErrorWithToken(e.InvalidEscapeSequenceAfterBackslash, p4.representationStart, p4.representationEnd, [\"4.3.1. Consume a token\", \"U+005C REVERSE SOLIDUS (\\\\)\", \"The input stream does not start with a valid escape sequence\"], n4)), n4;\n        }\n      }\n      return p4.advanceCodePoint(), [G.Delim, p4.source[p4.representationStart], p4.representationStart, p4.representationEnd, { value: p4.source[p4.representationStart] }];\n    }, endOfFile: function endOfFile() {\n      return void 0 === p4.codePointSource[p4.cursor];\n    } };\n  }\n  function noop() {\n  }\n  !function(e5) {\n    e5.Comment = \"comment\", e5.AtKeyword = \"at-keyword-token\", e5.BadString = \"bad-string-token\", e5.BadURL = \"bad-url-token\", e5.CDC = \"CDC-token\", e5.CDO = \"CDO-token\", e5.Colon = \"colon-token\", e5.Comma = \"comma-token\", e5.Delim = \"delim-token\", e5.Dimension = \"dimension-token\", e5.EOF = \"EOF-token\", e5.Function = \"function-token\", e5.Hash = \"hash-token\", e5.Ident = \"ident-token\", e5.Number = \"number-token\", e5.Percentage = \"percentage-token\", e5.Semicolon = \"semicolon-token\", e5.String = \"string-token\", e5.URL = \"url-token\", e5.Whitespace = \"whitespace-token\", e5.OpenParen = \"(-token\", e5.CloseParen = \")-token\", e5.OpenSquare = \"[-token\", e5.CloseSquare = \"]-token\", e5.OpenCurly = \"{-token\", e5.CloseCurly = \"}-token\", e5.UnicodeRange = \"unicode-range-token\";\n  }(G || (G = {})), function(e5) {\n    e5.Integer = \"integer\", e5.Number = \"number\";\n  }(X || (X = {})), function(e5) {\n    e5.Unrestricted = \"unrestricted\", e5.ID = \"id\";\n  }(Y || (Y = {}));\n  var Z = Object.values(G);\n  function isToken(e5) {\n    return !!Array.isArray(e5) && (!(e5.length < 4) && (!!Z.includes(e5[0]) && (\"string\" == typeof e5[1] && (\"number\" == typeof e5[2] && \"number\" == typeof e5[3]))));\n  }\n  function isTokenWhiteSpaceOrComment(e5) {\n    switch (e5[0]) {\n      case G.Whitespace:\n      case G.Comment:\n        return true;\n      default:\n        return false;\n    }\n  }\n  function isTokenColon(e5) {\n    return !!e5 && e5[0] === G.Colon;\n  }\n  function isTokenComma(e5) {\n    return !!e5 && e5[0] === G.Comma;\n  }\n  function isTokenComment(e5) {\n    return !!e5 && e5[0] === G.Comment;\n  }\n  function isTokenDelim(e5) {\n    return !!e5 && e5[0] === G.Delim;\n  }\n  function isTokenDimension(e5) {\n    return !!e5 && e5[0] === G.Dimension;\n  }\n  function isTokenEOF(e5) {\n    return !!e5 && e5[0] === G.EOF;\n  }\n  function isTokenFunction(e5) {\n    return !!e5 && e5[0] === G.Function;\n  }\n  function isTokenIdent(e5) {\n    return !!e5 && e5[0] === G.Ident;\n  }\n  function isTokenNumber(e5) {\n    return !!e5 && e5[0] === G.Number;\n  }\n  function isTokenWhitespace(e5) {\n    return !!e5 && e5[0] === G.Whitespace;\n  }\n  function isTokenOpenParen(e5) {\n    return !!e5 && e5[0] === G.OpenParen;\n  }\n  function isTokenCloseParen(e5) {\n    return !!e5 && e5[0] === G.CloseParen;\n  }\n  function isTokenOpenSquare(e5) {\n    return !!e5 && e5[0] === G.OpenSquare;\n  }\n  function isTokenOpenCurly(e5) {\n    return !!e5 && e5[0] === G.OpenCurly;\n  }\n\n  // node_modules/.pnpm/@csstools+css-parser-algorithms@2.7.1_@csstools+css-tokenizer@2.4.1/node_modules/@csstools/css-parser-algorithms/dist/index.mjs\n  var f2;\n  function walkerIndexGenerator(e5) {\n    let n2 = e5.slice();\n    return (e6, t2, o2) => {\n      let s2 = -1;\n      for (let i2 = n2.indexOf(t2); i2 < n2.length && (s2 = e6.indexOf(n2[i2]), -1 === s2 || s2 < o2); i2++) ;\n      return -1 === s2 || s2 === o2 && t2 === e6[o2] && (s2++, s2 >= e6.length) ? -1 : (n2 = e6.slice(), s2);\n    };\n  }\n  function consumeComponentValue(e5, n2) {\n    const t2 = n2[0];\n    if (isTokenOpenParen(t2) || isTokenOpenCurly(t2) || isTokenOpenSquare(t2)) {\n      const t3 = consumeSimpleBlock(e5, n2);\n      return { advance: t3.advance, node: t3.node };\n    }\n    if (isTokenFunction(t2)) {\n      const t3 = consumeFunction(e5, n2);\n      return { advance: t3.advance, node: t3.node };\n    }\n    if (isTokenWhitespace(t2)) {\n      const t3 = consumeWhitespace(e5, n2);\n      return { advance: t3.advance, node: t3.node };\n    }\n    if (isTokenComment(t2)) {\n      const t3 = consumeComment2(e5, n2);\n      return { advance: t3.advance, node: t3.node };\n    }\n    return { advance: 1, node: new TokenNode(t2) };\n  }\n  !function(e5) {\n    e5.Function = \"function\", e5.SimpleBlock = \"simple-block\", e5.Whitespace = \"whitespace\", e5.Comment = \"comment\", e5.Token = \"token\";\n  }(f2 || (f2 = {}));\n  var ContainerNodeBaseClass = class {\n    value = [];\n    indexOf(e5) {\n      return this.value.indexOf(e5);\n    }\n    at(e5) {\n      if (\"number\" == typeof e5) return e5 < 0 && (e5 = this.value.length + e5), this.value[e5];\n    }\n    forEach(e5, n2) {\n      if (0 === this.value.length) return;\n      const t2 = walkerIndexGenerator(this.value);\n      let o2 = 0;\n      for (; o2 < this.value.length; ) {\n        const s2 = this.value[o2];\n        let i2;\n        if (n2 && (i2 = { ...n2 }), false === e5({ node: s2, parent: this, state: i2 }, o2)) return false;\n        if (o2 = t2(this.value, s2, o2), -1 === o2) break;\n      }\n    }\n    walk(e5, n2) {\n      0 !== this.value.length && this.forEach((n3, t2) => false !== e5(n3, t2) && ((!(\"walk\" in n3.node) || !this.value.includes(n3.node) || false !== n3.node.walk(e5, n3.state)) && void 0), n2);\n    }\n  };\n  var FunctionNode = class _FunctionNode extends ContainerNodeBaseClass {\n    type = f2.Function;\n    name;\n    endToken;\n    constructor(e5, n2, t2) {\n      super(), this.name = e5, this.endToken = n2, this.value = t2;\n    }\n    getName() {\n      return this.name[4].value;\n    }\n    normalize() {\n      isTokenEOF(this.endToken) && (this.endToken = [G.CloseParen, \")\", -1, -1, void 0]);\n    }\n    tokens() {\n      return isTokenEOF(this.endToken) ? [this.name, ...this.value.flatMap((e5) => e5.tokens())] : [this.name, ...this.value.flatMap((e5) => e5.tokens()), this.endToken];\n    }\n    toString() {\n      const e5 = this.value.map((e6) => isToken(e6) ? stringify(e6) : e6.toString()).join(\"\");\n      return stringify(this.name) + e5 + stringify(this.endToken);\n    }\n    toJSON() {\n      return { type: this.type, name: this.getName(), tokens: this.tokens(), value: this.value.map((e5) => e5.toJSON()) };\n    }\n    isFunctionNode() {\n      return _FunctionNode.isFunctionNode(this);\n    }\n    static isFunctionNode(e5) {\n      return !!e5 && (e5 instanceof _FunctionNode && e5.type === f2.Function);\n    }\n  };\n  function consumeFunction(n2, t2) {\n    const o2 = [];\n    let s2 = 1;\n    for (; ; ) {\n      const i2 = t2[s2];\n      if (!i2 || isTokenEOF(i2)) return n2.onParseError(new ParseError(\"Unexpected EOF while consuming a function.\", t2[0][2], t2[t2.length - 1][3], [\"5.4.9. Consume a function\", \"Unexpected EOF\"])), { advance: t2.length, node: new FunctionNode(t2[0], i2, o2) };\n      if (isTokenCloseParen(i2)) return { advance: s2 + 1, node: new FunctionNode(t2[0], i2, o2) };\n      if (isTokenWhiteSpaceOrComment(i2)) {\n        const e5 = consumeAllCommentsAndWhitespace(n2, t2.slice(s2));\n        s2 += e5.advance, o2.push(...e5.nodes);\n        continue;\n      }\n      const r3 = consumeComponentValue(n2, t2.slice(s2));\n      s2 += r3.advance, o2.push(r3.node);\n    }\n  }\n  var SimpleBlockNode = class _SimpleBlockNode extends ContainerNodeBaseClass {\n    type = f2.SimpleBlock;\n    startToken;\n    endToken;\n    constructor(e5, n2, t2) {\n      super(), this.startToken = e5, this.endToken = n2, this.value = t2;\n    }\n    normalize() {\n      if (isTokenEOF(this.endToken)) {\n        const e5 = mirrorVariant(this.startToken);\n        e5 && (this.endToken = e5);\n      }\n    }\n    tokens() {\n      return isTokenEOF(this.endToken) ? [this.startToken, ...this.value.flatMap((e5) => e5.tokens())] : [this.startToken, ...this.value.flatMap((e5) => e5.tokens()), this.endToken];\n    }\n    toString() {\n      const e5 = this.value.map((e6) => isToken(e6) ? stringify(e6) : e6.toString()).join(\"\");\n      return stringify(this.startToken) + e5 + stringify(this.endToken);\n    }\n    toJSON() {\n      return { type: this.type, startToken: this.startToken, tokens: this.tokens(), value: this.value.map((e5) => e5.toJSON()) };\n    }\n    isSimpleBlockNode() {\n      return _SimpleBlockNode.isSimpleBlockNode(this);\n    }\n    static isSimpleBlockNode(e5) {\n      return !!e5 && (e5 instanceof _SimpleBlockNode && e5.type === f2.SimpleBlock);\n    }\n  };\n  function consumeSimpleBlock(n2, t2) {\n    const o2 = mirrorVariantType(t2[0][0]);\n    if (!o2) throw new Error(\"Failed to parse, a mirror variant must exist for all block open tokens.\");\n    const s2 = [];\n    let i2 = 1;\n    for (; ; ) {\n      const r3 = t2[i2];\n      if (!r3 || isTokenEOF(r3)) return n2.onParseError(new ParseError(\"Unexpected EOF while consuming a simple block.\", t2[0][2], t2[t2.length - 1][3], [\"5.4.8. Consume a simple block\", \"Unexpected EOF\"])), { advance: t2.length, node: new SimpleBlockNode(t2[0], r3, s2) };\n      if (r3[0] === o2) return { advance: i2 + 1, node: new SimpleBlockNode(t2[0], r3, s2) };\n      if (isTokenWhiteSpaceOrComment(r3)) {\n        const e5 = consumeAllCommentsAndWhitespace(n2, t2.slice(i2));\n        i2 += e5.advance, s2.push(...e5.nodes);\n        continue;\n      }\n      const a2 = consumeComponentValue(n2, t2.slice(i2));\n      i2 += a2.advance, s2.push(a2.node);\n    }\n  }\n  var WhitespaceNode = class _WhitespaceNode {\n    type = f2.Whitespace;\n    value;\n    constructor(e5) {\n      this.value = e5;\n    }\n    tokens() {\n      return this.value;\n    }\n    toString() {\n      return stringify(...this.value);\n    }\n    toJSON() {\n      return { type: this.type, tokens: this.tokens() };\n    }\n    isWhitespaceNode() {\n      return _WhitespaceNode.isWhitespaceNode(this);\n    }\n    static isWhitespaceNode(e5) {\n      return !!e5 && (e5 instanceof _WhitespaceNode && e5.type === f2.Whitespace);\n    }\n  };\n  function consumeWhitespace(e5, n2) {\n    let t2 = 0;\n    for (; ; ) {\n      const e6 = n2[t2];\n      if (!isTokenWhitespace(e6)) return { advance: t2, node: new WhitespaceNode(n2.slice(0, t2)) };\n      t2++;\n    }\n  }\n  var CommentNode = class _CommentNode {\n    type = f2.Comment;\n    value;\n    constructor(e5) {\n      this.value = e5;\n    }\n    tokens() {\n      return [this.value];\n    }\n    toString() {\n      return stringify(this.value);\n    }\n    toJSON() {\n      return { type: this.type, tokens: this.tokens() };\n    }\n    isCommentNode() {\n      return _CommentNode.isCommentNode(this);\n    }\n    static isCommentNode(e5) {\n      return !!e5 && (e5 instanceof _CommentNode && e5.type === f2.Comment);\n    }\n  };\n  function consumeComment2(e5, n2) {\n    return { advance: 1, node: new CommentNode(n2[0]) };\n  }\n  function consumeAllCommentsAndWhitespace(e5, n2) {\n    const t2 = [];\n    let o2 = 0;\n    for (; ; ) if (isTokenWhitespace(n2[o2])) {\n      const e6 = consumeWhitespace(0, n2.slice(o2));\n      o2 += e6.advance, t2.push(e6.node);\n    } else {\n      if (!isTokenComment(n2[o2])) return { advance: o2, nodes: t2 };\n      t2.push(new CommentNode(n2[o2])), o2++;\n    }\n  }\n  var TokenNode = class _TokenNode {\n    type = f2.Token;\n    value;\n    constructor(e5) {\n      this.value = e5;\n    }\n    tokens() {\n      return [this.value];\n    }\n    toString() {\n      return this.value[1];\n    }\n    toJSON() {\n      return { type: this.type, tokens: this.tokens() };\n    }\n    isTokenNod() {\n      return _TokenNode.isTokenNode(this);\n    }\n    static isTokenNode(e5) {\n      return !!e5 && (e5 instanceof _TokenNode && e5.type === f2.Token);\n    }\n  };\n  function parseCommaSeparatedListOfComponentValues(t2, o2) {\n    const s2 = { onParseError: o2?.onParseError ?? (() => {\n    }) }, i2 = [...t2];\n    if (0 === t2.length) return [];\n    isTokenEOF(i2[i2.length - 1]) && i2.push([G.EOF, \"\", i2[i2.length - 1][2], i2[i2.length - 1][3], void 0]);\n    const r3 = [];\n    let a2 = [], c3 = 0;\n    for (; ; ) {\n      if (!i2[c3] || isTokenEOF(i2[c3])) return a2.length && r3.push(a2), r3;\n      if (isTokenComma(i2[c3])) {\n        r3.push(a2), a2 = [], c3++;\n        continue;\n      }\n      const n2 = consumeComponentValue(s2, t2.slice(c3));\n      a2.push(n2.node), c3 += n2.advance;\n    }\n  }\n  function isSimpleBlockNode(e5) {\n    return SimpleBlockNode.isSimpleBlockNode(e5);\n  }\n  function isFunctionNode(e5) {\n    return FunctionNode.isFunctionNode(e5);\n  }\n  function isWhitespaceNode(e5) {\n    return WhitespaceNode.isWhitespaceNode(e5);\n  }\n  function isCommentNode(e5) {\n    return CommentNode.isCommentNode(e5);\n  }\n  function isWhiteSpaceOrCommentNode(e5) {\n    return isWhitespaceNode(e5) || isCommentNode(e5);\n  }\n  function isTokenNode(e5) {\n    return TokenNode.isTokenNode(e5);\n  }\n\n  // node_modules/.pnpm/@csstools+media-query-list-parser@2.1.13_@csstools+css-parser-algorithms@2.7.1_@csstools+css-_mog6yulxq2u6n424uhd5svp2wq/node_modules/@csstools/media-query-list-parser/dist/index.mjs\n  var O2;\n  !function(e5) {\n    e5.CustomMedia = \"custom-media\", e5.GeneralEnclosed = \"general-enclosed\", e5.MediaAnd = \"media-and\", e5.MediaCondition = \"media-condition\", e5.MediaConditionListWithAnd = \"media-condition-list-and\", e5.MediaConditionListWithOr = \"media-condition-list-or\", e5.MediaFeature = \"media-feature\", e5.MediaFeatureBoolean = \"mf-boolean\", e5.MediaFeatureName = \"mf-name\", e5.MediaFeaturePlain = \"mf-plain\", e5.MediaFeatureRangeNameValue = \"mf-range-name-value\", e5.MediaFeatureRangeValueName = \"mf-range-value-name\", e5.MediaFeatureRangeValueNameValue = \"mf-range-value-name-value\", e5.MediaFeatureValue = \"mf-value\", e5.MediaInParens = \"media-in-parens\", e5.MediaNot = \"media-not\", e5.MediaOr = \"media-or\", e5.MediaQueryWithType = \"media-query-with-type\", e5.MediaQueryWithoutType = \"media-query-without-type\", e5.MediaQueryInvalid = \"media-query-invalid\";\n  }(O2 || (O2 = {}));\n  var MediaCondition = class _MediaCondition {\n    type = O2.MediaCondition;\n    media;\n    constructor(e5) {\n      this.media = e5;\n    }\n    tokens() {\n      return this.media.tokens();\n    }\n    toString() {\n      return this.media.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      if (\"media\" === e5) return this.media;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && this.media.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, media: this.media.toJSON() };\n    }\n    isMediaCondition() {\n      return _MediaCondition.isMediaCondition(this);\n    }\n    static isMediaCondition(e5) {\n      return !!e5 && (e5 instanceof _MediaCondition && e5.type === O2.MediaCondition);\n    }\n  };\n  var MediaInParens = class _MediaInParens {\n    type = O2.MediaInParens;\n    media;\n    before;\n    after;\n    constructor(e5, t2 = [], i2 = []) {\n      this.media = e5, this.before = t2, this.after = i2;\n    }\n    tokens() {\n      return [...this.before, ...this.media.tokens(), ...this.after];\n    }\n    toString() {\n      return stringify(...this.before) + this.media.toString() + stringify(...this.after);\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      if (\"media\" === e5) return this.media;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && (\"walk\" in this.media ? this.media.walk(e5, i2) : void 0);\n    }\n    toJSON() {\n      return { type: this.type, media: this.media.toJSON(), before: this.before, after: this.after };\n    }\n    isMediaInParens() {\n      return _MediaInParens.isMediaInParens(this);\n    }\n    static isMediaInParens(e5) {\n      return !!e5 && (e5 instanceof _MediaInParens && e5.type === O2.MediaInParens);\n    }\n  };\n  var MediaQueryWithType = class _MediaQueryWithType {\n    type = O2.MediaQueryWithType;\n    modifier;\n    mediaType;\n    and = void 0;\n    media = void 0;\n    constructor(e5, t2, i2, a2) {\n      this.modifier = e5, this.mediaType = t2, i2 && a2 && (this.and = i2, this.media = a2);\n    }\n    getModifier() {\n      if (!this.modifier.length) return \"\";\n      for (let e5 = 0; e5 < this.modifier.length; e5++) {\n        const t2 = this.modifier[e5];\n        if (isTokenIdent(t2)) return t2[4].value;\n      }\n      return \"\";\n    }\n    negateQuery() {\n      const e5 = new _MediaQueryWithType([...this.modifier], [...this.mediaType], this.and, this.media);\n      if (0 === e5.modifier.length) return e5.modifier = [[G.Ident, \"not\", -1, -1, { value: \"not\" }], [G.Whitespace, \" \", -1, -1, void 0]], e5;\n      for (let t2 = 0; t2 < e5.modifier.length; t2++) {\n        const i2 = e5.modifier[t2];\n        if (isTokenIdent(i2) && \"not\" === i2[4].value.toLowerCase()) {\n          e5.modifier.splice(t2, 1);\n          break;\n        }\n        if (isTokenIdent(i2) && \"only\" === i2[4].value.toLowerCase()) {\n          i2[1] = \"not\", i2[4].value = \"not\";\n          break;\n        }\n      }\n      return e5;\n    }\n    getMediaType() {\n      if (!this.mediaType.length) return \"\";\n      for (let e5 = 0; e5 < this.mediaType.length; e5++) {\n        const t2 = this.mediaType[e5];\n        if (isTokenIdent(t2)) return t2[4].value;\n      }\n      return \"\";\n    }\n    tokens() {\n      return this.and && this.media ? [...this.modifier, ...this.mediaType, ...this.and, ...this.media.tokens()] : [...this.modifier, ...this.mediaType];\n    }\n    toString() {\n      return this.and && this.media ? stringify(...this.modifier) + stringify(...this.mediaType) + stringify(...this.and) + this.media.toString() : stringify(...this.modifier) + stringify(...this.mediaType);\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      if (\"media\" === e5) return this.media;\n    }\n    walk(e5, t2) {\n      let i2;\n      if (t2 && (i2 = { ...t2 }), this.media) return false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && this.media.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, string: this.toString(), modifier: this.modifier, mediaType: this.mediaType, and: this.and, media: this.media };\n    }\n    isMediaQueryWithType() {\n      return _MediaQueryWithType.isMediaQueryWithType(this);\n    }\n    static isMediaQueryWithType(e5) {\n      return !!e5 && (e5 instanceof _MediaQueryWithType && e5.type === O2.MediaQueryWithType);\n    }\n  };\n  var MediaQueryWithoutType = class _MediaQueryWithoutType {\n    type = O2.MediaQueryWithoutType;\n    media;\n    constructor(e5) {\n      this.media = e5;\n    }\n    negateQuery() {\n      let e5 = this.media;\n      if (e5.media.type === O2.MediaNot) return new _MediaQueryWithoutType(new MediaCondition(e5.media.media));\n      e5.media.type === O2.MediaConditionListWithOr && (e5 = new MediaCondition(new MediaInParens(e5, [[G.Whitespace, \" \", 0, 0, void 0], [G.OpenParen, \"(\", 0, 0, void 0]], [[G.CloseParen, \")\", 0, 0, void 0]])));\n      return new MediaQueryWithType([[G.Ident, \"not\", 0, 0, { value: \"not\" }], [G.Whitespace, \" \", 0, 0, void 0]], [[G.Ident, \"all\", 0, 0, { value: \"all\" }], [G.Whitespace, \" \", 0, 0, void 0]], [[G.Ident, \"and\", 0, 0, { value: \"and\" }]], e5);\n    }\n    tokens() {\n      return this.media.tokens();\n    }\n    toString() {\n      return this.media.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      if (\"media\" === e5) return this.media;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && this.media.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, string: this.toString(), media: this.media };\n    }\n    isMediaQueryWithoutType() {\n      return _MediaQueryWithoutType.isMediaQueryWithoutType(this);\n    }\n    static isMediaQueryWithoutType(e5) {\n      return !!e5 && (e5 instanceof _MediaQueryWithoutType && e5.type === O2.MediaQueryWithoutType);\n    }\n  };\n  var MediaQueryInvalid = class _MediaQueryInvalid {\n    type = O2.MediaQueryInvalid;\n    media;\n    constructor(e5) {\n      this.media = e5;\n    }\n    negateQuery() {\n      return new _MediaQueryInvalid(this.media);\n    }\n    tokens() {\n      return this.media.flatMap((e5) => e5.tokens());\n    }\n    toString() {\n      return this.media.map((e5) => e5.toString()).join(\"\");\n    }\n    walk(t2, i2) {\n      if (0 === this.media.length) return;\n      const a2 = walkerIndexGenerator(this.media);\n      let n2 = 0;\n      for (; n2 < this.media.length; ) {\n        const e5 = this.media[n2];\n        let r3;\n        if (i2 && (r3 = { ...i2 }), false === t2({ node: e5, parent: this, state: r3 }, n2)) return false;\n        if (\"walk\" in e5 && this.media.includes(e5) && false === e5.walk(t2, r3)) return false;\n        if (n2 = a2(this.media, e5, n2), -1 === n2) break;\n      }\n    }\n    toJSON() {\n      return { type: this.type, string: this.toString(), media: this.media };\n    }\n    isMediaQueryInvalid() {\n      return _MediaQueryInvalid.isMediaQueryInvalid(this);\n    }\n    static isMediaQueryInvalid(e5) {\n      return !!e5 && (e5 instanceof _MediaQueryInvalid && e5.type === O2.MediaQueryInvalid);\n    }\n  };\n  var GeneralEnclosed = class _GeneralEnclosed {\n    type = O2.GeneralEnclosed;\n    value;\n    constructor(e5) {\n      this.value = e5;\n    }\n    tokens() {\n      return this.value.tokens();\n    }\n    toString() {\n      return this.value.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.value ? \"value\" : -1;\n    }\n    at(e5) {\n      if (\"value\" === e5) return this.value;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.value, parent: this, state: i2 }, \"value\") && (\"walk\" in this.value ? this.value.walk(e5, i2) : void 0);\n    }\n    toJSON() {\n      return { type: this.type, tokens: this.tokens() };\n    }\n    isGeneralEnclosed() {\n      return _GeneralEnclosed.isGeneralEnclosed(this);\n    }\n    static isGeneralEnclosed(e5) {\n      return !!e5 && (e5 instanceof _GeneralEnclosed && e5.type === O2.GeneralEnclosed);\n    }\n  };\n  var MediaAnd = class _MediaAnd {\n    type = O2.MediaAnd;\n    modifier;\n    media;\n    constructor(e5, t2) {\n      this.modifier = e5, this.media = t2;\n    }\n    tokens() {\n      return [...this.modifier, ...this.media.tokens()];\n    }\n    toString() {\n      return stringify(...this.modifier) + this.media.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      return \"media\" === e5 ? this.media : null;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && this.media.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, modifier: this.modifier, media: this.media.toJSON() };\n    }\n    isMediaAnd() {\n      return _MediaAnd.isMediaAnd(this);\n    }\n    static isMediaAnd(e5) {\n      return !!e5 && (e5 instanceof _MediaAnd && e5.type === O2.MediaAnd);\n    }\n  };\n  var MediaConditionListWithAnd = class _MediaConditionListWithAnd {\n    type = O2.MediaConditionListWithAnd;\n    leading;\n    list;\n    before;\n    after;\n    constructor(e5, t2, i2 = [], a2 = []) {\n      this.leading = e5, this.list = t2, this.before = i2, this.after = a2;\n    }\n    tokens() {\n      return [...this.before, ...this.leading.tokens(), ...this.list.flatMap((e5) => e5.tokens()), ...this.after];\n    }\n    toString() {\n      return stringify(...this.before) + this.leading.toString() + this.list.map((e5) => e5.toString()).join(\"\") + stringify(...this.after);\n    }\n    indexOf(e5) {\n      return e5 === this.leading ? \"leading\" : e5.type === O2.MediaAnd ? this.list.indexOf(e5) : -1;\n    }\n    at(e5) {\n      return \"leading\" === e5 ? this.leading : \"number\" == typeof e5 ? (e5 < 0 && (e5 = this.list.length + e5), this.list[e5]) : void 0;\n    }\n    walk(t2, i2) {\n      let a2;\n      if (i2 && (a2 = { ...i2 }), false === t2({ node: this.leading, parent: this, state: a2 }, \"leading\")) return false;\n      if (\"walk\" in this.leading && false === this.leading.walk(t2, a2)) return false;\n      if (0 === this.list.length) return;\n      const n2 = walkerIndexGenerator(this.list);\n      let r3 = 0;\n      for (; r3 < this.list.length; ) {\n        const e5 = this.list[r3];\n        if (i2 && (a2 = { ...i2 }), false === t2({ node: e5, parent: this, state: a2 }, r3)) return false;\n        if (\"walk\" in e5 && this.list.includes(e5) && false === e5.walk(t2, a2)) return false;\n        if (r3 = n2(this.list, e5, r3), -1 === r3) break;\n      }\n    }\n    toJSON() {\n      return { type: this.type, leading: this.leading.toJSON(), list: this.list.map((e5) => e5.toJSON()), before: this.before, after: this.after };\n    }\n    isMediaConditionListWithAnd() {\n      return _MediaConditionListWithAnd.isMediaConditionListWithAnd(this);\n    }\n    static isMediaConditionListWithAnd(e5) {\n      return !!e5 && (e5 instanceof _MediaConditionListWithAnd && e5.type === O2.MediaConditionListWithAnd);\n    }\n  };\n  var MediaConditionListWithOr = class _MediaConditionListWithOr {\n    type = O2.MediaConditionListWithOr;\n    leading;\n    list;\n    before;\n    after;\n    constructor(e5, t2, i2 = [], a2 = []) {\n      this.leading = e5, this.list = t2, this.before = i2, this.after = a2;\n    }\n    tokens() {\n      return [...this.before, ...this.leading.tokens(), ...this.list.flatMap((e5) => e5.tokens()), ...this.after];\n    }\n    toString() {\n      return stringify(...this.before) + this.leading.toString() + this.list.map((e5) => e5.toString()).join(\"\") + stringify(...this.after);\n    }\n    indexOf(e5) {\n      return e5 === this.leading ? \"leading\" : e5.type === O2.MediaOr ? this.list.indexOf(e5) : -1;\n    }\n    at(e5) {\n      return \"leading\" === e5 ? this.leading : \"number\" == typeof e5 ? (e5 < 0 && (e5 = this.list.length + e5), this.list[e5]) : void 0;\n    }\n    walk(t2, i2) {\n      let a2;\n      if (i2 && (a2 = { ...i2 }), false === t2({ node: this.leading, parent: this, state: a2 }, \"leading\")) return false;\n      if (\"walk\" in this.leading && false === this.leading.walk(t2, a2)) return false;\n      if (0 === this.list.length) return;\n      const n2 = walkerIndexGenerator(this.list);\n      let r3 = 0;\n      for (; r3 < this.list.length; ) {\n        const e5 = this.list[r3];\n        if (i2 && (a2 = { ...i2 }), false === t2({ node: e5, parent: this, state: a2 }, r3)) return false;\n        if (\"walk\" in e5 && this.list.includes(e5) && false === e5.walk(t2, a2)) return false;\n        if (r3 = n2(this.list, e5, r3), -1 === r3) break;\n      }\n    }\n    toJSON() {\n      return { type: this.type, leading: this.leading.toJSON(), list: this.list.map((e5) => e5.toJSON()), before: this.before, after: this.after };\n    }\n    isMediaConditionListWithOr() {\n      return _MediaConditionListWithOr.isMediaConditionListWithOr(this);\n    }\n    static isMediaConditionListWithOr(e5) {\n      return !!e5 && (e5 instanceof _MediaConditionListWithOr && e5.type === O2.MediaConditionListWithOr);\n    }\n  };\n  function isNumber(e5) {\n    return !!(isTokenNode(e5) && isTokenNumber(e5.value) || isFunctionNode(e5) && T2.has(e5.getName().toLowerCase()));\n  }\n  var T2 = /* @__PURE__ */ new Set([\"abs\", \"acos\", \"asin\", \"atan\", \"atan2\", \"calc\", \"clamp\", \"cos\", \"exp\", \"hypot\", \"log\", \"max\", \"min\", \"mod\", \"pow\", \"rem\", \"round\", \"sign\", \"sin\", \"sqrt\", \"tan\"]);\n  function isDimension(e5) {\n    return isTokenNode(e5) && isTokenDimension(e5.value);\n  }\n  function isIdent(e5) {\n    return isTokenNode(e5) && isTokenIdent(e5.value);\n  }\n  function isEnvironmentVariable(e5) {\n    return isFunctionNode(e5) && \"env\" === e5.getName().toLowerCase();\n  }\n  var MediaFeatureName = class _MediaFeatureName {\n    type = O2.MediaFeatureName;\n    name;\n    before;\n    after;\n    constructor(e5, t2 = [], i2 = []) {\n      this.name = e5, this.before = t2, this.after = i2;\n    }\n    getName() {\n      return this.name.value[4].value;\n    }\n    getNameToken() {\n      return this.name.value;\n    }\n    tokens() {\n      return [...this.before, ...this.name.tokens(), ...this.after];\n    }\n    toString() {\n      return stringify(...this.before) + this.name.toString() + stringify(...this.after);\n    }\n    indexOf(e5) {\n      return e5 === this.name ? \"name\" : -1;\n    }\n    at(e5) {\n      if (\"name\" === e5) return this.name;\n    }\n    toJSON() {\n      return { type: this.type, name: this.getName(), tokens: this.tokens() };\n    }\n    isMediaFeatureName() {\n      return _MediaFeatureName.isMediaFeatureName(this);\n    }\n    static isMediaFeatureName(e5) {\n      return !!e5 && (e5 instanceof _MediaFeatureName && e5.type === O2.MediaFeatureName);\n    }\n  };\n  function parseMediaFeatureName(e5) {\n    let t2 = -1;\n    for (let i2 = 0; i2 < e5.length; i2++) {\n      const n2 = e5[i2];\n      if (n2.type !== f2.Whitespace && n2.type !== f2.Comment) {\n        if (!isIdent(n2)) return false;\n        if (-1 !== t2) return false;\n        t2 = i2;\n      }\n    }\n    return -1 !== t2 && new MediaFeatureName(e5[t2], e5.slice(0, t2).flatMap((e6) => e6.tokens()), e5.slice(t2 + 1).flatMap((e6) => e6.tokens()));\n  }\n  var MediaFeatureBoolean = class _MediaFeatureBoolean {\n    type = O2.MediaFeatureBoolean;\n    name;\n    constructor(e5) {\n      this.name = e5;\n    }\n    getName() {\n      return this.name.getName();\n    }\n    getNameToken() {\n      return this.name.getNameToken();\n    }\n    tokens() {\n      return this.name.tokens();\n    }\n    toString() {\n      return this.name.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.name ? \"name\" : -1;\n    }\n    at(e5) {\n      if (\"name\" === e5) return this.name;\n    }\n    toJSON() {\n      return { type: this.type, name: this.name.toJSON(), tokens: this.tokens() };\n    }\n    isMediaFeatureBoolean() {\n      return _MediaFeatureBoolean.isMediaFeatureBoolean(this);\n    }\n    static isMediaFeatureBoolean(e5) {\n      return !!e5 && (e5 instanceof _MediaFeatureBoolean && e5.type === O2.MediaFeatureBoolean);\n    }\n  };\n  function parseMediaFeatureBoolean(e5) {\n    const t2 = parseMediaFeatureName(e5);\n    return false === t2 ? t2 : new MediaFeatureBoolean(t2);\n  }\n  var MediaFeatureValue = class _MediaFeatureValue {\n    type = O2.MediaFeatureValue;\n    value;\n    before;\n    after;\n    constructor(e5, t2 = [], i2 = []) {\n      Array.isArray(e5) && 1 === e5.length ? this.value = e5[0] : this.value = e5, this.before = t2, this.after = i2;\n    }\n    tokens() {\n      return Array.isArray(this.value) ? [...this.before, ...this.value.flatMap((e5) => e5.tokens()), ...this.after] : [...this.before, ...this.value.tokens(), ...this.after];\n    }\n    toString() {\n      return Array.isArray(this.value) ? stringify(...this.before) + this.value.map((e5) => e5.toString()).join(\"\") + stringify(...this.after) : stringify(...this.before) + this.value.toString() + stringify(...this.after);\n    }\n    indexOf(e5) {\n      return e5 === this.value ? \"value\" : -1;\n    }\n    at(e5) {\n      return \"value\" === e5 ? this.value : Array.isArray(this.value) && \"number\" == typeof e5 ? (e5 < 0 && (e5 = this.value.length + e5), this.value[e5]) : void 0;\n    }\n    walk(t2, i2) {\n      if (Array.isArray(this.value)) {\n        if (0 === this.value.length) return;\n        const a2 = walkerIndexGenerator(this.value);\n        let n2 = 0;\n        for (; n2 < this.value.length; ) {\n          const e5 = this.value[n2];\n          let r3;\n          if (i2 && (r3 = { ...i2 }), false === t2({ node: e5, parent: this, state: r3 }, n2)) return false;\n          if (\"walk\" in e5 && this.value.includes(e5) && false === e5.walk(t2, r3)) return false;\n          if (n2 = a2(this.value, e5, n2), -1 === n2) break;\n        }\n      } else {\n        let e5;\n        if (i2 && (e5 = { ...i2 }), false === t2({ node: this.value, parent: this, state: e5 }, \"value\")) return false;\n        if (\"walk\" in this.value) return this.value.walk(t2, e5);\n      }\n    }\n    toJSON() {\n      return Array.isArray(this.value) ? { type: this.type, value: this.value.map((e5) => e5.toJSON()), tokens: this.tokens() } : { type: this.type, value: this.value.toJSON(), tokens: this.tokens() };\n    }\n    isMediaFeatureValue() {\n      return _MediaFeatureValue.isMediaFeatureValue(this);\n    }\n    static isMediaFeatureValue(e5) {\n      return !!e5 && (e5 instanceof _MediaFeatureValue && e5.type === O2.MediaFeatureValue);\n    }\n  };\n  function parseMediaFeatureValue(e5, t2 = false) {\n    let i2 = -1, n2 = -1;\n    for (let r3 = 0; r3 < e5.length; r3++) {\n      const s2 = e5[r3];\n      if (s2.type !== f2.Whitespace && s2.type !== f2.Comment) {\n        if (-1 !== i2) return false;\n        if (isNumber(s2)) {\n          const t3 = matchesRatioExactly(e5.slice(r3));\n          if (-1 !== t3) {\n            i2 = t3[0] + r3, n2 = t3[1] + r3, r3 += t3[1] - t3[0];\n            continue;\n          }\n          i2 = r3, n2 = r3;\n        } else if (isEnvironmentVariable(s2)) i2 = r3, n2 = r3;\n        else if (isDimension(s2)) i2 = r3, n2 = r3;\n        else {\n          if (t2 || !isIdent(s2)) return false;\n          i2 = r3, n2 = r3;\n        }\n      }\n    }\n    return -1 !== i2 && new MediaFeatureValue(e5.slice(i2, n2 + 1), e5.slice(0, i2).flatMap((e6) => e6.tokens()), e5.slice(n2 + 1).flatMap((e6) => e6.tokens()));\n  }\n  function matchesRatioExactly(e5) {\n    let t2 = -1, i2 = -1;\n    const a2 = matchesRatio(e5);\n    if (-1 === a2) return -1;\n    t2 = a2[0], i2 = a2[1];\n    for (let t3 = i2 + 1; t3 < e5.length; t3++) {\n      const i3 = e5[t3];\n      if (!isWhiteSpaceOrCommentNode(i3)) return -1;\n    }\n    return [t2, i2];\n  }\n  function matchesRatio(e5) {\n    let i2 = -1, a2 = -1;\n    for (let r3 = 0; r3 < e5.length; r3++) {\n      const s2 = e5[r3];\n      if (!isWhiteSpaceOrCommentNode(s2)) {\n        if (isTokenNode(s2)) {\n          const e6 = s2.value;\n          if (isTokenDelim(e6) && \"/\" === e6[4].value) {\n            if (-1 === i2) return -1;\n            if (-1 !== a2) return -1;\n            a2 = r3;\n            continue;\n          }\n        }\n        if (!isNumber(s2)) return -1;\n        if (-1 !== a2) return [i2, r3];\n        if (-1 !== i2) return -1;\n        i2 = r3;\n      }\n    }\n    return -1;\n  }\n  var MediaFeaturePlain = class _MediaFeaturePlain {\n    type = O2.MediaFeaturePlain;\n    name;\n    colon;\n    value;\n    constructor(e5, t2, i2) {\n      this.name = e5, this.colon = t2, this.value = i2;\n    }\n    getName() {\n      return this.name.getName();\n    }\n    getNameToken() {\n      return this.name.getNameToken();\n    }\n    tokens() {\n      return [...this.name.tokens(), this.colon, ...this.value.tokens()];\n    }\n    toString() {\n      return this.name.toString() + stringify(this.colon) + this.value.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.name ? \"name\" : e5 === this.value ? \"value\" : -1;\n    }\n    at(e5) {\n      return \"name\" === e5 ? this.name : \"value\" === e5 ? this.value : void 0;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.value, parent: this, state: i2 }, \"value\") && this.value.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, name: this.name.toJSON(), value: this.value.toJSON(), tokens: this.tokens() };\n    }\n    isMediaFeaturePlain() {\n      return _MediaFeaturePlain.isMediaFeaturePlain(this);\n    }\n    static isMediaFeaturePlain(e5) {\n      return !!e5 && (e5 instanceof _MediaFeaturePlain && e5.type === O2.MediaFeaturePlain);\n    }\n  };\n  function parseMediaFeaturePlain(e5) {\n    let t2 = [], i2 = [], n2 = null;\n    for (let r4 = 0; r4 < e5.length; r4++) {\n      const s3 = e5[r4];\n      if (s3.type === f2.Token) {\n        const a2 = s3.value;\n        if (isTokenColon(a2)) {\n          t2 = e5.slice(0, r4), i2 = e5.slice(r4 + 1), n2 = a2;\n          break;\n        }\n      }\n    }\n    if (!t2.length || !i2.length || !n2) return false;\n    const r3 = parseMediaFeatureName(t2);\n    if (false === r3) return false;\n    const s2 = parseMediaFeatureValue(i2);\n    return false !== s2 && new MediaFeaturePlain(r3, n2, s2);\n  }\n  var C2;\n  var S2;\n  var Q2;\n  var W2;\n  function matchesComparison(e5) {\n    let t2 = -1;\n    for (let i2 = 0; i2 < e5.length; i2++) {\n      const n2 = e5[i2];\n      if (n2.type === f2.Token) {\n        const e6 = n2.value;\n        if (isTokenDelim(e6)) {\n          if (e6[4].value === Q2.EQ) return -1 !== t2 ? [t2, i2] : [i2, i2];\n          if (e6[4].value === C2.LT) {\n            t2 = i2;\n            continue;\n          }\n          if (e6[4].value === S2.GT) {\n            t2 = i2;\n            continue;\n          }\n        }\n      }\n      break;\n    }\n    return -1 !== t2 && [t2, t2];\n  }\n  function comparisonFromTokens(e5) {\n    if (1 !== e5.length && 2 !== e5.length) return false;\n    if (!isTokenDelim(e5[0])) return false;\n    if (1 === e5.length) switch (e5[0][4].value) {\n      case Q2.EQ:\n        return Q2.EQ;\n      case C2.LT:\n        return C2.LT;\n      case S2.GT:\n        return S2.GT;\n      default:\n        return false;\n    }\n    if (!isTokenDelim(e5[1])) return false;\n    if (e5[1][4].value !== Q2.EQ) return false;\n    switch (e5[0][4].value) {\n      case C2.LT:\n        return C2.LT_OR_EQ;\n      case S2.GT:\n        return S2.GT_OR_EQ;\n      default:\n        return false;\n    }\n  }\n  !function(e5) {\n    e5.LT = \"<\", e5.LT_OR_EQ = \"<=\";\n  }(C2 || (C2 = {})), function(e5) {\n    e5.GT = \">\", e5.GT_OR_EQ = \">=\";\n  }(S2 || (S2 = {})), function(e5) {\n    e5.EQ = \"=\";\n  }(Q2 || (Q2 = {}));\n  var MediaFeatureRangeNameValue = class _MediaFeatureRangeNameValue {\n    type = O2.MediaFeatureRangeNameValue;\n    name;\n    operator;\n    value;\n    constructor(e5, t2, i2) {\n      this.name = e5, this.operator = t2, this.value = i2;\n    }\n    operatorKind() {\n      return comparisonFromTokens(this.operator);\n    }\n    getName() {\n      return this.name.getName();\n    }\n    getNameToken() {\n      return this.name.getNameToken();\n    }\n    tokens() {\n      return [...this.name.tokens(), ...this.operator, ...this.value.tokens()];\n    }\n    toString() {\n      return this.name.toString() + stringify(...this.operator) + this.value.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.name ? \"name\" : e5 === this.value ? \"value\" : -1;\n    }\n    at(e5) {\n      return \"name\" === e5 ? this.name : \"value\" === e5 ? this.value : void 0;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.value, parent: this, state: i2 }, \"value\") && (\"walk\" in this.value ? this.value.walk(e5, i2) : void 0);\n    }\n    toJSON() {\n      return { type: this.type, name: this.name.toJSON(), value: this.value.toJSON(), tokens: this.tokens() };\n    }\n    isMediaFeatureRangeNameValue() {\n      return _MediaFeatureRangeNameValue.isMediaFeatureRangeNameValue(this);\n    }\n    static isMediaFeatureRangeNameValue(e5) {\n      return !!e5 && (e5 instanceof _MediaFeatureRangeNameValue && e5.type === O2.MediaFeatureRangeNameValue);\n    }\n  };\n  var MediaFeatureRangeValueName = class _MediaFeatureRangeValueName {\n    type = O2.MediaFeatureRangeValueName;\n    name;\n    operator;\n    value;\n    constructor(e5, t2, i2) {\n      this.name = e5, this.operator = t2, this.value = i2;\n    }\n    operatorKind() {\n      return comparisonFromTokens(this.operator);\n    }\n    getName() {\n      return this.name.getName();\n    }\n    getNameToken() {\n      return this.name.getNameToken();\n    }\n    tokens() {\n      return [...this.value.tokens(), ...this.operator, ...this.name.tokens()];\n    }\n    toString() {\n      return this.value.toString() + stringify(...this.operator) + this.name.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.name ? \"name\" : e5 === this.value ? \"value\" : -1;\n    }\n    at(e5) {\n      return \"name\" === e5 ? this.name : \"value\" === e5 ? this.value : void 0;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.value, parent: this, state: i2 }, \"value\") && (\"walk\" in this.value ? this.value.walk(e5, i2) : void 0);\n    }\n    toJSON() {\n      return { type: this.type, name: this.name.toJSON(), value: this.value.toJSON(), tokens: this.tokens() };\n    }\n    isMediaFeatureRangeValueName() {\n      return _MediaFeatureRangeValueName.isMediaFeatureRangeValueName(this);\n    }\n    static isMediaFeatureRangeValueName(e5) {\n      return !!e5 && (e5 instanceof _MediaFeatureRangeValueName && e5.type === O2.MediaFeatureRangeValueName);\n    }\n  };\n  var MediaFeatureRangeValueNameValue = class _MediaFeatureRangeValueNameValue {\n    type = O2.MediaFeatureRangeValueNameValue;\n    name;\n    valueOne;\n    valueOneOperator;\n    valueTwo;\n    valueTwoOperator;\n    constructor(e5, t2, i2, a2, n2) {\n      this.name = e5, this.valueOne = t2, this.valueOneOperator = i2, this.valueTwo = a2, this.valueTwoOperator = n2;\n    }\n    valueOneOperatorKind() {\n      return comparisonFromTokens(this.valueOneOperator);\n    }\n    valueTwoOperatorKind() {\n      return comparisonFromTokens(this.valueTwoOperator);\n    }\n    getName() {\n      return this.name.getName();\n    }\n    getNameToken() {\n      return this.name.getNameToken();\n    }\n    tokens() {\n      return [...this.valueOne.tokens(), ...this.valueOneOperator, ...this.name.tokens(), ...this.valueTwoOperator, ...this.valueTwo.tokens()];\n    }\n    toString() {\n      return this.valueOne.toString() + stringify(...this.valueOneOperator) + this.name.toString() + stringify(...this.valueTwoOperator) + this.valueTwo.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.name ? \"name\" : e5 === this.valueOne ? \"valueOne\" : e5 === this.valueTwo ? \"valueTwo\" : -1;\n    }\n    at(e5) {\n      return \"name\" === e5 ? this.name : \"valueOne\" === e5 ? this.valueOne : \"valueTwo\" === e5 ? this.valueTwo : void 0;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.valueOne, parent: this, state: i2 }, \"valueOne\") && ((!(\"walk\" in this.valueOne) || false !== this.valueOne.walk(e5, i2)) && (t2 && (i2 = { ...t2 }), false !== e5({ node: this.valueTwo, parent: this, state: i2 }, \"valueTwo\") && ((!(\"walk\" in this.valueTwo) || false !== this.valueTwo.walk(e5, i2)) && void 0)));\n    }\n    toJSON() {\n      return { type: this.type, name: this.name.toJSON(), valueOne: this.valueOne.toJSON(), valueTwo: this.valueTwo.toJSON(), tokens: this.tokens() };\n    }\n    isMediaFeatureRangeValueNameValue() {\n      return _MediaFeatureRangeValueNameValue.isMediaFeatureRangeValueNameValue(this);\n    }\n    static isMediaFeatureRangeValueNameValue(e5) {\n      return !!e5 && (e5 instanceof _MediaFeatureRangeValueNameValue && e5.type === O2.MediaFeatureRangeValueNameValue);\n    }\n  };\n  function parseMediaFeatureRange(e5) {\n    let t2 = false, i2 = false;\n    for (let n3 = 0; n3 < e5.length; n3++) {\n      const r4 = e5[n3];\n      if (r4.type === f2.Token) {\n        const a2 = r4.value;\n        if (isTokenDelim(a2)) {\n          const a3 = matchesComparison(e5.slice(n3));\n          if (false !== a3) {\n            if (false !== t2) {\n              i2 = [a3[0] + n3, a3[1] + n3];\n              break;\n            }\n            t2 = [a3[0] + n3, a3[1] + n3], n3 += a3[1];\n          }\n        }\n      }\n    }\n    if (false === t2) return false;\n    const n2 = [e5[t2[0]].value];\n    if (t2[0] !== t2[1] && n2.push(e5[t2[1]].value), false === i2) {\n      const i3 = e5.slice(0, t2[0]), a2 = e5.slice(t2[1] + 1), r4 = parseMediaFeatureName(i3);\n      if (r4) {\n        const e6 = parseMediaFeatureValue(a2, true);\n        return !!e6 && new MediaFeatureRangeNameValue(r4, n2, e6);\n      }\n      const s3 = parseMediaFeatureName(a2);\n      if (s3) {\n        const e6 = parseMediaFeatureValue(i3, true);\n        return !!e6 && new MediaFeatureRangeValueName(s3, n2, e6);\n      }\n      return false;\n    }\n    const r3 = [e5[i2[0]].value];\n    i2[0] !== i2[1] && r3.push(e5[i2[1]].value);\n    const s2 = e5.slice(0, t2[0]), o2 = e5.slice(t2[1] + 1, i2[0]), u2 = e5.slice(i2[1] + 1), d2 = parseMediaFeatureValue(s2, true), l2 = parseMediaFeatureName(o2), h2 = parseMediaFeatureValue(u2, true);\n    if (!d2 || !l2 || !h2) return false;\n    {\n      const e6 = comparisonFromTokens(n2);\n      if (false === e6 || e6 === Q2.EQ) return false;\n      const t3 = comparisonFromTokens(r3);\n      if (false === t3 || t3 === Q2.EQ) return false;\n      if (!(e6 !== C2.LT && e6 !== C2.LT_OR_EQ || t3 !== S2.GT && t3 !== S2.GT_OR_EQ)) return false;\n      if (!(e6 !== S2.GT && e6 !== S2.GT_OR_EQ || t3 !== C2.LT && t3 !== C2.LT_OR_EQ)) return false;\n    }\n    return new MediaFeatureRangeValueNameValue(l2, d2, n2, h2, r3);\n  }\n  var MediaFeature = class _MediaFeature {\n    type = O2.MediaFeature;\n    feature;\n    before;\n    after;\n    constructor(e5, t2 = [], i2 = []) {\n      this.feature = e5, this.before = t2, this.after = i2;\n    }\n    getName() {\n      return this.feature.getName();\n    }\n    getNameToken() {\n      return this.feature.getNameToken();\n    }\n    tokens() {\n      return [...this.before, ...this.feature.tokens(), ...this.after];\n    }\n    toString() {\n      return stringify(...this.before) + this.feature.toString() + stringify(...this.after);\n    }\n    indexOf(e5) {\n      return e5 === this.feature ? \"feature\" : -1;\n    }\n    at(e5) {\n      if (\"feature\" === e5) return this.feature;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.feature, parent: this, state: i2 }, \"feature\") && (\"walk\" in this.feature ? this.feature.walk(e5, i2) : void 0);\n    }\n    toJSON() {\n      return { type: this.type, feature: this.feature.toJSON(), before: this.before, after: this.after };\n    }\n    isMediaFeature() {\n      return _MediaFeature.isMediaFeature(this);\n    }\n    static isMediaFeature(e5) {\n      return !!e5 && (e5 instanceof _MediaFeature && e5.type === O2.MediaFeature);\n    }\n  };\n  function parseMediaFeature(e5, t2 = [], i2 = []) {\n    if (!isTokenOpenParen(e5.startToken)) return false;\n    const a2 = parseMediaFeatureBoolean(e5.value);\n    if (false !== a2) return new MediaFeature(a2, t2, i2);\n    const n2 = parseMediaFeaturePlain(e5.value);\n    if (false !== n2) return new MediaFeature(n2, t2, i2);\n    const r3 = parseMediaFeatureRange(e5.value);\n    return false !== r3 && new MediaFeature(r3, t2, i2);\n  }\n  var MediaNot = class _MediaNot {\n    type = O2.MediaNot;\n    modifier;\n    media;\n    constructor(e5, t2) {\n      this.modifier = e5, this.media = t2;\n    }\n    tokens() {\n      return [...this.modifier, ...this.media.tokens()];\n    }\n    toString() {\n      return stringify(...this.modifier) + this.media.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      if (\"media\" === e5) return this.media;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && this.media.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, modifier: this.modifier, media: this.media.toJSON() };\n    }\n    isMediaNot() {\n      return _MediaNot.isMediaNot(this);\n    }\n    static isMediaNot(e5) {\n      return !!e5 && (e5 instanceof _MediaNot && e5.type === O2.MediaNot);\n    }\n  };\n  var MediaOr = class _MediaOr {\n    type = O2.MediaOr;\n    modifier;\n    media;\n    constructor(e5, t2) {\n      this.modifier = e5, this.media = t2;\n    }\n    tokens() {\n      return [...this.modifier, ...this.media.tokens()];\n    }\n    toString() {\n      return stringify(...this.modifier) + this.media.toString();\n    }\n    indexOf(e5) {\n      return e5 === this.media ? \"media\" : -1;\n    }\n    at(e5) {\n      if (\"media\" === e5) return this.media;\n    }\n    walk(e5, t2) {\n      let i2;\n      return t2 && (i2 = { ...t2 }), false !== e5({ node: this.media, parent: this, state: i2 }, \"media\") && this.media.walk(e5, i2);\n    }\n    toJSON() {\n      return { type: this.type, modifier: this.modifier, media: this.media.toJSON() };\n    }\n    isMediaOr() {\n      return _MediaOr.isMediaOr(this);\n    }\n    static isMediaOr(e5) {\n      return !!e5 && (e5 instanceof _MediaOr && e5.type === O2.MediaOr);\n    }\n  };\n  function modifierFromToken(e5) {\n    if (!isTokenIdent(e5)) return false;\n    switch (e5[4].value.toLowerCase()) {\n      case W2.Not:\n        return W2.Not;\n      case W2.Only:\n        return W2.Only;\n      default:\n        return false;\n    }\n  }\n  function parseMediaQuery(e5) {\n    {\n      const t2 = parseMediaCondition(e5);\n      if (false !== t2) return new MediaQueryWithoutType(t2);\n    }\n    {\n      let i2 = -1, a2 = -1, n2 = -1;\n      for (let r4 = 0; r4 < e5.length; r4++) {\n        const s3 = e5[r4];\n        if (!isWhitespaceNode(s3) && !isCommentNode(s3)) {\n          if (isTokenNode(s3)) {\n            const t2 = s3.value;\n            if (-1 === i2 && isTokenIdent(t2) && modifierFromToken(t2)) {\n              i2 = r4;\n              continue;\n            }\n            if (-1 === a2 && isTokenIdent(t2) && !modifierFromToken(t2)) {\n              a2 = r4;\n              continue;\n            }\n            if (-1 === n2 && isTokenIdent(t2) && R2.test(t2[4].value)) {\n              n2 = r4;\n              if (false === parseMediaConditionWithoutOr(e5.slice(r4 + 1))) return false;\n              break;\n            }\n            return false;\n          }\n          return false;\n        }\n      }\n      let r3 = [], s2 = [];\n      -1 !== i2 ? (r3 = e5.slice(0, i2 + 1).flatMap((e6) => e6.tokens()), -1 !== a2 && (s2 = e5.slice(i2 + 1, a2 + 1).flatMap((e6) => e6.tokens()))) : -1 !== a2 && (s2 = e5.slice(0, a2 + 1).flatMap((e6) => e6.tokens()));\n      const d2 = parseMediaConditionWithoutOr(e5.slice(Math.max(i2, a2, n2) + 1));\n      return false === d2 ? new MediaQueryWithType(r3, [...s2, ...e5.slice(a2 + 1).flatMap((e6) => e6.tokens())]) : new MediaQueryWithType(r3, s2, e5.slice(a2 + 1, n2 + 1).flatMap((e6) => e6.tokens()), d2);\n    }\n  }\n  function parseMediaConditionListWithOr(e5) {\n    let t2 = false;\n    const i2 = [];\n    let n2 = -1, r3 = -1;\n    for (let s2 = 0; s2 < e5.length; s2++) {\n      if (t2) {\n        const t3 = parseMediaOr(e5.slice(s2));\n        if (false !== t3) {\n          s2 += t3.advance, i2.push(t3.node), r3 = s2;\n          continue;\n        }\n      }\n      const o2 = e5[s2];\n      if (o2.type !== f2.Whitespace && o2.type !== f2.Comment) {\n        if (t2) return false;\n        if (false !== t2 || !isSimpleBlockNode(o2)) return false;\n        if (o2.normalize(), t2 = parseMediaInParensFromSimpleBlock(o2), false === t2) return false;\n        n2 = s2;\n      }\n    }\n    return !(!t2 || !i2.length) && new MediaConditionListWithOr(t2, i2, e5.slice(0, n2).flatMap((e6) => e6.tokens()), e5.slice(r3 + 1).flatMap((e6) => e6.tokens()));\n  }\n  function parseMediaConditionListWithAnd(e5) {\n    let t2 = false;\n    const i2 = [];\n    let n2 = -1, r3 = -1;\n    for (let s2 = 0; s2 < e5.length; s2++) {\n      if (t2) {\n        const t3 = parseMediaAnd(e5.slice(s2));\n        if (false !== t3) {\n          s2 += t3.advance, i2.push(t3.node), r3 = s2;\n          continue;\n        }\n      }\n      const o2 = e5[s2];\n      if (o2.type !== f2.Whitespace && o2.type !== f2.Comment) {\n        if (t2) return false;\n        if (false !== t2 || !isSimpleBlockNode(o2)) return false;\n        if (o2.normalize(), t2 = parseMediaInParensFromSimpleBlock(o2), false === t2) return false;\n        n2 = s2;\n      }\n    }\n    return !(!t2 || !i2.length) && new MediaConditionListWithAnd(t2, i2, e5.slice(0, n2).flatMap((e6) => e6.tokens()), e5.slice(r3 + 1).flatMap((e6) => e6.tokens()));\n  }\n  function parseMediaCondition(e5) {\n    const t2 = parseMediaNot(e5);\n    if (false !== t2) return new MediaCondition(t2);\n    const i2 = parseMediaConditionListWithAnd(e5);\n    if (false !== i2) return new MediaCondition(i2);\n    const a2 = parseMediaConditionListWithOr(e5);\n    if (false !== a2) return new MediaCondition(a2);\n    const n2 = parseMediaInParens(e5);\n    return false !== n2 && new MediaCondition(n2);\n  }\n  function parseMediaConditionWithoutOr(e5) {\n    const t2 = parseMediaNot(e5);\n    if (false !== t2) return new MediaCondition(t2);\n    const i2 = parseMediaConditionListWithAnd(e5);\n    if (false !== i2) return new MediaCondition(i2);\n    const a2 = parseMediaInParens(e5);\n    return false !== a2 && new MediaCondition(a2);\n  }\n  function parseMediaInParens(e5) {\n    let t2 = -1;\n    for (let i3 = 0; i3 < e5.length; i3++) {\n      const n3 = e5[i3];\n      if (n3.type !== f2.Whitespace && n3.type !== f2.Comment) {\n        if (!isSimpleBlockNode(n3)) return false;\n        if (-1 !== t2) return false;\n        t2 = i3;\n      }\n    }\n    if (-1 === t2) return false;\n    const i2 = e5[t2];\n    if (!isTokenOpenParen(i2.startToken)) return false;\n    i2.normalize();\n    const n2 = [...e5.slice(0, t2).flatMap((e6) => e6.tokens()), i2.startToken], r3 = [i2.endToken, ...e5.slice(t2 + 1).flatMap((e6) => e6.tokens())], s2 = parseMediaFeature(i2, n2, r3);\n    if (false !== s2) return new MediaInParens(s2);\n    const o2 = parseMediaCondition(i2.value);\n    return false !== o2 ? new MediaInParens(o2, n2, r3) : new MediaInParens(new GeneralEnclosed(i2), e5.slice(0, t2).flatMap((e6) => e6.tokens()), e5.slice(t2 + 1).flatMap((e6) => e6.tokens()));\n  }\n  function parseMediaInParensFromSimpleBlock(e5) {\n    if (!isTokenOpenParen(e5.startToken)) return false;\n    const t2 = parseMediaFeature(e5, [e5.startToken], [e5.endToken]);\n    if (false !== t2) return new MediaInParens(t2);\n    const i2 = parseMediaCondition(e5.value);\n    return false !== i2 ? new MediaInParens(i2, [e5.startToken], [e5.endToken]) : new MediaInParens(new GeneralEnclosed(e5));\n  }\n  !function(e5) {\n    e5.Not = \"not\", e5.Only = \"only\";\n  }(W2 || (W2 = {}));\n  var V2 = /^not$/i;\n  function parseMediaNot(e5) {\n    let t2 = false, i2 = null;\n    for (let n2 = 0; n2 < e5.length; n2++) {\n      const r3 = e5[n2];\n      if (r3.type !== f2.Whitespace && r3.type !== f2.Comment) {\n        if (isIdent(r3)) {\n          const e6 = r3.value;\n          if (V2.test(e6[4].value)) {\n            if (t2) return false;\n            t2 = true;\n            continue;\n          }\n          return false;\n        }\n        if (!t2 || !isSimpleBlockNode(r3)) return false;\n        {\n          r3.normalize();\n          const t3 = parseMediaInParensFromSimpleBlock(r3);\n          if (false === t3) return false;\n          i2 = new MediaNot(e5.slice(0, n2).flatMap((e6) => e6.tokens()), t3);\n        }\n      }\n    }\n    return i2 || false;\n  }\n  var L2 = /^or$/i;\n  function parseMediaOr(e5) {\n    let t2 = false;\n    for (let i2 = 0; i2 < e5.length; i2++) {\n      const n2 = e5[i2];\n      if (n2.type !== f2.Whitespace && n2.type !== f2.Comment) {\n        if (isIdent(n2)) {\n          const e6 = n2.value;\n          if (L2.test(e6[4].value)) {\n            if (t2) return false;\n            t2 = true;\n            continue;\n          }\n          return false;\n        }\n        if (t2 && isSimpleBlockNode(n2)) {\n          n2.normalize();\n          const t3 = parseMediaInParensFromSimpleBlock(n2);\n          return false !== t3 && { advance: i2, node: new MediaOr(e5.slice(0, i2).flatMap((e6) => e6.tokens()), t3) };\n        }\n        return false;\n      }\n    }\n    return false;\n  }\n  var R2 = /^and$/i;\n  function parseMediaAnd(e5) {\n    let t2 = false;\n    for (let i2 = 0; i2 < e5.length; i2++) {\n      const n2 = e5[i2];\n      if (n2.type !== f2.Whitespace && n2.type !== f2.Comment) {\n        if (isIdent(n2)) {\n          const e6 = n2.value;\n          if (R2.test(e6[4].value)) {\n            if (t2) return false;\n            t2 = true;\n            continue;\n          }\n          return false;\n        }\n        if (t2 && isSimpleBlockNode(n2)) {\n          n2.normalize();\n          const t3 = parseMediaInParensFromSimpleBlock(n2);\n          return false !== t3 && { advance: i2, node: new MediaAnd(e5.slice(0, i2).flatMap((e6) => e6.tokens()), t3) };\n        }\n        return false;\n      }\n    }\n    return false;\n  }\n  function parseFromTokens(e5, t2) {\n    const i2 = parseCommaSeparatedListOfComponentValues(e5, { onParseError: t2?.onParseError });\n    return i2.map((e6, a2) => {\n      const n2 = parseMediaQuery(e6);\n      return false === n2 && true === t2?.preserveInvalidMediaQueries ? new MediaQueryInvalid(i2[a2]) : n2;\n    }).filter((e6) => !!e6);\n  }\n  function parse(e5, t2) {\n    const i2 = tokenizer({ css: e5 }, { onParseError: t2?.onParseError }), a2 = [];\n    for (; !i2.endOfFile(); ) a2.push(i2.nextToken());\n    return a2.push(i2.nextToken()), parseFromTokens(a2, t2);\n  }\n  var P2;\n  !function(e5) {\n    e5.All = \"all\", e5.Print = \"print\", e5.Screen = \"screen\", e5.Tty = \"tty\", e5.Tv = \"tv\", e5.Projection = \"projection\", e5.Handheld = \"handheld\", e5.Braille = \"braille\", e5.Embossed = \"embossed\", e5.Aural = \"aural\", e5.Speech = \"speech\";\n  }(P2 || (P2 = {}));\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/parseNumber.js\n  var parseNumber = (color2, len) => {\n    if (typeof color2 !== \"number\") return;\n    if (len === 3) {\n      return {\n        mode: \"rgb\",\n        r: (color2 >> 8 & 15 | color2 >> 4 & 240) / 255,\n        g: (color2 >> 4 & 15 | color2 & 240) / 255,\n        b: (color2 & 15 | color2 << 4 & 240) / 255\n      };\n    }\n    if (len === 4) {\n      return {\n        mode: \"rgb\",\n        r: (color2 >> 12 & 15 | color2 >> 8 & 240) / 255,\n        g: (color2 >> 8 & 15 | color2 >> 4 & 240) / 255,\n        b: (color2 >> 4 & 15 | color2 & 240) / 255,\n        alpha: (color2 & 15 | color2 << 4 & 240) / 255\n      };\n    }\n    if (len === 6) {\n      return {\n        mode: \"rgb\",\n        r: (color2 >> 16 & 255) / 255,\n        g: (color2 >> 8 & 255) / 255,\n        b: (color2 & 255) / 255\n      };\n    }\n    if (len === 8) {\n      return {\n        mode: \"rgb\",\n        r: (color2 >> 24 & 255) / 255,\n        g: (color2 >> 16 & 255) / 255,\n        b: (color2 >> 8 & 255) / 255,\n        alpha: (color2 & 255) / 255\n      };\n    }\n  };\n  var parseNumber_default = parseNumber;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/colors/named.js\n  var named = {\n    aliceblue: 15792383,\n    antiquewhite: 16444375,\n    aqua: 65535,\n    aquamarine: 8388564,\n    azure: 15794175,\n    beige: 16119260,\n    bisque: 16770244,\n    black: 0,\n    blanchedalmond: 16772045,\n    blue: 255,\n    blueviolet: 9055202,\n    brown: 10824234,\n    burlywood: 14596231,\n    cadetblue: 6266528,\n    chartreuse: 8388352,\n    chocolate: 13789470,\n    coral: 16744272,\n    cornflowerblue: 6591981,\n    cornsilk: 16775388,\n    crimson: 14423100,\n    cyan: 65535,\n    darkblue: 139,\n    darkcyan: 35723,\n    darkgoldenrod: 12092939,\n    darkgray: 11119017,\n    darkgreen: 25600,\n    darkgrey: 11119017,\n    darkkhaki: 12433259,\n    darkmagenta: 9109643,\n    darkolivegreen: 5597999,\n    darkorange: 16747520,\n    darkorchid: 10040012,\n    darkred: 9109504,\n    darksalmon: 15308410,\n    darkseagreen: 9419919,\n    darkslateblue: 4734347,\n    darkslategray: 3100495,\n    darkslategrey: 3100495,\n    darkturquoise: 52945,\n    darkviolet: 9699539,\n    deeppink: 16716947,\n    deepskyblue: 49151,\n    dimgray: 6908265,\n    dimgrey: 6908265,\n    dodgerblue: 2003199,\n    firebrick: 11674146,\n    floralwhite: 16775920,\n    forestgreen: 2263842,\n    fuchsia: 16711935,\n    gainsboro: 14474460,\n    ghostwhite: 16316671,\n    gold: 16766720,\n    goldenrod: 14329120,\n    gray: 8421504,\n    green: 32768,\n    greenyellow: 11403055,\n    grey: 8421504,\n    honeydew: 15794160,\n    hotpink: 16738740,\n    indianred: 13458524,\n    indigo: 4915330,\n    ivory: 16777200,\n    khaki: 15787660,\n    lavender: 15132410,\n    lavenderblush: 16773365,\n    lawngreen: 8190976,\n    lemonchiffon: 16775885,\n    lightblue: 11393254,\n    lightcoral: 15761536,\n    lightcyan: 14745599,\n    lightgoldenrodyellow: 16448210,\n    lightgray: 13882323,\n    lightgreen: 9498256,\n    lightgrey: 13882323,\n    lightpink: 16758465,\n    lightsalmon: 16752762,\n    lightseagreen: 2142890,\n    lightskyblue: 8900346,\n    lightslategray: 7833753,\n    lightslategrey: 7833753,\n    lightsteelblue: 11584734,\n    lightyellow: 16777184,\n    lime: 65280,\n    limegreen: 3329330,\n    linen: 16445670,\n    magenta: 16711935,\n    maroon: 8388608,\n    mediumaquamarine: 6737322,\n    mediumblue: 205,\n    mediumorchid: 12211667,\n    mediumpurple: 9662683,\n    mediumseagreen: 3978097,\n    mediumslateblue: 8087790,\n    mediumspringgreen: 64154,\n    mediumturquoise: 4772300,\n    mediumvioletred: 13047173,\n    midnightblue: 1644912,\n    mintcream: 16121850,\n    mistyrose: 16770273,\n    moccasin: 16770229,\n    navajowhite: 16768685,\n    navy: 128,\n    oldlace: 16643558,\n    olive: 8421376,\n    olivedrab: 7048739,\n    orange: 16753920,\n    orangered: 16729344,\n    orchid: 14315734,\n    palegoldenrod: 15657130,\n    palegreen: 10025880,\n    paleturquoise: 11529966,\n    palevioletred: 14381203,\n    papayawhip: 16773077,\n    peachpuff: 16767673,\n    peru: 13468991,\n    pink: 16761035,\n    plum: 14524637,\n    powderblue: 11591910,\n    purple: 8388736,\n    // Added in CSS Colors Level 4:\n    // https://drafts.csswg.org/css-color/#changes-from-3\n    rebeccapurple: 6697881,\n    red: 16711680,\n    rosybrown: 12357519,\n    royalblue: 4286945,\n    saddlebrown: 9127187,\n    salmon: 16416882,\n    sandybrown: 16032864,\n    seagreen: 3050327,\n    seashell: 16774638,\n    sienna: 10506797,\n    silver: 12632256,\n    skyblue: 8900331,\n    slateblue: 6970061,\n    slategray: 7372944,\n    slategrey: 7372944,\n    snow: 16775930,\n    springgreen: 65407,\n    steelblue: 4620980,\n    tan: 13808780,\n    teal: 32896,\n    thistle: 14204888,\n    tomato: 16737095,\n    turquoise: 4251856,\n    violet: 15631086,\n    wheat: 16113331,\n    white: 16777215,\n    whitesmoke: 16119285,\n    yellow: 16776960,\n    yellowgreen: 10145074\n  };\n  var named_default = named;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/parseNamed.js\n  var parseNamed = (color2) => {\n    return parseNumber_default(named_default[color2.toLowerCase()], 6);\n  };\n  var parseNamed_default = parseNamed;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/parseHex.js\n  var hex = /^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i;\n  var parseHex = (color2) => {\n    let match;\n    return (match = color2.match(hex)) ? parseNumber_default(parseInt(match[1], 16), match[1].length) : void 0;\n  };\n  var parseHex_default = parseHex;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/util/regex.js\n  var num = \"([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\";\n  var num_none = `(?:${num}|none)`;\n  var per = `${num}%`;\n  var per_none = `(?:${num}%|none)`;\n  var num_per = `(?:${num}%|${num})`;\n  var num_per_none = `(?:${num}%|${num}|none)`;\n  var hue = `(?:${num}(deg|grad|rad|turn)|${num})`;\n  var hue_none = `(?:${num}(deg|grad|rad|turn)|${num}|none)`;\n  var c2 = `\\\\s*,\\\\s*`;\n  var rx_num_per_none = new RegExp(\"^\" + num_per_none + \"$\");\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/parseRgbLegacy.js\n  var rgb_num_old = new RegExp(\n    `^rgba?\\\\(\\\\s*${num}${c2}${num}${c2}${num}\\\\s*(?:,\\\\s*${num_per}\\\\s*)?\\\\)$`\n  );\n  var rgb_per_old = new RegExp(\n    `^rgba?\\\\(\\\\s*${per}${c2}${per}${c2}${per}\\\\s*(?:,\\\\s*${num_per}\\\\s*)?\\\\)$`\n  );\n  var parseRgbLegacy = (color2) => {\n    let res = { mode: \"rgb\" };\n    let match;\n    if (match = color2.match(rgb_num_old)) {\n      if (match[1] !== void 0) {\n        res.r = match[1] / 255;\n      }\n      if (match[2] !== void 0) {\n        res.g = match[2] / 255;\n      }\n      if (match[3] !== void 0) {\n        res.b = match[3] / 255;\n      }\n    } else if (match = color2.match(rgb_per_old)) {\n      if (match[1] !== void 0) {\n        res.r = match[1] / 100;\n      }\n      if (match[2] !== void 0) {\n        res.g = match[2] / 100;\n      }\n      if (match[3] !== void 0) {\n        res.b = match[3] / 100;\n      }\n    } else {\n      return void 0;\n    }\n    if (match[4] !== void 0) {\n      res.alpha = Math.max(0, Math.min(1, match[4] / 100));\n    } else if (match[5] !== void 0) {\n      res.alpha = Math.max(0, Math.min(1, +match[5]));\n    }\n    return res;\n  };\n  var parseRgbLegacy_default = parseRgbLegacy;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/_prepare.js\n  var prepare = (color2, mode) => color2 === void 0 ? void 0 : typeof color2 !== \"object\" ? parse_default(color2) : color2.mode !== void 0 ? color2 : mode ? { ...color2, mode } : void 0;\n  var prepare_default = prepare;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/converter.js\n  var converter = (target_mode = \"rgb\") => (color2) => (color2 = prepare_default(color2, target_mode)) !== void 0 ? (\n    // if the color's mode corresponds to our target mode\n    color2.mode === target_mode ? (\n      // then just return the color\n      color2\n    ) : (\n      // otherwise check to see if we have a dedicated\n      // converter for the target mode\n      converters[color2.mode][target_mode] ? (\n        // and return its result...\n        converters[color2.mode][target_mode](color2)\n      ) : (\n        // ...otherwise pass through RGB as an intermediary step.\n        // if the target mode is RGB...\n        target_mode === \"rgb\" ? (\n          // just return the RGB\n          converters[color2.mode].rgb(color2)\n        ) : (\n          // otherwise convert color.mode -> RGB -> target_mode\n          converters.rgb[target_mode](converters[color2.mode].rgb(color2))\n        )\n      )\n    )\n  ) : void 0;\n  var converter_default = converter;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/modes.js\n  var converters = {};\n  var modes = {};\n  var parsers = [];\n  var colorProfiles = {};\n  var identity = (v2) => v2;\n  var useMode = (definition29) => {\n    converters[definition29.mode] = {\n      ...converters[definition29.mode],\n      ...definition29.toMode\n    };\n    Object.keys(definition29.fromMode || {}).forEach((k5) => {\n      if (!converters[k5]) {\n        converters[k5] = {};\n      }\n      converters[k5][definition29.mode] = definition29.fromMode[k5];\n    });\n    if (!definition29.ranges) {\n      definition29.ranges = {};\n    }\n    if (!definition29.difference) {\n      definition29.difference = {};\n    }\n    definition29.channels.forEach((channel) => {\n      if (definition29.ranges[channel] === void 0) {\n        definition29.ranges[channel] = [0, 1];\n      }\n      if (!definition29.interpolate[channel]) {\n        throw new Error(`Missing interpolator for: ${channel}`);\n      }\n      if (typeof definition29.interpolate[channel] === \"function\") {\n        definition29.interpolate[channel] = {\n          use: definition29.interpolate[channel]\n        };\n      }\n      if (!definition29.interpolate[channel].fixup) {\n        definition29.interpolate[channel].fixup = identity;\n      }\n    });\n    modes[definition29.mode] = definition29;\n    (definition29.parse || []).forEach((parser5) => {\n      useParser(parser5, definition29.mode);\n    });\n    return converter_default(definition29.mode);\n  };\n  var getMode = (mode) => modes[mode];\n  var useParser = (parser5, mode) => {\n    if (typeof parser5 === \"string\") {\n      if (!mode) {\n        throw new Error(`'mode' required when 'parser' is a string`);\n      }\n      colorProfiles[parser5] = mode;\n    } else if (typeof parser5 === \"function\") {\n      if (parsers.indexOf(parser5) < 0) {\n        parsers.push(parser5);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/parse.js\n  var IdentStartCodePoint = /[^\\x00-\\x7F]|[a-zA-Z_]/;\n  var IdentCodePoint = /[^\\x00-\\x7F]|[-\\w]/;\n  var Tok = {\n    Function: \"function\",\n    Ident: \"ident\",\n    Number: \"number\",\n    Percentage: \"percentage\",\n    ParenClose: \")\",\n    None: \"none\",\n    Hue: \"hue\",\n    Alpha: \"alpha\"\n  };\n  var _i = 0;\n  function is_num(chars) {\n    let ch = chars[_i];\n    let ch1 = chars[_i + 1];\n    if (ch === \"-\" || ch === \"+\") {\n      return /\\d/.test(ch1) || ch1 === \".\" && /\\d/.test(chars[_i + 2]);\n    }\n    if (ch === \".\") {\n      return /\\d/.test(ch1);\n    }\n    return /\\d/.test(ch);\n  }\n  function is_ident(chars) {\n    if (_i >= chars.length) {\n      return false;\n    }\n    let ch = chars[_i];\n    if (IdentStartCodePoint.test(ch)) {\n      return true;\n    }\n    if (ch === \"-\") {\n      if (chars.length - _i < 2) {\n        return false;\n      }\n      let ch1 = chars[_i + 1];\n      if (ch1 === \"-\" || IdentStartCodePoint.test(ch1)) {\n        return true;\n      }\n      return false;\n    }\n    return false;\n  }\n  var huenits = {\n    deg: 1,\n    rad: 180 / Math.PI,\n    grad: 9 / 10,\n    turn: 360\n  };\n  function num2(chars) {\n    let value2 = \"\";\n    if (chars[_i] === \"-\" || chars[_i] === \"+\") {\n      value2 += chars[_i++];\n    }\n    value2 += digits(chars);\n    if (chars[_i] === \".\" && /\\d/.test(chars[_i + 1])) {\n      value2 += chars[_i++] + digits(chars);\n    }\n    if (chars[_i] === \"e\" || chars[_i] === \"E\") {\n      if ((chars[_i + 1] === \"-\" || chars[_i + 1] === \"+\") && /\\d/.test(chars[_i + 2])) {\n        value2 += chars[_i++] + chars[_i++] + digits(chars);\n      } else if (/\\d/.test(chars[_i + 1])) {\n        value2 += chars[_i++] + digits(chars);\n      }\n    }\n    if (is_ident(chars)) {\n      let id = ident(chars);\n      if (id === \"deg\" || id === \"rad\" || id === \"turn\" || id === \"grad\") {\n        return { type: Tok.Hue, value: value2 * huenits[id] };\n      }\n      return void 0;\n    }\n    if (chars[_i] === \"%\") {\n      _i++;\n      return { type: Tok.Percentage, value: +value2 };\n    }\n    return { type: Tok.Number, value: +value2 };\n  }\n  function digits(chars) {\n    let v2 = \"\";\n    while (/\\d/.test(chars[_i])) {\n      v2 += chars[_i++];\n    }\n    return v2;\n  }\n  function ident(chars) {\n    let v2 = \"\";\n    while (_i < chars.length && IdentCodePoint.test(chars[_i])) {\n      v2 += chars[_i++];\n    }\n    return v2;\n  }\n  function identlike(chars) {\n    let v2 = ident(chars);\n    if (chars[_i] === \"(\") {\n      _i++;\n      return { type: Tok.Function, value: v2 };\n    }\n    if (v2 === \"none\") {\n      return { type: Tok.None, value: void 0 };\n    }\n    return { type: Tok.Ident, value: v2 };\n  }\n  function tokenize(str = \"\") {\n    let chars = str.trim();\n    let tokens = [];\n    let ch;\n    _i = 0;\n    while (_i < chars.length) {\n      ch = chars[_i++];\n      if (ch === \"\\n\" || ch === \"\t\" || ch === \" \") {\n        while (_i < chars.length && (chars[_i] === \"\\n\" || chars[_i] === \"\t\" || chars[_i] === \" \")) {\n          _i++;\n        }\n        continue;\n      }\n      if (ch === \",\") {\n        return void 0;\n      }\n      if (ch === \")\") {\n        tokens.push({ type: Tok.ParenClose });\n        continue;\n      }\n      if (ch === \"+\") {\n        _i--;\n        if (is_num(chars)) {\n          tokens.push(num2(chars));\n          continue;\n        }\n        return void 0;\n      }\n      if (ch === \"-\") {\n        _i--;\n        if (is_num(chars)) {\n          tokens.push(num2(chars));\n          continue;\n        }\n        if (is_ident(chars)) {\n          tokens.push({ type: Tok.Ident, value: ident(chars) });\n          continue;\n        }\n        return void 0;\n      }\n      if (ch === \".\") {\n        _i--;\n        if (is_num(chars)) {\n          tokens.push(num2(chars));\n          continue;\n        }\n        return void 0;\n      }\n      if (ch === \"/\") {\n        while (_i < chars.length && (chars[_i] === \"\\n\" || chars[_i] === \"\t\" || chars[_i] === \" \")) {\n          _i++;\n        }\n        let alpha;\n        if (is_num(chars)) {\n          alpha = num2(chars);\n          if (alpha.type !== Tok.Hue) {\n            tokens.push({ type: Tok.Alpha, value: alpha });\n            continue;\n          }\n        }\n        if (is_ident(chars)) {\n          if (ident(chars) === \"none\") {\n            tokens.push({\n              type: Tok.Alpha,\n              value: { type: Tok.None, value: void 0 }\n            });\n            continue;\n          }\n        }\n        return void 0;\n      }\n      if (/\\d/.test(ch)) {\n        _i--;\n        tokens.push(num2(chars));\n        continue;\n      }\n      if (IdentStartCodePoint.test(ch)) {\n        _i--;\n        tokens.push(identlike(chars));\n        continue;\n      }\n      return void 0;\n    }\n    return tokens;\n  }\n  function parseColorSyntax(tokens) {\n    tokens._i = 0;\n    let token = tokens[tokens._i++];\n    if (!token || token.type !== Tok.Function || token.value !== \"color\") {\n      return void 0;\n    }\n    token = tokens[tokens._i++];\n    if (token.type !== Tok.Ident) {\n      return void 0;\n    }\n    const mode = colorProfiles[token.value];\n    if (!mode) {\n      return void 0;\n    }\n    const res = { mode };\n    const coords = consumeCoords(tokens, false);\n    if (!coords) {\n      return void 0;\n    }\n    const channels = getMode(mode).channels;\n    for (let ii = 0, c3, ch; ii < channels.length; ii++) {\n      c3 = coords[ii];\n      ch = channels[ii];\n      if (c3.type !== Tok.None) {\n        res[ch] = c3.type === Tok.Number ? c3.value : c3.value / 100;\n        if (ch === \"alpha\") {\n          res[ch] = Math.max(0, Math.min(1, res[ch]));\n        }\n      }\n    }\n    return res;\n  }\n  function consumeCoords(tokens, includeHue) {\n    const coords = [];\n    let token;\n    while (tokens._i < tokens.length) {\n      token = tokens[tokens._i++];\n      if (token.type === Tok.None || token.type === Tok.Number || token.type === Tok.Alpha || token.type === Tok.Percentage || includeHue && token.type === Tok.Hue) {\n        coords.push(token);\n        continue;\n      }\n      if (token.type === Tok.ParenClose) {\n        if (tokens._i < tokens.length) {\n          return void 0;\n        }\n        continue;\n      }\n      return void 0;\n    }\n    if (coords.length < 3 || coords.length > 4) {\n      return void 0;\n    }\n    if (coords.length === 4) {\n      if (coords[3].type !== Tok.Alpha) {\n        return void 0;\n      }\n      coords[3] = coords[3].value;\n    }\n    if (coords.length === 3) {\n      coords.push({ type: Tok.None, value: void 0 });\n    }\n    return coords.every((c3) => c3.type !== Tok.Alpha) ? coords : void 0;\n  }\n  function parseModernSyntax(tokens, includeHue) {\n    tokens._i = 0;\n    let token = tokens[tokens._i++];\n    if (!token || token.type !== Tok.Function) {\n      return void 0;\n    }\n    let coords = consumeCoords(tokens, includeHue);\n    if (!coords) {\n      return void 0;\n    }\n    coords.unshift(token.value);\n    return coords;\n  }\n  var parse2 = (color2) => {\n    if (typeof color2 !== \"string\") {\n      return void 0;\n    }\n    const tokens = tokenize(color2);\n    const parsed = tokens ? parseModernSyntax(tokens, true) : void 0;\n    let result = void 0;\n    let i2 = 0;\n    let len = parsers.length;\n    while (i2 < len) {\n      if ((result = parsers[i2++](color2, parsed)) !== void 0) {\n        return result;\n      }\n    }\n    return tokens ? parseColorSyntax(tokens) : void 0;\n  };\n  var parse_default = parse2;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/parseRgb.js\n  function parseRgb(color2, parsed) {\n    if (!parsed || parsed[0] !== \"rgb\" && parsed[0] !== \"rgba\") {\n      return void 0;\n    }\n    const res = { mode: \"rgb\" };\n    const [, r3, g2, b2, alpha] = parsed;\n    if (r3.type === Tok.Hue || g2.type === Tok.Hue || b2.type === Tok.Hue) {\n      return void 0;\n    }\n    if (r3.type !== Tok.None) {\n      res.r = r3.type === Tok.Number ? r3.value / 255 : r3.value / 100;\n    }\n    if (g2.type !== Tok.None) {\n      res.g = g2.type === Tok.Number ? g2.value / 255 : g2.value / 100;\n    }\n    if (b2.type !== Tok.None) {\n      res.b = b2.type === Tok.Number ? b2.value / 255 : b2.value / 100;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseRgb_default = parseRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/parseTransparent.js\n  var parseTransparent = (c3) => c3 === \"transparent\" ? { mode: \"rgb\", r: 0, g: 0, b: 0, alpha: 0 } : void 0;\n  var parseTransparent_default = parseTransparent;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/interpolate/lerp.js\n  var lerp = (a2, b2, t2) => a2 + t2 * (b2 - a2);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/interpolate/piecewise.js\n  var get_classes = (arr) => {\n    let classes = [];\n    for (let i2 = 0; i2 < arr.length - 1; i2++) {\n      let a2 = arr[i2];\n      let b2 = arr[i2 + 1];\n      if (a2 === void 0 && b2 === void 0) {\n        classes.push(void 0);\n      } else if (a2 !== void 0 && b2 !== void 0) {\n        classes.push([a2, b2]);\n      } else {\n        classes.push(a2 !== void 0 ? [a2, a2] : [b2, b2]);\n      }\n    }\n    return classes;\n  };\n  var interpolatorPiecewise = (interpolator) => (arr) => {\n    let classes = get_classes(arr);\n    return (t2) => {\n      let cls = t2 * classes.length;\n      let idx = t2 >= 1 ? classes.length - 1 : Math.max(Math.floor(cls), 0);\n      let pair = classes[idx];\n      return pair === void 0 ? void 0 : interpolator(pair[0], pair[1], cls - idx);\n    };\n  };\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/interpolate/linear.js\n  var interpolatorLinear = interpolatorPiecewise(lerp);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/fixup/alpha.js\n  var fixupAlpha = (arr) => {\n    let some_defined = false;\n    let res = arr.map((v2) => {\n      if (v2 !== void 0) {\n        some_defined = true;\n        return v2;\n      }\n      return 1;\n    });\n    return some_defined ? res : arr;\n  };\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rgb/definition.js\n  var definition = {\n    mode: \"rgb\",\n    channels: [\"r\", \"g\", \"b\", \"alpha\"],\n    parse: [\n      parseRgb_default,\n      parseHex_default,\n      parseRgbLegacy_default,\n      parseNamed_default,\n      parseTransparent_default,\n      \"srgb\"\n    ],\n    serialize: \"srgb\",\n    interpolate: {\n      r: interpolatorLinear,\n      g: interpolatorLinear,\n      b: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    gamut: true,\n    white: { r: 1, g: 1, b: 1 },\n    black: { r: 0, g: 0, b: 0 }\n  };\n  var definition_default = definition;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/a98/convertA98ToXyz65.js\n  var linearize = (v2 = 0) => Math.pow(Math.abs(v2), 563 / 256) * Math.sign(v2);\n  var convertA98ToXyz65 = (a982) => {\n    let r3 = linearize(a982.r);\n    let g2 = linearize(a982.g);\n    let b2 = linearize(a982.b);\n    let res = {\n      mode: \"xyz65\",\n      x: 0.5766690429101305 * r3 + 0.1855582379065463 * g2 + 0.1882286462349947 * b2,\n      y: 0.297344975250536 * r3 + 0.6273635662554661 * g2 + 0.0752914584939979 * b2,\n      z: 0.0270313613864123 * r3 + 0.0706888525358272 * g2 + 0.9913375368376386 * b2\n    };\n    if (a982.alpha !== void 0) {\n      res.alpha = a982.alpha;\n    }\n    return res;\n  };\n  var convertA98ToXyz65_default = convertA98ToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/a98/convertXyz65ToA98.js\n  var gamma = (v2) => Math.pow(Math.abs(v2), 256 / 563) * Math.sign(v2);\n  var convertXyz65ToA98 = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = {\n      mode: \"a98\",\n      r: gamma(\n        x2 * 2.0415879038107465 - y2 * 0.5650069742788597 - 0.3447313507783297 * z2\n      ),\n      g: gamma(\n        x2 * -0.9692436362808798 + y2 * 1.8759675015077206 + 0.0415550574071756 * z2\n      ),\n      b: gamma(\n        x2 * 0.0134442806320312 - y2 * 0.1183623922310184 + 1.0151749943912058 * z2\n      )\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToA98_default = convertXyz65ToA98;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lrgb/convertRgbToLrgb.js\n  var fn = (c3 = 0) => {\n    const abs2 = Math.abs(c3);\n    if (abs2 <= 0.04045) {\n      return c3 / 12.92;\n    }\n    return (Math.sign(c3) || 1) * Math.pow((abs2 + 0.055) / 1.055, 2.4);\n  };\n  var convertRgbToLrgb = ({ r: r3, g: g2, b: b2, alpha }) => {\n    let res = {\n      mode: \"lrgb\",\n      r: fn(r3),\n      g: fn(g2),\n      b: fn(b2)\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertRgbToLrgb_default = convertRgbToLrgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz65/convertRgbToXyz65.js\n  var convertRgbToXyz65 = (rgb4) => {\n    let { r: r3, g: g2, b: b2, alpha } = convertRgbToLrgb_default(rgb4);\n    let res = {\n      mode: \"xyz65\",\n      x: 0.4123907992659593 * r3 + 0.357584339383878 * g2 + 0.1804807884018343 * b2,\n      y: 0.2126390058715102 * r3 + 0.715168678767756 * g2 + 0.0721923153607337 * b2,\n      z: 0.0193308187155918 * r3 + 0.119194779794626 * g2 + 0.9505321522496607 * b2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertRgbToXyz65_default = convertRgbToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lrgb/convertLrgbToRgb.js\n  var fn2 = (c3 = 0) => {\n    const abs2 = Math.abs(c3);\n    if (abs2 > 31308e-7) {\n      return (Math.sign(c3) || 1) * (1.055 * Math.pow(abs2, 1 / 2.4) - 0.055);\n    }\n    return c3 * 12.92;\n  };\n  var convertLrgbToRgb = ({ r: r3, g: g2, b: b2, alpha }, mode = \"rgb\") => {\n    let res = {\n      mode,\n      r: fn2(r3),\n      g: fn2(g2),\n      b: fn2(b2)\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertLrgbToRgb_default = convertLrgbToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz65/convertXyz65ToRgb.js\n  var convertXyz65ToRgb = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = convertLrgbToRgb_default({\n      r: x2 * 3.2409699419045226 - y2 * 1.537383177570094 - 0.4986107602930034 * z2,\n      g: x2 * -0.9692436362808796 + y2 * 1.8759675015077204 + 0.0415550574071756 * z2,\n      b: x2 * 0.0556300796969936 - y2 * 0.2039769588889765 + 1.0569715142428784 * z2\n    });\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToRgb_default = convertXyz65ToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/a98/definition.js\n  var definition2 = {\n    ...definition_default,\n    mode: \"a98\",\n    parse: [\"a98-rgb\"],\n    serialize: \"a98-rgb\",\n    fromMode: {\n      rgb: (color2) => convertXyz65ToA98_default(convertRgbToXyz65_default(color2)),\n      xyz65: convertXyz65ToA98_default\n    },\n    toMode: {\n      rgb: (color2) => convertXyz65ToRgb_default(convertA98ToXyz65_default(color2)),\n      xyz65: convertA98ToXyz65_default\n    }\n  };\n  var definition_default2 = definition2;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/util/normalizeHue.js\n  var normalizeHue = (hue3) => (hue3 = hue3 % 360) < 0 ? hue3 + 360 : hue3;\n  var normalizeHue_default = normalizeHue;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/fixup/hue.js\n  var hue2 = (hues, fn5) => {\n    return hues.map((hue3, idx, arr) => {\n      if (hue3 === void 0) {\n        return hue3;\n      }\n      let normalized = normalizeHue_default(hue3);\n      if (idx === 0 || hues[idx - 1] === void 0) {\n        return normalized;\n      }\n      return fn5(normalized - normalizeHue_default(arr[idx - 1]));\n    }).reduce((acc, curr) => {\n      if (!acc.length || curr === void 0 || acc[acc.length - 1] === void 0) {\n        acc.push(curr);\n        return acc;\n      }\n      acc.push(curr + acc[acc.length - 1]);\n      return acc;\n    }, []);\n  };\n  var fixupHueShorter = (arr) => hue2(arr, (d2) => Math.abs(d2) <= 180 ? d2 : d2 - 360 * Math.sign(d2));\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/cubehelix/constants.js\n  var M2 = [-0.14861, 1.78277, -0.29227, -0.90649, 1.97294, 0];\n  var degToRad = Math.PI / 180;\n  var radToDeg = 180 / Math.PI;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js\n  var DE = M2[3] * M2[4];\n  var BE = M2[1] * M2[4];\n  var BCAD = M2[1] * M2[2] - M2[0] * M2[3];\n  var convertRgbToCubehelix = ({ r: r3, g: g2, b: b2, alpha }) => {\n    if (r3 === void 0) r3 = 0;\n    if (g2 === void 0) g2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let l2 = (BCAD * b2 + r3 * DE - g2 * BE) / (BCAD + DE - BE);\n    let x2 = b2 - l2;\n    let y2 = (M2[4] * (g2 - l2) - M2[2] * x2) / M2[3];\n    let res = {\n      mode: \"cubehelix\",\n      l: l2,\n      s: l2 === 0 || l2 === 1 ? void 0 : Math.sqrt(x2 * x2 + y2 * y2) / (M2[4] * l2 * (1 - l2))\n    };\n    if (res.s) res.h = Math.atan2(y2, x2) * radToDeg - 120;\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertRgbToCubehelix_default = convertRgbToCubehelix;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/cubehelix/convertCubehelixToRgb.js\n  var convertCubehelixToRgb = ({ h: h2, s: s2, l: l2, alpha }) => {\n    let res = { mode: \"rgb\" };\n    h2 = (h2 === void 0 ? 0 : h2 + 120) * degToRad;\n    if (l2 === void 0) l2 = 0;\n    let amp = s2 === void 0 ? 0 : s2 * l2 * (1 - l2);\n    let cosh = Math.cos(h2);\n    let sinh = Math.sin(h2);\n    res.r = l2 + amp * (M2[0] * cosh + M2[1] * sinh);\n    res.g = l2 + amp * (M2[2] * cosh + M2[3] * sinh);\n    res.b = l2 + amp * (M2[4] * cosh + M2[5] * sinh);\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertCubehelixToRgb_default = convertCubehelixToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/difference.js\n  var differenceHueSaturation = (std, smp) => {\n    if (std.h === void 0 || smp.h === void 0 || !std.s || !smp.s) {\n      return 0;\n    }\n    let std_h = normalizeHue_default(std.h);\n    let smp_h = normalizeHue_default(smp.h);\n    let dH = Math.sin((smp_h - std_h + 360) / 2 * Math.PI / 180);\n    return 2 * Math.sqrt(std.s * smp.s) * dH;\n  };\n  var differenceHueNaive = (std, smp) => {\n    if (std.h === void 0 || smp.h === void 0) {\n      return 0;\n    }\n    let std_h = normalizeHue_default(std.h);\n    let smp_h = normalizeHue_default(smp.h);\n    if (Math.abs(smp_h - std_h) > 180) {\n      return std_h - (smp_h - 360 * Math.sign(smp_h - std_h));\n    }\n    return smp_h - std_h;\n  };\n  var differenceHueChroma = (std, smp) => {\n    if (std.h === void 0 || smp.h === void 0 || !std.c || !smp.c) {\n      return 0;\n    }\n    let std_h = normalizeHue_default(std.h);\n    let smp_h = normalizeHue_default(smp.h);\n    let dH = Math.sin((smp_h - std_h + 360) / 2 * Math.PI / 180);\n    return 2 * Math.sqrt(std.c * smp.c) * dH;\n  };\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/average.js\n  var averageAngle = (val) => {\n    let sum = val.reduce(\n      (sum2, val2) => {\n        if (val2 !== void 0) {\n          let rad = val2 * Math.PI / 180;\n          sum2.sin += Math.sin(rad);\n          sum2.cos += Math.cos(rad);\n        }\n        return sum2;\n      },\n      { sin: 0, cos: 0 }\n    );\n    let angle = Math.atan2(sum.sin, sum.cos) * 180 / Math.PI;\n    return angle < 0 ? 360 + angle : angle;\n  };\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/cubehelix/definition.js\n  var definition3 = {\n    mode: \"cubehelix\",\n    channels: [\"h\", \"s\", \"l\", \"alpha\"],\n    parse: [\"--cubehelix\"],\n    serialize: \"--cubehelix\",\n    ranges: {\n      h: [0, 360],\n      s: [0, 4.614],\n      l: [0, 1]\n    },\n    fromMode: {\n      rgb: convertRgbToCubehelix_default\n    },\n    toMode: {\n      rgb: convertCubehelixToRgb_default\n    },\n    interpolate: {\n      h: {\n        use: interpolatorLinear,\n        fixup: fixupHueShorter\n      },\n      s: interpolatorLinear,\n      l: interpolatorLinear,\n      alpha: {\n        use: interpolatorLinear,\n        fixup: fixupAlpha\n      }\n    },\n    difference: {\n      h: differenceHueSaturation\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default3 = definition3;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lch/convertLabToLch.js\n  var convertLabToLch = ({ l: l2, a: a2, b: b2, alpha }, mode = \"lch\") => {\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let c3 = Math.sqrt(a2 * a2 + b2 * b2);\n    let res = { mode, l: l2, c: c3 };\n    if (c3) res.h = normalizeHue_default(Math.atan2(b2, a2) * 180 / Math.PI);\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertLabToLch_default = convertLabToLch;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lch/convertLchToLab.js\n  var convertLchToLab = ({ l: l2, c: c3, h: h2, alpha }, mode = \"lab\") => {\n    if (h2 === void 0) h2 = 0;\n    let res = {\n      mode,\n      l: l2,\n      a: c3 ? c3 * Math.cos(h2 / 180 * Math.PI) : 0,\n      b: c3 ? c3 * Math.sin(h2 / 180 * Math.PI) : 0\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertLchToLab_default = convertLchToLab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz65/constants.js\n  var k2 = Math.pow(29, 3) / Math.pow(3, 3);\n  var e2 = Math.pow(6, 3) / Math.pow(29, 3);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/constants.js\n  var D50 = {\n    X: 0.3457 / 0.3585,\n    Y: 1,\n    Z: (1 - 0.3457 - 0.3585) / 0.3585\n  };\n  var D65 = {\n    X: 0.3127 / 0.329,\n    Y: 1,\n    Z: (1 - 0.3127 - 0.329) / 0.329\n  };\n  var k3 = Math.pow(29, 3) / Math.pow(3, 3);\n  var e3 = Math.pow(6, 3) / Math.pow(29, 3);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab65/convertLab65ToXyz65.js\n  var fn3 = (v2) => Math.pow(v2, 3) > e2 ? Math.pow(v2, 3) : (116 * v2 - 16) / k2;\n  var convertLab65ToXyz65 = ({ l: l2, a: a2, b: b2, alpha }) => {\n    if (l2 === void 0) l2 = 0;\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let fy = (l2 + 16) / 116;\n    let fx = a2 / 500 + fy;\n    let fz = fy - b2 / 200;\n    let res = {\n      mode: \"xyz65\",\n      x: fn3(fx) * D65.X,\n      y: fn3(fy) * D65.Y,\n      z: fn3(fz) * D65.Z\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertLab65ToXyz65_default = convertLab65ToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab65/convertLab65ToRgb.js\n  var convertLab65ToRgb = (lab2) => convertXyz65ToRgb_default(convertLab65ToXyz65_default(lab2));\n  var convertLab65ToRgb_default = convertLab65ToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab65/convertXyz65ToLab65.js\n  var f3 = (value2) => value2 > e2 ? Math.cbrt(value2) : (k2 * value2 + 16) / 116;\n  var convertXyz65ToLab65 = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let f0 = f3(x2 / D65.X);\n    let f1 = f3(y2 / D65.Y);\n    let f22 = f3(z2 / D65.Z);\n    let res = {\n      mode: \"lab65\",\n      l: 116 * f1 - 16,\n      a: 500 * (f0 - f1),\n      b: 200 * (f1 - f22)\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToLab65_default = convertXyz65ToLab65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab65/convertRgbToLab65.js\n  var convertRgbToLab65 = (rgb4) => {\n    let res = convertXyz65ToLab65_default(convertRgbToXyz65_default(rgb4));\n    if (rgb4.r === rgb4.b && rgb4.b === rgb4.g) {\n      res.a = res.b = 0;\n    }\n    return res;\n  };\n  var convertRgbToLab65_default = convertRgbToLab65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/dlch/constants.js\n  var kE = 1;\n  var kCH = 1;\n  var \\u03B8 = 26 / 180 * Math.PI;\n  var cos\\u03B8 = Math.cos(\\u03B8);\n  var sin\\u03B8 = Math.sin(\\u03B8);\n  var factor = 100 / Math.log(139 / 100);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/dlch/convertDlchToLab65.js\n  var convertDlchToLab65 = ({ l: l2, c: c3, h: h2, alpha }) => {\n    if (l2 === void 0) l2 = 0;\n    if (c3 === void 0) c3 = 0;\n    if (h2 === void 0) h2 = 0;\n    let res = {\n      mode: \"lab65\",\n      l: (Math.exp(l2 * kE / factor) - 1) / 39e-4\n    };\n    let G2 = (Math.exp(0.0435 * c3 * kCH * kE) - 1) / 0.075;\n    let e5 = G2 * Math.cos(h2 / 180 * Math.PI - \\u03B8);\n    let f5 = G2 * Math.sin(h2 / 180 * Math.PI - \\u03B8);\n    res.a = e5 * cos\\u03B8 - f5 / 0.83 * sin\\u03B8;\n    res.b = e5 * sin\\u03B8 + f5 / 0.83 * cos\\u03B8;\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertDlchToLab65_default = convertDlchToLab65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/dlch/convertLab65ToDlch.js\n  var convertLab65ToDlch = ({ l: l2, a: a2, b: b2, alpha }) => {\n    if (l2 === void 0) l2 = 0;\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let e5 = a2 * cos\\u03B8 + b2 * sin\\u03B8;\n    let f5 = 0.83 * (b2 * cos\\u03B8 - a2 * sin\\u03B8);\n    let G2 = Math.sqrt(e5 * e5 + f5 * f5);\n    let res = {\n      mode: \"dlch\",\n      l: factor / kE * Math.log(1 + 39e-4 * l2),\n      c: Math.log(1 + 0.075 * G2) / (0.0435 * kCH * kE)\n    };\n    if (res.c) {\n      res.h = normalizeHue_default((Math.atan2(f5, e5) + \\u03B8) / Math.PI * 180);\n    }\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertLab65ToDlch_default = convertLab65ToDlch;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/dlab/definition.js\n  var convertDlabToLab65 = (c3) => convertDlchToLab65_default(convertLabToLch_default(c3, \"dlch\"));\n  var convertLab65ToDlab = (c3) => convertLchToLab_default(convertLab65ToDlch_default(c3), \"dlab\");\n  var definition4 = {\n    mode: \"dlab\",\n    parse: [\"--din99o-lab\"],\n    serialize: \"--din99o-lab\",\n    toMode: {\n      lab65: convertDlabToLab65,\n      rgb: (c3) => convertLab65ToRgb_default(convertDlabToLab65(c3))\n    },\n    fromMode: {\n      lab65: convertLab65ToDlab,\n      rgb: (c3) => convertLab65ToDlab(convertRgbToLab65_default(c3))\n    },\n    channels: [\"l\", \"a\", \"b\", \"alpha\"],\n    ranges: {\n      l: [0, 100],\n      a: [-40.09, 45.501],\n      b: [-40.469, 44.344]\n    },\n    interpolate: {\n      l: interpolatorLinear,\n      a: interpolatorLinear,\n      b: interpolatorLinear,\n      alpha: {\n        use: interpolatorLinear,\n        fixup: fixupAlpha\n      }\n    }\n  };\n  var definition_default4 = definition4;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/dlch/definition.js\n  var definition5 = {\n    mode: \"dlch\",\n    parse: [\"--din99o-lch\"],\n    serialize: \"--din99o-lch\",\n    toMode: {\n      lab65: convertDlchToLab65_default,\n      dlab: (c3) => convertLchToLab_default(c3, \"dlab\"),\n      rgb: (c3) => convertLab65ToRgb_default(convertDlchToLab65_default(c3))\n    },\n    fromMode: {\n      lab65: convertLab65ToDlch_default,\n      dlab: (c3) => convertLabToLch_default(c3, \"dlch\"),\n      rgb: (c3) => convertLab65ToDlch_default(convertRgbToLab65_default(c3))\n    },\n    channels: [\"l\", \"c\", \"h\", \"alpha\"],\n    ranges: {\n      l: [0, 100],\n      c: [0, 51.484],\n      h: [0, 360]\n    },\n    interpolate: {\n      l: interpolatorLinear,\n      c: interpolatorLinear,\n      h: {\n        use: interpolatorLinear,\n        fixup: fixupHueShorter\n      },\n      alpha: {\n        use: interpolatorLinear,\n        fixup: fixupAlpha\n      }\n    },\n    difference: {\n      h: differenceHueChroma\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default5 = definition5;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsi/convertHsiToRgb.js\n  function convertHsiToRgb({ h: h2, s: s2, i: i2, alpha }) {\n    h2 = normalizeHue_default(h2 !== void 0 ? h2 : 0);\n    if (s2 === void 0) s2 = 0;\n    if (i2 === void 0) i2 = 0;\n    let f5 = Math.abs(h2 / 60 % 2 - 1);\n    let res;\n    switch (Math.floor(h2 / 60)) {\n      case 0:\n        res = {\n          r: i2 * (1 + s2 * (3 / (2 - f5) - 1)),\n          g: i2 * (1 + s2 * (3 * (1 - f5) / (2 - f5) - 1)),\n          b: i2 * (1 - s2)\n        };\n        break;\n      case 1:\n        res = {\n          r: i2 * (1 + s2 * (3 * (1 - f5) / (2 - f5) - 1)),\n          g: i2 * (1 + s2 * (3 / (2 - f5) - 1)),\n          b: i2 * (1 - s2)\n        };\n        break;\n      case 2:\n        res = {\n          r: i2 * (1 - s2),\n          g: i2 * (1 + s2 * (3 / (2 - f5) - 1)),\n          b: i2 * (1 + s2 * (3 * (1 - f5) / (2 - f5) - 1))\n        };\n        break;\n      case 3:\n        res = {\n          r: i2 * (1 - s2),\n          g: i2 * (1 + s2 * (3 * (1 - f5) / (2 - f5) - 1)),\n          b: i2 * (1 + s2 * (3 / (2 - f5) - 1))\n        };\n        break;\n      case 4:\n        res = {\n          r: i2 * (1 + s2 * (3 * (1 - f5) / (2 - f5) - 1)),\n          g: i2 * (1 - s2),\n          b: i2 * (1 + s2 * (3 / (2 - f5) - 1))\n        };\n        break;\n      case 5:\n        res = {\n          r: i2 * (1 + s2 * (3 / (2 - f5) - 1)),\n          g: i2 * (1 - s2),\n          b: i2 * (1 + s2 * (3 * (1 - f5) / (2 - f5) - 1))\n        };\n        break;\n      default:\n        res = { r: i2 * (1 - s2), g: i2 * (1 - s2), b: i2 * (1 - s2) };\n    }\n    res.mode = \"rgb\";\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsi/convertRgbToHsi.js\n  function convertRgbToHsi({ r: r3, g: g2, b: b2, alpha }) {\n    if (r3 === void 0) r3 = 0;\n    if (g2 === void 0) g2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let M3 = Math.max(r3, g2, b2), m2 = Math.min(r3, g2, b2);\n    let res = {\n      mode: \"hsi\",\n      s: r3 + g2 + b2 === 0 ? 0 : 1 - 3 * m2 / (r3 + g2 + b2),\n      i: (r3 + g2 + b2) / 3\n    };\n    if (M3 - m2 !== 0)\n      res.h = (M3 === r3 ? (g2 - b2) / (M3 - m2) + (g2 < b2) * 6 : M3 === g2 ? (b2 - r3) / (M3 - m2) + 2 : (r3 - g2) / (M3 - m2) + 4) * 60;\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsi/definition.js\n  var definition6 = {\n    mode: \"hsi\",\n    toMode: {\n      rgb: convertHsiToRgb\n    },\n    parse: [\"--hsi\"],\n    serialize: \"--hsi\",\n    fromMode: {\n      rgb: convertRgbToHsi\n    },\n    channels: [\"h\", \"s\", \"i\", \"alpha\"],\n    ranges: {\n      h: [0, 360]\n    },\n    gamut: \"rgb\",\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      s: interpolatorLinear,\n      i: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueSaturation\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default6 = definition6;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsl/convertHslToRgb.js\n  function convertHslToRgb({ h: h2, s: s2, l: l2, alpha }) {\n    h2 = normalizeHue_default(h2 !== void 0 ? h2 : 0);\n    if (s2 === void 0) s2 = 0;\n    if (l2 === void 0) l2 = 0;\n    let m1 = l2 + s2 * (l2 < 0.5 ? l2 : 1 - l2);\n    let m2 = m1 - (m1 - l2) * 2 * Math.abs(h2 / 60 % 2 - 1);\n    let res;\n    switch (Math.floor(h2 / 60)) {\n      case 0:\n        res = { r: m1, g: m2, b: 2 * l2 - m1 };\n        break;\n      case 1:\n        res = { r: m2, g: m1, b: 2 * l2 - m1 };\n        break;\n      case 2:\n        res = { r: 2 * l2 - m1, g: m1, b: m2 };\n        break;\n      case 3:\n        res = { r: 2 * l2 - m1, g: m2, b: m1 };\n        break;\n      case 4:\n        res = { r: m2, g: 2 * l2 - m1, b: m1 };\n        break;\n      case 5:\n        res = { r: m1, g: 2 * l2 - m1, b: m2 };\n        break;\n      default:\n        res = { r: 2 * l2 - m1, g: 2 * l2 - m1, b: 2 * l2 - m1 };\n    }\n    res.mode = \"rgb\";\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsl/convertRgbToHsl.js\n  function convertRgbToHsl({ r: r3, g: g2, b: b2, alpha }) {\n    if (r3 === void 0) r3 = 0;\n    if (g2 === void 0) g2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let M3 = Math.max(r3, g2, b2), m2 = Math.min(r3, g2, b2);\n    let res = {\n      mode: \"hsl\",\n      s: M3 === m2 ? 0 : (M3 - m2) / (1 - Math.abs(M3 + m2 - 1)),\n      l: 0.5 * (M3 + m2)\n    };\n    if (M3 - m2 !== 0)\n      res.h = (M3 === r3 ? (g2 - b2) / (M3 - m2) + (g2 < b2) * 6 : M3 === g2 ? (b2 - r3) / (M3 - m2) + 2 : (r3 - g2) / (M3 - m2) + 4) * 60;\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/util/hue.js\n  var hueToDeg = (val, unit) => {\n    switch (unit) {\n      case \"deg\":\n        return +val;\n      case \"rad\":\n        return val / Math.PI * 180;\n      case \"grad\":\n        return val / 10 * 9;\n      case \"turn\":\n        return val * 360;\n    }\n  };\n  var hue_default = hueToDeg;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsl/parseHslLegacy.js\n  var hsl_old = new RegExp(\n    `^hsla?\\\\(\\\\s*${hue}${c2}${per}${c2}${per}\\\\s*(?:,\\\\s*${num_per}\\\\s*)?\\\\)$`\n  );\n  var parseHslLegacy = (color2) => {\n    let match = color2.match(hsl_old);\n    if (!match) return;\n    let res = { mode: \"hsl\" };\n    if (match[3] !== void 0) {\n      res.h = +match[3];\n    } else if (match[1] !== void 0 && match[2] !== void 0) {\n      res.h = hue_default(match[1], match[2]);\n    }\n    if (match[4] !== void 0) {\n      res.s = Math.min(Math.max(0, match[4] / 100), 1);\n    }\n    if (match[5] !== void 0) {\n      res.l = Math.min(Math.max(0, match[5] / 100), 1);\n    }\n    if (match[6] !== void 0) {\n      res.alpha = Math.max(0, Math.min(1, match[6] / 100));\n    } else if (match[7] !== void 0) {\n      res.alpha = Math.max(0, Math.min(1, +match[7]));\n    }\n    return res;\n  };\n  var parseHslLegacy_default = parseHslLegacy;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsl/parseHsl.js\n  function parseHsl(color2, parsed) {\n    if (!parsed || parsed[0] !== \"hsl\" && parsed[0] !== \"hsla\") {\n      return void 0;\n    }\n    const res = { mode: \"hsl\" };\n    const [, h2, s2, l2, alpha] = parsed;\n    if (h2.type !== Tok.None) {\n      if (h2.type === Tok.Percentage) {\n        return void 0;\n      }\n      res.h = h2.value;\n    }\n    if (s2.type !== Tok.None) {\n      if (s2.type === Tok.Hue) {\n        return void 0;\n      }\n      res.s = s2.value / 100;\n    }\n    if (l2.type !== Tok.None) {\n      if (l2.type === Tok.Hue) {\n        return void 0;\n      }\n      res.l = l2.value / 100;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseHsl_default = parseHsl;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsl/definition.js\n  var definition7 = {\n    mode: \"hsl\",\n    toMode: {\n      rgb: convertHslToRgb\n    },\n    fromMode: {\n      rgb: convertRgbToHsl\n    },\n    channels: [\"h\", \"s\", \"l\", \"alpha\"],\n    ranges: {\n      h: [0, 360]\n    },\n    gamut: \"rgb\",\n    parse: [parseHsl_default, parseHslLegacy_default],\n    serialize: (c3) => `hsl(${c3.h !== void 0 ? c3.h : \"none\"} ${c3.s !== void 0 ? c3.s * 100 + \"%\" : \"none\"} ${c3.l !== void 0 ? c3.l * 100 + \"%\" : \"none\"}${c3.alpha < 1 ? ` / ${c3.alpha}` : \"\"})`,\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      s: interpolatorLinear,\n      l: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueSaturation\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default7 = definition7;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsv/convertHsvToRgb.js\n  function convertHsvToRgb({ h: h2, s: s2, v: v2, alpha }) {\n    h2 = normalizeHue_default(h2 !== void 0 ? h2 : 0);\n    if (s2 === void 0) s2 = 0;\n    if (v2 === void 0) v2 = 0;\n    let f5 = Math.abs(h2 / 60 % 2 - 1);\n    let res;\n    switch (Math.floor(h2 / 60)) {\n      case 0:\n        res = { r: v2, g: v2 * (1 - s2 * f5), b: v2 * (1 - s2) };\n        break;\n      case 1:\n        res = { r: v2 * (1 - s2 * f5), g: v2, b: v2 * (1 - s2) };\n        break;\n      case 2:\n        res = { r: v2 * (1 - s2), g: v2, b: v2 * (1 - s2 * f5) };\n        break;\n      case 3:\n        res = { r: v2 * (1 - s2), g: v2 * (1 - s2 * f5), b: v2 };\n        break;\n      case 4:\n        res = { r: v2 * (1 - s2 * f5), g: v2 * (1 - s2), b: v2 };\n        break;\n      case 5:\n        res = { r: v2, g: v2 * (1 - s2), b: v2 * (1 - s2 * f5) };\n        break;\n      default:\n        res = { r: v2 * (1 - s2), g: v2 * (1 - s2), b: v2 * (1 - s2) };\n    }\n    res.mode = \"rgb\";\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsv/convertRgbToHsv.js\n  function convertRgbToHsv({ r: r3, g: g2, b: b2, alpha }) {\n    if (r3 === void 0) r3 = 0;\n    if (g2 === void 0) g2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let M3 = Math.max(r3, g2, b2), m2 = Math.min(r3, g2, b2);\n    let res = {\n      mode: \"hsv\",\n      s: M3 === 0 ? 0 : 1 - m2 / M3,\n      v: M3\n    };\n    if (M3 - m2 !== 0)\n      res.h = (M3 === r3 ? (g2 - b2) / (M3 - m2) + (g2 < b2) * 6 : M3 === g2 ? (b2 - r3) / (M3 - m2) + 2 : (r3 - g2) / (M3 - m2) + 4) * 60;\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hsv/definition.js\n  var definition8 = {\n    mode: \"hsv\",\n    toMode: {\n      rgb: convertHsvToRgb\n    },\n    parse: [\"--hsv\"],\n    serialize: \"--hsv\",\n    fromMode: {\n      rgb: convertRgbToHsv\n    },\n    channels: [\"h\", \"s\", \"v\", \"alpha\"],\n    ranges: {\n      h: [0, 360]\n    },\n    gamut: \"rgb\",\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      s: interpolatorLinear,\n      v: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueSaturation\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default8 = definition8;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hwb/convertHwbToRgb.js\n  function convertHwbToRgb({ h: h2, w: w2, b: b2, alpha }) {\n    if (w2 === void 0) w2 = 0;\n    if (b2 === void 0) b2 = 0;\n    if (w2 + b2 > 1) {\n      let s2 = w2 + b2;\n      w2 /= s2;\n      b2 /= s2;\n    }\n    return convertHsvToRgb({\n      h: h2,\n      s: b2 === 1 ? 1 : 1 - w2 / (1 - b2),\n      v: 1 - b2,\n      alpha\n    });\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hwb/convertRgbToHwb.js\n  function convertRgbToHwb(rgba) {\n    let hsv2 = convertRgbToHsv(rgba);\n    if (hsv2 === void 0) return void 0;\n    let s2 = hsv2.s !== void 0 ? hsv2.s : 0;\n    let v2 = hsv2.v !== void 0 ? hsv2.v : 0;\n    let res = {\n      mode: \"hwb\",\n      w: (1 - s2) * v2,\n      b: 1 - v2\n    };\n    if (hsv2.h !== void 0) res.h = hsv2.h;\n    if (hsv2.alpha !== void 0) res.alpha = hsv2.alpha;\n    return res;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hwb/parseHwb.js\n  function ParseHwb(color2, parsed) {\n    if (!parsed || parsed[0] !== \"hwb\") {\n      return void 0;\n    }\n    const res = { mode: \"hwb\" };\n    const [, h2, w2, b2, alpha] = parsed;\n    if (h2.type !== Tok.None) {\n      if (h2.type === Tok.Percentage) {\n        return void 0;\n      }\n      res.h = h2.value;\n    }\n    if (w2.type !== Tok.None) {\n      if (w2.type === Tok.Hue) {\n        return void 0;\n      }\n      res.w = w2.value / 100;\n    }\n    if (b2.type !== Tok.None) {\n      if (b2.type === Tok.Hue) {\n        return void 0;\n      }\n      res.b = b2.value / 100;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseHwb_default = ParseHwb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hwb/definition.js\n  var definition9 = {\n    mode: \"hwb\",\n    toMode: {\n      rgb: convertHwbToRgb\n    },\n    fromMode: {\n      rgb: convertRgbToHwb\n    },\n    channels: [\"h\", \"w\", \"b\", \"alpha\"],\n    ranges: {\n      h: [0, 360]\n    },\n    gamut: \"rgb\",\n    parse: [parseHwb_default],\n    serialize: (c3) => `hwb(${c3.h !== void 0 ? c3.h : \"none\"} ${c3.w !== void 0 ? c3.w * 100 + \"%\" : \"none\"} ${c3.b !== void 0 ? c3.b * 100 + \"%\" : \"none\"}${c3.alpha < 1 ? ` / ${c3.alpha}` : \"\"})`,\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      w: interpolatorLinear,\n      b: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueNaive\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default9 = definition9;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hdr/constants.js\n  var YW = 203;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/hdr/transfer.js\n  var M1 = 0.1593017578125;\n  var M22 = 78.84375;\n  var C1 = 0.8359375;\n  var C22 = 18.8515625;\n  var C3 = 18.6875;\n  function transferPqDecode(v2) {\n    if (v2 < 0) return 0;\n    const c3 = Math.pow(v2, 1 / M22);\n    return 1e4 * Math.pow(Math.max(0, c3 - C1) / (C22 - C3 * c3), 1 / M1);\n  }\n  function transferPqEncode(v2) {\n    if (v2 < 0) return 0;\n    const c3 = Math.pow(v2 / 1e4, M1);\n    return Math.pow((C1 + C22 * c3) / (1 + C3 * c3), M22);\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/itp/convertItpToXyz65.js\n  var toRel = (c3) => Math.max(c3 / YW, 0);\n  var convertItpToXyz65 = ({ i: i2, t: t2, p: p4, alpha }) => {\n    if (i2 === void 0) i2 = 0;\n    if (t2 === void 0) t2 = 0;\n    if (p4 === void 0) p4 = 0;\n    const l2 = transferPqDecode(\n      i2 + 0.008609037037932761 * t2 + 0.11102962500302593 * p4\n    );\n    const m2 = transferPqDecode(\n      i2 - 0.00860903703793275 * t2 - 0.11102962500302599 * p4\n    );\n    const s2 = transferPqDecode(\n      i2 + 0.5600313357106791 * t2 - 0.32062717498731885 * p4\n    );\n    const res = {\n      mode: \"xyz65\",\n      x: toRel(\n        2.070152218389422 * l2 - 1.3263473389671556 * m2 + 0.2066510476294051 * s2\n      ),\n      y: toRel(\n        0.3647385209748074 * l2 + 0.680566024947227 * m2 - 0.0453045459220346 * s2\n      ),\n      z: toRel(\n        -0.049747207535812 * l2 - 0.0492609666966138 * m2 + 1.1880659249923042 * s2\n      )\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertItpToXyz65_default = convertItpToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/itp/convertXyz65ToItp.js\n  var toAbs = (c3 = 0) => Math.max(c3 * YW, 0);\n  var convertXyz65ToItp = ({ x: x2, y: y2, z: z2, alpha }) => {\n    const absX = toAbs(x2);\n    const absY = toAbs(y2);\n    const absZ = toAbs(z2);\n    const l2 = transferPqEncode(\n      0.3592832590121217 * absX + 0.6976051147779502 * absY - 0.0358915932320289 * absZ\n    );\n    const m2 = transferPqEncode(\n      -0.1920808463704995 * absX + 1.1004767970374323 * absY + 0.0753748658519118 * absZ\n    );\n    const s2 = transferPqEncode(\n      0.0070797844607477 * absX + 0.0748396662186366 * absY + 0.8433265453898765 * absZ\n    );\n    const i2 = 0.5 * l2 + 0.5 * m2;\n    const t2 = 1.61376953125 * l2 - 3.323486328125 * m2 + 1.709716796875 * s2;\n    const p4 = 4.378173828125 * l2 - 4.24560546875 * m2 - 0.132568359375 * s2;\n    const res = { mode: \"itp\", i: i2, t: t2, p: p4 };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToItp_default = convertXyz65ToItp;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/itp/definition.js\n  var definition10 = {\n    mode: \"itp\",\n    channels: [\"i\", \"t\", \"p\", \"alpha\"],\n    parse: [\"--ictcp\"],\n    serialize: \"--ictcp\",\n    toMode: {\n      xyz65: convertItpToXyz65_default,\n      rgb: (color2) => convertXyz65ToRgb_default(convertItpToXyz65_default(color2))\n    },\n    fromMode: {\n      xyz65: convertXyz65ToItp_default,\n      rgb: (color2) => convertXyz65ToItp_default(convertRgbToXyz65_default(color2))\n    },\n    ranges: {\n      i: [0, 0.581],\n      t: [-0.369, 0.272],\n      p: [-0.164, 0.331]\n    },\n    interpolate: {\n      i: interpolatorLinear,\n      t: interpolatorLinear,\n      p: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default10 = definition10;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jab/convertXyz65ToJab.js\n  var p2 = 134.03437499999998;\n  var d0 = 16295499532821565e-27;\n  var jabPqEncode = (v2) => {\n    if (v2 < 0) return 0;\n    let vn3 = Math.pow(v2 / 1e4, M1);\n    return Math.pow((C1 + C22 * vn3) / (1 + C3 * vn3), p2);\n  };\n  var abs = (v2 = 0) => Math.max(v2 * 203, 0);\n  var convertXyz65ToJab = ({ x: x2, y: y2, z: z2, alpha }) => {\n    x2 = abs(x2);\n    y2 = abs(y2);\n    z2 = abs(z2);\n    let xp = 1.15 * x2 - 0.15 * z2;\n    let yp = 0.66 * y2 + 0.34 * x2;\n    let l2 = jabPqEncode(0.41478972 * xp + 0.579999 * yp + 0.014648 * z2);\n    let m2 = jabPqEncode(-0.20151 * xp + 1.120649 * yp + 0.0531008 * z2);\n    let s2 = jabPqEncode(-0.0166008 * xp + 0.2648 * yp + 0.6684799 * z2);\n    let i2 = (l2 + m2) / 2;\n    let res = {\n      mode: \"jab\",\n      j: 0.44 * i2 / (1 - 0.56 * i2) - d0,\n      a: 3.524 * l2 - 4.066708 * m2 + 0.542708 * s2,\n      b: 0.199076 * l2 + 1.096799 * m2 - 1.295875 * s2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToJab_default = convertXyz65ToJab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jab/convertJabToXyz65.js\n  var p3 = 134.03437499999998;\n  var d02 = 16295499532821565e-27;\n  var jabPqDecode = (v2) => {\n    if (v2 < 0) return 0;\n    let vp = Math.pow(v2, 1 / p3);\n    return 1e4 * Math.pow((C1 - vp) / (C3 * vp - C22), 1 / M1);\n  };\n  var rel = (v2) => v2 / 203;\n  var convertJabToXyz65 = ({ j: j2, a: a2, b: b2, alpha }) => {\n    if (j2 === void 0) j2 = 0;\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let i2 = (j2 + d02) / (0.44 + 0.56 * (j2 + d02));\n    let l2 = jabPqDecode(i2 + 0.13860504 * a2 + 0.058047316 * b2);\n    let m2 = jabPqDecode(i2 - 0.13860504 * a2 - 0.058047316 * b2);\n    let s2 = jabPqDecode(i2 - 0.096019242 * a2 - 0.8118919 * b2);\n    let res = {\n      mode: \"xyz65\",\n      x: rel(\n        1.661373024652174 * l2 - 0.914523081304348 * m2 + 0.23136208173913045 * s2\n      ),\n      y: rel(\n        -0.3250758611844533 * l2 + 1.571847026732543 * m2 - 0.21825383453227928 * s2\n      ),\n      z: rel(-0.090982811 * l2 - 0.31272829 * m2 + 1.5227666 * s2)\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertJabToXyz65_default = convertJabToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jab/convertRgbToJab.js\n  var convertRgbToJab = (rgb4) => {\n    let res = convertXyz65ToJab_default(convertRgbToXyz65_default(rgb4));\n    if (rgb4.r === rgb4.b && rgb4.b === rgb4.g) {\n      res.a = res.b = 0;\n    }\n    return res;\n  };\n  var convertRgbToJab_default = convertRgbToJab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jab/convertJabToRgb.js\n  var convertJabToRgb = (color2) => convertXyz65ToRgb_default(convertJabToXyz65_default(color2));\n  var convertJabToRgb_default = convertJabToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jab/definition.js\n  var definition11 = {\n    mode: \"jab\",\n    channels: [\"j\", \"a\", \"b\", \"alpha\"],\n    parse: [\"--jzazbz\"],\n    serialize: \"--jzazbz\",\n    fromMode: {\n      rgb: convertRgbToJab_default,\n      xyz65: convertXyz65ToJab_default\n    },\n    toMode: {\n      rgb: convertJabToRgb_default,\n      xyz65: convertJabToXyz65_default\n    },\n    ranges: {\n      j: [0, 0.222],\n      a: [-0.109, 0.129],\n      b: [-0.185, 0.134]\n    },\n    interpolate: {\n      j: interpolatorLinear,\n      a: interpolatorLinear,\n      b: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default11 = definition11;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jch/convertJabToJch.js\n  var convertJabToJch = ({ j: j2, a: a2, b: b2, alpha }) => {\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let c3 = Math.sqrt(a2 * a2 + b2 * b2);\n    let res = {\n      mode: \"jch\",\n      j: j2,\n      c: c3\n    };\n    if (c3) {\n      res.h = normalizeHue_default(Math.atan2(b2, a2) * 180 / Math.PI);\n    }\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertJabToJch_default = convertJabToJch;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jch/convertJchToJab.js\n  var convertJchToJab = ({ j: j2, c: c3, h: h2, alpha }) => {\n    if (h2 === void 0) h2 = 0;\n    let res = {\n      mode: \"jab\",\n      j: j2,\n      a: c3 ? c3 * Math.cos(h2 / 180 * Math.PI) : 0,\n      b: c3 ? c3 * Math.sin(h2 / 180 * Math.PI) : 0\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertJchToJab_default = convertJchToJab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/jch/definition.js\n  var definition12 = {\n    mode: \"jch\",\n    parse: [\"--jzczhz\"],\n    serialize: \"--jzczhz\",\n    toMode: {\n      jab: convertJchToJab_default,\n      rgb: (c3) => convertJabToRgb_default(convertJchToJab_default(c3))\n    },\n    fromMode: {\n      rgb: (c3) => convertJabToJch_default(convertRgbToJab_default(c3)),\n      jab: convertJabToJch_default\n    },\n    channels: [\"j\", \"c\", \"h\", \"alpha\"],\n    ranges: {\n      j: [0, 0.221],\n      c: [0, 0.19],\n      h: [0, 360]\n    },\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      c: interpolatorLinear,\n      j: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueChroma\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default12 = definition12;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz50/constants.js\n  var k4 = Math.pow(29, 3) / Math.pow(3, 3);\n  var e4 = Math.pow(6, 3) / Math.pow(29, 3);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab/convertLabToXyz50.js\n  var fn4 = (v2) => Math.pow(v2, 3) > e4 ? Math.pow(v2, 3) : (116 * v2 - 16) / k4;\n  var convertLabToXyz50 = ({ l: l2, a: a2, b: b2, alpha }) => {\n    if (l2 === void 0) l2 = 0;\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let fy = (l2 + 16) / 116;\n    let fx = a2 / 500 + fy;\n    let fz = fy - b2 / 200;\n    let res = {\n      mode: \"xyz50\",\n      x: fn4(fx) * D50.X,\n      y: fn4(fy) * D50.Y,\n      z: fn4(fz) * D50.Z\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertLabToXyz50_default = convertLabToXyz50;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz50/convertXyz50ToRgb.js\n  var convertXyz50ToRgb = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = convertLrgbToRgb_default({\n      r: x2 * 3.1341359569958707 - y2 * 1.6173863321612538 - 0.4906619460083532 * z2,\n      g: x2 * -0.978795502912089 + y2 * 1.916254567259524 + 0.03344273116131949 * z2,\n      b: x2 * 0.07195537988411677 - y2 * 0.2289768264158322 + 1.405386058324125 * z2\n    });\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz50ToRgb_default = convertXyz50ToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab/convertLabToRgb.js\n  var convertLabToRgb = (lab2) => convertXyz50ToRgb_default(convertLabToXyz50_default(lab2));\n  var convertLabToRgb_default = convertLabToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz50/convertRgbToXyz50.js\n  var convertRgbToXyz50 = (rgb4) => {\n    let { r: r3, g: g2, b: b2, alpha } = convertRgbToLrgb_default(rgb4);\n    let res = {\n      mode: \"xyz50\",\n      x: 0.436065742824811 * r3 + 0.3851514688337912 * g2 + 0.14307845442264197 * b2,\n      y: 0.22249319175623702 * r3 + 0.7168870538238823 * g2 + 0.06061979053616537 * b2,\n      z: 0.013923904500943465 * r3 + 0.09708128566574634 * g2 + 0.7140993584005155 * b2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertRgbToXyz50_default = convertRgbToXyz50;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab/convertXyz50ToLab.js\n  var f4 = (value2) => value2 > e4 ? Math.cbrt(value2) : (k4 * value2 + 16) / 116;\n  var convertXyz50ToLab = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let f0 = f4(x2 / D50.X);\n    let f1 = f4(y2 / D50.Y);\n    let f22 = f4(z2 / D50.Z);\n    let res = {\n      mode: \"lab\",\n      l: 116 * f1 - 16,\n      a: 500 * (f0 - f1),\n      b: 200 * (f1 - f22)\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz50ToLab_default = convertXyz50ToLab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab/convertRgbToLab.js\n  var convertRgbToLab = (rgb4) => {\n    let res = convertXyz50ToLab_default(convertRgbToXyz50_default(rgb4));\n    if (rgb4.r === rgb4.b && rgb4.b === rgb4.g) {\n      res.a = res.b = 0;\n    }\n    return res;\n  };\n  var convertRgbToLab_default = convertRgbToLab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab/parseLab.js\n  function parseLab(color2, parsed) {\n    if (!parsed || parsed[0] !== \"lab\") {\n      return void 0;\n    }\n    const res = { mode: \"lab\" };\n    const [, l2, a2, b2, alpha] = parsed;\n    if (l2.type === Tok.Hue || a2.type === Tok.Hue || b2.type === Tok.Hue) {\n      return void 0;\n    }\n    if (l2.type !== Tok.None) {\n      res.l = Math.min(Math.max(0, l2.value), 100);\n    }\n    if (a2.type !== Tok.None) {\n      res.a = a2.type === Tok.Number ? a2.value : a2.value * 125 / 100;\n    }\n    if (b2.type !== Tok.None) {\n      res.b = b2.type === Tok.Number ? b2.value : b2.value * 125 / 100;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseLab_default = parseLab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab/definition.js\n  var definition13 = {\n    mode: \"lab\",\n    toMode: {\n      xyz50: convertLabToXyz50_default,\n      rgb: convertLabToRgb_default\n    },\n    fromMode: {\n      xyz50: convertXyz50ToLab_default,\n      rgb: convertRgbToLab_default\n    },\n    channels: [\"l\", \"a\", \"b\", \"alpha\"],\n    ranges: {\n      l: [0, 100],\n      a: [-100, 100],\n      b: [-100, 100]\n    },\n    parse: [parseLab_default],\n    serialize: (c3) => `lab(${c3.l !== void 0 ? c3.l : \"none\"} ${c3.a !== void 0 ? c3.a : \"none\"} ${c3.b !== void 0 ? c3.b : \"none\"}${c3.alpha < 1 ? ` / ${c3.alpha}` : \"\"})`,\n    interpolate: {\n      l: interpolatorLinear,\n      a: interpolatorLinear,\n      b: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default13 = definition13;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lab65/definition.js\n  var definition14 = {\n    ...definition_default13,\n    mode: \"lab65\",\n    parse: [\"--lab-d65\"],\n    serialize: \"--lab-d65\",\n    toMode: {\n      xyz65: convertLab65ToXyz65_default,\n      rgb: convertLab65ToRgb_default\n    },\n    fromMode: {\n      xyz65: convertXyz65ToLab65_default,\n      rgb: convertRgbToLab65_default\n    },\n    ranges: {\n      l: [0, 100],\n      a: [-86.182, 98.234],\n      b: [-107.86, 94.477]\n    }\n  };\n  var definition_default14 = definition14;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lch/parseLch.js\n  function parseLch(color2, parsed) {\n    if (!parsed || parsed[0] !== \"lch\") {\n      return void 0;\n    }\n    const res = { mode: \"lch\" };\n    const [, l2, c3, h2, alpha] = parsed;\n    if (l2.type !== Tok.None) {\n      if (l2.type === Tok.Hue) {\n        return void 0;\n      }\n      res.l = Math.min(Math.max(0, l2.value), 100);\n    }\n    if (c3.type !== Tok.None) {\n      res.c = Math.max(\n        0,\n        c3.type === Tok.Number ? c3.value : c3.value * 150 / 100\n      );\n    }\n    if (h2.type !== Tok.None) {\n      if (h2.type === Tok.Percentage) {\n        return void 0;\n      }\n      res.h = h2.value;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseLch_default = parseLch;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lch/definition.js\n  var definition15 = {\n    mode: \"lch\",\n    toMode: {\n      lab: convertLchToLab_default,\n      rgb: (c3) => convertLabToRgb_default(convertLchToLab_default(c3))\n    },\n    fromMode: {\n      rgb: (c3) => convertLabToLch_default(convertRgbToLab_default(c3)),\n      lab: convertLabToLch_default\n    },\n    channels: [\"l\", \"c\", \"h\", \"alpha\"],\n    ranges: {\n      l: [0, 100],\n      c: [0, 150],\n      h: [0, 360]\n    },\n    parse: [parseLch_default],\n    serialize: (c3) => `lch(${c3.l !== void 0 ? c3.l : \"none\"} ${c3.c !== void 0 ? c3.c : \"none\"} ${c3.h !== void 0 ? c3.h : \"none\"}${c3.alpha < 1 ? ` / ${c3.alpha}` : \"\"})`,\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      c: interpolatorLinear,\n      l: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueChroma\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default15 = definition15;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lch65/definition.js\n  var definition16 = {\n    ...definition_default15,\n    mode: \"lch65\",\n    parse: [\"--lch-d65\"],\n    serialize: \"--lch-d65\",\n    toMode: {\n      lab65: (c3) => convertLchToLab_default(c3, \"lab65\"),\n      rgb: (c3) => convertLab65ToRgb_default(convertLchToLab_default(c3, \"lab65\"))\n    },\n    fromMode: {\n      rgb: (c3) => convertLabToLch_default(convertRgbToLab65_default(c3), \"lch65\"),\n      lab65: (c3) => convertLabToLch_default(c3, \"lch65\")\n    },\n    ranges: {\n      l: [0, 100],\n      c: [0, 133.807],\n      h: [0, 360]\n    }\n  };\n  var definition_default16 = definition16;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lchuv/convertLuvToLchuv.js\n  var convertLuvToLchuv = ({ l: l2, u: u2, v: v2, alpha }) => {\n    if (u2 === void 0) u2 = 0;\n    if (v2 === void 0) v2 = 0;\n    let c3 = Math.sqrt(u2 * u2 + v2 * v2);\n    let res = {\n      mode: \"lchuv\",\n      l: l2,\n      c: c3\n    };\n    if (c3) {\n      res.h = normalizeHue_default(Math.atan2(v2, u2) * 180 / Math.PI);\n    }\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertLuvToLchuv_default = convertLuvToLchuv;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lchuv/convertLchuvToLuv.js\n  var convertLchuvToLuv = ({ l: l2, c: c3, h: h2, alpha }) => {\n    if (h2 === void 0) h2 = 0;\n    let res = {\n      mode: \"luv\",\n      l: l2,\n      u: c3 ? c3 * Math.cos(h2 / 180 * Math.PI) : 0,\n      v: c3 ? c3 * Math.sin(h2 / 180 * Math.PI) : 0\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertLchuvToLuv_default = convertLchuvToLuv;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/luv/convertXyz50ToLuv.js\n  var u_fn = (x2, y2, z2) => 4 * x2 / (x2 + 15 * y2 + 3 * z2);\n  var v_fn = (x2, y2, z2) => 9 * y2 / (x2 + 15 * y2 + 3 * z2);\n  var un = u_fn(D50.X, D50.Y, D50.Z);\n  var vn = v_fn(D50.X, D50.Y, D50.Z);\n  var l_fn = (value2) => value2 <= e4 ? k4 * value2 : 116 * Math.cbrt(value2) - 16;\n  var convertXyz50ToLuv = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let l2 = l_fn(y2 / D50.Y);\n    let u2 = u_fn(x2, y2, z2);\n    let v2 = v_fn(x2, y2, z2);\n    if (!isFinite(u2) || !isFinite(v2)) {\n      l2 = u2 = v2 = 0;\n    } else {\n      u2 = 13 * l2 * (u2 - un);\n      v2 = 13 * l2 * (v2 - vn);\n    }\n    let res = {\n      mode: \"luv\",\n      l: l2,\n      u: u2,\n      v: v2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz50ToLuv_default = convertXyz50ToLuv;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/luv/convertLuvToXyz50.js\n  var u_fn2 = (x2, y2, z2) => 4 * x2 / (x2 + 15 * y2 + 3 * z2);\n  var v_fn2 = (x2, y2, z2) => 9 * y2 / (x2 + 15 * y2 + 3 * z2);\n  var un2 = u_fn2(D50.X, D50.Y, D50.Z);\n  var vn2 = v_fn2(D50.X, D50.Y, D50.Z);\n  var convertLuvToXyz50 = ({ l: l2, u: u2, v: v2, alpha }) => {\n    if (l2 === void 0) l2 = 0;\n    if (l2 === 0) {\n      return { mode: \"xyz50\", x: 0, y: 0, z: 0 };\n    }\n    if (u2 === void 0) u2 = 0;\n    if (v2 === void 0) v2 = 0;\n    let up = u2 / (13 * l2) + un2;\n    let vp = v2 / (13 * l2) + vn2;\n    let y2 = D50.Y * (l2 <= 8 ? l2 / k4 : Math.pow((l2 + 16) / 116, 3));\n    let x2 = y2 * (9 * up) / (4 * vp);\n    let z2 = y2 * (12 - 3 * up - 20 * vp) / (4 * vp);\n    let res = { mode: \"xyz50\", x: x2, y: y2, z: z2 };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertLuvToXyz50_default = convertLuvToXyz50;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lchuv/definition.js\n  var convertRgbToLchuv = (rgb4) => convertLuvToLchuv_default(convertXyz50ToLuv_default(convertRgbToXyz50_default(rgb4)));\n  var convertLchuvToRgb = (lchuv2) => convertXyz50ToRgb_default(convertLuvToXyz50_default(convertLchuvToLuv_default(lchuv2)));\n  var definition17 = {\n    mode: \"lchuv\",\n    toMode: {\n      luv: convertLchuvToLuv_default,\n      rgb: convertLchuvToRgb\n    },\n    fromMode: {\n      rgb: convertRgbToLchuv,\n      luv: convertLuvToLchuv_default\n    },\n    channels: [\"l\", \"c\", \"h\", \"alpha\"],\n    parse: [\"--lchuv\"],\n    serialize: \"--lchuv\",\n    ranges: {\n      l: [0, 100],\n      c: [0, 176.956],\n      h: [0, 360]\n    },\n    interpolate: {\n      h: { use: interpolatorLinear, fixup: fixupHueShorter },\n      c: interpolatorLinear,\n      l: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    },\n    difference: {\n      h: differenceHueChroma\n    },\n    average: {\n      h: averageAngle\n    }\n  };\n  var definition_default17 = definition17;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/lrgb/definition.js\n  var definition18 = {\n    ...definition_default,\n    mode: \"lrgb\",\n    toMode: {\n      rgb: convertLrgbToRgb_default\n    },\n    fromMode: {\n      rgb: convertRgbToLrgb_default\n    },\n    parse: [\"srgb-linear\"],\n    serialize: \"srgb-linear\"\n  };\n  var definition_default18 = definition18;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/luv/definition.js\n  var definition19 = {\n    mode: \"luv\",\n    toMode: {\n      xyz50: convertLuvToXyz50_default,\n      rgb: (luv2) => convertXyz50ToRgb_default(convertLuvToXyz50_default(luv2))\n    },\n    fromMode: {\n      xyz50: convertXyz50ToLuv_default,\n      rgb: (rgb4) => convertXyz50ToLuv_default(convertRgbToXyz50_default(rgb4))\n    },\n    channels: [\"l\", \"u\", \"v\", \"alpha\"],\n    parse: [\"--luv\"],\n    serialize: \"--luv\",\n    ranges: {\n      l: [0, 100],\n      u: [-84.936, 175.042],\n      v: [-125.882, 87.243]\n    },\n    interpolate: {\n      l: interpolatorLinear,\n      u: interpolatorLinear,\n      v: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default19 = definition19;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklab/convertLrgbToOklab.js\n  var convertLrgbToOklab = ({ r: r3, g: g2, b: b2, alpha }) => {\n    if (r3 === void 0) r3 = 0;\n    if (g2 === void 0) g2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let L3 = Math.cbrt(\n      0.41222147079999993 * r3 + 0.5363325363 * g2 + 0.0514459929 * b2\n    );\n    let M3 = Math.cbrt(\n      0.2119034981999999 * r3 + 0.6806995450999999 * g2 + 0.1073969566 * b2\n    );\n    let S3 = Math.cbrt(\n      0.08830246189999998 * r3 + 0.2817188376 * g2 + 0.6299787005000002 * b2\n    );\n    let res = {\n      mode: \"oklab\",\n      l: 0.2104542553 * L3 + 0.793617785 * M3 - 0.0040720468 * S3,\n      a: 1.9779984951 * L3 - 2.428592205 * M3 + 0.4505937099 * S3,\n      b: 0.0259040371 * L3 + 0.7827717662 * M3 - 0.808675766 * S3\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertLrgbToOklab_default = convertLrgbToOklab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklab/convertRgbToOklab.js\n  var convertRgbToOklab = (rgb4) => {\n    let res = convertLrgbToOklab_default(convertRgbToLrgb_default(rgb4));\n    if (rgb4.r === rgb4.b && rgb4.b === rgb4.g) {\n      res.a = res.b = 0;\n    }\n    return res;\n  };\n  var convertRgbToOklab_default = convertRgbToOklab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklab/convertOklabToLrgb.js\n  var convertOklabToLrgb = ({ l: l2, a: a2, b: b2, alpha }) => {\n    if (l2 === void 0) l2 = 0;\n    if (a2 === void 0) a2 = 0;\n    if (b2 === void 0) b2 = 0;\n    let L3 = Math.pow(\n      l2 * 0.9999999984505198 + 0.39633779217376786 * a2 + 0.2158037580607588 * b2,\n      3\n    );\n    let M3 = Math.pow(\n      l2 * 1.0000000088817609 - 0.10556134232365635 * a2 - 0.06385417477170591 * b2,\n      3\n    );\n    let S3 = Math.pow(\n      l2 * 1.0000000546724108 - 0.08948418209496575 * a2 - 1.2914855378640917 * b2,\n      3\n    );\n    let res = {\n      mode: \"lrgb\",\n      r: 4.076741661347994 * L3 - 3.307711590408193 * M3 + 0.230969928729428 * S3,\n      g: -1.2684380040921763 * L3 + 2.6097574006633715 * M3 - 0.3413193963102197 * S3,\n      b: -0.004196086541837188 * L3 - 0.7034186144594493 * M3 + 1.7076147009309444 * S3\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertOklabToLrgb_default = convertOklabToLrgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklab/convertOklabToRgb.js\n  var convertOklabToRgb = (c3) => convertLrgbToRgb_default(convertOklabToLrgb_default(c3));\n  var convertOklabToRgb_default = convertOklabToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsl/helpers.js\n  function toe(x2) {\n    const k_1 = 0.206;\n    const k_2 = 0.03;\n    const k_3 = (1 + k_1) / (1 + k_2);\n    return 0.5 * (k_3 * x2 - k_1 + Math.sqrt((k_3 * x2 - k_1) * (k_3 * x2 - k_1) + 4 * k_2 * k_3 * x2));\n  }\n  function toe_inv(x2) {\n    const k_1 = 0.206;\n    const k_2 = 0.03;\n    const k_3 = (1 + k_1) / (1 + k_2);\n    return (x2 * x2 + k_1 * x2) / (k_3 * (x2 + k_2));\n  }\n  function compute_max_saturation(a2, b2) {\n    let k0, k1, k22, k32, k42, wl, wm, ws;\n    if (-1.88170328 * a2 - 0.80936493 * b2 > 1) {\n      k0 = 1.19086277;\n      k1 = 1.76576728;\n      k22 = 0.59662641;\n      k32 = 0.75515197;\n      k42 = 0.56771245;\n      wl = 4.0767416621;\n      wm = -3.3077115913;\n      ws = 0.2309699292;\n    } else if (1.81444104 * a2 - 1.19445276 * b2 > 1) {\n      k0 = 0.73956515;\n      k1 = -0.45954404;\n      k22 = 0.08285427;\n      k32 = 0.1254107;\n      k42 = 0.14503204;\n      wl = -1.2684380046;\n      wm = 2.6097574011;\n      ws = -0.3413193965;\n    } else {\n      k0 = 1.35733652;\n      k1 = -915799e-8;\n      k22 = -1.1513021;\n      k32 = -0.50559606;\n      k42 = 692167e-8;\n      wl = -0.0041960863;\n      wm = -0.7034186147;\n      ws = 1.707614701;\n    }\n    let S3 = k0 + k1 * a2 + k22 * b2 + k32 * a2 * a2 + k42 * a2 * b2;\n    let k_l = 0.3963377774 * a2 + 0.2158037573 * b2;\n    let k_m = -0.1055613458 * a2 - 0.0638541728 * b2;\n    let k_s = -0.0894841775 * a2 - 1.291485548 * b2;\n    {\n      let l_ = 1 + S3 * k_l;\n      let m_ = 1 + S3 * k_m;\n      let s_ = 1 + S3 * k_s;\n      let l2 = l_ * l_ * l_;\n      let m2 = m_ * m_ * m_;\n      let s2 = s_ * s_ * s_;\n      let l_dS = 3 * k_l * l_ * l_;\n      let m_dS = 3 * k_m * m_ * m_;\n      let s_dS = 3 * k_s * s_ * s_;\n      let l_dS2 = 6 * k_l * k_l * l_;\n      let m_dS2 = 6 * k_m * k_m * m_;\n      let s_dS2 = 6 * k_s * k_s * s_;\n      let f5 = wl * l2 + wm * m2 + ws * s2;\n      let f1 = wl * l_dS + wm * m_dS + ws * s_dS;\n      let f22 = wl * l_dS2 + wm * m_dS2 + ws * s_dS2;\n      S3 = S3 - f5 * f1 / (f1 * f1 - 0.5 * f5 * f22);\n    }\n    return S3;\n  }\n  function find_cusp(a2, b2) {\n    let S_cusp = compute_max_saturation(a2, b2);\n    let rgb4 = convertOklabToLrgb_default({ l: 1, a: S_cusp * a2, b: S_cusp * b2 });\n    let L_cusp = Math.cbrt(1 / Math.max(rgb4.r, rgb4.g, rgb4.b));\n    let C_cusp = L_cusp * S_cusp;\n    return [L_cusp, C_cusp];\n  }\n  function find_gamut_intersection(a2, b2, L1, C12, L0, cusp = null) {\n    if (!cusp) {\n      cusp = find_cusp(a2, b2);\n    }\n    let t2;\n    if ((L1 - L0) * cusp[1] - (cusp[0] - L0) * C12 <= 0) {\n      t2 = cusp[1] * L0 / (C12 * cusp[0] + cusp[1] * (L0 - L1));\n    } else {\n      t2 = cusp[1] * (L0 - 1) / (C12 * (cusp[0] - 1) + cusp[1] * (L0 - L1));\n      {\n        let dL = L1 - L0;\n        let dC = C12;\n        let k_l = 0.3963377774 * a2 + 0.2158037573 * b2;\n        let k_m = -0.1055613458 * a2 - 0.0638541728 * b2;\n        let k_s = -0.0894841775 * a2 - 1.291485548 * b2;\n        let l_dt = dL + dC * k_l;\n        let m_dt = dL + dC * k_m;\n        let s_dt = dL + dC * k_s;\n        {\n          let L3 = L0 * (1 - t2) + t2 * L1;\n          let C4 = t2 * C12;\n          let l_ = L3 + C4 * k_l;\n          let m_ = L3 + C4 * k_m;\n          let s_ = L3 + C4 * k_s;\n          let l2 = l_ * l_ * l_;\n          let m2 = m_ * m_ * m_;\n          let s2 = s_ * s_ * s_;\n          let ldt = 3 * l_dt * l_ * l_;\n          let mdt = 3 * m_dt * m_ * m_;\n          let sdt = 3 * s_dt * s_ * s_;\n          let ldt2 = 6 * l_dt * l_dt * l_;\n          let mdt2 = 6 * m_dt * m_dt * m_;\n          let sdt2 = 6 * s_dt * s_dt * s_;\n          let r3 = 4.0767416621 * l2 - 3.3077115913 * m2 + 0.2309699292 * s2 - 1;\n          let r1 = 4.0767416621 * ldt - 3.3077115913 * mdt + 0.2309699292 * sdt;\n          let r22 = 4.0767416621 * ldt2 - 3.3077115913 * mdt2 + 0.2309699292 * sdt2;\n          let u_r = r1 / (r1 * r1 - 0.5 * r3 * r22);\n          let t_r = -r3 * u_r;\n          let g2 = -1.2684380046 * l2 + 2.6097574011 * m2 - 0.3413193965 * s2 - 1;\n          let g1 = -1.2684380046 * ldt + 2.6097574011 * mdt - 0.3413193965 * sdt;\n          let g22 = -1.2684380046 * ldt2 + 2.6097574011 * mdt2 - 0.3413193965 * sdt2;\n          let u_g = g1 / (g1 * g1 - 0.5 * g2 * g22);\n          let t_g = -g2 * u_g;\n          let b3 = -0.0041960863 * l2 - 0.7034186147 * m2 + 1.707614701 * s2 - 1;\n          let b1 = -0.0041960863 * ldt - 0.7034186147 * mdt + 1.707614701 * sdt;\n          let b22 = -0.0041960863 * ldt2 - 0.7034186147 * mdt2 + 1.707614701 * sdt2;\n          let u_b = b1 / (b1 * b1 - 0.5 * b3 * b22);\n          let t_b = -b3 * u_b;\n          t_r = u_r >= 0 ? t_r : 1e6;\n          t_g = u_g >= 0 ? t_g : 1e6;\n          t_b = u_b >= 0 ? t_b : 1e6;\n          t2 += Math.min(t_r, Math.min(t_g, t_b));\n        }\n      }\n    }\n    return t2;\n  }\n  function get_ST_max(a_, b_, cusp = null) {\n    if (!cusp) {\n      cusp = find_cusp(a_, b_);\n    }\n    let L3 = cusp[0];\n    let C4 = cusp[1];\n    return [C4 / L3, C4 / (1 - L3)];\n  }\n  function get_Cs(L3, a_, b_) {\n    let cusp = find_cusp(a_, b_);\n    let C_max = find_gamut_intersection(a_, b_, L3, 1, L3, cusp);\n    let ST_max = get_ST_max(a_, b_, cusp);\n    let S_mid = 0.11516993 + 1 / (7.4477897 + 4.1590124 * b_ + a_ * (-2.19557347 + 1.75198401 * b_ + a_ * (-2.13704948 - 10.02301043 * b_ + a_ * (-4.24894561 + 5.38770819 * b_ + 4.69891013 * a_))));\n    let T_mid = 0.11239642 + 1 / (1.6132032 - 0.68124379 * b_ + a_ * (0.40370612 + 0.90148123 * b_ + a_ * (-0.27087943 + 0.6122399 * b_ + a_ * (299215e-8 - 0.45399568 * b_ - 0.14661872 * a_))));\n    let k5 = C_max / Math.min(L3 * ST_max[0], (1 - L3) * ST_max[1]);\n    let C_a = L3 * S_mid;\n    let C_b = (1 - L3) * T_mid;\n    let C_mid = 0.9 * k5 * Math.sqrt(\n      Math.sqrt(\n        1 / (1 / (C_a * C_a * C_a * C_a) + 1 / (C_b * C_b * C_b * C_b))\n      )\n    );\n    C_a = L3 * 0.4;\n    C_b = (1 - L3) * 0.8;\n    let C_0 = Math.sqrt(1 / (1 / (C_a * C_a) + 1 / (C_b * C_b)));\n    return [C_0, C_mid, C_max];\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsl/convertOklabToOkhsl.js\n  function convertOklabToOkhsl(lab2) {\n    const l2 = lab2.l !== void 0 ? lab2.l : 0;\n    const a2 = lab2.a !== void 0 ? lab2.a : 0;\n    const b2 = lab2.b !== void 0 ? lab2.b : 0;\n    const ret = { mode: \"okhsl\", l: toe(l2) };\n    if (lab2.alpha !== void 0) {\n      ret.alpha = lab2.alpha;\n    }\n    let c3 = Math.sqrt(a2 * a2 + b2 * b2);\n    if (!c3) {\n      ret.s = 0;\n      return ret;\n    }\n    let [C_0, C_mid, C_max] = get_Cs(l2, a2 / c3, b2 / c3);\n    let s2;\n    if (c3 < C_mid) {\n      let k_0 = 0;\n      let k_1 = 0.8 * C_0;\n      let k_2 = 1 - k_1 / C_mid;\n      let t2 = (c3 - k_0) / (k_1 + k_2 * (c3 - k_0));\n      s2 = t2 * 0.8;\n    } else {\n      let k_0 = C_mid;\n      let k_1 = 0.2 * C_mid * C_mid * 1.25 * 1.25 / C_0;\n      let k_2 = 1 - k_1 / (C_max - C_mid);\n      let t2 = (c3 - k_0) / (k_1 + k_2 * (c3 - k_0));\n      s2 = 0.8 + 0.2 * t2;\n    }\n    if (s2) {\n      ret.s = s2;\n      ret.h = normalizeHue_default(Math.atan2(b2, a2) * 180 / Math.PI);\n    }\n    return ret;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsl/convertOkhslToOklab.js\n  function convertOkhslToOklab(hsl3) {\n    let h2 = hsl3.h !== void 0 ? hsl3.h : 0;\n    let s2 = hsl3.s !== void 0 ? hsl3.s : 0;\n    let l2 = hsl3.l !== void 0 ? hsl3.l : 0;\n    const ret = { mode: \"oklab\", l: toe_inv(l2) };\n    if (hsl3.alpha !== void 0) {\n      ret.alpha = hsl3.alpha;\n    }\n    if (!s2 || l2 === 1) {\n      ret.a = ret.b = 0;\n      return ret;\n    }\n    let a_ = Math.cos(h2 / 180 * Math.PI);\n    let b_ = Math.sin(h2 / 180 * Math.PI);\n    let [C_0, C_mid, C_max] = get_Cs(ret.l, a_, b_);\n    let t2, k_0, k_1, k_2;\n    if (s2 < 0.8) {\n      t2 = 1.25 * s2;\n      k_0 = 0;\n      k_1 = 0.8 * C_0;\n      k_2 = 1 - k_1 / C_mid;\n    } else {\n      t2 = 5 * (s2 - 0.8);\n      k_0 = C_mid;\n      k_1 = 0.2 * C_mid * C_mid * 1.25 * 1.25 / C_0;\n      k_2 = 1 - k_1 / (C_max - C_mid);\n    }\n    let C4 = k_0 + t2 * k_1 / (1 - k_2 * t2);\n    ret.a = C4 * a_;\n    ret.b = C4 * b_;\n    return ret;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsl/modeOkhsl.js\n  var modeOkhsl = {\n    ...definition_default7,\n    mode: \"okhsl\",\n    channels: [\"h\", \"s\", \"l\", \"alpha\"],\n    parse: [\"--okhsl\"],\n    serialize: \"--okhsl\",\n    fromMode: {\n      oklab: convertOklabToOkhsl,\n      rgb: (c3) => convertOklabToOkhsl(convertRgbToOklab_default(c3))\n    },\n    toMode: {\n      oklab: convertOkhslToOklab,\n      rgb: (c3) => convertOklabToRgb_default(convertOkhslToOklab(c3))\n    }\n  };\n  var modeOkhsl_default = modeOkhsl;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsv/convertOklabToOkhsv.js\n  function convertOklabToOkhsv(lab2) {\n    let l2 = lab2.l !== void 0 ? lab2.l : 0;\n    let a2 = lab2.a !== void 0 ? lab2.a : 0;\n    let b2 = lab2.b !== void 0 ? lab2.b : 0;\n    let c3 = Math.sqrt(a2 * a2 + b2 * b2);\n    let a_ = c3 ? a2 / c3 : 1;\n    let b_ = c3 ? b2 / c3 : 1;\n    let [S_max, T3] = get_ST_max(a_, b_);\n    let S_0 = 0.5;\n    let k5 = 1 - S_0 / S_max;\n    let t2 = T3 / (c3 + l2 * T3);\n    let L_v = t2 * l2;\n    let C_v = t2 * c3;\n    let L_vt = toe_inv(L_v);\n    let C_vt = C_v * L_vt / L_v;\n    let rgb_scale = convertOklabToLrgb_default({ l: L_vt, a: a_ * C_vt, b: b_ * C_vt });\n    let scale_L = Math.cbrt(\n      1 / Math.max(rgb_scale.r, rgb_scale.g, rgb_scale.b, 0)\n    );\n    l2 = l2 / scale_L;\n    c3 = c3 / scale_L * toe(l2) / l2;\n    l2 = toe(l2);\n    const ret = {\n      mode: \"okhsv\",\n      s: c3 ? (S_0 + T3) * C_v / (T3 * S_0 + T3 * k5 * C_v) : 0,\n      v: l2 ? l2 / L_v : 0\n    };\n    if (ret.s) {\n      ret.h = normalizeHue_default(Math.atan2(b2, a2) * 180 / Math.PI);\n    }\n    if (lab2.alpha !== void 0) {\n      ret.alpha = lab2.alpha;\n    }\n    return ret;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsv/convertOkhsvToOklab.js\n  function convertOkhsvToOklab(hsv2) {\n    const ret = { mode: \"oklab\" };\n    if (hsv2.alpha !== void 0) {\n      ret.alpha = hsv2.alpha;\n    }\n    const h2 = hsv2.h !== void 0 ? hsv2.h : 0;\n    const s2 = hsv2.s !== void 0 ? hsv2.s : 0;\n    const v2 = hsv2.v !== void 0 ? hsv2.v : 0;\n    const a_ = Math.cos(h2 / 180 * Math.PI);\n    const b_ = Math.sin(h2 / 180 * Math.PI);\n    const [S_max, T3] = get_ST_max(a_, b_);\n    const S_0 = 0.5;\n    const k5 = 1 - S_0 / S_max;\n    const L_v = 1 - s2 * S_0 / (S_0 + T3 - T3 * k5 * s2);\n    const C_v = s2 * T3 * S_0 / (S_0 + T3 - T3 * k5 * s2);\n    const L_vt = toe_inv(L_v);\n    const C_vt = C_v * L_vt / L_v;\n    const rgb_scale = convertOklabToLrgb_default({\n      l: L_vt,\n      a: a_ * C_vt,\n      b: b_ * C_vt\n    });\n    const scale_L = Math.cbrt(\n      1 / Math.max(rgb_scale.r, rgb_scale.g, rgb_scale.b, 0)\n    );\n    const L_new = toe_inv(v2 * L_v);\n    const C4 = C_v * L_new / L_v;\n    ret.l = L_new * scale_L;\n    ret.a = C4 * a_ * scale_L;\n    ret.b = C4 * b_ * scale_L;\n    return ret;\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/okhsv/modeOkhsv.js\n  var modeOkhsv = {\n    ...definition_default8,\n    mode: \"okhsv\",\n    channels: [\"h\", \"s\", \"v\", \"alpha\"],\n    parse: [\"--okhsv\"],\n    serialize: \"--okhsv\",\n    fromMode: {\n      oklab: convertOklabToOkhsv,\n      rgb: (c3) => convertOklabToOkhsv(convertRgbToOklab_default(c3))\n    },\n    toMode: {\n      oklab: convertOkhsvToOklab,\n      rgb: (c3) => convertOklabToRgb_default(convertOkhsvToOklab(c3))\n    }\n  };\n  var modeOkhsv_default = modeOkhsv;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklab/parseOklab.js\n  function parseOklab(color2, parsed) {\n    if (!parsed || parsed[0] !== \"oklab\") {\n      return void 0;\n    }\n    const res = { mode: \"oklab\" };\n    const [, l2, a2, b2, alpha] = parsed;\n    if (l2.type === Tok.Hue || a2.type === Tok.Hue || b2.type === Tok.Hue) {\n      return void 0;\n    }\n    if (l2.type !== Tok.None) {\n      res.l = Math.min(\n        Math.max(0, l2.type === Tok.Number ? l2.value : l2.value / 100),\n        1\n      );\n    }\n    if (a2.type !== Tok.None) {\n      res.a = a2.type === Tok.Number ? a2.value : a2.value * 0.4 / 100;\n    }\n    if (b2.type !== Tok.None) {\n      res.b = b2.type === Tok.Number ? b2.value : b2.value * 0.4 / 100;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseOklab_default = parseOklab;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklab/definition.js\n  var definition20 = {\n    ...definition_default13,\n    mode: \"oklab\",\n    toMode: {\n      lrgb: convertOklabToLrgb_default,\n      rgb: convertOklabToRgb_default\n    },\n    fromMode: {\n      lrgb: convertLrgbToOklab_default,\n      rgb: convertRgbToOklab_default\n    },\n    ranges: {\n      l: [0, 1],\n      a: [-0.4, 0.4],\n      b: [-0.4, 0.4]\n    },\n    parse: [parseOklab_default],\n    serialize: (c3) => `oklab(${c3.l !== void 0 ? c3.l : \"none\"} ${c3.a !== void 0 ? c3.a : \"none\"} ${c3.b !== void 0 ? c3.b : \"none\"}${c3.alpha < 1 ? ` / ${c3.alpha}` : \"\"})`\n  };\n  var definition_default20 = definition20;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklch/parseOklch.js\n  function parseOklch(color2, parsed) {\n    if (!parsed || parsed[0] !== \"oklch\") {\n      return void 0;\n    }\n    const res = { mode: \"oklch\" };\n    const [, l2, c3, h2, alpha] = parsed;\n    if (l2.type !== Tok.None) {\n      if (l2.type === Tok.Hue) {\n        return void 0;\n      }\n      res.l = Math.min(\n        Math.max(0, l2.type === Tok.Number ? l2.value : l2.value / 100),\n        1\n      );\n    }\n    if (c3.type !== Tok.None) {\n      res.c = Math.max(\n        0,\n        c3.type === Tok.Number ? c3.value : c3.value * 0.4 / 100\n      );\n    }\n    if (h2.type !== Tok.None) {\n      if (h2.type === Tok.Percentage) {\n        return void 0;\n      }\n      res.h = h2.value;\n    }\n    if (alpha.type !== Tok.None) {\n      res.alpha = Math.min(\n        1,\n        Math.max(\n          0,\n          alpha.type === Tok.Number ? alpha.value : alpha.value / 100\n        )\n      );\n    }\n    return res;\n  }\n  var parseOklch_default = parseOklch;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/oklch/definition.js\n  var definition21 = {\n    ...definition_default15,\n    mode: \"oklch\",\n    toMode: {\n      oklab: (c3) => convertLchToLab_default(c3, \"oklab\"),\n      rgb: (c3) => convertOklabToRgb_default(convertLchToLab_default(c3, \"oklab\"))\n    },\n    fromMode: {\n      rgb: (c3) => convertLabToLch_default(convertRgbToOklab_default(c3), \"oklch\"),\n      oklab: (c3) => convertLabToLch_default(c3, \"oklch\")\n    },\n    parse: [parseOklch_default],\n    serialize: (c3) => `oklch(${c3.l !== void 0 ? c3.l : \"none\"} ${c3.c !== void 0 ? c3.c : \"none\"} ${c3.h !== void 0 ? c3.h : \"none\"}${c3.alpha < 1 ? ` / ${c3.alpha}` : \"\"})`,\n    ranges: {\n      l: [0, 1],\n      c: [0, 0.4],\n      h: [0, 360]\n    }\n  };\n  var definition_default21 = definition21;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/p3/convertP3ToXyz65.js\n  var convertP3ToXyz65 = (rgb4) => {\n    let { r: r3, g: g2, b: b2, alpha } = convertRgbToLrgb_default(rgb4);\n    let res = {\n      mode: \"xyz65\",\n      x: 0.486570948648216 * r3 + 0.265667693169093 * g2 + 0.1982172852343625 * b2,\n      y: 0.2289745640697487 * r3 + 0.6917385218365062 * g2 + 0.079286914093745 * b2,\n      z: 0 * r3 + 0.0451133818589026 * g2 + 1.043944368900976 * b2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertP3ToXyz65_default = convertP3ToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/p3/convertXyz65ToP3.js\n  var convertXyz65ToP3 = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = convertLrgbToRgb_default(\n      {\n        r: x2 * 2.4934969119414263 - y2 * 0.9313836179191242 - 0.402710784450717 * z2,\n        g: x2 * -0.8294889695615749 + y2 * 1.7626640603183465 + 0.0236246858419436 * z2,\n        b: x2 * 0.0358458302437845 - y2 * 0.0761723892680418 + 0.9568845240076871 * z2\n      },\n      \"p3\"\n    );\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToP3_default = convertXyz65ToP3;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/p3/definition.js\n  var definition22 = {\n    ...definition_default,\n    mode: \"p3\",\n    parse: [\"display-p3\"],\n    serialize: \"display-p3\",\n    fromMode: {\n      rgb: (color2) => convertXyz65ToP3_default(convertRgbToXyz65_default(color2)),\n      xyz65: convertXyz65ToP3_default\n    },\n    toMode: {\n      rgb: (color2) => convertXyz65ToRgb_default(convertP3ToXyz65_default(color2)),\n      xyz65: convertP3ToXyz65_default\n    }\n  };\n  var definition_default22 = definition22;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/prophoto/convertXyz50ToProphoto.js\n  var gamma2 = (v2) => {\n    let abs2 = Math.abs(v2);\n    if (abs2 >= 1 / 512) {\n      return Math.sign(v2) * Math.pow(abs2, 1 / 1.8);\n    }\n    return 16 * v2;\n  };\n  var convertXyz50ToProphoto = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = {\n      mode: \"prophoto\",\n      r: gamma2(\n        x2 * 1.3457868816471585 - y2 * 0.2555720873797946 - 0.0511018649755453 * z2\n      ),\n      g: gamma2(\n        x2 * -0.5446307051249019 + y2 * 1.5082477428451466 + 0.0205274474364214 * z2\n      ),\n      b: gamma2(x2 * 0 + y2 * 0 + 1.2119675456389452 * z2)\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz50ToProphoto_default = convertXyz50ToProphoto;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/prophoto/convertProphotoToXyz50.js\n  var linearize2 = (v2 = 0) => {\n    let abs2 = Math.abs(v2);\n    if (abs2 >= 16 / 512) {\n      return Math.sign(v2) * Math.pow(abs2, 1.8);\n    }\n    return v2 / 16;\n  };\n  var convertProphotoToXyz50 = (prophoto2) => {\n    let r3 = linearize2(prophoto2.r);\n    let g2 = linearize2(prophoto2.g);\n    let b2 = linearize2(prophoto2.b);\n    let res = {\n      mode: \"xyz50\",\n      x: 0.7977666449006423 * r3 + 0.1351812974005331 * g2 + 0.0313477341283922 * b2,\n      y: 0.2880748288194013 * r3 + 0.7118352342418731 * g2 + 899369387256e-16 * b2,\n      z: 0 * r3 + 0 * g2 + 0.8251046025104602 * b2\n    };\n    if (prophoto2.alpha !== void 0) {\n      res.alpha = prophoto2.alpha;\n    }\n    return res;\n  };\n  var convertProphotoToXyz50_default = convertProphotoToXyz50;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/prophoto/definition.js\n  var definition23 = {\n    ...definition_default,\n    mode: \"prophoto\",\n    parse: [\"prophoto-rgb\"],\n    serialize: \"prophoto-rgb\",\n    fromMode: {\n      xyz50: convertXyz50ToProphoto_default,\n      rgb: (color2) => convertXyz50ToProphoto_default(convertRgbToXyz50_default(color2))\n    },\n    toMode: {\n      xyz50: convertProphotoToXyz50_default,\n      rgb: (color2) => convertXyz50ToRgb_default(convertProphotoToXyz50_default(color2))\n    }\n  };\n  var definition_default23 = definition23;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rec2020/convertXyz65ToRec2020.js\n  var \\u03B1 = 1.09929682680944;\n  var \\u03B2 = 0.018053968510807;\n  var gamma3 = (v2) => {\n    const abs2 = Math.abs(v2);\n    if (abs2 > \\u03B2) {\n      return (Math.sign(v2) || 1) * (\\u03B1 * Math.pow(abs2, 0.45) - (\\u03B1 - 1));\n    }\n    return 4.5 * v2;\n  };\n  var convertXyz65ToRec2020 = ({ x: x2, y: y2, z: z2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = {\n      mode: \"rec2020\",\n      r: gamma3(\n        x2 * 1.7166511879712683 - y2 * 0.3556707837763925 - 0.2533662813736599 * z2\n      ),\n      g: gamma3(\n        x2 * -0.6666843518324893 + y2 * 1.6164812366349395 + 0.0157685458139111 * z2\n      ),\n      b: gamma3(\n        x2 * 0.0176398574453108 - y2 * 0.0427706132578085 + 0.9421031212354739 * z2\n      )\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToRec2020_default = convertXyz65ToRec2020;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rec2020/convertRec2020ToXyz65.js\n  var \\u03B12 = 1.09929682680944;\n  var \\u03B22 = 0.018053968510807;\n  var linearize3 = (v2 = 0) => {\n    let abs2 = Math.abs(v2);\n    if (abs2 < \\u03B22 * 4.5) {\n      return v2 / 4.5;\n    }\n    return (Math.sign(v2) || 1) * Math.pow((abs2 + \\u03B12 - 1) / \\u03B12, 1 / 0.45);\n  };\n  var convertRec2020ToXyz65 = (rec20202) => {\n    let r3 = linearize3(rec20202.r);\n    let g2 = linearize3(rec20202.g);\n    let b2 = linearize3(rec20202.b);\n    let res = {\n      mode: \"xyz65\",\n      x: 0.6369580483012911 * r3 + 0.1446169035862083 * g2 + 0.1688809751641721 * b2,\n      y: 0.262700212011267 * r3 + 0.6779980715188708 * g2 + 0.059301716469862 * b2,\n      z: 0 * r3 + 0.0280726930490874 * g2 + 1.0609850577107909 * b2\n    };\n    if (rec20202.alpha !== void 0) {\n      res.alpha = rec20202.alpha;\n    }\n    return res;\n  };\n  var convertRec2020ToXyz65_default = convertRec2020ToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/rec2020/definition.js\n  var definition24 = {\n    ...definition_default,\n    mode: \"rec2020\",\n    fromMode: {\n      xyz65: convertXyz65ToRec2020_default,\n      rgb: (color2) => convertXyz65ToRec2020_default(convertRgbToXyz65_default(color2))\n    },\n    toMode: {\n      xyz65: convertRec2020ToXyz65_default,\n      rgb: (color2) => convertXyz65ToRgb_default(convertRec2020ToXyz65_default(color2))\n    },\n    parse: [\"rec2020\"],\n    serialize: \"rec2020\"\n  };\n  var definition_default24 = definition24;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyb/constants.js\n  var bias = 0.0037930732552754493;\n  var bias_cbrt = Math.cbrt(bias);\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyb/convertRgbToXyb.js\n  var transfer = (v2) => Math.cbrt(v2) - bias_cbrt;\n  var convertRgbToXyb = (color2) => {\n    const { r: r3, g: g2, b: b2, alpha } = convertRgbToLrgb_default(color2);\n    const l2 = transfer(0.3 * r3 + 0.622 * g2 + 0.078 * b2 + bias);\n    const m2 = transfer(0.23 * r3 + 0.692 * g2 + 0.078 * b2 + bias);\n    const s2 = transfer(\n      0.2434226892454782 * r3 + 0.2047674442449682 * g2 + 0.5518098665095535 * b2 + bias\n    );\n    const res = {\n      mode: \"xyb\",\n      x: (l2 - m2) / 2,\n      y: (l2 + m2) / 2,\n      /* Apply default chroma from luma (subtract Y from B) */\n      b: s2 - (l2 + m2) / 2\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertRgbToXyb_default = convertRgbToXyb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyb/convertXybToRgb.js\n  var transfer2 = (v2) => Math.pow(v2 + bias_cbrt, 3);\n  var convertXybToRgb = ({ x: x2, y: y2, b: b2, alpha }) => {\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (b2 === void 0) b2 = 0;\n    const l2 = transfer2(x2 + y2) - bias;\n    const m2 = transfer2(y2 - x2) - bias;\n    const s2 = transfer2(b2 + y2) - bias;\n    const res = convertLrgbToRgb_default({\n      r: 11.031566904639861 * l2 - 9.866943908131562 * m2 - 0.16462299650829934 * s2,\n      g: -3.2541473810744237 * l2 + 4.418770377582723 * m2 - 0.16462299650829934 * s2,\n      b: -3.6588512867136815 * l2 + 2.7129230459360922 * m2 + 1.9459282407775895 * s2\n    });\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertXybToRgb_default = convertXybToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyb/definition.js\n  var definition25 = {\n    mode: \"xyb\",\n    channels: [\"x\", \"y\", \"b\", \"alpha\"],\n    parse: [\"--xyb\"],\n    serialize: \"--xyb\",\n    toMode: {\n      rgb: convertXybToRgb_default\n    },\n    fromMode: {\n      rgb: convertRgbToXyb_default\n    },\n    ranges: {\n      x: [-0.0154, 0.0281],\n      y: [0, 0.8453],\n      b: [-0.2778, 0.388]\n    },\n    interpolate: {\n      x: interpolatorLinear,\n      y: interpolatorLinear,\n      b: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default25 = definition25;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz50/definition.js\n  var definition26 = {\n    mode: \"xyz50\",\n    parse: [\"xyz-d50\"],\n    serialize: \"xyz-d50\",\n    toMode: {\n      rgb: convertXyz50ToRgb_default,\n      lab: convertXyz50ToLab_default\n    },\n    fromMode: {\n      rgb: convertRgbToXyz50_default,\n      lab: convertLabToXyz50_default\n    },\n    channels: [\"x\", \"y\", \"z\", \"alpha\"],\n    ranges: {\n      x: [0, 0.964],\n      y: [0, 0.999],\n      z: [0, 0.825]\n    },\n    interpolate: {\n      x: interpolatorLinear,\n      y: interpolatorLinear,\n      z: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default26 = definition26;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz65/convertXyz65ToXyz50.js\n  var convertXyz65ToXyz50 = (xyz652) => {\n    let { x: x2, y: y2, z: z2, alpha } = xyz652;\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = {\n      mode: \"xyz50\",\n      x: 1.0479298208405488 * x2 + 0.0229467933410191 * y2 - 0.0501922295431356 * z2,\n      y: 0.0296278156881593 * x2 + 0.990434484573249 * y2 - 0.0170738250293851 * z2,\n      z: -0.0092430581525912 * x2 + 0.0150551448965779 * y2 + 0.7518742899580008 * z2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz65ToXyz50_default = convertXyz65ToXyz50;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz65/convertXyz50ToXyz65.js\n  var convertXyz50ToXyz65 = (xyz502) => {\n    let { x: x2, y: y2, z: z2, alpha } = xyz502;\n    if (x2 === void 0) x2 = 0;\n    if (y2 === void 0) y2 = 0;\n    if (z2 === void 0) z2 = 0;\n    let res = {\n      mode: \"xyz65\",\n      x: 0.9554734527042182 * x2 - 0.0230985368742614 * y2 + 0.0632593086610217 * z2,\n      y: -0.0283697069632081 * x2 + 1.0099954580058226 * y2 + 0.021041398966943 * z2,\n      z: 0.0123140016883199 * x2 - 0.0205076964334779 * y2 + 1.3303659366080753 * z2\n    };\n    if (alpha !== void 0) {\n      res.alpha = alpha;\n    }\n    return res;\n  };\n  var convertXyz50ToXyz65_default = convertXyz50ToXyz65;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/xyz65/definition.js\n  var definition27 = {\n    mode: \"xyz65\",\n    toMode: {\n      rgb: convertXyz65ToRgb_default,\n      xyz50: convertXyz65ToXyz50_default\n    },\n    fromMode: {\n      rgb: convertRgbToXyz65_default,\n      xyz50: convertXyz50ToXyz65_default\n    },\n    ranges: {\n      x: [0, 0.95],\n      y: [0, 1],\n      z: [0, 1.088]\n    },\n    channels: [\"x\", \"y\", \"z\", \"alpha\"],\n    parse: [\"xyz\", \"xyz-d65\"],\n    serialize: \"xyz-d65\",\n    interpolate: {\n      x: interpolatorLinear,\n      y: interpolatorLinear,\n      z: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default27 = definition27;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/yiq/convertRgbToYiq.js\n  var convertRgbToYiq = ({ r: r3, g: g2, b: b2, alpha }) => {\n    if (r3 === void 0) r3 = 0;\n    if (g2 === void 0) g2 = 0;\n    if (b2 === void 0) b2 = 0;\n    const res = {\n      mode: \"yiq\",\n      y: 0.29889531 * r3 + 0.58662247 * g2 + 0.11448223 * b2,\n      i: 0.59597799 * r3 - 0.2741761 * g2 - 0.32180189 * b2,\n      q: 0.21147017 * r3 - 0.52261711 * g2 + 0.31114694 * b2\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertRgbToYiq_default = convertRgbToYiq;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/yiq/convertYiqToRgb.js\n  var convertYiqToRgb = ({ y: y2, i: i2, q: q2, alpha }) => {\n    if (y2 === void 0) y2 = 0;\n    if (i2 === void 0) i2 = 0;\n    if (q2 === void 0) q2 = 0;\n    const res = {\n      mode: \"rgb\",\n      r: y2 + 0.95608445 * i2 + 0.6208885 * q2,\n      g: y2 - 0.27137664 * i2 - 0.6486059 * q2,\n      b: y2 - 1.10561724 * i2 + 1.70250126 * q2\n    };\n    if (alpha !== void 0) res.alpha = alpha;\n    return res;\n  };\n  var convertYiqToRgb_default = convertYiqToRgb;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/yiq/definition.js\n  var definition28 = {\n    mode: \"yiq\",\n    toMode: {\n      rgb: convertYiqToRgb_default\n    },\n    fromMode: {\n      rgb: convertRgbToYiq_default\n    },\n    channels: [\"y\", \"i\", \"q\", \"alpha\"],\n    parse: [\"--yiq\"],\n    serialize: \"--yiq\",\n    ranges: {\n      i: [-0.595, 0.595],\n      q: [-0.522, 0.522]\n    },\n    interpolate: {\n      y: interpolatorLinear,\n      i: interpolatorLinear,\n      q: interpolatorLinear,\n      alpha: { use: interpolatorLinear, fixup: fixupAlpha }\n    }\n  };\n  var definition_default28 = definition28;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/round.js\n  var r2 = (value2, precision) => Math.round(value2 * (precision = Math.pow(10, precision))) / precision;\n  var round = (precision = 4) => (value2) => typeof value2 === \"number\" ? r2(value2, precision) : value2;\n  var round_default = round;\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/formatter.js\n  var twoDecimals = round_default(2);\n  var clamp = (value2) => Math.max(0, Math.min(1, value2 || 0));\n  var fixup = (value2) => Math.round(clamp(value2) * 255);\n  var rgb = converter_default(\"rgb\");\n  var hsl = converter_default(\"hsl\");\n  var serializeHex = (color2) => {\n    if (color2 === void 0) {\n      return void 0;\n    }\n    let r3 = fixup(color2.r);\n    let g2 = fixup(color2.g);\n    let b2 = fixup(color2.b);\n    return \"#\" + (1 << 24 | r3 << 16 | g2 << 8 | b2).toString(16).slice(1);\n  };\n  var serializeHex8 = (color2) => {\n    if (color2 === void 0) {\n      return void 0;\n    }\n    let a2 = fixup(color2.alpha !== void 0 ? color2.alpha : 1);\n    return serializeHex(color2) + (1 << 8 | a2).toString(16).slice(1);\n  };\n  var serializeRgb = (color2) => {\n    if (color2 === void 0) {\n      return void 0;\n    }\n    let r3 = fixup(color2.r);\n    let g2 = fixup(color2.g);\n    let b2 = fixup(color2.b);\n    if (color2.alpha === void 0 || color2.alpha === 1) {\n      return `rgb(${r3}, ${g2}, ${b2})`;\n    } else {\n      return `rgba(${r3}, ${g2}, ${b2}, ${twoDecimals(clamp(color2.alpha))})`;\n    }\n  };\n  var formatHex = (c3) => serializeHex(rgb(c3));\n  var formatHex8 = (c3) => serializeHex8(rgb(c3));\n  var formatRgb = (c3) => serializeRgb(rgb(c3));\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/clamp.js\n  var rgb2 = converter_default(\"rgb\");\n  var fixup_rgb = (c3) => {\n    const res = {\n      mode: c3.mode,\n      r: Math.max(0, Math.min(c3.r !== void 0 ? c3.r : 0, 1)),\n      g: Math.max(0, Math.min(c3.g !== void 0 ? c3.g : 0, 1)),\n      b: Math.max(0, Math.min(c3.b !== void 0 ? c3.b : 0, 1))\n    };\n    if (c3.alpha !== void 0) {\n      res.alpha = c3.alpha;\n    }\n    return res;\n  };\n  var to_displayable_srgb = (c3) => fixup_rgb(rgb2(c3));\n  var inrange_rgb = (c3) => {\n    return c3 !== void 0 && (c3.r === void 0 || c3.r >= 0 && c3.r <= 1) && (c3.g === void 0 || c3.g >= 0 && c3.g <= 1) && (c3.b === void 0 || c3.b >= 0 && c3.b <= 1);\n  };\n  function displayable(color2) {\n    return inrange_rgb(rgb2(color2));\n  }\n  function inGamut(mode = \"rgb\") {\n    const { gamut } = getMode(mode);\n    if (!gamut) {\n      return (color2) => true;\n    }\n    const conv = converter_default(typeof gamut === \"string\" ? gamut : mode);\n    return (color2) => inrange_rgb(conv(color2));\n  }\n  function clampRgb(color2) {\n    color2 = prepare_default(color2);\n    if (color2 === void 0 || displayable(color2)) return color2;\n    let conv = converter_default(color2.mode);\n    return conv(to_displayable_srgb(color2));\n  }\n\n  // node_modules/.pnpm/culori@4.0.1/node_modules/culori/src/index.js\n  var a98 = useMode(definition_default2);\n  var cubehelix = useMode(definition_default3);\n  var dlab = useMode(definition_default4);\n  var dlch = useMode(definition_default5);\n  var hsi = useMode(definition_default6);\n  var hsl2 = useMode(definition_default7);\n  var hsv = useMode(definition_default8);\n  var hwb = useMode(definition_default9);\n  var itp = useMode(definition_default10);\n  var jab = useMode(definition_default11);\n  var jch = useMode(definition_default12);\n  var lab = useMode(definition_default13);\n  var lab65 = useMode(definition_default14);\n  var lch = useMode(definition_default15);\n  var lch65 = useMode(definition_default16);\n  var lchuv = useMode(definition_default17);\n  var lrgb = useMode(definition_default18);\n  var luv = useMode(definition_default19);\n  var okhsl = useMode(modeOkhsl_default);\n  var okhsv = useMode(modeOkhsv_default);\n  var oklab = useMode(definition_default20);\n  var oklch = useMode(definition_default21);\n  var p32 = useMode(definition_default22);\n  var prophoto = useMode(definition_default23);\n  var rec2020 = useMode(definition_default24);\n  var rgb3 = useMode(definition_default);\n  var xyb = useMode(definition_default25);\n  var xyz50 = useMode(definition_default26);\n  var xyz65 = useMode(definition_default27);\n  var yiq = useMode(definition_default28);\n\n  // node_modules/.pnpm/postcss@8.5.3/node_modules/postcss/lib/postcss.mjs\n  var import_postcss = __toESM(require_postcss(), 1);\n  var postcss_default = import_postcss.default;\n  var stringify2 = import_postcss.default.stringify;\n  var fromJSON = import_postcss.default.fromJSON;\n  var plugin = import_postcss.default.plugin;\n  var parse3 = import_postcss.default.parse;\n  var list = import_postcss.default.list;\n  var document2 = import_postcss.default.document;\n  var comment = import_postcss.default.comment;\n  var atRule = import_postcss.default.atRule;\n  var rule = import_postcss.default.rule;\n  var decl = import_postcss.default.decl;\n  var root = import_postcss.default.root;\n  var CssSyntaxError = import_postcss.default.CssSyntaxError;\n  var Declaration = import_postcss.default.Declaration;\n  var Container = import_postcss.default.Container;\n  var Processor = import_postcss.default.Processor;\n  var Document = import_postcss.default.Document;\n  var Comment = import_postcss.default.Comment;\n  var Warning = import_postcss.default.Warning;\n  var AtRule = import_postcss.default.AtRule;\n  var Result = import_postcss.default.Result;\n  var Input = import_postcss.default.Input;\n  var Rule = import_postcss.default.Rule;\n  var Root = import_postcss.default.Root;\n  var Node = import_postcss.default.Node;\n\n  // node_modules/.pnpm/color-name@2.0.0/node_modules/color-name/index.js\n  var color_name_default = {\n    aliceblue: [240, 248, 255],\n    antiquewhite: [250, 235, 215],\n    aqua: [0, 255, 255],\n    aquamarine: [127, 255, 212],\n    azure: [240, 255, 255],\n    beige: [245, 245, 220],\n    bisque: [255, 228, 196],\n    black: [0, 0, 0],\n    blanchedalmond: [255, 235, 205],\n    blue: [0, 0, 255],\n    blueviolet: [138, 43, 226],\n    brown: [165, 42, 42],\n    burlywood: [222, 184, 135],\n    cadetblue: [95, 158, 160],\n    chartreuse: [127, 255, 0],\n    chocolate: [210, 105, 30],\n    coral: [255, 127, 80],\n    cornflowerblue: [100, 149, 237],\n    cornsilk: [255, 248, 220],\n    crimson: [220, 20, 60],\n    cyan: [0, 255, 255],\n    darkblue: [0, 0, 139],\n    darkcyan: [0, 139, 139],\n    darkgoldenrod: [184, 134, 11],\n    darkgray: [169, 169, 169],\n    darkgreen: [0, 100, 0],\n    darkgrey: [169, 169, 169],\n    darkkhaki: [189, 183, 107],\n    darkmagenta: [139, 0, 139],\n    darkolivegreen: [85, 107, 47],\n    darkorange: [255, 140, 0],\n    darkorchid: [153, 50, 204],\n    darkred: [139, 0, 0],\n    darksalmon: [233, 150, 122],\n    darkseagreen: [143, 188, 143],\n    darkslateblue: [72, 61, 139],\n    darkslategray: [47, 79, 79],\n    darkslategrey: [47, 79, 79],\n    darkturquoise: [0, 206, 209],\n    darkviolet: [148, 0, 211],\n    deeppink: [255, 20, 147],\n    deepskyblue: [0, 191, 255],\n    dimgray: [105, 105, 105],\n    dimgrey: [105, 105, 105],\n    dodgerblue: [30, 144, 255],\n    firebrick: [178, 34, 34],\n    floralwhite: [255, 250, 240],\n    forestgreen: [34, 139, 34],\n    fuchsia: [255, 0, 255],\n    gainsboro: [220, 220, 220],\n    ghostwhite: [248, 248, 255],\n    gold: [255, 215, 0],\n    goldenrod: [218, 165, 32],\n    gray: [128, 128, 128],\n    green: [0, 128, 0],\n    greenyellow: [173, 255, 47],\n    grey: [128, 128, 128],\n    honeydew: [240, 255, 240],\n    hotpink: [255, 105, 180],\n    indianred: [205, 92, 92],\n    indigo: [75, 0, 130],\n    ivory: [255, 255, 240],\n    khaki: [240, 230, 140],\n    lavender: [230, 230, 250],\n    lavenderblush: [255, 240, 245],\n    lawngreen: [124, 252, 0],\n    lemonchiffon: [255, 250, 205],\n    lightblue: [173, 216, 230],\n    lightcoral: [240, 128, 128],\n    lightcyan: [224, 255, 255],\n    lightgoldenrodyellow: [250, 250, 210],\n    lightgray: [211, 211, 211],\n    lightgreen: [144, 238, 144],\n    lightgrey: [211, 211, 211],\n    lightpink: [255, 182, 193],\n    lightsalmon: [255, 160, 122],\n    lightseagreen: [32, 178, 170],\n    lightskyblue: [135, 206, 250],\n    lightslategray: [119, 136, 153],\n    lightslategrey: [119, 136, 153],\n    lightsteelblue: [176, 196, 222],\n    lightyellow: [255, 255, 224],\n    lime: [0, 255, 0],\n    limegreen: [50, 205, 50],\n    linen: [250, 240, 230],\n    magenta: [255, 0, 255],\n    maroon: [128, 0, 0],\n    mediumaquamarine: [102, 205, 170],\n    mediumblue: [0, 0, 205],\n    mediumorchid: [186, 85, 211],\n    mediumpurple: [147, 112, 219],\n    mediumseagreen: [60, 179, 113],\n    mediumslateblue: [123, 104, 238],\n    mediumspringgreen: [0, 250, 154],\n    mediumturquoise: [72, 209, 204],\n    mediumvioletred: [199, 21, 133],\n    midnightblue: [25, 25, 112],\n    mintcream: [245, 255, 250],\n    mistyrose: [255, 228, 225],\n    moccasin: [255, 228, 181],\n    navajowhite: [255, 222, 173],\n    navy: [0, 0, 128],\n    oldlace: [253, 245, 230],\n    olive: [128, 128, 0],\n    olivedrab: [107, 142, 35],\n    orange: [255, 165, 0],\n    orangered: [255, 69, 0],\n    orchid: [218, 112, 214],\n    palegoldenrod: [238, 232, 170],\n    palegreen: [152, 251, 152],\n    paleturquoise: [175, 238, 238],\n    palevioletred: [219, 112, 147],\n    papayawhip: [255, 239, 213],\n    peachpuff: [255, 218, 185],\n    peru: [205, 133, 63],\n    pink: [255, 192, 203],\n    plum: [221, 160, 221],\n    powderblue: [176, 224, 230],\n    purple: [128, 0, 128],\n    rebeccapurple: [102, 51, 153],\n    red: [255, 0, 0],\n    rosybrown: [188, 143, 143],\n    royalblue: [65, 105, 225],\n    saddlebrown: [139, 69, 19],\n    salmon: [250, 128, 114],\n    sandybrown: [244, 164, 96],\n    seagreen: [46, 139, 87],\n    seashell: [255, 245, 238],\n    sienna: [160, 82, 45],\n    silver: [192, 192, 192],\n    skyblue: [135, 206, 235],\n    slateblue: [106, 90, 205],\n    slategray: [112, 128, 144],\n    slategrey: [112, 128, 144],\n    snow: [255, 250, 250],\n    springgreen: [0, 255, 127],\n    steelblue: [70, 130, 180],\n    tan: [210, 180, 140],\n    teal: [0, 128, 128],\n    thistle: [216, 191, 216],\n    tomato: [255, 99, 71],\n    turquoise: [64, 224, 208],\n    violet: [238, 130, 238],\n    wheat: [245, 222, 179],\n    white: [255, 255, 255],\n    whitesmoke: [245, 245, 245],\n    yellow: [255, 255, 0],\n    yellowgreen: [154, 205, 50]\n  };\n\n  // node_modules/.pnpm/monaco-tailwindcss@0.6.1_monaco-editor@0.49.0/node_modules/monaco-tailwindcss/tailwindcss.worker.js\n  var import_line_column = __toESM(require_line_column(), 1);\n  var import_moo = __toESM(require_moo(), 1);\n  var import_moo2 = __toESM(require_moo(), 1);\n  var import_moo3 = __toESM(require_moo(), 1);\n  var import_tmp_cache = __toESM(require_lib(), 1);\n  var import_dlv4 = __toESM(require_dlv_umd(), 1);\n  var import_css = __toESM(require_css_escape(), 1);\n\n  // node_modules/.pnpm/is-regexp@3.1.0/node_modules/is-regexp/index.js\n  var { toString } = Object.prototype;\n  function isRegexp(value2) {\n    return toString.call(value2) === \"[object RegExp]\";\n  }\n\n  // node_modules/.pnpm/is-obj@3.0.0/node_modules/is-obj/index.js\n  function isObject(value2) {\n    const type = typeof value2;\n    return value2 !== null && (type === \"object\" || type === \"function\");\n  }\n\n  // node_modules/.pnpm/get-own-enumerable-keys@1.0.0/node_modules/get-own-enumerable-keys/index.js\n  var { propertyIsEnumerable } = Object.prototype;\n  function getOwnEnumerableKeys(object) {\n    return [\n      ...Object.keys(object),\n      ...Object.getOwnPropertySymbols(object).filter((key) => propertyIsEnumerable.call(object, key))\n    ];\n  }\n\n  // node_modules/.pnpm/stringify-object@5.0.0/node_modules/stringify-object/index.js\n  function stringifyObject(input, options, pad) {\n    const seen = [];\n    return function stringify3(input2, options2 = {}, pad2 = \"\") {\n      const indent = options2.indent || \"\t\";\n      let tokens;\n      if (options2.inlineCharacterLimit === void 0) {\n        tokens = {\n          newline: \"\\n\",\n          newlineOrSpace: \"\\n\",\n          pad: pad2,\n          indent: pad2 + indent\n        };\n      } else {\n        tokens = {\n          newline: \"@@__STRINGIFY_OBJECT_NEW_LINE__@@\",\n          newlineOrSpace: \"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@\",\n          pad: \"@@__STRINGIFY_OBJECT_PAD__@@\",\n          indent: \"@@__STRINGIFY_OBJECT_INDENT__@@\"\n        };\n      }\n      const expandWhiteSpace = (string) => {\n        if (options2.inlineCharacterLimit === void 0) {\n          return string;\n        }\n        const oneLined = string.replace(new RegExp(tokens.newline, \"g\"), \"\").replace(new RegExp(tokens.newlineOrSpace, \"g\"), \" \").replace(new RegExp(tokens.pad + \"|\" + tokens.indent, \"g\"), \"\");\n        if (oneLined.length <= options2.inlineCharacterLimit) {\n          return oneLined;\n        }\n        return string.replace(new RegExp(tokens.newline + \"|\" + tokens.newlineOrSpace, \"g\"), \"\\n\").replace(new RegExp(tokens.pad, \"g\"), pad2).replace(new RegExp(tokens.indent, \"g\"), pad2 + indent);\n      };\n      if (seen.includes(input2)) {\n        return '\"[Circular]\"';\n      }\n      if (input2 === null || input2 === void 0 || typeof input2 === \"number\" || typeof input2 === \"boolean\" || typeof input2 === \"function\" || typeof input2 === \"symbol\" || isRegexp(input2)) {\n        return String(input2);\n      }\n      if (input2 instanceof Date) {\n        return `new Date('${input2.toISOString()}')`;\n      }\n      if (Array.isArray(input2)) {\n        if (input2.length === 0) {\n          return \"[]\";\n        }\n        seen.push(input2);\n        const returnValue = \"[\" + tokens.newline + input2.map((element, i2) => {\n          const eol = input2.length - 1 === i2 ? tokens.newline : \",\" + tokens.newlineOrSpace;\n          let value2 = stringify3(element, options2, pad2 + indent);\n          if (options2.transform) {\n            value2 = options2.transform(input2, i2, value2);\n          }\n          return tokens.indent + value2 + eol;\n        }).join(\"\") + tokens.pad + \"]\";\n        seen.pop();\n        return expandWhiteSpace(returnValue);\n      }\n      if (isObject(input2)) {\n        let objectKeys = getOwnEnumerableKeys(input2);\n        if (options2.filter) {\n          objectKeys = objectKeys.filter((element) => options2.filter(input2, element));\n        }\n        if (objectKeys.length === 0) {\n          return \"{}\";\n        }\n        seen.push(input2);\n        const returnValue = \"{\" + tokens.newline + objectKeys.map((element, index2) => {\n          const eol = objectKeys.length - 1 === index2 ? tokens.newline : \",\" + tokens.newlineOrSpace;\n          const isSymbol = typeof element === \"symbol\";\n          const isClassic = !isSymbol && /^[a-z$_][$\\w]*$/i.test(element);\n          const key = isSymbol || isClassic ? element : stringify3(element, options2);\n          let value2 = stringify3(input2[element], options2, pad2 + indent);\n          if (options2.transform) {\n            value2 = options2.transform(input2, element, value2);\n          }\n          return tokens.indent + String(key) + \": \" + value2 + eol;\n        }).join(\"\") + tokens.pad + \"}\";\n        seen.pop();\n        return expandWhiteSpace(returnValue);\n      }\n      input2 = input2.replace(/\\\\/g, \"\\\\\\\\\");\n      input2 = String(input2).replace(/[\\r\\n]/g, (x2) => x2 === \"\\n\" ? \"\\\\n\" : \"\\\\r\");\n      if (options2.singleQuotes === false) {\n        input2 = input2.replace(/\"/g, '\\\\\"');\n        return `\"${input2}\"`;\n      }\n      input2 = input2.replace(/'/g, \"\\\\'\");\n      return `'${input2}'`;\n    }(input, options, pad);\n  }\n\n  // node_modules/.pnpm/monaco-tailwindcss@0.6.1_monaco-editor@0.49.0/node_modules/monaco-tailwindcss/tailwindcss.worker.js\n  var import_gte = __toESM(require_gte(), 1);\n  var import_lte = __toESM(require_lte(), 1);\n  var import_dlv5 = __toESM(require_dlv_umd(), 1);\n  var import_dlv6 = __toESM(require_dlv_umd(), 1);\n  var import_dlv7 = __toESM(require_dlv_umd(), 1);\n  var import_sift_string = __toESM(require_sift_string(), 1);\n  var import_dlv8 = __toESM(require_dlv_umd(), 1);\n  var import_dlv9 = __toESM(require_dlv_umd(), 1);\n  var import_line_column2 = __toESM(require_line_column(), 1);\n  var import_dlv10 = __toESM(require_dlv_umd(), 1);\n  var import_postcss_selector_parser = __toESM(require_dist(), 1);\n  var import_dlv11 = __toESM(require_dlv_umd(), 1);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/errors.js\n  var ErrorHandler = class {\n    constructor() {\n      this.listeners = [];\n      this.unexpectedErrorHandler = function(e5) {\n        setTimeout(() => {\n          if (e5.stack) {\n            if (ErrorNoTelemetry.isErrorNoTelemetry(e5)) {\n              throw new ErrorNoTelemetry(e5.message + \"\\n\\n\" + e5.stack);\n            }\n            throw new Error(e5.message + \"\\n\\n\" + e5.stack);\n          }\n          throw e5;\n        }, 0);\n      };\n    }\n    emit(e5) {\n      this.listeners.forEach((listener) => {\n        listener(e5);\n      });\n    }\n    onUnexpectedError(e5) {\n      this.unexpectedErrorHandler(e5);\n      this.emit(e5);\n    }\n    // For external errors, we don't want the listeners to be called\n    onUnexpectedExternalError(e5) {\n      this.unexpectedErrorHandler(e5);\n    }\n  };\n  var errorHandler = new ErrorHandler();\n  function onUnexpectedError(e5) {\n    if (!isCancellationError(e5)) {\n      errorHandler.onUnexpectedError(e5);\n    }\n    return void 0;\n  }\n  function transformErrorForSerialization(error) {\n    if (error instanceof Error) {\n      const { name, message } = error;\n      const stack = error.stacktrace || error.stack;\n      return {\n        $isError: true,\n        name,\n        message,\n        stack,\n        noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error)\n      };\n    }\n    return error;\n  }\n  var canceledName = \"Canceled\";\n  function isCancellationError(error) {\n    if (error instanceof CancellationError) {\n      return true;\n    }\n    return error instanceof Error && error.name === canceledName && error.message === canceledName;\n  }\n  var CancellationError = class extends Error {\n    constructor() {\n      super(canceledName);\n      this.name = this.message;\n    }\n  };\n  var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error {\n    constructor(msg) {\n      super(msg);\n      this.name = \"CodeExpectedError\";\n    }\n    static fromError(err) {\n      if (err instanceof _ErrorNoTelemetry) {\n        return err;\n      }\n      const result = new _ErrorNoTelemetry();\n      result.message = err.message;\n      result.stack = err.stack;\n      return result;\n    }\n    static isErrorNoTelemetry(err) {\n      return err.name === \"CodeExpectedError\";\n    }\n  };\n  var BugIndicatingError = class _BugIndicatingError extends Error {\n    constructor(message) {\n      super(message || \"An unexpected bug occurred.\");\n      Object.setPrototypeOf(this, _BugIndicatingError.prototype);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/functional.js\n  function createSingleCallFunction(fn5, fnDidRunCallback) {\n    const _this = this;\n    let didCall = false;\n    let result;\n    return function() {\n      if (didCall) {\n        return result;\n      }\n      didCall = true;\n      if (fnDidRunCallback) {\n        try {\n          result = fn5.apply(_this, arguments);\n        } finally {\n          fnDidRunCallback();\n        }\n      } else {\n        result = fn5.apply(_this, arguments);\n      }\n      return result;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/iterator.js\n  var Iterable;\n  (function(Iterable2) {\n    function is(thing) {\n      return thing && typeof thing === \"object\" && typeof thing[Symbol.iterator] === \"function\";\n    }\n    Iterable2.is = is;\n    const _empty2 = Object.freeze([]);\n    function empty() {\n      return _empty2;\n    }\n    Iterable2.empty = empty;\n    function* single(element) {\n      yield element;\n    }\n    Iterable2.single = single;\n    function wrap(iterableOrElement) {\n      if (is(iterableOrElement)) {\n        return iterableOrElement;\n      } else {\n        return single(iterableOrElement);\n      }\n    }\n    Iterable2.wrap = wrap;\n    function from(iterable) {\n      return iterable || _empty2;\n    }\n    Iterable2.from = from;\n    function* reverse(array) {\n      for (let i2 = array.length - 1; i2 >= 0; i2--) {\n        yield array[i2];\n      }\n    }\n    Iterable2.reverse = reverse;\n    function isEmpty(iterable) {\n      return !iterable || iterable[Symbol.iterator]().next().done === true;\n    }\n    Iterable2.isEmpty = isEmpty;\n    function first(iterable) {\n      return iterable[Symbol.iterator]().next().value;\n    }\n    Iterable2.first = first;\n    function some(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    Iterable2.some = some;\n    function find(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return element;\n        }\n      }\n      return void 0;\n    }\n    Iterable2.find = find;\n    function* filter(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          yield element;\n        }\n      }\n    }\n    Iterable2.filter = filter;\n    function* map(iterable, fn5) {\n      let index2 = 0;\n      for (const element of iterable) {\n        yield fn5(element, index2++);\n      }\n    }\n    Iterable2.map = map;\n    function* concat(...iterables) {\n      for (const iterable of iterables) {\n        yield* iterable;\n      }\n    }\n    Iterable2.concat = concat;\n    function reduce(iterable, reducer, initialValue) {\n      let value2 = initialValue;\n      for (const element of iterable) {\n        value2 = reducer(value2, element);\n      }\n      return value2;\n    }\n    Iterable2.reduce = reduce;\n    function* slice(arr, from2, to = arr.length) {\n      if (from2 < 0) {\n        from2 += arr.length;\n      }\n      if (to < 0) {\n        to += arr.length;\n      } else if (to > arr.length) {\n        to = arr.length;\n      }\n      for (; from2 < to; from2++) {\n        yield arr[from2];\n      }\n    }\n    Iterable2.slice = slice;\n    function consume(iterable, atMost = Number.POSITIVE_INFINITY) {\n      const consumed = [];\n      if (atMost === 0) {\n        return [consumed, iterable];\n      }\n      const iterator = iterable[Symbol.iterator]();\n      for (let i2 = 0; i2 < atMost; i2++) {\n        const next = iterator.next();\n        if (next.done) {\n          return [consumed, Iterable2.empty()];\n        }\n        consumed.push(next.value);\n      }\n      return [consumed, { [Symbol.iterator]() {\n        return iterator;\n      } }];\n    }\n    Iterable2.consume = consume;\n    async function asyncToArray(iterable) {\n      const result = [];\n      for await (const item of iterable) {\n        result.push(item);\n      }\n      return Promise.resolve(result);\n    }\n    Iterable2.asyncToArray = asyncToArray;\n  })(Iterable || (Iterable = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\n  var TRACK_DISPOSABLES = false;\n  var disposableTracker = null;\n  function setDisposableTracker(tracker) {\n    disposableTracker = tracker;\n  }\n  if (TRACK_DISPOSABLES) {\n    const __is_disposable_tracked__ = \"__is_disposable_tracked__\";\n    setDisposableTracker(new class {\n      trackDisposable(x2) {\n        const stack = new Error(\"Potentially leaked disposable\").stack;\n        setTimeout(() => {\n          if (!x2[__is_disposable_tracked__]) {\n            console.log(stack);\n          }\n        }, 3e3);\n      }\n      setParent(child, parent) {\n        if (child && child !== Disposable.None) {\n          try {\n            child[__is_disposable_tracked__] = true;\n          } catch (_a4) {\n          }\n        }\n      }\n      markAsDisposed(disposable) {\n        if (disposable && disposable !== Disposable.None) {\n          try {\n            disposable[__is_disposable_tracked__] = true;\n          } catch (_a4) {\n          }\n        }\n      }\n      markAsSingleton(disposable) {\n      }\n    }());\n  }\n  function trackDisposable(x2) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.trackDisposable(x2);\n    return x2;\n  }\n  function markAsDisposed(disposable) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsDisposed(disposable);\n  }\n  function setParentOfDisposable(child, parent) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.setParent(child, parent);\n  }\n  function setParentOfDisposables(children, parent) {\n    if (!disposableTracker) {\n      return;\n    }\n    for (const child of children) {\n      disposableTracker.setParent(child, parent);\n    }\n  }\n  function dispose(arg) {\n    if (Iterable.is(arg)) {\n      const errors = [];\n      for (const d2 of arg) {\n        if (d2) {\n          try {\n            d2.dispose();\n          } catch (e5) {\n            errors.push(e5);\n          }\n        }\n      }\n      if (errors.length === 1) {\n        throw errors[0];\n      } else if (errors.length > 1) {\n        throw new AggregateError(errors, \"Encountered errors while disposing of store\");\n      }\n      return Array.isArray(arg) ? [] : arg;\n    } else if (arg) {\n      arg.dispose();\n      return arg;\n    }\n  }\n  function combinedDisposable(...disposables) {\n    const parent = toDisposable(() => dispose(disposables));\n    setParentOfDisposables(disposables, parent);\n    return parent;\n  }\n  function toDisposable(fn5) {\n    const self2 = trackDisposable({\n      dispose: createSingleCallFunction(() => {\n        markAsDisposed(self2);\n        fn5();\n      })\n    });\n    return self2;\n  }\n  var DisposableStore = class _DisposableStore {\n    constructor() {\n      this._toDispose = /* @__PURE__ */ new Set();\n      this._isDisposed = false;\n      trackDisposable(this);\n    }\n    /**\n     * Dispose of all registered disposables and mark this object as disposed.\n     *\n     * Any future disposables added to this object will be disposed of on `add`.\n     */\n    dispose() {\n      if (this._isDisposed) {\n        return;\n      }\n      markAsDisposed(this);\n      this._isDisposed = true;\n      this.clear();\n    }\n    /**\n     * @return `true` if this object has been disposed of.\n     */\n    get isDisposed() {\n      return this._isDisposed;\n    }\n    /**\n     * Dispose of all registered disposables but do not mark this object as disposed.\n     */\n    clear() {\n      if (this._toDispose.size === 0) {\n        return;\n      }\n      try {\n        dispose(this._toDispose);\n      } finally {\n        this._toDispose.clear();\n      }\n    }\n    /**\n     * Add a new {@link IDisposable disposable} to the collection.\n     */\n    add(o2) {\n      if (!o2) {\n        return o2;\n      }\n      if (o2 === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      setParentOfDisposable(o2, this);\n      if (this._isDisposed) {\n        if (!_DisposableStore.DISABLE_DISPOSED_WARNING) {\n          console.warn(new Error(\"Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!\").stack);\n        }\n      } else {\n        this._toDispose.add(o2);\n      }\n      return o2;\n    }\n    /**\n     * Deletes the value from the store, but does not dispose it.\n     */\n    deleteAndLeak(o2) {\n      if (!o2) {\n        return;\n      }\n      if (this._toDispose.has(o2)) {\n        this._toDispose.delete(o2);\n        setParentOfDisposable(o2, null);\n      }\n    }\n  };\n  DisposableStore.DISABLE_DISPOSED_WARNING = false;\n  var Disposable = class {\n    constructor() {\n      this._store = new DisposableStore();\n      trackDisposable(this);\n      setParentOfDisposable(this._store, this);\n    }\n    dispose() {\n      markAsDisposed(this);\n      this._store.dispose();\n    }\n    /**\n     * Adds `o` to the collection of disposables managed by this object.\n     */\n    _register(o2) {\n      if (o2 === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      return this._store.add(o2);\n    }\n  };\n  Disposable.None = Object.freeze({ dispose() {\n  } });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/linkedList.js\n  var Node2 = class _Node {\n    constructor(element) {\n      this.element = element;\n      this.next = _Node.Undefined;\n      this.prev = _Node.Undefined;\n    }\n  };\n  Node2.Undefined = new Node2(void 0);\n  var LinkedList = class {\n    constructor() {\n      this._first = Node2.Undefined;\n      this._last = Node2.Undefined;\n      this._size = 0;\n    }\n    get size() {\n      return this._size;\n    }\n    isEmpty() {\n      return this._first === Node2.Undefined;\n    }\n    clear() {\n      let node = this._first;\n      while (node !== Node2.Undefined) {\n        const next = node.next;\n        node.prev = Node2.Undefined;\n        node.next = Node2.Undefined;\n        node = next;\n      }\n      this._first = Node2.Undefined;\n      this._last = Node2.Undefined;\n      this._size = 0;\n    }\n    unshift(element) {\n      return this._insert(element, false);\n    }\n    push(element) {\n      return this._insert(element, true);\n    }\n    _insert(element, atTheEnd) {\n      const newNode = new Node2(element);\n      if (this._first === Node2.Undefined) {\n        this._first = newNode;\n        this._last = newNode;\n      } else if (atTheEnd) {\n        const oldLast = this._last;\n        this._last = newNode;\n        newNode.prev = oldLast;\n        oldLast.next = newNode;\n      } else {\n        const oldFirst = this._first;\n        this._first = newNode;\n        newNode.next = oldFirst;\n        oldFirst.prev = newNode;\n      }\n      this._size += 1;\n      let didRemove = false;\n      return () => {\n        if (!didRemove) {\n          didRemove = true;\n          this._remove(newNode);\n        }\n      };\n    }\n    shift() {\n      if (this._first === Node2.Undefined) {\n        return void 0;\n      } else {\n        const res = this._first.element;\n        this._remove(this._first);\n        return res;\n      }\n    }\n    pop() {\n      if (this._last === Node2.Undefined) {\n        return void 0;\n      } else {\n        const res = this._last.element;\n        this._remove(this._last);\n        return res;\n      }\n    }\n    _remove(node) {\n      if (node.prev !== Node2.Undefined && node.next !== Node2.Undefined) {\n        const anchor = node.prev;\n        anchor.next = node.next;\n        node.next.prev = anchor;\n      } else if (node.prev === Node2.Undefined && node.next === Node2.Undefined) {\n        this._first = Node2.Undefined;\n        this._last = Node2.Undefined;\n      } else if (node.next === Node2.Undefined) {\n        this._last = this._last.prev;\n        this._last.next = Node2.Undefined;\n      } else if (node.prev === Node2.Undefined) {\n        this._first = this._first.next;\n        this._first.prev = Node2.Undefined;\n      }\n      this._size -= 1;\n    }\n    *[Symbol.iterator]() {\n      let node = this._first;\n      while (node !== Node2.Undefined) {\n        yield node.element;\n        node = node.next;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\n  var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === \"function\";\n  var StopWatch = class _StopWatch {\n    static create(highResolution) {\n      return new _StopWatch(highResolution);\n    }\n    constructor(highResolution) {\n      this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance);\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    stop() {\n      this._stopTime = this._now();\n    }\n    reset() {\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    elapsed() {\n      if (this._stopTime !== -1) {\n        return this._stopTime - this._startTime;\n      }\n      return this._now() - this._startTime;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/event.js\n  var _enableListenerGCedWarning = false;\n  var _enableDisposeWithListenerWarning = false;\n  var _enableSnapshotPotentialLeakWarning = false;\n  var Event;\n  (function(Event2) {\n    Event2.None = () => Disposable.None;\n    function _addLeakageTraceLogic(options) {\n      if (_enableSnapshotPotentialLeakWarning) {\n        const { onDidAddListener: origListenerDidAdd } = options;\n        const stack = Stacktrace.create();\n        let count = 0;\n        options.onDidAddListener = () => {\n          if (++count === 2) {\n            console.warn(\"snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here\");\n            stack.print();\n          }\n          origListenerDidAdd === null || origListenerDidAdd === void 0 ? void 0 : origListenerDidAdd();\n        };\n      }\n    }\n    function defer(event, disposable) {\n      return debounce(event, () => void 0, 0, void 0, true, void 0, disposable);\n    }\n    Event2.defer = defer;\n    function once(event) {\n      return (listener, thisArgs = null, disposables) => {\n        let didFire = false;\n        let result = void 0;\n        result = event((e5) => {\n          if (didFire) {\n            return;\n          } else if (result) {\n            result.dispose();\n          } else {\n            didFire = true;\n          }\n          return listener.call(thisArgs, e5);\n        }, null, disposables);\n        if (didFire) {\n          result.dispose();\n        }\n        return result;\n      };\n    }\n    Event2.once = once;\n    function map(event, map2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i2) => listener.call(thisArgs, map2(i2)), null, disposables), disposable);\n    }\n    Event2.map = map;\n    function forEach(event, each, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i2) => {\n        each(i2);\n        listener.call(thisArgs, i2);\n      }, null, disposables), disposable);\n    }\n    Event2.forEach = forEach;\n    function filter(event, filter2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((e5) => filter2(e5) && listener.call(thisArgs, e5), null, disposables), disposable);\n    }\n    Event2.filter = filter;\n    function signal(event) {\n      return event;\n    }\n    Event2.signal = signal;\n    function any2(...events) {\n      return (listener, thisArgs = null, disposables) => {\n        const disposable = combinedDisposable(...events.map((event) => event((e5) => listener.call(thisArgs, e5))));\n        return addAndReturnDisposable(disposable, disposables);\n      };\n    }\n    Event2.any = any2;\n    function reduce(event, merge, initial, disposable) {\n      let output = initial;\n      return map(event, (e5) => {\n        output = merge(output, e5);\n        return output;\n      }, disposable);\n    }\n    Event2.reduce = reduce;\n    function snapshot(event, disposable) {\n      let listener;\n      const options = {\n        onWillAddFirstListener() {\n          listener = event(emitter.fire, emitter);\n        },\n        onDidRemoveLastListener() {\n          listener === null || listener === void 0 ? void 0 : listener.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    function addAndReturnDisposable(d2, store) {\n      if (store instanceof Array) {\n        store.push(d2);\n      } else if (store) {\n        store.add(d2);\n      }\n      return d2;\n    }\n    function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) {\n      let subscription;\n      let output = void 0;\n      let handle = void 0;\n      let numDebouncedCalls = 0;\n      let doFire;\n      const options = {\n        leakWarningThreshold,\n        onWillAddFirstListener() {\n          subscription = event((cur) => {\n            numDebouncedCalls++;\n            output = merge(output, cur);\n            if (leading && !handle) {\n              emitter.fire(output);\n              output = void 0;\n            }\n            doFire = () => {\n              const _output = output;\n              output = void 0;\n              handle = void 0;\n              if (!leading || numDebouncedCalls > 1) {\n                emitter.fire(_output);\n              }\n              numDebouncedCalls = 0;\n            };\n            if (typeof delay === \"number\") {\n              clearTimeout(handle);\n              handle = setTimeout(doFire, delay);\n            } else {\n              if (handle === void 0) {\n                handle = 0;\n                queueMicrotask(doFire);\n              }\n            }\n          });\n        },\n        onWillRemoveListener() {\n          if (flushOnListenerRemove && numDebouncedCalls > 0) {\n            doFire === null || doFire === void 0 ? void 0 : doFire();\n          }\n        },\n        onDidRemoveLastListener() {\n          doFire = void 0;\n          subscription.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    Event2.debounce = debounce;\n    function accumulate(event, delay = 0, disposable) {\n      return Event2.debounce(event, (last, e5) => {\n        if (!last) {\n          return [e5];\n        }\n        last.push(e5);\n        return last;\n      }, delay, void 0, true, void 0, disposable);\n    }\n    Event2.accumulate = accumulate;\n    function latch(event, equals3 = (a2, b2) => a2 === b2, disposable) {\n      let firstCall = true;\n      let cache3;\n      return filter(event, (value2) => {\n        const shouldEmit = firstCall || !equals3(value2, cache3);\n        firstCall = false;\n        cache3 = value2;\n        return shouldEmit;\n      }, disposable);\n    }\n    Event2.latch = latch;\n    function split(event, isT, disposable) {\n      return [\n        Event2.filter(event, isT, disposable),\n        Event2.filter(event, (e5) => !isT(e5), disposable)\n      ];\n    }\n    Event2.split = split;\n    function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) {\n      let buffer2 = _buffer.slice();\n      let listener = event((e5) => {\n        if (buffer2) {\n          buffer2.push(e5);\n        } else {\n          emitter.fire(e5);\n        }\n      });\n      if (disposable) {\n        disposable.add(listener);\n      }\n      const flush = () => {\n        buffer2 === null || buffer2 === void 0 ? void 0 : buffer2.forEach((e5) => emitter.fire(e5));\n        buffer2 = null;\n      };\n      const emitter = new Emitter({\n        onWillAddFirstListener() {\n          if (!listener) {\n            listener = event((e5) => emitter.fire(e5));\n            if (disposable) {\n              disposable.add(listener);\n            }\n          }\n        },\n        onDidAddFirstListener() {\n          if (buffer2) {\n            if (flushAfterTimeout) {\n              setTimeout(flush);\n            } else {\n              flush();\n            }\n          }\n        },\n        onDidRemoveLastListener() {\n          if (listener) {\n            listener.dispose();\n          }\n          listener = null;\n        }\n      });\n      if (disposable) {\n        disposable.add(emitter);\n      }\n      return emitter.event;\n    }\n    Event2.buffer = buffer;\n    function chain(event, sythensize) {\n      const fn5 = (listener, thisArgs, disposables) => {\n        const cs = sythensize(new ChainableSynthesis());\n        return event(function(value2) {\n          const result = cs.evaluate(value2);\n          if (result !== HaltChainable) {\n            listener.call(thisArgs, result);\n          }\n        }, void 0, disposables);\n      };\n      return fn5;\n    }\n    Event2.chain = chain;\n    const HaltChainable = Symbol(\"HaltChainable\");\n    class ChainableSynthesis {\n      constructor() {\n        this.steps = [];\n      }\n      map(fn5) {\n        this.steps.push(fn5);\n        return this;\n      }\n      forEach(fn5) {\n        this.steps.push((v2) => {\n          fn5(v2);\n          return v2;\n        });\n        return this;\n      }\n      filter(fn5) {\n        this.steps.push((v2) => fn5(v2) ? v2 : HaltChainable);\n        return this;\n      }\n      reduce(merge, initial) {\n        let last = initial;\n        this.steps.push((v2) => {\n          last = merge(last, v2);\n          return last;\n        });\n        return this;\n      }\n      latch(equals3 = (a2, b2) => a2 === b2) {\n        let firstCall = true;\n        let cache3;\n        this.steps.push((value2) => {\n          const shouldEmit = firstCall || !equals3(value2, cache3);\n          firstCall = false;\n          cache3 = value2;\n          return shouldEmit ? value2 : HaltChainable;\n        });\n        return this;\n      }\n      evaluate(value2) {\n        for (const step of this.steps) {\n          value2 = step(value2);\n          if (value2 === HaltChainable) {\n            break;\n          }\n        }\n        return value2;\n      }\n    }\n    function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn5 = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.on(eventName, fn5);\n      const onLastListenerRemove = () => emitter.removeListener(eventName, fn5);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromNodeEventEmitter = fromNodeEventEmitter;\n    function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn5 = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn5);\n      const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn5);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromDOMEventEmitter = fromDOMEventEmitter;\n    function toPromise(event) {\n      return new Promise((resolve2) => once(event)(resolve2));\n    }\n    Event2.toPromise = toPromise;\n    function fromPromise(promise) {\n      const result = new Emitter();\n      promise.then((res) => {\n        result.fire(res);\n      }, () => {\n        result.fire(void 0);\n      }).finally(() => {\n        result.dispose();\n      });\n      return result.event;\n    }\n    Event2.fromPromise = fromPromise;\n    function runAndSubscribe(event, handler, initial) {\n      handler(initial);\n      return event((e5) => handler(e5));\n    }\n    Event2.runAndSubscribe = runAndSubscribe;\n    class EmitterObserver {\n      constructor(_observable, store) {\n        this._observable = _observable;\n        this._counter = 0;\n        this._hasChanged = false;\n        const options = {\n          onWillAddFirstListener: () => {\n            _observable.addObserver(this);\n          },\n          onDidRemoveLastListener: () => {\n            _observable.removeObserver(this);\n          }\n        };\n        if (!store) {\n          _addLeakageTraceLogic(options);\n        }\n        this.emitter = new Emitter(options);\n        if (store) {\n          store.add(this.emitter);\n        }\n      }\n      beginUpdate(_observable) {\n        this._counter++;\n      }\n      handlePossibleChange(_observable) {\n      }\n      handleChange(_observable, _change) {\n        this._hasChanged = true;\n      }\n      endUpdate(_observable) {\n        this._counter--;\n        if (this._counter === 0) {\n          this._observable.reportChanges();\n          if (this._hasChanged) {\n            this._hasChanged = false;\n            this.emitter.fire(this._observable.get());\n          }\n        }\n      }\n    }\n    function fromObservable(obs, store) {\n      const observer = new EmitterObserver(obs, store);\n      return observer.emitter.event;\n    }\n    Event2.fromObservable = fromObservable;\n    function fromObservableLight(observable) {\n      return (listener, thisArgs, disposables) => {\n        let count = 0;\n        let didChange = false;\n        const observer = {\n          beginUpdate() {\n            count++;\n          },\n          endUpdate() {\n            count--;\n            if (count === 0) {\n              observable.reportChanges();\n              if (didChange) {\n                didChange = false;\n                listener.call(thisArgs);\n              }\n            }\n          },\n          handlePossibleChange() {\n          },\n          handleChange() {\n            didChange = true;\n          }\n        };\n        observable.addObserver(observer);\n        observable.reportChanges();\n        const disposable = {\n          dispose() {\n            observable.removeObserver(observer);\n          }\n        };\n        if (disposables instanceof DisposableStore) {\n          disposables.add(disposable);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(disposable);\n        }\n        return disposable;\n      };\n    }\n    Event2.fromObservableLight = fromObservableLight;\n  })(Event || (Event = {}));\n  var EventProfiling = class _EventProfiling {\n    constructor(name) {\n      this.listenerCount = 0;\n      this.invocationCount = 0;\n      this.elapsedOverall = 0;\n      this.durations = [];\n      this.name = `${name}_${_EventProfiling._idPool++}`;\n      _EventProfiling.all.add(this);\n    }\n    start(listenerCount) {\n      this._stopWatch = new StopWatch();\n      this.listenerCount = listenerCount;\n    }\n    stop() {\n      if (this._stopWatch) {\n        const elapsed = this._stopWatch.elapsed();\n        this.durations.push(elapsed);\n        this.elapsedOverall += elapsed;\n        this.invocationCount += 1;\n        this._stopWatch = void 0;\n      }\n    }\n  };\n  EventProfiling.all = /* @__PURE__ */ new Set();\n  EventProfiling._idPool = 0;\n  var _globalLeakWarningThreshold = -1;\n  var LeakageMonitor = class {\n    constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {\n      this.threshold = threshold;\n      this.name = name;\n      this._warnCountdown = 0;\n    }\n    dispose() {\n      var _a4;\n      (_a4 = this._stacks) === null || _a4 === void 0 ? void 0 : _a4.clear();\n    }\n    check(stack, listenerCount) {\n      const threshold = this.threshold;\n      if (threshold <= 0 || listenerCount < threshold) {\n        return void 0;\n      }\n      if (!this._stacks) {\n        this._stacks = /* @__PURE__ */ new Map();\n      }\n      const count = this._stacks.get(stack.value) || 0;\n      this._stacks.set(stack.value, count + 1);\n      this._warnCountdown -= 1;\n      if (this._warnCountdown <= 0) {\n        this._warnCountdown = threshold * 0.5;\n        let topStack;\n        let topCount = 0;\n        for (const [stack2, count2] of this._stacks) {\n          if (!topStack || topCount < count2) {\n            topStack = stack2;\n            topCount = count2;\n          }\n        }\n        console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);\n        console.warn(topStack);\n      }\n      return () => {\n        const count2 = this._stacks.get(stack.value) || 0;\n        this._stacks.set(stack.value, count2 - 1);\n      };\n    }\n  };\n  var Stacktrace = class _Stacktrace {\n    static create() {\n      var _a4;\n      return new _Stacktrace((_a4 = new Error().stack) !== null && _a4 !== void 0 ? _a4 : \"\");\n    }\n    constructor(value2) {\n      this.value = value2;\n    }\n    print() {\n      console.warn(this.value.split(\"\\n\").slice(2).join(\"\\n\"));\n    }\n  };\n  var UniqueContainer = class {\n    constructor(value2) {\n      this.value = value2;\n    }\n  };\n  var compactionThreshold = 2;\n  var forEachListener = (listeners, fn5) => {\n    if (listeners instanceof UniqueContainer) {\n      fn5(listeners);\n    } else {\n      for (let i2 = 0; i2 < listeners.length; i2++) {\n        const l2 = listeners[i2];\n        if (l2) {\n          fn5(l2);\n        }\n      }\n    }\n  };\n  var _listenerFinalizers = _enableListenerGCedWarning ? new FinalizationRegistry((heldValue) => {\n    if (typeof heldValue === \"string\") {\n      console.warn(\"[LEAKING LISTENER] GC'ed a listener that was NOT yet disposed. This is where is was created:\");\n      console.warn(heldValue);\n    }\n  }) : void 0;\n  var Emitter = class {\n    constructor(options) {\n      var _a4, _b3, _c, _d, _e;\n      this._size = 0;\n      this._options = options;\n      this._leakageMon = _globalLeakWarningThreshold > 0 || ((_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.leakWarningThreshold) ? new LeakageMonitor((_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.leakWarningThreshold) !== null && _c !== void 0 ? _c : _globalLeakWarningThreshold) : void 0;\n      this._perfMon = ((_d = this._options) === null || _d === void 0 ? void 0 : _d._profName) ? new EventProfiling(this._options._profName) : void 0;\n      this._deliveryQueue = (_e = this._options) === null || _e === void 0 ? void 0 : _e.deliveryQueue;\n    }\n    dispose() {\n      var _a4, _b3, _c, _d;\n      if (!this._disposed) {\n        this._disposed = true;\n        if (((_a4 = this._deliveryQueue) === null || _a4 === void 0 ? void 0 : _a4.current) === this) {\n          this._deliveryQueue.reset();\n        }\n        if (this._listeners) {\n          if (_enableDisposeWithListenerWarning) {\n            const listeners = this._listeners;\n            queueMicrotask(() => {\n              forEachListener(listeners, (l2) => {\n                var _a5;\n                return (_a5 = l2.stack) === null || _a5 === void 0 ? void 0 : _a5.print();\n              });\n            });\n          }\n          this._listeners = void 0;\n          this._size = 0;\n        }\n        (_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.onDidRemoveLastListener) === null || _c === void 0 ? void 0 : _c.call(_b3);\n        (_d = this._leakageMon) === null || _d === void 0 ? void 0 : _d.dispose();\n      }\n    }\n    /**\n     * For the public to allow to subscribe\n     * to events from this Emitter\n     */\n    get event() {\n      var _a4;\n      (_a4 = this._event) !== null && _a4 !== void 0 ? _a4 : this._event = (callback, thisArgs, disposables) => {\n        var _a5, _b3, _c, _d, _e;\n        if (this._leakageMon && this._size > this._leakageMon.threshold * 3) {\n          console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);\n          return Disposable.None;\n        }\n        if (this._disposed) {\n          return Disposable.None;\n        }\n        if (thisArgs) {\n          callback = callback.bind(thisArgs);\n        }\n        const contained = new UniqueContainer(callback);\n        let removeMonitor;\n        let stack;\n        if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) {\n          contained.stack = Stacktrace.create();\n          removeMonitor = this._leakageMon.check(contained.stack, this._size + 1);\n        }\n        if (_enableDisposeWithListenerWarning) {\n          contained.stack = stack !== null && stack !== void 0 ? stack : Stacktrace.create();\n        }\n        if (!this._listeners) {\n          (_b3 = (_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onWillAddFirstListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a5, this);\n          this._listeners = contained;\n          (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidAddFirstListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        } else if (this._listeners instanceof UniqueContainer) {\n          (_e = this._deliveryQueue) !== null && _e !== void 0 ? _e : this._deliveryQueue = new EventDeliveryQueuePrivate();\n          this._listeners = [this._listeners, contained];\n        } else {\n          this._listeners.push(contained);\n        }\n        this._size++;\n        const result = toDisposable(() => {\n          _listenerFinalizers === null || _listenerFinalizers === void 0 ? void 0 : _listenerFinalizers.unregister(result);\n          removeMonitor === null || removeMonitor === void 0 ? void 0 : removeMonitor();\n          this._removeListener(contained);\n        });\n        if (disposables instanceof DisposableStore) {\n          disposables.add(result);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(result);\n        }\n        if (_listenerFinalizers) {\n          const stack2 = new Error().stack.split(\"\\n\").slice(2).join(\"\\n\").trim();\n          _listenerFinalizers.register(result, stack2, result);\n        }\n        return result;\n      };\n      return this._event;\n    }\n    _removeListener(listener) {\n      var _a4, _b3, _c, _d;\n      (_b3 = (_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.onWillRemoveListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a4, this);\n      if (!this._listeners) {\n        return;\n      }\n      if (this._size === 1) {\n        this._listeners = void 0;\n        (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidRemoveLastListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        this._size = 0;\n        return;\n      }\n      const listeners = this._listeners;\n      const index2 = listeners.indexOf(listener);\n      if (index2 === -1) {\n        console.log(\"disposed?\", this._disposed);\n        console.log(\"size?\", this._size);\n        console.log(\"arr?\", JSON.stringify(this._listeners));\n        throw new Error(\"Attempted to dispose unknown listener\");\n      }\n      this._size--;\n      listeners[index2] = void 0;\n      const adjustDeliveryQueue = this._deliveryQueue.current === this;\n      if (this._size * compactionThreshold <= listeners.length) {\n        let n2 = 0;\n        for (let i2 = 0; i2 < listeners.length; i2++) {\n          if (listeners[i2]) {\n            listeners[n2++] = listeners[i2];\n          } else if (adjustDeliveryQueue) {\n            this._deliveryQueue.end--;\n            if (n2 < this._deliveryQueue.i) {\n              this._deliveryQueue.i--;\n            }\n          }\n        }\n        listeners.length = n2;\n      }\n    }\n    _deliver(listener, value2) {\n      var _a4;\n      if (!listener) {\n        return;\n      }\n      const errorHandler2 = ((_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.onListenerError) || onUnexpectedError;\n      if (!errorHandler2) {\n        listener.value(value2);\n        return;\n      }\n      try {\n        listener.value(value2);\n      } catch (e5) {\n        errorHandler2(e5);\n      }\n    }\n    /** Delivers items in the queue. Assumes the queue is ready to go. */\n    _deliverQueue(dq) {\n      const listeners = dq.current._listeners;\n      while (dq.i < dq.end) {\n        this._deliver(listeners[dq.i++], dq.value);\n      }\n      dq.reset();\n    }\n    /**\n     * To be kept private to fire an event to\n     * subscribers\n     */\n    fire(event) {\n      var _a4, _b3, _c, _d;\n      if ((_a4 = this._deliveryQueue) === null || _a4 === void 0 ? void 0 : _a4.current) {\n        this._deliverQueue(this._deliveryQueue);\n        (_b3 = this._perfMon) === null || _b3 === void 0 ? void 0 : _b3.stop();\n      }\n      (_c = this._perfMon) === null || _c === void 0 ? void 0 : _c.start(this._size);\n      if (!this._listeners) {\n      } else if (this._listeners instanceof UniqueContainer) {\n        this._deliver(this._listeners, event);\n      } else {\n        const dq = this._deliveryQueue;\n        dq.enqueue(this, event, this._listeners.length);\n        this._deliverQueue(dq);\n      }\n      (_d = this._perfMon) === null || _d === void 0 ? void 0 : _d.stop();\n    }\n    hasListeners() {\n      return this._size > 0;\n    }\n  };\n  var EventDeliveryQueuePrivate = class {\n    constructor() {\n      this.i = -1;\n      this.end = 0;\n    }\n    enqueue(emitter, value2, end) {\n      this.i = 0;\n      this.end = end;\n      this.current = emitter;\n      this.value = value2;\n    }\n    reset() {\n      this.i = this.end;\n      this.current = void 0;\n      this.value = void 0;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/types.js\n  function isString(str) {\n    return typeof str === \"string\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/objects.js\n  function getAllPropertyNames(obj) {\n    let res = [];\n    while (Object.prototype !== obj) {\n      res = res.concat(Object.getOwnPropertyNames(obj));\n      obj = Object.getPrototypeOf(obj);\n    }\n    return res;\n  }\n  function getAllMethodNames(obj) {\n    const methods = [];\n    for (const prop of getAllPropertyNames(obj)) {\n      if (typeof obj[prop] === \"function\") {\n        methods.push(prop);\n      }\n    }\n    return methods;\n  }\n  function createProxyObject(methodNames, invoke) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/nls.js\n  var isPseudo = typeof document !== \"undefined\" && document.location && document.location.hash.indexOf(\"pseudo=true\") >= 0;\n  function _format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        const index2 = rest[0];\n        const arg = args[index2];\n        let result2 = match;\n        if (typeof arg === \"string\") {\n          result2 = arg;\n        } else if (typeof arg === \"number\" || typeof arg === \"boolean\" || arg === void 0 || arg === null) {\n          result2 = String(arg);\n        }\n        return result2;\n      });\n    }\n    if (isPseudo) {\n      result = \"\\uFF3B\" + result.replace(/[aouei]/g, \"$&$&\") + \"\\uFF3D\";\n    }\n    return result;\n  }\n  function localize(data, message, ...args) {\n    return _format(message, args);\n  }\n  function getConfiguredDefaultLocale(_2) {\n    return void 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/platform.js\n  var _a;\n  var _b;\n  var LANGUAGE_DEFAULT = \"en\";\n  var _isWindows = false;\n  var _isMacintosh = false;\n  var _isLinux = false;\n  var _isLinuxSnap = false;\n  var _isNative = false;\n  var _isWeb = false;\n  var _isElectron = false;\n  var _isIOS = false;\n  var _isCI = false;\n  var _isMobile = false;\n  var _locale = void 0;\n  var _language = LANGUAGE_DEFAULT;\n  var _platformLocale = LANGUAGE_DEFAULT;\n  var _translationsConfigFile = void 0;\n  var _userAgent = void 0;\n  var $globalThis = globalThis;\n  var nodeProcess = void 0;\n  if (typeof $globalThis.vscode !== \"undefined\" && typeof $globalThis.vscode.process !== \"undefined\") {\n    nodeProcess = $globalThis.vscode.process;\n  } else if (typeof process !== \"undefined\" && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === \"string\") {\n    nodeProcess = process;\n  }\n  var isElectronProcess = typeof ((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) === \"string\";\n  var isElectronRenderer = isElectronProcess && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.type) === \"renderer\";\n  if (typeof nodeProcess === \"object\") {\n    _isWindows = nodeProcess.platform === \"win32\";\n    _isMacintosh = nodeProcess.platform === \"darwin\";\n    _isLinux = nodeProcess.platform === \"linux\";\n    _isLinuxSnap = _isLinux && !!nodeProcess.env[\"SNAP\"] && !!nodeProcess.env[\"SNAP_REVISION\"];\n    _isElectron = isElectronProcess;\n    _isCI = !!nodeProcess.env[\"CI\"] || !!nodeProcess.env[\"BUILD_ARTIFACTSTAGINGDIRECTORY\"];\n    _locale = LANGUAGE_DEFAULT;\n    _language = LANGUAGE_DEFAULT;\n    const rawNlsConfig = nodeProcess.env[\"VSCODE_NLS_CONFIG\"];\n    if (rawNlsConfig) {\n      try {\n        const nlsConfig = JSON.parse(rawNlsConfig);\n        const resolved = nlsConfig.availableLanguages[\"*\"];\n        _locale = nlsConfig.locale;\n        _platformLocale = nlsConfig.osLocale;\n        _language = resolved ? resolved : LANGUAGE_DEFAULT;\n        _translationsConfigFile = nlsConfig._translationsConfigFile;\n      } catch (e5) {\n      }\n    }\n    _isNative = true;\n  } else if (typeof navigator === \"object\" && !isElectronRenderer) {\n    _userAgent = navigator.userAgent;\n    _isWindows = _userAgent.indexOf(\"Windows\") >= 0;\n    _isMacintosh = _userAgent.indexOf(\"Macintosh\") >= 0;\n    _isIOS = (_userAgent.indexOf(\"Macintosh\") >= 0 || _userAgent.indexOf(\"iPad\") >= 0 || _userAgent.indexOf(\"iPhone\") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\n    _isLinux = _userAgent.indexOf(\"Linux\") >= 0;\n    _isMobile = (_userAgent === null || _userAgent === void 0 ? void 0 : _userAgent.indexOf(\"Mobi\")) >= 0;\n    _isWeb = true;\n    const configuredLocale = getConfiguredDefaultLocale(\n      // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`\n      // to ensure that the NLS AMD Loader plugin has been loaded and configured.\n      // This is because the loader plugin decides what the default locale is based on\n      // how it's able to resolve the strings.\n      localize({ key: \"ensureLoaderPluginIsLoaded\", comment: [\"{Locked}\"] }, \"_\")\n    );\n    _locale = configuredLocale || LANGUAGE_DEFAULT;\n    _language = _locale;\n    _platformLocale = navigator.language;\n  } else {\n    console.error(\"Unable to resolve platform.\");\n  }\n  var _platform = 0;\n  if (_isMacintosh) {\n    _platform = 1;\n  } else if (_isWindows) {\n    _platform = 3;\n  } else if (_isLinux) {\n    _platform = 2;\n  }\n  var isWindows = _isWindows;\n  var isMacintosh = _isMacintosh;\n  var isWebWorker = _isWeb && typeof $globalThis.importScripts === \"function\";\n  var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0;\n  var userAgent = _userAgent;\n  var setTimeout0IsFaster = typeof $globalThis.postMessage === \"function\" && !$globalThis.importScripts;\n  var setTimeout0 = (() => {\n    if (setTimeout0IsFaster) {\n      const pending = [];\n      $globalThis.addEventListener(\"message\", (e5) => {\n        if (e5.data && e5.data.vscodeScheduleAsyncWork) {\n          for (let i2 = 0, len = pending.length; i2 < len; i2++) {\n            const candidate = pending[i2];\n            if (candidate.id === e5.data.vscodeScheduleAsyncWork) {\n              pending.splice(i2, 1);\n              candidate.callback();\n              return;\n            }\n          }\n        }\n      });\n      let lastId = 0;\n      return (callback) => {\n        const myId = ++lastId;\n        pending.push({\n          id: myId,\n          callback\n        });\n        $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, \"*\");\n      };\n    }\n    return (callback) => setTimeout(callback);\n  })();\n  var isChrome = !!(userAgent && userAgent.indexOf(\"Chrome\") >= 0);\n  var isFirefox = !!(userAgent && userAgent.indexOf(\"Firefox\") >= 0);\n  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf(\"Safari\") >= 0));\n  var isEdge = !!(userAgent && userAgent.indexOf(\"Edg/\") >= 0);\n  var isAndroid = !!(userAgent && userAgent.indexOf(\"Android\") >= 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cache.js\n  function identity2(t2) {\n    return t2;\n  }\n  var LRUCachedFunction = class {\n    constructor(arg1, arg2) {\n      this.lastCache = void 0;\n      this.lastArgKey = void 0;\n      if (typeof arg1 === \"function\") {\n        this._fn = arg1;\n        this._computeKey = identity2;\n      } else {\n        this._fn = arg2;\n        this._computeKey = arg1.getCacheKey;\n      }\n    }\n    get(arg) {\n      const key = this._computeKey(arg);\n      if (this.lastArgKey !== key) {\n        this.lastArgKey = key;\n        this.lastCache = this._fn(arg);\n      }\n      return this.lastCache;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lazy.js\n  var Lazy = class {\n    constructor(executor) {\n      this.executor = executor;\n      this._didRun = false;\n    }\n    /**\n     * Get the wrapped value.\n     *\n     * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only\n     * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value\n     */\n    get value() {\n      if (!this._didRun) {\n        try {\n          this._value = this.executor();\n        } catch (err) {\n          this._error = err;\n        } finally {\n          this._didRun = true;\n        }\n      }\n      if (this._error) {\n        throw this._error;\n      }\n      return this._value;\n    }\n    /**\n     * Get the wrapped value without forcing evaluation.\n     */\n    get rawValue() {\n      return this._value;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/strings.js\n  var _a2;\n  function escapeRegExpCharacters(value2) {\n    return value2.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g, \"\\\\$&\");\n  }\n  function splitLines(str) {\n    return str.split(/\\r\\n|\\r|\\n/);\n  }\n  function firstNonWhitespaceIndex(str) {\n    for (let i2 = 0, len = str.length; i2 < len; i2++) {\n      const chCode = str.charCodeAt(i2);\n      if (chCode !== 32 && chCode !== 9) {\n        return i2;\n      }\n    }\n    return -1;\n  }\n  function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {\n    for (let i2 = startIndex; i2 >= 0; i2--) {\n      const chCode = str.charCodeAt(i2);\n      if (chCode !== 32 && chCode !== 9) {\n        return i2;\n      }\n    }\n    return -1;\n  }\n  function isUpperAsciiLetter(code) {\n    return code >= 65 && code <= 90;\n  }\n  function isHighSurrogate(charCode) {\n    return 55296 <= charCode && charCode <= 56319;\n  }\n  function isLowSurrogate(charCode) {\n    return 56320 <= charCode && charCode <= 57343;\n  }\n  function computeCodePoint(highSurrogate, lowSurrogate) {\n    return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536;\n  }\n  function getNextCodePoint(str, len, offset) {\n    const charCode = str.charCodeAt(offset);\n    if (isHighSurrogate(charCode) && offset + 1 < len) {\n      const nextCharCode = str.charCodeAt(offset + 1);\n      if (isLowSurrogate(nextCharCode)) {\n        return computeCodePoint(charCode, nextCharCode);\n      }\n    }\n    return charCode;\n  }\n  var IS_BASIC_ASCII = /^[\\t\\n\\r\\x20-\\x7E]*$/;\n  function isBasicASCII(str) {\n    return IS_BASIC_ASCII.test(str);\n  }\n  var UTF8_BOM_CHARACTER = String.fromCharCode(\n    65279\n    /* CharCode.UTF8_BOM */\n  );\n  var GraphemeBreakTree = class _GraphemeBreakTree {\n    static getInstance() {\n      if (!_GraphemeBreakTree._INSTANCE) {\n        _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree();\n      }\n      return _GraphemeBreakTree._INSTANCE;\n    }\n    constructor() {\n      this._data = getGraphemeBreakRawData();\n    }\n    getGraphemeBreakType(codePoint) {\n      if (codePoint < 32) {\n        if (codePoint === 10) {\n          return 3;\n        }\n        if (codePoint === 13) {\n          return 2;\n        }\n        return 4;\n      }\n      if (codePoint < 127) {\n        return 0;\n      }\n      const data = this._data;\n      const nodeCount = data.length / 3;\n      let nodeIndex = 1;\n      while (nodeIndex <= nodeCount) {\n        if (codePoint < data[3 * nodeIndex]) {\n          nodeIndex = 2 * nodeIndex;\n        } else if (codePoint > data[3 * nodeIndex + 1]) {\n          nodeIndex = 2 * nodeIndex + 1;\n        } else {\n          return data[3 * nodeIndex + 2];\n        }\n      }\n      return 0;\n    }\n  };\n  GraphemeBreakTree._INSTANCE = null;\n  function getGraphemeBreakRawData() {\n    return JSON.parse(\"[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]\");\n  }\n  var AmbiguousCharacters = class {\n    static getInstance(locales) {\n      return _a2.cache.get(Array.from(locales));\n    }\n    static getLocales() {\n      return _a2._locales.value;\n    }\n    constructor(confusableDictionary) {\n      this.confusableDictionary = confusableDictionary;\n    }\n    isAmbiguous(codePoint) {\n      return this.confusableDictionary.has(codePoint);\n    }\n    /**\n     * Returns the non basic ASCII code point that the given code point can be confused,\n     * or undefined if such code point does note exist.\n     */\n    getPrimaryConfusable(codePoint) {\n      return this.confusableDictionary.get(codePoint);\n    }\n    getConfusableCodePoints() {\n      return new Set(this.confusableDictionary.keys());\n    }\n  };\n  _a2 = AmbiguousCharacters;\n  AmbiguousCharacters.ambiguousCharacterData = new Lazy(() => {\n    return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}');\n  });\n  AmbiguousCharacters.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => {\n    function arrayToMap(arr) {\n      const result = /* @__PURE__ */ new Map();\n      for (let i2 = 0; i2 < arr.length; i2 += 2) {\n        result.set(arr[i2], arr[i2 + 1]);\n      }\n      return result;\n    }\n    function mergeMaps(map1, map2) {\n      const result = new Map(map1);\n      for (const [key, value2] of map2) {\n        result.set(key, value2);\n      }\n      return result;\n    }\n    function intersectMaps(map1, map2) {\n      if (!map1) {\n        return map2;\n      }\n      const result = /* @__PURE__ */ new Map();\n      for (const [key, value2] of map1) {\n        if (map2.has(key)) {\n          result.set(key, value2);\n        }\n      }\n      return result;\n    }\n    const data = _a2.ambiguousCharacterData.value;\n    let filteredLocales = locales.filter((l2) => !l2.startsWith(\"_\") && l2 in data);\n    if (filteredLocales.length === 0) {\n      filteredLocales = [\"_default\"];\n    }\n    let languageSpecificMap = void 0;\n    for (const locale of filteredLocales) {\n      const map2 = arrayToMap(data[locale]);\n      languageSpecificMap = intersectMaps(languageSpecificMap, map2);\n    }\n    const commonMap = arrayToMap(data[\"_common\"]);\n    const map = mergeMaps(commonMap, languageSpecificMap);\n    return new _a2(map);\n  });\n  AmbiguousCharacters._locales = new Lazy(() => Object.keys(_a2.ambiguousCharacterData.value).filter((k5) => !k5.startsWith(\"_\")));\n  var InvisibleCharacters = class _InvisibleCharacters {\n    static getRawData() {\n      return JSON.parse(\"[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]\");\n    }\n    static getData() {\n      if (!this._data) {\n        this._data = new Set(_InvisibleCharacters.getRawData());\n      }\n      return this._data;\n    }\n    static isInvisibleCharacter(codePoint) {\n      return _InvisibleCharacters.getData().has(codePoint);\n    }\n    static get codePoints() {\n      return _InvisibleCharacters.getData();\n    }\n  };\n  InvisibleCharacters._data = void 0;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js\n  var INITIALIZE = \"$initialize\";\n  var RequestMessage = class {\n    constructor(vsWorker, req, method, args) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.method = method;\n      this.args = args;\n      this.type = 0;\n    }\n  };\n  var ReplyMessage = class {\n    constructor(vsWorker, seq, res, err) {\n      this.vsWorker = vsWorker;\n      this.seq = seq;\n      this.res = res;\n      this.err = err;\n      this.type = 1;\n    }\n  };\n  var SubscribeEventMessage = class {\n    constructor(vsWorker, req, eventName, arg) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.eventName = eventName;\n      this.arg = arg;\n      this.type = 2;\n    }\n  };\n  var EventMessage = class {\n    constructor(vsWorker, req, event) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.event = event;\n      this.type = 3;\n    }\n  };\n  var UnsubscribeEventMessage = class {\n    constructor(vsWorker, req) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.type = 4;\n    }\n  };\n  var SimpleWorkerProtocol = class {\n    constructor(handler) {\n      this._workerId = -1;\n      this._handler = handler;\n      this._lastSentReq = 0;\n      this._pendingReplies = /* @__PURE__ */ Object.create(null);\n      this._pendingEmitters = /* @__PURE__ */ new Map();\n      this._pendingEvents = /* @__PURE__ */ new Map();\n    }\n    setWorkerId(workerId) {\n      this._workerId = workerId;\n    }\n    sendMessage(method, args) {\n      const req = String(++this._lastSentReq);\n      return new Promise((resolve2, reject) => {\n        this._pendingReplies[req] = {\n          resolve: resolve2,\n          reject\n        };\n        this._send(new RequestMessage(this._workerId, req, method, args));\n      });\n    }\n    listen(eventName, arg) {\n      let req = null;\n      const emitter = new Emitter({\n        onWillAddFirstListener: () => {\n          req = String(++this._lastSentReq);\n          this._pendingEmitters.set(req, emitter);\n          this._send(new SubscribeEventMessage(this._workerId, req, eventName, arg));\n        },\n        onDidRemoveLastListener: () => {\n          this._pendingEmitters.delete(req);\n          this._send(new UnsubscribeEventMessage(this._workerId, req));\n          req = null;\n        }\n      });\n      return emitter.event;\n    }\n    handleMessage(message) {\n      if (!message || !message.vsWorker) {\n        return;\n      }\n      if (this._workerId !== -1 && message.vsWorker !== this._workerId) {\n        return;\n      }\n      this._handleMessage(message);\n    }\n    _handleMessage(msg) {\n      switch (msg.type) {\n        case 1:\n          return this._handleReplyMessage(msg);\n        case 0:\n          return this._handleRequestMessage(msg);\n        case 2:\n          return this._handleSubscribeEventMessage(msg);\n        case 3:\n          return this._handleEventMessage(msg);\n        case 4:\n          return this._handleUnsubscribeEventMessage(msg);\n      }\n    }\n    _handleReplyMessage(replyMessage) {\n      if (!this._pendingReplies[replyMessage.seq]) {\n        console.warn(\"Got reply to unknown seq\");\n        return;\n      }\n      const reply = this._pendingReplies[replyMessage.seq];\n      delete this._pendingReplies[replyMessage.seq];\n      if (replyMessage.err) {\n        let err = replyMessage.err;\n        if (replyMessage.err.$isError) {\n          err = new Error();\n          err.name = replyMessage.err.name;\n          err.message = replyMessage.err.message;\n          err.stack = replyMessage.err.stack;\n        }\n        reply.reject(err);\n        return;\n      }\n      reply.resolve(replyMessage.res);\n    }\n    _handleRequestMessage(requestMessage) {\n      const req = requestMessage.req;\n      const result = this._handler.handleMessage(requestMessage.method, requestMessage.args);\n      result.then((r3) => {\n        this._send(new ReplyMessage(this._workerId, req, r3, void 0));\n      }, (e5) => {\n        if (e5.detail instanceof Error) {\n          e5.detail = transformErrorForSerialization(e5.detail);\n        }\n        this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e5)));\n      });\n    }\n    _handleSubscribeEventMessage(msg) {\n      const req = msg.req;\n      const disposable = this._handler.handleEvent(msg.eventName, msg.arg)((event) => {\n        this._send(new EventMessage(this._workerId, req, event));\n      });\n      this._pendingEvents.set(req, disposable);\n    }\n    _handleEventMessage(msg) {\n      if (!this._pendingEmitters.has(msg.req)) {\n        console.warn(\"Got event for unknown req\");\n        return;\n      }\n      this._pendingEmitters.get(msg.req).fire(msg.event);\n    }\n    _handleUnsubscribeEventMessage(msg) {\n      if (!this._pendingEvents.has(msg.req)) {\n        console.warn(\"Got unsubscribe for unknown req\");\n        return;\n      }\n      this._pendingEvents.get(msg.req).dispose();\n      this._pendingEvents.delete(msg.req);\n    }\n    _send(msg) {\n      const transfer3 = [];\n      if (msg.type === 0) {\n        for (let i2 = 0; i2 < msg.args.length; i2++) {\n          if (msg.args[i2] instanceof ArrayBuffer) {\n            transfer3.push(msg.args[i2]);\n          }\n        }\n      } else if (msg.type === 1) {\n        if (msg.res instanceof ArrayBuffer) {\n          transfer3.push(msg.res);\n        }\n      }\n      this._handler.sendMessage(msg, transfer3);\n    }\n  };\n  function propertyIsEvent(name) {\n    return name[0] === \"o\" && name[1] === \"n\" && isUpperAsciiLetter(name.charCodeAt(2));\n  }\n  function propertyIsDynamicEvent(name) {\n    return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9));\n  }\n  function createProxyObject2(methodNames, invoke, proxyListen) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const createProxyDynamicEvent = (eventName) => {\n      return function(arg) {\n        return proxyListen(eventName, arg);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      if (propertyIsDynamicEvent(methodName)) {\n        result[methodName] = createProxyDynamicEvent(methodName);\n        continue;\n      }\n      if (propertyIsEvent(methodName)) {\n        result[methodName] = proxyListen(methodName, void 0);\n        continue;\n      }\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n  var SimpleWorkerServer = class {\n    constructor(postMessage, requestHandlerFactory) {\n      this._requestHandlerFactory = requestHandlerFactory;\n      this._requestHandler = null;\n      this._protocol = new SimpleWorkerProtocol({\n        sendMessage: (msg, transfer3) => {\n          postMessage(msg, transfer3);\n        },\n        handleMessage: (method, args) => this._handleMessage(method, args),\n        handleEvent: (eventName, arg) => this._handleEvent(eventName, arg)\n      });\n    }\n    onmessage(msg) {\n      this._protocol.handleMessage(msg);\n    }\n    _handleMessage(method, args) {\n      if (method === INITIALIZE) {\n        return this.initialize(args[0], args[1], args[2], args[3]);\n      }\n      if (!this._requestHandler || typeof this._requestHandler[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._requestHandler[method].apply(this._requestHandler, args));\n      } catch (e5) {\n        return Promise.reject(e5);\n      }\n    }\n    _handleEvent(eventName, arg) {\n      if (!this._requestHandler) {\n        throw new Error(`Missing requestHandler`);\n      }\n      if (propertyIsDynamicEvent(eventName)) {\n        const event = this._requestHandler[eventName].call(this._requestHandler, arg);\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing dynamic event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      if (propertyIsEvent(eventName)) {\n        const event = this._requestHandler[eventName];\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      throw new Error(`Malformed event name ${eventName}`);\n    }\n    initialize(workerId, loaderConfig, moduleId, hostMethods) {\n      this._protocol.setWorkerId(workerId);\n      const proxyMethodRequest = (method, args) => {\n        return this._protocol.sendMessage(method, args);\n      };\n      const proxyListen = (eventName, arg) => {\n        return this._protocol.listen(eventName, arg);\n      };\n      const hostProxy = createProxyObject2(hostMethods, proxyMethodRequest, proxyListen);\n      if (this._requestHandlerFactory) {\n        this._requestHandler = this._requestHandlerFactory(hostProxy);\n        return Promise.resolve(getAllMethodNames(this._requestHandler));\n      }\n      if (loaderConfig) {\n        if (typeof loaderConfig.baseUrl !== \"undefined\") {\n          delete loaderConfig[\"baseUrl\"];\n        }\n        if (typeof loaderConfig.paths !== \"undefined\") {\n          if (typeof loaderConfig.paths.vs !== \"undefined\") {\n            delete loaderConfig.paths[\"vs\"];\n          }\n        }\n        if (typeof loaderConfig.trustedTypesPolicy !== \"undefined\") {\n          delete loaderConfig[\"trustedTypesPolicy\"];\n        }\n        loaderConfig.catchError = true;\n        globalThis.require.config(loaderConfig);\n      }\n      return new Promise((resolve2, reject) => {\n        const req = globalThis.require;\n        req([moduleId], (module) => {\n          this._requestHandler = module.create(hostProxy);\n          if (!this._requestHandler) {\n            reject(new Error(`No RequestHandler!`));\n            return;\n          }\n          resolve2(getAllMethodNames(this._requestHandler));\n        }, reject);\n      });\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js\n  var DiffChange = class {\n    /**\n     * Constructs a new DiffChange with the given sequence information\n     * and content.\n     */\n    constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\n      this.originalStart = originalStart;\n      this.originalLength = originalLength;\n      this.modifiedStart = modifiedStart;\n      this.modifiedLength = modifiedLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the original sequence.\n     */\n    getOriginalEnd() {\n      return this.originalStart + this.originalLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the modified sequence.\n     */\n    getModifiedEnd() {\n      return this.modifiedStart + this.modifiedLength;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/hash.js\n  function numberHash(val, initialHashVal) {\n    return (initialHashVal << 5) - initialHashVal + val | 0;\n  }\n  function stringHash(s2, hashVal) {\n    hashVal = numberHash(149417, hashVal);\n    for (let i2 = 0, length2 = s2.length; i2 < length2; i2++) {\n      hashVal = numberHash(s2.charCodeAt(i2), hashVal);\n    }\n    return hashVal;\n  }\n  function leftRotate(value2, bits, totalBits = 32) {\n    const delta = totalBits - bits;\n    const mask = ~((1 << delta) - 1);\n    return (value2 << bits | (mask & value2) >>> delta) >>> 0;\n  }\n  function fill(dest, index2 = 0, count = dest.byteLength, value2 = 0) {\n    for (let i2 = 0; i2 < count; i2++) {\n      dest[index2 + i2] = value2;\n    }\n  }\n  function leftPad(value2, length2, char = \"0\") {\n    while (value2.length < length2) {\n      value2 = char + value2;\n    }\n    return value2;\n  }\n  function toHexString(bufferOrValue, bitsize = 32) {\n    if (bufferOrValue instanceof ArrayBuffer) {\n      return Array.from(new Uint8Array(bufferOrValue)).map((b2) => b2.toString(16).padStart(2, \"0\")).join(\"\");\n    }\n    return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4);\n  }\n  var StringSHA1 = class _StringSHA1 {\n    constructor() {\n      this._h0 = 1732584193;\n      this._h1 = 4023233417;\n      this._h2 = 2562383102;\n      this._h3 = 271733878;\n      this._h4 = 3285377520;\n      this._buff = new Uint8Array(\n        64 + 3\n        /* to fit any utf-8 */\n      );\n      this._buffDV = new DataView(this._buff.buffer);\n      this._buffLen = 0;\n      this._totalLen = 0;\n      this._leftoverHighSurrogate = 0;\n      this._finished = false;\n    }\n    update(str) {\n      const strLen = str.length;\n      if (strLen === 0) {\n        return;\n      }\n      const buff = this._buff;\n      let buffLen = this._buffLen;\n      let leftoverHighSurrogate = this._leftoverHighSurrogate;\n      let charCode;\n      let offset;\n      if (leftoverHighSurrogate !== 0) {\n        charCode = leftoverHighSurrogate;\n        offset = -1;\n        leftoverHighSurrogate = 0;\n      } else {\n        charCode = str.charCodeAt(0);\n        offset = 0;\n      }\n      while (true) {\n        let codePoint = charCode;\n        if (isHighSurrogate(charCode)) {\n          if (offset + 1 < strLen) {\n            const nextCharCode = str.charCodeAt(offset + 1);\n            if (isLowSurrogate(nextCharCode)) {\n              offset++;\n              codePoint = computeCodePoint(charCode, nextCharCode);\n            } else {\n              codePoint = 65533;\n            }\n          } else {\n            leftoverHighSurrogate = charCode;\n            break;\n          }\n        } else if (isLowSurrogate(charCode)) {\n          codePoint = 65533;\n        }\n        buffLen = this._push(buff, buffLen, codePoint);\n        offset++;\n        if (offset < strLen) {\n          charCode = str.charCodeAt(offset);\n        } else {\n          break;\n        }\n      }\n      this._buffLen = buffLen;\n      this._leftoverHighSurrogate = leftoverHighSurrogate;\n    }\n    _push(buff, buffLen, codePoint) {\n      if (codePoint < 128) {\n        buff[buffLen++] = codePoint;\n      } else if (codePoint < 2048) {\n        buff[buffLen++] = 192 | (codePoint & 1984) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else if (codePoint < 65536) {\n        buff[buffLen++] = 224 | (codePoint & 61440) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else {\n        buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18;\n        buff[buffLen++] = 128 | (codePoint & 258048) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      }\n      if (buffLen >= 64) {\n        this._step();\n        buffLen -= 64;\n        this._totalLen += 64;\n        buff[0] = buff[64 + 0];\n        buff[1] = buff[64 + 1];\n        buff[2] = buff[64 + 2];\n      }\n      return buffLen;\n    }\n    digest() {\n      if (!this._finished) {\n        this._finished = true;\n        if (this._leftoverHighSurrogate) {\n          this._leftoverHighSurrogate = 0;\n          this._buffLen = this._push(\n            this._buff,\n            this._buffLen,\n            65533\n            /* SHA1Constant.UNICODE_REPLACEMENT */\n          );\n        }\n        this._totalLen += this._buffLen;\n        this._wrapUp();\n      }\n      return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4);\n    }\n    _wrapUp() {\n      this._buff[this._buffLen++] = 128;\n      fill(this._buff, this._buffLen);\n      if (this._buffLen > 56) {\n        this._step();\n        fill(this._buff);\n      }\n      const ml = 8 * this._totalLen;\n      this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false);\n      this._buffDV.setUint32(60, ml % 4294967296, false);\n      this._step();\n    }\n    _step() {\n      const bigBlock32 = _StringSHA1._bigBlock32;\n      const data = this._buffDV;\n      for (let j2 = 0; j2 < 64; j2 += 4) {\n        bigBlock32.setUint32(j2, data.getUint32(j2, false), false);\n      }\n      for (let j2 = 64; j2 < 320; j2 += 4) {\n        bigBlock32.setUint32(j2, leftRotate(bigBlock32.getUint32(j2 - 12, false) ^ bigBlock32.getUint32(j2 - 32, false) ^ bigBlock32.getUint32(j2 - 56, false) ^ bigBlock32.getUint32(j2 - 64, false), 1), false);\n      }\n      let a2 = this._h0;\n      let b2 = this._h1;\n      let c3 = this._h2;\n      let d2 = this._h3;\n      let e5 = this._h4;\n      let f5, k5;\n      let temp;\n      for (let j2 = 0; j2 < 80; j2++) {\n        if (j2 < 20) {\n          f5 = b2 & c3 | ~b2 & d2;\n          k5 = 1518500249;\n        } else if (j2 < 40) {\n          f5 = b2 ^ c3 ^ d2;\n          k5 = 1859775393;\n        } else if (j2 < 60) {\n          f5 = b2 & c3 | b2 & d2 | c3 & d2;\n          k5 = 2400959708;\n        } else {\n          f5 = b2 ^ c3 ^ d2;\n          k5 = 3395469782;\n        }\n        temp = leftRotate(a2, 5) + f5 + e5 + k5 + bigBlock32.getUint32(j2 * 4, false) & 4294967295;\n        e5 = d2;\n        d2 = c3;\n        c3 = leftRotate(b2, 30);\n        b2 = a2;\n        a2 = temp;\n      }\n      this._h0 = this._h0 + a2 & 4294967295;\n      this._h1 = this._h1 + b2 & 4294967295;\n      this._h2 = this._h2 + c3 & 4294967295;\n      this._h3 = this._h3 + d2 & 4294967295;\n      this._h4 = this._h4 + e5 & 4294967295;\n    }\n  };\n  StringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\n  var StringDiffSequence = class {\n    constructor(source) {\n      this.source = source;\n    }\n    getElements() {\n      const source = this.source;\n      const characters = new Int32Array(source.length);\n      for (let i2 = 0, len = source.length; i2 < len; i2++) {\n        characters[i2] = source.charCodeAt(i2);\n      }\n      return characters;\n    }\n  };\n  function stringDiff(original, modified, pretty) {\n    return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes;\n  }\n  var Debug = class {\n    static Assert(condition, message) {\n      if (!condition) {\n        throw new Error(message);\n      }\n    }\n  };\n  var MyArray = class {\n    /**\n     * Copies a range of elements from an Array starting at the specified source index and pastes\n     * them to another Array starting at the specified destination index. The length and the indexes\n     * are specified as 64-bit integers.\n     * sourceArray:\n     *\t\tThe Array that contains the data to copy.\n     * sourceIndex:\n     *\t\tA 64-bit integer that represents the index in the sourceArray at which copying begins.\n     * destinationArray:\n     *\t\tThe Array that receives the data.\n     * destinationIndex:\n     *\t\tA 64-bit integer that represents the index in the destinationArray at which storing begins.\n     * length:\n     *\t\tA 64-bit integer that represents the number of elements to copy.\n     */\n    static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length2) {\n      for (let i2 = 0; i2 < length2; i2++) {\n        destinationArray[destinationIndex + i2] = sourceArray[sourceIndex + i2];\n      }\n    }\n    static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length2) {\n      for (let i2 = 0; i2 < length2; i2++) {\n        destinationArray[destinationIndex + i2] = sourceArray[sourceIndex + i2];\n      }\n    }\n  };\n  var DiffChangeHelper = class {\n    /**\n     * Constructs a new DiffChangeHelper for the given DiffSequences.\n     */\n    constructor() {\n      this.m_changes = [];\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n    }\n    /**\n     * Marks the beginning of the next change in the set of differences.\n     */\n    MarkNextChange() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount));\n      }\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n    }\n    /**\n     * Adds the original element at the given position to the elements\n     * affected by the current change. The modified index gives context\n     * to the change position with respect to the original sequence.\n     * @param originalIndex The index of the original element to add.\n     * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence.\n     */\n    AddOriginalElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_originalCount++;\n    }\n    /**\n     * Adds the modified element at the given position to the elements\n     * affected by the current change. The original index gives context\n     * to the change position with respect to the modified sequence.\n     * @param originalIndex The index of the original element that provides corresponding position in the original sequence.\n     * @param modifiedIndex The index of the modified element to add.\n     */\n    AddModifiedElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_modifiedCount++;\n    }\n    /**\n     * Retrieves all of the changes marked by the class.\n     */\n    getChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      return this.m_changes;\n    }\n    /**\n     * Retrieves all of the changes marked by the class in the reverse order\n     */\n    getReverseChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      this.m_changes.reverse();\n      return this.m_changes;\n    }\n  };\n  var LcsDiff = class _LcsDiff {\n    /**\n     * Constructs the DiffFinder\n     */\n    constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) {\n      this.ContinueProcessingPredicate = continueProcessingPredicate;\n      this._originalSequence = originalSequence;\n      this._modifiedSequence = modifiedSequence;\n      const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence);\n      const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence);\n      this._hasStrings = originalHasStrings && modifiedHasStrings;\n      this._originalStringElements = originalStringElements;\n      this._originalElementsOrHash = originalElementsOrHash;\n      this._modifiedStringElements = modifiedStringElements;\n      this._modifiedElementsOrHash = modifiedElementsOrHash;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n    }\n    static _isStringArray(arr) {\n      return arr.length > 0 && typeof arr[0] === \"string\";\n    }\n    static _getElements(sequence) {\n      const elements = sequence.getElements();\n      if (_LcsDiff._isStringArray(elements)) {\n        const hashes = new Int32Array(elements.length);\n        for (let i2 = 0, len = elements.length; i2 < len; i2++) {\n          hashes[i2] = stringHash(elements[i2], 0);\n        }\n        return [elements, hashes, true];\n      }\n      if (elements instanceof Int32Array) {\n        return [[], elements, false];\n      }\n      return [[], new Int32Array(elements), false];\n    }\n    ElementsAreEqual(originalIndex, newIndex) {\n      if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true;\n    }\n    ElementsAreStrictEqual(originalIndex, newIndex) {\n      if (!this.ElementsAreEqual(originalIndex, newIndex)) {\n        return false;\n      }\n      const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex);\n      const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex);\n      return originalElement === modifiedElement;\n    }\n    static _getStrictElement(sequence, index2) {\n      if (typeof sequence.getStrictElement === \"function\") {\n        return sequence.getStrictElement(index2);\n      }\n      return null;\n    }\n    OriginalElementsAreEqual(index1, index2) {\n      if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true;\n    }\n    ModifiedElementsAreEqual(index1, index2) {\n      if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true;\n    }\n    ComputeDiff(pretty) {\n      return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty);\n    }\n    /**\n     * Computes the differences between the original and modified input\n     * sequences on the bounded range.\n     * @returns An array of the differences between the two input sequences.\n     */\n    _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) {\n      const quitEarlyArr = [false];\n      let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr);\n      if (pretty) {\n        changes = this.PrettifyChanges(changes);\n      }\n      return {\n        quitEarly: quitEarlyArr[0],\n        changes\n      };\n    }\n    /**\n     * Private helper method which computes the differences on the bounded range\n     * recursively.\n     * @returns An array of the differences between the two input sequences.\n     */\n    ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) {\n      quitEarlyArr[0] = false;\n      while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) {\n        originalStart++;\n        modifiedStart++;\n      }\n      while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) {\n        originalEnd--;\n        modifiedEnd--;\n      }\n      if (originalStart > originalEnd || modifiedStart > modifiedEnd) {\n        let changes;\n        if (modifiedStart <= modifiedEnd) {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          changes = [\n            new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1)\n          ];\n        } else if (originalStart <= originalEnd) {\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [\n            new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0)\n          ];\n        } else {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [];\n        }\n        return changes;\n      }\n      const midOriginalArr = [0];\n      const midModifiedArr = [0];\n      const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr);\n      const midOriginal = midOriginalArr[0];\n      const midModified = midModifiedArr[0];\n      if (result !== null) {\n        return result;\n      } else if (!quitEarlyArr[0]) {\n        const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr);\n        let rightChanges = [];\n        if (!quitEarlyArr[0]) {\n          rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr);\n        } else {\n          rightChanges = [\n            new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1)\n          ];\n        }\n        return this.ConcatenateChanges(leftChanges, rightChanges);\n      }\n      return [\n        new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n      ];\n    }\n    WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) {\n      let forwardChanges = null;\n      let reverseChanges = null;\n      let changeHelper = new DiffChangeHelper();\n      let diagonalMin = diagonalForwardStart;\n      let diagonalMax = diagonalForwardEnd;\n      let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset;\n      let lastOriginalIndex = -1073741824;\n      let historyIndex = this.m_forwardHistory.length - 1;\n      do {\n        const diagonal = diagonalRelative + diagonalForwardBase;\n        if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n          originalIndex = forwardPoints[diagonal + 1];\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex;\n          changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex);\n          diagonalRelative = diagonal + 1 - diagonalForwardBase;\n        } else {\n          originalIndex = forwardPoints[diagonal - 1] + 1;\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex - 1;\n          changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1);\n          diagonalRelative = diagonal - 1 - diagonalForwardBase;\n        }\n        if (historyIndex >= 0) {\n          forwardPoints = this.m_forwardHistory[historyIndex];\n          diagonalForwardBase = forwardPoints[0];\n          diagonalMin = 1;\n          diagonalMax = forwardPoints.length - 1;\n        }\n      } while (--historyIndex >= -1);\n      forwardChanges = changeHelper.getReverseChanges();\n      if (quitEarlyArr[0]) {\n        let originalStartPoint = midOriginalArr[0] + 1;\n        let modifiedStartPoint = midModifiedArr[0] + 1;\n        if (forwardChanges !== null && forwardChanges.length > 0) {\n          const lastForwardChange = forwardChanges[forwardChanges.length - 1];\n          originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd());\n          modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd());\n        }\n        reverseChanges = [\n          new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1)\n        ];\n      } else {\n        changeHelper = new DiffChangeHelper();\n        diagonalMin = diagonalReverseStart;\n        diagonalMax = diagonalReverseEnd;\n        diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset;\n        lastOriginalIndex = 1073741824;\n        historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;\n        do {\n          const diagonal = diagonalRelative + diagonalReverseBase;\n          if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex + 1;\n            changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal + 1 - diagonalReverseBase;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex;\n            changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal - 1 - diagonalReverseBase;\n          }\n          if (historyIndex >= 0) {\n            reversePoints = this.m_reverseHistory[historyIndex];\n            diagonalReverseBase = reversePoints[0];\n            diagonalMin = 1;\n            diagonalMax = reversePoints.length - 1;\n          }\n        } while (--historyIndex >= -1);\n        reverseChanges = changeHelper.getChanges();\n      }\n      return this.ConcatenateChanges(forwardChanges, reverseChanges);\n    }\n    /**\n     * Given the range to compute the diff on, this method finds the point:\n     * (midOriginal, midModified)\n     * that exists in the middle of the LCS of the two sequences and\n     * is the point at which the LCS problem may be broken down recursively.\n     * This method will try to keep the LCS trace in memory. If the LCS recursion\n     * point is calculated and the full trace is available in memory, then this method\n     * will return the change list.\n     * @param originalStart The start bound of the original sequence range\n     * @param originalEnd The end bound of the original sequence range\n     * @param modifiedStart The start bound of the modified sequence range\n     * @param modifiedEnd The end bound of the modified sequence range\n     * @param midOriginal The middle point of the original sequence range\n     * @param midModified The middle point of the modified sequence range\n     * @returns The diff changes, if available, otherwise null\n     */\n    ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) {\n      let originalIndex = 0, modifiedIndex = 0;\n      let diagonalForwardStart = 0, diagonalForwardEnd = 0;\n      let diagonalReverseStart = 0, diagonalReverseEnd = 0;\n      originalStart--;\n      modifiedStart--;\n      midOriginalArr[0] = 0;\n      midModifiedArr[0] = 0;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n      const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart);\n      const numDiagonals = maxDifferences + 1;\n      const forwardPoints = new Int32Array(numDiagonals);\n      const reversePoints = new Int32Array(numDiagonals);\n      const diagonalForwardBase = modifiedEnd - modifiedStart;\n      const diagonalReverseBase = originalEnd - originalStart;\n      const diagonalForwardOffset = originalStart - modifiedStart;\n      const diagonalReverseOffset = originalEnd - modifiedEnd;\n      const delta = diagonalReverseBase - diagonalForwardBase;\n      const deltaIsEven = delta % 2 === 0;\n      forwardPoints[diagonalForwardBase] = originalStart;\n      reversePoints[diagonalReverseBase] = originalEnd;\n      quitEarlyArr[0] = false;\n      for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) {\n        let furthestOriginalIndex = 0;\n        let furthestModifiedIndex = 0;\n        diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) {\n          if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n            originalIndex = forwardPoints[diagonal + 1];\n          } else {\n            originalIndex = forwardPoints[diagonal - 1] + 1;\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) {\n            originalIndex++;\n            modifiedIndex++;\n          }\n          forwardPoints[diagonal] = originalIndex;\n          if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) {\n            furthestOriginalIndex = originalIndex;\n            furthestModifiedIndex = modifiedIndex;\n          }\n          if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) {\n            if (originalIndex >= reversePoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2;\n        if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) {\n          quitEarlyArr[0] = true;\n          midOriginalArr[0] = furthestOriginalIndex;\n          midModifiedArr[0] = furthestModifiedIndex;\n          if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) {\n            return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n          } else {\n            originalStart++;\n            modifiedStart++;\n            return [\n              new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n            ];\n          }\n        }\n        diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) {\n          if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) {\n            originalIndex--;\n            modifiedIndex--;\n          }\n          reversePoints[diagonal] = originalIndex;\n          if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) {\n            if (originalIndex <= forwardPoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        if (numDifferences <= 1447) {\n          let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);\n          temp[0] = diagonalForwardBase - diagonalForwardStart + 1;\n          MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);\n          this.m_forwardHistory.push(temp);\n          temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2);\n          temp[0] = diagonalReverseBase - diagonalReverseStart + 1;\n          MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1);\n          this.m_reverseHistory.push(temp);\n        }\n      }\n      return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n    }\n    /**\n     * Shifts the given changes to provide a more intuitive diff.\n     * While the first element in a diff matches the first element after the diff,\n     * we shift the diff down.\n     *\n     * @param changes The list of changes to shift\n     * @returns The shifted changes\n     */\n    PrettifyChanges(changes) {\n      for (let i2 = 0; i2 < changes.length; i2++) {\n        const change = changes[i2];\n        const originalStop = i2 < changes.length - 1 ? changes[i2 + 1].originalStart : this._originalElementsOrHash.length;\n        const modifiedStop = i2 < changes.length - 1 ? changes[i2 + 1].modifiedStart : this._modifiedElementsOrHash.length;\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) {\n          const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart);\n          const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength);\n          if (endStrictEqual && !startStrictEqual) {\n            break;\n          }\n          change.originalStart++;\n          change.modifiedStart++;\n        }\n        const mergedChangeArr = [null];\n        if (i2 < changes.length - 1 && this.ChangesOverlap(changes[i2], changes[i2 + 1], mergedChangeArr)) {\n          changes[i2] = mergedChangeArr[0];\n          changes.splice(i2 + 1, 1);\n          i2--;\n          continue;\n        }\n      }\n      for (let i2 = changes.length - 1; i2 >= 0; i2--) {\n        const change = changes[i2];\n        let originalStop = 0;\n        let modifiedStop = 0;\n        if (i2 > 0) {\n          const prevChange = changes[i2 - 1];\n          originalStop = prevChange.originalStart + prevChange.originalLength;\n          modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength;\n        }\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        let bestDelta = 0;\n        let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength);\n        for (let delta = 1; ; delta++) {\n          const originalStart = change.originalStart - delta;\n          const modifiedStart = change.modifiedStart - delta;\n          if (originalStart < originalStop || modifiedStart < modifiedStop) {\n            break;\n          }\n          if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) {\n            break;\n          }\n          if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) {\n            break;\n          }\n          const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop;\n          const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength);\n          if (score2 > bestScore) {\n            bestScore = score2;\n            bestDelta = delta;\n          }\n        }\n        change.originalStart -= bestDelta;\n        change.modifiedStart -= bestDelta;\n        const mergedChangeArr = [null];\n        if (i2 > 0 && this.ChangesOverlap(changes[i2 - 1], changes[i2], mergedChangeArr)) {\n          changes[i2 - 1] = mergedChangeArr[0];\n          changes.splice(i2, 1);\n          i2++;\n          continue;\n        }\n      }\n      if (this._hasStrings) {\n        for (let i2 = 1, len = changes.length; i2 < len; i2++) {\n          const aChange = changes[i2 - 1];\n          const bChange = changes[i2];\n          const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength;\n          const aOriginalStart = aChange.originalStart;\n          const bOriginalEnd = bChange.originalStart + bChange.originalLength;\n          const abOriginalLength = bOriginalEnd - aOriginalStart;\n          const aModifiedStart = aChange.modifiedStart;\n          const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength;\n          const abModifiedLength = bModifiedEnd - aModifiedStart;\n          if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) {\n            const t2 = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength);\n            if (t2) {\n              const [originalMatchStart, modifiedMatchStart] = t2;\n              if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) {\n                aChange.originalLength = originalMatchStart - aChange.originalStart;\n                aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart;\n                bChange.originalStart = originalMatchStart + matchedLength;\n                bChange.modifiedStart = modifiedMatchStart + matchedLength;\n                bChange.originalLength = bOriginalEnd - bChange.originalStart;\n                bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart;\n              }\n            }\n          }\n        }\n      }\n      return changes;\n    }\n    _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) {\n      if (originalLength < desiredLength || modifiedLength < desiredLength) {\n        return null;\n      }\n      const originalMax = originalStart + originalLength - desiredLength + 1;\n      const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1;\n      let bestScore = 0;\n      let bestOriginalStart = 0;\n      let bestModifiedStart = 0;\n      for (let i2 = originalStart; i2 < originalMax; i2++) {\n        for (let j2 = modifiedStart; j2 < modifiedMax; j2++) {\n          const score2 = this._contiguousSequenceScore(i2, j2, desiredLength);\n          if (score2 > 0 && score2 > bestScore) {\n            bestScore = score2;\n            bestOriginalStart = i2;\n            bestModifiedStart = j2;\n          }\n        }\n      }\n      if (bestScore > 0) {\n        return [bestOriginalStart, bestModifiedStart];\n      }\n      return null;\n    }\n    _contiguousSequenceScore(originalStart, modifiedStart, length2) {\n      let score2 = 0;\n      for (let l2 = 0; l2 < length2; l2++) {\n        if (!this.ElementsAreEqual(originalStart + l2, modifiedStart + l2)) {\n          return 0;\n        }\n        score2 += this._originalStringElements[originalStart + l2].length;\n      }\n      return score2;\n    }\n    _OriginalIsBoundary(index2) {\n      if (index2 <= 0 || index2 >= this._originalElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._originalStringElements[index2]);\n    }\n    _OriginalRegionIsBoundary(originalStart, originalLength) {\n      if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) {\n        return true;\n      }\n      if (originalLength > 0) {\n        const originalEnd = originalStart + originalLength;\n        if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _ModifiedIsBoundary(index2) {\n      if (index2 <= 0 || index2 >= this._modifiedElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._modifiedStringElements[index2]);\n    }\n    _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) {\n      if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) {\n        return true;\n      }\n      if (modifiedLength > 0) {\n        const modifiedEnd = modifiedStart + modifiedLength;\n        if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) {\n      const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0;\n      const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0;\n      return originalScore + modifiedScore;\n    }\n    /**\n     * Concatenates the two input DiffChange lists and returns the resulting\n     * list.\n     * @param The left changes\n     * @param The right changes\n     * @returns The concatenated list\n     */\n    ConcatenateChanges(left, right) {\n      const mergedChangeArr = [];\n      if (left.length === 0 || right.length === 0) {\n        return right.length > 0 ? right : left;\n      } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) {\n        const result = new Array(left.length + right.length - 1);\n        MyArray.Copy(left, 0, result, 0, left.length - 1);\n        result[left.length - 1] = mergedChangeArr[0];\n        MyArray.Copy(right, 1, result, left.length, right.length - 1);\n        return result;\n      } else {\n        const result = new Array(left.length + right.length);\n        MyArray.Copy(left, 0, result, 0, left.length);\n        MyArray.Copy(right, 0, result, left.length, right.length);\n        return result;\n      }\n    }\n    /**\n     * Returns true if the two changes overlap and can be merged into a single\n     * change\n     * @param left The left change\n     * @param right The right change\n     * @param mergedChange The merged change if the two overlap, null otherwise\n     * @returns True if the two changes overlap\n     */\n    ChangesOverlap(left, right, mergedChangeArr) {\n      Debug.Assert(left.originalStart <= right.originalStart, \"Left change is not less than or equal to right change\");\n      Debug.Assert(left.modifiedStart <= right.modifiedStart, \"Left change is not less than or equal to right change\");\n      if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n        const originalStart = left.originalStart;\n        let originalLength = left.originalLength;\n        const modifiedStart = left.modifiedStart;\n        let modifiedLength = left.modifiedLength;\n        if (left.originalStart + left.originalLength >= right.originalStart) {\n          originalLength = right.originalStart + right.originalLength - left.originalStart;\n        }\n        if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n          modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart;\n        }\n        mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength);\n        return true;\n      } else {\n        mergedChangeArr[0] = null;\n        return false;\n      }\n    }\n    /**\n     * Helper method used to clip a diagonal index to the range of valid\n     * diagonals. This also decides whether or not the diagonal index,\n     * if it exceeds the boundary, should be clipped to the boundary or clipped\n     * one inside the boundary depending on the Even/Odd status of the boundary\n     * and numDifferences.\n     * @param diagonal The index of the diagonal to clip.\n     * @param numDifferences The current number of differences being iterated upon.\n     * @param diagonalBaseIndex The base reference diagonal.\n     * @param numDiagonals The total number of diagonals.\n     * @returns The clipped diagonal index.\n     */\n    ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) {\n      if (diagonal >= 0 && diagonal < numDiagonals) {\n        return diagonal;\n      }\n      const diagonalsBelow = diagonalBaseIndex;\n      const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1;\n      const diffEven = numDifferences % 2 === 0;\n      if (diagonal < 0) {\n        const lowerBoundEven = diagonalsBelow % 2 === 0;\n        return diffEven === lowerBoundEven ? 0 : 1;\n      } else {\n        const upperBoundEven = diagonalsAbove % 2 === 0;\n        return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/process.js\n  var safeProcess;\n  var vscodeGlobal = globalThis.vscode;\n  if (typeof vscodeGlobal !== \"undefined\" && typeof vscodeGlobal.process !== \"undefined\") {\n    const sandboxProcess = vscodeGlobal.process;\n    safeProcess = {\n      get platform() {\n        return sandboxProcess.platform;\n      },\n      get arch() {\n        return sandboxProcess.arch;\n      },\n      get env() {\n        return sandboxProcess.env;\n      },\n      cwd() {\n        return sandboxProcess.cwd();\n      }\n    };\n  } else if (typeof process !== \"undefined\") {\n    safeProcess = {\n      get platform() {\n        return process.platform;\n      },\n      get arch() {\n        return process.arch;\n      },\n      get env() {\n        return process.env;\n      },\n      cwd() {\n        return process.env[\"VSCODE_CWD\"] || process.cwd();\n      }\n    };\n  } else {\n    safeProcess = {\n      // Supported\n      get platform() {\n        return isWindows ? \"win32\" : isMacintosh ? \"darwin\" : \"linux\";\n      },\n      get arch() {\n        return void 0;\n      },\n      // Unsupported\n      get env() {\n        return {};\n      },\n      cwd() {\n        return \"/\";\n      }\n    };\n  }\n  var cwd = safeProcess.cwd;\n  var env = safeProcess.env;\n  var platform = safeProcess.platform;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/path.js\n  var CHAR_UPPERCASE_A = 65;\n  var CHAR_LOWERCASE_A = 97;\n  var CHAR_UPPERCASE_Z = 90;\n  var CHAR_LOWERCASE_Z = 122;\n  var CHAR_DOT = 46;\n  var CHAR_FORWARD_SLASH = 47;\n  var CHAR_BACKWARD_SLASH = 92;\n  var CHAR_COLON = 58;\n  var CHAR_QUESTION_MARK = 63;\n  var ErrorInvalidArgType = class extends Error {\n    constructor(name, expected, actual) {\n      let determiner;\n      if (typeof expected === \"string\" && expected.indexOf(\"not \") === 0) {\n        determiner = \"must not be\";\n        expected = expected.replace(/^not /, \"\");\n      } else {\n        determiner = \"must be\";\n      }\n      const type = name.indexOf(\".\") !== -1 ? \"property\" : \"argument\";\n      let msg = `The \"${name}\" ${type} ${determiner} of type ${expected}`;\n      msg += `. Received type ${typeof actual}`;\n      super(msg);\n      this.code = \"ERR_INVALID_ARG_TYPE\";\n    }\n  };\n  function validateObject(pathObject, name) {\n    if (pathObject === null || typeof pathObject !== \"object\") {\n      throw new ErrorInvalidArgType(name, \"Object\", pathObject);\n    }\n  }\n  function validateString(value2, name) {\n    if (typeof value2 !== \"string\") {\n      throw new ErrorInvalidArgType(name, \"string\", value2);\n    }\n  }\n  var platformIsWin32 = platform === \"win32\";\n  function isPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n  }\n  function isPosixPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH;\n  }\n  function isWindowsDeviceRoot(code) {\n    return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z;\n  }\n  function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) {\n    let res = \"\";\n    let lastSegmentLength = 0;\n    let lastSlash = -1;\n    let dots = 0;\n    let code = 0;\n    for (let i2 = 0; i2 <= path.length; ++i2) {\n      if (i2 < path.length) {\n        code = path.charCodeAt(i2);\n      } else if (isPathSeparator2(code)) {\n        break;\n      } else {\n        code = CHAR_FORWARD_SLASH;\n      }\n      if (isPathSeparator2(code)) {\n        if (lastSlash === i2 - 1 || dots === 1) {\n        } else if (dots === 2) {\n          if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {\n            if (res.length > 2) {\n              const lastSlashIndex = res.lastIndexOf(separator);\n              if (lastSlashIndex === -1) {\n                res = \"\";\n                lastSegmentLength = 0;\n              } else {\n                res = res.slice(0, lastSlashIndex);\n                lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);\n              }\n              lastSlash = i2;\n              dots = 0;\n              continue;\n            } else if (res.length !== 0) {\n              res = \"\";\n              lastSegmentLength = 0;\n              lastSlash = i2;\n              dots = 0;\n              continue;\n            }\n          }\n          if (allowAboveRoot) {\n            res += res.length > 0 ? `${separator}..` : \"..\";\n            lastSegmentLength = 2;\n          }\n        } else {\n          if (res.length > 0) {\n            res += `${separator}${path.slice(lastSlash + 1, i2)}`;\n          } else {\n            res = path.slice(lastSlash + 1, i2);\n          }\n          lastSegmentLength = i2 - lastSlash - 1;\n        }\n        lastSlash = i2;\n        dots = 0;\n      } else if (code === CHAR_DOT && dots !== -1) {\n        ++dots;\n      } else {\n        dots = -1;\n      }\n    }\n    return res;\n  }\n  function _format2(sep2, pathObject) {\n    validateObject(pathObject, \"pathObject\");\n    const dir = pathObject.dir || pathObject.root;\n    const base = pathObject.base || `${pathObject.name || \"\"}${pathObject.ext || \"\"}`;\n    if (!dir) {\n      return base;\n    }\n    return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`;\n  }\n  var win32 = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedDevice = \"\";\n      let resolvedTail = \"\";\n      let resolvedAbsolute = false;\n      for (let i2 = pathSegments.length - 1; i2 >= -1; i2--) {\n        let path;\n        if (i2 >= 0) {\n          path = pathSegments[i2];\n          validateString(path, \"path\");\n          if (path.length === 0) {\n            continue;\n          }\n        } else if (resolvedDevice.length === 0) {\n          path = cwd();\n        } else {\n          path = env[`=${resolvedDevice}`] || cwd();\n          if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n            path = `${resolvedDevice}\\\\`;\n          }\n        }\n        const len = path.length;\n        let rootEnd = 0;\n        let device = \"\";\n        let isAbsolute = false;\n        const code = path.charCodeAt(0);\n        if (len === 1) {\n          if (isPathSeparator(code)) {\n            rootEnd = 1;\n            isAbsolute = true;\n          }\n        } else if (isPathSeparator(code)) {\n          isAbsolute = true;\n          if (isPathSeparator(path.charCodeAt(1))) {\n            let j2 = 2;\n            let last = j2;\n            while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n              j2++;\n            }\n            if (j2 < len && j2 !== last) {\n              const firstPart = path.slice(last, j2);\n              last = j2;\n              while (j2 < len && isPathSeparator(path.charCodeAt(j2))) {\n                j2++;\n              }\n              if (j2 < len && j2 !== last) {\n                last = j2;\n                while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n                  j2++;\n                }\n                if (j2 === len || j2 !== last) {\n                  device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j2)}`;\n                  rootEnd = j2;\n                }\n              }\n            }\n          } else {\n            rootEnd = 1;\n          }\n        } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n          device = path.slice(0, 2);\n          rootEnd = 2;\n          if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n            isAbsolute = true;\n            rootEnd = 3;\n          }\n        }\n        if (device.length > 0) {\n          if (resolvedDevice.length > 0) {\n            if (device.toLowerCase() !== resolvedDevice.toLowerCase()) {\n              continue;\n            }\n          } else {\n            resolvedDevice = device;\n          }\n        }\n        if (resolvedAbsolute) {\n          if (resolvedDevice.length > 0) {\n            break;\n          }\n        } else {\n          resolvedTail = `${path.slice(rootEnd)}\\\\${resolvedTail}`;\n          resolvedAbsolute = isAbsolute;\n          if (isAbsolute && resolvedDevice.length > 0) {\n            break;\n          }\n        }\n      }\n      resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, \"\\\\\", isPathSeparator);\n      return resolvedAbsolute ? `${resolvedDevice}\\\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = 0;\n      let device;\n      let isAbsolute = false;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPosixPathSeparator(code) ? \"\\\\\" : path;\n      }\n      if (isPathSeparator(code)) {\n        isAbsolute = true;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j2 = 2;\n          let last = j2;\n          while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n            j2++;\n          }\n          if (j2 < len && j2 !== last) {\n            const firstPart = path.slice(last, j2);\n            last = j2;\n            while (j2 < len && isPathSeparator(path.charCodeAt(j2))) {\n              j2++;\n            }\n            if (j2 < len && j2 !== last) {\n              last = j2;\n              while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n                j2++;\n              }\n              if (j2 === len) {\n                return `\\\\\\\\${firstPart}\\\\${path.slice(last)}\\\\`;\n              }\n              if (j2 !== last) {\n                device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j2)}`;\n                rootEnd = j2;\n              }\n            }\n          }\n        } else {\n          rootEnd = 1;\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        device = path.slice(0, 2);\n        rootEnd = 2;\n        if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n          isAbsolute = true;\n          rootEnd = 3;\n        }\n      }\n      let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, \"\\\\\", isPathSeparator) : \"\";\n      if (tail.length === 0 && !isAbsolute) {\n        tail = \".\";\n      }\n      if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {\n        tail += \"\\\\\";\n      }\n      if (device === void 0) {\n        return isAbsolute ? `\\\\${tail}` : tail;\n      }\n      return isAbsolute ? `${device}\\\\${tail}` : `${device}${tail}`;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return false;\n      }\n      const code = path.charCodeAt(0);\n      return isPathSeparator(code) || // Possible device root\n      len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2));\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      let firstPart;\n      for (let i2 = 0; i2 < paths.length; ++i2) {\n        const arg = paths[i2];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = firstPart = arg;\n          } else {\n            joined += `\\\\${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      let needsReplace = true;\n      let slashCount = 0;\n      if (typeof firstPart === \"string\" && isPathSeparator(firstPart.charCodeAt(0))) {\n        ++slashCount;\n        const firstLen = firstPart.length;\n        if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) {\n          ++slashCount;\n          if (firstLen > 2) {\n            if (isPathSeparator(firstPart.charCodeAt(2))) {\n              ++slashCount;\n            } else {\n              needsReplace = false;\n            }\n          }\n        }\n      }\n      if (needsReplace) {\n        while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) {\n          slashCount++;\n        }\n        if (slashCount >= 2) {\n          joined = `\\\\${joined.slice(slashCount)}`;\n        }\n      }\n      return win32.normalize(joined);\n    },\n    // It will solve the relative path from `from` to `to`, for instance:\n    //  from = 'C:\\\\orandea\\\\test\\\\aaa'\n    //  to = 'C:\\\\orandea\\\\impl\\\\bbb'\n    // The output of the function should be: '..\\\\..\\\\impl\\\\bbb'\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      const fromOrig = win32.resolve(from);\n      const toOrig = win32.resolve(to);\n      if (fromOrig === toOrig) {\n        return \"\";\n      }\n      from = fromOrig.toLowerCase();\n      to = toOrig.toLowerCase();\n      if (from === to) {\n        return \"\";\n      }\n      let fromStart = 0;\n      while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {\n        fromStart++;\n      }\n      let fromEnd = from.length;\n      while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) {\n        fromEnd--;\n      }\n      const fromLen = fromEnd - fromStart;\n      let toStart = 0;\n      while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        toStart++;\n      }\n      let toEnd = to.length;\n      while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) {\n        toEnd--;\n      }\n      const toLen = toEnd - toStart;\n      const length2 = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i2 = 0;\n      for (; i2 < length2; i2++) {\n        const fromCode = from.charCodeAt(fromStart + i2);\n        if (fromCode !== to.charCodeAt(toStart + i2)) {\n          break;\n        } else if (fromCode === CHAR_BACKWARD_SLASH) {\n          lastCommonSep = i2;\n        }\n      }\n      if (i2 !== length2) {\n        if (lastCommonSep === -1) {\n          return toOrig;\n        }\n      } else {\n        if (toLen > length2) {\n          if (to.charCodeAt(toStart + i2) === CHAR_BACKWARD_SLASH) {\n            return toOrig.slice(toStart + i2 + 1);\n          }\n          if (i2 === 2) {\n            return toOrig.slice(toStart + i2);\n          }\n        }\n        if (fromLen > length2) {\n          if (from.charCodeAt(fromStart + i2) === CHAR_BACKWARD_SLASH) {\n            lastCommonSep = i2;\n          } else if (i2 === 2) {\n            lastCommonSep = 3;\n          }\n        }\n        if (lastCommonSep === -1) {\n          lastCommonSep = 0;\n        }\n      }\n      let out = \"\";\n      for (i2 = fromStart + lastCommonSep + 1; i2 <= fromEnd; ++i2) {\n        if (i2 === fromEnd || from.charCodeAt(i2) === CHAR_BACKWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"\\\\..\";\n        }\n      }\n      toStart += lastCommonSep;\n      if (out.length > 0) {\n        return `${out}${toOrig.slice(toStart, toEnd)}`;\n      }\n      if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        ++toStart;\n      }\n      return toOrig.slice(toStart, toEnd);\n    },\n    toNamespacedPath(path) {\n      if (typeof path !== \"string\" || path.length === 0) {\n        return path;\n      }\n      const resolvedPath = win32.resolve(path);\n      if (resolvedPath.length <= 2) {\n        return path;\n      }\n      if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {\n        if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {\n          const code = resolvedPath.charCodeAt(2);\n          if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {\n            return `\\\\\\\\?\\\\UNC\\\\${resolvedPath.slice(2)}`;\n          }\n        }\n      } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n        return `\\\\\\\\?\\\\${resolvedPath}`;\n      }\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = -1;\n      let offset = 0;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPathSeparator(code) ? path : \".\";\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = offset = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j2 = 2;\n          let last = j2;\n          while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n            j2++;\n          }\n          if (j2 < len && j2 !== last) {\n            last = j2;\n            while (j2 < len && isPathSeparator(path.charCodeAt(j2))) {\n              j2++;\n            }\n            if (j2 < len && j2 !== last) {\n              last = j2;\n              while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n                j2++;\n              }\n              if (j2 === len) {\n                return path;\n              }\n              if (j2 !== last) {\n                rootEnd = offset = j2 + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2;\n        offset = rootEnd;\n      }\n      let end = -1;\n      let matchedSlash = true;\n      for (let i2 = len - 1; i2 >= offset; --i2) {\n        if (isPathSeparator(path.charCodeAt(i2))) {\n          if (!matchedSlash) {\n            end = i2;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        if (rootEnd === -1) {\n          return \".\";\n        }\n        end = rootEnd;\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i2;\n      if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) {\n        start = 2;\n      }\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i2 = path.length - 1; i2 >= start; --i2) {\n          const code = path.charCodeAt(i2);\n          if (isPathSeparator(code)) {\n            if (!matchedSlash) {\n              start = i2 + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i2 + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i2;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i2 = path.length - 1; i2 >= start; --i2) {\n        if (isPathSeparator(path.charCodeAt(i2))) {\n          if (!matchedSlash) {\n            start = i2 + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i2 + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let start = 0;\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {\n        start = startPart = 2;\n      }\n      for (let i2 = path.length - 1; i2 >= start; --i2) {\n        const code = path.charCodeAt(i2);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i2 + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i2 + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i2;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"\\\\\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const len = path.length;\n      let rootEnd = 0;\n      let code = path.charCodeAt(0);\n      if (len === 1) {\n        if (isPathSeparator(code)) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        ret.base = ret.name = path;\n        return ret;\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j2 = 2;\n          let last = j2;\n          while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n            j2++;\n          }\n          if (j2 < len && j2 !== last) {\n            last = j2;\n            while (j2 < len && isPathSeparator(path.charCodeAt(j2))) {\n              j2++;\n            }\n            if (j2 < len && j2 !== last) {\n              last = j2;\n              while (j2 < len && !isPathSeparator(path.charCodeAt(j2))) {\n                j2++;\n              }\n              if (j2 === len) {\n                rootEnd = j2;\n              } else if (j2 !== last) {\n                rootEnd = j2 + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        if (len <= 2) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        rootEnd = 2;\n        if (isPathSeparator(path.charCodeAt(2))) {\n          if (len === 3) {\n            ret.root = ret.dir = path;\n            return ret;\n          }\n          rootEnd = 3;\n        }\n      }\n      if (rootEnd > 0) {\n        ret.root = path.slice(0, rootEnd);\n      }\n      let startDot = -1;\n      let startPart = rootEnd;\n      let end = -1;\n      let matchedSlash = true;\n      let i2 = path.length - 1;\n      let preDotState = 0;\n      for (; i2 >= rootEnd; --i2) {\n        code = path.charCodeAt(i2);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i2 + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i2 + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i2;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(startPart, end);\n        } else {\n          ret.name = path.slice(startPart, startDot);\n          ret.base = path.slice(startPart, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0 && startPart !== rootEnd) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else {\n        ret.dir = ret.root;\n      }\n      return ret;\n    },\n    sep: \"\\\\\",\n    delimiter: \";\",\n    win32: null,\n    posix: null\n  };\n  var posixCwd = (() => {\n    if (platformIsWin32) {\n      const regexp = /\\\\/g;\n      return () => {\n        const cwd2 = cwd().replace(regexp, \"/\");\n        return cwd2.slice(cwd2.indexOf(\"/\"));\n      };\n    }\n    return () => cwd();\n  })();\n  var posix = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedPath = \"\";\n      let resolvedAbsolute = false;\n      for (let i2 = pathSegments.length - 1; i2 >= -1 && !resolvedAbsolute; i2--) {\n        const path = i2 >= 0 ? pathSegments[i2] : posixCwd();\n        validateString(path, \"path\");\n        if (path.length === 0) {\n          continue;\n        }\n        resolvedPath = `${path}/${resolvedPath}`;\n        resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      }\n      resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\", isPosixPathSeparator);\n      if (resolvedAbsolute) {\n        return `/${resolvedPath}`;\n      }\n      return resolvedPath.length > 0 ? resolvedPath : \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH;\n      path = normalizeString(path, !isAbsolute, \"/\", isPosixPathSeparator);\n      if (path.length === 0) {\n        if (isAbsolute) {\n          return \"/\";\n        }\n        return trailingSeparator ? \"./\" : \".\";\n      }\n      if (trailingSeparator) {\n        path += \"/\";\n      }\n      return isAbsolute ? `/${path}` : path;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      for (let i2 = 0; i2 < paths.length; ++i2) {\n        const arg = paths[i2];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = arg;\n          } else {\n            joined += `/${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      return posix.normalize(joined);\n    },\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      from = posix.resolve(from);\n      to = posix.resolve(to);\n      if (from === to) {\n        return \"\";\n      }\n      const fromStart = 1;\n      const fromEnd = from.length;\n      const fromLen = fromEnd - fromStart;\n      const toStart = 1;\n      const toLen = to.length - toStart;\n      const length2 = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i2 = 0;\n      for (; i2 < length2; i2++) {\n        const fromCode = from.charCodeAt(fromStart + i2);\n        if (fromCode !== to.charCodeAt(toStart + i2)) {\n          break;\n        } else if (fromCode === CHAR_FORWARD_SLASH) {\n          lastCommonSep = i2;\n        }\n      }\n      if (i2 === length2) {\n        if (toLen > length2) {\n          if (to.charCodeAt(toStart + i2) === CHAR_FORWARD_SLASH) {\n            return to.slice(toStart + i2 + 1);\n          }\n          if (i2 === 0) {\n            return to.slice(toStart + i2);\n          }\n        } else if (fromLen > length2) {\n          if (from.charCodeAt(fromStart + i2) === CHAR_FORWARD_SLASH) {\n            lastCommonSep = i2;\n          } else if (i2 === 0) {\n            lastCommonSep = 0;\n          }\n        }\n      }\n      let out = \"\";\n      for (i2 = fromStart + lastCommonSep + 1; i2 <= fromEnd; ++i2) {\n        if (i2 === fromEnd || from.charCodeAt(i2) === CHAR_FORWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"/..\";\n        }\n      }\n      return `${out}${to.slice(toStart + lastCommonSep)}`;\n    },\n    toNamespacedPath(path) {\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let end = -1;\n      let matchedSlash = true;\n      for (let i2 = path.length - 1; i2 >= 1; --i2) {\n        if (path.charCodeAt(i2) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            end = i2;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        return hasRoot ? \"/\" : \".\";\n      }\n      if (hasRoot && end === 1) {\n        return \"//\";\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i2;\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i2 = path.length - 1; i2 >= 0; --i2) {\n          const code = path.charCodeAt(i2);\n          if (code === CHAR_FORWARD_SLASH) {\n            if (!matchedSlash) {\n              start = i2 + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i2 + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i2;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i2 = path.length - 1; i2 >= 0; --i2) {\n        if (path.charCodeAt(i2) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            start = i2 + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i2 + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      for (let i2 = path.length - 1; i2 >= 0; --i2) {\n        const code = path.charCodeAt(i2);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i2 + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i2 + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i2;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"/\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let start;\n      if (isAbsolute) {\n        ret.root = \"/\";\n        start = 1;\n      } else {\n        start = 0;\n      }\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i2 = path.length - 1;\n      let preDotState = 0;\n      for (; i2 >= start; --i2) {\n        const code = path.charCodeAt(i2);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i2 + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i2 + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i2;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        const start2 = startPart === 0 && isAbsolute ? 1 : startPart;\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(start2, end);\n        } else {\n          ret.name = path.slice(start2, startDot);\n          ret.base = path.slice(start2, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else if (isAbsolute) {\n        ret.dir = \"/\";\n      }\n      return ret;\n    },\n    sep: \"/\",\n    delimiter: \":\",\n    win32: null,\n    posix: null\n  };\n  posix.win32 = win32.win32 = win32;\n  posix.posix = win32.posix = posix;\n  var normalize = platformIsWin32 ? win32.normalize : posix.normalize;\n  var resolve = platformIsWin32 ? win32.resolve : posix.resolve;\n  var relative = platformIsWin32 ? win32.relative : posix.relative;\n  var dirname = platformIsWin32 ? win32.dirname : posix.dirname;\n  var basename = platformIsWin32 ? win32.basename : posix.basename;\n  var extname = platformIsWin32 ? win32.extname : posix.extname;\n  var sep = platformIsWin32 ? win32.sep : posix.sep;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uri.js\n  var _schemePattern = /^\\w[\\w\\d+.-]*$/;\n  var _singleSlashStart = /^\\//;\n  var _doubleSlashStart = /^\\/\\//;\n  function _validateUri(ret, _strict) {\n    if (!ret.scheme && _strict) {\n      throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${ret.authority}\", path: \"${ret.path}\", query: \"${ret.query}\", fragment: \"${ret.fragment}\"}`);\n    }\n    if (ret.scheme && !_schemePattern.test(ret.scheme)) {\n      throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n    }\n    if (ret.path) {\n      if (ret.authority) {\n        if (!_singleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n        }\n      } else {\n        if (_doubleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n    }\n  }\n  function _schemeFix(scheme, _strict) {\n    if (!scheme && !_strict) {\n      return \"file\";\n    }\n    return scheme;\n  }\n  function _referenceResolution(scheme, path) {\n    switch (scheme) {\n      case \"https\":\n      case \"http\":\n      case \"file\":\n        if (!path) {\n          path = _slash;\n        } else if (path[0] !== _slash) {\n          path = _slash + path;\n        }\n        break;\n    }\n    return path;\n  }\n  var _empty = \"\";\n  var _slash = \"/\";\n  var _regexp = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;\n  var URI2 = class _URI {\n    static isUri(thing) {\n      if (thing instanceof _URI) {\n        return true;\n      }\n      if (!thing) {\n        return false;\n      }\n      return typeof thing.authority === \"string\" && typeof thing.fragment === \"string\" && typeof thing.path === \"string\" && typeof thing.query === \"string\" && typeof thing.scheme === \"string\" && typeof thing.fsPath === \"string\" && typeof thing.with === \"function\" && typeof thing.toString === \"function\";\n    }\n    /**\n     * @internal\n     */\n    constructor(schemeOrData, authority, path, query, fragment, _strict = false) {\n      if (typeof schemeOrData === \"object\") {\n        this.scheme = schemeOrData.scheme || _empty;\n        this.authority = schemeOrData.authority || _empty;\n        this.path = schemeOrData.path || _empty;\n        this.query = schemeOrData.query || _empty;\n        this.fragment = schemeOrData.fragment || _empty;\n      } else {\n        this.scheme = _schemeFix(schemeOrData, _strict);\n        this.authority = authority || _empty;\n        this.path = _referenceResolution(this.scheme, path || _empty);\n        this.query = query || _empty;\n        this.fragment = fragment || _empty;\n        _validateUri(this, _strict);\n      }\n    }\n    // ---- filesystem path -----------------------\n    /**\n     * Returns a string representing the corresponding file system path of this URI.\n     * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the\n     * platform specific path separator.\n     *\n     * * Will *not* validate the path for invalid characters and semantics.\n     * * Will *not* look at the scheme of this URI.\n     * * The result shall *not* be used for display purposes but for accessing a file on disk.\n     *\n     *\n     * The *difference* to `URI#path` is the use of the platform specific separator and the handling\n     * of UNC paths. See the below sample of a file-uri with an authority (UNC path).\n     *\n     * ```ts\n        const u = URI.parse('file://server/c$/folder/file.txt')\n        u.authority === 'server'\n        u.path === '/shares/c$/file.txt'\n        u.fsPath === '\\\\server\\c$\\folder\\file.txt'\n    ```\n     *\n     * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path,\n     * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working\n     * with URIs that represent files on disk (`file` scheme).\n     */\n    get fsPath() {\n      return uriToFsPath(this, false);\n    }\n    // ---- modify to new -------------------------\n    with(change) {\n      if (!change) {\n        return this;\n      }\n      let { scheme, authority, path, query, fragment } = change;\n      if (scheme === void 0) {\n        scheme = this.scheme;\n      } else if (scheme === null) {\n        scheme = _empty;\n      }\n      if (authority === void 0) {\n        authority = this.authority;\n      } else if (authority === null) {\n        authority = _empty;\n      }\n      if (path === void 0) {\n        path = this.path;\n      } else if (path === null) {\n        path = _empty;\n      }\n      if (query === void 0) {\n        query = this.query;\n      } else if (query === null) {\n        query = _empty;\n      }\n      if (fragment === void 0) {\n        fragment = this.fragment;\n      } else if (fragment === null) {\n        fragment = _empty;\n      }\n      if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) {\n        return this;\n      }\n      return new Uri(scheme, authority, path, query, fragment);\n    }\n    // ---- parse & validate ------------------------\n    /**\n     * Creates a new URI from a string, e.g. `http://www.example.com/some/path`,\n     * `file:///usr/home`, or `scheme:with/path`.\n     *\n     * @param value A string which represents an URI (see `URI#toString`).\n     */\n    static parse(value2, _strict = false) {\n      const match = _regexp.exec(value2);\n      if (!match) {\n        return new Uri(_empty, _empty, _empty, _empty, _empty);\n      }\n      return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict);\n    }\n    /**\n     * Creates a new URI from a file system path, e.g. `c:\\my\\files`,\n     * `/usr/home`, or `\\\\server\\share\\some\\path`.\n     *\n     * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument\n     * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as**\n     * `URI.parse('file://' + path)` because the path might contain characters that are\n     * interpreted (# and ?). See the following sample:\n     * ```ts\n    const good = URI.file('/coding/c#/project1');\n    good.scheme === 'file';\n    good.path === '/coding/c#/project1';\n    good.fragment === '';\n    const bad = URI.parse('file://' + '/coding/c#/project1');\n    bad.scheme === 'file';\n    bad.path === '/coding/c'; // path is now broken\n    bad.fragment === '/project1';\n    ```\n     *\n     * @param path A file system path (see `URI#fsPath`)\n     */\n    static file(path) {\n      let authority = _empty;\n      if (isWindows) {\n        path = path.replace(/\\\\/g, _slash);\n      }\n      if (path[0] === _slash && path[1] === _slash) {\n        const idx = path.indexOf(_slash, 2);\n        if (idx === -1) {\n          authority = path.substring(2);\n          path = _slash;\n        } else {\n          authority = path.substring(2, idx);\n          path = path.substring(idx) || _slash;\n        }\n      }\n      return new Uri(\"file\", authority, path, _empty, _empty);\n    }\n    /**\n     * Creates new URI from uri components.\n     *\n     * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs\n     * validation and should be used for untrusted uri components retrieved from storage,\n     * user input, command arguments etc\n     */\n    static from(components, strict) {\n      const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict);\n      return result;\n    }\n    /**\n     * Join a URI path with path fragments and normalizes the resulting path.\n     *\n     * @param uri The input URI.\n     * @param pathFragment The path fragment to add to the URI path.\n     * @returns The resulting URI.\n     */\n    static joinPath(uri, ...pathFragment) {\n      if (!uri.path) {\n        throw new Error(`[UriError]: cannot call joinPath on URI without path`);\n      }\n      let newPath;\n      if (isWindows && uri.scheme === \"file\") {\n        newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path;\n      } else {\n        newPath = posix.join(uri.path, ...pathFragment);\n      }\n      return uri.with({ path: newPath });\n    }\n    // ---- printing/externalize ---------------------------\n    /**\n     * Creates a string representation for this URI. It's guaranteed that calling\n     * `URI.parse` with the result of this function creates an URI which is equal\n     * to this URI.\n     *\n     * * The result shall *not* be used for display purposes but for externalization or transport.\n     * * The result will be encoded using the percentage encoding and encoding happens mostly\n     * ignore the scheme-specific encoding rules.\n     *\n     * @param skipEncoding Do not encode the result, default is `false`\n     */\n    toString(skipEncoding = false) {\n      return _asFormatted(this, skipEncoding);\n    }\n    toJSON() {\n      return this;\n    }\n    static revive(data) {\n      var _a4, _b3;\n      if (!data) {\n        return data;\n      } else if (data instanceof _URI) {\n        return data;\n      } else {\n        const result = new Uri(data);\n        result._formatted = (_a4 = data.external) !== null && _a4 !== void 0 ? _a4 : null;\n        result._fsPath = data._sep === _pathSepMarker ? (_b3 = data.fsPath) !== null && _b3 !== void 0 ? _b3 : null : null;\n        return result;\n      }\n    }\n  };\n  var _pathSepMarker = isWindows ? 1 : void 0;\n  var Uri = class extends URI2 {\n    constructor() {\n      super(...arguments);\n      this._formatted = null;\n      this._fsPath = null;\n    }\n    get fsPath() {\n      if (!this._fsPath) {\n        this._fsPath = uriToFsPath(this, false);\n      }\n      return this._fsPath;\n    }\n    toString(skipEncoding = false) {\n      if (!skipEncoding) {\n        if (!this._formatted) {\n          this._formatted = _asFormatted(this, false);\n        }\n        return this._formatted;\n      } else {\n        return _asFormatted(this, true);\n      }\n    }\n    toJSON() {\n      const res = {\n        $mid: 1\n        /* MarshalledId.Uri */\n      };\n      if (this._fsPath) {\n        res.fsPath = this._fsPath;\n        res._sep = _pathSepMarker;\n      }\n      if (this._formatted) {\n        res.external = this._formatted;\n      }\n      if (this.path) {\n        res.path = this.path;\n      }\n      if (this.scheme) {\n        res.scheme = this.scheme;\n      }\n      if (this.authority) {\n        res.authority = this.authority;\n      }\n      if (this.query) {\n        res.query = this.query;\n      }\n      if (this.fragment) {\n        res.fragment = this.fragment;\n      }\n      return res;\n    }\n  };\n  var encodeTable = {\n    [\n      58\n      /* CharCode.Colon */\n    ]: \"%3A\",\n    // gen-delims\n    [\n      47\n      /* CharCode.Slash */\n    ]: \"%2F\",\n    [\n      63\n      /* CharCode.QuestionMark */\n    ]: \"%3F\",\n    [\n      35\n      /* CharCode.Hash */\n    ]: \"%23\",\n    [\n      91\n      /* CharCode.OpenSquareBracket */\n    ]: \"%5B\",\n    [\n      93\n      /* CharCode.CloseSquareBracket */\n    ]: \"%5D\",\n    [\n      64\n      /* CharCode.AtSign */\n    ]: \"%40\",\n    [\n      33\n      /* CharCode.ExclamationMark */\n    ]: \"%21\",\n    // sub-delims\n    [\n      36\n      /* CharCode.DollarSign */\n    ]: \"%24\",\n    [\n      38\n      /* CharCode.Ampersand */\n    ]: \"%26\",\n    [\n      39\n      /* CharCode.SingleQuote */\n    ]: \"%27\",\n    [\n      40\n      /* CharCode.OpenParen */\n    ]: \"%28\",\n    [\n      41\n      /* CharCode.CloseParen */\n    ]: \"%29\",\n    [\n      42\n      /* CharCode.Asterisk */\n    ]: \"%2A\",\n    [\n      43\n      /* CharCode.Plus */\n    ]: \"%2B\",\n    [\n      44\n      /* CharCode.Comma */\n    ]: \"%2C\",\n    [\n      59\n      /* CharCode.Semicolon */\n    ]: \"%3B\",\n    [\n      61\n      /* CharCode.Equals */\n    ]: \"%3D\",\n    [\n      32\n      /* CharCode.Space */\n    ]: \"%20\"\n  };\n  function encodeURIComponentFast(uriComponent, isPath, isAuthority) {\n    let res = void 0;\n    let nativeEncodePos = -1;\n    for (let pos = 0; pos < uriComponent.length; pos++) {\n      const code = uriComponent.charCodeAt(pos);\n      if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) {\n        if (nativeEncodePos !== -1) {\n          res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n          nativeEncodePos = -1;\n        }\n        if (res !== void 0) {\n          res += uriComponent.charAt(pos);\n        }\n      } else {\n        if (res === void 0) {\n          res = uriComponent.substr(0, pos);\n        }\n        const escaped = encodeTable[code];\n        if (escaped !== void 0) {\n          if (nativeEncodePos !== -1) {\n            res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n            nativeEncodePos = -1;\n          }\n          res += escaped;\n        } else if (nativeEncodePos === -1) {\n          nativeEncodePos = pos;\n        }\n      }\n    }\n    if (nativeEncodePos !== -1) {\n      res += encodeURIComponent(uriComponent.substring(nativeEncodePos));\n    }\n    return res !== void 0 ? res : uriComponent;\n  }\n  function encodeURIComponentMinimal(path) {\n    let res = void 0;\n    for (let pos = 0; pos < path.length; pos++) {\n      const code = path.charCodeAt(pos);\n      if (code === 35 || code === 63) {\n        if (res === void 0) {\n          res = path.substr(0, pos);\n        }\n        res += encodeTable[code];\n      } else {\n        if (res !== void 0) {\n          res += path[pos];\n        }\n      }\n    }\n    return res !== void 0 ? res : path;\n  }\n  function uriToFsPath(uri, keepDriveLetterCasing) {\n    let value2;\n    if (uri.authority && uri.path.length > 1 && uri.scheme === \"file\") {\n      value2 = `//${uri.authority}${uri.path}`;\n    } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) {\n      if (!keepDriveLetterCasing) {\n        value2 = uri.path[1].toLowerCase() + uri.path.substr(2);\n      } else {\n        value2 = uri.path.substr(1);\n      }\n    } else {\n      value2 = uri.path;\n    }\n    if (isWindows) {\n      value2 = value2.replace(/\\//g, \"\\\\\");\n    }\n    return value2;\n  }\n  function _asFormatted(uri, skipEncoding) {\n    const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal;\n    let res = \"\";\n    let { scheme, authority, path, query, fragment } = uri;\n    if (scheme) {\n      res += scheme;\n      res += \":\";\n    }\n    if (authority || scheme === \"file\") {\n      res += _slash;\n      res += _slash;\n    }\n    if (authority) {\n      let idx = authority.indexOf(\"@\");\n      if (idx !== -1) {\n        const userinfo = authority.substr(0, idx);\n        authority = authority.substr(idx + 1);\n        idx = userinfo.lastIndexOf(\":\");\n        if (idx === -1) {\n          res += encoder(userinfo, false, false);\n        } else {\n          res += encoder(userinfo.substr(0, idx), false, false);\n          res += \":\";\n          res += encoder(userinfo.substr(idx + 1), false, true);\n        }\n        res += \"@\";\n      }\n      authority = authority.toLowerCase();\n      idx = authority.lastIndexOf(\":\");\n      if (idx === -1) {\n        res += encoder(authority, false, true);\n      } else {\n        res += encoder(authority.substr(0, idx), false, true);\n        res += authority.substr(idx);\n      }\n    }\n    if (path) {\n      if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {\n        const code = path.charCodeAt(1);\n        if (code >= 65 && code <= 90) {\n          path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;\n        }\n      } else if (path.length >= 2 && path.charCodeAt(1) === 58) {\n        const code = path.charCodeAt(0);\n        if (code >= 65 && code <= 90) {\n          path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;\n        }\n      }\n      res += encoder(path, true, false);\n    }\n    if (query) {\n      res += \"?\";\n      res += encoder(query, false, false);\n    }\n    if (fragment) {\n      res += \"#\";\n      res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment;\n    }\n    return res;\n  }\n  function decodeURIComponentGraceful(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (_a4) {\n      if (str.length > 3) {\n        return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3));\n      } else {\n        return str;\n      }\n    }\n  }\n  var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n  function percentDecode(str) {\n    if (!str.match(_rEncodedAsHex)) {\n      return str;\n    }\n    return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/position.js\n  var Position2 = class _Position {\n    constructor(lineNumber, column) {\n      this.lineNumber = lineNumber;\n      this.column = column;\n    }\n    /**\n     * Create a new position from this position.\n     *\n     * @param newLineNumber new line number\n     * @param newColumn new column\n     */\n    with(newLineNumber = this.lineNumber, newColumn = this.column) {\n      if (newLineNumber === this.lineNumber && newColumn === this.column) {\n        return this;\n      } else {\n        return new _Position(newLineNumber, newColumn);\n      }\n    }\n    /**\n     * Derive a new position from this position.\n     *\n     * @param deltaLineNumber line number delta\n     * @param deltaColumn column delta\n     */\n    delta(deltaLineNumber = 0, deltaColumn = 0) {\n      return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\n    }\n    /**\n     * Test if this position equals other position\n     */\n    equals(other) {\n      return _Position.equals(this, other);\n    }\n    /**\n     * Test if position `a` equals position `b`\n     */\n    static equals(a2, b2) {\n      if (!a2 && !b2) {\n        return true;\n      }\n      return !!a2 && !!b2 && a2.lineNumber === b2.lineNumber && a2.column === b2.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be false.\n     */\n    isBefore(other) {\n      return _Position.isBefore(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be false.\n     */\n    static isBefore(a2, b2) {\n      if (a2.lineNumber < b2.lineNumber) {\n        return true;\n      }\n      if (b2.lineNumber < a2.lineNumber) {\n        return false;\n      }\n      return a2.column < b2.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be true.\n     */\n    isBeforeOrEqual(other) {\n      return _Position.isBeforeOrEqual(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be true.\n     */\n    static isBeforeOrEqual(a2, b2) {\n      if (a2.lineNumber < b2.lineNumber) {\n        return true;\n      }\n      if (b2.lineNumber < a2.lineNumber) {\n        return false;\n      }\n      return a2.column <= b2.column;\n    }\n    /**\n     * A function that compares positions, useful for sorting\n     */\n    static compare(a2, b2) {\n      const aLineNumber = a2.lineNumber | 0;\n      const bLineNumber = b2.lineNumber | 0;\n      if (aLineNumber === bLineNumber) {\n        const aColumn = a2.column | 0;\n        const bColumn = b2.column | 0;\n        return aColumn - bColumn;\n      }\n      return aLineNumber - bLineNumber;\n    }\n    /**\n     * Clone this position.\n     */\n    clone() {\n      return new _Position(this.lineNumber, this.column);\n    }\n    /**\n     * Convert to a human-readable representation.\n     */\n    toString() {\n      return \"(\" + this.lineNumber + \",\" + this.column + \")\";\n    }\n    // ---\n    /**\n     * Create a `Position` from an `IPosition`.\n     */\n    static lift(pos) {\n      return new _Position(pos.lineNumber, pos.column);\n    }\n    /**\n     * Test if `obj` is an `IPosition`.\n     */\n    static isIPosition(obj) {\n      return obj && typeof obj.lineNumber === \"number\" && typeof obj.column === \"number\";\n    }\n    toJSON() {\n      return {\n        lineNumber: this.lineNumber,\n        column: this.column\n      };\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/range.js\n  var Range2 = class _Range {\n    constructor(startLineNumber, startColumn, endLineNumber, endColumn) {\n      if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {\n        this.startLineNumber = endLineNumber;\n        this.startColumn = endColumn;\n        this.endLineNumber = startLineNumber;\n        this.endColumn = startColumn;\n      } else {\n        this.startLineNumber = startLineNumber;\n        this.startColumn = startColumn;\n        this.endLineNumber = endLineNumber;\n        this.endColumn = endColumn;\n      }\n    }\n    /**\n     * Test if this range is empty.\n     */\n    isEmpty() {\n      return _Range.isEmpty(this);\n    }\n    /**\n     * Test if `range` is empty.\n     */\n    static isEmpty(range) {\n      return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn;\n    }\n    /**\n     * Test if position is in this range. If the position is at the edges, will return true.\n     */\n    containsPosition(position2) {\n      return _Range.containsPosition(this, position2);\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return true.\n     */\n    static containsPosition(range, position2) {\n      if (position2.lineNumber < range.startLineNumber || position2.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position2.lineNumber === range.startLineNumber && position2.column < range.startColumn) {\n        return false;\n      }\n      if (position2.lineNumber === range.endLineNumber && position2.column > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return false.\n     * @internal\n     */\n    static strictContainsPosition(range, position2) {\n      if (position2.lineNumber < range.startLineNumber || position2.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position2.lineNumber === range.startLineNumber && position2.column <= range.startColumn) {\n        return false;\n      }\n      if (position2.lineNumber === range.endLineNumber && position2.column >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if range is in this range. If the range is equal to this range, will return true.\n     */\n    containsRange(range) {\n      return _Range.containsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is in `range`. If the ranges are equal, will return true.\n     */\n    static containsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.\n     */\n    strictContainsRange(range) {\n      return _Range.strictContainsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false.\n     */\n    static strictContainsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    plusRange(range) {\n      return _Range.plusRange(this, range);\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    static plusRange(a2, b2) {\n      let startLineNumber;\n      let startColumn;\n      let endLineNumber;\n      let endColumn;\n      if (b2.startLineNumber < a2.startLineNumber) {\n        startLineNumber = b2.startLineNumber;\n        startColumn = b2.startColumn;\n      } else if (b2.startLineNumber === a2.startLineNumber) {\n        startLineNumber = b2.startLineNumber;\n        startColumn = Math.min(b2.startColumn, a2.startColumn);\n      } else {\n        startLineNumber = a2.startLineNumber;\n        startColumn = a2.startColumn;\n      }\n      if (b2.endLineNumber > a2.endLineNumber) {\n        endLineNumber = b2.endLineNumber;\n        endColumn = b2.endColumn;\n      } else if (b2.endLineNumber === a2.endLineNumber) {\n        endLineNumber = b2.endLineNumber;\n        endColumn = Math.max(b2.endColumn, a2.endColumn);\n      } else {\n        endLineNumber = a2.endLineNumber;\n        endColumn = a2.endColumn;\n      }\n      return new _Range(startLineNumber, startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    intersectRanges(range) {\n      return _Range.intersectRanges(this, range);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    static intersectRanges(a2, b2) {\n      let resultStartLineNumber = a2.startLineNumber;\n      let resultStartColumn = a2.startColumn;\n      let resultEndLineNumber = a2.endLineNumber;\n      let resultEndColumn = a2.endColumn;\n      const otherStartLineNumber = b2.startLineNumber;\n      const otherStartColumn = b2.startColumn;\n      const otherEndLineNumber = b2.endLineNumber;\n      const otherEndColumn = b2.endColumn;\n      if (resultStartLineNumber < otherStartLineNumber) {\n        resultStartLineNumber = otherStartLineNumber;\n        resultStartColumn = otherStartColumn;\n      } else if (resultStartLineNumber === otherStartLineNumber) {\n        resultStartColumn = Math.max(resultStartColumn, otherStartColumn);\n      }\n      if (resultEndLineNumber > otherEndLineNumber) {\n        resultEndLineNumber = otherEndLineNumber;\n        resultEndColumn = otherEndColumn;\n      } else if (resultEndLineNumber === otherEndLineNumber) {\n        resultEndColumn = Math.min(resultEndColumn, otherEndColumn);\n      }\n      if (resultStartLineNumber > resultEndLineNumber) {\n        return null;\n      }\n      if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) {\n        return null;\n      }\n      return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn);\n    }\n    /**\n     * Test if this range equals other.\n     */\n    equalsRange(other) {\n      return _Range.equalsRange(this, other);\n    }\n    /**\n     * Test if range `a` equals `b`.\n     */\n    static equalsRange(a2, b2) {\n      if (!a2 && !b2) {\n        return true;\n      }\n      return !!a2 && !!b2 && a2.startLineNumber === b2.startLineNumber && a2.startColumn === b2.startColumn && a2.endLineNumber === b2.endLineNumber && a2.endColumn === b2.endColumn;\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    getEndPosition() {\n      return _Range.getEndPosition(this);\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    static getEndPosition(range) {\n      return new Position2(range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    getStartPosition() {\n      return _Range.getStartPosition(this);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    static getStartPosition(range) {\n      return new Position2(range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Transform to a user presentable string representation.\n     */\n    toString() {\n      return \"[\" + this.startLineNumber + \",\" + this.startColumn + \" -> \" + this.endLineNumber + \",\" + this.endColumn + \"]\";\n    }\n    /**\n     * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    collapseToStart() {\n      return _Range.collapseToStart(this);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    static collapseToStart(range) {\n      return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    collapseToEnd() {\n      return _Range.collapseToEnd(this);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    static collapseToEnd(range) {\n      return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Moves the range by the given amount of lines.\n     */\n    delta(lineCount) {\n      return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn);\n    }\n    // ---\n    static fromPositions(start, end = start) {\n      return new _Range(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    static lift(range) {\n      if (!range) {\n        return null;\n      }\n      return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Test if `obj` is an `IRange`.\n     */\n    static isIRange(obj) {\n      return obj && typeof obj.startLineNumber === \"number\" && typeof obj.startColumn === \"number\" && typeof obj.endLineNumber === \"number\" && typeof obj.endColumn === \"number\";\n    }\n    /**\n     * Test if the two ranges are touching in any way.\n     */\n    static areIntersectingOrTouching(a2, b2) {\n      if (a2.endLineNumber < b2.startLineNumber || a2.endLineNumber === b2.startLineNumber && a2.endColumn < b2.startColumn) {\n        return false;\n      }\n      if (b2.endLineNumber < a2.startLineNumber || b2.endLineNumber === a2.startLineNumber && b2.endColumn < a2.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if the two ranges are intersecting. If the ranges are touching it returns true.\n     */\n    static areIntersecting(a2, b2) {\n      if (a2.endLineNumber < b2.startLineNumber || a2.endLineNumber === b2.startLineNumber && a2.endColumn <= b2.startColumn) {\n        return false;\n      }\n      if (b2.endLineNumber < a2.startLineNumber || b2.endLineNumber === a2.startLineNumber && b2.endColumn <= a2.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the startPosition and then on the endPosition\n     */\n    static compareRangesUsingStarts(a2, b2) {\n      if (a2 && b2) {\n        const aStartLineNumber = a2.startLineNumber | 0;\n        const bStartLineNumber = b2.startLineNumber | 0;\n        if (aStartLineNumber === bStartLineNumber) {\n          const aStartColumn = a2.startColumn | 0;\n          const bStartColumn = b2.startColumn | 0;\n          if (aStartColumn === bStartColumn) {\n            const aEndLineNumber = a2.endLineNumber | 0;\n            const bEndLineNumber = b2.endLineNumber | 0;\n            if (aEndLineNumber === bEndLineNumber) {\n              const aEndColumn = a2.endColumn | 0;\n              const bEndColumn = b2.endColumn | 0;\n              return aEndColumn - bEndColumn;\n            }\n            return aEndLineNumber - bEndLineNumber;\n          }\n          return aStartColumn - bStartColumn;\n        }\n        return aStartLineNumber - bStartLineNumber;\n      }\n      const aExists = a2 ? 1 : 0;\n      const bExists = b2 ? 1 : 0;\n      return aExists - bExists;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the endPosition and then on the startPosition\n     */\n    static compareRangesUsingEnds(a2, b2) {\n      if (a2.endLineNumber === b2.endLineNumber) {\n        if (a2.endColumn === b2.endColumn) {\n          if (a2.startLineNumber === b2.startLineNumber) {\n            return a2.startColumn - b2.startColumn;\n          }\n          return a2.startLineNumber - b2.startLineNumber;\n        }\n        return a2.endColumn - b2.endColumn;\n      }\n      return a2.endLineNumber - b2.endLineNumber;\n    }\n    /**\n     * Test if the range spans multiple lines.\n     */\n    static spansMultipleLines(range) {\n      return range.endLineNumber > range.startLineNumber;\n    }\n    toJSON() {\n      return this;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arrays.js\n  function equals(one, other, itemEquals = (a2, b2) => a2 === b2) {\n    if (one === other) {\n      return true;\n    }\n    if (!one || !other) {\n      return false;\n    }\n    if (one.length !== other.length) {\n      return false;\n    }\n    for (let i2 = 0, len = one.length; i2 < len; i2++) {\n      if (!itemEquals(one[i2], other[i2])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function* groupAdjacentBy(items, shouldBeGrouped) {\n    let currentGroup;\n    let last;\n    for (const item of items) {\n      if (last !== void 0 && shouldBeGrouped(last, item)) {\n        currentGroup.push(item);\n      } else {\n        if (currentGroup) {\n          yield currentGroup;\n        }\n        currentGroup = [item];\n      }\n      last = item;\n    }\n    if (currentGroup) {\n      yield currentGroup;\n    }\n  }\n  function forEachAdjacent(arr, f5) {\n    for (let i2 = 0; i2 <= arr.length; i2++) {\n      f5(i2 === 0 ? void 0 : arr[i2 - 1], i2 === arr.length ? void 0 : arr[i2]);\n    }\n  }\n  function forEachWithNeighbors(arr, f5) {\n    for (let i2 = 0; i2 < arr.length; i2++) {\n      f5(i2 === 0 ? void 0 : arr[i2 - 1], arr[i2], i2 + 1 === arr.length ? void 0 : arr[i2 + 1]);\n    }\n  }\n  function pushMany(arr, items) {\n    for (const item of items) {\n      arr.push(item);\n    }\n  }\n  var CompareResult;\n  (function(CompareResult2) {\n    function isLessThan(result) {\n      return result < 0;\n    }\n    CompareResult2.isLessThan = isLessThan;\n    function isLessThanOrEqual(result) {\n      return result <= 0;\n    }\n    CompareResult2.isLessThanOrEqual = isLessThanOrEqual;\n    function isGreaterThan(result) {\n      return result > 0;\n    }\n    CompareResult2.isGreaterThan = isGreaterThan;\n    function isNeitherLessOrGreaterThan(result) {\n      return result === 0;\n    }\n    CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan;\n    CompareResult2.greaterThan = 1;\n    CompareResult2.lessThan = -1;\n    CompareResult2.neitherLessOrGreaterThan = 0;\n  })(CompareResult || (CompareResult = {}));\n  function compareBy(selector, comparator) {\n    return (a2, b2) => comparator(selector(a2), selector(b2));\n  }\n  var numberComparator = (a2, b2) => a2 - b2;\n  function reverseOrder(comparator) {\n    return (a2, b2) => -comparator(a2, b2);\n  }\n  var CallbackIterable = class _CallbackIterable {\n    constructor(iterate) {\n      this.iterate = iterate;\n    }\n    toArray() {\n      const result = [];\n      this.iterate((item) => {\n        result.push(item);\n        return true;\n      });\n      return result;\n    }\n    filter(predicate) {\n      return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true));\n    }\n    map(mapFn) {\n      return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item))));\n    }\n    findLast(predicate) {\n      let result;\n      this.iterate((item) => {\n        if (predicate(item)) {\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n    findLastMaxBy(comparator) {\n      let result;\n      let first = true;\n      this.iterate((item) => {\n        if (first || CompareResult.isGreaterThan(comparator(item, result))) {\n          first = false;\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n  };\n  CallbackIterable.empty = new CallbackIterable((_callback) => {\n  });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uint.js\n  function toUint8(v2) {\n    if (v2 < 0) {\n      return 0;\n    }\n    if (v2 > 255) {\n      return 255;\n    }\n    return v2 | 0;\n  }\n  function toUint32(v2) {\n    if (v2 < 0) {\n      return 0;\n    }\n    if (v2 > 4294967295) {\n      return 4294967295;\n    }\n    return v2 | 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js\n  var PrefixSumComputer = class {\n    constructor(values) {\n      this.values = values;\n      this.prefixSum = new Uint32Array(values.length);\n      this.prefixSumValidIndex = new Int32Array(1);\n      this.prefixSumValidIndex[0] = -1;\n    }\n    insertValues(insertIndex, insertValues) {\n      insertIndex = toUint32(insertIndex);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      const insertValuesLen = insertValues.length;\n      if (insertValuesLen === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length + insertValuesLen);\n      this.values.set(oldValues.subarray(0, insertIndex), 0);\n      this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen);\n      this.values.set(insertValues, insertIndex);\n      if (insertIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = insertIndex - 1;\n      }\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    setValue(index2, value2) {\n      index2 = toUint32(index2);\n      value2 = toUint32(value2);\n      if (this.values[index2] === value2) {\n        return false;\n      }\n      this.values[index2] = value2;\n      if (index2 - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = index2 - 1;\n      }\n      return true;\n    }\n    removeValues(startIndex, count) {\n      startIndex = toUint32(startIndex);\n      count = toUint32(count);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      if (startIndex >= oldValues.length) {\n        return false;\n      }\n      const maxCount = oldValues.length - startIndex;\n      if (count >= maxCount) {\n        count = maxCount;\n      }\n      if (count === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length - count);\n      this.values.set(oldValues.subarray(0, startIndex), 0);\n      this.values.set(oldValues.subarray(startIndex + count), startIndex);\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (startIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = startIndex - 1;\n      }\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    getTotalSum() {\n      if (this.values.length === 0) {\n        return 0;\n      }\n      return this._getPrefixSum(this.values.length - 1);\n    }\n    /**\n     * Returns the sum of the first `index + 1` many items.\n     * @returns `SUM(0 <= j <= index, values[j])`.\n     */\n    getPrefixSum(index2) {\n      if (index2 < 0) {\n        return 0;\n      }\n      index2 = toUint32(index2);\n      return this._getPrefixSum(index2);\n    }\n    _getPrefixSum(index2) {\n      if (index2 <= this.prefixSumValidIndex[0]) {\n        return this.prefixSum[index2];\n      }\n      let startIndex = this.prefixSumValidIndex[0] + 1;\n      if (startIndex === 0) {\n        this.prefixSum[0] = this.values[0];\n        startIndex++;\n      }\n      if (index2 >= this.values.length) {\n        index2 = this.values.length - 1;\n      }\n      for (let i2 = startIndex; i2 <= index2; i2++) {\n        this.prefixSum[i2] = this.prefixSum[i2 - 1] + this.values[i2];\n      }\n      this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index2);\n      return this.prefixSum[index2];\n    }\n    getIndexOf(sum) {\n      sum = Math.floor(sum);\n      this.getTotalSum();\n      let low = 0;\n      let high = this.values.length - 1;\n      let mid = 0;\n      let midStop = 0;\n      let midStart = 0;\n      while (low <= high) {\n        mid = low + (high - low) / 2 | 0;\n        midStop = this.prefixSum[mid];\n        midStart = midStop - this.values[mid];\n        if (sum < midStart) {\n          high = mid - 1;\n        } else if (sum >= midStop) {\n          low = mid + 1;\n        } else {\n          break;\n        }\n      }\n      return new PrefixSumIndexOfResult(mid, sum - midStart);\n    }\n  };\n  var PrefixSumIndexOfResult = class {\n    constructor(index2, remainder) {\n      this.index = index2;\n      this.remainder = remainder;\n      this._prefixSumIndexOfResultBrand = void 0;\n      this.index = index2;\n      this.remainder = remainder;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js\n  var MirrorTextModel = class {\n    constructor(uri, lines, eol, versionId) {\n      this._uri = uri;\n      this._lines = lines;\n      this._eol = eol;\n      this._versionId = versionId;\n      this._lineStarts = null;\n      this._cachedTextValue = null;\n    }\n    dispose() {\n      this._lines.length = 0;\n    }\n    get version() {\n      return this._versionId;\n    }\n    getText() {\n      if (this._cachedTextValue === null) {\n        this._cachedTextValue = this._lines.join(this._eol);\n      }\n      return this._cachedTextValue;\n    }\n    onEvents(e5) {\n      if (e5.eol && e5.eol !== this._eol) {\n        this._eol = e5.eol;\n        this._lineStarts = null;\n      }\n      const changes = e5.changes;\n      for (const change of changes) {\n        this._acceptDeleteRange(change.range);\n        this._acceptInsertText(new Position2(change.range.startLineNumber, change.range.startColumn), change.text);\n      }\n      this._versionId = e5.versionId;\n      this._cachedTextValue = null;\n    }\n    _ensureLineStarts() {\n      if (!this._lineStarts) {\n        const eolLength = this._eol.length;\n        const linesLength = this._lines.length;\n        const lineStartValues = new Uint32Array(linesLength);\n        for (let i2 = 0; i2 < linesLength; i2++) {\n          lineStartValues[i2] = this._lines[i2].length + eolLength;\n        }\n        this._lineStarts = new PrefixSumComputer(lineStartValues);\n      }\n    }\n    /**\n     * All changes to a line's text go through this method\n     */\n    _setLineText(lineIndex, newValue) {\n      this._lines[lineIndex] = newValue;\n      if (this._lineStarts) {\n        this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length);\n      }\n    }\n    _acceptDeleteRange(range) {\n      if (range.startLineNumber === range.endLineNumber) {\n        if (range.startColumn === range.endColumn) {\n          return;\n        }\n        this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1));\n        return;\n      }\n      this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1));\n      this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      if (this._lineStarts) {\n        this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      }\n    }\n    _acceptInsertText(position2, insertText) {\n      if (insertText.length === 0) {\n        return;\n      }\n      const insertLines = splitLines(insertText);\n      if (insertLines.length === 1) {\n        this._setLineText(position2.lineNumber - 1, this._lines[position2.lineNumber - 1].substring(0, position2.column - 1) + insertLines[0] + this._lines[position2.lineNumber - 1].substring(position2.column - 1));\n        return;\n      }\n      insertLines[insertLines.length - 1] += this._lines[position2.lineNumber - 1].substring(position2.column - 1);\n      this._setLineText(position2.lineNumber - 1, this._lines[position2.lineNumber - 1].substring(0, position2.column - 1) + insertLines[0]);\n      const newLengths = new Uint32Array(insertLines.length - 1);\n      for (let i2 = 1; i2 < insertLines.length; i2++) {\n        this._lines.splice(position2.lineNumber + i2 - 1, 0, insertLines[i2]);\n        newLengths[i2 - 1] = insertLines[i2].length + this._eol.length;\n      }\n      if (this._lineStarts) {\n        this._lineStarts.insertValues(position2.lineNumber, newLengths);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js\n  var USUAL_WORD_SEPARATORS = \"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";\n  function createWordRegExp(allowInWords = \"\") {\n    let source = \"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";\n    for (const sep2 of USUAL_WORD_SEPARATORS) {\n      if (allowInWords.indexOf(sep2) >= 0) {\n        continue;\n      }\n      source += \"\\\\\" + sep2;\n    }\n    source += \"\\\\s]+)\";\n    return new RegExp(source, \"g\");\n  }\n  var DEFAULT_WORD_REGEXP = createWordRegExp();\n  function ensureValidWordDefinition(wordDefinition) {\n    let result = DEFAULT_WORD_REGEXP;\n    if (wordDefinition && wordDefinition instanceof RegExp) {\n      if (!wordDefinition.global) {\n        let flags = \"g\";\n        if (wordDefinition.ignoreCase) {\n          flags += \"i\";\n        }\n        if (wordDefinition.multiline) {\n          flags += \"m\";\n        }\n        if (wordDefinition.unicode) {\n          flags += \"u\";\n        }\n        result = new RegExp(wordDefinition.source, flags);\n      } else {\n        result = wordDefinition;\n      }\n    }\n    result.lastIndex = 0;\n    return result;\n  }\n  var _defaultConfig = new LinkedList();\n  _defaultConfig.unshift({\n    maxLen: 1e3,\n    windowSize: 15,\n    timeBudget: 150\n  });\n  function getWordAtText(column, wordDefinition, text2, textOffset, config) {\n    wordDefinition = ensureValidWordDefinition(wordDefinition);\n    if (!config) {\n      config = Iterable.first(_defaultConfig);\n    }\n    if (text2.length > config.maxLen) {\n      let start = column - config.maxLen / 2;\n      if (start < 0) {\n        start = 0;\n      } else {\n        textOffset += start;\n      }\n      text2 = text2.substring(start, column + config.maxLen / 2);\n      return getWordAtText(column, wordDefinition, text2, textOffset, config);\n    }\n    const t1 = Date.now();\n    const pos = column - 1 - textOffset;\n    let prevRegexIndex = -1;\n    let match = null;\n    for (let i2 = 1; ; i2++) {\n      if (Date.now() - t1 >= config.timeBudget) {\n        break;\n      }\n      const regexIndex = pos - config.windowSize * i2;\n      wordDefinition.lastIndex = Math.max(0, regexIndex);\n      const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text2, pos, prevRegexIndex);\n      if (!thisMatch && match) {\n        break;\n      }\n      match = thisMatch;\n      if (regexIndex <= 0) {\n        break;\n      }\n      prevRegexIndex = regexIndex;\n    }\n    if (match) {\n      const result = {\n        word: match[0],\n        startColumn: textOffset + 1 + match.index,\n        endColumn: textOffset + 1 + match.index + match[0].length\n      };\n      wordDefinition.lastIndex = 0;\n      return result;\n    }\n    return null;\n  }\n  function _findRegexMatchEnclosingPosition(wordDefinition, text2, pos, stopPos) {\n    let match;\n    while (match = wordDefinition.exec(text2)) {\n      const matchIndex = match.index || 0;\n      if (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\n        return match;\n      } else if (stopPos > 0 && matchIndex > stopPos) {\n        return null;\n      }\n    }\n    return null;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js\n  var CharacterClassifier = class _CharacterClassifier {\n    constructor(_defaultValue) {\n      const defaultValue = toUint8(_defaultValue);\n      this._defaultValue = defaultValue;\n      this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue);\n      this._map = /* @__PURE__ */ new Map();\n    }\n    static _createAsciiMap(defaultValue) {\n      const asciiMap = new Uint8Array(256);\n      asciiMap.fill(defaultValue);\n      return asciiMap;\n    }\n    set(charCode, _value) {\n      const value2 = toUint8(_value);\n      if (charCode >= 0 && charCode < 256) {\n        this._asciiMap[charCode] = value2;\n      } else {\n        this._map.set(charCode, value2);\n      }\n    }\n    get(charCode) {\n      if (charCode >= 0 && charCode < 256) {\n        return this._asciiMap[charCode];\n      } else {\n        return this._map.get(charCode) || this._defaultValue;\n      }\n    }\n    clear() {\n      this._asciiMap.fill(this._defaultValue);\n      this._map.clear();\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js\n  var Uint8Matrix = class {\n    constructor(rows, cols, defaultValue) {\n      const data = new Uint8Array(rows * cols);\n      for (let i2 = 0, len = rows * cols; i2 < len; i2++) {\n        data[i2] = defaultValue;\n      }\n      this._data = data;\n      this.rows = rows;\n      this.cols = cols;\n    }\n    get(row, col) {\n      return this._data[row * this.cols + col];\n    }\n    set(row, col, value2) {\n      this._data[row * this.cols + col] = value2;\n    }\n  };\n  var StateMachine = class {\n    constructor(edges) {\n      let maxCharCode = 0;\n      let maxState = 0;\n      for (let i2 = 0, len = edges.length; i2 < len; i2++) {\n        const [from, chCode, to] = edges[i2];\n        if (chCode > maxCharCode) {\n          maxCharCode = chCode;\n        }\n        if (from > maxState) {\n          maxState = from;\n        }\n        if (to > maxState) {\n          maxState = to;\n        }\n      }\n      maxCharCode++;\n      maxState++;\n      const states2 = new Uint8Matrix(\n        maxState,\n        maxCharCode,\n        0\n        /* State.Invalid */\n      );\n      for (let i2 = 0, len = edges.length; i2 < len; i2++) {\n        const [from, chCode, to] = edges[i2];\n        states2.set(from, chCode, to);\n      }\n      this._states = states2;\n      this._maxCharCode = maxCharCode;\n    }\n    nextState(currentState, chCode) {\n      if (chCode < 0 || chCode >= this._maxCharCode) {\n        return 0;\n      }\n      return this._states.get(currentState, chCode);\n    }\n  };\n  var _stateMachine = null;\n  function getStateMachine() {\n    if (_stateMachine === null) {\n      _stateMachine = new StateMachine([\n        [\n          1,\n          104,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          72,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          102,\n          6\n          /* State.F */\n        ],\n        [\n          1,\n          70,\n          6\n          /* State.F */\n        ],\n        [\n          2,\n          116,\n          3\n          /* State.HT */\n        ],\n        [\n          2,\n          84,\n          3\n          /* State.HT */\n        ],\n        [\n          3,\n          116,\n          4\n          /* State.HTT */\n        ],\n        [\n          3,\n          84,\n          4\n          /* State.HTT */\n        ],\n        [\n          4,\n          112,\n          5\n          /* State.HTTP */\n        ],\n        [\n          4,\n          80,\n          5\n          /* State.HTTP */\n        ],\n        [\n          5,\n          115,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          83,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          6,\n          105,\n          7\n          /* State.FI */\n        ],\n        [\n          6,\n          73,\n          7\n          /* State.FI */\n        ],\n        [\n          7,\n          108,\n          8\n          /* State.FIL */\n        ],\n        [\n          7,\n          76,\n          8\n          /* State.FIL */\n        ],\n        [\n          8,\n          101,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          8,\n          69,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          9,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          10,\n          47,\n          11\n          /* State.AlmostThere */\n        ],\n        [\n          11,\n          47,\n          12\n          /* State.End */\n        ]\n      ]);\n    }\n    return _stateMachine;\n  }\n  var _classifier = null;\n  function getClassifier() {\n    if (_classifier === null) {\n      _classifier = new CharacterClassifier(\n        0\n        /* CharacterClass.None */\n      );\n      const FORCE_TERMINATION_CHARACTERS = ` \t<>'\"\\u3001\\u3002\\uFF61\\uFF64\\uFF0C\\uFF0E\\uFF1A\\uFF1B\\u2018\\u3008\\u300C\\u300E\\u3014\\uFF08\\uFF3B\\uFF5B\\uFF62\\uFF63\\uFF5D\\uFF3D\\uFF09\\u3015\\u300F\\u300D\\u3009\\u2019\\uFF40\\uFF5E\\u2026`;\n      for (let i2 = 0; i2 < FORCE_TERMINATION_CHARACTERS.length; i2++) {\n        _classifier.set(\n          FORCE_TERMINATION_CHARACTERS.charCodeAt(i2),\n          1\n          /* CharacterClass.ForceTermination */\n        );\n      }\n      const CANNOT_END_WITH_CHARACTERS = \".,;:\";\n      for (let i2 = 0; i2 < CANNOT_END_WITH_CHARACTERS.length; i2++) {\n        _classifier.set(\n          CANNOT_END_WITH_CHARACTERS.charCodeAt(i2),\n          2\n          /* CharacterClass.CannotEndIn */\n        );\n      }\n    }\n    return _classifier;\n  }\n  var LinkComputer = class _LinkComputer {\n    static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) {\n      let lastIncludedCharIndex = linkEndIndex - 1;\n      do {\n        const chCode = line.charCodeAt(lastIncludedCharIndex);\n        const chClass = classifier.get(chCode);\n        if (chClass !== 2) {\n          break;\n        }\n        lastIncludedCharIndex--;\n      } while (lastIncludedCharIndex > linkBeginIndex);\n      if (linkBeginIndex > 0) {\n        const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);\n        const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);\n        if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) {\n          lastIncludedCharIndex--;\n        }\n      }\n      return {\n        range: {\n          startLineNumber: lineNumber,\n          startColumn: linkBeginIndex + 1,\n          endLineNumber: lineNumber,\n          endColumn: lastIncludedCharIndex + 2\n        },\n        url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1)\n      };\n    }\n    static computeLinks(model, stateMachine = getStateMachine()) {\n      const classifier = getClassifier();\n      const result = [];\n      for (let i2 = 1, lineCount = model.getLineCount(); i2 <= lineCount; i2++) {\n        const line = model.getLineContent(i2);\n        const len = line.length;\n        let j2 = 0;\n        let linkBeginIndex = 0;\n        let linkBeginChCode = 0;\n        let state = 1;\n        let hasOpenParens = false;\n        let hasOpenSquareBracket = false;\n        let inSquareBrackets = false;\n        let hasOpenCurlyBracket = false;\n        while (j2 < len) {\n          let resetStateMachine = false;\n          const chCode = line.charCodeAt(j2);\n          if (state === 13) {\n            let chClass;\n            switch (chCode) {\n              case 40:\n                hasOpenParens = true;\n                chClass = 0;\n                break;\n              case 41:\n                chClass = hasOpenParens ? 0 : 1;\n                break;\n              case 91:\n                inSquareBrackets = true;\n                hasOpenSquareBracket = true;\n                chClass = 0;\n                break;\n              case 93:\n                inSquareBrackets = false;\n                chClass = hasOpenSquareBracket ? 0 : 1;\n                break;\n              case 123:\n                hasOpenCurlyBracket = true;\n                chClass = 0;\n                break;\n              case 125:\n                chClass = hasOpenCurlyBracket ? 0 : 1;\n                break;\n              case 39:\n              case 34:\n              case 96:\n                if (linkBeginChCode === chCode) {\n                  chClass = 1;\n                } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) {\n                  chClass = 0;\n                } else {\n                  chClass = 1;\n                }\n                break;\n              case 42:\n                chClass = linkBeginChCode === 42 ? 1 : 0;\n                break;\n              case 124:\n                chClass = linkBeginChCode === 124 ? 1 : 0;\n                break;\n              case 32:\n                chClass = inSquareBrackets ? 0 : 1;\n                break;\n              default:\n                chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              result.push(_LinkComputer._createLink(classifier, line, i2, linkBeginIndex, j2));\n              resetStateMachine = true;\n            }\n          } else if (state === 12) {\n            let chClass;\n            if (chCode === 91) {\n              hasOpenSquareBracket = true;\n              chClass = 0;\n            } else {\n              chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              resetStateMachine = true;\n            } else {\n              state = 13;\n            }\n          } else {\n            state = stateMachine.nextState(state, chCode);\n            if (state === 0) {\n              resetStateMachine = true;\n            }\n          }\n          if (resetStateMachine) {\n            state = 1;\n            hasOpenParens = false;\n            hasOpenSquareBracket = false;\n            hasOpenCurlyBracket = false;\n            linkBeginIndex = j2 + 1;\n            linkBeginChCode = chCode;\n          }\n          j2++;\n        }\n        if (state === 13) {\n          result.push(_LinkComputer._createLink(classifier, line, i2, linkBeginIndex, len));\n        }\n      }\n      return result;\n    }\n  };\n  function computeLinks(model) {\n    if (!model || typeof model.getLineCount !== \"function\" || typeof model.getLineContent !== \"function\") {\n      return [];\n    }\n    return LinkComputer.computeLinks(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js\n  var BasicInplaceReplace = class {\n    constructor() {\n      this._defaultValueSet = [\n        [\"true\", \"false\"],\n        [\"True\", \"False\"],\n        [\"Private\", \"Public\", \"Friend\", \"ReadOnly\", \"Partial\", \"Protected\", \"WriteOnly\"],\n        [\"public\", \"protected\", \"private\"]\n      ];\n    }\n    navigateValueSet(range1, text1, range2, text2, up) {\n      if (range1 && text1) {\n        const result = this.doNavigateValueSet(text1, up);\n        if (result) {\n          return {\n            range: range1,\n            value: result\n          };\n        }\n      }\n      if (range2 && text2) {\n        const result = this.doNavigateValueSet(text2, up);\n        if (result) {\n          return {\n            range: range2,\n            value: result\n          };\n        }\n      }\n      return null;\n    }\n    doNavigateValueSet(text2, up) {\n      const numberResult = this.numberReplace(text2, up);\n      if (numberResult !== null) {\n        return numberResult;\n      }\n      return this.textReplace(text2, up);\n    }\n    numberReplace(value2, up) {\n      const precision = Math.pow(10, value2.length - (value2.lastIndexOf(\".\") + 1));\n      let n1 = Number(value2);\n      const n2 = parseFloat(value2);\n      if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\n        if (n1 === 0 && !up) {\n          return null;\n        } else {\n          n1 = Math.floor(n1 * precision);\n          n1 += up ? precision : -precision;\n          return String(n1 / precision);\n        }\n      }\n      return null;\n    }\n    textReplace(value2, up) {\n      return this.valueSetsReplace(this._defaultValueSet, value2, up);\n    }\n    valueSetsReplace(valueSets, value2, up) {\n      let result = null;\n      for (let i2 = 0, len = valueSets.length; result === null && i2 < len; i2++) {\n        result = this.valueSetReplace(valueSets[i2], value2, up);\n      }\n      return result;\n    }\n    valueSetReplace(valueSet, value2, up) {\n      let idx = valueSet.indexOf(value2);\n      if (idx >= 0) {\n        idx += up ? 1 : -1;\n        if (idx < 0) {\n          idx = valueSet.length - 1;\n        } else {\n          idx %= valueSet.length;\n        }\n        return valueSet[idx];\n      }\n      return null;\n    }\n  };\n  BasicInplaceReplace.INSTANCE = new BasicInplaceReplace();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cancellation.js\n  var shortcutEvent = Object.freeze(function(callback, context) {\n    const handle = setTimeout(callback.bind(context), 0);\n    return { dispose() {\n      clearTimeout(handle);\n    } };\n  });\n  var CancellationToken;\n  (function(CancellationToken2) {\n    function isCancellationToken(thing) {\n      if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) {\n        return true;\n      }\n      if (thing instanceof MutableToken) {\n        return true;\n      }\n      if (!thing || typeof thing !== \"object\") {\n        return false;\n      }\n      return typeof thing.isCancellationRequested === \"boolean\" && typeof thing.onCancellationRequested === \"function\";\n    }\n    CancellationToken2.isCancellationToken = isCancellationToken;\n    CancellationToken2.None = Object.freeze({\n      isCancellationRequested: false,\n      onCancellationRequested: Event.None\n    });\n    CancellationToken2.Cancelled = Object.freeze({\n      isCancellationRequested: true,\n      onCancellationRequested: shortcutEvent\n    });\n  })(CancellationToken || (CancellationToken = {}));\n  var MutableToken = class {\n    constructor() {\n      this._isCancelled = false;\n      this._emitter = null;\n    }\n    cancel() {\n      if (!this._isCancelled) {\n        this._isCancelled = true;\n        if (this._emitter) {\n          this._emitter.fire(void 0);\n          this.dispose();\n        }\n      }\n    }\n    get isCancellationRequested() {\n      return this._isCancelled;\n    }\n    get onCancellationRequested() {\n      if (this._isCancelled) {\n        return shortcutEvent;\n      }\n      if (!this._emitter) {\n        this._emitter = new Emitter();\n      }\n      return this._emitter.event;\n    }\n    dispose() {\n      if (this._emitter) {\n        this._emitter.dispose();\n        this._emitter = null;\n      }\n    }\n  };\n  var CancellationTokenSource = class {\n    constructor(parent) {\n      this._token = void 0;\n      this._parentListener = void 0;\n      this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);\n    }\n    get token() {\n      if (!this._token) {\n        this._token = new MutableToken();\n      }\n      return this._token;\n    }\n    cancel() {\n      if (!this._token) {\n        this._token = CancellationToken.Cancelled;\n      } else if (this._token instanceof MutableToken) {\n        this._token.cancel();\n      }\n    }\n    dispose(cancel = false) {\n      var _a4;\n      if (cancel) {\n        this.cancel();\n      }\n      (_a4 = this._parentListener) === null || _a4 === void 0 ? void 0 : _a4.dispose();\n      if (!this._token) {\n        this._token = CancellationToken.None;\n      } else if (this._token instanceof MutableToken) {\n        this._token.dispose();\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/keyCodes.js\n  var KeyCodeStrMap = class {\n    constructor() {\n      this._keyCodeToStr = [];\n      this._strToKeyCode = /* @__PURE__ */ Object.create(null);\n    }\n    define(keyCode, str) {\n      this._keyCodeToStr[keyCode] = str;\n      this._strToKeyCode[str.toLowerCase()] = keyCode;\n    }\n    keyCodeToStr(keyCode) {\n      return this._keyCodeToStr[keyCode];\n    }\n    strToKeyCode(str) {\n      return this._strToKeyCode[str.toLowerCase()] || 0;\n    }\n  };\n  var uiMap = new KeyCodeStrMap();\n  var userSettingsUSMap = new KeyCodeStrMap();\n  var userSettingsGeneralMap = new KeyCodeStrMap();\n  var EVENT_KEY_CODE_MAP = new Array(230);\n  var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {};\n  var scanCodeIntToStr = [];\n  var scanCodeStrToInt = /* @__PURE__ */ Object.create(null);\n  var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null);\n  var IMMUTABLE_CODE_TO_KEY_CODE = [];\n  var IMMUTABLE_KEY_CODE_TO_CODE = [];\n  for (let i2 = 0; i2 <= 193; i2++) {\n    IMMUTABLE_CODE_TO_KEY_CODE[i2] = -1;\n  }\n  for (let i2 = 0; i2 <= 132; i2++) {\n    IMMUTABLE_KEY_CODE_TO_CODE[i2] = -1;\n  }\n  (function() {\n    const empty = \"\";\n    const mappings = [\n      // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel\n      [1, 0, \"None\", 0, \"unknown\", 0, \"VK_UNKNOWN\", empty, empty],\n      [1, 1, \"Hyper\", 0, empty, 0, empty, empty, empty],\n      [1, 2, \"Super\", 0, empty, 0, empty, empty, empty],\n      [1, 3, \"Fn\", 0, empty, 0, empty, empty, empty],\n      [1, 4, \"FnLock\", 0, empty, 0, empty, empty, empty],\n      [1, 5, \"Suspend\", 0, empty, 0, empty, empty, empty],\n      [1, 6, \"Resume\", 0, empty, 0, empty, empty, empty],\n      [1, 7, \"Turbo\", 0, empty, 0, empty, empty, empty],\n      [1, 8, \"Sleep\", 0, empty, 0, \"VK_SLEEP\", empty, empty],\n      [1, 9, \"WakeUp\", 0, empty, 0, empty, empty, empty],\n      [0, 10, \"KeyA\", 31, \"A\", 65, \"VK_A\", empty, empty],\n      [0, 11, \"KeyB\", 32, \"B\", 66, \"VK_B\", empty, empty],\n      [0, 12, \"KeyC\", 33, \"C\", 67, \"VK_C\", empty, empty],\n      [0, 13, \"KeyD\", 34, \"D\", 68, \"VK_D\", empty, empty],\n      [0, 14, \"KeyE\", 35, \"E\", 69, \"VK_E\", empty, empty],\n      [0, 15, \"KeyF\", 36, \"F\", 70, \"VK_F\", empty, empty],\n      [0, 16, \"KeyG\", 37, \"G\", 71, \"VK_G\", empty, empty],\n      [0, 17, \"KeyH\", 38, \"H\", 72, \"VK_H\", empty, empty],\n      [0, 18, \"KeyI\", 39, \"I\", 73, \"VK_I\", empty, empty],\n      [0, 19, \"KeyJ\", 40, \"J\", 74, \"VK_J\", empty, empty],\n      [0, 20, \"KeyK\", 41, \"K\", 75, \"VK_K\", empty, empty],\n      [0, 21, \"KeyL\", 42, \"L\", 76, \"VK_L\", empty, empty],\n      [0, 22, \"KeyM\", 43, \"M\", 77, \"VK_M\", empty, empty],\n      [0, 23, \"KeyN\", 44, \"N\", 78, \"VK_N\", empty, empty],\n      [0, 24, \"KeyO\", 45, \"O\", 79, \"VK_O\", empty, empty],\n      [0, 25, \"KeyP\", 46, \"P\", 80, \"VK_P\", empty, empty],\n      [0, 26, \"KeyQ\", 47, \"Q\", 81, \"VK_Q\", empty, empty],\n      [0, 27, \"KeyR\", 48, \"R\", 82, \"VK_R\", empty, empty],\n      [0, 28, \"KeyS\", 49, \"S\", 83, \"VK_S\", empty, empty],\n      [0, 29, \"KeyT\", 50, \"T\", 84, \"VK_T\", empty, empty],\n      [0, 30, \"KeyU\", 51, \"U\", 85, \"VK_U\", empty, empty],\n      [0, 31, \"KeyV\", 52, \"V\", 86, \"VK_V\", empty, empty],\n      [0, 32, \"KeyW\", 53, \"W\", 87, \"VK_W\", empty, empty],\n      [0, 33, \"KeyX\", 54, \"X\", 88, \"VK_X\", empty, empty],\n      [0, 34, \"KeyY\", 55, \"Y\", 89, \"VK_Y\", empty, empty],\n      [0, 35, \"KeyZ\", 56, \"Z\", 90, \"VK_Z\", empty, empty],\n      [0, 36, \"Digit1\", 22, \"1\", 49, \"VK_1\", empty, empty],\n      [0, 37, \"Digit2\", 23, \"2\", 50, \"VK_2\", empty, empty],\n      [0, 38, \"Digit3\", 24, \"3\", 51, \"VK_3\", empty, empty],\n      [0, 39, \"Digit4\", 25, \"4\", 52, \"VK_4\", empty, empty],\n      [0, 40, \"Digit5\", 26, \"5\", 53, \"VK_5\", empty, empty],\n      [0, 41, \"Digit6\", 27, \"6\", 54, \"VK_6\", empty, empty],\n      [0, 42, \"Digit7\", 28, \"7\", 55, \"VK_7\", empty, empty],\n      [0, 43, \"Digit8\", 29, \"8\", 56, \"VK_8\", empty, empty],\n      [0, 44, \"Digit9\", 30, \"9\", 57, \"VK_9\", empty, empty],\n      [0, 45, \"Digit0\", 21, \"0\", 48, \"VK_0\", empty, empty],\n      [1, 46, \"Enter\", 3, \"Enter\", 13, \"VK_RETURN\", empty, empty],\n      [1, 47, \"Escape\", 9, \"Escape\", 27, \"VK_ESCAPE\", empty, empty],\n      [1, 48, \"Backspace\", 1, \"Backspace\", 8, \"VK_BACK\", empty, empty],\n      [1, 49, \"Tab\", 2, \"Tab\", 9, \"VK_TAB\", empty, empty],\n      [1, 50, \"Space\", 10, \"Space\", 32, \"VK_SPACE\", empty, empty],\n      [0, 51, \"Minus\", 88, \"-\", 189, \"VK_OEM_MINUS\", \"-\", \"OEM_MINUS\"],\n      [0, 52, \"Equal\", 86, \"=\", 187, \"VK_OEM_PLUS\", \"=\", \"OEM_PLUS\"],\n      [0, 53, \"BracketLeft\", 92, \"[\", 219, \"VK_OEM_4\", \"[\", \"OEM_4\"],\n      [0, 54, \"BracketRight\", 94, \"]\", 221, \"VK_OEM_6\", \"]\", \"OEM_6\"],\n      [0, 55, \"Backslash\", 93, \"\\\\\", 220, \"VK_OEM_5\", \"\\\\\", \"OEM_5\"],\n      [0, 56, \"IntlHash\", 0, empty, 0, empty, empty, empty],\n      // has been dropped from the w3c spec\n      [0, 57, \"Semicolon\", 85, \";\", 186, \"VK_OEM_1\", \";\", \"OEM_1\"],\n      [0, 58, \"Quote\", 95, \"'\", 222, \"VK_OEM_7\", \"'\", \"OEM_7\"],\n      [0, 59, \"Backquote\", 91, \"`\", 192, \"VK_OEM_3\", \"`\", \"OEM_3\"],\n      [0, 60, \"Comma\", 87, \",\", 188, \"VK_OEM_COMMA\", \",\", \"OEM_COMMA\"],\n      [0, 61, \"Period\", 89, \".\", 190, \"VK_OEM_PERIOD\", \".\", \"OEM_PERIOD\"],\n      [0, 62, \"Slash\", 90, \"/\", 191, \"VK_OEM_2\", \"/\", \"OEM_2\"],\n      [1, 63, \"CapsLock\", 8, \"CapsLock\", 20, \"VK_CAPITAL\", empty, empty],\n      [1, 64, \"F1\", 59, \"F1\", 112, \"VK_F1\", empty, empty],\n      [1, 65, \"F2\", 60, \"F2\", 113, \"VK_F2\", empty, empty],\n      [1, 66, \"F3\", 61, \"F3\", 114, \"VK_F3\", empty, empty],\n      [1, 67, \"F4\", 62, \"F4\", 115, \"VK_F4\", empty, empty],\n      [1, 68, \"F5\", 63, \"F5\", 116, \"VK_F5\", empty, empty],\n      [1, 69, \"F6\", 64, \"F6\", 117, \"VK_F6\", empty, empty],\n      [1, 70, \"F7\", 65, \"F7\", 118, \"VK_F7\", empty, empty],\n      [1, 71, \"F8\", 66, \"F8\", 119, \"VK_F8\", empty, empty],\n      [1, 72, \"F9\", 67, \"F9\", 120, \"VK_F9\", empty, empty],\n      [1, 73, \"F10\", 68, \"F10\", 121, \"VK_F10\", empty, empty],\n      [1, 74, \"F11\", 69, \"F11\", 122, \"VK_F11\", empty, empty],\n      [1, 75, \"F12\", 70, \"F12\", 123, \"VK_F12\", empty, empty],\n      [1, 76, \"PrintScreen\", 0, empty, 0, empty, empty, empty],\n      [1, 77, \"ScrollLock\", 84, \"ScrollLock\", 145, \"VK_SCROLL\", empty, empty],\n      [1, 78, \"Pause\", 7, \"PauseBreak\", 19, \"VK_PAUSE\", empty, empty],\n      [1, 79, \"Insert\", 19, \"Insert\", 45, \"VK_INSERT\", empty, empty],\n      [1, 80, \"Home\", 14, \"Home\", 36, \"VK_HOME\", empty, empty],\n      [1, 81, \"PageUp\", 11, \"PageUp\", 33, \"VK_PRIOR\", empty, empty],\n      [1, 82, \"Delete\", 20, \"Delete\", 46, \"VK_DELETE\", empty, empty],\n      [1, 83, \"End\", 13, \"End\", 35, \"VK_END\", empty, empty],\n      [1, 84, \"PageDown\", 12, \"PageDown\", 34, \"VK_NEXT\", empty, empty],\n      [1, 85, \"ArrowRight\", 17, \"RightArrow\", 39, \"VK_RIGHT\", \"Right\", empty],\n      [1, 86, \"ArrowLeft\", 15, \"LeftArrow\", 37, \"VK_LEFT\", \"Left\", empty],\n      [1, 87, \"ArrowDown\", 18, \"DownArrow\", 40, \"VK_DOWN\", \"Down\", empty],\n      [1, 88, \"ArrowUp\", 16, \"UpArrow\", 38, \"VK_UP\", \"Up\", empty],\n      [1, 89, \"NumLock\", 83, \"NumLock\", 144, \"VK_NUMLOCK\", empty, empty],\n      [1, 90, \"NumpadDivide\", 113, \"NumPad_Divide\", 111, \"VK_DIVIDE\", empty, empty],\n      [1, 91, \"NumpadMultiply\", 108, \"NumPad_Multiply\", 106, \"VK_MULTIPLY\", empty, empty],\n      [1, 92, \"NumpadSubtract\", 111, \"NumPad_Subtract\", 109, \"VK_SUBTRACT\", empty, empty],\n      [1, 93, \"NumpadAdd\", 109, \"NumPad_Add\", 107, \"VK_ADD\", empty, empty],\n      [1, 94, \"NumpadEnter\", 3, empty, 0, empty, empty, empty],\n      [1, 95, \"Numpad1\", 99, \"NumPad1\", 97, \"VK_NUMPAD1\", empty, empty],\n      [1, 96, \"Numpad2\", 100, \"NumPad2\", 98, \"VK_NUMPAD2\", empty, empty],\n      [1, 97, \"Numpad3\", 101, \"NumPad3\", 99, \"VK_NUMPAD3\", empty, empty],\n      [1, 98, \"Numpad4\", 102, \"NumPad4\", 100, \"VK_NUMPAD4\", empty, empty],\n      [1, 99, \"Numpad5\", 103, \"NumPad5\", 101, \"VK_NUMPAD5\", empty, empty],\n      [1, 100, \"Numpad6\", 104, \"NumPad6\", 102, \"VK_NUMPAD6\", empty, empty],\n      [1, 101, \"Numpad7\", 105, \"NumPad7\", 103, \"VK_NUMPAD7\", empty, empty],\n      [1, 102, \"Numpad8\", 106, \"NumPad8\", 104, \"VK_NUMPAD8\", empty, empty],\n      [1, 103, \"Numpad9\", 107, \"NumPad9\", 105, \"VK_NUMPAD9\", empty, empty],\n      [1, 104, \"Numpad0\", 98, \"NumPad0\", 96, \"VK_NUMPAD0\", empty, empty],\n      [1, 105, \"NumpadDecimal\", 112, \"NumPad_Decimal\", 110, \"VK_DECIMAL\", empty, empty],\n      [0, 106, \"IntlBackslash\", 97, \"OEM_102\", 226, \"VK_OEM_102\", empty, empty],\n      [1, 107, \"ContextMenu\", 58, \"ContextMenu\", 93, empty, empty, empty],\n      [1, 108, \"Power\", 0, empty, 0, empty, empty, empty],\n      [1, 109, \"NumpadEqual\", 0, empty, 0, empty, empty, empty],\n      [1, 110, \"F13\", 71, \"F13\", 124, \"VK_F13\", empty, empty],\n      [1, 111, \"F14\", 72, \"F14\", 125, \"VK_F14\", empty, empty],\n      [1, 112, \"F15\", 73, \"F15\", 126, \"VK_F15\", empty, empty],\n      [1, 113, \"F16\", 74, \"F16\", 127, \"VK_F16\", empty, empty],\n      [1, 114, \"F17\", 75, \"F17\", 128, \"VK_F17\", empty, empty],\n      [1, 115, \"F18\", 76, \"F18\", 129, \"VK_F18\", empty, empty],\n      [1, 116, \"F19\", 77, \"F19\", 130, \"VK_F19\", empty, empty],\n      [1, 117, \"F20\", 78, \"F20\", 131, \"VK_F20\", empty, empty],\n      [1, 118, \"F21\", 79, \"F21\", 132, \"VK_F21\", empty, empty],\n      [1, 119, \"F22\", 80, \"F22\", 133, \"VK_F22\", empty, empty],\n      [1, 120, \"F23\", 81, \"F23\", 134, \"VK_F23\", empty, empty],\n      [1, 121, \"F24\", 82, \"F24\", 135, \"VK_F24\", empty, empty],\n      [1, 122, \"Open\", 0, empty, 0, empty, empty, empty],\n      [1, 123, \"Help\", 0, empty, 0, empty, empty, empty],\n      [1, 124, \"Select\", 0, empty, 0, empty, empty, empty],\n      [1, 125, \"Again\", 0, empty, 0, empty, empty, empty],\n      [1, 126, \"Undo\", 0, empty, 0, empty, empty, empty],\n      [1, 127, \"Cut\", 0, empty, 0, empty, empty, empty],\n      [1, 128, \"Copy\", 0, empty, 0, empty, empty, empty],\n      [1, 129, \"Paste\", 0, empty, 0, empty, empty, empty],\n      [1, 130, \"Find\", 0, empty, 0, empty, empty, empty],\n      [1, 131, \"AudioVolumeMute\", 117, \"AudioVolumeMute\", 173, \"VK_VOLUME_MUTE\", empty, empty],\n      [1, 132, \"AudioVolumeUp\", 118, \"AudioVolumeUp\", 175, \"VK_VOLUME_UP\", empty, empty],\n      [1, 133, \"AudioVolumeDown\", 119, \"AudioVolumeDown\", 174, \"VK_VOLUME_DOWN\", empty, empty],\n      [1, 134, \"NumpadComma\", 110, \"NumPad_Separator\", 108, \"VK_SEPARATOR\", empty, empty],\n      [0, 135, \"IntlRo\", 115, \"ABNT_C1\", 193, \"VK_ABNT_C1\", empty, empty],\n      [1, 136, \"KanaMode\", 0, empty, 0, empty, empty, empty],\n      [0, 137, \"IntlYen\", 0, empty, 0, empty, empty, empty],\n      [1, 138, \"Convert\", 0, empty, 0, empty, empty, empty],\n      [1, 139, \"NonConvert\", 0, empty, 0, empty, empty, empty],\n      [1, 140, \"Lang1\", 0, empty, 0, empty, empty, empty],\n      [1, 141, \"Lang2\", 0, empty, 0, empty, empty, empty],\n      [1, 142, \"Lang3\", 0, empty, 0, empty, empty, empty],\n      [1, 143, \"Lang4\", 0, empty, 0, empty, empty, empty],\n      [1, 144, \"Lang5\", 0, empty, 0, empty, empty, empty],\n      [1, 145, \"Abort\", 0, empty, 0, empty, empty, empty],\n      [1, 146, \"Props\", 0, empty, 0, empty, empty, empty],\n      [1, 147, \"NumpadParenLeft\", 0, empty, 0, empty, empty, empty],\n      [1, 148, \"NumpadParenRight\", 0, empty, 0, empty, empty, empty],\n      [1, 149, \"NumpadBackspace\", 0, empty, 0, empty, empty, empty],\n      [1, 150, \"NumpadMemoryStore\", 0, empty, 0, empty, empty, empty],\n      [1, 151, \"NumpadMemoryRecall\", 0, empty, 0, empty, empty, empty],\n      [1, 152, \"NumpadMemoryClear\", 0, empty, 0, empty, empty, empty],\n      [1, 153, \"NumpadMemoryAdd\", 0, empty, 0, empty, empty, empty],\n      [1, 154, \"NumpadMemorySubtract\", 0, empty, 0, empty, empty, empty],\n      [1, 155, \"NumpadClear\", 131, \"Clear\", 12, \"VK_CLEAR\", empty, empty],\n      [1, 156, \"NumpadClearEntry\", 0, empty, 0, empty, empty, empty],\n      [1, 0, empty, 5, \"Ctrl\", 17, \"VK_CONTROL\", empty, empty],\n      [1, 0, empty, 4, \"Shift\", 16, \"VK_SHIFT\", empty, empty],\n      [1, 0, empty, 6, \"Alt\", 18, \"VK_MENU\", empty, empty],\n      [1, 0, empty, 57, \"Meta\", 91, \"VK_COMMAND\", empty, empty],\n      [1, 157, \"ControlLeft\", 5, empty, 0, \"VK_LCONTROL\", empty, empty],\n      [1, 158, \"ShiftLeft\", 4, empty, 0, \"VK_LSHIFT\", empty, empty],\n      [1, 159, \"AltLeft\", 6, empty, 0, \"VK_LMENU\", empty, empty],\n      [1, 160, \"MetaLeft\", 57, empty, 0, \"VK_LWIN\", empty, empty],\n      [1, 161, \"ControlRight\", 5, empty, 0, \"VK_RCONTROL\", empty, empty],\n      [1, 162, \"ShiftRight\", 4, empty, 0, \"VK_RSHIFT\", empty, empty],\n      [1, 163, \"AltRight\", 6, empty, 0, \"VK_RMENU\", empty, empty],\n      [1, 164, \"MetaRight\", 57, empty, 0, \"VK_RWIN\", empty, empty],\n      [1, 165, \"BrightnessUp\", 0, empty, 0, empty, empty, empty],\n      [1, 166, \"BrightnessDown\", 0, empty, 0, empty, empty, empty],\n      [1, 167, \"MediaPlay\", 0, empty, 0, empty, empty, empty],\n      [1, 168, \"MediaRecord\", 0, empty, 0, empty, empty, empty],\n      [1, 169, \"MediaFastForward\", 0, empty, 0, empty, empty, empty],\n      [1, 170, \"MediaRewind\", 0, empty, 0, empty, empty, empty],\n      [1, 171, \"MediaTrackNext\", 124, \"MediaTrackNext\", 176, \"VK_MEDIA_NEXT_TRACK\", empty, empty],\n      [1, 172, \"MediaTrackPrevious\", 125, \"MediaTrackPrevious\", 177, \"VK_MEDIA_PREV_TRACK\", empty, empty],\n      [1, 173, \"MediaStop\", 126, \"MediaStop\", 178, \"VK_MEDIA_STOP\", empty, empty],\n      [1, 174, \"Eject\", 0, empty, 0, empty, empty, empty],\n      [1, 175, \"MediaPlayPause\", 127, \"MediaPlayPause\", 179, \"VK_MEDIA_PLAY_PAUSE\", empty, empty],\n      [1, 176, \"MediaSelect\", 128, \"LaunchMediaPlayer\", 181, \"VK_MEDIA_LAUNCH_MEDIA_SELECT\", empty, empty],\n      [1, 177, \"LaunchMail\", 129, \"LaunchMail\", 180, \"VK_MEDIA_LAUNCH_MAIL\", empty, empty],\n      [1, 178, \"LaunchApp2\", 130, \"LaunchApp2\", 183, \"VK_MEDIA_LAUNCH_APP2\", empty, empty],\n      [1, 179, \"LaunchApp1\", 0, empty, 0, \"VK_MEDIA_LAUNCH_APP1\", empty, empty],\n      [1, 180, \"SelectTask\", 0, empty, 0, empty, empty, empty],\n      [1, 181, \"LaunchScreenSaver\", 0, empty, 0, empty, empty, empty],\n      [1, 182, \"BrowserSearch\", 120, \"BrowserSearch\", 170, \"VK_BROWSER_SEARCH\", empty, empty],\n      [1, 183, \"BrowserHome\", 121, \"BrowserHome\", 172, \"VK_BROWSER_HOME\", empty, empty],\n      [1, 184, \"BrowserBack\", 122, \"BrowserBack\", 166, \"VK_BROWSER_BACK\", empty, empty],\n      [1, 185, \"BrowserForward\", 123, \"BrowserForward\", 167, \"VK_BROWSER_FORWARD\", empty, empty],\n      [1, 186, \"BrowserStop\", 0, empty, 0, \"VK_BROWSER_STOP\", empty, empty],\n      [1, 187, \"BrowserRefresh\", 0, empty, 0, \"VK_BROWSER_REFRESH\", empty, empty],\n      [1, 188, \"BrowserFavorites\", 0, empty, 0, \"VK_BROWSER_FAVORITES\", empty, empty],\n      [1, 189, \"ZoomToggle\", 0, empty, 0, empty, empty, empty],\n      [1, 190, \"MailReply\", 0, empty, 0, empty, empty, empty],\n      [1, 191, \"MailForward\", 0, empty, 0, empty, empty, empty],\n      [1, 192, \"MailSend\", 0, empty, 0, empty, empty, empty],\n      // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html\n      // If an Input Method Editor is processing key input and the event is keydown, return 229.\n      [1, 0, empty, 114, \"KeyInComposition\", 229, empty, empty, empty],\n      [1, 0, empty, 116, \"ABNT_C2\", 194, \"VK_ABNT_C2\", empty, empty],\n      [1, 0, empty, 96, \"OEM_8\", 223, \"VK_OEM_8\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANGUL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_JUNJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_FINAL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANJI\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONCONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ACCEPT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_MODECHANGE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SELECT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PRINT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXECUTE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SNAPSHOT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HELP\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_APPS\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PROCESSKEY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PACKET\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_SBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_DBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ATTN\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CRSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EREOF\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PLAY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ZOOM\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONAME\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PA1\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_OEM_CLEAR\", empty, empty]\n    ];\n    const seenKeyCode = [];\n    const seenScanCode = [];\n    for (const mapping of mappings) {\n      const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;\n      if (!seenScanCode[scanCode]) {\n        seenScanCode[scanCode] = true;\n        scanCodeIntToStr[scanCode] = scanCodeStr;\n        scanCodeStrToInt[scanCodeStr] = scanCode;\n        scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode;\n        if (immutable) {\n          IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode;\n          if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) {\n            IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode;\n          }\n        }\n      }\n      if (!seenKeyCode[keyCode]) {\n        seenKeyCode[keyCode] = true;\n        if (!keyCodeStr) {\n          throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`);\n        }\n        uiMap.define(keyCode, keyCodeStr);\n        userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr);\n        userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr);\n      }\n      if (eventKeyCode) {\n        EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode;\n      }\n      if (vkey) {\n        NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode;\n      }\n    }\n    IMMUTABLE_KEY_CODE_TO_CODE[\n      3\n      /* KeyCode.Enter */\n    ] = 46;\n  })();\n  var KeyCodeUtils;\n  (function(KeyCodeUtils2) {\n    function toString2(keyCode) {\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toString = toString2;\n    function fromString(key) {\n      return uiMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromString = fromString;\n    function toUserSettingsUS(keyCode) {\n      return userSettingsUSMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS;\n    function toUserSettingsGeneral(keyCode) {\n      return userSettingsGeneralMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral;\n    function fromUserSettings(key) {\n      return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromUserSettings = fromUserSettings;\n    function toElectronAccelerator(keyCode) {\n      if (keyCode >= 98 && keyCode <= 113) {\n        return null;\n      }\n      switch (keyCode) {\n        case 16:\n          return \"Up\";\n        case 18:\n          return \"Down\";\n        case 15:\n          return \"Left\";\n        case 17:\n          return \"Right\";\n      }\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator;\n  })(KeyCodeUtils || (KeyCodeUtils = {}));\n  function KeyChord(firstPart, secondPart) {\n    const chordPart = (secondPart & 65535) << 16 >>> 0;\n    return (firstPart | chordPart) >>> 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/selection.js\n  var Selection = class _Selection extends Range2 {\n    constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {\n      super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);\n      this.selectionStartLineNumber = selectionStartLineNumber;\n      this.selectionStartColumn = selectionStartColumn;\n      this.positionLineNumber = positionLineNumber;\n      this.positionColumn = positionColumn;\n    }\n    /**\n     * Transform to a human-readable representation.\n     */\n    toString() {\n      return \"[\" + this.selectionStartLineNumber + \",\" + this.selectionStartColumn + \" -> \" + this.positionLineNumber + \",\" + this.positionColumn + \"]\";\n    }\n    /**\n     * Test if equals other selection.\n     */\n    equalsSelection(other) {\n      return _Selection.selectionsEqual(this, other);\n    }\n    /**\n     * Test if the two selections are equal.\n     */\n    static selectionsEqual(a2, b2) {\n      return a2.selectionStartLineNumber === b2.selectionStartLineNumber && a2.selectionStartColumn === b2.selectionStartColumn && a2.positionLineNumber === b2.positionLineNumber && a2.positionColumn === b2.positionColumn;\n    }\n    /**\n     * Get directions (LTR or RTL).\n     */\n    getDirection() {\n      if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {\n        return 0;\n      }\n      return 1;\n    }\n    /**\n     * Create a new selection with a different `positionLineNumber` and `positionColumn`.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);\n    }\n    /**\n     * Get the position at `positionLineNumber` and `positionColumn`.\n     */\n    getPosition() {\n      return new Position2(this.positionLineNumber, this.positionColumn);\n    }\n    /**\n     * Get the position at the start of the selection.\n    */\n    getSelectionStart() {\n      return new Position2(this.selectionStartLineNumber, this.selectionStartColumn);\n    }\n    /**\n     * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n      }\n      return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);\n    }\n    // ----\n    /**\n     * Create a `Selection` from one or two positions\n     */\n    static fromPositions(start, end = start) {\n      return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    /**\n     * Creates a `Selection` from a range, given a direction.\n     */\n    static fromRange(range, direction) {\n      if (direction === 0) {\n        return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n      } else {\n        return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn);\n      }\n    }\n    /**\n     * Create a `Selection` from an `ISelection`.\n     */\n    static liftSelection(sel) {\n      return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);\n    }\n    /**\n     * `a` equals `b`.\n     */\n    static selectionsArrEqual(a2, b2) {\n      if (a2 && !b2 || !a2 && b2) {\n        return false;\n      }\n      if (!a2 && !b2) {\n        return true;\n      }\n      if (a2.length !== b2.length) {\n        return false;\n      }\n      for (let i2 = 0, len = a2.length; i2 < len; i2++) {\n        if (!this.selectionsEqual(a2[i2], b2[i2])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    /**\n     * Test if `obj` is an `ISelection`.\n     */\n    static isISelection(obj) {\n      return obj && typeof obj.selectionStartLineNumber === \"number\" && typeof obj.selectionStartColumn === \"number\" && typeof obj.positionLineNumber === \"number\" && typeof obj.positionColumn === \"number\";\n    }\n    /**\n     * Create with a direction.\n     */\n    static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {\n      if (direction === 0) {\n        return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js\n  var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);\n  function register(id, fontCharacter) {\n    if (isString(fontCharacter)) {\n      const val = _codiconFontCharacters[fontCharacter];\n      if (val === void 0) {\n        throw new Error(`${id} references an unknown codicon: ${fontCharacter}`);\n      }\n      fontCharacter = val;\n    }\n    _codiconFontCharacters[id] = fontCharacter;\n    return { id };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js\n  var codiconsLibrary = {\n    add: register(\"add\", 6e4),\n    plus: register(\"plus\", 6e4),\n    gistNew: register(\"gist-new\", 6e4),\n    repoCreate: register(\"repo-create\", 6e4),\n    lightbulb: register(\"lightbulb\", 60001),\n    lightBulb: register(\"light-bulb\", 60001),\n    repo: register(\"repo\", 60002),\n    repoDelete: register(\"repo-delete\", 60002),\n    gistFork: register(\"gist-fork\", 60003),\n    repoForked: register(\"repo-forked\", 60003),\n    gitPullRequest: register(\"git-pull-request\", 60004),\n    gitPullRequestAbandoned: register(\"git-pull-request-abandoned\", 60004),\n    recordKeys: register(\"record-keys\", 60005),\n    keyboard: register(\"keyboard\", 60005),\n    tag: register(\"tag\", 60006),\n    gitPullRequestLabel: register(\"git-pull-request-label\", 60006),\n    tagAdd: register(\"tag-add\", 60006),\n    tagRemove: register(\"tag-remove\", 60006),\n    person: register(\"person\", 60007),\n    personFollow: register(\"person-follow\", 60007),\n    personOutline: register(\"person-outline\", 60007),\n    personFilled: register(\"person-filled\", 60007),\n    gitBranch: register(\"git-branch\", 60008),\n    gitBranchCreate: register(\"git-branch-create\", 60008),\n    gitBranchDelete: register(\"git-branch-delete\", 60008),\n    sourceControl: register(\"source-control\", 60008),\n    mirror: register(\"mirror\", 60009),\n    mirrorPublic: register(\"mirror-public\", 60009),\n    star: register(\"star\", 60010),\n    starAdd: register(\"star-add\", 60010),\n    starDelete: register(\"star-delete\", 60010),\n    starEmpty: register(\"star-empty\", 60010),\n    comment: register(\"comment\", 60011),\n    commentAdd: register(\"comment-add\", 60011),\n    alert: register(\"alert\", 60012),\n    warning: register(\"warning\", 60012),\n    search: register(\"search\", 60013),\n    searchSave: register(\"search-save\", 60013),\n    logOut: register(\"log-out\", 60014),\n    signOut: register(\"sign-out\", 60014),\n    logIn: register(\"log-in\", 60015),\n    signIn: register(\"sign-in\", 60015),\n    eye: register(\"eye\", 60016),\n    eyeUnwatch: register(\"eye-unwatch\", 60016),\n    eyeWatch: register(\"eye-watch\", 60016),\n    circleFilled: register(\"circle-filled\", 60017),\n    primitiveDot: register(\"primitive-dot\", 60017),\n    closeDirty: register(\"close-dirty\", 60017),\n    debugBreakpoint: register(\"debug-breakpoint\", 60017),\n    debugBreakpointDisabled: register(\"debug-breakpoint-disabled\", 60017),\n    debugHint: register(\"debug-hint\", 60017),\n    terminalDecorationSuccess: register(\"terminal-decoration-success\", 60017),\n    primitiveSquare: register(\"primitive-square\", 60018),\n    edit: register(\"edit\", 60019),\n    pencil: register(\"pencil\", 60019),\n    info: register(\"info\", 60020),\n    issueOpened: register(\"issue-opened\", 60020),\n    gistPrivate: register(\"gist-private\", 60021),\n    gitForkPrivate: register(\"git-fork-private\", 60021),\n    lock: register(\"lock\", 60021),\n    mirrorPrivate: register(\"mirror-private\", 60021),\n    close: register(\"close\", 60022),\n    removeClose: register(\"remove-close\", 60022),\n    x: register(\"x\", 60022),\n    repoSync: register(\"repo-sync\", 60023),\n    sync: register(\"sync\", 60023),\n    clone: register(\"clone\", 60024),\n    desktopDownload: register(\"desktop-download\", 60024),\n    beaker: register(\"beaker\", 60025),\n    microscope: register(\"microscope\", 60025),\n    vm: register(\"vm\", 60026),\n    deviceDesktop: register(\"device-desktop\", 60026),\n    file: register(\"file\", 60027),\n    fileText: register(\"file-text\", 60027),\n    more: register(\"more\", 60028),\n    ellipsis: register(\"ellipsis\", 60028),\n    kebabHorizontal: register(\"kebab-horizontal\", 60028),\n    mailReply: register(\"mail-reply\", 60029),\n    reply: register(\"reply\", 60029),\n    organization: register(\"organization\", 60030),\n    organizationFilled: register(\"organization-filled\", 60030),\n    organizationOutline: register(\"organization-outline\", 60030),\n    newFile: register(\"new-file\", 60031),\n    fileAdd: register(\"file-add\", 60031),\n    newFolder: register(\"new-folder\", 60032),\n    fileDirectoryCreate: register(\"file-directory-create\", 60032),\n    trash: register(\"trash\", 60033),\n    trashcan: register(\"trashcan\", 60033),\n    history: register(\"history\", 60034),\n    clock: register(\"clock\", 60034),\n    folder: register(\"folder\", 60035),\n    fileDirectory: register(\"file-directory\", 60035),\n    symbolFolder: register(\"symbol-folder\", 60035),\n    logoGithub: register(\"logo-github\", 60036),\n    markGithub: register(\"mark-github\", 60036),\n    github: register(\"github\", 60036),\n    terminal: register(\"terminal\", 60037),\n    console: register(\"console\", 60037),\n    repl: register(\"repl\", 60037),\n    zap: register(\"zap\", 60038),\n    symbolEvent: register(\"symbol-event\", 60038),\n    error: register(\"error\", 60039),\n    stop: register(\"stop\", 60039),\n    variable: register(\"variable\", 60040),\n    symbolVariable: register(\"symbol-variable\", 60040),\n    array: register(\"array\", 60042),\n    symbolArray: register(\"symbol-array\", 60042),\n    symbolModule: register(\"symbol-module\", 60043),\n    symbolPackage: register(\"symbol-package\", 60043),\n    symbolNamespace: register(\"symbol-namespace\", 60043),\n    symbolObject: register(\"symbol-object\", 60043),\n    symbolMethod: register(\"symbol-method\", 60044),\n    symbolFunction: register(\"symbol-function\", 60044),\n    symbolConstructor: register(\"symbol-constructor\", 60044),\n    symbolBoolean: register(\"symbol-boolean\", 60047),\n    symbolNull: register(\"symbol-null\", 60047),\n    symbolNumeric: register(\"symbol-numeric\", 60048),\n    symbolNumber: register(\"symbol-number\", 60048),\n    symbolStructure: register(\"symbol-structure\", 60049),\n    symbolStruct: register(\"symbol-struct\", 60049),\n    symbolParameter: register(\"symbol-parameter\", 60050),\n    symbolTypeParameter: register(\"symbol-type-parameter\", 60050),\n    symbolKey: register(\"symbol-key\", 60051),\n    symbolText: register(\"symbol-text\", 60051),\n    symbolReference: register(\"symbol-reference\", 60052),\n    goToFile: register(\"go-to-file\", 60052),\n    symbolEnum: register(\"symbol-enum\", 60053),\n    symbolValue: register(\"symbol-value\", 60053),\n    symbolRuler: register(\"symbol-ruler\", 60054),\n    symbolUnit: register(\"symbol-unit\", 60054),\n    activateBreakpoints: register(\"activate-breakpoints\", 60055),\n    archive: register(\"archive\", 60056),\n    arrowBoth: register(\"arrow-both\", 60057),\n    arrowDown: register(\"arrow-down\", 60058),\n    arrowLeft: register(\"arrow-left\", 60059),\n    arrowRight: register(\"arrow-right\", 60060),\n    arrowSmallDown: register(\"arrow-small-down\", 60061),\n    arrowSmallLeft: register(\"arrow-small-left\", 60062),\n    arrowSmallRight: register(\"arrow-small-right\", 60063),\n    arrowSmallUp: register(\"arrow-small-up\", 60064),\n    arrowUp: register(\"arrow-up\", 60065),\n    bell: register(\"bell\", 60066),\n    bold: register(\"bold\", 60067),\n    book: register(\"book\", 60068),\n    bookmark: register(\"bookmark\", 60069),\n    debugBreakpointConditionalUnverified: register(\"debug-breakpoint-conditional-unverified\", 60070),\n    debugBreakpointConditional: register(\"debug-breakpoint-conditional\", 60071),\n    debugBreakpointConditionalDisabled: register(\"debug-breakpoint-conditional-disabled\", 60071),\n    debugBreakpointDataUnverified: register(\"debug-breakpoint-data-unverified\", 60072),\n    debugBreakpointData: register(\"debug-breakpoint-data\", 60073),\n    debugBreakpointDataDisabled: register(\"debug-breakpoint-data-disabled\", 60073),\n    debugBreakpointLogUnverified: register(\"debug-breakpoint-log-unverified\", 60074),\n    debugBreakpointLog: register(\"debug-breakpoint-log\", 60075),\n    debugBreakpointLogDisabled: register(\"debug-breakpoint-log-disabled\", 60075),\n    briefcase: register(\"briefcase\", 60076),\n    broadcast: register(\"broadcast\", 60077),\n    browser: register(\"browser\", 60078),\n    bug: register(\"bug\", 60079),\n    calendar: register(\"calendar\", 60080),\n    caseSensitive: register(\"case-sensitive\", 60081),\n    check: register(\"check\", 60082),\n    checklist: register(\"checklist\", 60083),\n    chevronDown: register(\"chevron-down\", 60084),\n    chevronLeft: register(\"chevron-left\", 60085),\n    chevronRight: register(\"chevron-right\", 60086),\n    chevronUp: register(\"chevron-up\", 60087),\n    chromeClose: register(\"chrome-close\", 60088),\n    chromeMaximize: register(\"chrome-maximize\", 60089),\n    chromeMinimize: register(\"chrome-minimize\", 60090),\n    chromeRestore: register(\"chrome-restore\", 60091),\n    circleOutline: register(\"circle-outline\", 60092),\n    circle: register(\"circle\", 60092),\n    debugBreakpointUnverified: register(\"debug-breakpoint-unverified\", 60092),\n    terminalDecorationIncomplete: register(\"terminal-decoration-incomplete\", 60092),\n    circleSlash: register(\"circle-slash\", 60093),\n    circuitBoard: register(\"circuit-board\", 60094),\n    clearAll: register(\"clear-all\", 60095),\n    clippy: register(\"clippy\", 60096),\n    closeAll: register(\"close-all\", 60097),\n    cloudDownload: register(\"cloud-download\", 60098),\n    cloudUpload: register(\"cloud-upload\", 60099),\n    code: register(\"code\", 60100),\n    collapseAll: register(\"collapse-all\", 60101),\n    colorMode: register(\"color-mode\", 60102),\n    commentDiscussion: register(\"comment-discussion\", 60103),\n    creditCard: register(\"credit-card\", 60105),\n    dash: register(\"dash\", 60108),\n    dashboard: register(\"dashboard\", 60109),\n    database: register(\"database\", 60110),\n    debugContinue: register(\"debug-continue\", 60111),\n    debugDisconnect: register(\"debug-disconnect\", 60112),\n    debugPause: register(\"debug-pause\", 60113),\n    debugRestart: register(\"debug-restart\", 60114),\n    debugStart: register(\"debug-start\", 60115),\n    debugStepInto: register(\"debug-step-into\", 60116),\n    debugStepOut: register(\"debug-step-out\", 60117),\n    debugStepOver: register(\"debug-step-over\", 60118),\n    debugStop: register(\"debug-stop\", 60119),\n    debug: register(\"debug\", 60120),\n    deviceCameraVideo: register(\"device-camera-video\", 60121),\n    deviceCamera: register(\"device-camera\", 60122),\n    deviceMobile: register(\"device-mobile\", 60123),\n    diffAdded: register(\"diff-added\", 60124),\n    diffIgnored: register(\"diff-ignored\", 60125),\n    diffModified: register(\"diff-modified\", 60126),\n    diffRemoved: register(\"diff-removed\", 60127),\n    diffRenamed: register(\"diff-renamed\", 60128),\n    diff: register(\"diff\", 60129),\n    diffSidebyside: register(\"diff-sidebyside\", 60129),\n    discard: register(\"discard\", 60130),\n    editorLayout: register(\"editor-layout\", 60131),\n    emptyWindow: register(\"empty-window\", 60132),\n    exclude: register(\"exclude\", 60133),\n    extensions: register(\"extensions\", 60134),\n    eyeClosed: register(\"eye-closed\", 60135),\n    fileBinary: register(\"file-binary\", 60136),\n    fileCode: register(\"file-code\", 60137),\n    fileMedia: register(\"file-media\", 60138),\n    filePdf: register(\"file-pdf\", 60139),\n    fileSubmodule: register(\"file-submodule\", 60140),\n    fileSymlinkDirectory: register(\"file-symlink-directory\", 60141),\n    fileSymlinkFile: register(\"file-symlink-file\", 60142),\n    fileZip: register(\"file-zip\", 60143),\n    files: register(\"files\", 60144),\n    filter: register(\"filter\", 60145),\n    flame: register(\"flame\", 60146),\n    foldDown: register(\"fold-down\", 60147),\n    foldUp: register(\"fold-up\", 60148),\n    fold: register(\"fold\", 60149),\n    folderActive: register(\"folder-active\", 60150),\n    folderOpened: register(\"folder-opened\", 60151),\n    gear: register(\"gear\", 60152),\n    gift: register(\"gift\", 60153),\n    gistSecret: register(\"gist-secret\", 60154),\n    gist: register(\"gist\", 60155),\n    gitCommit: register(\"git-commit\", 60156),\n    gitCompare: register(\"git-compare\", 60157),\n    compareChanges: register(\"compare-changes\", 60157),\n    gitMerge: register(\"git-merge\", 60158),\n    githubAction: register(\"github-action\", 60159),\n    githubAlt: register(\"github-alt\", 60160),\n    globe: register(\"globe\", 60161),\n    grabber: register(\"grabber\", 60162),\n    graph: register(\"graph\", 60163),\n    gripper: register(\"gripper\", 60164),\n    heart: register(\"heart\", 60165),\n    home: register(\"home\", 60166),\n    horizontalRule: register(\"horizontal-rule\", 60167),\n    hubot: register(\"hubot\", 60168),\n    inbox: register(\"inbox\", 60169),\n    issueReopened: register(\"issue-reopened\", 60171),\n    issues: register(\"issues\", 60172),\n    italic: register(\"italic\", 60173),\n    jersey: register(\"jersey\", 60174),\n    json: register(\"json\", 60175),\n    kebabVertical: register(\"kebab-vertical\", 60176),\n    key: register(\"key\", 60177),\n    law: register(\"law\", 60178),\n    lightbulbAutofix: register(\"lightbulb-autofix\", 60179),\n    linkExternal: register(\"link-external\", 60180),\n    link: register(\"link\", 60181),\n    listOrdered: register(\"list-ordered\", 60182),\n    listUnordered: register(\"list-unordered\", 60183),\n    liveShare: register(\"live-share\", 60184),\n    loading: register(\"loading\", 60185),\n    location: register(\"location\", 60186),\n    mailRead: register(\"mail-read\", 60187),\n    mail: register(\"mail\", 60188),\n    markdown: register(\"markdown\", 60189),\n    megaphone: register(\"megaphone\", 60190),\n    mention: register(\"mention\", 60191),\n    milestone: register(\"milestone\", 60192),\n    gitPullRequestMilestone: register(\"git-pull-request-milestone\", 60192),\n    mortarBoard: register(\"mortar-board\", 60193),\n    move: register(\"move\", 60194),\n    multipleWindows: register(\"multiple-windows\", 60195),\n    mute: register(\"mute\", 60196),\n    noNewline: register(\"no-newline\", 60197),\n    note: register(\"note\", 60198),\n    octoface: register(\"octoface\", 60199),\n    openPreview: register(\"open-preview\", 60200),\n    package: register(\"package\", 60201),\n    paintcan: register(\"paintcan\", 60202),\n    pin: register(\"pin\", 60203),\n    play: register(\"play\", 60204),\n    run: register(\"run\", 60204),\n    plug: register(\"plug\", 60205),\n    preserveCase: register(\"preserve-case\", 60206),\n    preview: register(\"preview\", 60207),\n    project: register(\"project\", 60208),\n    pulse: register(\"pulse\", 60209),\n    question: register(\"question\", 60210),\n    quote: register(\"quote\", 60211),\n    radioTower: register(\"radio-tower\", 60212),\n    reactions: register(\"reactions\", 60213),\n    references: register(\"references\", 60214),\n    refresh: register(\"refresh\", 60215),\n    regex: register(\"regex\", 60216),\n    remoteExplorer: register(\"remote-explorer\", 60217),\n    remote: register(\"remote\", 60218),\n    remove: register(\"remove\", 60219),\n    replaceAll: register(\"replace-all\", 60220),\n    replace: register(\"replace\", 60221),\n    repoClone: register(\"repo-clone\", 60222),\n    repoForcePush: register(\"repo-force-push\", 60223),\n    repoPull: register(\"repo-pull\", 60224),\n    repoPush: register(\"repo-push\", 60225),\n    report: register(\"report\", 60226),\n    requestChanges: register(\"request-changes\", 60227),\n    rocket: register(\"rocket\", 60228),\n    rootFolderOpened: register(\"root-folder-opened\", 60229),\n    rootFolder: register(\"root-folder\", 60230),\n    rss: register(\"rss\", 60231),\n    ruby: register(\"ruby\", 60232),\n    saveAll: register(\"save-all\", 60233),\n    saveAs: register(\"save-as\", 60234),\n    save: register(\"save\", 60235),\n    screenFull: register(\"screen-full\", 60236),\n    screenNormal: register(\"screen-normal\", 60237),\n    searchStop: register(\"search-stop\", 60238),\n    server: register(\"server\", 60240),\n    settingsGear: register(\"settings-gear\", 60241),\n    settings: register(\"settings\", 60242),\n    shield: register(\"shield\", 60243),\n    smiley: register(\"smiley\", 60244),\n    sortPrecedence: register(\"sort-precedence\", 60245),\n    splitHorizontal: register(\"split-horizontal\", 60246),\n    splitVertical: register(\"split-vertical\", 60247),\n    squirrel: register(\"squirrel\", 60248),\n    starFull: register(\"star-full\", 60249),\n    starHalf: register(\"star-half\", 60250),\n    symbolClass: register(\"symbol-class\", 60251),\n    symbolColor: register(\"symbol-color\", 60252),\n    symbolConstant: register(\"symbol-constant\", 60253),\n    symbolEnumMember: register(\"symbol-enum-member\", 60254),\n    symbolField: register(\"symbol-field\", 60255),\n    symbolFile: register(\"symbol-file\", 60256),\n    symbolInterface: register(\"symbol-interface\", 60257),\n    symbolKeyword: register(\"symbol-keyword\", 60258),\n    symbolMisc: register(\"symbol-misc\", 60259),\n    symbolOperator: register(\"symbol-operator\", 60260),\n    symbolProperty: register(\"symbol-property\", 60261),\n    wrench: register(\"wrench\", 60261),\n    wrenchSubaction: register(\"wrench-subaction\", 60261),\n    symbolSnippet: register(\"symbol-snippet\", 60262),\n    tasklist: register(\"tasklist\", 60263),\n    telescope: register(\"telescope\", 60264),\n    textSize: register(\"text-size\", 60265),\n    threeBars: register(\"three-bars\", 60266),\n    thumbsdown: register(\"thumbsdown\", 60267),\n    thumbsup: register(\"thumbsup\", 60268),\n    tools: register(\"tools\", 60269),\n    triangleDown: register(\"triangle-down\", 60270),\n    triangleLeft: register(\"triangle-left\", 60271),\n    triangleRight: register(\"triangle-right\", 60272),\n    triangleUp: register(\"triangle-up\", 60273),\n    twitter: register(\"twitter\", 60274),\n    unfold: register(\"unfold\", 60275),\n    unlock: register(\"unlock\", 60276),\n    unmute: register(\"unmute\", 60277),\n    unverified: register(\"unverified\", 60278),\n    verified: register(\"verified\", 60279),\n    versions: register(\"versions\", 60280),\n    vmActive: register(\"vm-active\", 60281),\n    vmOutline: register(\"vm-outline\", 60282),\n    vmRunning: register(\"vm-running\", 60283),\n    watch: register(\"watch\", 60284),\n    whitespace: register(\"whitespace\", 60285),\n    wholeWord: register(\"whole-word\", 60286),\n    window: register(\"window\", 60287),\n    wordWrap: register(\"word-wrap\", 60288),\n    zoomIn: register(\"zoom-in\", 60289),\n    zoomOut: register(\"zoom-out\", 60290),\n    listFilter: register(\"list-filter\", 60291),\n    listFlat: register(\"list-flat\", 60292),\n    listSelection: register(\"list-selection\", 60293),\n    selection: register(\"selection\", 60293),\n    listTree: register(\"list-tree\", 60294),\n    debugBreakpointFunctionUnverified: register(\"debug-breakpoint-function-unverified\", 60295),\n    debugBreakpointFunction: register(\"debug-breakpoint-function\", 60296),\n    debugBreakpointFunctionDisabled: register(\"debug-breakpoint-function-disabled\", 60296),\n    debugStackframeActive: register(\"debug-stackframe-active\", 60297),\n    circleSmallFilled: register(\"circle-small-filled\", 60298),\n    debugStackframeDot: register(\"debug-stackframe-dot\", 60298),\n    terminalDecorationMark: register(\"terminal-decoration-mark\", 60298),\n    debugStackframe: register(\"debug-stackframe\", 60299),\n    debugStackframeFocused: register(\"debug-stackframe-focused\", 60299),\n    debugBreakpointUnsupported: register(\"debug-breakpoint-unsupported\", 60300),\n    symbolString: register(\"symbol-string\", 60301),\n    debugReverseContinue: register(\"debug-reverse-continue\", 60302),\n    debugStepBack: register(\"debug-step-back\", 60303),\n    debugRestartFrame: register(\"debug-restart-frame\", 60304),\n    debugAlt: register(\"debug-alt\", 60305),\n    callIncoming: register(\"call-incoming\", 60306),\n    callOutgoing: register(\"call-outgoing\", 60307),\n    menu: register(\"menu\", 60308),\n    expandAll: register(\"expand-all\", 60309),\n    feedback: register(\"feedback\", 60310),\n    gitPullRequestReviewer: register(\"git-pull-request-reviewer\", 60310),\n    groupByRefType: register(\"group-by-ref-type\", 60311),\n    ungroupByRefType: register(\"ungroup-by-ref-type\", 60312),\n    account: register(\"account\", 60313),\n    gitPullRequestAssignee: register(\"git-pull-request-assignee\", 60313),\n    bellDot: register(\"bell-dot\", 60314),\n    debugConsole: register(\"debug-console\", 60315),\n    library: register(\"library\", 60316),\n    output: register(\"output\", 60317),\n    runAll: register(\"run-all\", 60318),\n    syncIgnored: register(\"sync-ignored\", 60319),\n    pinned: register(\"pinned\", 60320),\n    githubInverted: register(\"github-inverted\", 60321),\n    serverProcess: register(\"server-process\", 60322),\n    serverEnvironment: register(\"server-environment\", 60323),\n    pass: register(\"pass\", 60324),\n    issueClosed: register(\"issue-closed\", 60324),\n    stopCircle: register(\"stop-circle\", 60325),\n    playCircle: register(\"play-circle\", 60326),\n    record: register(\"record\", 60327),\n    debugAltSmall: register(\"debug-alt-small\", 60328),\n    vmConnect: register(\"vm-connect\", 60329),\n    cloud: register(\"cloud\", 60330),\n    merge: register(\"merge\", 60331),\n    export: register(\"export\", 60332),\n    graphLeft: register(\"graph-left\", 60333),\n    magnet: register(\"magnet\", 60334),\n    notebook: register(\"notebook\", 60335),\n    redo: register(\"redo\", 60336),\n    checkAll: register(\"check-all\", 60337),\n    pinnedDirty: register(\"pinned-dirty\", 60338),\n    passFilled: register(\"pass-filled\", 60339),\n    circleLargeFilled: register(\"circle-large-filled\", 60340),\n    circleLarge: register(\"circle-large\", 60341),\n    circleLargeOutline: register(\"circle-large-outline\", 60341),\n    combine: register(\"combine\", 60342),\n    gather: register(\"gather\", 60342),\n    table: register(\"table\", 60343),\n    variableGroup: register(\"variable-group\", 60344),\n    typeHierarchy: register(\"type-hierarchy\", 60345),\n    typeHierarchySub: register(\"type-hierarchy-sub\", 60346),\n    typeHierarchySuper: register(\"type-hierarchy-super\", 60347),\n    gitPullRequestCreate: register(\"git-pull-request-create\", 60348),\n    runAbove: register(\"run-above\", 60349),\n    runBelow: register(\"run-below\", 60350),\n    notebookTemplate: register(\"notebook-template\", 60351),\n    debugRerun: register(\"debug-rerun\", 60352),\n    workspaceTrusted: register(\"workspace-trusted\", 60353),\n    workspaceUntrusted: register(\"workspace-untrusted\", 60354),\n    workspaceUnknown: register(\"workspace-unknown\", 60355),\n    terminalCmd: register(\"terminal-cmd\", 60356),\n    terminalDebian: register(\"terminal-debian\", 60357),\n    terminalLinux: register(\"terminal-linux\", 60358),\n    terminalPowershell: register(\"terminal-powershell\", 60359),\n    terminalTmux: register(\"terminal-tmux\", 60360),\n    terminalUbuntu: register(\"terminal-ubuntu\", 60361),\n    terminalBash: register(\"terminal-bash\", 60362),\n    arrowSwap: register(\"arrow-swap\", 60363),\n    copy: register(\"copy\", 60364),\n    personAdd: register(\"person-add\", 60365),\n    filterFilled: register(\"filter-filled\", 60366),\n    wand: register(\"wand\", 60367),\n    debugLineByLine: register(\"debug-line-by-line\", 60368),\n    inspect: register(\"inspect\", 60369),\n    layers: register(\"layers\", 60370),\n    layersDot: register(\"layers-dot\", 60371),\n    layersActive: register(\"layers-active\", 60372),\n    compass: register(\"compass\", 60373),\n    compassDot: register(\"compass-dot\", 60374),\n    compassActive: register(\"compass-active\", 60375),\n    azure: register(\"azure\", 60376),\n    issueDraft: register(\"issue-draft\", 60377),\n    gitPullRequestClosed: register(\"git-pull-request-closed\", 60378),\n    gitPullRequestDraft: register(\"git-pull-request-draft\", 60379),\n    debugAll: register(\"debug-all\", 60380),\n    debugCoverage: register(\"debug-coverage\", 60381),\n    runErrors: register(\"run-errors\", 60382),\n    folderLibrary: register(\"folder-library\", 60383),\n    debugContinueSmall: register(\"debug-continue-small\", 60384),\n    beakerStop: register(\"beaker-stop\", 60385),\n    graphLine: register(\"graph-line\", 60386),\n    graphScatter: register(\"graph-scatter\", 60387),\n    pieChart: register(\"pie-chart\", 60388),\n    bracket: register(\"bracket\", 60175),\n    bracketDot: register(\"bracket-dot\", 60389),\n    bracketError: register(\"bracket-error\", 60390),\n    lockSmall: register(\"lock-small\", 60391),\n    azureDevops: register(\"azure-devops\", 60392),\n    verifiedFilled: register(\"verified-filled\", 60393),\n    newline: register(\"newline\", 60394),\n    layout: register(\"layout\", 60395),\n    layoutActivitybarLeft: register(\"layout-activitybar-left\", 60396),\n    layoutActivitybarRight: register(\"layout-activitybar-right\", 60397),\n    layoutPanelLeft: register(\"layout-panel-left\", 60398),\n    layoutPanelCenter: register(\"layout-panel-center\", 60399),\n    layoutPanelJustify: register(\"layout-panel-justify\", 60400),\n    layoutPanelRight: register(\"layout-panel-right\", 60401),\n    layoutPanel: register(\"layout-panel\", 60402),\n    layoutSidebarLeft: register(\"layout-sidebar-left\", 60403),\n    layoutSidebarRight: register(\"layout-sidebar-right\", 60404),\n    layoutStatusbar: register(\"layout-statusbar\", 60405),\n    layoutMenubar: register(\"layout-menubar\", 60406),\n    layoutCentered: register(\"layout-centered\", 60407),\n    target: register(\"target\", 60408),\n    indent: register(\"indent\", 60409),\n    recordSmall: register(\"record-small\", 60410),\n    errorSmall: register(\"error-small\", 60411),\n    terminalDecorationError: register(\"terminal-decoration-error\", 60411),\n    arrowCircleDown: register(\"arrow-circle-down\", 60412),\n    arrowCircleLeft: register(\"arrow-circle-left\", 60413),\n    arrowCircleRight: register(\"arrow-circle-right\", 60414),\n    arrowCircleUp: register(\"arrow-circle-up\", 60415),\n    layoutSidebarRightOff: register(\"layout-sidebar-right-off\", 60416),\n    layoutPanelOff: register(\"layout-panel-off\", 60417),\n    layoutSidebarLeftOff: register(\"layout-sidebar-left-off\", 60418),\n    blank: register(\"blank\", 60419),\n    heartFilled: register(\"heart-filled\", 60420),\n    map: register(\"map\", 60421),\n    mapHorizontal: register(\"map-horizontal\", 60421),\n    foldHorizontal: register(\"fold-horizontal\", 60421),\n    mapFilled: register(\"map-filled\", 60422),\n    mapHorizontalFilled: register(\"map-horizontal-filled\", 60422),\n    foldHorizontalFilled: register(\"fold-horizontal-filled\", 60422),\n    circleSmall: register(\"circle-small\", 60423),\n    bellSlash: register(\"bell-slash\", 60424),\n    bellSlashDot: register(\"bell-slash-dot\", 60425),\n    commentUnresolved: register(\"comment-unresolved\", 60426),\n    gitPullRequestGoToChanges: register(\"git-pull-request-go-to-changes\", 60427),\n    gitPullRequestNewChanges: register(\"git-pull-request-new-changes\", 60428),\n    searchFuzzy: register(\"search-fuzzy\", 60429),\n    commentDraft: register(\"comment-draft\", 60430),\n    send: register(\"send\", 60431),\n    sparkle: register(\"sparkle\", 60432),\n    insert: register(\"insert\", 60433),\n    mic: register(\"mic\", 60434),\n    thumbsdownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsupFilled: register(\"thumbsup-filled\", 60436),\n    coffee: register(\"coffee\", 60437),\n    snake: register(\"snake\", 60438),\n    game: register(\"game\", 60439),\n    vr: register(\"vr\", 60440),\n    chip: register(\"chip\", 60441),\n    piano: register(\"piano\", 60442),\n    music: register(\"music\", 60443),\n    micFilled: register(\"mic-filled\", 60444),\n    repoFetch: register(\"repo-fetch\", 60445),\n    copilot: register(\"copilot\", 60446),\n    lightbulbSparkle: register(\"lightbulb-sparkle\", 60447),\n    robot: register(\"robot\", 60448),\n    sparkleFilled: register(\"sparkle-filled\", 60449),\n    diffSingle: register(\"diff-single\", 60450),\n    diffMultiple: register(\"diff-multiple\", 60451),\n    surroundWith: register(\"surround-with\", 60452),\n    share: register(\"share\", 60453),\n    gitStash: register(\"git-stash\", 60454),\n    gitStashApply: register(\"git-stash-apply\", 60455),\n    gitStashPop: register(\"git-stash-pop\", 60456),\n    vscode: register(\"vscode\", 60457),\n    vscodeInsiders: register(\"vscode-insiders\", 60458),\n    codeOss: register(\"code-oss\", 60459),\n    runCoverage: register(\"run-coverage\", 60460),\n    runAllCoverage: register(\"run-all-coverage\", 60461),\n    coverage: register(\"coverage\", 60462),\n    githubProject: register(\"github-project\", 60463),\n    mapVertical: register(\"map-vertical\", 60464),\n    foldVertical: register(\"fold-vertical\", 60464),\n    mapVerticalFilled: register(\"map-vertical-filled\", 60465),\n    foldVerticalFilled: register(\"fold-vertical-filled\", 60465),\n    goToSearch: register(\"go-to-search\", 60466),\n    percentage: register(\"percentage\", 60467),\n    sortPercentage: register(\"sort-percentage\", 60467)\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codicons.js\n  var codiconsDerived = {\n    dialogError: register(\"dialog-error\", \"error\"),\n    dialogWarning: register(\"dialog-warning\", \"warning\"),\n    dialogInfo: register(\"dialog-info\", \"info\"),\n    dialogClose: register(\"dialog-close\", \"close\"),\n    treeItemExpanded: register(\"tree-item-expanded\", \"chevron-down\"),\n    // collapsed is done with rotation\n    treeFilterOnTypeOn: register(\"tree-filter-on-type-on\", \"list-filter\"),\n    treeFilterOnTypeOff: register(\"tree-filter-on-type-off\", \"list-selection\"),\n    treeFilterClear: register(\"tree-filter-clear\", \"close\"),\n    treeItemLoading: register(\"tree-item-loading\", \"loading\"),\n    menuSelection: register(\"menu-selection\", \"check\"),\n    menuSubmenu: register(\"menu-submenu\", \"chevron-right\"),\n    menuBarMore: register(\"menubar-more\", \"more\"),\n    scrollbarButtonLeft: register(\"scrollbar-button-left\", \"triangle-left\"),\n    scrollbarButtonRight: register(\"scrollbar-button-right\", \"triangle-right\"),\n    scrollbarButtonUp: register(\"scrollbar-button-up\", \"triangle-up\"),\n    scrollbarButtonDown: register(\"scrollbar-button-down\", \"triangle-down\"),\n    toolBarMore: register(\"toolbar-more\", \"more\"),\n    quickInputBack: register(\"quick-input-back\", \"arrow-left\"),\n    dropDownButton: register(\"drop-down-button\", 60084),\n    symbolCustomColor: register(\"symbol-customcolor\", 60252),\n    exportIcon: register(\"export\", 60332),\n    workspaceUnspecified: register(\"workspace-unspecified\", 60355),\n    newLine: register(\"newline\", 60394),\n    thumbsDownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsUpFilled: register(\"thumbsup-filled\", 60436),\n    gitFetch: register(\"git-fetch\", 60445),\n    lightbulbSparkleAutofix: register(\"lightbulb-sparkle-autofix\", 60447),\n    debugBreakpointPending: register(\"debug-breakpoint-pending\", 60377)\n  };\n  var Codicon = {\n    ...codiconsLibrary,\n    ...codiconsDerived\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js\n  var TokenizationRegistry = class {\n    constructor() {\n      this._tokenizationSupports = /* @__PURE__ */ new Map();\n      this._factories = /* @__PURE__ */ new Map();\n      this._onDidChange = new Emitter();\n      this.onDidChange = this._onDidChange.event;\n      this._colorMap = null;\n    }\n    handleChange(languageIds) {\n      this._onDidChange.fire({\n        changedLanguages: languageIds,\n        changedColorMap: false\n      });\n    }\n    register(languageId, support) {\n      this._tokenizationSupports.set(languageId, support);\n      this.handleChange([languageId]);\n      return toDisposable(() => {\n        if (this._tokenizationSupports.get(languageId) !== support) {\n          return;\n        }\n        this._tokenizationSupports.delete(languageId);\n        this.handleChange([languageId]);\n      });\n    }\n    get(languageId) {\n      return this._tokenizationSupports.get(languageId) || null;\n    }\n    registerFactory(languageId, factory) {\n      var _a4;\n      (_a4 = this._factories.get(languageId)) === null || _a4 === void 0 ? void 0 : _a4.dispose();\n      const myData = new TokenizationSupportFactoryData(this, languageId, factory);\n      this._factories.set(languageId, myData);\n      return toDisposable(() => {\n        const v2 = this._factories.get(languageId);\n        if (!v2 || v2 !== myData) {\n          return;\n        }\n        this._factories.delete(languageId);\n        v2.dispose();\n      });\n    }\n    async getOrCreate(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return tokenizationSupport;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return null;\n      }\n      await factory.resolve();\n      return this.get(languageId);\n    }\n    isResolved(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return true;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return true;\n      }\n      return false;\n    }\n    setColorMap(colorMap) {\n      this._colorMap = colorMap;\n      this._onDidChange.fire({\n        changedLanguages: Array.from(this._tokenizationSupports.keys()),\n        changedColorMap: true\n      });\n    }\n    getColorMap() {\n      return this._colorMap;\n    }\n    getDefaultBackground() {\n      if (this._colorMap && this._colorMap.length > 2) {\n        return this._colorMap[\n          2\n          /* ColorId.DefaultBackground */\n        ];\n      }\n      return null;\n    }\n  };\n  var TokenizationSupportFactoryData = class extends Disposable {\n    get isResolved() {\n      return this._isResolved;\n    }\n    constructor(_registry, _languageId, _factory) {\n      super();\n      this._registry = _registry;\n      this._languageId = _languageId;\n      this._factory = _factory;\n      this._isDisposed = false;\n      this._resolvePromise = null;\n      this._isResolved = false;\n    }\n    dispose() {\n      this._isDisposed = true;\n      super.dispose();\n    }\n    async resolve() {\n      if (!this._resolvePromise) {\n        this._resolvePromise = this._create();\n      }\n      return this._resolvePromise;\n    }\n    async _create() {\n      const value2 = await this._factory.tokenizationSupport;\n      this._isResolved = true;\n      if (value2 && !this._isDisposed) {\n        this._register(this._registry.register(this._languageId, value2));\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages.js\n  var Token = class {\n    constructor(offset, type, language) {\n      this.offset = offset;\n      this.type = type;\n      this.language = language;\n      this._tokenBrand = void 0;\n    }\n    toString() {\n      return \"(\" + this.offset + \", \" + this.type + \")\";\n    }\n  };\n  var HoverVerbosityAction;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction || (HoverVerbosityAction = {}));\n  var CompletionItemKinds;\n  (function(CompletionItemKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolMethod);\n    byKind.set(1, Codicon.symbolFunction);\n    byKind.set(2, Codicon.symbolConstructor);\n    byKind.set(3, Codicon.symbolField);\n    byKind.set(4, Codicon.symbolVariable);\n    byKind.set(5, Codicon.symbolClass);\n    byKind.set(6, Codicon.symbolStruct);\n    byKind.set(7, Codicon.symbolInterface);\n    byKind.set(8, Codicon.symbolModule);\n    byKind.set(9, Codicon.symbolProperty);\n    byKind.set(10, Codicon.symbolEvent);\n    byKind.set(11, Codicon.symbolOperator);\n    byKind.set(12, Codicon.symbolUnit);\n    byKind.set(13, Codicon.symbolValue);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(14, Codicon.symbolConstant);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(16, Codicon.symbolEnumMember);\n    byKind.set(17, Codicon.symbolKeyword);\n    byKind.set(27, Codicon.symbolSnippet);\n    byKind.set(18, Codicon.symbolText);\n    byKind.set(19, Codicon.symbolColor);\n    byKind.set(20, Codicon.symbolFile);\n    byKind.set(21, Codicon.symbolReference);\n    byKind.set(22, Codicon.symbolCustomColor);\n    byKind.set(23, Codicon.symbolFolder);\n    byKind.set(24, Codicon.symbolTypeParameter);\n    byKind.set(25, Codicon.account);\n    byKind.set(26, Codicon.issues);\n    function toIcon(kind) {\n      let codicon = byKind.get(kind);\n      if (!codicon) {\n        console.info(\"No codicon found for CompletionItemKind \" + kind);\n        codicon = Codicon.symbolProperty;\n      }\n      return codicon;\n    }\n    CompletionItemKinds2.toIcon = toIcon;\n    const data = /* @__PURE__ */ new Map();\n    data.set(\n      \"method\",\n      0\n      /* CompletionItemKind.Method */\n    );\n    data.set(\n      \"function\",\n      1\n      /* CompletionItemKind.Function */\n    );\n    data.set(\n      \"constructor\",\n      2\n      /* CompletionItemKind.Constructor */\n    );\n    data.set(\n      \"field\",\n      3\n      /* CompletionItemKind.Field */\n    );\n    data.set(\n      \"variable\",\n      4\n      /* CompletionItemKind.Variable */\n    );\n    data.set(\n      \"class\",\n      5\n      /* CompletionItemKind.Class */\n    );\n    data.set(\n      \"struct\",\n      6\n      /* CompletionItemKind.Struct */\n    );\n    data.set(\n      \"interface\",\n      7\n      /* CompletionItemKind.Interface */\n    );\n    data.set(\n      \"module\",\n      8\n      /* CompletionItemKind.Module */\n    );\n    data.set(\n      \"property\",\n      9\n      /* CompletionItemKind.Property */\n    );\n    data.set(\n      \"event\",\n      10\n      /* CompletionItemKind.Event */\n    );\n    data.set(\n      \"operator\",\n      11\n      /* CompletionItemKind.Operator */\n    );\n    data.set(\n      \"unit\",\n      12\n      /* CompletionItemKind.Unit */\n    );\n    data.set(\n      \"value\",\n      13\n      /* CompletionItemKind.Value */\n    );\n    data.set(\n      \"constant\",\n      14\n      /* CompletionItemKind.Constant */\n    );\n    data.set(\n      \"enum\",\n      15\n      /* CompletionItemKind.Enum */\n    );\n    data.set(\n      \"enum-member\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"enumMember\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"keyword\",\n      17\n      /* CompletionItemKind.Keyword */\n    );\n    data.set(\n      \"snippet\",\n      27\n      /* CompletionItemKind.Snippet */\n    );\n    data.set(\n      \"text\",\n      18\n      /* CompletionItemKind.Text */\n    );\n    data.set(\n      \"color\",\n      19\n      /* CompletionItemKind.Color */\n    );\n    data.set(\n      \"file\",\n      20\n      /* CompletionItemKind.File */\n    );\n    data.set(\n      \"reference\",\n      21\n      /* CompletionItemKind.Reference */\n    );\n    data.set(\n      \"customcolor\",\n      22\n      /* CompletionItemKind.Customcolor */\n    );\n    data.set(\n      \"folder\",\n      23\n      /* CompletionItemKind.Folder */\n    );\n    data.set(\n      \"type-parameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"typeParameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"account\",\n      25\n      /* CompletionItemKind.User */\n    );\n    data.set(\n      \"issue\",\n      26\n      /* CompletionItemKind.Issue */\n    );\n    function fromString(value2, strict) {\n      let res = data.get(value2);\n      if (typeof res === \"undefined\" && !strict) {\n        res = 9;\n      }\n      return res;\n    }\n    CompletionItemKinds2.fromString = fromString;\n  })(CompletionItemKinds || (CompletionItemKinds = {}));\n  var InlineCompletionTriggerKind2;\n  (function(InlineCompletionTriggerKind4) {\n    InlineCompletionTriggerKind4[InlineCompletionTriggerKind4[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind4[InlineCompletionTriggerKind4[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {}));\n  var DocumentPasteTriggerKind;\n  (function(DocumentPasteTriggerKind2) {\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"Automatic\"] = 0] = \"Automatic\";\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"PasteAs\"] = 1] = \"PasteAs\";\n  })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {}));\n  var SignatureHelpTriggerKind;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));\n  var DocumentHighlightKind2;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {}));\n  var symbolKindNames = {\n    [\n      17\n      /* SymbolKind.Array */\n    ]: localize(\"Array\", \"array\"),\n    [\n      16\n      /* SymbolKind.Boolean */\n    ]: localize(\"Boolean\", \"boolean\"),\n    [\n      4\n      /* SymbolKind.Class */\n    ]: localize(\"Class\", \"class\"),\n    [\n      13\n      /* SymbolKind.Constant */\n    ]: localize(\"Constant\", \"constant\"),\n    [\n      8\n      /* SymbolKind.Constructor */\n    ]: localize(\"Constructor\", \"constructor\"),\n    [\n      9\n      /* SymbolKind.Enum */\n    ]: localize(\"Enum\", \"enumeration\"),\n    [\n      21\n      /* SymbolKind.EnumMember */\n    ]: localize(\"EnumMember\", \"enumeration member\"),\n    [\n      23\n      /* SymbolKind.Event */\n    ]: localize(\"Event\", \"event\"),\n    [\n      7\n      /* SymbolKind.Field */\n    ]: localize(\"Field\", \"field\"),\n    [\n      0\n      /* SymbolKind.File */\n    ]: localize(\"File\", \"file\"),\n    [\n      11\n      /* SymbolKind.Function */\n    ]: localize(\"Function\", \"function\"),\n    [\n      10\n      /* SymbolKind.Interface */\n    ]: localize(\"Interface\", \"interface\"),\n    [\n      19\n      /* SymbolKind.Key */\n    ]: localize(\"Key\", \"key\"),\n    [\n      5\n      /* SymbolKind.Method */\n    ]: localize(\"Method\", \"method\"),\n    [\n      1\n      /* SymbolKind.Module */\n    ]: localize(\"Module\", \"module\"),\n    [\n      2\n      /* SymbolKind.Namespace */\n    ]: localize(\"Namespace\", \"namespace\"),\n    [\n      20\n      /* SymbolKind.Null */\n    ]: localize(\"Null\", \"null\"),\n    [\n      15\n      /* SymbolKind.Number */\n    ]: localize(\"Number\", \"number\"),\n    [\n      18\n      /* SymbolKind.Object */\n    ]: localize(\"Object\", \"object\"),\n    [\n      24\n      /* SymbolKind.Operator */\n    ]: localize(\"Operator\", \"operator\"),\n    [\n      3\n      /* SymbolKind.Package */\n    ]: localize(\"Package\", \"package\"),\n    [\n      6\n      /* SymbolKind.Property */\n    ]: localize(\"Property\", \"property\"),\n    [\n      14\n      /* SymbolKind.String */\n    ]: localize(\"String\", \"string\"),\n    [\n      22\n      /* SymbolKind.Struct */\n    ]: localize(\"Struct\", \"struct\"),\n    [\n      25\n      /* SymbolKind.TypeParameter */\n    ]: localize(\"TypeParameter\", \"type parameter\"),\n    [\n      12\n      /* SymbolKind.Variable */\n    ]: localize(\"Variable\", \"variable\")\n  };\n  var SymbolKinds;\n  (function(SymbolKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolFile);\n    byKind.set(1, Codicon.symbolModule);\n    byKind.set(2, Codicon.symbolNamespace);\n    byKind.set(3, Codicon.symbolPackage);\n    byKind.set(4, Codicon.symbolClass);\n    byKind.set(5, Codicon.symbolMethod);\n    byKind.set(6, Codicon.symbolProperty);\n    byKind.set(7, Codicon.symbolField);\n    byKind.set(8, Codicon.symbolConstructor);\n    byKind.set(9, Codicon.symbolEnum);\n    byKind.set(10, Codicon.symbolInterface);\n    byKind.set(11, Codicon.symbolFunction);\n    byKind.set(12, Codicon.symbolVariable);\n    byKind.set(13, Codicon.symbolConstant);\n    byKind.set(14, Codicon.symbolString);\n    byKind.set(15, Codicon.symbolNumber);\n    byKind.set(16, Codicon.symbolBoolean);\n    byKind.set(17, Codicon.symbolArray);\n    byKind.set(18, Codicon.symbolObject);\n    byKind.set(19, Codicon.symbolKey);\n    byKind.set(20, Codicon.symbolNull);\n    byKind.set(21, Codicon.symbolEnumMember);\n    byKind.set(22, Codicon.symbolStruct);\n    byKind.set(23, Codicon.symbolEvent);\n    byKind.set(24, Codicon.symbolOperator);\n    byKind.set(25, Codicon.symbolTypeParameter);\n    function toIcon(kind) {\n      let icon = byKind.get(kind);\n      if (!icon) {\n        console.info(\"No codicon found for SymbolKind \" + kind);\n        icon = Codicon.symbolProperty;\n      }\n      return icon;\n    }\n    SymbolKinds2.toIcon = toIcon;\n  })(SymbolKinds || (SymbolKinds = {}));\n  var FoldingRangeKind2 = class _FoldingRangeKind {\n    /**\n     * Returns a {@link FoldingRangeKind} for the given value.\n     *\n     * @param value of the kind.\n     */\n    static fromValue(value2) {\n      switch (value2) {\n        case \"comment\":\n          return _FoldingRangeKind.Comment;\n        case \"imports\":\n          return _FoldingRangeKind.Imports;\n        case \"region\":\n          return _FoldingRangeKind.Region;\n      }\n      return new _FoldingRangeKind(value2);\n    }\n    /**\n     * Creates a new {@link FoldingRangeKind}.\n     *\n     * @param value of the kind.\n     */\n    constructor(value2) {\n      this.value = value2;\n    }\n  };\n  FoldingRangeKind2.Comment = new FoldingRangeKind2(\"comment\");\n  FoldingRangeKind2.Imports = new FoldingRangeKind2(\"imports\");\n  FoldingRangeKind2.Region = new FoldingRangeKind2(\"region\");\n  var NewSymbolNameTag;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag || (NewSymbolNameTag = {}));\n  var NewSymbolNameTriggerKind;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {}));\n  var Command2;\n  (function(Command3) {\n    function is(obj) {\n      if (!obj || typeof obj !== \"object\") {\n        return false;\n      }\n      return typeof obj.id === \"string\" && typeof obj.title === \"string\";\n    }\n    Command3.is = is;\n  })(Command2 || (Command2 = {}));\n  var InlayHintKind2;\n  (function(InlayHintKind4) {\n    InlayHintKind4[InlayHintKind4[\"Type\"] = 1] = \"Type\";\n    InlayHintKind4[InlayHintKind4[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind2 || (InlayHintKind2 = {}));\n  var TokenizationRegistry2 = new TokenizationRegistry();\n  var InlineEditTriggerKind;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind || (InlineEditTriggerKind = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js\n  var AccessibilitySupport;\n  (function(AccessibilitySupport2) {\n    AccessibilitySupport2[AccessibilitySupport2[\"Unknown\"] = 0] = \"Unknown\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Disabled\"] = 1] = \"Disabled\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Enabled\"] = 2] = \"Enabled\";\n  })(AccessibilitySupport || (AccessibilitySupport = {}));\n  var CodeActionTriggerType;\n  (function(CodeActionTriggerType2) {\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Invoke\"] = 1] = \"Invoke\";\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Auto\"] = 2] = \"Auto\";\n  })(CodeActionTriggerType || (CodeActionTriggerType = {}));\n  var CompletionItemInsertTextRule;\n  (function(CompletionItemInsertTextRule2) {\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"None\"] = 0] = \"None\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"KeepWhitespace\"] = 1] = \"KeepWhitespace\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"InsertAsSnippet\"] = 4] = \"InsertAsSnippet\";\n  })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));\n  var CompletionItemKind2;\n  (function(CompletionItemKind3) {\n    CompletionItemKind3[CompletionItemKind3[\"Method\"] = 0] = \"Method\";\n    CompletionItemKind3[CompletionItemKind3[\"Function\"] = 1] = \"Function\";\n    CompletionItemKind3[CompletionItemKind3[\"Constructor\"] = 2] = \"Constructor\";\n    CompletionItemKind3[CompletionItemKind3[\"Field\"] = 3] = \"Field\";\n    CompletionItemKind3[CompletionItemKind3[\"Variable\"] = 4] = \"Variable\";\n    CompletionItemKind3[CompletionItemKind3[\"Class\"] = 5] = \"Class\";\n    CompletionItemKind3[CompletionItemKind3[\"Struct\"] = 6] = \"Struct\";\n    CompletionItemKind3[CompletionItemKind3[\"Interface\"] = 7] = \"Interface\";\n    CompletionItemKind3[CompletionItemKind3[\"Module\"] = 8] = \"Module\";\n    CompletionItemKind3[CompletionItemKind3[\"Property\"] = 9] = \"Property\";\n    CompletionItemKind3[CompletionItemKind3[\"Event\"] = 10] = \"Event\";\n    CompletionItemKind3[CompletionItemKind3[\"Operator\"] = 11] = \"Operator\";\n    CompletionItemKind3[CompletionItemKind3[\"Unit\"] = 12] = \"Unit\";\n    CompletionItemKind3[CompletionItemKind3[\"Value\"] = 13] = \"Value\";\n    CompletionItemKind3[CompletionItemKind3[\"Constant\"] = 14] = \"Constant\";\n    CompletionItemKind3[CompletionItemKind3[\"Enum\"] = 15] = \"Enum\";\n    CompletionItemKind3[CompletionItemKind3[\"EnumMember\"] = 16] = \"EnumMember\";\n    CompletionItemKind3[CompletionItemKind3[\"Keyword\"] = 17] = \"Keyword\";\n    CompletionItemKind3[CompletionItemKind3[\"Text\"] = 18] = \"Text\";\n    CompletionItemKind3[CompletionItemKind3[\"Color\"] = 19] = \"Color\";\n    CompletionItemKind3[CompletionItemKind3[\"File\"] = 20] = \"File\";\n    CompletionItemKind3[CompletionItemKind3[\"Reference\"] = 21] = \"Reference\";\n    CompletionItemKind3[CompletionItemKind3[\"Customcolor\"] = 22] = \"Customcolor\";\n    CompletionItemKind3[CompletionItemKind3[\"Folder\"] = 23] = \"Folder\";\n    CompletionItemKind3[CompletionItemKind3[\"TypeParameter\"] = 24] = \"TypeParameter\";\n    CompletionItemKind3[CompletionItemKind3[\"User\"] = 25] = \"User\";\n    CompletionItemKind3[CompletionItemKind3[\"Issue\"] = 26] = \"Issue\";\n    CompletionItemKind3[CompletionItemKind3[\"Snippet\"] = 27] = \"Snippet\";\n  })(CompletionItemKind2 || (CompletionItemKind2 = {}));\n  var CompletionItemTag2;\n  (function(CompletionItemTag3) {\n    CompletionItemTag3[CompletionItemTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(CompletionItemTag2 || (CompletionItemTag2 = {}));\n  var CompletionTriggerKind;\n  (function(CompletionTriggerKind2) {\n    CompletionTriggerKind2[CompletionTriggerKind2[\"Invoke\"] = 0] = \"Invoke\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerCharacter\"] = 1] = \"TriggerCharacter\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerForIncompleteCompletions\"] = 2] = \"TriggerForIncompleteCompletions\";\n  })(CompletionTriggerKind || (CompletionTriggerKind = {}));\n  var ContentWidgetPositionPreference;\n  (function(ContentWidgetPositionPreference2) {\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"EXACT\"] = 0] = \"EXACT\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"ABOVE\"] = 1] = \"ABOVE\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"BELOW\"] = 2] = \"BELOW\";\n  })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));\n  var CursorChangeReason;\n  (function(CursorChangeReason2) {\n    CursorChangeReason2[CursorChangeReason2[\"NotSet\"] = 0] = \"NotSet\";\n    CursorChangeReason2[CursorChangeReason2[\"ContentFlush\"] = 1] = \"ContentFlush\";\n    CursorChangeReason2[CursorChangeReason2[\"RecoverFromMarkers\"] = 2] = \"RecoverFromMarkers\";\n    CursorChangeReason2[CursorChangeReason2[\"Explicit\"] = 3] = \"Explicit\";\n    CursorChangeReason2[CursorChangeReason2[\"Paste\"] = 4] = \"Paste\";\n    CursorChangeReason2[CursorChangeReason2[\"Undo\"] = 5] = \"Undo\";\n    CursorChangeReason2[CursorChangeReason2[\"Redo\"] = 6] = \"Redo\";\n  })(CursorChangeReason || (CursorChangeReason = {}));\n  var DefaultEndOfLine;\n  (function(DefaultEndOfLine2) {\n    DefaultEndOfLine2[DefaultEndOfLine2[\"LF\"] = 1] = \"LF\";\n    DefaultEndOfLine2[DefaultEndOfLine2[\"CRLF\"] = 2] = \"CRLF\";\n  })(DefaultEndOfLine || (DefaultEndOfLine = {}));\n  var DocumentHighlightKind3;\n  (function(DocumentHighlightKind4) {\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind4[DocumentHighlightKind4[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind3 || (DocumentHighlightKind3 = {}));\n  var EditorAutoIndentStrategy;\n  (function(EditorAutoIndentStrategy2) {\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"None\"] = 0] = \"None\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Keep\"] = 1] = \"Keep\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Brackets\"] = 2] = \"Brackets\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Advanced\"] = 3] = \"Advanced\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Full\"] = 4] = \"Full\";\n  })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));\n  var EditorOption;\n  (function(EditorOption2) {\n    EditorOption2[EditorOption2[\"acceptSuggestionOnCommitCharacter\"] = 0] = \"acceptSuggestionOnCommitCharacter\";\n    EditorOption2[EditorOption2[\"acceptSuggestionOnEnter\"] = 1] = \"acceptSuggestionOnEnter\";\n    EditorOption2[EditorOption2[\"accessibilitySupport\"] = 2] = \"accessibilitySupport\";\n    EditorOption2[EditorOption2[\"accessibilityPageSize\"] = 3] = \"accessibilityPageSize\";\n    EditorOption2[EditorOption2[\"ariaLabel\"] = 4] = \"ariaLabel\";\n    EditorOption2[EditorOption2[\"ariaRequired\"] = 5] = \"ariaRequired\";\n    EditorOption2[EditorOption2[\"autoClosingBrackets\"] = 6] = \"autoClosingBrackets\";\n    EditorOption2[EditorOption2[\"autoClosingComments\"] = 7] = \"autoClosingComments\";\n    EditorOption2[EditorOption2[\"screenReaderAnnounceInlineSuggestion\"] = 8] = \"screenReaderAnnounceInlineSuggestion\";\n    EditorOption2[EditorOption2[\"autoClosingDelete\"] = 9] = \"autoClosingDelete\";\n    EditorOption2[EditorOption2[\"autoClosingOvertype\"] = 10] = \"autoClosingOvertype\";\n    EditorOption2[EditorOption2[\"autoClosingQuotes\"] = 11] = \"autoClosingQuotes\";\n    EditorOption2[EditorOption2[\"autoIndent\"] = 12] = \"autoIndent\";\n    EditorOption2[EditorOption2[\"automaticLayout\"] = 13] = \"automaticLayout\";\n    EditorOption2[EditorOption2[\"autoSurround\"] = 14] = \"autoSurround\";\n    EditorOption2[EditorOption2[\"bracketPairColorization\"] = 15] = \"bracketPairColorization\";\n    EditorOption2[EditorOption2[\"guides\"] = 16] = \"guides\";\n    EditorOption2[EditorOption2[\"codeLens\"] = 17] = \"codeLens\";\n    EditorOption2[EditorOption2[\"codeLensFontFamily\"] = 18] = \"codeLensFontFamily\";\n    EditorOption2[EditorOption2[\"codeLensFontSize\"] = 19] = \"codeLensFontSize\";\n    EditorOption2[EditorOption2[\"colorDecorators\"] = 20] = \"colorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsLimit\"] = 21] = \"colorDecoratorsLimit\";\n    EditorOption2[EditorOption2[\"columnSelection\"] = 22] = \"columnSelection\";\n    EditorOption2[EditorOption2[\"comments\"] = 23] = \"comments\";\n    EditorOption2[EditorOption2[\"contextmenu\"] = 24] = \"contextmenu\";\n    EditorOption2[EditorOption2[\"copyWithSyntaxHighlighting\"] = 25] = \"copyWithSyntaxHighlighting\";\n    EditorOption2[EditorOption2[\"cursorBlinking\"] = 26] = \"cursorBlinking\";\n    EditorOption2[EditorOption2[\"cursorSmoothCaretAnimation\"] = 27] = \"cursorSmoothCaretAnimation\";\n    EditorOption2[EditorOption2[\"cursorStyle\"] = 28] = \"cursorStyle\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLines\"] = 29] = \"cursorSurroundingLines\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLinesStyle\"] = 30] = \"cursorSurroundingLinesStyle\";\n    EditorOption2[EditorOption2[\"cursorWidth\"] = 31] = \"cursorWidth\";\n    EditorOption2[EditorOption2[\"disableLayerHinting\"] = 32] = \"disableLayerHinting\";\n    EditorOption2[EditorOption2[\"disableMonospaceOptimizations\"] = 33] = \"disableMonospaceOptimizations\";\n    EditorOption2[EditorOption2[\"domReadOnly\"] = 34] = \"domReadOnly\";\n    EditorOption2[EditorOption2[\"dragAndDrop\"] = 35] = \"dragAndDrop\";\n    EditorOption2[EditorOption2[\"dropIntoEditor\"] = 36] = \"dropIntoEditor\";\n    EditorOption2[EditorOption2[\"emptySelectionClipboard\"] = 37] = \"emptySelectionClipboard\";\n    EditorOption2[EditorOption2[\"experimentalWhitespaceRendering\"] = 38] = \"experimentalWhitespaceRendering\";\n    EditorOption2[EditorOption2[\"extraEditorClassName\"] = 39] = \"extraEditorClassName\";\n    EditorOption2[EditorOption2[\"fastScrollSensitivity\"] = 40] = \"fastScrollSensitivity\";\n    EditorOption2[EditorOption2[\"find\"] = 41] = \"find\";\n    EditorOption2[EditorOption2[\"fixedOverflowWidgets\"] = 42] = \"fixedOverflowWidgets\";\n    EditorOption2[EditorOption2[\"folding\"] = 43] = \"folding\";\n    EditorOption2[EditorOption2[\"foldingStrategy\"] = 44] = \"foldingStrategy\";\n    EditorOption2[EditorOption2[\"foldingHighlight\"] = 45] = \"foldingHighlight\";\n    EditorOption2[EditorOption2[\"foldingImportsByDefault\"] = 46] = \"foldingImportsByDefault\";\n    EditorOption2[EditorOption2[\"foldingMaximumRegions\"] = 47] = \"foldingMaximumRegions\";\n    EditorOption2[EditorOption2[\"unfoldOnClickAfterEndOfLine\"] = 48] = \"unfoldOnClickAfterEndOfLine\";\n    EditorOption2[EditorOption2[\"fontFamily\"] = 49] = \"fontFamily\";\n    EditorOption2[EditorOption2[\"fontInfo\"] = 50] = \"fontInfo\";\n    EditorOption2[EditorOption2[\"fontLigatures\"] = 51] = \"fontLigatures\";\n    EditorOption2[EditorOption2[\"fontSize\"] = 52] = \"fontSize\";\n    EditorOption2[EditorOption2[\"fontWeight\"] = 53] = \"fontWeight\";\n    EditorOption2[EditorOption2[\"fontVariations\"] = 54] = \"fontVariations\";\n    EditorOption2[EditorOption2[\"formatOnPaste\"] = 55] = \"formatOnPaste\";\n    EditorOption2[EditorOption2[\"formatOnType\"] = 56] = \"formatOnType\";\n    EditorOption2[EditorOption2[\"glyphMargin\"] = 57] = \"glyphMargin\";\n    EditorOption2[EditorOption2[\"gotoLocation\"] = 58] = \"gotoLocation\";\n    EditorOption2[EditorOption2[\"hideCursorInOverviewRuler\"] = 59] = \"hideCursorInOverviewRuler\";\n    EditorOption2[EditorOption2[\"hover\"] = 60] = \"hover\";\n    EditorOption2[EditorOption2[\"inDiffEditor\"] = 61] = \"inDiffEditor\";\n    EditorOption2[EditorOption2[\"inlineSuggest\"] = 62] = \"inlineSuggest\";\n    EditorOption2[EditorOption2[\"inlineEdit\"] = 63] = \"inlineEdit\";\n    EditorOption2[EditorOption2[\"letterSpacing\"] = 64] = \"letterSpacing\";\n    EditorOption2[EditorOption2[\"lightbulb\"] = 65] = \"lightbulb\";\n    EditorOption2[EditorOption2[\"lineDecorationsWidth\"] = 66] = \"lineDecorationsWidth\";\n    EditorOption2[EditorOption2[\"lineHeight\"] = 67] = \"lineHeight\";\n    EditorOption2[EditorOption2[\"lineNumbers\"] = 68] = \"lineNumbers\";\n    EditorOption2[EditorOption2[\"lineNumbersMinChars\"] = 69] = \"lineNumbersMinChars\";\n    EditorOption2[EditorOption2[\"linkedEditing\"] = 70] = \"linkedEditing\";\n    EditorOption2[EditorOption2[\"links\"] = 71] = \"links\";\n    EditorOption2[EditorOption2[\"matchBrackets\"] = 72] = \"matchBrackets\";\n    EditorOption2[EditorOption2[\"minimap\"] = 73] = \"minimap\";\n    EditorOption2[EditorOption2[\"mouseStyle\"] = 74] = \"mouseStyle\";\n    EditorOption2[EditorOption2[\"mouseWheelScrollSensitivity\"] = 75] = \"mouseWheelScrollSensitivity\";\n    EditorOption2[EditorOption2[\"mouseWheelZoom\"] = 76] = \"mouseWheelZoom\";\n    EditorOption2[EditorOption2[\"multiCursorMergeOverlapping\"] = 77] = \"multiCursorMergeOverlapping\";\n    EditorOption2[EditorOption2[\"multiCursorModifier\"] = 78] = \"multiCursorModifier\";\n    EditorOption2[EditorOption2[\"multiCursorPaste\"] = 79] = \"multiCursorPaste\";\n    EditorOption2[EditorOption2[\"multiCursorLimit\"] = 80] = \"multiCursorLimit\";\n    EditorOption2[EditorOption2[\"occurrencesHighlight\"] = 81] = \"occurrencesHighlight\";\n    EditorOption2[EditorOption2[\"overviewRulerBorder\"] = 82] = \"overviewRulerBorder\";\n    EditorOption2[EditorOption2[\"overviewRulerLanes\"] = 83] = \"overviewRulerLanes\";\n    EditorOption2[EditorOption2[\"padding\"] = 84] = \"padding\";\n    EditorOption2[EditorOption2[\"pasteAs\"] = 85] = \"pasteAs\";\n    EditorOption2[EditorOption2[\"parameterHints\"] = 86] = \"parameterHints\";\n    EditorOption2[EditorOption2[\"peekWidgetDefaultFocus\"] = 87] = \"peekWidgetDefaultFocus\";\n    EditorOption2[EditorOption2[\"definitionLinkOpensInPeek\"] = 88] = \"definitionLinkOpensInPeek\";\n    EditorOption2[EditorOption2[\"quickSuggestions\"] = 89] = \"quickSuggestions\";\n    EditorOption2[EditorOption2[\"quickSuggestionsDelay\"] = 90] = \"quickSuggestionsDelay\";\n    EditorOption2[EditorOption2[\"readOnly\"] = 91] = \"readOnly\";\n    EditorOption2[EditorOption2[\"readOnlyMessage\"] = 92] = \"readOnlyMessage\";\n    EditorOption2[EditorOption2[\"renameOnType\"] = 93] = \"renameOnType\";\n    EditorOption2[EditorOption2[\"renderControlCharacters\"] = 94] = \"renderControlCharacters\";\n    EditorOption2[EditorOption2[\"renderFinalNewline\"] = 95] = \"renderFinalNewline\";\n    EditorOption2[EditorOption2[\"renderLineHighlight\"] = 96] = \"renderLineHighlight\";\n    EditorOption2[EditorOption2[\"renderLineHighlightOnlyWhenFocus\"] = 97] = \"renderLineHighlightOnlyWhenFocus\";\n    EditorOption2[EditorOption2[\"renderValidationDecorations\"] = 98] = \"renderValidationDecorations\";\n    EditorOption2[EditorOption2[\"renderWhitespace\"] = 99] = \"renderWhitespace\";\n    EditorOption2[EditorOption2[\"revealHorizontalRightPadding\"] = 100] = \"revealHorizontalRightPadding\";\n    EditorOption2[EditorOption2[\"roundedSelection\"] = 101] = \"roundedSelection\";\n    EditorOption2[EditorOption2[\"rulers\"] = 102] = \"rulers\";\n    EditorOption2[EditorOption2[\"scrollbar\"] = 103] = \"scrollbar\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastColumn\"] = 104] = \"scrollBeyondLastColumn\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastLine\"] = 105] = \"scrollBeyondLastLine\";\n    EditorOption2[EditorOption2[\"scrollPredominantAxis\"] = 106] = \"scrollPredominantAxis\";\n    EditorOption2[EditorOption2[\"selectionClipboard\"] = 107] = \"selectionClipboard\";\n    EditorOption2[EditorOption2[\"selectionHighlight\"] = 108] = \"selectionHighlight\";\n    EditorOption2[EditorOption2[\"selectOnLineNumbers\"] = 109] = \"selectOnLineNumbers\";\n    EditorOption2[EditorOption2[\"showFoldingControls\"] = 110] = \"showFoldingControls\";\n    EditorOption2[EditorOption2[\"showUnused\"] = 111] = \"showUnused\";\n    EditorOption2[EditorOption2[\"snippetSuggestions\"] = 112] = \"snippetSuggestions\";\n    EditorOption2[EditorOption2[\"smartSelect\"] = 113] = \"smartSelect\";\n    EditorOption2[EditorOption2[\"smoothScrolling\"] = 114] = \"smoothScrolling\";\n    EditorOption2[EditorOption2[\"stickyScroll\"] = 115] = \"stickyScroll\";\n    EditorOption2[EditorOption2[\"stickyTabStops\"] = 116] = \"stickyTabStops\";\n    EditorOption2[EditorOption2[\"stopRenderingLineAfter\"] = 117] = \"stopRenderingLineAfter\";\n    EditorOption2[EditorOption2[\"suggest\"] = 118] = \"suggest\";\n    EditorOption2[EditorOption2[\"suggestFontSize\"] = 119] = \"suggestFontSize\";\n    EditorOption2[EditorOption2[\"suggestLineHeight\"] = 120] = \"suggestLineHeight\";\n    EditorOption2[EditorOption2[\"suggestOnTriggerCharacters\"] = 121] = \"suggestOnTriggerCharacters\";\n    EditorOption2[EditorOption2[\"suggestSelection\"] = 122] = \"suggestSelection\";\n    EditorOption2[EditorOption2[\"tabCompletion\"] = 123] = \"tabCompletion\";\n    EditorOption2[EditorOption2[\"tabIndex\"] = 124] = \"tabIndex\";\n    EditorOption2[EditorOption2[\"unicodeHighlighting\"] = 125] = \"unicodeHighlighting\";\n    EditorOption2[EditorOption2[\"unusualLineTerminators\"] = 126] = \"unusualLineTerminators\";\n    EditorOption2[EditorOption2[\"useShadowDOM\"] = 127] = \"useShadowDOM\";\n    EditorOption2[EditorOption2[\"useTabStops\"] = 128] = \"useTabStops\";\n    EditorOption2[EditorOption2[\"wordBreak\"] = 129] = \"wordBreak\";\n    EditorOption2[EditorOption2[\"wordSegmenterLocales\"] = 130] = \"wordSegmenterLocales\";\n    EditorOption2[EditorOption2[\"wordSeparators\"] = 131] = \"wordSeparators\";\n    EditorOption2[EditorOption2[\"wordWrap\"] = 132] = \"wordWrap\";\n    EditorOption2[EditorOption2[\"wordWrapBreakAfterCharacters\"] = 133] = \"wordWrapBreakAfterCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapBreakBeforeCharacters\"] = 134] = \"wordWrapBreakBeforeCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapColumn\"] = 135] = \"wordWrapColumn\";\n    EditorOption2[EditorOption2[\"wordWrapOverride1\"] = 136] = \"wordWrapOverride1\";\n    EditorOption2[EditorOption2[\"wordWrapOverride2\"] = 137] = \"wordWrapOverride2\";\n    EditorOption2[EditorOption2[\"wrappingIndent\"] = 138] = \"wrappingIndent\";\n    EditorOption2[EditorOption2[\"wrappingStrategy\"] = 139] = \"wrappingStrategy\";\n    EditorOption2[EditorOption2[\"showDeprecated\"] = 140] = \"showDeprecated\";\n    EditorOption2[EditorOption2[\"inlayHints\"] = 141] = \"inlayHints\";\n    EditorOption2[EditorOption2[\"editorClassName\"] = 142] = \"editorClassName\";\n    EditorOption2[EditorOption2[\"pixelRatio\"] = 143] = \"pixelRatio\";\n    EditorOption2[EditorOption2[\"tabFocusMode\"] = 144] = \"tabFocusMode\";\n    EditorOption2[EditorOption2[\"layoutInfo\"] = 145] = \"layoutInfo\";\n    EditorOption2[EditorOption2[\"wrappingInfo\"] = 146] = \"wrappingInfo\";\n    EditorOption2[EditorOption2[\"defaultColorDecorators\"] = 147] = \"defaultColorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsActivatedOn\"] = 148] = \"colorDecoratorsActivatedOn\";\n    EditorOption2[EditorOption2[\"inlineCompletionsAccessibilityVerbose\"] = 149] = \"inlineCompletionsAccessibilityVerbose\";\n  })(EditorOption || (EditorOption = {}));\n  var EndOfLinePreference;\n  (function(EndOfLinePreference2) {\n    EndOfLinePreference2[EndOfLinePreference2[\"TextDefined\"] = 0] = \"TextDefined\";\n    EndOfLinePreference2[EndOfLinePreference2[\"LF\"] = 1] = \"LF\";\n    EndOfLinePreference2[EndOfLinePreference2[\"CRLF\"] = 2] = \"CRLF\";\n  })(EndOfLinePreference || (EndOfLinePreference = {}));\n  var EndOfLineSequence;\n  (function(EndOfLineSequence2) {\n    EndOfLineSequence2[EndOfLineSequence2[\"LF\"] = 0] = \"LF\";\n    EndOfLineSequence2[EndOfLineSequence2[\"CRLF\"] = 1] = \"CRLF\";\n  })(EndOfLineSequence || (EndOfLineSequence = {}));\n  var GlyphMarginLane;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane || (GlyphMarginLane = {}));\n  var HoverVerbosityAction2;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {}));\n  var IndentAction;\n  (function(IndentAction2) {\n    IndentAction2[IndentAction2[\"None\"] = 0] = \"None\";\n    IndentAction2[IndentAction2[\"Indent\"] = 1] = \"Indent\";\n    IndentAction2[IndentAction2[\"IndentOutdent\"] = 2] = \"IndentOutdent\";\n    IndentAction2[IndentAction2[\"Outdent\"] = 3] = \"Outdent\";\n  })(IndentAction || (IndentAction = {}));\n  var InjectedTextCursorStops;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops || (InjectedTextCursorStops = {}));\n  var InlayHintKind3;\n  (function(InlayHintKind4) {\n    InlayHintKind4[InlayHintKind4[\"Type\"] = 1] = \"Type\";\n    InlayHintKind4[InlayHintKind4[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind3 || (InlayHintKind3 = {}));\n  var InlineCompletionTriggerKind3;\n  (function(InlineCompletionTriggerKind4) {\n    InlineCompletionTriggerKind4[InlineCompletionTriggerKind4[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind4[InlineCompletionTriggerKind4[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind3 || (InlineCompletionTriggerKind3 = {}));\n  var InlineEditTriggerKind2;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {}));\n  var KeyCode;\n  (function(KeyCode2) {\n    KeyCode2[KeyCode2[\"DependsOnKbLayout\"] = -1] = \"DependsOnKbLayout\";\n    KeyCode2[KeyCode2[\"Unknown\"] = 0] = \"Unknown\";\n    KeyCode2[KeyCode2[\"Backspace\"] = 1] = \"Backspace\";\n    KeyCode2[KeyCode2[\"Tab\"] = 2] = \"Tab\";\n    KeyCode2[KeyCode2[\"Enter\"] = 3] = \"Enter\";\n    KeyCode2[KeyCode2[\"Shift\"] = 4] = \"Shift\";\n    KeyCode2[KeyCode2[\"Ctrl\"] = 5] = \"Ctrl\";\n    KeyCode2[KeyCode2[\"Alt\"] = 6] = \"Alt\";\n    KeyCode2[KeyCode2[\"PauseBreak\"] = 7] = \"PauseBreak\";\n    KeyCode2[KeyCode2[\"CapsLock\"] = 8] = \"CapsLock\";\n    KeyCode2[KeyCode2[\"Escape\"] = 9] = \"Escape\";\n    KeyCode2[KeyCode2[\"Space\"] = 10] = \"Space\";\n    KeyCode2[KeyCode2[\"PageUp\"] = 11] = \"PageUp\";\n    KeyCode2[KeyCode2[\"PageDown\"] = 12] = \"PageDown\";\n    KeyCode2[KeyCode2[\"End\"] = 13] = \"End\";\n    KeyCode2[KeyCode2[\"Home\"] = 14] = \"Home\";\n    KeyCode2[KeyCode2[\"LeftArrow\"] = 15] = \"LeftArrow\";\n    KeyCode2[KeyCode2[\"UpArrow\"] = 16] = \"UpArrow\";\n    KeyCode2[KeyCode2[\"RightArrow\"] = 17] = \"RightArrow\";\n    KeyCode2[KeyCode2[\"DownArrow\"] = 18] = \"DownArrow\";\n    KeyCode2[KeyCode2[\"Insert\"] = 19] = \"Insert\";\n    KeyCode2[KeyCode2[\"Delete\"] = 20] = \"Delete\";\n    KeyCode2[KeyCode2[\"Digit0\"] = 21] = \"Digit0\";\n    KeyCode2[KeyCode2[\"Digit1\"] = 22] = \"Digit1\";\n    KeyCode2[KeyCode2[\"Digit2\"] = 23] = \"Digit2\";\n    KeyCode2[KeyCode2[\"Digit3\"] = 24] = \"Digit3\";\n    KeyCode2[KeyCode2[\"Digit4\"] = 25] = \"Digit4\";\n    KeyCode2[KeyCode2[\"Digit5\"] = 26] = \"Digit5\";\n    KeyCode2[KeyCode2[\"Digit6\"] = 27] = \"Digit6\";\n    KeyCode2[KeyCode2[\"Digit7\"] = 28] = \"Digit7\";\n    KeyCode2[KeyCode2[\"Digit8\"] = 29] = \"Digit8\";\n    KeyCode2[KeyCode2[\"Digit9\"] = 30] = \"Digit9\";\n    KeyCode2[KeyCode2[\"KeyA\"] = 31] = \"KeyA\";\n    KeyCode2[KeyCode2[\"KeyB\"] = 32] = \"KeyB\";\n    KeyCode2[KeyCode2[\"KeyC\"] = 33] = \"KeyC\";\n    KeyCode2[KeyCode2[\"KeyD\"] = 34] = \"KeyD\";\n    KeyCode2[KeyCode2[\"KeyE\"] = 35] = \"KeyE\";\n    KeyCode2[KeyCode2[\"KeyF\"] = 36] = \"KeyF\";\n    KeyCode2[KeyCode2[\"KeyG\"] = 37] = \"KeyG\";\n    KeyCode2[KeyCode2[\"KeyH\"] = 38] = \"KeyH\";\n    KeyCode2[KeyCode2[\"KeyI\"] = 39] = \"KeyI\";\n    KeyCode2[KeyCode2[\"KeyJ\"] = 40] = \"KeyJ\";\n    KeyCode2[KeyCode2[\"KeyK\"] = 41] = \"KeyK\";\n    KeyCode2[KeyCode2[\"KeyL\"] = 42] = \"KeyL\";\n    KeyCode2[KeyCode2[\"KeyM\"] = 43] = \"KeyM\";\n    KeyCode2[KeyCode2[\"KeyN\"] = 44] = \"KeyN\";\n    KeyCode2[KeyCode2[\"KeyO\"] = 45] = \"KeyO\";\n    KeyCode2[KeyCode2[\"KeyP\"] = 46] = \"KeyP\";\n    KeyCode2[KeyCode2[\"KeyQ\"] = 47] = \"KeyQ\";\n    KeyCode2[KeyCode2[\"KeyR\"] = 48] = \"KeyR\";\n    KeyCode2[KeyCode2[\"KeyS\"] = 49] = \"KeyS\";\n    KeyCode2[KeyCode2[\"KeyT\"] = 50] = \"KeyT\";\n    KeyCode2[KeyCode2[\"KeyU\"] = 51] = \"KeyU\";\n    KeyCode2[KeyCode2[\"KeyV\"] = 52] = \"KeyV\";\n    KeyCode2[KeyCode2[\"KeyW\"] = 53] = \"KeyW\";\n    KeyCode2[KeyCode2[\"KeyX\"] = 54] = \"KeyX\";\n    KeyCode2[KeyCode2[\"KeyY\"] = 55] = \"KeyY\";\n    KeyCode2[KeyCode2[\"KeyZ\"] = 56] = \"KeyZ\";\n    KeyCode2[KeyCode2[\"Meta\"] = 57] = \"Meta\";\n    KeyCode2[KeyCode2[\"ContextMenu\"] = 58] = \"ContextMenu\";\n    KeyCode2[KeyCode2[\"F1\"] = 59] = \"F1\";\n    KeyCode2[KeyCode2[\"F2\"] = 60] = \"F2\";\n    KeyCode2[KeyCode2[\"F3\"] = 61] = \"F3\";\n    KeyCode2[KeyCode2[\"F4\"] = 62] = \"F4\";\n    KeyCode2[KeyCode2[\"F5\"] = 63] = \"F5\";\n    KeyCode2[KeyCode2[\"F6\"] = 64] = \"F6\";\n    KeyCode2[KeyCode2[\"F7\"] = 65] = \"F7\";\n    KeyCode2[KeyCode2[\"F8\"] = 66] = \"F8\";\n    KeyCode2[KeyCode2[\"F9\"] = 67] = \"F9\";\n    KeyCode2[KeyCode2[\"F10\"] = 68] = \"F10\";\n    KeyCode2[KeyCode2[\"F11\"] = 69] = \"F11\";\n    KeyCode2[KeyCode2[\"F12\"] = 70] = \"F12\";\n    KeyCode2[KeyCode2[\"F13\"] = 71] = \"F13\";\n    KeyCode2[KeyCode2[\"F14\"] = 72] = \"F14\";\n    KeyCode2[KeyCode2[\"F15\"] = 73] = \"F15\";\n    KeyCode2[KeyCode2[\"F16\"] = 74] = \"F16\";\n    KeyCode2[KeyCode2[\"F17\"] = 75] = \"F17\";\n    KeyCode2[KeyCode2[\"F18\"] = 76] = \"F18\";\n    KeyCode2[KeyCode2[\"F19\"] = 77] = \"F19\";\n    KeyCode2[KeyCode2[\"F20\"] = 78] = \"F20\";\n    KeyCode2[KeyCode2[\"F21\"] = 79] = \"F21\";\n    KeyCode2[KeyCode2[\"F22\"] = 80] = \"F22\";\n    KeyCode2[KeyCode2[\"F23\"] = 81] = \"F23\";\n    KeyCode2[KeyCode2[\"F24\"] = 82] = \"F24\";\n    KeyCode2[KeyCode2[\"NumLock\"] = 83] = \"NumLock\";\n    KeyCode2[KeyCode2[\"ScrollLock\"] = 84] = \"ScrollLock\";\n    KeyCode2[KeyCode2[\"Semicolon\"] = 85] = \"Semicolon\";\n    KeyCode2[KeyCode2[\"Equal\"] = 86] = \"Equal\";\n    KeyCode2[KeyCode2[\"Comma\"] = 87] = \"Comma\";\n    KeyCode2[KeyCode2[\"Minus\"] = 88] = \"Minus\";\n    KeyCode2[KeyCode2[\"Period\"] = 89] = \"Period\";\n    KeyCode2[KeyCode2[\"Slash\"] = 90] = \"Slash\";\n    KeyCode2[KeyCode2[\"Backquote\"] = 91] = \"Backquote\";\n    KeyCode2[KeyCode2[\"BracketLeft\"] = 92] = \"BracketLeft\";\n    KeyCode2[KeyCode2[\"Backslash\"] = 93] = \"Backslash\";\n    KeyCode2[KeyCode2[\"BracketRight\"] = 94] = \"BracketRight\";\n    KeyCode2[KeyCode2[\"Quote\"] = 95] = \"Quote\";\n    KeyCode2[KeyCode2[\"OEM_8\"] = 96] = \"OEM_8\";\n    KeyCode2[KeyCode2[\"IntlBackslash\"] = 97] = \"IntlBackslash\";\n    KeyCode2[KeyCode2[\"Numpad0\"] = 98] = \"Numpad0\";\n    KeyCode2[KeyCode2[\"Numpad1\"] = 99] = \"Numpad1\";\n    KeyCode2[KeyCode2[\"Numpad2\"] = 100] = \"Numpad2\";\n    KeyCode2[KeyCode2[\"Numpad3\"] = 101] = \"Numpad3\";\n    KeyCode2[KeyCode2[\"Numpad4\"] = 102] = \"Numpad4\";\n    KeyCode2[KeyCode2[\"Numpad5\"] = 103] = \"Numpad5\";\n    KeyCode2[KeyCode2[\"Numpad6\"] = 104] = \"Numpad6\";\n    KeyCode2[KeyCode2[\"Numpad7\"] = 105] = \"Numpad7\";\n    KeyCode2[KeyCode2[\"Numpad8\"] = 106] = \"Numpad8\";\n    KeyCode2[KeyCode2[\"Numpad9\"] = 107] = \"Numpad9\";\n    KeyCode2[KeyCode2[\"NumpadMultiply\"] = 108] = \"NumpadMultiply\";\n    KeyCode2[KeyCode2[\"NumpadAdd\"] = 109] = \"NumpadAdd\";\n    KeyCode2[KeyCode2[\"NUMPAD_SEPARATOR\"] = 110] = \"NUMPAD_SEPARATOR\";\n    KeyCode2[KeyCode2[\"NumpadSubtract\"] = 111] = \"NumpadSubtract\";\n    KeyCode2[KeyCode2[\"NumpadDecimal\"] = 112] = \"NumpadDecimal\";\n    KeyCode2[KeyCode2[\"NumpadDivide\"] = 113] = \"NumpadDivide\";\n    KeyCode2[KeyCode2[\"KEY_IN_COMPOSITION\"] = 114] = \"KEY_IN_COMPOSITION\";\n    KeyCode2[KeyCode2[\"ABNT_C1\"] = 115] = \"ABNT_C1\";\n    KeyCode2[KeyCode2[\"ABNT_C2\"] = 116] = \"ABNT_C2\";\n    KeyCode2[KeyCode2[\"AudioVolumeMute\"] = 117] = \"AudioVolumeMute\";\n    KeyCode2[KeyCode2[\"AudioVolumeUp\"] = 118] = \"AudioVolumeUp\";\n    KeyCode2[KeyCode2[\"AudioVolumeDown\"] = 119] = \"AudioVolumeDown\";\n    KeyCode2[KeyCode2[\"BrowserSearch\"] = 120] = \"BrowserSearch\";\n    KeyCode2[KeyCode2[\"BrowserHome\"] = 121] = \"BrowserHome\";\n    KeyCode2[KeyCode2[\"BrowserBack\"] = 122] = \"BrowserBack\";\n    KeyCode2[KeyCode2[\"BrowserForward\"] = 123] = \"BrowserForward\";\n    KeyCode2[KeyCode2[\"MediaTrackNext\"] = 124] = \"MediaTrackNext\";\n    KeyCode2[KeyCode2[\"MediaTrackPrevious\"] = 125] = \"MediaTrackPrevious\";\n    KeyCode2[KeyCode2[\"MediaStop\"] = 126] = \"MediaStop\";\n    KeyCode2[KeyCode2[\"MediaPlayPause\"] = 127] = \"MediaPlayPause\";\n    KeyCode2[KeyCode2[\"LaunchMediaPlayer\"] = 128] = \"LaunchMediaPlayer\";\n    KeyCode2[KeyCode2[\"LaunchMail\"] = 129] = \"LaunchMail\";\n    KeyCode2[KeyCode2[\"LaunchApp2\"] = 130] = \"LaunchApp2\";\n    KeyCode2[KeyCode2[\"Clear\"] = 131] = \"Clear\";\n    KeyCode2[KeyCode2[\"MAX_VALUE\"] = 132] = \"MAX_VALUE\";\n  })(KeyCode || (KeyCode = {}));\n  var MarkerSeverity;\n  (function(MarkerSeverity2) {\n    MarkerSeverity2[MarkerSeverity2[\"Hint\"] = 1] = \"Hint\";\n    MarkerSeverity2[MarkerSeverity2[\"Info\"] = 2] = \"Info\";\n    MarkerSeverity2[MarkerSeverity2[\"Warning\"] = 4] = \"Warning\";\n    MarkerSeverity2[MarkerSeverity2[\"Error\"] = 8] = \"Error\";\n  })(MarkerSeverity || (MarkerSeverity = {}));\n  var MarkerTag;\n  (function(MarkerTag2) {\n    MarkerTag2[MarkerTag2[\"Unnecessary\"] = 1] = \"Unnecessary\";\n    MarkerTag2[MarkerTag2[\"Deprecated\"] = 2] = \"Deprecated\";\n  })(MarkerTag || (MarkerTag = {}));\n  var MinimapPosition;\n  (function(MinimapPosition2) {\n    MinimapPosition2[MinimapPosition2[\"Inline\"] = 1] = \"Inline\";\n    MinimapPosition2[MinimapPosition2[\"Gutter\"] = 2] = \"Gutter\";\n  })(MinimapPosition || (MinimapPosition = {}));\n  var MinimapSectionHeaderStyle;\n  (function(MinimapSectionHeaderStyle2) {\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Normal\"] = 1] = \"Normal\";\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Underlined\"] = 2] = \"Underlined\";\n  })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));\n  var MouseTargetType;\n  (function(MouseTargetType2) {\n    MouseTargetType2[MouseTargetType2[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n    MouseTargetType2[MouseTargetType2[\"TEXTAREA\"] = 1] = \"TEXTAREA\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_GLYPH_MARGIN\"] = 2] = \"GUTTER_GLYPH_MARGIN\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_NUMBERS\"] = 3] = \"GUTTER_LINE_NUMBERS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_DECORATIONS\"] = 4] = \"GUTTER_LINE_DECORATIONS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_VIEW_ZONE\"] = 5] = \"GUTTER_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_TEXT\"] = 6] = \"CONTENT_TEXT\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_EMPTY\"] = 7] = \"CONTENT_EMPTY\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_VIEW_ZONE\"] = 8] = \"CONTENT_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_WIDGET\"] = 9] = \"CONTENT_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OVERVIEW_RULER\"] = 10] = \"OVERVIEW_RULER\";\n    MouseTargetType2[MouseTargetType2[\"SCROLLBAR\"] = 11] = \"SCROLLBAR\";\n    MouseTargetType2[MouseTargetType2[\"OVERLAY_WIDGET\"] = 12] = \"OVERLAY_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OUTSIDE_EDITOR\"] = 13] = \"OUTSIDE_EDITOR\";\n  })(MouseTargetType || (MouseTargetType = {}));\n  var NewSymbolNameTag2;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {}));\n  var NewSymbolNameTriggerKind2;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {}));\n  var OverlayWidgetPositionPreference;\n  (function(OverlayWidgetPositionPreference2) {\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_RIGHT_CORNER\"] = 0] = \"TOP_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"BOTTOM_RIGHT_CORNER\"] = 1] = \"BOTTOM_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_CENTER\"] = 2] = \"TOP_CENTER\";\n  })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));\n  var OverviewRulerLane;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane || (OverviewRulerLane = {}));\n  var PartialAcceptTriggerKind;\n  (function(PartialAcceptTriggerKind2) {\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Word\"] = 0] = \"Word\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Line\"] = 1] = \"Line\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Suggest\"] = 2] = \"Suggest\";\n  })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));\n  var PositionAffinity;\n  (function(PositionAffinity2) {\n    PositionAffinity2[PositionAffinity2[\"Left\"] = 0] = \"Left\";\n    PositionAffinity2[PositionAffinity2[\"Right\"] = 1] = \"Right\";\n    PositionAffinity2[PositionAffinity2[\"None\"] = 2] = \"None\";\n    PositionAffinity2[PositionAffinity2[\"LeftOfInjectedText\"] = 3] = \"LeftOfInjectedText\";\n    PositionAffinity2[PositionAffinity2[\"RightOfInjectedText\"] = 4] = \"RightOfInjectedText\";\n  })(PositionAffinity || (PositionAffinity = {}));\n  var RenderLineNumbersType;\n  (function(RenderLineNumbersType2) {\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Off\"] = 0] = \"Off\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"On\"] = 1] = \"On\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Relative\"] = 2] = \"Relative\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Interval\"] = 3] = \"Interval\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Custom\"] = 4] = \"Custom\";\n  })(RenderLineNumbersType || (RenderLineNumbersType = {}));\n  var RenderMinimap;\n  (function(RenderMinimap2) {\n    RenderMinimap2[RenderMinimap2[\"None\"] = 0] = \"None\";\n    RenderMinimap2[RenderMinimap2[\"Text\"] = 1] = \"Text\";\n    RenderMinimap2[RenderMinimap2[\"Blocks\"] = 2] = \"Blocks\";\n  })(RenderMinimap || (RenderMinimap = {}));\n  var ScrollType;\n  (function(ScrollType2) {\n    ScrollType2[ScrollType2[\"Smooth\"] = 0] = \"Smooth\";\n    ScrollType2[ScrollType2[\"Immediate\"] = 1] = \"Immediate\";\n  })(ScrollType || (ScrollType = {}));\n  var ScrollbarVisibility;\n  (function(ScrollbarVisibility2) {\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Auto\"] = 1] = \"Auto\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Hidden\"] = 2] = \"Hidden\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Visible\"] = 3] = \"Visible\";\n  })(ScrollbarVisibility || (ScrollbarVisibility = {}));\n  var SelectionDirection;\n  (function(SelectionDirection2) {\n    SelectionDirection2[SelectionDirection2[\"LTR\"] = 0] = \"LTR\";\n    SelectionDirection2[SelectionDirection2[\"RTL\"] = 1] = \"RTL\";\n  })(SelectionDirection || (SelectionDirection = {}));\n  var ShowLightbulbIconMode;\n  (function(ShowLightbulbIconMode2) {\n    ShowLightbulbIconMode2[\"Off\"] = \"off\";\n    ShowLightbulbIconMode2[\"OnCode\"] = \"onCode\";\n    ShowLightbulbIconMode2[\"On\"] = \"on\";\n  })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}));\n  var SignatureHelpTriggerKind2;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {}));\n  var SymbolKind2;\n  (function(SymbolKind3) {\n    SymbolKind3[SymbolKind3[\"File\"] = 0] = \"File\";\n    SymbolKind3[SymbolKind3[\"Module\"] = 1] = \"Module\";\n    SymbolKind3[SymbolKind3[\"Namespace\"] = 2] = \"Namespace\";\n    SymbolKind3[SymbolKind3[\"Package\"] = 3] = \"Package\";\n    SymbolKind3[SymbolKind3[\"Class\"] = 4] = \"Class\";\n    SymbolKind3[SymbolKind3[\"Method\"] = 5] = \"Method\";\n    SymbolKind3[SymbolKind3[\"Property\"] = 6] = \"Property\";\n    SymbolKind3[SymbolKind3[\"Field\"] = 7] = \"Field\";\n    SymbolKind3[SymbolKind3[\"Constructor\"] = 8] = \"Constructor\";\n    SymbolKind3[SymbolKind3[\"Enum\"] = 9] = \"Enum\";\n    SymbolKind3[SymbolKind3[\"Interface\"] = 10] = \"Interface\";\n    SymbolKind3[SymbolKind3[\"Function\"] = 11] = \"Function\";\n    SymbolKind3[SymbolKind3[\"Variable\"] = 12] = \"Variable\";\n    SymbolKind3[SymbolKind3[\"Constant\"] = 13] = \"Constant\";\n    SymbolKind3[SymbolKind3[\"String\"] = 14] = \"String\";\n    SymbolKind3[SymbolKind3[\"Number\"] = 15] = \"Number\";\n    SymbolKind3[SymbolKind3[\"Boolean\"] = 16] = \"Boolean\";\n    SymbolKind3[SymbolKind3[\"Array\"] = 17] = \"Array\";\n    SymbolKind3[SymbolKind3[\"Object\"] = 18] = \"Object\";\n    SymbolKind3[SymbolKind3[\"Key\"] = 19] = \"Key\";\n    SymbolKind3[SymbolKind3[\"Null\"] = 20] = \"Null\";\n    SymbolKind3[SymbolKind3[\"EnumMember\"] = 21] = \"EnumMember\";\n    SymbolKind3[SymbolKind3[\"Struct\"] = 22] = \"Struct\";\n    SymbolKind3[SymbolKind3[\"Event\"] = 23] = \"Event\";\n    SymbolKind3[SymbolKind3[\"Operator\"] = 24] = \"Operator\";\n    SymbolKind3[SymbolKind3[\"TypeParameter\"] = 25] = \"TypeParameter\";\n  })(SymbolKind2 || (SymbolKind2 = {}));\n  var SymbolTag2;\n  (function(SymbolTag3) {\n    SymbolTag3[SymbolTag3[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(SymbolTag2 || (SymbolTag2 = {}));\n  var TextEditorCursorBlinkingStyle;\n  (function(TextEditorCursorBlinkingStyle2) {\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Hidden\"] = 0] = \"Hidden\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Blink\"] = 1] = \"Blink\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Smooth\"] = 2] = \"Smooth\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Phase\"] = 3] = \"Phase\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Expand\"] = 4] = \"Expand\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Solid\"] = 5] = \"Solid\";\n  })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));\n  var TextEditorCursorStyle;\n  (function(TextEditorCursorStyle2) {\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Line\"] = 1] = \"Line\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Block\"] = 2] = \"Block\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Underline\"] = 3] = \"Underline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"LineThin\"] = 4] = \"LineThin\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"BlockOutline\"] = 5] = \"BlockOutline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"UnderlineThin\"] = 6] = \"UnderlineThin\";\n  })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));\n  var TrackedRangeStickiness;\n  (function(TrackedRangeStickiness2) {\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"AlwaysGrowsWhenTypingAtEdges\"] = 0] = \"AlwaysGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"NeverGrowsWhenTypingAtEdges\"] = 1] = \"NeverGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingBefore\"] = 2] = \"GrowsOnlyWhenTypingBefore\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingAfter\"] = 3] = \"GrowsOnlyWhenTypingAfter\";\n  })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));\n  var WrappingIndent;\n  (function(WrappingIndent2) {\n    WrappingIndent2[WrappingIndent2[\"None\"] = 0] = \"None\";\n    WrappingIndent2[WrappingIndent2[\"Same\"] = 1] = \"Same\";\n    WrappingIndent2[WrappingIndent2[\"Indent\"] = 2] = \"Indent\";\n    WrappingIndent2[WrappingIndent2[\"DeepIndent\"] = 3] = \"DeepIndent\";\n  })(WrappingIndent || (WrappingIndent = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js\n  var KeyMod = class {\n    static chord(firstPart, secondPart) {\n      return KeyChord(firstPart, secondPart);\n    }\n  };\n  KeyMod.CtrlCmd = 2048;\n  KeyMod.Shift = 1024;\n  KeyMod.Alt = 512;\n  KeyMod.WinCtrl = 256;\n  function createMonacoBaseAPI() {\n    return {\n      editor: void 0,\n      // undefined override expected here\n      languages: void 0,\n      // undefined override expected here\n      CancellationTokenSource,\n      Emitter,\n      KeyCode,\n      KeyMod,\n      Position: Position2,\n      Range: Range2,\n      Selection,\n      SelectionDirection,\n      MarkerSeverity,\n      MarkerTag,\n      Uri: URI2,\n      Token\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/map.js\n  var _a3;\n  var _b2;\n  var ResourceMapEntry = class {\n    constructor(uri, value2) {\n      this.uri = uri;\n      this.value = value2;\n    }\n  };\n  function isEntries(arg) {\n    return Array.isArray(arg);\n  }\n  var ResourceMap = class _ResourceMap {\n    constructor(arg, toKey) {\n      this[_a3] = \"ResourceMap\";\n      if (arg instanceof _ResourceMap) {\n        this.map = new Map(arg.map);\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n      } else if (isEntries(arg)) {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n        for (const [resource, value2] of arg) {\n          this.set(resource, value2);\n        }\n      } else {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = arg !== null && arg !== void 0 ? arg : _ResourceMap.defaultToKey;\n      }\n    }\n    set(resource, value2) {\n      this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value2));\n      return this;\n    }\n    get(resource) {\n      var _c;\n      return (_c = this.map.get(this.toKey(resource))) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(resource) {\n      return this.map.has(this.toKey(resource));\n    }\n    get size() {\n      return this.map.size;\n    }\n    clear() {\n      this.map.clear();\n    }\n    delete(resource) {\n      return this.map.delete(this.toKey(resource));\n    }\n    forEach(clb, thisArg) {\n      if (typeof thisArg !== \"undefined\") {\n        clb = clb.bind(thisArg);\n      }\n      for (const [_2, entry] of this.map) {\n        clb(entry.value, entry.uri, this);\n      }\n    }\n    *values() {\n      for (const entry of this.map.values()) {\n        yield entry.value;\n      }\n    }\n    *keys() {\n      for (const entry of this.map.values()) {\n        yield entry.uri;\n      }\n    }\n    *entries() {\n      for (const entry of this.map.values()) {\n        yield [entry.uri, entry.value];\n      }\n    }\n    *[(_a3 = Symbol.toStringTag, Symbol.iterator)]() {\n      for (const [, entry] of this.map) {\n        yield [entry.uri, entry.value];\n      }\n    }\n  };\n  ResourceMap.defaultToKey = (resource) => resource.toString();\n  var LinkedMap = class {\n    constructor() {\n      this[_b2] = \"LinkedMap\";\n      this._map = /* @__PURE__ */ new Map();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state = 0;\n    }\n    clear() {\n      this._map.clear();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state++;\n    }\n    isEmpty() {\n      return !this._head && !this._tail;\n    }\n    get size() {\n      return this._size;\n    }\n    get first() {\n      var _c;\n      return (_c = this._head) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    get last() {\n      var _c;\n      return (_c = this._tail) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(key) {\n      return this._map.has(key);\n    }\n    get(key, touch = 0) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      if (touch !== 0) {\n        this.touch(item, touch);\n      }\n      return item.value;\n    }\n    set(key, value2, touch = 0) {\n      let item = this._map.get(key);\n      if (item) {\n        item.value = value2;\n        if (touch !== 0) {\n          this.touch(item, touch);\n        }\n      } else {\n        item = { key, value: value2, next: void 0, previous: void 0 };\n        switch (touch) {\n          case 0:\n            this.addItemLast(item);\n            break;\n          case 1:\n            this.addItemFirst(item);\n            break;\n          case 2:\n            this.addItemLast(item);\n            break;\n          default:\n            this.addItemLast(item);\n            break;\n        }\n        this._map.set(key, item);\n        this._size++;\n      }\n      return this;\n    }\n    delete(key) {\n      return !!this.remove(key);\n    }\n    remove(key) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      this._map.delete(key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    shift() {\n      if (!this._head && !this._tail) {\n        return void 0;\n      }\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      const item = this._head;\n      this._map.delete(item.key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    forEach(callbackfn, thisArg) {\n      const state = this._state;\n      let current = this._head;\n      while (current) {\n        if (thisArg) {\n          callbackfn.bind(thisArg)(current.value, current.key, this);\n        } else {\n          callbackfn(current.value, current.key, this);\n        }\n        if (this._state !== state) {\n          throw new Error(`LinkedMap got modified during iteration.`);\n        }\n        current = current.next;\n      }\n    }\n    keys() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.key, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    values() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.value, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    entries() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: [current.key, current.value], done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    [(_b2 = Symbol.toStringTag, Symbol.iterator)]() {\n      return this.entries();\n    }\n    trimOld(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._head;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.next;\n        currentSize--;\n      }\n      this._head = current;\n      this._size = currentSize;\n      if (current) {\n        current.previous = void 0;\n      }\n      this._state++;\n    }\n    trimNew(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._tail;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.previous;\n        currentSize--;\n      }\n      this._tail = current;\n      this._size = currentSize;\n      if (current) {\n        current.next = void 0;\n      }\n      this._state++;\n    }\n    addItemFirst(item) {\n      if (!this._head && !this._tail) {\n        this._tail = item;\n      } else if (!this._head) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.next = this._head;\n        this._head.previous = item;\n      }\n      this._head = item;\n      this._state++;\n    }\n    addItemLast(item) {\n      if (!this._head && !this._tail) {\n        this._head = item;\n      } else if (!this._tail) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.previous = this._tail;\n        this._tail.next = item;\n      }\n      this._tail = item;\n      this._state++;\n    }\n    removeItem(item) {\n      if (item === this._head && item === this._tail) {\n        this._head = void 0;\n        this._tail = void 0;\n      } else if (item === this._head) {\n        if (!item.next) {\n          throw new Error(\"Invalid list\");\n        }\n        item.next.previous = void 0;\n        this._head = item.next;\n      } else if (item === this._tail) {\n        if (!item.previous) {\n          throw new Error(\"Invalid list\");\n        }\n        item.previous.next = void 0;\n        this._tail = item.previous;\n      } else {\n        const next = item.next;\n        const previous = item.previous;\n        if (!next || !previous) {\n          throw new Error(\"Invalid list\");\n        }\n        next.previous = previous;\n        previous.next = next;\n      }\n      item.next = void 0;\n      item.previous = void 0;\n      this._state++;\n    }\n    touch(item, touch) {\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      if (touch !== 1 && touch !== 2) {\n        return;\n      }\n      if (touch === 1) {\n        if (item === this._head) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._tail) {\n          previous.next = void 0;\n          this._tail = previous;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.previous = void 0;\n        item.next = this._head;\n        this._head.previous = item;\n        this._head = item;\n        this._state++;\n      } else if (touch === 2) {\n        if (item === this._tail) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._head) {\n          next.previous = void 0;\n          this._head = next;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.next = void 0;\n        item.previous = this._tail;\n        this._tail.next = item;\n        this._tail = item;\n        this._state++;\n      }\n    }\n    toJSON() {\n      const data = [];\n      this.forEach((value2, key) => {\n        data.push([key, value2]);\n      });\n      return data;\n    }\n    fromJSON(data) {\n      this.clear();\n      for (const [key, value2] of data) {\n        this.set(key, value2);\n      }\n    }\n  };\n  var Cache = class extends LinkedMap {\n    constructor(limit, ratio = 1) {\n      super();\n      this._limit = limit;\n      this._ratio = Math.min(Math.max(0, ratio), 1);\n    }\n    get limit() {\n      return this._limit;\n    }\n    set limit(limit) {\n      this._limit = limit;\n      this.checkTrim();\n    }\n    get(key, touch = 2) {\n      return super.get(key, touch);\n    }\n    peek(key) {\n      return super.get(\n        key,\n        0\n        /* Touch.None */\n      );\n    }\n    set(key, value2) {\n      super.set(\n        key,\n        value2,\n        2\n        /* Touch.AsNew */\n      );\n      return this;\n    }\n    checkTrim() {\n      if (this.size > this._limit) {\n        this.trim(Math.round(this._limit * this._ratio));\n      }\n    }\n  };\n  var LRUCache = class extends Cache {\n    constructor(limit, ratio = 1) {\n      super(limit, ratio);\n    }\n    trim(newSize) {\n      this.trimOld(newSize);\n    }\n    set(key, value2) {\n      super.set(key, value2);\n      this.checkTrim();\n      return this;\n    }\n  };\n  var SetMap = class {\n    constructor() {\n      this.map = /* @__PURE__ */ new Map();\n    }\n    add(key, value2) {\n      let values = this.map.get(key);\n      if (!values) {\n        values = /* @__PURE__ */ new Set();\n        this.map.set(key, values);\n      }\n      values.add(value2);\n    }\n    delete(key, value2) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.delete(value2);\n      if (values.size === 0) {\n        this.map.delete(key);\n      }\n    }\n    forEach(key, fn5) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.forEach(fn5);\n    }\n    get(key) {\n      const values = this.map.get(key);\n      if (!values) {\n        return /* @__PURE__ */ new Set();\n      }\n      return values;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js\n  var wordClassifierCache = new LRUCache(10);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model.js\n  var OverviewRulerLane2;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane2 || (OverviewRulerLane2 = {}));\n  var GlyphMarginLane2;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane2 || (GlyphMarginLane2 = {}));\n  var InjectedTextCursorStops2;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js\n  function leftIsWordBounday(wordSeparators, text2, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex === 0) {\n      return true;\n    }\n    const charBefore = text2.charCodeAt(matchStartIndex - 1);\n    if (wordSeparators.get(charBefore) !== 0) {\n      return true;\n    }\n    if (charBefore === 13 || charBefore === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const firstCharInMatch = text2.charCodeAt(matchStartIndex);\n      if (wordSeparators.get(firstCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function rightIsWordBounday(wordSeparators, text2, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex + matchLength === textLength) {\n      return true;\n    }\n    const charAfter = text2.charCodeAt(matchStartIndex + matchLength);\n    if (wordSeparators.get(charAfter) !== 0) {\n      return true;\n    }\n    if (charAfter === 13 || charAfter === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const lastCharInMatch = text2.charCodeAt(matchStartIndex + matchLength - 1);\n      if (wordSeparators.get(lastCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isValidMatch(wordSeparators, text2, textLength, matchStartIndex, matchLength) {\n    return leftIsWordBounday(wordSeparators, text2, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text2, textLength, matchStartIndex, matchLength);\n  }\n  var Searcher = class {\n    constructor(wordSeparators, searchRegex) {\n      this._wordSeparators = wordSeparators;\n      this._searchRegex = searchRegex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    reset(lastIndex) {\n      this._searchRegex.lastIndex = lastIndex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    next(text2) {\n      const textLength = text2.length;\n      let m2;\n      do {\n        if (this._prevMatchStartIndex + this._prevMatchLength === textLength) {\n          return null;\n        }\n        m2 = this._searchRegex.exec(text2);\n        if (!m2) {\n          return null;\n        }\n        const matchStartIndex = m2.index;\n        const matchLength = m2[0].length;\n        if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) {\n          if (matchLength === 0) {\n            if (getNextCodePoint(text2, textLength, this._searchRegex.lastIndex) > 65535) {\n              this._searchRegex.lastIndex += 2;\n            } else {\n              this._searchRegex.lastIndex += 1;\n            }\n            continue;\n          }\n          return null;\n        }\n        this._prevMatchStartIndex = matchStartIndex;\n        this._prevMatchLength = matchLength;\n        if (!this._wordSeparators || isValidMatch(this._wordSeparators, text2, textLength, matchStartIndex, matchLength)) {\n          return m2;\n        }\n      } while (m2);\n      return null;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/assert.js\n  function assertNever(value2, message = \"Unreachable\") {\n    throw new Error(message);\n  }\n  function assertFn(condition) {\n    if (!condition()) {\n      debugger;\n      condition();\n      onUnexpectedError(new BugIndicatingError(\"Assertion Failed\"));\n    }\n  }\n  function checkAdjacentItems(items, predicate) {\n    let i2 = 0;\n    while (i2 < items.length - 1) {\n      const a2 = items[i2];\n      const b2 = items[i2 + 1];\n      if (!predicate(a2, b2)) {\n        return false;\n      }\n      i2++;\n    }\n    return true;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js\n  var UnicodeTextModelHighlighter = class {\n    static computeUnicodeHighlights(model, options, range) {\n      const startLine = range ? range.startLineNumber : 1;\n      const endLine = range ? range.endLineNumber : model.getLineCount();\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const candidates = codePointHighlighter.getCandidateCodePoints();\n      let regex;\n      if (candidates === \"allNonBasicAscii\") {\n        regex = new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\", \"g\");\n      } else {\n        regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, \"g\");\n      }\n      const searcher = new Searcher(null, regex);\n      const ranges = [];\n      let hasMore = false;\n      let m2;\n      let ambiguousCharacterCount = 0;\n      let invisibleCharacterCount = 0;\n      let nonBasicAsciiCharacterCount = 0;\n      forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) {\n        const lineContent = model.getLineContent(lineNumber);\n        const lineLength = lineContent.length;\n        searcher.reset(0);\n        do {\n          m2 = searcher.next(lineContent);\n          if (m2) {\n            let startIndex = m2.index;\n            let endIndex = m2.index + m2[0].length;\n            if (startIndex > 0) {\n              const charCodeBefore = lineContent.charCodeAt(startIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                startIndex--;\n              }\n            }\n            if (endIndex + 1 < lineLength) {\n              const charCodeBefore = lineContent.charCodeAt(endIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                endIndex++;\n              }\n            }\n            const str = lineContent.substring(startIndex, endIndex);\n            let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0);\n            if (word && word.endColumn <= startIndex + 1) {\n              word = null;\n            }\n            const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null);\n            if (highlightReason !== 0) {\n              if (highlightReason === 3) {\n                ambiguousCharacterCount++;\n              } else if (highlightReason === 2) {\n                invisibleCharacterCount++;\n              } else if (highlightReason === 1) {\n                nonBasicAsciiCharacterCount++;\n              } else {\n                assertNever(highlightReason);\n              }\n              const MAX_RESULT_LENGTH = 1e3;\n              if (ranges.length >= MAX_RESULT_LENGTH) {\n                hasMore = true;\n                break forLoop;\n              }\n              ranges.push(new Range2(lineNumber, startIndex + 1, lineNumber, endIndex + 1));\n            }\n          }\n        } while (m2);\n      }\n      return {\n        ranges,\n        hasMore,\n        ambiguousCharacterCount,\n        invisibleCharacterCount,\n        nonBasicAsciiCharacterCount\n      };\n    }\n    static computeUnicodeHighlightReason(char, options) {\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null);\n      switch (reason) {\n        case 0:\n          return null;\n        case 2:\n          return {\n            kind: 1\n            /* UnicodeHighlighterReasonKind.Invisible */\n          };\n        case 3: {\n          const codePoint = char.codePointAt(0);\n          const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint);\n          const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l2) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l2])).isAmbiguous(codePoint));\n          return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };\n        }\n        case 1:\n          return {\n            kind: 2\n            /* UnicodeHighlighterReasonKind.NonBasicAscii */\n          };\n      }\n    }\n  };\n  function buildRegExpCharClassExpr(codePoints, flags) {\n    const src = `[${escapeRegExpCharacters(codePoints.map((i2) => String.fromCodePoint(i2)).join(\"\"))}]`;\n    return src;\n  }\n  var CodePointHighlighter = class {\n    constructor(options) {\n      this.options = options;\n      this.allowedCodePoints = new Set(options.allowedCodePoints);\n      this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales));\n    }\n    getCandidateCodePoints() {\n      if (this.options.nonBasicASCII) {\n        return \"allNonBasicAscii\";\n      }\n      const set = /* @__PURE__ */ new Set();\n      if (this.options.invisibleCharacters) {\n        for (const cp of InvisibleCharacters.codePoints) {\n          if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) {\n            set.add(cp);\n          }\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) {\n          set.add(cp);\n        }\n      }\n      for (const cp of this.allowedCodePoints) {\n        set.delete(cp);\n      }\n      return set;\n    }\n    shouldHighlightNonBasicASCII(character, wordContext) {\n      const codePoint = character.codePointAt(0);\n      if (this.allowedCodePoints.has(codePoint)) {\n        return 0;\n      }\n      if (this.options.nonBasicASCII) {\n        return 1;\n      }\n      let hasBasicASCIICharacters = false;\n      let hasNonConfusableNonBasicAsciiCharacter = false;\n      if (wordContext) {\n        for (const char of wordContext) {\n          const codePoint2 = char.codePointAt(0);\n          const isBasicASCII2 = isBasicASCII(char);\n          hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2;\n          if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) {\n            hasNonConfusableNonBasicAsciiCharacter = true;\n          }\n        }\n      }\n      if (\n        /* Don't allow mixing weird looking characters with ASCII */\n        !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */\n        hasNonConfusableNonBasicAsciiCharacter\n      ) {\n        return 0;\n      }\n      if (this.options.invisibleCharacters) {\n        if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) {\n          return 2;\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        if (this.ambiguousCharacters.isAmbiguous(codePoint)) {\n          return 3;\n        }\n      }\n      return 0;\n    }\n  };\n  function isAllowedInvisibleCharacter(character) {\n    return character === \" \" || character === \"\\n\" || character === \"\t\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js\n  var LinesDiff = class {\n    constructor(changes, moves, hitTimeout) {\n      this.changes = changes;\n      this.moves = moves;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var MovedText = class {\n    constructor(lineRangeMapping, changes) {\n      this.lineRangeMapping = lineRangeMapping;\n      this.changes = changes;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js\n  var OffsetRange = class _OffsetRange {\n    static addRange(range, sortedRanges) {\n      let i2 = 0;\n      while (i2 < sortedRanges.length && sortedRanges[i2].endExclusive < range.start) {\n        i2++;\n      }\n      let j2 = i2;\n      while (j2 < sortedRanges.length && sortedRanges[j2].start <= range.endExclusive) {\n        j2++;\n      }\n      if (i2 === j2) {\n        sortedRanges.splice(i2, 0, range);\n      } else {\n        const start = Math.min(range.start, sortedRanges[i2].start);\n        const end = Math.max(range.endExclusive, sortedRanges[j2 - 1].endExclusive);\n        sortedRanges.splice(i2, j2 - i2, new _OffsetRange(start, end));\n      }\n    }\n    static tryCreate(start, endExclusive) {\n      if (start > endExclusive) {\n        return void 0;\n      }\n      return new _OffsetRange(start, endExclusive);\n    }\n    static ofLength(length2) {\n      return new _OffsetRange(0, length2);\n    }\n    static ofStartAndLength(start, length2) {\n      return new _OffsetRange(start, start + length2);\n    }\n    constructor(start, endExclusive) {\n      this.start = start;\n      this.endExclusive = endExclusive;\n      if (start > endExclusive) {\n        throw new BugIndicatingError(`Invalid range: ${this.toString()}`);\n      }\n    }\n    get isEmpty() {\n      return this.start === this.endExclusive;\n    }\n    delta(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive + offset);\n    }\n    deltaStart(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive);\n    }\n    deltaEnd(offset) {\n      return new _OffsetRange(this.start, this.endExclusive + offset);\n    }\n    get length() {\n      return this.endExclusive - this.start;\n    }\n    toString() {\n      return `[${this.start}, ${this.endExclusive})`;\n    }\n    contains(offset) {\n      return this.start <= offset && offset < this.endExclusive;\n    }\n    /**\n     * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n)\n     * The joined range is the smallest range that contains both ranges.\n     */\n    join(other) {\n      return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive));\n    }\n    /**\n     * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n)\n     *\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      if (start <= end) {\n        return new _OffsetRange(start, end);\n      }\n      return void 0;\n    }\n    intersects(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      return start < end;\n    }\n    isBefore(other) {\n      return this.endExclusive <= other.start;\n    }\n    isAfter(other) {\n      return this.start >= other.endExclusive;\n    }\n    slice(arr) {\n      return arr.slice(this.start, this.endExclusive);\n    }\n    substring(str) {\n      return str.substring(this.start, this.endExclusive);\n    }\n    /**\n     * Returns the given value if it is contained in this instance, otherwise the closest value that is contained.\n     * The range must not be empty.\n     */\n    clip(value2) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      return Math.max(this.start, Math.min(this.endExclusive - 1, value2));\n    }\n    /**\n     * Returns `r := value + k * length` such that `r` is contained in this range.\n     * The range must not be empty.\n     *\n     * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`.\n     */\n    clipCyclic(value2) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      if (value2 < this.start) {\n        return this.endExclusive - (this.start - value2) % this.length;\n      }\n      if (value2 >= this.endExclusive) {\n        return this.start + (value2 - this.start) % this.length;\n      }\n      return value2;\n    }\n    forEach(f5) {\n      for (let i2 = this.start; i2 < this.endExclusive; i2++) {\n        f5(i2);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arraysFind.js\n  function findLastMonotonous(array, predicate) {\n    const idx = findLastIdxMonotonous(array, predicate);\n    return idx === -1 ? void 0 : array[idx];\n  }\n  function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i2 = startIdx;\n    let j2 = endIdxEx;\n    while (i2 < j2) {\n      const k5 = Math.floor((i2 + j2) / 2);\n      if (predicate(array[k5])) {\n        i2 = k5 + 1;\n      } else {\n        j2 = k5;\n      }\n    }\n    return i2 - 1;\n  }\n  function findFirstMonotonous(array, predicate) {\n    const idx = findFirstIdxMonotonousOrArrLen(array, predicate);\n    return idx === array.length ? void 0 : array[idx];\n  }\n  function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i2 = startIdx;\n    let j2 = endIdxEx;\n    while (i2 < j2) {\n      const k5 = Math.floor((i2 + j2) / 2);\n      if (predicate(array[k5])) {\n        j2 = k5;\n      } else {\n        i2 = k5 + 1;\n      }\n    }\n    return i2;\n  }\n  var MonotonousArray = class _MonotonousArray {\n    constructor(_array) {\n      this._array = _array;\n      this._findLastMonotonousLastIdx = 0;\n    }\n    /**\n     * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`!\n     * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`.\n     */\n    findLastMonotonous(predicate) {\n      if (_MonotonousArray.assertInvariants) {\n        if (this._prevFindLastPredicate) {\n          for (const item of this._array) {\n            if (this._prevFindLastPredicate(item) && !predicate(item)) {\n              throw new Error(\"MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.\");\n            }\n          }\n        }\n        this._prevFindLastPredicate = predicate;\n      }\n      const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx);\n      this._findLastMonotonousLastIdx = idx + 1;\n      return idx === -1 ? void 0 : this._array[idx];\n    }\n  };\n  MonotonousArray.assertInvariants = false;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js\n  var LineRange = class _LineRange {\n    static fromRangeInclusive(range) {\n      return new _LineRange(range.startLineNumber, range.endLineNumber + 1);\n    }\n    /**\n     * @param lineRanges An array of sorted line ranges.\n     */\n    static joinMany(lineRanges) {\n      if (lineRanges.length === 0) {\n        return [];\n      }\n      let result = new LineRangeSet(lineRanges[0].slice());\n      for (let i2 = 1; i2 < lineRanges.length; i2++) {\n        result = result.getUnion(new LineRangeSet(lineRanges[i2].slice()));\n      }\n      return result.ranges;\n    }\n    static join(lineRanges) {\n      if (lineRanges.length === 0) {\n        throw new BugIndicatingError(\"lineRanges cannot be empty\");\n      }\n      let startLineNumber = lineRanges[0].startLineNumber;\n      let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive;\n      for (let i2 = 1; i2 < lineRanges.length; i2++) {\n        startLineNumber = Math.min(startLineNumber, lineRanges[i2].startLineNumber);\n        endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i2].endLineNumberExclusive);\n      }\n      return new _LineRange(startLineNumber, endLineNumberExclusive);\n    }\n    static ofLength(startLineNumber, length2) {\n      return new _LineRange(startLineNumber, startLineNumber + length2);\n    }\n    /**\n     * @internal\n     */\n    static deserialize(lineRange) {\n      return new _LineRange(lineRange[0], lineRange[1]);\n    }\n    constructor(startLineNumber, endLineNumberExclusive) {\n      if (startLineNumber > endLineNumberExclusive) {\n        throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`);\n      }\n      this.startLineNumber = startLineNumber;\n      this.endLineNumberExclusive = endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range contains the given line number.\n     */\n    contains(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range is empty.\n     */\n    get isEmpty() {\n      return this.startLineNumber === this.endLineNumberExclusive;\n    }\n    /**\n     * Moves this line range by the given offset of line numbers.\n     */\n    delta(offset) {\n      return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset);\n    }\n    deltaLength(offset) {\n      return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset);\n    }\n    /**\n     * The number of lines this line range spans.\n     */\n    get length() {\n      return this.endLineNumberExclusive - this.startLineNumber;\n    }\n    /**\n     * Creates a line range that combines this and the given line range.\n     */\n    join(other) {\n      return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive));\n    }\n    toString() {\n      return `[${this.startLineNumber},${this.endLineNumberExclusive})`;\n    }\n    /**\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber);\n      const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive);\n      if (startLineNumber <= endLineNumberExclusive) {\n        return new _LineRange(startLineNumber, endLineNumberExclusive);\n      }\n      return void 0;\n    }\n    intersectsStrict(other) {\n      return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive;\n    }\n    overlapOrTouch(other) {\n      return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive;\n    }\n    equals(b2) {\n      return this.startLineNumber === b2.startLineNumber && this.endLineNumberExclusive === b2.endLineNumberExclusive;\n    }\n    toInclusiveRange() {\n      if (this.isEmpty) {\n        return null;\n      }\n      return new Range2(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER);\n    }\n    /**\n     * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position!\n    */\n    toExclusiveRange() {\n      return new Range2(this.startLineNumber, 1, this.endLineNumberExclusive, 1);\n    }\n    mapToLineArray(f5) {\n      const result = [];\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        result.push(f5(lineNumber));\n      }\n      return result;\n    }\n    forEach(f5) {\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        f5(lineNumber);\n      }\n    }\n    /**\n     * @internal\n     */\n    serialize() {\n      return [this.startLineNumber, this.endLineNumberExclusive];\n    }\n    includes(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Converts this 1-based line range to a 0-based offset range (subtracts 1!).\n     * @internal\n     */\n    toOffsetRange() {\n      return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1);\n    }\n  };\n  var LineRangeSet = class _LineRangeSet {\n    constructor(_normalizedRanges = []) {\n      this._normalizedRanges = _normalizedRanges;\n    }\n    get ranges() {\n      return this._normalizedRanges;\n    }\n    addRange(range) {\n      if (range.length === 0) {\n        return;\n      }\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r3) => r3.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r3) => r3.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        this._normalizedRanges.splice(joinRangeStartIdx, 0, range);\n      } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx];\n        this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range);\n      } else {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range);\n        this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange);\n      }\n    }\n    contains(lineNumber) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r3) => r3.startLineNumber <= lineNumber);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber;\n    }\n    intersects(range) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r3) => r3.startLineNumber < range.endLineNumberExclusive);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber;\n    }\n    getUnion(other) {\n      if (this._normalizedRanges.length === 0) {\n        return other;\n      }\n      if (other._normalizedRanges.length === 0) {\n        return this;\n      }\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      let current = null;\n      while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) {\n        let next = null;\n        if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n          const lineRange1 = this._normalizedRanges[i1];\n          const lineRange2 = other._normalizedRanges[i2];\n          if (lineRange1.startLineNumber < lineRange2.startLineNumber) {\n            next = lineRange1;\n            i1++;\n          } else {\n            next = lineRange2;\n            i2++;\n          }\n        } else if (i1 < this._normalizedRanges.length) {\n          next = this._normalizedRanges[i1];\n          i1++;\n        } else {\n          next = other._normalizedRanges[i2];\n          i2++;\n        }\n        if (current === null) {\n          current = next;\n        } else {\n          if (current.endLineNumberExclusive >= next.startLineNumber) {\n            current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive));\n          } else {\n            result.push(current);\n            current = next;\n          }\n        }\n      }\n      if (current !== null) {\n        result.push(current);\n      }\n      return new _LineRangeSet(result);\n    }\n    /**\n     * Subtracts all ranges in this set from `range` and returns the result.\n     */\n    subtractFrom(range) {\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r3) => r3.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r3) => r3.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        return new _LineRangeSet([range]);\n      }\n      const result = [];\n      let startLineNumber = range.startLineNumber;\n      for (let i2 = joinRangeStartIdx; i2 < joinRangeEndIdxExclusive; i2++) {\n        const r3 = this._normalizedRanges[i2];\n        if (r3.startLineNumber > startLineNumber) {\n          result.push(new LineRange(startLineNumber, r3.startLineNumber));\n        }\n        startLineNumber = r3.endLineNumberExclusive;\n      }\n      if (startLineNumber < range.endLineNumberExclusive) {\n        result.push(new LineRange(startLineNumber, range.endLineNumberExclusive));\n      }\n      return new _LineRangeSet(result);\n    }\n    toString() {\n      return this._normalizedRanges.map((r3) => r3.toString()).join(\", \");\n    }\n    getIntersection(other) {\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n        const r1 = this._normalizedRanges[i1];\n        const r22 = other._normalizedRanges[i2];\n        const i3 = r1.intersect(r22);\n        if (i3 && !i3.isEmpty) {\n          result.push(i3);\n        }\n        if (r1.endLineNumberExclusive < r22.endLineNumberExclusive) {\n          i1++;\n        } else {\n          i2++;\n        }\n      }\n      return new _LineRangeSet(result);\n    }\n    getWithDelta(value2) {\n      return new _LineRangeSet(this._normalizedRanges.map((r3) => r3.delta(value2)));\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js\n  var TextLength = class _TextLength {\n    static betweenPositions(position1, position2) {\n      if (position1.lineNumber === position2.lineNumber) {\n        return new _TextLength(0, position2.column - position1.column);\n      } else {\n        return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1);\n      }\n    }\n    static ofRange(range) {\n      return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition());\n    }\n    static ofText(text2) {\n      let line = 0;\n      let column = 0;\n      for (const c3 of text2) {\n        if (c3 === \"\\n\") {\n          line++;\n          column = 0;\n        } else {\n          column++;\n        }\n      }\n      return new _TextLength(line, column);\n    }\n    constructor(lineCount, columnCount) {\n      this.lineCount = lineCount;\n      this.columnCount = columnCount;\n    }\n    isGreaterThanOrEqualTo(other) {\n      if (this.lineCount !== other.lineCount) {\n        return this.lineCount > other.lineCount;\n      }\n      return this.columnCount >= other.columnCount;\n    }\n    createRange(startPosition) {\n      if (this.lineCount === 0) {\n        return new Range2(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount);\n      } else {\n        return new Range2(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    addToPosition(position2) {\n      if (this.lineCount === 0) {\n        return new Position2(position2.lineNumber, position2.column + this.columnCount);\n      } else {\n        return new Position2(position2.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    toString() {\n      return `${this.lineCount},${this.columnCount}`;\n    }\n  };\n  TextLength.zero = new TextLength(0, 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js\n  var SingleTextEdit = class {\n    constructor(range, text2) {\n      this.range = range;\n      this.text = text2;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js\n  var LineRangeMapping = class _LineRangeMapping {\n    static inverse(mapping, originalLineCount, modifiedLineCount) {\n      const result = [];\n      let lastOriginalEndLineNumber = 1;\n      let lastModifiedEndLineNumber = 1;\n      for (const m2 of mapping) {\n        const r4 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m2.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m2.modified.startLineNumber));\n        if (!r4.modified.isEmpty) {\n          result.push(r4);\n        }\n        lastOriginalEndLineNumber = m2.original.endLineNumberExclusive;\n        lastModifiedEndLineNumber = m2.modified.endLineNumberExclusive;\n      }\n      const r3 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1));\n      if (!r3.modified.isEmpty) {\n        result.push(r3);\n      }\n      return result;\n    }\n    static clip(mapping, originalRange, modifiedRange) {\n      const result = [];\n      for (const m2 of mapping) {\n        const original = m2.original.intersect(originalRange);\n        const modified = m2.modified.intersect(modifiedRange);\n        if (original && !original.isEmpty && modified && !modified.isEmpty) {\n          result.push(new _LineRangeMapping(original, modified));\n        }\n      }\n      return result;\n    }\n    constructor(originalRange, modifiedRange) {\n      this.original = originalRange;\n      this.modified = modifiedRange;\n    }\n    toString() {\n      return `{${this.original.toString()}->${this.modified.toString()}}`;\n    }\n    flip() {\n      return new _LineRangeMapping(this.modified, this.original);\n    }\n    join(other) {\n      return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified));\n    }\n    /**\n     * This method assumes that the LineRangeMapping describes a valid diff!\n     * I.e. if one range is empty, the other range cannot be the entire document.\n     * It avoids various problems when the line range points to non-existing line-numbers.\n    */\n    toRangeMapping() {\n      const origInclusiveRange = this.original.toInclusiveRange();\n      const modInclusiveRange = this.modified.toInclusiveRange();\n      if (origInclusiveRange && modInclusiveRange) {\n        return new RangeMapping(origInclusiveRange, modInclusiveRange);\n      } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {\n        if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) {\n          throw new BugIndicatingError(\"not a valid diff\");\n        }\n        return new RangeMapping(new Range2(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range2(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));\n      } else {\n        return new RangeMapping(new Range2(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range2(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));\n      }\n    }\n  };\n  var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping {\n    static fromRangeMappings(rangeMappings) {\n      const originalRange = LineRange.join(rangeMappings.map((r3) => LineRange.fromRangeInclusive(r3.originalRange)));\n      const modifiedRange = LineRange.join(rangeMappings.map((r3) => LineRange.fromRangeInclusive(r3.modifiedRange)));\n      return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings);\n    }\n    constructor(originalRange, modifiedRange, innerChanges) {\n      super(originalRange, modifiedRange);\n      this.innerChanges = innerChanges;\n    }\n    flip() {\n      var _a4;\n      return new _DetailedLineRangeMapping(this.modified, this.original, (_a4 = this.innerChanges) === null || _a4 === void 0 ? void 0 : _a4.map((c3) => c3.flip()));\n    }\n    withInnerChangesFromLineRanges() {\n      return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]);\n    }\n  };\n  var RangeMapping = class _RangeMapping {\n    constructor(originalRange, modifiedRange) {\n      this.originalRange = originalRange;\n      this.modifiedRange = modifiedRange;\n    }\n    toString() {\n      return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`;\n    }\n    flip() {\n      return new _RangeMapping(this.modifiedRange, this.originalRange);\n    }\n    /**\n     * Creates a single text edit that describes the change from the original to the modified text.\n    */\n    toTextEdit(modified) {\n      const newText = modified.getValueOfRange(this.modifiedRange);\n      return new SingleTextEdit(this.originalRange, newText);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js\n  var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;\n  var LegacyLinesDiffComputer = class {\n    computeDiff(originalLines, modifiedLines, options) {\n      var _a4;\n      const diffComputer = new DiffComputer(originalLines, modifiedLines, {\n        maxComputationTime: options.maxComputationTimeMs,\n        shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace,\n        shouldComputeCharChanges: true,\n        shouldMakePrettyDiff: true,\n        shouldPostProcessCharChanges: true\n      });\n      const result = diffComputer.computeDiff();\n      const changes = [];\n      let lastChange = null;\n      for (const c3 of result.changes) {\n        let originalRange;\n        if (c3.originalEndLineNumber === 0) {\n          originalRange = new LineRange(c3.originalStartLineNumber + 1, c3.originalStartLineNumber + 1);\n        } else {\n          originalRange = new LineRange(c3.originalStartLineNumber, c3.originalEndLineNumber + 1);\n        }\n        let modifiedRange;\n        if (c3.modifiedEndLineNumber === 0) {\n          modifiedRange = new LineRange(c3.modifiedStartLineNumber + 1, c3.modifiedStartLineNumber + 1);\n        } else {\n          modifiedRange = new LineRange(c3.modifiedStartLineNumber, c3.modifiedEndLineNumber + 1);\n        }\n        let change = new DetailedLineRangeMapping(originalRange, modifiedRange, (_a4 = c3.charChanges) === null || _a4 === void 0 ? void 0 : _a4.map((c4) => new RangeMapping(new Range2(c4.originalStartLineNumber, c4.originalStartColumn, c4.originalEndLineNumber, c4.originalEndColumn), new Range2(c4.modifiedStartLineNumber, c4.modifiedStartColumn, c4.modifiedEndLineNumber, c4.modifiedEndColumn))));\n        if (lastChange) {\n          if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) {\n            change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0);\n            changes.pop();\n          }\n        }\n        changes.push(change);\n        lastChange = change;\n      }\n      assertFn(() => {\n        return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n        m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n      });\n      return new LinesDiff(changes, [], result.quitEarly);\n    }\n  };\n  function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) {\n    const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate);\n    return diffAlgo.ComputeDiff(pretty);\n  }\n  var LineSequence = class {\n    constructor(lines) {\n      const startColumns = [];\n      const endColumns = [];\n      for (let i2 = 0, length2 = lines.length; i2 < length2; i2++) {\n        startColumns[i2] = getFirstNonBlankColumn(lines[i2], 1);\n        endColumns[i2] = getLastNonBlankColumn(lines[i2], 1);\n      }\n      this.lines = lines;\n      this._startColumns = startColumns;\n      this._endColumns = endColumns;\n    }\n    getElements() {\n      const elements = [];\n      for (let i2 = 0, len = this.lines.length; i2 < len; i2++) {\n        elements[i2] = this.lines[i2].substring(this._startColumns[i2] - 1, this._endColumns[i2] - 1);\n      }\n      return elements;\n    }\n    getStrictElement(index2) {\n      return this.lines[index2];\n    }\n    getStartLineNumber(i2) {\n      return i2 + 1;\n    }\n    getEndLineNumber(i2) {\n      return i2 + 1;\n    }\n    createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) {\n      const charCodes = [];\n      const lineNumbers = [];\n      const columns = [];\n      let len = 0;\n      for (let index2 = startIndex; index2 <= endIndex; index2++) {\n        const lineContent = this.lines[index2];\n        const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index2] : 1;\n        const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index2] : lineContent.length + 1;\n        for (let col = startColumn; col < endColumn; col++) {\n          charCodes[len] = lineContent.charCodeAt(col - 1);\n          lineNumbers[len] = index2 + 1;\n          columns[len] = col;\n          len++;\n        }\n        if (!shouldIgnoreTrimWhitespace && index2 < endIndex) {\n          charCodes[len] = 10;\n          lineNumbers[len] = index2 + 1;\n          columns[len] = lineContent.length + 1;\n          len++;\n        }\n      }\n      return new CharSequence(charCodes, lineNumbers, columns);\n    }\n  };\n  var CharSequence = class {\n    constructor(charCodes, lineNumbers, columns) {\n      this._charCodes = charCodes;\n      this._lineNumbers = lineNumbers;\n      this._columns = columns;\n    }\n    toString() {\n      return \"[\" + this._charCodes.map((s2, idx) => (s2 === 10 ? \"\\\\n\" : String.fromCharCode(s2)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(\", \") + \"]\";\n    }\n    _assertIndex(index2, arr) {\n      if (index2 < 0 || index2 >= arr.length) {\n        throw new Error(`Illegal index`);\n      }\n    }\n    getElements() {\n      return this._charCodes;\n    }\n    getStartLineNumber(i2) {\n      if (i2 > 0 && i2 === this._lineNumbers.length) {\n        return this.getEndLineNumber(i2 - 1);\n      }\n      this._assertIndex(i2, this._lineNumbers);\n      return this._lineNumbers[i2];\n    }\n    getEndLineNumber(i2) {\n      if (i2 === -1) {\n        return this.getStartLineNumber(i2 + 1);\n      }\n      this._assertIndex(i2, this._lineNumbers);\n      if (this._charCodes[i2] === 10) {\n        return this._lineNumbers[i2] + 1;\n      }\n      return this._lineNumbers[i2];\n    }\n    getStartColumn(i2) {\n      if (i2 > 0 && i2 === this._columns.length) {\n        return this.getEndColumn(i2 - 1);\n      }\n      this._assertIndex(i2, this._columns);\n      return this._columns[i2];\n    }\n    getEndColumn(i2) {\n      if (i2 === -1) {\n        return this.getStartColumn(i2 + 1);\n      }\n      this._assertIndex(i2, this._columns);\n      if (this._charCodes[i2] === 10) {\n        return 1;\n      }\n      return this._columns[i2] + 1;\n    }\n  };\n  var CharChange = class _CharChange {\n    constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalStartColumn = originalStartColumn;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.originalEndColumn = originalEndColumn;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedStartColumn = modifiedStartColumn;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.modifiedEndColumn = modifiedEndColumn;\n    }\n    static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) {\n      const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart);\n      const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart);\n      const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1);\n      const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart);\n      const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart);\n      const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn);\n    }\n  };\n  function postProcessCharChanges(rawChanges) {\n    if (rawChanges.length <= 1) {\n      return rawChanges;\n    }\n    const result = [rawChanges[0]];\n    let prevChange = result[0];\n    for (let i2 = 1, len = rawChanges.length; i2 < len; i2++) {\n      const currChange = rawChanges[i2];\n      const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength);\n      const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength);\n      const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength);\n      if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) {\n        prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart;\n        prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart;\n      } else {\n        result.push(currChange);\n        prevChange = currChange;\n      }\n    }\n    return result;\n  }\n  var LineChange = class _LineChange {\n    constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.charChanges = charChanges;\n    }\n    static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) {\n      let originalStartLineNumber;\n      let originalEndLineNumber;\n      let modifiedStartLineNumber;\n      let modifiedEndLineNumber;\n      let charChanges = void 0;\n      if (diffChange.originalLength === 0) {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1;\n        originalEndLineNumber = 0;\n      } else {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart);\n        originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      }\n      if (diffChange.modifiedLength === 0) {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1;\n        modifiedEndLineNumber = 0;\n      } else {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart);\n        modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      }\n      if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) {\n        const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1);\n        const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1);\n        if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) {\n          let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes;\n          if (shouldPostProcessCharChanges) {\n            rawChanges = postProcessCharChanges(rawChanges);\n          }\n          charChanges = [];\n          for (let i2 = 0, length2 = rawChanges.length; i2 < length2; i2++) {\n            charChanges.push(CharChange.createFromDiffChange(rawChanges[i2], originalCharSequence, modifiedCharSequence));\n          }\n        }\n      }\n      return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges);\n    }\n  };\n  var DiffComputer = class {\n    constructor(originalLines, modifiedLines, opts) {\n      this.shouldComputeCharChanges = opts.shouldComputeCharChanges;\n      this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges;\n      this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace;\n      this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff;\n      this.originalLines = originalLines;\n      this.modifiedLines = modifiedLines;\n      this.original = new LineSequence(originalLines);\n      this.modified = new LineSequence(modifiedLines);\n      this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime);\n      this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3));\n    }\n    computeDiff() {\n      if (this.original.lines.length === 1 && this.original.lines[0].length === 0) {\n        if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n          return {\n            quitEarly: false,\n            changes: []\n          };\n        }\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: 1,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: this.modified.lines.length,\n            charChanges: void 0\n          }]\n        };\n      }\n      if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: this.original.lines.length,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: 1,\n            charChanges: void 0\n          }]\n        };\n      }\n      const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff);\n      const rawChanges = diffResult.changes;\n      const quitEarly = diffResult.quitEarly;\n      if (this.shouldIgnoreTrimWhitespace) {\n        const lineChanges = [];\n        for (let i2 = 0, length2 = rawChanges.length; i2 < length2; i2++) {\n          lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i2], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n        }\n        return {\n          quitEarly,\n          changes: lineChanges\n        };\n      }\n      const result = [];\n      let originalLineIndex = 0;\n      let modifiedLineIndex = 0;\n      for (let i2 = -1, len = rawChanges.length; i2 < len; i2++) {\n        const nextChange = i2 + 1 < len ? rawChanges[i2 + 1] : null;\n        const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length;\n        const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length;\n        while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) {\n          const originalLine = this.originalLines[originalLineIndex];\n          const modifiedLine = this.modifiedLines[modifiedLineIndex];\n          if (originalLine !== modifiedLine) {\n            {\n              let originalStartColumn = getFirstNonBlankColumn(originalLine, 1);\n              let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1);\n              while (originalStartColumn > 1 && modifiedStartColumn > 1) {\n                const originalChar = originalLine.charCodeAt(originalStartColumn - 2);\n                const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalStartColumn--;\n                modifiedStartColumn--;\n              }\n              if (originalStartColumn > 1 || modifiedStartColumn > 1) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn);\n              }\n            }\n            {\n              let originalEndColumn = getLastNonBlankColumn(originalLine, 1);\n              let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1);\n              const originalMaxColumn = originalLine.length + 1;\n              const modifiedMaxColumn = modifiedLine.length + 1;\n              while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) {\n                const originalChar = originalLine.charCodeAt(originalEndColumn - 1);\n                const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalEndColumn++;\n                modifiedEndColumn++;\n              }\n              if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn);\n              }\n            }\n          }\n          originalLineIndex++;\n          modifiedLineIndex++;\n        }\n        if (nextChange) {\n          result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n          originalLineIndex += nextChange.originalLength;\n          modifiedLineIndex += nextChange.modifiedLength;\n        }\n      }\n      return {\n        quitEarly,\n        changes: result\n      };\n    }\n    _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) {\n        return;\n      }\n      let charChanges = void 0;\n      if (this.shouldComputeCharChanges) {\n        charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)];\n      }\n      result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges));\n    }\n    _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      const len = result.length;\n      if (len === 0) {\n        return false;\n      }\n      const prevChange = result[len - 1];\n      if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) {\n        return false;\n      }\n      if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) {\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) {\n        prevChange.originalEndLineNumber = originalLineNumber;\n        prevChange.modifiedEndLineNumber = modifiedLineNumber;\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      return false;\n    }\n  };\n  function getFirstNonBlankColumn(txt, defaultValue) {\n    const r3 = firstNonWhitespaceIndex(txt);\n    if (r3 === -1) {\n      return defaultValue;\n    }\n    return r3 + 1;\n  }\n  function getLastNonBlankColumn(txt, defaultValue) {\n    const r3 = lastNonWhitespaceIndex(txt);\n    if (r3 === -1) {\n      return defaultValue;\n    }\n    return r3 + 2;\n  }\n  function createContinueProcessingPredicate(maximumRuntime) {\n    if (maximumRuntime === 0) {\n      return () => true;\n    }\n    const startTime = Date.now();\n    return () => {\n      return Date.now() - startTime < maximumRuntime;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js\n  var DiffAlgorithmResult = class _DiffAlgorithmResult {\n    static trivial(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);\n    }\n    static trivialTimedOut(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true);\n    }\n    constructor(diffs, hitTimeout) {\n      this.diffs = diffs;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var SequenceDiff = class _SequenceDiff {\n    static invert(sequenceDiffs, doc1Length) {\n      const result = [];\n      forEachAdjacent(sequenceDiffs, (a2, b2) => {\n        result.push(_SequenceDiff.fromOffsetPairs(a2 ? a2.getEndExclusives() : OffsetPair.zero, b2 ? b2.getStarts() : new OffsetPair(doc1Length, (a2 ? a2.seq2Range.endExclusive - a2.seq1Range.endExclusive : 0) + doc1Length)));\n      });\n      return result;\n    }\n    static fromOffsetPairs(start, endExclusive) {\n      return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2));\n    }\n    constructor(seq1Range, seq2Range) {\n      this.seq1Range = seq1Range;\n      this.seq2Range = seq2Range;\n    }\n    swap() {\n      return new _SequenceDiff(this.seq2Range, this.seq1Range);\n    }\n    toString() {\n      return `${this.seq1Range} <-> ${this.seq2Range}`;\n    }\n    join(other) {\n      return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range));\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset));\n    }\n    deltaStart(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset));\n    }\n    deltaEnd(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset));\n    }\n    intersect(other) {\n      const i1 = this.seq1Range.intersect(other.seq1Range);\n      const i2 = this.seq2Range.intersect(other.seq2Range);\n      if (!i1 || !i2) {\n        return void 0;\n      }\n      return new _SequenceDiff(i1, i2);\n    }\n    getStarts() {\n      return new OffsetPair(this.seq1Range.start, this.seq2Range.start);\n    }\n    getEndExclusives() {\n      return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive);\n    }\n  };\n  var OffsetPair = class _OffsetPair {\n    constructor(offset1, offset2) {\n      this.offset1 = offset1;\n      this.offset2 = offset2;\n    }\n    toString() {\n      return `${this.offset1} <-> ${this.offset2}`;\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _OffsetPair(this.offset1 + offset, this.offset2 + offset);\n    }\n    equals(other) {\n      return this.offset1 === other.offset1 && this.offset2 === other.offset2;\n    }\n  };\n  OffsetPair.zero = new OffsetPair(0, 0);\n  OffsetPair.max = new OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER);\n  var InfiniteTimeout = class {\n    isValid() {\n      return true;\n    }\n  };\n  InfiniteTimeout.instance = new InfiniteTimeout();\n  var DateTimeout = class {\n    constructor(timeout) {\n      this.timeout = timeout;\n      this.startTime = Date.now();\n      this.valid = true;\n      if (timeout <= 0) {\n        throw new BugIndicatingError(\"timeout must be positive\");\n      }\n    }\n    // Recommendation: Set a log-point `{this.disable()}` in the body\n    isValid() {\n      const valid = Date.now() - this.startTime < this.timeout;\n      if (!valid && this.valid) {\n        this.valid = false;\n        debugger;\n      }\n      return this.valid;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js\n  var Array2D = class {\n    constructor(width, height) {\n      this.width = width;\n      this.height = height;\n      this.array = [];\n      this.array = new Array(width * height);\n    }\n    get(x2, y2) {\n      return this.array[x2 + y2 * this.width];\n    }\n    set(x2, y2, value2) {\n      this.array[x2 + y2 * this.width] = value2;\n    }\n  };\n  function isSpace(charCode) {\n    return charCode === 32 || charCode === 9;\n  }\n  var LineRangeFragment = class _LineRangeFragment {\n    static getKey(chr) {\n      let key = this.chrKeys.get(chr);\n      if (key === void 0) {\n        key = this.chrKeys.size;\n        this.chrKeys.set(chr, key);\n      }\n      return key;\n    }\n    constructor(range, lines, source) {\n      this.range = range;\n      this.lines = lines;\n      this.source = source;\n      this.histogram = [];\n      let counter = 0;\n      for (let i2 = range.startLineNumber - 1; i2 < range.endLineNumberExclusive - 1; i2++) {\n        const line = lines[i2];\n        for (let j2 = 0; j2 < line.length; j2++) {\n          counter++;\n          const chr = line[j2];\n          const key2 = _LineRangeFragment.getKey(chr);\n          this.histogram[key2] = (this.histogram[key2] || 0) + 1;\n        }\n        counter++;\n        const key = _LineRangeFragment.getKey(\"\\n\");\n        this.histogram[key] = (this.histogram[key] || 0) + 1;\n      }\n      this.totalCount = counter;\n    }\n    computeSimilarity(other) {\n      var _a4, _b3;\n      let sumDifferences = 0;\n      const maxLength = Math.max(this.histogram.length, other.histogram.length);\n      for (let i2 = 0; i2 < maxLength; i2++) {\n        sumDifferences += Math.abs(((_a4 = this.histogram[i2]) !== null && _a4 !== void 0 ? _a4 : 0) - ((_b3 = other.histogram[i2]) !== null && _b3 !== void 0 ? _b3 : 0));\n      }\n      return 1 - sumDifferences / (this.totalCount + other.totalCount);\n    }\n  };\n  LineRangeFragment.chrKeys = /* @__PURE__ */ new Map();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js\n  var DynamicProgrammingDiffing = class {\n    compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {\n      if (sequence1.length === 0 || sequence2.length === 0) {\n        return DiffAlgorithmResult.trivial(sequence1, sequence2);\n      }\n      const lcsLengths = new Array2D(sequence1.length, sequence2.length);\n      const directions = new Array2D(sequence1.length, sequence2.length);\n      const lengths = new Array2D(sequence1.length, sequence2.length);\n      for (let s12 = 0; s12 < sequence1.length; s12++) {\n        for (let s22 = 0; s22 < sequence2.length; s22++) {\n          if (!timeout.isValid()) {\n            return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2);\n          }\n          const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22);\n          const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1);\n          let extendedSeqScore;\n          if (sequence1.getElement(s12) === sequence2.getElement(s22)) {\n            if (s12 === 0 || s22 === 0) {\n              extendedSeqScore = 0;\n            } else {\n              extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1);\n            }\n            if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) {\n              extendedSeqScore += lengths.get(s12 - 1, s22 - 1);\n            }\n            extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1;\n          } else {\n            extendedSeqScore = -1;\n          }\n          const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore);\n          if (newValue === extendedSeqScore) {\n            const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0;\n            lengths.set(s12, s22, prevLen + 1);\n            directions.set(s12, s22, 3);\n          } else if (newValue === horizontalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 1);\n          } else if (newValue === verticalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 2);\n          }\n          lcsLengths.set(s12, s22, newValue);\n        }\n      }\n      const result = [];\n      let lastAligningPosS1 = sequence1.length;\n      let lastAligningPosS2 = sequence2.length;\n      function reportDecreasingAligningPositions(s12, s22) {\n        if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2)));\n        }\n        lastAligningPosS1 = s12;\n        lastAligningPosS2 = s22;\n      }\n      let s1 = sequence1.length - 1;\n      let s2 = sequence2.length - 1;\n      while (s1 >= 0 && s2 >= 0) {\n        if (directions.get(s1, s2) === 3) {\n          reportDecreasingAligningPositions(s1, s2);\n          s1--;\n          s2--;\n        } else {\n          if (directions.get(s1, s2) === 1) {\n            s1--;\n          } else {\n            s2--;\n          }\n        }\n      }\n      reportDecreasingAligningPositions(-1, -1);\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js\n  var MyersDiffAlgorithm = class {\n    compute(seq1, seq2, timeout = InfiniteTimeout.instance) {\n      if (seq1.length === 0 || seq2.length === 0) {\n        return DiffAlgorithmResult.trivial(seq1, seq2);\n      }\n      const seqX = seq1;\n      const seqY = seq2;\n      function getXAfterSnake(x2, y2) {\n        while (x2 < seqX.length && y2 < seqY.length && seqX.getElement(x2) === seqY.getElement(y2)) {\n          x2++;\n          y2++;\n        }\n        return x2;\n      }\n      let d2 = 0;\n      const V3 = new FastInt32Array();\n      V3.set(0, getXAfterSnake(0, 0));\n      const paths = new FastArrayNegativeIndices();\n      paths.set(0, V3.get(0) === 0 ? null : new SnakePath(null, 0, 0, V3.get(0)));\n      let k5 = 0;\n      loop: while (true) {\n        d2++;\n        if (!timeout.isValid()) {\n          return DiffAlgorithmResult.trivialTimedOut(seqX, seqY);\n        }\n        const lowerBound = -Math.min(d2, seqY.length + d2 % 2);\n        const upperBound = Math.min(d2, seqX.length + d2 % 2);\n        for (k5 = lowerBound; k5 <= upperBound; k5 += 2) {\n          let step = 0;\n          const maxXofDLineTop = k5 === upperBound ? -1 : V3.get(k5 + 1);\n          const maxXofDLineLeft = k5 === lowerBound ? -1 : V3.get(k5 - 1) + 1;\n          step++;\n          const x2 = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length);\n          const y2 = x2 - k5;\n          step++;\n          if (x2 > seqX.length || y2 > seqY.length) {\n            continue;\n          }\n          const newMaxX = getXAfterSnake(x2, y2);\n          V3.set(k5, newMaxX);\n          const lastPath = x2 === maxXofDLineTop ? paths.get(k5 + 1) : paths.get(k5 - 1);\n          paths.set(k5, newMaxX !== x2 ? new SnakePath(lastPath, x2, y2, newMaxX - x2) : lastPath);\n          if (V3.get(k5) === seqX.length && V3.get(k5) - k5 === seqY.length) {\n            break loop;\n          }\n        }\n      }\n      let path = paths.get(k5);\n      const result = [];\n      let lastAligningPosS1 = seqX.length;\n      let lastAligningPosS2 = seqY.length;\n      while (true) {\n        const endX = path ? path.x + path.length : 0;\n        const endY = path ? path.y + path.length : 0;\n        if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2)));\n        }\n        if (!path) {\n          break;\n        }\n        lastAligningPosS1 = path.x;\n        lastAligningPosS2 = path.y;\n        path = path.prev;\n      }\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n  var SnakePath = class {\n    constructor(prev, x2, y2, length2) {\n      this.prev = prev;\n      this.x = x2;\n      this.y = y2;\n      this.length = length2;\n    }\n  };\n  var FastInt32Array = class {\n    constructor() {\n      this.positiveArr = new Int32Array(10);\n      this.negativeArr = new Int32Array(10);\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value2) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        if (idx >= this.negativeArr.length) {\n          const arr = this.negativeArr;\n          this.negativeArr = new Int32Array(arr.length * 2);\n          this.negativeArr.set(arr);\n        }\n        this.negativeArr[idx] = value2;\n      } else {\n        if (idx >= this.positiveArr.length) {\n          const arr = this.positiveArr;\n          this.positiveArr = new Int32Array(arr.length * 2);\n          this.positiveArr.set(arr);\n        }\n        this.positiveArr[idx] = value2;\n      }\n    }\n  };\n  var FastArrayNegativeIndices = class {\n    constructor() {\n      this.positiveArr = [];\n      this.negativeArr = [];\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value2) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        this.negativeArr[idx] = value2;\n      } else {\n        this.positiveArr[idx] = value2;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js\n  var LinesSliceCharSequence = class {\n    constructor(lines, lineRange, considerWhitespaceChanges) {\n      this.lines = lines;\n      this.considerWhitespaceChanges = considerWhitespaceChanges;\n      this.elements = [];\n      this.firstCharOffsetByLine = [];\n      this.additionalOffsetByLine = [];\n      let trimFirstLineFully = false;\n      if (lineRange.start > 0 && lineRange.endExclusive >= lines.length) {\n        lineRange = new OffsetRange(lineRange.start - 1, lineRange.endExclusive);\n        trimFirstLineFully = true;\n      }\n      this.lineRange = lineRange;\n      this.firstCharOffsetByLine[0] = 0;\n      for (let i2 = this.lineRange.start; i2 < this.lineRange.endExclusive; i2++) {\n        let line = lines[i2];\n        let offset = 0;\n        if (trimFirstLineFully) {\n          offset = line.length;\n          line = \"\";\n          trimFirstLineFully = false;\n        } else if (!considerWhitespaceChanges) {\n          const trimmedStartLine = line.trimStart();\n          offset = line.length - trimmedStartLine.length;\n          line = trimmedStartLine.trimEnd();\n        }\n        this.additionalOffsetByLine.push(offset);\n        for (let i3 = 0; i3 < line.length; i3++) {\n          this.elements.push(line.charCodeAt(i3));\n        }\n        if (i2 < lines.length - 1) {\n          this.elements.push(\"\\n\".charCodeAt(0));\n          this.firstCharOffsetByLine[i2 - this.lineRange.start + 1] = this.elements.length;\n        }\n      }\n      this.additionalOffsetByLine.push(0);\n    }\n    toString() {\n      return `Slice: \"${this.text}\"`;\n    }\n    get text() {\n      return this.getText(new OffsetRange(0, this.length));\n    }\n    getText(range) {\n      return this.elements.slice(range.start, range.endExclusive).map((e5) => String.fromCharCode(e5)).join(\"\");\n    }\n    getElement(offset) {\n      return this.elements[offset];\n    }\n    get length() {\n      return this.elements.length;\n    }\n    getBoundaryScore(length2) {\n      const prevCategory = getCategory(length2 > 0 ? this.elements[length2 - 1] : -1);\n      const nextCategory = getCategory(length2 < this.elements.length ? this.elements[length2] : -1);\n      if (prevCategory === 7 && nextCategory === 8) {\n        return 0;\n      }\n      if (prevCategory === 8) {\n        return 150;\n      }\n      let score2 = 0;\n      if (prevCategory !== nextCategory) {\n        score2 += 10;\n        if (prevCategory === 0 && nextCategory === 1) {\n          score2 += 1;\n        }\n      }\n      score2 += getCategoryBoundaryScore(prevCategory);\n      score2 += getCategoryBoundaryScore(nextCategory);\n      return score2;\n    }\n    translateOffset(offset) {\n      if (this.lineRange.isEmpty) {\n        return new Position2(this.lineRange.start + 1, 1);\n      }\n      const i2 = findLastIdxMonotonous(this.firstCharOffsetByLine, (value2) => value2 <= offset);\n      return new Position2(this.lineRange.start + i2 + 1, offset - this.firstCharOffsetByLine[i2] + this.additionalOffsetByLine[i2] + 1);\n    }\n    translateRange(range) {\n      return Range2.fromPositions(this.translateOffset(range.start), this.translateOffset(range.endExclusive));\n    }\n    /**\n     * Finds the word that contains the character at the given offset\n     */\n    findWordContaining(offset) {\n      if (offset < 0 || offset >= this.elements.length) {\n        return void 0;\n      }\n      if (!isWordChar(this.elements[offset])) {\n        return void 0;\n      }\n      let start = offset;\n      while (start > 0 && isWordChar(this.elements[start - 1])) {\n        start--;\n      }\n      let end = offset;\n      while (end < this.elements.length && isWordChar(this.elements[end])) {\n        end++;\n      }\n      return new OffsetRange(start, end);\n    }\n    countLinesIn(range) {\n      return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber;\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.elements[offset1] === this.elements[offset2];\n    }\n    extendToFullLines(range) {\n      var _a4, _b3;\n      const start = (_a4 = findLastMonotonous(this.firstCharOffsetByLine, (x2) => x2 <= range.start)) !== null && _a4 !== void 0 ? _a4 : 0;\n      const end = (_b3 = findFirstMonotonous(this.firstCharOffsetByLine, (x2) => range.endExclusive <= x2)) !== null && _b3 !== void 0 ? _b3 : this.elements.length;\n      return new OffsetRange(start, end);\n    }\n  };\n  function isWordChar(charCode) {\n    return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57;\n  }\n  var score = {\n    [\n      0\n      /* CharBoundaryCategory.WordLower */\n    ]: 0,\n    [\n      1\n      /* CharBoundaryCategory.WordUpper */\n    ]: 0,\n    [\n      2\n      /* CharBoundaryCategory.WordNumber */\n    ]: 0,\n    [\n      3\n      /* CharBoundaryCategory.End */\n    ]: 10,\n    [\n      4\n      /* CharBoundaryCategory.Other */\n    ]: 2,\n    [\n      5\n      /* CharBoundaryCategory.Separator */\n    ]: 30,\n    [\n      6\n      /* CharBoundaryCategory.Space */\n    ]: 3,\n    [\n      7\n      /* CharBoundaryCategory.LineBreakCR */\n    ]: 10,\n    [\n      8\n      /* CharBoundaryCategory.LineBreakLF */\n    ]: 10\n  };\n  function getCategoryBoundaryScore(category) {\n    return score[category];\n  }\n  function getCategory(charCode) {\n    if (charCode === 10) {\n      return 8;\n    } else if (charCode === 13) {\n      return 7;\n    } else if (isSpace(charCode)) {\n      return 6;\n    } else if (charCode >= 97 && charCode <= 122) {\n      return 0;\n    } else if (charCode >= 65 && charCode <= 90) {\n      return 1;\n    } else if (charCode >= 48 && charCode <= 57) {\n      return 2;\n    } else if (charCode === -1) {\n      return 3;\n    } else if (charCode === 44 || charCode === 59) {\n      return 5;\n    } else {\n      return 4;\n    }\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js\n  function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {\n    let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);\n    if (!timeout.isValid()) {\n      return [];\n    }\n    const filteredChanges = changes.filter((c3) => !excludedChanges.has(c3));\n    const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout);\n    pushMany(moves, unchangedMoves);\n    moves = joinCloseConsecutiveMoves(moves);\n    moves = moves.filter((current) => {\n      const lines = current.original.toOffsetRange().slice(originalLines).map((l2) => l2.trim());\n      const originalText = lines.join(\"\\n\");\n      return originalText.length >= 15 && countWhere(lines, (l2) => l2.length >= 2) >= 2;\n    });\n    moves = removeMovesInSameDiff(changes, moves);\n    return moves;\n  }\n  function countWhere(arr, predicate) {\n    let count = 0;\n    for (const t2 of arr) {\n      if (predicate(t2)) {\n        count++;\n      }\n    }\n    return count;\n  }\n  function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const deletions = changes.filter((c3) => c3.modified.isEmpty && c3.original.length >= 3).map((d2) => new LineRangeFragment(d2.original, originalLines, d2));\n    const insertions = new Set(changes.filter((c3) => c3.original.isEmpty && c3.modified.length >= 3).map((d2) => new LineRangeFragment(d2.modified, modifiedLines, d2)));\n    const excludedChanges = /* @__PURE__ */ new Set();\n    for (const deletion of deletions) {\n      let highestSimilarity = -1;\n      let best;\n      for (const insertion of insertions) {\n        const similarity = deletion.computeSimilarity(insertion);\n        if (similarity > highestSimilarity) {\n          highestSimilarity = similarity;\n          best = insertion;\n        }\n      }\n      if (highestSimilarity > 0.9 && best) {\n        insertions.delete(best);\n        moves.push(new LineRangeMapping(deletion.range, best.range));\n        excludedChanges.add(deletion.source);\n        excludedChanges.add(best.source);\n      }\n      if (!timeout.isValid()) {\n        return { moves, excludedChanges };\n      }\n    }\n    return { moves, excludedChanges };\n  }\n  function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const original3LineHashes = new SetMap();\n    for (const change of changes) {\n      for (let i2 = change.original.startLineNumber; i2 < change.original.endLineNumberExclusive - 2; i2++) {\n        const key = `${hashedOriginalLines[i2 - 1]}:${hashedOriginalLines[i2 + 1 - 1]}:${hashedOriginalLines[i2 + 2 - 1]}`;\n        original3LineHashes.add(key, { range: new LineRange(i2, i2 + 3) });\n      }\n    }\n    const possibleMappings = [];\n    changes.sort(compareBy((c3) => c3.modified.startLineNumber, numberComparator));\n    for (const change of changes) {\n      let lastMappings = [];\n      for (let i2 = change.modified.startLineNumber; i2 < change.modified.endLineNumberExclusive - 2; i2++) {\n        const key = `${hashedModifiedLines[i2 - 1]}:${hashedModifiedLines[i2 + 1 - 1]}:${hashedModifiedLines[i2 + 2 - 1]}`;\n        const currentModifiedRange = new LineRange(i2, i2 + 3);\n        const nextMappings = [];\n        original3LineHashes.forEach(key, ({ range }) => {\n          for (const lastMapping of lastMappings) {\n            if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) {\n              lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive);\n              lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive);\n              nextMappings.push(lastMapping);\n              return;\n            }\n          }\n          const mapping = {\n            modifiedLineRange: currentModifiedRange,\n            originalLineRange: range\n          };\n          possibleMappings.push(mapping);\n          nextMappings.push(mapping);\n        });\n        lastMappings = nextMappings;\n      }\n      if (!timeout.isValid()) {\n        return [];\n      }\n    }\n    possibleMappings.sort(reverseOrder(compareBy((m2) => m2.modifiedLineRange.length, numberComparator)));\n    const modifiedSet = new LineRangeSet();\n    const originalSet = new LineRangeSet();\n    for (const mapping of possibleMappings) {\n      const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber;\n      const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange);\n      const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod);\n      const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections);\n      for (const s2 of modifiedIntersectedSections.ranges) {\n        if (s2.length < 3) {\n          continue;\n        }\n        const modifiedLineRange = s2;\n        const originalLineRange = s2.delta(-diffOrigToMod);\n        moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange));\n        modifiedSet.addRange(modifiedLineRange);\n        originalSet.addRange(originalLineRange);\n      }\n    }\n    moves.sort(compareBy((m2) => m2.original.startLineNumber, numberComparator));\n    const monotonousChanges = new MonotonousArray(changes);\n    for (let i2 = 0; i2 < moves.length; i2++) {\n      const move = moves[i2];\n      const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c3) => c3.original.startLineNumber <= move.original.startLineNumber);\n      const firstTouchingChangeMod = findLastMonotonous(changes, (c3) => c3.modified.startLineNumber <= move.modified.startLineNumber);\n      const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber);\n      const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c3) => c3.original.startLineNumber < move.original.endLineNumberExclusive);\n      const lastTouchingChangeMod = findLastMonotonous(changes, (c3) => c3.modified.startLineNumber < move.modified.endLineNumberExclusive);\n      const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive);\n      let extendToTop;\n      for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) {\n        const origLine = move.original.startLineNumber - extendToTop - 1;\n        const modLine = move.modified.startLineNumber - extendToTop - 1;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToTop > 0) {\n        originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber));\n        modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber));\n      }\n      let extendToBottom;\n      for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) {\n        const origLine = move.original.endLineNumberExclusive + extendToBottom;\n        const modLine = move.modified.endLineNumberExclusive + extendToBottom;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToBottom > 0) {\n        originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom));\n        modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n      if (extendToTop > 0 || extendToBottom > 0) {\n        moves[i2] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n    }\n    return moves;\n  }\n  function areLinesSimilar(line1, line2, timeout) {\n    if (line1.trim() === line2.trim()) {\n      return true;\n    }\n    if (line1.length > 300 && line2.length > 300) {\n      return false;\n    }\n    const myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new OffsetRange(0, 1), false), new LinesSliceCharSequence([line2], new OffsetRange(0, 1), false), timeout);\n    let commonNonSpaceCharCount = 0;\n    const inverted = SequenceDiff.invert(result.diffs, line1.length);\n    for (const seq of inverted) {\n      seq.seq1Range.forEach((idx) => {\n        if (!isSpace(line1.charCodeAt(idx))) {\n          commonNonSpaceCharCount++;\n        }\n      });\n    }\n    function countNonWsChars(str) {\n      let count = 0;\n      for (let i2 = 0; i2 < line1.length; i2++) {\n        if (!isSpace(str.charCodeAt(i2))) {\n          count++;\n        }\n      }\n      return count;\n    }\n    const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2);\n    const r3 = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10;\n    return r3;\n  }\n  function joinCloseConsecutiveMoves(moves) {\n    if (moves.length === 0) {\n      return moves;\n    }\n    moves.sort(compareBy((m2) => m2.original.startLineNumber, numberComparator));\n    const result = [moves[0]];\n    for (let i2 = 1; i2 < moves.length; i2++) {\n      const last = result[result.length - 1];\n      const current = moves[i2];\n      const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive;\n      const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive;\n      const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0;\n      if (currentMoveAfterLast && originalDist + modifiedDist <= 2) {\n        result[result.length - 1] = last.join(current);\n        continue;\n      }\n      result.push(current);\n    }\n    return result;\n  }\n  function removeMovesInSameDiff(changes, moves) {\n    const changesMonotonous = new MonotonousArray(changes);\n    moves = moves.filter((m2) => {\n      const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c3) => c3.original.startLineNumber < m2.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1));\n      const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c3) => c3.modified.startLineNumber < m2.modified.endLineNumberExclusive);\n      const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified;\n      return differentDiffs;\n    });\n    return moves;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js\n  function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    let result = sequenceDiffs;\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = shiftSequenceDiffs(sequence1, sequence2, result);\n    return result;\n  }\n  function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) {\n    if (sequenceDiffs.length === 0) {\n      return sequenceDiffs;\n    }\n    const result = [];\n    result.push(sequenceDiffs[0]);\n    for (let i2 = 1; i2 < sequenceDiffs.length; i2++) {\n      const prevResult = result[result.length - 1];\n      let cur = sequenceDiffs[i2];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length2 = cur.seq1Range.start - prevResult.seq1Range.endExclusive;\n        let d2;\n        for (d2 = 1; d2 <= length2; d2++) {\n          if (sequence1.getElement(cur.seq1Range.start - d2) !== sequence1.getElement(cur.seq1Range.endExclusive - d2) || sequence2.getElement(cur.seq2Range.start - d2) !== sequence2.getElement(cur.seq2Range.endExclusive - d2)) {\n            break;\n          }\n        }\n        d2--;\n        if (d2 === length2) {\n          result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length2), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length2));\n          continue;\n        }\n        cur = cur.delta(-d2);\n      }\n      result.push(cur);\n    }\n    const result2 = [];\n    for (let i2 = 0; i2 < result.length - 1; i2++) {\n      const nextResult = result[i2 + 1];\n      let cur = result[i2];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length2 = nextResult.seq1Range.start - cur.seq1Range.endExclusive;\n        let d2;\n        for (d2 = 0; d2 < length2; d2++) {\n          if (!sequence1.isStronglyEqual(cur.seq1Range.start + d2, cur.seq1Range.endExclusive + d2) || !sequence2.isStronglyEqual(cur.seq2Range.start + d2, cur.seq2Range.endExclusive + d2)) {\n            break;\n          }\n        }\n        if (d2 === length2) {\n          result[i2 + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length2, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length2, nextResult.seq2Range.endExclusive));\n          continue;\n        }\n        if (d2 > 0) {\n          cur = cur.delta(d2);\n        }\n      }\n      result2.push(cur);\n    }\n    if (result.length > 0) {\n      result2.push(result[result.length - 1]);\n    }\n    return result2;\n  }\n  function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) {\n      return sequenceDiffs;\n    }\n    for (let i2 = 0; i2 < sequenceDiffs.length; i2++) {\n      const prevDiff = i2 > 0 ? sequenceDiffs[i2 - 1] : void 0;\n      const diff = sequenceDiffs[i2];\n      const nextDiff = i2 + 1 < sequenceDiffs.length ? sequenceDiffs[i2 + 1] : void 0;\n      const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length);\n      const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length);\n      if (diff.seq1Range.isEmpty) {\n        sequenceDiffs[i2] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange);\n      } else if (diff.seq2Range.isEmpty) {\n        sequenceDiffs[i2] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap();\n      }\n    }\n    return sequenceDiffs;\n  }\n  function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) {\n    const maxShiftLimit = 100;\n    let deltaBefore = 1;\n    while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) {\n      deltaBefore++;\n    }\n    deltaBefore--;\n    let deltaAfter = 0;\n    while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) {\n      deltaAfter++;\n    }\n    if (deltaBefore === 0 && deltaAfter === 0) {\n      return diff;\n    }\n    let bestDelta = 0;\n    let bestScore = -1;\n    for (let delta = -deltaBefore; delta <= deltaAfter; delta++) {\n      const seq2OffsetStart = diff.seq2Range.start + delta;\n      const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta;\n      const seq1Offset = diff.seq1Range.start + delta;\n      const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive);\n      if (score2 > bestScore) {\n        bestScore = score2;\n        bestDelta = delta;\n      }\n    }\n    return diff.delta(bestDelta);\n  }\n  function removeShortMatches(sequence1, sequence2, sequenceDiffs) {\n    const result = [];\n    for (const s2 of sequenceDiffs) {\n      const last = result[result.length - 1];\n      if (!last) {\n        result.push(s2);\n        continue;\n      }\n      if (s2.seq1Range.start - last.seq1Range.endExclusive <= 2 || s2.seq2Range.start - last.seq2Range.endExclusive <= 2) {\n        result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s2.seq1Range), last.seq2Range.join(s2.seq2Range));\n      } else {\n        result.push(s2);\n      }\n    }\n    return result;\n  }\n  function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) {\n    const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length);\n    const additional = [];\n    let lastPoint = new OffsetPair(0, 0);\n    function scanWord(pair, equalMapping) {\n      if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) {\n        return;\n      }\n      const w1 = sequence1.findWordContaining(pair.offset1);\n      const w2 = sequence2.findWordContaining(pair.offset2);\n      if (!w1 || !w2) {\n        return;\n      }\n      let w3 = new SequenceDiff(w1, w2);\n      const equalPart = w3.intersect(equalMapping);\n      let equalChars1 = equalPart.seq1Range.length;\n      let equalChars2 = equalPart.seq2Range.length;\n      while (equalMappings.length > 0) {\n        const next = equalMappings[0];\n        const intersects = next.seq1Range.intersects(w3.seq1Range) || next.seq2Range.intersects(w3.seq2Range);\n        if (!intersects) {\n          break;\n        }\n        const v1 = sequence1.findWordContaining(next.seq1Range.start);\n        const v2 = sequence2.findWordContaining(next.seq2Range.start);\n        const v3 = new SequenceDiff(v1, v2);\n        const equalPart2 = v3.intersect(next);\n        equalChars1 += equalPart2.seq1Range.length;\n        equalChars2 += equalPart2.seq2Range.length;\n        w3 = w3.join(v3);\n        if (w3.seq1Range.endExclusive >= next.seq1Range.endExclusive) {\n          equalMappings.shift();\n        } else {\n          break;\n        }\n      }\n      if (equalChars1 + equalChars2 < (w3.seq1Range.length + w3.seq2Range.length) * 2 / 3) {\n        additional.push(w3);\n      }\n      lastPoint = w3.getEndExclusives();\n    }\n    while (equalMappings.length > 0) {\n      const next = equalMappings.shift();\n      if (next.seq1Range.isEmpty) {\n        continue;\n      }\n      scanWord(next.getStarts(), next);\n      scanWord(next.getEndExclusives().delta(-1), next);\n    }\n    const merged = mergeSequenceDiffs(sequenceDiffs, additional);\n    return merged;\n  }\n  function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) {\n    const result = [];\n    while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) {\n      const sd1 = sequenceDiffs1[0];\n      const sd2 = sequenceDiffs2[0];\n      let next;\n      if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) {\n        next = sequenceDiffs1.shift();\n      } else {\n        next = sequenceDiffs2.shift();\n      }\n      if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) {\n        result[result.length - 1] = result[result.length - 1].join(next);\n      } else {\n        result.push(next);\n      }\n    }\n    return result;\n  }\n  function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i2 = 1; i2 < diffs.length; i2++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedText = sequence1.getText(unchangedRange);\n          const unchangedTextWithoutWs = unchangedText.replace(/\\s/g, \"\");\n          if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i2];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    return diffs;\n  }\n  function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i2 = 1; i2 < diffs.length; i2++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedLineCount = sequence1.countLinesIn(unchangedRange);\n          if (unchangedLineCount > 5 || unchangedRange.length > 500) {\n            return false;\n          }\n          const unchangedText = sequence1.getText(unchangedRange).trim();\n          if (unchangedText.length > 20 || unchangedText.split(/\\r\\n|\\r|\\n/).length > 1) {\n            return false;\n          }\n          const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range);\n          const beforeSeq1Length = before.seq1Range.length;\n          const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range);\n          const beforeSeq2Length = before.seq2Range.length;\n          const afterLineCount1 = sequence1.countLinesIn(after.seq1Range);\n          const afterSeq1Length = after.seq1Range.length;\n          const afterLineCount2 = sequence2.countLinesIn(after.seq2Range);\n          const afterSeq2Length = after.seq2Range.length;\n          const max2 = 2 * 40 + 50;\n          function cap(v2) {\n            return Math.min(v2, max2);\n          }\n          if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max2 ** 1.5) ** 1.5 * 1.3) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i2];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    const newDiffs = [];\n    forEachWithNeighbors(diffs, (prev, cur, next) => {\n      let newDiff = cur;\n      function shouldMarkAsChanged(text2) {\n        return text2.length > 0 && text2.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100;\n      }\n      const fullRange1 = sequence1.extendToFullLines(cur.seq1Range);\n      const prefix3 = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start));\n      if (shouldMarkAsChanged(prefix3)) {\n        newDiff = newDiff.deltaStart(-prefix3.length);\n      }\n      const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive));\n      if (shouldMarkAsChanged(suffix)) {\n        newDiff = newDiff.deltaEnd(suffix.length);\n      }\n      const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max);\n      const result = newDiff.intersect(availableSpace);\n      if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) {\n        newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result);\n      } else {\n        newDiffs.push(result);\n      }\n    });\n    return newDiffs;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js\n  var LineSequence2 = class {\n    constructor(trimmedHash, lines) {\n      this.trimmedHash = trimmedHash;\n      this.lines = lines;\n    }\n    getElement(offset) {\n      return this.trimmedHash[offset];\n    }\n    get length() {\n      return this.trimmedHash.length;\n    }\n    getBoundaryScore(length2) {\n      const indentationBefore = length2 === 0 ? 0 : getIndentation(this.lines[length2 - 1]);\n      const indentationAfter = length2 === this.lines.length ? 0 : getIndentation(this.lines[length2]);\n      return 1e3 - (indentationBefore + indentationAfter);\n    }\n    getText(range) {\n      return this.lines.slice(range.start, range.endExclusive).join(\"\\n\");\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.lines[offset1] === this.lines[offset2];\n    }\n  };\n  function getIndentation(str) {\n    let i2 = 0;\n    while (i2 < str.length && (str.charCodeAt(i2) === 32 || str.charCodeAt(i2) === 9)) {\n      i2++;\n    }\n    return i2;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js\n  var DefaultLinesDiffComputer = class {\n    constructor() {\n      this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing();\n      this.myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    }\n    computeDiff(originalLines, modifiedLines, options) {\n      if (originalLines.length <= 1 && equals(originalLines, modifiedLines, (a2, b2) => a2 === b2)) {\n        return new LinesDiff([], [], false);\n      }\n      if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) {\n        return new LinesDiff([\n          new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [\n            new RangeMapping(new Range2(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range2(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1))\n          ])\n        ], [], false);\n      }\n      const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs);\n      const considerWhitespaceChanges = !options.ignoreTrimWhitespace;\n      const perfectHashes = /* @__PURE__ */ new Map();\n      function getOrCreateHash(text2) {\n        let hash = perfectHashes.get(text2);\n        if (hash === void 0) {\n          hash = perfectHashes.size;\n          perfectHashes.set(text2, hash);\n        }\n        return hash;\n      }\n      const originalLinesHashes = originalLines.map((l2) => getOrCreateHash(l2.trim()));\n      const modifiedLinesHashes = modifiedLines.map((l2) => getOrCreateHash(l2.trim()));\n      const sequence1 = new LineSequence2(originalLinesHashes, originalLines);\n      const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines);\n      const lineAlignmentResult = (() => {\n        if (sequence1.length + sequence2.length < 1700) {\n          return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99);\n        }\n        return this.myersDiffingAlgorithm.compute(sequence1, sequence2);\n      })();\n      let lineAlignments = lineAlignmentResult.diffs;\n      let hitTimeout = lineAlignmentResult.hitTimeout;\n      lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments);\n      lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments);\n      const alignments = [];\n      const scanForWhitespaceChanges = (equalLinesCount) => {\n        if (!considerWhitespaceChanges) {\n          return;\n        }\n        for (let i2 = 0; i2 < equalLinesCount; i2++) {\n          const seq1Offset = seq1LastStart + i2;\n          const seq2Offset = seq2LastStart + i2;\n          if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) {\n            const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges);\n            for (const a2 of characterDiffs.mappings) {\n              alignments.push(a2);\n            }\n            if (characterDiffs.hitTimeout) {\n              hitTimeout = true;\n            }\n          }\n        }\n      };\n      let seq1LastStart = 0;\n      let seq2LastStart = 0;\n      for (const diff of lineAlignments) {\n        assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart);\n        const equalLinesCount = diff.seq1Range.start - seq1LastStart;\n        scanForWhitespaceChanges(equalLinesCount);\n        seq1LastStart = diff.seq1Range.endExclusive;\n        seq2LastStart = diff.seq2Range.endExclusive;\n        const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges);\n        if (characterDiffs.hitTimeout) {\n          hitTimeout = true;\n        }\n        for (const a2 of characterDiffs.mappings) {\n          alignments.push(a2);\n        }\n      }\n      scanForWhitespaceChanges(originalLines.length - seq1LastStart);\n      const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines);\n      let moves = [];\n      if (options.computeMoves) {\n        moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges);\n      }\n      assertFn(() => {\n        function validatePosition(pos, lines) {\n          if (pos.lineNumber < 1 || pos.lineNumber > lines.length) {\n            return false;\n          }\n          const line = lines[pos.lineNumber - 1];\n          if (pos.column < 1 || pos.column > line.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        function validateRange(range, lines) {\n          if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) {\n            return false;\n          }\n          if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        for (const c3 of changes) {\n          if (!c3.innerChanges) {\n            return false;\n          }\n          for (const ic of c3.innerChanges) {\n            const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines);\n            if (!valid) {\n              return false;\n            }\n          }\n          if (!validateRange(c3.modified, modifiedLines) || !validateRange(c3.original, originalLines)) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return new LinesDiff(changes, moves, hitTimeout);\n    }\n    computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) {\n      const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout);\n      const movesWithDiffs = moves.map((m2) => {\n        const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m2.original.toOffsetRange(), m2.modified.toOffsetRange()), timeout, considerWhitespaceChanges);\n        const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true);\n        return new MovedText(m2, mappings);\n      });\n      return movesWithDiffs;\n    }\n    refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) {\n      const slice1 = new LinesSliceCharSequence(originalLines, diff.seq1Range, considerWhitespaceChanges);\n      const slice2 = new LinesSliceCharSequence(modifiedLines, diff.seq2Range, considerWhitespaceChanges);\n      const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout);\n      let diffs = diffResult.diffs;\n      diffs = optimizeSequenceDiffs(slice1, slice2, diffs);\n      diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs);\n      diffs = removeShortMatches(slice1, slice2, diffs);\n      diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs);\n      const result = diffs.map((d2) => new RangeMapping(slice1.translateRange(d2.seq1Range), slice2.translateRange(d2.seq2Range)));\n      return {\n        mappings: result,\n        hitTimeout: diffResult.hitTimeout\n      };\n    }\n  };\n  function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) {\n    const changes = [];\n    for (const g2 of groupAdjacentBy(alignments.map((a2) => getLineRangeMapping(a2, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) {\n      const first = g2[0];\n      const last = g2[g2.length - 1];\n      changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g2.map((a2) => a2.innerChanges[0])));\n    }\n    assertFn(() => {\n      if (!dontAssertStartLine && changes.length > 0) {\n        if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) {\n          return false;\n        }\n        if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) {\n          return false;\n        }\n      }\n      return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n      m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n    });\n    return changes;\n  }\n  function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {\n    let lineStartDelta = 0;\n    let lineEndDelta = 0;\n    if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) {\n      lineEndDelta = -1;\n    }\n    if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) {\n      lineStartDelta = 1;\n    }\n    const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta);\n    const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta);\n    return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js\n  var linesDiffComputers = {\n    getLegacy: () => new LegacyLinesDiffComputer(),\n    getDefault: () => new DefaultLinesDiffComputer()\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/color.js\n  function roundFloat(number2, decimalPoints) {\n    const decimal = Math.pow(10, decimalPoints);\n    return Math.round(number2 * decimal) / decimal;\n  }\n  var RGBA = class {\n    constructor(r3, g2, b2, a2 = 1) {\n      this._rgbaBrand = void 0;\n      this.r = Math.min(255, Math.max(0, r3)) | 0;\n      this.g = Math.min(255, Math.max(0, g2)) | 0;\n      this.b = Math.min(255, Math.max(0, b2)) | 0;\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b2) {\n      return a2.r === b2.r && a2.g === b2.g && a2.b === b2.b && a2.a === b2.a;\n    }\n  };\n  var HSLA = class _HSLA {\n    constructor(h2, s2, l2, a2) {\n      this._hslaBrand = void 0;\n      this.h = Math.max(Math.min(360, h2), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s2), 0), 3);\n      this.l = roundFloat(Math.max(Math.min(1, l2), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b2) {\n      return a2.h === b2.h && a2.s === b2.s && a2.l === b2.l && a2.a === b2.a;\n    }\n    /**\n     * Converts an RGB color value to HSL. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes r, g, and b are contained in the set [0, 255] and\n     * returns h in the set [0, 360], s, and l in the set [0, 1].\n     */\n    static fromRGBA(rgba) {\n      const r3 = rgba.r / 255;\n      const g2 = rgba.g / 255;\n      const b2 = rgba.b / 255;\n      const a2 = rgba.a;\n      const max2 = Math.max(r3, g2, b2);\n      const min = Math.min(r3, g2, b2);\n      let h2 = 0;\n      let s2 = 0;\n      const l2 = (min + max2) / 2;\n      const chroma = max2 - min;\n      if (chroma > 0) {\n        s2 = Math.min(l2 <= 0.5 ? chroma / (2 * l2) : chroma / (2 - 2 * l2), 1);\n        switch (max2) {\n          case r3:\n            h2 = (g2 - b2) / chroma + (g2 < b2 ? 6 : 0);\n            break;\n          case g2:\n            h2 = (b2 - r3) / chroma + 2;\n            break;\n          case b2:\n            h2 = (r3 - g2) / chroma + 4;\n            break;\n        }\n        h2 *= 60;\n        h2 = Math.round(h2);\n      }\n      return new _HSLA(h2, s2, l2, a2);\n    }\n    static _hue2rgb(p4, q2, t2) {\n      if (t2 < 0) {\n        t2 += 1;\n      }\n      if (t2 > 1) {\n        t2 -= 1;\n      }\n      if (t2 < 1 / 6) {\n        return p4 + (q2 - p4) * 6 * t2;\n      }\n      if (t2 < 1 / 2) {\n        return q2;\n      }\n      if (t2 < 2 / 3) {\n        return p4 + (q2 - p4) * (2 / 3 - t2) * 6;\n      }\n      return p4;\n    }\n    /**\n     * Converts an HSL color value to RGB. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and\n     * returns r, g, and b in the set [0, 255].\n     */\n    static toRGBA(hsla) {\n      const h2 = hsla.h / 360;\n      const { s: s2, l: l2, a: a2 } = hsla;\n      let r3, g2, b2;\n      if (s2 === 0) {\n        r3 = g2 = b2 = l2;\n      } else {\n        const q2 = l2 < 0.5 ? l2 * (1 + s2) : l2 + s2 - l2 * s2;\n        const p4 = 2 * l2 - q2;\n        r3 = _HSLA._hue2rgb(p4, q2, h2 + 1 / 3);\n        g2 = _HSLA._hue2rgb(p4, q2, h2);\n        b2 = _HSLA._hue2rgb(p4, q2, h2 - 1 / 3);\n      }\n      return new RGBA(Math.round(r3 * 255), Math.round(g2 * 255), Math.round(b2 * 255), a2);\n    }\n  };\n  var HSVA = class _HSVA {\n    constructor(h2, s2, v2, a2) {\n      this._hsvaBrand = void 0;\n      this.h = Math.max(Math.min(360, h2), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s2), 0), 3);\n      this.v = roundFloat(Math.max(Math.min(1, v2), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3);\n    }\n    static equals(a2, b2) {\n      return a2.h === b2.h && a2.s === b2.s && a2.v === b2.v && a2.a === b2.a;\n    }\n    // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm\n    static fromRGBA(rgba) {\n      const r3 = rgba.r / 255;\n      const g2 = rgba.g / 255;\n      const b2 = rgba.b / 255;\n      const cmax = Math.max(r3, g2, b2);\n      const cmin = Math.min(r3, g2, b2);\n      const delta = cmax - cmin;\n      const s2 = cmax === 0 ? 0 : delta / cmax;\n      let m2;\n      if (delta === 0) {\n        m2 = 0;\n      } else if (cmax === r3) {\n        m2 = ((g2 - b2) / delta % 6 + 6) % 6;\n      } else if (cmax === g2) {\n        m2 = (b2 - r3) / delta + 2;\n      } else {\n        m2 = (r3 - g2) / delta + 4;\n      }\n      return new _HSVA(Math.round(m2 * 60), s2, cmax, rgba.a);\n    }\n    // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm\n    static toRGBA(hsva) {\n      const { h: h2, s: s2, v: v2, a: a2 } = hsva;\n      const c3 = v2 * s2;\n      const x2 = c3 * (1 - Math.abs(h2 / 60 % 2 - 1));\n      const m2 = v2 - c3;\n      let [r3, g2, b2] = [0, 0, 0];\n      if (h2 < 60) {\n        r3 = c3;\n        g2 = x2;\n      } else if (h2 < 120) {\n        r3 = x2;\n        g2 = c3;\n      } else if (h2 < 180) {\n        g2 = c3;\n        b2 = x2;\n      } else if (h2 < 240) {\n        g2 = x2;\n        b2 = c3;\n      } else if (h2 < 300) {\n        r3 = x2;\n        b2 = c3;\n      } else if (h2 <= 360) {\n        r3 = c3;\n        b2 = x2;\n      }\n      r3 = Math.round((r3 + m2) * 255);\n      g2 = Math.round((g2 + m2) * 255);\n      b2 = Math.round((b2 + m2) * 255);\n      return new RGBA(r3, g2, b2, a2);\n    }\n  };\n  var Color2 = class _Color {\n    static fromHex(hex2) {\n      return _Color.Format.CSS.parseHex(hex2) || _Color.red;\n    }\n    static equals(a2, b2) {\n      if (!a2 && !b2) {\n        return true;\n      }\n      if (!a2 || !b2) {\n        return false;\n      }\n      return a2.equals(b2);\n    }\n    get hsla() {\n      if (this._hsla) {\n        return this._hsla;\n      } else {\n        return HSLA.fromRGBA(this.rgba);\n      }\n    }\n    get hsva() {\n      if (this._hsva) {\n        return this._hsva;\n      }\n      return HSVA.fromRGBA(this.rgba);\n    }\n    constructor(arg) {\n      if (!arg) {\n        throw new Error(\"Color needs a value\");\n      } else if (arg instanceof RGBA) {\n        this.rgba = arg;\n      } else if (arg instanceof HSLA) {\n        this._hsla = arg;\n        this.rgba = HSLA.toRGBA(arg);\n      } else if (arg instanceof HSVA) {\n        this._hsva = arg;\n        this.rgba = HSVA.toRGBA(arg);\n      } else {\n        throw new Error(\"Invalid color ctor argument\");\n      }\n    }\n    equals(other) {\n      return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva);\n    }\n    /**\n     * http://www.w3.org/TR/WCAG20/#relativeluminancedef\n     * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.\n     */\n    getRelativeLuminance() {\n      const R3 = _Color._relativeLuminanceForComponent(this.rgba.r);\n      const G2 = _Color._relativeLuminanceForComponent(this.rgba.g);\n      const B2 = _Color._relativeLuminanceForComponent(this.rgba.b);\n      const luminance = 0.2126 * R3 + 0.7152 * G2 + 0.0722 * B2;\n      return roundFloat(luminance, 4);\n    }\n    static _relativeLuminanceForComponent(color2) {\n      const c3 = color2 / 255;\n      return c3 <= 0.03928 ? c3 / 12.92 : Math.pow((c3 + 0.055) / 1.055, 2.4);\n    }\n    /**\n     *\thttp://24ways.org/2010/calculating-color-contrast\n     *  Return 'true' if lighter color otherwise 'false'\n     */\n    isLighter() {\n      const yiq2 = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3;\n      return yiq2 >= 128;\n    }\n    isLighterThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 > lum2;\n    }\n    isDarkerThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 < lum2;\n    }\n    lighten(factor2) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor2, this.hsla.a));\n    }\n    darken(factor2) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor2, this.hsla.a));\n    }\n    transparent(factor2) {\n      const { r: r3, g: g2, b: b2, a: a2 } = this.rgba;\n      return new _Color(new RGBA(r3, g2, b2, a2 * factor2));\n    }\n    isTransparent() {\n      return this.rgba.a === 0;\n    }\n    isOpaque() {\n      return this.rgba.a === 1;\n    }\n    opposite() {\n      return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));\n    }\n    makeOpaque(opaqueBackground) {\n      if (this.isOpaque() || opaqueBackground.rgba.a !== 1) {\n        return this;\n      }\n      const { r: r3, g: g2, b: b2, a: a2 } = this.rgba;\n      return new _Color(new RGBA(opaqueBackground.rgba.r - a2 * (opaqueBackground.rgba.r - r3), opaqueBackground.rgba.g - a2 * (opaqueBackground.rgba.g - g2), opaqueBackground.rgba.b - a2 * (opaqueBackground.rgba.b - b2), 1));\n    }\n    toString() {\n      if (!this._toString) {\n        this._toString = _Color.Format.CSS.format(this);\n      }\n      return this._toString;\n    }\n    static getLighterColor(of, relative2, factor2) {\n      if (of.isLighterThan(relative2)) {\n        return of;\n      }\n      factor2 = factor2 ? factor2 : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor2 = factor2 * (lum2 - lum1) / lum2;\n      return of.lighten(factor2);\n    }\n    static getDarkerColor(of, relative2, factor2) {\n      if (of.isDarkerThan(relative2)) {\n        return of;\n      }\n      factor2 = factor2 ? factor2 : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor2 = factor2 * (lum1 - lum2) / lum1;\n      return of.darken(factor2);\n    }\n  };\n  Color2.white = new Color2(new RGBA(255, 255, 255, 1));\n  Color2.black = new Color2(new RGBA(0, 0, 0, 1));\n  Color2.red = new Color2(new RGBA(255, 0, 0, 1));\n  Color2.blue = new Color2(new RGBA(0, 0, 255, 1));\n  Color2.green = new Color2(new RGBA(0, 255, 0, 1));\n  Color2.cyan = new Color2(new RGBA(0, 255, 255, 1));\n  Color2.lightgrey = new Color2(new RGBA(211, 211, 211, 1));\n  Color2.transparent = new Color2(new RGBA(0, 0, 0, 0));\n  (function(Color3) {\n    let Format;\n    (function(Format2) {\n      let CSS;\n      (function(CSS2) {\n        function formatRGB(color2) {\n          if (color2.rgba.a === 1) {\n            return `rgb(${color2.rgba.r}, ${color2.rgba.g}, ${color2.rgba.b})`;\n          }\n          return Color3.Format.CSS.formatRGBA(color2);\n        }\n        CSS2.formatRGB = formatRGB;\n        function formatRGBA(color2) {\n          return `rgba(${color2.rgba.r}, ${color2.rgba.g}, ${color2.rgba.b}, ${+color2.rgba.a.toFixed(2)})`;\n        }\n        CSS2.formatRGBA = formatRGBA;\n        function formatHSL(color2) {\n          if (color2.hsla.a === 1) {\n            return `hsl(${color2.hsla.h}, ${(color2.hsla.s * 100).toFixed(2)}%, ${(color2.hsla.l * 100).toFixed(2)}%)`;\n          }\n          return Color3.Format.CSS.formatHSLA(color2);\n        }\n        CSS2.formatHSL = formatHSL;\n        function formatHSLA(color2) {\n          return `hsla(${color2.hsla.h}, ${(color2.hsla.s * 100).toFixed(2)}%, ${(color2.hsla.l * 100).toFixed(2)}%, ${color2.hsla.a.toFixed(2)})`;\n        }\n        CSS2.formatHSLA = formatHSLA;\n        function _toTwoDigitHex(n2) {\n          const r3 = n2.toString(16);\n          return r3.length !== 2 ? \"0\" + r3 : r3;\n        }\n        function formatHex2(color2) {\n          return `#${_toTwoDigitHex(color2.rgba.r)}${_toTwoDigitHex(color2.rgba.g)}${_toTwoDigitHex(color2.rgba.b)}`;\n        }\n        CSS2.formatHex = formatHex2;\n        function formatHexA(color2, compact = false) {\n          if (compact && color2.rgba.a === 1) {\n            return Color3.Format.CSS.formatHex(color2);\n          }\n          return `#${_toTwoDigitHex(color2.rgba.r)}${_toTwoDigitHex(color2.rgba.g)}${_toTwoDigitHex(color2.rgba.b)}${_toTwoDigitHex(Math.round(color2.rgba.a * 255))}`;\n        }\n        CSS2.formatHexA = formatHexA;\n        function format(color2) {\n          if (color2.isOpaque()) {\n            return Color3.Format.CSS.formatHex(color2);\n          }\n          return Color3.Format.CSS.formatRGBA(color2);\n        }\n        CSS2.format = format;\n        function parseHex2(hex2) {\n          const length2 = hex2.length;\n          if (length2 === 0) {\n            return null;\n          }\n          if (hex2.charCodeAt(0) !== 35) {\n            return null;\n          }\n          if (length2 === 7) {\n            const r3 = 16 * _parseHexDigit(hex2.charCodeAt(1)) + _parseHexDigit(hex2.charCodeAt(2));\n            const g2 = 16 * _parseHexDigit(hex2.charCodeAt(3)) + _parseHexDigit(hex2.charCodeAt(4));\n            const b2 = 16 * _parseHexDigit(hex2.charCodeAt(5)) + _parseHexDigit(hex2.charCodeAt(6));\n            return new Color3(new RGBA(r3, g2, b2, 1));\n          }\n          if (length2 === 9) {\n            const r3 = 16 * _parseHexDigit(hex2.charCodeAt(1)) + _parseHexDigit(hex2.charCodeAt(2));\n            const g2 = 16 * _parseHexDigit(hex2.charCodeAt(3)) + _parseHexDigit(hex2.charCodeAt(4));\n            const b2 = 16 * _parseHexDigit(hex2.charCodeAt(5)) + _parseHexDigit(hex2.charCodeAt(6));\n            const a2 = 16 * _parseHexDigit(hex2.charCodeAt(7)) + _parseHexDigit(hex2.charCodeAt(8));\n            return new Color3(new RGBA(r3, g2, b2, a2 / 255));\n          }\n          if (length2 === 4) {\n            const r3 = _parseHexDigit(hex2.charCodeAt(1));\n            const g2 = _parseHexDigit(hex2.charCodeAt(2));\n            const b2 = _parseHexDigit(hex2.charCodeAt(3));\n            return new Color3(new RGBA(16 * r3 + r3, 16 * g2 + g2, 16 * b2 + b2));\n          }\n          if (length2 === 5) {\n            const r3 = _parseHexDigit(hex2.charCodeAt(1));\n            const g2 = _parseHexDigit(hex2.charCodeAt(2));\n            const b2 = _parseHexDigit(hex2.charCodeAt(3));\n            const a2 = _parseHexDigit(hex2.charCodeAt(4));\n            return new Color3(new RGBA(16 * r3 + r3, 16 * g2 + g2, 16 * b2 + b2, (16 * a2 + a2) / 255));\n          }\n          return null;\n        }\n        CSS2.parseHex = parseHex2;\n        function _parseHexDigit(charCode) {\n          switch (charCode) {\n            case 48:\n              return 0;\n            case 49:\n              return 1;\n            case 50:\n              return 2;\n            case 51:\n              return 3;\n            case 52:\n              return 4;\n            case 53:\n              return 5;\n            case 54:\n              return 6;\n            case 55:\n              return 7;\n            case 56:\n              return 8;\n            case 57:\n              return 9;\n            case 97:\n              return 10;\n            case 65:\n              return 10;\n            case 98:\n              return 11;\n            case 66:\n              return 11;\n            case 99:\n              return 12;\n            case 67:\n              return 12;\n            case 100:\n              return 13;\n            case 68:\n              return 13;\n            case 101:\n              return 14;\n            case 69:\n              return 14;\n            case 102:\n              return 15;\n            case 70:\n              return 15;\n          }\n          return 0;\n        }\n      })(CSS = Format2.CSS || (Format2.CSS = {}));\n    })(Format = Color3.Format || (Color3.Format = {}));\n  })(Color2 || (Color2 = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js\n  function _parseCaptureGroups(captureGroups) {\n    const values = [];\n    for (const captureGroup of captureGroups) {\n      const parsedNumber = Number(captureGroup);\n      if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\\s/g, \"\") !== \"\") {\n        values.push(parsedNumber);\n      }\n    }\n    return values;\n  }\n  function _toIColor(r3, g2, b2, a2) {\n    return {\n      red: r3 / 255,\n      blue: b2 / 255,\n      green: g2 / 255,\n      alpha: a2\n    };\n  }\n  function _findRange(model, match) {\n    const index2 = match.index;\n    const length2 = match[0].length;\n    if (!index2) {\n      return;\n    }\n    const startPosition = model.positionAt(index2);\n    const range = {\n      startLineNumber: startPosition.lineNumber,\n      startColumn: startPosition.column,\n      endLineNumber: startPosition.lineNumber,\n      endColumn: startPosition.column + length2\n    };\n    return range;\n  }\n  function _findHexColorInformation(range, hexValue) {\n    if (!range) {\n      return;\n    }\n    const parsedHexColor = Color2.Format.CSS.parseHex(hexValue);\n    if (!parsedHexColor) {\n      return;\n    }\n    return {\n      range,\n      color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a)\n    };\n  }\n  function _findRGBColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    return {\n      range,\n      color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1)\n    };\n  }\n  function _findHSLColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    const colorEquivalent = new Color2(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1));\n    return {\n      range,\n      color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a)\n    };\n  }\n  function _findMatches(model, regex) {\n    if (typeof model === \"string\") {\n      return [...model.matchAll(regex)];\n    } else {\n      return model.findMatches(regex);\n    }\n  }\n  function computeColors(model) {\n    const result = [];\n    const initialValidationRegex = /\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|(#)([A-Fa-f0-9]{3})\\b|(#)([A-Fa-f0-9]{4})\\b|(#)([A-Fa-f0-9]{6})\\b|(#)([A-Fa-f0-9]{8})\\b/gm;\n    const initialValidationMatches = _findMatches(model, initialValidationRegex);\n    if (initialValidationMatches.length > 0) {\n      for (const initialMatch of initialValidationMatches) {\n        const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0);\n        const colorScheme = initialCaptureGroups[1];\n        const colorParameters = initialCaptureGroups[2];\n        if (!colorParameters) {\n          continue;\n        }\n        let colorInformation;\n        if (colorScheme === \"rgb\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"rgba\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"hsl\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"hsla\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"#\") {\n          colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters);\n        }\n        if (colorInformation) {\n          result.push(colorInformation);\n        }\n      }\n    }\n    return result;\n  }\n  function computeDefaultDocumentColors(model) {\n    if (!model || typeof model.getValue !== \"function\" || typeof model.positionAt !== \"function\") {\n      return [];\n    }\n    return computeColors(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js\n  var markRegex = /\\bMARK:\\s*(.*)$/d;\n  var trimDashesRegex = /^-+|-+$/g;\n  function findSectionHeaders(model, options) {\n    var _a4;\n    let headers = [];\n    if (options.findRegionSectionHeaders && ((_a4 = options.foldingRules) === null || _a4 === void 0 ? void 0 : _a4.markers)) {\n      const regionHeaders = collectRegionHeaders(model, options);\n      headers = headers.concat(regionHeaders);\n    }\n    if (options.findMarkSectionHeaders) {\n      const markHeaders = collectMarkHeaders(model);\n      headers = headers.concat(markHeaders);\n    }\n    return headers;\n  }\n  function collectRegionHeaders(model, options) {\n    const regionHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      const match = lineContent.match(options.foldingRules.markers.start);\n      if (match) {\n        const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 };\n        if (range.endColumn > range.startColumn) {\n          const sectionHeader = {\n            range,\n            ...getHeaderText(lineContent.substring(match[0].length)),\n            shouldBeInComments: false\n          };\n          if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n            regionHeaders.push(sectionHeader);\n          }\n        }\n      }\n    }\n    return regionHeaders;\n  }\n  function collectMarkHeaders(model) {\n    const markHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      addMarkHeaderIfFound(lineContent, lineNumber, markHeaders);\n    }\n    return markHeaders;\n  }\n  function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) {\n    markRegex.lastIndex = 0;\n    const match = markRegex.exec(lineContent);\n    if (match) {\n      const column = match.indices[1][0] + 1;\n      const endColumn = match.indices[1][1] + 1;\n      const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn };\n      if (range.endColumn > range.startColumn) {\n        const sectionHeader = {\n          range,\n          ...getHeaderText(match[1]),\n          shouldBeInComments: true\n        };\n        if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n          sectionHeaders.push(sectionHeader);\n        }\n      }\n    }\n  }\n  function getHeaderText(text2) {\n    text2 = text2.trim();\n    const hasSeparatorLine = text2.startsWith(\"-\");\n    text2 = text2.replace(trimDashesRegex, \"\");\n    return { text: text2, hasSeparatorLine };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js\n  var MirrorModel = class extends MirrorTextModel {\n    get uri() {\n      return this._uri;\n    }\n    get eol() {\n      return this._eol;\n    }\n    getValue() {\n      return this.getText();\n    }\n    findMatches(regex) {\n      const matches = [];\n      for (let i2 = 0; i2 < this._lines.length; i2++) {\n        const line = this._lines[i2];\n        const offsetToAdd = this.offsetAt(new Position2(i2 + 1, 1));\n        const iteratorOverMatches = line.matchAll(regex);\n        for (const match of iteratorOverMatches) {\n          if (match.index || match.index === 0) {\n            match.index = match.index + offsetToAdd;\n          }\n          matches.push(match);\n        }\n      }\n      return matches;\n    }\n    getLinesContent() {\n      return this._lines.slice(0);\n    }\n    getLineCount() {\n      return this._lines.length;\n    }\n    getLineContent(lineNumber) {\n      return this._lines[lineNumber - 1];\n    }\n    getWordAtPosition(position2, wordDefinition) {\n      const wordAtText = getWordAtText(position2.column, ensureValidWordDefinition(wordDefinition), this._lines[position2.lineNumber - 1], 0);\n      if (wordAtText) {\n        return new Range2(position2.lineNumber, wordAtText.startColumn, position2.lineNumber, wordAtText.endColumn);\n      }\n      return null;\n    }\n    words(wordDefinition) {\n      const lines = this._lines;\n      const wordenize = this._wordenize.bind(this);\n      let lineNumber = 0;\n      let lineText = \"\";\n      let wordRangesIdx = 0;\n      let wordRanges = [];\n      return {\n        *[Symbol.iterator]() {\n          while (true) {\n            if (wordRangesIdx < wordRanges.length) {\n              const value2 = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end);\n              wordRangesIdx += 1;\n              yield value2;\n            } else {\n              if (lineNumber < lines.length) {\n                lineText = lines[lineNumber];\n                wordRanges = wordenize(lineText, wordDefinition);\n                wordRangesIdx = 0;\n                lineNumber += 1;\n              } else {\n                break;\n              }\n            }\n          }\n        }\n      };\n    }\n    getLineWords(lineNumber, wordDefinition) {\n      const content = this._lines[lineNumber - 1];\n      const ranges = this._wordenize(content, wordDefinition);\n      const words = [];\n      for (const range of ranges) {\n        words.push({\n          word: content.substring(range.start, range.end),\n          startColumn: range.start + 1,\n          endColumn: range.end + 1\n        });\n      }\n      return words;\n    }\n    _wordenize(content, wordDefinition) {\n      const result = [];\n      let match;\n      wordDefinition.lastIndex = 0;\n      while (match = wordDefinition.exec(content)) {\n        if (match[0].length === 0) {\n          break;\n        }\n        result.push({ start: match.index, end: match.index + match[0].length });\n      }\n      return result;\n    }\n    getValueInRange(range) {\n      range = this._validateRange(range);\n      if (range.startLineNumber === range.endLineNumber) {\n        return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1);\n      }\n      const lineEnding = this._eol;\n      const startLineIndex = range.startLineNumber - 1;\n      const endLineIndex = range.endLineNumber - 1;\n      const resultLines = [];\n      resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1));\n      for (let i2 = startLineIndex + 1; i2 < endLineIndex; i2++) {\n        resultLines.push(this._lines[i2]);\n      }\n      resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1));\n      return resultLines.join(lineEnding);\n    }\n    offsetAt(position2) {\n      position2 = this._validatePosition(position2);\n      this._ensureLineStarts();\n      return this._lineStarts.getPrefixSum(position2.lineNumber - 2) + (position2.column - 1);\n    }\n    positionAt(offset) {\n      offset = Math.floor(offset);\n      offset = Math.max(0, offset);\n      this._ensureLineStarts();\n      const out = this._lineStarts.getIndexOf(offset);\n      const lineLength = this._lines[out.index].length;\n      return {\n        lineNumber: 1 + out.index,\n        column: 1 + Math.min(out.remainder, lineLength)\n      };\n    }\n    _validateRange(range) {\n      const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn });\n      const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn });\n      if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) {\n        return {\n          startLineNumber: start.lineNumber,\n          startColumn: start.column,\n          endLineNumber: end.lineNumber,\n          endColumn: end.column\n        };\n      }\n      return range;\n    }\n    _validatePosition(position2) {\n      if (!Position2.isIPosition(position2)) {\n        throw new Error(\"bad position\");\n      }\n      let { lineNumber, column } = position2;\n      let hasChanged = false;\n      if (lineNumber < 1) {\n        lineNumber = 1;\n        column = 1;\n        hasChanged = true;\n      } else if (lineNumber > this._lines.length) {\n        lineNumber = this._lines.length;\n        column = this._lines[lineNumber - 1].length + 1;\n        hasChanged = true;\n      } else {\n        const maxCharacter = this._lines[lineNumber - 1].length + 1;\n        if (column < 1) {\n          column = 1;\n          hasChanged = true;\n        } else if (column > maxCharacter) {\n          column = maxCharacter;\n          hasChanged = true;\n        }\n      }\n      if (!hasChanged) {\n        return position2;\n      } else {\n        return { lineNumber, column };\n      }\n    }\n  };\n  var EditorSimpleWorker = class _EditorSimpleWorker {\n    constructor(host, foreignModuleFactory) {\n      this._host = host;\n      this._models = /* @__PURE__ */ Object.create(null);\n      this._foreignModuleFactory = foreignModuleFactory;\n      this._foreignModule = null;\n    }\n    dispose() {\n      this._models = /* @__PURE__ */ Object.create(null);\n    }\n    _getModel(uri) {\n      return this._models[uri];\n    }\n    _getModels() {\n      const all = [];\n      Object.keys(this._models).forEach((key) => all.push(this._models[key]));\n      return all;\n    }\n    acceptNewModel(data) {\n      this._models[data.url] = new MirrorModel(URI2.parse(data.url), data.lines, data.EOL, data.versionId);\n    }\n    acceptModelChanged(strURL, e5) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      const model = this._models[strURL];\n      model.onEvents(e5);\n    }\n    acceptRemovedModel(strURL) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      delete this._models[strURL];\n    }\n    async computeUnicodeHighlights(url2, options, range) {\n      const model = this._getModel(url2);\n      if (!model) {\n        return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 };\n      }\n      return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range);\n    }\n    async findSectionHeaders(url2, options) {\n      const model = this._getModel(url2);\n      if (!model) {\n        return [];\n      }\n      return findSectionHeaders(model, options);\n    }\n    // ---- BEGIN diff --------------------------------------------------------------------------\n    async computeDiff(originalUrl, modifiedUrl, options, algorithm) {\n      const original = this._getModel(originalUrl);\n      const modified = this._getModel(modifiedUrl);\n      if (!original || !modified) {\n        return null;\n      }\n      const result = _EditorSimpleWorker.computeDiff(original, modified, options, algorithm);\n      return result;\n    }\n    static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) {\n      const diffAlgorithm = algorithm === \"advanced\" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy();\n      const originalLines = originalTextModel.getLinesContent();\n      const modifiedLines = modifiedTextModel.getLinesContent();\n      const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options);\n      const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel);\n      function getLineChanges(changes) {\n        return changes.map((m2) => {\n          var _a4;\n          return [m2.original.startLineNumber, m2.original.endLineNumberExclusive, m2.modified.startLineNumber, m2.modified.endLineNumberExclusive, (_a4 = m2.innerChanges) === null || _a4 === void 0 ? void 0 : _a4.map((m3) => [\n            m3.originalRange.startLineNumber,\n            m3.originalRange.startColumn,\n            m3.originalRange.endLineNumber,\n            m3.originalRange.endColumn,\n            m3.modifiedRange.startLineNumber,\n            m3.modifiedRange.startColumn,\n            m3.modifiedRange.endLineNumber,\n            m3.modifiedRange.endColumn\n          ])];\n        });\n      }\n      return {\n        identical,\n        quitEarly: result.hitTimeout,\n        changes: getLineChanges(result.changes),\n        moves: result.moves.map((m2) => [\n          m2.lineRangeMapping.original.startLineNumber,\n          m2.lineRangeMapping.original.endLineNumberExclusive,\n          m2.lineRangeMapping.modified.startLineNumber,\n          m2.lineRangeMapping.modified.endLineNumberExclusive,\n          getLineChanges(m2.changes)\n        ])\n      };\n    }\n    static _modelsAreIdentical(original, modified) {\n      const originalLineCount = original.getLineCount();\n      const modifiedLineCount = modified.getLineCount();\n      if (originalLineCount !== modifiedLineCount) {\n        return false;\n      }\n      for (let line = 1; line <= originalLineCount; line++) {\n        const originalLine = original.getLineContent(line);\n        const modifiedLine = modified.getLineContent(line);\n        if (originalLine !== modifiedLine) {\n          return false;\n        }\n      }\n      return true;\n    }\n    async computeMoreMinimalEdits(modelUrl, edits, pretty) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return edits;\n      }\n      const result = [];\n      let lastEol = void 0;\n      edits = edits.slice(0).sort((a2, b2) => {\n        if (a2.range && b2.range) {\n          return Range2.compareRangesUsingStarts(a2.range, b2.range);\n        }\n        const aRng = a2.range ? 0 : 1;\n        const bRng = b2.range ? 0 : 1;\n        return aRng - bRng;\n      });\n      let writeIndex = 0;\n      for (let readIndex = 1; readIndex < edits.length; readIndex++) {\n        if (Range2.getEndPosition(edits[writeIndex].range).equals(Range2.getStartPosition(edits[readIndex].range))) {\n          edits[writeIndex].range = Range2.fromPositions(Range2.getStartPosition(edits[writeIndex].range), Range2.getEndPosition(edits[readIndex].range));\n          edits[writeIndex].text += edits[readIndex].text;\n        } else {\n          writeIndex++;\n          edits[writeIndex] = edits[readIndex];\n        }\n      }\n      edits.length = writeIndex + 1;\n      for (let { range, text: text2, eol } of edits) {\n        if (typeof eol === \"number\") {\n          lastEol = eol;\n        }\n        if (Range2.isEmpty(range) && !text2) {\n          continue;\n        }\n        const original = model.getValueInRange(range);\n        text2 = text2.replace(/\\r\\n|\\n|\\r/g, model.eol);\n        if (original === text2) {\n          continue;\n        }\n        if (Math.max(text2.length, original.length) > _EditorSimpleWorker._diffLimit) {\n          result.push({ range, text: text2 });\n          continue;\n        }\n        const changes = stringDiff(original, text2, pretty);\n        const editOffset = model.offsetAt(Range2.lift(range).getStartPosition());\n        for (const change of changes) {\n          const start = model.positionAt(editOffset + change.originalStart);\n          const end = model.positionAt(editOffset + change.originalStart + change.originalLength);\n          const newEdit = {\n            text: text2.substr(change.modifiedStart, change.modifiedLength),\n            range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column }\n          };\n          if (model.getValueInRange(newEdit.range) !== newEdit.text) {\n            result.push(newEdit);\n          }\n        }\n      }\n      if (typeof lastEol === \"number\") {\n        result.push({ eol: lastEol, text: \"\", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } });\n      }\n      return result;\n    }\n    // ---- END minimal edits ---------------------------------------------------------------\n    async computeLinks(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeLinks(model);\n    }\n    // --- BEGIN default document colors -----------------------------------------------------------\n    async computeDefaultDocumentColors(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeDefaultDocumentColors(model);\n    }\n    async textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) {\n      const sw = new StopWatch();\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const seen = /* @__PURE__ */ new Set();\n      outer: for (const url2 of modelUrls) {\n        const model = this._getModel(url2);\n        if (!model) {\n          continue;\n        }\n        for (const word of model.words(wordDefRegExp)) {\n          if (word === leadingWord || !isNaN(Number(word))) {\n            continue;\n          }\n          seen.add(word);\n          if (seen.size > _EditorSimpleWorker._suggestionsLimit) {\n            break outer;\n          }\n        }\n      }\n      return { words: Array.from(seen), duration: sw.elapsed() };\n    }\n    // ---- END suggest --------------------------------------------------------------------------\n    //#region -- word ranges --\n    async computeWordRanges(modelUrl, range, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return /* @__PURE__ */ Object.create(null);\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const result = /* @__PURE__ */ Object.create(null);\n      for (let line = range.startLineNumber; line < range.endLineNumber; line++) {\n        const words = model.getLineWords(line, wordDefRegExp);\n        for (const word of words) {\n          if (!isNaN(Number(word.word))) {\n            continue;\n          }\n          let array = result[word.word];\n          if (!array) {\n            array = [];\n            result[word.word] = array;\n          }\n          array.push({\n            startLineNumber: line,\n            startColumn: word.startColumn,\n            endLineNumber: line,\n            endColumn: word.endColumn\n          });\n        }\n      }\n      return result;\n    }\n    //#endregion\n    async navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      if (range.startColumn === range.endColumn) {\n        range = {\n          startLineNumber: range.startLineNumber,\n          startColumn: range.startColumn,\n          endLineNumber: range.endLineNumber,\n          endColumn: range.endColumn + 1\n        };\n      }\n      const selectionText = model.getValueInRange(range);\n      const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp);\n      if (!wordRange) {\n        return null;\n      }\n      const word = model.getValueInRange(wordRange);\n      const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up);\n      return result;\n    }\n    // ---- BEGIN foreign module support --------------------------------------------------------------------------\n    loadForeignModule(moduleId, createData, foreignHostMethods) {\n      const proxyMethodRequest = (method, args) => {\n        return this._host.fhr(method, args);\n      };\n      const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest);\n      const ctx = {\n        host: foreignHost,\n        getMirrorModels: () => {\n          return this._getModels();\n        }\n      };\n      if (this._foreignModuleFactory) {\n        this._foreignModule = this._foreignModuleFactory(ctx, createData);\n        return Promise.resolve(getAllMethodNames(this._foreignModule));\n      }\n      return Promise.reject(new Error(`Unexpected usage`));\n    }\n    // foreign method request\n    fmr(method, args) {\n      if (!this._foreignModule || typeof this._foreignModule[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args));\n      } catch (e5) {\n        return Promise.reject(e5);\n      }\n    }\n  };\n  EditorSimpleWorker._diffLimit = 1e5;\n  EditorSimpleWorker._suggestionsLimit = 1e4;\n  if (typeof importScripts === \"function\") {\n    globalThis.monaco = createMonacoBaseAPI();\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/editor.worker.js\n  var initialized = false;\n  function initialize(foreignModule) {\n    if (initialized) {\n      return;\n    }\n    initialized = true;\n    const simpleWorker = new SimpleWorkerServer((msg) => {\n      globalThis.postMessage(msg);\n    }, (host) => new EditorSimpleWorker(host, foreignModule));\n    globalThis.onmessage = (e5) => {\n      simpleWorker.onmessage(e5.data);\n    };\n  }\n  globalThis.onmessage = (e5) => {\n    if (!initialized) {\n      initialize(null);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-worker-manager@2.0.1_monaco-editor@0.49.0/node_modules/monaco-worker-manager/worker.js\n  function initialize2(fn5) {\n    self.onmessage = () => {\n      initialize((ctx, createData) => Object.create(fn5(ctx, createData)));\n    };\n  }\n\n  // node_modules/.pnpm/monaco-tailwindcss@0.6.1_monaco-editor@0.49.0/node_modules/monaco-tailwindcss/tailwindcss.worker.js\n  var import_postcss_selector_parser2 = __toESM(require_dist(), 1);\n  var import_postcss_selector_parser3 = __toESM(require_dist(), 1);\n  var import_postcss_selector_parser4 = __toESM(require_dist(), 1);\n  var import_postcss_nested = __toESM(require_postcss_nested(), 1);\n\n  // node_modules/.pnpm/postcss-js@4.0.1_postcss@8.5.3/node_modules/postcss-js/index.mjs\n  var import_index = __toESM(require_postcss_js(), 1);\n  var postcss_js_default = import_index.default;\n  var objectify = import_index.default.objectify;\n  var parse4 = import_index.default.parse;\n  var async = import_index.default.async;\n  var sync = import_index.default.sync;\n\n  // node_modules/.pnpm/monaco-tailwindcss@0.6.1_monaco-editor@0.49.0/node_modules/monaco-tailwindcss/tailwindcss.worker.js\n  var import_postcss_selector_parser5 = __toESM(require_dist(), 1);\n  var import_postcss_selector_parser6 = __toESM(require_dist(), 1);\n  var import_unesc = __toESM(require_unesc(), 1);\n  var import_postcss_selector_parser7 = __toESM(require_dist(), 1);\n  var import_dlv12 = __toESM(require_dlv_umd(), 1);\n  var import_postcss_selector_parser8 = __toESM(require_dist(), 1);\n  var import_postcss_selector_parser9 = __toESM(require_dist(), 1);\n  var import_quick_lru = __toESM(require_quick_lru(), 1);\n  var import_dlv13 = __toESM(require_dlv_umd(), 1);\n  var import_didyoumean = __toESM(require_didYouMean_1_2_1(), 1);\n  var import_postcss_selector_parser10 = __toESM(require_dist(), 1);\n\n  // node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.js\n  var FullTextDocument2 = class _FullTextDocument {\n    constructor(uri, languageId, version2, content) {\n      this._uri = uri;\n      this._languageId = languageId;\n      this._version = version2;\n      this._content = content;\n      this._lineOffsets = void 0;\n    }\n    get uri() {\n      return this._uri;\n    }\n    get languageId() {\n      return this._languageId;\n    }\n    get version() {\n      return this._version;\n    }\n    getText(range) {\n      if (range) {\n        const start = this.offsetAt(range.start);\n        const end = this.offsetAt(range.end);\n        return this._content.substring(start, end);\n      }\n      return this._content;\n    }\n    update(changes, version2) {\n      for (const change of changes) {\n        if (_FullTextDocument.isIncremental(change)) {\n          const range = getWellformedRange(change.range);\n          const startOffset = this.offsetAt(range.start);\n          const endOffset = this.offsetAt(range.end);\n          this._content = this._content.substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length);\n          const startLine = Math.max(range.start.line, 0);\n          const endLine = Math.max(range.end.line, 0);\n          let lineOffsets = this._lineOffsets;\n          const addedLineOffsets = computeLineOffsets(change.text, false, startOffset);\n          if (endLine - startLine === addedLineOffsets.length) {\n            for (let i2 = 0, len = addedLineOffsets.length; i2 < len; i2++) {\n              lineOffsets[i2 + startLine + 1] = addedLineOffsets[i2];\n            }\n          } else {\n            if (addedLineOffsets.length < 1e4) {\n              lineOffsets.splice(startLine + 1, endLine - startLine, ...addedLineOffsets);\n            } else {\n              this._lineOffsets = lineOffsets = lineOffsets.slice(0, startLine + 1).concat(addedLineOffsets, lineOffsets.slice(endLine + 1));\n            }\n          }\n          const diff = change.text.length - (endOffset - startOffset);\n          if (diff !== 0) {\n            for (let i2 = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i2 < len; i2++) {\n              lineOffsets[i2] = lineOffsets[i2] + diff;\n            }\n          }\n        } else if (_FullTextDocument.isFull(change)) {\n          this._content = change.text;\n          this._lineOffsets = void 0;\n        } else {\n          throw new Error(\"Unknown change event received\");\n        }\n      }\n      this._version = version2;\n    }\n    getLineOffsets() {\n      if (this._lineOffsets === void 0) {\n        this._lineOffsets = computeLineOffsets(this._content, true);\n      }\n      return this._lineOffsets;\n    }\n    positionAt(offset) {\n      offset = Math.max(Math.min(offset, this._content.length), 0);\n      const lineOffsets = this.getLineOffsets();\n      let low = 0, high = lineOffsets.length;\n      if (high === 0) {\n        return { line: 0, character: offset };\n      }\n      while (low < high) {\n        const mid = Math.floor((low + high) / 2);\n        if (lineOffsets[mid] > offset) {\n          high = mid;\n        } else {\n          low = mid + 1;\n        }\n      }\n      const line = low - 1;\n      offset = this.ensureBeforeEOL(offset, lineOffsets[line]);\n      return { line, character: offset - lineOffsets[line] };\n    }\n    offsetAt(position2) {\n      const lineOffsets = this.getLineOffsets();\n      if (position2.line >= lineOffsets.length) {\n        return this._content.length;\n      } else if (position2.line < 0) {\n        return 0;\n      }\n      const lineOffset = lineOffsets[position2.line];\n      if (position2.character <= 0) {\n        return lineOffset;\n      }\n      const nextLineOffset = position2.line + 1 < lineOffsets.length ? lineOffsets[position2.line + 1] : this._content.length;\n      const offset = Math.min(lineOffset + position2.character, nextLineOffset);\n      return this.ensureBeforeEOL(offset, lineOffset);\n    }\n    ensureBeforeEOL(offset, lineOffset) {\n      while (offset > lineOffset && isEOL(this._content.charCodeAt(offset - 1))) {\n        offset--;\n      }\n      return offset;\n    }\n    get lineCount() {\n      return this.getLineOffsets().length;\n    }\n    static isIncremental(event) {\n      const candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === \"number\");\n    }\n    static isFull(event) {\n      const candidate = event;\n      return candidate !== void 0 && candidate !== null && typeof candidate.text === \"string\" && candidate.range === void 0 && candidate.rangeLength === void 0;\n    }\n  };\n  var TextDocument2;\n  (function(TextDocument3) {\n    function create(uri, languageId, version2, content) {\n      return new FullTextDocument2(uri, languageId, version2, content);\n    }\n    TextDocument3.create = create;\n    function update(document3, changes, version2) {\n      if (document3 instanceof FullTextDocument2) {\n        document3.update(changes, version2);\n        return document3;\n      } else {\n        throw new Error(\"TextDocument.update: document must be created by TextDocument.create\");\n      }\n    }\n    TextDocument3.update = update;\n    function applyEdits(document3, edits) {\n      const text2 = document3.getText();\n      const sortedEdits = mergeSort(edits.map(getWellformedEdit), (a2, b2) => {\n        const diff = a2.range.start.line - b2.range.start.line;\n        if (diff === 0) {\n          return a2.range.start.character - b2.range.start.character;\n        }\n        return diff;\n      });\n      let lastModifiedOffset = 0;\n      const spans = [];\n      for (const e5 of sortedEdits) {\n        const startOffset = document3.offsetAt(e5.range.start);\n        if (startOffset < lastModifiedOffset) {\n          throw new Error(\"Overlapping edit\");\n        } else if (startOffset > lastModifiedOffset) {\n          spans.push(text2.substring(lastModifiedOffset, startOffset));\n        }\n        if (e5.newText.length) {\n          spans.push(e5.newText);\n        }\n        lastModifiedOffset = document3.offsetAt(e5.range.end);\n      }\n      spans.push(text2.substr(lastModifiedOffset));\n      return spans.join(\"\");\n    }\n    TextDocument3.applyEdits = applyEdits;\n  })(TextDocument2 || (TextDocument2 = {}));\n  function mergeSort(data, compare) {\n    if (data.length <= 1) {\n      return data;\n    }\n    const p4 = data.length / 2 | 0;\n    const left = data.slice(0, p4);\n    const right = data.slice(p4);\n    mergeSort(left, compare);\n    mergeSort(right, compare);\n    let leftIdx = 0;\n    let rightIdx = 0;\n    let i2 = 0;\n    while (leftIdx < left.length && rightIdx < right.length) {\n      const ret = compare(left[leftIdx], right[rightIdx]);\n      if (ret <= 0) {\n        data[i2++] = left[leftIdx++];\n      } else {\n        data[i2++] = right[rightIdx++];\n      }\n    }\n    while (leftIdx < left.length) {\n      data[i2++] = left[leftIdx++];\n    }\n    while (rightIdx < right.length) {\n      data[i2++] = right[rightIdx++];\n    }\n    return data;\n  }\n  function computeLineOffsets(text2, isAtLineStart, textOffset = 0) {\n    const result = isAtLineStart ? [textOffset] : [];\n    for (let i2 = 0; i2 < text2.length; i2++) {\n      const ch = text2.charCodeAt(i2);\n      if (isEOL(ch)) {\n        if (ch === 13 && i2 + 1 < text2.length && text2.charCodeAt(i2 + 1) === 10) {\n          i2++;\n        }\n        result.push(textOffset + i2 + 1);\n      }\n    }\n    return result;\n  }\n  function isEOL(char) {\n    return char === 13 || char === 10;\n  }\n  function getWellformedRange(range) {\n    const start = range.start;\n    const end = range.end;\n    if (start.line > end.line || start.line === end.line && start.character > end.character) {\n      return { start: end, end: start };\n    }\n    return range;\n  }\n  function getWellformedEdit(textEdit) {\n    const range = getWellformedRange(textEdit.range);\n    if (range !== textEdit.range) {\n      return { newText: textEdit.newText, range };\n    }\n    return textEdit;\n  }\n\n  // node_modules/.pnpm/monaco-tailwindcss@0.6.1_monaco-editor@0.49.0/node_modules/monaco-tailwindcss/tailwindcss.worker.js\n  var __create2 = Object.create;\n  var __defProp2 = Object.defineProperty;\n  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;\n  var __getOwnPropNames2 = Object.getOwnPropertyNames;\n  var __getProtoOf2 = Object.getPrototypeOf;\n  var __hasOwnProp2 = Object.prototype.hasOwnProperty;\n  var __commonJS2 = (cb, mod) => function __require() {\n    return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n  };\n  var __copyProps2 = (to, from, except, desc) => {\n    if (from && typeof from === \"object\" || typeof from === \"function\") {\n      for (let key of __getOwnPropNames2(from))\n        if (!__hasOwnProp2.call(to, key) && key !== except)\n          __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });\n    }\n    return to;\n  };\n  var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(\n    // If the importer is in node compatibility mode or this is not an ESM\n    // file that has been converted to a CommonJS file using a Babel-\n    // compatible transform (i.e. \"__esModule\" has not been set), then set\n    // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n    isNodeMode || !mod || !mod.__esModule ? __defProp2(target, \"default\", { value: mod, enumerable: true }) : target,\n    mod\n  ));\n  var require_parse2 = __commonJS2({\n    \"node_modules/tailwindcss/src/value-parser/parse.js\"(exports, module) {\n      var openParentheses = \"(\".charCodeAt(0);\n      var closeParentheses = \")\".charCodeAt(0);\n      var singleQuote = \"'\".charCodeAt(0);\n      var doubleQuote = '\"'.charCodeAt(0);\n      var backslash = \"\\\\\".charCodeAt(0);\n      var slash = \"/\".charCodeAt(0);\n      var comma = \",\".charCodeAt(0);\n      var colon = \":\".charCodeAt(0);\n      var star = \"*\".charCodeAt(0);\n      var uLower = \"u\".charCodeAt(0);\n      var uUpper = \"U\".charCodeAt(0);\n      var plus = \"+\".charCodeAt(0);\n      var isUnicodeRange = /^[a-f0-9?-]+$/i;\n      module.exports = function(input) {\n        var tokens = [];\n        var value2 = input;\n        var next, quote, prev, token, escape2, escapePos, whitespacePos, parenthesesOpenPos;\n        var pos = 0;\n        var code = value2.charCodeAt(pos);\n        var max2 = value2.length;\n        var stack = [{ nodes: tokens }];\n        var balanced = 0;\n        var parent;\n        var name = \"\";\n        var before = \"\";\n        var after = \"\";\n        while (pos < max2) {\n          if (code <= 32) {\n            next = pos;\n            do {\n              next += 1;\n              code = value2.charCodeAt(next);\n            } while (code <= 32);\n            token = value2.slice(pos, next);\n            prev = tokens[tokens.length - 1];\n            if (code === closeParentheses && balanced) {\n              after = token;\n            } else if (prev && prev.type === \"div\") {\n              prev.after = token;\n              prev.sourceEndIndex += token.length;\n            } else if (code === comma || code === colon || code === slash && value2.charCodeAt(next + 1) !== star && (!parent || parent && parent.type === \"function\" && false)) {\n              before = token;\n            } else {\n              tokens.push({\n                type: \"space\",\n                sourceIndex: pos,\n                sourceEndIndex: next,\n                value: token\n              });\n            }\n            pos = next;\n          } else if (code === singleQuote || code === doubleQuote) {\n            next = pos;\n            quote = code === singleQuote ? \"'\" : '\"';\n            token = {\n              type: \"string\",\n              sourceIndex: pos,\n              quote\n            };\n            do {\n              escape2 = false;\n              next = value2.indexOf(quote, next + 1);\n              if (~next) {\n                escapePos = next;\n                while (value2.charCodeAt(escapePos - 1) === backslash) {\n                  escapePos -= 1;\n                  escape2 = !escape2;\n                }\n              } else {\n                value2 += quote;\n                next = value2.length - 1;\n                token.unclosed = true;\n              }\n            } while (escape2);\n            token.value = value2.slice(pos + 1, next);\n            token.sourceEndIndex = token.unclosed ? next : next + 1;\n            tokens.push(token);\n            pos = next + 1;\n            code = value2.charCodeAt(pos);\n          } else if (code === slash && value2.charCodeAt(pos + 1) === star) {\n            next = value2.indexOf(\"*/\", pos);\n            token = {\n              type: \"comment\",\n              sourceIndex: pos,\n              sourceEndIndex: next + 2\n            };\n            if (next === -1) {\n              token.unclosed = true;\n              next = value2.length;\n              token.sourceEndIndex = next;\n            }\n            token.value = value2.slice(pos + 2, next);\n            tokens.push(token);\n            pos = next + 2;\n            code = value2.charCodeAt(pos);\n          } else if ((code === slash || code === star) && parent && parent.type === \"function\" && true) {\n            token = value2[pos];\n            tokens.push({\n              type: \"word\",\n              sourceIndex: pos - before.length,\n              sourceEndIndex: pos + token.length,\n              value: token\n            });\n            pos += 1;\n            code = value2.charCodeAt(pos);\n          } else if (code === slash || code === comma || code === colon) {\n            token = value2[pos];\n            tokens.push({\n              type: \"div\",\n              sourceIndex: pos - before.length,\n              sourceEndIndex: pos + token.length,\n              value: token,\n              before,\n              after: \"\"\n            });\n            before = \"\";\n            pos += 1;\n            code = value2.charCodeAt(pos);\n          } else if (openParentheses === code) {\n            next = pos;\n            do {\n              next += 1;\n              code = value2.charCodeAt(next);\n            } while (code <= 32);\n            parenthesesOpenPos = pos;\n            token = {\n              type: \"function\",\n              sourceIndex: pos - name.length,\n              value: name,\n              before: value2.slice(parenthesesOpenPos + 1, next)\n            };\n            pos = next;\n            if (name === \"url\" && code !== singleQuote && code !== doubleQuote) {\n              next -= 1;\n              do {\n                escape2 = false;\n                next = value2.indexOf(\")\", next + 1);\n                if (~next) {\n                  escapePos = next;\n                  while (value2.charCodeAt(escapePos - 1) === backslash) {\n                    escapePos -= 1;\n                    escape2 = !escape2;\n                  }\n                } else {\n                  value2 += \")\";\n                  next = value2.length - 1;\n                  token.unclosed = true;\n                }\n              } while (escape2);\n              whitespacePos = next;\n              do {\n                whitespacePos -= 1;\n                code = value2.charCodeAt(whitespacePos);\n              } while (code <= 32);\n              if (parenthesesOpenPos < whitespacePos) {\n                if (pos !== whitespacePos + 1) {\n                  token.nodes = [\n                    {\n                      type: \"word\",\n                      sourceIndex: pos,\n                      sourceEndIndex: whitespacePos + 1,\n                      value: value2.slice(pos, whitespacePos + 1)\n                    }\n                  ];\n                } else {\n                  token.nodes = [];\n                }\n                if (token.unclosed && whitespacePos + 1 !== next) {\n                  token.after = \"\";\n                  token.nodes.push({\n                    type: \"space\",\n                    sourceIndex: whitespacePos + 1,\n                    sourceEndIndex: next,\n                    value: value2.slice(whitespacePos + 1, next)\n                  });\n                } else {\n                  token.after = value2.slice(whitespacePos + 1, next);\n                  token.sourceEndIndex = next;\n                }\n              } else {\n                token.after = \"\";\n                token.nodes = [];\n              }\n              pos = next + 1;\n              token.sourceEndIndex = token.unclosed ? next : pos;\n              code = value2.charCodeAt(pos);\n              tokens.push(token);\n            } else {\n              balanced += 1;\n              token.after = \"\";\n              token.sourceEndIndex = pos + 1;\n              tokens.push(token);\n              stack.push(token);\n              tokens = token.nodes = [];\n              parent = token;\n            }\n            name = \"\";\n          } else if (closeParentheses === code && balanced) {\n            pos += 1;\n            code = value2.charCodeAt(pos);\n            parent.after = after;\n            parent.sourceEndIndex += after.length;\n            after = \"\";\n            balanced -= 1;\n            stack[stack.length - 1].sourceEndIndex = pos;\n            stack.pop();\n            parent = stack[balanced];\n            tokens = parent.nodes;\n          } else {\n            next = pos;\n            do {\n              if (code === backslash) {\n                next += 1;\n              }\n              next += 1;\n              code = value2.charCodeAt(next);\n            } while (next < max2 && !(code <= 32 || code === singleQuote || code === doubleQuote || code === comma || code === colon || code === slash || code === openParentheses || code === star && parent && parent.type === \"function\" && true || code === slash && parent.type === \"function\" && true || code === closeParentheses && balanced));\n            token = value2.slice(pos, next);\n            if (openParentheses === code) {\n              name = token;\n            } else if ((uLower === token.charCodeAt(0) || uUpper === token.charCodeAt(0)) && plus === token.charCodeAt(1) && isUnicodeRange.test(token.slice(2))) {\n              tokens.push({\n                type: \"unicode-range\",\n                sourceIndex: pos,\n                sourceEndIndex: next,\n                value: token\n              });\n            } else {\n              tokens.push({\n                type: \"word\",\n                sourceIndex: pos,\n                sourceEndIndex: next,\n                value: token\n              });\n            }\n            pos = next;\n          }\n        }\n        for (pos = stack.length - 1; pos; pos -= 1) {\n          stack[pos].unclosed = true;\n          stack[pos].sourceEndIndex = value2.length;\n        }\n        return stack[0].nodes;\n      };\n    }\n  });\n  var require_walk = __commonJS2({\n    \"node_modules/tailwindcss/src/value-parser/walk.js\"(exports, module) {\n      module.exports = function walk(nodes, cb, bubble) {\n        var i2, max2, node, result;\n        for (i2 = 0, max2 = nodes.length; i2 < max2; i2 += 1) {\n          node = nodes[i2];\n          if (!bubble) {\n            result = cb(node, i2, nodes);\n          }\n          if (result !== false && node.type === \"function\" && Array.isArray(node.nodes)) {\n            walk(node.nodes, cb, bubble);\n          }\n          if (bubble) {\n            cb(node, i2, nodes);\n          }\n        }\n      };\n    }\n  });\n  var require_stringify2 = __commonJS2({\n    \"node_modules/tailwindcss/src/value-parser/stringify.js\"(exports, module) {\n      function stringifyNode(node, custom) {\n        var type = node.type;\n        var value2 = node.value;\n        var buf;\n        var customResult;\n        if (custom && (customResult = custom(node)) !== void 0) {\n          return customResult;\n        } else if (type === \"word\" || type === \"space\") {\n          return value2;\n        } else if (type === \"string\") {\n          buf = node.quote || \"\";\n          return buf + value2 + (node.unclosed ? \"\" : buf);\n        } else if (type === \"comment\") {\n          return \"/*\" + value2 + (node.unclosed ? \"\" : \"*/\");\n        } else if (type === \"div\") {\n          return (node.before || \"\") + value2 + (node.after || \"\");\n        } else if (Array.isArray(node.nodes)) {\n          buf = stringify3(node.nodes, custom);\n          if (type !== \"function\") {\n            return buf;\n          }\n          return value2 + \"(\" + (node.before || \"\") + buf + (node.after || \"\") + (node.unclosed ? \"\" : \")\");\n        }\n        return value2;\n      }\n      function stringify3(nodes, custom) {\n        var result, i2;\n        if (Array.isArray(nodes)) {\n          result = \"\";\n          for (i2 = nodes.length - 1; ~i2; i2 -= 1) {\n            result = stringifyNode(nodes[i2], custom) + result;\n          }\n          return result;\n        }\n        return stringifyNode(nodes, custom);\n      }\n      module.exports = stringify3;\n    }\n  });\n  var require_unit = __commonJS2({\n    \"node_modules/tailwindcss/src/value-parser/unit.js\"(exports, module) {\n      var minus = \"-\".charCodeAt(0);\n      var plus = \"+\".charCodeAt(0);\n      var dot = \".\".charCodeAt(0);\n      var exp = \"e\".charCodeAt(0);\n      var EXP = \"E\".charCodeAt(0);\n      function likeNumber(value2) {\n        var code = value2.charCodeAt(0);\n        var nextCode;\n        if (code === plus || code === minus) {\n          nextCode = value2.charCodeAt(1);\n          if (nextCode >= 48 && nextCode <= 57) {\n            return true;\n          }\n          var nextNextCode = value2.charCodeAt(2);\n          if (nextCode === dot && nextNextCode >= 48 && nextNextCode <= 57) {\n            return true;\n          }\n          return false;\n        }\n        if (code === dot) {\n          nextCode = value2.charCodeAt(1);\n          if (nextCode >= 48 && nextCode <= 57) {\n            return true;\n          }\n          return false;\n        }\n        if (code >= 48 && code <= 57) {\n          return true;\n        }\n        return false;\n      }\n      module.exports = function(value2) {\n        var pos = 0;\n        var length2 = value2.length;\n        var code;\n        var nextCode;\n        var nextNextCode;\n        if (length2 === 0 || !likeNumber(value2)) {\n          return false;\n        }\n        code = value2.charCodeAt(pos);\n        if (code === plus || code === minus) {\n          pos++;\n        }\n        while (pos < length2) {\n          code = value2.charCodeAt(pos);\n          if (code < 48 || code > 57) {\n            break;\n          }\n          pos += 1;\n        }\n        code = value2.charCodeAt(pos);\n        nextCode = value2.charCodeAt(pos + 1);\n        if (code === dot && nextCode >= 48 && nextCode <= 57) {\n          pos += 2;\n          while (pos < length2) {\n            code = value2.charCodeAt(pos);\n            if (code < 48 || code > 57) {\n              break;\n            }\n            pos += 1;\n          }\n        }\n        code = value2.charCodeAt(pos);\n        nextCode = value2.charCodeAt(pos + 1);\n        nextNextCode = value2.charCodeAt(pos + 2);\n        if ((code === exp || code === EXP) && (nextCode >= 48 && nextCode <= 57 || (nextCode === plus || nextCode === minus) && nextNextCode >= 48 && nextNextCode <= 57)) {\n          pos += nextCode === plus || nextCode === minus ? 3 : 2;\n          while (pos < length2) {\n            code = value2.charCodeAt(pos);\n            if (code < 48 || code > 57) {\n              break;\n            }\n            pos += 1;\n          }\n        }\n        return {\n          number: value2.slice(0, pos),\n          unit: value2.slice(pos)\n        };\n      };\n    }\n  });\n  var require_value_parser = __commonJS2({\n    \"node_modules/tailwindcss/src/value-parser/index.js\"(exports, module) {\n      var parse32 = require_parse2();\n      var walk = require_walk();\n      var stringify3 = require_stringify2();\n      function ValueParser(value2) {\n        if (this instanceof ValueParser) {\n          this.nodes = parse32(value2);\n          return this;\n        }\n        return new ValueParser(value2);\n      }\n      ValueParser.prototype.toString = function() {\n        return Array.isArray(this.nodes) ? stringify3(this.nodes) : \"\";\n      };\n      ValueParser.prototype.walk = function(cb, bubble) {\n        walk(this.nodes, cb, bubble);\n        return this;\n      };\n      ValueParser.unit = require_unit();\n      ValueParser.walk = walk;\n      ValueParser.stringify = stringify3;\n      module.exports = ValueParser;\n    }\n  });\n  var require_config_full = __commonJS2({\n    \"node_modules/tailwindcss/stubs/config.full.js\"(exports, module) {\n      module.exports = {\n        content: [],\n        presets: [],\n        darkMode: \"media\",\n        // or 'class'\n        theme: {\n          accentColor: ({ theme }) => ({\n            ...theme(\"colors\"),\n            auto: \"auto\"\n          }),\n          animation: {\n            none: \"none\",\n            spin: \"spin 1s linear infinite\",\n            ping: \"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite\",\n            pulse: \"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite\",\n            bounce: \"bounce 1s infinite\"\n          },\n          aria: {\n            busy: 'busy=\"true\"',\n            checked: 'checked=\"true\"',\n            disabled: 'disabled=\"true\"',\n            expanded: 'expanded=\"true\"',\n            hidden: 'hidden=\"true\"',\n            pressed: 'pressed=\"true\"',\n            readonly: 'readonly=\"true\"',\n            required: 'required=\"true\"',\n            selected: 'selected=\"true\"'\n          },\n          aspectRatio: {\n            auto: \"auto\",\n            square: \"1 / 1\",\n            video: \"16 / 9\"\n          },\n          backdropBlur: ({ theme }) => theme(\"blur\"),\n          backdropBrightness: ({ theme }) => theme(\"brightness\"),\n          backdropContrast: ({ theme }) => theme(\"contrast\"),\n          backdropGrayscale: ({ theme }) => theme(\"grayscale\"),\n          backdropHueRotate: ({ theme }) => theme(\"hueRotate\"),\n          backdropInvert: ({ theme }) => theme(\"invert\"),\n          backdropOpacity: ({ theme }) => theme(\"opacity\"),\n          backdropSaturate: ({ theme }) => theme(\"saturate\"),\n          backdropSepia: ({ theme }) => theme(\"sepia\"),\n          backgroundColor: ({ theme }) => theme(\"colors\"),\n          backgroundImage: {\n            none: \"none\",\n            \"gradient-to-t\": \"linear-gradient(to top, var(--tw-gradient-stops))\",\n            \"gradient-to-tr\": \"linear-gradient(to top right, var(--tw-gradient-stops))\",\n            \"gradient-to-r\": \"linear-gradient(to right, var(--tw-gradient-stops))\",\n            \"gradient-to-br\": \"linear-gradient(to bottom right, var(--tw-gradient-stops))\",\n            \"gradient-to-b\": \"linear-gradient(to bottom, var(--tw-gradient-stops))\",\n            \"gradient-to-bl\": \"linear-gradient(to bottom left, var(--tw-gradient-stops))\",\n            \"gradient-to-l\": \"linear-gradient(to left, var(--tw-gradient-stops))\",\n            \"gradient-to-tl\": \"linear-gradient(to top left, var(--tw-gradient-stops))\"\n          },\n          backgroundOpacity: ({ theme }) => theme(\"opacity\"),\n          backgroundPosition: {\n            bottom: \"bottom\",\n            center: \"center\",\n            left: \"left\",\n            \"left-bottom\": \"left bottom\",\n            \"left-top\": \"left top\",\n            right: \"right\",\n            \"right-bottom\": \"right bottom\",\n            \"right-top\": \"right top\",\n            top: \"top\"\n          },\n          backgroundSize: {\n            auto: \"auto\",\n            cover: \"cover\",\n            contain: \"contain\"\n          },\n          blur: {\n            0: \"0\",\n            none: \"0\",\n            sm: \"4px\",\n            DEFAULT: \"8px\",\n            md: \"12px\",\n            lg: \"16px\",\n            xl: \"24px\",\n            \"2xl\": \"40px\",\n            \"3xl\": \"64px\"\n          },\n          borderColor: ({ theme }) => ({\n            ...theme(\"colors\"),\n            DEFAULT: theme(\"colors.gray.200\", \"currentColor\")\n          }),\n          borderOpacity: ({ theme }) => theme(\"opacity\"),\n          borderRadius: {\n            none: \"0px\",\n            sm: \"0.125rem\",\n            DEFAULT: \"0.25rem\",\n            md: \"0.375rem\",\n            lg: \"0.5rem\",\n            xl: \"0.75rem\",\n            \"2xl\": \"1rem\",\n            \"3xl\": \"1.5rem\",\n            full: \"9999px\"\n          },\n          borderSpacing: ({ theme }) => ({\n            ...theme(\"spacing\")\n          }),\n          borderWidth: {\n            DEFAULT: \"1px\",\n            0: \"0px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          boxShadow: {\n            sm: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n            DEFAULT: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n            md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n            lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n            xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n            \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\",\n            inner: \"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)\",\n            none: \"none\"\n          },\n          boxShadowColor: ({ theme }) => theme(\"colors\"),\n          brightness: {\n            0: \"0\",\n            50: \".5\",\n            75: \".75\",\n            90: \".9\",\n            95: \".95\",\n            100: \"1\",\n            105: \"1.05\",\n            110: \"1.1\",\n            125: \"1.25\",\n            150: \"1.5\",\n            200: \"2\"\n          },\n          caretColor: ({ theme }) => theme(\"colors\"),\n          colors: ({ colors }) => ({\n            inherit: colors.inherit,\n            current: colors.current,\n            transparent: colors.transparent,\n            black: colors.black,\n            white: colors.white,\n            slate: colors.slate,\n            gray: colors.gray,\n            zinc: colors.zinc,\n            neutral: colors.neutral,\n            stone: colors.stone,\n            red: colors.red,\n            orange: colors.orange,\n            amber: colors.amber,\n            yellow: colors.yellow,\n            lime: colors.lime,\n            green: colors.green,\n            emerald: colors.emerald,\n            teal: colors.teal,\n            cyan: colors.cyan,\n            sky: colors.sky,\n            blue: colors.blue,\n            indigo: colors.indigo,\n            violet: colors.violet,\n            purple: colors.purple,\n            fuchsia: colors.fuchsia,\n            pink: colors.pink,\n            rose: colors.rose\n          }),\n          columns: {\n            auto: \"auto\",\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\",\n            7: \"7\",\n            8: \"8\",\n            9: \"9\",\n            10: \"10\",\n            11: \"11\",\n            12: \"12\",\n            \"3xs\": \"16rem\",\n            \"2xs\": \"18rem\",\n            xs: \"20rem\",\n            sm: \"24rem\",\n            md: \"28rem\",\n            lg: \"32rem\",\n            xl: \"36rem\",\n            \"2xl\": \"42rem\",\n            \"3xl\": \"48rem\",\n            \"4xl\": \"56rem\",\n            \"5xl\": \"64rem\",\n            \"6xl\": \"72rem\",\n            \"7xl\": \"80rem\"\n          },\n          container: {},\n          content: {\n            none: \"none\"\n          },\n          contrast: {\n            0: \"0\",\n            50: \".5\",\n            75: \".75\",\n            100: \"1\",\n            125: \"1.25\",\n            150: \"1.5\",\n            200: \"2\"\n          },\n          cursor: {\n            auto: \"auto\",\n            default: \"default\",\n            pointer: \"pointer\",\n            wait: \"wait\",\n            text: \"text\",\n            move: \"move\",\n            help: \"help\",\n            \"not-allowed\": \"not-allowed\",\n            none: \"none\",\n            \"context-menu\": \"context-menu\",\n            progress: \"progress\",\n            cell: \"cell\",\n            crosshair: \"crosshair\",\n            \"vertical-text\": \"vertical-text\",\n            alias: \"alias\",\n            copy: \"copy\",\n            \"no-drop\": \"no-drop\",\n            grab: \"grab\",\n            grabbing: \"grabbing\",\n            \"all-scroll\": \"all-scroll\",\n            \"col-resize\": \"col-resize\",\n            \"row-resize\": \"row-resize\",\n            \"n-resize\": \"n-resize\",\n            \"e-resize\": \"e-resize\",\n            \"s-resize\": \"s-resize\",\n            \"w-resize\": \"w-resize\",\n            \"ne-resize\": \"ne-resize\",\n            \"nw-resize\": \"nw-resize\",\n            \"se-resize\": \"se-resize\",\n            \"sw-resize\": \"sw-resize\",\n            \"ew-resize\": \"ew-resize\",\n            \"ns-resize\": \"ns-resize\",\n            \"nesw-resize\": \"nesw-resize\",\n            \"nwse-resize\": \"nwse-resize\",\n            \"zoom-in\": \"zoom-in\",\n            \"zoom-out\": \"zoom-out\"\n          },\n          divideColor: ({ theme }) => theme(\"borderColor\"),\n          divideOpacity: ({ theme }) => theme(\"borderOpacity\"),\n          divideWidth: ({ theme }) => theme(\"borderWidth\"),\n          dropShadow: {\n            sm: \"0 1px 1px rgb(0 0 0 / 0.05)\",\n            DEFAULT: [\"0 1px 2px rgb(0 0 0 / 0.1)\", \"0 1px 1px rgb(0 0 0 / 0.06)\"],\n            md: [\"0 4px 3px rgb(0 0 0 / 0.07)\", \"0 2px 2px rgb(0 0 0 / 0.06)\"],\n            lg: [\"0 10px 8px rgb(0 0 0 / 0.04)\", \"0 4px 3px rgb(0 0 0 / 0.1)\"],\n            xl: [\"0 20px 13px rgb(0 0 0 / 0.03)\", \"0 8px 5px rgb(0 0 0 / 0.08)\"],\n            \"2xl\": \"0 25px 25px rgb(0 0 0 / 0.15)\",\n            none: \"0 0 #0000\"\n          },\n          fill: ({ theme }) => ({\n            none: \"none\",\n            ...theme(\"colors\")\n          }),\n          flex: {\n            1: \"1 1 0%\",\n            auto: \"1 1 auto\",\n            initial: \"0 1 auto\",\n            none: \"none\"\n          },\n          flexBasis: ({ theme }) => ({\n            auto: \"auto\",\n            ...theme(\"spacing\"),\n            \"1/2\": \"50%\",\n            \"1/3\": \"33.333333%\",\n            \"2/3\": \"66.666667%\",\n            \"1/4\": \"25%\",\n            \"2/4\": \"50%\",\n            \"3/4\": \"75%\",\n            \"1/5\": \"20%\",\n            \"2/5\": \"40%\",\n            \"3/5\": \"60%\",\n            \"4/5\": \"80%\",\n            \"1/6\": \"16.666667%\",\n            \"2/6\": \"33.333333%\",\n            \"3/6\": \"50%\",\n            \"4/6\": \"66.666667%\",\n            \"5/6\": \"83.333333%\",\n            \"1/12\": \"8.333333%\",\n            \"2/12\": \"16.666667%\",\n            \"3/12\": \"25%\",\n            \"4/12\": \"33.333333%\",\n            \"5/12\": \"41.666667%\",\n            \"6/12\": \"50%\",\n            \"7/12\": \"58.333333%\",\n            \"8/12\": \"66.666667%\",\n            \"9/12\": \"75%\",\n            \"10/12\": \"83.333333%\",\n            \"11/12\": \"91.666667%\",\n            full: \"100%\"\n          }),\n          flexGrow: {\n            0: \"0\",\n            DEFAULT: \"1\"\n          },\n          flexShrink: {\n            0: \"0\",\n            DEFAULT: \"1\"\n          },\n          fontFamily: {\n            sans: [\n              \"ui-sans-serif\",\n              \"system-ui\",\n              \"-apple-system\",\n              \"BlinkMacSystemFont\",\n              '\"Segoe UI\"',\n              \"Roboto\",\n              '\"Helvetica Neue\"',\n              \"Arial\",\n              '\"Noto Sans\"',\n              \"sans-serif\",\n              '\"Apple Color Emoji\"',\n              '\"Segoe UI Emoji\"',\n              '\"Segoe UI Symbol\"',\n              '\"Noto Color Emoji\"'\n            ],\n            serif: [\"ui-serif\", \"Georgia\", \"Cambria\", '\"Times New Roman\"', \"Times\", \"serif\"],\n            mono: [\n              \"ui-monospace\",\n              \"SFMono-Regular\",\n              \"Menlo\",\n              \"Monaco\",\n              \"Consolas\",\n              '\"Liberation Mono\"',\n              '\"Courier New\"',\n              \"monospace\"\n            ]\n          },\n          fontSize: {\n            xs: [\"0.75rem\", { lineHeight: \"1rem\" }],\n            sm: [\"0.875rem\", { lineHeight: \"1.25rem\" }],\n            base: [\"1rem\", { lineHeight: \"1.5rem\" }],\n            lg: [\"1.125rem\", { lineHeight: \"1.75rem\" }],\n            xl: [\"1.25rem\", { lineHeight: \"1.75rem\" }],\n            \"2xl\": [\"1.5rem\", { lineHeight: \"2rem\" }],\n            \"3xl\": [\"1.875rem\", { lineHeight: \"2.25rem\" }],\n            \"4xl\": [\"2.25rem\", { lineHeight: \"2.5rem\" }],\n            \"5xl\": [\"3rem\", { lineHeight: \"1\" }],\n            \"6xl\": [\"3.75rem\", { lineHeight: \"1\" }],\n            \"7xl\": [\"4.5rem\", { lineHeight: \"1\" }],\n            \"8xl\": [\"6rem\", { lineHeight: \"1\" }],\n            \"9xl\": [\"8rem\", { lineHeight: \"1\" }]\n          },\n          fontWeight: {\n            thin: \"100\",\n            extralight: \"200\",\n            light: \"300\",\n            normal: \"400\",\n            medium: \"500\",\n            semibold: \"600\",\n            bold: \"700\",\n            extrabold: \"800\",\n            black: \"900\"\n          },\n          gap: ({ theme }) => theme(\"spacing\"),\n          gradientColorStops: ({ theme }) => theme(\"colors\"),\n          gradientColorStopPositions: {\n            \"0%\": \"0%\",\n            \"5%\": \"5%\",\n            \"10%\": \"10%\",\n            \"15%\": \"15%\",\n            \"20%\": \"20%\",\n            \"25%\": \"25%\",\n            \"30%\": \"30%\",\n            \"35%\": \"35%\",\n            \"40%\": \"40%\",\n            \"45%\": \"45%\",\n            \"50%\": \"50%\",\n            \"55%\": \"55%\",\n            \"60%\": \"60%\",\n            \"65%\": \"65%\",\n            \"70%\": \"70%\",\n            \"75%\": \"75%\",\n            \"80%\": \"80%\",\n            \"85%\": \"85%\",\n            \"90%\": \"90%\",\n            \"95%\": \"95%\",\n            \"100%\": \"100%\"\n          },\n          grayscale: {\n            0: \"0\",\n            DEFAULT: \"100%\"\n          },\n          gridAutoColumns: {\n            auto: \"auto\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fr: \"minmax(0, 1fr)\"\n          },\n          gridAutoRows: {\n            auto: \"auto\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fr: \"minmax(0, 1fr)\"\n          },\n          gridColumn: {\n            auto: \"auto\",\n            \"span-1\": \"span 1 / span 1\",\n            \"span-2\": \"span 2 / span 2\",\n            \"span-3\": \"span 3 / span 3\",\n            \"span-4\": \"span 4 / span 4\",\n            \"span-5\": \"span 5 / span 5\",\n            \"span-6\": \"span 6 / span 6\",\n            \"span-7\": \"span 7 / span 7\",\n            \"span-8\": \"span 8 / span 8\",\n            \"span-9\": \"span 9 / span 9\",\n            \"span-10\": \"span 10 / span 10\",\n            \"span-11\": \"span 11 / span 11\",\n            \"span-12\": \"span 12 / span 12\",\n            \"span-full\": \"1 / -1\"\n          },\n          gridColumnEnd: {\n            auto: \"auto\",\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\",\n            7: \"7\",\n            8: \"8\",\n            9: \"9\",\n            10: \"10\",\n            11: \"11\",\n            12: \"12\",\n            13: \"13\"\n          },\n          gridColumnStart: {\n            auto: \"auto\",\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\",\n            7: \"7\",\n            8: \"8\",\n            9: \"9\",\n            10: \"10\",\n            11: \"11\",\n            12: \"12\",\n            13: \"13\"\n          },\n          gridRow: {\n            auto: \"auto\",\n            \"span-1\": \"span 1 / span 1\",\n            \"span-2\": \"span 2 / span 2\",\n            \"span-3\": \"span 3 / span 3\",\n            \"span-4\": \"span 4 / span 4\",\n            \"span-5\": \"span 5 / span 5\",\n            \"span-6\": \"span 6 / span 6\",\n            \"span-full\": \"1 / -1\"\n          },\n          gridRowEnd: {\n            auto: \"auto\",\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\",\n            7: \"7\"\n          },\n          gridRowStart: {\n            auto: \"auto\",\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\",\n            7: \"7\"\n          },\n          gridTemplateColumns: {\n            none: \"none\",\n            1: \"repeat(1, minmax(0, 1fr))\",\n            2: \"repeat(2, minmax(0, 1fr))\",\n            3: \"repeat(3, minmax(0, 1fr))\",\n            4: \"repeat(4, minmax(0, 1fr))\",\n            5: \"repeat(5, minmax(0, 1fr))\",\n            6: \"repeat(6, minmax(0, 1fr))\",\n            7: \"repeat(7, minmax(0, 1fr))\",\n            8: \"repeat(8, minmax(0, 1fr))\",\n            9: \"repeat(9, minmax(0, 1fr))\",\n            10: \"repeat(10, minmax(0, 1fr))\",\n            11: \"repeat(11, minmax(0, 1fr))\",\n            12: \"repeat(12, minmax(0, 1fr))\"\n          },\n          gridTemplateRows: {\n            none: \"none\",\n            1: \"repeat(1, minmax(0, 1fr))\",\n            2: \"repeat(2, minmax(0, 1fr))\",\n            3: \"repeat(3, minmax(0, 1fr))\",\n            4: \"repeat(4, minmax(0, 1fr))\",\n            5: \"repeat(5, minmax(0, 1fr))\",\n            6: \"repeat(6, minmax(0, 1fr))\"\n          },\n          height: ({ theme }) => ({\n            auto: \"auto\",\n            ...theme(\"spacing\"),\n            \"1/2\": \"50%\",\n            \"1/3\": \"33.333333%\",\n            \"2/3\": \"66.666667%\",\n            \"1/4\": \"25%\",\n            \"2/4\": \"50%\",\n            \"3/4\": \"75%\",\n            \"1/5\": \"20%\",\n            \"2/5\": \"40%\",\n            \"3/5\": \"60%\",\n            \"4/5\": \"80%\",\n            \"1/6\": \"16.666667%\",\n            \"2/6\": \"33.333333%\",\n            \"3/6\": \"50%\",\n            \"4/6\": \"66.666667%\",\n            \"5/6\": \"83.333333%\",\n            full: \"100%\",\n            screen: \"100vh\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fit: \"fit-content\"\n          }),\n          hueRotate: {\n            0: \"0deg\",\n            15: \"15deg\",\n            30: \"30deg\",\n            60: \"60deg\",\n            90: \"90deg\",\n            180: \"180deg\"\n          },\n          inset: ({ theme }) => ({\n            auto: \"auto\",\n            ...theme(\"spacing\"),\n            \"1/2\": \"50%\",\n            \"1/3\": \"33.333333%\",\n            \"2/3\": \"66.666667%\",\n            \"1/4\": \"25%\",\n            \"2/4\": \"50%\",\n            \"3/4\": \"75%\",\n            full: \"100%\"\n          }),\n          invert: {\n            0: \"0\",\n            DEFAULT: \"100%\"\n          },\n          keyframes: {\n            spin: {\n              to: {\n                transform: \"rotate(360deg)\"\n              }\n            },\n            ping: {\n              \"75%, 100%\": {\n                transform: \"scale(2)\",\n                opacity: \"0\"\n              }\n            },\n            pulse: {\n              \"50%\": {\n                opacity: \".5\"\n              }\n            },\n            bounce: {\n              \"0%, 100%\": {\n                transform: \"translateY(-25%)\",\n                animationTimingFunction: \"cubic-bezier(0.8,0,1,1)\"\n              },\n              \"50%\": {\n                transform: \"none\",\n                animationTimingFunction: \"cubic-bezier(0,0,0.2,1)\"\n              }\n            }\n          },\n          letterSpacing: {\n            tighter: \"-0.05em\",\n            tight: \"-0.025em\",\n            normal: \"0em\",\n            wide: \"0.025em\",\n            wider: \"0.05em\",\n            widest: \"0.1em\"\n          },\n          lineHeight: {\n            none: \"1\",\n            tight: \"1.25\",\n            snug: \"1.375\",\n            normal: \"1.5\",\n            relaxed: \"1.625\",\n            loose: \"2\",\n            3: \".75rem\",\n            4: \"1rem\",\n            5: \"1.25rem\",\n            6: \"1.5rem\",\n            7: \"1.75rem\",\n            8: \"2rem\",\n            9: \"2.25rem\",\n            10: \"2.5rem\"\n          },\n          listStyleType: {\n            none: \"none\",\n            disc: \"disc\",\n            decimal: \"decimal\"\n          },\n          listStyleImage: {\n            none: \"none\"\n          },\n          margin: ({ theme }) => ({\n            auto: \"auto\",\n            ...theme(\"spacing\")\n          }),\n          lineClamp: {\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\"\n          },\n          maxHeight: ({ theme }) => ({\n            ...theme(\"spacing\"),\n            none: \"none\",\n            full: \"100%\",\n            screen: \"100vh\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fit: \"fit-content\"\n          }),\n          maxWidth: ({ theme, breakpoints }) => ({\n            none: \"none\",\n            0: \"0rem\",\n            xs: \"20rem\",\n            sm: \"24rem\",\n            md: \"28rem\",\n            lg: \"32rem\",\n            xl: \"36rem\",\n            \"2xl\": \"42rem\",\n            \"3xl\": \"48rem\",\n            \"4xl\": \"56rem\",\n            \"5xl\": \"64rem\",\n            \"6xl\": \"72rem\",\n            \"7xl\": \"80rem\",\n            full: \"100%\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fit: \"fit-content\",\n            prose: \"65ch\",\n            ...breakpoints(theme(\"screens\"))\n          }),\n          minHeight: {\n            0: \"0px\",\n            full: \"100%\",\n            screen: \"100vh\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fit: \"fit-content\"\n          },\n          minWidth: {\n            0: \"0px\",\n            full: \"100%\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fit: \"fit-content\"\n          },\n          objectPosition: {\n            bottom: \"bottom\",\n            center: \"center\",\n            left: \"left\",\n            \"left-bottom\": \"left bottom\",\n            \"left-top\": \"left top\",\n            right: \"right\",\n            \"right-bottom\": \"right bottom\",\n            \"right-top\": \"right top\",\n            top: \"top\"\n          },\n          opacity: {\n            0: \"0\",\n            5: \"0.05\",\n            10: \"0.1\",\n            20: \"0.2\",\n            25: \"0.25\",\n            30: \"0.3\",\n            40: \"0.4\",\n            50: \"0.5\",\n            60: \"0.6\",\n            70: \"0.7\",\n            75: \"0.75\",\n            80: \"0.8\",\n            90: \"0.9\",\n            95: \"0.95\",\n            100: \"1\"\n          },\n          order: {\n            first: \"-9999\",\n            last: \"9999\",\n            none: \"0\",\n            1: \"1\",\n            2: \"2\",\n            3: \"3\",\n            4: \"4\",\n            5: \"5\",\n            6: \"6\",\n            7: \"7\",\n            8: \"8\",\n            9: \"9\",\n            10: \"10\",\n            11: \"11\",\n            12: \"12\"\n          },\n          outlineColor: ({ theme }) => theme(\"colors\"),\n          outlineOffset: {\n            0: \"0px\",\n            1: \"1px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          outlineWidth: {\n            0: \"0px\",\n            1: \"1px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          padding: ({ theme }) => theme(\"spacing\"),\n          placeholderColor: ({ theme }) => theme(\"colors\"),\n          placeholderOpacity: ({ theme }) => theme(\"opacity\"),\n          ringColor: ({ theme }) => ({\n            DEFAULT: theme(\"colors.blue.500\", \"#3b82f6\"),\n            ...theme(\"colors\")\n          }),\n          ringOffsetColor: ({ theme }) => theme(\"colors\"),\n          ringOffsetWidth: {\n            0: \"0px\",\n            1: \"1px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          ringOpacity: ({ theme }) => ({\n            DEFAULT: \"0.5\",\n            ...theme(\"opacity\")\n          }),\n          ringWidth: {\n            DEFAULT: \"3px\",\n            0: \"0px\",\n            1: \"1px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          rotate: {\n            0: \"0deg\",\n            1: \"1deg\",\n            2: \"2deg\",\n            3: \"3deg\",\n            6: \"6deg\",\n            12: \"12deg\",\n            45: \"45deg\",\n            90: \"90deg\",\n            180: \"180deg\"\n          },\n          saturate: {\n            0: \"0\",\n            50: \".5\",\n            100: \"1\",\n            150: \"1.5\",\n            200: \"2\"\n          },\n          scale: {\n            0: \"0\",\n            50: \".5\",\n            75: \".75\",\n            90: \".9\",\n            95: \".95\",\n            100: \"1\",\n            105: \"1.05\",\n            110: \"1.1\",\n            125: \"1.25\",\n            150: \"1.5\"\n          },\n          screens: {\n            sm: \"640px\",\n            md: \"768px\",\n            lg: \"1024px\",\n            xl: \"1280px\",\n            \"2xl\": \"1536px\"\n          },\n          scrollMargin: ({ theme }) => ({\n            ...theme(\"spacing\")\n          }),\n          scrollPadding: ({ theme }) => theme(\"spacing\"),\n          sepia: {\n            0: \"0\",\n            DEFAULT: \"100%\"\n          },\n          skew: {\n            0: \"0deg\",\n            1: \"1deg\",\n            2: \"2deg\",\n            3: \"3deg\",\n            6: \"6deg\",\n            12: \"12deg\"\n          },\n          space: ({ theme }) => ({\n            ...theme(\"spacing\")\n          }),\n          spacing: {\n            px: \"1px\",\n            0: \"0px\",\n            0.5: \"0.125rem\",\n            1: \"0.25rem\",\n            1.5: \"0.375rem\",\n            2: \"0.5rem\",\n            2.5: \"0.625rem\",\n            3: \"0.75rem\",\n            3.5: \"0.875rem\",\n            4: \"1rem\",\n            5: \"1.25rem\",\n            6: \"1.5rem\",\n            7: \"1.75rem\",\n            8: \"2rem\",\n            9: \"2.25rem\",\n            10: \"2.5rem\",\n            11: \"2.75rem\",\n            12: \"3rem\",\n            14: \"3.5rem\",\n            16: \"4rem\",\n            20: \"5rem\",\n            24: \"6rem\",\n            28: \"7rem\",\n            32: \"8rem\",\n            36: \"9rem\",\n            40: \"10rem\",\n            44: \"11rem\",\n            48: \"12rem\",\n            52: \"13rem\",\n            56: \"14rem\",\n            60: \"15rem\",\n            64: \"16rem\",\n            72: \"18rem\",\n            80: \"20rem\",\n            96: \"24rem\"\n          },\n          stroke: ({ theme }) => ({\n            none: \"none\",\n            ...theme(\"colors\")\n          }),\n          strokeWidth: {\n            0: \"0\",\n            1: \"1\",\n            2: \"2\"\n          },\n          supports: {},\n          data: {},\n          textColor: ({ theme }) => theme(\"colors\"),\n          textDecorationColor: ({ theme }) => theme(\"colors\"),\n          textDecorationThickness: {\n            auto: \"auto\",\n            \"from-font\": \"from-font\",\n            0: \"0px\",\n            1: \"1px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          textIndent: ({ theme }) => ({\n            ...theme(\"spacing\")\n          }),\n          textOpacity: ({ theme }) => theme(\"opacity\"),\n          textUnderlineOffset: {\n            auto: \"auto\",\n            0: \"0px\",\n            1: \"1px\",\n            2: \"2px\",\n            4: \"4px\",\n            8: \"8px\"\n          },\n          transformOrigin: {\n            center: \"center\",\n            top: \"top\",\n            \"top-right\": \"top right\",\n            right: \"right\",\n            \"bottom-right\": \"bottom right\",\n            bottom: \"bottom\",\n            \"bottom-left\": \"bottom left\",\n            left: \"left\",\n            \"top-left\": \"top left\"\n          },\n          transitionDelay: {\n            0: \"0s\",\n            75: \"75ms\",\n            100: \"100ms\",\n            150: \"150ms\",\n            200: \"200ms\",\n            300: \"300ms\",\n            500: \"500ms\",\n            700: \"700ms\",\n            1e3: \"1000ms\"\n          },\n          transitionDuration: {\n            DEFAULT: \"150ms\",\n            0: \"0s\",\n            75: \"75ms\",\n            100: \"100ms\",\n            150: \"150ms\",\n            200: \"200ms\",\n            300: \"300ms\",\n            500: \"500ms\",\n            700: \"700ms\",\n            1e3: \"1000ms\"\n          },\n          transitionProperty: {\n            none: \"none\",\n            all: \"all\",\n            DEFAULT: \"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter\",\n            colors: \"color, background-color, border-color, text-decoration-color, fill, stroke\",\n            opacity: \"opacity\",\n            shadow: \"box-shadow\",\n            transform: \"transform\"\n          },\n          transitionTimingFunction: {\n            DEFAULT: \"cubic-bezier(0.4, 0, 0.2, 1)\",\n            linear: \"linear\",\n            in: \"cubic-bezier(0.4, 0, 1, 1)\",\n            out: \"cubic-bezier(0, 0, 0.2, 1)\",\n            \"in-out\": \"cubic-bezier(0.4, 0, 0.2, 1)\"\n          },\n          translate: ({ theme }) => ({\n            ...theme(\"spacing\"),\n            \"1/2\": \"50%\",\n            \"1/3\": \"33.333333%\",\n            \"2/3\": \"66.666667%\",\n            \"1/4\": \"25%\",\n            \"2/4\": \"50%\",\n            \"3/4\": \"75%\",\n            full: \"100%\"\n          }),\n          width: ({ theme }) => ({\n            auto: \"auto\",\n            ...theme(\"spacing\"),\n            \"1/2\": \"50%\",\n            \"1/3\": \"33.333333%\",\n            \"2/3\": \"66.666667%\",\n            \"1/4\": \"25%\",\n            \"2/4\": \"50%\",\n            \"3/4\": \"75%\",\n            \"1/5\": \"20%\",\n            \"2/5\": \"40%\",\n            \"3/5\": \"60%\",\n            \"4/5\": \"80%\",\n            \"1/6\": \"16.666667%\",\n            \"2/6\": \"33.333333%\",\n            \"3/6\": \"50%\",\n            \"4/6\": \"66.666667%\",\n            \"5/6\": \"83.333333%\",\n            \"1/12\": \"8.333333%\",\n            \"2/12\": \"16.666667%\",\n            \"3/12\": \"25%\",\n            \"4/12\": \"33.333333%\",\n            \"5/12\": \"41.666667%\",\n            \"6/12\": \"50%\",\n            \"7/12\": \"58.333333%\",\n            \"8/12\": \"66.666667%\",\n            \"9/12\": \"75%\",\n            \"10/12\": \"83.333333%\",\n            \"11/12\": \"91.666667%\",\n            full: \"100%\",\n            screen: \"100vw\",\n            min: \"min-content\",\n            max: \"max-content\",\n            fit: \"fit-content\"\n          }),\n          willChange: {\n            auto: \"auto\",\n            scroll: \"scroll-position\",\n            contents: \"contents\",\n            transform: \"transform\"\n          },\n          zIndex: {\n            auto: \"auto\",\n            0: \"0\",\n            10: \"10\",\n            20: \"20\",\n            30: \"30\",\n            40: \"40\",\n            50: \"50\"\n          }\n        },\n        plugins: []\n      };\n    }\n  });\n  var import_postcss_value_parser = __toESM2(require_value_parser());\n  var import_postcss_value_parser2 = __toESM2(require_value_parser());\n  var doComplete = null;\n  var extractAbbreviation = null;\n  var isAbbreviationValid = null;\n  var detect_indent_default = null;\n  function dset(obj, keys, val) {\n    keys.split && (keys = keys.split(\".\"));\n    var i2 = 0, l2 = keys.length, t2 = obj, x2, k5;\n    while (i2 < l2) {\n      k5 = keys[i2++];\n      if (k5 === \"__proto__\" || k5 === \"constructor\" || k5 === \"prototype\") break;\n      t2 = t2[k5] = i2 === l2 ? val : typeof (x2 = t2[k5]) === typeof keys ? x2 : keys[i2] * 0 !== 0 || !!~(\"\" + keys[i2]).indexOf(\".\") ? {} : [];\n    }\n  }\n  function isObject3(variable) {\n    return Object.prototype.toString.call(variable) === \"[object Object]\";\n  }\n  function removeMeta(obj) {\n    let result = {};\n    for (let key in obj) {\n      if (key.substr(0, 2) === \"__\")\n        continue;\n      if (isObject3(obj[key])) {\n        result[key] = removeMeta(obj[key]);\n      } else {\n        result[key] = obj[key];\n      }\n    }\n    return result;\n  }\n  function rangesEqual(a2, b2) {\n    return a2.start.line === b2.start.line && a2.start.character === b2.start.character && a2.end.line === b2.end.line && a2.end.character === b2.end.character;\n  }\n  function dedupe(arr) {\n    return arr.filter((value2, index2, self2) => self2.indexOf(value2) === index2);\n  }\n  function dedupeBy(arr, transform) {\n    return arr.filter((value2, index2, self2) => self2.map(transform).indexOf(transform(value2)) === index2);\n  }\n  function dedupeByRange(arr) {\n    return arr.filter(\n      (classList, classListIndex) => classListIndex === arr.findIndex((c3) => rangesEqual(c3.range, classList.range))\n    );\n  }\n  function ensureArray(value2) {\n    return Array.isArray(value2) ? value2 : [value2];\n  }\n  function flatten(arrays) {\n    return [].concat.apply([], arrays);\n  }\n  function equal(a2, b2) {\n    if (a2 === b2)\n      return true;\n    if (a2.length !== b2.length)\n      return false;\n    let aSorted = a2.concat().sort();\n    let bSorted = b2.concat().sort();\n    for (let i2 = 0; i2 < aSorted.length; ++i2) {\n      if (aSorted[i2] !== bSorted[i2])\n        return false;\n    }\n    return true;\n  }\n  function equalExact(a2, b2) {\n    if (a2 === b2)\n      return true;\n    if (a2.length !== b2.length)\n      return false;\n    for (let i2 = 0; i2 < a2.length; ++i2) {\n      if (a2[i2] !== b2[i2])\n        return false;\n    }\n    return true;\n  }\n  function combinations(str) {\n    let fn5 = function(active, rest, a2) {\n      if (!active && !rest)\n        return void 0;\n      if (!rest) {\n        a2.push(active);\n      } else {\n        fn5(active + rest[0], rest.slice(1), a2);\n        fn5(active, rest.slice(1), a2);\n      }\n      return a2;\n    };\n    return fn5(\"\", str, []);\n  }\n  function getClassNameParts(state, className) {\n    let separator = state.separator;\n    className = className.replace(/^\\./, \"\");\n    let parts = className.split(separator);\n    if (parts.length === 1) {\n      return (0, import_dlv3.default)(state.classNames.classNames, [className, \"__info\", \"__rule\"]) === true || Array.isArray((0, import_dlv3.default)(state.classNames.classNames, [className, \"__info\"])) ? [className] : null;\n    }\n    let points = combinations(\"123456789\".substr(0, parts.length - 1)).map(\n      (x2) => x2.split(\"\").map((x22) => parseInt(x22, 10))\n    );\n    let possibilities = [\n      [className],\n      ...points.map((p4) => {\n        let result = [];\n        let i2 = 0;\n        p4.forEach((x2) => {\n          result.push(parts.slice(i2, x2).join(\"-\"));\n          i2 = x2;\n        });\n        result.push(parts.slice(i2).join(\"-\"));\n        return result;\n      })\n    ];\n    return possibilities.find((key) => {\n      if ((0, import_dlv3.default)(state.classNames.classNames, [...key, \"__info\", \"__rule\"]) === true || Array.isArray((0, import_dlv3.default)(state.classNames.classNames, [...key, \"__info\"]))) {\n        return true;\n      }\n      return false;\n    });\n  }\n  function applyComments(str, comments) {\n    let offset = 0;\n    for (let comment2 of comments) {\n      let index2 = comment2.index + offset;\n      let commentStr = ` /* ${comment2.value} */`;\n      str = str.slice(0, index2) + commentStr + str.slice(index2);\n      offset += commentStr.length;\n    }\n    return str;\n  }\n  function addPixelEquivalentsToValue(value2, rootFontSize) {\n    if (!value2.includes(\"rem\")) {\n      return value2;\n    }\n    (0, import_postcss_value_parser.default)(value2).walk((node) => {\n      if (node.type !== \"word\") {\n        return true;\n      }\n      let unit = import_postcss_value_parser.default.unit(node.value);\n      if (!unit || unit.unit !== \"rem\") {\n        return false;\n      }\n      let commentStr = ` /* ${parseFloat(unit.number) * rootFontSize}px */`;\n      value2 = value2.slice(0, node.sourceEndIndex) + commentStr + value2.slice(node.sourceEndIndex);\n      return false;\n    });\n    return value2;\n  }\n  function getPixelEquivalentsForMediaQuery(params, rootFontSize) {\n    let comments = [];\n    try {\n      parse(params).forEach((mediaQuery) => {\n        mediaQuery.walk(({ node }) => {\n          if (isTokenNode(node) && node.type === \"token\" && node.value[0] === \"dimension-token\" && (node.value[4].type === \"integer\" || node.value[4].type === \"number\") && (node.value[4].unit === \"rem\" || node.value[4].unit === \"em\")) {\n            comments.push({\n              index: params.length - (params.length - node.value[3] - 1),\n              value: `${node.value[4].value * rootFontSize}px`\n            });\n          }\n        });\n      });\n    } catch {\n    }\n    return comments;\n  }\n  function addPixelEquivalentsToMediaQuery(query, rootFontSize) {\n    return query.replace(/(?<=^\\s*@media\\s*).*?$/, (params) => {\n      let comments = getPixelEquivalentsForMediaQuery(params, rootFontSize);\n      return applyComments(params, comments);\n    });\n  }\n  function equivalentPixelValues({\n    comments,\n    rootFontSize\n  }) {\n    return {\n      postcssPlugin: \"plugin\",\n      AtRule: {\n        media(atRule22) {\n          if (!atRule22.params.includes(\"em\")) {\n            return;\n          }\n          comments.push(\n            ...getPixelEquivalentsForMediaQuery(atRule22.params, rootFontSize).map(\n              ({ index: index2, value: value2 }) => ({\n                index: index2 + atRule22.source.start.offset + `@media${atRule22.raws.afterName}`.length,\n                value: value2\n              })\n            )\n          );\n        }\n      },\n      Declaration(decl22) {\n        if (!decl22.value.includes(\"rem\")) {\n          return;\n        }\n        (0, import_postcss_value_parser.default)(decl22.value).walk((node) => {\n          if (node.type !== \"word\") {\n            return true;\n          }\n          let unit = import_postcss_value_parser.default.unit(node.value);\n          if (!unit || unit.unit !== \"rem\") {\n            return false;\n          }\n          comments.push({\n            index: decl22.source.start.offset + `${decl22.prop}${decl22.raws.between}`.length + node.sourceEndIndex,\n            value: `${parseFloat(unit.number) * rootFontSize}px`\n          });\n          return false;\n        });\n      }\n    };\n  }\n  equivalentPixelValues.postcss = true;\n  var allowedFunctions = [\"rgb\", \"rgba\", \"hsl\", \"hsla\", \"lch\", \"lab\", \"oklch\", \"oklab\"];\n  function equivalentColorValues({ comments }) {\n    return {\n      postcssPlugin: \"plugin\",\n      Declaration(decl22) {\n        if (!allowedFunctions.some((fn5) => decl22.value.includes(fn5))) {\n          return;\n        }\n        (0, import_postcss_value_parser2.default)(decl22.value).walk((node) => {\n          if (node.type !== \"function\") {\n            return true;\n          }\n          if (!allowedFunctions.includes(node.value)) {\n            return false;\n          }\n          const values = node.nodes.filter((n2) => n2.type === \"word\").map((n2) => n2.value);\n          if (values.length < 3) {\n            return false;\n          }\n          const color2 = getColorFromValue(`${node.value}(${values.join(\" \")})`);\n          if (!inGamut(\"rgb\")(color2)) {\n            return false;\n          }\n          if (!color2 || typeof color2 === \"string\") {\n            return false;\n          }\n          comments.push({\n            index: decl22.source.start.offset + `${decl22.prop}${decl22.raws.between}`.length + node.sourceEndIndex,\n            value: formatColor(color2)\n          });\n          return false;\n        });\n      }\n    };\n  }\n  equivalentColorValues.postcss = true;\n  function addEquivalents(css, settings) {\n    let comments = [];\n    let plugins = [];\n    if (settings.showPixelEquivalents) {\n      plugins.push(\n        equivalentPixelValues({\n          comments,\n          rootFontSize: settings.rootFontSize\n        })\n      );\n    }\n    plugins.push(equivalentColorValues({ comments }));\n    try {\n      postcss_default(plugins).process(css, { from: void 0 }).css;\n    } catch {\n      return css;\n    }\n    return applyComments(css, comments);\n  }\n  function bigSign(bigIntValue) {\n    return (bigIntValue > 0n) - (bigIntValue < 0n);\n  }\n  function generateRules(state, classNames, filter = () => true) {\n    let rules = state.modules.jit.generateRules.module(new Set(classNames), state.jitContext).sort(([a2], [z2]) => bigSign(a2 - z2));\n    let root2 = state.modules.postcss.module.root({ nodes: rules.map(([, rule2]) => rule2) });\n    state.modules.jit.expandApplyAtRules.module(state.jitContext)(root2);\n    state.modules.jit.evaluateTailwindFunctions?.module?.(state.jitContext)(root2);\n    let actualRules = [];\n    root2.walkRules((subRule) => {\n      if (filter(subRule)) {\n        actualRules.push(subRule);\n      }\n    });\n    return {\n      root: root2,\n      rules: actualRules\n    };\n  }\n  async function stringifyRoot(state, root2, uri) {\n    let settings = await state.editor.getConfiguration(uri);\n    let clone = root2.clone();\n    clone.walkAtRules(\"defaults\", (node) => {\n      node.remove();\n    });\n    let css = clone.toString();\n    css = addEquivalents(css, settings.tailwindCSS);\n    let identSize = state.v4 ? 2 : 4;\n    let identPattern = state.v4 ? /^(?:  )+/gm : /^(?:    )+/gm;\n    return css.replace(/([^;{}\\s])(\\n\\s*})/g, (_match, before, after) => `${before};${after}`).replace(\n      identPattern,\n      (indent) => \" \".repeat(indent.length / identSize * settings.editor.tabSize)\n    );\n  }\n  async function stringifyDecls(state, rule2, uri) {\n    let settings = await state.editor.getConfiguration(uri);\n    let result = [];\n    rule2.walkDecls(({ prop, value: value2 }) => {\n      if (settings.tailwindCSS.showPixelEquivalents) {\n        value2 = addPixelEquivalentsToValue(value2, settings.tailwindCSS.rootFontSize);\n      }\n      result.push(`${prop}: ${value2};`);\n    });\n    return result.join(\" \");\n  }\n  function replaceClassName(state, selector, find, replace2) {\n    const transform = (selectors) => {\n      selectors.walkClasses((className) => {\n        if (className.value === find) {\n          className.value = replace2;\n        }\n      });\n    };\n    return state.modules.postcssSelectorParser.module(transform).processSync(selector);\n  }\n  function isAtRule(node) {\n    return node.type === \"atrule\";\n  }\n  function getRuleContext(state, rule2, className) {\n    let context = [replaceClassName(state, rule2.selector, className, \"__placeholder__\")];\n    let p4 = rule2;\n    while (p4.parent && p4.parent.type !== \"root\") {\n      p4 = p4.parent;\n      if (isAtRule(p4)) {\n        context.unshift(`@${p4.name} ${p4.params}`);\n      }\n    }\n    return context;\n  }\n  var COLOR_PROPS = [\n    \"accent-color\",\n    \"caret-color\",\n    \"color\",\n    \"column-rule-color\",\n    \"background-color\",\n    \"border-color\",\n    \"border-top-color\",\n    \"border-right-color\",\n    \"border-bottom-color\",\n    \"border-left-color\",\n    \"fill\",\n    \"outline-color\",\n    \"stop-color\",\n    \"stroke\",\n    \"text-decoration-color\"\n  ];\n  function getKeywordColor(value2) {\n    if (typeof value2 !== \"string\")\n      return null;\n    let lowercased = value2.toLowerCase();\n    if (lowercased === \"transparent\") {\n      return \"transparent\";\n    }\n    if (lowercased === \"currentcolor\") {\n      return \"currentColor\";\n    }\n    return null;\n  }\n  var colorRegex = new RegExp(\n    `(?:^|\\\\s|\\\\(|,)(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgba?|hsla?|(?:ok)?(?:lab|lch))\\\\(\\\\s*(-?[\\\\d.]+%?(\\\\s*[,/]\\\\s*|\\\\s+)+){2,3}\\\\s*([\\\\d.]+%?|var\\\\([^)]+\\\\))?\\\\)|transparent|currentColor|${Object.keys(\n      color_name_default\n    ).join(\"|\")})(?:$|\\\\s|\\\\)|,)`,\n    \"gi\"\n  );\n  function replaceColorVarsWithTheirDefaults(str) {\n    return str.replace(/((?:rgba?|hsla?|(?:ok)?(?:lab|lch))\\(\\s*)var\\([^,]+,\\s*([^)]+)\\)/gi, \"$1$2\");\n  }\n  function replaceHexColorVarsWithTheirDefaults(str) {\n    return str.replace(/var\\([^,]+,\\s*(#[^)]+)\\)/gi, \"$1\");\n  }\n  function getColorsInString(str) {\n    if (/(?:box|drop)-shadow/.test(str))\n      return [];\n    function toColor(match) {\n      let color2 = match[1].replace(/var\\([^)]+\\)/, \"1\");\n      return getKeywordColor(color2) ?? parse_default(color2);\n    }\n    str = replaceHexColorVarsWithTheirDefaults(str);\n    str = replaceColorVarsWithTheirDefaults(str);\n    str = removeColorMixWherePossible(str);\n    let possibleColors = str.matchAll(colorRegex);\n    return Array.from(possibleColors, toColor).filter(Boolean);\n  }\n  function getColorFromDecls(decls) {\n    let props = Object.keys(decls).filter((prop) => {\n      if (prop === \"content\" && (decls[prop] === '\"\"' || decls[prop] === \"''\" || decls[prop] === \"var(--tw-content)\")) {\n        return false;\n      }\n      return true;\n    });\n    if (props.length === 0)\n      return null;\n    const nonCustomProps = props.filter((prop) => !prop.startsWith(\"--\"));\n    const areAllCustom = nonCustomProps.length === 0;\n    if (!areAllCustom && nonCustomProps.some((prop) => !COLOR_PROPS.includes(prop))) {\n      return null;\n    }\n    const propsToCheck = areAllCustom ? props : nonCustomProps;\n    const colors = propsToCheck.flatMap((prop) => ensureArray(decls[prop]).flatMap(getColorsInString));\n    const colorStrings = dedupe(\n      colors.map(\n        (color2) => typeof color2 === \"string\" ? color2 : formatRgb({ ...color2, alpha: void 0 })\n      )\n    );\n    if (colorStrings.length !== 1) {\n      return null;\n    }\n    let keyword = getKeywordColor(colorStrings[0]);\n    if (keyword) {\n      return keyword;\n    }\n    const nonKeywordColors = colors.filter(\n      (color2) => typeof color2 !== \"string\"\n    );\n    const alphas = dedupe(nonKeywordColors.map((color2) => color2.alpha ?? 1));\n    if (alphas.length === 1) {\n      return nonKeywordColors[0];\n    }\n    if (alphas.length === 2 && alphas.includes(0)) {\n      return nonKeywordColors.find((color2) => (color2.alpha ?? 1) !== 0);\n    }\n    return null;\n  }\n  function getColorFromRoot(state, css) {\n    css = css.clone();\n    css.walkAtRules((rule3) => {\n      if (rule3.name === \"property\") {\n        rule3.remove();\n      }\n      if (rule3.name === \"supports\" && rule3.params === \"(-moz-orient: inline)\") {\n        rule3.remove();\n      }\n    });\n    let decls = {};\n    let rule2 = postcss_default.rule({\n      selector: \".x\",\n      nodes: []\n    });\n    css.walkDecls((decl22) => {\n      rule2.append(decl22.clone());\n    });\n    css.walkDecls((decl22) => {\n      var _a4;\n      decls[_a4 = decl22.prop] ?? (decls[_a4] = []);\n      decls[decl22.prop].push(decl22.value);\n    });\n    return getColorFromDecls(decls);\n  }\n  function getColor(state, className) {\n    if (state.v4) {\n      let css = state.designSystem.compile([className])[0];\n      let color2 = getColorFromRoot(state, css);\n      return color2;\n    }\n    if (state.jit) {\n      if (state.classNames) {\n        const item2 = (0, import_dlv2.default)(state.classNames.classNames, [className, \"__info\"]);\n        if (item2 && item2.__rule) {\n          return getColorFromDecls(removeMeta(item2));\n        }\n      }\n      let result;\n      try {\n        result = generateRules(state, [className]);\n      } catch (err) {\n        console.error(`Error generating rules for className: ${className}`);\n        console.error(err);\n        return null;\n      }\n      let { root: root2, rules } = result;\n      if (rules.length === 0)\n        return null;\n      let decls = {};\n      root2.walkDecls((decl22) => {\n        let value2 = decls[decl22.prop];\n        if (value2) {\n          if (Array.isArray(value2)) {\n            value2.push(decl22.value);\n          } else {\n            decls[decl22.prop] = [value2, decl22.value];\n          }\n        } else {\n          decls[decl22.prop] = decl22.value;\n        }\n      });\n      return getColorFromDecls(decls);\n    }\n    let parts = getClassNameParts(state, className);\n    if (!parts)\n      return null;\n    const item = (0, import_dlv2.default)(state.classNames.classNames, [...parts, \"__info\"]);\n    if (!item.__rule)\n      return null;\n    return getColorFromDecls(removeMeta(item));\n  }\n  function getColorFromValue(value2) {\n    if (typeof value2 !== \"string\")\n      return null;\n    const trimmedValue = value2.trim();\n    if (trimmedValue.toLowerCase() === \"transparent\") {\n      return \"transparent\";\n    }\n    if (trimmedValue.toLowerCase() === \"currentcolor\") {\n      return \"currentColor\";\n    }\n    if (!/^\\s*(?:rgba?|hsla?|(?:ok)?(?:lab|lch))\\s*\\([^)]+\\)\\s*$/.test(trimmedValue) && !/^\\s*#[0-9a-f]+\\s*$/i.test(trimmedValue) && !Object.keys(color_name_default).includes(trimmedValue)) {\n      return null;\n    }\n    const color2 = parse_default(trimmedValue);\n    return color2 ?? null;\n  }\n  var toRgb = converter_default(\"rgb\");\n  function culoriColorToVscodeColor(color2) {\n    let rgb4 = clampRgb(toRgb(color2));\n    return { red: rgb4.r, green: rgb4.g, blue: rgb4.b, alpha: rgb4.alpha ?? 1 };\n  }\n  function formatColor(color2) {\n    if (color2.alpha === void 0 || color2.alpha === 1) {\n      return formatHex(color2);\n    }\n    return formatHex8(color2);\n  }\n  var COLOR_MIX_REGEX = /color-mix\\(in srgb, (.*?) (\\d+|\\.\\d+|\\d+\\.\\d+)%, transparent\\)/g;\n  function removeColorMixWherePossible(str) {\n    return str.replace(COLOR_MIX_REGEX, (match, color2, percentage2) => {\n      if (color2.startsWith(\"var(\"))\n        return match;\n      let parsed = parse_default(color2);\n      if (!parsed)\n        return match;\n      let alpha = Number(percentage2) / 100;\n      if (Number.isNaN(alpha))\n        return match;\n      return formatRgb({ ...parsed, alpha });\n    });\n  }\n  var htmlLanguages = [\n    \"aspnetcorerazor\",\n    \"astro\",\n    \"astro-markdown\",\n    \"blade\",\n    \"django-html\",\n    \"edge\",\n    \"ejs\",\n    \"erb\",\n    \"gohtml\",\n    \"GoHTML\",\n    \"gohtmltmpl\",\n    \"haml\",\n    \"handlebars\",\n    \"hbs\",\n    \"html\",\n    \"HTML (Eex)\",\n    \"HTML (EEx)\",\n    \"html-eex\",\n    \"htmldjango\",\n    \"jade\",\n    \"leaf\",\n    \"liquid\",\n    \"markdown\",\n    \"mdx\",\n    \"mustache\",\n    \"njk\",\n    \"nunjucks\",\n    \"phoenix-heex\",\n    \"php\",\n    \"razor\",\n    \"slim\",\n    \"surface\",\n    \"twig\"\n  ];\n  var cssLanguages = [\n    \"css\",\n    \"less\",\n    \"postcss\",\n    \"sass\",\n    \"scss\",\n    \"stylus\",\n    \"sugarss\",\n    \"tailwindcss\"\n  ];\n  var jsLanguages = [\n    \"javascript\",\n    \"javascriptreact\",\n    \"reason\",\n    \"rescript\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"glimmer-js\",\n    \"glimmer-ts\"\n  ];\n  var specialLanguages = [\"vue\", \"svelte\"];\n  var languages = [...cssLanguages, ...htmlLanguages, ...jsLanguages, ...specialLanguages];\n  var semicolonlessLanguages = [\"sass\", \"sugarss\", \"stylus\"];\n  function isSemicolonlessCssLanguage(languageId, userLanguages = {}) {\n    return semicolonlessLanguages.includes(languageId) || semicolonlessLanguages.includes(userLanguages[languageId]);\n  }\n  function isJsDoc(state, doc) {\n    const userJsLanguages = Object.keys(state.editor.userLanguages).filter(\n      (lang) => jsLanguages.includes(state.editor.userLanguages[lang])\n    );\n    return [...jsLanguages, ...userJsLanguages].indexOf(doc.languageId) !== -1;\n  }\n  function isJsxContext(state, doc, position2) {\n    let str = doc.getText({\n      start: { line: 0, character: 0 },\n      end: position2\n    });\n    let boundaries = getLanguageBoundaries(state, doc, str);\n    return boundaries ? [\"jsx\", \"tsx\"].includes(boundaries[boundaries.length - 1].type) : false;\n  }\n  function getCssLanguages(state) {\n    const userCssLanguages = Object.keys(state.editor.userLanguages).filter(\n      (lang) => cssLanguages.includes(state.editor.userLanguages[lang])\n    );\n    return [...cssLanguages, ...userCssLanguages];\n  }\n  function isCssLanguage(state, lang) {\n    return getCssLanguages(state).indexOf(lang) !== -1;\n  }\n  function isCssDoc(state, doc) {\n    return isCssLanguage(state, doc.languageId);\n  }\n  function isCssContext(state, doc, position2) {\n    if (isCssDoc(state, doc)) {\n      return true;\n    }\n    if (isHtmlDoc(state, doc) || isVueDoc(doc) || isSvelteDoc(doc) || isJsDoc(state, doc)) {\n      let str = doc.getText({\n        start: { line: 0, character: 0 },\n        end: position2\n      });\n      let boundaries = getLanguageBoundaries(state, doc, str);\n      return boundaries ? boundaries[boundaries.length - 1].type === \"css\" : false;\n    }\n    return false;\n  }\n  function isWithinRange(position2, range) {\n    if (position2.line === range.start.line && position2.character >= range.start.character) {\n      if (position2.line === range.end.line && position2.character > range.end.character) {\n        return false;\n      } else {\n        return true;\n      }\n    }\n    if (position2.line === range.end.line && position2.character <= range.end.character) {\n      if (position2.line === range.start.line && position2.character < range.end.character) {\n        return false;\n      } else {\n        return true;\n      }\n    }\n    if (position2.line > range.start.line && position2.line < range.end.line) {\n      return true;\n    }\n    return false;\n  }\n  var lazy = (getter) => {\n    let evaluated = false;\n    let _res = null;\n    const res = function() {\n      if (evaluated)\n        return _res;\n      _res = getter.apply(this, arguments);\n      evaluated = true;\n      return _res;\n    };\n    res.isLazy = true;\n    return res;\n  };\n  var classAttributeStates = () => ({\n    doubleClassList: {\n      arb: { match: new RegExp(\"(?<!\\\\\\\\)\\\\[\"), push: \"arbitrary\" },\n      lbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\{\"), push: \"interpBrace\" },\n      rbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\}\"), pop: 1 },\n      end: { match: new RegExp('(?<!\\\\\\\\)\"'), pop: 1 },\n      classlist: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    },\n    singleClassList: {\n      lbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\{\"), push: \"interpBrace\" },\n      rbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\}\"), pop: 1 },\n      end: { match: new RegExp(\"(?<!\\\\\\\\)'\"), pop: 1 },\n      classlist: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    },\n    tickClassList: {\n      lbrace: { match: new RegExp(\"(?<=(?<!\\\\\\\\)\\\\$)\\\\{\"), push: \"interpBrace\" },\n      rbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\}\"), pop: 1 },\n      end: { match: new RegExp(\"(?<!\\\\\\\\)`\"), pop: 1 },\n      classlist: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    },\n    interpBrace: {\n      startSingle: { match: new RegExp(\"(?<!\\\\\\\\)'\"), push: \"singleClassList\" },\n      startDouble: { match: new RegExp('(?<!\\\\\\\\)\"'), push: \"doubleClassList\" },\n      startTick: { match: new RegExp(\"(?<!\\\\\\\\)`\"), push: \"tickClassList\" },\n      lbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\{\"), push: \"interpBrace\" },\n      rbrace: { match: new RegExp(\"(?<!\\\\\\\\)\\\\}\"), pop: 1 },\n      text: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    },\n    interpSingle: {\n      startDouble: { match: new RegExp('(?<!\\\\\\\\)\"'), push: \"doubleClassList\" },\n      startTick: { match: new RegExp(\"(?<!\\\\\\\\)`\"), push: \"tickClassList\" },\n      single: { match: new RegExp(\"(?<!\\\\\\\\)'\"), pop: 1 },\n      text: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    },\n    interpDouble: {\n      startSingle: { match: new RegExp(\"(?<!\\\\\\\\)'\"), push: \"singleClassList\" },\n      startTick: { match: new RegExp(\"(?<!\\\\\\\\)`\"), push: \"tickClassList\" },\n      double: { match: new RegExp('(?<!\\\\\\\\)\"'), pop: 1 },\n      text: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    },\n    arbitrary: {\n      arb: { match: new RegExp(\"(?<!\\\\\\\\)\\\\]\"), pop: 1 },\n      space: { match: /\\s/, pop: 1, lineBreaks: true },\n      arb2: { match: new RegExp(\"[\\\\s\\\\S]\"), lineBreaks: true }\n    }\n  });\n  var simpleClassAttributeStates = {\n    main: {\n      start: { match: '\"', push: \"doubleClassList\" }\n    },\n    doubleClassList: {\n      end: { match: '\"', pop: 1 },\n      classlist: { match: /[\\s\\S]/, lineBreaks: true }\n    }\n  };\n  var getClassAttributeLexer = lazy(() => {\n    let supportsNegativeLookbehind = true;\n    try {\n      new RegExp(\"(?<!)\");\n    } catch (_2) {\n      supportsNegativeLookbehind = false;\n    }\n    if (supportsNegativeLookbehind) {\n      return import_moo.default.states({\n        main: {\n          start1: { match: '\"', push: \"doubleClassList\" },\n          start2: { match: \"'\", push: \"singleClassList\" },\n          start3: { match: \"{\", push: \"interpBrace\" }\n        },\n        ...classAttributeStates()\n      });\n    }\n    return import_moo.default.states(simpleClassAttributeStates);\n  });\n  var getComputedClassAttributeLexer = lazy(() => {\n    let supportsNegativeLookbehind = true;\n    try {\n      new RegExp(\"(?<!)\");\n    } catch (_2) {\n      supportsNegativeLookbehind = false;\n    }\n    if (supportsNegativeLookbehind) {\n      return import_moo.default.states({\n        main: {\n          lbrace: { match: \"{\", push: \"interpBrace\" },\n          single: { match: \"'\", push: \"interpSingle\" },\n          double: { match: '\"', push: \"interpDouble\" }\n        },\n        ...classAttributeStates()\n      });\n    }\n    return import_moo.default.states(simpleClassAttributeStates);\n  });\n  function resolveRange(range, relativeTo) {\n    return {\n      start: {\n        line: (relativeTo?.start.line || 0) + range.start.line,\n        character: (range.end.line === 0 ? relativeTo?.start.character || 0 : 0) + range.start.character\n      },\n      end: {\n        line: (relativeTo?.start.line || 0) + range.end.line,\n        character: (range.end.line === 0 ? relativeTo?.start.character || 0 : 0) + range.end.character\n      }\n    };\n  }\n  function getTextWithoutComments(docOrText, type, range) {\n    let text2 = typeof docOrText === \"string\" ? docOrText : docOrText.getText(range);\n    if (type === \"js\" || type === \"jsx\") {\n      return getJsWithoutComments(text2);\n    }\n    if (type === \"css\") {\n      return text2.replace(/\\/\\*.*?\\*\\//gs, replace);\n    }\n    return text2.replace(/<!--.*?-->/gs, replace);\n  }\n  function replace(match) {\n    return match.replace(/./gs, (char) => char === \"\\n\" ? \"\\n\" : \" \");\n  }\n  var jsLexer;\n  function getJsWithoutComments(text2) {\n    if (!jsLexer) {\n      jsLexer = import_moo2.default.states({\n        main: {\n          commentLine: /\\/\\/.*?$/,\n          commentBlock: { match: /\\/\\*[^]*?\\*\\//, lineBreaks: true },\n          stringDouble: /\"(?:[^\"\\\\]|\\\\.)*\"/,\n          stringSingle: /'(?:[^'\\\\]|\\\\.)*'/,\n          stringBacktick: /`(?:[^`\\\\]|\\\\.)*`/,\n          other: { match: /[^]/, lineBreaks: true }\n        }\n      });\n    }\n    let str = \"\";\n    jsLexer.reset(text2);\n    for (let token of jsLexer) {\n      if (token.type === \"commentLine\") {\n        str += \" \".repeat(token.value.length);\n      } else if (token.type === \"commentBlock\") {\n        str += token.value.replace(/./g, \" \");\n      } else {\n        str += token.value;\n      }\n    }\n    return str;\n  }\n  function* customClassesIn({\n    text: text2,\n    filters,\n    cursor = null\n  }) {\n    for (let filter of filters) {\n      let [containerPattern, classPattern] = Array.isArray(filter) ? filter : [filter];\n      let containerRegex = new RegExp(containerPattern, \"gd\");\n      let classRegex = classPattern ? new RegExp(classPattern, \"gd\") : void 0;\n      for (let match of matchesIn(text2, containerRegex, classRegex, cursor)) {\n        yield match;\n      }\n    }\n  }\n  function* matchesIn(text2, containerRegex, classRegex, cursor) {\n    for (let containerMatch of text2.matchAll(containerRegex)) {\n      if (containerMatch[1] === void 0) {\n        console.warn(`Regex /${containerRegex.source}/ must have exactly one capture group`);\n        continue;\n      }\n      const matchStart = containerMatch.indices[1][0];\n      const matchEnd = matchStart + containerMatch[1].length;\n      if (cursor !== null && (cursor < matchStart || cursor > matchEnd)) {\n        continue;\n      }\n      if (!classRegex) {\n        yield {\n          classList: cursor !== null ? containerMatch[1].slice(0, cursor - matchStart) : containerMatch[1],\n          range: [matchStart, matchEnd]\n        };\n        continue;\n      }\n      for (let classMatch of containerMatch[1].matchAll(classRegex)) {\n        if (classMatch[1] === void 0) {\n          console.warn(`Regex /${classRegex.source}/ must have exactly one capture group`);\n          continue;\n        }\n        const classMatchStart = matchStart + classMatch.indices[1][0];\n        const classMatchEnd = classMatchStart + classMatch[1].length;\n        if (cursor !== null && (cursor < classMatchStart || cursor > classMatchEnd)) {\n          continue;\n        }\n        yield {\n          classList: cursor !== null ? classMatch[1].slice(0, cursor - classMatchStart) : classMatch[1],\n          range: [classMatchStart, classMatchEnd]\n        };\n      }\n    }\n  }\n  function findAll(re, str) {\n    let match;\n    let matches = [];\n    while ((match = re.exec(str)) !== null) {\n      matches.push({ ...match });\n    }\n    return matches;\n  }\n  function findLast(re, str) {\n    const matches = findAll(re, str);\n    if (matches.length === 0) {\n      return null;\n    }\n    return matches[matches.length - 1];\n  }\n  function getClassNamesInClassList({ classList, range, important }, blocklist) {\n    const parts = classList.split(/(\\s+)/);\n    const names = [];\n    let index2 = 0;\n    for (let i2 = 0; i2 < parts.length; i2++) {\n      if (i2 % 2 === 0 && !blocklist.includes(parts[i2])) {\n        const start = indexToPosition(classList, index2);\n        const end = indexToPosition(classList, index2 + parts[i2].length);\n        names.push({\n          className: parts[i2],\n          classList: {\n            classList,\n            range,\n            important\n          },\n          relativeRange: {\n            start,\n            end\n          },\n          range: {\n            start: {\n              line: range.start.line + start.line,\n              character: (end.line === 0 ? range.start.character : 0) + start.character\n            },\n            end: {\n              line: range.start.line + end.line,\n              character: (end.line === 0 ? range.start.character : 0) + end.character\n            }\n          }\n        });\n      }\n      index2 += parts[i2].length;\n    }\n    return names;\n  }\n  async function findClassNamesInRange(state, doc, range, mode, includeCustom = true) {\n    const classLists = await findClassListsInRange(state, doc, range, mode, includeCustom);\n    return flatten(\n      classLists.map((classList) => getClassNamesInClassList(classList, state.blocklist))\n    );\n  }\n  function findClassListsInCssRange(state, doc, range, lang) {\n    const text2 = getTextWithoutComments(doc, \"css\", range);\n    let regex = isSemicolonlessCssLanguage(lang ?? doc.languageId, state.editor?.userLanguages) ? /(@apply\\s+)(?<classList>[^}\\r\\n]+?)(?<important>\\s*!important)?(?:\\r|\\n|}|$)/g : /(@apply\\s+)(?<classList>[^;}]+?)(?<important>\\s*!important)?\\s*[;}]/g;\n    const matches = findAll(regex, text2);\n    const globalStart = range ? range.start : { line: 0, character: 0 };\n    return matches.map((match) => {\n      const start = indexToPosition(text2, match.index + match[1].length);\n      const end = indexToPosition(text2, match.index + match[1].length + match.groups.classList.length);\n      return {\n        classList: match.groups.classList,\n        important: Boolean(match.groups.important),\n        range: {\n          start: {\n            line: globalStart.line + start.line,\n            character: (end.line === 0 ? globalStart.character : 0) + start.character\n          },\n          end: {\n            line: globalStart.line + end.line,\n            character: (end.line === 0 ? globalStart.character : 0) + end.character\n          }\n        }\n      };\n    });\n  }\n  async function findCustomClassLists(state, doc, range) {\n    const settings = await state.editor.getConfiguration(doc.uri);\n    const regexes = settings.tailwindCSS.experimental.classRegex;\n    if (!Array.isArray(regexes) || regexes.length === 0)\n      return [];\n    const text2 = doc.getText(range ? { ...range, start: doc.positionAt(0) } : void 0);\n    const result = [];\n    try {\n      for (let match of customClassesIn({ text: text2, filters: regexes })) {\n        result.push({\n          classList: match.classList,\n          range: {\n            start: doc.positionAt(match.range[0]),\n            end: doc.positionAt(match.range[1])\n          }\n        });\n      }\n    } catch (err) {\n      console.log(JSON.stringify({ text: text2, filters: regexes }));\n      throw new Error(\"Failed to parse custom class regex\");\n    }\n    return result;\n  }\n  function matchClassAttributes(text2, attributes) {\n    const attrs = attributes.filter((x2) => typeof x2 === \"string\").flatMap((a2) => [a2, `\\\\[${a2}\\\\]`]);\n    const re = /(?:\\s|:|\\()(ATTRS)\\s*=\\s*['\"`{]/;\n    return findAll(new RegExp(re.source.replace(\"ATTRS\", attrs.join(\"|\")), \"gi\"), text2);\n  }\n  async function findClassListsInHtmlRange(state, doc, type, range) {\n    const text2 = getTextWithoutComments(doc, type, range);\n    const matches = matchClassAttributes(\n      text2,\n      (await state.editor.getConfiguration(doc.uri)).tailwindCSS.classAttributes\n    );\n    const result = [];\n    matches.forEach((match) => {\n      const subtext = text2.substr(match.index + match[0].length - 1);\n      let lexer = match[0][0] === \":\" || match[1].startsWith(\"[\") && match[1].endsWith(\"]\") ? getComputedClassAttributeLexer() : getClassAttributeLexer();\n      lexer.reset(subtext);\n      let classLists = [];\n      let token;\n      let currentClassList;\n      try {\n        for (let token2 of lexer) {\n          if (token2.type === \"classlist\" || token2.type.startsWith(\"arb\")) {\n            if (currentClassList) {\n              currentClassList.value += token2.value;\n            } else {\n              currentClassList = {\n                value: token2.value,\n                offset: token2.offset\n              };\n            }\n          } else {\n            if (currentClassList) {\n              classLists.push({\n                value: currentClassList.value,\n                offset: currentClassList.offset\n              });\n            }\n            currentClassList = void 0;\n          }\n        }\n      } catch (_2) {\n      }\n      if (currentClassList) {\n        classLists.push({\n          value: currentClassList.value,\n          offset: currentClassList.offset\n        });\n      }\n      result.push(\n        ...classLists.map(({ value: value2, offset }) => {\n          if (value2.trim() === \"\") {\n            return null;\n          }\n          const before = value2.match(/^\\s*/);\n          const beforeOffset = before === null ? 0 : before[0].length;\n          const after = value2.match(/\\s*$/);\n          const afterOffset = after === null ? 0 : -after[0].length;\n          const start = indexToPosition(\n            text2,\n            match.index + match[0].length - 1 + offset + beforeOffset\n          );\n          const end = indexToPosition(\n            text2,\n            match.index + match[0].length - 1 + offset + value2.length + afterOffset\n          );\n          return {\n            classList: value2.substr(beforeOffset, value2.length + afterOffset),\n            range: {\n              start: {\n                line: (range?.start.line || 0) + start.line,\n                character: (end.line === 0 ? range?.start.character || 0 : 0) + start.character\n              },\n              end: {\n                line: (range?.start.line || 0) + end.line,\n                character: (end.line === 0 ? range?.start.character || 0 : 0) + end.character\n              }\n            }\n          };\n        }).filter((x2) => x2 !== null)\n      );\n    });\n    return result;\n  }\n  async function findClassListsInRange(state, doc, range, mode, includeCustom = true) {\n    let classLists = [];\n    if (mode === \"css\") {\n      classLists = findClassListsInCssRange(state, doc, range);\n    } else if (mode === \"html\" || mode === \"jsx\") {\n      classLists = await findClassListsInHtmlRange(state, doc, mode, range);\n    }\n    return dedupeByRange([\n      ...classLists,\n      ...includeCustom ? await findCustomClassLists(state, doc, range) : []\n    ]);\n  }\n  async function findClassListsInDocument(state, doc) {\n    if (isCssDoc(state, doc)) {\n      return findClassListsInCssRange(state, doc);\n    }\n    let boundaries = getLanguageBoundaries(state, doc);\n    if (!boundaries)\n      return [];\n    return dedupeByRange(\n      flatten([\n        ...await Promise.all(\n          boundaries.filter((b2) => b2.type === \"html\" || b2.type === \"jsx\").map(\n            ({ type, range }) => findClassListsInHtmlRange(state, doc, type === \"html\" ? \"html\" : \"jsx\", range)\n          )\n        ),\n        ...boundaries.filter((b2) => b2.type === \"css\").map(({ range, lang }) => findClassListsInCssRange(state, doc, range, lang)),\n        await findCustomClassLists(state, doc)\n      ])\n    );\n  }\n  function findHelperFunctionsInDocument(state, doc) {\n    if (isCssDoc(state, doc)) {\n      return findHelperFunctionsInRange(doc);\n    }\n    let boundaries = getLanguageBoundaries(state, doc);\n    if (!boundaries)\n      return [];\n    return flatten(\n      boundaries.filter((b2) => b2.type === \"css\").map(({ range }) => findHelperFunctionsInRange(doc, range))\n    );\n  }\n  function getFirstCommaIndex(str) {\n    let quoteChar;\n    for (let i2 = 0; i2 < str.length; i2++) {\n      let char = str[i2];\n      if (char === \",\" && !quoteChar) {\n        return i2;\n      }\n      if (!quoteChar && (char === '\"' || char === \"'\")) {\n        quoteChar = char;\n      } else if (char === quoteChar) {\n        quoteChar = void 0;\n      }\n    }\n    return null;\n  }\n  function findHelperFunctionsInRange(doc, range) {\n    const text2 = getTextWithoutComments(doc, \"css\", range);\n    let matches = findAll(\n      /(?<prefix>[\\s:;/*(){}])(?<helper>config|theme)(?<innerPrefix>\\(\\s*)(?<path>[^)]*?)\\s*\\)/g,\n      text2\n    );\n    return matches.map((match) => {\n      let quotesBefore = \"\";\n      let path = match.groups.path;\n      let commaIndex = getFirstCommaIndex(path);\n      if (commaIndex !== null) {\n        path = path.slice(0, commaIndex).trimEnd();\n      }\n      path = path.replace(/['\"]+$/, \"\").replace(/^['\"]+/, (m2) => {\n        quotesBefore = m2;\n        return \"\";\n      });\n      let matches2 = path.match(/^([^\\s]+)(?![^\\[]*\\])(?:\\s*\\/\\s*([^\\/\\s]+))$/);\n      if (matches2) {\n        path = matches2[1];\n      }\n      path = path.replace(/['\"]*\\s*$/, \"\");\n      let startIndex = match.index + match.groups.prefix.length + match.groups.helper.length + match.groups.innerPrefix.length;\n      return {\n        helper: match.groups.helper === \"theme\" ? \"theme\" : \"config\",\n        path,\n        ranges: {\n          full: resolveRange(\n            {\n              start: indexToPosition(text2, startIndex),\n              end: indexToPosition(text2, startIndex + match.groups.path.length)\n            },\n            range\n          ),\n          path: resolveRange(\n            {\n              start: indexToPosition(text2, startIndex + quotesBefore.length),\n              end: indexToPosition(text2, startIndex + quotesBefore.length + path.length)\n            },\n            range\n          )\n        }\n      };\n    });\n  }\n  function indexToPosition(str, index2) {\n    const { line, col } = (0, import_line_column.default)(str + \"\\n\").fromIndex(index2) ?? { line: 1, col: 1 };\n    return { line: line - 1, character: col - 1 };\n  }\n  async function findClassNameAtPosition(state, doc, position2) {\n    let classNames = [];\n    const positionOffset = doc.offsetAt(position2);\n    const searchRange = {\n      start: doc.positionAt(Math.max(0, positionOffset - 2e3)),\n      end: doc.positionAt(positionOffset + 2e3)\n    };\n    if (isVueDoc(doc)) {\n      let boundaries = getLanguageBoundaries(state, doc);\n      let groups = await Promise.all(\n        boundaries.map(async ({ type, range, lang }) => {\n          if (type === \"css\") {\n            return findClassListsInCssRange(state, doc, range, lang);\n          }\n          if (type === \"html\") {\n            return await findClassListsInHtmlRange(state, doc, \"html\", range);\n          }\n          if (type === \"jsx\") {\n            return await findClassListsInHtmlRange(state, doc, \"jsx\", range);\n          }\n          return [];\n        })\n      );\n      classNames = dedupeByRange(flatten(groups)).flatMap(\n        (classList) => getClassNamesInClassList(classList, state.blocklist)\n      );\n    } else if (isCssContext(state, doc, position2)) {\n      classNames = await findClassNamesInRange(state, doc, searchRange, \"css\");\n    } else if (isHtmlContext(state, doc, position2)) {\n      classNames = await findClassNamesInRange(state, doc, searchRange, \"html\");\n    } else if (isJsxContext(state, doc, position2)) {\n      classNames = await findClassNamesInRange(state, doc, searchRange, \"jsx\");\n    } else {\n      classNames = await findClassNamesInRange(state, doc, searchRange);\n    }\n    if (classNames.length === 0) {\n      return null;\n    }\n    const className = classNames.find(({ range }) => isWithinRange(position2, range));\n    if (!className)\n      return null;\n    return className;\n  }\n  var htmlScriptTypes = [\n    // https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html#option-1-use-script-tag\n    \"text/html\",\n    // https://vuejs.org/guide/essentials/component-basics.html#dom-template-parsing-caveats\n    \"text/x-template\",\n    // https://github.com/tailwindlabs/tailwindcss-intellisense/issues/722\n    \"text/x-handlebars-template\"\n  ];\n  var jsxScriptTypes = [\n    // https://github.com/tailwindlabs/tailwindcss-intellisense/issues/906\n    \"text/babel\"\n  ];\n  var text = { text: { match: /[^]/, lineBreaks: true } };\n  var states = {\n    main: {\n      cssBlockStart: { match: /<style(?=[>\\s])/, push: \"cssBlock\" },\n      jsBlockStart: { match: \"<script\", push: \"jsBlock\" },\n      ...text\n    },\n    cssBlock: {\n      styleStart: { match: \">\", next: \"style\" },\n      cssBlockEnd: { match: \"/>\", pop: 1 },\n      attrStartDouble: { match: '\"', push: \"attrDouble\" },\n      attrStartSingle: { match: \"'\", push: \"attrSingle\" },\n      interp: { match: \"{\", push: \"interp\" },\n      ...text\n    },\n    jsBlock: {\n      scriptStart: { match: \">\", next: \"script\" },\n      jsBlockEnd: { match: \"/>\", pop: 1 },\n      langAttrStartDouble: { match: 'lang=\"', push: \"langAttrDouble\" },\n      langAttrStartSingle: { match: \"lang='\", push: \"langAttrSingle\" },\n      typeAttrStartDouble: { match: 'type=\"', push: \"typeAttrDouble\" },\n      typeAttrStartSingle: { match: \"type='\", push: \"typeAttrSingle\" },\n      attrStartDouble: { match: '\"', push: \"attrDouble\" },\n      attrStartSingle: { match: \"'\", push: \"attrSingle\" },\n      interp: { match: \"{\", push: \"interp\" },\n      ...text\n    },\n    interp: {\n      interp: { match: \"{\", push: \"interp\" },\n      end: { match: \"}\", pop: 1 },\n      ...text\n    },\n    langAttrDouble: {\n      langAttrEnd: { match: '\"', pop: 1 },\n      lang: { match: /[^\"]+/, lineBreaks: true }\n    },\n    langAttrSingle: {\n      langAttrEnd: { match: \"'\", pop: 1 },\n      lang: { match: /[^']+/, lineBreaks: true }\n    },\n    typeAttrDouble: {\n      langAttrEnd: { match: '\"', pop: 1 },\n      type: { match: /[^\"]+/, lineBreaks: true }\n    },\n    typeAttrSingle: {\n      langAttrEnd: { match: \"'\", pop: 1 },\n      type: { match: /[^']+/, lineBreaks: true }\n    },\n    attrDouble: {\n      attrEnd: { match: '\"', pop: 1 },\n      ...text\n    },\n    attrSingle: {\n      attrEnd: { match: \"'\", pop: 1 },\n      ...text\n    },\n    style: {\n      cssBlockEnd: { match: /<\\/style\\s*>/, pop: 1 },\n      ...text\n    },\n    script: {\n      jsBlockEnd: { match: /<\\/script\\s*>/, pop: 1 },\n      ...text\n    }\n  };\n  var vueStates = {\n    ...states,\n    main: {\n      htmlBlockStart: { match: \"<template\", push: \"htmlBlock\" },\n      ...states.main\n    },\n    cssBlock: {\n      langAttrStartDouble: { match: 'lang=\"', push: \"langAttrDouble\" },\n      langAttrStartSingle: { match: \"lang='\", push: \"langAttrSingle\" },\n      ...states.cssBlock\n    },\n    htmlBlock: {\n      htmlStart: { match: \">\", next: \"html\" },\n      htmlBlockEnd: { match: \"/>\", pop: 1 },\n      attrStartDouble: { match: '\"', push: \"attrDouble\" },\n      attrStartSingle: { match: \"'\", push: \"attrSingle\" },\n      interp: { match: \"{\", push: \"interp\" },\n      ...text\n    },\n    html: {\n      htmlBlockEnd: { match: \"</template>\", pop: 1 },\n      nestedBlockStart: { match: \"<template\", push: \"nestedBlock\" },\n      ...text\n    },\n    nestedBlock: {\n      nestedStart: { match: \">\", next: \"nested\" },\n      nestedBlockEnd: { match: \"/>\", pop: 1 },\n      ...text\n    },\n    nested: {\n      nestedBlockEnd: { match: \"</template>\", pop: 1 },\n      nestedBlockStart: { match: \"<template\", push: \"nestedBlock\" },\n      ...text\n    }\n  };\n  var defaultLexer = import_moo3.default.states(states);\n  var vueLexer = import_moo3.default.states(vueStates);\n  var cache = new import_tmp_cache.default({ max: 25, maxAge: 1e3 });\n  function getLanguageBoundaries(state, doc, text2 = doc.getText()) {\n    let cacheKey = `${doc.languageId}:${text2}`;\n    let cachedBoundaries = cache.get(cacheKey);\n    if (cachedBoundaries !== void 0) {\n      return cachedBoundaries;\n    }\n    let isJs = isJsDoc(state, doc);\n    let defaultType = isVueDoc(doc) ? \"none\" : isHtmlDoc(state, doc) || isSvelteDoc(doc) ? \"html\" : isJs ? \"jsx\" : null;\n    if (defaultType === null) {\n      cache.set(cacheKey, null);\n      return null;\n    }\n    text2 = getTextWithoutComments(text2, isJs ? \"js\" : \"html\");\n    let lexer = defaultType === \"none\" ? vueLexer : defaultLexer;\n    lexer.reset(text2);\n    let type = defaultType;\n    let boundaries = [\n      { type: defaultType, range: { start: { line: 0, character: 0 }, end: void 0 } }\n    ];\n    let offset = 0;\n    try {\n      for (let token of lexer) {\n        if (!token.type.startsWith(\"nested\")) {\n          if (token.type.endsWith(\"BlockStart\")) {\n            let position2 = indexToPosition(text2, offset);\n            if (!boundaries[boundaries.length - 1].range.end) {\n              boundaries[boundaries.length - 1].range.end = position2;\n            }\n            type = token.type.replace(/BlockStart$/, \"\");\n            boundaries.push({ type, range: { start: position2, end: void 0 } });\n          } else if (token.type.endsWith(\"BlockEnd\")) {\n            let position2 = indexToPosition(text2, offset);\n            boundaries[boundaries.length - 1].range.end = position2;\n            boundaries.push({ type: defaultType, range: { start: position2, end: void 0 } });\n          } else if (token.type === \"lang\") {\n            boundaries[boundaries.length - 1].type = token.text;\n          } else if (token.type === \"type\" && htmlScriptTypes.includes(token.text)) {\n            boundaries[boundaries.length - 1].type = \"html\";\n          } else if (token.type === \"type\" && jsxScriptTypes.includes(token.text)) {\n            boundaries[boundaries.length - 1].type = \"jsx\";\n          }\n        }\n        offset += token.text.length;\n      }\n    } catch {\n      cache.set(cacheKey, null);\n      return null;\n    }\n    if (!boundaries[boundaries.length - 1].range.end) {\n      boundaries[boundaries.length - 1].range.end = indexToPosition(text2, offset);\n    }\n    cache.set(cacheKey, boundaries);\n    for (let boundary of boundaries) {\n      if (boundary.type === \"css\")\n        continue;\n      if (!isCssLanguage(state, boundary.type))\n        continue;\n      boundary.lang = boundary.type;\n      boundary.type = \"css\";\n    }\n    return boundaries;\n  }\n  function isHtmlDoc(state, doc) {\n    const userHtmlLanguages = Object.keys(state.editor.userLanguages).filter(\n      (lang) => htmlLanguages.includes(state.editor.userLanguages[lang])\n    );\n    return [...htmlLanguages, ...userHtmlLanguages].indexOf(doc.languageId) !== -1;\n  }\n  function isVueDoc(doc) {\n    return doc.languageId === \"vue\";\n  }\n  function isSvelteDoc(doc) {\n    return doc.languageId === \"svelte\";\n  }\n  function isHtmlContext(state, doc, position2) {\n    let str = doc.getText({\n      start: { line: 0, character: 0 },\n      end: position2\n    });\n    let boundaries = getLanguageBoundaries(state, doc, str);\n    return boundaries ? boundaries[boundaries.length - 1].type === \"html\" : false;\n  }\n  function stringifyConfigValue(x2) {\n    if (isObject3(x2))\n      return `${Object.keys(x2).length} values`;\n    if (typeof x2 === \"function\")\n      return \"\\u0192\";\n    if (typeof x2 === \"string\")\n      return x2;\n    return stringifyObject(x2, {\n      inlineCharacterLimit: Infinity,\n      singleQuotes: false,\n      transform: (obj, prop, originalResult) => {\n        if (typeof obj[prop] === \"function\") {\n          return \"\\u0192\";\n        }\n        return originalResult;\n      }\n    });\n  }\n  function stringifyCss(className, obj, settings) {\n    if (obj.__rule !== true && !Array.isArray(obj))\n      return null;\n    if (Array.isArray(obj)) {\n      const rules = obj.map((x2) => stringifyCss(className, x2, settings)).filter(Boolean);\n      if (rules.length === 0)\n        return null;\n      return rules.join(\"\\n\\n\");\n    }\n    let css = ``;\n    const indent = \" \".repeat(settings.editor.tabSize);\n    const context = (0, import_dlv4.default)(obj, \"__context\", []);\n    const props = Object.keys(removeMeta(obj));\n    if (props.length === 0)\n      return null;\n    for (let i2 = 0; i2 < context.length; i2++) {\n      css += `${indent.repeat(i2)}${context[i2]} {\n`;\n    }\n    const indentStr = indent.repeat(context.length);\n    const decls = props.reduce((acc, curr, i2) => {\n      const propStr = ensureArray(obj[curr]).map((val) => `${indentStr + indent}${curr}: ${val};`).join(\"\\n\");\n      return `${acc}${i2 === 0 ? \"\" : \"\\n\"}${propStr}`;\n    }, \"\");\n    css += `${indentStr}${augmentClassName(className, obj)} {\n${decls}\n${indentStr}}`;\n    for (let i2 = context.length - 1; i2 >= 0; i2--) {\n      css += `${indent.repeat(i2)}\n}`;\n    }\n    css = addEquivalents(css, settings.tailwindCSS);\n    return css;\n  }\n  function augmentClassName(className, obj) {\n    const pseudo = obj.__pseudo.join(\"\");\n    const scope = obj.__scope ? `${obj.__scope} ` : \"\";\n    return `${scope}.${(0, import_css.default)(className)}${pseudo}`;\n  }\n  function isRawScreen(screen) {\n    return isObject3(screen) && screen.raw !== void 0;\n  }\n  function stringifyScreen(screen) {\n    if (!screen)\n      return void 0;\n    if (typeof screen === \"string\")\n      return `@media (min-width: ${screen})`;\n    if (isRawScreen(screen)) {\n      return `@media ${screen.raw}`;\n    }\n    let str = (Array.isArray(screen) ? screen : [screen]).map((range) => {\n      return [\n        typeof range.min === \"string\" ? `(min-width: ${range.min})` : null,\n        typeof range.max === \"string\" ? `(max-width: ${range.max})` : null\n      ].filter(Boolean).join(\" and \");\n    }).join(\", \");\n    return str ? `@media ${str}` : void 0;\n  }\n  function braceLevel(text2) {\n    let count = 0;\n    for (let i2 = text2.length - 1; i2 >= 0; i2--) {\n      let char = text2.charCodeAt(i2);\n      count += Number(\n        char === 123\n        /* { */\n      ) - Number(\n        char === 125\n        /* } */\n      );\n    }\n    return count;\n  }\n  function isValidLocationForEmmetAbbreviation(document3, abbreviationRange) {\n    const startAngle = \"<\";\n    const endAngle = \">\";\n    const escape2 = \"\\\\\";\n    const question = \"?\";\n    let start = { line: 0, character: 0 };\n    let textToBackTrack = document3.getText({\n      start: {\n        line: start.line,\n        character: start.character\n      },\n      end: {\n        line: abbreviationRange.start.line,\n        character: abbreviationRange.start.character\n      }\n    });\n    if (textToBackTrack.length > 500) {\n      textToBackTrack = textToBackTrack.substr(textToBackTrack.length - 500);\n    }\n    if (!textToBackTrack.trim()) {\n      return true;\n    }\n    let valid = true;\n    let foundSpace = false;\n    let i2 = textToBackTrack.length - 1;\n    if (textToBackTrack[i2] === startAngle) {\n      return false;\n    }\n    while (i2 >= 0) {\n      const char = textToBackTrack[i2];\n      i2--;\n      if (!foundSpace && /\\s/.test(char)) {\n        foundSpace = true;\n        continue;\n      }\n      if (char === question && textToBackTrack[i2] === startAngle) {\n        i2--;\n        continue;\n      }\n      if (/\\s/.test(char) && textToBackTrack[i2] === startAngle) {\n        i2--;\n        continue;\n      }\n      if (char !== startAngle && char !== endAngle) {\n        continue;\n      }\n      if (i2 >= 0 && textToBackTrack[i2] === escape2) {\n        i2--;\n        continue;\n      }\n      if (char === endAngle) {\n        if (i2 >= 0 && textToBackTrack[i2] === \"=\") {\n          continue;\n        } else {\n          break;\n        }\n      }\n      if (char === startAngle) {\n        valid = !foundSpace;\n        break;\n      }\n    }\n    return valid;\n  }\n  function naturalExpand(value2, total) {\n    let length2 = typeof total === \"number\" ? total.toString().length : 8;\n    return (\"0\".repeat(length2) + value2).slice(-length2);\n  }\n  function gte(v1, v2) {\n    if (v1.startsWith(\"0.0.0-insiders\")) {\n      return true;\n    }\n    return (0, import_gte.default)(v1, v2);\n  }\n  function docsUrl(version2, paths) {\n    let major = 0;\n    let url2 = \"https://tailwindcss-v0.netlify.app/docs/\";\n    if (gte(version2, \"0.99.0\")) {\n      major = 1;\n      url2 = \"https://v1.tailwindcss.com/docs/\";\n    }\n    if (gte(version2, \"1.99.0\")) {\n      major = 2;\n      url2 = \"https://tailwindcss.com/docs/\";\n    }\n    const path = Array.isArray(paths) ? paths[major] || paths[paths.length - 1] : paths;\n    return `${url2}${path}`;\n  }\n  function getClassNameMeta(state, classNameOrParts) {\n    const parts = Array.isArray(classNameOrParts) ? classNameOrParts : getClassNameParts(state, classNameOrParts);\n    if (!parts)\n      return null;\n    const info = (0, import_dlv5.default)(state.classNames.classNames, [...parts, \"__info\"]);\n    if (Array.isArray(info)) {\n      return info.map((i2) => ({\n        source: i2.__source,\n        pseudo: i2.__pseudo,\n        scope: i2.__scope,\n        context: i2.__context\n      }));\n    }\n    return {\n      source: info.__source,\n      pseudo: info.__pseudo,\n      scope: info.__scope,\n      context: info.__context\n    };\n  }\n  function flagEnabled(state, flag) {\n    if (state.featureFlags.future.includes(flag)) {\n      return state.config.future === \"all\" || (0, import_dlv6.default)(state.config, [\"future\", flag], false);\n    }\n    if (state.featureFlags.experimental.includes(flag)) {\n      return state.config.experimental === \"all\" || (0, import_dlv6.default)(state.config, [\"experimental\", flag], false);\n    }\n    return false;\n  }\n  function validateApply(state, classNameOrParts) {\n    if (state.jit) {\n      return { isApplyable: true };\n    }\n    const meta = getClassNameMeta(state, classNameOrParts);\n    if (!meta)\n      return null;\n    if (gte(state.version, \"2.0.0-alpha.1\") || flagEnabled(state, \"applyComplexClasses\")) {\n      return { isApplyable: true };\n    }\n    const className = Array.isArray(classNameOrParts) ? classNameOrParts.join(state.separator) : classNameOrParts;\n    let reason;\n    if (Array.isArray(meta)) {\n      reason = `'@apply' cannot be used with '${className}' because it is included in multiple rulesets.`;\n    } else if (meta.source !== \"utilities\") {\n      reason = `'@apply' cannot be used with '${className}' because it is not a utility.`;\n    } else if (meta.context && meta.context.length > 0) {\n      if (meta.context.length === 1) {\n        reason = `'@apply' cannot be used with '${className}' because it is nested inside of an at-rule ('${meta.context[0]}').`;\n      } else {\n        reason = `'@apply' cannot be used with '${className}' because it is nested inside of at-rules (${meta.context.map((c3) => `'${c3}'`).join(\", \")}).`;\n      }\n    } else if (meta.pseudo && meta.pseudo.length > 0) {\n      if (meta.pseudo.length === 1) {\n        reason = `'@apply' cannot be used with '${className}' because its definition includes a pseudo-selector ('${meta.pseudo[0]}')`;\n      } else {\n        reason = `'@apply' cannot be used with '${className}' because its definition includes pseudo-selectors (${meta.pseudo.map((p4) => `'${p4}'`).join(\", \")}).`;\n      }\n    }\n    if (reason) {\n      return { isApplyable: false, reason };\n    }\n    return { isApplyable: true };\n  }\n  function getVariantsFromClassName(state, className) {\n    let allVariants = state.variants.flatMap((variant) => {\n      if (variant.values.length) {\n        return variant.values.map(\n          (value2) => value2 === \"DEFAULT\" ? variant.name : `${variant.name}${variant.hasDash ? \"-\" : \"\"}${value2}`\n        );\n      }\n      return [variant.name];\n    });\n    let variants = /* @__PURE__ */ new Set();\n    let offset = 0;\n    let parts = splitAtTopLevelOnly(className, state.separator);\n    if (parts.length < 2) {\n      return { variants: Array.from(variants), offset };\n    }\n    parts = parts.filter(Boolean);\n    for (let part of parts) {\n      if (allVariants.includes(part) || state.jit && (part.includes(\"[\") && part.endsWith(\"]\") || part.includes(\"/\")) && generateRules(state, [`${part}${state.separator}[color:red]`]).rules.length > 0) {\n        variants.add(part);\n        offset += part.length + state.separator.length;\n        continue;\n      }\n      break;\n    }\n    return { variants: Array.from(variants), offset };\n  }\n  function splitAtTopLevelOnly(input, separator) {\n    let stack = [];\n    let parts = [];\n    let lastPos = 0;\n    for (let idx = 0; idx < input.length; idx++) {\n      let char = input[idx];\n      if (stack.length === 0 && char === separator[0]) {\n        if (separator.length === 1 || input.slice(idx, idx + separator.length) === separator) {\n          parts.push(input.slice(lastPos, idx));\n          lastPos = idx + separator.length;\n        }\n      }\n      if (char === \"(\" || char === \"[\" || char === \"{\") {\n        stack.push(char);\n      } else if (char === \")\" && stack[stack.length - 1] === \"(\" || char === \"]\" && stack[stack.length - 1] === \"[\" || char === \"}\" && stack[stack.length - 1] === \"{\") {\n        stack.pop();\n      }\n    }\n    parts.push(input.slice(lastPos));\n    return parts;\n  }\n  var isUtil = (className) => Array.isArray(className.__info) ? className.__info.some((x2) => x2.__source === \"utilities\") : className.__info.__source === \"utilities\";\n  function completionsFromClassList(state, classList, classListRange, rootFontSize, filter, context) {\n    let classNames = classList.split(/[\\s+]/);\n    const partialClassName = classNames[classNames.length - 1];\n    let sep2 = state.separator;\n    let parts = partialClassName.split(sep2);\n    let subset;\n    let subsetKey = [];\n    let isSubset = false;\n    let replacementRange = {\n      ...classListRange,\n      start: {\n        ...classListRange.start,\n        character: classListRange.end.character - partialClassName.length\n      }\n    };\n    if (state.v4) {\n      let variantItem = function(item) {\n        return {\n          kind: 9,\n          data: {\n            ...state.completionItemData ?? {},\n            _type: \"variant\"\n          },\n          command: item.insertTextFormat === 2 ? void 0 : {\n            title: \"\",\n            command: \"editor.action.triggerSuggest\"\n          },\n          sortText: \"-\" + naturalExpand(variantOrder++),\n          ...item\n        };\n      };\n      let { variants: existingVariants, offset } = getVariantsFromClassName(state, partialClassName);\n      if (context && (context.triggerKind === 1 || context.triggerKind === 2 && context.triggerCharacter === \"/\") && partialClassName.includes(\"/\")) {\n        let modifiers;\n        let beforeSlash = partialClassName.split(\"/\").slice(0, -1).join(\"/\");\n        let baseClassName = beforeSlash.slice(offset);\n        modifiers = state.classList.find((cls) => Array.isArray(cls) && cls[0] === baseClassName)?.[1]?.modifiers;\n        if (modifiers) {\n          return withDefaults(\n            {\n              isIncomplete: false,\n              items: modifiers.map((modifier, index2) => {\n                let className = `${beforeSlash}/${modifier}`;\n                let kind = CompletionItemKind.Constant;\n                let documentation;\n                const color2 = getColor(state, className);\n                if (color2 !== null) {\n                  kind = CompletionItemKind.Color;\n                  if (typeof color2 !== \"string\" && (color2.alpha ?? 1) !== 0) {\n                    documentation = formatColor(color2);\n                  }\n                }\n                return {\n                  label: className,\n                  ...documentation ? { documentation } : {},\n                  kind,\n                  sortText: naturalExpand(index2)\n                };\n              })\n            },\n            {\n              range: replacementRange,\n              data: state.completionItemData\n            },\n            state.editor.capabilities.itemDefaults\n          );\n        }\n      }\n      replacementRange.start.character += offset;\n      let important = partialClassName.substr(offset).endsWith(\"!\");\n      if (important) {\n        replacementRange.end.character -= 1;\n      }\n      let items = [];\n      let seenVariants = /* @__PURE__ */ new Set();\n      let variantOrder = 0;\n      for (let variant of state.variants) {\n        if (existingVariants.includes(variant.name)) {\n          continue;\n        }\n        if (seenVariants.has(variant.name)) {\n          continue;\n        }\n        seenVariants.add(variant.name);\n        if (variant.isArbitrary) {\n          items.push(\n            variantItem({\n              label: `${variant.name}${variant.hasDash ? \"-\" : \"\"}[]${sep2}`,\n              insertTextFormat: 2,\n              textEditText: `${variant.name}${variant.hasDash ? \"-\" : \"\"}[\\${1}]${sep2}\\${0}`\n              // command: {\n              //   title: '',\n              //   command: 'tailwindCSS.onInsertArbitraryVariantSnippet',\n              //   arguments: [variant.name, replacementRange],\n              // },\n            })\n          );\n        } else {\n          let shouldSortVariants = !gte(state.version, \"2.99.0\");\n          let resultingVariants = [...existingVariants, variant.name];\n          if (shouldSortVariants) {\n            let allVariants = state.variants.map(({ name }) => name);\n            resultingVariants = resultingVariants.sort(\n              (a2, b2) => allVariants.indexOf(b2) - allVariants.indexOf(a2)\n            );\n          }\n          let selectors = [];\n          try {\n            selectors = variant.selectors();\n          } catch (err) {\n            console.log(\"Error while trying to get selectors for variant\");\n            console.log({\n              variant,\n              err\n            });\n          }\n          if (selectors.length === 0) {\n            continue;\n          }\n          items.push(\n            variantItem({\n              label: `${variant.name}${sep2}`,\n              detail: selectors.map((selector) => addPixelEquivalentsToMediaQuery(selector, rootFontSize)).join(\", \"),\n              textEditText: resultingVariants[resultingVariants.length - 1] + sep2,\n              additionalTextEdits: shouldSortVariants && resultingVariants.length > 1 ? [\n                {\n                  newText: resultingVariants.slice(0, resultingVariants.length - 1).join(sep2) + sep2,\n                  range: {\n                    start: {\n                      ...classListRange.start,\n                      character: classListRange.end.character - partialClassName.length\n                    },\n                    end: {\n                      ...replacementRange.start,\n                      character: replacementRange.start.character\n                    }\n                  }\n                }\n              ] : []\n            })\n          );\n        }\n        for (let value2 of variant.values ?? []) {\n          if (existingVariants.includes(`${variant.name}-${value2}`)) {\n            continue;\n          }\n          if (seenVariants.has(`${variant.name}-${value2}`)) {\n            continue;\n          }\n          seenVariants.add(`${variant.name}-${value2}`);\n          let selectors = [];\n          try {\n            selectors = variant.selectors({ value: value2 });\n          } catch (err) {\n            console.log(\"Error while trying to get selectors for variant\");\n            console.log({\n              variant,\n              err\n            });\n          }\n          if (selectors.length === 0) {\n            continue;\n          }\n          items.push(\n            variantItem({\n              label: value2 === \"DEFAULT\" ? `${variant.name}${sep2}` : `${variant.name}${variant.hasDash ? \"-\" : \"\"}${value2}${sep2}`,\n              detail: selectors.join(\", \")\n            })\n          );\n        }\n      }\n      return withDefaults(\n        {\n          isIncomplete: false,\n          items: items.concat(\n            state.classList.reduce((items2, [className, { color: color2 }], index2) => {\n              if (state.blocklist?.includes([...existingVariants, className].join(state.separator))) {\n                return items2;\n              }\n              let kind = color2 ? CompletionItemKind.Color : CompletionItemKind.Constant;\n              let documentation;\n              if (color2 && typeof color2 !== \"string\") {\n                documentation = formatColor(color2);\n              }\n              items2.push({\n                label: className,\n                kind,\n                ...documentation ? { documentation } : {},\n                sortText: naturalExpand(index2, state.classList.length)\n              });\n              return items2;\n            }, [])\n          )\n        },\n        {\n          data: {\n            ...state.completionItemData ?? {},\n            ...important ? { important } : {},\n            variants: existingVariants\n          },\n          range: replacementRange\n        },\n        state.editor.capabilities.itemDefaults\n      );\n    }\n    if (state.jit) {\n      let { variants: existingVariants, offset } = getVariantsFromClassName(state, partialClassName);\n      if (context && (context.triggerKind === 1 || context.triggerKind === 2 && context.triggerCharacter === \"/\") && partialClassName.includes(\"/\")) {\n        let modifiers;\n        let beforeSlash = partialClassName.split(\"/\").slice(0, -1).join(\"/\");\n        if (state.classListContainsMetadata) {\n          let baseClassName = beforeSlash.slice(offset);\n          modifiers = state.classList.find(\n            (cls) => Array.isArray(cls) && cls[0] === baseClassName\n          )?.[1]?.modifiers;\n        } else {\n          let testClass = beforeSlash + \"/[0]\";\n          let { rules } = generateRules(state, [testClass]);\n          if (rules.length > 0) {\n            let opacities = (0, import_dlv.default)(state.config, \"theme.opacity\", {});\n            if (!isObject3(opacities)) {\n              opacities = {};\n            }\n            modifiers = Object.keys(opacities);\n          }\n        }\n        if (modifiers) {\n          return withDefaults(\n            {\n              isIncomplete: false,\n              items: modifiers.map((modifier, index2) => {\n                let className = `${beforeSlash}/${modifier}`;\n                let kind = CompletionItemKind.Constant;\n                let documentation;\n                const color2 = getColor(state, className);\n                if (color2 !== null) {\n                  kind = CompletionItemKind.Color;\n                  if (typeof color2 !== \"string\" && (color2.alpha ?? 1) !== 0) {\n                    documentation = formatColor(color2);\n                  }\n                }\n                return {\n                  label: className,\n                  ...documentation ? { documentation } : {},\n                  kind,\n                  sortText: naturalExpand(index2)\n                };\n              })\n            },\n            {\n              range: replacementRange,\n              data: state.completionItemData\n            },\n            state.editor.capabilities.itemDefaults\n          );\n        }\n      }\n      replacementRange.start.character += offset;\n      let important = partialClassName.substr(offset).startsWith(\"!\");\n      if (important) {\n        replacementRange.start.character += 1;\n      }\n      let items = [];\n      let seenVariants = /* @__PURE__ */ new Set();\n      if (!important) {\n        let variantItem = function(item) {\n          return {\n            kind: 9,\n            data: {\n              ...state.completionItemData ?? {},\n              _type: \"variant\"\n            },\n            command: item.insertTextFormat === 2 ? void 0 : {\n              title: \"\",\n              command: \"editor.action.triggerSuggest\"\n            },\n            sortText: \"-\" + naturalExpand(variantOrder++),\n            ...item\n          };\n        };\n        let variantOrder = 0;\n        for (let variant of state.variants) {\n          if (existingVariants.includes(variant.name)) {\n            continue;\n          }\n          if (seenVariants.has(variant.name)) {\n            continue;\n          }\n          seenVariants.add(variant.name);\n          if (variant.isArbitrary) {\n            items.push(\n              variantItem({\n                label: `${variant.name}${variant.hasDash ? \"-\" : \"\"}[]${sep2}`,\n                insertTextFormat: 2,\n                textEditText: `${variant.name}${variant.hasDash ? \"-\" : \"\"}[\\${1}]${sep2}\\${0}`\n                // command: {\n                //   title: '',\n                //   command: 'tailwindCSS.onInsertArbitraryVariantSnippet',\n                //   arguments: [variant.name, replacementRange],\n                // },\n              })\n            );\n          } else {\n            let shouldSortVariants = !gte(state.version, \"2.99.0\");\n            let resultingVariants = [...existingVariants, variant.name];\n            if (shouldSortVariants) {\n              let allVariants = state.variants.map(({ name }) => name);\n              resultingVariants = resultingVariants.sort(\n                (a2, b2) => allVariants.indexOf(b2) - allVariants.indexOf(a2)\n              );\n            }\n            items.push(\n              variantItem({\n                label: `${variant.name}${sep2}`,\n                detail: variant.selectors().map((selector) => addPixelEquivalentsToMediaQuery(selector, rootFontSize)).join(\", \"),\n                textEditText: resultingVariants[resultingVariants.length - 1] + sep2,\n                additionalTextEdits: shouldSortVariants && resultingVariants.length > 1 ? [\n                  {\n                    newText: resultingVariants.slice(0, resultingVariants.length - 1).join(sep2) + sep2,\n                    range: {\n                      start: {\n                        ...classListRange.start,\n                        character: classListRange.end.character - partialClassName.length\n                      },\n                      end: {\n                        ...replacementRange.start,\n                        character: replacementRange.start.character\n                      }\n                    }\n                  }\n                ] : []\n              })\n            );\n          }\n          for (let value2 of variant.values ?? []) {\n            if (existingVariants.includes(`${variant.name}-${value2}`)) {\n              continue;\n            }\n            if (seenVariants.has(`${variant.name}-${value2}`)) {\n              continue;\n            }\n            seenVariants.add(`${variant.name}-${value2}`);\n            items.push(\n              variantItem({\n                label: value2 === \"DEFAULT\" ? `${variant.name}${sep2}` : `${variant.name}${variant.hasDash ? \"-\" : \"\"}${value2}${sep2}`,\n                detail: variant.selectors({ value: value2 }).join(\", \")\n              })\n            );\n          }\n        }\n      }\n      if (state.classList) {\n        return withDefaults(\n          {\n            isIncomplete: false,\n            items: items.concat(\n              state.classList.reduce((items2, [className, { color: color2 }], index2) => {\n                if (state.blocklist?.includes([...existingVariants, className].join(state.separator))) {\n                  return items2;\n                }\n                let kind = color2 ? CompletionItemKind.Color : CompletionItemKind.Constant;\n                let documentation;\n                if (color2 && typeof color2 !== \"string\") {\n                  documentation = formatColor(color2);\n                }\n                items2.push({\n                  label: className,\n                  kind,\n                  ...documentation ? { documentation } : {},\n                  sortText: naturalExpand(index2, state.classList.length)\n                });\n                return items2;\n              }, [])\n            )\n          },\n          {\n            data: {\n              ...state.completionItemData ?? {},\n              ...important ? { important } : {},\n              variants: existingVariants\n            },\n            range: replacementRange\n          },\n          state.editor.capabilities.itemDefaults\n        );\n      }\n      return withDefaults(\n        {\n          isIncomplete: false,\n          items: items.concat(\n            Object.keys(state.classNames.classNames).filter((className) => {\n              let item = state.classNames.classNames[className];\n              if (existingVariants.length === 0) {\n                return item.__info;\n              }\n              return item.__info && isUtil(item);\n            }).map((className, index2, classNames2) => {\n              let kind = CompletionItemKind.Constant;\n              let documentation;\n              const color2 = getColor(state, className);\n              if (color2 !== null) {\n                kind = CompletionItemKind.Color;\n                if (typeof color2 !== \"string\" && (color2.alpha ?? 1) !== 0) {\n                  documentation = formatColor(color2);\n                }\n              }\n              return {\n                label: className,\n                kind,\n                ...documentation ? { documentation } : {},\n                sortText: naturalExpand(index2, classNames2.length)\n              };\n            })\n          ).filter((item) => {\n            if (item === null) {\n              return false;\n            }\n            if (filter && !filter(item)) {\n              return false;\n            }\n            return true;\n          })\n        },\n        {\n          range: replacementRange,\n          data: {\n            ...state.completionItemData ?? {},\n            variants: existingVariants,\n            ...important ? { important } : {}\n          }\n        },\n        state.editor.capabilities.itemDefaults\n      );\n    }\n    for (let i2 = parts.length - 1; i2 > 0; i2--) {\n      let keys = parts.slice(0, i2).filter(Boolean);\n      subset = (0, import_dlv.default)(state.classNames.classNames, keys);\n      if (typeof subset !== \"undefined\" && typeof (0, import_dlv.default)(subset, [\"__info\", \"__rule\"]) === \"undefined\") {\n        isSubset = true;\n        subsetKey = keys;\n        replacementRange = {\n          ...replacementRange,\n          start: {\n            ...replacementRange.start,\n            character: replacementRange.start.character + keys.join(sep2).length + sep2.length\n          }\n        };\n        break;\n      }\n    }\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: Object.keys(isSubset ? subset : state.classNames.classNames).filter((k5) => k5 !== \"__info\").filter((className) => isContextItem(state, [...subsetKey, className])).map((className, index2, classNames2) => {\n          return {\n            label: className + sep2,\n            kind: 9,\n            command: {\n              title: \"\",\n              command: \"editor.action.triggerSuggest\"\n            },\n            sortText: \"-\" + naturalExpand(index2, classNames2.length),\n            data: {\n              ...state.completionItemData ?? {},\n              className,\n              variants: subsetKey\n            }\n          };\n        }).concat(\n          Object.keys(isSubset ? subset : state.classNames.classNames).filter(\n            (className) => (0, import_dlv.default)(state.classNames.classNames, [...subsetKey, className, \"__info\"])\n          ).map((className, index2, classNames2) => {\n            let kind = CompletionItemKind.Constant;\n            let documentation;\n            const color2 = getColor(state, className);\n            if (color2 !== null) {\n              kind = CompletionItemKind.Color;\n              if (typeof color2 !== \"string\" && (color2.alpha ?? 1) !== 0) {\n                documentation = formatColor(color2);\n              }\n            }\n            return {\n              label: className,\n              kind,\n              ...documentation ? { documentation } : {},\n              sortText: naturalExpand(index2, classNames2.length)\n            };\n          })\n        ).filter((item) => {\n          if (item === null) {\n            return false;\n          }\n          if (filter && !filter(item)) {\n            return false;\n          }\n          return true;\n        })\n      },\n      {\n        range: replacementRange,\n        data: {\n          ...state.completionItemData ?? {},\n          variants: subsetKey\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  async function provideClassAttributeCompletions(state, document3, position2, context) {\n    let str = document3.getText({\n      start: document3.positionAt(Math.max(0, document3.offsetAt(position2) - 2e3)),\n      end: position2\n    });\n    let settings = (await state.editor.getConfiguration(document3.uri)).tailwindCSS;\n    let matches = matchClassAttributes(str, settings.classAttributes);\n    if (matches.length === 0) {\n      return null;\n    }\n    let match = matches[matches.length - 1];\n    const lexer = match[0][0] === \":\" || match[1].startsWith(\"[\") && match[1].endsWith(\"]\") ? getComputedClassAttributeLexer() : getClassAttributeLexer();\n    lexer.reset(str.substr(match.index + match[0].length - 1));\n    try {\n      let tokens = Array.from(lexer);\n      let last = tokens[tokens.length - 1];\n      if (last.type.startsWith(\"start\") || last.type === \"classlist\" || last.type.startsWith(\"arb\")) {\n        let classList = \"\";\n        for (let i2 = tokens.length - 1; i2 >= 0; i2--) {\n          if (tokens[i2].type === \"classlist\" || tokens[i2].type.startsWith(\"arb\")) {\n            classList = tokens[i2].value + classList;\n          } else {\n            break;\n          }\n        }\n        return completionsFromClassList(\n          state,\n          classList,\n          {\n            start: {\n              line: position2.line,\n              character: position2.character - classList.length\n            },\n            end: position2\n          },\n          settings.rootFontSize,\n          void 0,\n          context\n        );\n      }\n    } catch (_2) {\n    }\n    return null;\n  }\n  async function provideCustomClassNameCompletions(state, document3, position2, context) {\n    const settings = await state.editor.getConfiguration(document3.uri);\n    const filters = settings.tailwindCSS.experimental.classRegex;\n    if (filters.length === 0)\n      return null;\n    const cursor = document3.offsetAt(position2);\n    let text2 = document3.getText({\n      start: document3.positionAt(0),\n      end: document3.positionAt(cursor + 2e3)\n    });\n    for (let match of customClassesIn({ text: text2, cursor, filters })) {\n      return completionsFromClassList(\n        state,\n        match.classList,\n        {\n          start: {\n            line: position2.line,\n            character: position2.character - match.classList.length\n          },\n          end: position2\n        },\n        settings.tailwindCSS.rootFontSize,\n        void 0,\n        context\n      );\n    }\n    return null;\n  }\n  function provideThemeVariableCompletions(state, document3, position2, _context) {\n    if (!isCssContext(state, document3, position2))\n      return null;\n    let text2 = getTextWithoutComments(document3, \"css\", {\n      start: { line: 0, character: 0 },\n      end: position2\n    });\n    if (!text2.endsWith(\"-\"))\n      return null;\n    let themeBlock = text2.lastIndexOf(\"@theme\");\n    if (themeBlock === -1)\n      return null;\n    if (braceLevel(text2.slice(themeBlock)) !== 1)\n      return null;\n    function themeVar(label) {\n      return {\n        label,\n        kind: CompletionItemKind.Variable\n        // insertTextFormat: InsertTextFormat.Snippet,\n        // textEditText: `${label}-[\\${1}]`,\n      };\n    }\n    function themeNamespace(label) {\n      return {\n        label: `${label}-`,\n        kind: CompletionItemKind.Variable\n        // insertTextFormat: InsertTextFormat.Snippet,\n        // textEditText: `${label}-[\\${1}]`,\n      };\n    }\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: [\n          themeVar(\"--default-transition-duration\"),\n          themeVar(\"--default-transition-timing-function\"),\n          themeVar(\"--default-font-family\"),\n          themeVar(\"--default-font-feature-settings\"),\n          themeVar(\"--default-font-variation-settings\"),\n          themeVar(\"--default-mono-font-family\"),\n          themeVar(\"--default-mono-font-feature-settings\"),\n          themeVar(\"--default-mono-font-variation-settings\"),\n          themeNamespace(\"--breakpoint\"),\n          themeNamespace(\"--color\"),\n          themeNamespace(\"--animate\"),\n          themeNamespace(\"--blur\"),\n          themeNamespace(\"--radius\"),\n          themeNamespace(\"--shadow\"),\n          themeNamespace(\"--inset-shadow\"),\n          themeNamespace(\"--drop-shadow\"),\n          themeNamespace(\"--spacing\"),\n          themeNamespace(\"--width\"),\n          themeNamespace(\"--font-family\"),\n          themeNamespace(\"--font-size\"),\n          themeNamespace(\"--letter-spacing\"),\n          themeNamespace(\"--line-height\"),\n          themeNamespace(\"--transition-timing-function\")\n        ]\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {}\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  async function provideAtApplyCompletions(state, document3, position2, context) {\n    let settings = (await state.editor.getConfiguration(document3.uri)).tailwindCSS;\n    let str = document3.getText({\n      start: { line: Math.max(position2.line - 30, 0), character: 0 },\n      end: position2\n    });\n    const match = findLast(/@apply\\s+(?<classList>[^;}]*)$/gi, str);\n    if (match === null) {\n      return null;\n    }\n    const classList = match.groups.classList;\n    return completionsFromClassList(\n      state,\n      classList,\n      {\n        start: {\n          line: position2.line,\n          character: position2.character - classList.length\n        },\n        end: position2\n      },\n      settings.rootFontSize,\n      (item) => {\n        if (item.kind === 9) {\n          return gte(state.version, \"2.0.0-alpha.1\") || flagEnabled(state, \"applyComplexClasses\");\n        }\n        let variants = item.data?.variants ?? [];\n        let className = item.data?.className ?? item.label;\n        let validated = validateApply(state, [...variants, className]);\n        return validated !== null && validated.isApplyable === true;\n      },\n      context\n    );\n  }\n  var NUMBER_REGEX = /^(\\d+\\.?|\\d*\\.\\d+)$/;\n  function isNumber2(str) {\n    return NUMBER_REGEX.test(str);\n  }\n  async function provideClassNameCompletions(state, document3, position2, context) {\n    if (isCssContext(state, document3, position2)) {\n      return provideAtApplyCompletions(state, document3, position2, context);\n    }\n    if (isHtmlContext(state, document3, position2) || isJsxContext(state, document3, position2)) {\n      return provideClassAttributeCompletions(state, document3, position2, context);\n    }\n    return null;\n  }\n  function provideCssHelperCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    let text2 = document3.getText({\n      start: { line: position2.line, character: 0 },\n      // read one extra character so we can see if it's a ] later\n      end: { line: position2.line, character: position2.character + 1 }\n    });\n    const match = text2.substr(0, text2.length - 1).match(/[\\s:;/*(){}](?<helper>config|theme)\\(\\s*['\"]?(?<path>[^)'\"]*)$/);\n    if (match === null) {\n      return null;\n    }\n    let alpha;\n    let path = match.groups.path.replace(/^['\"]+/g, \"\");\n    let matches = path.match(/^([^\\s]+)(?![^\\[]*\\])(?:\\s*\\/\\s*([^\\/\\s]*))$/);\n    if (matches) {\n      path = matches[1];\n      alpha = matches[2];\n    }\n    if (alpha !== void 0) {\n      return null;\n    }\n    let base = match.groups.helper === \"config\" ? state.config : (0, import_dlv.default)(state.config, \"theme\", {});\n    let parts = path.split(/([\\[\\].]+)/);\n    let keys = parts.filter((_2, i2) => i2 % 2 === 0);\n    let separators = parts.filter((_2, i2) => i2 % 2 !== 0);\n    function totalLength(arr) {\n      return arr.reduce((acc, cur) => acc + cur.length, 0);\n    }\n    let obj;\n    let offset = keys[keys.length - 1].length;\n    let separator = separators.length ? separators[separators.length - 1] : null;\n    if (keys.length === 1) {\n      obj = base;\n    } else {\n      for (let i2 = keys.length - 1; i2 > 0; i2--) {\n        let o2 = (0, import_dlv.default)(base, keys.slice(0, i2));\n        if (isObject3(o2)) {\n          obj = o2;\n          offset = totalLength(parts.slice(i2 * 2));\n          separator = separators[i2 - 1];\n          break;\n        }\n      }\n    }\n    if (!obj)\n      return null;\n    let editRange = {\n      start: {\n        line: position2.line,\n        character: position2.character - offset\n      },\n      end: position2\n    };\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: Object.keys(obj).sort((a2, z2) => {\n          let aIsNumber = isNumber2(a2);\n          let zIsNumber = isNumber2(z2);\n          if (aIsNumber && !zIsNumber) {\n            return -1;\n          }\n          if (!aIsNumber && zIsNumber) {\n            return 1;\n          }\n          if (aIsNumber && zIsNumber) {\n            return parseFloat(a2) - parseFloat(z2);\n          }\n          return 0;\n        }).map((item, index2, items) => {\n          let color2 = getColorFromValue(obj[item]);\n          const replaceDot = item.indexOf(\".\") !== -1 && separator && separator.endsWith(\".\");\n          const insertClosingBrace = text2.charAt(text2.length - 1) !== \"]\" && (replaceDot || separator && separator.endsWith(\"[\"));\n          const detail = stringifyConfigValue(obj[item]);\n          return {\n            label: item,\n            sortText: naturalExpand(index2, items.length),\n            commitCharacters: [!item.includes(\".\") && \".\", !item.includes(\"[\") && \"[\"].filter(\n              Boolean\n            ),\n            kind: color2 ? 16 : isObject3(obj[item]) ? 9 : 10,\n            // VS Code bug causes some values to not display in some cases\n            detail: detail === \"0\" || detail === \"transparent\" ? `${detail} ` : detail,\n            ...color2 && typeof color2 !== \"string\" && (color2.alpha ?? 1) !== 0 ? { documentation: formatColor(color2) } : {},\n            ...insertClosingBrace ? { textEditText: `${item}]` } : {},\n            additionalTextEdits: replaceDot ? [\n              {\n                newText: \"[\",\n                range: {\n                  start: {\n                    ...editRange.start,\n                    character: editRange.start.character - 1\n                  },\n                  end: editRange.start\n                }\n              }\n            ] : []\n          };\n        })\n      },\n      {\n        range: editRange,\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"helper\"\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  function provideTailwindDirectiveCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    let text2 = document3.getText({\n      start: { line: position2.line, character: 0 },\n      end: position2\n    });\n    const match = text2.match(/^\\s*@tailwind\\s+(?<partial>[^\\s]*)$/i);\n    if (match === null)\n      return null;\n    let items = [\n      gte(state.version, \"1.0.0-beta.1\") ? {\n        label: \"base\",\n        documentation: {\n          kind: \"markdown\",\n          value: `This injects Tailwind\\u2019s base styles and any base styles registered by plugins.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#tailwind\"\n          )})`\n        }\n      } : {\n        label: \"preflight\",\n        documentation: {\n          kind: \"markdown\",\n          value: `This injects Tailwind\\u2019s base styles, which is a combination of Normalize.css and some additional base styles.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#tailwind\"\n          )})`\n        }\n      },\n      {\n        label: \"components\",\n        documentation: {\n          kind: \"markdown\",\n          value: `This injects Tailwind\\u2019s component classes and any component classes registered by plugins.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#tailwind\"\n          )})`\n        }\n      },\n      {\n        label: \"utilities\",\n        documentation: {\n          kind: \"markdown\",\n          value: `This injects Tailwind\\u2019s utility classes and any utility classes registered by plugins.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#tailwind\"\n          )})`\n        }\n      },\n      state.jit && gte(state.version, \"2.1.99\") ? {\n        label: \"variants\",\n        documentation: {\n          kind: \"markdown\",\n          value: `Use this directive to control where Tailwind injects the utility variants.\n\nThis directive is considered an advanced escape hatch and it is recommended to omit it whenever possible. If omitted, Tailwind will append these classes to the very end of your stylesheet by default.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"just-in-time-mode#variants-are-inserted-at-tailwind-variants\"\n          )})`\n        }\n      } : {\n        label: \"screens\",\n        documentation: {\n          kind: \"markdown\",\n          value: `Use this directive to control where Tailwind injects the responsive variations of each utility.\n\nIf omitted, Tailwind will append these classes to the very end of your stylesheet by default.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#tailwind\"\n          )})`\n        }\n      }\n    ];\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: items.map((item) => ({\n          ...item,\n          kind: 21\n        }))\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"@tailwind\"\n        },\n        range: {\n          start: {\n            line: position2.line,\n            character: position2.character - match.groups.partial.length\n          },\n          end: position2\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  function provideVariantsDirectiveCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    if (gte(state.version, \"2.99.0\")) {\n      return null;\n    }\n    let text2 = document3.getText({\n      start: { line: position2.line, character: 0 },\n      end: position2\n    });\n    const match = text2.match(/^\\s*@variants\\s+(?<partial>[^}]*)$/i);\n    if (match === null)\n      return null;\n    const parts = match.groups.partial.split(/\\s*,\\s*/);\n    if (/\\s+/.test(parts[parts.length - 1]))\n      return null;\n    let possibleVariants = state.variants.flatMap((variant) => {\n      if (variant.values.length) {\n        return variant.values.map(\n          (value2) => value2 === \"DEFAULT\" ? variant.name : `${variant.name}${variant.hasDash ? \"-\" : \"\"}${value2}`\n        );\n      }\n      return [variant.name];\n    });\n    const existingVariants = parts.slice(0, parts.length - 1);\n    if (state.jit) {\n      possibleVariants.unshift(\"responsive\");\n      possibleVariants = possibleVariants.filter((v2) => !state.screens.includes(v2));\n    }\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: possibleVariants.filter((v2) => existingVariants.indexOf(v2) === -1).map((variant, index2, variants) => ({\n          // TODO: detail\n          label: variant,\n          kind: 21,\n          sortText: naturalExpand(index2, variants.length)\n        }))\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"variant\"\n        },\n        range: {\n          start: {\n            line: position2.line,\n            character: position2.character - parts[parts.length - 1].length\n          },\n          end: position2\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  function provideLayerDirectiveCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    let text2 = document3.getText({\n      start: { line: position2.line, character: 0 },\n      end: position2\n    });\n    const match = text2.match(/^\\s*@layer\\s+(?<partial>[^\\s]*)$/i);\n    if (match === null)\n      return null;\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: [\"base\", \"components\", \"utilities\"].map((layer, index2, layers) => ({\n          label: layer,\n          kind: 21,\n          sortText: naturalExpand(index2, layers.length)\n        }))\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"layer\"\n        },\n        range: {\n          start: {\n            line: position2.line,\n            character: position2.character - match.groups.partial.length\n          },\n          end: position2\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  function withDefaults(completionList, defaults3, supportedDefaults) {\n    let defaultData = supportedDefaults.includes(\"data\");\n    let defaultRange = supportedDefaults.includes(\"editRange\");\n    return {\n      ...completionList,\n      ...defaultData || defaultRange ? {\n        itemDefaults: {\n          ...defaultData && defaults3.data ? { data: defaults3.data } : {},\n          ...defaultRange && defaults3.range ? { editRange: defaults3.range } : {}\n        }\n      } : {},\n      items: defaultData && defaultRange ? completionList.items : completionList.items.map(({ textEditText, ...item }) => ({\n        ...item,\n        ...defaultData || !defaults3.data || item.data ? {} : { data: defaults3.data },\n        ...defaultRange || !defaults3.range ? textEditText ? { textEditText } : {} : {\n          textEdit: {\n            newText: textEditText ?? item.label,\n            range: defaults3.range\n          }\n        }\n      }))\n    };\n  }\n  function provideScreenDirectiveCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    let text2 = document3.getText({\n      start: { line: position2.line, character: 0 },\n      end: position2\n    });\n    const match = text2.match(/^\\s*@screen\\s+(?<partial>[^\\s]*)$/i);\n    if (match === null)\n      return null;\n    const screens = (0, import_dlv.default)(state.config, [\"screens\"], (0, import_dlv.default)(state.config, [\"theme\", \"screens\"], {}));\n    if (!isObject3(screens))\n      return null;\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: Object.keys(screens).map((screen, index2) => ({\n          label: screen,\n          kind: 21,\n          sortText: naturalExpand(index2)\n        }))\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"screen\"\n        },\n        range: {\n          start: {\n            line: position2.line,\n            character: position2.character - match.groups.partial.length\n          },\n          end: position2\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  function provideCssDirectiveCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    let text2 = document3.getText({\n      start: { line: position2.line, character: 0 },\n      end: position2\n    });\n    const match = text2.match(/^\\s*@(?<partial>[a-z]*)$/i);\n    if (match === null)\n      return null;\n    const items = [\n      {\n        label: \"@tailwind\",\n        documentation: {\n          kind: \"markdown\",\n          value: `Use the \\`@tailwind\\` directive to insert Tailwind\\u2019s \\`base\\`, \\`components\\`, \\`utilities\\` and \\`${state.jit && gte(state.version, \"2.1.99\") ? \"variants\" : \"screens\"}\\` styles into your CSS.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#tailwind\"\n          )})`\n        }\n      },\n      {\n        label: \"@screen\",\n        documentation: {\n          kind: \"markdown\",\n          value: `The \\`@screen\\` directive allows you to create media queries that reference your breakpoints by name instead of duplicating their values in your own CSS.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#screen\"\n          )})`\n        }\n      },\n      {\n        label: \"@apply\",\n        documentation: {\n          kind: \"markdown\",\n          value: `Use \\`@apply\\` to inline any existing utility classes into your own custom CSS.\n\n[Tailwind CSS Documentation](${docsUrl(\n            state.version,\n            \"functions-and-directives/#apply\"\n          )})`\n        }\n      },\n      ...gte(state.version, \"1.8.0\") ? [\n        {\n          label: \"@layer\",\n          documentation: {\n            kind: \"markdown\",\n            value: `Use the \\`@layer\\` directive to tell Tailwind which \"bucket\" a set of custom styles belong to. Valid layers are \\`base\\`, \\`components\\`, and \\`utilities\\`.\n\n[Tailwind CSS Documentation](${docsUrl(\n              state.version,\n              \"functions-and-directives/#layer\"\n            )})`\n          }\n        }\n      ] : [],\n      ...gte(state.version, \"2.99.0\") ? [] : [\n        {\n          label: \"@variants\",\n          documentation: {\n            kind: \"markdown\",\n            value: `You can generate \\`responsive\\`, \\`hover\\`, \\`focus\\`, \\`active\\`, and other variants of your own utilities by wrapping their definitions in the \\`@variants\\` directive.\n\n[Tailwind CSS Documentation](${docsUrl(\n              state.version,\n              \"functions-and-directives/#variants\"\n            )})`\n          }\n        },\n        {\n          label: \"@responsive\",\n          documentation: {\n            kind: \"markdown\",\n            value: `You can generate responsive variants of your own classes by wrapping their definitions in the \\`@responsive\\` directive.\n\n[Tailwind CSS Documentation](${docsUrl(\n              state.version,\n              \"functions-and-directives/#responsive\"\n            )})`\n          }\n        }\n      ],\n      ...gte(state.version, \"3.2.0\") ? [\n        {\n          label: \"@config\",\n          documentation: {\n            kind: \"markdown\",\n            value: `Use the \\`@config\\` directive to specify which config file Tailwind should use when compiling that CSS file.\n\n[Tailwind CSS Documentation](${docsUrl(\n              state.version,\n              \"functions-and-directives/#config\"\n            )})`\n          }\n        }\n      ] : [],\n      ...gte(state.version, \"4.0.0\") ? [\n        {\n          label: \"@theme\",\n          documentation: {\n            kind: \"markdown\",\n            value: `Use the \\`@theme\\` directive to specify which config file Tailwind should use when compiling that CSS file.\n\n[Tailwind CSS Documentation](${docsUrl(\n              state.version,\n              \"functions-and-directives/#config\"\n            )})`\n          }\n        }\n      ] : []\n    ];\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: items.map((item) => ({\n          ...item,\n          kind: 14\n        }))\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"directive\"\n        },\n        range: {\n          start: {\n            line: position2.line,\n            character: position2.character - match.groups.partial.length - 1\n          },\n          end: position2\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  async function provideConfigDirectiveCompletions(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    if (!gte(state.version, \"3.2.0\")) {\n      return null;\n    }\n    let text2 = document3.getText({ start: { line: position2.line, character: 0 }, end: position2 });\n    let match = text2.match(/@config\\s*(?<partial>'[^']*|\"[^\"]*)$/);\n    if (!match) {\n      return null;\n    }\n    let partial = match.groups.partial.slice(1);\n    let valueBeforeLastSlash = partial.substring(0, partial.lastIndexOf(\"/\"));\n    let valueAfterLastSlash = partial.substring(partial.lastIndexOf(\"/\") + 1);\n    return withDefaults(\n      {\n        isIncomplete: false,\n        items: (await state.editor.readDirectory(document3, valueBeforeLastSlash || \".\")).filter(([name, type]) => type.isDirectory || /\\.c?js$/.test(name)).map(([name, type]) => ({\n          label: type.isDirectory ? name + \"/\" : name,\n          kind: type.isDirectory ? 19 : 17,\n          command: type.isDirectory ? { command: \"editor.action.triggerSuggest\", title: \"\" } : void 0\n        }))\n      },\n      {\n        data: {\n          ...state.completionItemData ?? {},\n          _type: \"filesystem\"\n        },\n        range: {\n          start: {\n            line: position2.line,\n            character: position2.character - valueAfterLastSlash.length\n          },\n          end: position2\n        }\n      },\n      state.editor.capabilities.itemDefaults\n    );\n  }\n  async function provideEmmetCompletions(state, document3, position2) {\n    let settings = await state.editor.getConfiguration(document3.uri);\n    if (settings.tailwindCSS.emmetCompletions !== true)\n      return null;\n    const isHtml = !isJsDoc(state, document3) && isHtmlContext(state, document3, position2);\n    const isJs = isJsDoc(state, document3) || isJsxContext(state, document3, position2);\n    const syntax = isHtml ? \"html\" : isJs ? \"jsx\" : null;\n    if (syntax === null) {\n      return null;\n    }\n    const extractAbbreviationResults = extractAbbreviation(document3, position2, true);\n    if (!extractAbbreviationResults || !isAbbreviationValid(syntax, extractAbbreviationResults.abbreviation)) {\n      return null;\n    }\n    if (!isValidLocationForEmmetAbbreviation(document3, extractAbbreviationResults.abbreviationRange)) {\n      return null;\n    }\n    if (isJs) {\n      const abbreviation = extractAbbreviationResults.abbreviation;\n      if (abbreviation.startsWith(\"this.\")) {\n        return null;\n      }\n      const symbols = await state.editor.getDocumentSymbols(document3.uri);\n      if (symbols && symbols.find(\n        (symbol) => abbreviation === symbol.name || abbreviation.startsWith(symbol.name + \".\") && !/>|\\*|\\+/.test(abbreviation)\n      )) {\n        return null;\n      }\n    }\n    const emmetItems = doComplete(document3, position2, syntax, {});\n    if (!emmetItems || !emmetItems.items || emmetItems.items.length !== 1) {\n      return null;\n    }\n    if (emmetItems.items[0].label === \"widows: ;\") {\n      return null;\n    }\n    const parts = emmetItems.items[0].label.split(\".\");\n    if (parts.length < 2)\n      return null;\n    return completionsFromClassList(\n      state,\n      parts[parts.length - 1],\n      {\n        start: {\n          line: position2.line,\n          character: position2.character - parts[parts.length - 1].length\n        },\n        end: position2\n      },\n      settings.tailwindCSS.rootFontSize\n    );\n  }\n  async function doComplete2(state, document3, position2, context) {\n    if (state === null)\n      return { items: [], isIncomplete: false };\n    const result = await provideClassNameCompletions(state, document3, position2, context) || provideCssHelperCompletions(state, document3, position2) || provideCssDirectiveCompletions(state, document3, position2) || provideScreenDirectiveCompletions(state, document3, position2) || provideVariantsDirectiveCompletions(state, document3, position2) || provideTailwindDirectiveCompletions(state, document3, position2) || provideLayerDirectiveCompletions(state, document3, position2) || await provideConfigDirectiveCompletions(state, document3, position2) || await provideCustomClassNameCompletions(state, document3, position2, context) || provideThemeVariableCompletions(state, document3, position2, context);\n    if (result)\n      return result;\n    return provideEmmetCompletions(state, document3, position2);\n  }\n  async function resolveCompletionItem(state, item) {\n    if ([\"helper\", \"directive\", \"variant\", \"layer\", \"@tailwind\", \"filesystem\"].includes(\n      item.data?._type\n    )) {\n      return item;\n    }\n    if (item.data?._type === \"screen\") {\n      let screens = (0, import_dlv.default)(state.config, [\"theme\", \"screens\"], (0, import_dlv.default)(state.config, [\"screens\"], {}));\n      if (!isObject3(screens))\n        screens = {};\n      item.detail = stringifyScreen(screens[item.label]);\n      return item;\n    }\n    let className = item.data?.className ?? item.label;\n    if (item.data?.important) {\n      className = `!${className}`;\n    }\n    let variants = item.data?.variants ?? [];\n    if (state.v4) {\n      if (item.kind === 9)\n        return item;\n      if (item.detail && item.documentation)\n        return item;\n      let root2 = state.designSystem.compile([[...variants, className].join(state.separator)])[0];\n      let rules2 = root2.nodes.filter((node) => node.type === \"rule\");\n      if (rules2.length === 0)\n        return item;\n      if (!item.detail) {\n        if (rules2.length === 1) {\n          let decls = [];\n          root2.walkDecls((node) => {\n            decls.push(node);\n          });\n          item.detail = await stringifyDecls(\n            state,\n            rule({\n              nodes: decls\n            })\n          );\n        } else {\n          item.detail = `${rules2.length} rules`;\n        }\n      }\n      if (!item.documentation) {\n        item.documentation = {\n          kind: \"markdown\",\n          value: [\n            \"```css\",\n            await stringifyRoot(state, root({ nodes: rules2 })),\n            \"```\"\n          ].join(\"\\n\")\n        };\n      }\n      return item;\n    }\n    if (state.jit) {\n      if (item.kind === 9)\n        return item;\n      if (item.detail && item.documentation)\n        return item;\n      let { root: root2, rules: rules2 } = generateRules(state, [[...variants, className].join(state.separator)]);\n      if (rules2.length === 0)\n        return item;\n      if (!item.detail) {\n        if (rules2.length === 1) {\n          item.detail = await stringifyDecls(state, rules2[0]);\n        } else {\n          item.detail = `${rules2.length} rules`;\n        }\n      }\n      if (!item.documentation) {\n        item.documentation = {\n          kind: \"markdown\",\n          value: [\"```css\", await stringifyRoot(state, root2), \"```\"].join(\"\\n\")\n        };\n      }\n      return item;\n    }\n    const rules = (0, import_dlv.default)(state.classNames.classNames, [...variants, className, \"__info\"]);\n    if (item.kind === 9) {\n      item.detail = state.classNames.context[className].join(\", \");\n    } else {\n      item.detail = await getCssDetail(state, rules);\n      if (!item.documentation) {\n        const settings = await state.editor.getConfiguration();\n        const css = stringifyCss([...variants, className].join(\":\"), rules, settings);\n        if (css) {\n          item.documentation = {\n            kind: \"markdown\",\n            value: [\"```css\", css, \"```\"].join(\"\\n\")\n          };\n        }\n      }\n    }\n    return item;\n  }\n  function isContextItem(state, keys) {\n    const item = (0, import_dlv.default)(state.classNames.classNames, keys);\n    if (!isObject3(item)) {\n      return false;\n    }\n    if (!state.classNames.context[keys[keys.length - 1]]) {\n      return false;\n    }\n    if (Object.keys(item).filter((x2) => x2 !== \"__info\").length > 0) {\n      return true;\n    }\n    return isObject3(item.__info) && !item.__info.__rule;\n  }\n  function stringifyDecls2(obj, settings) {\n    let props = Object.keys(obj);\n    let nonCustomProps = props.filter((prop) => !prop.startsWith(\"--\"));\n    if (props.length !== nonCustomProps.length && nonCustomProps.length !== 0) {\n      props = nonCustomProps;\n    }\n    return props.map(\n      (prop) => ensureArray(obj[prop]).map((value2) => {\n        if (settings.tailwindCSS.showPixelEquivalents) {\n          value2 = addPixelEquivalentsToValue(value2, settings.tailwindCSS.rootFontSize);\n        }\n        return `${prop}: ${value2};`;\n      }).join(\" \")\n    ).join(\" \");\n  }\n  async function getCssDetail(state, className) {\n    if (Array.isArray(className)) {\n      return `${className.length} rules`;\n    }\n    if (className.__rule === true) {\n      const settings = await state.editor.getConfiguration();\n      return stringifyDecls2(removeMeta(className), settings);\n    }\n    return null;\n  }\n  function isCssConflictDiagnostic(diagnostic) {\n    return diagnostic.code === \"cssConflict\";\n  }\n  function isInvalidApplyDiagnostic(diagnostic) {\n    return diagnostic.code === \"invalidApply\";\n  }\n  function isInvalidScreenDiagnostic(diagnostic) {\n    return diagnostic.code === \"invalidScreen\";\n  }\n  function isInvalidVariantDiagnostic(diagnostic) {\n    return diagnostic.code === \"invalidVariant\";\n  }\n  function isInvalidConfigPathDiagnostic(diagnostic) {\n    return diagnostic.code === \"invalidConfigPath\";\n  }\n  function isInvalidTailwindDirectiveDiagnostic(diagnostic) {\n    return diagnostic.code === \"invalidTailwindDirective\";\n  }\n  function isRecommendedVariantOrderDiagnostic(diagnostic) {\n    return diagnostic.code === \"recommendedVariantOrder\";\n  }\n  function joinWithAnd(strings) {\n    return strings.reduce((acc, cur, i2) => {\n      if (i2 === 0) {\n        return cur;\n      }\n      if (strings.length > 1 && i2 === strings.length - 1) {\n        return `${acc} and ${cur}`;\n      }\n      return `${acc}, ${cur}`;\n    }, \"\");\n  }\n  function getClassNameDecls(state, className) {\n    const parts = getClassNameParts(state, className);\n    if (!parts)\n      return null;\n    const info = (0, import_dlv7.default)(state.classNames.classNames, [...parts, \"__info\"]);\n    if (Array.isArray(info)) {\n      return info.map(removeMeta);\n    }\n    return removeMeta(info);\n  }\n  function isAtRule2(node) {\n    return node.type === \"atrule\";\n  }\n  function isKeyframes(rule2) {\n    let parent = rule2.parent;\n    if (!parent) {\n      return false;\n    }\n    if (isAtRule2(parent) && parent.name === \"keyframes\") {\n      return true;\n    }\n    return false;\n  }\n  function getRuleProperties(rule2) {\n    let properties = [];\n    rule2.walkDecls(({ prop }) => {\n      properties.push(prop);\n    });\n    return properties;\n  }\n  async function getCssConflictDiagnostics(state, document3, settings) {\n    let severity = settings.tailwindCSS.lint.cssConflict;\n    if (severity === \"ignore\")\n      return [];\n    let diagnostics = [];\n    const classLists = await findClassListsInDocument(state, document3);\n    classLists.forEach((classList) => {\n      const classNames = getClassNamesInClassList(classList, state.blocklist);\n      if (state.v4) {\n        const groups = recordClassDetails(state, classNames);\n        for (let [className, conflictingClassNames] of findConflicts(classNames, groups)) {\n          diagnostics.push({\n            code: \"cssConflict\",\n            className,\n            otherClassNames: conflictingClassNames,\n            range: className.range,\n            severity: severity === \"error\" ? 1 : 2,\n            message: `'${className.className}' applies the same CSS properties as ${joinWithAnd(\n              conflictingClassNames.map(\n                (conflictingClassName) => `'${conflictingClassName.className}'`\n              )\n            )}.`,\n            relatedInformation: conflictingClassNames.map((conflictingClassName) => {\n              return {\n                message: conflictingClassName.className,\n                location: {\n                  uri: document3.uri,\n                  range: conflictingClassName.range\n                }\n              };\n            })\n          });\n        }\n        return;\n      }\n      classNames.forEach((className, index2) => {\n        if (state.jit) {\n          let { rules } = generateRules(\n            state,\n            [className.className],\n            (rule2) => !isKeyframes(rule2)\n          );\n          if (rules.length === 0) {\n            return;\n          }\n          let info = rules.map((rule2) => {\n            let properties2 = getRuleProperties(rule2);\n            let context = getRuleContext(state, rule2, className.className);\n            return { context, properties: properties2 };\n          });\n          let otherClassNames2 = classNames.filter((_className, i2) => i2 !== index2);\n          let conflictingClassNames2 = otherClassNames2.filter((otherClassName) => {\n            let { rules: otherRules } = generateRules(\n              state,\n              [otherClassName.className],\n              (rule2) => !isKeyframes(rule2)\n            );\n            if (otherRules.length !== rules.length) {\n              return false;\n            }\n            let propertiesAreComparable = false;\n            for (let i2 = 0; i2 < otherRules.length; i2++) {\n              let otherRule = otherRules[i2];\n              let properties2 = getRuleProperties(otherRule);\n              if (info[i2].properties.length > 0 && properties2.length > 0) {\n                propertiesAreComparable = true;\n              }\n              if (!equal(info[i2].properties, properties2)) {\n                return false;\n              }\n              let context = getRuleContext(state, otherRule, otherClassName.className);\n              if (!equal(info[i2].context, context)) {\n                return false;\n              }\n            }\n            if (!propertiesAreComparable) {\n              return false;\n            }\n            return true;\n          });\n          if (conflictingClassNames2.length === 0)\n            return;\n          diagnostics.push({\n            code: \"cssConflict\",\n            className,\n            otherClassNames: conflictingClassNames2,\n            range: className.range,\n            severity: severity === \"error\" ? 1 : 2,\n            message: `'${className.className}' applies the same CSS properties as ${joinWithAnd(\n              conflictingClassNames2.map(\n                (conflictingClassName) => `'${conflictingClassName.className}'`\n              )\n            )}.`,\n            relatedInformation: conflictingClassNames2.map((conflictingClassName) => {\n              return {\n                message: conflictingClassName.className,\n                location: {\n                  uri: document3.uri,\n                  range: conflictingClassName.range\n                }\n              };\n            })\n          });\n          return;\n        }\n        let decls = getClassNameDecls(state, className.className);\n        if (!decls)\n          return;\n        let properties = Object.keys(decls);\n        let meta = getClassNameMeta(state, className.className);\n        let otherClassNames = classNames.filter((_className, i2) => i2 !== index2);\n        let conflictingClassNames = otherClassNames.filter((otherClassName) => {\n          let otherDecls = getClassNameDecls(state, otherClassName.className);\n          if (!otherDecls)\n            return false;\n          let otherMeta = getClassNameMeta(state, otherClassName.className);\n          return equal(properties, Object.keys(otherDecls)) && !Array.isArray(meta) && !Array.isArray(otherMeta) && equal(meta.context, otherMeta.context) && equal(meta.pseudo, otherMeta.pseudo) && meta.scope === otherMeta.scope;\n        });\n        if (conflictingClassNames.length === 0)\n          return;\n        diagnostics.push({\n          code: \"cssConflict\",\n          className,\n          otherClassNames: conflictingClassNames,\n          range: className.range,\n          severity: severity === \"error\" ? 1 : 2,\n          message: `'${className.className}' applies the same CSS ${properties.length === 1 ? \"property\" : \"properties\"} as ${joinWithAnd(\n            conflictingClassNames.map(\n              (conflictingClassName) => `'${conflictingClassName.className}'`\n            )\n          )}.`,\n          relatedInformation: conflictingClassNames.map((conflictingClassName) => {\n            return {\n              message: conflictingClassName.className,\n              location: {\n                uri: document3.uri,\n                range: conflictingClassName.range\n              }\n            };\n          })\n        });\n      });\n    });\n    return diagnostics;\n  }\n  function visit(nodes, cb, path = []) {\n    for (let child of nodes) {\n      path = [...path, child];\n      cb(child, path);\n      if (\"nodes\" in child && child.nodes && child.nodes.length > 0) {\n        visit(child.nodes, cb, path);\n      }\n    }\n  }\n  function recordClassDetails(state, classes) {\n    const groups = {};\n    let roots = state.designSystem.compile(classes.map((c3) => c3.className));\n    for (let [idx, root2] of roots.entries()) {\n      let { className } = classes[idx];\n      visit([root2], (node, path) => {\n        if (node.type !== \"rule\" && node.type !== \"atrule\")\n          return;\n        let properties = [];\n        for (let child of node.nodes ?? []) {\n          if (child.type !== \"decl\")\n            continue;\n          properties.push(child.prop);\n        }\n        if (properties.length === 0)\n          return;\n        groups[className] ?? (groups[className] = []);\n        groups[className].push({\n          properties,\n          context: path.map((node2) => {\n            if (node2.type === \"rule\") {\n              return node2.selector;\n            } else if (node2.type === \"atrule\") {\n              return `@${node2.name} ${node2.params}`;\n            }\n            return \"\";\n          }).filter(Boolean).slice(1)\n        });\n      });\n    }\n    return groups;\n  }\n  function* findConflicts(classes, groups) {\n    for (let className of classes) {\n      let entries = groups[className.className] ?? [];\n      let conflictingClassNames = [];\n      for (let otherClassName of classes) {\n        if (className === otherClassName)\n          continue;\n        let otherEntries = groups[otherClassName.className] ?? [];\n        if (entries.length !== otherEntries.length)\n          continue;\n        let hasConflict = false;\n        for (let i2 = 0; i2 < entries.length; i2++) {\n          let entry = entries[i2];\n          let otherEntry = otherEntries[i2];\n          if (entry.properties.length !== otherEntry.properties.length) {\n            hasConflict = false;\n            break;\n          }\n          if (entry.context.length !== otherEntry.context.length) {\n            hasConflict = false;\n            break;\n          }\n          if (!equal(entry.properties, otherEntry.properties)) {\n            hasConflict = false;\n            break;\n          }\n          if (!equal(entry.context, otherEntry.context)) {\n            hasConflict = false;\n            break;\n          }\n          if (entry.properties.length === 0 && otherEntry.properties.length === 0) {\n            continue;\n          }\n          hasConflict = true;\n        }\n        if (!hasConflict)\n          continue;\n        conflictingClassNames.push(otherClassName);\n      }\n      if (conflictingClassNames.length === 0)\n        return;\n      yield [className, conflictingClassNames];\n    }\n  }\n  async function getInvalidApplyDiagnostics(state, document3, settings) {\n    let severity = settings.tailwindCSS.lint.invalidApply;\n    if (severity === \"ignore\")\n      return [];\n    const classNames = await findClassNamesInRange(state, document3, void 0, \"css\", false);\n    let diagnostics = classNames.map((className) => {\n      let result = validateApply(state, className.className);\n      if (result === null || result.isApplyable === true) {\n        return null;\n      }\n      return {\n        code: \"invalidApply\",\n        severity: severity === \"error\" ? 1 : 2,\n        range: className.range,\n        message: result.reason,\n        className\n      };\n    });\n    return diagnostics.filter(Boolean);\n  }\n  function closest(input, options) {\n    return options.concat([]).sort((a2, b2) => (0, import_sift_string.default)(input, a2) - (0, import_sift_string.default)(input, b2))[0];\n  }\n  function absoluteRange(range, reference) {\n    return {\n      start: {\n        line: (reference?.start.line || 0) + range.start.line,\n        character: (range.end.line === 0 ? reference?.start.character || 0 : 0) + range.start.character\n      },\n      end: {\n        line: (reference?.start.line || 0) + range.end.line,\n        character: (range.end.line === 0 ? reference?.start.character || 0 : 0) + range.end.character\n      }\n    };\n  }\n  function getInvalidScreenDiagnostics(state, document3, settings) {\n    let severity = settings.tailwindCSS.lint.invalidScreen;\n    if (severity === \"ignore\")\n      return [];\n    let diagnostics = [];\n    let ranges = [];\n    if (isCssDoc(state, document3)) {\n      ranges.push(void 0);\n    } else {\n      let boundaries = getLanguageBoundaries(state, document3);\n      if (!boundaries)\n        return [];\n      ranges.push(...boundaries.filter((b2) => b2.type === \"css\").map(({ range }) => range));\n    }\n    ranges.forEach((range) => {\n      let text2 = getTextWithoutComments(document3, \"css\", range);\n      let matches = findAll(/(?:\\s|^)@screen\\s+(?<screen>[^\\s{]+)/g, text2);\n      matches.forEach((match) => {\n        if (state.screens.includes(match.groups.screen)) {\n          return null;\n        }\n        let message = `The screen '${match.groups.screen}' does not exist in your theme config.`;\n        let suggestions = [];\n        let suggestion = closest(match.groups.screen, state.screens);\n        if (suggestion) {\n          suggestions.push(suggestion);\n          message += ` Did you mean '${suggestion}'?`;\n        }\n        diagnostics.push({\n          code: \"invalidScreen\",\n          range: absoluteRange(\n            {\n              start: indexToPosition(\n                text2,\n                match.index + match[0].length - match.groups.screen.length\n              ),\n              end: indexToPosition(text2, match.index + match[0].length)\n            },\n            range\n          ),\n          severity: severity === \"error\" ? 1 : 2,\n          message,\n          suggestions\n        });\n      });\n    });\n    return diagnostics;\n  }\n  function getInvalidVariantDiagnostics(state, document3, settings) {\n    let severity = settings.tailwindCSS.lint.invalidVariant;\n    if (severity === \"ignore\")\n      return [];\n    if (gte(state.version, \"2.99.0\")) {\n      return [];\n    }\n    let diagnostics = [];\n    let ranges = [];\n    if (isCssDoc(state, document3)) {\n      ranges.push(void 0);\n    } else {\n      let boundaries = getLanguageBoundaries(state, document3);\n      if (!boundaries)\n        return [];\n      ranges.push(...boundaries.filter((b2) => b2.type === \"css\").map(({ range }) => range));\n    }\n    let possibleVariants = state.variants.flatMap((variant) => {\n      if (variant.values.length) {\n        return variant.values.map(\n          (value2) => value2 === \"DEFAULT\" ? variant.name : `${variant.name}${variant.hasDash ? \"-\" : \"\"}${value2}`\n        );\n      }\n      return [variant.name];\n    });\n    if (state.jit) {\n      possibleVariants.unshift(\"responsive\");\n      possibleVariants = possibleVariants.filter((v2) => !state.screens.includes(v2));\n    }\n    ranges.forEach((range) => {\n      let text2 = getTextWithoutComments(document3, \"css\", range);\n      let matches = findAll(/(?:\\s|^)@variants\\s+(?<variants>[^{]+)/g, text2);\n      matches.forEach((match) => {\n        let variants = match.groups.variants.split(/(\\s*,\\s*)/);\n        let listStartIndex = match.index + match[0].length - match.groups.variants.length;\n        for (let i2 = 0; i2 < variants.length; i2 += 2) {\n          let variant = variants[i2].trim();\n          if (possibleVariants.includes(variant)) {\n            continue;\n          }\n          let message = `The variant '${variant}' does not exist.`;\n          let suggestions = [];\n          let suggestion = closest(variant, possibleVariants);\n          if (suggestion) {\n            suggestions.push(suggestion);\n            message += ` Did you mean '${suggestion}'?`;\n          }\n          let variantStartIndex = listStartIndex + variants.slice(0, i2).join(\"\").length;\n          diagnostics.push({\n            code: \"invalidVariant\",\n            range: absoluteRange(\n              {\n                start: indexToPosition(text2, variantStartIndex),\n                end: indexToPosition(text2, variantStartIndex + variant.length)\n              },\n              range\n            ),\n            severity: severity === \"error\" ? 1 : 2,\n            message,\n            suggestions\n          });\n        }\n      });\n    });\n    return diagnostics;\n  }\n  var rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n  var reEscapeChar = /\\\\(\\\\)?/g;\n  function stringToPath(string) {\n    let result = [];\n    if (string.charCodeAt(0) === 46) {\n      result.push(\"\");\n    }\n    string.replace(rePropName, (match, number2, quote, subString) => {\n      result.push(quote ? subString.replace(reEscapeChar, \"$1\") : number2 || match);\n    });\n    return result;\n  }\n  function pathToString(path) {\n    if (typeof path === \"string\")\n      return path;\n    return path.reduce((acc, cur, i2) => {\n      if (i2 === 0)\n        return cur;\n      if (cur.includes(\".\"))\n        return `${acc}[${cur}]`;\n      return `${acc}.${cur}`;\n    }, \"\");\n  }\n  function validateConfigPath(state, path, base = []) {\n    let keys = Array.isArray(path) ? path : stringToPath(path);\n    let fullPath = [...base, ...keys];\n    let value2 = (0, import_dlv8.default)(state.config, fullPath);\n    let suggestions = [];\n    let transformThemeValue2 = state.modules?.transformThemeValue?.module ?? ((_2) => (value22) => value22);\n    if (fullPath[0] === \"theme\" && fullPath[1]) {\n      value2 = transformThemeValue2(fullPath[1])(value2);\n    }\n    function findAlternativePath() {\n      let points = combinations(\"123456789\".substr(0, keys.length - 1)).map(\n        (x2) => x2.split(\"\").map((x22) => parseInt(x22, 10))\n      );\n      let possibilities = points.map((p4) => {\n        let result = [];\n        let i2 = 0;\n        p4.forEach((x2) => {\n          result.push(keys.slice(i2, x2).join(\".\"));\n          i2 = x2;\n        });\n        result.push(keys.slice(i2).join(\".\"));\n        return result;\n      }).slice(1);\n      return possibilities.find((possibility) => validateConfigPath(state, possibility, base).isValid);\n    }\n    if (typeof value2 === \"undefined\") {\n      let reason = `'${pathToString(path)}' does not exist in your theme config.`;\n      let parentPath = [...base, ...keys.slice(0, keys.length - 1)];\n      let parentValue = (0, import_dlv8.default)(state.config, parentPath);\n      if (isObject3(parentValue)) {\n        let closestValidKey = closest(\n          keys[keys.length - 1],\n          Object.keys(parentValue).filter(\n            (key) => validateConfigPath(state, [...parentPath, key]).isValid\n          )\n        );\n        if (closestValidKey) {\n          suggestions.push(pathToString([...keys.slice(0, keys.length - 1), closestValidKey]));\n          reason += ` Did you mean '${suggestions[0]}'?`;\n        }\n      } else {\n        let altPath = findAlternativePath();\n        if (altPath) {\n          return {\n            isValid: false,\n            reason: `${reason} Did you mean '${pathToString(altPath)}'?`,\n            suggestions: [pathToString(altPath)]\n          };\n        }\n      }\n      return {\n        isValid: false,\n        reason,\n        suggestions\n      };\n    }\n    if (!(typeof value2 === \"string\" || typeof value2 === \"number\" || value2 instanceof String || value2 instanceof Number || Array.isArray(value2) || typeof value2 === \"function\")) {\n      let reason = `'${pathToString(path)}' was found but does not resolve to a valid theme value.`;\n      if (isObject3(value2)) {\n        let validKeys = Object.keys(value2).filter(\n          (key) => validateConfigPath(state, [...keys, key], base).isValid\n        );\n        if (validKeys.length) {\n          suggestions.push(...validKeys.map((validKey) => pathToString([...keys, validKey])));\n          reason += ` Did you mean something like '${suggestions[0]}'?`;\n        }\n      }\n      return {\n        isValid: false,\n        reason,\n        suggestions\n      };\n    }\n    let isValid = true;\n    for (let i2 = keys.length - 1; i2 >= 0; i2--) {\n      let key = keys[i2];\n      let parentValue = (0, import_dlv8.default)(state.config, [...base, ...keys.slice(0, i2)]);\n      if (/^[0-9]+$/.test(key)) {\n        if (!isObject3(parentValue) && !Array.isArray(parentValue)) {\n          isValid = false;\n          break;\n        }\n      } else if (!isObject3(parentValue)) {\n        isValid = false;\n        break;\n      }\n    }\n    if (!isValid) {\n      let reason = `'${pathToString(path)}' does not exist in your theme config.`;\n      let altPath = findAlternativePath();\n      if (altPath) {\n        return {\n          isValid: false,\n          reason: `${reason} Did you mean '${pathToString(altPath)}'?`,\n          suggestions: [pathToString(altPath)]\n        };\n      }\n      return {\n        isValid: false,\n        reason,\n        suggestions: []\n      };\n    }\n    return {\n      isValid: true,\n      value: value2\n    };\n  }\n  function getInvalidConfigPathDiagnostics(state, document3, settings) {\n    let severity = settings.tailwindCSS.lint.invalidConfigPath;\n    if (severity === \"ignore\")\n      return [];\n    let diagnostics = [];\n    findHelperFunctionsInDocument(state, document3).forEach((helperFn) => {\n      let base = helperFn.helper === \"theme\" ? [\"theme\"] : [];\n      let result = validateConfigPath(state, helperFn.path, base);\n      if (result.isValid === true) {\n        return;\n      }\n      diagnostics.push({\n        code: \"invalidConfigPath\",\n        range: helperFn.ranges.path,\n        severity: severity === \"error\" ? 1 : 2,\n        message: result.reason,\n        suggestions: result.suggestions\n      });\n    });\n    return diagnostics;\n  }\n  function getInvalidTailwindDirectiveDiagnostics(state, document3, settings) {\n    let severity = settings.tailwindCSS.lint.invalidTailwindDirective;\n    if (severity === \"ignore\")\n      return [];\n    let diagnostics = [];\n    let ranges = [];\n    if (isCssDoc(state, document3)) {\n      ranges.push(void 0);\n    } else {\n      let boundaries = getLanguageBoundaries(state, document3);\n      if (!boundaries)\n        return [];\n      ranges.push(...boundaries.filter((b2) => b2.type === \"css\").map(({ range }) => range));\n    }\n    let regex;\n    if (isSemicolonlessCssLanguage(document3.languageId, state.editor?.userLanguages)) {\n      regex = /(?:\\s|^)@tailwind\\s+(?<value>[^\\r\\n]+)/g;\n    } else {\n      regex = /(?:\\s|^)@tailwind\\s+(?<value>[^;]+)/g;\n    }\n    let hasVariantsDirective = state.jit && gte(state.version, \"2.1.99\");\n    ranges.forEach((range) => {\n      let text2 = getTextWithoutComments(document3, \"css\", range);\n      let matches = findAll(regex, text2);\n      let valid = [\n        \"utilities\",\n        \"components\",\n        \"screens\",\n        gte(state.version, \"1.0.0-beta.1\") ? \"base\" : \"preflight\",\n        hasVariantsDirective && \"variants\"\n      ].filter(Boolean);\n      let suggestable = valid;\n      if (hasVariantsDirective) {\n        suggestable = suggestable.filter((value2) => value2 !== \"screens\");\n      }\n      matches.forEach((match) => {\n        if (valid.includes(match.groups.value)) {\n          return null;\n        }\n        let message = `'${match.groups.value}' is not a valid value.`;\n        let suggestions = [];\n        if (match.groups.value === \"preflight\") {\n          suggestions.push(\"base\");\n          message += ` Did you mean 'base'?`;\n        } else {\n          let suggestion = closest(match.groups.value, suggestable);\n          if (suggestion) {\n            suggestions.push(suggestion);\n            message += ` Did you mean '${suggestion}'?`;\n          }\n        }\n        diagnostics.push({\n          code: \"invalidTailwindDirective\",\n          range: absoluteRange(\n            {\n              start: indexToPosition(text2, match.index + match[0].length - match.groups.value.length),\n              end: indexToPosition(text2, match.index + match[0].length)\n            },\n            range\n          ),\n          severity: severity === \"error\" ? 1 : 2,\n          message,\n          suggestions\n        });\n      });\n    });\n    return diagnostics;\n  }\n  async function getRecommendedVariantOrderDiagnostics(state, document3, settings) {\n    if (state.v4)\n      return [];\n    if (!state.jit)\n      return [];\n    if (gte(state.version, \"2.99.0\"))\n      return [];\n    let severity = settings.tailwindCSS.lint.recommendedVariantOrder;\n    if (severity === \"ignore\")\n      return [];\n    let diagnostics = [];\n    const classLists = await findClassListsInDocument(state, document3);\n    classLists.forEach((classList) => {\n      const classNames = getClassNamesInClassList(classList, state.blocklist);\n      classNames.forEach((className) => {\n        let { rules } = generateRules(state, [className.className]);\n        if (rules.length === 0) {\n          return;\n        }\n        let order = state.jitContext.variantOrder ?? state.jitContext.offsets.variantOffsets;\n        let { variants, offset } = getVariantsFromClassName(state, className.className);\n        let sortedVariants = [...variants].sort((a2, b2) => bigSign(order.get(b2) - order.get(a2)));\n        if (!equalExact(variants, sortedVariants)) {\n          diagnostics.push({\n            code: \"recommendedVariantOrder\",\n            suggestions: [\n              [...sortedVariants, className.className.substr(offset)].join(state.separator)\n            ],\n            range: className.range,\n            severity: severity === \"error\" ? 1 : 2,\n            message: \"Variants are not in the recommended order, which may cause unexpected CSS output.\"\n          });\n        }\n      });\n    });\n    return diagnostics;\n  }\n  async function doValidate(state, document3, only = [\n    \"cssConflict\",\n    \"invalidApply\",\n    \"invalidScreen\",\n    \"invalidVariant\",\n    \"invalidConfigPath\",\n    \"invalidTailwindDirective\",\n    \"recommendedVariantOrder\"\n    /* RecommendedVariantOrder */\n  ]) {\n    const settings = await state.editor.getConfiguration(document3.uri);\n    return settings.tailwindCSS.validate ? [\n      ...only.includes(\n        \"cssConflict\"\n        /* CssConflict */\n      ) ? await getCssConflictDiagnostics(state, document3, settings) : [],\n      ...only.includes(\n        \"invalidApply\"\n        /* InvalidApply */\n      ) ? await getInvalidApplyDiagnostics(state, document3, settings) : [],\n      ...only.includes(\n        \"invalidScreen\"\n        /* InvalidScreen */\n      ) ? getInvalidScreenDiagnostics(state, document3, settings) : [],\n      ...only.includes(\n        \"invalidVariant\"\n        /* InvalidVariant */\n      ) ? getInvalidVariantDiagnostics(state, document3, settings) : [],\n      ...only.includes(\n        \"invalidConfigPath\"\n        /* InvalidConfigPath */\n      ) ? getInvalidConfigPathDiagnostics(state, document3, settings) : [],\n      ...only.includes(\n        \"invalidTailwindDirective\"\n        /* InvalidTailwindDirective */\n      ) ? getInvalidTailwindDirectiveDiagnostics(state, document3, settings) : [],\n      ...only.includes(\n        \"recommendedVariantOrder\"\n        /* RecommendedVariantOrder */\n      ) ? await getRecommendedVariantOrderDiagnostics(state, document3, settings) : []\n    ] : [];\n  }\n  async function doHover(state, document3, position2) {\n    return await provideClassNameHover(state, document3, position2) || await provideCssHelperHover(state, document3, position2);\n  }\n  async function provideCssHelperHover(state, document3, position2) {\n    if (!isCssContext(state, document3, position2)) {\n      return null;\n    }\n    const settings = await state.editor.getConfiguration(document3.uri);\n    let helperFns = findHelperFunctionsInRange(document3, {\n      start: { line: position2.line, character: 0 },\n      end: { line: position2.line + 1, character: 0 }\n    });\n    for (let helperFn of helperFns) {\n      if (!isWithinRange(position2, helperFn.ranges.path))\n        continue;\n      let validated = validateConfigPath(\n        state,\n        helperFn.path,\n        helperFn.helper === \"theme\" ? [\"theme\"] : []\n      );\n      let value2 = validated.isValid ? stringifyConfigValue(validated.value) : null;\n      if (value2 === null)\n        return null;\n      if (settings.tailwindCSS.showPixelEquivalents) {\n        value2 = addPixelEquivalentsToValue(value2, settings.tailwindCSS.rootFontSize);\n      }\n      return {\n        contents: { kind: \"markdown\", value: [\"```plaintext\", value2, \"```\"].join(\"\\n\") },\n        range: helperFn.ranges.path\n      };\n    }\n    return null;\n  }\n  async function provideClassNameHover(state, document3, position2) {\n    let className = await findClassNameAtPosition(state, document3, position2);\n    if (className === null)\n      return null;\n    if (state.v4) {\n      let root2 = state.designSystem.compile([className.className])[0];\n      if (root2.nodes.length === 0) {\n        return null;\n      }\n      return {\n        contents: {\n          language: \"css\",\n          value: await stringifyRoot(state, root2, document3.uri)\n        },\n        range: className.range\n      };\n    }\n    if (state.jit) {\n      let { root: root2, rules } = generateRules(state, [className.className]);\n      if (rules.length === 0) {\n        return null;\n      }\n      return {\n        contents: {\n          language: \"css\",\n          value: await stringifyRoot(state, root2, document3.uri)\n        },\n        range: className.range\n      };\n    }\n    const parts = getClassNameParts(state, className.className);\n    if (!parts)\n      return null;\n    if (isCssContext(state, document3, position2)) {\n      let validated = validateApply(state, parts);\n      if (validated === null || validated.isApplyable === false) {\n        return null;\n      }\n    }\n    const settings = await state.editor.getConfiguration(document3.uri);\n    const css = stringifyCss(\n      className.className,\n      (0, import_dlv9.default)(state.classNames.classNames, [...parts, \"__info\"]),\n      settings\n    );\n    if (!css)\n      return null;\n    return {\n      contents: {\n        language: \"css\",\n        value: css\n      },\n      range: className.range\n    };\n  }\n  function removeRangesFromString(str, rangeOrRanges) {\n    let ranges = ensureArray(rangeOrRanges);\n    let finder = (0, import_line_column2.default)(str + \"\\n\", { origin: 0 });\n    let indexRanges = [];\n    ranges.forEach((range) => {\n      let start = finder.toIndex(range.start.line, range.start.character);\n      let end = finder.toIndex(range.end.line, range.end.character);\n      for (let i22 = start - 1; i22 >= 0; i22--) {\n        if (/\\s/.test(str.charAt(i22))) {\n          start = i22;\n        } else {\n          break;\n        }\n      }\n      indexRanges.push({ start, end });\n    });\n    indexRanges.sort((a2, b2) => a2.start - b2.start);\n    let result = \"\";\n    let i2 = 0;\n    indexRanges.forEach((indexRange) => {\n      result += str.substring(i2, indexRange.start);\n      i2 = indexRange.end;\n    });\n    result += str.substring(i2);\n    return result.trim();\n  }\n  async function provideCssConflictCodeActions(_state, params, diagnostic) {\n    return [\n      {\n        title: `Delete ${joinWithAnd(\n          diagnostic.otherClassNames.map((otherClassName) => `'${otherClassName.className}'`)\n        )}`,\n        kind: \"quickfix\",\n        // CodeActionKind.QuickFix,\n        diagnostics: [diagnostic],\n        edit: {\n          changes: {\n            [params.textDocument.uri]: [\n              {\n                range: diagnostic.className.classList.range,\n                newText: removeRangesFromString(\n                  diagnostic.className.classList.classList,\n                  diagnostic.otherClassNames.map((otherClassName) => otherClassName.relativeRange)\n                )\n              }\n            ]\n          }\n        }\n      }\n    ];\n  }\n  var IMPORTANT = /\\s*!important\\s*$/i;\n  var unitless = {\n    \"box-flex\": true,\n    \"box-flex-group\": true,\n    \"column-count\": true,\n    flex: true,\n    \"flex-grow\": true,\n    \"flex-positive\": true,\n    \"flex-shrink\": true,\n    \"flex-negative\": true,\n    \"font-weight\": true,\n    \"line-clamp\": true,\n    \"line-height\": true,\n    opacity: true,\n    order: true,\n    orphans: true,\n    \"tab-size\": true,\n    widows: true,\n    \"z-index\": true,\n    zoom: true,\n    \"fill-opacity\": true,\n    \"stroke-dashoffset\": true,\n    \"stroke-opacity\": true,\n    \"stroke-width\": true\n  };\n  function dashify(str) {\n    return str.replace(/([A-Z])/g, \"-$1\").replace(/^ms-/, \"-ms-\").toLowerCase();\n  }\n  function decl2(parent, name, value2, postcss42) {\n    if (value2 === false || value2 === null)\n      return;\n    name = dashify(name);\n    if (typeof value2 === \"number\") {\n      if (value2 === 0 || unitless[name]) {\n        value2 = value2.toString();\n      } else {\n        value2 = value2.toString() + \"px\";\n      }\n    }\n    if (name === \"css-float\")\n      name = \"float\";\n    if (IMPORTANT.test(value2)) {\n      value2 = value2.replace(IMPORTANT, \"\");\n      parent.push(postcss42.decl({ prop: name, value: value2, important: true }));\n    } else {\n      parent.push(postcss42.decl({ prop: name, value: value2 }));\n    }\n  }\n  function atRule2(parent, parts, value2, postcss42) {\n    var node = postcss42.atRule({ name: parts[1], params: parts[3] || \"\" });\n    if (typeof value2 === \"object\") {\n      node.nodes = [];\n      parse22(value2, node, postcss42);\n    }\n    parent.push(node);\n  }\n  function parse22(obj, parent, postcss42) {\n    var name, value2, node, i2;\n    for (name in obj) {\n      if (obj.hasOwnProperty(name)) {\n        value2 = obj[name];\n        if (value2 === null || typeof value2 === \"undefined\") {\n          continue;\n        } else if (name[0] === \"@\") {\n          var parts = name.match(/@([^\\s]+)(\\s+([\\w\\W]*)\\s*)?/);\n          if (Array.isArray(value2)) {\n            for (i2 = 0; i2 < value2.length; i2++) {\n              atRule2(parent, parts, value2[i2], postcss42);\n            }\n          } else {\n            atRule2(parent, parts, value2, postcss42);\n          }\n        } else if (Array.isArray(value2)) {\n          for (i2 = 0; i2 < value2.length; i2++) {\n            decl2(parent, name, value2[i2], postcss42);\n          }\n        } else if (typeof value2 === \"object\") {\n          node = postcss42.rule({ selector: name });\n          parse22(value2, node, postcss42);\n          parent.push(node);\n        } else {\n          decl2(parent, name, value2, postcss42);\n        }\n      }\n    }\n  }\n  function cssObjToAst(obj, postcss42) {\n    var root2 = postcss42.root();\n    parse22(obj, root2, postcss42);\n    return root2;\n  }\n  async function provideInvalidApplyCodeActions(state, document3, diagnostic) {\n    if (!document3)\n      return [];\n    let documentText = getTextWithoutComments(document3, \"css\");\n    let cssRange;\n    let cssText = documentText;\n    const { postcss: postcss42 } = state.modules;\n    let changes = [];\n    let totalClassNamesInClassList = diagnostic.className.classList.classList.split(/\\s+/).length;\n    let className = diagnostic.className.className;\n    let classNameParts = getClassNameParts(state, className);\n    let classNameInfo = (0, import_dlv10.default)(state.classNames.classNames, classNameParts);\n    if (Array.isArray(classNameInfo)) {\n      return [];\n    }\n    if (!isCssDoc(state, document3)) {\n      let languageBoundaries = getLanguageBoundaries(state, document3);\n      if (!languageBoundaries)\n        return [];\n      cssRange = languageBoundaries.filter((b2) => b2.type === \"css\").find(({ range }) => isWithinRange(diagnostic.range.start, range))?.range;\n      if (!cssRange)\n        return [];\n      cssText = getTextWithoutComments(document3, \"css\", cssRange);\n    }\n    try {\n      await postcss42.module([\n        // TODO: use plain function?\n        // @ts-ignore\n        postcss42.module.plugin(\"\", (_options = {}) => {\n          return (root2) => {\n            root2.walkRules((rule2) => {\n              if (changes.length)\n                return false;\n              rule2.walkAtRules(\"apply\", (atRule22) => {\n                let atRuleRange = postcssSourceToRange(atRule22.source);\n                if (cssRange) {\n                  atRuleRange = absoluteRange(atRuleRange, cssRange);\n                }\n                if (!isWithinRange(diagnostic.range.start, atRuleRange))\n                  return void 0;\n                let ast = classNameToAst(\n                  state,\n                  classNameParts,\n                  rule2.selector,\n                  diagnostic.className.classList.important\n                );\n                if (!ast)\n                  return false;\n                rule2.after(ast.nodes);\n                let insertedRule = rule2.next();\n                if (!insertedRule)\n                  return false;\n                if (totalClassNamesInClassList === 1) {\n                  atRule22.remove();\n                } else {\n                  changes.push({\n                    range: diagnostic.className.classList.range,\n                    newText: removeRangesFromString(\n                      diagnostic.className.classList.classList,\n                      diagnostic.className.relativeRange\n                    )\n                  });\n                }\n                let ruleRange = postcssSourceToRange(rule2.source);\n                if (cssRange) {\n                  ruleRange = absoluteRange(ruleRange, cssRange);\n                }\n                let outputIndent;\n                let documentIndent = detect_indent_default(cssText);\n                changes.push({\n                  range: ruleRange,\n                  newText: rule2.toString() + (insertedRule.raws.before || \"\\n\\n\") + insertedRule.toString().replace(/\\n\\s*\\n/g, \"\\n\").replace(/(@apply [^;\\n]+)$/gm, \"$1;\").replace(/([^\\s^]){$/gm, \"$1 {\").replace(/^\\s+/gm, (m2) => {\n                    if (typeof outputIndent === \"undefined\")\n                      outputIndent = m2;\n                    return m2.replace(new RegExp(outputIndent, \"g\"), documentIndent.indent);\n                  }).replace(/^(\\s+)(.*?[^{}]\\n)([^\\s}])/gm, \"$1$2$1$3\")\n                });\n                return false;\n              });\n              return void 0;\n            });\n          };\n        })\n      ]).process(cssText, { from: void 0 });\n    } catch (_2) {\n      return [];\n    }\n    if (!changes.length) {\n      return [];\n    }\n    return [\n      {\n        title: \"Extract to new rule\",\n        kind: \"quickfix\",\n        // CodeActionKind.QuickFix,\n        diagnostics: [diagnostic],\n        edit: {\n          changes: {\n            [document3.uri]: changes\n          }\n        }\n      }\n    ];\n  }\n  function postcssSourceToRange(source) {\n    return {\n      start: {\n        line: source.start.line - 1,\n        character: source.start.column - 1\n      },\n      end: {\n        line: source.end.line - 1,\n        character: source.end.column\n      }\n    };\n  }\n  function classNameToAst(state, classNameParts, selector, important = false) {\n    const baseClassName = classNameParts[classNameParts.length - 1];\n    const validatedBaseClassName = validateApply(state, [baseClassName]);\n    if (validatedBaseClassName === null || validatedBaseClassName.isApplyable === false) {\n      return null;\n    }\n    const meta = getClassNameMeta(state, classNameParts);\n    if (Array.isArray(meta))\n      return null;\n    let context = meta.context;\n    let pseudo = meta.pseudo;\n    const globalContexts = state.classNames.context;\n    const path = [];\n    for (let i2 = 0; i2 < classNameParts.length - 1; i2++) {\n      let part = classNameParts[i2];\n      let common = globalContexts[part];\n      if (!common)\n        return null;\n      if (state.screens.includes(part)) {\n        path.push(`@screen ${part}`);\n        context = context.filter((con) => !common.includes(con));\n      }\n    }\n    path.push(...context);\n    let obj = {};\n    for (let i2 = 1; i2 <= path.length; i2++) {\n      dset(obj, path.slice(0, i2), {});\n    }\n    selector = appendPseudosToSelector(selector, pseudo);\n    if (selector === null)\n      return null;\n    let rule2 = {\n      [selector]: {\n        [`@apply ${baseClassName}${important ? \" !important\" : \"\"}`]: \"\"\n      }\n    };\n    if (path.length) {\n      dset(obj, path, rule2);\n    } else {\n      obj = rule2;\n    }\n    return cssObjToAst(obj, state.modules.postcss);\n  }\n  function appendPseudosToSelector(selector, pseudos) {\n    if (pseudos.length === 0)\n      return selector;\n    let canTransform = true;\n    let transformedSelector = (0, import_postcss_selector_parser.default)((selectors) => {\n      flatten(selectors.split((_2) => true)).forEach((sel) => {\n        for (let i2 = sel.nodes.length - 1; i2 >= 0; i2--) {\n          if (sel.nodes[i2].type !== \"pseudo\") {\n            break;\n          } else if (pseudos.includes(sel.nodes[i2].value)) {\n            canTransform = false;\n            break;\n          }\n        }\n        if (canTransform) {\n          pseudos.forEach((p4) => {\n            sel.append(import_postcss_selector_parser.default.pseudo({ value: p4 }));\n          });\n        }\n      });\n    }).processSync(selector);\n    if (!canTransform)\n      return null;\n    return transformedSelector;\n  }\n  function provideSuggestionCodeActions(_state, params, diagnostic) {\n    return diagnostic.suggestions.map((suggestion) => ({\n      title: `Replace with '${suggestion}'`,\n      kind: \"quickfix\",\n      // CodeActionKind.QuickFix,\n      diagnostics: [diagnostic],\n      edit: {\n        changes: {\n          [params.textDocument.uri]: [\n            {\n              range: diagnostic.range,\n              newText: suggestion\n            }\n          ]\n        }\n      }\n    }));\n  }\n  async function getDiagnosticsFromCodeActionParams(state, params, document3, only) {\n    if (!document3)\n      return [];\n    let diagnostics = await doValidate(state, document3, only);\n    return params.context.diagnostics.map((diagnostic) => {\n      return diagnostics.find((d2) => {\n        return d2.code === diagnostic.code && d2.message === diagnostic.message && rangesEqual(d2.range, diagnostic.range);\n      });\n    }).filter(Boolean);\n  }\n  async function doCodeActions(state, params, document3) {\n    if (!state.enabled) {\n      return [];\n    }\n    let diagnostics = await getDiagnosticsFromCodeActionParams(\n      state,\n      params,\n      document3,\n      params.context.diagnostics.map((diagnostic) => diagnostic.code).filter(Boolean)\n    );\n    return Promise.all(\n      diagnostics.map((diagnostic) => {\n        if (isInvalidApplyDiagnostic(diagnostic)) {\n          return provideInvalidApplyCodeActions(state, document3, diagnostic);\n        }\n        if (isCssConflictDiagnostic(diagnostic)) {\n          return provideCssConflictCodeActions(state, params, diagnostic);\n        }\n        if (isInvalidConfigPathDiagnostic(diagnostic) || isInvalidTailwindDirectiveDiagnostic(diagnostic) || isInvalidScreenDiagnostic(diagnostic) || isInvalidVariantDiagnostic(diagnostic) || isRecommendedVariantOrderDiagnostic(diagnostic)) {\n          return provideSuggestionCodeActions(state, params, diagnostic);\n        }\n        return [];\n      })\n    ).then(flatten).then((x2) => dedupeBy(x2, (item) => JSON.stringify(item.edit)));\n  }\n  async function getDocumentColors(state, document3) {\n    let colors = [];\n    if (!state.enabled)\n      return colors;\n    let settings = await state.editor.getConfiguration(document3.uri);\n    if (settings.tailwindCSS.colorDecorators === false)\n      return colors;\n    let classLists = await findClassListsInDocument(state, document3);\n    classLists.forEach((classList) => {\n      let classNames = getClassNamesInClassList(classList, state.blocklist);\n      classNames.forEach((className) => {\n        let color2 = getColor(state, className.className);\n        if (color2 === null || typeof color2 === \"string\" || (color2.alpha ?? 1) === 0) {\n          return;\n        }\n        colors.push({\n          range: className.range,\n          color: culoriColorToVscodeColor(color2)\n        });\n      });\n    });\n    let helperFns = findHelperFunctionsInDocument(state, document3);\n    helperFns.forEach((fn5) => {\n      let keys = stringToPath(fn5.path);\n      let base = fn5.helper === \"theme\" ? [\"theme\"] : [];\n      let value2 = (0, import_dlv11.default)(state.config, [...base, ...keys]);\n      let color2 = getColorFromValue(value2);\n      if (color2 && typeof color2 !== \"string\" && (color2.alpha ?? 1) !== 0) {\n        colors.push({ range: fn5.ranges.path, color: culoriColorToVscodeColor(color2) });\n      }\n    });\n    return dedupeByRange(colors);\n  }\n  function parseObjectStyles(styles) {\n    if (!Array.isArray(styles)) {\n      return parseObjectStyles([styles]);\n    }\n    return styles.flatMap((style) => {\n      return postcss_default([\n        (0, import_postcss_nested.default)({\n          bubble: [\"screen\"]\n        })\n      ]).process(style, {\n        parser: postcss_js_default\n      }).root.nodes;\n    });\n  }\n  function isPlainObject(value2) {\n    if (Object.prototype.toString.call(value2) !== \"[object Object]\") {\n      return false;\n    }\n    const prototype = Object.getPrototypeOf(value2);\n    return prototype === null || Object.getPrototypeOf(prototype) === null;\n  }\n  function prefixSelector_default(prefix3, selector, prependNegative = false) {\n    if (prefix3 === \"\") {\n      return selector;\n    }\n    let ast = typeof selector === \"string\" ? (0, import_postcss_selector_parser5.default)().astSync(selector) : selector;\n    ast.walkClasses((classSelector) => {\n      let baseClass = classSelector.value;\n      let shouldPlaceNegativeBeforePrefix = prependNegative && baseClass.startsWith(\"-\");\n      classSelector.value = shouldPlaceNegativeBeforePrefix ? `-${prefix3}${baseClass.slice(1)}` : `${prefix3}${baseClass}`;\n    });\n    return typeof selector === \"string\" ? ast.toString() : ast;\n  }\n  function escapeCommas(className) {\n    return className.replace(/\\\\,/g, \"\\\\2c \");\n  }\n  var colorNames_default = {\n    aliceblue: [240, 248, 255],\n    antiquewhite: [250, 235, 215],\n    aqua: [0, 255, 255],\n    aquamarine: [127, 255, 212],\n    azure: [240, 255, 255],\n    beige: [245, 245, 220],\n    bisque: [255, 228, 196],\n    black: [0, 0, 0],\n    blanchedalmond: [255, 235, 205],\n    blue: [0, 0, 255],\n    blueviolet: [138, 43, 226],\n    brown: [165, 42, 42],\n    burlywood: [222, 184, 135],\n    cadetblue: [95, 158, 160],\n    chartreuse: [127, 255, 0],\n    chocolate: [210, 105, 30],\n    coral: [255, 127, 80],\n    cornflowerblue: [100, 149, 237],\n    cornsilk: [255, 248, 220],\n    crimson: [220, 20, 60],\n    cyan: [0, 255, 255],\n    darkblue: [0, 0, 139],\n    darkcyan: [0, 139, 139],\n    darkgoldenrod: [184, 134, 11],\n    darkgray: [169, 169, 169],\n    darkgreen: [0, 100, 0],\n    darkgrey: [169, 169, 169],\n    darkkhaki: [189, 183, 107],\n    darkmagenta: [139, 0, 139],\n    darkolivegreen: [85, 107, 47],\n    darkorange: [255, 140, 0],\n    darkorchid: [153, 50, 204],\n    darkred: [139, 0, 0],\n    darksalmon: [233, 150, 122],\n    darkseagreen: [143, 188, 143],\n    darkslateblue: [72, 61, 139],\n    darkslategray: [47, 79, 79],\n    darkslategrey: [47, 79, 79],\n    darkturquoise: [0, 206, 209],\n    darkviolet: [148, 0, 211],\n    deeppink: [255, 20, 147],\n    deepskyblue: [0, 191, 255],\n    dimgray: [105, 105, 105],\n    dimgrey: [105, 105, 105],\n    dodgerblue: [30, 144, 255],\n    firebrick: [178, 34, 34],\n    floralwhite: [255, 250, 240],\n    forestgreen: [34, 139, 34],\n    fuchsia: [255, 0, 255],\n    gainsboro: [220, 220, 220],\n    ghostwhite: [248, 248, 255],\n    gold: [255, 215, 0],\n    goldenrod: [218, 165, 32],\n    gray: [128, 128, 128],\n    green: [0, 128, 0],\n    greenyellow: [173, 255, 47],\n    grey: [128, 128, 128],\n    honeydew: [240, 255, 240],\n    hotpink: [255, 105, 180],\n    indianred: [205, 92, 92],\n    indigo: [75, 0, 130],\n    ivory: [255, 255, 240],\n    khaki: [240, 230, 140],\n    lavender: [230, 230, 250],\n    lavenderblush: [255, 240, 245],\n    lawngreen: [124, 252, 0],\n    lemonchiffon: [255, 250, 205],\n    lightblue: [173, 216, 230],\n    lightcoral: [240, 128, 128],\n    lightcyan: [224, 255, 255],\n    lightgoldenrodyellow: [250, 250, 210],\n    lightgray: [211, 211, 211],\n    lightgreen: [144, 238, 144],\n    lightgrey: [211, 211, 211],\n    lightpink: [255, 182, 193],\n    lightsalmon: [255, 160, 122],\n    lightseagreen: [32, 178, 170],\n    lightskyblue: [135, 206, 250],\n    lightslategray: [119, 136, 153],\n    lightslategrey: [119, 136, 153],\n    lightsteelblue: [176, 196, 222],\n    lightyellow: [255, 255, 224],\n    lime: [0, 255, 0],\n    limegreen: [50, 205, 50],\n    linen: [250, 240, 230],\n    magenta: [255, 0, 255],\n    maroon: [128, 0, 0],\n    mediumaquamarine: [102, 205, 170],\n    mediumblue: [0, 0, 205],\n    mediumorchid: [186, 85, 211],\n    mediumpurple: [147, 112, 219],\n    mediumseagreen: [60, 179, 113],\n    mediumslateblue: [123, 104, 238],\n    mediumspringgreen: [0, 250, 154],\n    mediumturquoise: [72, 209, 204],\n    mediumvioletred: [199, 21, 133],\n    midnightblue: [25, 25, 112],\n    mintcream: [245, 255, 250],\n    mistyrose: [255, 228, 225],\n    moccasin: [255, 228, 181],\n    navajowhite: [255, 222, 173],\n    navy: [0, 0, 128],\n    oldlace: [253, 245, 230],\n    olive: [128, 128, 0],\n    olivedrab: [107, 142, 35],\n    orange: [255, 165, 0],\n    orangered: [255, 69, 0],\n    orchid: [218, 112, 214],\n    palegoldenrod: [238, 232, 170],\n    palegreen: [152, 251, 152],\n    paleturquoise: [175, 238, 238],\n    palevioletred: [219, 112, 147],\n    papayawhip: [255, 239, 213],\n    peachpuff: [255, 218, 185],\n    peru: [205, 133, 63],\n    pink: [255, 192, 203],\n    plum: [221, 160, 221],\n    powderblue: [176, 224, 230],\n    purple: [128, 0, 128],\n    rebeccapurple: [102, 51, 153],\n    red: [255, 0, 0],\n    rosybrown: [188, 143, 143],\n    royalblue: [65, 105, 225],\n    saddlebrown: [139, 69, 19],\n    salmon: [250, 128, 114],\n    sandybrown: [244, 164, 96],\n    seagreen: [46, 139, 87],\n    seashell: [255, 245, 238],\n    sienna: [160, 82, 45],\n    silver: [192, 192, 192],\n    skyblue: [135, 206, 235],\n    slateblue: [106, 90, 205],\n    slategray: [112, 128, 144],\n    slategrey: [112, 128, 144],\n    snow: [255, 250, 250],\n    springgreen: [0, 255, 127],\n    steelblue: [70, 130, 180],\n    tan: [210, 180, 140],\n    teal: [0, 128, 128],\n    thistle: [216, 191, 216],\n    tomato: [255, 99, 71],\n    turquoise: [64, 224, 208],\n    violet: [238, 130, 238],\n    wheat: [245, 222, 179],\n    white: [255, 255, 255],\n    whitesmoke: [245, 245, 245],\n    yellow: [255, 255, 0],\n    yellowgreen: [154, 205, 50]\n  };\n  var HEX = /^#([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})?$/i;\n  var SHORT_HEX = /^#([a-f\\d])([a-f\\d])([a-f\\d])([a-f\\d])?$/i;\n  var VALUE = /(?:\\d+|\\d*\\.\\d+)%?/;\n  var SEP = /(?:\\s*,\\s*|\\s+)/;\n  var ALPHA_SEP = /\\s*[,/]\\s*/;\n  var CUSTOM_PROPERTY = /var\\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\\(--[^ )]*?\\)))?\\)/;\n  var RGB = new RegExp(\n    `^(rgba?)\\\\(\\\\s*(${VALUE.source}|${CUSTOM_PROPERTY.source})(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${ALPHA_SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?\\\\s*\\\\)$`\n  );\n  var HSL = new RegExp(\n    `^(hsla?)\\\\(\\\\s*((?:${VALUE.source})(?:deg|rad|grad|turn)?|${CUSTOM_PROPERTY.source})(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?(?:${ALPHA_SEP.source}(${VALUE.source}|${CUSTOM_PROPERTY.source}))?\\\\s*\\\\)$`\n  );\n  function parseColor(value2, { loose = false } = {}) {\n    if (typeof value2 !== \"string\") {\n      return null;\n    }\n    value2 = value2.trim();\n    if (value2 === \"transparent\") {\n      return { mode: \"rgb\", color: [\"0\", \"0\", \"0\"], alpha: \"0\" };\n    }\n    if (value2 in colorNames_default) {\n      return { mode: \"rgb\", color: colorNames_default[value2].map((v2) => v2.toString()) };\n    }\n    let hex2 = value2.replace(SHORT_HEX, (_2, r3, g2, b2, a2) => [\"#\", r3, r3, g2, g2, b2, b2, a2 ? a2 + a2 : \"\"].join(\"\")).match(HEX);\n    if (hex2 !== null) {\n      return {\n        mode: \"rgb\",\n        color: [parseInt(hex2[1], 16), parseInt(hex2[2], 16), parseInt(hex2[3], 16)].map(\n          (v2) => v2.toString()\n        ),\n        alpha: hex2[4] ? (parseInt(hex2[4], 16) / 255).toString() : void 0\n      };\n    }\n    let match = value2.match(RGB) ?? value2.match(HSL);\n    if (match === null) {\n      return null;\n    }\n    let color2 = [match[2], match[3], match[4]].filter(Boolean).map((v2) => v2.toString());\n    if (color2.length === 2 && color2[0].startsWith(\"var(\")) {\n      return {\n        mode: match[1],\n        color: [color2[0]],\n        alpha: color2[1]\n      };\n    }\n    if (!loose && color2.length !== 3) {\n      return null;\n    }\n    if (color2.length < 3 && !color2.some((part) => /^var\\(.*?\\)$/.test(part))) {\n      return null;\n    }\n    return {\n      mode: match[1],\n      color: color2,\n      alpha: match[5]?.toString?.()\n    };\n  }\n  function formatColor2({ mode, color: color2, alpha }) {\n    let hasAlpha = alpha !== void 0;\n    if (mode === \"rgba\" || mode === \"hsla\") {\n      return `${mode}(${color2.join(\", \")}${hasAlpha ? `, ${alpha}` : \"\"})`;\n    }\n    return `${mode}(${color2.join(\" \")}${hasAlpha ? ` / ${alpha}` : \"\"})`;\n  }\n  function withAlphaValue(color2, alphaValue, defaultValue) {\n    if (typeof color2 === \"function\") {\n      return color2({ opacityValue: alphaValue });\n    }\n    let parsed = parseColor(color2, { loose: true });\n    if (parsed === null) {\n      return defaultValue;\n    }\n    return formatColor2({ ...parsed, alpha: alphaValue });\n  }\n  function withAlphaVariable({ color: color2, property, variable }) {\n    let properties = [].concat(property);\n    if (typeof color2 === \"function\") {\n      return {\n        [variable]: \"1\",\n        ...Object.fromEntries(\n          properties.map((p4) => {\n            return [p4, color2({ opacityVariable: variable, opacityValue: `var(${variable})` })];\n          })\n        )\n      };\n    }\n    const parsed = parseColor(color2);\n    if (parsed === null) {\n      return Object.fromEntries(properties.map((p4) => [p4, color2]));\n    }\n    if (parsed.alpha !== void 0) {\n      return Object.fromEntries(properties.map((p4) => [p4, color2]));\n    }\n    return {\n      [variable]: \"1\",\n      ...Object.fromEntries(\n        properties.map((p4) => {\n          return [p4, formatColor2({ ...parsed, alpha: `var(${variable})` })];\n        })\n      )\n    };\n  }\n  function splitAtTopLevelOnly2(input, separator) {\n    let stack = [];\n    let parts = [];\n    let lastPos = 0;\n    let isEscaped = false;\n    for (let idx = 0; idx < input.length; idx++) {\n      let char = input[idx];\n      if (stack.length === 0 && char === separator[0] && !isEscaped) {\n        if (separator.length === 1 || input.slice(idx, idx + separator.length) === separator) {\n          parts.push(input.slice(lastPos, idx));\n          lastPos = idx + separator.length;\n        }\n      }\n      if (isEscaped) {\n        isEscaped = false;\n      } else if (char === \"\\\\\") {\n        isEscaped = true;\n      }\n      if (char === \"(\" || char === \"[\" || char === \"{\") {\n        stack.push(char);\n      } else if (char === \")\" && stack[stack.length - 1] === \"(\" || char === \"]\" && stack[stack.length - 1] === \"[\" || char === \"}\" && stack[stack.length - 1] === \"{\") {\n        stack.pop();\n      }\n    }\n    parts.push(input.slice(lastPos));\n    return parts;\n  }\n  var KEYWORDS = /* @__PURE__ */ new Set([\"inset\", \"inherit\", \"initial\", \"revert\", \"unset\"]);\n  var SPACE = /\\ +(?![^(]*\\))/g;\n  var LENGTH = /^-?(\\d+|\\.\\d+)(.*?)$/g;\n  function parseBoxShadowValue(input) {\n    let shadows = splitAtTopLevelOnly2(input, \",\");\n    return shadows.map((shadow2) => {\n      let value2 = shadow2.trim();\n      let result = { raw: value2 };\n      let parts = value2.split(SPACE);\n      let seen = /* @__PURE__ */ new Set();\n      for (let part of parts) {\n        LENGTH.lastIndex = 0;\n        if (!seen.has(\"KEYWORD\") && KEYWORDS.has(part)) {\n          result.keyword = part;\n          seen.add(\"KEYWORD\");\n        } else if (LENGTH.test(part)) {\n          if (!seen.has(\"X\")) {\n            result.x = part;\n            seen.add(\"X\");\n          } else if (!seen.has(\"Y\")) {\n            result.y = part;\n            seen.add(\"Y\");\n          } else if (!seen.has(\"BLUR\")) {\n            result.blur = part;\n            seen.add(\"BLUR\");\n          } else if (!seen.has(\"SPREAD\")) {\n            result.spread = part;\n            seen.add(\"SPREAD\");\n          }\n        } else {\n          if (!result.color) {\n            result.color = part;\n          } else {\n            if (!result.unknown) result.unknown = [];\n            result.unknown.push(part);\n          }\n        }\n      }\n      result.valid = result.x !== void 0 && result.y !== void 0;\n      return result;\n    });\n  }\n  function formatBoxShadowValue(shadows) {\n    return shadows.map((shadow2) => {\n      if (!shadow2.valid) {\n        return shadow2.raw;\n      }\n      return [shadow2.keyword, shadow2.x, shadow2.y, shadow2.blur, shadow2.spread, shadow2.color].filter(Boolean).join(\" \");\n    }).join(\", \");\n  }\n  var cssFunctions = [\"min\", \"max\", \"clamp\", \"calc\"];\n  function isCSSFunction(value2) {\n    return cssFunctions.some((fn5) => new RegExp(`^${fn5}\\\\(.*\\\\)`).test(value2));\n  }\n  var AUTO_VAR_INJECTION_EXCEPTIONS = /* @__PURE__ */ new Set([\n    // Concrete properties\n    \"scroll-timeline-name\",\n    \"timeline-scope\",\n    \"view-timeline-name\",\n    \"font-palette\",\n    // Shorthand properties\n    \"scroll-timeline\",\n    \"animation-timeline\",\n    \"view-timeline\"\n  ]);\n  function normalize2(value2, context = null, isRoot2 = true) {\n    let isVarException = context && AUTO_VAR_INJECTION_EXCEPTIONS.has(context.property);\n    if (value2.startsWith(\"--\") && !isVarException) {\n      return `var(${value2})`;\n    }\n    if (value2.includes(\"url(\")) {\n      return value2.split(/(url\\(.*?\\))/g).filter(Boolean).map((part) => {\n        if (/^url\\(.*?\\)$/.test(part)) {\n          return part;\n        }\n        return normalize2(part, context, false);\n      }).join(\"\");\n    }\n    value2 = value2.replace(\n      /([^\\\\])_+/g,\n      (fullMatch, characterBefore) => characterBefore + \" \".repeat(fullMatch.length - 1)\n    ).replace(/^_/g, \" \").replace(/\\\\_/g, \"_\");\n    if (isRoot2) {\n      value2 = value2.trim();\n    }\n    value2 = normalizeMathOperatorSpacing(value2);\n    return value2;\n  }\n  function normalizeMathOperatorSpacing(value2) {\n    let preventFormattingInFunctions = [\"theme\"];\n    let preventFormattingKeywords = [\n      \"min-content\",\n      \"max-content\",\n      \"fit-content\",\n      // Env\n      \"safe-area-inset-top\",\n      \"safe-area-inset-right\",\n      \"safe-area-inset-bottom\",\n      \"safe-area-inset-left\",\n      \"titlebar-area-x\",\n      \"titlebar-area-y\",\n      \"titlebar-area-width\",\n      \"titlebar-area-height\",\n      \"keyboard-inset-top\",\n      \"keyboard-inset-right\",\n      \"keyboard-inset-bottom\",\n      \"keyboard-inset-left\",\n      \"keyboard-inset-width\",\n      \"keyboard-inset-height\"\n    ];\n    return value2.replace(/(calc|min|max|clamp)\\(.+\\)/g, (match) => {\n      let result = \"\";\n      function lastChar() {\n        let char = result.trimEnd();\n        return char[char.length - 1];\n      }\n      for (let i2 = 0; i2 < match.length; i2++) {\n        let peek = function(word) {\n          return word.split(\"\").every((char2, j2) => match[i2 + j2] === char2);\n        }, consumeUntil = function(chars) {\n          let minIndex = Infinity;\n          for (let char2 of chars) {\n            let index2 = match.indexOf(char2, i2);\n            if (index2 !== -1 && index2 < minIndex) {\n              minIndex = index2;\n            }\n          }\n          let result2 = match.slice(i2, minIndex);\n          i2 += result2.length - 1;\n          return result2;\n        };\n        let char = match[i2];\n        if (peek(\"var\")) {\n          result += consumeUntil([\")\", \",\"]);\n        } else if (preventFormattingKeywords.some((keyword) => peek(keyword))) {\n          let keyword = preventFormattingKeywords.find((keyword2) => peek(keyword2));\n          result += keyword;\n          i2 += keyword.length - 1;\n        } else if (preventFormattingInFunctions.some((fn5) => peek(fn5))) {\n          result += consumeUntil([\")\"]);\n        } else if ([\"+\", \"-\", \"*\", \"/\"].includes(char) && ![\"(\", \"+\", \"-\", \"*\", \"/\"].includes(lastChar())) {\n          result += ` ${char} `;\n        } else {\n          result += char;\n        }\n      }\n      return result.replace(/\\s+/g, \" \");\n    });\n  }\n  function url(value2) {\n    return value2.startsWith(\"url(\");\n  }\n  function number(value2) {\n    return !isNaN(Number(value2)) || isCSSFunction(value2);\n  }\n  function percentage(value2) {\n    return value2.endsWith(\"%\") && number(value2.slice(0, -1)) || isCSSFunction(value2);\n  }\n  var lengthUnits = [\n    \"cm\",\n    \"mm\",\n    \"Q\",\n    \"in\",\n    \"pc\",\n    \"pt\",\n    \"px\",\n    \"em\",\n    \"ex\",\n    \"ch\",\n    \"rem\",\n    \"lh\",\n    \"rlh\",\n    \"vw\",\n    \"vh\",\n    \"vmin\",\n    \"vmax\",\n    \"vb\",\n    \"vi\",\n    \"svw\",\n    \"svh\",\n    \"lvw\",\n    \"lvh\",\n    \"dvw\",\n    \"dvh\",\n    \"cqw\",\n    \"cqh\",\n    \"cqi\",\n    \"cqb\",\n    \"cqmin\",\n    \"cqmax\"\n  ];\n  var lengthUnitsPattern = `(?:${lengthUnits.join(\"|\")})`;\n  function length(value2) {\n    return value2 === \"0\" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${lengthUnitsPattern}$`).test(value2) || isCSSFunction(value2);\n  }\n  var lineWidths = /* @__PURE__ */ new Set([\"thin\", \"medium\", \"thick\"]);\n  function lineWidth(value2) {\n    return lineWidths.has(value2);\n  }\n  function shadow(value2) {\n    let parsedShadows = parseBoxShadowValue(normalize2(value2));\n    for (let parsedShadow of parsedShadows) {\n      if (!parsedShadow.valid) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function color(value2) {\n    let colors = 0;\n    let result = splitAtTopLevelOnly2(value2, \"_\").every((part) => {\n      part = normalize2(part);\n      if (part.startsWith(\"var(\")) return true;\n      if (parseColor(part, { loose: true }) !== null) return colors++, true;\n      return false;\n    });\n    if (!result) return false;\n    return colors > 0;\n  }\n  function image(value2) {\n    let images = 0;\n    let result = splitAtTopLevelOnly2(value2, \",\").every((part) => {\n      part = normalize2(part);\n      if (part.startsWith(\"var(\")) return true;\n      if (url(part) || gradient(part) || [\"element(\", \"image(\", \"cross-fade(\", \"image-set(\"].some((fn5) => part.startsWith(fn5))) {\n        images++;\n        return true;\n      }\n      return false;\n    });\n    if (!result) return false;\n    return images > 0;\n  }\n  var gradientTypes = /* @__PURE__ */ new Set([\n    \"conic-gradient\",\n    \"linear-gradient\",\n    \"radial-gradient\",\n    \"repeating-conic-gradient\",\n    \"repeating-linear-gradient\",\n    \"repeating-radial-gradient\"\n  ]);\n  function gradient(value2) {\n    value2 = normalize2(value2);\n    for (let type of gradientTypes) {\n      if (value2.startsWith(`${type}(`)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  var validPositions = /* @__PURE__ */ new Set([\"center\", \"top\", \"right\", \"bottom\", \"left\"]);\n  function position(value2) {\n    let positions = 0;\n    let result = splitAtTopLevelOnly2(value2, \"_\").every((part) => {\n      part = normalize2(part);\n      if (part.startsWith(\"var(\")) return true;\n      if (validPositions.has(part) || length(part) || percentage(part)) {\n        positions++;\n        return true;\n      }\n      return false;\n    });\n    if (!result) return false;\n    return positions > 0;\n  }\n  function familyName(value2) {\n    let fonts = 0;\n    let result = splitAtTopLevelOnly2(value2, \",\").every((part) => {\n      part = normalize2(part);\n      if (part.startsWith(\"var(\")) return true;\n      if (part.includes(\" \")) {\n        if (!/(['\"])([^\"']+)\\1/g.test(part)) {\n          return false;\n        }\n      }\n      if (/^\\d/g.test(part)) {\n        return false;\n      }\n      fonts++;\n      return true;\n    });\n    if (!result) return false;\n    return fonts > 0;\n  }\n  var genericNames = /* @__PURE__ */ new Set([\n    \"serif\",\n    \"sans-serif\",\n    \"monospace\",\n    \"cursive\",\n    \"fantasy\",\n    \"system-ui\",\n    \"ui-serif\",\n    \"ui-sans-serif\",\n    \"ui-monospace\",\n    \"ui-rounded\",\n    \"math\",\n    \"emoji\",\n    \"fangsong\"\n  ]);\n  function genericName(value2) {\n    return genericNames.has(value2);\n  }\n  var absoluteSizes = /* @__PURE__ */ new Set([\n    \"xx-small\",\n    \"x-small\",\n    \"small\",\n    \"medium\",\n    \"large\",\n    \"x-large\",\n    \"x-large\",\n    \"xxx-large\"\n  ]);\n  function absoluteSize(value2) {\n    return absoluteSizes.has(value2);\n  }\n  var relativeSizes = /* @__PURE__ */ new Set([\"larger\", \"smaller\"]);\n  function relativeSize(value2) {\n    return relativeSizes.has(value2);\n  }\n  function negateValue(value2) {\n    value2 = `${value2}`;\n    if (value2 === \"0\") {\n      return \"0\";\n    }\n    if (/^[+-]?(\\d+|\\d*\\.\\d+)(e[+-]?\\d+)?(%|\\w+)?$/.test(value2)) {\n      return value2.replace(/^[+-]?/, (sign) => sign === \"-\" ? \"\" : \"-\");\n    }\n    let numericFunctions = [\"var\", \"calc\", \"min\", \"max\", \"clamp\"];\n    for (const fn5 of numericFunctions) {\n      if (value2.includes(`${fn5}(`)) {\n        return `calc(${value2} * -1)`;\n      }\n    }\n  }\n  function backgroundSize(value2) {\n    let keywordValues = [\"cover\", \"contain\"];\n    return splitAtTopLevelOnly2(value2, \",\").every((part) => {\n      let sizes = splitAtTopLevelOnly2(part, \"_\").filter(Boolean);\n      if (sizes.length === 1 && keywordValues.includes(sizes[0])) return true;\n      if (sizes.length !== 1 && sizes.length !== 2) return false;\n      return sizes.every((size) => length(size) || percentage(size) || size === \"auto\");\n    });\n  }\n  var picocolors_default = {\n    yellow: (input) => input\n  };\n  function log() {\n  }\n  function dim(input) {\n    return input;\n  }\n  var log_default = {\n    info: log,\n    warn: log,\n    risk: log\n  };\n  var defaults = {\n    optimizeUniversalDefaults: false,\n    generalizedModifiers: true,\n    get disableColorOpacityUtilitiesByDefault() {\n      return void 0;\n    },\n    get relativeContentPathsByDefault() {\n      return void 0;\n    }\n  };\n  var featureFlags = {\n    future: [\n      \"hoverOnlyWhenSupported\",\n      \"respectDefaultRingColorOpacity\",\n      \"disableColorOpacityUtilitiesByDefault\",\n      \"relativeContentPathsByDefault\"\n    ],\n    experimental: [\n      \"optimizeUniversalDefaults\",\n      \"generalizedModifiers\"\n    ]\n  };\n  function flagEnabled2(config, flag) {\n    if (featureFlags.future.includes(flag)) {\n      return config.future === \"all\" || (config?.future?.[flag] ?? defaults[flag] ?? false);\n    }\n    if (featureFlags.experimental.includes(flag)) {\n      return config.experimental === \"all\" || (config?.experimental?.[flag] ?? defaults[flag] ?? false);\n    }\n    return false;\n  }\n  function experimentalFlagsEnabled(config) {\n    if (config.experimental === \"all\") {\n      return featureFlags.experimental;\n    }\n    return Object.keys(config?.experimental ?? {}).filter(\n      (flag) => featureFlags.experimental.includes(flag) && config.experimental[flag]\n    );\n  }\n  function issueFlagNotices(config) {\n    if (true) {\n      return;\n    }\n    if (experimentalFlagsEnabled(config).length > 0) {\n      let changes = experimentalFlagsEnabled(config).map((s2) => picocolors_default.yellow(s2)).join(\", \");\n      log_default.warn(\"experimental-flags-enabled\", [\n        `You have enabled experimental features: ${changes}`,\n        \"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time.\"\n      ]);\n    }\n  }\n  function updateAllClasses(selectors, updateClass) {\n    selectors.walkClasses((sel) => {\n      sel.value = updateClass(sel.value);\n      if (sel.raws && sel.raws.value) {\n        sel.raws.value = escapeCommas(sel.raws.value);\n      }\n    });\n  }\n  function resolveArbitraryValue(modifier, validate) {\n    if (!isArbitraryValue(modifier)) {\n      return void 0;\n    }\n    let value2 = modifier.slice(1, -1);\n    if (!validate(value2)) {\n      return void 0;\n    }\n    return normalize2(value2);\n  }\n  function asNegativeValue(modifier, lookup = {}, validate) {\n    let positiveValue = lookup[modifier];\n    if (positiveValue !== void 0) {\n      return negateValue(positiveValue);\n    }\n    if (isArbitraryValue(modifier)) {\n      let resolved = resolveArbitraryValue(modifier, validate);\n      if (resolved === void 0) {\n        return void 0;\n      }\n      return negateValue(resolved);\n    }\n  }\n  function asValue(modifier, options = {}, { validate = () => true } = {}) {\n    let value2 = options.values?.[modifier];\n    if (value2 !== void 0) {\n      return value2;\n    }\n    if (options.supportsNegativeValues && modifier.startsWith(\"-\")) {\n      return asNegativeValue(modifier.slice(1), options.values, validate);\n    }\n    return resolveArbitraryValue(modifier, validate);\n  }\n  function isArbitraryValue(input) {\n    return input.startsWith(\"[\") && input.endsWith(\"]\");\n  }\n  function splitUtilityModifier(modifier) {\n    let slashIdx = modifier.lastIndexOf(\"/\");\n    if (slashIdx === -1 || slashIdx === modifier.length - 1) {\n      return [modifier, void 0];\n    }\n    let arbitrary = isArbitraryValue(modifier);\n    if (arbitrary && !modifier.includes(\"]/[\")) {\n      return [modifier, void 0];\n    }\n    return [modifier.slice(0, slashIdx), modifier.slice(slashIdx + 1)];\n  }\n  function parseColorFormat(value2) {\n    if (typeof value2 === \"string\" && value2.includes(\"<alpha-value>\")) {\n      let oldValue = value2;\n      return ({ opacityValue = 1 }) => oldValue.replace(\"<alpha-value>\", opacityValue);\n    }\n    return value2;\n  }\n  function unwrapArbitraryModifier(modifier) {\n    return normalize2(modifier.slice(1, -1));\n  }\n  function asColor(modifier, options = {}, { tailwindConfig = {} } = {}) {\n    if (options.values?.[modifier] !== void 0) {\n      return parseColorFormat(options.values?.[modifier]);\n    }\n    let [color2, alpha] = splitUtilityModifier(modifier);\n    if (alpha !== void 0) {\n      let normalizedColor = options.values?.[color2] ?? (isArbitraryValue(color2) ? color2.slice(1, -1) : void 0);\n      if (normalizedColor === void 0) {\n        return void 0;\n      }\n      normalizedColor = parseColorFormat(normalizedColor);\n      if (isArbitraryValue(alpha)) {\n        return withAlphaValue(normalizedColor, unwrapArbitraryModifier(alpha));\n      }\n      if (tailwindConfig.theme?.opacity?.[alpha] === void 0) {\n        return void 0;\n      }\n      return withAlphaValue(normalizedColor, tailwindConfig.theme.opacity[alpha]);\n    }\n    return asValue(modifier, options, { validate: color });\n  }\n  function asLookupValue(modifier, options = {}) {\n    return options.values?.[modifier];\n  }\n  function guess(validate) {\n    return (modifier, options) => {\n      return asValue(modifier, options, { validate });\n    };\n  }\n  var typeMap = {\n    any: asValue,\n    color: asColor,\n    url: guess(url),\n    image: guess(image),\n    length: guess(length),\n    percentage: guess(percentage),\n    position: guess(position),\n    lookup: asLookupValue,\n    \"generic-name\": guess(genericName),\n    \"family-name\": guess(familyName),\n    number: guess(number),\n    \"line-width\": guess(lineWidth),\n    \"absolute-size\": guess(absoluteSize),\n    \"relative-size\": guess(relativeSize),\n    shadow: guess(shadow),\n    size: guess(backgroundSize)\n  };\n  var supportedTypes = Object.keys(typeMap);\n  function splitAtFirst(input, delim) {\n    let idx = input.indexOf(delim);\n    if (idx === -1) return [void 0, input];\n    return [input.slice(0, idx), input.slice(idx + 1)];\n  }\n  function coerceValue(types2, modifier, options, tailwindConfig) {\n    if (options.values && modifier in options.values) {\n      for (let { type } of types2 ?? []) {\n        let result = typeMap[type](modifier, options, {\n          tailwindConfig\n        });\n        if (result === void 0) {\n          continue;\n        }\n        return [result, type, null];\n      }\n    }\n    if (isArbitraryValue(modifier)) {\n      let arbitraryValue = modifier.slice(1, -1);\n      let [explicitType, value2] = splitAtFirst(arbitraryValue, \":\");\n      if (!/^[\\w-_]+$/g.test(explicitType)) {\n        value2 = arbitraryValue;\n      } else if (explicitType !== void 0 && !supportedTypes.includes(explicitType)) {\n        return [];\n      }\n      if (value2.length > 0 && supportedTypes.includes(explicitType)) {\n        return [asValue(`[${value2}]`, options), explicitType, null];\n      }\n    }\n    let matches = getMatchingTypes(types2, modifier, options, tailwindConfig);\n    for (let match of matches) {\n      return match;\n    }\n    return [];\n  }\n  function* getMatchingTypes(types2, rawModifier, options, tailwindConfig) {\n    let modifiersEnabled = flagEnabled2(tailwindConfig, \"generalizedModifiers\");\n    let [modifier, utilityModifier] = splitUtilityModifier(rawModifier);\n    let canUseUtilityModifier = modifiersEnabled && options.modifiers != null && (options.modifiers === \"any\" || typeof options.modifiers === \"object\" && (utilityModifier && isArbitraryValue(utilityModifier) || utilityModifier in options.modifiers));\n    if (!canUseUtilityModifier) {\n      modifier = rawModifier;\n      utilityModifier = void 0;\n    }\n    if (utilityModifier !== void 0 && modifier === \"\") {\n      modifier = \"DEFAULT\";\n    }\n    if (utilityModifier !== void 0) {\n      if (typeof options.modifiers === \"object\") {\n        let configValue = options.modifiers?.[utilityModifier] ?? null;\n        if (configValue !== null) {\n          utilityModifier = configValue;\n        } else if (isArbitraryValue(utilityModifier)) {\n          utilityModifier = unwrapArbitraryModifier(utilityModifier);\n        }\n      }\n    }\n    for (let { type } of types2 ?? []) {\n      let result = typeMap[type](modifier, options, {\n        tailwindConfig\n      });\n      if (result === void 0) {\n        continue;\n      }\n      yield [result, type, utilityModifier ?? null];\n    }\n  }\n  var version = \"3.3.5\";\n  var package_default = {\n    name: \"tailwindcss\",\n    version,\n    description: \"A utility-first CSS framework for rapidly building custom user interfaces.\",\n    license: \"MIT\",\n    main: \"lib/index.js\",\n    types: \"types/index.d.ts\",\n    repository: \"https://github.com/tailwindlabs/tailwindcss.git\",\n    bugs: \"https://github.com/tailwindlabs/tailwindcss/issues\",\n    homepage: \"https://tailwindcss.com\",\n    bin: {\n      tailwind: \"lib/cli.js\",\n      tailwindcss: \"lib/cli.js\"\n    },\n    tailwindcss: {\n      engine: \"stable\"\n    },\n    scripts: {\n      prebuild: \"npm run generate && rimraf lib\",\n      build: `swc src --out-dir lib --copy-files --config jsc.transform.optimizer.globals.vars.__OXIDE__='\"false\"'`,\n      postbuild: \"esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false\",\n      \"rebuild-fixtures\": \"npm run build && node -r @swc/register scripts/rebuildFixtures.js\",\n      style: \"eslint .\",\n      pretest: \"npm run generate\",\n      test: \"jest\",\n      \"test:integrations\": \"npm run test --prefix ./integrations\",\n      \"install:integrations\": \"node scripts/install-integrations.js\",\n      \"generate:plugin-list\": \"node -r @swc/register scripts/create-plugin-list.js\",\n      \"generate:types\": \"node -r @swc/register scripts/generate-types.js\",\n      generate: \"npm run generate:plugin-list && npm run generate:types\",\n      \"release-channel\": \"node ./scripts/release-channel.js\",\n      \"release-notes\": \"node ./scripts/release-notes.js\",\n      prepublishOnly: \"npm install --force && npm run build\"\n    },\n    files: [\n      \"src/*\",\n      \"cli/*\",\n      \"lib/*\",\n      \"peers/*\",\n      \"scripts/*.js\",\n      \"stubs/*\",\n      \"nesting/*\",\n      \"types/**/*\",\n      \"*.d.ts\",\n      \"*.css\",\n      \"*.js\"\n    ],\n    devDependencies: {\n      \"@swc/cli\": \"^0.1.62\",\n      \"@swc/core\": \"^1.3.55\",\n      \"@swc/jest\": \"^0.2.26\",\n      \"@swc/register\": \"^0.1.10\",\n      autoprefixer: \"^10.4.14\",\n      browserslist: \"^4.21.5\",\n      concurrently: \"^8.0.1\",\n      cssnano: \"^6.0.0\",\n      esbuild: \"^0.17.18\",\n      eslint: \"^8.39.0\",\n      \"eslint-config-prettier\": \"^8.8.0\",\n      \"eslint-plugin-prettier\": \"^4.2.1\",\n      jest: \"^29.6.0\",\n      \"jest-diff\": \"^29.6.0\",\n      lightningcss: \"1.18.0\",\n      prettier: \"^2.8.8\",\n      rimraf: \"^5.0.0\",\n      \"source-map-js\": \"^1.0.2\",\n      turbo: \"^1.9.3\"\n    },\n    dependencies: {\n      \"@alloc/quick-lru\": \"^5.2.0\",\n      arg: \"^5.0.2\",\n      chokidar: \"^3.5.3\",\n      didyoumean: \"^1.2.2\",\n      dlv: \"^1.1.3\",\n      \"fast-glob\": \"^3.3.0\",\n      \"glob-parent\": \"^6.0.2\",\n      \"is-glob\": \"^4.0.3\",\n      jiti: \"^1.19.1\",\n      lilconfig: \"^2.1.0\",\n      micromatch: \"^4.0.5\",\n      \"normalize-path\": \"^3.0.0\",\n      \"object-hash\": \"^3.0.0\",\n      picocolors: \"^1.0.0\",\n      postcss: \"^8.4.23\",\n      \"postcss-import\": \"^15.1.0\",\n      \"postcss-js\": \"^4.0.1\",\n      \"postcss-load-config\": \"^4.0.1\",\n      \"postcss-nested\": \"^6.0.1\",\n      \"postcss-selector-parser\": \"^6.0.11\",\n      resolve: \"^1.22.2\",\n      sucrase: \"^3.32.0\"\n    },\n    browserslist: [\n      \"> 1%\",\n      \"not edge <= 18\",\n      \"not ie 11\",\n      \"not op_mini all\"\n    ],\n    jest: {\n      testTimeout: 3e4,\n      setupFilesAfterEnv: [\n        \"<rootDir>/jest/customMatchers.js\"\n      ],\n      testPathIgnorePatterns: [\n        \"/node_modules/\",\n        \"/integrations/\",\n        \"/standalone-cli/\",\n        \"\\\\.test\\\\.skip\\\\.js$\"\n      ],\n      transformIgnorePatterns: [\n        \"node_modules/(?!lightningcss)\"\n      ],\n      transform: {\n        \"\\\\.js$\": \"@swc/jest\",\n        \"\\\\.ts$\": \"@swc/jest\"\n      }\n    },\n    engines: {\n      node: \">=14.0.0\"\n    }\n  };\n  var env2 = typeof process !== \"undefined\" ? {\n    NODE_ENV: \"production\",\n    DEBUG: resolveDebug(void 0),\n    ENGINE: package_default.tailwindcss.engine\n  } : {\n    NODE_ENV: \"production\",\n    DEBUG: false,\n    ENGINE: package_default.tailwindcss.engine\n  };\n  var NOT_ON_DEMAND = new String(\"*\");\n  var NONE = Symbol(\"__NONE__\");\n  function resolveDebug(debug) {\n    if (debug === void 0) {\n      return false;\n    }\n    if (debug === \"true\" || debug === \"1\") {\n      return true;\n    }\n    if (debug === \"false\" || debug === \"0\") {\n      return false;\n    }\n    if (debug === \"*\") {\n      return true;\n    }\n    let debuggers = debug.split(\",\").map((d2) => d2.split(\":\")[0]);\n    if (debuggers.includes(\"-tailwindcss\")) {\n      return false;\n    }\n    if (debuggers.includes(\"tailwindcss\")) {\n      return true;\n    }\n    return false;\n  }\n  function escapeClassName2(className) {\n    let node = import_postcss_selector_parser7.default.className();\n    node.value = className;\n    return escapeCommas(node?.raws?.value ?? node.value);\n  }\n  var elementProperties = {\n    // Pseudo elements from the spec\n    \"::after\": [\"terminal\", \"jumpable\"],\n    \"::backdrop\": [\"terminal\", \"jumpable\"],\n    \"::before\": [\"terminal\", \"jumpable\"],\n    \"::cue\": [\"terminal\"],\n    \"::cue-region\": [\"terminal\"],\n    \"::first-letter\": [\"terminal\", \"jumpable\"],\n    \"::first-line\": [\"terminal\", \"jumpable\"],\n    \"::grammar-error\": [\"terminal\"],\n    \"::marker\": [\"terminal\", \"jumpable\"],\n    \"::part\": [\"terminal\", \"actionable\"],\n    \"::placeholder\": [\"terminal\", \"jumpable\"],\n    \"::selection\": [\"terminal\", \"jumpable\"],\n    \"::slotted\": [\"terminal\"],\n    \"::spelling-error\": [\"terminal\"],\n    \"::target-text\": [\"terminal\"],\n    // Pseudo elements from the spec with special rules\n    \"::file-selector-button\": [\"terminal\", \"actionable\"],\n    // Library-specific pseudo elements used by component libraries\n    // These are Shadow DOM-like\n    \"::deep\": [\"actionable\"],\n    \"::v-deep\": [\"actionable\"],\n    \"::ng-deep\": [\"actionable\"],\n    // Note: As a rule, double colons (::) should be used instead of a single colon\n    // (:). This distinguishes pseudo-classes from pseudo-elements. However, since\n    // this distinction was not present in older versions of the W3C spec, most\n    // browsers support both syntaxes for the original pseudo-elements.\n    \":after\": [\"terminal\", \"jumpable\"],\n    \":before\": [\"terminal\", \"jumpable\"],\n    \":first-letter\": [\"terminal\", \"jumpable\"],\n    \":first-line\": [\"terminal\", \"jumpable\"],\n    // The default value is used when the pseudo-element is not recognized\n    // Because it's not recognized, we don't know if it's terminal or not\n    // So we assume it can be moved AND can have user-action pseudo classes attached to it\n    __default__: [\"terminal\", \"actionable\"]\n  };\n  function movePseudos(sel) {\n    let [pseudos] = movablePseudos(sel);\n    pseudos.forEach(([sel2, pseudo]) => sel2.removeChild(pseudo));\n    sel.nodes.push(...pseudos.map(([, pseudo]) => pseudo));\n    return sel;\n  }\n  function movablePseudos(sel) {\n    let buffer = [];\n    let lastSeenElement = null;\n    for (let node of sel.nodes) {\n      if (node.type === \"combinator\") {\n        buffer = buffer.filter(([, node2]) => propertiesForPseudo(node2).includes(\"jumpable\"));\n        lastSeenElement = null;\n      } else if (node.type === \"pseudo\") {\n        if (isMovablePseudoElement(node)) {\n          lastSeenElement = node;\n          buffer.push([sel, node, null]);\n        } else if (lastSeenElement && isAttachablePseudoClass(node, lastSeenElement)) {\n          buffer.push([sel, node, lastSeenElement]);\n        } else {\n          lastSeenElement = null;\n        }\n        for (let sub of node.nodes ?? []) {\n          let [movable, lastSeenElementInSub] = movablePseudos(sub);\n          lastSeenElement = lastSeenElementInSub || lastSeenElement;\n          buffer.push(...movable);\n        }\n      }\n    }\n    return [buffer, lastSeenElement];\n  }\n  function isPseudoElement(node) {\n    return node.value.startsWith(\"::\") || elementProperties[node.value] !== void 0;\n  }\n  function isMovablePseudoElement(node) {\n    return isPseudoElement(node) && propertiesForPseudo(node).includes(\"terminal\");\n  }\n  function isAttachablePseudoClass(node, pseudo) {\n    if (node.type !== \"pseudo\") return false;\n    if (isPseudoElement(node)) return false;\n    return propertiesForPseudo(pseudo).includes(\"actionable\");\n  }\n  function propertiesForPseudo(pseudo) {\n    return elementProperties[pseudo.value] ?? elementProperties.__default__;\n  }\n  var MERGE = \":merge\";\n  function formatVariantSelector(formats, { context, candidate }) {\n    let prefix3 = context?.tailwindConfig.prefix ?? \"\";\n    let parsedFormats = formats.map((format) => {\n      let ast = (0, import_postcss_selector_parser6.default)().astSync(format.format);\n      return {\n        ...format,\n        ast: format.respectPrefix ? prefixSelector_default(prefix3, ast) : ast\n      };\n    });\n    let formatAst = import_postcss_selector_parser6.default.root({\n      nodes: [\n        import_postcss_selector_parser6.default.selector({\n          nodes: [import_postcss_selector_parser6.default.className({ value: escapeClassName2(candidate) })]\n        })\n      ]\n    });\n    for (let { ast } of parsedFormats) {\n      ;\n      [formatAst, ast] = handleMergePseudo(formatAst, ast);\n      ast.walkNesting((nesting) => nesting.replaceWith(...formatAst.nodes[0].nodes));\n      formatAst = ast;\n    }\n    return formatAst;\n  }\n  function simpleSelectorForNode(node) {\n    let nodes = [];\n    while (node.prev() && node.prev().type !== \"combinator\") {\n      node = node.prev();\n    }\n    while (node && node.type !== \"combinator\") {\n      nodes.push(node);\n      node = node.next();\n    }\n    return nodes;\n  }\n  function resortSelector(sel) {\n    sel.sort((a2, b2) => {\n      if (a2.type === \"tag\" && b2.type === \"class\") {\n        return -1;\n      } else if (a2.type === \"class\" && b2.type === \"tag\") {\n        return 1;\n      } else if (a2.type === \"class\" && b2.type === \"pseudo\" && b2.value.startsWith(\"::\")) {\n        return -1;\n      } else if (a2.type === \"pseudo\" && a2.value.startsWith(\"::\") && b2.type === \"class\") {\n        return 1;\n      }\n      return sel.index(a2) - sel.index(b2);\n    });\n    return sel;\n  }\n  function eliminateIrrelevantSelectors(sel, base) {\n    let hasClassesMatchingCandidate = false;\n    sel.walk((child) => {\n      if (child.type === \"class\" && child.value === base) {\n        hasClassesMatchingCandidate = true;\n        return false;\n      }\n    });\n    if (!hasClassesMatchingCandidate) {\n      sel.remove();\n    }\n  }\n  function finalizeSelector(current, formats, { context, candidate, base }) {\n    let separator = context?.tailwindConfig?.separator ?? \":\";\n    base = base ?? splitAtTopLevelOnly2(candidate, separator).pop();\n    let selector = (0, import_postcss_selector_parser6.default)().astSync(current);\n    selector.walkClasses((node) => {\n      if (node.raws && node.value.includes(base)) {\n        node.raws.value = escapeClassName2((0, import_unesc.default)(node.raws.value));\n      }\n    });\n    selector.each((sel) => eliminateIrrelevantSelectors(sel, base));\n    if (selector.length === 0) {\n      return null;\n    }\n    let formatAst = Array.isArray(formats) ? formatVariantSelector(formats, { context, candidate }) : formats;\n    if (formatAst === null) {\n      return selector.toString();\n    }\n    let simpleStart = import_postcss_selector_parser6.default.comment({ value: \"/*__simple__*/\" });\n    let simpleEnd = import_postcss_selector_parser6.default.comment({ value: \"/*__simple__*/\" });\n    selector.walkClasses((node) => {\n      if (node.value !== base) {\n        return;\n      }\n      let parent = node.parent;\n      let formatNodes = formatAst.nodes[0].nodes;\n      if (parent.nodes.length === 1) {\n        node.replaceWith(...formatNodes);\n        return;\n      }\n      let simpleSelector = simpleSelectorForNode(node);\n      parent.insertBefore(simpleSelector[0], simpleStart);\n      parent.insertAfter(simpleSelector[simpleSelector.length - 1], simpleEnd);\n      for (let child of formatNodes) {\n        parent.insertBefore(simpleSelector[0], child.clone());\n      }\n      node.remove();\n      simpleSelector = simpleSelectorForNode(simpleStart);\n      let firstNode = parent.index(simpleStart);\n      parent.nodes.splice(\n        firstNode,\n        simpleSelector.length,\n        ...resortSelector(import_postcss_selector_parser6.default.selector({ nodes: simpleSelector })).nodes\n      );\n      simpleStart.remove();\n      simpleEnd.remove();\n    });\n    selector.walkPseudos((p4) => {\n      if (p4.value === MERGE) {\n        p4.replaceWith(p4.nodes);\n      }\n    });\n    selector.each((sel) => movePseudos(sel));\n    return selector.toString();\n  }\n  function handleMergePseudo(selector, format) {\n    let merges = [];\n    selector.walkPseudos((pseudo) => {\n      if (pseudo.value === MERGE) {\n        merges.push({\n          pseudo,\n          value: pseudo.nodes[0].toString()\n        });\n      }\n    });\n    format.walkPseudos((pseudo) => {\n      if (pseudo.value !== MERGE) {\n        return;\n      }\n      let value2 = pseudo.nodes[0].toString();\n      let existing = merges.find((merge) => merge.value === value2);\n      if (!existing) {\n        return;\n      }\n      let attachments = [];\n      let next = pseudo.next();\n      while (next && next.type !== \"combinator\") {\n        attachments.push(next);\n        next = next.next();\n      }\n      let combinator = next;\n      existing.pseudo.parent.insertAfter(\n        existing.pseudo,\n        import_postcss_selector_parser6.default.selector({ nodes: attachments.map((node) => node.clone()) })\n      );\n      pseudo.remove();\n      attachments.forEach((node) => node.remove());\n      if (combinator && combinator.type === \"combinator\") {\n        combinator.remove();\n      }\n    });\n    return [selector, format];\n  }\n  function asClass(name) {\n    return escapeCommas(`.${escapeClassName2(name)}`);\n  }\n  function nameClass(classPrefix, key) {\n    return asClass(formatClass(classPrefix, key));\n  }\n  function formatClass(classPrefix, key) {\n    if (key === \"DEFAULT\") {\n      return classPrefix;\n    }\n    if (key === \"-\" || key === \"-DEFAULT\") {\n      return `-${classPrefix}`;\n    }\n    if (key.startsWith(\"-\")) {\n      return `-${classPrefix}${key}`;\n    }\n    if (key.startsWith(\"/\")) {\n      return `${classPrefix}${key}`;\n    }\n    return `${classPrefix}-${key}`;\n  }\n  var preflight_default = \"/*\\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\\n*/\\n\\n*,\\n::before,\\n::after {\\n  box-sizing: border-box; /* 1 */\\n  border-width: 0; /* 2 */\\n  border-style: solid; /* 2 */\\n  border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */\\n}\\n\\n::before,\\n::after {\\n  --tw-content: '';\\n}\\n\\n/*\\n1. Use a consistent sensible line-height in all browsers.\\n2. Prevent adjustments of font size after orientation changes in iOS.\\n3. Use a more readable tab size.\\n4. Use the user's configured `sans` font-family by default.\\n5. Use the user's configured `sans` font-feature-settings by default.\\n6. Use the user's configured `sans` font-variation-settings by default.\\n*/\\n\\nhtml {\\n  line-height: 1.5; /* 1 */\\n  -webkit-text-size-adjust: 100%; /* 2 */\\n  -moz-tab-size: 4; /* 3 */\\n  tab-size: 4; /* 3 */\\n  font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, \\\"Helvetica Neue\\\", Arial, \\\"Noto Sans\\\", sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\", \\\"Noto Color Emoji\\\"); /* 4 */\\n  font-feature-settings: theme('fontFamily.sans[1].fontFeatureSettings', normal); /* 5 */\\n  font-variation-settings: theme('fontFamily.sans[1].fontVariationSettings', normal); /* 6 */\\n}\\n\\n/*\\n1. Remove the margin in all browsers.\\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\\n*/\\n\\nbody {\\n  margin: 0; /* 1 */\\n  line-height: inherit; /* 2 */\\n}\\n\\n/*\\n1. Add the correct height in Firefox.\\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\\n3. Ensure horizontal rules are visible by default.\\n*/\\n\\nhr {\\n  height: 0; /* 1 */\\n  color: inherit; /* 2 */\\n  border-top-width: 1px; /* 3 */\\n}\\n\\n/*\\nAdd the correct text decoration in Chrome, Edge, and Safari.\\n*/\\n\\nabbr:where([title]) {\\n  text-decoration: underline dotted;\\n}\\n\\n/*\\nRemove the default font size and weight for headings.\\n*/\\n\\nh1,\\nh2,\\nh3,\\nh4,\\nh5,\\nh6 {\\n  font-size: inherit;\\n  font-weight: inherit;\\n}\\n\\n/*\\nReset links to optimize for opt-in styling instead of opt-out.\\n*/\\n\\na {\\n  color: inherit;\\n  text-decoration: inherit;\\n}\\n\\n/*\\nAdd the correct font weight in Edge and Safari.\\n*/\\n\\nb,\\nstrong {\\n  font-weight: bolder;\\n}\\n\\n/*\\n1. Use the user's configured `mono` font family by default.\\n2. Correct the odd `em` font sizing in all browsers.\\n*/\\n\\ncode,\\nkbd,\\nsamp,\\npre {\\n  font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \\\"Liberation Mono\\\", \\\"Courier New\\\", monospace); /* 1 */\\n  font-size: 1em; /* 2 */\\n}\\n\\n/*\\nAdd the correct font size in all browsers.\\n*/\\n\\nsmall {\\n  font-size: 80%;\\n}\\n\\n/*\\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\\n*/\\n\\nsub,\\nsup {\\n  font-size: 75%;\\n  line-height: 0;\\n  position: relative;\\n  vertical-align: baseline;\\n}\\n\\nsub {\\n  bottom: -0.25em;\\n}\\n\\nsup {\\n  top: -0.5em;\\n}\\n\\n/*\\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\\n3. Remove gaps between table borders by default.\\n*/\\n\\ntable {\\n  text-indent: 0; /* 1 */\\n  border-color: inherit; /* 2 */\\n  border-collapse: collapse; /* 3 */\\n}\\n\\n/*\\n1. Change the font styles in all browsers.\\n2. Remove the margin in Firefox and Safari.\\n3. Remove default padding in all browsers.\\n*/\\n\\nbutton,\\ninput,\\noptgroup,\\nselect,\\ntextarea {\\n  font-family: inherit; /* 1 */\\n  font-feature-settings: inherit; /* 1 */\\n  font-variation-settings: inherit; /* 1 */\\n  font-size: 100%; /* 1 */\\n  font-weight: inherit; /* 1 */\\n  line-height: inherit; /* 1 */\\n  color: inherit; /* 1 */\\n  margin: 0; /* 2 */\\n  padding: 0; /* 3 */\\n}\\n\\n/*\\nRemove the inheritance of text transform in Edge and Firefox.\\n*/\\n\\nbutton,\\nselect {\\n  text-transform: none;\\n}\\n\\n/*\\n1. Correct the inability to style clickable types in iOS and Safari.\\n2. Remove default button styles.\\n*/\\n\\nbutton,\\n[type='button'],\\n[type='reset'],\\n[type='submit'] {\\n  -webkit-appearance: button; /* 1 */\\n  background-color: transparent; /* 2 */\\n  background-image: none; /* 2 */\\n}\\n\\n/*\\nUse the modern Firefox focus style for all focusable elements.\\n*/\\n\\n:-moz-focusring {\\n  outline: auto;\\n}\\n\\n/*\\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\\n*/\\n\\n:-moz-ui-invalid {\\n  box-shadow: none;\\n}\\n\\n/*\\nAdd the correct vertical alignment in Chrome and Firefox.\\n*/\\n\\nprogress {\\n  vertical-align: baseline;\\n}\\n\\n/*\\nCorrect the cursor style of increment and decrement buttons in Safari.\\n*/\\n\\n::-webkit-inner-spin-button,\\n::-webkit-outer-spin-button {\\n  height: auto;\\n}\\n\\n/*\\n1. Correct the odd appearance in Chrome and Safari.\\n2. Correct the outline style in Safari.\\n*/\\n\\n[type='search'] {\\n  -webkit-appearance: textfield; /* 1 */\\n  outline-offset: -2px; /* 2 */\\n}\\n\\n/*\\nRemove the inner padding in Chrome and Safari on macOS.\\n*/\\n\\n::-webkit-search-decoration {\\n  -webkit-appearance: none;\\n}\\n\\n/*\\n1. Correct the inability to style clickable types in iOS and Safari.\\n2. Change font properties to `inherit` in Safari.\\n*/\\n\\n::-webkit-file-upload-button {\\n  -webkit-appearance: button; /* 1 */\\n  font: inherit; /* 2 */\\n}\\n\\n/*\\nAdd the correct display in Chrome and Safari.\\n*/\\n\\nsummary {\\n  display: list-item;\\n}\\n\\n/*\\nRemoves the default spacing and border for appropriate elements.\\n*/\\n\\nblockquote,\\ndl,\\ndd,\\nh1,\\nh2,\\nh3,\\nh4,\\nh5,\\nh6,\\nhr,\\nfigure,\\np,\\npre {\\n  margin: 0;\\n}\\n\\nfieldset {\\n  margin: 0;\\n  padding: 0;\\n}\\n\\nlegend {\\n  padding: 0;\\n}\\n\\nol,\\nul,\\nmenu {\\n  list-style: none;\\n  margin: 0;\\n  padding: 0;\\n}\\n\\n/*\\nReset default styling for dialogs.\\n*/\\ndialog {\\n  padding: 0;\\n}\\n\\n/*\\nPrevent resizing textareas horizontally by default.\\n*/\\n\\ntextarea {\\n  resize: vertical;\\n}\\n\\n/*\\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\\n2. Set the default placeholder color to the user's configured gray 400 color.\\n*/\\n\\ninput::placeholder,\\ntextarea::placeholder {\\n  opacity: 1; /* 1 */\\n  color: theme('colors.gray.400', #9ca3af); /* 2 */\\n}\\n\\n/*\\nSet the default cursor for buttons.\\n*/\\n\\nbutton,\\n[role=\\\"button\\\"] {\\n  cursor: pointer;\\n}\\n\\n/*\\nMake sure disabled buttons don't get the pointer cursor.\\n*/\\n:disabled {\\n  cursor: default;\\n}\\n\\n/*\\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\\n   This can trigger a poorly considered lint error in some tools but is included by design.\\n*/\\n\\nimg,\\nsvg,\\nvideo,\\ncanvas,\\naudio,\\niframe,\\nembed,\\nobject {\\n  display: block; /* 1 */\\n  vertical-align: middle; /* 2 */\\n}\\n\\n/*\\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\\n*/\\n\\nimg,\\nvideo {\\n  max-width: 100%;\\n  height: auto;\\n}\\n\\n/* Make elements with the HTML hidden attribute stay hidden by default */\\n[hidden] {\\n  display: none;\\n}\\n\";\n  var fs_default = {\n    // Reading the preflight CSS is the only use of fs at the moment of writing.\n    readFileSync: () => preflight_default\n  };\n  function transformThemeValue(themeSection) {\n    if ([\"fontSize\", \"outline\"].includes(themeSection)) {\n      return (value2) => {\n        if (typeof value2 === \"function\") value2 = value2({});\n        if (Array.isArray(value2)) value2 = value2[0];\n        return value2;\n      };\n    }\n    if (themeSection === \"fontFamily\") {\n      return (value2) => {\n        if (typeof value2 === \"function\") value2 = value2({});\n        let families = Array.isArray(value2) && isPlainObject(value2[1]) ? value2[0] : value2;\n        return Array.isArray(families) ? families.join(\", \") : families;\n      };\n    }\n    if ([\n      \"boxShadow\",\n      \"transitionProperty\",\n      \"transitionDuration\",\n      \"transitionDelay\",\n      \"transitionTimingFunction\",\n      \"backgroundImage\",\n      \"backgroundSize\",\n      \"backgroundColor\",\n      \"cursor\",\n      \"animation\"\n    ].includes(themeSection)) {\n      return (value2) => {\n        if (typeof value2 === \"function\") value2 = value2({});\n        if (Array.isArray(value2)) value2 = value2.join(\", \");\n        return value2;\n      };\n    }\n    if ([\"gridTemplateColumns\", \"gridTemplateRows\", \"objectPosition\"].includes(themeSection)) {\n      return (value2) => {\n        if (typeof value2 === \"function\") value2 = value2({});\n        if (typeof value2 === \"string\") value2 = postcss_default.list.comma(value2).join(\" \");\n        return value2;\n      };\n    }\n    return (value2, opts = {}) => {\n      if (typeof value2 === \"function\") {\n        value2 = value2(opts);\n      }\n      return value2;\n    };\n  }\n  var join = () => \"\";\n  function createUtilityPlugin(themeKey, utilityVariations = [[themeKey, [themeKey]]], { filterDefault = false, ...options } = {}) {\n    let transformValue = transformThemeValue(themeKey);\n    return function({ matchUtilities, theme }) {\n      for (let utilityVariation of utilityVariations) {\n        let group = Array.isArray(utilityVariation[0]) ? utilityVariation : [utilityVariation];\n        matchUtilities(\n          group.reduce((obj, [classPrefix, properties]) => {\n            return Object.assign(obj, {\n              [classPrefix]: (value2) => {\n                return properties.reduce((obj2, name) => {\n                  if (Array.isArray(name)) {\n                    return Object.assign(obj2, { [name[0]]: name[1] });\n                  }\n                  return Object.assign(obj2, { [name]: transformValue(value2) });\n                }, {});\n              }\n            });\n          }, {}),\n          {\n            ...options,\n            values: filterDefault ? Object.fromEntries(\n              Object.entries(theme(themeKey) ?? {}).filter(([modifier]) => modifier !== \"DEFAULT\")\n            ) : theme(themeKey)\n          }\n        );\n      }\n    };\n  }\n  function buildMediaQuery(screens) {\n    screens = Array.isArray(screens) ? screens : [screens];\n    return screens.map((screen) => {\n      let values = screen.values.map((screen2) => {\n        if (screen2.raw !== void 0) {\n          return screen2.raw;\n        }\n        return [\n          screen2.min && `(min-width: ${screen2.min})`,\n          screen2.max && `(max-width: ${screen2.max})`\n        ].filter(Boolean).join(\" and \");\n      });\n      return screen.not ? `not all and ${values}` : values;\n    }).join(\", \");\n  }\n  var DIRECTIONS = /* @__PURE__ */ new Set([\"normal\", \"reverse\", \"alternate\", \"alternate-reverse\"]);\n  var PLAY_STATES = /* @__PURE__ */ new Set([\"running\", \"paused\"]);\n  var FILL_MODES = /* @__PURE__ */ new Set([\"none\", \"forwards\", \"backwards\", \"both\"]);\n  var ITERATION_COUNTS = /* @__PURE__ */ new Set([\"infinite\"]);\n  var TIMINGS = /* @__PURE__ */ new Set([\n    \"linear\",\n    \"ease\",\n    \"ease-in\",\n    \"ease-out\",\n    \"ease-in-out\",\n    \"step-start\",\n    \"step-end\"\n  ]);\n  var TIMING_FNS = [\"cubic-bezier\", \"steps\"];\n  var COMMA = /\\,(?![^(]*\\))/g;\n  var SPACE2 = /\\ +(?![^(]*\\))/g;\n  var TIME = /^(-?[\\d.]+m?s)$/;\n  var DIGIT = /^(\\d+)$/;\n  function parseAnimationValue(input) {\n    let animations = input.split(COMMA);\n    return animations.map((animation) => {\n      let value2 = animation.trim();\n      let result = { value: value2 };\n      let parts = value2.split(SPACE2);\n      let seen = /* @__PURE__ */ new Set();\n      for (let part of parts) {\n        if (!seen.has(\"DIRECTIONS\") && DIRECTIONS.has(part)) {\n          result.direction = part;\n          seen.add(\"DIRECTIONS\");\n        } else if (!seen.has(\"PLAY_STATES\") && PLAY_STATES.has(part)) {\n          result.playState = part;\n          seen.add(\"PLAY_STATES\");\n        } else if (!seen.has(\"FILL_MODES\") && FILL_MODES.has(part)) {\n          result.fillMode = part;\n          seen.add(\"FILL_MODES\");\n        } else if (!seen.has(\"ITERATION_COUNTS\") && (ITERATION_COUNTS.has(part) || DIGIT.test(part))) {\n          result.iterationCount = part;\n          seen.add(\"ITERATION_COUNTS\");\n        } else if (!seen.has(\"TIMING_FUNCTION\") && TIMINGS.has(part)) {\n          result.timingFunction = part;\n          seen.add(\"TIMING_FUNCTION\");\n        } else if (!seen.has(\"TIMING_FUNCTION\") && TIMING_FNS.some((f5) => part.startsWith(`${f5}(`))) {\n          result.timingFunction = part;\n          seen.add(\"TIMING_FUNCTION\");\n        } else if (!seen.has(\"DURATION\") && TIME.test(part)) {\n          result.duration = part;\n          seen.add(\"DURATION\");\n        } else if (!seen.has(\"DELAY\") && TIME.test(part)) {\n          result.delay = part;\n          seen.add(\"DELAY\");\n        } else if (!seen.has(\"NAME\")) {\n          result.name = part;\n          seen.add(\"NAME\");\n        } else {\n          if (!result.unknown) result.unknown = [];\n          result.unknown.push(part);\n        }\n      }\n      return result;\n    });\n  }\n  var flattenColorPalette = (colors) => Object.assign(\n    {},\n    ...Object.entries(colors ?? {}).flatMap(\n      ([color2, values]) => typeof values == \"object\" ? Object.entries(flattenColorPalette(values)).map(([number2, hex2]) => ({\n        [color2 + (number2 === \"DEFAULT\" ? \"\" : `-${number2}`)]: hex2\n      })) : [{ [`${color2}`]: values }]\n    )\n  );\n  var flattenColorPalette_default = flattenColorPalette;\n  function toColorValue(maybeFunction) {\n    return typeof maybeFunction === \"function\" ? maybeFunction({}) : maybeFunction;\n  }\n  function normalizeScreens(screens, root2 = true) {\n    if (Array.isArray(screens)) {\n      return screens.map((screen) => {\n        if (root2 && Array.isArray(screen)) {\n          throw new Error(\"The tuple syntax is not supported for `screens`.\");\n        }\n        if (typeof screen === \"string\") {\n          return { name: screen.toString(), not: false, values: [{ min: screen, max: void 0 }] };\n        }\n        let [name, options] = screen;\n        name = name.toString();\n        if (typeof options === \"string\") {\n          return { name, not: false, values: [{ min: options, max: void 0 }] };\n        }\n        if (Array.isArray(options)) {\n          return { name, not: false, values: options.map((option) => resolveValue(option)) };\n        }\n        return { name, not: false, values: [resolveValue(options)] };\n      });\n    }\n    return normalizeScreens(Object.entries(screens ?? {}), false);\n  }\n  function isScreenSortable(screen) {\n    if (screen.values.length !== 1) {\n      return { result: false, reason: \"multiple-values\" };\n    } else if (screen.values[0].raw !== void 0) {\n      return { result: false, reason: \"raw-values\" };\n    } else if (screen.values[0].min !== void 0 && screen.values[0].max !== void 0) {\n      return { result: false, reason: \"min-and-max\" };\n    }\n    return { result: true, reason: null };\n  }\n  function compareScreens(type, a2, z2) {\n    let aScreen = toScreen(a2, type);\n    let zScreen = toScreen(z2, type);\n    let aSorting = isScreenSortable(aScreen);\n    let bSorting = isScreenSortable(zScreen);\n    if (aSorting.reason === \"multiple-values\" || bSorting.reason === \"multiple-values\") {\n      throw new Error(\n        \"Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.\"\n      );\n    } else if (aSorting.reason === \"raw-values\" || bSorting.reason === \"raw-values\") {\n      throw new Error(\n        \"Attempted to sort a screen with raw values. This should never happen. Please open a bug report.\"\n      );\n    } else if (aSorting.reason === \"min-and-max\" || bSorting.reason === \"min-and-max\") {\n      throw new Error(\n        \"Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.\"\n      );\n    }\n    let { min: aMin, max: aMax } = aScreen.values[0];\n    let { min: zMin, max: zMax } = zScreen.values[0];\n    if (a2.not) [aMin, aMax] = [aMax, aMin];\n    if (z2.not) [zMin, zMax] = [zMax, zMin];\n    aMin = aMin === void 0 ? aMin : parseFloat(aMin);\n    aMax = aMax === void 0 ? aMax : parseFloat(aMax);\n    zMin = zMin === void 0 ? zMin : parseFloat(zMin);\n    zMax = zMax === void 0 ? zMax : parseFloat(zMax);\n    let [aValue, zValue] = type === \"min\" ? [aMin, zMin] : [zMax, aMax];\n    return aValue - zValue;\n  }\n  function toScreen(value2, type) {\n    if (typeof value2 === \"object\") {\n      return value2;\n    }\n    return {\n      name: \"arbitrary-screen\",\n      values: [{ [type]: value2 }]\n    };\n  }\n  function resolveValue({ \"min-width\": _minWidth, min = _minWidth, max: max2, raw } = {}) {\n    return { min, max: max2, raw };\n  }\n  function removeAlphaVariables(container, toRemove) {\n    container.walkDecls((decl22) => {\n      if (toRemove.includes(decl22.prop)) {\n        decl22.remove();\n        return;\n      }\n      for (let varName of toRemove) {\n        if (decl22.value.includes(`/ var(${varName})`)) {\n          decl22.value = decl22.value.replace(`/ var(${varName})`, \"\");\n        }\n      }\n    });\n  }\n  var variantPlugins = {\n    pseudoElementVariants: ({ addVariant }) => {\n      addVariant(\"first-letter\", \"&::first-letter\");\n      addVariant(\"first-line\", \"&::first-line\");\n      addVariant(\"marker\", [\n        ({ container }) => {\n          removeAlphaVariables(container, [\"--tw-text-opacity\"]);\n          return \"& *::marker\";\n        },\n        ({ container }) => {\n          removeAlphaVariables(container, [\"--tw-text-opacity\"]);\n          return \"&::marker\";\n        }\n      ]);\n      addVariant(\"selection\", [\"& *::selection\", \"&::selection\"]);\n      addVariant(\"file\", \"&::file-selector-button\");\n      addVariant(\"placeholder\", \"&::placeholder\");\n      addVariant(\"backdrop\", \"&::backdrop\");\n      addVariant(\"before\", ({ container }) => {\n        container.walkRules((rule2) => {\n          let foundContent = false;\n          rule2.walkDecls(\"content\", () => {\n            foundContent = true;\n          });\n          if (!foundContent) {\n            rule2.prepend(postcss_default.decl({ prop: \"content\", value: \"var(--tw-content)\" }));\n          }\n        });\n        return \"&::before\";\n      });\n      addVariant(\"after\", ({ container }) => {\n        container.walkRules((rule2) => {\n          let foundContent = false;\n          rule2.walkDecls(\"content\", () => {\n            foundContent = true;\n          });\n          if (!foundContent) {\n            rule2.prepend(postcss_default.decl({ prop: \"content\", value: \"var(--tw-content)\" }));\n          }\n        });\n        return \"&::after\";\n      });\n    },\n    pseudoClassVariants: ({ addVariant, matchVariant, config, prefix: prefix3 }) => {\n      let pseudoVariants = [\n        // Positional\n        [\"first\", \"&:first-child\"],\n        [\"last\", \"&:last-child\"],\n        [\"only\", \"&:only-child\"],\n        [\"odd\", \"&:nth-child(odd)\"],\n        [\"even\", \"&:nth-child(even)\"],\n        \"first-of-type\",\n        \"last-of-type\",\n        \"only-of-type\",\n        // State\n        [\n          \"visited\",\n          ({ container }) => {\n            removeAlphaVariables(container, [\n              \"--tw-text-opacity\",\n              \"--tw-border-opacity\",\n              \"--tw-bg-opacity\"\n            ]);\n            return \"&:visited\";\n          }\n        ],\n        \"target\",\n        [\"open\", \"&[open]\"],\n        // Forms\n        \"default\",\n        \"checked\",\n        \"indeterminate\",\n        \"placeholder-shown\",\n        \"autofill\",\n        \"optional\",\n        \"required\",\n        \"valid\",\n        \"invalid\",\n        \"in-range\",\n        \"out-of-range\",\n        \"read-only\",\n        // Content\n        \"empty\",\n        // Interactive\n        \"focus-within\",\n        [\n          \"hover\",\n          !flagEnabled2(config(), \"hoverOnlyWhenSupported\") ? \"&:hover\" : \"@media (hover: hover) and (pointer: fine) { &:hover }\"\n        ],\n        \"focus\",\n        \"focus-visible\",\n        \"active\",\n        \"enabled\",\n        \"disabled\"\n      ].map((variant) => Array.isArray(variant) ? variant : [variant, `&:${variant}`]);\n      for (let [variantName, state] of pseudoVariants) {\n        addVariant(variantName, (ctx) => {\n          let result = typeof state === \"function\" ? state(ctx) : state;\n          return result;\n        });\n      }\n      let variants = {\n        group: (_2, { modifier }) => modifier ? [`:merge(${prefix3(\".group\")}\\\\/${escapeClassName2(modifier)})`, \" &\"] : [`:merge(${prefix3(\".group\")})`, \" &\"],\n        peer: (_2, { modifier }) => modifier ? [`:merge(${prefix3(\".peer\")}\\\\/${escapeClassName2(modifier)})`, \" ~ &\"] : [`:merge(${prefix3(\".peer\")})`, \" ~ &\"]\n      };\n      for (let [name, fn5] of Object.entries(variants)) {\n        matchVariant(\n          name,\n          (value2 = \"\", extra) => {\n            let result = normalize2(typeof value2 === \"function\" ? value2(extra) : value2);\n            if (!result.includes(\"&\")) result = \"&\" + result;\n            let [a2, b2] = fn5(\"\", extra);\n            let start = null;\n            let end = null;\n            let quotes2 = 0;\n            for (let i2 = 0; i2 < result.length; ++i2) {\n              let c3 = result[i2];\n              if (c3 === \"&\") {\n                start = i2;\n              } else if (c3 === \"'\" || c3 === '\"') {\n                quotes2 += 1;\n              } else if (start !== null && c3 === \" \" && !quotes2) {\n                end = i2;\n              }\n            }\n            if (start !== null && end === null) {\n              end = result.length;\n            }\n            return result.slice(0, start) + a2 + result.slice(start + 1, end) + b2 + result.slice(end);\n          },\n          {\n            values: Object.fromEntries(pseudoVariants),\n            [INTERNAL_FEATURES]: {\n              respectPrefix: false\n            }\n          }\n        );\n      }\n    },\n    directionVariants: ({ addVariant }) => {\n      addVariant(\"ltr\", ':is([dir=\"ltr\"] &)');\n      addVariant(\"rtl\", ':is([dir=\"rtl\"] &)');\n    },\n    reducedMotionVariants: ({ addVariant }) => {\n      addVariant(\"motion-safe\", \"@media (prefers-reduced-motion: no-preference)\");\n      addVariant(\"motion-reduce\", \"@media (prefers-reduced-motion: reduce)\");\n    },\n    darkVariants: ({ config, addVariant }) => {\n      let [mode, className = \".dark\"] = [].concat(config(\"darkMode\", \"media\"));\n      if (mode === false) {\n        mode = \"media\";\n        log_default.warn(\"darkmode-false\", [\n          \"The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.\",\n          \"Change `darkMode` to `media` or remove it entirely.\",\n          \"https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration\"\n        ]);\n      }\n      if (mode === \"class\") {\n        addVariant(\"dark\", `:is(${className} &)`);\n      } else if (mode === \"media\") {\n        addVariant(\"dark\", \"@media (prefers-color-scheme: dark)\");\n      }\n    },\n    printVariant: ({ addVariant }) => {\n      addVariant(\"print\", \"@media print\");\n    },\n    screenVariants: ({ theme, addVariant, matchVariant }) => {\n      let rawScreens = theme(\"screens\") ?? {};\n      let areSimpleScreens = Object.values(rawScreens).every((v2) => typeof v2 === \"string\");\n      let screens = normalizeScreens(theme(\"screens\"));\n      let unitCache = /* @__PURE__ */ new Set([]);\n      function units(value2) {\n        return value2.match(/(\\D+)$/)?.[1] ?? \"(none)\";\n      }\n      function recordUnits(value2) {\n        if (value2 !== void 0) {\n          unitCache.add(units(value2));\n        }\n      }\n      function canUseUnits(value2) {\n        recordUnits(value2);\n        return unitCache.size === 1;\n      }\n      for (const screen of screens) {\n        for (const value2 of screen.values) {\n          recordUnits(value2.min);\n          recordUnits(value2.max);\n        }\n      }\n      let screensUseConsistentUnits = unitCache.size <= 1;\n      function buildScreenValues(type) {\n        return Object.fromEntries(\n          screens.filter((screen) => isScreenSortable(screen).result).map((screen) => {\n            let { min, max: max2 } = screen.values[0];\n            if (type === \"min\" && min !== void 0) {\n              return screen;\n            } else if (type === \"min\" && max2 !== void 0) {\n              return { ...screen, not: !screen.not };\n            } else if (type === \"max\" && max2 !== void 0) {\n              return screen;\n            } else if (type === \"max\" && min !== void 0) {\n              return { ...screen, not: !screen.not };\n            }\n          }).map((screen) => [screen.name, screen])\n        );\n      }\n      function buildSort(type) {\n        return (a2, z2) => compareScreens(type, a2.value, z2.value);\n      }\n      let maxSort = buildSort(\"max\");\n      let minSort = buildSort(\"min\");\n      function buildScreenVariant(type) {\n        return (value2) => {\n          if (!areSimpleScreens) {\n            log_default.warn(\"complex-screen-config\", [\n              \"The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects.\"\n            ]);\n            return [];\n          } else if (!screensUseConsistentUnits) {\n            log_default.warn(\"mixed-screen-units\", [\n              \"The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.\"\n            ]);\n            return [];\n          } else if (typeof value2 === \"string\" && !canUseUnits(value2)) {\n            log_default.warn(\"minmax-have-mixed-units\", [\n              \"The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.\"\n            ]);\n            return [];\n          }\n          return [`@media ${buildMediaQuery(toScreen(value2, type))}`];\n        };\n      }\n      matchVariant(\"max\", buildScreenVariant(\"max\"), {\n        sort: maxSort,\n        values: areSimpleScreens ? buildScreenValues(\"max\") : {}\n      });\n      let id = \"min-screens\";\n      for (let screen of screens) {\n        addVariant(screen.name, `@media ${buildMediaQuery(screen)}`, {\n          id,\n          sort: areSimpleScreens && screensUseConsistentUnits ? minSort : void 0,\n          value: screen\n        });\n      }\n      matchVariant(\"min\", buildScreenVariant(\"min\"), {\n        id,\n        sort: minSort\n      });\n    },\n    supportsVariants: ({ matchVariant, theme }) => {\n      matchVariant(\n        \"supports\",\n        (value2 = \"\") => {\n          let check = normalize2(value2);\n          let isRaw = /^\\w*\\s*\\(/.test(check);\n          check = isRaw ? check.replace(/\\b(and|or|not)\\b/g, \" $1 \") : check;\n          if (isRaw) {\n            return `@supports ${check}`;\n          }\n          if (!check.includes(\":\")) {\n            check = `${check}: var(--tw)`;\n          }\n          if (!(check.startsWith(\"(\") && check.endsWith(\")\"))) {\n            check = `(${check})`;\n          }\n          return `@supports ${check}`;\n        },\n        { values: theme(\"supports\") ?? {} }\n      );\n    },\n    ariaVariants: ({ matchVariant, theme }) => {\n      matchVariant(\"aria\", (value2) => `&[aria-${normalize2(value2)}]`, { values: theme(\"aria\") ?? {} });\n      matchVariant(\n        \"group-aria\",\n        (value2, { modifier }) => modifier ? `:merge(.group\\\\/${modifier})[aria-${normalize2(value2)}] &` : `:merge(.group)[aria-${normalize2(value2)}] &`,\n        { values: theme(\"aria\") ?? {} }\n      );\n      matchVariant(\n        \"peer-aria\",\n        (value2, { modifier }) => modifier ? `:merge(.peer\\\\/${modifier})[aria-${normalize2(value2)}] ~ &` : `:merge(.peer)[aria-${normalize2(value2)}] ~ &`,\n        { values: theme(\"aria\") ?? {} }\n      );\n    },\n    dataVariants: ({ matchVariant, theme }) => {\n      matchVariant(\"data\", (value2) => `&[data-${normalize2(value2)}]`, { values: theme(\"data\") ?? {} });\n      matchVariant(\n        \"group-data\",\n        (value2, { modifier }) => modifier ? `:merge(.group\\\\/${modifier})[data-${normalize2(value2)}] &` : `:merge(.group)[data-${normalize2(value2)}] &`,\n        { values: theme(\"data\") ?? {} }\n      );\n      matchVariant(\n        \"peer-data\",\n        (value2, { modifier }) => modifier ? `:merge(.peer\\\\/${modifier})[data-${normalize2(value2)}] ~ &` : `:merge(.peer)[data-${normalize2(value2)}] ~ &`,\n        { values: theme(\"data\") ?? {} }\n      );\n    },\n    orientationVariants: ({ addVariant }) => {\n      addVariant(\"portrait\", \"@media (orientation: portrait)\");\n      addVariant(\"landscape\", \"@media (orientation: landscape)\");\n    },\n    prefersContrastVariants: ({ addVariant }) => {\n      addVariant(\"contrast-more\", \"@media (prefers-contrast: more)\");\n      addVariant(\"contrast-less\", \"@media (prefers-contrast: less)\");\n    }\n  };\n  var cssTransformValue = [\n    \"translate(var(--tw-translate-x), var(--tw-translate-y))\",\n    \"rotate(var(--tw-rotate))\",\n    \"skewX(var(--tw-skew-x))\",\n    \"skewY(var(--tw-skew-y))\",\n    \"scaleX(var(--tw-scale-x))\",\n    \"scaleY(var(--tw-scale-y))\"\n  ].join(\" \");\n  var cssFilterValue = [\n    \"var(--tw-blur)\",\n    \"var(--tw-brightness)\",\n    \"var(--tw-contrast)\",\n    \"var(--tw-grayscale)\",\n    \"var(--tw-hue-rotate)\",\n    \"var(--tw-invert)\",\n    \"var(--tw-saturate)\",\n    \"var(--tw-sepia)\",\n    \"var(--tw-drop-shadow)\"\n  ].join(\" \");\n  var cssBackdropFilterValue = [\n    \"var(--tw-backdrop-blur)\",\n    \"var(--tw-backdrop-brightness)\",\n    \"var(--tw-backdrop-contrast)\",\n    \"var(--tw-backdrop-grayscale)\",\n    \"var(--tw-backdrop-hue-rotate)\",\n    \"var(--tw-backdrop-invert)\",\n    \"var(--tw-backdrop-opacity)\",\n    \"var(--tw-backdrop-saturate)\",\n    \"var(--tw-backdrop-sepia)\"\n  ].join(\" \");\n  var corePlugins = {\n    preflight: ({ addBase }) => {\n      let preflightStyles = postcss_default.parse(\n        fs_default.readFileSync(join(\"/\", \"./css/preflight.css\"), \"utf8\")\n      );\n      addBase([\n        postcss_default.comment({\n          text: `! tailwindcss v${version} | MIT License | https://tailwindcss.com`\n        }),\n        ...preflightStyles.nodes\n      ]);\n    },\n    container: /* @__PURE__ */ (() => {\n      function extractMinWidths(breakpoints = []) {\n        return breakpoints.flatMap((breakpoint) => breakpoint.values.map((breakpoint2) => breakpoint2.min)).filter((v2) => v2 !== void 0);\n      }\n      function mapMinWidthsToPadding(minWidths, screens, paddings) {\n        if (typeof paddings === \"undefined\") {\n          return [];\n        }\n        if (!(typeof paddings === \"object\" && paddings !== null)) {\n          return [\n            {\n              screen: \"DEFAULT\",\n              minWidth: 0,\n              padding: paddings\n            }\n          ];\n        }\n        let mapping = [];\n        if (paddings.DEFAULT) {\n          mapping.push({\n            screen: \"DEFAULT\",\n            minWidth: 0,\n            padding: paddings.DEFAULT\n          });\n        }\n        for (let minWidth of minWidths) {\n          for (let screen of screens) {\n            for (let { min } of screen.values) {\n              if (min === minWidth) {\n                mapping.push({ minWidth, padding: paddings[screen.name] });\n              }\n            }\n          }\n        }\n        return mapping;\n      }\n      return function({ addComponents, theme }) {\n        let screens = normalizeScreens(theme(\"container.screens\", theme(\"screens\")));\n        let minWidths = extractMinWidths(screens);\n        let paddings = mapMinWidthsToPadding(minWidths, screens, theme(\"container.padding\"));\n        let generatePaddingFor = (minWidth) => {\n          let paddingConfig = paddings.find((padding) => padding.minWidth === minWidth);\n          if (!paddingConfig) {\n            return {};\n          }\n          return {\n            paddingRight: paddingConfig.padding,\n            paddingLeft: paddingConfig.padding\n          };\n        };\n        let atRules = Array.from(\n          new Set(minWidths.slice().sort((a2, z2) => parseInt(a2) - parseInt(z2)))\n        ).map((minWidth) => ({\n          [`@media (min-width: ${minWidth})`]: {\n            \".container\": {\n              \"max-width\": minWidth,\n              ...generatePaddingFor(minWidth)\n            }\n          }\n        }));\n        addComponents([\n          {\n            \".container\": Object.assign(\n              { width: \"100%\" },\n              theme(\"container.center\", false) ? { marginRight: \"auto\", marginLeft: \"auto\" } : {},\n              generatePaddingFor(0)\n            )\n          },\n          ...atRules\n        ]);\n      };\n    })(),\n    accessibility: ({ addUtilities }) => {\n      addUtilities({\n        \".sr-only\": {\n          position: \"absolute\",\n          width: \"1px\",\n          height: \"1px\",\n          padding: \"0\",\n          margin: \"-1px\",\n          overflow: \"hidden\",\n          clip: \"rect(0, 0, 0, 0)\",\n          whiteSpace: \"nowrap\",\n          borderWidth: \"0\"\n        },\n        \".not-sr-only\": {\n          position: \"static\",\n          width: \"auto\",\n          height: \"auto\",\n          padding: \"0\",\n          margin: \"0\",\n          overflow: \"visible\",\n          clip: \"auto\",\n          whiteSpace: \"normal\"\n        }\n      });\n    },\n    pointerEvents: ({ addUtilities }) => {\n      addUtilities({\n        \".pointer-events-none\": { \"pointer-events\": \"none\" },\n        \".pointer-events-auto\": { \"pointer-events\": \"auto\" }\n      });\n    },\n    visibility: ({ addUtilities }) => {\n      addUtilities({\n        \".visible\": { visibility: \"visible\" },\n        \".invisible\": { visibility: \"hidden\" },\n        \".collapse\": { visibility: \"collapse\" }\n      });\n    },\n    position: ({ addUtilities }) => {\n      addUtilities({\n        \".static\": { position: \"static\" },\n        \".fixed\": { position: \"fixed\" },\n        \".absolute\": { position: \"absolute\" },\n        \".relative\": { position: \"relative\" },\n        \".sticky\": { position: \"sticky\" }\n      });\n    },\n    inset: createUtilityPlugin(\n      \"inset\",\n      [\n        [\"inset\", [\"inset\"]],\n        [\n          [\"inset-x\", [\"left\", \"right\"]],\n          [\"inset-y\", [\"top\", \"bottom\"]]\n        ],\n        [\n          [\"start\", [\"inset-inline-start\"]],\n          [\"end\", [\"inset-inline-end\"]],\n          [\"top\", [\"top\"]],\n          [\"right\", [\"right\"]],\n          [\"bottom\", [\"bottom\"]],\n          [\"left\", [\"left\"]]\n        ]\n      ],\n      { supportsNegativeValues: true }\n    ),\n    isolation: ({ addUtilities }) => {\n      addUtilities({\n        \".isolate\": { isolation: \"isolate\" },\n        \".isolation-auto\": { isolation: \"auto\" }\n      });\n    },\n    zIndex: createUtilityPlugin(\"zIndex\", [[\"z\", [\"zIndex\"]]], { supportsNegativeValues: true }),\n    order: createUtilityPlugin(\"order\", void 0, { supportsNegativeValues: true }),\n    gridColumn: createUtilityPlugin(\"gridColumn\", [[\"col\", [\"gridColumn\"]]]),\n    gridColumnStart: createUtilityPlugin(\"gridColumnStart\", [[\"col-start\", [\"gridColumnStart\"]]]),\n    gridColumnEnd: createUtilityPlugin(\"gridColumnEnd\", [[\"col-end\", [\"gridColumnEnd\"]]]),\n    gridRow: createUtilityPlugin(\"gridRow\", [[\"row\", [\"gridRow\"]]]),\n    gridRowStart: createUtilityPlugin(\"gridRowStart\", [[\"row-start\", [\"gridRowStart\"]]]),\n    gridRowEnd: createUtilityPlugin(\"gridRowEnd\", [[\"row-end\", [\"gridRowEnd\"]]]),\n    float: ({ addUtilities }) => {\n      addUtilities({\n        \".float-right\": { float: \"right\" },\n        \".float-left\": { float: \"left\" },\n        \".float-none\": { float: \"none\" }\n      });\n    },\n    clear: ({ addUtilities }) => {\n      addUtilities({\n        \".clear-left\": { clear: \"left\" },\n        \".clear-right\": { clear: \"right\" },\n        \".clear-both\": { clear: \"both\" },\n        \".clear-none\": { clear: \"none\" }\n      });\n    },\n    margin: createUtilityPlugin(\n      \"margin\",\n      [\n        [\"m\", [\"margin\"]],\n        [\n          [\"mx\", [\"margin-left\", \"margin-right\"]],\n          [\"my\", [\"margin-top\", \"margin-bottom\"]]\n        ],\n        [\n          [\"ms\", [\"margin-inline-start\"]],\n          [\"me\", [\"margin-inline-end\"]],\n          [\"mt\", [\"margin-top\"]],\n          [\"mr\", [\"margin-right\"]],\n          [\"mb\", [\"margin-bottom\"]],\n          [\"ml\", [\"margin-left\"]]\n        ]\n      ],\n      { supportsNegativeValues: true }\n    ),\n    boxSizing: ({ addUtilities }) => {\n      addUtilities({\n        \".box-border\": { \"box-sizing\": \"border-box\" },\n        \".box-content\": { \"box-sizing\": \"content-box\" }\n      });\n    },\n    lineClamp: ({ matchUtilities, addUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"line-clamp\": (value2) => ({\n            overflow: \"hidden\",\n            display: \"-webkit-box\",\n            \"-webkit-box-orient\": \"vertical\",\n            \"-webkit-line-clamp\": `${value2}`\n          })\n        },\n        { values: theme(\"lineClamp\") }\n      );\n      addUtilities({\n        \".line-clamp-none\": {\n          overflow: \"visible\",\n          display: \"block\",\n          \"-webkit-box-orient\": \"horizontal\",\n          \"-webkit-line-clamp\": \"none\"\n        }\n      });\n    },\n    display: ({ addUtilities }) => {\n      addUtilities({\n        \".block\": { display: \"block\" },\n        \".inline-block\": { display: \"inline-block\" },\n        \".inline\": { display: \"inline\" },\n        \".flex\": { display: \"flex\" },\n        \".inline-flex\": { display: \"inline-flex\" },\n        \".table\": { display: \"table\" },\n        \".inline-table\": { display: \"inline-table\" },\n        \".table-caption\": { display: \"table-caption\" },\n        \".table-cell\": { display: \"table-cell\" },\n        \".table-column\": { display: \"table-column\" },\n        \".table-column-group\": { display: \"table-column-group\" },\n        \".table-footer-group\": { display: \"table-footer-group\" },\n        \".table-header-group\": { display: \"table-header-group\" },\n        \".table-row-group\": { display: \"table-row-group\" },\n        \".table-row\": { display: \"table-row\" },\n        \".flow-root\": { display: \"flow-root\" },\n        \".grid\": { display: \"grid\" },\n        \".inline-grid\": { display: \"inline-grid\" },\n        \".contents\": { display: \"contents\" },\n        \".list-item\": { display: \"list-item\" },\n        \".hidden\": { display: \"none\" }\n      });\n    },\n    aspectRatio: createUtilityPlugin(\"aspectRatio\", [[\"aspect\", [\"aspect-ratio\"]]]),\n    height: createUtilityPlugin(\"height\", [[\"h\", [\"height\"]]]),\n    maxHeight: createUtilityPlugin(\"maxHeight\", [[\"max-h\", [\"maxHeight\"]]]),\n    minHeight: createUtilityPlugin(\"minHeight\", [[\"min-h\", [\"minHeight\"]]]),\n    width: createUtilityPlugin(\"width\", [[\"w\", [\"width\"]]]),\n    minWidth: createUtilityPlugin(\"minWidth\", [[\"min-w\", [\"minWidth\"]]]),\n    maxWidth: createUtilityPlugin(\"maxWidth\", [[\"max-w\", [\"maxWidth\"]]]),\n    flex: createUtilityPlugin(\"flex\"),\n    flexShrink: createUtilityPlugin(\"flexShrink\", [\n      [\"flex-shrink\", [\"flex-shrink\"]],\n      // Deprecated\n      [\"shrink\", [\"flex-shrink\"]]\n    ]),\n    flexGrow: createUtilityPlugin(\"flexGrow\", [\n      [\"flex-grow\", [\"flex-grow\"]],\n      // Deprecated\n      [\"grow\", [\"flex-grow\"]]\n    ]),\n    flexBasis: createUtilityPlugin(\"flexBasis\", [[\"basis\", [\"flex-basis\"]]]),\n    tableLayout: ({ addUtilities }) => {\n      addUtilities({\n        \".table-auto\": { \"table-layout\": \"auto\" },\n        \".table-fixed\": { \"table-layout\": \"fixed\" }\n      });\n    },\n    captionSide: ({ addUtilities }) => {\n      addUtilities({\n        \".caption-top\": { \"caption-side\": \"top\" },\n        \".caption-bottom\": { \"caption-side\": \"bottom\" }\n      });\n    },\n    borderCollapse: ({ addUtilities }) => {\n      addUtilities({\n        \".border-collapse\": { \"border-collapse\": \"collapse\" },\n        \".border-separate\": { \"border-collapse\": \"separate\" }\n      });\n    },\n    borderSpacing: ({ addDefaults, matchUtilities, theme }) => {\n      addDefaults(\"border-spacing\", {\n        \"--tw-border-spacing-x\": 0,\n        \"--tw-border-spacing-y\": 0\n      });\n      matchUtilities(\n        {\n          \"border-spacing\": (value2) => {\n            return {\n              \"--tw-border-spacing-x\": value2,\n              \"--tw-border-spacing-y\": value2,\n              \"@defaults border-spacing\": {},\n              \"border-spacing\": \"var(--tw-border-spacing-x) var(--tw-border-spacing-y)\"\n            };\n          },\n          \"border-spacing-x\": (value2) => {\n            return {\n              \"--tw-border-spacing-x\": value2,\n              \"@defaults border-spacing\": {},\n              \"border-spacing\": \"var(--tw-border-spacing-x) var(--tw-border-spacing-y)\"\n            };\n          },\n          \"border-spacing-y\": (value2) => {\n            return {\n              \"--tw-border-spacing-y\": value2,\n              \"@defaults border-spacing\": {},\n              \"border-spacing\": \"var(--tw-border-spacing-x) var(--tw-border-spacing-y)\"\n            };\n          }\n        },\n        { values: theme(\"borderSpacing\") }\n      );\n    },\n    transformOrigin: createUtilityPlugin(\"transformOrigin\", [[\"origin\", [\"transformOrigin\"]]]),\n    translate: createUtilityPlugin(\n      \"translate\",\n      [\n        [\n          [\n            \"translate-x\",\n            [[\"@defaults transform\", {}], \"--tw-translate-x\", [\"transform\", cssTransformValue]]\n          ],\n          [\n            \"translate-y\",\n            [[\"@defaults transform\", {}], \"--tw-translate-y\", [\"transform\", cssTransformValue]]\n          ]\n        ]\n      ],\n      { supportsNegativeValues: true }\n    ),\n    rotate: createUtilityPlugin(\n      \"rotate\",\n      [[\"rotate\", [[\"@defaults transform\", {}], \"--tw-rotate\", [\"transform\", cssTransformValue]]]],\n      { supportsNegativeValues: true }\n    ),\n    skew: createUtilityPlugin(\n      \"skew\",\n      [\n        [\n          [\"skew-x\", [[\"@defaults transform\", {}], \"--tw-skew-x\", [\"transform\", cssTransformValue]]],\n          [\"skew-y\", [[\"@defaults transform\", {}], \"--tw-skew-y\", [\"transform\", cssTransformValue]]]\n        ]\n      ],\n      { supportsNegativeValues: true }\n    ),\n    scale: createUtilityPlugin(\n      \"scale\",\n      [\n        [\n          \"scale\",\n          [\n            [\"@defaults transform\", {}],\n            \"--tw-scale-x\",\n            \"--tw-scale-y\",\n            [\"transform\", cssTransformValue]\n          ]\n        ],\n        [\n          [\n            \"scale-x\",\n            [[\"@defaults transform\", {}], \"--tw-scale-x\", [\"transform\", cssTransformValue]]\n          ],\n          [\n            \"scale-y\",\n            [[\"@defaults transform\", {}], \"--tw-scale-y\", [\"transform\", cssTransformValue]]\n          ]\n        ]\n      ],\n      { supportsNegativeValues: true }\n    ),\n    transform: ({ addDefaults, addUtilities }) => {\n      addDefaults(\"transform\", {\n        \"--tw-translate-x\": \"0\",\n        \"--tw-translate-y\": \"0\",\n        \"--tw-rotate\": \"0\",\n        \"--tw-skew-x\": \"0\",\n        \"--tw-skew-y\": \"0\",\n        \"--tw-scale-x\": \"1\",\n        \"--tw-scale-y\": \"1\"\n      });\n      addUtilities({\n        \".transform\": { \"@defaults transform\": {}, transform: cssTransformValue },\n        \".transform-cpu\": {\n          transform: cssTransformValue\n        },\n        \".transform-gpu\": {\n          transform: cssTransformValue.replace(\n            \"translate(var(--tw-translate-x), var(--tw-translate-y))\",\n            \"translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)\"\n          )\n        },\n        \".transform-none\": { transform: \"none\" }\n      });\n    },\n    animation: ({ matchUtilities, theme, config }) => {\n      let prefixName = (name) => escapeClassName2(config(\"prefix\") + name);\n      let keyframes = Object.fromEntries(\n        Object.entries(theme(\"keyframes\") ?? {}).map(([key, value2]) => {\n          return [key, { [`@keyframes ${prefixName(key)}`]: value2 }];\n        })\n      );\n      matchUtilities(\n        {\n          animate: (value2) => {\n            let animations = parseAnimationValue(value2);\n            return [\n              ...animations.flatMap((animation) => keyframes[animation.name]),\n              {\n                animation: animations.map(({ name, value: value3 }) => {\n                  if (name === void 0 || keyframes[name] === void 0) {\n                    return value3;\n                  }\n                  return value3.replace(name, prefixName(name));\n                }).join(\", \")\n              }\n            ];\n          }\n        },\n        { values: theme(\"animation\") }\n      );\n    },\n    cursor: createUtilityPlugin(\"cursor\"),\n    touchAction: ({ addDefaults, addUtilities }) => {\n      addDefaults(\"touch-action\", {\n        \"--tw-pan-x\": \" \",\n        \"--tw-pan-y\": \" \",\n        \"--tw-pinch-zoom\": \" \"\n      });\n      let cssTouchActionValue = \"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)\";\n      addUtilities({\n        \".touch-auto\": { \"touch-action\": \"auto\" },\n        \".touch-none\": { \"touch-action\": \"none\" },\n        \".touch-pan-x\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pan-x\": \"pan-x\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-pan-left\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pan-x\": \"pan-left\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-pan-right\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pan-x\": \"pan-right\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-pan-y\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pan-y\": \"pan-y\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-pan-up\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pan-y\": \"pan-up\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-pan-down\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pan-y\": \"pan-down\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-pinch-zoom\": {\n          \"@defaults touch-action\": {},\n          \"--tw-pinch-zoom\": \"pinch-zoom\",\n          \"touch-action\": cssTouchActionValue\n        },\n        \".touch-manipulation\": { \"touch-action\": \"manipulation\" }\n      });\n    },\n    userSelect: ({ addUtilities }) => {\n      addUtilities({\n        \".select-none\": { \"user-select\": \"none\" },\n        \".select-text\": { \"user-select\": \"text\" },\n        \".select-all\": { \"user-select\": \"all\" },\n        \".select-auto\": { \"user-select\": \"auto\" }\n      });\n    },\n    resize: ({ addUtilities }) => {\n      addUtilities({\n        \".resize-none\": { resize: \"none\" },\n        \".resize-y\": { resize: \"vertical\" },\n        \".resize-x\": { resize: \"horizontal\" },\n        \".resize\": { resize: \"both\" }\n      });\n    },\n    scrollSnapType: ({ addDefaults, addUtilities }) => {\n      addDefaults(\"scroll-snap-type\", {\n        \"--tw-scroll-snap-strictness\": \"proximity\"\n      });\n      addUtilities({\n        \".snap-none\": { \"scroll-snap-type\": \"none\" },\n        \".snap-x\": {\n          \"@defaults scroll-snap-type\": {},\n          \"scroll-snap-type\": \"x var(--tw-scroll-snap-strictness)\"\n        },\n        \".snap-y\": {\n          \"@defaults scroll-snap-type\": {},\n          \"scroll-snap-type\": \"y var(--tw-scroll-snap-strictness)\"\n        },\n        \".snap-both\": {\n          \"@defaults scroll-snap-type\": {},\n          \"scroll-snap-type\": \"both var(--tw-scroll-snap-strictness)\"\n        },\n        \".snap-mandatory\": { \"--tw-scroll-snap-strictness\": \"mandatory\" },\n        \".snap-proximity\": { \"--tw-scroll-snap-strictness\": \"proximity\" }\n      });\n    },\n    scrollSnapAlign: ({ addUtilities }) => {\n      addUtilities({\n        \".snap-start\": { \"scroll-snap-align\": \"start\" },\n        \".snap-end\": { \"scroll-snap-align\": \"end\" },\n        \".snap-center\": { \"scroll-snap-align\": \"center\" },\n        \".snap-align-none\": { \"scroll-snap-align\": \"none\" }\n      });\n    },\n    scrollSnapStop: ({ addUtilities }) => {\n      addUtilities({\n        \".snap-normal\": { \"scroll-snap-stop\": \"normal\" },\n        \".snap-always\": { \"scroll-snap-stop\": \"always\" }\n      });\n    },\n    scrollMargin: createUtilityPlugin(\n      \"scrollMargin\",\n      [\n        [\"scroll-m\", [\"scroll-margin\"]],\n        [\n          [\"scroll-mx\", [\"scroll-margin-left\", \"scroll-margin-right\"]],\n          [\"scroll-my\", [\"scroll-margin-top\", \"scroll-margin-bottom\"]]\n        ],\n        [\n          [\"scroll-ms\", [\"scroll-margin-inline-start\"]],\n          [\"scroll-me\", [\"scroll-margin-inline-end\"]],\n          [\"scroll-mt\", [\"scroll-margin-top\"]],\n          [\"scroll-mr\", [\"scroll-margin-right\"]],\n          [\"scroll-mb\", [\"scroll-margin-bottom\"]],\n          [\"scroll-ml\", [\"scroll-margin-left\"]]\n        ]\n      ],\n      { supportsNegativeValues: true }\n    ),\n    scrollPadding: createUtilityPlugin(\"scrollPadding\", [\n      [\"scroll-p\", [\"scroll-padding\"]],\n      [\n        [\"scroll-px\", [\"scroll-padding-left\", \"scroll-padding-right\"]],\n        [\"scroll-py\", [\"scroll-padding-top\", \"scroll-padding-bottom\"]]\n      ],\n      [\n        [\"scroll-ps\", [\"scroll-padding-inline-start\"]],\n        [\"scroll-pe\", [\"scroll-padding-inline-end\"]],\n        [\"scroll-pt\", [\"scroll-padding-top\"]],\n        [\"scroll-pr\", [\"scroll-padding-right\"]],\n        [\"scroll-pb\", [\"scroll-padding-bottom\"]],\n        [\"scroll-pl\", [\"scroll-padding-left\"]]\n      ]\n    ]),\n    listStylePosition: ({ addUtilities }) => {\n      addUtilities({\n        \".list-inside\": { \"list-style-position\": \"inside\" },\n        \".list-outside\": { \"list-style-position\": \"outside\" }\n      });\n    },\n    listStyleType: createUtilityPlugin(\"listStyleType\", [[\"list\", [\"listStyleType\"]]]),\n    listStyleImage: createUtilityPlugin(\"listStyleImage\", [[\"list-image\", [\"listStyleImage\"]]]),\n    appearance: ({ addUtilities }) => {\n      addUtilities({\n        \".appearance-none\": { appearance: \"none\" }\n      });\n    },\n    columns: createUtilityPlugin(\"columns\", [[\"columns\", [\"columns\"]]]),\n    breakBefore: ({ addUtilities }) => {\n      addUtilities({\n        \".break-before-auto\": { \"break-before\": \"auto\" },\n        \".break-before-avoid\": { \"break-before\": \"avoid\" },\n        \".break-before-all\": { \"break-before\": \"all\" },\n        \".break-before-avoid-page\": { \"break-before\": \"avoid-page\" },\n        \".break-before-page\": { \"break-before\": \"page\" },\n        \".break-before-left\": { \"break-before\": \"left\" },\n        \".break-before-right\": { \"break-before\": \"right\" },\n        \".break-before-column\": { \"break-before\": \"column\" }\n      });\n    },\n    breakInside: ({ addUtilities }) => {\n      addUtilities({\n        \".break-inside-auto\": { \"break-inside\": \"auto\" },\n        \".break-inside-avoid\": { \"break-inside\": \"avoid\" },\n        \".break-inside-avoid-page\": { \"break-inside\": \"avoid-page\" },\n        \".break-inside-avoid-column\": { \"break-inside\": \"avoid-column\" }\n      });\n    },\n    breakAfter: ({ addUtilities }) => {\n      addUtilities({\n        \".break-after-auto\": { \"break-after\": \"auto\" },\n        \".break-after-avoid\": { \"break-after\": \"avoid\" },\n        \".break-after-all\": { \"break-after\": \"all\" },\n        \".break-after-avoid-page\": { \"break-after\": \"avoid-page\" },\n        \".break-after-page\": { \"break-after\": \"page\" },\n        \".break-after-left\": { \"break-after\": \"left\" },\n        \".break-after-right\": { \"break-after\": \"right\" },\n        \".break-after-column\": { \"break-after\": \"column\" }\n      });\n    },\n    gridAutoColumns: createUtilityPlugin(\"gridAutoColumns\", [[\"auto-cols\", [\"gridAutoColumns\"]]]),\n    gridAutoFlow: ({ addUtilities }) => {\n      addUtilities({\n        \".grid-flow-row\": { gridAutoFlow: \"row\" },\n        \".grid-flow-col\": { gridAutoFlow: \"column\" },\n        \".grid-flow-dense\": { gridAutoFlow: \"dense\" },\n        \".grid-flow-row-dense\": { gridAutoFlow: \"row dense\" },\n        \".grid-flow-col-dense\": { gridAutoFlow: \"column dense\" }\n      });\n    },\n    gridAutoRows: createUtilityPlugin(\"gridAutoRows\", [[\"auto-rows\", [\"gridAutoRows\"]]]),\n    gridTemplateColumns: createUtilityPlugin(\"gridTemplateColumns\", [\n      [\"grid-cols\", [\"gridTemplateColumns\"]]\n    ]),\n    gridTemplateRows: createUtilityPlugin(\"gridTemplateRows\", [[\"grid-rows\", [\"gridTemplateRows\"]]]),\n    flexDirection: ({ addUtilities }) => {\n      addUtilities({\n        \".flex-row\": { \"flex-direction\": \"row\" },\n        \".flex-row-reverse\": { \"flex-direction\": \"row-reverse\" },\n        \".flex-col\": { \"flex-direction\": \"column\" },\n        \".flex-col-reverse\": { \"flex-direction\": \"column-reverse\" }\n      });\n    },\n    flexWrap: ({ addUtilities }) => {\n      addUtilities({\n        \".flex-wrap\": { \"flex-wrap\": \"wrap\" },\n        \".flex-wrap-reverse\": { \"flex-wrap\": \"wrap-reverse\" },\n        \".flex-nowrap\": { \"flex-wrap\": \"nowrap\" }\n      });\n    },\n    placeContent: ({ addUtilities }) => {\n      addUtilities({\n        \".place-content-center\": { \"place-content\": \"center\" },\n        \".place-content-start\": { \"place-content\": \"start\" },\n        \".place-content-end\": { \"place-content\": \"end\" },\n        \".place-content-between\": { \"place-content\": \"space-between\" },\n        \".place-content-around\": { \"place-content\": \"space-around\" },\n        \".place-content-evenly\": { \"place-content\": \"space-evenly\" },\n        \".place-content-baseline\": { \"place-content\": \"baseline\" },\n        \".place-content-stretch\": { \"place-content\": \"stretch\" }\n      });\n    },\n    placeItems: ({ addUtilities }) => {\n      addUtilities({\n        \".place-items-start\": { \"place-items\": \"start\" },\n        \".place-items-end\": { \"place-items\": \"end\" },\n        \".place-items-center\": { \"place-items\": \"center\" },\n        \".place-items-baseline\": { \"place-items\": \"baseline\" },\n        \".place-items-stretch\": { \"place-items\": \"stretch\" }\n      });\n    },\n    alignContent: ({ addUtilities }) => {\n      addUtilities({\n        \".content-normal\": { \"align-content\": \"normal\" },\n        \".content-center\": { \"align-content\": \"center\" },\n        \".content-start\": { \"align-content\": \"flex-start\" },\n        \".content-end\": { \"align-content\": \"flex-end\" },\n        \".content-between\": { \"align-content\": \"space-between\" },\n        \".content-around\": { \"align-content\": \"space-around\" },\n        \".content-evenly\": { \"align-content\": \"space-evenly\" },\n        \".content-baseline\": { \"align-content\": \"baseline\" },\n        \".content-stretch\": { \"align-content\": \"stretch\" }\n      });\n    },\n    alignItems: ({ addUtilities }) => {\n      addUtilities({\n        \".items-start\": { \"align-items\": \"flex-start\" },\n        \".items-end\": { \"align-items\": \"flex-end\" },\n        \".items-center\": { \"align-items\": \"center\" },\n        \".items-baseline\": { \"align-items\": \"baseline\" },\n        \".items-stretch\": { \"align-items\": \"stretch\" }\n      });\n    },\n    justifyContent: ({ addUtilities }) => {\n      addUtilities({\n        \".justify-normal\": { \"justify-content\": \"normal\" },\n        \".justify-start\": { \"justify-content\": \"flex-start\" },\n        \".justify-end\": { \"justify-content\": \"flex-end\" },\n        \".justify-center\": { \"justify-content\": \"center\" },\n        \".justify-between\": { \"justify-content\": \"space-between\" },\n        \".justify-around\": { \"justify-content\": \"space-around\" },\n        \".justify-evenly\": { \"justify-content\": \"space-evenly\" },\n        \".justify-stretch\": { \"justify-content\": \"stretch\" }\n      });\n    },\n    justifyItems: ({ addUtilities }) => {\n      addUtilities({\n        \".justify-items-start\": { \"justify-items\": \"start\" },\n        \".justify-items-end\": { \"justify-items\": \"end\" },\n        \".justify-items-center\": { \"justify-items\": \"center\" },\n        \".justify-items-stretch\": { \"justify-items\": \"stretch\" }\n      });\n    },\n    gap: createUtilityPlugin(\"gap\", [\n      [\"gap\", [\"gap\"]],\n      [\n        [\"gap-x\", [\"columnGap\"]],\n        [\"gap-y\", [\"rowGap\"]]\n      ]\n    ]),\n    space: ({ matchUtilities, addUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"space-x\": (value2) => {\n            value2 = value2 === \"0\" ? \"0px\" : value2;\n            if (void 0) {\n              return {\n                \"& > :not([hidden]) ~ :not([hidden])\": {\n                  \"--tw-space-x-reverse\": \"0\",\n                  \"margin-inline-end\": `calc(${value2} * var(--tw-space-x-reverse))`,\n                  \"margin-inline-start\": `calc(${value2} * calc(1 - var(--tw-space-x-reverse)))`\n                }\n              };\n            }\n            return {\n              \"& > :not([hidden]) ~ :not([hidden])\": {\n                \"--tw-space-x-reverse\": \"0\",\n                \"margin-right\": `calc(${value2} * var(--tw-space-x-reverse))`,\n                \"margin-left\": `calc(${value2} * calc(1 - var(--tw-space-x-reverse)))`\n              }\n            };\n          },\n          \"space-y\": (value2) => {\n            value2 = value2 === \"0\" ? \"0px\" : value2;\n            return {\n              \"& > :not([hidden]) ~ :not([hidden])\": {\n                \"--tw-space-y-reverse\": \"0\",\n                \"margin-top\": `calc(${value2} * calc(1 - var(--tw-space-y-reverse)))`,\n                \"margin-bottom\": `calc(${value2} * var(--tw-space-y-reverse))`\n              }\n            };\n          }\n        },\n        { values: theme(\"space\"), supportsNegativeValues: true }\n      );\n      addUtilities({\n        \".space-y-reverse > :not([hidden]) ~ :not([hidden])\": { \"--tw-space-y-reverse\": \"1\" },\n        \".space-x-reverse > :not([hidden]) ~ :not([hidden])\": { \"--tw-space-x-reverse\": \"1\" }\n      });\n    },\n    divideWidth: ({ matchUtilities, addUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"divide-x\": (value2) => {\n            value2 = value2 === \"0\" ? \"0px\" : value2;\n            if (void 0) {\n              return {\n                \"& > :not([hidden]) ~ :not([hidden])\": {\n                  \"@defaults border-width\": {},\n                  \"--tw-divide-x-reverse\": \"0\",\n                  \"border-inline-end-width\": `calc(${value2} * var(--tw-divide-x-reverse))`,\n                  \"border-inline-start-width\": `calc(${value2} * calc(1 - var(--tw-divide-x-reverse)))`\n                }\n              };\n            }\n            return {\n              \"& > :not([hidden]) ~ :not([hidden])\": {\n                \"@defaults border-width\": {},\n                \"--tw-divide-x-reverse\": \"0\",\n                \"border-right-width\": `calc(${value2} * var(--tw-divide-x-reverse))`,\n                \"border-left-width\": `calc(${value2} * calc(1 - var(--tw-divide-x-reverse)))`\n              }\n            };\n          },\n          \"divide-y\": (value2) => {\n            value2 = value2 === \"0\" ? \"0px\" : value2;\n            return {\n              \"& > :not([hidden]) ~ :not([hidden])\": {\n                \"@defaults border-width\": {},\n                \"--tw-divide-y-reverse\": \"0\",\n                \"border-top-width\": `calc(${value2} * calc(1 - var(--tw-divide-y-reverse)))`,\n                \"border-bottom-width\": `calc(${value2} * var(--tw-divide-y-reverse))`\n              }\n            };\n          }\n        },\n        { values: theme(\"divideWidth\"), type: [\"line-width\", \"length\", \"any\"] }\n      );\n      addUtilities({\n        \".divide-y-reverse > :not([hidden]) ~ :not([hidden])\": {\n          \"@defaults border-width\": {},\n          \"--tw-divide-y-reverse\": \"1\"\n        },\n        \".divide-x-reverse > :not([hidden]) ~ :not([hidden])\": {\n          \"@defaults border-width\": {},\n          \"--tw-divide-x-reverse\": \"1\"\n        }\n      });\n    },\n    divideStyle: ({ addUtilities }) => {\n      addUtilities({\n        \".divide-solid > :not([hidden]) ~ :not([hidden])\": { \"border-style\": \"solid\" },\n        \".divide-dashed > :not([hidden]) ~ :not([hidden])\": { \"border-style\": \"dashed\" },\n        \".divide-dotted > :not([hidden]) ~ :not([hidden])\": { \"border-style\": \"dotted\" },\n        \".divide-double > :not([hidden]) ~ :not([hidden])\": { \"border-style\": \"double\" },\n        \".divide-none > :not([hidden]) ~ :not([hidden])\": { \"border-style\": \"none\" }\n      });\n    },\n    divideColor: ({ matchUtilities, theme, corePlugins: corePlugins2 }) => {\n      matchUtilities(\n        {\n          divide: (value2) => {\n            if (!corePlugins2(\"divideOpacity\")) {\n              return {\n                [\"& > :not([hidden]) ~ :not([hidden])\"]: {\n                  \"border-color\": toColorValue(value2)\n                }\n              };\n            }\n            return {\n              [\"& > :not([hidden]) ~ :not([hidden])\"]: withAlphaVariable({\n                color: value2,\n                property: \"border-color\",\n                variable: \"--tw-divide-opacity\"\n              })\n            };\n          }\n        },\n        {\n          values: (({ DEFAULT: _2, ...colors }) => colors)(flattenColorPalette_default(theme(\"divideColor\"))),\n          type: [\"color\", \"any\"]\n        }\n      );\n    },\n    divideOpacity: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"divide-opacity\": (value2) => {\n            return { [`& > :not([hidden]) ~ :not([hidden])`]: { \"--tw-divide-opacity\": value2 } };\n          }\n        },\n        { values: theme(\"divideOpacity\") }\n      );\n    },\n    placeSelf: ({ addUtilities }) => {\n      addUtilities({\n        \".place-self-auto\": { \"place-self\": \"auto\" },\n        \".place-self-start\": { \"place-self\": \"start\" },\n        \".place-self-end\": { \"place-self\": \"end\" },\n        \".place-self-center\": { \"place-self\": \"center\" },\n        \".place-self-stretch\": { \"place-self\": \"stretch\" }\n      });\n    },\n    alignSelf: ({ addUtilities }) => {\n      addUtilities({\n        \".self-auto\": { \"align-self\": \"auto\" },\n        \".self-start\": { \"align-self\": \"flex-start\" },\n        \".self-end\": { \"align-self\": \"flex-end\" },\n        \".self-center\": { \"align-self\": \"center\" },\n        \".self-stretch\": { \"align-self\": \"stretch\" },\n        \".self-baseline\": { \"align-self\": \"baseline\" }\n      });\n    },\n    justifySelf: ({ addUtilities }) => {\n      addUtilities({\n        \".justify-self-auto\": { \"justify-self\": \"auto\" },\n        \".justify-self-start\": { \"justify-self\": \"start\" },\n        \".justify-self-end\": { \"justify-self\": \"end\" },\n        \".justify-self-center\": { \"justify-self\": \"center\" },\n        \".justify-self-stretch\": { \"justify-self\": \"stretch\" }\n      });\n    },\n    overflow: ({ addUtilities }) => {\n      addUtilities({\n        \".overflow-auto\": { overflow: \"auto\" },\n        \".overflow-hidden\": { overflow: \"hidden\" },\n        \".overflow-clip\": { overflow: \"clip\" },\n        \".overflow-visible\": { overflow: \"visible\" },\n        \".overflow-scroll\": { overflow: \"scroll\" },\n        \".overflow-x-auto\": { \"overflow-x\": \"auto\" },\n        \".overflow-y-auto\": { \"overflow-y\": \"auto\" },\n        \".overflow-x-hidden\": { \"overflow-x\": \"hidden\" },\n        \".overflow-y-hidden\": { \"overflow-y\": \"hidden\" },\n        \".overflow-x-clip\": { \"overflow-x\": \"clip\" },\n        \".overflow-y-clip\": { \"overflow-y\": \"clip\" },\n        \".overflow-x-visible\": { \"overflow-x\": \"visible\" },\n        \".overflow-y-visible\": { \"overflow-y\": \"visible\" },\n        \".overflow-x-scroll\": { \"overflow-x\": \"scroll\" },\n        \".overflow-y-scroll\": { \"overflow-y\": \"scroll\" }\n      });\n    },\n    overscrollBehavior: ({ addUtilities }) => {\n      addUtilities({\n        \".overscroll-auto\": { \"overscroll-behavior\": \"auto\" },\n        \".overscroll-contain\": { \"overscroll-behavior\": \"contain\" },\n        \".overscroll-none\": { \"overscroll-behavior\": \"none\" },\n        \".overscroll-y-auto\": { \"overscroll-behavior-y\": \"auto\" },\n        \".overscroll-y-contain\": { \"overscroll-behavior-y\": \"contain\" },\n        \".overscroll-y-none\": { \"overscroll-behavior-y\": \"none\" },\n        \".overscroll-x-auto\": { \"overscroll-behavior-x\": \"auto\" },\n        \".overscroll-x-contain\": { \"overscroll-behavior-x\": \"contain\" },\n        \".overscroll-x-none\": { \"overscroll-behavior-x\": \"none\" }\n      });\n    },\n    scrollBehavior: ({ addUtilities }) => {\n      addUtilities({\n        \".scroll-auto\": { \"scroll-behavior\": \"auto\" },\n        \".scroll-smooth\": { \"scroll-behavior\": \"smooth\" }\n      });\n    },\n    textOverflow: ({ addUtilities }) => {\n      addUtilities({\n        \".truncate\": { overflow: \"hidden\", \"text-overflow\": \"ellipsis\", \"white-space\": \"nowrap\" },\n        \".overflow-ellipsis\": { \"text-overflow\": \"ellipsis\" },\n        // Deprecated\n        \".text-ellipsis\": { \"text-overflow\": \"ellipsis\" },\n        \".text-clip\": { \"text-overflow\": \"clip\" }\n      });\n    },\n    hyphens: ({ addUtilities }) => {\n      addUtilities({\n        \".hyphens-none\": { hyphens: \"none\" },\n        \".hyphens-manual\": { hyphens: \"manual\" },\n        \".hyphens-auto\": { hyphens: \"auto\" }\n      });\n    },\n    whitespace: ({ addUtilities }) => {\n      addUtilities({\n        \".whitespace-normal\": { \"white-space\": \"normal\" },\n        \".whitespace-nowrap\": { \"white-space\": \"nowrap\" },\n        \".whitespace-pre\": { \"white-space\": \"pre\" },\n        \".whitespace-pre-line\": { \"white-space\": \"pre-line\" },\n        \".whitespace-pre-wrap\": { \"white-space\": \"pre-wrap\" },\n        \".whitespace-break-spaces\": { \"white-space\": \"break-spaces\" }\n      });\n    },\n    wordBreak: ({ addUtilities }) => {\n      addUtilities({\n        \".break-normal\": { \"overflow-wrap\": \"normal\", \"word-break\": \"normal\" },\n        \".break-words\": { \"overflow-wrap\": \"break-word\" },\n        \".break-all\": { \"word-break\": \"break-all\" },\n        \".break-keep\": { \"word-break\": \"keep-all\" }\n      });\n    },\n    borderRadius: createUtilityPlugin(\"borderRadius\", [\n      [\"rounded\", [\"border-radius\"]],\n      [\n        [\"rounded-s\", [\"border-start-start-radius\", \"border-end-start-radius\"]],\n        [\"rounded-e\", [\"border-start-end-radius\", \"border-end-end-radius\"]],\n        [\"rounded-t\", [\"border-top-left-radius\", \"border-top-right-radius\"]],\n        [\"rounded-r\", [\"border-top-right-radius\", \"border-bottom-right-radius\"]],\n        [\"rounded-b\", [\"border-bottom-right-radius\", \"border-bottom-left-radius\"]],\n        [\"rounded-l\", [\"border-top-left-radius\", \"border-bottom-left-radius\"]]\n      ],\n      [\n        [\"rounded-ss\", [\"border-start-start-radius\"]],\n        [\"rounded-se\", [\"border-start-end-radius\"]],\n        [\"rounded-ee\", [\"border-end-end-radius\"]],\n        [\"rounded-es\", [\"border-end-start-radius\"]],\n        [\"rounded-tl\", [\"border-top-left-radius\"]],\n        [\"rounded-tr\", [\"border-top-right-radius\"]],\n        [\"rounded-br\", [\"border-bottom-right-radius\"]],\n        [\"rounded-bl\", [\"border-bottom-left-radius\"]]\n      ]\n    ]),\n    borderWidth: createUtilityPlugin(\n      \"borderWidth\",\n      [\n        [\"border\", [[\"@defaults border-width\", {}], \"border-width\"]],\n        [\n          [\"border-x\", [[\"@defaults border-width\", {}], \"border-left-width\", \"border-right-width\"]],\n          [\"border-y\", [[\"@defaults border-width\", {}], \"border-top-width\", \"border-bottom-width\"]]\n        ],\n        [\n          [\"border-s\", [[\"@defaults border-width\", {}], \"border-inline-start-width\"]],\n          [\"border-e\", [[\"@defaults border-width\", {}], \"border-inline-end-width\"]],\n          [\"border-t\", [[\"@defaults border-width\", {}], \"border-top-width\"]],\n          [\"border-r\", [[\"@defaults border-width\", {}], \"border-right-width\"]],\n          [\"border-b\", [[\"@defaults border-width\", {}], \"border-bottom-width\"]],\n          [\"border-l\", [[\"@defaults border-width\", {}], \"border-left-width\"]]\n        ]\n      ],\n      { type: [\"line-width\", \"length\"] }\n    ),\n    borderStyle: ({ addUtilities }) => {\n      addUtilities({\n        \".border-solid\": { \"border-style\": \"solid\" },\n        \".border-dashed\": { \"border-style\": \"dashed\" },\n        \".border-dotted\": { \"border-style\": \"dotted\" },\n        \".border-double\": { \"border-style\": \"double\" },\n        \".border-hidden\": { \"border-style\": \"hidden\" },\n        \".border-none\": { \"border-style\": \"none\" }\n      });\n    },\n    borderColor: ({ matchUtilities, theme, corePlugins: corePlugins2 }) => {\n      matchUtilities(\n        {\n          border: (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          }\n        },\n        {\n          values: (({ DEFAULT: _2, ...colors }) => colors)(flattenColorPalette_default(theme(\"borderColor\"))),\n          type: [\"color\", \"any\"]\n        }\n      );\n      matchUtilities(\n        {\n          \"border-x\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-left-color\": toColorValue(value2),\n                \"border-right-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: [\"border-left-color\", \"border-right-color\"],\n              variable: \"--tw-border-opacity\"\n            });\n          },\n          \"border-y\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-top-color\": toColorValue(value2),\n                \"border-bottom-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: [\"border-top-color\", \"border-bottom-color\"],\n              variable: \"--tw-border-opacity\"\n            });\n          }\n        },\n        {\n          values: (({ DEFAULT: _2, ...colors }) => colors)(flattenColorPalette_default(theme(\"borderColor\"))),\n          type: [\"color\", \"any\"]\n        }\n      );\n      matchUtilities(\n        {\n          \"border-s\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-inline-start-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-inline-start-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          },\n          \"border-e\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-inline-end-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-inline-end-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          },\n          \"border-t\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-top-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-top-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          },\n          \"border-r\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-right-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-right-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          },\n          \"border-b\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-bottom-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-bottom-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          },\n          \"border-l\": (value2) => {\n            if (!corePlugins2(\"borderOpacity\")) {\n              return {\n                \"border-left-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"border-left-color\",\n              variable: \"--tw-border-opacity\"\n            });\n          }\n        },\n        {\n          values: (({ DEFAULT: _2, ...colors }) => colors)(flattenColorPalette_default(theme(\"borderColor\"))),\n          type: [\"color\", \"any\"]\n        }\n      );\n    },\n    borderOpacity: createUtilityPlugin(\"borderOpacity\", [\n      [\"border-opacity\", [\"--tw-border-opacity\"]]\n    ]),\n    backgroundColor: ({ matchUtilities, theme, corePlugins: corePlugins2 }) => {\n      matchUtilities(\n        {\n          bg: (value2) => {\n            if (!corePlugins2(\"backgroundOpacity\")) {\n              return {\n                \"background-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"background-color\",\n              variable: \"--tw-bg-opacity\"\n            });\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"backgroundColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    backgroundOpacity: createUtilityPlugin(\"backgroundOpacity\", [\n      [\"bg-opacity\", [\"--tw-bg-opacity\"]]\n    ]),\n    backgroundImage: createUtilityPlugin(\"backgroundImage\", [[\"bg\", [\"background-image\"]]], {\n      type: [\"lookup\", \"image\", \"url\"]\n    }),\n    gradientColorStops: /* @__PURE__ */ (() => {\n      function transparentTo(value2) {\n        return withAlphaValue(value2, 0, \"rgb(255 255 255 / 0)\");\n      }\n      return function({ matchUtilities, theme, addDefaults }) {\n        addDefaults(\"gradient-color-stops\", {\n          \"--tw-gradient-from-position\": \" \",\n          \"--tw-gradient-via-position\": \" \",\n          \"--tw-gradient-to-position\": \" \"\n        });\n        let options = {\n          values: flattenColorPalette_default(theme(\"gradientColorStops\")),\n          type: [\"color\", \"any\"]\n        };\n        let positionOptions = {\n          values: theme(\"gradientColorStopPositions\"),\n          type: [\"length\", \"percentage\"]\n        };\n        matchUtilities(\n          {\n            from: (value2) => {\n              let transparentToValue = transparentTo(value2);\n              return {\n                \"@defaults gradient-color-stops\": {},\n                \"--tw-gradient-from\": `${toColorValue(value2)} var(--tw-gradient-from-position)`,\n                \"--tw-gradient-to\": `${transparentToValue} var(--tw-gradient-to-position)`,\n                \"--tw-gradient-stops\": `var(--tw-gradient-from), var(--tw-gradient-to)`\n              };\n            }\n          },\n          options\n        );\n        matchUtilities(\n          {\n            from: (value2) => {\n              return {\n                \"--tw-gradient-from-position\": value2\n              };\n            }\n          },\n          positionOptions\n        );\n        matchUtilities(\n          {\n            via: (value2) => {\n              let transparentToValue = transparentTo(value2);\n              return {\n                \"@defaults gradient-color-stops\": {},\n                \"--tw-gradient-to\": `${transparentToValue}  var(--tw-gradient-to-position)`,\n                \"--tw-gradient-stops\": `var(--tw-gradient-from), ${toColorValue(\n                  value2\n                )} var(--tw-gradient-via-position), var(--tw-gradient-to)`\n              };\n            }\n          },\n          options\n        );\n        matchUtilities(\n          {\n            via: (value2) => {\n              return {\n                \"--tw-gradient-via-position\": value2\n              };\n            }\n          },\n          positionOptions\n        );\n        matchUtilities(\n          {\n            to: (value2) => ({\n              \"@defaults gradient-color-stops\": {},\n              \"--tw-gradient-to\": `${toColorValue(value2)} var(--tw-gradient-to-position)`\n            })\n          },\n          options\n        );\n        matchUtilities(\n          {\n            to: (value2) => {\n              return {\n                \"--tw-gradient-to-position\": value2\n              };\n            }\n          },\n          positionOptions\n        );\n      };\n    })(),\n    boxDecorationBreak: ({ addUtilities }) => {\n      addUtilities({\n        \".decoration-slice\": { \"box-decoration-break\": \"slice\" },\n        // Deprecated\n        \".decoration-clone\": { \"box-decoration-break\": \"clone\" },\n        // Deprecated\n        \".box-decoration-slice\": { \"box-decoration-break\": \"slice\" },\n        \".box-decoration-clone\": { \"box-decoration-break\": \"clone\" }\n      });\n    },\n    backgroundSize: createUtilityPlugin(\"backgroundSize\", [[\"bg\", [\"background-size\"]]], {\n      type: [\"lookup\", \"length\", \"percentage\", \"size\"]\n    }),\n    backgroundAttachment: ({ addUtilities }) => {\n      addUtilities({\n        \".bg-fixed\": { \"background-attachment\": \"fixed\" },\n        \".bg-local\": { \"background-attachment\": \"local\" },\n        \".bg-scroll\": { \"background-attachment\": \"scroll\" }\n      });\n    },\n    backgroundClip: ({ addUtilities }) => {\n      addUtilities({\n        \".bg-clip-border\": { \"background-clip\": \"border-box\" },\n        \".bg-clip-padding\": { \"background-clip\": \"padding-box\" },\n        \".bg-clip-content\": { \"background-clip\": \"content-box\" },\n        \".bg-clip-text\": { \"background-clip\": \"text\" }\n      });\n    },\n    backgroundPosition: createUtilityPlugin(\"backgroundPosition\", [[\"bg\", [\"background-position\"]]], {\n      type: [\"lookup\", [\"position\", { preferOnConflict: true }]]\n    }),\n    backgroundRepeat: ({ addUtilities }) => {\n      addUtilities({\n        \".bg-repeat\": { \"background-repeat\": \"repeat\" },\n        \".bg-no-repeat\": { \"background-repeat\": \"no-repeat\" },\n        \".bg-repeat-x\": { \"background-repeat\": \"repeat-x\" },\n        \".bg-repeat-y\": { \"background-repeat\": \"repeat-y\" },\n        \".bg-repeat-round\": { \"background-repeat\": \"round\" },\n        \".bg-repeat-space\": { \"background-repeat\": \"space\" }\n      });\n    },\n    backgroundOrigin: ({ addUtilities }) => {\n      addUtilities({\n        \".bg-origin-border\": { \"background-origin\": \"border-box\" },\n        \".bg-origin-padding\": { \"background-origin\": \"padding-box\" },\n        \".bg-origin-content\": { \"background-origin\": \"content-box\" }\n      });\n    },\n    fill: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          fill: (value2) => {\n            return { fill: toColorValue(value2) };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"fill\")), type: [\"color\", \"any\"] }\n      );\n    },\n    stroke: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          stroke: (value2) => {\n            return { stroke: toColorValue(value2) };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"stroke\")), type: [\"color\", \"url\", \"any\"] }\n      );\n    },\n    strokeWidth: createUtilityPlugin(\"strokeWidth\", [[\"stroke\", [\"stroke-width\"]]], {\n      type: [\"length\", \"number\", \"percentage\"]\n    }),\n    objectFit: ({ addUtilities }) => {\n      addUtilities({\n        \".object-contain\": { \"object-fit\": \"contain\" },\n        \".object-cover\": { \"object-fit\": \"cover\" },\n        \".object-fill\": { \"object-fit\": \"fill\" },\n        \".object-none\": { \"object-fit\": \"none\" },\n        \".object-scale-down\": { \"object-fit\": \"scale-down\" }\n      });\n    },\n    objectPosition: createUtilityPlugin(\"objectPosition\", [[\"object\", [\"object-position\"]]]),\n    padding: createUtilityPlugin(\"padding\", [\n      [\"p\", [\"padding\"]],\n      [\n        [\"px\", [\"padding-left\", \"padding-right\"]],\n        [\"py\", [\"padding-top\", \"padding-bottom\"]]\n      ],\n      [\n        [\"ps\", [\"padding-inline-start\"]],\n        [\"pe\", [\"padding-inline-end\"]],\n        [\"pt\", [\"padding-top\"]],\n        [\"pr\", [\"padding-right\"]],\n        [\"pb\", [\"padding-bottom\"]],\n        [\"pl\", [\"padding-left\"]]\n      ]\n    ]),\n    textAlign: ({ addUtilities }) => {\n      addUtilities({\n        \".text-left\": { \"text-align\": \"left\" },\n        \".text-center\": { \"text-align\": \"center\" },\n        \".text-right\": { \"text-align\": \"right\" },\n        \".text-justify\": { \"text-align\": \"justify\" },\n        \".text-start\": { \"text-align\": \"start\" },\n        \".text-end\": { \"text-align\": \"end\" }\n      });\n    },\n    textIndent: createUtilityPlugin(\"textIndent\", [[\"indent\", [\"text-indent\"]]], {\n      supportsNegativeValues: true\n    }),\n    verticalAlign: ({ addUtilities, matchUtilities }) => {\n      addUtilities({\n        \".align-baseline\": { \"vertical-align\": \"baseline\" },\n        \".align-top\": { \"vertical-align\": \"top\" },\n        \".align-middle\": { \"vertical-align\": \"middle\" },\n        \".align-bottom\": { \"vertical-align\": \"bottom\" },\n        \".align-text-top\": { \"vertical-align\": \"text-top\" },\n        \".align-text-bottom\": { \"vertical-align\": \"text-bottom\" },\n        \".align-sub\": { \"vertical-align\": \"sub\" },\n        \".align-super\": { \"vertical-align\": \"super\" }\n      });\n      matchUtilities({ align: (value2) => ({ \"vertical-align\": value2 }) });\n    },\n    fontFamily: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          font: (value2) => {\n            let [families, options = {}] = Array.isArray(value2) && isPlainObject(value2[1]) ? value2 : [value2];\n            let { fontFeatureSettings, fontVariationSettings } = options;\n            return {\n              \"font-family\": Array.isArray(families) ? families.join(\", \") : families,\n              ...fontFeatureSettings === void 0 ? {} : { \"font-feature-settings\": fontFeatureSettings },\n              ...fontVariationSettings === void 0 ? {} : { \"font-variation-settings\": fontVariationSettings }\n            };\n          }\n        },\n        {\n          values: theme(\"fontFamily\"),\n          type: [\"lookup\", \"generic-name\", \"family-name\"]\n        }\n      );\n    },\n    fontSize: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          text: (value2, { modifier }) => {\n            let [fontSize, options] = Array.isArray(value2) ? value2 : [value2];\n            if (modifier) {\n              return {\n                \"font-size\": fontSize,\n                \"line-height\": modifier\n              };\n            }\n            let { lineHeight, letterSpacing, fontWeight } = isPlainObject(options) ? options : { lineHeight: options };\n            return {\n              \"font-size\": fontSize,\n              ...lineHeight === void 0 ? {} : { \"line-height\": lineHeight },\n              ...letterSpacing === void 0 ? {} : { \"letter-spacing\": letterSpacing },\n              ...fontWeight === void 0 ? {} : { \"font-weight\": fontWeight }\n            };\n          }\n        },\n        {\n          values: theme(\"fontSize\"),\n          modifiers: theme(\"lineHeight\"),\n          type: [\"absolute-size\", \"relative-size\", \"length\", \"percentage\"]\n        }\n      );\n    },\n    fontWeight: createUtilityPlugin(\"fontWeight\", [[\"font\", [\"fontWeight\"]]], {\n      type: [\"lookup\", \"number\", \"any\"]\n    }),\n    textTransform: ({ addUtilities }) => {\n      addUtilities({\n        \".uppercase\": { \"text-transform\": \"uppercase\" },\n        \".lowercase\": { \"text-transform\": \"lowercase\" },\n        \".capitalize\": { \"text-transform\": \"capitalize\" },\n        \".normal-case\": { \"text-transform\": \"none\" }\n      });\n    },\n    fontStyle: ({ addUtilities }) => {\n      addUtilities({\n        \".italic\": { \"font-style\": \"italic\" },\n        \".not-italic\": { \"font-style\": \"normal\" }\n      });\n    },\n    fontVariantNumeric: ({ addDefaults, addUtilities }) => {\n      let cssFontVariantNumericValue = \"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)\";\n      addDefaults(\"font-variant-numeric\", {\n        \"--tw-ordinal\": \" \",\n        \"--tw-slashed-zero\": \" \",\n        \"--tw-numeric-figure\": \" \",\n        \"--tw-numeric-spacing\": \" \",\n        \"--tw-numeric-fraction\": \" \"\n      });\n      addUtilities({\n        \".normal-nums\": { \"font-variant-numeric\": \"normal\" },\n        \".ordinal\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-ordinal\": \"ordinal\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".slashed-zero\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-slashed-zero\": \"slashed-zero\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".lining-nums\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-numeric-figure\": \"lining-nums\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".oldstyle-nums\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-numeric-figure\": \"oldstyle-nums\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".proportional-nums\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-numeric-spacing\": \"proportional-nums\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".tabular-nums\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-numeric-spacing\": \"tabular-nums\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".diagonal-fractions\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-numeric-fraction\": \"diagonal-fractions\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        },\n        \".stacked-fractions\": {\n          \"@defaults font-variant-numeric\": {},\n          \"--tw-numeric-fraction\": \"stacked-fractions\",\n          \"font-variant-numeric\": cssFontVariantNumericValue\n        }\n      });\n    },\n    lineHeight: createUtilityPlugin(\"lineHeight\", [[\"leading\", [\"lineHeight\"]]]),\n    letterSpacing: createUtilityPlugin(\"letterSpacing\", [[\"tracking\", [\"letterSpacing\"]]], {\n      supportsNegativeValues: true\n    }),\n    textColor: ({ matchUtilities, theme, corePlugins: corePlugins2 }) => {\n      matchUtilities(\n        {\n          text: (value2) => {\n            if (!corePlugins2(\"textOpacity\")) {\n              return { color: toColorValue(value2) };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"color\",\n              variable: \"--tw-text-opacity\"\n            });\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"textColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    textOpacity: createUtilityPlugin(\"textOpacity\", [[\"text-opacity\", [\"--tw-text-opacity\"]]]),\n    textDecoration: ({ addUtilities }) => {\n      addUtilities({\n        \".underline\": { \"text-decoration-line\": \"underline\" },\n        \".overline\": { \"text-decoration-line\": \"overline\" },\n        \".line-through\": { \"text-decoration-line\": \"line-through\" },\n        \".no-underline\": { \"text-decoration-line\": \"none\" }\n      });\n    },\n    textDecorationColor: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          decoration: (value2) => {\n            return { \"text-decoration-color\": toColorValue(value2) };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"textDecorationColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    textDecorationStyle: ({ addUtilities }) => {\n      addUtilities({\n        \".decoration-solid\": { \"text-decoration-style\": \"solid\" },\n        \".decoration-double\": { \"text-decoration-style\": \"double\" },\n        \".decoration-dotted\": { \"text-decoration-style\": \"dotted\" },\n        \".decoration-dashed\": { \"text-decoration-style\": \"dashed\" },\n        \".decoration-wavy\": { \"text-decoration-style\": \"wavy\" }\n      });\n    },\n    textDecorationThickness: createUtilityPlugin(\n      \"textDecorationThickness\",\n      [[\"decoration\", [\"text-decoration-thickness\"]]],\n      { type: [\"length\", \"percentage\"] }\n    ),\n    textUnderlineOffset: createUtilityPlugin(\n      \"textUnderlineOffset\",\n      [[\"underline-offset\", [\"text-underline-offset\"]]],\n      { type: [\"length\", \"percentage\", \"any\"] }\n    ),\n    fontSmoothing: ({ addUtilities }) => {\n      addUtilities({\n        \".antialiased\": {\n          \"-webkit-font-smoothing\": \"antialiased\",\n          \"-moz-osx-font-smoothing\": \"grayscale\"\n        },\n        \".subpixel-antialiased\": {\n          \"-webkit-font-smoothing\": \"auto\",\n          \"-moz-osx-font-smoothing\": \"auto\"\n        }\n      });\n    },\n    placeholderColor: ({ matchUtilities, theme, corePlugins: corePlugins2 }) => {\n      matchUtilities(\n        {\n          placeholder: (value2) => {\n            if (!corePlugins2(\"placeholderOpacity\")) {\n              return {\n                \"&::placeholder\": {\n                  color: toColorValue(value2)\n                }\n              };\n            }\n            return {\n              \"&::placeholder\": withAlphaVariable({\n                color: value2,\n                property: \"color\",\n                variable: \"--tw-placeholder-opacity\"\n              })\n            };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"placeholderColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    placeholderOpacity: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"placeholder-opacity\": (value2) => {\n            return { [\"&::placeholder\"]: { \"--tw-placeholder-opacity\": value2 } };\n          }\n        },\n        { values: theme(\"placeholderOpacity\") }\n      );\n    },\n    caretColor: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          caret: (value2) => {\n            return { \"caret-color\": toColorValue(value2) };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"caretColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    accentColor: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          accent: (value2) => {\n            return { \"accent-color\": toColorValue(value2) };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"accentColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    opacity: createUtilityPlugin(\"opacity\", [[\"opacity\", [\"opacity\"]]]),\n    backgroundBlendMode: ({ addUtilities }) => {\n      addUtilities({\n        \".bg-blend-normal\": { \"background-blend-mode\": \"normal\" },\n        \".bg-blend-multiply\": { \"background-blend-mode\": \"multiply\" },\n        \".bg-blend-screen\": { \"background-blend-mode\": \"screen\" },\n        \".bg-blend-overlay\": { \"background-blend-mode\": \"overlay\" },\n        \".bg-blend-darken\": { \"background-blend-mode\": \"darken\" },\n        \".bg-blend-lighten\": { \"background-blend-mode\": \"lighten\" },\n        \".bg-blend-color-dodge\": { \"background-blend-mode\": \"color-dodge\" },\n        \".bg-blend-color-burn\": { \"background-blend-mode\": \"color-burn\" },\n        \".bg-blend-hard-light\": { \"background-blend-mode\": \"hard-light\" },\n        \".bg-blend-soft-light\": { \"background-blend-mode\": \"soft-light\" },\n        \".bg-blend-difference\": { \"background-blend-mode\": \"difference\" },\n        \".bg-blend-exclusion\": { \"background-blend-mode\": \"exclusion\" },\n        \".bg-blend-hue\": { \"background-blend-mode\": \"hue\" },\n        \".bg-blend-saturation\": { \"background-blend-mode\": \"saturation\" },\n        \".bg-blend-color\": { \"background-blend-mode\": \"color\" },\n        \".bg-blend-luminosity\": { \"background-blend-mode\": \"luminosity\" }\n      });\n    },\n    mixBlendMode: ({ addUtilities }) => {\n      addUtilities({\n        \".mix-blend-normal\": { \"mix-blend-mode\": \"normal\" },\n        \".mix-blend-multiply\": { \"mix-blend-mode\": \"multiply\" },\n        \".mix-blend-screen\": { \"mix-blend-mode\": \"screen\" },\n        \".mix-blend-overlay\": { \"mix-blend-mode\": \"overlay\" },\n        \".mix-blend-darken\": { \"mix-blend-mode\": \"darken\" },\n        \".mix-blend-lighten\": { \"mix-blend-mode\": \"lighten\" },\n        \".mix-blend-color-dodge\": { \"mix-blend-mode\": \"color-dodge\" },\n        \".mix-blend-color-burn\": { \"mix-blend-mode\": \"color-burn\" },\n        \".mix-blend-hard-light\": { \"mix-blend-mode\": \"hard-light\" },\n        \".mix-blend-soft-light\": { \"mix-blend-mode\": \"soft-light\" },\n        \".mix-blend-difference\": { \"mix-blend-mode\": \"difference\" },\n        \".mix-blend-exclusion\": { \"mix-blend-mode\": \"exclusion\" },\n        \".mix-blend-hue\": { \"mix-blend-mode\": \"hue\" },\n        \".mix-blend-saturation\": { \"mix-blend-mode\": \"saturation\" },\n        \".mix-blend-color\": { \"mix-blend-mode\": \"color\" },\n        \".mix-blend-luminosity\": { \"mix-blend-mode\": \"luminosity\" },\n        \".mix-blend-plus-lighter\": { \"mix-blend-mode\": \"plus-lighter\" }\n      });\n    },\n    boxShadow: (() => {\n      let transformValue = transformThemeValue(\"boxShadow\");\n      let defaultBoxShadow = [\n        `var(--tw-ring-offset-shadow, 0 0 #0000)`,\n        `var(--tw-ring-shadow, 0 0 #0000)`,\n        `var(--tw-shadow)`\n      ].join(\", \");\n      return function({ matchUtilities, addDefaults, theme }) {\n        addDefaults(\" box-shadow\", {\n          \"--tw-ring-offset-shadow\": \"0 0 #0000\",\n          \"--tw-ring-shadow\": \"0 0 #0000\",\n          \"--tw-shadow\": \"0 0 #0000\",\n          \"--tw-shadow-colored\": \"0 0 #0000\"\n        });\n        matchUtilities(\n          {\n            shadow: (value2) => {\n              value2 = transformValue(value2);\n              let ast = parseBoxShadowValue(value2);\n              for (let shadow2 of ast) {\n                if (!shadow2.valid) {\n                  continue;\n                }\n                shadow2.color = \"var(--tw-shadow-color)\";\n              }\n              return {\n                \"@defaults box-shadow\": {},\n                \"--tw-shadow\": value2 === \"none\" ? \"0 0 #0000\" : value2,\n                \"--tw-shadow-colored\": value2 === \"none\" ? \"0 0 #0000\" : formatBoxShadowValue(ast),\n                \"box-shadow\": defaultBoxShadow\n              };\n            }\n          },\n          { values: theme(\"boxShadow\"), type: [\"shadow\"] }\n        );\n      };\n    })(),\n    boxShadowColor: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          shadow: (value2) => {\n            return {\n              \"--tw-shadow-color\": toColorValue(value2),\n              \"--tw-shadow\": \"var(--tw-shadow-colored)\"\n            };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"boxShadowColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    outlineStyle: ({ addUtilities }) => {\n      addUtilities({\n        \".outline-none\": {\n          outline: \"2px solid transparent\",\n          \"outline-offset\": \"2px\"\n        },\n        \".outline\": { \"outline-style\": \"solid\" },\n        \".outline-dashed\": { \"outline-style\": \"dashed\" },\n        \".outline-dotted\": { \"outline-style\": \"dotted\" },\n        \".outline-double\": { \"outline-style\": \"double\" }\n      });\n    },\n    outlineWidth: createUtilityPlugin(\"outlineWidth\", [[\"outline\", [\"outline-width\"]]], {\n      type: [\"length\", \"number\", \"percentage\"]\n    }),\n    outlineOffset: createUtilityPlugin(\"outlineOffset\", [[\"outline-offset\", [\"outline-offset\"]]], {\n      type: [\"length\", \"number\", \"percentage\", \"any\"],\n      supportsNegativeValues: true\n    }),\n    outlineColor: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          outline: (value2) => {\n            return { \"outline-color\": toColorValue(value2) };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"outlineColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    ringWidth: ({ matchUtilities, addDefaults, addUtilities, theme, config }) => {\n      let ringColorDefault = (() => {\n        if (flagEnabled2(config(), \"respectDefaultRingColorOpacity\")) {\n          return theme(\"ringColor.DEFAULT\");\n        }\n        let ringOpacityDefault = theme(\"ringOpacity.DEFAULT\", \"0.5\");\n        if (!theme(\"ringColor\")?.DEFAULT) {\n          return `rgb(147 197 253 / ${ringOpacityDefault})`;\n        }\n        return withAlphaValue(\n          theme(\"ringColor\")?.DEFAULT,\n          ringOpacityDefault,\n          `rgb(147 197 253 / ${ringOpacityDefault})`\n        );\n      })();\n      addDefaults(\"ring-width\", {\n        \"--tw-ring-inset\": \" \",\n        \"--tw-ring-offset-width\": theme(\"ringOffsetWidth.DEFAULT\", \"0px\"),\n        \"--tw-ring-offset-color\": theme(\"ringOffsetColor.DEFAULT\", \"#fff\"),\n        \"--tw-ring-color\": ringColorDefault,\n        \"--tw-ring-offset-shadow\": \"0 0 #0000\",\n        \"--tw-ring-shadow\": \"0 0 #0000\",\n        \"--tw-shadow\": \"0 0 #0000\",\n        \"--tw-shadow-colored\": \"0 0 #0000\"\n      });\n      matchUtilities(\n        {\n          ring: (value2) => {\n            return {\n              \"@defaults ring-width\": {},\n              \"--tw-ring-offset-shadow\": `var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`,\n              \"--tw-ring-shadow\": `var(--tw-ring-inset) 0 0 0 calc(${value2} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,\n              \"box-shadow\": [\n                `var(--tw-ring-offset-shadow)`,\n                `var(--tw-ring-shadow)`,\n                `var(--tw-shadow, 0 0 #0000)`\n              ].join(\", \")\n            };\n          }\n        },\n        { values: theme(\"ringWidth\"), type: \"length\" }\n      );\n      addUtilities({\n        \".ring-inset\": { \"@defaults ring-width\": {}, \"--tw-ring-inset\": \"inset\" }\n      });\n    },\n    ringColor: ({ matchUtilities, theme, corePlugins: corePlugins2 }) => {\n      matchUtilities(\n        {\n          ring: (value2) => {\n            if (!corePlugins2(\"ringOpacity\")) {\n              return {\n                \"--tw-ring-color\": toColorValue(value2)\n              };\n            }\n            return withAlphaVariable({\n              color: value2,\n              property: \"--tw-ring-color\",\n              variable: \"--tw-ring-opacity\"\n            });\n          }\n        },\n        {\n          values: Object.fromEntries(\n            Object.entries(flattenColorPalette_default(theme(\"ringColor\"))).filter(\n              ([modifier]) => modifier !== \"DEFAULT\"\n            )\n          ),\n          type: [\"color\", \"any\"]\n        }\n      );\n    },\n    ringOpacity: (helpers) => {\n      let { config } = helpers;\n      return createUtilityPlugin(\"ringOpacity\", [[\"ring-opacity\", [\"--tw-ring-opacity\"]]], {\n        filterDefault: !flagEnabled2(config(), \"respectDefaultRingColorOpacity\")\n      })(helpers);\n    },\n    ringOffsetWidth: createUtilityPlugin(\n      \"ringOffsetWidth\",\n      [[\"ring-offset\", [\"--tw-ring-offset-width\"]]],\n      { type: \"length\" }\n    ),\n    ringOffsetColor: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"ring-offset\": (value2) => {\n            return {\n              \"--tw-ring-offset-color\": toColorValue(value2)\n            };\n          }\n        },\n        { values: flattenColorPalette_default(theme(\"ringOffsetColor\")), type: [\"color\", \"any\"] }\n      );\n    },\n    blur: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          blur: (value2) => {\n            return {\n              \"--tw-blur\": `blur(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"blur\") }\n      );\n    },\n    brightness: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          brightness: (value2) => {\n            return {\n              \"--tw-brightness\": `brightness(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"brightness\") }\n      );\n    },\n    contrast: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          contrast: (value2) => {\n            return {\n              \"--tw-contrast\": `contrast(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"contrast\") }\n      );\n    },\n    dropShadow: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"drop-shadow\": (value2) => {\n            return {\n              \"--tw-drop-shadow\": Array.isArray(value2) ? value2.map((v2) => `drop-shadow(${v2})`).join(\" \") : `drop-shadow(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"dropShadow\") }\n      );\n    },\n    grayscale: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          grayscale: (value2) => {\n            return {\n              \"--tw-grayscale\": `grayscale(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"grayscale\") }\n      );\n    },\n    hueRotate: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"hue-rotate\": (value2) => {\n            return {\n              \"--tw-hue-rotate\": `hue-rotate(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"hueRotate\"), supportsNegativeValues: true }\n      );\n    },\n    invert: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          invert: (value2) => {\n            return {\n              \"--tw-invert\": `invert(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"invert\") }\n      );\n    },\n    saturate: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          saturate: (value2) => {\n            return {\n              \"--tw-saturate\": `saturate(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"saturate\") }\n      );\n    },\n    sepia: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          sepia: (value2) => {\n            return {\n              \"--tw-sepia\": `sepia(${value2})`,\n              \"@defaults filter\": {},\n              filter: cssFilterValue\n            };\n          }\n        },\n        { values: theme(\"sepia\") }\n      );\n    },\n    filter: ({ addDefaults, addUtilities }) => {\n      addDefaults(\"filter\", {\n        \"--tw-blur\": \" \",\n        \"--tw-brightness\": \" \",\n        \"--tw-contrast\": \" \",\n        \"--tw-grayscale\": \" \",\n        \"--tw-hue-rotate\": \" \",\n        \"--tw-invert\": \" \",\n        \"--tw-saturate\": \" \",\n        \"--tw-sepia\": \" \",\n        \"--tw-drop-shadow\": \" \"\n      });\n      addUtilities({\n        \".filter\": { \"@defaults filter\": {}, filter: cssFilterValue },\n        \".filter-none\": { filter: \"none\" }\n      });\n    },\n    backdropBlur: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-blur\": (value2) => {\n            return {\n              \"--tw-backdrop-blur\": `blur(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropBlur\") }\n      );\n    },\n    backdropBrightness: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-brightness\": (value2) => {\n            return {\n              \"--tw-backdrop-brightness\": `brightness(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropBrightness\") }\n      );\n    },\n    backdropContrast: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-contrast\": (value2) => {\n            return {\n              \"--tw-backdrop-contrast\": `contrast(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropContrast\") }\n      );\n    },\n    backdropGrayscale: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-grayscale\": (value2) => {\n            return {\n              \"--tw-backdrop-grayscale\": `grayscale(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropGrayscale\") }\n      );\n    },\n    backdropHueRotate: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-hue-rotate\": (value2) => {\n            return {\n              \"--tw-backdrop-hue-rotate\": `hue-rotate(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropHueRotate\"), supportsNegativeValues: true }\n      );\n    },\n    backdropInvert: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-invert\": (value2) => {\n            return {\n              \"--tw-backdrop-invert\": `invert(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropInvert\") }\n      );\n    },\n    backdropOpacity: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-opacity\": (value2) => {\n            return {\n              \"--tw-backdrop-opacity\": `opacity(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropOpacity\") }\n      );\n    },\n    backdropSaturate: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-saturate\": (value2) => {\n            return {\n              \"--tw-backdrop-saturate\": `saturate(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropSaturate\") }\n      );\n    },\n    backdropSepia: ({ matchUtilities, theme }) => {\n      matchUtilities(\n        {\n          \"backdrop-sepia\": (value2) => {\n            return {\n              \"--tw-backdrop-sepia\": `sepia(${value2})`,\n              \"@defaults backdrop-filter\": {},\n              \"backdrop-filter\": cssBackdropFilterValue\n            };\n          }\n        },\n        { values: theme(\"backdropSepia\") }\n      );\n    },\n    backdropFilter: ({ addDefaults, addUtilities }) => {\n      addDefaults(\"backdrop-filter\", {\n        \"--tw-backdrop-blur\": \" \",\n        \"--tw-backdrop-brightness\": \" \",\n        \"--tw-backdrop-contrast\": \" \",\n        \"--tw-backdrop-grayscale\": \" \",\n        \"--tw-backdrop-hue-rotate\": \" \",\n        \"--tw-backdrop-invert\": \" \",\n        \"--tw-backdrop-opacity\": \" \",\n        \"--tw-backdrop-saturate\": \" \",\n        \"--tw-backdrop-sepia\": \" \"\n      });\n      addUtilities({\n        \".backdrop-filter\": {\n          \"@defaults backdrop-filter\": {},\n          \"backdrop-filter\": cssBackdropFilterValue\n        },\n        \".backdrop-filter-none\": { \"backdrop-filter\": \"none\" }\n      });\n    },\n    transitionProperty: ({ matchUtilities, theme }) => {\n      let defaultTimingFunction = theme(\"transitionTimingFunction.DEFAULT\");\n      let defaultDuration = theme(\"transitionDuration.DEFAULT\");\n      matchUtilities(\n        {\n          transition: (value2) => {\n            return {\n              \"transition-property\": value2,\n              ...value2 === \"none\" ? {} : {\n                \"transition-timing-function\": defaultTimingFunction,\n                \"transition-duration\": defaultDuration\n              }\n            };\n          }\n        },\n        { values: theme(\"transitionProperty\") }\n      );\n    },\n    transitionDelay: createUtilityPlugin(\"transitionDelay\", [[\"delay\", [\"transitionDelay\"]]]),\n    transitionDuration: createUtilityPlugin(\n      \"transitionDuration\",\n      [[\"duration\", [\"transitionDuration\"]]],\n      { filterDefault: true }\n    ),\n    transitionTimingFunction: createUtilityPlugin(\n      \"transitionTimingFunction\",\n      [[\"ease\", [\"transitionTimingFunction\"]]],\n      { filterDefault: true }\n    ),\n    willChange: createUtilityPlugin(\"willChange\", [[\"will-change\", [\"will-change\"]]]),\n    content: createUtilityPlugin(\"content\", [\n      [\"content\", [\"--tw-content\", [\"content\", \"var(--tw-content)\"]]]\n    ])\n  };\n  function toPath(path) {\n    if (Array.isArray(path)) return path;\n    let openBrackets = path.split(\"[\").length - 1;\n    let closedBrackets = path.split(\"]\").length - 1;\n    if (openBrackets !== closedBrackets) {\n      throw new Error(`Path is invalid. Has unbalanced brackets: ${path}`);\n    }\n    return path.split(/\\.(?![^\\[]*\\])|[\\[\\]]/g).filter(Boolean);\n  }\n  var matchingBrackets = /* @__PURE__ */ new Map([\n    [\"{\", \"}\"],\n    [\"[\", \"]\"],\n    [\"(\", \")\"]\n  ]);\n  var inverseMatchingBrackets = new Map(\n    Array.from(matchingBrackets.entries()).map(([k5, v2]) => [v2, k5])\n  );\n  var quotes = /* @__PURE__ */ new Set(['\"', \"'\", \"`\"]);\n  function isSyntacticallyValidPropertyValue(value2) {\n    let stack = [];\n    let inQuotes = false;\n    for (let i2 = 0; i2 < value2.length; i2++) {\n      let char = value2[i2];\n      if (char === \":\" && !inQuotes && stack.length === 0) {\n        return false;\n      }\n      if (quotes.has(char) && value2[i2 - 1] !== \"\\\\\") {\n        inQuotes = !inQuotes;\n      }\n      if (inQuotes) continue;\n      if (value2[i2 - 1] === \"\\\\\") continue;\n      if (matchingBrackets.has(char)) {\n        stack.push(char);\n      } else if (inverseMatchingBrackets.has(char)) {\n        let inverse = inverseMatchingBrackets.get(char);\n        if (stack.length <= 0) {\n          return false;\n        }\n        if (stack.pop() !== inverse) {\n          return false;\n        }\n      }\n    }\n    if (stack.length > 0) {\n      return false;\n    }\n    return true;\n  }\n  function bigSign2(bigIntValue) {\n    return (bigIntValue > 0n) - (bigIntValue < 0n);\n  }\n  function remapBitfield(num3, mapping) {\n    let oldMask = 0n;\n    let newMask = 0n;\n    for (let [oldBit, newBit] of mapping) {\n      if (num3 & oldBit) {\n        oldMask = oldMask | oldBit;\n        newMask = newMask | newBit;\n      }\n    }\n    return num3 & ~oldMask | newMask;\n  }\n  var Offsets = class {\n    constructor() {\n      this.offsets = {\n        defaults: 0n,\n        base: 0n,\n        components: 0n,\n        utilities: 0n,\n        variants: 0n,\n        user: 0n\n      };\n      this.layerPositions = {\n        defaults: 0n,\n        base: 1n,\n        components: 2n,\n        utilities: 3n,\n        // There isn't technically a \"user\" layer, but we need to give it a position\n        // Because it's used for ordering user-css from @apply\n        user: 4n,\n        variants: 5n\n      };\n      this.reservedVariantBits = 0n;\n      this.variantOffsets = /* @__PURE__ */ new Map();\n    }\n    /**\n     * @param {Layer} layer\n     * @returns {RuleOffset}\n     */\n    create(layer) {\n      return {\n        layer,\n        parentLayer: layer,\n        arbitrary: 0n,\n        variants: 0n,\n        parallelIndex: 0n,\n        index: this.offsets[layer]++,\n        options: []\n      };\n    }\n    /**\n     * @returns {RuleOffset}\n     */\n    arbitraryProperty() {\n      return {\n        ...this.create(\"utilities\"),\n        arbitrary: 1n\n      };\n    }\n    /**\n     * Get the offset for a variant\n     *\n     * @param {string} variant\n     * @param {number} index\n     * @returns {RuleOffset}\n     */\n    forVariant(variant, index2 = 0) {\n      let offset = this.variantOffsets.get(variant);\n      if (offset === void 0) {\n        throw new Error(`Cannot find offset for unknown variant ${variant}`);\n      }\n      return {\n        ...this.create(\"variants\"),\n        variants: offset << BigInt(index2)\n      };\n    }\n    /**\n     * @param {RuleOffset} rule\n     * @param {RuleOffset} variant\n     * @param {VariantOption} options\n     * @returns {RuleOffset}\n     */\n    applyVariantOffset(rule2, variant, options) {\n      options.variant = variant.variants;\n      return {\n        ...rule2,\n        layer: \"variants\",\n        parentLayer: rule2.layer === \"variants\" ? rule2.parentLayer : rule2.layer,\n        variants: rule2.variants | variant.variants,\n        options: options.sort ? [].concat(options, rule2.options) : rule2.options,\n        // TODO: Technically this is wrong. We should be handling parallel index on a per variant basis.\n        // We'll take the max of all the parallel indexes for now.\n        // @ts-ignore\n        parallelIndex: max([rule2.parallelIndex, variant.parallelIndex])\n      };\n    }\n    /**\n     * @param {RuleOffset} offset\n     * @param {number} parallelIndex\n     * @returns {RuleOffset}\n     */\n    applyParallelOffset(offset, parallelIndex) {\n      return {\n        ...offset,\n        parallelIndex: BigInt(parallelIndex)\n      };\n    }\n    /**\n     * Each variant gets 1 bit per function / rule registered.\n     * This is because multiple variants can be applied to a single rule and we need to know which ones are present and which ones are not.\n     * Additionally, every unique group of variants is grouped together in the stylesheet.\n     *\n     * This grouping is order-independent. For instance, we do not differentiate between `hover:focus` and `focus:hover`.\n     *\n     * @param {string[]} variants\n     * @param {(name: string) => number} getLength\n     */\n    recordVariants(variants, getLength) {\n      for (let variant of variants) {\n        this.recordVariant(variant, getLength(variant));\n      }\n    }\n    /**\n     * The same as `recordVariants` but for a single arbitrary variant at runtime.\n     * @param {string} variant\n     * @param {number} fnCount\n     *\n     * @returns {RuleOffset} The highest offset for this variant\n     */\n    recordVariant(variant, fnCount = 1) {\n      this.variantOffsets.set(variant, 1n << this.reservedVariantBits);\n      this.reservedVariantBits += BigInt(fnCount);\n      return {\n        ...this.create(\"variants\"),\n        variants: this.variantOffsets.get(variant)\n      };\n    }\n    /**\n     * @param {RuleOffset} a\n     * @param {RuleOffset} b\n     * @returns {bigint}\n     */\n    compare(a2, b2) {\n      if (a2.layer !== b2.layer) {\n        return this.layerPositions[a2.layer] - this.layerPositions[b2.layer];\n      }\n      if (a2.parentLayer !== b2.parentLayer) {\n        return this.layerPositions[a2.parentLayer] - this.layerPositions[b2.parentLayer];\n      }\n      for (let aOptions of a2.options) {\n        for (let bOptions of b2.options) {\n          if (aOptions.id !== bOptions.id) continue;\n          if (!aOptions.sort || !bOptions.sort) continue;\n          let maxFnVariant = max([aOptions.variant, bOptions.variant]) ?? 0n;\n          let mask = ~(maxFnVariant | maxFnVariant - 1n);\n          let aVariantsAfterFn = a2.variants & mask;\n          let bVariantsAfterFn = b2.variants & mask;\n          if (aVariantsAfterFn !== bVariantsAfterFn) {\n            continue;\n          }\n          let result = aOptions.sort(\n            {\n              value: aOptions.value,\n              modifier: aOptions.modifier\n            },\n            {\n              value: bOptions.value,\n              modifier: bOptions.modifier\n            }\n          );\n          if (result !== 0) return result;\n        }\n      }\n      if (a2.variants !== b2.variants) {\n        return a2.variants - b2.variants;\n      }\n      if (a2.parallelIndex !== b2.parallelIndex) {\n        return a2.parallelIndex - b2.parallelIndex;\n      }\n      if (a2.arbitrary !== b2.arbitrary) {\n        return a2.arbitrary - b2.arbitrary;\n      }\n      return a2.index - b2.index;\n    }\n    /**\n     * Arbitrary variants are recorded in the order they're encountered.\n     * This means that the order is not stable between environments and sets of content files.\n     *\n     * In order to make the order stable, we need to remap the arbitrary variant offsets to\n     * be in alphabetical order starting from the offset of the first arbitrary variant.\n     */\n    recalculateVariantOffsets() {\n      let variants = Array.from(this.variantOffsets.entries()).filter(([v2]) => v2.startsWith(\"[\")).sort(([a2], [z2]) => fastCompare(a2, z2));\n      let newOffsets = variants.map(([, offset]) => offset).sort((a2, z2) => bigSign2(a2 - z2));\n      let mapping = variants.map(([, oldOffset], i2) => [oldOffset, newOffsets[i2]]);\n      return mapping.filter(([a2, z2]) => a2 !== z2);\n    }\n    /**\n     * @template T\n     * @param {[RuleOffset, T][]} list\n     * @returns {[RuleOffset, T][]}\n     */\n    remapArbitraryVariantOffsets(list22) {\n      let mapping = this.recalculateVariantOffsets();\n      if (mapping.length === 0) {\n        return list22;\n      }\n      return list22.map((item) => {\n        let [offset, rule2] = item;\n        offset = {\n          ...offset,\n          variants: remapBitfield(offset.variants, mapping)\n        };\n        return [offset, rule2];\n      });\n    }\n    /**\n     * @template T\n     * @param {[RuleOffset, T][]} list\n     * @returns {[RuleOffset, T][]}\n     */\n    sort(list22) {\n      list22 = this.remapArbitraryVariantOffsets(list22);\n      return list22.sort(([a2], [b2]) => bigSign2(this.compare(a2, b2)));\n    }\n  };\n  function max(nums) {\n    let max2 = null;\n    for (const num3 of nums) {\n      max2 = max2 ?? num3;\n      max2 = max2 > num3 ? max2 : num3;\n    }\n    return max2;\n  }\n  function fastCompare(a2, b2) {\n    let aLen = a2.length;\n    let bLen = b2.length;\n    let minLen = aLen < bLen ? aLen : bLen;\n    for (let i2 = 0; i2 < minLen; i2++) {\n      let cmp = a2.charCodeAt(i2) - b2.charCodeAt(i2);\n      if (cmp !== 0) return cmp;\n    }\n    return aLen - bLen;\n  }\n  var INTERNAL_FEATURES = Symbol();\n  var VARIANT_TYPES = {\n    AddVariant: Symbol.for(\"ADD_VARIANT\"),\n    MatchVariant: Symbol.for(\"MATCH_VARIANT\")\n  };\n  var VARIANT_INFO = {\n    Base: 1 << 0,\n    Dynamic: 1 << 1\n  };\n  function prefix(context, selector) {\n    let prefix3 = context.tailwindConfig.prefix;\n    return typeof prefix3 === \"function\" ? prefix3(selector) : prefix3 + selector;\n  }\n  function normalizeOptionTypes({ type = \"any\", ...options }) {\n    let types2 = [].concat(type);\n    return {\n      ...options,\n      types: types2.map((type2) => {\n        if (Array.isArray(type2)) {\n          return { type: type2[0], ...type2[1] };\n        }\n        return { type: type2, preferOnConflict: false };\n      })\n    };\n  }\n  function parseVariantFormatString(input) {\n    let parts = [];\n    let current = \"\";\n    let depth = 0;\n    for (let idx = 0; idx < input.length; idx++) {\n      let char = input[idx];\n      if (char === \"\\\\\") {\n        current += \"\\\\\" + input[++idx];\n      } else if (char === \"{\") {\n        ++depth;\n        parts.push(current.trim());\n        current = \"\";\n      } else if (char === \"}\") {\n        if (--depth < 0) {\n          throw new Error(`Your { and } are unbalanced.`);\n        }\n        parts.push(current.trim());\n        current = \"\";\n      } else {\n        current += char;\n      }\n    }\n    if (current.length > 0) {\n      parts.push(current.trim());\n    }\n    parts = parts.filter((part) => part !== \"\");\n    return parts;\n  }\n  function insertInto(list22, value2, { before = [] } = {}) {\n    before = [].concat(before);\n    if (before.length <= 0) {\n      list22.push(value2);\n      return;\n    }\n    let idx = list22.length - 1;\n    for (let other of before) {\n      let iidx = list22.indexOf(other);\n      if (iidx === -1) continue;\n      idx = Math.min(idx, iidx);\n    }\n    list22.splice(idx, 0, value2);\n  }\n  function parseStyles(styles) {\n    if (!Array.isArray(styles)) {\n      return parseStyles([styles]);\n    }\n    return styles.flatMap((style) => {\n      let isNode = !Array.isArray(style) && !isPlainObject(style);\n      return isNode ? style : parseObjectStyles(style);\n    });\n  }\n  function getClasses(selector, mutate) {\n    let parser5 = (0, import_postcss_selector_parser8.default)((selectors) => {\n      let allClasses = [];\n      if (mutate) {\n        mutate(selectors);\n      }\n      selectors.walkClasses((classNode) => {\n        allClasses.push(classNode.value);\n      });\n      return allClasses;\n    });\n    return parser5.transformSync(selector);\n  }\n  function ignoreNot(selectors) {\n    selectors.walkPseudos((pseudo) => {\n      if (pseudo.value === \":not\") {\n        pseudo.remove();\n      }\n    });\n  }\n  function extractCandidates(node, state = { containsNonOnDemandable: false }, depth = 0) {\n    let classes = [];\n    let selectors = [];\n    if (node.type === \"rule\") {\n      selectors.push(...node.selectors);\n    } else if (node.type === \"atrule\") {\n      node.walkRules((rule2) => selectors.push(...rule2.selectors));\n    }\n    for (let selector of selectors) {\n      let classCandidates = getClasses(selector, ignoreNot);\n      if (classCandidates.length === 0) {\n        state.containsNonOnDemandable = true;\n      }\n      for (let classCandidate of classCandidates) {\n        classes.push(classCandidate);\n      }\n    }\n    if (depth === 0) {\n      return [state.containsNonOnDemandable || classes.length === 0, classes];\n    }\n    return classes;\n  }\n  function withIdentifiers(styles) {\n    return parseStyles(styles).flatMap((node) => {\n      let nodeMap = /* @__PURE__ */ new Map();\n      let [containsNonOnDemandableSelectors, candidates] = extractCandidates(node);\n      if (containsNonOnDemandableSelectors) {\n        candidates.unshift(NOT_ON_DEMAND);\n      }\n      return candidates.map((c3) => {\n        if (!nodeMap.has(node)) {\n          nodeMap.set(node, node);\n        }\n        return [c3, nodeMap.get(node)];\n      });\n    });\n  }\n  function isValidVariantFormatString(format) {\n    return format.startsWith(\"@\") || format.includes(\"&\");\n  }\n  function parseVariant(variant) {\n    variant = variant.replace(/\\n+/g, \"\").replace(/\\s{1,}/g, \" \").trim();\n    let fns = parseVariantFormatString(variant).map((str) => {\n      if (!str.startsWith(\"@\")) {\n        return ({ format }) => format(str);\n      }\n      let [, name, params] = /@(\\S*)( .+|[({].*)?/g.exec(str);\n      return ({ wrap }) => wrap(postcss_default.atRule({ name, params: params?.trim() ?? \"\" }));\n    }).reverse();\n    return (api) => {\n      for (let fn5 of fns) {\n        fn5(api);\n      }\n    };\n  }\n  function buildPluginApi(tailwindConfig, context, { variantList, variantMap, offsets, classList }) {\n    function getConfigValue(path, defaultValue) {\n      return path ? (0, import_dlv12.default)(tailwindConfig, path, defaultValue) : tailwindConfig;\n    }\n    function applyConfiguredPrefix(selector) {\n      return prefixSelector_default(tailwindConfig.prefix, selector);\n    }\n    function prefixIdentifier(identifier, options) {\n      if (identifier === NOT_ON_DEMAND) {\n        return NOT_ON_DEMAND;\n      }\n      if (!options.respectPrefix) {\n        return identifier;\n      }\n      return context.tailwindConfig.prefix + identifier;\n    }\n    function resolveThemeValue(path, defaultValue, opts = {}) {\n      let parts = toPath(path);\n      let value2 = getConfigValue([\"theme\", ...parts], defaultValue);\n      return transformThemeValue(parts[0])(value2, opts);\n    }\n    let variantIdentifier = 0;\n    let api = {\n      postcss: postcss_default,\n      prefix: applyConfiguredPrefix,\n      e: escapeClassName2,\n      config: getConfigValue,\n      theme: resolveThemeValue,\n      corePlugins: (path) => {\n        if (Array.isArray(tailwindConfig.corePlugins)) {\n          return tailwindConfig.corePlugins.includes(path);\n        }\n        return getConfigValue([\"corePlugins\", path], true);\n      },\n      variants: () => {\n        return [];\n      },\n      addBase(base) {\n        for (let [identifier, rule2] of withIdentifiers(base)) {\n          let prefixedIdentifier = prefixIdentifier(identifier, {});\n          let offset = offsets.create(\"base\");\n          if (!context.candidateRuleMap.has(prefixedIdentifier)) {\n            context.candidateRuleMap.set(prefixedIdentifier, []);\n          }\n          context.candidateRuleMap.get(prefixedIdentifier).push([{ sort: offset, layer: \"base\" }, rule2]);\n        }\n      },\n      /**\n       * @param {string} group\n       * @param {Record<string, string | string[]>} declarations\n       */\n      addDefaults(group, declarations) {\n        const groups = {\n          [`@defaults ${group}`]: declarations\n        };\n        for (let [identifier, rule2] of withIdentifiers(groups)) {\n          let prefixedIdentifier = prefixIdentifier(identifier, {});\n          if (!context.candidateRuleMap.has(prefixedIdentifier)) {\n            context.candidateRuleMap.set(prefixedIdentifier, []);\n          }\n          context.candidateRuleMap.get(prefixedIdentifier).push([{ sort: offsets.create(\"defaults\"), layer: \"defaults\" }, rule2]);\n        }\n      },\n      addComponents(components, options) {\n        let defaultOptions = {\n          preserveSource: false,\n          respectPrefix: true,\n          respectImportant: false\n        };\n        options = Object.assign({}, defaultOptions, Array.isArray(options) ? {} : options);\n        for (let [identifier, rule2] of withIdentifiers(components)) {\n          let prefixedIdentifier = prefixIdentifier(identifier, options);\n          classList.add(prefixedIdentifier);\n          if (!context.candidateRuleMap.has(prefixedIdentifier)) {\n            context.candidateRuleMap.set(prefixedIdentifier, []);\n          }\n          context.candidateRuleMap.get(prefixedIdentifier).push([{ sort: offsets.create(\"components\"), layer: \"components\", options }, rule2]);\n        }\n      },\n      addUtilities(utilities, options) {\n        let defaultOptions = {\n          preserveSource: false,\n          respectPrefix: true,\n          respectImportant: true\n        };\n        options = Object.assign({}, defaultOptions, Array.isArray(options) ? {} : options);\n        for (let [identifier, rule2] of withIdentifiers(utilities)) {\n          let prefixedIdentifier = prefixIdentifier(identifier, options);\n          classList.add(prefixedIdentifier);\n          if (!context.candidateRuleMap.has(prefixedIdentifier)) {\n            context.candidateRuleMap.set(prefixedIdentifier, []);\n          }\n          context.candidateRuleMap.get(prefixedIdentifier).push([{ sort: offsets.create(\"utilities\"), layer: \"utilities\", options }, rule2]);\n        }\n      },\n      matchUtilities: function(utilities, options) {\n        let defaultOptions = {\n          respectPrefix: true,\n          respectImportant: true,\n          modifiers: false\n        };\n        options = normalizeOptionTypes({ ...defaultOptions, ...options });\n        let offset = offsets.create(\"utilities\");\n        for (let identifier in utilities) {\n          let wrapped = function(modifier, { isOnlyPlugin }) {\n            let [value2, coercedType, utilityModifier] = coerceValue(\n              options.types,\n              modifier,\n              options,\n              tailwindConfig\n            );\n            if (value2 === void 0) {\n              return [];\n            }\n            if (!options.types.some(({ type }) => type === coercedType)) {\n              if (isOnlyPlugin) {\n                log_default.warn([\n                  `Unnecessary typehint \\`${coercedType}\\` in \\`${identifier}-${modifier}\\`.`,\n                  `You can safely update it to \\`${identifier}-${modifier.replace(\n                    coercedType + \":\",\n                    \"\"\n                  )}\\`.`\n                ]);\n              } else {\n                return [];\n              }\n            }\n            if (!isSyntacticallyValidPropertyValue(value2)) {\n              return [];\n            }\n            let extras = {\n              get modifier() {\n                if (!options.modifiers) {\n                  log_default.warn(`modifier-used-without-options-for-${identifier}`, [\n                    \"Your plugin must set `modifiers: true` in its options to support modifiers.\"\n                  ]);\n                }\n                return utilityModifier;\n              }\n            };\n            let modifiersEnabled = flagEnabled2(tailwindConfig, \"generalizedModifiers\");\n            let ruleSets = [].concat(modifiersEnabled ? rule2(value2, extras) : rule2(value2)).filter(Boolean).map((declaration) => ({\n              [nameClass(identifier, modifier)]: declaration\n            }));\n            return ruleSets;\n          };\n          let prefixedIdentifier = prefixIdentifier(identifier, options);\n          let rule2 = utilities[identifier];\n          classList.add([prefixedIdentifier, options]);\n          let withOffsets = [{ sort: offset, layer: \"utilities\", options }, wrapped];\n          if (!context.candidateRuleMap.has(prefixedIdentifier)) {\n            context.candidateRuleMap.set(prefixedIdentifier, []);\n          }\n          context.candidateRuleMap.get(prefixedIdentifier).push(withOffsets);\n        }\n      },\n      matchComponents: function(components, options) {\n        let defaultOptions = {\n          respectPrefix: true,\n          respectImportant: false,\n          modifiers: false\n        };\n        options = normalizeOptionTypes({ ...defaultOptions, ...options });\n        let offset = offsets.create(\"components\");\n        for (let identifier in components) {\n          let wrapped = function(modifier, { isOnlyPlugin }) {\n            let [value2, coercedType, utilityModifier] = coerceValue(\n              options.types,\n              modifier,\n              options,\n              tailwindConfig\n            );\n            if (value2 === void 0) {\n              return [];\n            }\n            if (!options.types.some(({ type }) => type === coercedType)) {\n              if (isOnlyPlugin) {\n                log_default.warn([\n                  `Unnecessary typehint \\`${coercedType}\\` in \\`${identifier}-${modifier}\\`.`,\n                  `You can safely update it to \\`${identifier}-${modifier.replace(\n                    coercedType + \":\",\n                    \"\"\n                  )}\\`.`\n                ]);\n              } else {\n                return [];\n              }\n            }\n            if (!isSyntacticallyValidPropertyValue(value2)) {\n              return [];\n            }\n            let extras = {\n              get modifier() {\n                if (!options.modifiers) {\n                  log_default.warn(`modifier-used-without-options-for-${identifier}`, [\n                    \"Your plugin must set `modifiers: true` in its options to support modifiers.\"\n                  ]);\n                }\n                return utilityModifier;\n              }\n            };\n            let modifiersEnabled = flagEnabled2(tailwindConfig, \"generalizedModifiers\");\n            let ruleSets = [].concat(modifiersEnabled ? rule2(value2, extras) : rule2(value2)).filter(Boolean).map((declaration) => ({\n              [nameClass(identifier, modifier)]: declaration\n            }));\n            return ruleSets;\n          };\n          let prefixedIdentifier = prefixIdentifier(identifier, options);\n          let rule2 = components[identifier];\n          classList.add([prefixedIdentifier, options]);\n          let withOffsets = [{ sort: offset, layer: \"components\", options }, wrapped];\n          if (!context.candidateRuleMap.has(prefixedIdentifier)) {\n            context.candidateRuleMap.set(prefixedIdentifier, []);\n          }\n          context.candidateRuleMap.get(prefixedIdentifier).push(withOffsets);\n        }\n      },\n      addVariant(variantName, variantFunctions, options = {}) {\n        variantFunctions = [].concat(variantFunctions).map((variantFunction) => {\n          if (typeof variantFunction !== \"string\") {\n            return (api2 = {}) => {\n              let { args, modifySelectors, container, separator, wrap, format } = api2;\n              let result = variantFunction(\n                Object.assign(\n                  { modifySelectors, container, separator },\n                  options.type === VARIANT_TYPES.MatchVariant && { args, wrap, format }\n                )\n              );\n              if (typeof result === \"string\" && !isValidVariantFormatString(result)) {\n                throw new Error(\n                  `Your custom variant \\`${variantName}\\` has an invalid format string. Make sure it's an at-rule or contains a \\`&\\` placeholder.`\n                );\n              }\n              if (Array.isArray(result)) {\n                return result.filter((variant) => typeof variant === \"string\").map((variant) => parseVariant(variant));\n              }\n              return result && typeof result === \"string\" && parseVariant(result)(api2);\n            };\n          }\n          if (!isValidVariantFormatString(variantFunction)) {\n            throw new Error(\n              `Your custom variant \\`${variantName}\\` has an invalid format string. Make sure it's an at-rule or contains a \\`&\\` placeholder.`\n            );\n          }\n          return parseVariant(variantFunction);\n        });\n        insertInto(variantList, variantName, options);\n        variantMap.set(variantName, variantFunctions);\n        context.variantOptions.set(variantName, options);\n      },\n      matchVariant(variant, variantFn, options) {\n        let id = options?.id ?? ++variantIdentifier;\n        let isSpecial = variant === \"@\";\n        let modifiersEnabled = flagEnabled2(tailwindConfig, \"generalizedModifiers\");\n        for (let [key, value2] of Object.entries(options?.values ?? {})) {\n          if (key === \"DEFAULT\") continue;\n          api.addVariant(\n            isSpecial ? `${variant}${key}` : `${variant}-${key}`,\n            ({ args, container }) => {\n              return variantFn(\n                value2,\n                modifiersEnabled ? { modifier: args?.modifier, container } : { container }\n              );\n            },\n            {\n              ...options,\n              value: value2,\n              id,\n              type: VARIANT_TYPES.MatchVariant,\n              variantInfo: VARIANT_INFO.Base\n            }\n          );\n        }\n        let hasDefault = \"DEFAULT\" in (options?.values ?? {});\n        api.addVariant(\n          variant,\n          ({ args, container }) => {\n            if (args?.value === NONE && !hasDefault) {\n              return null;\n            }\n            return variantFn(\n              args?.value === NONE ? options.values.DEFAULT : (\n                // Falling back to args if it is a string, otherwise '' for older intellisense\n                // (JetBrains) plugins.\n                args?.value ?? (typeof args === \"string\" ? args : \"\")\n              ),\n              modifiersEnabled ? { modifier: args?.modifier, container } : { container }\n            );\n          },\n          {\n            ...options,\n            id,\n            type: VARIANT_TYPES.MatchVariant,\n            variantInfo: VARIANT_INFO.Dynamic\n          }\n        );\n      }\n    };\n    return api;\n  }\n  function extractVariantAtRules(node) {\n    node.walkAtRules((atRule22) => {\n      if ([\"responsive\", \"variants\"].includes(atRule22.name)) {\n        extractVariantAtRules(atRule22);\n        atRule22.before(atRule22.nodes);\n        atRule22.remove();\n      }\n    });\n  }\n  function collectLayerPlugins(root2) {\n    let layerPlugins = [];\n    root2.each((node) => {\n      if (node.type === \"atrule\" && [\"responsive\", \"variants\"].includes(node.name)) {\n        node.name = \"layer\";\n        node.params = \"utilities\";\n      }\n    });\n    root2.walkAtRules(\"layer\", (layerRule) => {\n      extractVariantAtRules(layerRule);\n      if (layerRule.params === \"base\") {\n        for (let node of layerRule.nodes) {\n          layerPlugins.push(function({ addBase }) {\n            addBase(node, { respectPrefix: false });\n          });\n        }\n        layerRule.remove();\n      } else if (layerRule.params === \"components\") {\n        for (let node of layerRule.nodes) {\n          layerPlugins.push(function({ addComponents }) {\n            addComponents(node, { respectPrefix: false, preserveSource: true });\n          });\n        }\n        layerRule.remove();\n      } else if (layerRule.params === \"utilities\") {\n        for (let node of layerRule.nodes) {\n          layerPlugins.push(function({ addUtilities }) {\n            addUtilities(node, { respectPrefix: false, preserveSource: true });\n          });\n        }\n        layerRule.remove();\n      }\n    });\n    return layerPlugins;\n  }\n  function resolvePlugins(context, root2) {\n    let corePluginList = Object.entries({ ...variantPlugins, ...corePlugins }).map(([name, plugin2]) => {\n      if (!context.tailwindConfig.corePlugins.includes(name)) {\n        return null;\n      }\n      return plugin2;\n    }).filter(Boolean);\n    let userPlugins = context.tailwindConfig.plugins.map((plugin2) => {\n      if (plugin2.__isOptionsFunction) {\n        plugin2 = plugin2();\n      }\n      return typeof plugin2 === \"function\" ? plugin2 : plugin2.handler;\n    });\n    let layerPlugins = collectLayerPlugins(root2);\n    let beforeVariants = [\n      variantPlugins[\"pseudoElementVariants\"],\n      variantPlugins[\"pseudoClassVariants\"],\n      variantPlugins[\"ariaVariants\"],\n      variantPlugins[\"dataVariants\"]\n    ];\n    let afterVariants = [\n      variantPlugins[\"supportsVariants\"],\n      variantPlugins[\"directionVariants\"],\n      variantPlugins[\"reducedMotionVariants\"],\n      variantPlugins[\"prefersContrastVariants\"],\n      variantPlugins[\"darkVariants\"],\n      variantPlugins[\"printVariant\"],\n      variantPlugins[\"screenVariants\"],\n      variantPlugins[\"orientationVariants\"]\n    ];\n    return [...corePluginList, ...beforeVariants, ...userPlugins, ...afterVariants, ...layerPlugins];\n  }\n  function registerPlugins(plugins, context) {\n    let variantList = [];\n    let variantMap = /* @__PURE__ */ new Map();\n    context.variantMap = variantMap;\n    let offsets = new Offsets();\n    context.offsets = offsets;\n    let classList = /* @__PURE__ */ new Set();\n    let pluginApi = buildPluginApi(context.tailwindConfig, context, {\n      variantList,\n      variantMap,\n      offsets,\n      classList\n    });\n    for (let plugin2 of plugins) {\n      if (Array.isArray(plugin2)) {\n        for (let pluginItem of plugin2) {\n          pluginItem(pluginApi);\n        }\n      } else {\n        plugin2?.(pluginApi);\n      }\n    }\n    offsets.recordVariants(variantList, (variant) => variantMap.get(variant).length);\n    for (let [variantName, variantFunctions] of variantMap.entries()) {\n      context.variantMap.set(\n        variantName,\n        variantFunctions.map((variantFunction, idx) => [\n          offsets.forVariant(variantName, idx),\n          variantFunction\n        ])\n      );\n    }\n    let safelist = (context.tailwindConfig.safelist ?? []).filter(Boolean);\n    if (safelist.length > 0) {\n      let checks = [];\n      for (let value2 of safelist) {\n        if (typeof value2 === \"string\") {\n          context.changedContent.push({ content: value2, extension: \"html\" });\n          continue;\n        }\n        if (value2 instanceof RegExp) {\n          log_default.warn(\"root-regex\", [\n            \"Regular expressions in `safelist` work differently in Tailwind CSS v3.0.\",\n            \"Update your `safelist` configuration to eliminate this warning.\",\n            \"https://tailwindcss.com/docs/content-configuration#safelisting-classes\"\n          ]);\n          continue;\n        }\n        checks.push(value2);\n      }\n      if (checks.length > 0) {\n        let patternMatchingCount = /* @__PURE__ */ new Map();\n        let prefixLength = context.tailwindConfig.prefix.length;\n        let checkImportantUtils = checks.some((check) => check.pattern.source.includes(\"!\"));\n        for (let util of classList) {\n          let utils = Array.isArray(util) ? (() => {\n            let [utilName, options] = util;\n            let values = Object.keys(options?.values ?? {});\n            let classes = values.map((value2) => formatClass(utilName, value2));\n            if (options?.supportsNegativeValues) {\n              classes = [...classes, ...classes.map((cls) => \"-\" + cls)];\n              classes = [\n                ...classes,\n                ...classes.map(\n                  (cls) => cls.slice(0, prefixLength) + \"-\" + cls.slice(prefixLength)\n                )\n              ];\n            }\n            if (options.types.some(({ type }) => type === \"color\")) {\n              classes = [\n                ...classes,\n                ...classes.flatMap(\n                  (cls) => Object.keys(context.tailwindConfig.theme.opacity).map(\n                    (opacity) => `${cls}/${opacity}`\n                  )\n                )\n              ];\n            }\n            if (checkImportantUtils && options?.respectImportant) {\n              classes = [...classes, ...classes.map((cls) => \"!\" + cls)];\n            }\n            return classes;\n          })() : [util];\n          for (let util2 of utils) {\n            for (let { pattern: pattern2, variants = [] } of checks) {\n              pattern2.lastIndex = 0;\n              if (!patternMatchingCount.has(pattern2)) {\n                patternMatchingCount.set(pattern2, 0);\n              }\n              if (!pattern2.test(util2)) continue;\n              patternMatchingCount.set(pattern2, patternMatchingCount.get(pattern2) + 1);\n              context.changedContent.push({ content: util2, extension: \"html\" });\n              for (let variant of variants) {\n                context.changedContent.push({\n                  content: variant + context.tailwindConfig.separator + util2,\n                  extension: \"html\"\n                });\n              }\n            }\n          }\n        }\n        for (let [regex, count] of patternMatchingCount.entries()) {\n          if (count !== 0) continue;\n          log_default.warn([\n            `The safelist pattern \\`${regex}\\` doesn't match any Tailwind CSS classes.`,\n            \"Fix this pattern or remove it from your `safelist` configuration.\",\n            \"https://tailwindcss.com/docs/content-configuration#safelisting-classes\"\n          ]);\n        }\n      }\n    }\n    let darkClassName = [].concat(context.tailwindConfig.darkMode ?? \"media\")[1] ?? \"dark\";\n    let parasiteUtilities = [\n      prefix(context, darkClassName),\n      prefix(context, \"group\"),\n      prefix(context, \"peer\")\n    ];\n    context.getClassOrder = function getClassOrder(classes) {\n      let sorted = [...classes].sort((a2, z2) => {\n        if (a2 === z2) return 0;\n        if (a2 < z2) return -1;\n        return 1;\n      });\n      let sortedClassNames = new Map(sorted.map((className) => [className, null]));\n      let rules = generateRules2(new Set(sorted), context, true);\n      rules = context.offsets.sort(rules);\n      let idx = BigInt(parasiteUtilities.length);\n      for (const [, rule2] of rules) {\n        let candidate = rule2.raws.tailwind.candidate;\n        sortedClassNames.set(candidate, sortedClassNames.get(candidate) ?? idx++);\n      }\n      return classes.map((className) => {\n        let order = sortedClassNames.get(className) ?? null;\n        let parasiteIndex = parasiteUtilities.indexOf(className);\n        if (order === null && parasiteIndex !== -1) {\n          order = BigInt(parasiteIndex);\n        }\n        return [className, order];\n      });\n    };\n    context.getClassList = function getClassList(options = {}) {\n      let output = [];\n      for (let util of classList) {\n        if (Array.isArray(util)) {\n          let [utilName, utilOptions] = util;\n          let negativeClasses = [];\n          let modifiers = Object.keys(utilOptions?.modifiers ?? {});\n          if (utilOptions?.types?.some(({ type }) => type === \"color\")) {\n            modifiers.push(...Object.keys(context.tailwindConfig.theme.opacity ?? {}));\n          }\n          let metadata = { modifiers };\n          let includeMetadata = options.includeMetadata && modifiers.length > 0;\n          for (let [key, value2] of Object.entries(utilOptions?.values ?? {})) {\n            if (value2 == null) {\n              continue;\n            }\n            let cls = formatClass(utilName, key);\n            output.push(includeMetadata ? [cls, metadata] : cls);\n            if (utilOptions?.supportsNegativeValues && negateValue(value2)) {\n              let cls2 = formatClass(utilName, `-${key}`);\n              negativeClasses.push(includeMetadata ? [cls2, metadata] : cls2);\n            }\n          }\n          output.push(...negativeClasses);\n        } else {\n          output.push(util);\n        }\n      }\n      return output;\n    };\n    context.getVariants = function getVariants() {\n      let result = [];\n      for (let [name, options] of context.variantOptions.entries()) {\n        if (options.variantInfo === VARIANT_INFO.Base) continue;\n        result.push({\n          name,\n          isArbitrary: options.type === Symbol.for(\"MATCH_VARIANT\"),\n          values: Object.keys(options.values ?? {}),\n          hasDash: name !== \"@\",\n          selectors({ modifier, value: value2 } = {}) {\n            let candidate = \"__TAILWIND_PLACEHOLDER__\";\n            let rule2 = postcss_default.rule({ selector: `.${candidate}` });\n            let container = postcss_default.root({ nodes: [rule2.clone()] });\n            let before = container.toString();\n            let fns = (context.variantMap.get(name) ?? []).flatMap(([_2, fn5]) => fn5);\n            let formatStrings = [];\n            for (let fn5 of fns) {\n              let localFormatStrings = [];\n              let api = {\n                args: { modifier, value: options.values?.[value2] ?? value2 },\n                separator: context.tailwindConfig.separator,\n                modifySelectors(modifierFunction) {\n                  container.each((rule3) => {\n                    if (rule3.type !== \"rule\") {\n                      return;\n                    }\n                    rule3.selectors = rule3.selectors.map((selector) => {\n                      return modifierFunction({\n                        get className() {\n                          return getClassNameFromSelector(selector);\n                        },\n                        selector\n                      });\n                    });\n                  });\n                  return container;\n                },\n                format(str) {\n                  localFormatStrings.push(str);\n                },\n                wrap(wrapper) {\n                  localFormatStrings.push(`@${wrapper.name} ${wrapper.params} { & }`);\n                },\n                container\n              };\n              let ruleWithVariant = fn5(api);\n              if (localFormatStrings.length > 0) {\n                formatStrings.push(localFormatStrings);\n              }\n              if (Array.isArray(ruleWithVariant)) {\n                for (let variantFunction of ruleWithVariant) {\n                  localFormatStrings = [];\n                  variantFunction(api);\n                  formatStrings.push(localFormatStrings);\n                }\n              }\n            }\n            let manualFormatStrings = [];\n            let after = container.toString();\n            if (before !== after) {\n              container.walkRules((rule3) => {\n                let modified = rule3.selector;\n                let rebuiltBase = (0, import_postcss_selector_parser8.default)((selectors) => {\n                  selectors.walkClasses((classNode) => {\n                    classNode.value = `${name}${context.tailwindConfig.separator}${classNode.value}`;\n                  });\n                }).processSync(modified);\n                manualFormatStrings.push(modified.replace(rebuiltBase, \"&\").replace(candidate, \"&\"));\n              });\n              container.walkAtRules((atrule) => {\n                manualFormatStrings.push(`@${atrule.name} (${atrule.params}) { & }`);\n              });\n            }\n            let isArbitraryVariant = !(value2 in (options.values ?? {}));\n            let internalFeatures = options[INTERNAL_FEATURES] ?? {};\n            let respectPrefix = (() => {\n              if (isArbitraryVariant) return false;\n              if (internalFeatures.respectPrefix === false) return false;\n              return true;\n            })();\n            formatStrings = formatStrings.map(\n              (format) => format.map((str) => ({\n                format: str,\n                respectPrefix\n              }))\n            );\n            manualFormatStrings = manualFormatStrings.map((format) => ({\n              format,\n              respectPrefix\n            }));\n            let opts = {\n              candidate,\n              context\n            };\n            let result2 = formatStrings.map(\n              (formats) => finalizeSelector(`.${candidate}`, formatVariantSelector(formats, opts), opts).replace(`.${candidate}`, \"&\").replace(\"{ & }\", \"\").trim()\n            );\n            if (manualFormatStrings.length > 0) {\n              result2.push(\n                formatVariantSelector(manualFormatStrings, opts).toString().replace(`.${candidate}`, \"&\")\n              );\n            }\n            return result2;\n          }\n        });\n      }\n      return result;\n    };\n  }\n  function markInvalidUtilityCandidate(context, candidate) {\n    if (!context.classCache.has(candidate)) {\n      return;\n    }\n    context.notClassCache.add(candidate);\n    context.classCache.delete(candidate);\n    context.applyClassCache.delete(candidate);\n    context.candidateRuleMap.delete(candidate);\n    context.candidateRuleCache.delete(candidate);\n    context.stylesheetCache = null;\n  }\n  function markInvalidUtilityNode(context, node) {\n    let candidate = node.raws.tailwind.candidate;\n    if (!candidate) {\n      return;\n    }\n    for (const entry of context.ruleCache) {\n      if (entry[1].raws.tailwind.candidate === candidate) {\n        context.ruleCache.delete(entry);\n      }\n    }\n    markInvalidUtilityCandidate(context, candidate);\n  }\n  function createContext(tailwindConfig, changedContent = [], root2 = postcss_default.root()) {\n    let context = {\n      disposables: [],\n      ruleCache: /* @__PURE__ */ new Set(),\n      candidateRuleCache: /* @__PURE__ */ new Map(),\n      classCache: /* @__PURE__ */ new Map(),\n      applyClassCache: /* @__PURE__ */ new Map(),\n      // Seed the not class cache with the blocklist (which is only strings)\n      notClassCache: new Set(tailwindConfig.blocklist ?? []),\n      postCssNodeCache: /* @__PURE__ */ new Map(),\n      candidateRuleMap: /* @__PURE__ */ new Map(),\n      tailwindConfig,\n      changedContent,\n      variantMap: /* @__PURE__ */ new Map(),\n      stylesheetCache: null,\n      variantOptions: /* @__PURE__ */ new Map(),\n      markInvalidUtilityCandidate: (candidate) => markInvalidUtilityCandidate(context, candidate),\n      markInvalidUtilityNode: (node) => markInvalidUtilityNode(context, node)\n    };\n    let resolvedPlugins = resolvePlugins(context, root2);\n    registerPlugins(resolvedPlugins, context);\n    return context;\n  }\n  function applyImportantSelector(selector, important) {\n    let sel = (0, import_postcss_selector_parser9.default)().astSync(selector);\n    sel.each((sel2) => {\n      let isWrapped = sel2.nodes[0].type === \"pseudo\" && sel2.nodes[0].value === \":is\" && sel2.nodes.every((node) => node.type !== \"combinator\");\n      if (!isWrapped) {\n        sel2.nodes = [\n          import_postcss_selector_parser9.default.pseudo({\n            value: \":is\",\n            nodes: [sel2.clone()]\n          })\n        ];\n      }\n      movePseudos(sel2);\n    });\n    return `${important} ${sel.toString()}`;\n  }\n  var classNameParser = (0, import_postcss_selector_parser4.default)((selectors) => {\n    return selectors.first.filter(({ type }) => type === \"class\").pop().value;\n  });\n  function getClassNameFromSelector(selector) {\n    return classNameParser.transformSync(selector);\n  }\n  function* candidatePermutations(candidate) {\n    let lastIndex = Infinity;\n    while (lastIndex >= 0) {\n      let dashIdx;\n      let wasSlash = false;\n      if (lastIndex === Infinity && candidate.endsWith(\"]\")) {\n        let bracketIdx = candidate.indexOf(\"[\");\n        if (candidate[bracketIdx - 1] === \"-\") {\n          dashIdx = bracketIdx - 1;\n        } else if (candidate[bracketIdx - 1] === \"/\") {\n          dashIdx = bracketIdx - 1;\n          wasSlash = true;\n        } else {\n          dashIdx = -1;\n        }\n      } else if (lastIndex === Infinity && candidate.includes(\"/\")) {\n        dashIdx = candidate.lastIndexOf(\"/\");\n        wasSlash = true;\n      } else {\n        dashIdx = candidate.lastIndexOf(\"-\", lastIndex);\n      }\n      if (dashIdx < 0) {\n        break;\n      }\n      let prefix3 = candidate.slice(0, dashIdx);\n      let modifier = candidate.slice(wasSlash ? dashIdx : dashIdx + 1);\n      lastIndex = dashIdx - 1;\n      if (prefix3 === \"\" || modifier === \"/\") {\n        continue;\n      }\n      yield [prefix3, modifier];\n    }\n  }\n  function applyPrefix(matches, context) {\n    if (matches.length === 0 || context.tailwindConfig.prefix === \"\") {\n      return matches;\n    }\n    for (let match of matches) {\n      let [meta] = match;\n      if (meta.options.respectPrefix) {\n        let container = postcss_default.root({ nodes: [match[1].clone()] });\n        let classCandidate = match[1].raws.tailwind.classCandidate;\n        container.walkRules((r3) => {\n          let shouldPrependNegative = classCandidate.startsWith(\"-\");\n          r3.selector = prefixSelector_default(\n            context.tailwindConfig.prefix,\n            r3.selector,\n            shouldPrependNegative\n          );\n        });\n        match[1] = container.nodes[0];\n      }\n    }\n    return matches;\n  }\n  function applyImportant(matches, classCandidate) {\n    if (matches.length === 0) {\n      return matches;\n    }\n    let result = [];\n    for (let [meta, rule2] of matches) {\n      let container = postcss_default.root({ nodes: [rule2.clone()] });\n      container.walkRules((r3) => {\n        let ast = (0, import_postcss_selector_parser4.default)().astSync(r3.selector);\n        ast.each((sel) => eliminateIrrelevantSelectors(sel, classCandidate));\n        updateAllClasses(\n          ast,\n          (className) => className === classCandidate ? `!${className}` : className\n        );\n        r3.selector = ast.toString();\n        r3.walkDecls((d2) => d2.important = true);\n      });\n      result.push([{ ...meta, important: true }, container.nodes[0]]);\n    }\n    return result;\n  }\n  function applyVariant(variant, matches, context) {\n    if (matches.length === 0) {\n      return matches;\n    }\n    let args = { modifier: null, value: NONE };\n    {\n      let [baseVariant, ...modifiers] = splitAtTopLevelOnly2(variant, \"/\");\n      if (modifiers.length > 1) {\n        baseVariant = baseVariant + \"/\" + modifiers.slice(0, -1).join(\"/\");\n        modifiers = modifiers.slice(-1);\n      }\n      if (modifiers.length && !context.variantMap.has(variant)) {\n        variant = baseVariant;\n        args.modifier = modifiers[0];\n        if (!flagEnabled2(context.tailwindConfig, \"generalizedModifiers\")) {\n          return [];\n        }\n      }\n    }\n    if (variant.endsWith(\"]\") && !variant.startsWith(\"[\")) {\n      let match = /(.)(-?)\\[(.*)\\]/g.exec(variant);\n      if (match) {\n        let [, char, separator, value2] = match;\n        if (char === \"@\" && separator === \"-\") return [];\n        if (char !== \"@\" && separator === \"\") return [];\n        variant = variant.replace(`${separator}[${value2}]`, \"\");\n        args.value = value2;\n      }\n    }\n    if (isArbitraryValue2(variant) && !context.variantMap.has(variant)) {\n      let sort = context.offsets.recordVariant(variant);\n      let selector = normalize2(variant.slice(1, -1));\n      let selectors = splitAtTopLevelOnly2(selector, \",\");\n      if (selectors.length > 1) {\n        return [];\n      }\n      if (!selectors.every(isValidVariantFormatString)) {\n        return [];\n      }\n      let records = selectors.map((sel, idx) => [\n        context.offsets.applyParallelOffset(sort, idx),\n        parseVariant(sel.trim())\n      ]);\n      context.variantMap.set(variant, records);\n    }\n    if (context.variantMap.has(variant)) {\n      let isArbitraryVariant = isArbitraryValue2(variant);\n      let internalFeatures = context.variantOptions.get(variant)?.[INTERNAL_FEATURES] ?? {};\n      let variantFunctionTuples = context.variantMap.get(variant).slice();\n      let result = [];\n      let respectPrefix = (() => {\n        if (isArbitraryVariant) return false;\n        if (internalFeatures.respectPrefix === false) return false;\n        return true;\n      })();\n      for (let [meta, rule2] of matches) {\n        if (meta.layer === \"user\") {\n          continue;\n        }\n        let container = postcss_default.root({ nodes: [rule2.clone()] });\n        for (let [variantSort, variantFunction, containerFromArray] of variantFunctionTuples) {\n          let prepareBackup = function() {\n            if (clone.raws.neededBackup) {\n              return;\n            }\n            clone.raws.neededBackup = true;\n            clone.walkRules((rule3) => rule3.raws.originalSelector = rule3.selector);\n          }, modifySelectors = function(modifierFunction) {\n            prepareBackup();\n            clone.each((rule3) => {\n              if (rule3.type !== \"rule\") {\n                return;\n              }\n              rule3.selectors = rule3.selectors.map((selector) => {\n                return modifierFunction({\n                  get className() {\n                    return getClassNameFromSelector(selector);\n                  },\n                  selector\n                });\n              });\n            });\n            return clone;\n          };\n          let clone = (containerFromArray ?? container).clone();\n          let collectedFormats = [];\n          let ruleWithVariant = variantFunction({\n            // Public API\n            get container() {\n              prepareBackup();\n              return clone;\n            },\n            separator: context.tailwindConfig.separator,\n            modifySelectors,\n            // Private API for now\n            wrap(wrapper) {\n              let nodes = clone.nodes;\n              clone.removeAll();\n              wrapper.append(nodes);\n              clone.append(wrapper);\n            },\n            format(selectorFormat) {\n              collectedFormats.push({\n                format: selectorFormat,\n                respectPrefix\n              });\n            },\n            args\n          });\n          if (Array.isArray(ruleWithVariant)) {\n            for (let [idx, variantFunction2] of ruleWithVariant.entries()) {\n              variantFunctionTuples.push([\n                context.offsets.applyParallelOffset(variantSort, idx),\n                variantFunction2,\n                // If the clone has been modified we have to pass that back\n                // though so each rule can use the modified container\n                clone.clone()\n              ]);\n            }\n            continue;\n          }\n          if (typeof ruleWithVariant === \"string\") {\n            collectedFormats.push({\n              format: ruleWithVariant,\n              respectPrefix\n            });\n          }\n          if (ruleWithVariant === null) {\n            continue;\n          }\n          if (clone.raws.neededBackup) {\n            delete clone.raws.neededBackup;\n            clone.walkRules((rule3) => {\n              let before = rule3.raws.originalSelector;\n              if (!before) return;\n              delete rule3.raws.originalSelector;\n              if (before === rule3.selector) return;\n              let modified = rule3.selector;\n              let rebuiltBase = (0, import_postcss_selector_parser4.default)((selectors) => {\n                selectors.walkClasses((classNode) => {\n                  classNode.value = `${variant}${context.tailwindConfig.separator}${classNode.value}`;\n                });\n              }).processSync(before);\n              collectedFormats.push({\n                format: modified.replace(rebuiltBase, \"&\"),\n                respectPrefix\n              });\n              rule3.selector = before;\n            });\n          }\n          clone.nodes[0].raws.tailwind = { ...clone.nodes[0].raws.tailwind, parentLayer: meta.layer };\n          let withOffset = [\n            {\n              ...meta,\n              sort: context.offsets.applyVariantOffset(\n                meta.sort,\n                variantSort,\n                Object.assign(args, context.variantOptions.get(variant))\n              ),\n              collectedFormats: (meta.collectedFormats ?? []).concat(collectedFormats)\n            },\n            clone.nodes[0]\n          ];\n          result.push(withOffset);\n        }\n      }\n      return result;\n    }\n    return [];\n  }\n  function parseRules(rule2, cache3, options = {}) {\n    if (!isPlainObject(rule2) && !Array.isArray(rule2)) {\n      return [[rule2], options];\n    }\n    if (Array.isArray(rule2)) {\n      return parseRules(rule2[0], cache3, rule2[1]);\n    }\n    if (!cache3.has(rule2)) {\n      cache3.set(rule2, parseObjectStyles(rule2));\n    }\n    return [cache3.get(rule2), options];\n  }\n  var IS_VALID_PROPERTY_NAME = /^[a-z_-]/;\n  function isValidPropName(name) {\n    return IS_VALID_PROPERTY_NAME.test(name);\n  }\n  function looksLikeUri(declaration) {\n    if (!declaration.includes(\"://\")) {\n      return false;\n    }\n    try {\n      const url2 = new URL(declaration);\n      return url2.scheme !== \"\" && url2.host !== \"\";\n    } catch (err) {\n      return false;\n    }\n  }\n  function isParsableNode(node) {\n    let isParsable = true;\n    node.walkDecls((decl22) => {\n      if (!isParsableCssValue(decl22.prop, decl22.value)) {\n        isParsable = false;\n        return false;\n      }\n    });\n    return isParsable;\n  }\n  function isParsableCssValue(property, value2) {\n    if (looksLikeUri(`${property}:${value2}`)) {\n      return false;\n    }\n    try {\n      postcss_default.parse(`a{${property}:${value2}}`).toResult();\n      return true;\n    } catch (err) {\n      return false;\n    }\n  }\n  function extractArbitraryProperty(classCandidate, context) {\n    let [, property, value2] = classCandidate.match(/^\\[([a-zA-Z0-9-_]+):(\\S+)\\]$/) ?? [];\n    if (value2 === void 0) {\n      return null;\n    }\n    if (!isValidPropName(property)) {\n      return null;\n    }\n    if (!isSyntacticallyValidPropertyValue(value2)) {\n      return null;\n    }\n    let normalized = normalize2(value2, { property });\n    if (!isParsableCssValue(property, normalized)) {\n      return null;\n    }\n    let sort = context.offsets.arbitraryProperty();\n    return [\n      [\n        { sort, layer: \"utilities\" },\n        () => ({\n          [asClass(classCandidate)]: {\n            [property]: normalized\n          }\n        })\n      ]\n    ];\n  }\n  function* resolveMatchedPlugins(classCandidate, context) {\n    if (context.candidateRuleMap.has(classCandidate)) {\n      yield [context.candidateRuleMap.get(classCandidate), \"DEFAULT\"];\n    }\n    yield* function* (arbitraryPropertyRule) {\n      if (arbitraryPropertyRule !== null) {\n        yield [arbitraryPropertyRule, \"DEFAULT\"];\n      }\n    }(extractArbitraryProperty(classCandidate, context));\n    let candidatePrefix = classCandidate;\n    let negative = false;\n    const twConfigPrefix = context.tailwindConfig.prefix;\n    const twConfigPrefixLen = twConfigPrefix.length;\n    const hasMatchingPrefix = candidatePrefix.startsWith(twConfigPrefix) || candidatePrefix.startsWith(`-${twConfigPrefix}`);\n    if (candidatePrefix[twConfigPrefixLen] === \"-\" && hasMatchingPrefix) {\n      negative = true;\n      candidatePrefix = twConfigPrefix + candidatePrefix.slice(twConfigPrefixLen + 1);\n    }\n    if (negative && context.candidateRuleMap.has(candidatePrefix)) {\n      yield [context.candidateRuleMap.get(candidatePrefix), \"-DEFAULT\"];\n    }\n    for (let [prefix3, modifier] of candidatePermutations(candidatePrefix)) {\n      if (context.candidateRuleMap.has(prefix3)) {\n        yield [context.candidateRuleMap.get(prefix3), negative ? `-${modifier}` : modifier];\n      }\n    }\n  }\n  function splitWithSeparator(input, separator) {\n    if (input === NOT_ON_DEMAND) {\n      return [NOT_ON_DEMAND];\n    }\n    return splitAtTopLevelOnly2(input, separator);\n  }\n  function* recordCandidates(matches, classCandidate) {\n    for (const match of matches) {\n      match[1].raws.tailwind = {\n        ...match[1].raws.tailwind,\n        classCandidate,\n        preserveSource: match[0].options?.preserveSource ?? false\n      };\n      yield match;\n    }\n  }\n  function* resolveMatches(candidate, context) {\n    let separator = context.tailwindConfig.separator;\n    let [classCandidate, ...variants] = splitWithSeparator(candidate, separator).reverse();\n    let important = false;\n    if (classCandidate.startsWith(\"!\")) {\n      important = true;\n      classCandidate = classCandidate.slice(1);\n    }\n    for (let matchedPlugins of resolveMatchedPlugins(classCandidate, context)) {\n      let matches = [];\n      let typesByMatches = /* @__PURE__ */ new Map();\n      let [plugins, modifier] = matchedPlugins;\n      let isOnlyPlugin = plugins.length === 1;\n      for (let [sort, plugin2] of plugins) {\n        let matchesPerPlugin = [];\n        if (typeof plugin2 === \"function\") {\n          for (let ruleSet of [].concat(plugin2(modifier, { isOnlyPlugin }))) {\n            let [rules, options] = parseRules(ruleSet, context.postCssNodeCache);\n            for (let rule2 of rules) {\n              matchesPerPlugin.push([{ ...sort, options: { ...sort.options, ...options } }, rule2]);\n            }\n          }\n        } else if (modifier === \"DEFAULT\" || modifier === \"-DEFAULT\") {\n          let ruleSet = plugin2;\n          let [rules, options] = parseRules(ruleSet, context.postCssNodeCache);\n          for (let rule2 of rules) {\n            matchesPerPlugin.push([{ ...sort, options: { ...sort.options, ...options } }, rule2]);\n          }\n        }\n        if (matchesPerPlugin.length > 0) {\n          let matchingTypes = Array.from(\n            getMatchingTypes(\n              sort.options?.types ?? [],\n              modifier,\n              sort.options ?? {},\n              context.tailwindConfig\n            )\n          ).map(([_2, type]) => type);\n          if (matchingTypes.length > 0) {\n            typesByMatches.set(matchesPerPlugin, matchingTypes);\n          }\n          matches.push(matchesPerPlugin);\n        }\n      }\n      if (isArbitraryValue2(modifier)) {\n        if (matches.length > 1) {\n          let findFallback = function(matches2) {\n            if (matches2.length === 1) {\n              return matches2[0];\n            }\n            return matches2.find((rules) => {\n              let matchingTypes = typesByMatches.get(rules);\n              return rules.some(([{ options }, rule2]) => {\n                if (!isParsableNode(rule2)) {\n                  return false;\n                }\n                return options.types.some(\n                  ({ type, preferOnConflict }) => matchingTypes.includes(type) && preferOnConflict\n                );\n              });\n            });\n          };\n          let [withAny, withoutAny] = matches.reduce(\n            (group, plugin2) => {\n              let hasAnyType = plugin2.some(\n                ([{ options }]) => options.types.some(({ type }) => type === \"any\")\n              );\n              if (hasAnyType) {\n                group[0].push(plugin2);\n              } else {\n                group[1].push(plugin2);\n              }\n              return group;\n            },\n            [[], []]\n          );\n          let fallback = findFallback(withoutAny) ?? findFallback(withAny);\n          if (fallback) {\n            matches = [fallback];\n          } else {\n            let typesPerPlugin = matches.map(\n              (match) => /* @__PURE__ */ new Set([...typesByMatches.get(match) ?? []])\n            );\n            for (let pluginTypes of typesPerPlugin) {\n              for (let type of pluginTypes) {\n                let removeFromOwnGroup = false;\n                for (let otherGroup of typesPerPlugin) {\n                  if (pluginTypes === otherGroup) continue;\n                  if (otherGroup.has(type)) {\n                    otherGroup.delete(type);\n                    removeFromOwnGroup = true;\n                  }\n                }\n                if (removeFromOwnGroup) pluginTypes.delete(type);\n              }\n            }\n            let messages = [];\n            for (let [idx, group] of typesPerPlugin.entries()) {\n              for (let type of group) {\n                let rules = matches[idx].map(([, rule2]) => rule2).flat().map(\n                  (rule2) => rule2.toString().split(\"\\n\").slice(1, -1).map((line) => line.trim()).map((x2) => `      ${x2}`).join(\"\\n\")\n                ).join(\"\\n\\n\");\n                messages.push(\n                  `  Use \\`${candidate.replace(\"[\", `[${type}:`)}\\` for \\`${rules.trim()}\\``\n                );\n                break;\n              }\n            }\n            log_default.warn([\n              `The class \\`${candidate}\\` is ambiguous and matches multiple utilities.`,\n              ...messages,\n              `If this is content and not a class, replace it with \\`${candidate.replace(\"[\", \"&lsqb;\").replace(\"]\", \"&rsqb;\")}\\` to silence this warning.`\n            ]);\n            continue;\n          }\n        }\n        matches = matches.map((list22) => list22.filter((match) => isParsableNode(match[1])));\n      }\n      matches = matches.flat();\n      matches = Array.from(recordCandidates(matches, classCandidate));\n      matches = applyPrefix(matches, context);\n      if (important) {\n        matches = applyImportant(matches, classCandidate);\n      }\n      for (let variant of variants) {\n        matches = applyVariant(variant, matches, context);\n      }\n      for (let match of matches) {\n        match[1].raws.tailwind = { ...match[1].raws.tailwind, candidate };\n        match = applyFinalFormat(match, { context, candidate });\n        if (match === null) {\n          continue;\n        }\n        yield match;\n      }\n    }\n  }\n  function applyFinalFormat(match, { context, candidate }) {\n    if (!match[0].collectedFormats) {\n      return match;\n    }\n    let isValid = true;\n    let finalFormat;\n    try {\n      finalFormat = formatVariantSelector(match[0].collectedFormats, {\n        context,\n        candidate\n      });\n    } catch {\n      return null;\n    }\n    let container = postcss_default.root({ nodes: [match[1].clone()] });\n    container.walkRules((rule2) => {\n      if (inKeyframes(rule2)) {\n        return;\n      }\n      try {\n        let selector = finalizeSelector(rule2.selector, finalFormat, {\n          candidate,\n          context\n        });\n        if (selector === null) {\n          rule2.remove();\n          return;\n        }\n        rule2.selector = selector;\n      } catch {\n        isValid = false;\n        return false;\n      }\n    });\n    if (!isValid) {\n      return null;\n    }\n    match[1] = container.nodes[0];\n    return match;\n  }\n  function inKeyframes(rule2) {\n    return rule2.parent && rule2.parent.type === \"atrule\" && rule2.parent.name === \"keyframes\";\n  }\n  function getImportantStrategy(important) {\n    if (important === true) {\n      return (rule2) => {\n        if (inKeyframes(rule2)) {\n          return;\n        }\n        rule2.walkDecls((d2) => {\n          if (d2.parent.type === \"rule\" && !inKeyframes(d2.parent)) {\n            d2.important = true;\n          }\n        });\n      };\n    }\n    if (typeof important === \"string\") {\n      return (rule2) => {\n        if (inKeyframes(rule2)) {\n          return;\n        }\n        rule2.selectors = rule2.selectors.map((selector) => {\n          return applyImportantSelector(selector, important);\n        });\n      };\n    }\n  }\n  function generateRules2(candidates, context, isSorting = false) {\n    let allRules = [];\n    let strategy = getImportantStrategy(context.tailwindConfig.important);\n    for (let candidate of candidates) {\n      if (context.notClassCache.has(candidate)) {\n        continue;\n      }\n      if (context.candidateRuleCache.has(candidate)) {\n        allRules = allRules.concat(Array.from(context.candidateRuleCache.get(candidate)));\n        continue;\n      }\n      let matches = Array.from(resolveMatches(candidate, context));\n      if (matches.length === 0) {\n        context.notClassCache.add(candidate);\n        continue;\n      }\n      context.classCache.set(candidate, matches);\n      let rules = context.candidateRuleCache.get(candidate) ?? /* @__PURE__ */ new Set();\n      context.candidateRuleCache.set(candidate, rules);\n      for (const match of matches) {\n        let [{ sort, options }, rule2] = match;\n        if (options.respectImportant && strategy) {\n          let container = postcss_default.root({ nodes: [rule2.clone()] });\n          container.walkRules(strategy);\n          rule2 = container.nodes[0];\n        }\n        let newEntry = [sort, isSorting ? rule2.clone() : rule2];\n        rules.add(newEntry);\n        context.ruleCache.add(newEntry);\n        allRules.push(newEntry);\n      }\n    }\n    return allRules;\n  }\n  function isArbitraryValue2(input) {\n    return input.startsWith(\"[\") && input.endsWith(\"]\");\n  }\n  function extractClasses(node) {\n    let groups = /* @__PURE__ */ new Map();\n    let container = postcss_default.root({ nodes: [node.clone()] });\n    container.walkRules((rule2) => {\n      (0, import_postcss_selector_parser3.default)((selectors) => {\n        selectors.walkClasses((classSelector) => {\n          let parentSelector = classSelector.parent.toString();\n          let classes2 = groups.get(parentSelector);\n          if (!classes2) {\n            groups.set(parentSelector, classes2 = /* @__PURE__ */ new Set());\n          }\n          classes2.add(classSelector.value);\n        });\n      }).processSync(rule2.selector);\n    });\n    let normalizedGroups = Array.from(groups.values(), (classes2) => Array.from(classes2));\n    let classes = normalizedGroups.flat();\n    return Object.assign(classes, { groups: normalizedGroups });\n  }\n  var selectorExtractor = (0, import_postcss_selector_parser3.default)();\n  function extractSelectors(ruleSelectors) {\n    return selectorExtractor.astSync(ruleSelectors);\n  }\n  function extractBaseCandidates(candidates, separator) {\n    let baseClasses = /* @__PURE__ */ new Set();\n    for (let candidate of candidates) {\n      baseClasses.add(candidate.split(separator).pop());\n    }\n    return Array.from(baseClasses);\n  }\n  function prefix2(context, selector) {\n    let prefix3 = context.tailwindConfig.prefix;\n    return typeof prefix3 === \"function\" ? prefix3(selector) : prefix3 + selector;\n  }\n  function* pathToRoot(node) {\n    yield node;\n    while (node.parent) {\n      yield node.parent;\n      node = node.parent;\n    }\n  }\n  function shallowClone(node, overrides = {}) {\n    let children = node.nodes;\n    node.nodes = [];\n    let tmp = node.clone(overrides);\n    node.nodes = children;\n    return tmp;\n  }\n  function nestedClone(node) {\n    for (let parent of pathToRoot(node)) {\n      if (node === parent) {\n        continue;\n      }\n      if (parent.type === \"root\") {\n        break;\n      }\n      node = shallowClone(parent, {\n        nodes: [node]\n      });\n    }\n    return node;\n  }\n  function buildLocalApplyCache(root2, context) {\n    let cache3 = /* @__PURE__ */ new Map();\n    root2.walkRules((rule2) => {\n      for (let node of pathToRoot(rule2)) {\n        if (node.raws.tailwind?.layer !== void 0) {\n          return;\n        }\n      }\n      let container = nestedClone(rule2);\n      let sort = context.offsets.create(\"user\");\n      for (let className of extractClasses(rule2)) {\n        let list22 = cache3.get(className) || [];\n        cache3.set(className, list22);\n        list22.push([\n          {\n            layer: \"user\",\n            sort,\n            important: false\n          },\n          container\n        ]);\n      }\n    });\n    return cache3;\n  }\n  function buildApplyCache(applyCandidates, context) {\n    for (let candidate of applyCandidates) {\n      if (context.notClassCache.has(candidate) || context.applyClassCache.has(candidate)) {\n        continue;\n      }\n      if (context.classCache.has(candidate)) {\n        context.applyClassCache.set(\n          candidate,\n          context.classCache.get(candidate).map(([meta, rule2]) => [meta, rule2.clone()])\n        );\n        continue;\n      }\n      let matches = Array.from(resolveMatches(candidate, context));\n      if (matches.length === 0) {\n        context.notClassCache.add(candidate);\n        continue;\n      }\n      context.applyClassCache.set(candidate, matches);\n    }\n    return context.applyClassCache;\n  }\n  function lazyCache(buildCacheFn) {\n    let cache3 = null;\n    return {\n      get: (name) => {\n        cache3 = cache3 || buildCacheFn();\n        return cache3.get(name);\n      },\n      has: (name) => {\n        cache3 = cache3 || buildCacheFn();\n        return cache3.has(name);\n      }\n    };\n  }\n  function combineCaches(caches) {\n    return {\n      get: (name) => caches.flatMap((cache3) => cache3.get(name) || []),\n      has: (name) => caches.some((cache3) => cache3.has(name))\n    };\n  }\n  function extractApplyCandidates(params) {\n    let candidates = params.split(/[\\s\\t\\n]+/g);\n    if (candidates[candidates.length - 1] === \"!important\") {\n      return [candidates.slice(0, -1), true];\n    }\n    return [candidates, false];\n  }\n  function processApply(root2, context, localCache) {\n    let applyCandidates = /* @__PURE__ */ new Set();\n    let applies = [];\n    root2.walkAtRules(\"apply\", (rule2) => {\n      let [candidates] = extractApplyCandidates(rule2.params);\n      for (let util of candidates) {\n        applyCandidates.add(util);\n      }\n      applies.push(rule2);\n    });\n    if (applies.length === 0) {\n      return;\n    }\n    let applyClassCache = combineCaches([localCache, buildApplyCache(applyCandidates, context)]);\n    function replaceSelector(selector, utilitySelectors, candidate) {\n      let selectorList = extractSelectors(selector);\n      let utilitySelectorsList = extractSelectors(utilitySelectors);\n      let candidateList = extractSelectors(`.${escapeClassName2(candidate)}`);\n      let candidateClass = candidateList.nodes[0].nodes[0];\n      selectorList.each((sel) => {\n        let replaced = /* @__PURE__ */ new Set();\n        utilitySelectorsList.each((utilitySelector) => {\n          let hasReplaced = false;\n          utilitySelector = utilitySelector.clone();\n          utilitySelector.walkClasses((node) => {\n            if (node.value !== candidateClass.value) {\n              return;\n            }\n            if (hasReplaced) {\n              return;\n            }\n            node.replaceWith(...sel.nodes.map((node2) => node2.clone()));\n            replaced.add(utilitySelector);\n            hasReplaced = true;\n          });\n        });\n        for (let sel2 of replaced) {\n          let groups = [[]];\n          for (let node of sel2.nodes) {\n            if (node.type === \"combinator\") {\n              groups.push(node);\n              groups.push([]);\n            } else {\n              let last = groups[groups.length - 1];\n              last.push(node);\n            }\n          }\n          sel2.nodes = [];\n          for (let group of groups) {\n            if (Array.isArray(group)) {\n              group.sort((a2, b2) => {\n                if (a2.type === \"tag\" && b2.type === \"class\") {\n                  return -1;\n                } else if (a2.type === \"class\" && b2.type === \"tag\") {\n                  return 1;\n                } else if (a2.type === \"class\" && b2.type === \"pseudo\" && b2.value.startsWith(\"::\")) {\n                  return -1;\n                } else if (a2.type === \"pseudo\" && a2.value.startsWith(\"::\") && b2.type === \"class\") {\n                  return 1;\n                }\n                return 0;\n              });\n            }\n            sel2.nodes = sel2.nodes.concat(group);\n          }\n        }\n        sel.replaceWith(...replaced);\n      });\n      return selectorList.toString();\n    }\n    let perParentApplies = /* @__PURE__ */ new Map();\n    for (let apply of applies) {\n      let [candidates] = perParentApplies.get(apply.parent) || [[], apply.source];\n      perParentApplies.set(apply.parent, [candidates, apply.source]);\n      let [applyCandidates2, important] = extractApplyCandidates(apply.params);\n      if (apply.parent.type === \"atrule\") {\n        if (apply.parent.name === \"screen\") {\n          let screenType = apply.parent.params;\n          throw apply.error(\n            `@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${applyCandidates2.map((c3) => `${screenType}:${c3}`).join(\" \")} instead.`\n          );\n        }\n        throw apply.error(\n          `@apply is not supported within nested at-rules like @${apply.parent.name}. You can fix this by un-nesting @${apply.parent.name}.`\n        );\n      }\n      for (let applyCandidate of applyCandidates2) {\n        if ([prefix2(context, \"group\"), prefix2(context, \"peer\")].includes(applyCandidate)) {\n          throw apply.error(`@apply should not be used with the '${applyCandidate}' utility`);\n        }\n        if (!applyClassCache.has(applyCandidate)) {\n          throw apply.error(\n            `The \\`${applyCandidate}\\` class does not exist. If \\`${applyCandidate}\\` is a custom class, make sure it is defined within a \\`@layer\\` directive.`\n          );\n        }\n        let rules = applyClassCache.get(applyCandidate);\n        candidates.push([applyCandidate, important, rules]);\n      }\n    }\n    for (let [parent, [candidates, atApplySource]] of perParentApplies) {\n      let siblings = [];\n      for (let [applyCandidate, important, rules] of candidates) {\n        let potentialApplyCandidates = [\n          applyCandidate,\n          ...extractBaseCandidates([applyCandidate], context.tailwindConfig.separator)\n        ];\n        for (let [meta, node] of rules) {\n          let parentClasses = extractClasses(parent);\n          let nodeClasses = extractClasses(node);\n          nodeClasses = nodeClasses.groups.filter(\n            (classList) => classList.some((className) => potentialApplyCandidates.includes(className))\n          ).flat();\n          nodeClasses = nodeClasses.concat(\n            extractBaseCandidates(nodeClasses, context.tailwindConfig.separator)\n          );\n          let intersects = parentClasses.some((selector) => nodeClasses.includes(selector));\n          if (intersects) {\n            throw node.error(\n              `You cannot \\`@apply\\` the \\`${applyCandidate}\\` utility here because it creates a circular dependency.`\n            );\n          }\n          let root3 = postcss_default.root({ nodes: [node.clone()] });\n          root3.walk((node2) => {\n            node2.source = atApplySource;\n          });\n          let canRewriteSelector = node.type !== \"atrule\" || node.type === \"atrule\" && node.name !== \"keyframes\";\n          if (canRewriteSelector) {\n            root3.walkRules((rule2) => {\n              if (!extractClasses(rule2).some((candidate) => candidate === applyCandidate)) {\n                rule2.remove();\n                return;\n              }\n              let importantSelector = typeof context.tailwindConfig.important === \"string\" ? context.tailwindConfig.important : null;\n              let isGenerated = parent.raws.tailwind !== void 0;\n              let parentSelector = isGenerated && importantSelector && parent.selector.indexOf(importantSelector) === 0 ? parent.selector.slice(importantSelector.length) : parent.selector;\n              if (parentSelector === \"\") {\n                parentSelector = parent.selector;\n              }\n              rule2.selector = replaceSelector(parentSelector, rule2.selector, applyCandidate);\n              if (importantSelector && parentSelector !== parent.selector) {\n                rule2.selector = applyImportantSelector(rule2.selector, importantSelector);\n              }\n              rule2.walkDecls((d2) => {\n                d2.important = meta.important || important;\n              });\n              let selector = (0, import_postcss_selector_parser3.default)().astSync(rule2.selector);\n              selector.each((sel) => movePseudos(sel));\n              rule2.selector = selector.toString();\n            });\n          }\n          if (!root3.nodes[0]) {\n            continue;\n          }\n          siblings.push([meta.sort, root3.nodes[0]]);\n        }\n      }\n      let nodes = context.offsets.sort(siblings).map((s2) => s2[1]);\n      parent.after(nodes);\n    }\n    for (let apply of applies) {\n      if (apply.parent.nodes.length > 1) {\n        apply.remove();\n      } else {\n        apply.parent.remove();\n      }\n    }\n    processApply(root2, context, localCache);\n  }\n  function expandApplyAtRules(context) {\n    return (root2) => {\n      let localCache = lazyCache(() => buildLocalApplyCache(root2, context));\n      processApply(root2, context, localCache);\n    };\n  }\n  function normalizeTailwindDirectives(root2) {\n    let tailwindDirectives = /* @__PURE__ */ new Set();\n    let layerDirectives = /* @__PURE__ */ new Set();\n    let applyDirectives = /* @__PURE__ */ new Set();\n    root2.walkAtRules((atRule22) => {\n      if (atRule22.name === \"apply\") {\n        applyDirectives.add(atRule22);\n      }\n      if (atRule22.name === \"import\") {\n        if (atRule22.params === '\"tailwindcss/base\"' || atRule22.params === \"'tailwindcss/base'\") {\n          atRule22.name = \"tailwind\";\n          atRule22.params = \"base\";\n        } else if (atRule22.params === '\"tailwindcss/components\"' || atRule22.params === \"'tailwindcss/components'\") {\n          atRule22.name = \"tailwind\";\n          atRule22.params = \"components\";\n        } else if (atRule22.params === '\"tailwindcss/utilities\"' || atRule22.params === \"'tailwindcss/utilities'\") {\n          atRule22.name = \"tailwind\";\n          atRule22.params = \"utilities\";\n        } else if (atRule22.params === '\"tailwindcss/screens\"' || atRule22.params === \"'tailwindcss/screens'\" || atRule22.params === '\"tailwindcss/variants\"' || atRule22.params === \"'tailwindcss/variants'\") {\n          atRule22.name = \"tailwind\";\n          atRule22.params = \"variants\";\n        }\n      }\n      if (atRule22.name === \"tailwind\") {\n        if (atRule22.params === \"screens\") {\n          atRule22.params = \"variants\";\n        }\n        tailwindDirectives.add(atRule22.params);\n      }\n      if ([\"layer\", \"responsive\", \"variants\"].includes(atRule22.name)) {\n        if ([\"responsive\", \"variants\"].includes(atRule22.name)) {\n          log_default.warn(`${atRule22.name}-at-rule-deprecated`, [\n            `The \\`@${atRule22.name}\\` directive has been deprecated in Tailwind CSS v3.0.`,\n            `Use \\`@layer utilities\\` or \\`@layer components\\` instead.`,\n            \"https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer\"\n          ]);\n        }\n        layerDirectives.add(atRule22);\n      }\n    });\n    if (!tailwindDirectives.has(\"base\") || !tailwindDirectives.has(\"components\") || !tailwindDirectives.has(\"utilities\")) {\n      for (let rule2 of layerDirectives) {\n        if (rule2.name === \"layer\" && [\"base\", \"components\", \"utilities\"].includes(rule2.params)) {\n          if (!tailwindDirectives.has(rule2.params)) {\n            throw rule2.error(\n              `\\`@layer ${rule2.params}\\` is used but no matching \\`@tailwind ${rule2.params}\\` directive is present.`\n            );\n          }\n        } else if (rule2.name === \"responsive\") {\n          if (!tailwindDirectives.has(\"utilities\")) {\n            throw rule2.error(\"`@responsive` is used but `@tailwind utilities` is missing.\");\n          }\n        } else if (rule2.name === \"variants\") {\n          if (!tailwindDirectives.has(\"utilities\")) {\n            throw rule2.error(\"`@variants` is used but `@tailwind utilities` is missing.\");\n          }\n        }\n      }\n    }\n    return { tailwindDirectives, applyDirectives };\n  }\n  function cloneNodes(nodes, source = void 0, raws = void 0) {\n    return nodes.map((node) => {\n      let cloned = node.clone();\n      let shouldOverwriteSource = node.raws.tailwind?.preserveSource !== true || !cloned.source;\n      if (source !== void 0 && shouldOverwriteSource) {\n        cloned.source = source;\n        if (\"walk\" in cloned) {\n          cloned.walk((child) => {\n            child.source = source;\n          });\n        }\n      }\n      if (raws !== void 0) {\n        cloned.raws.tailwind = {\n          ...cloned.raws.tailwind,\n          ...raws\n        };\n      }\n      return cloned;\n    });\n  }\n  var REGEX_SPECIAL = /[\\\\^$.*+?()[\\]{}|]/g;\n  var REGEX_HAS_SPECIAL = RegExp(REGEX_SPECIAL.source);\n  function toSource(source) {\n    source = Array.isArray(source) ? source : [source];\n    source = source.map((item) => item instanceof RegExp ? item.source : item);\n    return source.join(\"\");\n  }\n  function pattern(source) {\n    return new RegExp(toSource(source), \"g\");\n  }\n  function any(sources) {\n    return `(?:${sources.map(toSource).join(\"|\")})`;\n  }\n  function optional(source) {\n    return `(?:${toSource(source)})?`;\n  }\n  function escape(string) {\n    return string && REGEX_HAS_SPECIAL.test(string) ? string.replace(REGEX_SPECIAL, \"\\\\$&\") : string || \"\";\n  }\n  function defaultExtractor(context) {\n    let patterns = Array.from(buildRegExps(context));\n    return (content) => {\n      let results = [];\n      for (let pattern2 of patterns) {\n        for (let result of content.match(pattern2) ?? []) {\n          results.push(clipAtBalancedParens(result));\n        }\n      }\n      return results;\n    };\n  }\n  function* buildRegExps(context) {\n    let separator = context.tailwindConfig.separator;\n    let prefix3 = context.tailwindConfig.prefix !== \"\" ? optional(pattern([/-?/, escape(context.tailwindConfig.prefix)])) : \"\";\n    let utility = any([\n      // Arbitrary properties (without square brackets)\n      /\\[[^\\s:'\"`]+:[^\\s\\[\\]]+\\]/,\n      // Arbitrary properties with balanced square brackets\n      // This is a targeted fix to continue to allow theme()\n      // with square brackets to work in arbitrary properties\n      // while fixing a problem with the regex matching too much\n      /\\[[^\\s:'\"`\\]]+:[^\\s]+?\\[[^\\s]+\\][^\\s]+?\\]/,\n      // Utilities\n      pattern([\n        // Utility Name / Group Name\n        /-?(?:\\w+)/,\n        // Normal/Arbitrary values\n        optional(\n          any([\n            pattern([\n              // Arbitrary values\n              /-(?:\\w+-)*\\[[^\\s:]+\\]/,\n              // Not immediately followed by an `{[(`\n              /(?![{([]])/,\n              // optionally followed by an opacity modifier\n              /(?:\\/[^\\s'\"`\\\\><$]*)?/\n            ]),\n            pattern([\n              // Arbitrary values\n              /-(?:\\w+-)*\\[[^\\s]+\\]/,\n              // Not immediately followed by an `{[(`\n              /(?![{([]])/,\n              // optionally followed by an opacity modifier\n              /(?:\\/[^\\s'\"`\\\\$]*)?/\n            ]),\n            // Normal values w/o quotes — may include an opacity modifier\n            /[-\\/][^\\s'\"`\\\\$={><]*/\n          ])\n        )\n      ])\n    ]);\n    let variantPatterns = [\n      // Without quotes\n      any([\n        // This is here to provide special support for the `@` variant\n        pattern([/@\\[[^\\s\"'`]+\\](\\/[^\\s\"'`]+)?/, separator]),\n        // With variant modifier (e.g.: group-[..]/modifier)\n        pattern([/([^\\s\"'`\\[\\\\]+-)?\\[[^\\s\"'`]+\\]\\/\\w+/, separator]),\n        pattern([/([^\\s\"'`\\[\\\\]+-)?\\[[^\\s\"'`]+\\]/, separator]),\n        pattern([/[^\\s\"'`\\[\\\\]+/, separator])\n      ]),\n      // With quotes allowed\n      any([\n        // With variant modifier (e.g.: group-[..]/modifier)\n        pattern([/([^\\s\"'`\\[\\\\]+-)?\\[[^\\s`]+\\]\\/\\w+/, separator]),\n        pattern([/([^\\s\"'`\\[\\\\]+-)?\\[[^\\s`]+\\]/, separator]),\n        pattern([/[^\\s`\\[\\\\]+/, separator])\n      ])\n    ];\n    for (const variantPattern of variantPatterns) {\n      yield pattern([\n        // Variants\n        \"((?=((\",\n        variantPattern,\n        \")+))\\\\2)?\",\n        // Important (optional)\n        /!?/,\n        prefix3,\n        utility\n      ]);\n    }\n    yield /[^<>\"'`\\s.(){}[\\]#=%$]*[^<>\"'`\\s.(){}[\\]#=%:$]/g;\n  }\n  var SPECIALS = /([\\[\\]'\"`])([^\\[\\]'\"`])?/g;\n  var ALLOWED_CLASS_CHARACTERS = /[^\"'`\\s<>\\]]+/;\n  function clipAtBalancedParens(input) {\n    if (!input.includes(\"-[\")) {\n      return input;\n    }\n    let depth = 0;\n    let openStringTypes = [];\n    let matches = input.matchAll(SPECIALS);\n    matches = Array.from(matches).flatMap((match) => {\n      const [, ...groups] = match;\n      return groups.map(\n        (group, idx) => Object.assign([], match, {\n          index: match.index + idx,\n          0: group\n        })\n      );\n    });\n    for (let match of matches) {\n      let char = match[0];\n      let inStringType = openStringTypes[openStringTypes.length - 1];\n      if (char === inStringType) {\n        openStringTypes.pop();\n      } else if (char === \"'\" || char === '\"' || char === \"`\") {\n        openStringTypes.push(char);\n      }\n      if (inStringType) {\n        continue;\n      } else if (char === \"[\") {\n        depth++;\n        continue;\n      } else if (char === \"]\") {\n        depth--;\n        continue;\n      }\n      if (depth < 0) {\n        return input.substring(0, match.index - 1);\n      }\n      if (depth === 0 && !ALLOWED_CLASS_CHARACTERS.test(char)) {\n        return input.substring(0, match.index);\n      }\n    }\n    return input;\n  }\n  var builtInExtractors = {\n    DEFAULT: defaultExtractor\n  };\n  var builtInTransformers = {\n    DEFAULT: (content) => content,\n    svelte: (content) => content.replace(/(?:^|\\s)class:/g, \" \")\n  };\n  function getExtractor(context, fileExtension) {\n    let extractors = context.tailwindConfig.content.extract;\n    return extractors[fileExtension] || extractors.DEFAULT || builtInExtractors[fileExtension] || builtInExtractors.DEFAULT(context);\n  }\n  function getTransformer(tailwindConfig, fileExtension) {\n    let transformers = tailwindConfig.content.transform;\n    return transformers[fileExtension] || transformers.DEFAULT || builtInTransformers[fileExtension] || builtInTransformers.DEFAULT;\n  }\n  var extractorCache = /* @__PURE__ */ new WeakMap();\n  function getClassCandidates(content, extractor, candidates, seen) {\n    if (!extractorCache.has(extractor)) {\n      extractorCache.set(extractor, new import_quick_lru.default({ maxSize: 25e3 }));\n    }\n    for (let line of content.split(\"\\n\")) {\n      line = line.trim();\n      if (seen.has(line)) {\n        continue;\n      }\n      seen.add(line);\n      if (extractorCache.get(extractor).has(line)) {\n        for (let match of extractorCache.get(extractor).get(line)) {\n          candidates.add(match);\n        }\n      } else {\n        let extractorMatches = extractor(line).filter((s2) => s2 !== \"!*\");\n        let lineMatchesSet = new Set(extractorMatches);\n        for (let match of lineMatchesSet) {\n          candidates.add(match);\n        }\n        extractorCache.get(extractor).set(line, lineMatchesSet);\n      }\n    }\n  }\n  function buildStylesheet(rules, context) {\n    let sortedRules = context.offsets.sort(rules);\n    let returnValue = {\n      base: /* @__PURE__ */ new Set(),\n      defaults: /* @__PURE__ */ new Set(),\n      components: /* @__PURE__ */ new Set(),\n      utilities: /* @__PURE__ */ new Set(),\n      variants: /* @__PURE__ */ new Set()\n    };\n    for (let [sort, rule2] of sortedRules) {\n      returnValue[sort.layer].add(rule2);\n    }\n    return returnValue;\n  }\n  function expandTailwindAtRules(context) {\n    return async (root2) => {\n      let layerNodes = {\n        base: null,\n        components: null,\n        utilities: null,\n        variants: null\n      };\n      root2.walkAtRules((rule2) => {\n        if (rule2.name === \"tailwind\") {\n          if (Object.keys(layerNodes).includes(rule2.params)) {\n            layerNodes[rule2.params] = rule2;\n          }\n        }\n      });\n      if (Object.values(layerNodes).every((n2) => n2 === null)) {\n        return root2;\n      }\n      let candidates = /* @__PURE__ */ new Set([...context.candidates ?? [], NOT_ON_DEMAND]);\n      let seen = /* @__PURE__ */ new Set();\n      if (void 0) {\n        for (let candidate of null.parseCandidateStringsFromFiles(\n          context.changedContent\n          // Object.assign({}, builtInTransformers, context.tailwindConfig.content.transform)\n        )) {\n          candidates.add(candidate);\n        }\n      } else {\n        let regexParserContent = [];\n        for (let item of context.changedContent) {\n          let transformer = getTransformer(context.tailwindConfig, item.extension);\n          let extractor = getExtractor(context, item.extension);\n          regexParserContent.push([item, { transformer, extractor }]);\n        }\n        const BATCH_SIZE = 500;\n        for (let i2 = 0; i2 < regexParserContent.length; i2 += BATCH_SIZE) {\n          let batch = regexParserContent.slice(i2, i2 + BATCH_SIZE);\n          await Promise.all(\n            batch.map(async ([{ file, content }, { transformer, extractor }]) => {\n              content = file ? await fs_default.promises.readFile(file, \"utf8\") : content;\n              getClassCandidates(transformer(content), extractor, candidates, seen);\n            })\n          );\n        }\n      }\n      let classCacheCount = context.classCache.size;\n      let sortedCandidates = void 0 ? candidates : new Set(\n        [...candidates].sort((a2, z2) => {\n          if (a2 === z2) return 0;\n          if (a2 < z2) return -1;\n          return 1;\n        })\n      );\n      generateRules2(sortedCandidates, context);\n      if (context.stylesheetCache === null || context.classCache.size !== classCacheCount) {\n        context.stylesheetCache = buildStylesheet([...context.ruleCache], context);\n      }\n      let {\n        defaults: defaultNodes,\n        base: baseNodes,\n        components: componentNodes,\n        utilities: utilityNodes,\n        variants: screenNodes\n      } = context.stylesheetCache;\n      if (layerNodes.base) {\n        layerNodes.base.before(\n          cloneNodes([...baseNodes, ...defaultNodes], layerNodes.base.source, {\n            layer: \"base\"\n          })\n        );\n        layerNodes.base.remove();\n      }\n      if (layerNodes.components) {\n        layerNodes.components.before(\n          cloneNodes([...componentNodes], layerNodes.components.source, {\n            layer: \"components\"\n          })\n        );\n        layerNodes.components.remove();\n      }\n      if (layerNodes.utilities) {\n        layerNodes.utilities.before(\n          cloneNodes([...utilityNodes], layerNodes.utilities.source, {\n            layer: \"utilities\"\n          })\n        );\n        layerNodes.utilities.remove();\n      }\n      const variantNodes = Array.from(screenNodes).filter((node) => {\n        const parentLayer = node.raws.tailwind?.parentLayer;\n        if (parentLayer === \"components\") {\n          return layerNodes.components !== null;\n        }\n        if (parentLayer === \"utilities\") {\n          return layerNodes.utilities !== null;\n        }\n        return true;\n      });\n      if (layerNodes.variants) {\n        layerNodes.variants.before(\n          cloneNodes(variantNodes, layerNodes.variants.source, {\n            layer: \"variants\"\n          })\n        );\n        layerNodes.variants.remove();\n      } else if (variantNodes.length > 0) {\n        root2.append(\n          cloneNodes(variantNodes, root2.source, {\n            layer: \"variants\"\n          })\n        );\n      }\n      const hasUtilityVariants = variantNodes.some(\n        (node) => node.raws.tailwind?.parentLayer === \"utilities\"\n      );\n      if (layerNodes.utilities && utilityNodes.size === 0 && !hasUtilityVariants) {\n        log_default.warn(\"content-problems\", [\n          \"No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.\",\n          \"https://tailwindcss.com/docs/content-configuration\"\n        ]);\n      }\n      if (void 0) {\n        console.log(\"Potential classes: \", candidates.size);\n        console.log(\"Active contexts: \", contextSourcesMap.size);\n      }\n      context.changedContent = [];\n      root2.walkAtRules(\"layer\", (rule2) => {\n        if (Object.keys(layerNodes).includes(rule2.params)) {\n          rule2.remove();\n        }\n      });\n    };\n  }\n  var import_value_parser = __toESM2(require_value_parser());\n  function isObject22(input) {\n    return typeof input === \"object\" && input !== null;\n  }\n  function findClosestExistingPath(theme, path) {\n    let parts = toPath(path);\n    do {\n      parts.pop();\n      if ((0, import_dlv13.default)(theme, parts) !== void 0) break;\n    } while (parts.length);\n    return parts.length ? parts : void 0;\n  }\n  function pathToString2(path) {\n    if (typeof path === \"string\") return path;\n    return path.reduce((acc, cur, i2) => {\n      if (cur.includes(\".\")) return `${acc}[${cur}]`;\n      return i2 === 0 ? cur : `${acc}.${cur}`;\n    }, \"\");\n  }\n  function list2(items) {\n    return items.map((key) => `'${key}'`).join(\", \");\n  }\n  function listKeys(obj) {\n    return list2(Object.keys(obj));\n  }\n  function validatePath(config, path, defaultValue, themeOpts = {}) {\n    const pathString = Array.isArray(path) ? pathToString2(path) : path.replace(/^['\"]+|['\"]+$/g, \"\");\n    const pathSegments = Array.isArray(path) ? path : toPath(pathString);\n    const value2 = (0, import_dlv13.default)(config.theme, pathSegments, defaultValue);\n    if (value2 === void 0) {\n      let error = `'${pathString}' does not exist in your theme config.`;\n      const parentSegments = pathSegments.slice(0, -1);\n      const parentValue = (0, import_dlv13.default)(config.theme, parentSegments);\n      if (isObject22(parentValue)) {\n        const validKeys = Object.keys(parentValue).filter(\n          (key) => validatePath(config, [...parentSegments, key]).isValid\n        );\n        const suggestion = (0, import_didyoumean.default)(pathSegments[pathSegments.length - 1], validKeys);\n        if (suggestion) {\n          error += ` Did you mean '${pathToString2([...parentSegments, suggestion])}'?`;\n        } else if (validKeys.length > 0) {\n          error += ` '${pathToString2(parentSegments)}' has the following valid keys: ${list2(\n            validKeys\n          )}`;\n        }\n      } else {\n        const closestPath = findClosestExistingPath(config.theme, pathString);\n        if (closestPath) {\n          const closestValue = (0, import_dlv13.default)(config.theme, closestPath);\n          if (isObject22(closestValue)) {\n            error += ` '${pathToString2(closestPath)}' has the following keys: ${listKeys(\n              closestValue\n            )}`;\n          } else {\n            error += ` '${pathToString2(closestPath)}' is not an object.`;\n          }\n        } else {\n          error += ` Your theme has the following top-level keys: ${listKeys(config.theme)}`;\n        }\n      }\n      return {\n        isValid: false,\n        error\n      };\n    }\n    if (!(typeof value2 === \"string\" || typeof value2 === \"number\" || typeof value2 === \"function\" || value2 instanceof String || value2 instanceof Number || Array.isArray(value2))) {\n      let error = `'${pathString}' was found but does not resolve to a string.`;\n      if (isObject22(value2)) {\n        let validKeys = Object.keys(value2).filter(\n          (key) => validatePath(config, [...pathSegments, key]).isValid\n        );\n        if (validKeys.length) {\n          error += ` Did you mean something like '${pathToString2([...pathSegments, validKeys[0]])}'?`;\n        }\n      }\n      return {\n        isValid: false,\n        error\n      };\n    }\n    const [themeSection] = pathSegments;\n    return {\n      isValid: true,\n      value: transformThemeValue(themeSection)(value2, themeOpts)\n    };\n  }\n  function extractArgs(node, vNodes, functions) {\n    vNodes = vNodes.map((vNode) => resolveVNode(node, vNode, functions));\n    let args = [\"\"];\n    for (let vNode of vNodes) {\n      if (vNode.type === \"div\" && vNode.value === \",\") {\n        args.push(\"\");\n      } else {\n        args[args.length - 1] += import_value_parser.default.stringify(vNode);\n      }\n    }\n    return args;\n  }\n  function resolveVNode(node, vNode, functions) {\n    if (vNode.type === \"function\" && functions[vNode.value] !== void 0) {\n      let args = extractArgs(node, vNode.nodes, functions);\n      vNode.type = \"word\";\n      vNode.value = functions[vNode.value](node, ...args);\n    }\n    return vNode;\n  }\n  function resolveFunctions(node, input, functions) {\n    let hasAnyFn = Object.keys(functions).some((fn5) => input.includes(`${fn5}(`));\n    if (!hasAnyFn) return input;\n    return (0, import_value_parser.default)(input).walk((vNode) => {\n      resolveVNode(node, vNode, functions);\n    }).toString();\n  }\n  var nodeTypePropertyMap = {\n    atrule: \"params\",\n    decl: \"value\"\n  };\n  function* toPaths(path) {\n    path = path.replace(/^['\"]+|['\"]+$/g, \"\");\n    let matches = path.match(/^([^\\s]+)(?![^\\[]*\\])(?:\\s*\\/\\s*([^\\/\\s]+))$/);\n    let alpha = void 0;\n    yield [path, void 0];\n    if (matches) {\n      path = matches[1];\n      alpha = matches[2];\n      yield [path, alpha];\n    }\n  }\n  function resolvePath(config, path, defaultValue) {\n    const results = Array.from(toPaths(path)).map(([path2, alpha]) => {\n      return Object.assign(validatePath(config, path2, defaultValue, { opacityValue: alpha }), {\n        resolvedPath: path2,\n        alpha\n      });\n    });\n    return results.find((result) => result.isValid) ?? results[0];\n  }\n  function evaluateTailwindFunctions_default(context) {\n    let config = context.tailwindConfig;\n    let functions = {\n      theme: (node, path, ...defaultValue) => {\n        let { isValid, value: value2, error, alpha } = resolvePath(\n          config,\n          path,\n          defaultValue.length ? defaultValue : void 0\n        );\n        if (!isValid) {\n          let parentNode = node.parent;\n          let candidate = parentNode?.raws.tailwind?.candidate;\n          if (parentNode && candidate !== void 0) {\n            context.markInvalidUtilityNode(parentNode);\n            parentNode.remove();\n            log_default.warn(\"invalid-theme-key-in-class\", [\n              `The utility \\`${candidate}\\` contains an invalid theme value and was not generated.`\n            ]);\n            return;\n          }\n          throw node.error(error);\n        }\n        let maybeColor = parseColorFormat(value2);\n        let isColorFunction = maybeColor !== void 0 && typeof maybeColor === \"function\";\n        if (alpha !== void 0 || isColorFunction) {\n          if (alpha === void 0) {\n            alpha = 1;\n          }\n          value2 = withAlphaValue(maybeColor, alpha, maybeColor);\n        }\n        return value2;\n      },\n      screen: (node, screen) => {\n        screen = screen.replace(/^['\"]+/g, \"\").replace(/['\"]+$/g, \"\");\n        let screens = normalizeScreens(config.theme.screens);\n        let screenDefinition = screens.find(({ name }) => name === screen);\n        if (!screenDefinition) {\n          throw node.error(`The '${screen}' screen does not exist in your theme.`);\n        }\n        return buildMediaQuery(screenDefinition);\n      }\n    };\n    return (root2) => {\n      root2.walk((node) => {\n        let property = nodeTypePropertyMap[node.type];\n        if (property === void 0) {\n          return;\n        }\n        node[property] = resolveFunctions(node, node[property], functions);\n      });\n    };\n  }\n  function substituteScreenAtRules_default({ tailwindConfig: { theme } }) {\n    return function(css) {\n      css.walkAtRules(\"screen\", (atRule22) => {\n        let screen = atRule22.params;\n        let screens = normalizeScreens(theme.screens);\n        let screenDefinition = screens.find(({ name }) => name === screen);\n        if (!screenDefinition) {\n          throw atRule22.error(`No \\`${screen}\\` screen found.`);\n        }\n        atRule22.name = \"media\";\n        atRule22.params = buildMediaQuery(screenDefinition);\n      });\n    };\n  }\n  var getNode = {\n    id(node) {\n      return import_postcss_selector_parser10.default.attribute({\n        attribute: \"id\",\n        operator: \"=\",\n        value: node.value,\n        quoteMark: '\"'\n      });\n    }\n  };\n  function minimumImpactSelector(nodes) {\n    let rest = nodes.filter((node2) => {\n      if (node2.type !== \"pseudo\") return true;\n      if (node2.nodes.length > 0) return true;\n      return node2.value.startsWith(\"::\") || [\":before\", \":after\", \":first-line\", \":first-letter\"].includes(node2.value);\n    }).reverse();\n    let searchFor = /* @__PURE__ */ new Set([\"tag\", \"class\", \"id\", \"attribute\"]);\n    let splitPointIdx = rest.findIndex((n2) => searchFor.has(n2.type));\n    if (splitPointIdx === -1) return rest.reverse().join(\"\").trim();\n    let node = rest[splitPointIdx];\n    let bestNode = getNode[node.type] ? getNode[node.type](node) : node;\n    rest = rest.slice(0, splitPointIdx);\n    let combinatorIdx = rest.findIndex((n2) => n2.type === \"combinator\" && n2.value === \">\");\n    if (combinatorIdx !== -1) {\n      rest.splice(0, combinatorIdx);\n      rest.unshift(import_postcss_selector_parser10.default.universal());\n    }\n    return [bestNode, ...rest.reverse()].join(\"\").trim();\n  }\n  var elementSelectorParser = (0, import_postcss_selector_parser10.default)((selectors) => {\n    return selectors.map((s2) => {\n      let nodes = s2.split((n2) => n2.type === \"combinator\" && n2.value === \" \").pop();\n      return minimumImpactSelector(nodes);\n    });\n  });\n  var cache2 = /* @__PURE__ */ new Map();\n  function extractElementSelector(selector) {\n    if (!cache2.has(selector)) {\n      cache2.set(selector, elementSelectorParser.transformSync(selector));\n    }\n    return cache2.get(selector);\n  }\n  function resolveDefaultsAtRules({ tailwindConfig }) {\n    return (root2) => {\n      let variableNodeMap = /* @__PURE__ */ new Map();\n      let universals = /* @__PURE__ */ new Set();\n      root2.walkAtRules(\"defaults\", (rule2) => {\n        if (rule2.nodes && rule2.nodes.length > 0) {\n          universals.add(rule2);\n          return;\n        }\n        let variable = rule2.params;\n        if (!variableNodeMap.has(variable)) {\n          variableNodeMap.set(variable, /* @__PURE__ */ new Set());\n        }\n        variableNodeMap.get(variable).add(rule2.parent);\n        rule2.remove();\n      });\n      if (flagEnabled2(tailwindConfig, \"optimizeUniversalDefaults\")) {\n        for (let universal of universals) {\n          let selectorGroups = /* @__PURE__ */ new Map();\n          let rules = variableNodeMap.get(universal.params) ?? [];\n          for (let rule2 of rules) {\n            for (let selector of extractElementSelector(rule2.selector)) {\n              let selectorGroupName = selector.includes(\":-\") || selector.includes(\"::-\") ? selector : \"__DEFAULT__\";\n              let selectors = selectorGroups.get(selectorGroupName) ?? /* @__PURE__ */ new Set();\n              selectorGroups.set(selectorGroupName, selectors);\n              selectors.add(selector);\n            }\n          }\n          if (flagEnabled2(tailwindConfig, \"optimizeUniversalDefaults\")) {\n            if (selectorGroups.size === 0) {\n              universal.remove();\n              continue;\n            }\n            for (let [, selectors] of selectorGroups) {\n              let universalRule = postcss_default.rule({\n                source: universal.source\n              });\n              universalRule.selectors = [...selectors];\n              universalRule.append(universal.nodes.map((node) => node.clone()));\n              universal.before(universalRule);\n            }\n          }\n          universal.remove();\n        }\n      } else if (universals.size) {\n        let universalRule = postcss_default.rule({\n          selectors: [\"*\", \"::before\", \"::after\"]\n        });\n        for (let universal of universals) {\n          universalRule.append(universal.nodes);\n          if (!universalRule.parent) {\n            universal.before(universalRule);\n          }\n          if (!universalRule.source) {\n            universalRule.source = universal.source;\n          }\n          universal.remove();\n        }\n        let backdropRule = universalRule.clone({\n          selectors: [\"::backdrop\"]\n        });\n        universalRule.after(backdropRule);\n      }\n    };\n  }\n  var comparisonMap = {\n    atrule: [\"name\", \"params\"],\n    rule: [\"selector\"]\n  };\n  var types = new Set(Object.keys(comparisonMap));\n  function collapseAdjacentRules() {\n    function collapseRulesIn(root2) {\n      let currentRule = null;\n      root2.each((node) => {\n        if (!types.has(node.type)) {\n          currentRule = null;\n          return;\n        }\n        if (currentRule === null) {\n          currentRule = node;\n          return;\n        }\n        let properties = comparisonMap[node.type];\n        if (node.type === \"atrule\" && node.name === \"font-face\") {\n          currentRule = node;\n        } else if (properties.every(\n          (property) => (node[property] ?? \"\").replace(/\\s+/g, \" \") === (currentRule[property] ?? \"\").replace(/\\s+/g, \" \")\n        )) {\n          if (node.nodes) {\n            currentRule.append(node.nodes);\n          }\n          node.remove();\n        } else {\n          currentRule = node;\n        }\n      });\n      root2.each((node) => {\n        if (node.type === \"atrule\") {\n          collapseRulesIn(node);\n        }\n      });\n    }\n    return (root2) => {\n      collapseRulesIn(root2);\n    };\n  }\n  function collapseDuplicateDeclarations() {\n    return (root2) => {\n      root2.walkRules((node) => {\n        let seen = /* @__PURE__ */ new Map();\n        let droppable = /* @__PURE__ */ new Set([]);\n        let byProperty = /* @__PURE__ */ new Map();\n        node.walkDecls((decl22) => {\n          if (decl22.parent !== node) {\n            return;\n          }\n          if (seen.has(decl22.prop)) {\n            if (seen.get(decl22.prop).value === decl22.value) {\n              droppable.add(seen.get(decl22.prop));\n              seen.set(decl22.prop, decl22);\n              return;\n            }\n            if (!byProperty.has(decl22.prop)) {\n              byProperty.set(decl22.prop, /* @__PURE__ */ new Set());\n            }\n            byProperty.get(decl22.prop).add(seen.get(decl22.prop));\n            byProperty.get(decl22.prop).add(decl22);\n          }\n          seen.set(decl22.prop, decl22);\n        });\n        for (let decl22 of droppable) {\n          decl22.remove();\n        }\n        for (let declarations of byProperty.values()) {\n          let byUnit = /* @__PURE__ */ new Map();\n          for (let decl22 of declarations) {\n            let unit = resolveUnit(decl22.value);\n            if (unit === null) {\n              continue;\n            }\n            if (!byUnit.has(unit)) {\n              byUnit.set(unit, /* @__PURE__ */ new Set());\n            }\n            byUnit.get(unit).add(decl22);\n          }\n          for (let declarations2 of byUnit.values()) {\n            let removableDeclarations = Array.from(declarations2).slice(0, -1);\n            for (let decl22 of removableDeclarations) {\n              decl22.remove();\n            }\n          }\n        }\n      });\n    };\n  }\n  var UNITLESS_NUMBER = Symbol(\"unitless-number\");\n  function resolveUnit(input) {\n    let result = /^-?\\d*.?\\d+([\\w%]+)?$/g.exec(input);\n    if (result) {\n      return result[1] ?? UNITLESS_NUMBER;\n    }\n    return null;\n  }\n  function partitionRules(root2) {\n    if (!root2.walkAtRules) return;\n    let applyParents = /* @__PURE__ */ new Set();\n    root2.walkAtRules(\"apply\", (rule2) => {\n      applyParents.add(rule2.parent);\n    });\n    if (applyParents.size === 0) {\n      return;\n    }\n    for (let rule2 of applyParents) {\n      let nodeGroups = [];\n      let lastGroup = [];\n      for (let node of rule2.nodes) {\n        if (node.type === \"atrule\" && node.name === \"apply\") {\n          if (lastGroup.length > 0) {\n            nodeGroups.push(lastGroup);\n            lastGroup = [];\n          }\n          nodeGroups.push([node]);\n        } else {\n          lastGroup.push(node);\n        }\n      }\n      if (lastGroup.length > 0) {\n        nodeGroups.push(lastGroup);\n      }\n      if (nodeGroups.length === 1) {\n        continue;\n      }\n      for (let group of [...nodeGroups].reverse()) {\n        let clone = rule2.clone({ nodes: [] });\n        clone.append(group);\n        rule2.after(clone);\n      }\n      rule2.remove();\n    }\n  }\n  function expandApplyAtRules2() {\n    return (root2) => {\n      partitionRules(root2);\n    };\n  }\n  function isRoot(node) {\n    return node.type === \"root\";\n  }\n  function isAtLayer(node) {\n    return node.type === \"atrule\" && node.name === \"layer\";\n  }\n  function detectNesting_default(_context) {\n    return (root2, result) => {\n      let found = false;\n      root2.walkAtRules(\"tailwind\", (node) => {\n        if (found) return false;\n        if (node.parent && !(isRoot(node.parent) || isAtLayer(node.parent))) {\n          found = true;\n          node.warn(\n            result,\n            [\n              \"Nested @tailwind rules were detected, but are not supported.\",\n              \"Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix\",\n              \"Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy\"\n            ].join(\"\\n\")\n          );\n          return false;\n        }\n      });\n      root2.walkRules((rule2) => {\n        if (found) return false;\n        rule2.walkRules((nestedRule) => {\n          found = true;\n          nestedRule.warn(\n            result,\n            [\n              \"Nested CSS was detected, but CSS nesting has not been configured correctly.\",\n              \"Please enable a CSS nesting plugin *before* Tailwind in your configuration.\",\n              \"See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting\"\n            ].join(\"\\n\")\n          );\n          return false;\n        });\n      });\n    };\n  }\n  function processTailwindFeatures(setupContext) {\n    return async function(root2, result) {\n      let { tailwindDirectives, applyDirectives } = normalizeTailwindDirectives(root2);\n      detectNesting_default()(root2, result);\n      expandApplyAtRules2()(root2, result);\n      let context = setupContext({\n        tailwindDirectives,\n        applyDirectives,\n        registerDependency(dependency) {\n          result.messages.push({\n            plugin: \"tailwindcss\",\n            parent: result.opts.from,\n            ...dependency\n          });\n        },\n        createContext(tailwindConfig, changedContent) {\n          return createContext(tailwindConfig, changedContent, root2);\n        }\n      })(root2, result);\n      if (context.tailwindConfig.separator === \"-\") {\n        throw new Error(\n          \"The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead.\"\n        );\n      }\n      issueFlagNotices(context.tailwindConfig);\n      await expandTailwindAtRules(context)(root2, result);\n      expandApplyAtRules2()(root2, result);\n      expandApplyAtRules(context)(root2, result);\n      evaluateTailwindFunctions_default(context)(root2, result);\n      substituteScreenAtRules_default(context)(root2, result);\n      resolveDefaultsAtRules(context)(root2, result);\n      collapseAdjacentRules(context)(root2, result);\n      collapseDuplicateDeclarations(context)(root2, result);\n    };\n  }\n  var corePluginList_default = [\"preflight\", \"container\", \"accessibility\", \"pointerEvents\", \"visibility\", \"position\", \"inset\", \"isolation\", \"zIndex\", \"order\", \"gridColumn\", \"gridColumnStart\", \"gridColumnEnd\", \"gridRow\", \"gridRowStart\", \"gridRowEnd\", \"float\", \"clear\", \"margin\", \"boxSizing\", \"lineClamp\", \"display\", \"aspectRatio\", \"height\", \"maxHeight\", \"minHeight\", \"width\", \"minWidth\", \"maxWidth\", \"flex\", \"flexShrink\", \"flexGrow\", \"flexBasis\", \"tableLayout\", \"captionSide\", \"borderCollapse\", \"borderSpacing\", \"transformOrigin\", \"translate\", \"rotate\", \"skew\", \"scale\", \"transform\", \"animation\", \"cursor\", \"touchAction\", \"userSelect\", \"resize\", \"scrollSnapType\", \"scrollSnapAlign\", \"scrollSnapStop\", \"scrollMargin\", \"scrollPadding\", \"listStylePosition\", \"listStyleType\", \"listStyleImage\", \"appearance\", \"columns\", \"breakBefore\", \"breakInside\", \"breakAfter\", \"gridAutoColumns\", \"gridAutoFlow\", \"gridAutoRows\", \"gridTemplateColumns\", \"gridTemplateRows\", \"flexDirection\", \"flexWrap\", \"placeContent\", \"placeItems\", \"alignContent\", \"alignItems\", \"justifyContent\", \"justifyItems\", \"gap\", \"space\", \"divideWidth\", \"divideStyle\", \"divideColor\", \"divideOpacity\", \"placeSelf\", \"alignSelf\", \"justifySelf\", \"overflow\", \"overscrollBehavior\", \"scrollBehavior\", \"textOverflow\", \"hyphens\", \"whitespace\", \"wordBreak\", \"borderRadius\", \"borderWidth\", \"borderStyle\", \"borderColor\", \"borderOpacity\", \"backgroundColor\", \"backgroundOpacity\", \"backgroundImage\", \"gradientColorStops\", \"boxDecorationBreak\", \"backgroundSize\", \"backgroundAttachment\", \"backgroundClip\", \"backgroundPosition\", \"backgroundRepeat\", \"backgroundOrigin\", \"fill\", \"stroke\", \"strokeWidth\", \"objectFit\", \"objectPosition\", \"padding\", \"textAlign\", \"textIndent\", \"verticalAlign\", \"fontFamily\", \"fontSize\", \"fontWeight\", \"textTransform\", \"fontStyle\", \"fontVariantNumeric\", \"lineHeight\", \"letterSpacing\", \"textColor\", \"textOpacity\", \"textDecoration\", \"textDecorationColor\", \"textDecorationStyle\", \"textDecorationThickness\", \"textUnderlineOffset\", \"fontSmoothing\", \"placeholderColor\", \"placeholderOpacity\", \"caretColor\", \"accentColor\", \"opacity\", \"backgroundBlendMode\", \"mixBlendMode\", \"boxShadow\", \"boxShadowColor\", \"outlineStyle\", \"outlineWidth\", \"outlineOffset\", \"outlineColor\", \"ringWidth\", \"ringColor\", \"ringOpacity\", \"ringOffsetWidth\", \"ringOffsetColor\", \"blur\", \"brightness\", \"contrast\", \"dropShadow\", \"grayscale\", \"hueRotate\", \"invert\", \"saturate\", \"sepia\", \"filter\", \"backdropBlur\", \"backdropBrightness\", \"backdropContrast\", \"backdropGrayscale\", \"backdropHueRotate\", \"backdropInvert\", \"backdropOpacity\", \"backdropSaturate\", \"backdropSepia\", \"backdropFilter\", \"transitionProperty\", \"transitionDelay\", \"transitionDuration\", \"transitionTimingFunction\", \"willChange\", \"content\"];\n  function configurePlugins_default(pluginConfig, plugins) {\n    if (pluginConfig === void 0) {\n      return plugins;\n    }\n    const pluginNames = Array.isArray(pluginConfig) ? pluginConfig : [\n      ...new Set(\n        plugins.filter((pluginName) => {\n          return pluginConfig !== false && pluginConfig[pluginName] !== false;\n        }).concat(\n          Object.keys(pluginConfig).filter((pluginName) => {\n            return pluginConfig[pluginName] !== false;\n          })\n        )\n      )\n    ];\n    return pluginNames;\n  }\n  function warn({ version: version2, from, to }) {\n    log_default.warn(`${from}-color-renamed`, [\n      `As of Tailwind CSS ${version2}, \\`${from}\\` has been renamed to \\`${to}\\`.`,\n      \"Update your configuration file to silence this warning.\"\n    ]);\n  }\n  var colors_default = {\n    inherit: \"inherit\",\n    current: \"currentColor\",\n    transparent: \"transparent\",\n    black: \"#000\",\n    white: \"#fff\",\n    slate: {\n      50: \"#f8fafc\",\n      100: \"#f1f5f9\",\n      200: \"#e2e8f0\",\n      300: \"#cbd5e1\",\n      400: \"#94a3b8\",\n      500: \"#64748b\",\n      600: \"#475569\",\n      700: \"#334155\",\n      800: \"#1e293b\",\n      900: \"#0f172a\",\n      950: \"#020617\"\n    },\n    gray: {\n      50: \"#f9fafb\",\n      100: \"#f3f4f6\",\n      200: \"#e5e7eb\",\n      300: \"#d1d5db\",\n      400: \"#9ca3af\",\n      500: \"#6b7280\",\n      600: \"#4b5563\",\n      700: \"#374151\",\n      800: \"#1f2937\",\n      900: \"#111827\",\n      950: \"#030712\"\n    },\n    zinc: {\n      50: \"#fafafa\",\n      100: \"#f4f4f5\",\n      200: \"#e4e4e7\",\n      300: \"#d4d4d8\",\n      400: \"#a1a1aa\",\n      500: \"#71717a\",\n      600: \"#52525b\",\n      700: \"#3f3f46\",\n      800: \"#27272a\",\n      900: \"#18181b\",\n      950: \"#09090b\"\n    },\n    neutral: {\n      50: \"#fafafa\",\n      100: \"#f5f5f5\",\n      200: \"#e5e5e5\",\n      300: \"#d4d4d4\",\n      400: \"#a3a3a3\",\n      500: \"#737373\",\n      600: \"#525252\",\n      700: \"#404040\",\n      800: \"#262626\",\n      900: \"#171717\",\n      950: \"#0a0a0a\"\n    },\n    stone: {\n      50: \"#fafaf9\",\n      100: \"#f5f5f4\",\n      200: \"#e7e5e4\",\n      300: \"#d6d3d1\",\n      400: \"#a8a29e\",\n      500: \"#78716c\",\n      600: \"#57534e\",\n      700: \"#44403c\",\n      800: \"#292524\",\n      900: \"#1c1917\",\n      950: \"#0c0a09\"\n    },\n    red: {\n      50: \"#fef2f2\",\n      100: \"#fee2e2\",\n      200: \"#fecaca\",\n      300: \"#fca5a5\",\n      400: \"#f87171\",\n      500: \"#ef4444\",\n      600: \"#dc2626\",\n      700: \"#b91c1c\",\n      800: \"#991b1b\",\n      900: \"#7f1d1d\",\n      950: \"#450a0a\"\n    },\n    orange: {\n      50: \"#fff7ed\",\n      100: \"#ffedd5\",\n      200: \"#fed7aa\",\n      300: \"#fdba74\",\n      400: \"#fb923c\",\n      500: \"#f97316\",\n      600: \"#ea580c\",\n      700: \"#c2410c\",\n      800: \"#9a3412\",\n      900: \"#7c2d12\",\n      950: \"#431407\"\n    },\n    amber: {\n      50: \"#fffbeb\",\n      100: \"#fef3c7\",\n      200: \"#fde68a\",\n      300: \"#fcd34d\",\n      400: \"#fbbf24\",\n      500: \"#f59e0b\",\n      600: \"#d97706\",\n      700: \"#b45309\",\n      800: \"#92400e\",\n      900: \"#78350f\",\n      950: \"#451a03\"\n    },\n    yellow: {\n      50: \"#fefce8\",\n      100: \"#fef9c3\",\n      200: \"#fef08a\",\n      300: \"#fde047\",\n      400: \"#facc15\",\n      500: \"#eab308\",\n      600: \"#ca8a04\",\n      700: \"#a16207\",\n      800: \"#854d0e\",\n      900: \"#713f12\",\n      950: \"#422006\"\n    },\n    lime: {\n      50: \"#f7fee7\",\n      100: \"#ecfccb\",\n      200: \"#d9f99d\",\n      300: \"#bef264\",\n      400: \"#a3e635\",\n      500: \"#84cc16\",\n      600: \"#65a30d\",\n      700: \"#4d7c0f\",\n      800: \"#3f6212\",\n      900: \"#365314\",\n      950: \"#1a2e05\"\n    },\n    green: {\n      50: \"#f0fdf4\",\n      100: \"#dcfce7\",\n      200: \"#bbf7d0\",\n      300: \"#86efac\",\n      400: \"#4ade80\",\n      500: \"#22c55e\",\n      600: \"#16a34a\",\n      700: \"#15803d\",\n      800: \"#166534\",\n      900: \"#14532d\",\n      950: \"#052e16\"\n    },\n    emerald: {\n      50: \"#ecfdf5\",\n      100: \"#d1fae5\",\n      200: \"#a7f3d0\",\n      300: \"#6ee7b7\",\n      400: \"#34d399\",\n      500: \"#10b981\",\n      600: \"#059669\",\n      700: \"#047857\",\n      800: \"#065f46\",\n      900: \"#064e3b\",\n      950: \"#022c22\"\n    },\n    teal: {\n      50: \"#f0fdfa\",\n      100: \"#ccfbf1\",\n      200: \"#99f6e4\",\n      300: \"#5eead4\",\n      400: \"#2dd4bf\",\n      500: \"#14b8a6\",\n      600: \"#0d9488\",\n      700: \"#0f766e\",\n      800: \"#115e59\",\n      900: \"#134e4a\",\n      950: \"#042f2e\"\n    },\n    cyan: {\n      50: \"#ecfeff\",\n      100: \"#cffafe\",\n      200: \"#a5f3fc\",\n      300: \"#67e8f9\",\n      400: \"#22d3ee\",\n      500: \"#06b6d4\",\n      600: \"#0891b2\",\n      700: \"#0e7490\",\n      800: \"#155e75\",\n      900: \"#164e63\",\n      950: \"#083344\"\n    },\n    sky: {\n      50: \"#f0f9ff\",\n      100: \"#e0f2fe\",\n      200: \"#bae6fd\",\n      300: \"#7dd3fc\",\n      400: \"#38bdf8\",\n      500: \"#0ea5e9\",\n      600: \"#0284c7\",\n      700: \"#0369a1\",\n      800: \"#075985\",\n      900: \"#0c4a6e\",\n      950: \"#082f49\"\n    },\n    blue: {\n      50: \"#eff6ff\",\n      100: \"#dbeafe\",\n      200: \"#bfdbfe\",\n      300: \"#93c5fd\",\n      400: \"#60a5fa\",\n      500: \"#3b82f6\",\n      600: \"#2563eb\",\n      700: \"#1d4ed8\",\n      800: \"#1e40af\",\n      900: \"#1e3a8a\",\n      950: \"#172554\"\n    },\n    indigo: {\n      50: \"#eef2ff\",\n      100: \"#e0e7ff\",\n      200: \"#c7d2fe\",\n      300: \"#a5b4fc\",\n      400: \"#818cf8\",\n      500: \"#6366f1\",\n      600: \"#4f46e5\",\n      700: \"#4338ca\",\n      800: \"#3730a3\",\n      900: \"#312e81\",\n      950: \"#1e1b4b\"\n    },\n    violet: {\n      50: \"#f5f3ff\",\n      100: \"#ede9fe\",\n      200: \"#ddd6fe\",\n      300: \"#c4b5fd\",\n      400: \"#a78bfa\",\n      500: \"#8b5cf6\",\n      600: \"#7c3aed\",\n      700: \"#6d28d9\",\n      800: \"#5b21b6\",\n      900: \"#4c1d95\",\n      950: \"#2e1065\"\n    },\n    purple: {\n      50: \"#faf5ff\",\n      100: \"#f3e8ff\",\n      200: \"#e9d5ff\",\n      300: \"#d8b4fe\",\n      400: \"#c084fc\",\n      500: \"#a855f7\",\n      600: \"#9333ea\",\n      700: \"#7e22ce\",\n      800: \"#6b21a8\",\n      900: \"#581c87\",\n      950: \"#3b0764\"\n    },\n    fuchsia: {\n      50: \"#fdf4ff\",\n      100: \"#fae8ff\",\n      200: \"#f5d0fe\",\n      300: \"#f0abfc\",\n      400: \"#e879f9\",\n      500: \"#d946ef\",\n      600: \"#c026d3\",\n      700: \"#a21caf\",\n      800: \"#86198f\",\n      900: \"#701a75\",\n      950: \"#4a044e\"\n    },\n    pink: {\n      50: \"#fdf2f8\",\n      100: \"#fce7f3\",\n      200: \"#fbcfe8\",\n      300: \"#f9a8d4\",\n      400: \"#f472b6\",\n      500: \"#ec4899\",\n      600: \"#db2777\",\n      700: \"#be185d\",\n      800: \"#9d174d\",\n      900: \"#831843\",\n      950: \"#500724\"\n    },\n    rose: {\n      50: \"#fff1f2\",\n      100: \"#ffe4e6\",\n      200: \"#fecdd3\",\n      300: \"#fda4af\",\n      400: \"#fb7185\",\n      500: \"#f43f5e\",\n      600: \"#e11d48\",\n      700: \"#be123c\",\n      800: \"#9f1239\",\n      900: \"#881337\",\n      950: \"#4c0519\"\n    },\n    get lightBlue() {\n      warn({ version: \"v2.2\", from: \"lightBlue\", to: \"sky\" });\n      return this.sky;\n    },\n    get warmGray() {\n      warn({ version: \"v3.0\", from: \"warmGray\", to: \"stone\" });\n      return this.stone;\n    },\n    get trueGray() {\n      warn({ version: \"v3.0\", from: \"trueGray\", to: \"neutral\" });\n      return this.neutral;\n    },\n    get coolGray() {\n      warn({ version: \"v3.0\", from: \"coolGray\", to: \"gray\" });\n      return this.gray;\n    },\n    get blueGray() {\n      warn({ version: \"v3.0\", from: \"blueGray\", to: \"slate\" });\n      return this.slate;\n    }\n  };\n  function defaults2(target, ...sources) {\n    for (let source of sources) {\n      for (let k5 in source) {\n        if (!target?.hasOwnProperty?.(k5)) {\n          target[k5] = source[k5];\n        }\n      }\n      for (let k5 of Object.getOwnPropertySymbols(source)) {\n        if (!target?.hasOwnProperty?.(k5)) {\n          target[k5] = source[k5];\n        }\n      }\n    }\n    return target;\n  }\n  function normalizeConfig(config) {\n    let valid = (() => {\n      if (config.purge) {\n        return false;\n      }\n      if (!config.content) {\n        return false;\n      }\n      if (!Array.isArray(config.content) && !(typeof config.content === \"object\" && config.content !== null)) {\n        return false;\n      }\n      if (Array.isArray(config.content)) {\n        return config.content.every((path) => {\n          if (typeof path === \"string\") return true;\n          if (typeof path?.raw !== \"string\") return false;\n          if (path?.extension && typeof path?.extension !== \"string\") {\n            return false;\n          }\n          return true;\n        });\n      }\n      if (typeof config.content === \"object\" && config.content !== null) {\n        if (Object.keys(config.content).some(\n          (key) => ![\"files\", \"relative\", \"extract\", \"transform\"].includes(key)\n        )) {\n          return false;\n        }\n        if (Array.isArray(config.content.files)) {\n          if (!config.content.files.every((path) => {\n            if (typeof path === \"string\") return true;\n            if (typeof path?.raw !== \"string\") return false;\n            if (path?.extension && typeof path?.extension !== \"string\") {\n              return false;\n            }\n            return true;\n          })) {\n            return false;\n          }\n          if (typeof config.content.extract === \"object\") {\n            for (let value2 of Object.values(config.content.extract)) {\n              if (typeof value2 !== \"function\") {\n                return false;\n              }\n            }\n          } else if (!(config.content.extract === void 0 || typeof config.content.extract === \"function\")) {\n            return false;\n          }\n          if (typeof config.content.transform === \"object\") {\n            for (let value2 of Object.values(config.content.transform)) {\n              if (typeof value2 !== \"function\") {\n                return false;\n              }\n            }\n          } else if (!(config.content.transform === void 0 || typeof config.content.transform === \"function\")) {\n            return false;\n          }\n          if (typeof config.content.relative !== \"boolean\" && typeof config.content.relative !== \"undefined\") {\n            return false;\n          }\n        }\n        return true;\n      }\n      return false;\n    })();\n    if (!valid) {\n      log_default.warn(\"purge-deprecation\", [\n        \"The `purge`/`content` options have changed in Tailwind CSS v3.0.\",\n        \"Update your configuration file to eliminate this warning.\",\n        \"https://tailwindcss.com/docs/upgrade-guide#configure-content-sources\"\n      ]);\n    }\n    config.safelist = (() => {\n      let { content, purge, safelist } = config;\n      if (Array.isArray(safelist)) return safelist;\n      if (Array.isArray(content?.safelist)) return content.safelist;\n      if (Array.isArray(purge?.safelist)) return purge.safelist;\n      if (Array.isArray(purge?.options?.safelist)) return purge.options.safelist;\n      return [];\n    })();\n    config.blocklist = (() => {\n      let { blocklist } = config;\n      if (Array.isArray(blocklist)) {\n        if (blocklist.every((item) => typeof item === \"string\")) {\n          return blocklist;\n        }\n        log_default.warn(\"blocklist-invalid\", [\n          \"The `blocklist` option must be an array of strings.\",\n          \"https://tailwindcss.com/docs/content-configuration#discarding-classes\"\n        ]);\n      }\n      return [];\n    })();\n    if (typeof config.prefix === \"function\") {\n      log_default.warn(\"prefix-function\", [\n        \"As of Tailwind CSS v3.0, `prefix` cannot be a function.\",\n        \"Update `prefix` in your configuration to be a string to eliminate this warning.\",\n        \"https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function\"\n      ]);\n      config.prefix = \"\";\n    } else {\n      config.prefix = config.prefix ?? \"\";\n    }\n    config.content = {\n      relative: (() => {\n        let { content } = config;\n        if (content?.relative) {\n          return content.relative;\n        }\n        return flagEnabled2(config, \"relativeContentPathsByDefault\");\n      })(),\n      files: (() => {\n        let { content, purge } = config;\n        if (Array.isArray(purge)) return purge;\n        if (Array.isArray(purge?.content)) return purge.content;\n        if (Array.isArray(content)) return content;\n        if (Array.isArray(content?.content)) return content.content;\n        if (Array.isArray(content?.files)) return content.files;\n        return [];\n      })(),\n      extract: (() => {\n        let extract = (() => {\n          if (config.purge?.extract) return config.purge.extract;\n          if (config.content?.extract) return config.content.extract;\n          if (config.purge?.extract?.DEFAULT) return config.purge.extract.DEFAULT;\n          if (config.content?.extract?.DEFAULT) return config.content.extract.DEFAULT;\n          if (config.purge?.options?.extractors) return config.purge.options.extractors;\n          if (config.content?.options?.extractors) return config.content.options.extractors;\n          return {};\n        })();\n        let extractors = {};\n        let defaultExtractor2 = (() => {\n          if (config.purge?.options?.defaultExtractor) {\n            return config.purge.options.defaultExtractor;\n          }\n          if (config.content?.options?.defaultExtractor) {\n            return config.content.options.defaultExtractor;\n          }\n          return void 0;\n        })();\n        if (defaultExtractor2 !== void 0) {\n          extractors.DEFAULT = defaultExtractor2;\n        }\n        if (typeof extract === \"function\") {\n          extractors.DEFAULT = extract;\n        } else if (Array.isArray(extract)) {\n          for (let { extensions, extractor } of extract ?? []) {\n            for (let extension of extensions) {\n              extractors[extension] = extractor;\n            }\n          }\n        } else if (typeof extract === \"object\" && extract !== null) {\n          Object.assign(extractors, extract);\n        }\n        return extractors;\n      })(),\n      transform: (() => {\n        let transform = (() => {\n          if (config.purge?.transform) return config.purge.transform;\n          if (config.content?.transform) return config.content.transform;\n          if (config.purge?.transform?.DEFAULT) return config.purge.transform.DEFAULT;\n          if (config.content?.transform?.DEFAULT) return config.content.transform.DEFAULT;\n          return {};\n        })();\n        let transformers = {};\n        if (typeof transform === \"function\") {\n          transformers.DEFAULT = transform;\n        }\n        if (typeof transform === \"object\" && transform !== null) {\n          Object.assign(transformers, transform);\n        }\n        return transformers;\n      })()\n    };\n    for (let file of config.content.files) {\n      if (typeof file === \"string\" && /{([^,]*?)}/g.test(file)) {\n        log_default.warn(\"invalid-glob-braces\", [\n          `The glob pattern ${dim(file)} in your Tailwind CSS configuration is invalid.`,\n          `Update it to ${dim(file.replace(/{([^,]*?)}/g, \"$1\"))} to silence this warning.`\n          // TODO: Add https://tw.wtf/invalid-glob-braces\n        ]);\n        break;\n      }\n    }\n    return config;\n  }\n  function cloneDeep(value2) {\n    if (Array.isArray(value2)) {\n      return value2.map((child) => cloneDeep(child));\n    }\n    if (typeof value2 === \"object\" && value2 !== null) {\n      return Object.fromEntries(Object.entries(value2).map(([k5, v2]) => [k5, cloneDeep(v2)]));\n    }\n    return value2;\n  }\n  function isFunction(input) {\n    return typeof input === \"function\";\n  }\n  function mergeWith(target, ...sources) {\n    let customizer = sources.pop();\n    for (let source of sources) {\n      for (let k5 in source) {\n        let merged = customizer(target[k5], source[k5]);\n        if (merged === void 0) {\n          if (isPlainObject(target[k5]) && isPlainObject(source[k5])) {\n            target[k5] = mergeWith({}, target[k5], source[k5], customizer);\n          } else {\n            target[k5] = source[k5];\n          }\n        } else {\n          target[k5] = merged;\n        }\n      }\n    }\n    return target;\n  }\n  var configUtils = {\n    colors: colors_default,\n    negative(scale) {\n      return Object.keys(scale).filter((key) => scale[key] !== \"0\").reduce((negativeScale, key) => {\n        let negativeValue = negateValue(scale[key]);\n        if (negativeValue !== void 0) {\n          negativeScale[`-${key}`] = negativeValue;\n        }\n        return negativeScale;\n      }, {});\n    },\n    breakpoints(screens) {\n      return Object.keys(screens).filter((key) => typeof screens[key] === \"string\").reduce(\n        (breakpoints, key) => ({\n          ...breakpoints,\n          [`screen-${key}`]: screens[key]\n        }),\n        {}\n      );\n    }\n  };\n  function value(valueToResolve, ...args) {\n    return isFunction(valueToResolve) ? valueToResolve(...args) : valueToResolve;\n  }\n  function collectExtends(items) {\n    return items.reduce((merged, { extend }) => {\n      return mergeWith(merged, extend, (mergedValue, extendValue) => {\n        if (mergedValue === void 0) {\n          return [extendValue];\n        }\n        if (Array.isArray(mergedValue)) {\n          return [extendValue, ...mergedValue];\n        }\n        return [extendValue, mergedValue];\n      });\n    }, {});\n  }\n  function mergeThemes(themes) {\n    return {\n      ...themes.reduce((merged, theme) => defaults2(merged, theme), {}),\n      // In order to resolve n config objects, we combine all of their `extend` properties\n      // into arrays instead of objects so they aren't overridden.\n      extend: collectExtends(themes)\n    };\n  }\n  function mergeExtensionCustomizer(merged, value2) {\n    if (Array.isArray(merged) && isPlainObject(merged[0])) {\n      return merged.concat(value2);\n    }\n    if (Array.isArray(value2) && isPlainObject(value2[0]) && isPlainObject(merged)) {\n      return [merged, ...value2];\n    }\n    if (Array.isArray(value2)) {\n      return value2;\n    }\n    return void 0;\n  }\n  function mergeExtensions({ extend, ...theme }) {\n    return mergeWith(theme, extend, (themeValue, extensions) => {\n      if (!isFunction(themeValue) && !extensions.some(isFunction)) {\n        return mergeWith({}, themeValue, ...extensions, mergeExtensionCustomizer);\n      }\n      return (resolveThemePath, utils) => mergeWith(\n        {},\n        ...[themeValue, ...extensions].map((e5) => value(e5, resolveThemePath, utils)),\n        mergeExtensionCustomizer\n      );\n    });\n  }\n  function* toPaths2(key) {\n    let path = toPath(key);\n    if (path.length === 0) {\n      return;\n    }\n    yield path;\n    if (Array.isArray(key)) {\n      return;\n    }\n    let pattern2 = /^(.*?)\\s*\\/\\s*([^/]+)$/;\n    let matches = key.match(pattern2);\n    if (matches !== null) {\n      let [, prefix3, alpha] = matches;\n      let newPath = toPath(prefix3);\n      newPath.alpha = alpha;\n      yield newPath;\n    }\n  }\n  function resolveFunctionKeys(object) {\n    const resolvePath2 = (key, defaultValue) => {\n      for (const path of toPaths2(key)) {\n        let index2 = 0;\n        let val = object;\n        while (val !== void 0 && val !== null && index2 < path.length) {\n          val = val[path[index2++]];\n          let shouldResolveAsFn = isFunction(val) && (path.alpha === void 0 || index2 <= path.length - 1);\n          val = shouldResolveAsFn ? val(resolvePath2, configUtils) : val;\n        }\n        if (val !== void 0) {\n          if (path.alpha !== void 0) {\n            let normalized = parseColorFormat(val);\n            return withAlphaValue(normalized, path.alpha, toColorValue(normalized));\n          }\n          if (isPlainObject(val)) {\n            return cloneDeep(val);\n          }\n          return val;\n        }\n      }\n      return defaultValue;\n    };\n    Object.assign(resolvePath2, {\n      theme: resolvePath2,\n      ...configUtils\n    });\n    return Object.keys(object).reduce((resolved, key) => {\n      resolved[key] = isFunction(object[key]) ? object[key](resolvePath2, configUtils) : object[key];\n      return resolved;\n    }, {});\n  }\n  function extractPluginConfigs(configs) {\n    let allConfigs = [];\n    configs.forEach((config) => {\n      allConfigs = [...allConfigs, config];\n      const plugins = config?.plugins ?? [];\n      if (plugins.length === 0) {\n        return;\n      }\n      plugins.forEach((plugin2) => {\n        if (plugin2.__isOptionsFunction) {\n          plugin2 = plugin2();\n        }\n        allConfigs = [...allConfigs, ...extractPluginConfigs([plugin2?.config ?? {}])];\n      });\n    });\n    return allConfigs;\n  }\n  function resolveCorePlugins(corePluginConfigs) {\n    const result = [...corePluginConfigs].reduceRight((resolved, corePluginConfig) => {\n      if (isFunction(corePluginConfig)) {\n        return corePluginConfig({ corePlugins: resolved });\n      }\n      return configurePlugins_default(corePluginConfig, resolved);\n    }, corePluginList_default);\n    return result;\n  }\n  function resolvePluginLists(pluginLists) {\n    const result = [...pluginLists].reduceRight((resolved, pluginList) => {\n      return [...resolved, ...pluginList];\n    }, []);\n    return result;\n  }\n  function resolveConfig(configs) {\n    let allConfigs = [\n      ...extractPluginConfigs(configs),\n      {\n        prefix: \"\",\n        important: false,\n        separator: \":\"\n      }\n    ];\n    return normalizeConfig(\n      defaults2(\n        {\n          theme: resolveFunctionKeys(\n            mergeExtensions(mergeThemes(allConfigs.map((t2) => t2?.theme ?? {})))\n          ),\n          corePlugins: resolveCorePlugins(allConfigs.map((c3) => c3.corePlugins)),\n          plugins: resolvePluginLists(configs.map((c3) => c3?.plugins ?? []))\n        },\n        ...allConfigs\n      )\n    );\n  }\n  var import_config_full = __toESM2(require_config_full());\n  function getAllConfigs(config) {\n    const configs = (config?.presets ?? [import_config_full.default]).slice().reverse().flatMap((preset) => getAllConfigs(preset instanceof Function ? preset() : preset));\n    const features = {\n      // Add experimental configs here...\n      respectDefaultRingColorOpacity: {\n        theme: {\n          ringColor: ({ theme }) => ({\n            DEFAULT: \"#3b82f67f\",\n            ...theme(\"colors\")\n          })\n        }\n      },\n      disableColorOpacityUtilitiesByDefault: {\n        corePlugins: {\n          backgroundOpacity: false,\n          borderOpacity: false,\n          divideOpacity: false,\n          placeholderOpacity: false,\n          ringOpacity: false,\n          textOpacity: false\n        }\n      }\n    };\n    const experimentals = Object.keys(features).filter((feature) => flagEnabled2(config, feature)).map((feature) => features[feature]);\n    return [config, ...experimentals, ...configs];\n  }\n  function resolveConfig2(...configs) {\n    let [, ...defaultConfigs] = getAllConfigs(configs[0]);\n    return resolveConfig([...configs, ...defaultConfigs]);\n  }\n  async function stateFromConfig(configPromise) {\n    const preparedTailwindConfig = await configPromise;\n    const config = resolveConfig2(preparedTailwindConfig);\n    const jitContext = createContext(config);\n    const state = {\n      version: \"3.0.0\",\n      blocklist: [],\n      config,\n      enabled: true,\n      modules: {\n        postcss: {\n          module: postcss_default,\n          version: \"\"\n        },\n        postcssSelectorParser: { module: import_postcss_selector_parser2.default },\n        jit: {\n          createContext: { module: createContext },\n          expandApplyAtRules: { module: expandApplyAtRules },\n          generateRules: { module: generateRules2 }\n        }\n      },\n      classNames: {\n        classNames: {},\n        context: {}\n      },\n      jit: true,\n      jitContext,\n      separator: config.separator,\n      screens: config.theme?.screens ? Object.keys(config.theme.screens) : [],\n      variants: jitContext.getVariants(),\n      editor: {\n        userLanguages: {},\n        capabilities: {\n          configuration: true,\n          diagnosticRelatedInformation: true,\n          itemDefaults: []\n        },\n        // eslint-disable-next-line require-await\n        async getConfiguration() {\n          return {\n            editor: { tabSize: 2 },\n            // Default values are based on\n            // https://github.com/tailwindlabs/tailwindcss-intellisense/blob/v0.9.1/packages/tailwindcss-language-server/src/server.ts#L259-L287\n            tailwindCSS: {\n              emmetCompletions: false,\n              classAttributes: [\"class\", \"className\", \"ngClass\"],\n              codeActions: true,\n              hovers: true,\n              suggestions: true,\n              validate: true,\n              colorDecorators: true,\n              rootFontSize: 16,\n              lint: {\n                cssConflict: \"warning\",\n                invalidApply: \"error\",\n                invalidScreen: \"error\",\n                invalidVariant: \"error\",\n                invalidConfigPath: \"error\",\n                invalidTailwindDirective: \"error\",\n                recommendedVariantOrder: \"warning\"\n              },\n              showPixelEquivalents: true,\n              includeLanguages: {},\n              files: {\n                // Upstream defines these values, but we don’t need them.\n                exclude: []\n              },\n              experimental: {\n                classRegex: [],\n                // Upstream types are wrong\n                configFile: {}\n              }\n            }\n          };\n        }\n        // This option takes some properties that we don’t have nor need.\n      }\n    };\n    state.classList = jitContext.getClassList().filter((className) => className !== \"*\").map((className) => [className, { color: getColor(state, className) }]);\n    return state;\n  }\n  function initialize3(tailwindWorkerOptions) {\n    initialize2((ctx, options) => {\n      const preparedTailwindConfig = tailwindWorkerOptions?.prepareTailwindConfig?.(options.tailwindConfig) ?? options.tailwindConfig ?? {};\n      if (typeof preparedTailwindConfig !== \"object\") {\n        throw new TypeError(\n          `Expected tailwindConfig to resolve to an object, but got: ${JSON.stringify(\n            preparedTailwindConfig\n          )}`\n        );\n      }\n      const statePromise = stateFromConfig(preparedTailwindConfig);\n      const withDocument = (fn5) => (uri, languageId, ...args) => {\n        const models = ctx.getMirrorModels();\n        for (const model of models) {\n          if (String(model.uri) === uri) {\n            return statePromise.then(\n              (state) => fn5(\n                state,\n                TextDocument2.create(uri, languageId, model.version, model.getValue()),\n                ...args\n              )\n            );\n          }\n        }\n      };\n      return {\n        doCodeActions: withDocument(\n          (state, textDocument, range, context) => doCodeActions(state, { range, context, textDocument }, textDocument)\n        ),\n        doComplete: withDocument(doComplete2),\n        doHover: withDocument(doHover),\n        doValidate: withDocument(doValidate),\n        async generateStylesFromContent(css, content) {\n          const { config } = await statePromise;\n          const tailwind = processTailwindFeatures(\n            (processOptions) => () => processOptions.createContext(config, content)\n          );\n          const processor = postcss_default([tailwind]);\n          const result = await processor.process(css);\n          return result.css;\n        },\n        getDocumentColors: withDocument(getDocumentColors),\n        async resolveCompletionItem(item) {\n          return resolveCompletionItem(await statePromise, item);\n        }\n      };\n    });\n  }\n  initialize3();\n})();\n/*! Bundled license information:\n\nisobject/index.js:\n  (*!\n   * isobject <https://github.com/jonschlinkert/isobject>\n   *\n   * Copyright (c) 2014-2015, Jon Schlinkert.\n   * Licensed under the MIT License.\n   *)\n\nline-column/lib/line-column.js:\n  (**\n   * line-column - Convert efficiently index to/from line-column in a string\n   * @module  lineColumn\n   * @license MIT\n   *)\n\ncss.escape/css.escape.js:\n  (*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license *)\n\ncssesc/cssesc.js:\n  (*! https://mths.be/cssesc v3.0.0 by @mathias *)\n*/\n"
  },
  {
    "path": "backend/openui/dist/monacoeditorwork/ts.worker.bundle.js",
    "content": "(() => {\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/errors.js\n  var ErrorHandler = class {\n    constructor() {\n      this.listeners = [];\n      this.unexpectedErrorHandler = function(e) {\n        setTimeout(() => {\n          if (e.stack) {\n            if (ErrorNoTelemetry.isErrorNoTelemetry(e)) {\n              throw new ErrorNoTelemetry(e.message + \"\\n\\n\" + e.stack);\n            }\n            throw new Error(e.message + \"\\n\\n\" + e.stack);\n          }\n          throw e;\n        }, 0);\n      };\n    }\n    emit(e) {\n      this.listeners.forEach((listener) => {\n        listener(e);\n      });\n    }\n    onUnexpectedError(e) {\n      this.unexpectedErrorHandler(e);\n      this.emit(e);\n    }\n    // For external errors, we don't want the listeners to be called\n    onUnexpectedExternalError(e) {\n      this.unexpectedErrorHandler(e);\n    }\n  };\n  var errorHandler = new ErrorHandler();\n  function onUnexpectedError(e) {\n    if (!isCancellationError(e)) {\n      errorHandler.onUnexpectedError(e);\n    }\n    return void 0;\n  }\n  function transformErrorForSerialization(error) {\n    if (error instanceof Error) {\n      const { name, message } = error;\n      const stack = error.stacktrace || error.stack;\n      return {\n        $isError: true,\n        name,\n        message,\n        stack,\n        noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error)\n      };\n    }\n    return error;\n  }\n  var canceledName = \"Canceled\";\n  function isCancellationError(error) {\n    if (error instanceof CancellationError) {\n      return true;\n    }\n    return error instanceof Error && error.name === canceledName && error.message === canceledName;\n  }\n  var CancellationError = class extends Error {\n    constructor() {\n      super(canceledName);\n      this.name = this.message;\n    }\n  };\n  var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error {\n    constructor(msg) {\n      super(msg);\n      this.name = \"CodeExpectedError\";\n    }\n    static fromError(err) {\n      if (err instanceof _ErrorNoTelemetry) {\n        return err;\n      }\n      const result = new _ErrorNoTelemetry();\n      result.message = err.message;\n      result.stack = err.stack;\n      return result;\n    }\n    static isErrorNoTelemetry(err) {\n      return err.name === \"CodeExpectedError\";\n    }\n  };\n  var BugIndicatingError = class _BugIndicatingError extends Error {\n    constructor(message) {\n      super(message || \"An unexpected bug occurred.\");\n      Object.setPrototypeOf(this, _BugIndicatingError.prototype);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/functional.js\n  function createSingleCallFunction(fn, fnDidRunCallback) {\n    const _this = this;\n    let didCall = false;\n    let result;\n    return function() {\n      if (didCall) {\n        return result;\n      }\n      didCall = true;\n      if (fnDidRunCallback) {\n        try {\n          result = fn.apply(_this, arguments);\n        } finally {\n          fnDidRunCallback();\n        }\n      } else {\n        result = fn.apply(_this, arguments);\n      }\n      return result;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/iterator.js\n  var Iterable;\n  (function(Iterable2) {\n    function is(thing) {\n      return thing && typeof thing === \"object\" && typeof thing[Symbol.iterator] === \"function\";\n    }\n    Iterable2.is = is;\n    const _empty2 = Object.freeze([]);\n    function empty() {\n      return _empty2;\n    }\n    Iterable2.empty = empty;\n    function* single(element) {\n      yield element;\n    }\n    Iterable2.single = single;\n    function wrap(iterableOrElement) {\n      if (is(iterableOrElement)) {\n        return iterableOrElement;\n      } else {\n        return single(iterableOrElement);\n      }\n    }\n    Iterable2.wrap = wrap;\n    function from(iterable) {\n      return iterable || _empty2;\n    }\n    Iterable2.from = from;\n    function* reverse(array) {\n      for (let i = array.length - 1; i >= 0; i--) {\n        yield array[i];\n      }\n    }\n    Iterable2.reverse = reverse;\n    function isEmpty(iterable) {\n      return !iterable || iterable[Symbol.iterator]().next().done === true;\n    }\n    Iterable2.isEmpty = isEmpty;\n    function first(iterable) {\n      return iterable[Symbol.iterator]().next().value;\n    }\n    Iterable2.first = first;\n    function some(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    Iterable2.some = some;\n    function find(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          return element;\n        }\n      }\n      return void 0;\n    }\n    Iterable2.find = find;\n    function* filter(iterable, predicate) {\n      for (const element of iterable) {\n        if (predicate(element)) {\n          yield element;\n        }\n      }\n    }\n    Iterable2.filter = filter;\n    function* map(iterable, fn) {\n      let index = 0;\n      for (const element of iterable) {\n        yield fn(element, index++);\n      }\n    }\n    Iterable2.map = map;\n    function* concat(...iterables) {\n      for (const iterable of iterables) {\n        yield* iterable;\n      }\n    }\n    Iterable2.concat = concat;\n    function reduce(iterable, reducer, initialValue) {\n      let value = initialValue;\n      for (const element of iterable) {\n        value = reducer(value, element);\n      }\n      return value;\n    }\n    Iterable2.reduce = reduce;\n    function* slice(arr, from2, to = arr.length) {\n      if (from2 < 0) {\n        from2 += arr.length;\n      }\n      if (to < 0) {\n        to += arr.length;\n      } else if (to > arr.length) {\n        to = arr.length;\n      }\n      for (; from2 < to; from2++) {\n        yield arr[from2];\n      }\n    }\n    Iterable2.slice = slice;\n    function consume(iterable, atMost = Number.POSITIVE_INFINITY) {\n      const consumed = [];\n      if (atMost === 0) {\n        return [consumed, iterable];\n      }\n      const iterator = iterable[Symbol.iterator]();\n      for (let i = 0; i < atMost; i++) {\n        const next = iterator.next();\n        if (next.done) {\n          return [consumed, Iterable2.empty()];\n        }\n        consumed.push(next.value);\n      }\n      return [consumed, { [Symbol.iterator]() {\n        return iterator;\n      } }];\n    }\n    Iterable2.consume = consume;\n    async function asyncToArray(iterable) {\n      const result = [];\n      for await (const item of iterable) {\n        result.push(item);\n      }\n      return Promise.resolve(result);\n    }\n    Iterable2.asyncToArray = asyncToArray;\n  })(Iterable || (Iterable = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\n  var TRACK_DISPOSABLES = false;\n  var disposableTracker = null;\n  function setDisposableTracker(tracker) {\n    disposableTracker = tracker;\n  }\n  if (TRACK_DISPOSABLES) {\n    const __is_disposable_tracked__ = \"__is_disposable_tracked__\";\n    setDisposableTracker(new class {\n      trackDisposable(x) {\n        const stack = new Error(\"Potentially leaked disposable\").stack;\n        setTimeout(() => {\n          if (!x[__is_disposable_tracked__]) {\n            console.log(stack);\n          }\n        }, 3e3);\n      }\n      setParent(child, parent) {\n        if (child && child !== Disposable.None) {\n          try {\n            child[__is_disposable_tracked__] = true;\n          } catch (_a4) {\n          }\n        }\n      }\n      markAsDisposed(disposable) {\n        if (disposable && disposable !== Disposable.None) {\n          try {\n            disposable[__is_disposable_tracked__] = true;\n          } catch (_a4) {\n          }\n        }\n      }\n      markAsSingleton(disposable) {\n      }\n    }());\n  }\n  function trackDisposable(x) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.trackDisposable(x);\n    return x;\n  }\n  function markAsDisposed(disposable) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.markAsDisposed(disposable);\n  }\n  function setParentOfDisposable(child, parent) {\n    disposableTracker === null || disposableTracker === void 0 ? void 0 : disposableTracker.setParent(child, parent);\n  }\n  function setParentOfDisposables(children, parent) {\n    if (!disposableTracker) {\n      return;\n    }\n    for (const child of children) {\n      disposableTracker.setParent(child, parent);\n    }\n  }\n  function dispose(arg) {\n    if (Iterable.is(arg)) {\n      const errors = [];\n      for (const d of arg) {\n        if (d) {\n          try {\n            d.dispose();\n          } catch (e) {\n            errors.push(e);\n          }\n        }\n      }\n      if (errors.length === 1) {\n        throw errors[0];\n      } else if (errors.length > 1) {\n        throw new AggregateError(errors, \"Encountered errors while disposing of store\");\n      }\n      return Array.isArray(arg) ? [] : arg;\n    } else if (arg) {\n      arg.dispose();\n      return arg;\n    }\n  }\n  function combinedDisposable(...disposables) {\n    const parent = toDisposable(() => dispose(disposables));\n    setParentOfDisposables(disposables, parent);\n    return parent;\n  }\n  function toDisposable(fn) {\n    const self2 = trackDisposable({\n      dispose: createSingleCallFunction(() => {\n        markAsDisposed(self2);\n        fn();\n      })\n    });\n    return self2;\n  }\n  var DisposableStore = class _DisposableStore {\n    constructor() {\n      this._toDispose = /* @__PURE__ */ new Set();\n      this._isDisposed = false;\n      trackDisposable(this);\n    }\n    /**\n     * Dispose of all registered disposables and mark this object as disposed.\n     *\n     * Any future disposables added to this object will be disposed of on `add`.\n     */\n    dispose() {\n      if (this._isDisposed) {\n        return;\n      }\n      markAsDisposed(this);\n      this._isDisposed = true;\n      this.clear();\n    }\n    /**\n     * @return `true` if this object has been disposed of.\n     */\n    get isDisposed() {\n      return this._isDisposed;\n    }\n    /**\n     * Dispose of all registered disposables but do not mark this object as disposed.\n     */\n    clear() {\n      if (this._toDispose.size === 0) {\n        return;\n      }\n      try {\n        dispose(this._toDispose);\n      } finally {\n        this._toDispose.clear();\n      }\n    }\n    /**\n     * Add a new {@link IDisposable disposable} to the collection.\n     */\n    add(o) {\n      if (!o) {\n        return o;\n      }\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      setParentOfDisposable(o, this);\n      if (this._isDisposed) {\n        if (!_DisposableStore.DISABLE_DISPOSED_WARNING) {\n          console.warn(new Error(\"Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!\").stack);\n        }\n      } else {\n        this._toDispose.add(o);\n      }\n      return o;\n    }\n    /**\n     * Deletes the value from the store, but does not dispose it.\n     */\n    deleteAndLeak(o) {\n      if (!o) {\n        return;\n      }\n      if (this._toDispose.has(o)) {\n        this._toDispose.delete(o);\n        setParentOfDisposable(o, null);\n      }\n    }\n  };\n  DisposableStore.DISABLE_DISPOSED_WARNING = false;\n  var Disposable = class {\n    constructor() {\n      this._store = new DisposableStore();\n      trackDisposable(this);\n      setParentOfDisposable(this._store, this);\n    }\n    dispose() {\n      markAsDisposed(this);\n      this._store.dispose();\n    }\n    /**\n     * Adds `o` to the collection of disposables managed by this object.\n     */\n    _register(o) {\n      if (o === this) {\n        throw new Error(\"Cannot register a disposable on itself!\");\n      }\n      return this._store.add(o);\n    }\n  };\n  Disposable.None = Object.freeze({ dispose() {\n  } });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/linkedList.js\n  var Node = class _Node {\n    constructor(element) {\n      this.element = element;\n      this.next = _Node.Undefined;\n      this.prev = _Node.Undefined;\n    }\n  };\n  Node.Undefined = new Node(void 0);\n  var LinkedList = class {\n    constructor() {\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    get size() {\n      return this._size;\n    }\n    isEmpty() {\n      return this._first === Node.Undefined;\n    }\n    clear() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        const next = node.next;\n        node.prev = Node.Undefined;\n        node.next = Node.Undefined;\n        node = next;\n      }\n      this._first = Node.Undefined;\n      this._last = Node.Undefined;\n      this._size = 0;\n    }\n    unshift(element) {\n      return this._insert(element, false);\n    }\n    push(element) {\n      return this._insert(element, true);\n    }\n    _insert(element, atTheEnd) {\n      const newNode = new Node(element);\n      if (this._first === Node.Undefined) {\n        this._first = newNode;\n        this._last = newNode;\n      } else if (atTheEnd) {\n        const oldLast = this._last;\n        this._last = newNode;\n        newNode.prev = oldLast;\n        oldLast.next = newNode;\n      } else {\n        const oldFirst = this._first;\n        this._first = newNode;\n        newNode.next = oldFirst;\n        oldFirst.prev = newNode;\n      }\n      this._size += 1;\n      let didRemove = false;\n      return () => {\n        if (!didRemove) {\n          didRemove = true;\n          this._remove(newNode);\n        }\n      };\n    }\n    shift() {\n      if (this._first === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._first.element;\n        this._remove(this._first);\n        return res;\n      }\n    }\n    pop() {\n      if (this._last === Node.Undefined) {\n        return void 0;\n      } else {\n        const res = this._last.element;\n        this._remove(this._last);\n        return res;\n      }\n    }\n    _remove(node) {\n      if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {\n        const anchor = node.prev;\n        anchor.next = node.next;\n        node.next.prev = anchor;\n      } else if (node.prev === Node.Undefined && node.next === Node.Undefined) {\n        this._first = Node.Undefined;\n        this._last = Node.Undefined;\n      } else if (node.next === Node.Undefined) {\n        this._last = this._last.prev;\n        this._last.next = Node.Undefined;\n      } else if (node.prev === Node.Undefined) {\n        this._first = this._first.next;\n        this._first.prev = Node.Undefined;\n      }\n      this._size -= 1;\n    }\n    *[Symbol.iterator]() {\n      let node = this._first;\n      while (node !== Node.Undefined) {\n        yield node.element;\n        node = node.next;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\n  var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === \"function\";\n  var StopWatch = class _StopWatch {\n    static create(highResolution) {\n      return new _StopWatch(highResolution);\n    }\n    constructor(highResolution) {\n      this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance);\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    stop() {\n      this._stopTime = this._now();\n    }\n    reset() {\n      this._startTime = this._now();\n      this._stopTime = -1;\n    }\n    elapsed() {\n      if (this._stopTime !== -1) {\n        return this._stopTime - this._startTime;\n      }\n      return this._now() - this._startTime;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/event.js\n  var _enableListenerGCedWarning = false;\n  var _enableDisposeWithListenerWarning = false;\n  var _enableSnapshotPotentialLeakWarning = false;\n  var Event;\n  (function(Event2) {\n    Event2.None = () => Disposable.None;\n    function _addLeakageTraceLogic(options) {\n      if (_enableSnapshotPotentialLeakWarning) {\n        const { onDidAddListener: origListenerDidAdd } = options;\n        const stack = Stacktrace.create();\n        let count = 0;\n        options.onDidAddListener = () => {\n          if (++count === 2) {\n            console.warn(\"snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here\");\n            stack.print();\n          }\n          origListenerDidAdd === null || origListenerDidAdd === void 0 ? void 0 : origListenerDidAdd();\n        };\n      }\n    }\n    function defer(event, disposable) {\n      return debounce(event, () => void 0, 0, void 0, true, void 0, disposable);\n    }\n    Event2.defer = defer;\n    function once(event) {\n      return (listener, thisArgs = null, disposables) => {\n        let didFire = false;\n        let result = void 0;\n        result = event((e) => {\n          if (didFire) {\n            return;\n          } else if (result) {\n            result.dispose();\n          } else {\n            didFire = true;\n          }\n          return listener.call(thisArgs, e);\n        }, null, disposables);\n        if (didFire) {\n          result.dispose();\n        }\n        return result;\n      };\n    }\n    Event2.once = once;\n    function map(event, map2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => listener.call(thisArgs, map2(i)), null, disposables), disposable);\n    }\n    Event2.map = map;\n    function forEach(event, each, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((i) => {\n        each(i);\n        listener.call(thisArgs, i);\n      }, null, disposables), disposable);\n    }\n    Event2.forEach = forEach;\n    function filter(event, filter2, disposable) {\n      return snapshot((listener, thisArgs = null, disposables) => event((e) => filter2(e) && listener.call(thisArgs, e), null, disposables), disposable);\n    }\n    Event2.filter = filter;\n    function signal(event) {\n      return event;\n    }\n    Event2.signal = signal;\n    function any(...events) {\n      return (listener, thisArgs = null, disposables) => {\n        const disposable = combinedDisposable(...events.map((event) => event((e) => listener.call(thisArgs, e))));\n        return addAndReturnDisposable(disposable, disposables);\n      };\n    }\n    Event2.any = any;\n    function reduce(event, merge, initial, disposable) {\n      let output = initial;\n      return map(event, (e) => {\n        output = merge(output, e);\n        return output;\n      }, disposable);\n    }\n    Event2.reduce = reduce;\n    function snapshot(event, disposable) {\n      let listener;\n      const options = {\n        onWillAddFirstListener() {\n          listener = event(emitter.fire, emitter);\n        },\n        onDidRemoveLastListener() {\n          listener === null || listener === void 0 ? void 0 : listener.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    function addAndReturnDisposable(d, store) {\n      if (store instanceof Array) {\n        store.push(d);\n      } else if (store) {\n        store.add(d);\n      }\n      return d;\n    }\n    function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) {\n      let subscription;\n      let output = void 0;\n      let handle = void 0;\n      let numDebouncedCalls = 0;\n      let doFire;\n      const options = {\n        leakWarningThreshold,\n        onWillAddFirstListener() {\n          subscription = event((cur) => {\n            numDebouncedCalls++;\n            output = merge(output, cur);\n            if (leading && !handle) {\n              emitter.fire(output);\n              output = void 0;\n            }\n            doFire = () => {\n              const _output = output;\n              output = void 0;\n              handle = void 0;\n              if (!leading || numDebouncedCalls > 1) {\n                emitter.fire(_output);\n              }\n              numDebouncedCalls = 0;\n            };\n            if (typeof delay === \"number\") {\n              clearTimeout(handle);\n              handle = setTimeout(doFire, delay);\n            } else {\n              if (handle === void 0) {\n                handle = 0;\n                queueMicrotask(doFire);\n              }\n            }\n          });\n        },\n        onWillRemoveListener() {\n          if (flushOnListenerRemove && numDebouncedCalls > 0) {\n            doFire === null || doFire === void 0 ? void 0 : doFire();\n          }\n        },\n        onDidRemoveLastListener() {\n          doFire = void 0;\n          subscription.dispose();\n        }\n      };\n      if (!disposable) {\n        _addLeakageTraceLogic(options);\n      }\n      const emitter = new Emitter(options);\n      disposable === null || disposable === void 0 ? void 0 : disposable.add(emitter);\n      return emitter.event;\n    }\n    Event2.debounce = debounce;\n    function accumulate(event, delay = 0, disposable) {\n      return Event2.debounce(event, (last, e) => {\n        if (!last) {\n          return [e];\n        }\n        last.push(e);\n        return last;\n      }, delay, void 0, true, void 0, disposable);\n    }\n    Event2.accumulate = accumulate;\n    function latch(event, equals3 = (a, b) => a === b, disposable) {\n      let firstCall = true;\n      let cache;\n      return filter(event, (value) => {\n        const shouldEmit = firstCall || !equals3(value, cache);\n        firstCall = false;\n        cache = value;\n        return shouldEmit;\n      }, disposable);\n    }\n    Event2.latch = latch;\n    function split(event, isT, disposable) {\n      return [\n        Event2.filter(event, isT, disposable),\n        Event2.filter(event, (e) => !isT(e), disposable)\n      ];\n    }\n    Event2.split = split;\n    function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) {\n      let buffer2 = _buffer.slice();\n      let listener = event((e) => {\n        if (buffer2) {\n          buffer2.push(e);\n        } else {\n          emitter.fire(e);\n        }\n      });\n      if (disposable) {\n        disposable.add(listener);\n      }\n      const flush = () => {\n        buffer2 === null || buffer2 === void 0 ? void 0 : buffer2.forEach((e) => emitter.fire(e));\n        buffer2 = null;\n      };\n      const emitter = new Emitter({\n        onWillAddFirstListener() {\n          if (!listener) {\n            listener = event((e) => emitter.fire(e));\n            if (disposable) {\n              disposable.add(listener);\n            }\n          }\n        },\n        onDidAddFirstListener() {\n          if (buffer2) {\n            if (flushAfterTimeout) {\n              setTimeout(flush);\n            } else {\n              flush();\n            }\n          }\n        },\n        onDidRemoveLastListener() {\n          if (listener) {\n            listener.dispose();\n          }\n          listener = null;\n        }\n      });\n      if (disposable) {\n        disposable.add(emitter);\n      }\n      return emitter.event;\n    }\n    Event2.buffer = buffer;\n    function chain(event, sythensize) {\n      const fn = (listener, thisArgs, disposables) => {\n        const cs = sythensize(new ChainableSynthesis());\n        return event(function(value) {\n          const result = cs.evaluate(value);\n          if (result !== HaltChainable) {\n            listener.call(thisArgs, result);\n          }\n        }, void 0, disposables);\n      };\n      return fn;\n    }\n    Event2.chain = chain;\n    const HaltChainable = Symbol(\"HaltChainable\");\n    class ChainableSynthesis {\n      constructor() {\n        this.steps = [];\n      }\n      map(fn) {\n        this.steps.push(fn);\n        return this;\n      }\n      forEach(fn) {\n        this.steps.push((v) => {\n          fn(v);\n          return v;\n        });\n        return this;\n      }\n      filter(fn) {\n        this.steps.push((v) => fn(v) ? v : HaltChainable);\n        return this;\n      }\n      reduce(merge, initial) {\n        let last = initial;\n        this.steps.push((v) => {\n          last = merge(last, v);\n          return last;\n        });\n        return this;\n      }\n      latch(equals3 = (a, b) => a === b) {\n        let firstCall = true;\n        let cache;\n        this.steps.push((value) => {\n          const shouldEmit = firstCall || !equals3(value, cache);\n          firstCall = false;\n          cache = value;\n          return shouldEmit ? value : HaltChainable;\n        });\n        return this;\n      }\n      evaluate(value) {\n        for (const step of this.steps) {\n          value = step(value);\n          if (value === HaltChainable) {\n            break;\n          }\n        }\n        return value;\n      }\n    }\n    function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.on(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromNodeEventEmitter = fromNodeEventEmitter;\n    function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) {\n      const fn = (...args) => result.fire(map2(...args));\n      const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn);\n      const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn);\n      const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove });\n      return result.event;\n    }\n    Event2.fromDOMEventEmitter = fromDOMEventEmitter;\n    function toPromise(event) {\n      return new Promise((resolve2) => once(event)(resolve2));\n    }\n    Event2.toPromise = toPromise;\n    function fromPromise(promise) {\n      const result = new Emitter();\n      promise.then((res) => {\n        result.fire(res);\n      }, () => {\n        result.fire(void 0);\n      }).finally(() => {\n        result.dispose();\n      });\n      return result.event;\n    }\n    Event2.fromPromise = fromPromise;\n    function runAndSubscribe(event, handler, initial) {\n      handler(initial);\n      return event((e) => handler(e));\n    }\n    Event2.runAndSubscribe = runAndSubscribe;\n    class EmitterObserver {\n      constructor(_observable, store) {\n        this._observable = _observable;\n        this._counter = 0;\n        this._hasChanged = false;\n        const options = {\n          onWillAddFirstListener: () => {\n            _observable.addObserver(this);\n          },\n          onDidRemoveLastListener: () => {\n            _observable.removeObserver(this);\n          }\n        };\n        if (!store) {\n          _addLeakageTraceLogic(options);\n        }\n        this.emitter = new Emitter(options);\n        if (store) {\n          store.add(this.emitter);\n        }\n      }\n      beginUpdate(_observable) {\n        this._counter++;\n      }\n      handlePossibleChange(_observable) {\n      }\n      handleChange(_observable, _change) {\n        this._hasChanged = true;\n      }\n      endUpdate(_observable) {\n        this._counter--;\n        if (this._counter === 0) {\n          this._observable.reportChanges();\n          if (this._hasChanged) {\n            this._hasChanged = false;\n            this.emitter.fire(this._observable.get());\n          }\n        }\n      }\n    }\n    function fromObservable(obs, store) {\n      const observer = new EmitterObserver(obs, store);\n      return observer.emitter.event;\n    }\n    Event2.fromObservable = fromObservable;\n    function fromObservableLight(observable) {\n      return (listener, thisArgs, disposables) => {\n        let count = 0;\n        let didChange = false;\n        const observer = {\n          beginUpdate() {\n            count++;\n          },\n          endUpdate() {\n            count--;\n            if (count === 0) {\n              observable.reportChanges();\n              if (didChange) {\n                didChange = false;\n                listener.call(thisArgs);\n              }\n            }\n          },\n          handlePossibleChange() {\n          },\n          handleChange() {\n            didChange = true;\n          }\n        };\n        observable.addObserver(observer);\n        observable.reportChanges();\n        const disposable = {\n          dispose() {\n            observable.removeObserver(observer);\n          }\n        };\n        if (disposables instanceof DisposableStore) {\n          disposables.add(disposable);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(disposable);\n        }\n        return disposable;\n      };\n    }\n    Event2.fromObservableLight = fromObservableLight;\n  })(Event || (Event = {}));\n  var EventProfiling = class _EventProfiling {\n    constructor(name) {\n      this.listenerCount = 0;\n      this.invocationCount = 0;\n      this.elapsedOverall = 0;\n      this.durations = [];\n      this.name = `${name}_${_EventProfiling._idPool++}`;\n      _EventProfiling.all.add(this);\n    }\n    start(listenerCount) {\n      this._stopWatch = new StopWatch();\n      this.listenerCount = listenerCount;\n    }\n    stop() {\n      if (this._stopWatch) {\n        const elapsed = this._stopWatch.elapsed();\n        this.durations.push(elapsed);\n        this.elapsedOverall += elapsed;\n        this.invocationCount += 1;\n        this._stopWatch = void 0;\n      }\n    }\n  };\n  EventProfiling.all = /* @__PURE__ */ new Set();\n  EventProfiling._idPool = 0;\n  var _globalLeakWarningThreshold = -1;\n  var LeakageMonitor = class {\n    constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {\n      this.threshold = threshold;\n      this.name = name;\n      this._warnCountdown = 0;\n    }\n    dispose() {\n      var _a4;\n      (_a4 = this._stacks) === null || _a4 === void 0 ? void 0 : _a4.clear();\n    }\n    check(stack, listenerCount) {\n      const threshold = this.threshold;\n      if (threshold <= 0 || listenerCount < threshold) {\n        return void 0;\n      }\n      if (!this._stacks) {\n        this._stacks = /* @__PURE__ */ new Map();\n      }\n      const count = this._stacks.get(stack.value) || 0;\n      this._stacks.set(stack.value, count + 1);\n      this._warnCountdown -= 1;\n      if (this._warnCountdown <= 0) {\n        this._warnCountdown = threshold * 0.5;\n        let topStack;\n        let topCount = 0;\n        for (const [stack2, count2] of this._stacks) {\n          if (!topStack || topCount < count2) {\n            topStack = stack2;\n            topCount = count2;\n          }\n        }\n        console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);\n        console.warn(topStack);\n      }\n      return () => {\n        const count2 = this._stacks.get(stack.value) || 0;\n        this._stacks.set(stack.value, count2 - 1);\n      };\n    }\n  };\n  var Stacktrace = class _Stacktrace {\n    static create() {\n      var _a4;\n      return new _Stacktrace((_a4 = new Error().stack) !== null && _a4 !== void 0 ? _a4 : \"\");\n    }\n    constructor(value) {\n      this.value = value;\n    }\n    print() {\n      console.warn(this.value.split(\"\\n\").slice(2).join(\"\\n\"));\n    }\n  };\n  var UniqueContainer = class {\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  var compactionThreshold = 2;\n  var forEachListener = (listeners, fn) => {\n    if (listeners instanceof UniqueContainer) {\n      fn(listeners);\n    } else {\n      for (let i = 0; i < listeners.length; i++) {\n        const l = listeners[i];\n        if (l) {\n          fn(l);\n        }\n      }\n    }\n  };\n  var _listenerFinalizers = _enableListenerGCedWarning ? new FinalizationRegistry((heldValue) => {\n    if (typeof heldValue === \"string\") {\n      console.warn(\"[LEAKING LISTENER] GC'ed a listener that was NOT yet disposed. This is where is was created:\");\n      console.warn(heldValue);\n    }\n  }) : void 0;\n  var Emitter = class {\n    constructor(options) {\n      var _a4, _b3, _c, _d, _e;\n      this._size = 0;\n      this._options = options;\n      this._leakageMon = _globalLeakWarningThreshold > 0 || ((_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.leakWarningThreshold) ? new LeakageMonitor((_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.leakWarningThreshold) !== null && _c !== void 0 ? _c : _globalLeakWarningThreshold) : void 0;\n      this._perfMon = ((_d = this._options) === null || _d === void 0 ? void 0 : _d._profName) ? new EventProfiling(this._options._profName) : void 0;\n      this._deliveryQueue = (_e = this._options) === null || _e === void 0 ? void 0 : _e.deliveryQueue;\n    }\n    dispose() {\n      var _a4, _b3, _c, _d;\n      if (!this._disposed) {\n        this._disposed = true;\n        if (((_a4 = this._deliveryQueue) === null || _a4 === void 0 ? void 0 : _a4.current) === this) {\n          this._deliveryQueue.reset();\n        }\n        if (this._listeners) {\n          if (_enableDisposeWithListenerWarning) {\n            const listeners = this._listeners;\n            queueMicrotask(() => {\n              forEachListener(listeners, (l) => {\n                var _a5;\n                return (_a5 = l.stack) === null || _a5 === void 0 ? void 0 : _a5.print();\n              });\n            });\n          }\n          this._listeners = void 0;\n          this._size = 0;\n        }\n        (_c = (_b3 = this._options) === null || _b3 === void 0 ? void 0 : _b3.onDidRemoveLastListener) === null || _c === void 0 ? void 0 : _c.call(_b3);\n        (_d = this._leakageMon) === null || _d === void 0 ? void 0 : _d.dispose();\n      }\n    }\n    /**\n     * For the public to allow to subscribe\n     * to events from this Emitter\n     */\n    get event() {\n      var _a4;\n      (_a4 = this._event) !== null && _a4 !== void 0 ? _a4 : this._event = (callback, thisArgs, disposables) => {\n        var _a5, _b3, _c, _d, _e;\n        if (this._leakageMon && this._size > this._leakageMon.threshold * 3) {\n          console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);\n          return Disposable.None;\n        }\n        if (this._disposed) {\n          return Disposable.None;\n        }\n        if (thisArgs) {\n          callback = callback.bind(thisArgs);\n        }\n        const contained = new UniqueContainer(callback);\n        let removeMonitor;\n        let stack;\n        if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) {\n          contained.stack = Stacktrace.create();\n          removeMonitor = this._leakageMon.check(contained.stack, this._size + 1);\n        }\n        if (_enableDisposeWithListenerWarning) {\n          contained.stack = stack !== null && stack !== void 0 ? stack : Stacktrace.create();\n        }\n        if (!this._listeners) {\n          (_b3 = (_a5 = this._options) === null || _a5 === void 0 ? void 0 : _a5.onWillAddFirstListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a5, this);\n          this._listeners = contained;\n          (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidAddFirstListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        } else if (this._listeners instanceof UniqueContainer) {\n          (_e = this._deliveryQueue) !== null && _e !== void 0 ? _e : this._deliveryQueue = new EventDeliveryQueuePrivate();\n          this._listeners = [this._listeners, contained];\n        } else {\n          this._listeners.push(contained);\n        }\n        this._size++;\n        const result = toDisposable(() => {\n          _listenerFinalizers === null || _listenerFinalizers === void 0 ? void 0 : _listenerFinalizers.unregister(result);\n          removeMonitor === null || removeMonitor === void 0 ? void 0 : removeMonitor();\n          this._removeListener(contained);\n        });\n        if (disposables instanceof DisposableStore) {\n          disposables.add(result);\n        } else if (Array.isArray(disposables)) {\n          disposables.push(result);\n        }\n        if (_listenerFinalizers) {\n          const stack2 = new Error().stack.split(\"\\n\").slice(2).join(\"\\n\").trim();\n          _listenerFinalizers.register(result, stack2, result);\n        }\n        return result;\n      };\n      return this._event;\n    }\n    _removeListener(listener) {\n      var _a4, _b3, _c, _d;\n      (_b3 = (_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.onWillRemoveListener) === null || _b3 === void 0 ? void 0 : _b3.call(_a4, this);\n      if (!this._listeners) {\n        return;\n      }\n      if (this._size === 1) {\n        this._listeners = void 0;\n        (_d = (_c = this._options) === null || _c === void 0 ? void 0 : _c.onDidRemoveLastListener) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n        this._size = 0;\n        return;\n      }\n      const listeners = this._listeners;\n      const index = listeners.indexOf(listener);\n      if (index === -1) {\n        console.log(\"disposed?\", this._disposed);\n        console.log(\"size?\", this._size);\n        console.log(\"arr?\", JSON.stringify(this._listeners));\n        throw new Error(\"Attempted to dispose unknown listener\");\n      }\n      this._size--;\n      listeners[index] = void 0;\n      const adjustDeliveryQueue = this._deliveryQueue.current === this;\n      if (this._size * compactionThreshold <= listeners.length) {\n        let n = 0;\n        for (let i = 0; i < listeners.length; i++) {\n          if (listeners[i]) {\n            listeners[n++] = listeners[i];\n          } else if (adjustDeliveryQueue) {\n            this._deliveryQueue.end--;\n            if (n < this._deliveryQueue.i) {\n              this._deliveryQueue.i--;\n            }\n          }\n        }\n        listeners.length = n;\n      }\n    }\n    _deliver(listener, value) {\n      var _a4;\n      if (!listener) {\n        return;\n      }\n      const errorHandler2 = ((_a4 = this._options) === null || _a4 === void 0 ? void 0 : _a4.onListenerError) || onUnexpectedError;\n      if (!errorHandler2) {\n        listener.value(value);\n        return;\n      }\n      try {\n        listener.value(value);\n      } catch (e) {\n        errorHandler2(e);\n      }\n    }\n    /** Delivers items in the queue. Assumes the queue is ready to go. */\n    _deliverQueue(dq) {\n      const listeners = dq.current._listeners;\n      while (dq.i < dq.end) {\n        this._deliver(listeners[dq.i++], dq.value);\n      }\n      dq.reset();\n    }\n    /**\n     * To be kept private to fire an event to\n     * subscribers\n     */\n    fire(event) {\n      var _a4, _b3, _c, _d;\n      if ((_a4 = this._deliveryQueue) === null || _a4 === void 0 ? void 0 : _a4.current) {\n        this._deliverQueue(this._deliveryQueue);\n        (_b3 = this._perfMon) === null || _b3 === void 0 ? void 0 : _b3.stop();\n      }\n      (_c = this._perfMon) === null || _c === void 0 ? void 0 : _c.start(this._size);\n      if (!this._listeners) {\n      } else if (this._listeners instanceof UniqueContainer) {\n        this._deliver(this._listeners, event);\n      } else {\n        const dq = this._deliveryQueue;\n        dq.enqueue(this, event, this._listeners.length);\n        this._deliverQueue(dq);\n      }\n      (_d = this._perfMon) === null || _d === void 0 ? void 0 : _d.stop();\n    }\n    hasListeners() {\n      return this._size > 0;\n    }\n  };\n  var EventDeliveryQueuePrivate = class {\n    constructor() {\n      this.i = -1;\n      this.end = 0;\n    }\n    enqueue(emitter, value, end) {\n      this.i = 0;\n      this.end = end;\n      this.current = emitter;\n      this.value = value;\n    }\n    reset() {\n      this.i = this.end;\n      this.current = void 0;\n      this.value = void 0;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/types.js\n  function isString(str) {\n    return typeof str === \"string\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/objects.js\n  function getAllPropertyNames(obj) {\n    let res = [];\n    while (Object.prototype !== obj) {\n      res = res.concat(Object.getOwnPropertyNames(obj));\n      obj = Object.getPrototypeOf(obj);\n    }\n    return res;\n  }\n  function getAllMethodNames(obj) {\n    const methods = [];\n    for (const prop of getAllPropertyNames(obj)) {\n      if (typeof obj[prop] === \"function\") {\n        methods.push(prop);\n      }\n    }\n    return methods;\n  }\n  function createProxyObject(methodNames, invoke) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/nls.js\n  var isPseudo = typeof document !== \"undefined\" && document.location && document.location.hash.indexOf(\"pseudo=true\") >= 0;\n  function _format(message, args) {\n    let result;\n    if (args.length === 0) {\n      result = message;\n    } else {\n      result = message.replace(/\\{(\\d+)\\}/g, (match, rest) => {\n        const index = rest[0];\n        const arg = args[index];\n        let result2 = match;\n        if (typeof arg === \"string\") {\n          result2 = arg;\n        } else if (typeof arg === \"number\" || typeof arg === \"boolean\" || arg === void 0 || arg === null) {\n          result2 = String(arg);\n        }\n        return result2;\n      });\n    }\n    if (isPseudo) {\n      result = \"\\uFF3B\" + result.replace(/[aouei]/g, \"$&$&\") + \"\\uFF3D\";\n    }\n    return result;\n  }\n  function localize(data, message, ...args) {\n    return _format(message, args);\n  }\n  function getConfiguredDefaultLocale(_) {\n    return void 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/platform.js\n  var _a;\n  var _b;\n  var LANGUAGE_DEFAULT = \"en\";\n  var _isWindows = false;\n  var _isMacintosh = false;\n  var _isLinux = false;\n  var _isLinuxSnap = false;\n  var _isNative = false;\n  var _isWeb = false;\n  var _isElectron = false;\n  var _isIOS = false;\n  var _isCI = false;\n  var _isMobile = false;\n  var _locale = void 0;\n  var _language = LANGUAGE_DEFAULT;\n  var _platformLocale = LANGUAGE_DEFAULT;\n  var _translationsConfigFile = void 0;\n  var _userAgent = void 0;\n  var $globalThis = globalThis;\n  var nodeProcess = void 0;\n  if (typeof $globalThis.vscode !== \"undefined\" && typeof $globalThis.vscode.process !== \"undefined\") {\n    nodeProcess = $globalThis.vscode.process;\n  } else if (typeof process !== \"undefined\" && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === \"string\") {\n    nodeProcess = process;\n  }\n  var isElectronProcess = typeof ((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) === \"string\";\n  var isElectronRenderer = isElectronProcess && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.type) === \"renderer\";\n  if (typeof nodeProcess === \"object\") {\n    _isWindows = nodeProcess.platform === \"win32\";\n    _isMacintosh = nodeProcess.platform === \"darwin\";\n    _isLinux = nodeProcess.platform === \"linux\";\n    _isLinuxSnap = _isLinux && !!nodeProcess.env[\"SNAP\"] && !!nodeProcess.env[\"SNAP_REVISION\"];\n    _isElectron = isElectronProcess;\n    _isCI = !!nodeProcess.env[\"CI\"] || !!nodeProcess.env[\"BUILD_ARTIFACTSTAGINGDIRECTORY\"];\n    _locale = LANGUAGE_DEFAULT;\n    _language = LANGUAGE_DEFAULT;\n    const rawNlsConfig = nodeProcess.env[\"VSCODE_NLS_CONFIG\"];\n    if (rawNlsConfig) {\n      try {\n        const nlsConfig = JSON.parse(rawNlsConfig);\n        const resolved = nlsConfig.availableLanguages[\"*\"];\n        _locale = nlsConfig.locale;\n        _platformLocale = nlsConfig.osLocale;\n        _language = resolved ? resolved : LANGUAGE_DEFAULT;\n        _translationsConfigFile = nlsConfig._translationsConfigFile;\n      } catch (e) {\n      }\n    }\n    _isNative = true;\n  } else if (typeof navigator === \"object\" && !isElectronRenderer) {\n    _userAgent = navigator.userAgent;\n    _isWindows = _userAgent.indexOf(\"Windows\") >= 0;\n    _isMacintosh = _userAgent.indexOf(\"Macintosh\") >= 0;\n    _isIOS = (_userAgent.indexOf(\"Macintosh\") >= 0 || _userAgent.indexOf(\"iPad\") >= 0 || _userAgent.indexOf(\"iPhone\") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\n    _isLinux = _userAgent.indexOf(\"Linux\") >= 0;\n    _isMobile = (_userAgent === null || _userAgent === void 0 ? void 0 : _userAgent.indexOf(\"Mobi\")) >= 0;\n    _isWeb = true;\n    const configuredLocale = getConfiguredDefaultLocale(\n      // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`\n      // to ensure that the NLS AMD Loader plugin has been loaded and configured.\n      // This is because the loader plugin decides what the default locale is based on\n      // how it's able to resolve the strings.\n      localize({ key: \"ensureLoaderPluginIsLoaded\", comment: [\"{Locked}\"] }, \"_\")\n    );\n    _locale = configuredLocale || LANGUAGE_DEFAULT;\n    _language = _locale;\n    _platformLocale = navigator.language;\n  } else {\n    console.error(\"Unable to resolve platform.\");\n  }\n  var _platform = 0;\n  if (_isMacintosh) {\n    _platform = 1;\n  } else if (_isWindows) {\n    _platform = 3;\n  } else if (_isLinux) {\n    _platform = 2;\n  }\n  var isWindows = _isWindows;\n  var isMacintosh = _isMacintosh;\n  var isWebWorker = _isWeb && typeof $globalThis.importScripts === \"function\";\n  var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0;\n  var userAgent = _userAgent;\n  var setTimeout0IsFaster = typeof $globalThis.postMessage === \"function\" && !$globalThis.importScripts;\n  var setTimeout0 = (() => {\n    if (setTimeout0IsFaster) {\n      const pending = [];\n      $globalThis.addEventListener(\"message\", (e) => {\n        if (e.data && e.data.vscodeScheduleAsyncWork) {\n          for (let i = 0, len = pending.length; i < len; i++) {\n            const candidate = pending[i];\n            if (candidate.id === e.data.vscodeScheduleAsyncWork) {\n              pending.splice(i, 1);\n              candidate.callback();\n              return;\n            }\n          }\n        }\n      });\n      let lastId = 0;\n      return (callback) => {\n        const myId = ++lastId;\n        pending.push({\n          id: myId,\n          callback\n        });\n        $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, \"*\");\n      };\n    }\n    return (callback) => setTimeout(callback);\n  })();\n  var isChrome = !!(userAgent && userAgent.indexOf(\"Chrome\") >= 0);\n  var isFirefox = !!(userAgent && userAgent.indexOf(\"Firefox\") >= 0);\n  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf(\"Safari\") >= 0));\n  var isEdge = !!(userAgent && userAgent.indexOf(\"Edg/\") >= 0);\n  var isAndroid = !!(userAgent && userAgent.indexOf(\"Android\") >= 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cache.js\n  function identity(t) {\n    return t;\n  }\n  var LRUCachedFunction = class {\n    constructor(arg1, arg2) {\n      this.lastCache = void 0;\n      this.lastArgKey = void 0;\n      if (typeof arg1 === \"function\") {\n        this._fn = arg1;\n        this._computeKey = identity;\n      } else {\n        this._fn = arg2;\n        this._computeKey = arg1.getCacheKey;\n      }\n    }\n    get(arg) {\n      const key = this._computeKey(arg);\n      if (this.lastArgKey !== key) {\n        this.lastArgKey = key;\n        this.lastCache = this._fn(arg);\n      }\n      return this.lastCache;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/lazy.js\n  var Lazy = class {\n    constructor(executor) {\n      this.executor = executor;\n      this._didRun = false;\n    }\n    /**\n     * Get the wrapped value.\n     *\n     * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only\n     * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value\n     */\n    get value() {\n      if (!this._didRun) {\n        try {\n          this._value = this.executor();\n        } catch (err) {\n          this._error = err;\n        } finally {\n          this._didRun = true;\n        }\n      }\n      if (this._error) {\n        throw this._error;\n      }\n      return this._value;\n    }\n    /**\n     * Get the wrapped value without forcing evaluation.\n     */\n    get rawValue() {\n      return this._value;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/strings.js\n  var _a2;\n  function escapeRegExpCharacters(value) {\n    return value.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g, \"\\\\$&\");\n  }\n  function splitLines(str) {\n    return str.split(/\\r\\n|\\r|\\n/);\n  }\n  function firstNonWhitespaceIndex(str) {\n    for (let i = 0, len = str.length; i < len; i++) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {\n    for (let i = startIndex; i >= 0; i--) {\n      const chCode = str.charCodeAt(i);\n      if (chCode !== 32 && chCode !== 9) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isUpperAsciiLetter(code) {\n    return code >= 65 && code <= 90;\n  }\n  function isHighSurrogate(charCode) {\n    return 55296 <= charCode && charCode <= 56319;\n  }\n  function isLowSurrogate(charCode) {\n    return 56320 <= charCode && charCode <= 57343;\n  }\n  function computeCodePoint(highSurrogate, lowSurrogate) {\n    return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536;\n  }\n  function getNextCodePoint(str, len, offset) {\n    const charCode = str.charCodeAt(offset);\n    if (isHighSurrogate(charCode) && offset + 1 < len) {\n      const nextCharCode = str.charCodeAt(offset + 1);\n      if (isLowSurrogate(nextCharCode)) {\n        return computeCodePoint(charCode, nextCharCode);\n      }\n    }\n    return charCode;\n  }\n  var IS_BASIC_ASCII = /^[\\t\\n\\r\\x20-\\x7E]*$/;\n  function isBasicASCII(str) {\n    return IS_BASIC_ASCII.test(str);\n  }\n  var UTF8_BOM_CHARACTER = String.fromCharCode(\n    65279\n    /* CharCode.UTF8_BOM */\n  );\n  var GraphemeBreakTree = class _GraphemeBreakTree {\n    static getInstance() {\n      if (!_GraphemeBreakTree._INSTANCE) {\n        _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree();\n      }\n      return _GraphemeBreakTree._INSTANCE;\n    }\n    constructor() {\n      this._data = getGraphemeBreakRawData();\n    }\n    getGraphemeBreakType(codePoint) {\n      if (codePoint < 32) {\n        if (codePoint === 10) {\n          return 3;\n        }\n        if (codePoint === 13) {\n          return 2;\n        }\n        return 4;\n      }\n      if (codePoint < 127) {\n        return 0;\n      }\n      const data = this._data;\n      const nodeCount = data.length / 3;\n      let nodeIndex = 1;\n      while (nodeIndex <= nodeCount) {\n        if (codePoint < data[3 * nodeIndex]) {\n          nodeIndex = 2 * nodeIndex;\n        } else if (codePoint > data[3 * nodeIndex + 1]) {\n          nodeIndex = 2 * nodeIndex + 1;\n        } else {\n          return data[3 * nodeIndex + 2];\n        }\n      }\n      return 0;\n    }\n  };\n  GraphemeBreakTree._INSTANCE = null;\n  function getGraphemeBreakRawData() {\n    return JSON.parse(\"[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]\");\n  }\n  var AmbiguousCharacters = class {\n    static getInstance(locales) {\n      return _a2.cache.get(Array.from(locales));\n    }\n    static getLocales() {\n      return _a2._locales.value;\n    }\n    constructor(confusableDictionary) {\n      this.confusableDictionary = confusableDictionary;\n    }\n    isAmbiguous(codePoint) {\n      return this.confusableDictionary.has(codePoint);\n    }\n    /**\n     * Returns the non basic ASCII code point that the given code point can be confused,\n     * or undefined if such code point does note exist.\n     */\n    getPrimaryConfusable(codePoint) {\n      return this.confusableDictionary.get(codePoint);\n    }\n    getConfusableCodePoints() {\n      return new Set(this.confusableDictionary.keys());\n    }\n  };\n  _a2 = AmbiguousCharacters;\n  AmbiguousCharacters.ambiguousCharacterData = new Lazy(() => {\n    return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}');\n  });\n  AmbiguousCharacters.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => {\n    function arrayToMap(arr) {\n      const result = /* @__PURE__ */ new Map();\n      for (let i = 0; i < arr.length; i += 2) {\n        result.set(arr[i], arr[i + 1]);\n      }\n      return result;\n    }\n    function mergeMaps(map1, map2) {\n      const result = new Map(map1);\n      for (const [key, value] of map2) {\n        result.set(key, value);\n      }\n      return result;\n    }\n    function intersectMaps(map1, map2) {\n      if (!map1) {\n        return map2;\n      }\n      const result = /* @__PURE__ */ new Map();\n      for (const [key, value] of map1) {\n        if (map2.has(key)) {\n          result.set(key, value);\n        }\n      }\n      return result;\n    }\n    const data = _a2.ambiguousCharacterData.value;\n    let filteredLocales = locales.filter((l) => !l.startsWith(\"_\") && l in data);\n    if (filteredLocales.length === 0) {\n      filteredLocales = [\"_default\"];\n    }\n    let languageSpecificMap = void 0;\n    for (const locale of filteredLocales) {\n      const map2 = arrayToMap(data[locale]);\n      languageSpecificMap = intersectMaps(languageSpecificMap, map2);\n    }\n    const commonMap = arrayToMap(data[\"_common\"]);\n    const map = mergeMaps(commonMap, languageSpecificMap);\n    return new _a2(map);\n  });\n  AmbiguousCharacters._locales = new Lazy(() => Object.keys(_a2.ambiguousCharacterData.value).filter((k) => !k.startsWith(\"_\")));\n  var InvisibleCharacters = class _InvisibleCharacters {\n    static getRawData() {\n      return JSON.parse(\"[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]\");\n    }\n    static getData() {\n      if (!this._data) {\n        this._data = new Set(_InvisibleCharacters.getRawData());\n      }\n      return this._data;\n    }\n    static isInvisibleCharacter(codePoint) {\n      return _InvisibleCharacters.getData().has(codePoint);\n    }\n    static get codePoints() {\n      return _InvisibleCharacters.getData();\n    }\n  };\n  InvisibleCharacters._data = void 0;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js\n  var INITIALIZE = \"$initialize\";\n  var RequestMessage = class {\n    constructor(vsWorker, req, method, args) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.method = method;\n      this.args = args;\n      this.type = 0;\n    }\n  };\n  var ReplyMessage = class {\n    constructor(vsWorker, seq, res, err) {\n      this.vsWorker = vsWorker;\n      this.seq = seq;\n      this.res = res;\n      this.err = err;\n      this.type = 1;\n    }\n  };\n  var SubscribeEventMessage = class {\n    constructor(vsWorker, req, eventName, arg) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.eventName = eventName;\n      this.arg = arg;\n      this.type = 2;\n    }\n  };\n  var EventMessage = class {\n    constructor(vsWorker, req, event) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.event = event;\n      this.type = 3;\n    }\n  };\n  var UnsubscribeEventMessage = class {\n    constructor(vsWorker, req) {\n      this.vsWorker = vsWorker;\n      this.req = req;\n      this.type = 4;\n    }\n  };\n  var SimpleWorkerProtocol = class {\n    constructor(handler) {\n      this._workerId = -1;\n      this._handler = handler;\n      this._lastSentReq = 0;\n      this._pendingReplies = /* @__PURE__ */ Object.create(null);\n      this._pendingEmitters = /* @__PURE__ */ new Map();\n      this._pendingEvents = /* @__PURE__ */ new Map();\n    }\n    setWorkerId(workerId) {\n      this._workerId = workerId;\n    }\n    sendMessage(method, args) {\n      const req = String(++this._lastSentReq);\n      return new Promise((resolve2, reject) => {\n        this._pendingReplies[req] = {\n          resolve: resolve2,\n          reject\n        };\n        this._send(new RequestMessage(this._workerId, req, method, args));\n      });\n    }\n    listen(eventName, arg) {\n      let req = null;\n      const emitter = new Emitter({\n        onWillAddFirstListener: () => {\n          req = String(++this._lastSentReq);\n          this._pendingEmitters.set(req, emitter);\n          this._send(new SubscribeEventMessage(this._workerId, req, eventName, arg));\n        },\n        onDidRemoveLastListener: () => {\n          this._pendingEmitters.delete(req);\n          this._send(new UnsubscribeEventMessage(this._workerId, req));\n          req = null;\n        }\n      });\n      return emitter.event;\n    }\n    handleMessage(message) {\n      if (!message || !message.vsWorker) {\n        return;\n      }\n      if (this._workerId !== -1 && message.vsWorker !== this._workerId) {\n        return;\n      }\n      this._handleMessage(message);\n    }\n    _handleMessage(msg) {\n      switch (msg.type) {\n        case 1:\n          return this._handleReplyMessage(msg);\n        case 0:\n          return this._handleRequestMessage(msg);\n        case 2:\n          return this._handleSubscribeEventMessage(msg);\n        case 3:\n          return this._handleEventMessage(msg);\n        case 4:\n          return this._handleUnsubscribeEventMessage(msg);\n      }\n    }\n    _handleReplyMessage(replyMessage) {\n      if (!this._pendingReplies[replyMessage.seq]) {\n        console.warn(\"Got reply to unknown seq\");\n        return;\n      }\n      const reply = this._pendingReplies[replyMessage.seq];\n      delete this._pendingReplies[replyMessage.seq];\n      if (replyMessage.err) {\n        let err = replyMessage.err;\n        if (replyMessage.err.$isError) {\n          err = new Error();\n          err.name = replyMessage.err.name;\n          err.message = replyMessage.err.message;\n          err.stack = replyMessage.err.stack;\n        }\n        reply.reject(err);\n        return;\n      }\n      reply.resolve(replyMessage.res);\n    }\n    _handleRequestMessage(requestMessage) {\n      const req = requestMessage.req;\n      const result = this._handler.handleMessage(requestMessage.method, requestMessage.args);\n      result.then((r) => {\n        this._send(new ReplyMessage(this._workerId, req, r, void 0));\n      }, (e) => {\n        if (e.detail instanceof Error) {\n          e.detail = transformErrorForSerialization(e.detail);\n        }\n        this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e)));\n      });\n    }\n    _handleSubscribeEventMessage(msg) {\n      const req = msg.req;\n      const disposable = this._handler.handleEvent(msg.eventName, msg.arg)((event) => {\n        this._send(new EventMessage(this._workerId, req, event));\n      });\n      this._pendingEvents.set(req, disposable);\n    }\n    _handleEventMessage(msg) {\n      if (!this._pendingEmitters.has(msg.req)) {\n        console.warn(\"Got event for unknown req\");\n        return;\n      }\n      this._pendingEmitters.get(msg.req).fire(msg.event);\n    }\n    _handleUnsubscribeEventMessage(msg) {\n      if (!this._pendingEvents.has(msg.req)) {\n        console.warn(\"Got unsubscribe for unknown req\");\n        return;\n      }\n      this._pendingEvents.get(msg.req).dispose();\n      this._pendingEvents.delete(msg.req);\n    }\n    _send(msg) {\n      const transfer = [];\n      if (msg.type === 0) {\n        for (let i = 0; i < msg.args.length; i++) {\n          if (msg.args[i] instanceof ArrayBuffer) {\n            transfer.push(msg.args[i]);\n          }\n        }\n      } else if (msg.type === 1) {\n        if (msg.res instanceof ArrayBuffer) {\n          transfer.push(msg.res);\n        }\n      }\n      this._handler.sendMessage(msg, transfer);\n    }\n  };\n  function propertyIsEvent(name) {\n    return name[0] === \"o\" && name[1] === \"n\" && isUpperAsciiLetter(name.charCodeAt(2));\n  }\n  function propertyIsDynamicEvent(name) {\n    return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9));\n  }\n  function createProxyObject2(methodNames, invoke, proxyListen) {\n    const createProxyMethod = (method) => {\n      return function() {\n        const args = Array.prototype.slice.call(arguments, 0);\n        return invoke(method, args);\n      };\n    };\n    const createProxyDynamicEvent = (eventName) => {\n      return function(arg) {\n        return proxyListen(eventName, arg);\n      };\n    };\n    const result = {};\n    for (const methodName of methodNames) {\n      if (propertyIsDynamicEvent(methodName)) {\n        result[methodName] = createProxyDynamicEvent(methodName);\n        continue;\n      }\n      if (propertyIsEvent(methodName)) {\n        result[methodName] = proxyListen(methodName, void 0);\n        continue;\n      }\n      result[methodName] = createProxyMethod(methodName);\n    }\n    return result;\n  }\n  var SimpleWorkerServer = class {\n    constructor(postMessage, requestHandlerFactory) {\n      this._requestHandlerFactory = requestHandlerFactory;\n      this._requestHandler = null;\n      this._protocol = new SimpleWorkerProtocol({\n        sendMessage: (msg, transfer) => {\n          postMessage(msg, transfer);\n        },\n        handleMessage: (method, args) => this._handleMessage(method, args),\n        handleEvent: (eventName, arg) => this._handleEvent(eventName, arg)\n      });\n    }\n    onmessage(msg) {\n      this._protocol.handleMessage(msg);\n    }\n    _handleMessage(method, args) {\n      if (method === INITIALIZE) {\n        return this.initialize(args[0], args[1], args[2], args[3]);\n      }\n      if (!this._requestHandler || typeof this._requestHandler[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._requestHandler[method].apply(this._requestHandler, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n    _handleEvent(eventName, arg) {\n      if (!this._requestHandler) {\n        throw new Error(`Missing requestHandler`);\n      }\n      if (propertyIsDynamicEvent(eventName)) {\n        const event = this._requestHandler[eventName].call(this._requestHandler, arg);\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing dynamic event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      if (propertyIsEvent(eventName)) {\n        const event = this._requestHandler[eventName];\n        if (typeof event !== \"function\") {\n          throw new Error(`Missing event ${eventName} on request handler.`);\n        }\n        return event;\n      }\n      throw new Error(`Malformed event name ${eventName}`);\n    }\n    initialize(workerId, loaderConfig, moduleId, hostMethods) {\n      this._protocol.setWorkerId(workerId);\n      const proxyMethodRequest = (method, args) => {\n        return this._protocol.sendMessage(method, args);\n      };\n      const proxyListen = (eventName, arg) => {\n        return this._protocol.listen(eventName, arg);\n      };\n      const hostProxy = createProxyObject2(hostMethods, proxyMethodRequest, proxyListen);\n      if (this._requestHandlerFactory) {\n        this._requestHandler = this._requestHandlerFactory(hostProxy);\n        return Promise.resolve(getAllMethodNames(this._requestHandler));\n      }\n      if (loaderConfig) {\n        if (typeof loaderConfig.baseUrl !== \"undefined\") {\n          delete loaderConfig[\"baseUrl\"];\n        }\n        if (typeof loaderConfig.paths !== \"undefined\") {\n          if (typeof loaderConfig.paths.vs !== \"undefined\") {\n            delete loaderConfig.paths[\"vs\"];\n          }\n        }\n        if (typeof loaderConfig.trustedTypesPolicy !== \"undefined\") {\n          delete loaderConfig[\"trustedTypesPolicy\"];\n        }\n        loaderConfig.catchError = true;\n        globalThis.require.config(loaderConfig);\n      }\n      return new Promise((resolve2, reject) => {\n        const req = globalThis.require;\n        req([moduleId], (module2) => {\n          this._requestHandler = module2.create(hostProxy);\n          if (!this._requestHandler) {\n            reject(new Error(`No RequestHandler!`));\n            return;\n          }\n          resolve2(getAllMethodNames(this._requestHandler));\n        }, reject);\n      });\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js\n  var DiffChange = class {\n    /**\n     * Constructs a new DiffChange with the given sequence information\n     * and content.\n     */\n    constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\n      this.originalStart = originalStart;\n      this.originalLength = originalLength;\n      this.modifiedStart = modifiedStart;\n      this.modifiedLength = modifiedLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the original sequence.\n     */\n    getOriginalEnd() {\n      return this.originalStart + this.originalLength;\n    }\n    /**\n     * The end point (exclusive) of the change in the modified sequence.\n     */\n    getModifiedEnd() {\n      return this.modifiedStart + this.modifiedLength;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/hash.js\n  function numberHash(val, initialHashVal) {\n    return (initialHashVal << 5) - initialHashVal + val | 0;\n  }\n  function stringHash(s, hashVal) {\n    hashVal = numberHash(149417, hashVal);\n    for (let i = 0, length = s.length; i < length; i++) {\n      hashVal = numberHash(s.charCodeAt(i), hashVal);\n    }\n    return hashVal;\n  }\n  function leftRotate(value, bits, totalBits = 32) {\n    const delta = totalBits - bits;\n    const mask = ~((1 << delta) - 1);\n    return (value << bits | (mask & value) >>> delta) >>> 0;\n  }\n  function fill(dest, index = 0, count = dest.byteLength, value = 0) {\n    for (let i = 0; i < count; i++) {\n      dest[index + i] = value;\n    }\n  }\n  function leftPad(value, length, char = \"0\") {\n    while (value.length < length) {\n      value = char + value;\n    }\n    return value;\n  }\n  function toHexString(bufferOrValue, bitsize = 32) {\n    if (bufferOrValue instanceof ArrayBuffer) {\n      return Array.from(new Uint8Array(bufferOrValue)).map((b) => b.toString(16).padStart(2, \"0\")).join(\"\");\n    }\n    return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4);\n  }\n  var StringSHA1 = class _StringSHA1 {\n    constructor() {\n      this._h0 = 1732584193;\n      this._h1 = 4023233417;\n      this._h2 = 2562383102;\n      this._h3 = 271733878;\n      this._h4 = 3285377520;\n      this._buff = new Uint8Array(\n        64 + 3\n        /* to fit any utf-8 */\n      );\n      this._buffDV = new DataView(this._buff.buffer);\n      this._buffLen = 0;\n      this._totalLen = 0;\n      this._leftoverHighSurrogate = 0;\n      this._finished = false;\n    }\n    update(str) {\n      const strLen = str.length;\n      if (strLen === 0) {\n        return;\n      }\n      const buff = this._buff;\n      let buffLen = this._buffLen;\n      let leftoverHighSurrogate = this._leftoverHighSurrogate;\n      let charCode;\n      let offset;\n      if (leftoverHighSurrogate !== 0) {\n        charCode = leftoverHighSurrogate;\n        offset = -1;\n        leftoverHighSurrogate = 0;\n      } else {\n        charCode = str.charCodeAt(0);\n        offset = 0;\n      }\n      while (true) {\n        let codePoint = charCode;\n        if (isHighSurrogate(charCode)) {\n          if (offset + 1 < strLen) {\n            const nextCharCode = str.charCodeAt(offset + 1);\n            if (isLowSurrogate(nextCharCode)) {\n              offset++;\n              codePoint = computeCodePoint(charCode, nextCharCode);\n            } else {\n              codePoint = 65533;\n            }\n          } else {\n            leftoverHighSurrogate = charCode;\n            break;\n          }\n        } else if (isLowSurrogate(charCode)) {\n          codePoint = 65533;\n        }\n        buffLen = this._push(buff, buffLen, codePoint);\n        offset++;\n        if (offset < strLen) {\n          charCode = str.charCodeAt(offset);\n        } else {\n          break;\n        }\n      }\n      this._buffLen = buffLen;\n      this._leftoverHighSurrogate = leftoverHighSurrogate;\n    }\n    _push(buff, buffLen, codePoint) {\n      if (codePoint < 128) {\n        buff[buffLen++] = codePoint;\n      } else if (codePoint < 2048) {\n        buff[buffLen++] = 192 | (codePoint & 1984) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else if (codePoint < 65536) {\n        buff[buffLen++] = 224 | (codePoint & 61440) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      } else {\n        buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18;\n        buff[buffLen++] = 128 | (codePoint & 258048) >>> 12;\n        buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;\n        buff[buffLen++] = 128 | (codePoint & 63) >>> 0;\n      }\n      if (buffLen >= 64) {\n        this._step();\n        buffLen -= 64;\n        this._totalLen += 64;\n        buff[0] = buff[64 + 0];\n        buff[1] = buff[64 + 1];\n        buff[2] = buff[64 + 2];\n      }\n      return buffLen;\n    }\n    digest() {\n      if (!this._finished) {\n        this._finished = true;\n        if (this._leftoverHighSurrogate) {\n          this._leftoverHighSurrogate = 0;\n          this._buffLen = this._push(\n            this._buff,\n            this._buffLen,\n            65533\n            /* SHA1Constant.UNICODE_REPLACEMENT */\n          );\n        }\n        this._totalLen += this._buffLen;\n        this._wrapUp();\n      }\n      return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4);\n    }\n    _wrapUp() {\n      this._buff[this._buffLen++] = 128;\n      fill(this._buff, this._buffLen);\n      if (this._buffLen > 56) {\n        this._step();\n        fill(this._buff);\n      }\n      const ml = 8 * this._totalLen;\n      this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false);\n      this._buffDV.setUint32(60, ml % 4294967296, false);\n      this._step();\n    }\n    _step() {\n      const bigBlock32 = _StringSHA1._bigBlock32;\n      const data = this._buffDV;\n      for (let j = 0; j < 64; j += 4) {\n        bigBlock32.setUint32(j, data.getUint32(j, false), false);\n      }\n      for (let j = 64; j < 320; j += 4) {\n        bigBlock32.setUint32(j, leftRotate(bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false), 1), false);\n      }\n      let a = this._h0;\n      let b = this._h1;\n      let c = this._h2;\n      let d = this._h3;\n      let e = this._h4;\n      let f, k;\n      let temp;\n      for (let j = 0; j < 80; j++) {\n        if (j < 20) {\n          f = b & c | ~b & d;\n          k = 1518500249;\n        } else if (j < 40) {\n          f = b ^ c ^ d;\n          k = 1859775393;\n        } else if (j < 60) {\n          f = b & c | b & d | c & d;\n          k = 2400959708;\n        } else {\n          f = b ^ c ^ d;\n          k = 3395469782;\n        }\n        temp = leftRotate(a, 5) + f + e + k + bigBlock32.getUint32(j * 4, false) & 4294967295;\n        e = d;\n        d = c;\n        c = leftRotate(b, 30);\n        b = a;\n        a = temp;\n      }\n      this._h0 = this._h0 + a & 4294967295;\n      this._h1 = this._h1 + b & 4294967295;\n      this._h2 = this._h2 + c & 4294967295;\n      this._h3 = this._h3 + d & 4294967295;\n      this._h4 = this._h4 + e & 4294967295;\n    }\n  };\n  StringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\n  var StringDiffSequence = class {\n    constructor(source) {\n      this.source = source;\n    }\n    getElements() {\n      const source = this.source;\n      const characters = new Int32Array(source.length);\n      for (let i = 0, len = source.length; i < len; i++) {\n        characters[i] = source.charCodeAt(i);\n      }\n      return characters;\n    }\n  };\n  function stringDiff(original, modified, pretty) {\n    return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes;\n  }\n  var Debug = class {\n    static Assert(condition, message) {\n      if (!condition) {\n        throw new Error(message);\n      }\n    }\n  };\n  var MyArray = class {\n    /**\n     * Copies a range of elements from an Array starting at the specified source index and pastes\n     * them to another Array starting at the specified destination index. The length and the indexes\n     * are specified as 64-bit integers.\n     * sourceArray:\n     *\t\tThe Array that contains the data to copy.\n     * sourceIndex:\n     *\t\tA 64-bit integer that represents the index in the sourceArray at which copying begins.\n     * destinationArray:\n     *\t\tThe Array that receives the data.\n     * destinationIndex:\n     *\t\tA 64-bit integer that represents the index in the destinationArray at which storing begins.\n     * length:\n     *\t\tA 64-bit integer that represents the number of elements to copy.\n     */\n    static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n    static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\n      for (let i = 0; i < length; i++) {\n        destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\n      }\n    }\n  };\n  var DiffChangeHelper = class {\n    /**\n     * Constructs a new DiffChangeHelper for the given DiffSequences.\n     */\n    constructor() {\n      this.m_changes = [];\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n    }\n    /**\n     * Marks the beginning of the next change in the set of differences.\n     */\n    MarkNextChange() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount));\n      }\n      this.m_originalCount = 0;\n      this.m_modifiedCount = 0;\n      this.m_originalStart = 1073741824;\n      this.m_modifiedStart = 1073741824;\n    }\n    /**\n     * Adds the original element at the given position to the elements\n     * affected by the current change. The modified index gives context\n     * to the change position with respect to the original sequence.\n     * @param originalIndex The index of the original element to add.\n     * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence.\n     */\n    AddOriginalElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_originalCount++;\n    }\n    /**\n     * Adds the modified element at the given position to the elements\n     * affected by the current change. The original index gives context\n     * to the change position with respect to the modified sequence.\n     * @param originalIndex The index of the original element that provides corresponding position in the original sequence.\n     * @param modifiedIndex The index of the modified element to add.\n     */\n    AddModifiedElement(originalIndex, modifiedIndex) {\n      this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\n      this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\n      this.m_modifiedCount++;\n    }\n    /**\n     * Retrieves all of the changes marked by the class.\n     */\n    getChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      return this.m_changes;\n    }\n    /**\n     * Retrieves all of the changes marked by the class in the reverse order\n     */\n    getReverseChanges() {\n      if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\n        this.MarkNextChange();\n      }\n      this.m_changes.reverse();\n      return this.m_changes;\n    }\n  };\n  var LcsDiff = class _LcsDiff {\n    /**\n     * Constructs the DiffFinder\n     */\n    constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) {\n      this.ContinueProcessingPredicate = continueProcessingPredicate;\n      this._originalSequence = originalSequence;\n      this._modifiedSequence = modifiedSequence;\n      const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence);\n      const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence);\n      this._hasStrings = originalHasStrings && modifiedHasStrings;\n      this._originalStringElements = originalStringElements;\n      this._originalElementsOrHash = originalElementsOrHash;\n      this._modifiedStringElements = modifiedStringElements;\n      this._modifiedElementsOrHash = modifiedElementsOrHash;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n    }\n    static _isStringArray(arr) {\n      return arr.length > 0 && typeof arr[0] === \"string\";\n    }\n    static _getElements(sequence) {\n      const elements = sequence.getElements();\n      if (_LcsDiff._isStringArray(elements)) {\n        const hashes = new Int32Array(elements.length);\n        for (let i = 0, len = elements.length; i < len; i++) {\n          hashes[i] = stringHash(elements[i], 0);\n        }\n        return [elements, hashes, true];\n      }\n      if (elements instanceof Int32Array) {\n        return [[], elements, false];\n      }\n      return [[], new Int32Array(elements), false];\n    }\n    ElementsAreEqual(originalIndex, newIndex) {\n      if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true;\n    }\n    ElementsAreStrictEqual(originalIndex, newIndex) {\n      if (!this.ElementsAreEqual(originalIndex, newIndex)) {\n        return false;\n      }\n      const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex);\n      const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex);\n      return originalElement === modifiedElement;\n    }\n    static _getStrictElement(sequence, index) {\n      if (typeof sequence.getStrictElement === \"function\") {\n        return sequence.getStrictElement(index);\n      }\n      return null;\n    }\n    OriginalElementsAreEqual(index1, index2) {\n      if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true;\n    }\n    ModifiedElementsAreEqual(index1, index2) {\n      if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) {\n        return false;\n      }\n      return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true;\n    }\n    ComputeDiff(pretty) {\n      return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty);\n    }\n    /**\n     * Computes the differences between the original and modified input\n     * sequences on the bounded range.\n     * @returns An array of the differences between the two input sequences.\n     */\n    _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) {\n      const quitEarlyArr = [false];\n      let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr);\n      if (pretty) {\n        changes = this.PrettifyChanges(changes);\n      }\n      return {\n        quitEarly: quitEarlyArr[0],\n        changes\n      };\n    }\n    /**\n     * Private helper method which computes the differences on the bounded range\n     * recursively.\n     * @returns An array of the differences between the two input sequences.\n     */\n    ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) {\n      quitEarlyArr[0] = false;\n      while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) {\n        originalStart++;\n        modifiedStart++;\n      }\n      while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) {\n        originalEnd--;\n        modifiedEnd--;\n      }\n      if (originalStart > originalEnd || modifiedStart > modifiedEnd) {\n        let changes;\n        if (modifiedStart <= modifiedEnd) {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          changes = [\n            new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1)\n          ];\n        } else if (originalStart <= originalEnd) {\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [\n            new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0)\n          ];\n        } else {\n          Debug.Assert(originalStart === originalEnd + 1, \"originalStart should only be one more than originalEnd\");\n          Debug.Assert(modifiedStart === modifiedEnd + 1, \"modifiedStart should only be one more than modifiedEnd\");\n          changes = [];\n        }\n        return changes;\n      }\n      const midOriginalArr = [0];\n      const midModifiedArr = [0];\n      const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr);\n      const midOriginal = midOriginalArr[0];\n      const midModified = midModifiedArr[0];\n      if (result !== null) {\n        return result;\n      } else if (!quitEarlyArr[0]) {\n        const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr);\n        let rightChanges = [];\n        if (!quitEarlyArr[0]) {\n          rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr);\n        } else {\n          rightChanges = [\n            new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1)\n          ];\n        }\n        return this.ConcatenateChanges(leftChanges, rightChanges);\n      }\n      return [\n        new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n      ];\n    }\n    WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) {\n      let forwardChanges = null;\n      let reverseChanges = null;\n      let changeHelper = new DiffChangeHelper();\n      let diagonalMin = diagonalForwardStart;\n      let diagonalMax = diagonalForwardEnd;\n      let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset;\n      let lastOriginalIndex = -1073741824;\n      let historyIndex = this.m_forwardHistory.length - 1;\n      do {\n        const diagonal = diagonalRelative + diagonalForwardBase;\n        if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n          originalIndex = forwardPoints[diagonal + 1];\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex;\n          changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex);\n          diagonalRelative = diagonal + 1 - diagonalForwardBase;\n        } else {\n          originalIndex = forwardPoints[diagonal - 1] + 1;\n          modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\n          if (originalIndex < lastOriginalIndex) {\n            changeHelper.MarkNextChange();\n          }\n          lastOriginalIndex = originalIndex - 1;\n          changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1);\n          diagonalRelative = diagonal - 1 - diagonalForwardBase;\n        }\n        if (historyIndex >= 0) {\n          forwardPoints = this.m_forwardHistory[historyIndex];\n          diagonalForwardBase = forwardPoints[0];\n          diagonalMin = 1;\n          diagonalMax = forwardPoints.length - 1;\n        }\n      } while (--historyIndex >= -1);\n      forwardChanges = changeHelper.getReverseChanges();\n      if (quitEarlyArr[0]) {\n        let originalStartPoint = midOriginalArr[0] + 1;\n        let modifiedStartPoint = midModifiedArr[0] + 1;\n        if (forwardChanges !== null && forwardChanges.length > 0) {\n          const lastForwardChange = forwardChanges[forwardChanges.length - 1];\n          originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd());\n          modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd());\n        }\n        reverseChanges = [\n          new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1)\n        ];\n      } else {\n        changeHelper = new DiffChangeHelper();\n        diagonalMin = diagonalReverseStart;\n        diagonalMax = diagonalReverseEnd;\n        diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset;\n        lastOriginalIndex = 1073741824;\n        historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;\n        do {\n          const diagonal = diagonalRelative + diagonalReverseBase;\n          if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex + 1;\n            changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal + 1 - diagonalReverseBase;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n            modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\n            if (originalIndex > lastOriginalIndex) {\n              changeHelper.MarkNextChange();\n            }\n            lastOriginalIndex = originalIndex;\n            changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1);\n            diagonalRelative = diagonal - 1 - diagonalReverseBase;\n          }\n          if (historyIndex >= 0) {\n            reversePoints = this.m_reverseHistory[historyIndex];\n            diagonalReverseBase = reversePoints[0];\n            diagonalMin = 1;\n            diagonalMax = reversePoints.length - 1;\n          }\n        } while (--historyIndex >= -1);\n        reverseChanges = changeHelper.getChanges();\n      }\n      return this.ConcatenateChanges(forwardChanges, reverseChanges);\n    }\n    /**\n     * Given the range to compute the diff on, this method finds the point:\n     * (midOriginal, midModified)\n     * that exists in the middle of the LCS of the two sequences and\n     * is the point at which the LCS problem may be broken down recursively.\n     * This method will try to keep the LCS trace in memory. If the LCS recursion\n     * point is calculated and the full trace is available in memory, then this method\n     * will return the change list.\n     * @param originalStart The start bound of the original sequence range\n     * @param originalEnd The end bound of the original sequence range\n     * @param modifiedStart The start bound of the modified sequence range\n     * @param modifiedEnd The end bound of the modified sequence range\n     * @param midOriginal The middle point of the original sequence range\n     * @param midModified The middle point of the modified sequence range\n     * @returns The diff changes, if available, otherwise null\n     */\n    ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) {\n      let originalIndex = 0, modifiedIndex = 0;\n      let diagonalForwardStart = 0, diagonalForwardEnd = 0;\n      let diagonalReverseStart = 0, diagonalReverseEnd = 0;\n      originalStart--;\n      modifiedStart--;\n      midOriginalArr[0] = 0;\n      midModifiedArr[0] = 0;\n      this.m_forwardHistory = [];\n      this.m_reverseHistory = [];\n      const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart);\n      const numDiagonals = maxDifferences + 1;\n      const forwardPoints = new Int32Array(numDiagonals);\n      const reversePoints = new Int32Array(numDiagonals);\n      const diagonalForwardBase = modifiedEnd - modifiedStart;\n      const diagonalReverseBase = originalEnd - originalStart;\n      const diagonalForwardOffset = originalStart - modifiedStart;\n      const diagonalReverseOffset = originalEnd - modifiedEnd;\n      const delta = diagonalReverseBase - diagonalForwardBase;\n      const deltaIsEven = delta % 2 === 0;\n      forwardPoints[diagonalForwardBase] = originalStart;\n      reversePoints[diagonalReverseBase] = originalEnd;\n      quitEarlyArr[0] = false;\n      for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) {\n        let furthestOriginalIndex = 0;\n        let furthestModifiedIndex = 0;\n        diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\n        for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) {\n          if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) {\n            originalIndex = forwardPoints[diagonal + 1];\n          } else {\n            originalIndex = forwardPoints[diagonal - 1] + 1;\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) {\n            originalIndex++;\n            modifiedIndex++;\n          }\n          forwardPoints[diagonal] = originalIndex;\n          if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) {\n            furthestOriginalIndex = originalIndex;\n            furthestModifiedIndex = modifiedIndex;\n          }\n          if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) {\n            if (originalIndex >= reversePoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2;\n        if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) {\n          quitEarlyArr[0] = true;\n          midOriginalArr[0] = furthestOriginalIndex;\n          midModifiedArr[0] = furthestModifiedIndex;\n          if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) {\n            return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n          } else {\n            originalStart++;\n            modifiedStart++;\n            return [\n              new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\n            ];\n          }\n        }\n        diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\n        for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) {\n          if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) {\n            originalIndex = reversePoints[diagonal + 1] - 1;\n          } else {\n            originalIndex = reversePoints[diagonal - 1];\n          }\n          modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset;\n          const tempOriginalIndex = originalIndex;\n          while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) {\n            originalIndex--;\n            modifiedIndex--;\n          }\n          reversePoints[diagonal] = originalIndex;\n          if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) {\n            if (originalIndex <= forwardPoints[diagonal]) {\n              midOriginalArr[0] = originalIndex;\n              midModifiedArr[0] = modifiedIndex;\n              if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {\n                return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n              } else {\n                return null;\n              }\n            }\n          }\n        }\n        if (numDifferences <= 1447) {\n          let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);\n          temp[0] = diagonalForwardBase - diagonalForwardStart + 1;\n          MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);\n          this.m_forwardHistory.push(temp);\n          temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2);\n          temp[0] = diagonalReverseBase - diagonalReverseStart + 1;\n          MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1);\n          this.m_reverseHistory.push(temp);\n        }\n      }\n      return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\n    }\n    /**\n     * Shifts the given changes to provide a more intuitive diff.\n     * While the first element in a diff matches the first element after the diff,\n     * we shift the diff down.\n     *\n     * @param changes The list of changes to shift\n     * @returns The shifted changes\n     */\n    PrettifyChanges(changes) {\n      for (let i = 0; i < changes.length; i++) {\n        const change = changes[i];\n        const originalStop = i < changes.length - 1 ? changes[i + 1].originalStart : this._originalElementsOrHash.length;\n        const modifiedStop = i < changes.length - 1 ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length;\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) {\n          const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart);\n          const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength);\n          if (endStrictEqual && !startStrictEqual) {\n            break;\n          }\n          change.originalStart++;\n          change.modifiedStart++;\n        }\n        const mergedChangeArr = [null];\n        if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) {\n          changes[i] = mergedChangeArr[0];\n          changes.splice(i + 1, 1);\n          i--;\n          continue;\n        }\n      }\n      for (let i = changes.length - 1; i >= 0; i--) {\n        const change = changes[i];\n        let originalStop = 0;\n        let modifiedStop = 0;\n        if (i > 0) {\n          const prevChange = changes[i - 1];\n          originalStop = prevChange.originalStart + prevChange.originalLength;\n          modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength;\n        }\n        const checkOriginal = change.originalLength > 0;\n        const checkModified = change.modifiedLength > 0;\n        let bestDelta = 0;\n        let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength);\n        for (let delta = 1; ; delta++) {\n          const originalStart = change.originalStart - delta;\n          const modifiedStart = change.modifiedStart - delta;\n          if (originalStart < originalStop || modifiedStart < modifiedStop) {\n            break;\n          }\n          if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) {\n            break;\n          }\n          if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) {\n            break;\n          }\n          const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop;\n          const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength);\n          if (score2 > bestScore) {\n            bestScore = score2;\n            bestDelta = delta;\n          }\n        }\n        change.originalStart -= bestDelta;\n        change.modifiedStart -= bestDelta;\n        const mergedChangeArr = [null];\n        if (i > 0 && this.ChangesOverlap(changes[i - 1], changes[i], mergedChangeArr)) {\n          changes[i - 1] = mergedChangeArr[0];\n          changes.splice(i, 1);\n          i++;\n          continue;\n        }\n      }\n      if (this._hasStrings) {\n        for (let i = 1, len = changes.length; i < len; i++) {\n          const aChange = changes[i - 1];\n          const bChange = changes[i];\n          const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength;\n          const aOriginalStart = aChange.originalStart;\n          const bOriginalEnd = bChange.originalStart + bChange.originalLength;\n          const abOriginalLength = bOriginalEnd - aOriginalStart;\n          const aModifiedStart = aChange.modifiedStart;\n          const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength;\n          const abModifiedLength = bModifiedEnd - aModifiedStart;\n          if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) {\n            const t = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength);\n            if (t) {\n              const [originalMatchStart, modifiedMatchStart] = t;\n              if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) {\n                aChange.originalLength = originalMatchStart - aChange.originalStart;\n                aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart;\n                bChange.originalStart = originalMatchStart + matchedLength;\n                bChange.modifiedStart = modifiedMatchStart + matchedLength;\n                bChange.originalLength = bOriginalEnd - bChange.originalStart;\n                bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart;\n              }\n            }\n          }\n        }\n      }\n      return changes;\n    }\n    _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) {\n      if (originalLength < desiredLength || modifiedLength < desiredLength) {\n        return null;\n      }\n      const originalMax = originalStart + originalLength - desiredLength + 1;\n      const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1;\n      let bestScore = 0;\n      let bestOriginalStart = 0;\n      let bestModifiedStart = 0;\n      for (let i = originalStart; i < originalMax; i++) {\n        for (let j = modifiedStart; j < modifiedMax; j++) {\n          const score2 = this._contiguousSequenceScore(i, j, desiredLength);\n          if (score2 > 0 && score2 > bestScore) {\n            bestScore = score2;\n            bestOriginalStart = i;\n            bestModifiedStart = j;\n          }\n        }\n      }\n      if (bestScore > 0) {\n        return [bestOriginalStart, bestModifiedStart];\n      }\n      return null;\n    }\n    _contiguousSequenceScore(originalStart, modifiedStart, length) {\n      let score2 = 0;\n      for (let l = 0; l < length; l++) {\n        if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) {\n          return 0;\n        }\n        score2 += this._originalStringElements[originalStart + l].length;\n      }\n      return score2;\n    }\n    _OriginalIsBoundary(index) {\n      if (index <= 0 || index >= this._originalElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._originalStringElements[index]);\n    }\n    _OriginalRegionIsBoundary(originalStart, originalLength) {\n      if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) {\n        return true;\n      }\n      if (originalLength > 0) {\n        const originalEnd = originalStart + originalLength;\n        if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _ModifiedIsBoundary(index) {\n      if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) {\n        return true;\n      }\n      return this._hasStrings && /^\\s*$/.test(this._modifiedStringElements[index]);\n    }\n    _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) {\n      if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) {\n        return true;\n      }\n      if (modifiedLength > 0) {\n        const modifiedEnd = modifiedStart + modifiedLength;\n        if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) {\n      const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0;\n      const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0;\n      return originalScore + modifiedScore;\n    }\n    /**\n     * Concatenates the two input DiffChange lists and returns the resulting\n     * list.\n     * @param The left changes\n     * @param The right changes\n     * @returns The concatenated list\n     */\n    ConcatenateChanges(left, right) {\n      const mergedChangeArr = [];\n      if (left.length === 0 || right.length === 0) {\n        return right.length > 0 ? right : left;\n      } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) {\n        const result = new Array(left.length + right.length - 1);\n        MyArray.Copy(left, 0, result, 0, left.length - 1);\n        result[left.length - 1] = mergedChangeArr[0];\n        MyArray.Copy(right, 1, result, left.length, right.length - 1);\n        return result;\n      } else {\n        const result = new Array(left.length + right.length);\n        MyArray.Copy(left, 0, result, 0, left.length);\n        MyArray.Copy(right, 0, result, left.length, right.length);\n        return result;\n      }\n    }\n    /**\n     * Returns true if the two changes overlap and can be merged into a single\n     * change\n     * @param left The left change\n     * @param right The right change\n     * @param mergedChange The merged change if the two overlap, null otherwise\n     * @returns True if the two changes overlap\n     */\n    ChangesOverlap(left, right, mergedChangeArr) {\n      Debug.Assert(left.originalStart <= right.originalStart, \"Left change is not less than or equal to right change\");\n      Debug.Assert(left.modifiedStart <= right.modifiedStart, \"Left change is not less than or equal to right change\");\n      if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n        const originalStart = left.originalStart;\n        let originalLength = left.originalLength;\n        const modifiedStart = left.modifiedStart;\n        let modifiedLength = left.modifiedLength;\n        if (left.originalStart + left.originalLength >= right.originalStart) {\n          originalLength = right.originalStart + right.originalLength - left.originalStart;\n        }\n        if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\n          modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart;\n        }\n        mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength);\n        return true;\n      } else {\n        mergedChangeArr[0] = null;\n        return false;\n      }\n    }\n    /**\n     * Helper method used to clip a diagonal index to the range of valid\n     * diagonals. This also decides whether or not the diagonal index,\n     * if it exceeds the boundary, should be clipped to the boundary or clipped\n     * one inside the boundary depending on the Even/Odd status of the boundary\n     * and numDifferences.\n     * @param diagonal The index of the diagonal to clip.\n     * @param numDifferences The current number of differences being iterated upon.\n     * @param diagonalBaseIndex The base reference diagonal.\n     * @param numDiagonals The total number of diagonals.\n     * @returns The clipped diagonal index.\n     */\n    ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) {\n      if (diagonal >= 0 && diagonal < numDiagonals) {\n        return diagonal;\n      }\n      const diagonalsBelow = diagonalBaseIndex;\n      const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1;\n      const diffEven = numDifferences % 2 === 0;\n      if (diagonal < 0) {\n        const lowerBoundEven = diagonalsBelow % 2 === 0;\n        return diffEven === lowerBoundEven ? 0 : 1;\n      } else {\n        const upperBoundEven = diagonalsAbove % 2 === 0;\n        return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/process.js\n  var safeProcess;\n  var vscodeGlobal = globalThis.vscode;\n  if (typeof vscodeGlobal !== \"undefined\" && typeof vscodeGlobal.process !== \"undefined\") {\n    const sandboxProcess = vscodeGlobal.process;\n    safeProcess = {\n      get platform() {\n        return sandboxProcess.platform;\n      },\n      get arch() {\n        return sandboxProcess.arch;\n      },\n      get env() {\n        return sandboxProcess.env;\n      },\n      cwd() {\n        return sandboxProcess.cwd();\n      }\n    };\n  } else if (typeof process !== \"undefined\") {\n    safeProcess = {\n      get platform() {\n        return process.platform;\n      },\n      get arch() {\n        return process.arch;\n      },\n      get env() {\n        return process.env;\n      },\n      cwd() {\n        return process.env[\"VSCODE_CWD\"] || process.cwd();\n      }\n    };\n  } else {\n    safeProcess = {\n      // Supported\n      get platform() {\n        return isWindows ? \"win32\" : isMacintosh ? \"darwin\" : \"linux\";\n      },\n      get arch() {\n        return void 0;\n      },\n      // Unsupported\n      get env() {\n        return {};\n      },\n      cwd() {\n        return \"/\";\n      }\n    };\n  }\n  var cwd = safeProcess.cwd;\n  var env = safeProcess.env;\n  var platform = safeProcess.platform;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/path.js\n  var CHAR_UPPERCASE_A = 65;\n  var CHAR_LOWERCASE_A = 97;\n  var CHAR_UPPERCASE_Z = 90;\n  var CHAR_LOWERCASE_Z = 122;\n  var CHAR_DOT = 46;\n  var CHAR_FORWARD_SLASH = 47;\n  var CHAR_BACKWARD_SLASH = 92;\n  var CHAR_COLON = 58;\n  var CHAR_QUESTION_MARK = 63;\n  var ErrorInvalidArgType = class extends Error {\n    constructor(name, expected, actual) {\n      let determiner;\n      if (typeof expected === \"string\" && expected.indexOf(\"not \") === 0) {\n        determiner = \"must not be\";\n        expected = expected.replace(/^not /, \"\");\n      } else {\n        determiner = \"must be\";\n      }\n      const type = name.indexOf(\".\") !== -1 ? \"property\" : \"argument\";\n      let msg = `The \"${name}\" ${type} ${determiner} of type ${expected}`;\n      msg += `. Received type ${typeof actual}`;\n      super(msg);\n      this.code = \"ERR_INVALID_ARG_TYPE\";\n    }\n  };\n  function validateObject(pathObject, name) {\n    if (pathObject === null || typeof pathObject !== \"object\") {\n      throw new ErrorInvalidArgType(name, \"Object\", pathObject);\n    }\n  }\n  function validateString(value, name) {\n    if (typeof value !== \"string\") {\n      throw new ErrorInvalidArgType(name, \"string\", value);\n    }\n  }\n  var platformIsWin32 = platform === \"win32\";\n  function isPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n  }\n  function isPosixPathSeparator(code) {\n    return code === CHAR_FORWARD_SLASH;\n  }\n  function isWindowsDeviceRoot(code) {\n    return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z;\n  }\n  function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) {\n    let res = \"\";\n    let lastSegmentLength = 0;\n    let lastSlash = -1;\n    let dots = 0;\n    let code = 0;\n    for (let i = 0; i <= path.length; ++i) {\n      if (i < path.length) {\n        code = path.charCodeAt(i);\n      } else if (isPathSeparator2(code)) {\n        break;\n      } else {\n        code = CHAR_FORWARD_SLASH;\n      }\n      if (isPathSeparator2(code)) {\n        if (lastSlash === i - 1 || dots === 1) {\n        } else if (dots === 2) {\n          if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {\n            if (res.length > 2) {\n              const lastSlashIndex = res.lastIndexOf(separator);\n              if (lastSlashIndex === -1) {\n                res = \"\";\n                lastSegmentLength = 0;\n              } else {\n                res = res.slice(0, lastSlashIndex);\n                lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);\n              }\n              lastSlash = i;\n              dots = 0;\n              continue;\n            } else if (res.length !== 0) {\n              res = \"\";\n              lastSegmentLength = 0;\n              lastSlash = i;\n              dots = 0;\n              continue;\n            }\n          }\n          if (allowAboveRoot) {\n            res += res.length > 0 ? `${separator}..` : \"..\";\n            lastSegmentLength = 2;\n          }\n        } else {\n          if (res.length > 0) {\n            res += `${separator}${path.slice(lastSlash + 1, i)}`;\n          } else {\n            res = path.slice(lastSlash + 1, i);\n          }\n          lastSegmentLength = i - lastSlash - 1;\n        }\n        lastSlash = i;\n        dots = 0;\n      } else if (code === CHAR_DOT && dots !== -1) {\n        ++dots;\n      } else {\n        dots = -1;\n      }\n    }\n    return res;\n  }\n  function _format2(sep2, pathObject) {\n    validateObject(pathObject, \"pathObject\");\n    const dir = pathObject.dir || pathObject.root;\n    const base = pathObject.base || `${pathObject.name || \"\"}${pathObject.ext || \"\"}`;\n    if (!dir) {\n      return base;\n    }\n    return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`;\n  }\n  var win32 = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedDevice = \"\";\n      let resolvedTail = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1; i--) {\n        let path;\n        if (i >= 0) {\n          path = pathSegments[i];\n          validateString(path, \"path\");\n          if (path.length === 0) {\n            continue;\n          }\n        } else if (resolvedDevice.length === 0) {\n          path = cwd();\n        } else {\n          path = env[`=${resolvedDevice}`] || cwd();\n          if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n            path = `${resolvedDevice}\\\\`;\n          }\n        }\n        const len = path.length;\n        let rootEnd = 0;\n        let device = \"\";\n        let isAbsolute = false;\n        const code = path.charCodeAt(0);\n        if (len === 1) {\n          if (isPathSeparator(code)) {\n            rootEnd = 1;\n            isAbsolute = true;\n          }\n        } else if (isPathSeparator(code)) {\n          isAbsolute = true;\n          if (isPathSeparator(path.charCodeAt(1))) {\n            let j = 2;\n            let last = j;\n            while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              const firstPart = path.slice(last, j);\n              last = j;\n              while (j < len && isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j < len && j !== last) {\n                last = j;\n                while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                  j++;\n                }\n                if (j === len || j !== last) {\n                  device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                  rootEnd = j;\n                }\n              }\n            }\n          } else {\n            rootEnd = 1;\n          }\n        } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n          device = path.slice(0, 2);\n          rootEnd = 2;\n          if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n            isAbsolute = true;\n            rootEnd = 3;\n          }\n        }\n        if (device.length > 0) {\n          if (resolvedDevice.length > 0) {\n            if (device.toLowerCase() !== resolvedDevice.toLowerCase()) {\n              continue;\n            }\n          } else {\n            resolvedDevice = device;\n          }\n        }\n        if (resolvedAbsolute) {\n          if (resolvedDevice.length > 0) {\n            break;\n          }\n        } else {\n          resolvedTail = `${path.slice(rootEnd)}\\\\${resolvedTail}`;\n          resolvedAbsolute = isAbsolute;\n          if (isAbsolute && resolvedDevice.length > 0) {\n            break;\n          }\n        }\n      }\n      resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, \"\\\\\", isPathSeparator);\n      return resolvedAbsolute ? `${resolvedDevice}\\\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = 0;\n      let device;\n      let isAbsolute = false;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPosixPathSeparator(code) ? \"\\\\\" : path;\n      }\n      if (isPathSeparator(code)) {\n        isAbsolute = true;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            const firstPart = path.slice(last, j);\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return `\\\\\\\\${firstPart}\\\\${path.slice(last)}\\\\`;\n              }\n              if (j !== last) {\n                device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\n                rootEnd = j;\n              }\n            }\n          }\n        } else {\n          rootEnd = 1;\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        device = path.slice(0, 2);\n        rootEnd = 2;\n        if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\n          isAbsolute = true;\n          rootEnd = 3;\n        }\n      }\n      let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, \"\\\\\", isPathSeparator) : \"\";\n      if (tail.length === 0 && !isAbsolute) {\n        tail = \".\";\n      }\n      if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {\n        tail += \"\\\\\";\n      }\n      if (device === void 0) {\n        return isAbsolute ? `\\\\${tail}` : tail;\n      }\n      return isAbsolute ? `${device}\\\\${tail}` : `${device}${tail}`;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return false;\n      }\n      const code = path.charCodeAt(0);\n      return isPathSeparator(code) || // Possible device root\n      len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2));\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      let firstPart;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = firstPart = arg;\n          } else {\n            joined += `\\\\${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      let needsReplace = true;\n      let slashCount = 0;\n      if (typeof firstPart === \"string\" && isPathSeparator(firstPart.charCodeAt(0))) {\n        ++slashCount;\n        const firstLen = firstPart.length;\n        if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) {\n          ++slashCount;\n          if (firstLen > 2) {\n            if (isPathSeparator(firstPart.charCodeAt(2))) {\n              ++slashCount;\n            } else {\n              needsReplace = false;\n            }\n          }\n        }\n      }\n      if (needsReplace) {\n        while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) {\n          slashCount++;\n        }\n        if (slashCount >= 2) {\n          joined = `\\\\${joined.slice(slashCount)}`;\n        }\n      }\n      return win32.normalize(joined);\n    },\n    // It will solve the relative path from `from` to `to`, for instance:\n    //  from = 'C:\\\\orandea\\\\test\\\\aaa'\n    //  to = 'C:\\\\orandea\\\\impl\\\\bbb'\n    // The output of the function should be: '..\\\\..\\\\impl\\\\bbb'\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      const fromOrig = win32.resolve(from);\n      const toOrig = win32.resolve(to);\n      if (fromOrig === toOrig) {\n        return \"\";\n      }\n      from = fromOrig.toLowerCase();\n      to = toOrig.toLowerCase();\n      if (from === to) {\n        return \"\";\n      }\n      let fromStart = 0;\n      while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {\n        fromStart++;\n      }\n      let fromEnd = from.length;\n      while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) {\n        fromEnd--;\n      }\n      const fromLen = fromEnd - fromStart;\n      let toStart = 0;\n      while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        toStart++;\n      }\n      let toEnd = to.length;\n      while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) {\n        toEnd--;\n      }\n      const toLen = toEnd - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_BACKWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i !== length) {\n        if (lastCommonSep === -1) {\n          return toOrig;\n        }\n      } else {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {\n            return toOrig.slice(toStart + i + 1);\n          }\n          if (i === 2) {\n            return toOrig.slice(toStart + i);\n          }\n        }\n        if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 2) {\n            lastCommonSep = 3;\n          }\n        }\n        if (lastCommonSep === -1) {\n          lastCommonSep = 0;\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"\\\\..\";\n        }\n      }\n      toStart += lastCommonSep;\n      if (out.length > 0) {\n        return `${out}${toOrig.slice(toStart, toEnd)}`;\n      }\n      if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\n        ++toStart;\n      }\n      return toOrig.slice(toStart, toEnd);\n    },\n    toNamespacedPath(path) {\n      if (typeof path !== \"string\" || path.length === 0) {\n        return path;\n      }\n      const resolvedPath = win32.resolve(path);\n      if (resolvedPath.length <= 2) {\n        return path;\n      }\n      if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {\n        if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {\n          const code = resolvedPath.charCodeAt(2);\n          if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {\n            return `\\\\\\\\?\\\\UNC\\\\${resolvedPath.slice(2)}`;\n          }\n        }\n      } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\n        return `\\\\\\\\?\\\\${resolvedPath}`;\n      }\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      const len = path.length;\n      if (len === 0) {\n        return \".\";\n      }\n      let rootEnd = -1;\n      let offset = 0;\n      const code = path.charCodeAt(0);\n      if (len === 1) {\n        return isPathSeparator(code) ? path : \".\";\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = offset = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                return path;\n              }\n              if (j !== last) {\n                rootEnd = offset = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2;\n        offset = rootEnd;\n      }\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = len - 1; i >= offset; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        if (rootEnd === -1) {\n          return \".\";\n        }\n        end = rootEnd;\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) {\n        start = 2;\n      }\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= start; --i) {\n          const code = path.charCodeAt(i);\n          if (isPathSeparator(code)) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= start; --i) {\n        if (isPathSeparator(path.charCodeAt(i))) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let start = 0;\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {\n        start = startPart = 2;\n      }\n      for (let i = path.length - 1; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"\\\\\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const len = path.length;\n      let rootEnd = 0;\n      let code = path.charCodeAt(0);\n      if (len === 1) {\n        if (isPathSeparator(code)) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        ret.base = ret.name = path;\n        return ret;\n      }\n      if (isPathSeparator(code)) {\n        rootEnd = 1;\n        if (isPathSeparator(path.charCodeAt(1))) {\n          let j = 2;\n          let last = j;\n          while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n            j++;\n          }\n          if (j < len && j !== last) {\n            last = j;\n            while (j < len && isPathSeparator(path.charCodeAt(j))) {\n              j++;\n            }\n            if (j < len && j !== last) {\n              last = j;\n              while (j < len && !isPathSeparator(path.charCodeAt(j))) {\n                j++;\n              }\n              if (j === len) {\n                rootEnd = j;\n              } else if (j !== last) {\n                rootEnd = j + 1;\n              }\n            }\n          }\n        }\n      } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\n        if (len <= 2) {\n          ret.root = ret.dir = path;\n          return ret;\n        }\n        rootEnd = 2;\n        if (isPathSeparator(path.charCodeAt(2))) {\n          if (len === 3) {\n            ret.root = ret.dir = path;\n            return ret;\n          }\n          rootEnd = 3;\n        }\n      }\n      if (rootEnd > 0) {\n        ret.root = path.slice(0, rootEnd);\n      }\n      let startDot = -1;\n      let startPart = rootEnd;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= rootEnd; --i) {\n        code = path.charCodeAt(i);\n        if (isPathSeparator(code)) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(startPart, end);\n        } else {\n          ret.name = path.slice(startPart, startDot);\n          ret.base = path.slice(startPart, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0 && startPart !== rootEnd) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else {\n        ret.dir = ret.root;\n      }\n      return ret;\n    },\n    sep: \"\\\\\",\n    delimiter: \";\",\n    win32: null,\n    posix: null\n  };\n  var posixCwd = (() => {\n    if (platformIsWin32) {\n      const regexp = /\\\\/g;\n      return () => {\n        const cwd2 = cwd().replace(regexp, \"/\");\n        return cwd2.slice(cwd2.indexOf(\"/\"));\n      };\n    }\n    return () => cwd();\n  })();\n  var posix = {\n    // path.resolve([from ...], to)\n    resolve(...pathSegments) {\n      let resolvedPath = \"\";\n      let resolvedAbsolute = false;\n      for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n        const path = i >= 0 ? pathSegments[i] : posixCwd();\n        validateString(path, \"path\");\n        if (path.length === 0) {\n          continue;\n        }\n        resolvedPath = `${path}/${resolvedPath}`;\n        resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      }\n      resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\", isPosixPathSeparator);\n      if (resolvedAbsolute) {\n        return `/${resolvedPath}`;\n      }\n      return resolvedPath.length > 0 ? resolvedPath : \".\";\n    },\n    normalize(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH;\n      path = normalizeString(path, !isAbsolute, \"/\", isPosixPathSeparator);\n      if (path.length === 0) {\n        if (isAbsolute) {\n          return \"/\";\n        }\n        return trailingSeparator ? \"./\" : \".\";\n      }\n      if (trailingSeparator) {\n        path += \"/\";\n      }\n      return isAbsolute ? `/${path}` : path;\n    },\n    isAbsolute(path) {\n      validateString(path, \"path\");\n      return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n    },\n    join(...paths) {\n      if (paths.length === 0) {\n        return \".\";\n      }\n      let joined;\n      for (let i = 0; i < paths.length; ++i) {\n        const arg = paths[i];\n        validateString(arg, \"path\");\n        if (arg.length > 0) {\n          if (joined === void 0) {\n            joined = arg;\n          } else {\n            joined += `/${arg}`;\n          }\n        }\n      }\n      if (joined === void 0) {\n        return \".\";\n      }\n      return posix.normalize(joined);\n    },\n    relative(from, to) {\n      validateString(from, \"from\");\n      validateString(to, \"to\");\n      if (from === to) {\n        return \"\";\n      }\n      from = posix.resolve(from);\n      to = posix.resolve(to);\n      if (from === to) {\n        return \"\";\n      }\n      const fromStart = 1;\n      const fromEnd = from.length;\n      const fromLen = fromEnd - fromStart;\n      const toStart = 1;\n      const toLen = to.length - toStart;\n      const length = fromLen < toLen ? fromLen : toLen;\n      let lastCommonSep = -1;\n      let i = 0;\n      for (; i < length; i++) {\n        const fromCode = from.charCodeAt(fromStart + i);\n        if (fromCode !== to.charCodeAt(toStart + i)) {\n          break;\n        } else if (fromCode === CHAR_FORWARD_SLASH) {\n          lastCommonSep = i;\n        }\n      }\n      if (i === length) {\n        if (toLen > length) {\n          if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) {\n            return to.slice(toStart + i + 1);\n          }\n          if (i === 0) {\n            return to.slice(toStart + i);\n          }\n        } else if (fromLen > length) {\n          if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) {\n            lastCommonSep = i;\n          } else if (i === 0) {\n            lastCommonSep = 0;\n          }\n        }\n      }\n      let out = \"\";\n      for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n        if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          out += out.length === 0 ? \"..\" : \"/..\";\n        }\n      }\n      return `${out}${to.slice(toStart + lastCommonSep)}`;\n    },\n    toNamespacedPath(path) {\n      return path;\n    },\n    dirname(path) {\n      validateString(path, \"path\");\n      if (path.length === 0) {\n        return \".\";\n      }\n      const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let end = -1;\n      let matchedSlash = true;\n      for (let i = path.length - 1; i >= 1; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            end = i;\n            break;\n          }\n        } else {\n          matchedSlash = false;\n        }\n      }\n      if (end === -1) {\n        return hasRoot ? \"/\" : \".\";\n      }\n      if (hasRoot && end === 1) {\n        return \"//\";\n      }\n      return path.slice(0, end);\n    },\n    basename(path, ext) {\n      if (ext !== void 0) {\n        validateString(ext, \"ext\");\n      }\n      validateString(path, \"path\");\n      let start = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i;\n      if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {\n        if (ext === path) {\n          return \"\";\n        }\n        let extIdx = ext.length - 1;\n        let firstNonSlashEnd = -1;\n        for (i = path.length - 1; i >= 0; --i) {\n          const code = path.charCodeAt(i);\n          if (code === CHAR_FORWARD_SLASH) {\n            if (!matchedSlash) {\n              start = i + 1;\n              break;\n            }\n          } else {\n            if (firstNonSlashEnd === -1) {\n              matchedSlash = false;\n              firstNonSlashEnd = i + 1;\n            }\n            if (extIdx >= 0) {\n              if (code === ext.charCodeAt(extIdx)) {\n                if (--extIdx === -1) {\n                  end = i;\n                }\n              } else {\n                extIdx = -1;\n                end = firstNonSlashEnd;\n              }\n            }\n          }\n        }\n        if (start === end) {\n          end = firstNonSlashEnd;\n        } else if (end === -1) {\n          end = path.length;\n        }\n        return path.slice(start, end);\n      }\n      for (i = path.length - 1; i >= 0; --i) {\n        if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            start = i + 1;\n            break;\n          }\n        } else if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n      }\n      if (end === -1) {\n        return \"\";\n      }\n      return path.slice(start, end);\n    },\n    extname(path) {\n      validateString(path, \"path\");\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let preDotState = 0;\n      for (let i = path.length - 1; i >= 0; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n      preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n        return \"\";\n      }\n      return path.slice(startDot, end);\n    },\n    format: _format2.bind(null, \"/\"),\n    parse(path) {\n      validateString(path, \"path\");\n      const ret = { root: \"\", dir: \"\", base: \"\", ext: \"\", name: \"\" };\n      if (path.length === 0) {\n        return ret;\n      }\n      const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\n      let start;\n      if (isAbsolute) {\n        ret.root = \"/\";\n        start = 1;\n      } else {\n        start = 0;\n      }\n      let startDot = -1;\n      let startPart = 0;\n      let end = -1;\n      let matchedSlash = true;\n      let i = path.length - 1;\n      let preDotState = 0;\n      for (; i >= start; --i) {\n        const code = path.charCodeAt(i);\n        if (code === CHAR_FORWARD_SLASH) {\n          if (!matchedSlash) {\n            startPart = i + 1;\n            break;\n          }\n          continue;\n        }\n        if (end === -1) {\n          matchedSlash = false;\n          end = i + 1;\n        }\n        if (code === CHAR_DOT) {\n          if (startDot === -1) {\n            startDot = i;\n          } else if (preDotState !== 1) {\n            preDotState = 1;\n          }\n        } else if (startDot !== -1) {\n          preDotState = -1;\n        }\n      }\n      if (end !== -1) {\n        const start2 = startPart === 0 && isAbsolute ? 1 : startPart;\n        if (startDot === -1 || // We saw a non-dot character immediately before the dot\n        preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n        preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n          ret.base = ret.name = path.slice(start2, end);\n        } else {\n          ret.name = path.slice(start2, startDot);\n          ret.base = path.slice(start2, end);\n          ret.ext = path.slice(startDot, end);\n        }\n      }\n      if (startPart > 0) {\n        ret.dir = path.slice(0, startPart - 1);\n      } else if (isAbsolute) {\n        ret.dir = \"/\";\n      }\n      return ret;\n    },\n    sep: \"/\",\n    delimiter: \":\",\n    win32: null,\n    posix: null\n  };\n  posix.win32 = win32.win32 = win32;\n  posix.posix = win32.posix = posix;\n  var normalize = platformIsWin32 ? win32.normalize : posix.normalize;\n  var resolve = platformIsWin32 ? win32.resolve : posix.resolve;\n  var relative = platformIsWin32 ? win32.relative : posix.relative;\n  var dirname = platformIsWin32 ? win32.dirname : posix.dirname;\n  var basename = platformIsWin32 ? win32.basename : posix.basename;\n  var extname = platformIsWin32 ? win32.extname : posix.extname;\n  var sep = platformIsWin32 ? win32.sep : posix.sep;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uri.js\n  var _schemePattern = /^\\w[\\w\\d+.-]*$/;\n  var _singleSlashStart = /^\\//;\n  var _doubleSlashStart = /^\\/\\//;\n  function _validateUri(ret, _strict) {\n    if (!ret.scheme && _strict) {\n      throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${ret.authority}\", path: \"${ret.path}\", query: \"${ret.query}\", fragment: \"${ret.fragment}\"}`);\n    }\n    if (ret.scheme && !_schemePattern.test(ret.scheme)) {\n      throw new Error(\"[UriError]: Scheme contains illegal characters.\");\n    }\n    if (ret.path) {\n      if (ret.authority) {\n        if (!_singleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\n        }\n      } else {\n        if (_doubleSlashStart.test(ret.path)) {\n          throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\n        }\n      }\n    }\n  }\n  function _schemeFix(scheme, _strict) {\n    if (!scheme && !_strict) {\n      return \"file\";\n    }\n    return scheme;\n  }\n  function _referenceResolution(scheme, path) {\n    switch (scheme) {\n      case \"https\":\n      case \"http\":\n      case \"file\":\n        if (!path) {\n          path = _slash;\n        } else if (path[0] !== _slash) {\n          path = _slash + path;\n        }\n        break;\n    }\n    return path;\n  }\n  var _empty = \"\";\n  var _slash = \"/\";\n  var _regexp = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;\n  var URI = class _URI {\n    static isUri(thing) {\n      if (thing instanceof _URI) {\n        return true;\n      }\n      if (!thing) {\n        return false;\n      }\n      return typeof thing.authority === \"string\" && typeof thing.fragment === \"string\" && typeof thing.path === \"string\" && typeof thing.query === \"string\" && typeof thing.scheme === \"string\" && typeof thing.fsPath === \"string\" && typeof thing.with === \"function\" && typeof thing.toString === \"function\";\n    }\n    /**\n     * @internal\n     */\n    constructor(schemeOrData, authority, path, query, fragment, _strict = false) {\n      if (typeof schemeOrData === \"object\") {\n        this.scheme = schemeOrData.scheme || _empty;\n        this.authority = schemeOrData.authority || _empty;\n        this.path = schemeOrData.path || _empty;\n        this.query = schemeOrData.query || _empty;\n        this.fragment = schemeOrData.fragment || _empty;\n      } else {\n        this.scheme = _schemeFix(schemeOrData, _strict);\n        this.authority = authority || _empty;\n        this.path = _referenceResolution(this.scheme, path || _empty);\n        this.query = query || _empty;\n        this.fragment = fragment || _empty;\n        _validateUri(this, _strict);\n      }\n    }\n    // ---- filesystem path -----------------------\n    /**\n     * Returns a string representing the corresponding file system path of this URI.\n     * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the\n     * platform specific path separator.\n     *\n     * * Will *not* validate the path for invalid characters and semantics.\n     * * Will *not* look at the scheme of this URI.\n     * * The result shall *not* be used for display purposes but for accessing a file on disk.\n     *\n     *\n     * The *difference* to `URI#path` is the use of the platform specific separator and the handling\n     * of UNC paths. See the below sample of a file-uri with an authority (UNC path).\n     *\n     * ```ts\n        const u = URI.parse('file://server/c$/folder/file.txt')\n        u.authority === 'server'\n        u.path === '/shares/c$/file.txt'\n        u.fsPath === '\\\\server\\c$\\folder\\file.txt'\n    ```\n     *\n     * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path,\n     * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working\n     * with URIs that represent files on disk (`file` scheme).\n     */\n    get fsPath() {\n      return uriToFsPath(this, false);\n    }\n    // ---- modify to new -------------------------\n    with(change) {\n      if (!change) {\n        return this;\n      }\n      let { scheme, authority, path, query, fragment } = change;\n      if (scheme === void 0) {\n        scheme = this.scheme;\n      } else if (scheme === null) {\n        scheme = _empty;\n      }\n      if (authority === void 0) {\n        authority = this.authority;\n      } else if (authority === null) {\n        authority = _empty;\n      }\n      if (path === void 0) {\n        path = this.path;\n      } else if (path === null) {\n        path = _empty;\n      }\n      if (query === void 0) {\n        query = this.query;\n      } else if (query === null) {\n        query = _empty;\n      }\n      if (fragment === void 0) {\n        fragment = this.fragment;\n      } else if (fragment === null) {\n        fragment = _empty;\n      }\n      if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) {\n        return this;\n      }\n      return new Uri(scheme, authority, path, query, fragment);\n    }\n    // ---- parse & validate ------------------------\n    /**\n     * Creates a new URI from a string, e.g. `http://www.example.com/some/path`,\n     * `file:///usr/home`, or `scheme:with/path`.\n     *\n     * @param value A string which represents an URI (see `URI#toString`).\n     */\n    static parse(value, _strict = false) {\n      const match = _regexp.exec(value);\n      if (!match) {\n        return new Uri(_empty, _empty, _empty, _empty, _empty);\n      }\n      return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict);\n    }\n    /**\n     * Creates a new URI from a file system path, e.g. `c:\\my\\files`,\n     * `/usr/home`, or `\\\\server\\share\\some\\path`.\n     *\n     * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument\n     * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as**\n     * `URI.parse('file://' + path)` because the path might contain characters that are\n     * interpreted (# and ?). See the following sample:\n     * ```ts\n    const good = URI.file('/coding/c#/project1');\n    good.scheme === 'file';\n    good.path === '/coding/c#/project1';\n    good.fragment === '';\n    const bad = URI.parse('file://' + '/coding/c#/project1');\n    bad.scheme === 'file';\n    bad.path === '/coding/c'; // path is now broken\n    bad.fragment === '/project1';\n    ```\n     *\n     * @param path A file system path (see `URI#fsPath`)\n     */\n    static file(path) {\n      let authority = _empty;\n      if (isWindows) {\n        path = path.replace(/\\\\/g, _slash);\n      }\n      if (path[0] === _slash && path[1] === _slash) {\n        const idx = path.indexOf(_slash, 2);\n        if (idx === -1) {\n          authority = path.substring(2);\n          path = _slash;\n        } else {\n          authority = path.substring(2, idx);\n          path = path.substring(idx) || _slash;\n        }\n      }\n      return new Uri(\"file\", authority, path, _empty, _empty);\n    }\n    /**\n     * Creates new URI from uri components.\n     *\n     * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs\n     * validation and should be used for untrusted uri components retrieved from storage,\n     * user input, command arguments etc\n     */\n    static from(components, strict) {\n      const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict);\n      return result;\n    }\n    /**\n     * Join a URI path with path fragments and normalizes the resulting path.\n     *\n     * @param uri The input URI.\n     * @param pathFragment The path fragment to add to the URI path.\n     * @returns The resulting URI.\n     */\n    static joinPath(uri, ...pathFragment) {\n      if (!uri.path) {\n        throw new Error(`[UriError]: cannot call joinPath on URI without path`);\n      }\n      let newPath;\n      if (isWindows && uri.scheme === \"file\") {\n        newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path;\n      } else {\n        newPath = posix.join(uri.path, ...pathFragment);\n      }\n      return uri.with({ path: newPath });\n    }\n    // ---- printing/externalize ---------------------------\n    /**\n     * Creates a string representation for this URI. It's guaranteed that calling\n     * `URI.parse` with the result of this function creates an URI which is equal\n     * to this URI.\n     *\n     * * The result shall *not* be used for display purposes but for externalization or transport.\n     * * The result will be encoded using the percentage encoding and encoding happens mostly\n     * ignore the scheme-specific encoding rules.\n     *\n     * @param skipEncoding Do not encode the result, default is `false`\n     */\n    toString(skipEncoding = false) {\n      return _asFormatted(this, skipEncoding);\n    }\n    toJSON() {\n      return this;\n    }\n    static revive(data) {\n      var _a4, _b3;\n      if (!data) {\n        return data;\n      } else if (data instanceof _URI) {\n        return data;\n      } else {\n        const result = new Uri(data);\n        result._formatted = (_a4 = data.external) !== null && _a4 !== void 0 ? _a4 : null;\n        result._fsPath = data._sep === _pathSepMarker ? (_b3 = data.fsPath) !== null && _b3 !== void 0 ? _b3 : null : null;\n        return result;\n      }\n    }\n  };\n  var _pathSepMarker = isWindows ? 1 : void 0;\n  var Uri = class extends URI {\n    constructor() {\n      super(...arguments);\n      this._formatted = null;\n      this._fsPath = null;\n    }\n    get fsPath() {\n      if (!this._fsPath) {\n        this._fsPath = uriToFsPath(this, false);\n      }\n      return this._fsPath;\n    }\n    toString(skipEncoding = false) {\n      if (!skipEncoding) {\n        if (!this._formatted) {\n          this._formatted = _asFormatted(this, false);\n        }\n        return this._formatted;\n      } else {\n        return _asFormatted(this, true);\n      }\n    }\n    toJSON() {\n      const res = {\n        $mid: 1\n        /* MarshalledId.Uri */\n      };\n      if (this._fsPath) {\n        res.fsPath = this._fsPath;\n        res._sep = _pathSepMarker;\n      }\n      if (this._formatted) {\n        res.external = this._formatted;\n      }\n      if (this.path) {\n        res.path = this.path;\n      }\n      if (this.scheme) {\n        res.scheme = this.scheme;\n      }\n      if (this.authority) {\n        res.authority = this.authority;\n      }\n      if (this.query) {\n        res.query = this.query;\n      }\n      if (this.fragment) {\n        res.fragment = this.fragment;\n      }\n      return res;\n    }\n  };\n  var encodeTable = {\n    [\n      58\n      /* CharCode.Colon */\n    ]: \"%3A\",\n    // gen-delims\n    [\n      47\n      /* CharCode.Slash */\n    ]: \"%2F\",\n    [\n      63\n      /* CharCode.QuestionMark */\n    ]: \"%3F\",\n    [\n      35\n      /* CharCode.Hash */\n    ]: \"%23\",\n    [\n      91\n      /* CharCode.OpenSquareBracket */\n    ]: \"%5B\",\n    [\n      93\n      /* CharCode.CloseSquareBracket */\n    ]: \"%5D\",\n    [\n      64\n      /* CharCode.AtSign */\n    ]: \"%40\",\n    [\n      33\n      /* CharCode.ExclamationMark */\n    ]: \"%21\",\n    // sub-delims\n    [\n      36\n      /* CharCode.DollarSign */\n    ]: \"%24\",\n    [\n      38\n      /* CharCode.Ampersand */\n    ]: \"%26\",\n    [\n      39\n      /* CharCode.SingleQuote */\n    ]: \"%27\",\n    [\n      40\n      /* CharCode.OpenParen */\n    ]: \"%28\",\n    [\n      41\n      /* CharCode.CloseParen */\n    ]: \"%29\",\n    [\n      42\n      /* CharCode.Asterisk */\n    ]: \"%2A\",\n    [\n      43\n      /* CharCode.Plus */\n    ]: \"%2B\",\n    [\n      44\n      /* CharCode.Comma */\n    ]: \"%2C\",\n    [\n      59\n      /* CharCode.Semicolon */\n    ]: \"%3B\",\n    [\n      61\n      /* CharCode.Equals */\n    ]: \"%3D\",\n    [\n      32\n      /* CharCode.Space */\n    ]: \"%20\"\n  };\n  function encodeURIComponentFast(uriComponent, isPath, isAuthority) {\n    let res = void 0;\n    let nativeEncodePos = -1;\n    for (let pos = 0; pos < uriComponent.length; pos++) {\n      const code = uriComponent.charCodeAt(pos);\n      if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) {\n        if (nativeEncodePos !== -1) {\n          res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n          nativeEncodePos = -1;\n        }\n        if (res !== void 0) {\n          res += uriComponent.charAt(pos);\n        }\n      } else {\n        if (res === void 0) {\n          res = uriComponent.substr(0, pos);\n        }\n        const escaped = encodeTable[code];\n        if (escaped !== void 0) {\n          if (nativeEncodePos !== -1) {\n            res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\n            nativeEncodePos = -1;\n          }\n          res += escaped;\n        } else if (nativeEncodePos === -1) {\n          nativeEncodePos = pos;\n        }\n      }\n    }\n    if (nativeEncodePos !== -1) {\n      res += encodeURIComponent(uriComponent.substring(nativeEncodePos));\n    }\n    return res !== void 0 ? res : uriComponent;\n  }\n  function encodeURIComponentMinimal(path) {\n    let res = void 0;\n    for (let pos = 0; pos < path.length; pos++) {\n      const code = path.charCodeAt(pos);\n      if (code === 35 || code === 63) {\n        if (res === void 0) {\n          res = path.substr(0, pos);\n        }\n        res += encodeTable[code];\n      } else {\n        if (res !== void 0) {\n          res += path[pos];\n        }\n      }\n    }\n    return res !== void 0 ? res : path;\n  }\n  function uriToFsPath(uri, keepDriveLetterCasing) {\n    let value;\n    if (uri.authority && uri.path.length > 1 && uri.scheme === \"file\") {\n      value = `//${uri.authority}${uri.path}`;\n    } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) {\n      if (!keepDriveLetterCasing) {\n        value = uri.path[1].toLowerCase() + uri.path.substr(2);\n      } else {\n        value = uri.path.substr(1);\n      }\n    } else {\n      value = uri.path;\n    }\n    if (isWindows) {\n      value = value.replace(/\\//g, \"\\\\\");\n    }\n    return value;\n  }\n  function _asFormatted(uri, skipEncoding) {\n    const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal;\n    let res = \"\";\n    let { scheme, authority, path, query, fragment } = uri;\n    if (scheme) {\n      res += scheme;\n      res += \":\";\n    }\n    if (authority || scheme === \"file\") {\n      res += _slash;\n      res += _slash;\n    }\n    if (authority) {\n      let idx = authority.indexOf(\"@\");\n      if (idx !== -1) {\n        const userinfo = authority.substr(0, idx);\n        authority = authority.substr(idx + 1);\n        idx = userinfo.lastIndexOf(\":\");\n        if (idx === -1) {\n          res += encoder(userinfo, false, false);\n        } else {\n          res += encoder(userinfo.substr(0, idx), false, false);\n          res += \":\";\n          res += encoder(userinfo.substr(idx + 1), false, true);\n        }\n        res += \"@\";\n      }\n      authority = authority.toLowerCase();\n      idx = authority.lastIndexOf(\":\");\n      if (idx === -1) {\n        res += encoder(authority, false, true);\n      } else {\n        res += encoder(authority.substr(0, idx), false, true);\n        res += authority.substr(idx);\n      }\n    }\n    if (path) {\n      if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {\n        const code = path.charCodeAt(1);\n        if (code >= 65 && code <= 90) {\n          path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;\n        }\n      } else if (path.length >= 2 && path.charCodeAt(1) === 58) {\n        const code = path.charCodeAt(0);\n        if (code >= 65 && code <= 90) {\n          path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;\n        }\n      }\n      res += encoder(path, true, false);\n    }\n    if (query) {\n      res += \"?\";\n      res += encoder(query, false, false);\n    }\n    if (fragment) {\n      res += \"#\";\n      res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment;\n    }\n    return res;\n  }\n  function decodeURIComponentGraceful(str) {\n    try {\n      return decodeURIComponent(str);\n    } catch (_a4) {\n      if (str.length > 3) {\n        return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3));\n      } else {\n        return str;\n      }\n    }\n  }\n  var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\n  function percentDecode(str) {\n    if (!str.match(_rEncodedAsHex)) {\n      return str;\n    }\n    return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/position.js\n  var Position = class _Position {\n    constructor(lineNumber, column) {\n      this.lineNumber = lineNumber;\n      this.column = column;\n    }\n    /**\n     * Create a new position from this position.\n     *\n     * @param newLineNumber new line number\n     * @param newColumn new column\n     */\n    with(newLineNumber = this.lineNumber, newColumn = this.column) {\n      if (newLineNumber === this.lineNumber && newColumn === this.column) {\n        return this;\n      } else {\n        return new _Position(newLineNumber, newColumn);\n      }\n    }\n    /**\n     * Derive a new position from this position.\n     *\n     * @param deltaLineNumber line number delta\n     * @param deltaColumn column delta\n     */\n    delta(deltaLineNumber = 0, deltaColumn = 0) {\n      return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\n    }\n    /**\n     * Test if this position equals other position\n     */\n    equals(other) {\n      return _Position.equals(this, other);\n    }\n    /**\n     * Test if position `a` equals position `b`\n     */\n    static equals(a, b) {\n      if (!a && !b) {\n        return true;\n      }\n      return !!a && !!b && a.lineNumber === b.lineNumber && a.column === b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be false.\n     */\n    isBefore(other) {\n      return _Position.isBefore(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be false.\n     */\n    static isBefore(a, b) {\n      if (a.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a.lineNumber) {\n        return false;\n      }\n      return a.column < b.column;\n    }\n    /**\n     * Test if this position is before other position.\n     * If the two positions are equal, the result will be true.\n     */\n    isBeforeOrEqual(other) {\n      return _Position.isBeforeOrEqual(this, other);\n    }\n    /**\n     * Test if position `a` is before position `b`.\n     * If the two positions are equal, the result will be true.\n     */\n    static isBeforeOrEqual(a, b) {\n      if (a.lineNumber < b.lineNumber) {\n        return true;\n      }\n      if (b.lineNumber < a.lineNumber) {\n        return false;\n      }\n      return a.column <= b.column;\n    }\n    /**\n     * A function that compares positions, useful for sorting\n     */\n    static compare(a, b) {\n      const aLineNumber = a.lineNumber | 0;\n      const bLineNumber = b.lineNumber | 0;\n      if (aLineNumber === bLineNumber) {\n        const aColumn = a.column | 0;\n        const bColumn = b.column | 0;\n        return aColumn - bColumn;\n      }\n      return aLineNumber - bLineNumber;\n    }\n    /**\n     * Clone this position.\n     */\n    clone() {\n      return new _Position(this.lineNumber, this.column);\n    }\n    /**\n     * Convert to a human-readable representation.\n     */\n    toString() {\n      return \"(\" + this.lineNumber + \",\" + this.column + \")\";\n    }\n    // ---\n    /**\n     * Create a `Position` from an `IPosition`.\n     */\n    static lift(pos) {\n      return new _Position(pos.lineNumber, pos.column);\n    }\n    /**\n     * Test if `obj` is an `IPosition`.\n     */\n    static isIPosition(obj) {\n      return obj && typeof obj.lineNumber === \"number\" && typeof obj.column === \"number\";\n    }\n    toJSON() {\n      return {\n        lineNumber: this.lineNumber,\n        column: this.column\n      };\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/range.js\n  var Range = class _Range {\n    constructor(startLineNumber, startColumn, endLineNumber, endColumn) {\n      if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {\n        this.startLineNumber = endLineNumber;\n        this.startColumn = endColumn;\n        this.endLineNumber = startLineNumber;\n        this.endColumn = startColumn;\n      } else {\n        this.startLineNumber = startLineNumber;\n        this.startColumn = startColumn;\n        this.endLineNumber = endLineNumber;\n        this.endColumn = endColumn;\n      }\n    }\n    /**\n     * Test if this range is empty.\n     */\n    isEmpty() {\n      return _Range.isEmpty(this);\n    }\n    /**\n     * Test if `range` is empty.\n     */\n    static isEmpty(range) {\n      return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn;\n    }\n    /**\n     * Test if position is in this range. If the position is at the edges, will return true.\n     */\n    containsPosition(position) {\n      return _Range.containsPosition(this, position);\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return true.\n     */\n    static containsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `position` is in `range`. If the position is at the edges, will return false.\n     * @internal\n     */\n    static strictContainsPosition(range, position) {\n      if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (position.lineNumber === range.startLineNumber && position.column <= range.startColumn) {\n        return false;\n      }\n      if (position.lineNumber === range.endLineNumber && position.column >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if range is in this range. If the range is equal to this range, will return true.\n     */\n    containsRange(range) {\n      return _Range.containsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is in `range`. If the ranges are equal, will return true.\n     */\n    static containsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.\n     */\n    strictContainsRange(range) {\n      return _Range.strictContainsRange(this, range);\n    }\n    /**\n     * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false.\n     */\n    static strictContainsRange(range, otherRange) {\n      if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\n        return false;\n      }\n      if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) {\n        return false;\n      }\n      if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    plusRange(range) {\n      return _Range.plusRange(this, range);\n    }\n    /**\n     * A reunion of the two ranges.\n     * The smallest position will be used as the start point, and the largest one as the end point.\n     */\n    static plusRange(a, b) {\n      let startLineNumber;\n      let startColumn;\n      let endLineNumber;\n      let endColumn;\n      if (b.startLineNumber < a.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = b.startColumn;\n      } else if (b.startLineNumber === a.startLineNumber) {\n        startLineNumber = b.startLineNumber;\n        startColumn = Math.min(b.startColumn, a.startColumn);\n      } else {\n        startLineNumber = a.startLineNumber;\n        startColumn = a.startColumn;\n      }\n      if (b.endLineNumber > a.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = b.endColumn;\n      } else if (b.endLineNumber === a.endLineNumber) {\n        endLineNumber = b.endLineNumber;\n        endColumn = Math.max(b.endColumn, a.endColumn);\n      } else {\n        endLineNumber = a.endLineNumber;\n        endColumn = a.endColumn;\n      }\n      return new _Range(startLineNumber, startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    intersectRanges(range) {\n      return _Range.intersectRanges(this, range);\n    }\n    /**\n     * A intersection of the two ranges.\n     */\n    static intersectRanges(a, b) {\n      let resultStartLineNumber = a.startLineNumber;\n      let resultStartColumn = a.startColumn;\n      let resultEndLineNumber = a.endLineNumber;\n      let resultEndColumn = a.endColumn;\n      const otherStartLineNumber = b.startLineNumber;\n      const otherStartColumn = b.startColumn;\n      const otherEndLineNumber = b.endLineNumber;\n      const otherEndColumn = b.endColumn;\n      if (resultStartLineNumber < otherStartLineNumber) {\n        resultStartLineNumber = otherStartLineNumber;\n        resultStartColumn = otherStartColumn;\n      } else if (resultStartLineNumber === otherStartLineNumber) {\n        resultStartColumn = Math.max(resultStartColumn, otherStartColumn);\n      }\n      if (resultEndLineNumber > otherEndLineNumber) {\n        resultEndLineNumber = otherEndLineNumber;\n        resultEndColumn = otherEndColumn;\n      } else if (resultEndLineNumber === otherEndLineNumber) {\n        resultEndColumn = Math.min(resultEndColumn, otherEndColumn);\n      }\n      if (resultStartLineNumber > resultEndLineNumber) {\n        return null;\n      }\n      if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) {\n        return null;\n      }\n      return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn);\n    }\n    /**\n     * Test if this range equals other.\n     */\n    equalsRange(other) {\n      return _Range.equalsRange(this, other);\n    }\n    /**\n     * Test if range `a` equals `b`.\n     */\n    static equalsRange(a, b) {\n      if (!a && !b) {\n        return true;\n      }\n      return !!a && !!b && a.startLineNumber === b.startLineNumber && a.startColumn === b.startColumn && a.endLineNumber === b.endLineNumber && a.endColumn === b.endColumn;\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    getEndPosition() {\n      return _Range.getEndPosition(this);\n    }\n    /**\n     * Return the end position (which will be after or equal to the start position)\n     */\n    static getEndPosition(range) {\n      return new Position(range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    getStartPosition() {\n      return _Range.getStartPosition(this);\n    }\n    /**\n     * Return the start position (which will be before or equal to the end position)\n     */\n    static getStartPosition(range) {\n      return new Position(range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Transform to a user presentable string representation.\n     */\n    toString() {\n      return \"[\" + this.startLineNumber + \",\" + this.startColumn + \" -> \" + this.endLineNumber + \",\" + this.endColumn + \"]\";\n    }\n    /**\n     * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n    }\n    /**\n     * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    collapseToStart() {\n      return _Range.collapseToStart(this);\n    }\n    /**\n     * Create a new empty range using this range's start position.\n     */\n    static collapseToStart(range) {\n      return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    collapseToEnd() {\n      return _Range.collapseToEnd(this);\n    }\n    /**\n     * Create a new empty range using this range's end position.\n     */\n    static collapseToEnd(range) {\n      return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Moves the range by the given amount of lines.\n     */\n    delta(lineCount) {\n      return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn);\n    }\n    // ---\n    static fromPositions(start, end = start) {\n      return new _Range(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    static lift(range) {\n      if (!range) {\n        return null;\n      }\n      return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n    }\n    /**\n     * Test if `obj` is an `IRange`.\n     */\n    static isIRange(obj) {\n      return obj && typeof obj.startLineNumber === \"number\" && typeof obj.startColumn === \"number\" && typeof obj.endLineNumber === \"number\" && typeof obj.endColumn === \"number\";\n    }\n    /**\n     * Test if the two ranges are touching in any way.\n     */\n    static areIntersectingOrTouching(a, b) {\n      if (a.endLineNumber < b.startLineNumber || a.endLineNumber === b.startLineNumber && a.endColumn < b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a.startLineNumber || b.endLineNumber === a.startLineNumber && b.endColumn < a.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * Test if the two ranges are intersecting. If the ranges are touching it returns true.\n     */\n    static areIntersecting(a, b) {\n      if (a.endLineNumber < b.startLineNumber || a.endLineNumber === b.startLineNumber && a.endColumn <= b.startColumn) {\n        return false;\n      }\n      if (b.endLineNumber < a.startLineNumber || b.endLineNumber === a.startLineNumber && b.endColumn <= a.startColumn) {\n        return false;\n      }\n      return true;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the startPosition and then on the endPosition\n     */\n    static compareRangesUsingStarts(a, b) {\n      if (a && b) {\n        const aStartLineNumber = a.startLineNumber | 0;\n        const bStartLineNumber = b.startLineNumber | 0;\n        if (aStartLineNumber === bStartLineNumber) {\n          const aStartColumn = a.startColumn | 0;\n          const bStartColumn = b.startColumn | 0;\n          if (aStartColumn === bStartColumn) {\n            const aEndLineNumber = a.endLineNumber | 0;\n            const bEndLineNumber = b.endLineNumber | 0;\n            if (aEndLineNumber === bEndLineNumber) {\n              const aEndColumn = a.endColumn | 0;\n              const bEndColumn = b.endColumn | 0;\n              return aEndColumn - bEndColumn;\n            }\n            return aEndLineNumber - bEndLineNumber;\n          }\n          return aStartColumn - bStartColumn;\n        }\n        return aStartLineNumber - bStartLineNumber;\n      }\n      const aExists = a ? 1 : 0;\n      const bExists = b ? 1 : 0;\n      return aExists - bExists;\n    }\n    /**\n     * A function that compares ranges, useful for sorting ranges\n     * It will first compare ranges on the endPosition and then on the startPosition\n     */\n    static compareRangesUsingEnds(a, b) {\n      if (a.endLineNumber === b.endLineNumber) {\n        if (a.endColumn === b.endColumn) {\n          if (a.startLineNumber === b.startLineNumber) {\n            return a.startColumn - b.startColumn;\n          }\n          return a.startLineNumber - b.startLineNumber;\n        }\n        return a.endColumn - b.endColumn;\n      }\n      return a.endLineNumber - b.endLineNumber;\n    }\n    /**\n     * Test if the range spans multiple lines.\n     */\n    static spansMultipleLines(range) {\n      return range.endLineNumber > range.startLineNumber;\n    }\n    toJSON() {\n      return this;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arrays.js\n  function equals(one, other, itemEquals = (a, b) => a === b) {\n    if (one === other) {\n      return true;\n    }\n    if (!one || !other) {\n      return false;\n    }\n    if (one.length !== other.length) {\n      return false;\n    }\n    for (let i = 0, len = one.length; i < len; i++) {\n      if (!itemEquals(one[i], other[i])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function* groupAdjacentBy(items, shouldBeGrouped) {\n    let currentGroup;\n    let last;\n    for (const item of items) {\n      if (last !== void 0 && shouldBeGrouped(last, item)) {\n        currentGroup.push(item);\n      } else {\n        if (currentGroup) {\n          yield currentGroup;\n        }\n        currentGroup = [item];\n      }\n      last = item;\n    }\n    if (currentGroup) {\n      yield currentGroup;\n    }\n  }\n  function forEachAdjacent(arr, f) {\n    for (let i = 0; i <= arr.length; i++) {\n      f(i === 0 ? void 0 : arr[i - 1], i === arr.length ? void 0 : arr[i]);\n    }\n  }\n  function forEachWithNeighbors(arr, f) {\n    for (let i = 0; i < arr.length; i++) {\n      f(i === 0 ? void 0 : arr[i - 1], arr[i], i + 1 === arr.length ? void 0 : arr[i + 1]);\n    }\n  }\n  function pushMany(arr, items) {\n    for (const item of items) {\n      arr.push(item);\n    }\n  }\n  var CompareResult;\n  (function(CompareResult2) {\n    function isLessThan(result) {\n      return result < 0;\n    }\n    CompareResult2.isLessThan = isLessThan;\n    function isLessThanOrEqual(result) {\n      return result <= 0;\n    }\n    CompareResult2.isLessThanOrEqual = isLessThanOrEqual;\n    function isGreaterThan(result) {\n      return result > 0;\n    }\n    CompareResult2.isGreaterThan = isGreaterThan;\n    function isNeitherLessOrGreaterThan(result) {\n      return result === 0;\n    }\n    CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan;\n    CompareResult2.greaterThan = 1;\n    CompareResult2.lessThan = -1;\n    CompareResult2.neitherLessOrGreaterThan = 0;\n  })(CompareResult || (CompareResult = {}));\n  function compareBy(selector, comparator) {\n    return (a, b) => comparator(selector(a), selector(b));\n  }\n  var numberComparator = (a, b) => a - b;\n  function reverseOrder(comparator) {\n    return (a, b) => -comparator(a, b);\n  }\n  var CallbackIterable = class _CallbackIterable {\n    constructor(iterate) {\n      this.iterate = iterate;\n    }\n    toArray() {\n      const result = [];\n      this.iterate((item) => {\n        result.push(item);\n        return true;\n      });\n      return result;\n    }\n    filter(predicate) {\n      return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true));\n    }\n    map(mapFn) {\n      return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item))));\n    }\n    findLast(predicate) {\n      let result;\n      this.iterate((item) => {\n        if (predicate(item)) {\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n    findLastMaxBy(comparator) {\n      let result;\n      let first = true;\n      this.iterate((item) => {\n        if (first || CompareResult.isGreaterThan(comparator(item, result))) {\n          first = false;\n          result = item;\n        }\n        return true;\n      });\n      return result;\n    }\n  };\n  CallbackIterable.empty = new CallbackIterable((_callback) => {\n  });\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/uint.js\n  function toUint8(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 255) {\n      return 255;\n    }\n    return v | 0;\n  }\n  function toUint32(v) {\n    if (v < 0) {\n      return 0;\n    }\n    if (v > 4294967295) {\n      return 4294967295;\n    }\n    return v | 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js\n  var PrefixSumComputer = class {\n    constructor(values) {\n      this.values = values;\n      this.prefixSum = new Uint32Array(values.length);\n      this.prefixSumValidIndex = new Int32Array(1);\n      this.prefixSumValidIndex[0] = -1;\n    }\n    insertValues(insertIndex, insertValues) {\n      insertIndex = toUint32(insertIndex);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      const insertValuesLen = insertValues.length;\n      if (insertValuesLen === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length + insertValuesLen);\n      this.values.set(oldValues.subarray(0, insertIndex), 0);\n      this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen);\n      this.values.set(insertValues, insertIndex);\n      if (insertIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = insertIndex - 1;\n      }\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    setValue(index, value) {\n      index = toUint32(index);\n      value = toUint32(value);\n      if (this.values[index] === value) {\n        return false;\n      }\n      this.values[index] = value;\n      if (index - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = index - 1;\n      }\n      return true;\n    }\n    removeValues(startIndex, count) {\n      startIndex = toUint32(startIndex);\n      count = toUint32(count);\n      const oldValues = this.values;\n      const oldPrefixSum = this.prefixSum;\n      if (startIndex >= oldValues.length) {\n        return false;\n      }\n      const maxCount = oldValues.length - startIndex;\n      if (count >= maxCount) {\n        count = maxCount;\n      }\n      if (count === 0) {\n        return false;\n      }\n      this.values = new Uint32Array(oldValues.length - count);\n      this.values.set(oldValues.subarray(0, startIndex), 0);\n      this.values.set(oldValues.subarray(startIndex + count), startIndex);\n      this.prefixSum = new Uint32Array(this.values.length);\n      if (startIndex - 1 < this.prefixSumValidIndex[0]) {\n        this.prefixSumValidIndex[0] = startIndex - 1;\n      }\n      if (this.prefixSumValidIndex[0] >= 0) {\n        this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\n      }\n      return true;\n    }\n    getTotalSum() {\n      if (this.values.length === 0) {\n        return 0;\n      }\n      return this._getPrefixSum(this.values.length - 1);\n    }\n    /**\n     * Returns the sum of the first `index + 1` many items.\n     * @returns `SUM(0 <= j <= index, values[j])`.\n     */\n    getPrefixSum(index) {\n      if (index < 0) {\n        return 0;\n      }\n      index = toUint32(index);\n      return this._getPrefixSum(index);\n    }\n    _getPrefixSum(index) {\n      if (index <= this.prefixSumValidIndex[0]) {\n        return this.prefixSum[index];\n      }\n      let startIndex = this.prefixSumValidIndex[0] + 1;\n      if (startIndex === 0) {\n        this.prefixSum[0] = this.values[0];\n        startIndex++;\n      }\n      if (index >= this.values.length) {\n        index = this.values.length - 1;\n      }\n      for (let i = startIndex; i <= index; i++) {\n        this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i];\n      }\n      this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index);\n      return this.prefixSum[index];\n    }\n    getIndexOf(sum) {\n      sum = Math.floor(sum);\n      this.getTotalSum();\n      let low = 0;\n      let high = this.values.length - 1;\n      let mid = 0;\n      let midStop = 0;\n      let midStart = 0;\n      while (low <= high) {\n        mid = low + (high - low) / 2 | 0;\n        midStop = this.prefixSum[mid];\n        midStart = midStop - this.values[mid];\n        if (sum < midStart) {\n          high = mid - 1;\n        } else if (sum >= midStop) {\n          low = mid + 1;\n        } else {\n          break;\n        }\n      }\n      return new PrefixSumIndexOfResult(mid, sum - midStart);\n    }\n  };\n  var PrefixSumIndexOfResult = class {\n    constructor(index, remainder) {\n      this.index = index;\n      this.remainder = remainder;\n      this._prefixSumIndexOfResultBrand = void 0;\n      this.index = index;\n      this.remainder = remainder;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js\n  var MirrorTextModel = class {\n    constructor(uri, lines, eol, versionId) {\n      this._uri = uri;\n      this._lines = lines;\n      this._eol = eol;\n      this._versionId = versionId;\n      this._lineStarts = null;\n      this._cachedTextValue = null;\n    }\n    dispose() {\n      this._lines.length = 0;\n    }\n    get version() {\n      return this._versionId;\n    }\n    getText() {\n      if (this._cachedTextValue === null) {\n        this._cachedTextValue = this._lines.join(this._eol);\n      }\n      return this._cachedTextValue;\n    }\n    onEvents(e) {\n      if (e.eol && e.eol !== this._eol) {\n        this._eol = e.eol;\n        this._lineStarts = null;\n      }\n      const changes = e.changes;\n      for (const change of changes) {\n        this._acceptDeleteRange(change.range);\n        this._acceptInsertText(new Position(change.range.startLineNumber, change.range.startColumn), change.text);\n      }\n      this._versionId = e.versionId;\n      this._cachedTextValue = null;\n    }\n    _ensureLineStarts() {\n      if (!this._lineStarts) {\n        const eolLength = this._eol.length;\n        const linesLength = this._lines.length;\n        const lineStartValues = new Uint32Array(linesLength);\n        for (let i = 0; i < linesLength; i++) {\n          lineStartValues[i] = this._lines[i].length + eolLength;\n        }\n        this._lineStarts = new PrefixSumComputer(lineStartValues);\n      }\n    }\n    /**\n     * All changes to a line's text go through this method\n     */\n    _setLineText(lineIndex, newValue) {\n      this._lines[lineIndex] = newValue;\n      if (this._lineStarts) {\n        this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length);\n      }\n    }\n    _acceptDeleteRange(range) {\n      if (range.startLineNumber === range.endLineNumber) {\n        if (range.startColumn === range.endColumn) {\n          return;\n        }\n        this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1));\n        return;\n      }\n      this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1));\n      this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      if (this._lineStarts) {\n        this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber);\n      }\n    }\n    _acceptInsertText(position, insertText) {\n      if (insertText.length === 0) {\n        return;\n      }\n      const insertLines = splitLines(insertText);\n      if (insertLines.length === 1) {\n        this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0] + this._lines[position.lineNumber - 1].substring(position.column - 1));\n        return;\n      }\n      insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1);\n      this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0]);\n      const newLengths = new Uint32Array(insertLines.length - 1);\n      for (let i = 1; i < insertLines.length; i++) {\n        this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]);\n        newLengths[i - 1] = insertLines[i].length + this._eol.length;\n      }\n      if (this._lineStarts) {\n        this._lineStarts.insertValues(position.lineNumber, newLengths);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js\n  var USUAL_WORD_SEPARATORS = \"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";\n  function createWordRegExp(allowInWords = \"\") {\n    let source = \"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";\n    for (const sep2 of USUAL_WORD_SEPARATORS) {\n      if (allowInWords.indexOf(sep2) >= 0) {\n        continue;\n      }\n      source += \"\\\\\" + sep2;\n    }\n    source += \"\\\\s]+)\";\n    return new RegExp(source, \"g\");\n  }\n  var DEFAULT_WORD_REGEXP = createWordRegExp();\n  function ensureValidWordDefinition(wordDefinition) {\n    let result = DEFAULT_WORD_REGEXP;\n    if (wordDefinition && wordDefinition instanceof RegExp) {\n      if (!wordDefinition.global) {\n        let flags = \"g\";\n        if (wordDefinition.ignoreCase) {\n          flags += \"i\";\n        }\n        if (wordDefinition.multiline) {\n          flags += \"m\";\n        }\n        if (wordDefinition.unicode) {\n          flags += \"u\";\n        }\n        result = new RegExp(wordDefinition.source, flags);\n      } else {\n        result = wordDefinition;\n      }\n    }\n    result.lastIndex = 0;\n    return result;\n  }\n  var _defaultConfig = new LinkedList();\n  _defaultConfig.unshift({\n    maxLen: 1e3,\n    windowSize: 15,\n    timeBudget: 150\n  });\n  function getWordAtText(column, wordDefinition, text, textOffset, config) {\n    wordDefinition = ensureValidWordDefinition(wordDefinition);\n    if (!config) {\n      config = Iterable.first(_defaultConfig);\n    }\n    if (text.length > config.maxLen) {\n      let start = column - config.maxLen / 2;\n      if (start < 0) {\n        start = 0;\n      } else {\n        textOffset += start;\n      }\n      text = text.substring(start, column + config.maxLen / 2);\n      return getWordAtText(column, wordDefinition, text, textOffset, config);\n    }\n    const t1 = Date.now();\n    const pos = column - 1 - textOffset;\n    let prevRegexIndex = -1;\n    let match = null;\n    for (let i = 1; ; i++) {\n      if (Date.now() - t1 >= config.timeBudget) {\n        break;\n      }\n      const regexIndex = pos - config.windowSize * i;\n      wordDefinition.lastIndex = Math.max(0, regexIndex);\n      const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex);\n      if (!thisMatch && match) {\n        break;\n      }\n      match = thisMatch;\n      if (regexIndex <= 0) {\n        break;\n      }\n      prevRegexIndex = regexIndex;\n    }\n    if (match) {\n      const result = {\n        word: match[0],\n        startColumn: textOffset + 1 + match.index,\n        endColumn: textOffset + 1 + match.index + match[0].length\n      };\n      wordDefinition.lastIndex = 0;\n      return result;\n    }\n    return null;\n  }\n  function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {\n    let match;\n    while (match = wordDefinition.exec(text)) {\n      const matchIndex = match.index || 0;\n      if (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\n        return match;\n      } else if (stopPos > 0 && matchIndex > stopPos) {\n        return null;\n      }\n    }\n    return null;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js\n  var CharacterClassifier = class _CharacterClassifier {\n    constructor(_defaultValue) {\n      const defaultValue = toUint8(_defaultValue);\n      this._defaultValue = defaultValue;\n      this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue);\n      this._map = /* @__PURE__ */ new Map();\n    }\n    static _createAsciiMap(defaultValue) {\n      const asciiMap = new Uint8Array(256);\n      asciiMap.fill(defaultValue);\n      return asciiMap;\n    }\n    set(charCode, _value) {\n      const value = toUint8(_value);\n      if (charCode >= 0 && charCode < 256) {\n        this._asciiMap[charCode] = value;\n      } else {\n        this._map.set(charCode, value);\n      }\n    }\n    get(charCode) {\n      if (charCode >= 0 && charCode < 256) {\n        return this._asciiMap[charCode];\n      } else {\n        return this._map.get(charCode) || this._defaultValue;\n      }\n    }\n    clear() {\n      this._asciiMap.fill(this._defaultValue);\n      this._map.clear();\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js\n  var Uint8Matrix = class {\n    constructor(rows, cols, defaultValue) {\n      const data = new Uint8Array(rows * cols);\n      for (let i = 0, len = rows * cols; i < len; i++) {\n        data[i] = defaultValue;\n      }\n      this._data = data;\n      this.rows = rows;\n      this.cols = cols;\n    }\n    get(row, col) {\n      return this._data[row * this.cols + col];\n    }\n    set(row, col, value) {\n      this._data[row * this.cols + col] = value;\n    }\n  };\n  var StateMachine = class {\n    constructor(edges) {\n      let maxCharCode = 0;\n      let maxState = 0;\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        if (chCode > maxCharCode) {\n          maxCharCode = chCode;\n        }\n        if (from > maxState) {\n          maxState = from;\n        }\n        if (to > maxState) {\n          maxState = to;\n        }\n      }\n      maxCharCode++;\n      maxState++;\n      const states = new Uint8Matrix(\n        maxState,\n        maxCharCode,\n        0\n        /* State.Invalid */\n      );\n      for (let i = 0, len = edges.length; i < len; i++) {\n        const [from, chCode, to] = edges[i];\n        states.set(from, chCode, to);\n      }\n      this._states = states;\n      this._maxCharCode = maxCharCode;\n    }\n    nextState(currentState, chCode) {\n      if (chCode < 0 || chCode >= this._maxCharCode) {\n        return 0;\n      }\n      return this._states.get(currentState, chCode);\n    }\n  };\n  var _stateMachine = null;\n  function getStateMachine() {\n    if (_stateMachine === null) {\n      _stateMachine = new StateMachine([\n        [\n          1,\n          104,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          72,\n          2\n          /* State.H */\n        ],\n        [\n          1,\n          102,\n          6\n          /* State.F */\n        ],\n        [\n          1,\n          70,\n          6\n          /* State.F */\n        ],\n        [\n          2,\n          116,\n          3\n          /* State.HT */\n        ],\n        [\n          2,\n          84,\n          3\n          /* State.HT */\n        ],\n        [\n          3,\n          116,\n          4\n          /* State.HTT */\n        ],\n        [\n          3,\n          84,\n          4\n          /* State.HTT */\n        ],\n        [\n          4,\n          112,\n          5\n          /* State.HTTP */\n        ],\n        [\n          4,\n          80,\n          5\n          /* State.HTTP */\n        ],\n        [\n          5,\n          115,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          83,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          5,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          6,\n          105,\n          7\n          /* State.FI */\n        ],\n        [\n          6,\n          73,\n          7\n          /* State.FI */\n        ],\n        [\n          7,\n          108,\n          8\n          /* State.FIL */\n        ],\n        [\n          7,\n          76,\n          8\n          /* State.FIL */\n        ],\n        [\n          8,\n          101,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          8,\n          69,\n          9\n          /* State.BeforeColon */\n        ],\n        [\n          9,\n          58,\n          10\n          /* State.AfterColon */\n        ],\n        [\n          10,\n          47,\n          11\n          /* State.AlmostThere */\n        ],\n        [\n          11,\n          47,\n          12\n          /* State.End */\n        ]\n      ]);\n    }\n    return _stateMachine;\n  }\n  var _classifier = null;\n  function getClassifier() {\n    if (_classifier === null) {\n      _classifier = new CharacterClassifier(\n        0\n        /* CharacterClass.None */\n      );\n      const FORCE_TERMINATION_CHARACTERS = ` \t<>'\"\\u3001\\u3002\\uFF61\\uFF64\\uFF0C\\uFF0E\\uFF1A\\uFF1B\\u2018\\u3008\\u300C\\u300E\\u3014\\uFF08\\uFF3B\\uFF5B\\uFF62\\uFF63\\uFF5D\\uFF3D\\uFF09\\u3015\\u300F\\u300D\\u3009\\u2019\\uFF40\\uFF5E\\u2026`;\n      for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) {\n        _classifier.set(\n          FORCE_TERMINATION_CHARACTERS.charCodeAt(i),\n          1\n          /* CharacterClass.ForceTermination */\n        );\n      }\n      const CANNOT_END_WITH_CHARACTERS = \".,;:\";\n      for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) {\n        _classifier.set(\n          CANNOT_END_WITH_CHARACTERS.charCodeAt(i),\n          2\n          /* CharacterClass.CannotEndIn */\n        );\n      }\n    }\n    return _classifier;\n  }\n  var LinkComputer = class _LinkComputer {\n    static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) {\n      let lastIncludedCharIndex = linkEndIndex - 1;\n      do {\n        const chCode = line.charCodeAt(lastIncludedCharIndex);\n        const chClass = classifier.get(chCode);\n        if (chClass !== 2) {\n          break;\n        }\n        lastIncludedCharIndex--;\n      } while (lastIncludedCharIndex > linkBeginIndex);\n      if (linkBeginIndex > 0) {\n        const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);\n        const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);\n        if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) {\n          lastIncludedCharIndex--;\n        }\n      }\n      return {\n        range: {\n          startLineNumber: lineNumber,\n          startColumn: linkBeginIndex + 1,\n          endLineNumber: lineNumber,\n          endColumn: lastIncludedCharIndex + 2\n        },\n        url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1)\n      };\n    }\n    static computeLinks(model, stateMachine = getStateMachine()) {\n      const classifier = getClassifier();\n      const result = [];\n      for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) {\n        const line = model.getLineContent(i);\n        const len = line.length;\n        let j = 0;\n        let linkBeginIndex = 0;\n        let linkBeginChCode = 0;\n        let state = 1;\n        let hasOpenParens = false;\n        let hasOpenSquareBracket = false;\n        let inSquareBrackets = false;\n        let hasOpenCurlyBracket = false;\n        while (j < len) {\n          let resetStateMachine = false;\n          const chCode = line.charCodeAt(j);\n          if (state === 13) {\n            let chClass;\n            switch (chCode) {\n              case 40:\n                hasOpenParens = true;\n                chClass = 0;\n                break;\n              case 41:\n                chClass = hasOpenParens ? 0 : 1;\n                break;\n              case 91:\n                inSquareBrackets = true;\n                hasOpenSquareBracket = true;\n                chClass = 0;\n                break;\n              case 93:\n                inSquareBrackets = false;\n                chClass = hasOpenSquareBracket ? 0 : 1;\n                break;\n              case 123:\n                hasOpenCurlyBracket = true;\n                chClass = 0;\n                break;\n              case 125:\n                chClass = hasOpenCurlyBracket ? 0 : 1;\n                break;\n              case 39:\n              case 34:\n              case 96:\n                if (linkBeginChCode === chCode) {\n                  chClass = 1;\n                } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) {\n                  chClass = 0;\n                } else {\n                  chClass = 1;\n                }\n                break;\n              case 42:\n                chClass = linkBeginChCode === 42 ? 1 : 0;\n                break;\n              case 124:\n                chClass = linkBeginChCode === 124 ? 1 : 0;\n                break;\n              case 32:\n                chClass = inSquareBrackets ? 0 : 1;\n                break;\n              default:\n                chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j));\n              resetStateMachine = true;\n            }\n          } else if (state === 12) {\n            let chClass;\n            if (chCode === 91) {\n              hasOpenSquareBracket = true;\n              chClass = 0;\n            } else {\n              chClass = classifier.get(chCode);\n            }\n            if (chClass === 1) {\n              resetStateMachine = true;\n            } else {\n              state = 13;\n            }\n          } else {\n            state = stateMachine.nextState(state, chCode);\n            if (state === 0) {\n              resetStateMachine = true;\n            }\n          }\n          if (resetStateMachine) {\n            state = 1;\n            hasOpenParens = false;\n            hasOpenSquareBracket = false;\n            hasOpenCurlyBracket = false;\n            linkBeginIndex = j + 1;\n            linkBeginChCode = chCode;\n          }\n          j++;\n        }\n        if (state === 13) {\n          result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len));\n        }\n      }\n      return result;\n    }\n  };\n  function computeLinks(model) {\n    if (!model || typeof model.getLineCount !== \"function\" || typeof model.getLineContent !== \"function\") {\n      return [];\n    }\n    return LinkComputer.computeLinks(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js\n  var BasicInplaceReplace = class {\n    constructor() {\n      this._defaultValueSet = [\n        [\"true\", \"false\"],\n        [\"True\", \"False\"],\n        [\"Private\", \"Public\", \"Friend\", \"ReadOnly\", \"Partial\", \"Protected\", \"WriteOnly\"],\n        [\"public\", \"protected\", \"private\"]\n      ];\n    }\n    navigateValueSet(range1, text1, range2, text2, up) {\n      if (range1 && text1) {\n        const result = this.doNavigateValueSet(text1, up);\n        if (result) {\n          return {\n            range: range1,\n            value: result\n          };\n        }\n      }\n      if (range2 && text2) {\n        const result = this.doNavigateValueSet(text2, up);\n        if (result) {\n          return {\n            range: range2,\n            value: result\n          };\n        }\n      }\n      return null;\n    }\n    doNavigateValueSet(text, up) {\n      const numberResult = this.numberReplace(text, up);\n      if (numberResult !== null) {\n        return numberResult;\n      }\n      return this.textReplace(text, up);\n    }\n    numberReplace(value, up) {\n      const precision = Math.pow(10, value.length - (value.lastIndexOf(\".\") + 1));\n      let n1 = Number(value);\n      const n2 = parseFloat(value);\n      if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\n        if (n1 === 0 && !up) {\n          return null;\n        } else {\n          n1 = Math.floor(n1 * precision);\n          n1 += up ? precision : -precision;\n          return String(n1 / precision);\n        }\n      }\n      return null;\n    }\n    textReplace(value, up) {\n      return this.valueSetsReplace(this._defaultValueSet, value, up);\n    }\n    valueSetsReplace(valueSets, value, up) {\n      let result = null;\n      for (let i = 0, len = valueSets.length; result === null && i < len; i++) {\n        result = this.valueSetReplace(valueSets[i], value, up);\n      }\n      return result;\n    }\n    valueSetReplace(valueSet, value, up) {\n      let idx = valueSet.indexOf(value);\n      if (idx >= 0) {\n        idx += up ? 1 : -1;\n        if (idx < 0) {\n          idx = valueSet.length - 1;\n        } else {\n          idx %= valueSet.length;\n        }\n        return valueSet[idx];\n      }\n      return null;\n    }\n  };\n  BasicInplaceReplace.INSTANCE = new BasicInplaceReplace();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/cancellation.js\n  var shortcutEvent = Object.freeze(function(callback, context) {\n    const handle = setTimeout(callback.bind(context), 0);\n    return { dispose() {\n      clearTimeout(handle);\n    } };\n  });\n  var CancellationToken;\n  (function(CancellationToken2) {\n    function isCancellationToken(thing) {\n      if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) {\n        return true;\n      }\n      if (thing instanceof MutableToken) {\n        return true;\n      }\n      if (!thing || typeof thing !== \"object\") {\n        return false;\n      }\n      return typeof thing.isCancellationRequested === \"boolean\" && typeof thing.onCancellationRequested === \"function\";\n    }\n    CancellationToken2.isCancellationToken = isCancellationToken;\n    CancellationToken2.None = Object.freeze({\n      isCancellationRequested: false,\n      onCancellationRequested: Event.None\n    });\n    CancellationToken2.Cancelled = Object.freeze({\n      isCancellationRequested: true,\n      onCancellationRequested: shortcutEvent\n    });\n  })(CancellationToken || (CancellationToken = {}));\n  var MutableToken = class {\n    constructor() {\n      this._isCancelled = false;\n      this._emitter = null;\n    }\n    cancel() {\n      if (!this._isCancelled) {\n        this._isCancelled = true;\n        if (this._emitter) {\n          this._emitter.fire(void 0);\n          this.dispose();\n        }\n      }\n    }\n    get isCancellationRequested() {\n      return this._isCancelled;\n    }\n    get onCancellationRequested() {\n      if (this._isCancelled) {\n        return shortcutEvent;\n      }\n      if (!this._emitter) {\n        this._emitter = new Emitter();\n      }\n      return this._emitter.event;\n    }\n    dispose() {\n      if (this._emitter) {\n        this._emitter.dispose();\n        this._emitter = null;\n      }\n    }\n  };\n  var CancellationTokenSource = class {\n    constructor(parent) {\n      this._token = void 0;\n      this._parentListener = void 0;\n      this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);\n    }\n    get token() {\n      if (!this._token) {\n        this._token = new MutableToken();\n      }\n      return this._token;\n    }\n    cancel() {\n      if (!this._token) {\n        this._token = CancellationToken.Cancelled;\n      } else if (this._token instanceof MutableToken) {\n        this._token.cancel();\n      }\n    }\n    dispose(cancel = false) {\n      var _a4;\n      if (cancel) {\n        this.cancel();\n      }\n      (_a4 = this._parentListener) === null || _a4 === void 0 ? void 0 : _a4.dispose();\n      if (!this._token) {\n        this._token = CancellationToken.None;\n      } else if (this._token instanceof MutableToken) {\n        this._token.dispose();\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/keyCodes.js\n  var KeyCodeStrMap = class {\n    constructor() {\n      this._keyCodeToStr = [];\n      this._strToKeyCode = /* @__PURE__ */ Object.create(null);\n    }\n    define(keyCode, str) {\n      this._keyCodeToStr[keyCode] = str;\n      this._strToKeyCode[str.toLowerCase()] = keyCode;\n    }\n    keyCodeToStr(keyCode) {\n      return this._keyCodeToStr[keyCode];\n    }\n    strToKeyCode(str) {\n      return this._strToKeyCode[str.toLowerCase()] || 0;\n    }\n  };\n  var uiMap = new KeyCodeStrMap();\n  var userSettingsUSMap = new KeyCodeStrMap();\n  var userSettingsGeneralMap = new KeyCodeStrMap();\n  var EVENT_KEY_CODE_MAP = new Array(230);\n  var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {};\n  var scanCodeIntToStr = [];\n  var scanCodeStrToInt = /* @__PURE__ */ Object.create(null);\n  var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null);\n  var IMMUTABLE_CODE_TO_KEY_CODE = [];\n  var IMMUTABLE_KEY_CODE_TO_CODE = [];\n  for (let i = 0; i <= 193; i++) {\n    IMMUTABLE_CODE_TO_KEY_CODE[i] = -1;\n  }\n  for (let i = 0; i <= 132; i++) {\n    IMMUTABLE_KEY_CODE_TO_CODE[i] = -1;\n  }\n  (function() {\n    const empty = \"\";\n    const mappings = [\n      // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel\n      [1, 0, \"None\", 0, \"unknown\", 0, \"VK_UNKNOWN\", empty, empty],\n      [1, 1, \"Hyper\", 0, empty, 0, empty, empty, empty],\n      [1, 2, \"Super\", 0, empty, 0, empty, empty, empty],\n      [1, 3, \"Fn\", 0, empty, 0, empty, empty, empty],\n      [1, 4, \"FnLock\", 0, empty, 0, empty, empty, empty],\n      [1, 5, \"Suspend\", 0, empty, 0, empty, empty, empty],\n      [1, 6, \"Resume\", 0, empty, 0, empty, empty, empty],\n      [1, 7, \"Turbo\", 0, empty, 0, empty, empty, empty],\n      [1, 8, \"Sleep\", 0, empty, 0, \"VK_SLEEP\", empty, empty],\n      [1, 9, \"WakeUp\", 0, empty, 0, empty, empty, empty],\n      [0, 10, \"KeyA\", 31, \"A\", 65, \"VK_A\", empty, empty],\n      [0, 11, \"KeyB\", 32, \"B\", 66, \"VK_B\", empty, empty],\n      [0, 12, \"KeyC\", 33, \"C\", 67, \"VK_C\", empty, empty],\n      [0, 13, \"KeyD\", 34, \"D\", 68, \"VK_D\", empty, empty],\n      [0, 14, \"KeyE\", 35, \"E\", 69, \"VK_E\", empty, empty],\n      [0, 15, \"KeyF\", 36, \"F\", 70, \"VK_F\", empty, empty],\n      [0, 16, \"KeyG\", 37, \"G\", 71, \"VK_G\", empty, empty],\n      [0, 17, \"KeyH\", 38, \"H\", 72, \"VK_H\", empty, empty],\n      [0, 18, \"KeyI\", 39, \"I\", 73, \"VK_I\", empty, empty],\n      [0, 19, \"KeyJ\", 40, \"J\", 74, \"VK_J\", empty, empty],\n      [0, 20, \"KeyK\", 41, \"K\", 75, \"VK_K\", empty, empty],\n      [0, 21, \"KeyL\", 42, \"L\", 76, \"VK_L\", empty, empty],\n      [0, 22, \"KeyM\", 43, \"M\", 77, \"VK_M\", empty, empty],\n      [0, 23, \"KeyN\", 44, \"N\", 78, \"VK_N\", empty, empty],\n      [0, 24, \"KeyO\", 45, \"O\", 79, \"VK_O\", empty, empty],\n      [0, 25, \"KeyP\", 46, \"P\", 80, \"VK_P\", empty, empty],\n      [0, 26, \"KeyQ\", 47, \"Q\", 81, \"VK_Q\", empty, empty],\n      [0, 27, \"KeyR\", 48, \"R\", 82, \"VK_R\", empty, empty],\n      [0, 28, \"KeyS\", 49, \"S\", 83, \"VK_S\", empty, empty],\n      [0, 29, \"KeyT\", 50, \"T\", 84, \"VK_T\", empty, empty],\n      [0, 30, \"KeyU\", 51, \"U\", 85, \"VK_U\", empty, empty],\n      [0, 31, \"KeyV\", 52, \"V\", 86, \"VK_V\", empty, empty],\n      [0, 32, \"KeyW\", 53, \"W\", 87, \"VK_W\", empty, empty],\n      [0, 33, \"KeyX\", 54, \"X\", 88, \"VK_X\", empty, empty],\n      [0, 34, \"KeyY\", 55, \"Y\", 89, \"VK_Y\", empty, empty],\n      [0, 35, \"KeyZ\", 56, \"Z\", 90, \"VK_Z\", empty, empty],\n      [0, 36, \"Digit1\", 22, \"1\", 49, \"VK_1\", empty, empty],\n      [0, 37, \"Digit2\", 23, \"2\", 50, \"VK_2\", empty, empty],\n      [0, 38, \"Digit3\", 24, \"3\", 51, \"VK_3\", empty, empty],\n      [0, 39, \"Digit4\", 25, \"4\", 52, \"VK_4\", empty, empty],\n      [0, 40, \"Digit5\", 26, \"5\", 53, \"VK_5\", empty, empty],\n      [0, 41, \"Digit6\", 27, \"6\", 54, \"VK_6\", empty, empty],\n      [0, 42, \"Digit7\", 28, \"7\", 55, \"VK_7\", empty, empty],\n      [0, 43, \"Digit8\", 29, \"8\", 56, \"VK_8\", empty, empty],\n      [0, 44, \"Digit9\", 30, \"9\", 57, \"VK_9\", empty, empty],\n      [0, 45, \"Digit0\", 21, \"0\", 48, \"VK_0\", empty, empty],\n      [1, 46, \"Enter\", 3, \"Enter\", 13, \"VK_RETURN\", empty, empty],\n      [1, 47, \"Escape\", 9, \"Escape\", 27, \"VK_ESCAPE\", empty, empty],\n      [1, 48, \"Backspace\", 1, \"Backspace\", 8, \"VK_BACK\", empty, empty],\n      [1, 49, \"Tab\", 2, \"Tab\", 9, \"VK_TAB\", empty, empty],\n      [1, 50, \"Space\", 10, \"Space\", 32, \"VK_SPACE\", empty, empty],\n      [0, 51, \"Minus\", 88, \"-\", 189, \"VK_OEM_MINUS\", \"-\", \"OEM_MINUS\"],\n      [0, 52, \"Equal\", 86, \"=\", 187, \"VK_OEM_PLUS\", \"=\", \"OEM_PLUS\"],\n      [0, 53, \"BracketLeft\", 92, \"[\", 219, \"VK_OEM_4\", \"[\", \"OEM_4\"],\n      [0, 54, \"BracketRight\", 94, \"]\", 221, \"VK_OEM_6\", \"]\", \"OEM_6\"],\n      [0, 55, \"Backslash\", 93, \"\\\\\", 220, \"VK_OEM_5\", \"\\\\\", \"OEM_5\"],\n      [0, 56, \"IntlHash\", 0, empty, 0, empty, empty, empty],\n      // has been dropped from the w3c spec\n      [0, 57, \"Semicolon\", 85, \";\", 186, \"VK_OEM_1\", \";\", \"OEM_1\"],\n      [0, 58, \"Quote\", 95, \"'\", 222, \"VK_OEM_7\", \"'\", \"OEM_7\"],\n      [0, 59, \"Backquote\", 91, \"`\", 192, \"VK_OEM_3\", \"`\", \"OEM_3\"],\n      [0, 60, \"Comma\", 87, \",\", 188, \"VK_OEM_COMMA\", \",\", \"OEM_COMMA\"],\n      [0, 61, \"Period\", 89, \".\", 190, \"VK_OEM_PERIOD\", \".\", \"OEM_PERIOD\"],\n      [0, 62, \"Slash\", 90, \"/\", 191, \"VK_OEM_2\", \"/\", \"OEM_2\"],\n      [1, 63, \"CapsLock\", 8, \"CapsLock\", 20, \"VK_CAPITAL\", empty, empty],\n      [1, 64, \"F1\", 59, \"F1\", 112, \"VK_F1\", empty, empty],\n      [1, 65, \"F2\", 60, \"F2\", 113, \"VK_F2\", empty, empty],\n      [1, 66, \"F3\", 61, \"F3\", 114, \"VK_F3\", empty, empty],\n      [1, 67, \"F4\", 62, \"F4\", 115, \"VK_F4\", empty, empty],\n      [1, 68, \"F5\", 63, \"F5\", 116, \"VK_F5\", empty, empty],\n      [1, 69, \"F6\", 64, \"F6\", 117, \"VK_F6\", empty, empty],\n      [1, 70, \"F7\", 65, \"F7\", 118, \"VK_F7\", empty, empty],\n      [1, 71, \"F8\", 66, \"F8\", 119, \"VK_F8\", empty, empty],\n      [1, 72, \"F9\", 67, \"F9\", 120, \"VK_F9\", empty, empty],\n      [1, 73, \"F10\", 68, \"F10\", 121, \"VK_F10\", empty, empty],\n      [1, 74, \"F11\", 69, \"F11\", 122, \"VK_F11\", empty, empty],\n      [1, 75, \"F12\", 70, \"F12\", 123, \"VK_F12\", empty, empty],\n      [1, 76, \"PrintScreen\", 0, empty, 0, empty, empty, empty],\n      [1, 77, \"ScrollLock\", 84, \"ScrollLock\", 145, \"VK_SCROLL\", empty, empty],\n      [1, 78, \"Pause\", 7, \"PauseBreak\", 19, \"VK_PAUSE\", empty, empty],\n      [1, 79, \"Insert\", 19, \"Insert\", 45, \"VK_INSERT\", empty, empty],\n      [1, 80, \"Home\", 14, \"Home\", 36, \"VK_HOME\", empty, empty],\n      [1, 81, \"PageUp\", 11, \"PageUp\", 33, \"VK_PRIOR\", empty, empty],\n      [1, 82, \"Delete\", 20, \"Delete\", 46, \"VK_DELETE\", empty, empty],\n      [1, 83, \"End\", 13, \"End\", 35, \"VK_END\", empty, empty],\n      [1, 84, \"PageDown\", 12, \"PageDown\", 34, \"VK_NEXT\", empty, empty],\n      [1, 85, \"ArrowRight\", 17, \"RightArrow\", 39, \"VK_RIGHT\", \"Right\", empty],\n      [1, 86, \"ArrowLeft\", 15, \"LeftArrow\", 37, \"VK_LEFT\", \"Left\", empty],\n      [1, 87, \"ArrowDown\", 18, \"DownArrow\", 40, \"VK_DOWN\", \"Down\", empty],\n      [1, 88, \"ArrowUp\", 16, \"UpArrow\", 38, \"VK_UP\", \"Up\", empty],\n      [1, 89, \"NumLock\", 83, \"NumLock\", 144, \"VK_NUMLOCK\", empty, empty],\n      [1, 90, \"NumpadDivide\", 113, \"NumPad_Divide\", 111, \"VK_DIVIDE\", empty, empty],\n      [1, 91, \"NumpadMultiply\", 108, \"NumPad_Multiply\", 106, \"VK_MULTIPLY\", empty, empty],\n      [1, 92, \"NumpadSubtract\", 111, \"NumPad_Subtract\", 109, \"VK_SUBTRACT\", empty, empty],\n      [1, 93, \"NumpadAdd\", 109, \"NumPad_Add\", 107, \"VK_ADD\", empty, empty],\n      [1, 94, \"NumpadEnter\", 3, empty, 0, empty, empty, empty],\n      [1, 95, \"Numpad1\", 99, \"NumPad1\", 97, \"VK_NUMPAD1\", empty, empty],\n      [1, 96, \"Numpad2\", 100, \"NumPad2\", 98, \"VK_NUMPAD2\", empty, empty],\n      [1, 97, \"Numpad3\", 101, \"NumPad3\", 99, \"VK_NUMPAD3\", empty, empty],\n      [1, 98, \"Numpad4\", 102, \"NumPad4\", 100, \"VK_NUMPAD4\", empty, empty],\n      [1, 99, \"Numpad5\", 103, \"NumPad5\", 101, \"VK_NUMPAD5\", empty, empty],\n      [1, 100, \"Numpad6\", 104, \"NumPad6\", 102, \"VK_NUMPAD6\", empty, empty],\n      [1, 101, \"Numpad7\", 105, \"NumPad7\", 103, \"VK_NUMPAD7\", empty, empty],\n      [1, 102, \"Numpad8\", 106, \"NumPad8\", 104, \"VK_NUMPAD8\", empty, empty],\n      [1, 103, \"Numpad9\", 107, \"NumPad9\", 105, \"VK_NUMPAD9\", empty, empty],\n      [1, 104, \"Numpad0\", 98, \"NumPad0\", 96, \"VK_NUMPAD0\", empty, empty],\n      [1, 105, \"NumpadDecimal\", 112, \"NumPad_Decimal\", 110, \"VK_DECIMAL\", empty, empty],\n      [0, 106, \"IntlBackslash\", 97, \"OEM_102\", 226, \"VK_OEM_102\", empty, empty],\n      [1, 107, \"ContextMenu\", 58, \"ContextMenu\", 93, empty, empty, empty],\n      [1, 108, \"Power\", 0, empty, 0, empty, empty, empty],\n      [1, 109, \"NumpadEqual\", 0, empty, 0, empty, empty, empty],\n      [1, 110, \"F13\", 71, \"F13\", 124, \"VK_F13\", empty, empty],\n      [1, 111, \"F14\", 72, \"F14\", 125, \"VK_F14\", empty, empty],\n      [1, 112, \"F15\", 73, \"F15\", 126, \"VK_F15\", empty, empty],\n      [1, 113, \"F16\", 74, \"F16\", 127, \"VK_F16\", empty, empty],\n      [1, 114, \"F17\", 75, \"F17\", 128, \"VK_F17\", empty, empty],\n      [1, 115, \"F18\", 76, \"F18\", 129, \"VK_F18\", empty, empty],\n      [1, 116, \"F19\", 77, \"F19\", 130, \"VK_F19\", empty, empty],\n      [1, 117, \"F20\", 78, \"F20\", 131, \"VK_F20\", empty, empty],\n      [1, 118, \"F21\", 79, \"F21\", 132, \"VK_F21\", empty, empty],\n      [1, 119, \"F22\", 80, \"F22\", 133, \"VK_F22\", empty, empty],\n      [1, 120, \"F23\", 81, \"F23\", 134, \"VK_F23\", empty, empty],\n      [1, 121, \"F24\", 82, \"F24\", 135, \"VK_F24\", empty, empty],\n      [1, 122, \"Open\", 0, empty, 0, empty, empty, empty],\n      [1, 123, \"Help\", 0, empty, 0, empty, empty, empty],\n      [1, 124, \"Select\", 0, empty, 0, empty, empty, empty],\n      [1, 125, \"Again\", 0, empty, 0, empty, empty, empty],\n      [1, 126, \"Undo\", 0, empty, 0, empty, empty, empty],\n      [1, 127, \"Cut\", 0, empty, 0, empty, empty, empty],\n      [1, 128, \"Copy\", 0, empty, 0, empty, empty, empty],\n      [1, 129, \"Paste\", 0, empty, 0, empty, empty, empty],\n      [1, 130, \"Find\", 0, empty, 0, empty, empty, empty],\n      [1, 131, \"AudioVolumeMute\", 117, \"AudioVolumeMute\", 173, \"VK_VOLUME_MUTE\", empty, empty],\n      [1, 132, \"AudioVolumeUp\", 118, \"AudioVolumeUp\", 175, \"VK_VOLUME_UP\", empty, empty],\n      [1, 133, \"AudioVolumeDown\", 119, \"AudioVolumeDown\", 174, \"VK_VOLUME_DOWN\", empty, empty],\n      [1, 134, \"NumpadComma\", 110, \"NumPad_Separator\", 108, \"VK_SEPARATOR\", empty, empty],\n      [0, 135, \"IntlRo\", 115, \"ABNT_C1\", 193, \"VK_ABNT_C1\", empty, empty],\n      [1, 136, \"KanaMode\", 0, empty, 0, empty, empty, empty],\n      [0, 137, \"IntlYen\", 0, empty, 0, empty, empty, empty],\n      [1, 138, \"Convert\", 0, empty, 0, empty, empty, empty],\n      [1, 139, \"NonConvert\", 0, empty, 0, empty, empty, empty],\n      [1, 140, \"Lang1\", 0, empty, 0, empty, empty, empty],\n      [1, 141, \"Lang2\", 0, empty, 0, empty, empty, empty],\n      [1, 142, \"Lang3\", 0, empty, 0, empty, empty, empty],\n      [1, 143, \"Lang4\", 0, empty, 0, empty, empty, empty],\n      [1, 144, \"Lang5\", 0, empty, 0, empty, empty, empty],\n      [1, 145, \"Abort\", 0, empty, 0, empty, empty, empty],\n      [1, 146, \"Props\", 0, empty, 0, empty, empty, empty],\n      [1, 147, \"NumpadParenLeft\", 0, empty, 0, empty, empty, empty],\n      [1, 148, \"NumpadParenRight\", 0, empty, 0, empty, empty, empty],\n      [1, 149, \"NumpadBackspace\", 0, empty, 0, empty, empty, empty],\n      [1, 150, \"NumpadMemoryStore\", 0, empty, 0, empty, empty, empty],\n      [1, 151, \"NumpadMemoryRecall\", 0, empty, 0, empty, empty, empty],\n      [1, 152, \"NumpadMemoryClear\", 0, empty, 0, empty, empty, empty],\n      [1, 153, \"NumpadMemoryAdd\", 0, empty, 0, empty, empty, empty],\n      [1, 154, \"NumpadMemorySubtract\", 0, empty, 0, empty, empty, empty],\n      [1, 155, \"NumpadClear\", 131, \"Clear\", 12, \"VK_CLEAR\", empty, empty],\n      [1, 156, \"NumpadClearEntry\", 0, empty, 0, empty, empty, empty],\n      [1, 0, empty, 5, \"Ctrl\", 17, \"VK_CONTROL\", empty, empty],\n      [1, 0, empty, 4, \"Shift\", 16, \"VK_SHIFT\", empty, empty],\n      [1, 0, empty, 6, \"Alt\", 18, \"VK_MENU\", empty, empty],\n      [1, 0, empty, 57, \"Meta\", 91, \"VK_COMMAND\", empty, empty],\n      [1, 157, \"ControlLeft\", 5, empty, 0, \"VK_LCONTROL\", empty, empty],\n      [1, 158, \"ShiftLeft\", 4, empty, 0, \"VK_LSHIFT\", empty, empty],\n      [1, 159, \"AltLeft\", 6, empty, 0, \"VK_LMENU\", empty, empty],\n      [1, 160, \"MetaLeft\", 57, empty, 0, \"VK_LWIN\", empty, empty],\n      [1, 161, \"ControlRight\", 5, empty, 0, \"VK_RCONTROL\", empty, empty],\n      [1, 162, \"ShiftRight\", 4, empty, 0, \"VK_RSHIFT\", empty, empty],\n      [1, 163, \"AltRight\", 6, empty, 0, \"VK_RMENU\", empty, empty],\n      [1, 164, \"MetaRight\", 57, empty, 0, \"VK_RWIN\", empty, empty],\n      [1, 165, \"BrightnessUp\", 0, empty, 0, empty, empty, empty],\n      [1, 166, \"BrightnessDown\", 0, empty, 0, empty, empty, empty],\n      [1, 167, \"MediaPlay\", 0, empty, 0, empty, empty, empty],\n      [1, 168, \"MediaRecord\", 0, empty, 0, empty, empty, empty],\n      [1, 169, \"MediaFastForward\", 0, empty, 0, empty, empty, empty],\n      [1, 170, \"MediaRewind\", 0, empty, 0, empty, empty, empty],\n      [1, 171, \"MediaTrackNext\", 124, \"MediaTrackNext\", 176, \"VK_MEDIA_NEXT_TRACK\", empty, empty],\n      [1, 172, \"MediaTrackPrevious\", 125, \"MediaTrackPrevious\", 177, \"VK_MEDIA_PREV_TRACK\", empty, empty],\n      [1, 173, \"MediaStop\", 126, \"MediaStop\", 178, \"VK_MEDIA_STOP\", empty, empty],\n      [1, 174, \"Eject\", 0, empty, 0, empty, empty, empty],\n      [1, 175, \"MediaPlayPause\", 127, \"MediaPlayPause\", 179, \"VK_MEDIA_PLAY_PAUSE\", empty, empty],\n      [1, 176, \"MediaSelect\", 128, \"LaunchMediaPlayer\", 181, \"VK_MEDIA_LAUNCH_MEDIA_SELECT\", empty, empty],\n      [1, 177, \"LaunchMail\", 129, \"LaunchMail\", 180, \"VK_MEDIA_LAUNCH_MAIL\", empty, empty],\n      [1, 178, \"LaunchApp2\", 130, \"LaunchApp2\", 183, \"VK_MEDIA_LAUNCH_APP2\", empty, empty],\n      [1, 179, \"LaunchApp1\", 0, empty, 0, \"VK_MEDIA_LAUNCH_APP1\", empty, empty],\n      [1, 180, \"SelectTask\", 0, empty, 0, empty, empty, empty],\n      [1, 181, \"LaunchScreenSaver\", 0, empty, 0, empty, empty, empty],\n      [1, 182, \"BrowserSearch\", 120, \"BrowserSearch\", 170, \"VK_BROWSER_SEARCH\", empty, empty],\n      [1, 183, \"BrowserHome\", 121, \"BrowserHome\", 172, \"VK_BROWSER_HOME\", empty, empty],\n      [1, 184, \"BrowserBack\", 122, \"BrowserBack\", 166, \"VK_BROWSER_BACK\", empty, empty],\n      [1, 185, \"BrowserForward\", 123, \"BrowserForward\", 167, \"VK_BROWSER_FORWARD\", empty, empty],\n      [1, 186, \"BrowserStop\", 0, empty, 0, \"VK_BROWSER_STOP\", empty, empty],\n      [1, 187, \"BrowserRefresh\", 0, empty, 0, \"VK_BROWSER_REFRESH\", empty, empty],\n      [1, 188, \"BrowserFavorites\", 0, empty, 0, \"VK_BROWSER_FAVORITES\", empty, empty],\n      [1, 189, \"ZoomToggle\", 0, empty, 0, empty, empty, empty],\n      [1, 190, \"MailReply\", 0, empty, 0, empty, empty, empty],\n      [1, 191, \"MailForward\", 0, empty, 0, empty, empty, empty],\n      [1, 192, \"MailSend\", 0, empty, 0, empty, empty, empty],\n      // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html\n      // If an Input Method Editor is processing key input and the event is keydown, return 229.\n      [1, 0, empty, 114, \"KeyInComposition\", 229, empty, empty, empty],\n      [1, 0, empty, 116, \"ABNT_C2\", 194, \"VK_ABNT_C2\", empty, empty],\n      [1, 0, empty, 96, \"OEM_8\", 223, \"VK_OEM_8\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANGUL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_JUNJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_FINAL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HANJA\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_KANJI\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONCONVERT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ACCEPT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_MODECHANGE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SELECT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PRINT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXECUTE\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_SNAPSHOT\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_HELP\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_APPS\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PROCESSKEY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PACKET\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_SBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_DBE_DBCSCHAR\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ATTN\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_CRSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EXSEL\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_EREOF\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PLAY\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_ZOOM\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_NONAME\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_PA1\", empty, empty],\n      [1, 0, empty, 0, empty, 0, \"VK_OEM_CLEAR\", empty, empty]\n    ];\n    const seenKeyCode = [];\n    const seenScanCode = [];\n    for (const mapping of mappings) {\n      const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;\n      if (!seenScanCode[scanCode]) {\n        seenScanCode[scanCode] = true;\n        scanCodeIntToStr[scanCode] = scanCodeStr;\n        scanCodeStrToInt[scanCodeStr] = scanCode;\n        scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode;\n        if (immutable) {\n          IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode;\n          if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) {\n            IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode;\n          }\n        }\n      }\n      if (!seenKeyCode[keyCode]) {\n        seenKeyCode[keyCode] = true;\n        if (!keyCodeStr) {\n          throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`);\n        }\n        uiMap.define(keyCode, keyCodeStr);\n        userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr);\n        userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr);\n      }\n      if (eventKeyCode) {\n        EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode;\n      }\n      if (vkey) {\n        NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode;\n      }\n    }\n    IMMUTABLE_KEY_CODE_TO_CODE[\n      3\n      /* KeyCode.Enter */\n    ] = 46;\n  })();\n  var KeyCodeUtils;\n  (function(KeyCodeUtils2) {\n    function toString(keyCode) {\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toString = toString;\n    function fromString(key) {\n      return uiMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromString = fromString;\n    function toUserSettingsUS(keyCode) {\n      return userSettingsUSMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS;\n    function toUserSettingsGeneral(keyCode) {\n      return userSettingsGeneralMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral;\n    function fromUserSettings(key) {\n      return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key);\n    }\n    KeyCodeUtils2.fromUserSettings = fromUserSettings;\n    function toElectronAccelerator(keyCode) {\n      if (keyCode >= 98 && keyCode <= 113) {\n        return null;\n      }\n      switch (keyCode) {\n        case 16:\n          return \"Up\";\n        case 18:\n          return \"Down\";\n        case 15:\n          return \"Left\";\n        case 17:\n          return \"Right\";\n      }\n      return uiMap.keyCodeToStr(keyCode);\n    }\n    KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator;\n  })(KeyCodeUtils || (KeyCodeUtils = {}));\n  function KeyChord(firstPart, secondPart) {\n    const chordPart = (secondPart & 65535) << 16 >>> 0;\n    return (firstPart | chordPart) >>> 0;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/selection.js\n  var Selection = class _Selection extends Range {\n    constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {\n      super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);\n      this.selectionStartLineNumber = selectionStartLineNumber;\n      this.selectionStartColumn = selectionStartColumn;\n      this.positionLineNumber = positionLineNumber;\n      this.positionColumn = positionColumn;\n    }\n    /**\n     * Transform to a human-readable representation.\n     */\n    toString() {\n      return \"[\" + this.selectionStartLineNumber + \",\" + this.selectionStartColumn + \" -> \" + this.positionLineNumber + \",\" + this.positionColumn + \"]\";\n    }\n    /**\n     * Test if equals other selection.\n     */\n    equalsSelection(other) {\n      return _Selection.selectionsEqual(this, other);\n    }\n    /**\n     * Test if the two selections are equal.\n     */\n    static selectionsEqual(a, b) {\n      return a.selectionStartLineNumber === b.selectionStartLineNumber && a.selectionStartColumn === b.selectionStartColumn && a.positionLineNumber === b.positionLineNumber && a.positionColumn === b.positionColumn;\n    }\n    /**\n     * Get directions (LTR or RTL).\n     */\n    getDirection() {\n      if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {\n        return 0;\n      }\n      return 1;\n    }\n    /**\n     * Create a new selection with a different `positionLineNumber` and `positionColumn`.\n     */\n    setEndPosition(endLineNumber, endColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);\n    }\n    /**\n     * Get the position at `positionLineNumber` and `positionColumn`.\n     */\n    getPosition() {\n      return new Position(this.positionLineNumber, this.positionColumn);\n    }\n    /**\n     * Get the position at the start of the selection.\n    */\n    getSelectionStart() {\n      return new Position(this.selectionStartLineNumber, this.selectionStartColumn);\n    }\n    /**\n     * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`.\n     */\n    setStartPosition(startLineNumber, startColumn) {\n      if (this.getDirection() === 0) {\n        return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\n      }\n      return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);\n    }\n    // ----\n    /**\n     * Create a `Selection` from one or two positions\n     */\n    static fromPositions(start, end = start) {\n      return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column);\n    }\n    /**\n     * Creates a `Selection` from a range, given a direction.\n     */\n    static fromRange(range, direction) {\n      if (direction === 0) {\n        return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\n      } else {\n        return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn);\n      }\n    }\n    /**\n     * Create a `Selection` from an `ISelection`.\n     */\n    static liftSelection(sel) {\n      return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);\n    }\n    /**\n     * `a` equals `b`.\n     */\n    static selectionsArrEqual(a, b) {\n      if (a && !b || !a && b) {\n        return false;\n      }\n      if (!a && !b) {\n        return true;\n      }\n      if (a.length !== b.length) {\n        return false;\n      }\n      for (let i = 0, len = a.length; i < len; i++) {\n        if (!this.selectionsEqual(a[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    /**\n     * Test if `obj` is an `ISelection`.\n     */\n    static isISelection(obj) {\n      return obj && typeof obj.selectionStartLineNumber === \"number\" && typeof obj.selectionStartColumn === \"number\" && typeof obj.positionLineNumber === \"number\" && typeof obj.positionColumn === \"number\";\n    }\n    /**\n     * Create with a direction.\n     */\n    static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {\n      if (direction === 0) {\n        return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn);\n      }\n      return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js\n  var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);\n  function register(id, fontCharacter) {\n    if (isString(fontCharacter)) {\n      const val = _codiconFontCharacters[fontCharacter];\n      if (val === void 0) {\n        throw new Error(`${id} references an unknown codicon: ${fontCharacter}`);\n      }\n      fontCharacter = val;\n    }\n    _codiconFontCharacters[id] = fontCharacter;\n    return { id };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js\n  var codiconsLibrary = {\n    add: register(\"add\", 6e4),\n    plus: register(\"plus\", 6e4),\n    gistNew: register(\"gist-new\", 6e4),\n    repoCreate: register(\"repo-create\", 6e4),\n    lightbulb: register(\"lightbulb\", 60001),\n    lightBulb: register(\"light-bulb\", 60001),\n    repo: register(\"repo\", 60002),\n    repoDelete: register(\"repo-delete\", 60002),\n    gistFork: register(\"gist-fork\", 60003),\n    repoForked: register(\"repo-forked\", 60003),\n    gitPullRequest: register(\"git-pull-request\", 60004),\n    gitPullRequestAbandoned: register(\"git-pull-request-abandoned\", 60004),\n    recordKeys: register(\"record-keys\", 60005),\n    keyboard: register(\"keyboard\", 60005),\n    tag: register(\"tag\", 60006),\n    gitPullRequestLabel: register(\"git-pull-request-label\", 60006),\n    tagAdd: register(\"tag-add\", 60006),\n    tagRemove: register(\"tag-remove\", 60006),\n    person: register(\"person\", 60007),\n    personFollow: register(\"person-follow\", 60007),\n    personOutline: register(\"person-outline\", 60007),\n    personFilled: register(\"person-filled\", 60007),\n    gitBranch: register(\"git-branch\", 60008),\n    gitBranchCreate: register(\"git-branch-create\", 60008),\n    gitBranchDelete: register(\"git-branch-delete\", 60008),\n    sourceControl: register(\"source-control\", 60008),\n    mirror: register(\"mirror\", 60009),\n    mirrorPublic: register(\"mirror-public\", 60009),\n    star: register(\"star\", 60010),\n    starAdd: register(\"star-add\", 60010),\n    starDelete: register(\"star-delete\", 60010),\n    starEmpty: register(\"star-empty\", 60010),\n    comment: register(\"comment\", 60011),\n    commentAdd: register(\"comment-add\", 60011),\n    alert: register(\"alert\", 60012),\n    warning: register(\"warning\", 60012),\n    search: register(\"search\", 60013),\n    searchSave: register(\"search-save\", 60013),\n    logOut: register(\"log-out\", 60014),\n    signOut: register(\"sign-out\", 60014),\n    logIn: register(\"log-in\", 60015),\n    signIn: register(\"sign-in\", 60015),\n    eye: register(\"eye\", 60016),\n    eyeUnwatch: register(\"eye-unwatch\", 60016),\n    eyeWatch: register(\"eye-watch\", 60016),\n    circleFilled: register(\"circle-filled\", 60017),\n    primitiveDot: register(\"primitive-dot\", 60017),\n    closeDirty: register(\"close-dirty\", 60017),\n    debugBreakpoint: register(\"debug-breakpoint\", 60017),\n    debugBreakpointDisabled: register(\"debug-breakpoint-disabled\", 60017),\n    debugHint: register(\"debug-hint\", 60017),\n    terminalDecorationSuccess: register(\"terminal-decoration-success\", 60017),\n    primitiveSquare: register(\"primitive-square\", 60018),\n    edit: register(\"edit\", 60019),\n    pencil: register(\"pencil\", 60019),\n    info: register(\"info\", 60020),\n    issueOpened: register(\"issue-opened\", 60020),\n    gistPrivate: register(\"gist-private\", 60021),\n    gitForkPrivate: register(\"git-fork-private\", 60021),\n    lock: register(\"lock\", 60021),\n    mirrorPrivate: register(\"mirror-private\", 60021),\n    close: register(\"close\", 60022),\n    removeClose: register(\"remove-close\", 60022),\n    x: register(\"x\", 60022),\n    repoSync: register(\"repo-sync\", 60023),\n    sync: register(\"sync\", 60023),\n    clone: register(\"clone\", 60024),\n    desktopDownload: register(\"desktop-download\", 60024),\n    beaker: register(\"beaker\", 60025),\n    microscope: register(\"microscope\", 60025),\n    vm: register(\"vm\", 60026),\n    deviceDesktop: register(\"device-desktop\", 60026),\n    file: register(\"file\", 60027),\n    fileText: register(\"file-text\", 60027),\n    more: register(\"more\", 60028),\n    ellipsis: register(\"ellipsis\", 60028),\n    kebabHorizontal: register(\"kebab-horizontal\", 60028),\n    mailReply: register(\"mail-reply\", 60029),\n    reply: register(\"reply\", 60029),\n    organization: register(\"organization\", 60030),\n    organizationFilled: register(\"organization-filled\", 60030),\n    organizationOutline: register(\"organization-outline\", 60030),\n    newFile: register(\"new-file\", 60031),\n    fileAdd: register(\"file-add\", 60031),\n    newFolder: register(\"new-folder\", 60032),\n    fileDirectoryCreate: register(\"file-directory-create\", 60032),\n    trash: register(\"trash\", 60033),\n    trashcan: register(\"trashcan\", 60033),\n    history: register(\"history\", 60034),\n    clock: register(\"clock\", 60034),\n    folder: register(\"folder\", 60035),\n    fileDirectory: register(\"file-directory\", 60035),\n    symbolFolder: register(\"symbol-folder\", 60035),\n    logoGithub: register(\"logo-github\", 60036),\n    markGithub: register(\"mark-github\", 60036),\n    github: register(\"github\", 60036),\n    terminal: register(\"terminal\", 60037),\n    console: register(\"console\", 60037),\n    repl: register(\"repl\", 60037),\n    zap: register(\"zap\", 60038),\n    symbolEvent: register(\"symbol-event\", 60038),\n    error: register(\"error\", 60039),\n    stop: register(\"stop\", 60039),\n    variable: register(\"variable\", 60040),\n    symbolVariable: register(\"symbol-variable\", 60040),\n    array: register(\"array\", 60042),\n    symbolArray: register(\"symbol-array\", 60042),\n    symbolModule: register(\"symbol-module\", 60043),\n    symbolPackage: register(\"symbol-package\", 60043),\n    symbolNamespace: register(\"symbol-namespace\", 60043),\n    symbolObject: register(\"symbol-object\", 60043),\n    symbolMethod: register(\"symbol-method\", 60044),\n    symbolFunction: register(\"symbol-function\", 60044),\n    symbolConstructor: register(\"symbol-constructor\", 60044),\n    symbolBoolean: register(\"symbol-boolean\", 60047),\n    symbolNull: register(\"symbol-null\", 60047),\n    symbolNumeric: register(\"symbol-numeric\", 60048),\n    symbolNumber: register(\"symbol-number\", 60048),\n    symbolStructure: register(\"symbol-structure\", 60049),\n    symbolStruct: register(\"symbol-struct\", 60049),\n    symbolParameter: register(\"symbol-parameter\", 60050),\n    symbolTypeParameter: register(\"symbol-type-parameter\", 60050),\n    symbolKey: register(\"symbol-key\", 60051),\n    symbolText: register(\"symbol-text\", 60051),\n    symbolReference: register(\"symbol-reference\", 60052),\n    goToFile: register(\"go-to-file\", 60052),\n    symbolEnum: register(\"symbol-enum\", 60053),\n    symbolValue: register(\"symbol-value\", 60053),\n    symbolRuler: register(\"symbol-ruler\", 60054),\n    symbolUnit: register(\"symbol-unit\", 60054),\n    activateBreakpoints: register(\"activate-breakpoints\", 60055),\n    archive: register(\"archive\", 60056),\n    arrowBoth: register(\"arrow-both\", 60057),\n    arrowDown: register(\"arrow-down\", 60058),\n    arrowLeft: register(\"arrow-left\", 60059),\n    arrowRight: register(\"arrow-right\", 60060),\n    arrowSmallDown: register(\"arrow-small-down\", 60061),\n    arrowSmallLeft: register(\"arrow-small-left\", 60062),\n    arrowSmallRight: register(\"arrow-small-right\", 60063),\n    arrowSmallUp: register(\"arrow-small-up\", 60064),\n    arrowUp: register(\"arrow-up\", 60065),\n    bell: register(\"bell\", 60066),\n    bold: register(\"bold\", 60067),\n    book: register(\"book\", 60068),\n    bookmark: register(\"bookmark\", 60069),\n    debugBreakpointConditionalUnverified: register(\"debug-breakpoint-conditional-unverified\", 60070),\n    debugBreakpointConditional: register(\"debug-breakpoint-conditional\", 60071),\n    debugBreakpointConditionalDisabled: register(\"debug-breakpoint-conditional-disabled\", 60071),\n    debugBreakpointDataUnverified: register(\"debug-breakpoint-data-unverified\", 60072),\n    debugBreakpointData: register(\"debug-breakpoint-data\", 60073),\n    debugBreakpointDataDisabled: register(\"debug-breakpoint-data-disabled\", 60073),\n    debugBreakpointLogUnverified: register(\"debug-breakpoint-log-unverified\", 60074),\n    debugBreakpointLog: register(\"debug-breakpoint-log\", 60075),\n    debugBreakpointLogDisabled: register(\"debug-breakpoint-log-disabled\", 60075),\n    briefcase: register(\"briefcase\", 60076),\n    broadcast: register(\"broadcast\", 60077),\n    browser: register(\"browser\", 60078),\n    bug: register(\"bug\", 60079),\n    calendar: register(\"calendar\", 60080),\n    caseSensitive: register(\"case-sensitive\", 60081),\n    check: register(\"check\", 60082),\n    checklist: register(\"checklist\", 60083),\n    chevronDown: register(\"chevron-down\", 60084),\n    chevronLeft: register(\"chevron-left\", 60085),\n    chevronRight: register(\"chevron-right\", 60086),\n    chevronUp: register(\"chevron-up\", 60087),\n    chromeClose: register(\"chrome-close\", 60088),\n    chromeMaximize: register(\"chrome-maximize\", 60089),\n    chromeMinimize: register(\"chrome-minimize\", 60090),\n    chromeRestore: register(\"chrome-restore\", 60091),\n    circleOutline: register(\"circle-outline\", 60092),\n    circle: register(\"circle\", 60092),\n    debugBreakpointUnverified: register(\"debug-breakpoint-unverified\", 60092),\n    terminalDecorationIncomplete: register(\"terminal-decoration-incomplete\", 60092),\n    circleSlash: register(\"circle-slash\", 60093),\n    circuitBoard: register(\"circuit-board\", 60094),\n    clearAll: register(\"clear-all\", 60095),\n    clippy: register(\"clippy\", 60096),\n    closeAll: register(\"close-all\", 60097),\n    cloudDownload: register(\"cloud-download\", 60098),\n    cloudUpload: register(\"cloud-upload\", 60099),\n    code: register(\"code\", 60100),\n    collapseAll: register(\"collapse-all\", 60101),\n    colorMode: register(\"color-mode\", 60102),\n    commentDiscussion: register(\"comment-discussion\", 60103),\n    creditCard: register(\"credit-card\", 60105),\n    dash: register(\"dash\", 60108),\n    dashboard: register(\"dashboard\", 60109),\n    database: register(\"database\", 60110),\n    debugContinue: register(\"debug-continue\", 60111),\n    debugDisconnect: register(\"debug-disconnect\", 60112),\n    debugPause: register(\"debug-pause\", 60113),\n    debugRestart: register(\"debug-restart\", 60114),\n    debugStart: register(\"debug-start\", 60115),\n    debugStepInto: register(\"debug-step-into\", 60116),\n    debugStepOut: register(\"debug-step-out\", 60117),\n    debugStepOver: register(\"debug-step-over\", 60118),\n    debugStop: register(\"debug-stop\", 60119),\n    debug: register(\"debug\", 60120),\n    deviceCameraVideo: register(\"device-camera-video\", 60121),\n    deviceCamera: register(\"device-camera\", 60122),\n    deviceMobile: register(\"device-mobile\", 60123),\n    diffAdded: register(\"diff-added\", 60124),\n    diffIgnored: register(\"diff-ignored\", 60125),\n    diffModified: register(\"diff-modified\", 60126),\n    diffRemoved: register(\"diff-removed\", 60127),\n    diffRenamed: register(\"diff-renamed\", 60128),\n    diff: register(\"diff\", 60129),\n    diffSidebyside: register(\"diff-sidebyside\", 60129),\n    discard: register(\"discard\", 60130),\n    editorLayout: register(\"editor-layout\", 60131),\n    emptyWindow: register(\"empty-window\", 60132),\n    exclude: register(\"exclude\", 60133),\n    extensions: register(\"extensions\", 60134),\n    eyeClosed: register(\"eye-closed\", 60135),\n    fileBinary: register(\"file-binary\", 60136),\n    fileCode: register(\"file-code\", 60137),\n    fileMedia: register(\"file-media\", 60138),\n    filePdf: register(\"file-pdf\", 60139),\n    fileSubmodule: register(\"file-submodule\", 60140),\n    fileSymlinkDirectory: register(\"file-symlink-directory\", 60141),\n    fileSymlinkFile: register(\"file-symlink-file\", 60142),\n    fileZip: register(\"file-zip\", 60143),\n    files: register(\"files\", 60144),\n    filter: register(\"filter\", 60145),\n    flame: register(\"flame\", 60146),\n    foldDown: register(\"fold-down\", 60147),\n    foldUp: register(\"fold-up\", 60148),\n    fold: register(\"fold\", 60149),\n    folderActive: register(\"folder-active\", 60150),\n    folderOpened: register(\"folder-opened\", 60151),\n    gear: register(\"gear\", 60152),\n    gift: register(\"gift\", 60153),\n    gistSecret: register(\"gist-secret\", 60154),\n    gist: register(\"gist\", 60155),\n    gitCommit: register(\"git-commit\", 60156),\n    gitCompare: register(\"git-compare\", 60157),\n    compareChanges: register(\"compare-changes\", 60157),\n    gitMerge: register(\"git-merge\", 60158),\n    githubAction: register(\"github-action\", 60159),\n    githubAlt: register(\"github-alt\", 60160),\n    globe: register(\"globe\", 60161),\n    grabber: register(\"grabber\", 60162),\n    graph: register(\"graph\", 60163),\n    gripper: register(\"gripper\", 60164),\n    heart: register(\"heart\", 60165),\n    home: register(\"home\", 60166),\n    horizontalRule: register(\"horizontal-rule\", 60167),\n    hubot: register(\"hubot\", 60168),\n    inbox: register(\"inbox\", 60169),\n    issueReopened: register(\"issue-reopened\", 60171),\n    issues: register(\"issues\", 60172),\n    italic: register(\"italic\", 60173),\n    jersey: register(\"jersey\", 60174),\n    json: register(\"json\", 60175),\n    kebabVertical: register(\"kebab-vertical\", 60176),\n    key: register(\"key\", 60177),\n    law: register(\"law\", 60178),\n    lightbulbAutofix: register(\"lightbulb-autofix\", 60179),\n    linkExternal: register(\"link-external\", 60180),\n    link: register(\"link\", 60181),\n    listOrdered: register(\"list-ordered\", 60182),\n    listUnordered: register(\"list-unordered\", 60183),\n    liveShare: register(\"live-share\", 60184),\n    loading: register(\"loading\", 60185),\n    location: register(\"location\", 60186),\n    mailRead: register(\"mail-read\", 60187),\n    mail: register(\"mail\", 60188),\n    markdown: register(\"markdown\", 60189),\n    megaphone: register(\"megaphone\", 60190),\n    mention: register(\"mention\", 60191),\n    milestone: register(\"milestone\", 60192),\n    gitPullRequestMilestone: register(\"git-pull-request-milestone\", 60192),\n    mortarBoard: register(\"mortar-board\", 60193),\n    move: register(\"move\", 60194),\n    multipleWindows: register(\"multiple-windows\", 60195),\n    mute: register(\"mute\", 60196),\n    noNewline: register(\"no-newline\", 60197),\n    note: register(\"note\", 60198),\n    octoface: register(\"octoface\", 60199),\n    openPreview: register(\"open-preview\", 60200),\n    package: register(\"package\", 60201),\n    paintcan: register(\"paintcan\", 60202),\n    pin: register(\"pin\", 60203),\n    play: register(\"play\", 60204),\n    run: register(\"run\", 60204),\n    plug: register(\"plug\", 60205),\n    preserveCase: register(\"preserve-case\", 60206),\n    preview: register(\"preview\", 60207),\n    project: register(\"project\", 60208),\n    pulse: register(\"pulse\", 60209),\n    question: register(\"question\", 60210),\n    quote: register(\"quote\", 60211),\n    radioTower: register(\"radio-tower\", 60212),\n    reactions: register(\"reactions\", 60213),\n    references: register(\"references\", 60214),\n    refresh: register(\"refresh\", 60215),\n    regex: register(\"regex\", 60216),\n    remoteExplorer: register(\"remote-explorer\", 60217),\n    remote: register(\"remote\", 60218),\n    remove: register(\"remove\", 60219),\n    replaceAll: register(\"replace-all\", 60220),\n    replace: register(\"replace\", 60221),\n    repoClone: register(\"repo-clone\", 60222),\n    repoForcePush: register(\"repo-force-push\", 60223),\n    repoPull: register(\"repo-pull\", 60224),\n    repoPush: register(\"repo-push\", 60225),\n    report: register(\"report\", 60226),\n    requestChanges: register(\"request-changes\", 60227),\n    rocket: register(\"rocket\", 60228),\n    rootFolderOpened: register(\"root-folder-opened\", 60229),\n    rootFolder: register(\"root-folder\", 60230),\n    rss: register(\"rss\", 60231),\n    ruby: register(\"ruby\", 60232),\n    saveAll: register(\"save-all\", 60233),\n    saveAs: register(\"save-as\", 60234),\n    save: register(\"save\", 60235),\n    screenFull: register(\"screen-full\", 60236),\n    screenNormal: register(\"screen-normal\", 60237),\n    searchStop: register(\"search-stop\", 60238),\n    server: register(\"server\", 60240),\n    settingsGear: register(\"settings-gear\", 60241),\n    settings: register(\"settings\", 60242),\n    shield: register(\"shield\", 60243),\n    smiley: register(\"smiley\", 60244),\n    sortPrecedence: register(\"sort-precedence\", 60245),\n    splitHorizontal: register(\"split-horizontal\", 60246),\n    splitVertical: register(\"split-vertical\", 60247),\n    squirrel: register(\"squirrel\", 60248),\n    starFull: register(\"star-full\", 60249),\n    starHalf: register(\"star-half\", 60250),\n    symbolClass: register(\"symbol-class\", 60251),\n    symbolColor: register(\"symbol-color\", 60252),\n    symbolConstant: register(\"symbol-constant\", 60253),\n    symbolEnumMember: register(\"symbol-enum-member\", 60254),\n    symbolField: register(\"symbol-field\", 60255),\n    symbolFile: register(\"symbol-file\", 60256),\n    symbolInterface: register(\"symbol-interface\", 60257),\n    symbolKeyword: register(\"symbol-keyword\", 60258),\n    symbolMisc: register(\"symbol-misc\", 60259),\n    symbolOperator: register(\"symbol-operator\", 60260),\n    symbolProperty: register(\"symbol-property\", 60261),\n    wrench: register(\"wrench\", 60261),\n    wrenchSubaction: register(\"wrench-subaction\", 60261),\n    symbolSnippet: register(\"symbol-snippet\", 60262),\n    tasklist: register(\"tasklist\", 60263),\n    telescope: register(\"telescope\", 60264),\n    textSize: register(\"text-size\", 60265),\n    threeBars: register(\"three-bars\", 60266),\n    thumbsdown: register(\"thumbsdown\", 60267),\n    thumbsup: register(\"thumbsup\", 60268),\n    tools: register(\"tools\", 60269),\n    triangleDown: register(\"triangle-down\", 60270),\n    triangleLeft: register(\"triangle-left\", 60271),\n    triangleRight: register(\"triangle-right\", 60272),\n    triangleUp: register(\"triangle-up\", 60273),\n    twitter: register(\"twitter\", 60274),\n    unfold: register(\"unfold\", 60275),\n    unlock: register(\"unlock\", 60276),\n    unmute: register(\"unmute\", 60277),\n    unverified: register(\"unverified\", 60278),\n    verified: register(\"verified\", 60279),\n    versions: register(\"versions\", 60280),\n    vmActive: register(\"vm-active\", 60281),\n    vmOutline: register(\"vm-outline\", 60282),\n    vmRunning: register(\"vm-running\", 60283),\n    watch: register(\"watch\", 60284),\n    whitespace: register(\"whitespace\", 60285),\n    wholeWord: register(\"whole-word\", 60286),\n    window: register(\"window\", 60287),\n    wordWrap: register(\"word-wrap\", 60288),\n    zoomIn: register(\"zoom-in\", 60289),\n    zoomOut: register(\"zoom-out\", 60290),\n    listFilter: register(\"list-filter\", 60291),\n    listFlat: register(\"list-flat\", 60292),\n    listSelection: register(\"list-selection\", 60293),\n    selection: register(\"selection\", 60293),\n    listTree: register(\"list-tree\", 60294),\n    debugBreakpointFunctionUnverified: register(\"debug-breakpoint-function-unverified\", 60295),\n    debugBreakpointFunction: register(\"debug-breakpoint-function\", 60296),\n    debugBreakpointFunctionDisabled: register(\"debug-breakpoint-function-disabled\", 60296),\n    debugStackframeActive: register(\"debug-stackframe-active\", 60297),\n    circleSmallFilled: register(\"circle-small-filled\", 60298),\n    debugStackframeDot: register(\"debug-stackframe-dot\", 60298),\n    terminalDecorationMark: register(\"terminal-decoration-mark\", 60298),\n    debugStackframe: register(\"debug-stackframe\", 60299),\n    debugStackframeFocused: register(\"debug-stackframe-focused\", 60299),\n    debugBreakpointUnsupported: register(\"debug-breakpoint-unsupported\", 60300),\n    symbolString: register(\"symbol-string\", 60301),\n    debugReverseContinue: register(\"debug-reverse-continue\", 60302),\n    debugStepBack: register(\"debug-step-back\", 60303),\n    debugRestartFrame: register(\"debug-restart-frame\", 60304),\n    debugAlt: register(\"debug-alt\", 60305),\n    callIncoming: register(\"call-incoming\", 60306),\n    callOutgoing: register(\"call-outgoing\", 60307),\n    menu: register(\"menu\", 60308),\n    expandAll: register(\"expand-all\", 60309),\n    feedback: register(\"feedback\", 60310),\n    gitPullRequestReviewer: register(\"git-pull-request-reviewer\", 60310),\n    groupByRefType: register(\"group-by-ref-type\", 60311),\n    ungroupByRefType: register(\"ungroup-by-ref-type\", 60312),\n    account: register(\"account\", 60313),\n    gitPullRequestAssignee: register(\"git-pull-request-assignee\", 60313),\n    bellDot: register(\"bell-dot\", 60314),\n    debugConsole: register(\"debug-console\", 60315),\n    library: register(\"library\", 60316),\n    output: register(\"output\", 60317),\n    runAll: register(\"run-all\", 60318),\n    syncIgnored: register(\"sync-ignored\", 60319),\n    pinned: register(\"pinned\", 60320),\n    githubInverted: register(\"github-inverted\", 60321),\n    serverProcess: register(\"server-process\", 60322),\n    serverEnvironment: register(\"server-environment\", 60323),\n    pass: register(\"pass\", 60324),\n    issueClosed: register(\"issue-closed\", 60324),\n    stopCircle: register(\"stop-circle\", 60325),\n    playCircle: register(\"play-circle\", 60326),\n    record: register(\"record\", 60327),\n    debugAltSmall: register(\"debug-alt-small\", 60328),\n    vmConnect: register(\"vm-connect\", 60329),\n    cloud: register(\"cloud\", 60330),\n    merge: register(\"merge\", 60331),\n    export: register(\"export\", 60332),\n    graphLeft: register(\"graph-left\", 60333),\n    magnet: register(\"magnet\", 60334),\n    notebook: register(\"notebook\", 60335),\n    redo: register(\"redo\", 60336),\n    checkAll: register(\"check-all\", 60337),\n    pinnedDirty: register(\"pinned-dirty\", 60338),\n    passFilled: register(\"pass-filled\", 60339),\n    circleLargeFilled: register(\"circle-large-filled\", 60340),\n    circleLarge: register(\"circle-large\", 60341),\n    circleLargeOutline: register(\"circle-large-outline\", 60341),\n    combine: register(\"combine\", 60342),\n    gather: register(\"gather\", 60342),\n    table: register(\"table\", 60343),\n    variableGroup: register(\"variable-group\", 60344),\n    typeHierarchy: register(\"type-hierarchy\", 60345),\n    typeHierarchySub: register(\"type-hierarchy-sub\", 60346),\n    typeHierarchySuper: register(\"type-hierarchy-super\", 60347),\n    gitPullRequestCreate: register(\"git-pull-request-create\", 60348),\n    runAbove: register(\"run-above\", 60349),\n    runBelow: register(\"run-below\", 60350),\n    notebookTemplate: register(\"notebook-template\", 60351),\n    debugRerun: register(\"debug-rerun\", 60352),\n    workspaceTrusted: register(\"workspace-trusted\", 60353),\n    workspaceUntrusted: register(\"workspace-untrusted\", 60354),\n    workspaceUnknown: register(\"workspace-unknown\", 60355),\n    terminalCmd: register(\"terminal-cmd\", 60356),\n    terminalDebian: register(\"terminal-debian\", 60357),\n    terminalLinux: register(\"terminal-linux\", 60358),\n    terminalPowershell: register(\"terminal-powershell\", 60359),\n    terminalTmux: register(\"terminal-tmux\", 60360),\n    terminalUbuntu: register(\"terminal-ubuntu\", 60361),\n    terminalBash: register(\"terminal-bash\", 60362),\n    arrowSwap: register(\"arrow-swap\", 60363),\n    copy: register(\"copy\", 60364),\n    personAdd: register(\"person-add\", 60365),\n    filterFilled: register(\"filter-filled\", 60366),\n    wand: register(\"wand\", 60367),\n    debugLineByLine: register(\"debug-line-by-line\", 60368),\n    inspect: register(\"inspect\", 60369),\n    layers: register(\"layers\", 60370),\n    layersDot: register(\"layers-dot\", 60371),\n    layersActive: register(\"layers-active\", 60372),\n    compass: register(\"compass\", 60373),\n    compassDot: register(\"compass-dot\", 60374),\n    compassActive: register(\"compass-active\", 60375),\n    azure: register(\"azure\", 60376),\n    issueDraft: register(\"issue-draft\", 60377),\n    gitPullRequestClosed: register(\"git-pull-request-closed\", 60378),\n    gitPullRequestDraft: register(\"git-pull-request-draft\", 60379),\n    debugAll: register(\"debug-all\", 60380),\n    debugCoverage: register(\"debug-coverage\", 60381),\n    runErrors: register(\"run-errors\", 60382),\n    folderLibrary: register(\"folder-library\", 60383),\n    debugContinueSmall: register(\"debug-continue-small\", 60384),\n    beakerStop: register(\"beaker-stop\", 60385),\n    graphLine: register(\"graph-line\", 60386),\n    graphScatter: register(\"graph-scatter\", 60387),\n    pieChart: register(\"pie-chart\", 60388),\n    bracket: register(\"bracket\", 60175),\n    bracketDot: register(\"bracket-dot\", 60389),\n    bracketError: register(\"bracket-error\", 60390),\n    lockSmall: register(\"lock-small\", 60391),\n    azureDevops: register(\"azure-devops\", 60392),\n    verifiedFilled: register(\"verified-filled\", 60393),\n    newline: register(\"newline\", 60394),\n    layout: register(\"layout\", 60395),\n    layoutActivitybarLeft: register(\"layout-activitybar-left\", 60396),\n    layoutActivitybarRight: register(\"layout-activitybar-right\", 60397),\n    layoutPanelLeft: register(\"layout-panel-left\", 60398),\n    layoutPanelCenter: register(\"layout-panel-center\", 60399),\n    layoutPanelJustify: register(\"layout-panel-justify\", 60400),\n    layoutPanelRight: register(\"layout-panel-right\", 60401),\n    layoutPanel: register(\"layout-panel\", 60402),\n    layoutSidebarLeft: register(\"layout-sidebar-left\", 60403),\n    layoutSidebarRight: register(\"layout-sidebar-right\", 60404),\n    layoutStatusbar: register(\"layout-statusbar\", 60405),\n    layoutMenubar: register(\"layout-menubar\", 60406),\n    layoutCentered: register(\"layout-centered\", 60407),\n    target: register(\"target\", 60408),\n    indent: register(\"indent\", 60409),\n    recordSmall: register(\"record-small\", 60410),\n    errorSmall: register(\"error-small\", 60411),\n    terminalDecorationError: register(\"terminal-decoration-error\", 60411),\n    arrowCircleDown: register(\"arrow-circle-down\", 60412),\n    arrowCircleLeft: register(\"arrow-circle-left\", 60413),\n    arrowCircleRight: register(\"arrow-circle-right\", 60414),\n    arrowCircleUp: register(\"arrow-circle-up\", 60415),\n    layoutSidebarRightOff: register(\"layout-sidebar-right-off\", 60416),\n    layoutPanelOff: register(\"layout-panel-off\", 60417),\n    layoutSidebarLeftOff: register(\"layout-sidebar-left-off\", 60418),\n    blank: register(\"blank\", 60419),\n    heartFilled: register(\"heart-filled\", 60420),\n    map: register(\"map\", 60421),\n    mapHorizontal: register(\"map-horizontal\", 60421),\n    foldHorizontal: register(\"fold-horizontal\", 60421),\n    mapFilled: register(\"map-filled\", 60422),\n    mapHorizontalFilled: register(\"map-horizontal-filled\", 60422),\n    foldHorizontalFilled: register(\"fold-horizontal-filled\", 60422),\n    circleSmall: register(\"circle-small\", 60423),\n    bellSlash: register(\"bell-slash\", 60424),\n    bellSlashDot: register(\"bell-slash-dot\", 60425),\n    commentUnresolved: register(\"comment-unresolved\", 60426),\n    gitPullRequestGoToChanges: register(\"git-pull-request-go-to-changes\", 60427),\n    gitPullRequestNewChanges: register(\"git-pull-request-new-changes\", 60428),\n    searchFuzzy: register(\"search-fuzzy\", 60429),\n    commentDraft: register(\"comment-draft\", 60430),\n    send: register(\"send\", 60431),\n    sparkle: register(\"sparkle\", 60432),\n    insert: register(\"insert\", 60433),\n    mic: register(\"mic\", 60434),\n    thumbsdownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsupFilled: register(\"thumbsup-filled\", 60436),\n    coffee: register(\"coffee\", 60437),\n    snake: register(\"snake\", 60438),\n    game: register(\"game\", 60439),\n    vr: register(\"vr\", 60440),\n    chip: register(\"chip\", 60441),\n    piano: register(\"piano\", 60442),\n    music: register(\"music\", 60443),\n    micFilled: register(\"mic-filled\", 60444),\n    repoFetch: register(\"repo-fetch\", 60445),\n    copilot: register(\"copilot\", 60446),\n    lightbulbSparkle: register(\"lightbulb-sparkle\", 60447),\n    robot: register(\"robot\", 60448),\n    sparkleFilled: register(\"sparkle-filled\", 60449),\n    diffSingle: register(\"diff-single\", 60450),\n    diffMultiple: register(\"diff-multiple\", 60451),\n    surroundWith: register(\"surround-with\", 60452),\n    share: register(\"share\", 60453),\n    gitStash: register(\"git-stash\", 60454),\n    gitStashApply: register(\"git-stash-apply\", 60455),\n    gitStashPop: register(\"git-stash-pop\", 60456),\n    vscode: register(\"vscode\", 60457),\n    vscodeInsiders: register(\"vscode-insiders\", 60458),\n    codeOss: register(\"code-oss\", 60459),\n    runCoverage: register(\"run-coverage\", 60460),\n    runAllCoverage: register(\"run-all-coverage\", 60461),\n    coverage: register(\"coverage\", 60462),\n    githubProject: register(\"github-project\", 60463),\n    mapVertical: register(\"map-vertical\", 60464),\n    foldVertical: register(\"fold-vertical\", 60464),\n    mapVerticalFilled: register(\"map-vertical-filled\", 60465),\n    foldVerticalFilled: register(\"fold-vertical-filled\", 60465),\n    goToSearch: register(\"go-to-search\", 60466),\n    percentage: register(\"percentage\", 60467),\n    sortPercentage: register(\"sort-percentage\", 60467)\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/codicons.js\n  var codiconsDerived = {\n    dialogError: register(\"dialog-error\", \"error\"),\n    dialogWarning: register(\"dialog-warning\", \"warning\"),\n    dialogInfo: register(\"dialog-info\", \"info\"),\n    dialogClose: register(\"dialog-close\", \"close\"),\n    treeItemExpanded: register(\"tree-item-expanded\", \"chevron-down\"),\n    // collapsed is done with rotation\n    treeFilterOnTypeOn: register(\"tree-filter-on-type-on\", \"list-filter\"),\n    treeFilterOnTypeOff: register(\"tree-filter-on-type-off\", \"list-selection\"),\n    treeFilterClear: register(\"tree-filter-clear\", \"close\"),\n    treeItemLoading: register(\"tree-item-loading\", \"loading\"),\n    menuSelection: register(\"menu-selection\", \"check\"),\n    menuSubmenu: register(\"menu-submenu\", \"chevron-right\"),\n    menuBarMore: register(\"menubar-more\", \"more\"),\n    scrollbarButtonLeft: register(\"scrollbar-button-left\", \"triangle-left\"),\n    scrollbarButtonRight: register(\"scrollbar-button-right\", \"triangle-right\"),\n    scrollbarButtonUp: register(\"scrollbar-button-up\", \"triangle-up\"),\n    scrollbarButtonDown: register(\"scrollbar-button-down\", \"triangle-down\"),\n    toolBarMore: register(\"toolbar-more\", \"more\"),\n    quickInputBack: register(\"quick-input-back\", \"arrow-left\"),\n    dropDownButton: register(\"drop-down-button\", 60084),\n    symbolCustomColor: register(\"symbol-customcolor\", 60252),\n    exportIcon: register(\"export\", 60332),\n    workspaceUnspecified: register(\"workspace-unspecified\", 60355),\n    newLine: register(\"newline\", 60394),\n    thumbsDownFilled: register(\"thumbsdown-filled\", 60435),\n    thumbsUpFilled: register(\"thumbsup-filled\", 60436),\n    gitFetch: register(\"git-fetch\", 60445),\n    lightbulbSparkleAutofix: register(\"lightbulb-sparkle-autofix\", 60447),\n    debugBreakpointPending: register(\"debug-breakpoint-pending\", 60377)\n  };\n  var Codicon = {\n    ...codiconsLibrary,\n    ...codiconsDerived\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js\n  var TokenizationRegistry = class {\n    constructor() {\n      this._tokenizationSupports = /* @__PURE__ */ new Map();\n      this._factories = /* @__PURE__ */ new Map();\n      this._onDidChange = new Emitter();\n      this.onDidChange = this._onDidChange.event;\n      this._colorMap = null;\n    }\n    handleChange(languageIds) {\n      this._onDidChange.fire({\n        changedLanguages: languageIds,\n        changedColorMap: false\n      });\n    }\n    register(languageId, support) {\n      this._tokenizationSupports.set(languageId, support);\n      this.handleChange([languageId]);\n      return toDisposable(() => {\n        if (this._tokenizationSupports.get(languageId) !== support) {\n          return;\n        }\n        this._tokenizationSupports.delete(languageId);\n        this.handleChange([languageId]);\n      });\n    }\n    get(languageId) {\n      return this._tokenizationSupports.get(languageId) || null;\n    }\n    registerFactory(languageId, factory) {\n      var _a4;\n      (_a4 = this._factories.get(languageId)) === null || _a4 === void 0 ? void 0 : _a4.dispose();\n      const myData = new TokenizationSupportFactoryData(this, languageId, factory);\n      this._factories.set(languageId, myData);\n      return toDisposable(() => {\n        const v = this._factories.get(languageId);\n        if (!v || v !== myData) {\n          return;\n        }\n        this._factories.delete(languageId);\n        v.dispose();\n      });\n    }\n    async getOrCreate(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return tokenizationSupport;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return null;\n      }\n      await factory.resolve();\n      return this.get(languageId);\n    }\n    isResolved(languageId) {\n      const tokenizationSupport = this.get(languageId);\n      if (tokenizationSupport) {\n        return true;\n      }\n      const factory = this._factories.get(languageId);\n      if (!factory || factory.isResolved) {\n        return true;\n      }\n      return false;\n    }\n    setColorMap(colorMap) {\n      this._colorMap = colorMap;\n      this._onDidChange.fire({\n        changedLanguages: Array.from(this._tokenizationSupports.keys()),\n        changedColorMap: true\n      });\n    }\n    getColorMap() {\n      return this._colorMap;\n    }\n    getDefaultBackground() {\n      if (this._colorMap && this._colorMap.length > 2) {\n        return this._colorMap[\n          2\n          /* ColorId.DefaultBackground */\n        ];\n      }\n      return null;\n    }\n  };\n  var TokenizationSupportFactoryData = class extends Disposable {\n    get isResolved() {\n      return this._isResolved;\n    }\n    constructor(_registry, _languageId, _factory) {\n      super();\n      this._registry = _registry;\n      this._languageId = _languageId;\n      this._factory = _factory;\n      this._isDisposed = false;\n      this._resolvePromise = null;\n      this._isResolved = false;\n    }\n    dispose() {\n      this._isDisposed = true;\n      super.dispose();\n    }\n    async resolve() {\n      if (!this._resolvePromise) {\n        this._resolvePromise = this._create();\n      }\n      return this._resolvePromise;\n    }\n    async _create() {\n      const value = await this._factory.tokenizationSupport;\n      this._isResolved = true;\n      if (value && !this._isDisposed) {\n        this._register(this._registry.register(this._languageId, value));\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages.js\n  var Token = class {\n    constructor(offset, type, language) {\n      this.offset = offset;\n      this.type = type;\n      this.language = language;\n      this._tokenBrand = void 0;\n    }\n    toString() {\n      return \"(\" + this.offset + \", \" + this.type + \")\";\n    }\n  };\n  var HoverVerbosityAction;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction || (HoverVerbosityAction = {}));\n  var CompletionItemKinds;\n  (function(CompletionItemKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolMethod);\n    byKind.set(1, Codicon.symbolFunction);\n    byKind.set(2, Codicon.symbolConstructor);\n    byKind.set(3, Codicon.symbolField);\n    byKind.set(4, Codicon.symbolVariable);\n    byKind.set(5, Codicon.symbolClass);\n    byKind.set(6, Codicon.symbolStruct);\n    byKind.set(7, Codicon.symbolInterface);\n    byKind.set(8, Codicon.symbolModule);\n    byKind.set(9, Codicon.symbolProperty);\n    byKind.set(10, Codicon.symbolEvent);\n    byKind.set(11, Codicon.symbolOperator);\n    byKind.set(12, Codicon.symbolUnit);\n    byKind.set(13, Codicon.symbolValue);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(14, Codicon.symbolConstant);\n    byKind.set(15, Codicon.symbolEnum);\n    byKind.set(16, Codicon.symbolEnumMember);\n    byKind.set(17, Codicon.symbolKeyword);\n    byKind.set(27, Codicon.symbolSnippet);\n    byKind.set(18, Codicon.symbolText);\n    byKind.set(19, Codicon.symbolColor);\n    byKind.set(20, Codicon.symbolFile);\n    byKind.set(21, Codicon.symbolReference);\n    byKind.set(22, Codicon.symbolCustomColor);\n    byKind.set(23, Codicon.symbolFolder);\n    byKind.set(24, Codicon.symbolTypeParameter);\n    byKind.set(25, Codicon.account);\n    byKind.set(26, Codicon.issues);\n    function toIcon(kind) {\n      let codicon = byKind.get(kind);\n      if (!codicon) {\n        console.info(\"No codicon found for CompletionItemKind \" + kind);\n        codicon = Codicon.symbolProperty;\n      }\n      return codicon;\n    }\n    CompletionItemKinds2.toIcon = toIcon;\n    const data = /* @__PURE__ */ new Map();\n    data.set(\n      \"method\",\n      0\n      /* CompletionItemKind.Method */\n    );\n    data.set(\n      \"function\",\n      1\n      /* CompletionItemKind.Function */\n    );\n    data.set(\n      \"constructor\",\n      2\n      /* CompletionItemKind.Constructor */\n    );\n    data.set(\n      \"field\",\n      3\n      /* CompletionItemKind.Field */\n    );\n    data.set(\n      \"variable\",\n      4\n      /* CompletionItemKind.Variable */\n    );\n    data.set(\n      \"class\",\n      5\n      /* CompletionItemKind.Class */\n    );\n    data.set(\n      \"struct\",\n      6\n      /* CompletionItemKind.Struct */\n    );\n    data.set(\n      \"interface\",\n      7\n      /* CompletionItemKind.Interface */\n    );\n    data.set(\n      \"module\",\n      8\n      /* CompletionItemKind.Module */\n    );\n    data.set(\n      \"property\",\n      9\n      /* CompletionItemKind.Property */\n    );\n    data.set(\n      \"event\",\n      10\n      /* CompletionItemKind.Event */\n    );\n    data.set(\n      \"operator\",\n      11\n      /* CompletionItemKind.Operator */\n    );\n    data.set(\n      \"unit\",\n      12\n      /* CompletionItemKind.Unit */\n    );\n    data.set(\n      \"value\",\n      13\n      /* CompletionItemKind.Value */\n    );\n    data.set(\n      \"constant\",\n      14\n      /* CompletionItemKind.Constant */\n    );\n    data.set(\n      \"enum\",\n      15\n      /* CompletionItemKind.Enum */\n    );\n    data.set(\n      \"enum-member\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"enumMember\",\n      16\n      /* CompletionItemKind.EnumMember */\n    );\n    data.set(\n      \"keyword\",\n      17\n      /* CompletionItemKind.Keyword */\n    );\n    data.set(\n      \"snippet\",\n      27\n      /* CompletionItemKind.Snippet */\n    );\n    data.set(\n      \"text\",\n      18\n      /* CompletionItemKind.Text */\n    );\n    data.set(\n      \"color\",\n      19\n      /* CompletionItemKind.Color */\n    );\n    data.set(\n      \"file\",\n      20\n      /* CompletionItemKind.File */\n    );\n    data.set(\n      \"reference\",\n      21\n      /* CompletionItemKind.Reference */\n    );\n    data.set(\n      \"customcolor\",\n      22\n      /* CompletionItemKind.Customcolor */\n    );\n    data.set(\n      \"folder\",\n      23\n      /* CompletionItemKind.Folder */\n    );\n    data.set(\n      \"type-parameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"typeParameter\",\n      24\n      /* CompletionItemKind.TypeParameter */\n    );\n    data.set(\n      \"account\",\n      25\n      /* CompletionItemKind.User */\n    );\n    data.set(\n      \"issue\",\n      26\n      /* CompletionItemKind.Issue */\n    );\n    function fromString(value, strict) {\n      let res = data.get(value);\n      if (typeof res === \"undefined\" && !strict) {\n        res = 9;\n      }\n      return res;\n    }\n    CompletionItemKinds2.fromString = fromString;\n  })(CompletionItemKinds || (CompletionItemKinds = {}));\n  var InlineCompletionTriggerKind;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));\n  var DocumentPasteTriggerKind;\n  (function(DocumentPasteTriggerKind2) {\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"Automatic\"] = 0] = \"Automatic\";\n    DocumentPasteTriggerKind2[DocumentPasteTriggerKind2[\"PasteAs\"] = 1] = \"PasteAs\";\n  })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {}));\n  var SignatureHelpTriggerKind;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));\n  var DocumentHighlightKind;\n  (function(DocumentHighlightKind3) {\n    DocumentHighlightKind3[DocumentHighlightKind3[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind3[DocumentHighlightKind3[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind3[DocumentHighlightKind3[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind || (DocumentHighlightKind = {}));\n  var symbolKindNames = {\n    [\n      17\n      /* SymbolKind.Array */\n    ]: localize(\"Array\", \"array\"),\n    [\n      16\n      /* SymbolKind.Boolean */\n    ]: localize(\"Boolean\", \"boolean\"),\n    [\n      4\n      /* SymbolKind.Class */\n    ]: localize(\"Class\", \"class\"),\n    [\n      13\n      /* SymbolKind.Constant */\n    ]: localize(\"Constant\", \"constant\"),\n    [\n      8\n      /* SymbolKind.Constructor */\n    ]: localize(\"Constructor\", \"constructor\"),\n    [\n      9\n      /* SymbolKind.Enum */\n    ]: localize(\"Enum\", \"enumeration\"),\n    [\n      21\n      /* SymbolKind.EnumMember */\n    ]: localize(\"EnumMember\", \"enumeration member\"),\n    [\n      23\n      /* SymbolKind.Event */\n    ]: localize(\"Event\", \"event\"),\n    [\n      7\n      /* SymbolKind.Field */\n    ]: localize(\"Field\", \"field\"),\n    [\n      0\n      /* SymbolKind.File */\n    ]: localize(\"File\", \"file\"),\n    [\n      11\n      /* SymbolKind.Function */\n    ]: localize(\"Function\", \"function\"),\n    [\n      10\n      /* SymbolKind.Interface */\n    ]: localize(\"Interface\", \"interface\"),\n    [\n      19\n      /* SymbolKind.Key */\n    ]: localize(\"Key\", \"key\"),\n    [\n      5\n      /* SymbolKind.Method */\n    ]: localize(\"Method\", \"method\"),\n    [\n      1\n      /* SymbolKind.Module */\n    ]: localize(\"Module\", \"module\"),\n    [\n      2\n      /* SymbolKind.Namespace */\n    ]: localize(\"Namespace\", \"namespace\"),\n    [\n      20\n      /* SymbolKind.Null */\n    ]: localize(\"Null\", \"null\"),\n    [\n      15\n      /* SymbolKind.Number */\n    ]: localize(\"Number\", \"number\"),\n    [\n      18\n      /* SymbolKind.Object */\n    ]: localize(\"Object\", \"object\"),\n    [\n      24\n      /* SymbolKind.Operator */\n    ]: localize(\"Operator\", \"operator\"),\n    [\n      3\n      /* SymbolKind.Package */\n    ]: localize(\"Package\", \"package\"),\n    [\n      6\n      /* SymbolKind.Property */\n    ]: localize(\"Property\", \"property\"),\n    [\n      14\n      /* SymbolKind.String */\n    ]: localize(\"String\", \"string\"),\n    [\n      22\n      /* SymbolKind.Struct */\n    ]: localize(\"Struct\", \"struct\"),\n    [\n      25\n      /* SymbolKind.TypeParameter */\n    ]: localize(\"TypeParameter\", \"type parameter\"),\n    [\n      12\n      /* SymbolKind.Variable */\n    ]: localize(\"Variable\", \"variable\")\n  };\n  var SymbolKinds;\n  (function(SymbolKinds2) {\n    const byKind = /* @__PURE__ */ new Map();\n    byKind.set(0, Codicon.symbolFile);\n    byKind.set(1, Codicon.symbolModule);\n    byKind.set(2, Codicon.symbolNamespace);\n    byKind.set(3, Codicon.symbolPackage);\n    byKind.set(4, Codicon.symbolClass);\n    byKind.set(5, Codicon.symbolMethod);\n    byKind.set(6, Codicon.symbolProperty);\n    byKind.set(7, Codicon.symbolField);\n    byKind.set(8, Codicon.symbolConstructor);\n    byKind.set(9, Codicon.symbolEnum);\n    byKind.set(10, Codicon.symbolInterface);\n    byKind.set(11, Codicon.symbolFunction);\n    byKind.set(12, Codicon.symbolVariable);\n    byKind.set(13, Codicon.symbolConstant);\n    byKind.set(14, Codicon.symbolString);\n    byKind.set(15, Codicon.symbolNumber);\n    byKind.set(16, Codicon.symbolBoolean);\n    byKind.set(17, Codicon.symbolArray);\n    byKind.set(18, Codicon.symbolObject);\n    byKind.set(19, Codicon.symbolKey);\n    byKind.set(20, Codicon.symbolNull);\n    byKind.set(21, Codicon.symbolEnumMember);\n    byKind.set(22, Codicon.symbolStruct);\n    byKind.set(23, Codicon.symbolEvent);\n    byKind.set(24, Codicon.symbolOperator);\n    byKind.set(25, Codicon.symbolTypeParameter);\n    function toIcon(kind) {\n      let icon = byKind.get(kind);\n      if (!icon) {\n        console.info(\"No codicon found for SymbolKind \" + kind);\n        icon = Codicon.symbolProperty;\n      }\n      return icon;\n    }\n    SymbolKinds2.toIcon = toIcon;\n  })(SymbolKinds || (SymbolKinds = {}));\n  var FoldingRangeKind = class _FoldingRangeKind {\n    /**\n     * Returns a {@link FoldingRangeKind} for the given value.\n     *\n     * @param value of the kind.\n     */\n    static fromValue(value) {\n      switch (value) {\n        case \"comment\":\n          return _FoldingRangeKind.Comment;\n        case \"imports\":\n          return _FoldingRangeKind.Imports;\n        case \"region\":\n          return _FoldingRangeKind.Region;\n      }\n      return new _FoldingRangeKind(value);\n    }\n    /**\n     * Creates a new {@link FoldingRangeKind}.\n     *\n     * @param value of the kind.\n     */\n    constructor(value) {\n      this.value = value;\n    }\n  };\n  FoldingRangeKind.Comment = new FoldingRangeKind(\"comment\");\n  FoldingRangeKind.Imports = new FoldingRangeKind(\"imports\");\n  FoldingRangeKind.Region = new FoldingRangeKind(\"region\");\n  var NewSymbolNameTag;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag || (NewSymbolNameTag = {}));\n  var NewSymbolNameTriggerKind;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {}));\n  var Command;\n  (function(Command2) {\n    function is(obj) {\n      if (!obj || typeof obj !== \"object\") {\n        return false;\n      }\n      return typeof obj.id === \"string\" && typeof obj.title === \"string\";\n    }\n    Command2.is = is;\n  })(Command || (Command = {}));\n  var InlayHintKind;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind || (InlayHintKind = {}));\n  var TokenizationRegistry2 = new TokenizationRegistry();\n  var InlineEditTriggerKind;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind || (InlineEditTriggerKind = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js\n  var AccessibilitySupport;\n  (function(AccessibilitySupport2) {\n    AccessibilitySupport2[AccessibilitySupport2[\"Unknown\"] = 0] = \"Unknown\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Disabled\"] = 1] = \"Disabled\";\n    AccessibilitySupport2[AccessibilitySupport2[\"Enabled\"] = 2] = \"Enabled\";\n  })(AccessibilitySupport || (AccessibilitySupport = {}));\n  var CodeActionTriggerType;\n  (function(CodeActionTriggerType2) {\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Invoke\"] = 1] = \"Invoke\";\n    CodeActionTriggerType2[CodeActionTriggerType2[\"Auto\"] = 2] = \"Auto\";\n  })(CodeActionTriggerType || (CodeActionTriggerType = {}));\n  var CompletionItemInsertTextRule;\n  (function(CompletionItemInsertTextRule2) {\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"None\"] = 0] = \"None\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"KeepWhitespace\"] = 1] = \"KeepWhitespace\";\n    CompletionItemInsertTextRule2[CompletionItemInsertTextRule2[\"InsertAsSnippet\"] = 4] = \"InsertAsSnippet\";\n  })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));\n  var CompletionItemKind;\n  (function(CompletionItemKind2) {\n    CompletionItemKind2[CompletionItemKind2[\"Method\"] = 0] = \"Method\";\n    CompletionItemKind2[CompletionItemKind2[\"Function\"] = 1] = \"Function\";\n    CompletionItemKind2[CompletionItemKind2[\"Constructor\"] = 2] = \"Constructor\";\n    CompletionItemKind2[CompletionItemKind2[\"Field\"] = 3] = \"Field\";\n    CompletionItemKind2[CompletionItemKind2[\"Variable\"] = 4] = \"Variable\";\n    CompletionItemKind2[CompletionItemKind2[\"Class\"] = 5] = \"Class\";\n    CompletionItemKind2[CompletionItemKind2[\"Struct\"] = 6] = \"Struct\";\n    CompletionItemKind2[CompletionItemKind2[\"Interface\"] = 7] = \"Interface\";\n    CompletionItemKind2[CompletionItemKind2[\"Module\"] = 8] = \"Module\";\n    CompletionItemKind2[CompletionItemKind2[\"Property\"] = 9] = \"Property\";\n    CompletionItemKind2[CompletionItemKind2[\"Event\"] = 10] = \"Event\";\n    CompletionItemKind2[CompletionItemKind2[\"Operator\"] = 11] = \"Operator\";\n    CompletionItemKind2[CompletionItemKind2[\"Unit\"] = 12] = \"Unit\";\n    CompletionItemKind2[CompletionItemKind2[\"Value\"] = 13] = \"Value\";\n    CompletionItemKind2[CompletionItemKind2[\"Constant\"] = 14] = \"Constant\";\n    CompletionItemKind2[CompletionItemKind2[\"Enum\"] = 15] = \"Enum\";\n    CompletionItemKind2[CompletionItemKind2[\"EnumMember\"] = 16] = \"EnumMember\";\n    CompletionItemKind2[CompletionItemKind2[\"Keyword\"] = 17] = \"Keyword\";\n    CompletionItemKind2[CompletionItemKind2[\"Text\"] = 18] = \"Text\";\n    CompletionItemKind2[CompletionItemKind2[\"Color\"] = 19] = \"Color\";\n    CompletionItemKind2[CompletionItemKind2[\"File\"] = 20] = \"File\";\n    CompletionItemKind2[CompletionItemKind2[\"Reference\"] = 21] = \"Reference\";\n    CompletionItemKind2[CompletionItemKind2[\"Customcolor\"] = 22] = \"Customcolor\";\n    CompletionItemKind2[CompletionItemKind2[\"Folder\"] = 23] = \"Folder\";\n    CompletionItemKind2[CompletionItemKind2[\"TypeParameter\"] = 24] = \"TypeParameter\";\n    CompletionItemKind2[CompletionItemKind2[\"User\"] = 25] = \"User\";\n    CompletionItemKind2[CompletionItemKind2[\"Issue\"] = 26] = \"Issue\";\n    CompletionItemKind2[CompletionItemKind2[\"Snippet\"] = 27] = \"Snippet\";\n  })(CompletionItemKind || (CompletionItemKind = {}));\n  var CompletionItemTag;\n  (function(CompletionItemTag2) {\n    CompletionItemTag2[CompletionItemTag2[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(CompletionItemTag || (CompletionItemTag = {}));\n  var CompletionTriggerKind;\n  (function(CompletionTriggerKind2) {\n    CompletionTriggerKind2[CompletionTriggerKind2[\"Invoke\"] = 0] = \"Invoke\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerCharacter\"] = 1] = \"TriggerCharacter\";\n    CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerForIncompleteCompletions\"] = 2] = \"TriggerForIncompleteCompletions\";\n  })(CompletionTriggerKind || (CompletionTriggerKind = {}));\n  var ContentWidgetPositionPreference;\n  (function(ContentWidgetPositionPreference2) {\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"EXACT\"] = 0] = \"EXACT\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"ABOVE\"] = 1] = \"ABOVE\";\n    ContentWidgetPositionPreference2[ContentWidgetPositionPreference2[\"BELOW\"] = 2] = \"BELOW\";\n  })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));\n  var CursorChangeReason;\n  (function(CursorChangeReason2) {\n    CursorChangeReason2[CursorChangeReason2[\"NotSet\"] = 0] = \"NotSet\";\n    CursorChangeReason2[CursorChangeReason2[\"ContentFlush\"] = 1] = \"ContentFlush\";\n    CursorChangeReason2[CursorChangeReason2[\"RecoverFromMarkers\"] = 2] = \"RecoverFromMarkers\";\n    CursorChangeReason2[CursorChangeReason2[\"Explicit\"] = 3] = \"Explicit\";\n    CursorChangeReason2[CursorChangeReason2[\"Paste\"] = 4] = \"Paste\";\n    CursorChangeReason2[CursorChangeReason2[\"Undo\"] = 5] = \"Undo\";\n    CursorChangeReason2[CursorChangeReason2[\"Redo\"] = 6] = \"Redo\";\n  })(CursorChangeReason || (CursorChangeReason = {}));\n  var DefaultEndOfLine;\n  (function(DefaultEndOfLine2) {\n    DefaultEndOfLine2[DefaultEndOfLine2[\"LF\"] = 1] = \"LF\";\n    DefaultEndOfLine2[DefaultEndOfLine2[\"CRLF\"] = 2] = \"CRLF\";\n  })(DefaultEndOfLine || (DefaultEndOfLine = {}));\n  var DocumentHighlightKind2;\n  (function(DocumentHighlightKind3) {\n    DocumentHighlightKind3[DocumentHighlightKind3[\"Text\"] = 0] = \"Text\";\n    DocumentHighlightKind3[DocumentHighlightKind3[\"Read\"] = 1] = \"Read\";\n    DocumentHighlightKind3[DocumentHighlightKind3[\"Write\"] = 2] = \"Write\";\n  })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {}));\n  var EditorAutoIndentStrategy;\n  (function(EditorAutoIndentStrategy2) {\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"None\"] = 0] = \"None\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Keep\"] = 1] = \"Keep\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Brackets\"] = 2] = \"Brackets\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Advanced\"] = 3] = \"Advanced\";\n    EditorAutoIndentStrategy2[EditorAutoIndentStrategy2[\"Full\"] = 4] = \"Full\";\n  })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));\n  var EditorOption;\n  (function(EditorOption2) {\n    EditorOption2[EditorOption2[\"acceptSuggestionOnCommitCharacter\"] = 0] = \"acceptSuggestionOnCommitCharacter\";\n    EditorOption2[EditorOption2[\"acceptSuggestionOnEnter\"] = 1] = \"acceptSuggestionOnEnter\";\n    EditorOption2[EditorOption2[\"accessibilitySupport\"] = 2] = \"accessibilitySupport\";\n    EditorOption2[EditorOption2[\"accessibilityPageSize\"] = 3] = \"accessibilityPageSize\";\n    EditorOption2[EditorOption2[\"ariaLabel\"] = 4] = \"ariaLabel\";\n    EditorOption2[EditorOption2[\"ariaRequired\"] = 5] = \"ariaRequired\";\n    EditorOption2[EditorOption2[\"autoClosingBrackets\"] = 6] = \"autoClosingBrackets\";\n    EditorOption2[EditorOption2[\"autoClosingComments\"] = 7] = \"autoClosingComments\";\n    EditorOption2[EditorOption2[\"screenReaderAnnounceInlineSuggestion\"] = 8] = \"screenReaderAnnounceInlineSuggestion\";\n    EditorOption2[EditorOption2[\"autoClosingDelete\"] = 9] = \"autoClosingDelete\";\n    EditorOption2[EditorOption2[\"autoClosingOvertype\"] = 10] = \"autoClosingOvertype\";\n    EditorOption2[EditorOption2[\"autoClosingQuotes\"] = 11] = \"autoClosingQuotes\";\n    EditorOption2[EditorOption2[\"autoIndent\"] = 12] = \"autoIndent\";\n    EditorOption2[EditorOption2[\"automaticLayout\"] = 13] = \"automaticLayout\";\n    EditorOption2[EditorOption2[\"autoSurround\"] = 14] = \"autoSurround\";\n    EditorOption2[EditorOption2[\"bracketPairColorization\"] = 15] = \"bracketPairColorization\";\n    EditorOption2[EditorOption2[\"guides\"] = 16] = \"guides\";\n    EditorOption2[EditorOption2[\"codeLens\"] = 17] = \"codeLens\";\n    EditorOption2[EditorOption2[\"codeLensFontFamily\"] = 18] = \"codeLensFontFamily\";\n    EditorOption2[EditorOption2[\"codeLensFontSize\"] = 19] = \"codeLensFontSize\";\n    EditorOption2[EditorOption2[\"colorDecorators\"] = 20] = \"colorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsLimit\"] = 21] = \"colorDecoratorsLimit\";\n    EditorOption2[EditorOption2[\"columnSelection\"] = 22] = \"columnSelection\";\n    EditorOption2[EditorOption2[\"comments\"] = 23] = \"comments\";\n    EditorOption2[EditorOption2[\"contextmenu\"] = 24] = \"contextmenu\";\n    EditorOption2[EditorOption2[\"copyWithSyntaxHighlighting\"] = 25] = \"copyWithSyntaxHighlighting\";\n    EditorOption2[EditorOption2[\"cursorBlinking\"] = 26] = \"cursorBlinking\";\n    EditorOption2[EditorOption2[\"cursorSmoothCaretAnimation\"] = 27] = \"cursorSmoothCaretAnimation\";\n    EditorOption2[EditorOption2[\"cursorStyle\"] = 28] = \"cursorStyle\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLines\"] = 29] = \"cursorSurroundingLines\";\n    EditorOption2[EditorOption2[\"cursorSurroundingLinesStyle\"] = 30] = \"cursorSurroundingLinesStyle\";\n    EditorOption2[EditorOption2[\"cursorWidth\"] = 31] = \"cursorWidth\";\n    EditorOption2[EditorOption2[\"disableLayerHinting\"] = 32] = \"disableLayerHinting\";\n    EditorOption2[EditorOption2[\"disableMonospaceOptimizations\"] = 33] = \"disableMonospaceOptimizations\";\n    EditorOption2[EditorOption2[\"domReadOnly\"] = 34] = \"domReadOnly\";\n    EditorOption2[EditorOption2[\"dragAndDrop\"] = 35] = \"dragAndDrop\";\n    EditorOption2[EditorOption2[\"dropIntoEditor\"] = 36] = \"dropIntoEditor\";\n    EditorOption2[EditorOption2[\"emptySelectionClipboard\"] = 37] = \"emptySelectionClipboard\";\n    EditorOption2[EditorOption2[\"experimentalWhitespaceRendering\"] = 38] = \"experimentalWhitespaceRendering\";\n    EditorOption2[EditorOption2[\"extraEditorClassName\"] = 39] = \"extraEditorClassName\";\n    EditorOption2[EditorOption2[\"fastScrollSensitivity\"] = 40] = \"fastScrollSensitivity\";\n    EditorOption2[EditorOption2[\"find\"] = 41] = \"find\";\n    EditorOption2[EditorOption2[\"fixedOverflowWidgets\"] = 42] = \"fixedOverflowWidgets\";\n    EditorOption2[EditorOption2[\"folding\"] = 43] = \"folding\";\n    EditorOption2[EditorOption2[\"foldingStrategy\"] = 44] = \"foldingStrategy\";\n    EditorOption2[EditorOption2[\"foldingHighlight\"] = 45] = \"foldingHighlight\";\n    EditorOption2[EditorOption2[\"foldingImportsByDefault\"] = 46] = \"foldingImportsByDefault\";\n    EditorOption2[EditorOption2[\"foldingMaximumRegions\"] = 47] = \"foldingMaximumRegions\";\n    EditorOption2[EditorOption2[\"unfoldOnClickAfterEndOfLine\"] = 48] = \"unfoldOnClickAfterEndOfLine\";\n    EditorOption2[EditorOption2[\"fontFamily\"] = 49] = \"fontFamily\";\n    EditorOption2[EditorOption2[\"fontInfo\"] = 50] = \"fontInfo\";\n    EditorOption2[EditorOption2[\"fontLigatures\"] = 51] = \"fontLigatures\";\n    EditorOption2[EditorOption2[\"fontSize\"] = 52] = \"fontSize\";\n    EditorOption2[EditorOption2[\"fontWeight\"] = 53] = \"fontWeight\";\n    EditorOption2[EditorOption2[\"fontVariations\"] = 54] = \"fontVariations\";\n    EditorOption2[EditorOption2[\"formatOnPaste\"] = 55] = \"formatOnPaste\";\n    EditorOption2[EditorOption2[\"formatOnType\"] = 56] = \"formatOnType\";\n    EditorOption2[EditorOption2[\"glyphMargin\"] = 57] = \"glyphMargin\";\n    EditorOption2[EditorOption2[\"gotoLocation\"] = 58] = \"gotoLocation\";\n    EditorOption2[EditorOption2[\"hideCursorInOverviewRuler\"] = 59] = \"hideCursorInOverviewRuler\";\n    EditorOption2[EditorOption2[\"hover\"] = 60] = \"hover\";\n    EditorOption2[EditorOption2[\"inDiffEditor\"] = 61] = \"inDiffEditor\";\n    EditorOption2[EditorOption2[\"inlineSuggest\"] = 62] = \"inlineSuggest\";\n    EditorOption2[EditorOption2[\"inlineEdit\"] = 63] = \"inlineEdit\";\n    EditorOption2[EditorOption2[\"letterSpacing\"] = 64] = \"letterSpacing\";\n    EditorOption2[EditorOption2[\"lightbulb\"] = 65] = \"lightbulb\";\n    EditorOption2[EditorOption2[\"lineDecorationsWidth\"] = 66] = \"lineDecorationsWidth\";\n    EditorOption2[EditorOption2[\"lineHeight\"] = 67] = \"lineHeight\";\n    EditorOption2[EditorOption2[\"lineNumbers\"] = 68] = \"lineNumbers\";\n    EditorOption2[EditorOption2[\"lineNumbersMinChars\"] = 69] = \"lineNumbersMinChars\";\n    EditorOption2[EditorOption2[\"linkedEditing\"] = 70] = \"linkedEditing\";\n    EditorOption2[EditorOption2[\"links\"] = 71] = \"links\";\n    EditorOption2[EditorOption2[\"matchBrackets\"] = 72] = \"matchBrackets\";\n    EditorOption2[EditorOption2[\"minimap\"] = 73] = \"minimap\";\n    EditorOption2[EditorOption2[\"mouseStyle\"] = 74] = \"mouseStyle\";\n    EditorOption2[EditorOption2[\"mouseWheelScrollSensitivity\"] = 75] = \"mouseWheelScrollSensitivity\";\n    EditorOption2[EditorOption2[\"mouseWheelZoom\"] = 76] = \"mouseWheelZoom\";\n    EditorOption2[EditorOption2[\"multiCursorMergeOverlapping\"] = 77] = \"multiCursorMergeOverlapping\";\n    EditorOption2[EditorOption2[\"multiCursorModifier\"] = 78] = \"multiCursorModifier\";\n    EditorOption2[EditorOption2[\"multiCursorPaste\"] = 79] = \"multiCursorPaste\";\n    EditorOption2[EditorOption2[\"multiCursorLimit\"] = 80] = \"multiCursorLimit\";\n    EditorOption2[EditorOption2[\"occurrencesHighlight\"] = 81] = \"occurrencesHighlight\";\n    EditorOption2[EditorOption2[\"overviewRulerBorder\"] = 82] = \"overviewRulerBorder\";\n    EditorOption2[EditorOption2[\"overviewRulerLanes\"] = 83] = \"overviewRulerLanes\";\n    EditorOption2[EditorOption2[\"padding\"] = 84] = \"padding\";\n    EditorOption2[EditorOption2[\"pasteAs\"] = 85] = \"pasteAs\";\n    EditorOption2[EditorOption2[\"parameterHints\"] = 86] = \"parameterHints\";\n    EditorOption2[EditorOption2[\"peekWidgetDefaultFocus\"] = 87] = \"peekWidgetDefaultFocus\";\n    EditorOption2[EditorOption2[\"definitionLinkOpensInPeek\"] = 88] = \"definitionLinkOpensInPeek\";\n    EditorOption2[EditorOption2[\"quickSuggestions\"] = 89] = \"quickSuggestions\";\n    EditorOption2[EditorOption2[\"quickSuggestionsDelay\"] = 90] = \"quickSuggestionsDelay\";\n    EditorOption2[EditorOption2[\"readOnly\"] = 91] = \"readOnly\";\n    EditorOption2[EditorOption2[\"readOnlyMessage\"] = 92] = \"readOnlyMessage\";\n    EditorOption2[EditorOption2[\"renameOnType\"] = 93] = \"renameOnType\";\n    EditorOption2[EditorOption2[\"renderControlCharacters\"] = 94] = \"renderControlCharacters\";\n    EditorOption2[EditorOption2[\"renderFinalNewline\"] = 95] = \"renderFinalNewline\";\n    EditorOption2[EditorOption2[\"renderLineHighlight\"] = 96] = \"renderLineHighlight\";\n    EditorOption2[EditorOption2[\"renderLineHighlightOnlyWhenFocus\"] = 97] = \"renderLineHighlightOnlyWhenFocus\";\n    EditorOption2[EditorOption2[\"renderValidationDecorations\"] = 98] = \"renderValidationDecorations\";\n    EditorOption2[EditorOption2[\"renderWhitespace\"] = 99] = \"renderWhitespace\";\n    EditorOption2[EditorOption2[\"revealHorizontalRightPadding\"] = 100] = \"revealHorizontalRightPadding\";\n    EditorOption2[EditorOption2[\"roundedSelection\"] = 101] = \"roundedSelection\";\n    EditorOption2[EditorOption2[\"rulers\"] = 102] = \"rulers\";\n    EditorOption2[EditorOption2[\"scrollbar\"] = 103] = \"scrollbar\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastColumn\"] = 104] = \"scrollBeyondLastColumn\";\n    EditorOption2[EditorOption2[\"scrollBeyondLastLine\"] = 105] = \"scrollBeyondLastLine\";\n    EditorOption2[EditorOption2[\"scrollPredominantAxis\"] = 106] = \"scrollPredominantAxis\";\n    EditorOption2[EditorOption2[\"selectionClipboard\"] = 107] = \"selectionClipboard\";\n    EditorOption2[EditorOption2[\"selectionHighlight\"] = 108] = \"selectionHighlight\";\n    EditorOption2[EditorOption2[\"selectOnLineNumbers\"] = 109] = \"selectOnLineNumbers\";\n    EditorOption2[EditorOption2[\"showFoldingControls\"] = 110] = \"showFoldingControls\";\n    EditorOption2[EditorOption2[\"showUnused\"] = 111] = \"showUnused\";\n    EditorOption2[EditorOption2[\"snippetSuggestions\"] = 112] = \"snippetSuggestions\";\n    EditorOption2[EditorOption2[\"smartSelect\"] = 113] = \"smartSelect\";\n    EditorOption2[EditorOption2[\"smoothScrolling\"] = 114] = \"smoothScrolling\";\n    EditorOption2[EditorOption2[\"stickyScroll\"] = 115] = \"stickyScroll\";\n    EditorOption2[EditorOption2[\"stickyTabStops\"] = 116] = \"stickyTabStops\";\n    EditorOption2[EditorOption2[\"stopRenderingLineAfter\"] = 117] = \"stopRenderingLineAfter\";\n    EditorOption2[EditorOption2[\"suggest\"] = 118] = \"suggest\";\n    EditorOption2[EditorOption2[\"suggestFontSize\"] = 119] = \"suggestFontSize\";\n    EditorOption2[EditorOption2[\"suggestLineHeight\"] = 120] = \"suggestLineHeight\";\n    EditorOption2[EditorOption2[\"suggestOnTriggerCharacters\"] = 121] = \"suggestOnTriggerCharacters\";\n    EditorOption2[EditorOption2[\"suggestSelection\"] = 122] = \"suggestSelection\";\n    EditorOption2[EditorOption2[\"tabCompletion\"] = 123] = \"tabCompletion\";\n    EditorOption2[EditorOption2[\"tabIndex\"] = 124] = \"tabIndex\";\n    EditorOption2[EditorOption2[\"unicodeHighlighting\"] = 125] = \"unicodeHighlighting\";\n    EditorOption2[EditorOption2[\"unusualLineTerminators\"] = 126] = \"unusualLineTerminators\";\n    EditorOption2[EditorOption2[\"useShadowDOM\"] = 127] = \"useShadowDOM\";\n    EditorOption2[EditorOption2[\"useTabStops\"] = 128] = \"useTabStops\";\n    EditorOption2[EditorOption2[\"wordBreak\"] = 129] = \"wordBreak\";\n    EditorOption2[EditorOption2[\"wordSegmenterLocales\"] = 130] = \"wordSegmenterLocales\";\n    EditorOption2[EditorOption2[\"wordSeparators\"] = 131] = \"wordSeparators\";\n    EditorOption2[EditorOption2[\"wordWrap\"] = 132] = \"wordWrap\";\n    EditorOption2[EditorOption2[\"wordWrapBreakAfterCharacters\"] = 133] = \"wordWrapBreakAfterCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapBreakBeforeCharacters\"] = 134] = \"wordWrapBreakBeforeCharacters\";\n    EditorOption2[EditorOption2[\"wordWrapColumn\"] = 135] = \"wordWrapColumn\";\n    EditorOption2[EditorOption2[\"wordWrapOverride1\"] = 136] = \"wordWrapOverride1\";\n    EditorOption2[EditorOption2[\"wordWrapOverride2\"] = 137] = \"wordWrapOverride2\";\n    EditorOption2[EditorOption2[\"wrappingIndent\"] = 138] = \"wrappingIndent\";\n    EditorOption2[EditorOption2[\"wrappingStrategy\"] = 139] = \"wrappingStrategy\";\n    EditorOption2[EditorOption2[\"showDeprecated\"] = 140] = \"showDeprecated\";\n    EditorOption2[EditorOption2[\"inlayHints\"] = 141] = \"inlayHints\";\n    EditorOption2[EditorOption2[\"editorClassName\"] = 142] = \"editorClassName\";\n    EditorOption2[EditorOption2[\"pixelRatio\"] = 143] = \"pixelRatio\";\n    EditorOption2[EditorOption2[\"tabFocusMode\"] = 144] = \"tabFocusMode\";\n    EditorOption2[EditorOption2[\"layoutInfo\"] = 145] = \"layoutInfo\";\n    EditorOption2[EditorOption2[\"wrappingInfo\"] = 146] = \"wrappingInfo\";\n    EditorOption2[EditorOption2[\"defaultColorDecorators\"] = 147] = \"defaultColorDecorators\";\n    EditorOption2[EditorOption2[\"colorDecoratorsActivatedOn\"] = 148] = \"colorDecoratorsActivatedOn\";\n    EditorOption2[EditorOption2[\"inlineCompletionsAccessibilityVerbose\"] = 149] = \"inlineCompletionsAccessibilityVerbose\";\n  })(EditorOption || (EditorOption = {}));\n  var EndOfLinePreference;\n  (function(EndOfLinePreference2) {\n    EndOfLinePreference2[EndOfLinePreference2[\"TextDefined\"] = 0] = \"TextDefined\";\n    EndOfLinePreference2[EndOfLinePreference2[\"LF\"] = 1] = \"LF\";\n    EndOfLinePreference2[EndOfLinePreference2[\"CRLF\"] = 2] = \"CRLF\";\n  })(EndOfLinePreference || (EndOfLinePreference = {}));\n  var EndOfLineSequence;\n  (function(EndOfLineSequence2) {\n    EndOfLineSequence2[EndOfLineSequence2[\"LF\"] = 0] = \"LF\";\n    EndOfLineSequence2[EndOfLineSequence2[\"CRLF\"] = 1] = \"CRLF\";\n  })(EndOfLineSequence || (EndOfLineSequence = {}));\n  var GlyphMarginLane;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane || (GlyphMarginLane = {}));\n  var HoverVerbosityAction2;\n  (function(HoverVerbosityAction3) {\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Increase\"] = 0] = \"Increase\";\n    HoverVerbosityAction3[HoverVerbosityAction3[\"Decrease\"] = 1] = \"Decrease\";\n  })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {}));\n  var IndentAction;\n  (function(IndentAction2) {\n    IndentAction2[IndentAction2[\"None\"] = 0] = \"None\";\n    IndentAction2[IndentAction2[\"Indent\"] = 1] = \"Indent\";\n    IndentAction2[IndentAction2[\"IndentOutdent\"] = 2] = \"IndentOutdent\";\n    IndentAction2[IndentAction2[\"Outdent\"] = 3] = \"Outdent\";\n  })(IndentAction || (IndentAction = {}));\n  var InjectedTextCursorStops;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops || (InjectedTextCursorStops = {}));\n  var InlayHintKind2;\n  (function(InlayHintKind3) {\n    InlayHintKind3[InlayHintKind3[\"Type\"] = 1] = \"Type\";\n    InlayHintKind3[InlayHintKind3[\"Parameter\"] = 2] = \"Parameter\";\n  })(InlayHintKind2 || (InlayHintKind2 = {}));\n  var InlineCompletionTriggerKind2;\n  (function(InlineCompletionTriggerKind3) {\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Automatic\"] = 0] = \"Automatic\";\n    InlineCompletionTriggerKind3[InlineCompletionTriggerKind3[\"Explicit\"] = 1] = \"Explicit\";\n  })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {}));\n  var InlineEditTriggerKind2;\n  (function(InlineEditTriggerKind3) {\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    InlineEditTriggerKind3[InlineEditTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {}));\n  var KeyCode;\n  (function(KeyCode2) {\n    KeyCode2[KeyCode2[\"DependsOnKbLayout\"] = -1] = \"DependsOnKbLayout\";\n    KeyCode2[KeyCode2[\"Unknown\"] = 0] = \"Unknown\";\n    KeyCode2[KeyCode2[\"Backspace\"] = 1] = \"Backspace\";\n    KeyCode2[KeyCode2[\"Tab\"] = 2] = \"Tab\";\n    KeyCode2[KeyCode2[\"Enter\"] = 3] = \"Enter\";\n    KeyCode2[KeyCode2[\"Shift\"] = 4] = \"Shift\";\n    KeyCode2[KeyCode2[\"Ctrl\"] = 5] = \"Ctrl\";\n    KeyCode2[KeyCode2[\"Alt\"] = 6] = \"Alt\";\n    KeyCode2[KeyCode2[\"PauseBreak\"] = 7] = \"PauseBreak\";\n    KeyCode2[KeyCode2[\"CapsLock\"] = 8] = \"CapsLock\";\n    KeyCode2[KeyCode2[\"Escape\"] = 9] = \"Escape\";\n    KeyCode2[KeyCode2[\"Space\"] = 10] = \"Space\";\n    KeyCode2[KeyCode2[\"PageUp\"] = 11] = \"PageUp\";\n    KeyCode2[KeyCode2[\"PageDown\"] = 12] = \"PageDown\";\n    KeyCode2[KeyCode2[\"End\"] = 13] = \"End\";\n    KeyCode2[KeyCode2[\"Home\"] = 14] = \"Home\";\n    KeyCode2[KeyCode2[\"LeftArrow\"] = 15] = \"LeftArrow\";\n    KeyCode2[KeyCode2[\"UpArrow\"] = 16] = \"UpArrow\";\n    KeyCode2[KeyCode2[\"RightArrow\"] = 17] = \"RightArrow\";\n    KeyCode2[KeyCode2[\"DownArrow\"] = 18] = \"DownArrow\";\n    KeyCode2[KeyCode2[\"Insert\"] = 19] = \"Insert\";\n    KeyCode2[KeyCode2[\"Delete\"] = 20] = \"Delete\";\n    KeyCode2[KeyCode2[\"Digit0\"] = 21] = \"Digit0\";\n    KeyCode2[KeyCode2[\"Digit1\"] = 22] = \"Digit1\";\n    KeyCode2[KeyCode2[\"Digit2\"] = 23] = \"Digit2\";\n    KeyCode2[KeyCode2[\"Digit3\"] = 24] = \"Digit3\";\n    KeyCode2[KeyCode2[\"Digit4\"] = 25] = \"Digit4\";\n    KeyCode2[KeyCode2[\"Digit5\"] = 26] = \"Digit5\";\n    KeyCode2[KeyCode2[\"Digit6\"] = 27] = \"Digit6\";\n    KeyCode2[KeyCode2[\"Digit7\"] = 28] = \"Digit7\";\n    KeyCode2[KeyCode2[\"Digit8\"] = 29] = \"Digit8\";\n    KeyCode2[KeyCode2[\"Digit9\"] = 30] = \"Digit9\";\n    KeyCode2[KeyCode2[\"KeyA\"] = 31] = \"KeyA\";\n    KeyCode2[KeyCode2[\"KeyB\"] = 32] = \"KeyB\";\n    KeyCode2[KeyCode2[\"KeyC\"] = 33] = \"KeyC\";\n    KeyCode2[KeyCode2[\"KeyD\"] = 34] = \"KeyD\";\n    KeyCode2[KeyCode2[\"KeyE\"] = 35] = \"KeyE\";\n    KeyCode2[KeyCode2[\"KeyF\"] = 36] = \"KeyF\";\n    KeyCode2[KeyCode2[\"KeyG\"] = 37] = \"KeyG\";\n    KeyCode2[KeyCode2[\"KeyH\"] = 38] = \"KeyH\";\n    KeyCode2[KeyCode2[\"KeyI\"] = 39] = \"KeyI\";\n    KeyCode2[KeyCode2[\"KeyJ\"] = 40] = \"KeyJ\";\n    KeyCode2[KeyCode2[\"KeyK\"] = 41] = \"KeyK\";\n    KeyCode2[KeyCode2[\"KeyL\"] = 42] = \"KeyL\";\n    KeyCode2[KeyCode2[\"KeyM\"] = 43] = \"KeyM\";\n    KeyCode2[KeyCode2[\"KeyN\"] = 44] = \"KeyN\";\n    KeyCode2[KeyCode2[\"KeyO\"] = 45] = \"KeyO\";\n    KeyCode2[KeyCode2[\"KeyP\"] = 46] = \"KeyP\";\n    KeyCode2[KeyCode2[\"KeyQ\"] = 47] = \"KeyQ\";\n    KeyCode2[KeyCode2[\"KeyR\"] = 48] = \"KeyR\";\n    KeyCode2[KeyCode2[\"KeyS\"] = 49] = \"KeyS\";\n    KeyCode2[KeyCode2[\"KeyT\"] = 50] = \"KeyT\";\n    KeyCode2[KeyCode2[\"KeyU\"] = 51] = \"KeyU\";\n    KeyCode2[KeyCode2[\"KeyV\"] = 52] = \"KeyV\";\n    KeyCode2[KeyCode2[\"KeyW\"] = 53] = \"KeyW\";\n    KeyCode2[KeyCode2[\"KeyX\"] = 54] = \"KeyX\";\n    KeyCode2[KeyCode2[\"KeyY\"] = 55] = \"KeyY\";\n    KeyCode2[KeyCode2[\"KeyZ\"] = 56] = \"KeyZ\";\n    KeyCode2[KeyCode2[\"Meta\"] = 57] = \"Meta\";\n    KeyCode2[KeyCode2[\"ContextMenu\"] = 58] = \"ContextMenu\";\n    KeyCode2[KeyCode2[\"F1\"] = 59] = \"F1\";\n    KeyCode2[KeyCode2[\"F2\"] = 60] = \"F2\";\n    KeyCode2[KeyCode2[\"F3\"] = 61] = \"F3\";\n    KeyCode2[KeyCode2[\"F4\"] = 62] = \"F4\";\n    KeyCode2[KeyCode2[\"F5\"] = 63] = \"F5\";\n    KeyCode2[KeyCode2[\"F6\"] = 64] = \"F6\";\n    KeyCode2[KeyCode2[\"F7\"] = 65] = \"F7\";\n    KeyCode2[KeyCode2[\"F8\"] = 66] = \"F8\";\n    KeyCode2[KeyCode2[\"F9\"] = 67] = \"F9\";\n    KeyCode2[KeyCode2[\"F10\"] = 68] = \"F10\";\n    KeyCode2[KeyCode2[\"F11\"] = 69] = \"F11\";\n    KeyCode2[KeyCode2[\"F12\"] = 70] = \"F12\";\n    KeyCode2[KeyCode2[\"F13\"] = 71] = \"F13\";\n    KeyCode2[KeyCode2[\"F14\"] = 72] = \"F14\";\n    KeyCode2[KeyCode2[\"F15\"] = 73] = \"F15\";\n    KeyCode2[KeyCode2[\"F16\"] = 74] = \"F16\";\n    KeyCode2[KeyCode2[\"F17\"] = 75] = \"F17\";\n    KeyCode2[KeyCode2[\"F18\"] = 76] = \"F18\";\n    KeyCode2[KeyCode2[\"F19\"] = 77] = \"F19\";\n    KeyCode2[KeyCode2[\"F20\"] = 78] = \"F20\";\n    KeyCode2[KeyCode2[\"F21\"] = 79] = \"F21\";\n    KeyCode2[KeyCode2[\"F22\"] = 80] = \"F22\";\n    KeyCode2[KeyCode2[\"F23\"] = 81] = \"F23\";\n    KeyCode2[KeyCode2[\"F24\"] = 82] = \"F24\";\n    KeyCode2[KeyCode2[\"NumLock\"] = 83] = \"NumLock\";\n    KeyCode2[KeyCode2[\"ScrollLock\"] = 84] = \"ScrollLock\";\n    KeyCode2[KeyCode2[\"Semicolon\"] = 85] = \"Semicolon\";\n    KeyCode2[KeyCode2[\"Equal\"] = 86] = \"Equal\";\n    KeyCode2[KeyCode2[\"Comma\"] = 87] = \"Comma\";\n    KeyCode2[KeyCode2[\"Minus\"] = 88] = \"Minus\";\n    KeyCode2[KeyCode2[\"Period\"] = 89] = \"Period\";\n    KeyCode2[KeyCode2[\"Slash\"] = 90] = \"Slash\";\n    KeyCode2[KeyCode2[\"Backquote\"] = 91] = \"Backquote\";\n    KeyCode2[KeyCode2[\"BracketLeft\"] = 92] = \"BracketLeft\";\n    KeyCode2[KeyCode2[\"Backslash\"] = 93] = \"Backslash\";\n    KeyCode2[KeyCode2[\"BracketRight\"] = 94] = \"BracketRight\";\n    KeyCode2[KeyCode2[\"Quote\"] = 95] = \"Quote\";\n    KeyCode2[KeyCode2[\"OEM_8\"] = 96] = \"OEM_8\";\n    KeyCode2[KeyCode2[\"IntlBackslash\"] = 97] = \"IntlBackslash\";\n    KeyCode2[KeyCode2[\"Numpad0\"] = 98] = \"Numpad0\";\n    KeyCode2[KeyCode2[\"Numpad1\"] = 99] = \"Numpad1\";\n    KeyCode2[KeyCode2[\"Numpad2\"] = 100] = \"Numpad2\";\n    KeyCode2[KeyCode2[\"Numpad3\"] = 101] = \"Numpad3\";\n    KeyCode2[KeyCode2[\"Numpad4\"] = 102] = \"Numpad4\";\n    KeyCode2[KeyCode2[\"Numpad5\"] = 103] = \"Numpad5\";\n    KeyCode2[KeyCode2[\"Numpad6\"] = 104] = \"Numpad6\";\n    KeyCode2[KeyCode2[\"Numpad7\"] = 105] = \"Numpad7\";\n    KeyCode2[KeyCode2[\"Numpad8\"] = 106] = \"Numpad8\";\n    KeyCode2[KeyCode2[\"Numpad9\"] = 107] = \"Numpad9\";\n    KeyCode2[KeyCode2[\"NumpadMultiply\"] = 108] = \"NumpadMultiply\";\n    KeyCode2[KeyCode2[\"NumpadAdd\"] = 109] = \"NumpadAdd\";\n    KeyCode2[KeyCode2[\"NUMPAD_SEPARATOR\"] = 110] = \"NUMPAD_SEPARATOR\";\n    KeyCode2[KeyCode2[\"NumpadSubtract\"] = 111] = \"NumpadSubtract\";\n    KeyCode2[KeyCode2[\"NumpadDecimal\"] = 112] = \"NumpadDecimal\";\n    KeyCode2[KeyCode2[\"NumpadDivide\"] = 113] = \"NumpadDivide\";\n    KeyCode2[KeyCode2[\"KEY_IN_COMPOSITION\"] = 114] = \"KEY_IN_COMPOSITION\";\n    KeyCode2[KeyCode2[\"ABNT_C1\"] = 115] = \"ABNT_C1\";\n    KeyCode2[KeyCode2[\"ABNT_C2\"] = 116] = \"ABNT_C2\";\n    KeyCode2[KeyCode2[\"AudioVolumeMute\"] = 117] = \"AudioVolumeMute\";\n    KeyCode2[KeyCode2[\"AudioVolumeUp\"] = 118] = \"AudioVolumeUp\";\n    KeyCode2[KeyCode2[\"AudioVolumeDown\"] = 119] = \"AudioVolumeDown\";\n    KeyCode2[KeyCode2[\"BrowserSearch\"] = 120] = \"BrowserSearch\";\n    KeyCode2[KeyCode2[\"BrowserHome\"] = 121] = \"BrowserHome\";\n    KeyCode2[KeyCode2[\"BrowserBack\"] = 122] = \"BrowserBack\";\n    KeyCode2[KeyCode2[\"BrowserForward\"] = 123] = \"BrowserForward\";\n    KeyCode2[KeyCode2[\"MediaTrackNext\"] = 124] = \"MediaTrackNext\";\n    KeyCode2[KeyCode2[\"MediaTrackPrevious\"] = 125] = \"MediaTrackPrevious\";\n    KeyCode2[KeyCode2[\"MediaStop\"] = 126] = \"MediaStop\";\n    KeyCode2[KeyCode2[\"MediaPlayPause\"] = 127] = \"MediaPlayPause\";\n    KeyCode2[KeyCode2[\"LaunchMediaPlayer\"] = 128] = \"LaunchMediaPlayer\";\n    KeyCode2[KeyCode2[\"LaunchMail\"] = 129] = \"LaunchMail\";\n    KeyCode2[KeyCode2[\"LaunchApp2\"] = 130] = \"LaunchApp2\";\n    KeyCode2[KeyCode2[\"Clear\"] = 131] = \"Clear\";\n    KeyCode2[KeyCode2[\"MAX_VALUE\"] = 132] = \"MAX_VALUE\";\n  })(KeyCode || (KeyCode = {}));\n  var MarkerSeverity;\n  (function(MarkerSeverity2) {\n    MarkerSeverity2[MarkerSeverity2[\"Hint\"] = 1] = \"Hint\";\n    MarkerSeverity2[MarkerSeverity2[\"Info\"] = 2] = \"Info\";\n    MarkerSeverity2[MarkerSeverity2[\"Warning\"] = 4] = \"Warning\";\n    MarkerSeverity2[MarkerSeverity2[\"Error\"] = 8] = \"Error\";\n  })(MarkerSeverity || (MarkerSeverity = {}));\n  var MarkerTag;\n  (function(MarkerTag2) {\n    MarkerTag2[MarkerTag2[\"Unnecessary\"] = 1] = \"Unnecessary\";\n    MarkerTag2[MarkerTag2[\"Deprecated\"] = 2] = \"Deprecated\";\n  })(MarkerTag || (MarkerTag = {}));\n  var MinimapPosition;\n  (function(MinimapPosition2) {\n    MinimapPosition2[MinimapPosition2[\"Inline\"] = 1] = \"Inline\";\n    MinimapPosition2[MinimapPosition2[\"Gutter\"] = 2] = \"Gutter\";\n  })(MinimapPosition || (MinimapPosition = {}));\n  var MinimapSectionHeaderStyle;\n  (function(MinimapSectionHeaderStyle2) {\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Normal\"] = 1] = \"Normal\";\n    MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2[\"Underlined\"] = 2] = \"Underlined\";\n  })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));\n  var MouseTargetType;\n  (function(MouseTargetType2) {\n    MouseTargetType2[MouseTargetType2[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n    MouseTargetType2[MouseTargetType2[\"TEXTAREA\"] = 1] = \"TEXTAREA\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_GLYPH_MARGIN\"] = 2] = \"GUTTER_GLYPH_MARGIN\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_NUMBERS\"] = 3] = \"GUTTER_LINE_NUMBERS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_LINE_DECORATIONS\"] = 4] = \"GUTTER_LINE_DECORATIONS\";\n    MouseTargetType2[MouseTargetType2[\"GUTTER_VIEW_ZONE\"] = 5] = \"GUTTER_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_TEXT\"] = 6] = \"CONTENT_TEXT\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_EMPTY\"] = 7] = \"CONTENT_EMPTY\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_VIEW_ZONE\"] = 8] = \"CONTENT_VIEW_ZONE\";\n    MouseTargetType2[MouseTargetType2[\"CONTENT_WIDGET\"] = 9] = \"CONTENT_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OVERVIEW_RULER\"] = 10] = \"OVERVIEW_RULER\";\n    MouseTargetType2[MouseTargetType2[\"SCROLLBAR\"] = 11] = \"SCROLLBAR\";\n    MouseTargetType2[MouseTargetType2[\"OVERLAY_WIDGET\"] = 12] = \"OVERLAY_WIDGET\";\n    MouseTargetType2[MouseTargetType2[\"OUTSIDE_EDITOR\"] = 13] = \"OUTSIDE_EDITOR\";\n  })(MouseTargetType || (MouseTargetType = {}));\n  var NewSymbolNameTag2;\n  (function(NewSymbolNameTag3) {\n    NewSymbolNameTag3[NewSymbolNameTag3[\"AIGenerated\"] = 1] = \"AIGenerated\";\n  })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {}));\n  var NewSymbolNameTriggerKind2;\n  (function(NewSymbolNameTriggerKind3) {\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Invoke\"] = 0] = \"Invoke\";\n    NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3[\"Automatic\"] = 1] = \"Automatic\";\n  })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {}));\n  var OverlayWidgetPositionPreference;\n  (function(OverlayWidgetPositionPreference2) {\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_RIGHT_CORNER\"] = 0] = \"TOP_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"BOTTOM_RIGHT_CORNER\"] = 1] = \"BOTTOM_RIGHT_CORNER\";\n    OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2[\"TOP_CENTER\"] = 2] = \"TOP_CENTER\";\n  })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));\n  var OverviewRulerLane;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane || (OverviewRulerLane = {}));\n  var PartialAcceptTriggerKind;\n  (function(PartialAcceptTriggerKind2) {\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Word\"] = 0] = \"Word\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Line\"] = 1] = \"Line\";\n    PartialAcceptTriggerKind2[PartialAcceptTriggerKind2[\"Suggest\"] = 2] = \"Suggest\";\n  })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));\n  var PositionAffinity;\n  (function(PositionAffinity2) {\n    PositionAffinity2[PositionAffinity2[\"Left\"] = 0] = \"Left\";\n    PositionAffinity2[PositionAffinity2[\"Right\"] = 1] = \"Right\";\n    PositionAffinity2[PositionAffinity2[\"None\"] = 2] = \"None\";\n    PositionAffinity2[PositionAffinity2[\"LeftOfInjectedText\"] = 3] = \"LeftOfInjectedText\";\n    PositionAffinity2[PositionAffinity2[\"RightOfInjectedText\"] = 4] = \"RightOfInjectedText\";\n  })(PositionAffinity || (PositionAffinity = {}));\n  var RenderLineNumbersType;\n  (function(RenderLineNumbersType2) {\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Off\"] = 0] = \"Off\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"On\"] = 1] = \"On\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Relative\"] = 2] = \"Relative\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Interval\"] = 3] = \"Interval\";\n    RenderLineNumbersType2[RenderLineNumbersType2[\"Custom\"] = 4] = \"Custom\";\n  })(RenderLineNumbersType || (RenderLineNumbersType = {}));\n  var RenderMinimap;\n  (function(RenderMinimap2) {\n    RenderMinimap2[RenderMinimap2[\"None\"] = 0] = \"None\";\n    RenderMinimap2[RenderMinimap2[\"Text\"] = 1] = \"Text\";\n    RenderMinimap2[RenderMinimap2[\"Blocks\"] = 2] = \"Blocks\";\n  })(RenderMinimap || (RenderMinimap = {}));\n  var ScrollType;\n  (function(ScrollType2) {\n    ScrollType2[ScrollType2[\"Smooth\"] = 0] = \"Smooth\";\n    ScrollType2[ScrollType2[\"Immediate\"] = 1] = \"Immediate\";\n  })(ScrollType || (ScrollType = {}));\n  var ScrollbarVisibility;\n  (function(ScrollbarVisibility2) {\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Auto\"] = 1] = \"Auto\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Hidden\"] = 2] = \"Hidden\";\n    ScrollbarVisibility2[ScrollbarVisibility2[\"Visible\"] = 3] = \"Visible\";\n  })(ScrollbarVisibility || (ScrollbarVisibility = {}));\n  var SelectionDirection;\n  (function(SelectionDirection2) {\n    SelectionDirection2[SelectionDirection2[\"LTR\"] = 0] = \"LTR\";\n    SelectionDirection2[SelectionDirection2[\"RTL\"] = 1] = \"RTL\";\n  })(SelectionDirection || (SelectionDirection = {}));\n  var ShowLightbulbIconMode;\n  (function(ShowLightbulbIconMode2) {\n    ShowLightbulbIconMode2[\"Off\"] = \"off\";\n    ShowLightbulbIconMode2[\"OnCode\"] = \"onCode\";\n    ShowLightbulbIconMode2[\"On\"] = \"on\";\n  })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}));\n  var SignatureHelpTriggerKind2;\n  (function(SignatureHelpTriggerKind3) {\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"Invoke\"] = 1] = \"Invoke\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n    SignatureHelpTriggerKind3[SignatureHelpTriggerKind3[\"ContentChange\"] = 3] = \"ContentChange\";\n  })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {}));\n  var SymbolKind;\n  (function(SymbolKind2) {\n    SymbolKind2[SymbolKind2[\"File\"] = 0] = \"File\";\n    SymbolKind2[SymbolKind2[\"Module\"] = 1] = \"Module\";\n    SymbolKind2[SymbolKind2[\"Namespace\"] = 2] = \"Namespace\";\n    SymbolKind2[SymbolKind2[\"Package\"] = 3] = \"Package\";\n    SymbolKind2[SymbolKind2[\"Class\"] = 4] = \"Class\";\n    SymbolKind2[SymbolKind2[\"Method\"] = 5] = \"Method\";\n    SymbolKind2[SymbolKind2[\"Property\"] = 6] = \"Property\";\n    SymbolKind2[SymbolKind2[\"Field\"] = 7] = \"Field\";\n    SymbolKind2[SymbolKind2[\"Constructor\"] = 8] = \"Constructor\";\n    SymbolKind2[SymbolKind2[\"Enum\"] = 9] = \"Enum\";\n    SymbolKind2[SymbolKind2[\"Interface\"] = 10] = \"Interface\";\n    SymbolKind2[SymbolKind2[\"Function\"] = 11] = \"Function\";\n    SymbolKind2[SymbolKind2[\"Variable\"] = 12] = \"Variable\";\n    SymbolKind2[SymbolKind2[\"Constant\"] = 13] = \"Constant\";\n    SymbolKind2[SymbolKind2[\"String\"] = 14] = \"String\";\n    SymbolKind2[SymbolKind2[\"Number\"] = 15] = \"Number\";\n    SymbolKind2[SymbolKind2[\"Boolean\"] = 16] = \"Boolean\";\n    SymbolKind2[SymbolKind2[\"Array\"] = 17] = \"Array\";\n    SymbolKind2[SymbolKind2[\"Object\"] = 18] = \"Object\";\n    SymbolKind2[SymbolKind2[\"Key\"] = 19] = \"Key\";\n    SymbolKind2[SymbolKind2[\"Null\"] = 20] = \"Null\";\n    SymbolKind2[SymbolKind2[\"EnumMember\"] = 21] = \"EnumMember\";\n    SymbolKind2[SymbolKind2[\"Struct\"] = 22] = \"Struct\";\n    SymbolKind2[SymbolKind2[\"Event\"] = 23] = \"Event\";\n    SymbolKind2[SymbolKind2[\"Operator\"] = 24] = \"Operator\";\n    SymbolKind2[SymbolKind2[\"TypeParameter\"] = 25] = \"TypeParameter\";\n  })(SymbolKind || (SymbolKind = {}));\n  var SymbolTag;\n  (function(SymbolTag2) {\n    SymbolTag2[SymbolTag2[\"Deprecated\"] = 1] = \"Deprecated\";\n  })(SymbolTag || (SymbolTag = {}));\n  var TextEditorCursorBlinkingStyle;\n  (function(TextEditorCursorBlinkingStyle2) {\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Hidden\"] = 0] = \"Hidden\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Blink\"] = 1] = \"Blink\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Smooth\"] = 2] = \"Smooth\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Phase\"] = 3] = \"Phase\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Expand\"] = 4] = \"Expand\";\n    TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2[\"Solid\"] = 5] = \"Solid\";\n  })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));\n  var TextEditorCursorStyle;\n  (function(TextEditorCursorStyle2) {\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Line\"] = 1] = \"Line\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Block\"] = 2] = \"Block\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"Underline\"] = 3] = \"Underline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"LineThin\"] = 4] = \"LineThin\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"BlockOutline\"] = 5] = \"BlockOutline\";\n    TextEditorCursorStyle2[TextEditorCursorStyle2[\"UnderlineThin\"] = 6] = \"UnderlineThin\";\n  })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));\n  var TrackedRangeStickiness;\n  (function(TrackedRangeStickiness2) {\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"AlwaysGrowsWhenTypingAtEdges\"] = 0] = \"AlwaysGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"NeverGrowsWhenTypingAtEdges\"] = 1] = \"NeverGrowsWhenTypingAtEdges\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingBefore\"] = 2] = \"GrowsOnlyWhenTypingBefore\";\n    TrackedRangeStickiness2[TrackedRangeStickiness2[\"GrowsOnlyWhenTypingAfter\"] = 3] = \"GrowsOnlyWhenTypingAfter\";\n  })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));\n  var WrappingIndent;\n  (function(WrappingIndent2) {\n    WrappingIndent2[WrappingIndent2[\"None\"] = 0] = \"None\";\n    WrappingIndent2[WrappingIndent2[\"Same\"] = 1] = \"Same\";\n    WrappingIndent2[WrappingIndent2[\"Indent\"] = 2] = \"Indent\";\n    WrappingIndent2[WrappingIndent2[\"DeepIndent\"] = 3] = \"DeepIndent\";\n  })(WrappingIndent || (WrappingIndent = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js\n  var KeyMod = class {\n    static chord(firstPart, secondPart) {\n      return KeyChord(firstPart, secondPart);\n    }\n  };\n  KeyMod.CtrlCmd = 2048;\n  KeyMod.Shift = 1024;\n  KeyMod.Alt = 512;\n  KeyMod.WinCtrl = 256;\n  function createMonacoBaseAPI() {\n    return {\n      editor: void 0,\n      // undefined override expected here\n      languages: void 0,\n      // undefined override expected here\n      CancellationTokenSource,\n      Emitter,\n      KeyCode,\n      KeyMod,\n      Position,\n      Range,\n      Selection,\n      SelectionDirection,\n      MarkerSeverity,\n      MarkerTag,\n      Uri: URI,\n      Token\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/map.js\n  var _a3;\n  var _b2;\n  var ResourceMapEntry = class {\n    constructor(uri, value) {\n      this.uri = uri;\n      this.value = value;\n    }\n  };\n  function isEntries(arg) {\n    return Array.isArray(arg);\n  }\n  var ResourceMap = class _ResourceMap {\n    constructor(arg, toKey) {\n      this[_a3] = \"ResourceMap\";\n      if (arg instanceof _ResourceMap) {\n        this.map = new Map(arg.map);\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n      } else if (isEntries(arg)) {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = toKey !== null && toKey !== void 0 ? toKey : _ResourceMap.defaultToKey;\n        for (const [resource, value] of arg) {\n          this.set(resource, value);\n        }\n      } else {\n        this.map = /* @__PURE__ */ new Map();\n        this.toKey = arg !== null && arg !== void 0 ? arg : _ResourceMap.defaultToKey;\n      }\n    }\n    set(resource, value) {\n      this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value));\n      return this;\n    }\n    get(resource) {\n      var _c;\n      return (_c = this.map.get(this.toKey(resource))) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(resource) {\n      return this.map.has(this.toKey(resource));\n    }\n    get size() {\n      return this.map.size;\n    }\n    clear() {\n      this.map.clear();\n    }\n    delete(resource) {\n      return this.map.delete(this.toKey(resource));\n    }\n    forEach(clb, thisArg) {\n      if (typeof thisArg !== \"undefined\") {\n        clb = clb.bind(thisArg);\n      }\n      for (const [_, entry] of this.map) {\n        clb(entry.value, entry.uri, this);\n      }\n    }\n    *values() {\n      for (const entry of this.map.values()) {\n        yield entry.value;\n      }\n    }\n    *keys() {\n      for (const entry of this.map.values()) {\n        yield entry.uri;\n      }\n    }\n    *entries() {\n      for (const entry of this.map.values()) {\n        yield [entry.uri, entry.value];\n      }\n    }\n    *[(_a3 = Symbol.toStringTag, Symbol.iterator)]() {\n      for (const [, entry] of this.map) {\n        yield [entry.uri, entry.value];\n      }\n    }\n  };\n  ResourceMap.defaultToKey = (resource) => resource.toString();\n  var LinkedMap = class {\n    constructor() {\n      this[_b2] = \"LinkedMap\";\n      this._map = /* @__PURE__ */ new Map();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state = 0;\n    }\n    clear() {\n      this._map.clear();\n      this._head = void 0;\n      this._tail = void 0;\n      this._size = 0;\n      this._state++;\n    }\n    isEmpty() {\n      return !this._head && !this._tail;\n    }\n    get size() {\n      return this._size;\n    }\n    get first() {\n      var _c;\n      return (_c = this._head) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    get last() {\n      var _c;\n      return (_c = this._tail) === null || _c === void 0 ? void 0 : _c.value;\n    }\n    has(key) {\n      return this._map.has(key);\n    }\n    get(key, touch = 0) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      if (touch !== 0) {\n        this.touch(item, touch);\n      }\n      return item.value;\n    }\n    set(key, value, touch = 0) {\n      let item = this._map.get(key);\n      if (item) {\n        item.value = value;\n        if (touch !== 0) {\n          this.touch(item, touch);\n        }\n      } else {\n        item = { key, value, next: void 0, previous: void 0 };\n        switch (touch) {\n          case 0:\n            this.addItemLast(item);\n            break;\n          case 1:\n            this.addItemFirst(item);\n            break;\n          case 2:\n            this.addItemLast(item);\n            break;\n          default:\n            this.addItemLast(item);\n            break;\n        }\n        this._map.set(key, item);\n        this._size++;\n      }\n      return this;\n    }\n    delete(key) {\n      return !!this.remove(key);\n    }\n    remove(key) {\n      const item = this._map.get(key);\n      if (!item) {\n        return void 0;\n      }\n      this._map.delete(key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    shift() {\n      if (!this._head && !this._tail) {\n        return void 0;\n      }\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      const item = this._head;\n      this._map.delete(item.key);\n      this.removeItem(item);\n      this._size--;\n      return item.value;\n    }\n    forEach(callbackfn, thisArg) {\n      const state = this._state;\n      let current = this._head;\n      while (current) {\n        if (thisArg) {\n          callbackfn.bind(thisArg)(current.value, current.key, this);\n        } else {\n          callbackfn(current.value, current.key, this);\n        }\n        if (this._state !== state) {\n          throw new Error(`LinkedMap got modified during iteration.`);\n        }\n        current = current.next;\n      }\n    }\n    keys() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.key, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    values() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: current.value, done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    entries() {\n      const map = this;\n      const state = this._state;\n      let current = this._head;\n      const iterator = {\n        [Symbol.iterator]() {\n          return iterator;\n        },\n        next() {\n          if (map._state !== state) {\n            throw new Error(`LinkedMap got modified during iteration.`);\n          }\n          if (current) {\n            const result = { value: [current.key, current.value], done: false };\n            current = current.next;\n            return result;\n          } else {\n            return { value: void 0, done: true };\n          }\n        }\n      };\n      return iterator;\n    }\n    [(_b2 = Symbol.toStringTag, Symbol.iterator)]() {\n      return this.entries();\n    }\n    trimOld(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._head;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.next;\n        currentSize--;\n      }\n      this._head = current;\n      this._size = currentSize;\n      if (current) {\n        current.previous = void 0;\n      }\n      this._state++;\n    }\n    trimNew(newSize) {\n      if (newSize >= this.size) {\n        return;\n      }\n      if (newSize === 0) {\n        this.clear();\n        return;\n      }\n      let current = this._tail;\n      let currentSize = this.size;\n      while (current && currentSize > newSize) {\n        this._map.delete(current.key);\n        current = current.previous;\n        currentSize--;\n      }\n      this._tail = current;\n      this._size = currentSize;\n      if (current) {\n        current.next = void 0;\n      }\n      this._state++;\n    }\n    addItemFirst(item) {\n      if (!this._head && !this._tail) {\n        this._tail = item;\n      } else if (!this._head) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.next = this._head;\n        this._head.previous = item;\n      }\n      this._head = item;\n      this._state++;\n    }\n    addItemLast(item) {\n      if (!this._head && !this._tail) {\n        this._head = item;\n      } else if (!this._tail) {\n        throw new Error(\"Invalid list\");\n      } else {\n        item.previous = this._tail;\n        this._tail.next = item;\n      }\n      this._tail = item;\n      this._state++;\n    }\n    removeItem(item) {\n      if (item === this._head && item === this._tail) {\n        this._head = void 0;\n        this._tail = void 0;\n      } else if (item === this._head) {\n        if (!item.next) {\n          throw new Error(\"Invalid list\");\n        }\n        item.next.previous = void 0;\n        this._head = item.next;\n      } else if (item === this._tail) {\n        if (!item.previous) {\n          throw new Error(\"Invalid list\");\n        }\n        item.previous.next = void 0;\n        this._tail = item.previous;\n      } else {\n        const next = item.next;\n        const previous = item.previous;\n        if (!next || !previous) {\n          throw new Error(\"Invalid list\");\n        }\n        next.previous = previous;\n        previous.next = next;\n      }\n      item.next = void 0;\n      item.previous = void 0;\n      this._state++;\n    }\n    touch(item, touch) {\n      if (!this._head || !this._tail) {\n        throw new Error(\"Invalid list\");\n      }\n      if (touch !== 1 && touch !== 2) {\n        return;\n      }\n      if (touch === 1) {\n        if (item === this._head) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._tail) {\n          previous.next = void 0;\n          this._tail = previous;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.previous = void 0;\n        item.next = this._head;\n        this._head.previous = item;\n        this._head = item;\n        this._state++;\n      } else if (touch === 2) {\n        if (item === this._tail) {\n          return;\n        }\n        const next = item.next;\n        const previous = item.previous;\n        if (item === this._head) {\n          next.previous = void 0;\n          this._head = next;\n        } else {\n          next.previous = previous;\n          previous.next = next;\n        }\n        item.next = void 0;\n        item.previous = this._tail;\n        this._tail.next = item;\n        this._tail = item;\n        this._state++;\n      }\n    }\n    toJSON() {\n      const data = [];\n      this.forEach((value, key) => {\n        data.push([key, value]);\n      });\n      return data;\n    }\n    fromJSON(data) {\n      this.clear();\n      for (const [key, value] of data) {\n        this.set(key, value);\n      }\n    }\n  };\n  var Cache = class extends LinkedMap {\n    constructor(limit, ratio = 1) {\n      super();\n      this._limit = limit;\n      this._ratio = Math.min(Math.max(0, ratio), 1);\n    }\n    get limit() {\n      return this._limit;\n    }\n    set limit(limit) {\n      this._limit = limit;\n      this.checkTrim();\n    }\n    get(key, touch = 2) {\n      return super.get(key, touch);\n    }\n    peek(key) {\n      return super.get(\n        key,\n        0\n        /* Touch.None */\n      );\n    }\n    set(key, value) {\n      super.set(\n        key,\n        value,\n        2\n        /* Touch.AsNew */\n      );\n      return this;\n    }\n    checkTrim() {\n      if (this.size > this._limit) {\n        this.trim(Math.round(this._limit * this._ratio));\n      }\n    }\n  };\n  var LRUCache = class extends Cache {\n    constructor(limit, ratio = 1) {\n      super(limit, ratio);\n    }\n    trim(newSize) {\n      this.trimOld(newSize);\n    }\n    set(key, value) {\n      super.set(key, value);\n      this.checkTrim();\n      return this;\n    }\n  };\n  var SetMap = class {\n    constructor() {\n      this.map = /* @__PURE__ */ new Map();\n    }\n    add(key, value) {\n      let values = this.map.get(key);\n      if (!values) {\n        values = /* @__PURE__ */ new Set();\n        this.map.set(key, values);\n      }\n      values.add(value);\n    }\n    delete(key, value) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.delete(value);\n      if (values.size === 0) {\n        this.map.delete(key);\n      }\n    }\n    forEach(key, fn) {\n      const values = this.map.get(key);\n      if (!values) {\n        return;\n      }\n      values.forEach(fn);\n    }\n    get(key) {\n      const values = this.map.get(key);\n      if (!values) {\n        return /* @__PURE__ */ new Set();\n      }\n      return values;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js\n  var wordClassifierCache = new LRUCache(10);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model.js\n  var OverviewRulerLane2;\n  (function(OverviewRulerLane3) {\n    OverviewRulerLane3[OverviewRulerLane3[\"Left\"] = 1] = \"Left\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Center\"] = 2] = \"Center\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Right\"] = 4] = \"Right\";\n    OverviewRulerLane3[OverviewRulerLane3[\"Full\"] = 7] = \"Full\";\n  })(OverviewRulerLane2 || (OverviewRulerLane2 = {}));\n  var GlyphMarginLane2;\n  (function(GlyphMarginLane3) {\n    GlyphMarginLane3[GlyphMarginLane3[\"Left\"] = 1] = \"Left\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Center\"] = 2] = \"Center\";\n    GlyphMarginLane3[GlyphMarginLane3[\"Right\"] = 3] = \"Right\";\n  })(GlyphMarginLane2 || (GlyphMarginLane2 = {}));\n  var InjectedTextCursorStops2;\n  (function(InjectedTextCursorStops3) {\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Both\"] = 0] = \"Both\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Right\"] = 1] = \"Right\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"Left\"] = 2] = \"Left\";\n    InjectedTextCursorStops3[InjectedTextCursorStops3[\"None\"] = 3] = \"None\";\n  })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js\n  function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex === 0) {\n      return true;\n    }\n    const charBefore = text.charCodeAt(matchStartIndex - 1);\n    if (wordSeparators.get(charBefore) !== 0) {\n      return true;\n    }\n    if (charBefore === 13 || charBefore === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const firstCharInMatch = text.charCodeAt(matchStartIndex);\n      if (wordSeparators.get(firstCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    if (matchStartIndex + matchLength === textLength) {\n      return true;\n    }\n    const charAfter = text.charCodeAt(matchStartIndex + matchLength);\n    if (wordSeparators.get(charAfter) !== 0) {\n      return true;\n    }\n    if (charAfter === 13 || charAfter === 10) {\n      return true;\n    }\n    if (matchLength > 0) {\n      const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1);\n      if (wordSeparators.get(lastCharInMatch) !== 0) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isValidMatch(wordSeparators, text, textLength, matchStartIndex, matchLength) {\n    return leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength);\n  }\n  var Searcher = class {\n    constructor(wordSeparators, searchRegex) {\n      this._wordSeparators = wordSeparators;\n      this._searchRegex = searchRegex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    reset(lastIndex) {\n      this._searchRegex.lastIndex = lastIndex;\n      this._prevMatchStartIndex = -1;\n      this._prevMatchLength = 0;\n    }\n    next(text) {\n      const textLength = text.length;\n      let m;\n      do {\n        if (this._prevMatchStartIndex + this._prevMatchLength === textLength) {\n          return null;\n        }\n        m = this._searchRegex.exec(text);\n        if (!m) {\n          return null;\n        }\n        const matchStartIndex = m.index;\n        const matchLength = m[0].length;\n        if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) {\n          if (matchLength === 0) {\n            if (getNextCodePoint(text, textLength, this._searchRegex.lastIndex) > 65535) {\n              this._searchRegex.lastIndex += 2;\n            } else {\n              this._searchRegex.lastIndex += 1;\n            }\n            continue;\n          }\n          return null;\n        }\n        this._prevMatchStartIndex = matchStartIndex;\n        this._prevMatchLength = matchLength;\n        if (!this._wordSeparators || isValidMatch(this._wordSeparators, text, textLength, matchStartIndex, matchLength)) {\n          return m;\n        }\n      } while (m);\n      return null;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/assert.js\n  function assertNever(value, message = \"Unreachable\") {\n    throw new Error(message);\n  }\n  function assertFn(condition) {\n    if (!condition()) {\n      debugger;\n      condition();\n      onUnexpectedError(new BugIndicatingError(\"Assertion Failed\"));\n    }\n  }\n  function checkAdjacentItems(items, predicate) {\n    let i = 0;\n    while (i < items.length - 1) {\n      const a = items[i];\n      const b = items[i + 1];\n      if (!predicate(a, b)) {\n        return false;\n      }\n      i++;\n    }\n    return true;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js\n  var UnicodeTextModelHighlighter = class {\n    static computeUnicodeHighlights(model, options, range) {\n      const startLine = range ? range.startLineNumber : 1;\n      const endLine = range ? range.endLineNumber : model.getLineCount();\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const candidates = codePointHighlighter.getCandidateCodePoints();\n      let regex;\n      if (candidates === \"allNonBasicAscii\") {\n        regex = new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\", \"g\");\n      } else {\n        regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, \"g\");\n      }\n      const searcher = new Searcher(null, regex);\n      const ranges = [];\n      let hasMore = false;\n      let m;\n      let ambiguousCharacterCount = 0;\n      let invisibleCharacterCount = 0;\n      let nonBasicAsciiCharacterCount = 0;\n      forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) {\n        const lineContent = model.getLineContent(lineNumber);\n        const lineLength = lineContent.length;\n        searcher.reset(0);\n        do {\n          m = searcher.next(lineContent);\n          if (m) {\n            let startIndex = m.index;\n            let endIndex = m.index + m[0].length;\n            if (startIndex > 0) {\n              const charCodeBefore = lineContent.charCodeAt(startIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                startIndex--;\n              }\n            }\n            if (endIndex + 1 < lineLength) {\n              const charCodeBefore = lineContent.charCodeAt(endIndex - 1);\n              if (isHighSurrogate(charCodeBefore)) {\n                endIndex++;\n              }\n            }\n            const str = lineContent.substring(startIndex, endIndex);\n            let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0);\n            if (word && word.endColumn <= startIndex + 1) {\n              word = null;\n            }\n            const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null);\n            if (highlightReason !== 0) {\n              if (highlightReason === 3) {\n                ambiguousCharacterCount++;\n              } else if (highlightReason === 2) {\n                invisibleCharacterCount++;\n              } else if (highlightReason === 1) {\n                nonBasicAsciiCharacterCount++;\n              } else {\n                assertNever(highlightReason);\n              }\n              const MAX_RESULT_LENGTH = 1e3;\n              if (ranges.length >= MAX_RESULT_LENGTH) {\n                hasMore = true;\n                break forLoop;\n              }\n              ranges.push(new Range(lineNumber, startIndex + 1, lineNumber, endIndex + 1));\n            }\n          }\n        } while (m);\n      }\n      return {\n        ranges,\n        hasMore,\n        ambiguousCharacterCount,\n        invisibleCharacterCount,\n        nonBasicAsciiCharacterCount\n      };\n    }\n    static computeUnicodeHighlightReason(char, options) {\n      const codePointHighlighter = new CodePointHighlighter(options);\n      const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null);\n      switch (reason) {\n        case 0:\n          return null;\n        case 2:\n          return {\n            kind: 1\n            /* UnicodeHighlighterReasonKind.Invisible */\n          };\n        case 3: {\n          const codePoint = char.codePointAt(0);\n          const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint);\n          const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint));\n          return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };\n        }\n        case 1:\n          return {\n            kind: 2\n            /* UnicodeHighlighterReasonKind.NonBasicAscii */\n          };\n      }\n    }\n  };\n  function buildRegExpCharClassExpr(codePoints, flags) {\n    const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(\"\"))}]`;\n    return src;\n  }\n  var CodePointHighlighter = class {\n    constructor(options) {\n      this.options = options;\n      this.allowedCodePoints = new Set(options.allowedCodePoints);\n      this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales));\n    }\n    getCandidateCodePoints() {\n      if (this.options.nonBasicASCII) {\n        return \"allNonBasicAscii\";\n      }\n      const set = /* @__PURE__ */ new Set();\n      if (this.options.invisibleCharacters) {\n        for (const cp of InvisibleCharacters.codePoints) {\n          if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) {\n            set.add(cp);\n          }\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) {\n          set.add(cp);\n        }\n      }\n      for (const cp of this.allowedCodePoints) {\n        set.delete(cp);\n      }\n      return set;\n    }\n    shouldHighlightNonBasicASCII(character, wordContext) {\n      const codePoint = character.codePointAt(0);\n      if (this.allowedCodePoints.has(codePoint)) {\n        return 0;\n      }\n      if (this.options.nonBasicASCII) {\n        return 1;\n      }\n      let hasBasicASCIICharacters = false;\n      let hasNonConfusableNonBasicAsciiCharacter = false;\n      if (wordContext) {\n        for (const char of wordContext) {\n          const codePoint2 = char.codePointAt(0);\n          const isBasicASCII2 = isBasicASCII(char);\n          hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2;\n          if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) {\n            hasNonConfusableNonBasicAsciiCharacter = true;\n          }\n        }\n      }\n      if (\n        /* Don't allow mixing weird looking characters with ASCII */\n        !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */\n        hasNonConfusableNonBasicAsciiCharacter\n      ) {\n        return 0;\n      }\n      if (this.options.invisibleCharacters) {\n        if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) {\n          return 2;\n        }\n      }\n      if (this.options.ambiguousCharacters) {\n        if (this.ambiguousCharacters.isAmbiguous(codePoint)) {\n          return 3;\n        }\n      }\n      return 0;\n    }\n  };\n  function isAllowedInvisibleCharacter(character) {\n    return character === \" \" || character === \"\\n\" || character === \"\t\";\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js\n  var LinesDiff = class {\n    constructor(changes, moves, hitTimeout) {\n      this.changes = changes;\n      this.moves = moves;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var MovedText = class {\n    constructor(lineRangeMapping, changes) {\n      this.lineRangeMapping = lineRangeMapping;\n      this.changes = changes;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js\n  var OffsetRange = class _OffsetRange {\n    static addRange(range, sortedRanges) {\n      let i = 0;\n      while (i < sortedRanges.length && sortedRanges[i].endExclusive < range.start) {\n        i++;\n      }\n      let j = i;\n      while (j < sortedRanges.length && sortedRanges[j].start <= range.endExclusive) {\n        j++;\n      }\n      if (i === j) {\n        sortedRanges.splice(i, 0, range);\n      } else {\n        const start = Math.min(range.start, sortedRanges[i].start);\n        const end = Math.max(range.endExclusive, sortedRanges[j - 1].endExclusive);\n        sortedRanges.splice(i, j - i, new _OffsetRange(start, end));\n      }\n    }\n    static tryCreate(start, endExclusive) {\n      if (start > endExclusive) {\n        return void 0;\n      }\n      return new _OffsetRange(start, endExclusive);\n    }\n    static ofLength(length) {\n      return new _OffsetRange(0, length);\n    }\n    static ofStartAndLength(start, length) {\n      return new _OffsetRange(start, start + length);\n    }\n    constructor(start, endExclusive) {\n      this.start = start;\n      this.endExclusive = endExclusive;\n      if (start > endExclusive) {\n        throw new BugIndicatingError(`Invalid range: ${this.toString()}`);\n      }\n    }\n    get isEmpty() {\n      return this.start === this.endExclusive;\n    }\n    delta(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive + offset);\n    }\n    deltaStart(offset) {\n      return new _OffsetRange(this.start + offset, this.endExclusive);\n    }\n    deltaEnd(offset) {\n      return new _OffsetRange(this.start, this.endExclusive + offset);\n    }\n    get length() {\n      return this.endExclusive - this.start;\n    }\n    toString() {\n      return `[${this.start}, ${this.endExclusive})`;\n    }\n    contains(offset) {\n      return this.start <= offset && offset < this.endExclusive;\n    }\n    /**\n     * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n)\n     * The joined range is the smallest range that contains both ranges.\n     */\n    join(other) {\n      return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive));\n    }\n    /**\n     * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n)\n     *\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      if (start <= end) {\n        return new _OffsetRange(start, end);\n      }\n      return void 0;\n    }\n    intersects(other) {\n      const start = Math.max(this.start, other.start);\n      const end = Math.min(this.endExclusive, other.endExclusive);\n      return start < end;\n    }\n    isBefore(other) {\n      return this.endExclusive <= other.start;\n    }\n    isAfter(other) {\n      return this.start >= other.endExclusive;\n    }\n    slice(arr) {\n      return arr.slice(this.start, this.endExclusive);\n    }\n    substring(str) {\n      return str.substring(this.start, this.endExclusive);\n    }\n    /**\n     * Returns the given value if it is contained in this instance, otherwise the closest value that is contained.\n     * The range must not be empty.\n     */\n    clip(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      return Math.max(this.start, Math.min(this.endExclusive - 1, value));\n    }\n    /**\n     * Returns `r := value + k * length` such that `r` is contained in this range.\n     * The range must not be empty.\n     *\n     * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`.\n     */\n    clipCyclic(value) {\n      if (this.isEmpty) {\n        throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`);\n      }\n      if (value < this.start) {\n        return this.endExclusive - (this.start - value) % this.length;\n      }\n      if (value >= this.endExclusive) {\n        return this.start + (value - this.start) % this.length;\n      }\n      return value;\n    }\n    forEach(f) {\n      for (let i = this.start; i < this.endExclusive; i++) {\n        f(i);\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/arraysFind.js\n  function findLastMonotonous(array, predicate) {\n    const idx = findLastIdxMonotonous(array, predicate);\n    return idx === -1 ? void 0 : array[idx];\n  }\n  function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        i = k + 1;\n      } else {\n        j = k;\n      }\n    }\n    return i - 1;\n  }\n  function findFirstMonotonous(array, predicate) {\n    const idx = findFirstIdxMonotonousOrArrLen(array, predicate);\n    return idx === array.length ? void 0 : array[idx];\n  }\n  function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) {\n    let i = startIdx;\n    let j = endIdxEx;\n    while (i < j) {\n      const k = Math.floor((i + j) / 2);\n      if (predicate(array[k])) {\n        j = k;\n      } else {\n        i = k + 1;\n      }\n    }\n    return i;\n  }\n  var MonotonousArray = class _MonotonousArray {\n    constructor(_array) {\n      this._array = _array;\n      this._findLastMonotonousLastIdx = 0;\n    }\n    /**\n     * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`!\n     * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`.\n     */\n    findLastMonotonous(predicate) {\n      if (_MonotonousArray.assertInvariants) {\n        if (this._prevFindLastPredicate) {\n          for (const item of this._array) {\n            if (this._prevFindLastPredicate(item) && !predicate(item)) {\n              throw new Error(\"MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.\");\n            }\n          }\n        }\n        this._prevFindLastPredicate = predicate;\n      }\n      const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx);\n      this._findLastMonotonousLastIdx = idx + 1;\n      return idx === -1 ? void 0 : this._array[idx];\n    }\n  };\n  MonotonousArray.assertInvariants = false;\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js\n  var LineRange = class _LineRange {\n    static fromRangeInclusive(range) {\n      return new _LineRange(range.startLineNumber, range.endLineNumber + 1);\n    }\n    /**\n     * @param lineRanges An array of sorted line ranges.\n     */\n    static joinMany(lineRanges) {\n      if (lineRanges.length === 0) {\n        return [];\n      }\n      let result = new LineRangeSet(lineRanges[0].slice());\n      for (let i = 1; i < lineRanges.length; i++) {\n        result = result.getUnion(new LineRangeSet(lineRanges[i].slice()));\n      }\n      return result.ranges;\n    }\n    static join(lineRanges) {\n      if (lineRanges.length === 0) {\n        throw new BugIndicatingError(\"lineRanges cannot be empty\");\n      }\n      let startLineNumber = lineRanges[0].startLineNumber;\n      let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive;\n      for (let i = 1; i < lineRanges.length; i++) {\n        startLineNumber = Math.min(startLineNumber, lineRanges[i].startLineNumber);\n        endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i].endLineNumberExclusive);\n      }\n      return new _LineRange(startLineNumber, endLineNumberExclusive);\n    }\n    static ofLength(startLineNumber, length) {\n      return new _LineRange(startLineNumber, startLineNumber + length);\n    }\n    /**\n     * @internal\n     */\n    static deserialize(lineRange) {\n      return new _LineRange(lineRange[0], lineRange[1]);\n    }\n    constructor(startLineNumber, endLineNumberExclusive) {\n      if (startLineNumber > endLineNumberExclusive) {\n        throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`);\n      }\n      this.startLineNumber = startLineNumber;\n      this.endLineNumberExclusive = endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range contains the given line number.\n     */\n    contains(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Indicates if this line range is empty.\n     */\n    get isEmpty() {\n      return this.startLineNumber === this.endLineNumberExclusive;\n    }\n    /**\n     * Moves this line range by the given offset of line numbers.\n     */\n    delta(offset) {\n      return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset);\n    }\n    deltaLength(offset) {\n      return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset);\n    }\n    /**\n     * The number of lines this line range spans.\n     */\n    get length() {\n      return this.endLineNumberExclusive - this.startLineNumber;\n    }\n    /**\n     * Creates a line range that combines this and the given line range.\n     */\n    join(other) {\n      return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive));\n    }\n    toString() {\n      return `[${this.startLineNumber},${this.endLineNumberExclusive})`;\n    }\n    /**\n     * The resulting range is empty if the ranges do not intersect, but touch.\n     * If the ranges don't even touch, the result is undefined.\n     */\n    intersect(other) {\n      const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber);\n      const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive);\n      if (startLineNumber <= endLineNumberExclusive) {\n        return new _LineRange(startLineNumber, endLineNumberExclusive);\n      }\n      return void 0;\n    }\n    intersectsStrict(other) {\n      return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive;\n    }\n    overlapOrTouch(other) {\n      return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive;\n    }\n    equals(b) {\n      return this.startLineNumber === b.startLineNumber && this.endLineNumberExclusive === b.endLineNumberExclusive;\n    }\n    toInclusiveRange() {\n      if (this.isEmpty) {\n        return null;\n      }\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER);\n    }\n    /**\n     * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position!\n    */\n    toExclusiveRange() {\n      return new Range(this.startLineNumber, 1, this.endLineNumberExclusive, 1);\n    }\n    mapToLineArray(f) {\n      const result = [];\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        result.push(f(lineNumber));\n      }\n      return result;\n    }\n    forEach(f) {\n      for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) {\n        f(lineNumber);\n      }\n    }\n    /**\n     * @internal\n     */\n    serialize() {\n      return [this.startLineNumber, this.endLineNumberExclusive];\n    }\n    includes(lineNumber) {\n      return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive;\n    }\n    /**\n     * Converts this 1-based line range to a 0-based offset range (subtracts 1!).\n     * @internal\n     */\n    toOffsetRange() {\n      return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1);\n    }\n  };\n  var LineRangeSet = class _LineRangeSet {\n    constructor(_normalizedRanges = []) {\n      this._normalizedRanges = _normalizedRanges;\n    }\n    get ranges() {\n      return this._normalizedRanges;\n    }\n    addRange(range) {\n      if (range.length === 0) {\n        return;\n      }\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        this._normalizedRanges.splice(joinRangeStartIdx, 0, range);\n      } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx];\n        this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range);\n      } else {\n        const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range);\n        this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange);\n      }\n    }\n    contains(lineNumber) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= lineNumber);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber;\n    }\n    intersects(range) {\n      const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber < range.endLineNumberExclusive);\n      return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber;\n    }\n    getUnion(other) {\n      if (this._normalizedRanges.length === 0) {\n        return other;\n      }\n      if (other._normalizedRanges.length === 0) {\n        return this;\n      }\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      let current = null;\n      while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) {\n        let next = null;\n        if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n          const lineRange1 = this._normalizedRanges[i1];\n          const lineRange2 = other._normalizedRanges[i2];\n          if (lineRange1.startLineNumber < lineRange2.startLineNumber) {\n            next = lineRange1;\n            i1++;\n          } else {\n            next = lineRange2;\n            i2++;\n          }\n        } else if (i1 < this._normalizedRanges.length) {\n          next = this._normalizedRanges[i1];\n          i1++;\n        } else {\n          next = other._normalizedRanges[i2];\n          i2++;\n        }\n        if (current === null) {\n          current = next;\n        } else {\n          if (current.endLineNumberExclusive >= next.startLineNumber) {\n            current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive));\n          } else {\n            result.push(current);\n            current = next;\n          }\n        }\n      }\n      if (current !== null) {\n        result.push(current);\n      }\n      return new _LineRangeSet(result);\n    }\n    /**\n     * Subtracts all ranges in this set from `range` and returns the result.\n     */\n    subtractFrom(range) {\n      const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber);\n      const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1;\n      if (joinRangeStartIdx === joinRangeEndIdxExclusive) {\n        return new _LineRangeSet([range]);\n      }\n      const result = [];\n      let startLineNumber = range.startLineNumber;\n      for (let i = joinRangeStartIdx; i < joinRangeEndIdxExclusive; i++) {\n        const r = this._normalizedRanges[i];\n        if (r.startLineNumber > startLineNumber) {\n          result.push(new LineRange(startLineNumber, r.startLineNumber));\n        }\n        startLineNumber = r.endLineNumberExclusive;\n      }\n      if (startLineNumber < range.endLineNumberExclusive) {\n        result.push(new LineRange(startLineNumber, range.endLineNumberExclusive));\n      }\n      return new _LineRangeSet(result);\n    }\n    toString() {\n      return this._normalizedRanges.map((r) => r.toString()).join(\", \");\n    }\n    getIntersection(other) {\n      const result = [];\n      let i1 = 0;\n      let i2 = 0;\n      while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) {\n        const r1 = this._normalizedRanges[i1];\n        const r2 = other._normalizedRanges[i2];\n        const i = r1.intersect(r2);\n        if (i && !i.isEmpty) {\n          result.push(i);\n        }\n        if (r1.endLineNumberExclusive < r2.endLineNumberExclusive) {\n          i1++;\n        } else {\n          i2++;\n        }\n      }\n      return new _LineRangeSet(result);\n    }\n    getWithDelta(value) {\n      return new _LineRangeSet(this._normalizedRanges.map((r) => r.delta(value)));\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js\n  var TextLength = class _TextLength {\n    static betweenPositions(position1, position2) {\n      if (position1.lineNumber === position2.lineNumber) {\n        return new _TextLength(0, position2.column - position1.column);\n      } else {\n        return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1);\n      }\n    }\n    static ofRange(range) {\n      return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition());\n    }\n    static ofText(text) {\n      let line = 0;\n      let column = 0;\n      for (const c of text) {\n        if (c === \"\\n\") {\n          line++;\n          column = 0;\n        } else {\n          column++;\n        }\n      }\n      return new _TextLength(line, column);\n    }\n    constructor(lineCount, columnCount) {\n      this.lineCount = lineCount;\n      this.columnCount = columnCount;\n    }\n    isGreaterThanOrEqualTo(other) {\n      if (this.lineCount !== other.lineCount) {\n        return this.lineCount > other.lineCount;\n      }\n      return this.columnCount >= other.columnCount;\n    }\n    createRange(startPosition) {\n      if (this.lineCount === 0) {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount);\n      } else {\n        return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    addToPosition(position) {\n      if (this.lineCount === 0) {\n        return new Position(position.lineNumber, position.column + this.columnCount);\n      } else {\n        return new Position(position.lineNumber + this.lineCount, this.columnCount + 1);\n      }\n    }\n    toString() {\n      return `${this.lineCount},${this.columnCount}`;\n    }\n  };\n  TextLength.zero = new TextLength(0, 0);\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js\n  var SingleTextEdit = class {\n    constructor(range, text) {\n      this.range = range;\n      this.text = text;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js\n  var LineRangeMapping = class _LineRangeMapping {\n    static inverse(mapping, originalLineCount, modifiedLineCount) {\n      const result = [];\n      let lastOriginalEndLineNumber = 1;\n      let lastModifiedEndLineNumber = 1;\n      for (const m of mapping) {\n        const r2 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m.modified.startLineNumber));\n        if (!r2.modified.isEmpty) {\n          result.push(r2);\n        }\n        lastOriginalEndLineNumber = m.original.endLineNumberExclusive;\n        lastModifiedEndLineNumber = m.modified.endLineNumberExclusive;\n      }\n      const r = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1));\n      if (!r.modified.isEmpty) {\n        result.push(r);\n      }\n      return result;\n    }\n    static clip(mapping, originalRange, modifiedRange) {\n      const result = [];\n      for (const m of mapping) {\n        const original = m.original.intersect(originalRange);\n        const modified = m.modified.intersect(modifiedRange);\n        if (original && !original.isEmpty && modified && !modified.isEmpty) {\n          result.push(new _LineRangeMapping(original, modified));\n        }\n      }\n      return result;\n    }\n    constructor(originalRange, modifiedRange) {\n      this.original = originalRange;\n      this.modified = modifiedRange;\n    }\n    toString() {\n      return `{${this.original.toString()}->${this.modified.toString()}}`;\n    }\n    flip() {\n      return new _LineRangeMapping(this.modified, this.original);\n    }\n    join(other) {\n      return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified));\n    }\n    /**\n     * This method assumes that the LineRangeMapping describes a valid diff!\n     * I.e. if one range is empty, the other range cannot be the entire document.\n     * It avoids various problems when the line range points to non-existing line-numbers.\n    */\n    toRangeMapping() {\n      const origInclusiveRange = this.original.toInclusiveRange();\n      const modInclusiveRange = this.modified.toInclusiveRange();\n      if (origInclusiveRange && modInclusiveRange) {\n        return new RangeMapping(origInclusiveRange, modInclusiveRange);\n      } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {\n        if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) {\n          throw new BugIndicatingError(\"not a valid diff\");\n        }\n        return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));\n      } else {\n        return new RangeMapping(new Range(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));\n      }\n    }\n  };\n  var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping {\n    static fromRangeMappings(rangeMappings) {\n      const originalRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.originalRange)));\n      const modifiedRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.modifiedRange)));\n      return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings);\n    }\n    constructor(originalRange, modifiedRange, innerChanges) {\n      super(originalRange, modifiedRange);\n      this.innerChanges = innerChanges;\n    }\n    flip() {\n      var _a4;\n      return new _DetailedLineRangeMapping(this.modified, this.original, (_a4 = this.innerChanges) === null || _a4 === void 0 ? void 0 : _a4.map((c) => c.flip()));\n    }\n    withInnerChangesFromLineRanges() {\n      return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]);\n    }\n  };\n  var RangeMapping = class _RangeMapping {\n    constructor(originalRange, modifiedRange) {\n      this.originalRange = originalRange;\n      this.modifiedRange = modifiedRange;\n    }\n    toString() {\n      return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`;\n    }\n    flip() {\n      return new _RangeMapping(this.modifiedRange, this.originalRange);\n    }\n    /**\n     * Creates a single text edit that describes the change from the original to the modified text.\n    */\n    toTextEdit(modified) {\n      const newText = modified.getValueOfRange(this.modifiedRange);\n      return new SingleTextEdit(this.originalRange, newText);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js\n  var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;\n  var LegacyLinesDiffComputer = class {\n    computeDiff(originalLines, modifiedLines, options) {\n      var _a4;\n      const diffComputer = new DiffComputer(originalLines, modifiedLines, {\n        maxComputationTime: options.maxComputationTimeMs,\n        shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace,\n        shouldComputeCharChanges: true,\n        shouldMakePrettyDiff: true,\n        shouldPostProcessCharChanges: true\n      });\n      const result = diffComputer.computeDiff();\n      const changes = [];\n      let lastChange = null;\n      for (const c of result.changes) {\n        let originalRange;\n        if (c.originalEndLineNumber === 0) {\n          originalRange = new LineRange(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1);\n        } else {\n          originalRange = new LineRange(c.originalStartLineNumber, c.originalEndLineNumber + 1);\n        }\n        let modifiedRange;\n        if (c.modifiedEndLineNumber === 0) {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1);\n        } else {\n          modifiedRange = new LineRange(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1);\n        }\n        let change = new DetailedLineRangeMapping(originalRange, modifiedRange, (_a4 = c.charChanges) === null || _a4 === void 0 ? void 0 : _a4.map((c2) => new RangeMapping(new Range(c2.originalStartLineNumber, c2.originalStartColumn, c2.originalEndLineNumber, c2.originalEndColumn), new Range(c2.modifiedStartLineNumber, c2.modifiedStartColumn, c2.modifiedEndLineNumber, c2.modifiedEndColumn))));\n        if (lastChange) {\n          if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) {\n            change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0);\n            changes.pop();\n          }\n        }\n        changes.push(change);\n        lastChange = change;\n      }\n      assertFn(() => {\n        return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n        m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n      });\n      return new LinesDiff(changes, [], result.quitEarly);\n    }\n  };\n  function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) {\n    const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate);\n    return diffAlgo.ComputeDiff(pretty);\n  }\n  var LineSequence = class {\n    constructor(lines) {\n      const startColumns = [];\n      const endColumns = [];\n      for (let i = 0, length = lines.length; i < length; i++) {\n        startColumns[i] = getFirstNonBlankColumn(lines[i], 1);\n        endColumns[i] = getLastNonBlankColumn(lines[i], 1);\n      }\n      this.lines = lines;\n      this._startColumns = startColumns;\n      this._endColumns = endColumns;\n    }\n    getElements() {\n      const elements = [];\n      for (let i = 0, len = this.lines.length; i < len; i++) {\n        elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1);\n      }\n      return elements;\n    }\n    getStrictElement(index) {\n      return this.lines[index];\n    }\n    getStartLineNumber(i) {\n      return i + 1;\n    }\n    getEndLineNumber(i) {\n      return i + 1;\n    }\n    createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) {\n      const charCodes = [];\n      const lineNumbers = [];\n      const columns = [];\n      let len = 0;\n      for (let index = startIndex; index <= endIndex; index++) {\n        const lineContent = this.lines[index];\n        const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1;\n        const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1;\n        for (let col = startColumn; col < endColumn; col++) {\n          charCodes[len] = lineContent.charCodeAt(col - 1);\n          lineNumbers[len] = index + 1;\n          columns[len] = col;\n          len++;\n        }\n        if (!shouldIgnoreTrimWhitespace && index < endIndex) {\n          charCodes[len] = 10;\n          lineNumbers[len] = index + 1;\n          columns[len] = lineContent.length + 1;\n          len++;\n        }\n      }\n      return new CharSequence(charCodes, lineNumbers, columns);\n    }\n  };\n  var CharSequence = class {\n    constructor(charCodes, lineNumbers, columns) {\n      this._charCodes = charCodes;\n      this._lineNumbers = lineNumbers;\n      this._columns = columns;\n    }\n    toString() {\n      return \"[\" + this._charCodes.map((s, idx) => (s === 10 ? \"\\\\n\" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(\", \") + \"]\";\n    }\n    _assertIndex(index, arr) {\n      if (index < 0 || index >= arr.length) {\n        throw new Error(`Illegal index`);\n      }\n    }\n    getElements() {\n      return this._charCodes;\n    }\n    getStartLineNumber(i) {\n      if (i > 0 && i === this._lineNumbers.length) {\n        return this.getEndLineNumber(i - 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      return this._lineNumbers[i];\n    }\n    getEndLineNumber(i) {\n      if (i === -1) {\n        return this.getStartLineNumber(i + 1);\n      }\n      this._assertIndex(i, this._lineNumbers);\n      if (this._charCodes[i] === 10) {\n        return this._lineNumbers[i] + 1;\n      }\n      return this._lineNumbers[i];\n    }\n    getStartColumn(i) {\n      if (i > 0 && i === this._columns.length) {\n        return this.getEndColumn(i - 1);\n      }\n      this._assertIndex(i, this._columns);\n      return this._columns[i];\n    }\n    getEndColumn(i) {\n      if (i === -1) {\n        return this.getStartColumn(i + 1);\n      }\n      this._assertIndex(i, this._columns);\n      if (this._charCodes[i] === 10) {\n        return 1;\n      }\n      return this._columns[i] + 1;\n    }\n  };\n  var CharChange = class _CharChange {\n    constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalStartColumn = originalStartColumn;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.originalEndColumn = originalEndColumn;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedStartColumn = modifiedStartColumn;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.modifiedEndColumn = modifiedEndColumn;\n    }\n    static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) {\n      const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart);\n      const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart);\n      const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1);\n      const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart);\n      const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart);\n      const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn);\n    }\n  };\n  function postProcessCharChanges(rawChanges) {\n    if (rawChanges.length <= 1) {\n      return rawChanges;\n    }\n    const result = [rawChanges[0]];\n    let prevChange = result[0];\n    for (let i = 1, len = rawChanges.length; i < len; i++) {\n      const currChange = rawChanges[i];\n      const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength);\n      const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength);\n      const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength);\n      if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) {\n        prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart;\n        prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart;\n      } else {\n        result.push(currChange);\n        prevChange = currChange;\n      }\n    }\n    return result;\n  }\n  var LineChange = class _LineChange {\n    constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) {\n      this.originalStartLineNumber = originalStartLineNumber;\n      this.originalEndLineNumber = originalEndLineNumber;\n      this.modifiedStartLineNumber = modifiedStartLineNumber;\n      this.modifiedEndLineNumber = modifiedEndLineNumber;\n      this.charChanges = charChanges;\n    }\n    static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) {\n      let originalStartLineNumber;\n      let originalEndLineNumber;\n      let modifiedStartLineNumber;\n      let modifiedEndLineNumber;\n      let charChanges = void 0;\n      if (diffChange.originalLength === 0) {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1;\n        originalEndLineNumber = 0;\n      } else {\n        originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart);\n        originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\n      }\n      if (diffChange.modifiedLength === 0) {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1;\n        modifiedEndLineNumber = 0;\n      } else {\n        modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart);\n        modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\n      }\n      if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) {\n        const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1);\n        const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1);\n        if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) {\n          let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes;\n          if (shouldPostProcessCharChanges) {\n            rawChanges = postProcessCharChanges(rawChanges);\n          }\n          charChanges = [];\n          for (let i = 0, length = rawChanges.length; i < length; i++) {\n            charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence));\n          }\n        }\n      }\n      return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges);\n    }\n  };\n  var DiffComputer = class {\n    constructor(originalLines, modifiedLines, opts) {\n      this.shouldComputeCharChanges = opts.shouldComputeCharChanges;\n      this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges;\n      this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace;\n      this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff;\n      this.originalLines = originalLines;\n      this.modifiedLines = modifiedLines;\n      this.original = new LineSequence(originalLines);\n      this.modified = new LineSequence(modifiedLines);\n      this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime);\n      this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3));\n    }\n    computeDiff() {\n      if (this.original.lines.length === 1 && this.original.lines[0].length === 0) {\n        if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n          return {\n            quitEarly: false,\n            changes: []\n          };\n        }\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: 1,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: this.modified.lines.length,\n            charChanges: void 0\n          }]\n        };\n      }\n      if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\n        return {\n          quitEarly: false,\n          changes: [{\n            originalStartLineNumber: 1,\n            originalEndLineNumber: this.original.lines.length,\n            modifiedStartLineNumber: 1,\n            modifiedEndLineNumber: 1,\n            charChanges: void 0\n          }]\n        };\n      }\n      const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff);\n      const rawChanges = diffResult.changes;\n      const quitEarly = diffResult.quitEarly;\n      if (this.shouldIgnoreTrimWhitespace) {\n        const lineChanges = [];\n        for (let i = 0, length = rawChanges.length; i < length; i++) {\n          lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n        }\n        return {\n          quitEarly,\n          changes: lineChanges\n        };\n      }\n      const result = [];\n      let originalLineIndex = 0;\n      let modifiedLineIndex = 0;\n      for (let i = -1, len = rawChanges.length; i < len; i++) {\n        const nextChange = i + 1 < len ? rawChanges[i + 1] : null;\n        const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length;\n        const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length;\n        while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) {\n          const originalLine = this.originalLines[originalLineIndex];\n          const modifiedLine = this.modifiedLines[modifiedLineIndex];\n          if (originalLine !== modifiedLine) {\n            {\n              let originalStartColumn = getFirstNonBlankColumn(originalLine, 1);\n              let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1);\n              while (originalStartColumn > 1 && modifiedStartColumn > 1) {\n                const originalChar = originalLine.charCodeAt(originalStartColumn - 2);\n                const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalStartColumn--;\n                modifiedStartColumn--;\n              }\n              if (originalStartColumn > 1 || modifiedStartColumn > 1) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn);\n              }\n            }\n            {\n              let originalEndColumn = getLastNonBlankColumn(originalLine, 1);\n              let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1);\n              const originalMaxColumn = originalLine.length + 1;\n              const modifiedMaxColumn = modifiedLine.length + 1;\n              while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) {\n                const originalChar = originalLine.charCodeAt(originalEndColumn - 1);\n                const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1);\n                if (originalChar !== modifiedChar) {\n                  break;\n                }\n                originalEndColumn++;\n                modifiedEndColumn++;\n              }\n              if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) {\n                this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn);\n              }\n            }\n          }\n          originalLineIndex++;\n          modifiedLineIndex++;\n        }\n        if (nextChange) {\n          result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\n          originalLineIndex += nextChange.originalLength;\n          modifiedLineIndex += nextChange.modifiedLength;\n        }\n      }\n      return {\n        quitEarly,\n        changes: result\n      };\n    }\n    _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) {\n        return;\n      }\n      let charChanges = void 0;\n      if (this.shouldComputeCharChanges) {\n        charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)];\n      }\n      result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges));\n    }\n    _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\n      const len = result.length;\n      if (len === 0) {\n        return false;\n      }\n      const prevChange = result[len - 1];\n      if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) {\n        return false;\n      }\n      if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) {\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) {\n        prevChange.originalEndLineNumber = originalLineNumber;\n        prevChange.modifiedEndLineNumber = modifiedLineNumber;\n        if (this.shouldComputeCharChanges && prevChange.charChanges) {\n          prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\n        }\n        return true;\n      }\n      return false;\n    }\n  };\n  function getFirstNonBlankColumn(txt, defaultValue) {\n    const r = firstNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 1;\n  }\n  function getLastNonBlankColumn(txt, defaultValue) {\n    const r = lastNonWhitespaceIndex(txt);\n    if (r === -1) {\n      return defaultValue;\n    }\n    return r + 2;\n  }\n  function createContinueProcessingPredicate(maximumRuntime) {\n    if (maximumRuntime === 0) {\n      return () => true;\n    }\n    const startTime = Date.now();\n    return () => {\n      return Date.now() - startTime < maximumRuntime;\n    };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js\n  var DiffAlgorithmResult = class _DiffAlgorithmResult {\n    static trivial(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);\n    }\n    static trivialTimedOut(seq1, seq2) {\n      return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true);\n    }\n    constructor(diffs, hitTimeout) {\n      this.diffs = diffs;\n      this.hitTimeout = hitTimeout;\n    }\n  };\n  var SequenceDiff = class _SequenceDiff {\n    static invert(sequenceDiffs, doc1Length) {\n      const result = [];\n      forEachAdjacent(sequenceDiffs, (a, b) => {\n        result.push(_SequenceDiff.fromOffsetPairs(a ? a.getEndExclusives() : OffsetPair.zero, b ? b.getStarts() : new OffsetPair(doc1Length, (a ? a.seq2Range.endExclusive - a.seq1Range.endExclusive : 0) + doc1Length)));\n      });\n      return result;\n    }\n    static fromOffsetPairs(start, endExclusive) {\n      return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2));\n    }\n    constructor(seq1Range, seq2Range) {\n      this.seq1Range = seq1Range;\n      this.seq2Range = seq2Range;\n    }\n    swap() {\n      return new _SequenceDiff(this.seq2Range, this.seq1Range);\n    }\n    toString() {\n      return `${this.seq1Range} <-> ${this.seq2Range}`;\n    }\n    join(other) {\n      return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range));\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset));\n    }\n    deltaStart(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset));\n    }\n    deltaEnd(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset));\n    }\n    intersect(other) {\n      const i1 = this.seq1Range.intersect(other.seq1Range);\n      const i2 = this.seq2Range.intersect(other.seq2Range);\n      if (!i1 || !i2) {\n        return void 0;\n      }\n      return new _SequenceDiff(i1, i2);\n    }\n    getStarts() {\n      return new OffsetPair(this.seq1Range.start, this.seq2Range.start);\n    }\n    getEndExclusives() {\n      return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive);\n    }\n  };\n  var OffsetPair = class _OffsetPair {\n    constructor(offset1, offset2) {\n      this.offset1 = offset1;\n      this.offset2 = offset2;\n    }\n    toString() {\n      return `${this.offset1} <-> ${this.offset2}`;\n    }\n    delta(offset) {\n      if (offset === 0) {\n        return this;\n      }\n      return new _OffsetPair(this.offset1 + offset, this.offset2 + offset);\n    }\n    equals(other) {\n      return this.offset1 === other.offset1 && this.offset2 === other.offset2;\n    }\n  };\n  OffsetPair.zero = new OffsetPair(0, 0);\n  OffsetPair.max = new OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER);\n  var InfiniteTimeout = class {\n    isValid() {\n      return true;\n    }\n  };\n  InfiniteTimeout.instance = new InfiniteTimeout();\n  var DateTimeout = class {\n    constructor(timeout) {\n      this.timeout = timeout;\n      this.startTime = Date.now();\n      this.valid = true;\n      if (timeout <= 0) {\n        throw new BugIndicatingError(\"timeout must be positive\");\n      }\n    }\n    // Recommendation: Set a log-point `{this.disable()}` in the body\n    isValid() {\n      const valid = Date.now() - this.startTime < this.timeout;\n      if (!valid && this.valid) {\n        this.valid = false;\n        debugger;\n      }\n      return this.valid;\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js\n  var Array2D = class {\n    constructor(width, height) {\n      this.width = width;\n      this.height = height;\n      this.array = [];\n      this.array = new Array(width * height);\n    }\n    get(x, y) {\n      return this.array[x + y * this.width];\n    }\n    set(x, y, value) {\n      this.array[x + y * this.width] = value;\n    }\n  };\n  function isSpace(charCode) {\n    return charCode === 32 || charCode === 9;\n  }\n  var LineRangeFragment = class _LineRangeFragment {\n    static getKey(chr) {\n      let key = this.chrKeys.get(chr);\n      if (key === void 0) {\n        key = this.chrKeys.size;\n        this.chrKeys.set(chr, key);\n      }\n      return key;\n    }\n    constructor(range, lines, source) {\n      this.range = range;\n      this.lines = lines;\n      this.source = source;\n      this.histogram = [];\n      let counter = 0;\n      for (let i = range.startLineNumber - 1; i < range.endLineNumberExclusive - 1; i++) {\n        const line = lines[i];\n        for (let j = 0; j < line.length; j++) {\n          counter++;\n          const chr = line[j];\n          const key2 = _LineRangeFragment.getKey(chr);\n          this.histogram[key2] = (this.histogram[key2] || 0) + 1;\n        }\n        counter++;\n        const key = _LineRangeFragment.getKey(\"\\n\");\n        this.histogram[key] = (this.histogram[key] || 0) + 1;\n      }\n      this.totalCount = counter;\n    }\n    computeSimilarity(other) {\n      var _a4, _b3;\n      let sumDifferences = 0;\n      const maxLength = Math.max(this.histogram.length, other.histogram.length);\n      for (let i = 0; i < maxLength; i++) {\n        sumDifferences += Math.abs(((_a4 = this.histogram[i]) !== null && _a4 !== void 0 ? _a4 : 0) - ((_b3 = other.histogram[i]) !== null && _b3 !== void 0 ? _b3 : 0));\n      }\n      return 1 - sumDifferences / (this.totalCount + other.totalCount);\n    }\n  };\n  LineRangeFragment.chrKeys = /* @__PURE__ */ new Map();\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js\n  var DynamicProgrammingDiffing = class {\n    compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {\n      if (sequence1.length === 0 || sequence2.length === 0) {\n        return DiffAlgorithmResult.trivial(sequence1, sequence2);\n      }\n      const lcsLengths = new Array2D(sequence1.length, sequence2.length);\n      const directions = new Array2D(sequence1.length, sequence2.length);\n      const lengths = new Array2D(sequence1.length, sequence2.length);\n      for (let s12 = 0; s12 < sequence1.length; s12++) {\n        for (let s22 = 0; s22 < sequence2.length; s22++) {\n          if (!timeout.isValid()) {\n            return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2);\n          }\n          const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22);\n          const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1);\n          let extendedSeqScore;\n          if (sequence1.getElement(s12) === sequence2.getElement(s22)) {\n            if (s12 === 0 || s22 === 0) {\n              extendedSeqScore = 0;\n            } else {\n              extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1);\n            }\n            if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) {\n              extendedSeqScore += lengths.get(s12 - 1, s22 - 1);\n            }\n            extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1;\n          } else {\n            extendedSeqScore = -1;\n          }\n          const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore);\n          if (newValue === extendedSeqScore) {\n            const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0;\n            lengths.set(s12, s22, prevLen + 1);\n            directions.set(s12, s22, 3);\n          } else if (newValue === horizontalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 1);\n          } else if (newValue === verticalLen) {\n            lengths.set(s12, s22, 0);\n            directions.set(s12, s22, 2);\n          }\n          lcsLengths.set(s12, s22, newValue);\n        }\n      }\n      const result = [];\n      let lastAligningPosS1 = sequence1.length;\n      let lastAligningPosS2 = sequence2.length;\n      function reportDecreasingAligningPositions(s12, s22) {\n        if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2)));\n        }\n        lastAligningPosS1 = s12;\n        lastAligningPosS2 = s22;\n      }\n      let s1 = sequence1.length - 1;\n      let s2 = sequence2.length - 1;\n      while (s1 >= 0 && s2 >= 0) {\n        if (directions.get(s1, s2) === 3) {\n          reportDecreasingAligningPositions(s1, s2);\n          s1--;\n          s2--;\n        } else {\n          if (directions.get(s1, s2) === 1) {\n            s1--;\n          } else {\n            s2--;\n          }\n        }\n      }\n      reportDecreasingAligningPositions(-1, -1);\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js\n  var MyersDiffAlgorithm = class {\n    compute(seq1, seq2, timeout = InfiniteTimeout.instance) {\n      if (seq1.length === 0 || seq2.length === 0) {\n        return DiffAlgorithmResult.trivial(seq1, seq2);\n      }\n      const seqX = seq1;\n      const seqY = seq2;\n      function getXAfterSnake(x, y) {\n        while (x < seqX.length && y < seqY.length && seqX.getElement(x) === seqY.getElement(y)) {\n          x++;\n          y++;\n        }\n        return x;\n      }\n      let d = 0;\n      const V = new FastInt32Array();\n      V.set(0, getXAfterSnake(0, 0));\n      const paths = new FastArrayNegativeIndices();\n      paths.set(0, V.get(0) === 0 ? null : new SnakePath(null, 0, 0, V.get(0)));\n      let k = 0;\n      loop: while (true) {\n        d++;\n        if (!timeout.isValid()) {\n          return DiffAlgorithmResult.trivialTimedOut(seqX, seqY);\n        }\n        const lowerBound = -Math.min(d, seqY.length + d % 2);\n        const upperBound = Math.min(d, seqX.length + d % 2);\n        for (k = lowerBound; k <= upperBound; k += 2) {\n          let step = 0;\n          const maxXofDLineTop = k === upperBound ? -1 : V.get(k + 1);\n          const maxXofDLineLeft = k === lowerBound ? -1 : V.get(k - 1) + 1;\n          step++;\n          const x = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length);\n          const y = x - k;\n          step++;\n          if (x > seqX.length || y > seqY.length) {\n            continue;\n          }\n          const newMaxX = getXAfterSnake(x, y);\n          V.set(k, newMaxX);\n          const lastPath = x === maxXofDLineTop ? paths.get(k + 1) : paths.get(k - 1);\n          paths.set(k, newMaxX !== x ? new SnakePath(lastPath, x, y, newMaxX - x) : lastPath);\n          if (V.get(k) === seqX.length && V.get(k) - k === seqY.length) {\n            break loop;\n          }\n        }\n      }\n      let path = paths.get(k);\n      const result = [];\n      let lastAligningPosS1 = seqX.length;\n      let lastAligningPosS2 = seqY.length;\n      while (true) {\n        const endX = path ? path.x + path.length : 0;\n        const endY = path ? path.y + path.length : 0;\n        if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) {\n          result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2)));\n        }\n        if (!path) {\n          break;\n        }\n        lastAligningPosS1 = path.x;\n        lastAligningPosS2 = path.y;\n        path = path.prev;\n      }\n      result.reverse();\n      return new DiffAlgorithmResult(result, false);\n    }\n  };\n  var SnakePath = class {\n    constructor(prev, x, y, length) {\n      this.prev = prev;\n      this.x = x;\n      this.y = y;\n      this.length = length;\n    }\n  };\n  var FastInt32Array = class {\n    constructor() {\n      this.positiveArr = new Int32Array(10);\n      this.negativeArr = new Int32Array(10);\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        if (idx >= this.negativeArr.length) {\n          const arr = this.negativeArr;\n          this.negativeArr = new Int32Array(arr.length * 2);\n          this.negativeArr.set(arr);\n        }\n        this.negativeArr[idx] = value;\n      } else {\n        if (idx >= this.positiveArr.length) {\n          const arr = this.positiveArr;\n          this.positiveArr = new Int32Array(arr.length * 2);\n          this.positiveArr.set(arr);\n        }\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n  var FastArrayNegativeIndices = class {\n    constructor() {\n      this.positiveArr = [];\n      this.negativeArr = [];\n    }\n    get(idx) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        return this.negativeArr[idx];\n      } else {\n        return this.positiveArr[idx];\n      }\n    }\n    set(idx, value) {\n      if (idx < 0) {\n        idx = -idx - 1;\n        this.negativeArr[idx] = value;\n      } else {\n        this.positiveArr[idx] = value;\n      }\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js\n  var LinesSliceCharSequence = class {\n    constructor(lines, lineRange, considerWhitespaceChanges) {\n      this.lines = lines;\n      this.considerWhitespaceChanges = considerWhitespaceChanges;\n      this.elements = [];\n      this.firstCharOffsetByLine = [];\n      this.additionalOffsetByLine = [];\n      let trimFirstLineFully = false;\n      if (lineRange.start > 0 && lineRange.endExclusive >= lines.length) {\n        lineRange = new OffsetRange(lineRange.start - 1, lineRange.endExclusive);\n        trimFirstLineFully = true;\n      }\n      this.lineRange = lineRange;\n      this.firstCharOffsetByLine[0] = 0;\n      for (let i = this.lineRange.start; i < this.lineRange.endExclusive; i++) {\n        let line = lines[i];\n        let offset = 0;\n        if (trimFirstLineFully) {\n          offset = line.length;\n          line = \"\";\n          trimFirstLineFully = false;\n        } else if (!considerWhitespaceChanges) {\n          const trimmedStartLine = line.trimStart();\n          offset = line.length - trimmedStartLine.length;\n          line = trimmedStartLine.trimEnd();\n        }\n        this.additionalOffsetByLine.push(offset);\n        for (let i2 = 0; i2 < line.length; i2++) {\n          this.elements.push(line.charCodeAt(i2));\n        }\n        if (i < lines.length - 1) {\n          this.elements.push(\"\\n\".charCodeAt(0));\n          this.firstCharOffsetByLine[i - this.lineRange.start + 1] = this.elements.length;\n        }\n      }\n      this.additionalOffsetByLine.push(0);\n    }\n    toString() {\n      return `Slice: \"${this.text}\"`;\n    }\n    get text() {\n      return this.getText(new OffsetRange(0, this.length));\n    }\n    getText(range) {\n      return this.elements.slice(range.start, range.endExclusive).map((e) => String.fromCharCode(e)).join(\"\");\n    }\n    getElement(offset) {\n      return this.elements[offset];\n    }\n    get length() {\n      return this.elements.length;\n    }\n    getBoundaryScore(length) {\n      const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1);\n      const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1);\n      if (prevCategory === 7 && nextCategory === 8) {\n        return 0;\n      }\n      if (prevCategory === 8) {\n        return 150;\n      }\n      let score2 = 0;\n      if (prevCategory !== nextCategory) {\n        score2 += 10;\n        if (prevCategory === 0 && nextCategory === 1) {\n          score2 += 1;\n        }\n      }\n      score2 += getCategoryBoundaryScore(prevCategory);\n      score2 += getCategoryBoundaryScore(nextCategory);\n      return score2;\n    }\n    translateOffset(offset) {\n      if (this.lineRange.isEmpty) {\n        return new Position(this.lineRange.start + 1, 1);\n      }\n      const i = findLastIdxMonotonous(this.firstCharOffsetByLine, (value) => value <= offset);\n      return new Position(this.lineRange.start + i + 1, offset - this.firstCharOffsetByLine[i] + this.additionalOffsetByLine[i] + 1);\n    }\n    translateRange(range) {\n      return Range.fromPositions(this.translateOffset(range.start), this.translateOffset(range.endExclusive));\n    }\n    /**\n     * Finds the word that contains the character at the given offset\n     */\n    findWordContaining(offset) {\n      if (offset < 0 || offset >= this.elements.length) {\n        return void 0;\n      }\n      if (!isWordChar(this.elements[offset])) {\n        return void 0;\n      }\n      let start = offset;\n      while (start > 0 && isWordChar(this.elements[start - 1])) {\n        start--;\n      }\n      let end = offset;\n      while (end < this.elements.length && isWordChar(this.elements[end])) {\n        end++;\n      }\n      return new OffsetRange(start, end);\n    }\n    countLinesIn(range) {\n      return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber;\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.elements[offset1] === this.elements[offset2];\n    }\n    extendToFullLines(range) {\n      var _a4, _b3;\n      const start = (_a4 = findLastMonotonous(this.firstCharOffsetByLine, (x) => x <= range.start)) !== null && _a4 !== void 0 ? _a4 : 0;\n      const end = (_b3 = findFirstMonotonous(this.firstCharOffsetByLine, (x) => range.endExclusive <= x)) !== null && _b3 !== void 0 ? _b3 : this.elements.length;\n      return new OffsetRange(start, end);\n    }\n  };\n  function isWordChar(charCode) {\n    return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57;\n  }\n  var score = {\n    [\n      0\n      /* CharBoundaryCategory.WordLower */\n    ]: 0,\n    [\n      1\n      /* CharBoundaryCategory.WordUpper */\n    ]: 0,\n    [\n      2\n      /* CharBoundaryCategory.WordNumber */\n    ]: 0,\n    [\n      3\n      /* CharBoundaryCategory.End */\n    ]: 10,\n    [\n      4\n      /* CharBoundaryCategory.Other */\n    ]: 2,\n    [\n      5\n      /* CharBoundaryCategory.Separator */\n    ]: 30,\n    [\n      6\n      /* CharBoundaryCategory.Space */\n    ]: 3,\n    [\n      7\n      /* CharBoundaryCategory.LineBreakCR */\n    ]: 10,\n    [\n      8\n      /* CharBoundaryCategory.LineBreakLF */\n    ]: 10\n  };\n  function getCategoryBoundaryScore(category) {\n    return score[category];\n  }\n  function getCategory(charCode) {\n    if (charCode === 10) {\n      return 8;\n    } else if (charCode === 13) {\n      return 7;\n    } else if (isSpace(charCode)) {\n      return 6;\n    } else if (charCode >= 97 && charCode <= 122) {\n      return 0;\n    } else if (charCode >= 65 && charCode <= 90) {\n      return 1;\n    } else if (charCode >= 48 && charCode <= 57) {\n      return 2;\n    } else if (charCode === -1) {\n      return 3;\n    } else if (charCode === 44 || charCode === 59) {\n      return 5;\n    } else {\n      return 4;\n    }\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js\n  function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {\n    let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);\n    if (!timeout.isValid()) {\n      return [];\n    }\n    const filteredChanges = changes.filter((c) => !excludedChanges.has(c));\n    const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout);\n    pushMany(moves, unchangedMoves);\n    moves = joinCloseConsecutiveMoves(moves);\n    moves = moves.filter((current) => {\n      const lines = current.original.toOffsetRange().slice(originalLines).map((l) => l.trim());\n      const originalText = lines.join(\"\\n\");\n      return originalText.length >= 15 && countWhere(lines, (l) => l.length >= 2) >= 2;\n    });\n    moves = removeMovesInSameDiff(changes, moves);\n    return moves;\n  }\n  function countWhere(arr, predicate) {\n    let count = 0;\n    for (const t of arr) {\n      if (predicate(t)) {\n        count++;\n      }\n    }\n    return count;\n  }\n  function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const deletions = changes.filter((c) => c.modified.isEmpty && c.original.length >= 3).map((d) => new LineRangeFragment(d.original, originalLines, d));\n    const insertions = new Set(changes.filter((c) => c.original.isEmpty && c.modified.length >= 3).map((d) => new LineRangeFragment(d.modified, modifiedLines, d)));\n    const excludedChanges = /* @__PURE__ */ new Set();\n    for (const deletion of deletions) {\n      let highestSimilarity = -1;\n      let best;\n      for (const insertion of insertions) {\n        const similarity = deletion.computeSimilarity(insertion);\n        if (similarity > highestSimilarity) {\n          highestSimilarity = similarity;\n          best = insertion;\n        }\n      }\n      if (highestSimilarity > 0.9 && best) {\n        insertions.delete(best);\n        moves.push(new LineRangeMapping(deletion.range, best.range));\n        excludedChanges.add(deletion.source);\n        excludedChanges.add(best.source);\n      }\n      if (!timeout.isValid()) {\n        return { moves, excludedChanges };\n      }\n    }\n    return { moves, excludedChanges };\n  }\n  function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) {\n    const moves = [];\n    const original3LineHashes = new SetMap();\n    for (const change of changes) {\n      for (let i = change.original.startLineNumber; i < change.original.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedOriginalLines[i - 1]}:${hashedOriginalLines[i + 1 - 1]}:${hashedOriginalLines[i + 2 - 1]}`;\n        original3LineHashes.add(key, { range: new LineRange(i, i + 3) });\n      }\n    }\n    const possibleMappings = [];\n    changes.sort(compareBy((c) => c.modified.startLineNumber, numberComparator));\n    for (const change of changes) {\n      let lastMappings = [];\n      for (let i = change.modified.startLineNumber; i < change.modified.endLineNumberExclusive - 2; i++) {\n        const key = `${hashedModifiedLines[i - 1]}:${hashedModifiedLines[i + 1 - 1]}:${hashedModifiedLines[i + 2 - 1]}`;\n        const currentModifiedRange = new LineRange(i, i + 3);\n        const nextMappings = [];\n        original3LineHashes.forEach(key, ({ range }) => {\n          for (const lastMapping of lastMappings) {\n            if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) {\n              lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive);\n              lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive);\n              nextMappings.push(lastMapping);\n              return;\n            }\n          }\n          const mapping = {\n            modifiedLineRange: currentModifiedRange,\n            originalLineRange: range\n          };\n          possibleMappings.push(mapping);\n          nextMappings.push(mapping);\n        });\n        lastMappings = nextMappings;\n      }\n      if (!timeout.isValid()) {\n        return [];\n      }\n    }\n    possibleMappings.sort(reverseOrder(compareBy((m) => m.modifiedLineRange.length, numberComparator)));\n    const modifiedSet = new LineRangeSet();\n    const originalSet = new LineRangeSet();\n    for (const mapping of possibleMappings) {\n      const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber;\n      const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange);\n      const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod);\n      const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections);\n      for (const s of modifiedIntersectedSections.ranges) {\n        if (s.length < 3) {\n          continue;\n        }\n        const modifiedLineRange = s;\n        const originalLineRange = s.delta(-diffOrigToMod);\n        moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange));\n        modifiedSet.addRange(modifiedLineRange);\n        originalSet.addRange(originalLineRange);\n      }\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const monotonousChanges = new MonotonousArray(changes);\n    for (let i = 0; i < moves.length; i++) {\n      const move = moves[i];\n      const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber <= move.original.startLineNumber);\n      const firstTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber <= move.modified.startLineNumber);\n      const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber);\n      const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber < move.original.endLineNumberExclusive);\n      const lastTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber < move.modified.endLineNumberExclusive);\n      const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive);\n      let extendToTop;\n      for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) {\n        const origLine = move.original.startLineNumber - extendToTop - 1;\n        const modLine = move.modified.startLineNumber - extendToTop - 1;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToTop > 0) {\n        originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber));\n        modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber));\n      }\n      let extendToBottom;\n      for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) {\n        const origLine = move.original.endLineNumberExclusive + extendToBottom;\n        const modLine = move.modified.endLineNumberExclusive + extendToBottom;\n        if (origLine > originalLines.length || modLine > modifiedLines.length) {\n          break;\n        }\n        if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) {\n          break;\n        }\n        if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) {\n          break;\n        }\n      }\n      if (extendToBottom > 0) {\n        originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom));\n        modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n      if (extendToTop > 0 || extendToBottom > 0) {\n        moves[i] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom));\n      }\n    }\n    return moves;\n  }\n  function areLinesSimilar(line1, line2, timeout) {\n    if (line1.trim() === line2.trim()) {\n      return true;\n    }\n    if (line1.length > 300 && line2.length > 300) {\n      return false;\n    }\n    const myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new OffsetRange(0, 1), false), new LinesSliceCharSequence([line2], new OffsetRange(0, 1), false), timeout);\n    let commonNonSpaceCharCount = 0;\n    const inverted = SequenceDiff.invert(result.diffs, line1.length);\n    for (const seq of inverted) {\n      seq.seq1Range.forEach((idx) => {\n        if (!isSpace(line1.charCodeAt(idx))) {\n          commonNonSpaceCharCount++;\n        }\n      });\n    }\n    function countNonWsChars(str) {\n      let count = 0;\n      for (let i = 0; i < line1.length; i++) {\n        if (!isSpace(str.charCodeAt(i))) {\n          count++;\n        }\n      }\n      return count;\n    }\n    const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2);\n    const r = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10;\n    return r;\n  }\n  function joinCloseConsecutiveMoves(moves) {\n    if (moves.length === 0) {\n      return moves;\n    }\n    moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator));\n    const result = [moves[0]];\n    for (let i = 1; i < moves.length; i++) {\n      const last = result[result.length - 1];\n      const current = moves[i];\n      const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive;\n      const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive;\n      const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0;\n      if (currentMoveAfterLast && originalDist + modifiedDist <= 2) {\n        result[result.length - 1] = last.join(current);\n        continue;\n      }\n      result.push(current);\n    }\n    return result;\n  }\n  function removeMovesInSameDiff(changes, moves) {\n    const changesMonotonous = new MonotonousArray(changes);\n    moves = moves.filter((m) => {\n      const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c) => c.original.startLineNumber < m.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1));\n      const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c) => c.modified.startLineNumber < m.modified.endLineNumberExclusive);\n      const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified;\n      return differentDiffs;\n    });\n    return moves;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js\n  function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    let result = sequenceDiffs;\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = joinSequenceDiffsByShifting(sequence1, sequence2, result);\n    result = shiftSequenceDiffs(sequence1, sequence2, result);\n    return result;\n  }\n  function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) {\n    if (sequenceDiffs.length === 0) {\n      return sequenceDiffs;\n    }\n    const result = [];\n    result.push(sequenceDiffs[0]);\n    for (let i = 1; i < sequenceDiffs.length; i++) {\n      const prevResult = result[result.length - 1];\n      let cur = sequenceDiffs[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = cur.seq1Range.start - prevResult.seq1Range.endExclusive;\n        let d;\n        for (d = 1; d <= length; d++) {\n          if (sequence1.getElement(cur.seq1Range.start - d) !== sequence1.getElement(cur.seq1Range.endExclusive - d) || sequence2.getElement(cur.seq2Range.start - d) !== sequence2.getElement(cur.seq2Range.endExclusive - d)) {\n            break;\n          }\n        }\n        d--;\n        if (d === length) {\n          result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length));\n          continue;\n        }\n        cur = cur.delta(-d);\n      }\n      result.push(cur);\n    }\n    const result2 = [];\n    for (let i = 0; i < result.length - 1; i++) {\n      const nextResult = result[i + 1];\n      let cur = result[i];\n      if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) {\n        const length = nextResult.seq1Range.start - cur.seq1Range.endExclusive;\n        let d;\n        for (d = 0; d < length; d++) {\n          if (!sequence1.isStronglyEqual(cur.seq1Range.start + d, cur.seq1Range.endExclusive + d) || !sequence2.isStronglyEqual(cur.seq2Range.start + d, cur.seq2Range.endExclusive + d)) {\n            break;\n          }\n        }\n        if (d === length) {\n          result[i + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length, nextResult.seq2Range.endExclusive));\n          continue;\n        }\n        if (d > 0) {\n          cur = cur.delta(d);\n        }\n      }\n      result2.push(cur);\n    }\n    if (result.length > 0) {\n      result2.push(result[result.length - 1]);\n    }\n    return result2;\n  }\n  function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) {\n    if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) {\n      return sequenceDiffs;\n    }\n    for (let i = 0; i < sequenceDiffs.length; i++) {\n      const prevDiff = i > 0 ? sequenceDiffs[i - 1] : void 0;\n      const diff = sequenceDiffs[i];\n      const nextDiff = i + 1 < sequenceDiffs.length ? sequenceDiffs[i + 1] : void 0;\n      const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length);\n      const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length);\n      if (diff.seq1Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange);\n      } else if (diff.seq2Range.isEmpty) {\n        sequenceDiffs[i] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap();\n      }\n    }\n    return sequenceDiffs;\n  }\n  function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) {\n    const maxShiftLimit = 100;\n    let deltaBefore = 1;\n    while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) {\n      deltaBefore++;\n    }\n    deltaBefore--;\n    let deltaAfter = 0;\n    while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) {\n      deltaAfter++;\n    }\n    if (deltaBefore === 0 && deltaAfter === 0) {\n      return diff;\n    }\n    let bestDelta = 0;\n    let bestScore = -1;\n    for (let delta = -deltaBefore; delta <= deltaAfter; delta++) {\n      const seq2OffsetStart = diff.seq2Range.start + delta;\n      const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta;\n      const seq1Offset = diff.seq1Range.start + delta;\n      const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive);\n      if (score2 > bestScore) {\n        bestScore = score2;\n        bestDelta = delta;\n      }\n    }\n    return diff.delta(bestDelta);\n  }\n  function removeShortMatches(sequence1, sequence2, sequenceDiffs) {\n    const result = [];\n    for (const s of sequenceDiffs) {\n      const last = result[result.length - 1];\n      if (!last) {\n        result.push(s);\n        continue;\n      }\n      if (s.seq1Range.start - last.seq1Range.endExclusive <= 2 || s.seq2Range.start - last.seq2Range.endExclusive <= 2) {\n        result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s.seq1Range), last.seq2Range.join(s.seq2Range));\n      } else {\n        result.push(s);\n      }\n    }\n    return result;\n  }\n  function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) {\n    const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length);\n    const additional = [];\n    let lastPoint = new OffsetPair(0, 0);\n    function scanWord(pair, equalMapping) {\n      if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) {\n        return;\n      }\n      const w1 = sequence1.findWordContaining(pair.offset1);\n      const w2 = sequence2.findWordContaining(pair.offset2);\n      if (!w1 || !w2) {\n        return;\n      }\n      let w = new SequenceDiff(w1, w2);\n      const equalPart = w.intersect(equalMapping);\n      let equalChars1 = equalPart.seq1Range.length;\n      let equalChars2 = equalPart.seq2Range.length;\n      while (equalMappings.length > 0) {\n        const next = equalMappings[0];\n        const intersects = next.seq1Range.intersects(w.seq1Range) || next.seq2Range.intersects(w.seq2Range);\n        if (!intersects) {\n          break;\n        }\n        const v1 = sequence1.findWordContaining(next.seq1Range.start);\n        const v2 = sequence2.findWordContaining(next.seq2Range.start);\n        const v = new SequenceDiff(v1, v2);\n        const equalPart2 = v.intersect(next);\n        equalChars1 += equalPart2.seq1Range.length;\n        equalChars2 += equalPart2.seq2Range.length;\n        w = w.join(v);\n        if (w.seq1Range.endExclusive >= next.seq1Range.endExclusive) {\n          equalMappings.shift();\n        } else {\n          break;\n        }\n      }\n      if (equalChars1 + equalChars2 < (w.seq1Range.length + w.seq2Range.length) * 2 / 3) {\n        additional.push(w);\n      }\n      lastPoint = w.getEndExclusives();\n    }\n    while (equalMappings.length > 0) {\n      const next = equalMappings.shift();\n      if (next.seq1Range.isEmpty) {\n        continue;\n      }\n      scanWord(next.getStarts(), next);\n      scanWord(next.getEndExclusives().delta(-1), next);\n    }\n    const merged = mergeSequenceDiffs(sequenceDiffs, additional);\n    return merged;\n  }\n  function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) {\n    const result = [];\n    while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) {\n      const sd1 = sequenceDiffs1[0];\n      const sd2 = sequenceDiffs2[0];\n      let next;\n      if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) {\n        next = sequenceDiffs1.shift();\n      } else {\n        next = sequenceDiffs2.shift();\n      }\n      if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) {\n        result[result.length - 1] = result[result.length - 1].join(next);\n      } else {\n        result.push(next);\n      }\n    }\n    return result;\n  }\n  function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedText = sequence1.getText(unchangedRange);\n          const unchangedTextWithoutWs = unchangedText.replace(/\\s/g, \"\");\n          if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    return diffs;\n  }\n  function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) {\n    let diffs = sequenceDiffs;\n    if (diffs.length === 0) {\n      return diffs;\n    }\n    let counter = 0;\n    let shouldRepeat;\n    do {\n      shouldRepeat = false;\n      const result = [\n        diffs[0]\n      ];\n      for (let i = 1; i < diffs.length; i++) {\n        let shouldJoinDiffs = function(before, after) {\n          const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start);\n          const unchangedLineCount = sequence1.countLinesIn(unchangedRange);\n          if (unchangedLineCount > 5 || unchangedRange.length > 500) {\n            return false;\n          }\n          const unchangedText = sequence1.getText(unchangedRange).trim();\n          if (unchangedText.length > 20 || unchangedText.split(/\\r\\n|\\r|\\n/).length > 1) {\n            return false;\n          }\n          const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range);\n          const beforeSeq1Length = before.seq1Range.length;\n          const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range);\n          const beforeSeq2Length = before.seq2Range.length;\n          const afterLineCount1 = sequence1.countLinesIn(after.seq1Range);\n          const afterSeq1Length = after.seq1Range.length;\n          const afterLineCount2 = sequence2.countLinesIn(after.seq2Range);\n          const afterSeq2Length = after.seq2Range.length;\n          const max = 2 * 40 + 50;\n          function cap(v) {\n            return Math.min(v, max);\n          }\n          if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max ** 1.5) ** 1.5 * 1.3) {\n            return true;\n          }\n          return false;\n        };\n        const cur = diffs[i];\n        const lastResult = result[result.length - 1];\n        const shouldJoin = shouldJoinDiffs(lastResult, cur);\n        if (shouldJoin) {\n          shouldRepeat = true;\n          result[result.length - 1] = result[result.length - 1].join(cur);\n        } else {\n          result.push(cur);\n        }\n      }\n      diffs = result;\n    } while (counter++ < 10 && shouldRepeat);\n    const newDiffs = [];\n    forEachWithNeighbors(diffs, (prev, cur, next) => {\n      let newDiff = cur;\n      function shouldMarkAsChanged(text) {\n        return text.length > 0 && text.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100;\n      }\n      const fullRange1 = sequence1.extendToFullLines(cur.seq1Range);\n      const prefix = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start));\n      if (shouldMarkAsChanged(prefix)) {\n        newDiff = newDiff.deltaStart(-prefix.length);\n      }\n      const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive));\n      if (shouldMarkAsChanged(suffix)) {\n        newDiff = newDiff.deltaEnd(suffix.length);\n      }\n      const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max);\n      const result = newDiff.intersect(availableSpace);\n      if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) {\n        newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result);\n      } else {\n        newDiffs.push(result);\n      }\n    });\n    return newDiffs;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js\n  var LineSequence2 = class {\n    constructor(trimmedHash, lines) {\n      this.trimmedHash = trimmedHash;\n      this.lines = lines;\n    }\n    getElement(offset) {\n      return this.trimmedHash[offset];\n    }\n    get length() {\n      return this.trimmedHash.length;\n    }\n    getBoundaryScore(length) {\n      const indentationBefore = length === 0 ? 0 : getIndentation(this.lines[length - 1]);\n      const indentationAfter = length === this.lines.length ? 0 : getIndentation(this.lines[length]);\n      return 1e3 - (indentationBefore + indentationAfter);\n    }\n    getText(range) {\n      return this.lines.slice(range.start, range.endExclusive).join(\"\\n\");\n    }\n    isStronglyEqual(offset1, offset2) {\n      return this.lines[offset1] === this.lines[offset2];\n    }\n  };\n  function getIndentation(str) {\n    let i = 0;\n    while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) {\n      i++;\n    }\n    return i;\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js\n  var DefaultLinesDiffComputer = class {\n    constructor() {\n      this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing();\n      this.myersDiffingAlgorithm = new MyersDiffAlgorithm();\n    }\n    computeDiff(originalLines, modifiedLines, options) {\n      if (originalLines.length <= 1 && equals(originalLines, modifiedLines, (a, b) => a === b)) {\n        return new LinesDiff([], [], false);\n      }\n      if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) {\n        return new LinesDiff([\n          new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [\n            new RangeMapping(new Range(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1))\n          ])\n        ], [], false);\n      }\n      const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs);\n      const considerWhitespaceChanges = !options.ignoreTrimWhitespace;\n      const perfectHashes = /* @__PURE__ */ new Map();\n      function getOrCreateHash(text) {\n        let hash = perfectHashes.get(text);\n        if (hash === void 0) {\n          hash = perfectHashes.size;\n          perfectHashes.set(text, hash);\n        }\n        return hash;\n      }\n      const originalLinesHashes = originalLines.map((l) => getOrCreateHash(l.trim()));\n      const modifiedLinesHashes = modifiedLines.map((l) => getOrCreateHash(l.trim()));\n      const sequence1 = new LineSequence2(originalLinesHashes, originalLines);\n      const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines);\n      const lineAlignmentResult = (() => {\n        if (sequence1.length + sequence2.length < 1700) {\n          return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99);\n        }\n        return this.myersDiffingAlgorithm.compute(sequence1, sequence2);\n      })();\n      let lineAlignments = lineAlignmentResult.diffs;\n      let hitTimeout = lineAlignmentResult.hitTimeout;\n      lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments);\n      lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments);\n      const alignments = [];\n      const scanForWhitespaceChanges = (equalLinesCount) => {\n        if (!considerWhitespaceChanges) {\n          return;\n        }\n        for (let i = 0; i < equalLinesCount; i++) {\n          const seq1Offset = seq1LastStart + i;\n          const seq2Offset = seq2LastStart + i;\n          if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) {\n            const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges);\n            for (const a of characterDiffs.mappings) {\n              alignments.push(a);\n            }\n            if (characterDiffs.hitTimeout) {\n              hitTimeout = true;\n            }\n          }\n        }\n      };\n      let seq1LastStart = 0;\n      let seq2LastStart = 0;\n      for (const diff of lineAlignments) {\n        assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart);\n        const equalLinesCount = diff.seq1Range.start - seq1LastStart;\n        scanForWhitespaceChanges(equalLinesCount);\n        seq1LastStart = diff.seq1Range.endExclusive;\n        seq2LastStart = diff.seq2Range.endExclusive;\n        const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges);\n        if (characterDiffs.hitTimeout) {\n          hitTimeout = true;\n        }\n        for (const a of characterDiffs.mappings) {\n          alignments.push(a);\n        }\n      }\n      scanForWhitespaceChanges(originalLines.length - seq1LastStart);\n      const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines);\n      let moves = [];\n      if (options.computeMoves) {\n        moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges);\n      }\n      assertFn(() => {\n        function validatePosition(pos, lines) {\n          if (pos.lineNumber < 1 || pos.lineNumber > lines.length) {\n            return false;\n          }\n          const line = lines[pos.lineNumber - 1];\n          if (pos.column < 1 || pos.column > line.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        function validateRange(range, lines) {\n          if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) {\n            return false;\n          }\n          if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) {\n            return false;\n          }\n          return true;\n        }\n        for (const c of changes) {\n          if (!c.innerChanges) {\n            return false;\n          }\n          for (const ic of c.innerChanges) {\n            const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines);\n            if (!valid) {\n              return false;\n            }\n          }\n          if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return new LinesDiff(changes, moves, hitTimeout);\n    }\n    computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) {\n      const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout);\n      const movesWithDiffs = moves.map((m) => {\n        const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m.original.toOffsetRange(), m.modified.toOffsetRange()), timeout, considerWhitespaceChanges);\n        const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true);\n        return new MovedText(m, mappings);\n      });\n      return movesWithDiffs;\n    }\n    refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) {\n      const slice1 = new LinesSliceCharSequence(originalLines, diff.seq1Range, considerWhitespaceChanges);\n      const slice2 = new LinesSliceCharSequence(modifiedLines, diff.seq2Range, considerWhitespaceChanges);\n      const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout);\n      let diffs = diffResult.diffs;\n      diffs = optimizeSequenceDiffs(slice1, slice2, diffs);\n      diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs);\n      diffs = removeShortMatches(slice1, slice2, diffs);\n      diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs);\n      const result = diffs.map((d) => new RangeMapping(slice1.translateRange(d.seq1Range), slice2.translateRange(d.seq2Range)));\n      return {\n        mappings: result,\n        hitTimeout: diffResult.hitTimeout\n      };\n    }\n  };\n  function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) {\n    const changes = [];\n    for (const g of groupAdjacentBy(alignments.map((a) => getLineRangeMapping(a, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) {\n      const first = g[0];\n      const last = g[g.length - 1];\n      changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g.map((a) => a.innerChanges[0])));\n    }\n    assertFn(() => {\n      if (!dontAssertStartLine && changes.length > 0) {\n        if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) {\n          return false;\n        }\n        if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) {\n          return false;\n        }\n      }\n      return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)\n      m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber);\n    });\n    return changes;\n  }\n  function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {\n    let lineStartDelta = 0;\n    let lineEndDelta = 0;\n    if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) {\n      lineEndDelta = -1;\n    }\n    if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) {\n      lineStartDelta = 1;\n    }\n    const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta);\n    const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta);\n    return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js\n  var linesDiffComputers = {\n    getLegacy: () => new LegacyLinesDiffComputer(),\n    getDefault: () => new DefaultLinesDiffComputer()\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/base/common/color.js\n  function roundFloat(number, decimalPoints) {\n    const decimal = Math.pow(10, decimalPoints);\n    return Math.round(number * decimal) / decimal;\n  }\n  var RGBA = class {\n    constructor(r, g, b, a = 1) {\n      this._rgbaBrand = void 0;\n      this.r = Math.min(255, Math.max(0, r)) | 0;\n      this.g = Math.min(255, Math.max(0, g)) | 0;\n      this.b = Math.min(255, Math.max(0, b)) | 0;\n      this.a = roundFloat(Math.max(Math.min(1, a), 0), 3);\n    }\n    static equals(a, b) {\n      return a.r === b.r && a.g === b.g && a.b === b.b && a.a === b.a;\n    }\n  };\n  var HSLA = class _HSLA {\n    constructor(h, s, l, a) {\n      this._hslaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.l = roundFloat(Math.max(Math.min(1, l), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a), 0), 3);\n    }\n    static equals(a, b) {\n      return a.h === b.h && a.s === b.s && a.l === b.l && a.a === b.a;\n    }\n    /**\n     * Converts an RGB color value to HSL. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes r, g, and b are contained in the set [0, 255] and\n     * returns h in the set [0, 360], s, and l in the set [0, 1].\n     */\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const a = rgba.a;\n      const max = Math.max(r, g, b);\n      const min = Math.min(r, g, b);\n      let h = 0;\n      let s = 0;\n      const l = (min + max) / 2;\n      const chroma = max - min;\n      if (chroma > 0) {\n        s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1);\n        switch (max) {\n          case r:\n            h = (g - b) / chroma + (g < b ? 6 : 0);\n            break;\n          case g:\n            h = (b - r) / chroma + 2;\n            break;\n          case b:\n            h = (r - g) / chroma + 4;\n            break;\n        }\n        h *= 60;\n        h = Math.round(h);\n      }\n      return new _HSLA(h, s, l, a);\n    }\n    static _hue2rgb(p, q, t) {\n      if (t < 0) {\n        t += 1;\n      }\n      if (t > 1) {\n        t -= 1;\n      }\n      if (t < 1 / 6) {\n        return p + (q - p) * 6 * t;\n      }\n      if (t < 1 / 2) {\n        return q;\n      }\n      if (t < 2 / 3) {\n        return p + (q - p) * (2 / 3 - t) * 6;\n      }\n      return p;\n    }\n    /**\n     * Converts an HSL color value to RGB. Conversion formula\n     * adapted from http://en.wikipedia.org/wiki/HSL_color_space.\n     * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and\n     * returns r, g, and b in the set [0, 255].\n     */\n    static toRGBA(hsla) {\n      const h = hsla.h / 360;\n      const { s, l, a } = hsla;\n      let r, g, b;\n      if (s === 0) {\n        r = g = b = l;\n      } else {\n        const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n        const p = 2 * l - q;\n        r = _HSLA._hue2rgb(p, q, h + 1 / 3);\n        g = _HSLA._hue2rgb(p, q, h);\n        b = _HSLA._hue2rgb(p, q, h - 1 / 3);\n      }\n      return new RGBA(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255), a);\n    }\n  };\n  var HSVA = class _HSVA {\n    constructor(h, s, v, a) {\n      this._hsvaBrand = void 0;\n      this.h = Math.max(Math.min(360, h), 0) | 0;\n      this.s = roundFloat(Math.max(Math.min(1, s), 0), 3);\n      this.v = roundFloat(Math.max(Math.min(1, v), 0), 3);\n      this.a = roundFloat(Math.max(Math.min(1, a), 0), 3);\n    }\n    static equals(a, b) {\n      return a.h === b.h && a.s === b.s && a.v === b.v && a.a === b.a;\n    }\n    // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm\n    static fromRGBA(rgba) {\n      const r = rgba.r / 255;\n      const g = rgba.g / 255;\n      const b = rgba.b / 255;\n      const cmax = Math.max(r, g, b);\n      const cmin = Math.min(r, g, b);\n      const delta = cmax - cmin;\n      const s = cmax === 0 ? 0 : delta / cmax;\n      let m;\n      if (delta === 0) {\n        m = 0;\n      } else if (cmax === r) {\n        m = ((g - b) / delta % 6 + 6) % 6;\n      } else if (cmax === g) {\n        m = (b - r) / delta + 2;\n      } else {\n        m = (r - g) / delta + 4;\n      }\n      return new _HSVA(Math.round(m * 60), s, cmax, rgba.a);\n    }\n    // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm\n    static toRGBA(hsva) {\n      const { h, s, v, a } = hsva;\n      const c = v * s;\n      const x = c * (1 - Math.abs(h / 60 % 2 - 1));\n      const m = v - c;\n      let [r, g, b] = [0, 0, 0];\n      if (h < 60) {\n        r = c;\n        g = x;\n      } else if (h < 120) {\n        r = x;\n        g = c;\n      } else if (h < 180) {\n        g = c;\n        b = x;\n      } else if (h < 240) {\n        g = x;\n        b = c;\n      } else if (h < 300) {\n        r = x;\n        b = c;\n      } else if (h <= 360) {\n        r = c;\n        b = x;\n      }\n      r = Math.round((r + m) * 255);\n      g = Math.round((g + m) * 255);\n      b = Math.round((b + m) * 255);\n      return new RGBA(r, g, b, a);\n    }\n  };\n  var Color = class _Color {\n    static fromHex(hex) {\n      return _Color.Format.CSS.parseHex(hex) || _Color.red;\n    }\n    static equals(a, b) {\n      if (!a && !b) {\n        return true;\n      }\n      if (!a || !b) {\n        return false;\n      }\n      return a.equals(b);\n    }\n    get hsla() {\n      if (this._hsla) {\n        return this._hsla;\n      } else {\n        return HSLA.fromRGBA(this.rgba);\n      }\n    }\n    get hsva() {\n      if (this._hsva) {\n        return this._hsva;\n      }\n      return HSVA.fromRGBA(this.rgba);\n    }\n    constructor(arg) {\n      if (!arg) {\n        throw new Error(\"Color needs a value\");\n      } else if (arg instanceof RGBA) {\n        this.rgba = arg;\n      } else if (arg instanceof HSLA) {\n        this._hsla = arg;\n        this.rgba = HSLA.toRGBA(arg);\n      } else if (arg instanceof HSVA) {\n        this._hsva = arg;\n        this.rgba = HSVA.toRGBA(arg);\n      } else {\n        throw new Error(\"Invalid color ctor argument\");\n      }\n    }\n    equals(other) {\n      return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva);\n    }\n    /**\n     * http://www.w3.org/TR/WCAG20/#relativeluminancedef\n     * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.\n     */\n    getRelativeLuminance() {\n      const R = _Color._relativeLuminanceForComponent(this.rgba.r);\n      const G = _Color._relativeLuminanceForComponent(this.rgba.g);\n      const B = _Color._relativeLuminanceForComponent(this.rgba.b);\n      const luminance = 0.2126 * R + 0.7152 * G + 0.0722 * B;\n      return roundFloat(luminance, 4);\n    }\n    static _relativeLuminanceForComponent(color) {\n      const c = color / 255;\n      return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);\n    }\n    /**\n     *\thttp://24ways.org/2010/calculating-color-contrast\n     *  Return 'true' if lighter color otherwise 'false'\n     */\n    isLighter() {\n      const yiq = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3;\n      return yiq >= 128;\n    }\n    isLighterThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 > lum2;\n    }\n    isDarkerThan(another) {\n      const lum1 = this.getRelativeLuminance();\n      const lum2 = another.getRelativeLuminance();\n      return lum1 < lum2;\n    }\n    lighten(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor, this.hsla.a));\n    }\n    darken(factor) {\n      return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor, this.hsla.a));\n    }\n    transparent(factor) {\n      const { r, g, b, a } = this.rgba;\n      return new _Color(new RGBA(r, g, b, a * factor));\n    }\n    isTransparent() {\n      return this.rgba.a === 0;\n    }\n    isOpaque() {\n      return this.rgba.a === 1;\n    }\n    opposite() {\n      return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));\n    }\n    makeOpaque(opaqueBackground) {\n      if (this.isOpaque() || opaqueBackground.rgba.a !== 1) {\n        return this;\n      }\n      const { r, g, b, a } = this.rgba;\n      return new _Color(new RGBA(opaqueBackground.rgba.r - a * (opaqueBackground.rgba.r - r), opaqueBackground.rgba.g - a * (opaqueBackground.rgba.g - g), opaqueBackground.rgba.b - a * (opaqueBackground.rgba.b - b), 1));\n    }\n    toString() {\n      if (!this._toString) {\n        this._toString = _Color.Format.CSS.format(this);\n      }\n      return this._toString;\n    }\n    static getLighterColor(of, relative2, factor) {\n      if (of.isLighterThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum2 - lum1) / lum2;\n      return of.lighten(factor);\n    }\n    static getDarkerColor(of, relative2, factor) {\n      if (of.isDarkerThan(relative2)) {\n        return of;\n      }\n      factor = factor ? factor : 0.5;\n      const lum1 = of.getRelativeLuminance();\n      const lum2 = relative2.getRelativeLuminance();\n      factor = factor * (lum1 - lum2) / lum1;\n      return of.darken(factor);\n    }\n  };\n  Color.white = new Color(new RGBA(255, 255, 255, 1));\n  Color.black = new Color(new RGBA(0, 0, 0, 1));\n  Color.red = new Color(new RGBA(255, 0, 0, 1));\n  Color.blue = new Color(new RGBA(0, 0, 255, 1));\n  Color.green = new Color(new RGBA(0, 255, 0, 1));\n  Color.cyan = new Color(new RGBA(0, 255, 255, 1));\n  Color.lightgrey = new Color(new RGBA(211, 211, 211, 1));\n  Color.transparent = new Color(new RGBA(0, 0, 0, 0));\n  (function(Color2) {\n    let Format;\n    (function(Format2) {\n      let CSS;\n      (function(CSS2) {\n        function formatRGB(color) {\n          if (color.rgba.a === 1) {\n            return `rgb(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b})`;\n          }\n          return Color2.Format.CSS.formatRGBA(color);\n        }\n        CSS2.formatRGB = formatRGB;\n        function formatRGBA(color) {\n          return `rgba(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b}, ${+color.rgba.a.toFixed(2)})`;\n        }\n        CSS2.formatRGBA = formatRGBA;\n        function formatHSL(color) {\n          if (color.hsla.a === 1) {\n            return `hsl(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%)`;\n          }\n          return Color2.Format.CSS.formatHSLA(color);\n        }\n        CSS2.formatHSL = formatHSL;\n        function formatHSLA(color) {\n          return `hsla(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%, ${color.hsla.a.toFixed(2)})`;\n        }\n        CSS2.formatHSLA = formatHSLA;\n        function _toTwoDigitHex(n) {\n          const r = n.toString(16);\n          return r.length !== 2 ? \"0\" + r : r;\n        }\n        function formatHex(color) {\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}`;\n        }\n        CSS2.formatHex = formatHex;\n        function formatHexA(color, compact = false) {\n          if (compact && color.rgba.a === 1) {\n            return Color2.Format.CSS.formatHex(color);\n          }\n          return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}${_toTwoDigitHex(Math.round(color.rgba.a * 255))}`;\n        }\n        CSS2.formatHexA = formatHexA;\n        function format(color) {\n          if (color.isOpaque()) {\n            return Color2.Format.CSS.formatHex(color);\n          }\n          return Color2.Format.CSS.formatRGBA(color);\n        }\n        CSS2.format = format;\n        function parseHex(hex) {\n          const length = hex.length;\n          if (length === 0) {\n            return null;\n          }\n          if (hex.charCodeAt(0) !== 35) {\n            return null;\n          }\n          if (length === 7) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            return new Color2(new RGBA(r, g, b, 1));\n          }\n          if (length === 9) {\n            const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2));\n            const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4));\n            const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6));\n            const a = 16 * _parseHexDigit(hex.charCodeAt(7)) + _parseHexDigit(hex.charCodeAt(8));\n            return new Color2(new RGBA(r, g, b, a / 255));\n          }\n          if (length === 4) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            return new Color2(new RGBA(16 * r + r, 16 * g + g, 16 * b + b));\n          }\n          if (length === 5) {\n            const r = _parseHexDigit(hex.charCodeAt(1));\n            const g = _parseHexDigit(hex.charCodeAt(2));\n            const b = _parseHexDigit(hex.charCodeAt(3));\n            const a = _parseHexDigit(hex.charCodeAt(4));\n            return new Color2(new RGBA(16 * r + r, 16 * g + g, 16 * b + b, (16 * a + a) / 255));\n          }\n          return null;\n        }\n        CSS2.parseHex = parseHex;\n        function _parseHexDigit(charCode) {\n          switch (charCode) {\n            case 48:\n              return 0;\n            case 49:\n              return 1;\n            case 50:\n              return 2;\n            case 51:\n              return 3;\n            case 52:\n              return 4;\n            case 53:\n              return 5;\n            case 54:\n              return 6;\n            case 55:\n              return 7;\n            case 56:\n              return 8;\n            case 57:\n              return 9;\n            case 97:\n              return 10;\n            case 65:\n              return 10;\n            case 98:\n              return 11;\n            case 66:\n              return 11;\n            case 99:\n              return 12;\n            case 67:\n              return 12;\n            case 100:\n              return 13;\n            case 68:\n              return 13;\n            case 101:\n              return 14;\n            case 69:\n              return 14;\n            case 102:\n              return 15;\n            case 70:\n              return 15;\n          }\n          return 0;\n        }\n      })(CSS = Format2.CSS || (Format2.CSS = {}));\n    })(Format = Color2.Format || (Color2.Format = {}));\n  })(Color || (Color = {}));\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js\n  function _parseCaptureGroups(captureGroups) {\n    const values = [];\n    for (const captureGroup of captureGroups) {\n      const parsedNumber = Number(captureGroup);\n      if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\\s/g, \"\") !== \"\") {\n        values.push(parsedNumber);\n      }\n    }\n    return values;\n  }\n  function _toIColor(r, g, b, a) {\n    return {\n      red: r / 255,\n      blue: b / 255,\n      green: g / 255,\n      alpha: a\n    };\n  }\n  function _findRange(model, match) {\n    const index = match.index;\n    const length = match[0].length;\n    if (!index) {\n      return;\n    }\n    const startPosition = model.positionAt(index);\n    const range = {\n      startLineNumber: startPosition.lineNumber,\n      startColumn: startPosition.column,\n      endLineNumber: startPosition.lineNumber,\n      endColumn: startPosition.column + length\n    };\n    return range;\n  }\n  function _findHexColorInformation(range, hexValue) {\n    if (!range) {\n      return;\n    }\n    const parsedHexColor = Color.Format.CSS.parseHex(hexValue);\n    if (!parsedHexColor) {\n      return;\n    }\n    return {\n      range,\n      color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a)\n    };\n  }\n  function _findRGBColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    return {\n      range,\n      color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1)\n    };\n  }\n  function _findHSLColorInformation(range, matches, isAlpha) {\n    if (!range || matches.length !== 1) {\n      return;\n    }\n    const match = matches[0];\n    const captureGroups = match.values();\n    const parsedRegex = _parseCaptureGroups(captureGroups);\n    const colorEquivalent = new Color(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1));\n    return {\n      range,\n      color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a)\n    };\n  }\n  function _findMatches(model, regex) {\n    if (typeof model === \"string\") {\n      return [...model.matchAll(regex)];\n    } else {\n      return model.findMatches(regex);\n    }\n  }\n  function computeColors(model) {\n    const result = [];\n    const initialValidationRegex = /\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|(#)([A-Fa-f0-9]{3})\\b|(#)([A-Fa-f0-9]{4})\\b|(#)([A-Fa-f0-9]{6})\\b|(#)([A-Fa-f0-9]{8})\\b/gm;\n    const initialValidationMatches = _findMatches(model, initialValidationRegex);\n    if (initialValidationMatches.length > 0) {\n      for (const initialMatch of initialValidationMatches) {\n        const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0);\n        const colorScheme = initialCaptureGroups[1];\n        const colorParameters = initialCaptureGroups[2];\n        if (!colorParameters) {\n          continue;\n        }\n        let colorInformation;\n        if (colorScheme === \"rgb\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"rgba\") {\n          const regexParameters = /^\\(\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"hsl\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false);\n        } else if (colorScheme === \"hsla\") {\n          const regexParameters = /^\\(\\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(100|\\d{1,2}[.]\\d*|\\d{1,2})%\\s*,\\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\\s*\\)$/gm;\n          colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true);\n        } else if (colorScheme === \"#\") {\n          colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters);\n        }\n        if (colorInformation) {\n          result.push(colorInformation);\n        }\n      }\n    }\n    return result;\n  }\n  function computeDefaultDocumentColors(model) {\n    if (!model || typeof model.getValue !== \"function\" || typeof model.positionAt !== \"function\") {\n      return [];\n    }\n    return computeColors(model);\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js\n  var markRegex = /\\bMARK:\\s*(.*)$/d;\n  var trimDashesRegex = /^-+|-+$/g;\n  function findSectionHeaders(model, options) {\n    var _a4;\n    let headers = [];\n    if (options.findRegionSectionHeaders && ((_a4 = options.foldingRules) === null || _a4 === void 0 ? void 0 : _a4.markers)) {\n      const regionHeaders = collectRegionHeaders(model, options);\n      headers = headers.concat(regionHeaders);\n    }\n    if (options.findMarkSectionHeaders) {\n      const markHeaders = collectMarkHeaders(model);\n      headers = headers.concat(markHeaders);\n    }\n    return headers;\n  }\n  function collectRegionHeaders(model, options) {\n    const regionHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      const match = lineContent.match(options.foldingRules.markers.start);\n      if (match) {\n        const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 };\n        if (range.endColumn > range.startColumn) {\n          const sectionHeader = {\n            range,\n            ...getHeaderText(lineContent.substring(match[0].length)),\n            shouldBeInComments: false\n          };\n          if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n            regionHeaders.push(sectionHeader);\n          }\n        }\n      }\n    }\n    return regionHeaders;\n  }\n  function collectMarkHeaders(model) {\n    const markHeaders = [];\n    const endLineNumber = model.getLineCount();\n    for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) {\n      const lineContent = model.getLineContent(lineNumber);\n      addMarkHeaderIfFound(lineContent, lineNumber, markHeaders);\n    }\n    return markHeaders;\n  }\n  function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) {\n    markRegex.lastIndex = 0;\n    const match = markRegex.exec(lineContent);\n    if (match) {\n      const column = match.indices[1][0] + 1;\n      const endColumn = match.indices[1][1] + 1;\n      const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn };\n      if (range.endColumn > range.startColumn) {\n        const sectionHeader = {\n          range,\n          ...getHeaderText(match[1]),\n          shouldBeInComments: true\n        };\n        if (sectionHeader.text || sectionHeader.hasSeparatorLine) {\n          sectionHeaders.push(sectionHeader);\n        }\n      }\n    }\n  }\n  function getHeaderText(text) {\n    text = text.trim();\n    const hasSeparatorLine = text.startsWith(\"-\");\n    text = text.replace(trimDashesRegex, \"\");\n    return { text, hasSeparatorLine };\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js\n  var MirrorModel = class extends MirrorTextModel {\n    get uri() {\n      return this._uri;\n    }\n    get eol() {\n      return this._eol;\n    }\n    getValue() {\n      return this.getText();\n    }\n    findMatches(regex) {\n      const matches = [];\n      for (let i = 0; i < this._lines.length; i++) {\n        const line = this._lines[i];\n        const offsetToAdd = this.offsetAt(new Position(i + 1, 1));\n        const iteratorOverMatches = line.matchAll(regex);\n        for (const match of iteratorOverMatches) {\n          if (match.index || match.index === 0) {\n            match.index = match.index + offsetToAdd;\n          }\n          matches.push(match);\n        }\n      }\n      return matches;\n    }\n    getLinesContent() {\n      return this._lines.slice(0);\n    }\n    getLineCount() {\n      return this._lines.length;\n    }\n    getLineContent(lineNumber) {\n      return this._lines[lineNumber - 1];\n    }\n    getWordAtPosition(position, wordDefinition) {\n      const wordAtText = getWordAtText(position.column, ensureValidWordDefinition(wordDefinition), this._lines[position.lineNumber - 1], 0);\n      if (wordAtText) {\n        return new Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn);\n      }\n      return null;\n    }\n    words(wordDefinition) {\n      const lines = this._lines;\n      const wordenize = this._wordenize.bind(this);\n      let lineNumber = 0;\n      let lineText = \"\";\n      let wordRangesIdx = 0;\n      let wordRanges = [];\n      return {\n        *[Symbol.iterator]() {\n          while (true) {\n            if (wordRangesIdx < wordRanges.length) {\n              const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end);\n              wordRangesIdx += 1;\n              yield value;\n            } else {\n              if (lineNumber < lines.length) {\n                lineText = lines[lineNumber];\n                wordRanges = wordenize(lineText, wordDefinition);\n                wordRangesIdx = 0;\n                lineNumber += 1;\n              } else {\n                break;\n              }\n            }\n          }\n        }\n      };\n    }\n    getLineWords(lineNumber, wordDefinition) {\n      const content = this._lines[lineNumber - 1];\n      const ranges = this._wordenize(content, wordDefinition);\n      const words = [];\n      for (const range of ranges) {\n        words.push({\n          word: content.substring(range.start, range.end),\n          startColumn: range.start + 1,\n          endColumn: range.end + 1\n        });\n      }\n      return words;\n    }\n    _wordenize(content, wordDefinition) {\n      const result = [];\n      let match;\n      wordDefinition.lastIndex = 0;\n      while (match = wordDefinition.exec(content)) {\n        if (match[0].length === 0) {\n          break;\n        }\n        result.push({ start: match.index, end: match.index + match[0].length });\n      }\n      return result;\n    }\n    getValueInRange(range) {\n      range = this._validateRange(range);\n      if (range.startLineNumber === range.endLineNumber) {\n        return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1);\n      }\n      const lineEnding = this._eol;\n      const startLineIndex = range.startLineNumber - 1;\n      const endLineIndex = range.endLineNumber - 1;\n      const resultLines = [];\n      resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1));\n      for (let i = startLineIndex + 1; i < endLineIndex; i++) {\n        resultLines.push(this._lines[i]);\n      }\n      resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1));\n      return resultLines.join(lineEnding);\n    }\n    offsetAt(position) {\n      position = this._validatePosition(position);\n      this._ensureLineStarts();\n      return this._lineStarts.getPrefixSum(position.lineNumber - 2) + (position.column - 1);\n    }\n    positionAt(offset) {\n      offset = Math.floor(offset);\n      offset = Math.max(0, offset);\n      this._ensureLineStarts();\n      const out = this._lineStarts.getIndexOf(offset);\n      const lineLength = this._lines[out.index].length;\n      return {\n        lineNumber: 1 + out.index,\n        column: 1 + Math.min(out.remainder, lineLength)\n      };\n    }\n    _validateRange(range) {\n      const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn });\n      const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn });\n      if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) {\n        return {\n          startLineNumber: start.lineNumber,\n          startColumn: start.column,\n          endLineNumber: end.lineNumber,\n          endColumn: end.column\n        };\n      }\n      return range;\n    }\n    _validatePosition(position) {\n      if (!Position.isIPosition(position)) {\n        throw new Error(\"bad position\");\n      }\n      let { lineNumber, column } = position;\n      let hasChanged = false;\n      if (lineNumber < 1) {\n        lineNumber = 1;\n        column = 1;\n        hasChanged = true;\n      } else if (lineNumber > this._lines.length) {\n        lineNumber = this._lines.length;\n        column = this._lines[lineNumber - 1].length + 1;\n        hasChanged = true;\n      } else {\n        const maxCharacter = this._lines[lineNumber - 1].length + 1;\n        if (column < 1) {\n          column = 1;\n          hasChanged = true;\n        } else if (column > maxCharacter) {\n          column = maxCharacter;\n          hasChanged = true;\n        }\n      }\n      if (!hasChanged) {\n        return position;\n      } else {\n        return { lineNumber, column };\n      }\n    }\n  };\n  var EditorSimpleWorker = class _EditorSimpleWorker {\n    constructor(host, foreignModuleFactory) {\n      this._host = host;\n      this._models = /* @__PURE__ */ Object.create(null);\n      this._foreignModuleFactory = foreignModuleFactory;\n      this._foreignModule = null;\n    }\n    dispose() {\n      this._models = /* @__PURE__ */ Object.create(null);\n    }\n    _getModel(uri) {\n      return this._models[uri];\n    }\n    _getModels() {\n      const all = [];\n      Object.keys(this._models).forEach((key) => all.push(this._models[key]));\n      return all;\n    }\n    acceptNewModel(data) {\n      this._models[data.url] = new MirrorModel(URI.parse(data.url), data.lines, data.EOL, data.versionId);\n    }\n    acceptModelChanged(strURL, e) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      const model = this._models[strURL];\n      model.onEvents(e);\n    }\n    acceptRemovedModel(strURL) {\n      if (!this._models[strURL]) {\n        return;\n      }\n      delete this._models[strURL];\n    }\n    async computeUnicodeHighlights(url, options, range) {\n      const model = this._getModel(url);\n      if (!model) {\n        return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 };\n      }\n      return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range);\n    }\n    async findSectionHeaders(url, options) {\n      const model = this._getModel(url);\n      if (!model) {\n        return [];\n      }\n      return findSectionHeaders(model, options);\n    }\n    // ---- BEGIN diff --------------------------------------------------------------------------\n    async computeDiff(originalUrl, modifiedUrl, options, algorithm) {\n      const original = this._getModel(originalUrl);\n      const modified = this._getModel(modifiedUrl);\n      if (!original || !modified) {\n        return null;\n      }\n      const result = _EditorSimpleWorker.computeDiff(original, modified, options, algorithm);\n      return result;\n    }\n    static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) {\n      const diffAlgorithm = algorithm === \"advanced\" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy();\n      const originalLines = originalTextModel.getLinesContent();\n      const modifiedLines = modifiedTextModel.getLinesContent();\n      const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options);\n      const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel);\n      function getLineChanges(changes) {\n        return changes.map((m) => {\n          var _a4;\n          return [m.original.startLineNumber, m.original.endLineNumberExclusive, m.modified.startLineNumber, m.modified.endLineNumberExclusive, (_a4 = m.innerChanges) === null || _a4 === void 0 ? void 0 : _a4.map((m2) => [\n            m2.originalRange.startLineNumber,\n            m2.originalRange.startColumn,\n            m2.originalRange.endLineNumber,\n            m2.originalRange.endColumn,\n            m2.modifiedRange.startLineNumber,\n            m2.modifiedRange.startColumn,\n            m2.modifiedRange.endLineNumber,\n            m2.modifiedRange.endColumn\n          ])];\n        });\n      }\n      return {\n        identical,\n        quitEarly: result.hitTimeout,\n        changes: getLineChanges(result.changes),\n        moves: result.moves.map((m) => [\n          m.lineRangeMapping.original.startLineNumber,\n          m.lineRangeMapping.original.endLineNumberExclusive,\n          m.lineRangeMapping.modified.startLineNumber,\n          m.lineRangeMapping.modified.endLineNumberExclusive,\n          getLineChanges(m.changes)\n        ])\n      };\n    }\n    static _modelsAreIdentical(original, modified) {\n      const originalLineCount = original.getLineCount();\n      const modifiedLineCount = modified.getLineCount();\n      if (originalLineCount !== modifiedLineCount) {\n        return false;\n      }\n      for (let line = 1; line <= originalLineCount; line++) {\n        const originalLine = original.getLineContent(line);\n        const modifiedLine = modified.getLineContent(line);\n        if (originalLine !== modifiedLine) {\n          return false;\n        }\n      }\n      return true;\n    }\n    async computeMoreMinimalEdits(modelUrl, edits, pretty) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return edits;\n      }\n      const result = [];\n      let lastEol = void 0;\n      edits = edits.slice(0).sort((a, b) => {\n        if (a.range && b.range) {\n          return Range.compareRangesUsingStarts(a.range, b.range);\n        }\n        const aRng = a.range ? 0 : 1;\n        const bRng = b.range ? 0 : 1;\n        return aRng - bRng;\n      });\n      let writeIndex = 0;\n      for (let readIndex = 1; readIndex < edits.length; readIndex++) {\n        if (Range.getEndPosition(edits[writeIndex].range).equals(Range.getStartPosition(edits[readIndex].range))) {\n          edits[writeIndex].range = Range.fromPositions(Range.getStartPosition(edits[writeIndex].range), Range.getEndPosition(edits[readIndex].range));\n          edits[writeIndex].text += edits[readIndex].text;\n        } else {\n          writeIndex++;\n          edits[writeIndex] = edits[readIndex];\n        }\n      }\n      edits.length = writeIndex + 1;\n      for (let { range, text, eol } of edits) {\n        if (typeof eol === \"number\") {\n          lastEol = eol;\n        }\n        if (Range.isEmpty(range) && !text) {\n          continue;\n        }\n        const original = model.getValueInRange(range);\n        text = text.replace(/\\r\\n|\\n|\\r/g, model.eol);\n        if (original === text) {\n          continue;\n        }\n        if (Math.max(text.length, original.length) > _EditorSimpleWorker._diffLimit) {\n          result.push({ range, text });\n          continue;\n        }\n        const changes = stringDiff(original, text, pretty);\n        const editOffset = model.offsetAt(Range.lift(range).getStartPosition());\n        for (const change of changes) {\n          const start = model.positionAt(editOffset + change.originalStart);\n          const end = model.positionAt(editOffset + change.originalStart + change.originalLength);\n          const newEdit = {\n            text: text.substr(change.modifiedStart, change.modifiedLength),\n            range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column }\n          };\n          if (model.getValueInRange(newEdit.range) !== newEdit.text) {\n            result.push(newEdit);\n          }\n        }\n      }\n      if (typeof lastEol === \"number\") {\n        result.push({ eol: lastEol, text: \"\", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } });\n      }\n      return result;\n    }\n    // ---- END minimal edits ---------------------------------------------------------------\n    async computeLinks(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeLinks(model);\n    }\n    // --- BEGIN default document colors -----------------------------------------------------------\n    async computeDefaultDocumentColors(modelUrl) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      return computeDefaultDocumentColors(model);\n    }\n    async textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) {\n      const sw = new StopWatch();\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const seen = /* @__PURE__ */ new Set();\n      outer: for (const url of modelUrls) {\n        const model = this._getModel(url);\n        if (!model) {\n          continue;\n        }\n        for (const word of model.words(wordDefRegExp)) {\n          if (word === leadingWord || !isNaN(Number(word))) {\n            continue;\n          }\n          seen.add(word);\n          if (seen.size > _EditorSimpleWorker._suggestionsLimit) {\n            break outer;\n          }\n        }\n      }\n      return { words: Array.from(seen), duration: sw.elapsed() };\n    }\n    // ---- END suggest --------------------------------------------------------------------------\n    //#region -- word ranges --\n    async computeWordRanges(modelUrl, range, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return /* @__PURE__ */ Object.create(null);\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      const result = /* @__PURE__ */ Object.create(null);\n      for (let line = range.startLineNumber; line < range.endLineNumber; line++) {\n        const words = model.getLineWords(line, wordDefRegExp);\n        for (const word of words) {\n          if (!isNaN(Number(word.word))) {\n            continue;\n          }\n          let array = result[word.word];\n          if (!array) {\n            array = [];\n            result[word.word] = array;\n          }\n          array.push({\n            startLineNumber: line,\n            startColumn: word.startColumn,\n            endLineNumber: line,\n            endColumn: word.endColumn\n          });\n        }\n      }\n      return result;\n    }\n    //#endregion\n    async navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) {\n      const model = this._getModel(modelUrl);\n      if (!model) {\n        return null;\n      }\n      const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\n      if (range.startColumn === range.endColumn) {\n        range = {\n          startLineNumber: range.startLineNumber,\n          startColumn: range.startColumn,\n          endLineNumber: range.endLineNumber,\n          endColumn: range.endColumn + 1\n        };\n      }\n      const selectionText = model.getValueInRange(range);\n      const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp);\n      if (!wordRange) {\n        return null;\n      }\n      const word = model.getValueInRange(wordRange);\n      const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up);\n      return result;\n    }\n    // ---- BEGIN foreign module support --------------------------------------------------------------------------\n    loadForeignModule(moduleId, createData, foreignHostMethods) {\n      const proxyMethodRequest = (method, args) => {\n        return this._host.fhr(method, args);\n      };\n      const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest);\n      const ctx = {\n        host: foreignHost,\n        getMirrorModels: () => {\n          return this._getModels();\n        }\n      };\n      if (this._foreignModuleFactory) {\n        this._foreignModule = this._foreignModuleFactory(ctx, createData);\n        return Promise.resolve(getAllMethodNames(this._foreignModule));\n      }\n      return Promise.reject(new Error(`Unexpected usage`));\n    }\n    // foreign method request\n    fmr(method, args) {\n      if (!this._foreignModule || typeof this._foreignModule[method] !== \"function\") {\n        return Promise.reject(new Error(\"Missing requestHandler or method: \" + method));\n      }\n      try {\n        return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args));\n      } catch (e) {\n        return Promise.reject(e);\n      }\n    }\n  };\n  EditorSimpleWorker._diffLimit = 1e5;\n  EditorSimpleWorker._suggestionsLimit = 1e4;\n  if (typeof importScripts === \"function\") {\n    globalThis.monaco = createMonacoBaseAPI();\n  }\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/editor/editor.worker.js\n  var initialized = false;\n  function initialize(foreignModule) {\n    if (initialized) {\n      return;\n    }\n    initialized = true;\n    const simpleWorker = new SimpleWorkerServer((msg) => {\n      globalThis.postMessage(msg);\n    }, (host) => new EditorSimpleWorker(host, foreignModule));\n    globalThis.onmessage = (e) => {\n      simpleWorker.onmessage(e.data);\n    };\n  }\n  globalThis.onmessage = (e) => {\n    if (!initialized) {\n      initialize(null);\n    }\n  };\n\n  // node_modules/.pnpm/monaco-editor@0.49.0/node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js\n  var __defProp = Object.defineProperty;\n  var __export = (target, all) => {\n    for (var name in all)\n      __defProp(target, name, { get: all[name], enumerable: true });\n  };\n  var typescriptServices_exports = {};\n  __export(typescriptServices_exports, {\n    EndOfLineState: () => EndOfLineState,\n    IndentStyle: () => IndentStyle,\n    ScriptKind: () => ScriptKind,\n    ScriptTarget: () => ScriptTarget,\n    TokenClass: () => TokenClass,\n    createClassifier: () => createClassifier,\n    createLanguageService: () => createLanguageService,\n    displayPartsToString: () => displayPartsToString,\n    flattenDiagnosticMessageText: () => flattenDiagnosticMessageText,\n    typescript: () => typescript\n  });\n  var require2 = void 0;\n  var module = { exports: {} };\n  var ts = (() => {\n    var __defProp2 = Object.defineProperty;\n    var __getOwnPropNames = Object.getOwnPropertyNames;\n    var __esm = (fn, res) => function __init() {\n      return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n    };\n    var __commonJS = (cb, mod) => function __require() {\n      return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n    };\n    var __export2 = (target, all) => {\n      for (var name in all)\n        __defProp2(target, name, { get: all[name], enumerable: true });\n    };\n    var versionMajorMinor, version, Comparison;\n    var init_corePublic = __esm({\n      \"src/compiler/corePublic.ts\"() {\n        \"use strict\";\n        versionMajorMinor = \"5.0\";\n        version = \"5.0.2\";\n        Comparison = /* @__PURE__ */ ((Comparison3) => {\n          Comparison3[Comparison3[\"LessThan\"] = -1] = \"LessThan\";\n          Comparison3[Comparison3[\"EqualTo\"] = 0] = \"EqualTo\";\n          Comparison3[Comparison3[\"GreaterThan\"] = 1] = \"GreaterThan\";\n          return Comparison3;\n        })(Comparison || {});\n      }\n    });\n    function length(array) {\n      return array ? array.length : 0;\n    }\n    function forEach(array, callback) {\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const result = callback(array[i], i);\n          if (result) {\n            return result;\n          }\n        }\n      }\n      return void 0;\n    }\n    function forEachRight(array, callback) {\n      if (array) {\n        for (let i = array.length - 1; i >= 0; i--) {\n          const result = callback(array[i], i);\n          if (result) {\n            return result;\n          }\n        }\n      }\n      return void 0;\n    }\n    function firstDefined(array, callback) {\n      if (array === void 0) {\n        return void 0;\n      }\n      for (let i = 0; i < array.length; i++) {\n        const result = callback(array[i], i);\n        if (result !== void 0) {\n          return result;\n        }\n      }\n      return void 0;\n    }\n    function firstDefinedIterator(iter, callback) {\n      for (const value of iter) {\n        const result = callback(value);\n        if (result !== void 0) {\n          return result;\n        }\n      }\n      return void 0;\n    }\n    function reduceLeftIterator(iterator, f, initial) {\n      let result = initial;\n      if (iterator) {\n        let pos = 0;\n        for (const value of iterator) {\n          result = f(result, value, pos);\n          pos++;\n        }\n      }\n      return result;\n    }\n    function zipWith(arrayA, arrayB, callback) {\n      const result = [];\n      Debug2.assertEqual(arrayA.length, arrayB.length);\n      for (let i = 0; i < arrayA.length; i++) {\n        result.push(callback(arrayA[i], arrayB[i], i));\n      }\n      return result;\n    }\n    function intersperse(input, element) {\n      if (input.length <= 1) {\n        return input;\n      }\n      const result = [];\n      for (let i = 0, n = input.length; i < n; i++) {\n        if (i)\n          result.push(element);\n        result.push(input[i]);\n      }\n      return result;\n    }\n    function every(array, callback) {\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          if (!callback(array[i], i)) {\n            return false;\n          }\n        }\n      }\n      return true;\n    }\n    function find(array, predicate, startIndex) {\n      if (array === void 0)\n        return void 0;\n      for (let i = startIndex != null ? startIndex : 0; i < array.length; i++) {\n        const value = array[i];\n        if (predicate(value, i)) {\n          return value;\n        }\n      }\n      return void 0;\n    }\n    function findLast(array, predicate, startIndex) {\n      if (array === void 0)\n        return void 0;\n      for (let i = startIndex != null ? startIndex : array.length - 1; i >= 0; i--) {\n        const value = array[i];\n        if (predicate(value, i)) {\n          return value;\n        }\n      }\n      return void 0;\n    }\n    function findIndex(array, predicate, startIndex) {\n      if (array === void 0)\n        return -1;\n      for (let i = startIndex != null ? startIndex : 0; i < array.length; i++) {\n        if (predicate(array[i], i)) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function findLastIndex(array, predicate, startIndex) {\n      if (array === void 0)\n        return -1;\n      for (let i = startIndex != null ? startIndex : array.length - 1; i >= 0; i--) {\n        if (predicate(array[i], i)) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function findMap(array, callback) {\n      for (let i = 0; i < array.length; i++) {\n        const result = callback(array[i], i);\n        if (result) {\n          return result;\n        }\n      }\n      return Debug2.fail();\n    }\n    function contains(array, value, equalityComparer = equateValues) {\n      if (array) {\n        for (const v of array) {\n          if (equalityComparer(v, value)) {\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n    function arraysEqual(a, b, equalityComparer = equateValues) {\n      return a.length === b.length && a.every((x, i) => equalityComparer(x, b[i]));\n    }\n    function indexOfAnyCharCode(text, charCodes, start) {\n      for (let i = start || 0; i < text.length; i++) {\n        if (contains(charCodes, text.charCodeAt(i))) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function countWhere2(array, predicate) {\n      let count = 0;\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const v = array[i];\n          if (predicate(v, i)) {\n            count++;\n          }\n        }\n      }\n      return count;\n    }\n    function filter(array, f) {\n      if (array) {\n        const len = array.length;\n        let i = 0;\n        while (i < len && f(array[i]))\n          i++;\n        if (i < len) {\n          const result = array.slice(0, i);\n          i++;\n          while (i < len) {\n            const item = array[i];\n            if (f(item)) {\n              result.push(item);\n            }\n            i++;\n          }\n          return result;\n        }\n      }\n      return array;\n    }\n    function filterMutate(array, f) {\n      let outIndex = 0;\n      for (let i = 0; i < array.length; i++) {\n        if (f(array[i], i, array)) {\n          array[outIndex] = array[i];\n          outIndex++;\n        }\n      }\n      array.length = outIndex;\n    }\n    function clear(array) {\n      array.length = 0;\n    }\n    function map(array, f) {\n      let result;\n      if (array) {\n        result = [];\n        for (let i = 0; i < array.length; i++) {\n          result.push(f(array[i], i));\n        }\n      }\n      return result;\n    }\n    function* mapIterator(iter, mapFn) {\n      for (const x of iter) {\n        yield mapFn(x);\n      }\n    }\n    function sameMap(array, f) {\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const item = array[i];\n          const mapped = f(item, i);\n          if (item !== mapped) {\n            const result = array.slice(0, i);\n            result.push(mapped);\n            for (i++; i < array.length; i++) {\n              result.push(f(array[i], i));\n            }\n            return result;\n          }\n        }\n      }\n      return array;\n    }\n    function flatten(array) {\n      const result = [];\n      for (const v of array) {\n        if (v) {\n          if (isArray(v)) {\n            addRange(result, v);\n          } else {\n            result.push(v);\n          }\n        }\n      }\n      return result;\n    }\n    function flatMap(array, mapfn) {\n      let result;\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const v = mapfn(array[i], i);\n          if (v) {\n            if (isArray(v)) {\n              result = addRange(result, v);\n            } else {\n              result = append(result, v);\n            }\n          }\n        }\n      }\n      return result || emptyArray;\n    }\n    function flatMapToMutable(array, mapfn) {\n      const result = [];\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const v = mapfn(array[i], i);\n          if (v) {\n            if (isArray(v)) {\n              addRange(result, v);\n            } else {\n              result.push(v);\n            }\n          }\n        }\n      }\n      return result;\n    }\n    function* flatMapIterator(iter, mapfn) {\n      for (const x of iter) {\n        const iter2 = mapfn(x);\n        if (!iter2)\n          continue;\n        yield* iter2;\n      }\n    }\n    function sameFlatMap(array, mapfn) {\n      let result;\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const item = array[i];\n          const mapped = mapfn(item, i);\n          if (result || item !== mapped || isArray(mapped)) {\n            if (!result) {\n              result = array.slice(0, i);\n            }\n            if (isArray(mapped)) {\n              addRange(result, mapped);\n            } else {\n              result.push(mapped);\n            }\n          }\n        }\n      }\n      return result || array;\n    }\n    function mapAllOrFail(array, mapFn) {\n      const result = [];\n      for (let i = 0; i < array.length; i++) {\n        const mapped = mapFn(array[i], i);\n        if (mapped === void 0) {\n          return void 0;\n        }\n        result.push(mapped);\n      }\n      return result;\n    }\n    function mapDefined(array, mapFn) {\n      const result = [];\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const mapped = mapFn(array[i], i);\n          if (mapped !== void 0) {\n            result.push(mapped);\n          }\n        }\n      }\n      return result;\n    }\n    function* mapDefinedIterator(iter, mapFn) {\n      for (const x of iter) {\n        const value = mapFn(x);\n        if (value !== void 0) {\n          yield value;\n        }\n      }\n    }\n    function mapDefinedEntries(map2, f) {\n      if (!map2) {\n        return void 0;\n      }\n      const result = /* @__PURE__ */ new Map();\n      map2.forEach((value, key) => {\n        const entry = f(key, value);\n        if (entry !== void 0) {\n          const [newKey, newValue] = entry;\n          if (newKey !== void 0 && newValue !== void 0) {\n            result.set(newKey, newValue);\n          }\n        }\n      });\n      return result;\n    }\n    function getOrUpdate(map2, key, callback) {\n      if (map2.has(key)) {\n        return map2.get(key);\n      }\n      const value = callback();\n      map2.set(key, value);\n      return value;\n    }\n    function tryAddToSet(set, value) {\n      if (!set.has(value)) {\n        set.add(value);\n        return true;\n      }\n      return false;\n    }\n    function* singleIterator(value) {\n      yield value;\n    }\n    function spanMap(array, keyfn, mapfn) {\n      let result;\n      if (array) {\n        result = [];\n        const len = array.length;\n        let previousKey;\n        let key;\n        let start = 0;\n        let pos = 0;\n        while (start < len) {\n          while (pos < len) {\n            const value = array[pos];\n            key = keyfn(value, pos);\n            if (pos === 0) {\n              previousKey = key;\n            } else if (key !== previousKey) {\n              break;\n            }\n            pos++;\n          }\n          if (start < pos) {\n            const v = mapfn(array.slice(start, pos), previousKey, start, pos);\n            if (v) {\n              result.push(v);\n            }\n            start = pos;\n          }\n          previousKey = key;\n          pos++;\n        }\n      }\n      return result;\n    }\n    function mapEntries(map2, f) {\n      if (!map2) {\n        return void 0;\n      }\n      const result = /* @__PURE__ */ new Map();\n      map2.forEach((value, key) => {\n        const [newKey, newValue] = f(key, value);\n        result.set(newKey, newValue);\n      });\n      return result;\n    }\n    function some(array, predicate) {\n      if (array) {\n        if (predicate) {\n          for (const v of array) {\n            if (predicate(v)) {\n              return true;\n            }\n          }\n        } else {\n          return array.length > 0;\n        }\n      }\n      return false;\n    }\n    function getRangesWhere(arr, pred, cb) {\n      let start;\n      for (let i = 0; i < arr.length; i++) {\n        if (pred(arr[i])) {\n          start = start === void 0 ? i : start;\n        } else {\n          if (start !== void 0) {\n            cb(start, i);\n            start = void 0;\n          }\n        }\n      }\n      if (start !== void 0)\n        cb(start, arr.length);\n    }\n    function concatenate(array1, array2) {\n      if (!some(array2))\n        return array1;\n      if (!some(array1))\n        return array2;\n      return [...array1, ...array2];\n    }\n    function selectIndex(_, i) {\n      return i;\n    }\n    function indicesOf(array) {\n      return array.map(selectIndex);\n    }\n    function deduplicateRelational(array, equalityComparer, comparer) {\n      const indices = indicesOf(array);\n      stableSortIndices(array, indices, comparer);\n      let last2 = array[indices[0]];\n      const deduplicated = [indices[0]];\n      for (let i = 1; i < indices.length; i++) {\n        const index = indices[i];\n        const item = array[index];\n        if (!equalityComparer(last2, item)) {\n          deduplicated.push(index);\n          last2 = item;\n        }\n      }\n      deduplicated.sort();\n      return deduplicated.map((i) => array[i]);\n    }\n    function deduplicateEquality(array, equalityComparer) {\n      const result = [];\n      for (const item of array) {\n        pushIfUnique(result, item, equalityComparer);\n      }\n      return result;\n    }\n    function deduplicate(array, equalityComparer, comparer) {\n      return array.length === 0 ? [] : array.length === 1 ? array.slice() : comparer ? deduplicateRelational(array, equalityComparer, comparer) : deduplicateEquality(array, equalityComparer);\n    }\n    function deduplicateSorted(array, comparer) {\n      if (array.length === 0)\n        return emptyArray;\n      let last2 = array[0];\n      const deduplicated = [last2];\n      for (let i = 1; i < array.length; i++) {\n        const next = array[i];\n        switch (comparer(next, last2)) {\n          case true:\n          case 0:\n            continue;\n          case -1:\n            return Debug2.fail(\"Array is unsorted.\");\n        }\n        deduplicated.push(last2 = next);\n      }\n      return deduplicated;\n    }\n    function createSortedArray() {\n      return [];\n    }\n    function insertSorted(array, insert, compare, allowDuplicates) {\n      if (array.length === 0) {\n        array.push(insert);\n        return true;\n      }\n      const insertIndex = binarySearch(array, insert, identity2, compare);\n      if (insertIndex < 0) {\n        array.splice(~insertIndex, 0, insert);\n        return true;\n      }\n      if (allowDuplicates) {\n        array.splice(insertIndex, 0, insert);\n        return true;\n      }\n      return false;\n    }\n    function sortAndDeduplicate(array, comparer, equalityComparer) {\n      return deduplicateSorted(sort(array, comparer), equalityComparer || comparer || compareStringsCaseSensitive);\n    }\n    function arrayIsSorted(array, comparer) {\n      if (array.length < 2)\n        return true;\n      for (let i = 1, len = array.length; i < len; i++) {\n        if (comparer(array[i - 1], array[i]) === 1) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function detectSortCaseSensitivity(array, getString, compareStringsCaseSensitive2, compareStringsCaseInsensitive2) {\n      let kind = 3;\n      if (array.length < 2)\n        return kind;\n      let prevElement = getString(array[0]);\n      for (let i = 1, len = array.length; i < len && kind !== 0; i++) {\n        const element = getString(array[i]);\n        if (kind & 1 && compareStringsCaseSensitive2(prevElement, element) > 0) {\n          kind &= ~1;\n        }\n        if (kind & 2 && compareStringsCaseInsensitive2(prevElement, element) > 0) {\n          kind &= ~2;\n        }\n        prevElement = element;\n      }\n      return kind;\n    }\n    function arrayIsEqualTo(array1, array2, equalityComparer = equateValues) {\n      if (!array1 || !array2) {\n        return array1 === array2;\n      }\n      if (array1.length !== array2.length) {\n        return false;\n      }\n      for (let i = 0; i < array1.length; i++) {\n        if (!equalityComparer(array1[i], array2[i], i)) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function compact(array) {\n      let result;\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          const v = array[i];\n          if (result || !v) {\n            if (!result) {\n              result = array.slice(0, i);\n            }\n            if (v) {\n              result.push(v);\n            }\n          }\n        }\n      }\n      return result || array;\n    }\n    function relativeComplement(arrayA, arrayB, comparer) {\n      if (!arrayB || !arrayA || arrayB.length === 0 || arrayA.length === 0)\n        return arrayB;\n      const result = [];\n      loopB:\n        for (let offsetA = 0, offsetB = 0; offsetB < arrayB.length; offsetB++) {\n          if (offsetB > 0) {\n            Debug2.assertGreaterThanOrEqual(\n              comparer(arrayB[offsetB], arrayB[offsetB - 1]),\n              0\n              /* EqualTo */\n            );\n          }\n          loopA:\n            for (const startA = offsetA; offsetA < arrayA.length; offsetA++) {\n              if (offsetA > startA) {\n                Debug2.assertGreaterThanOrEqual(\n                  comparer(arrayA[offsetA], arrayA[offsetA - 1]),\n                  0\n                  /* EqualTo */\n                );\n              }\n              switch (comparer(arrayB[offsetB], arrayA[offsetA])) {\n                case -1:\n                  result.push(arrayB[offsetB]);\n                  continue loopB;\n                case 0:\n                  continue loopB;\n                case 1:\n                  continue loopA;\n              }\n            }\n        }\n      return result;\n    }\n    function append(to, value) {\n      if (value === void 0)\n        return to;\n      if (to === void 0)\n        return [value];\n      to.push(value);\n      return to;\n    }\n    function combine(xs, ys) {\n      if (xs === void 0)\n        return ys;\n      if (ys === void 0)\n        return xs;\n      if (isArray(xs))\n        return isArray(ys) ? concatenate(xs, ys) : append(xs, ys);\n      if (isArray(ys))\n        return append(ys, xs);\n      return [xs, ys];\n    }\n    function toOffset(array, offset) {\n      return offset < 0 ? array.length + offset : offset;\n    }\n    function addRange(to, from, start, end) {\n      if (from === void 0 || from.length === 0)\n        return to;\n      if (to === void 0)\n        return from.slice(start, end);\n      start = start === void 0 ? 0 : toOffset(from, start);\n      end = end === void 0 ? from.length : toOffset(from, end);\n      for (let i = start; i < end && i < from.length; i++) {\n        if (from[i] !== void 0) {\n          to.push(from[i]);\n        }\n      }\n      return to;\n    }\n    function pushIfUnique(array, toAdd, equalityComparer) {\n      if (contains(array, toAdd, equalityComparer)) {\n        return false;\n      } else {\n        array.push(toAdd);\n        return true;\n      }\n    }\n    function appendIfUnique(array, toAdd, equalityComparer) {\n      if (array) {\n        pushIfUnique(array, toAdd, equalityComparer);\n        return array;\n      } else {\n        return [toAdd];\n      }\n    }\n    function stableSortIndices(array, indices, comparer) {\n      indices.sort((x, y) => comparer(array[x], array[y]) || compareValues(x, y));\n    }\n    function sort(array, comparer) {\n      return array.length === 0 ? array : array.slice().sort(comparer);\n    }\n    function* arrayReverseIterator(array) {\n      for (let i = array.length - 1; i >= 0; i--) {\n        yield array[i];\n      }\n    }\n    function stableSort(array, comparer) {\n      const indices = indicesOf(array);\n      stableSortIndices(array, indices, comparer);\n      return indices.map((i) => array[i]);\n    }\n    function rangeEquals(array1, array2, pos, end) {\n      while (pos < end) {\n        if (array1[pos] !== array2[pos]) {\n          return false;\n        }\n        pos++;\n      }\n      return true;\n    }\n    function firstOrUndefined(array) {\n      return array === void 0 || array.length === 0 ? void 0 : array[0];\n    }\n    function firstOrUndefinedIterator(iter) {\n      if (iter) {\n        for (const value of iter) {\n          return value;\n        }\n      }\n      return void 0;\n    }\n    function first(array) {\n      Debug2.assert(array.length !== 0);\n      return array[0];\n    }\n    function firstIterator(iter) {\n      for (const value of iter) {\n        return value;\n      }\n      Debug2.fail(\"iterator is empty\");\n    }\n    function lastOrUndefined(array) {\n      return array === void 0 || array.length === 0 ? void 0 : array[array.length - 1];\n    }\n    function last(array) {\n      Debug2.assert(array.length !== 0);\n      return array[array.length - 1];\n    }\n    function singleOrUndefined(array) {\n      return array && array.length === 1 ? array[0] : void 0;\n    }\n    function single(array) {\n      return Debug2.checkDefined(singleOrUndefined(array));\n    }\n    function singleOrMany(array) {\n      return array && array.length === 1 ? array[0] : array;\n    }\n    function replaceElement(array, index, value) {\n      const result = array.slice(0);\n      result[index] = value;\n      return result;\n    }\n    function binarySearch(array, value, keySelector, keyComparer, offset) {\n      return binarySearchKey(array, keySelector(value), keySelector, keyComparer, offset);\n    }\n    function binarySearchKey(array, key, keySelector, keyComparer, offset) {\n      if (!some(array)) {\n        return -1;\n      }\n      let low = offset || 0;\n      let high = array.length - 1;\n      while (low <= high) {\n        const middle = low + (high - low >> 1);\n        const midKey = keySelector(array[middle], middle);\n        switch (keyComparer(midKey, key)) {\n          case -1:\n            low = middle + 1;\n            break;\n          case 0:\n            return middle;\n          case 1:\n            high = middle - 1;\n            break;\n        }\n      }\n      return ~low;\n    }\n    function reduceLeft(array, f, initial, start, count) {\n      if (array && array.length > 0) {\n        const size = array.length;\n        if (size > 0) {\n          let pos = start === void 0 || start < 0 ? 0 : start;\n          const end = count === void 0 || pos + count > size - 1 ? size - 1 : pos + count;\n          let result;\n          if (arguments.length <= 2) {\n            result = array[pos];\n            pos++;\n          } else {\n            result = initial;\n          }\n          while (pos <= end) {\n            result = f(result, array[pos], pos);\n            pos++;\n          }\n          return result;\n        }\n      }\n      return initial;\n    }\n    function hasProperty(map2, key) {\n      return hasOwnProperty.call(map2, key);\n    }\n    function getProperty(map2, key) {\n      return hasOwnProperty.call(map2, key) ? map2[key] : void 0;\n    }\n    function getOwnKeys(map2) {\n      const keys = [];\n      for (const key in map2) {\n        if (hasOwnProperty.call(map2, key)) {\n          keys.push(key);\n        }\n      }\n      return keys;\n    }\n    function getAllKeys(obj) {\n      const result = [];\n      do {\n        const names = Object.getOwnPropertyNames(obj);\n        for (const name of names) {\n          pushIfUnique(result, name);\n        }\n      } while (obj = Object.getPrototypeOf(obj));\n      return result;\n    }\n    function getOwnValues(collection) {\n      const values = [];\n      for (const key in collection) {\n        if (hasOwnProperty.call(collection, key)) {\n          values.push(collection[key]);\n        }\n      }\n      return values;\n    }\n    function arrayOf(count, f) {\n      const result = new Array(count);\n      for (let i = 0; i < count; i++) {\n        result[i] = f(i);\n      }\n      return result;\n    }\n    function arrayFrom(iterator, map2) {\n      const result = [];\n      for (const value of iterator) {\n        result.push(map2 ? map2(value) : value);\n      }\n      return result;\n    }\n    function assign(t, ...args) {\n      for (const arg of args) {\n        if (arg === void 0)\n          continue;\n        for (const p in arg) {\n          if (hasProperty(arg, p)) {\n            t[p] = arg[p];\n          }\n        }\n      }\n      return t;\n    }\n    function equalOwnProperties(left, right, equalityComparer = equateValues) {\n      if (left === right)\n        return true;\n      if (!left || !right)\n        return false;\n      for (const key in left) {\n        if (hasOwnProperty.call(left, key)) {\n          if (!hasOwnProperty.call(right, key))\n            return false;\n          if (!equalityComparer(left[key], right[key]))\n            return false;\n        }\n      }\n      for (const key in right) {\n        if (hasOwnProperty.call(right, key)) {\n          if (!hasOwnProperty.call(left, key))\n            return false;\n        }\n      }\n      return true;\n    }\n    function arrayToMap(array, makeKey, makeValue = identity2) {\n      const result = /* @__PURE__ */ new Map();\n      for (const value of array) {\n        const key = makeKey(value);\n        if (key !== void 0)\n          result.set(key, makeValue(value));\n      }\n      return result;\n    }\n    function arrayToNumericMap(array, makeKey, makeValue = identity2) {\n      const result = [];\n      for (const value of array) {\n        result[makeKey(value)] = makeValue(value);\n      }\n      return result;\n    }\n    function arrayToMultiMap(values, makeKey, makeValue = identity2) {\n      const result = createMultiMap();\n      for (const value of values) {\n        result.add(makeKey(value), makeValue(value));\n      }\n      return result;\n    }\n    function group(values, getGroupId, resultSelector = identity2) {\n      return arrayFrom(arrayToMultiMap(values, getGroupId).values(), resultSelector);\n    }\n    function groupBy(values, keySelector) {\n      var _a22;\n      const result = {};\n      if (values) {\n        for (const value of values) {\n          const key = `${keySelector(value)}`;\n          const array = (_a22 = result[key]) != null ? _a22 : result[key] = [];\n          array.push(value);\n        }\n      }\n      return result;\n    }\n    function clone(object) {\n      const result = {};\n      for (const id in object) {\n        if (hasOwnProperty.call(object, id)) {\n          result[id] = object[id];\n        }\n      }\n      return result;\n    }\n    function extend(first2, second) {\n      const result = {};\n      for (const id in second) {\n        if (hasOwnProperty.call(second, id)) {\n          result[id] = second[id];\n        }\n      }\n      for (const id in first2) {\n        if (hasOwnProperty.call(first2, id)) {\n          result[id] = first2[id];\n        }\n      }\n      return result;\n    }\n    function copyProperties(first2, second) {\n      for (const id in second) {\n        if (hasOwnProperty.call(second, id)) {\n          first2[id] = second[id];\n        }\n      }\n    }\n    function maybeBind(obj, fn) {\n      return fn ? fn.bind(obj) : void 0;\n    }\n    function createMultiMap() {\n      const map2 = /* @__PURE__ */ new Map();\n      map2.add = multiMapAdd;\n      map2.remove = multiMapRemove;\n      return map2;\n    }\n    function multiMapAdd(key, value) {\n      let values = this.get(key);\n      if (values) {\n        values.push(value);\n      } else {\n        this.set(key, values = [value]);\n      }\n      return values;\n    }\n    function multiMapRemove(key, value) {\n      const values = this.get(key);\n      if (values) {\n        unorderedRemoveItem(values, value);\n        if (!values.length) {\n          this.delete(key);\n        }\n      }\n    }\n    function createUnderscoreEscapedMultiMap() {\n      return createMultiMap();\n    }\n    function createQueue(items) {\n      const elements = (items == null ? void 0 : items.slice()) || [];\n      let headIndex = 0;\n      function isEmpty() {\n        return headIndex === elements.length;\n      }\n      function enqueue(...items2) {\n        elements.push(...items2);\n      }\n      function dequeue() {\n        if (isEmpty()) {\n          throw new Error(\"Queue is empty\");\n        }\n        const result = elements[headIndex];\n        elements[headIndex] = void 0;\n        headIndex++;\n        if (headIndex > 100 && headIndex > elements.length >> 1) {\n          const newLength = elements.length - headIndex;\n          elements.copyWithin(\n            /*target*/\n            0,\n            /*start*/\n            headIndex\n          );\n          elements.length = newLength;\n          headIndex = 0;\n        }\n        return result;\n      }\n      return {\n        enqueue,\n        dequeue,\n        isEmpty\n      };\n    }\n    function createSet(getHashCode, equals3) {\n      const multiMap = /* @__PURE__ */ new Map();\n      let size = 0;\n      function* getElementIterator() {\n        for (const value of multiMap.values()) {\n          if (isArray(value)) {\n            yield* value;\n          } else {\n            yield value;\n          }\n        }\n      }\n      const set = {\n        has(element) {\n          const hash = getHashCode(element);\n          if (!multiMap.has(hash))\n            return false;\n          const candidates = multiMap.get(hash);\n          if (!isArray(candidates))\n            return equals3(candidates, element);\n          for (const candidate of candidates) {\n            if (equals3(candidate, element)) {\n              return true;\n            }\n          }\n          return false;\n        },\n        add(element) {\n          const hash = getHashCode(element);\n          if (multiMap.has(hash)) {\n            const values = multiMap.get(hash);\n            if (isArray(values)) {\n              if (!contains(values, element, equals3)) {\n                values.push(element);\n                size++;\n              }\n            } else {\n              const value = values;\n              if (!equals3(value, element)) {\n                multiMap.set(hash, [value, element]);\n                size++;\n              }\n            }\n          } else {\n            multiMap.set(hash, element);\n            size++;\n          }\n          return this;\n        },\n        delete(element) {\n          const hash = getHashCode(element);\n          if (!multiMap.has(hash))\n            return false;\n          const candidates = multiMap.get(hash);\n          if (isArray(candidates)) {\n            for (let i = 0; i < candidates.length; i++) {\n              if (equals3(candidates[i], element)) {\n                if (candidates.length === 1) {\n                  multiMap.delete(hash);\n                } else if (candidates.length === 2) {\n                  multiMap.set(hash, candidates[1 - i]);\n                } else {\n                  unorderedRemoveItemAt(candidates, i);\n                }\n                size--;\n                return true;\n              }\n            }\n          } else {\n            const candidate = candidates;\n            if (equals3(candidate, element)) {\n              multiMap.delete(hash);\n              size--;\n              return true;\n            }\n          }\n          return false;\n        },\n        clear() {\n          multiMap.clear();\n          size = 0;\n        },\n        get size() {\n          return size;\n        },\n        forEach(action) {\n          for (const elements of arrayFrom(multiMap.values())) {\n            if (isArray(elements)) {\n              for (const element of elements) {\n                action(element, element, set);\n              }\n            } else {\n              const element = elements;\n              action(element, element, set);\n            }\n          }\n        },\n        keys() {\n          return getElementIterator();\n        },\n        values() {\n          return getElementIterator();\n        },\n        *entries() {\n          for (const value of getElementIterator()) {\n            yield [value, value];\n          }\n        },\n        [Symbol.iterator]: () => {\n          return getElementIterator();\n        },\n        [Symbol.toStringTag]: multiMap[Symbol.toStringTag]\n      };\n      return set;\n    }\n    function isArray(value) {\n      return Array.isArray(value);\n    }\n    function toArray(value) {\n      return isArray(value) ? value : [value];\n    }\n    function isString2(text) {\n      return typeof text === \"string\";\n    }\n    function isNumber(x) {\n      return typeof x === \"number\";\n    }\n    function tryCast(value, test) {\n      return value !== void 0 && test(value) ? value : void 0;\n    }\n    function cast(value, test) {\n      if (value !== void 0 && test(value))\n        return value;\n      return Debug2.fail(`Invalid cast. The supplied value ${value} did not pass the test '${Debug2.getFunctionName(test)}'.`);\n    }\n    function noop(_) {\n    }\n    function returnFalse() {\n      return false;\n    }\n    function returnTrue() {\n      return true;\n    }\n    function returnUndefined() {\n      return void 0;\n    }\n    function identity2(x) {\n      return x;\n    }\n    function toLowerCase(x) {\n      return x.toLowerCase();\n    }\n    function toFileNameLowerCase(x) {\n      return fileNameLowerCaseRegExp.test(x) ? x.replace(fileNameLowerCaseRegExp, toLowerCase) : x;\n    }\n    function notImplemented() {\n      throw new Error(\"Not implemented\");\n    }\n    function memoize(callback) {\n      let value;\n      return () => {\n        if (callback) {\n          value = callback();\n          callback = void 0;\n        }\n        return value;\n      };\n    }\n    function memoizeOne(callback) {\n      const map2 = /* @__PURE__ */ new Map();\n      return (arg) => {\n        const key = `${typeof arg}:${arg}`;\n        let value = map2.get(key);\n        if (value === void 0 && !map2.has(key)) {\n          value = callback(arg);\n          map2.set(key, value);\n        }\n        return value;\n      };\n    }\n    function memoizeWeak(callback) {\n      const map2 = /* @__PURE__ */ new WeakMap();\n      return (arg) => {\n        let value = map2.get(arg);\n        if (value === void 0 && !map2.has(arg)) {\n          value = callback(arg);\n          map2.set(arg, value);\n        }\n        return value;\n      };\n    }\n    function memoizeCached(callback, cache) {\n      return (...args) => {\n        let value = cache.get(args);\n        if (value === void 0 && !cache.has(args)) {\n          value = callback(...args);\n          cache.set(args, value);\n        }\n        return value;\n      };\n    }\n    function compose(a, b, c, d, e) {\n      if (!!e) {\n        const args = [];\n        for (let i = 0; i < arguments.length; i++) {\n          args[i] = arguments[i];\n        }\n        return (t) => reduceLeft(args, (u, f) => f(u), t);\n      } else if (d) {\n        return (t) => d(c(b(a(t))));\n      } else if (c) {\n        return (t) => c(b(a(t)));\n      } else if (b) {\n        return (t) => b(a(t));\n      } else if (a) {\n        return (t) => a(t);\n      } else {\n        return (t) => t;\n      }\n    }\n    function equateValues(a, b) {\n      return a === b;\n    }\n    function equateStringsCaseInsensitive(a, b) {\n      return a === b || a !== void 0 && b !== void 0 && a.toUpperCase() === b.toUpperCase();\n    }\n    function equateStringsCaseSensitive(a, b) {\n      return equateValues(a, b);\n    }\n    function compareComparableValues(a, b) {\n      return a === b ? 0 : a === void 0 ? -1 : b === void 0 ? 1 : a < b ? -1 : 1;\n    }\n    function compareValues(a, b) {\n      return compareComparableValues(a, b);\n    }\n    function compareTextSpans(a, b) {\n      return compareValues(a == null ? void 0 : a.start, b == null ? void 0 : b.start) || compareValues(a == null ? void 0 : a.length, b == null ? void 0 : b.length);\n    }\n    function min(items, compare) {\n      return reduceLeft(items, (x, y) => compare(x, y) === -1 ? x : y);\n    }\n    function compareStringsCaseInsensitive(a, b) {\n      if (a === b)\n        return 0;\n      if (a === void 0)\n        return -1;\n      if (b === void 0)\n        return 1;\n      a = a.toUpperCase();\n      b = b.toUpperCase();\n      return a < b ? -1 : a > b ? 1 : 0;\n    }\n    function compareStringsCaseInsensitiveEslintCompatible(a, b) {\n      if (a === b)\n        return 0;\n      if (a === void 0)\n        return -1;\n      if (b === void 0)\n        return 1;\n      a = a.toLowerCase();\n      b = b.toLowerCase();\n      return a < b ? -1 : a > b ? 1 : 0;\n    }\n    function compareStringsCaseSensitive(a, b) {\n      return compareComparableValues(a, b);\n    }\n    function getStringComparer(ignoreCase) {\n      return ignoreCase ? compareStringsCaseInsensitive : compareStringsCaseSensitive;\n    }\n    function getUILocale() {\n      return uiLocale;\n    }\n    function setUILocale(value) {\n      if (uiLocale !== value) {\n        uiLocale = value;\n        uiComparerCaseSensitive = void 0;\n      }\n    }\n    function compareStringsCaseSensitiveUI(a, b) {\n      const comparer = uiComparerCaseSensitive || (uiComparerCaseSensitive = createUIStringComparer(uiLocale));\n      return comparer(a, b);\n    }\n    function compareProperties(a, b, key, comparer) {\n      return a === b ? 0 : a === void 0 ? -1 : b === void 0 ? 1 : comparer(a[key], b[key]);\n    }\n    function compareBooleans(a, b) {\n      return compareValues(a ? 1 : 0, b ? 1 : 0);\n    }\n    function getSpellingSuggestion(name, candidates, getName) {\n      const maximumLengthDifference = Math.max(2, Math.floor(name.length * 0.34));\n      let bestDistance = Math.floor(name.length * 0.4) + 1;\n      let bestCandidate;\n      for (const candidate of candidates) {\n        const candidateName = getName(candidate);\n        if (candidateName !== void 0 && Math.abs(candidateName.length - name.length) <= maximumLengthDifference) {\n          if (candidateName === name) {\n            continue;\n          }\n          if (candidateName.length < 3 && candidateName.toLowerCase() !== name.toLowerCase()) {\n            continue;\n          }\n          const distance = levenshteinWithMax(name, candidateName, bestDistance - 0.1);\n          if (distance === void 0) {\n            continue;\n          }\n          Debug2.assert(distance < bestDistance);\n          bestDistance = distance;\n          bestCandidate = candidate;\n        }\n      }\n      return bestCandidate;\n    }\n    function levenshteinWithMax(s1, s2, max) {\n      let previous = new Array(s2.length + 1);\n      let current = new Array(s2.length + 1);\n      const big = max + 0.01;\n      for (let i = 0; i <= s2.length; i++) {\n        previous[i] = i;\n      }\n      for (let i = 1; i <= s1.length; i++) {\n        const c1 = s1.charCodeAt(i - 1);\n        const minJ = Math.ceil(i > max ? i - max : 1);\n        const maxJ = Math.floor(s2.length > max + i ? max + i : s2.length);\n        current[0] = i;\n        let colMin = i;\n        for (let j = 1; j < minJ; j++) {\n          current[j] = big;\n        }\n        for (let j = minJ; j <= maxJ; j++) {\n          const substitutionDistance = s1[i - 1].toLowerCase() === s2[j - 1].toLowerCase() ? previous[j - 1] + 0.1 : previous[j - 1] + 2;\n          const dist = c1 === s2.charCodeAt(j - 1) ? previous[j - 1] : Math.min(\n            /*delete*/\n            previous[j] + 1,\n            /*insert*/\n            current[j - 1] + 1,\n            /*substitute*/\n            substitutionDistance\n          );\n          current[j] = dist;\n          colMin = Math.min(colMin, dist);\n        }\n        for (let j = maxJ + 1; j <= s2.length; j++) {\n          current[j] = big;\n        }\n        if (colMin > max) {\n          return void 0;\n        }\n        const temp = previous;\n        previous = current;\n        current = temp;\n      }\n      const res = previous[s2.length];\n      return res > max ? void 0 : res;\n    }\n    function endsWith(str, suffix) {\n      const expectedPos = str.length - suffix.length;\n      return expectedPos >= 0 && str.indexOf(suffix, expectedPos) === expectedPos;\n    }\n    function removeSuffix(str, suffix) {\n      return endsWith(str, suffix) ? str.slice(0, str.length - suffix.length) : str;\n    }\n    function tryRemoveSuffix(str, suffix) {\n      return endsWith(str, suffix) ? str.slice(0, str.length - suffix.length) : void 0;\n    }\n    function stringContains(str, substring) {\n      return str.indexOf(substring) !== -1;\n    }\n    function removeMinAndVersionNumbers(fileName) {\n      let end = fileName.length;\n      for (let pos = end - 1; pos > 0; pos--) {\n        let ch = fileName.charCodeAt(pos);\n        if (ch >= 48 && ch <= 57) {\n          do {\n            --pos;\n            ch = fileName.charCodeAt(pos);\n          } while (pos > 0 && ch >= 48 && ch <= 57);\n        } else if (pos > 4 && (ch === 110 || ch === 78)) {\n          --pos;\n          ch = fileName.charCodeAt(pos);\n          if (ch !== 105 && ch !== 73) {\n            break;\n          }\n          --pos;\n          ch = fileName.charCodeAt(pos);\n          if (ch !== 109 && ch !== 77) {\n            break;\n          }\n          --pos;\n          ch = fileName.charCodeAt(pos);\n        } else {\n          break;\n        }\n        if (ch !== 45 && ch !== 46) {\n          break;\n        }\n        end = pos;\n      }\n      return end === fileName.length ? fileName : fileName.slice(0, end);\n    }\n    function orderedRemoveItem(array, item) {\n      for (let i = 0; i < array.length; i++) {\n        if (array[i] === item) {\n          orderedRemoveItemAt(array, i);\n          return true;\n        }\n      }\n      return false;\n    }\n    function orderedRemoveItemAt(array, index) {\n      for (let i = index; i < array.length - 1; i++) {\n        array[i] = array[i + 1];\n      }\n      array.pop();\n    }\n    function unorderedRemoveItemAt(array, index) {\n      array[index] = array[array.length - 1];\n      array.pop();\n    }\n    function unorderedRemoveItem(array, item) {\n      return unorderedRemoveFirstItemWhere(array, (element) => element === item);\n    }\n    function unorderedRemoveFirstItemWhere(array, predicate) {\n      for (let i = 0; i < array.length; i++) {\n        if (predicate(array[i])) {\n          unorderedRemoveItemAt(array, i);\n          return true;\n        }\n      }\n      return false;\n    }\n    function createGetCanonicalFileName(useCaseSensitiveFileNames) {\n      return useCaseSensitiveFileNames ? identity2 : toFileNameLowerCase;\n    }\n    function patternText({ prefix, suffix }) {\n      return `${prefix}*${suffix}`;\n    }\n    function matchedText(pattern, candidate) {\n      Debug2.assert(isPatternMatch(pattern, candidate));\n      return candidate.substring(pattern.prefix.length, candidate.length - pattern.suffix.length);\n    }\n    function findBestPatternMatch(values, getPattern, candidate) {\n      let matchedValue;\n      let longestMatchPrefixLength = -1;\n      for (const v of values) {\n        const pattern = getPattern(v);\n        if (isPatternMatch(pattern, candidate) && pattern.prefix.length > longestMatchPrefixLength) {\n          longestMatchPrefixLength = pattern.prefix.length;\n          matchedValue = v;\n        }\n      }\n      return matchedValue;\n    }\n    function startsWith(str, prefix) {\n      return str.lastIndexOf(prefix, 0) === 0;\n    }\n    function removePrefix(str, prefix) {\n      return startsWith(str, prefix) ? str.substr(prefix.length) : str;\n    }\n    function tryRemovePrefix(str, prefix, getCanonicalFileName = identity2) {\n      return startsWith(getCanonicalFileName(str), getCanonicalFileName(prefix)) ? str.substring(prefix.length) : void 0;\n    }\n    function isPatternMatch({ prefix, suffix }, candidate) {\n      return candidate.length >= prefix.length + suffix.length && startsWith(candidate, prefix) && endsWith(candidate, suffix);\n    }\n    function and(f, g) {\n      return (arg) => f(arg) && g(arg);\n    }\n    function or(...fs) {\n      return (...args) => {\n        let lastResult;\n        for (const f of fs) {\n          lastResult = f(...args);\n          if (lastResult) {\n            return lastResult;\n          }\n        }\n        return lastResult;\n      };\n    }\n    function not(fn) {\n      return (...args) => !fn(...args);\n    }\n    function assertType(_) {\n    }\n    function singleElementArray(t) {\n      return t === void 0 ? void 0 : [t];\n    }\n    function enumerateInsertsAndDeletes(newItems, oldItems, comparer, inserted, deleted, unchanged) {\n      unchanged = unchanged || noop;\n      let newIndex = 0;\n      let oldIndex = 0;\n      const newLen = newItems.length;\n      const oldLen = oldItems.length;\n      let hasChanges = false;\n      while (newIndex < newLen && oldIndex < oldLen) {\n        const newItem = newItems[newIndex];\n        const oldItem = oldItems[oldIndex];\n        const compareResult = comparer(newItem, oldItem);\n        if (compareResult === -1) {\n          inserted(newItem);\n          newIndex++;\n          hasChanges = true;\n        } else if (compareResult === 1) {\n          deleted(oldItem);\n          oldIndex++;\n          hasChanges = true;\n        } else {\n          unchanged(oldItem, newItem);\n          newIndex++;\n          oldIndex++;\n        }\n      }\n      while (newIndex < newLen) {\n        inserted(newItems[newIndex++]);\n        hasChanges = true;\n      }\n      while (oldIndex < oldLen) {\n        deleted(oldItems[oldIndex++]);\n        hasChanges = true;\n      }\n      return hasChanges;\n    }\n    function cartesianProduct(arrays) {\n      const result = [];\n      cartesianProductWorker(\n        arrays,\n        result,\n        /*outer*/\n        void 0,\n        0\n      );\n      return result;\n    }\n    function cartesianProductWorker(arrays, result, outer, index) {\n      for (const element of arrays[index]) {\n        let inner;\n        if (outer) {\n          inner = outer.slice();\n          inner.push(element);\n        } else {\n          inner = [element];\n        }\n        if (index === arrays.length - 1) {\n          result.push(inner);\n        } else {\n          cartesianProductWorker(arrays, result, inner, index + 1);\n        }\n      }\n    }\n    function padLeft(s, length2, padString = \" \") {\n      return length2 <= s.length ? s : padString.repeat(length2 - s.length) + s;\n    }\n    function padRight(s, length2, padString = \" \") {\n      return length2 <= s.length ? s : s + padString.repeat(length2 - s.length);\n    }\n    function takeWhile(array, predicate) {\n      if (array) {\n        const len = array.length;\n        let index = 0;\n        while (index < len && predicate(array[index])) {\n          index++;\n        }\n        return array.slice(0, index);\n      }\n    }\n    function skipWhile(array, predicate) {\n      if (array) {\n        const len = array.length;\n        let index = 0;\n        while (index < len && predicate(array[index])) {\n          index++;\n        }\n        return array.slice(index);\n      }\n    }\n    function trimEndImpl(s) {\n      let end = s.length - 1;\n      while (end >= 0) {\n        if (!isWhiteSpaceLike(s.charCodeAt(end)))\n          break;\n        end--;\n      }\n      return s.slice(0, end + 1);\n    }\n    function isNodeLikeSystem() {\n      return typeof process !== \"undefined\" && process.nextTick && !process.browser && typeof module === \"object\";\n    }\n    var emptyArray, emptyMap, emptySet, SortKind, elementAt, hasOwnProperty, noopPush, fileNameLowerCaseRegExp, AssertionLevel, createUIStringComparer, uiComparerCaseSensitive, uiLocale, trimString, trimStringEnd, trimStringStart;\n    var init_core = __esm({\n      \"src/compiler/core.ts\"() {\n        \"use strict\";\n        init_ts2();\n        emptyArray = [];\n        emptyMap = /* @__PURE__ */ new Map();\n        emptySet = /* @__PURE__ */ new Set();\n        SortKind = /* @__PURE__ */ ((SortKind2) => {\n          SortKind2[SortKind2[\"None\"] = 0] = \"None\";\n          SortKind2[SortKind2[\"CaseSensitive\"] = 1] = \"CaseSensitive\";\n          SortKind2[SortKind2[\"CaseInsensitive\"] = 2] = \"CaseInsensitive\";\n          SortKind2[SortKind2[\"Both\"] = 3] = \"Both\";\n          return SortKind2;\n        })(SortKind || {});\n        elementAt = !!Array.prototype.at ? (array, offset) => array == null ? void 0 : array.at(offset) : (array, offset) => {\n          if (array) {\n            offset = toOffset(array, offset);\n            if (offset < array.length) {\n              return array[offset];\n            }\n          }\n          return void 0;\n        };\n        hasOwnProperty = Object.prototype.hasOwnProperty;\n        noopPush = {\n          push: noop,\n          length: 0\n        };\n        fileNameLowerCaseRegExp = /[^\\u0130\\u0131\\u00DFa-z0-9\\\\/:\\-_\\. ]+/g;\n        AssertionLevel = /* @__PURE__ */ ((AssertionLevel2) => {\n          AssertionLevel2[AssertionLevel2[\"None\"] = 0] = \"None\";\n          AssertionLevel2[AssertionLevel2[\"Normal\"] = 1] = \"Normal\";\n          AssertionLevel2[AssertionLevel2[\"Aggressive\"] = 2] = \"Aggressive\";\n          AssertionLevel2[AssertionLevel2[\"VeryAggressive\"] = 3] = \"VeryAggressive\";\n          return AssertionLevel2;\n        })(AssertionLevel || {});\n        createUIStringComparer = (() => {\n          let defaultComparer;\n          let enUSComparer;\n          const stringComparerFactory = getStringComparerFactory();\n          return createStringComparer;\n          function compareWithCallback(a, b, comparer) {\n            if (a === b)\n              return 0;\n            if (a === void 0)\n              return -1;\n            if (b === void 0)\n              return 1;\n            const value = comparer(a, b);\n            return value < 0 ? -1 : value > 0 ? 1 : 0;\n          }\n          function createIntlCollatorStringComparer(locale) {\n            const comparer = new Intl.Collator(locale, { usage: \"sort\", sensitivity: \"variant\" }).compare;\n            return (a, b) => compareWithCallback(a, b, comparer);\n          }\n          function createLocaleCompareStringComparer(locale) {\n            if (locale !== void 0)\n              return createFallbackStringComparer();\n            return (a, b) => compareWithCallback(a, b, compareStrings);\n            function compareStrings(a, b) {\n              return a.localeCompare(b);\n            }\n          }\n          function createFallbackStringComparer() {\n            return (a, b) => compareWithCallback(a, b, compareDictionaryOrder);\n            function compareDictionaryOrder(a, b) {\n              return compareStrings(a.toUpperCase(), b.toUpperCase()) || compareStrings(a, b);\n            }\n            function compareStrings(a, b) {\n              return a < b ? -1 : a > b ? 1 : 0;\n            }\n          }\n          function getStringComparerFactory() {\n            if (typeof Intl === \"object\" && typeof Intl.Collator === \"function\") {\n              return createIntlCollatorStringComparer;\n            }\n            if (typeof String.prototype.localeCompare === \"function\" && typeof String.prototype.toLocaleUpperCase === \"function\" && \"a\".localeCompare(\"B\") < 0) {\n              return createLocaleCompareStringComparer;\n            }\n            return createFallbackStringComparer;\n          }\n          function createStringComparer(locale) {\n            if (locale === void 0) {\n              return defaultComparer || (defaultComparer = stringComparerFactory(locale));\n            } else if (locale === \"en-US\") {\n              return enUSComparer || (enUSComparer = stringComparerFactory(locale));\n            } else {\n              return stringComparerFactory(locale);\n            }\n          }\n        })();\n        trimString = !!String.prototype.trim ? (s) => s.trim() : (s) => trimStringEnd(trimStringStart(s));\n        trimStringEnd = !!String.prototype.trimEnd ? (s) => s.trimEnd() : trimEndImpl;\n        trimStringStart = !!String.prototype.trimStart ? (s) => s.trimStart() : (s) => s.replace(/^\\s+/g, \"\");\n      }\n    });\n    var LogLevel, Debug2;\n    var init_debug = __esm({\n      \"src/compiler/debug.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        LogLevel = /* @__PURE__ */ ((LogLevel2) => {\n          LogLevel2[LogLevel2[\"Off\"] = 0] = \"Off\";\n          LogLevel2[LogLevel2[\"Error\"] = 1] = \"Error\";\n          LogLevel2[LogLevel2[\"Warning\"] = 2] = \"Warning\";\n          LogLevel2[LogLevel2[\"Info\"] = 3] = \"Info\";\n          LogLevel2[LogLevel2[\"Verbose\"] = 4] = \"Verbose\";\n          return LogLevel2;\n        })(LogLevel || {});\n        ((Debug22) => {\n          let currentAssertionLevel = 0;\n          Debug22.currentLogLevel = 2;\n          Debug22.isDebugging = false;\n          function shouldLog(level) {\n            return Debug22.currentLogLevel <= level;\n          }\n          Debug22.shouldLog = shouldLog;\n          function logMessage(level, s) {\n            if (Debug22.loggingHost && shouldLog(level)) {\n              Debug22.loggingHost.log(level, s);\n            }\n          }\n          function log(s) {\n            logMessage(3, s);\n          }\n          Debug22.log = log;\n          ((_log) => {\n            function error(s) {\n              logMessage(1, s);\n            }\n            _log.error = error;\n            function warn(s) {\n              logMessage(2, s);\n            }\n            _log.warn = warn;\n            function log2(s) {\n              logMessage(3, s);\n            }\n            _log.log = log2;\n            function trace2(s) {\n              logMessage(4, s);\n            }\n            _log.trace = trace2;\n          })(log = Debug22.log || (Debug22.log = {}));\n          const assertionCache = {};\n          function getAssertionLevel() {\n            return currentAssertionLevel;\n          }\n          Debug22.getAssertionLevel = getAssertionLevel;\n          function setAssertionLevel(level) {\n            const prevAssertionLevel = currentAssertionLevel;\n            currentAssertionLevel = level;\n            if (level > prevAssertionLevel) {\n              for (const key of getOwnKeys(assertionCache)) {\n                const cachedFunc = assertionCache[key];\n                if (cachedFunc !== void 0 && Debug22[key] !== cachedFunc.assertion && level >= cachedFunc.level) {\n                  Debug22[key] = cachedFunc;\n                  assertionCache[key] = void 0;\n                }\n              }\n            }\n          }\n          Debug22.setAssertionLevel = setAssertionLevel;\n          function shouldAssert(level) {\n            return currentAssertionLevel >= level;\n          }\n          Debug22.shouldAssert = shouldAssert;\n          function shouldAssertFunction(level, name) {\n            if (!shouldAssert(level)) {\n              assertionCache[name] = { level, assertion: Debug22[name] };\n              Debug22[name] = noop;\n              return false;\n            }\n            return true;\n          }\n          function fail(message, stackCrawlMark) {\n            const e = new Error(message ? `Debug Failure. ${message}` : \"Debug Failure.\");\n            if (Error.captureStackTrace) {\n              Error.captureStackTrace(e, stackCrawlMark || fail);\n            }\n            throw e;\n          }\n          Debug22.fail = fail;\n          function failBadSyntaxKind(node, message, stackCrawlMark) {\n            return fail(\n              `${message || \"Unexpected node.\"}\\r\nNode ${formatSyntaxKind(node.kind)} was unexpected.`,\n              stackCrawlMark || failBadSyntaxKind\n            );\n          }\n          Debug22.failBadSyntaxKind = failBadSyntaxKind;\n          function assert(expression, message, verboseDebugInfo, stackCrawlMark) {\n            if (!expression) {\n              message = message ? `False expression: ${message}` : \"False expression.\";\n              if (verboseDebugInfo) {\n                message += \"\\r\\nVerbose Debug Information: \" + (typeof verboseDebugInfo === \"string\" ? verboseDebugInfo : verboseDebugInfo());\n              }\n              fail(message, stackCrawlMark || assert);\n            }\n          }\n          Debug22.assert = assert;\n          function assertEqual(a, b, msg, msg2, stackCrawlMark) {\n            if (a !== b) {\n              const message = msg ? msg2 ? `${msg} ${msg2}` : msg : \"\";\n              fail(`Expected ${a} === ${b}. ${message}`, stackCrawlMark || assertEqual);\n            }\n          }\n          Debug22.assertEqual = assertEqual;\n          function assertLessThan(a, b, msg, stackCrawlMark) {\n            if (a >= b) {\n              fail(`Expected ${a} < ${b}. ${msg || \"\"}`, stackCrawlMark || assertLessThan);\n            }\n          }\n          Debug22.assertLessThan = assertLessThan;\n          function assertLessThanOrEqual(a, b, stackCrawlMark) {\n            if (a > b) {\n              fail(`Expected ${a} <= ${b}`, stackCrawlMark || assertLessThanOrEqual);\n            }\n          }\n          Debug22.assertLessThanOrEqual = assertLessThanOrEqual;\n          function assertGreaterThanOrEqual(a, b, stackCrawlMark) {\n            if (a < b) {\n              fail(`Expected ${a} >= ${b}`, stackCrawlMark || assertGreaterThanOrEqual);\n            }\n          }\n          Debug22.assertGreaterThanOrEqual = assertGreaterThanOrEqual;\n          function assertIsDefined(value, message, stackCrawlMark) {\n            if (value === void 0 || value === null) {\n              fail(message, stackCrawlMark || assertIsDefined);\n            }\n          }\n          Debug22.assertIsDefined = assertIsDefined;\n          function checkDefined(value, message, stackCrawlMark) {\n            assertIsDefined(value, message, stackCrawlMark || checkDefined);\n            return value;\n          }\n          Debug22.checkDefined = checkDefined;\n          function assertEachIsDefined(value, message, stackCrawlMark) {\n            for (const v of value) {\n              assertIsDefined(v, message, stackCrawlMark || assertEachIsDefined);\n            }\n          }\n          Debug22.assertEachIsDefined = assertEachIsDefined;\n          function checkEachDefined(value, message, stackCrawlMark) {\n            assertEachIsDefined(value, message, stackCrawlMark || checkEachDefined);\n            return value;\n          }\n          Debug22.checkEachDefined = checkEachDefined;\n          function assertNever2(member, message = \"Illegal value:\", stackCrawlMark) {\n            const detail = typeof member === \"object\" && hasProperty(member, \"kind\") && hasProperty(member, \"pos\") ? \"SyntaxKind: \" + formatSyntaxKind(member.kind) : JSON.stringify(member);\n            return fail(`${message} ${detail}`, stackCrawlMark || assertNever2);\n          }\n          Debug22.assertNever = assertNever2;\n          function assertEachNode(nodes, test, message, stackCrawlMark) {\n            if (shouldAssertFunction(1, \"assertEachNode\")) {\n              assert(\n                test === void 0 || every(nodes, test),\n                message || \"Unexpected node.\",\n                () => `Node array did not pass test '${getFunctionName(test)}'.`,\n                stackCrawlMark || assertEachNode\n              );\n            }\n          }\n          Debug22.assertEachNode = assertEachNode;\n          function assertNode(node, test, message, stackCrawlMark) {\n            if (shouldAssertFunction(1, \"assertNode\")) {\n              assert(\n                node !== void 0 && (test === void 0 || test(node)),\n                message || \"Unexpected node.\",\n                () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`,\n                stackCrawlMark || assertNode\n              );\n            }\n          }\n          Debug22.assertNode = assertNode;\n          function assertNotNode(node, test, message, stackCrawlMark) {\n            if (shouldAssertFunction(1, \"assertNotNode\")) {\n              assert(\n                node === void 0 || test === void 0 || !test(node),\n                message || \"Unexpected node.\",\n                () => `Node ${formatSyntaxKind(node.kind)} should not have passed test '${getFunctionName(test)}'.`,\n                stackCrawlMark || assertNotNode\n              );\n            }\n          }\n          Debug22.assertNotNode = assertNotNode;\n          function assertOptionalNode(node, test, message, stackCrawlMark) {\n            if (shouldAssertFunction(1, \"assertOptionalNode\")) {\n              assert(\n                test === void 0 || node === void 0 || test(node),\n                message || \"Unexpected node.\",\n                () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`,\n                stackCrawlMark || assertOptionalNode\n              );\n            }\n          }\n          Debug22.assertOptionalNode = assertOptionalNode;\n          function assertOptionalToken(node, kind, message, stackCrawlMark) {\n            if (shouldAssertFunction(1, \"assertOptionalToken\")) {\n              assert(\n                kind === void 0 || node === void 0 || node.kind === kind,\n                message || \"Unexpected node.\",\n                () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} was not a '${formatSyntaxKind(kind)}' token.`,\n                stackCrawlMark || assertOptionalToken\n              );\n            }\n          }\n          Debug22.assertOptionalToken = assertOptionalToken;\n          function assertMissingNode(node, message, stackCrawlMark) {\n            if (shouldAssertFunction(1, \"assertMissingNode\")) {\n              assert(\n                node === void 0,\n                message || \"Unexpected node.\",\n                () => `Node ${formatSyntaxKind(node.kind)} was unexpected'.`,\n                stackCrawlMark || assertMissingNode\n              );\n            }\n          }\n          Debug22.assertMissingNode = assertMissingNode;\n          function type(_value) {\n          }\n          Debug22.type = type;\n          function getFunctionName(func) {\n            if (typeof func !== \"function\") {\n              return \"\";\n            } else if (hasProperty(func, \"name\")) {\n              return func.name;\n            } else {\n              const text = Function.prototype.toString.call(func);\n              const match = /^function\\s+([\\w\\$]+)\\s*\\(/.exec(text);\n              return match ? match[1] : \"\";\n            }\n          }\n          Debug22.getFunctionName = getFunctionName;\n          function formatSymbol(symbol) {\n            return `{ name: ${unescapeLeadingUnderscores(symbol.escapedName)}; flags: ${formatSymbolFlags(symbol.flags)}; declarations: ${map(symbol.declarations, (node) => formatSyntaxKind(node.kind))} }`;\n          }\n          Debug22.formatSymbol = formatSymbol;\n          function formatEnum(value = 0, enumObject, isFlags) {\n            const members = getEnumMembers(enumObject);\n            if (value === 0) {\n              return members.length > 0 && members[0][0] === 0 ? members[0][1] : \"0\";\n            }\n            if (isFlags) {\n              const result = [];\n              let remainingFlags = value;\n              for (const [enumValue, enumName] of members) {\n                if (enumValue > value) {\n                  break;\n                }\n                if (enumValue !== 0 && enumValue & value) {\n                  result.push(enumName);\n                  remainingFlags &= ~enumValue;\n                }\n              }\n              if (remainingFlags === 0) {\n                return result.join(\"|\");\n              }\n            } else {\n              for (const [enumValue, enumName] of members) {\n                if (enumValue === value) {\n                  return enumName;\n                }\n              }\n            }\n            return value.toString();\n          }\n          Debug22.formatEnum = formatEnum;\n          const enumMemberCache = /* @__PURE__ */ new Map();\n          function getEnumMembers(enumObject) {\n            const existing = enumMemberCache.get(enumObject);\n            if (existing) {\n              return existing;\n            }\n            const result = [];\n            for (const name in enumObject) {\n              const value = enumObject[name];\n              if (typeof value === \"number\") {\n                result.push([value, name]);\n              }\n            }\n            const sorted = stableSort(result, (x, y) => compareValues(x[0], y[0]));\n            enumMemberCache.set(enumObject, sorted);\n            return sorted;\n          }\n          function formatSyntaxKind(kind) {\n            return formatEnum(\n              kind,\n              SyntaxKind,\n              /*isFlags*/\n              false\n            );\n          }\n          Debug22.formatSyntaxKind = formatSyntaxKind;\n          function formatSnippetKind(kind) {\n            return formatEnum(\n              kind,\n              SnippetKind,\n              /*isFlags*/\n              false\n            );\n          }\n          Debug22.formatSnippetKind = formatSnippetKind;\n          function formatNodeFlags(flags) {\n            return formatEnum(\n              flags,\n              NodeFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatNodeFlags = formatNodeFlags;\n          function formatModifierFlags(flags) {\n            return formatEnum(\n              flags,\n              ModifierFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatModifierFlags = formatModifierFlags;\n          function formatTransformFlags(flags) {\n            return formatEnum(\n              flags,\n              TransformFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatTransformFlags = formatTransformFlags;\n          function formatEmitFlags(flags) {\n            return formatEnum(\n              flags,\n              EmitFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatEmitFlags = formatEmitFlags;\n          function formatSymbolFlags(flags) {\n            return formatEnum(\n              flags,\n              SymbolFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatSymbolFlags = formatSymbolFlags;\n          function formatTypeFlags(flags) {\n            return formatEnum(\n              flags,\n              TypeFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatTypeFlags = formatTypeFlags;\n          function formatSignatureFlags(flags) {\n            return formatEnum(\n              flags,\n              SignatureFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatSignatureFlags = formatSignatureFlags;\n          function formatObjectFlags(flags) {\n            return formatEnum(\n              flags,\n              ObjectFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatObjectFlags = formatObjectFlags;\n          function formatFlowFlags(flags) {\n            return formatEnum(\n              flags,\n              FlowFlags,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatFlowFlags = formatFlowFlags;\n          function formatRelationComparisonResult(result) {\n            return formatEnum(\n              result,\n              RelationComparisonResult,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatRelationComparisonResult = formatRelationComparisonResult;\n          function formatCheckMode(mode) {\n            return formatEnum(\n              mode,\n              CheckMode,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatCheckMode = formatCheckMode;\n          function formatSignatureCheckMode(mode) {\n            return formatEnum(\n              mode,\n              SignatureCheckMode,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatSignatureCheckMode = formatSignatureCheckMode;\n          function formatTypeFacts(facts) {\n            return formatEnum(\n              facts,\n              TypeFacts,\n              /*isFlags*/\n              true\n            );\n          }\n          Debug22.formatTypeFacts = formatTypeFacts;\n          let isDebugInfoEnabled = false;\n          let flowNodeProto;\n          function attachFlowNodeDebugInfoWorker(flowNode) {\n            if (!(\"__debugFlowFlags\" in flowNode)) {\n              Object.defineProperties(flowNode, {\n                // for use with vscode-js-debug's new customDescriptionGenerator in launch.json\n                __tsDebuggerDisplay: {\n                  value() {\n                    const flowHeader = this.flags & 2 ? \"FlowStart\" : this.flags & 4 ? \"FlowBranchLabel\" : this.flags & 8 ? \"FlowLoopLabel\" : this.flags & 16 ? \"FlowAssignment\" : this.flags & 32 ? \"FlowTrueCondition\" : this.flags & 64 ? \"FlowFalseCondition\" : this.flags & 128 ? \"FlowSwitchClause\" : this.flags & 256 ? \"FlowArrayMutation\" : this.flags & 512 ? \"FlowCall\" : this.flags & 1024 ? \"FlowReduceLabel\" : this.flags & 1 ? \"FlowUnreachable\" : \"UnknownFlow\";\n                    const remainingFlags = this.flags & ~(2048 - 1);\n                    return `${flowHeader}${remainingFlags ? ` (${formatFlowFlags(remainingFlags)})` : \"\"}`;\n                  }\n                },\n                __debugFlowFlags: { get() {\n                  return formatEnum(\n                    this.flags,\n                    FlowFlags,\n                    /*isFlags*/\n                    true\n                  );\n                } },\n                __debugToString: { value() {\n                  return formatControlFlowGraph(this);\n                } }\n              });\n            }\n          }\n          function attachFlowNodeDebugInfo(flowNode) {\n            if (isDebugInfoEnabled) {\n              if (typeof Object.setPrototypeOf === \"function\") {\n                if (!flowNodeProto) {\n                  flowNodeProto = Object.create(Object.prototype);\n                  attachFlowNodeDebugInfoWorker(flowNodeProto);\n                }\n                Object.setPrototypeOf(flowNode, flowNodeProto);\n              } else {\n                attachFlowNodeDebugInfoWorker(flowNode);\n              }\n            }\n          }\n          Debug22.attachFlowNodeDebugInfo = attachFlowNodeDebugInfo;\n          let nodeArrayProto;\n          function attachNodeArrayDebugInfoWorker(array) {\n            if (!(\"__tsDebuggerDisplay\" in array)) {\n              Object.defineProperties(array, {\n                __tsDebuggerDisplay: {\n                  value(defaultValue) {\n                    defaultValue = String(defaultValue).replace(/(?:,[\\s\\w\\d_]+:[^,]+)+\\]$/, \"]\");\n                    return `NodeArray ${defaultValue}`;\n                  }\n                }\n              });\n            }\n          }\n          function attachNodeArrayDebugInfo(array) {\n            if (isDebugInfoEnabled) {\n              if (typeof Object.setPrototypeOf === \"function\") {\n                if (!nodeArrayProto) {\n                  nodeArrayProto = Object.create(Array.prototype);\n                  attachNodeArrayDebugInfoWorker(nodeArrayProto);\n                }\n                Object.setPrototypeOf(array, nodeArrayProto);\n              } else {\n                attachNodeArrayDebugInfoWorker(array);\n              }\n            }\n          }\n          Debug22.attachNodeArrayDebugInfo = attachNodeArrayDebugInfo;\n          function enableDebugInfo() {\n            if (isDebugInfoEnabled)\n              return;\n            const weakTypeTextMap = /* @__PURE__ */ new WeakMap();\n            const weakNodeTextMap = /* @__PURE__ */ new WeakMap();\n            Object.defineProperties(objectAllocator.getSymbolConstructor().prototype, {\n              // for use with vscode-js-debug's new customDescriptionGenerator in launch.json\n              __tsDebuggerDisplay: {\n                value() {\n                  const symbolHeader = this.flags & 33554432 ? \"TransientSymbol\" : \"Symbol\";\n                  const remainingSymbolFlags = this.flags & ~33554432;\n                  return `${symbolHeader} '${symbolName(this)}'${remainingSymbolFlags ? ` (${formatSymbolFlags(remainingSymbolFlags)})` : \"\"}`;\n                }\n              },\n              __debugFlags: { get() {\n                return formatSymbolFlags(this.flags);\n              } }\n            });\n            Object.defineProperties(objectAllocator.getTypeConstructor().prototype, {\n              // for use with vscode-js-debug's new customDescriptionGenerator in launch.json\n              __tsDebuggerDisplay: {\n                value() {\n                  const typeHeader = this.flags & 98304 ? \"NullableType\" : this.flags & 384 ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 ? `LiteralType ${this.value.negative ? \"-\" : \"\"}${this.value.base10Value}n` : this.flags & 8192 ? \"UniqueESSymbolType\" : this.flags & 32 ? \"EnumType\" : this.flags & 67359327 ? `IntrinsicType ${this.intrinsicName}` : this.flags & 1048576 ? \"UnionType\" : this.flags & 2097152 ? \"IntersectionType\" : this.flags & 4194304 ? \"IndexType\" : this.flags & 8388608 ? \"IndexedAccessType\" : this.flags & 16777216 ? \"ConditionalType\" : this.flags & 33554432 ? \"SubstitutionType\" : this.flags & 262144 ? \"TypeParameter\" : this.flags & 524288 ? this.objectFlags & 3 ? \"InterfaceType\" : this.objectFlags & 4 ? \"TypeReference\" : this.objectFlags & 8 ? \"TupleType\" : this.objectFlags & 16 ? \"AnonymousType\" : this.objectFlags & 32 ? \"MappedType\" : this.objectFlags & 1024 ? \"ReverseMappedType\" : this.objectFlags & 256 ? \"EvolvingArrayType\" : \"ObjectType\" : \"Type\";\n                  const remainingObjectFlags = this.flags & 524288 ? this.objectFlags & ~1343 : 0;\n                  return `${typeHeader}${this.symbol ? ` '${symbolName(this.symbol)}'` : \"\"}${remainingObjectFlags ? ` (${formatObjectFlags(remainingObjectFlags)})` : \"\"}`;\n                }\n              },\n              __debugFlags: { get() {\n                return formatTypeFlags(this.flags);\n              } },\n              __debugObjectFlags: { get() {\n                return this.flags & 524288 ? formatObjectFlags(this.objectFlags) : \"\";\n              } },\n              __debugTypeToString: {\n                value() {\n                  let text = weakTypeTextMap.get(this);\n                  if (text === void 0) {\n                    text = this.checker.typeToString(this);\n                    weakTypeTextMap.set(this, text);\n                  }\n                  return text;\n                }\n              }\n            });\n            Object.defineProperties(objectAllocator.getSignatureConstructor().prototype, {\n              __debugFlags: { get() {\n                return formatSignatureFlags(this.flags);\n              } },\n              __debugSignatureToString: { value() {\n                var _a22;\n                return (_a22 = this.checker) == null ? void 0 : _a22.signatureToString(this);\n              } }\n            });\n            const nodeConstructors = [\n              objectAllocator.getNodeConstructor(),\n              objectAllocator.getIdentifierConstructor(),\n              objectAllocator.getTokenConstructor(),\n              objectAllocator.getSourceFileConstructor()\n            ];\n            for (const ctor of nodeConstructors) {\n              if (!hasProperty(ctor.prototype, \"__debugKind\")) {\n                Object.defineProperties(ctor.prototype, {\n                  // for use with vscode-js-debug's new customDescriptionGenerator in launch.json\n                  __tsDebuggerDisplay: {\n                    value() {\n                      const nodeHeader = isGeneratedIdentifier(this) ? \"GeneratedIdentifier\" : isIdentifier(this) ? `Identifier '${idText(this)}'` : isPrivateIdentifier(this) ? `PrivateIdentifier '${idText(this)}'` : isStringLiteral(this) ? `StringLiteral ${JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + \"...\")}` : isNumericLiteral(this) ? `NumericLiteral ${this.text}` : isBigIntLiteral(this) ? `BigIntLiteral ${this.text}n` : isTypeParameterDeclaration(this) ? \"TypeParameterDeclaration\" : isParameter(this) ? \"ParameterDeclaration\" : isConstructorDeclaration(this) ? \"ConstructorDeclaration\" : isGetAccessorDeclaration(this) ? \"GetAccessorDeclaration\" : isSetAccessorDeclaration(this) ? \"SetAccessorDeclaration\" : isCallSignatureDeclaration(this) ? \"CallSignatureDeclaration\" : isConstructSignatureDeclaration(this) ? \"ConstructSignatureDeclaration\" : isIndexSignatureDeclaration(this) ? \"IndexSignatureDeclaration\" : isTypePredicateNode(this) ? \"TypePredicateNode\" : isTypeReferenceNode(this) ? \"TypeReferenceNode\" : isFunctionTypeNode(this) ? \"FunctionTypeNode\" : isConstructorTypeNode(this) ? \"ConstructorTypeNode\" : isTypeQueryNode(this) ? \"TypeQueryNode\" : isTypeLiteralNode(this) ? \"TypeLiteralNode\" : isArrayTypeNode(this) ? \"ArrayTypeNode\" : isTupleTypeNode(this) ? \"TupleTypeNode\" : isOptionalTypeNode(this) ? \"OptionalTypeNode\" : isRestTypeNode(this) ? \"RestTypeNode\" : isUnionTypeNode(this) ? \"UnionTypeNode\" : isIntersectionTypeNode(this) ? \"IntersectionTypeNode\" : isConditionalTypeNode(this) ? \"ConditionalTypeNode\" : isInferTypeNode(this) ? \"InferTypeNode\" : isParenthesizedTypeNode(this) ? \"ParenthesizedTypeNode\" : isThisTypeNode(this) ? \"ThisTypeNode\" : isTypeOperatorNode(this) ? \"TypeOperatorNode\" : isIndexedAccessTypeNode(this) ? \"IndexedAccessTypeNode\" : isMappedTypeNode(this) ? \"MappedTypeNode\" : isLiteralTypeNode(this) ? \"LiteralTypeNode\" : isNamedTupleMember(this) ? \"NamedTupleMember\" : isImportTypeNode(this) ? \"ImportTypeNode\" : formatSyntaxKind(this.kind);\n                      return `${nodeHeader}${this.flags ? ` (${formatNodeFlags(this.flags)})` : \"\"}`;\n                    }\n                  },\n                  __debugKind: { get() {\n                    return formatSyntaxKind(this.kind);\n                  } },\n                  __debugNodeFlags: { get() {\n                    return formatNodeFlags(this.flags);\n                  } },\n                  __debugModifierFlags: { get() {\n                    return formatModifierFlags(getEffectiveModifierFlagsNoCache(this));\n                  } },\n                  __debugTransformFlags: { get() {\n                    return formatTransformFlags(this.transformFlags);\n                  } },\n                  __debugIsParseTreeNode: { get() {\n                    return isParseTreeNode(this);\n                  } },\n                  __debugEmitFlags: { get() {\n                    return formatEmitFlags(getEmitFlags(this));\n                  } },\n                  __debugGetText: {\n                    value(includeTrivia) {\n                      if (nodeIsSynthesized(this))\n                        return \"\";\n                      let text = weakNodeTextMap.get(this);\n                      if (text === void 0) {\n                        const parseNode = getParseTreeNode(this);\n                        const sourceFile = parseNode && getSourceFileOfNode(parseNode);\n                        text = sourceFile ? getSourceTextOfNodeFromSourceFile(sourceFile, parseNode, includeTrivia) : \"\";\n                        weakNodeTextMap.set(this, text);\n                      }\n                      return text;\n                    }\n                  }\n                });\n              }\n            }\n            isDebugInfoEnabled = true;\n          }\n          Debug22.enableDebugInfo = enableDebugInfo;\n          function formatVariance(varianceFlags) {\n            const variance = varianceFlags & 7;\n            let result = variance === 0 ? \"in out\" : variance === 3 ? \"[bivariant]\" : variance === 2 ? \"in\" : variance === 1 ? \"out\" : variance === 4 ? \"[independent]\" : \"\";\n            if (varianceFlags & 8) {\n              result += \" (unmeasurable)\";\n            } else if (varianceFlags & 16) {\n              result += \" (unreliable)\";\n            }\n            return result;\n          }\n          Debug22.formatVariance = formatVariance;\n          class DebugTypeMapper {\n            __debugToString() {\n              var _a22;\n              type(this);\n              switch (this.kind) {\n                case 3:\n                  return ((_a22 = this.debugInfo) == null ? void 0 : _a22.call(this)) || \"(function mapper)\";\n                case 0:\n                  return `${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;\n                case 1:\n                  return zipWith(\n                    this.sources,\n                    this.targets || map(this.sources, () => \"any\"),\n                    (s, t) => `${s.__debugTypeToString()} -> ${typeof t === \"string\" ? t : t.__debugTypeToString()}`\n                  ).join(\", \");\n                case 2:\n                  return zipWith(\n                    this.sources,\n                    this.targets,\n                    (s, t) => `${s.__debugTypeToString()} -> ${t().__debugTypeToString()}`\n                  ).join(\", \");\n                case 5:\n                case 4:\n                  return `m1: ${this.mapper1.__debugToString().split(\"\\n\").join(\"\\n    \")}\nm2: ${this.mapper2.__debugToString().split(\"\\n\").join(\"\\n    \")}`;\n                default:\n                  return assertNever2(this);\n              }\n            }\n          }\n          Debug22.DebugTypeMapper = DebugTypeMapper;\n          function attachDebugPrototypeIfDebug(mapper) {\n            if (Debug22.isDebugging) {\n              return Object.setPrototypeOf(mapper, DebugTypeMapper.prototype);\n            }\n            return mapper;\n          }\n          Debug22.attachDebugPrototypeIfDebug = attachDebugPrototypeIfDebug;\n          function printControlFlowGraph(flowNode) {\n            return console.log(formatControlFlowGraph(flowNode));\n          }\n          Debug22.printControlFlowGraph = printControlFlowGraph;\n          function formatControlFlowGraph(flowNode) {\n            let nextDebugFlowId = -1;\n            function getDebugFlowNodeId(f) {\n              if (!f.id) {\n                f.id = nextDebugFlowId;\n                nextDebugFlowId--;\n              }\n              return f.id;\n            }\n            let BoxCharacter;\n            ((BoxCharacter2) => {\n              BoxCharacter2[\"lr\"] = \"\\u2500\";\n              BoxCharacter2[\"ud\"] = \"\\u2502\";\n              BoxCharacter2[\"dr\"] = \"\\u256D\";\n              BoxCharacter2[\"dl\"] = \"\\u256E\";\n              BoxCharacter2[\"ul\"] = \"\\u256F\";\n              BoxCharacter2[\"ur\"] = \"\\u2570\";\n              BoxCharacter2[\"udr\"] = \"\\u251C\";\n              BoxCharacter2[\"udl\"] = \"\\u2524\";\n              BoxCharacter2[\"dlr\"] = \"\\u252C\";\n              BoxCharacter2[\"ulr\"] = \"\\u2534\";\n              BoxCharacter2[\"udlr\"] = \"\\u256B\";\n            })(BoxCharacter || (BoxCharacter = {}));\n            let Connection;\n            ((Connection2) => {\n              Connection2[Connection2[\"None\"] = 0] = \"None\";\n              Connection2[Connection2[\"Up\"] = 1] = \"Up\";\n              Connection2[Connection2[\"Down\"] = 2] = \"Down\";\n              Connection2[Connection2[\"Left\"] = 4] = \"Left\";\n              Connection2[Connection2[\"Right\"] = 8] = \"Right\";\n              Connection2[Connection2[\"UpDown\"] = 3] = \"UpDown\";\n              Connection2[Connection2[\"LeftRight\"] = 12] = \"LeftRight\";\n              Connection2[Connection2[\"UpLeft\"] = 5] = \"UpLeft\";\n              Connection2[Connection2[\"UpRight\"] = 9] = \"UpRight\";\n              Connection2[Connection2[\"DownLeft\"] = 6] = \"DownLeft\";\n              Connection2[Connection2[\"DownRight\"] = 10] = \"DownRight\";\n              Connection2[Connection2[\"UpDownLeft\"] = 7] = \"UpDownLeft\";\n              Connection2[Connection2[\"UpDownRight\"] = 11] = \"UpDownRight\";\n              Connection2[Connection2[\"UpLeftRight\"] = 13] = \"UpLeftRight\";\n              Connection2[Connection2[\"DownLeftRight\"] = 14] = \"DownLeftRight\";\n              Connection2[Connection2[\"UpDownLeftRight\"] = 15] = \"UpDownLeftRight\";\n              Connection2[Connection2[\"NoChildren\"] = 16] = \"NoChildren\";\n            })(Connection || (Connection = {}));\n            const hasAntecedentFlags = 16 | 96 | 128 | 256 | 512 | 1024;\n            const hasNodeFlags = 2 | 16 | 512 | 96 | 256;\n            const links = /* @__PURE__ */ Object.create(\n              /*o*/\n              null\n            );\n            const nodes = [];\n            const edges = [];\n            const root = buildGraphNode(flowNode, /* @__PURE__ */ new Set());\n            for (const node of nodes) {\n              node.text = renderFlowNode(node.flowNode, node.circular);\n              computeLevel(node);\n            }\n            const height = computeHeight(root);\n            const columnWidths = computeColumnWidths(height);\n            computeLanes(root, 0);\n            return renderGraph();\n            function isFlowSwitchClause(f) {\n              return !!(f.flags & 128);\n            }\n            function hasAntecedents(f) {\n              return !!(f.flags & 12) && !!f.antecedents;\n            }\n            function hasAntecedent(f) {\n              return !!(f.flags & hasAntecedentFlags);\n            }\n            function hasNode(f) {\n              return !!(f.flags & hasNodeFlags);\n            }\n            function getChildren(node) {\n              const children = [];\n              for (const edge of node.edges) {\n                if (edge.source === node) {\n                  children.push(edge.target);\n                }\n              }\n              return children;\n            }\n            function getParents(node) {\n              const parents = [];\n              for (const edge of node.edges) {\n                if (edge.target === node) {\n                  parents.push(edge.source);\n                }\n              }\n              return parents;\n            }\n            function buildGraphNode(flowNode2, seen) {\n              const id = getDebugFlowNodeId(flowNode2);\n              let graphNode = links[id];\n              if (graphNode && seen.has(flowNode2)) {\n                graphNode.circular = true;\n                graphNode = {\n                  id: -1,\n                  flowNode: flowNode2,\n                  edges: [],\n                  text: \"\",\n                  lane: -1,\n                  endLane: -1,\n                  level: -1,\n                  circular: \"circularity\"\n                };\n                nodes.push(graphNode);\n                return graphNode;\n              }\n              seen.add(flowNode2);\n              if (!graphNode) {\n                links[id] = graphNode = { id, flowNode: flowNode2, edges: [], text: \"\", lane: -1, endLane: -1, level: -1, circular: false };\n                nodes.push(graphNode);\n                if (hasAntecedents(flowNode2)) {\n                  for (const antecedent of flowNode2.antecedents) {\n                    buildGraphEdge(graphNode, antecedent, seen);\n                  }\n                } else if (hasAntecedent(flowNode2)) {\n                  buildGraphEdge(graphNode, flowNode2.antecedent, seen);\n                }\n              }\n              seen.delete(flowNode2);\n              return graphNode;\n            }\n            function buildGraphEdge(source, antecedent, seen) {\n              const target = buildGraphNode(antecedent, seen);\n              const edge = { source, target };\n              edges.push(edge);\n              source.edges.push(edge);\n              target.edges.push(edge);\n            }\n            function computeLevel(node) {\n              if (node.level !== -1) {\n                return node.level;\n              }\n              let level = 0;\n              for (const parent2 of getParents(node)) {\n                level = Math.max(level, computeLevel(parent2) + 1);\n              }\n              return node.level = level;\n            }\n            function computeHeight(node) {\n              let height2 = 0;\n              for (const child of getChildren(node)) {\n                height2 = Math.max(height2, computeHeight(child));\n              }\n              return height2 + 1;\n            }\n            function computeColumnWidths(height2) {\n              const columns = fill2(Array(height2), 0);\n              for (const node of nodes) {\n                columns[node.level] = Math.max(columns[node.level], node.text.length);\n              }\n              return columns;\n            }\n            function computeLanes(node, lane) {\n              if (node.lane === -1) {\n                node.lane = lane;\n                node.endLane = lane;\n                const children = getChildren(node);\n                for (let i = 0; i < children.length; i++) {\n                  if (i > 0)\n                    lane++;\n                  const child = children[i];\n                  computeLanes(child, lane);\n                  if (child.endLane > node.endLane) {\n                    lane = child.endLane;\n                  }\n                }\n                node.endLane = lane;\n              }\n            }\n            function getHeader(flags) {\n              if (flags & 2)\n                return \"Start\";\n              if (flags & 4)\n                return \"Branch\";\n              if (flags & 8)\n                return \"Loop\";\n              if (flags & 16)\n                return \"Assignment\";\n              if (flags & 32)\n                return \"True\";\n              if (flags & 64)\n                return \"False\";\n              if (flags & 128)\n                return \"SwitchClause\";\n              if (flags & 256)\n                return \"ArrayMutation\";\n              if (flags & 512)\n                return \"Call\";\n              if (flags & 1024)\n                return \"ReduceLabel\";\n              if (flags & 1)\n                return \"Unreachable\";\n              throw new Error();\n            }\n            function getNodeText(node) {\n              const sourceFile = getSourceFileOfNode(node);\n              return getSourceTextOfNodeFromSourceFile(\n                sourceFile,\n                node,\n                /*includeTrivia*/\n                false\n              );\n            }\n            function renderFlowNode(flowNode2, circular) {\n              let text = getHeader(flowNode2.flags);\n              if (circular) {\n                text = `${text}#${getDebugFlowNodeId(flowNode2)}`;\n              }\n              if (hasNode(flowNode2)) {\n                if (flowNode2.node) {\n                  text += ` (${getNodeText(flowNode2.node)})`;\n                }\n              } else if (isFlowSwitchClause(flowNode2)) {\n                const clauses = [];\n                for (let i = flowNode2.clauseStart; i < flowNode2.clauseEnd; i++) {\n                  const clause = flowNode2.switchStatement.caseBlock.clauses[i];\n                  if (isDefaultClause(clause)) {\n                    clauses.push(\"default\");\n                  } else {\n                    clauses.push(getNodeText(clause.expression));\n                  }\n                }\n                text += ` (${clauses.join(\", \")})`;\n              }\n              return circular === \"circularity\" ? `Circular(${text})` : text;\n            }\n            function renderGraph() {\n              const columnCount = columnWidths.length;\n              const laneCount = nodes.reduce((x, n) => Math.max(x, n.lane), 0) + 1;\n              const lanes = fill2(Array(laneCount), \"\");\n              const grid = columnWidths.map(() => Array(laneCount));\n              const connectors = columnWidths.map(() => fill2(Array(laneCount), 0));\n              for (const node of nodes) {\n                grid[node.level][node.lane] = node;\n                const children = getChildren(node);\n                for (let i = 0; i < children.length; i++) {\n                  const child = children[i];\n                  let connector = 8;\n                  if (child.lane === node.lane)\n                    connector |= 4;\n                  if (i > 0)\n                    connector |= 1;\n                  if (i < children.length - 1)\n                    connector |= 2;\n                  connectors[node.level][child.lane] |= connector;\n                }\n                if (children.length === 0) {\n                  connectors[node.level][node.lane] |= 16;\n                }\n                const parents = getParents(node);\n                for (let i = 0; i < parents.length; i++) {\n                  const parent2 = parents[i];\n                  let connector = 4;\n                  if (i > 0)\n                    connector |= 1;\n                  if (i < parents.length - 1)\n                    connector |= 2;\n                  connectors[node.level - 1][parent2.lane] |= connector;\n                }\n              }\n              for (let column = 0; column < columnCount; column++) {\n                for (let lane = 0; lane < laneCount; lane++) {\n                  const left = column > 0 ? connectors[column - 1][lane] : 0;\n                  const above = lane > 0 ? connectors[column][lane - 1] : 0;\n                  let connector = connectors[column][lane];\n                  if (!connector) {\n                    if (left & 8)\n                      connector |= 12;\n                    if (above & 2)\n                      connector |= 3;\n                    connectors[column][lane] = connector;\n                  }\n                }\n              }\n              for (let column = 0; column < columnCount; column++) {\n                for (let lane = 0; lane < lanes.length; lane++) {\n                  const connector = connectors[column][lane];\n                  const fill22 = connector & 4 ? \"\\u2500\" : \" \";\n                  const node = grid[column][lane];\n                  if (!node) {\n                    if (column < columnCount - 1) {\n                      writeLane(lane, repeat(fill22, columnWidths[column] + 1));\n                    }\n                  } else {\n                    writeLane(lane, node.text);\n                    if (column < columnCount - 1) {\n                      writeLane(lane, \" \");\n                      writeLane(lane, repeat(fill22, columnWidths[column] - node.text.length));\n                    }\n                  }\n                  writeLane(lane, getBoxCharacter(connector));\n                  writeLane(lane, connector & 8 && column < columnCount - 1 && !grid[column + 1][lane] ? \"\\u2500\" : \" \");\n                }\n              }\n              return `\n${lanes.join(\"\\n\")}\n`;\n              function writeLane(lane, text) {\n                lanes[lane] += text;\n              }\n            }\n            function getBoxCharacter(connector) {\n              switch (connector) {\n                case 3:\n                  return \"\\u2502\";\n                case 12:\n                  return \"\\u2500\";\n                case 5:\n                  return \"\\u256F\";\n                case 9:\n                  return \"\\u2570\";\n                case 6:\n                  return \"\\u256E\";\n                case 10:\n                  return \"\\u256D\";\n                case 7:\n                  return \"\\u2524\";\n                case 11:\n                  return \"\\u251C\";\n                case 13:\n                  return \"\\u2534\";\n                case 14:\n                  return \"\\u252C\";\n                case 15:\n                  return \"\\u256B\";\n              }\n              return \" \";\n            }\n            function fill2(array, value) {\n              if (array.fill) {\n                array.fill(value);\n              } else {\n                for (let i = 0; i < array.length; i++) {\n                  array[i] = value;\n                }\n              }\n              return array;\n            }\n            function repeat(ch, length2) {\n              if (ch.repeat) {\n                return length2 > 0 ? ch.repeat(length2) : \"\";\n              }\n              let s = \"\";\n              while (s.length < length2) {\n                s += ch;\n              }\n              return s;\n            }\n          }\n          Debug22.formatControlFlowGraph = formatControlFlowGraph;\n        })(Debug2 || (Debug2 = {}));\n      }\n    });\n    function tryParseComponents(text) {\n      const match = versionRegExp.exec(text);\n      if (!match)\n        return void 0;\n      const [, major, minor = \"0\", patch = \"0\", prerelease = \"\", build2 = \"\"] = match;\n      if (prerelease && !prereleaseRegExp.test(prerelease))\n        return void 0;\n      if (build2 && !buildRegExp.test(build2))\n        return void 0;\n      return {\n        major: parseInt(major, 10),\n        minor: parseInt(minor, 10),\n        patch: parseInt(patch, 10),\n        prerelease,\n        build: build2\n      };\n    }\n    function comparePrereleaseIdentifiers(left, right) {\n      if (left === right)\n        return 0;\n      if (left.length === 0)\n        return right.length === 0 ? 0 : 1;\n      if (right.length === 0)\n        return -1;\n      const length2 = Math.min(left.length, right.length);\n      for (let i = 0; i < length2; i++) {\n        const leftIdentifier = left[i];\n        const rightIdentifier = right[i];\n        if (leftIdentifier === rightIdentifier)\n          continue;\n        const leftIsNumeric = numericIdentifierRegExp.test(leftIdentifier);\n        const rightIsNumeric = numericIdentifierRegExp.test(rightIdentifier);\n        if (leftIsNumeric || rightIsNumeric) {\n          if (leftIsNumeric !== rightIsNumeric)\n            return leftIsNumeric ? -1 : 1;\n          const result = compareValues(+leftIdentifier, +rightIdentifier);\n          if (result)\n            return result;\n        } else {\n          const result = compareStringsCaseSensitive(leftIdentifier, rightIdentifier);\n          if (result)\n            return result;\n        }\n      }\n      return compareValues(left.length, right.length);\n    }\n    function parseRange(text) {\n      const alternatives = [];\n      for (let range of trimString(text).split(logicalOrRegExp)) {\n        if (!range)\n          continue;\n        const comparators = [];\n        range = trimString(range);\n        const match = hyphenRegExp.exec(range);\n        if (match) {\n          if (!parseHyphen(match[1], match[2], comparators))\n            return void 0;\n        } else {\n          for (const simple of range.split(whitespaceRegExp)) {\n            const match2 = rangeRegExp.exec(trimString(simple));\n            if (!match2 || !parseComparator(match2[1], match2[2], comparators))\n              return void 0;\n          }\n        }\n        alternatives.push(comparators);\n      }\n      return alternatives;\n    }\n    function parsePartial(text) {\n      const match = partialRegExp.exec(text);\n      if (!match)\n        return void 0;\n      const [, major, minor = \"*\", patch = \"*\", prerelease, build2] = match;\n      const version2 = new Version(\n        isWildcard(major) ? 0 : parseInt(major, 10),\n        isWildcard(major) || isWildcard(minor) ? 0 : parseInt(minor, 10),\n        isWildcard(major) || isWildcard(minor) || isWildcard(patch) ? 0 : parseInt(patch, 10),\n        prerelease,\n        build2\n      );\n      return { version: version2, major, minor, patch };\n    }\n    function parseHyphen(left, right, comparators) {\n      const leftResult = parsePartial(left);\n      if (!leftResult)\n        return false;\n      const rightResult = parsePartial(right);\n      if (!rightResult)\n        return false;\n      if (!isWildcard(leftResult.major)) {\n        comparators.push(createComparator(\">=\", leftResult.version));\n      }\n      if (!isWildcard(rightResult.major)) {\n        comparators.push(\n          isWildcard(rightResult.minor) ? createComparator(\"<\", rightResult.version.increment(\"major\")) : isWildcard(rightResult.patch) ? createComparator(\"<\", rightResult.version.increment(\"minor\")) : createComparator(\"<=\", rightResult.version)\n        );\n      }\n      return true;\n    }\n    function parseComparator(operator, text, comparators) {\n      const result = parsePartial(text);\n      if (!result)\n        return false;\n      const { version: version2, major, minor, patch } = result;\n      if (!isWildcard(major)) {\n        switch (operator) {\n          case \"~\":\n            comparators.push(createComparator(\">=\", version2));\n            comparators.push(createComparator(\"<\", version2.increment(\n              isWildcard(minor) ? \"major\" : \"minor\"\n            )));\n            break;\n          case \"^\":\n            comparators.push(createComparator(\">=\", version2));\n            comparators.push(createComparator(\"<\", version2.increment(\n              version2.major > 0 || isWildcard(minor) ? \"major\" : version2.minor > 0 || isWildcard(patch) ? \"minor\" : \"patch\"\n            )));\n            break;\n          case \"<\":\n          case \">=\":\n            comparators.push(\n              isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: \"0\" })) : createComparator(operator, version2)\n            );\n            break;\n          case \"<=\":\n          case \">\":\n            comparators.push(\n              isWildcard(minor) ? createComparator(operator === \"<=\" ? \"<\" : \">=\", version2.increment(\"major\").with({ prerelease: \"0\" })) : isWildcard(patch) ? createComparator(operator === \"<=\" ? \"<\" : \">=\", version2.increment(\"minor\").with({ prerelease: \"0\" })) : createComparator(operator, version2)\n            );\n            break;\n          case \"=\":\n          case void 0:\n            if (isWildcard(minor) || isWildcard(patch)) {\n              comparators.push(createComparator(\">=\", version2.with({ prerelease: \"0\" })));\n              comparators.push(createComparator(\"<\", version2.increment(isWildcard(minor) ? \"major\" : \"minor\").with({ prerelease: \"0\" })));\n            } else {\n              comparators.push(createComparator(\"=\", version2));\n            }\n            break;\n          default:\n            return false;\n        }\n      } else if (operator === \"<\" || operator === \">\") {\n        comparators.push(createComparator(\"<\", Version.zero));\n      }\n      return true;\n    }\n    function isWildcard(part) {\n      return part === \"*\" || part === \"x\" || part === \"X\";\n    }\n    function createComparator(operator, operand) {\n      return { operator, operand };\n    }\n    function testDisjunction(version2, alternatives) {\n      if (alternatives.length === 0)\n        return true;\n      for (const alternative of alternatives) {\n        if (testAlternative(version2, alternative))\n          return true;\n      }\n      return false;\n    }\n    function testAlternative(version2, comparators) {\n      for (const comparator of comparators) {\n        if (!testComparator(version2, comparator.operator, comparator.operand))\n          return false;\n      }\n      return true;\n    }\n    function testComparator(version2, operator, operand) {\n      const cmp = version2.compareTo(operand);\n      switch (operator) {\n        case \"<\":\n          return cmp < 0;\n        case \"<=\":\n          return cmp <= 0;\n        case \">\":\n          return cmp > 0;\n        case \">=\":\n          return cmp >= 0;\n        case \"=\":\n          return cmp === 0;\n        default:\n          return Debug2.assertNever(operator);\n      }\n    }\n    function formatDisjunction(alternatives) {\n      return map(alternatives, formatAlternative).join(\" || \") || \"*\";\n    }\n    function formatAlternative(comparators) {\n      return map(comparators, formatComparator).join(\" \");\n    }\n    function formatComparator(comparator) {\n      return `${comparator.operator}${comparator.operand}`;\n    }\n    var versionRegExp, prereleaseRegExp, prereleasePartRegExp, buildRegExp, buildPartRegExp, numericIdentifierRegExp, _Version, Version, VersionRange, logicalOrRegExp, whitespaceRegExp, partialRegExp, hyphenRegExp, rangeRegExp;\n    var init_semver = __esm({\n      \"src/compiler/semver.ts\"() {\n        \"use strict\";\n        init_ts2();\n        versionRegExp = /^(0|[1-9]\\d*)(?:\\.(0|[1-9]\\d*)(?:\\.(0|[1-9]\\d*)(?:\\-([a-z0-9-.]+))?(?:\\+([a-z0-9-.]+))?)?)?$/i;\n        prereleaseRegExp = /^(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*)(?:\\.(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*))*$/i;\n        prereleasePartRegExp = /^(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*)$/i;\n        buildRegExp = /^[a-z0-9-]+(?:\\.[a-z0-9-]+)*$/i;\n        buildPartRegExp = /^[a-z0-9-]+$/i;\n        numericIdentifierRegExp = /^(0|[1-9]\\d*)$/;\n        _Version = class {\n          constructor(major, minor = 0, patch = 0, prerelease = \"\", build2 = \"\") {\n            if (typeof major === \"string\") {\n              const result = Debug2.checkDefined(tryParseComponents(major), \"Invalid version\");\n              ({ major, minor, patch, prerelease, build: build2 } = result);\n            }\n            Debug2.assert(major >= 0, \"Invalid argument: major\");\n            Debug2.assert(minor >= 0, \"Invalid argument: minor\");\n            Debug2.assert(patch >= 0, \"Invalid argument: patch\");\n            const prereleaseArray = prerelease ? isArray(prerelease) ? prerelease : prerelease.split(\".\") : emptyArray;\n            const buildArray = build2 ? isArray(build2) ? build2 : build2.split(\".\") : emptyArray;\n            Debug2.assert(every(prereleaseArray, (s) => prereleasePartRegExp.test(s)), \"Invalid argument: prerelease\");\n            Debug2.assert(every(buildArray, (s) => buildPartRegExp.test(s)), \"Invalid argument: build\");\n            this.major = major;\n            this.minor = minor;\n            this.patch = patch;\n            this.prerelease = prereleaseArray;\n            this.build = buildArray;\n          }\n          static tryParse(text) {\n            const result = tryParseComponents(text);\n            if (!result)\n              return void 0;\n            const { major, minor, patch, prerelease, build: build2 } = result;\n            return new _Version(major, minor, patch, prerelease, build2);\n          }\n          compareTo(other) {\n            if (this === other)\n              return 0;\n            if (other === void 0)\n              return 1;\n            return compareValues(this.major, other.major) || compareValues(this.minor, other.minor) || compareValues(this.patch, other.patch) || comparePrereleaseIdentifiers(this.prerelease, other.prerelease);\n          }\n          increment(field) {\n            switch (field) {\n              case \"major\":\n                return new _Version(this.major + 1, 0, 0);\n              case \"minor\":\n                return new _Version(this.major, this.minor + 1, 0);\n              case \"patch\":\n                return new _Version(this.major, this.minor, this.patch + 1);\n              default:\n                return Debug2.assertNever(field);\n            }\n          }\n          with(fields) {\n            const {\n              major = this.major,\n              minor = this.minor,\n              patch = this.patch,\n              prerelease = this.prerelease,\n              build: build2 = this.build\n            } = fields;\n            return new _Version(major, minor, patch, prerelease, build2);\n          }\n          toString() {\n            let result = `${this.major}.${this.minor}.${this.patch}`;\n            if (some(this.prerelease))\n              result += `-${this.prerelease.join(\".\")}`;\n            if (some(this.build))\n              result += `+${this.build.join(\".\")}`;\n            return result;\n          }\n        };\n        Version = _Version;\n        Version.zero = new _Version(0, 0, 0, [\"0\"]);\n        VersionRange = class {\n          constructor(spec) {\n            this._alternatives = spec ? Debug2.checkDefined(parseRange(spec), \"Invalid range spec.\") : emptyArray;\n          }\n          static tryParse(text) {\n            const sets = parseRange(text);\n            if (sets) {\n              const range = new VersionRange(\"\");\n              range._alternatives = sets;\n              return range;\n            }\n            return void 0;\n          }\n          /**\n           * Tests whether a version matches the range. This is equivalent to `satisfies(version, range, { includePrerelease: true })`.\n           * in `node-semver`.\n           */\n          test(version2) {\n            if (typeof version2 === \"string\")\n              version2 = new Version(version2);\n            return testDisjunction(version2, this._alternatives);\n          }\n          toString() {\n            return formatDisjunction(this._alternatives);\n          }\n        };\n        logicalOrRegExp = /\\|\\|/g;\n        whitespaceRegExp = /\\s+/g;\n        partialRegExp = /^([xX*0]|[1-9]\\d*)(?:\\.([xX*0]|[1-9]\\d*)(?:\\.([xX*0]|[1-9]\\d*)(?:-([a-z0-9-.]+))?(?:\\+([a-z0-9-.]+))?)?)?$/i;\n        hyphenRegExp = /^\\s*([a-z0-9-+.*]+)\\s+-\\s+([a-z0-9-+.*]+)\\s*$/i;\n        rangeRegExp = /^(~|\\^|<|<=|>|>=|=)?\\s*([a-z0-9-+.*]+)$/i;\n      }\n    });\n    function hasRequiredAPI(performance2, PerformanceObserver2) {\n      return typeof performance2 === \"object\" && typeof performance2.timeOrigin === \"number\" && typeof performance2.mark === \"function\" && typeof performance2.measure === \"function\" && typeof performance2.now === \"function\" && typeof performance2.clearMarks === \"function\" && typeof performance2.clearMeasures === \"function\" && typeof PerformanceObserver2 === \"function\";\n    }\n    function tryGetWebPerformanceHooks() {\n      if (typeof performance === \"object\" && typeof PerformanceObserver === \"function\" && hasRequiredAPI(performance, PerformanceObserver)) {\n        return {\n          // For now we always write native performance events when running in the browser. We may\n          // make this conditional in the future if we find that native web performance hooks\n          // in the browser also slow down compilation.\n          shouldWriteNativeEvents: true,\n          performance,\n          PerformanceObserver\n        };\n      }\n    }\n    function tryGetNodePerformanceHooks() {\n      if (isNodeLikeSystem()) {\n        try {\n          let performance2;\n          const { performance: nodePerformance, PerformanceObserver: PerformanceObserver2 } = require2(\"perf_hooks\");\n          if (hasRequiredAPI(nodePerformance, PerformanceObserver2)) {\n            performance2 = nodePerformance;\n            const version2 = new Version(process.versions.node);\n            const range = new VersionRange(\"<12.16.3 || 13 <13.13\");\n            if (range.test(version2)) {\n              performance2 = {\n                get timeOrigin() {\n                  return nodePerformance.timeOrigin;\n                },\n                now() {\n                  return nodePerformance.now();\n                },\n                mark(name) {\n                  return nodePerformance.mark(name);\n                },\n                measure(name, start = \"nodeStart\", end) {\n                  if (end === void 0) {\n                    end = \"__performance.measure-fix__\";\n                    nodePerformance.mark(end);\n                  }\n                  nodePerformance.measure(name, start, end);\n                  if (end === \"__performance.measure-fix__\") {\n                    nodePerformance.clearMarks(\"__performance.measure-fix__\");\n                  }\n                },\n                clearMarks(name) {\n                  return nodePerformance.clearMarks(name);\n                },\n                clearMeasures(name) {\n                  return nodePerformance.clearMeasures(name);\n                }\n              };\n            }\n            return {\n              // By default, only write native events when generating a cpu profile or using the v8 profiler.\n              shouldWriteNativeEvents: false,\n              performance: performance2,\n              PerformanceObserver: PerformanceObserver2\n            };\n          }\n        } catch (e) {\n        }\n      }\n    }\n    function tryGetNativePerformanceHooks() {\n      return nativePerformanceHooks;\n    }\n    var nativePerformanceHooks, nativePerformance, timestamp;\n    var init_performanceCore = __esm({\n      \"src/compiler/performanceCore.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nativePerformanceHooks = tryGetWebPerformanceHooks() || tryGetNodePerformanceHooks();\n        nativePerformance = nativePerformanceHooks == null ? void 0 : nativePerformanceHooks.performance;\n        timestamp = nativePerformance ? () => nativePerformance.now() : Date.now ? Date.now : () => +/* @__PURE__ */ new Date();\n      }\n    });\n    var nullLogger, etwModule, _a4, perfLogger;\n    var init_perfLogger = __esm({\n      \"src/compiler/perfLogger.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nullLogger = {\n          logEvent: noop,\n          logErrEvent: noop,\n          logPerfEvent: noop,\n          logInfoEvent: noop,\n          logStartCommand: noop,\n          logStopCommand: noop,\n          logStartUpdateProgram: noop,\n          logStopUpdateProgram: noop,\n          logStartUpdateGraph: noop,\n          logStopUpdateGraph: noop,\n          logStartResolveModule: noop,\n          logStopResolveModule: noop,\n          logStartParseSourceFile: noop,\n          logStopParseSourceFile: noop,\n          logStartReadFile: noop,\n          logStopReadFile: noop,\n          logStartBindFile: noop,\n          logStopBindFile: noop,\n          logStartScheduledOperation: noop,\n          logStopScheduledOperation: noop\n        };\n        try {\n          const etwModulePath = (_a4 = process.env.TS_ETW_MODULE_PATH) != null ? _a4 : \"./node_modules/@microsoft/typescript-etw\";\n          etwModule = require2(etwModulePath);\n        } catch (e) {\n          etwModule = void 0;\n        }\n        perfLogger = (etwModule == null ? void 0 : etwModule.logEvent) ? etwModule : nullLogger;\n      }\n    });\n    function createTimerIf(condition, measureName, startMarkName, endMarkName) {\n      return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer;\n    }\n    function createTimer(measureName, startMarkName, endMarkName) {\n      let enterCount = 0;\n      return {\n        enter,\n        exit\n      };\n      function enter() {\n        if (++enterCount === 1) {\n          mark(startMarkName);\n        }\n      }\n      function exit() {\n        if (--enterCount === 0) {\n          mark(endMarkName);\n          measure(measureName, startMarkName, endMarkName);\n        } else if (enterCount < 0) {\n          Debug2.fail(\"enter/exit count does not match.\");\n        }\n      }\n    }\n    function mark(markName) {\n      var _a22;\n      if (enabled) {\n        const count = (_a22 = counts.get(markName)) != null ? _a22 : 0;\n        counts.set(markName, count + 1);\n        marks.set(markName, timestamp());\n        performanceImpl == null ? void 0 : performanceImpl.mark(markName);\n        if (typeof onProfilerEvent === \"function\") {\n          onProfilerEvent(markName);\n        }\n      }\n    }\n    function measure(measureName, startMarkName, endMarkName) {\n      var _a22, _b3;\n      if (enabled) {\n        const end = (_a22 = endMarkName !== void 0 ? marks.get(endMarkName) : void 0) != null ? _a22 : timestamp();\n        const start = (_b3 = startMarkName !== void 0 ? marks.get(startMarkName) : void 0) != null ? _b3 : timeorigin;\n        const previousDuration = durations.get(measureName) || 0;\n        durations.set(measureName, previousDuration + (end - start));\n        performanceImpl == null ? void 0 : performanceImpl.measure(measureName, startMarkName, endMarkName);\n      }\n    }\n    function getCount(markName) {\n      return counts.get(markName) || 0;\n    }\n    function getDuration(measureName) {\n      return durations.get(measureName) || 0;\n    }\n    function forEachMeasure(cb) {\n      durations.forEach((duration, measureName) => cb(measureName, duration));\n    }\n    function forEachMark(cb) {\n      marks.forEach((_time, markName) => cb(markName));\n    }\n    function clearMeasures(name) {\n      if (name !== void 0)\n        durations.delete(name);\n      else\n        durations.clear();\n      performanceImpl == null ? void 0 : performanceImpl.clearMeasures(name);\n    }\n    function clearMarks(name) {\n      if (name !== void 0) {\n        counts.delete(name);\n        marks.delete(name);\n      } else {\n        counts.clear();\n        marks.clear();\n      }\n      performanceImpl == null ? void 0 : performanceImpl.clearMarks(name);\n    }\n    function isEnabled() {\n      return enabled;\n    }\n    function enable(system = sys) {\n      var _a22;\n      if (!enabled) {\n        enabled = true;\n        perfHooks || (perfHooks = tryGetNativePerformanceHooks());\n        if (perfHooks) {\n          timeorigin = perfHooks.performance.timeOrigin;\n          if (perfHooks.shouldWriteNativeEvents || ((_a22 = system == null ? void 0 : system.cpuProfilingEnabled) == null ? void 0 : _a22.call(system)) || (system == null ? void 0 : system.debugMode)) {\n            performanceImpl = perfHooks.performance;\n          }\n        }\n      }\n      return true;\n    }\n    function disable() {\n      if (enabled) {\n        marks.clear();\n        counts.clear();\n        durations.clear();\n        performanceImpl = void 0;\n        enabled = false;\n      }\n    }\n    var perfHooks, performanceImpl, nullTimer, enabled, timeorigin, marks, counts, durations;\n    var init_performance = __esm({\n      \"src/compiler/performance.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nullTimer = { enter: noop, exit: noop };\n        enabled = false;\n        timeorigin = timestamp();\n        marks = /* @__PURE__ */ new Map();\n        counts = /* @__PURE__ */ new Map();\n        durations = /* @__PURE__ */ new Map();\n      }\n    });\n    var ts_performance_exports = {};\n    __export2(ts_performance_exports, {\n      clearMarks: () => clearMarks,\n      clearMeasures: () => clearMeasures,\n      createTimer: () => createTimer,\n      createTimerIf: () => createTimerIf,\n      disable: () => disable,\n      enable: () => enable,\n      forEachMark: () => forEachMark,\n      forEachMeasure: () => forEachMeasure,\n      getCount: () => getCount,\n      getDuration: () => getDuration,\n      isEnabled: () => isEnabled,\n      mark: () => mark,\n      measure: () => measure,\n      nullTimer: () => nullTimer\n    });\n    var init_ts_performance = __esm({\n      \"src/compiler/_namespaces/ts.performance.ts\"() {\n        \"use strict\";\n        init_performance();\n      }\n    });\n    var tracing, tracingEnabled, startTracing, dumpTracingLegend;\n    var init_tracing = __esm({\n      \"src/compiler/tracing.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_performance();\n        ((tracingEnabled2) => {\n          let fs;\n          let traceCount = 0;\n          let traceFd = 0;\n          let mode;\n          const typeCatalog = [];\n          let legendPath;\n          const legend = [];\n          function startTracing2(tracingMode, traceDir, configFilePath) {\n            Debug2.assert(!tracing, \"Tracing already started\");\n            if (fs === void 0) {\n              try {\n                fs = require2(\"fs\");\n              } catch (e) {\n                throw new Error(`tracing requires having fs\n(original error: ${e.message || e})`);\n              }\n            }\n            mode = tracingMode;\n            typeCatalog.length = 0;\n            if (legendPath === void 0) {\n              legendPath = combinePaths(traceDir, \"legend.json\");\n            }\n            if (!fs.existsSync(traceDir)) {\n              fs.mkdirSync(traceDir, { recursive: true });\n            }\n            const countPart = mode === \"build\" ? `.${process.pid}-${++traceCount}` : mode === \"server\" ? `.${process.pid}` : ``;\n            const tracePath = combinePaths(traceDir, `trace${countPart}.json`);\n            const typesPath = combinePaths(traceDir, `types${countPart}.json`);\n            legend.push({\n              configFilePath,\n              tracePath,\n              typesPath\n            });\n            traceFd = fs.openSync(tracePath, \"w\");\n            tracing = tracingEnabled2;\n            const meta = { cat: \"__metadata\", ph: \"M\", ts: 1e3 * timestamp(), pid: 1, tid: 1 };\n            fs.writeSync(\n              traceFd,\n              \"[\\n\" + [\n                { name: \"process_name\", args: { name: \"tsc\" }, ...meta },\n                { name: \"thread_name\", args: { name: \"Main\" }, ...meta },\n                { name: \"TracingStartedInBrowser\", ...meta, cat: \"disabled-by-default-devtools.timeline\" }\n              ].map((v) => JSON.stringify(v)).join(\",\\n\")\n            );\n          }\n          tracingEnabled2.startTracing = startTracing2;\n          function stopTracing() {\n            Debug2.assert(tracing, \"Tracing is not in progress\");\n            Debug2.assert(!!typeCatalog.length === (mode !== \"server\"));\n            fs.writeSync(traceFd, `\n]\n`);\n            fs.closeSync(traceFd);\n            tracing = void 0;\n            if (typeCatalog.length) {\n              dumpTypes(typeCatalog);\n            } else {\n              legend[legend.length - 1].typesPath = void 0;\n            }\n          }\n          tracingEnabled2.stopTracing = stopTracing;\n          function recordType(type) {\n            if (mode !== \"server\") {\n              typeCatalog.push(type);\n            }\n          }\n          tracingEnabled2.recordType = recordType;\n          let Phase;\n          ((Phase2) => {\n            Phase2[\"Parse\"] = \"parse\";\n            Phase2[\"Program\"] = \"program\";\n            Phase2[\"Bind\"] = \"bind\";\n            Phase2[\"Check\"] = \"check\";\n            Phase2[\"CheckTypes\"] = \"checkTypes\";\n            Phase2[\"Emit\"] = \"emit\";\n            Phase2[\"Session\"] = \"session\";\n          })(Phase = tracingEnabled2.Phase || (tracingEnabled2.Phase = {}));\n          function instant(phase, name, args) {\n            writeEvent(\"I\", phase, name, args, `\"s\":\"g\"`);\n          }\n          tracingEnabled2.instant = instant;\n          const eventStack = [];\n          function push(phase, name, args, separateBeginAndEnd = false) {\n            if (separateBeginAndEnd) {\n              writeEvent(\"B\", phase, name, args);\n            }\n            eventStack.push({ phase, name, args, time: 1e3 * timestamp(), separateBeginAndEnd });\n          }\n          tracingEnabled2.push = push;\n          function pop(results) {\n            Debug2.assert(eventStack.length > 0);\n            writeStackEvent(eventStack.length - 1, 1e3 * timestamp(), results);\n            eventStack.length--;\n          }\n          tracingEnabled2.pop = pop;\n          function popAll() {\n            const endTime = 1e3 * timestamp();\n            for (let i = eventStack.length - 1; i >= 0; i--) {\n              writeStackEvent(i, endTime);\n            }\n            eventStack.length = 0;\n          }\n          tracingEnabled2.popAll = popAll;\n          const sampleInterval = 1e3 * 10;\n          function writeStackEvent(index, endTime, results) {\n            const { phase, name, args, time, separateBeginAndEnd } = eventStack[index];\n            if (separateBeginAndEnd) {\n              Debug2.assert(!results, \"`results` are not supported for events with `separateBeginAndEnd`\");\n              writeEvent(\n                \"E\",\n                phase,\n                name,\n                args,\n                /*extras*/\n                void 0,\n                endTime\n              );\n            } else if (sampleInterval - time % sampleInterval <= endTime - time) {\n              writeEvent(\"X\", phase, name, { ...args, results }, `\"dur\":${endTime - time}`, time);\n            }\n          }\n          function writeEvent(eventType, phase, name, args, extras, time = 1e3 * timestamp()) {\n            if (mode === \"server\" && phase === \"checkTypes\")\n              return;\n            mark(\"beginTracing\");\n            fs.writeSync(traceFd, `,\n{\"pid\":1,\"tid\":1,\"ph\":\"${eventType}\",\"cat\":\"${phase}\",\"ts\":${time},\"name\":\"${name}\"`);\n            if (extras)\n              fs.writeSync(traceFd, `,${extras}`);\n            if (args)\n              fs.writeSync(traceFd, `,\"args\":${JSON.stringify(args)}`);\n            fs.writeSync(traceFd, `}`);\n            mark(\"endTracing\");\n            measure(\"Tracing\", \"beginTracing\", \"endTracing\");\n          }\n          function getLocation(node) {\n            const file = getSourceFileOfNode(node);\n            return !file ? void 0 : {\n              path: file.path,\n              start: indexFromOne(getLineAndCharacterOfPosition(file, node.pos)),\n              end: indexFromOne(getLineAndCharacterOfPosition(file, node.end))\n            };\n            function indexFromOne(lc) {\n              return {\n                line: lc.line + 1,\n                character: lc.character + 1\n              };\n            }\n          }\n          function dumpTypes(types) {\n            var _a22, _b3, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;\n            mark(\"beginDumpTypes\");\n            const typesPath = legend[legend.length - 1].typesPath;\n            const typesFd = fs.openSync(typesPath, \"w\");\n            const recursionIdentityMap = /* @__PURE__ */ new Map();\n            fs.writeSync(typesFd, \"[\");\n            const numTypes = types.length;\n            for (let i = 0; i < numTypes; i++) {\n              const type = types[i];\n              const objectFlags = type.objectFlags;\n              const symbol = (_a22 = type.aliasSymbol) != null ? _a22 : type.symbol;\n              let display;\n              if (objectFlags & 16 | type.flags & 2944) {\n                try {\n                  display = (_b3 = type.checker) == null ? void 0 : _b3.typeToString(type);\n                } catch (e) {\n                  display = void 0;\n                }\n              }\n              let indexedAccessProperties = {};\n              if (type.flags & 8388608) {\n                const indexedAccessType = type;\n                indexedAccessProperties = {\n                  indexedAccessObjectType: (_c = indexedAccessType.objectType) == null ? void 0 : _c.id,\n                  indexedAccessIndexType: (_d = indexedAccessType.indexType) == null ? void 0 : _d.id\n                };\n              }\n              let referenceProperties = {};\n              if (objectFlags & 4) {\n                const referenceType = type;\n                referenceProperties = {\n                  instantiatedType: (_e = referenceType.target) == null ? void 0 : _e.id,\n                  typeArguments: (_f = referenceType.resolvedTypeArguments) == null ? void 0 : _f.map((t) => t.id),\n                  referenceLocation: getLocation(referenceType.node)\n                };\n              }\n              let conditionalProperties = {};\n              if (type.flags & 16777216) {\n                const conditionalType = type;\n                conditionalProperties = {\n                  conditionalCheckType: (_g = conditionalType.checkType) == null ? void 0 : _g.id,\n                  conditionalExtendsType: (_h = conditionalType.extendsType) == null ? void 0 : _h.id,\n                  conditionalTrueType: (_j = (_i = conditionalType.resolvedTrueType) == null ? void 0 : _i.id) != null ? _j : -1,\n                  conditionalFalseType: (_l = (_k = conditionalType.resolvedFalseType) == null ? void 0 : _k.id) != null ? _l : -1\n                };\n              }\n              let substitutionProperties = {};\n              if (type.flags & 33554432) {\n                const substitutionType = type;\n                substitutionProperties = {\n                  substitutionBaseType: (_m = substitutionType.baseType) == null ? void 0 : _m.id,\n                  constraintType: (_n = substitutionType.constraint) == null ? void 0 : _n.id\n                };\n              }\n              let reverseMappedProperties = {};\n              if (objectFlags & 1024) {\n                const reverseMappedType = type;\n                reverseMappedProperties = {\n                  reverseMappedSourceType: (_o = reverseMappedType.source) == null ? void 0 : _o.id,\n                  reverseMappedMappedType: (_p = reverseMappedType.mappedType) == null ? void 0 : _p.id,\n                  reverseMappedConstraintType: (_q = reverseMappedType.constraintType) == null ? void 0 : _q.id\n                };\n              }\n              let evolvingArrayProperties = {};\n              if (objectFlags & 256) {\n                const evolvingArrayType = type;\n                evolvingArrayProperties = {\n                  evolvingArrayElementType: evolvingArrayType.elementType.id,\n                  evolvingArrayFinalType: (_r = evolvingArrayType.finalArrayType) == null ? void 0 : _r.id\n                };\n              }\n              let recursionToken;\n              const recursionIdentity = type.checker.getRecursionIdentity(type);\n              if (recursionIdentity) {\n                recursionToken = recursionIdentityMap.get(recursionIdentity);\n                if (!recursionToken) {\n                  recursionToken = recursionIdentityMap.size;\n                  recursionIdentityMap.set(recursionIdentity, recursionToken);\n                }\n              }\n              const descriptor = {\n                id: type.id,\n                intrinsicName: type.intrinsicName,\n                symbolName: (symbol == null ? void 0 : symbol.escapedName) && unescapeLeadingUnderscores(symbol.escapedName),\n                recursionId: recursionToken,\n                isTuple: objectFlags & 8 ? true : void 0,\n                unionTypes: type.flags & 1048576 ? (_s = type.types) == null ? void 0 : _s.map((t) => t.id) : void 0,\n                intersectionTypes: type.flags & 2097152 ? type.types.map((t) => t.id) : void 0,\n                aliasTypeArguments: (_t = type.aliasTypeArguments) == null ? void 0 : _t.map((t) => t.id),\n                keyofType: type.flags & 4194304 ? (_u = type.type) == null ? void 0 : _u.id : void 0,\n                ...indexedAccessProperties,\n                ...referenceProperties,\n                ...conditionalProperties,\n                ...substitutionProperties,\n                ...reverseMappedProperties,\n                ...evolvingArrayProperties,\n                destructuringPattern: getLocation(type.pattern),\n                firstDeclaration: getLocation((_v = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _v[0]),\n                flags: Debug2.formatTypeFlags(type.flags).split(\"|\"),\n                display\n              };\n              fs.writeSync(typesFd, JSON.stringify(descriptor));\n              if (i < numTypes - 1) {\n                fs.writeSync(typesFd, \",\\n\");\n              }\n            }\n            fs.writeSync(typesFd, \"]\\n\");\n            fs.closeSync(typesFd);\n            mark(\"endDumpTypes\");\n            measure(\"Dump types\", \"beginDumpTypes\", \"endDumpTypes\");\n          }\n          function dumpLegend() {\n            if (!legendPath) {\n              return;\n            }\n            fs.writeFileSync(legendPath, JSON.stringify(legend));\n          }\n          tracingEnabled2.dumpLegend = dumpLegend;\n        })(tracingEnabled || (tracingEnabled = {}));\n        startTracing = tracingEnabled.startTracing;\n        dumpTracingLegend = tracingEnabled.dumpLegend;\n      }\n    });\n    function diagnosticCategoryName(d, lowerCase = true) {\n      const name = DiagnosticCategory[d.category];\n      return lowerCase ? name.toLowerCase() : name;\n    }\n    var SyntaxKind, NodeFlags, ModifierFlags, JsxFlags, RelationComparisonResult, GeneratedIdentifierFlags, TokenFlags, FlowFlags, CommentDirectiveType, OperationCanceledException, FileIncludeKind, FilePreprocessingDiagnosticsKind, EmitOnly, StructureIsReused, ExitStatus, MemberOverrideStatus, UnionReduction, ContextFlags, NodeBuilderFlags, TypeFormatFlags, SymbolFormatFlags, SymbolAccessibility, SyntheticSymbolKind, TypePredicateKind, TypeReferenceSerializationKind, SymbolFlags, EnumKind, CheckFlags, InternalSymbolName, NodeCheckFlags, TypeFlags, ObjectFlags, VarianceFlags, ElementFlags, AccessFlags, JsxReferenceKind, SignatureKind, SignatureFlags, IndexKind, TypeMapKind, InferencePriority, InferenceFlags, Ternary, AssignmentDeclarationKind, DiagnosticCategory, ModuleResolutionKind, ModuleDetectionKind, WatchFileKind, WatchDirectoryKind, PollingWatchKind, ModuleKind, JsxEmit, ImportsNotUsedAsValues, NewLineKind, ScriptKind2, ScriptTarget2, LanguageVariant, WatchDirectoryFlags, CharacterCodes, Extension, TransformFlags, SnippetKind, EmitFlags, InternalEmitFlags, ExternalEmitHelpers, EmitHint, OuterExpressionKinds, LexicalEnvironmentFlags, BundleFileSectionKind, ListFormat, PragmaKindFlags, commentPragmas;\n    var init_types = __esm({\n      \"src/compiler/types.ts\"() {\n        \"use strict\";\n        SyntaxKind = /* @__PURE__ */ ((SyntaxKind5) => {\n          SyntaxKind5[SyntaxKind5[\"Unknown\"] = 0] = \"Unknown\";\n          SyntaxKind5[SyntaxKind5[\"EndOfFileToken\"] = 1] = \"EndOfFileToken\";\n          SyntaxKind5[SyntaxKind5[\"SingleLineCommentTrivia\"] = 2] = \"SingleLineCommentTrivia\";\n          SyntaxKind5[SyntaxKind5[\"MultiLineCommentTrivia\"] = 3] = \"MultiLineCommentTrivia\";\n          SyntaxKind5[SyntaxKind5[\"NewLineTrivia\"] = 4] = \"NewLineTrivia\";\n          SyntaxKind5[SyntaxKind5[\"WhitespaceTrivia\"] = 5] = \"WhitespaceTrivia\";\n          SyntaxKind5[SyntaxKind5[\"ShebangTrivia\"] = 6] = \"ShebangTrivia\";\n          SyntaxKind5[SyntaxKind5[\"ConflictMarkerTrivia\"] = 7] = \"ConflictMarkerTrivia\";\n          SyntaxKind5[SyntaxKind5[\"NumericLiteral\"] = 8] = \"NumericLiteral\";\n          SyntaxKind5[SyntaxKind5[\"BigIntLiteral\"] = 9] = \"BigIntLiteral\";\n          SyntaxKind5[SyntaxKind5[\"StringLiteral\"] = 10] = \"StringLiteral\";\n          SyntaxKind5[SyntaxKind5[\"JsxText\"] = 11] = \"JsxText\";\n          SyntaxKind5[SyntaxKind5[\"JsxTextAllWhiteSpaces\"] = 12] = \"JsxTextAllWhiteSpaces\";\n          SyntaxKind5[SyntaxKind5[\"RegularExpressionLiteral\"] = 13] = \"RegularExpressionLiteral\";\n          SyntaxKind5[SyntaxKind5[\"NoSubstitutionTemplateLiteral\"] = 14] = \"NoSubstitutionTemplateLiteral\";\n          SyntaxKind5[SyntaxKind5[\"TemplateHead\"] = 15] = \"TemplateHead\";\n          SyntaxKind5[SyntaxKind5[\"TemplateMiddle\"] = 16] = \"TemplateMiddle\";\n          SyntaxKind5[SyntaxKind5[\"TemplateTail\"] = 17] = \"TemplateTail\";\n          SyntaxKind5[SyntaxKind5[\"OpenBraceToken\"] = 18] = \"OpenBraceToken\";\n          SyntaxKind5[SyntaxKind5[\"CloseBraceToken\"] = 19] = \"CloseBraceToken\";\n          SyntaxKind5[SyntaxKind5[\"OpenParenToken\"] = 20] = \"OpenParenToken\";\n          SyntaxKind5[SyntaxKind5[\"CloseParenToken\"] = 21] = \"CloseParenToken\";\n          SyntaxKind5[SyntaxKind5[\"OpenBracketToken\"] = 22] = \"OpenBracketToken\";\n          SyntaxKind5[SyntaxKind5[\"CloseBracketToken\"] = 23] = \"CloseBracketToken\";\n          SyntaxKind5[SyntaxKind5[\"DotToken\"] = 24] = \"DotToken\";\n          SyntaxKind5[SyntaxKind5[\"DotDotDotToken\"] = 25] = \"DotDotDotToken\";\n          SyntaxKind5[SyntaxKind5[\"SemicolonToken\"] = 26] = \"SemicolonToken\";\n          SyntaxKind5[SyntaxKind5[\"CommaToken\"] = 27] = \"CommaToken\";\n          SyntaxKind5[SyntaxKind5[\"QuestionDotToken\"] = 28] = \"QuestionDotToken\";\n          SyntaxKind5[SyntaxKind5[\"LessThanToken\"] = 29] = \"LessThanToken\";\n          SyntaxKind5[SyntaxKind5[\"LessThanSlashToken\"] = 30] = \"LessThanSlashToken\";\n          SyntaxKind5[SyntaxKind5[\"GreaterThanToken\"] = 31] = \"GreaterThanToken\";\n          SyntaxKind5[SyntaxKind5[\"LessThanEqualsToken\"] = 32] = \"LessThanEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"GreaterThanEqualsToken\"] = 33] = \"GreaterThanEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"EqualsEqualsToken\"] = 34] = \"EqualsEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"ExclamationEqualsToken\"] = 35] = \"ExclamationEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"EqualsEqualsEqualsToken\"] = 36] = \"EqualsEqualsEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"ExclamationEqualsEqualsToken\"] = 37] = \"ExclamationEqualsEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"EqualsGreaterThanToken\"] = 38] = \"EqualsGreaterThanToken\";\n          SyntaxKind5[SyntaxKind5[\"PlusToken\"] = 39] = \"PlusToken\";\n          SyntaxKind5[SyntaxKind5[\"MinusToken\"] = 40] = \"MinusToken\";\n          SyntaxKind5[SyntaxKind5[\"AsteriskToken\"] = 41] = \"AsteriskToken\";\n          SyntaxKind5[SyntaxKind5[\"AsteriskAsteriskToken\"] = 42] = \"AsteriskAsteriskToken\";\n          SyntaxKind5[SyntaxKind5[\"SlashToken\"] = 43] = \"SlashToken\";\n          SyntaxKind5[SyntaxKind5[\"PercentToken\"] = 44] = \"PercentToken\";\n          SyntaxKind5[SyntaxKind5[\"PlusPlusToken\"] = 45] = \"PlusPlusToken\";\n          SyntaxKind5[SyntaxKind5[\"MinusMinusToken\"] = 46] = \"MinusMinusToken\";\n          SyntaxKind5[SyntaxKind5[\"LessThanLessThanToken\"] = 47] = \"LessThanLessThanToken\";\n          SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanToken\"] = 48] = \"GreaterThanGreaterThanToken\";\n          SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanGreaterThanToken\"] = 49] = \"GreaterThanGreaterThanGreaterThanToken\";\n          SyntaxKind5[SyntaxKind5[\"AmpersandToken\"] = 50] = \"AmpersandToken\";\n          SyntaxKind5[SyntaxKind5[\"BarToken\"] = 51] = \"BarToken\";\n          SyntaxKind5[SyntaxKind5[\"CaretToken\"] = 52] = \"CaretToken\";\n          SyntaxKind5[SyntaxKind5[\"ExclamationToken\"] = 53] = \"ExclamationToken\";\n          SyntaxKind5[SyntaxKind5[\"TildeToken\"] = 54] = \"TildeToken\";\n          SyntaxKind5[SyntaxKind5[\"AmpersandAmpersandToken\"] = 55] = \"AmpersandAmpersandToken\";\n          SyntaxKind5[SyntaxKind5[\"BarBarToken\"] = 56] = \"BarBarToken\";\n          SyntaxKind5[SyntaxKind5[\"QuestionToken\"] = 57] = \"QuestionToken\";\n          SyntaxKind5[SyntaxKind5[\"ColonToken\"] = 58] = \"ColonToken\";\n          SyntaxKind5[SyntaxKind5[\"AtToken\"] = 59] = \"AtToken\";\n          SyntaxKind5[SyntaxKind5[\"QuestionQuestionToken\"] = 60] = \"QuestionQuestionToken\";\n          SyntaxKind5[SyntaxKind5[\"BacktickToken\"] = 61] = \"BacktickToken\";\n          SyntaxKind5[SyntaxKind5[\"HashToken\"] = 62] = \"HashToken\";\n          SyntaxKind5[SyntaxKind5[\"EqualsToken\"] = 63] = \"EqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"PlusEqualsToken\"] = 64] = \"PlusEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"MinusEqualsToken\"] = 65] = \"MinusEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"AsteriskEqualsToken\"] = 66] = \"AsteriskEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"AsteriskAsteriskEqualsToken\"] = 67] = \"AsteriskAsteriskEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"SlashEqualsToken\"] = 68] = \"SlashEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"PercentEqualsToken\"] = 69] = \"PercentEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"LessThanLessThanEqualsToken\"] = 70] = \"LessThanLessThanEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanEqualsToken\"] = 71] = \"GreaterThanGreaterThanEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanGreaterThanEqualsToken\"] = 72] = \"GreaterThanGreaterThanGreaterThanEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"AmpersandEqualsToken\"] = 73] = \"AmpersandEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"BarEqualsToken\"] = 74] = \"BarEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"BarBarEqualsToken\"] = 75] = \"BarBarEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"AmpersandAmpersandEqualsToken\"] = 76] = \"AmpersandAmpersandEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"QuestionQuestionEqualsToken\"] = 77] = \"QuestionQuestionEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"CaretEqualsToken\"] = 78] = \"CaretEqualsToken\";\n          SyntaxKind5[SyntaxKind5[\"Identifier\"] = 79] = \"Identifier\";\n          SyntaxKind5[SyntaxKind5[\"PrivateIdentifier\"] = 80] = \"PrivateIdentifier\";\n          SyntaxKind5[SyntaxKind5[\"BreakKeyword\"] = 81] = \"BreakKeyword\";\n          SyntaxKind5[SyntaxKind5[\"CaseKeyword\"] = 82] = \"CaseKeyword\";\n          SyntaxKind5[SyntaxKind5[\"CatchKeyword\"] = 83] = \"CatchKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ClassKeyword\"] = 84] = \"ClassKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ConstKeyword\"] = 85] = \"ConstKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ContinueKeyword\"] = 86] = \"ContinueKeyword\";\n          SyntaxKind5[SyntaxKind5[\"DebuggerKeyword\"] = 87] = \"DebuggerKeyword\";\n          SyntaxKind5[SyntaxKind5[\"DefaultKeyword\"] = 88] = \"DefaultKeyword\";\n          SyntaxKind5[SyntaxKind5[\"DeleteKeyword\"] = 89] = \"DeleteKeyword\";\n          SyntaxKind5[SyntaxKind5[\"DoKeyword\"] = 90] = \"DoKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ElseKeyword\"] = 91] = \"ElseKeyword\";\n          SyntaxKind5[SyntaxKind5[\"EnumKeyword\"] = 92] = \"EnumKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ExportKeyword\"] = 93] = \"ExportKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ExtendsKeyword\"] = 94] = \"ExtendsKeyword\";\n          SyntaxKind5[SyntaxKind5[\"FalseKeyword\"] = 95] = \"FalseKeyword\";\n          SyntaxKind5[SyntaxKind5[\"FinallyKeyword\"] = 96] = \"FinallyKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ForKeyword\"] = 97] = \"ForKeyword\";\n          SyntaxKind5[SyntaxKind5[\"FunctionKeyword\"] = 98] = \"FunctionKeyword\";\n          SyntaxKind5[SyntaxKind5[\"IfKeyword\"] = 99] = \"IfKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ImportKeyword\"] = 100] = \"ImportKeyword\";\n          SyntaxKind5[SyntaxKind5[\"InKeyword\"] = 101] = \"InKeyword\";\n          SyntaxKind5[SyntaxKind5[\"InstanceOfKeyword\"] = 102] = \"InstanceOfKeyword\";\n          SyntaxKind5[SyntaxKind5[\"NewKeyword\"] = 103] = \"NewKeyword\";\n          SyntaxKind5[SyntaxKind5[\"NullKeyword\"] = 104] = \"NullKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ReturnKeyword\"] = 105] = \"ReturnKeyword\";\n          SyntaxKind5[SyntaxKind5[\"SuperKeyword\"] = 106] = \"SuperKeyword\";\n          SyntaxKind5[SyntaxKind5[\"SwitchKeyword\"] = 107] = \"SwitchKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ThisKeyword\"] = 108] = \"ThisKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ThrowKeyword\"] = 109] = \"ThrowKeyword\";\n          SyntaxKind5[SyntaxKind5[\"TrueKeyword\"] = 110] = \"TrueKeyword\";\n          SyntaxKind5[SyntaxKind5[\"TryKeyword\"] = 111] = \"TryKeyword\";\n          SyntaxKind5[SyntaxKind5[\"TypeOfKeyword\"] = 112] = \"TypeOfKeyword\";\n          SyntaxKind5[SyntaxKind5[\"VarKeyword\"] = 113] = \"VarKeyword\";\n          SyntaxKind5[SyntaxKind5[\"VoidKeyword\"] = 114] = \"VoidKeyword\";\n          SyntaxKind5[SyntaxKind5[\"WhileKeyword\"] = 115] = \"WhileKeyword\";\n          SyntaxKind5[SyntaxKind5[\"WithKeyword\"] = 116] = \"WithKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ImplementsKeyword\"] = 117] = \"ImplementsKeyword\";\n          SyntaxKind5[SyntaxKind5[\"InterfaceKeyword\"] = 118] = \"InterfaceKeyword\";\n          SyntaxKind5[SyntaxKind5[\"LetKeyword\"] = 119] = \"LetKeyword\";\n          SyntaxKind5[SyntaxKind5[\"PackageKeyword\"] = 120] = \"PackageKeyword\";\n          SyntaxKind5[SyntaxKind5[\"PrivateKeyword\"] = 121] = \"PrivateKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ProtectedKeyword\"] = 122] = \"ProtectedKeyword\";\n          SyntaxKind5[SyntaxKind5[\"PublicKeyword\"] = 123] = \"PublicKeyword\";\n          SyntaxKind5[SyntaxKind5[\"StaticKeyword\"] = 124] = \"StaticKeyword\";\n          SyntaxKind5[SyntaxKind5[\"YieldKeyword\"] = 125] = \"YieldKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AbstractKeyword\"] = 126] = \"AbstractKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AccessorKeyword\"] = 127] = \"AccessorKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AsKeyword\"] = 128] = \"AsKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AssertsKeyword\"] = 129] = \"AssertsKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AssertKeyword\"] = 130] = \"AssertKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AnyKeyword\"] = 131] = \"AnyKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AsyncKeyword\"] = 132] = \"AsyncKeyword\";\n          SyntaxKind5[SyntaxKind5[\"AwaitKeyword\"] = 133] = \"AwaitKeyword\";\n          SyntaxKind5[SyntaxKind5[\"BooleanKeyword\"] = 134] = \"BooleanKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ConstructorKeyword\"] = 135] = \"ConstructorKeyword\";\n          SyntaxKind5[SyntaxKind5[\"DeclareKeyword\"] = 136] = \"DeclareKeyword\";\n          SyntaxKind5[SyntaxKind5[\"GetKeyword\"] = 137] = \"GetKeyword\";\n          SyntaxKind5[SyntaxKind5[\"InferKeyword\"] = 138] = \"InferKeyword\";\n          SyntaxKind5[SyntaxKind5[\"IntrinsicKeyword\"] = 139] = \"IntrinsicKeyword\";\n          SyntaxKind5[SyntaxKind5[\"IsKeyword\"] = 140] = \"IsKeyword\";\n          SyntaxKind5[SyntaxKind5[\"KeyOfKeyword\"] = 141] = \"KeyOfKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ModuleKeyword\"] = 142] = \"ModuleKeyword\";\n          SyntaxKind5[SyntaxKind5[\"NamespaceKeyword\"] = 143] = \"NamespaceKeyword\";\n          SyntaxKind5[SyntaxKind5[\"NeverKeyword\"] = 144] = \"NeverKeyword\";\n          SyntaxKind5[SyntaxKind5[\"OutKeyword\"] = 145] = \"OutKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ReadonlyKeyword\"] = 146] = \"ReadonlyKeyword\";\n          SyntaxKind5[SyntaxKind5[\"RequireKeyword\"] = 147] = \"RequireKeyword\";\n          SyntaxKind5[SyntaxKind5[\"NumberKeyword\"] = 148] = \"NumberKeyword\";\n          SyntaxKind5[SyntaxKind5[\"ObjectKeyword\"] = 149] = \"ObjectKeyword\";\n          SyntaxKind5[SyntaxKind5[\"SatisfiesKeyword\"] = 150] = \"SatisfiesKeyword\";\n          SyntaxKind5[SyntaxKind5[\"SetKeyword\"] = 151] = \"SetKeyword\";\n          SyntaxKind5[SyntaxKind5[\"StringKeyword\"] = 152] = \"StringKeyword\";\n          SyntaxKind5[SyntaxKind5[\"SymbolKeyword\"] = 153] = \"SymbolKeyword\";\n          SyntaxKind5[SyntaxKind5[\"TypeKeyword\"] = 154] = \"TypeKeyword\";\n          SyntaxKind5[SyntaxKind5[\"UndefinedKeyword\"] = 155] = \"UndefinedKeyword\";\n          SyntaxKind5[SyntaxKind5[\"UniqueKeyword\"] = 156] = \"UniqueKeyword\";\n          SyntaxKind5[SyntaxKind5[\"UnknownKeyword\"] = 157] = \"UnknownKeyword\";\n          SyntaxKind5[SyntaxKind5[\"FromKeyword\"] = 158] = \"FromKeyword\";\n          SyntaxKind5[SyntaxKind5[\"GlobalKeyword\"] = 159] = \"GlobalKeyword\";\n          SyntaxKind5[SyntaxKind5[\"BigIntKeyword\"] = 160] = \"BigIntKeyword\";\n          SyntaxKind5[SyntaxKind5[\"OverrideKeyword\"] = 161] = \"OverrideKeyword\";\n          SyntaxKind5[SyntaxKind5[\"OfKeyword\"] = 162] = \"OfKeyword\";\n          SyntaxKind5[SyntaxKind5[\"QualifiedName\"] = 163] = \"QualifiedName\";\n          SyntaxKind5[SyntaxKind5[\"ComputedPropertyName\"] = 164] = \"ComputedPropertyName\";\n          SyntaxKind5[SyntaxKind5[\"TypeParameter\"] = 165] = \"TypeParameter\";\n          SyntaxKind5[SyntaxKind5[\"Parameter\"] = 166] = \"Parameter\";\n          SyntaxKind5[SyntaxKind5[\"Decorator\"] = 167] = \"Decorator\";\n          SyntaxKind5[SyntaxKind5[\"PropertySignature\"] = 168] = \"PropertySignature\";\n          SyntaxKind5[SyntaxKind5[\"PropertyDeclaration\"] = 169] = \"PropertyDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"MethodSignature\"] = 170] = \"MethodSignature\";\n          SyntaxKind5[SyntaxKind5[\"MethodDeclaration\"] = 171] = \"MethodDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ClassStaticBlockDeclaration\"] = 172] = \"ClassStaticBlockDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"Constructor\"] = 173] = \"Constructor\";\n          SyntaxKind5[SyntaxKind5[\"GetAccessor\"] = 174] = \"GetAccessor\";\n          SyntaxKind5[SyntaxKind5[\"SetAccessor\"] = 175] = \"SetAccessor\";\n          SyntaxKind5[SyntaxKind5[\"CallSignature\"] = 176] = \"CallSignature\";\n          SyntaxKind5[SyntaxKind5[\"ConstructSignature\"] = 177] = \"ConstructSignature\";\n          SyntaxKind5[SyntaxKind5[\"IndexSignature\"] = 178] = \"IndexSignature\";\n          SyntaxKind5[SyntaxKind5[\"TypePredicate\"] = 179] = \"TypePredicate\";\n          SyntaxKind5[SyntaxKind5[\"TypeReference\"] = 180] = \"TypeReference\";\n          SyntaxKind5[SyntaxKind5[\"FunctionType\"] = 181] = \"FunctionType\";\n          SyntaxKind5[SyntaxKind5[\"ConstructorType\"] = 182] = \"ConstructorType\";\n          SyntaxKind5[SyntaxKind5[\"TypeQuery\"] = 183] = \"TypeQuery\";\n          SyntaxKind5[SyntaxKind5[\"TypeLiteral\"] = 184] = \"TypeLiteral\";\n          SyntaxKind5[SyntaxKind5[\"ArrayType\"] = 185] = \"ArrayType\";\n          SyntaxKind5[SyntaxKind5[\"TupleType\"] = 186] = \"TupleType\";\n          SyntaxKind5[SyntaxKind5[\"OptionalType\"] = 187] = \"OptionalType\";\n          SyntaxKind5[SyntaxKind5[\"RestType\"] = 188] = \"RestType\";\n          SyntaxKind5[SyntaxKind5[\"UnionType\"] = 189] = \"UnionType\";\n          SyntaxKind5[SyntaxKind5[\"IntersectionType\"] = 190] = \"IntersectionType\";\n          SyntaxKind5[SyntaxKind5[\"ConditionalType\"] = 191] = \"ConditionalType\";\n          SyntaxKind5[SyntaxKind5[\"InferType\"] = 192] = \"InferType\";\n          SyntaxKind5[SyntaxKind5[\"ParenthesizedType\"] = 193] = \"ParenthesizedType\";\n          SyntaxKind5[SyntaxKind5[\"ThisType\"] = 194] = \"ThisType\";\n          SyntaxKind5[SyntaxKind5[\"TypeOperator\"] = 195] = \"TypeOperator\";\n          SyntaxKind5[SyntaxKind5[\"IndexedAccessType\"] = 196] = \"IndexedAccessType\";\n          SyntaxKind5[SyntaxKind5[\"MappedType\"] = 197] = \"MappedType\";\n          SyntaxKind5[SyntaxKind5[\"LiteralType\"] = 198] = \"LiteralType\";\n          SyntaxKind5[SyntaxKind5[\"NamedTupleMember\"] = 199] = \"NamedTupleMember\";\n          SyntaxKind5[SyntaxKind5[\"TemplateLiteralType\"] = 200] = \"TemplateLiteralType\";\n          SyntaxKind5[SyntaxKind5[\"TemplateLiteralTypeSpan\"] = 201] = \"TemplateLiteralTypeSpan\";\n          SyntaxKind5[SyntaxKind5[\"ImportType\"] = 202] = \"ImportType\";\n          SyntaxKind5[SyntaxKind5[\"ObjectBindingPattern\"] = 203] = \"ObjectBindingPattern\";\n          SyntaxKind5[SyntaxKind5[\"ArrayBindingPattern\"] = 204] = \"ArrayBindingPattern\";\n          SyntaxKind5[SyntaxKind5[\"BindingElement\"] = 205] = \"BindingElement\";\n          SyntaxKind5[SyntaxKind5[\"ArrayLiteralExpression\"] = 206] = \"ArrayLiteralExpression\";\n          SyntaxKind5[SyntaxKind5[\"ObjectLiteralExpression\"] = 207] = \"ObjectLiteralExpression\";\n          SyntaxKind5[SyntaxKind5[\"PropertyAccessExpression\"] = 208] = \"PropertyAccessExpression\";\n          SyntaxKind5[SyntaxKind5[\"ElementAccessExpression\"] = 209] = \"ElementAccessExpression\";\n          SyntaxKind5[SyntaxKind5[\"CallExpression\"] = 210] = \"CallExpression\";\n          SyntaxKind5[SyntaxKind5[\"NewExpression\"] = 211] = \"NewExpression\";\n          SyntaxKind5[SyntaxKind5[\"TaggedTemplateExpression\"] = 212] = \"TaggedTemplateExpression\";\n          SyntaxKind5[SyntaxKind5[\"TypeAssertionExpression\"] = 213] = \"TypeAssertionExpression\";\n          SyntaxKind5[SyntaxKind5[\"ParenthesizedExpression\"] = 214] = \"ParenthesizedExpression\";\n          SyntaxKind5[SyntaxKind5[\"FunctionExpression\"] = 215] = \"FunctionExpression\";\n          SyntaxKind5[SyntaxKind5[\"ArrowFunction\"] = 216] = \"ArrowFunction\";\n          SyntaxKind5[SyntaxKind5[\"DeleteExpression\"] = 217] = \"DeleteExpression\";\n          SyntaxKind5[SyntaxKind5[\"TypeOfExpression\"] = 218] = \"TypeOfExpression\";\n          SyntaxKind5[SyntaxKind5[\"VoidExpression\"] = 219] = \"VoidExpression\";\n          SyntaxKind5[SyntaxKind5[\"AwaitExpression\"] = 220] = \"AwaitExpression\";\n          SyntaxKind5[SyntaxKind5[\"PrefixUnaryExpression\"] = 221] = \"PrefixUnaryExpression\";\n          SyntaxKind5[SyntaxKind5[\"PostfixUnaryExpression\"] = 222] = \"PostfixUnaryExpression\";\n          SyntaxKind5[SyntaxKind5[\"BinaryExpression\"] = 223] = \"BinaryExpression\";\n          SyntaxKind5[SyntaxKind5[\"ConditionalExpression\"] = 224] = \"ConditionalExpression\";\n          SyntaxKind5[SyntaxKind5[\"TemplateExpression\"] = 225] = \"TemplateExpression\";\n          SyntaxKind5[SyntaxKind5[\"YieldExpression\"] = 226] = \"YieldExpression\";\n          SyntaxKind5[SyntaxKind5[\"SpreadElement\"] = 227] = \"SpreadElement\";\n          SyntaxKind5[SyntaxKind5[\"ClassExpression\"] = 228] = \"ClassExpression\";\n          SyntaxKind5[SyntaxKind5[\"OmittedExpression\"] = 229] = \"OmittedExpression\";\n          SyntaxKind5[SyntaxKind5[\"ExpressionWithTypeArguments\"] = 230] = \"ExpressionWithTypeArguments\";\n          SyntaxKind5[SyntaxKind5[\"AsExpression\"] = 231] = \"AsExpression\";\n          SyntaxKind5[SyntaxKind5[\"NonNullExpression\"] = 232] = \"NonNullExpression\";\n          SyntaxKind5[SyntaxKind5[\"MetaProperty\"] = 233] = \"MetaProperty\";\n          SyntaxKind5[SyntaxKind5[\"SyntheticExpression\"] = 234] = \"SyntheticExpression\";\n          SyntaxKind5[SyntaxKind5[\"SatisfiesExpression\"] = 235] = \"SatisfiesExpression\";\n          SyntaxKind5[SyntaxKind5[\"TemplateSpan\"] = 236] = \"TemplateSpan\";\n          SyntaxKind5[SyntaxKind5[\"SemicolonClassElement\"] = 237] = \"SemicolonClassElement\";\n          SyntaxKind5[SyntaxKind5[\"Block\"] = 238] = \"Block\";\n          SyntaxKind5[SyntaxKind5[\"EmptyStatement\"] = 239] = \"EmptyStatement\";\n          SyntaxKind5[SyntaxKind5[\"VariableStatement\"] = 240] = \"VariableStatement\";\n          SyntaxKind5[SyntaxKind5[\"ExpressionStatement\"] = 241] = \"ExpressionStatement\";\n          SyntaxKind5[SyntaxKind5[\"IfStatement\"] = 242] = \"IfStatement\";\n          SyntaxKind5[SyntaxKind5[\"DoStatement\"] = 243] = \"DoStatement\";\n          SyntaxKind5[SyntaxKind5[\"WhileStatement\"] = 244] = \"WhileStatement\";\n          SyntaxKind5[SyntaxKind5[\"ForStatement\"] = 245] = \"ForStatement\";\n          SyntaxKind5[SyntaxKind5[\"ForInStatement\"] = 246] = \"ForInStatement\";\n          SyntaxKind5[SyntaxKind5[\"ForOfStatement\"] = 247] = \"ForOfStatement\";\n          SyntaxKind5[SyntaxKind5[\"ContinueStatement\"] = 248] = \"ContinueStatement\";\n          SyntaxKind5[SyntaxKind5[\"BreakStatement\"] = 249] = \"BreakStatement\";\n          SyntaxKind5[SyntaxKind5[\"ReturnStatement\"] = 250] = \"ReturnStatement\";\n          SyntaxKind5[SyntaxKind5[\"WithStatement\"] = 251] = \"WithStatement\";\n          SyntaxKind5[SyntaxKind5[\"SwitchStatement\"] = 252] = \"SwitchStatement\";\n          SyntaxKind5[SyntaxKind5[\"LabeledStatement\"] = 253] = \"LabeledStatement\";\n          SyntaxKind5[SyntaxKind5[\"ThrowStatement\"] = 254] = \"ThrowStatement\";\n          SyntaxKind5[SyntaxKind5[\"TryStatement\"] = 255] = \"TryStatement\";\n          SyntaxKind5[SyntaxKind5[\"DebuggerStatement\"] = 256] = \"DebuggerStatement\";\n          SyntaxKind5[SyntaxKind5[\"VariableDeclaration\"] = 257] = \"VariableDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"VariableDeclarationList\"] = 258] = \"VariableDeclarationList\";\n          SyntaxKind5[SyntaxKind5[\"FunctionDeclaration\"] = 259] = \"FunctionDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ClassDeclaration\"] = 260] = \"ClassDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"InterfaceDeclaration\"] = 261] = \"InterfaceDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"TypeAliasDeclaration\"] = 262] = \"TypeAliasDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"EnumDeclaration\"] = 263] = \"EnumDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ModuleDeclaration\"] = 264] = \"ModuleDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ModuleBlock\"] = 265] = \"ModuleBlock\";\n          SyntaxKind5[SyntaxKind5[\"CaseBlock\"] = 266] = \"CaseBlock\";\n          SyntaxKind5[SyntaxKind5[\"NamespaceExportDeclaration\"] = 267] = \"NamespaceExportDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ImportEqualsDeclaration\"] = 268] = \"ImportEqualsDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ImportDeclaration\"] = 269] = \"ImportDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ImportClause\"] = 270] = \"ImportClause\";\n          SyntaxKind5[SyntaxKind5[\"NamespaceImport\"] = 271] = \"NamespaceImport\";\n          SyntaxKind5[SyntaxKind5[\"NamedImports\"] = 272] = \"NamedImports\";\n          SyntaxKind5[SyntaxKind5[\"ImportSpecifier\"] = 273] = \"ImportSpecifier\";\n          SyntaxKind5[SyntaxKind5[\"ExportAssignment\"] = 274] = \"ExportAssignment\";\n          SyntaxKind5[SyntaxKind5[\"ExportDeclaration\"] = 275] = \"ExportDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"NamedExports\"] = 276] = \"NamedExports\";\n          SyntaxKind5[SyntaxKind5[\"NamespaceExport\"] = 277] = \"NamespaceExport\";\n          SyntaxKind5[SyntaxKind5[\"ExportSpecifier\"] = 278] = \"ExportSpecifier\";\n          SyntaxKind5[SyntaxKind5[\"MissingDeclaration\"] = 279] = \"MissingDeclaration\";\n          SyntaxKind5[SyntaxKind5[\"ExternalModuleReference\"] = 280] = \"ExternalModuleReference\";\n          SyntaxKind5[SyntaxKind5[\"JsxElement\"] = 281] = \"JsxElement\";\n          SyntaxKind5[SyntaxKind5[\"JsxSelfClosingElement\"] = 282] = \"JsxSelfClosingElement\";\n          SyntaxKind5[SyntaxKind5[\"JsxOpeningElement\"] = 283] = \"JsxOpeningElement\";\n          SyntaxKind5[SyntaxKind5[\"JsxClosingElement\"] = 284] = \"JsxClosingElement\";\n          SyntaxKind5[SyntaxKind5[\"JsxFragment\"] = 285] = \"JsxFragment\";\n          SyntaxKind5[SyntaxKind5[\"JsxOpeningFragment\"] = 286] = \"JsxOpeningFragment\";\n          SyntaxKind5[SyntaxKind5[\"JsxClosingFragment\"] = 287] = \"JsxClosingFragment\";\n          SyntaxKind5[SyntaxKind5[\"JsxAttribute\"] = 288] = \"JsxAttribute\";\n          SyntaxKind5[SyntaxKind5[\"JsxAttributes\"] = 289] = \"JsxAttributes\";\n          SyntaxKind5[SyntaxKind5[\"JsxSpreadAttribute\"] = 290] = \"JsxSpreadAttribute\";\n          SyntaxKind5[SyntaxKind5[\"JsxExpression\"] = 291] = \"JsxExpression\";\n          SyntaxKind5[SyntaxKind5[\"CaseClause\"] = 292] = \"CaseClause\";\n          SyntaxKind5[SyntaxKind5[\"DefaultClause\"] = 293] = \"DefaultClause\";\n          SyntaxKind5[SyntaxKind5[\"HeritageClause\"] = 294] = \"HeritageClause\";\n          SyntaxKind5[SyntaxKind5[\"CatchClause\"] = 295] = \"CatchClause\";\n          SyntaxKind5[SyntaxKind5[\"AssertClause\"] = 296] = \"AssertClause\";\n          SyntaxKind5[SyntaxKind5[\"AssertEntry\"] = 297] = \"AssertEntry\";\n          SyntaxKind5[SyntaxKind5[\"ImportTypeAssertionContainer\"] = 298] = \"ImportTypeAssertionContainer\";\n          SyntaxKind5[SyntaxKind5[\"PropertyAssignment\"] = 299] = \"PropertyAssignment\";\n          SyntaxKind5[SyntaxKind5[\"ShorthandPropertyAssignment\"] = 300] = \"ShorthandPropertyAssignment\";\n          SyntaxKind5[SyntaxKind5[\"SpreadAssignment\"] = 301] = \"SpreadAssignment\";\n          SyntaxKind5[SyntaxKind5[\"EnumMember\"] = 302] = \"EnumMember\";\n          SyntaxKind5[SyntaxKind5[\"UnparsedPrologue\"] = 303] = \"UnparsedPrologue\";\n          SyntaxKind5[SyntaxKind5[\"UnparsedPrepend\"] = 304] = \"UnparsedPrepend\";\n          SyntaxKind5[SyntaxKind5[\"UnparsedText\"] = 305] = \"UnparsedText\";\n          SyntaxKind5[SyntaxKind5[\"UnparsedInternalText\"] = 306] = \"UnparsedInternalText\";\n          SyntaxKind5[SyntaxKind5[\"UnparsedSyntheticReference\"] = 307] = \"UnparsedSyntheticReference\";\n          SyntaxKind5[SyntaxKind5[\"SourceFile\"] = 308] = \"SourceFile\";\n          SyntaxKind5[SyntaxKind5[\"Bundle\"] = 309] = \"Bundle\";\n          SyntaxKind5[SyntaxKind5[\"UnparsedSource\"] = 310] = \"UnparsedSource\";\n          SyntaxKind5[SyntaxKind5[\"InputFiles\"] = 311] = \"InputFiles\";\n          SyntaxKind5[SyntaxKind5[\"JSDocTypeExpression\"] = 312] = \"JSDocTypeExpression\";\n          SyntaxKind5[SyntaxKind5[\"JSDocNameReference\"] = 313] = \"JSDocNameReference\";\n          SyntaxKind5[SyntaxKind5[\"JSDocMemberName\"] = 314] = \"JSDocMemberName\";\n          SyntaxKind5[SyntaxKind5[\"JSDocAllType\"] = 315] = \"JSDocAllType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocUnknownType\"] = 316] = \"JSDocUnknownType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocNullableType\"] = 317] = \"JSDocNullableType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocNonNullableType\"] = 318] = \"JSDocNonNullableType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocOptionalType\"] = 319] = \"JSDocOptionalType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocFunctionType\"] = 320] = \"JSDocFunctionType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocVariadicType\"] = 321] = \"JSDocVariadicType\";\n          SyntaxKind5[SyntaxKind5[\"JSDocNamepathType\"] = 322] = \"JSDocNamepathType\";\n          SyntaxKind5[SyntaxKind5[\"JSDoc\"] = 323] = \"JSDoc\";\n          SyntaxKind5[\n            SyntaxKind5[\"JSDocComment\"] = 323\n            /* JSDoc */\n          ] = \"JSDocComment\";\n          SyntaxKind5[SyntaxKind5[\"JSDocText\"] = 324] = \"JSDocText\";\n          SyntaxKind5[SyntaxKind5[\"JSDocTypeLiteral\"] = 325] = \"JSDocTypeLiteral\";\n          SyntaxKind5[SyntaxKind5[\"JSDocSignature\"] = 326] = \"JSDocSignature\";\n          SyntaxKind5[SyntaxKind5[\"JSDocLink\"] = 327] = \"JSDocLink\";\n          SyntaxKind5[SyntaxKind5[\"JSDocLinkCode\"] = 328] = \"JSDocLinkCode\";\n          SyntaxKind5[SyntaxKind5[\"JSDocLinkPlain\"] = 329] = \"JSDocLinkPlain\";\n          SyntaxKind5[SyntaxKind5[\"JSDocTag\"] = 330] = \"JSDocTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocAugmentsTag\"] = 331] = \"JSDocAugmentsTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocImplementsTag\"] = 332] = \"JSDocImplementsTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocAuthorTag\"] = 333] = \"JSDocAuthorTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocDeprecatedTag\"] = 334] = \"JSDocDeprecatedTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocClassTag\"] = 335] = \"JSDocClassTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocPublicTag\"] = 336] = \"JSDocPublicTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocPrivateTag\"] = 337] = \"JSDocPrivateTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocProtectedTag\"] = 338] = \"JSDocProtectedTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocReadonlyTag\"] = 339] = \"JSDocReadonlyTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocOverrideTag\"] = 340] = \"JSDocOverrideTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocCallbackTag\"] = 341] = \"JSDocCallbackTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocOverloadTag\"] = 342] = \"JSDocOverloadTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocEnumTag\"] = 343] = \"JSDocEnumTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocParameterTag\"] = 344] = \"JSDocParameterTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocReturnTag\"] = 345] = \"JSDocReturnTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocThisTag\"] = 346] = \"JSDocThisTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocTypeTag\"] = 347] = \"JSDocTypeTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocTemplateTag\"] = 348] = \"JSDocTemplateTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocTypedefTag\"] = 349] = \"JSDocTypedefTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocSeeTag\"] = 350] = \"JSDocSeeTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocPropertyTag\"] = 351] = \"JSDocPropertyTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocThrowsTag\"] = 352] = \"JSDocThrowsTag\";\n          SyntaxKind5[SyntaxKind5[\"JSDocSatisfiesTag\"] = 353] = \"JSDocSatisfiesTag\";\n          SyntaxKind5[SyntaxKind5[\"SyntaxList\"] = 354] = \"SyntaxList\";\n          SyntaxKind5[SyntaxKind5[\"NotEmittedStatement\"] = 355] = \"NotEmittedStatement\";\n          SyntaxKind5[SyntaxKind5[\"PartiallyEmittedExpression\"] = 356] = \"PartiallyEmittedExpression\";\n          SyntaxKind5[SyntaxKind5[\"CommaListExpression\"] = 357] = \"CommaListExpression\";\n          SyntaxKind5[SyntaxKind5[\"MergeDeclarationMarker\"] = 358] = \"MergeDeclarationMarker\";\n          SyntaxKind5[SyntaxKind5[\"EndOfDeclarationMarker\"] = 359] = \"EndOfDeclarationMarker\";\n          SyntaxKind5[SyntaxKind5[\"SyntheticReferenceExpression\"] = 360] = \"SyntheticReferenceExpression\";\n          SyntaxKind5[SyntaxKind5[\"Count\"] = 361] = \"Count\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstAssignment\"] = 63\n            /* EqualsToken */\n          ] = \"FirstAssignment\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastAssignment\"] = 78\n            /* CaretEqualsToken */\n          ] = \"LastAssignment\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstCompoundAssignment\"] = 64\n            /* PlusEqualsToken */\n          ] = \"FirstCompoundAssignment\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastCompoundAssignment\"] = 78\n            /* CaretEqualsToken */\n          ] = \"LastCompoundAssignment\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstReservedWord\"] = 81\n            /* BreakKeyword */\n          ] = \"FirstReservedWord\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastReservedWord\"] = 116\n            /* WithKeyword */\n          ] = \"LastReservedWord\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstKeyword\"] = 81\n            /* BreakKeyword */\n          ] = \"FirstKeyword\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastKeyword\"] = 162\n            /* OfKeyword */\n          ] = \"LastKeyword\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstFutureReservedWord\"] = 117\n            /* ImplementsKeyword */\n          ] = \"FirstFutureReservedWord\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastFutureReservedWord\"] = 125\n            /* YieldKeyword */\n          ] = \"LastFutureReservedWord\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstTypeNode\"] = 179\n            /* TypePredicate */\n          ] = \"FirstTypeNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastTypeNode\"] = 202\n            /* ImportType */\n          ] = \"LastTypeNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstPunctuation\"] = 18\n            /* OpenBraceToken */\n          ] = \"FirstPunctuation\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastPunctuation\"] = 78\n            /* CaretEqualsToken */\n          ] = \"LastPunctuation\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstToken\"] = 0\n            /* Unknown */\n          ] = \"FirstToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastToken\"] = 162\n            /* LastKeyword */\n          ] = \"LastToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstTriviaToken\"] = 2\n            /* SingleLineCommentTrivia */\n          ] = \"FirstTriviaToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastTriviaToken\"] = 7\n            /* ConflictMarkerTrivia */\n          ] = \"LastTriviaToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstLiteralToken\"] = 8\n            /* NumericLiteral */\n          ] = \"FirstLiteralToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastLiteralToken\"] = 14\n            /* NoSubstitutionTemplateLiteral */\n          ] = \"LastLiteralToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstTemplateToken\"] = 14\n            /* NoSubstitutionTemplateLiteral */\n          ] = \"FirstTemplateToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastTemplateToken\"] = 17\n            /* TemplateTail */\n          ] = \"LastTemplateToken\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstBinaryOperator\"] = 29\n            /* LessThanToken */\n          ] = \"FirstBinaryOperator\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastBinaryOperator\"] = 78\n            /* CaretEqualsToken */\n          ] = \"LastBinaryOperator\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstStatement\"] = 240\n            /* VariableStatement */\n          ] = \"FirstStatement\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastStatement\"] = 256\n            /* DebuggerStatement */\n          ] = \"LastStatement\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstNode\"] = 163\n            /* QualifiedName */\n          ] = \"FirstNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstJSDocNode\"] = 312\n            /* JSDocTypeExpression */\n          ] = \"FirstJSDocNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastJSDocNode\"] = 353\n            /* JSDocSatisfiesTag */\n          ] = \"LastJSDocNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstJSDocTagNode\"] = 330\n            /* JSDocTag */\n          ] = \"FirstJSDocTagNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastJSDocTagNode\"] = 353\n            /* JSDocSatisfiesTag */\n          ] = \"LastJSDocTagNode\";\n          SyntaxKind5[\n            SyntaxKind5[\"FirstContextualKeyword\"] = 126\n            /* AbstractKeyword */\n          ] = \"FirstContextualKeyword\";\n          SyntaxKind5[\n            SyntaxKind5[\"LastContextualKeyword\"] = 162\n            /* OfKeyword */\n          ] = \"LastContextualKeyword\";\n          return SyntaxKind5;\n        })(SyntaxKind || {});\n        NodeFlags = /* @__PURE__ */ ((NodeFlags3) => {\n          NodeFlags3[NodeFlags3[\"None\"] = 0] = \"None\";\n          NodeFlags3[NodeFlags3[\"Let\"] = 1] = \"Let\";\n          NodeFlags3[NodeFlags3[\"Const\"] = 2] = \"Const\";\n          NodeFlags3[NodeFlags3[\"NestedNamespace\"] = 4] = \"NestedNamespace\";\n          NodeFlags3[NodeFlags3[\"Synthesized\"] = 8] = \"Synthesized\";\n          NodeFlags3[NodeFlags3[\"Namespace\"] = 16] = \"Namespace\";\n          NodeFlags3[NodeFlags3[\"OptionalChain\"] = 32] = \"OptionalChain\";\n          NodeFlags3[NodeFlags3[\"ExportContext\"] = 64] = \"ExportContext\";\n          NodeFlags3[NodeFlags3[\"ContainsThis\"] = 128] = \"ContainsThis\";\n          NodeFlags3[NodeFlags3[\"HasImplicitReturn\"] = 256] = \"HasImplicitReturn\";\n          NodeFlags3[NodeFlags3[\"HasExplicitReturn\"] = 512] = \"HasExplicitReturn\";\n          NodeFlags3[NodeFlags3[\"GlobalAugmentation\"] = 1024] = \"GlobalAugmentation\";\n          NodeFlags3[NodeFlags3[\"HasAsyncFunctions\"] = 2048] = \"HasAsyncFunctions\";\n          NodeFlags3[NodeFlags3[\"DisallowInContext\"] = 4096] = \"DisallowInContext\";\n          NodeFlags3[NodeFlags3[\"YieldContext\"] = 8192] = \"YieldContext\";\n          NodeFlags3[NodeFlags3[\"DecoratorContext\"] = 16384] = \"DecoratorContext\";\n          NodeFlags3[NodeFlags3[\"AwaitContext\"] = 32768] = \"AwaitContext\";\n          NodeFlags3[NodeFlags3[\"DisallowConditionalTypesContext\"] = 65536] = \"DisallowConditionalTypesContext\";\n          NodeFlags3[NodeFlags3[\"ThisNodeHasError\"] = 131072] = \"ThisNodeHasError\";\n          NodeFlags3[NodeFlags3[\"JavaScriptFile\"] = 262144] = \"JavaScriptFile\";\n          NodeFlags3[NodeFlags3[\"ThisNodeOrAnySubNodesHasError\"] = 524288] = \"ThisNodeOrAnySubNodesHasError\";\n          NodeFlags3[NodeFlags3[\"HasAggregatedChildData\"] = 1048576] = \"HasAggregatedChildData\";\n          NodeFlags3[NodeFlags3[\"PossiblyContainsDynamicImport\"] = 2097152] = \"PossiblyContainsDynamicImport\";\n          NodeFlags3[NodeFlags3[\"PossiblyContainsImportMeta\"] = 4194304] = \"PossiblyContainsImportMeta\";\n          NodeFlags3[NodeFlags3[\"JSDoc\"] = 8388608] = \"JSDoc\";\n          NodeFlags3[NodeFlags3[\"Ambient\"] = 16777216] = \"Ambient\";\n          NodeFlags3[NodeFlags3[\"InWithStatement\"] = 33554432] = \"InWithStatement\";\n          NodeFlags3[NodeFlags3[\"JsonFile\"] = 67108864] = \"JsonFile\";\n          NodeFlags3[NodeFlags3[\"TypeCached\"] = 134217728] = \"TypeCached\";\n          NodeFlags3[NodeFlags3[\"Deprecated\"] = 268435456] = \"Deprecated\";\n          NodeFlags3[NodeFlags3[\"BlockScoped\"] = 3] = \"BlockScoped\";\n          NodeFlags3[NodeFlags3[\"ReachabilityCheckFlags\"] = 768] = \"ReachabilityCheckFlags\";\n          NodeFlags3[NodeFlags3[\"ReachabilityAndEmitFlags\"] = 2816] = \"ReachabilityAndEmitFlags\";\n          NodeFlags3[NodeFlags3[\"ContextFlags\"] = 50720768] = \"ContextFlags\";\n          NodeFlags3[NodeFlags3[\"TypeExcludesFlags\"] = 40960] = \"TypeExcludesFlags\";\n          NodeFlags3[NodeFlags3[\"PermanentlySetIncrementalFlags\"] = 6291456] = \"PermanentlySetIncrementalFlags\";\n          NodeFlags3[\n            NodeFlags3[\"IdentifierHasExtendedUnicodeEscape\"] = 128\n            /* ContainsThis */\n          ] = \"IdentifierHasExtendedUnicodeEscape\";\n          NodeFlags3[\n            NodeFlags3[\"IdentifierIsInJSDocNamespace\"] = 2048\n            /* HasAsyncFunctions */\n          ] = \"IdentifierIsInJSDocNamespace\";\n          return NodeFlags3;\n        })(NodeFlags || {});\n        ModifierFlags = /* @__PURE__ */ ((ModifierFlags3) => {\n          ModifierFlags3[ModifierFlags3[\"None\"] = 0] = \"None\";\n          ModifierFlags3[ModifierFlags3[\"Export\"] = 1] = \"Export\";\n          ModifierFlags3[ModifierFlags3[\"Ambient\"] = 2] = \"Ambient\";\n          ModifierFlags3[ModifierFlags3[\"Public\"] = 4] = \"Public\";\n          ModifierFlags3[ModifierFlags3[\"Private\"] = 8] = \"Private\";\n          ModifierFlags3[ModifierFlags3[\"Protected\"] = 16] = \"Protected\";\n          ModifierFlags3[ModifierFlags3[\"Static\"] = 32] = \"Static\";\n          ModifierFlags3[ModifierFlags3[\"Readonly\"] = 64] = \"Readonly\";\n          ModifierFlags3[ModifierFlags3[\"Accessor\"] = 128] = \"Accessor\";\n          ModifierFlags3[ModifierFlags3[\"Abstract\"] = 256] = \"Abstract\";\n          ModifierFlags3[ModifierFlags3[\"Async\"] = 512] = \"Async\";\n          ModifierFlags3[ModifierFlags3[\"Default\"] = 1024] = \"Default\";\n          ModifierFlags3[ModifierFlags3[\"Const\"] = 2048] = \"Const\";\n          ModifierFlags3[ModifierFlags3[\"HasComputedJSDocModifiers\"] = 4096] = \"HasComputedJSDocModifiers\";\n          ModifierFlags3[ModifierFlags3[\"Deprecated\"] = 8192] = \"Deprecated\";\n          ModifierFlags3[ModifierFlags3[\"Override\"] = 16384] = \"Override\";\n          ModifierFlags3[ModifierFlags3[\"In\"] = 32768] = \"In\";\n          ModifierFlags3[ModifierFlags3[\"Out\"] = 65536] = \"Out\";\n          ModifierFlags3[ModifierFlags3[\"Decorator\"] = 131072] = \"Decorator\";\n          ModifierFlags3[ModifierFlags3[\"HasComputedFlags\"] = 536870912] = \"HasComputedFlags\";\n          ModifierFlags3[ModifierFlags3[\"AccessibilityModifier\"] = 28] = \"AccessibilityModifier\";\n          ModifierFlags3[ModifierFlags3[\"ParameterPropertyModifier\"] = 16476] = \"ParameterPropertyModifier\";\n          ModifierFlags3[ModifierFlags3[\"NonPublicAccessibilityModifier\"] = 24] = \"NonPublicAccessibilityModifier\";\n          ModifierFlags3[ModifierFlags3[\"TypeScriptModifier\"] = 117086] = \"TypeScriptModifier\";\n          ModifierFlags3[ModifierFlags3[\"ExportDefault\"] = 1025] = \"ExportDefault\";\n          ModifierFlags3[ModifierFlags3[\"All\"] = 258047] = \"All\";\n          ModifierFlags3[ModifierFlags3[\"Modifier\"] = 126975] = \"Modifier\";\n          return ModifierFlags3;\n        })(ModifierFlags || {});\n        JsxFlags = /* @__PURE__ */ ((JsxFlags2) => {\n          JsxFlags2[JsxFlags2[\"None\"] = 0] = \"None\";\n          JsxFlags2[JsxFlags2[\"IntrinsicNamedElement\"] = 1] = \"IntrinsicNamedElement\";\n          JsxFlags2[JsxFlags2[\"IntrinsicIndexedElement\"] = 2] = \"IntrinsicIndexedElement\";\n          JsxFlags2[JsxFlags2[\"IntrinsicElement\"] = 3] = \"IntrinsicElement\";\n          return JsxFlags2;\n        })(JsxFlags || {});\n        RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => {\n          RelationComparisonResult3[RelationComparisonResult3[\"Succeeded\"] = 1] = \"Succeeded\";\n          RelationComparisonResult3[RelationComparisonResult3[\"Failed\"] = 2] = \"Failed\";\n          RelationComparisonResult3[RelationComparisonResult3[\"Reported\"] = 4] = \"Reported\";\n          RelationComparisonResult3[RelationComparisonResult3[\"ReportsUnmeasurable\"] = 8] = \"ReportsUnmeasurable\";\n          RelationComparisonResult3[RelationComparisonResult3[\"ReportsUnreliable\"] = 16] = \"ReportsUnreliable\";\n          RelationComparisonResult3[RelationComparisonResult3[\"ReportsMask\"] = 24] = \"ReportsMask\";\n          return RelationComparisonResult3;\n        })(RelationComparisonResult || {});\n        GeneratedIdentifierFlags = /* @__PURE__ */ ((GeneratedIdentifierFlags2) => {\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"None\"] = 0] = \"None\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"Auto\"] = 1] = \"Auto\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"Loop\"] = 2] = \"Loop\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"Unique\"] = 3] = \"Unique\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"Node\"] = 4] = \"Node\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"KindMask\"] = 7] = \"KindMask\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"ReservedInNestedScopes\"] = 8] = \"ReservedInNestedScopes\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"Optimistic\"] = 16] = \"Optimistic\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"FileLevel\"] = 32] = \"FileLevel\";\n          GeneratedIdentifierFlags2[GeneratedIdentifierFlags2[\"AllowNameSubstitution\"] = 64] = \"AllowNameSubstitution\";\n          return GeneratedIdentifierFlags2;\n        })(GeneratedIdentifierFlags || {});\n        TokenFlags = /* @__PURE__ */ ((TokenFlags2) => {\n          TokenFlags2[TokenFlags2[\"None\"] = 0] = \"None\";\n          TokenFlags2[TokenFlags2[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\n          TokenFlags2[TokenFlags2[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\n          TokenFlags2[TokenFlags2[\"Unterminated\"] = 4] = \"Unterminated\";\n          TokenFlags2[TokenFlags2[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\n          TokenFlags2[TokenFlags2[\"Scientific\"] = 16] = \"Scientific\";\n          TokenFlags2[TokenFlags2[\"Octal\"] = 32] = \"Octal\";\n          TokenFlags2[TokenFlags2[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\n          TokenFlags2[TokenFlags2[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\n          TokenFlags2[TokenFlags2[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\n          TokenFlags2[TokenFlags2[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\n          TokenFlags2[TokenFlags2[\"UnicodeEscape\"] = 1024] = \"UnicodeEscape\";\n          TokenFlags2[TokenFlags2[\"ContainsInvalidEscape\"] = 2048] = \"ContainsInvalidEscape\";\n          TokenFlags2[TokenFlags2[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\n          TokenFlags2[TokenFlags2[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\n          TokenFlags2[\n            TokenFlags2[\"TemplateLiteralLikeFlags\"] = 2048\n            /* ContainsInvalidEscape */\n          ] = \"TemplateLiteralLikeFlags\";\n          return TokenFlags2;\n        })(TokenFlags || {});\n        FlowFlags = /* @__PURE__ */ ((FlowFlags2) => {\n          FlowFlags2[FlowFlags2[\"Unreachable\"] = 1] = \"Unreachable\";\n          FlowFlags2[FlowFlags2[\"Start\"] = 2] = \"Start\";\n          FlowFlags2[FlowFlags2[\"BranchLabel\"] = 4] = \"BranchLabel\";\n          FlowFlags2[FlowFlags2[\"LoopLabel\"] = 8] = \"LoopLabel\";\n          FlowFlags2[FlowFlags2[\"Assignment\"] = 16] = \"Assignment\";\n          FlowFlags2[FlowFlags2[\"TrueCondition\"] = 32] = \"TrueCondition\";\n          FlowFlags2[FlowFlags2[\"FalseCondition\"] = 64] = \"FalseCondition\";\n          FlowFlags2[FlowFlags2[\"SwitchClause\"] = 128] = \"SwitchClause\";\n          FlowFlags2[FlowFlags2[\"ArrayMutation\"] = 256] = \"ArrayMutation\";\n          FlowFlags2[FlowFlags2[\"Call\"] = 512] = \"Call\";\n          FlowFlags2[FlowFlags2[\"ReduceLabel\"] = 1024] = \"ReduceLabel\";\n          FlowFlags2[FlowFlags2[\"Referenced\"] = 2048] = \"Referenced\";\n          FlowFlags2[FlowFlags2[\"Shared\"] = 4096] = \"Shared\";\n          FlowFlags2[FlowFlags2[\"Label\"] = 12] = \"Label\";\n          FlowFlags2[FlowFlags2[\"Condition\"] = 96] = \"Condition\";\n          return FlowFlags2;\n        })(FlowFlags || {});\n        CommentDirectiveType = /* @__PURE__ */ ((CommentDirectiveType2) => {\n          CommentDirectiveType2[CommentDirectiveType2[\"ExpectError\"] = 0] = \"ExpectError\";\n          CommentDirectiveType2[CommentDirectiveType2[\"Ignore\"] = 1] = \"Ignore\";\n          return CommentDirectiveType2;\n        })(CommentDirectiveType || {});\n        OperationCanceledException = class {\n        };\n        FileIncludeKind = /* @__PURE__ */ ((FileIncludeKind2) => {\n          FileIncludeKind2[FileIncludeKind2[\"RootFile\"] = 0] = \"RootFile\";\n          FileIncludeKind2[FileIncludeKind2[\"SourceFromProjectReference\"] = 1] = \"SourceFromProjectReference\";\n          FileIncludeKind2[FileIncludeKind2[\"OutputFromProjectReference\"] = 2] = \"OutputFromProjectReference\";\n          FileIncludeKind2[FileIncludeKind2[\"Import\"] = 3] = \"Import\";\n          FileIncludeKind2[FileIncludeKind2[\"ReferenceFile\"] = 4] = \"ReferenceFile\";\n          FileIncludeKind2[FileIncludeKind2[\"TypeReferenceDirective\"] = 5] = \"TypeReferenceDirective\";\n          FileIncludeKind2[FileIncludeKind2[\"LibFile\"] = 6] = \"LibFile\";\n          FileIncludeKind2[FileIncludeKind2[\"LibReferenceDirective\"] = 7] = \"LibReferenceDirective\";\n          FileIncludeKind2[FileIncludeKind2[\"AutomaticTypeDirectiveFile\"] = 8] = \"AutomaticTypeDirectiveFile\";\n          return FileIncludeKind2;\n        })(FileIncludeKind || {});\n        FilePreprocessingDiagnosticsKind = /* @__PURE__ */ ((FilePreprocessingDiagnosticsKind2) => {\n          FilePreprocessingDiagnosticsKind2[FilePreprocessingDiagnosticsKind2[\"FilePreprocessingReferencedDiagnostic\"] = 0] = \"FilePreprocessingReferencedDiagnostic\";\n          FilePreprocessingDiagnosticsKind2[FilePreprocessingDiagnosticsKind2[\"FilePreprocessingFileExplainingDiagnostic\"] = 1] = \"FilePreprocessingFileExplainingDiagnostic\";\n          FilePreprocessingDiagnosticsKind2[FilePreprocessingDiagnosticsKind2[\"ResolutionDiagnostics\"] = 2] = \"ResolutionDiagnostics\";\n          return FilePreprocessingDiagnosticsKind2;\n        })(FilePreprocessingDiagnosticsKind || {});\n        EmitOnly = /* @__PURE__ */ ((EmitOnly4) => {\n          EmitOnly4[EmitOnly4[\"Js\"] = 0] = \"Js\";\n          EmitOnly4[EmitOnly4[\"Dts\"] = 1] = \"Dts\";\n          return EmitOnly4;\n        })(EmitOnly || {});\n        StructureIsReused = /* @__PURE__ */ ((StructureIsReused2) => {\n          StructureIsReused2[StructureIsReused2[\"Not\"] = 0] = \"Not\";\n          StructureIsReused2[StructureIsReused2[\"SafeModules\"] = 1] = \"SafeModules\";\n          StructureIsReused2[StructureIsReused2[\"Completely\"] = 2] = \"Completely\";\n          return StructureIsReused2;\n        })(StructureIsReused || {});\n        ExitStatus = /* @__PURE__ */ ((ExitStatus2) => {\n          ExitStatus2[ExitStatus2[\"Success\"] = 0] = \"Success\";\n          ExitStatus2[ExitStatus2[\"DiagnosticsPresent_OutputsSkipped\"] = 1] = \"DiagnosticsPresent_OutputsSkipped\";\n          ExitStatus2[ExitStatus2[\"DiagnosticsPresent_OutputsGenerated\"] = 2] = \"DiagnosticsPresent_OutputsGenerated\";\n          ExitStatus2[ExitStatus2[\"InvalidProject_OutputsSkipped\"] = 3] = \"InvalidProject_OutputsSkipped\";\n          ExitStatus2[ExitStatus2[\"ProjectReferenceCycle_OutputsSkipped\"] = 4] = \"ProjectReferenceCycle_OutputsSkipped\";\n          return ExitStatus2;\n        })(ExitStatus || {});\n        MemberOverrideStatus = /* @__PURE__ */ ((MemberOverrideStatus2) => {\n          MemberOverrideStatus2[MemberOverrideStatus2[\"Ok\"] = 0] = \"Ok\";\n          MemberOverrideStatus2[MemberOverrideStatus2[\"NeedsOverride\"] = 1] = \"NeedsOverride\";\n          MemberOverrideStatus2[MemberOverrideStatus2[\"HasInvalidOverride\"] = 2] = \"HasInvalidOverride\";\n          return MemberOverrideStatus2;\n        })(MemberOverrideStatus || {});\n        UnionReduction = /* @__PURE__ */ ((UnionReduction2) => {\n          UnionReduction2[UnionReduction2[\"None\"] = 0] = \"None\";\n          UnionReduction2[UnionReduction2[\"Literal\"] = 1] = \"Literal\";\n          UnionReduction2[UnionReduction2[\"Subtype\"] = 2] = \"Subtype\";\n          return UnionReduction2;\n        })(UnionReduction || {});\n        ContextFlags = /* @__PURE__ */ ((ContextFlags3) => {\n          ContextFlags3[ContextFlags3[\"None\"] = 0] = \"None\";\n          ContextFlags3[ContextFlags3[\"Signature\"] = 1] = \"Signature\";\n          ContextFlags3[ContextFlags3[\"NoConstraints\"] = 2] = \"NoConstraints\";\n          ContextFlags3[ContextFlags3[\"Completions\"] = 4] = \"Completions\";\n          ContextFlags3[ContextFlags3[\"SkipBindingPatterns\"] = 8] = \"SkipBindingPatterns\";\n          return ContextFlags3;\n        })(ContextFlags || {});\n        NodeBuilderFlags = /* @__PURE__ */ ((NodeBuilderFlags2) => {\n          NodeBuilderFlags2[NodeBuilderFlags2[\"None\"] = 0] = \"None\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"NoTruncation\"] = 1] = \"NoTruncation\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"WriteArrayAsGenericType\"] = 2] = \"WriteArrayAsGenericType\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"GenerateNamesForShadowedTypeParams\"] = 4] = \"GenerateNamesForShadowedTypeParams\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"UseStructuralFallback\"] = 8] = \"UseStructuralFallback\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"ForbidIndexedAccessSymbolReferences\"] = 16] = \"ForbidIndexedAccessSymbolReferences\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"WriteTypeArgumentsOfSignature\"] = 32] = \"WriteTypeArgumentsOfSignature\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"UseFullyQualifiedType\"] = 64] = \"UseFullyQualifiedType\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"UseOnlyExternalAliasing\"] = 128] = \"UseOnlyExternalAliasing\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"SuppressAnyReturnType\"] = 256] = \"SuppressAnyReturnType\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"WriteTypeParametersInQualifiedName\"] = 512] = \"WriteTypeParametersInQualifiedName\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"MultilineObjectLiterals\"] = 1024] = \"MultilineObjectLiterals\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"WriteClassExpressionAsTypeLiteral\"] = 2048] = \"WriteClassExpressionAsTypeLiteral\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"UseTypeOfFunction\"] = 4096] = \"UseTypeOfFunction\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"OmitParameterModifiers\"] = 8192] = \"OmitParameterModifiers\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"UseAliasDefinedOutsideCurrentScope\"] = 16384] = \"UseAliasDefinedOutsideCurrentScope\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"UseSingleQuotesForStringLiteralType\"] = 268435456] = \"UseSingleQuotesForStringLiteralType\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"NoTypeReduction\"] = 536870912] = \"NoTypeReduction\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"OmitThisParameter\"] = 33554432] = \"OmitThisParameter\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowThisInObjectLiteral\"] = 32768] = \"AllowThisInObjectLiteral\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowQualifiedNameInPlaceOfIdentifier\"] = 65536] = \"AllowQualifiedNameInPlaceOfIdentifier\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowAnonymousIdentifier\"] = 131072] = \"AllowAnonymousIdentifier\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowEmptyUnionOrIntersection\"] = 262144] = \"AllowEmptyUnionOrIntersection\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowEmptyTuple\"] = 524288] = \"AllowEmptyTuple\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowUniqueESSymbolType\"] = 1048576] = \"AllowUniqueESSymbolType\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowEmptyIndexInfoType\"] = 2097152] = \"AllowEmptyIndexInfoType\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"WriteComputedProps\"] = 1073741824] = \"WriteComputedProps\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"AllowNodeModulesRelativePaths\"] = 67108864] = \"AllowNodeModulesRelativePaths\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"DoNotIncludeSymbolChain\"] = 134217728] = \"DoNotIncludeSymbolChain\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"IgnoreErrors\"] = 70221824] = \"IgnoreErrors\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"InObjectTypeLiteral\"] = 4194304] = \"InObjectTypeLiteral\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"InTypeAlias\"] = 8388608] = \"InTypeAlias\";\n          NodeBuilderFlags2[NodeBuilderFlags2[\"InInitialEntityName\"] = 16777216] = \"InInitialEntityName\";\n          return NodeBuilderFlags2;\n        })(NodeBuilderFlags || {});\n        TypeFormatFlags = /* @__PURE__ */ ((TypeFormatFlags2) => {\n          TypeFormatFlags2[TypeFormatFlags2[\"None\"] = 0] = \"None\";\n          TypeFormatFlags2[TypeFormatFlags2[\"NoTruncation\"] = 1] = \"NoTruncation\";\n          TypeFormatFlags2[TypeFormatFlags2[\"WriteArrayAsGenericType\"] = 2] = \"WriteArrayAsGenericType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"UseStructuralFallback\"] = 8] = \"UseStructuralFallback\";\n          TypeFormatFlags2[TypeFormatFlags2[\"WriteTypeArgumentsOfSignature\"] = 32] = \"WriteTypeArgumentsOfSignature\";\n          TypeFormatFlags2[TypeFormatFlags2[\"UseFullyQualifiedType\"] = 64] = \"UseFullyQualifiedType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"SuppressAnyReturnType\"] = 256] = \"SuppressAnyReturnType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"MultilineObjectLiterals\"] = 1024] = \"MultilineObjectLiterals\";\n          TypeFormatFlags2[TypeFormatFlags2[\"WriteClassExpressionAsTypeLiteral\"] = 2048] = \"WriteClassExpressionAsTypeLiteral\";\n          TypeFormatFlags2[TypeFormatFlags2[\"UseTypeOfFunction\"] = 4096] = \"UseTypeOfFunction\";\n          TypeFormatFlags2[TypeFormatFlags2[\"OmitParameterModifiers\"] = 8192] = \"OmitParameterModifiers\";\n          TypeFormatFlags2[TypeFormatFlags2[\"UseAliasDefinedOutsideCurrentScope\"] = 16384] = \"UseAliasDefinedOutsideCurrentScope\";\n          TypeFormatFlags2[TypeFormatFlags2[\"UseSingleQuotesForStringLiteralType\"] = 268435456] = \"UseSingleQuotesForStringLiteralType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"NoTypeReduction\"] = 536870912] = \"NoTypeReduction\";\n          TypeFormatFlags2[TypeFormatFlags2[\"OmitThisParameter\"] = 33554432] = \"OmitThisParameter\";\n          TypeFormatFlags2[TypeFormatFlags2[\"AllowUniqueESSymbolType\"] = 1048576] = \"AllowUniqueESSymbolType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"AddUndefined\"] = 131072] = \"AddUndefined\";\n          TypeFormatFlags2[TypeFormatFlags2[\"WriteArrowStyleSignature\"] = 262144] = \"WriteArrowStyleSignature\";\n          TypeFormatFlags2[TypeFormatFlags2[\"InArrayType\"] = 524288] = \"InArrayType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"InElementType\"] = 2097152] = \"InElementType\";\n          TypeFormatFlags2[TypeFormatFlags2[\"InFirstTypeArgument\"] = 4194304] = \"InFirstTypeArgument\";\n          TypeFormatFlags2[TypeFormatFlags2[\"InTypeAlias\"] = 8388608] = \"InTypeAlias\";\n          TypeFormatFlags2[TypeFormatFlags2[\"NodeBuilderFlagsMask\"] = 848330091] = \"NodeBuilderFlagsMask\";\n          return TypeFormatFlags2;\n        })(TypeFormatFlags || {});\n        SymbolFormatFlags = /* @__PURE__ */ ((SymbolFormatFlags2) => {\n          SymbolFormatFlags2[SymbolFormatFlags2[\"None\"] = 0] = \"None\";\n          SymbolFormatFlags2[SymbolFormatFlags2[\"WriteTypeParametersOrArguments\"] = 1] = \"WriteTypeParametersOrArguments\";\n          SymbolFormatFlags2[SymbolFormatFlags2[\"UseOnlyExternalAliasing\"] = 2] = \"UseOnlyExternalAliasing\";\n          SymbolFormatFlags2[SymbolFormatFlags2[\"AllowAnyNodeKind\"] = 4] = \"AllowAnyNodeKind\";\n          SymbolFormatFlags2[SymbolFormatFlags2[\"UseAliasDefinedOutsideCurrentScope\"] = 8] = \"UseAliasDefinedOutsideCurrentScope\";\n          SymbolFormatFlags2[SymbolFormatFlags2[\"WriteComputedProps\"] = 16] = \"WriteComputedProps\";\n          SymbolFormatFlags2[SymbolFormatFlags2[\"DoNotIncludeSymbolChain\"] = 32] = \"DoNotIncludeSymbolChain\";\n          return SymbolFormatFlags2;\n        })(SymbolFormatFlags || {});\n        SymbolAccessibility = /* @__PURE__ */ ((SymbolAccessibility2) => {\n          SymbolAccessibility2[SymbolAccessibility2[\"Accessible\"] = 0] = \"Accessible\";\n          SymbolAccessibility2[SymbolAccessibility2[\"NotAccessible\"] = 1] = \"NotAccessible\";\n          SymbolAccessibility2[SymbolAccessibility2[\"CannotBeNamed\"] = 2] = \"CannotBeNamed\";\n          return SymbolAccessibility2;\n        })(SymbolAccessibility || {});\n        SyntheticSymbolKind = /* @__PURE__ */ ((SyntheticSymbolKind2) => {\n          SyntheticSymbolKind2[SyntheticSymbolKind2[\"UnionOrIntersection\"] = 0] = \"UnionOrIntersection\";\n          SyntheticSymbolKind2[SyntheticSymbolKind2[\"Spread\"] = 1] = \"Spread\";\n          return SyntheticSymbolKind2;\n        })(SyntheticSymbolKind || {});\n        TypePredicateKind = /* @__PURE__ */ ((TypePredicateKind2) => {\n          TypePredicateKind2[TypePredicateKind2[\"This\"] = 0] = \"This\";\n          TypePredicateKind2[TypePredicateKind2[\"Identifier\"] = 1] = \"Identifier\";\n          TypePredicateKind2[TypePredicateKind2[\"AssertsThis\"] = 2] = \"AssertsThis\";\n          TypePredicateKind2[TypePredicateKind2[\"AssertsIdentifier\"] = 3] = \"AssertsIdentifier\";\n          return TypePredicateKind2;\n        })(TypePredicateKind || {});\n        TypeReferenceSerializationKind = /* @__PURE__ */ ((TypeReferenceSerializationKind2) => {\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"Unknown\"] = 0] = \"Unknown\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"TypeWithConstructSignatureAndValue\"] = 1] = \"TypeWithConstructSignatureAndValue\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"VoidNullableOrNeverType\"] = 2] = \"VoidNullableOrNeverType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"NumberLikeType\"] = 3] = \"NumberLikeType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"BigIntLikeType\"] = 4] = \"BigIntLikeType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"StringLikeType\"] = 5] = \"StringLikeType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"BooleanType\"] = 6] = \"BooleanType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"ArrayLikeType\"] = 7] = \"ArrayLikeType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"ESSymbolType\"] = 8] = \"ESSymbolType\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"Promise\"] = 9] = \"Promise\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"TypeWithCallSignature\"] = 10] = \"TypeWithCallSignature\";\n          TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"ObjectType\"] = 11] = \"ObjectType\";\n          return TypeReferenceSerializationKind2;\n        })(TypeReferenceSerializationKind || {});\n        SymbolFlags = /* @__PURE__ */ ((SymbolFlags3) => {\n          SymbolFlags3[SymbolFlags3[\"None\"] = 0] = \"None\";\n          SymbolFlags3[SymbolFlags3[\"FunctionScopedVariable\"] = 1] = \"FunctionScopedVariable\";\n          SymbolFlags3[SymbolFlags3[\"BlockScopedVariable\"] = 2] = \"BlockScopedVariable\";\n          SymbolFlags3[SymbolFlags3[\"Property\"] = 4] = \"Property\";\n          SymbolFlags3[SymbolFlags3[\"EnumMember\"] = 8] = \"EnumMember\";\n          SymbolFlags3[SymbolFlags3[\"Function\"] = 16] = \"Function\";\n          SymbolFlags3[SymbolFlags3[\"Class\"] = 32] = \"Class\";\n          SymbolFlags3[SymbolFlags3[\"Interface\"] = 64] = \"Interface\";\n          SymbolFlags3[SymbolFlags3[\"ConstEnum\"] = 128] = \"ConstEnum\";\n          SymbolFlags3[SymbolFlags3[\"RegularEnum\"] = 256] = \"RegularEnum\";\n          SymbolFlags3[SymbolFlags3[\"ValueModule\"] = 512] = \"ValueModule\";\n          SymbolFlags3[SymbolFlags3[\"NamespaceModule\"] = 1024] = \"NamespaceModule\";\n          SymbolFlags3[SymbolFlags3[\"TypeLiteral\"] = 2048] = \"TypeLiteral\";\n          SymbolFlags3[SymbolFlags3[\"ObjectLiteral\"] = 4096] = \"ObjectLiteral\";\n          SymbolFlags3[SymbolFlags3[\"Method\"] = 8192] = \"Method\";\n          SymbolFlags3[SymbolFlags3[\"Constructor\"] = 16384] = \"Constructor\";\n          SymbolFlags3[SymbolFlags3[\"GetAccessor\"] = 32768] = \"GetAccessor\";\n          SymbolFlags3[SymbolFlags3[\"SetAccessor\"] = 65536] = \"SetAccessor\";\n          SymbolFlags3[SymbolFlags3[\"Signature\"] = 131072] = \"Signature\";\n          SymbolFlags3[SymbolFlags3[\"TypeParameter\"] = 262144] = \"TypeParameter\";\n          SymbolFlags3[SymbolFlags3[\"TypeAlias\"] = 524288] = \"TypeAlias\";\n          SymbolFlags3[SymbolFlags3[\"ExportValue\"] = 1048576] = \"ExportValue\";\n          SymbolFlags3[SymbolFlags3[\"Alias\"] = 2097152] = \"Alias\";\n          SymbolFlags3[SymbolFlags3[\"Prototype\"] = 4194304] = \"Prototype\";\n          SymbolFlags3[SymbolFlags3[\"ExportStar\"] = 8388608] = \"ExportStar\";\n          SymbolFlags3[SymbolFlags3[\"Optional\"] = 16777216] = \"Optional\";\n          SymbolFlags3[SymbolFlags3[\"Transient\"] = 33554432] = \"Transient\";\n          SymbolFlags3[SymbolFlags3[\"Assignment\"] = 67108864] = \"Assignment\";\n          SymbolFlags3[SymbolFlags3[\"ModuleExports\"] = 134217728] = \"ModuleExports\";\n          SymbolFlags3[SymbolFlags3[\"All\"] = 67108863] = \"All\";\n          SymbolFlags3[SymbolFlags3[\"Enum\"] = 384] = \"Enum\";\n          SymbolFlags3[SymbolFlags3[\"Variable\"] = 3] = \"Variable\";\n          SymbolFlags3[SymbolFlags3[\"Value\"] = 111551] = \"Value\";\n          SymbolFlags3[SymbolFlags3[\"Type\"] = 788968] = \"Type\";\n          SymbolFlags3[SymbolFlags3[\"Namespace\"] = 1920] = \"Namespace\";\n          SymbolFlags3[SymbolFlags3[\"Module\"] = 1536] = \"Module\";\n          SymbolFlags3[SymbolFlags3[\"Accessor\"] = 98304] = \"Accessor\";\n          SymbolFlags3[SymbolFlags3[\"FunctionScopedVariableExcludes\"] = 111550] = \"FunctionScopedVariableExcludes\";\n          SymbolFlags3[\n            SymbolFlags3[\"BlockScopedVariableExcludes\"] = 111551\n            /* Value */\n          ] = \"BlockScopedVariableExcludes\";\n          SymbolFlags3[\n            SymbolFlags3[\"ParameterExcludes\"] = 111551\n            /* Value */\n          ] = \"ParameterExcludes\";\n          SymbolFlags3[\n            SymbolFlags3[\"PropertyExcludes\"] = 0\n            /* None */\n          ] = \"PropertyExcludes\";\n          SymbolFlags3[SymbolFlags3[\"EnumMemberExcludes\"] = 900095] = \"EnumMemberExcludes\";\n          SymbolFlags3[SymbolFlags3[\"FunctionExcludes\"] = 110991] = \"FunctionExcludes\";\n          SymbolFlags3[SymbolFlags3[\"ClassExcludes\"] = 899503] = \"ClassExcludes\";\n          SymbolFlags3[SymbolFlags3[\"InterfaceExcludes\"] = 788872] = \"InterfaceExcludes\";\n          SymbolFlags3[SymbolFlags3[\"RegularEnumExcludes\"] = 899327] = \"RegularEnumExcludes\";\n          SymbolFlags3[SymbolFlags3[\"ConstEnumExcludes\"] = 899967] = \"ConstEnumExcludes\";\n          SymbolFlags3[SymbolFlags3[\"ValueModuleExcludes\"] = 110735] = \"ValueModuleExcludes\";\n          SymbolFlags3[SymbolFlags3[\"NamespaceModuleExcludes\"] = 0] = \"NamespaceModuleExcludes\";\n          SymbolFlags3[SymbolFlags3[\"MethodExcludes\"] = 103359] = \"MethodExcludes\";\n          SymbolFlags3[SymbolFlags3[\"GetAccessorExcludes\"] = 46015] = \"GetAccessorExcludes\";\n          SymbolFlags3[SymbolFlags3[\"SetAccessorExcludes\"] = 78783] = \"SetAccessorExcludes\";\n          SymbolFlags3[SymbolFlags3[\"AccessorExcludes\"] = 13247] = \"AccessorExcludes\";\n          SymbolFlags3[SymbolFlags3[\"TypeParameterExcludes\"] = 526824] = \"TypeParameterExcludes\";\n          SymbolFlags3[\n            SymbolFlags3[\"TypeAliasExcludes\"] = 788968\n            /* Type */\n          ] = \"TypeAliasExcludes\";\n          SymbolFlags3[\n            SymbolFlags3[\"AliasExcludes\"] = 2097152\n            /* Alias */\n          ] = \"AliasExcludes\";\n          SymbolFlags3[SymbolFlags3[\"ModuleMember\"] = 2623475] = \"ModuleMember\";\n          SymbolFlags3[SymbolFlags3[\"ExportHasLocal\"] = 944] = \"ExportHasLocal\";\n          SymbolFlags3[SymbolFlags3[\"BlockScoped\"] = 418] = \"BlockScoped\";\n          SymbolFlags3[SymbolFlags3[\"PropertyOrAccessor\"] = 98308] = \"PropertyOrAccessor\";\n          SymbolFlags3[SymbolFlags3[\"ClassMember\"] = 106500] = \"ClassMember\";\n          SymbolFlags3[SymbolFlags3[\"ExportSupportsDefaultModifier\"] = 112] = \"ExportSupportsDefaultModifier\";\n          SymbolFlags3[SymbolFlags3[\"ExportDoesNotSupportDefaultModifier\"] = -113] = \"ExportDoesNotSupportDefaultModifier\";\n          SymbolFlags3[SymbolFlags3[\"Classifiable\"] = 2885600] = \"Classifiable\";\n          SymbolFlags3[SymbolFlags3[\"LateBindingContainer\"] = 6256] = \"LateBindingContainer\";\n          return SymbolFlags3;\n        })(SymbolFlags || {});\n        EnumKind = /* @__PURE__ */ ((EnumKind2) => {\n          EnumKind2[EnumKind2[\"Numeric\"] = 0] = \"Numeric\";\n          EnumKind2[EnumKind2[\"Literal\"] = 1] = \"Literal\";\n          return EnumKind2;\n        })(EnumKind || {});\n        CheckFlags = /* @__PURE__ */ ((CheckFlags2) => {\n          CheckFlags2[CheckFlags2[\"None\"] = 0] = \"None\";\n          CheckFlags2[CheckFlags2[\"Instantiated\"] = 1] = \"Instantiated\";\n          CheckFlags2[CheckFlags2[\"SyntheticProperty\"] = 2] = \"SyntheticProperty\";\n          CheckFlags2[CheckFlags2[\"SyntheticMethod\"] = 4] = \"SyntheticMethod\";\n          CheckFlags2[CheckFlags2[\"Readonly\"] = 8] = \"Readonly\";\n          CheckFlags2[CheckFlags2[\"ReadPartial\"] = 16] = \"ReadPartial\";\n          CheckFlags2[CheckFlags2[\"WritePartial\"] = 32] = \"WritePartial\";\n          CheckFlags2[CheckFlags2[\"HasNonUniformType\"] = 64] = \"HasNonUniformType\";\n          CheckFlags2[CheckFlags2[\"HasLiteralType\"] = 128] = \"HasLiteralType\";\n          CheckFlags2[CheckFlags2[\"ContainsPublic\"] = 256] = \"ContainsPublic\";\n          CheckFlags2[CheckFlags2[\"ContainsProtected\"] = 512] = \"ContainsProtected\";\n          CheckFlags2[CheckFlags2[\"ContainsPrivate\"] = 1024] = \"ContainsPrivate\";\n          CheckFlags2[CheckFlags2[\"ContainsStatic\"] = 2048] = \"ContainsStatic\";\n          CheckFlags2[CheckFlags2[\"Late\"] = 4096] = \"Late\";\n          CheckFlags2[CheckFlags2[\"ReverseMapped\"] = 8192] = \"ReverseMapped\";\n          CheckFlags2[CheckFlags2[\"OptionalParameter\"] = 16384] = \"OptionalParameter\";\n          CheckFlags2[CheckFlags2[\"RestParameter\"] = 32768] = \"RestParameter\";\n          CheckFlags2[CheckFlags2[\"DeferredType\"] = 65536] = \"DeferredType\";\n          CheckFlags2[CheckFlags2[\"HasNeverType\"] = 131072] = \"HasNeverType\";\n          CheckFlags2[CheckFlags2[\"Mapped\"] = 262144] = \"Mapped\";\n          CheckFlags2[CheckFlags2[\"StripOptional\"] = 524288] = \"StripOptional\";\n          CheckFlags2[CheckFlags2[\"Unresolved\"] = 1048576] = \"Unresolved\";\n          CheckFlags2[CheckFlags2[\"Synthetic\"] = 6] = \"Synthetic\";\n          CheckFlags2[CheckFlags2[\"Discriminant\"] = 192] = \"Discriminant\";\n          CheckFlags2[CheckFlags2[\"Partial\"] = 48] = \"Partial\";\n          return CheckFlags2;\n        })(CheckFlags || {});\n        InternalSymbolName = /* @__PURE__ */ ((InternalSymbolName2) => {\n          InternalSymbolName2[\"Call\"] = \"__call\";\n          InternalSymbolName2[\"Constructor\"] = \"__constructor\";\n          InternalSymbolName2[\"New\"] = \"__new\";\n          InternalSymbolName2[\"Index\"] = \"__index\";\n          InternalSymbolName2[\"ExportStar\"] = \"__export\";\n          InternalSymbolName2[\"Global\"] = \"__global\";\n          InternalSymbolName2[\"Missing\"] = \"__missing\";\n          InternalSymbolName2[\"Type\"] = \"__type\";\n          InternalSymbolName2[\"Object\"] = \"__object\";\n          InternalSymbolName2[\"JSXAttributes\"] = \"__jsxAttributes\";\n          InternalSymbolName2[\"Class\"] = \"__class\";\n          InternalSymbolName2[\"Function\"] = \"__function\";\n          InternalSymbolName2[\"Computed\"] = \"__computed\";\n          InternalSymbolName2[\"Resolving\"] = \"__resolving__\";\n          InternalSymbolName2[\"ExportEquals\"] = \"export=\";\n          InternalSymbolName2[\"Default\"] = \"default\";\n          InternalSymbolName2[\"This\"] = \"this\";\n          return InternalSymbolName2;\n        })(InternalSymbolName || {});\n        NodeCheckFlags = /* @__PURE__ */ ((NodeCheckFlags2) => {\n          NodeCheckFlags2[NodeCheckFlags2[\"None\"] = 0] = \"None\";\n          NodeCheckFlags2[NodeCheckFlags2[\"TypeChecked\"] = 1] = \"TypeChecked\";\n          NodeCheckFlags2[NodeCheckFlags2[\"LexicalThis\"] = 2] = \"LexicalThis\";\n          NodeCheckFlags2[NodeCheckFlags2[\"CaptureThis\"] = 4] = \"CaptureThis\";\n          NodeCheckFlags2[NodeCheckFlags2[\"CaptureNewTarget\"] = 8] = \"CaptureNewTarget\";\n          NodeCheckFlags2[NodeCheckFlags2[\"SuperInstance\"] = 16] = \"SuperInstance\";\n          NodeCheckFlags2[NodeCheckFlags2[\"SuperStatic\"] = 32] = \"SuperStatic\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ContextChecked\"] = 64] = \"ContextChecked\";\n          NodeCheckFlags2[NodeCheckFlags2[\"MethodWithSuperPropertyAccessInAsync\"] = 128] = \"MethodWithSuperPropertyAccessInAsync\";\n          NodeCheckFlags2[NodeCheckFlags2[\"MethodWithSuperPropertyAssignmentInAsync\"] = 256] = \"MethodWithSuperPropertyAssignmentInAsync\";\n          NodeCheckFlags2[NodeCheckFlags2[\"CaptureArguments\"] = 512] = \"CaptureArguments\";\n          NodeCheckFlags2[NodeCheckFlags2[\"EnumValuesComputed\"] = 1024] = \"EnumValuesComputed\";\n          NodeCheckFlags2[NodeCheckFlags2[\"LexicalModuleMergesWithClass\"] = 2048] = \"LexicalModuleMergesWithClass\";\n          NodeCheckFlags2[NodeCheckFlags2[\"LoopWithCapturedBlockScopedBinding\"] = 4096] = \"LoopWithCapturedBlockScopedBinding\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ContainsCapturedBlockScopeBinding\"] = 8192] = \"ContainsCapturedBlockScopeBinding\";\n          NodeCheckFlags2[NodeCheckFlags2[\"CapturedBlockScopedBinding\"] = 16384] = \"CapturedBlockScopedBinding\";\n          NodeCheckFlags2[NodeCheckFlags2[\"BlockScopedBindingInLoop\"] = 32768] = \"BlockScopedBindingInLoop\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ClassWithBodyScopedClassBinding\"] = 65536] = \"ClassWithBodyScopedClassBinding\";\n          NodeCheckFlags2[NodeCheckFlags2[\"BodyScopedClassBinding\"] = 131072] = \"BodyScopedClassBinding\";\n          NodeCheckFlags2[NodeCheckFlags2[\"NeedsLoopOutParameter\"] = 262144] = \"NeedsLoopOutParameter\";\n          NodeCheckFlags2[NodeCheckFlags2[\"AssignmentsMarked\"] = 524288] = \"AssignmentsMarked\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ClassWithConstructorReference\"] = 1048576] = \"ClassWithConstructorReference\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ConstructorReferenceInClass\"] = 2097152] = \"ConstructorReferenceInClass\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ContainsClassWithPrivateIdentifiers\"] = 4194304] = \"ContainsClassWithPrivateIdentifiers\";\n          NodeCheckFlags2[NodeCheckFlags2[\"ContainsSuperPropertyInStaticInitializer\"] = 8388608] = \"ContainsSuperPropertyInStaticInitializer\";\n          NodeCheckFlags2[NodeCheckFlags2[\"InCheckIdentifier\"] = 16777216] = \"InCheckIdentifier\";\n          return NodeCheckFlags2;\n        })(NodeCheckFlags || {});\n        TypeFlags = /* @__PURE__ */ ((TypeFlags2) => {\n          TypeFlags2[TypeFlags2[\"Any\"] = 1] = \"Any\";\n          TypeFlags2[TypeFlags2[\"Unknown\"] = 2] = \"Unknown\";\n          TypeFlags2[TypeFlags2[\"String\"] = 4] = \"String\";\n          TypeFlags2[TypeFlags2[\"Number\"] = 8] = \"Number\";\n          TypeFlags2[TypeFlags2[\"Boolean\"] = 16] = \"Boolean\";\n          TypeFlags2[TypeFlags2[\"Enum\"] = 32] = \"Enum\";\n          TypeFlags2[TypeFlags2[\"BigInt\"] = 64] = \"BigInt\";\n          TypeFlags2[TypeFlags2[\"StringLiteral\"] = 128] = \"StringLiteral\";\n          TypeFlags2[TypeFlags2[\"NumberLiteral\"] = 256] = \"NumberLiteral\";\n          TypeFlags2[TypeFlags2[\"BooleanLiteral\"] = 512] = \"BooleanLiteral\";\n          TypeFlags2[TypeFlags2[\"EnumLiteral\"] = 1024] = \"EnumLiteral\";\n          TypeFlags2[TypeFlags2[\"BigIntLiteral\"] = 2048] = \"BigIntLiteral\";\n          TypeFlags2[TypeFlags2[\"ESSymbol\"] = 4096] = \"ESSymbol\";\n          TypeFlags2[TypeFlags2[\"UniqueESSymbol\"] = 8192] = \"UniqueESSymbol\";\n          TypeFlags2[TypeFlags2[\"Void\"] = 16384] = \"Void\";\n          TypeFlags2[TypeFlags2[\"Undefined\"] = 32768] = \"Undefined\";\n          TypeFlags2[TypeFlags2[\"Null\"] = 65536] = \"Null\";\n          TypeFlags2[TypeFlags2[\"Never\"] = 131072] = \"Never\";\n          TypeFlags2[TypeFlags2[\"TypeParameter\"] = 262144] = \"TypeParameter\";\n          TypeFlags2[TypeFlags2[\"Object\"] = 524288] = \"Object\";\n          TypeFlags2[TypeFlags2[\"Union\"] = 1048576] = \"Union\";\n          TypeFlags2[TypeFlags2[\"Intersection\"] = 2097152] = \"Intersection\";\n          TypeFlags2[TypeFlags2[\"Index\"] = 4194304] = \"Index\";\n          TypeFlags2[TypeFlags2[\"IndexedAccess\"] = 8388608] = \"IndexedAccess\";\n          TypeFlags2[TypeFlags2[\"Conditional\"] = 16777216] = \"Conditional\";\n          TypeFlags2[TypeFlags2[\"Substitution\"] = 33554432] = \"Substitution\";\n          TypeFlags2[TypeFlags2[\"NonPrimitive\"] = 67108864] = \"NonPrimitive\";\n          TypeFlags2[TypeFlags2[\"TemplateLiteral\"] = 134217728] = \"TemplateLiteral\";\n          TypeFlags2[TypeFlags2[\"StringMapping\"] = 268435456] = \"StringMapping\";\n          TypeFlags2[TypeFlags2[\"AnyOrUnknown\"] = 3] = \"AnyOrUnknown\";\n          TypeFlags2[TypeFlags2[\"Nullable\"] = 98304] = \"Nullable\";\n          TypeFlags2[TypeFlags2[\"Literal\"] = 2944] = \"Literal\";\n          TypeFlags2[TypeFlags2[\"Unit\"] = 109472] = \"Unit\";\n          TypeFlags2[TypeFlags2[\"Freshable\"] = 2976] = \"Freshable\";\n          TypeFlags2[TypeFlags2[\"StringOrNumberLiteral\"] = 384] = \"StringOrNumberLiteral\";\n          TypeFlags2[TypeFlags2[\"StringOrNumberLiteralOrUnique\"] = 8576] = \"StringOrNumberLiteralOrUnique\";\n          TypeFlags2[TypeFlags2[\"DefinitelyFalsy\"] = 117632] = \"DefinitelyFalsy\";\n          TypeFlags2[TypeFlags2[\"PossiblyFalsy\"] = 117724] = \"PossiblyFalsy\";\n          TypeFlags2[TypeFlags2[\"Intrinsic\"] = 67359327] = \"Intrinsic\";\n          TypeFlags2[TypeFlags2[\"Primitive\"] = 134348796] = \"Primitive\";\n          TypeFlags2[TypeFlags2[\"StringLike\"] = 402653316] = \"StringLike\";\n          TypeFlags2[TypeFlags2[\"NumberLike\"] = 296] = \"NumberLike\";\n          TypeFlags2[TypeFlags2[\"BigIntLike\"] = 2112] = \"BigIntLike\";\n          TypeFlags2[TypeFlags2[\"BooleanLike\"] = 528] = \"BooleanLike\";\n          TypeFlags2[TypeFlags2[\"EnumLike\"] = 1056] = \"EnumLike\";\n          TypeFlags2[TypeFlags2[\"ESSymbolLike\"] = 12288] = \"ESSymbolLike\";\n          TypeFlags2[TypeFlags2[\"VoidLike\"] = 49152] = \"VoidLike\";\n          TypeFlags2[TypeFlags2[\"DefinitelyNonNullable\"] = 470302716] = \"DefinitelyNonNullable\";\n          TypeFlags2[TypeFlags2[\"DisjointDomains\"] = 469892092] = \"DisjointDomains\";\n          TypeFlags2[TypeFlags2[\"UnionOrIntersection\"] = 3145728] = \"UnionOrIntersection\";\n          TypeFlags2[TypeFlags2[\"StructuredType\"] = 3670016] = \"StructuredType\";\n          TypeFlags2[TypeFlags2[\"TypeVariable\"] = 8650752] = \"TypeVariable\";\n          TypeFlags2[TypeFlags2[\"InstantiableNonPrimitive\"] = 58982400] = \"InstantiableNonPrimitive\";\n          TypeFlags2[TypeFlags2[\"InstantiablePrimitive\"] = 406847488] = \"InstantiablePrimitive\";\n          TypeFlags2[TypeFlags2[\"Instantiable\"] = 465829888] = \"Instantiable\";\n          TypeFlags2[TypeFlags2[\"StructuredOrInstantiable\"] = 469499904] = \"StructuredOrInstantiable\";\n          TypeFlags2[TypeFlags2[\"ObjectFlagsType\"] = 3899393] = \"ObjectFlagsType\";\n          TypeFlags2[TypeFlags2[\"Simplifiable\"] = 25165824] = \"Simplifiable\";\n          TypeFlags2[TypeFlags2[\"Singleton\"] = 67358815] = \"Singleton\";\n          TypeFlags2[TypeFlags2[\"Narrowable\"] = 536624127] = \"Narrowable\";\n          TypeFlags2[TypeFlags2[\"IncludesMask\"] = 205258751] = \"IncludesMask\";\n          TypeFlags2[\n            TypeFlags2[\"IncludesMissingType\"] = 262144\n            /* TypeParameter */\n          ] = \"IncludesMissingType\";\n          TypeFlags2[\n            TypeFlags2[\"IncludesNonWideningType\"] = 4194304\n            /* Index */\n          ] = \"IncludesNonWideningType\";\n          TypeFlags2[\n            TypeFlags2[\"IncludesWildcard\"] = 8388608\n            /* IndexedAccess */\n          ] = \"IncludesWildcard\";\n          TypeFlags2[\n            TypeFlags2[\"IncludesEmptyObject\"] = 16777216\n            /* Conditional */\n          ] = \"IncludesEmptyObject\";\n          TypeFlags2[\n            TypeFlags2[\"IncludesInstantiable\"] = 33554432\n            /* Substitution */\n          ] = \"IncludesInstantiable\";\n          TypeFlags2[TypeFlags2[\"NotPrimitiveUnion\"] = 36323363] = \"NotPrimitiveUnion\";\n          return TypeFlags2;\n        })(TypeFlags || {});\n        ObjectFlags = /* @__PURE__ */ ((ObjectFlags3) => {\n          ObjectFlags3[ObjectFlags3[\"None\"] = 0] = \"None\";\n          ObjectFlags3[ObjectFlags3[\"Class\"] = 1] = \"Class\";\n          ObjectFlags3[ObjectFlags3[\"Interface\"] = 2] = \"Interface\";\n          ObjectFlags3[ObjectFlags3[\"Reference\"] = 4] = \"Reference\";\n          ObjectFlags3[ObjectFlags3[\"Tuple\"] = 8] = \"Tuple\";\n          ObjectFlags3[ObjectFlags3[\"Anonymous\"] = 16] = \"Anonymous\";\n          ObjectFlags3[ObjectFlags3[\"Mapped\"] = 32] = \"Mapped\";\n          ObjectFlags3[ObjectFlags3[\"Instantiated\"] = 64] = \"Instantiated\";\n          ObjectFlags3[ObjectFlags3[\"ObjectLiteral\"] = 128] = \"ObjectLiteral\";\n          ObjectFlags3[ObjectFlags3[\"EvolvingArray\"] = 256] = \"EvolvingArray\";\n          ObjectFlags3[ObjectFlags3[\"ObjectLiteralPatternWithComputedProperties\"] = 512] = \"ObjectLiteralPatternWithComputedProperties\";\n          ObjectFlags3[ObjectFlags3[\"ReverseMapped\"] = 1024] = \"ReverseMapped\";\n          ObjectFlags3[ObjectFlags3[\"JsxAttributes\"] = 2048] = \"JsxAttributes\";\n          ObjectFlags3[ObjectFlags3[\"JSLiteral\"] = 4096] = \"JSLiteral\";\n          ObjectFlags3[ObjectFlags3[\"FreshLiteral\"] = 8192] = \"FreshLiteral\";\n          ObjectFlags3[ObjectFlags3[\"ArrayLiteral\"] = 16384] = \"ArrayLiteral\";\n          ObjectFlags3[ObjectFlags3[\"PrimitiveUnion\"] = 32768] = \"PrimitiveUnion\";\n          ObjectFlags3[ObjectFlags3[\"ContainsWideningType\"] = 65536] = \"ContainsWideningType\";\n          ObjectFlags3[ObjectFlags3[\"ContainsObjectOrArrayLiteral\"] = 131072] = \"ContainsObjectOrArrayLiteral\";\n          ObjectFlags3[ObjectFlags3[\"NonInferrableType\"] = 262144] = \"NonInferrableType\";\n          ObjectFlags3[ObjectFlags3[\"CouldContainTypeVariablesComputed\"] = 524288] = \"CouldContainTypeVariablesComputed\";\n          ObjectFlags3[ObjectFlags3[\"CouldContainTypeVariables\"] = 1048576] = \"CouldContainTypeVariables\";\n          ObjectFlags3[ObjectFlags3[\"ClassOrInterface\"] = 3] = \"ClassOrInterface\";\n          ObjectFlags3[ObjectFlags3[\"RequiresWidening\"] = 196608] = \"RequiresWidening\";\n          ObjectFlags3[ObjectFlags3[\"PropagatingFlags\"] = 458752] = \"PropagatingFlags\";\n          ObjectFlags3[ObjectFlags3[\"ObjectTypeKindMask\"] = 1343] = \"ObjectTypeKindMask\";\n          ObjectFlags3[ObjectFlags3[\"ContainsSpread\"] = 2097152] = \"ContainsSpread\";\n          ObjectFlags3[ObjectFlags3[\"ObjectRestType\"] = 4194304] = \"ObjectRestType\";\n          ObjectFlags3[ObjectFlags3[\"InstantiationExpressionType\"] = 8388608] = \"InstantiationExpressionType\";\n          ObjectFlags3[ObjectFlags3[\"IsClassInstanceClone\"] = 16777216] = \"IsClassInstanceClone\";\n          ObjectFlags3[ObjectFlags3[\"IdenticalBaseTypeCalculated\"] = 33554432] = \"IdenticalBaseTypeCalculated\";\n          ObjectFlags3[ObjectFlags3[\"IdenticalBaseTypeExists\"] = 67108864] = \"IdenticalBaseTypeExists\";\n          ObjectFlags3[ObjectFlags3[\"IsGenericTypeComputed\"] = 2097152] = \"IsGenericTypeComputed\";\n          ObjectFlags3[ObjectFlags3[\"IsGenericObjectType\"] = 4194304] = \"IsGenericObjectType\";\n          ObjectFlags3[ObjectFlags3[\"IsGenericIndexType\"] = 8388608] = \"IsGenericIndexType\";\n          ObjectFlags3[ObjectFlags3[\"IsGenericType\"] = 12582912] = \"IsGenericType\";\n          ObjectFlags3[ObjectFlags3[\"ContainsIntersections\"] = 16777216] = \"ContainsIntersections\";\n          ObjectFlags3[ObjectFlags3[\"IsUnknownLikeUnionComputed\"] = 33554432] = \"IsUnknownLikeUnionComputed\";\n          ObjectFlags3[ObjectFlags3[\"IsUnknownLikeUnion\"] = 67108864] = \"IsUnknownLikeUnion\";\n          ObjectFlags3[ObjectFlags3[\"IsNeverIntersectionComputed\"] = 16777216] = \"IsNeverIntersectionComputed\";\n          ObjectFlags3[ObjectFlags3[\"IsNeverIntersection\"] = 33554432] = \"IsNeverIntersection\";\n          return ObjectFlags3;\n        })(ObjectFlags || {});\n        VarianceFlags = /* @__PURE__ */ ((VarianceFlags2) => {\n          VarianceFlags2[VarianceFlags2[\"Invariant\"] = 0] = \"Invariant\";\n          VarianceFlags2[VarianceFlags2[\"Covariant\"] = 1] = \"Covariant\";\n          VarianceFlags2[VarianceFlags2[\"Contravariant\"] = 2] = \"Contravariant\";\n          VarianceFlags2[VarianceFlags2[\"Bivariant\"] = 3] = \"Bivariant\";\n          VarianceFlags2[VarianceFlags2[\"Independent\"] = 4] = \"Independent\";\n          VarianceFlags2[VarianceFlags2[\"VarianceMask\"] = 7] = \"VarianceMask\";\n          VarianceFlags2[VarianceFlags2[\"Unmeasurable\"] = 8] = \"Unmeasurable\";\n          VarianceFlags2[VarianceFlags2[\"Unreliable\"] = 16] = \"Unreliable\";\n          VarianceFlags2[VarianceFlags2[\"AllowsStructuralFallback\"] = 24] = \"AllowsStructuralFallback\";\n          return VarianceFlags2;\n        })(VarianceFlags || {});\n        ElementFlags = /* @__PURE__ */ ((ElementFlags2) => {\n          ElementFlags2[ElementFlags2[\"Required\"] = 1] = \"Required\";\n          ElementFlags2[ElementFlags2[\"Optional\"] = 2] = \"Optional\";\n          ElementFlags2[ElementFlags2[\"Rest\"] = 4] = \"Rest\";\n          ElementFlags2[ElementFlags2[\"Variadic\"] = 8] = \"Variadic\";\n          ElementFlags2[ElementFlags2[\"Fixed\"] = 3] = \"Fixed\";\n          ElementFlags2[ElementFlags2[\"Variable\"] = 12] = \"Variable\";\n          ElementFlags2[ElementFlags2[\"NonRequired\"] = 14] = \"NonRequired\";\n          ElementFlags2[ElementFlags2[\"NonRest\"] = 11] = \"NonRest\";\n          return ElementFlags2;\n        })(ElementFlags || {});\n        AccessFlags = /* @__PURE__ */ ((AccessFlags2) => {\n          AccessFlags2[AccessFlags2[\"None\"] = 0] = \"None\";\n          AccessFlags2[AccessFlags2[\"IncludeUndefined\"] = 1] = \"IncludeUndefined\";\n          AccessFlags2[AccessFlags2[\"NoIndexSignatures\"] = 2] = \"NoIndexSignatures\";\n          AccessFlags2[AccessFlags2[\"Writing\"] = 4] = \"Writing\";\n          AccessFlags2[AccessFlags2[\"CacheSymbol\"] = 8] = \"CacheSymbol\";\n          AccessFlags2[AccessFlags2[\"NoTupleBoundsCheck\"] = 16] = \"NoTupleBoundsCheck\";\n          AccessFlags2[AccessFlags2[\"ExpressionPosition\"] = 32] = \"ExpressionPosition\";\n          AccessFlags2[AccessFlags2[\"ReportDeprecated\"] = 64] = \"ReportDeprecated\";\n          AccessFlags2[AccessFlags2[\"SuppressNoImplicitAnyError\"] = 128] = \"SuppressNoImplicitAnyError\";\n          AccessFlags2[AccessFlags2[\"Contextual\"] = 256] = \"Contextual\";\n          AccessFlags2[\n            AccessFlags2[\"Persistent\"] = 1\n            /* IncludeUndefined */\n          ] = \"Persistent\";\n          return AccessFlags2;\n        })(AccessFlags || {});\n        JsxReferenceKind = /* @__PURE__ */ ((JsxReferenceKind2) => {\n          JsxReferenceKind2[JsxReferenceKind2[\"Component\"] = 0] = \"Component\";\n          JsxReferenceKind2[JsxReferenceKind2[\"Function\"] = 1] = \"Function\";\n          JsxReferenceKind2[JsxReferenceKind2[\"Mixed\"] = 2] = \"Mixed\";\n          return JsxReferenceKind2;\n        })(JsxReferenceKind || {});\n        SignatureKind = /* @__PURE__ */ ((SignatureKind2) => {\n          SignatureKind2[SignatureKind2[\"Call\"] = 0] = \"Call\";\n          SignatureKind2[SignatureKind2[\"Construct\"] = 1] = \"Construct\";\n          return SignatureKind2;\n        })(SignatureKind || {});\n        SignatureFlags = /* @__PURE__ */ ((SignatureFlags5) => {\n          SignatureFlags5[SignatureFlags5[\"None\"] = 0] = \"None\";\n          SignatureFlags5[SignatureFlags5[\"HasRestParameter\"] = 1] = \"HasRestParameter\";\n          SignatureFlags5[SignatureFlags5[\"HasLiteralTypes\"] = 2] = \"HasLiteralTypes\";\n          SignatureFlags5[SignatureFlags5[\"Abstract\"] = 4] = \"Abstract\";\n          SignatureFlags5[SignatureFlags5[\"IsInnerCallChain\"] = 8] = \"IsInnerCallChain\";\n          SignatureFlags5[SignatureFlags5[\"IsOuterCallChain\"] = 16] = \"IsOuterCallChain\";\n          SignatureFlags5[SignatureFlags5[\"IsUntypedSignatureInJSFile\"] = 32] = \"IsUntypedSignatureInJSFile\";\n          SignatureFlags5[SignatureFlags5[\"PropagatingFlags\"] = 39] = \"PropagatingFlags\";\n          SignatureFlags5[SignatureFlags5[\"CallChainFlags\"] = 24] = \"CallChainFlags\";\n          return SignatureFlags5;\n        })(SignatureFlags || {});\n        IndexKind = /* @__PURE__ */ ((IndexKind2) => {\n          IndexKind2[IndexKind2[\"String\"] = 0] = \"String\";\n          IndexKind2[IndexKind2[\"Number\"] = 1] = \"Number\";\n          return IndexKind2;\n        })(IndexKind || {});\n        TypeMapKind = /* @__PURE__ */ ((TypeMapKind2) => {\n          TypeMapKind2[TypeMapKind2[\"Simple\"] = 0] = \"Simple\";\n          TypeMapKind2[TypeMapKind2[\"Array\"] = 1] = \"Array\";\n          TypeMapKind2[TypeMapKind2[\"Deferred\"] = 2] = \"Deferred\";\n          TypeMapKind2[TypeMapKind2[\"Function\"] = 3] = \"Function\";\n          TypeMapKind2[TypeMapKind2[\"Composite\"] = 4] = \"Composite\";\n          TypeMapKind2[TypeMapKind2[\"Merged\"] = 5] = \"Merged\";\n          return TypeMapKind2;\n        })(TypeMapKind || {});\n        InferencePriority = /* @__PURE__ */ ((InferencePriority2) => {\n          InferencePriority2[InferencePriority2[\"None\"] = 0] = \"None\";\n          InferencePriority2[InferencePriority2[\"NakedTypeVariable\"] = 1] = \"NakedTypeVariable\";\n          InferencePriority2[InferencePriority2[\"SpeculativeTuple\"] = 2] = \"SpeculativeTuple\";\n          InferencePriority2[InferencePriority2[\"SubstituteSource\"] = 4] = \"SubstituteSource\";\n          InferencePriority2[InferencePriority2[\"HomomorphicMappedType\"] = 8] = \"HomomorphicMappedType\";\n          InferencePriority2[InferencePriority2[\"PartialHomomorphicMappedType\"] = 16] = \"PartialHomomorphicMappedType\";\n          InferencePriority2[InferencePriority2[\"MappedTypeConstraint\"] = 32] = \"MappedTypeConstraint\";\n          InferencePriority2[InferencePriority2[\"ContravariantConditional\"] = 64] = \"ContravariantConditional\";\n          InferencePriority2[InferencePriority2[\"ReturnType\"] = 128] = \"ReturnType\";\n          InferencePriority2[InferencePriority2[\"LiteralKeyof\"] = 256] = \"LiteralKeyof\";\n          InferencePriority2[InferencePriority2[\"NoConstraints\"] = 512] = \"NoConstraints\";\n          InferencePriority2[InferencePriority2[\"AlwaysStrict\"] = 1024] = \"AlwaysStrict\";\n          InferencePriority2[InferencePriority2[\"MaxValue\"] = 2048] = \"MaxValue\";\n          InferencePriority2[InferencePriority2[\"PriorityImpliesCombination\"] = 416] = \"PriorityImpliesCombination\";\n          InferencePriority2[InferencePriority2[\"Circularity\"] = -1] = \"Circularity\";\n          return InferencePriority2;\n        })(InferencePriority || {});\n        InferenceFlags = /* @__PURE__ */ ((InferenceFlags2) => {\n          InferenceFlags2[InferenceFlags2[\"None\"] = 0] = \"None\";\n          InferenceFlags2[InferenceFlags2[\"NoDefault\"] = 1] = \"NoDefault\";\n          InferenceFlags2[InferenceFlags2[\"AnyDefault\"] = 2] = \"AnyDefault\";\n          InferenceFlags2[InferenceFlags2[\"SkippedGenericFunction\"] = 4] = \"SkippedGenericFunction\";\n          return InferenceFlags2;\n        })(InferenceFlags || {});\n        Ternary = /* @__PURE__ */ ((Ternary2) => {\n          Ternary2[Ternary2[\"False\"] = 0] = \"False\";\n          Ternary2[Ternary2[\"Unknown\"] = 1] = \"Unknown\";\n          Ternary2[Ternary2[\"Maybe\"] = 3] = \"Maybe\";\n          Ternary2[Ternary2[\"True\"] = -1] = \"True\";\n          return Ternary2;\n        })(Ternary || {});\n        AssignmentDeclarationKind = /* @__PURE__ */ ((AssignmentDeclarationKind2) => {\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"None\"] = 0] = \"None\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ExportsProperty\"] = 1] = \"ExportsProperty\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ModuleExports\"] = 2] = \"ModuleExports\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"PrototypeProperty\"] = 3] = \"PrototypeProperty\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ThisProperty\"] = 4] = \"ThisProperty\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"Property\"] = 5] = \"Property\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"Prototype\"] = 6] = \"Prototype\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ObjectDefinePropertyValue\"] = 7] = \"ObjectDefinePropertyValue\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ObjectDefinePropertyExports\"] = 8] = \"ObjectDefinePropertyExports\";\n          AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ObjectDefinePrototypeProperty\"] = 9] = \"ObjectDefinePrototypeProperty\";\n          return AssignmentDeclarationKind2;\n        })(AssignmentDeclarationKind || {});\n        DiagnosticCategory = /* @__PURE__ */ ((DiagnosticCategory2) => {\n          DiagnosticCategory2[DiagnosticCategory2[\"Warning\"] = 0] = \"Warning\";\n          DiagnosticCategory2[DiagnosticCategory2[\"Error\"] = 1] = \"Error\";\n          DiagnosticCategory2[DiagnosticCategory2[\"Suggestion\"] = 2] = \"Suggestion\";\n          DiagnosticCategory2[DiagnosticCategory2[\"Message\"] = 3] = \"Message\";\n          return DiagnosticCategory2;\n        })(DiagnosticCategory || {});\n        ModuleResolutionKind = /* @__PURE__ */ ((ModuleResolutionKind2) => {\n          ModuleResolutionKind2[ModuleResolutionKind2[\"Classic\"] = 1] = \"Classic\";\n          ModuleResolutionKind2[ModuleResolutionKind2[\"NodeJs\"] = 2] = \"NodeJs\";\n          ModuleResolutionKind2[ModuleResolutionKind2[\"Node10\"] = 2] = \"Node10\";\n          ModuleResolutionKind2[ModuleResolutionKind2[\"Node16\"] = 3] = \"Node16\";\n          ModuleResolutionKind2[ModuleResolutionKind2[\"NodeNext\"] = 99] = \"NodeNext\";\n          ModuleResolutionKind2[ModuleResolutionKind2[\"Bundler\"] = 100] = \"Bundler\";\n          return ModuleResolutionKind2;\n        })(ModuleResolutionKind || {});\n        ModuleDetectionKind = /* @__PURE__ */ ((ModuleDetectionKind2) => {\n          ModuleDetectionKind2[ModuleDetectionKind2[\"Legacy\"] = 1] = \"Legacy\";\n          ModuleDetectionKind2[ModuleDetectionKind2[\"Auto\"] = 2] = \"Auto\";\n          ModuleDetectionKind2[ModuleDetectionKind2[\"Force\"] = 3] = \"Force\";\n          return ModuleDetectionKind2;\n        })(ModuleDetectionKind || {});\n        WatchFileKind = /* @__PURE__ */ ((WatchFileKind2) => {\n          WatchFileKind2[WatchFileKind2[\"FixedPollingInterval\"] = 0] = \"FixedPollingInterval\";\n          WatchFileKind2[WatchFileKind2[\"PriorityPollingInterval\"] = 1] = \"PriorityPollingInterval\";\n          WatchFileKind2[WatchFileKind2[\"DynamicPriorityPolling\"] = 2] = \"DynamicPriorityPolling\";\n          WatchFileKind2[WatchFileKind2[\"FixedChunkSizePolling\"] = 3] = \"FixedChunkSizePolling\";\n          WatchFileKind2[WatchFileKind2[\"UseFsEvents\"] = 4] = \"UseFsEvents\";\n          WatchFileKind2[WatchFileKind2[\"UseFsEventsOnParentDirectory\"] = 5] = \"UseFsEventsOnParentDirectory\";\n          return WatchFileKind2;\n        })(WatchFileKind || {});\n        WatchDirectoryKind = /* @__PURE__ */ ((WatchDirectoryKind2) => {\n          WatchDirectoryKind2[WatchDirectoryKind2[\"UseFsEvents\"] = 0] = \"UseFsEvents\";\n          WatchDirectoryKind2[WatchDirectoryKind2[\"FixedPollingInterval\"] = 1] = \"FixedPollingInterval\";\n          WatchDirectoryKind2[WatchDirectoryKind2[\"DynamicPriorityPolling\"] = 2] = \"DynamicPriorityPolling\";\n          WatchDirectoryKind2[WatchDirectoryKind2[\"FixedChunkSizePolling\"] = 3] = \"FixedChunkSizePolling\";\n          return WatchDirectoryKind2;\n        })(WatchDirectoryKind || {});\n        PollingWatchKind = /* @__PURE__ */ ((PollingWatchKind2) => {\n          PollingWatchKind2[PollingWatchKind2[\"FixedInterval\"] = 0] = \"FixedInterval\";\n          PollingWatchKind2[PollingWatchKind2[\"PriorityInterval\"] = 1] = \"PriorityInterval\";\n          PollingWatchKind2[PollingWatchKind2[\"DynamicPriority\"] = 2] = \"DynamicPriority\";\n          PollingWatchKind2[PollingWatchKind2[\"FixedChunkSize\"] = 3] = \"FixedChunkSize\";\n          return PollingWatchKind2;\n        })(PollingWatchKind || {});\n        ModuleKind = /* @__PURE__ */ ((ModuleKind2) => {\n          ModuleKind2[ModuleKind2[\"None\"] = 0] = \"None\";\n          ModuleKind2[ModuleKind2[\"CommonJS\"] = 1] = \"CommonJS\";\n          ModuleKind2[ModuleKind2[\"AMD\"] = 2] = \"AMD\";\n          ModuleKind2[ModuleKind2[\"UMD\"] = 3] = \"UMD\";\n          ModuleKind2[ModuleKind2[\"System\"] = 4] = \"System\";\n          ModuleKind2[ModuleKind2[\"ES2015\"] = 5] = \"ES2015\";\n          ModuleKind2[ModuleKind2[\"ES2020\"] = 6] = \"ES2020\";\n          ModuleKind2[ModuleKind2[\"ES2022\"] = 7] = \"ES2022\";\n          ModuleKind2[ModuleKind2[\"ESNext\"] = 99] = \"ESNext\";\n          ModuleKind2[ModuleKind2[\"Node16\"] = 100] = \"Node16\";\n          ModuleKind2[ModuleKind2[\"NodeNext\"] = 199] = \"NodeNext\";\n          return ModuleKind2;\n        })(ModuleKind || {});\n        JsxEmit = /* @__PURE__ */ ((JsxEmit2) => {\n          JsxEmit2[JsxEmit2[\"None\"] = 0] = \"None\";\n          JsxEmit2[JsxEmit2[\"Preserve\"] = 1] = \"Preserve\";\n          JsxEmit2[JsxEmit2[\"React\"] = 2] = \"React\";\n          JsxEmit2[JsxEmit2[\"ReactNative\"] = 3] = \"ReactNative\";\n          JsxEmit2[JsxEmit2[\"ReactJSX\"] = 4] = \"ReactJSX\";\n          JsxEmit2[JsxEmit2[\"ReactJSXDev\"] = 5] = \"ReactJSXDev\";\n          return JsxEmit2;\n        })(JsxEmit || {});\n        ImportsNotUsedAsValues = /* @__PURE__ */ ((ImportsNotUsedAsValues2) => {\n          ImportsNotUsedAsValues2[ImportsNotUsedAsValues2[\"Remove\"] = 0] = \"Remove\";\n          ImportsNotUsedAsValues2[ImportsNotUsedAsValues2[\"Preserve\"] = 1] = \"Preserve\";\n          ImportsNotUsedAsValues2[ImportsNotUsedAsValues2[\"Error\"] = 2] = \"Error\";\n          return ImportsNotUsedAsValues2;\n        })(ImportsNotUsedAsValues || {});\n        NewLineKind = /* @__PURE__ */ ((NewLineKind2) => {\n          NewLineKind2[NewLineKind2[\"CarriageReturnLineFeed\"] = 0] = \"CarriageReturnLineFeed\";\n          NewLineKind2[NewLineKind2[\"LineFeed\"] = 1] = \"LineFeed\";\n          return NewLineKind2;\n        })(NewLineKind || {});\n        ScriptKind2 = /* @__PURE__ */ ((ScriptKind5) => {\n          ScriptKind5[ScriptKind5[\"Unknown\"] = 0] = \"Unknown\";\n          ScriptKind5[ScriptKind5[\"JS\"] = 1] = \"JS\";\n          ScriptKind5[ScriptKind5[\"JSX\"] = 2] = \"JSX\";\n          ScriptKind5[ScriptKind5[\"TS\"] = 3] = \"TS\";\n          ScriptKind5[ScriptKind5[\"TSX\"] = 4] = \"TSX\";\n          ScriptKind5[ScriptKind5[\"External\"] = 5] = \"External\";\n          ScriptKind5[ScriptKind5[\"JSON\"] = 6] = \"JSON\";\n          ScriptKind5[ScriptKind5[\"Deferred\"] = 7] = \"Deferred\";\n          return ScriptKind5;\n        })(ScriptKind2 || {});\n        ScriptTarget2 = /* @__PURE__ */ ((ScriptTarget10) => {\n          ScriptTarget10[ScriptTarget10[\"ES3\"] = 0] = \"ES3\";\n          ScriptTarget10[ScriptTarget10[\"ES5\"] = 1] = \"ES5\";\n          ScriptTarget10[ScriptTarget10[\"ES2015\"] = 2] = \"ES2015\";\n          ScriptTarget10[ScriptTarget10[\"ES2016\"] = 3] = \"ES2016\";\n          ScriptTarget10[ScriptTarget10[\"ES2017\"] = 4] = \"ES2017\";\n          ScriptTarget10[ScriptTarget10[\"ES2018\"] = 5] = \"ES2018\";\n          ScriptTarget10[ScriptTarget10[\"ES2019\"] = 6] = \"ES2019\";\n          ScriptTarget10[ScriptTarget10[\"ES2020\"] = 7] = \"ES2020\";\n          ScriptTarget10[ScriptTarget10[\"ES2021\"] = 8] = \"ES2021\";\n          ScriptTarget10[ScriptTarget10[\"ES2022\"] = 9] = \"ES2022\";\n          ScriptTarget10[ScriptTarget10[\"ESNext\"] = 99] = \"ESNext\";\n          ScriptTarget10[ScriptTarget10[\"JSON\"] = 100] = \"JSON\";\n          ScriptTarget10[\n            ScriptTarget10[\"Latest\"] = 99\n            /* ESNext */\n          ] = \"Latest\";\n          return ScriptTarget10;\n        })(ScriptTarget2 || {});\n        LanguageVariant = /* @__PURE__ */ ((LanguageVariant4) => {\n          LanguageVariant4[LanguageVariant4[\"Standard\"] = 0] = \"Standard\";\n          LanguageVariant4[LanguageVariant4[\"JSX\"] = 1] = \"JSX\";\n          return LanguageVariant4;\n        })(LanguageVariant || {});\n        WatchDirectoryFlags = /* @__PURE__ */ ((WatchDirectoryFlags3) => {\n          WatchDirectoryFlags3[WatchDirectoryFlags3[\"None\"] = 0] = \"None\";\n          WatchDirectoryFlags3[WatchDirectoryFlags3[\"Recursive\"] = 1] = \"Recursive\";\n          return WatchDirectoryFlags3;\n        })(WatchDirectoryFlags || {});\n        CharacterCodes = /* @__PURE__ */ ((CharacterCodes2) => {\n          CharacterCodes2[CharacterCodes2[\"nullCharacter\"] = 0] = \"nullCharacter\";\n          CharacterCodes2[CharacterCodes2[\"maxAsciiCharacter\"] = 127] = \"maxAsciiCharacter\";\n          CharacterCodes2[CharacterCodes2[\"lineFeed\"] = 10] = \"lineFeed\";\n          CharacterCodes2[CharacterCodes2[\"carriageReturn\"] = 13] = \"carriageReturn\";\n          CharacterCodes2[CharacterCodes2[\"lineSeparator\"] = 8232] = \"lineSeparator\";\n          CharacterCodes2[CharacterCodes2[\"paragraphSeparator\"] = 8233] = \"paragraphSeparator\";\n          CharacterCodes2[CharacterCodes2[\"nextLine\"] = 133] = \"nextLine\";\n          CharacterCodes2[CharacterCodes2[\"space\"] = 32] = \"space\";\n          CharacterCodes2[CharacterCodes2[\"nonBreakingSpace\"] = 160] = \"nonBreakingSpace\";\n          CharacterCodes2[CharacterCodes2[\"enQuad\"] = 8192] = \"enQuad\";\n          CharacterCodes2[CharacterCodes2[\"emQuad\"] = 8193] = \"emQuad\";\n          CharacterCodes2[CharacterCodes2[\"enSpace\"] = 8194] = \"enSpace\";\n          CharacterCodes2[CharacterCodes2[\"emSpace\"] = 8195] = \"emSpace\";\n          CharacterCodes2[CharacterCodes2[\"threePerEmSpace\"] = 8196] = \"threePerEmSpace\";\n          CharacterCodes2[CharacterCodes2[\"fourPerEmSpace\"] = 8197] = \"fourPerEmSpace\";\n          CharacterCodes2[CharacterCodes2[\"sixPerEmSpace\"] = 8198] = \"sixPerEmSpace\";\n          CharacterCodes2[CharacterCodes2[\"figureSpace\"] = 8199] = \"figureSpace\";\n          CharacterCodes2[CharacterCodes2[\"punctuationSpace\"] = 8200] = \"punctuationSpace\";\n          CharacterCodes2[CharacterCodes2[\"thinSpace\"] = 8201] = \"thinSpace\";\n          CharacterCodes2[CharacterCodes2[\"hairSpace\"] = 8202] = \"hairSpace\";\n          CharacterCodes2[CharacterCodes2[\"zeroWidthSpace\"] = 8203] = \"zeroWidthSpace\";\n          CharacterCodes2[CharacterCodes2[\"narrowNoBreakSpace\"] = 8239] = \"narrowNoBreakSpace\";\n          CharacterCodes2[CharacterCodes2[\"ideographicSpace\"] = 12288] = \"ideographicSpace\";\n          CharacterCodes2[CharacterCodes2[\"mathematicalSpace\"] = 8287] = \"mathematicalSpace\";\n          CharacterCodes2[CharacterCodes2[\"ogham\"] = 5760] = \"ogham\";\n          CharacterCodes2[CharacterCodes2[\"_\"] = 95] = \"_\";\n          CharacterCodes2[CharacterCodes2[\"$\"] = 36] = \"$\";\n          CharacterCodes2[CharacterCodes2[\"_0\"] = 48] = \"_0\";\n          CharacterCodes2[CharacterCodes2[\"_1\"] = 49] = \"_1\";\n          CharacterCodes2[CharacterCodes2[\"_2\"] = 50] = \"_2\";\n          CharacterCodes2[CharacterCodes2[\"_3\"] = 51] = \"_3\";\n          CharacterCodes2[CharacterCodes2[\"_4\"] = 52] = \"_4\";\n          CharacterCodes2[CharacterCodes2[\"_5\"] = 53] = \"_5\";\n          CharacterCodes2[CharacterCodes2[\"_6\"] = 54] = \"_6\";\n          CharacterCodes2[CharacterCodes2[\"_7\"] = 55] = \"_7\";\n          CharacterCodes2[CharacterCodes2[\"_8\"] = 56] = \"_8\";\n          CharacterCodes2[CharacterCodes2[\"_9\"] = 57] = \"_9\";\n          CharacterCodes2[CharacterCodes2[\"a\"] = 97] = \"a\";\n          CharacterCodes2[CharacterCodes2[\"b\"] = 98] = \"b\";\n          CharacterCodes2[CharacterCodes2[\"c\"] = 99] = \"c\";\n          CharacterCodes2[CharacterCodes2[\"d\"] = 100] = \"d\";\n          CharacterCodes2[CharacterCodes2[\"e\"] = 101] = \"e\";\n          CharacterCodes2[CharacterCodes2[\"f\"] = 102] = \"f\";\n          CharacterCodes2[CharacterCodes2[\"g\"] = 103] = \"g\";\n          CharacterCodes2[CharacterCodes2[\"h\"] = 104] = \"h\";\n          CharacterCodes2[CharacterCodes2[\"i\"] = 105] = \"i\";\n          CharacterCodes2[CharacterCodes2[\"j\"] = 106] = \"j\";\n          CharacterCodes2[CharacterCodes2[\"k\"] = 107] = \"k\";\n          CharacterCodes2[CharacterCodes2[\"l\"] = 108] = \"l\";\n          CharacterCodes2[CharacterCodes2[\"m\"] = 109] = \"m\";\n          CharacterCodes2[CharacterCodes2[\"n\"] = 110] = \"n\";\n          CharacterCodes2[CharacterCodes2[\"o\"] = 111] = \"o\";\n          CharacterCodes2[CharacterCodes2[\"p\"] = 112] = \"p\";\n          CharacterCodes2[CharacterCodes2[\"q\"] = 113] = \"q\";\n          CharacterCodes2[CharacterCodes2[\"r\"] = 114] = \"r\";\n          CharacterCodes2[CharacterCodes2[\"s\"] = 115] = \"s\";\n          CharacterCodes2[CharacterCodes2[\"t\"] = 116] = \"t\";\n          CharacterCodes2[CharacterCodes2[\"u\"] = 117] = \"u\";\n          CharacterCodes2[CharacterCodes2[\"v\"] = 118] = \"v\";\n          CharacterCodes2[CharacterCodes2[\"w\"] = 119] = \"w\";\n          CharacterCodes2[CharacterCodes2[\"x\"] = 120] = \"x\";\n          CharacterCodes2[CharacterCodes2[\"y\"] = 121] = \"y\";\n          CharacterCodes2[CharacterCodes2[\"z\"] = 122] = \"z\";\n          CharacterCodes2[CharacterCodes2[\"A\"] = 65] = \"A\";\n          CharacterCodes2[CharacterCodes2[\"B\"] = 66] = \"B\";\n          CharacterCodes2[CharacterCodes2[\"C\"] = 67] = \"C\";\n          CharacterCodes2[CharacterCodes2[\"D\"] = 68] = \"D\";\n          CharacterCodes2[CharacterCodes2[\"E\"] = 69] = \"E\";\n          CharacterCodes2[CharacterCodes2[\"F\"] = 70] = \"F\";\n          CharacterCodes2[CharacterCodes2[\"G\"] = 71] = \"G\";\n          CharacterCodes2[CharacterCodes2[\"H\"] = 72] = \"H\";\n          CharacterCodes2[CharacterCodes2[\"I\"] = 73] = \"I\";\n          CharacterCodes2[CharacterCodes2[\"J\"] = 74] = \"J\";\n          CharacterCodes2[CharacterCodes2[\"K\"] = 75] = \"K\";\n          CharacterCodes2[CharacterCodes2[\"L\"] = 76] = \"L\";\n          CharacterCodes2[CharacterCodes2[\"M\"] = 77] = \"M\";\n          CharacterCodes2[CharacterCodes2[\"N\"] = 78] = \"N\";\n          CharacterCodes2[CharacterCodes2[\"O\"] = 79] = \"O\";\n          CharacterCodes2[CharacterCodes2[\"P\"] = 80] = \"P\";\n          CharacterCodes2[CharacterCodes2[\"Q\"] = 81] = \"Q\";\n          CharacterCodes2[CharacterCodes2[\"R\"] = 82] = \"R\";\n          CharacterCodes2[CharacterCodes2[\"S\"] = 83] = \"S\";\n          CharacterCodes2[CharacterCodes2[\"T\"] = 84] = \"T\";\n          CharacterCodes2[CharacterCodes2[\"U\"] = 85] = \"U\";\n          CharacterCodes2[CharacterCodes2[\"V\"] = 86] = \"V\";\n          CharacterCodes2[CharacterCodes2[\"W\"] = 87] = \"W\";\n          CharacterCodes2[CharacterCodes2[\"X\"] = 88] = \"X\";\n          CharacterCodes2[CharacterCodes2[\"Y\"] = 89] = \"Y\";\n          CharacterCodes2[CharacterCodes2[\"Z\"] = 90] = \"Z\";\n          CharacterCodes2[CharacterCodes2[\"ampersand\"] = 38] = \"ampersand\";\n          CharacterCodes2[CharacterCodes2[\"asterisk\"] = 42] = \"asterisk\";\n          CharacterCodes2[CharacterCodes2[\"at\"] = 64] = \"at\";\n          CharacterCodes2[CharacterCodes2[\"backslash\"] = 92] = \"backslash\";\n          CharacterCodes2[CharacterCodes2[\"backtick\"] = 96] = \"backtick\";\n          CharacterCodes2[CharacterCodes2[\"bar\"] = 124] = \"bar\";\n          CharacterCodes2[CharacterCodes2[\"caret\"] = 94] = \"caret\";\n          CharacterCodes2[CharacterCodes2[\"closeBrace\"] = 125] = \"closeBrace\";\n          CharacterCodes2[CharacterCodes2[\"closeBracket\"] = 93] = \"closeBracket\";\n          CharacterCodes2[CharacterCodes2[\"closeParen\"] = 41] = \"closeParen\";\n          CharacterCodes2[CharacterCodes2[\"colon\"] = 58] = \"colon\";\n          CharacterCodes2[CharacterCodes2[\"comma\"] = 44] = \"comma\";\n          CharacterCodes2[CharacterCodes2[\"dot\"] = 46] = \"dot\";\n          CharacterCodes2[CharacterCodes2[\"doubleQuote\"] = 34] = \"doubleQuote\";\n          CharacterCodes2[CharacterCodes2[\"equals\"] = 61] = \"equals\";\n          CharacterCodes2[CharacterCodes2[\"exclamation\"] = 33] = \"exclamation\";\n          CharacterCodes2[CharacterCodes2[\"greaterThan\"] = 62] = \"greaterThan\";\n          CharacterCodes2[CharacterCodes2[\"hash\"] = 35] = \"hash\";\n          CharacterCodes2[CharacterCodes2[\"lessThan\"] = 60] = \"lessThan\";\n          CharacterCodes2[CharacterCodes2[\"minus\"] = 45] = \"minus\";\n          CharacterCodes2[CharacterCodes2[\"openBrace\"] = 123] = \"openBrace\";\n          CharacterCodes2[CharacterCodes2[\"openBracket\"] = 91] = \"openBracket\";\n          CharacterCodes2[CharacterCodes2[\"openParen\"] = 40] = \"openParen\";\n          CharacterCodes2[CharacterCodes2[\"percent\"] = 37] = \"percent\";\n          CharacterCodes2[CharacterCodes2[\"plus\"] = 43] = \"plus\";\n          CharacterCodes2[CharacterCodes2[\"question\"] = 63] = \"question\";\n          CharacterCodes2[CharacterCodes2[\"semicolon\"] = 59] = \"semicolon\";\n          CharacterCodes2[CharacterCodes2[\"singleQuote\"] = 39] = \"singleQuote\";\n          CharacterCodes2[CharacterCodes2[\"slash\"] = 47] = \"slash\";\n          CharacterCodes2[CharacterCodes2[\"tilde\"] = 126] = \"tilde\";\n          CharacterCodes2[CharacterCodes2[\"backspace\"] = 8] = \"backspace\";\n          CharacterCodes2[CharacterCodes2[\"formFeed\"] = 12] = \"formFeed\";\n          CharacterCodes2[CharacterCodes2[\"byteOrderMark\"] = 65279] = \"byteOrderMark\";\n          CharacterCodes2[CharacterCodes2[\"tab\"] = 9] = \"tab\";\n          CharacterCodes2[CharacterCodes2[\"verticalTab\"] = 11] = \"verticalTab\";\n          return CharacterCodes2;\n        })(CharacterCodes || {});\n        Extension = /* @__PURE__ */ ((Extension2) => {\n          Extension2[\"Ts\"] = \".ts\";\n          Extension2[\"Tsx\"] = \".tsx\";\n          Extension2[\"Dts\"] = \".d.ts\";\n          Extension2[\"Js\"] = \".js\";\n          Extension2[\"Jsx\"] = \".jsx\";\n          Extension2[\"Json\"] = \".json\";\n          Extension2[\"TsBuildInfo\"] = \".tsbuildinfo\";\n          Extension2[\"Mjs\"] = \".mjs\";\n          Extension2[\"Mts\"] = \".mts\";\n          Extension2[\"Dmts\"] = \".d.mts\";\n          Extension2[\"Cjs\"] = \".cjs\";\n          Extension2[\"Cts\"] = \".cts\";\n          Extension2[\"Dcts\"] = \".d.cts\";\n          return Extension2;\n        })(Extension || {});\n        TransformFlags = /* @__PURE__ */ ((TransformFlags3) => {\n          TransformFlags3[TransformFlags3[\"None\"] = 0] = \"None\";\n          TransformFlags3[TransformFlags3[\"ContainsTypeScript\"] = 1] = \"ContainsTypeScript\";\n          TransformFlags3[TransformFlags3[\"ContainsJsx\"] = 2] = \"ContainsJsx\";\n          TransformFlags3[TransformFlags3[\"ContainsESNext\"] = 4] = \"ContainsESNext\";\n          TransformFlags3[TransformFlags3[\"ContainsES2022\"] = 8] = \"ContainsES2022\";\n          TransformFlags3[TransformFlags3[\"ContainsES2021\"] = 16] = \"ContainsES2021\";\n          TransformFlags3[TransformFlags3[\"ContainsES2020\"] = 32] = \"ContainsES2020\";\n          TransformFlags3[TransformFlags3[\"ContainsES2019\"] = 64] = \"ContainsES2019\";\n          TransformFlags3[TransformFlags3[\"ContainsES2018\"] = 128] = \"ContainsES2018\";\n          TransformFlags3[TransformFlags3[\"ContainsES2017\"] = 256] = \"ContainsES2017\";\n          TransformFlags3[TransformFlags3[\"ContainsES2016\"] = 512] = \"ContainsES2016\";\n          TransformFlags3[TransformFlags3[\"ContainsES2015\"] = 1024] = \"ContainsES2015\";\n          TransformFlags3[TransformFlags3[\"ContainsGenerator\"] = 2048] = \"ContainsGenerator\";\n          TransformFlags3[TransformFlags3[\"ContainsDestructuringAssignment\"] = 4096] = \"ContainsDestructuringAssignment\";\n          TransformFlags3[TransformFlags3[\"ContainsTypeScriptClassSyntax\"] = 8192] = \"ContainsTypeScriptClassSyntax\";\n          TransformFlags3[TransformFlags3[\"ContainsLexicalThis\"] = 16384] = \"ContainsLexicalThis\";\n          TransformFlags3[TransformFlags3[\"ContainsRestOrSpread\"] = 32768] = \"ContainsRestOrSpread\";\n          TransformFlags3[TransformFlags3[\"ContainsObjectRestOrSpread\"] = 65536] = \"ContainsObjectRestOrSpread\";\n          TransformFlags3[TransformFlags3[\"ContainsComputedPropertyName\"] = 131072] = \"ContainsComputedPropertyName\";\n          TransformFlags3[TransformFlags3[\"ContainsBlockScopedBinding\"] = 262144] = \"ContainsBlockScopedBinding\";\n          TransformFlags3[TransformFlags3[\"ContainsBindingPattern\"] = 524288] = \"ContainsBindingPattern\";\n          TransformFlags3[TransformFlags3[\"ContainsYield\"] = 1048576] = \"ContainsYield\";\n          TransformFlags3[TransformFlags3[\"ContainsAwait\"] = 2097152] = \"ContainsAwait\";\n          TransformFlags3[TransformFlags3[\"ContainsHoistedDeclarationOrCompletion\"] = 4194304] = \"ContainsHoistedDeclarationOrCompletion\";\n          TransformFlags3[TransformFlags3[\"ContainsDynamicImport\"] = 8388608] = \"ContainsDynamicImport\";\n          TransformFlags3[TransformFlags3[\"ContainsClassFields\"] = 16777216] = \"ContainsClassFields\";\n          TransformFlags3[TransformFlags3[\"ContainsDecorators\"] = 33554432] = \"ContainsDecorators\";\n          TransformFlags3[TransformFlags3[\"ContainsPossibleTopLevelAwait\"] = 67108864] = \"ContainsPossibleTopLevelAwait\";\n          TransformFlags3[TransformFlags3[\"ContainsLexicalSuper\"] = 134217728] = \"ContainsLexicalSuper\";\n          TransformFlags3[TransformFlags3[\"ContainsUpdateExpressionForIdentifier\"] = 268435456] = \"ContainsUpdateExpressionForIdentifier\";\n          TransformFlags3[TransformFlags3[\"ContainsPrivateIdentifierInExpression\"] = 536870912] = \"ContainsPrivateIdentifierInExpression\";\n          TransformFlags3[TransformFlags3[\"HasComputedFlags\"] = -2147483648] = \"HasComputedFlags\";\n          TransformFlags3[\n            TransformFlags3[\"AssertTypeScript\"] = 1\n            /* ContainsTypeScript */\n          ] = \"AssertTypeScript\";\n          TransformFlags3[\n            TransformFlags3[\"AssertJsx\"] = 2\n            /* ContainsJsx */\n          ] = \"AssertJsx\";\n          TransformFlags3[\n            TransformFlags3[\"AssertESNext\"] = 4\n            /* ContainsESNext */\n          ] = \"AssertESNext\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2022\"] = 8\n            /* ContainsES2022 */\n          ] = \"AssertES2022\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2021\"] = 16\n            /* ContainsES2021 */\n          ] = \"AssertES2021\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2020\"] = 32\n            /* ContainsES2020 */\n          ] = \"AssertES2020\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2019\"] = 64\n            /* ContainsES2019 */\n          ] = \"AssertES2019\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2018\"] = 128\n            /* ContainsES2018 */\n          ] = \"AssertES2018\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2017\"] = 256\n            /* ContainsES2017 */\n          ] = \"AssertES2017\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2016\"] = 512\n            /* ContainsES2016 */\n          ] = \"AssertES2016\";\n          TransformFlags3[\n            TransformFlags3[\"AssertES2015\"] = 1024\n            /* ContainsES2015 */\n          ] = \"AssertES2015\";\n          TransformFlags3[\n            TransformFlags3[\"AssertGenerator\"] = 2048\n            /* ContainsGenerator */\n          ] = \"AssertGenerator\";\n          TransformFlags3[\n            TransformFlags3[\"AssertDestructuringAssignment\"] = 4096\n            /* ContainsDestructuringAssignment */\n          ] = \"AssertDestructuringAssignment\";\n          TransformFlags3[\n            TransformFlags3[\"OuterExpressionExcludes\"] = -2147483648\n            /* HasComputedFlags */\n          ] = \"OuterExpressionExcludes\";\n          TransformFlags3[\n            TransformFlags3[\"PropertyAccessExcludes\"] = -2147483648\n            /* OuterExpressionExcludes */\n          ] = \"PropertyAccessExcludes\";\n          TransformFlags3[\n            TransformFlags3[\"NodeExcludes\"] = -2147483648\n            /* PropertyAccessExcludes */\n          ] = \"NodeExcludes\";\n          TransformFlags3[TransformFlags3[\"ArrowFunctionExcludes\"] = -2072174592] = \"ArrowFunctionExcludes\";\n          TransformFlags3[TransformFlags3[\"FunctionExcludes\"] = -1937940480] = \"FunctionExcludes\";\n          TransformFlags3[TransformFlags3[\"ConstructorExcludes\"] = -1937948672] = \"ConstructorExcludes\";\n          TransformFlags3[TransformFlags3[\"MethodOrAccessorExcludes\"] = -2005057536] = \"MethodOrAccessorExcludes\";\n          TransformFlags3[TransformFlags3[\"PropertyExcludes\"] = -2013249536] = \"PropertyExcludes\";\n          TransformFlags3[TransformFlags3[\"ClassExcludes\"] = -2147344384] = \"ClassExcludes\";\n          TransformFlags3[TransformFlags3[\"ModuleExcludes\"] = -1941676032] = \"ModuleExcludes\";\n          TransformFlags3[TransformFlags3[\"TypeExcludes\"] = -2] = \"TypeExcludes\";\n          TransformFlags3[TransformFlags3[\"ObjectLiteralExcludes\"] = -2147278848] = \"ObjectLiteralExcludes\";\n          TransformFlags3[TransformFlags3[\"ArrayLiteralOrCallOrNewExcludes\"] = -2147450880] = \"ArrayLiteralOrCallOrNewExcludes\";\n          TransformFlags3[TransformFlags3[\"VariableDeclarationListExcludes\"] = -2146893824] = \"VariableDeclarationListExcludes\";\n          TransformFlags3[\n            TransformFlags3[\"ParameterExcludes\"] = -2147483648\n            /* NodeExcludes */\n          ] = \"ParameterExcludes\";\n          TransformFlags3[TransformFlags3[\"CatchClauseExcludes\"] = -2147418112] = \"CatchClauseExcludes\";\n          TransformFlags3[TransformFlags3[\"BindingPatternExcludes\"] = -2147450880] = \"BindingPatternExcludes\";\n          TransformFlags3[TransformFlags3[\"ContainsLexicalThisOrSuper\"] = 134234112] = \"ContainsLexicalThisOrSuper\";\n          TransformFlags3[TransformFlags3[\"PropertyNamePropagatingFlags\"] = 134234112] = \"PropertyNamePropagatingFlags\";\n          return TransformFlags3;\n        })(TransformFlags || {});\n        SnippetKind = /* @__PURE__ */ ((SnippetKind3) => {\n          SnippetKind3[SnippetKind3[\"TabStop\"] = 0] = \"TabStop\";\n          SnippetKind3[SnippetKind3[\"Placeholder\"] = 1] = \"Placeholder\";\n          SnippetKind3[SnippetKind3[\"Choice\"] = 2] = \"Choice\";\n          SnippetKind3[SnippetKind3[\"Variable\"] = 3] = \"Variable\";\n          return SnippetKind3;\n        })(SnippetKind || {});\n        EmitFlags = /* @__PURE__ */ ((EmitFlags3) => {\n          EmitFlags3[EmitFlags3[\"None\"] = 0] = \"None\";\n          EmitFlags3[EmitFlags3[\"SingleLine\"] = 1] = \"SingleLine\";\n          EmitFlags3[EmitFlags3[\"MultiLine\"] = 2] = \"MultiLine\";\n          EmitFlags3[EmitFlags3[\"AdviseOnEmitNode\"] = 4] = \"AdviseOnEmitNode\";\n          EmitFlags3[EmitFlags3[\"NoSubstitution\"] = 8] = \"NoSubstitution\";\n          EmitFlags3[EmitFlags3[\"CapturesThis\"] = 16] = \"CapturesThis\";\n          EmitFlags3[EmitFlags3[\"NoLeadingSourceMap\"] = 32] = \"NoLeadingSourceMap\";\n          EmitFlags3[EmitFlags3[\"NoTrailingSourceMap\"] = 64] = \"NoTrailingSourceMap\";\n          EmitFlags3[EmitFlags3[\"NoSourceMap\"] = 96] = \"NoSourceMap\";\n          EmitFlags3[EmitFlags3[\"NoNestedSourceMaps\"] = 128] = \"NoNestedSourceMaps\";\n          EmitFlags3[EmitFlags3[\"NoTokenLeadingSourceMaps\"] = 256] = \"NoTokenLeadingSourceMaps\";\n          EmitFlags3[EmitFlags3[\"NoTokenTrailingSourceMaps\"] = 512] = \"NoTokenTrailingSourceMaps\";\n          EmitFlags3[EmitFlags3[\"NoTokenSourceMaps\"] = 768] = \"NoTokenSourceMaps\";\n          EmitFlags3[EmitFlags3[\"NoLeadingComments\"] = 1024] = \"NoLeadingComments\";\n          EmitFlags3[EmitFlags3[\"NoTrailingComments\"] = 2048] = \"NoTrailingComments\";\n          EmitFlags3[EmitFlags3[\"NoComments\"] = 3072] = \"NoComments\";\n          EmitFlags3[EmitFlags3[\"NoNestedComments\"] = 4096] = \"NoNestedComments\";\n          EmitFlags3[EmitFlags3[\"HelperName\"] = 8192] = \"HelperName\";\n          EmitFlags3[EmitFlags3[\"ExportName\"] = 16384] = \"ExportName\";\n          EmitFlags3[EmitFlags3[\"LocalName\"] = 32768] = \"LocalName\";\n          EmitFlags3[EmitFlags3[\"InternalName\"] = 65536] = \"InternalName\";\n          EmitFlags3[EmitFlags3[\"Indented\"] = 131072] = \"Indented\";\n          EmitFlags3[EmitFlags3[\"NoIndentation\"] = 262144] = \"NoIndentation\";\n          EmitFlags3[EmitFlags3[\"AsyncFunctionBody\"] = 524288] = \"AsyncFunctionBody\";\n          EmitFlags3[EmitFlags3[\"ReuseTempVariableScope\"] = 1048576] = \"ReuseTempVariableScope\";\n          EmitFlags3[EmitFlags3[\"CustomPrologue\"] = 2097152] = \"CustomPrologue\";\n          EmitFlags3[EmitFlags3[\"NoHoisting\"] = 4194304] = \"NoHoisting\";\n          EmitFlags3[EmitFlags3[\"HasEndOfDeclarationMarker\"] = 8388608] = \"HasEndOfDeclarationMarker\";\n          EmitFlags3[EmitFlags3[\"Iterator\"] = 16777216] = \"Iterator\";\n          EmitFlags3[EmitFlags3[\"NoAsciiEscaping\"] = 33554432] = \"NoAsciiEscaping\";\n          return EmitFlags3;\n        })(EmitFlags || {});\n        InternalEmitFlags = /* @__PURE__ */ ((InternalEmitFlags3) => {\n          InternalEmitFlags3[InternalEmitFlags3[\"None\"] = 0] = \"None\";\n          InternalEmitFlags3[InternalEmitFlags3[\"TypeScriptClassWrapper\"] = 1] = \"TypeScriptClassWrapper\";\n          InternalEmitFlags3[InternalEmitFlags3[\"NeverApplyImportHelper\"] = 2] = \"NeverApplyImportHelper\";\n          InternalEmitFlags3[InternalEmitFlags3[\"IgnoreSourceNewlines\"] = 4] = \"IgnoreSourceNewlines\";\n          InternalEmitFlags3[InternalEmitFlags3[\"Immutable\"] = 8] = \"Immutable\";\n          InternalEmitFlags3[InternalEmitFlags3[\"IndirectCall\"] = 16] = \"IndirectCall\";\n          InternalEmitFlags3[InternalEmitFlags3[\"TransformPrivateStaticElements\"] = 32] = \"TransformPrivateStaticElements\";\n          return InternalEmitFlags3;\n        })(InternalEmitFlags || {});\n        ExternalEmitHelpers = /* @__PURE__ */ ((ExternalEmitHelpers2) => {\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Extends\"] = 1] = \"Extends\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Assign\"] = 2] = \"Assign\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Rest\"] = 4] = \"Rest\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Decorate\"] = 8] = \"Decorate\";\n          ExternalEmitHelpers2[\n            ExternalEmitHelpers2[\"ESDecorateAndRunInitializers\"] = 8\n            /* Decorate */\n          ] = \"ESDecorateAndRunInitializers\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Metadata\"] = 16] = \"Metadata\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Param\"] = 32] = \"Param\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Awaiter\"] = 64] = \"Awaiter\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Generator\"] = 128] = \"Generator\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Values\"] = 256] = \"Values\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Read\"] = 512] = \"Read\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"SpreadArray\"] = 1024] = \"SpreadArray\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"Await\"] = 2048] = \"Await\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncGenerator\"] = 4096] = \"AsyncGenerator\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncDelegator\"] = 8192] = \"AsyncDelegator\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncValues\"] = 16384] = \"AsyncValues\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"ExportStar\"] = 32768] = \"ExportStar\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"ImportStar\"] = 65536] = \"ImportStar\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"ImportDefault\"] = 131072] = \"ImportDefault\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"MakeTemplateObject\"] = 262144] = \"MakeTemplateObject\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"ClassPrivateFieldGet\"] = 524288] = \"ClassPrivateFieldGet\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"ClassPrivateFieldSet\"] = 1048576] = \"ClassPrivateFieldSet\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"ClassPrivateFieldIn\"] = 2097152] = \"ClassPrivateFieldIn\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"CreateBinding\"] = 4194304] = \"CreateBinding\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"SetFunctionName\"] = 8388608] = \"SetFunctionName\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"PropKey\"] = 16777216] = \"PropKey\";\n          ExternalEmitHelpers2[\n            ExternalEmitHelpers2[\"FirstEmitHelper\"] = 1\n            /* Extends */\n          ] = \"FirstEmitHelper\";\n          ExternalEmitHelpers2[\n            ExternalEmitHelpers2[\"LastEmitHelper\"] = 16777216\n            /* PropKey */\n          ] = \"LastEmitHelper\";\n          ExternalEmitHelpers2[\n            ExternalEmitHelpers2[\"ForOfIncludes\"] = 256\n            /* Values */\n          ] = \"ForOfIncludes\";\n          ExternalEmitHelpers2[\n            ExternalEmitHelpers2[\"ForAwaitOfIncludes\"] = 16384\n            /* AsyncValues */\n          ] = \"ForAwaitOfIncludes\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncGeneratorIncludes\"] = 6144] = \"AsyncGeneratorIncludes\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncDelegatorIncludes\"] = 26624] = \"AsyncDelegatorIncludes\";\n          ExternalEmitHelpers2[ExternalEmitHelpers2[\"SpreadIncludes\"] = 1536] = \"SpreadIncludes\";\n          return ExternalEmitHelpers2;\n        })(ExternalEmitHelpers || {});\n        EmitHint = /* @__PURE__ */ ((EmitHint6) => {\n          EmitHint6[EmitHint6[\"SourceFile\"] = 0] = \"SourceFile\";\n          EmitHint6[EmitHint6[\"Expression\"] = 1] = \"Expression\";\n          EmitHint6[EmitHint6[\"IdentifierName\"] = 2] = \"IdentifierName\";\n          EmitHint6[EmitHint6[\"MappedTypeParameter\"] = 3] = \"MappedTypeParameter\";\n          EmitHint6[EmitHint6[\"Unspecified\"] = 4] = \"Unspecified\";\n          EmitHint6[EmitHint6[\"EmbeddedStatement\"] = 5] = \"EmbeddedStatement\";\n          EmitHint6[EmitHint6[\"JsxAttributeValue\"] = 6] = \"JsxAttributeValue\";\n          return EmitHint6;\n        })(EmitHint || {});\n        OuterExpressionKinds = /* @__PURE__ */ ((OuterExpressionKinds2) => {\n          OuterExpressionKinds2[OuterExpressionKinds2[\"Parentheses\"] = 1] = \"Parentheses\";\n          OuterExpressionKinds2[OuterExpressionKinds2[\"TypeAssertions\"] = 2] = \"TypeAssertions\";\n          OuterExpressionKinds2[OuterExpressionKinds2[\"NonNullAssertions\"] = 4] = \"NonNullAssertions\";\n          OuterExpressionKinds2[OuterExpressionKinds2[\"PartiallyEmittedExpressions\"] = 8] = \"PartiallyEmittedExpressions\";\n          OuterExpressionKinds2[OuterExpressionKinds2[\"Assertions\"] = 6] = \"Assertions\";\n          OuterExpressionKinds2[OuterExpressionKinds2[\"All\"] = 15] = \"All\";\n          OuterExpressionKinds2[OuterExpressionKinds2[\"ExcludeJSDocTypeAssertion\"] = 16] = \"ExcludeJSDocTypeAssertion\";\n          return OuterExpressionKinds2;\n        })(OuterExpressionKinds || {});\n        LexicalEnvironmentFlags = /* @__PURE__ */ ((LexicalEnvironmentFlags2) => {\n          LexicalEnvironmentFlags2[LexicalEnvironmentFlags2[\"None\"] = 0] = \"None\";\n          LexicalEnvironmentFlags2[LexicalEnvironmentFlags2[\"InParameters\"] = 1] = \"InParameters\";\n          LexicalEnvironmentFlags2[LexicalEnvironmentFlags2[\"VariablesHoistedInParameters\"] = 2] = \"VariablesHoistedInParameters\";\n          return LexicalEnvironmentFlags2;\n        })(LexicalEnvironmentFlags || {});\n        BundleFileSectionKind = /* @__PURE__ */ ((BundleFileSectionKind2) => {\n          BundleFileSectionKind2[\"Prologue\"] = \"prologue\";\n          BundleFileSectionKind2[\"EmitHelpers\"] = \"emitHelpers\";\n          BundleFileSectionKind2[\"NoDefaultLib\"] = \"no-default-lib\";\n          BundleFileSectionKind2[\"Reference\"] = \"reference\";\n          BundleFileSectionKind2[\"Type\"] = \"type\";\n          BundleFileSectionKind2[\"TypeResolutionModeRequire\"] = \"type-require\";\n          BundleFileSectionKind2[\"TypeResolutionModeImport\"] = \"type-import\";\n          BundleFileSectionKind2[\"Lib\"] = \"lib\";\n          BundleFileSectionKind2[\"Prepend\"] = \"prepend\";\n          BundleFileSectionKind2[\"Text\"] = \"text\";\n          BundleFileSectionKind2[\"Internal\"] = \"internal\";\n          return BundleFileSectionKind2;\n        })(BundleFileSectionKind || {});\n        ListFormat = /* @__PURE__ */ ((ListFormat2) => {\n          ListFormat2[ListFormat2[\"None\"] = 0] = \"None\";\n          ListFormat2[ListFormat2[\"SingleLine\"] = 0] = \"SingleLine\";\n          ListFormat2[ListFormat2[\"MultiLine\"] = 1] = \"MultiLine\";\n          ListFormat2[ListFormat2[\"PreserveLines\"] = 2] = \"PreserveLines\";\n          ListFormat2[ListFormat2[\"LinesMask\"] = 3] = \"LinesMask\";\n          ListFormat2[ListFormat2[\"NotDelimited\"] = 0] = \"NotDelimited\";\n          ListFormat2[ListFormat2[\"BarDelimited\"] = 4] = \"BarDelimited\";\n          ListFormat2[ListFormat2[\"AmpersandDelimited\"] = 8] = \"AmpersandDelimited\";\n          ListFormat2[ListFormat2[\"CommaDelimited\"] = 16] = \"CommaDelimited\";\n          ListFormat2[ListFormat2[\"AsteriskDelimited\"] = 32] = \"AsteriskDelimited\";\n          ListFormat2[ListFormat2[\"DelimitersMask\"] = 60] = \"DelimitersMask\";\n          ListFormat2[ListFormat2[\"AllowTrailingComma\"] = 64] = \"AllowTrailingComma\";\n          ListFormat2[ListFormat2[\"Indented\"] = 128] = \"Indented\";\n          ListFormat2[ListFormat2[\"SpaceBetweenBraces\"] = 256] = \"SpaceBetweenBraces\";\n          ListFormat2[ListFormat2[\"SpaceBetweenSiblings\"] = 512] = \"SpaceBetweenSiblings\";\n          ListFormat2[ListFormat2[\"Braces\"] = 1024] = \"Braces\";\n          ListFormat2[ListFormat2[\"Parenthesis\"] = 2048] = \"Parenthesis\";\n          ListFormat2[ListFormat2[\"AngleBrackets\"] = 4096] = \"AngleBrackets\";\n          ListFormat2[ListFormat2[\"SquareBrackets\"] = 8192] = \"SquareBrackets\";\n          ListFormat2[ListFormat2[\"BracketsMask\"] = 15360] = \"BracketsMask\";\n          ListFormat2[ListFormat2[\"OptionalIfUndefined\"] = 16384] = \"OptionalIfUndefined\";\n          ListFormat2[ListFormat2[\"OptionalIfEmpty\"] = 32768] = \"OptionalIfEmpty\";\n          ListFormat2[ListFormat2[\"Optional\"] = 49152] = \"Optional\";\n          ListFormat2[ListFormat2[\"PreferNewLine\"] = 65536] = \"PreferNewLine\";\n          ListFormat2[ListFormat2[\"NoTrailingNewLine\"] = 131072] = \"NoTrailingNewLine\";\n          ListFormat2[ListFormat2[\"NoInterveningComments\"] = 262144] = \"NoInterveningComments\";\n          ListFormat2[ListFormat2[\"NoSpaceIfEmpty\"] = 524288] = \"NoSpaceIfEmpty\";\n          ListFormat2[ListFormat2[\"SingleElement\"] = 1048576] = \"SingleElement\";\n          ListFormat2[ListFormat2[\"SpaceAfterList\"] = 2097152] = \"SpaceAfterList\";\n          ListFormat2[ListFormat2[\"Modifiers\"] = 2359808] = \"Modifiers\";\n          ListFormat2[ListFormat2[\"HeritageClauses\"] = 512] = \"HeritageClauses\";\n          ListFormat2[ListFormat2[\"SingleLineTypeLiteralMembers\"] = 768] = \"SingleLineTypeLiteralMembers\";\n          ListFormat2[ListFormat2[\"MultiLineTypeLiteralMembers\"] = 32897] = \"MultiLineTypeLiteralMembers\";\n          ListFormat2[ListFormat2[\"SingleLineTupleTypeElements\"] = 528] = \"SingleLineTupleTypeElements\";\n          ListFormat2[ListFormat2[\"MultiLineTupleTypeElements\"] = 657] = \"MultiLineTupleTypeElements\";\n          ListFormat2[ListFormat2[\"UnionTypeConstituents\"] = 516] = \"UnionTypeConstituents\";\n          ListFormat2[ListFormat2[\"IntersectionTypeConstituents\"] = 520] = \"IntersectionTypeConstituents\";\n          ListFormat2[ListFormat2[\"ObjectBindingPatternElements\"] = 525136] = \"ObjectBindingPatternElements\";\n          ListFormat2[ListFormat2[\"ArrayBindingPatternElements\"] = 524880] = \"ArrayBindingPatternElements\";\n          ListFormat2[ListFormat2[\"ObjectLiteralExpressionProperties\"] = 526226] = \"ObjectLiteralExpressionProperties\";\n          ListFormat2[ListFormat2[\"ImportClauseEntries\"] = 526226] = \"ImportClauseEntries\";\n          ListFormat2[ListFormat2[\"ArrayLiteralExpressionElements\"] = 8914] = \"ArrayLiteralExpressionElements\";\n          ListFormat2[ListFormat2[\"CommaListElements\"] = 528] = \"CommaListElements\";\n          ListFormat2[ListFormat2[\"CallExpressionArguments\"] = 2576] = \"CallExpressionArguments\";\n          ListFormat2[ListFormat2[\"NewExpressionArguments\"] = 18960] = \"NewExpressionArguments\";\n          ListFormat2[ListFormat2[\"TemplateExpressionSpans\"] = 262144] = \"TemplateExpressionSpans\";\n          ListFormat2[ListFormat2[\"SingleLineBlockStatements\"] = 768] = \"SingleLineBlockStatements\";\n          ListFormat2[ListFormat2[\"MultiLineBlockStatements\"] = 129] = \"MultiLineBlockStatements\";\n          ListFormat2[ListFormat2[\"VariableDeclarationList\"] = 528] = \"VariableDeclarationList\";\n          ListFormat2[ListFormat2[\"SingleLineFunctionBodyStatements\"] = 768] = \"SingleLineFunctionBodyStatements\";\n          ListFormat2[\n            ListFormat2[\"MultiLineFunctionBodyStatements\"] = 1\n            /* MultiLine */\n          ] = \"MultiLineFunctionBodyStatements\";\n          ListFormat2[\n            ListFormat2[\"ClassHeritageClauses\"] = 0\n            /* SingleLine */\n          ] = \"ClassHeritageClauses\";\n          ListFormat2[ListFormat2[\"ClassMembers\"] = 129] = \"ClassMembers\";\n          ListFormat2[ListFormat2[\"InterfaceMembers\"] = 129] = \"InterfaceMembers\";\n          ListFormat2[ListFormat2[\"EnumMembers\"] = 145] = \"EnumMembers\";\n          ListFormat2[ListFormat2[\"CaseBlockClauses\"] = 129] = \"CaseBlockClauses\";\n          ListFormat2[ListFormat2[\"NamedImportsOrExportsElements\"] = 525136] = \"NamedImportsOrExportsElements\";\n          ListFormat2[ListFormat2[\"JsxElementOrFragmentChildren\"] = 262144] = \"JsxElementOrFragmentChildren\";\n          ListFormat2[ListFormat2[\"JsxElementAttributes\"] = 262656] = \"JsxElementAttributes\";\n          ListFormat2[ListFormat2[\"CaseOrDefaultClauseStatements\"] = 163969] = \"CaseOrDefaultClauseStatements\";\n          ListFormat2[ListFormat2[\"HeritageClauseTypes\"] = 528] = \"HeritageClauseTypes\";\n          ListFormat2[ListFormat2[\"SourceFileStatements\"] = 131073] = \"SourceFileStatements\";\n          ListFormat2[ListFormat2[\"Decorators\"] = 2146305] = \"Decorators\";\n          ListFormat2[ListFormat2[\"TypeArguments\"] = 53776] = \"TypeArguments\";\n          ListFormat2[ListFormat2[\"TypeParameters\"] = 53776] = \"TypeParameters\";\n          ListFormat2[ListFormat2[\"Parameters\"] = 2576] = \"Parameters\";\n          ListFormat2[ListFormat2[\"IndexSignatureParameters\"] = 8848] = \"IndexSignatureParameters\";\n          ListFormat2[ListFormat2[\"JSDocComment\"] = 33] = \"JSDocComment\";\n          return ListFormat2;\n        })(ListFormat || {});\n        PragmaKindFlags = /* @__PURE__ */ ((PragmaKindFlags2) => {\n          PragmaKindFlags2[PragmaKindFlags2[\"None\"] = 0] = \"None\";\n          PragmaKindFlags2[PragmaKindFlags2[\"TripleSlashXML\"] = 1] = \"TripleSlashXML\";\n          PragmaKindFlags2[PragmaKindFlags2[\"SingleLine\"] = 2] = \"SingleLine\";\n          PragmaKindFlags2[PragmaKindFlags2[\"MultiLine\"] = 4] = \"MultiLine\";\n          PragmaKindFlags2[PragmaKindFlags2[\"All\"] = 7] = \"All\";\n          PragmaKindFlags2[\n            PragmaKindFlags2[\"Default\"] = 7\n            /* All */\n          ] = \"Default\";\n          return PragmaKindFlags2;\n        })(PragmaKindFlags || {});\n        commentPragmas = {\n          \"reference\": {\n            args: [\n              { name: \"types\", optional: true, captureSpan: true },\n              { name: \"lib\", optional: true, captureSpan: true },\n              { name: \"path\", optional: true, captureSpan: true },\n              { name: \"no-default-lib\", optional: true },\n              { name: \"resolution-mode\", optional: true }\n            ],\n            kind: 1\n            /* TripleSlashXML */\n          },\n          \"amd-dependency\": {\n            args: [{ name: \"path\" }, { name: \"name\", optional: true }],\n            kind: 1\n            /* TripleSlashXML */\n          },\n          \"amd-module\": {\n            args: [{ name: \"name\" }],\n            kind: 1\n            /* TripleSlashXML */\n          },\n          \"ts-check\": {\n            kind: 2\n            /* SingleLine */\n          },\n          \"ts-nocheck\": {\n            kind: 2\n            /* SingleLine */\n          },\n          \"jsx\": {\n            args: [{ name: \"factory\" }],\n            kind: 4\n            /* MultiLine */\n          },\n          \"jsxfrag\": {\n            args: [{ name: \"factory\" }],\n            kind: 4\n            /* MultiLine */\n          },\n          \"jsximportsource\": {\n            args: [{ name: \"factory\" }],\n            kind: 4\n            /* MultiLine */\n          },\n          \"jsxruntime\": {\n            args: [{ name: \"factory\" }],\n            kind: 4\n            /* MultiLine */\n          }\n        };\n      }\n    });\n    function generateDjb2Hash(data) {\n      let acc = 5381;\n      for (let i = 0; i < data.length; i++) {\n        acc = (acc << 5) + acc + data.charCodeAt(i);\n      }\n      return acc.toString();\n    }\n    function setStackTraceLimit() {\n      if (Error.stackTraceLimit < 100) {\n        Error.stackTraceLimit = 100;\n      }\n    }\n    function getModifiedTime(host, fileName) {\n      return host.getModifiedTime(fileName) || missingFileModifiedTime;\n    }\n    function createPollingIntervalBasedLevels(levels) {\n      return {\n        [\n          250\n          /* Low */\n        ]: levels.Low,\n        [\n          500\n          /* Medium */\n        ]: levels.Medium,\n        [\n          2e3\n          /* High */\n        ]: levels.High\n      };\n    }\n    function setCustomPollingValues(system) {\n      if (!system.getEnvironmentVariable) {\n        return;\n      }\n      const pollingIntervalChanged = setCustomLevels(\"TSC_WATCH_POLLINGINTERVAL\", PollingInterval);\n      pollingChunkSize = getCustomPollingBasedLevels(\"TSC_WATCH_POLLINGCHUNKSIZE\", defaultChunkLevels) || pollingChunkSize;\n      unchangedPollThresholds = getCustomPollingBasedLevels(\"TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS\", defaultChunkLevels) || unchangedPollThresholds;\n      function getLevel(envVar, level) {\n        return system.getEnvironmentVariable(`${envVar}_${level.toUpperCase()}`);\n      }\n      function getCustomLevels(baseVariable) {\n        let customLevels;\n        setCustomLevel(\"Low\");\n        setCustomLevel(\"Medium\");\n        setCustomLevel(\"High\");\n        return customLevels;\n        function setCustomLevel(level) {\n          const customLevel = getLevel(baseVariable, level);\n          if (customLevel) {\n            (customLevels || (customLevels = {}))[level] = Number(customLevel);\n          }\n        }\n      }\n      function setCustomLevels(baseVariable, levels) {\n        const customLevels = getCustomLevels(baseVariable);\n        if (customLevels) {\n          setLevel(\"Low\");\n          setLevel(\"Medium\");\n          setLevel(\"High\");\n          return true;\n        }\n        return false;\n        function setLevel(level) {\n          levels[level] = customLevels[level] || levels[level];\n        }\n      }\n      function getCustomPollingBasedLevels(baseVariable, defaultLevels) {\n        const customLevels = getCustomLevels(baseVariable);\n        return (pollingIntervalChanged || customLevels) && createPollingIntervalBasedLevels(customLevels ? { ...defaultLevels, ...customLevels } : defaultLevels);\n      }\n    }\n    function pollWatchedFileQueue(host, queue, pollIndex, chunkSize, callbackOnWatchFileStat) {\n      let definedValueCopyToIndex = pollIndex;\n      for (let canVisit = queue.length; chunkSize && canVisit; nextPollIndex(), canVisit--) {\n        const watchedFile = queue[pollIndex];\n        if (!watchedFile) {\n          continue;\n        } else if (watchedFile.isClosed) {\n          queue[pollIndex] = void 0;\n          continue;\n        }\n        chunkSize--;\n        const fileChanged = onWatchedFileStat(watchedFile, getModifiedTime(host, watchedFile.fileName));\n        if (watchedFile.isClosed) {\n          queue[pollIndex] = void 0;\n          continue;\n        }\n        callbackOnWatchFileStat == null ? void 0 : callbackOnWatchFileStat(watchedFile, pollIndex, fileChanged);\n        if (queue[pollIndex]) {\n          if (definedValueCopyToIndex < pollIndex) {\n            queue[definedValueCopyToIndex] = watchedFile;\n            queue[pollIndex] = void 0;\n          }\n          definedValueCopyToIndex++;\n        }\n      }\n      return pollIndex;\n      function nextPollIndex() {\n        pollIndex++;\n        if (pollIndex === queue.length) {\n          if (definedValueCopyToIndex < pollIndex) {\n            queue.length = definedValueCopyToIndex;\n          }\n          pollIndex = 0;\n          definedValueCopyToIndex = 0;\n        }\n      }\n    }\n    function createDynamicPriorityPollingWatchFile(host) {\n      const watchedFiles = [];\n      const changedFilesInLastPoll = [];\n      const lowPollingIntervalQueue = createPollingIntervalQueue(\n        250\n        /* Low */\n      );\n      const mediumPollingIntervalQueue = createPollingIntervalQueue(\n        500\n        /* Medium */\n      );\n      const highPollingIntervalQueue = createPollingIntervalQueue(\n        2e3\n        /* High */\n      );\n      return watchFile2;\n      function watchFile2(fileName, callback, defaultPollingInterval) {\n        const file = {\n          fileName,\n          callback,\n          unchangedPolls: 0,\n          mtime: getModifiedTime(host, fileName)\n        };\n        watchedFiles.push(file);\n        addToPollingIntervalQueue(file, defaultPollingInterval);\n        return {\n          close: () => {\n            file.isClosed = true;\n            unorderedRemoveItem(watchedFiles, file);\n          }\n        };\n      }\n      function createPollingIntervalQueue(pollingInterval) {\n        const queue = [];\n        queue.pollingInterval = pollingInterval;\n        queue.pollIndex = 0;\n        queue.pollScheduled = false;\n        return queue;\n      }\n      function pollPollingIntervalQueue(queue) {\n        queue.pollIndex = pollQueue(queue, queue.pollingInterval, queue.pollIndex, pollingChunkSize[queue.pollingInterval]);\n        if (queue.length) {\n          scheduleNextPoll(queue.pollingInterval);\n        } else {\n          Debug2.assert(queue.pollIndex === 0);\n          queue.pollScheduled = false;\n        }\n      }\n      function pollLowPollingIntervalQueue(queue) {\n        pollQueue(\n          changedFilesInLastPoll,\n          250,\n          /*pollIndex*/\n          0,\n          changedFilesInLastPoll.length\n        );\n        pollPollingIntervalQueue(queue);\n        if (!queue.pollScheduled && changedFilesInLastPoll.length) {\n          scheduleNextPoll(\n            250\n            /* Low */\n          );\n        }\n      }\n      function pollQueue(queue, pollingInterval, pollIndex, chunkSize) {\n        return pollWatchedFileQueue(\n          host,\n          queue,\n          pollIndex,\n          chunkSize,\n          onWatchFileStat\n        );\n        function onWatchFileStat(watchedFile, pollIndex2, fileChanged) {\n          if (fileChanged) {\n            watchedFile.unchangedPolls = 0;\n            if (queue !== changedFilesInLastPoll) {\n              queue[pollIndex2] = void 0;\n              addChangedFileToLowPollingIntervalQueue(watchedFile);\n            }\n          } else if (watchedFile.unchangedPolls !== unchangedPollThresholds[pollingInterval]) {\n            watchedFile.unchangedPolls++;\n          } else if (queue === changedFilesInLastPoll) {\n            watchedFile.unchangedPolls = 1;\n            queue[pollIndex2] = void 0;\n            addToPollingIntervalQueue(\n              watchedFile,\n              250\n              /* Low */\n            );\n          } else if (pollingInterval !== 2e3) {\n            watchedFile.unchangedPolls++;\n            queue[pollIndex2] = void 0;\n            addToPollingIntervalQueue(\n              watchedFile,\n              pollingInterval === 250 ? 500 : 2e3\n              /* High */\n            );\n          }\n        }\n      }\n      function pollingIntervalQueue(pollingInterval) {\n        switch (pollingInterval) {\n          case 250:\n            return lowPollingIntervalQueue;\n          case 500:\n            return mediumPollingIntervalQueue;\n          case 2e3:\n            return highPollingIntervalQueue;\n        }\n      }\n      function addToPollingIntervalQueue(file, pollingInterval) {\n        pollingIntervalQueue(pollingInterval).push(file);\n        scheduleNextPollIfNotAlreadyScheduled(pollingInterval);\n      }\n      function addChangedFileToLowPollingIntervalQueue(file) {\n        changedFilesInLastPoll.push(file);\n        scheduleNextPollIfNotAlreadyScheduled(\n          250\n          /* Low */\n        );\n      }\n      function scheduleNextPollIfNotAlreadyScheduled(pollingInterval) {\n        if (!pollingIntervalQueue(pollingInterval).pollScheduled) {\n          scheduleNextPoll(pollingInterval);\n        }\n      }\n      function scheduleNextPoll(pollingInterval) {\n        pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingIntervalQueue(pollingInterval));\n      }\n    }\n    function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames) {\n      const fileWatcherCallbacks = createMultiMap();\n      const dirWatchers = /* @__PURE__ */ new Map();\n      const toCanonicalName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      return nonPollingWatchFile;\n      function nonPollingWatchFile(fileName, callback, _pollingInterval, fallbackOptions) {\n        const filePath = toCanonicalName(fileName);\n        fileWatcherCallbacks.add(filePath, callback);\n        const dirPath = getDirectoryPath(filePath) || \".\";\n        const watcher = dirWatchers.get(dirPath) || createDirectoryWatcher(getDirectoryPath(fileName) || \".\", dirPath, fallbackOptions);\n        watcher.referenceCount++;\n        return {\n          close: () => {\n            if (watcher.referenceCount === 1) {\n              watcher.close();\n              dirWatchers.delete(dirPath);\n            } else {\n              watcher.referenceCount--;\n            }\n            fileWatcherCallbacks.remove(filePath, callback);\n          }\n        };\n      }\n      function createDirectoryWatcher(dirName, dirPath, fallbackOptions) {\n        const watcher = fsWatch(\n          dirName,\n          1,\n          (_eventName, relativeFileName, modifiedTime) => {\n            if (!isString2(relativeFileName))\n              return;\n            const fileName = getNormalizedAbsolutePath(relativeFileName, dirName);\n            const callbacks = fileName && fileWatcherCallbacks.get(toCanonicalName(fileName));\n            if (callbacks) {\n              for (const fileCallback of callbacks) {\n                fileCallback(fileName, 1, modifiedTime);\n              }\n            }\n          },\n          /*recursive*/\n          false,\n          500,\n          fallbackOptions\n        );\n        watcher.referenceCount = 0;\n        dirWatchers.set(dirPath, watcher);\n        return watcher;\n      }\n    }\n    function createFixedChunkSizePollingWatchFile(host) {\n      const watchedFiles = [];\n      let pollIndex = 0;\n      let pollScheduled;\n      return watchFile2;\n      function watchFile2(fileName, callback) {\n        const file = {\n          fileName,\n          callback,\n          mtime: getModifiedTime(host, fileName)\n        };\n        watchedFiles.push(file);\n        scheduleNextPoll();\n        return {\n          close: () => {\n            file.isClosed = true;\n            unorderedRemoveItem(watchedFiles, file);\n          }\n        };\n      }\n      function pollQueue() {\n        pollScheduled = void 0;\n        pollIndex = pollWatchedFileQueue(host, watchedFiles, pollIndex, pollingChunkSize[\n          250\n          /* Low */\n        ]);\n        scheduleNextPoll();\n      }\n      function scheduleNextPoll() {\n        if (!watchedFiles.length || pollScheduled)\n          return;\n        pollScheduled = host.setTimeout(\n          pollQueue,\n          2e3\n          /* High */\n        );\n      }\n    }\n    function createSingleWatcherPerName(cache, useCaseSensitiveFileNames, name, callback, createWatcher) {\n      const toCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      const path = toCanonicalFileName(name);\n      const existing = cache.get(path);\n      if (existing) {\n        existing.callbacks.push(callback);\n      } else {\n        cache.set(path, {\n          watcher: createWatcher(\n            // Cant infer types correctly so lets satisfy checker\n            (param1, param2, param3) => {\n              var _a22;\n              return (_a22 = cache.get(path)) == null ? void 0 : _a22.callbacks.slice().forEach((cb) => cb(param1, param2, param3));\n            }\n          ),\n          callbacks: [callback]\n        });\n      }\n      return {\n        close: () => {\n          const watcher = cache.get(path);\n          if (!watcher)\n            return;\n          if (!orderedRemoveItem(watcher.callbacks, callback) || watcher.callbacks.length)\n            return;\n          cache.delete(path);\n          closeFileWatcherOf(watcher);\n        }\n      };\n    }\n    function onWatchedFileStat(watchedFile, modifiedTime) {\n      const oldTime = watchedFile.mtime.getTime();\n      const newTime = modifiedTime.getTime();\n      if (oldTime !== newTime) {\n        watchedFile.mtime = modifiedTime;\n        watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime), modifiedTime);\n        return true;\n      }\n      return false;\n    }\n    function getFileWatcherEventKind(oldTime, newTime) {\n      return oldTime === 0 ? 0 : newTime === 0 ? 2 : 1;\n    }\n    function sysLog(s) {\n      return curSysLog(s);\n    }\n    function setSysLog(logger) {\n      curSysLog = logger;\n    }\n    function createDirectoryWatcherSupportingRecursive({\n      watchDirectory,\n      useCaseSensitiveFileNames,\n      getCurrentDirectory,\n      getAccessibleSortedChildDirectories,\n      fileSystemEntryExists,\n      realpath,\n      setTimeout: setTimeout2,\n      clearTimeout: clearTimeout2\n    }) {\n      const cache = /* @__PURE__ */ new Map();\n      const callbackCache = createMultiMap();\n      const cacheToUpdateChildWatches = /* @__PURE__ */ new Map();\n      let timerToUpdateChildWatches;\n      const filePathComparer = getStringComparer(!useCaseSensitiveFileNames);\n      const toCanonicalFilePath = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      return (dirName, callback, recursive, options) => recursive ? createDirectoryWatcher(dirName, options, callback) : watchDirectory(dirName, callback, recursive, options);\n      function createDirectoryWatcher(dirName, options, callback) {\n        const dirPath = toCanonicalFilePath(dirName);\n        let directoryWatcher = cache.get(dirPath);\n        if (directoryWatcher) {\n          directoryWatcher.refCount++;\n        } else {\n          directoryWatcher = {\n            watcher: watchDirectory(\n              dirName,\n              (fileName) => {\n                if (isIgnoredPath(fileName, options))\n                  return;\n                if (options == null ? void 0 : options.synchronousWatchDirectory) {\n                  invokeCallbacks(dirPath, fileName);\n                  updateChildWatches(dirName, dirPath, options);\n                } else {\n                  nonSyncUpdateChildWatches(dirName, dirPath, fileName, options);\n                }\n              },\n              /*recursive*/\n              false,\n              options\n            ),\n            refCount: 1,\n            childWatches: emptyArray\n          };\n          cache.set(dirPath, directoryWatcher);\n          updateChildWatches(dirName, dirPath, options);\n        }\n        const callbackToAdd = callback && { dirName, callback };\n        if (callbackToAdd) {\n          callbackCache.add(dirPath, callbackToAdd);\n        }\n        return {\n          dirName,\n          close: () => {\n            const directoryWatcher2 = Debug2.checkDefined(cache.get(dirPath));\n            if (callbackToAdd)\n              callbackCache.remove(dirPath, callbackToAdd);\n            directoryWatcher2.refCount--;\n            if (directoryWatcher2.refCount)\n              return;\n            cache.delete(dirPath);\n            closeFileWatcherOf(directoryWatcher2);\n            directoryWatcher2.childWatches.forEach(closeFileWatcher);\n          }\n        };\n      }\n      function invokeCallbacks(dirPath, fileNameOrInvokeMap, fileNames) {\n        let fileName;\n        let invokeMap;\n        if (isString2(fileNameOrInvokeMap)) {\n          fileName = fileNameOrInvokeMap;\n        } else {\n          invokeMap = fileNameOrInvokeMap;\n        }\n        callbackCache.forEach((callbacks, rootDirName) => {\n          if (invokeMap && invokeMap.get(rootDirName) === true)\n            return;\n          if (rootDirName === dirPath || startsWith(dirPath, rootDirName) && dirPath[rootDirName.length] === directorySeparator) {\n            if (invokeMap) {\n              if (fileNames) {\n                const existing = invokeMap.get(rootDirName);\n                if (existing) {\n                  existing.push(...fileNames);\n                } else {\n                  invokeMap.set(rootDirName, fileNames.slice());\n                }\n              } else {\n                invokeMap.set(rootDirName, true);\n              }\n            } else {\n              callbacks.forEach(({ callback }) => callback(fileName));\n            }\n          }\n        });\n      }\n      function nonSyncUpdateChildWatches(dirName, dirPath, fileName, options) {\n        const parentWatcher = cache.get(dirPath);\n        if (parentWatcher && fileSystemEntryExists(\n          dirName,\n          1\n          /* Directory */\n        )) {\n          scheduleUpdateChildWatches(dirName, dirPath, fileName, options);\n          return;\n        }\n        invokeCallbacks(dirPath, fileName);\n        removeChildWatches(parentWatcher);\n      }\n      function scheduleUpdateChildWatches(dirName, dirPath, fileName, options) {\n        const existing = cacheToUpdateChildWatches.get(dirPath);\n        if (existing) {\n          existing.fileNames.push(fileName);\n        } else {\n          cacheToUpdateChildWatches.set(dirPath, { dirName, options, fileNames: [fileName] });\n        }\n        if (timerToUpdateChildWatches) {\n          clearTimeout2(timerToUpdateChildWatches);\n          timerToUpdateChildWatches = void 0;\n        }\n        timerToUpdateChildWatches = setTimeout2(onTimerToUpdateChildWatches, 1e3);\n      }\n      function onTimerToUpdateChildWatches() {\n        timerToUpdateChildWatches = void 0;\n        sysLog(`sysLog:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size}`);\n        const start = timestamp();\n        const invokeMap = /* @__PURE__ */ new Map();\n        while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) {\n          const result = cacheToUpdateChildWatches.entries().next();\n          Debug2.assert(!result.done);\n          const { value: [dirPath, { dirName, options, fileNames }] } = result;\n          cacheToUpdateChildWatches.delete(dirPath);\n          const hasChanges = updateChildWatches(dirName, dirPath, options);\n          invokeCallbacks(dirPath, invokeMap, hasChanges ? void 0 : fileNames);\n        }\n        sysLog(`sysLog:: invokingWatchers:: Elapsed:: ${timestamp() - start}ms:: ${cacheToUpdateChildWatches.size}`);\n        callbackCache.forEach((callbacks, rootDirName) => {\n          const existing = invokeMap.get(rootDirName);\n          if (existing) {\n            callbacks.forEach(({ callback, dirName }) => {\n              if (isArray(existing)) {\n                existing.forEach(callback);\n              } else {\n                callback(dirName);\n              }\n            });\n          }\n        });\n        const elapsed = timestamp() - start;\n        sysLog(`sysLog:: Elapsed:: ${elapsed}ms:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size} ${timerToUpdateChildWatches}`);\n      }\n      function removeChildWatches(parentWatcher) {\n        if (!parentWatcher)\n          return;\n        const existingChildWatches = parentWatcher.childWatches;\n        parentWatcher.childWatches = emptyArray;\n        for (const childWatcher of existingChildWatches) {\n          childWatcher.close();\n          removeChildWatches(cache.get(toCanonicalFilePath(childWatcher.dirName)));\n        }\n      }\n      function updateChildWatches(parentDir, parentDirPath, options) {\n        const parentWatcher = cache.get(parentDirPath);\n        if (!parentWatcher)\n          return false;\n        let newChildWatches;\n        const hasChanges = enumerateInsertsAndDeletes(\n          fileSystemEntryExists(\n            parentDir,\n            1\n            /* Directory */\n          ) ? mapDefined(getAccessibleSortedChildDirectories(parentDir), (child) => {\n            const childFullName = getNormalizedAbsolutePath(child, parentDir);\n            return !isIgnoredPath(childFullName, options) && filePathComparer(childFullName, normalizePath(realpath(childFullName))) === 0 ? childFullName : void 0;\n          }) : emptyArray,\n          parentWatcher.childWatches,\n          (child, childWatcher) => filePathComparer(child, childWatcher.dirName),\n          createAndAddChildDirectoryWatcher,\n          closeFileWatcher,\n          addChildDirectoryWatcher\n        );\n        parentWatcher.childWatches = newChildWatches || emptyArray;\n        return hasChanges;\n        function createAndAddChildDirectoryWatcher(childName) {\n          const result = createDirectoryWatcher(childName, options);\n          addChildDirectoryWatcher(result);\n        }\n        function addChildDirectoryWatcher(childWatcher) {\n          (newChildWatches || (newChildWatches = [])).push(childWatcher);\n        }\n      }\n      function isIgnoredPath(path, options) {\n        return some(ignoredPaths, (searchPath) => isInPath(path, searchPath)) || isIgnoredByWatchOptions(path, options, useCaseSensitiveFileNames, getCurrentDirectory);\n      }\n      function isInPath(path, searchPath) {\n        if (stringContains(path, searchPath))\n          return true;\n        if (useCaseSensitiveFileNames)\n          return false;\n        return stringContains(toCanonicalFilePath(path), searchPath);\n      }\n    }\n    function createFileWatcherCallback(callback) {\n      return (_fileName, eventKind, modifiedTime) => callback(eventKind === 1 ? \"change\" : \"rename\", \"\", modifiedTime);\n    }\n    function createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3) {\n      return (eventName, _relativeFileName, modifiedTime) => {\n        if (eventName === \"rename\") {\n          modifiedTime || (modifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime);\n          callback(fileName, modifiedTime !== missingFileModifiedTime ? 0 : 2, modifiedTime);\n        } else {\n          callback(fileName, 1, modifiedTime);\n        }\n      };\n    }\n    function isIgnoredByWatchOptions(pathToCheck, options, useCaseSensitiveFileNames, getCurrentDirectory) {\n      return ((options == null ? void 0 : options.excludeDirectories) || (options == null ? void 0 : options.excludeFiles)) && (matchesExclude(pathToCheck, options == null ? void 0 : options.excludeFiles, useCaseSensitiveFileNames, getCurrentDirectory()) || matchesExclude(pathToCheck, options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames, getCurrentDirectory()));\n    }\n    function createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory) {\n      return (eventName, relativeFileName) => {\n        if (eventName === \"rename\") {\n          const fileName = !relativeFileName ? directoryName : normalizePath(combinePaths(directoryName, relativeFileName));\n          if (!relativeFileName || !isIgnoredByWatchOptions(fileName, options, useCaseSensitiveFileNames, getCurrentDirectory)) {\n            callback(fileName);\n          }\n        }\n      };\n    }\n    function createSystemWatchFunctions({\n      pollingWatchFileWorker,\n      getModifiedTime: getModifiedTime3,\n      setTimeout: setTimeout2,\n      clearTimeout: clearTimeout2,\n      fsWatchWorker,\n      fileSystemEntryExists,\n      useCaseSensitiveFileNames,\n      getCurrentDirectory,\n      fsSupportsRecursiveFsWatch,\n      getAccessibleSortedChildDirectories,\n      realpath,\n      tscWatchFile,\n      useNonPollingWatchers,\n      tscWatchDirectory,\n      inodeWatching,\n      sysLog: sysLog2\n    }) {\n      const pollingWatches = /* @__PURE__ */ new Map();\n      const fsWatches = /* @__PURE__ */ new Map();\n      const fsWatchesRecursive = /* @__PURE__ */ new Map();\n      let dynamicPollingWatchFile;\n      let fixedChunkSizePollingWatchFile;\n      let nonPollingWatchFile;\n      let hostRecursiveDirectoryWatcher;\n      let hitSystemWatcherLimit = false;\n      return {\n        watchFile: watchFile2,\n        watchDirectory\n      };\n      function watchFile2(fileName, callback, pollingInterval, options) {\n        options = updateOptionsForWatchFile(options, useNonPollingWatchers);\n        const watchFileKind = Debug2.checkDefined(options.watchFile);\n        switch (watchFileKind) {\n          case 0:\n            return pollingWatchFile(\n              fileName,\n              callback,\n              250,\n              /*options*/\n              void 0\n            );\n          case 1:\n            return pollingWatchFile(\n              fileName,\n              callback,\n              pollingInterval,\n              /*options*/\n              void 0\n            );\n          case 2:\n            return ensureDynamicPollingWatchFile()(\n              fileName,\n              callback,\n              pollingInterval,\n              /*options*/\n              void 0\n            );\n          case 3:\n            return ensureFixedChunkSizePollingWatchFile()(\n              fileName,\n              callback,\n              /* pollingInterval */\n              void 0,\n              /*options*/\n              void 0\n            );\n          case 4:\n            return fsWatch(\n              fileName,\n              0,\n              createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3),\n              /*recursive*/\n              false,\n              pollingInterval,\n              getFallbackOptions(options)\n            );\n          case 5:\n            if (!nonPollingWatchFile) {\n              nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames);\n            }\n            return nonPollingWatchFile(fileName, callback, pollingInterval, getFallbackOptions(options));\n          default:\n            Debug2.assertNever(watchFileKind);\n        }\n      }\n      function ensureDynamicPollingWatchFile() {\n        return dynamicPollingWatchFile || (dynamicPollingWatchFile = createDynamicPriorityPollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 }));\n      }\n      function ensureFixedChunkSizePollingWatchFile() {\n        return fixedChunkSizePollingWatchFile || (fixedChunkSizePollingWatchFile = createFixedChunkSizePollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 }));\n      }\n      function updateOptionsForWatchFile(options, useNonPollingWatchers2) {\n        if (options && options.watchFile !== void 0)\n          return options;\n        switch (tscWatchFile) {\n          case \"PriorityPollingInterval\":\n            return {\n              watchFile: 1\n              /* PriorityPollingInterval */\n            };\n          case \"DynamicPriorityPolling\":\n            return {\n              watchFile: 2\n              /* DynamicPriorityPolling */\n            };\n          case \"UseFsEvents\":\n            return generateWatchFileOptions(4, 1, options);\n          case \"UseFsEventsWithFallbackDynamicPolling\":\n            return generateWatchFileOptions(4, 2, options);\n          case \"UseFsEventsOnParentDirectory\":\n            useNonPollingWatchers2 = true;\n          default:\n            return useNonPollingWatchers2 ? (\n              // Use notifications from FS to watch with falling back to fs.watchFile\n              generateWatchFileOptions(5, 1, options)\n            ) : (\n              // Default to using fs events\n              {\n                watchFile: 4\n                /* UseFsEvents */\n              }\n            );\n        }\n      }\n      function generateWatchFileOptions(watchFile3, fallbackPolling, options) {\n        const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling;\n        return {\n          watchFile: watchFile3,\n          fallbackPolling: defaultFallbackPolling === void 0 ? fallbackPolling : defaultFallbackPolling\n        };\n      }\n      function watchDirectory(directoryName, callback, recursive, options) {\n        if (fsSupportsRecursiveFsWatch) {\n          return fsWatch(\n            directoryName,\n            1,\n            createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory),\n            recursive,\n            500,\n            getFallbackOptions(options)\n          );\n        }\n        if (!hostRecursiveDirectoryWatcher) {\n          hostRecursiveDirectoryWatcher = createDirectoryWatcherSupportingRecursive({\n            useCaseSensitiveFileNames,\n            getCurrentDirectory,\n            fileSystemEntryExists,\n            getAccessibleSortedChildDirectories,\n            watchDirectory: nonRecursiveWatchDirectory,\n            realpath,\n            setTimeout: setTimeout2,\n            clearTimeout: clearTimeout2\n          });\n        }\n        return hostRecursiveDirectoryWatcher(directoryName, callback, recursive, options);\n      }\n      function nonRecursiveWatchDirectory(directoryName, callback, recursive, options) {\n        Debug2.assert(!recursive);\n        const watchDirectoryOptions = updateOptionsForWatchDirectory(options);\n        const watchDirectoryKind = Debug2.checkDefined(watchDirectoryOptions.watchDirectory);\n        switch (watchDirectoryKind) {\n          case 1:\n            return pollingWatchFile(\n              directoryName,\n              () => callback(directoryName),\n              500,\n              /*options*/\n              void 0\n            );\n          case 2:\n            return ensureDynamicPollingWatchFile()(\n              directoryName,\n              () => callback(directoryName),\n              500,\n              /*options*/\n              void 0\n            );\n          case 3:\n            return ensureFixedChunkSizePollingWatchFile()(\n              directoryName,\n              () => callback(directoryName),\n              /* pollingInterval */\n              void 0,\n              /*options*/\n              void 0\n            );\n          case 0:\n            return fsWatch(\n              directoryName,\n              1,\n              createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory),\n              recursive,\n              500,\n              getFallbackOptions(watchDirectoryOptions)\n            );\n          default:\n            Debug2.assertNever(watchDirectoryKind);\n        }\n      }\n      function updateOptionsForWatchDirectory(options) {\n        if (options && options.watchDirectory !== void 0)\n          return options;\n        switch (tscWatchDirectory) {\n          case \"RecursiveDirectoryUsingFsWatchFile\":\n            return {\n              watchDirectory: 1\n              /* FixedPollingInterval */\n            };\n          case \"RecursiveDirectoryUsingDynamicPriorityPolling\":\n            return {\n              watchDirectory: 2\n              /* DynamicPriorityPolling */\n            };\n          default:\n            const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling;\n            return {\n              watchDirectory: 0,\n              fallbackPolling: defaultFallbackPolling !== void 0 ? defaultFallbackPolling : void 0\n            };\n        }\n      }\n      function pollingWatchFile(fileName, callback, pollingInterval, options) {\n        return createSingleWatcherPerName(\n          pollingWatches,\n          useCaseSensitiveFileNames,\n          fileName,\n          callback,\n          (cb) => pollingWatchFileWorker(fileName, cb, pollingInterval, options)\n        );\n      }\n      function fsWatch(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) {\n        return createSingleWatcherPerName(\n          recursive ? fsWatchesRecursive : fsWatches,\n          useCaseSensitiveFileNames,\n          fileOrDirectory,\n          callback,\n          (cb) => fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, cb, recursive, fallbackPollingInterval, fallbackOptions)\n        );\n      }\n      function fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) {\n        let lastDirectoryPartWithDirectorySeparator;\n        let lastDirectoryPart;\n        if (inodeWatching) {\n          lastDirectoryPartWithDirectorySeparator = fileOrDirectory.substring(fileOrDirectory.lastIndexOf(directorySeparator));\n          lastDirectoryPart = lastDirectoryPartWithDirectorySeparator.slice(directorySeparator.length);\n        }\n        let watcher = !fileSystemEntryExists(fileOrDirectory, entryKind) ? watchMissingFileSystemEntry() : watchPresentFileSystemEntry();\n        return {\n          close: () => {\n            if (watcher) {\n              watcher.close();\n              watcher = void 0;\n            }\n          }\n        };\n        function updateWatcher(createWatcher) {\n          if (watcher) {\n            sysLog2(`sysLog:: ${fileOrDirectory}:: Changing watcher to ${createWatcher === watchPresentFileSystemEntry ? \"Present\" : \"Missing\"}FileSystemEntryWatcher`);\n            watcher.close();\n            watcher = createWatcher();\n          }\n        }\n        function watchPresentFileSystemEntry() {\n          if (hitSystemWatcherLimit) {\n            sysLog2(`sysLog:: ${fileOrDirectory}:: Defaulting to watchFile`);\n            return watchPresentFileSystemEntryWithFsWatchFile();\n          }\n          try {\n            const presentWatcher = fsWatchWorker(\n              fileOrDirectory,\n              recursive,\n              inodeWatching ? callbackChangingToMissingFileSystemEntry : callback\n            );\n            presentWatcher.on(\"error\", () => {\n              callback(\"rename\", \"\");\n              updateWatcher(watchMissingFileSystemEntry);\n            });\n            return presentWatcher;\n          } catch (e) {\n            hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === \"ENOSPC\");\n            sysLog2(`sysLog:: ${fileOrDirectory}:: Changing to watchFile`);\n            return watchPresentFileSystemEntryWithFsWatchFile();\n          }\n        }\n        function callbackChangingToMissingFileSystemEntry(event, relativeName) {\n          let originalRelativeName;\n          if (relativeName && endsWith(relativeName, \"~\")) {\n            originalRelativeName = relativeName;\n            relativeName = relativeName.slice(0, relativeName.length - 1);\n          }\n          if (event === \"rename\" && (!relativeName || relativeName === lastDirectoryPart || endsWith(relativeName, lastDirectoryPartWithDirectorySeparator))) {\n            const modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime;\n            if (originalRelativeName)\n              callback(event, originalRelativeName, modifiedTime);\n            callback(event, relativeName, modifiedTime);\n            if (inodeWatching) {\n              updateWatcher(modifiedTime === missingFileModifiedTime ? watchMissingFileSystemEntry : watchPresentFileSystemEntry);\n            } else if (modifiedTime === missingFileModifiedTime) {\n              updateWatcher(watchMissingFileSystemEntry);\n            }\n          } else {\n            if (originalRelativeName)\n              callback(event, originalRelativeName);\n            callback(event, relativeName);\n          }\n        }\n        function watchPresentFileSystemEntryWithFsWatchFile() {\n          return watchFile2(\n            fileOrDirectory,\n            createFileWatcherCallback(callback),\n            fallbackPollingInterval,\n            fallbackOptions\n          );\n        }\n        function watchMissingFileSystemEntry() {\n          return watchFile2(\n            fileOrDirectory,\n            (_fileName, eventKind, modifiedTime) => {\n              if (eventKind === 0) {\n                modifiedTime || (modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime);\n                if (modifiedTime !== missingFileModifiedTime) {\n                  callback(\"rename\", \"\", modifiedTime);\n                  updateWatcher(watchPresentFileSystemEntry);\n                }\n              }\n            },\n            fallbackPollingInterval,\n            fallbackOptions\n          );\n        }\n      }\n    }\n    function patchWriteFileEnsuringDirectory(sys2) {\n      const originalWriteFile = sys2.writeFile;\n      sys2.writeFile = (path, data, writeBom) => writeFileEnsuringDirectories(\n        path,\n        data,\n        !!writeBom,\n        (path2, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path2, data2, writeByteOrderMark),\n        (path2) => sys2.createDirectory(path2),\n        (path2) => sys2.directoryExists(path2)\n      );\n    }\n    function setSys(s) {\n      sys = s;\n    }\n    var FileWatcherEventKind, PollingInterval, missingFileModifiedTime, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds, ignoredPaths, curSysLog, FileSystemEntryKind, sys;\n    var init_sys = __esm({\n      \"src/compiler/sys.ts\"() {\n        \"use strict\";\n        init_ts2();\n        FileWatcherEventKind = /* @__PURE__ */ ((FileWatcherEventKind2) => {\n          FileWatcherEventKind2[FileWatcherEventKind2[\"Created\"] = 0] = \"Created\";\n          FileWatcherEventKind2[FileWatcherEventKind2[\"Changed\"] = 1] = \"Changed\";\n          FileWatcherEventKind2[FileWatcherEventKind2[\"Deleted\"] = 2] = \"Deleted\";\n          return FileWatcherEventKind2;\n        })(FileWatcherEventKind || {});\n        PollingInterval = /* @__PURE__ */ ((PollingInterval3) => {\n          PollingInterval3[PollingInterval3[\"High\"] = 2e3] = \"High\";\n          PollingInterval3[PollingInterval3[\"Medium\"] = 500] = \"Medium\";\n          PollingInterval3[PollingInterval3[\"Low\"] = 250] = \"Low\";\n          return PollingInterval3;\n        })(PollingInterval || {});\n        missingFileModifiedTime = /* @__PURE__ */ new Date(0);\n        defaultChunkLevels = { Low: 32, Medium: 64, High: 256 };\n        pollingChunkSize = createPollingIntervalBasedLevels(defaultChunkLevels);\n        unchangedPollThresholds = createPollingIntervalBasedLevels(defaultChunkLevels);\n        ignoredPaths = [\"/node_modules/.\", \"/.git\", \"/.#\"];\n        curSysLog = noop;\n        FileSystemEntryKind = /* @__PURE__ */ ((FileSystemEntryKind2) => {\n          FileSystemEntryKind2[FileSystemEntryKind2[\"File\"] = 0] = \"File\";\n          FileSystemEntryKind2[FileSystemEntryKind2[\"Directory\"] = 1] = \"Directory\";\n          return FileSystemEntryKind2;\n        })(FileSystemEntryKind || {});\n        sys = (() => {\n          const byteOrderMarkIndicator = \"\\uFEFF\";\n          function getNodeSystem() {\n            const nativePattern = /^native |^\\([^)]+\\)$|^(internal[\\\\/]|[a-zA-Z0-9_\\s]+(\\.js)?$)/;\n            const _fs = require2(\"fs\");\n            const _path = require2(\"path\");\n            const _os = require2(\"os\");\n            let _crypto;\n            try {\n              _crypto = require2(\"crypto\");\n            } catch (e) {\n              _crypto = void 0;\n            }\n            let activeSession;\n            let profilePath = \"./profile.cpuprofile\";\n            const Buffer2 = require2(\"buffer\").Buffer;\n            const isLinuxOrMacOs = process.platform === \"linux\" || process.platform === \"darwin\";\n            const platform2 = _os.platform();\n            const useCaseSensitiveFileNames = isFileSystemCaseSensitive();\n            const fsRealpath = !!_fs.realpathSync.native ? process.platform === \"win32\" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;\n            const executingFilePath = __filename.endsWith(\"sys.js\") ? _path.join(_path.dirname(__dirname), \"__fake__.js\") : __filename;\n            const fsSupportsRecursiveFsWatch = process.platform === \"win32\" || process.platform === \"darwin\";\n            const getCurrentDirectory = memoize(() => process.cwd());\n            const { watchFile: watchFile2, watchDirectory } = createSystemWatchFunctions({\n              pollingWatchFileWorker: fsWatchFileWorker,\n              getModifiedTime: getModifiedTime3,\n              setTimeout,\n              clearTimeout,\n              fsWatchWorker,\n              useCaseSensitiveFileNames,\n              getCurrentDirectory,\n              fileSystemEntryExists,\n              // Node 4.0 `fs.watch` function supports the \"recursive\" option on both OSX and Windows\n              // (ref: https://github.com/nodejs/node/pull/2649 and https://github.com/Microsoft/TypeScript/issues/4643)\n              fsSupportsRecursiveFsWatch,\n              getAccessibleSortedChildDirectories: (path) => getAccessibleFileSystemEntries(path).directories,\n              realpath,\n              tscWatchFile: process.env.TSC_WATCHFILE,\n              useNonPollingWatchers: process.env.TSC_NONPOLLING_WATCHER,\n              tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,\n              inodeWatching: isLinuxOrMacOs,\n              sysLog\n            });\n            const nodeSystem = {\n              args: process.argv.slice(2),\n              newLine: _os.EOL,\n              useCaseSensitiveFileNames,\n              write(s) {\n                process.stdout.write(s);\n              },\n              getWidthOfTerminal() {\n                return process.stdout.columns;\n              },\n              writeOutputIsTTY() {\n                return process.stdout.isTTY;\n              },\n              readFile,\n              writeFile: writeFile2,\n              watchFile: watchFile2,\n              watchDirectory,\n              resolvePath: (path) => _path.resolve(path),\n              fileExists,\n              directoryExists,\n              createDirectory(directoryName) {\n                if (!nodeSystem.directoryExists(directoryName)) {\n                  try {\n                    _fs.mkdirSync(directoryName);\n                  } catch (e) {\n                    if (e.code !== \"EEXIST\") {\n                      throw e;\n                    }\n                  }\n                }\n              },\n              getExecutingFilePath() {\n                return executingFilePath;\n              },\n              getCurrentDirectory,\n              getDirectories,\n              getEnvironmentVariable(name) {\n                return process.env[name] || \"\";\n              },\n              readDirectory,\n              getModifiedTime: getModifiedTime3,\n              setModifiedTime,\n              deleteFile,\n              createHash: _crypto ? createSHA256Hash : generateDjb2Hash,\n              createSHA256Hash: _crypto ? createSHA256Hash : void 0,\n              getMemoryUsage() {\n                if (global.gc) {\n                  global.gc();\n                }\n                return process.memoryUsage().heapUsed;\n              },\n              getFileSize(path) {\n                try {\n                  const stat = statSync(path);\n                  if (stat == null ? void 0 : stat.isFile()) {\n                    return stat.size;\n                  }\n                } catch (e) {\n                }\n                return 0;\n              },\n              exit(exitCode) {\n                disableCPUProfiler(() => process.exit(exitCode));\n              },\n              enableCPUProfiler,\n              disableCPUProfiler,\n              cpuProfilingEnabled: () => !!activeSession || contains(process.execArgv, \"--cpu-prof\") || contains(process.execArgv, \"--prof\"),\n              realpath,\n              debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, (arg) => /^--(inspect|debug)(-brk)?(=\\d+)?$/i.test(arg)),\n              tryEnableSourceMapsForHost() {\n                try {\n                  require2(\"source-map-support\").install();\n                } catch (e) {\n                }\n              },\n              setTimeout,\n              clearTimeout,\n              clearScreen: () => {\n                process.stdout.write(\"\\x1Bc\");\n              },\n              setBlocking: () => {\n                if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {\n                  process.stdout._handle.setBlocking(true);\n                }\n              },\n              bufferFrom,\n              base64decode: (input) => bufferFrom(input, \"base64\").toString(\"utf8\"),\n              base64encode: (input) => bufferFrom(input).toString(\"base64\"),\n              require: (baseDir, moduleName) => {\n                try {\n                  const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem);\n                  return { module: require2(modulePath), modulePath, error: void 0 };\n                } catch (error) {\n                  return { module: void 0, modulePath: void 0, error };\n                }\n              }\n            };\n            return nodeSystem;\n            function statSync(path) {\n              return _fs.statSync(path, { throwIfNoEntry: false });\n            }\n            function enableCPUProfiler(path, cb) {\n              if (activeSession) {\n                cb();\n                return false;\n              }\n              const inspector = require2(\"inspector\");\n              if (!inspector || !inspector.Session) {\n                cb();\n                return false;\n              }\n              const session = new inspector.Session();\n              session.connect();\n              session.post(\"Profiler.enable\", () => {\n                session.post(\"Profiler.start\", () => {\n                  activeSession = session;\n                  profilePath = path;\n                  cb();\n                });\n              });\n              return true;\n            }\n            function cleanupPaths(profile) {\n              let externalFileCounter = 0;\n              const remappedPaths = /* @__PURE__ */ new Map();\n              const normalizedDir = normalizeSlashes(_path.dirname(executingFilePath));\n              const fileUrlRoot = `file://${getRootLength(normalizedDir) === 1 ? \"\" : \"/\"}${normalizedDir}`;\n              for (const node of profile.nodes) {\n                if (node.callFrame.url) {\n                  const url = normalizeSlashes(node.callFrame.url);\n                  if (containsPath(fileUrlRoot, url, useCaseSensitiveFileNames)) {\n                    node.callFrame.url = getRelativePathToDirectoryOrUrl(\n                      fileUrlRoot,\n                      url,\n                      fileUrlRoot,\n                      createGetCanonicalFileName(useCaseSensitiveFileNames),\n                      /*isAbsolutePathAnUrl*/\n                      true\n                    );\n                  } else if (!nativePattern.test(url)) {\n                    node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, `external${externalFileCounter}.js`)).get(url);\n                    externalFileCounter++;\n                  }\n                }\n              }\n              return profile;\n            }\n            function disableCPUProfiler(cb) {\n              if (activeSession && activeSession !== \"stopping\") {\n                const s = activeSession;\n                activeSession.post(\"Profiler.stop\", (err, { profile }) => {\n                  var _a22;\n                  if (!err) {\n                    try {\n                      if ((_a22 = statSync(profilePath)) == null ? void 0 : _a22.isDirectory()) {\n                        profilePath = _path.join(profilePath, `${(/* @__PURE__ */ new Date()).toISOString().replace(/:/g, \"-\")}+P${process.pid}.cpuprofile`);\n                      }\n                    } catch (e) {\n                    }\n                    try {\n                      _fs.mkdirSync(_path.dirname(profilePath), { recursive: true });\n                    } catch (e) {\n                    }\n                    _fs.writeFileSync(profilePath, JSON.stringify(cleanupPaths(profile)));\n                  }\n                  activeSession = void 0;\n                  s.disconnect();\n                  cb();\n                });\n                activeSession = \"stopping\";\n                return true;\n              } else {\n                cb();\n                return false;\n              }\n            }\n            function bufferFrom(input, encoding) {\n              return Buffer2.from && Buffer2.from !== Int8Array.from ? Buffer2.from(input, encoding) : new Buffer2(input, encoding);\n            }\n            function isFileSystemCaseSensitive() {\n              if (platform2 === \"win32\" || platform2 === \"win64\") {\n                return false;\n              }\n              return !fileExists(swapCase(__filename));\n            }\n            function swapCase(s) {\n              return s.replace(/\\w/g, (ch) => {\n                const up = ch.toUpperCase();\n                return ch === up ? ch.toLowerCase() : up;\n              });\n            }\n            function fsWatchFileWorker(fileName, callback, pollingInterval) {\n              _fs.watchFile(fileName, { persistent: true, interval: pollingInterval }, fileChanged);\n              let eventKind;\n              return {\n                close: () => _fs.unwatchFile(fileName, fileChanged)\n              };\n              function fileChanged(curr, prev) {\n                const isPreviouslyDeleted = +prev.mtime === 0 || eventKind === 2;\n                if (+curr.mtime === 0) {\n                  if (isPreviouslyDeleted) {\n                    return;\n                  }\n                  eventKind = 2;\n                } else if (isPreviouslyDeleted) {\n                  eventKind = 0;\n                } else if (+curr.mtime === +prev.mtime) {\n                  return;\n                } else {\n                  eventKind = 1;\n                }\n                callback(fileName, eventKind, curr.mtime);\n              }\n            }\n            function fsWatchWorker(fileOrDirectory, recursive, callback) {\n              return _fs.watch(\n                fileOrDirectory,\n                fsSupportsRecursiveFsWatch ? { persistent: true, recursive: !!recursive } : { persistent: true },\n                callback\n              );\n            }\n            function readFileWorker(fileName, _encoding) {\n              let buffer;\n              try {\n                buffer = _fs.readFileSync(fileName);\n              } catch (e) {\n                return void 0;\n              }\n              let len = buffer.length;\n              if (len >= 2 && buffer[0] === 254 && buffer[1] === 255) {\n                len &= ~1;\n                for (let i = 0; i < len; i += 2) {\n                  const temp = buffer[i];\n                  buffer[i] = buffer[i + 1];\n                  buffer[i + 1] = temp;\n                }\n                return buffer.toString(\"utf16le\", 2);\n              }\n              if (len >= 2 && buffer[0] === 255 && buffer[1] === 254) {\n                return buffer.toString(\"utf16le\", 2);\n              }\n              if (len >= 3 && buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191) {\n                return buffer.toString(\"utf8\", 3);\n              }\n              return buffer.toString(\"utf8\");\n            }\n            function readFile(fileName, _encoding) {\n              perfLogger.logStartReadFile(fileName);\n              const file = readFileWorker(fileName, _encoding);\n              perfLogger.logStopReadFile();\n              return file;\n            }\n            function writeFile2(fileName, data, writeByteOrderMark) {\n              perfLogger.logEvent(\"WriteFile: \" + fileName);\n              if (writeByteOrderMark) {\n                data = byteOrderMarkIndicator + data;\n              }\n              let fd;\n              try {\n                fd = _fs.openSync(fileName, \"w\");\n                _fs.writeSync(\n                  fd,\n                  data,\n                  /*position*/\n                  void 0,\n                  \"utf8\"\n                );\n              } finally {\n                if (fd !== void 0) {\n                  _fs.closeSync(fd);\n                }\n              }\n            }\n            function getAccessibleFileSystemEntries(path) {\n              perfLogger.logEvent(\"ReadDir: \" + (path || \".\"));\n              try {\n                const entries = _fs.readdirSync(path || \".\", { withFileTypes: true });\n                const files = [];\n                const directories = [];\n                for (const dirent of entries) {\n                  const entry = typeof dirent === \"string\" ? dirent : dirent.name;\n                  if (entry === \".\" || entry === \"..\") {\n                    continue;\n                  }\n                  let stat;\n                  if (typeof dirent === \"string\" || dirent.isSymbolicLink()) {\n                    const name = combinePaths(path, entry);\n                    try {\n                      stat = statSync(name);\n                      if (!stat) {\n                        continue;\n                      }\n                    } catch (e) {\n                      continue;\n                    }\n                  } else {\n                    stat = dirent;\n                  }\n                  if (stat.isFile()) {\n                    files.push(entry);\n                  } else if (stat.isDirectory()) {\n                    directories.push(entry);\n                  }\n                }\n                files.sort();\n                directories.sort();\n                return { files, directories };\n              } catch (e) {\n                return emptyFileSystemEntries;\n              }\n            }\n            function readDirectory(path, extensions, excludes, includes, depth) {\n              return matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, process.cwd(), depth, getAccessibleFileSystemEntries, realpath);\n            }\n            function fileSystemEntryExists(path, entryKind) {\n              const originalStackTraceLimit = Error.stackTraceLimit;\n              Error.stackTraceLimit = 0;\n              try {\n                const stat = statSync(path);\n                if (!stat) {\n                  return false;\n                }\n                switch (entryKind) {\n                  case 0:\n                    return stat.isFile();\n                  case 1:\n                    return stat.isDirectory();\n                  default:\n                    return false;\n                }\n              } catch (e) {\n                return false;\n              } finally {\n                Error.stackTraceLimit = originalStackTraceLimit;\n              }\n            }\n            function fileExists(path) {\n              return fileSystemEntryExists(\n                path,\n                0\n                /* File */\n              );\n            }\n            function directoryExists(path) {\n              return fileSystemEntryExists(\n                path,\n                1\n                /* Directory */\n              );\n            }\n            function getDirectories(path) {\n              return getAccessibleFileSystemEntries(path).directories.slice();\n            }\n            function fsRealPathHandlingLongPath(path) {\n              return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);\n            }\n            function realpath(path) {\n              try {\n                return fsRealpath(path);\n              } catch (e) {\n                return path;\n              }\n            }\n            function getModifiedTime3(path) {\n              var _a22;\n              const originalStackTraceLimit = Error.stackTraceLimit;\n              Error.stackTraceLimit = 0;\n              try {\n                return (_a22 = statSync(path)) == null ? void 0 : _a22.mtime;\n              } catch (e) {\n                return void 0;\n              } finally {\n                Error.stackTraceLimit = originalStackTraceLimit;\n              }\n            }\n            function setModifiedTime(path, time) {\n              try {\n                _fs.utimesSync(path, time, time);\n              } catch (e) {\n                return;\n              }\n            }\n            function deleteFile(path) {\n              try {\n                return _fs.unlinkSync(path);\n              } catch (e) {\n                return;\n              }\n            }\n            function createSHA256Hash(data) {\n              const hash = _crypto.createHash(\"sha256\");\n              hash.update(data);\n              return hash.digest(\"hex\");\n            }\n          }\n          let sys2;\n          if (isNodeLikeSystem()) {\n            sys2 = getNodeSystem();\n          }\n          if (sys2) {\n            patchWriteFileEnsuringDirectory(sys2);\n          }\n          return sys2;\n        })();\n        if (sys && sys.getEnvironmentVariable) {\n          setCustomPollingValues(sys);\n          Debug2.setAssertionLevel(\n            /^development$/i.test(sys.getEnvironmentVariable(\"NODE_ENV\")) ? 1 : 0\n            /* None */\n          );\n        }\n        if (sys && sys.debugMode) {\n          Debug2.isDebugging = true;\n        }\n      }\n    });\n    function isAnyDirectorySeparator(charCode) {\n      return charCode === 47 || charCode === 92;\n    }\n    function isUrl(path) {\n      return getEncodedRootLength(path) < 0;\n    }\n    function isRootedDiskPath(path) {\n      return getEncodedRootLength(path) > 0;\n    }\n    function isDiskPathRoot(path) {\n      const rootLength = getEncodedRootLength(path);\n      return rootLength > 0 && rootLength === path.length;\n    }\n    function pathIsAbsolute(path) {\n      return getEncodedRootLength(path) !== 0;\n    }\n    function pathIsRelative(path) {\n      return /^\\.\\.?($|[\\\\/])/.test(path);\n    }\n    function pathIsBareSpecifier(path) {\n      return !pathIsAbsolute(path) && !pathIsRelative(path);\n    }\n    function hasExtension(fileName) {\n      return stringContains(getBaseFileName(fileName), \".\");\n    }\n    function fileExtensionIs(path, extension) {\n      return path.length > extension.length && endsWith(path, extension);\n    }\n    function fileExtensionIsOneOf(path, extensions) {\n      for (const extension of extensions) {\n        if (fileExtensionIs(path, extension)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function hasTrailingDirectorySeparator(path) {\n      return path.length > 0 && isAnyDirectorySeparator(path.charCodeAt(path.length - 1));\n    }\n    function isVolumeCharacter(charCode) {\n      return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90;\n    }\n    function getFileUrlVolumeSeparatorEnd(url, start) {\n      const ch0 = url.charCodeAt(start);\n      if (ch0 === 58)\n        return start + 1;\n      if (ch0 === 37 && url.charCodeAt(start + 1) === 51) {\n        const ch2 = url.charCodeAt(start + 2);\n        if (ch2 === 97 || ch2 === 65)\n          return start + 3;\n      }\n      return -1;\n    }\n    function getEncodedRootLength(path) {\n      if (!path)\n        return 0;\n      const ch0 = path.charCodeAt(0);\n      if (ch0 === 47 || ch0 === 92) {\n        if (path.charCodeAt(1) !== ch0)\n          return 1;\n        const p1 = path.indexOf(ch0 === 47 ? directorySeparator : altDirectorySeparator, 2);\n        if (p1 < 0)\n          return path.length;\n        return p1 + 1;\n      }\n      if (isVolumeCharacter(ch0) && path.charCodeAt(1) === 58) {\n        const ch2 = path.charCodeAt(2);\n        if (ch2 === 47 || ch2 === 92)\n          return 3;\n        if (path.length === 2)\n          return 2;\n      }\n      const schemeEnd = path.indexOf(urlSchemeSeparator);\n      if (schemeEnd !== -1) {\n        const authorityStart = schemeEnd + urlSchemeSeparator.length;\n        const authorityEnd = path.indexOf(directorySeparator, authorityStart);\n        if (authorityEnd !== -1) {\n          const scheme = path.slice(0, schemeEnd);\n          const authority = path.slice(authorityStart, authorityEnd);\n          if (scheme === \"file\" && (authority === \"\" || authority === \"localhost\") && isVolumeCharacter(path.charCodeAt(authorityEnd + 1))) {\n            const volumeSeparatorEnd = getFileUrlVolumeSeparatorEnd(path, authorityEnd + 2);\n            if (volumeSeparatorEnd !== -1) {\n              if (path.charCodeAt(volumeSeparatorEnd) === 47) {\n                return ~(volumeSeparatorEnd + 1);\n              }\n              if (volumeSeparatorEnd === path.length) {\n                return ~volumeSeparatorEnd;\n              }\n            }\n          }\n          return ~(authorityEnd + 1);\n        }\n        return ~path.length;\n      }\n      return 0;\n    }\n    function getRootLength(path) {\n      const rootLength = getEncodedRootLength(path);\n      return rootLength < 0 ? ~rootLength : rootLength;\n    }\n    function getDirectoryPath(path) {\n      path = normalizeSlashes(path);\n      const rootLength = getRootLength(path);\n      if (rootLength === path.length)\n        return path;\n      path = removeTrailingDirectorySeparator(path);\n      return path.slice(0, Math.max(rootLength, path.lastIndexOf(directorySeparator)));\n    }\n    function getBaseFileName(path, extensions, ignoreCase) {\n      path = normalizeSlashes(path);\n      const rootLength = getRootLength(path);\n      if (rootLength === path.length)\n        return \"\";\n      path = removeTrailingDirectorySeparator(path);\n      const name = path.slice(Math.max(getRootLength(path), path.lastIndexOf(directorySeparator) + 1));\n      const extension = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(name, extensions, ignoreCase) : void 0;\n      return extension ? name.slice(0, name.length - extension.length) : name;\n    }\n    function tryGetExtensionFromPath(path, extension, stringEqualityComparer) {\n      if (!startsWith(extension, \".\"))\n        extension = \".\" + extension;\n      if (path.length >= extension.length && path.charCodeAt(path.length - extension.length) === 46) {\n        const pathExtension = path.slice(path.length - extension.length);\n        if (stringEqualityComparer(pathExtension, extension)) {\n          return pathExtension;\n        }\n      }\n    }\n    function getAnyExtensionFromPathWorker(path, extensions, stringEqualityComparer) {\n      if (typeof extensions === \"string\") {\n        return tryGetExtensionFromPath(path, extensions, stringEqualityComparer) || \"\";\n      }\n      for (const extension of extensions) {\n        const result = tryGetExtensionFromPath(path, extension, stringEqualityComparer);\n        if (result)\n          return result;\n      }\n      return \"\";\n    }\n    function getAnyExtensionFromPath(path, extensions, ignoreCase) {\n      if (extensions) {\n        return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(path), extensions, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive);\n      }\n      const baseFileName = getBaseFileName(path);\n      const extensionIndex = baseFileName.lastIndexOf(\".\");\n      if (extensionIndex >= 0) {\n        return baseFileName.substring(extensionIndex);\n      }\n      return \"\";\n    }\n    function pathComponents(path, rootLength) {\n      const root = path.substring(0, rootLength);\n      const rest = path.substring(rootLength).split(directorySeparator);\n      if (rest.length && !lastOrUndefined(rest))\n        rest.pop();\n      return [root, ...rest];\n    }\n    function getPathComponents(path, currentDirectory = \"\") {\n      path = combinePaths(currentDirectory, path);\n      return pathComponents(path, getRootLength(path));\n    }\n    function getPathFromPathComponents(pathComponents2) {\n      if (pathComponents2.length === 0)\n        return \"\";\n      const root = pathComponents2[0] && ensureTrailingDirectorySeparator(pathComponents2[0]);\n      return root + pathComponents2.slice(1).join(directorySeparator);\n    }\n    function normalizeSlashes(path) {\n      return path.indexOf(\"\\\\\") !== -1 ? path.replace(backslashRegExp, directorySeparator) : path;\n    }\n    function reducePathComponents(components) {\n      if (!some(components))\n        return [];\n      const reduced = [components[0]];\n      for (let i = 1; i < components.length; i++) {\n        const component = components[i];\n        if (!component)\n          continue;\n        if (component === \".\")\n          continue;\n        if (component === \"..\") {\n          if (reduced.length > 1) {\n            if (reduced[reduced.length - 1] !== \"..\") {\n              reduced.pop();\n              continue;\n            }\n          } else if (reduced[0])\n            continue;\n        }\n        reduced.push(component);\n      }\n      return reduced;\n    }\n    function combinePaths(path, ...paths) {\n      if (path)\n        path = normalizeSlashes(path);\n      for (let relativePath of paths) {\n        if (!relativePath)\n          continue;\n        relativePath = normalizeSlashes(relativePath);\n        if (!path || getRootLength(relativePath) !== 0) {\n          path = relativePath;\n        } else {\n          path = ensureTrailingDirectorySeparator(path) + relativePath;\n        }\n      }\n      return path;\n    }\n    function resolvePath(path, ...paths) {\n      return normalizePath(some(paths) ? combinePaths(path, ...paths) : normalizeSlashes(path));\n    }\n    function getNormalizedPathComponents(path, currentDirectory) {\n      return reducePathComponents(getPathComponents(path, currentDirectory));\n    }\n    function getNormalizedAbsolutePath(fileName, currentDirectory) {\n      return getPathFromPathComponents(getNormalizedPathComponents(fileName, currentDirectory));\n    }\n    function normalizePath(path) {\n      path = normalizeSlashes(path);\n      if (!relativePathSegmentRegExp.test(path)) {\n        return path;\n      }\n      const simplified = path.replace(/\\/\\.\\//g, \"/\").replace(/^\\.\\//, \"\");\n      if (simplified !== path) {\n        path = simplified;\n        if (!relativePathSegmentRegExp.test(path)) {\n          return path;\n        }\n      }\n      const normalized = getPathFromPathComponents(reducePathComponents(getPathComponents(path)));\n      return normalized && hasTrailingDirectorySeparator(path) ? ensureTrailingDirectorySeparator(normalized) : normalized;\n    }\n    function getPathWithoutRoot(pathComponents2) {\n      if (pathComponents2.length === 0)\n        return \"\";\n      return pathComponents2.slice(1).join(directorySeparator);\n    }\n    function getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory) {\n      return getPathWithoutRoot(getNormalizedPathComponents(fileName, currentDirectory));\n    }\n    function toPath(fileName, basePath, getCanonicalFileName) {\n      const nonCanonicalizedPath = isRootedDiskPath(fileName) ? normalizePath(fileName) : getNormalizedAbsolutePath(fileName, basePath);\n      return getCanonicalFileName(nonCanonicalizedPath);\n    }\n    function removeTrailingDirectorySeparator(path) {\n      if (hasTrailingDirectorySeparator(path)) {\n        return path.substr(0, path.length - 1);\n      }\n      return path;\n    }\n    function ensureTrailingDirectorySeparator(path) {\n      if (!hasTrailingDirectorySeparator(path)) {\n        return path + directorySeparator;\n      }\n      return path;\n    }\n    function ensurePathIsNonModuleName(path) {\n      return !pathIsAbsolute(path) && !pathIsRelative(path) ? \"./\" + path : path;\n    }\n    function changeAnyExtension(path, ext, extensions, ignoreCase) {\n      const pathext = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(path, extensions, ignoreCase) : getAnyExtensionFromPath(path);\n      return pathext ? path.slice(0, path.length - pathext.length) + (startsWith(ext, \".\") ? ext : \".\" + ext) : path;\n    }\n    function comparePathsWorker(a, b, componentComparer) {\n      if (a === b)\n        return 0;\n      if (a === void 0)\n        return -1;\n      if (b === void 0)\n        return 1;\n      const aRoot = a.substring(0, getRootLength(a));\n      const bRoot = b.substring(0, getRootLength(b));\n      const result = compareStringsCaseInsensitive(aRoot, bRoot);\n      if (result !== 0) {\n        return result;\n      }\n      const aRest = a.substring(aRoot.length);\n      const bRest = b.substring(bRoot.length);\n      if (!relativePathSegmentRegExp.test(aRest) && !relativePathSegmentRegExp.test(bRest)) {\n        return componentComparer(aRest, bRest);\n      }\n      const aComponents = reducePathComponents(getPathComponents(a));\n      const bComponents = reducePathComponents(getPathComponents(b));\n      const sharedLength = Math.min(aComponents.length, bComponents.length);\n      for (let i = 1; i < sharedLength; i++) {\n        const result2 = componentComparer(aComponents[i], bComponents[i]);\n        if (result2 !== 0) {\n          return result2;\n        }\n      }\n      return compareValues(aComponents.length, bComponents.length);\n    }\n    function comparePathsCaseSensitive(a, b) {\n      return comparePathsWorker(a, b, compareStringsCaseSensitive);\n    }\n    function comparePathsCaseInsensitive(a, b) {\n      return comparePathsWorker(a, b, compareStringsCaseInsensitive);\n    }\n    function comparePaths(a, b, currentDirectory, ignoreCase) {\n      if (typeof currentDirectory === \"string\") {\n        a = combinePaths(currentDirectory, a);\n        b = combinePaths(currentDirectory, b);\n      } else if (typeof currentDirectory === \"boolean\") {\n        ignoreCase = currentDirectory;\n      }\n      return comparePathsWorker(a, b, getStringComparer(ignoreCase));\n    }\n    function containsPath(parent2, child, currentDirectory, ignoreCase) {\n      if (typeof currentDirectory === \"string\") {\n        parent2 = combinePaths(currentDirectory, parent2);\n        child = combinePaths(currentDirectory, child);\n      } else if (typeof currentDirectory === \"boolean\") {\n        ignoreCase = currentDirectory;\n      }\n      if (parent2 === void 0 || child === void 0)\n        return false;\n      if (parent2 === child)\n        return true;\n      const parentComponents = reducePathComponents(getPathComponents(parent2));\n      const childComponents = reducePathComponents(getPathComponents(child));\n      if (childComponents.length < parentComponents.length) {\n        return false;\n      }\n      const componentEqualityComparer = ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive;\n      for (let i = 0; i < parentComponents.length; i++) {\n        const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer;\n        if (!equalityComparer(parentComponents[i], childComponents[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function startsWithDirectory(fileName, directoryName, getCanonicalFileName) {\n      const canonicalFileName = getCanonicalFileName(fileName);\n      const canonicalDirectoryName = getCanonicalFileName(directoryName);\n      return startsWith(canonicalFileName, canonicalDirectoryName + \"/\") || startsWith(canonicalFileName, canonicalDirectoryName + \"\\\\\");\n    }\n    function getPathComponentsRelativeTo(from, to, stringEqualityComparer, getCanonicalFileName) {\n      const fromComponents = reducePathComponents(getPathComponents(from));\n      const toComponents = reducePathComponents(getPathComponents(to));\n      let start;\n      for (start = 0; start < fromComponents.length && start < toComponents.length; start++) {\n        const fromComponent = getCanonicalFileName(fromComponents[start]);\n        const toComponent = getCanonicalFileName(toComponents[start]);\n        const comparer = start === 0 ? equateStringsCaseInsensitive : stringEqualityComparer;\n        if (!comparer(fromComponent, toComponent))\n          break;\n      }\n      if (start === 0) {\n        return toComponents;\n      }\n      const components = toComponents.slice(start);\n      const relative2 = [];\n      for (; start < fromComponents.length; start++) {\n        relative2.push(\"..\");\n      }\n      return [\"\", ...relative2, ...components];\n    }\n    function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) {\n      Debug2.assert(getRootLength(fromDirectory) > 0 === getRootLength(to) > 0, \"Paths must either both be absolute or both be relative\");\n      const getCanonicalFileName = typeof getCanonicalFileNameOrIgnoreCase === \"function\" ? getCanonicalFileNameOrIgnoreCase : identity2;\n      const ignoreCase = typeof getCanonicalFileNameOrIgnoreCase === \"boolean\" ? getCanonicalFileNameOrIgnoreCase : false;\n      const pathComponents2 = getPathComponentsRelativeTo(fromDirectory, to, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive, getCanonicalFileName);\n      return getPathFromPathComponents(pathComponents2);\n    }\n    function convertToRelativePath(absoluteOrRelativePath, basePath, getCanonicalFileName) {\n      return !isRootedDiskPath(absoluteOrRelativePath) ? absoluteOrRelativePath : getRelativePathToDirectoryOrUrl(\n        basePath,\n        absoluteOrRelativePath,\n        basePath,\n        getCanonicalFileName,\n        /*isAbsolutePathAnUrl*/\n        false\n      );\n    }\n    function getRelativePathFromFile(from, to, getCanonicalFileName) {\n      return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanonicalFileName));\n    }\n    function getRelativePathToDirectoryOrUrl(directoryPathOrUrl, relativeOrAbsolutePath, currentDirectory, getCanonicalFileName, isAbsolutePathAnUrl) {\n      const pathComponents2 = getPathComponentsRelativeTo(\n        resolvePath(currentDirectory, directoryPathOrUrl),\n        resolvePath(currentDirectory, relativeOrAbsolutePath),\n        equateStringsCaseSensitive,\n        getCanonicalFileName\n      );\n      const firstComponent = pathComponents2[0];\n      if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) {\n        const prefix = firstComponent.charAt(0) === directorySeparator ? \"file://\" : \"file:///\";\n        pathComponents2[0] = prefix + firstComponent;\n      }\n      return getPathFromPathComponents(pathComponents2);\n    }\n    function forEachAncestorDirectory(directory, callback) {\n      while (true) {\n        const result = callback(directory);\n        if (result !== void 0) {\n          return result;\n        }\n        const parentPath = getDirectoryPath(directory);\n        if (parentPath === directory) {\n          return void 0;\n        }\n        directory = parentPath;\n      }\n    }\n    function isNodeModulesDirectory(dirPath) {\n      return endsWith(dirPath, \"/node_modules\");\n    }\n    var directorySeparator, altDirectorySeparator, urlSchemeSeparator, backslashRegExp, relativePathSegmentRegExp;\n    var init_path = __esm({\n      \"src/compiler/path.ts\"() {\n        \"use strict\";\n        init_ts2();\n        directorySeparator = \"/\";\n        altDirectorySeparator = \"\\\\\";\n        urlSchemeSeparator = \"://\";\n        backslashRegExp = /\\\\/g;\n        relativePathSegmentRegExp = /(?:\\/\\/)|(?:^|\\/)\\.\\.?(?:$|\\/)/;\n      }\n    });\n    function diag(code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated) {\n      return { code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated };\n    }\n    var Diagnostics;\n    var init_diagnosticInformationMap_generated = __esm({\n      \"src/compiler/diagnosticInformationMap.generated.ts\"() {\n        \"use strict\";\n        init_types();\n        Diagnostics = {\n          Unterminated_string_literal: diag(1002, 1, \"Unterminated_string_literal_1002\", \"Unterminated string literal.\"),\n          Identifier_expected: diag(1003, 1, \"Identifier_expected_1003\", \"Identifier expected.\"),\n          _0_expected: diag(1005, 1, \"_0_expected_1005\", \"'{0}' expected.\"),\n          A_file_cannot_have_a_reference_to_itself: diag(1006, 1, \"A_file_cannot_have_a_reference_to_itself_1006\", \"A file cannot have a reference to itself.\"),\n          The_parser_expected_to_find_a_1_to_match_the_0_token_here: diag(1007, 1, \"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007\", \"The parser expected to find a '{1}' to match the '{0}' token here.\"),\n          Trailing_comma_not_allowed: diag(1009, 1, \"Trailing_comma_not_allowed_1009\", \"Trailing comma not allowed.\"),\n          Asterisk_Slash_expected: diag(1010, 1, \"Asterisk_Slash_expected_1010\", \"'*/' expected.\"),\n          An_element_access_expression_should_take_an_argument: diag(1011, 1, \"An_element_access_expression_should_take_an_argument_1011\", \"An element access expression should take an argument.\"),\n          Unexpected_token: diag(1012, 1, \"Unexpected_token_1012\", \"Unexpected token.\"),\n          A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: diag(1013, 1, \"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013\", \"A rest parameter or binding pattern may not have a trailing comma.\"),\n          A_rest_parameter_must_be_last_in_a_parameter_list: diag(1014, 1, \"A_rest_parameter_must_be_last_in_a_parameter_list_1014\", \"A rest parameter must be last in a parameter list.\"),\n          Parameter_cannot_have_question_mark_and_initializer: diag(1015, 1, \"Parameter_cannot_have_question_mark_and_initializer_1015\", \"Parameter cannot have question mark and initializer.\"),\n          A_required_parameter_cannot_follow_an_optional_parameter: diag(1016, 1, \"A_required_parameter_cannot_follow_an_optional_parameter_1016\", \"A required parameter cannot follow an optional parameter.\"),\n          An_index_signature_cannot_have_a_rest_parameter: diag(1017, 1, \"An_index_signature_cannot_have_a_rest_parameter_1017\", \"An index signature cannot have a rest parameter.\"),\n          An_index_signature_parameter_cannot_have_an_accessibility_modifier: diag(1018, 1, \"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018\", \"An index signature parameter cannot have an accessibility modifier.\"),\n          An_index_signature_parameter_cannot_have_a_question_mark: diag(1019, 1, \"An_index_signature_parameter_cannot_have_a_question_mark_1019\", \"An index signature parameter cannot have a question mark.\"),\n          An_index_signature_parameter_cannot_have_an_initializer: diag(1020, 1, \"An_index_signature_parameter_cannot_have_an_initializer_1020\", \"An index signature parameter cannot have an initializer.\"),\n          An_index_signature_must_have_a_type_annotation: diag(1021, 1, \"An_index_signature_must_have_a_type_annotation_1021\", \"An index signature must have a type annotation.\"),\n          An_index_signature_parameter_must_have_a_type_annotation: diag(1022, 1, \"An_index_signature_parameter_must_have_a_type_annotation_1022\", \"An index signature parameter must have a type annotation.\"),\n          readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature: diag(1024, 1, \"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024\", \"'readonly' modifier can only appear on a property declaration or index signature.\"),\n          An_index_signature_cannot_have_a_trailing_comma: diag(1025, 1, \"An_index_signature_cannot_have_a_trailing_comma_1025\", \"An index signature cannot have a trailing comma.\"),\n          Accessibility_modifier_already_seen: diag(1028, 1, \"Accessibility_modifier_already_seen_1028\", \"Accessibility modifier already seen.\"),\n          _0_modifier_must_precede_1_modifier: diag(1029, 1, \"_0_modifier_must_precede_1_modifier_1029\", \"'{0}' modifier must precede '{1}' modifier.\"),\n          _0_modifier_already_seen: diag(1030, 1, \"_0_modifier_already_seen_1030\", \"'{0}' modifier already seen.\"),\n          _0_modifier_cannot_appear_on_class_elements_of_this_kind: diag(1031, 1, \"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031\", \"'{0}' modifier cannot appear on class elements of this kind.\"),\n          super_must_be_followed_by_an_argument_list_or_member_access: diag(1034, 1, \"super_must_be_followed_by_an_argument_list_or_member_access_1034\", \"'super' must be followed by an argument list or member access.\"),\n          Only_ambient_modules_can_use_quoted_names: diag(1035, 1, \"Only_ambient_modules_can_use_quoted_names_1035\", \"Only ambient modules can use quoted names.\"),\n          Statements_are_not_allowed_in_ambient_contexts: diag(1036, 1, \"Statements_are_not_allowed_in_ambient_contexts_1036\", \"Statements are not allowed in ambient contexts.\"),\n          A_declare_modifier_cannot_be_used_in_an_already_ambient_context: diag(1038, 1, \"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038\", \"A 'declare' modifier cannot be used in an already ambient context.\"),\n          Initializers_are_not_allowed_in_ambient_contexts: diag(1039, 1, \"Initializers_are_not_allowed_in_ambient_contexts_1039\", \"Initializers are not allowed in ambient contexts.\"),\n          _0_modifier_cannot_be_used_in_an_ambient_context: diag(1040, 1, \"_0_modifier_cannot_be_used_in_an_ambient_context_1040\", \"'{0}' modifier cannot be used in an ambient context.\"),\n          _0_modifier_cannot_be_used_here: diag(1042, 1, \"_0_modifier_cannot_be_used_here_1042\", \"'{0}' modifier cannot be used here.\"),\n          _0_modifier_cannot_appear_on_a_module_or_namespace_element: diag(1044, 1, \"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044\", \"'{0}' modifier cannot appear on a module or namespace element.\"),\n          Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier: diag(1046, 1, \"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046\", \"Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.\"),\n          A_rest_parameter_cannot_be_optional: diag(1047, 1, \"A_rest_parameter_cannot_be_optional_1047\", \"A rest parameter cannot be optional.\"),\n          A_rest_parameter_cannot_have_an_initializer: diag(1048, 1, \"A_rest_parameter_cannot_have_an_initializer_1048\", \"A rest parameter cannot have an initializer.\"),\n          A_set_accessor_must_have_exactly_one_parameter: diag(1049, 1, \"A_set_accessor_must_have_exactly_one_parameter_1049\", \"A 'set' accessor must have exactly one parameter.\"),\n          A_set_accessor_cannot_have_an_optional_parameter: diag(1051, 1, \"A_set_accessor_cannot_have_an_optional_parameter_1051\", \"A 'set' accessor cannot have an optional parameter.\"),\n          A_set_accessor_parameter_cannot_have_an_initializer: diag(1052, 1, \"A_set_accessor_parameter_cannot_have_an_initializer_1052\", \"A 'set' accessor parameter cannot have an initializer.\"),\n          A_set_accessor_cannot_have_rest_parameter: diag(1053, 1, \"A_set_accessor_cannot_have_rest_parameter_1053\", \"A 'set' accessor cannot have rest parameter.\"),\n          A_get_accessor_cannot_have_parameters: diag(1054, 1, \"A_get_accessor_cannot_have_parameters_1054\", \"A 'get' accessor cannot have parameters.\"),\n          Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: diag(1055, 1, \"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055\", \"Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.\"),\n          Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: diag(1056, 1, \"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056\", \"Accessors are only available when targeting ECMAScript 5 and higher.\"),\n          The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1058, 1, \"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058\", \"The return type of an async function must either be a valid promise or must not contain a callable 'then' member.\"),\n          A_promise_must_have_a_then_method: diag(1059, 1, \"A_promise_must_have_a_then_method_1059\", \"A promise must have a 'then' method.\"),\n          The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback: diag(1060, 1, \"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060\", \"The first parameter of the 'then' method of a promise must be a callback.\"),\n          Enum_member_must_have_initializer: diag(1061, 1, \"Enum_member_must_have_initializer_1061\", \"Enum member must have initializer.\"),\n          Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method: diag(1062, 1, \"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062\", \"Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method.\"),\n          An_export_assignment_cannot_be_used_in_a_namespace: diag(1063, 1, \"An_export_assignment_cannot_be_used_in_a_namespace_1063\", \"An export assignment cannot be used in a namespace.\"),\n          The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0: diag(1064, 1, \"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064\", \"The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?\"),\n          In_ambient_enum_declarations_member_initializer_must_be_constant_expression: diag(1066, 1, \"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066\", \"In ambient enum declarations member initializer must be constant expression.\"),\n          Unexpected_token_A_constructor_method_accessor_or_property_was_expected: diag(1068, 1, \"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068\", \"Unexpected token. A constructor, method, accessor, or property was expected.\"),\n          Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces: diag(1069, 1, \"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069\", \"Unexpected token. A type parameter name was expected without curly braces.\"),\n          _0_modifier_cannot_appear_on_a_type_member: diag(1070, 1, \"_0_modifier_cannot_appear_on_a_type_member_1070\", \"'{0}' modifier cannot appear on a type member.\"),\n          _0_modifier_cannot_appear_on_an_index_signature: diag(1071, 1, \"_0_modifier_cannot_appear_on_an_index_signature_1071\", \"'{0}' modifier cannot appear on an index signature.\"),\n          A_0_modifier_cannot_be_used_with_an_import_declaration: diag(1079, 1, \"A_0_modifier_cannot_be_used_with_an_import_declaration_1079\", \"A '{0}' modifier cannot be used with an import declaration.\"),\n          Invalid_reference_directive_syntax: diag(1084, 1, \"Invalid_reference_directive_syntax_1084\", \"Invalid 'reference' directive syntax.\"),\n          Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0: diag(1085, 1, \"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085\", \"Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'.\"),\n          _0_modifier_cannot_appear_on_a_constructor_declaration: diag(1089, 1, \"_0_modifier_cannot_appear_on_a_constructor_declaration_1089\", \"'{0}' modifier cannot appear on a constructor declaration.\"),\n          _0_modifier_cannot_appear_on_a_parameter: diag(1090, 1, \"_0_modifier_cannot_appear_on_a_parameter_1090\", \"'{0}' modifier cannot appear on a parameter.\"),\n          Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement: diag(1091, 1, \"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091\", \"Only a single variable declaration is allowed in a 'for...in' statement.\"),\n          Type_parameters_cannot_appear_on_a_constructor_declaration: diag(1092, 1, \"Type_parameters_cannot_appear_on_a_constructor_declaration_1092\", \"Type parameters cannot appear on a constructor declaration.\"),\n          Type_annotation_cannot_appear_on_a_constructor_declaration: diag(1093, 1, \"Type_annotation_cannot_appear_on_a_constructor_declaration_1093\", \"Type annotation cannot appear on a constructor declaration.\"),\n          An_accessor_cannot_have_type_parameters: diag(1094, 1, \"An_accessor_cannot_have_type_parameters_1094\", \"An accessor cannot have type parameters.\"),\n          A_set_accessor_cannot_have_a_return_type_annotation: diag(1095, 1, \"A_set_accessor_cannot_have_a_return_type_annotation_1095\", \"A 'set' accessor cannot have a return type annotation.\"),\n          An_index_signature_must_have_exactly_one_parameter: diag(1096, 1, \"An_index_signature_must_have_exactly_one_parameter_1096\", \"An index signature must have exactly one parameter.\"),\n          _0_list_cannot_be_empty: diag(1097, 1, \"_0_list_cannot_be_empty_1097\", \"'{0}' list cannot be empty.\"),\n          Type_parameter_list_cannot_be_empty: diag(1098, 1, \"Type_parameter_list_cannot_be_empty_1098\", \"Type parameter list cannot be empty.\"),\n          Type_argument_list_cannot_be_empty: diag(1099, 1, \"Type_argument_list_cannot_be_empty_1099\", \"Type argument list cannot be empty.\"),\n          Invalid_use_of_0_in_strict_mode: diag(1100, 1, \"Invalid_use_of_0_in_strict_mode_1100\", \"Invalid use of '{0}' in strict mode.\"),\n          with_statements_are_not_allowed_in_strict_mode: diag(1101, 1, \"with_statements_are_not_allowed_in_strict_mode_1101\", \"'with' statements are not allowed in strict mode.\"),\n          delete_cannot_be_called_on_an_identifier_in_strict_mode: diag(1102, 1, \"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102\", \"'delete' cannot be called on an identifier in strict mode.\"),\n          for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(1103, 1, \"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103\", \"'for await' loops are only allowed within async functions and at the top levels of modules.\"),\n          A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: diag(1104, 1, \"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104\", \"A 'continue' statement can only be used within an enclosing iteration statement.\"),\n          A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement: diag(1105, 1, \"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105\", \"A 'break' statement can only be used within an enclosing iteration or switch statement.\"),\n          The_left_hand_side_of_a_for_of_statement_may_not_be_async: diag(1106, 1, \"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106\", \"The left-hand side of a 'for...of' statement may not be 'async'.\"),\n          Jump_target_cannot_cross_function_boundary: diag(1107, 1, \"Jump_target_cannot_cross_function_boundary_1107\", \"Jump target cannot cross function boundary.\"),\n          A_return_statement_can_only_be_used_within_a_function_body: diag(1108, 1, \"A_return_statement_can_only_be_used_within_a_function_body_1108\", \"A 'return' statement can only be used within a function body.\"),\n          Expression_expected: diag(1109, 1, \"Expression_expected_1109\", \"Expression expected.\"),\n          Type_expected: diag(1110, 1, \"Type_expected_1110\", \"Type expected.\"),\n          A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: diag(1113, 1, \"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113\", \"A 'default' clause cannot appear more than once in a 'switch' statement.\"),\n          Duplicate_label_0: diag(1114, 1, \"Duplicate_label_0_1114\", \"Duplicate label '{0}'.\"),\n          A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: diag(1115, 1, \"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115\", \"A 'continue' statement can only jump to a label of an enclosing iteration statement.\"),\n          A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement: diag(1116, 1, \"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116\", \"A 'break' statement can only jump to a label of an enclosing statement.\"),\n          An_object_literal_cannot_have_multiple_properties_with_the_same_name: diag(1117, 1, \"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117\", \"An object literal cannot have multiple properties with the same name.\"),\n          An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: diag(1118, 1, \"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118\", \"An object literal cannot have multiple get/set accessors with the same name.\"),\n          An_object_literal_cannot_have_property_and_accessor_with_the_same_name: diag(1119, 1, \"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119\", \"An object literal cannot have property and accessor with the same name.\"),\n          An_export_assignment_cannot_have_modifiers: diag(1120, 1, \"An_export_assignment_cannot_have_modifiers_1120\", \"An export assignment cannot have modifiers.\"),\n          Octal_literals_are_not_allowed_in_strict_mode: diag(1121, 1, \"Octal_literals_are_not_allowed_in_strict_mode_1121\", \"Octal literals are not allowed in strict mode.\"),\n          Variable_declaration_list_cannot_be_empty: diag(1123, 1, \"Variable_declaration_list_cannot_be_empty_1123\", \"Variable declaration list cannot be empty.\"),\n          Digit_expected: diag(1124, 1, \"Digit_expected_1124\", \"Digit expected.\"),\n          Hexadecimal_digit_expected: diag(1125, 1, \"Hexadecimal_digit_expected_1125\", \"Hexadecimal digit expected.\"),\n          Unexpected_end_of_text: diag(1126, 1, \"Unexpected_end_of_text_1126\", \"Unexpected end of text.\"),\n          Invalid_character: diag(1127, 1, \"Invalid_character_1127\", \"Invalid character.\"),\n          Declaration_or_statement_expected: diag(1128, 1, \"Declaration_or_statement_expected_1128\", \"Declaration or statement expected.\"),\n          Statement_expected: diag(1129, 1, \"Statement_expected_1129\", \"Statement expected.\"),\n          case_or_default_expected: diag(1130, 1, \"case_or_default_expected_1130\", \"'case' or 'default' expected.\"),\n          Property_or_signature_expected: diag(1131, 1, \"Property_or_signature_expected_1131\", \"Property or signature expected.\"),\n          Enum_member_expected: diag(1132, 1, \"Enum_member_expected_1132\", \"Enum member expected.\"),\n          Variable_declaration_expected: diag(1134, 1, \"Variable_declaration_expected_1134\", \"Variable declaration expected.\"),\n          Argument_expression_expected: diag(1135, 1, \"Argument_expression_expected_1135\", \"Argument expression expected.\"),\n          Property_assignment_expected: diag(1136, 1, \"Property_assignment_expected_1136\", \"Property assignment expected.\"),\n          Expression_or_comma_expected: diag(1137, 1, \"Expression_or_comma_expected_1137\", \"Expression or comma expected.\"),\n          Parameter_declaration_expected: diag(1138, 1, \"Parameter_declaration_expected_1138\", \"Parameter declaration expected.\"),\n          Type_parameter_declaration_expected: diag(1139, 1, \"Type_parameter_declaration_expected_1139\", \"Type parameter declaration expected.\"),\n          Type_argument_expected: diag(1140, 1, \"Type_argument_expected_1140\", \"Type argument expected.\"),\n          String_literal_expected: diag(1141, 1, \"String_literal_expected_1141\", \"String literal expected.\"),\n          Line_break_not_permitted_here: diag(1142, 1, \"Line_break_not_permitted_here_1142\", \"Line break not permitted here.\"),\n          or_expected: diag(1144, 1, \"or_expected_1144\", \"'{' or ';' expected.\"),\n          or_JSX_element_expected: diag(1145, 1, \"or_JSX_element_expected_1145\", \"'{' or JSX element expected.\"),\n          Declaration_expected: diag(1146, 1, \"Declaration_expected_1146\", \"Declaration expected.\"),\n          Import_declarations_in_a_namespace_cannot_reference_a_module: diag(1147, 1, \"Import_declarations_in_a_namespace_cannot_reference_a_module_1147\", \"Import declarations in a namespace cannot reference a module.\"),\n          Cannot_use_imports_exports_or_module_augmentations_when_module_is_none: diag(1148, 1, \"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148\", \"Cannot use imports, exports, or module augmentations when '--module' is 'none'.\"),\n          File_name_0_differs_from_already_included_file_name_1_only_in_casing: diag(1149, 1, \"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149\", \"File name '{0}' differs from already included file name '{1}' only in casing.\"),\n          const_declarations_must_be_initialized: diag(1155, 1, \"const_declarations_must_be_initialized_1155\", \"'const' declarations must be initialized.\"),\n          const_declarations_can_only_be_declared_inside_a_block: diag(1156, 1, \"const_declarations_can_only_be_declared_inside_a_block_1156\", \"'const' declarations can only be declared inside a block.\"),\n          let_declarations_can_only_be_declared_inside_a_block: diag(1157, 1, \"let_declarations_can_only_be_declared_inside_a_block_1157\", \"'let' declarations can only be declared inside a block.\"),\n          Unterminated_template_literal: diag(1160, 1, \"Unterminated_template_literal_1160\", \"Unterminated template literal.\"),\n          Unterminated_regular_expression_literal: diag(1161, 1, \"Unterminated_regular_expression_literal_1161\", \"Unterminated regular expression literal.\"),\n          An_object_member_cannot_be_declared_optional: diag(1162, 1, \"An_object_member_cannot_be_declared_optional_1162\", \"An object member cannot be declared optional.\"),\n          A_yield_expression_is_only_allowed_in_a_generator_body: diag(1163, 1, \"A_yield_expression_is_only_allowed_in_a_generator_body_1163\", \"A 'yield' expression is only allowed in a generator body.\"),\n          Computed_property_names_are_not_allowed_in_enums: diag(1164, 1, \"Computed_property_names_are_not_allowed_in_enums_1164\", \"Computed property names are not allowed in enums.\"),\n          A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1165, 1, \"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165\", \"A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n          A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type: diag(1166, 1, \"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166\", \"A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type.\"),\n          A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1168, 1, \"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168\", \"A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n          A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1169, 1, \"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169\", \"A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n          A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1170, 1, \"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170\", \"A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n          A_comma_expression_is_not_allowed_in_a_computed_property_name: diag(1171, 1, \"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171\", \"A comma expression is not allowed in a computed property name.\"),\n          extends_clause_already_seen: diag(1172, 1, \"extends_clause_already_seen_1172\", \"'extends' clause already seen.\"),\n          extends_clause_must_precede_implements_clause: diag(1173, 1, \"extends_clause_must_precede_implements_clause_1173\", \"'extends' clause must precede 'implements' clause.\"),\n          Classes_can_only_extend_a_single_class: diag(1174, 1, \"Classes_can_only_extend_a_single_class_1174\", \"Classes can only extend a single class.\"),\n          implements_clause_already_seen: diag(1175, 1, \"implements_clause_already_seen_1175\", \"'implements' clause already seen.\"),\n          Interface_declaration_cannot_have_implements_clause: diag(1176, 1, \"Interface_declaration_cannot_have_implements_clause_1176\", \"Interface declaration cannot have 'implements' clause.\"),\n          Binary_digit_expected: diag(1177, 1, \"Binary_digit_expected_1177\", \"Binary digit expected.\"),\n          Octal_digit_expected: diag(1178, 1, \"Octal_digit_expected_1178\", \"Octal digit expected.\"),\n          Unexpected_token_expected: diag(1179, 1, \"Unexpected_token_expected_1179\", \"Unexpected token. '{' expected.\"),\n          Property_destructuring_pattern_expected: diag(1180, 1, \"Property_destructuring_pattern_expected_1180\", \"Property destructuring pattern expected.\"),\n          Array_element_destructuring_pattern_expected: diag(1181, 1, \"Array_element_destructuring_pattern_expected_1181\", \"Array element destructuring pattern expected.\"),\n          A_destructuring_declaration_must_have_an_initializer: diag(1182, 1, \"A_destructuring_declaration_must_have_an_initializer_1182\", \"A destructuring declaration must have an initializer.\"),\n          An_implementation_cannot_be_declared_in_ambient_contexts: diag(1183, 1, \"An_implementation_cannot_be_declared_in_ambient_contexts_1183\", \"An implementation cannot be declared in ambient contexts.\"),\n          Modifiers_cannot_appear_here: diag(1184, 1, \"Modifiers_cannot_appear_here_1184\", \"Modifiers cannot appear here.\"),\n          Merge_conflict_marker_encountered: diag(1185, 1, \"Merge_conflict_marker_encountered_1185\", \"Merge conflict marker encountered.\"),\n          A_rest_element_cannot_have_an_initializer: diag(1186, 1, \"A_rest_element_cannot_have_an_initializer_1186\", \"A rest element cannot have an initializer.\"),\n          A_parameter_property_may_not_be_declared_using_a_binding_pattern: diag(1187, 1, \"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187\", \"A parameter property may not be declared using a binding pattern.\"),\n          Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement: diag(1188, 1, \"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188\", \"Only a single variable declaration is allowed in a 'for...of' statement.\"),\n          The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer: diag(1189, 1, \"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189\", \"The variable declaration of a 'for...in' statement cannot have an initializer.\"),\n          The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer: diag(1190, 1, \"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190\", \"The variable declaration of a 'for...of' statement cannot have an initializer.\"),\n          An_import_declaration_cannot_have_modifiers: diag(1191, 1, \"An_import_declaration_cannot_have_modifiers_1191\", \"An import declaration cannot have modifiers.\"),\n          Module_0_has_no_default_export: diag(1192, 1, \"Module_0_has_no_default_export_1192\", \"Module '{0}' has no default export.\"),\n          An_export_declaration_cannot_have_modifiers: diag(1193, 1, \"An_export_declaration_cannot_have_modifiers_1193\", \"An export declaration cannot have modifiers.\"),\n          Export_declarations_are_not_permitted_in_a_namespace: diag(1194, 1, \"Export_declarations_are_not_permitted_in_a_namespace_1194\", \"Export declarations are not permitted in a namespace.\"),\n          export_Asterisk_does_not_re_export_a_default: diag(1195, 1, \"export_Asterisk_does_not_re_export_a_default_1195\", \"'export *' does not re-export a default.\"),\n          Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified: diag(1196, 1, \"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196\", \"Catch clause variable type annotation must be 'any' or 'unknown' if specified.\"),\n          Catch_clause_variable_cannot_have_an_initializer: diag(1197, 1, \"Catch_clause_variable_cannot_have_an_initializer_1197\", \"Catch clause variable cannot have an initializer.\"),\n          An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: diag(1198, 1, \"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198\", \"An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.\"),\n          Unterminated_Unicode_escape_sequence: diag(1199, 1, \"Unterminated_Unicode_escape_sequence_1199\", \"Unterminated Unicode escape sequence.\"),\n          Line_terminator_not_permitted_before_arrow: diag(1200, 1, \"Line_terminator_not_permitted_before_arrow_1200\", \"Line terminator not permitted before arrow.\"),\n          Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead: diag(1202, 1, \"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202\", `Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.`),\n          Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead: diag(1203, 1, \"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203\", \"Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.\"),\n          Re_exporting_a_type_when_0_is_enabled_requires_using_export_type: diag(1205, 1, \"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205\", \"Re-exporting a type when '{0}' is enabled requires using 'export type'.\"),\n          Decorators_are_not_valid_here: diag(1206, 1, \"Decorators_are_not_valid_here_1206\", \"Decorators are not valid here.\"),\n          Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name: diag(1207, 1, \"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207\", \"Decorators cannot be applied to multiple get/set accessors of the same name.\"),\n          Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0: diag(1209, 1, \"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209\", \"Invalid optional chain from new expression. Did you mean to call '{0}()'?\"),\n          Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode: diag(1210, 1, \"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210\", \"Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.\"),\n          A_class_declaration_without_the_default_modifier_must_have_a_name: diag(1211, 1, \"A_class_declaration_without_the_default_modifier_must_have_a_name_1211\", \"A class declaration without the 'default' modifier must have a name.\"),\n          Identifier_expected_0_is_a_reserved_word_in_strict_mode: diag(1212, 1, \"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212\", \"Identifier expected. '{0}' is a reserved word in strict mode.\"),\n          Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: diag(1213, 1, \"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213\", \"Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.\"),\n          Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: diag(1214, 1, \"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214\", \"Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.\"),\n          Invalid_use_of_0_Modules_are_automatically_in_strict_mode: diag(1215, 1, \"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215\", \"Invalid use of '{0}'. Modules are automatically in strict mode.\"),\n          Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules: diag(1216, 1, \"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216\", \"Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules.\"),\n          Export_assignment_is_not_supported_when_module_flag_is_system: diag(1218, 1, \"Export_assignment_is_not_supported_when_module_flag_is_system_1218\", \"Export assignment is not supported when '--module' flag is 'system'.\"),\n          Generators_are_not_allowed_in_an_ambient_context: diag(1221, 1, \"Generators_are_not_allowed_in_an_ambient_context_1221\", \"Generators are not allowed in an ambient context.\"),\n          An_overload_signature_cannot_be_declared_as_a_generator: diag(1222, 1, \"An_overload_signature_cannot_be_declared_as_a_generator_1222\", \"An overload signature cannot be declared as a generator.\"),\n          _0_tag_already_specified: diag(1223, 1, \"_0_tag_already_specified_1223\", \"'{0}' tag already specified.\"),\n          Signature_0_must_be_a_type_predicate: diag(1224, 1, \"Signature_0_must_be_a_type_predicate_1224\", \"Signature '{0}' must be a type predicate.\"),\n          Cannot_find_parameter_0: diag(1225, 1, \"Cannot_find_parameter_0_1225\", \"Cannot find parameter '{0}'.\"),\n          Type_predicate_0_is_not_assignable_to_1: diag(1226, 1, \"Type_predicate_0_is_not_assignable_to_1_1226\", \"Type predicate '{0}' is not assignable to '{1}'.\"),\n          Parameter_0_is_not_in_the_same_position_as_parameter_1: diag(1227, 1, \"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227\", \"Parameter '{0}' is not in the same position as parameter '{1}'.\"),\n          A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: diag(1228, 1, \"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228\", \"A type predicate is only allowed in return type position for functions and methods.\"),\n          A_type_predicate_cannot_reference_a_rest_parameter: diag(1229, 1, \"A_type_predicate_cannot_reference_a_rest_parameter_1229\", \"A type predicate cannot reference a rest parameter.\"),\n          A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: diag(1230, 1, \"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230\", \"A type predicate cannot reference element '{0}' in a binding pattern.\"),\n          An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration: diag(1231, 1, \"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231\", \"An export assignment must be at the top level of a file or module declaration.\"),\n          An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module: diag(1232, 1, \"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232\", \"An import declaration can only be used at the top level of a namespace or module.\"),\n          An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module: diag(1233, 1, \"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233\", \"An export declaration can only be used at the top level of a namespace or module.\"),\n          An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: diag(1234, 1, \"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234\", \"An ambient module declaration is only allowed at the top level in a file.\"),\n          A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module: diag(1235, 1, \"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235\", \"A namespace declaration is only allowed at the top level of a namespace or module.\"),\n          The_return_type_of_a_property_decorator_function_must_be_either_void_or_any: diag(1236, 1, \"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236\", \"The return type of a property decorator function must be either 'void' or 'any'.\"),\n          The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any: diag(1237, 1, \"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237\", \"The return type of a parameter decorator function must be either 'void' or 'any'.\"),\n          Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression: diag(1238, 1, \"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238\", \"Unable to resolve signature of class decorator when called as an expression.\"),\n          Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression: diag(1239, 1, \"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239\", \"Unable to resolve signature of parameter decorator when called as an expression.\"),\n          Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression: diag(1240, 1, \"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240\", \"Unable to resolve signature of property decorator when called as an expression.\"),\n          Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression: diag(1241, 1, \"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241\", \"Unable to resolve signature of method decorator when called as an expression.\"),\n          abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration: diag(1242, 1, \"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242\", \"'abstract' modifier can only appear on a class, method, or property declaration.\"),\n          _0_modifier_cannot_be_used_with_1_modifier: diag(1243, 1, \"_0_modifier_cannot_be_used_with_1_modifier_1243\", \"'{0}' modifier cannot be used with '{1}' modifier.\"),\n          Abstract_methods_can_only_appear_within_an_abstract_class: diag(1244, 1, \"Abstract_methods_can_only_appear_within_an_abstract_class_1244\", \"Abstract methods can only appear within an abstract class.\"),\n          Method_0_cannot_have_an_implementation_because_it_is_marked_abstract: diag(1245, 1, \"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245\", \"Method '{0}' cannot have an implementation because it is marked abstract.\"),\n          An_interface_property_cannot_have_an_initializer: diag(1246, 1, \"An_interface_property_cannot_have_an_initializer_1246\", \"An interface property cannot have an initializer.\"),\n          A_type_literal_property_cannot_have_an_initializer: diag(1247, 1, \"A_type_literal_property_cannot_have_an_initializer_1247\", \"A type literal property cannot have an initializer.\"),\n          A_class_member_cannot_have_the_0_keyword: diag(1248, 1, \"A_class_member_cannot_have_the_0_keyword_1248\", \"A class member cannot have the '{0}' keyword.\"),\n          A_decorator_can_only_decorate_a_method_implementation_not_an_overload: diag(1249, 1, \"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249\", \"A decorator can only decorate a method implementation, not an overload.\"),\n          Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5: diag(1250, 1, \"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250\", \"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.\"),\n          Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode: diag(1251, 1, \"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251\", \"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.\"),\n          Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode: diag(1252, 1, \"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252\", \"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.\"),\n          A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: diag(1254, 1, \"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254\", \"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.\"),\n          A_definite_assignment_assertion_is_not_permitted_in_this_context: diag(1255, 1, \"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255\", \"A definite assignment assertion '!' is not permitted in this context.\"),\n          A_required_element_cannot_follow_an_optional_element: diag(1257, 1, \"A_required_element_cannot_follow_an_optional_element_1257\", \"A required element cannot follow an optional element.\"),\n          A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration: diag(1258, 1, \"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258\", \"A default export must be at the top level of a file or module declaration.\"),\n          Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1, \"Module_0_can_only_be_default_imported_using_the_1_flag_1259\", \"Module '{0}' can only be default-imported using the '{1}' flag\"),\n          Keywords_cannot_contain_escape_characters: diag(1260, 1, \"Keywords_cannot_contain_escape_characters_1260\", \"Keywords cannot contain escape characters.\"),\n          Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1, \"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261\", \"Already included file name '{0}' differs from file name '{1}' only in casing.\"),\n          Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1, \"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262\", \"Identifier expected. '{0}' is a reserved word at the top-level of a module.\"),\n          Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1, \"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263\", \"Declarations with initializers cannot also have definite assignment assertions.\"),\n          Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1, \"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264\", \"Declarations with definite assignment assertions must also have type annotations.\"),\n          A_rest_element_cannot_follow_another_rest_element: diag(1265, 1, \"A_rest_element_cannot_follow_another_rest_element_1265\", \"A rest element cannot follow another rest element.\"),\n          An_optional_element_cannot_follow_a_rest_element: diag(1266, 1, \"An_optional_element_cannot_follow_a_rest_element_1266\", \"An optional element cannot follow a rest element.\"),\n          Property_0_cannot_have_an_initializer_because_it_is_marked_abstract: diag(1267, 1, \"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267\", \"Property '{0}' cannot have an initializer because it is marked abstract.\"),\n          An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type: diag(1268, 1, \"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268\", \"An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type.\"),\n          Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled: diag(1269, 1, \"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269\", \"Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled.\"),\n          Decorator_function_return_type_0_is_not_assignable_to_type_1: diag(1270, 1, \"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270\", \"Decorator function return type '{0}' is not assignable to type '{1}'.\"),\n          Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any: diag(1271, 1, \"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271\", \"Decorator function return type is '{0}' but is expected to be 'void' or 'any'.\"),\n          A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled: diag(1272, 1, \"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272\", \"A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled.\"),\n          _0_modifier_cannot_appear_on_a_type_parameter: diag(1273, 1, \"_0_modifier_cannot_appear_on_a_type_parameter_1273\", \"'{0}' modifier cannot appear on a type parameter\"),\n          _0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias: diag(1274, 1, \"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274\", \"'{0}' modifier can only appear on a type parameter of a class, interface or type alias\"),\n          accessor_modifier_can_only_appear_on_a_property_declaration: diag(1275, 1, \"accessor_modifier_can_only_appear_on_a_property_declaration_1275\", \"'accessor' modifier can only appear on a property declaration.\"),\n          An_accessor_property_cannot_be_declared_optional: diag(1276, 1, \"An_accessor_property_cannot_be_declared_optional_1276\", \"An 'accessor' property cannot be declared optional.\"),\n          _0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class: diag(1277, 1, \"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277\", \"'{0}' modifier can only appear on a type parameter of a function, method or class\"),\n          The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0: diag(1278, 1, \"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278\", \"The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}.\"),\n          The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0: diag(1279, 1, \"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279\", \"The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}.\"),\n          Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement: diag(1280, 1, \"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280\", \"Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement.\"),\n          Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead: diag(1281, 1, \"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281\", \"Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead.\"),\n          An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type: diag(1282, 1, \"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282\", \"An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type.\"),\n          An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration: diag(1283, 1, \"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283\", \"An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration.\"),\n          An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type: diag(1284, 1, \"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284\", \"An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type.\"),\n          An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration: diag(1285, 1, \"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285\", \"An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration.\"),\n          ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled: diag(1286, 1, \"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286\", \"ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled.\"),\n          A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled: diag(1287, 1, \"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287\", \"A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled.\"),\n          An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled: diag(1288, 1, \"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288\", \"An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled.\"),\n          with_statements_are_not_allowed_in_an_async_function_block: diag(1300, 1, \"with_statements_are_not_allowed_in_an_async_function_block_1300\", \"'with' statements are not allowed in an async function block.\"),\n          await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(1308, 1, \"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308\", \"'await' expressions are only allowed within async functions and at the top levels of modules.\"),\n          The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level: diag(1309, 1, \"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309\", \"The current file is a CommonJS module and cannot use 'await' at the top level.\"),\n          Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern: diag(1312, 1, \"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312\", \"Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.\"),\n          The_body_of_an_if_statement_cannot_be_the_empty_statement: diag(1313, 1, \"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313\", \"The body of an 'if' statement cannot be the empty statement.\"),\n          Global_module_exports_may_only_appear_in_module_files: diag(1314, 1, \"Global_module_exports_may_only_appear_in_module_files_1314\", \"Global module exports may only appear in module files.\"),\n          Global_module_exports_may_only_appear_in_declaration_files: diag(1315, 1, \"Global_module_exports_may_only_appear_in_declaration_files_1315\", \"Global module exports may only appear in declaration files.\"),\n          Global_module_exports_may_only_appear_at_top_level: diag(1316, 1, \"Global_module_exports_may_only_appear_at_top_level_1316\", \"Global module exports may only appear at top level.\"),\n          A_parameter_property_cannot_be_declared_using_a_rest_parameter: diag(1317, 1, \"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317\", \"A parameter property cannot be declared using a rest parameter.\"),\n          An_abstract_accessor_cannot_have_an_implementation: diag(1318, 1, \"An_abstract_accessor_cannot_have_an_implementation_1318\", \"An abstract accessor cannot have an implementation.\"),\n          A_default_export_can_only_be_used_in_an_ECMAScript_style_module: diag(1319, 1, \"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319\", \"A default export can only be used in an ECMAScript-style module.\"),\n          Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1320, 1, \"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320\", \"Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.\"),\n          Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1321, 1, \"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321\", \"Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member.\"),\n          Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1322, 1, \"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322\", \"Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member.\"),\n          Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext: diag(1323, 1, \"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323\", \"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.\"),\n          Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext: diag(1324, 1, \"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324\", \"Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'.\"),\n          Argument_of_dynamic_import_cannot_be_spread_element: diag(1325, 1, \"Argument_of_dynamic_import_cannot_be_spread_element_1325\", \"Argument of dynamic import cannot be spread element.\"),\n          This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments: diag(1326, 1, \"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326\", \"This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.\"),\n          String_literal_with_double_quotes_expected: diag(1327, 1, \"String_literal_with_double_quotes_expected_1327\", \"String literal with double quotes expected.\"),\n          Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal: diag(1328, 1, \"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328\", \"Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal.\"),\n          _0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0: diag(1329, 1, \"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329\", \"'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?\"),\n          A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly: diag(1330, 1, \"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330\", \"A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.\"),\n          A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly: diag(1331, 1, \"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331\", \"A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.\"),\n          A_variable_whose_type_is_a_unique_symbol_type_must_be_const: diag(1332, 1, \"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332\", \"A variable whose type is a 'unique symbol' type must be 'const'.\"),\n          unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name: diag(1333, 1, \"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333\", \"'unique symbol' types may not be used on a variable declaration with a binding name.\"),\n          unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement: diag(1334, 1, \"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334\", \"'unique symbol' types are only allowed on variables in a variable statement.\"),\n          unique_symbol_types_are_not_allowed_here: diag(1335, 1, \"unique_symbol_types_are_not_allowed_here_1335\", \"'unique symbol' types are not allowed here.\"),\n          An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead: diag(1337, 1, \"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337\", \"An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead.\"),\n          infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type: diag(1338, 1, \"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338\", \"'infer' declarations are only permitted in the 'extends' clause of a conditional type.\"),\n          Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here: diag(1339, 1, \"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339\", \"Module '{0}' does not refer to a value, but is used as a value here.\"),\n          Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0: diag(1340, 1, \"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340\", \"Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?\"),\n          Class_constructor_may_not_be_an_accessor: diag(1341, 1, \"Class_constructor_may_not_be_an_accessor_1341\", \"Class constructor may not be an accessor.\"),\n          The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext: diag(1343, 1, \"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343\", \"The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.\"),\n          A_label_is_not_allowed_here: diag(1344, 1, \"A_label_is_not_allowed_here_1344\", \"'A label is not allowed here.\"),\n          An_expression_of_type_void_cannot_be_tested_for_truthiness: diag(1345, 1, \"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345\", \"An expression of type 'void' cannot be tested for truthiness.\"),\n          This_parameter_is_not_allowed_with_use_strict_directive: diag(1346, 1, \"This_parameter_is_not_allowed_with_use_strict_directive_1346\", \"This parameter is not allowed with 'use strict' directive.\"),\n          use_strict_directive_cannot_be_used_with_non_simple_parameter_list: diag(1347, 1, \"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347\", \"'use strict' directive cannot be used with non-simple parameter list.\"),\n          Non_simple_parameter_declared_here: diag(1348, 1, \"Non_simple_parameter_declared_here_1348\", \"Non-simple parameter declared here.\"),\n          use_strict_directive_used_here: diag(1349, 1, \"use_strict_directive_used_here_1349\", \"'use strict' directive used here.\"),\n          Print_the_final_configuration_instead_of_building: diag(1350, 3, \"Print_the_final_configuration_instead_of_building_1350\", \"Print the final configuration instead of building.\"),\n          An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal: diag(1351, 1, \"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351\", \"An identifier or keyword cannot immediately follow a numeric literal.\"),\n          A_bigint_literal_cannot_use_exponential_notation: diag(1352, 1, \"A_bigint_literal_cannot_use_exponential_notation_1352\", \"A bigint literal cannot use exponential notation.\"),\n          A_bigint_literal_must_be_an_integer: diag(1353, 1, \"A_bigint_literal_must_be_an_integer_1353\", \"A bigint literal must be an integer.\"),\n          readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types: diag(1354, 1, \"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354\", \"'readonly' type modifier is only permitted on array and tuple literal types.\"),\n          A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals: diag(1355, 1, \"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355\", \"A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.\"),\n          Did_you_mean_to_mark_this_function_as_async: diag(1356, 1, \"Did_you_mean_to_mark_this_function_as_async_1356\", \"Did you mean to mark this function as 'async'?\"),\n          An_enum_member_name_must_be_followed_by_a_or: diag(1357, 1, \"An_enum_member_name_must_be_followed_by_a_or_1357\", \"An enum member name must be followed by a ',', '=', or '}'.\"),\n          Tagged_template_expressions_are_not_permitted_in_an_optional_chain: diag(1358, 1, \"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358\", \"Tagged template expressions are not permitted in an optional chain.\"),\n          Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here: diag(1359, 1, \"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359\", \"Identifier expected. '{0}' is a reserved word that cannot be used here.\"),\n          Type_0_does_not_satisfy_the_expected_type_1: diag(1360, 1, \"Type_0_does_not_satisfy_the_expected_type_1_1360\", \"Type '{0}' does not satisfy the expected type '{1}'.\"),\n          _0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type: diag(1361, 1, \"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361\", \"'{0}' cannot be used as a value because it was imported using 'import type'.\"),\n          _0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type: diag(1362, 1, \"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362\", \"'{0}' cannot be used as a value because it was exported using 'export type'.\"),\n          A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both: diag(1363, 1, \"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363\", \"A type-only import can specify a default import or named bindings, but not both.\"),\n          Convert_to_type_only_export: diag(1364, 3, \"Convert_to_type_only_export_1364\", \"Convert to type-only export\"),\n          Convert_all_re_exported_types_to_type_only_exports: diag(1365, 3, \"Convert_all_re_exported_types_to_type_only_exports_1365\", \"Convert all re-exported types to type-only exports\"),\n          Split_into_two_separate_import_declarations: diag(1366, 3, \"Split_into_two_separate_import_declarations_1366\", \"Split into two separate import declarations\"),\n          Split_all_invalid_type_only_imports: diag(1367, 3, \"Split_all_invalid_type_only_imports_1367\", \"Split all invalid type-only imports\"),\n          Class_constructor_may_not_be_a_generator: diag(1368, 1, \"Class_constructor_may_not_be_a_generator_1368\", \"Class constructor may not be a generator.\"),\n          Did_you_mean_0: diag(1369, 3, \"Did_you_mean_0_1369\", \"Did you mean '{0}'?\"),\n          This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error: diag(1371, 1, \"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371\", \"This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.\"),\n          Convert_to_type_only_import: diag(1373, 3, \"Convert_to_type_only_import_1373\", \"Convert to type-only import\"),\n          Convert_all_imports_not_used_as_a_value_to_type_only_imports: diag(1374, 3, \"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374\", \"Convert all imports not used as a value to type-only imports\"),\n          await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1375, 1, \"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375\", \"'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.\"),\n          _0_was_imported_here: diag(1376, 3, \"_0_was_imported_here_1376\", \"'{0}' was imported here.\"),\n          _0_was_exported_here: diag(1377, 3, \"_0_was_exported_here_1377\", \"'{0}' was exported here.\"),\n          Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher: diag(1378, 1, \"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378\", \"Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.\"),\n          An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type: diag(1379, 1, \"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379\", \"An import alias cannot reference a declaration that was exported using 'export type'.\"),\n          An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type: diag(1380, 1, \"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380\", \"An import alias cannot reference a declaration that was imported using 'import type'.\"),\n          Unexpected_token_Did_you_mean_or_rbrace: diag(1381, 1, \"Unexpected_token_Did_you_mean_or_rbrace_1381\", \"Unexpected token. Did you mean `{'}'}` or `&rbrace;`?\"),\n          Unexpected_token_Did_you_mean_or_gt: diag(1382, 1, \"Unexpected_token_Did_you_mean_or_gt_1382\", \"Unexpected token. Did you mean `{'>'}` or `&gt;`?\"),\n          Function_type_notation_must_be_parenthesized_when_used_in_a_union_type: diag(1385, 1, \"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385\", \"Function type notation must be parenthesized when used in a union type.\"),\n          Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type: diag(1386, 1, \"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386\", \"Constructor type notation must be parenthesized when used in a union type.\"),\n          Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type: diag(1387, 1, \"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387\", \"Function type notation must be parenthesized when used in an intersection type.\"),\n          Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type: diag(1388, 1, \"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388\", \"Constructor type notation must be parenthesized when used in an intersection type.\"),\n          _0_is_not_allowed_as_a_variable_declaration_name: diag(1389, 1, \"_0_is_not_allowed_as_a_variable_declaration_name_1389\", \"'{0}' is not allowed as a variable declaration name.\"),\n          _0_is_not_allowed_as_a_parameter_name: diag(1390, 1, \"_0_is_not_allowed_as_a_parameter_name_1390\", \"'{0}' is not allowed as a parameter name.\"),\n          An_import_alias_cannot_use_import_type: diag(1392, 1, \"An_import_alias_cannot_use_import_type_1392\", \"An import alias cannot use 'import type'\"),\n          Imported_via_0_from_file_1: diag(1393, 3, \"Imported_via_0_from_file_1_1393\", \"Imported via {0} from file '{1}'\"),\n          Imported_via_0_from_file_1_with_packageId_2: diag(1394, 3, \"Imported_via_0_from_file_1_with_packageId_2_1394\", \"Imported via {0} from file '{1}' with packageId '{2}'\"),\n          Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions: diag(1395, 3, \"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395\", \"Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions\"),\n          Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions: diag(1396, 3, \"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396\", \"Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions\"),\n          Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions: diag(1397, 3, \"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397\", \"Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions\"),\n          Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions: diag(1398, 3, \"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398\", \"Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions\"),\n          File_is_included_via_import_here: diag(1399, 3, \"File_is_included_via_import_here_1399\", \"File is included via import here.\"),\n          Referenced_via_0_from_file_1: diag(1400, 3, \"Referenced_via_0_from_file_1_1400\", \"Referenced via '{0}' from file '{1}'\"),\n          File_is_included_via_reference_here: diag(1401, 3, \"File_is_included_via_reference_here_1401\", \"File is included via reference here.\"),\n          Type_library_referenced_via_0_from_file_1: diag(1402, 3, \"Type_library_referenced_via_0_from_file_1_1402\", \"Type library referenced via '{0}' from file '{1}'\"),\n          Type_library_referenced_via_0_from_file_1_with_packageId_2: diag(1403, 3, \"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403\", \"Type library referenced via '{0}' from file '{1}' with packageId '{2}'\"),\n          File_is_included_via_type_library_reference_here: diag(1404, 3, \"File_is_included_via_type_library_reference_here_1404\", \"File is included via type library reference here.\"),\n          Library_referenced_via_0_from_file_1: diag(1405, 3, \"Library_referenced_via_0_from_file_1_1405\", \"Library referenced via '{0}' from file '{1}'\"),\n          File_is_included_via_library_reference_here: diag(1406, 3, \"File_is_included_via_library_reference_here_1406\", \"File is included via library reference here.\"),\n          Matched_by_include_pattern_0_in_1: diag(1407, 3, \"Matched_by_include_pattern_0_in_1_1407\", \"Matched by include pattern '{0}' in '{1}'\"),\n          File_is_matched_by_include_pattern_specified_here: diag(1408, 3, \"File_is_matched_by_include_pattern_specified_here_1408\", \"File is matched by include pattern specified here.\"),\n          Part_of_files_list_in_tsconfig_json: diag(1409, 3, \"Part_of_files_list_in_tsconfig_json_1409\", \"Part of 'files' list in tsconfig.json\"),\n          File_is_matched_by_files_list_specified_here: diag(1410, 3, \"File_is_matched_by_files_list_specified_here_1410\", \"File is matched by 'files' list specified here.\"),\n          Output_from_referenced_project_0_included_because_1_specified: diag(1411, 3, \"Output_from_referenced_project_0_included_because_1_specified_1411\", \"Output from referenced project '{0}' included because '{1}' specified\"),\n          Output_from_referenced_project_0_included_because_module_is_specified_as_none: diag(1412, 3, \"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412\", \"Output from referenced project '{0}' included because '--module' is specified as 'none'\"),\n          File_is_output_from_referenced_project_specified_here: diag(1413, 3, \"File_is_output_from_referenced_project_specified_here_1413\", \"File is output from referenced project specified here.\"),\n          Source_from_referenced_project_0_included_because_1_specified: diag(1414, 3, \"Source_from_referenced_project_0_included_because_1_specified_1414\", \"Source from referenced project '{0}' included because '{1}' specified\"),\n          Source_from_referenced_project_0_included_because_module_is_specified_as_none: diag(1415, 3, \"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415\", \"Source from referenced project '{0}' included because '--module' is specified as 'none'\"),\n          File_is_source_from_referenced_project_specified_here: diag(1416, 3, \"File_is_source_from_referenced_project_specified_here_1416\", \"File is source from referenced project specified here.\"),\n          Entry_point_of_type_library_0_specified_in_compilerOptions: diag(1417, 3, \"Entry_point_of_type_library_0_specified_in_compilerOptions_1417\", \"Entry point of type library '{0}' specified in compilerOptions\"),\n          Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1: diag(1418, 3, \"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418\", \"Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'\"),\n          File_is_entry_point_of_type_library_specified_here: diag(1419, 3, \"File_is_entry_point_of_type_library_specified_here_1419\", \"File is entry point of type library specified here.\"),\n          Entry_point_for_implicit_type_library_0: diag(1420, 3, \"Entry_point_for_implicit_type_library_0_1420\", \"Entry point for implicit type library '{0}'\"),\n          Entry_point_for_implicit_type_library_0_with_packageId_1: diag(1421, 3, \"Entry_point_for_implicit_type_library_0_with_packageId_1_1421\", \"Entry point for implicit type library '{0}' with packageId '{1}'\"),\n          Library_0_specified_in_compilerOptions: diag(1422, 3, \"Library_0_specified_in_compilerOptions_1422\", \"Library '{0}' specified in compilerOptions\"),\n          File_is_library_specified_here: diag(1423, 3, \"File_is_library_specified_here_1423\", \"File is library specified here.\"),\n          Default_library: diag(1424, 3, \"Default_library_1424\", \"Default library\"),\n          Default_library_for_target_0: diag(1425, 3, \"Default_library_for_target_0_1425\", \"Default library for target '{0}'\"),\n          File_is_default_library_for_target_specified_here: diag(1426, 3, \"File_is_default_library_for_target_specified_here_1426\", \"File is default library for target specified here.\"),\n          Root_file_specified_for_compilation: diag(1427, 3, \"Root_file_specified_for_compilation_1427\", \"Root file specified for compilation\"),\n          File_is_output_of_project_reference_source_0: diag(1428, 3, \"File_is_output_of_project_reference_source_0_1428\", \"File is output of project reference source '{0}'\"),\n          File_redirects_to_file_0: diag(1429, 3, \"File_redirects_to_file_0_1429\", \"File redirects to file '{0}'\"),\n          The_file_is_in_the_program_because_Colon: diag(1430, 3, \"The_file_is_in_the_program_because_Colon_1430\", \"The file is in the program because:\"),\n          for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1431, 1, \"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431\", \"'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.\"),\n          Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher: diag(1432, 1, \"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432\", \"Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.\"),\n          Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters: diag(1433, 1, \"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433\", \"Neither decorators nor modifiers may be applied to 'this' parameters.\"),\n          Unexpected_keyword_or_identifier: diag(1434, 1, \"Unexpected_keyword_or_identifier_1434\", \"Unexpected keyword or identifier.\"),\n          Unknown_keyword_or_identifier_Did_you_mean_0: diag(1435, 1, \"Unknown_keyword_or_identifier_Did_you_mean_0_1435\", \"Unknown keyword or identifier. Did you mean '{0}'?\"),\n          Decorators_must_precede_the_name_and_all_keywords_of_property_declarations: diag(1436, 1, \"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436\", \"Decorators must precede the name and all keywords of property declarations.\"),\n          Namespace_must_be_given_a_name: diag(1437, 1, \"Namespace_must_be_given_a_name_1437\", \"Namespace must be given a name.\"),\n          Interface_must_be_given_a_name: diag(1438, 1, \"Interface_must_be_given_a_name_1438\", \"Interface must be given a name.\"),\n          Type_alias_must_be_given_a_name: diag(1439, 1, \"Type_alias_must_be_given_a_name_1439\", \"Type alias must be given a name.\"),\n          Variable_declaration_not_allowed_at_this_location: diag(1440, 1, \"Variable_declaration_not_allowed_at_this_location_1440\", \"Variable declaration not allowed at this location.\"),\n          Cannot_start_a_function_call_in_a_type_annotation: diag(1441, 1, \"Cannot_start_a_function_call_in_a_type_annotation_1441\", \"Cannot start a function call in a type annotation.\"),\n          Expected_for_property_initializer: diag(1442, 1, \"Expected_for_property_initializer_1442\", \"Expected '=' for property initializer.\"),\n          Module_declaration_names_may_only_use_or_quoted_strings: diag(1443, 1, \"Module_declaration_names_may_only_use_or_quoted_strings_1443\", `Module declaration names may only use ' or \" quoted strings.`),\n          _0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled: diag(1444, 1, \"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444\", \"'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.\"),\n          _0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled: diag(1446, 1, \"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446\", \"'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.\"),\n          _0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled: diag(1448, 1, \"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448\", \"'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled.\"),\n          Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed: diag(1449, 3, \"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449\", \"Preserve unused imported values in the JavaScript output that would otherwise be removed.\"),\n          Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments: diag(1450, 3, \"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450\", \"Dynamic imports can only accept a module specifier and an optional assertion as arguments\"),\n          Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression: diag(1451, 1, \"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451\", \"Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression\"),\n          resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext: diag(1452, 1, \"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452\", \"'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.\"),\n          resolution_mode_should_be_either_require_or_import: diag(1453, 1, \"resolution_mode_should_be_either_require_or_import_1453\", \"`resolution-mode` should be either `require` or `import`.\"),\n          resolution_mode_can_only_be_set_for_type_only_imports: diag(1454, 1, \"resolution_mode_can_only_be_set_for_type_only_imports_1454\", \"`resolution-mode` can only be set for type-only imports.\"),\n          resolution_mode_is_the_only_valid_key_for_type_import_assertions: diag(1455, 1, \"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455\", \"`resolution-mode` is the only valid key for type import assertions.\"),\n          Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require: diag(1456, 1, \"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456\", \"Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`.\"),\n          Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk: diag(1457, 3, \"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457\", \"Matched by default include pattern '**/*'\"),\n          File_is_ECMAScript_module_because_0_has_field_type_with_value_module: diag(1458, 3, \"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458\", `File is ECMAScript module because '{0}' has field \"type\" with value \"module\"`),\n          File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module: diag(1459, 3, \"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459\", `File is CommonJS module because '{0}' has field \"type\" whose value is not \"module\"`),\n          File_is_CommonJS_module_because_0_does_not_have_field_type: diag(1460, 3, \"File_is_CommonJS_module_because_0_does_not_have_field_type_1460\", `File is CommonJS module because '{0}' does not have field \"type\"`),\n          File_is_CommonJS_module_because_package_json_was_not_found: diag(1461, 3, \"File_is_CommonJS_module_because_package_json_was_not_found_1461\", \"File is CommonJS module because 'package.json' was not found\"),\n          The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output: diag(1470, 1, \"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470\", \"The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.\"),\n          Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead: diag(1471, 1, \"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471\", \"Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead.\"),\n          catch_or_finally_expected: diag(1472, 1, \"catch_or_finally_expected_1472\", \"'catch' or 'finally' expected.\"),\n          An_import_declaration_can_only_be_used_at_the_top_level_of_a_module: diag(1473, 1, \"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473\", \"An import declaration can only be used at the top level of a module.\"),\n          An_export_declaration_can_only_be_used_at_the_top_level_of_a_module: diag(1474, 1, \"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474\", \"An export declaration can only be used at the top level of a module.\"),\n          Control_what_method_is_used_to_detect_module_format_JS_files: diag(1475, 3, \"Control_what_method_is_used_to_detect_module_format_JS_files_1475\", \"Control what method is used to detect module-format JS files.\"),\n          auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules: diag(1476, 3, \"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476\", '\"auto\": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),\n          An_instantiation_expression_cannot_be_followed_by_a_property_access: diag(1477, 1, \"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477\", \"An instantiation expression cannot be followed by a property access.\"),\n          Identifier_or_string_literal_expected: diag(1478, 1, \"Identifier_or_string_literal_expected_1478\", \"Identifier or string literal expected.\"),\n          The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead: diag(1479, 1, \"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479\", `The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead.`),\n          To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module: diag(1480, 3, \"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480\", 'To convert this file to an ECMAScript module, change its file extension to \\'{0}\\' or create a local package.json file with `{ \"type\": \"module\" }`.'),\n          To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1: diag(1481, 3, \"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481\", `To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \\`\"type\": \"module\"\\` to '{1}'.`),\n          To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0: diag(1482, 3, \"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482\", 'To convert this file to an ECMAScript module, add the field `\"type\": \"module\"` to \\'{0}\\'.'),\n          To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module: diag(1483, 3, \"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483\", 'To convert this file to an ECMAScript module, create a local package.json file with `{ \"type\": \"module\" }`.'),\n          _0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled: diag(1484, 1, \"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484\", \"'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.\"),\n          _0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled: diag(1485, 1, \"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485\", \"'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.\"),\n          Decorator_used_before_export_here: diag(1486, 1, \"Decorator_used_before_export_here_1486\", \"Decorator used before 'export' here.\"),\n          The_types_of_0_are_incompatible_between_these_types: diag(2200, 1, \"The_types_of_0_are_incompatible_between_these_types_2200\", \"The types of '{0}' are incompatible between these types.\"),\n          The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1, \"The_types_returned_by_0_are_incompatible_between_these_types_2201\", \"The types returned by '{0}' are incompatible between these types.\"),\n          Call_signature_return_types_0_and_1_are_incompatible: diag(\n            2202,\n            1,\n            \"Call_signature_return_types_0_and_1_are_incompatible_2202\",\n            \"Call signature return types '{0}' and '{1}' are incompatible.\",\n            /*reportsUnnecessary*/\n            void 0,\n            /*elidedInCompatabilityPyramid*/\n            true\n          ),\n          Construct_signature_return_types_0_and_1_are_incompatible: diag(\n            2203,\n            1,\n            \"Construct_signature_return_types_0_and_1_are_incompatible_2203\",\n            \"Construct signature return types '{0}' and '{1}' are incompatible.\",\n            /*reportsUnnecessary*/\n            void 0,\n            /*elidedInCompatabilityPyramid*/\n            true\n          ),\n          Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag(\n            2204,\n            1,\n            \"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204\",\n            \"Call signatures with no arguments have incompatible return types '{0}' and '{1}'.\",\n            /*reportsUnnecessary*/\n            void 0,\n            /*elidedInCompatabilityPyramid*/\n            true\n          ),\n          Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag(\n            2205,\n            1,\n            \"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205\",\n            \"Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.\",\n            /*reportsUnnecessary*/\n            void 0,\n            /*elidedInCompatabilityPyramid*/\n            true\n          ),\n          The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement: diag(2206, 1, \"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206\", \"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.\"),\n          The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement: diag(2207, 1, \"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207\", \"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.\"),\n          This_type_parameter_might_need_an_extends_0_constraint: diag(2208, 1, \"This_type_parameter_might_need_an_extends_0_constraint_2208\", \"This type parameter might need an `extends {0}` constraint.\"),\n          The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: diag(2209, 1, \"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209\", \"The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate.\"),\n          The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: diag(2210, 1, \"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210\", \"The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate.\"),\n          Add_extends_constraint: diag(2211, 3, \"Add_extends_constraint_2211\", \"Add `extends` constraint.\"),\n          Add_extends_constraint_to_all_type_parameters: diag(2212, 3, \"Add_extends_constraint_to_all_type_parameters_2212\", \"Add `extends` constraint to all type parameters\"),\n          Duplicate_identifier_0: diag(2300, 1, \"Duplicate_identifier_0_2300\", \"Duplicate identifier '{0}'.\"),\n          Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2301, 1, \"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301\", \"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.\"),\n          Static_members_cannot_reference_class_type_parameters: diag(2302, 1, \"Static_members_cannot_reference_class_type_parameters_2302\", \"Static members cannot reference class type parameters.\"),\n          Circular_definition_of_import_alias_0: diag(2303, 1, \"Circular_definition_of_import_alias_0_2303\", \"Circular definition of import alias '{0}'.\"),\n          Cannot_find_name_0: diag(2304, 1, \"Cannot_find_name_0_2304\", \"Cannot find name '{0}'.\"),\n          Module_0_has_no_exported_member_1: diag(2305, 1, \"Module_0_has_no_exported_member_1_2305\", \"Module '{0}' has no exported member '{1}'.\"),\n          File_0_is_not_a_module: diag(2306, 1, \"File_0_is_not_a_module_2306\", \"File '{0}' is not a module.\"),\n          Cannot_find_module_0_or_its_corresponding_type_declarations: diag(2307, 1, \"Cannot_find_module_0_or_its_corresponding_type_declarations_2307\", \"Cannot find module '{0}' or its corresponding type declarations.\"),\n          Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: diag(2308, 1, \"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308\", \"Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity.\"),\n          An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements: diag(2309, 1, \"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309\", \"An export assignment cannot be used in a module with other exported elements.\"),\n          Type_0_recursively_references_itself_as_a_base_type: diag(2310, 1, \"Type_0_recursively_references_itself_as_a_base_type_2310\", \"Type '{0}' recursively references itself as a base type.\"),\n          Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function: diag(2311, 1, \"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311\", \"Cannot find name '{0}'. Did you mean to write this in an async function?\"),\n          An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2312, 1, \"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312\", \"An interface can only extend an object type or intersection of object types with statically known members.\"),\n          Type_parameter_0_has_a_circular_constraint: diag(2313, 1, \"Type_parameter_0_has_a_circular_constraint_2313\", \"Type parameter '{0}' has a circular constraint.\"),\n          Generic_type_0_requires_1_type_argument_s: diag(2314, 1, \"Generic_type_0_requires_1_type_argument_s_2314\", \"Generic type '{0}' requires {1} type argument(s).\"),\n          Type_0_is_not_generic: diag(2315, 1, \"Type_0_is_not_generic_2315\", \"Type '{0}' is not generic.\"),\n          Global_type_0_must_be_a_class_or_interface_type: diag(2316, 1, \"Global_type_0_must_be_a_class_or_interface_type_2316\", \"Global type '{0}' must be a class or interface type.\"),\n          Global_type_0_must_have_1_type_parameter_s: diag(2317, 1, \"Global_type_0_must_have_1_type_parameter_s_2317\", \"Global type '{0}' must have {1} type parameter(s).\"),\n          Cannot_find_global_type_0: diag(2318, 1, \"Cannot_find_global_type_0_2318\", \"Cannot find global type '{0}'.\"),\n          Named_property_0_of_types_1_and_2_are_not_identical: diag(2319, 1, \"Named_property_0_of_types_1_and_2_are_not_identical_2319\", \"Named property '{0}' of types '{1}' and '{2}' are not identical.\"),\n          Interface_0_cannot_simultaneously_extend_types_1_and_2: diag(2320, 1, \"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320\", \"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.\"),\n          Excessive_stack_depth_comparing_types_0_and_1: diag(2321, 1, \"Excessive_stack_depth_comparing_types_0_and_1_2321\", \"Excessive stack depth comparing types '{0}' and '{1}'.\"),\n          Type_0_is_not_assignable_to_type_1: diag(2322, 1, \"Type_0_is_not_assignable_to_type_1_2322\", \"Type '{0}' is not assignable to type '{1}'.\"),\n          Cannot_redeclare_exported_variable_0: diag(2323, 1, \"Cannot_redeclare_exported_variable_0_2323\", \"Cannot redeclare exported variable '{0}'.\"),\n          Property_0_is_missing_in_type_1: diag(2324, 1, \"Property_0_is_missing_in_type_1_2324\", \"Property '{0}' is missing in type '{1}'.\"),\n          Property_0_is_private_in_type_1_but_not_in_type_2: diag(2325, 1, \"Property_0_is_private_in_type_1_but_not_in_type_2_2325\", \"Property '{0}' is private in type '{1}' but not in type '{2}'.\"),\n          Types_of_property_0_are_incompatible: diag(2326, 1, \"Types_of_property_0_are_incompatible_2326\", \"Types of property '{0}' are incompatible.\"),\n          Property_0_is_optional_in_type_1_but_required_in_type_2: diag(2327, 1, \"Property_0_is_optional_in_type_1_but_required_in_type_2_2327\", \"Property '{0}' is optional in type '{1}' but required in type '{2}'.\"),\n          Types_of_parameters_0_and_1_are_incompatible: diag(2328, 1, \"Types_of_parameters_0_and_1_are_incompatible_2328\", \"Types of parameters '{0}' and '{1}' are incompatible.\"),\n          Index_signature_for_type_0_is_missing_in_type_1: diag(2329, 1, \"Index_signature_for_type_0_is_missing_in_type_1_2329\", \"Index signature for type '{0}' is missing in type '{1}'.\"),\n          _0_and_1_index_signatures_are_incompatible: diag(2330, 1, \"_0_and_1_index_signatures_are_incompatible_2330\", \"'{0}' and '{1}' index signatures are incompatible.\"),\n          this_cannot_be_referenced_in_a_module_or_namespace_body: diag(2331, 1, \"this_cannot_be_referenced_in_a_module_or_namespace_body_2331\", \"'this' cannot be referenced in a module or namespace body.\"),\n          this_cannot_be_referenced_in_current_location: diag(2332, 1, \"this_cannot_be_referenced_in_current_location_2332\", \"'this' cannot be referenced in current location.\"),\n          this_cannot_be_referenced_in_constructor_arguments: diag(2333, 1, \"this_cannot_be_referenced_in_constructor_arguments_2333\", \"'this' cannot be referenced in constructor arguments.\"),\n          this_cannot_be_referenced_in_a_static_property_initializer: diag(2334, 1, \"this_cannot_be_referenced_in_a_static_property_initializer_2334\", \"'this' cannot be referenced in a static property initializer.\"),\n          super_can_only_be_referenced_in_a_derived_class: diag(2335, 1, \"super_can_only_be_referenced_in_a_derived_class_2335\", \"'super' can only be referenced in a derived class.\"),\n          super_cannot_be_referenced_in_constructor_arguments: diag(2336, 1, \"super_cannot_be_referenced_in_constructor_arguments_2336\", \"'super' cannot be referenced in constructor arguments.\"),\n          Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: diag(2337, 1, \"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337\", \"Super calls are not permitted outside constructors or in nested functions inside constructors.\"),\n          super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: diag(2338, 1, \"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338\", \"'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.\"),\n          Property_0_does_not_exist_on_type_1: diag(2339, 1, \"Property_0_does_not_exist_on_type_1_2339\", \"Property '{0}' does not exist on type '{1}'.\"),\n          Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: diag(2340, 1, \"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340\", \"Only public and protected methods of the base class are accessible via the 'super' keyword.\"),\n          Property_0_is_private_and_only_accessible_within_class_1: diag(2341, 1, \"Property_0_is_private_and_only_accessible_within_class_1_2341\", \"Property '{0}' is private and only accessible within class '{1}'.\"),\n          This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0: diag(2343, 1, \"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343\", \"This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'.\"),\n          Type_0_does_not_satisfy_the_constraint_1: diag(2344, 1, \"Type_0_does_not_satisfy_the_constraint_1_2344\", \"Type '{0}' does not satisfy the constraint '{1}'.\"),\n          Argument_of_type_0_is_not_assignable_to_parameter_of_type_1: diag(2345, 1, \"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345\", \"Argument of type '{0}' is not assignable to parameter of type '{1}'.\"),\n          Call_target_does_not_contain_any_signatures: diag(2346, 1, \"Call_target_does_not_contain_any_signatures_2346\", \"Call target does not contain any signatures.\"),\n          Untyped_function_calls_may_not_accept_type_arguments: diag(2347, 1, \"Untyped_function_calls_may_not_accept_type_arguments_2347\", \"Untyped function calls may not accept type arguments.\"),\n          Value_of_type_0_is_not_callable_Did_you_mean_to_include_new: diag(2348, 1, \"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348\", \"Value of type '{0}' is not callable. Did you mean to include 'new'?\"),\n          This_expression_is_not_callable: diag(2349, 1, \"This_expression_is_not_callable_2349\", \"This expression is not callable.\"),\n          Only_a_void_function_can_be_called_with_the_new_keyword: diag(2350, 1, \"Only_a_void_function_can_be_called_with_the_new_keyword_2350\", \"Only a void function can be called with the 'new' keyword.\"),\n          This_expression_is_not_constructable: diag(2351, 1, \"This_expression_is_not_constructable_2351\", \"This expression is not constructable.\"),\n          Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first: diag(2352, 1, \"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352\", \"Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.\"),\n          Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1: diag(2353, 1, \"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353\", \"Object literal may only specify known properties, and '{0}' does not exist in type '{1}'.\"),\n          This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found: diag(2354, 1, \"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354\", \"This syntax requires an imported helper but module '{0}' cannot be found.\"),\n          A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value: diag(2355, 1, \"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355\", \"A function whose declared type is neither 'void' nor 'any' must return a value.\"),\n          An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2356, 1, \"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356\", \"An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.\"),\n          The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access: diag(2357, 1, \"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357\", \"The operand of an increment or decrement operator must be a variable or a property access.\"),\n          The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: diag(2358, 1, \"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358\", \"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\"),\n          The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type: diag(2359, 1, \"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359\", \"The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.\"),\n          The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2362, 1, \"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362\", \"The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.\"),\n          The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2363, 1, \"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363\", \"The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.\"),\n          The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: diag(2364, 1, \"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364\", \"The left-hand side of an assignment expression must be a variable or a property access.\"),\n          Operator_0_cannot_be_applied_to_types_1_and_2: diag(2365, 1, \"Operator_0_cannot_be_applied_to_types_1_and_2_2365\", \"Operator '{0}' cannot be applied to types '{1}' and '{2}'.\"),\n          Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: diag(2366, 1, \"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366\", \"Function lacks ending return statement and return type does not include 'undefined'.\"),\n          This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap: diag(2367, 1, \"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367\", \"This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.\"),\n          Type_parameter_name_cannot_be_0: diag(2368, 1, \"Type_parameter_name_cannot_be_0_2368\", \"Type parameter name cannot be '{0}'.\"),\n          A_parameter_property_is_only_allowed_in_a_constructor_implementation: diag(2369, 1, \"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369\", \"A parameter property is only allowed in a constructor implementation.\"),\n          A_rest_parameter_must_be_of_an_array_type: diag(2370, 1, \"A_rest_parameter_must_be_of_an_array_type_2370\", \"A rest parameter must be of an array type.\"),\n          A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation: diag(2371, 1, \"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371\", \"A parameter initializer is only allowed in a function or constructor implementation.\"),\n          Parameter_0_cannot_reference_itself: diag(2372, 1, \"Parameter_0_cannot_reference_itself_2372\", \"Parameter '{0}' cannot reference itself.\"),\n          Parameter_0_cannot_reference_identifier_1_declared_after_it: diag(2373, 1, \"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373\", \"Parameter '{0}' cannot reference identifier '{1}' declared after it.\"),\n          Duplicate_index_signature_for_type_0: diag(2374, 1, \"Duplicate_index_signature_for_type_0_2374\", \"Duplicate index signature for type '{0}'.\"),\n          Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: diag(2375, 1, \"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375\", \"Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.\"),\n          A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2376, 1, \"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376\", \"A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers.\"),\n          Constructors_for_derived_classes_must_contain_a_super_call: diag(2377, 1, \"Constructors_for_derived_classes_must_contain_a_super_call_2377\", \"Constructors for derived classes must contain a 'super' call.\"),\n          A_get_accessor_must_return_a_value: diag(2378, 1, \"A_get_accessor_must_return_a_value_2378\", \"A 'get' accessor must return a value.\"),\n          Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: diag(2379, 1, \"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379\", \"Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.\"),\n          The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type: diag(2380, 1, \"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380\", \"The return type of a 'get' accessor must be assignable to its 'set' accessor type\"),\n          Overload_signatures_must_all_be_exported_or_non_exported: diag(2383, 1, \"Overload_signatures_must_all_be_exported_or_non_exported_2383\", \"Overload signatures must all be exported or non-exported.\"),\n          Overload_signatures_must_all_be_ambient_or_non_ambient: diag(2384, 1, \"Overload_signatures_must_all_be_ambient_or_non_ambient_2384\", \"Overload signatures must all be ambient or non-ambient.\"),\n          Overload_signatures_must_all_be_public_private_or_protected: diag(2385, 1, \"Overload_signatures_must_all_be_public_private_or_protected_2385\", \"Overload signatures must all be public, private or protected.\"),\n          Overload_signatures_must_all_be_optional_or_required: diag(2386, 1, \"Overload_signatures_must_all_be_optional_or_required_2386\", \"Overload signatures must all be optional or required.\"),\n          Function_overload_must_be_static: diag(2387, 1, \"Function_overload_must_be_static_2387\", \"Function overload must be static.\"),\n          Function_overload_must_not_be_static: diag(2388, 1, \"Function_overload_must_not_be_static_2388\", \"Function overload must not be static.\"),\n          Function_implementation_name_must_be_0: diag(2389, 1, \"Function_implementation_name_must_be_0_2389\", \"Function implementation name must be '{0}'.\"),\n          Constructor_implementation_is_missing: diag(2390, 1, \"Constructor_implementation_is_missing_2390\", \"Constructor implementation is missing.\"),\n          Function_implementation_is_missing_or_not_immediately_following_the_declaration: diag(2391, 1, \"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391\", \"Function implementation is missing or not immediately following the declaration.\"),\n          Multiple_constructor_implementations_are_not_allowed: diag(2392, 1, \"Multiple_constructor_implementations_are_not_allowed_2392\", \"Multiple constructor implementations are not allowed.\"),\n          Duplicate_function_implementation: diag(2393, 1, \"Duplicate_function_implementation_2393\", \"Duplicate function implementation.\"),\n          This_overload_signature_is_not_compatible_with_its_implementation_signature: diag(2394, 1, \"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394\", \"This overload signature is not compatible with its implementation signature.\"),\n          Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local: diag(2395, 1, \"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395\", \"Individual declarations in merged declaration '{0}' must be all exported or all local.\"),\n          Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters: diag(2396, 1, \"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396\", \"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.\"),\n          Declaration_name_conflicts_with_built_in_global_identifier_0: diag(2397, 1, \"Declaration_name_conflicts_with_built_in_global_identifier_0_2397\", \"Declaration name conflicts with built-in global identifier '{0}'.\"),\n          constructor_cannot_be_used_as_a_parameter_property_name: diag(2398, 1, \"constructor_cannot_be_used_as_a_parameter_property_name_2398\", \"'constructor' cannot be used as a parameter property name.\"),\n          Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference: diag(2399, 1, \"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399\", \"Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.\"),\n          Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference: diag(2400, 1, \"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400\", \"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.\"),\n          A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2401, 1, \"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401\", \"A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers.\"),\n          Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference: diag(2402, 1, \"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402\", \"Expression resolves to '_super' that compiler uses to capture base class reference.\"),\n          Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2: diag(2403, 1, \"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403\", \"Subsequent variable declarations must have the same type.  Variable '{0}' must be of type '{1}', but here has type '{2}'.\"),\n          The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation: diag(2404, 1, \"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404\", \"The left-hand side of a 'for...in' statement cannot use a type annotation.\"),\n          The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any: diag(2405, 1, \"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405\", \"The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.\"),\n          The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access: diag(2406, 1, \"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406\", \"The left-hand side of a 'for...in' statement must be a variable or a property access.\"),\n          The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0: diag(2407, 1, \"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407\", \"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'.\"),\n          Setters_cannot_return_a_value: diag(2408, 1, \"Setters_cannot_return_a_value_2408\", \"Setters cannot return a value.\"),\n          Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class: diag(2409, 1, \"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409\", \"Return type of constructor signature must be assignable to the instance type of the class.\"),\n          The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any: diag(2410, 1, \"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410\", \"The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.\"),\n          Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target: diag(2412, 1, \"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412\", \"Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.\"),\n          Property_0_of_type_1_is_not_assignable_to_2_index_type_3: diag(2411, 1, \"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411\", \"Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'.\"),\n          _0_index_type_1_is_not_assignable_to_2_index_type_3: diag(2413, 1, \"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413\", \"'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'.\"),\n          Class_name_cannot_be_0: diag(2414, 1, \"Class_name_cannot_be_0_2414\", \"Class name cannot be '{0}'.\"),\n          Class_0_incorrectly_extends_base_class_1: diag(2415, 1, \"Class_0_incorrectly_extends_base_class_1_2415\", \"Class '{0}' incorrectly extends base class '{1}'.\"),\n          Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2: diag(2416, 1, \"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416\", \"Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.\"),\n          Class_static_side_0_incorrectly_extends_base_class_static_side_1: diag(2417, 1, \"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417\", \"Class static side '{0}' incorrectly extends base class static side '{1}'.\"),\n          Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1: diag(2418, 1, \"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418\", \"Type of computed property's value is '{0}', which is not assignable to type '{1}'.\"),\n          Types_of_construct_signatures_are_incompatible: diag(2419, 1, \"Types_of_construct_signatures_are_incompatible_2419\", \"Types of construct signatures are incompatible.\"),\n          Class_0_incorrectly_implements_interface_1: diag(2420, 1, \"Class_0_incorrectly_implements_interface_1_2420\", \"Class '{0}' incorrectly implements interface '{1}'.\"),\n          A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2422, 1, \"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422\", \"A class can only implement an object type or intersection of object types with statically known members.\"),\n          Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor: diag(2423, 1, \"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423\", \"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.\"),\n          Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function: diag(2425, 1, \"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425\", \"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.\"),\n          Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function: diag(2426, 1, \"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426\", \"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.\"),\n          Interface_name_cannot_be_0: diag(2427, 1, \"Interface_name_cannot_be_0_2427\", \"Interface name cannot be '{0}'.\"),\n          All_declarations_of_0_must_have_identical_type_parameters: diag(2428, 1, \"All_declarations_of_0_must_have_identical_type_parameters_2428\", \"All declarations of '{0}' must have identical type parameters.\"),\n          Interface_0_incorrectly_extends_interface_1: diag(2430, 1, \"Interface_0_incorrectly_extends_interface_1_2430\", \"Interface '{0}' incorrectly extends interface '{1}'.\"),\n          Enum_name_cannot_be_0: diag(2431, 1, \"Enum_name_cannot_be_0_2431\", \"Enum name cannot be '{0}'.\"),\n          In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element: diag(2432, 1, \"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432\", \"In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.\"),\n          A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged: diag(2433, 1, \"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433\", \"A namespace declaration cannot be in a different file from a class or function with which it is merged.\"),\n          A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged: diag(2434, 1, \"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434\", \"A namespace declaration cannot be located prior to a class or function with which it is merged.\"),\n          Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces: diag(2435, 1, \"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435\", \"Ambient modules cannot be nested in other modules or namespaces.\"),\n          Ambient_module_declaration_cannot_specify_relative_module_name: diag(2436, 1, \"Ambient_module_declaration_cannot_specify_relative_module_name_2436\", \"Ambient module declaration cannot specify relative module name.\"),\n          Module_0_is_hidden_by_a_local_declaration_with_the_same_name: diag(2437, 1, \"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437\", \"Module '{0}' is hidden by a local declaration with the same name.\"),\n          Import_name_cannot_be_0: diag(2438, 1, \"Import_name_cannot_be_0_2438\", \"Import name cannot be '{0}'.\"),\n          Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name: diag(2439, 1, \"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439\", \"Import or export declaration in an ambient module declaration cannot reference module through relative module name.\"),\n          Import_declaration_conflicts_with_local_declaration_of_0: diag(2440, 1, \"Import_declaration_conflicts_with_local_declaration_of_0_2440\", \"Import declaration conflicts with local declaration of '{0}'.\"),\n          Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module: diag(2441, 1, \"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441\", \"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module.\"),\n          Types_have_separate_declarations_of_a_private_property_0: diag(2442, 1, \"Types_have_separate_declarations_of_a_private_property_0_2442\", \"Types have separate declarations of a private property '{0}'.\"),\n          Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: diag(2443, 1, \"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443\", \"Property '{0}' is protected but type '{1}' is not a class derived from '{2}'.\"),\n          Property_0_is_protected_in_type_1_but_public_in_type_2: diag(2444, 1, \"Property_0_is_protected_in_type_1_but_public_in_type_2_2444\", \"Property '{0}' is protected in type '{1}' but public in type '{2}'.\"),\n          Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses: diag(2445, 1, \"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445\", \"Property '{0}' is protected and only accessible within class '{1}' and its subclasses.\"),\n          Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2: diag(2446, 1, \"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446\", \"Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'.\"),\n          The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: diag(2447, 1, \"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447\", \"The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead.\"),\n          Block_scoped_variable_0_used_before_its_declaration: diag(2448, 1, \"Block_scoped_variable_0_used_before_its_declaration_2448\", \"Block-scoped variable '{0}' used before its declaration.\"),\n          Class_0_used_before_its_declaration: diag(2449, 1, \"Class_0_used_before_its_declaration_2449\", \"Class '{0}' used before its declaration.\"),\n          Enum_0_used_before_its_declaration: diag(2450, 1, \"Enum_0_used_before_its_declaration_2450\", \"Enum '{0}' used before its declaration.\"),\n          Cannot_redeclare_block_scoped_variable_0: diag(2451, 1, \"Cannot_redeclare_block_scoped_variable_0_2451\", \"Cannot redeclare block-scoped variable '{0}'.\"),\n          An_enum_member_cannot_have_a_numeric_name: diag(2452, 1, \"An_enum_member_cannot_have_a_numeric_name_2452\", \"An enum member cannot have a numeric name.\"),\n          Variable_0_is_used_before_being_assigned: diag(2454, 1, \"Variable_0_is_used_before_being_assigned_2454\", \"Variable '{0}' is used before being assigned.\"),\n          Type_alias_0_circularly_references_itself: diag(2456, 1, \"Type_alias_0_circularly_references_itself_2456\", \"Type alias '{0}' circularly references itself.\"),\n          Type_alias_name_cannot_be_0: diag(2457, 1, \"Type_alias_name_cannot_be_0_2457\", \"Type alias name cannot be '{0}'.\"),\n          An_AMD_module_cannot_have_multiple_name_assignments: diag(2458, 1, \"An_AMD_module_cannot_have_multiple_name_assignments_2458\", \"An AMD module cannot have multiple name assignments.\"),\n          Module_0_declares_1_locally_but_it_is_not_exported: diag(2459, 1, \"Module_0_declares_1_locally_but_it_is_not_exported_2459\", \"Module '{0}' declares '{1}' locally, but it is not exported.\"),\n          Module_0_declares_1_locally_but_it_is_exported_as_2: diag(2460, 1, \"Module_0_declares_1_locally_but_it_is_exported_as_2_2460\", \"Module '{0}' declares '{1}' locally, but it is exported as '{2}'.\"),\n          Type_0_is_not_an_array_type: diag(2461, 1, \"Type_0_is_not_an_array_type_2461\", \"Type '{0}' is not an array type.\"),\n          A_rest_element_must_be_last_in_a_destructuring_pattern: diag(2462, 1, \"A_rest_element_must_be_last_in_a_destructuring_pattern_2462\", \"A rest element must be last in a destructuring pattern.\"),\n          A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature: diag(2463, 1, \"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463\", \"A binding pattern parameter cannot be optional in an implementation signature.\"),\n          A_computed_property_name_must_be_of_type_string_number_symbol_or_any: diag(2464, 1, \"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464\", \"A computed property name must be of type 'string', 'number', 'symbol', or 'any'.\"),\n          this_cannot_be_referenced_in_a_computed_property_name: diag(2465, 1, \"this_cannot_be_referenced_in_a_computed_property_name_2465\", \"'this' cannot be referenced in a computed property name.\"),\n          super_cannot_be_referenced_in_a_computed_property_name: diag(2466, 1, \"super_cannot_be_referenced_in_a_computed_property_name_2466\", \"'super' cannot be referenced in a computed property name.\"),\n          A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type: diag(2467, 1, \"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467\", \"A computed property name cannot reference a type parameter from its containing type.\"),\n          Cannot_find_global_value_0: diag(2468, 1, \"Cannot_find_global_value_0_2468\", \"Cannot find global value '{0}'.\"),\n          The_0_operator_cannot_be_applied_to_type_symbol: diag(2469, 1, \"The_0_operator_cannot_be_applied_to_type_symbol_2469\", \"The '{0}' operator cannot be applied to type 'symbol'.\"),\n          Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher: diag(2472, 1, \"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472\", \"Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher.\"),\n          Enum_declarations_must_all_be_const_or_non_const: diag(2473, 1, \"Enum_declarations_must_all_be_const_or_non_const_2473\", \"Enum declarations must all be const or non-const.\"),\n          const_enum_member_initializers_must_be_constant_expressions: diag(2474, 1, \"const_enum_member_initializers_must_be_constant_expressions_2474\", \"const enum member initializers must be constant expressions.\"),\n          const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query: diag(2475, 1, \"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475\", \"'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query.\"),\n          A_const_enum_member_can_only_be_accessed_using_a_string_literal: diag(2476, 1, \"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476\", \"A const enum member can only be accessed using a string literal.\"),\n          const_enum_member_initializer_was_evaluated_to_a_non_finite_value: diag(2477, 1, \"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477\", \"'const' enum member initializer was evaluated to a non-finite value.\"),\n          const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN: diag(2478, 1, \"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478\", \"'const' enum member initializer was evaluated to disallowed value 'NaN'.\"),\n          let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: diag(2480, 1, \"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480\", \"'let' is not allowed to be used as a name in 'let' or 'const' declarations.\"),\n          Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: diag(2481, 1, \"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481\", \"Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.\"),\n          The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation: diag(2483, 1, \"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483\", \"The left-hand side of a 'for...of' statement cannot use a type annotation.\"),\n          Export_declaration_conflicts_with_exported_declaration_of_0: diag(2484, 1, \"Export_declaration_conflicts_with_exported_declaration_of_0_2484\", \"Export declaration conflicts with exported declaration of '{0}'.\"),\n          The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access: diag(2487, 1, \"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487\", \"The left-hand side of a 'for...of' statement must be a variable or a property access.\"),\n          Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator: diag(2488, 1, \"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488\", \"Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator.\"),\n          An_iterator_must_have_a_next_method: diag(2489, 1, \"An_iterator_must_have_a_next_method_2489\", \"An iterator must have a 'next()' method.\"),\n          The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property: diag(2490, 1, \"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490\", \"The type returned by the '{0}()' method of an iterator must have a 'value' property.\"),\n          The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: diag(2491, 1, \"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491\", \"The left-hand side of a 'for...in' statement cannot be a destructuring pattern.\"),\n          Cannot_redeclare_identifier_0_in_catch_clause: diag(2492, 1, \"Cannot_redeclare_identifier_0_in_catch_clause_2492\", \"Cannot redeclare identifier '{0}' in catch clause.\"),\n          Tuple_type_0_of_length_1_has_no_element_at_index_2: diag(2493, 1, \"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493\", \"Tuple type '{0}' of length '{1}' has no element at index '{2}'.\"),\n          Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: diag(2494, 1, \"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494\", \"Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.\"),\n          Type_0_is_not_an_array_type_or_a_string_type: diag(2495, 1, \"Type_0_is_not_an_array_type_or_a_string_type_2495\", \"Type '{0}' is not an array type or a string type.\"),\n          The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression: diag(2496, 1, \"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496\", \"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.\"),\n          This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export: diag(2497, 1, \"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497\", \"This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export.\"),\n          Module_0_uses_export_and_cannot_be_used_with_export_Asterisk: diag(2498, 1, \"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498\", \"Module '{0}' uses 'export =' and cannot be used with 'export *'.\"),\n          An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: diag(2499, 1, \"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499\", \"An interface can only extend an identifier/qualified-name with optional type arguments.\"),\n          A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments: diag(2500, 1, \"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500\", \"A class can only implement an identifier/qualified-name with optional type arguments.\"),\n          A_rest_element_cannot_contain_a_binding_pattern: diag(2501, 1, \"A_rest_element_cannot_contain_a_binding_pattern_2501\", \"A rest element cannot contain a binding pattern.\"),\n          _0_is_referenced_directly_or_indirectly_in_its_own_type_annotation: diag(2502, 1, \"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502\", \"'{0}' is referenced directly or indirectly in its own type annotation.\"),\n          Cannot_find_namespace_0: diag(2503, 1, \"Cannot_find_namespace_0_2503\", \"Cannot find namespace '{0}'.\"),\n          Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: diag(2504, 1, \"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504\", \"Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator.\"),\n          A_generator_cannot_have_a_void_type_annotation: diag(2505, 1, \"A_generator_cannot_have_a_void_type_annotation_2505\", \"A generator cannot have a 'void' type annotation.\"),\n          _0_is_referenced_directly_or_indirectly_in_its_own_base_expression: diag(2506, 1, \"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506\", \"'{0}' is referenced directly or indirectly in its own base expression.\"),\n          Type_0_is_not_a_constructor_function_type: diag(2507, 1, \"Type_0_is_not_a_constructor_function_type_2507\", \"Type '{0}' is not a constructor function type.\"),\n          No_base_constructor_has_the_specified_number_of_type_arguments: diag(2508, 1, \"No_base_constructor_has_the_specified_number_of_type_arguments_2508\", \"No base constructor has the specified number of type arguments.\"),\n          Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2509, 1, \"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509\", \"Base constructor return type '{0}' is not an object type or intersection of object types with statically known members.\"),\n          Base_constructors_must_all_have_the_same_return_type: diag(2510, 1, \"Base_constructors_must_all_have_the_same_return_type_2510\", \"Base constructors must all have the same return type.\"),\n          Cannot_create_an_instance_of_an_abstract_class: diag(2511, 1, \"Cannot_create_an_instance_of_an_abstract_class_2511\", \"Cannot create an instance of an abstract class.\"),\n          Overload_signatures_must_all_be_abstract_or_non_abstract: diag(2512, 1, \"Overload_signatures_must_all_be_abstract_or_non_abstract_2512\", \"Overload signatures must all be abstract or non-abstract.\"),\n          Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression: diag(2513, 1, \"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513\", \"Abstract method '{0}' in class '{1}' cannot be accessed via super expression.\"),\n          A_tuple_type_cannot_be_indexed_with_a_negative_value: diag(2514, 1, \"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514\", \"A tuple type cannot be indexed with a negative value.\"),\n          Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: diag(2515, 1, \"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515\", \"Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'.\"),\n          All_declarations_of_an_abstract_method_must_be_consecutive: diag(2516, 1, \"All_declarations_of_an_abstract_method_must_be_consecutive_2516\", \"All declarations of an abstract method must be consecutive.\"),\n          Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type: diag(2517, 1, \"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517\", \"Cannot assign an abstract constructor type to a non-abstract constructor type.\"),\n          A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard: diag(2518, 1, \"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518\", \"A 'this'-based type guard is not compatible with a parameter-based type guard.\"),\n          An_async_iterator_must_have_a_next_method: diag(2519, 1, \"An_async_iterator_must_have_a_next_method_2519\", \"An async iterator must have a 'next()' method.\"),\n          Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: diag(2520, 1, \"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520\", \"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions.\"),\n          The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method: diag(2522, 1, \"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522\", \"The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.\"),\n          yield_expressions_cannot_be_used_in_a_parameter_initializer: diag(2523, 1, \"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523\", \"'yield' expressions cannot be used in a parameter initializer.\"),\n          await_expressions_cannot_be_used_in_a_parameter_initializer: diag(2524, 1, \"await_expressions_cannot_be_used_in_a_parameter_initializer_2524\", \"'await' expressions cannot be used in a parameter initializer.\"),\n          Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value: diag(2525, 1, \"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525\", \"Initializer provides no value for this binding element and the binding element has no default value.\"),\n          A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: diag(2526, 1, \"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526\", \"A 'this' type is available only in a non-static member of a class or interface.\"),\n          The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary: diag(2527, 1, \"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527\", \"The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.\"),\n          A_module_cannot_have_multiple_default_exports: diag(2528, 1, \"A_module_cannot_have_multiple_default_exports_2528\", \"A module cannot have multiple default exports.\"),\n          Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions: diag(2529, 1, \"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529\", \"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions.\"),\n          Property_0_is_incompatible_with_index_signature: diag(2530, 1, \"Property_0_is_incompatible_with_index_signature_2530\", \"Property '{0}' is incompatible with index signature.\"),\n          Object_is_possibly_null: diag(2531, 1, \"Object_is_possibly_null_2531\", \"Object is possibly 'null'.\"),\n          Object_is_possibly_undefined: diag(2532, 1, \"Object_is_possibly_undefined_2532\", \"Object is possibly 'undefined'.\"),\n          Object_is_possibly_null_or_undefined: diag(2533, 1, \"Object_is_possibly_null_or_undefined_2533\", \"Object is possibly 'null' or 'undefined'.\"),\n          A_function_returning_never_cannot_have_a_reachable_end_point: diag(2534, 1, \"A_function_returning_never_cannot_have_a_reachable_end_point_2534\", \"A function returning 'never' cannot have a reachable end point.\"),\n          Type_0_cannot_be_used_to_index_type_1: diag(2536, 1, \"Type_0_cannot_be_used_to_index_type_1_2536\", \"Type '{0}' cannot be used to index type '{1}'.\"),\n          Type_0_has_no_matching_index_signature_for_type_1: diag(2537, 1, \"Type_0_has_no_matching_index_signature_for_type_1_2537\", \"Type '{0}' has no matching index signature for type '{1}'.\"),\n          Type_0_cannot_be_used_as_an_index_type: diag(2538, 1, \"Type_0_cannot_be_used_as_an_index_type_2538\", \"Type '{0}' cannot be used as an index type.\"),\n          Cannot_assign_to_0_because_it_is_not_a_variable: diag(2539, 1, \"Cannot_assign_to_0_because_it_is_not_a_variable_2539\", \"Cannot assign to '{0}' because it is not a variable.\"),\n          Cannot_assign_to_0_because_it_is_a_read_only_property: diag(2540, 1, \"Cannot_assign_to_0_because_it_is_a_read_only_property_2540\", \"Cannot assign to '{0}' because it is a read-only property.\"),\n          Index_signature_in_type_0_only_permits_reading: diag(2542, 1, \"Index_signature_in_type_0_only_permits_reading_2542\", \"Index signature in type '{0}' only permits reading.\"),\n          Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference: diag(2543, 1, \"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543\", \"Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference.\"),\n          Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference: diag(2544, 1, \"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544\", \"Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference.\"),\n          A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any: diag(2545, 1, \"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545\", \"A mixin class must have a constructor with a single rest parameter of type 'any[]'.\"),\n          The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property: diag(2547, 1, \"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547\", \"The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property.\"),\n          Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: diag(2548, 1, \"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548\", \"Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.\"),\n          Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: diag(2549, 1, \"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549\", \"Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator.\"),\n          Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later: diag(2550, 1, \"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550\", \"Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later.\"),\n          Property_0_does_not_exist_on_type_1_Did_you_mean_2: diag(2551, 1, \"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551\", \"Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?\"),\n          Cannot_find_name_0_Did_you_mean_1: diag(2552, 1, \"Cannot_find_name_0_Did_you_mean_1_2552\", \"Cannot find name '{0}'. Did you mean '{1}'?\"),\n          Computed_values_are_not_permitted_in_an_enum_with_string_valued_members: diag(2553, 1, \"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553\", \"Computed values are not permitted in an enum with string valued members.\"),\n          Expected_0_arguments_but_got_1: diag(2554, 1, \"Expected_0_arguments_but_got_1_2554\", \"Expected {0} arguments, but got {1}.\"),\n          Expected_at_least_0_arguments_but_got_1: diag(2555, 1, \"Expected_at_least_0_arguments_but_got_1_2555\", \"Expected at least {0} arguments, but got {1}.\"),\n          A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter: diag(2556, 1, \"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556\", \"A spread argument must either have a tuple type or be passed to a rest parameter.\"),\n          Expected_0_type_arguments_but_got_1: diag(2558, 1, \"Expected_0_type_arguments_but_got_1_2558\", \"Expected {0} type arguments, but got {1}.\"),\n          Type_0_has_no_properties_in_common_with_type_1: diag(2559, 1, \"Type_0_has_no_properties_in_common_with_type_1_2559\", \"Type '{0}' has no properties in common with type '{1}'.\"),\n          Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it: diag(2560, 1, \"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560\", \"Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?\"),\n          Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2: diag(2561, 1, \"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561\", \"Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?\"),\n          Base_class_expressions_cannot_reference_class_type_parameters: diag(2562, 1, \"Base_class_expressions_cannot_reference_class_type_parameters_2562\", \"Base class expressions cannot reference class type parameters.\"),\n          The_containing_function_or_module_body_is_too_large_for_control_flow_analysis: diag(2563, 1, \"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563\", \"The containing function or module body is too large for control flow analysis.\"),\n          Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor: diag(2564, 1, \"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564\", \"Property '{0}' has no initializer and is not definitely assigned in the constructor.\"),\n          Property_0_is_used_before_being_assigned: diag(2565, 1, \"Property_0_is_used_before_being_assigned_2565\", \"Property '{0}' is used before being assigned.\"),\n          A_rest_element_cannot_have_a_property_name: diag(2566, 1, \"A_rest_element_cannot_have_a_property_name_2566\", \"A rest element cannot have a property name.\"),\n          Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations: diag(2567, 1, \"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567\", \"Enum declarations can only merge with namespace or other enum declarations.\"),\n          Property_0_may_not_exist_on_type_1_Did_you_mean_2: diag(2568, 1, \"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568\", \"Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?\"),\n          Could_not_find_name_0_Did_you_mean_1: diag(2570, 1, \"Could_not_find_name_0_Did_you_mean_1_2570\", \"Could not find name '{0}'. Did you mean '{1}'?\"),\n          Object_is_of_type_unknown: diag(2571, 1, \"Object_is_of_type_unknown_2571\", \"Object is of type 'unknown'.\"),\n          A_rest_element_type_must_be_an_array_type: diag(2574, 1, \"A_rest_element_type_must_be_an_array_type_2574\", \"A rest element type must be an array type.\"),\n          No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments: diag(2575, 1, \"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575\", \"No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments.\"),\n          Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead: diag(2576, 1, \"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576\", \"Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?\"),\n          Return_type_annotation_circularly_references_itself: diag(2577, 1, \"Return_type_annotation_circularly_references_itself_2577\", \"Return type annotation circularly references itself.\"),\n          Unused_ts_expect_error_directive: diag(2578, 1, \"Unused_ts_expect_error_directive_2578\", \"Unused '@ts-expect-error' directive.\"),\n          Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode: diag(2580, 1, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580\", \"Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.\"),\n          Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery: diag(2581, 1, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581\", \"Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.\"),\n          Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha: diag(2582, 1, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582\", \"Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.\"),\n          Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later: diag(2583, 1, \"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583\", \"Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later.\"),\n          Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom: diag(2584, 1, \"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584\", \"Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.\"),\n          _0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later: diag(2585, 1, \"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585\", \"'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.\"),\n          Cannot_assign_to_0_because_it_is_a_constant: diag(2588, 1, \"Cannot_assign_to_0_because_it_is_a_constant_2588\", \"Cannot assign to '{0}' because it is a constant.\"),\n          Type_instantiation_is_excessively_deep_and_possibly_infinite: diag(2589, 1, \"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589\", \"Type instantiation is excessively deep and possibly infinite.\"),\n          Expression_produces_a_union_type_that_is_too_complex_to_represent: diag(2590, 1, \"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590\", \"Expression produces a union type that is too complex to represent.\"),\n          Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig: diag(2591, 1, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591\", \"Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.\"),\n          Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig: diag(2592, 1, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592\", \"Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig.\"),\n          Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig: diag(2593, 1, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593\", \"Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.\"),\n          This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: diag(2594, 1, \"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594\", \"This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag.\"),\n          _0_can_only_be_imported_by_using_a_default_import: diag(2595, 1, \"_0_can_only_be_imported_by_using_a_default_import_2595\", \"'{0}' can only be imported by using a default import.\"),\n          _0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2596, 1, \"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596\", \"'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import.\"),\n          _0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import: diag(2597, 1, \"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597\", \"'{0}' can only be imported by using a 'require' call or by using a default import.\"),\n          _0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2598, 1, \"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598\", \"'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import.\"),\n          JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist: diag(2602, 1, \"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602\", \"JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist.\"),\n          Property_0_in_type_1_is_not_assignable_to_type_2: diag(2603, 1, \"Property_0_in_type_1_is_not_assignable_to_type_2_2603\", \"Property '{0}' in type '{1}' is not assignable to type '{2}'.\"),\n          JSX_element_type_0_does_not_have_any_construct_or_call_signatures: diag(2604, 1, \"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604\", \"JSX element type '{0}' does not have any construct or call signatures.\"),\n          Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property: diag(2606, 1, \"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606\", \"Property '{0}' of JSX spread attribute is not assignable to target property.\"),\n          JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property: diag(2607, 1, \"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607\", \"JSX element class does not support attributes because it does not have a '{0}' property.\"),\n          The_global_type_JSX_0_may_not_have_more_than_one_property: diag(2608, 1, \"The_global_type_JSX_0_may_not_have_more_than_one_property_2608\", \"The global type 'JSX.{0}' may not have more than one property.\"),\n          JSX_spread_child_must_be_an_array_type: diag(2609, 1, \"JSX_spread_child_must_be_an_array_type_2609\", \"JSX spread child must be an array type.\"),\n          _0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property: diag(2610, 1, \"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610\", \"'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property.\"),\n          _0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor: diag(2611, 1, \"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611\", \"'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor.\"),\n          Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration: diag(2612, 1, \"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612\", \"Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.\"),\n          Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead: diag(2613, 1, \"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613\", \"Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?\"),\n          Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead: diag(2614, 1, \"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614\", \"Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?\"),\n          Type_of_property_0_circularly_references_itself_in_mapped_type_1: diag(2615, 1, \"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615\", \"Type of property '{0}' circularly references itself in mapped type '{1}'.\"),\n          _0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import: diag(2616, 1, \"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616\", \"'{0}' can only be imported by using 'import {1} = require({2})' or a default import.\"),\n          _0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2617, 1, \"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617\", \"'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import.\"),\n          Source_has_0_element_s_but_target_requires_1: diag(2618, 1, \"Source_has_0_element_s_but_target_requires_1_2618\", \"Source has {0} element(s) but target requires {1}.\"),\n          Source_has_0_element_s_but_target_allows_only_1: diag(2619, 1, \"Source_has_0_element_s_but_target_allows_only_1_2619\", \"Source has {0} element(s) but target allows only {1}.\"),\n          Target_requires_0_element_s_but_source_may_have_fewer: diag(2620, 1, \"Target_requires_0_element_s_but_source_may_have_fewer_2620\", \"Target requires {0} element(s) but source may have fewer.\"),\n          Target_allows_only_0_element_s_but_source_may_have_more: diag(2621, 1, \"Target_allows_only_0_element_s_but_source_may_have_more_2621\", \"Target allows only {0} element(s) but source may have more.\"),\n          Source_provides_no_match_for_required_element_at_position_0_in_target: diag(2623, 1, \"Source_provides_no_match_for_required_element_at_position_0_in_target_2623\", \"Source provides no match for required element at position {0} in target.\"),\n          Source_provides_no_match_for_variadic_element_at_position_0_in_target: diag(2624, 1, \"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624\", \"Source provides no match for variadic element at position {0} in target.\"),\n          Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target: diag(2625, 1, \"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625\", \"Variadic element at position {0} in source does not match element at position {1} in target.\"),\n          Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target: diag(2626, 1, \"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626\", \"Type at position {0} in source is not compatible with type at position {1} in target.\"),\n          Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target: diag(2627, 1, \"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627\", \"Type at positions {0} through {1} in source is not compatible with type at position {2} in target.\"),\n          Cannot_assign_to_0_because_it_is_an_enum: diag(2628, 1, \"Cannot_assign_to_0_because_it_is_an_enum_2628\", \"Cannot assign to '{0}' because it is an enum.\"),\n          Cannot_assign_to_0_because_it_is_a_class: diag(2629, 1, \"Cannot_assign_to_0_because_it_is_a_class_2629\", \"Cannot assign to '{0}' because it is a class.\"),\n          Cannot_assign_to_0_because_it_is_a_function: diag(2630, 1, \"Cannot_assign_to_0_because_it_is_a_function_2630\", \"Cannot assign to '{0}' because it is a function.\"),\n          Cannot_assign_to_0_because_it_is_a_namespace: diag(2631, 1, \"Cannot_assign_to_0_because_it_is_a_namespace_2631\", \"Cannot assign to '{0}' because it is a namespace.\"),\n          Cannot_assign_to_0_because_it_is_an_import: diag(2632, 1, \"Cannot_assign_to_0_because_it_is_an_import_2632\", \"Cannot assign to '{0}' because it is an import.\"),\n          JSX_property_access_expressions_cannot_include_JSX_namespace_names: diag(2633, 1, \"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633\", \"JSX property access expressions cannot include JSX namespace names\"),\n          _0_index_signatures_are_incompatible: diag(2634, 1, \"_0_index_signatures_are_incompatible_2634\", \"'{0}' index signatures are incompatible.\"),\n          Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable: diag(2635, 1, \"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635\", \"Type '{0}' has no signatures for which the type argument list is applicable.\"),\n          Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation: diag(2636, 1, \"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636\", \"Type '{0}' is not assignable to type '{1}' as implied by variance annotation.\"),\n          Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types: diag(2637, 1, \"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637\", \"Variance annotations are only supported in type aliases for object, function, constructor, and mapped types.\"),\n          Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator: diag(2638, 1, \"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638\", \"Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.\"),\n          Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: diag(2649, 1, \"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649\", \"Cannot augment module '{0}' with value exports because it resolves to a non-module entity.\"),\n          A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: diag(2651, 1, \"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651\", \"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.\"),\n          Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead: diag(2652, 1, \"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652\", \"Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead.\"),\n          Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1: diag(2653, 1, \"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653\", \"Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'.\"),\n          JSX_expressions_must_have_one_parent_element: diag(2657, 1, \"JSX_expressions_must_have_one_parent_element_2657\", \"JSX expressions must have one parent element.\"),\n          Type_0_provides_no_match_for_the_signature_1: diag(2658, 1, \"Type_0_provides_no_match_for_the_signature_1_2658\", \"Type '{0}' provides no match for the signature '{1}'.\"),\n          super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher: diag(2659, 1, \"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659\", \"'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher.\"),\n          super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions: diag(2660, 1, \"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660\", \"'super' can only be referenced in members of derived classes or object literal expressions.\"),\n          Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module: diag(2661, 1, \"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661\", \"Cannot export '{0}'. Only local declarations can be exported from a module.\"),\n          Cannot_find_name_0_Did_you_mean_the_static_member_1_0: diag(2662, 1, \"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662\", \"Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?\"),\n          Cannot_find_name_0_Did_you_mean_the_instance_member_this_0: diag(2663, 1, \"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663\", \"Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?\"),\n          Invalid_module_name_in_augmentation_module_0_cannot_be_found: diag(2664, 1, \"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664\", \"Invalid module name in augmentation, module '{0}' cannot be found.\"),\n          Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented: diag(2665, 1, \"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665\", \"Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.\"),\n          Exports_and_export_assignments_are_not_permitted_in_module_augmentations: diag(2666, 1, \"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666\", \"Exports and export assignments are not permitted in module augmentations.\"),\n          Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module: diag(2667, 1, \"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667\", \"Imports are not permitted in module augmentations. Consider moving them to the enclosing external module.\"),\n          export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible: diag(2668, 1, \"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668\", \"'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.\"),\n          Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations: diag(2669, 1, \"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669\", \"Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.\"),\n          Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context: diag(2670, 1, \"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670\", \"Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context.\"),\n          Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity: diag(2671, 1, \"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671\", \"Cannot augment module '{0}' because it resolves to a non-module entity.\"),\n          Cannot_assign_a_0_constructor_type_to_a_1_constructor_type: diag(2672, 1, \"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672\", \"Cannot assign a '{0}' constructor type to a '{1}' constructor type.\"),\n          Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration: diag(2673, 1, \"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673\", \"Constructor of class '{0}' is private and only accessible within the class declaration.\"),\n          Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration: diag(2674, 1, \"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674\", \"Constructor of class '{0}' is protected and only accessible within the class declaration.\"),\n          Cannot_extend_a_class_0_Class_constructor_is_marked_as_private: diag(2675, 1, \"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675\", \"Cannot extend a class '{0}'. Class constructor is marked as private.\"),\n          Accessors_must_both_be_abstract_or_non_abstract: diag(2676, 1, \"Accessors_must_both_be_abstract_or_non_abstract_2676\", \"Accessors must both be abstract or non-abstract.\"),\n          A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type: diag(2677, 1, \"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677\", \"A type predicate's type must be assignable to its parameter's type.\"),\n          Type_0_is_not_comparable_to_type_1: diag(2678, 1, \"Type_0_is_not_comparable_to_type_1_2678\", \"Type '{0}' is not comparable to type '{1}'.\"),\n          A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void: diag(2679, 1, \"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679\", \"A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'.\"),\n          A_0_parameter_must_be_the_first_parameter: diag(2680, 1, \"A_0_parameter_must_be_the_first_parameter_2680\", \"A '{0}' parameter must be the first parameter.\"),\n          A_constructor_cannot_have_a_this_parameter: diag(2681, 1, \"A_constructor_cannot_have_a_this_parameter_2681\", \"A constructor cannot have a 'this' parameter.\"),\n          this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation: diag(2683, 1, \"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683\", \"'this' implicitly has type 'any' because it does not have a type annotation.\"),\n          The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1: diag(2684, 1, \"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684\", \"The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'.\"),\n          The_this_types_of_each_signature_are_incompatible: diag(2685, 1, \"The_this_types_of_each_signature_are_incompatible_2685\", \"The 'this' types of each signature are incompatible.\"),\n          _0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead: diag(2686, 1, \"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686\", \"'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead.\"),\n          All_declarations_of_0_must_have_identical_modifiers: diag(2687, 1, \"All_declarations_of_0_must_have_identical_modifiers_2687\", \"All declarations of '{0}' must have identical modifiers.\"),\n          Cannot_find_type_definition_file_for_0: diag(2688, 1, \"Cannot_find_type_definition_file_for_0_2688\", \"Cannot find type definition file for '{0}'.\"),\n          Cannot_extend_an_interface_0_Did_you_mean_implements: diag(2689, 1, \"Cannot_extend_an_interface_0_Did_you_mean_implements_2689\", \"Cannot extend an interface '{0}'. Did you mean 'implements'?\"),\n          _0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0: diag(2690, 1, \"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690\", \"'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?\"),\n          _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: diag(2692, 1, \"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692\", \"'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible.\"),\n          _0_only_refers_to_a_type_but_is_being_used_as_a_value_here: diag(2693, 1, \"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693\", \"'{0}' only refers to a type, but is being used as a value here.\"),\n          Namespace_0_has_no_exported_member_1: diag(2694, 1, \"Namespace_0_has_no_exported_member_1_2694\", \"Namespace '{0}' has no exported member '{1}'.\"),\n          Left_side_of_comma_operator_is_unused_and_has_no_side_effects: diag(\n            2695,\n            1,\n            \"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695\",\n            \"Left side of comma operator is unused and has no side effects.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: diag(2696, 1, \"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696\", \"The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?\"),\n          An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: diag(2697, 1, \"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697\", \"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.\"),\n          Spread_types_may_only_be_created_from_object_types: diag(2698, 1, \"Spread_types_may_only_be_created_from_object_types_2698\", \"Spread types may only be created from object types.\"),\n          Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1: diag(2699, 1, \"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699\", \"Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'.\"),\n          Rest_types_may_only_be_created_from_object_types: diag(2700, 1, \"Rest_types_may_only_be_created_from_object_types_2700\", \"Rest types may only be created from object types.\"),\n          The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access: diag(2701, 1, \"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701\", \"The target of an object rest assignment must be a variable or a property access.\"),\n          _0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here: diag(2702, 1, \"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702\", \"'{0}' only refers to a type, but is being used as a namespace here.\"),\n          The_operand_of_a_delete_operator_must_be_a_property_reference: diag(2703, 1, \"The_operand_of_a_delete_operator_must_be_a_property_reference_2703\", \"The operand of a 'delete' operator must be a property reference.\"),\n          The_operand_of_a_delete_operator_cannot_be_a_read_only_property: diag(2704, 1, \"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704\", \"The operand of a 'delete' operator cannot be a read-only property.\"),\n          An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2705, 1, \"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705\", \"An async function or method in ES5/ES3 requires the 'Promise' constructor.  Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.\"),\n          Required_type_parameters_may_not_follow_optional_type_parameters: diag(2706, 1, \"Required_type_parameters_may_not_follow_optional_type_parameters_2706\", \"Required type parameters may not follow optional type parameters.\"),\n          Generic_type_0_requires_between_1_and_2_type_arguments: diag(2707, 1, \"Generic_type_0_requires_between_1_and_2_type_arguments_2707\", \"Generic type '{0}' requires between {1} and {2} type arguments.\"),\n          Cannot_use_namespace_0_as_a_value: diag(2708, 1, \"Cannot_use_namespace_0_as_a_value_2708\", \"Cannot use namespace '{0}' as a value.\"),\n          Cannot_use_namespace_0_as_a_type: diag(2709, 1, \"Cannot_use_namespace_0_as_a_type_2709\", \"Cannot use namespace '{0}' as a type.\"),\n          _0_are_specified_twice_The_attribute_named_0_will_be_overwritten: diag(2710, 1, \"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710\", \"'{0}' are specified twice. The attribute named '{0}' will be overwritten.\"),\n          A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: diag(2711, 1, \"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711\", \"A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.\"),\n          A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2712, 1, \"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712\", \"A dynamic import call in ES5/ES3 requires the 'Promise' constructor.  Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.\"),\n          Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1: diag(2713, 1, \"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713\", `Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?`),\n          The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context: diag(2714, 1, \"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714\", \"The expression of an export assignment must be an identifier or qualified name in an ambient context.\"),\n          Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor: diag(2715, 1, \"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715\", \"Abstract property '{0}' in class '{1}' cannot be accessed in the constructor.\"),\n          Type_parameter_0_has_a_circular_default: diag(2716, 1, \"Type_parameter_0_has_a_circular_default_2716\", \"Type parameter '{0}' has a circular default.\"),\n          Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2: diag(2717, 1, \"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717\", \"Subsequent property declarations must have the same type.  Property '{0}' must be of type '{1}', but here has type '{2}'.\"),\n          Duplicate_property_0: diag(2718, 1, \"Duplicate_property_0_2718\", \"Duplicate property '{0}'.\"),\n          Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated: diag(2719, 1, \"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719\", \"Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated.\"),\n          Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass: diag(2720, 1, \"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720\", \"Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?\"),\n          Cannot_invoke_an_object_which_is_possibly_null: diag(2721, 1, \"Cannot_invoke_an_object_which_is_possibly_null_2721\", \"Cannot invoke an object which is possibly 'null'.\"),\n          Cannot_invoke_an_object_which_is_possibly_undefined: diag(2722, 1, \"Cannot_invoke_an_object_which_is_possibly_undefined_2722\", \"Cannot invoke an object which is possibly 'undefined'.\"),\n          Cannot_invoke_an_object_which_is_possibly_null_or_undefined: diag(2723, 1, \"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723\", \"Cannot invoke an object which is possibly 'null' or 'undefined'.\"),\n          _0_has_no_exported_member_named_1_Did_you_mean_2: diag(2724, 1, \"_0_has_no_exported_member_named_1_Did_you_mean_2_2724\", \"'{0}' has no exported member named '{1}'. Did you mean '{2}'?\"),\n          Class_name_cannot_be_Object_when_targeting_ES5_with_module_0: diag(2725, 1, \"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725\", \"Class name cannot be 'Object' when targeting ES5 with module {0}.\"),\n          Cannot_find_lib_definition_for_0: diag(2726, 1, \"Cannot_find_lib_definition_for_0_2726\", \"Cannot find lib definition for '{0}'.\"),\n          Cannot_find_lib_definition_for_0_Did_you_mean_1: diag(2727, 1, \"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727\", \"Cannot find lib definition for '{0}'. Did you mean '{1}'?\"),\n          _0_is_declared_here: diag(2728, 3, \"_0_is_declared_here_2728\", \"'{0}' is declared here.\"),\n          Property_0_is_used_before_its_initialization: diag(2729, 1, \"Property_0_is_used_before_its_initialization_2729\", \"Property '{0}' is used before its initialization.\"),\n          An_arrow_function_cannot_have_a_this_parameter: diag(2730, 1, \"An_arrow_function_cannot_have_a_this_parameter_2730\", \"An arrow function cannot have a 'this' parameter.\"),\n          Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String: diag(2731, 1, \"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731\", \"Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.\"),\n          Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension: diag(2732, 1, \"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732\", \"Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension.\"),\n          Property_0_was_also_declared_here: diag(2733, 1, \"Property_0_was_also_declared_here_2733\", \"Property '{0}' was also declared here.\"),\n          Are_you_missing_a_semicolon: diag(2734, 1, \"Are_you_missing_a_semicolon_2734\", \"Are you missing a semicolon?\"),\n          Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1: diag(2735, 1, \"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735\", \"Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?\"),\n          Operator_0_cannot_be_applied_to_type_1: diag(2736, 1, \"Operator_0_cannot_be_applied_to_type_1_2736\", \"Operator '{0}' cannot be applied to type '{1}'.\"),\n          BigInt_literals_are_not_available_when_targeting_lower_than_ES2020: diag(2737, 1, \"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737\", \"BigInt literals are not available when targeting lower than ES2020.\"),\n          An_outer_value_of_this_is_shadowed_by_this_container: diag(2738, 3, \"An_outer_value_of_this_is_shadowed_by_this_container_2738\", \"An outer value of 'this' is shadowed by this container.\"),\n          Type_0_is_missing_the_following_properties_from_type_1_Colon_2: diag(2739, 1, \"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739\", \"Type '{0}' is missing the following properties from type '{1}': {2}\"),\n          Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more: diag(2740, 1, \"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740\", \"Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more.\"),\n          Property_0_is_missing_in_type_1_but_required_in_type_2: diag(2741, 1, \"Property_0_is_missing_in_type_1_but_required_in_type_2_2741\", \"Property '{0}' is missing in type '{1}' but required in type '{2}'.\"),\n          The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary: diag(2742, 1, \"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742\", \"The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary.\"),\n          No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments: diag(2743, 1, \"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743\", \"No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments.\"),\n          Type_parameter_defaults_can_only_reference_previously_declared_type_parameters: diag(2744, 1, \"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744\", \"Type parameter defaults can only reference previously declared type parameters.\"),\n          This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided: diag(2745, 1, \"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745\", \"This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided.\"),\n          This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided: diag(2746, 1, \"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746\", \"This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided.\"),\n          _0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2: diag(2747, 1, \"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747\", \"'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'.\"),\n          Cannot_access_ambient_const_enums_when_0_is_enabled: diag(2748, 1, \"Cannot_access_ambient_const_enums_when_0_is_enabled_2748\", \"Cannot access ambient const enums when '{0}' is enabled.\"),\n          _0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0: diag(2749, 1, \"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749\", \"'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?\"),\n          The_implementation_signature_is_declared_here: diag(2750, 1, \"The_implementation_signature_is_declared_here_2750\", \"The implementation signature is declared here.\"),\n          Circularity_originates_in_type_at_this_location: diag(2751, 1, \"Circularity_originates_in_type_at_this_location_2751\", \"Circularity originates in type at this location.\"),\n          The_first_export_default_is_here: diag(2752, 1, \"The_first_export_default_is_here_2752\", \"The first export default is here.\"),\n          Another_export_default_is_here: diag(2753, 1, \"Another_export_default_is_here_2753\", \"Another export default is here.\"),\n          super_may_not_use_type_arguments: diag(2754, 1, \"super_may_not_use_type_arguments_2754\", \"'super' may not use type arguments.\"),\n          No_constituent_of_type_0_is_callable: diag(2755, 1, \"No_constituent_of_type_0_is_callable_2755\", \"No constituent of type '{0}' is callable.\"),\n          Not_all_constituents_of_type_0_are_callable: diag(2756, 1, \"Not_all_constituents_of_type_0_are_callable_2756\", \"Not all constituents of type '{0}' are callable.\"),\n          Type_0_has_no_call_signatures: diag(2757, 1, \"Type_0_has_no_call_signatures_2757\", \"Type '{0}' has no call signatures.\"),\n          Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other: diag(2758, 1, \"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758\", \"Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other.\"),\n          No_constituent_of_type_0_is_constructable: diag(2759, 1, \"No_constituent_of_type_0_is_constructable_2759\", \"No constituent of type '{0}' is constructable.\"),\n          Not_all_constituents_of_type_0_are_constructable: diag(2760, 1, \"Not_all_constituents_of_type_0_are_constructable_2760\", \"Not all constituents of type '{0}' are constructable.\"),\n          Type_0_has_no_construct_signatures: diag(2761, 1, \"Type_0_has_no_construct_signatures_2761\", \"Type '{0}' has no construct signatures.\"),\n          Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other: diag(2762, 1, \"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762\", \"Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other.\"),\n          Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0: diag(2763, 1, \"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763\", \"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'.\"),\n          Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0: diag(2764, 1, \"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764\", \"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'.\"),\n          Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0: diag(2765, 1, \"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765\", \"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'.\"),\n          Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0: diag(2766, 1, \"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766\", \"Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'.\"),\n          The_0_property_of_an_iterator_must_be_a_method: diag(2767, 1, \"The_0_property_of_an_iterator_must_be_a_method_2767\", \"The '{0}' property of an iterator must be a method.\"),\n          The_0_property_of_an_async_iterator_must_be_a_method: diag(2768, 1, \"The_0_property_of_an_async_iterator_must_be_a_method_2768\", \"The '{0}' property of an async iterator must be a method.\"),\n          No_overload_matches_this_call: diag(2769, 1, \"No_overload_matches_this_call_2769\", \"No overload matches this call.\"),\n          The_last_overload_gave_the_following_error: diag(2770, 1, \"The_last_overload_gave_the_following_error_2770\", \"The last overload gave the following error.\"),\n          The_last_overload_is_declared_here: diag(2771, 1, \"The_last_overload_is_declared_here_2771\", \"The last overload is declared here.\"),\n          Overload_0_of_1_2_gave_the_following_error: diag(2772, 1, \"Overload_0_of_1_2_gave_the_following_error_2772\", \"Overload {0} of {1}, '{2}', gave the following error.\"),\n          Did_you_forget_to_use_await: diag(2773, 1, \"Did_you_forget_to_use_await_2773\", \"Did you forget to use 'await'?\"),\n          This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead: diag(2774, 1, \"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774\", \"This condition will always return true since this function is always defined. Did you mean to call it instead?\"),\n          Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation: diag(2775, 1, \"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775\", \"Assertions require every name in the call target to be declared with an explicit type annotation.\"),\n          Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name: diag(2776, 1, \"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776\", \"Assertions require the call target to be an identifier or qualified name.\"),\n          The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access: diag(2777, 1, \"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777\", \"The operand of an increment or decrement operator may not be an optional property access.\"),\n          The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access: diag(2778, 1, \"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778\", \"The target of an object rest assignment may not be an optional property access.\"),\n          The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access: diag(2779, 1, \"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779\", \"The left-hand side of an assignment expression may not be an optional property access.\"),\n          The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access: diag(2780, 1, \"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780\", \"The left-hand side of a 'for...in' statement may not be an optional property access.\"),\n          The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access: diag(2781, 1, \"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781\", \"The left-hand side of a 'for...of' statement may not be an optional property access.\"),\n          _0_needs_an_explicit_type_annotation: diag(2782, 3, \"_0_needs_an_explicit_type_annotation_2782\", \"'{0}' needs an explicit type annotation.\"),\n          _0_is_specified_more_than_once_so_this_usage_will_be_overwritten: diag(2783, 1, \"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783\", \"'{0}' is specified more than once, so this usage will be overwritten.\"),\n          get_and_set_accessors_cannot_declare_this_parameters: diag(2784, 1, \"get_and_set_accessors_cannot_declare_this_parameters_2784\", \"'get' and 'set' accessors cannot declare 'this' parameters.\"),\n          This_spread_always_overwrites_this_property: diag(2785, 1, \"This_spread_always_overwrites_this_property_2785\", \"This spread always overwrites this property.\"),\n          _0_cannot_be_used_as_a_JSX_component: diag(2786, 1, \"_0_cannot_be_used_as_a_JSX_component_2786\", \"'{0}' cannot be used as a JSX component.\"),\n          Its_return_type_0_is_not_a_valid_JSX_element: diag(2787, 1, \"Its_return_type_0_is_not_a_valid_JSX_element_2787\", \"Its return type '{0}' is not a valid JSX element.\"),\n          Its_instance_type_0_is_not_a_valid_JSX_element: diag(2788, 1, \"Its_instance_type_0_is_not_a_valid_JSX_element_2788\", \"Its instance type '{0}' is not a valid JSX element.\"),\n          Its_element_type_0_is_not_a_valid_JSX_element: diag(2789, 1, \"Its_element_type_0_is_not_a_valid_JSX_element_2789\", \"Its element type '{0}' is not a valid JSX element.\"),\n          The_operand_of_a_delete_operator_must_be_optional: diag(2790, 1, \"The_operand_of_a_delete_operator_must_be_optional_2790\", \"The operand of a 'delete' operator must be optional.\"),\n          Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later: diag(2791, 1, \"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791\", \"Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later.\"),\n          Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option: diag(2792, 1, \"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792\", \"Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?\"),\n          The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible: diag(2793, 1, \"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793\", \"The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible.\"),\n          Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise: diag(2794, 1, \"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794\", \"Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?\"),\n          The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types: diag(2795, 1, \"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795\", \"The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types.\"),\n          It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked: diag(2796, 1, \"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796\", \"It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked.\"),\n          A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract: diag(2797, 1, \"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797\", \"A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'.\"),\n          The_declaration_was_marked_as_deprecated_here: diag(2798, 1, \"The_declaration_was_marked_as_deprecated_here_2798\", \"The declaration was marked as deprecated here.\"),\n          Type_produces_a_tuple_type_that_is_too_large_to_represent: diag(2799, 1, \"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799\", \"Type produces a tuple type that is too large to represent.\"),\n          Expression_produces_a_tuple_type_that_is_too_large_to_represent: diag(2800, 1, \"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800\", \"Expression produces a tuple type that is too large to represent.\"),\n          This_condition_will_always_return_true_since_this_0_is_always_defined: diag(2801, 1, \"This_condition_will_always_return_true_since_this_0_is_always_defined_2801\", \"This condition will always return true since this '{0}' is always defined.\"),\n          Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher: diag(2802, 1, \"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802\", \"Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.\"),\n          Cannot_assign_to_private_method_0_Private_methods_are_not_writable: diag(2803, 1, \"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803\", \"Cannot assign to private method '{0}'. Private methods are not writable.\"),\n          Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name: diag(2804, 1, \"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804\", \"Duplicate identifier '{0}'. Static and instance elements cannot share the same private name.\"),\n          Private_accessor_was_defined_without_a_getter: diag(2806, 1, \"Private_accessor_was_defined_without_a_getter_2806\", \"Private accessor was defined without a getter.\"),\n          This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0: diag(2807, 1, \"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807\", \"This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'.\"),\n          A_get_accessor_must_be_at_least_as_accessible_as_the_setter: diag(2808, 1, \"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808\", \"A get accessor must be at least as accessible as the setter\"),\n          Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses: diag(2809, 1, \"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809\", \"Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses.\"),\n          Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments: diag(2810, 1, \"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810\", \"Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.\"),\n          Initializer_for_property_0: diag(2811, 1, \"Initializer_for_property_0_2811\", \"Initializer for property '{0}'\"),\n          Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom: diag(2812, 1, \"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812\", \"Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'.\"),\n          Class_declaration_cannot_implement_overload_list_for_0: diag(2813, 1, \"Class_declaration_cannot_implement_overload_list_for_0_2813\", \"Class declaration cannot implement overload list for '{0}'.\"),\n          Function_with_bodies_can_only_merge_with_classes_that_are_ambient: diag(2814, 1, \"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814\", \"Function with bodies can only merge with classes that are ambient.\"),\n          arguments_cannot_be_referenced_in_property_initializers: diag(2815, 1, \"arguments_cannot_be_referenced_in_property_initializers_2815\", \"'arguments' cannot be referenced in property initializers.\"),\n          Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class: diag(2816, 1, \"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816\", \"Cannot use 'this' in a static property initializer of a decorated class.\"),\n          Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block: diag(2817, 1, \"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817\", \"Property '{0}' has no initializer and is not definitely assigned in a class static block.\"),\n          Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers: diag(2818, 1, \"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818\", \"Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers.\"),\n          Namespace_name_cannot_be_0: diag(2819, 1, \"Namespace_name_cannot_be_0_2819\", \"Namespace name cannot be '{0}'.\"),\n          Type_0_is_not_assignable_to_type_1_Did_you_mean_2: diag(2820, 1, \"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820\", \"Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?\"),\n          Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext: diag(2821, 1, \"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821\", \"Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'.\"),\n          Import_assertions_cannot_be_used_with_type_only_imports_or_exports: diag(2822, 1, \"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822\", \"Import assertions cannot be used with type-only imports or exports.\"),\n          Cannot_find_namespace_0_Did_you_mean_1: diag(2833, 1, \"Cannot_find_namespace_0_Did_you_mean_1_2833\", \"Cannot find namespace '{0}'. Did you mean '{1}'?\"),\n          Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path: diag(2834, 1, \"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834\", \"Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.\"),\n          Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0: diag(2835, 1, \"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835\", \"Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?\"),\n          Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls: diag(2836, 1, \"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836\", \"Import assertions are not allowed on statements that transpile to commonjs 'require' calls.\"),\n          Import_assertion_values_must_be_string_literal_expressions: diag(2837, 1, \"Import_assertion_values_must_be_string_literal_expressions_2837\", \"Import assertion values must be string literal expressions.\"),\n          All_declarations_of_0_must_have_identical_constraints: diag(2838, 1, \"All_declarations_of_0_must_have_identical_constraints_2838\", \"All declarations of '{0}' must have identical constraints.\"),\n          This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value: diag(2839, 1, \"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839\", \"This condition will always return '{0}' since JavaScript compares objects by reference, not value.\"),\n          An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes: diag(2840, 1, \"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840\", \"An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes\"),\n          The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(2841, 1, \"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841\", \"The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.\"),\n          _0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation: diag(2842, 1, \"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842\", \"'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?\"),\n          We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here: diag(2843, 1, \"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843\", \"We can only write a type for '{0}' by adding a type for the entire parameter here.\"),\n          Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2844, 1, \"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844\", \"Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.\"),\n          This_condition_will_always_return_0: diag(2845, 1, \"This_condition_will_always_return_0_2845\", \"This condition will always return '{0}'.\"),\n          A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead: diag(2846, 1, \"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846\", \"A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?\"),\n          Import_declaration_0_is_using_private_name_1: diag(4e3, 1, \"Import_declaration_0_is_using_private_name_1_4000\", \"Import declaration '{0}' is using private name '{1}'.\"),\n          Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1, \"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002\", \"Type parameter '{0}' of exported class has or is using private name '{1}'.\"),\n          Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1, \"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004\", \"Type parameter '{0}' of exported interface has or is using private name '{1}'.\"),\n          Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4006, 1, \"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006\", \"Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.\"),\n          Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4008, 1, \"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008\", \"Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'.\"),\n          Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: diag(4010, 1, \"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010\", \"Type parameter '{0}' of public static method from exported class has or is using private name '{1}'.\"),\n          Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: diag(4012, 1, \"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012\", \"Type parameter '{0}' of public method from exported class has or is using private name '{1}'.\"),\n          Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: diag(4014, 1, \"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014\", \"Type parameter '{0}' of method from exported interface has or is using private name '{1}'.\"),\n          Type_parameter_0_of_exported_function_has_or_is_using_private_name_1: diag(4016, 1, \"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016\", \"Type parameter '{0}' of exported function has or is using private name '{1}'.\"),\n          Implements_clause_of_exported_class_0_has_or_is_using_private_name_1: diag(4019, 1, \"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019\", \"Implements clause of exported class '{0}' has or is using private name '{1}'.\"),\n          extends_clause_of_exported_class_0_has_or_is_using_private_name_1: diag(4020, 1, \"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020\", \"'extends' clause of exported class '{0}' has or is using private name '{1}'.\"),\n          extends_clause_of_exported_class_has_or_is_using_private_name_0: diag(4021, 1, \"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021\", \"'extends' clause of exported class has or is using private name '{0}'.\"),\n          extends_clause_of_exported_interface_0_has_or_is_using_private_name_1: diag(4022, 1, \"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022\", \"'extends' clause of exported interface '{0}' has or is using private name '{1}'.\"),\n          Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4023, 1, \"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023\", \"Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Exported_variable_0_has_or_is_using_name_1_from_private_module_2: diag(4024, 1, \"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024\", \"Exported variable '{0}' has or is using name '{1}' from private module '{2}'.\"),\n          Exported_variable_0_has_or_is_using_private_name_1: diag(4025, 1, \"Exported_variable_0_has_or_is_using_private_name_1_4025\", \"Exported variable '{0}' has or is using private name '{1}'.\"),\n          Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4026, 1, \"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026\", \"Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4027, 1, \"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027\", \"Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n          Public_static_property_0_of_exported_class_has_or_is_using_private_name_1: diag(4028, 1, \"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028\", \"Public static property '{0}' of exported class has or is using private name '{1}'.\"),\n          Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4029, 1, \"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029\", \"Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4030, 1, \"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030\", \"Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n          Public_property_0_of_exported_class_has_or_is_using_private_name_1: diag(4031, 1, \"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031\", \"Public property '{0}' of exported class has or is using private name '{1}'.\"),\n          Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4032, 1, \"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032\", \"Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'.\"),\n          Property_0_of_exported_interface_has_or_is_using_private_name_1: diag(4033, 1, \"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033\", \"Property '{0}' of exported interface has or is using private name '{1}'.\"),\n          Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4034, 1, \"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034\", \"Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1: diag(4035, 1, \"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035\", \"Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'.\"),\n          Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4036, 1, \"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036\", \"Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1: diag(4037, 1, \"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037\", \"Parameter type of public setter '{0}' from exported class has or is using private name '{1}'.\"),\n          Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4038, 1, \"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038\", \"Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4039, 1, \"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039\", \"Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1: diag(4040, 1, \"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040\", \"Return type of public static getter '{0}' from exported class has or is using private name '{1}'.\"),\n          Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4041, 1, \"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041\", \"Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4042, 1, \"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042\", \"Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1: diag(4043, 1, \"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043\", \"Return type of public getter '{0}' from exported class has or is using private name '{1}'.\"),\n          Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4044, 1, \"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044\", \"Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0: diag(4045, 1, \"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045\", \"Return type of constructor signature from exported interface has or is using private name '{0}'.\"),\n          Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4046, 1, \"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046\", \"Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0: diag(4047, 1, \"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047\", \"Return type of call signature from exported interface has or is using private name '{0}'.\"),\n          Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4048, 1, \"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048\", \"Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0: diag(4049, 1, \"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049\", \"Return type of index signature from exported interface has or is using private name '{0}'.\"),\n          Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: diag(4050, 1, \"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050\", \"Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named.\"),\n          Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: diag(4051, 1, \"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051\", \"Return type of public static method from exported class has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0: diag(4052, 1, \"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052\", \"Return type of public static method from exported class has or is using private name '{0}'.\"),\n          Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: diag(4053, 1, \"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053\", \"Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named.\"),\n          Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: diag(4054, 1, \"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054\", \"Return type of public method from exported class has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0: diag(4055, 1, \"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055\", \"Return type of public method from exported class has or is using private name '{0}'.\"),\n          Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4056, 1, \"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056\", \"Return type of method from exported interface has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0: diag(4057, 1, \"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057\", \"Return type of method from exported interface has or is using private name '{0}'.\"),\n          Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: diag(4058, 1, \"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058\", \"Return type of exported function has or is using name '{0}' from external module {1} but cannot be named.\"),\n          Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1: diag(4059, 1, \"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059\", \"Return type of exported function has or is using name '{0}' from private module '{1}'.\"),\n          Return_type_of_exported_function_has_or_is_using_private_name_0: diag(4060, 1, \"Return_type_of_exported_function_has_or_is_using_private_name_0_4060\", \"Return type of exported function has or is using private name '{0}'.\"),\n          Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4061, 1, \"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061\", \"Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4062, 1, \"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062\", \"Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1: diag(4063, 1, \"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063\", \"Parameter '{0}' of constructor from exported class has or is using private name '{1}'.\"),\n          Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4064, 1, \"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064\", \"Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4065, 1, \"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065\", \"Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.\"),\n          Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4066, 1, \"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066\", \"Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4067, 1, \"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067\", \"Parameter '{0}' of call signature from exported interface has or is using private name '{1}'.\"),\n          Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4068, 1, \"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068\", \"Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4069, 1, \"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069\", \"Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: diag(4070, 1, \"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070\", \"Parameter '{0}' of public static method from exported class has or is using private name '{1}'.\"),\n          Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4071, 1, \"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071\", \"Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4072, 1, \"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072\", \"Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: diag(4073, 1, \"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073\", \"Parameter '{0}' of public method from exported class has or is using private name '{1}'.\"),\n          Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4074, 1, \"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074\", \"Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: diag(4075, 1, \"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075\", \"Parameter '{0}' of method from exported interface has or is using private name '{1}'.\"),\n          Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4076, 1, \"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076\", \"Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2: diag(4077, 1, \"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077\", \"Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_exported_function_has_or_is_using_private_name_1: diag(4078, 1, \"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078\", \"Parameter '{0}' of exported function has or is using private name '{1}'.\"),\n          Exported_type_alias_0_has_or_is_using_private_name_1: diag(4081, 1, \"Exported_type_alias_0_has_or_is_using_private_name_1_4081\", \"Exported type alias '{0}' has or is using private name '{1}'.\"),\n          Default_export_of_the_module_has_or_is_using_private_name_0: diag(4082, 1, \"Default_export_of_the_module_has_or_is_using_private_name_0_4082\", \"Default export of the module has or is using private name '{0}'.\"),\n          Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1: diag(4083, 1, \"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083\", \"Type parameter '{0}' of exported type alias has or is using private name '{1}'.\"),\n          Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2: diag(4084, 1, \"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084\", \"Exported type alias '{0}' has or is using private name '{1}' from module {2}.\"),\n          Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1: diag(4085, 1, \"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085\", \"Extends clause for inferred type '{0}' has or is using private name '{1}'.\"),\n          Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict: diag(4090, 1, \"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090\", \"Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict.\"),\n          Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4091, 1, \"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091\", \"Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4092, 1, \"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092\", \"Parameter '{0}' of index signature from exported interface has or is using private name '{1}'.\"),\n          Property_0_of_exported_class_expression_may_not_be_private_or_protected: diag(4094, 1, \"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094\", \"Property '{0}' of exported class expression may not be private or protected.\"),\n          Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4095, 1, \"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095\", \"Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4096, 1, \"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096\", \"Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n          Public_static_method_0_of_exported_class_has_or_is_using_private_name_1: diag(4097, 1, \"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097\", \"Public static method '{0}' of exported class has or is using private name '{1}'.\"),\n          Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4098, 1, \"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098\", \"Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n          Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4099, 1, \"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099\", \"Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n          Public_method_0_of_exported_class_has_or_is_using_private_name_1: diag(4100, 1, \"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100\", \"Public method '{0}' of exported class has or is using private name '{1}'.\"),\n          Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4101, 1, \"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101\", \"Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.\"),\n          Method_0_of_exported_interface_has_or_is_using_private_name_1: diag(4102, 1, \"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102\", \"Method '{0}' of exported interface has or is using private name '{1}'.\"),\n          Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1: diag(4103, 1, \"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103\", \"Type parameter '{0}' of exported mapped object type is using private name '{1}'.\"),\n          The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1: diag(4104, 1, \"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104\", \"The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'.\"),\n          Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter: diag(4105, 1, \"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105\", \"Private or protected member '{0}' cannot be accessed on a type parameter.\"),\n          Parameter_0_of_accessor_has_or_is_using_private_name_1: diag(4106, 1, \"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106\", \"Parameter '{0}' of accessor has or is using private name '{1}'.\"),\n          Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2: diag(4107, 1, \"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107\", \"Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'.\"),\n          Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4108, 1, \"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108\", \"Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named.\"),\n          Type_arguments_for_0_circularly_reference_themselves: diag(4109, 1, \"Type_arguments_for_0_circularly_reference_themselves_4109\", \"Type arguments for '{0}' circularly reference themselves.\"),\n          Tuple_type_arguments_circularly_reference_themselves: diag(4110, 1, \"Tuple_type_arguments_circularly_reference_themselves_4110\", \"Tuple type arguments circularly reference themselves.\"),\n          Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0: diag(4111, 1, \"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111\", \"Property '{0}' comes from an index signature, so it must be accessed with ['{0}'].\"),\n          This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class: diag(4112, 1, \"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112\", \"This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class.\"),\n          This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0: diag(4113, 1, \"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113\", \"This member cannot have an 'override' modifier because it is not declared in the base class '{0}'.\"),\n          This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0: diag(4114, 1, \"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114\", \"This member must have an 'override' modifier because it overrides a member in the base class '{0}'.\"),\n          This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0: diag(4115, 1, \"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115\", \"This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'.\"),\n          This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0: diag(4116, 1, \"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116\", \"This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'.\"),\n          This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4117, 1, \"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117\", \"This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?\"),\n          The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized: diag(4118, 1, \"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118\", \"The type of this node cannot be serialized because its property '{0}' cannot be serialized.\"),\n          This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0: diag(4119, 1, \"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119\", \"This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'.\"),\n          This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0: diag(4120, 1, \"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120\", \"This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'.\"),\n          This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class: diag(4121, 1, \"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121\", \"This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class.\"),\n          This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1, \"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122\", \"This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'.\"),\n          This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1, \"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123\", \"This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?\"),\n          Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1, \"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124\", \"Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.\"),\n          resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4125, 1, \"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125\", \"'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.\"),\n          The_current_host_does_not_support_the_0_option: diag(5001, 1, \"The_current_host_does_not_support_the_0_option_5001\", \"The current host does not support the '{0}' option.\"),\n          Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1, \"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009\", \"Cannot find the common subdirectory path for the input files.\"),\n          File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1, \"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010\", \"File specification cannot end in a recursive directory wildcard ('**'): '{0}'.\"),\n          Cannot_read_file_0_Colon_1: diag(5012, 1, \"Cannot_read_file_0_Colon_1_5012\", \"Cannot read file '{0}': {1}.\"),\n          Failed_to_parse_file_0_Colon_1: diag(5014, 1, \"Failed_to_parse_file_0_Colon_1_5014\", \"Failed to parse file '{0}': {1}.\"),\n          Unknown_compiler_option_0: diag(5023, 1, \"Unknown_compiler_option_0_5023\", \"Unknown compiler option '{0}'.\"),\n          Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1, \"Compiler_option_0_requires_a_value_of_type_1_5024\", \"Compiler option '{0}' requires a value of type {1}.\"),\n          Unknown_compiler_option_0_Did_you_mean_1: diag(5025, 1, \"Unknown_compiler_option_0_Did_you_mean_1_5025\", \"Unknown compiler option '{0}'. Did you mean '{1}'?\"),\n          Could_not_write_file_0_Colon_1: diag(5033, 1, \"Could_not_write_file_0_Colon_1_5033\", \"Could not write file '{0}': {1}.\"),\n          Option_project_cannot_be_mixed_with_source_files_on_a_command_line: diag(5042, 1, \"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042\", \"Option 'project' cannot be mixed with source files on a command line.\"),\n          Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher: diag(5047, 1, \"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047\", \"Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher.\"),\n          Option_0_cannot_be_specified_when_option_target_is_ES3: diag(5048, 1, \"Option_0_cannot_be_specified_when_option_target_is_ES3_5048\", \"Option '{0}' cannot be specified when option 'target' is 'ES3'.\"),\n          Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: diag(5051, 1, \"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051\", \"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.\"),\n          Option_0_cannot_be_specified_without_specifying_option_1: diag(5052, 1, \"Option_0_cannot_be_specified_without_specifying_option_1_5052\", \"Option '{0}' cannot be specified without specifying option '{1}'.\"),\n          Option_0_cannot_be_specified_with_option_1: diag(5053, 1, \"Option_0_cannot_be_specified_with_option_1_5053\", \"Option '{0}' cannot be specified with option '{1}'.\"),\n          A_tsconfig_json_file_is_already_defined_at_Colon_0: diag(5054, 1, \"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054\", \"A 'tsconfig.json' file is already defined at: '{0}'.\"),\n          Cannot_write_file_0_because_it_would_overwrite_input_file: diag(5055, 1, \"Cannot_write_file_0_because_it_would_overwrite_input_file_5055\", \"Cannot write file '{0}' because it would overwrite input file.\"),\n          Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files: diag(5056, 1, \"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056\", \"Cannot write file '{0}' because it would be overwritten by multiple input files.\"),\n          Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0: diag(5057, 1, \"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057\", \"Cannot find a tsconfig.json file at the specified directory: '{0}'.\"),\n          The_specified_path_does_not_exist_Colon_0: diag(5058, 1, \"The_specified_path_does_not_exist_Colon_0_5058\", \"The specified path does not exist: '{0}'.\"),\n          Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier: diag(5059, 1, \"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059\", \"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.\"),\n          Pattern_0_can_have_at_most_one_Asterisk_character: diag(5061, 1, \"Pattern_0_can_have_at_most_one_Asterisk_character_5061\", \"Pattern '{0}' can have at most one '*' character.\"),\n          Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character: diag(5062, 1, \"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062\", \"Substitution '{0}' in pattern '{1}' can have at most one '*' character.\"),\n          Substitutions_for_pattern_0_should_be_an_array: diag(5063, 1, \"Substitutions_for_pattern_0_should_be_an_array_5063\", \"Substitutions for pattern '{0}' should be an array.\"),\n          Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2: diag(5064, 1, \"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064\", \"Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'.\"),\n          File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5065, 1, \"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065\", \"File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'.\"),\n          Substitutions_for_pattern_0_shouldn_t_be_an_empty_array: diag(5066, 1, \"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066\", \"Substitutions for pattern '{0}' shouldn't be an empty array.\"),\n          Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name: diag(5067, 1, \"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067\", \"Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name.\"),\n          Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig: diag(5068, 1, \"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068\", \"Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.\"),\n          Option_0_cannot_be_specified_without_specifying_option_1_or_option_2: diag(5069, 1, \"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069\", \"Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'.\"),\n          Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic: diag(5070, 1, \"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070\", \"Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'.\"),\n          Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext: diag(5071, 1, \"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071\", \"Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'.\"),\n          Unknown_build_option_0: diag(5072, 1, \"Unknown_build_option_0_5072\", \"Unknown build option '{0}'.\"),\n          Build_option_0_requires_a_value_of_type_1: diag(5073, 1, \"Build_option_0_requires_a_value_of_type_1_5073\", \"Build option '{0}' requires a value of type {1}.\"),\n          Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified: diag(5074, 1, \"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074\", \"Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified.\"),\n          _0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2: diag(5075, 1, \"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075\", \"'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'.\"),\n          _0_and_1_operations_cannot_be_mixed_without_parentheses: diag(5076, 1, \"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076\", \"'{0}' and '{1}' operations cannot be mixed without parentheses.\"),\n          Unknown_build_option_0_Did_you_mean_1: diag(5077, 1, \"Unknown_build_option_0_Did_you_mean_1_5077\", \"Unknown build option '{0}'. Did you mean '{1}'?\"),\n          Unknown_watch_option_0: diag(5078, 1, \"Unknown_watch_option_0_5078\", \"Unknown watch option '{0}'.\"),\n          Unknown_watch_option_0_Did_you_mean_1: diag(5079, 1, \"Unknown_watch_option_0_Did_you_mean_1_5079\", \"Unknown watch option '{0}'. Did you mean '{1}'?\"),\n          Watch_option_0_requires_a_value_of_type_1: diag(5080, 1, \"Watch_option_0_requires_a_value_of_type_1_5080\", \"Watch option '{0}' requires a value of type {1}.\"),\n          Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0: diag(5081, 1, \"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081\", \"Cannot find a tsconfig.json file at the current directory: {0}.\"),\n          _0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1: diag(5082, 1, \"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082\", \"'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'.\"),\n          Cannot_read_file_0: diag(5083, 1, \"Cannot_read_file_0_5083\", \"Cannot read file '{0}'.\"),\n          Tuple_members_must_all_have_names_or_all_not_have_names: diag(5084, 1, \"Tuple_members_must_all_have_names_or_all_not_have_names_5084\", \"Tuple members must all have names or all not have names.\"),\n          A_tuple_member_cannot_be_both_optional_and_rest: diag(5085, 1, \"A_tuple_member_cannot_be_both_optional_and_rest_5085\", \"A tuple member cannot be both optional and rest.\"),\n          A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type: diag(5086, 1, \"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086\", \"A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type.\"),\n          A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type: diag(5087, 1, \"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087\", \"A labeled tuple element is declared as rest with a '...' before the name, rather than before the type.\"),\n          The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary: diag(5088, 1, \"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088\", \"The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.\"),\n          Option_0_cannot_be_specified_when_option_jsx_is_1: diag(5089, 1, \"Option_0_cannot_be_specified_when_option_jsx_is_1_5089\", \"Option '{0}' cannot be specified when option 'jsx' is '{1}'.\"),\n          Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash: diag(5090, 1, \"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090\", \"Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?\"),\n          Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled: diag(5091, 1, \"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091\", \"Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled.\"),\n          The_root_value_of_a_0_file_must_be_an_object: diag(5092, 1, \"The_root_value_of_a_0_file_must_be_an_object_5092\", \"The root value of a '{0}' file must be an object.\"),\n          Compiler_option_0_may_only_be_used_with_build: diag(5093, 1, \"Compiler_option_0_may_only_be_used_with_build_5093\", \"Compiler option '--{0}' may only be used with '--build'.\"),\n          Compiler_option_0_may_not_be_used_with_build: diag(5094, 1, \"Compiler_option_0_may_not_be_used_with_build_5094\", \"Compiler option '--{0}' may not be used with '--build'.\"),\n          Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later: diag(5095, 1, \"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095\", \"Option '{0}' can only be used when 'module' is set to 'es2015' or later.\"),\n          Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set: diag(5096, 1, \"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096\", \"Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set.\"),\n          An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled: diag(5097, 1, \"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097\", \"An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled.\"),\n          Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler: diag(5098, 1, \"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098\", \"Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'.\"),\n          Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error: diag(5101, 1, \"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101\", `Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error.`),\n          Option_0_has_been_removed_Please_remove_it_from_your_configuration: diag(5102, 1, \"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102\", \"Option '{0}' has been removed. Please remove it from your configuration.\"),\n          Invalid_value_for_ignoreDeprecations: diag(5103, 1, \"Invalid_value_for_ignoreDeprecations_5103\", \"Invalid value for '--ignoreDeprecations'.\"),\n          Option_0_is_redundant_and_cannot_be_specified_with_option_1: diag(5104, 1, \"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104\", \"Option '{0}' is redundant and cannot be specified with option '{1}'.\"),\n          Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System: diag(5105, 1, \"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105\", \"Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'.\"),\n          Use_0_instead: diag(5106, 3, \"Use_0_instead_5106\", \"Use '{0}' instead.\"),\n          Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error: diag(5107, 1, \"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107\", `Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error.`),\n          Option_0_1_has_been_removed_Please_remove_it_from_your_configuration: diag(5108, 1, \"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108\", \"Option '{0}={1}' has been removed. Please remove it from your configuration.\"),\n          Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3, \"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000\", \"Generates a sourcemap for each corresponding '.d.ts' file.\"),\n          Concatenate_and_emit_output_to_single_file: diag(6001, 3, \"Concatenate_and_emit_output_to_single_file_6001\", \"Concatenate and emit output to single file.\"),\n          Generates_corresponding_d_ts_file: diag(6002, 3, \"Generates_corresponding_d_ts_file_6002\", \"Generates corresponding '.d.ts' file.\"),\n          Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations: diag(6004, 3, \"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004\", \"Specify the location where debugger should locate TypeScript files instead of source locations.\"),\n          Watch_input_files: diag(6005, 3, \"Watch_input_files_6005\", \"Watch input files.\"),\n          Redirect_output_structure_to_the_directory: diag(6006, 3, \"Redirect_output_structure_to_the_directory_6006\", \"Redirect output structure to the directory.\"),\n          Do_not_erase_const_enum_declarations_in_generated_code: diag(6007, 3, \"Do_not_erase_const_enum_declarations_in_generated_code_6007\", \"Do not erase const enum declarations in generated code.\"),\n          Do_not_emit_outputs_if_any_errors_were_reported: diag(6008, 3, \"Do_not_emit_outputs_if_any_errors_were_reported_6008\", \"Do not emit outputs if any errors were reported.\"),\n          Do_not_emit_comments_to_output: diag(6009, 3, \"Do_not_emit_comments_to_output_6009\", \"Do not emit comments to output.\"),\n          Do_not_emit_outputs: diag(6010, 3, \"Do_not_emit_outputs_6010\", \"Do not emit outputs.\"),\n          Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking: diag(6011, 3, \"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011\", \"Allow default imports from modules with no default export. This does not affect code emit, just typechecking.\"),\n          Skip_type_checking_of_declaration_files: diag(6012, 3, \"Skip_type_checking_of_declaration_files_6012\", \"Skip type checking of declaration files.\"),\n          Do_not_resolve_the_real_path_of_symlinks: diag(6013, 3, \"Do_not_resolve_the_real_path_of_symlinks_6013\", \"Do not resolve the real path of symlinks.\"),\n          Only_emit_d_ts_declaration_files: diag(6014, 3, \"Only_emit_d_ts_declaration_files_6014\", \"Only emit '.d.ts' declaration files.\"),\n          Specify_ECMAScript_target_version: diag(6015, 3, \"Specify_ECMAScript_target_version_6015\", \"Specify ECMAScript target version.\"),\n          Specify_module_code_generation: diag(6016, 3, \"Specify_module_code_generation_6016\", \"Specify module code generation.\"),\n          Print_this_message: diag(6017, 3, \"Print_this_message_6017\", \"Print this message.\"),\n          Print_the_compiler_s_version: diag(6019, 3, \"Print_the_compiler_s_version_6019\", \"Print the compiler's version.\"),\n          Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json: diag(6020, 3, \"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020\", \"Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.\"),\n          Syntax_Colon_0: diag(6023, 3, \"Syntax_Colon_0_6023\", \"Syntax: {0}\"),\n          options: diag(6024, 3, \"options_6024\", \"options\"),\n          file: diag(6025, 3, \"file_6025\", \"file\"),\n          Examples_Colon_0: diag(6026, 3, \"Examples_Colon_0_6026\", \"Examples: {0}\"),\n          Options_Colon: diag(6027, 3, \"Options_Colon_6027\", \"Options:\"),\n          Version_0: diag(6029, 3, \"Version_0_6029\", \"Version {0}\"),\n          Insert_command_line_options_and_files_from_a_file: diag(6030, 3, \"Insert_command_line_options_and_files_from_a_file_6030\", \"Insert command line options and files from a file.\"),\n          Starting_compilation_in_watch_mode: diag(6031, 3, \"Starting_compilation_in_watch_mode_6031\", \"Starting compilation in watch mode...\"),\n          File_change_detected_Starting_incremental_compilation: diag(6032, 3, \"File_change_detected_Starting_incremental_compilation_6032\", \"File change detected. Starting incremental compilation...\"),\n          KIND: diag(6034, 3, \"KIND_6034\", \"KIND\"),\n          FILE: diag(6035, 3, \"FILE_6035\", \"FILE\"),\n          VERSION: diag(6036, 3, \"VERSION_6036\", \"VERSION\"),\n          LOCATION: diag(6037, 3, \"LOCATION_6037\", \"LOCATION\"),\n          DIRECTORY: diag(6038, 3, \"DIRECTORY_6038\", \"DIRECTORY\"),\n          STRATEGY: diag(6039, 3, \"STRATEGY_6039\", \"STRATEGY\"),\n          FILE_OR_DIRECTORY: diag(6040, 3, \"FILE_OR_DIRECTORY_6040\", \"FILE OR DIRECTORY\"),\n          Errors_Files: diag(6041, 3, \"Errors_Files_6041\", \"Errors  Files\"),\n          Generates_corresponding_map_file: diag(6043, 3, \"Generates_corresponding_map_file_6043\", \"Generates corresponding '.map' file.\"),\n          Compiler_option_0_expects_an_argument: diag(6044, 1, \"Compiler_option_0_expects_an_argument_6044\", \"Compiler option '{0}' expects an argument.\"),\n          Unterminated_quoted_string_in_response_file_0: diag(6045, 1, \"Unterminated_quoted_string_in_response_file_0_6045\", \"Unterminated quoted string in response file '{0}'.\"),\n          Argument_for_0_option_must_be_Colon_1: diag(6046, 1, \"Argument_for_0_option_must_be_Colon_1_6046\", \"Argument for '{0}' option must be: {1}.\"),\n          Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: diag(6048, 1, \"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048\", \"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.\"),\n          Unable_to_open_file_0: diag(6050, 1, \"Unable_to_open_file_0_6050\", \"Unable to open file '{0}'.\"),\n          Corrupted_locale_file_0: diag(6051, 1, \"Corrupted_locale_file_0_6051\", \"Corrupted locale file {0}.\"),\n          Raise_error_on_expressions_and_declarations_with_an_implied_any_type: diag(6052, 3, \"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052\", \"Raise error on expressions and declarations with an implied 'any' type.\"),\n          File_0_not_found: diag(6053, 1, \"File_0_not_found_6053\", \"File '{0}' not found.\"),\n          File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1: diag(6054, 1, \"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054\", \"File '{0}' has an unsupported extension. The only supported extensions are {1}.\"),\n          Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures: diag(6055, 3, \"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055\", \"Suppress noImplicitAny errors for indexing objects lacking index signatures.\"),\n          Do_not_emit_declarations_for_code_that_has_an_internal_annotation: diag(6056, 3, \"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056\", \"Do not emit declarations for code that has an '@internal' annotation.\"),\n          Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir: diag(6058, 3, \"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058\", \"Specify the root directory of input files. Use to control the output directory structure with --outDir.\"),\n          File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files: diag(6059, 1, \"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059\", \"File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files.\"),\n          Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix: diag(6060, 3, \"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060\", \"Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).\"),\n          NEWLINE: diag(6061, 3, \"NEWLINE_6061\", \"NEWLINE\"),\n          Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line: diag(6064, 1, \"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064\", \"Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line.\"),\n          Enables_experimental_support_for_ES7_decorators: diag(6065, 3, \"Enables_experimental_support_for_ES7_decorators_6065\", \"Enables experimental support for ES7 decorators.\"),\n          Enables_experimental_support_for_emitting_type_metadata_for_decorators: diag(6066, 3, \"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066\", \"Enables experimental support for emitting type metadata for decorators.\"),\n          Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file: diag(6070, 3, \"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070\", \"Initializes a TypeScript project and creates a tsconfig.json file.\"),\n          Successfully_created_a_tsconfig_json_file: diag(6071, 3, \"Successfully_created_a_tsconfig_json_file_6071\", \"Successfully created a tsconfig.json file.\"),\n          Suppress_excess_property_checks_for_object_literals: diag(6072, 3, \"Suppress_excess_property_checks_for_object_literals_6072\", \"Suppress excess property checks for object literals.\"),\n          Stylize_errors_and_messages_using_color_and_context_experimental: diag(6073, 3, \"Stylize_errors_and_messages_using_color_and_context_experimental_6073\", \"Stylize errors and messages using color and context (experimental).\"),\n          Do_not_report_errors_on_unused_labels: diag(6074, 3, \"Do_not_report_errors_on_unused_labels_6074\", \"Do not report errors on unused labels.\"),\n          Report_error_when_not_all_code_paths_in_function_return_a_value: diag(6075, 3, \"Report_error_when_not_all_code_paths_in_function_return_a_value_6075\", \"Report error when not all code paths in function return a value.\"),\n          Report_errors_for_fallthrough_cases_in_switch_statement: diag(6076, 3, \"Report_errors_for_fallthrough_cases_in_switch_statement_6076\", \"Report errors for fallthrough cases in switch statement.\"),\n          Do_not_report_errors_on_unreachable_code: diag(6077, 3, \"Do_not_report_errors_on_unreachable_code_6077\", \"Do not report errors on unreachable code.\"),\n          Disallow_inconsistently_cased_references_to_the_same_file: diag(6078, 3, \"Disallow_inconsistently_cased_references_to_the_same_file_6078\", \"Disallow inconsistently-cased references to the same file.\"),\n          Specify_library_files_to_be_included_in_the_compilation: diag(6079, 3, \"Specify_library_files_to_be_included_in_the_compilation_6079\", \"Specify library files to be included in the compilation.\"),\n          Specify_JSX_code_generation: diag(6080, 3, \"Specify_JSX_code_generation_6080\", \"Specify JSX code generation.\"),\n          File_0_has_an_unsupported_extension_so_skipping_it: diag(6081, 3, \"File_0_has_an_unsupported_extension_so_skipping_it_6081\", \"File '{0}' has an unsupported extension, so skipping it.\"),\n          Only_amd_and_system_modules_are_supported_alongside_0: diag(6082, 1, \"Only_amd_and_system_modules_are_supported_alongside_0_6082\", \"Only 'amd' and 'system' modules are supported alongside --{0}.\"),\n          Base_directory_to_resolve_non_absolute_module_names: diag(6083, 3, \"Base_directory_to_resolve_non_absolute_module_names_6083\", \"Base directory to resolve non-absolute module names.\"),\n          Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit: diag(6084, 3, \"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084\", \"[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit\"),\n          Enable_tracing_of_the_name_resolution_process: diag(6085, 3, \"Enable_tracing_of_the_name_resolution_process_6085\", \"Enable tracing of the name resolution process.\"),\n          Resolving_module_0_from_1: diag(6086, 3, \"Resolving_module_0_from_1_6086\", \"======== Resolving module '{0}' from '{1}'. ========\"),\n          Explicitly_specified_module_resolution_kind_Colon_0: diag(6087, 3, \"Explicitly_specified_module_resolution_kind_Colon_0_6087\", \"Explicitly specified module resolution kind: '{0}'.\"),\n          Module_resolution_kind_is_not_specified_using_0: diag(6088, 3, \"Module_resolution_kind_is_not_specified_using_0_6088\", \"Module resolution kind is not specified, using '{0}'.\"),\n          Module_name_0_was_successfully_resolved_to_1: diag(6089, 3, \"Module_name_0_was_successfully_resolved_to_1_6089\", \"======== Module name '{0}' was successfully resolved to '{1}'. ========\"),\n          Module_name_0_was_not_resolved: diag(6090, 3, \"Module_name_0_was_not_resolved_6090\", \"======== Module name '{0}' was not resolved. ========\"),\n          paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0: diag(6091, 3, \"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091\", \"'paths' option is specified, looking for a pattern to match module name '{0}'.\"),\n          Module_name_0_matched_pattern_1: diag(6092, 3, \"Module_name_0_matched_pattern_1_6092\", \"Module name '{0}', matched pattern '{1}'.\"),\n          Trying_substitution_0_candidate_module_location_Colon_1: diag(6093, 3, \"Trying_substitution_0_candidate_module_location_Colon_1_6093\", \"Trying substitution '{0}', candidate module location: '{1}'.\"),\n          Resolving_module_name_0_relative_to_base_url_1_2: diag(6094, 3, \"Resolving_module_name_0_relative_to_base_url_1_2_6094\", \"Resolving module name '{0}' relative to base url '{1}' - '{2}'.\"),\n          Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1: diag(6095, 3, \"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095\", \"Loading module as file / folder, candidate module location '{0}', target file types: {1}.\"),\n          File_0_does_not_exist: diag(6096, 3, \"File_0_does_not_exist_6096\", \"File '{0}' does not exist.\"),\n          File_0_exists_use_it_as_a_name_resolution_result: diag(6097, 3, \"File_0_exists_use_it_as_a_name_resolution_result_6097\", \"File '{0}' exists - use it as a name resolution result.\"),\n          Loading_module_0_from_node_modules_folder_target_file_types_Colon_1: diag(6098, 3, \"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098\", \"Loading module '{0}' from 'node_modules' folder, target file types: {1}.\"),\n          Found_package_json_at_0: diag(6099, 3, \"Found_package_json_at_0_6099\", \"Found 'package.json' at '{0}'.\"),\n          package_json_does_not_have_a_0_field: diag(6100, 3, \"package_json_does_not_have_a_0_field_6100\", \"'package.json' does not have a '{0}' field.\"),\n          package_json_has_0_field_1_that_references_2: diag(6101, 3, \"package_json_has_0_field_1_that_references_2_6101\", \"'package.json' has '{0}' field '{1}' that references '{2}'.\"),\n          Allow_javascript_files_to_be_compiled: diag(6102, 3, \"Allow_javascript_files_to_be_compiled_6102\", \"Allow javascript files to be compiled.\"),\n          Checking_if_0_is_the_longest_matching_prefix_for_1_2: diag(6104, 3, \"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104\", \"Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'.\"),\n          Expected_type_of_0_field_in_package_json_to_be_1_got_2: diag(6105, 3, \"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105\", \"Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'.\"),\n          baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1: diag(6106, 3, \"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106\", \"'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'.\"),\n          rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0: diag(6107, 3, \"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107\", \"'rootDirs' option is set, using it to resolve relative module name '{0}'.\"),\n          Longest_matching_prefix_for_0_is_1: diag(6108, 3, \"Longest_matching_prefix_for_0_is_1_6108\", \"Longest matching prefix for '{0}' is '{1}'.\"),\n          Loading_0_from_the_root_dir_1_candidate_location_2: diag(6109, 3, \"Loading_0_from_the_root_dir_1_candidate_location_2_6109\", \"Loading '{0}' from the root dir '{1}', candidate location '{2}'.\"),\n          Trying_other_entries_in_rootDirs: diag(6110, 3, \"Trying_other_entries_in_rootDirs_6110\", \"Trying other entries in 'rootDirs'.\"),\n          Module_resolution_using_rootDirs_has_failed: diag(6111, 3, \"Module_resolution_using_rootDirs_has_failed_6111\", \"Module resolution using 'rootDirs' has failed.\"),\n          Do_not_emit_use_strict_directives_in_module_output: diag(6112, 3, \"Do_not_emit_use_strict_directives_in_module_output_6112\", \"Do not emit 'use strict' directives in module output.\"),\n          Enable_strict_null_checks: diag(6113, 3, \"Enable_strict_null_checks_6113\", \"Enable strict null checks.\"),\n          Unknown_option_excludes_Did_you_mean_exclude: diag(6114, 1, \"Unknown_option_excludes_Did_you_mean_exclude_6114\", \"Unknown option 'excludes'. Did you mean 'exclude'?\"),\n          Raise_error_on_this_expressions_with_an_implied_any_type: diag(6115, 3, \"Raise_error_on_this_expressions_with_an_implied_any_type_6115\", \"Raise error on 'this' expressions with an implied 'any' type.\"),\n          Resolving_type_reference_directive_0_containing_file_1_root_directory_2: diag(6116, 3, \"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116\", \"======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========\"),\n          Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2: diag(6119, 3, \"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119\", \"======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========\"),\n          Type_reference_directive_0_was_not_resolved: diag(6120, 3, \"Type_reference_directive_0_was_not_resolved_6120\", \"======== Type reference directive '{0}' was not resolved. ========\"),\n          Resolving_with_primary_search_path_0: diag(6121, 3, \"Resolving_with_primary_search_path_0_6121\", \"Resolving with primary search path '{0}'.\"),\n          Root_directory_cannot_be_determined_skipping_primary_search_paths: diag(6122, 3, \"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122\", \"Root directory cannot be determined, skipping primary search paths.\"),\n          Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set: diag(6123, 3, \"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123\", \"======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========\"),\n          Type_declaration_files_to_be_included_in_compilation: diag(6124, 3, \"Type_declaration_files_to_be_included_in_compilation_6124\", \"Type declaration files to be included in compilation.\"),\n          Looking_up_in_node_modules_folder_initial_location_0: diag(6125, 3, \"Looking_up_in_node_modules_folder_initial_location_0_6125\", \"Looking up in 'node_modules' folder, initial location '{0}'.\"),\n          Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder: diag(6126, 3, \"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126\", \"Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder.\"),\n          Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1: diag(6127, 3, \"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127\", \"======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========\"),\n          Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set: diag(6128, 3, \"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128\", \"======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========\"),\n          Resolving_real_path_for_0_result_1: diag(6130, 3, \"Resolving_real_path_for_0_result_1_6130\", \"Resolving real path for '{0}', result '{1}'.\"),\n          Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system: diag(6131, 1, \"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131\", \"Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'.\"),\n          File_name_0_has_a_1_extension_stripping_it: diag(6132, 3, \"File_name_0_has_a_1_extension_stripping_it_6132\", \"File name '{0}' has a '{1}' extension - stripping it.\"),\n          _0_is_declared_but_its_value_is_never_read: diag(\n            6133,\n            1,\n            \"_0_is_declared_but_its_value_is_never_read_6133\",\n            \"'{0}' is declared but its value is never read.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Report_errors_on_unused_locals: diag(6134, 3, \"Report_errors_on_unused_locals_6134\", \"Report errors on unused locals.\"),\n          Report_errors_on_unused_parameters: diag(6135, 3, \"Report_errors_on_unused_parameters_6135\", \"Report errors on unused parameters.\"),\n          The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files: diag(6136, 3, \"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136\", \"The maximum dependency depth to search under node_modules and load JavaScript files.\"),\n          Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1: diag(6137, 1, \"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137\", \"Cannot import type declaration files. Consider importing '{0}' instead of '{1}'.\"),\n          Property_0_is_declared_but_its_value_is_never_read: diag(\n            6138,\n            1,\n            \"Property_0_is_declared_but_its_value_is_never_read_6138\",\n            \"Property '{0}' is declared but its value is never read.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Import_emit_helpers_from_tslib: diag(6139, 3, \"Import_emit_helpers_from_tslib_6139\", \"Import emit helpers from 'tslib'.\"),\n          Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2: diag(6140, 1, \"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140\", \"Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'.\"),\n          Parse_in_strict_mode_and_emit_use_strict_for_each_source_file: diag(6141, 3, \"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141\", 'Parse in strict mode and emit \"use strict\" for each source file.'),\n          Module_0_was_resolved_to_1_but_jsx_is_not_set: diag(6142, 1, \"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142\", \"Module '{0}' was resolved to '{1}', but '--jsx' is not set.\"),\n          Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1: diag(6144, 3, \"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144\", \"Module '{0}' was resolved as locally declared ambient module in file '{1}'.\"),\n          Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified: diag(6145, 3, \"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145\", \"Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified.\"),\n          Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: diag(6146, 3, \"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146\", \"Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'.\"),\n          Resolution_for_module_0_was_found_in_cache_from_location_1: diag(6147, 3, \"Resolution_for_module_0_was_found_in_cache_from_location_1_6147\", \"Resolution for module '{0}' was found in cache from location '{1}'.\"),\n          Directory_0_does_not_exist_skipping_all_lookups_in_it: diag(6148, 3, \"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148\", \"Directory '{0}' does not exist, skipping all lookups in it.\"),\n          Show_diagnostic_information: diag(6149, 3, \"Show_diagnostic_information_6149\", \"Show diagnostic information.\"),\n          Show_verbose_diagnostic_information: diag(6150, 3, \"Show_verbose_diagnostic_information_6150\", \"Show verbose diagnostic information.\"),\n          Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: diag(6151, 3, \"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151\", \"Emit a single file with source maps instead of having a separate file.\"),\n          Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set: diag(6152, 3, \"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152\", \"Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set.\"),\n          Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule: diag(6153, 3, \"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153\", \"Transpile each file as a separate module (similar to 'ts.transpileModule').\"),\n          Print_names_of_generated_files_part_of_the_compilation: diag(6154, 3, \"Print_names_of_generated_files_part_of_the_compilation_6154\", \"Print names of generated files part of the compilation.\"),\n          Print_names_of_files_part_of_the_compilation: diag(6155, 3, \"Print_names_of_files_part_of_the_compilation_6155\", \"Print names of files part of the compilation.\"),\n          The_locale_used_when_displaying_messages_to_the_user_e_g_en_us: diag(6156, 3, \"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156\", \"The locale used when displaying messages to the user (e.g. 'en-us')\"),\n          Do_not_generate_custom_helper_functions_like_extends_in_compiled_output: diag(6157, 3, \"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157\", \"Do not generate custom helper functions like '__extends' in compiled output.\"),\n          Do_not_include_the_default_library_file_lib_d_ts: diag(6158, 3, \"Do_not_include_the_default_library_file_lib_d_ts_6158\", \"Do not include the default library file (lib.d.ts).\"),\n          Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files: diag(6159, 3, \"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159\", \"Do not add triple-slash references or imported modules to the list of compiled files.\"),\n          Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files: diag(6160, 3, \"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160\", \"[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files.\"),\n          List_of_folders_to_include_type_definitions_from: diag(6161, 3, \"List_of_folders_to_include_type_definitions_from_6161\", \"List of folders to include type definitions from.\"),\n          Disable_size_limitations_on_JavaScript_projects: diag(6162, 3, \"Disable_size_limitations_on_JavaScript_projects_6162\", \"Disable size limitations on JavaScript projects.\"),\n          The_character_set_of_the_input_files: diag(6163, 3, \"The_character_set_of_the_input_files_6163\", \"The character set of the input files.\"),\n          Do_not_truncate_error_messages: diag(6165, 3, \"Do_not_truncate_error_messages_6165\", \"Do not truncate error messages.\"),\n          Output_directory_for_generated_declaration_files: diag(6166, 3, \"Output_directory_for_generated_declaration_files_6166\", \"Output directory for generated declaration files.\"),\n          A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl: diag(6167, 3, \"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167\", \"A series of entries which re-map imports to lookup locations relative to the 'baseUrl'.\"),\n          List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime: diag(6168, 3, \"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168\", \"List of root folders whose combined content represents the structure of the project at runtime.\"),\n          Show_all_compiler_options: diag(6169, 3, \"Show_all_compiler_options_6169\", \"Show all compiler options.\"),\n          Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: diag(6170, 3, \"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170\", \"[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file\"),\n          Command_line_Options: diag(6171, 3, \"Command_line_Options_6171\", \"Command-line Options\"),\n          Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3: diag(6179, 3, \"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179\", \"Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.\"),\n          Enable_all_strict_type_checking_options: diag(6180, 3, \"Enable_all_strict_type_checking_options_6180\", \"Enable all strict type-checking options.\"),\n          Scoped_package_detected_looking_in_0: diag(6182, 3, \"Scoped_package_detected_looking_in_0_6182\", \"Scoped package detected, looking in '{0}'\"),\n          Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2: diag(6183, 3, \"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183\", \"Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'.\"),\n          Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: diag(6184, 3, \"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184\", \"Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'.\"),\n          Enable_strict_checking_of_function_types: diag(6186, 3, \"Enable_strict_checking_of_function_types_6186\", \"Enable strict checking of function types.\"),\n          Enable_strict_checking_of_property_initialization_in_classes: diag(6187, 3, \"Enable_strict_checking_of_property_initialization_in_classes_6187\", \"Enable strict checking of property initialization in classes.\"),\n          Numeric_separators_are_not_allowed_here: diag(6188, 1, \"Numeric_separators_are_not_allowed_here_6188\", \"Numeric separators are not allowed here.\"),\n          Multiple_consecutive_numeric_separators_are_not_permitted: diag(6189, 1, \"Multiple_consecutive_numeric_separators_are_not_permitted_6189\", \"Multiple consecutive numeric separators are not permitted.\"),\n          Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen: diag(6191, 3, \"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191\", \"Whether to keep outdated console output in watch mode instead of clearing the screen.\"),\n          All_imports_in_import_declaration_are_unused: diag(\n            6192,\n            1,\n            \"All_imports_in_import_declaration_are_unused_6192\",\n            \"All imports in import declaration are unused.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Found_1_error_Watching_for_file_changes: diag(6193, 3, \"Found_1_error_Watching_for_file_changes_6193\", \"Found 1 error. Watching for file changes.\"),\n          Found_0_errors_Watching_for_file_changes: diag(6194, 3, \"Found_0_errors_Watching_for_file_changes_6194\", \"Found {0} errors. Watching for file changes.\"),\n          Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols: diag(6195, 3, \"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195\", \"Resolve 'keyof' to string valued property names only (no numbers or symbols).\"),\n          _0_is_declared_but_never_used: diag(\n            6196,\n            1,\n            \"_0_is_declared_but_never_used_6196\",\n            \"'{0}' is declared but never used.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Include_modules_imported_with_json_extension: diag(6197, 3, \"Include_modules_imported_with_json_extension_6197\", \"Include modules imported with '.json' extension\"),\n          All_destructured_elements_are_unused: diag(\n            6198,\n            1,\n            \"All_destructured_elements_are_unused_6198\",\n            \"All destructured elements are unused.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          All_variables_are_unused: diag(\n            6199,\n            1,\n            \"All_variables_are_unused_6199\",\n            \"All variables are unused.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0: diag(6200, 1, \"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200\", \"Definitions of the following identifiers conflict with those in another file: {0}\"),\n          Conflicts_are_in_this_file: diag(6201, 3, \"Conflicts_are_in_this_file_6201\", \"Conflicts are in this file.\"),\n          Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: diag(6202, 1, \"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202\", \"Project references may not form a circular graph. Cycle detected: {0}\"),\n          _0_was_also_declared_here: diag(6203, 3, \"_0_was_also_declared_here_6203\", \"'{0}' was also declared here.\"),\n          and_here: diag(6204, 3, \"and_here_6204\", \"and here.\"),\n          All_type_parameters_are_unused: diag(6205, 1, \"All_type_parameters_are_unused_6205\", \"All type parameters are unused.\"),\n          package_json_has_a_typesVersions_field_with_version_specific_path_mappings: diag(6206, 3, \"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206\", \"'package.json' has a 'typesVersions' field with version-specific path mappings.\"),\n          package_json_does_not_have_a_typesVersions_entry_that_matches_version_0: diag(6207, 3, \"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207\", \"'package.json' does not have a 'typesVersions' entry that matches version '{0}'.\"),\n          package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2: diag(6208, 3, \"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208\", \"'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'.\"),\n          package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range: diag(6209, 3, \"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209\", \"'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range.\"),\n          An_argument_for_0_was_not_provided: diag(6210, 3, \"An_argument_for_0_was_not_provided_6210\", \"An argument for '{0}' was not provided.\"),\n          An_argument_matching_this_binding_pattern_was_not_provided: diag(6211, 3, \"An_argument_matching_this_binding_pattern_was_not_provided_6211\", \"An argument matching this binding pattern was not provided.\"),\n          Did_you_mean_to_call_this_expression: diag(6212, 3, \"Did_you_mean_to_call_this_expression_6212\", \"Did you mean to call this expression?\"),\n          Did_you_mean_to_use_new_with_this_expression: diag(6213, 3, \"Did_you_mean_to_use_new_with_this_expression_6213\", \"Did you mean to use 'new' with this expression?\"),\n          Enable_strict_bind_call_and_apply_methods_on_functions: diag(6214, 3, \"Enable_strict_bind_call_and_apply_methods_on_functions_6214\", \"Enable strict 'bind', 'call', and 'apply' methods on functions.\"),\n          Using_compiler_options_of_project_reference_redirect_0: diag(6215, 3, \"Using_compiler_options_of_project_reference_redirect_0_6215\", \"Using compiler options of project reference redirect '{0}'.\"),\n          Found_1_error: diag(6216, 3, \"Found_1_error_6216\", \"Found 1 error.\"),\n          Found_0_errors: diag(6217, 3, \"Found_0_errors_6217\", \"Found {0} errors.\"),\n          Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2: diag(6218, 3, \"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218\", \"======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========\"),\n          Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3: diag(6219, 3, \"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219\", \"======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========\"),\n          package_json_had_a_falsy_0_field: diag(6220, 3, \"package_json_had_a_falsy_0_field_6220\", \"'package.json' had a falsy '{0}' field.\"),\n          Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects: diag(6221, 3, \"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221\", \"Disable use of source files instead of declaration files from referenced projects.\"),\n          Emit_class_fields_with_Define_instead_of_Set: diag(6222, 3, \"Emit_class_fields_with_Define_instead_of_Set_6222\", \"Emit class fields with Define instead of Set.\"),\n          Generates_a_CPU_profile: diag(6223, 3, \"Generates_a_CPU_profile_6223\", \"Generates a CPU profile.\"),\n          Disable_solution_searching_for_this_project: diag(6224, 3, \"Disable_solution_searching_for_this_project_6224\", \"Disable solution searching for this project.\"),\n          Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory: diag(6225, 3, \"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225\", \"Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'.\"),\n          Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling: diag(6226, 3, \"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226\", \"Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'.\"),\n          Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize: diag(6227, 3, \"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227\", \"Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'.\"),\n          Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3: diag(6229, 1, \"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229\", \"Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'.\"),\n          Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line: diag(6230, 1, \"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230\", \"Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line.\"),\n          Could_not_resolve_the_path_0_with_the_extensions_Colon_1: diag(6231, 1, \"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231\", \"Could not resolve the path '{0}' with the extensions: {1}.\"),\n          Declaration_augments_declaration_in_another_file_This_cannot_be_serialized: diag(6232, 1, \"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232\", \"Declaration augments declaration in another file. This cannot be serialized.\"),\n          This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file: diag(6233, 1, \"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233\", \"This is the declaration being augmented. Consider moving the augmenting declaration into the same file.\"),\n          This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without: diag(6234, 1, \"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234\", \"This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?\"),\n          Disable_loading_referenced_projects: diag(6235, 3, \"Disable_loading_referenced_projects_6235\", \"Disable loading referenced projects.\"),\n          Arguments_for_the_rest_parameter_0_were_not_provided: diag(6236, 1, \"Arguments_for_the_rest_parameter_0_were_not_provided_6236\", \"Arguments for the rest parameter '{0}' were not provided.\"),\n          Generates_an_event_trace_and_a_list_of_types: diag(6237, 3, \"Generates_an_event_trace_and_a_list_of_types_6237\", \"Generates an event trace and a list of types.\"),\n          Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react: diag(6238, 1, \"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238\", \"Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react\"),\n          File_0_exists_according_to_earlier_cached_lookups: diag(6239, 3, \"File_0_exists_according_to_earlier_cached_lookups_6239\", \"File '{0}' exists according to earlier cached lookups.\"),\n          File_0_does_not_exist_according_to_earlier_cached_lookups: diag(6240, 3, \"File_0_does_not_exist_according_to_earlier_cached_lookups_6240\", \"File '{0}' does not exist according to earlier cached lookups.\"),\n          Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1: diag(6241, 3, \"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241\", \"Resolution for type reference directive '{0}' was found in cache from location '{1}'.\"),\n          Resolving_type_reference_directive_0_containing_file_1: diag(6242, 3, \"Resolving_type_reference_directive_0_containing_file_1_6242\", \"======== Resolving type reference directive '{0}', containing file '{1}'. ========\"),\n          Interpret_optional_property_types_as_written_rather_than_adding_undefined: diag(6243, 3, \"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243\", \"Interpret optional property types as written, rather than adding 'undefined'.\"),\n          Modules: diag(6244, 3, \"Modules_6244\", \"Modules\"),\n          File_Management: diag(6245, 3, \"File_Management_6245\", \"File Management\"),\n          Emit: diag(6246, 3, \"Emit_6246\", \"Emit\"),\n          JavaScript_Support: diag(6247, 3, \"JavaScript_Support_6247\", \"JavaScript Support\"),\n          Type_Checking: diag(6248, 3, \"Type_Checking_6248\", \"Type Checking\"),\n          Editor_Support: diag(6249, 3, \"Editor_Support_6249\", \"Editor Support\"),\n          Watch_and_Build_Modes: diag(6250, 3, \"Watch_and_Build_Modes_6250\", \"Watch and Build Modes\"),\n          Compiler_Diagnostics: diag(6251, 3, \"Compiler_Diagnostics_6251\", \"Compiler Diagnostics\"),\n          Interop_Constraints: diag(6252, 3, \"Interop_Constraints_6252\", \"Interop Constraints\"),\n          Backwards_Compatibility: diag(6253, 3, \"Backwards_Compatibility_6253\", \"Backwards Compatibility\"),\n          Language_and_Environment: diag(6254, 3, \"Language_and_Environment_6254\", \"Language and Environment\"),\n          Projects: diag(6255, 3, \"Projects_6255\", \"Projects\"),\n          Output_Formatting: diag(6256, 3, \"Output_Formatting_6256\", \"Output Formatting\"),\n          Completeness: diag(6257, 3, \"Completeness_6257\", \"Completeness\"),\n          _0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: diag(6258, 1, \"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258\", \"'{0}' should be set inside the 'compilerOptions' object of the config json file\"),\n          Found_1_error_in_1: diag(6259, 3, \"Found_1_error_in_1_6259\", \"Found 1 error in {1}\"),\n          Found_0_errors_in_the_same_file_starting_at_Colon_1: diag(6260, 3, \"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260\", \"Found {0} errors in the same file, starting at: {1}\"),\n          Found_0_errors_in_1_files: diag(6261, 3, \"Found_0_errors_in_1_files_6261\", \"Found {0} errors in {1} files.\"),\n          File_name_0_has_a_1_extension_looking_up_2_instead: diag(6262, 3, \"File_name_0_has_a_1_extension_looking_up_2_instead_6262\", \"File name '{0}' has a '{1}' extension - looking up '{2}' instead.\"),\n          Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set: diag(6263, 1, \"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263\", \"Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set.\"),\n          Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present: diag(6264, 3, \"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264\", \"Enable importing files with any extension, provided a declaration file is present.\"),\n          Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve: diag(6270, 3, \"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270\", \"Directory '{0}' has no containing package.json scope. Imports will not resolve.\"),\n          Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1: diag(6271, 3, \"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271\", \"Import specifier '{0}' does not exist in package.json scope at path '{1}'.\"),\n          Invalid_import_specifier_0_has_no_possible_resolutions: diag(6272, 3, \"Invalid_import_specifier_0_has_no_possible_resolutions_6272\", \"Invalid import specifier '{0}' has no possible resolutions.\"),\n          package_json_scope_0_has_no_imports_defined: diag(6273, 3, \"package_json_scope_0_has_no_imports_defined_6273\", \"package.json scope '{0}' has no imports defined.\"),\n          package_json_scope_0_explicitly_maps_specifier_1_to_null: diag(6274, 3, \"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274\", \"package.json scope '{0}' explicitly maps specifier '{1}' to null.\"),\n          package_json_scope_0_has_invalid_type_for_target_of_specifier_1: diag(6275, 3, \"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275\", \"package.json scope '{0}' has invalid type for target of specifier '{1}'\"),\n          Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1: diag(6276, 3, \"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276\", \"Export specifier '{0}' does not exist in package.json scope at path '{1}'.\"),\n          Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update: diag(6277, 3, \"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277\", \"Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.\"),\n          There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings: diag(6278, 3, \"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278\", `There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings.`),\n          Enable_project_compilation: diag(6302, 3, \"Enable_project_compilation_6302\", \"Enable project compilation\"),\n          Composite_projects_may_not_disable_declaration_emit: diag(6304, 1, \"Composite_projects_may_not_disable_declaration_emit_6304\", \"Composite projects may not disable declaration emit.\"),\n          Output_file_0_has_not_been_built_from_source_file_1: diag(6305, 1, \"Output_file_0_has_not_been_built_from_source_file_1_6305\", \"Output file '{0}' has not been built from source file '{1}'.\"),\n          Referenced_project_0_must_have_setting_composite_Colon_true: diag(6306, 1, \"Referenced_project_0_must_have_setting_composite_Colon_true_6306\", `Referenced project '{0}' must have setting \"composite\": true.`),\n          File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern: diag(6307, 1, \"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307\", \"File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern.\"),\n          Cannot_prepend_project_0_because_it_does_not_have_outFile_set: diag(6308, 1, \"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308\", \"Cannot prepend project '{0}' because it does not have 'outFile' set\"),\n          Output_file_0_from_project_1_does_not_exist: diag(6309, 1, \"Output_file_0_from_project_1_does_not_exist_6309\", \"Output file '{0}' from project '{1}' does not exist\"),\n          Referenced_project_0_may_not_disable_emit: diag(6310, 1, \"Referenced_project_0_may_not_disable_emit_6310\", \"Referenced project '{0}' may not disable emit.\"),\n          Project_0_is_out_of_date_because_output_1_is_older_than_input_2: diag(6350, 3, \"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350\", \"Project '{0}' is out of date because output '{1}' is older than input '{2}'\"),\n          Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2: diag(6351, 3, \"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351\", \"Project '{0}' is up to date because newest input '{1}' is older than output '{2}'\"),\n          Project_0_is_out_of_date_because_output_file_1_does_not_exist: diag(6352, 3, \"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352\", \"Project '{0}' is out of date because output file '{1}' does not exist\"),\n          Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date: diag(6353, 3, \"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353\", \"Project '{0}' is out of date because its dependency '{1}' is out of date\"),\n          Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies: diag(6354, 3, \"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354\", \"Project '{0}' is up to date with .d.ts files from its dependencies\"),\n          Projects_in_this_build_Colon_0: diag(6355, 3, \"Projects_in_this_build_Colon_0_6355\", \"Projects in this build: {0}\"),\n          A_non_dry_build_would_delete_the_following_files_Colon_0: diag(6356, 3, \"A_non_dry_build_would_delete_the_following_files_Colon_0_6356\", \"A non-dry build would delete the following files: {0}\"),\n          A_non_dry_build_would_build_project_0: diag(6357, 3, \"A_non_dry_build_would_build_project_0_6357\", \"A non-dry build would build project '{0}'\"),\n          Building_project_0: diag(6358, 3, \"Building_project_0_6358\", \"Building project '{0}'...\"),\n          Updating_output_timestamps_of_project_0: diag(6359, 3, \"Updating_output_timestamps_of_project_0_6359\", \"Updating output timestamps of project '{0}'...\"),\n          Project_0_is_up_to_date: diag(6361, 3, \"Project_0_is_up_to_date_6361\", \"Project '{0}' is up to date\"),\n          Skipping_build_of_project_0_because_its_dependency_1_has_errors: diag(6362, 3, \"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362\", \"Skipping build of project '{0}' because its dependency '{1}' has errors\"),\n          Project_0_can_t_be_built_because_its_dependency_1_has_errors: diag(6363, 3, \"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363\", \"Project '{0}' can't be built because its dependency '{1}' has errors\"),\n          Build_one_or_more_projects_and_their_dependencies_if_out_of_date: diag(6364, 3, \"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364\", \"Build one or more projects and their dependencies, if out of date\"),\n          Delete_the_outputs_of_all_projects: diag(6365, 3, \"Delete_the_outputs_of_all_projects_6365\", \"Delete the outputs of all projects.\"),\n          Show_what_would_be_built_or_deleted_if_specified_with_clean: diag(6367, 3, \"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367\", \"Show what would be built (or deleted, if specified with '--clean')\"),\n          Option_build_must_be_the_first_command_line_argument: diag(6369, 1, \"Option_build_must_be_the_first_command_line_argument_6369\", \"Option '--build' must be the first command line argument.\"),\n          Options_0_and_1_cannot_be_combined: diag(6370, 1, \"Options_0_and_1_cannot_be_combined_6370\", \"Options '{0}' and '{1}' cannot be combined.\"),\n          Updating_unchanged_output_timestamps_of_project_0: diag(6371, 3, \"Updating_unchanged_output_timestamps_of_project_0_6371\", \"Updating unchanged output timestamps of project '{0}'...\"),\n          Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed: diag(6372, 3, \"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372\", \"Project '{0}' is out of date because output of its dependency '{1}' has changed\"),\n          Updating_output_of_project_0: diag(6373, 3, \"Updating_output_of_project_0_6373\", \"Updating output of project '{0}'...\"),\n          A_non_dry_build_would_update_timestamps_for_output_of_project_0: diag(6374, 3, \"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374\", \"A non-dry build would update timestamps for output of project '{0}'\"),\n          A_non_dry_build_would_update_output_of_project_0: diag(6375, 3, \"A_non_dry_build_would_update_output_of_project_0_6375\", \"A non-dry build would update output of project '{0}'\"),\n          Cannot_update_output_of_project_0_because_there_was_error_reading_file_1: diag(6376, 3, \"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376\", \"Cannot update output of project '{0}' because there was error reading file '{1}'\"),\n          Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1: diag(6377, 1, \"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377\", \"Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'\"),\n          Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1, \"Composite_projects_may_not_disable_incremental_compilation_6379\", \"Composite projects may not disable incremental compilation.\"),\n          Specify_file_to_store_incremental_compilation_information: diag(6380, 3, \"Specify_file_to_store_incremental_compilation_information_6380\", \"Specify file to store incremental compilation information\"),\n          Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2: diag(6381, 3, \"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381\", \"Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'\"),\n          Skipping_build_of_project_0_because_its_dependency_1_was_not_built: diag(6382, 3, \"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382\", \"Skipping build of project '{0}' because its dependency '{1}' was not built\"),\n          Project_0_can_t_be_built_because_its_dependency_1_was_not_built: diag(6383, 3, \"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383\", \"Project '{0}' can't be built because its dependency '{1}' was not built\"),\n          Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: diag(6384, 3, \"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384\", \"Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.\"),\n          _0_is_deprecated: diag(\n            6385,\n            2,\n            \"_0_is_deprecated_6385\",\n            \"'{0}' is deprecated.\",\n            /*reportsUnnecessary*/\n            void 0,\n            /*elidedInCompatabilityPyramid*/\n            void 0,\n            /*reportsDeprecated*/\n            true\n          ),\n          Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found: diag(6386, 3, \"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386\", \"Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.\"),\n          The_signature_0_of_1_is_deprecated: diag(\n            6387,\n            2,\n            \"The_signature_0_of_1_is_deprecated_6387\",\n            \"The signature '{0}' of '{1}' is deprecated.\",\n            /*reportsUnnecessary*/\n            void 0,\n            /*elidedInCompatabilityPyramid*/\n            void 0,\n            /*reportsDeprecated*/\n            true\n          ),\n          Project_0_is_being_forcibly_rebuilt: diag(6388, 3, \"Project_0_is_being_forcibly_rebuilt_6388\", \"Project '{0}' is being forcibly rebuilt\"),\n          Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved: diag(6389, 3, \"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389\", \"Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved.\"),\n          Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2: diag(6390, 3, \"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390\", \"Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'.\"),\n          Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: diag(6391, 3, \"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391\", \"Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'.\"),\n          Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved: diag(6392, 3, \"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392\", \"Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved.\"),\n          Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3: diag(6393, 3, \"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393\", \"Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'.\"),\n          Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4: diag(6394, 3, \"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394\", \"Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'.\"),\n          Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved: diag(6395, 3, \"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395\", \"Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved.\"),\n          Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3: diag(6396, 3, \"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396\", \"Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'.\"),\n          Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4: diag(6397, 3, \"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397\", \"Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'.\"),\n          Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved: diag(6398, 3, \"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398\", \"Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved.\"),\n          Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted: diag(6399, 3, \"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399\", \"Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted\"),\n          Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files: diag(6400, 3, \"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400\", \"Project '{0}' is up to date but needs to update timestamps of output files that are older than input files\"),\n          Project_0_is_out_of_date_because_there_was_error_reading_file_1: diag(6401, 3, \"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401\", \"Project '{0}' is out of date because there was error reading file '{1}'\"),\n          Resolving_in_0_mode_with_conditions_1: diag(6402, 3, \"Resolving_in_0_mode_with_conditions_1_6402\", \"Resolving in {0} mode with conditions {1}.\"),\n          Matched_0_condition_1: diag(6403, 3, \"Matched_0_condition_1_6403\", \"Matched '{0}' condition '{1}'.\"),\n          Using_0_subpath_1_with_target_2: diag(6404, 3, \"Using_0_subpath_1_with_target_2_6404\", \"Using '{0}' subpath '{1}' with target '{2}'.\"),\n          Saw_non_matching_condition_0: diag(6405, 3, \"Saw_non_matching_condition_0_6405\", \"Saw non-matching condition '{0}'.\"),\n          Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions: diag(6406, 3, \"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406\", \"Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions\"),\n          Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set: diag(6407, 3, \"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407\", \"Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set.\"),\n          Use_the_package_json_exports_field_when_resolving_package_imports: diag(6408, 3, \"Use_the_package_json_exports_field_when_resolving_package_imports_6408\", \"Use the package.json 'exports' field when resolving package imports.\"),\n          Use_the_package_json_imports_field_when_resolving_imports: diag(6409, 3, \"Use_the_package_json_imports_field_when_resolving_imports_6409\", \"Use the package.json 'imports' field when resolving imports.\"),\n          Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports: diag(6410, 3, \"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410\", \"Conditions to set in addition to the resolver-specific defaults when resolving imports.\"),\n          true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false: diag(6411, 3, \"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411\", \"`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`.\"),\n          Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more: diag(6412, 3, \"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412\", \"Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more.\"),\n          Entering_conditional_exports: diag(6413, 3, \"Entering_conditional_exports_6413\", \"Entering conditional exports.\"),\n          Resolved_under_condition_0: diag(6414, 3, \"Resolved_under_condition_0_6414\", \"Resolved under condition '{0}'.\"),\n          Failed_to_resolve_under_condition_0: diag(6415, 3, \"Failed_to_resolve_under_condition_0_6415\", \"Failed to resolve under condition '{0}'.\"),\n          Exiting_conditional_exports: diag(6416, 3, \"Exiting_conditional_exports_6416\", \"Exiting conditional exports.\"),\n          The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3, \"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500\", \"The expected type comes from property '{0}' which is declared here on type '{1}'\"),\n          The_expected_type_comes_from_this_index_signature: diag(6501, 3, \"The_expected_type_comes_from_this_index_signature_6501\", \"The expected type comes from this index signature.\"),\n          The_expected_type_comes_from_the_return_type_of_this_signature: diag(6502, 3, \"The_expected_type_comes_from_the_return_type_of_this_signature_6502\", \"The expected type comes from the return type of this signature.\"),\n          Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing: diag(6503, 3, \"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503\", \"Print names of files that are part of the compilation and then stop processing.\"),\n          File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option: diag(6504, 1, \"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504\", \"File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?\"),\n          Print_names_of_files_and_the_reason_they_are_part_of_the_compilation: diag(6505, 3, \"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505\", \"Print names of files and the reason they are part of the compilation.\"),\n          Consider_adding_a_declare_modifier_to_this_class: diag(6506, 3, \"Consider_adding_a_declare_modifier_to_this_class_6506\", \"Consider adding a 'declare' modifier to this class.\"),\n          Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files: diag(6600, 3, \"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600\", \"Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.\"),\n          Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export: diag(6601, 3, \"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601\", \"Allow 'import x from y' when a module doesn't have a default export.\"),\n          Allow_accessing_UMD_globals_from_modules: diag(6602, 3, \"Allow_accessing_UMD_globals_from_modules_6602\", \"Allow accessing UMD globals from modules.\"),\n          Disable_error_reporting_for_unreachable_code: diag(6603, 3, \"Disable_error_reporting_for_unreachable_code_6603\", \"Disable error reporting for unreachable code.\"),\n          Disable_error_reporting_for_unused_labels: diag(6604, 3, \"Disable_error_reporting_for_unused_labels_6604\", \"Disable error reporting for unused labels.\"),\n          Ensure_use_strict_is_always_emitted: diag(6605, 3, \"Ensure_use_strict_is_always_emitted_6605\", \"Ensure 'use strict' is always emitted.\"),\n          Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: diag(6606, 3, \"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606\", \"Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it.\"),\n          Specify_the_base_directory_to_resolve_non_relative_module_names: diag(6607, 3, \"Specify_the_base_directory_to_resolve_non_relative_module_names_6607\", \"Specify the base directory to resolve non-relative module names.\"),\n          No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files: diag(6608, 3, \"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608\", \"No longer supported. In early versions, manually set the text encoding for reading files.\"),\n          Enable_error_reporting_in_type_checked_JavaScript_files: diag(6609, 3, \"Enable_error_reporting_in_type_checked_JavaScript_files_6609\", \"Enable error reporting in type-checked JavaScript files.\"),\n          Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references: diag(6611, 3, \"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611\", \"Enable constraints that allow a TypeScript project to be used with project references.\"),\n          Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project: diag(6612, 3, \"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612\", \"Generate .d.ts files from TypeScript and JavaScript files in your project.\"),\n          Specify_the_output_directory_for_generated_declaration_files: diag(6613, 3, \"Specify_the_output_directory_for_generated_declaration_files_6613\", \"Specify the output directory for generated declaration files.\"),\n          Create_sourcemaps_for_d_ts_files: diag(6614, 3, \"Create_sourcemaps_for_d_ts_files_6614\", \"Create sourcemaps for d.ts files.\"),\n          Output_compiler_performance_information_after_building: diag(6615, 3, \"Output_compiler_performance_information_after_building_6615\", \"Output compiler performance information after building.\"),\n          Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project: diag(6616, 3, \"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616\", \"Disables inference for type acquisition by looking at filenames in a project.\"),\n          Reduce_the_number_of_projects_loaded_automatically_by_TypeScript: diag(6617, 3, \"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617\", \"Reduce the number of projects loaded automatically by TypeScript.\"),\n          Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server: diag(6618, 3, \"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618\", \"Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server.\"),\n          Opt_a_project_out_of_multi_project_reference_checking_when_editing: diag(6619, 3, \"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619\", \"Opt a project out of multi-project reference checking when editing.\"),\n          Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects: diag(6620, 3, \"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620\", \"Disable preferring source files instead of declaration files when referencing composite projects.\"),\n          Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration: diag(6621, 3, \"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621\", \"Emit more compliant, but verbose and less performant JavaScript for iteration.\"),\n          Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files: diag(6622, 3, \"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622\", \"Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.\"),\n          Only_output_d_ts_files_and_not_JavaScript_files: diag(6623, 3, \"Only_output_d_ts_files_and_not_JavaScript_files_6623\", \"Only output d.ts files and not JavaScript files.\"),\n          Emit_design_type_metadata_for_decorated_declarations_in_source_files: diag(6624, 3, \"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624\", \"Emit design-type metadata for decorated declarations in source files.\"),\n          Disable_the_type_acquisition_for_JavaScript_projects: diag(6625, 3, \"Disable_the_type_acquisition_for_JavaScript_projects_6625\", \"Disable the type acquisition for JavaScript projects\"),\n          Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility: diag(6626, 3, \"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626\", \"Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility.\"),\n          Filters_results_from_the_include_option: diag(6627, 3, \"Filters_results_from_the_include_option_6627\", \"Filters results from the `include` option.\"),\n          Remove_a_list_of_directories_from_the_watch_process: diag(6628, 3, \"Remove_a_list_of_directories_from_the_watch_process_6628\", \"Remove a list of directories from the watch process.\"),\n          Remove_a_list_of_files_from_the_watch_mode_s_processing: diag(6629, 3, \"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629\", \"Remove a list of files from the watch mode's processing.\"),\n          Enable_experimental_support_for_legacy_experimental_decorators: diag(6630, 3, \"Enable_experimental_support_for_legacy_experimental_decorators_6630\", \"Enable experimental support for legacy experimental decorators.\"),\n          Print_files_read_during_the_compilation_including_why_it_was_included: diag(6631, 3, \"Print_files_read_during_the_compilation_including_why_it_was_included_6631\", \"Print files read during the compilation including why it was included.\"),\n          Output_more_detailed_compiler_performance_information_after_building: diag(6632, 3, \"Output_more_detailed_compiler_performance_information_after_building_6632\", \"Output more detailed compiler performance information after building.\"),\n          Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited: diag(6633, 3, \"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633\", \"Specify one or more path or node module references to base configuration files from which settings are inherited.\"),\n          Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers: diag(6634, 3, \"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634\", \"Specify what approach the watcher should use if the system runs out of native file watchers.\"),\n          Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include: diag(6635, 3, \"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635\", \"Include a list of files. This does not support glob patterns, as opposed to `include`.\"),\n          Build_all_projects_including_those_that_appear_to_be_up_to_date: diag(6636, 3, \"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636\", \"Build all projects, including those that appear to be up to date.\"),\n          Ensure_that_casing_is_correct_in_imports: diag(6637, 3, \"Ensure_that_casing_is_correct_in_imports_6637\", \"Ensure that casing is correct in imports.\"),\n          Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging: diag(6638, 3, \"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638\", \"Emit a v8 CPU profile of the compiler run for debugging.\"),\n          Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file: diag(6639, 3, \"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639\", \"Allow importing helper functions from tslib once per project, instead of including them per-file.\"),\n          Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: diag(6641, 3, \"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641\", \"Specify a list of glob patterns that match files to be included in compilation.\"),\n          Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects: diag(6642, 3, \"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642\", \"Save .tsbuildinfo files to allow for incremental compilation of projects.\"),\n          Include_sourcemap_files_inside_the_emitted_JavaScript: diag(6643, 3, \"Include_sourcemap_files_inside_the_emitted_JavaScript_6643\", \"Include sourcemap files inside the emitted JavaScript.\"),\n          Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript: diag(6644, 3, \"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644\", \"Include source code in the sourcemaps inside the emitted JavaScript.\"),\n          Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports: diag(6645, 3, \"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645\", \"Ensure that each file can be safely transpiled without relying on other imports.\"),\n          Specify_what_JSX_code_is_generated: diag(6646, 3, \"Specify_what_JSX_code_is_generated_6646\", \"Specify what JSX code is generated.\"),\n          Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h: diag(6647, 3, \"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647\", \"Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'.\"),\n          Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment: diag(6648, 3, \"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648\", \"Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.\"),\n          Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk: diag(6649, 3, \"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649\", \"Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'.\"),\n          Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option: diag(6650, 3, \"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650\", \"Make keyof only return strings instead of string, numbers or symbols. Legacy option.\"),\n          Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment: diag(6651, 3, \"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651\", \"Specify a set of bundled library declaration files that describe the target runtime environment.\"),\n          Print_the_names_of_emitted_files_after_a_compilation: diag(6652, 3, \"Print_the_names_of_emitted_files_after_a_compilation_6652\", \"Print the names of emitted files after a compilation.\"),\n          Print_all_of_the_files_read_during_the_compilation: diag(6653, 3, \"Print_all_of_the_files_read_during_the_compilation_6653\", \"Print all of the files read during the compilation.\"),\n          Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit: diag(6654, 3, \"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654\", \"Set the language of the messaging from TypeScript. This does not affect emit.\"),\n          Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations: diag(6655, 3, \"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655\", \"Specify the location where debugger should locate map files instead of generated locations.\"),\n          Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs: diag(6656, 3, \"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656\", \"Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'.\"),\n          Specify_what_module_code_is_generated: diag(6657, 3, \"Specify_what_module_code_is_generated_6657\", \"Specify what module code is generated.\"),\n          Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier: diag(6658, 3, \"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658\", \"Specify how TypeScript looks up a file from a given module specifier.\"),\n          Set_the_newline_character_for_emitting_files: diag(6659, 3, \"Set_the_newline_character_for_emitting_files_6659\", \"Set the newline character for emitting files.\"),\n          Disable_emitting_files_from_a_compilation: diag(6660, 3, \"Disable_emitting_files_from_a_compilation_6660\", \"Disable emitting files from a compilation.\"),\n          Disable_generating_custom_helper_functions_like_extends_in_compiled_output: diag(6661, 3, \"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661\", \"Disable generating custom helper functions like '__extends' in compiled output.\"),\n          Disable_emitting_files_if_any_type_checking_errors_are_reported: diag(6662, 3, \"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662\", \"Disable emitting files if any type checking errors are reported.\"),\n          Disable_truncating_types_in_error_messages: diag(6663, 3, \"Disable_truncating_types_in_error_messages_6663\", \"Disable truncating types in error messages.\"),\n          Enable_error_reporting_for_fallthrough_cases_in_switch_statements: diag(6664, 3, \"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664\", \"Enable error reporting for fallthrough cases in switch statements.\"),\n          Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type: diag(6665, 3, \"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665\", \"Enable error reporting for expressions and declarations with an implied 'any' type.\"),\n          Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier: diag(6666, 3, \"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666\", \"Ensure overriding members in derived classes are marked with an override modifier.\"),\n          Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function: diag(6667, 3, \"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667\", \"Enable error reporting for codepaths that do not explicitly return in a function.\"),\n          Enable_error_reporting_when_this_is_given_the_type_any: diag(6668, 3, \"Enable_error_reporting_when_this_is_given_the_type_any_6668\", \"Enable error reporting when 'this' is given the type 'any'.\"),\n          Disable_adding_use_strict_directives_in_emitted_JavaScript_files: diag(6669, 3, \"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669\", \"Disable adding 'use strict' directives in emitted JavaScript files.\"),\n          Disable_including_any_library_files_including_the_default_lib_d_ts: diag(6670, 3, \"Disable_including_any_library_files_including_the_default_lib_d_ts_6670\", \"Disable including any library files, including the default lib.d.ts.\"),\n          Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type: diag(6671, 3, \"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671\", \"Enforces using indexed accessors for keys declared using an indexed type.\"),\n          Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project: diag(6672, 3, \"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672\", \"Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project.\"),\n          Disable_strict_checking_of_generic_signatures_in_function_types: diag(6673, 3, \"Disable_strict_checking_of_generic_signatures_in_function_types_6673\", \"Disable strict checking of generic signatures in function types.\"),\n          Add_undefined_to_a_type_when_accessed_using_an_index: diag(6674, 3, \"Add_undefined_to_a_type_when_accessed_using_an_index_6674\", \"Add 'undefined' to a type when accessed using an index.\"),\n          Enable_error_reporting_when_local_variables_aren_t_read: diag(6675, 3, \"Enable_error_reporting_when_local_variables_aren_t_read_6675\", \"Enable error reporting when local variables aren't read.\"),\n          Raise_an_error_when_a_function_parameter_isn_t_read: diag(6676, 3, \"Raise_an_error_when_a_function_parameter_isn_t_read_6676\", \"Raise an error when a function parameter isn't read.\"),\n          Deprecated_setting_Use_outFile_instead: diag(6677, 3, \"Deprecated_setting_Use_outFile_instead_6677\", \"Deprecated setting. Use 'outFile' instead.\"),\n          Specify_an_output_folder_for_all_emitted_files: diag(6678, 3, \"Specify_an_output_folder_for_all_emitted_files_6678\", \"Specify an output folder for all emitted files.\"),\n          Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output: diag(6679, 3, \"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679\", \"Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output.\"),\n          Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations: diag(6680, 3, \"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680\", \"Specify a set of entries that re-map imports to additional lookup locations.\"),\n          Specify_a_list_of_language_service_plugins_to_include: diag(6681, 3, \"Specify_a_list_of_language_service_plugins_to_include_6681\", \"Specify a list of language service plugins to include.\"),\n          Disable_erasing_const_enum_declarations_in_generated_code: diag(6682, 3, \"Disable_erasing_const_enum_declarations_in_generated_code_6682\", \"Disable erasing 'const enum' declarations in generated code.\"),\n          Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node: diag(6683, 3, \"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683\", \"Disable resolving symlinks to their realpath. This correlates to the same flag in node.\"),\n          Disable_wiping_the_console_in_watch_mode: diag(6684, 3, \"Disable_wiping_the_console_in_watch_mode_6684\", \"Disable wiping the console in watch mode.\"),\n          Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read: diag(6685, 3, \"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685\", \"Enable color and formatting in TypeScript's output to make compiler errors easier to read.\"),\n          Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit: diag(6686, 3, \"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686\", \"Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit.\"),\n          Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references: diag(6687, 3, \"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687\", \"Specify an array of objects that specify paths for projects. Used in project references.\"),\n          Disable_emitting_comments: diag(6688, 3, \"Disable_emitting_comments_6688\", \"Disable emitting comments.\"),\n          Enable_importing_json_files: diag(6689, 3, \"Enable_importing_json_files_6689\", \"Enable importing .json files.\"),\n          Specify_the_root_folder_within_your_source_files: diag(6690, 3, \"Specify_the_root_folder_within_your_source_files_6690\", \"Specify the root folder within your source files.\"),\n          Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules: diag(6691, 3, \"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691\", \"Allow multiple folders to be treated as one when resolving modules.\"),\n          Skip_type_checking_d_ts_files_that_are_included_with_TypeScript: diag(6692, 3, \"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692\", \"Skip type checking .d.ts files that are included with TypeScript.\"),\n          Skip_type_checking_all_d_ts_files: diag(6693, 3, \"Skip_type_checking_all_d_ts_files_6693\", \"Skip type checking all .d.ts files.\"),\n          Create_source_map_files_for_emitted_JavaScript_files: diag(6694, 3, \"Create_source_map_files_for_emitted_JavaScript_files_6694\", \"Create source map files for emitted JavaScript files.\"),\n          Specify_the_root_path_for_debuggers_to_find_the_reference_source_code: diag(6695, 3, \"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695\", \"Specify the root path for debuggers to find the reference source code.\"),\n          Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function: diag(6697, 3, \"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697\", \"Check that the arguments for 'bind', 'call', and 'apply' methods match the original function.\"),\n          When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible: diag(6698, 3, \"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698\", \"When assigning functions, check to ensure parameters and the return values are subtype-compatible.\"),\n          When_type_checking_take_into_account_null_and_undefined: diag(6699, 3, \"When_type_checking_take_into_account_null_and_undefined_6699\", \"When type checking, take into account 'null' and 'undefined'.\"),\n          Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor: diag(6700, 3, \"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700\", \"Check for class properties that are declared but not set in the constructor.\"),\n          Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments: diag(6701, 3, \"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701\", \"Disable emitting declarations that have '@internal' in their JSDoc comments.\"),\n          Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals: diag(6702, 3, \"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702\", \"Disable reporting of excess property errors during the creation of object literals.\"),\n          Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures: diag(6703, 3, \"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703\", \"Suppress 'noImplicitAny' errors when indexing objects that lack index signatures.\"),\n          Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively: diag(6704, 3, \"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704\", \"Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively.\"),\n          Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations: diag(6705, 3, \"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705\", \"Set the JavaScript language version for emitted JavaScript and include compatible library declarations.\"),\n          Log_paths_used_during_the_moduleResolution_process: diag(6706, 3, \"Log_paths_used_during_the_moduleResolution_process_6706\", \"Log paths used during the 'moduleResolution' process.\"),\n          Specify_the_path_to_tsbuildinfo_incremental_compilation_file: diag(6707, 3, \"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707\", \"Specify the path to .tsbuildinfo incremental compilation file.\"),\n          Specify_options_for_automatic_acquisition_of_declaration_files: diag(6709, 3, \"Specify_options_for_automatic_acquisition_of_declaration_files_6709\", \"Specify options for automatic acquisition of declaration files.\"),\n          Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types: diag(6710, 3, \"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710\", \"Specify multiple folders that act like './node_modules/@types'.\"),\n          Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file: diag(6711, 3, \"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711\", \"Specify type package names to be included without being referenced in a source file.\"),\n          Emit_ECMAScript_standard_compliant_class_fields: diag(6712, 3, \"Emit_ECMAScript_standard_compliant_class_fields_6712\", \"Emit ECMAScript-standard-compliant class fields.\"),\n          Enable_verbose_logging: diag(6713, 3, \"Enable_verbose_logging_6713\", \"Enable verbose logging.\"),\n          Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality: diag(6714, 3, \"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714\", \"Specify how directories are watched on systems that lack recursive file-watching functionality.\"),\n          Specify_how_the_TypeScript_watch_mode_works: diag(6715, 3, \"Specify_how_the_TypeScript_watch_mode_works_6715\", \"Specify how the TypeScript watch mode works.\"),\n          Require_undeclared_properties_from_index_signatures_to_use_element_accesses: diag(6717, 3, \"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717\", \"Require undeclared properties from index signatures to use element accesses.\"),\n          Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types: diag(6718, 3, \"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718\", \"Specify emit/checking behavior for imports that are only used for types.\"),\n          Default_catch_clause_variables_as_unknown_instead_of_any: diag(6803, 3, \"Default_catch_clause_variables_as_unknown_instead_of_any_6803\", \"Default catch clause variables as 'unknown' instead of 'any'.\"),\n          Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting: diag(6804, 3, \"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804\", \"Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting.\"),\n          one_of_Colon: diag(6900, 3, \"one_of_Colon_6900\", \"one of:\"),\n          one_or_more_Colon: diag(6901, 3, \"one_or_more_Colon_6901\", \"one or more:\"),\n          type_Colon: diag(6902, 3, \"type_Colon_6902\", \"type:\"),\n          default_Colon: diag(6903, 3, \"default_Colon_6903\", \"default:\"),\n          module_system_or_esModuleInterop: diag(6904, 3, \"module_system_or_esModuleInterop_6904\", 'module === \"system\" or esModuleInterop'),\n          false_unless_strict_is_set: diag(6905, 3, \"false_unless_strict_is_set_6905\", \"`false`, unless `strict` is set\"),\n          false_unless_composite_is_set: diag(6906, 3, \"false_unless_composite_is_set_6906\", \"`false`, unless `composite` is set\"),\n          node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified: diag(6907, 3, \"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907\", '`[\"node_modules\", \"bower_components\", \"jspm_packages\"]`, plus the value of `outDir` if one is specified.'),\n          if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk: diag(6908, 3, \"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908\", '`[]` if `files` is specified, otherwise `[\"**/*\"]`'),\n          true_if_composite_false_otherwise: diag(6909, 3, \"true_if_composite_false_otherwise_6909\", \"`true` if `composite`, `false` otherwise\"),\n          module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node: diag(69010, 3, \"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010\", \"module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`\"),\n          Computed_from_the_list_of_input_files: diag(6911, 3, \"Computed_from_the_list_of_input_files_6911\", \"Computed from the list of input files\"),\n          Platform_specific: diag(6912, 3, \"Platform_specific_6912\", \"Platform specific\"),\n          You_can_learn_about_all_of_the_compiler_options_at_0: diag(6913, 3, \"You_can_learn_about_all_of_the_compiler_options_at_0_6913\", \"You can learn about all of the compiler options at {0}\"),\n          Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon: diag(6914, 3, \"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914\", \"Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:\"),\n          Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0: diag(6915, 3, \"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915\", \"Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}\"),\n          COMMON_COMMANDS: diag(6916, 3, \"COMMON_COMMANDS_6916\", \"COMMON COMMANDS\"),\n          ALL_COMPILER_OPTIONS: diag(6917, 3, \"ALL_COMPILER_OPTIONS_6917\", \"ALL COMPILER OPTIONS\"),\n          WATCH_OPTIONS: diag(6918, 3, \"WATCH_OPTIONS_6918\", \"WATCH OPTIONS\"),\n          BUILD_OPTIONS: diag(6919, 3, \"BUILD_OPTIONS_6919\", \"BUILD OPTIONS\"),\n          COMMON_COMPILER_OPTIONS: diag(6920, 3, \"COMMON_COMPILER_OPTIONS_6920\", \"COMMON COMPILER OPTIONS\"),\n          COMMAND_LINE_FLAGS: diag(6921, 3, \"COMMAND_LINE_FLAGS_6921\", \"COMMAND LINE FLAGS\"),\n          tsc_Colon_The_TypeScript_Compiler: diag(6922, 3, \"tsc_Colon_The_TypeScript_Compiler_6922\", \"tsc: The TypeScript Compiler\"),\n          Compiles_the_current_project_tsconfig_json_in_the_working_directory: diag(6923, 3, \"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923\", \"Compiles the current project (tsconfig.json in the working directory.)\"),\n          Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options: diag(6924, 3, \"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924\", \"Ignoring tsconfig.json, compiles the specified files with default compiler options.\"),\n          Build_a_composite_project_in_the_working_directory: diag(6925, 3, \"Build_a_composite_project_in_the_working_directory_6925\", \"Build a composite project in the working directory.\"),\n          Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory: diag(6926, 3, \"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926\", \"Creates a tsconfig.json with the recommended settings in the working directory.\"),\n          Compiles_the_TypeScript_project_located_at_the_specified_path: diag(6927, 3, \"Compiles_the_TypeScript_project_located_at_the_specified_path_6927\", \"Compiles the TypeScript project located at the specified path.\"),\n          An_expanded_version_of_this_information_showing_all_possible_compiler_options: diag(6928, 3, \"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928\", \"An expanded version of this information, showing all possible compiler options\"),\n          Compiles_the_current_project_with_additional_settings: diag(6929, 3, \"Compiles_the_current_project_with_additional_settings_6929\", \"Compiles the current project, with additional settings.\"),\n          true_for_ES2022_and_above_including_ESNext: diag(6930, 3, \"true_for_ES2022_and_above_including_ESNext_6930\", \"`true` for ES2022 and above, including ESNext.\"),\n          List_of_file_name_suffixes_to_search_when_resolving_a_module: diag(6931, 1, \"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931\", \"List of file name suffixes to search when resolving a module.\"),\n          Variable_0_implicitly_has_an_1_type: diag(7005, 1, \"Variable_0_implicitly_has_an_1_type_7005\", \"Variable '{0}' implicitly has an '{1}' type.\"),\n          Parameter_0_implicitly_has_an_1_type: diag(7006, 1, \"Parameter_0_implicitly_has_an_1_type_7006\", \"Parameter '{0}' implicitly has an '{1}' type.\"),\n          Member_0_implicitly_has_an_1_type: diag(7008, 1, \"Member_0_implicitly_has_an_1_type_7008\", \"Member '{0}' implicitly has an '{1}' type.\"),\n          new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type: diag(7009, 1, \"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009\", \"'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.\"),\n          _0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type: diag(7010, 1, \"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010\", \"'{0}', which lacks return-type annotation, implicitly has an '{1}' return type.\"),\n          Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: diag(7011, 1, \"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011\", \"Function expression, which lacks return-type annotation, implicitly has an '{0}' return type.\"),\n          This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation: diag(7012, 1, \"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012\", \"This overload implicitly returns the type '{0}' because it lacks a return type annotation.\"),\n          Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: diag(7013, 1, \"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013\", \"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.\"),\n          Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: diag(7014, 1, \"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014\", \"Function type, which lacks return-type annotation, implicitly has an '{0}' return type.\"),\n          Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number: diag(7015, 1, \"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015\", \"Element implicitly has an 'any' type because index expression is not of type 'number'.\"),\n          Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type: diag(7016, 1, \"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016\", \"Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type.\"),\n          Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature: diag(7017, 1, \"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017\", \"Element implicitly has an 'any' type because type '{0}' has no index signature.\"),\n          Object_literal_s_property_0_implicitly_has_an_1_type: diag(7018, 1, \"Object_literal_s_property_0_implicitly_has_an_1_type_7018\", \"Object literal's property '{0}' implicitly has an '{1}' type.\"),\n          Rest_parameter_0_implicitly_has_an_any_type: diag(7019, 1, \"Rest_parameter_0_implicitly_has_an_any_type_7019\", \"Rest parameter '{0}' implicitly has an 'any[]' type.\"),\n          Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: diag(7020, 1, \"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020\", \"Call signature, which lacks return-type annotation, implicitly has an 'any' return type.\"),\n          _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: diag(7022, 1, \"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022\", \"'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.\"),\n          _0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: diag(7023, 1, \"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023\", \"'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.\"),\n          Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: diag(7024, 1, \"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024\", \"Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.\"),\n          Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation: diag(7025, 1, \"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025\", \"Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation.\"),\n          JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: diag(7026, 1, \"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026\", \"JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists.\"),\n          Unreachable_code_detected: diag(\n            7027,\n            1,\n            \"Unreachable_code_detected_7027\",\n            \"Unreachable code detected.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Unused_label: diag(\n            7028,\n            1,\n            \"Unused_label_7028\",\n            \"Unused label.\",\n            /*reportsUnnecessary*/\n            true\n          ),\n          Fallthrough_case_in_switch: diag(7029, 1, \"Fallthrough_case_in_switch_7029\", \"Fallthrough case in switch.\"),\n          Not_all_code_paths_return_a_value: diag(7030, 1, \"Not_all_code_paths_return_a_value_7030\", \"Not all code paths return a value.\"),\n          Binding_element_0_implicitly_has_an_1_type: diag(7031, 1, \"Binding_element_0_implicitly_has_an_1_type_7031\", \"Binding element '{0}' implicitly has an '{1}' type.\"),\n          Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation: diag(7032, 1, \"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032\", \"Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation.\"),\n          Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation: diag(7033, 1, \"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033\", \"Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation.\"),\n          Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined: diag(7034, 1, \"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034\", \"Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined.\"),\n          Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0: diag(7035, 1, \"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035\", \"Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`\"),\n          Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0: diag(7036, 1, \"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036\", \"Dynamic import's specifier must be of type 'string', but here has type '{0}'.\"),\n          Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports: diag(7037, 3, \"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037\", \"Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.\"),\n          Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead: diag(7038, 3, \"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038\", \"Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead.\"),\n          Mapped_object_type_implicitly_has_an_any_template_type: diag(7039, 1, \"Mapped_object_type_implicitly_has_an_any_template_type_7039\", \"Mapped object type implicitly has an 'any' template type.\"),\n          If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1: diag(7040, 1, \"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040\", \"If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'\"),\n          The_containing_arrow_function_captures_the_global_value_of_this: diag(7041, 1, \"The_containing_arrow_function_captures_the_global_value_of_this_7041\", \"The containing arrow function captures the global value of 'this'.\"),\n          Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used: diag(7042, 1, \"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042\", \"Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used.\"),\n          Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: diag(7043, 2, \"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043\", \"Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.\"),\n          Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: diag(7044, 2, \"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044\", \"Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.\"),\n          Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: diag(7045, 2, \"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045\", \"Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.\"),\n          Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage: diag(7046, 2, \"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046\", \"Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage.\"),\n          Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage: diag(7047, 2, \"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047\", \"Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage.\"),\n          Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage: diag(7048, 2, \"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048\", \"Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage.\"),\n          Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage: diag(7049, 2, \"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049\", \"Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage.\"),\n          _0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage: diag(7050, 2, \"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050\", \"'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage.\"),\n          Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1: diag(7051, 1, \"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051\", \"Parameter has a name but no type. Did you mean '{0}: {1}'?\"),\n          Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1: diag(7052, 1, \"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052\", \"Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?\"),\n          Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, 1, \"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053\", \"Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'.\"),\n          No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, 1, \"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054\", \"No index signature with a parameter of type '{0}' was found on type '{1}'.\"),\n          _0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, 1, \"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055\", \"'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type.\"),\n          The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, 1, \"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056\", \"The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.\"),\n          yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation: diag(7057, 1, \"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057\", \"'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation.\"),\n          If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1: diag(7058, 1, \"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058\", \"If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`\"),\n          This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead: diag(7059, 1, \"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059\", \"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.\"),\n          This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint: diag(7060, 1, \"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060\", \"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint.\"),\n          A_mapped_type_may_not_declare_properties_or_methods: diag(7061, 1, \"A_mapped_type_may_not_declare_properties_or_methods_7061\", \"A mapped type may not declare properties or methods.\"),\n          You_cannot_rename_this_element: diag(8e3, 1, \"You_cannot_rename_this_element_8000\", \"You cannot rename this element.\"),\n          You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, 1, \"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001\", \"You cannot rename elements that are defined in the standard TypeScript library.\"),\n          import_can_only_be_used_in_TypeScript_files: diag(8002, 1, \"import_can_only_be_used_in_TypeScript_files_8002\", \"'import ... =' can only be used in TypeScript files.\"),\n          export_can_only_be_used_in_TypeScript_files: diag(8003, 1, \"export_can_only_be_used_in_TypeScript_files_8003\", \"'export =' can only be used in TypeScript files.\"),\n          Type_parameter_declarations_can_only_be_used_in_TypeScript_files: diag(8004, 1, \"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004\", \"Type parameter declarations can only be used in TypeScript files.\"),\n          implements_clauses_can_only_be_used_in_TypeScript_files: diag(8005, 1, \"implements_clauses_can_only_be_used_in_TypeScript_files_8005\", \"'implements' clauses can only be used in TypeScript files.\"),\n          _0_declarations_can_only_be_used_in_TypeScript_files: diag(8006, 1, \"_0_declarations_can_only_be_used_in_TypeScript_files_8006\", \"'{0}' declarations can only be used in TypeScript files.\"),\n          Type_aliases_can_only_be_used_in_TypeScript_files: diag(8008, 1, \"Type_aliases_can_only_be_used_in_TypeScript_files_8008\", \"Type aliases can only be used in TypeScript files.\"),\n          The_0_modifier_can_only_be_used_in_TypeScript_files: diag(8009, 1, \"The_0_modifier_can_only_be_used_in_TypeScript_files_8009\", \"The '{0}' modifier can only be used in TypeScript files.\"),\n          Type_annotations_can_only_be_used_in_TypeScript_files: diag(8010, 1, \"Type_annotations_can_only_be_used_in_TypeScript_files_8010\", \"Type annotations can only be used in TypeScript files.\"),\n          Type_arguments_can_only_be_used_in_TypeScript_files: diag(8011, 1, \"Type_arguments_can_only_be_used_in_TypeScript_files_8011\", \"Type arguments can only be used in TypeScript files.\"),\n          Parameter_modifiers_can_only_be_used_in_TypeScript_files: diag(8012, 1, \"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012\", \"Parameter modifiers can only be used in TypeScript files.\"),\n          Non_null_assertions_can_only_be_used_in_TypeScript_files: diag(8013, 1, \"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013\", \"Non-null assertions can only be used in TypeScript files.\"),\n          Type_assertion_expressions_can_only_be_used_in_TypeScript_files: diag(8016, 1, \"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016\", \"Type assertion expressions can only be used in TypeScript files.\"),\n          Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0: diag(8017, 1, \"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017\", \"Octal literal types must use ES2015 syntax. Use the syntax '{0}'.\"),\n          Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0: diag(8018, 1, \"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018\", \"Octal literals are not allowed in enums members initializer. Use the syntax '{0}'.\"),\n          Report_errors_in_js_files: diag(8019, 3, \"Report_errors_in_js_files_8019\", \"Report errors in .js files.\"),\n          JSDoc_types_can_only_be_used_inside_documentation_comments: diag(8020, 1, \"JSDoc_types_can_only_be_used_inside_documentation_comments_8020\", \"JSDoc types can only be used inside documentation comments.\"),\n          JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags: diag(8021, 1, \"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021\", \"JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags.\"),\n          JSDoc_0_is_not_attached_to_a_class: diag(8022, 1, \"JSDoc_0_is_not_attached_to_a_class_8022\", \"JSDoc '@{0}' is not attached to a class.\"),\n          JSDoc_0_1_does_not_match_the_extends_2_clause: diag(8023, 1, \"JSDoc_0_1_does_not_match_the_extends_2_clause_8023\", \"JSDoc '@{0} {1}' does not match the 'extends {2}' clause.\"),\n          JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name: diag(8024, 1, \"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024\", \"JSDoc '@param' tag has name '{0}', but there is no parameter with that name.\"),\n          Class_declarations_cannot_have_more_than_one_augments_or_extends_tag: diag(8025, 1, \"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025\", \"Class declarations cannot have more than one '@augments' or '@extends' tag.\"),\n          Expected_0_type_arguments_provide_these_with_an_extends_tag: diag(8026, 1, \"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026\", \"Expected {0} type arguments; provide these with an '@extends' tag.\"),\n          Expected_0_1_type_arguments_provide_these_with_an_extends_tag: diag(8027, 1, \"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027\", \"Expected {0}-{1} type arguments; provide these with an '@extends' tag.\"),\n          JSDoc_may_only_appear_in_the_last_parameter_of_a_signature: diag(8028, 1, \"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028\", \"JSDoc '...' may only appear in the last parameter of a signature.\"),\n          JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type: diag(8029, 1, \"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029\", \"JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type.\"),\n          The_type_of_a_function_declaration_must_match_the_function_s_signature: diag(8030, 1, \"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030\", \"The type of a function declaration must match the function's signature.\"),\n          You_cannot_rename_a_module_via_a_global_import: diag(8031, 1, \"You_cannot_rename_a_module_via_a_global_import_8031\", \"You cannot rename a module via a global import.\"),\n          Qualified_name_0_is_not_allowed_without_a_leading_param_object_1: diag(8032, 1, \"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032\", \"Qualified name '{0}' is not allowed without a leading '@param {object} {1}'.\"),\n          A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags: diag(8033, 1, \"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033\", \"A JSDoc '@typedef' comment may not contain multiple '@type' tags.\"),\n          The_tag_was_first_specified_here: diag(8034, 1, \"The_tag_was_first_specified_here_8034\", \"The tag was first specified here.\"),\n          You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder: diag(8035, 1, \"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035\", \"You cannot rename elements that are defined in a 'node_modules' folder.\"),\n          You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder: diag(8036, 1, \"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036\", \"You cannot rename elements that are defined in another 'node_modules' folder.\"),\n          Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files: diag(8037, 1, \"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037\", \"Type satisfaction expressions can only be used in TypeScript files.\"),\n          Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export: diag(8038, 1, \"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038\", \"Decorators may not appear after 'export' or 'export default' if they also appear before 'export'.\"),\n          Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9005, 1, \"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005\", \"Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit.\"),\n          Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9006, 1, \"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006\", \"Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit.\"),\n          JSX_attributes_must_only_be_assigned_a_non_empty_expression: diag(17e3, 1, \"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000\", \"JSX attributes must only be assigned a non-empty 'expression'.\"),\n          JSX_elements_cannot_have_multiple_attributes_with_the_same_name: diag(17001, 1, \"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001\", \"JSX elements cannot have multiple attributes with the same name.\"),\n          Expected_corresponding_JSX_closing_tag_for_0: diag(17002, 1, \"Expected_corresponding_JSX_closing_tag_for_0_17002\", \"Expected corresponding JSX closing tag for '{0}'.\"),\n          Cannot_use_JSX_unless_the_jsx_flag_is_provided: diag(17004, 1, \"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004\", \"Cannot use JSX unless the '--jsx' flag is provided.\"),\n          A_constructor_cannot_contain_a_super_call_when_its_class_extends_null: diag(17005, 1, \"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005\", \"A constructor cannot contain a 'super' call when its class extends 'null'.\"),\n          An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: diag(17006, 1, \"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006\", \"An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.\"),\n          A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: diag(17007, 1, \"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007\", \"A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.\"),\n          JSX_element_0_has_no_corresponding_closing_tag: diag(17008, 1, \"JSX_element_0_has_no_corresponding_closing_tag_17008\", \"JSX element '{0}' has no corresponding closing tag.\"),\n          super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class: diag(17009, 1, \"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009\", \"'super' must be called before accessing 'this' in the constructor of a derived class.\"),\n          Unknown_type_acquisition_option_0: diag(17010, 1, \"Unknown_type_acquisition_option_0_17010\", \"Unknown type acquisition option '{0}'.\"),\n          super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class: diag(17011, 1, \"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011\", \"'super' must be called before accessing a property of 'super' in the constructor of a derived class.\"),\n          _0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2: diag(17012, 1, \"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012\", \"'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?\"),\n          Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor: diag(17013, 1, \"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013\", \"Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor.\"),\n          JSX_fragment_has_no_corresponding_closing_tag: diag(17014, 1, \"JSX_fragment_has_no_corresponding_closing_tag_17014\", \"JSX fragment has no corresponding closing tag.\"),\n          Expected_corresponding_closing_tag_for_JSX_fragment: diag(17015, 1, \"Expected_corresponding_closing_tag_for_JSX_fragment_17015\", \"Expected corresponding closing tag for JSX fragment.\"),\n          The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option: diag(17016, 1, \"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016\", \"The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option.\"),\n          An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments: diag(17017, 1, \"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017\", \"An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.\"),\n          Unknown_type_acquisition_option_0_Did_you_mean_1: diag(17018, 1, \"Unknown_type_acquisition_option_0_Did_you_mean_1_17018\", \"Unknown type acquisition option '{0}'. Did you mean '{1}'?\"),\n          _0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1: diag(17019, 1, \"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019\", \"'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?\"),\n          _0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1: diag(17020, 1, \"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020\", \"'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?\"),\n          Circularity_detected_while_resolving_configuration_Colon_0: diag(18e3, 1, \"Circularity_detected_while_resolving_configuration_Colon_0_18000\", \"Circularity detected while resolving configuration: {0}\"),\n          The_files_list_in_config_file_0_is_empty: diag(18002, 1, \"The_files_list_in_config_file_0_is_empty_18002\", \"The 'files' list in config file '{0}' is empty.\"),\n          No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2: diag(18003, 1, \"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003\", \"No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'.\"),\n          File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module: diag(80001, 2, \"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001\", \"File is a CommonJS module; it may be converted to an ES module.\"),\n          This_constructor_function_may_be_converted_to_a_class_declaration: diag(80002, 2, \"This_constructor_function_may_be_converted_to_a_class_declaration_80002\", \"This constructor function may be converted to a class declaration.\"),\n          Import_may_be_converted_to_a_default_import: diag(80003, 2, \"Import_may_be_converted_to_a_default_import_80003\", \"Import may be converted to a default import.\"),\n          JSDoc_types_may_be_moved_to_TypeScript_types: diag(80004, 2, \"JSDoc_types_may_be_moved_to_TypeScript_types_80004\", \"JSDoc types may be moved to TypeScript types.\"),\n          require_call_may_be_converted_to_an_import: diag(80005, 2, \"require_call_may_be_converted_to_an_import_80005\", \"'require' call may be converted to an import.\"),\n          This_may_be_converted_to_an_async_function: diag(80006, 2, \"This_may_be_converted_to_an_async_function_80006\", \"This may be converted to an async function.\"),\n          await_has_no_effect_on_the_type_of_this_expression: diag(80007, 2, \"await_has_no_effect_on_the_type_of_this_expression_80007\", \"'await' has no effect on the type of this expression.\"),\n          Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers: diag(80008, 2, \"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008\", \"Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers.\"),\n          Add_missing_super_call: diag(90001, 3, \"Add_missing_super_call_90001\", \"Add missing 'super()' call\"),\n          Make_super_call_the_first_statement_in_the_constructor: diag(90002, 3, \"Make_super_call_the_first_statement_in_the_constructor_90002\", \"Make 'super()' call the first statement in the constructor\"),\n          Change_extends_to_implements: diag(90003, 3, \"Change_extends_to_implements_90003\", \"Change 'extends' to 'implements'\"),\n          Remove_unused_declaration_for_Colon_0: diag(90004, 3, \"Remove_unused_declaration_for_Colon_0_90004\", \"Remove unused declaration for: '{0}'\"),\n          Remove_import_from_0: diag(90005, 3, \"Remove_import_from_0_90005\", \"Remove import from '{0}'\"),\n          Implement_interface_0: diag(90006, 3, \"Implement_interface_0_90006\", \"Implement interface '{0}'\"),\n          Implement_inherited_abstract_class: diag(90007, 3, \"Implement_inherited_abstract_class_90007\", \"Implement inherited abstract class\"),\n          Add_0_to_unresolved_variable: diag(90008, 3, \"Add_0_to_unresolved_variable_90008\", \"Add '{0}.' to unresolved variable\"),\n          Remove_variable_statement: diag(90010, 3, \"Remove_variable_statement_90010\", \"Remove variable statement\"),\n          Remove_template_tag: diag(90011, 3, \"Remove_template_tag_90011\", \"Remove template tag\"),\n          Remove_type_parameters: diag(90012, 3, \"Remove_type_parameters_90012\", \"Remove type parameters\"),\n          Import_0_from_1: diag(90013, 3, \"Import_0_from_1_90013\", `Import '{0}' from \"{1}\"`),\n          Change_0_to_1: diag(90014, 3, \"Change_0_to_1_90014\", \"Change '{0}' to '{1}'\"),\n          Declare_property_0: diag(90016, 3, \"Declare_property_0_90016\", \"Declare property '{0}'\"),\n          Add_index_signature_for_property_0: diag(90017, 3, \"Add_index_signature_for_property_0_90017\", \"Add index signature for property '{0}'\"),\n          Disable_checking_for_this_file: diag(90018, 3, \"Disable_checking_for_this_file_90018\", \"Disable checking for this file\"),\n          Ignore_this_error_message: diag(90019, 3, \"Ignore_this_error_message_90019\", \"Ignore this error message\"),\n          Initialize_property_0_in_the_constructor: diag(90020, 3, \"Initialize_property_0_in_the_constructor_90020\", \"Initialize property '{0}' in the constructor\"),\n          Initialize_static_property_0: diag(90021, 3, \"Initialize_static_property_0_90021\", \"Initialize static property '{0}'\"),\n          Change_spelling_to_0: diag(90022, 3, \"Change_spelling_to_0_90022\", \"Change spelling to '{0}'\"),\n          Declare_method_0: diag(90023, 3, \"Declare_method_0_90023\", \"Declare method '{0}'\"),\n          Declare_static_method_0: diag(90024, 3, \"Declare_static_method_0_90024\", \"Declare static method '{0}'\"),\n          Prefix_0_with_an_underscore: diag(90025, 3, \"Prefix_0_with_an_underscore_90025\", \"Prefix '{0}' with an underscore\"),\n          Rewrite_as_the_indexed_access_type_0: diag(90026, 3, \"Rewrite_as_the_indexed_access_type_0_90026\", \"Rewrite as the indexed access type '{0}'\"),\n          Declare_static_property_0: diag(90027, 3, \"Declare_static_property_0_90027\", \"Declare static property '{0}'\"),\n          Call_decorator_expression: diag(90028, 3, \"Call_decorator_expression_90028\", \"Call decorator expression\"),\n          Add_async_modifier_to_containing_function: diag(90029, 3, \"Add_async_modifier_to_containing_function_90029\", \"Add async modifier to containing function\"),\n          Replace_infer_0_with_unknown: diag(90030, 3, \"Replace_infer_0_with_unknown_90030\", \"Replace 'infer {0}' with 'unknown'\"),\n          Replace_all_unused_infer_with_unknown: diag(90031, 3, \"Replace_all_unused_infer_with_unknown_90031\", \"Replace all unused 'infer' with 'unknown'\"),\n          Add_parameter_name: diag(90034, 3, \"Add_parameter_name_90034\", \"Add parameter name\"),\n          Declare_private_property_0: diag(90035, 3, \"Declare_private_property_0_90035\", \"Declare private property '{0}'\"),\n          Replace_0_with_Promise_1: diag(90036, 3, \"Replace_0_with_Promise_1_90036\", \"Replace '{0}' with 'Promise<{1}>'\"),\n          Fix_all_incorrect_return_type_of_an_async_functions: diag(90037, 3, \"Fix_all_incorrect_return_type_of_an_async_functions_90037\", \"Fix all incorrect return type of an async functions\"),\n          Declare_private_method_0: diag(90038, 3, \"Declare_private_method_0_90038\", \"Declare private method '{0}'\"),\n          Remove_unused_destructuring_declaration: diag(90039, 3, \"Remove_unused_destructuring_declaration_90039\", \"Remove unused destructuring declaration\"),\n          Remove_unused_declarations_for_Colon_0: diag(90041, 3, \"Remove_unused_declarations_for_Colon_0_90041\", \"Remove unused declarations for: '{0}'\"),\n          Declare_a_private_field_named_0: diag(90053, 3, \"Declare_a_private_field_named_0_90053\", \"Declare a private field named '{0}'.\"),\n          Includes_imports_of_types_referenced_by_0: diag(90054, 3, \"Includes_imports_of_types_referenced_by_0_90054\", \"Includes imports of types referenced by '{0}'\"),\n          Remove_type_from_import_declaration_from_0: diag(90055, 3, \"Remove_type_from_import_declaration_from_0_90055\", `Remove 'type' from import declaration from \"{0}\"`),\n          Remove_type_from_import_of_0_from_1: diag(90056, 3, \"Remove_type_from_import_of_0_from_1_90056\", `Remove 'type' from import of '{0}' from \"{1}\"`),\n          Add_import_from_0: diag(90057, 3, \"Add_import_from_0_90057\", 'Add import from \"{0}\"'),\n          Update_import_from_0: diag(90058, 3, \"Update_import_from_0_90058\", 'Update import from \"{0}\"'),\n          Export_0_from_module_1: diag(90059, 3, \"Export_0_from_module_1_90059\", \"Export '{0}' from module '{1}'\"),\n          Export_all_referenced_locals: diag(90060, 3, \"Export_all_referenced_locals_90060\", \"Export all referenced locals\"),\n          Convert_function_to_an_ES2015_class: diag(95001, 3, \"Convert_function_to_an_ES2015_class_95001\", \"Convert function to an ES2015 class\"),\n          Convert_0_to_1_in_0: diag(95003, 3, \"Convert_0_to_1_in_0_95003\", \"Convert '{0}' to '{1} in {0}'\"),\n          Extract_to_0_in_1: diag(95004, 3, \"Extract_to_0_in_1_95004\", \"Extract to {0} in {1}\"),\n          Extract_function: diag(95005, 3, \"Extract_function_95005\", \"Extract function\"),\n          Extract_constant: diag(95006, 3, \"Extract_constant_95006\", \"Extract constant\"),\n          Extract_to_0_in_enclosing_scope: diag(95007, 3, \"Extract_to_0_in_enclosing_scope_95007\", \"Extract to {0} in enclosing scope\"),\n          Extract_to_0_in_1_scope: diag(95008, 3, \"Extract_to_0_in_1_scope_95008\", \"Extract to {0} in {1} scope\"),\n          Annotate_with_type_from_JSDoc: diag(95009, 3, \"Annotate_with_type_from_JSDoc_95009\", \"Annotate with type from JSDoc\"),\n          Infer_type_of_0_from_usage: diag(95011, 3, \"Infer_type_of_0_from_usage_95011\", \"Infer type of '{0}' from usage\"),\n          Infer_parameter_types_from_usage: diag(95012, 3, \"Infer_parameter_types_from_usage_95012\", \"Infer parameter types from usage\"),\n          Convert_to_default_import: diag(95013, 3, \"Convert_to_default_import_95013\", \"Convert to default import\"),\n          Install_0: diag(95014, 3, \"Install_0_95014\", \"Install '{0}'\"),\n          Replace_import_with_0: diag(95015, 3, \"Replace_import_with_0_95015\", \"Replace import with '{0}'.\"),\n          Use_synthetic_default_member: diag(95016, 3, \"Use_synthetic_default_member_95016\", \"Use synthetic 'default' member.\"),\n          Convert_to_ES_module: diag(95017, 3, \"Convert_to_ES_module_95017\", \"Convert to ES module\"),\n          Add_undefined_type_to_property_0: diag(95018, 3, \"Add_undefined_type_to_property_0_95018\", \"Add 'undefined' type to property '{0}'\"),\n          Add_initializer_to_property_0: diag(95019, 3, \"Add_initializer_to_property_0_95019\", \"Add initializer to property '{0}'\"),\n          Add_definite_assignment_assertion_to_property_0: diag(95020, 3, \"Add_definite_assignment_assertion_to_property_0_95020\", \"Add definite assignment assertion to property '{0}'\"),\n          Convert_all_type_literals_to_mapped_type: diag(95021, 3, \"Convert_all_type_literals_to_mapped_type_95021\", \"Convert all type literals to mapped type\"),\n          Add_all_missing_members: diag(95022, 3, \"Add_all_missing_members_95022\", \"Add all missing members\"),\n          Infer_all_types_from_usage: diag(95023, 3, \"Infer_all_types_from_usage_95023\", \"Infer all types from usage\"),\n          Delete_all_unused_declarations: diag(95024, 3, \"Delete_all_unused_declarations_95024\", \"Delete all unused declarations\"),\n          Prefix_all_unused_declarations_with_where_possible: diag(95025, 3, \"Prefix_all_unused_declarations_with_where_possible_95025\", \"Prefix all unused declarations with '_' where possible\"),\n          Fix_all_detected_spelling_errors: diag(95026, 3, \"Fix_all_detected_spelling_errors_95026\", \"Fix all detected spelling errors\"),\n          Add_initializers_to_all_uninitialized_properties: diag(95027, 3, \"Add_initializers_to_all_uninitialized_properties_95027\", \"Add initializers to all uninitialized properties\"),\n          Add_definite_assignment_assertions_to_all_uninitialized_properties: diag(95028, 3, \"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028\", \"Add definite assignment assertions to all uninitialized properties\"),\n          Add_undefined_type_to_all_uninitialized_properties: diag(95029, 3, \"Add_undefined_type_to_all_uninitialized_properties_95029\", \"Add undefined type to all uninitialized properties\"),\n          Change_all_jsdoc_style_types_to_TypeScript: diag(95030, 3, \"Change_all_jsdoc_style_types_to_TypeScript_95030\", \"Change all jsdoc-style types to TypeScript\"),\n          Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types: diag(95031, 3, \"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031\", \"Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)\"),\n          Implement_all_unimplemented_interfaces: diag(95032, 3, \"Implement_all_unimplemented_interfaces_95032\", \"Implement all unimplemented interfaces\"),\n          Install_all_missing_types_packages: diag(95033, 3, \"Install_all_missing_types_packages_95033\", \"Install all missing types packages\"),\n          Rewrite_all_as_indexed_access_types: diag(95034, 3, \"Rewrite_all_as_indexed_access_types_95034\", \"Rewrite all as indexed access types\"),\n          Convert_all_to_default_imports: diag(95035, 3, \"Convert_all_to_default_imports_95035\", \"Convert all to default imports\"),\n          Make_all_super_calls_the_first_statement_in_their_constructor: diag(95036, 3, \"Make_all_super_calls_the_first_statement_in_their_constructor_95036\", \"Make all 'super()' calls the first statement in their constructor\"),\n          Add_qualifier_to_all_unresolved_variables_matching_a_member_name: diag(95037, 3, \"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037\", \"Add qualifier to all unresolved variables matching a member name\"),\n          Change_all_extended_interfaces_to_implements: diag(95038, 3, \"Change_all_extended_interfaces_to_implements_95038\", \"Change all extended interfaces to 'implements'\"),\n          Add_all_missing_super_calls: diag(95039, 3, \"Add_all_missing_super_calls_95039\", \"Add all missing super calls\"),\n          Implement_all_inherited_abstract_classes: diag(95040, 3, \"Implement_all_inherited_abstract_classes_95040\", \"Implement all inherited abstract classes\"),\n          Add_all_missing_async_modifiers: diag(95041, 3, \"Add_all_missing_async_modifiers_95041\", \"Add all missing 'async' modifiers\"),\n          Add_ts_ignore_to_all_error_messages: diag(95042, 3, \"Add_ts_ignore_to_all_error_messages_95042\", \"Add '@ts-ignore' to all error messages\"),\n          Annotate_everything_with_types_from_JSDoc: diag(95043, 3, \"Annotate_everything_with_types_from_JSDoc_95043\", \"Annotate everything with types from JSDoc\"),\n          Add_to_all_uncalled_decorators: diag(95044, 3, \"Add_to_all_uncalled_decorators_95044\", \"Add '()' to all uncalled decorators\"),\n          Convert_all_constructor_functions_to_classes: diag(95045, 3, \"Convert_all_constructor_functions_to_classes_95045\", \"Convert all constructor functions to classes\"),\n          Generate_get_and_set_accessors: diag(95046, 3, \"Generate_get_and_set_accessors_95046\", \"Generate 'get' and 'set' accessors\"),\n          Convert_require_to_import: diag(95047, 3, \"Convert_require_to_import_95047\", \"Convert 'require' to 'import'\"),\n          Convert_all_require_to_import: diag(95048, 3, \"Convert_all_require_to_import_95048\", \"Convert all 'require' to 'import'\"),\n          Move_to_a_new_file: diag(95049, 3, \"Move_to_a_new_file_95049\", \"Move to a new file\"),\n          Remove_unreachable_code: diag(95050, 3, \"Remove_unreachable_code_95050\", \"Remove unreachable code\"),\n          Remove_all_unreachable_code: diag(95051, 3, \"Remove_all_unreachable_code_95051\", \"Remove all unreachable code\"),\n          Add_missing_typeof: diag(95052, 3, \"Add_missing_typeof_95052\", \"Add missing 'typeof'\"),\n          Remove_unused_label: diag(95053, 3, \"Remove_unused_label_95053\", \"Remove unused label\"),\n          Remove_all_unused_labels: diag(95054, 3, \"Remove_all_unused_labels_95054\", \"Remove all unused labels\"),\n          Convert_0_to_mapped_object_type: diag(95055, 3, \"Convert_0_to_mapped_object_type_95055\", \"Convert '{0}' to mapped object type\"),\n          Convert_namespace_import_to_named_imports: diag(95056, 3, \"Convert_namespace_import_to_named_imports_95056\", \"Convert namespace import to named imports\"),\n          Convert_named_imports_to_namespace_import: diag(95057, 3, \"Convert_named_imports_to_namespace_import_95057\", \"Convert named imports to namespace import\"),\n          Add_or_remove_braces_in_an_arrow_function: diag(95058, 3, \"Add_or_remove_braces_in_an_arrow_function_95058\", \"Add or remove braces in an arrow function\"),\n          Add_braces_to_arrow_function: diag(95059, 3, \"Add_braces_to_arrow_function_95059\", \"Add braces to arrow function\"),\n          Remove_braces_from_arrow_function: diag(95060, 3, \"Remove_braces_from_arrow_function_95060\", \"Remove braces from arrow function\"),\n          Convert_default_export_to_named_export: diag(95061, 3, \"Convert_default_export_to_named_export_95061\", \"Convert default export to named export\"),\n          Convert_named_export_to_default_export: diag(95062, 3, \"Convert_named_export_to_default_export_95062\", \"Convert named export to default export\"),\n          Add_missing_enum_member_0: diag(95063, 3, \"Add_missing_enum_member_0_95063\", \"Add missing enum member '{0}'\"),\n          Add_all_missing_imports: diag(95064, 3, \"Add_all_missing_imports_95064\", \"Add all missing imports\"),\n          Convert_to_async_function: diag(95065, 3, \"Convert_to_async_function_95065\", \"Convert to async function\"),\n          Convert_all_to_async_functions: diag(95066, 3, \"Convert_all_to_async_functions_95066\", \"Convert all to async functions\"),\n          Add_missing_call_parentheses: diag(95067, 3, \"Add_missing_call_parentheses_95067\", \"Add missing call parentheses\"),\n          Add_all_missing_call_parentheses: diag(95068, 3, \"Add_all_missing_call_parentheses_95068\", \"Add all missing call parentheses\"),\n          Add_unknown_conversion_for_non_overlapping_types: diag(95069, 3, \"Add_unknown_conversion_for_non_overlapping_types_95069\", \"Add 'unknown' conversion for non-overlapping types\"),\n          Add_unknown_to_all_conversions_of_non_overlapping_types: diag(95070, 3, \"Add_unknown_to_all_conversions_of_non_overlapping_types_95070\", \"Add 'unknown' to all conversions of non-overlapping types\"),\n          Add_missing_new_operator_to_call: diag(95071, 3, \"Add_missing_new_operator_to_call_95071\", \"Add missing 'new' operator to call\"),\n          Add_missing_new_operator_to_all_calls: diag(95072, 3, \"Add_missing_new_operator_to_all_calls_95072\", \"Add missing 'new' operator to all calls\"),\n          Add_names_to_all_parameters_without_names: diag(95073, 3, \"Add_names_to_all_parameters_without_names_95073\", \"Add names to all parameters without names\"),\n          Enable_the_experimentalDecorators_option_in_your_configuration_file: diag(95074, 3, \"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074\", \"Enable the 'experimentalDecorators' option in your configuration file\"),\n          Convert_parameters_to_destructured_object: diag(95075, 3, \"Convert_parameters_to_destructured_object_95075\", \"Convert parameters to destructured object\"),\n          Extract_type: diag(95077, 3, \"Extract_type_95077\", \"Extract type\"),\n          Extract_to_type_alias: diag(95078, 3, \"Extract_to_type_alias_95078\", \"Extract to type alias\"),\n          Extract_to_typedef: diag(95079, 3, \"Extract_to_typedef_95079\", \"Extract to typedef\"),\n          Infer_this_type_of_0_from_usage: diag(95080, 3, \"Infer_this_type_of_0_from_usage_95080\", \"Infer 'this' type of '{0}' from usage\"),\n          Add_const_to_unresolved_variable: diag(95081, 3, \"Add_const_to_unresolved_variable_95081\", \"Add 'const' to unresolved variable\"),\n          Add_const_to_all_unresolved_variables: diag(95082, 3, \"Add_const_to_all_unresolved_variables_95082\", \"Add 'const' to all unresolved variables\"),\n          Add_await: diag(95083, 3, \"Add_await_95083\", \"Add 'await'\"),\n          Add_await_to_initializer_for_0: diag(95084, 3, \"Add_await_to_initializer_for_0_95084\", \"Add 'await' to initializer for '{0}'\"),\n          Fix_all_expressions_possibly_missing_await: diag(95085, 3, \"Fix_all_expressions_possibly_missing_await_95085\", \"Fix all expressions possibly missing 'await'\"),\n          Remove_unnecessary_await: diag(95086, 3, \"Remove_unnecessary_await_95086\", \"Remove unnecessary 'await'\"),\n          Remove_all_unnecessary_uses_of_await: diag(95087, 3, \"Remove_all_unnecessary_uses_of_await_95087\", \"Remove all unnecessary uses of 'await'\"),\n          Enable_the_jsx_flag_in_your_configuration_file: diag(95088, 3, \"Enable_the_jsx_flag_in_your_configuration_file_95088\", \"Enable the '--jsx' flag in your configuration file\"),\n          Add_await_to_initializers: diag(95089, 3, \"Add_await_to_initializers_95089\", \"Add 'await' to initializers\"),\n          Extract_to_interface: diag(95090, 3, \"Extract_to_interface_95090\", \"Extract to interface\"),\n          Convert_to_a_bigint_numeric_literal: diag(95091, 3, \"Convert_to_a_bigint_numeric_literal_95091\", \"Convert to a bigint numeric literal\"),\n          Convert_all_to_bigint_numeric_literals: diag(95092, 3, \"Convert_all_to_bigint_numeric_literals_95092\", \"Convert all to bigint numeric literals\"),\n          Convert_const_to_let: diag(95093, 3, \"Convert_const_to_let_95093\", \"Convert 'const' to 'let'\"),\n          Prefix_with_declare: diag(95094, 3, \"Prefix_with_declare_95094\", \"Prefix with 'declare'\"),\n          Prefix_all_incorrect_property_declarations_with_declare: diag(95095, 3, \"Prefix_all_incorrect_property_declarations_with_declare_95095\", \"Prefix all incorrect property declarations with 'declare'\"),\n          Convert_to_template_string: diag(95096, 3, \"Convert_to_template_string_95096\", \"Convert to template string\"),\n          Add_export_to_make_this_file_into_a_module: diag(95097, 3, \"Add_export_to_make_this_file_into_a_module_95097\", \"Add 'export {}' to make this file into a module\"),\n          Set_the_target_option_in_your_configuration_file_to_0: diag(95098, 3, \"Set_the_target_option_in_your_configuration_file_to_0_95098\", \"Set the 'target' option in your configuration file to '{0}'\"),\n          Set_the_module_option_in_your_configuration_file_to_0: diag(95099, 3, \"Set_the_module_option_in_your_configuration_file_to_0_95099\", \"Set the 'module' option in your configuration file to '{0}'\"),\n          Convert_invalid_character_to_its_html_entity_code: diag(95100, 3, \"Convert_invalid_character_to_its_html_entity_code_95100\", \"Convert invalid character to its html entity code\"),\n          Convert_all_invalid_characters_to_HTML_entity_code: diag(95101, 3, \"Convert_all_invalid_characters_to_HTML_entity_code_95101\", \"Convert all invalid characters to HTML entity code\"),\n          Convert_all_const_to_let: diag(95102, 3, \"Convert_all_const_to_let_95102\", \"Convert all 'const' to 'let'\"),\n          Convert_function_expression_0_to_arrow_function: diag(95105, 3, \"Convert_function_expression_0_to_arrow_function_95105\", \"Convert function expression '{0}' to arrow function\"),\n          Convert_function_declaration_0_to_arrow_function: diag(95106, 3, \"Convert_function_declaration_0_to_arrow_function_95106\", \"Convert function declaration '{0}' to arrow function\"),\n          Fix_all_implicit_this_errors: diag(95107, 3, \"Fix_all_implicit_this_errors_95107\", \"Fix all implicit-'this' errors\"),\n          Wrap_invalid_character_in_an_expression_container: diag(95108, 3, \"Wrap_invalid_character_in_an_expression_container_95108\", \"Wrap invalid character in an expression container\"),\n          Wrap_all_invalid_characters_in_an_expression_container: diag(95109, 3, \"Wrap_all_invalid_characters_in_an_expression_container_95109\", \"Wrap all invalid characters in an expression container\"),\n          Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file: diag(95110, 3, \"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110\", \"Visit https://aka.ms/tsconfig to read more about this file\"),\n          Add_a_return_statement: diag(95111, 3, \"Add_a_return_statement_95111\", \"Add a return statement\"),\n          Remove_braces_from_arrow_function_body: diag(95112, 3, \"Remove_braces_from_arrow_function_body_95112\", \"Remove braces from arrow function body\"),\n          Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal: diag(95113, 3, \"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113\", \"Wrap the following body with parentheses which should be an object literal\"),\n          Add_all_missing_return_statement: diag(95114, 3, \"Add_all_missing_return_statement_95114\", \"Add all missing return statement\"),\n          Remove_braces_from_all_arrow_function_bodies_with_relevant_issues: diag(95115, 3, \"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115\", \"Remove braces from all arrow function bodies with relevant issues\"),\n          Wrap_all_object_literal_with_parentheses: diag(95116, 3, \"Wrap_all_object_literal_with_parentheses_95116\", \"Wrap all object literal with parentheses\"),\n          Move_labeled_tuple_element_modifiers_to_labels: diag(95117, 3, \"Move_labeled_tuple_element_modifiers_to_labels_95117\", \"Move labeled tuple element modifiers to labels\"),\n          Convert_overload_list_to_single_signature: diag(95118, 3, \"Convert_overload_list_to_single_signature_95118\", \"Convert overload list to single signature\"),\n          Generate_get_and_set_accessors_for_all_overriding_properties: diag(95119, 3, \"Generate_get_and_set_accessors_for_all_overriding_properties_95119\", \"Generate 'get' and 'set' accessors for all overriding properties\"),\n          Wrap_in_JSX_fragment: diag(95120, 3, \"Wrap_in_JSX_fragment_95120\", \"Wrap in JSX fragment\"),\n          Wrap_all_unparented_JSX_in_JSX_fragment: diag(95121, 3, \"Wrap_all_unparented_JSX_in_JSX_fragment_95121\", \"Wrap all unparented JSX in JSX fragment\"),\n          Convert_arrow_function_or_function_expression: diag(95122, 3, \"Convert_arrow_function_or_function_expression_95122\", \"Convert arrow function or function expression\"),\n          Convert_to_anonymous_function: diag(95123, 3, \"Convert_to_anonymous_function_95123\", \"Convert to anonymous function\"),\n          Convert_to_named_function: diag(95124, 3, \"Convert_to_named_function_95124\", \"Convert to named function\"),\n          Convert_to_arrow_function: diag(95125, 3, \"Convert_to_arrow_function_95125\", \"Convert to arrow function\"),\n          Remove_parentheses: diag(95126, 3, \"Remove_parentheses_95126\", \"Remove parentheses\"),\n          Could_not_find_a_containing_arrow_function: diag(95127, 3, \"Could_not_find_a_containing_arrow_function_95127\", \"Could not find a containing arrow function\"),\n          Containing_function_is_not_an_arrow_function: diag(95128, 3, \"Containing_function_is_not_an_arrow_function_95128\", \"Containing function is not an arrow function\"),\n          Could_not_find_export_statement: diag(95129, 3, \"Could_not_find_export_statement_95129\", \"Could not find export statement\"),\n          This_file_already_has_a_default_export: diag(95130, 3, \"This_file_already_has_a_default_export_95130\", \"This file already has a default export\"),\n          Could_not_find_import_clause: diag(95131, 3, \"Could_not_find_import_clause_95131\", \"Could not find import clause\"),\n          Could_not_find_namespace_import_or_named_imports: diag(95132, 3, \"Could_not_find_namespace_import_or_named_imports_95132\", \"Could not find namespace import or named imports\"),\n          Selection_is_not_a_valid_type_node: diag(95133, 3, \"Selection_is_not_a_valid_type_node_95133\", \"Selection is not a valid type node\"),\n          No_type_could_be_extracted_from_this_type_node: diag(95134, 3, \"No_type_could_be_extracted_from_this_type_node_95134\", \"No type could be extracted from this type node\"),\n          Could_not_find_property_for_which_to_generate_accessor: diag(95135, 3, \"Could_not_find_property_for_which_to_generate_accessor_95135\", \"Could not find property for which to generate accessor\"),\n          Name_is_not_valid: diag(95136, 3, \"Name_is_not_valid_95136\", \"Name is not valid\"),\n          Can_only_convert_property_with_modifier: diag(95137, 3, \"Can_only_convert_property_with_modifier_95137\", \"Can only convert property with modifier\"),\n          Switch_each_misused_0_to_1: diag(95138, 3, \"Switch_each_misused_0_to_1_95138\", \"Switch each misused '{0}' to '{1}'\"),\n          Convert_to_optional_chain_expression: diag(95139, 3, \"Convert_to_optional_chain_expression_95139\", \"Convert to optional chain expression\"),\n          Could_not_find_convertible_access_expression: diag(95140, 3, \"Could_not_find_convertible_access_expression_95140\", \"Could not find convertible access expression\"),\n          Could_not_find_matching_access_expressions: diag(95141, 3, \"Could_not_find_matching_access_expressions_95141\", \"Could not find matching access expressions\"),\n          Can_only_convert_logical_AND_access_chains: diag(95142, 3, \"Can_only_convert_logical_AND_access_chains_95142\", \"Can only convert logical AND access chains\"),\n          Add_void_to_Promise_resolved_without_a_value: diag(95143, 3, \"Add_void_to_Promise_resolved_without_a_value_95143\", \"Add 'void' to Promise resolved without a value\"),\n          Add_void_to_all_Promises_resolved_without_a_value: diag(95144, 3, \"Add_void_to_all_Promises_resolved_without_a_value_95144\", \"Add 'void' to all Promises resolved without a value\"),\n          Use_element_access_for_0: diag(95145, 3, \"Use_element_access_for_0_95145\", \"Use element access for '{0}'\"),\n          Use_element_access_for_all_undeclared_properties: diag(95146, 3, \"Use_element_access_for_all_undeclared_properties_95146\", \"Use element access for all undeclared properties.\"),\n          Delete_all_unused_imports: diag(95147, 3, \"Delete_all_unused_imports_95147\", \"Delete all unused imports\"),\n          Infer_function_return_type: diag(95148, 3, \"Infer_function_return_type_95148\", \"Infer function return type\"),\n          Return_type_must_be_inferred_from_a_function: diag(95149, 3, \"Return_type_must_be_inferred_from_a_function_95149\", \"Return type must be inferred from a function\"),\n          Could_not_determine_function_return_type: diag(95150, 3, \"Could_not_determine_function_return_type_95150\", \"Could not determine function return type\"),\n          Could_not_convert_to_arrow_function: diag(95151, 3, \"Could_not_convert_to_arrow_function_95151\", \"Could not convert to arrow function\"),\n          Could_not_convert_to_named_function: diag(95152, 3, \"Could_not_convert_to_named_function_95152\", \"Could not convert to named function\"),\n          Could_not_convert_to_anonymous_function: diag(95153, 3, \"Could_not_convert_to_anonymous_function_95153\", \"Could not convert to anonymous function\"),\n          Can_only_convert_string_concatenation: diag(95154, 3, \"Can_only_convert_string_concatenation_95154\", \"Can only convert string concatenation\"),\n          Selection_is_not_a_valid_statement_or_statements: diag(95155, 3, \"Selection_is_not_a_valid_statement_or_statements_95155\", \"Selection is not a valid statement or statements\"),\n          Add_missing_function_declaration_0: diag(95156, 3, \"Add_missing_function_declaration_0_95156\", \"Add missing function declaration '{0}'\"),\n          Add_all_missing_function_declarations: diag(95157, 3, \"Add_all_missing_function_declarations_95157\", \"Add all missing function declarations\"),\n          Method_not_implemented: diag(95158, 3, \"Method_not_implemented_95158\", \"Method not implemented.\"),\n          Function_not_implemented: diag(95159, 3, \"Function_not_implemented_95159\", \"Function not implemented.\"),\n          Add_override_modifier: diag(95160, 3, \"Add_override_modifier_95160\", \"Add 'override' modifier\"),\n          Remove_override_modifier: diag(95161, 3, \"Remove_override_modifier_95161\", \"Remove 'override' modifier\"),\n          Add_all_missing_override_modifiers: diag(95162, 3, \"Add_all_missing_override_modifiers_95162\", \"Add all missing 'override' modifiers\"),\n          Remove_all_unnecessary_override_modifiers: diag(95163, 3, \"Remove_all_unnecessary_override_modifiers_95163\", \"Remove all unnecessary 'override' modifiers\"),\n          Can_only_convert_named_export: diag(95164, 3, \"Can_only_convert_named_export_95164\", \"Can only convert named export\"),\n          Add_missing_properties: diag(95165, 3, \"Add_missing_properties_95165\", \"Add missing properties\"),\n          Add_all_missing_properties: diag(95166, 3, \"Add_all_missing_properties_95166\", \"Add all missing properties\"),\n          Add_missing_attributes: diag(95167, 3, \"Add_missing_attributes_95167\", \"Add missing attributes\"),\n          Add_all_missing_attributes: diag(95168, 3, \"Add_all_missing_attributes_95168\", \"Add all missing attributes\"),\n          Add_undefined_to_optional_property_type: diag(95169, 3, \"Add_undefined_to_optional_property_type_95169\", \"Add 'undefined' to optional property type\"),\n          Convert_named_imports_to_default_import: diag(95170, 3, \"Convert_named_imports_to_default_import_95170\", \"Convert named imports to default import\"),\n          Delete_unused_param_tag_0: diag(95171, 3, \"Delete_unused_param_tag_0_95171\", \"Delete unused '@param' tag '{0}'\"),\n          Delete_all_unused_param_tags: diag(95172, 3, \"Delete_all_unused_param_tags_95172\", \"Delete all unused '@param' tags\"),\n          Rename_param_tag_name_0_to_1: diag(95173, 3, \"Rename_param_tag_name_0_to_1_95173\", \"Rename '@param' tag name '{0}' to '{1}'\"),\n          Use_0: diag(95174, 3, \"Use_0_95174\", \"Use `{0}`.\"),\n          Use_Number_isNaN_in_all_conditions: diag(95175, 3, \"Use_Number_isNaN_in_all_conditions_95175\", \"Use `Number.isNaN` in all conditions.\"),\n          No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1, \"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004\", \"No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.\"),\n          Classes_may_not_have_a_field_named_constructor: diag(18006, 1, \"Classes_may_not_have_a_field_named_constructor_18006\", \"Classes may not have a field named 'constructor'.\"),\n          JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array: diag(18007, 1, \"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007\", \"JSX expressions may not use the comma operator. Did you mean to write an array?\"),\n          Private_identifiers_cannot_be_used_as_parameters: diag(18009, 1, \"Private_identifiers_cannot_be_used_as_parameters_18009\", \"Private identifiers cannot be used as parameters.\"),\n          An_accessibility_modifier_cannot_be_used_with_a_private_identifier: diag(18010, 1, \"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010\", \"An accessibility modifier cannot be used with a private identifier.\"),\n          The_operand_of_a_delete_operator_cannot_be_a_private_identifier: diag(18011, 1, \"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011\", \"The operand of a 'delete' operator cannot be a private identifier.\"),\n          constructor_is_a_reserved_word: diag(18012, 1, \"constructor_is_a_reserved_word_18012\", \"'#constructor' is a reserved word.\"),\n          Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier: diag(18013, 1, \"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013\", \"Property '{0}' is not accessible outside class '{1}' because it has a private identifier.\"),\n          The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling: diag(18014, 1, \"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014\", \"The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling.\"),\n          Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2: diag(18015, 1, \"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015\", \"Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'.\"),\n          Private_identifiers_are_not_allowed_outside_class_bodies: diag(18016, 1, \"Private_identifiers_are_not_allowed_outside_class_bodies_18016\", \"Private identifiers are not allowed outside class bodies.\"),\n          The_shadowing_declaration_of_0_is_defined_here: diag(18017, 1, \"The_shadowing_declaration_of_0_is_defined_here_18017\", \"The shadowing declaration of '{0}' is defined here\"),\n          The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here: diag(18018, 1, \"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018\", \"The declaration of '{0}' that you probably intended to use is defined here\"),\n          _0_modifier_cannot_be_used_with_a_private_identifier: diag(18019, 1, \"_0_modifier_cannot_be_used_with_a_private_identifier_18019\", \"'{0}' modifier cannot be used with a private identifier.\"),\n          An_enum_member_cannot_be_named_with_a_private_identifier: diag(18024, 1, \"An_enum_member_cannot_be_named_with_a_private_identifier_18024\", \"An enum member cannot be named with a private identifier.\"),\n          can_only_be_used_at_the_start_of_a_file: diag(18026, 1, \"can_only_be_used_at_the_start_of_a_file_18026\", \"'#!' can only be used at the start of a file.\"),\n          Compiler_reserves_name_0_when_emitting_private_identifier_downlevel: diag(18027, 1, \"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027\", \"Compiler reserves name '{0}' when emitting private identifier downlevel.\"),\n          Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher: diag(18028, 1, \"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028\", \"Private identifiers are only available when targeting ECMAScript 2015 and higher.\"),\n          Private_identifiers_are_not_allowed_in_variable_declarations: diag(18029, 1, \"Private_identifiers_are_not_allowed_in_variable_declarations_18029\", \"Private identifiers are not allowed in variable declarations.\"),\n          An_optional_chain_cannot_contain_private_identifiers: diag(18030, 1, \"An_optional_chain_cannot_contain_private_identifiers_18030\", \"An optional chain cannot contain private identifiers.\"),\n          The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents: diag(18031, 1, \"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031\", \"The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents.\"),\n          The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some: diag(18032, 1, \"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032\", \"The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some.\"),\n          Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values: diag(18033, 1, \"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033\", \"Type '{0}' is not assignable to type '{1}' as required for computed enum member values.\"),\n          Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment: diag(18034, 3, \"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034\", \"Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'.\"),\n          Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name: diag(18035, 1, \"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035\", \"Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.\"),\n          Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator: diag(18036, 1, \"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036\", \"Class decorators can't be used with static private identifier. Consider removing the experimental decorator.\"),\n          Await_expression_cannot_be_used_inside_a_class_static_block: diag(18037, 1, \"Await_expression_cannot_be_used_inside_a_class_static_block_18037\", \"Await expression cannot be used inside a class static block.\"),\n          For_await_loops_cannot_be_used_inside_a_class_static_block: diag(18038, 1, \"For_await_loops_cannot_be_used_inside_a_class_static_block_18038\", \"'For await' loops cannot be used inside a class static block.\"),\n          Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block: diag(18039, 1, \"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039\", \"Invalid use of '{0}'. It cannot be used inside a class static block.\"),\n          A_return_statement_cannot_be_used_inside_a_class_static_block: diag(18041, 1, \"A_return_statement_cannot_be_used_inside_a_class_static_block_18041\", \"A 'return' statement cannot be used inside a class static block.\"),\n          _0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation: diag(18042, 1, \"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042\", \"'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation.\"),\n          Types_cannot_appear_in_export_declarations_in_JavaScript_files: diag(18043, 1, \"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043\", \"Types cannot appear in export declarations in JavaScript files.\"),\n          _0_is_automatically_exported_here: diag(18044, 3, \"_0_is_automatically_exported_here_18044\", \"'{0}' is automatically exported here.\"),\n          Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher: diag(18045, 1, \"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045\", \"Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher.\"),\n          _0_is_of_type_unknown: diag(18046, 1, \"_0_is_of_type_unknown_18046\", \"'{0}' is of type 'unknown'.\"),\n          _0_is_possibly_null: diag(18047, 1, \"_0_is_possibly_null_18047\", \"'{0}' is possibly 'null'.\"),\n          _0_is_possibly_undefined: diag(18048, 1, \"_0_is_possibly_undefined_18048\", \"'{0}' is possibly 'undefined'.\"),\n          _0_is_possibly_null_or_undefined: diag(18049, 1, \"_0_is_possibly_null_or_undefined_18049\", \"'{0}' is possibly 'null' or 'undefined'.\"),\n          The_value_0_cannot_be_used_here: diag(18050, 1, \"The_value_0_cannot_be_used_here_18050\", \"The value '{0}' cannot be used here.\"),\n          Compiler_option_0_cannot_be_given_an_empty_string: diag(18051, 1, \"Compiler_option_0_cannot_be_given_an_empty_string_18051\", \"Compiler option '{0}' cannot be given an empty string.\")\n        };\n      }\n    });\n    function tokenIsIdentifierOrKeyword(token) {\n      return token >= 79;\n    }\n    function tokenIsIdentifierOrKeywordOrGreaterThan(token) {\n      return token === 31 || tokenIsIdentifierOrKeyword(token);\n    }\n    function lookupInUnicodeMap(code, map2) {\n      if (code < map2[0]) {\n        return false;\n      }\n      let lo = 0;\n      let hi = map2.length;\n      let mid;\n      while (lo + 1 < hi) {\n        mid = lo + (hi - lo) / 2;\n        mid -= mid % 2;\n        if (map2[mid] <= code && code <= map2[mid + 1]) {\n          return true;\n        }\n        if (code < map2[mid]) {\n          hi = mid;\n        } else {\n          lo = mid + 2;\n        }\n      }\n      return false;\n    }\n    function isUnicodeIdentifierStart(code, languageVersion) {\n      return languageVersion >= 2 ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) : languageVersion === 1 ? lookupInUnicodeMap(code, unicodeES5IdentifierStart) : lookupInUnicodeMap(code, unicodeES3IdentifierStart);\n    }\n    function isUnicodeIdentifierPart(code, languageVersion) {\n      return languageVersion >= 2 ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) : languageVersion === 1 ? lookupInUnicodeMap(code, unicodeES5IdentifierPart) : lookupInUnicodeMap(code, unicodeES3IdentifierPart);\n    }\n    function makeReverseMap(source) {\n      const result = [];\n      source.forEach((value, name) => {\n        result[value] = name;\n      });\n      return result;\n    }\n    function tokenToString(t) {\n      return tokenStrings[t];\n    }\n    function stringToToken(s) {\n      return textToToken.get(s);\n    }\n    function computeLineStarts(text) {\n      const result = [];\n      let pos = 0;\n      let lineStart = 0;\n      while (pos < text.length) {\n        const ch = text.charCodeAt(pos);\n        pos++;\n        switch (ch) {\n          case 13:\n            if (text.charCodeAt(pos) === 10) {\n              pos++;\n            }\n          case 10:\n            result.push(lineStart);\n            lineStart = pos;\n            break;\n          default:\n            if (ch > 127 && isLineBreak(ch)) {\n              result.push(lineStart);\n              lineStart = pos;\n            }\n            break;\n        }\n      }\n      result.push(lineStart);\n      return result;\n    }\n    function getPositionOfLineAndCharacter(sourceFile, line, character, allowEdits) {\n      return sourceFile.getPositionOfLineAndCharacter ? sourceFile.getPositionOfLineAndCharacter(line, character, allowEdits) : computePositionOfLineAndCharacter(getLineStarts(sourceFile), line, character, sourceFile.text, allowEdits);\n    }\n    function computePositionOfLineAndCharacter(lineStarts, line, character, debugText, allowEdits) {\n      if (line < 0 || line >= lineStarts.length) {\n        if (allowEdits) {\n          line = line < 0 ? 0 : line >= lineStarts.length ? lineStarts.length - 1 : line;\n        } else {\n          Debug2.fail(`Bad line number. Line: ${line}, lineStarts.length: ${lineStarts.length} , line map is correct? ${debugText !== void 0 ? arraysEqual(lineStarts, computeLineStarts(debugText)) : \"unknown\"}`);\n        }\n      }\n      const res = lineStarts[line] + character;\n      if (allowEdits) {\n        return res > lineStarts[line + 1] ? lineStarts[line + 1] : typeof debugText === \"string\" && res > debugText.length ? debugText.length : res;\n      }\n      if (line < lineStarts.length - 1) {\n        Debug2.assert(res < lineStarts[line + 1]);\n      } else if (debugText !== void 0) {\n        Debug2.assert(res <= debugText.length);\n      }\n      return res;\n    }\n    function getLineStarts(sourceFile) {\n      return sourceFile.lineMap || (sourceFile.lineMap = computeLineStarts(sourceFile.text));\n    }\n    function computeLineAndCharacterOfPosition(lineStarts, position) {\n      const lineNumber = computeLineOfPosition(lineStarts, position);\n      return {\n        line: lineNumber,\n        character: position - lineStarts[lineNumber]\n      };\n    }\n    function computeLineOfPosition(lineStarts, position, lowerBound) {\n      let lineNumber = binarySearch(lineStarts, position, identity2, compareValues, lowerBound);\n      if (lineNumber < 0) {\n        lineNumber = ~lineNumber - 1;\n        Debug2.assert(lineNumber !== -1, \"position cannot precede the beginning of the file\");\n      }\n      return lineNumber;\n    }\n    function getLinesBetweenPositions(sourceFile, pos1, pos2) {\n      if (pos1 === pos2)\n        return 0;\n      const lineStarts = getLineStarts(sourceFile);\n      const lower = Math.min(pos1, pos2);\n      const isNegative = lower === pos2;\n      const upper = isNegative ? pos1 : pos2;\n      const lowerLine = computeLineOfPosition(lineStarts, lower);\n      const upperLine = computeLineOfPosition(lineStarts, upper, lowerLine);\n      return isNegative ? lowerLine - upperLine : upperLine - lowerLine;\n    }\n    function getLineAndCharacterOfPosition(sourceFile, position) {\n      return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position);\n    }\n    function isWhiteSpaceLike(ch) {\n      return isWhiteSpaceSingleLine(ch) || isLineBreak(ch);\n    }\n    function isWhiteSpaceSingleLine(ch) {\n      return ch === 32 || ch === 9 || ch === 11 || ch === 12 || ch === 160 || ch === 133 || ch === 5760 || ch >= 8192 && ch <= 8203 || ch === 8239 || ch === 8287 || ch === 12288 || ch === 65279;\n    }\n    function isLineBreak(ch) {\n      return ch === 10 || ch === 13 || ch === 8232 || ch === 8233;\n    }\n    function isDigit(ch) {\n      return ch >= 48 && ch <= 57;\n    }\n    function isHexDigit(ch) {\n      return isDigit(ch) || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102;\n    }\n    function isCodePoint(code) {\n      return code <= 1114111;\n    }\n    function isOctalDigit(ch) {\n      return ch >= 48 && ch <= 55;\n    }\n    function couldStartTrivia(text, pos) {\n      const ch = text.charCodeAt(pos);\n      switch (ch) {\n        case 13:\n        case 10:\n        case 9:\n        case 11:\n        case 12:\n        case 32:\n        case 47:\n        case 60:\n        case 124:\n        case 61:\n        case 62:\n          return true;\n        case 35:\n          return pos === 0;\n        default:\n          return ch > 127;\n      }\n    }\n    function skipTrivia(text, pos, stopAfterLineBreak, stopAtComments, inJSDoc) {\n      if (positionIsSynthesized(pos)) {\n        return pos;\n      }\n      let canConsumeStar = false;\n      while (true) {\n        const ch = text.charCodeAt(pos);\n        switch (ch) {\n          case 13:\n            if (text.charCodeAt(pos + 1) === 10) {\n              pos++;\n            }\n          case 10:\n            pos++;\n            if (stopAfterLineBreak) {\n              return pos;\n            }\n            canConsumeStar = !!inJSDoc;\n            continue;\n          case 9:\n          case 11:\n          case 12:\n          case 32:\n            pos++;\n            continue;\n          case 47:\n            if (stopAtComments) {\n              break;\n            }\n            if (text.charCodeAt(pos + 1) === 47) {\n              pos += 2;\n              while (pos < text.length) {\n                if (isLineBreak(text.charCodeAt(pos))) {\n                  break;\n                }\n                pos++;\n              }\n              canConsumeStar = false;\n              continue;\n            }\n            if (text.charCodeAt(pos + 1) === 42) {\n              pos += 2;\n              while (pos < text.length) {\n                if (text.charCodeAt(pos) === 42 && text.charCodeAt(pos + 1) === 47) {\n                  pos += 2;\n                  break;\n                }\n                pos++;\n              }\n              canConsumeStar = false;\n              continue;\n            }\n            break;\n          case 60:\n          case 124:\n          case 61:\n          case 62:\n            if (isConflictMarkerTrivia(text, pos)) {\n              pos = scanConflictMarkerTrivia(text, pos);\n              canConsumeStar = false;\n              continue;\n            }\n            break;\n          case 35:\n            if (pos === 0 && isShebangTrivia(text, pos)) {\n              pos = scanShebangTrivia(text, pos);\n              canConsumeStar = false;\n              continue;\n            }\n            break;\n          case 42:\n            if (canConsumeStar) {\n              pos++;\n              canConsumeStar = false;\n              continue;\n            }\n            break;\n          default:\n            if (ch > 127 && isWhiteSpaceLike(ch)) {\n              pos++;\n              continue;\n            }\n            break;\n        }\n        return pos;\n      }\n    }\n    function isConflictMarkerTrivia(text, pos) {\n      Debug2.assert(pos >= 0);\n      if (pos === 0 || isLineBreak(text.charCodeAt(pos - 1))) {\n        const ch = text.charCodeAt(pos);\n        if (pos + mergeConflictMarkerLength < text.length) {\n          for (let i = 0; i < mergeConflictMarkerLength; i++) {\n            if (text.charCodeAt(pos + i) !== ch) {\n              return false;\n            }\n          }\n          return ch === 61 || text.charCodeAt(pos + mergeConflictMarkerLength) === 32;\n        }\n      }\n      return false;\n    }\n    function scanConflictMarkerTrivia(text, pos, error) {\n      if (error) {\n        error(Diagnostics.Merge_conflict_marker_encountered, pos, mergeConflictMarkerLength);\n      }\n      const ch = text.charCodeAt(pos);\n      const len = text.length;\n      if (ch === 60 || ch === 62) {\n        while (pos < len && !isLineBreak(text.charCodeAt(pos))) {\n          pos++;\n        }\n      } else {\n        Debug2.assert(\n          ch === 124 || ch === 61\n          /* equals */\n        );\n        while (pos < len) {\n          const currentChar = text.charCodeAt(pos);\n          if ((currentChar === 61 || currentChar === 62) && currentChar !== ch && isConflictMarkerTrivia(text, pos)) {\n            break;\n          }\n          pos++;\n        }\n      }\n      return pos;\n    }\n    function isShebangTrivia(text, pos) {\n      Debug2.assert(pos === 0);\n      return shebangTriviaRegex.test(text);\n    }\n    function scanShebangTrivia(text, pos) {\n      const shebang = shebangTriviaRegex.exec(text)[0];\n      pos = pos + shebang.length;\n      return pos;\n    }\n    function iterateCommentRanges(reduce, text, pos, trailing, cb, state, initial) {\n      let pendingPos;\n      let pendingEnd;\n      let pendingKind;\n      let pendingHasTrailingNewLine;\n      let hasPendingCommentRange = false;\n      let collecting = trailing;\n      let accumulator = initial;\n      if (pos === 0) {\n        collecting = true;\n        const shebang = getShebang(text);\n        if (shebang) {\n          pos = shebang.length;\n        }\n      }\n      scan:\n        while (pos >= 0 && pos < text.length) {\n          const ch = text.charCodeAt(pos);\n          switch (ch) {\n            case 13:\n              if (text.charCodeAt(pos + 1) === 10) {\n                pos++;\n              }\n            case 10:\n              pos++;\n              if (trailing) {\n                break scan;\n              }\n              collecting = true;\n              if (hasPendingCommentRange) {\n                pendingHasTrailingNewLine = true;\n              }\n              continue;\n            case 9:\n            case 11:\n            case 12:\n            case 32:\n              pos++;\n              continue;\n            case 47:\n              const nextChar = text.charCodeAt(pos + 1);\n              let hasTrailingNewLine = false;\n              if (nextChar === 47 || nextChar === 42) {\n                const kind = nextChar === 47 ? 2 : 3;\n                const startPos = pos;\n                pos += 2;\n                if (nextChar === 47) {\n                  while (pos < text.length) {\n                    if (isLineBreak(text.charCodeAt(pos))) {\n                      hasTrailingNewLine = true;\n                      break;\n                    }\n                    pos++;\n                  }\n                } else {\n                  while (pos < text.length) {\n                    if (text.charCodeAt(pos) === 42 && text.charCodeAt(pos + 1) === 47) {\n                      pos += 2;\n                      break;\n                    }\n                    pos++;\n                  }\n                }\n                if (collecting) {\n                  if (hasPendingCommentRange) {\n                    accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator);\n                    if (!reduce && accumulator) {\n                      return accumulator;\n                    }\n                  }\n                  pendingPos = startPos;\n                  pendingEnd = pos;\n                  pendingKind = kind;\n                  pendingHasTrailingNewLine = hasTrailingNewLine;\n                  hasPendingCommentRange = true;\n                }\n                continue;\n              }\n              break scan;\n            default:\n              if (ch > 127 && isWhiteSpaceLike(ch)) {\n                if (hasPendingCommentRange && isLineBreak(ch)) {\n                  pendingHasTrailingNewLine = true;\n                }\n                pos++;\n                continue;\n              }\n              break scan;\n          }\n        }\n      if (hasPendingCommentRange) {\n        accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator);\n      }\n      return accumulator;\n    }\n    function forEachLeadingCommentRange(text, pos, cb, state) {\n      return iterateCommentRanges(\n        /*reduce*/\n        false,\n        text,\n        pos,\n        /*trailing*/\n        false,\n        cb,\n        state\n      );\n    }\n    function forEachTrailingCommentRange(text, pos, cb, state) {\n      return iterateCommentRanges(\n        /*reduce*/\n        false,\n        text,\n        pos,\n        /*trailing*/\n        true,\n        cb,\n        state\n      );\n    }\n    function reduceEachLeadingCommentRange(text, pos, cb, state, initial) {\n      return iterateCommentRanges(\n        /*reduce*/\n        true,\n        text,\n        pos,\n        /*trailing*/\n        false,\n        cb,\n        state,\n        initial\n      );\n    }\n    function reduceEachTrailingCommentRange(text, pos, cb, state, initial) {\n      return iterateCommentRanges(\n        /*reduce*/\n        true,\n        text,\n        pos,\n        /*trailing*/\n        true,\n        cb,\n        state,\n        initial\n      );\n    }\n    function appendCommentRange(pos, end, kind, hasTrailingNewLine, _state, comments = []) {\n      comments.push({ kind, pos, end, hasTrailingNewLine });\n      return comments;\n    }\n    function getLeadingCommentRanges(text, pos) {\n      return reduceEachLeadingCommentRange(\n        text,\n        pos,\n        appendCommentRange,\n        /*state*/\n        void 0,\n        /*initial*/\n        void 0\n      );\n    }\n    function getTrailingCommentRanges(text, pos) {\n      return reduceEachTrailingCommentRange(\n        text,\n        pos,\n        appendCommentRange,\n        /*state*/\n        void 0,\n        /*initial*/\n        void 0\n      );\n    }\n    function getShebang(text) {\n      const match = shebangTriviaRegex.exec(text);\n      if (match) {\n        return match[0];\n      }\n    }\n    function isIdentifierStart(ch, languageVersion) {\n      return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch === 36 || ch === 95 || ch > 127 && isUnicodeIdentifierStart(ch, languageVersion);\n    }\n    function isIdentifierPart(ch, languageVersion, identifierVariant) {\n      return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 48 && ch <= 57 || ch === 36 || ch === 95 || // \"-\" and \":\" are valid in JSX Identifiers\n      (identifierVariant === 1 ? ch === 45 || ch === 58 : false) || ch > 127 && isUnicodeIdentifierPart(ch, languageVersion);\n    }\n    function isIdentifierText(name, languageVersion, identifierVariant) {\n      let ch = codePointAt(name, 0);\n      if (!isIdentifierStart(ch, languageVersion)) {\n        return false;\n      }\n      for (let i = charSize(ch); i < name.length; i += charSize(ch)) {\n        if (!isIdentifierPart(ch = codePointAt(name, i), languageVersion, identifierVariant)) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function createScanner(languageVersion, skipTrivia2, languageVariant = 0, textInitial, onError, start, length2) {\n      var text = textInitial;\n      var pos;\n      var end;\n      var startPos;\n      var tokenPos;\n      var token;\n      var tokenValue;\n      var tokenFlags;\n      var commentDirectives;\n      var inJSDocType = 0;\n      setText(text, start, length2);\n      var scanner2 = {\n        getStartPos: () => startPos,\n        getTextPos: () => pos,\n        getToken: () => token,\n        getTokenPos: () => tokenPos,\n        getTokenText: () => text.substring(tokenPos, pos),\n        getTokenValue: () => tokenValue,\n        hasUnicodeEscape: () => (tokenFlags & 1024) !== 0,\n        hasExtendedUnicodeEscape: () => (tokenFlags & 8) !== 0,\n        hasPrecedingLineBreak: () => (tokenFlags & 1) !== 0,\n        hasPrecedingJSDocComment: () => (tokenFlags & 2) !== 0,\n        isIdentifier: () => token === 79 || token > 116,\n        isReservedWord: () => token >= 81 && token <= 116,\n        isUnterminated: () => (tokenFlags & 4) !== 0,\n        getCommentDirectives: () => commentDirectives,\n        getNumericLiteralFlags: () => tokenFlags & 1008,\n        getTokenFlags: () => tokenFlags,\n        reScanGreaterToken,\n        reScanAsteriskEqualsToken,\n        reScanSlashToken,\n        reScanTemplateToken,\n        reScanTemplateHeadOrNoSubstitutionTemplate,\n        scanJsxIdentifier,\n        scanJsxAttributeValue,\n        reScanJsxAttributeValue,\n        reScanJsxToken,\n        reScanLessThanToken,\n        reScanHashToken,\n        reScanQuestionToken,\n        reScanInvalidIdentifier,\n        scanJsxToken,\n        scanJsDocToken,\n        scan,\n        getText,\n        clearCommentDirectives,\n        setText,\n        setScriptTarget,\n        setLanguageVariant,\n        setOnError,\n        setTextPos,\n        setInJSDocType,\n        tryScan,\n        lookAhead,\n        scanRange\n      };\n      if (Debug2.isDebugging) {\n        Object.defineProperty(scanner2, \"__debugShowCurrentPositionInText\", {\n          get: () => {\n            const text2 = scanner2.getText();\n            return text2.slice(0, scanner2.getStartPos()) + \"\\u2551\" + text2.slice(scanner2.getStartPos());\n          }\n        });\n      }\n      return scanner2;\n      function error(message, errPos = pos, length3) {\n        if (onError) {\n          const oldPos = pos;\n          pos = errPos;\n          onError(message, length3 || 0);\n          pos = oldPos;\n        }\n      }\n      function scanNumberFragment() {\n        let start2 = pos;\n        let allowSeparator = false;\n        let isPreviousTokenSeparator = false;\n        let result = \"\";\n        while (true) {\n          const ch = text.charCodeAt(pos);\n          if (ch === 95) {\n            tokenFlags |= 512;\n            if (allowSeparator) {\n              allowSeparator = false;\n              isPreviousTokenSeparator = true;\n              result += text.substring(start2, pos);\n            } else if (isPreviousTokenSeparator) {\n              error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1);\n            } else {\n              error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1);\n            }\n            pos++;\n            start2 = pos;\n            continue;\n          }\n          if (isDigit(ch)) {\n            allowSeparator = true;\n            isPreviousTokenSeparator = false;\n            pos++;\n            continue;\n          }\n          break;\n        }\n        if (text.charCodeAt(pos - 1) === 95) {\n          error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1);\n        }\n        return result + text.substring(start2, pos);\n      }\n      function scanNumber() {\n        const start2 = pos;\n        const mainFragment = scanNumberFragment();\n        let decimalFragment;\n        let scientificFragment;\n        if (text.charCodeAt(pos) === 46) {\n          pos++;\n          decimalFragment = scanNumberFragment();\n        }\n        let end2 = pos;\n        if (text.charCodeAt(pos) === 69 || text.charCodeAt(pos) === 101) {\n          pos++;\n          tokenFlags |= 16;\n          if (text.charCodeAt(pos) === 43 || text.charCodeAt(pos) === 45)\n            pos++;\n          const preNumericPart = pos;\n          const finalFragment = scanNumberFragment();\n          if (!finalFragment) {\n            error(Diagnostics.Digit_expected);\n          } else {\n            scientificFragment = text.substring(end2, preNumericPart) + finalFragment;\n            end2 = pos;\n          }\n        }\n        let result;\n        if (tokenFlags & 512) {\n          result = mainFragment;\n          if (decimalFragment) {\n            result += \".\" + decimalFragment;\n          }\n          if (scientificFragment) {\n            result += scientificFragment;\n          }\n        } else {\n          result = text.substring(start2, end2);\n        }\n        if (decimalFragment !== void 0 || tokenFlags & 16) {\n          checkForIdentifierStartAfterNumericLiteral(start2, decimalFragment === void 0 && !!(tokenFlags & 16));\n          return {\n            type: 8,\n            value: \"\" + +result\n            // if value is not an integer, it can be safely coerced to a number\n          };\n        } else {\n          tokenValue = result;\n          const type = checkBigIntSuffix();\n          checkForIdentifierStartAfterNumericLiteral(start2);\n          return { type, value: tokenValue };\n        }\n      }\n      function checkForIdentifierStartAfterNumericLiteral(numericStart, isScientific) {\n        if (!isIdentifierStart(codePointAt(text, pos), languageVersion)) {\n          return;\n        }\n        const identifierStart = pos;\n        const { length: length3 } = scanIdentifierParts();\n        if (length3 === 1 && text[identifierStart] === \"n\") {\n          if (isScientific) {\n            error(Diagnostics.A_bigint_literal_cannot_use_exponential_notation, numericStart, identifierStart - numericStart + 1);\n          } else {\n            error(Diagnostics.A_bigint_literal_must_be_an_integer, numericStart, identifierStart - numericStart + 1);\n          }\n        } else {\n          error(Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal, identifierStart, length3);\n          pos = identifierStart;\n        }\n      }\n      function scanOctalDigits() {\n        const start2 = pos;\n        while (isOctalDigit(text.charCodeAt(pos))) {\n          pos++;\n        }\n        return +text.substring(start2, pos);\n      }\n      function scanExactNumberOfHexDigits(count, canHaveSeparators) {\n        const valueString = scanHexDigits(\n          /*minCount*/\n          count,\n          /*scanAsManyAsPossible*/\n          false,\n          canHaveSeparators\n        );\n        return valueString ? parseInt(valueString, 16) : -1;\n      }\n      function scanMinimumNumberOfHexDigits(count, canHaveSeparators) {\n        return scanHexDigits(\n          /*minCount*/\n          count,\n          /*scanAsManyAsPossible*/\n          true,\n          canHaveSeparators\n        );\n      }\n      function scanHexDigits(minCount, scanAsManyAsPossible, canHaveSeparators) {\n        let valueChars = [];\n        let allowSeparator = false;\n        let isPreviousTokenSeparator = false;\n        while (valueChars.length < minCount || scanAsManyAsPossible) {\n          let ch = text.charCodeAt(pos);\n          if (canHaveSeparators && ch === 95) {\n            tokenFlags |= 512;\n            if (allowSeparator) {\n              allowSeparator = false;\n              isPreviousTokenSeparator = true;\n            } else if (isPreviousTokenSeparator) {\n              error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1);\n            } else {\n              error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1);\n            }\n            pos++;\n            continue;\n          }\n          allowSeparator = canHaveSeparators;\n          if (ch >= 65 && ch <= 70) {\n            ch += 97 - 65;\n          } else if (!(ch >= 48 && ch <= 57 || ch >= 97 && ch <= 102)) {\n            break;\n          }\n          valueChars.push(ch);\n          pos++;\n          isPreviousTokenSeparator = false;\n        }\n        if (valueChars.length < minCount) {\n          valueChars = [];\n        }\n        if (text.charCodeAt(pos - 1) === 95) {\n          error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1);\n        }\n        return String.fromCharCode(...valueChars);\n      }\n      function scanString(jsxAttributeString = false) {\n        const quote2 = text.charCodeAt(pos);\n        pos++;\n        let result = \"\";\n        let start2 = pos;\n        while (true) {\n          if (pos >= end) {\n            result += text.substring(start2, pos);\n            tokenFlags |= 4;\n            error(Diagnostics.Unterminated_string_literal);\n            break;\n          }\n          const ch = text.charCodeAt(pos);\n          if (ch === quote2) {\n            result += text.substring(start2, pos);\n            pos++;\n            break;\n          }\n          if (ch === 92 && !jsxAttributeString) {\n            result += text.substring(start2, pos);\n            result += scanEscapeSequence();\n            start2 = pos;\n            continue;\n          }\n          if (isLineBreak(ch) && !jsxAttributeString) {\n            result += text.substring(start2, pos);\n            tokenFlags |= 4;\n            error(Diagnostics.Unterminated_string_literal);\n            break;\n          }\n          pos++;\n        }\n        return result;\n      }\n      function scanTemplateAndSetTokenValue(isTaggedTemplate) {\n        const startedWithBacktick = text.charCodeAt(pos) === 96;\n        pos++;\n        let start2 = pos;\n        let contents = \"\";\n        let resultingToken;\n        while (true) {\n          if (pos >= end) {\n            contents += text.substring(start2, pos);\n            tokenFlags |= 4;\n            error(Diagnostics.Unterminated_template_literal);\n            resultingToken = startedWithBacktick ? 14 : 17;\n            break;\n          }\n          const currChar = text.charCodeAt(pos);\n          if (currChar === 96) {\n            contents += text.substring(start2, pos);\n            pos++;\n            resultingToken = startedWithBacktick ? 14 : 17;\n            break;\n          }\n          if (currChar === 36 && pos + 1 < end && text.charCodeAt(pos + 1) === 123) {\n            contents += text.substring(start2, pos);\n            pos += 2;\n            resultingToken = startedWithBacktick ? 15 : 16;\n            break;\n          }\n          if (currChar === 92) {\n            contents += text.substring(start2, pos);\n            contents += scanEscapeSequence(isTaggedTemplate);\n            start2 = pos;\n            continue;\n          }\n          if (currChar === 13) {\n            contents += text.substring(start2, pos);\n            pos++;\n            if (pos < end && text.charCodeAt(pos) === 10) {\n              pos++;\n            }\n            contents += \"\\n\";\n            start2 = pos;\n            continue;\n          }\n          pos++;\n        }\n        Debug2.assert(resultingToken !== void 0);\n        tokenValue = contents;\n        return resultingToken;\n      }\n      function scanEscapeSequence(isTaggedTemplate) {\n        const start2 = pos;\n        pos++;\n        if (pos >= end) {\n          error(Diagnostics.Unexpected_end_of_text);\n          return \"\";\n        }\n        const ch = text.charCodeAt(pos);\n        pos++;\n        switch (ch) {\n          case 48:\n            if (isTaggedTemplate && pos < end && isDigit(text.charCodeAt(pos))) {\n              pos++;\n              tokenFlags |= 2048;\n              return text.substring(start2, pos);\n            }\n            return \"\\0\";\n          case 98:\n            return \"\\b\";\n          case 116:\n            return \"\t\";\n          case 110:\n            return \"\\n\";\n          case 118:\n            return \"\\v\";\n          case 102:\n            return \"\\f\";\n          case 114:\n            return \"\\r\";\n          case 39:\n            return \"'\";\n          case 34:\n            return '\"';\n          case 117:\n            if (isTaggedTemplate) {\n              for (let escapePos = pos; escapePos < pos + 4; escapePos++) {\n                if (escapePos < end && !isHexDigit(text.charCodeAt(escapePos)) && text.charCodeAt(escapePos) !== 123) {\n                  pos = escapePos;\n                  tokenFlags |= 2048;\n                  return text.substring(start2, pos);\n                }\n              }\n            }\n            if (pos < end && text.charCodeAt(pos) === 123) {\n              pos++;\n              if (isTaggedTemplate && !isHexDigit(text.charCodeAt(pos))) {\n                tokenFlags |= 2048;\n                return text.substring(start2, pos);\n              }\n              if (isTaggedTemplate) {\n                const savePos = pos;\n                const escapedValueString = scanMinimumNumberOfHexDigits(\n                  1,\n                  /*canHaveSeparators*/\n                  false\n                );\n                const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1;\n                if (!isCodePoint(escapedValue) || text.charCodeAt(pos) !== 125) {\n                  tokenFlags |= 2048;\n                  return text.substring(start2, pos);\n                } else {\n                  pos = savePos;\n                }\n              }\n              tokenFlags |= 8;\n              return scanExtendedUnicodeEscape();\n            }\n            tokenFlags |= 1024;\n            return scanHexadecimalEscape(\n              /*numDigits*/\n              4\n            );\n          case 120:\n            if (isTaggedTemplate) {\n              if (!isHexDigit(text.charCodeAt(pos))) {\n                tokenFlags |= 2048;\n                return text.substring(start2, pos);\n              } else if (!isHexDigit(text.charCodeAt(pos + 1))) {\n                pos++;\n                tokenFlags |= 2048;\n                return text.substring(start2, pos);\n              }\n            }\n            return scanHexadecimalEscape(\n              /*numDigits*/\n              2\n            );\n          case 13:\n            if (pos < end && text.charCodeAt(pos) === 10) {\n              pos++;\n            }\n          case 10:\n          case 8232:\n          case 8233:\n            return \"\";\n          default:\n            return String.fromCharCode(ch);\n        }\n      }\n      function scanHexadecimalEscape(numDigits) {\n        const escapedValue = scanExactNumberOfHexDigits(\n          numDigits,\n          /*canHaveSeparators*/\n          false\n        );\n        if (escapedValue >= 0) {\n          return String.fromCharCode(escapedValue);\n        } else {\n          error(Diagnostics.Hexadecimal_digit_expected);\n          return \"\";\n        }\n      }\n      function scanExtendedUnicodeEscape() {\n        const escapedValueString = scanMinimumNumberOfHexDigits(\n          1,\n          /*canHaveSeparators*/\n          false\n        );\n        const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1;\n        let isInvalidExtendedEscape = false;\n        if (escapedValue < 0) {\n          error(Diagnostics.Hexadecimal_digit_expected);\n          isInvalidExtendedEscape = true;\n        } else if (escapedValue > 1114111) {\n          error(Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);\n          isInvalidExtendedEscape = true;\n        }\n        if (pos >= end) {\n          error(Diagnostics.Unexpected_end_of_text);\n          isInvalidExtendedEscape = true;\n        } else if (text.charCodeAt(pos) === 125) {\n          pos++;\n        } else {\n          error(Diagnostics.Unterminated_Unicode_escape_sequence);\n          isInvalidExtendedEscape = true;\n        }\n        if (isInvalidExtendedEscape) {\n          return \"\";\n        }\n        return utf16EncodeAsString(escapedValue);\n      }\n      function peekUnicodeEscape() {\n        if (pos + 5 < end && text.charCodeAt(pos + 1) === 117) {\n          const start2 = pos;\n          pos += 2;\n          const value = scanExactNumberOfHexDigits(\n            4,\n            /*canHaveSeparators*/\n            false\n          );\n          pos = start2;\n          return value;\n        }\n        return -1;\n      }\n      function peekExtendedUnicodeEscape() {\n        if (codePointAt(text, pos + 1) === 117 && codePointAt(text, pos + 2) === 123) {\n          const start2 = pos;\n          pos += 3;\n          const escapedValueString = scanMinimumNumberOfHexDigits(\n            1,\n            /*canHaveSeparators*/\n            false\n          );\n          const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1;\n          pos = start2;\n          return escapedValue;\n        }\n        return -1;\n      }\n      function scanIdentifierParts() {\n        let result = \"\";\n        let start2 = pos;\n        while (pos < end) {\n          let ch = codePointAt(text, pos);\n          if (isIdentifierPart(ch, languageVersion)) {\n            pos += charSize(ch);\n          } else if (ch === 92) {\n            ch = peekExtendedUnicodeEscape();\n            if (ch >= 0 && isIdentifierPart(ch, languageVersion)) {\n              pos += 3;\n              tokenFlags |= 8;\n              result += scanExtendedUnicodeEscape();\n              start2 = pos;\n              continue;\n            }\n            ch = peekUnicodeEscape();\n            if (!(ch >= 0 && isIdentifierPart(ch, languageVersion))) {\n              break;\n            }\n            tokenFlags |= 1024;\n            result += text.substring(start2, pos);\n            result += utf16EncodeAsString(ch);\n            pos += 6;\n            start2 = pos;\n          } else {\n            break;\n          }\n        }\n        result += text.substring(start2, pos);\n        return result;\n      }\n      function getIdentifierToken() {\n        const len = tokenValue.length;\n        if (len >= 2 && len <= 12) {\n          const ch = tokenValue.charCodeAt(0);\n          if (ch >= 97 && ch <= 122) {\n            const keyword = textToKeyword.get(tokenValue);\n            if (keyword !== void 0) {\n              return token = keyword;\n            }\n          }\n        }\n        return token = 79;\n      }\n      function scanBinaryOrOctalDigits(base) {\n        let value = \"\";\n        let separatorAllowed = false;\n        let isPreviousTokenSeparator = false;\n        while (true) {\n          const ch = text.charCodeAt(pos);\n          if (ch === 95) {\n            tokenFlags |= 512;\n            if (separatorAllowed) {\n              separatorAllowed = false;\n              isPreviousTokenSeparator = true;\n            } else if (isPreviousTokenSeparator) {\n              error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1);\n            } else {\n              error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1);\n            }\n            pos++;\n            continue;\n          }\n          separatorAllowed = true;\n          if (!isDigit(ch) || ch - 48 >= base) {\n            break;\n          }\n          value += text[pos];\n          pos++;\n          isPreviousTokenSeparator = false;\n        }\n        if (text.charCodeAt(pos - 1) === 95) {\n          error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1);\n        }\n        return value;\n      }\n      function checkBigIntSuffix() {\n        if (text.charCodeAt(pos) === 110) {\n          tokenValue += \"n\";\n          if (tokenFlags & 384) {\n            tokenValue = parsePseudoBigInt(tokenValue) + \"n\";\n          }\n          pos++;\n          return 9;\n        } else {\n          const numericValue = tokenFlags & 128 ? parseInt(tokenValue.slice(2), 2) : tokenFlags & 256 ? parseInt(tokenValue.slice(2), 8) : +tokenValue;\n          tokenValue = \"\" + numericValue;\n          return 8;\n        }\n      }\n      function scan() {\n        startPos = pos;\n        tokenFlags = 0;\n        let asteriskSeen = false;\n        while (true) {\n          tokenPos = pos;\n          if (pos >= end) {\n            return token = 1;\n          }\n          const ch = codePointAt(text, pos);\n          if (ch === 35 && pos === 0 && isShebangTrivia(text, pos)) {\n            pos = scanShebangTrivia(text, pos);\n            if (skipTrivia2) {\n              continue;\n            } else {\n              return token = 6;\n            }\n          }\n          switch (ch) {\n            case 10:\n            case 13:\n              tokenFlags |= 1;\n              if (skipTrivia2) {\n                pos++;\n                continue;\n              } else {\n                if (ch === 13 && pos + 1 < end && text.charCodeAt(pos + 1) === 10) {\n                  pos += 2;\n                } else {\n                  pos++;\n                }\n                return token = 4;\n              }\n            case 9:\n            case 11:\n            case 12:\n            case 32:\n            case 160:\n            case 5760:\n            case 8192:\n            case 8193:\n            case 8194:\n            case 8195:\n            case 8196:\n            case 8197:\n            case 8198:\n            case 8199:\n            case 8200:\n            case 8201:\n            case 8202:\n            case 8203:\n            case 8239:\n            case 8287:\n            case 12288:\n            case 65279:\n              if (skipTrivia2) {\n                pos++;\n                continue;\n              } else {\n                while (pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos))) {\n                  pos++;\n                }\n                return token = 5;\n              }\n            case 33:\n              if (text.charCodeAt(pos + 1) === 61) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 37;\n                }\n                return pos += 2, token = 35;\n              }\n              pos++;\n              return token = 53;\n            case 34:\n            case 39:\n              tokenValue = scanString();\n              return token = 10;\n            case 96:\n              return token = scanTemplateAndSetTokenValue(\n                /* isTaggedTemplate */\n                false\n              );\n            case 37:\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 69;\n              }\n              pos++;\n              return token = 44;\n            case 38:\n              if (text.charCodeAt(pos + 1) === 38) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 76;\n                }\n                return pos += 2, token = 55;\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 73;\n              }\n              pos++;\n              return token = 50;\n            case 40:\n              pos++;\n              return token = 20;\n            case 41:\n              pos++;\n              return token = 21;\n            case 42:\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 66;\n              }\n              if (text.charCodeAt(pos + 1) === 42) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 67;\n                }\n                return pos += 2, token = 42;\n              }\n              pos++;\n              if (inJSDocType && !asteriskSeen && tokenFlags & 1) {\n                asteriskSeen = true;\n                continue;\n              }\n              return token = 41;\n            case 43:\n              if (text.charCodeAt(pos + 1) === 43) {\n                return pos += 2, token = 45;\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 64;\n              }\n              pos++;\n              return token = 39;\n            case 44:\n              pos++;\n              return token = 27;\n            case 45:\n              if (text.charCodeAt(pos + 1) === 45) {\n                return pos += 2, token = 46;\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 65;\n              }\n              pos++;\n              return token = 40;\n            case 46:\n              if (isDigit(text.charCodeAt(pos + 1))) {\n                tokenValue = scanNumber().value;\n                return token = 8;\n              }\n              if (text.charCodeAt(pos + 1) === 46 && text.charCodeAt(pos + 2) === 46) {\n                return pos += 3, token = 25;\n              }\n              pos++;\n              return token = 24;\n            case 47:\n              if (text.charCodeAt(pos + 1) === 47) {\n                pos += 2;\n                while (pos < end) {\n                  if (isLineBreak(text.charCodeAt(pos))) {\n                    break;\n                  }\n                  pos++;\n                }\n                commentDirectives = appendIfCommentDirective(\n                  commentDirectives,\n                  text.slice(tokenPos, pos),\n                  commentDirectiveRegExSingleLine,\n                  tokenPos\n                );\n                if (skipTrivia2) {\n                  continue;\n                } else {\n                  return token = 2;\n                }\n              }\n              if (text.charCodeAt(pos + 1) === 42) {\n                pos += 2;\n                if (text.charCodeAt(pos) === 42 && text.charCodeAt(pos + 1) !== 47) {\n                  tokenFlags |= 2;\n                }\n                let commentClosed = false;\n                let lastLineStart = tokenPos;\n                while (pos < end) {\n                  const ch2 = text.charCodeAt(pos);\n                  if (ch2 === 42 && text.charCodeAt(pos + 1) === 47) {\n                    pos += 2;\n                    commentClosed = true;\n                    break;\n                  }\n                  pos++;\n                  if (isLineBreak(ch2)) {\n                    lastLineStart = pos;\n                    tokenFlags |= 1;\n                  }\n                }\n                commentDirectives = appendIfCommentDirective(commentDirectives, text.slice(lastLineStart, pos), commentDirectiveRegExMultiLine, lastLineStart);\n                if (!commentClosed) {\n                  error(Diagnostics.Asterisk_Slash_expected);\n                }\n                if (skipTrivia2) {\n                  continue;\n                } else {\n                  if (!commentClosed) {\n                    tokenFlags |= 4;\n                  }\n                  return token = 3;\n                }\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 68;\n              }\n              pos++;\n              return token = 43;\n            case 48:\n              if (pos + 2 < end && (text.charCodeAt(pos + 1) === 88 || text.charCodeAt(pos + 1) === 120)) {\n                pos += 2;\n                tokenValue = scanMinimumNumberOfHexDigits(\n                  1,\n                  /*canHaveSeparators*/\n                  true\n                );\n                if (!tokenValue) {\n                  error(Diagnostics.Hexadecimal_digit_expected);\n                  tokenValue = \"0\";\n                }\n                tokenValue = \"0x\" + tokenValue;\n                tokenFlags |= 64;\n                return token = checkBigIntSuffix();\n              } else if (pos + 2 < end && (text.charCodeAt(pos + 1) === 66 || text.charCodeAt(pos + 1) === 98)) {\n                pos += 2;\n                tokenValue = scanBinaryOrOctalDigits(\n                  /* base */\n                  2\n                );\n                if (!tokenValue) {\n                  error(Diagnostics.Binary_digit_expected);\n                  tokenValue = \"0\";\n                }\n                tokenValue = \"0b\" + tokenValue;\n                tokenFlags |= 128;\n                return token = checkBigIntSuffix();\n              } else if (pos + 2 < end && (text.charCodeAt(pos + 1) === 79 || text.charCodeAt(pos + 1) === 111)) {\n                pos += 2;\n                tokenValue = scanBinaryOrOctalDigits(\n                  /* base */\n                  8\n                );\n                if (!tokenValue) {\n                  error(Diagnostics.Octal_digit_expected);\n                  tokenValue = \"0\";\n                }\n                tokenValue = \"0o\" + tokenValue;\n                tokenFlags |= 256;\n                return token = checkBigIntSuffix();\n              }\n              if (pos + 1 < end && isOctalDigit(text.charCodeAt(pos + 1))) {\n                tokenValue = \"\" + scanOctalDigits();\n                tokenFlags |= 32;\n                return token = 8;\n              }\n            case 49:\n            case 50:\n            case 51:\n            case 52:\n            case 53:\n            case 54:\n            case 55:\n            case 56:\n            case 57:\n              ({ type: token, value: tokenValue } = scanNumber());\n              return token;\n            case 58:\n              pos++;\n              return token = 58;\n            case 59:\n              pos++;\n              return token = 26;\n            case 60:\n              if (isConflictMarkerTrivia(text, pos)) {\n                pos = scanConflictMarkerTrivia(text, pos, error);\n                if (skipTrivia2) {\n                  continue;\n                } else {\n                  return token = 7;\n                }\n              }\n              if (text.charCodeAt(pos + 1) === 60) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 70;\n                }\n                return pos += 2, token = 47;\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 32;\n              }\n              if (languageVariant === 1 && text.charCodeAt(pos + 1) === 47 && text.charCodeAt(pos + 2) !== 42) {\n                return pos += 2, token = 30;\n              }\n              pos++;\n              return token = 29;\n            case 61:\n              if (isConflictMarkerTrivia(text, pos)) {\n                pos = scanConflictMarkerTrivia(text, pos, error);\n                if (skipTrivia2) {\n                  continue;\n                } else {\n                  return token = 7;\n                }\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 36;\n                }\n                return pos += 2, token = 34;\n              }\n              if (text.charCodeAt(pos + 1) === 62) {\n                return pos += 2, token = 38;\n              }\n              pos++;\n              return token = 63;\n            case 62:\n              if (isConflictMarkerTrivia(text, pos)) {\n                pos = scanConflictMarkerTrivia(text, pos, error);\n                if (skipTrivia2) {\n                  continue;\n                } else {\n                  return token = 7;\n                }\n              }\n              pos++;\n              return token = 31;\n            case 63:\n              if (text.charCodeAt(pos + 1) === 46 && !isDigit(text.charCodeAt(pos + 2))) {\n                return pos += 2, token = 28;\n              }\n              if (text.charCodeAt(pos + 1) === 63) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 77;\n                }\n                return pos += 2, token = 60;\n              }\n              pos++;\n              return token = 57;\n            case 91:\n              pos++;\n              return token = 22;\n            case 93:\n              pos++;\n              return token = 23;\n            case 94:\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 78;\n              }\n              pos++;\n              return token = 52;\n            case 123:\n              pos++;\n              return token = 18;\n            case 124:\n              if (isConflictMarkerTrivia(text, pos)) {\n                pos = scanConflictMarkerTrivia(text, pos, error);\n                if (skipTrivia2) {\n                  continue;\n                } else {\n                  return token = 7;\n                }\n              }\n              if (text.charCodeAt(pos + 1) === 124) {\n                if (text.charCodeAt(pos + 2) === 61) {\n                  return pos += 3, token = 75;\n                }\n                return pos += 2, token = 56;\n              }\n              if (text.charCodeAt(pos + 1) === 61) {\n                return pos += 2, token = 74;\n              }\n              pos++;\n              return token = 51;\n            case 125:\n              pos++;\n              return token = 19;\n            case 126:\n              pos++;\n              return token = 54;\n            case 64:\n              pos++;\n              return token = 59;\n            case 92:\n              const extendedCookedChar = peekExtendedUnicodeEscape();\n              if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) {\n                pos += 3;\n                tokenFlags |= 8;\n                tokenValue = scanExtendedUnicodeEscape() + scanIdentifierParts();\n                return token = getIdentifierToken();\n              }\n              const cookedChar = peekUnicodeEscape();\n              if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) {\n                pos += 6;\n                tokenFlags |= 1024;\n                tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts();\n                return token = getIdentifierToken();\n              }\n              error(Diagnostics.Invalid_character);\n              pos++;\n              return token = 0;\n            case 35:\n              if (pos !== 0 && text[pos + 1] === \"!\") {\n                error(Diagnostics.can_only_be_used_at_the_start_of_a_file);\n                pos++;\n                return token = 0;\n              }\n              const charAfterHash = codePointAt(text, pos + 1);\n              if (charAfterHash === 92) {\n                pos++;\n                const extendedCookedChar2 = peekExtendedUnicodeEscape();\n                if (extendedCookedChar2 >= 0 && isIdentifierStart(extendedCookedChar2, languageVersion)) {\n                  pos += 3;\n                  tokenFlags |= 8;\n                  tokenValue = \"#\" + scanExtendedUnicodeEscape() + scanIdentifierParts();\n                  return token = 80;\n                }\n                const cookedChar2 = peekUnicodeEscape();\n                if (cookedChar2 >= 0 && isIdentifierStart(cookedChar2, languageVersion)) {\n                  pos += 6;\n                  tokenFlags |= 1024;\n                  tokenValue = \"#\" + String.fromCharCode(cookedChar2) + scanIdentifierParts();\n                  return token = 80;\n                }\n                pos--;\n              }\n              if (isIdentifierStart(charAfterHash, languageVersion)) {\n                pos++;\n                scanIdentifier(charAfterHash, languageVersion);\n              } else {\n                tokenValue = \"#\";\n                error(Diagnostics.Invalid_character, pos++, charSize(ch));\n              }\n              return token = 80;\n            default:\n              const identifierKind = scanIdentifier(ch, languageVersion);\n              if (identifierKind) {\n                return token = identifierKind;\n              } else if (isWhiteSpaceSingleLine(ch)) {\n                pos += charSize(ch);\n                continue;\n              } else if (isLineBreak(ch)) {\n                tokenFlags |= 1;\n                pos += charSize(ch);\n                continue;\n              }\n              const size = charSize(ch);\n              error(Diagnostics.Invalid_character, pos, size);\n              pos += size;\n              return token = 0;\n          }\n        }\n      }\n      function reScanInvalidIdentifier() {\n        Debug2.assert(token === 0, \"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.\");\n        pos = tokenPos = startPos;\n        tokenFlags = 0;\n        const ch = codePointAt(text, pos);\n        const identifierKind = scanIdentifier(\n          ch,\n          99\n          /* ESNext */\n        );\n        if (identifierKind) {\n          return token = identifierKind;\n        }\n        pos += charSize(ch);\n        return token;\n      }\n      function scanIdentifier(startCharacter, languageVersion2) {\n        let ch = startCharacter;\n        if (isIdentifierStart(ch, languageVersion2)) {\n          pos += charSize(ch);\n          while (pos < end && isIdentifierPart(ch = codePointAt(text, pos), languageVersion2))\n            pos += charSize(ch);\n          tokenValue = text.substring(tokenPos, pos);\n          if (ch === 92) {\n            tokenValue += scanIdentifierParts();\n          }\n          return getIdentifierToken();\n        }\n      }\n      function reScanGreaterToken() {\n        if (token === 31) {\n          if (text.charCodeAt(pos) === 62) {\n            if (text.charCodeAt(pos + 1) === 62) {\n              if (text.charCodeAt(pos + 2) === 61) {\n                return pos += 3, token = 72;\n              }\n              return pos += 2, token = 49;\n            }\n            if (text.charCodeAt(pos + 1) === 61) {\n              return pos += 2, token = 71;\n            }\n            pos++;\n            return token = 48;\n          }\n          if (text.charCodeAt(pos) === 61) {\n            pos++;\n            return token = 33;\n          }\n        }\n        return token;\n      }\n      function reScanAsteriskEqualsToken() {\n        Debug2.assert(token === 66, \"'reScanAsteriskEqualsToken' should only be called on a '*='\");\n        pos = tokenPos + 1;\n        return token = 63;\n      }\n      function reScanSlashToken() {\n        if (token === 43 || token === 68) {\n          let p = tokenPos + 1;\n          let inEscape = false;\n          let inCharacterClass = false;\n          while (true) {\n            if (p >= end) {\n              tokenFlags |= 4;\n              error(Diagnostics.Unterminated_regular_expression_literal);\n              break;\n            }\n            const ch = text.charCodeAt(p);\n            if (isLineBreak(ch)) {\n              tokenFlags |= 4;\n              error(Diagnostics.Unterminated_regular_expression_literal);\n              break;\n            }\n            if (inEscape) {\n              inEscape = false;\n            } else if (ch === 47 && !inCharacterClass) {\n              p++;\n              break;\n            } else if (ch === 91) {\n              inCharacterClass = true;\n            } else if (ch === 92) {\n              inEscape = true;\n            } else if (ch === 93) {\n              inCharacterClass = false;\n            }\n            p++;\n          }\n          while (p < end && isIdentifierPart(text.charCodeAt(p), languageVersion)) {\n            p++;\n          }\n          pos = p;\n          tokenValue = text.substring(tokenPos, pos);\n          token = 13;\n        }\n        return token;\n      }\n      function appendIfCommentDirective(commentDirectives2, text2, commentDirectiveRegEx, lineStart) {\n        const type = getDirectiveFromComment(trimStringStart(text2), commentDirectiveRegEx);\n        if (type === void 0) {\n          return commentDirectives2;\n        }\n        return append(\n          commentDirectives2,\n          {\n            range: { pos: lineStart, end: pos },\n            type\n          }\n        );\n      }\n      function getDirectiveFromComment(text2, commentDirectiveRegEx) {\n        const match = commentDirectiveRegEx.exec(text2);\n        if (!match) {\n          return void 0;\n        }\n        switch (match[1]) {\n          case \"ts-expect-error\":\n            return 0;\n          case \"ts-ignore\":\n            return 1;\n        }\n        return void 0;\n      }\n      function reScanTemplateToken(isTaggedTemplate) {\n        Debug2.assert(token === 19, \"'reScanTemplateToken' should only be called on a '}'\");\n        pos = tokenPos;\n        return token = scanTemplateAndSetTokenValue(isTaggedTemplate);\n      }\n      function reScanTemplateHeadOrNoSubstitutionTemplate() {\n        pos = tokenPos;\n        return token = scanTemplateAndSetTokenValue(\n          /* isTaggedTemplate */\n          true\n        );\n      }\n      function reScanJsxToken(allowMultilineJsxText = true) {\n        pos = tokenPos = startPos;\n        return token = scanJsxToken(allowMultilineJsxText);\n      }\n      function reScanLessThanToken() {\n        if (token === 47) {\n          pos = tokenPos + 1;\n          return token = 29;\n        }\n        return token;\n      }\n      function reScanHashToken() {\n        if (token === 80) {\n          pos = tokenPos + 1;\n          return token = 62;\n        }\n        return token;\n      }\n      function reScanQuestionToken() {\n        Debug2.assert(token === 60, \"'reScanQuestionToken' should only be called on a '??'\");\n        pos = tokenPos + 1;\n        return token = 57;\n      }\n      function scanJsxToken(allowMultilineJsxText = true) {\n        startPos = tokenPos = pos;\n        if (pos >= end) {\n          return token = 1;\n        }\n        let char = text.charCodeAt(pos);\n        if (char === 60) {\n          if (text.charCodeAt(pos + 1) === 47) {\n            pos += 2;\n            return token = 30;\n          }\n          pos++;\n          return token = 29;\n        }\n        if (char === 123) {\n          pos++;\n          return token = 18;\n        }\n        let firstNonWhitespace = 0;\n        while (pos < end) {\n          char = text.charCodeAt(pos);\n          if (char === 123) {\n            break;\n          }\n          if (char === 60) {\n            if (isConflictMarkerTrivia(text, pos)) {\n              pos = scanConflictMarkerTrivia(text, pos, error);\n              return token = 7;\n            }\n            break;\n          }\n          if (char === 62) {\n            error(Diagnostics.Unexpected_token_Did_you_mean_or_gt, pos, 1);\n          }\n          if (char === 125) {\n            error(Diagnostics.Unexpected_token_Did_you_mean_or_rbrace, pos, 1);\n          }\n          if (isLineBreak(char) && firstNonWhitespace === 0) {\n            firstNonWhitespace = -1;\n          } else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) {\n            break;\n          } else if (!isWhiteSpaceLike(char)) {\n            firstNonWhitespace = pos;\n          }\n          pos++;\n        }\n        tokenValue = text.substring(startPos, pos);\n        return firstNonWhitespace === -1 ? 12 : 11;\n      }\n      function scanJsxIdentifier() {\n        if (tokenIsIdentifierOrKeyword(token)) {\n          let namespaceSeparator = false;\n          while (pos < end) {\n            const ch = text.charCodeAt(pos);\n            if (ch === 45) {\n              tokenValue += \"-\";\n              pos++;\n              continue;\n            } else if (ch === 58 && !namespaceSeparator) {\n              tokenValue += \":\";\n              pos++;\n              namespaceSeparator = true;\n              token = 79;\n              continue;\n            }\n            const oldPos = pos;\n            tokenValue += scanIdentifierParts();\n            if (pos === oldPos) {\n              break;\n            }\n          }\n          if (tokenValue.slice(-1) === \":\") {\n            tokenValue = tokenValue.slice(0, -1);\n            pos--;\n          }\n          return getIdentifierToken();\n        }\n        return token;\n      }\n      function scanJsxAttributeValue() {\n        startPos = pos;\n        switch (text.charCodeAt(pos)) {\n          case 34:\n          case 39:\n            tokenValue = scanString(\n              /*jsxAttributeString*/\n              true\n            );\n            return token = 10;\n          default:\n            return scan();\n        }\n      }\n      function reScanJsxAttributeValue() {\n        pos = tokenPos = startPos;\n        return scanJsxAttributeValue();\n      }\n      function scanJsDocToken() {\n        startPos = tokenPos = pos;\n        tokenFlags = 0;\n        if (pos >= end) {\n          return token = 1;\n        }\n        const ch = codePointAt(text, pos);\n        pos += charSize(ch);\n        switch (ch) {\n          case 9:\n          case 11:\n          case 12:\n          case 32:\n            while (pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos))) {\n              pos++;\n            }\n            return token = 5;\n          case 64:\n            return token = 59;\n          case 13:\n            if (text.charCodeAt(pos) === 10) {\n              pos++;\n            }\n          case 10:\n            tokenFlags |= 1;\n            return token = 4;\n          case 42:\n            return token = 41;\n          case 123:\n            return token = 18;\n          case 125:\n            return token = 19;\n          case 91:\n            return token = 22;\n          case 93:\n            return token = 23;\n          case 60:\n            return token = 29;\n          case 62:\n            return token = 31;\n          case 61:\n            return token = 63;\n          case 44:\n            return token = 27;\n          case 46:\n            return token = 24;\n          case 96:\n            return token = 61;\n          case 35:\n            return token = 62;\n          case 92:\n            pos--;\n            const extendedCookedChar = peekExtendedUnicodeEscape();\n            if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) {\n              pos += 3;\n              tokenFlags |= 8;\n              tokenValue = scanExtendedUnicodeEscape() + scanIdentifierParts();\n              return token = getIdentifierToken();\n            }\n            const cookedChar = peekUnicodeEscape();\n            if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) {\n              pos += 6;\n              tokenFlags |= 1024;\n              tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts();\n              return token = getIdentifierToken();\n            }\n            pos++;\n            return token = 0;\n        }\n        if (isIdentifierStart(ch, languageVersion)) {\n          let char = ch;\n          while (pos < end && isIdentifierPart(char = codePointAt(text, pos), languageVersion) || text.charCodeAt(pos) === 45)\n            pos += charSize(char);\n          tokenValue = text.substring(tokenPos, pos);\n          if (char === 92) {\n            tokenValue += scanIdentifierParts();\n          }\n          return token = getIdentifierToken();\n        } else {\n          return token = 0;\n        }\n      }\n      function speculationHelper(callback, isLookahead) {\n        const savePos = pos;\n        const saveStartPos = startPos;\n        const saveTokenPos = tokenPos;\n        const saveToken = token;\n        const saveTokenValue = tokenValue;\n        const saveTokenFlags = tokenFlags;\n        const result = callback();\n        if (!result || isLookahead) {\n          pos = savePos;\n          startPos = saveStartPos;\n          tokenPos = saveTokenPos;\n          token = saveToken;\n          tokenValue = saveTokenValue;\n          tokenFlags = saveTokenFlags;\n        }\n        return result;\n      }\n      function scanRange(start2, length3, callback) {\n        const saveEnd = end;\n        const savePos = pos;\n        const saveStartPos = startPos;\n        const saveTokenPos = tokenPos;\n        const saveToken = token;\n        const saveTokenValue = tokenValue;\n        const saveTokenFlags = tokenFlags;\n        const saveErrorExpectations = commentDirectives;\n        setText(text, start2, length3);\n        const result = callback();\n        end = saveEnd;\n        pos = savePos;\n        startPos = saveStartPos;\n        tokenPos = saveTokenPos;\n        token = saveToken;\n        tokenValue = saveTokenValue;\n        tokenFlags = saveTokenFlags;\n        commentDirectives = saveErrorExpectations;\n        return result;\n      }\n      function lookAhead(callback) {\n        return speculationHelper(\n          callback,\n          /*isLookahead*/\n          true\n        );\n      }\n      function tryScan(callback) {\n        return speculationHelper(\n          callback,\n          /*isLookahead*/\n          false\n        );\n      }\n      function getText() {\n        return text;\n      }\n      function clearCommentDirectives() {\n        commentDirectives = void 0;\n      }\n      function setText(newText, start2, length3) {\n        text = newText || \"\";\n        end = length3 === void 0 ? text.length : start2 + length3;\n        setTextPos(start2 || 0);\n      }\n      function setOnError(errorCallback) {\n        onError = errorCallback;\n      }\n      function setScriptTarget(scriptTarget) {\n        languageVersion = scriptTarget;\n      }\n      function setLanguageVariant(variant) {\n        languageVariant = variant;\n      }\n      function setTextPos(textPos) {\n        Debug2.assert(textPos >= 0);\n        pos = textPos;\n        startPos = textPos;\n        tokenPos = textPos;\n        token = 0;\n        tokenValue = void 0;\n        tokenFlags = 0;\n      }\n      function setInJSDocType(inType) {\n        inJSDocType += inType ? 1 : -1;\n      }\n    }\n    function charSize(ch) {\n      if (ch >= 65536) {\n        return 2;\n      }\n      return 1;\n    }\n    function utf16EncodeAsStringFallback(codePoint) {\n      Debug2.assert(0 <= codePoint && codePoint <= 1114111);\n      if (codePoint <= 65535) {\n        return String.fromCharCode(codePoint);\n      }\n      const codeUnit1 = Math.floor((codePoint - 65536) / 1024) + 55296;\n      const codeUnit2 = (codePoint - 65536) % 1024 + 56320;\n      return String.fromCharCode(codeUnit1, codeUnit2);\n    }\n    function utf16EncodeAsString(codePoint) {\n      return utf16EncodeAsStringWorker(codePoint);\n    }\n    var textToKeywordObj, textToKeyword, textToToken, unicodeES3IdentifierStart, unicodeES3IdentifierPart, unicodeES5IdentifierStart, unicodeES5IdentifierPart, unicodeESNextIdentifierStart, unicodeESNextIdentifierPart, commentDirectiveRegExSingleLine, commentDirectiveRegExMultiLine, tokenStrings, mergeConflictMarkerLength, shebangTriviaRegex, codePointAt, utf16EncodeAsStringWorker;\n    var init_scanner = __esm({\n      \"src/compiler/scanner.ts\"() {\n        \"use strict\";\n        init_ts2();\n        textToKeywordObj = {\n          abstract: 126,\n          accessor: 127,\n          any: 131,\n          as: 128,\n          asserts: 129,\n          assert: 130,\n          bigint: 160,\n          boolean: 134,\n          break: 81,\n          case: 82,\n          catch: 83,\n          class: 84,\n          continue: 86,\n          const: 85,\n          [\"constructor\"]: 135,\n          debugger: 87,\n          declare: 136,\n          default: 88,\n          delete: 89,\n          do: 90,\n          else: 91,\n          enum: 92,\n          export: 93,\n          extends: 94,\n          false: 95,\n          finally: 96,\n          for: 97,\n          from: 158,\n          function: 98,\n          get: 137,\n          if: 99,\n          implements: 117,\n          import: 100,\n          in: 101,\n          infer: 138,\n          instanceof: 102,\n          interface: 118,\n          intrinsic: 139,\n          is: 140,\n          keyof: 141,\n          let: 119,\n          module: 142,\n          namespace: 143,\n          never: 144,\n          new: 103,\n          null: 104,\n          number: 148,\n          object: 149,\n          package: 120,\n          private: 121,\n          protected: 122,\n          public: 123,\n          override: 161,\n          out: 145,\n          readonly: 146,\n          require: 147,\n          global: 159,\n          return: 105,\n          satisfies: 150,\n          set: 151,\n          static: 124,\n          string: 152,\n          super: 106,\n          switch: 107,\n          symbol: 153,\n          this: 108,\n          throw: 109,\n          true: 110,\n          try: 111,\n          type: 154,\n          typeof: 112,\n          undefined: 155,\n          unique: 156,\n          unknown: 157,\n          var: 113,\n          void: 114,\n          while: 115,\n          with: 116,\n          yield: 125,\n          async: 132,\n          await: 133,\n          of: 162\n          /* OfKeyword */\n        };\n        textToKeyword = new Map(Object.entries(textToKeywordObj));\n        textToToken = new Map(Object.entries({\n          ...textToKeywordObj,\n          \"{\": 18,\n          \"}\": 19,\n          \"(\": 20,\n          \")\": 21,\n          \"[\": 22,\n          \"]\": 23,\n          \".\": 24,\n          \"...\": 25,\n          \";\": 26,\n          \",\": 27,\n          \"<\": 29,\n          \">\": 31,\n          \"<=\": 32,\n          \">=\": 33,\n          \"==\": 34,\n          \"!=\": 35,\n          \"===\": 36,\n          \"!==\": 37,\n          \"=>\": 38,\n          \"+\": 39,\n          \"-\": 40,\n          \"**\": 42,\n          \"*\": 41,\n          \"/\": 43,\n          \"%\": 44,\n          \"++\": 45,\n          \"--\": 46,\n          \"<<\": 47,\n          \"</\": 30,\n          \">>\": 48,\n          \">>>\": 49,\n          \"&\": 50,\n          \"|\": 51,\n          \"^\": 52,\n          \"!\": 53,\n          \"~\": 54,\n          \"&&\": 55,\n          \"||\": 56,\n          \"?\": 57,\n          \"??\": 60,\n          \"?.\": 28,\n          \":\": 58,\n          \"=\": 63,\n          \"+=\": 64,\n          \"-=\": 65,\n          \"*=\": 66,\n          \"**=\": 67,\n          \"/=\": 68,\n          \"%=\": 69,\n          \"<<=\": 70,\n          \">>=\": 71,\n          \">>>=\": 72,\n          \"&=\": 73,\n          \"|=\": 74,\n          \"^=\": 78,\n          \"||=\": 75,\n          \"&&=\": 76,\n          \"??=\": 77,\n          \"@\": 59,\n          \"#\": 62,\n          \"`\": 61\n          /* BacktickToken */\n        }));\n        unicodeES3IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1610, 1649, 1747, 1749, 1749, 1765, 1766, 1786, 1788, 1808, 1808, 1810, 1836, 1920, 1957, 2309, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2784, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3294, 3294, 3296, 3297, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3424, 3425, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3805, 3840, 3840, 3904, 3911, 3913, 3946, 3976, 3979, 4096, 4129, 4131, 4135, 4137, 4138, 4176, 4181, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6067, 6176, 6263, 6272, 6312, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8319, 8319, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12346, 12353, 12436, 12445, 12446, 12449, 12538, 12540, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65138, 65140, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\n        unicodeES3IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 768, 846, 864, 866, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1155, 1158, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1441, 1443, 1465, 1467, 1469, 1471, 1471, 1473, 1474, 1476, 1476, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1621, 1632, 1641, 1648, 1747, 1749, 1756, 1759, 1768, 1770, 1773, 1776, 1788, 1808, 1836, 1840, 1866, 1920, 1968, 2305, 2307, 2309, 2361, 2364, 2381, 2384, 2388, 2392, 2403, 2406, 2415, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2492, 2494, 2500, 2503, 2504, 2507, 2509, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2562, 2562, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2649, 2652, 2654, 2654, 2662, 2676, 2689, 2691, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2784, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2876, 2883, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2913, 2918, 2927, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3031, 3031, 3047, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3134, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3168, 3169, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3262, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3297, 3302, 3311, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3390, 3395, 3398, 3400, 3402, 3405, 3415, 3415, 3424, 3425, 3430, 3439, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3805, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3946, 3953, 3972, 3974, 3979, 3984, 3991, 3993, 4028, 4038, 4038, 4096, 4129, 4131, 4135, 4137, 4138, 4140, 4146, 4150, 4153, 4160, 4169, 4176, 4185, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 4969, 4977, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6099, 6112, 6121, 6160, 6169, 6176, 6263, 6272, 6313, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8319, 8319, 8400, 8412, 8417, 8417, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12346, 12353, 12436, 12441, 12442, 12445, 12446, 12449, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65056, 65059, 65075, 65076, 65101, 65103, 65136, 65138, 65140, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65381, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\n        unicodeES5IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\n        unicodeES5IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\n        unicodeESNextIdentifierStart = [65, 90, 97, 122, 170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 895, 895, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1488, 1514, 1519, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2144, 2154, 2208, 2228, 2230, 2237, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2432, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2556, 2556, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2809, 2809, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3133, 3133, 3160, 3162, 3168, 3169, 3200, 3200, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3412, 3414, 3423, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6264, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6430, 6480, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7401, 7404, 7406, 7411, 7413, 7414, 7418, 7418, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12443, 12447, 12449, 12538, 12540, 12543, 12549, 12591, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40943, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42653, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42943, 42946, 42950, 42999, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43261, 43262, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43488, 43492, 43494, 43503, 43514, 43518, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43646, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43879, 43888, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66176, 66204, 66208, 66256, 66304, 66335, 66349, 66378, 66384, 66421, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 67072, 67382, 67392, 67413, 67424, 67431, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68096, 68112, 68115, 68117, 68119, 68121, 68149, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68324, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68899, 69376, 69404, 69415, 69415, 69424, 69445, 69600, 69622, 69635, 69687, 69763, 69807, 69840, 69864, 69891, 69926, 69956, 69956, 69968, 70002, 70006, 70006, 70019, 70066, 70081, 70084, 70106, 70106, 70108, 70108, 70144, 70161, 70163, 70187, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70366, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70461, 70461, 70480, 70480, 70493, 70497, 70656, 70708, 70727, 70730, 70751, 70751, 70784, 70831, 70852, 70853, 70855, 70855, 71040, 71086, 71128, 71131, 71168, 71215, 71236, 71236, 71296, 71338, 71352, 71352, 71424, 71450, 71680, 71723, 71840, 71903, 71935, 71935, 72096, 72103, 72106, 72144, 72161, 72161, 72163, 72163, 72192, 72192, 72203, 72242, 72250, 72250, 72272, 72272, 72284, 72329, 72349, 72349, 72384, 72440, 72704, 72712, 72714, 72750, 72768, 72768, 72818, 72847, 72960, 72966, 72968, 72969, 72971, 73008, 73030, 73030, 73056, 73061, 73063, 73064, 73066, 73097, 73112, 73112, 73440, 73458, 73728, 74649, 74752, 74862, 74880, 75075, 77824, 78894, 82944, 83526, 92160, 92728, 92736, 92766, 92880, 92909, 92928, 92975, 92992, 92995, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94032, 94032, 94099, 94111, 94176, 94177, 94179, 94179, 94208, 100343, 100352, 101106, 110592, 110878, 110928, 110930, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 123136, 123180, 123191, 123197, 123214, 123214, 123584, 123627, 124928, 125124, 125184, 125251, 125259, 125259, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 131072, 173782, 173824, 177972, 177984, 178205, 178208, 183969, 183984, 191456, 194560, 195101];\n        unicodeESNextIdentifierPart = [48, 57, 65, 90, 95, 95, 97, 122, 170, 170, 181, 181, 183, 183, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 895, 895, 902, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1519, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2045, 2045, 2048, 2093, 2112, 2139, 2144, 2154, 2208, 2228, 2230, 2237, 2259, 2273, 2275, 2403, 2406, 2415, 2417, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2556, 2556, 2558, 2558, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2809, 2815, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3072, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3162, 3168, 3171, 3174, 3183, 3200, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3328, 3331, 3333, 3340, 3342, 3344, 3346, 3396, 3398, 3400, 3402, 3406, 3412, 3415, 3423, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3558, 3567, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4969, 4977, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6264, 6272, 6314, 6320, 6389, 6400, 6430, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6618, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6832, 6845, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7376, 7378, 7380, 7418, 7424, 7673, 7675, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12447, 12449, 12538, 12540, 12543, 12549, 12591, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40943, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42737, 42775, 42783, 42786, 42888, 42891, 42943, 42946, 42950, 42999, 43047, 43072, 43123, 43136, 43205, 43216, 43225, 43232, 43255, 43259, 43259, 43261, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43488, 43518, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43879, 43888, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65071, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66045, 66045, 66176, 66204, 66208, 66256, 66272, 66272, 66304, 66335, 66349, 66378, 66384, 66426, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66720, 66729, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 67072, 67382, 67392, 67413, 67424, 67431, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68099, 68101, 68102, 68108, 68115, 68117, 68119, 68121, 68149, 68152, 68154, 68159, 68159, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68326, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68903, 68912, 68921, 69376, 69404, 69415, 69415, 69424, 69456, 69600, 69622, 69632, 69702, 69734, 69743, 69759, 69818, 69840, 69864, 69872, 69881, 69888, 69940, 69942, 69951, 69956, 69958, 69968, 70003, 70006, 70006, 70016, 70084, 70089, 70092, 70096, 70106, 70108, 70108, 70144, 70161, 70163, 70199, 70206, 70206, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70378, 70384, 70393, 70400, 70403, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70459, 70468, 70471, 70472, 70475, 70477, 70480, 70480, 70487, 70487, 70493, 70499, 70502, 70508, 70512, 70516, 70656, 70730, 70736, 70745, 70750, 70751, 70784, 70853, 70855, 70855, 70864, 70873, 71040, 71093, 71096, 71104, 71128, 71133, 71168, 71232, 71236, 71236, 71248, 71257, 71296, 71352, 71360, 71369, 71424, 71450, 71453, 71467, 71472, 71481, 71680, 71738, 71840, 71913, 71935, 71935, 72096, 72103, 72106, 72151, 72154, 72161, 72163, 72164, 72192, 72254, 72263, 72263, 72272, 72345, 72349, 72349, 72384, 72440, 72704, 72712, 72714, 72758, 72760, 72768, 72784, 72793, 72818, 72847, 72850, 72871, 72873, 72886, 72960, 72966, 72968, 72969, 72971, 73014, 73018, 73018, 73020, 73021, 73023, 73031, 73040, 73049, 73056, 73061, 73063, 73064, 73066, 73102, 73104, 73105, 73107, 73112, 73120, 73129, 73440, 73462, 73728, 74649, 74752, 74862, 74880, 75075, 77824, 78894, 82944, 83526, 92160, 92728, 92736, 92766, 92768, 92777, 92880, 92909, 92912, 92916, 92928, 92982, 92992, 92995, 93008, 93017, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94031, 94087, 94095, 94111, 94176, 94177, 94179, 94179, 94208, 100343, 100352, 101106, 110592, 110878, 110928, 110930, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 113821, 113822, 119141, 119145, 119149, 119154, 119163, 119170, 119173, 119179, 119210, 119213, 119362, 119364, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 120782, 120831, 121344, 121398, 121403, 121452, 121461, 121461, 121476, 121476, 121499, 121503, 121505, 121519, 122880, 122886, 122888, 122904, 122907, 122913, 122915, 122916, 122918, 122922, 123136, 123180, 123184, 123197, 123200, 123209, 123214, 123214, 123584, 123641, 124928, 125124, 125136, 125142, 125184, 125259, 125264, 125273, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 131072, 173782, 173824, 177972, 177984, 178205, 178208, 183969, 183984, 191456, 194560, 195101, 917760, 917999];\n        commentDirectiveRegExSingleLine = /^\\/\\/\\/?\\s*@(ts-expect-error|ts-ignore)/;\n        commentDirectiveRegExMultiLine = /^(?:\\/|\\*)*\\s*@(ts-expect-error|ts-ignore)/;\n        tokenStrings = makeReverseMap(textToToken);\n        mergeConflictMarkerLength = \"<<<<<<<\".length;\n        shebangTriviaRegex = /^#!.*/;\n        codePointAt = String.prototype.codePointAt ? (s, i) => s.codePointAt(i) : function codePointAt2(str, i) {\n          const size = str.length;\n          if (i < 0 || i >= size) {\n            return void 0;\n          }\n          const first2 = str.charCodeAt(i);\n          if (first2 >= 55296 && first2 <= 56319 && size > i + 1) {\n            const second = str.charCodeAt(i + 1);\n            if (second >= 56320 && second <= 57343) {\n              return (first2 - 55296) * 1024 + second - 56320 + 65536;\n            }\n          }\n          return first2;\n        };\n        utf16EncodeAsStringWorker = String.fromCodePoint ? (codePoint) => String.fromCodePoint(codePoint) : utf16EncodeAsStringFallback;\n      }\n    });\n    function isExternalModuleNameRelative(moduleName) {\n      return pathIsRelative(moduleName) || isRootedDiskPath(moduleName);\n    }\n    function sortAndDeduplicateDiagnostics(diagnostics) {\n      return sortAndDeduplicate(diagnostics, compareDiagnostics);\n    }\n    function getDefaultLibFileName(options) {\n      switch (getEmitScriptTarget(options)) {\n        case 99:\n          return \"lib.esnext.full.d.ts\";\n        case 9:\n          return \"lib.es2022.full.d.ts\";\n        case 8:\n          return \"lib.es2021.full.d.ts\";\n        case 7:\n          return \"lib.es2020.full.d.ts\";\n        case 6:\n          return \"lib.es2019.full.d.ts\";\n        case 5:\n          return \"lib.es2018.full.d.ts\";\n        case 4:\n          return \"lib.es2017.full.d.ts\";\n        case 3:\n          return \"lib.es2016.full.d.ts\";\n        case 2:\n          return \"lib.es6.d.ts\";\n        default:\n          return \"lib.d.ts\";\n      }\n    }\n    function textSpanEnd(span) {\n      return span.start + span.length;\n    }\n    function textSpanIsEmpty(span) {\n      return span.length === 0;\n    }\n    function textSpanContainsPosition(span, position) {\n      return position >= span.start && position < textSpanEnd(span);\n    }\n    function textRangeContainsPositionInclusive(span, position) {\n      return position >= span.pos && position <= span.end;\n    }\n    function textSpanContainsTextSpan(span, other) {\n      return other.start >= span.start && textSpanEnd(other) <= textSpanEnd(span);\n    }\n    function textSpanOverlapsWith(span, other) {\n      return textSpanOverlap(span, other) !== void 0;\n    }\n    function textSpanOverlap(span1, span2) {\n      const overlap = textSpanIntersection(span1, span2);\n      return overlap && overlap.length === 0 ? void 0 : overlap;\n    }\n    function textSpanIntersectsWithTextSpan(span, other) {\n      return decodedTextSpanIntersectsWith(span.start, span.length, other.start, other.length);\n    }\n    function textSpanIntersectsWith(span, start, length2) {\n      return decodedTextSpanIntersectsWith(span.start, span.length, start, length2);\n    }\n    function decodedTextSpanIntersectsWith(start1, length1, start2, length2) {\n      const end1 = start1 + length1;\n      const end2 = start2 + length2;\n      return start2 <= end1 && end2 >= start1;\n    }\n    function textSpanIntersectsWithPosition(span, position) {\n      return position <= textSpanEnd(span) && position >= span.start;\n    }\n    function textSpanIntersection(span1, span2) {\n      const start = Math.max(span1.start, span2.start);\n      const end = Math.min(textSpanEnd(span1), textSpanEnd(span2));\n      return start <= end ? createTextSpanFromBounds(start, end) : void 0;\n    }\n    function createTextSpan(start, length2) {\n      if (start < 0) {\n        throw new Error(\"start < 0\");\n      }\n      if (length2 < 0) {\n        throw new Error(\"length < 0\");\n      }\n      return { start, length: length2 };\n    }\n    function createTextSpanFromBounds(start, end) {\n      return createTextSpan(start, end - start);\n    }\n    function textChangeRangeNewSpan(range) {\n      return createTextSpan(range.span.start, range.newLength);\n    }\n    function textChangeRangeIsUnchanged(range) {\n      return textSpanIsEmpty(range.span) && range.newLength === 0;\n    }\n    function createTextChangeRange(span, newLength) {\n      if (newLength < 0) {\n        throw new Error(\"newLength < 0\");\n      }\n      return { span, newLength };\n    }\n    function collapseTextChangeRangesAcrossMultipleVersions(changes) {\n      if (changes.length === 0) {\n        return unchangedTextChangeRange;\n      }\n      if (changes.length === 1) {\n        return changes[0];\n      }\n      const change0 = changes[0];\n      let oldStartN = change0.span.start;\n      let oldEndN = textSpanEnd(change0.span);\n      let newEndN = oldStartN + change0.newLength;\n      for (let i = 1; i < changes.length; i++) {\n        const nextChange = changes[i];\n        const oldStart1 = oldStartN;\n        const oldEnd1 = oldEndN;\n        const newEnd1 = newEndN;\n        const oldStart2 = nextChange.span.start;\n        const oldEnd2 = textSpanEnd(nextChange.span);\n        const newEnd2 = oldStart2 + nextChange.newLength;\n        oldStartN = Math.min(oldStart1, oldStart2);\n        oldEndN = Math.max(oldEnd1, oldEnd1 + (oldEnd2 - newEnd1));\n        newEndN = Math.max(newEnd2, newEnd2 + (newEnd1 - oldEnd2));\n      }\n      return createTextChangeRange(\n        createTextSpanFromBounds(oldStartN, oldEndN),\n        /*newLength*/\n        newEndN - oldStartN\n      );\n    }\n    function getTypeParameterOwner(d) {\n      if (d && d.kind === 165) {\n        for (let current = d; current; current = current.parent) {\n          if (isFunctionLike(current) || isClassLike(current) || current.kind === 261) {\n            return current;\n          }\n        }\n      }\n    }\n    function isParameterPropertyDeclaration(node, parent2) {\n      return isParameter(node) && hasSyntacticModifier(\n        node,\n        16476\n        /* ParameterPropertyModifier */\n      ) && parent2.kind === 173;\n    }\n    function isEmptyBindingPattern(node) {\n      if (isBindingPattern(node)) {\n        return every(node.elements, isEmptyBindingElement);\n      }\n      return false;\n    }\n    function isEmptyBindingElement(node) {\n      if (isOmittedExpression(node)) {\n        return true;\n      }\n      return isEmptyBindingPattern(node.name);\n    }\n    function walkUpBindingElementsAndPatterns(binding) {\n      let node = binding.parent;\n      while (isBindingElement(node.parent)) {\n        node = node.parent.parent;\n      }\n      return node.parent;\n    }\n    function getCombinedFlags(node, getFlags) {\n      if (isBindingElement(node)) {\n        node = walkUpBindingElementsAndPatterns(node);\n      }\n      let flags = getFlags(node);\n      if (node.kind === 257) {\n        node = node.parent;\n      }\n      if (node && node.kind === 258) {\n        flags |= getFlags(node);\n        node = node.parent;\n      }\n      if (node && node.kind === 240) {\n        flags |= getFlags(node);\n      }\n      return flags;\n    }\n    function getCombinedModifierFlags(node) {\n      return getCombinedFlags(node, getEffectiveModifierFlags);\n    }\n    function getCombinedNodeFlagsAlwaysIncludeJSDoc(node) {\n      return getCombinedFlags(node, getEffectiveModifierFlagsAlwaysIncludeJSDoc);\n    }\n    function getCombinedNodeFlags(node) {\n      return getCombinedFlags(node, (n) => n.flags);\n    }\n    function validateLocaleAndSetLanguage(locale, sys2, errors) {\n      const lowerCaseLocale = locale.toLowerCase();\n      const matchResult = /^([a-z]+)([_\\-]([a-z]+))?$/.exec(lowerCaseLocale);\n      if (!matchResult) {\n        if (errors) {\n          errors.push(createCompilerDiagnostic(Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1, \"en\", \"ja-jp\"));\n        }\n        return;\n      }\n      const language = matchResult[1];\n      const territory = matchResult[3];\n      if (contains(supportedLocaleDirectories, lowerCaseLocale) && !trySetLanguageAndTerritory(language, territory, errors)) {\n        trySetLanguageAndTerritory(\n          language,\n          /*territory*/\n          void 0,\n          errors\n        );\n      }\n      setUILocale(locale);\n      function trySetLanguageAndTerritory(language2, territory2, errors2) {\n        const compilerFilePath = normalizePath(sys2.getExecutingFilePath());\n        const containingDirectoryPath = getDirectoryPath(compilerFilePath);\n        let filePath = combinePaths(containingDirectoryPath, language2);\n        if (territory2) {\n          filePath = filePath + \"-\" + territory2;\n        }\n        filePath = sys2.resolvePath(combinePaths(filePath, \"diagnosticMessages.generated.json\"));\n        if (!sys2.fileExists(filePath)) {\n          return false;\n        }\n        let fileContents = \"\";\n        try {\n          fileContents = sys2.readFile(filePath);\n        } catch (e) {\n          if (errors2) {\n            errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath));\n          }\n          return false;\n        }\n        try {\n          setLocalizedDiagnosticMessages(JSON.parse(fileContents));\n        } catch (e) {\n          if (errors2) {\n            errors2.push(createCompilerDiagnostic(Diagnostics.Corrupted_locale_file_0, filePath));\n          }\n          return false;\n        }\n        return true;\n      }\n    }\n    function getOriginalNode(node, nodeTest) {\n      if (node) {\n        while (node.original !== void 0) {\n          node = node.original;\n        }\n      }\n      if (!node || !nodeTest) {\n        return node;\n      }\n      return nodeTest(node) ? node : void 0;\n    }\n    function findAncestor(node, callback) {\n      while (node) {\n        const result = callback(node);\n        if (result === \"quit\") {\n          return void 0;\n        } else if (result) {\n          return node;\n        }\n        node = node.parent;\n      }\n      return void 0;\n    }\n    function isParseTreeNode(node) {\n      return (node.flags & 8) === 0;\n    }\n    function getParseTreeNode(node, nodeTest) {\n      if (node === void 0 || isParseTreeNode(node)) {\n        return node;\n      }\n      node = node.original;\n      while (node) {\n        if (isParseTreeNode(node)) {\n          return !nodeTest || nodeTest(node) ? node : void 0;\n        }\n        node = node.original;\n      }\n    }\n    function escapeLeadingUnderscores(identifier) {\n      return identifier.length >= 2 && identifier.charCodeAt(0) === 95 && identifier.charCodeAt(1) === 95 ? \"_\" + identifier : identifier;\n    }\n    function unescapeLeadingUnderscores(identifier) {\n      const id = identifier;\n      return id.length >= 3 && id.charCodeAt(0) === 95 && id.charCodeAt(1) === 95 && id.charCodeAt(2) === 95 ? id.substr(1) : id;\n    }\n    function idText(identifierOrPrivateName) {\n      return unescapeLeadingUnderscores(identifierOrPrivateName.escapedText);\n    }\n    function identifierToKeywordKind(node) {\n      const token = stringToToken(node.escapedText);\n      return token ? tryCast(token, isKeyword) : void 0;\n    }\n    function symbolName(symbol) {\n      if (symbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(symbol.valueDeclaration)) {\n        return idText(symbol.valueDeclaration.name);\n      }\n      return unescapeLeadingUnderscores(symbol.escapedName);\n    }\n    function nameForNamelessJSDocTypedef(declaration) {\n      const hostNode = declaration.parent.parent;\n      if (!hostNode) {\n        return void 0;\n      }\n      if (isDeclaration(hostNode)) {\n        return getDeclarationIdentifier(hostNode);\n      }\n      switch (hostNode.kind) {\n        case 240:\n          if (hostNode.declarationList && hostNode.declarationList.declarations[0]) {\n            return getDeclarationIdentifier(hostNode.declarationList.declarations[0]);\n          }\n          break;\n        case 241:\n          let expr = hostNode.expression;\n          if (expr.kind === 223 && expr.operatorToken.kind === 63) {\n            expr = expr.left;\n          }\n          switch (expr.kind) {\n            case 208:\n              return expr.name;\n            case 209:\n              const arg = expr.argumentExpression;\n              if (isIdentifier(arg)) {\n                return arg;\n              }\n          }\n          break;\n        case 214: {\n          return getDeclarationIdentifier(hostNode.expression);\n        }\n        case 253: {\n          if (isDeclaration(hostNode.statement) || isExpression(hostNode.statement)) {\n            return getDeclarationIdentifier(hostNode.statement);\n          }\n          break;\n        }\n      }\n    }\n    function getDeclarationIdentifier(node) {\n      const name = getNameOfDeclaration(node);\n      return name && isIdentifier(name) ? name : void 0;\n    }\n    function nodeHasName(statement, name) {\n      if (isNamedDeclaration(statement) && isIdentifier(statement.name) && idText(statement.name) === idText(name)) {\n        return true;\n      }\n      if (isVariableStatement(statement) && some(statement.declarationList.declarations, (d) => nodeHasName(d, name))) {\n        return true;\n      }\n      return false;\n    }\n    function getNameOfJSDocTypedef(declaration) {\n      return declaration.name || nameForNamelessJSDocTypedef(declaration);\n    }\n    function isNamedDeclaration(node) {\n      return !!node.name;\n    }\n    function getNonAssignedNameOfDeclaration(declaration) {\n      switch (declaration.kind) {\n        case 79:\n          return declaration;\n        case 351:\n        case 344: {\n          const { name } = declaration;\n          if (name.kind === 163) {\n            return name.right;\n          }\n          break;\n        }\n        case 210:\n        case 223: {\n          const expr2 = declaration;\n          switch (getAssignmentDeclarationKind(expr2)) {\n            case 1:\n            case 4:\n            case 5:\n            case 3:\n              return getElementOrPropertyAccessArgumentExpressionOrName(expr2.left);\n            case 7:\n            case 8:\n            case 9:\n              return expr2.arguments[1];\n            default:\n              return void 0;\n          }\n        }\n        case 349:\n          return getNameOfJSDocTypedef(declaration);\n        case 343:\n          return nameForNamelessJSDocTypedef(declaration);\n        case 274: {\n          const { expression } = declaration;\n          return isIdentifier(expression) ? expression : void 0;\n        }\n        case 209:\n          const expr = declaration;\n          if (isBindableStaticElementAccessExpression(expr)) {\n            return expr.argumentExpression;\n          }\n      }\n      return declaration.name;\n    }\n    function getNameOfDeclaration(declaration) {\n      if (declaration === void 0)\n        return void 0;\n      return getNonAssignedNameOfDeclaration(declaration) || (isFunctionExpression(declaration) || isArrowFunction(declaration) || isClassExpression(declaration) ? getAssignedName(declaration) : void 0);\n    }\n    function getAssignedName(node) {\n      if (!node.parent) {\n        return void 0;\n      } else if (isPropertyAssignment(node.parent) || isBindingElement(node.parent)) {\n        return node.parent.name;\n      } else if (isBinaryExpression(node.parent) && node === node.parent.right) {\n        if (isIdentifier(node.parent.left)) {\n          return node.parent.left;\n        } else if (isAccessExpression(node.parent.left)) {\n          return getElementOrPropertyAccessArgumentExpressionOrName(node.parent.left);\n        }\n      } else if (isVariableDeclaration(node.parent) && isIdentifier(node.parent.name)) {\n        return node.parent.name;\n      }\n    }\n    function getDecorators(node) {\n      if (hasDecorators(node)) {\n        return filter(node.modifiers, isDecorator);\n      }\n    }\n    function getModifiers(node) {\n      if (hasSyntacticModifier(\n        node,\n        126975\n        /* Modifier */\n      )) {\n        return filter(node.modifiers, isModifier);\n      }\n    }\n    function getJSDocParameterTagsWorker(param, noCache) {\n      if (param.name) {\n        if (isIdentifier(param.name)) {\n          const name = param.name.escapedText;\n          return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocParameterTag(tag) && isIdentifier(tag.name) && tag.name.escapedText === name);\n        } else {\n          const i = param.parent.parameters.indexOf(param);\n          Debug2.assert(i > -1, \"Parameters should always be in their parents' parameter list\");\n          const paramTags = getJSDocTagsWorker(param.parent, noCache).filter(isJSDocParameterTag);\n          if (i < paramTags.length) {\n            return [paramTags[i]];\n          }\n        }\n      }\n      return emptyArray;\n    }\n    function getJSDocParameterTags(param) {\n      return getJSDocParameterTagsWorker(\n        param,\n        /*noCache*/\n        false\n      );\n    }\n    function getJSDocParameterTagsNoCache(param) {\n      return getJSDocParameterTagsWorker(\n        param,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocTypeParameterTagsWorker(param, noCache) {\n      const name = param.name.escapedText;\n      return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocTemplateTag(tag) && tag.typeParameters.some((tp) => tp.name.escapedText === name));\n    }\n    function getJSDocTypeParameterTags(param) {\n      return getJSDocTypeParameterTagsWorker(\n        param,\n        /*noCache*/\n        false\n      );\n    }\n    function getJSDocTypeParameterTagsNoCache(param) {\n      return getJSDocTypeParameterTagsWorker(\n        param,\n        /*noCache*/\n        true\n      );\n    }\n    function hasJSDocParameterTags(node) {\n      return !!getFirstJSDocTag(node, isJSDocParameterTag);\n    }\n    function getJSDocAugmentsTag(node) {\n      return getFirstJSDocTag(node, isJSDocAugmentsTag);\n    }\n    function getJSDocImplementsTags(node) {\n      return getAllJSDocTags(node, isJSDocImplementsTag);\n    }\n    function getJSDocClassTag(node) {\n      return getFirstJSDocTag(node, isJSDocClassTag);\n    }\n    function getJSDocPublicTag(node) {\n      return getFirstJSDocTag(node, isJSDocPublicTag);\n    }\n    function getJSDocPublicTagNoCache(node) {\n      return getFirstJSDocTag(\n        node,\n        isJSDocPublicTag,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocPrivateTag(node) {\n      return getFirstJSDocTag(node, isJSDocPrivateTag);\n    }\n    function getJSDocPrivateTagNoCache(node) {\n      return getFirstJSDocTag(\n        node,\n        isJSDocPrivateTag,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocProtectedTag(node) {\n      return getFirstJSDocTag(node, isJSDocProtectedTag);\n    }\n    function getJSDocProtectedTagNoCache(node) {\n      return getFirstJSDocTag(\n        node,\n        isJSDocProtectedTag,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocReadonlyTag(node) {\n      return getFirstJSDocTag(node, isJSDocReadonlyTag);\n    }\n    function getJSDocReadonlyTagNoCache(node) {\n      return getFirstJSDocTag(\n        node,\n        isJSDocReadonlyTag,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocOverrideTagNoCache(node) {\n      return getFirstJSDocTag(\n        node,\n        isJSDocOverrideTag,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocDeprecatedTag(node) {\n      return getFirstJSDocTag(node, isJSDocDeprecatedTag);\n    }\n    function getJSDocDeprecatedTagNoCache(node) {\n      return getFirstJSDocTag(\n        node,\n        isJSDocDeprecatedTag,\n        /*noCache*/\n        true\n      );\n    }\n    function getJSDocEnumTag(node) {\n      return getFirstJSDocTag(node, isJSDocEnumTag);\n    }\n    function getJSDocThisTag(node) {\n      return getFirstJSDocTag(node, isJSDocThisTag);\n    }\n    function getJSDocReturnTag(node) {\n      return getFirstJSDocTag(node, isJSDocReturnTag);\n    }\n    function getJSDocTemplateTag(node) {\n      return getFirstJSDocTag(node, isJSDocTemplateTag);\n    }\n    function getJSDocSatisfiesTag(node) {\n      return getFirstJSDocTag(node, isJSDocSatisfiesTag);\n    }\n    function getJSDocTypeTag(node) {\n      const tag = getFirstJSDocTag(node, isJSDocTypeTag);\n      if (tag && tag.typeExpression && tag.typeExpression.type) {\n        return tag;\n      }\n      return void 0;\n    }\n    function getJSDocType(node) {\n      let tag = getFirstJSDocTag(node, isJSDocTypeTag);\n      if (!tag && isParameter(node)) {\n        tag = find(getJSDocParameterTags(node), (tag2) => !!tag2.typeExpression);\n      }\n      return tag && tag.typeExpression && tag.typeExpression.type;\n    }\n    function getJSDocReturnType(node) {\n      const returnTag = getJSDocReturnTag(node);\n      if (returnTag && returnTag.typeExpression) {\n        return returnTag.typeExpression.type;\n      }\n      const typeTag = getJSDocTypeTag(node);\n      if (typeTag && typeTag.typeExpression) {\n        const type = typeTag.typeExpression.type;\n        if (isTypeLiteralNode(type)) {\n          const sig = find(type.members, isCallSignatureDeclaration);\n          return sig && sig.type;\n        }\n        if (isFunctionTypeNode(type) || isJSDocFunctionType(type)) {\n          return type.type;\n        }\n      }\n    }\n    function getJSDocTagsWorker(node, noCache) {\n      var _a22, _b3;\n      if (!canHaveJSDoc(node))\n        return emptyArray;\n      let tags = (_a22 = node.jsDoc) == null ? void 0 : _a22.jsDocCache;\n      if (tags === void 0 || noCache) {\n        const comments = getJSDocCommentsAndTags(node, noCache);\n        Debug2.assert(comments.length < 2 || comments[0] !== comments[1]);\n        tags = flatMap(comments, (j) => isJSDoc(j) ? j.tags : j);\n        if (!noCache) {\n          (_b3 = node.jsDoc) != null ? _b3 : node.jsDoc = [];\n          node.jsDoc.jsDocCache = tags;\n        }\n      }\n      return tags;\n    }\n    function getJSDocTags(node) {\n      return getJSDocTagsWorker(\n        node,\n        /*noCache*/\n        false\n      );\n    }\n    function getJSDocTagsNoCache(node) {\n      return getJSDocTagsWorker(\n        node,\n        /*noCache*/\n        true\n      );\n    }\n    function getFirstJSDocTag(node, predicate, noCache) {\n      return find(getJSDocTagsWorker(node, noCache), predicate);\n    }\n    function getAllJSDocTags(node, predicate) {\n      return getJSDocTags(node).filter(predicate);\n    }\n    function getAllJSDocTagsOfKind(node, kind) {\n      return getJSDocTags(node).filter((doc) => doc.kind === kind);\n    }\n    function getTextOfJSDocComment(comment) {\n      return typeof comment === \"string\" ? comment : comment == null ? void 0 : comment.map((c) => c.kind === 324 ? c.text : formatJSDocLink(c)).join(\"\");\n    }\n    function formatJSDocLink(link) {\n      const kind = link.kind === 327 ? \"link\" : link.kind === 328 ? \"linkcode\" : \"linkplain\";\n      const name = link.name ? entityNameToString(link.name) : \"\";\n      const space = link.name && link.text.startsWith(\"://\") ? \"\" : \" \";\n      return `{@${kind} ${name}${space}${link.text}}`;\n    }\n    function getEffectiveTypeParameterDeclarations(node) {\n      if (isJSDocSignature(node)) {\n        if (isJSDocOverloadTag(node.parent)) {\n          const jsDoc = getJSDocRoot(node.parent);\n          if (jsDoc && length(jsDoc.tags)) {\n            return flatMap(jsDoc.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0);\n          }\n        }\n        return emptyArray;\n      }\n      if (isJSDocTypeAlias(node)) {\n        Debug2.assert(\n          node.parent.kind === 323\n          /* JSDoc */\n        );\n        return flatMap(node.parent.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0);\n      }\n      if (node.typeParameters) {\n        return node.typeParameters;\n      }\n      if (canHaveIllegalTypeParameters(node) && node.typeParameters) {\n        return node.typeParameters;\n      }\n      if (isInJSFile(node)) {\n        const decls = getJSDocTypeParameterDeclarations(node);\n        if (decls.length) {\n          return decls;\n        }\n        const typeTag = getJSDocType(node);\n        if (typeTag && isFunctionTypeNode(typeTag) && typeTag.typeParameters) {\n          return typeTag.typeParameters;\n        }\n      }\n      return emptyArray;\n    }\n    function getEffectiveConstraintOfTypeParameter(node) {\n      return node.constraint ? node.constraint : isJSDocTemplateTag(node.parent) && node === node.parent.typeParameters[0] ? node.parent.constraint : void 0;\n    }\n    function isMemberName(node) {\n      return node.kind === 79 || node.kind === 80;\n    }\n    function isGetOrSetAccessorDeclaration(node) {\n      return node.kind === 175 || node.kind === 174;\n    }\n    function isPropertyAccessChain(node) {\n      return isPropertyAccessExpression(node) && !!(node.flags & 32);\n    }\n    function isElementAccessChain(node) {\n      return isElementAccessExpression(node) && !!(node.flags & 32);\n    }\n    function isCallChain(node) {\n      return isCallExpression(node) && !!(node.flags & 32);\n    }\n    function isOptionalChain(node) {\n      const kind = node.kind;\n      return !!(node.flags & 32) && (kind === 208 || kind === 209 || kind === 210 || kind === 232);\n    }\n    function isOptionalChainRoot(node) {\n      return isOptionalChain(node) && !isNonNullExpression(node) && !!node.questionDotToken;\n    }\n    function isExpressionOfOptionalChainRoot(node) {\n      return isOptionalChainRoot(node.parent) && node.parent.expression === node;\n    }\n    function isOutermostOptionalChain(node) {\n      return !isOptionalChain(node.parent) || isOptionalChainRoot(node.parent) || node !== node.parent.expression;\n    }\n    function isNullishCoalesce(node) {\n      return node.kind === 223 && node.operatorToken.kind === 60;\n    }\n    function isConstTypeReference(node) {\n      return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"const\" && !node.typeArguments;\n    }\n    function skipPartiallyEmittedExpressions(node) {\n      return skipOuterExpressions(\n        node,\n        8\n        /* PartiallyEmittedExpressions */\n      );\n    }\n    function isNonNullChain(node) {\n      return isNonNullExpression(node) && !!(node.flags & 32);\n    }\n    function isBreakOrContinueStatement(node) {\n      return node.kind === 249 || node.kind === 248;\n    }\n    function isNamedExportBindings(node) {\n      return node.kind === 277 || node.kind === 276;\n    }\n    function isUnparsedTextLike(node) {\n      switch (node.kind) {\n        case 305:\n        case 306:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isUnparsedNode(node) {\n      return isUnparsedTextLike(node) || node.kind === 303 || node.kind === 307;\n    }\n    function isJSDocPropertyLikeTag(node) {\n      return node.kind === 351 || node.kind === 344;\n    }\n    function isNode(node) {\n      return isNodeKind(node.kind);\n    }\n    function isNodeKind(kind) {\n      return kind >= 163;\n    }\n    function isTokenKind(kind) {\n      return kind >= 0 && kind <= 162;\n    }\n    function isToken(n) {\n      return isTokenKind(n.kind);\n    }\n    function isNodeArray(array) {\n      return hasProperty(array, \"pos\") && hasProperty(array, \"end\");\n    }\n    function isLiteralKind(kind) {\n      return 8 <= kind && kind <= 14;\n    }\n    function isLiteralExpression(node) {\n      return isLiteralKind(node.kind);\n    }\n    function isLiteralExpressionOfObject(node) {\n      switch (node.kind) {\n        case 207:\n        case 206:\n        case 13:\n        case 215:\n        case 228:\n          return true;\n      }\n      return false;\n    }\n    function isTemplateLiteralKind(kind) {\n      return 14 <= kind && kind <= 17;\n    }\n    function isTemplateLiteralToken(node) {\n      return isTemplateLiteralKind(node.kind);\n    }\n    function isTemplateMiddleOrTemplateTail(node) {\n      const kind = node.kind;\n      return kind === 16 || kind === 17;\n    }\n    function isImportOrExportSpecifier(node) {\n      return isImportSpecifier(node) || isExportSpecifier(node);\n    }\n    function isTypeOnlyImportDeclaration(node) {\n      switch (node.kind) {\n        case 273:\n          return node.isTypeOnly || node.parent.parent.isTypeOnly;\n        case 271:\n          return node.parent.isTypeOnly;\n        case 270:\n        case 268:\n          return node.isTypeOnly;\n      }\n      return false;\n    }\n    function isTypeOnlyExportDeclaration(node) {\n      switch (node.kind) {\n        case 278:\n          return node.isTypeOnly || node.parent.parent.isTypeOnly;\n        case 275:\n          return node.isTypeOnly && !!node.moduleSpecifier && !node.exportClause;\n        case 277:\n          return node.parent.isTypeOnly;\n      }\n      return false;\n    }\n    function isTypeOnlyImportOrExportDeclaration(node) {\n      return isTypeOnlyImportDeclaration(node) || isTypeOnlyExportDeclaration(node);\n    }\n    function isAssertionKey(node) {\n      return isStringLiteral(node) || isIdentifier(node);\n    }\n    function isStringTextContainingNode(node) {\n      return node.kind === 10 || isTemplateLiteralKind(node.kind);\n    }\n    function isGeneratedIdentifier(node) {\n      var _a22;\n      return isIdentifier(node) && ((_a22 = node.emitNode) == null ? void 0 : _a22.autoGenerate) !== void 0;\n    }\n    function isGeneratedPrivateIdentifier(node) {\n      var _a22;\n      return isPrivateIdentifier(node) && ((_a22 = node.emitNode) == null ? void 0 : _a22.autoGenerate) !== void 0;\n    }\n    function isPrivateIdentifierClassElementDeclaration(node) {\n      return (isPropertyDeclaration(node) || isMethodOrAccessor(node)) && isPrivateIdentifier(node.name);\n    }\n    function isPrivateIdentifierPropertyAccessExpression(node) {\n      return isPropertyAccessExpression(node) && isPrivateIdentifier(node.name);\n    }\n    function isModifierKind(token) {\n      switch (token) {\n        case 126:\n        case 127:\n        case 132:\n        case 85:\n        case 136:\n        case 88:\n        case 93:\n        case 101:\n        case 123:\n        case 121:\n        case 122:\n        case 146:\n        case 124:\n        case 145:\n        case 161:\n          return true;\n      }\n      return false;\n    }\n    function isParameterPropertyModifier(kind) {\n      return !!(modifierToFlag(kind) & 16476);\n    }\n    function isClassMemberModifier(idToken) {\n      return isParameterPropertyModifier(idToken) || idToken === 124 || idToken === 161 || idToken === 127;\n    }\n    function isModifier(node) {\n      return isModifierKind(node.kind);\n    }\n    function isEntityName(node) {\n      const kind = node.kind;\n      return kind === 163 || kind === 79;\n    }\n    function isPropertyName(node) {\n      const kind = node.kind;\n      return kind === 79 || kind === 80 || kind === 10 || kind === 8 || kind === 164;\n    }\n    function isBindingName(node) {\n      const kind = node.kind;\n      return kind === 79 || kind === 203 || kind === 204;\n    }\n    function isFunctionLike(node) {\n      return !!node && isFunctionLikeKind(node.kind);\n    }\n    function isFunctionLikeOrClassStaticBlockDeclaration(node) {\n      return !!node && (isFunctionLikeKind(node.kind) || isClassStaticBlockDeclaration(node));\n    }\n    function isFunctionLikeDeclaration(node) {\n      return node && isFunctionLikeDeclarationKind(node.kind);\n    }\n    function isBooleanLiteral(node) {\n      return node.kind === 110 || node.kind === 95;\n    }\n    function isFunctionLikeDeclarationKind(kind) {\n      switch (kind) {\n        case 259:\n        case 171:\n        case 173:\n        case 174:\n        case 175:\n        case 215:\n        case 216:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isFunctionLikeKind(kind) {\n      switch (kind) {\n        case 170:\n        case 176:\n        case 326:\n        case 177:\n        case 178:\n        case 181:\n        case 320:\n        case 182:\n          return true;\n        default:\n          return isFunctionLikeDeclarationKind(kind);\n      }\n    }\n    function isFunctionOrModuleBlock(node) {\n      return isSourceFile(node) || isModuleBlock(node) || isBlock(node) && isFunctionLike(node.parent);\n    }\n    function isClassElement(node) {\n      const kind = node.kind;\n      return kind === 173 || kind === 169 || kind === 171 || kind === 174 || kind === 175 || kind === 178 || kind === 172 || kind === 237;\n    }\n    function isClassLike(node) {\n      return node && (node.kind === 260 || node.kind === 228);\n    }\n    function isAccessor(node) {\n      return node && (node.kind === 174 || node.kind === 175);\n    }\n    function isAutoAccessorPropertyDeclaration(node) {\n      return isPropertyDeclaration(node) && hasAccessorModifier(node);\n    }\n    function isMethodOrAccessor(node) {\n      switch (node.kind) {\n        case 171:\n        case 174:\n        case 175:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isNamedClassElement(node) {\n      switch (node.kind) {\n        case 171:\n        case 174:\n        case 175:\n        case 169:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isModifierLike(node) {\n      return isModifier(node) || isDecorator(node);\n    }\n    function isTypeElement(node) {\n      const kind = node.kind;\n      return kind === 177 || kind === 176 || kind === 168 || kind === 170 || kind === 178 || kind === 174 || kind === 175;\n    }\n    function isClassOrTypeElement(node) {\n      return isTypeElement(node) || isClassElement(node);\n    }\n    function isObjectLiteralElementLike(node) {\n      const kind = node.kind;\n      return kind === 299 || kind === 300 || kind === 301 || kind === 171 || kind === 174 || kind === 175;\n    }\n    function isTypeNode(node) {\n      return isTypeNodeKind(node.kind);\n    }\n    function isFunctionOrConstructorTypeNode(node) {\n      switch (node.kind) {\n        case 181:\n        case 182:\n          return true;\n      }\n      return false;\n    }\n    function isBindingPattern(node) {\n      if (node) {\n        const kind = node.kind;\n        return kind === 204 || kind === 203;\n      }\n      return false;\n    }\n    function isAssignmentPattern(node) {\n      const kind = node.kind;\n      return kind === 206 || kind === 207;\n    }\n    function isArrayBindingElement(node) {\n      const kind = node.kind;\n      return kind === 205 || kind === 229;\n    }\n    function isDeclarationBindingElement(bindingElement) {\n      switch (bindingElement.kind) {\n        case 257:\n        case 166:\n        case 205:\n          return true;\n      }\n      return false;\n    }\n    function isBindingOrAssignmentElement(node) {\n      return isVariableDeclaration(node) || isParameter(node) || isObjectBindingOrAssignmentElement(node) || isArrayBindingOrAssignmentElement(node);\n    }\n    function isBindingOrAssignmentPattern(node) {\n      return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node);\n    }\n    function isObjectBindingOrAssignmentPattern(node) {\n      switch (node.kind) {\n        case 203:\n        case 207:\n          return true;\n      }\n      return false;\n    }\n    function isObjectBindingOrAssignmentElement(node) {\n      switch (node.kind) {\n        case 205:\n        case 299:\n        case 300:\n        case 301:\n          return true;\n      }\n      return false;\n    }\n    function isArrayBindingOrAssignmentPattern(node) {\n      switch (node.kind) {\n        case 204:\n        case 206:\n          return true;\n      }\n      return false;\n    }\n    function isArrayBindingOrAssignmentElement(node) {\n      switch (node.kind) {\n        case 205:\n        case 229:\n        case 227:\n        case 206:\n        case 207:\n        case 79:\n        case 208:\n        case 209:\n          return true;\n      }\n      return isAssignmentExpression(\n        node,\n        /*excludeCompoundAssignment*/\n        true\n      );\n    }\n    function isPropertyAccessOrQualifiedNameOrImportTypeNode(node) {\n      const kind = node.kind;\n      return kind === 208 || kind === 163 || kind === 202;\n    }\n    function isPropertyAccessOrQualifiedName(node) {\n      const kind = node.kind;\n      return kind === 208 || kind === 163;\n    }\n    function isCallLikeExpression(node) {\n      switch (node.kind) {\n        case 283:\n        case 282:\n        case 210:\n        case 211:\n        case 212:\n        case 167:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isCallOrNewExpression(node) {\n      return node.kind === 210 || node.kind === 211;\n    }\n    function isTemplateLiteral(node) {\n      const kind = node.kind;\n      return kind === 225 || kind === 14;\n    }\n    function isLeftHandSideExpression(node) {\n      return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(node).kind);\n    }\n    function isLeftHandSideExpressionKind(kind) {\n      switch (kind) {\n        case 208:\n        case 209:\n        case 211:\n        case 210:\n        case 281:\n        case 282:\n        case 285:\n        case 212:\n        case 206:\n        case 214:\n        case 207:\n        case 228:\n        case 215:\n        case 79:\n        case 80:\n        case 13:\n        case 8:\n        case 9:\n        case 10:\n        case 14:\n        case 225:\n        case 95:\n        case 104:\n        case 108:\n        case 110:\n        case 106:\n        case 232:\n        case 230:\n        case 233:\n        case 100:\n        case 279:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isUnaryExpression(node) {\n      return isUnaryExpressionKind(skipPartiallyEmittedExpressions(node).kind);\n    }\n    function isUnaryExpressionKind(kind) {\n      switch (kind) {\n        case 221:\n        case 222:\n        case 217:\n        case 218:\n        case 219:\n        case 220:\n        case 213:\n          return true;\n        default:\n          return isLeftHandSideExpressionKind(kind);\n      }\n    }\n    function isUnaryExpressionWithWrite(expr) {\n      switch (expr.kind) {\n        case 222:\n          return true;\n        case 221:\n          return expr.operator === 45 || expr.operator === 46;\n        default:\n          return false;\n      }\n    }\n    function isLiteralTypeLiteral(node) {\n      switch (node.kind) {\n        case 104:\n        case 110:\n        case 95:\n        case 221:\n          return true;\n        default:\n          return isLiteralExpression(node);\n      }\n    }\n    function isExpression(node) {\n      return isExpressionKind(skipPartiallyEmittedExpressions(node).kind);\n    }\n    function isExpressionKind(kind) {\n      switch (kind) {\n        case 224:\n        case 226:\n        case 216:\n        case 223:\n        case 227:\n        case 231:\n        case 229:\n        case 357:\n        case 356:\n        case 235:\n          return true;\n        default:\n          return isUnaryExpressionKind(kind);\n      }\n    }\n    function isAssertionExpression(node) {\n      const kind = node.kind;\n      return kind === 213 || kind === 231;\n    }\n    function isNotEmittedOrPartiallyEmittedNode(node) {\n      return isNotEmittedStatement(node) || isPartiallyEmittedExpression(node);\n    }\n    function isIterationStatement(node, lookInLabeledStatements) {\n      switch (node.kind) {\n        case 245:\n        case 246:\n        case 247:\n        case 243:\n        case 244:\n          return true;\n        case 253:\n          return lookInLabeledStatements && isIterationStatement(node.statement, lookInLabeledStatements);\n      }\n      return false;\n    }\n    function isScopeMarker(node) {\n      return isExportAssignment(node) || isExportDeclaration(node);\n    }\n    function hasScopeMarker(statements) {\n      return some(statements, isScopeMarker);\n    }\n    function needsScopeMarker(result) {\n      return !isAnyImportOrReExport(result) && !isExportAssignment(result) && !hasSyntacticModifier(\n        result,\n        1\n        /* Export */\n      ) && !isAmbientModule(result);\n    }\n    function isExternalModuleIndicator(result) {\n      return isAnyImportOrReExport(result) || isExportAssignment(result) || hasSyntacticModifier(\n        result,\n        1\n        /* Export */\n      );\n    }\n    function isForInOrOfStatement(node) {\n      return node.kind === 246 || node.kind === 247;\n    }\n    function isConciseBody(node) {\n      return isBlock(node) || isExpression(node);\n    }\n    function isFunctionBody(node) {\n      return isBlock(node);\n    }\n    function isForInitializer(node) {\n      return isVariableDeclarationList(node) || isExpression(node);\n    }\n    function isModuleBody(node) {\n      const kind = node.kind;\n      return kind === 265 || kind === 264 || kind === 79;\n    }\n    function isNamespaceBody(node) {\n      const kind = node.kind;\n      return kind === 265 || kind === 264;\n    }\n    function isJSDocNamespaceBody(node) {\n      const kind = node.kind;\n      return kind === 79 || kind === 264;\n    }\n    function isNamedImportBindings(node) {\n      const kind = node.kind;\n      return kind === 272 || kind === 271;\n    }\n    function isModuleOrEnumDeclaration(node) {\n      return node.kind === 264 || node.kind === 263;\n    }\n    function canHaveSymbol(node) {\n      switch (node.kind) {\n        case 216:\n        case 223:\n        case 205:\n        case 210:\n        case 176:\n        case 260:\n        case 228:\n        case 172:\n        case 173:\n        case 182:\n        case 177:\n        case 209:\n        case 263:\n        case 302:\n        case 274:\n        case 275:\n        case 278:\n        case 259:\n        case 215:\n        case 181:\n        case 174:\n        case 79:\n        case 270:\n        case 268:\n        case 273:\n        case 178:\n        case 261:\n        case 341:\n        case 343:\n        case 320:\n        case 344:\n        case 351:\n        case 326:\n        case 349:\n        case 325:\n        case 288:\n        case 289:\n        case 290:\n        case 197:\n        case 171:\n        case 170:\n        case 264:\n        case 199:\n        case 277:\n        case 267:\n        case 271:\n        case 211:\n        case 14:\n        case 8:\n        case 207:\n        case 166:\n        case 208:\n        case 299:\n        case 169:\n        case 168:\n        case 175:\n        case 300:\n        case 308:\n        case 301:\n        case 10:\n        case 262:\n        case 184:\n        case 165:\n        case 257:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function canHaveLocals(node) {\n      switch (node.kind) {\n        case 216:\n        case 238:\n        case 176:\n        case 266:\n        case 295:\n        case 172:\n        case 191:\n        case 173:\n        case 182:\n        case 177:\n        case 245:\n        case 246:\n        case 247:\n        case 259:\n        case 215:\n        case 181:\n        case 174:\n        case 178:\n        case 341:\n        case 343:\n        case 320:\n        case 326:\n        case 349:\n        case 197:\n        case 171:\n        case 170:\n        case 264:\n        case 175:\n        case 308:\n        case 262:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isDeclarationKind(kind) {\n      return kind === 216 || kind === 205 || kind === 260 || kind === 228 || kind === 172 || kind === 173 || kind === 263 || kind === 302 || kind === 278 || kind === 259 || kind === 215 || kind === 174 || kind === 270 || kind === 268 || kind === 273 || kind === 261 || kind === 288 || kind === 171 || kind === 170 || kind === 264 || kind === 267 || kind === 271 || kind === 277 || kind === 166 || kind === 299 || kind === 169 || kind === 168 || kind === 175 || kind === 300 || kind === 262 || kind === 165 || kind === 257 || kind === 349 || kind === 341 || kind === 351;\n    }\n    function isDeclarationStatementKind(kind) {\n      return kind === 259 || kind === 279 || kind === 260 || kind === 261 || kind === 262 || kind === 263 || kind === 264 || kind === 269 || kind === 268 || kind === 275 || kind === 274 || kind === 267;\n    }\n    function isStatementKindButNotDeclarationKind(kind) {\n      return kind === 249 || kind === 248 || kind === 256 || kind === 243 || kind === 241 || kind === 239 || kind === 246 || kind === 247 || kind === 245 || kind === 242 || kind === 253 || kind === 250 || kind === 252 || kind === 254 || kind === 255 || kind === 240 || kind === 244 || kind === 251 || kind === 355 || kind === 359 || kind === 358;\n    }\n    function isDeclaration(node) {\n      if (node.kind === 165) {\n        return node.parent && node.parent.kind !== 348 || isInJSFile(node);\n      }\n      return isDeclarationKind(node.kind);\n    }\n    function isDeclarationStatement(node) {\n      return isDeclarationStatementKind(node.kind);\n    }\n    function isStatementButNotDeclaration(node) {\n      return isStatementKindButNotDeclarationKind(node.kind);\n    }\n    function isStatement(node) {\n      const kind = node.kind;\n      return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || isBlockStatement(node);\n    }\n    function isBlockStatement(node) {\n      if (node.kind !== 238)\n        return false;\n      if (node.parent !== void 0) {\n        if (node.parent.kind === 255 || node.parent.kind === 295) {\n          return false;\n        }\n      }\n      return !isFunctionBlock(node);\n    }\n    function isStatementOrBlock(node) {\n      const kind = node.kind;\n      return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || kind === 238;\n    }\n    function isModuleReference(node) {\n      const kind = node.kind;\n      return kind === 280 || kind === 163 || kind === 79;\n    }\n    function isJsxTagNameExpression(node) {\n      const kind = node.kind;\n      return kind === 108 || kind === 79 || kind === 208;\n    }\n    function isJsxChild(node) {\n      const kind = node.kind;\n      return kind === 281 || kind === 291 || kind === 282 || kind === 11 || kind === 285;\n    }\n    function isJsxAttributeLike(node) {\n      const kind = node.kind;\n      return kind === 288 || kind === 290;\n    }\n    function isStringLiteralOrJsxExpression(node) {\n      const kind = node.kind;\n      return kind === 10 || kind === 291;\n    }\n    function isJsxOpeningLikeElement(node) {\n      const kind = node.kind;\n      return kind === 283 || kind === 282;\n    }\n    function isCaseOrDefaultClause(node) {\n      const kind = node.kind;\n      return kind === 292 || kind === 293;\n    }\n    function isJSDocNode(node) {\n      return node.kind >= 312 && node.kind <= 353;\n    }\n    function isJSDocCommentContainingNode(node) {\n      return node.kind === 323 || node.kind === 322 || node.kind === 324 || isJSDocLinkLike(node) || isJSDocTag(node) || isJSDocTypeLiteral(node) || isJSDocSignature(node);\n    }\n    function isJSDocTag(node) {\n      return node.kind >= 330 && node.kind <= 353;\n    }\n    function isSetAccessor(node) {\n      return node.kind === 175;\n    }\n    function isGetAccessor(node) {\n      return node.kind === 174;\n    }\n    function hasJSDocNodes(node) {\n      if (!canHaveJSDoc(node))\n        return false;\n      const { jsDoc } = node;\n      return !!jsDoc && jsDoc.length > 0;\n    }\n    function hasType(node) {\n      return !!node.type;\n    }\n    function hasInitializer(node) {\n      return !!node.initializer;\n    }\n    function hasOnlyExpressionInitializer(node) {\n      switch (node.kind) {\n        case 257:\n        case 166:\n        case 205:\n        case 169:\n        case 299:\n        case 302:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isObjectLiteralElement(node) {\n      return node.kind === 288 || node.kind === 290 || isObjectLiteralElementLike(node);\n    }\n    function isTypeReferenceType(node) {\n      return node.kind === 180 || node.kind === 230;\n    }\n    function guessIndentation(lines) {\n      let indentation = MAX_SMI_X86;\n      for (const line of lines) {\n        if (!line.length) {\n          continue;\n        }\n        let i = 0;\n        for (; i < line.length && i < indentation; i++) {\n          if (!isWhiteSpaceLike(line.charCodeAt(i))) {\n            break;\n          }\n        }\n        if (i < indentation) {\n          indentation = i;\n        }\n        if (indentation === 0) {\n          return 0;\n        }\n      }\n      return indentation === MAX_SMI_X86 ? void 0 : indentation;\n    }\n    function isStringLiteralLike(node) {\n      return node.kind === 10 || node.kind === 14;\n    }\n    function isJSDocLinkLike(node) {\n      return node.kind === 327 || node.kind === 328 || node.kind === 329;\n    }\n    function hasRestParameter(s) {\n      const last2 = lastOrUndefined(s.parameters);\n      return !!last2 && isRestParameter(last2);\n    }\n    function isRestParameter(node) {\n      const type = isJSDocParameterTag(node) ? node.typeExpression && node.typeExpression.type : node.type;\n      return node.dotDotDotToken !== void 0 || !!type && type.kind === 321;\n    }\n    var unchangedTextChangeRange, supportedLocaleDirectories, MAX_SMI_X86;\n    var init_utilitiesPublic = __esm({\n      \"src/compiler/utilitiesPublic.ts\"() {\n        \"use strict\";\n        init_ts2();\n        unchangedTextChangeRange = createTextChangeRange(createTextSpan(0, 0), 0);\n        supportedLocaleDirectories = [\"cs\", \"de\", \"es\", \"fr\", \"it\", \"ja\", \"ko\", \"pl\", \"pt-br\", \"ru\", \"tr\", \"zh-cn\", \"zh-tw\"];\n        MAX_SMI_X86 = 1073741823;\n      }\n    });\n    function getDeclarationOfKind(symbol, kind) {\n      const declarations = symbol.declarations;\n      if (declarations) {\n        for (const declaration of declarations) {\n          if (declaration.kind === kind) {\n            return declaration;\n          }\n        }\n      }\n      return void 0;\n    }\n    function getDeclarationsOfKind(symbol, kind) {\n      return filter(symbol.declarations || emptyArray, (d) => d.kind === kind);\n    }\n    function createSymbolTable(symbols) {\n      const result = /* @__PURE__ */ new Map();\n      if (symbols) {\n        for (const symbol of symbols) {\n          result.set(symbol.escapedName, symbol);\n        }\n      }\n      return result;\n    }\n    function isTransientSymbol(symbol) {\n      return (symbol.flags & 33554432) !== 0;\n    }\n    function createSingleLineStringWriter() {\n      var str = \"\";\n      const writeText = (text) => str += text;\n      return {\n        getText: () => str,\n        write: writeText,\n        rawWrite: writeText,\n        writeKeyword: writeText,\n        writeOperator: writeText,\n        writePunctuation: writeText,\n        writeSpace: writeText,\n        writeStringLiteral: writeText,\n        writeLiteral: writeText,\n        writeParameter: writeText,\n        writeProperty: writeText,\n        writeSymbol: (s, _) => writeText(s),\n        writeTrailingSemicolon: writeText,\n        writeComment: writeText,\n        getTextPos: () => str.length,\n        getLine: () => 0,\n        getColumn: () => 0,\n        getIndent: () => 0,\n        isAtStartOfLine: () => false,\n        hasTrailingComment: () => false,\n        hasTrailingWhitespace: () => !!str.length && isWhiteSpaceLike(str.charCodeAt(str.length - 1)),\n        // Completely ignore indentation for string writers.  And map newlines to\n        // a single space.\n        writeLine: () => str += \" \",\n        increaseIndent: noop,\n        decreaseIndent: noop,\n        clear: () => str = \"\"\n      };\n    }\n    function changesAffectModuleResolution(oldOptions, newOptions) {\n      return oldOptions.configFilePath !== newOptions.configFilePath || optionsHaveModuleResolutionChanges(oldOptions, newOptions);\n    }\n    function optionsHaveModuleResolutionChanges(oldOptions, newOptions) {\n      return optionsHaveChanges(oldOptions, newOptions, moduleResolutionOptionDeclarations);\n    }\n    function changesAffectingProgramStructure(oldOptions, newOptions) {\n      return optionsHaveChanges(oldOptions, newOptions, optionsAffectingProgramStructure);\n    }\n    function optionsHaveChanges(oldOptions, newOptions, optionDeclarations2) {\n      return oldOptions !== newOptions && optionDeclarations2.some((o) => !isJsonEqual(getCompilerOptionValue(oldOptions, o), getCompilerOptionValue(newOptions, o)));\n    }\n    function forEachAncestor(node, callback) {\n      while (true) {\n        const res = callback(node);\n        if (res === \"quit\")\n          return void 0;\n        if (res !== void 0)\n          return res;\n        if (isSourceFile(node))\n          return void 0;\n        node = node.parent;\n      }\n    }\n    function forEachEntry(map2, callback) {\n      const iterator = map2.entries();\n      for (const [key, value] of iterator) {\n        const result = callback(value, key);\n        if (result) {\n          return result;\n        }\n      }\n      return void 0;\n    }\n    function forEachKey(map2, callback) {\n      const iterator = map2.keys();\n      for (const key of iterator) {\n        const result = callback(key);\n        if (result) {\n          return result;\n        }\n      }\n      return void 0;\n    }\n    function copyEntries(source, target) {\n      source.forEach((value, key) => {\n        target.set(key, value);\n      });\n    }\n    function usingSingleLineStringWriter(action) {\n      const oldString = stringWriter.getText();\n      try {\n        action(stringWriter);\n        return stringWriter.getText();\n      } finally {\n        stringWriter.clear();\n        stringWriter.writeKeyword(oldString);\n      }\n    }\n    function getFullWidth(node) {\n      return node.end - node.pos;\n    }\n    function getResolvedModule(sourceFile, moduleNameText, mode) {\n      var _a22, _b3;\n      return (_b3 = (_a22 = sourceFile == null ? void 0 : sourceFile.resolvedModules) == null ? void 0 : _a22.get(moduleNameText, mode)) == null ? void 0 : _b3.resolvedModule;\n    }\n    function setResolvedModule(sourceFile, moduleNameText, resolvedModule, mode) {\n      if (!sourceFile.resolvedModules) {\n        sourceFile.resolvedModules = createModeAwareCache();\n      }\n      sourceFile.resolvedModules.set(moduleNameText, mode, resolvedModule);\n    }\n    function setResolvedTypeReferenceDirective(sourceFile, typeReferenceDirectiveName, resolvedTypeReferenceDirective, mode) {\n      if (!sourceFile.resolvedTypeReferenceDirectiveNames) {\n        sourceFile.resolvedTypeReferenceDirectiveNames = createModeAwareCache();\n      }\n      sourceFile.resolvedTypeReferenceDirectiveNames.set(typeReferenceDirectiveName, mode, resolvedTypeReferenceDirective);\n    }\n    function getResolvedTypeReferenceDirective(sourceFile, typeReferenceDirectiveName, mode) {\n      var _a22, _b3;\n      return (_b3 = (_a22 = sourceFile == null ? void 0 : sourceFile.resolvedTypeReferenceDirectiveNames) == null ? void 0 : _a22.get(typeReferenceDirectiveName, mode)) == null ? void 0 : _b3.resolvedTypeReferenceDirective;\n    }\n    function projectReferenceIsEqualTo(oldRef, newRef) {\n      return oldRef.path === newRef.path && !oldRef.prepend === !newRef.prepend && !oldRef.circular === !newRef.circular;\n    }\n    function moduleResolutionIsEqualTo(oldResolution, newResolution) {\n      return oldResolution === newResolution || oldResolution.resolvedModule === newResolution.resolvedModule || !!oldResolution.resolvedModule && !!newResolution.resolvedModule && oldResolution.resolvedModule.isExternalLibraryImport === newResolution.resolvedModule.isExternalLibraryImport && oldResolution.resolvedModule.extension === newResolution.resolvedModule.extension && oldResolution.resolvedModule.resolvedFileName === newResolution.resolvedModule.resolvedFileName && oldResolution.resolvedModule.originalPath === newResolution.resolvedModule.originalPath && packageIdIsEqual(oldResolution.resolvedModule.packageId, newResolution.resolvedModule.packageId);\n    }\n    function packageIdIsEqual(a, b) {\n      return a === b || !!a && !!b && a.name === b.name && a.subModuleName === b.subModuleName && a.version === b.version;\n    }\n    function packageIdToPackageName({ name, subModuleName }) {\n      return subModuleName ? `${name}/${subModuleName}` : name;\n    }\n    function packageIdToString(packageId) {\n      return `${packageIdToPackageName(packageId)}@${packageId.version}`;\n    }\n    function typeDirectiveIsEqualTo(oldResolution, newResolution) {\n      return oldResolution === newResolution || oldResolution.resolvedTypeReferenceDirective === newResolution.resolvedTypeReferenceDirective || !!oldResolution.resolvedTypeReferenceDirective && !!newResolution.resolvedTypeReferenceDirective && oldResolution.resolvedTypeReferenceDirective.resolvedFileName === newResolution.resolvedTypeReferenceDirective.resolvedFileName && !!oldResolution.resolvedTypeReferenceDirective.primary === !!newResolution.resolvedTypeReferenceDirective.primary && oldResolution.resolvedTypeReferenceDirective.originalPath === newResolution.resolvedTypeReferenceDirective.originalPath;\n    }\n    function hasChangesInResolutions(names, newSourceFile, newResolutions, oldResolutions, comparer, nameAndModeGetter) {\n      Debug2.assert(names.length === newResolutions.length);\n      for (let i = 0; i < names.length; i++) {\n        const newResolution = newResolutions[i];\n        const entry = names[i];\n        const name = nameAndModeGetter.getName(entry);\n        const mode = nameAndModeGetter.getMode(entry, newSourceFile);\n        const oldResolution = oldResolutions && oldResolutions.get(name, mode);\n        const changed = oldResolution ? !newResolution || !comparer(oldResolution, newResolution) : newResolution;\n        if (changed) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function containsParseError(node) {\n      aggregateChildData(node);\n      return (node.flags & 524288) !== 0;\n    }\n    function aggregateChildData(node) {\n      if (!(node.flags & 1048576)) {\n        const thisNodeOrAnySubNodesHasError = (node.flags & 131072) !== 0 || forEachChild(node, containsParseError);\n        if (thisNodeOrAnySubNodesHasError) {\n          node.flags |= 524288;\n        }\n        node.flags |= 1048576;\n      }\n    }\n    function getSourceFileOfNode(node) {\n      while (node && node.kind !== 308) {\n        node = node.parent;\n      }\n      return node;\n    }\n    function getSourceFileOfModule(module2) {\n      return getSourceFileOfNode(module2.valueDeclaration || getNonAugmentationDeclaration(module2));\n    }\n    function isPlainJsFile(file, checkJs) {\n      return !!file && (file.scriptKind === 1 || file.scriptKind === 2) && !file.checkJsDirective && checkJs === void 0;\n    }\n    function isStatementWithLocals(node) {\n      switch (node.kind) {\n        case 238:\n        case 266:\n        case 245:\n        case 246:\n        case 247:\n          return true;\n      }\n      return false;\n    }\n    function getStartPositionOfLine(line, sourceFile) {\n      Debug2.assert(line >= 0);\n      return getLineStarts(sourceFile)[line];\n    }\n    function nodePosToString(node) {\n      const file = getSourceFileOfNode(node);\n      const loc = getLineAndCharacterOfPosition(file, node.pos);\n      return `${file.fileName}(${loc.line + 1},${loc.character + 1})`;\n    }\n    function getEndLinePosition(line, sourceFile) {\n      Debug2.assert(line >= 0);\n      const lineStarts = getLineStarts(sourceFile);\n      const lineIndex = line;\n      const sourceText = sourceFile.text;\n      if (lineIndex + 1 === lineStarts.length) {\n        return sourceText.length - 1;\n      } else {\n        const start = lineStarts[lineIndex];\n        let pos = lineStarts[lineIndex + 1] - 1;\n        Debug2.assert(isLineBreak(sourceText.charCodeAt(pos)));\n        while (start <= pos && isLineBreak(sourceText.charCodeAt(pos))) {\n          pos--;\n        }\n        return pos;\n      }\n    }\n    function isFileLevelUniqueName(sourceFile, name, hasGlobalName) {\n      return !(hasGlobalName && hasGlobalName(name)) && !sourceFile.identifiers.has(name);\n    }\n    function nodeIsMissing(node) {\n      if (node === void 0) {\n        return true;\n      }\n      return node.pos === node.end && node.pos >= 0 && node.kind !== 1;\n    }\n    function nodeIsPresent(node) {\n      return !nodeIsMissing(node);\n    }\n    function isGrammarError(parent2, child) {\n      if (isTypeParameterDeclaration(parent2))\n        return child === parent2.expression;\n      if (isClassStaticBlockDeclaration(parent2))\n        return child === parent2.modifiers;\n      if (isPropertySignature(parent2))\n        return child === parent2.initializer;\n      if (isPropertyDeclaration(parent2))\n        return child === parent2.questionToken && isAutoAccessorPropertyDeclaration(parent2);\n      if (isPropertyAssignment(parent2))\n        return child === parent2.modifiers || child === parent2.questionToken || child === parent2.exclamationToken || isGrammarErrorElement(parent2.modifiers, child, isModifierLike);\n      if (isShorthandPropertyAssignment(parent2))\n        return child === parent2.equalsToken || child === parent2.modifiers || child === parent2.questionToken || child === parent2.exclamationToken || isGrammarErrorElement(parent2.modifiers, child, isModifierLike);\n      if (isMethodDeclaration(parent2))\n        return child === parent2.exclamationToken;\n      if (isConstructorDeclaration(parent2))\n        return child === parent2.typeParameters || child === parent2.type || isGrammarErrorElement(parent2.typeParameters, child, isTypeParameterDeclaration);\n      if (isGetAccessorDeclaration(parent2))\n        return child === parent2.typeParameters || isGrammarErrorElement(parent2.typeParameters, child, isTypeParameterDeclaration);\n      if (isSetAccessorDeclaration(parent2))\n        return child === parent2.typeParameters || child === parent2.type || isGrammarErrorElement(parent2.typeParameters, child, isTypeParameterDeclaration);\n      if (isNamespaceExportDeclaration(parent2))\n        return child === parent2.modifiers || isGrammarErrorElement(parent2.modifiers, child, isModifierLike);\n      return false;\n    }\n    function isGrammarErrorElement(nodeArray, child, isElement) {\n      if (!nodeArray || isArray(child) || !isElement(child))\n        return false;\n      return contains(nodeArray, child);\n    }\n    function insertStatementsAfterPrologue(to, from, isPrologueDirective2) {\n      if (from === void 0 || from.length === 0)\n        return to;\n      let statementIndex = 0;\n      for (; statementIndex < to.length; ++statementIndex) {\n        if (!isPrologueDirective2(to[statementIndex])) {\n          break;\n        }\n      }\n      to.splice(statementIndex, 0, ...from);\n      return to;\n    }\n    function insertStatementAfterPrologue(to, statement, isPrologueDirective2) {\n      if (statement === void 0)\n        return to;\n      let statementIndex = 0;\n      for (; statementIndex < to.length; ++statementIndex) {\n        if (!isPrologueDirective2(to[statementIndex])) {\n          break;\n        }\n      }\n      to.splice(statementIndex, 0, statement);\n      return to;\n    }\n    function isAnyPrologueDirective(node) {\n      return isPrologueDirective(node) || !!(getEmitFlags(node) & 2097152);\n    }\n    function insertStatementsAfterStandardPrologue(to, from) {\n      return insertStatementsAfterPrologue(to, from, isPrologueDirective);\n    }\n    function insertStatementsAfterCustomPrologue(to, from) {\n      return insertStatementsAfterPrologue(to, from, isAnyPrologueDirective);\n    }\n    function insertStatementAfterStandardPrologue(to, statement) {\n      return insertStatementAfterPrologue(to, statement, isPrologueDirective);\n    }\n    function insertStatementAfterCustomPrologue(to, statement) {\n      return insertStatementAfterPrologue(to, statement, isAnyPrologueDirective);\n    }\n    function isRecognizedTripleSlashComment(text, commentPos, commentEnd) {\n      if (text.charCodeAt(commentPos + 1) === 47 && commentPos + 2 < commentEnd && text.charCodeAt(commentPos + 2) === 47) {\n        const textSubStr = text.substring(commentPos, commentEnd);\n        return fullTripleSlashReferencePathRegEx.test(textSubStr) || fullTripleSlashAMDReferencePathRegEx.test(textSubStr) || fullTripleSlashReferenceTypeReferenceDirectiveRegEx.test(textSubStr) || defaultLibReferenceRegEx.test(textSubStr) ? true : false;\n      }\n      return false;\n    }\n    function isPinnedComment(text, start) {\n      return text.charCodeAt(start + 1) === 42 && text.charCodeAt(start + 2) === 33;\n    }\n    function createCommentDirectivesMap(sourceFile, commentDirectives) {\n      const directivesByLine = new Map(\n        commentDirectives.map((commentDirective) => [\n          `${getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line}`,\n          commentDirective\n        ])\n      );\n      const usedLines = /* @__PURE__ */ new Map();\n      return { getUnusedExpectations, markUsed };\n      function getUnusedExpectations() {\n        return arrayFrom(directivesByLine.entries()).filter(([line, directive]) => directive.type === 0 && !usedLines.get(line)).map(([_, directive]) => directive);\n      }\n      function markUsed(line) {\n        if (!directivesByLine.has(`${line}`)) {\n          return false;\n        }\n        usedLines.set(`${line}`, true);\n        return true;\n      }\n    }\n    function getTokenPosOfNode(node, sourceFile, includeJsDoc) {\n      if (nodeIsMissing(node)) {\n        return node.pos;\n      }\n      if (isJSDocNode(node) || node.kind === 11) {\n        return skipTrivia(\n          (sourceFile || getSourceFileOfNode(node)).text,\n          node.pos,\n          /*stopAfterLineBreak*/\n          false,\n          /*stopAtComments*/\n          true\n        );\n      }\n      if (includeJsDoc && hasJSDocNodes(node)) {\n        return getTokenPosOfNode(node.jsDoc[0], sourceFile);\n      }\n      if (node.kind === 354 && node._children.length > 0) {\n        return getTokenPosOfNode(node._children[0], sourceFile, includeJsDoc);\n      }\n      return skipTrivia(\n        (sourceFile || getSourceFileOfNode(node)).text,\n        node.pos,\n        /*stopAfterLineBreak*/\n        false,\n        /*stopAtComments*/\n        false,\n        isInJSDoc(node)\n      );\n    }\n    function getNonDecoratorTokenPosOfNode(node, sourceFile) {\n      const lastDecorator = !nodeIsMissing(node) && canHaveModifiers(node) ? findLast(node.modifiers, isDecorator) : void 0;\n      if (!lastDecorator) {\n        return getTokenPosOfNode(node, sourceFile);\n      }\n      return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, lastDecorator.end);\n    }\n    function getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia = false) {\n      return getTextOfNodeFromSourceText(sourceFile.text, node, includeTrivia);\n    }\n    function isJSDocTypeExpressionOrChild(node) {\n      return !!findAncestor(node, isJSDocTypeExpression);\n    }\n    function isExportNamespaceAsDefaultDeclaration(node) {\n      return !!(isExportDeclaration(node) && node.exportClause && isNamespaceExport(node.exportClause) && node.exportClause.name.escapedText === \"default\");\n    }\n    function getTextOfNodeFromSourceText(sourceText, node, includeTrivia = false) {\n      if (nodeIsMissing(node)) {\n        return \"\";\n      }\n      let text = sourceText.substring(includeTrivia ? node.pos : skipTrivia(sourceText, node.pos), node.end);\n      if (isJSDocTypeExpressionOrChild(node)) {\n        text = text.split(/\\r\\n|\\n|\\r/).map((line) => trimStringStart(line.replace(/^\\s*\\*/, \"\"))).join(\"\\n\");\n      }\n      return text;\n    }\n    function getTextOfNode(node, includeTrivia = false) {\n      return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia);\n    }\n    function getPos(range) {\n      return range.pos;\n    }\n    function indexOfNode(nodeArray, node) {\n      return binarySearch(nodeArray, node, getPos, compareValues);\n    }\n    function getEmitFlags(node) {\n      const emitNode = node.emitNode;\n      return emitNode && emitNode.flags || 0;\n    }\n    function getInternalEmitFlags(node) {\n      const emitNode = node.emitNode;\n      return emitNode && emitNode.internalFlags || 0;\n    }\n    function getScriptTargetFeatures() {\n      return new Map(Object.entries({\n        Array: new Map(Object.entries({\n          es2015: [\n            \"find\",\n            \"findIndex\",\n            \"fill\",\n            \"copyWithin\",\n            \"entries\",\n            \"keys\",\n            \"values\"\n          ],\n          es2016: [\n            \"includes\"\n          ],\n          es2019: [\n            \"flat\",\n            \"flatMap\"\n          ],\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Iterator: new Map(Object.entries({\n          es2015: emptyArray\n        })),\n        AsyncIterator: new Map(Object.entries({\n          es2015: emptyArray\n        })),\n        Atomics: new Map(Object.entries({\n          es2017: emptyArray\n        })),\n        SharedArrayBuffer: new Map(Object.entries({\n          es2017: emptyArray\n        })),\n        AsyncIterable: new Map(Object.entries({\n          es2018: emptyArray\n        })),\n        AsyncIterableIterator: new Map(Object.entries({\n          es2018: emptyArray\n        })),\n        AsyncGenerator: new Map(Object.entries({\n          es2018: emptyArray\n        })),\n        AsyncGeneratorFunction: new Map(Object.entries({\n          es2018: emptyArray\n        })),\n        RegExp: new Map(Object.entries({\n          es2015: [\n            \"flags\",\n            \"sticky\",\n            \"unicode\"\n          ],\n          es2018: [\n            \"dotAll\"\n          ]\n        })),\n        Reflect: new Map(Object.entries({\n          es2015: [\n            \"apply\",\n            \"construct\",\n            \"defineProperty\",\n            \"deleteProperty\",\n            \"get\",\n            \" getOwnPropertyDescriptor\",\n            \"getPrototypeOf\",\n            \"has\",\n            \"isExtensible\",\n            \"ownKeys\",\n            \"preventExtensions\",\n            \"set\",\n            \"setPrototypeOf\"\n          ]\n        })),\n        ArrayConstructor: new Map(Object.entries({\n          es2015: [\n            \"from\",\n            \"of\"\n          ]\n        })),\n        ObjectConstructor: new Map(Object.entries({\n          es2015: [\n            \"assign\",\n            \"getOwnPropertySymbols\",\n            \"keys\",\n            \"is\",\n            \"setPrototypeOf\"\n          ],\n          es2017: [\n            \"values\",\n            \"entries\",\n            \"getOwnPropertyDescriptors\"\n          ],\n          es2019: [\n            \"fromEntries\"\n          ],\n          es2022: [\n            \"hasOwn\"\n          ]\n        })),\n        NumberConstructor: new Map(Object.entries({\n          es2015: [\n            \"isFinite\",\n            \"isInteger\",\n            \"isNaN\",\n            \"isSafeInteger\",\n            \"parseFloat\",\n            \"parseInt\"\n          ]\n        })),\n        Math: new Map(Object.entries({\n          es2015: [\n            \"clz32\",\n            \"imul\",\n            \"sign\",\n            \"log10\",\n            \"log2\",\n            \"log1p\",\n            \"expm1\",\n            \"cosh\",\n            \"sinh\",\n            \"tanh\",\n            \"acosh\",\n            \"asinh\",\n            \"atanh\",\n            \"hypot\",\n            \"trunc\",\n            \"fround\",\n            \"cbrt\"\n          ]\n        })),\n        Map: new Map(Object.entries({\n          es2015: [\n            \"entries\",\n            \"keys\",\n            \"values\"\n          ]\n        })),\n        Set: new Map(Object.entries({\n          es2015: [\n            \"entries\",\n            \"keys\",\n            \"values\"\n          ]\n        })),\n        PromiseConstructor: new Map(Object.entries({\n          es2015: [\n            \"all\",\n            \"race\",\n            \"reject\",\n            \"resolve\"\n          ],\n          es2020: [\n            \"allSettled\"\n          ],\n          es2021: [\n            \"any\"\n          ]\n        })),\n        Symbol: new Map(Object.entries({\n          es2015: [\n            \"for\",\n            \"keyFor\"\n          ],\n          es2019: [\n            \"description\"\n          ]\n        })),\n        WeakMap: new Map(Object.entries({\n          es2015: [\n            \"entries\",\n            \"keys\",\n            \"values\"\n          ]\n        })),\n        WeakSet: new Map(Object.entries({\n          es2015: [\n            \"entries\",\n            \"keys\",\n            \"values\"\n          ]\n        })),\n        String: new Map(Object.entries({\n          es2015: [\n            \"codePointAt\",\n            \"includes\",\n            \"endsWith\",\n            \"normalize\",\n            \"repeat\",\n            \"startsWith\",\n            \"anchor\",\n            \"big\",\n            \"blink\",\n            \"bold\",\n            \"fixed\",\n            \"fontcolor\",\n            \"fontsize\",\n            \"italics\",\n            \"link\",\n            \"small\",\n            \"strike\",\n            \"sub\",\n            \"sup\"\n          ],\n          es2017: [\n            \"padStart\",\n            \"padEnd\"\n          ],\n          es2019: [\n            \"trimStart\",\n            \"trimEnd\",\n            \"trimLeft\",\n            \"trimRight\"\n          ],\n          es2020: [\n            \"matchAll\"\n          ],\n          es2021: [\n            \"replaceAll\"\n          ],\n          es2022: [\n            \"at\"\n          ]\n        })),\n        StringConstructor: new Map(Object.entries({\n          es2015: [\n            \"fromCodePoint\",\n            \"raw\"\n          ]\n        })),\n        DateTimeFormat: new Map(Object.entries({\n          es2017: [\n            \"formatToParts\"\n          ]\n        })),\n        Promise: new Map(Object.entries({\n          es2015: emptyArray,\n          es2018: [\n            \"finally\"\n          ]\n        })),\n        RegExpMatchArray: new Map(Object.entries({\n          es2018: [\n            \"groups\"\n          ]\n        })),\n        RegExpExecArray: new Map(Object.entries({\n          es2018: [\n            \"groups\"\n          ]\n        })),\n        Intl: new Map(Object.entries({\n          es2018: [\n            \"PluralRules\"\n          ]\n        })),\n        NumberFormat: new Map(Object.entries({\n          es2018: [\n            \"formatToParts\"\n          ]\n        })),\n        SymbolConstructor: new Map(Object.entries({\n          es2020: [\n            \"matchAll\"\n          ]\n        })),\n        DataView: new Map(Object.entries({\n          es2020: [\n            \"setBigInt64\",\n            \"setBigUint64\",\n            \"getBigInt64\",\n            \"getBigUint64\"\n          ]\n        })),\n        BigInt: new Map(Object.entries({\n          es2020: emptyArray\n        })),\n        RelativeTimeFormat: new Map(Object.entries({\n          es2020: [\n            \"format\",\n            \"formatToParts\",\n            \"resolvedOptions\"\n          ]\n        })),\n        Int8Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Uint8Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Uint8ClampedArray: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Int16Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Uint16Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Int32Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Uint32Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Float32Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Float64Array: new Map(Object.entries({\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        BigInt64Array: new Map(Object.entries({\n          es2020: emptyArray,\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        BigUint64Array: new Map(Object.entries({\n          es2020: emptyArray,\n          es2022: [\n            \"at\"\n          ],\n          es2023: [\n            \"findLastIndex\",\n            \"findLast\"\n          ]\n        })),\n        Error: new Map(Object.entries({\n          es2022: [\n            \"cause\"\n          ]\n        }))\n      }));\n    }\n    function getLiteralText(node, sourceFile, flags) {\n      var _a22;\n      if (sourceFile && canUseOriginalText(node, flags)) {\n        return getSourceTextOfNodeFromSourceFile(sourceFile, node);\n      }\n      switch (node.kind) {\n        case 10: {\n          const escapeText = flags & 2 ? escapeJsxAttributeString : flags & 1 || getEmitFlags(node) & 33554432 ? escapeString : escapeNonAsciiString;\n          if (node.singleQuote) {\n            return \"'\" + escapeText(\n              node.text,\n              39\n              /* singleQuote */\n            ) + \"'\";\n          } else {\n            return '\"' + escapeText(\n              node.text,\n              34\n              /* doubleQuote */\n            ) + '\"';\n          }\n        }\n        case 14:\n        case 15:\n        case 16:\n        case 17: {\n          const escapeText = flags & 1 || getEmitFlags(node) & 33554432 ? escapeString : escapeNonAsciiString;\n          const rawText = (_a22 = node.rawText) != null ? _a22 : escapeTemplateSubstitution(escapeText(\n            node.text,\n            96\n            /* backtick */\n          ));\n          switch (node.kind) {\n            case 14:\n              return \"`\" + rawText + \"`\";\n            case 15:\n              return \"`\" + rawText + \"${\";\n            case 16:\n              return \"}\" + rawText + \"${\";\n            case 17:\n              return \"}\" + rawText + \"`\";\n          }\n          break;\n        }\n        case 8:\n        case 9:\n          return node.text;\n        case 13:\n          if (flags & 4 && node.isUnterminated) {\n            return node.text + (node.text.charCodeAt(node.text.length - 1) === 92 ? \" /\" : \"/\");\n          }\n          return node.text;\n      }\n      return Debug2.fail(`Literal kind '${node.kind}' not accounted for.`);\n    }\n    function canUseOriginalText(node, flags) {\n      if (nodeIsSynthesized(node) || !node.parent || flags & 4 && node.isUnterminated) {\n        return false;\n      }\n      if (isNumericLiteral(node) && node.numericLiteralFlags & 512) {\n        return !!(flags & 8);\n      }\n      return !isBigIntLiteral(node);\n    }\n    function getTextOfConstantValue(value) {\n      return isString2(value) ? '\"' + escapeNonAsciiString(value) + '\"' : \"\" + value;\n    }\n    function makeIdentifierFromModuleName(moduleName) {\n      return getBaseFileName(moduleName).replace(/^(\\d)/, \"_$1\").replace(/\\W/g, \"_\");\n    }\n    function isBlockOrCatchScoped(declaration) {\n      return (getCombinedNodeFlags(declaration) & 3) !== 0 || isCatchClauseVariableDeclarationOrBindingElement(declaration);\n    }\n    function isCatchClauseVariableDeclarationOrBindingElement(declaration) {\n      const node = getRootDeclaration(declaration);\n      return node.kind === 257 && node.parent.kind === 295;\n    }\n    function isAmbientModule(node) {\n      return isModuleDeclaration(node) && (node.name.kind === 10 || isGlobalScopeAugmentation(node));\n    }\n    function isModuleWithStringLiteralName(node) {\n      return isModuleDeclaration(node) && node.name.kind === 10;\n    }\n    function isNonGlobalAmbientModule(node) {\n      return isModuleDeclaration(node) && isStringLiteral(node.name);\n    }\n    function isEffectiveModuleDeclaration(node) {\n      return isModuleDeclaration(node) || isIdentifier(node);\n    }\n    function isShorthandAmbientModuleSymbol(moduleSymbol) {\n      return isShorthandAmbientModule(moduleSymbol.valueDeclaration);\n    }\n    function isShorthandAmbientModule(node) {\n      return !!node && node.kind === 264 && !node.body;\n    }\n    function isBlockScopedContainerTopLevel(node) {\n      return node.kind === 308 || node.kind === 264 || isFunctionLikeOrClassStaticBlockDeclaration(node);\n    }\n    function isGlobalScopeAugmentation(module2) {\n      return !!(module2.flags & 1024);\n    }\n    function isExternalModuleAugmentation(node) {\n      return isAmbientModule(node) && isModuleAugmentationExternal(node);\n    }\n    function isModuleAugmentationExternal(node) {\n      switch (node.parent.kind) {\n        case 308:\n          return isExternalModule(node.parent);\n        case 265:\n          return isAmbientModule(node.parent.parent) && isSourceFile(node.parent.parent.parent) && !isExternalModule(node.parent.parent.parent);\n      }\n      return false;\n    }\n    function getNonAugmentationDeclaration(symbol) {\n      var _a22;\n      return (_a22 = symbol.declarations) == null ? void 0 : _a22.find((d) => !isExternalModuleAugmentation(d) && !(isModuleDeclaration(d) && isGlobalScopeAugmentation(d)));\n    }\n    function isCommonJSContainingModuleKind(kind) {\n      return kind === 1 || kind === 100 || kind === 199;\n    }\n    function isEffectiveExternalModule(node, compilerOptions) {\n      return isExternalModule(node) || getIsolatedModules(compilerOptions) || isCommonJSContainingModuleKind(getEmitModuleKind(compilerOptions)) && !!node.commonJsModuleIndicator;\n    }\n    function isEffectiveStrictModeSourceFile(node, compilerOptions) {\n      switch (node.scriptKind) {\n        case 1:\n        case 3:\n        case 2:\n        case 4:\n          break;\n        default:\n          return false;\n      }\n      if (node.isDeclarationFile) {\n        return false;\n      }\n      if (getStrictOptionValue(compilerOptions, \"alwaysStrict\")) {\n        return true;\n      }\n      if (startsWithUseStrict(node.statements)) {\n        return true;\n      }\n      if (isExternalModule(node) || getIsolatedModules(compilerOptions)) {\n        if (getEmitModuleKind(compilerOptions) >= 5) {\n          return true;\n        }\n        return !compilerOptions.noImplicitUseStrict;\n      }\n      return false;\n    }\n    function isAmbientPropertyDeclaration(node) {\n      return !!(node.flags & 16777216) || hasSyntacticModifier(\n        node,\n        2\n        /* Ambient */\n      );\n    }\n    function isBlockScope(node, parentNode) {\n      switch (node.kind) {\n        case 308:\n        case 266:\n        case 295:\n        case 264:\n        case 245:\n        case 246:\n        case 247:\n        case 173:\n        case 171:\n        case 174:\n        case 175:\n        case 259:\n        case 215:\n        case 216:\n        case 169:\n        case 172:\n          return true;\n        case 238:\n          return !isFunctionLikeOrClassStaticBlockDeclaration(parentNode);\n      }\n      return false;\n    }\n    function isDeclarationWithTypeParameters(node) {\n      Debug2.type(node);\n      switch (node.kind) {\n        case 341:\n        case 349:\n        case 326:\n          return true;\n        default:\n          assertType(node);\n          return isDeclarationWithTypeParameterChildren(node);\n      }\n    }\n    function isDeclarationWithTypeParameterChildren(node) {\n      Debug2.type(node);\n      switch (node.kind) {\n        case 176:\n        case 177:\n        case 170:\n        case 178:\n        case 181:\n        case 182:\n        case 320:\n        case 260:\n        case 228:\n        case 261:\n        case 262:\n        case 348:\n        case 259:\n        case 171:\n        case 173:\n        case 174:\n        case 175:\n        case 215:\n        case 216:\n          return true;\n        default:\n          assertType(node);\n          return false;\n      }\n    }\n    function isAnyImportSyntax(node) {\n      switch (node.kind) {\n        case 269:\n        case 268:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isAnyImportOrBareOrAccessedRequire(node) {\n      return isAnyImportSyntax(node) || isVariableDeclarationInitializedToBareOrAccessedRequire(node);\n    }\n    function isLateVisibilityPaintedStatement(node) {\n      switch (node.kind) {\n        case 269:\n        case 268:\n        case 240:\n        case 260:\n        case 259:\n        case 264:\n        case 262:\n        case 261:\n        case 263:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function hasPossibleExternalModuleReference(node) {\n      return isAnyImportOrReExport(node) || isModuleDeclaration(node) || isImportTypeNode(node) || isImportCall(node);\n    }\n    function isAnyImportOrReExport(node) {\n      return isAnyImportSyntax(node) || isExportDeclaration(node);\n    }\n    function getEnclosingBlockScopeContainer(node) {\n      return findAncestor(node.parent, (current) => isBlockScope(current, current.parent));\n    }\n    function forEachEnclosingBlockScopeContainer(node, cb) {\n      let container = getEnclosingBlockScopeContainer(node);\n      while (container) {\n        cb(container);\n        container = getEnclosingBlockScopeContainer(container);\n      }\n    }\n    function declarationNameToString(name) {\n      return !name || getFullWidth(name) === 0 ? \"(Missing)\" : getTextOfNode(name);\n    }\n    function getNameFromIndexInfo(info) {\n      return info.declaration ? declarationNameToString(info.declaration.parameters[0].name) : void 0;\n    }\n    function isComputedNonLiteralName(name) {\n      return name.kind === 164 && !isStringOrNumericLiteralLike(name.expression);\n    }\n    function tryGetTextOfPropertyName(name) {\n      var _a22;\n      switch (name.kind) {\n        case 79:\n        case 80:\n          return ((_a22 = name.emitNode) == null ? void 0 : _a22.autoGenerate) ? void 0 : name.escapedText;\n        case 10:\n        case 8:\n        case 14:\n          return escapeLeadingUnderscores(name.text);\n        case 164:\n          if (isStringOrNumericLiteralLike(name.expression))\n            return escapeLeadingUnderscores(name.expression.text);\n          return void 0;\n        default:\n          return Debug2.assertNever(name);\n      }\n    }\n    function getTextOfPropertyName(name) {\n      return Debug2.checkDefined(tryGetTextOfPropertyName(name));\n    }\n    function entityNameToString(name) {\n      switch (name.kind) {\n        case 108:\n          return \"this\";\n        case 80:\n        case 79:\n          return getFullWidth(name) === 0 ? idText(name) : getTextOfNode(name);\n        case 163:\n          return entityNameToString(name.left) + \".\" + entityNameToString(name.right);\n        case 208:\n          if (isIdentifier(name.name) || isPrivateIdentifier(name.name)) {\n            return entityNameToString(name.expression) + \".\" + entityNameToString(name.name);\n          } else {\n            return Debug2.assertNever(name.name);\n          }\n        case 314:\n          return entityNameToString(name.left) + entityNameToString(name.right);\n        default:\n          return Debug2.assertNever(name);\n      }\n    }\n    function createDiagnosticForNode(node, message, arg0, arg1, arg2, arg3) {\n      const sourceFile = getSourceFileOfNode(node);\n      return createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2, arg3);\n    }\n    function createDiagnosticForNodeArray(sourceFile, nodes, message, arg0, arg1, arg2, arg3) {\n      const start = skipTrivia(sourceFile.text, nodes.pos);\n      return createFileDiagnostic(sourceFile, start, nodes.end - start, message, arg0, arg1, arg2, arg3);\n    }\n    function createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2, arg3) {\n      const span = getErrorSpanForNode(sourceFile, node);\n      return createFileDiagnostic(sourceFile, span.start, span.length, message, arg0, arg1, arg2, arg3);\n    }\n    function createDiagnosticForNodeFromMessageChain(sourceFile, node, messageChain, relatedInformation) {\n      const span = getErrorSpanForNode(sourceFile, node);\n      return createFileDiagnosticFromMessageChain(sourceFile, span.start, span.length, messageChain, relatedInformation);\n    }\n    function createDiagnosticForNodeArrayFromMessageChain(sourceFile, nodes, messageChain, relatedInformation) {\n      const start = skipTrivia(sourceFile.text, nodes.pos);\n      return createFileDiagnosticFromMessageChain(sourceFile, start, nodes.end - start, messageChain, relatedInformation);\n    }\n    function assertDiagnosticLocation(file, start, length2) {\n      Debug2.assertGreaterThanOrEqual(start, 0);\n      Debug2.assertGreaterThanOrEqual(length2, 0);\n      if (file) {\n        Debug2.assertLessThanOrEqual(start, file.text.length);\n        Debug2.assertLessThanOrEqual(start + length2, file.text.length);\n      }\n    }\n    function createFileDiagnosticFromMessageChain(file, start, length2, messageChain, relatedInformation) {\n      assertDiagnosticLocation(file, start, length2);\n      return {\n        file,\n        start,\n        length: length2,\n        code: messageChain.code,\n        category: messageChain.category,\n        messageText: messageChain.next ? messageChain : messageChain.messageText,\n        relatedInformation\n      };\n    }\n    function createDiagnosticForFileFromMessageChain(sourceFile, messageChain, relatedInformation) {\n      return {\n        file: sourceFile,\n        start: 0,\n        length: 0,\n        code: messageChain.code,\n        category: messageChain.category,\n        messageText: messageChain.next ? messageChain : messageChain.messageText,\n        relatedInformation\n      };\n    }\n    function createDiagnosticMessageChainFromDiagnostic(diagnostic) {\n      return typeof diagnostic.messageText === \"string\" ? {\n        code: diagnostic.code,\n        category: diagnostic.category,\n        messageText: diagnostic.messageText,\n        next: diagnostic.next\n      } : diagnostic.messageText;\n    }\n    function createDiagnosticForRange(sourceFile, range, message) {\n      return {\n        file: sourceFile,\n        start: range.pos,\n        length: range.end - range.pos,\n        code: message.code,\n        category: message.category,\n        messageText: message.message\n      };\n    }\n    function getSpanOfTokenAtPosition(sourceFile, pos) {\n      const scanner2 = createScanner(\n        sourceFile.languageVersion,\n        /*skipTrivia*/\n        true,\n        sourceFile.languageVariant,\n        sourceFile.text,\n        /*onError:*/\n        void 0,\n        pos\n      );\n      scanner2.scan();\n      const start = scanner2.getTokenPos();\n      return createTextSpanFromBounds(start, scanner2.getTextPos());\n    }\n    function scanTokenAtPosition(sourceFile, pos) {\n      const scanner2 = createScanner(\n        sourceFile.languageVersion,\n        /*skipTrivia*/\n        true,\n        sourceFile.languageVariant,\n        sourceFile.text,\n        /*onError:*/\n        void 0,\n        pos\n      );\n      scanner2.scan();\n      return scanner2.getToken();\n    }\n    function getErrorSpanForArrowFunction(sourceFile, node) {\n      const pos = skipTrivia(sourceFile.text, node.pos);\n      if (node.body && node.body.kind === 238) {\n        const { line: startLine } = getLineAndCharacterOfPosition(sourceFile, node.body.pos);\n        const { line: endLine } = getLineAndCharacterOfPosition(sourceFile, node.body.end);\n        if (startLine < endLine) {\n          return createTextSpan(pos, getEndLinePosition(startLine, sourceFile) - pos + 1);\n        }\n      }\n      return createTextSpanFromBounds(pos, node.end);\n    }\n    function getErrorSpanForNode(sourceFile, node) {\n      let errorNode = node;\n      switch (node.kind) {\n        case 308:\n          const pos2 = skipTrivia(\n            sourceFile.text,\n            0,\n            /*stopAfterLineBreak*/\n            false\n          );\n          if (pos2 === sourceFile.text.length) {\n            return createTextSpan(0, 0);\n          }\n          return getSpanOfTokenAtPosition(sourceFile, pos2);\n        case 257:\n        case 205:\n        case 260:\n        case 228:\n        case 261:\n        case 264:\n        case 263:\n        case 302:\n        case 259:\n        case 215:\n        case 171:\n        case 174:\n        case 175:\n        case 262:\n        case 169:\n        case 168:\n        case 271:\n          errorNode = node.name;\n          break;\n        case 216:\n          return getErrorSpanForArrowFunction(sourceFile, node);\n        case 292:\n        case 293:\n          const start = skipTrivia(sourceFile.text, node.pos);\n          const end = node.statements.length > 0 ? node.statements[0].pos : node.end;\n          return createTextSpanFromBounds(start, end);\n      }\n      if (errorNode === void 0) {\n        return getSpanOfTokenAtPosition(sourceFile, node.pos);\n      }\n      Debug2.assert(!isJSDoc(errorNode));\n      const isMissing = nodeIsMissing(errorNode);\n      const pos = isMissing || isJsxText(node) ? errorNode.pos : skipTrivia(sourceFile.text, errorNode.pos);\n      if (isMissing) {\n        Debug2.assert(pos === errorNode.pos, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n        Debug2.assert(pos === errorNode.end, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n      } else {\n        Debug2.assert(pos >= errorNode.pos, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n        Debug2.assert(pos <= errorNode.end, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n      }\n      return createTextSpanFromBounds(pos, errorNode.end);\n    }\n    function isExternalOrCommonJsModule(file) {\n      return (file.externalModuleIndicator || file.commonJsModuleIndicator) !== void 0;\n    }\n    function isJsonSourceFile(file) {\n      return file.scriptKind === 6;\n    }\n    function isEnumConst(node) {\n      return !!(getCombinedModifierFlags(node) & 2048);\n    }\n    function isDeclarationReadonly(declaration) {\n      return !!(getCombinedModifierFlags(declaration) & 64 && !isParameterPropertyDeclaration(declaration, declaration.parent));\n    }\n    function isVarConst(node) {\n      return !!(getCombinedNodeFlags(node) & 2);\n    }\n    function isLet(node) {\n      return !!(getCombinedNodeFlags(node) & 1);\n    }\n    function isSuperCall(n) {\n      return n.kind === 210 && n.expression.kind === 106;\n    }\n    function isImportCall(n) {\n      return n.kind === 210 && n.expression.kind === 100;\n    }\n    function isImportMeta(n) {\n      return isMetaProperty(n) && n.keywordToken === 100 && n.name.escapedText === \"meta\";\n    }\n    function isLiteralImportTypeNode(n) {\n      return isImportTypeNode(n) && isLiteralTypeNode(n.argument) && isStringLiteral(n.argument.literal);\n    }\n    function isPrologueDirective(node) {\n      return node.kind === 241 && node.expression.kind === 10;\n    }\n    function isCustomPrologue(node) {\n      return !!(getEmitFlags(node) & 2097152);\n    }\n    function isHoistedFunction(node) {\n      return isCustomPrologue(node) && isFunctionDeclaration(node);\n    }\n    function isHoistedVariable(node) {\n      return isIdentifier(node.name) && !node.initializer;\n    }\n    function isHoistedVariableStatement(node) {\n      return isCustomPrologue(node) && isVariableStatement(node) && every(node.declarationList.declarations, isHoistedVariable);\n    }\n    function getLeadingCommentRangesOfNode(node, sourceFileOfNode) {\n      return node.kind !== 11 ? getLeadingCommentRanges(sourceFileOfNode.text, node.pos) : void 0;\n    }\n    function getJSDocCommentRanges(node, text) {\n      const commentRanges = node.kind === 166 || node.kind === 165 || node.kind === 215 || node.kind === 216 || node.kind === 214 || node.kind === 257 || node.kind === 278 ? concatenate(getTrailingCommentRanges(text, node.pos), getLeadingCommentRanges(text, node.pos)) : getLeadingCommentRanges(text, node.pos);\n      return filter(\n        commentRanges,\n        (comment) => text.charCodeAt(comment.pos + 1) === 42 && text.charCodeAt(comment.pos + 2) === 42 && text.charCodeAt(comment.pos + 3) !== 47\n        /* slash */\n      );\n    }\n    function isPartOfTypeNode(node) {\n      if (179 <= node.kind && node.kind <= 202) {\n        return true;\n      }\n      switch (node.kind) {\n        case 131:\n        case 157:\n        case 148:\n        case 160:\n        case 152:\n        case 134:\n        case 153:\n        case 149:\n        case 155:\n        case 144:\n          return true;\n        case 114:\n          return node.parent.kind !== 219;\n        case 230:\n          return isHeritageClause(node.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(node);\n        case 165:\n          return node.parent.kind === 197 || node.parent.kind === 192;\n        case 79:\n          if (node.parent.kind === 163 && node.parent.right === node) {\n            node = node.parent;\n          } else if (node.parent.kind === 208 && node.parent.name === node) {\n            node = node.parent;\n          }\n          Debug2.assert(\n            node.kind === 79 || node.kind === 163 || node.kind === 208,\n            \"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.\"\n          );\n        case 163:\n        case 208:\n        case 108: {\n          const { parent: parent2 } = node;\n          if (parent2.kind === 183) {\n            return false;\n          }\n          if (parent2.kind === 202) {\n            return !parent2.isTypeOf;\n          }\n          if (179 <= parent2.kind && parent2.kind <= 202) {\n            return true;\n          }\n          switch (parent2.kind) {\n            case 230:\n              return isHeritageClause(parent2.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(parent2);\n            case 165:\n              return node === parent2.constraint;\n            case 348:\n              return node === parent2.constraint;\n            case 169:\n            case 168:\n            case 166:\n            case 257:\n              return node === parent2.type;\n            case 259:\n            case 215:\n            case 216:\n            case 173:\n            case 171:\n            case 170:\n            case 174:\n            case 175:\n              return node === parent2.type;\n            case 176:\n            case 177:\n            case 178:\n              return node === parent2.type;\n            case 213:\n              return node === parent2.type;\n            case 210:\n            case 211:\n              return contains(parent2.typeArguments, node);\n            case 212:\n              return false;\n          }\n        }\n      }\n      return false;\n    }\n    function isChildOfNodeWithKind(node, kind) {\n      while (node) {\n        if (node.kind === kind) {\n          return true;\n        }\n        node = node.parent;\n      }\n      return false;\n    }\n    function forEachReturnStatement(body, visitor) {\n      return traverse(body);\n      function traverse(node) {\n        switch (node.kind) {\n          case 250:\n            return visitor(node);\n          case 266:\n          case 238:\n          case 242:\n          case 243:\n          case 244:\n          case 245:\n          case 246:\n          case 247:\n          case 251:\n          case 252:\n          case 292:\n          case 293:\n          case 253:\n          case 255:\n          case 295:\n            return forEachChild(node, traverse);\n        }\n      }\n    }\n    function forEachYieldExpression(body, visitor) {\n      return traverse(body);\n      function traverse(node) {\n        switch (node.kind) {\n          case 226:\n            visitor(node);\n            const operand = node.expression;\n            if (operand) {\n              traverse(operand);\n            }\n            return;\n          case 263:\n          case 261:\n          case 264:\n          case 262:\n            return;\n          default:\n            if (isFunctionLike(node)) {\n              if (node.name && node.name.kind === 164) {\n                traverse(node.name.expression);\n                return;\n              }\n            } else if (!isPartOfTypeNode(node)) {\n              forEachChild(node, traverse);\n            }\n        }\n      }\n    }\n    function getRestParameterElementType(node) {\n      if (node && node.kind === 185) {\n        return node.elementType;\n      } else if (node && node.kind === 180) {\n        return singleOrUndefined(node.typeArguments);\n      } else {\n        return void 0;\n      }\n    }\n    function getMembersOfDeclaration(node) {\n      switch (node.kind) {\n        case 261:\n        case 260:\n        case 228:\n        case 184:\n          return node.members;\n        case 207:\n          return node.properties;\n      }\n    }\n    function isVariableLike(node) {\n      if (node) {\n        switch (node.kind) {\n          case 205:\n          case 302:\n          case 166:\n          case 299:\n          case 169:\n          case 168:\n          case 300:\n          case 257:\n            return true;\n        }\n      }\n      return false;\n    }\n    function isVariableLikeOrAccessor(node) {\n      return isVariableLike(node) || isAccessor(node);\n    }\n    function isVariableDeclarationInVariableStatement(node) {\n      return node.parent.kind === 258 && node.parent.parent.kind === 240;\n    }\n    function isCommonJsExportedExpression(node) {\n      if (!isInJSFile(node))\n        return false;\n      return isObjectLiteralExpression(node.parent) && isBinaryExpression(node.parent.parent) && getAssignmentDeclarationKind(node.parent.parent) === 2 || isCommonJsExportPropertyAssignment(node.parent);\n    }\n    function isCommonJsExportPropertyAssignment(node) {\n      if (!isInJSFile(node))\n        return false;\n      return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 1;\n    }\n    function isValidESSymbolDeclaration(node) {\n      return (isVariableDeclaration(node) ? isVarConst(node) && isIdentifier(node.name) && isVariableDeclarationInVariableStatement(node) : isPropertyDeclaration(node) ? hasEffectiveReadonlyModifier(node) && hasStaticModifier(node) : isPropertySignature(node) && hasEffectiveReadonlyModifier(node)) || isCommonJsExportPropertyAssignment(node);\n    }\n    function introducesArgumentsExoticObject(node) {\n      switch (node.kind) {\n        case 171:\n        case 170:\n        case 173:\n        case 174:\n        case 175:\n        case 259:\n        case 215:\n          return true;\n      }\n      return false;\n    }\n    function unwrapInnermostStatementOfLabel(node, beforeUnwrapLabelCallback) {\n      while (true) {\n        if (beforeUnwrapLabelCallback) {\n          beforeUnwrapLabelCallback(node);\n        }\n        if (node.statement.kind !== 253) {\n          return node.statement;\n        }\n        node = node.statement;\n      }\n    }\n    function isFunctionBlock(node) {\n      return node && node.kind === 238 && isFunctionLike(node.parent);\n    }\n    function isObjectLiteralMethod(node) {\n      return node && node.kind === 171 && node.parent.kind === 207;\n    }\n    function isObjectLiteralOrClassExpressionMethodOrAccessor(node) {\n      return (node.kind === 171 || node.kind === 174 || node.kind === 175) && (node.parent.kind === 207 || node.parent.kind === 228);\n    }\n    function isIdentifierTypePredicate(predicate) {\n      return predicate && predicate.kind === 1;\n    }\n    function isThisTypePredicate(predicate) {\n      return predicate && predicate.kind === 0;\n    }\n    function getPropertyAssignment(objectLiteral, key, key2) {\n      return objectLiteral.properties.filter((property) => {\n        if (property.kind === 299) {\n          const propName = tryGetTextOfPropertyName(property.name);\n          return key === propName || !!key2 && key2 === propName;\n        }\n        return false;\n      });\n    }\n    function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) {\n      return firstDefined(getPropertyAssignment(objectLiteral, propKey), (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0);\n    }\n    function getTsConfigObjectLiteralExpression(tsConfigSourceFile) {\n      if (tsConfigSourceFile && tsConfigSourceFile.statements.length) {\n        const expression = tsConfigSourceFile.statements[0].expression;\n        return tryCast(expression, isObjectLiteralExpression);\n      }\n    }\n    function getTsConfigPropArrayElementValue(tsConfigSourceFile, propKey, elementValue) {\n      return firstDefined(getTsConfigPropArray(tsConfigSourceFile, propKey), (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0);\n    }\n    function getTsConfigPropArray(tsConfigSourceFile, propKey) {\n      const jsonObjectLiteral = getTsConfigObjectLiteralExpression(tsConfigSourceFile);\n      return jsonObjectLiteral ? getPropertyAssignment(jsonObjectLiteral, propKey) : emptyArray;\n    }\n    function getContainingFunction(node) {\n      return findAncestor(node.parent, isFunctionLike);\n    }\n    function getContainingFunctionDeclaration(node) {\n      return findAncestor(node.parent, isFunctionLikeDeclaration);\n    }\n    function getContainingClass(node) {\n      return findAncestor(node.parent, isClassLike);\n    }\n    function getContainingClassStaticBlock(node) {\n      return findAncestor(node.parent, (n) => {\n        if (isClassLike(n) || isFunctionLike(n)) {\n          return \"quit\";\n        }\n        return isClassStaticBlockDeclaration(n);\n      });\n    }\n    function getContainingFunctionOrClassStaticBlock(node) {\n      return findAncestor(node.parent, isFunctionLikeOrClassStaticBlockDeclaration);\n    }\n    function getThisContainer(node, includeArrowFunctions, includeClassComputedPropertyName) {\n      Debug2.assert(\n        node.kind !== 308\n        /* SourceFile */\n      );\n      while (true) {\n        node = node.parent;\n        if (!node) {\n          return Debug2.fail();\n        }\n        switch (node.kind) {\n          case 164:\n            if (includeClassComputedPropertyName && isClassLike(node.parent.parent)) {\n              return node;\n            }\n            node = node.parent.parent;\n            break;\n          case 167:\n            if (node.parent.kind === 166 && isClassElement(node.parent.parent)) {\n              node = node.parent.parent;\n            } else if (isClassElement(node.parent)) {\n              node = node.parent;\n            }\n            break;\n          case 216:\n            if (!includeArrowFunctions) {\n              continue;\n            }\n          case 259:\n          case 215:\n          case 264:\n          case 172:\n          case 169:\n          case 168:\n          case 171:\n          case 170:\n          case 173:\n          case 174:\n          case 175:\n          case 176:\n          case 177:\n          case 178:\n          case 263:\n          case 308:\n            return node;\n        }\n      }\n    }\n    function isThisContainerOrFunctionBlock(node) {\n      switch (node.kind) {\n        case 216:\n        case 259:\n        case 215:\n        case 169:\n          return true;\n        case 238:\n          switch (node.parent.kind) {\n            case 173:\n            case 171:\n            case 174:\n            case 175:\n              return true;\n            default:\n              return false;\n          }\n        default:\n          return false;\n      }\n    }\n    function isInTopLevelContext(node) {\n      if (isIdentifier(node) && (isClassDeclaration(node.parent) || isFunctionDeclaration(node.parent)) && node.parent.name === node) {\n        node = node.parent;\n      }\n      const container = getThisContainer(\n        node,\n        /*includeArrowFunctions*/\n        true,\n        /*includeClassComputedPropertyName*/\n        false\n      );\n      return isSourceFile(container);\n    }\n    function getNewTargetContainer(node) {\n      const container = getThisContainer(\n        node,\n        /*includeArrowFunctions*/\n        false,\n        /*includeClassComputedPropertyName*/\n        false\n      );\n      if (container) {\n        switch (container.kind) {\n          case 173:\n          case 259:\n          case 215:\n            return container;\n        }\n      }\n      return void 0;\n    }\n    function getSuperContainer(node, stopOnFunctions) {\n      while (true) {\n        node = node.parent;\n        if (!node) {\n          return void 0;\n        }\n        switch (node.kind) {\n          case 164:\n            node = node.parent;\n            break;\n          case 259:\n          case 215:\n          case 216:\n            if (!stopOnFunctions) {\n              continue;\n            }\n          case 169:\n          case 168:\n          case 171:\n          case 170:\n          case 173:\n          case 174:\n          case 175:\n          case 172:\n            return node;\n          case 167:\n            if (node.parent.kind === 166 && isClassElement(node.parent.parent)) {\n              node = node.parent.parent;\n            } else if (isClassElement(node.parent)) {\n              node = node.parent;\n            }\n            break;\n        }\n      }\n    }\n    function getImmediatelyInvokedFunctionExpression(func) {\n      if (func.kind === 215 || func.kind === 216) {\n        let prev = func;\n        let parent2 = func.parent;\n        while (parent2.kind === 214) {\n          prev = parent2;\n          parent2 = parent2.parent;\n        }\n        if (parent2.kind === 210 && parent2.expression === prev) {\n          return parent2;\n        }\n      }\n    }\n    function isSuperOrSuperProperty(node) {\n      return node.kind === 106 || isSuperProperty(node);\n    }\n    function isSuperProperty(node) {\n      const kind = node.kind;\n      return (kind === 208 || kind === 209) && node.expression.kind === 106;\n    }\n    function isThisProperty(node) {\n      const kind = node.kind;\n      return (kind === 208 || kind === 209) && node.expression.kind === 108;\n    }\n    function isThisInitializedDeclaration(node) {\n      var _a22;\n      return !!node && isVariableDeclaration(node) && ((_a22 = node.initializer) == null ? void 0 : _a22.kind) === 108;\n    }\n    function isThisInitializedObjectBindingExpression(node) {\n      return !!node && (isShorthandPropertyAssignment(node) || isPropertyAssignment(node)) && isBinaryExpression(node.parent.parent) && node.parent.parent.operatorToken.kind === 63 && node.parent.parent.right.kind === 108;\n    }\n    function getEntityNameFromTypeNode(node) {\n      switch (node.kind) {\n        case 180:\n          return node.typeName;\n        case 230:\n          return isEntityNameExpression(node.expression) ? node.expression : void 0;\n        case 79:\n        case 163:\n          return node;\n      }\n      return void 0;\n    }\n    function getInvokedExpression(node) {\n      switch (node.kind) {\n        case 212:\n          return node.tag;\n        case 283:\n        case 282:\n          return node.tagName;\n        default:\n          return node.expression;\n      }\n    }\n    function nodeCanBeDecorated(useLegacyDecorators, node, parent2, grandparent) {\n      if (useLegacyDecorators && isNamedDeclaration(node) && isPrivateIdentifier(node.name)) {\n        return false;\n      }\n      switch (node.kind) {\n        case 260:\n          return true;\n        case 228:\n          return !useLegacyDecorators;\n        case 169:\n          return parent2 !== void 0 && (useLegacyDecorators ? isClassDeclaration(parent2) : isClassLike(parent2) && !hasAbstractModifier(node) && !hasAmbientModifier(node));\n        case 174:\n        case 175:\n        case 171:\n          return node.body !== void 0 && parent2 !== void 0 && (useLegacyDecorators ? isClassDeclaration(parent2) : isClassLike(parent2));\n        case 166:\n          if (!useLegacyDecorators)\n            return false;\n          return parent2 !== void 0 && parent2.body !== void 0 && (parent2.kind === 173 || parent2.kind === 171 || parent2.kind === 175) && getThisParameter(parent2) !== node && grandparent !== void 0 && grandparent.kind === 260;\n      }\n      return false;\n    }\n    function nodeIsDecorated(useLegacyDecorators, node, parent2, grandparent) {\n      return hasDecorators(node) && nodeCanBeDecorated(useLegacyDecorators, node, parent2, grandparent);\n    }\n    function nodeOrChildIsDecorated(useLegacyDecorators, node, parent2, grandparent) {\n      return nodeIsDecorated(useLegacyDecorators, node, parent2, grandparent) || childIsDecorated(useLegacyDecorators, node, parent2);\n    }\n    function childIsDecorated(useLegacyDecorators, node, parent2) {\n      switch (node.kind) {\n        case 260:\n          return some(node.members, (m) => nodeOrChildIsDecorated(useLegacyDecorators, m, node, parent2));\n        case 228:\n          return !useLegacyDecorators && some(node.members, (m) => nodeOrChildIsDecorated(useLegacyDecorators, m, node, parent2));\n        case 171:\n        case 175:\n        case 173:\n          return some(node.parameters, (p) => nodeIsDecorated(useLegacyDecorators, p, node, parent2));\n        default:\n          return false;\n      }\n    }\n    function classOrConstructorParameterIsDecorated(useLegacyDecorators, node) {\n      if (nodeIsDecorated(useLegacyDecorators, node))\n        return true;\n      const constructor = getFirstConstructorWithBody(node);\n      return !!constructor && childIsDecorated(useLegacyDecorators, constructor, node);\n    }\n    function classElementOrClassElementParameterIsDecorated(useLegacyDecorators, node, parent2) {\n      let parameters;\n      if (isAccessor(node)) {\n        const { firstAccessor, secondAccessor, setAccessor } = getAllAccessorDeclarations(parent2.members, node);\n        const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0;\n        if (!firstAccessorWithDecorators || node !== firstAccessorWithDecorators) {\n          return false;\n        }\n        parameters = setAccessor == null ? void 0 : setAccessor.parameters;\n      } else if (isMethodDeclaration(node)) {\n        parameters = node.parameters;\n      }\n      if (nodeIsDecorated(useLegacyDecorators, node, parent2)) {\n        return true;\n      }\n      if (parameters) {\n        for (const parameter of parameters) {\n          if (parameterIsThisKeyword(parameter))\n            continue;\n          if (nodeIsDecorated(useLegacyDecorators, parameter, node, parent2))\n            return true;\n        }\n      }\n      return false;\n    }\n    function isEmptyStringLiteral(node) {\n      if (node.textSourceNode) {\n        switch (node.textSourceNode.kind) {\n          case 10:\n            return isEmptyStringLiteral(node.textSourceNode);\n          case 14:\n            return node.text === \"\";\n        }\n        return false;\n      }\n      return node.text === \"\";\n    }\n    function isJSXTagName(node) {\n      const { parent: parent2 } = node;\n      if (parent2.kind === 283 || parent2.kind === 282 || parent2.kind === 284) {\n        return parent2.tagName === node;\n      }\n      return false;\n    }\n    function isExpressionNode(node) {\n      switch (node.kind) {\n        case 106:\n        case 104:\n        case 110:\n        case 95:\n        case 13:\n        case 206:\n        case 207:\n        case 208:\n        case 209:\n        case 210:\n        case 211:\n        case 212:\n        case 231:\n        case 213:\n        case 235:\n        case 232:\n        case 214:\n        case 215:\n        case 228:\n        case 216:\n        case 219:\n        case 217:\n        case 218:\n        case 221:\n        case 222:\n        case 223:\n        case 224:\n        case 227:\n        case 225:\n        case 229:\n        case 281:\n        case 282:\n        case 285:\n        case 226:\n        case 220:\n        case 233:\n          return true;\n        case 230:\n          return !isHeritageClause(node.parent) && !isJSDocAugmentsTag(node.parent);\n        case 163:\n          while (node.parent.kind === 163) {\n            node = node.parent;\n          }\n          return node.parent.kind === 183 || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node);\n        case 314:\n          while (isJSDocMemberName(node.parent)) {\n            node = node.parent;\n          }\n          return node.parent.kind === 183 || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node);\n        case 80:\n          return isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 101;\n        case 79:\n          if (node.parent.kind === 183 || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node)) {\n            return true;\n          }\n        case 8:\n        case 9:\n        case 10:\n        case 14:\n        case 108:\n          return isInExpressionContext(node);\n        default:\n          return false;\n      }\n    }\n    function isInExpressionContext(node) {\n      const { parent: parent2 } = node;\n      switch (parent2.kind) {\n        case 257:\n        case 166:\n        case 169:\n        case 168:\n        case 302:\n        case 299:\n        case 205:\n          return parent2.initializer === node;\n        case 241:\n        case 242:\n        case 243:\n        case 244:\n        case 250:\n        case 251:\n        case 252:\n        case 292:\n        case 254:\n          return parent2.expression === node;\n        case 245:\n          const forStatement = parent2;\n          return forStatement.initializer === node && forStatement.initializer.kind !== 258 || forStatement.condition === node || forStatement.incrementor === node;\n        case 246:\n        case 247:\n          const forInStatement = parent2;\n          return forInStatement.initializer === node && forInStatement.initializer.kind !== 258 || forInStatement.expression === node;\n        case 213:\n        case 231:\n          return node === parent2.expression;\n        case 236:\n          return node === parent2.expression;\n        case 164:\n          return node === parent2.expression;\n        case 167:\n        case 291:\n        case 290:\n        case 301:\n          return true;\n        case 230:\n          return parent2.expression === node && !isPartOfTypeNode(parent2);\n        case 300:\n          return parent2.objectAssignmentInitializer === node;\n        case 235:\n          return node === parent2.expression;\n        default:\n          return isExpressionNode(parent2);\n      }\n    }\n    function isPartOfTypeQuery(node) {\n      while (node.kind === 163 || node.kind === 79) {\n        node = node.parent;\n      }\n      return node.kind === 183;\n    }\n    function isNamespaceReexportDeclaration(node) {\n      return isNamespaceExport(node) && !!node.parent.moduleSpecifier;\n    }\n    function isExternalModuleImportEqualsDeclaration(node) {\n      return node.kind === 268 && node.moduleReference.kind === 280;\n    }\n    function getExternalModuleImportEqualsDeclarationExpression(node) {\n      Debug2.assert(isExternalModuleImportEqualsDeclaration(node));\n      return node.moduleReference.expression;\n    }\n    function getExternalModuleRequireArgument(node) {\n      return isVariableDeclarationInitializedToBareOrAccessedRequire(node) && getLeftmostAccessExpression(node.initializer).arguments[0];\n    }\n    function isInternalModuleImportEqualsDeclaration(node) {\n      return node.kind === 268 && node.moduleReference.kind !== 280;\n    }\n    function isSourceFileJS(file) {\n      return isInJSFile(file);\n    }\n    function isSourceFileNotJS(file) {\n      return !isInJSFile(file);\n    }\n    function isInJSFile(node) {\n      return !!node && !!(node.flags & 262144);\n    }\n    function isInJsonFile(node) {\n      return !!node && !!(node.flags & 67108864);\n    }\n    function isSourceFileNotJson(file) {\n      return !isJsonSourceFile(file);\n    }\n    function isInJSDoc(node) {\n      return !!node && !!(node.flags & 8388608);\n    }\n    function isJSDocIndexSignature(node) {\n      return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"Object\" && node.typeArguments && node.typeArguments.length === 2 && (node.typeArguments[0].kind === 152 || node.typeArguments[0].kind === 148);\n    }\n    function isRequireCall(callExpression, requireStringLiteralLikeArgument) {\n      if (callExpression.kind !== 210) {\n        return false;\n      }\n      const { expression, arguments: args } = callExpression;\n      if (expression.kind !== 79 || expression.escapedText !== \"require\") {\n        return false;\n      }\n      if (args.length !== 1) {\n        return false;\n      }\n      const arg = args[0];\n      return !requireStringLiteralLikeArgument || isStringLiteralLike(arg);\n    }\n    function isVariableDeclarationInitializedToRequire(node) {\n      return isVariableDeclarationInitializedWithRequireHelper(\n        node,\n        /*allowAccessedRequire*/\n        false\n      );\n    }\n    function isVariableDeclarationInitializedToBareOrAccessedRequire(node) {\n      return isVariableDeclarationInitializedWithRequireHelper(\n        node,\n        /*allowAccessedRequire*/\n        true\n      );\n    }\n    function isBindingElementOfBareOrAccessedRequire(node) {\n      return isBindingElement(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent);\n    }\n    function isVariableDeclarationInitializedWithRequireHelper(node, allowAccessedRequire) {\n      return isVariableDeclaration(node) && !!node.initializer && isRequireCall(\n        allowAccessedRequire ? getLeftmostAccessExpression(node.initializer) : node.initializer,\n        /*requireStringLiteralLikeArgument*/\n        true\n      );\n    }\n    function isRequireVariableStatement(node) {\n      return isVariableStatement(node) && node.declarationList.declarations.length > 0 && every(node.declarationList.declarations, (decl) => isVariableDeclarationInitializedToRequire(decl));\n    }\n    function isSingleOrDoubleQuote(charCode) {\n      return charCode === 39 || charCode === 34;\n    }\n    function isStringDoubleQuoted(str, sourceFile) {\n      return getSourceTextOfNodeFromSourceFile(sourceFile, str).charCodeAt(0) === 34;\n    }\n    function isAssignmentDeclaration(decl) {\n      return isBinaryExpression(decl) || isAccessExpression(decl) || isIdentifier(decl) || isCallExpression(decl);\n    }\n    function getEffectiveInitializer(node) {\n      if (isInJSFile(node) && node.initializer && isBinaryExpression(node.initializer) && (node.initializer.operatorToken.kind === 56 || node.initializer.operatorToken.kind === 60) && node.name && isEntityNameExpression(node.name) && isSameEntityName(node.name, node.initializer.left)) {\n        return node.initializer.right;\n      }\n      return node.initializer;\n    }\n    function getDeclaredExpandoInitializer(node) {\n      const init = getEffectiveInitializer(node);\n      return init && getExpandoInitializer(init, isPrototypeAccess(node.name));\n    }\n    function hasExpandoValueProperty(node, isPrototypeAssignment) {\n      return forEach(node.properties, (p) => isPropertyAssignment(p) && isIdentifier(p.name) && p.name.escapedText === \"value\" && p.initializer && getExpandoInitializer(p.initializer, isPrototypeAssignment));\n    }\n    function getAssignedExpandoInitializer(node) {\n      if (node && node.parent && isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 63) {\n        const isPrototypeAssignment = isPrototypeAccess(node.parent.left);\n        return getExpandoInitializer(node.parent.right, isPrototypeAssignment) || getDefaultedExpandoInitializer(node.parent.left, node.parent.right, isPrototypeAssignment);\n      }\n      if (node && isCallExpression(node) && isBindableObjectDefinePropertyCall(node)) {\n        const result = hasExpandoValueProperty(node.arguments[2], node.arguments[1].text === \"prototype\");\n        if (result) {\n          return result;\n        }\n      }\n    }\n    function getExpandoInitializer(initializer, isPrototypeAssignment) {\n      if (isCallExpression(initializer)) {\n        const e = skipParentheses(initializer.expression);\n        return e.kind === 215 || e.kind === 216 ? initializer : void 0;\n      }\n      if (initializer.kind === 215 || initializer.kind === 228 || initializer.kind === 216) {\n        return initializer;\n      }\n      if (isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAssignment)) {\n        return initializer;\n      }\n    }\n    function getDefaultedExpandoInitializer(name, initializer, isPrototypeAssignment) {\n      const e = isBinaryExpression(initializer) && (initializer.operatorToken.kind === 56 || initializer.operatorToken.kind === 60) && getExpandoInitializer(initializer.right, isPrototypeAssignment);\n      if (e && isSameEntityName(name, initializer.left)) {\n        return e;\n      }\n    }\n    function isDefaultedExpandoInitializer(node) {\n      const name = isVariableDeclaration(node.parent) ? node.parent.name : isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 63 ? node.parent.left : void 0;\n      return name && getExpandoInitializer(node.right, isPrototypeAccess(name)) && isEntityNameExpression(name) && isSameEntityName(name, node.left);\n    }\n    function getNameOfExpando(node) {\n      if (isBinaryExpression(node.parent)) {\n        const parent2 = (node.parent.operatorToken.kind === 56 || node.parent.operatorToken.kind === 60) && isBinaryExpression(node.parent.parent) ? node.parent.parent : node.parent;\n        if (parent2.operatorToken.kind === 63 && isIdentifier(parent2.left)) {\n          return parent2.left;\n        }\n      } else if (isVariableDeclaration(node.parent)) {\n        return node.parent.name;\n      }\n    }\n    function isSameEntityName(name, initializer) {\n      if (isPropertyNameLiteral(name) && isPropertyNameLiteral(initializer)) {\n        return getTextOfIdentifierOrLiteral(name) === getTextOfIdentifierOrLiteral(initializer);\n      }\n      if (isMemberName(name) && isLiteralLikeAccess(initializer) && (initializer.expression.kind === 108 || isIdentifier(initializer.expression) && (initializer.expression.escapedText === \"window\" || initializer.expression.escapedText === \"self\" || initializer.expression.escapedText === \"global\"))) {\n        return isSameEntityName(name, getNameOrArgument(initializer));\n      }\n      if (isLiteralLikeAccess(name) && isLiteralLikeAccess(initializer)) {\n        return getElementOrPropertyAccessName(name) === getElementOrPropertyAccessName(initializer) && isSameEntityName(name.expression, initializer.expression);\n      }\n      return false;\n    }\n    function getRightMostAssignedExpression(node) {\n      while (isAssignmentExpression(\n        node,\n        /*excludeCompoundAssignments*/\n        true\n      )) {\n        node = node.right;\n      }\n      return node;\n    }\n    function isExportsIdentifier(node) {\n      return isIdentifier(node) && node.escapedText === \"exports\";\n    }\n    function isModuleIdentifier(node) {\n      return isIdentifier(node) && node.escapedText === \"module\";\n    }\n    function isModuleExportsAccessExpression(node) {\n      return (isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node)) && isModuleIdentifier(node.expression) && getElementOrPropertyAccessName(node) === \"exports\";\n    }\n    function getAssignmentDeclarationKind(expr) {\n      const special = getAssignmentDeclarationKindWorker(expr);\n      return special === 5 || isInJSFile(expr) ? special : 0;\n    }\n    function isBindableObjectDefinePropertyCall(expr) {\n      return length(expr.arguments) === 3 && isPropertyAccessExpression(expr.expression) && isIdentifier(expr.expression.expression) && idText(expr.expression.expression) === \"Object\" && idText(expr.expression.name) === \"defineProperty\" && isStringOrNumericLiteralLike(expr.arguments[1]) && isBindableStaticNameExpression(\n        expr.arguments[0],\n        /*excludeThisKeyword*/\n        true\n      );\n    }\n    function isLiteralLikeAccess(node) {\n      return isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node);\n    }\n    function isLiteralLikeElementAccess(node) {\n      return isElementAccessExpression(node) && isStringOrNumericLiteralLike(node.argumentExpression);\n    }\n    function isBindableStaticAccessExpression(node, excludeThisKeyword) {\n      return isPropertyAccessExpression(node) && (!excludeThisKeyword && node.expression.kind === 108 || isIdentifier(node.name) && isBindableStaticNameExpression(\n        node.expression,\n        /*excludeThisKeyword*/\n        true\n      )) || isBindableStaticElementAccessExpression(node, excludeThisKeyword);\n    }\n    function isBindableStaticElementAccessExpression(node, excludeThisKeyword) {\n      return isLiteralLikeElementAccess(node) && (!excludeThisKeyword && node.expression.kind === 108 || isEntityNameExpression(node.expression) || isBindableStaticAccessExpression(\n        node.expression,\n        /*excludeThisKeyword*/\n        true\n      ));\n    }\n    function isBindableStaticNameExpression(node, excludeThisKeyword) {\n      return isEntityNameExpression(node) || isBindableStaticAccessExpression(node, excludeThisKeyword);\n    }\n    function getNameOrArgument(expr) {\n      if (isPropertyAccessExpression(expr)) {\n        return expr.name;\n      }\n      return expr.argumentExpression;\n    }\n    function getAssignmentDeclarationKindWorker(expr) {\n      if (isCallExpression(expr)) {\n        if (!isBindableObjectDefinePropertyCall(expr)) {\n          return 0;\n        }\n        const entityName = expr.arguments[0];\n        if (isExportsIdentifier(entityName) || isModuleExportsAccessExpression(entityName)) {\n          return 8;\n        }\n        if (isBindableStaticAccessExpression(entityName) && getElementOrPropertyAccessName(entityName) === \"prototype\") {\n          return 9;\n        }\n        return 7;\n      }\n      if (expr.operatorToken.kind !== 63 || !isAccessExpression(expr.left) || isVoidZero(getRightMostAssignedExpression(expr))) {\n        return 0;\n      }\n      if (isBindableStaticNameExpression(\n        expr.left.expression,\n        /*excludeThisKeyword*/\n        true\n      ) && getElementOrPropertyAccessName(expr.left) === \"prototype\" && isObjectLiteralExpression(getInitializerOfBinaryExpression(expr))) {\n        return 6;\n      }\n      return getAssignmentDeclarationPropertyAccessKind(expr.left);\n    }\n    function isVoidZero(node) {\n      return isVoidExpression(node) && isNumericLiteral(node.expression) && node.expression.text === \"0\";\n    }\n    function getElementOrPropertyAccessArgumentExpressionOrName(node) {\n      if (isPropertyAccessExpression(node)) {\n        return node.name;\n      }\n      const arg = skipParentheses(node.argumentExpression);\n      if (isNumericLiteral(arg) || isStringLiteralLike(arg)) {\n        return arg;\n      }\n      return node;\n    }\n    function getElementOrPropertyAccessName(node) {\n      const name = getElementOrPropertyAccessArgumentExpressionOrName(node);\n      if (name) {\n        if (isIdentifier(name)) {\n          return name.escapedText;\n        }\n        if (isStringLiteralLike(name) || isNumericLiteral(name)) {\n          return escapeLeadingUnderscores(name.text);\n        }\n      }\n      return void 0;\n    }\n    function getAssignmentDeclarationPropertyAccessKind(lhs) {\n      if (lhs.expression.kind === 108) {\n        return 4;\n      } else if (isModuleExportsAccessExpression(lhs)) {\n        return 2;\n      } else if (isBindableStaticNameExpression(\n        lhs.expression,\n        /*excludeThisKeyword*/\n        true\n      )) {\n        if (isPrototypeAccess(lhs.expression)) {\n          return 3;\n        }\n        let nextToLast = lhs;\n        while (!isIdentifier(nextToLast.expression)) {\n          nextToLast = nextToLast.expression;\n        }\n        const id = nextToLast.expression;\n        if ((id.escapedText === \"exports\" || id.escapedText === \"module\" && getElementOrPropertyAccessName(nextToLast) === \"exports\") && // ExportsProperty does not support binding with computed names\n        isBindableStaticAccessExpression(lhs)) {\n          return 1;\n        }\n        if (isBindableStaticNameExpression(\n          lhs,\n          /*excludeThisKeyword*/\n          true\n        ) || isElementAccessExpression(lhs) && isDynamicName(lhs)) {\n          return 5;\n        }\n      }\n      return 0;\n    }\n    function getInitializerOfBinaryExpression(expr) {\n      while (isBinaryExpression(expr.right)) {\n        expr = expr.right;\n      }\n      return expr.right;\n    }\n    function isPrototypePropertyAssignment(node) {\n      return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 3;\n    }\n    function isSpecialPropertyDeclaration(expr) {\n      return isInJSFile(expr) && expr.parent && expr.parent.kind === 241 && (!isElementAccessExpression(expr) || isLiteralLikeElementAccess(expr)) && !!getJSDocTypeTag(expr.parent);\n    }\n    function setValueDeclaration(symbol, node) {\n      const { valueDeclaration } = symbol;\n      if (!valueDeclaration || !(node.flags & 16777216 && !isInJSFile(node) && !(valueDeclaration.flags & 16777216)) && (isAssignmentDeclaration(valueDeclaration) && !isAssignmentDeclaration(node)) || valueDeclaration.kind !== node.kind && isEffectiveModuleDeclaration(valueDeclaration)) {\n        symbol.valueDeclaration = node;\n      }\n    }\n    function isFunctionSymbol(symbol) {\n      if (!symbol || !symbol.valueDeclaration) {\n        return false;\n      }\n      const decl = symbol.valueDeclaration;\n      return decl.kind === 259 || isVariableDeclaration(decl) && decl.initializer && isFunctionLike(decl.initializer);\n    }\n    function tryGetModuleSpecifierFromDeclaration(node) {\n      var _a22, _b3;\n      switch (node.kind) {\n        case 257:\n        case 205:\n          return (_a22 = findAncestor(node.initializer, (node2) => isRequireCall(\n            node2,\n            /*requireStringLiteralLikeArgument*/\n            true\n          ))) == null ? void 0 : _a22.arguments[0];\n        case 269:\n          return tryCast(node.moduleSpecifier, isStringLiteralLike);\n        case 268:\n          return tryCast((_b3 = tryCast(node.moduleReference, isExternalModuleReference)) == null ? void 0 : _b3.expression, isStringLiteralLike);\n        case 270:\n        case 277:\n          return tryCast(node.parent.moduleSpecifier, isStringLiteralLike);\n        case 271:\n        case 278:\n          return tryCast(node.parent.parent.moduleSpecifier, isStringLiteralLike);\n        case 273:\n          return tryCast(node.parent.parent.parent.moduleSpecifier, isStringLiteralLike);\n        default:\n          Debug2.assertNever(node);\n      }\n    }\n    function importFromModuleSpecifier(node) {\n      return tryGetImportFromModuleSpecifier(node) || Debug2.failBadSyntaxKind(node.parent);\n    }\n    function tryGetImportFromModuleSpecifier(node) {\n      switch (node.parent.kind) {\n        case 269:\n        case 275:\n          return node.parent;\n        case 280:\n          return node.parent.parent;\n        case 210:\n          return isImportCall(node.parent) || isRequireCall(\n            node.parent,\n            /*checkArg*/\n            false\n          ) ? node.parent : void 0;\n        case 198:\n          Debug2.assert(isStringLiteral(node));\n          return tryCast(node.parent.parent, isImportTypeNode);\n        default:\n          return void 0;\n      }\n    }\n    function getExternalModuleName(node) {\n      switch (node.kind) {\n        case 269:\n        case 275:\n          return node.moduleSpecifier;\n        case 268:\n          return node.moduleReference.kind === 280 ? node.moduleReference.expression : void 0;\n        case 202:\n          return isLiteralImportTypeNode(node) ? node.argument.literal : void 0;\n        case 210:\n          return node.arguments[0];\n        case 264:\n          return node.name.kind === 10 ? node.name : void 0;\n        default:\n          return Debug2.assertNever(node);\n      }\n    }\n    function getNamespaceDeclarationNode(node) {\n      switch (node.kind) {\n        case 269:\n          return node.importClause && tryCast(node.importClause.namedBindings, isNamespaceImport);\n        case 268:\n          return node;\n        case 275:\n          return node.exportClause && tryCast(node.exportClause, isNamespaceExport);\n        default:\n          return Debug2.assertNever(node);\n      }\n    }\n    function isDefaultImport(node) {\n      return node.kind === 269 && !!node.importClause && !!node.importClause.name;\n    }\n    function forEachImportClauseDeclaration(node, action) {\n      if (node.name) {\n        const result = action(node);\n        if (result)\n          return result;\n      }\n      if (node.namedBindings) {\n        const result = isNamespaceImport(node.namedBindings) ? action(node.namedBindings) : forEach(node.namedBindings.elements, action);\n        if (result)\n          return result;\n      }\n    }\n    function hasQuestionToken(node) {\n      if (node) {\n        switch (node.kind) {\n          case 166:\n          case 171:\n          case 170:\n          case 300:\n          case 299:\n          case 169:\n          case 168:\n            return node.questionToken !== void 0;\n        }\n      }\n      return false;\n    }\n    function isJSDocConstructSignature(node) {\n      const param = isJSDocFunctionType(node) ? firstOrUndefined(node.parameters) : void 0;\n      const name = tryCast(param && param.name, isIdentifier);\n      return !!name && name.escapedText === \"new\";\n    }\n    function isJSDocTypeAlias(node) {\n      return node.kind === 349 || node.kind === 341 || node.kind === 343;\n    }\n    function isTypeAlias(node) {\n      return isJSDocTypeAlias(node) || isTypeAliasDeclaration(node);\n    }\n    function getSourceOfAssignment(node) {\n      return isExpressionStatement(node) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 63 ? getRightMostAssignedExpression(node.expression) : void 0;\n    }\n    function getSourceOfDefaultedAssignment(node) {\n      return isExpressionStatement(node) && isBinaryExpression(node.expression) && getAssignmentDeclarationKind(node.expression) !== 0 && isBinaryExpression(node.expression.right) && (node.expression.right.operatorToken.kind === 56 || node.expression.right.operatorToken.kind === 60) ? node.expression.right.right : void 0;\n    }\n    function getSingleInitializerOfVariableStatementOrPropertyDeclaration(node) {\n      switch (node.kind) {\n        case 240:\n          const v = getSingleVariableOfVariableStatement(node);\n          return v && v.initializer;\n        case 169:\n          return node.initializer;\n        case 299:\n          return node.initializer;\n      }\n    }\n    function getSingleVariableOfVariableStatement(node) {\n      return isVariableStatement(node) ? firstOrUndefined(node.declarationList.declarations) : void 0;\n    }\n    function getNestedModuleDeclaration(node) {\n      return isModuleDeclaration(node) && node.body && node.body.kind === 264 ? node.body : void 0;\n    }\n    function canHaveFlowNode(node) {\n      if (node.kind >= 240 && node.kind <= 256) {\n        return true;\n      }\n      switch (node.kind) {\n        case 79:\n        case 108:\n        case 106:\n        case 163:\n        case 233:\n        case 209:\n        case 208:\n        case 205:\n        case 215:\n        case 216:\n        case 171:\n        case 174:\n        case 175:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function canHaveJSDoc(node) {\n      switch (node.kind) {\n        case 216:\n        case 223:\n        case 238:\n        case 249:\n        case 176:\n        case 292:\n        case 260:\n        case 228:\n        case 172:\n        case 173:\n        case 182:\n        case 177:\n        case 248:\n        case 256:\n        case 243:\n        case 209:\n        case 239:\n        case 1:\n        case 263:\n        case 302:\n        case 274:\n        case 275:\n        case 278:\n        case 241:\n        case 246:\n        case 247:\n        case 245:\n        case 259:\n        case 215:\n        case 181:\n        case 174:\n        case 79:\n        case 242:\n        case 269:\n        case 268:\n        case 178:\n        case 261:\n        case 320:\n        case 326:\n        case 253:\n        case 171:\n        case 170:\n        case 264:\n        case 199:\n        case 267:\n        case 207:\n        case 166:\n        case 214:\n        case 208:\n        case 299:\n        case 169:\n        case 168:\n        case 250:\n        case 175:\n        case 300:\n        case 301:\n        case 252:\n        case 254:\n        case 255:\n        case 262:\n        case 165:\n        case 257:\n        case 240:\n        case 244:\n        case 251:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function getJSDocCommentsAndTags(hostNode, noCache) {\n      let result;\n      if (isVariableLike(hostNode) && hasInitializer(hostNode) && hasJSDocNodes(hostNode.initializer)) {\n        result = addRange(result, filterOwnedJSDocTags(hostNode, last(hostNode.initializer.jsDoc)));\n      }\n      let node = hostNode;\n      while (node && node.parent) {\n        if (hasJSDocNodes(node)) {\n          result = addRange(result, filterOwnedJSDocTags(hostNode, last(node.jsDoc)));\n        }\n        if (node.kind === 166) {\n          result = addRange(result, (noCache ? getJSDocParameterTagsNoCache : getJSDocParameterTags)(node));\n          break;\n        }\n        if (node.kind === 165) {\n          result = addRange(result, (noCache ? getJSDocTypeParameterTagsNoCache : getJSDocTypeParameterTags)(node));\n          break;\n        }\n        node = getNextJSDocCommentLocation(node);\n      }\n      return result || emptyArray;\n    }\n    function filterOwnedJSDocTags(hostNode, jsDoc) {\n      if (isJSDoc(jsDoc)) {\n        const ownedTags = filter(jsDoc.tags, (tag) => ownsJSDocTag(hostNode, tag));\n        return jsDoc.tags === ownedTags ? [jsDoc] : ownedTags;\n      }\n      return ownsJSDocTag(hostNode, jsDoc) ? [jsDoc] : void 0;\n    }\n    function ownsJSDocTag(hostNode, tag) {\n      return !(isJSDocTypeTag(tag) || isJSDocSatisfiesTag(tag)) || !tag.parent || !isJSDoc(tag.parent) || !isParenthesizedExpression(tag.parent.parent) || tag.parent.parent === hostNode;\n    }\n    function getNextJSDocCommentLocation(node) {\n      const parent2 = node.parent;\n      if (parent2.kind === 299 || parent2.kind === 274 || parent2.kind === 169 || parent2.kind === 241 && node.kind === 208 || parent2.kind === 250 || getNestedModuleDeclaration(parent2) || isBinaryExpression(node) && node.operatorToken.kind === 63) {\n        return parent2;\n      } else if (parent2.parent && (getSingleVariableOfVariableStatement(parent2.parent) === node || isBinaryExpression(parent2) && parent2.operatorToken.kind === 63)) {\n        return parent2.parent;\n      } else if (parent2.parent && parent2.parent.parent && (getSingleVariableOfVariableStatement(parent2.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent2.parent.parent) === node || getSourceOfDefaultedAssignment(parent2.parent.parent))) {\n        return parent2.parent.parent;\n      }\n    }\n    function getParameterSymbolFromJSDoc(node) {\n      if (node.symbol) {\n        return node.symbol;\n      }\n      if (!isIdentifier(node.name)) {\n        return void 0;\n      }\n      const name = node.name.escapedText;\n      const decl = getHostSignatureFromJSDoc(node);\n      if (!decl) {\n        return void 0;\n      }\n      const parameter = find(decl.parameters, (p) => p.name.kind === 79 && p.name.escapedText === name);\n      return parameter && parameter.symbol;\n    }\n    function getEffectiveContainerForJSDocTemplateTag(node) {\n      if (isJSDoc(node.parent) && node.parent.tags) {\n        const typeAlias = find(node.parent.tags, isJSDocTypeAlias);\n        if (typeAlias) {\n          return typeAlias;\n        }\n      }\n      return getHostSignatureFromJSDoc(node);\n    }\n    function getHostSignatureFromJSDoc(node) {\n      const host = getEffectiveJSDocHost(node);\n      if (host) {\n        return isPropertySignature(host) && host.type && isFunctionLike(host.type) ? host.type : isFunctionLike(host) ? host : void 0;\n      }\n      return void 0;\n    }\n    function getEffectiveJSDocHost(node) {\n      const host = getJSDocHost(node);\n      if (host) {\n        return getSourceOfDefaultedAssignment(host) || getSourceOfAssignment(host) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(host) || getSingleVariableOfVariableStatement(host) || getNestedModuleDeclaration(host) || host;\n      }\n    }\n    function getJSDocHost(node) {\n      const jsDoc = getJSDocRoot(node);\n      if (!jsDoc) {\n        return void 0;\n      }\n      const host = jsDoc.parent;\n      if (host && host.jsDoc && jsDoc === lastOrUndefined(host.jsDoc)) {\n        return host;\n      }\n    }\n    function getJSDocRoot(node) {\n      return findAncestor(node.parent, isJSDoc);\n    }\n    function getTypeParameterFromJsDoc(node) {\n      const name = node.name.escapedText;\n      const { typeParameters } = node.parent.parent.parent;\n      return typeParameters && find(typeParameters, (p) => p.name.escapedText === name);\n    }\n    function hasTypeArguments(node) {\n      return !!node.typeArguments;\n    }\n    function getAssignmentTargetKind(node) {\n      let parent2 = node.parent;\n      while (true) {\n        switch (parent2.kind) {\n          case 223:\n            const binaryOperator = parent2.operatorToken.kind;\n            return isAssignmentOperator(binaryOperator) && parent2.left === node ? binaryOperator === 63 || isLogicalOrCoalescingAssignmentOperator(binaryOperator) ? 1 : 2 : 0;\n          case 221:\n          case 222:\n            const unaryOperator = parent2.operator;\n            return unaryOperator === 45 || unaryOperator === 46 ? 2 : 0;\n          case 246:\n          case 247:\n            return parent2.initializer === node ? 1 : 0;\n          case 214:\n          case 206:\n          case 227:\n          case 232:\n            node = parent2;\n            break;\n          case 301:\n            node = parent2.parent;\n            break;\n          case 300:\n            if (parent2.name !== node) {\n              return 0;\n            }\n            node = parent2.parent;\n            break;\n          case 299:\n            if (parent2.name === node) {\n              return 0;\n            }\n            node = parent2.parent;\n            break;\n          default:\n            return 0;\n        }\n        parent2 = node.parent;\n      }\n    }\n    function isAssignmentTarget(node) {\n      return getAssignmentTargetKind(node) !== 0;\n    }\n    function isNodeWithPossibleHoistedDeclaration(node) {\n      switch (node.kind) {\n        case 238:\n        case 240:\n        case 251:\n        case 242:\n        case 252:\n        case 266:\n        case 292:\n        case 293:\n        case 253:\n        case 245:\n        case 246:\n        case 247:\n        case 243:\n        case 244:\n        case 255:\n        case 295:\n          return true;\n      }\n      return false;\n    }\n    function isValueSignatureDeclaration(node) {\n      return isFunctionExpression(node) || isArrowFunction(node) || isMethodOrAccessor(node) || isFunctionDeclaration(node) || isConstructorDeclaration(node);\n    }\n    function walkUp(node, kind) {\n      while (node && node.kind === kind) {\n        node = node.parent;\n      }\n      return node;\n    }\n    function walkUpParenthesizedTypes(node) {\n      return walkUp(\n        node,\n        193\n        /* ParenthesizedType */\n      );\n    }\n    function walkUpParenthesizedExpressions(node) {\n      return walkUp(\n        node,\n        214\n        /* ParenthesizedExpression */\n      );\n    }\n    function walkUpParenthesizedTypesAndGetParentAndChild(node) {\n      let child;\n      while (node && node.kind === 193) {\n        child = node;\n        node = node.parent;\n      }\n      return [child, node];\n    }\n    function skipTypeParentheses(node) {\n      while (isParenthesizedTypeNode(node))\n        node = node.type;\n      return node;\n    }\n    function skipParentheses(node, excludeJSDocTypeAssertions) {\n      const flags = excludeJSDocTypeAssertions ? 1 | 16 : 1;\n      return skipOuterExpressions(node, flags);\n    }\n    function isDeleteTarget(node) {\n      if (node.kind !== 208 && node.kind !== 209) {\n        return false;\n      }\n      node = walkUpParenthesizedExpressions(node.parent);\n      return node && node.kind === 217;\n    }\n    function isNodeDescendantOf(node, ancestor) {\n      while (node) {\n        if (node === ancestor)\n          return true;\n        node = node.parent;\n      }\n      return false;\n    }\n    function isDeclarationName(name) {\n      return !isSourceFile(name) && !isBindingPattern(name) && isDeclaration(name.parent) && name.parent.name === name;\n    }\n    function getDeclarationFromName(name) {\n      const parent2 = name.parent;\n      switch (name.kind) {\n        case 10:\n        case 14:\n        case 8:\n          if (isComputedPropertyName(parent2))\n            return parent2.parent;\n        case 79:\n          if (isDeclaration(parent2)) {\n            return parent2.name === name ? parent2 : void 0;\n          } else if (isQualifiedName(parent2)) {\n            const tag = parent2.parent;\n            return isJSDocParameterTag(tag) && tag.name === parent2 ? tag : void 0;\n          } else {\n            const binExp = parent2.parent;\n            return isBinaryExpression(binExp) && getAssignmentDeclarationKind(binExp) !== 0 && (binExp.left.symbol || binExp.symbol) && getNameOfDeclaration(binExp) === name ? binExp : void 0;\n          }\n        case 80:\n          return isDeclaration(parent2) && parent2.name === name ? parent2 : void 0;\n        default:\n          return void 0;\n      }\n    }\n    function isLiteralComputedPropertyDeclarationName(node) {\n      return isStringOrNumericLiteralLike(node) && node.parent.kind === 164 && isDeclaration(node.parent.parent);\n    }\n    function isIdentifierName(node) {\n      const parent2 = node.parent;\n      switch (parent2.kind) {\n        case 169:\n        case 168:\n        case 171:\n        case 170:\n        case 174:\n        case 175:\n        case 302:\n        case 299:\n        case 208:\n          return parent2.name === node;\n        case 163:\n          return parent2.right === node;\n        case 205:\n        case 273:\n          return parent2.propertyName === node;\n        case 278:\n        case 288:\n        case 282:\n        case 283:\n        case 284:\n          return true;\n      }\n      return false;\n    }\n    function isAliasSymbolDeclaration(node) {\n      if (node.kind === 268 || node.kind === 267 || node.kind === 270 && !!node.name || node.kind === 271 || node.kind === 277 || node.kind === 273 || node.kind === 278 || node.kind === 274 && exportAssignmentIsAlias(node)) {\n        return true;\n      }\n      return isInJSFile(node) && (isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 && exportAssignmentIsAlias(node) || isPropertyAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63 && isAliasableExpression(node.parent.right));\n    }\n    function getAliasDeclarationFromName(node) {\n      switch (node.parent.kind) {\n        case 270:\n        case 273:\n        case 271:\n        case 278:\n        case 274:\n        case 268:\n        case 277:\n          return node.parent;\n        case 163:\n          do {\n            node = node.parent;\n          } while (node.parent.kind === 163);\n          return getAliasDeclarationFromName(node);\n      }\n    }\n    function isAliasableExpression(e) {\n      return isEntityNameExpression(e) || isClassExpression(e);\n    }\n    function exportAssignmentIsAlias(node) {\n      const e = getExportAssignmentExpression(node);\n      return isAliasableExpression(e);\n    }\n    function getExportAssignmentExpression(node) {\n      return isExportAssignment(node) ? node.expression : node.right;\n    }\n    function getPropertyAssignmentAliasLikeExpression(node) {\n      return node.kind === 300 ? node.name : node.kind === 299 ? node.initializer : node.parent.right;\n    }\n    function getEffectiveBaseTypeNode(node) {\n      const baseType = getClassExtendsHeritageElement(node);\n      if (baseType && isInJSFile(node)) {\n        const tag = getJSDocAugmentsTag(node);\n        if (tag) {\n          return tag.class;\n        }\n      }\n      return baseType;\n    }\n    function getClassExtendsHeritageElement(node) {\n      const heritageClause = getHeritageClause(\n        node.heritageClauses,\n        94\n        /* ExtendsKeyword */\n      );\n      return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : void 0;\n    }\n    function getEffectiveImplementsTypeNodes(node) {\n      if (isInJSFile(node)) {\n        return getJSDocImplementsTags(node).map((n) => n.class);\n      } else {\n        const heritageClause = getHeritageClause(\n          node.heritageClauses,\n          117\n          /* ImplementsKeyword */\n        );\n        return heritageClause == null ? void 0 : heritageClause.types;\n      }\n    }\n    function getAllSuperTypeNodes(node) {\n      return isInterfaceDeclaration(node) ? getInterfaceBaseTypeNodes(node) || emptyArray : isClassLike(node) ? concatenate(singleElementArray(getEffectiveBaseTypeNode(node)), getEffectiveImplementsTypeNodes(node)) || emptyArray : emptyArray;\n    }\n    function getInterfaceBaseTypeNodes(node) {\n      const heritageClause = getHeritageClause(\n        node.heritageClauses,\n        94\n        /* ExtendsKeyword */\n      );\n      return heritageClause ? heritageClause.types : void 0;\n    }\n    function getHeritageClause(clauses, kind) {\n      if (clauses) {\n        for (const clause of clauses) {\n          if (clause.token === kind) {\n            return clause;\n          }\n        }\n      }\n      return void 0;\n    }\n    function getAncestor(node, kind) {\n      while (node) {\n        if (node.kind === kind) {\n          return node;\n        }\n        node = node.parent;\n      }\n      return void 0;\n    }\n    function isKeyword(token) {\n      return 81 <= token && token <= 162;\n    }\n    function isContextualKeyword(token) {\n      return 126 <= token && token <= 162;\n    }\n    function isNonContextualKeyword(token) {\n      return isKeyword(token) && !isContextualKeyword(token);\n    }\n    function isFutureReservedKeyword(token) {\n      return 117 <= token && token <= 125;\n    }\n    function isStringANonContextualKeyword(name) {\n      const token = stringToToken(name);\n      return token !== void 0 && isNonContextualKeyword(token);\n    }\n    function isStringAKeyword(name) {\n      const token = stringToToken(name);\n      return token !== void 0 && isKeyword(token);\n    }\n    function isIdentifierANonContextualKeyword(node) {\n      const originalKeywordKind = identifierToKeywordKind(node);\n      return !!originalKeywordKind && !isContextualKeyword(originalKeywordKind);\n    }\n    function isTrivia(token) {\n      return 2 <= token && token <= 7;\n    }\n    function getFunctionFlags(node) {\n      if (!node) {\n        return 4;\n      }\n      let flags = 0;\n      switch (node.kind) {\n        case 259:\n        case 215:\n        case 171:\n          if (node.asteriskToken) {\n            flags |= 1;\n          }\n        case 216:\n          if (hasSyntacticModifier(\n            node,\n            512\n            /* Async */\n          )) {\n            flags |= 2;\n          }\n          break;\n      }\n      if (!node.body) {\n        flags |= 4;\n      }\n      return flags;\n    }\n    function isAsyncFunction(node) {\n      switch (node.kind) {\n        case 259:\n        case 215:\n        case 216:\n        case 171:\n          return node.body !== void 0 && node.asteriskToken === void 0 && hasSyntacticModifier(\n            node,\n            512\n            /* Async */\n          );\n      }\n      return false;\n    }\n    function isStringOrNumericLiteralLike(node) {\n      return isStringLiteralLike(node) || isNumericLiteral(node);\n    }\n    function isSignedNumericLiteral(node) {\n      return isPrefixUnaryExpression(node) && (node.operator === 39 || node.operator === 40) && isNumericLiteral(node.operand);\n    }\n    function hasDynamicName(declaration) {\n      const name = getNameOfDeclaration(declaration);\n      return !!name && isDynamicName(name);\n    }\n    function isDynamicName(name) {\n      if (!(name.kind === 164 || name.kind === 209)) {\n        return false;\n      }\n      const expr = isElementAccessExpression(name) ? skipParentheses(name.argumentExpression) : name.expression;\n      return !isStringOrNumericLiteralLike(expr) && !isSignedNumericLiteral(expr);\n    }\n    function getPropertyNameForPropertyNameNode(name) {\n      switch (name.kind) {\n        case 79:\n        case 80:\n          return name.escapedText;\n        case 10:\n        case 8:\n          return escapeLeadingUnderscores(name.text);\n        case 164:\n          const nameExpression = name.expression;\n          if (isStringOrNumericLiteralLike(nameExpression)) {\n            return escapeLeadingUnderscores(nameExpression.text);\n          } else if (isSignedNumericLiteral(nameExpression)) {\n            if (nameExpression.operator === 40) {\n              return tokenToString(nameExpression.operator) + nameExpression.operand.text;\n            }\n            return nameExpression.operand.text;\n          }\n          return void 0;\n        default:\n          return Debug2.assertNever(name);\n      }\n    }\n    function isPropertyNameLiteral(node) {\n      switch (node.kind) {\n        case 79:\n        case 10:\n        case 14:\n        case 8:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function getTextOfIdentifierOrLiteral(node) {\n      return isMemberName(node) ? idText(node) : node.text;\n    }\n    function getEscapedTextOfIdentifierOrLiteral(node) {\n      return isMemberName(node) ? node.escapedText : escapeLeadingUnderscores(node.text);\n    }\n    function getPropertyNameForUniqueESSymbol(symbol) {\n      return `__@${getSymbolId(symbol)}@${symbol.escapedName}`;\n    }\n    function getSymbolNameForPrivateIdentifier(containingClassSymbol, description2) {\n      return `__#${getSymbolId(containingClassSymbol)}@${description2}`;\n    }\n    function isKnownSymbol(symbol) {\n      return startsWith(symbol.escapedName, \"__@\");\n    }\n    function isPrivateIdentifierSymbol(symbol) {\n      return startsWith(symbol.escapedName, \"__#\");\n    }\n    function isESSymbolIdentifier(node) {\n      return node.kind === 79 && node.escapedText === \"Symbol\";\n    }\n    function isProtoSetter(node) {\n      return isIdentifier(node) ? idText(node) === \"__proto__\" : isStringLiteral(node) && node.text === \"__proto__\";\n    }\n    function isAnonymousFunctionDefinition(node, cb) {\n      node = skipOuterExpressions(node);\n      switch (node.kind) {\n        case 228:\n        case 215:\n          if (node.name) {\n            return false;\n          }\n          break;\n        case 216:\n          break;\n        default:\n          return false;\n      }\n      return typeof cb === \"function\" ? cb(node) : true;\n    }\n    function isNamedEvaluationSource(node) {\n      switch (node.kind) {\n        case 299:\n          return !isProtoSetter(node.name);\n        case 300:\n          return !!node.objectAssignmentInitializer;\n        case 257:\n          return isIdentifier(node.name) && !!node.initializer;\n        case 166:\n          return isIdentifier(node.name) && !!node.initializer && !node.dotDotDotToken;\n        case 205:\n          return isIdentifier(node.name) && !!node.initializer && !node.dotDotDotToken;\n        case 169:\n          return !!node.initializer;\n        case 223:\n          switch (node.operatorToken.kind) {\n            case 63:\n            case 76:\n            case 75:\n            case 77:\n              return isIdentifier(node.left);\n          }\n          break;\n        case 274:\n          return true;\n      }\n      return false;\n    }\n    function isNamedEvaluation(node, cb) {\n      if (!isNamedEvaluationSource(node))\n        return false;\n      switch (node.kind) {\n        case 299:\n          return isAnonymousFunctionDefinition(node.initializer, cb);\n        case 300:\n          return isAnonymousFunctionDefinition(node.objectAssignmentInitializer, cb);\n        case 257:\n        case 166:\n        case 205:\n        case 169:\n          return isAnonymousFunctionDefinition(node.initializer, cb);\n        case 223:\n          return isAnonymousFunctionDefinition(node.right, cb);\n        case 274:\n          return isAnonymousFunctionDefinition(node.expression, cb);\n      }\n    }\n    function isPushOrUnshiftIdentifier(node) {\n      return node.escapedText === \"push\" || node.escapedText === \"unshift\";\n    }\n    function isParameterDeclaration(node) {\n      const root = getRootDeclaration(node);\n      return root.kind === 166;\n    }\n    function getRootDeclaration(node) {\n      while (node.kind === 205) {\n        node = node.parent.parent;\n      }\n      return node;\n    }\n    function nodeStartsNewLexicalEnvironment(node) {\n      const kind = node.kind;\n      return kind === 173 || kind === 215 || kind === 259 || kind === 216 || kind === 171 || kind === 174 || kind === 175 || kind === 264 || kind === 308;\n    }\n    function nodeIsSynthesized(range) {\n      return positionIsSynthesized(range.pos) || positionIsSynthesized(range.end);\n    }\n    function getOriginalSourceFile(sourceFile) {\n      return getParseTreeNode(sourceFile, isSourceFile) || sourceFile;\n    }\n    function getExpressionAssociativity(expression) {\n      const operator = getOperator(expression);\n      const hasArguments = expression.kind === 211 && expression.arguments !== void 0;\n      return getOperatorAssociativity(expression.kind, operator, hasArguments);\n    }\n    function getOperatorAssociativity(kind, operator, hasArguments) {\n      switch (kind) {\n        case 211:\n          return hasArguments ? 0 : 1;\n        case 221:\n        case 218:\n        case 219:\n        case 217:\n        case 220:\n        case 224:\n        case 226:\n          return 1;\n        case 223:\n          switch (operator) {\n            case 42:\n            case 63:\n            case 64:\n            case 65:\n            case 67:\n            case 66:\n            case 68:\n            case 69:\n            case 70:\n            case 71:\n            case 72:\n            case 73:\n            case 78:\n            case 74:\n            case 75:\n            case 76:\n            case 77:\n              return 1;\n          }\n      }\n      return 0;\n    }\n    function getExpressionPrecedence(expression) {\n      const operator = getOperator(expression);\n      const hasArguments = expression.kind === 211 && expression.arguments !== void 0;\n      return getOperatorPrecedence(expression.kind, operator, hasArguments);\n    }\n    function getOperator(expression) {\n      if (expression.kind === 223) {\n        return expression.operatorToken.kind;\n      } else if (expression.kind === 221 || expression.kind === 222) {\n        return expression.operator;\n      } else {\n        return expression.kind;\n      }\n    }\n    function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) {\n      switch (nodeKind) {\n        case 357:\n          return 0;\n        case 227:\n          return 1;\n        case 226:\n          return 2;\n        case 224:\n          return 4;\n        case 223:\n          switch (operatorKind) {\n            case 27:\n              return 0;\n            case 63:\n            case 64:\n            case 65:\n            case 67:\n            case 66:\n            case 68:\n            case 69:\n            case 70:\n            case 71:\n            case 72:\n            case 73:\n            case 78:\n            case 74:\n            case 75:\n            case 76:\n            case 77:\n              return 3;\n            default:\n              return getBinaryOperatorPrecedence(operatorKind);\n          }\n        case 213:\n        case 232:\n        case 221:\n        case 218:\n        case 219:\n        case 217:\n        case 220:\n          return 16;\n        case 222:\n          return 17;\n        case 210:\n          return 18;\n        case 211:\n          return hasArguments ? 19 : 18;\n        case 212:\n        case 208:\n        case 209:\n        case 233:\n          return 19;\n        case 231:\n        case 235:\n          return 11;\n        case 108:\n        case 106:\n        case 79:\n        case 80:\n        case 104:\n        case 110:\n        case 95:\n        case 8:\n        case 9:\n        case 10:\n        case 206:\n        case 207:\n        case 215:\n        case 216:\n        case 228:\n        case 13:\n        case 14:\n        case 225:\n        case 214:\n        case 229:\n        case 281:\n        case 282:\n        case 285:\n          return 20;\n        default:\n          return -1;\n      }\n    }\n    function getBinaryOperatorPrecedence(kind) {\n      switch (kind) {\n        case 60:\n          return 4;\n        case 56:\n          return 5;\n        case 55:\n          return 6;\n        case 51:\n          return 7;\n        case 52:\n          return 8;\n        case 50:\n          return 9;\n        case 34:\n        case 35:\n        case 36:\n        case 37:\n          return 10;\n        case 29:\n        case 31:\n        case 32:\n        case 33:\n        case 102:\n        case 101:\n        case 128:\n        case 150:\n          return 11;\n        case 47:\n        case 48:\n        case 49:\n          return 12;\n        case 39:\n        case 40:\n          return 13;\n        case 41:\n        case 43:\n        case 44:\n          return 14;\n        case 42:\n          return 15;\n      }\n      return -1;\n    }\n    function getSemanticJsxChildren(children) {\n      return filter(children, (i) => {\n        switch (i.kind) {\n          case 291:\n            return !!i.expression;\n          case 11:\n            return !i.containsOnlyTriviaWhiteSpaces;\n          default:\n            return true;\n        }\n      });\n    }\n    function createDiagnosticCollection() {\n      let nonFileDiagnostics = [];\n      const filesWithDiagnostics = [];\n      const fileDiagnostics = /* @__PURE__ */ new Map();\n      let hasReadNonFileDiagnostics = false;\n      return {\n        add,\n        lookup,\n        getGlobalDiagnostics,\n        getDiagnostics: getDiagnostics2\n      };\n      function lookup(diagnostic) {\n        let diagnostics;\n        if (diagnostic.file) {\n          diagnostics = fileDiagnostics.get(diagnostic.file.fileName);\n        } else {\n          diagnostics = nonFileDiagnostics;\n        }\n        if (!diagnostics) {\n          return void 0;\n        }\n        const result = binarySearch(diagnostics, diagnostic, identity2, compareDiagnosticsSkipRelatedInformation);\n        if (result >= 0) {\n          return diagnostics[result];\n        }\n        return void 0;\n      }\n      function add(diagnostic) {\n        let diagnostics;\n        if (diagnostic.file) {\n          diagnostics = fileDiagnostics.get(diagnostic.file.fileName);\n          if (!diagnostics) {\n            diagnostics = [];\n            fileDiagnostics.set(diagnostic.file.fileName, diagnostics);\n            insertSorted(filesWithDiagnostics, diagnostic.file.fileName, compareStringsCaseSensitive);\n          }\n        } else {\n          if (hasReadNonFileDiagnostics) {\n            hasReadNonFileDiagnostics = false;\n            nonFileDiagnostics = nonFileDiagnostics.slice();\n          }\n          diagnostics = nonFileDiagnostics;\n        }\n        insertSorted(diagnostics, diagnostic, compareDiagnosticsSkipRelatedInformation);\n      }\n      function getGlobalDiagnostics() {\n        hasReadNonFileDiagnostics = true;\n        return nonFileDiagnostics;\n      }\n      function getDiagnostics2(fileName) {\n        if (fileName) {\n          return fileDiagnostics.get(fileName) || [];\n        }\n        const fileDiags = flatMapToMutable(filesWithDiagnostics, (f) => fileDiagnostics.get(f));\n        if (!nonFileDiagnostics.length) {\n          return fileDiags;\n        }\n        fileDiags.unshift(...nonFileDiagnostics);\n        return fileDiags;\n      }\n    }\n    function escapeTemplateSubstitution(str) {\n      return str.replace(templateSubstitutionRegExp, \"\\\\${\");\n    }\n    function hasInvalidEscape(template) {\n      return template && !!(isNoSubstitutionTemplateLiteral(template) ? template.templateFlags : template.head.templateFlags || some(template.templateSpans, (span) => !!span.literal.templateFlags));\n    }\n    function encodeUtf16EscapeSequence(charCode) {\n      const hexCharCode = charCode.toString(16).toUpperCase();\n      const paddedHexCode = (\"0000\" + hexCharCode).slice(-4);\n      return \"\\\\u\" + paddedHexCode;\n    }\n    function getReplacement(c, offset, input) {\n      if (c.charCodeAt(0) === 0) {\n        const lookAhead = input.charCodeAt(offset + c.length);\n        if (lookAhead >= 48 && lookAhead <= 57) {\n          return \"\\\\x00\";\n        }\n        return \"\\\\0\";\n      }\n      return escapedCharsMap.get(c) || encodeUtf16EscapeSequence(c.charCodeAt(0));\n    }\n    function escapeString(s, quoteChar) {\n      const escapedCharsRegExp = quoteChar === 96 ? backtickQuoteEscapedCharsRegExp : quoteChar === 39 ? singleQuoteEscapedCharsRegExp : doubleQuoteEscapedCharsRegExp;\n      return s.replace(escapedCharsRegExp, getReplacement);\n    }\n    function escapeNonAsciiString(s, quoteChar) {\n      s = escapeString(s, quoteChar);\n      return nonAsciiCharacters.test(s) ? s.replace(nonAsciiCharacters, (c) => encodeUtf16EscapeSequence(c.charCodeAt(0))) : s;\n    }\n    function encodeJsxCharacterEntity(charCode) {\n      const hexCharCode = charCode.toString(16).toUpperCase();\n      return \"&#x\" + hexCharCode + \";\";\n    }\n    function getJsxAttributeStringReplacement(c) {\n      if (c.charCodeAt(0) === 0) {\n        return \"&#0;\";\n      }\n      return jsxEscapedCharsMap.get(c) || encodeJsxCharacterEntity(c.charCodeAt(0));\n    }\n    function escapeJsxAttributeString(s, quoteChar) {\n      const escapedCharsRegExp = quoteChar === 39 ? jsxSingleQuoteEscapedCharsRegExp : jsxDoubleQuoteEscapedCharsRegExp;\n      return s.replace(escapedCharsRegExp, getJsxAttributeStringReplacement);\n    }\n    function stripQuotes(name) {\n      const length2 = name.length;\n      if (length2 >= 2 && name.charCodeAt(0) === name.charCodeAt(length2 - 1) && isQuoteOrBacktick(name.charCodeAt(0))) {\n        return name.substring(1, length2 - 1);\n      }\n      return name;\n    }\n    function isQuoteOrBacktick(charCode) {\n      return charCode === 39 || charCode === 34 || charCode === 96;\n    }\n    function isIntrinsicJsxName(name) {\n      const ch = name.charCodeAt(0);\n      return ch >= 97 && ch <= 122 || stringContains(name, \"-\") || stringContains(name, \":\");\n    }\n    function getIndentString(level) {\n      const singleLevel = indentStrings[1];\n      for (let current = indentStrings.length; current <= level; current++) {\n        indentStrings.push(indentStrings[current - 1] + singleLevel);\n      }\n      return indentStrings[level];\n    }\n    function getIndentSize() {\n      return indentStrings[1].length;\n    }\n    function isNightly() {\n      return stringContains(version, \"-dev\") || stringContains(version, \"-insiders\");\n    }\n    function createTextWriter(newLine) {\n      var output;\n      var indent2;\n      var lineStart;\n      var lineCount;\n      var linePos;\n      var hasTrailingComment = false;\n      function updateLineCountAndPosFor(s) {\n        const lineStartsOfS = computeLineStarts(s);\n        if (lineStartsOfS.length > 1) {\n          lineCount = lineCount + lineStartsOfS.length - 1;\n          linePos = output.length - s.length + last(lineStartsOfS);\n          lineStart = linePos - output.length === 0;\n        } else {\n          lineStart = false;\n        }\n      }\n      function writeText(s) {\n        if (s && s.length) {\n          if (lineStart) {\n            s = getIndentString(indent2) + s;\n            lineStart = false;\n          }\n          output += s;\n          updateLineCountAndPosFor(s);\n        }\n      }\n      function write(s) {\n        if (s)\n          hasTrailingComment = false;\n        writeText(s);\n      }\n      function writeComment(s) {\n        if (s)\n          hasTrailingComment = true;\n        writeText(s);\n      }\n      function reset2() {\n        output = \"\";\n        indent2 = 0;\n        lineStart = true;\n        lineCount = 0;\n        linePos = 0;\n        hasTrailingComment = false;\n      }\n      function rawWrite(s) {\n        if (s !== void 0) {\n          output += s;\n          updateLineCountAndPosFor(s);\n          hasTrailingComment = false;\n        }\n      }\n      function writeLiteral(s) {\n        if (s && s.length) {\n          write(s);\n        }\n      }\n      function writeLine(force) {\n        if (!lineStart || force) {\n          output += newLine;\n          lineCount++;\n          linePos = output.length;\n          lineStart = true;\n          hasTrailingComment = false;\n        }\n      }\n      function getTextPosWithWriteLine() {\n        return lineStart ? output.length : output.length + newLine.length;\n      }\n      reset2();\n      return {\n        write,\n        rawWrite,\n        writeLiteral,\n        writeLine,\n        increaseIndent: () => {\n          indent2++;\n        },\n        decreaseIndent: () => {\n          indent2--;\n        },\n        getIndent: () => indent2,\n        getTextPos: () => output.length,\n        getLine: () => lineCount,\n        getColumn: () => lineStart ? indent2 * getIndentSize() : output.length - linePos,\n        getText: () => output,\n        isAtStartOfLine: () => lineStart,\n        hasTrailingComment: () => hasTrailingComment,\n        hasTrailingWhitespace: () => !!output.length && isWhiteSpaceLike(output.charCodeAt(output.length - 1)),\n        clear: reset2,\n        writeKeyword: write,\n        writeOperator: write,\n        writeParameter: write,\n        writeProperty: write,\n        writePunctuation: write,\n        writeSpace: write,\n        writeStringLiteral: write,\n        writeSymbol: (s, _) => write(s),\n        writeTrailingSemicolon: write,\n        writeComment,\n        getTextPosWithWriteLine\n      };\n    }\n    function getTrailingSemicolonDeferringWriter(writer) {\n      let pendingTrailingSemicolon = false;\n      function commitPendingTrailingSemicolon() {\n        if (pendingTrailingSemicolon) {\n          writer.writeTrailingSemicolon(\";\");\n          pendingTrailingSemicolon = false;\n        }\n      }\n      return {\n        ...writer,\n        writeTrailingSemicolon() {\n          pendingTrailingSemicolon = true;\n        },\n        writeLiteral(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeLiteral(s);\n        },\n        writeStringLiteral(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeStringLiteral(s);\n        },\n        writeSymbol(s, sym) {\n          commitPendingTrailingSemicolon();\n          writer.writeSymbol(s, sym);\n        },\n        writePunctuation(s) {\n          commitPendingTrailingSemicolon();\n          writer.writePunctuation(s);\n        },\n        writeKeyword(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeKeyword(s);\n        },\n        writeOperator(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeOperator(s);\n        },\n        writeParameter(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeParameter(s);\n        },\n        writeSpace(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeSpace(s);\n        },\n        writeProperty(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeProperty(s);\n        },\n        writeComment(s) {\n          commitPendingTrailingSemicolon();\n          writer.writeComment(s);\n        },\n        writeLine() {\n          commitPendingTrailingSemicolon();\n          writer.writeLine();\n        },\n        increaseIndent() {\n          commitPendingTrailingSemicolon();\n          writer.increaseIndent();\n        },\n        decreaseIndent() {\n          commitPendingTrailingSemicolon();\n          writer.decreaseIndent();\n        }\n      };\n    }\n    function hostUsesCaseSensitiveFileNames(host) {\n      return host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : false;\n    }\n    function hostGetCanonicalFileName(host) {\n      return createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(host));\n    }\n    function getResolvedExternalModuleName(host, file, referenceFile) {\n      return file.moduleName || getExternalModuleNameFromPath(host, file.fileName, referenceFile && referenceFile.fileName);\n    }\n    function getCanonicalAbsolutePath(host, path) {\n      return host.getCanonicalFileName(getNormalizedAbsolutePath(path, host.getCurrentDirectory()));\n    }\n    function getExternalModuleNameFromDeclaration(host, resolver, declaration) {\n      const file = resolver.getExternalModuleFileFromDeclaration(declaration);\n      if (!file || file.isDeclarationFile) {\n        return void 0;\n      }\n      const specifier = getExternalModuleName(declaration);\n      if (specifier && isStringLiteralLike(specifier) && !pathIsRelative(specifier.text) && getCanonicalAbsolutePath(host, file.path).indexOf(getCanonicalAbsolutePath(host, ensureTrailingDirectorySeparator(host.getCommonSourceDirectory()))) === -1) {\n        return void 0;\n      }\n      return getResolvedExternalModuleName(host, file);\n    }\n    function getExternalModuleNameFromPath(host, fileName, referencePath) {\n      const getCanonicalFileName = (f) => host.getCanonicalFileName(f);\n      const dir = toPath(referencePath ? getDirectoryPath(referencePath) : host.getCommonSourceDirectory(), host.getCurrentDirectory(), getCanonicalFileName);\n      const filePath = getNormalizedAbsolutePath(fileName, host.getCurrentDirectory());\n      const relativePath = getRelativePathToDirectoryOrUrl(\n        dir,\n        filePath,\n        dir,\n        getCanonicalFileName,\n        /*isAbsolutePathAnUrl*/\n        false\n      );\n      const extensionless = removeFileExtension(relativePath);\n      return referencePath ? ensurePathIsNonModuleName(extensionless) : extensionless;\n    }\n    function getOwnEmitOutputFilePath(fileName, host, extension) {\n      const compilerOptions = host.getCompilerOptions();\n      let emitOutputFilePathWithoutExtension;\n      if (compilerOptions.outDir) {\n        emitOutputFilePathWithoutExtension = removeFileExtension(getSourceFilePathInNewDir(fileName, host, compilerOptions.outDir));\n      } else {\n        emitOutputFilePathWithoutExtension = removeFileExtension(fileName);\n      }\n      return emitOutputFilePathWithoutExtension + extension;\n    }\n    function getDeclarationEmitOutputFilePath(fileName, host) {\n      return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f));\n    }\n    function getDeclarationEmitOutputFilePathWorker(fileName, options, currentDirectory, commonSourceDirectory, getCanonicalFileName) {\n      const outputDir = options.declarationDir || options.outDir;\n      const path = outputDir ? getSourceFilePathInNewDirWorker(fileName, outputDir, currentDirectory, commonSourceDirectory, getCanonicalFileName) : fileName;\n      const declarationExtension = getDeclarationEmitExtensionForPath(path);\n      return removeFileExtension(path) + declarationExtension;\n    }\n    function getDeclarationEmitExtensionForPath(path) {\n      return fileExtensionIsOneOf(path, [\n        \".mjs\",\n        \".mts\"\n        /* Mts */\n      ]) ? \".d.mts\" : fileExtensionIsOneOf(path, [\n        \".cjs\",\n        \".cts\"\n        /* Cts */\n      ]) ? \".d.cts\" : fileExtensionIsOneOf(path, [\n        \".json\"\n        /* Json */\n      ]) ? `.d.json.ts` : (\n        // Drive-by redefinition of json declaration file output name so if it's ever enabled, it behaves well\n        \".d.ts\"\n      );\n    }\n    function getPossibleOriginalInputExtensionForExtension(path) {\n      return fileExtensionIsOneOf(path, [\n        \".d.mts\",\n        \".mjs\",\n        \".mts\"\n        /* Mts */\n      ]) ? [\n        \".mts\",\n        \".mjs\"\n        /* Mjs */\n      ] : fileExtensionIsOneOf(path, [\n        \".d.cts\",\n        \".cjs\",\n        \".cts\"\n        /* Cts */\n      ]) ? [\n        \".cts\",\n        \".cjs\"\n        /* Cjs */\n      ] : fileExtensionIsOneOf(path, [`.d.json.ts`]) ? [\n        \".json\"\n        /* Json */\n      ] : [\n        \".tsx\",\n        \".ts\",\n        \".jsx\",\n        \".js\"\n        /* Js */\n      ];\n    }\n    function outFile(options) {\n      return options.outFile || options.out;\n    }\n    function getPathsBasePath(options, host) {\n      var _a22, _b3;\n      if (!options.paths)\n        return void 0;\n      return (_b3 = options.baseUrl) != null ? _b3 : Debug2.checkDefined(options.pathsBasePath || ((_a22 = host.getCurrentDirectory) == null ? void 0 : _a22.call(host)), \"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.\");\n    }\n    function getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit) {\n      const options = host.getCompilerOptions();\n      if (outFile(options)) {\n        const moduleKind = getEmitModuleKind(options);\n        const moduleEmitEnabled = options.emitDeclarationOnly || moduleKind === 2 || moduleKind === 4;\n        return filter(\n          host.getSourceFiles(),\n          (sourceFile) => (moduleEmitEnabled || !isExternalModule(sourceFile)) && sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit)\n        );\n      } else {\n        const sourceFiles = targetSourceFile === void 0 ? host.getSourceFiles() : [targetSourceFile];\n        return filter(\n          sourceFiles,\n          (sourceFile) => sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit)\n        );\n      }\n    }\n    function sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) {\n      const options = host.getCompilerOptions();\n      return !(options.noEmitForJsFiles && isSourceFileJS(sourceFile)) && !sourceFile.isDeclarationFile && !host.isSourceFileFromExternalLibrary(sourceFile) && (forceDtsEmit || !(isJsonSourceFile(sourceFile) && host.getResolvedProjectReferenceToRedirect(sourceFile.fileName)) && !host.isSourceOfProjectReferenceRedirect(sourceFile.fileName));\n    }\n    function getSourceFilePathInNewDir(fileName, host, newDirPath) {\n      return getSourceFilePathInNewDirWorker(fileName, newDirPath, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f));\n    }\n    function getSourceFilePathInNewDirWorker(fileName, newDirPath, currentDirectory, commonSourceDirectory, getCanonicalFileName) {\n      let sourceFilePath = getNormalizedAbsolutePath(fileName, currentDirectory);\n      const isSourceFileInCommonSourceDirectory = getCanonicalFileName(sourceFilePath).indexOf(getCanonicalFileName(commonSourceDirectory)) === 0;\n      sourceFilePath = isSourceFileInCommonSourceDirectory ? sourceFilePath.substring(commonSourceDirectory.length) : sourceFilePath;\n      return combinePaths(newDirPath, sourceFilePath);\n    }\n    function writeFile(host, diagnostics, fileName, text, writeByteOrderMark, sourceFiles, data) {\n      host.writeFile(fileName, text, writeByteOrderMark, (hostErrorMessage) => {\n        diagnostics.add(createCompilerDiagnostic(Diagnostics.Could_not_write_file_0_Colon_1, fileName, hostErrorMessage));\n      }, sourceFiles, data);\n    }\n    function ensureDirectoriesExist(directoryPath, createDirectory, directoryExists) {\n      if (directoryPath.length > getRootLength(directoryPath) && !directoryExists(directoryPath)) {\n        const parentDirectory = getDirectoryPath(directoryPath);\n        ensureDirectoriesExist(parentDirectory, createDirectory, directoryExists);\n        createDirectory(directoryPath);\n      }\n    }\n    function writeFileEnsuringDirectories(path, data, writeByteOrderMark, writeFile2, createDirectory, directoryExists) {\n      try {\n        writeFile2(path, data, writeByteOrderMark);\n      } catch (e) {\n        ensureDirectoriesExist(getDirectoryPath(normalizePath(path)), createDirectory, directoryExists);\n        writeFile2(path, data, writeByteOrderMark);\n      }\n    }\n    function getLineOfLocalPosition(sourceFile, pos) {\n      const lineStarts = getLineStarts(sourceFile);\n      return computeLineOfPosition(lineStarts, pos);\n    }\n    function getLineOfLocalPositionFromLineMap(lineMap, pos) {\n      return computeLineOfPosition(lineMap, pos);\n    }\n    function getFirstConstructorWithBody(node) {\n      return find(node.members, (member) => isConstructorDeclaration(member) && nodeIsPresent(member.body));\n    }\n    function getSetAccessorValueParameter(accessor) {\n      if (accessor && accessor.parameters.length > 0) {\n        const hasThis = accessor.parameters.length === 2 && parameterIsThisKeyword(accessor.parameters[0]);\n        return accessor.parameters[hasThis ? 1 : 0];\n      }\n    }\n    function getSetAccessorTypeAnnotationNode(accessor) {\n      const parameter = getSetAccessorValueParameter(accessor);\n      return parameter && parameter.type;\n    }\n    function getThisParameter(signature) {\n      if (signature.parameters.length && !isJSDocSignature(signature)) {\n        const thisParameter = signature.parameters[0];\n        if (parameterIsThisKeyword(thisParameter)) {\n          return thisParameter;\n        }\n      }\n    }\n    function parameterIsThisKeyword(parameter) {\n      return isThisIdentifier(parameter.name);\n    }\n    function isThisIdentifier(node) {\n      return !!node && node.kind === 79 && identifierIsThisKeyword(node);\n    }\n    function isThisInTypeQuery(node) {\n      if (!isThisIdentifier(node)) {\n        return false;\n      }\n      while (isQualifiedName(node.parent) && node.parent.left === node) {\n        node = node.parent;\n      }\n      return node.parent.kind === 183;\n    }\n    function identifierIsThisKeyword(id) {\n      return id.escapedText === \"this\";\n    }\n    function getAllAccessorDeclarations(declarations, accessor) {\n      let firstAccessor;\n      let secondAccessor;\n      let getAccessor;\n      let setAccessor;\n      if (hasDynamicName(accessor)) {\n        firstAccessor = accessor;\n        if (accessor.kind === 174) {\n          getAccessor = accessor;\n        } else if (accessor.kind === 175) {\n          setAccessor = accessor;\n        } else {\n          Debug2.fail(\"Accessor has wrong kind\");\n        }\n      } else {\n        forEach(declarations, (member) => {\n          if (isAccessor(member) && isStatic(member) === isStatic(accessor)) {\n            const memberName = getPropertyNameForPropertyNameNode(member.name);\n            const accessorName = getPropertyNameForPropertyNameNode(accessor.name);\n            if (memberName === accessorName) {\n              if (!firstAccessor) {\n                firstAccessor = member;\n              } else if (!secondAccessor) {\n                secondAccessor = member;\n              }\n              if (member.kind === 174 && !getAccessor) {\n                getAccessor = member;\n              }\n              if (member.kind === 175 && !setAccessor) {\n                setAccessor = member;\n              }\n            }\n          }\n        });\n      }\n      return {\n        firstAccessor,\n        secondAccessor,\n        getAccessor,\n        setAccessor\n      };\n    }\n    function getEffectiveTypeAnnotationNode(node) {\n      if (!isInJSFile(node) && isFunctionDeclaration(node))\n        return void 0;\n      const type = node.type;\n      if (type || !isInJSFile(node))\n        return type;\n      return isJSDocPropertyLikeTag(node) ? node.typeExpression && node.typeExpression.type : getJSDocType(node);\n    }\n    function getTypeAnnotationNode(node) {\n      return node.type;\n    }\n    function getEffectiveReturnTypeNode(node) {\n      return isJSDocSignature(node) ? node.type && node.type.typeExpression && node.type.typeExpression.type : node.type || (isInJSFile(node) ? getJSDocReturnType(node) : void 0);\n    }\n    function getJSDocTypeParameterDeclarations(node) {\n      return flatMap(getJSDocTags(node), (tag) => isNonTypeAliasTemplate(tag) ? tag.typeParameters : void 0);\n    }\n    function isNonTypeAliasTemplate(tag) {\n      return isJSDocTemplateTag(tag) && !(tag.parent.kind === 323 && (tag.parent.tags.some(isJSDocTypeAlias) || tag.parent.tags.some(isJSDocOverloadTag)));\n    }\n    function getEffectiveSetAccessorTypeAnnotationNode(node) {\n      const parameter = getSetAccessorValueParameter(node);\n      return parameter && getEffectiveTypeAnnotationNode(parameter);\n    }\n    function emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments) {\n      emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, node.pos, leadingComments);\n    }\n    function emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, pos, leadingComments) {\n      if (leadingComments && leadingComments.length && pos !== leadingComments[0].pos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, leadingComments[0].pos)) {\n        writer.writeLine();\n      }\n    }\n    function emitNewLineBeforeLeadingCommentOfPosition(lineMap, writer, pos, commentPos) {\n      if (pos !== commentPos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, commentPos)) {\n        writer.writeLine();\n      }\n    }\n    function emitComments(text, lineMap, writer, comments, leadingSeparator, trailingSeparator, newLine, writeComment) {\n      if (comments && comments.length > 0) {\n        if (leadingSeparator) {\n          writer.writeSpace(\" \");\n        }\n        let emitInterveningSeparator = false;\n        for (const comment of comments) {\n          if (emitInterveningSeparator) {\n            writer.writeSpace(\" \");\n            emitInterveningSeparator = false;\n          }\n          writeComment(text, lineMap, writer, comment.pos, comment.end, newLine);\n          if (comment.hasTrailingNewLine) {\n            writer.writeLine();\n          } else {\n            emitInterveningSeparator = true;\n          }\n        }\n        if (emitInterveningSeparator && trailingSeparator) {\n          writer.writeSpace(\" \");\n        }\n      }\n    }\n    function emitDetachedComments(text, lineMap, writer, writeComment, node, newLine, removeComments) {\n      let leadingComments;\n      let currentDetachedCommentInfo;\n      if (removeComments) {\n        if (node.pos === 0) {\n          leadingComments = filter(getLeadingCommentRanges(text, node.pos), isPinnedCommentLocal);\n        }\n      } else {\n        leadingComments = getLeadingCommentRanges(text, node.pos);\n      }\n      if (leadingComments) {\n        const detachedComments = [];\n        let lastComment;\n        for (const comment of leadingComments) {\n          if (lastComment) {\n            const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, lastComment.end);\n            const commentLine = getLineOfLocalPositionFromLineMap(lineMap, comment.pos);\n            if (commentLine >= lastCommentLine + 2) {\n              break;\n            }\n          }\n          detachedComments.push(comment);\n          lastComment = comment;\n        }\n        if (detachedComments.length) {\n          const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, last(detachedComments).end);\n          const nodeLine = getLineOfLocalPositionFromLineMap(lineMap, skipTrivia(text, node.pos));\n          if (nodeLine >= lastCommentLine + 2) {\n            emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments);\n            emitComments(\n              text,\n              lineMap,\n              writer,\n              detachedComments,\n              /*leadingSeparator*/\n              false,\n              /*trailingSeparator*/\n              true,\n              newLine,\n              writeComment\n            );\n            currentDetachedCommentInfo = { nodePos: node.pos, detachedCommentEndPos: last(detachedComments).end };\n          }\n        }\n      }\n      return currentDetachedCommentInfo;\n      function isPinnedCommentLocal(comment) {\n        return isPinnedComment(text, comment.pos);\n      }\n    }\n    function writeCommentRange(text, lineMap, writer, commentPos, commentEnd, newLine) {\n      if (text.charCodeAt(commentPos + 1) === 42) {\n        const firstCommentLineAndCharacter = computeLineAndCharacterOfPosition(lineMap, commentPos);\n        const lineCount = lineMap.length;\n        let firstCommentLineIndent;\n        for (let pos = commentPos, currentLine = firstCommentLineAndCharacter.line; pos < commentEnd; currentLine++) {\n          const nextLineStart = currentLine + 1 === lineCount ? text.length + 1 : lineMap[currentLine + 1];\n          if (pos !== commentPos) {\n            if (firstCommentLineIndent === void 0) {\n              firstCommentLineIndent = calculateIndent(text, lineMap[firstCommentLineAndCharacter.line], commentPos);\n            }\n            const currentWriterIndentSpacing = writer.getIndent() * getIndentSize();\n            const spacesToEmit = currentWriterIndentSpacing - firstCommentLineIndent + calculateIndent(text, pos, nextLineStart);\n            if (spacesToEmit > 0) {\n              let numberOfSingleSpacesToEmit = spacesToEmit % getIndentSize();\n              const indentSizeSpaceString = getIndentString((spacesToEmit - numberOfSingleSpacesToEmit) / getIndentSize());\n              writer.rawWrite(indentSizeSpaceString);\n              while (numberOfSingleSpacesToEmit) {\n                writer.rawWrite(\" \");\n                numberOfSingleSpacesToEmit--;\n              }\n            } else {\n              writer.rawWrite(\"\");\n            }\n          }\n          writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart);\n          pos = nextLineStart;\n        }\n      } else {\n        writer.writeComment(text.substring(commentPos, commentEnd));\n      }\n    }\n    function writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart) {\n      const end = Math.min(commentEnd, nextLineStart - 1);\n      const currentLineText = trimString(text.substring(pos, end));\n      if (currentLineText) {\n        writer.writeComment(currentLineText);\n        if (end !== commentEnd) {\n          writer.writeLine();\n        }\n      } else {\n        writer.rawWrite(newLine);\n      }\n    }\n    function calculateIndent(text, pos, end) {\n      let currentLineIndent = 0;\n      for (; pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos)); pos++) {\n        if (text.charCodeAt(pos) === 9) {\n          currentLineIndent += getIndentSize() - currentLineIndent % getIndentSize();\n        } else {\n          currentLineIndent++;\n        }\n      }\n      return currentLineIndent;\n    }\n    function hasEffectiveModifiers(node) {\n      return getEffectiveModifierFlags(node) !== 0;\n    }\n    function hasSyntacticModifiers(node) {\n      return getSyntacticModifierFlags(node) !== 0;\n    }\n    function hasEffectiveModifier(node, flags) {\n      return !!getSelectedEffectiveModifierFlags(node, flags);\n    }\n    function hasSyntacticModifier(node, flags) {\n      return !!getSelectedSyntacticModifierFlags(node, flags);\n    }\n    function isStatic(node) {\n      return isClassElement(node) && hasStaticModifier(node) || isClassStaticBlockDeclaration(node);\n    }\n    function hasStaticModifier(node) {\n      return hasSyntacticModifier(\n        node,\n        32\n        /* Static */\n      );\n    }\n    function hasOverrideModifier(node) {\n      return hasEffectiveModifier(\n        node,\n        16384\n        /* Override */\n      );\n    }\n    function hasAbstractModifier(node) {\n      return hasSyntacticModifier(\n        node,\n        256\n        /* Abstract */\n      );\n    }\n    function hasAmbientModifier(node) {\n      return hasSyntacticModifier(\n        node,\n        2\n        /* Ambient */\n      );\n    }\n    function hasAccessorModifier(node) {\n      return hasSyntacticModifier(\n        node,\n        128\n        /* Accessor */\n      );\n    }\n    function hasEffectiveReadonlyModifier(node) {\n      return hasEffectiveModifier(\n        node,\n        64\n        /* Readonly */\n      );\n    }\n    function hasDecorators(node) {\n      return hasSyntacticModifier(\n        node,\n        131072\n        /* Decorator */\n      );\n    }\n    function getSelectedEffectiveModifierFlags(node, flags) {\n      return getEffectiveModifierFlags(node) & flags;\n    }\n    function getSelectedSyntacticModifierFlags(node, flags) {\n      return getSyntacticModifierFlags(node) & flags;\n    }\n    function getModifierFlagsWorker(node, includeJSDoc, alwaysIncludeJSDoc) {\n      if (node.kind >= 0 && node.kind <= 162) {\n        return 0;\n      }\n      if (!(node.modifierFlagsCache & 536870912)) {\n        node.modifierFlagsCache = getSyntacticModifierFlagsNoCache(node) | 536870912;\n      }\n      if (includeJSDoc && !(node.modifierFlagsCache & 4096) && (alwaysIncludeJSDoc || isInJSFile(node)) && node.parent) {\n        node.modifierFlagsCache |= getJSDocModifierFlagsNoCache(node) | 4096;\n      }\n      return node.modifierFlagsCache & ~(536870912 | 4096);\n    }\n    function getEffectiveModifierFlags(node) {\n      return getModifierFlagsWorker(\n        node,\n        /*includeJSDoc*/\n        true\n      );\n    }\n    function getEffectiveModifierFlagsAlwaysIncludeJSDoc(node) {\n      return getModifierFlagsWorker(\n        node,\n        /*includeJSDOc*/\n        true,\n        /*alwaysIncludeJSDOc*/\n        true\n      );\n    }\n    function getSyntacticModifierFlags(node) {\n      return getModifierFlagsWorker(\n        node,\n        /*includeJSDoc*/\n        false\n      );\n    }\n    function getJSDocModifierFlagsNoCache(node) {\n      let flags = 0;\n      if (!!node.parent && !isParameter(node)) {\n        if (isInJSFile(node)) {\n          if (getJSDocPublicTagNoCache(node))\n            flags |= 4;\n          if (getJSDocPrivateTagNoCache(node))\n            flags |= 8;\n          if (getJSDocProtectedTagNoCache(node))\n            flags |= 16;\n          if (getJSDocReadonlyTagNoCache(node))\n            flags |= 64;\n          if (getJSDocOverrideTagNoCache(node))\n            flags |= 16384;\n        }\n        if (getJSDocDeprecatedTagNoCache(node))\n          flags |= 8192;\n      }\n      return flags;\n    }\n    function getEffectiveModifierFlagsNoCache(node) {\n      return getSyntacticModifierFlagsNoCache(node) | getJSDocModifierFlagsNoCache(node);\n    }\n    function getSyntacticModifierFlagsNoCache(node) {\n      let flags = canHaveModifiers(node) ? modifiersToFlags(node.modifiers) : 0;\n      if (node.flags & 4 || node.kind === 79 && node.flags & 2048) {\n        flags |= 1;\n      }\n      return flags;\n    }\n    function modifiersToFlags(modifiers) {\n      let flags = 0;\n      if (modifiers) {\n        for (const modifier of modifiers) {\n          flags |= modifierToFlag(modifier.kind);\n        }\n      }\n      return flags;\n    }\n    function modifierToFlag(token) {\n      switch (token) {\n        case 124:\n          return 32;\n        case 123:\n          return 4;\n        case 122:\n          return 16;\n        case 121:\n          return 8;\n        case 126:\n          return 256;\n        case 127:\n          return 128;\n        case 93:\n          return 1;\n        case 136:\n          return 2;\n        case 85:\n          return 2048;\n        case 88:\n          return 1024;\n        case 132:\n          return 512;\n        case 146:\n          return 64;\n        case 161:\n          return 16384;\n        case 101:\n          return 32768;\n        case 145:\n          return 65536;\n        case 167:\n          return 131072;\n      }\n      return 0;\n    }\n    function isBinaryLogicalOperator(token) {\n      return token === 56 || token === 55;\n    }\n    function isLogicalOperator(token) {\n      return isBinaryLogicalOperator(token) || token === 53;\n    }\n    function isLogicalOrCoalescingAssignmentOperator(token) {\n      return token === 75 || token === 76 || token === 77;\n    }\n    function isLogicalOrCoalescingAssignmentExpression(expr) {\n      return isBinaryExpression(expr) && isLogicalOrCoalescingAssignmentOperator(expr.operatorToken.kind);\n    }\n    function isLogicalOrCoalescingBinaryOperator(token) {\n      return isBinaryLogicalOperator(token) || token === 60;\n    }\n    function isLogicalOrCoalescingBinaryExpression(expr) {\n      return isBinaryExpression(expr) && isLogicalOrCoalescingBinaryOperator(expr.operatorToken.kind);\n    }\n    function isAssignmentOperator(token) {\n      return token >= 63 && token <= 78;\n    }\n    function tryGetClassExtendingExpressionWithTypeArguments(node) {\n      const cls = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node);\n      return cls && !cls.isImplements ? cls.class : void 0;\n    }\n    function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node) {\n      if (isExpressionWithTypeArguments(node)) {\n        if (isHeritageClause(node.parent) && isClassLike(node.parent.parent)) {\n          return {\n            class: node.parent.parent,\n            isImplements: node.parent.token === 117\n            /* ImplementsKeyword */\n          };\n        }\n        if (isJSDocAugmentsTag(node.parent)) {\n          const host = getEffectiveJSDocHost(node.parent);\n          if (host && isClassLike(host)) {\n            return { class: host, isImplements: false };\n          }\n        }\n      }\n      return void 0;\n    }\n    function isAssignmentExpression(node, excludeCompoundAssignment) {\n      return isBinaryExpression(node) && (excludeCompoundAssignment ? node.operatorToken.kind === 63 : isAssignmentOperator(node.operatorToken.kind)) && isLeftHandSideExpression(node.left);\n    }\n    function isLeftHandSideOfAssignment(node) {\n      return isAssignmentExpression(node.parent) && node.parent.left === node;\n    }\n    function isDestructuringAssignment(node) {\n      if (isAssignmentExpression(\n        node,\n        /*excludeCompoundAssignment*/\n        true\n      )) {\n        const kind = node.left.kind;\n        return kind === 207 || kind === 206;\n      }\n      return false;\n    }\n    function isExpressionWithTypeArgumentsInClassExtendsClause(node) {\n      return tryGetClassExtendingExpressionWithTypeArguments(node) !== void 0;\n    }\n    function isEntityNameExpression(node) {\n      return node.kind === 79 || isPropertyAccessEntityNameExpression(node);\n    }\n    function getFirstIdentifier(node) {\n      switch (node.kind) {\n        case 79:\n          return node;\n        case 163:\n          do {\n            node = node.left;\n          } while (node.kind !== 79);\n          return node;\n        case 208:\n          do {\n            node = node.expression;\n          } while (node.kind !== 79);\n          return node;\n      }\n    }\n    function isDottedName(node) {\n      return node.kind === 79 || node.kind === 108 || node.kind === 106 || node.kind === 233 || node.kind === 208 && isDottedName(node.expression) || node.kind === 214 && isDottedName(node.expression);\n    }\n    function isPropertyAccessEntityNameExpression(node) {\n      return isPropertyAccessExpression(node) && isIdentifier(node.name) && isEntityNameExpression(node.expression);\n    }\n    function tryGetPropertyAccessOrIdentifierToString(expr) {\n      if (isPropertyAccessExpression(expr)) {\n        const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression);\n        if (baseStr !== void 0) {\n          return baseStr + \".\" + entityNameToString(expr.name);\n        }\n      } else if (isElementAccessExpression(expr)) {\n        const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression);\n        if (baseStr !== void 0 && isPropertyName(expr.argumentExpression)) {\n          return baseStr + \".\" + getPropertyNameForPropertyNameNode(expr.argumentExpression);\n        }\n      } else if (isIdentifier(expr)) {\n        return unescapeLeadingUnderscores(expr.escapedText);\n      }\n      return void 0;\n    }\n    function isPrototypeAccess(node) {\n      return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === \"prototype\";\n    }\n    function isRightSideOfQualifiedNameOrPropertyAccess(node) {\n      return node.parent.kind === 163 && node.parent.right === node || node.parent.kind === 208 && node.parent.name === node;\n    }\n    function isRightSideOfAccessExpression(node) {\n      return isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node;\n    }\n    function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(node) {\n      return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node || isJSDocMemberName(node.parent) && node.parent.right === node;\n    }\n    function isEmptyObjectLiteral(expression) {\n      return expression.kind === 207 && expression.properties.length === 0;\n    }\n    function isEmptyArrayLiteral(expression) {\n      return expression.kind === 206 && expression.elements.length === 0;\n    }\n    function getLocalSymbolForExportDefault(symbol) {\n      if (!isExportDefaultSymbol(symbol) || !symbol.declarations)\n        return void 0;\n      for (const decl of symbol.declarations) {\n        if (decl.localSymbol)\n          return decl.localSymbol;\n      }\n      return void 0;\n    }\n    function isExportDefaultSymbol(symbol) {\n      return symbol && length(symbol.declarations) > 0 && hasSyntacticModifier(\n        symbol.declarations[0],\n        1024\n        /* Default */\n      );\n    }\n    function tryExtractTSExtension(fileName) {\n      return find(supportedTSExtensionsForExtractExtension, (extension) => fileExtensionIs(fileName, extension));\n    }\n    function getExpandedCharCodes(input) {\n      const output = [];\n      const length2 = input.length;\n      for (let i = 0; i < length2; i++) {\n        const charCode = input.charCodeAt(i);\n        if (charCode < 128) {\n          output.push(charCode);\n        } else if (charCode < 2048) {\n          output.push(charCode >> 6 | 192);\n          output.push(charCode & 63 | 128);\n        } else if (charCode < 65536) {\n          output.push(charCode >> 12 | 224);\n          output.push(charCode >> 6 & 63 | 128);\n          output.push(charCode & 63 | 128);\n        } else if (charCode < 131072) {\n          output.push(charCode >> 18 | 240);\n          output.push(charCode >> 12 & 63 | 128);\n          output.push(charCode >> 6 & 63 | 128);\n          output.push(charCode & 63 | 128);\n        } else {\n          Debug2.assert(false, \"Unexpected code point\");\n        }\n      }\n      return output;\n    }\n    function convertToBase64(input) {\n      let result = \"\";\n      const charCodes = getExpandedCharCodes(input);\n      let i = 0;\n      const length2 = charCodes.length;\n      let byte1, byte2, byte3, byte4;\n      while (i < length2) {\n        byte1 = charCodes[i] >> 2;\n        byte2 = (charCodes[i] & 3) << 4 | charCodes[i + 1] >> 4;\n        byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6;\n        byte4 = charCodes[i + 2] & 63;\n        if (i + 1 >= length2) {\n          byte3 = byte4 = 64;\n        } else if (i + 2 >= length2) {\n          byte4 = 64;\n        }\n        result += base64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.charAt(byte4);\n        i += 3;\n      }\n      return result;\n    }\n    function getStringFromExpandedCharCodes(codes) {\n      let output = \"\";\n      let i = 0;\n      const length2 = codes.length;\n      while (i < length2) {\n        const charCode = codes[i];\n        if (charCode < 128) {\n          output += String.fromCharCode(charCode);\n          i++;\n        } else if ((charCode & 192) === 192) {\n          let value = charCode & 63;\n          i++;\n          let nextCode = codes[i];\n          while ((nextCode & 192) === 128) {\n            value = value << 6 | nextCode & 63;\n            i++;\n            nextCode = codes[i];\n          }\n          output += String.fromCharCode(value);\n        } else {\n          output += String.fromCharCode(charCode);\n          i++;\n        }\n      }\n      return output;\n    }\n    function base64encode(host, input) {\n      if (host && host.base64encode) {\n        return host.base64encode(input);\n      }\n      return convertToBase64(input);\n    }\n    function base64decode(host, input) {\n      if (host && host.base64decode) {\n        return host.base64decode(input);\n      }\n      const length2 = input.length;\n      const expandedCharCodes = [];\n      let i = 0;\n      while (i < length2) {\n        if (input.charCodeAt(i) === base64Digits.charCodeAt(64)) {\n          break;\n        }\n        const ch1 = base64Digits.indexOf(input[i]);\n        const ch2 = base64Digits.indexOf(input[i + 1]);\n        const ch3 = base64Digits.indexOf(input[i + 2]);\n        const ch4 = base64Digits.indexOf(input[i + 3]);\n        const code1 = (ch1 & 63) << 2 | ch2 >> 4 & 3;\n        const code2 = (ch2 & 15) << 4 | ch3 >> 2 & 15;\n        const code3 = (ch3 & 3) << 6 | ch4 & 63;\n        if (code2 === 0 && ch3 !== 0) {\n          expandedCharCodes.push(code1);\n        } else if (code3 === 0 && ch4 !== 0) {\n          expandedCharCodes.push(code1, code2);\n        } else {\n          expandedCharCodes.push(code1, code2, code3);\n        }\n        i += 4;\n      }\n      return getStringFromExpandedCharCodes(expandedCharCodes);\n    }\n    function readJsonOrUndefined(path, hostOrText) {\n      const jsonText = isString2(hostOrText) ? hostOrText : hostOrText.readFile(path);\n      if (!jsonText)\n        return void 0;\n      const result = parseConfigFileTextToJson(path, jsonText);\n      return !result.error ? result.config : void 0;\n    }\n    function readJson(path, host) {\n      return readJsonOrUndefined(path, host) || {};\n    }\n    function directoryProbablyExists(directoryName, host) {\n      return !host.directoryExists || host.directoryExists(directoryName);\n    }\n    function getNewLineCharacter(options) {\n      switch (options.newLine) {\n        case 0:\n          return carriageReturnLineFeed;\n        case 1:\n        case void 0:\n          return lineFeed;\n      }\n    }\n    function createRange(pos, end = pos) {\n      Debug2.assert(end >= pos || end === -1);\n      return { pos, end };\n    }\n    function moveRangeEnd(range, end) {\n      return createRange(range.pos, end);\n    }\n    function moveRangePos(range, pos) {\n      return createRange(pos, range.end);\n    }\n    function moveRangePastDecorators(node) {\n      const lastDecorator = canHaveModifiers(node) ? findLast(node.modifiers, isDecorator) : void 0;\n      return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? moveRangePos(node, lastDecorator.end) : node;\n    }\n    function moveRangePastModifiers(node) {\n      if (isPropertyDeclaration(node) || isMethodDeclaration(node)) {\n        return moveRangePos(node, node.name.pos);\n      }\n      const lastModifier = canHaveModifiers(node) ? lastOrUndefined(node.modifiers) : void 0;\n      return lastModifier && !positionIsSynthesized(lastModifier.end) ? moveRangePos(node, lastModifier.end) : moveRangePastDecorators(node);\n    }\n    function isCollapsedRange(range) {\n      return range.pos === range.end;\n    }\n    function createTokenRange(pos, token) {\n      return createRange(pos, pos + tokenToString(token).length);\n    }\n    function rangeIsOnSingleLine(range, sourceFile) {\n      return rangeStartIsOnSameLineAsRangeEnd(range, range, sourceFile);\n    }\n    function rangeStartPositionsAreOnSameLine(range1, range2, sourceFile) {\n      return positionsAreOnSameLine(\n        getStartPositionOfRange(\n          range1,\n          sourceFile,\n          /*includeComments*/\n          false\n        ),\n        getStartPositionOfRange(\n          range2,\n          sourceFile,\n          /*includeComments*/\n          false\n        ),\n        sourceFile\n      );\n    }\n    function rangeEndPositionsAreOnSameLine(range1, range2, sourceFile) {\n      return positionsAreOnSameLine(range1.end, range2.end, sourceFile);\n    }\n    function rangeStartIsOnSameLineAsRangeEnd(range1, range2, sourceFile) {\n      return positionsAreOnSameLine(getStartPositionOfRange(\n        range1,\n        sourceFile,\n        /*includeComments*/\n        false\n      ), range2.end, sourceFile);\n    }\n    function rangeEndIsOnSameLineAsRangeStart(range1, range2, sourceFile) {\n      return positionsAreOnSameLine(range1.end, getStartPositionOfRange(\n        range2,\n        sourceFile,\n        /*includeComments*/\n        false\n      ), sourceFile);\n    }\n    function getLinesBetweenRangeEndAndRangeStart(range1, range2, sourceFile, includeSecondRangeComments) {\n      const range2Start = getStartPositionOfRange(range2, sourceFile, includeSecondRangeComments);\n      return getLinesBetweenPositions(sourceFile, range1.end, range2Start);\n    }\n    function getLinesBetweenRangeEndPositions(range1, range2, sourceFile) {\n      return getLinesBetweenPositions(sourceFile, range1.end, range2.end);\n    }\n    function isNodeArrayMultiLine(list, sourceFile) {\n      return !positionsAreOnSameLine(list.pos, list.end, sourceFile);\n    }\n    function positionsAreOnSameLine(pos1, pos2, sourceFile) {\n      return getLinesBetweenPositions(sourceFile, pos1, pos2) === 0;\n    }\n    function getStartPositionOfRange(range, sourceFile, includeComments) {\n      return positionIsSynthesized(range.pos) ? -1 : skipTrivia(\n        sourceFile.text,\n        range.pos,\n        /*stopAfterLineBreak*/\n        false,\n        includeComments\n      );\n    }\n    function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) {\n      const startPos = skipTrivia(\n        sourceFile.text,\n        pos,\n        /*stopAfterLineBreak*/\n        false,\n        includeComments\n      );\n      const prevPos = getPreviousNonWhitespacePosition(startPos, stopPos, sourceFile);\n      return getLinesBetweenPositions(sourceFile, prevPos != null ? prevPos : stopPos, startPos);\n    }\n    function getLinesBetweenPositionAndNextNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) {\n      const nextPos = skipTrivia(\n        sourceFile.text,\n        pos,\n        /*stopAfterLineBreak*/\n        false,\n        includeComments\n      );\n      return getLinesBetweenPositions(sourceFile, pos, Math.min(stopPos, nextPos));\n    }\n    function getPreviousNonWhitespacePosition(pos, stopPos = 0, sourceFile) {\n      while (pos-- > stopPos) {\n        if (!isWhiteSpaceLike(sourceFile.text.charCodeAt(pos))) {\n          return pos;\n        }\n      }\n    }\n    function isDeclarationNameOfEnumOrNamespace(node) {\n      const parseNode = getParseTreeNode(node);\n      if (parseNode) {\n        switch (parseNode.parent.kind) {\n          case 263:\n          case 264:\n            return parseNode === parseNode.parent.name;\n        }\n      }\n      return false;\n    }\n    function getInitializedVariables(node) {\n      return filter(node.declarations, isInitializedVariable);\n    }\n    function isInitializedVariable(node) {\n      return isVariableDeclaration(node) && node.initializer !== void 0;\n    }\n    function isWatchSet(options) {\n      return options.watch && hasProperty(options, \"watch\");\n    }\n    function closeFileWatcher(watcher) {\n      watcher.close();\n    }\n    function getCheckFlags(symbol) {\n      return symbol.flags & 33554432 ? symbol.links.checkFlags : 0;\n    }\n    function getDeclarationModifierFlagsFromSymbol(s, isWrite = false) {\n      if (s.valueDeclaration) {\n        const declaration = isWrite && s.declarations && find(s.declarations, isSetAccessorDeclaration) || s.flags & 32768 && find(s.declarations, isGetAccessorDeclaration) || s.valueDeclaration;\n        const flags = getCombinedModifierFlags(declaration);\n        return s.parent && s.parent.flags & 32 ? flags : flags & ~28;\n      }\n      if (getCheckFlags(s) & 6) {\n        const checkFlags = s.links.checkFlags;\n        const accessModifier = checkFlags & 1024 ? 8 : checkFlags & 256 ? 4 : 16;\n        const staticModifier = checkFlags & 2048 ? 32 : 0;\n        return accessModifier | staticModifier;\n      }\n      if (s.flags & 4194304) {\n        return 4 | 32;\n      }\n      return 0;\n    }\n    function skipAlias(symbol, checker) {\n      return symbol.flags & 2097152 ? checker.getAliasedSymbol(symbol) : symbol;\n    }\n    function getCombinedLocalAndExportSymbolFlags(symbol) {\n      return symbol.exportSymbol ? symbol.exportSymbol.flags | symbol.flags : symbol.flags;\n    }\n    function isWriteOnlyAccess(node) {\n      return accessKind(node) === 1;\n    }\n    function isWriteAccess(node) {\n      return accessKind(node) !== 0;\n    }\n    function accessKind(node) {\n      const { parent: parent2 } = node;\n      if (!parent2)\n        return 0;\n      switch (parent2.kind) {\n        case 214:\n          return accessKind(parent2);\n        case 222:\n        case 221:\n          const { operator } = parent2;\n          return operator === 45 || operator === 46 ? writeOrReadWrite() : 0;\n        case 223:\n          const { left, operatorToken } = parent2;\n          return left === node && isAssignmentOperator(operatorToken.kind) ? operatorToken.kind === 63 ? 1 : writeOrReadWrite() : 0;\n        case 208:\n          return parent2.name !== node ? 0 : accessKind(parent2);\n        case 299: {\n          const parentAccess = accessKind(parent2.parent);\n          return node === parent2.name ? reverseAccessKind(parentAccess) : parentAccess;\n        }\n        case 300:\n          return node === parent2.objectAssignmentInitializer ? 0 : accessKind(parent2.parent);\n        case 206:\n          return accessKind(parent2);\n        default:\n          return 0;\n      }\n      function writeOrReadWrite() {\n        return parent2.parent && walkUpParenthesizedExpressions(parent2.parent).kind === 241 ? 1 : 2;\n      }\n    }\n    function reverseAccessKind(a) {\n      switch (a) {\n        case 0:\n          return 1;\n        case 1:\n          return 0;\n        case 2:\n          return 2;\n        default:\n          return Debug2.assertNever(a);\n      }\n    }\n    function compareDataObjects(dst, src) {\n      if (!dst || !src || Object.keys(dst).length !== Object.keys(src).length) {\n        return false;\n      }\n      for (const e in dst) {\n        if (typeof dst[e] === \"object\") {\n          if (!compareDataObjects(dst[e], src[e])) {\n            return false;\n          }\n        } else if (typeof dst[e] !== \"function\") {\n          if (dst[e] !== src[e]) {\n            return false;\n          }\n        }\n      }\n      return true;\n    }\n    function clearMap(map2, onDeleteValue) {\n      map2.forEach(onDeleteValue);\n      map2.clear();\n    }\n    function mutateMapSkippingNewValues(map2, newMap, options) {\n      const { onDeleteValue, onExistingValue } = options;\n      map2.forEach((existingValue, key) => {\n        const valueInNewMap = newMap.get(key);\n        if (valueInNewMap === void 0) {\n          map2.delete(key);\n          onDeleteValue(existingValue, key);\n        } else if (onExistingValue) {\n          onExistingValue(existingValue, valueInNewMap, key);\n        }\n      });\n    }\n    function mutateMap(map2, newMap, options) {\n      mutateMapSkippingNewValues(map2, newMap, options);\n      const { createNewValue } = options;\n      newMap.forEach((valueInNewMap, key) => {\n        if (!map2.has(key)) {\n          map2.set(key, createNewValue(key, valueInNewMap));\n        }\n      });\n    }\n    function isAbstractConstructorSymbol(symbol) {\n      if (symbol.flags & 32) {\n        const declaration = getClassLikeDeclarationOfSymbol(symbol);\n        return !!declaration && hasSyntacticModifier(\n          declaration,\n          256\n          /* Abstract */\n        );\n      }\n      return false;\n    }\n    function getClassLikeDeclarationOfSymbol(symbol) {\n      var _a22;\n      return (_a22 = symbol.declarations) == null ? void 0 : _a22.find(isClassLike);\n    }\n    function getObjectFlags(type) {\n      return type.flags & 3899393 ? type.objectFlags : 0;\n    }\n    function forSomeAncestorDirectory(directory, callback) {\n      return !!forEachAncestorDirectory(directory, (d) => callback(d) ? true : void 0);\n    }\n    function isUMDExportSymbol(symbol) {\n      return !!symbol && !!symbol.declarations && !!symbol.declarations[0] && isNamespaceExportDeclaration(symbol.declarations[0]);\n    }\n    function showModuleSpecifier({ moduleSpecifier }) {\n      return isStringLiteral(moduleSpecifier) ? moduleSpecifier.text : getTextOfNode(moduleSpecifier);\n    }\n    function getLastChild(node) {\n      let lastChild;\n      forEachChild(\n        node,\n        (child) => {\n          if (nodeIsPresent(child))\n            lastChild = child;\n        },\n        (children) => {\n          for (let i = children.length - 1; i >= 0; i--) {\n            if (nodeIsPresent(children[i])) {\n              lastChild = children[i];\n              break;\n            }\n          }\n        }\n      );\n      return lastChild;\n    }\n    function addToSeen(seen, key, value = true) {\n      if (seen.has(key)) {\n        return false;\n      }\n      seen.set(key, value);\n      return true;\n    }\n    function isObjectTypeDeclaration(node) {\n      return isClassLike(node) || isInterfaceDeclaration(node) || isTypeLiteralNode(node);\n    }\n    function isTypeNodeKind(kind) {\n      return kind >= 179 && kind <= 202 || kind === 131 || kind === 157 || kind === 148 || kind === 160 || kind === 149 || kind === 134 || kind === 152 || kind === 153 || kind === 114 || kind === 155 || kind === 144 || kind === 139 || kind === 230 || kind === 315 || kind === 316 || kind === 317 || kind === 318 || kind === 319 || kind === 320 || kind === 321;\n    }\n    function isAccessExpression(node) {\n      return node.kind === 208 || node.kind === 209;\n    }\n    function getNameOfAccessExpression(node) {\n      if (node.kind === 208) {\n        return node.name;\n      }\n      Debug2.assert(\n        node.kind === 209\n        /* ElementAccessExpression */\n      );\n      return node.argumentExpression;\n    }\n    function isBundleFileTextLike(section) {\n      switch (section.kind) {\n        case \"text\":\n        case \"internal\":\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isNamedImportsOrExports(node) {\n      return node.kind === 272 || node.kind === 276;\n    }\n    function getLeftmostAccessExpression(expr) {\n      while (isAccessExpression(expr)) {\n        expr = expr.expression;\n      }\n      return expr;\n    }\n    function forEachNameInAccessChainWalkingLeft(name, action) {\n      if (isAccessExpression(name.parent) && isRightSideOfAccessExpression(name)) {\n        return walkAccessExpression(name.parent);\n      }\n      function walkAccessExpression(access) {\n        if (access.kind === 208) {\n          const res = action(access.name);\n          if (res !== void 0) {\n            return res;\n          }\n        } else if (access.kind === 209) {\n          if (isIdentifier(access.argumentExpression) || isStringLiteralLike(access.argumentExpression)) {\n            const res = action(access.argumentExpression);\n            if (res !== void 0) {\n              return res;\n            }\n          } else {\n            return void 0;\n          }\n        }\n        if (isAccessExpression(access.expression)) {\n          return walkAccessExpression(access.expression);\n        }\n        if (isIdentifier(access.expression)) {\n          return action(access.expression);\n        }\n        return void 0;\n      }\n    }\n    function getLeftmostExpression(node, stopAtCallExpressions) {\n      while (true) {\n        switch (node.kind) {\n          case 222:\n            node = node.operand;\n            continue;\n          case 223:\n            node = node.left;\n            continue;\n          case 224:\n            node = node.condition;\n            continue;\n          case 212:\n            node = node.tag;\n            continue;\n          case 210:\n            if (stopAtCallExpressions) {\n              return node;\n            }\n          case 231:\n          case 209:\n          case 208:\n          case 232:\n          case 356:\n          case 235:\n            node = node.expression;\n            continue;\n        }\n        return node;\n      }\n    }\n    function Symbol4(flags, name) {\n      this.flags = flags;\n      this.escapedName = name;\n      this.declarations = void 0;\n      this.valueDeclaration = void 0;\n      this.id = 0;\n      this.mergeId = 0;\n      this.parent = void 0;\n      this.members = void 0;\n      this.exports = void 0;\n      this.exportSymbol = void 0;\n      this.constEnumOnlyModule = void 0;\n      this.isReferenced = void 0;\n      this.isAssigned = void 0;\n      this.links = void 0;\n    }\n    function Type3(checker, flags) {\n      this.flags = flags;\n      if (Debug2.isDebugging || tracing) {\n        this.checker = checker;\n      }\n    }\n    function Signature2(checker, flags) {\n      this.flags = flags;\n      if (Debug2.isDebugging) {\n        this.checker = checker;\n      }\n    }\n    function Node4(kind, pos, end) {\n      this.pos = pos;\n      this.end = end;\n      this.kind = kind;\n      this.id = 0;\n      this.flags = 0;\n      this.modifierFlagsCache = 0;\n      this.transformFlags = 0;\n      this.parent = void 0;\n      this.original = void 0;\n      this.emitNode = void 0;\n    }\n    function Token2(kind, pos, end) {\n      this.pos = pos;\n      this.end = end;\n      this.kind = kind;\n      this.id = 0;\n      this.flags = 0;\n      this.transformFlags = 0;\n      this.parent = void 0;\n      this.emitNode = void 0;\n    }\n    function Identifier2(kind, pos, end) {\n      this.pos = pos;\n      this.end = end;\n      this.kind = kind;\n      this.id = 0;\n      this.flags = 0;\n      this.transformFlags = 0;\n      this.parent = void 0;\n      this.original = void 0;\n      this.emitNode = void 0;\n    }\n    function SourceMapSource(fileName, text, skipTrivia2) {\n      this.fileName = fileName;\n      this.text = text;\n      this.skipTrivia = skipTrivia2 || ((pos) => pos);\n    }\n    function addObjectAllocatorPatcher(fn) {\n      objectAllocatorPatchers.push(fn);\n      fn(objectAllocator);\n    }\n    function setObjectAllocator(alloc) {\n      Object.assign(objectAllocator, alloc);\n      forEach(objectAllocatorPatchers, (fn) => fn(objectAllocator));\n    }\n    function formatStringFromArgs(text, args, baseIndex = 0) {\n      return text.replace(/{(\\d+)}/g, (_match, index) => \"\" + Debug2.checkDefined(args[+index + baseIndex]));\n    }\n    function setLocalizedDiagnosticMessages(messages) {\n      localizedDiagnosticMessages = messages;\n    }\n    function maybeSetLocalizedDiagnosticMessages(getMessages) {\n      if (!localizedDiagnosticMessages && getMessages) {\n        localizedDiagnosticMessages = getMessages();\n      }\n    }\n    function getLocaleSpecificMessage(message) {\n      return localizedDiagnosticMessages && localizedDiagnosticMessages[message.key] || message.message;\n    }\n    function createDetachedDiagnostic(fileName, start, length2, message) {\n      assertDiagnosticLocation(\n        /*file*/\n        void 0,\n        start,\n        length2\n      );\n      let text = getLocaleSpecificMessage(message);\n      if (arguments.length > 4) {\n        text = formatStringFromArgs(text, arguments, 4);\n      }\n      return {\n        file: void 0,\n        start,\n        length: length2,\n        messageText: text,\n        category: message.category,\n        code: message.code,\n        reportsUnnecessary: message.reportsUnnecessary,\n        fileName\n      };\n    }\n    function isDiagnosticWithDetachedLocation(diagnostic) {\n      return diagnostic.file === void 0 && diagnostic.start !== void 0 && diagnostic.length !== void 0 && typeof diagnostic.fileName === \"string\";\n    }\n    function attachFileToDiagnostic(diagnostic, file) {\n      const fileName = file.fileName || \"\";\n      const length2 = file.text.length;\n      Debug2.assertEqual(diagnostic.fileName, fileName);\n      Debug2.assertLessThanOrEqual(diagnostic.start, length2);\n      Debug2.assertLessThanOrEqual(diagnostic.start + diagnostic.length, length2);\n      const diagnosticWithLocation = {\n        file,\n        start: diagnostic.start,\n        length: diagnostic.length,\n        messageText: diagnostic.messageText,\n        category: diagnostic.category,\n        code: diagnostic.code,\n        reportsUnnecessary: diagnostic.reportsUnnecessary\n      };\n      if (diagnostic.relatedInformation) {\n        diagnosticWithLocation.relatedInformation = [];\n        for (const related of diagnostic.relatedInformation) {\n          if (isDiagnosticWithDetachedLocation(related) && related.fileName === fileName) {\n            Debug2.assertLessThanOrEqual(related.start, length2);\n            Debug2.assertLessThanOrEqual(related.start + related.length, length2);\n            diagnosticWithLocation.relatedInformation.push(attachFileToDiagnostic(related, file));\n          } else {\n            diagnosticWithLocation.relatedInformation.push(related);\n          }\n        }\n      }\n      return diagnosticWithLocation;\n    }\n    function attachFileToDiagnostics(diagnostics, file) {\n      const diagnosticsWithLocation = [];\n      for (const diagnostic of diagnostics) {\n        diagnosticsWithLocation.push(attachFileToDiagnostic(diagnostic, file));\n      }\n      return diagnosticsWithLocation;\n    }\n    function createFileDiagnostic(file, start, length2, message) {\n      assertDiagnosticLocation(file, start, length2);\n      let text = getLocaleSpecificMessage(message);\n      if (arguments.length > 4) {\n        text = formatStringFromArgs(text, arguments, 4);\n      }\n      return {\n        file,\n        start,\n        length: length2,\n        messageText: text,\n        category: message.category,\n        code: message.code,\n        reportsUnnecessary: message.reportsUnnecessary,\n        reportsDeprecated: message.reportsDeprecated\n      };\n    }\n    function formatMessage(_dummy, message) {\n      let text = getLocaleSpecificMessage(message);\n      if (arguments.length > 2) {\n        text = formatStringFromArgs(text, arguments, 2);\n      }\n      return text;\n    }\n    function createCompilerDiagnostic(message) {\n      let text = getLocaleSpecificMessage(message);\n      if (arguments.length > 1) {\n        text = formatStringFromArgs(text, arguments, 1);\n      }\n      return {\n        file: void 0,\n        start: void 0,\n        length: void 0,\n        messageText: text,\n        category: message.category,\n        code: message.code,\n        reportsUnnecessary: message.reportsUnnecessary,\n        reportsDeprecated: message.reportsDeprecated\n      };\n    }\n    function createCompilerDiagnosticFromMessageChain(chain, relatedInformation) {\n      return {\n        file: void 0,\n        start: void 0,\n        length: void 0,\n        code: chain.code,\n        category: chain.category,\n        messageText: chain.next ? chain : chain.messageText,\n        relatedInformation\n      };\n    }\n    function chainDiagnosticMessages(details, message) {\n      let text = getLocaleSpecificMessage(message);\n      if (arguments.length > 2) {\n        text = formatStringFromArgs(text, arguments, 2);\n      }\n      return {\n        messageText: text,\n        category: message.category,\n        code: message.code,\n        next: details === void 0 || Array.isArray(details) ? details : [details]\n      };\n    }\n    function concatenateDiagnosticMessageChains(headChain, tailChain) {\n      let lastChain = headChain;\n      while (lastChain.next) {\n        lastChain = lastChain.next[0];\n      }\n      lastChain.next = [tailChain];\n    }\n    function getDiagnosticFilePath(diagnostic) {\n      return diagnostic.file ? diagnostic.file.path : void 0;\n    }\n    function compareDiagnostics(d1, d2) {\n      return compareDiagnosticsSkipRelatedInformation(d1, d2) || compareRelatedInformation(d1, d2) || 0;\n    }\n    function compareDiagnosticsSkipRelatedInformation(d1, d2) {\n      return compareStringsCaseSensitive(getDiagnosticFilePath(d1), getDiagnosticFilePath(d2)) || compareValues(d1.start, d2.start) || compareValues(d1.length, d2.length) || compareValues(d1.code, d2.code) || compareMessageText(d1.messageText, d2.messageText) || 0;\n    }\n    function compareRelatedInformation(d1, d2) {\n      if (!d1.relatedInformation && !d2.relatedInformation) {\n        return 0;\n      }\n      if (d1.relatedInformation && d2.relatedInformation) {\n        return compareValues(d1.relatedInformation.length, d2.relatedInformation.length) || forEach(d1.relatedInformation, (d1i, index) => {\n          const d2i = d2.relatedInformation[index];\n          return compareDiagnostics(d1i, d2i);\n        }) || 0;\n      }\n      return d1.relatedInformation ? -1 : 1;\n    }\n    function compareMessageText(t1, t2) {\n      if (typeof t1 === \"string\" && typeof t2 === \"string\") {\n        return compareStringsCaseSensitive(t1, t2);\n      } else if (typeof t1 === \"string\") {\n        return -1;\n      } else if (typeof t2 === \"string\") {\n        return 1;\n      }\n      let res = compareStringsCaseSensitive(t1.messageText, t2.messageText);\n      if (res) {\n        return res;\n      }\n      if (!t1.next && !t2.next) {\n        return 0;\n      }\n      if (!t1.next) {\n        return -1;\n      }\n      if (!t2.next) {\n        return 1;\n      }\n      const len = Math.min(t1.next.length, t2.next.length);\n      for (let i = 0; i < len; i++) {\n        res = compareMessageText(t1.next[i], t2.next[i]);\n        if (res) {\n          return res;\n        }\n      }\n      if (t1.next.length < t2.next.length) {\n        return -1;\n      } else if (t1.next.length > t2.next.length) {\n        return 1;\n      }\n      return 0;\n    }\n    function getLanguageVariant(scriptKind) {\n      return scriptKind === 4 || scriptKind === 2 || scriptKind === 1 || scriptKind === 6 ? 1 : 0;\n    }\n    function walkTreeForJSXTags(node) {\n      if (!(node.transformFlags & 2))\n        return void 0;\n      return isJsxOpeningLikeElement(node) || isJsxFragment(node) ? node : forEachChild(node, walkTreeForJSXTags);\n    }\n    function isFileModuleFromUsingJSXTag(file) {\n      return !file.isDeclarationFile ? walkTreeForJSXTags(file) : void 0;\n    }\n    function isFileForcedToBeModuleByFormat(file) {\n      return (file.impliedNodeFormat === 99 || fileExtensionIsOneOf(file.fileName, [\n        \".cjs\",\n        \".cts\",\n        \".mjs\",\n        \".mts\"\n        /* Mts */\n      ])) && !file.isDeclarationFile ? true : void 0;\n    }\n    function getSetExternalModuleIndicator(options) {\n      switch (getEmitModuleDetectionKind(options)) {\n        case 3:\n          return (file) => {\n            file.externalModuleIndicator = isFileProbablyExternalModule(file) || !file.isDeclarationFile || void 0;\n          };\n        case 1:\n          return (file) => {\n            file.externalModuleIndicator = isFileProbablyExternalModule(file);\n          };\n        case 2:\n          const checks = [isFileProbablyExternalModule];\n          if (options.jsx === 4 || options.jsx === 5) {\n            checks.push(isFileModuleFromUsingJSXTag);\n          }\n          checks.push(isFileForcedToBeModuleByFormat);\n          const combined = or(...checks);\n          const callback = (file) => void (file.externalModuleIndicator = combined(file));\n          return callback;\n      }\n    }\n    function getEmitScriptTarget(compilerOptions) {\n      var _a22;\n      return (_a22 = compilerOptions.target) != null ? _a22 : compilerOptions.module === 100 && 9 || compilerOptions.module === 199 && 99 || 1;\n    }\n    function getEmitModuleKind(compilerOptions) {\n      return typeof compilerOptions.module === \"number\" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 ? 5 : 1;\n    }\n    function emitModuleKindIsNonNodeESM(moduleKind) {\n      return moduleKind >= 5 && moduleKind <= 99;\n    }\n    function getEmitModuleResolutionKind(compilerOptions) {\n      let moduleResolution = compilerOptions.moduleResolution;\n      if (moduleResolution === void 0) {\n        switch (getEmitModuleKind(compilerOptions)) {\n          case 1:\n            moduleResolution = 2;\n            break;\n          case 100:\n            moduleResolution = 3;\n            break;\n          case 199:\n            moduleResolution = 99;\n            break;\n          default:\n            moduleResolution = 1;\n            break;\n        }\n      }\n      return moduleResolution;\n    }\n    function getEmitModuleDetectionKind(options) {\n      return options.moduleDetection || (getEmitModuleKind(options) === 100 || getEmitModuleKind(options) === 199 ? 3 : 2);\n    }\n    function hasJsonModuleEmitEnabled(options) {\n      switch (getEmitModuleKind(options)) {\n        case 1:\n        case 2:\n        case 5:\n        case 6:\n        case 7:\n        case 99:\n        case 100:\n        case 199:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function getIsolatedModules(options) {\n      return !!(options.isolatedModules || options.verbatimModuleSyntax);\n    }\n    function importNameElisionDisabled(options) {\n      return options.verbatimModuleSyntax || options.isolatedModules && options.preserveValueImports;\n    }\n    function unreachableCodeIsError(options) {\n      return options.allowUnreachableCode === false;\n    }\n    function unusedLabelIsError(options) {\n      return options.allowUnusedLabels === false;\n    }\n    function getAreDeclarationMapsEnabled(options) {\n      return !!(getEmitDeclarations(options) && options.declarationMap);\n    }\n    function getESModuleInterop(compilerOptions) {\n      if (compilerOptions.esModuleInterop !== void 0) {\n        return compilerOptions.esModuleInterop;\n      }\n      switch (getEmitModuleKind(compilerOptions)) {\n        case 100:\n        case 199:\n          return true;\n      }\n      return void 0;\n    }\n    function getAllowSyntheticDefaultImports(compilerOptions) {\n      if (compilerOptions.allowSyntheticDefaultImports !== void 0) {\n        return compilerOptions.allowSyntheticDefaultImports;\n      }\n      return getESModuleInterop(compilerOptions) || getEmitModuleKind(compilerOptions) === 4 || getEmitModuleResolutionKind(compilerOptions) === 100;\n    }\n    function moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution) {\n      return moduleResolution >= 3 && moduleResolution <= 99 || moduleResolution === 100;\n    }\n    function getResolvePackageJsonExports(compilerOptions) {\n      const moduleResolution = getEmitModuleResolutionKind(compilerOptions);\n      if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {\n        return false;\n      }\n      if (compilerOptions.resolvePackageJsonExports !== void 0) {\n        return compilerOptions.resolvePackageJsonExports;\n      }\n      switch (moduleResolution) {\n        case 3:\n        case 99:\n        case 100:\n          return true;\n      }\n      return false;\n    }\n    function getResolvePackageJsonImports(compilerOptions) {\n      const moduleResolution = getEmitModuleResolutionKind(compilerOptions);\n      if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {\n        return false;\n      }\n      if (compilerOptions.resolvePackageJsonExports !== void 0) {\n        return compilerOptions.resolvePackageJsonExports;\n      }\n      switch (moduleResolution) {\n        case 3:\n        case 99:\n        case 100:\n          return true;\n      }\n      return false;\n    }\n    function getResolveJsonModule(compilerOptions) {\n      if (compilerOptions.resolveJsonModule !== void 0) {\n        return compilerOptions.resolveJsonModule;\n      }\n      return getEmitModuleResolutionKind(compilerOptions) === 100;\n    }\n    function getEmitDeclarations(compilerOptions) {\n      return !!(compilerOptions.declaration || compilerOptions.composite);\n    }\n    function shouldPreserveConstEnums(compilerOptions) {\n      return !!(compilerOptions.preserveConstEnums || getIsolatedModules(compilerOptions));\n    }\n    function isIncrementalCompilation(options) {\n      return !!(options.incremental || options.composite);\n    }\n    function getStrictOptionValue(compilerOptions, flag) {\n      return compilerOptions[flag] === void 0 ? !!compilerOptions.strict : !!compilerOptions[flag];\n    }\n    function getAllowJSCompilerOption(compilerOptions) {\n      return compilerOptions.allowJs === void 0 ? !!compilerOptions.checkJs : compilerOptions.allowJs;\n    }\n    function getUseDefineForClassFields(compilerOptions) {\n      return compilerOptions.useDefineForClassFields === void 0 ? getEmitScriptTarget(compilerOptions) >= 9 : compilerOptions.useDefineForClassFields;\n    }\n    function compilerOptionsAffectSemanticDiagnostics(newOptions, oldOptions) {\n      return optionsHaveChanges(oldOptions, newOptions, semanticDiagnosticsOptionDeclarations);\n    }\n    function compilerOptionsAffectEmit(newOptions, oldOptions) {\n      return optionsHaveChanges(oldOptions, newOptions, affectsEmitOptionDeclarations);\n    }\n    function compilerOptionsAffectDeclarationPath(newOptions, oldOptions) {\n      return optionsHaveChanges(oldOptions, newOptions, affectsDeclarationPathOptionDeclarations);\n    }\n    function getCompilerOptionValue(options, option) {\n      return option.strictFlag ? getStrictOptionValue(options, option.name) : options[option.name];\n    }\n    function getJSXTransformEnabled(options) {\n      const jsx = options.jsx;\n      return jsx === 2 || jsx === 4 || jsx === 5;\n    }\n    function getJSXImplicitImportBase(compilerOptions, file) {\n      const jsxImportSourcePragmas = file == null ? void 0 : file.pragmas.get(\"jsximportsource\");\n      const jsxImportSourcePragma = isArray(jsxImportSourcePragmas) ? jsxImportSourcePragmas[jsxImportSourcePragmas.length - 1] : jsxImportSourcePragmas;\n      return compilerOptions.jsx === 4 || compilerOptions.jsx === 5 || compilerOptions.jsxImportSource || jsxImportSourcePragma ? (jsxImportSourcePragma == null ? void 0 : jsxImportSourcePragma.arguments.factory) || compilerOptions.jsxImportSource || \"react\" : void 0;\n    }\n    function getJSXRuntimeImport(base, options) {\n      return base ? `${base}/${options.jsx === 5 ? \"jsx-dev-runtime\" : \"jsx-runtime\"}` : void 0;\n    }\n    function hasZeroOrOneAsteriskCharacter(str) {\n      let seenAsterisk = false;\n      for (let i = 0; i < str.length; i++) {\n        if (str.charCodeAt(i) === 42) {\n          if (!seenAsterisk) {\n            seenAsterisk = true;\n          } else {\n            return false;\n          }\n        }\n      }\n      return true;\n    }\n    function createSymlinkCache(cwd2, getCanonicalFileName) {\n      let symlinkedDirectories;\n      let symlinkedDirectoriesByRealpath;\n      let symlinkedFiles;\n      let hasProcessedResolutions = false;\n      return {\n        getSymlinkedFiles: () => symlinkedFiles,\n        getSymlinkedDirectories: () => symlinkedDirectories,\n        getSymlinkedDirectoriesByRealpath: () => symlinkedDirectoriesByRealpath,\n        setSymlinkedFile: (path, real) => (symlinkedFiles || (symlinkedFiles = /* @__PURE__ */ new Map())).set(path, real),\n        setSymlinkedDirectory: (symlink, real) => {\n          let symlinkPath = toPath(symlink, cwd2, getCanonicalFileName);\n          if (!containsIgnoredPath(symlinkPath)) {\n            symlinkPath = ensureTrailingDirectorySeparator(symlinkPath);\n            if (real !== false && !(symlinkedDirectories == null ? void 0 : symlinkedDirectories.has(symlinkPath))) {\n              (symlinkedDirectoriesByRealpath || (symlinkedDirectoriesByRealpath = createMultiMap())).add(ensureTrailingDirectorySeparator(real.realPath), symlink);\n            }\n            (symlinkedDirectories || (symlinkedDirectories = /* @__PURE__ */ new Map())).set(symlinkPath, real);\n          }\n        },\n        setSymlinksFromResolutions(files, typeReferenceDirectives) {\n          var _a22, _b3;\n          Debug2.assert(!hasProcessedResolutions);\n          hasProcessedResolutions = true;\n          for (const file of files) {\n            (_a22 = file.resolvedModules) == null ? void 0 : _a22.forEach((resolution) => processResolution(this, resolution.resolvedModule));\n            (_b3 = file.resolvedTypeReferenceDirectiveNames) == null ? void 0 : _b3.forEach((resolution) => processResolution(this, resolution.resolvedTypeReferenceDirective));\n          }\n          typeReferenceDirectives.forEach((resolution) => processResolution(this, resolution.resolvedTypeReferenceDirective));\n        },\n        hasProcessedResolutions: () => hasProcessedResolutions\n      };\n      function processResolution(cache, resolution) {\n        if (!resolution || !resolution.originalPath || !resolution.resolvedFileName)\n          return;\n        const { resolvedFileName, originalPath } = resolution;\n        cache.setSymlinkedFile(toPath(originalPath, cwd2, getCanonicalFileName), resolvedFileName);\n        const [commonResolved, commonOriginal] = guessDirectorySymlink(resolvedFileName, originalPath, cwd2, getCanonicalFileName) || emptyArray;\n        if (commonResolved && commonOriginal) {\n          cache.setSymlinkedDirectory(\n            commonOriginal,\n            { real: commonResolved, realPath: toPath(commonResolved, cwd2, getCanonicalFileName) }\n          );\n        }\n      }\n    }\n    function guessDirectorySymlink(a, b, cwd2, getCanonicalFileName) {\n      const aParts = getPathComponents(getNormalizedAbsolutePath(a, cwd2));\n      const bParts = getPathComponents(getNormalizedAbsolutePath(b, cwd2));\n      let isDirectory = false;\n      while (aParts.length >= 2 && bParts.length >= 2 && !isNodeModulesOrScopedPackageDirectory(aParts[aParts.length - 2], getCanonicalFileName) && !isNodeModulesOrScopedPackageDirectory(bParts[bParts.length - 2], getCanonicalFileName) && getCanonicalFileName(aParts[aParts.length - 1]) === getCanonicalFileName(bParts[bParts.length - 1])) {\n        aParts.pop();\n        bParts.pop();\n        isDirectory = true;\n      }\n      return isDirectory ? [getPathFromPathComponents(aParts), getPathFromPathComponents(bParts)] : void 0;\n    }\n    function isNodeModulesOrScopedPackageDirectory(s, getCanonicalFileName) {\n      return s !== void 0 && (getCanonicalFileName(s) === \"node_modules\" || startsWith(s, \"@\"));\n    }\n    function stripLeadingDirectorySeparator(s) {\n      return isAnyDirectorySeparator(s.charCodeAt(0)) ? s.slice(1) : void 0;\n    }\n    function tryRemoveDirectoryPrefix(path, dirPath, getCanonicalFileName) {\n      const withoutPrefix = tryRemovePrefix(path, dirPath, getCanonicalFileName);\n      return withoutPrefix === void 0 ? void 0 : stripLeadingDirectorySeparator(withoutPrefix);\n    }\n    function regExpEscape(text) {\n      return text.replace(reservedCharacterPattern, escapeRegExpCharacter);\n    }\n    function escapeRegExpCharacter(match) {\n      return \"\\\\\" + match;\n    }\n    function getRegularExpressionForWildcard(specs, basePath, usage) {\n      const patterns = getRegularExpressionsForWildcards(specs, basePath, usage);\n      if (!patterns || !patterns.length) {\n        return void 0;\n      }\n      const pattern = patterns.map((pattern2) => `(${pattern2})`).join(\"|\");\n      const terminator = usage === \"exclude\" ? \"($|/)\" : \"$\";\n      return `^(${pattern})${terminator}`;\n    }\n    function getRegularExpressionsForWildcards(specs, basePath, usage) {\n      if (specs === void 0 || specs.length === 0) {\n        return void 0;\n      }\n      return flatMap(specs, (spec) => spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]));\n    }\n    function isImplicitGlob(lastPathComponent) {\n      return !/[.*?]/.test(lastPathComponent);\n    }\n    function getPatternFromSpec(spec, basePath, usage) {\n      const pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]);\n      return pattern && `^(${pattern})${usage === \"exclude\" ? \"($|/)\" : \"$\"}`;\n    }\n    function getSubPatternFromSpec(spec, basePath, usage, { singleAsteriskRegexFragment, doubleAsteriskRegexFragment, replaceWildcardCharacter: replaceWildcardCharacter2 }) {\n      let subpattern = \"\";\n      let hasWrittenComponent = false;\n      const components = getNormalizedPathComponents(spec, basePath);\n      const lastComponent = last(components);\n      if (usage !== \"exclude\" && lastComponent === \"**\") {\n        return void 0;\n      }\n      components[0] = removeTrailingDirectorySeparator(components[0]);\n      if (isImplicitGlob(lastComponent)) {\n        components.push(\"**\", \"*\");\n      }\n      let optionalCount = 0;\n      for (let component of components) {\n        if (component === \"**\") {\n          subpattern += doubleAsteriskRegexFragment;\n        } else {\n          if (usage === \"directories\") {\n            subpattern += \"(\";\n            optionalCount++;\n          }\n          if (hasWrittenComponent) {\n            subpattern += directorySeparator;\n          }\n          if (usage !== \"exclude\") {\n            let componentPattern = \"\";\n            if (component.charCodeAt(0) === 42) {\n              componentPattern += \"([^./]\" + singleAsteriskRegexFragment + \")?\";\n              component = component.substr(1);\n            } else if (component.charCodeAt(0) === 63) {\n              componentPattern += \"[^./]\";\n              component = component.substr(1);\n            }\n            componentPattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2);\n            if (componentPattern !== component) {\n              subpattern += implicitExcludePathRegexPattern;\n            }\n            subpattern += componentPattern;\n          } else {\n            subpattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2);\n          }\n        }\n        hasWrittenComponent = true;\n      }\n      while (optionalCount > 0) {\n        subpattern += \")?\";\n        optionalCount--;\n      }\n      return subpattern;\n    }\n    function replaceWildcardCharacter(match, singleAsteriskRegexFragment) {\n      return match === \"*\" ? singleAsteriskRegexFragment : match === \"?\" ? \"[^/]\" : \"\\\\\" + match;\n    }\n    function getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames, currentDirectory) {\n      path = normalizePath(path);\n      currentDirectory = normalizePath(currentDirectory);\n      const absolutePath = combinePaths(currentDirectory, path);\n      return {\n        includeFilePatterns: map(getRegularExpressionsForWildcards(includes, absolutePath, \"files\"), (pattern) => `^${pattern}$`),\n        includeFilePattern: getRegularExpressionForWildcard(includes, absolutePath, \"files\"),\n        includeDirectoryPattern: getRegularExpressionForWildcard(includes, absolutePath, \"directories\"),\n        excludePattern: getRegularExpressionForWildcard(excludes, absolutePath, \"exclude\"),\n        basePaths: getBasePaths(path, includes, useCaseSensitiveFileNames)\n      };\n    }\n    function getRegexFromPattern(pattern, useCaseSensitiveFileNames) {\n      return new RegExp(pattern, useCaseSensitiveFileNames ? \"\" : \"i\");\n    }\n    function matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath) {\n      path = normalizePath(path);\n      currentDirectory = normalizePath(currentDirectory);\n      const patterns = getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames, currentDirectory);\n      const includeFileRegexes = patterns.includeFilePatterns && patterns.includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, useCaseSensitiveFileNames));\n      const includeDirectoryRegex = patterns.includeDirectoryPattern && getRegexFromPattern(patterns.includeDirectoryPattern, useCaseSensitiveFileNames);\n      const excludeRegex = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, useCaseSensitiveFileNames);\n      const results = includeFileRegexes ? includeFileRegexes.map(() => []) : [[]];\n      const visited = /* @__PURE__ */ new Map();\n      const toCanonical = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      for (const basePath of patterns.basePaths) {\n        visitDirectory(basePath, combinePaths(currentDirectory, basePath), depth);\n      }\n      return flatten(results);\n      function visitDirectory(path2, absolutePath, depth2) {\n        const canonicalPath = toCanonical(realpath(absolutePath));\n        if (visited.has(canonicalPath))\n          return;\n        visited.set(canonicalPath, true);\n        const { files, directories } = getFileSystemEntries(path2);\n        for (const current of sort(files, compareStringsCaseSensitive)) {\n          const name = combinePaths(path2, current);\n          const absoluteName = combinePaths(absolutePath, current);\n          if (extensions && !fileExtensionIsOneOf(name, extensions))\n            continue;\n          if (excludeRegex && excludeRegex.test(absoluteName))\n            continue;\n          if (!includeFileRegexes) {\n            results[0].push(name);\n          } else {\n            const includeIndex = findIndex(includeFileRegexes, (re) => re.test(absoluteName));\n            if (includeIndex !== -1) {\n              results[includeIndex].push(name);\n            }\n          }\n        }\n        if (depth2 !== void 0) {\n          depth2--;\n          if (depth2 === 0) {\n            return;\n          }\n        }\n        for (const current of sort(directories, compareStringsCaseSensitive)) {\n          const name = combinePaths(path2, current);\n          const absoluteName = combinePaths(absolutePath, current);\n          if ((!includeDirectoryRegex || includeDirectoryRegex.test(absoluteName)) && (!excludeRegex || !excludeRegex.test(absoluteName))) {\n            visitDirectory(name, absoluteName, depth2);\n          }\n        }\n      }\n    }\n    function getBasePaths(path, includes, useCaseSensitiveFileNames) {\n      const basePaths = [path];\n      if (includes) {\n        const includeBasePaths = [];\n        for (const include of includes) {\n          const absolute = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, include));\n          includeBasePaths.push(getIncludeBasePath(absolute));\n        }\n        includeBasePaths.sort(getStringComparer(!useCaseSensitiveFileNames));\n        for (const includeBasePath of includeBasePaths) {\n          if (every(basePaths, (basePath) => !containsPath(basePath, includeBasePath, path, !useCaseSensitiveFileNames))) {\n            basePaths.push(includeBasePath);\n          }\n        }\n      }\n      return basePaths;\n    }\n    function getIncludeBasePath(absolute) {\n      const wildcardOffset = indexOfAnyCharCode(absolute, wildcardCharCodes);\n      if (wildcardOffset < 0) {\n        return !hasExtension(absolute) ? absolute : removeTrailingDirectorySeparator(getDirectoryPath(absolute));\n      }\n      return absolute.substring(0, absolute.lastIndexOf(directorySeparator, wildcardOffset));\n    }\n    function ensureScriptKind(fileName, scriptKind) {\n      return scriptKind || getScriptKindFromFileName(fileName) || 3;\n    }\n    function getScriptKindFromFileName(fileName) {\n      const ext = fileName.substr(fileName.lastIndexOf(\".\"));\n      switch (ext.toLowerCase()) {\n        case \".js\":\n        case \".cjs\":\n        case \".mjs\":\n          return 1;\n        case \".jsx\":\n          return 2;\n        case \".ts\":\n        case \".cts\":\n        case \".mts\":\n          return 3;\n        case \".tsx\":\n          return 4;\n        case \".json\":\n          return 6;\n        default:\n          return 0;\n      }\n    }\n    function getSupportedExtensions(options, extraFileExtensions) {\n      const needJsExtensions = options && getAllowJSCompilerOption(options);\n      if (!extraFileExtensions || extraFileExtensions.length === 0) {\n        return needJsExtensions ? allSupportedExtensions : supportedTSExtensions;\n      }\n      const builtins = needJsExtensions ? allSupportedExtensions : supportedTSExtensions;\n      const flatBuiltins = flatten(builtins);\n      const extensions = [\n        ...builtins,\n        ...mapDefined(extraFileExtensions, (x) => x.scriptKind === 7 || needJsExtensions && isJSLike(x.scriptKind) && flatBuiltins.indexOf(x.extension) === -1 ? [x.extension] : void 0)\n      ];\n      return extensions;\n    }\n    function getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions) {\n      if (!options || !getResolveJsonModule(options))\n        return supportedExtensions;\n      if (supportedExtensions === allSupportedExtensions)\n        return allSupportedExtensionsWithJson;\n      if (supportedExtensions === supportedTSExtensions)\n        return supportedTSExtensionsWithJson;\n      return [...supportedExtensions, [\n        \".json\"\n        /* Json */\n      ]];\n    }\n    function isJSLike(scriptKind) {\n      return scriptKind === 1 || scriptKind === 2;\n    }\n    function hasJSFileExtension(fileName) {\n      return some(supportedJSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension));\n    }\n    function hasTSFileExtension(fileName) {\n      return some(supportedTSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension));\n    }\n    function usesExtensionsOnImports({ imports }, hasExtension2 = or(hasJSFileExtension, hasTSFileExtension)) {\n      return firstDefined(imports, ({ text }) => pathIsRelative(text) ? hasExtension2(text) : void 0) || false;\n    }\n    function getModuleSpecifierEndingPreference(preference, resolutionMode, compilerOptions, sourceFile) {\n      if (preference === \"js\" || resolutionMode === 99) {\n        if (!shouldAllowImportingTsExtension(compilerOptions)) {\n          return 2;\n        }\n        return inferPreference() !== 2 ? 3 : 2;\n      }\n      if (preference === \"minimal\") {\n        return 0;\n      }\n      if (preference === \"index\") {\n        return 1;\n      }\n      if (!shouldAllowImportingTsExtension(compilerOptions)) {\n        return usesExtensionsOnImports(sourceFile) ? 2 : 0;\n      }\n      return inferPreference();\n      function inferPreference() {\n        let usesJsExtensions = false;\n        const specifiers = sourceFile.imports.length ? sourceFile.imports.map((i) => i.text) : isSourceFileJS(sourceFile) ? getRequiresAtTopOfFile(sourceFile).map((r) => r.arguments[0].text) : emptyArray;\n        for (const specifier of specifiers) {\n          if (pathIsRelative(specifier)) {\n            if (hasTSFileExtension(specifier)) {\n              return 3;\n            }\n            if (hasJSFileExtension(specifier)) {\n              usesJsExtensions = true;\n            }\n          }\n        }\n        return usesJsExtensions ? 2 : 0;\n      }\n    }\n    function getRequiresAtTopOfFile(sourceFile) {\n      let nonRequireStatementCount = 0;\n      let requires;\n      for (const statement of sourceFile.statements) {\n        if (nonRequireStatementCount > 3) {\n          break;\n        }\n        if (isRequireVariableStatement(statement)) {\n          requires = concatenate(requires, statement.declarationList.declarations.map((d) => d.initializer));\n        } else if (isExpressionStatement(statement) && isRequireCall(\n          statement.expression,\n          /*requireStringLiteralLikeArgument*/\n          true\n        )) {\n          requires = append(requires, statement.expression);\n        } else {\n          nonRequireStatementCount++;\n        }\n      }\n      return requires || emptyArray;\n    }\n    function isSupportedSourceFileName(fileName, compilerOptions, extraFileExtensions) {\n      if (!fileName)\n        return false;\n      const supportedExtensions = getSupportedExtensions(compilerOptions, extraFileExtensions);\n      for (const extension of flatten(getSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions, supportedExtensions))) {\n        if (fileExtensionIs(fileName, extension)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function numberOfDirectorySeparators(str) {\n      const match = str.match(/\\//g);\n      return match ? match.length : 0;\n    }\n    function compareNumberOfDirectorySeparators(path1, path2) {\n      return compareValues(\n        numberOfDirectorySeparators(path1),\n        numberOfDirectorySeparators(path2)\n      );\n    }\n    function removeFileExtension(path) {\n      for (const ext of extensionsToRemove) {\n        const extensionless = tryRemoveExtension(path, ext);\n        if (extensionless !== void 0) {\n          return extensionless;\n        }\n      }\n      return path;\n    }\n    function tryRemoveExtension(path, extension) {\n      return fileExtensionIs(path, extension) ? removeExtension(path, extension) : void 0;\n    }\n    function removeExtension(path, extension) {\n      return path.substring(0, path.length - extension.length);\n    }\n    function changeExtension(path, newExtension) {\n      return changeAnyExtension(\n        path,\n        newExtension,\n        extensionsToRemove,\n        /*ignoreCase*/\n        false\n      );\n    }\n    function tryParsePattern(pattern) {\n      const indexOfStar = pattern.indexOf(\"*\");\n      if (indexOfStar === -1) {\n        return pattern;\n      }\n      return pattern.indexOf(\"*\", indexOfStar + 1) !== -1 ? void 0 : {\n        prefix: pattern.substr(0, indexOfStar),\n        suffix: pattern.substr(indexOfStar + 1)\n      };\n    }\n    function tryParsePatterns(paths) {\n      return mapDefined(getOwnKeys(paths), (path) => tryParsePattern(path));\n    }\n    function positionIsSynthesized(pos) {\n      return !(pos >= 0);\n    }\n    function extensionIsTS(ext) {\n      return ext === \".ts\" || ext === \".tsx\" || ext === \".d.ts\" || ext === \".cts\" || ext === \".mts\" || ext === \".d.mts\" || ext === \".d.cts\" || startsWith(ext, \".d.\") && endsWith(ext, \".ts\");\n    }\n    function resolutionExtensionIsTSOrJson(ext) {\n      return extensionIsTS(ext) || ext === \".json\";\n    }\n    function extensionFromPath(path) {\n      const ext = tryGetExtensionFromPath2(path);\n      return ext !== void 0 ? ext : Debug2.fail(`File ${path} has unknown extension.`);\n    }\n    function isAnySupportedFileExtension(path) {\n      return tryGetExtensionFromPath2(path) !== void 0;\n    }\n    function tryGetExtensionFromPath2(path) {\n      return find(extensionsToRemove, (e) => fileExtensionIs(path, e));\n    }\n    function isCheckJsEnabledForFile(sourceFile, compilerOptions) {\n      return sourceFile.checkJsDirective ? sourceFile.checkJsDirective.enabled : compilerOptions.checkJs;\n    }\n    function matchPatternOrExact(patternOrStrings, candidate) {\n      const patterns = [];\n      for (const patternOrString of patternOrStrings) {\n        if (patternOrString === candidate) {\n          return candidate;\n        }\n        if (!isString2(patternOrString)) {\n          patterns.push(patternOrString);\n        }\n      }\n      return findBestPatternMatch(patterns, (_) => _, candidate);\n    }\n    function sliceAfter(arr, value) {\n      const index = arr.indexOf(value);\n      Debug2.assert(index !== -1);\n      return arr.slice(index);\n    }\n    function addRelatedInfo(diagnostic, ...relatedInformation) {\n      if (!relatedInformation.length) {\n        return diagnostic;\n      }\n      if (!diagnostic.relatedInformation) {\n        diagnostic.relatedInformation = [];\n      }\n      Debug2.assert(diagnostic.relatedInformation !== emptyArray, \"Diagnostic had empty array singleton for related info, but is still being constructed!\");\n      diagnostic.relatedInformation.push(...relatedInformation);\n      return diagnostic;\n    }\n    function minAndMax(arr, getValue) {\n      Debug2.assert(arr.length !== 0);\n      let min2 = getValue(arr[0]);\n      let max = min2;\n      for (let i = 1; i < arr.length; i++) {\n        const value = getValue(arr[i]);\n        if (value < min2) {\n          min2 = value;\n        } else if (value > max) {\n          max = value;\n        }\n      }\n      return { min: min2, max };\n    }\n    function rangeOfNode(node) {\n      return { pos: getTokenPosOfNode(node), end: node.end };\n    }\n    function rangeOfTypeParameters(sourceFile, typeParameters) {\n      const pos = typeParameters.pos - 1;\n      const end = Math.min(sourceFile.text.length, skipTrivia(sourceFile.text, typeParameters.end) + 1);\n      return { pos, end };\n    }\n    function skipTypeChecking(sourceFile, options, host) {\n      return options.skipLibCheck && sourceFile.isDeclarationFile || options.skipDefaultLibCheck && sourceFile.hasNoDefaultLib || host.isSourceOfProjectReferenceRedirect(sourceFile.fileName);\n    }\n    function isJsonEqual(a, b) {\n      return a === b || typeof a === \"object\" && a !== null && typeof b === \"object\" && b !== null && equalOwnProperties(a, b, isJsonEqual);\n    }\n    function parsePseudoBigInt(stringValue) {\n      let log2Base;\n      switch (stringValue.charCodeAt(1)) {\n        case 98:\n        case 66:\n          log2Base = 1;\n          break;\n        case 111:\n        case 79:\n          log2Base = 3;\n          break;\n        case 120:\n        case 88:\n          log2Base = 4;\n          break;\n        default:\n          const nIndex = stringValue.length - 1;\n          let nonZeroStart = 0;\n          while (stringValue.charCodeAt(nonZeroStart) === 48) {\n            nonZeroStart++;\n          }\n          return stringValue.slice(nonZeroStart, nIndex) || \"0\";\n      }\n      const startIndex = 2, endIndex = stringValue.length - 1;\n      const bitsNeeded = (endIndex - startIndex) * log2Base;\n      const segments = new Uint16Array((bitsNeeded >>> 4) + (bitsNeeded & 15 ? 1 : 0));\n      for (let i = endIndex - 1, bitOffset = 0; i >= startIndex; i--, bitOffset += log2Base) {\n        const segment = bitOffset >>> 4;\n        const digitChar = stringValue.charCodeAt(i);\n        const digit = digitChar <= 57 ? digitChar - 48 : 10 + digitChar - (digitChar <= 70 ? 65 : 97);\n        const shiftedDigit = digit << (bitOffset & 15);\n        segments[segment] |= shiftedDigit;\n        const residual = shiftedDigit >>> 16;\n        if (residual)\n          segments[segment + 1] |= residual;\n      }\n      let base10Value = \"\";\n      let firstNonzeroSegment = segments.length - 1;\n      let segmentsRemaining = true;\n      while (segmentsRemaining) {\n        let mod10 = 0;\n        segmentsRemaining = false;\n        for (let segment = firstNonzeroSegment; segment >= 0; segment--) {\n          const newSegment = mod10 << 16 | segments[segment];\n          const segmentValue = newSegment / 10 | 0;\n          segments[segment] = segmentValue;\n          mod10 = newSegment - segmentValue * 10;\n          if (segmentValue && !segmentsRemaining) {\n            firstNonzeroSegment = segment;\n            segmentsRemaining = true;\n          }\n        }\n        base10Value = mod10 + base10Value;\n      }\n      return base10Value;\n    }\n    function pseudoBigIntToString({ negative, base10Value }) {\n      return (negative && base10Value !== \"0\" ? \"-\" : \"\") + base10Value;\n    }\n    function parseBigInt(text) {\n      if (!isValidBigIntString(\n        text,\n        /*roundTripOnly*/\n        false\n      )) {\n        return void 0;\n      }\n      return parseValidBigInt(text);\n    }\n    function parseValidBigInt(text) {\n      const negative = text.startsWith(\"-\");\n      const base10Value = parsePseudoBigInt(`${negative ? text.slice(1) : text}n`);\n      return { negative, base10Value };\n    }\n    function isValidBigIntString(s, roundTripOnly) {\n      if (s === \"\")\n        return false;\n      const scanner2 = createScanner(\n        99,\n        /*skipTrivia*/\n        false\n      );\n      let success = true;\n      scanner2.setOnError(() => success = false);\n      scanner2.setText(s + \"n\");\n      let result = scanner2.scan();\n      const negative = result === 40;\n      if (negative) {\n        result = scanner2.scan();\n      }\n      const flags = scanner2.getTokenFlags();\n      return success && result === 9 && scanner2.getTextPos() === s.length + 1 && !(flags & 512) && (!roundTripOnly || s === pseudoBigIntToString({ negative, base10Value: parsePseudoBigInt(scanner2.getTokenValue()) }));\n    }\n    function isValidTypeOnlyAliasUseSite(useSite) {\n      return !!(useSite.flags & 16777216) || isPartOfTypeQuery(useSite) || isIdentifierInNonEmittingHeritageClause(useSite) || isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(useSite) || !(isExpressionNode(useSite) || isShorthandPropertyNameUseSite(useSite));\n    }\n    function isShorthandPropertyNameUseSite(useSite) {\n      return isIdentifier(useSite) && isShorthandPropertyAssignment(useSite.parent) && useSite.parent.name === useSite;\n    }\n    function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(node) {\n      while (node.kind === 79 || node.kind === 208) {\n        node = node.parent;\n      }\n      if (node.kind !== 164) {\n        return false;\n      }\n      if (hasSyntacticModifier(\n        node.parent,\n        256\n        /* Abstract */\n      )) {\n        return true;\n      }\n      const containerKind = node.parent.parent.kind;\n      return containerKind === 261 || containerKind === 184;\n    }\n    function isIdentifierInNonEmittingHeritageClause(node) {\n      if (node.kind !== 79)\n        return false;\n      const heritageClause = findAncestor(node.parent, (parent2) => {\n        switch (parent2.kind) {\n          case 294:\n            return true;\n          case 208:\n          case 230:\n            return false;\n          default:\n            return \"quit\";\n        }\n      });\n      return (heritageClause == null ? void 0 : heritageClause.token) === 117 || (heritageClause == null ? void 0 : heritageClause.parent.kind) === 261;\n    }\n    function isIdentifierTypeReference(node) {\n      return isTypeReferenceNode(node) && isIdentifier(node.typeName);\n    }\n    function arrayIsHomogeneous(array, comparer = equateValues) {\n      if (array.length < 2)\n        return true;\n      const first2 = array[0];\n      for (let i = 1, length2 = array.length; i < length2; i++) {\n        const target = array[i];\n        if (!comparer(first2, target))\n          return false;\n      }\n      return true;\n    }\n    function setTextRangePos(range, pos) {\n      range.pos = pos;\n      return range;\n    }\n    function setTextRangeEnd(range, end) {\n      range.end = end;\n      return range;\n    }\n    function setTextRangePosEnd(range, pos, end) {\n      return setTextRangeEnd(setTextRangePos(range, pos), end);\n    }\n    function setTextRangePosWidth(range, pos, width) {\n      return setTextRangePosEnd(range, pos, pos + width);\n    }\n    function setNodeFlags(node, newFlags) {\n      if (node) {\n        node.flags = newFlags;\n      }\n      return node;\n    }\n    function setParent(child, parent2) {\n      if (child && parent2) {\n        child.parent = parent2;\n      }\n      return child;\n    }\n    function setEachParent(children, parent2) {\n      if (children) {\n        for (const child of children) {\n          setParent(child, parent2);\n        }\n      }\n      return children;\n    }\n    function setParentRecursive(rootNode, incremental) {\n      if (!rootNode)\n        return rootNode;\n      forEachChildRecursively(rootNode, isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild);\n      return rootNode;\n      function bindParentToChildIgnoringJSDoc(child, parent2) {\n        if (incremental && child.parent === parent2) {\n          return \"skip\";\n        }\n        setParent(child, parent2);\n      }\n      function bindJSDoc(child) {\n        if (hasJSDocNodes(child)) {\n          for (const doc of child.jsDoc) {\n            bindParentToChildIgnoringJSDoc(doc, child);\n            forEachChildRecursively(doc, bindParentToChildIgnoringJSDoc);\n          }\n        }\n      }\n      function bindParentToChild(child, parent2) {\n        return bindParentToChildIgnoringJSDoc(child, parent2) || bindJSDoc(child);\n      }\n    }\n    function isPackedElement(node) {\n      return !isOmittedExpression(node);\n    }\n    function isPackedArrayLiteral(node) {\n      return isArrayLiteralExpression(node) && every(node.elements, isPackedElement);\n    }\n    function expressionResultIsUnused(node) {\n      Debug2.assertIsDefined(node.parent);\n      while (true) {\n        const parent2 = node.parent;\n        if (isParenthesizedExpression(parent2)) {\n          node = parent2;\n          continue;\n        }\n        if (isExpressionStatement(parent2) || isVoidExpression(parent2) || isForStatement(parent2) && (parent2.initializer === node || parent2.incrementor === node)) {\n          return true;\n        }\n        if (isCommaListExpression(parent2)) {\n          if (node !== last(parent2.elements))\n            return true;\n          node = parent2;\n          continue;\n        }\n        if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 27) {\n          if (node === parent2.left)\n            return true;\n          node = parent2;\n          continue;\n        }\n        return false;\n      }\n    }\n    function containsIgnoredPath(path) {\n      return some(ignoredPaths, (p) => stringContains(path, p));\n    }\n    function getContainingNodeArray(node) {\n      if (!node.parent)\n        return void 0;\n      switch (node.kind) {\n        case 165:\n          const { parent: parent3 } = node;\n          return parent3.kind === 192 ? void 0 : parent3.typeParameters;\n        case 166:\n          return node.parent.parameters;\n        case 201:\n          return node.parent.templateSpans;\n        case 236:\n          return node.parent.templateSpans;\n        case 167: {\n          const { parent: parent4 } = node;\n          return canHaveDecorators(parent4) ? parent4.modifiers : void 0;\n        }\n        case 294:\n          return node.parent.heritageClauses;\n      }\n      const { parent: parent2 } = node;\n      if (isJSDocTag(node)) {\n        return isJSDocTypeLiteral(node.parent) ? void 0 : node.parent.tags;\n      }\n      switch (parent2.kind) {\n        case 184:\n        case 261:\n          return isTypeElement(node) ? parent2.members : void 0;\n        case 189:\n        case 190:\n          return parent2.types;\n        case 186:\n        case 206:\n        case 357:\n        case 272:\n        case 276:\n          return parent2.elements;\n        case 207:\n        case 289:\n          return parent2.properties;\n        case 210:\n        case 211:\n          return isTypeNode(node) ? parent2.typeArguments : parent2.expression === node ? void 0 : parent2.arguments;\n        case 281:\n        case 285:\n          return isJsxChild(node) ? parent2.children : void 0;\n        case 283:\n        case 282:\n          return isTypeNode(node) ? parent2.typeArguments : void 0;\n        case 238:\n        case 292:\n        case 293:\n        case 265:\n          return parent2.statements;\n        case 266:\n          return parent2.clauses;\n        case 260:\n        case 228:\n          return isClassElement(node) ? parent2.members : void 0;\n        case 263:\n          return isEnumMember(node) ? parent2.members : void 0;\n        case 308:\n          return parent2.statements;\n      }\n    }\n    function hasContextSensitiveParameters(node) {\n      if (!node.typeParameters) {\n        if (some(node.parameters, (p) => !getEffectiveTypeAnnotationNode(p))) {\n          return true;\n        }\n        if (node.kind !== 216) {\n          const parameter = firstOrUndefined(node.parameters);\n          if (!(parameter && parameterIsThisKeyword(parameter))) {\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n    function isInfinityOrNaNString(name) {\n      return name === \"Infinity\" || name === \"-Infinity\" || name === \"NaN\";\n    }\n    function isCatchClauseVariableDeclaration(node) {\n      return node.kind === 257 && node.parent.kind === 295;\n    }\n    function isParameterOrCatchClauseVariable(symbol) {\n      const declaration = symbol.valueDeclaration && getRootDeclaration(symbol.valueDeclaration);\n      return !!declaration && (isParameter(declaration) || isCatchClauseVariableDeclaration(declaration));\n    }\n    function isFunctionExpressionOrArrowFunction(node) {\n      return node.kind === 215 || node.kind === 216;\n    }\n    function escapeSnippetText(text) {\n      return text.replace(/\\$/gm, () => \"\\\\$\");\n    }\n    function isNumericLiteralName(name) {\n      return (+name).toString() === name;\n    }\n    function createPropertyNameNodeForIdentifierOrLiteral(name, target, singleQuote, stringNamed) {\n      return isIdentifierText(name, target) ? factory.createIdentifier(name) : !stringNamed && isNumericLiteralName(name) && +name >= 0 ? factory.createNumericLiteral(+name) : factory.createStringLiteral(name, !!singleQuote);\n    }\n    function isThisTypeParameter(type) {\n      return !!(type.flags & 262144 && type.isThisType);\n    }\n    function getNodeModulePathParts(fullPath) {\n      let topLevelNodeModulesIndex = 0;\n      let topLevelPackageNameIndex = 0;\n      let packageRootIndex = 0;\n      let fileNameIndex = 0;\n      let States;\n      ((States2) => {\n        States2[States2[\"BeforeNodeModules\"] = 0] = \"BeforeNodeModules\";\n        States2[States2[\"NodeModules\"] = 1] = \"NodeModules\";\n        States2[States2[\"Scope\"] = 2] = \"Scope\";\n        States2[States2[\"PackageContent\"] = 3] = \"PackageContent\";\n      })(States || (States = {}));\n      let partStart = 0;\n      let partEnd = 0;\n      let state = 0;\n      while (partEnd >= 0) {\n        partStart = partEnd;\n        partEnd = fullPath.indexOf(\"/\", partStart + 1);\n        switch (state) {\n          case 0:\n            if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) {\n              topLevelNodeModulesIndex = partStart;\n              topLevelPackageNameIndex = partEnd;\n              state = 1;\n            }\n            break;\n          case 1:\n          case 2:\n            if (state === 1 && fullPath.charAt(partStart + 1) === \"@\") {\n              state = 2;\n            } else {\n              packageRootIndex = partEnd;\n              state = 3;\n            }\n            break;\n          case 3:\n            if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) {\n              state = 1;\n            } else {\n              state = 3;\n            }\n            break;\n        }\n      }\n      fileNameIndex = partStart;\n      return state > 1 ? { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex, fileNameIndex } : void 0;\n    }\n    function getParameterTypeNode(parameter) {\n      var _a22;\n      return parameter.kind === 344 ? (_a22 = parameter.typeExpression) == null ? void 0 : _a22.type : parameter.type;\n    }\n    function isTypeDeclaration(node) {\n      switch (node.kind) {\n        case 165:\n        case 260:\n        case 261:\n        case 262:\n        case 263:\n        case 349:\n        case 341:\n        case 343:\n          return true;\n        case 270:\n          return node.isTypeOnly;\n        case 273:\n        case 278:\n          return node.parent.parent.isTypeOnly;\n        default:\n          return false;\n      }\n    }\n    function canHaveExportModifier(node) {\n      return isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isTypeDeclaration(node) || isModuleDeclaration(node) && !isExternalModuleAugmentation(node) && !isGlobalScopeAugmentation(node);\n    }\n    function isOptionalJSDocPropertyLikeTag(node) {\n      if (!isJSDocPropertyLikeTag(node)) {\n        return false;\n      }\n      const { isBracketed, typeExpression } = node;\n      return isBracketed || !!typeExpression && typeExpression.type.kind === 319;\n    }\n    function canUsePropertyAccess(name, languageVersion) {\n      if (name.length === 0) {\n        return false;\n      }\n      const firstChar = name.charCodeAt(0);\n      return firstChar === 35 ? name.length > 1 && isIdentifierStart(name.charCodeAt(1), languageVersion) : isIdentifierStart(firstChar, languageVersion);\n    }\n    function hasTabstop(node) {\n      var _a22;\n      return ((_a22 = getSnippetElement(node)) == null ? void 0 : _a22.kind) === 0;\n    }\n    function isJSDocOptionalParameter(node) {\n      return isInJSFile(node) && // node.type should only be a JSDocOptionalType when node is a parameter of a JSDocFunctionType\n      (node.type && node.type.kind === 319 || getJSDocParameterTags(node).some(\n        ({ isBracketed, typeExpression }) => isBracketed || !!typeExpression && typeExpression.type.kind === 319\n        /* JSDocOptionalType */\n      ));\n    }\n    function isOptionalDeclaration(declaration) {\n      switch (declaration.kind) {\n        case 169:\n        case 168:\n          return !!declaration.questionToken;\n        case 166:\n          return !!declaration.questionToken || isJSDocOptionalParameter(declaration);\n        case 351:\n        case 344:\n          return isOptionalJSDocPropertyLikeTag(declaration);\n        default:\n          return false;\n      }\n    }\n    function isNonNullAccess(node) {\n      const kind = node.kind;\n      return (kind === 208 || kind === 209) && isNonNullExpression(node.expression);\n    }\n    function isJSDocSatisfiesExpression(node) {\n      return isInJSFile(node) && isParenthesizedExpression(node) && hasJSDocNodes(node) && !!getJSDocSatisfiesTag(node);\n    }\n    function getJSDocSatisfiesExpressionType(node) {\n      return Debug2.checkDefined(tryGetJSDocSatisfiesTypeNode(node));\n    }\n    function tryGetJSDocSatisfiesTypeNode(node) {\n      const tag = getJSDocSatisfiesTag(node);\n      return tag && tag.typeExpression && tag.typeExpression.type;\n    }\n    var resolvingEmptyArray, externalHelpersModuleNameText, defaultMaximumTruncationLength, noTruncationMaximumTruncationLength, stringWriter, GetLiteralTextFlags, fullTripleSlashReferencePathRegEx, fullTripleSlashReferenceTypeReferenceDirectiveRegEx, fullTripleSlashAMDReferencePathRegEx, defaultLibReferenceRegEx, AssignmentKind, FunctionFlags, Associativity, OperatorPrecedence, templateSubstitutionRegExp, doubleQuoteEscapedCharsRegExp, singleQuoteEscapedCharsRegExp, backtickQuoteEscapedCharsRegExp, escapedCharsMap, nonAsciiCharacters, jsxDoubleQuoteEscapedCharsRegExp, jsxSingleQuoteEscapedCharsRegExp, jsxEscapedCharsMap, indentStrings, base64Digits, carriageReturnLineFeed, lineFeed, objectAllocator, objectAllocatorPatchers, localizedDiagnosticMessages, reservedCharacterPattern, wildcardCharCodes, commonPackageFolders, implicitExcludePathRegexPattern, filesMatcher, directoriesMatcher, excludeMatcher, wildcardMatchers, supportedTSExtensions, supportedTSExtensionsFlat, supportedTSExtensionsWithJson, supportedTSExtensionsForExtractExtension, supportedJSExtensions, supportedJSExtensionsFlat, allSupportedExtensions, allSupportedExtensionsWithJson, supportedDeclarationExtensions, supportedTSImplementationExtensions, ModuleSpecifierEnding, extensionsToRemove, emptyFileSystemEntries;\n    var init_utilities = __esm({\n      \"src/compiler/utilities.ts\"() {\n        \"use strict\";\n        init_ts2();\n        resolvingEmptyArray = [];\n        externalHelpersModuleNameText = \"tslib\";\n        defaultMaximumTruncationLength = 160;\n        noTruncationMaximumTruncationLength = 1e6;\n        stringWriter = createSingleLineStringWriter();\n        GetLiteralTextFlags = /* @__PURE__ */ ((GetLiteralTextFlags2) => {\n          GetLiteralTextFlags2[GetLiteralTextFlags2[\"None\"] = 0] = \"None\";\n          GetLiteralTextFlags2[GetLiteralTextFlags2[\"NeverAsciiEscape\"] = 1] = \"NeverAsciiEscape\";\n          GetLiteralTextFlags2[GetLiteralTextFlags2[\"JsxAttributeEscape\"] = 2] = \"JsxAttributeEscape\";\n          GetLiteralTextFlags2[GetLiteralTextFlags2[\"TerminateUnterminatedLiterals\"] = 4] = \"TerminateUnterminatedLiterals\";\n          GetLiteralTextFlags2[GetLiteralTextFlags2[\"AllowNumericSeparator\"] = 8] = \"AllowNumericSeparator\";\n          return GetLiteralTextFlags2;\n        })(GetLiteralTextFlags || {});\n        fullTripleSlashReferencePathRegEx = /^(\\/\\/\\/\\s*<reference\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;\n        fullTripleSlashReferenceTypeReferenceDirectiveRegEx = /^(\\/\\/\\/\\s*<reference\\s+types\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;\n        fullTripleSlashAMDReferencePathRegEx = /^(\\/\\/\\/\\s*<amd-dependency\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;\n        defaultLibReferenceRegEx = /^(\\/\\/\\/\\s*<reference\\s+no-default-lib\\s*=\\s*)(('[^']*')|(\"[^\"]*\"))\\s*\\/>/;\n        AssignmentKind = /* @__PURE__ */ ((AssignmentKind2) => {\n          AssignmentKind2[AssignmentKind2[\"None\"] = 0] = \"None\";\n          AssignmentKind2[AssignmentKind2[\"Definite\"] = 1] = \"Definite\";\n          AssignmentKind2[AssignmentKind2[\"Compound\"] = 2] = \"Compound\";\n          return AssignmentKind2;\n        })(AssignmentKind || {});\n        FunctionFlags = /* @__PURE__ */ ((FunctionFlags2) => {\n          FunctionFlags2[FunctionFlags2[\"Normal\"] = 0] = \"Normal\";\n          FunctionFlags2[FunctionFlags2[\"Generator\"] = 1] = \"Generator\";\n          FunctionFlags2[FunctionFlags2[\"Async\"] = 2] = \"Async\";\n          FunctionFlags2[FunctionFlags2[\"Invalid\"] = 4] = \"Invalid\";\n          FunctionFlags2[FunctionFlags2[\"AsyncGenerator\"] = 3] = \"AsyncGenerator\";\n          return FunctionFlags2;\n        })(FunctionFlags || {});\n        Associativity = /* @__PURE__ */ ((Associativity2) => {\n          Associativity2[Associativity2[\"Left\"] = 0] = \"Left\";\n          Associativity2[Associativity2[\"Right\"] = 1] = \"Right\";\n          return Associativity2;\n        })(Associativity || {});\n        OperatorPrecedence = /* @__PURE__ */ ((OperatorPrecedence2) => {\n          OperatorPrecedence2[OperatorPrecedence2[\"Comma\"] = 0] = \"Comma\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Spread\"] = 1] = \"Spread\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Yield\"] = 2] = \"Yield\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Assignment\"] = 3] = \"Assignment\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Conditional\"] = 4] = \"Conditional\";\n          OperatorPrecedence2[\n            OperatorPrecedence2[\"Coalesce\"] = 4\n            /* Conditional */\n          ] = \"Coalesce\";\n          OperatorPrecedence2[OperatorPrecedence2[\"LogicalOR\"] = 5] = \"LogicalOR\";\n          OperatorPrecedence2[OperatorPrecedence2[\"LogicalAND\"] = 6] = \"LogicalAND\";\n          OperatorPrecedence2[OperatorPrecedence2[\"BitwiseOR\"] = 7] = \"BitwiseOR\";\n          OperatorPrecedence2[OperatorPrecedence2[\"BitwiseXOR\"] = 8] = \"BitwiseXOR\";\n          OperatorPrecedence2[OperatorPrecedence2[\"BitwiseAND\"] = 9] = \"BitwiseAND\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Equality\"] = 10] = \"Equality\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Relational\"] = 11] = \"Relational\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Shift\"] = 12] = \"Shift\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Additive\"] = 13] = \"Additive\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Multiplicative\"] = 14] = \"Multiplicative\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Exponentiation\"] = 15] = \"Exponentiation\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Unary\"] = 16] = \"Unary\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Update\"] = 17] = \"Update\";\n          OperatorPrecedence2[OperatorPrecedence2[\"LeftHandSide\"] = 18] = \"LeftHandSide\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Member\"] = 19] = \"Member\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Primary\"] = 20] = \"Primary\";\n          OperatorPrecedence2[\n            OperatorPrecedence2[\"Highest\"] = 20\n            /* Primary */\n          ] = \"Highest\";\n          OperatorPrecedence2[\n            OperatorPrecedence2[\"Lowest\"] = 0\n            /* Comma */\n          ] = \"Lowest\";\n          OperatorPrecedence2[OperatorPrecedence2[\"Invalid\"] = -1] = \"Invalid\";\n          return OperatorPrecedence2;\n        })(OperatorPrecedence || {});\n        templateSubstitutionRegExp = /\\$\\{/g;\n        doubleQuoteEscapedCharsRegExp = /[\\\\\\\"\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g;\n        singleQuoteEscapedCharsRegExp = /[\\\\\\'\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g;\n        backtickQuoteEscapedCharsRegExp = /\\r\\n|[\\\\\\`\\u0000-\\u001f\\t\\v\\f\\b\\r\\u2028\\u2029\\u0085]/g;\n        escapedCharsMap = new Map(Object.entries({\n          \"\t\": \"\\\\t\",\n          \"\\v\": \"\\\\v\",\n          \"\\f\": \"\\\\f\",\n          \"\\b\": \"\\\\b\",\n          \"\\r\": \"\\\\r\",\n          \"\\n\": \"\\\\n\",\n          \"\\\\\": \"\\\\\\\\\",\n          '\"': '\\\\\"',\n          \"'\": \"\\\\'\",\n          \"`\": \"\\\\`\",\n          \"\\u2028\": \"\\\\u2028\",\n          // lineSeparator\n          \"\\u2029\": \"\\\\u2029\",\n          // paragraphSeparator\n          \"\\x85\": \"\\\\u0085\",\n          // nextLine\n          \"\\r\\n\": \"\\\\r\\\\n\"\n          // special case for CRLFs in backticks\n        }));\n        nonAsciiCharacters = /[^\\u0000-\\u007F]/g;\n        jsxDoubleQuoteEscapedCharsRegExp = /[\\\"\\u0000-\\u001f\\u2028\\u2029\\u0085]/g;\n        jsxSingleQuoteEscapedCharsRegExp = /[\\'\\u0000-\\u001f\\u2028\\u2029\\u0085]/g;\n        jsxEscapedCharsMap = new Map(Object.entries({\n          '\"': \"&quot;\",\n          \"'\": \"&apos;\"\n        }));\n        indentStrings = [\"\", \"    \"];\n        base64Digits = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\n        carriageReturnLineFeed = \"\\r\\n\";\n        lineFeed = \"\\n\";\n        objectAllocator = {\n          getNodeConstructor: () => Node4,\n          getTokenConstructor: () => Token2,\n          getIdentifierConstructor: () => Identifier2,\n          getPrivateIdentifierConstructor: () => Node4,\n          getSourceFileConstructor: () => Node4,\n          getSymbolConstructor: () => Symbol4,\n          getTypeConstructor: () => Type3,\n          getSignatureConstructor: () => Signature2,\n          getSourceMapSourceConstructor: () => SourceMapSource\n        };\n        objectAllocatorPatchers = [];\n        reservedCharacterPattern = /[^\\w\\s\\/]/g;\n        wildcardCharCodes = [\n          42,\n          63\n          /* question */\n        ];\n        commonPackageFolders = [\"node_modules\", \"bower_components\", \"jspm_packages\"];\n        implicitExcludePathRegexPattern = `(?!(${commonPackageFolders.join(\"|\")})(/|$))`;\n        filesMatcher = {\n          /**\n           * Matches any single directory segment unless it is the last segment and a .min.js file\n           * Breakdown:\n           *  [^./]                   # matches everything up to the first . character (excluding directory separators)\n           *  (\\\\.(?!min\\\\.js$))?     # matches . characters but not if they are part of the .min.js file extension\n           */\n          singleAsteriskRegexFragment: \"([^./]|(\\\\.(?!min\\\\.js$))?)*\",\n          /**\n           * Regex for the ** wildcard. Matches any number of subdirectories. When used for including\n           * files or directories, does not match subdirectories that start with a . character\n           */\n          doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,\n          replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment)\n        };\n        directoriesMatcher = {\n          singleAsteriskRegexFragment: \"[^/]*\",\n          /**\n           * Regex for the ** wildcard. Matches any number of subdirectories. When used for including\n           * files or directories, does not match subdirectories that start with a . character\n           */\n          doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,\n          replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment)\n        };\n        excludeMatcher = {\n          singleAsteriskRegexFragment: \"[^/]*\",\n          doubleAsteriskRegexFragment: \"(/.+?)?\",\n          replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, excludeMatcher.singleAsteriskRegexFragment)\n        };\n        wildcardMatchers = {\n          files: filesMatcher,\n          directories: directoriesMatcher,\n          exclude: excludeMatcher\n        };\n        supportedTSExtensions = [[\n          \".ts\",\n          \".tsx\",\n          \".d.ts\"\n          /* Dts */\n        ], [\n          \".cts\",\n          \".d.cts\"\n          /* Dcts */\n        ], [\n          \".mts\",\n          \".d.mts\"\n          /* Dmts */\n        ]];\n        supportedTSExtensionsFlat = flatten(supportedTSExtensions);\n        supportedTSExtensionsWithJson = [...supportedTSExtensions, [\n          \".json\"\n          /* Json */\n        ]];\n        supportedTSExtensionsForExtractExtension = [\n          \".d.ts\",\n          \".d.cts\",\n          \".d.mts\",\n          \".cts\",\n          \".mts\",\n          \".ts\",\n          \".tsx\",\n          \".cts\",\n          \".mts\"\n          /* Mts */\n        ];\n        supportedJSExtensions = [[\n          \".js\",\n          \".jsx\"\n          /* Jsx */\n        ], [\n          \".mjs\"\n          /* Mjs */\n        ], [\n          \".cjs\"\n          /* Cjs */\n        ]];\n        supportedJSExtensionsFlat = flatten(supportedJSExtensions);\n        allSupportedExtensions = [[\n          \".ts\",\n          \".tsx\",\n          \".d.ts\",\n          \".js\",\n          \".jsx\"\n          /* Jsx */\n        ], [\n          \".cts\",\n          \".d.cts\",\n          \".cjs\"\n          /* Cjs */\n        ], [\n          \".mts\",\n          \".d.mts\",\n          \".mjs\"\n          /* Mjs */\n        ]];\n        allSupportedExtensionsWithJson = [...allSupportedExtensions, [\n          \".json\"\n          /* Json */\n        ]];\n        supportedDeclarationExtensions = [\n          \".d.ts\",\n          \".d.cts\",\n          \".d.mts\"\n          /* Dmts */\n        ];\n        supportedTSImplementationExtensions = [\n          \".ts\",\n          \".cts\",\n          \".mts\",\n          \".tsx\"\n          /* Tsx */\n        ];\n        ModuleSpecifierEnding = /* @__PURE__ */ ((ModuleSpecifierEnding2) => {\n          ModuleSpecifierEnding2[ModuleSpecifierEnding2[\"Minimal\"] = 0] = \"Minimal\";\n          ModuleSpecifierEnding2[ModuleSpecifierEnding2[\"Index\"] = 1] = \"Index\";\n          ModuleSpecifierEnding2[ModuleSpecifierEnding2[\"JsExtension\"] = 2] = \"JsExtension\";\n          ModuleSpecifierEnding2[ModuleSpecifierEnding2[\"TsExtension\"] = 3] = \"TsExtension\";\n          return ModuleSpecifierEnding2;\n        })(ModuleSpecifierEnding || {});\n        extensionsToRemove = [\n          \".d.ts\",\n          \".d.mts\",\n          \".d.cts\",\n          \".mjs\",\n          \".mts\",\n          \".cjs\",\n          \".cts\",\n          \".ts\",\n          \".js\",\n          \".tsx\",\n          \".jsx\",\n          \".json\"\n          /* Json */\n        ];\n        emptyFileSystemEntries = {\n          files: emptyArray,\n          directories: emptyArray\n        };\n      }\n    });\n    function createBaseNodeFactory() {\n      let NodeConstructor2;\n      let TokenConstructor2;\n      let IdentifierConstructor2;\n      let PrivateIdentifierConstructor2;\n      let SourceFileConstructor2;\n      return {\n        createBaseSourceFileNode,\n        createBaseIdentifierNode,\n        createBasePrivateIdentifierNode,\n        createBaseTokenNode,\n        createBaseNode\n      };\n      function createBaseSourceFileNode(kind) {\n        return new (SourceFileConstructor2 || (SourceFileConstructor2 = objectAllocator.getSourceFileConstructor()))(\n          kind,\n          /*pos*/\n          -1,\n          /*end*/\n          -1\n        );\n      }\n      function createBaseIdentifierNode(kind) {\n        return new (IdentifierConstructor2 || (IdentifierConstructor2 = objectAllocator.getIdentifierConstructor()))(\n          kind,\n          /*pos*/\n          -1,\n          /*end*/\n          -1\n        );\n      }\n      function createBasePrivateIdentifierNode(kind) {\n        return new (PrivateIdentifierConstructor2 || (PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor()))(\n          kind,\n          /*pos*/\n          -1,\n          /*end*/\n          -1\n        );\n      }\n      function createBaseTokenNode(kind) {\n        return new (TokenConstructor2 || (TokenConstructor2 = objectAllocator.getTokenConstructor()))(\n          kind,\n          /*pos*/\n          -1,\n          /*end*/\n          -1\n        );\n      }\n      function createBaseNode(kind) {\n        return new (NodeConstructor2 || (NodeConstructor2 = objectAllocator.getNodeConstructor()))(\n          kind,\n          /*pos*/\n          -1,\n          /*end*/\n          -1\n        );\n      }\n    }\n    var init_baseNodeFactory = __esm({\n      \"src/compiler/factory/baseNodeFactory.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function createParenthesizerRules(factory2) {\n      let binaryLeftOperandParenthesizerCache;\n      let binaryRightOperandParenthesizerCache;\n      return {\n        getParenthesizeLeftSideOfBinaryForOperator,\n        getParenthesizeRightSideOfBinaryForOperator,\n        parenthesizeLeftSideOfBinary,\n        parenthesizeRightSideOfBinary,\n        parenthesizeExpressionOfComputedPropertyName,\n        parenthesizeConditionOfConditionalExpression,\n        parenthesizeBranchOfConditionalExpression,\n        parenthesizeExpressionOfExportDefault,\n        parenthesizeExpressionOfNew,\n        parenthesizeLeftSideOfAccess,\n        parenthesizeOperandOfPostfixUnary,\n        parenthesizeOperandOfPrefixUnary,\n        parenthesizeExpressionsOfCommaDelimitedList,\n        parenthesizeExpressionForDisallowedComma,\n        parenthesizeExpressionOfExpressionStatement,\n        parenthesizeConciseBodyOfArrowFunction,\n        parenthesizeCheckTypeOfConditionalType,\n        parenthesizeExtendsTypeOfConditionalType,\n        parenthesizeConstituentTypesOfUnionType,\n        parenthesizeConstituentTypeOfUnionType,\n        parenthesizeConstituentTypesOfIntersectionType,\n        parenthesizeConstituentTypeOfIntersectionType,\n        parenthesizeOperandOfTypeOperator,\n        parenthesizeOperandOfReadonlyTypeOperator,\n        parenthesizeNonArrayTypeOfPostfixType,\n        parenthesizeElementTypesOfTupleType,\n        parenthesizeElementTypeOfTupleType,\n        parenthesizeTypeOfOptionalType,\n        parenthesizeTypeArguments,\n        parenthesizeLeadingTypeArgument\n      };\n      function getParenthesizeLeftSideOfBinaryForOperator(operatorKind) {\n        binaryLeftOperandParenthesizerCache || (binaryLeftOperandParenthesizerCache = /* @__PURE__ */ new Map());\n        let parenthesizerRule = binaryLeftOperandParenthesizerCache.get(operatorKind);\n        if (!parenthesizerRule) {\n          parenthesizerRule = (node) => parenthesizeLeftSideOfBinary(operatorKind, node);\n          binaryLeftOperandParenthesizerCache.set(operatorKind, parenthesizerRule);\n        }\n        return parenthesizerRule;\n      }\n      function getParenthesizeRightSideOfBinaryForOperator(operatorKind) {\n        binaryRightOperandParenthesizerCache || (binaryRightOperandParenthesizerCache = /* @__PURE__ */ new Map());\n        let parenthesizerRule = binaryRightOperandParenthesizerCache.get(operatorKind);\n        if (!parenthesizerRule) {\n          parenthesizerRule = (node) => parenthesizeRightSideOfBinary(\n            operatorKind,\n            /*leftSide*/\n            void 0,\n            node\n          );\n          binaryRightOperandParenthesizerCache.set(operatorKind, parenthesizerRule);\n        }\n        return parenthesizerRule;\n      }\n      function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {\n        const binaryOperatorPrecedence = getOperatorPrecedence(223, binaryOperator);\n        const binaryOperatorAssociativity = getOperatorAssociativity(223, binaryOperator);\n        const emittedOperand = skipPartiallyEmittedExpressions(operand);\n        if (!isLeftSideOfBinary && operand.kind === 216 && binaryOperatorPrecedence > 3) {\n          return true;\n        }\n        const operandPrecedence = getExpressionPrecedence(emittedOperand);\n        switch (compareValues(operandPrecedence, binaryOperatorPrecedence)) {\n          case -1:\n            if (!isLeftSideOfBinary && binaryOperatorAssociativity === 1 && operand.kind === 226) {\n              return false;\n            }\n            return true;\n          case 1:\n            return false;\n          case 0:\n            if (isLeftSideOfBinary) {\n              return binaryOperatorAssociativity === 1;\n            } else {\n              if (isBinaryExpression(emittedOperand) && emittedOperand.operatorToken.kind === binaryOperator) {\n                if (operatorHasAssociativeProperty(binaryOperator)) {\n                  return false;\n                }\n                if (binaryOperator === 39) {\n                  const leftKind = leftOperand ? getLiteralKindOfBinaryPlusOperand(leftOperand) : 0;\n                  if (isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(emittedOperand)) {\n                    return false;\n                  }\n                }\n              }\n              const operandAssociativity = getExpressionAssociativity(emittedOperand);\n              return operandAssociativity === 0;\n            }\n        }\n      }\n      function operatorHasAssociativeProperty(binaryOperator) {\n        return binaryOperator === 41 || binaryOperator === 51 || binaryOperator === 50 || binaryOperator === 52 || binaryOperator === 27;\n      }\n      function getLiteralKindOfBinaryPlusOperand(node) {\n        node = skipPartiallyEmittedExpressions(node);\n        if (isLiteralKind(node.kind)) {\n          return node.kind;\n        }\n        if (node.kind === 223 && node.operatorToken.kind === 39) {\n          if (node.cachedLiteralKind !== void 0) {\n            return node.cachedLiteralKind;\n          }\n          const leftKind = getLiteralKindOfBinaryPlusOperand(node.left);\n          const literalKind = isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(node.right) ? leftKind : 0;\n          node.cachedLiteralKind = literalKind;\n          return literalKind;\n        }\n        return 0;\n      }\n      function parenthesizeBinaryOperand(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {\n        const skipped = skipPartiallyEmittedExpressions(operand);\n        if (skipped.kind === 214) {\n          return operand;\n        }\n        return binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) ? factory2.createParenthesizedExpression(operand) : operand;\n      }\n      function parenthesizeLeftSideOfBinary(binaryOperator, leftSide) {\n        return parenthesizeBinaryOperand(\n          binaryOperator,\n          leftSide,\n          /*isLeftSideOfBinary*/\n          true\n        );\n      }\n      function parenthesizeRightSideOfBinary(binaryOperator, leftSide, rightSide) {\n        return parenthesizeBinaryOperand(\n          binaryOperator,\n          rightSide,\n          /*isLeftSideOfBinary*/\n          false,\n          leftSide\n        );\n      }\n      function parenthesizeExpressionOfComputedPropertyName(expression) {\n        return isCommaSequence(expression) ? factory2.createParenthesizedExpression(expression) : expression;\n      }\n      function parenthesizeConditionOfConditionalExpression(condition) {\n        const conditionalPrecedence = getOperatorPrecedence(\n          224,\n          57\n          /* QuestionToken */\n        );\n        const emittedCondition = skipPartiallyEmittedExpressions(condition);\n        const conditionPrecedence = getExpressionPrecedence(emittedCondition);\n        if (compareValues(conditionPrecedence, conditionalPrecedence) !== 1) {\n          return factory2.createParenthesizedExpression(condition);\n        }\n        return condition;\n      }\n      function parenthesizeBranchOfConditionalExpression(branch) {\n        const emittedExpression = skipPartiallyEmittedExpressions(branch);\n        return isCommaSequence(emittedExpression) ? factory2.createParenthesizedExpression(branch) : branch;\n      }\n      function parenthesizeExpressionOfExportDefault(expression) {\n        const check = skipPartiallyEmittedExpressions(expression);\n        let needsParens = isCommaSequence(check);\n        if (!needsParens) {\n          switch (getLeftmostExpression(\n            check,\n            /*stopAtCallExpression*/\n            false\n          ).kind) {\n            case 228:\n            case 215:\n              needsParens = true;\n          }\n        }\n        return needsParens ? factory2.createParenthesizedExpression(expression) : expression;\n      }\n      function parenthesizeExpressionOfNew(expression) {\n        const leftmostExpr = getLeftmostExpression(\n          expression,\n          /*stopAtCallExpressions*/\n          true\n        );\n        switch (leftmostExpr.kind) {\n          case 210:\n            return factory2.createParenthesizedExpression(expression);\n          case 211:\n            return !leftmostExpr.arguments ? factory2.createParenthesizedExpression(expression) : expression;\n        }\n        return parenthesizeLeftSideOfAccess(expression);\n      }\n      function parenthesizeLeftSideOfAccess(expression, optionalChain) {\n        const emittedExpression = skipPartiallyEmittedExpressions(expression);\n        if (isLeftHandSideExpression(emittedExpression) && (emittedExpression.kind !== 211 || emittedExpression.arguments) && (optionalChain || !isOptionalChain(emittedExpression))) {\n          return expression;\n        }\n        return setTextRange(factory2.createParenthesizedExpression(expression), expression);\n      }\n      function parenthesizeOperandOfPostfixUnary(operand) {\n        return isLeftHandSideExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand);\n      }\n      function parenthesizeOperandOfPrefixUnary(operand) {\n        return isUnaryExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand);\n      }\n      function parenthesizeExpressionsOfCommaDelimitedList(elements) {\n        const result = sameMap(elements, parenthesizeExpressionForDisallowedComma);\n        return setTextRange(factory2.createNodeArray(result, elements.hasTrailingComma), elements);\n      }\n      function parenthesizeExpressionForDisallowedComma(expression) {\n        const emittedExpression = skipPartiallyEmittedExpressions(expression);\n        const expressionPrecedence = getExpressionPrecedence(emittedExpression);\n        const commaPrecedence = getOperatorPrecedence(\n          223,\n          27\n          /* CommaToken */\n        );\n        return expressionPrecedence > commaPrecedence ? expression : setTextRange(factory2.createParenthesizedExpression(expression), expression);\n      }\n      function parenthesizeExpressionOfExpressionStatement(expression) {\n        const emittedExpression = skipPartiallyEmittedExpressions(expression);\n        if (isCallExpression(emittedExpression)) {\n          const callee = emittedExpression.expression;\n          const kind = skipPartiallyEmittedExpressions(callee).kind;\n          if (kind === 215 || kind === 216) {\n            const updated = factory2.updateCallExpression(\n              emittedExpression,\n              setTextRange(factory2.createParenthesizedExpression(callee), callee),\n              emittedExpression.typeArguments,\n              emittedExpression.arguments\n            );\n            return factory2.restoreOuterExpressions(\n              expression,\n              updated,\n              8\n              /* PartiallyEmittedExpressions */\n            );\n          }\n        }\n        const leftmostExpressionKind = getLeftmostExpression(\n          emittedExpression,\n          /*stopAtCallExpressions*/\n          false\n        ).kind;\n        if (leftmostExpressionKind === 207 || leftmostExpressionKind === 215) {\n          return setTextRange(factory2.createParenthesizedExpression(expression), expression);\n        }\n        return expression;\n      }\n      function parenthesizeConciseBodyOfArrowFunction(body) {\n        if (!isBlock(body) && (isCommaSequence(body) || getLeftmostExpression(\n          body,\n          /*stopAtCallExpressions*/\n          false\n        ).kind === 207)) {\n          return setTextRange(factory2.createParenthesizedExpression(body), body);\n        }\n        return body;\n      }\n      function parenthesizeCheckTypeOfConditionalType(checkType) {\n        switch (checkType.kind) {\n          case 181:\n          case 182:\n          case 191:\n            return factory2.createParenthesizedType(checkType);\n        }\n        return checkType;\n      }\n      function parenthesizeExtendsTypeOfConditionalType(extendsType) {\n        switch (extendsType.kind) {\n          case 191:\n            return factory2.createParenthesizedType(extendsType);\n        }\n        return extendsType;\n      }\n      function parenthesizeConstituentTypeOfUnionType(type) {\n        switch (type.kind) {\n          case 189:\n          case 190:\n            return factory2.createParenthesizedType(type);\n        }\n        return parenthesizeCheckTypeOfConditionalType(type);\n      }\n      function parenthesizeConstituentTypesOfUnionType(members) {\n        return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfUnionType));\n      }\n      function parenthesizeConstituentTypeOfIntersectionType(type) {\n        switch (type.kind) {\n          case 189:\n          case 190:\n            return factory2.createParenthesizedType(type);\n        }\n        return parenthesizeConstituentTypeOfUnionType(type);\n      }\n      function parenthesizeConstituentTypesOfIntersectionType(members) {\n        return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfIntersectionType));\n      }\n      function parenthesizeOperandOfTypeOperator(type) {\n        switch (type.kind) {\n          case 190:\n            return factory2.createParenthesizedType(type);\n        }\n        return parenthesizeConstituentTypeOfIntersectionType(type);\n      }\n      function parenthesizeOperandOfReadonlyTypeOperator(type) {\n        switch (type.kind) {\n          case 195:\n            return factory2.createParenthesizedType(type);\n        }\n        return parenthesizeOperandOfTypeOperator(type);\n      }\n      function parenthesizeNonArrayTypeOfPostfixType(type) {\n        switch (type.kind) {\n          case 192:\n          case 195:\n          case 183:\n            return factory2.createParenthesizedType(type);\n        }\n        return parenthesizeOperandOfTypeOperator(type);\n      }\n      function parenthesizeElementTypesOfTupleType(types) {\n        return factory2.createNodeArray(sameMap(types, parenthesizeElementTypeOfTupleType));\n      }\n      function parenthesizeElementTypeOfTupleType(type) {\n        if (hasJSDocPostfixQuestion(type))\n          return factory2.createParenthesizedType(type);\n        return type;\n      }\n      function hasJSDocPostfixQuestion(type) {\n        if (isJSDocNullableType(type))\n          return type.postfix;\n        if (isNamedTupleMember(type))\n          return hasJSDocPostfixQuestion(type.type);\n        if (isFunctionTypeNode(type) || isConstructorTypeNode(type) || isTypeOperatorNode(type))\n          return hasJSDocPostfixQuestion(type.type);\n        if (isConditionalTypeNode(type))\n          return hasJSDocPostfixQuestion(type.falseType);\n        if (isUnionTypeNode(type))\n          return hasJSDocPostfixQuestion(last(type.types));\n        if (isIntersectionTypeNode(type))\n          return hasJSDocPostfixQuestion(last(type.types));\n        if (isInferTypeNode(type))\n          return !!type.typeParameter.constraint && hasJSDocPostfixQuestion(type.typeParameter.constraint);\n        return false;\n      }\n      function parenthesizeTypeOfOptionalType(type) {\n        if (hasJSDocPostfixQuestion(type))\n          return factory2.createParenthesizedType(type);\n        return parenthesizeNonArrayTypeOfPostfixType(type);\n      }\n      function parenthesizeLeadingTypeArgument(node) {\n        return isFunctionOrConstructorTypeNode(node) && node.typeParameters ? factory2.createParenthesizedType(node) : node;\n      }\n      function parenthesizeOrdinalTypeArgument(node, i) {\n        return i === 0 ? parenthesizeLeadingTypeArgument(node) : node;\n      }\n      function parenthesizeTypeArguments(typeArguments) {\n        if (some(typeArguments)) {\n          return factory2.createNodeArray(sameMap(typeArguments, parenthesizeOrdinalTypeArgument));\n        }\n      }\n    }\n    var nullParenthesizerRules;\n    var init_parenthesizerRules = __esm({\n      \"src/compiler/factory/parenthesizerRules.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nullParenthesizerRules = {\n          getParenthesizeLeftSideOfBinaryForOperator: (_) => identity2,\n          getParenthesizeRightSideOfBinaryForOperator: (_) => identity2,\n          parenthesizeLeftSideOfBinary: (_binaryOperator, leftSide) => leftSide,\n          parenthesizeRightSideOfBinary: (_binaryOperator, _leftSide, rightSide) => rightSide,\n          parenthesizeExpressionOfComputedPropertyName: identity2,\n          parenthesizeConditionOfConditionalExpression: identity2,\n          parenthesizeBranchOfConditionalExpression: identity2,\n          parenthesizeExpressionOfExportDefault: identity2,\n          parenthesizeExpressionOfNew: (expression) => cast(expression, isLeftHandSideExpression),\n          parenthesizeLeftSideOfAccess: (expression) => cast(expression, isLeftHandSideExpression),\n          parenthesizeOperandOfPostfixUnary: (operand) => cast(operand, isLeftHandSideExpression),\n          parenthesizeOperandOfPrefixUnary: (operand) => cast(operand, isUnaryExpression),\n          parenthesizeExpressionsOfCommaDelimitedList: (nodes) => cast(nodes, isNodeArray),\n          parenthesizeExpressionForDisallowedComma: identity2,\n          parenthesizeExpressionOfExpressionStatement: identity2,\n          parenthesizeConciseBodyOfArrowFunction: identity2,\n          parenthesizeCheckTypeOfConditionalType: identity2,\n          parenthesizeExtendsTypeOfConditionalType: identity2,\n          parenthesizeConstituentTypesOfUnionType: (nodes) => cast(nodes, isNodeArray),\n          parenthesizeConstituentTypeOfUnionType: identity2,\n          parenthesizeConstituentTypesOfIntersectionType: (nodes) => cast(nodes, isNodeArray),\n          parenthesizeConstituentTypeOfIntersectionType: identity2,\n          parenthesizeOperandOfTypeOperator: identity2,\n          parenthesizeOperandOfReadonlyTypeOperator: identity2,\n          parenthesizeNonArrayTypeOfPostfixType: identity2,\n          parenthesizeElementTypesOfTupleType: (nodes) => cast(nodes, isNodeArray),\n          parenthesizeElementTypeOfTupleType: identity2,\n          parenthesizeTypeOfOptionalType: identity2,\n          parenthesizeTypeArguments: (nodes) => nodes && cast(nodes, isNodeArray),\n          parenthesizeLeadingTypeArgument: identity2\n        };\n      }\n    });\n    function createNodeConverters(factory2) {\n      return {\n        convertToFunctionBlock,\n        convertToFunctionExpression,\n        convertToArrayAssignmentElement,\n        convertToObjectAssignmentElement,\n        convertToAssignmentPattern,\n        convertToObjectAssignmentPattern,\n        convertToArrayAssignmentPattern,\n        convertToAssignmentElementTarget\n      };\n      function convertToFunctionBlock(node, multiLine) {\n        if (isBlock(node))\n          return node;\n        const returnStatement = factory2.createReturnStatement(node);\n        setTextRange(returnStatement, node);\n        const body = factory2.createBlock([returnStatement], multiLine);\n        setTextRange(body, node);\n        return body;\n      }\n      function convertToFunctionExpression(node) {\n        if (!node.body)\n          return Debug2.fail(`Cannot convert a FunctionDeclaration without a body`);\n        const updated = factory2.createFunctionExpression(\n          getModifiers(node),\n          node.asteriskToken,\n          node.name,\n          node.typeParameters,\n          node.parameters,\n          node.type,\n          node.body\n        );\n        setOriginalNode(updated, node);\n        setTextRange(updated, node);\n        if (getStartsOnNewLine(node)) {\n          setStartsOnNewLine(\n            updated,\n            /*newLine*/\n            true\n          );\n        }\n        return updated;\n      }\n      function convertToArrayAssignmentElement(element) {\n        if (isBindingElement(element)) {\n          if (element.dotDotDotToken) {\n            Debug2.assertNode(element.name, isIdentifier);\n            return setOriginalNode(setTextRange(factory2.createSpreadElement(element.name), element), element);\n          }\n          const expression = convertToAssignmentElementTarget(element.name);\n          return element.initializer ? setOriginalNode(\n            setTextRange(\n              factory2.createAssignment(expression, element.initializer),\n              element\n            ),\n            element\n          ) : expression;\n        }\n        return cast(element, isExpression);\n      }\n      function convertToObjectAssignmentElement(element) {\n        if (isBindingElement(element)) {\n          if (element.dotDotDotToken) {\n            Debug2.assertNode(element.name, isIdentifier);\n            return setOriginalNode(setTextRange(factory2.createSpreadAssignment(element.name), element), element);\n          }\n          if (element.propertyName) {\n            const expression = convertToAssignmentElementTarget(element.name);\n            return setOriginalNode(setTextRange(factory2.createPropertyAssignment(element.propertyName, element.initializer ? factory2.createAssignment(expression, element.initializer) : expression), element), element);\n          }\n          Debug2.assertNode(element.name, isIdentifier);\n          return setOriginalNode(setTextRange(factory2.createShorthandPropertyAssignment(element.name, element.initializer), element), element);\n        }\n        return cast(element, isObjectLiteralElementLike);\n      }\n      function convertToAssignmentPattern(node) {\n        switch (node.kind) {\n          case 204:\n          case 206:\n            return convertToArrayAssignmentPattern(node);\n          case 203:\n          case 207:\n            return convertToObjectAssignmentPattern(node);\n        }\n      }\n      function convertToObjectAssignmentPattern(node) {\n        if (isObjectBindingPattern(node)) {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createObjectLiteralExpression(map(node.elements, convertToObjectAssignmentElement)),\n              node\n            ),\n            node\n          );\n        }\n        return cast(node, isObjectLiteralExpression);\n      }\n      function convertToArrayAssignmentPattern(node) {\n        if (isArrayBindingPattern(node)) {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createArrayLiteralExpression(map(node.elements, convertToArrayAssignmentElement)),\n              node\n            ),\n            node\n          );\n        }\n        return cast(node, isArrayLiteralExpression);\n      }\n      function convertToAssignmentElementTarget(node) {\n        if (isBindingPattern(node)) {\n          return convertToAssignmentPattern(node);\n        }\n        return cast(node, isExpression);\n      }\n    }\n    var nullNodeConverters;\n    var init_nodeConverters = __esm({\n      \"src/compiler/factory/nodeConverters.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nullNodeConverters = {\n          convertToFunctionBlock: notImplemented,\n          convertToFunctionExpression: notImplemented,\n          convertToArrayAssignmentElement: notImplemented,\n          convertToObjectAssignmentElement: notImplemented,\n          convertToAssignmentPattern: notImplemented,\n          convertToObjectAssignmentPattern: notImplemented,\n          convertToArrayAssignmentPattern: notImplemented,\n          convertToAssignmentElementTarget: notImplemented\n        };\n      }\n    });\n    function addNodeFactoryPatcher(fn) {\n      nodeFactoryPatchers.push(fn);\n    }\n    function createNodeFactory(flags, baseFactory2) {\n      const update = flags & 8 ? updateWithoutOriginal : updateWithOriginal;\n      const parenthesizerRules = memoize(() => flags & 1 ? nullParenthesizerRules : createParenthesizerRules(factory2));\n      const converters = memoize(() => flags & 2 ? nullNodeConverters : createNodeConverters(factory2));\n      const getBinaryCreateFunction = memoizeOne((operator) => (left, right) => createBinaryExpression(left, operator, right));\n      const getPrefixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPrefixUnaryExpression(operator, operand));\n      const getPostfixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPostfixUnaryExpression(operand, operator));\n      const getJSDocPrimaryTypeCreateFunction = memoizeOne((kind) => () => createJSDocPrimaryTypeWorker(kind));\n      const getJSDocUnaryTypeCreateFunction = memoizeOne((kind) => (type) => createJSDocUnaryTypeWorker(kind, type));\n      const getJSDocUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocUnaryTypeWorker(kind, node, type));\n      const getJSDocPrePostfixUnaryTypeCreateFunction = memoizeOne((kind) => (type, postfix) => createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix));\n      const getJSDocPrePostfixUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocPrePostfixUnaryTypeWorker(kind, node, type));\n      const getJSDocSimpleTagCreateFunction = memoizeOne((kind) => (tagName, comment) => createJSDocSimpleTagWorker(kind, tagName, comment));\n      const getJSDocSimpleTagUpdateFunction = memoizeOne((kind) => (node, tagName, comment) => updateJSDocSimpleTagWorker(kind, node, tagName, comment));\n      const getJSDocTypeLikeTagCreateFunction = memoizeOne((kind) => (tagName, typeExpression, comment) => createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment));\n      const getJSDocTypeLikeTagUpdateFunction = memoizeOne((kind) => (node, tagName, typeExpression, comment) => updateJSDocTypeLikeTagWorker(kind, node, tagName, typeExpression, comment));\n      const factory2 = {\n        get parenthesizer() {\n          return parenthesizerRules();\n        },\n        get converters() {\n          return converters();\n        },\n        baseFactory: baseFactory2,\n        flags,\n        createNodeArray,\n        createNumericLiteral,\n        createBigIntLiteral,\n        createStringLiteral,\n        createStringLiteralFromNode,\n        createRegularExpressionLiteral,\n        createLiteralLikeNode,\n        createIdentifier,\n        createTempVariable,\n        createLoopVariable,\n        createUniqueName,\n        getGeneratedNameForNode,\n        createPrivateIdentifier,\n        createUniquePrivateName,\n        getGeneratedPrivateNameForNode,\n        createToken,\n        createSuper,\n        createThis,\n        createNull,\n        createTrue,\n        createFalse,\n        createModifier,\n        createModifiersFromModifierFlags,\n        createQualifiedName,\n        updateQualifiedName,\n        createComputedPropertyName,\n        updateComputedPropertyName,\n        createTypeParameterDeclaration,\n        updateTypeParameterDeclaration,\n        createParameterDeclaration,\n        updateParameterDeclaration,\n        createDecorator,\n        updateDecorator,\n        createPropertySignature,\n        updatePropertySignature,\n        createPropertyDeclaration,\n        updatePropertyDeclaration: updatePropertyDeclaration2,\n        createMethodSignature,\n        updateMethodSignature,\n        createMethodDeclaration,\n        updateMethodDeclaration,\n        createConstructorDeclaration,\n        updateConstructorDeclaration,\n        createGetAccessorDeclaration,\n        updateGetAccessorDeclaration,\n        createSetAccessorDeclaration,\n        updateSetAccessorDeclaration,\n        createCallSignature,\n        updateCallSignature,\n        createConstructSignature,\n        updateConstructSignature,\n        createIndexSignature,\n        updateIndexSignature,\n        createClassStaticBlockDeclaration,\n        updateClassStaticBlockDeclaration,\n        createTemplateLiteralTypeSpan,\n        updateTemplateLiteralTypeSpan,\n        createKeywordTypeNode,\n        createTypePredicateNode,\n        updateTypePredicateNode,\n        createTypeReferenceNode,\n        updateTypeReferenceNode,\n        createFunctionTypeNode,\n        updateFunctionTypeNode,\n        createConstructorTypeNode,\n        updateConstructorTypeNode,\n        createTypeQueryNode,\n        updateTypeQueryNode,\n        createTypeLiteralNode,\n        updateTypeLiteralNode,\n        createArrayTypeNode,\n        updateArrayTypeNode,\n        createTupleTypeNode,\n        updateTupleTypeNode,\n        createNamedTupleMember,\n        updateNamedTupleMember,\n        createOptionalTypeNode,\n        updateOptionalTypeNode,\n        createRestTypeNode,\n        updateRestTypeNode,\n        createUnionTypeNode,\n        updateUnionTypeNode,\n        createIntersectionTypeNode,\n        updateIntersectionTypeNode,\n        createConditionalTypeNode,\n        updateConditionalTypeNode,\n        createInferTypeNode,\n        updateInferTypeNode,\n        createImportTypeNode,\n        updateImportTypeNode,\n        createParenthesizedType,\n        updateParenthesizedType,\n        createThisTypeNode,\n        createTypeOperatorNode,\n        updateTypeOperatorNode,\n        createIndexedAccessTypeNode,\n        updateIndexedAccessTypeNode,\n        createMappedTypeNode,\n        updateMappedTypeNode,\n        createLiteralTypeNode,\n        updateLiteralTypeNode,\n        createTemplateLiteralType,\n        updateTemplateLiteralType,\n        createObjectBindingPattern,\n        updateObjectBindingPattern,\n        createArrayBindingPattern,\n        updateArrayBindingPattern,\n        createBindingElement,\n        updateBindingElement,\n        createArrayLiteralExpression,\n        updateArrayLiteralExpression,\n        createObjectLiteralExpression,\n        updateObjectLiteralExpression,\n        createPropertyAccessExpression: flags & 4 ? (expression, name) => setEmitFlags(\n          createPropertyAccessExpression(expression, name),\n          262144\n          /* NoIndentation */\n        ) : createPropertyAccessExpression,\n        updatePropertyAccessExpression,\n        createPropertyAccessChain: flags & 4 ? (expression, questionDotToken, name) => setEmitFlags(\n          createPropertyAccessChain(expression, questionDotToken, name),\n          262144\n          /* NoIndentation */\n        ) : createPropertyAccessChain,\n        updatePropertyAccessChain,\n        createElementAccessExpression,\n        updateElementAccessExpression,\n        createElementAccessChain,\n        updateElementAccessChain,\n        createCallExpression,\n        updateCallExpression,\n        createCallChain,\n        updateCallChain,\n        createNewExpression,\n        updateNewExpression,\n        createTaggedTemplateExpression,\n        updateTaggedTemplateExpression,\n        createTypeAssertion,\n        updateTypeAssertion,\n        createParenthesizedExpression,\n        updateParenthesizedExpression,\n        createFunctionExpression,\n        updateFunctionExpression,\n        createArrowFunction,\n        updateArrowFunction,\n        createDeleteExpression,\n        updateDeleteExpression,\n        createTypeOfExpression,\n        updateTypeOfExpression,\n        createVoidExpression,\n        updateVoidExpression,\n        createAwaitExpression,\n        updateAwaitExpression,\n        createPrefixUnaryExpression,\n        updatePrefixUnaryExpression,\n        createPostfixUnaryExpression,\n        updatePostfixUnaryExpression,\n        createBinaryExpression,\n        updateBinaryExpression,\n        createConditionalExpression,\n        updateConditionalExpression,\n        createTemplateExpression,\n        updateTemplateExpression,\n        createTemplateHead,\n        createTemplateMiddle,\n        createTemplateTail,\n        createNoSubstitutionTemplateLiteral,\n        createTemplateLiteralLikeNode,\n        createYieldExpression,\n        updateYieldExpression,\n        createSpreadElement,\n        updateSpreadElement,\n        createClassExpression,\n        updateClassExpression,\n        createOmittedExpression,\n        createExpressionWithTypeArguments,\n        updateExpressionWithTypeArguments,\n        createAsExpression,\n        updateAsExpression,\n        createNonNullExpression,\n        updateNonNullExpression,\n        createSatisfiesExpression,\n        updateSatisfiesExpression,\n        createNonNullChain,\n        updateNonNullChain,\n        createMetaProperty,\n        updateMetaProperty,\n        createTemplateSpan,\n        updateTemplateSpan,\n        createSemicolonClassElement,\n        createBlock,\n        updateBlock,\n        createVariableStatement,\n        updateVariableStatement,\n        createEmptyStatement,\n        createExpressionStatement,\n        updateExpressionStatement,\n        createIfStatement,\n        updateIfStatement,\n        createDoStatement,\n        updateDoStatement,\n        createWhileStatement,\n        updateWhileStatement,\n        createForStatement,\n        updateForStatement,\n        createForInStatement,\n        updateForInStatement,\n        createForOfStatement,\n        updateForOfStatement,\n        createContinueStatement,\n        updateContinueStatement,\n        createBreakStatement,\n        updateBreakStatement,\n        createReturnStatement,\n        updateReturnStatement,\n        createWithStatement,\n        updateWithStatement,\n        createSwitchStatement,\n        updateSwitchStatement,\n        createLabeledStatement,\n        updateLabeledStatement,\n        createThrowStatement,\n        updateThrowStatement,\n        createTryStatement,\n        updateTryStatement,\n        createDebuggerStatement,\n        createVariableDeclaration,\n        updateVariableDeclaration,\n        createVariableDeclarationList,\n        updateVariableDeclarationList,\n        createFunctionDeclaration,\n        updateFunctionDeclaration,\n        createClassDeclaration,\n        updateClassDeclaration,\n        createInterfaceDeclaration,\n        updateInterfaceDeclaration,\n        createTypeAliasDeclaration,\n        updateTypeAliasDeclaration,\n        createEnumDeclaration,\n        updateEnumDeclaration,\n        createModuleDeclaration,\n        updateModuleDeclaration,\n        createModuleBlock,\n        updateModuleBlock,\n        createCaseBlock,\n        updateCaseBlock,\n        createNamespaceExportDeclaration,\n        updateNamespaceExportDeclaration,\n        createImportEqualsDeclaration,\n        updateImportEqualsDeclaration,\n        createImportDeclaration,\n        updateImportDeclaration,\n        createImportClause,\n        updateImportClause,\n        createAssertClause,\n        updateAssertClause,\n        createAssertEntry,\n        updateAssertEntry,\n        createImportTypeAssertionContainer,\n        updateImportTypeAssertionContainer,\n        createNamespaceImport,\n        updateNamespaceImport,\n        createNamespaceExport,\n        updateNamespaceExport,\n        createNamedImports,\n        updateNamedImports,\n        createImportSpecifier,\n        updateImportSpecifier,\n        createExportAssignment: createExportAssignment2,\n        updateExportAssignment,\n        createExportDeclaration,\n        updateExportDeclaration,\n        createNamedExports,\n        updateNamedExports,\n        createExportSpecifier,\n        updateExportSpecifier,\n        createMissingDeclaration,\n        createExternalModuleReference,\n        updateExternalModuleReference,\n        // lazily load factory members for JSDoc types with similar structure\n        get createJSDocAllType() {\n          return getJSDocPrimaryTypeCreateFunction(\n            315\n            /* JSDocAllType */\n          );\n        },\n        get createJSDocUnknownType() {\n          return getJSDocPrimaryTypeCreateFunction(\n            316\n            /* JSDocUnknownType */\n          );\n        },\n        get createJSDocNonNullableType() {\n          return getJSDocPrePostfixUnaryTypeCreateFunction(\n            318\n            /* JSDocNonNullableType */\n          );\n        },\n        get updateJSDocNonNullableType() {\n          return getJSDocPrePostfixUnaryTypeUpdateFunction(\n            318\n            /* JSDocNonNullableType */\n          );\n        },\n        get createJSDocNullableType() {\n          return getJSDocPrePostfixUnaryTypeCreateFunction(\n            317\n            /* JSDocNullableType */\n          );\n        },\n        get updateJSDocNullableType() {\n          return getJSDocPrePostfixUnaryTypeUpdateFunction(\n            317\n            /* JSDocNullableType */\n          );\n        },\n        get createJSDocOptionalType() {\n          return getJSDocUnaryTypeCreateFunction(\n            319\n            /* JSDocOptionalType */\n          );\n        },\n        get updateJSDocOptionalType() {\n          return getJSDocUnaryTypeUpdateFunction(\n            319\n            /* JSDocOptionalType */\n          );\n        },\n        get createJSDocVariadicType() {\n          return getJSDocUnaryTypeCreateFunction(\n            321\n            /* JSDocVariadicType */\n          );\n        },\n        get updateJSDocVariadicType() {\n          return getJSDocUnaryTypeUpdateFunction(\n            321\n            /* JSDocVariadicType */\n          );\n        },\n        get createJSDocNamepathType() {\n          return getJSDocUnaryTypeCreateFunction(\n            322\n            /* JSDocNamepathType */\n          );\n        },\n        get updateJSDocNamepathType() {\n          return getJSDocUnaryTypeUpdateFunction(\n            322\n            /* JSDocNamepathType */\n          );\n        },\n        createJSDocFunctionType,\n        updateJSDocFunctionType,\n        createJSDocTypeLiteral,\n        updateJSDocTypeLiteral,\n        createJSDocTypeExpression,\n        updateJSDocTypeExpression,\n        createJSDocSignature,\n        updateJSDocSignature,\n        createJSDocTemplateTag,\n        updateJSDocTemplateTag,\n        createJSDocTypedefTag,\n        updateJSDocTypedefTag,\n        createJSDocParameterTag,\n        updateJSDocParameterTag,\n        createJSDocPropertyTag,\n        updateJSDocPropertyTag,\n        createJSDocCallbackTag,\n        updateJSDocCallbackTag,\n        createJSDocOverloadTag,\n        updateJSDocOverloadTag,\n        createJSDocAugmentsTag,\n        updateJSDocAugmentsTag,\n        createJSDocImplementsTag,\n        updateJSDocImplementsTag,\n        createJSDocSeeTag,\n        updateJSDocSeeTag,\n        createJSDocNameReference,\n        updateJSDocNameReference,\n        createJSDocMemberName,\n        updateJSDocMemberName,\n        createJSDocLink,\n        updateJSDocLink,\n        createJSDocLinkCode,\n        updateJSDocLinkCode,\n        createJSDocLinkPlain,\n        updateJSDocLinkPlain,\n        // lazily load factory members for JSDoc tags with similar structure\n        get createJSDocTypeTag() {\n          return getJSDocTypeLikeTagCreateFunction(\n            347\n            /* JSDocTypeTag */\n          );\n        },\n        get updateJSDocTypeTag() {\n          return getJSDocTypeLikeTagUpdateFunction(\n            347\n            /* JSDocTypeTag */\n          );\n        },\n        get createJSDocReturnTag() {\n          return getJSDocTypeLikeTagCreateFunction(\n            345\n            /* JSDocReturnTag */\n          );\n        },\n        get updateJSDocReturnTag() {\n          return getJSDocTypeLikeTagUpdateFunction(\n            345\n            /* JSDocReturnTag */\n          );\n        },\n        get createJSDocThisTag() {\n          return getJSDocTypeLikeTagCreateFunction(\n            346\n            /* JSDocThisTag */\n          );\n        },\n        get updateJSDocThisTag() {\n          return getJSDocTypeLikeTagUpdateFunction(\n            346\n            /* JSDocThisTag */\n          );\n        },\n        get createJSDocAuthorTag() {\n          return getJSDocSimpleTagCreateFunction(\n            333\n            /* JSDocAuthorTag */\n          );\n        },\n        get updateJSDocAuthorTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            333\n            /* JSDocAuthorTag */\n          );\n        },\n        get createJSDocClassTag() {\n          return getJSDocSimpleTagCreateFunction(\n            335\n            /* JSDocClassTag */\n          );\n        },\n        get updateJSDocClassTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            335\n            /* JSDocClassTag */\n          );\n        },\n        get createJSDocPublicTag() {\n          return getJSDocSimpleTagCreateFunction(\n            336\n            /* JSDocPublicTag */\n          );\n        },\n        get updateJSDocPublicTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            336\n            /* JSDocPublicTag */\n          );\n        },\n        get createJSDocPrivateTag() {\n          return getJSDocSimpleTagCreateFunction(\n            337\n            /* JSDocPrivateTag */\n          );\n        },\n        get updateJSDocPrivateTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            337\n            /* JSDocPrivateTag */\n          );\n        },\n        get createJSDocProtectedTag() {\n          return getJSDocSimpleTagCreateFunction(\n            338\n            /* JSDocProtectedTag */\n          );\n        },\n        get updateJSDocProtectedTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            338\n            /* JSDocProtectedTag */\n          );\n        },\n        get createJSDocReadonlyTag() {\n          return getJSDocSimpleTagCreateFunction(\n            339\n            /* JSDocReadonlyTag */\n          );\n        },\n        get updateJSDocReadonlyTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            339\n            /* JSDocReadonlyTag */\n          );\n        },\n        get createJSDocOverrideTag() {\n          return getJSDocSimpleTagCreateFunction(\n            340\n            /* JSDocOverrideTag */\n          );\n        },\n        get updateJSDocOverrideTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            340\n            /* JSDocOverrideTag */\n          );\n        },\n        get createJSDocDeprecatedTag() {\n          return getJSDocSimpleTagCreateFunction(\n            334\n            /* JSDocDeprecatedTag */\n          );\n        },\n        get updateJSDocDeprecatedTag() {\n          return getJSDocSimpleTagUpdateFunction(\n            334\n            /* JSDocDeprecatedTag */\n          );\n        },\n        get createJSDocThrowsTag() {\n          return getJSDocTypeLikeTagCreateFunction(\n            352\n            /* JSDocThrowsTag */\n          );\n        },\n        get updateJSDocThrowsTag() {\n          return getJSDocTypeLikeTagUpdateFunction(\n            352\n            /* JSDocThrowsTag */\n          );\n        },\n        get createJSDocSatisfiesTag() {\n          return getJSDocTypeLikeTagCreateFunction(\n            353\n            /* JSDocSatisfiesTag */\n          );\n        },\n        get updateJSDocSatisfiesTag() {\n          return getJSDocTypeLikeTagUpdateFunction(\n            353\n            /* JSDocSatisfiesTag */\n          );\n        },\n        createJSDocEnumTag,\n        updateJSDocEnumTag,\n        createJSDocUnknownTag,\n        updateJSDocUnknownTag,\n        createJSDocText,\n        updateJSDocText,\n        createJSDocComment,\n        updateJSDocComment,\n        createJsxElement,\n        updateJsxElement,\n        createJsxSelfClosingElement,\n        updateJsxSelfClosingElement,\n        createJsxOpeningElement,\n        updateJsxOpeningElement,\n        createJsxClosingElement,\n        updateJsxClosingElement,\n        createJsxFragment,\n        createJsxText,\n        updateJsxText,\n        createJsxOpeningFragment,\n        createJsxJsxClosingFragment,\n        updateJsxFragment,\n        createJsxAttribute,\n        updateJsxAttribute,\n        createJsxAttributes,\n        updateJsxAttributes,\n        createJsxSpreadAttribute,\n        updateJsxSpreadAttribute,\n        createJsxExpression,\n        updateJsxExpression,\n        createCaseClause,\n        updateCaseClause,\n        createDefaultClause,\n        updateDefaultClause,\n        createHeritageClause,\n        updateHeritageClause,\n        createCatchClause,\n        updateCatchClause,\n        createPropertyAssignment,\n        updatePropertyAssignment,\n        createShorthandPropertyAssignment,\n        updateShorthandPropertyAssignment,\n        createSpreadAssignment,\n        updateSpreadAssignment,\n        createEnumMember,\n        updateEnumMember,\n        createSourceFile: createSourceFile2,\n        updateSourceFile: updateSourceFile2,\n        createRedirectedSourceFile,\n        createBundle,\n        updateBundle,\n        createUnparsedSource,\n        createUnparsedPrologue,\n        createUnparsedPrepend,\n        createUnparsedTextLike,\n        createUnparsedSyntheticReference,\n        createInputFiles: createInputFiles2,\n        createSyntheticExpression,\n        createSyntaxList: createSyntaxList3,\n        createNotEmittedStatement,\n        createPartiallyEmittedExpression,\n        updatePartiallyEmittedExpression,\n        createCommaListExpression,\n        updateCommaListExpression,\n        createEndOfDeclarationMarker,\n        createMergeDeclarationMarker,\n        createSyntheticReferenceExpression,\n        updateSyntheticReferenceExpression,\n        cloneNode,\n        // Lazily load factory methods for common operator factories and utilities\n        get createComma() {\n          return getBinaryCreateFunction(\n            27\n            /* CommaToken */\n          );\n        },\n        get createAssignment() {\n          return getBinaryCreateFunction(\n            63\n            /* EqualsToken */\n          );\n        },\n        get createLogicalOr() {\n          return getBinaryCreateFunction(\n            56\n            /* BarBarToken */\n          );\n        },\n        get createLogicalAnd() {\n          return getBinaryCreateFunction(\n            55\n            /* AmpersandAmpersandToken */\n          );\n        },\n        get createBitwiseOr() {\n          return getBinaryCreateFunction(\n            51\n            /* BarToken */\n          );\n        },\n        get createBitwiseXor() {\n          return getBinaryCreateFunction(\n            52\n            /* CaretToken */\n          );\n        },\n        get createBitwiseAnd() {\n          return getBinaryCreateFunction(\n            50\n            /* AmpersandToken */\n          );\n        },\n        get createStrictEquality() {\n          return getBinaryCreateFunction(\n            36\n            /* EqualsEqualsEqualsToken */\n          );\n        },\n        get createStrictInequality() {\n          return getBinaryCreateFunction(\n            37\n            /* ExclamationEqualsEqualsToken */\n          );\n        },\n        get createEquality() {\n          return getBinaryCreateFunction(\n            34\n            /* EqualsEqualsToken */\n          );\n        },\n        get createInequality() {\n          return getBinaryCreateFunction(\n            35\n            /* ExclamationEqualsToken */\n          );\n        },\n        get createLessThan() {\n          return getBinaryCreateFunction(\n            29\n            /* LessThanToken */\n          );\n        },\n        get createLessThanEquals() {\n          return getBinaryCreateFunction(\n            32\n            /* LessThanEqualsToken */\n          );\n        },\n        get createGreaterThan() {\n          return getBinaryCreateFunction(\n            31\n            /* GreaterThanToken */\n          );\n        },\n        get createGreaterThanEquals() {\n          return getBinaryCreateFunction(\n            33\n            /* GreaterThanEqualsToken */\n          );\n        },\n        get createLeftShift() {\n          return getBinaryCreateFunction(\n            47\n            /* LessThanLessThanToken */\n          );\n        },\n        get createRightShift() {\n          return getBinaryCreateFunction(\n            48\n            /* GreaterThanGreaterThanToken */\n          );\n        },\n        get createUnsignedRightShift() {\n          return getBinaryCreateFunction(\n            49\n            /* GreaterThanGreaterThanGreaterThanToken */\n          );\n        },\n        get createAdd() {\n          return getBinaryCreateFunction(\n            39\n            /* PlusToken */\n          );\n        },\n        get createSubtract() {\n          return getBinaryCreateFunction(\n            40\n            /* MinusToken */\n          );\n        },\n        get createMultiply() {\n          return getBinaryCreateFunction(\n            41\n            /* AsteriskToken */\n          );\n        },\n        get createDivide() {\n          return getBinaryCreateFunction(\n            43\n            /* SlashToken */\n          );\n        },\n        get createModulo() {\n          return getBinaryCreateFunction(\n            44\n            /* PercentToken */\n          );\n        },\n        get createExponent() {\n          return getBinaryCreateFunction(\n            42\n            /* AsteriskAsteriskToken */\n          );\n        },\n        get createPrefixPlus() {\n          return getPrefixUnaryCreateFunction(\n            39\n            /* PlusToken */\n          );\n        },\n        get createPrefixMinus() {\n          return getPrefixUnaryCreateFunction(\n            40\n            /* MinusToken */\n          );\n        },\n        get createPrefixIncrement() {\n          return getPrefixUnaryCreateFunction(\n            45\n            /* PlusPlusToken */\n          );\n        },\n        get createPrefixDecrement() {\n          return getPrefixUnaryCreateFunction(\n            46\n            /* MinusMinusToken */\n          );\n        },\n        get createBitwiseNot() {\n          return getPrefixUnaryCreateFunction(\n            54\n            /* TildeToken */\n          );\n        },\n        get createLogicalNot() {\n          return getPrefixUnaryCreateFunction(\n            53\n            /* ExclamationToken */\n          );\n        },\n        get createPostfixIncrement() {\n          return getPostfixUnaryCreateFunction(\n            45\n            /* PlusPlusToken */\n          );\n        },\n        get createPostfixDecrement() {\n          return getPostfixUnaryCreateFunction(\n            46\n            /* MinusMinusToken */\n          );\n        },\n        // Compound nodes\n        createImmediatelyInvokedFunctionExpression,\n        createImmediatelyInvokedArrowFunction,\n        createVoidZero,\n        createExportDefault,\n        createExternalModuleExport,\n        createTypeCheck,\n        createMethodCall,\n        createGlobalMethodCall,\n        createFunctionBindCall,\n        createFunctionCallCall,\n        createFunctionApplyCall,\n        createArraySliceCall,\n        createArrayConcatCall,\n        createObjectDefinePropertyCall,\n        createObjectGetOwnPropertyDescriptorCall,\n        createReflectGetCall,\n        createReflectSetCall,\n        createPropertyDescriptor,\n        createCallBinding,\n        createAssignmentTargetWrapper,\n        // Utilities\n        inlineExpressions,\n        getInternalName,\n        getLocalName,\n        getExportName,\n        getDeclarationName,\n        getNamespaceMemberName,\n        getExternalModuleOrNamespaceExportName,\n        restoreOuterExpressions,\n        restoreEnclosingLabel,\n        createUseStrictPrologue,\n        copyPrologue,\n        copyStandardPrologue,\n        copyCustomPrologue,\n        ensureUseStrict,\n        liftToBlock,\n        mergeLexicalEnvironment,\n        updateModifiers\n      };\n      forEach(nodeFactoryPatchers, (fn) => fn(factory2));\n      return factory2;\n      function createNodeArray(elements, hasTrailingComma) {\n        if (elements === void 0 || elements === emptyArray) {\n          elements = [];\n        } else if (isNodeArray(elements)) {\n          if (hasTrailingComma === void 0 || elements.hasTrailingComma === hasTrailingComma) {\n            if (elements.transformFlags === void 0) {\n              aggregateChildrenFlags(elements);\n            }\n            Debug2.attachNodeArrayDebugInfo(elements);\n            return elements;\n          }\n          const array2 = elements.slice();\n          array2.pos = elements.pos;\n          array2.end = elements.end;\n          array2.hasTrailingComma = hasTrailingComma;\n          array2.transformFlags = elements.transformFlags;\n          Debug2.attachNodeArrayDebugInfo(array2);\n          return array2;\n        }\n        const length2 = elements.length;\n        const array = length2 >= 1 && length2 <= 4 ? elements.slice() : elements;\n        array.pos = -1;\n        array.end = -1;\n        array.hasTrailingComma = !!hasTrailingComma;\n        array.transformFlags = 0;\n        aggregateChildrenFlags(array);\n        Debug2.attachNodeArrayDebugInfo(array);\n        return array;\n      }\n      function createBaseNode(kind) {\n        return baseFactory2.createBaseNode(kind);\n      }\n      function createBaseDeclaration(kind) {\n        const node = createBaseNode(kind);\n        node.symbol = void 0;\n        node.localSymbol = void 0;\n        return node;\n      }\n      function finishUpdateBaseSignatureDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.typeArguments = original.typeArguments;\n        }\n        return update(updated, original);\n      }\n      function createNumericLiteral(value, numericLiteralFlags = 0) {\n        const node = createBaseDeclaration(\n          8\n          /* NumericLiteral */\n        );\n        node.text = typeof value === \"number\" ? value + \"\" : value;\n        node.numericLiteralFlags = numericLiteralFlags;\n        if (numericLiteralFlags & 384)\n          node.transformFlags |= 1024;\n        return node;\n      }\n      function createBigIntLiteral(value) {\n        const node = createBaseToken(\n          9\n          /* BigIntLiteral */\n        );\n        node.text = typeof value === \"string\" ? value : pseudoBigIntToString(value) + \"n\";\n        node.transformFlags |= 4;\n        return node;\n      }\n      function createBaseStringLiteral(text, isSingleQuote) {\n        const node = createBaseDeclaration(\n          10\n          /* StringLiteral */\n        );\n        node.text = text;\n        node.singleQuote = isSingleQuote;\n        return node;\n      }\n      function createStringLiteral(text, isSingleQuote, hasExtendedUnicodeEscape) {\n        const node = createBaseStringLiteral(text, isSingleQuote);\n        node.hasExtendedUnicodeEscape = hasExtendedUnicodeEscape;\n        if (hasExtendedUnicodeEscape)\n          node.transformFlags |= 1024;\n        return node;\n      }\n      function createStringLiteralFromNode(sourceNode) {\n        const node = createBaseStringLiteral(\n          getTextOfIdentifierOrLiteral(sourceNode),\n          /*isSingleQuote*/\n          void 0\n        );\n        node.textSourceNode = sourceNode;\n        return node;\n      }\n      function createRegularExpressionLiteral(text) {\n        const node = createBaseToken(\n          13\n          /* RegularExpressionLiteral */\n        );\n        node.text = text;\n        return node;\n      }\n      function createLiteralLikeNode(kind, text) {\n        switch (kind) {\n          case 8:\n            return createNumericLiteral(\n              text,\n              /*numericLiteralFlags*/\n              0\n            );\n          case 9:\n            return createBigIntLiteral(text);\n          case 10:\n            return createStringLiteral(\n              text,\n              /*isSingleQuote*/\n              void 0\n            );\n          case 11:\n            return createJsxText(\n              text,\n              /*containsOnlyTriviaWhiteSpaces*/\n              false\n            );\n          case 12:\n            return createJsxText(\n              text,\n              /*containsOnlyTriviaWhiteSpaces*/\n              true\n            );\n          case 13:\n            return createRegularExpressionLiteral(text);\n          case 14:\n            return createTemplateLiteralLikeNode(\n              kind,\n              text,\n              /*rawText*/\n              void 0,\n              /*templateFlags*/\n              0\n            );\n        }\n      }\n      function createBaseIdentifier(escapedText) {\n        const node = baseFactory2.createBaseIdentifierNode(\n          79\n          /* Identifier */\n        );\n        node.escapedText = escapedText;\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        node.symbol = void 0;\n        return node;\n      }\n      function createBaseGeneratedIdentifier(text, autoGenerateFlags, prefix, suffix) {\n        const node = createBaseIdentifier(escapeLeadingUnderscores(text));\n        setIdentifierAutoGenerate(node, {\n          flags: autoGenerateFlags,\n          id: nextAutoGenerateId,\n          prefix,\n          suffix\n        });\n        nextAutoGenerateId++;\n        return node;\n      }\n      function createIdentifier(text, originalKeywordKind, hasExtendedUnicodeEscape) {\n        if (originalKeywordKind === void 0 && text) {\n          originalKeywordKind = stringToToken(text);\n        }\n        if (originalKeywordKind === 79) {\n          originalKeywordKind = void 0;\n        }\n        const node = createBaseIdentifier(escapeLeadingUnderscores(text));\n        if (hasExtendedUnicodeEscape)\n          node.flags |= 128;\n        if (node.escapedText === \"await\") {\n          node.transformFlags |= 67108864;\n        }\n        if (node.flags & 128) {\n          node.transformFlags |= 1024;\n        }\n        return node;\n      }\n      function createTempVariable(recordTempVariable, reservedInNestedScopes, prefix, suffix) {\n        let flags2 = 1;\n        if (reservedInNestedScopes)\n          flags2 |= 8;\n        const name = createBaseGeneratedIdentifier(\"\", flags2, prefix, suffix);\n        if (recordTempVariable) {\n          recordTempVariable(name);\n        }\n        return name;\n      }\n      function createLoopVariable(reservedInNestedScopes) {\n        let flags2 = 2;\n        if (reservedInNestedScopes)\n          flags2 |= 8;\n        return createBaseGeneratedIdentifier(\n          \"\",\n          flags2,\n          /*prefix*/\n          void 0,\n          /*suffix*/\n          void 0\n        );\n      }\n      function createUniqueName(text, flags2 = 0, prefix, suffix) {\n        Debug2.assert(!(flags2 & 7), \"Argument out of range: flags\");\n        Debug2.assert((flags2 & (16 | 32)) !== 32, \"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic\");\n        return createBaseGeneratedIdentifier(text, 3 | flags2, prefix, suffix);\n      }\n      function getGeneratedNameForNode(node, flags2 = 0, prefix, suffix) {\n        Debug2.assert(!(flags2 & 7), \"Argument out of range: flags\");\n        const text = !node ? \"\" : isMemberName(node) ? formatGeneratedName(\n          /*privateName*/\n          false,\n          prefix,\n          node,\n          suffix,\n          idText\n        ) : `generated@${getNodeId(node)}`;\n        if (prefix || suffix)\n          flags2 |= 16;\n        const name = createBaseGeneratedIdentifier(text, 4 | flags2, prefix, suffix);\n        name.original = node;\n        return name;\n      }\n      function createBasePrivateIdentifier(escapedText) {\n        const node = baseFactory2.createBasePrivateIdentifierNode(\n          80\n          /* PrivateIdentifier */\n        );\n        node.escapedText = escapedText;\n        node.transformFlags |= 16777216;\n        return node;\n      }\n      function createPrivateIdentifier(text) {\n        if (!startsWith(text, \"#\"))\n          Debug2.fail(\"First character of private identifier must be #: \" + text);\n        return createBasePrivateIdentifier(escapeLeadingUnderscores(text));\n      }\n      function createBaseGeneratedPrivateIdentifier(text, autoGenerateFlags, prefix, suffix) {\n        const node = createBasePrivateIdentifier(escapeLeadingUnderscores(text));\n        setIdentifierAutoGenerate(node, {\n          flags: autoGenerateFlags,\n          id: nextAutoGenerateId,\n          prefix,\n          suffix\n        });\n        nextAutoGenerateId++;\n        return node;\n      }\n      function createUniquePrivateName(text, prefix, suffix) {\n        if (text && !startsWith(text, \"#\"))\n          Debug2.fail(\"First character of private identifier must be #: \" + text);\n        const autoGenerateFlags = 8 | (text ? 3 : 1);\n        return createBaseGeneratedPrivateIdentifier(text != null ? text : \"\", autoGenerateFlags, prefix, suffix);\n      }\n      function getGeneratedPrivateNameForNode(node, prefix, suffix) {\n        const text = isMemberName(node) ? formatGeneratedName(\n          /*privateName*/\n          true,\n          prefix,\n          node,\n          suffix,\n          idText\n        ) : `#generated@${getNodeId(node)}`;\n        const flags2 = prefix || suffix ? 16 : 0;\n        const name = createBaseGeneratedPrivateIdentifier(text, 4 | flags2, prefix, suffix);\n        name.original = node;\n        return name;\n      }\n      function createBaseToken(kind) {\n        return baseFactory2.createBaseTokenNode(kind);\n      }\n      function createToken(token) {\n        Debug2.assert(token >= 0 && token <= 162, \"Invalid token\");\n        Debug2.assert(token <= 14 || token >= 17, \"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.\");\n        Debug2.assert(token <= 8 || token >= 14, \"Invalid token. Use 'createLiteralLikeNode' to create literals.\");\n        Debug2.assert(token !== 79, \"Invalid token. Use 'createIdentifier' to create identifiers\");\n        const node = createBaseToken(token);\n        let transformFlags = 0;\n        switch (token) {\n          case 132:\n            transformFlags = 256 | 128;\n            break;\n          case 123:\n          case 121:\n          case 122:\n          case 146:\n          case 126:\n          case 136:\n          case 85:\n          case 131:\n          case 148:\n          case 160:\n          case 144:\n          case 149:\n          case 101:\n          case 145:\n          case 161:\n          case 152:\n          case 134:\n          case 153:\n          case 114:\n          case 157:\n          case 155:\n            transformFlags = 1;\n            break;\n          case 106:\n            transformFlags = 1024 | 134217728;\n            node.flowNode = void 0;\n            break;\n          case 124:\n            transformFlags = 1024;\n            break;\n          case 127:\n            transformFlags = 16777216;\n            break;\n          case 108:\n            transformFlags = 16384;\n            node.flowNode = void 0;\n            break;\n        }\n        if (transformFlags) {\n          node.transformFlags |= transformFlags;\n        }\n        return node;\n      }\n      function createSuper() {\n        return createToken(\n          106\n          /* SuperKeyword */\n        );\n      }\n      function createThis() {\n        return createToken(\n          108\n          /* ThisKeyword */\n        );\n      }\n      function createNull() {\n        return createToken(\n          104\n          /* NullKeyword */\n        );\n      }\n      function createTrue() {\n        return createToken(\n          110\n          /* TrueKeyword */\n        );\n      }\n      function createFalse() {\n        return createToken(\n          95\n          /* FalseKeyword */\n        );\n      }\n      function createModifier(kind) {\n        return createToken(kind);\n      }\n      function createModifiersFromModifierFlags(flags2) {\n        const result = [];\n        if (flags2 & 1)\n          result.push(createModifier(\n            93\n            /* ExportKeyword */\n          ));\n        if (flags2 & 2)\n          result.push(createModifier(\n            136\n            /* DeclareKeyword */\n          ));\n        if (flags2 & 1024)\n          result.push(createModifier(\n            88\n            /* DefaultKeyword */\n          ));\n        if (flags2 & 2048)\n          result.push(createModifier(\n            85\n            /* ConstKeyword */\n          ));\n        if (flags2 & 4)\n          result.push(createModifier(\n            123\n            /* PublicKeyword */\n          ));\n        if (flags2 & 8)\n          result.push(createModifier(\n            121\n            /* PrivateKeyword */\n          ));\n        if (flags2 & 16)\n          result.push(createModifier(\n            122\n            /* ProtectedKeyword */\n          ));\n        if (flags2 & 256)\n          result.push(createModifier(\n            126\n            /* AbstractKeyword */\n          ));\n        if (flags2 & 32)\n          result.push(createModifier(\n            124\n            /* StaticKeyword */\n          ));\n        if (flags2 & 16384)\n          result.push(createModifier(\n            161\n            /* OverrideKeyword */\n          ));\n        if (flags2 & 64)\n          result.push(createModifier(\n            146\n            /* ReadonlyKeyword */\n          ));\n        if (flags2 & 128)\n          result.push(createModifier(\n            127\n            /* AccessorKeyword */\n          ));\n        if (flags2 & 512)\n          result.push(createModifier(\n            132\n            /* AsyncKeyword */\n          ));\n        if (flags2 & 32768)\n          result.push(createModifier(\n            101\n            /* InKeyword */\n          ));\n        if (flags2 & 65536)\n          result.push(createModifier(\n            145\n            /* OutKeyword */\n          ));\n        return result.length ? result : void 0;\n      }\n      function createQualifiedName(left, right) {\n        const node = createBaseNode(\n          163\n          /* QualifiedName */\n        );\n        node.left = left;\n        node.right = asName(right);\n        node.transformFlags |= propagateChildFlags(node.left) | propagateIdentifierNameFlags(node.right);\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateQualifiedName(node, left, right) {\n        return node.left !== left || node.right !== right ? update(createQualifiedName(left, right), node) : node;\n      }\n      function createComputedPropertyName(expression) {\n        const node = createBaseNode(\n          164\n          /* ComputedPropertyName */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionOfComputedPropertyName(expression);\n        node.transformFlags |= propagateChildFlags(node.expression) | 1024 | 131072;\n        return node;\n      }\n      function updateComputedPropertyName(node, expression) {\n        return node.expression !== expression ? update(createComputedPropertyName(expression), node) : node;\n      }\n      function createTypeParameterDeclaration(modifiers, name, constraint, defaultType) {\n        const node = createBaseDeclaration(\n          165\n          /* TypeParameter */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.constraint = constraint;\n        node.default = defaultType;\n        node.transformFlags = 1;\n        node.expression = void 0;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateTypeParameterDeclaration(node, modifiers, name, constraint, defaultType) {\n        return node.modifiers !== modifiers || node.name !== name || node.constraint !== constraint || node.default !== defaultType ? update(createTypeParameterDeclaration(modifiers, name, constraint, defaultType), node) : node;\n      }\n      function createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n        var _a22, _b3;\n        const node = createBaseDeclaration(\n          166\n          /* Parameter */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.dotDotDotToken = dotDotDotToken;\n        node.name = asName(name);\n        node.questionToken = questionToken;\n        node.type = type;\n        node.initializer = asInitializer(initializer);\n        if (isThisIdentifier(node.name)) {\n          node.transformFlags = 1;\n        } else {\n          node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.dotDotDotToken) | propagateNameFlags(node.name) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.initializer) | (((_a22 = node.questionToken) != null ? _a22 : node.type) ? 1 : 0) | (((_b3 = node.dotDotDotToken) != null ? _b3 : node.initializer) ? 1024 : 0) | (modifiersToFlags(node.modifiers) & 16476 ? 8192 : 0);\n        }\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateParameterDeclaration(node, modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n        return node.modifiers !== modifiers || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type || node.initializer !== initializer ? update(createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer), node) : node;\n      }\n      function createDecorator(expression) {\n        const node = createBaseNode(\n          167\n          /* Decorator */\n        );\n        node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(\n          expression,\n          /*optionalChain*/\n          false\n        );\n        node.transformFlags |= propagateChildFlags(node.expression) | 1 | 8192 | 33554432;\n        return node;\n      }\n      function updateDecorator(node, expression) {\n        return node.expression !== expression ? update(createDecorator(expression), node) : node;\n      }\n      function createPropertySignature(modifiers, name, questionToken, type) {\n        const node = createBaseDeclaration(\n          168\n          /* PropertySignature */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.type = type;\n        node.questionToken = questionToken;\n        node.transformFlags = 1;\n        node.initializer = void 0;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updatePropertySignature(node, modifiers, name, questionToken, type) {\n        return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.type !== type ? finishUpdatePropertySignature(createPropertySignature(modifiers, name, questionToken, type), node) : node;\n      }\n      function finishUpdatePropertySignature(updated, original) {\n        if (updated !== original) {\n          updated.initializer = original.initializer;\n        }\n        return update(updated, original);\n      }\n      function createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer) {\n        const node = createBaseDeclaration(\n          169\n          /* PropertyDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.questionToken = questionOrExclamationToken && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0;\n        node.exclamationToken = questionOrExclamationToken && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0;\n        node.type = type;\n        node.initializer = asInitializer(initializer);\n        const isAmbient = node.flags & 16777216 || modifiersToFlags(node.modifiers) & 2;\n        node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (isAmbient || node.questionToken || node.exclamationToken || node.type ? 1 : 0) | (isComputedPropertyName(node.name) || modifiersToFlags(node.modifiers) & 32 && node.initializer ? 8192 : 0) | 16777216;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updatePropertyDeclaration2(node, modifiers, name, questionOrExclamationToken, type, initializer) {\n        return node.modifiers !== modifiers || node.name !== name || node.questionToken !== (questionOrExclamationToken !== void 0 && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.exclamationToken !== (questionOrExclamationToken !== void 0 && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.type !== type || node.initializer !== initializer ? update(createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer), node) : node;\n      }\n      function createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type) {\n        const node = createBaseDeclaration(\n          170\n          /* MethodSignature */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.questionToken = questionToken;\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function updateMethodSignature(node, modifiers, name, questionToken, typeParameters, parameters, type) {\n        return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type), node) : node;\n      }\n      function createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n        const node = createBaseDeclaration(\n          171\n          /* MethodDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.asteriskToken = asteriskToken;\n        node.name = asName(name);\n        node.questionToken = questionToken;\n        node.exclamationToken = void 0;\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = createNodeArray(parameters);\n        node.type = type;\n        node.body = body;\n        if (!node.body) {\n          node.transformFlags = 1;\n        } else {\n          const isAsync = modifiersToFlags(node.modifiers) & 512;\n          const isGenerator = !!node.asteriskToken;\n          const isAsyncGenerator = isAsync && isGenerator;\n          node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildFlags(node.questionToken) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 | (isAsyncGenerator ? 128 : isAsync ? 256 : isGenerator ? 2048 : 0) | (node.questionToken || node.typeParameters || node.type ? 1 : 0) | 1024;\n        }\n        node.typeArguments = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateMethodDeclaration(node, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n        return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateMethodDeclaration(createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body), node) : node;\n      }\n      function finishUpdateMethodDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.exclamationToken = original.exclamationToken;\n        }\n        return update(updated, original);\n      }\n      function createClassStaticBlockDeclaration(body) {\n        const node = createBaseDeclaration(\n          172\n          /* ClassStaticBlockDeclaration */\n        );\n        node.body = body;\n        node.transformFlags = propagateChildFlags(body) | 16777216;\n        node.modifiers = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateClassStaticBlockDeclaration(node, body) {\n        return node.body !== body ? finishUpdateClassStaticBlockDeclaration(createClassStaticBlockDeclaration(body), node) : node;\n      }\n      function finishUpdateClassStaticBlockDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.modifiers = original.modifiers;\n        }\n        return update(updated, original);\n      }\n      function createConstructorDeclaration(modifiers, parameters, body) {\n        const node = createBaseDeclaration(\n          173\n          /* Constructor */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.parameters = createNodeArray(parameters);\n        node.body = body;\n        node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.body) & ~67108864 | 1024;\n        node.typeParameters = void 0;\n        node.type = void 0;\n        node.typeArguments = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateConstructorDeclaration(node, modifiers, parameters, body) {\n        return node.modifiers !== modifiers || node.parameters !== parameters || node.body !== body ? finishUpdateConstructorDeclaration(createConstructorDeclaration(modifiers, parameters, body), node) : node;\n      }\n      function finishUpdateConstructorDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.typeParameters = original.typeParameters;\n          updated.type = original.type;\n        }\n        return finishUpdateBaseSignatureDeclaration(updated, original);\n      }\n      function createGetAccessorDeclaration(modifiers, name, parameters, type, body) {\n        const node = createBaseDeclaration(\n          174\n          /* GetAccessor */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.parameters = createNodeArray(parameters);\n        node.type = type;\n        node.body = body;\n        if (!node.body) {\n          node.transformFlags = 1;\n        } else {\n          node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 | (node.type ? 1 : 0);\n        }\n        node.typeArguments = void 0;\n        node.typeParameters = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateGetAccessorDeclaration(node, modifiers, name, parameters, type, body) {\n        return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateGetAccessorDeclaration(createGetAccessorDeclaration(modifiers, name, parameters, type, body), node) : node;\n      }\n      function finishUpdateGetAccessorDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.typeParameters = original.typeParameters;\n        }\n        return finishUpdateBaseSignatureDeclaration(updated, original);\n      }\n      function createSetAccessorDeclaration(modifiers, name, parameters, body) {\n        const node = createBaseDeclaration(\n          175\n          /* SetAccessor */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.parameters = createNodeArray(parameters);\n        node.body = body;\n        if (!node.body) {\n          node.transformFlags = 1;\n        } else {\n          node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.body) & ~67108864 | (node.type ? 1 : 0);\n        }\n        node.typeArguments = void 0;\n        node.typeParameters = void 0;\n        node.type = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateSetAccessorDeclaration(node, modifiers, name, parameters, body) {\n        return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.body !== body ? finishUpdateSetAccessorDeclaration(createSetAccessorDeclaration(modifiers, name, parameters, body), node) : node;\n      }\n      function finishUpdateSetAccessorDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.typeParameters = original.typeParameters;\n          updated.type = original.type;\n        }\n        return finishUpdateBaseSignatureDeclaration(updated, original);\n      }\n      function createCallSignature(typeParameters, parameters, type) {\n        const node = createBaseDeclaration(\n          176\n          /* CallSignature */\n        );\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function updateCallSignature(node, typeParameters, parameters, type) {\n        return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createCallSignature(typeParameters, parameters, type), node) : node;\n      }\n      function createConstructSignature(typeParameters, parameters, type) {\n        const node = createBaseDeclaration(\n          177\n          /* ConstructSignature */\n        );\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function updateConstructSignature(node, typeParameters, parameters, type) {\n        return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructSignature(typeParameters, parameters, type), node) : node;\n      }\n      function createIndexSignature(modifiers, parameters, type) {\n        const node = createBaseDeclaration(\n          178\n          /* IndexSignature */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function updateIndexSignature(node, modifiers, parameters, type) {\n        return node.parameters !== parameters || node.type !== type || node.modifiers !== modifiers ? finishUpdateBaseSignatureDeclaration(createIndexSignature(modifiers, parameters, type), node) : node;\n      }\n      function createTemplateLiteralTypeSpan(type, literal) {\n        const node = createBaseNode(\n          201\n          /* TemplateLiteralTypeSpan */\n        );\n        node.type = type;\n        node.literal = literal;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTemplateLiteralTypeSpan(node, type, literal) {\n        return node.type !== type || node.literal !== literal ? update(createTemplateLiteralTypeSpan(type, literal), node) : node;\n      }\n      function createKeywordTypeNode(kind) {\n        return createToken(kind);\n      }\n      function createTypePredicateNode(assertsModifier, parameterName, type) {\n        const node = createBaseNode(\n          179\n          /* TypePredicate */\n        );\n        node.assertsModifier = assertsModifier;\n        node.parameterName = asName(parameterName);\n        node.type = type;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTypePredicateNode(node, assertsModifier, parameterName, type) {\n        return node.assertsModifier !== assertsModifier || node.parameterName !== parameterName || node.type !== type ? update(createTypePredicateNode(assertsModifier, parameterName, type), node) : node;\n      }\n      function createTypeReferenceNode(typeName, typeArguments) {\n        const node = createBaseNode(\n          180\n          /* TypeReference */\n        );\n        node.typeName = asName(typeName);\n        node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(createNodeArray(typeArguments));\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTypeReferenceNode(node, typeName, typeArguments) {\n        return node.typeName !== typeName || node.typeArguments !== typeArguments ? update(createTypeReferenceNode(typeName, typeArguments), node) : node;\n      }\n      function createFunctionTypeNode(typeParameters, parameters, type) {\n        const node = createBaseDeclaration(\n          181\n          /* FunctionType */\n        );\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.modifiers = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function updateFunctionTypeNode(node, typeParameters, parameters, type) {\n        return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateFunctionTypeNode(createFunctionTypeNode(typeParameters, parameters, type), node) : node;\n      }\n      function finishUpdateFunctionTypeNode(updated, original) {\n        if (updated !== original) {\n          updated.modifiers = original.modifiers;\n        }\n        return finishUpdateBaseSignatureDeclaration(updated, original);\n      }\n      function createConstructorTypeNode(...args) {\n        return args.length === 4 ? createConstructorTypeNode1(...args) : args.length === 3 ? createConstructorTypeNode2(...args) : Debug2.fail(\"Incorrect number of arguments specified.\");\n      }\n      function createConstructorTypeNode1(modifiers, typeParameters, parameters, type) {\n        const node = createBaseDeclaration(\n          182\n          /* ConstructorType */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function createConstructorTypeNode2(typeParameters, parameters, type) {\n        return createConstructorTypeNode1(\n          /*modifiers*/\n          void 0,\n          typeParameters,\n          parameters,\n          type\n        );\n      }\n      function updateConstructorTypeNode(...args) {\n        return args.length === 5 ? updateConstructorTypeNode1(...args) : args.length === 4 ? updateConstructorTypeNode2(...args) : Debug2.fail(\"Incorrect number of arguments specified.\");\n      }\n      function updateConstructorTypeNode1(node, modifiers, typeParameters, parameters, type) {\n        return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructorTypeNode(modifiers, typeParameters, parameters, type), node) : node;\n      }\n      function updateConstructorTypeNode2(node, typeParameters, parameters, type) {\n        return updateConstructorTypeNode1(node, node.modifiers, typeParameters, parameters, type);\n      }\n      function createTypeQueryNode(exprName, typeArguments) {\n        const node = createBaseNode(\n          183\n          /* TypeQuery */\n        );\n        node.exprName = exprName;\n        node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments);\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTypeQueryNode(node, exprName, typeArguments) {\n        return node.exprName !== exprName || node.typeArguments !== typeArguments ? update(createTypeQueryNode(exprName, typeArguments), node) : node;\n      }\n      function createTypeLiteralNode(members) {\n        const node = createBaseDeclaration(\n          184\n          /* TypeLiteral */\n        );\n        node.members = createNodeArray(members);\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTypeLiteralNode(node, members) {\n        return node.members !== members ? update(createTypeLiteralNode(members), node) : node;\n      }\n      function createArrayTypeNode(elementType) {\n        const node = createBaseNode(\n          185\n          /* ArrayType */\n        );\n        node.elementType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(elementType);\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateArrayTypeNode(node, elementType) {\n        return node.elementType !== elementType ? update(createArrayTypeNode(elementType), node) : node;\n      }\n      function createTupleTypeNode(elements) {\n        const node = createBaseNode(\n          186\n          /* TupleType */\n        );\n        node.elements = createNodeArray(parenthesizerRules().parenthesizeElementTypesOfTupleType(elements));\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTupleTypeNode(node, elements) {\n        return node.elements !== elements ? update(createTupleTypeNode(elements), node) : node;\n      }\n      function createNamedTupleMember(dotDotDotToken, name, questionToken, type) {\n        const node = createBaseDeclaration(\n          199\n          /* NamedTupleMember */\n        );\n        node.dotDotDotToken = dotDotDotToken;\n        node.name = name;\n        node.questionToken = questionToken;\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateNamedTupleMember(node, dotDotDotToken, name, questionToken, type) {\n        return node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type ? update(createNamedTupleMember(dotDotDotToken, name, questionToken, type), node) : node;\n      }\n      function createOptionalTypeNode(type) {\n        const node = createBaseNode(\n          187\n          /* OptionalType */\n        );\n        node.type = parenthesizerRules().parenthesizeTypeOfOptionalType(type);\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateOptionalTypeNode(node, type) {\n        return node.type !== type ? update(createOptionalTypeNode(type), node) : node;\n      }\n      function createRestTypeNode(type) {\n        const node = createBaseNode(\n          188\n          /* RestType */\n        );\n        node.type = type;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateRestTypeNode(node, type) {\n        return node.type !== type ? update(createRestTypeNode(type), node) : node;\n      }\n      function createUnionOrIntersectionTypeNode(kind, types, parenthesize) {\n        const node = createBaseNode(kind);\n        node.types = factory2.createNodeArray(parenthesize(types));\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateUnionOrIntersectionTypeNode(node, types, parenthesize) {\n        return node.types !== types ? update(createUnionOrIntersectionTypeNode(node.kind, types, parenthesize), node) : node;\n      }\n      function createUnionTypeNode(types) {\n        return createUnionOrIntersectionTypeNode(189, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType);\n      }\n      function updateUnionTypeNode(node, types) {\n        return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType);\n      }\n      function createIntersectionTypeNode(types) {\n        return createUnionOrIntersectionTypeNode(190, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType);\n      }\n      function updateIntersectionTypeNode(node, types) {\n        return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType);\n      }\n      function createConditionalTypeNode(checkType, extendsType, trueType, falseType) {\n        const node = createBaseNode(\n          191\n          /* ConditionalType */\n        );\n        node.checkType = parenthesizerRules().parenthesizeCheckTypeOfConditionalType(checkType);\n        node.extendsType = parenthesizerRules().parenthesizeExtendsTypeOfConditionalType(extendsType);\n        node.trueType = trueType;\n        node.falseType = falseType;\n        node.transformFlags = 1;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateConditionalTypeNode(node, checkType, extendsType, trueType, falseType) {\n        return node.checkType !== checkType || node.extendsType !== extendsType || node.trueType !== trueType || node.falseType !== falseType ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node) : node;\n      }\n      function createInferTypeNode(typeParameter) {\n        const node = createBaseNode(\n          192\n          /* InferType */\n        );\n        node.typeParameter = typeParameter;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateInferTypeNode(node, typeParameter) {\n        return node.typeParameter !== typeParameter ? update(createInferTypeNode(typeParameter), node) : node;\n      }\n      function createTemplateLiteralType(head, templateSpans) {\n        const node = createBaseNode(\n          200\n          /* TemplateLiteralType */\n        );\n        node.head = head;\n        node.templateSpans = createNodeArray(templateSpans);\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTemplateLiteralType(node, head, templateSpans) {\n        return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateLiteralType(head, templateSpans), node) : node;\n      }\n      function createImportTypeNode(argument, assertions, qualifier, typeArguments, isTypeOf = false) {\n        const node = createBaseNode(\n          202\n          /* ImportType */\n        );\n        node.argument = argument;\n        node.assertions = assertions;\n        node.qualifier = qualifier;\n        node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments);\n        node.isTypeOf = isTypeOf;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateImportTypeNode(node, argument, assertions, qualifier, typeArguments, isTypeOf = node.isTypeOf) {\n        return node.argument !== argument || node.assertions !== assertions || node.qualifier !== qualifier || node.typeArguments !== typeArguments || node.isTypeOf !== isTypeOf ? update(createImportTypeNode(argument, assertions, qualifier, typeArguments, isTypeOf), node) : node;\n      }\n      function createParenthesizedType(type) {\n        const node = createBaseNode(\n          193\n          /* ParenthesizedType */\n        );\n        node.type = type;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateParenthesizedType(node, type) {\n        return node.type !== type ? update(createParenthesizedType(type), node) : node;\n      }\n      function createThisTypeNode() {\n        const node = createBaseNode(\n          194\n          /* ThisType */\n        );\n        node.transformFlags = 1;\n        return node;\n      }\n      function createTypeOperatorNode(operator, type) {\n        const node = createBaseNode(\n          195\n          /* TypeOperator */\n        );\n        node.operator = operator;\n        node.type = operator === 146 ? parenthesizerRules().parenthesizeOperandOfReadonlyTypeOperator(type) : parenthesizerRules().parenthesizeOperandOfTypeOperator(type);\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateTypeOperatorNode(node, type) {\n        return node.type !== type ? update(createTypeOperatorNode(node.operator, type), node) : node;\n      }\n      function createIndexedAccessTypeNode(objectType, indexType) {\n        const node = createBaseNode(\n          196\n          /* IndexedAccessType */\n        );\n        node.objectType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(objectType);\n        node.indexType = indexType;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateIndexedAccessTypeNode(node, objectType, indexType) {\n        return node.objectType !== objectType || node.indexType !== indexType ? update(createIndexedAccessTypeNode(objectType, indexType), node) : node;\n      }\n      function createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members) {\n        const node = createBaseDeclaration(\n          197\n          /* MappedType */\n        );\n        node.readonlyToken = readonlyToken;\n        node.typeParameter = typeParameter;\n        node.nameType = nameType;\n        node.questionToken = questionToken;\n        node.type = type;\n        node.members = members && createNodeArray(members);\n        node.transformFlags = 1;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateMappedTypeNode(node, readonlyToken, typeParameter, nameType, questionToken, type, members) {\n        return node.readonlyToken !== readonlyToken || node.typeParameter !== typeParameter || node.nameType !== nameType || node.questionToken !== questionToken || node.type !== type || node.members !== members ? update(createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), node) : node;\n      }\n      function createLiteralTypeNode(literal) {\n        const node = createBaseNode(\n          198\n          /* LiteralType */\n        );\n        node.literal = literal;\n        node.transformFlags = 1;\n        return node;\n      }\n      function updateLiteralTypeNode(node, literal) {\n        return node.literal !== literal ? update(createLiteralTypeNode(literal), node) : node;\n      }\n      function createObjectBindingPattern(elements) {\n        const node = createBaseNode(\n          203\n          /* ObjectBindingPattern */\n        );\n        node.elements = createNodeArray(elements);\n        node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 | 524288;\n        if (node.transformFlags & 32768) {\n          node.transformFlags |= 128 | 65536;\n        }\n        return node;\n      }\n      function updateObjectBindingPattern(node, elements) {\n        return node.elements !== elements ? update(createObjectBindingPattern(elements), node) : node;\n      }\n      function createArrayBindingPattern(elements) {\n        const node = createBaseNode(\n          204\n          /* ArrayBindingPattern */\n        );\n        node.elements = createNodeArray(elements);\n        node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 | 524288;\n        return node;\n      }\n      function updateArrayBindingPattern(node, elements) {\n        return node.elements !== elements ? update(createArrayBindingPattern(elements), node) : node;\n      }\n      function createBindingElement(dotDotDotToken, propertyName, name, initializer) {\n        const node = createBaseDeclaration(\n          205\n          /* BindingElement */\n        );\n        node.dotDotDotToken = dotDotDotToken;\n        node.propertyName = asName(propertyName);\n        node.name = asName(name);\n        node.initializer = asInitializer(initializer);\n        node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateNameFlags(node.propertyName) | propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (node.dotDotDotToken ? 32768 : 0) | 1024;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateBindingElement(node, dotDotDotToken, propertyName, name, initializer) {\n        return node.propertyName !== propertyName || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.initializer !== initializer ? update(createBindingElement(dotDotDotToken, propertyName, name, initializer), node) : node;\n      }\n      function createArrayLiteralExpression(elements, multiLine) {\n        const node = createBaseNode(\n          206\n          /* ArrayLiteralExpression */\n        );\n        const lastElement = elements && lastOrUndefined(elements);\n        const elementsArray = createNodeArray(elements, lastElement && isOmittedExpression(lastElement) ? true : void 0);\n        node.elements = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(elementsArray);\n        node.multiLine = multiLine;\n        node.transformFlags |= propagateChildrenFlags(node.elements);\n        return node;\n      }\n      function updateArrayLiteralExpression(node, elements) {\n        return node.elements !== elements ? update(createArrayLiteralExpression(elements, node.multiLine), node) : node;\n      }\n      function createObjectLiteralExpression(properties, multiLine) {\n        const node = createBaseDeclaration(\n          207\n          /* ObjectLiteralExpression */\n        );\n        node.properties = createNodeArray(properties);\n        node.multiLine = multiLine;\n        node.transformFlags |= propagateChildrenFlags(node.properties);\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateObjectLiteralExpression(node, properties) {\n        return node.properties !== properties ? update(createObjectLiteralExpression(properties, node.multiLine), node) : node;\n      }\n      function createBasePropertyAccessExpression(expression, questionDotToken, name) {\n        const node = createBaseDeclaration(\n          208\n          /* PropertyAccessExpression */\n        );\n        node.expression = expression;\n        node.questionDotToken = questionDotToken;\n        node.name = name;\n        node.transformFlags = propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | (isIdentifier(node.name) ? propagateIdentifierNameFlags(node.name) : propagateChildFlags(node.name) | 536870912);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function createPropertyAccessExpression(expression, name) {\n        const node = createBasePropertyAccessExpression(\n          parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            false\n          ),\n          /*questionDotToken*/\n          void 0,\n          asName(name)\n        );\n        if (isSuperKeyword(expression)) {\n          node.transformFlags |= 256 | 128;\n        }\n        return node;\n      }\n      function updatePropertyAccessExpression(node, expression, name) {\n        if (isPropertyAccessChain(node)) {\n          return updatePropertyAccessChain(node, expression, node.questionDotToken, cast(name, isIdentifier));\n        }\n        return node.expression !== expression || node.name !== name ? update(createPropertyAccessExpression(expression, name), node) : node;\n      }\n      function createPropertyAccessChain(expression, questionDotToken, name) {\n        const node = createBasePropertyAccessExpression(\n          parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            true\n          ),\n          questionDotToken,\n          asName(name)\n        );\n        node.flags |= 32;\n        node.transformFlags |= 32;\n        return node;\n      }\n      function updatePropertyAccessChain(node, expression, questionDotToken, name) {\n        Debug2.assert(!!(node.flags & 32), \"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.\");\n        return node.expression !== expression || node.questionDotToken !== questionDotToken || node.name !== name ? update(createPropertyAccessChain(expression, questionDotToken, name), node) : node;\n      }\n      function createBaseElementAccessExpression(expression, questionDotToken, argumentExpression) {\n        const node = createBaseDeclaration(\n          209\n          /* ElementAccessExpression */\n        );\n        node.expression = expression;\n        node.questionDotToken = questionDotToken;\n        node.argumentExpression = argumentExpression;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildFlags(node.argumentExpression);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function createElementAccessExpression(expression, index) {\n        const node = createBaseElementAccessExpression(\n          parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            false\n          ),\n          /*questionDotToken*/\n          void 0,\n          asExpression(index)\n        );\n        if (isSuperKeyword(expression)) {\n          node.transformFlags |= 256 | 128;\n        }\n        return node;\n      }\n      function updateElementAccessExpression(node, expression, argumentExpression) {\n        if (isElementAccessChain(node)) {\n          return updateElementAccessChain(node, expression, node.questionDotToken, argumentExpression);\n        }\n        return node.expression !== expression || node.argumentExpression !== argumentExpression ? update(createElementAccessExpression(expression, argumentExpression), node) : node;\n      }\n      function createElementAccessChain(expression, questionDotToken, index) {\n        const node = createBaseElementAccessExpression(\n          parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            true\n          ),\n          questionDotToken,\n          asExpression(index)\n        );\n        node.flags |= 32;\n        node.transformFlags |= 32;\n        return node;\n      }\n      function updateElementAccessChain(node, expression, questionDotToken, argumentExpression) {\n        Debug2.assert(!!(node.flags & 32), \"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.\");\n        return node.expression !== expression || node.questionDotToken !== questionDotToken || node.argumentExpression !== argumentExpression ? update(createElementAccessChain(expression, questionDotToken, argumentExpression), node) : node;\n      }\n      function createBaseCallExpression(expression, questionDotToken, typeArguments, argumentsArray) {\n        const node = createBaseDeclaration(\n          210\n          /* CallExpression */\n        );\n        node.expression = expression;\n        node.questionDotToken = questionDotToken;\n        node.typeArguments = typeArguments;\n        node.arguments = argumentsArray;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments);\n        if (node.typeArguments) {\n          node.transformFlags |= 1;\n        }\n        if (isSuperProperty(node.expression)) {\n          node.transformFlags |= 16384;\n        }\n        return node;\n      }\n      function createCallExpression(expression, typeArguments, argumentsArray) {\n        const node = createBaseCallExpression(\n          parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            false\n          ),\n          /*questionDotToken*/\n          void 0,\n          asNodeArray(typeArguments),\n          parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(argumentsArray))\n        );\n        if (isImportKeyword(node.expression)) {\n          node.transformFlags |= 8388608;\n        }\n        return node;\n      }\n      function updateCallExpression(node, expression, typeArguments, argumentsArray) {\n        if (isCallChain(node)) {\n          return updateCallChain(node, expression, node.questionDotToken, typeArguments, argumentsArray);\n        }\n        return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallExpression(expression, typeArguments, argumentsArray), node) : node;\n      }\n      function createCallChain(expression, questionDotToken, typeArguments, argumentsArray) {\n        const node = createBaseCallExpression(\n          parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            true\n          ),\n          questionDotToken,\n          asNodeArray(typeArguments),\n          parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray(argumentsArray))\n        );\n        node.flags |= 32;\n        node.transformFlags |= 32;\n        return node;\n      }\n      function updateCallChain(node, expression, questionDotToken, typeArguments, argumentsArray) {\n        Debug2.assert(!!(node.flags & 32), \"Cannot update a CallExpression using updateCallChain. Use updateCall instead.\");\n        return node.expression !== expression || node.questionDotToken !== questionDotToken || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallChain(expression, questionDotToken, typeArguments, argumentsArray), node) : node;\n      }\n      function createNewExpression(expression, typeArguments, argumentsArray) {\n        const node = createBaseDeclaration(\n          211\n          /* NewExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionOfNew(expression);\n        node.typeArguments = asNodeArray(typeArguments);\n        node.arguments = argumentsArray ? parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(argumentsArray) : void 0;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments) | 32;\n        if (node.typeArguments) {\n          node.transformFlags |= 1;\n        }\n        return node;\n      }\n      function updateNewExpression(node, expression, typeArguments, argumentsArray) {\n        return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createNewExpression(expression, typeArguments, argumentsArray), node) : node;\n      }\n      function createTaggedTemplateExpression(tag, typeArguments, template) {\n        const node = createBaseNode(\n          212\n          /* TaggedTemplateExpression */\n        );\n        node.tag = parenthesizerRules().parenthesizeLeftSideOfAccess(\n          tag,\n          /*optionalChain*/\n          false\n        );\n        node.typeArguments = asNodeArray(typeArguments);\n        node.template = template;\n        node.transformFlags |= propagateChildFlags(node.tag) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.template) | 1024;\n        if (node.typeArguments) {\n          node.transformFlags |= 1;\n        }\n        if (hasInvalidEscape(node.template)) {\n          node.transformFlags |= 128;\n        }\n        return node;\n      }\n      function updateTaggedTemplateExpression(node, tag, typeArguments, template) {\n        return node.tag !== tag || node.typeArguments !== typeArguments || node.template !== template ? update(createTaggedTemplateExpression(tag, typeArguments, template), node) : node;\n      }\n      function createTypeAssertion(type, expression) {\n        const node = createBaseNode(\n          213\n          /* TypeAssertionExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n        node.type = type;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1;\n        return node;\n      }\n      function updateTypeAssertion(node, type, expression) {\n        return node.type !== type || node.expression !== expression ? update(createTypeAssertion(type, expression), node) : node;\n      }\n      function createParenthesizedExpression(expression) {\n        const node = createBaseNode(\n          214\n          /* ParenthesizedExpression */\n        );\n        node.expression = expression;\n        node.transformFlags = propagateChildFlags(node.expression);\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateParenthesizedExpression(node, expression) {\n        return node.expression !== expression ? update(createParenthesizedExpression(expression), node) : node;\n      }\n      function createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n        const node = createBaseDeclaration(\n          215\n          /* FunctionExpression */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.asteriskToken = asteriskToken;\n        node.name = asName(name);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = createNodeArray(parameters);\n        node.type = type;\n        node.body = body;\n        const isAsync = modifiersToFlags(node.modifiers) & 512;\n        const isGenerator = !!node.asteriskToken;\n        const isAsyncGenerator = isAsync && isGenerator;\n        node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 | (isAsyncGenerator ? 128 : isAsync ? 256 : isGenerator ? 2048 : 0) | (node.typeParameters || node.type ? 1 : 0) | 4194304;\n        node.typeArguments = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateFunctionExpression(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n        return node.name !== name || node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateBaseSignatureDeclaration(createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node;\n      }\n      function createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) {\n        const node = createBaseDeclaration(\n          216\n          /* ArrowFunction */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = createNodeArray(parameters);\n        node.type = type;\n        node.equalsGreaterThanToken = equalsGreaterThanToken != null ? equalsGreaterThanToken : createToken(\n          38\n          /* EqualsGreaterThanToken */\n        );\n        node.body = parenthesizerRules().parenthesizeConciseBodyOfArrowFunction(body);\n        const isAsync = modifiersToFlags(node.modifiers) & 512;\n        node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.equalsGreaterThanToken) | propagateChildFlags(node.body) & ~67108864 | (node.typeParameters || node.type ? 1 : 0) | (isAsync ? 256 | 16384 : 0) | 1024;\n        node.typeArguments = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateArrowFunction(node, modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) {\n        return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.equalsGreaterThanToken !== equalsGreaterThanToken || node.body !== body ? finishUpdateBaseSignatureDeclaration(createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body), node) : node;\n      }\n      function createDeleteExpression(expression) {\n        const node = createBaseNode(\n          217\n          /* DeleteExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n        node.transformFlags |= propagateChildFlags(node.expression);\n        return node;\n      }\n      function updateDeleteExpression(node, expression) {\n        return node.expression !== expression ? update(createDeleteExpression(expression), node) : node;\n      }\n      function createTypeOfExpression(expression) {\n        const node = createBaseNode(\n          218\n          /* TypeOfExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n        node.transformFlags |= propagateChildFlags(node.expression);\n        return node;\n      }\n      function updateTypeOfExpression(node, expression) {\n        return node.expression !== expression ? update(createTypeOfExpression(expression), node) : node;\n      }\n      function createVoidExpression(expression) {\n        const node = createBaseNode(\n          219\n          /* VoidExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n        node.transformFlags |= propagateChildFlags(node.expression);\n        return node;\n      }\n      function updateVoidExpression(node, expression) {\n        return node.expression !== expression ? update(createVoidExpression(expression), node) : node;\n      }\n      function createAwaitExpression(expression) {\n        const node = createBaseNode(\n          220\n          /* AwaitExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n        node.transformFlags |= propagateChildFlags(node.expression) | 256 | 128 | 2097152;\n        return node;\n      }\n      function updateAwaitExpression(node, expression) {\n        return node.expression !== expression ? update(createAwaitExpression(expression), node) : node;\n      }\n      function createPrefixUnaryExpression(operator, operand) {\n        const node = createBaseNode(\n          221\n          /* PrefixUnaryExpression */\n        );\n        node.operator = operator;\n        node.operand = parenthesizerRules().parenthesizeOperandOfPrefixUnary(operand);\n        node.transformFlags |= propagateChildFlags(node.operand);\n        if ((operator === 45 || operator === 46) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) {\n          node.transformFlags |= 268435456;\n        }\n        return node;\n      }\n      function updatePrefixUnaryExpression(node, operand) {\n        return node.operand !== operand ? update(createPrefixUnaryExpression(node.operator, operand), node) : node;\n      }\n      function createPostfixUnaryExpression(operand, operator) {\n        const node = createBaseNode(\n          222\n          /* PostfixUnaryExpression */\n        );\n        node.operator = operator;\n        node.operand = parenthesizerRules().parenthesizeOperandOfPostfixUnary(operand);\n        node.transformFlags |= propagateChildFlags(node.operand);\n        if (isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) {\n          node.transformFlags |= 268435456;\n        }\n        return node;\n      }\n      function updatePostfixUnaryExpression(node, operand) {\n        return node.operand !== operand ? update(createPostfixUnaryExpression(operand, node.operator), node) : node;\n      }\n      function createBinaryExpression(left, operator, right) {\n        const node = createBaseDeclaration(\n          223\n          /* BinaryExpression */\n        );\n        const operatorToken = asToken(operator);\n        const operatorKind = operatorToken.kind;\n        node.left = parenthesizerRules().parenthesizeLeftSideOfBinary(operatorKind, left);\n        node.operatorToken = operatorToken;\n        node.right = parenthesizerRules().parenthesizeRightSideOfBinary(operatorKind, node.left, right);\n        node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.operatorToken) | propagateChildFlags(node.right);\n        if (operatorKind === 60) {\n          node.transformFlags |= 32;\n        } else if (operatorKind === 63) {\n          if (isObjectLiteralExpression(node.left)) {\n            node.transformFlags |= 1024 | 128 | 4096 | propagateAssignmentPatternFlags(node.left);\n          } else if (isArrayLiteralExpression(node.left)) {\n            node.transformFlags |= 1024 | 4096 | propagateAssignmentPatternFlags(node.left);\n          }\n        } else if (operatorKind === 42 || operatorKind === 67) {\n          node.transformFlags |= 512;\n        } else if (isLogicalOrCoalescingAssignmentOperator(operatorKind)) {\n          node.transformFlags |= 16;\n        }\n        if (operatorKind === 101 && isPrivateIdentifier(node.left)) {\n          node.transformFlags |= 536870912;\n        }\n        node.jsDoc = void 0;\n        return node;\n      }\n      function propagateAssignmentPatternFlags(node) {\n        return containsObjectRestOrSpread(node) ? 65536 : 0;\n      }\n      function updateBinaryExpression(node, left, operator, right) {\n        return node.left !== left || node.operatorToken !== operator || node.right !== right ? update(createBinaryExpression(left, operator, right), node) : node;\n      }\n      function createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse) {\n        const node = createBaseNode(\n          224\n          /* ConditionalExpression */\n        );\n        node.condition = parenthesizerRules().parenthesizeConditionOfConditionalExpression(condition);\n        node.questionToken = questionToken != null ? questionToken : createToken(\n          57\n          /* QuestionToken */\n        );\n        node.whenTrue = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenTrue);\n        node.colonToken = colonToken != null ? colonToken : createToken(\n          58\n          /* ColonToken */\n        );\n        node.whenFalse = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenFalse);\n        node.transformFlags |= propagateChildFlags(node.condition) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.whenTrue) | propagateChildFlags(node.colonToken) | propagateChildFlags(node.whenFalse);\n        return node;\n      }\n      function updateConditionalExpression(node, condition, questionToken, whenTrue, colonToken, whenFalse) {\n        return node.condition !== condition || node.questionToken !== questionToken || node.whenTrue !== whenTrue || node.colonToken !== colonToken || node.whenFalse !== whenFalse ? update(createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse), node) : node;\n      }\n      function createTemplateExpression(head, templateSpans) {\n        const node = createBaseNode(\n          225\n          /* TemplateExpression */\n        );\n        node.head = head;\n        node.templateSpans = createNodeArray(templateSpans);\n        node.transformFlags |= propagateChildFlags(node.head) | propagateChildrenFlags(node.templateSpans) | 1024;\n        return node;\n      }\n      function updateTemplateExpression(node, head, templateSpans) {\n        return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateExpression(head, templateSpans), node) : node;\n      }\n      function checkTemplateLiteralLikeNode(kind, text, rawText, templateFlags = 0) {\n        Debug2.assert(!(templateFlags & ~2048), \"Unsupported template flags.\");\n        let cooked = void 0;\n        if (rawText !== void 0 && rawText !== text) {\n          cooked = getCookedText(kind, rawText);\n          if (typeof cooked === \"object\") {\n            return Debug2.fail(\"Invalid raw text\");\n          }\n        }\n        if (text === void 0) {\n          if (cooked === void 0) {\n            return Debug2.fail(\"Arguments 'text' and 'rawText' may not both be undefined.\");\n          }\n          text = cooked;\n        } else if (cooked !== void 0) {\n          Debug2.assert(text === cooked, \"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.\");\n        }\n        return text;\n      }\n      function getTransformFlagsOfTemplateLiteralLike(templateFlags) {\n        let transformFlags = 1024;\n        if (templateFlags) {\n          transformFlags |= 128;\n        }\n        return transformFlags;\n      }\n      function createTemplateLiteralLikeToken(kind, text, rawText, templateFlags) {\n        const node = createBaseToken(kind);\n        node.text = text;\n        node.rawText = rawText;\n        node.templateFlags = templateFlags & 2048;\n        node.transformFlags = getTransformFlagsOfTemplateLiteralLike(node.templateFlags);\n        return node;\n      }\n      function createTemplateLiteralLikeDeclaration(kind, text, rawText, templateFlags) {\n        const node = createBaseDeclaration(kind);\n        node.text = text;\n        node.rawText = rawText;\n        node.templateFlags = templateFlags & 2048;\n        node.transformFlags = getTransformFlagsOfTemplateLiteralLike(node.templateFlags);\n        return node;\n      }\n      function createTemplateLiteralLikeNode(kind, text, rawText, templateFlags) {\n        if (kind === 14) {\n          return createTemplateLiteralLikeDeclaration(kind, text, rawText, templateFlags);\n        }\n        return createTemplateLiteralLikeToken(kind, text, rawText, templateFlags);\n      }\n      function createTemplateHead(text, rawText, templateFlags) {\n        text = checkTemplateLiteralLikeNode(15, text, rawText, templateFlags);\n        return createTemplateLiteralLikeNode(15, text, rawText, templateFlags);\n      }\n      function createTemplateMiddle(text, rawText, templateFlags) {\n        text = checkTemplateLiteralLikeNode(15, text, rawText, templateFlags);\n        return createTemplateLiteralLikeNode(16, text, rawText, templateFlags);\n      }\n      function createTemplateTail(text, rawText, templateFlags) {\n        text = checkTemplateLiteralLikeNode(15, text, rawText, templateFlags);\n        return createTemplateLiteralLikeNode(17, text, rawText, templateFlags);\n      }\n      function createNoSubstitutionTemplateLiteral(text, rawText, templateFlags) {\n        text = checkTemplateLiteralLikeNode(15, text, rawText, templateFlags);\n        return createTemplateLiteralLikeDeclaration(14, text, rawText, templateFlags);\n      }\n      function createYieldExpression(asteriskToken, expression) {\n        Debug2.assert(!asteriskToken || !!expression, \"A `YieldExpression` with an asteriskToken must have an expression.\");\n        const node = createBaseNode(\n          226\n          /* YieldExpression */\n        );\n        node.expression = expression && parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n        node.asteriskToken = asteriskToken;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.asteriskToken) | 1024 | 128 | 1048576;\n        return node;\n      }\n      function updateYieldExpression(node, asteriskToken, expression) {\n        return node.expression !== expression || node.asteriskToken !== asteriskToken ? update(createYieldExpression(asteriskToken, expression), node) : node;\n      }\n      function createSpreadElement(expression) {\n        const node = createBaseNode(\n          227\n          /* SpreadElement */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n        node.transformFlags |= propagateChildFlags(node.expression) | 1024 | 32768;\n        return node;\n      }\n      function updateSpreadElement(node, expression) {\n        return node.expression !== expression ? update(createSpreadElement(expression), node) : node;\n      }\n      function createClassExpression(modifiers, name, typeParameters, heritageClauses, members) {\n        const node = createBaseDeclaration(\n          228\n          /* ClassExpression */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.heritageClauses = asNodeArray(heritageClauses);\n        node.members = createNodeArray(members);\n        node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.heritageClauses) | propagateChildrenFlags(node.members) | (node.typeParameters ? 1 : 0) | 1024;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateClassExpression(node, modifiers, name, typeParameters, heritageClauses, members) {\n        return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassExpression(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n      }\n      function createOmittedExpression() {\n        return createBaseNode(\n          229\n          /* OmittedExpression */\n        );\n      }\n      function createExpressionWithTypeArguments(expression, typeArguments) {\n        const node = createBaseNode(\n          230\n          /* ExpressionWithTypeArguments */\n        );\n        node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(\n          expression,\n          /*optionalChain*/\n          false\n        );\n        node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments);\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | 1024;\n        return node;\n      }\n      function updateExpressionWithTypeArguments(node, expression, typeArguments) {\n        return node.expression !== expression || node.typeArguments !== typeArguments ? update(createExpressionWithTypeArguments(expression, typeArguments), node) : node;\n      }\n      function createAsExpression(expression, type) {\n        const node = createBaseNode(\n          231\n          /* AsExpression */\n        );\n        node.expression = expression;\n        node.type = type;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1;\n        return node;\n      }\n      function updateAsExpression(node, expression, type) {\n        return node.expression !== expression || node.type !== type ? update(createAsExpression(expression, type), node) : node;\n      }\n      function createNonNullExpression(expression) {\n        const node = createBaseNode(\n          232\n          /* NonNullExpression */\n        );\n        node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(\n          expression,\n          /*optionalChain*/\n          false\n        );\n        node.transformFlags |= propagateChildFlags(node.expression) | 1;\n        return node;\n      }\n      function updateNonNullExpression(node, expression) {\n        if (isNonNullChain(node)) {\n          return updateNonNullChain(node, expression);\n        }\n        return node.expression !== expression ? update(createNonNullExpression(expression), node) : node;\n      }\n      function createSatisfiesExpression(expression, type) {\n        const node = createBaseNode(\n          235\n          /* SatisfiesExpression */\n        );\n        node.expression = expression;\n        node.type = type;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1;\n        return node;\n      }\n      function updateSatisfiesExpression(node, expression, type) {\n        return node.expression !== expression || node.type !== type ? update(createSatisfiesExpression(expression, type), node) : node;\n      }\n      function createNonNullChain(expression) {\n        const node = createBaseNode(\n          232\n          /* NonNullExpression */\n        );\n        node.flags |= 32;\n        node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(\n          expression,\n          /*optionalChain*/\n          true\n        );\n        node.transformFlags |= propagateChildFlags(node.expression) | 1;\n        return node;\n      }\n      function updateNonNullChain(node, expression) {\n        Debug2.assert(!!(node.flags & 32), \"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.\");\n        return node.expression !== expression ? update(createNonNullChain(expression), node) : node;\n      }\n      function createMetaProperty(keywordToken, name) {\n        const node = createBaseNode(\n          233\n          /* MetaProperty */\n        );\n        node.keywordToken = keywordToken;\n        node.name = name;\n        node.transformFlags |= propagateChildFlags(node.name);\n        switch (keywordToken) {\n          case 103:\n            node.transformFlags |= 1024;\n            break;\n          case 100:\n            node.transformFlags |= 4;\n            break;\n          default:\n            return Debug2.assertNever(keywordToken);\n        }\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateMetaProperty(node, name) {\n        return node.name !== name ? update(createMetaProperty(node.keywordToken, name), node) : node;\n      }\n      function createTemplateSpan(expression, literal) {\n        const node = createBaseNode(\n          236\n          /* TemplateSpan */\n        );\n        node.expression = expression;\n        node.literal = literal;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.literal) | 1024;\n        return node;\n      }\n      function updateTemplateSpan(node, expression, literal) {\n        return node.expression !== expression || node.literal !== literal ? update(createTemplateSpan(expression, literal), node) : node;\n      }\n      function createSemicolonClassElement() {\n        const node = createBaseNode(\n          237\n          /* SemicolonClassElement */\n        );\n        node.transformFlags |= 1024;\n        return node;\n      }\n      function createBlock(statements, multiLine) {\n        const node = createBaseNode(\n          238\n          /* Block */\n        );\n        node.statements = createNodeArray(statements);\n        node.multiLine = multiLine;\n        node.transformFlags |= propagateChildrenFlags(node.statements);\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateBlock(node, statements) {\n        return node.statements !== statements ? update(createBlock(statements, node.multiLine), node) : node;\n      }\n      function createVariableStatement(modifiers, declarationList) {\n        const node = createBaseNode(\n          240\n          /* VariableStatement */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.declarationList = isArray(declarationList) ? createVariableDeclarationList(declarationList) : declarationList;\n        node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.declarationList);\n        if (modifiersToFlags(node.modifiers) & 2) {\n          node.transformFlags = 1;\n        }\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateVariableStatement(node, modifiers, declarationList) {\n        return node.modifiers !== modifiers || node.declarationList !== declarationList ? update(createVariableStatement(modifiers, declarationList), node) : node;\n      }\n      function createEmptyStatement() {\n        const node = createBaseNode(\n          239\n          /* EmptyStatement */\n        );\n        node.jsDoc = void 0;\n        return node;\n      }\n      function createExpressionStatement(expression) {\n        const node = createBaseNode(\n          241\n          /* ExpressionStatement */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionOfExpressionStatement(expression);\n        node.transformFlags |= propagateChildFlags(node.expression);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateExpressionStatement(node, expression) {\n        return node.expression !== expression ? update(createExpressionStatement(expression), node) : node;\n      }\n      function createIfStatement(expression, thenStatement, elseStatement) {\n        const node = createBaseNode(\n          242\n          /* IfStatement */\n        );\n        node.expression = expression;\n        node.thenStatement = asEmbeddedStatement(thenStatement);\n        node.elseStatement = asEmbeddedStatement(elseStatement);\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thenStatement) | propagateChildFlags(node.elseStatement);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateIfStatement(node, expression, thenStatement, elseStatement) {\n        return node.expression !== expression || node.thenStatement !== thenStatement || node.elseStatement !== elseStatement ? update(createIfStatement(expression, thenStatement, elseStatement), node) : node;\n      }\n      function createDoStatement(statement, expression) {\n        const node = createBaseNode(\n          243\n          /* DoStatement */\n        );\n        node.statement = asEmbeddedStatement(statement);\n        node.expression = expression;\n        node.transformFlags |= propagateChildFlags(node.statement) | propagateChildFlags(node.expression);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateDoStatement(node, statement, expression) {\n        return node.statement !== statement || node.expression !== expression ? update(createDoStatement(statement, expression), node) : node;\n      }\n      function createWhileStatement(expression, statement) {\n        const node = createBaseNode(\n          244\n          /* WhileStatement */\n        );\n        node.expression = expression;\n        node.statement = asEmbeddedStatement(statement);\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateWhileStatement(node, expression, statement) {\n        return node.expression !== expression || node.statement !== statement ? update(createWhileStatement(expression, statement), node) : node;\n      }\n      function createForStatement(initializer, condition, incrementor, statement) {\n        const node = createBaseNode(\n          245\n          /* ForStatement */\n        );\n        node.initializer = initializer;\n        node.condition = condition;\n        node.incrementor = incrementor;\n        node.statement = asEmbeddedStatement(statement);\n        node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.condition) | propagateChildFlags(node.incrementor) | propagateChildFlags(node.statement);\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateForStatement(node, initializer, condition, incrementor, statement) {\n        return node.initializer !== initializer || node.condition !== condition || node.incrementor !== incrementor || node.statement !== statement ? update(createForStatement(initializer, condition, incrementor, statement), node) : node;\n      }\n      function createForInStatement(initializer, expression, statement) {\n        const node = createBaseNode(\n          246\n          /* ForInStatement */\n        );\n        node.initializer = initializer;\n        node.expression = expression;\n        node.statement = asEmbeddedStatement(statement);\n        node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement);\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateForInStatement(node, initializer, expression, statement) {\n        return node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForInStatement(initializer, expression, statement), node) : node;\n      }\n      function createForOfStatement(awaitModifier, initializer, expression, statement) {\n        const node = createBaseNode(\n          247\n          /* ForOfStatement */\n        );\n        node.awaitModifier = awaitModifier;\n        node.initializer = initializer;\n        node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n        node.statement = asEmbeddedStatement(statement);\n        node.transformFlags |= propagateChildFlags(node.awaitModifier) | propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement) | 1024;\n        if (awaitModifier)\n          node.transformFlags |= 128;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateForOfStatement(node, awaitModifier, initializer, expression, statement) {\n        return node.awaitModifier !== awaitModifier || node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForOfStatement(awaitModifier, initializer, expression, statement), node) : node;\n      }\n      function createContinueStatement(label) {\n        const node = createBaseNode(\n          248\n          /* ContinueStatement */\n        );\n        node.label = asName(label);\n        node.transformFlags |= propagateChildFlags(node.label) | 4194304;\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateContinueStatement(node, label) {\n        return node.label !== label ? update(createContinueStatement(label), node) : node;\n      }\n      function createBreakStatement(label) {\n        const node = createBaseNode(\n          249\n          /* BreakStatement */\n        );\n        node.label = asName(label);\n        node.transformFlags |= propagateChildFlags(node.label) | 4194304;\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateBreakStatement(node, label) {\n        return node.label !== label ? update(createBreakStatement(label), node) : node;\n      }\n      function createReturnStatement(expression) {\n        const node = createBaseNode(\n          250\n          /* ReturnStatement */\n        );\n        node.expression = expression;\n        node.transformFlags |= propagateChildFlags(node.expression) | 128 | 4194304;\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateReturnStatement(node, expression) {\n        return node.expression !== expression ? update(createReturnStatement(expression), node) : node;\n      }\n      function createWithStatement(expression, statement) {\n        const node = createBaseNode(\n          251\n          /* WithStatement */\n        );\n        node.expression = expression;\n        node.statement = asEmbeddedStatement(statement);\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateWithStatement(node, expression, statement) {\n        return node.expression !== expression || node.statement !== statement ? update(createWithStatement(expression, statement), node) : node;\n      }\n      function createSwitchStatement(expression, caseBlock) {\n        const node = createBaseNode(\n          252\n          /* SwitchStatement */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n        node.caseBlock = caseBlock;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.caseBlock);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        node.possiblyExhaustive = false;\n        return node;\n      }\n      function updateSwitchStatement(node, expression, caseBlock) {\n        return node.expression !== expression || node.caseBlock !== caseBlock ? update(createSwitchStatement(expression, caseBlock), node) : node;\n      }\n      function createLabeledStatement(label, statement) {\n        const node = createBaseNode(\n          253\n          /* LabeledStatement */\n        );\n        node.label = asName(label);\n        node.statement = asEmbeddedStatement(statement);\n        node.transformFlags |= propagateChildFlags(node.label) | propagateChildFlags(node.statement);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateLabeledStatement(node, label, statement) {\n        return node.label !== label || node.statement !== statement ? update(createLabeledStatement(label, statement), node) : node;\n      }\n      function createThrowStatement(expression) {\n        const node = createBaseNode(\n          254\n          /* ThrowStatement */\n        );\n        node.expression = expression;\n        node.transformFlags |= propagateChildFlags(node.expression);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateThrowStatement(node, expression) {\n        return node.expression !== expression ? update(createThrowStatement(expression), node) : node;\n      }\n      function createTryStatement(tryBlock, catchClause, finallyBlock) {\n        const node = createBaseNode(\n          255\n          /* TryStatement */\n        );\n        node.tryBlock = tryBlock;\n        node.catchClause = catchClause;\n        node.finallyBlock = finallyBlock;\n        node.transformFlags |= propagateChildFlags(node.tryBlock) | propagateChildFlags(node.catchClause) | propagateChildFlags(node.finallyBlock);\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function updateTryStatement(node, tryBlock, catchClause, finallyBlock) {\n        return node.tryBlock !== tryBlock || node.catchClause !== catchClause || node.finallyBlock !== finallyBlock ? update(createTryStatement(tryBlock, catchClause, finallyBlock), node) : node;\n      }\n      function createDebuggerStatement() {\n        const node = createBaseNode(\n          256\n          /* DebuggerStatement */\n        );\n        node.jsDoc = void 0;\n        node.flowNode = void 0;\n        return node;\n      }\n      function createVariableDeclaration(name, exclamationToken, type, initializer) {\n        var _a22;\n        const node = createBaseDeclaration(\n          257\n          /* VariableDeclaration */\n        );\n        node.name = asName(name);\n        node.exclamationToken = exclamationToken;\n        node.type = type;\n        node.initializer = asInitializer(initializer);\n        node.transformFlags |= propagateNameFlags(node.name) | propagateChildFlags(node.initializer) | (((_a22 = node.exclamationToken) != null ? _a22 : node.type) ? 1 : 0);\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateVariableDeclaration(node, name, exclamationToken, type, initializer) {\n        return node.name !== name || node.type !== type || node.exclamationToken !== exclamationToken || node.initializer !== initializer ? update(createVariableDeclaration(name, exclamationToken, type, initializer), node) : node;\n      }\n      function createVariableDeclarationList(declarations, flags2 = 0) {\n        const node = createBaseNode(\n          258\n          /* VariableDeclarationList */\n        );\n        node.flags |= flags2 & 3;\n        node.declarations = createNodeArray(declarations);\n        node.transformFlags |= propagateChildrenFlags(node.declarations) | 4194304;\n        if (flags2 & 3) {\n          node.transformFlags |= 1024 | 262144;\n        }\n        return node;\n      }\n      function updateVariableDeclarationList(node, declarations) {\n        return node.declarations !== declarations ? update(createVariableDeclarationList(declarations, node.flags), node) : node;\n      }\n      function createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n        const node = createBaseDeclaration(\n          259\n          /* FunctionDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.asteriskToken = asteriskToken;\n        node.name = asName(name);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = createNodeArray(parameters);\n        node.type = type;\n        node.body = body;\n        if (!node.body || modifiersToFlags(node.modifiers) & 2) {\n          node.transformFlags = 1;\n        } else {\n          const isAsync = modifiersToFlags(node.modifiers) & 512;\n          const isGenerator = !!node.asteriskToken;\n          const isAsyncGenerator = isAsync && isGenerator;\n          node.transformFlags = propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.asteriskToken) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type) | propagateChildFlags(node.body) & ~67108864 | (isAsyncGenerator ? 128 : isAsync ? 256 : isGenerator ? 2048 : 0) | (node.typeParameters || node.type ? 1 : 0) | 4194304;\n        }\n        node.typeArguments = void 0;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.endFlowNode = void 0;\n        node.returnFlowNode = void 0;\n        return node;\n      }\n      function updateFunctionDeclaration(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n        return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateFunctionDeclaration(createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node;\n      }\n      function finishUpdateFunctionDeclaration(updated, original) {\n        if (updated !== original) {\n          if (updated.modifiers === original.modifiers) {\n            updated.modifiers = original.modifiers;\n          }\n        }\n        return finishUpdateBaseSignatureDeclaration(updated, original);\n      }\n      function createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members) {\n        const node = createBaseDeclaration(\n          260\n          /* ClassDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.heritageClauses = asNodeArray(heritageClauses);\n        node.members = createNodeArray(members);\n        if (modifiersToFlags(node.modifiers) & 2) {\n          node.transformFlags = 1;\n        } else {\n          node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateNameFlags(node.name) | propagateChildrenFlags(node.typeParameters) | propagateChildrenFlags(node.heritageClauses) | propagateChildrenFlags(node.members) | (node.typeParameters ? 1 : 0) | 1024;\n          if (node.transformFlags & 8192) {\n            node.transformFlags |= 1;\n          }\n        }\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateClassDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) {\n        return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n      }\n      function createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members) {\n        const node = createBaseDeclaration(\n          261\n          /* InterfaceDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.heritageClauses = asNodeArray(heritageClauses);\n        node.members = createNodeArray(members);\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateInterfaceDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) {\n        return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n      }\n      function createTypeAliasDeclaration(modifiers, name, typeParameters, type) {\n        const node = createBaseDeclaration(\n          262\n          /* TypeAliasDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.typeParameters = asNodeArray(typeParameters);\n        node.type = type;\n        node.transformFlags = 1;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateTypeAliasDeclaration(node, modifiers, name, typeParameters, type) {\n        return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.type !== type ? update(createTypeAliasDeclaration(modifiers, name, typeParameters, type), node) : node;\n      }\n      function createEnumDeclaration(modifiers, name, members) {\n        const node = createBaseDeclaration(\n          263\n          /* EnumDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.members = createNodeArray(members);\n        node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildrenFlags(node.members) | 1;\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateEnumDeclaration(node, modifiers, name, members) {\n        return node.modifiers !== modifiers || node.name !== name || node.members !== members ? update(createEnumDeclaration(modifiers, name, members), node) : node;\n      }\n      function createModuleDeclaration(modifiers, name, body, flags2 = 0) {\n        const node = createBaseDeclaration(\n          264\n          /* ModuleDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.flags |= flags2 & (16 | 4 | 1024);\n        node.name = name;\n        node.body = body;\n        if (modifiersToFlags(node.modifiers) & 2) {\n          node.transformFlags = 1;\n        } else {\n          node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildFlags(node.body) | 1;\n        }\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateModuleDeclaration(node, modifiers, name, body) {\n        return node.modifiers !== modifiers || node.name !== name || node.body !== body ? update(createModuleDeclaration(modifiers, name, body, node.flags), node) : node;\n      }\n      function createModuleBlock(statements) {\n        const node = createBaseNode(\n          265\n          /* ModuleBlock */\n        );\n        node.statements = createNodeArray(statements);\n        node.transformFlags |= propagateChildrenFlags(node.statements);\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateModuleBlock(node, statements) {\n        return node.statements !== statements ? update(createModuleBlock(statements), node) : node;\n      }\n      function createCaseBlock(clauses) {\n        const node = createBaseNode(\n          266\n          /* CaseBlock */\n        );\n        node.clauses = createNodeArray(clauses);\n        node.transformFlags |= propagateChildrenFlags(node.clauses);\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateCaseBlock(node, clauses) {\n        return node.clauses !== clauses ? update(createCaseBlock(clauses), node) : node;\n      }\n      function createNamespaceExportDeclaration(name) {\n        const node = createBaseDeclaration(\n          267\n          /* NamespaceExportDeclaration */\n        );\n        node.name = asName(name);\n        node.transformFlags |= propagateIdentifierNameFlags(node.name) | 1;\n        node.modifiers = void 0;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateNamespaceExportDeclaration(node, name) {\n        return node.name !== name ? finishUpdateNamespaceExportDeclaration(createNamespaceExportDeclaration(name), node) : node;\n      }\n      function finishUpdateNamespaceExportDeclaration(updated, original) {\n        if (updated !== original) {\n          updated.modifiers = original.modifiers;\n        }\n        return update(updated, original);\n      }\n      function createImportEqualsDeclaration(modifiers, isTypeOnly, name, moduleReference) {\n        const node = createBaseDeclaration(\n          268\n          /* ImportEqualsDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.name = asName(name);\n        node.isTypeOnly = isTypeOnly;\n        node.moduleReference = moduleReference;\n        node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateIdentifierNameFlags(node.name) | propagateChildFlags(node.moduleReference);\n        if (!isExternalModuleReference(node.moduleReference)) {\n          node.transformFlags |= 1;\n        }\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateImportEqualsDeclaration(node, modifiers, isTypeOnly, name, moduleReference) {\n        return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.name !== name || node.moduleReference !== moduleReference ? update(createImportEqualsDeclaration(modifiers, isTypeOnly, name, moduleReference), node) : node;\n      }\n      function createImportDeclaration(modifiers, importClause, moduleSpecifier, assertClause) {\n        const node = createBaseNode(\n          269\n          /* ImportDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.importClause = importClause;\n        node.moduleSpecifier = moduleSpecifier;\n        node.assertClause = assertClause;\n        node.transformFlags |= propagateChildFlags(node.importClause) | propagateChildFlags(node.moduleSpecifier);\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause) {\n        return node.modifiers !== modifiers || node.importClause !== importClause || node.moduleSpecifier !== moduleSpecifier || node.assertClause !== assertClause ? update(createImportDeclaration(modifiers, importClause, moduleSpecifier, assertClause), node) : node;\n      }\n      function createImportClause(isTypeOnly, name, namedBindings) {\n        const node = createBaseDeclaration(\n          270\n          /* ImportClause */\n        );\n        node.isTypeOnly = isTypeOnly;\n        node.name = name;\n        node.namedBindings = namedBindings;\n        node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.namedBindings);\n        if (isTypeOnly) {\n          node.transformFlags |= 1;\n        }\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateImportClause(node, isTypeOnly, name, namedBindings) {\n        return node.isTypeOnly !== isTypeOnly || node.name !== name || node.namedBindings !== namedBindings ? update(createImportClause(isTypeOnly, name, namedBindings), node) : node;\n      }\n      function createAssertClause(elements, multiLine) {\n        const node = createBaseNode(\n          296\n          /* AssertClause */\n        );\n        node.elements = createNodeArray(elements);\n        node.multiLine = multiLine;\n        node.transformFlags |= 4;\n        return node;\n      }\n      function updateAssertClause(node, elements, multiLine) {\n        return node.elements !== elements || node.multiLine !== multiLine ? update(createAssertClause(elements, multiLine), node) : node;\n      }\n      function createAssertEntry(name, value) {\n        const node = createBaseNode(\n          297\n          /* AssertEntry */\n        );\n        node.name = name;\n        node.value = value;\n        node.transformFlags |= 4;\n        return node;\n      }\n      function updateAssertEntry(node, name, value) {\n        return node.name !== name || node.value !== value ? update(createAssertEntry(name, value), node) : node;\n      }\n      function createImportTypeAssertionContainer(clause, multiLine) {\n        const node = createBaseNode(\n          298\n          /* ImportTypeAssertionContainer */\n        );\n        node.assertClause = clause;\n        node.multiLine = multiLine;\n        return node;\n      }\n      function updateImportTypeAssertionContainer(node, clause, multiLine) {\n        return node.assertClause !== clause || node.multiLine !== multiLine ? update(createImportTypeAssertionContainer(clause, multiLine), node) : node;\n      }\n      function createNamespaceImport(name) {\n        const node = createBaseDeclaration(\n          271\n          /* NamespaceImport */\n        );\n        node.name = name;\n        node.transformFlags |= propagateChildFlags(node.name);\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateNamespaceImport(node, name) {\n        return node.name !== name ? update(createNamespaceImport(name), node) : node;\n      }\n      function createNamespaceExport(name) {\n        const node = createBaseDeclaration(\n          277\n          /* NamespaceExport */\n        );\n        node.name = name;\n        node.transformFlags |= propagateChildFlags(node.name) | 4;\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateNamespaceExport(node, name) {\n        return node.name !== name ? update(createNamespaceExport(name), node) : node;\n      }\n      function createNamedImports(elements) {\n        const node = createBaseNode(\n          272\n          /* NamedImports */\n        );\n        node.elements = createNodeArray(elements);\n        node.transformFlags |= propagateChildrenFlags(node.elements);\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateNamedImports(node, elements) {\n        return node.elements !== elements ? update(createNamedImports(elements), node) : node;\n      }\n      function createImportSpecifier(isTypeOnly, propertyName, name) {\n        const node = createBaseDeclaration(\n          273\n          /* ImportSpecifier */\n        );\n        node.isTypeOnly = isTypeOnly;\n        node.propertyName = propertyName;\n        node.name = name;\n        node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name);\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateImportSpecifier(node, isTypeOnly, propertyName, name) {\n        return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createImportSpecifier(isTypeOnly, propertyName, name), node) : node;\n      }\n      function createExportAssignment2(modifiers, isExportEquals, expression) {\n        const node = createBaseDeclaration(\n          274\n          /* ExportAssignment */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.isExportEquals = isExportEquals;\n        node.expression = isExportEquals ? parenthesizerRules().parenthesizeRightSideOfBinary(\n          63,\n          /*leftSide*/\n          void 0,\n          expression\n        ) : parenthesizerRules().parenthesizeExpressionOfExportDefault(expression);\n        node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.expression);\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateExportAssignment(node, modifiers, expression) {\n        return node.modifiers !== modifiers || node.expression !== expression ? update(createExportAssignment2(modifiers, node.isExportEquals, expression), node) : node;\n      }\n      function createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n        const node = createBaseDeclaration(\n          275\n          /* ExportDeclaration */\n        );\n        node.modifiers = asNodeArray(modifiers);\n        node.isTypeOnly = isTypeOnly;\n        node.exportClause = exportClause;\n        node.moduleSpecifier = moduleSpecifier;\n        node.assertClause = assertClause;\n        node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.exportClause) | propagateChildFlags(node.moduleSpecifier);\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateExportDeclaration(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n        return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.exportClause !== exportClause || node.moduleSpecifier !== moduleSpecifier || node.assertClause !== assertClause ? finishUpdateExportDeclaration(createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause), node) : node;\n      }\n      function finishUpdateExportDeclaration(updated, original) {\n        if (updated !== original) {\n          if (updated.modifiers === original.modifiers) {\n            updated.modifiers = original.modifiers;\n          }\n        }\n        return update(updated, original);\n      }\n      function createNamedExports(elements) {\n        const node = createBaseNode(\n          276\n          /* NamedExports */\n        );\n        node.elements = createNodeArray(elements);\n        node.transformFlags |= propagateChildrenFlags(node.elements);\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateNamedExports(node, elements) {\n        return node.elements !== elements ? update(createNamedExports(elements), node) : node;\n      }\n      function createExportSpecifier(isTypeOnly, propertyName, name) {\n        const node = createBaseNode(\n          278\n          /* ExportSpecifier */\n        );\n        node.isTypeOnly = isTypeOnly;\n        node.propertyName = asName(propertyName);\n        node.name = asName(name);\n        node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name);\n        node.transformFlags &= ~67108864;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateExportSpecifier(node, isTypeOnly, propertyName, name) {\n        return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createExportSpecifier(isTypeOnly, propertyName, name), node) : node;\n      }\n      function createMissingDeclaration() {\n        const node = createBaseDeclaration(\n          279\n          /* MissingDeclaration */\n        );\n        node.jsDoc = void 0;\n        return node;\n      }\n      function createExternalModuleReference(expression) {\n        const node = createBaseNode(\n          280\n          /* ExternalModuleReference */\n        );\n        node.expression = expression;\n        node.transformFlags |= propagateChildFlags(node.expression);\n        node.transformFlags &= ~67108864;\n        return node;\n      }\n      function updateExternalModuleReference(node, expression) {\n        return node.expression !== expression ? update(createExternalModuleReference(expression), node) : node;\n      }\n      function createJSDocPrimaryTypeWorker(kind) {\n        return createBaseNode(kind);\n      }\n      function createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix = false) {\n        const node = createJSDocUnaryTypeWorker(\n          kind,\n          postfix ? type && parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(type) : type\n        );\n        node.postfix = postfix;\n        return node;\n      }\n      function createJSDocUnaryTypeWorker(kind, type) {\n        const node = createBaseNode(kind);\n        node.type = type;\n        return node;\n      }\n      function updateJSDocPrePostfixUnaryTypeWorker(kind, node, type) {\n        return node.type !== type ? update(createJSDocPrePostfixUnaryTypeWorker(kind, type, node.postfix), node) : node;\n      }\n      function updateJSDocUnaryTypeWorker(kind, node, type) {\n        return node.type !== type ? update(createJSDocUnaryTypeWorker(kind, type), node) : node;\n      }\n      function createJSDocFunctionType(parameters, type) {\n        const node = createBaseDeclaration(\n          320\n          /* JSDocFunctionType */\n        );\n        node.parameters = asNodeArray(parameters);\n        node.type = type;\n        node.transformFlags = propagateChildrenFlags(node.parameters) | (node.type ? 1 : 0);\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.typeArguments = void 0;\n        return node;\n      }\n      function updateJSDocFunctionType(node, parameters, type) {\n        return node.parameters !== parameters || node.type !== type ? update(createJSDocFunctionType(parameters, type), node) : node;\n      }\n      function createJSDocTypeLiteral(propertyTags, isArrayType = false) {\n        const node = createBaseDeclaration(\n          325\n          /* JSDocTypeLiteral */\n        );\n        node.jsDocPropertyTags = asNodeArray(propertyTags);\n        node.isArrayType = isArrayType;\n        return node;\n      }\n      function updateJSDocTypeLiteral(node, propertyTags, isArrayType) {\n        return node.jsDocPropertyTags !== propertyTags || node.isArrayType !== isArrayType ? update(createJSDocTypeLiteral(propertyTags, isArrayType), node) : node;\n      }\n      function createJSDocTypeExpression(type) {\n        const node = createBaseNode(\n          312\n          /* JSDocTypeExpression */\n        );\n        node.type = type;\n        return node;\n      }\n      function updateJSDocTypeExpression(node, type) {\n        return node.type !== type ? update(createJSDocTypeExpression(type), node) : node;\n      }\n      function createJSDocSignature(typeParameters, parameters, type) {\n        const node = createBaseDeclaration(\n          326\n          /* JSDocSignature */\n        );\n        node.typeParameters = asNodeArray(typeParameters);\n        node.parameters = createNodeArray(parameters);\n        node.type = type;\n        node.jsDoc = void 0;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateJSDocSignature(node, typeParameters, parameters, type) {\n        return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? update(createJSDocSignature(typeParameters, parameters, type), node) : node;\n      }\n      function getDefaultTagName(node) {\n        const defaultTagName = getDefaultTagNameForKind(node.kind);\n        return node.tagName.escapedText === escapeLeadingUnderscores(defaultTagName) ? node.tagName : createIdentifier(defaultTagName);\n      }\n      function createBaseJSDocTag(kind, tagName, comment) {\n        const node = createBaseNode(kind);\n        node.tagName = tagName;\n        node.comment = comment;\n        return node;\n      }\n      function createBaseJSDocTagDeclaration(kind, tagName, comment) {\n        const node = createBaseDeclaration(kind);\n        node.tagName = tagName;\n        node.comment = comment;\n        return node;\n      }\n      function createJSDocTemplateTag(tagName, constraint, typeParameters, comment) {\n        const node = createBaseJSDocTag(348, tagName != null ? tagName : createIdentifier(\"template\"), comment);\n        node.constraint = constraint;\n        node.typeParameters = createNodeArray(typeParameters);\n        return node;\n      }\n      function updateJSDocTemplateTag(node, tagName = getDefaultTagName(node), constraint, typeParameters, comment) {\n        return node.tagName !== tagName || node.constraint !== constraint || node.typeParameters !== typeParameters || node.comment !== comment ? update(createJSDocTemplateTag(tagName, constraint, typeParameters, comment), node) : node;\n      }\n      function createJSDocTypedefTag(tagName, typeExpression, fullName, comment) {\n        const node = createBaseJSDocTagDeclaration(349, tagName != null ? tagName : createIdentifier(\"typedef\"), comment);\n        node.typeExpression = typeExpression;\n        node.fullName = fullName;\n        node.name = getJSDocTypeAliasName(fullName);\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateJSDocTypedefTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) {\n        return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocTypedefTag(tagName, typeExpression, fullName, comment), node) : node;\n      }\n      function createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {\n        const node = createBaseJSDocTagDeclaration(344, tagName != null ? tagName : createIdentifier(\"param\"), comment);\n        node.typeExpression = typeExpression;\n        node.name = name;\n        node.isNameFirst = !!isNameFirst;\n        node.isBracketed = isBracketed;\n        return node;\n      }\n      function updateJSDocParameterTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) {\n        return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node;\n      }\n      function createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {\n        const node = createBaseJSDocTagDeclaration(351, tagName != null ? tagName : createIdentifier(\"prop\"), comment);\n        node.typeExpression = typeExpression;\n        node.name = name;\n        node.isNameFirst = !!isNameFirst;\n        node.isBracketed = isBracketed;\n        return node;\n      }\n      function updateJSDocPropertyTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) {\n        return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node;\n      }\n      function createJSDocCallbackTag(tagName, typeExpression, fullName, comment) {\n        const node = createBaseJSDocTagDeclaration(341, tagName != null ? tagName : createIdentifier(\"callback\"), comment);\n        node.typeExpression = typeExpression;\n        node.fullName = fullName;\n        node.name = getJSDocTypeAliasName(fullName);\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateJSDocCallbackTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) {\n        return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocCallbackTag(tagName, typeExpression, fullName, comment), node) : node;\n      }\n      function createJSDocOverloadTag(tagName, typeExpression, comment) {\n        const node = createBaseJSDocTag(342, tagName != null ? tagName : createIdentifier(\"overload\"), comment);\n        node.typeExpression = typeExpression;\n        return node;\n      }\n      function updateJSDocOverloadTag(node, tagName = getDefaultTagName(node), typeExpression, comment) {\n        return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocOverloadTag(tagName, typeExpression, comment), node) : node;\n      }\n      function createJSDocAugmentsTag(tagName, className, comment) {\n        const node = createBaseJSDocTag(331, tagName != null ? tagName : createIdentifier(\"augments\"), comment);\n        node.class = className;\n        return node;\n      }\n      function updateJSDocAugmentsTag(node, tagName = getDefaultTagName(node), className, comment) {\n        return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocAugmentsTag(tagName, className, comment), node) : node;\n      }\n      function createJSDocImplementsTag(tagName, className, comment) {\n        const node = createBaseJSDocTag(332, tagName != null ? tagName : createIdentifier(\"implements\"), comment);\n        node.class = className;\n        return node;\n      }\n      function createJSDocSeeTag(tagName, name, comment) {\n        const node = createBaseJSDocTag(350, tagName != null ? tagName : createIdentifier(\"see\"), comment);\n        node.name = name;\n        return node;\n      }\n      function updateJSDocSeeTag(node, tagName, name, comment) {\n        return node.tagName !== tagName || node.name !== name || node.comment !== comment ? update(createJSDocSeeTag(tagName, name, comment), node) : node;\n      }\n      function createJSDocNameReference(name) {\n        const node = createBaseNode(\n          313\n          /* JSDocNameReference */\n        );\n        node.name = name;\n        return node;\n      }\n      function updateJSDocNameReference(node, name) {\n        return node.name !== name ? update(createJSDocNameReference(name), node) : node;\n      }\n      function createJSDocMemberName(left, right) {\n        const node = createBaseNode(\n          314\n          /* JSDocMemberName */\n        );\n        node.left = left;\n        node.right = right;\n        node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.right);\n        return node;\n      }\n      function updateJSDocMemberName(node, left, right) {\n        return node.left !== left || node.right !== right ? update(createJSDocMemberName(left, right), node) : node;\n      }\n      function createJSDocLink(name, text) {\n        const node = createBaseNode(\n          327\n          /* JSDocLink */\n        );\n        node.name = name;\n        node.text = text;\n        return node;\n      }\n      function updateJSDocLink(node, name, text) {\n        return node.name !== name ? update(createJSDocLink(name, text), node) : node;\n      }\n      function createJSDocLinkCode(name, text) {\n        const node = createBaseNode(\n          328\n          /* JSDocLinkCode */\n        );\n        node.name = name;\n        node.text = text;\n        return node;\n      }\n      function updateJSDocLinkCode(node, name, text) {\n        return node.name !== name ? update(createJSDocLinkCode(name, text), node) : node;\n      }\n      function createJSDocLinkPlain(name, text) {\n        const node = createBaseNode(\n          329\n          /* JSDocLinkPlain */\n        );\n        node.name = name;\n        node.text = text;\n        return node;\n      }\n      function updateJSDocLinkPlain(node, name, text) {\n        return node.name !== name ? update(createJSDocLinkPlain(name, text), node) : node;\n      }\n      function updateJSDocImplementsTag(node, tagName = getDefaultTagName(node), className, comment) {\n        return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocImplementsTag(tagName, className, comment), node) : node;\n      }\n      function createJSDocSimpleTagWorker(kind, tagName, comment) {\n        const node = createBaseJSDocTag(kind, tagName != null ? tagName : createIdentifier(getDefaultTagNameForKind(kind)), comment);\n        return node;\n      }\n      function updateJSDocSimpleTagWorker(kind, node, tagName = getDefaultTagName(node), comment) {\n        return node.tagName !== tagName || node.comment !== comment ? update(createJSDocSimpleTagWorker(kind, tagName, comment), node) : node;\n      }\n      function createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment) {\n        const node = createBaseJSDocTag(kind, tagName != null ? tagName : createIdentifier(getDefaultTagNameForKind(kind)), comment);\n        node.typeExpression = typeExpression;\n        return node;\n      }\n      function updateJSDocTypeLikeTagWorker(kind, node, tagName = getDefaultTagName(node), typeExpression, comment) {\n        return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment), node) : node;\n      }\n      function createJSDocUnknownTag(tagName, comment) {\n        const node = createBaseJSDocTag(330, tagName, comment);\n        return node;\n      }\n      function updateJSDocUnknownTag(node, tagName, comment) {\n        return node.tagName !== tagName || node.comment !== comment ? update(createJSDocUnknownTag(tagName, comment), node) : node;\n      }\n      function createJSDocEnumTag(tagName, typeExpression, comment) {\n        const node = createBaseJSDocTagDeclaration(343, tagName != null ? tagName : createIdentifier(getDefaultTagNameForKind(\n          343\n          /* JSDocEnumTag */\n        )), comment);\n        node.typeExpression = typeExpression;\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateJSDocEnumTag(node, tagName = getDefaultTagName(node), typeExpression, comment) {\n        return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocEnumTag(tagName, typeExpression, comment), node) : node;\n      }\n      function createJSDocText(text) {\n        const node = createBaseNode(\n          324\n          /* JSDocText */\n        );\n        node.text = text;\n        return node;\n      }\n      function updateJSDocText(node, text) {\n        return node.text !== text ? update(createJSDocText(text), node) : node;\n      }\n      function createJSDocComment(comment, tags) {\n        const node = createBaseNode(\n          323\n          /* JSDoc */\n        );\n        node.comment = comment;\n        node.tags = asNodeArray(tags);\n        return node;\n      }\n      function updateJSDocComment(node, comment, tags) {\n        return node.comment !== comment || node.tags !== tags ? update(createJSDocComment(comment, tags), node) : node;\n      }\n      function createJsxElement(openingElement, children, closingElement) {\n        const node = createBaseNode(\n          281\n          /* JsxElement */\n        );\n        node.openingElement = openingElement;\n        node.children = createNodeArray(children);\n        node.closingElement = closingElement;\n        node.transformFlags |= propagateChildFlags(node.openingElement) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingElement) | 2;\n        return node;\n      }\n      function updateJsxElement(node, openingElement, children, closingElement) {\n        return node.openingElement !== openingElement || node.children !== children || node.closingElement !== closingElement ? update(createJsxElement(openingElement, children, closingElement), node) : node;\n      }\n      function createJsxSelfClosingElement(tagName, typeArguments, attributes) {\n        const node = createBaseNode(\n          282\n          /* JsxSelfClosingElement */\n        );\n        node.tagName = tagName;\n        node.typeArguments = asNodeArray(typeArguments);\n        node.attributes = attributes;\n        node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2;\n        if (node.typeArguments) {\n          node.transformFlags |= 1;\n        }\n        return node;\n      }\n      function updateJsxSelfClosingElement(node, tagName, typeArguments, attributes) {\n        return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxSelfClosingElement(tagName, typeArguments, attributes), node) : node;\n      }\n      function createJsxOpeningElement(tagName, typeArguments, attributes) {\n        const node = createBaseNode(\n          283\n          /* JsxOpeningElement */\n        );\n        node.tagName = tagName;\n        node.typeArguments = asNodeArray(typeArguments);\n        node.attributes = attributes;\n        node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2;\n        if (typeArguments) {\n          node.transformFlags |= 1;\n        }\n        return node;\n      }\n      function updateJsxOpeningElement(node, tagName, typeArguments, attributes) {\n        return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxOpeningElement(tagName, typeArguments, attributes), node) : node;\n      }\n      function createJsxClosingElement(tagName) {\n        const node = createBaseNode(\n          284\n          /* JsxClosingElement */\n        );\n        node.tagName = tagName;\n        node.transformFlags |= propagateChildFlags(node.tagName) | 2;\n        return node;\n      }\n      function updateJsxClosingElement(node, tagName) {\n        return node.tagName !== tagName ? update(createJsxClosingElement(tagName), node) : node;\n      }\n      function createJsxFragment(openingFragment, children, closingFragment) {\n        const node = createBaseNode(\n          285\n          /* JsxFragment */\n        );\n        node.openingFragment = openingFragment;\n        node.children = createNodeArray(children);\n        node.closingFragment = closingFragment;\n        node.transformFlags |= propagateChildFlags(node.openingFragment) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingFragment) | 2;\n        return node;\n      }\n      function updateJsxFragment(node, openingFragment, children, closingFragment) {\n        return node.openingFragment !== openingFragment || node.children !== children || node.closingFragment !== closingFragment ? update(createJsxFragment(openingFragment, children, closingFragment), node) : node;\n      }\n      function createJsxText(text, containsOnlyTriviaWhiteSpaces) {\n        const node = createBaseNode(\n          11\n          /* JsxText */\n        );\n        node.text = text;\n        node.containsOnlyTriviaWhiteSpaces = !!containsOnlyTriviaWhiteSpaces;\n        node.transformFlags |= 2;\n        return node;\n      }\n      function updateJsxText(node, text, containsOnlyTriviaWhiteSpaces) {\n        return node.text !== text || node.containsOnlyTriviaWhiteSpaces !== containsOnlyTriviaWhiteSpaces ? update(createJsxText(text, containsOnlyTriviaWhiteSpaces), node) : node;\n      }\n      function createJsxOpeningFragment() {\n        const node = createBaseNode(\n          286\n          /* JsxOpeningFragment */\n        );\n        node.transformFlags |= 2;\n        return node;\n      }\n      function createJsxJsxClosingFragment() {\n        const node = createBaseNode(\n          287\n          /* JsxClosingFragment */\n        );\n        node.transformFlags |= 2;\n        return node;\n      }\n      function createJsxAttribute(name, initializer) {\n        const node = createBaseDeclaration(\n          288\n          /* JsxAttribute */\n        );\n        node.name = name;\n        node.initializer = initializer;\n        node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 2;\n        return node;\n      }\n      function updateJsxAttribute(node, name, initializer) {\n        return node.name !== name || node.initializer !== initializer ? update(createJsxAttribute(name, initializer), node) : node;\n      }\n      function createJsxAttributes(properties) {\n        const node = createBaseDeclaration(\n          289\n          /* JsxAttributes */\n        );\n        node.properties = createNodeArray(properties);\n        node.transformFlags |= propagateChildrenFlags(node.properties) | 2;\n        return node;\n      }\n      function updateJsxAttributes(node, properties) {\n        return node.properties !== properties ? update(createJsxAttributes(properties), node) : node;\n      }\n      function createJsxSpreadAttribute(expression) {\n        const node = createBaseNode(\n          290\n          /* JsxSpreadAttribute */\n        );\n        node.expression = expression;\n        node.transformFlags |= propagateChildFlags(node.expression) | 2;\n        return node;\n      }\n      function updateJsxSpreadAttribute(node, expression) {\n        return node.expression !== expression ? update(createJsxSpreadAttribute(expression), node) : node;\n      }\n      function createJsxExpression(dotDotDotToken, expression) {\n        const node = createBaseNode(\n          291\n          /* JsxExpression */\n        );\n        node.dotDotDotToken = dotDotDotToken;\n        node.expression = expression;\n        node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateChildFlags(node.expression) | 2;\n        return node;\n      }\n      function updateJsxExpression(node, expression) {\n        return node.expression !== expression ? update(createJsxExpression(node.dotDotDotToken, expression), node) : node;\n      }\n      function createCaseClause(expression, statements) {\n        const node = createBaseNode(\n          292\n          /* CaseClause */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n        node.statements = createNodeArray(statements);\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.statements);\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateCaseClause(node, expression, statements) {\n        return node.expression !== expression || node.statements !== statements ? update(createCaseClause(expression, statements), node) : node;\n      }\n      function createDefaultClause(statements) {\n        const node = createBaseNode(\n          293\n          /* DefaultClause */\n        );\n        node.statements = createNodeArray(statements);\n        node.transformFlags = propagateChildrenFlags(node.statements);\n        return node;\n      }\n      function updateDefaultClause(node, statements) {\n        return node.statements !== statements ? update(createDefaultClause(statements), node) : node;\n      }\n      function createHeritageClause(token, types) {\n        const node = createBaseNode(\n          294\n          /* HeritageClause */\n        );\n        node.token = token;\n        node.types = createNodeArray(types);\n        node.transformFlags |= propagateChildrenFlags(node.types);\n        switch (token) {\n          case 94:\n            node.transformFlags |= 1024;\n            break;\n          case 117:\n            node.transformFlags |= 1;\n            break;\n          default:\n            return Debug2.assertNever(token);\n        }\n        return node;\n      }\n      function updateHeritageClause(node, types) {\n        return node.types !== types ? update(createHeritageClause(node.token, types), node) : node;\n      }\n      function createCatchClause(variableDeclaration, block) {\n        const node = createBaseNode(\n          295\n          /* CatchClause */\n        );\n        node.variableDeclaration = asVariableDeclaration(variableDeclaration);\n        node.block = block;\n        node.transformFlags |= propagateChildFlags(node.variableDeclaration) | propagateChildFlags(node.block) | (!variableDeclaration ? 64 : 0);\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        return node;\n      }\n      function updateCatchClause(node, variableDeclaration, block) {\n        return node.variableDeclaration !== variableDeclaration || node.block !== block ? update(createCatchClause(variableDeclaration, block), node) : node;\n      }\n      function createPropertyAssignment(name, initializer) {\n        const node = createBaseDeclaration(\n          299\n          /* PropertyAssignment */\n        );\n        node.name = asName(name);\n        node.initializer = parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer);\n        node.transformFlags |= propagateNameFlags(node.name) | propagateChildFlags(node.initializer);\n        node.modifiers = void 0;\n        node.questionToken = void 0;\n        node.exclamationToken = void 0;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updatePropertyAssignment(node, name, initializer) {\n        return node.name !== name || node.initializer !== initializer ? finishUpdatePropertyAssignment(createPropertyAssignment(name, initializer), node) : node;\n      }\n      function finishUpdatePropertyAssignment(updated, original) {\n        if (updated !== original) {\n          updated.modifiers = original.modifiers;\n          updated.questionToken = original.questionToken;\n          updated.exclamationToken = original.exclamationToken;\n        }\n        return update(updated, original);\n      }\n      function createShorthandPropertyAssignment(name, objectAssignmentInitializer) {\n        const node = createBaseDeclaration(\n          300\n          /* ShorthandPropertyAssignment */\n        );\n        node.name = asName(name);\n        node.objectAssignmentInitializer = objectAssignmentInitializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(objectAssignmentInitializer);\n        node.transformFlags |= propagateIdentifierNameFlags(node.name) | propagateChildFlags(node.objectAssignmentInitializer) | 1024;\n        node.equalsToken = void 0;\n        node.modifiers = void 0;\n        node.questionToken = void 0;\n        node.exclamationToken = void 0;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateShorthandPropertyAssignment(node, name, objectAssignmentInitializer) {\n        return node.name !== name || node.objectAssignmentInitializer !== objectAssignmentInitializer ? finishUpdateShorthandPropertyAssignment(createShorthandPropertyAssignment(name, objectAssignmentInitializer), node) : node;\n      }\n      function finishUpdateShorthandPropertyAssignment(updated, original) {\n        if (updated !== original) {\n          updated.modifiers = original.modifiers;\n          updated.questionToken = original.questionToken;\n          updated.exclamationToken = original.exclamationToken;\n          updated.equalsToken = original.equalsToken;\n        }\n        return update(updated, original);\n      }\n      function createSpreadAssignment(expression) {\n        const node = createBaseDeclaration(\n          301\n          /* SpreadAssignment */\n        );\n        node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n        node.transformFlags |= propagateChildFlags(node.expression) | 128 | 65536;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateSpreadAssignment(node, expression) {\n        return node.expression !== expression ? update(createSpreadAssignment(expression), node) : node;\n      }\n      function createEnumMember(name, initializer) {\n        const node = createBaseDeclaration(\n          302\n          /* EnumMember */\n        );\n        node.name = asName(name);\n        node.initializer = initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer);\n        node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 1;\n        node.jsDoc = void 0;\n        return node;\n      }\n      function updateEnumMember(node, name, initializer) {\n        return node.name !== name || node.initializer !== initializer ? update(createEnumMember(name, initializer), node) : node;\n      }\n      function createSourceFile2(statements, endOfFileToken, flags2) {\n        const node = baseFactory2.createBaseSourceFileNode(\n          308\n          /* SourceFile */\n        );\n        node.statements = createNodeArray(statements);\n        node.endOfFileToken = endOfFileToken;\n        node.flags |= flags2;\n        node.text = \"\";\n        node.fileName = \"\";\n        node.path = \"\";\n        node.resolvedPath = \"\";\n        node.originalFileName = \"\";\n        node.languageVersion = 0;\n        node.languageVariant = 0;\n        node.scriptKind = 0;\n        node.isDeclarationFile = false;\n        node.hasNoDefaultLib = false;\n        node.transformFlags |= propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken);\n        node.locals = void 0;\n        node.nextContainer = void 0;\n        node.endFlowNode = void 0;\n        node.nodeCount = 0;\n        node.identifierCount = 0;\n        node.symbolCount = 0;\n        node.parseDiagnostics = void 0;\n        node.bindDiagnostics = void 0;\n        node.bindSuggestionDiagnostics = void 0;\n        node.lineMap = void 0;\n        node.externalModuleIndicator = void 0;\n        node.setExternalModuleIndicator = void 0;\n        node.pragmas = void 0;\n        node.checkJsDirective = void 0;\n        node.referencedFiles = void 0;\n        node.typeReferenceDirectives = void 0;\n        node.libReferenceDirectives = void 0;\n        node.amdDependencies = void 0;\n        node.commentDirectives = void 0;\n        node.identifiers = void 0;\n        node.packageJsonLocations = void 0;\n        node.packageJsonScope = void 0;\n        node.imports = void 0;\n        node.moduleAugmentations = void 0;\n        node.ambientModuleNames = void 0;\n        node.resolvedModules = void 0;\n        node.classifiableNames = void 0;\n        node.impliedNodeFormat = void 0;\n        return node;\n      }\n      function createRedirectedSourceFile(redirectInfo) {\n        const node = Object.create(redirectInfo.redirectTarget);\n        Object.defineProperties(node, {\n          id: {\n            get() {\n              return this.redirectInfo.redirectTarget.id;\n            },\n            set(value) {\n              this.redirectInfo.redirectTarget.id = value;\n            }\n          },\n          symbol: {\n            get() {\n              return this.redirectInfo.redirectTarget.symbol;\n            },\n            set(value) {\n              this.redirectInfo.redirectTarget.symbol = value;\n            }\n          }\n        });\n        node.redirectInfo = redirectInfo;\n        return node;\n      }\n      function cloneRedirectedSourceFile(source) {\n        const node = createRedirectedSourceFile(source.redirectInfo);\n        node.flags |= source.flags & ~8;\n        node.fileName = source.fileName;\n        node.path = source.path;\n        node.resolvedPath = source.resolvedPath;\n        node.originalFileName = source.originalFileName;\n        node.packageJsonLocations = source.packageJsonLocations;\n        node.packageJsonScope = source.packageJsonScope;\n        node.emitNode = void 0;\n        return node;\n      }\n      function cloneSourceFileWorker(source) {\n        const node = baseFactory2.createBaseSourceFileNode(\n          308\n          /* SourceFile */\n        );\n        node.flags |= source.flags & ~8;\n        for (const p in source) {\n          if (hasProperty(node, p) || !hasProperty(source, p)) {\n            continue;\n          }\n          if (p === \"emitNode\") {\n            node.emitNode = void 0;\n            continue;\n          }\n          node[p] = source[p];\n        }\n        return node;\n      }\n      function cloneSourceFile(source) {\n        const node = source.redirectInfo ? cloneRedirectedSourceFile(source) : cloneSourceFileWorker(source);\n        setOriginalNode(node, source);\n        return node;\n      }\n      function cloneSourceFileWithChanges(source, statements, isDeclarationFile, referencedFiles, typeReferences, hasNoDefaultLib, libReferences) {\n        const node = cloneSourceFile(source);\n        node.statements = createNodeArray(statements);\n        node.isDeclarationFile = isDeclarationFile;\n        node.referencedFiles = referencedFiles;\n        node.typeReferenceDirectives = typeReferences;\n        node.hasNoDefaultLib = hasNoDefaultLib;\n        node.libReferenceDirectives = libReferences;\n        node.transformFlags = propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken);\n        return node;\n      }\n      function updateSourceFile2(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, hasNoDefaultLib = node.hasNoDefaultLib, libReferenceDirectives = node.libReferenceDirectives) {\n        return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.hasNoDefaultLib !== hasNoDefaultLib || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, hasNoDefaultLib, libReferenceDirectives), node) : node;\n      }\n      function createBundle(sourceFiles, prepends = emptyArray) {\n        const node = createBaseNode(\n          309\n          /* Bundle */\n        );\n        node.prepends = prepends;\n        node.sourceFiles = sourceFiles;\n        node.syntheticFileReferences = void 0;\n        node.syntheticTypeReferences = void 0;\n        node.syntheticLibReferences = void 0;\n        node.hasNoDefaultLib = void 0;\n        return node;\n      }\n      function updateBundle(node, sourceFiles, prepends = emptyArray) {\n        return node.sourceFiles !== sourceFiles || node.prepends !== prepends ? update(createBundle(sourceFiles, prepends), node) : node;\n      }\n      function createUnparsedSource(prologues, syntheticReferences, texts) {\n        const node = createBaseNode(\n          310\n          /* UnparsedSource */\n        );\n        node.prologues = prologues;\n        node.syntheticReferences = syntheticReferences;\n        node.texts = texts;\n        node.fileName = \"\";\n        node.text = \"\";\n        node.referencedFiles = emptyArray;\n        node.libReferenceDirectives = emptyArray;\n        node.getLineAndCharacterOfPosition = (pos) => getLineAndCharacterOfPosition(node, pos);\n        return node;\n      }\n      function createBaseUnparsedNode(kind, data) {\n        const node = createBaseNode(kind);\n        node.data = data;\n        return node;\n      }\n      function createUnparsedPrologue(data) {\n        return createBaseUnparsedNode(303, data);\n      }\n      function createUnparsedPrepend(data, texts) {\n        const node = createBaseUnparsedNode(304, data);\n        node.texts = texts;\n        return node;\n      }\n      function createUnparsedTextLike(data, internal) {\n        return createBaseUnparsedNode(internal ? 306 : 305, data);\n      }\n      function createUnparsedSyntheticReference(section) {\n        const node = createBaseNode(\n          307\n          /* UnparsedSyntheticReference */\n        );\n        node.data = section.data;\n        node.section = section;\n        return node;\n      }\n      function createInputFiles2() {\n        const node = createBaseNode(\n          311\n          /* InputFiles */\n        );\n        node.javascriptText = \"\";\n        node.declarationText = \"\";\n        return node;\n      }\n      function createSyntheticExpression(type, isSpread = false, tupleNameSource) {\n        const node = createBaseNode(\n          234\n          /* SyntheticExpression */\n        );\n        node.type = type;\n        node.isSpread = isSpread;\n        node.tupleNameSource = tupleNameSource;\n        return node;\n      }\n      function createSyntaxList3(children) {\n        const node = createBaseNode(\n          354\n          /* SyntaxList */\n        );\n        node._children = children;\n        return node;\n      }\n      function createNotEmittedStatement(original) {\n        const node = createBaseNode(\n          355\n          /* NotEmittedStatement */\n        );\n        node.original = original;\n        setTextRange(node, original);\n        return node;\n      }\n      function createPartiallyEmittedExpression(expression, original) {\n        const node = createBaseNode(\n          356\n          /* PartiallyEmittedExpression */\n        );\n        node.expression = expression;\n        node.original = original;\n        node.transformFlags |= propagateChildFlags(node.expression) | 1;\n        setTextRange(node, original);\n        return node;\n      }\n      function updatePartiallyEmittedExpression(node, expression) {\n        return node.expression !== expression ? update(createPartiallyEmittedExpression(expression, node.original), node) : node;\n      }\n      function flattenCommaElements(node) {\n        if (nodeIsSynthesized(node) && !isParseTreeNode(node) && !node.original && !node.emitNode && !node.id) {\n          if (isCommaListExpression(node)) {\n            return node.elements;\n          }\n          if (isBinaryExpression(node) && isCommaToken(node.operatorToken)) {\n            return [node.left, node.right];\n          }\n        }\n        return node;\n      }\n      function createCommaListExpression(elements) {\n        const node = createBaseNode(\n          357\n          /* CommaListExpression */\n        );\n        node.elements = createNodeArray(sameFlatMap(elements, flattenCommaElements));\n        node.transformFlags |= propagateChildrenFlags(node.elements);\n        return node;\n      }\n      function updateCommaListExpression(node, elements) {\n        return node.elements !== elements ? update(createCommaListExpression(elements), node) : node;\n      }\n      function createEndOfDeclarationMarker(original) {\n        const node = createBaseNode(\n          359\n          /* EndOfDeclarationMarker */\n        );\n        node.emitNode = {};\n        node.original = original;\n        return node;\n      }\n      function createMergeDeclarationMarker(original) {\n        const node = createBaseNode(\n          358\n          /* MergeDeclarationMarker */\n        );\n        node.emitNode = {};\n        node.original = original;\n        return node;\n      }\n      function createSyntheticReferenceExpression(expression, thisArg) {\n        const node = createBaseNode(\n          360\n          /* SyntheticReferenceExpression */\n        );\n        node.expression = expression;\n        node.thisArg = thisArg;\n        node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg);\n        return node;\n      }\n      function updateSyntheticReferenceExpression(node, expression, thisArg) {\n        return node.expression !== expression || node.thisArg !== thisArg ? update(createSyntheticReferenceExpression(expression, thisArg), node) : node;\n      }\n      function cloneGeneratedIdentifier(node) {\n        const clone2 = createBaseIdentifier(node.escapedText);\n        clone2.flags |= node.flags & ~8;\n        clone2.transformFlags = node.transformFlags;\n        setOriginalNode(clone2, node);\n        setIdentifierAutoGenerate(clone2, { ...node.emitNode.autoGenerate });\n        return clone2;\n      }\n      function cloneIdentifier(node) {\n        const clone2 = createBaseIdentifier(node.escapedText);\n        clone2.flags |= node.flags & ~8;\n        clone2.jsDoc = node.jsDoc;\n        clone2.flowNode = node.flowNode;\n        clone2.symbol = node.symbol;\n        clone2.transformFlags = node.transformFlags;\n        setOriginalNode(clone2, node);\n        const typeArguments = getIdentifierTypeArguments(node);\n        if (typeArguments)\n          setIdentifierTypeArguments(clone2, typeArguments);\n        return clone2;\n      }\n      function cloneGeneratedPrivateIdentifier(node) {\n        const clone2 = createBasePrivateIdentifier(node.escapedText);\n        clone2.flags |= node.flags & ~8;\n        clone2.transformFlags = node.transformFlags;\n        setOriginalNode(clone2, node);\n        setIdentifierAutoGenerate(clone2, { ...node.emitNode.autoGenerate });\n        return clone2;\n      }\n      function clonePrivateIdentifier(node) {\n        const clone2 = createBasePrivateIdentifier(node.escapedText);\n        clone2.flags |= node.flags & ~8;\n        clone2.transformFlags = node.transformFlags;\n        setOriginalNode(clone2, node);\n        return clone2;\n      }\n      function cloneNode(node) {\n        if (node === void 0) {\n          return node;\n        }\n        if (isSourceFile(node)) {\n          return cloneSourceFile(node);\n        }\n        if (isGeneratedIdentifier(node)) {\n          return cloneGeneratedIdentifier(node);\n        }\n        if (isIdentifier(node)) {\n          return cloneIdentifier(node);\n        }\n        if (isGeneratedPrivateIdentifier(node)) {\n          return cloneGeneratedPrivateIdentifier(node);\n        }\n        if (isPrivateIdentifier(node)) {\n          return clonePrivateIdentifier(node);\n        }\n        const clone2 = !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind);\n        clone2.flags |= node.flags & ~8;\n        clone2.transformFlags = node.transformFlags;\n        setOriginalNode(clone2, node);\n        for (const key in node) {\n          if (hasProperty(clone2, key) || !hasProperty(node, key)) {\n            continue;\n          }\n          clone2[key] = node[key];\n        }\n        return clone2;\n      }\n      function createImmediatelyInvokedFunctionExpression(statements, param, paramValue) {\n        return createCallExpression(\n          createFunctionExpression(\n            /*modifiers*/\n            void 0,\n            /*asteriskToken*/\n            void 0,\n            /*name*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            /*parameters*/\n            param ? [param] : [],\n            /*type*/\n            void 0,\n            createBlock(\n              statements,\n              /*multiLine*/\n              true\n            )\n          ),\n          /*typeArguments*/\n          void 0,\n          /*argumentsArray*/\n          paramValue ? [paramValue] : []\n        );\n      }\n      function createImmediatelyInvokedArrowFunction(statements, param, paramValue) {\n        return createCallExpression(\n          createArrowFunction(\n            /*modifiers*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            /*parameters*/\n            param ? [param] : [],\n            /*type*/\n            void 0,\n            /*equalsGreaterThanToken*/\n            void 0,\n            createBlock(\n              statements,\n              /*multiLine*/\n              true\n            )\n          ),\n          /*typeArguments*/\n          void 0,\n          /*argumentsArray*/\n          paramValue ? [paramValue] : []\n        );\n      }\n      function createVoidZero() {\n        return createVoidExpression(createNumericLiteral(\"0\"));\n      }\n      function createExportDefault(expression) {\n        return createExportAssignment2(\n          /*modifiers*/\n          void 0,\n          /*isExportEquals*/\n          false,\n          expression\n        );\n      }\n      function createExternalModuleExport(exportName) {\n        return createExportDeclaration(\n          /*modifiers*/\n          void 0,\n          /*isTypeOnly*/\n          false,\n          createNamedExports([\n            createExportSpecifier(\n              /*isTypeOnly*/\n              false,\n              /*propertyName*/\n              void 0,\n              exportName\n            )\n          ])\n        );\n      }\n      function createTypeCheck(value, tag) {\n        return tag === \"undefined\" ? factory2.createStrictEquality(value, createVoidZero()) : factory2.createStrictEquality(createTypeOfExpression(value), createStringLiteral(tag));\n      }\n      function createMethodCall(object, methodName, argumentsList) {\n        if (isCallChain(object)) {\n          return createCallChain(\n            createPropertyAccessChain(\n              object,\n              /*questionDotToken*/\n              void 0,\n              methodName\n            ),\n            /*questionDotToken*/\n            void 0,\n            /*typeArguments*/\n            void 0,\n            argumentsList\n          );\n        }\n        return createCallExpression(\n          createPropertyAccessExpression(object, methodName),\n          /*typeArguments*/\n          void 0,\n          argumentsList\n        );\n      }\n      function createFunctionBindCall(target, thisArg, argumentsList) {\n        return createMethodCall(target, \"bind\", [thisArg, ...argumentsList]);\n      }\n      function createFunctionCallCall(target, thisArg, argumentsList) {\n        return createMethodCall(target, \"call\", [thisArg, ...argumentsList]);\n      }\n      function createFunctionApplyCall(target, thisArg, argumentsExpression) {\n        return createMethodCall(target, \"apply\", [thisArg, argumentsExpression]);\n      }\n      function createGlobalMethodCall(globalObjectName, methodName, argumentsList) {\n        return createMethodCall(createIdentifier(globalObjectName), methodName, argumentsList);\n      }\n      function createArraySliceCall(array, start) {\n        return createMethodCall(array, \"slice\", start === void 0 ? [] : [asExpression(start)]);\n      }\n      function createArrayConcatCall(array, argumentsList) {\n        return createMethodCall(array, \"concat\", argumentsList);\n      }\n      function createObjectDefinePropertyCall(target, propertyName, attributes) {\n        return createGlobalMethodCall(\"Object\", \"defineProperty\", [target, asExpression(propertyName), attributes]);\n      }\n      function createObjectGetOwnPropertyDescriptorCall(target, propertyName) {\n        return createGlobalMethodCall(\"Object\", \"getOwnPropertyDescriptor\", [target, asExpression(propertyName)]);\n      }\n      function createReflectGetCall(target, propertyKey, receiver) {\n        return createGlobalMethodCall(\"Reflect\", \"get\", receiver ? [target, propertyKey, receiver] : [target, propertyKey]);\n      }\n      function createReflectSetCall(target, propertyKey, value, receiver) {\n        return createGlobalMethodCall(\"Reflect\", \"set\", receiver ? [target, propertyKey, value, receiver] : [target, propertyKey, value]);\n      }\n      function tryAddPropertyAssignment(properties, propertyName, expression) {\n        if (expression) {\n          properties.push(createPropertyAssignment(propertyName, expression));\n          return true;\n        }\n        return false;\n      }\n      function createPropertyDescriptor(attributes, singleLine) {\n        const properties = [];\n        tryAddPropertyAssignment(properties, \"enumerable\", asExpression(attributes.enumerable));\n        tryAddPropertyAssignment(properties, \"configurable\", asExpression(attributes.configurable));\n        let isData = tryAddPropertyAssignment(properties, \"writable\", asExpression(attributes.writable));\n        isData = tryAddPropertyAssignment(properties, \"value\", attributes.value) || isData;\n        let isAccessor2 = tryAddPropertyAssignment(properties, \"get\", attributes.get);\n        isAccessor2 = tryAddPropertyAssignment(properties, \"set\", attributes.set) || isAccessor2;\n        Debug2.assert(!(isData && isAccessor2), \"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.\");\n        return createObjectLiteralExpression(properties, !singleLine);\n      }\n      function updateOuterExpression(outerExpression, expression) {\n        switch (outerExpression.kind) {\n          case 214:\n            return updateParenthesizedExpression(outerExpression, expression);\n          case 213:\n            return updateTypeAssertion(outerExpression, outerExpression.type, expression);\n          case 231:\n            return updateAsExpression(outerExpression, expression, outerExpression.type);\n          case 235:\n            return updateSatisfiesExpression(outerExpression, expression, outerExpression.type);\n          case 232:\n            return updateNonNullExpression(outerExpression, expression);\n          case 356:\n            return updatePartiallyEmittedExpression(outerExpression, expression);\n        }\n      }\n      function isIgnorableParen(node) {\n        return isParenthesizedExpression(node) && nodeIsSynthesized(node) && nodeIsSynthesized(getSourceMapRange(node)) && nodeIsSynthesized(getCommentRange(node)) && !some(getSyntheticLeadingComments(node)) && !some(getSyntheticTrailingComments(node));\n      }\n      function restoreOuterExpressions(outerExpression, innerExpression, kinds = 15) {\n        if (outerExpression && isOuterExpression(outerExpression, kinds) && !isIgnorableParen(outerExpression)) {\n          return updateOuterExpression(\n            outerExpression,\n            restoreOuterExpressions(outerExpression.expression, innerExpression)\n          );\n        }\n        return innerExpression;\n      }\n      function restoreEnclosingLabel(node, outermostLabeledStatement, afterRestoreLabelCallback) {\n        if (!outermostLabeledStatement) {\n          return node;\n        }\n        const updated = updateLabeledStatement(\n          outermostLabeledStatement,\n          outermostLabeledStatement.label,\n          isLabeledStatement(outermostLabeledStatement.statement) ? restoreEnclosingLabel(node, outermostLabeledStatement.statement) : node\n        );\n        if (afterRestoreLabelCallback) {\n          afterRestoreLabelCallback(outermostLabeledStatement);\n        }\n        return updated;\n      }\n      function shouldBeCapturedInTempVariable(node, cacheIdentifiers) {\n        const target = skipParentheses(node);\n        switch (target.kind) {\n          case 79:\n            return cacheIdentifiers;\n          case 108:\n          case 8:\n          case 9:\n          case 10:\n            return false;\n          case 206:\n            const elements = target.elements;\n            if (elements.length === 0) {\n              return false;\n            }\n            return true;\n          case 207:\n            return target.properties.length > 0;\n          default:\n            return true;\n        }\n      }\n      function createCallBinding(expression, recordTempVariable, languageVersion, cacheIdentifiers = false) {\n        const callee = skipOuterExpressions(\n          expression,\n          15\n          /* All */\n        );\n        let thisArg;\n        let target;\n        if (isSuperProperty(callee)) {\n          thisArg = createThis();\n          target = callee;\n        } else if (isSuperKeyword(callee)) {\n          thisArg = createThis();\n          target = languageVersion !== void 0 && languageVersion < 2 ? setTextRange(createIdentifier(\"_super\"), callee) : callee;\n        } else if (getEmitFlags(callee) & 8192) {\n          thisArg = createVoidZero();\n          target = parenthesizerRules().parenthesizeLeftSideOfAccess(\n            callee,\n            /*optionalChain*/\n            false\n          );\n        } else if (isPropertyAccessExpression(callee)) {\n          if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) {\n            thisArg = createTempVariable(recordTempVariable);\n            target = createPropertyAccessExpression(\n              setTextRange(\n                factory2.createAssignment(\n                  thisArg,\n                  callee.expression\n                ),\n                callee.expression\n              ),\n              callee.name\n            );\n            setTextRange(target, callee);\n          } else {\n            thisArg = callee.expression;\n            target = callee;\n          }\n        } else if (isElementAccessExpression(callee)) {\n          if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) {\n            thisArg = createTempVariable(recordTempVariable);\n            target = createElementAccessExpression(\n              setTextRange(\n                factory2.createAssignment(\n                  thisArg,\n                  callee.expression\n                ),\n                callee.expression\n              ),\n              callee.argumentExpression\n            );\n            setTextRange(target, callee);\n          } else {\n            thisArg = callee.expression;\n            target = callee;\n          }\n        } else {\n          thisArg = createVoidZero();\n          target = parenthesizerRules().parenthesizeLeftSideOfAccess(\n            expression,\n            /*optionalChain*/\n            false\n          );\n        }\n        return { target, thisArg };\n      }\n      function createAssignmentTargetWrapper(paramName, expression) {\n        return createPropertyAccessExpression(\n          // Explicit parens required because of v8 regression (https://bugs.chromium.org/p/v8/issues/detail?id=9560)\n          createParenthesizedExpression(\n            createObjectLiteralExpression([\n              createSetAccessorDeclaration(\n                /*modifiers*/\n                void 0,\n                \"value\",\n                [createParameterDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  /*dotDotDotToken*/\n                  void 0,\n                  paramName,\n                  /*questionToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  /*initializer*/\n                  void 0\n                )],\n                createBlock([\n                  createExpressionStatement(expression)\n                ])\n              )\n            ])\n          ),\n          \"value\"\n        );\n      }\n      function inlineExpressions(expressions) {\n        return expressions.length > 10 ? createCommaListExpression(expressions) : reduceLeft(expressions, factory2.createComma);\n      }\n      function getName(node, allowComments, allowSourceMaps, emitFlags = 0) {\n        const nodeName = getNameOfDeclaration(node);\n        if (nodeName && isIdentifier(nodeName) && !isGeneratedIdentifier(nodeName)) {\n          const name = setParent(setTextRange(cloneNode(nodeName), nodeName), nodeName.parent);\n          emitFlags |= getEmitFlags(nodeName);\n          if (!allowSourceMaps)\n            emitFlags |= 96;\n          if (!allowComments)\n            emitFlags |= 3072;\n          if (emitFlags)\n            setEmitFlags(name, emitFlags);\n          return name;\n        }\n        return getGeneratedNameForNode(node);\n      }\n      function getInternalName(node, allowComments, allowSourceMaps) {\n        return getName(\n          node,\n          allowComments,\n          allowSourceMaps,\n          32768 | 65536\n          /* InternalName */\n        );\n      }\n      function getLocalName(node, allowComments, allowSourceMaps) {\n        return getName(\n          node,\n          allowComments,\n          allowSourceMaps,\n          32768\n          /* LocalName */\n        );\n      }\n      function getExportName(node, allowComments, allowSourceMaps) {\n        return getName(\n          node,\n          allowComments,\n          allowSourceMaps,\n          16384\n          /* ExportName */\n        );\n      }\n      function getDeclarationName(node, allowComments, allowSourceMaps) {\n        return getName(node, allowComments, allowSourceMaps);\n      }\n      function getNamespaceMemberName(ns, name, allowComments, allowSourceMaps) {\n        const qualifiedName = createPropertyAccessExpression(ns, nodeIsSynthesized(name) ? name : cloneNode(name));\n        setTextRange(qualifiedName, name);\n        let emitFlags = 0;\n        if (!allowSourceMaps)\n          emitFlags |= 96;\n        if (!allowComments)\n          emitFlags |= 3072;\n        if (emitFlags)\n          setEmitFlags(qualifiedName, emitFlags);\n        return qualifiedName;\n      }\n      function getExternalModuleOrNamespaceExportName(ns, node, allowComments, allowSourceMaps) {\n        if (ns && hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          return getNamespaceMemberName(ns, getName(node), allowComments, allowSourceMaps);\n        }\n        return getExportName(node, allowComments, allowSourceMaps);\n      }\n      function copyPrologue(source, target, ensureUseStrict2, visitor) {\n        const offset = copyStandardPrologue(source, target, 0, ensureUseStrict2);\n        return copyCustomPrologue(source, target, offset, visitor);\n      }\n      function isUseStrictPrologue2(node) {\n        return isStringLiteral(node.expression) && node.expression.text === \"use strict\";\n      }\n      function createUseStrictPrologue() {\n        return startOnNewLine(createExpressionStatement(createStringLiteral(\"use strict\")));\n      }\n      function copyStandardPrologue(source, target, statementOffset = 0, ensureUseStrict2) {\n        Debug2.assert(target.length === 0, \"Prologue directives should be at the first statement in the target statements array\");\n        let foundUseStrict = false;\n        const numStatements = source.length;\n        while (statementOffset < numStatements) {\n          const statement = source[statementOffset];\n          if (isPrologueDirective(statement)) {\n            if (isUseStrictPrologue2(statement)) {\n              foundUseStrict = true;\n            }\n            target.push(statement);\n          } else {\n            break;\n          }\n          statementOffset++;\n        }\n        if (ensureUseStrict2 && !foundUseStrict) {\n          target.push(createUseStrictPrologue());\n        }\n        return statementOffset;\n      }\n      function copyCustomPrologue(source, target, statementOffset, visitor, filter2 = returnTrue) {\n        const numStatements = source.length;\n        while (statementOffset !== void 0 && statementOffset < numStatements) {\n          const statement = source[statementOffset];\n          if (getEmitFlags(statement) & 2097152 && filter2(statement)) {\n            append(target, visitor ? visitNode(statement, visitor, isStatement) : statement);\n          } else {\n            break;\n          }\n          statementOffset++;\n        }\n        return statementOffset;\n      }\n      function ensureUseStrict(statements) {\n        const foundUseStrict = findUseStrictPrologue(statements);\n        if (!foundUseStrict) {\n          return setTextRange(createNodeArray([createUseStrictPrologue(), ...statements]), statements);\n        }\n        return statements;\n      }\n      function liftToBlock(nodes) {\n        Debug2.assert(every(nodes, isStatementOrBlock), \"Cannot lift nodes to a Block.\");\n        return singleOrUndefined(nodes) || createBlock(nodes);\n      }\n      function findSpanEnd(array, test, start) {\n        let i = start;\n        while (i < array.length && test(array[i])) {\n          i++;\n        }\n        return i;\n      }\n      function mergeLexicalEnvironment(statements, declarations) {\n        if (!some(declarations)) {\n          return statements;\n        }\n        const leftStandardPrologueEnd = findSpanEnd(statements, isPrologueDirective, 0);\n        const leftHoistedFunctionsEnd = findSpanEnd(statements, isHoistedFunction, leftStandardPrologueEnd);\n        const leftHoistedVariablesEnd = findSpanEnd(statements, isHoistedVariableStatement, leftHoistedFunctionsEnd);\n        const rightStandardPrologueEnd = findSpanEnd(declarations, isPrologueDirective, 0);\n        const rightHoistedFunctionsEnd = findSpanEnd(declarations, isHoistedFunction, rightStandardPrologueEnd);\n        const rightHoistedVariablesEnd = findSpanEnd(declarations, isHoistedVariableStatement, rightHoistedFunctionsEnd);\n        const rightCustomPrologueEnd = findSpanEnd(declarations, isCustomPrologue, rightHoistedVariablesEnd);\n        Debug2.assert(rightCustomPrologueEnd === declarations.length, \"Expected declarations to be valid standard or custom prologues\");\n        const left = isNodeArray(statements) ? statements.slice() : statements;\n        if (rightCustomPrologueEnd > rightHoistedVariablesEnd) {\n          left.splice(leftHoistedVariablesEnd, 0, ...declarations.slice(rightHoistedVariablesEnd, rightCustomPrologueEnd));\n        }\n        if (rightHoistedVariablesEnd > rightHoistedFunctionsEnd) {\n          left.splice(leftHoistedFunctionsEnd, 0, ...declarations.slice(rightHoistedFunctionsEnd, rightHoistedVariablesEnd));\n        }\n        if (rightHoistedFunctionsEnd > rightStandardPrologueEnd) {\n          left.splice(leftStandardPrologueEnd, 0, ...declarations.slice(rightStandardPrologueEnd, rightHoistedFunctionsEnd));\n        }\n        if (rightStandardPrologueEnd > 0) {\n          if (leftStandardPrologueEnd === 0) {\n            left.splice(0, 0, ...declarations.slice(0, rightStandardPrologueEnd));\n          } else {\n            const leftPrologues = /* @__PURE__ */ new Map();\n            for (let i = 0; i < leftStandardPrologueEnd; i++) {\n              const leftPrologue = statements[i];\n              leftPrologues.set(leftPrologue.expression.text, true);\n            }\n            for (let i = rightStandardPrologueEnd - 1; i >= 0; i--) {\n              const rightPrologue = declarations[i];\n              if (!leftPrologues.has(rightPrologue.expression.text)) {\n                left.unshift(rightPrologue);\n              }\n            }\n          }\n        }\n        if (isNodeArray(statements)) {\n          return setTextRange(createNodeArray(left, statements.hasTrailingComma), statements);\n        }\n        return statements;\n      }\n      function updateModifiers(node, modifiers) {\n        var _a22;\n        let modifierArray;\n        if (typeof modifiers === \"number\") {\n          modifierArray = createModifiersFromModifierFlags(modifiers);\n        } else {\n          modifierArray = modifiers;\n        }\n        return isTypeParameterDeclaration(node) ? updateTypeParameterDeclaration(node, modifierArray, node.name, node.constraint, node.default) : isParameter(node) ? updateParameterDeclaration(node, modifierArray, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer) : isConstructorTypeNode(node) ? updateConstructorTypeNode1(node, modifierArray, node.typeParameters, node.parameters, node.type) : isPropertySignature(node) ? updatePropertySignature(node, modifierArray, node.name, node.questionToken, node.type) : isPropertyDeclaration(node) ? updatePropertyDeclaration2(node, modifierArray, node.name, (_a22 = node.questionToken) != null ? _a22 : node.exclamationToken, node.type, node.initializer) : isMethodSignature(node) ? updateMethodSignature(node, modifierArray, node.name, node.questionToken, node.typeParameters, node.parameters, node.type) : isMethodDeclaration(node) ? updateMethodDeclaration(node, modifierArray, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body) : isConstructorDeclaration(node) ? updateConstructorDeclaration(node, modifierArray, node.parameters, node.body) : isGetAccessorDeclaration(node) ? updateGetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.type, node.body) : isSetAccessorDeclaration(node) ? updateSetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.body) : isIndexSignatureDeclaration(node) ? updateIndexSignature(node, modifierArray, node.parameters, node.type) : isFunctionExpression(node) ? updateFunctionExpression(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isArrowFunction(node) ? updateArrowFunction(node, modifierArray, node.typeParameters, node.parameters, node.type, node.equalsGreaterThanToken, node.body) : isClassExpression(node) ? updateClassExpression(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isVariableStatement(node) ? updateVariableStatement(node, modifierArray, node.declarationList) : isFunctionDeclaration(node) ? updateFunctionDeclaration(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isClassDeclaration(node) ? updateClassDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isInterfaceDeclaration(node) ? updateInterfaceDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isTypeAliasDeclaration(node) ? updateTypeAliasDeclaration(node, modifierArray, node.name, node.typeParameters, node.type) : isEnumDeclaration(node) ? updateEnumDeclaration(node, modifierArray, node.name, node.members) : isModuleDeclaration(node) ? updateModuleDeclaration(node, modifierArray, node.name, node.body) : isImportEqualsDeclaration(node) ? updateImportEqualsDeclaration(node, modifierArray, node.isTypeOnly, node.name, node.moduleReference) : isImportDeclaration(node) ? updateImportDeclaration(node, modifierArray, node.importClause, node.moduleSpecifier, node.assertClause) : isExportAssignment(node) ? updateExportAssignment(node, modifierArray, node.expression) : isExportDeclaration(node) ? updateExportDeclaration(node, modifierArray, node.isTypeOnly, node.exportClause, node.moduleSpecifier, node.assertClause) : Debug2.assertNever(node);\n      }\n      function asNodeArray(array) {\n        return array ? createNodeArray(array) : void 0;\n      }\n      function asName(name) {\n        return typeof name === \"string\" ? createIdentifier(name) : name;\n      }\n      function asExpression(value) {\n        return typeof value === \"string\" ? createStringLiteral(value) : typeof value === \"number\" ? createNumericLiteral(value) : typeof value === \"boolean\" ? value ? createTrue() : createFalse() : value;\n      }\n      function asInitializer(node) {\n        return node && parenthesizerRules().parenthesizeExpressionForDisallowedComma(node);\n      }\n      function asToken(value) {\n        return typeof value === \"number\" ? createToken(value) : value;\n      }\n      function asEmbeddedStatement(statement) {\n        return statement && isNotEmittedStatement(statement) ? setTextRange(setOriginalNode(createEmptyStatement(), statement), statement) : statement;\n      }\n      function asVariableDeclaration(variableDeclaration) {\n        if (typeof variableDeclaration === \"string\" || variableDeclaration && !isVariableDeclaration(variableDeclaration)) {\n          return createVariableDeclaration(\n            variableDeclaration,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            /*initializer*/\n            void 0\n          );\n        }\n        return variableDeclaration;\n      }\n    }\n    function updateWithoutOriginal(updated, original) {\n      if (updated !== original) {\n        setTextRange(updated, original);\n      }\n      return updated;\n    }\n    function updateWithOriginal(updated, original) {\n      if (updated !== original) {\n        setOriginalNode(updated, original);\n        setTextRange(updated, original);\n      }\n      return updated;\n    }\n    function getDefaultTagNameForKind(kind) {\n      switch (kind) {\n        case 347:\n          return \"type\";\n        case 345:\n          return \"returns\";\n        case 346:\n          return \"this\";\n        case 343:\n          return \"enum\";\n        case 333:\n          return \"author\";\n        case 335:\n          return \"class\";\n        case 336:\n          return \"public\";\n        case 337:\n          return \"private\";\n        case 338:\n          return \"protected\";\n        case 339:\n          return \"readonly\";\n        case 340:\n          return \"override\";\n        case 348:\n          return \"template\";\n        case 349:\n          return \"typedef\";\n        case 344:\n          return \"param\";\n        case 351:\n          return \"prop\";\n        case 341:\n          return \"callback\";\n        case 342:\n          return \"overload\";\n        case 331:\n          return \"augments\";\n        case 332:\n          return \"implements\";\n        default:\n          return Debug2.fail(`Unsupported kind: ${Debug2.formatSyntaxKind(kind)}`);\n      }\n    }\n    function getCookedText(kind, rawText) {\n      if (!rawTextScanner) {\n        rawTextScanner = createScanner(\n          99,\n          /*skipTrivia*/\n          false,\n          0\n          /* Standard */\n        );\n      }\n      switch (kind) {\n        case 14:\n          rawTextScanner.setText(\"`\" + rawText + \"`\");\n          break;\n        case 15:\n          rawTextScanner.setText(\"`\" + rawText + \"${\");\n          break;\n        case 16:\n          rawTextScanner.setText(\"}\" + rawText + \"${\");\n          break;\n        case 17:\n          rawTextScanner.setText(\"}\" + rawText + \"`\");\n          break;\n      }\n      let token = rawTextScanner.scan();\n      if (token === 19) {\n        token = rawTextScanner.reScanTemplateToken(\n          /*isTaggedTemplate*/\n          false\n        );\n      }\n      if (rawTextScanner.isUnterminated()) {\n        rawTextScanner.setText(void 0);\n        return invalidValueSentinel;\n      }\n      let tokenValue;\n      switch (token) {\n        case 14:\n        case 15:\n        case 16:\n        case 17:\n          tokenValue = rawTextScanner.getTokenValue();\n          break;\n      }\n      if (tokenValue === void 0 || rawTextScanner.scan() !== 1) {\n        rawTextScanner.setText(void 0);\n        return invalidValueSentinel;\n      }\n      rawTextScanner.setText(void 0);\n      return tokenValue;\n    }\n    function propagateNameFlags(node) {\n      return node && isIdentifier(node) ? propagateIdentifierNameFlags(node) : propagateChildFlags(node);\n    }\n    function propagateIdentifierNameFlags(node) {\n      return propagateChildFlags(node) & ~67108864;\n    }\n    function propagatePropertyNameFlagsOfChild(node, transformFlags) {\n      return transformFlags | node.transformFlags & 134234112;\n    }\n    function propagateChildFlags(child) {\n      if (!child)\n        return 0;\n      const childFlags = child.transformFlags & ~getTransformFlagsSubtreeExclusions(child.kind);\n      return isNamedDeclaration(child) && isPropertyName(child.name) ? propagatePropertyNameFlagsOfChild(child.name, childFlags) : childFlags;\n    }\n    function propagateChildrenFlags(children) {\n      return children ? children.transformFlags : 0;\n    }\n    function aggregateChildrenFlags(children) {\n      let subtreeFlags = 0;\n      for (const child of children) {\n        subtreeFlags |= propagateChildFlags(child);\n      }\n      children.transformFlags = subtreeFlags;\n    }\n    function getTransformFlagsSubtreeExclusions(kind) {\n      if (kind >= 179 && kind <= 202) {\n        return -2;\n      }\n      switch (kind) {\n        case 210:\n        case 211:\n        case 206:\n          return -2147450880;\n        case 264:\n          return -1941676032;\n        case 166:\n          return -2147483648;\n        case 216:\n          return -2072174592;\n        case 215:\n        case 259:\n          return -1937940480;\n        case 258:\n          return -2146893824;\n        case 260:\n        case 228:\n          return -2147344384;\n        case 173:\n          return -1937948672;\n        case 169:\n          return -2013249536;\n        case 171:\n        case 174:\n        case 175:\n          return -2005057536;\n        case 131:\n        case 148:\n        case 160:\n        case 144:\n        case 152:\n        case 149:\n        case 134:\n        case 153:\n        case 114:\n        case 165:\n        case 168:\n        case 170:\n        case 176:\n        case 177:\n        case 178:\n        case 261:\n        case 262:\n          return -2;\n        case 207:\n          return -2147278848;\n        case 295:\n          return -2147418112;\n        case 203:\n        case 204:\n          return -2147450880;\n        case 213:\n        case 235:\n        case 231:\n        case 356:\n        case 214:\n        case 106:\n          return -2147483648;\n        case 208:\n        case 209:\n          return -2147483648;\n        default:\n          return -2147483648;\n      }\n    }\n    function makeSynthetic(node) {\n      node.flags |= 8;\n      return node;\n    }\n    function createUnparsedSourceFile(textOrInputFiles, mapPathOrType, mapTextOrStripInternal) {\n      let stripInternal;\n      let bundleFileInfo;\n      let fileName;\n      let text;\n      let length2;\n      let sourceMapPath;\n      let sourceMapText;\n      let getText;\n      let getSourceMapText;\n      let oldFileOfCurrentEmit;\n      if (!isString2(textOrInputFiles)) {\n        Debug2.assert(mapPathOrType === \"js\" || mapPathOrType === \"dts\");\n        fileName = (mapPathOrType === \"js\" ? textOrInputFiles.javascriptPath : textOrInputFiles.declarationPath) || \"\";\n        sourceMapPath = mapPathOrType === \"js\" ? textOrInputFiles.javascriptMapPath : textOrInputFiles.declarationMapPath;\n        getText = () => mapPathOrType === \"js\" ? textOrInputFiles.javascriptText : textOrInputFiles.declarationText;\n        getSourceMapText = () => mapPathOrType === \"js\" ? textOrInputFiles.javascriptMapText : textOrInputFiles.declarationMapText;\n        length2 = () => getText().length;\n        if (textOrInputFiles.buildInfo && textOrInputFiles.buildInfo.bundle) {\n          Debug2.assert(mapTextOrStripInternal === void 0 || typeof mapTextOrStripInternal === \"boolean\");\n          stripInternal = mapTextOrStripInternal;\n          bundleFileInfo = mapPathOrType === \"js\" ? textOrInputFiles.buildInfo.bundle.js : textOrInputFiles.buildInfo.bundle.dts;\n          oldFileOfCurrentEmit = textOrInputFiles.oldFileOfCurrentEmit;\n        }\n      } else {\n        fileName = \"\";\n        text = textOrInputFiles;\n        length2 = textOrInputFiles.length;\n        sourceMapPath = mapPathOrType;\n        sourceMapText = mapTextOrStripInternal;\n      }\n      const node = oldFileOfCurrentEmit ? parseOldFileOfCurrentEmit(Debug2.checkDefined(bundleFileInfo)) : parseUnparsedSourceFile(bundleFileInfo, stripInternal, length2);\n      node.fileName = fileName;\n      node.sourceMapPath = sourceMapPath;\n      node.oldFileOfCurrentEmit = oldFileOfCurrentEmit;\n      if (getText && getSourceMapText) {\n        Object.defineProperty(node, \"text\", { get: getText });\n        Object.defineProperty(node, \"sourceMapText\", { get: getSourceMapText });\n      } else {\n        Debug2.assert(!oldFileOfCurrentEmit);\n        node.text = text != null ? text : \"\";\n        node.sourceMapText = sourceMapText;\n      }\n      return node;\n    }\n    function parseUnparsedSourceFile(bundleFileInfo, stripInternal, length2) {\n      let prologues;\n      let helpers;\n      let referencedFiles;\n      let typeReferenceDirectives;\n      let libReferenceDirectives;\n      let prependChildren;\n      let texts;\n      let hasNoDefaultLib;\n      for (const section of bundleFileInfo ? bundleFileInfo.sections : emptyArray) {\n        switch (section.kind) {\n          case \"prologue\":\n            prologues = append(prologues, setTextRange(factory.createUnparsedPrologue(section.data), section));\n            break;\n          case \"emitHelpers\":\n            helpers = append(helpers, getAllUnscopedEmitHelpers().get(section.data));\n            break;\n          case \"no-default-lib\":\n            hasNoDefaultLib = true;\n            break;\n          case \"reference\":\n            referencedFiles = append(referencedFiles, { pos: -1, end: -1, fileName: section.data });\n            break;\n          case \"type\":\n            typeReferenceDirectives = append(typeReferenceDirectives, { pos: -1, end: -1, fileName: section.data });\n            break;\n          case \"type-import\":\n            typeReferenceDirectives = append(typeReferenceDirectives, {\n              pos: -1,\n              end: -1,\n              fileName: section.data,\n              resolutionMode: 99\n              /* ESNext */\n            });\n            break;\n          case \"type-require\":\n            typeReferenceDirectives = append(typeReferenceDirectives, {\n              pos: -1,\n              end: -1,\n              fileName: section.data,\n              resolutionMode: 1\n              /* CommonJS */\n            });\n            break;\n          case \"lib\":\n            libReferenceDirectives = append(libReferenceDirectives, { pos: -1, end: -1, fileName: section.data });\n            break;\n          case \"prepend\":\n            let prependTexts;\n            for (const text of section.texts) {\n              if (!stripInternal || text.kind !== \"internal\") {\n                prependTexts = append(prependTexts, setTextRange(factory.createUnparsedTextLike(\n                  text.data,\n                  text.kind === \"internal\"\n                  /* Internal */\n                ), text));\n              }\n            }\n            prependChildren = addRange(prependChildren, prependTexts);\n            texts = append(texts, factory.createUnparsedPrepend(section.data, prependTexts != null ? prependTexts : emptyArray));\n            break;\n          case \"internal\":\n            if (stripInternal) {\n              if (!texts)\n                texts = [];\n              break;\n            }\n          case \"text\":\n            texts = append(texts, setTextRange(factory.createUnparsedTextLike(\n              section.data,\n              section.kind === \"internal\"\n              /* Internal */\n            ), section));\n            break;\n          default:\n            Debug2.assertNever(section);\n        }\n      }\n      if (!texts) {\n        const textNode = factory.createUnparsedTextLike(\n          /*data*/\n          void 0,\n          /*internal*/\n          false\n        );\n        setTextRangePosWidth(textNode, 0, typeof length2 === \"function\" ? length2() : length2);\n        texts = [textNode];\n      }\n      const node = parseNodeFactory.createUnparsedSource(\n        prologues != null ? prologues : emptyArray,\n        /*syntheticReferences*/\n        void 0,\n        texts\n      );\n      setEachParent(prologues, node);\n      setEachParent(texts, node);\n      setEachParent(prependChildren, node);\n      node.hasNoDefaultLib = hasNoDefaultLib;\n      node.helpers = helpers;\n      node.referencedFiles = referencedFiles || emptyArray;\n      node.typeReferenceDirectives = typeReferenceDirectives;\n      node.libReferenceDirectives = libReferenceDirectives || emptyArray;\n      return node;\n    }\n    function parseOldFileOfCurrentEmit(bundleFileInfo) {\n      let texts;\n      let syntheticReferences;\n      for (const section of bundleFileInfo.sections) {\n        switch (section.kind) {\n          case \"internal\":\n          case \"text\":\n            texts = append(texts, setTextRange(factory.createUnparsedTextLike(\n              section.data,\n              section.kind === \"internal\"\n              /* Internal */\n            ), section));\n            break;\n          case \"no-default-lib\":\n          case \"reference\":\n          case \"type\":\n          case \"type-import\":\n          case \"type-require\":\n          case \"lib\":\n            syntheticReferences = append(syntheticReferences, setTextRange(factory.createUnparsedSyntheticReference(section), section));\n            break;\n          case \"prologue\":\n          case \"emitHelpers\":\n          case \"prepend\":\n            break;\n          default:\n            Debug2.assertNever(section);\n        }\n      }\n      const node = factory.createUnparsedSource(emptyArray, syntheticReferences, texts != null ? texts : emptyArray);\n      setEachParent(syntheticReferences, node);\n      setEachParent(texts, node);\n      node.helpers = map(bundleFileInfo.sources && bundleFileInfo.sources.helpers, (name) => getAllUnscopedEmitHelpers().get(name));\n      return node;\n    }\n    function createInputFiles(javascriptTextOrReadFileText, declarationTextOrJavascriptPath, javascriptMapPath, javascriptMapTextOrDeclarationPath, declarationMapPath, declarationMapTextOrBuildInfoPath) {\n      return !isString2(javascriptTextOrReadFileText) ? createInputFilesWithFilePaths(\n        javascriptTextOrReadFileText,\n        declarationTextOrJavascriptPath,\n        javascriptMapPath,\n        javascriptMapTextOrDeclarationPath,\n        declarationMapPath,\n        declarationMapTextOrBuildInfoPath\n      ) : createInputFilesWithFileTexts(\n        /*javascriptPath*/\n        void 0,\n        javascriptTextOrReadFileText,\n        javascriptMapPath,\n        javascriptMapTextOrDeclarationPath,\n        /*declarationPath*/\n        void 0,\n        declarationTextOrJavascriptPath,\n        declarationMapPath,\n        declarationMapTextOrBuildInfoPath\n      );\n    }\n    function createInputFilesWithFilePaths(readFileText, javascriptPath, javascriptMapPath, declarationPath, declarationMapPath, buildInfoPath, host, options) {\n      const node = parseNodeFactory.createInputFiles();\n      node.javascriptPath = javascriptPath;\n      node.javascriptMapPath = javascriptMapPath;\n      node.declarationPath = declarationPath;\n      node.declarationMapPath = declarationMapPath;\n      node.buildInfoPath = buildInfoPath;\n      const cache = /* @__PURE__ */ new Map();\n      const textGetter = (path) => {\n        if (path === void 0)\n          return void 0;\n        let value = cache.get(path);\n        if (value === void 0) {\n          value = readFileText(path);\n          cache.set(path, value !== void 0 ? value : false);\n        }\n        return value !== false ? value : void 0;\n      };\n      const definedTextGetter = (path) => {\n        const result = textGetter(path);\n        return result !== void 0 ? result : `/* Input file ${path} was missing */\\r\n`;\n      };\n      let buildInfo;\n      const getAndCacheBuildInfo = () => {\n        var _a22, _b3;\n        if (buildInfo === void 0 && buildInfoPath) {\n          if (host == null ? void 0 : host.getBuildInfo) {\n            buildInfo = (_a22 = host.getBuildInfo(buildInfoPath, options.configFilePath)) != null ? _a22 : false;\n          } else {\n            const result = textGetter(buildInfoPath);\n            buildInfo = result !== void 0 ? (_b3 = getBuildInfo(buildInfoPath, result)) != null ? _b3 : false : false;\n          }\n        }\n        return buildInfo || void 0;\n      };\n      Object.defineProperties(node, {\n        javascriptText: { get: () => definedTextGetter(javascriptPath) },\n        javascriptMapText: { get: () => textGetter(javascriptMapPath) },\n        // TODO:: if there is inline sourceMap in jsFile, use that\n        declarationText: { get: () => definedTextGetter(Debug2.checkDefined(declarationPath)) },\n        declarationMapText: { get: () => textGetter(declarationMapPath) },\n        // TODO:: if there is inline sourceMap in dtsFile, use that\n        buildInfo: { get: getAndCacheBuildInfo }\n      });\n      return node;\n    }\n    function createInputFilesWithFileTexts(javascriptPath, javascriptText, javascriptMapPath, javascriptMapText, declarationPath, declarationText, declarationMapPath, declarationMapText, buildInfoPath, buildInfo, oldFileOfCurrentEmit) {\n      const node = parseNodeFactory.createInputFiles();\n      node.javascriptPath = javascriptPath;\n      node.javascriptText = javascriptText;\n      node.javascriptMapPath = javascriptMapPath;\n      node.javascriptMapText = javascriptMapText;\n      node.declarationPath = declarationPath;\n      node.declarationText = declarationText;\n      node.declarationMapPath = declarationMapPath;\n      node.declarationMapText = declarationMapText;\n      node.buildInfoPath = buildInfoPath;\n      node.buildInfo = buildInfo;\n      node.oldFileOfCurrentEmit = oldFileOfCurrentEmit;\n      return node;\n    }\n    function createSourceMapSource(fileName, text, skipTrivia2) {\n      return new (SourceMapSource2 || (SourceMapSource2 = objectAllocator.getSourceMapSourceConstructor()))(fileName, text, skipTrivia2);\n    }\n    function setOriginalNode(node, original) {\n      node.original = original;\n      if (original) {\n        const emitNode = original.emitNode;\n        if (emitNode)\n          node.emitNode = mergeEmitNode(emitNode, node.emitNode);\n      }\n      return node;\n    }\n    function mergeEmitNode(sourceEmitNode, destEmitNode) {\n      const {\n        flags,\n        internalFlags,\n        leadingComments,\n        trailingComments,\n        commentRange,\n        sourceMapRange,\n        tokenSourceMapRanges,\n        constantValue,\n        helpers,\n        startsOnNewLine,\n        snippetElement\n      } = sourceEmitNode;\n      if (!destEmitNode)\n        destEmitNode = {};\n      if (leadingComments)\n        destEmitNode.leadingComments = addRange(leadingComments.slice(), destEmitNode.leadingComments);\n      if (trailingComments)\n        destEmitNode.trailingComments = addRange(trailingComments.slice(), destEmitNode.trailingComments);\n      if (flags)\n        destEmitNode.flags = flags;\n      if (internalFlags)\n        destEmitNode.internalFlags = internalFlags & ~8;\n      if (commentRange)\n        destEmitNode.commentRange = commentRange;\n      if (sourceMapRange)\n        destEmitNode.sourceMapRange = sourceMapRange;\n      if (tokenSourceMapRanges)\n        destEmitNode.tokenSourceMapRanges = mergeTokenSourceMapRanges(tokenSourceMapRanges, destEmitNode.tokenSourceMapRanges);\n      if (constantValue !== void 0)\n        destEmitNode.constantValue = constantValue;\n      if (helpers) {\n        for (const helper of helpers) {\n          destEmitNode.helpers = appendIfUnique(destEmitNode.helpers, helper);\n        }\n      }\n      if (startsOnNewLine !== void 0)\n        destEmitNode.startsOnNewLine = startsOnNewLine;\n      if (snippetElement !== void 0)\n        destEmitNode.snippetElement = snippetElement;\n      return destEmitNode;\n    }\n    function mergeTokenSourceMapRanges(sourceRanges, destRanges) {\n      if (!destRanges)\n        destRanges = [];\n      for (const key in sourceRanges) {\n        destRanges[key] = sourceRanges[key];\n      }\n      return destRanges;\n    }\n    var nextAutoGenerateId, NodeFactoryFlags, nodeFactoryPatchers, rawTextScanner, invalidValueSentinel, baseFactory, syntheticFactory, factory, SourceMapSource2;\n    var init_nodeFactory = __esm({\n      \"src/compiler/factory/nodeFactory.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nextAutoGenerateId = 0;\n        NodeFactoryFlags = /* @__PURE__ */ ((NodeFactoryFlags2) => {\n          NodeFactoryFlags2[NodeFactoryFlags2[\"None\"] = 0] = \"None\";\n          NodeFactoryFlags2[NodeFactoryFlags2[\"NoParenthesizerRules\"] = 1] = \"NoParenthesizerRules\";\n          NodeFactoryFlags2[NodeFactoryFlags2[\"NoNodeConverters\"] = 2] = \"NoNodeConverters\";\n          NodeFactoryFlags2[NodeFactoryFlags2[\"NoIndentationOnFreshPropertyAccess\"] = 4] = \"NoIndentationOnFreshPropertyAccess\";\n          NodeFactoryFlags2[NodeFactoryFlags2[\"NoOriginalNode\"] = 8] = \"NoOriginalNode\";\n          return NodeFactoryFlags2;\n        })(NodeFactoryFlags || {});\n        nodeFactoryPatchers = [];\n        invalidValueSentinel = {};\n        baseFactory = createBaseNodeFactory();\n        syntheticFactory = {\n          createBaseSourceFileNode: (kind) => makeSynthetic(baseFactory.createBaseSourceFileNode(kind)),\n          createBaseIdentifierNode: (kind) => makeSynthetic(baseFactory.createBaseIdentifierNode(kind)),\n          createBasePrivateIdentifierNode: (kind) => makeSynthetic(baseFactory.createBasePrivateIdentifierNode(kind)),\n          createBaseTokenNode: (kind) => makeSynthetic(baseFactory.createBaseTokenNode(kind)),\n          createBaseNode: (kind) => makeSynthetic(baseFactory.createBaseNode(kind))\n        };\n        factory = createNodeFactory(4, syntheticFactory);\n      }\n    });\n    function getOrCreateEmitNode(node) {\n      var _a22;\n      if (!node.emitNode) {\n        if (isParseTreeNode(node)) {\n          if (node.kind === 308) {\n            return node.emitNode = { annotatedNodes: [node] };\n          }\n          const sourceFile = (_a22 = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node)))) != null ? _a22 : Debug2.fail(\"Could not determine parsed source file.\");\n          getOrCreateEmitNode(sourceFile).annotatedNodes.push(node);\n        }\n        node.emitNode = {};\n      } else {\n        Debug2.assert(!(node.emitNode.internalFlags & 8), \"Invalid attempt to mutate an immutable node.\");\n      }\n      return node.emitNode;\n    }\n    function disposeEmitNodes(sourceFile) {\n      var _a22, _b3;\n      const annotatedNodes = (_b3 = (_a22 = getSourceFileOfNode(getParseTreeNode(sourceFile))) == null ? void 0 : _a22.emitNode) == null ? void 0 : _b3.annotatedNodes;\n      if (annotatedNodes) {\n        for (const node of annotatedNodes) {\n          node.emitNode = void 0;\n        }\n      }\n    }\n    function removeAllComments(node) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.flags |= 3072;\n      emitNode.leadingComments = void 0;\n      emitNode.trailingComments = void 0;\n      return node;\n    }\n    function setEmitFlags(node, emitFlags) {\n      getOrCreateEmitNode(node).flags = emitFlags;\n      return node;\n    }\n    function addEmitFlags(node, emitFlags) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.flags = emitNode.flags | emitFlags;\n      return node;\n    }\n    function setInternalEmitFlags(node, emitFlags) {\n      getOrCreateEmitNode(node).internalFlags = emitFlags;\n      return node;\n    }\n    function addInternalEmitFlags(node, emitFlags) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.internalFlags = emitNode.internalFlags | emitFlags;\n      return node;\n    }\n    function getSourceMapRange(node) {\n      var _a22, _b3;\n      return (_b3 = (_a22 = node.emitNode) == null ? void 0 : _a22.sourceMapRange) != null ? _b3 : node;\n    }\n    function setSourceMapRange(node, range) {\n      getOrCreateEmitNode(node).sourceMapRange = range;\n      return node;\n    }\n    function getTokenSourceMapRange(node, token) {\n      var _a22, _b3;\n      return (_b3 = (_a22 = node.emitNode) == null ? void 0 : _a22.tokenSourceMapRanges) == null ? void 0 : _b3[token];\n    }\n    function setTokenSourceMapRange(node, token, range) {\n      var _a22;\n      const emitNode = getOrCreateEmitNode(node);\n      const tokenSourceMapRanges = (_a22 = emitNode.tokenSourceMapRanges) != null ? _a22 : emitNode.tokenSourceMapRanges = [];\n      tokenSourceMapRanges[token] = range;\n      return node;\n    }\n    function getStartsOnNewLine(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.startsOnNewLine;\n    }\n    function setStartsOnNewLine(node, newLine) {\n      getOrCreateEmitNode(node).startsOnNewLine = newLine;\n      return node;\n    }\n    function getCommentRange(node) {\n      var _a22, _b3;\n      return (_b3 = (_a22 = node.emitNode) == null ? void 0 : _a22.commentRange) != null ? _b3 : node;\n    }\n    function setCommentRange(node, range) {\n      getOrCreateEmitNode(node).commentRange = range;\n      return node;\n    }\n    function getSyntheticLeadingComments(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.leadingComments;\n    }\n    function setSyntheticLeadingComments(node, comments) {\n      getOrCreateEmitNode(node).leadingComments = comments;\n      return node;\n    }\n    function addSyntheticLeadingComment(node, kind, text, hasTrailingNewLine) {\n      return setSyntheticLeadingComments(node, append(getSyntheticLeadingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text }));\n    }\n    function getSyntheticTrailingComments(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.trailingComments;\n    }\n    function setSyntheticTrailingComments(node, comments) {\n      getOrCreateEmitNode(node).trailingComments = comments;\n      return node;\n    }\n    function addSyntheticTrailingComment(node, kind, text, hasTrailingNewLine) {\n      return setSyntheticTrailingComments(node, append(getSyntheticTrailingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text }));\n    }\n    function moveSyntheticComments(node, original) {\n      setSyntheticLeadingComments(node, getSyntheticLeadingComments(original));\n      setSyntheticTrailingComments(node, getSyntheticTrailingComments(original));\n      const emit = getOrCreateEmitNode(original);\n      emit.leadingComments = void 0;\n      emit.trailingComments = void 0;\n      return node;\n    }\n    function getConstantValue(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.constantValue;\n    }\n    function setConstantValue(node, value) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.constantValue = value;\n      return node;\n    }\n    function addEmitHelper(node, helper) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.helpers = append(emitNode.helpers, helper);\n      return node;\n    }\n    function addEmitHelpers(node, helpers) {\n      if (some(helpers)) {\n        const emitNode = getOrCreateEmitNode(node);\n        for (const helper of helpers) {\n          emitNode.helpers = appendIfUnique(emitNode.helpers, helper);\n        }\n      }\n      return node;\n    }\n    function removeEmitHelper(node, helper) {\n      var _a22;\n      const helpers = (_a22 = node.emitNode) == null ? void 0 : _a22.helpers;\n      if (helpers) {\n        return orderedRemoveItem(helpers, helper);\n      }\n      return false;\n    }\n    function getEmitHelpers(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.helpers;\n    }\n    function moveEmitHelpers(source, target, predicate) {\n      const sourceEmitNode = source.emitNode;\n      const sourceEmitHelpers = sourceEmitNode && sourceEmitNode.helpers;\n      if (!some(sourceEmitHelpers))\n        return;\n      const targetEmitNode = getOrCreateEmitNode(target);\n      let helpersRemoved = 0;\n      for (let i = 0; i < sourceEmitHelpers.length; i++) {\n        const helper = sourceEmitHelpers[i];\n        if (predicate(helper)) {\n          helpersRemoved++;\n          targetEmitNode.helpers = appendIfUnique(targetEmitNode.helpers, helper);\n        } else if (helpersRemoved > 0) {\n          sourceEmitHelpers[i - helpersRemoved] = helper;\n        }\n      }\n      if (helpersRemoved > 0) {\n        sourceEmitHelpers.length -= helpersRemoved;\n      }\n    }\n    function getSnippetElement(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.snippetElement;\n    }\n    function setSnippetElement(node, snippet) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.snippetElement = snippet;\n      return node;\n    }\n    function ignoreSourceNewlines(node) {\n      getOrCreateEmitNode(node).internalFlags |= 4;\n      return node;\n    }\n    function setTypeNode(node, type) {\n      const emitNode = getOrCreateEmitNode(node);\n      emitNode.typeNode = type;\n      return node;\n    }\n    function getTypeNode(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.typeNode;\n    }\n    function setIdentifierTypeArguments(node, typeArguments) {\n      getOrCreateEmitNode(node).identifierTypeArguments = typeArguments;\n      return node;\n    }\n    function getIdentifierTypeArguments(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.identifierTypeArguments;\n    }\n    function setIdentifierAutoGenerate(node, autoGenerate) {\n      getOrCreateEmitNode(node).autoGenerate = autoGenerate;\n      return node;\n    }\n    function getIdentifierAutoGenerate(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.autoGenerate;\n    }\n    function setIdentifierGeneratedImportReference(node, value) {\n      getOrCreateEmitNode(node).generatedImportReference = value;\n      return node;\n    }\n    function getIdentifierGeneratedImportReference(node) {\n      var _a22;\n      return (_a22 = node.emitNode) == null ? void 0 : _a22.generatedImportReference;\n    }\n    var init_emitNode = __esm({\n      \"src/compiler/factory/emitNode.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function createEmitHelperFactory(context) {\n      const factory2 = context.factory;\n      const immutableTrue = memoize(() => setInternalEmitFlags(\n        factory2.createTrue(),\n        8\n        /* Immutable */\n      ));\n      const immutableFalse = memoize(() => setInternalEmitFlags(\n        factory2.createFalse(),\n        8\n        /* Immutable */\n      ));\n      return {\n        getUnscopedHelperName,\n        // TypeScript Helpers\n        createDecorateHelper,\n        createMetadataHelper,\n        createParamHelper,\n        // ES Decorators Helpers\n        createESDecorateHelper,\n        createRunInitializersHelper,\n        // ES2018 Helpers\n        createAssignHelper,\n        createAwaitHelper,\n        createAsyncGeneratorHelper,\n        createAsyncDelegatorHelper,\n        createAsyncValuesHelper,\n        // ES2018 Destructuring Helpers\n        createRestHelper,\n        // ES2017 Helpers\n        createAwaiterHelper,\n        // ES2015 Helpers\n        createExtendsHelper,\n        createTemplateObjectHelper,\n        createSpreadArrayHelper,\n        createPropKeyHelper,\n        createSetFunctionNameHelper,\n        // ES2015 Destructuring Helpers\n        createValuesHelper,\n        createReadHelper,\n        // ES2015 Generator Helpers\n        createGeneratorHelper,\n        // ES Module Helpers\n        createCreateBindingHelper,\n        createImportStarHelper,\n        createImportStarCallbackHelper,\n        createImportDefaultHelper,\n        createExportStarHelper,\n        // Class Fields Helpers\n        createClassPrivateFieldGetHelper,\n        createClassPrivateFieldSetHelper,\n        createClassPrivateFieldInHelper\n      };\n      function getUnscopedHelperName(name) {\n        return setEmitFlags(\n          factory2.createIdentifier(name),\n          8192 | 4\n          /* AdviseOnEmitNode */\n        );\n      }\n      function createDecorateHelper(decoratorExpressions, target, memberName, descriptor) {\n        context.requestEmitHelper(decorateHelper);\n        const argumentsArray = [];\n        argumentsArray.push(factory2.createArrayLiteralExpression(\n          decoratorExpressions,\n          /*multiLine*/\n          true\n        ));\n        argumentsArray.push(target);\n        if (memberName) {\n          argumentsArray.push(memberName);\n          if (descriptor) {\n            argumentsArray.push(descriptor);\n          }\n        }\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__decorate\"),\n          /*typeArguments*/\n          void 0,\n          argumentsArray\n        );\n      }\n      function createMetadataHelper(metadataKey, metadataValue) {\n        context.requestEmitHelper(metadataHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__metadata\"),\n          /*typeArguments*/\n          void 0,\n          [\n            factory2.createStringLiteral(metadataKey),\n            metadataValue\n          ]\n        );\n      }\n      function createParamHelper(expression, parameterOffset, location) {\n        context.requestEmitHelper(paramHelper);\n        return setTextRange(\n          factory2.createCallExpression(\n            getUnscopedHelperName(\"__param\"),\n            /*typeArguments*/\n            void 0,\n            [\n              factory2.createNumericLiteral(parameterOffset + \"\"),\n              expression\n            ]\n          ),\n          location\n        );\n      }\n      function createESDecorateClassContextObject(contextIn) {\n        return factory2.createObjectLiteralExpression([\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"kind\"), factory2.createStringLiteral(\"class\")),\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"name\"), contextIn.name)\n        ]);\n      }\n      function createESDecorateClassElementAccessGetMethod(elementName) {\n        const accessor = elementName.computed ? factory2.createElementAccessExpression(factory2.createIdentifier(\"obj\"), elementName.name) : factory2.createPropertyAccessExpression(factory2.createIdentifier(\"obj\"), elementName.name);\n        return factory2.createPropertyAssignment(\n          \"get\",\n          factory2.createArrowFunction(\n            /*modifiers*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            [factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              factory2.createIdentifier(\"obj\")\n            )],\n            /*type*/\n            void 0,\n            /*equalsGreaterThanToken*/\n            void 0,\n            accessor\n          )\n        );\n      }\n      function createESDecorateClassElementAccessSetMethod(elementName) {\n        const accessor = elementName.computed ? factory2.createElementAccessExpression(factory2.createIdentifier(\"obj\"), elementName.name) : factory2.createPropertyAccessExpression(factory2.createIdentifier(\"obj\"), elementName.name);\n        return factory2.createPropertyAssignment(\n          \"set\",\n          factory2.createArrowFunction(\n            /*modifiers*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            [\n              factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                factory2.createIdentifier(\"obj\")\n              ),\n              factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                factory2.createIdentifier(\"value\")\n              )\n            ],\n            /*type*/\n            void 0,\n            /*equalsGreaterThanToken*/\n            void 0,\n            factory2.createBlock([\n              factory2.createExpressionStatement(\n                factory2.createAssignment(\n                  accessor,\n                  factory2.createIdentifier(\"value\")\n                )\n              )\n            ])\n          )\n        );\n      }\n      function createESDecorateClassElementAccessHasMethod(elementName) {\n        const propertyName = elementName.computed ? elementName.name : isIdentifier(elementName.name) ? factory2.createStringLiteralFromNode(elementName.name) : elementName.name;\n        return factory2.createPropertyAssignment(\n          \"has\",\n          factory2.createArrowFunction(\n            /*modifiers*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            [factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              factory2.createIdentifier(\"obj\")\n            )],\n            /*type*/\n            void 0,\n            /*equalsGreaterThanToken*/\n            void 0,\n            factory2.createBinaryExpression(\n              propertyName,\n              101,\n              factory2.createIdentifier(\"obj\")\n            )\n          )\n        );\n      }\n      function createESDecorateClassElementAccessObject(name, access) {\n        const properties = [];\n        properties.push(createESDecorateClassElementAccessHasMethod(name));\n        if (access.get)\n          properties.push(createESDecorateClassElementAccessGetMethod(name));\n        if (access.set)\n          properties.push(createESDecorateClassElementAccessSetMethod(name));\n        return factory2.createObjectLiteralExpression(properties);\n      }\n      function createESDecorateClassElementContextObject(contextIn) {\n        return factory2.createObjectLiteralExpression([\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"kind\"), factory2.createStringLiteral(contextIn.kind)),\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"name\"), contextIn.name.computed ? contextIn.name.name : factory2.createStringLiteralFromNode(contextIn.name.name)),\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"static\"), contextIn.static ? factory2.createTrue() : factory2.createFalse()),\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"private\"), contextIn.private ? factory2.createTrue() : factory2.createFalse()),\n          factory2.createPropertyAssignment(factory2.createIdentifier(\"access\"), createESDecorateClassElementAccessObject(contextIn.name, contextIn.access))\n        ]);\n      }\n      function createESDecorateContextObject(contextIn) {\n        return contextIn.kind === \"class\" ? createESDecorateClassContextObject(contextIn) : createESDecorateClassElementContextObject(contextIn);\n      }\n      function createESDecorateHelper(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n        context.requestEmitHelper(esDecorateHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__esDecorate\"),\n          /*typeArguments*/\n          void 0,\n          [\n            ctor != null ? ctor : factory2.createNull(),\n            descriptorIn != null ? descriptorIn : factory2.createNull(),\n            decorators,\n            createESDecorateContextObject(contextIn),\n            initializers,\n            extraInitializers\n          ]\n        );\n      }\n      function createRunInitializersHelper(thisArg, initializers, value) {\n        context.requestEmitHelper(runInitializersHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__runInitializers\"),\n          /*typeArguments*/\n          void 0,\n          value ? [thisArg, initializers, value] : [thisArg, initializers]\n        );\n      }\n      function createAssignHelper(attributesSegments) {\n        if (getEmitScriptTarget(context.getCompilerOptions()) >= 2) {\n          return factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Object\"), \"assign\"),\n            /*typeArguments*/\n            void 0,\n            attributesSegments\n          );\n        }\n        context.requestEmitHelper(assignHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__assign\"),\n          /*typeArguments*/\n          void 0,\n          attributesSegments\n        );\n      }\n      function createAwaitHelper(expression) {\n        context.requestEmitHelper(awaitHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__await\"),\n          /*typeArguments*/\n          void 0,\n          [expression]\n        );\n      }\n      function createAsyncGeneratorHelper(generatorFunc, hasLexicalThis) {\n        context.requestEmitHelper(awaitHelper);\n        context.requestEmitHelper(asyncGeneratorHelper);\n        (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 524288 | 1048576;\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__asyncGenerator\"),\n          /*typeArguments*/\n          void 0,\n          [\n            hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(),\n            factory2.createIdentifier(\"arguments\"),\n            generatorFunc\n          ]\n        );\n      }\n      function createAsyncDelegatorHelper(expression) {\n        context.requestEmitHelper(awaitHelper);\n        context.requestEmitHelper(asyncDelegator);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__asyncDelegator\"),\n          /*typeArguments*/\n          void 0,\n          [expression]\n        );\n      }\n      function createAsyncValuesHelper(expression) {\n        context.requestEmitHelper(asyncValues);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__asyncValues\"),\n          /*typeArguments*/\n          void 0,\n          [expression]\n        );\n      }\n      function createRestHelper(value, elements, computedTempVariables, location) {\n        context.requestEmitHelper(restHelper);\n        const propertyNames = [];\n        let computedTempVariableOffset = 0;\n        for (let i = 0; i < elements.length - 1; i++) {\n          const propertyName = getPropertyNameOfBindingOrAssignmentElement(elements[i]);\n          if (propertyName) {\n            if (isComputedPropertyName(propertyName)) {\n              Debug2.assertIsDefined(computedTempVariables, \"Encountered computed property name but 'computedTempVariables' argument was not provided.\");\n              const temp = computedTempVariables[computedTempVariableOffset];\n              computedTempVariableOffset++;\n              propertyNames.push(\n                factory2.createConditionalExpression(\n                  factory2.createTypeCheck(temp, \"symbol\"),\n                  /*questionToken*/\n                  void 0,\n                  temp,\n                  /*colonToken*/\n                  void 0,\n                  factory2.createAdd(temp, factory2.createStringLiteral(\"\"))\n                )\n              );\n            } else {\n              propertyNames.push(factory2.createStringLiteralFromNode(propertyName));\n            }\n          }\n        }\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__rest\"),\n          /*typeArguments*/\n          void 0,\n          [\n            value,\n            setTextRange(\n              factory2.createArrayLiteralExpression(propertyNames),\n              location\n            )\n          ]\n        );\n      }\n      function createAwaiterHelper(hasLexicalThis, hasLexicalArguments, promiseConstructor, body) {\n        context.requestEmitHelper(awaiterHelper);\n        const generatorFunc = factory2.createFunctionExpression(\n          /*modifiers*/\n          void 0,\n          factory2.createToken(\n            41\n            /* AsteriskToken */\n          ),\n          /*name*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          /*parameters*/\n          [],\n          /*type*/\n          void 0,\n          body\n        );\n        (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 524288 | 1048576;\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__awaiter\"),\n          /*typeArguments*/\n          void 0,\n          [\n            hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(),\n            hasLexicalArguments ? factory2.createIdentifier(\"arguments\") : factory2.createVoidZero(),\n            promiseConstructor ? createExpressionFromEntityName(factory2, promiseConstructor) : factory2.createVoidZero(),\n            generatorFunc\n          ]\n        );\n      }\n      function createExtendsHelper(name) {\n        context.requestEmitHelper(extendsHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__extends\"),\n          /*typeArguments*/\n          void 0,\n          [name, factory2.createUniqueName(\n            \"_super\",\n            16 | 32\n            /* FileLevel */\n          )]\n        );\n      }\n      function createTemplateObjectHelper(cooked, raw) {\n        context.requestEmitHelper(templateObjectHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__makeTemplateObject\"),\n          /*typeArguments*/\n          void 0,\n          [cooked, raw]\n        );\n      }\n      function createSpreadArrayHelper(to, from, packFrom) {\n        context.requestEmitHelper(spreadArrayHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__spreadArray\"),\n          /*typeArguments*/\n          void 0,\n          [to, from, packFrom ? immutableTrue() : immutableFalse()]\n        );\n      }\n      function createPropKeyHelper(expr) {\n        context.requestEmitHelper(propKeyHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__propKey\"),\n          /*typeArguments*/\n          void 0,\n          [expr]\n        );\n      }\n      function createSetFunctionNameHelper(f, name, prefix) {\n        context.requestEmitHelper(setFunctionNameHelper);\n        return context.factory.createCallExpression(\n          getUnscopedHelperName(\"__setFunctionName\"),\n          /*typeArguments*/\n          void 0,\n          prefix ? [f, name, context.factory.createStringLiteral(prefix)] : [f, name]\n        );\n      }\n      function createValuesHelper(expression) {\n        context.requestEmitHelper(valuesHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__values\"),\n          /*typeArguments*/\n          void 0,\n          [expression]\n        );\n      }\n      function createReadHelper(iteratorRecord, count) {\n        context.requestEmitHelper(readHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__read\"),\n          /*typeArguments*/\n          void 0,\n          count !== void 0 ? [iteratorRecord, factory2.createNumericLiteral(count + \"\")] : [iteratorRecord]\n        );\n      }\n      function createGeneratorHelper(body) {\n        context.requestEmitHelper(generatorHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__generator\"),\n          /*typeArguments*/\n          void 0,\n          [factory2.createThis(), body]\n        );\n      }\n      function createCreateBindingHelper(module2, inputName, outputName) {\n        context.requestEmitHelper(createBindingHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__createBinding\"),\n          /*typeArguments*/\n          void 0,\n          [factory2.createIdentifier(\"exports\"), module2, inputName, ...outputName ? [outputName] : []]\n        );\n      }\n      function createImportStarHelper(expression) {\n        context.requestEmitHelper(importStarHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__importStar\"),\n          /*typeArguments*/\n          void 0,\n          [expression]\n        );\n      }\n      function createImportStarCallbackHelper() {\n        context.requestEmitHelper(importStarHelper);\n        return getUnscopedHelperName(\"__importStar\");\n      }\n      function createImportDefaultHelper(expression) {\n        context.requestEmitHelper(importDefaultHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__importDefault\"),\n          /*typeArguments*/\n          void 0,\n          [expression]\n        );\n      }\n      function createExportStarHelper(moduleExpression, exportsExpression = factory2.createIdentifier(\"exports\")) {\n        context.requestEmitHelper(exportStarHelper);\n        context.requestEmitHelper(createBindingHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__exportStar\"),\n          /*typeArguments*/\n          void 0,\n          [moduleExpression, exportsExpression]\n        );\n      }\n      function createClassPrivateFieldGetHelper(receiver, state, kind, f) {\n        context.requestEmitHelper(classPrivateFieldGetHelper);\n        let args;\n        if (!f) {\n          args = [receiver, state, factory2.createStringLiteral(kind)];\n        } else {\n          args = [receiver, state, factory2.createStringLiteral(kind), f];\n        }\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__classPrivateFieldGet\"),\n          /*typeArguments*/\n          void 0,\n          args\n        );\n      }\n      function createClassPrivateFieldSetHelper(receiver, state, value, kind, f) {\n        context.requestEmitHelper(classPrivateFieldSetHelper);\n        let args;\n        if (!f) {\n          args = [receiver, state, value, factory2.createStringLiteral(kind)];\n        } else {\n          args = [receiver, state, value, factory2.createStringLiteral(kind), f];\n        }\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__classPrivateFieldSet\"),\n          /*typeArguments*/\n          void 0,\n          args\n        );\n      }\n      function createClassPrivateFieldInHelper(state, receiver) {\n        context.requestEmitHelper(classPrivateFieldInHelper);\n        return factory2.createCallExpression(\n          getUnscopedHelperName(\"__classPrivateFieldIn\"),\n          /* typeArguments*/\n          void 0,\n          [state, receiver]\n        );\n      }\n    }\n    function compareEmitHelpers(x, y) {\n      if (x === y)\n        return 0;\n      if (x.priority === y.priority)\n        return 0;\n      if (x.priority === void 0)\n        return 1;\n      if (y.priority === void 0)\n        return -1;\n      return compareValues(x.priority, y.priority);\n    }\n    function helperString(input, ...args) {\n      return (uniqueName) => {\n        let result = \"\";\n        for (let i = 0; i < args.length; i++) {\n          result += input[i];\n          result += uniqueName(args[i]);\n        }\n        result += input[input.length - 1];\n        return result;\n      };\n    }\n    function getAllUnscopedEmitHelpers() {\n      return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = arrayToMap([\n        decorateHelper,\n        metadataHelper,\n        paramHelper,\n        esDecorateHelper,\n        runInitializersHelper,\n        assignHelper,\n        awaitHelper,\n        asyncGeneratorHelper,\n        asyncDelegator,\n        asyncValues,\n        restHelper,\n        awaiterHelper,\n        extendsHelper,\n        templateObjectHelper,\n        spreadArrayHelper,\n        valuesHelper,\n        readHelper,\n        propKeyHelper,\n        setFunctionNameHelper,\n        generatorHelper,\n        importStarHelper,\n        importDefaultHelper,\n        exportStarHelper,\n        classPrivateFieldGetHelper,\n        classPrivateFieldSetHelper,\n        classPrivateFieldInHelper,\n        createBindingHelper,\n        setModuleDefaultHelper\n      ], (helper) => helper.name));\n    }\n    function isCallToHelper(firstSegment, helperName) {\n      return isCallExpression(firstSegment) && isIdentifier(firstSegment.expression) && (getEmitFlags(firstSegment.expression) & 8192) !== 0 && firstSegment.expression.escapedText === helperName;\n    }\n    var PrivateIdentifierKind, decorateHelper, metadataHelper, paramHelper, esDecorateHelper, runInitializersHelper, assignHelper, awaitHelper, asyncGeneratorHelper, asyncDelegator, asyncValues, restHelper, awaiterHelper, extendsHelper, templateObjectHelper, readHelper, spreadArrayHelper, propKeyHelper, setFunctionNameHelper, valuesHelper, generatorHelper, createBindingHelper, setModuleDefaultHelper, importStarHelper, importDefaultHelper, exportStarHelper, classPrivateFieldGetHelper, classPrivateFieldSetHelper, classPrivateFieldInHelper, allUnscopedEmitHelpers, asyncSuperHelper, advancedAsyncSuperHelper;\n    var init_emitHelpers = __esm({\n      \"src/compiler/factory/emitHelpers.ts\"() {\n        \"use strict\";\n        init_ts2();\n        PrivateIdentifierKind = /* @__PURE__ */ ((PrivateIdentifierKind2) => {\n          PrivateIdentifierKind2[\"Field\"] = \"f\";\n          PrivateIdentifierKind2[\"Method\"] = \"m\";\n          PrivateIdentifierKind2[\"Accessor\"] = \"a\";\n          return PrivateIdentifierKind2;\n        })(PrivateIdentifierKind || {});\n        decorateHelper = {\n          name: \"typescript:decorate\",\n          importName: \"__decorate\",\n          scoped: false,\n          priority: 2,\n          text: `\n            var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n                var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n                if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n                else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n                return c > 3 && r && Object.defineProperty(target, key, r), r;\n            };`\n        };\n        metadataHelper = {\n          name: \"typescript:metadata\",\n          importName: \"__metadata\",\n          scoped: false,\n          priority: 3,\n          text: `\n            var __metadata = (this && this.__metadata) || function (k, v) {\n                if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n            };`\n        };\n        paramHelper = {\n          name: \"typescript:param\",\n          importName: \"__param\",\n          scoped: false,\n          priority: 4,\n          text: `\n            var __param = (this && this.__param) || function (paramIndex, decorator) {\n                return function (target, key) { decorator(target, key, paramIndex); }\n            };`\n        };\n        esDecorateHelper = {\n          name: \"typescript:esDecorate\",\n          importName: \"__esDecorate\",\n          scoped: false,\n          priority: 2,\n          text: `\n        var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n            function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n            var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n            var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n            var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n            var _, done = false;\n            for (var i = decorators.length - 1; i >= 0; i--) {\n                var context = {};\n                for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n                for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n                context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n                var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n                if (kind === \"accessor\") {\n                    if (result === void 0) continue;\n                    if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n                    if (_ = accept(result.get)) descriptor.get = _;\n                    if (_ = accept(result.set)) descriptor.set = _;\n                    if (_ = accept(result.init)) initializers.push(_);\n                }\n                else if (_ = accept(result)) {\n                    if (kind === \"field\") initializers.push(_);\n                    else descriptor[key] = _;\n                }\n            }\n            if (target) Object.defineProperty(target, contextIn.name, descriptor);\n            done = true;\n        };`\n        };\n        runInitializersHelper = {\n          name: \"typescript:runInitializers\",\n          importName: \"__runInitializers\",\n          scoped: false,\n          priority: 2,\n          text: `\n        var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {\n            var useValue = arguments.length > 2;\n            for (var i = 0; i < initializers.length; i++) {\n                value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n            }\n            return useValue ? value : void 0;\n        };`\n        };\n        assignHelper = {\n          name: \"typescript:assign\",\n          importName: \"__assign\",\n          scoped: false,\n          priority: 1,\n          text: `\n            var __assign = (this && this.__assign) || function () {\n                __assign = Object.assign || function(t) {\n                    for (var s, i = 1, n = arguments.length; i < n; i++) {\n                        s = arguments[i];\n                        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                            t[p] = s[p];\n                    }\n                    return t;\n                };\n                return __assign.apply(this, arguments);\n            };`\n        };\n        awaitHelper = {\n          name: \"typescript:await\",\n          importName: \"__await\",\n          scoped: false,\n          text: `\n            var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`\n        };\n        asyncGeneratorHelper = {\n          name: \"typescript:asyncGenerator\",\n          importName: \"__asyncGenerator\",\n          scoped: false,\n          dependencies: [awaitHelper],\n          text: `\n            var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n                if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n                var g = generator.apply(thisArg, _arguments || []), i, q = [];\n                return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n                function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n                function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n                function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n                function fulfill(value) { resume(\"next\", value); }\n                function reject(value) { resume(\"throw\", value); }\n                function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n            };`\n        };\n        asyncDelegator = {\n          name: \"typescript:asyncDelegator\",\n          importName: \"__asyncDelegator\",\n          scoped: false,\n          dependencies: [awaitHelper],\n          text: `\n            var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n                var i, p;\n                return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n                function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n            };`\n        };\n        asyncValues = {\n          name: \"typescript:asyncValues\",\n          importName: \"__asyncValues\",\n          scoped: false,\n          text: `\n            var __asyncValues = (this && this.__asyncValues) || function (o) {\n                if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n                var m = o[Symbol.asyncIterator], i;\n                return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n                function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n                function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n            };`\n        };\n        restHelper = {\n          name: \"typescript:rest\",\n          importName: \"__rest\",\n          scoped: false,\n          text: `\n            var __rest = (this && this.__rest) || function (s, e) {\n                var t = {};\n                for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n                    t[p] = s[p];\n                if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n                    for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n                        if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n                            t[p[i]] = s[p[i]];\n                    }\n                return t;\n            };`\n        };\n        awaiterHelper = {\n          name: \"typescript:awaiter\",\n          importName: \"__awaiter\",\n          scoped: false,\n          priority: 5,\n          text: `\n            var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n                function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n                return new (P || (P = Promise))(function (resolve, reject) {\n                    function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n                    function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n                    function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n                    step((generator = generator.apply(thisArg, _arguments || [])).next());\n                });\n            };`\n        };\n        extendsHelper = {\n          name: \"typescript:extends\",\n          importName: \"__extends\",\n          scoped: false,\n          priority: 0,\n          text: `\n            var __extends = (this && this.__extends) || (function () {\n                var extendStatics = function (d, b) {\n                    extendStatics = Object.setPrototypeOf ||\n                        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n                        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n                    return extendStatics(d, b);\n                };\n\n                return function (d, b) {\n                    if (typeof b !== \"function\" && b !== null)\n                        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n                    extendStatics(d, b);\n                    function __() { this.constructor = d; }\n                    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n                };\n            })();`\n        };\n        templateObjectHelper = {\n          name: \"typescript:makeTemplateObject\",\n          importName: \"__makeTemplateObject\",\n          scoped: false,\n          priority: 0,\n          text: `\n            var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n                if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n                return cooked;\n            };`\n        };\n        readHelper = {\n          name: \"typescript:read\",\n          importName: \"__read\",\n          scoped: false,\n          text: `\n            var __read = (this && this.__read) || function (o, n) {\n                var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n                if (!m) return o;\n                var i = m.call(o), r, ar = [], e;\n                try {\n                    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n                }\n                catch (error) { e = { error: error }; }\n                finally {\n                    try {\n                        if (r && !r.done && (m = i[\"return\"])) m.call(i);\n                    }\n                    finally { if (e) throw e.error; }\n                }\n                return ar;\n            };`\n        };\n        spreadArrayHelper = {\n          name: \"typescript:spreadArray\",\n          importName: \"__spreadArray\",\n          scoped: false,\n          text: `\n            var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n                if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n                    if (ar || !(i in from)) {\n                        if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n                        ar[i] = from[i];\n                    }\n                }\n                return to.concat(ar || Array.prototype.slice.call(from));\n            };`\n        };\n        propKeyHelper = {\n          name: \"typescript:propKey\",\n          importName: \"__propKey\",\n          scoped: false,\n          text: `\n        var __propKey = (this && this.__propKey) || function (x) {\n            return typeof x === \"symbol\" ? x : \"\".concat(x);\n        };`\n        };\n        setFunctionNameHelper = {\n          name: \"typescript:setFunctionName\",\n          importName: \"__setFunctionName\",\n          scoped: false,\n          text: `\n        var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {\n            if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n            return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n        };`\n        };\n        valuesHelper = {\n          name: \"typescript:values\",\n          importName: \"__values\",\n          scoped: false,\n          text: `\n            var __values = (this && this.__values) || function(o) {\n                var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n                if (m) return m.call(o);\n                if (o && typeof o.length === \"number\") return {\n                    next: function () {\n                        if (o && i >= o.length) o = void 0;\n                        return { value: o && o[i++], done: !o };\n                    }\n                };\n                throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n            };`\n        };\n        generatorHelper = {\n          name: \"typescript:generator\",\n          importName: \"__generator\",\n          scoped: false,\n          priority: 6,\n          text: `\n            var __generator = (this && this.__generator) || function (thisArg, body) {\n                var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n                return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n                function verb(n) { return function (v) { return step([n, v]); }; }\n                function step(op) {\n                    if (f) throw new TypeError(\"Generator is already executing.\");\n                    while (g && (g = 0, op[0] && (_ = 0)), _) try {\n                        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n                        if (y = 0, t) op = [op[0] & 2, t.value];\n                        switch (op[0]) {\n                            case 0: case 1: t = op; break;\n                            case 4: _.label++; return { value: op[1], done: false };\n                            case 5: _.label++; y = op[1]; op = [0]; continue;\n                            case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                            default:\n                                if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                                if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                                if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                                if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                                if (t[2]) _.ops.pop();\n                                _.trys.pop(); continue;\n                        }\n                        op = body.call(thisArg, _);\n                    } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n                    if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n                }\n            };`\n        };\n        createBindingHelper = {\n          name: \"typescript:commonjscreatebinding\",\n          importName: \"__createBinding\",\n          scoped: false,\n          priority: 1,\n          text: `\n            var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                var desc = Object.getOwnPropertyDescriptor(m, k);\n                if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n                  desc = { enumerable: true, get: function() { return m[k]; } };\n                }\n                Object.defineProperty(o, k2, desc);\n            }) : (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                o[k2] = m[k];\n            }));`\n        };\n        setModuleDefaultHelper = {\n          name: \"typescript:commonjscreatevalue\",\n          importName: \"__setModuleDefault\",\n          scoped: false,\n          priority: 1,\n          text: `\n            var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n                Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n            }) : function(o, v) {\n                o[\"default\"] = v;\n            });`\n        };\n        importStarHelper = {\n          name: \"typescript:commonjsimportstar\",\n          importName: \"__importStar\",\n          scoped: false,\n          dependencies: [createBindingHelper, setModuleDefaultHelper],\n          priority: 2,\n          text: `\n            var __importStar = (this && this.__importStar) || function (mod) {\n                if (mod && mod.__esModule) return mod;\n                var result = {};\n                if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n                __setModuleDefault(result, mod);\n                return result;\n            };`\n        };\n        importDefaultHelper = {\n          name: \"typescript:commonjsimportdefault\",\n          importName: \"__importDefault\",\n          scoped: false,\n          text: `\n            var __importDefault = (this && this.__importDefault) || function (mod) {\n                return (mod && mod.__esModule) ? mod : { \"default\": mod };\n            };`\n        };\n        exportStarHelper = {\n          name: \"typescript:export-star\",\n          importName: \"__exportStar\",\n          scoped: false,\n          dependencies: [createBindingHelper],\n          priority: 2,\n          text: `\n            var __exportStar = (this && this.__exportStar) || function(m, exports) {\n                for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n            };`\n        };\n        classPrivateFieldGetHelper = {\n          name: \"typescript:classPrivateFieldGet\",\n          importName: \"__classPrivateFieldGet\",\n          scoped: false,\n          text: `\n            var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n                if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n                if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n                return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n            };`\n        };\n        classPrivateFieldSetHelper = {\n          name: \"typescript:classPrivateFieldSet\",\n          importName: \"__classPrivateFieldSet\",\n          scoped: false,\n          text: `\n            var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n                if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n                if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n                if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n                return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n            };`\n        };\n        classPrivateFieldInHelper = {\n          name: \"typescript:classPrivateFieldIn\",\n          importName: \"__classPrivateFieldIn\",\n          scoped: false,\n          text: `\n            var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n                if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n                return typeof state === \"function\" ? receiver === state : state.has(receiver);\n            };`\n        };\n        asyncSuperHelper = {\n          name: \"typescript:async-super\",\n          scoped: true,\n          text: helperString`\n            const ${\"_superIndex\"} = name => super[name];`\n        };\n        advancedAsyncSuperHelper = {\n          name: \"typescript:advanced-async-super\",\n          scoped: true,\n          text: helperString`\n            const ${\"_superIndex\"} = (function (geti, seti) {\n                const cache = Object.create(null);\n                return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n            })(name => super[name], (name, value) => super[name] = value);`\n        };\n      }\n    });\n    function isNumericLiteral(node) {\n      return node.kind === 8;\n    }\n    function isBigIntLiteral(node) {\n      return node.kind === 9;\n    }\n    function isStringLiteral(node) {\n      return node.kind === 10;\n    }\n    function isJsxText(node) {\n      return node.kind === 11;\n    }\n    function isRegularExpressionLiteral(node) {\n      return node.kind === 13;\n    }\n    function isNoSubstitutionTemplateLiteral(node) {\n      return node.kind === 14;\n    }\n    function isTemplateHead(node) {\n      return node.kind === 15;\n    }\n    function isTemplateMiddle(node) {\n      return node.kind === 16;\n    }\n    function isTemplateTail(node) {\n      return node.kind === 17;\n    }\n    function isDotDotDotToken(node) {\n      return node.kind === 25;\n    }\n    function isCommaToken(node) {\n      return node.kind === 27;\n    }\n    function isPlusToken(node) {\n      return node.kind === 39;\n    }\n    function isMinusToken(node) {\n      return node.kind === 40;\n    }\n    function isAsteriskToken(node) {\n      return node.kind === 41;\n    }\n    function isExclamationToken(node) {\n      return node.kind === 53;\n    }\n    function isQuestionToken(node) {\n      return node.kind === 57;\n    }\n    function isColonToken(node) {\n      return node.kind === 58;\n    }\n    function isQuestionDotToken(node) {\n      return node.kind === 28;\n    }\n    function isEqualsGreaterThanToken(node) {\n      return node.kind === 38;\n    }\n    function isIdentifier(node) {\n      return node.kind === 79;\n    }\n    function isPrivateIdentifier(node) {\n      return node.kind === 80;\n    }\n    function isExportModifier(node) {\n      return node.kind === 93;\n    }\n    function isDefaultModifier(node) {\n      return node.kind === 88;\n    }\n    function isAsyncModifier(node) {\n      return node.kind === 132;\n    }\n    function isAssertsKeyword(node) {\n      return node.kind === 129;\n    }\n    function isAwaitKeyword(node) {\n      return node.kind === 133;\n    }\n    function isReadonlyKeyword(node) {\n      return node.kind === 146;\n    }\n    function isStaticModifier(node) {\n      return node.kind === 124;\n    }\n    function isAbstractModifier(node) {\n      return node.kind === 126;\n    }\n    function isOverrideModifier(node) {\n      return node.kind === 161;\n    }\n    function isAccessorModifier(node) {\n      return node.kind === 127;\n    }\n    function isSuperKeyword(node) {\n      return node.kind === 106;\n    }\n    function isImportKeyword(node) {\n      return node.kind === 100;\n    }\n    function isCaseKeyword(node) {\n      return node.kind === 82;\n    }\n    function isQualifiedName(node) {\n      return node.kind === 163;\n    }\n    function isComputedPropertyName(node) {\n      return node.kind === 164;\n    }\n    function isTypeParameterDeclaration(node) {\n      return node.kind === 165;\n    }\n    function isParameter(node) {\n      return node.kind === 166;\n    }\n    function isDecorator(node) {\n      return node.kind === 167;\n    }\n    function isPropertySignature(node) {\n      return node.kind === 168;\n    }\n    function isPropertyDeclaration(node) {\n      return node.kind === 169;\n    }\n    function isMethodSignature(node) {\n      return node.kind === 170;\n    }\n    function isMethodDeclaration(node) {\n      return node.kind === 171;\n    }\n    function isClassStaticBlockDeclaration(node) {\n      return node.kind === 172;\n    }\n    function isConstructorDeclaration(node) {\n      return node.kind === 173;\n    }\n    function isGetAccessorDeclaration(node) {\n      return node.kind === 174;\n    }\n    function isSetAccessorDeclaration(node) {\n      return node.kind === 175;\n    }\n    function isCallSignatureDeclaration(node) {\n      return node.kind === 176;\n    }\n    function isConstructSignatureDeclaration(node) {\n      return node.kind === 177;\n    }\n    function isIndexSignatureDeclaration(node) {\n      return node.kind === 178;\n    }\n    function isTypePredicateNode(node) {\n      return node.kind === 179;\n    }\n    function isTypeReferenceNode(node) {\n      return node.kind === 180;\n    }\n    function isFunctionTypeNode(node) {\n      return node.kind === 181;\n    }\n    function isConstructorTypeNode(node) {\n      return node.kind === 182;\n    }\n    function isTypeQueryNode(node) {\n      return node.kind === 183;\n    }\n    function isTypeLiteralNode(node) {\n      return node.kind === 184;\n    }\n    function isArrayTypeNode(node) {\n      return node.kind === 185;\n    }\n    function isTupleTypeNode(node) {\n      return node.kind === 186;\n    }\n    function isNamedTupleMember(node) {\n      return node.kind === 199;\n    }\n    function isOptionalTypeNode(node) {\n      return node.kind === 187;\n    }\n    function isRestTypeNode(node) {\n      return node.kind === 188;\n    }\n    function isUnionTypeNode(node) {\n      return node.kind === 189;\n    }\n    function isIntersectionTypeNode(node) {\n      return node.kind === 190;\n    }\n    function isConditionalTypeNode(node) {\n      return node.kind === 191;\n    }\n    function isInferTypeNode(node) {\n      return node.kind === 192;\n    }\n    function isParenthesizedTypeNode(node) {\n      return node.kind === 193;\n    }\n    function isThisTypeNode(node) {\n      return node.kind === 194;\n    }\n    function isTypeOperatorNode(node) {\n      return node.kind === 195;\n    }\n    function isIndexedAccessTypeNode(node) {\n      return node.kind === 196;\n    }\n    function isMappedTypeNode(node) {\n      return node.kind === 197;\n    }\n    function isLiteralTypeNode(node) {\n      return node.kind === 198;\n    }\n    function isImportTypeNode(node) {\n      return node.kind === 202;\n    }\n    function isTemplateLiteralTypeSpan(node) {\n      return node.kind === 201;\n    }\n    function isTemplateLiteralTypeNode(node) {\n      return node.kind === 200;\n    }\n    function isObjectBindingPattern(node) {\n      return node.kind === 203;\n    }\n    function isArrayBindingPattern(node) {\n      return node.kind === 204;\n    }\n    function isBindingElement(node) {\n      return node.kind === 205;\n    }\n    function isArrayLiteralExpression(node) {\n      return node.kind === 206;\n    }\n    function isObjectLiteralExpression(node) {\n      return node.kind === 207;\n    }\n    function isPropertyAccessExpression(node) {\n      return node.kind === 208;\n    }\n    function isElementAccessExpression(node) {\n      return node.kind === 209;\n    }\n    function isCallExpression(node) {\n      return node.kind === 210;\n    }\n    function isNewExpression(node) {\n      return node.kind === 211;\n    }\n    function isTaggedTemplateExpression(node) {\n      return node.kind === 212;\n    }\n    function isTypeAssertionExpression(node) {\n      return node.kind === 213;\n    }\n    function isParenthesizedExpression(node) {\n      return node.kind === 214;\n    }\n    function isFunctionExpression(node) {\n      return node.kind === 215;\n    }\n    function isArrowFunction(node) {\n      return node.kind === 216;\n    }\n    function isDeleteExpression(node) {\n      return node.kind === 217;\n    }\n    function isTypeOfExpression(node) {\n      return node.kind === 218;\n    }\n    function isVoidExpression(node) {\n      return node.kind === 219;\n    }\n    function isAwaitExpression(node) {\n      return node.kind === 220;\n    }\n    function isPrefixUnaryExpression(node) {\n      return node.kind === 221;\n    }\n    function isPostfixUnaryExpression(node) {\n      return node.kind === 222;\n    }\n    function isBinaryExpression(node) {\n      return node.kind === 223;\n    }\n    function isConditionalExpression(node) {\n      return node.kind === 224;\n    }\n    function isTemplateExpression(node) {\n      return node.kind === 225;\n    }\n    function isYieldExpression(node) {\n      return node.kind === 226;\n    }\n    function isSpreadElement(node) {\n      return node.kind === 227;\n    }\n    function isClassExpression(node) {\n      return node.kind === 228;\n    }\n    function isOmittedExpression(node) {\n      return node.kind === 229;\n    }\n    function isExpressionWithTypeArguments(node) {\n      return node.kind === 230;\n    }\n    function isAsExpression(node) {\n      return node.kind === 231;\n    }\n    function isSatisfiesExpression(node) {\n      return node.kind === 235;\n    }\n    function isNonNullExpression(node) {\n      return node.kind === 232;\n    }\n    function isMetaProperty(node) {\n      return node.kind === 233;\n    }\n    function isSyntheticExpression(node) {\n      return node.kind === 234;\n    }\n    function isPartiallyEmittedExpression(node) {\n      return node.kind === 356;\n    }\n    function isCommaListExpression(node) {\n      return node.kind === 357;\n    }\n    function isTemplateSpan(node) {\n      return node.kind === 236;\n    }\n    function isSemicolonClassElement(node) {\n      return node.kind === 237;\n    }\n    function isBlock(node) {\n      return node.kind === 238;\n    }\n    function isVariableStatement(node) {\n      return node.kind === 240;\n    }\n    function isEmptyStatement(node) {\n      return node.kind === 239;\n    }\n    function isExpressionStatement(node) {\n      return node.kind === 241;\n    }\n    function isIfStatement(node) {\n      return node.kind === 242;\n    }\n    function isDoStatement(node) {\n      return node.kind === 243;\n    }\n    function isWhileStatement(node) {\n      return node.kind === 244;\n    }\n    function isForStatement(node) {\n      return node.kind === 245;\n    }\n    function isForInStatement(node) {\n      return node.kind === 246;\n    }\n    function isForOfStatement(node) {\n      return node.kind === 247;\n    }\n    function isContinueStatement(node) {\n      return node.kind === 248;\n    }\n    function isBreakStatement(node) {\n      return node.kind === 249;\n    }\n    function isReturnStatement(node) {\n      return node.kind === 250;\n    }\n    function isWithStatement(node) {\n      return node.kind === 251;\n    }\n    function isSwitchStatement(node) {\n      return node.kind === 252;\n    }\n    function isLabeledStatement(node) {\n      return node.kind === 253;\n    }\n    function isThrowStatement(node) {\n      return node.kind === 254;\n    }\n    function isTryStatement(node) {\n      return node.kind === 255;\n    }\n    function isDebuggerStatement(node) {\n      return node.kind === 256;\n    }\n    function isVariableDeclaration(node) {\n      return node.kind === 257;\n    }\n    function isVariableDeclarationList(node) {\n      return node.kind === 258;\n    }\n    function isFunctionDeclaration(node) {\n      return node.kind === 259;\n    }\n    function isClassDeclaration(node) {\n      return node.kind === 260;\n    }\n    function isInterfaceDeclaration(node) {\n      return node.kind === 261;\n    }\n    function isTypeAliasDeclaration(node) {\n      return node.kind === 262;\n    }\n    function isEnumDeclaration(node) {\n      return node.kind === 263;\n    }\n    function isModuleDeclaration(node) {\n      return node.kind === 264;\n    }\n    function isModuleBlock(node) {\n      return node.kind === 265;\n    }\n    function isCaseBlock(node) {\n      return node.kind === 266;\n    }\n    function isNamespaceExportDeclaration(node) {\n      return node.kind === 267;\n    }\n    function isImportEqualsDeclaration(node) {\n      return node.kind === 268;\n    }\n    function isImportDeclaration(node) {\n      return node.kind === 269;\n    }\n    function isImportClause(node) {\n      return node.kind === 270;\n    }\n    function isImportTypeAssertionContainer(node) {\n      return node.kind === 298;\n    }\n    function isAssertClause(node) {\n      return node.kind === 296;\n    }\n    function isAssertEntry(node) {\n      return node.kind === 297;\n    }\n    function isNamespaceImport(node) {\n      return node.kind === 271;\n    }\n    function isNamespaceExport(node) {\n      return node.kind === 277;\n    }\n    function isNamedImports(node) {\n      return node.kind === 272;\n    }\n    function isImportSpecifier(node) {\n      return node.kind === 273;\n    }\n    function isExportAssignment(node) {\n      return node.kind === 274;\n    }\n    function isExportDeclaration(node) {\n      return node.kind === 275;\n    }\n    function isNamedExports(node) {\n      return node.kind === 276;\n    }\n    function isExportSpecifier(node) {\n      return node.kind === 278;\n    }\n    function isMissingDeclaration(node) {\n      return node.kind === 279;\n    }\n    function isNotEmittedStatement(node) {\n      return node.kind === 355;\n    }\n    function isSyntheticReference(node) {\n      return node.kind === 360;\n    }\n    function isMergeDeclarationMarker(node) {\n      return node.kind === 358;\n    }\n    function isEndOfDeclarationMarker(node) {\n      return node.kind === 359;\n    }\n    function isExternalModuleReference(node) {\n      return node.kind === 280;\n    }\n    function isJsxElement(node) {\n      return node.kind === 281;\n    }\n    function isJsxSelfClosingElement(node) {\n      return node.kind === 282;\n    }\n    function isJsxOpeningElement(node) {\n      return node.kind === 283;\n    }\n    function isJsxClosingElement(node) {\n      return node.kind === 284;\n    }\n    function isJsxFragment(node) {\n      return node.kind === 285;\n    }\n    function isJsxOpeningFragment(node) {\n      return node.kind === 286;\n    }\n    function isJsxClosingFragment(node) {\n      return node.kind === 287;\n    }\n    function isJsxAttribute(node) {\n      return node.kind === 288;\n    }\n    function isJsxAttributes(node) {\n      return node.kind === 289;\n    }\n    function isJsxSpreadAttribute(node) {\n      return node.kind === 290;\n    }\n    function isJsxExpression(node) {\n      return node.kind === 291;\n    }\n    function isCaseClause(node) {\n      return node.kind === 292;\n    }\n    function isDefaultClause(node) {\n      return node.kind === 293;\n    }\n    function isHeritageClause(node) {\n      return node.kind === 294;\n    }\n    function isCatchClause(node) {\n      return node.kind === 295;\n    }\n    function isPropertyAssignment(node) {\n      return node.kind === 299;\n    }\n    function isShorthandPropertyAssignment(node) {\n      return node.kind === 300;\n    }\n    function isSpreadAssignment(node) {\n      return node.kind === 301;\n    }\n    function isEnumMember(node) {\n      return node.kind === 302;\n    }\n    function isUnparsedPrepend(node) {\n      return node.kind === 304;\n    }\n    function isSourceFile(node) {\n      return node.kind === 308;\n    }\n    function isBundle(node) {\n      return node.kind === 309;\n    }\n    function isUnparsedSource(node) {\n      return node.kind === 310;\n    }\n    function isJSDocTypeExpression(node) {\n      return node.kind === 312;\n    }\n    function isJSDocNameReference(node) {\n      return node.kind === 313;\n    }\n    function isJSDocMemberName(node) {\n      return node.kind === 314;\n    }\n    function isJSDocLink(node) {\n      return node.kind === 327;\n    }\n    function isJSDocLinkCode(node) {\n      return node.kind === 328;\n    }\n    function isJSDocLinkPlain(node) {\n      return node.kind === 329;\n    }\n    function isJSDocAllType(node) {\n      return node.kind === 315;\n    }\n    function isJSDocUnknownType(node) {\n      return node.kind === 316;\n    }\n    function isJSDocNullableType(node) {\n      return node.kind === 317;\n    }\n    function isJSDocNonNullableType(node) {\n      return node.kind === 318;\n    }\n    function isJSDocOptionalType(node) {\n      return node.kind === 319;\n    }\n    function isJSDocFunctionType(node) {\n      return node.kind === 320;\n    }\n    function isJSDocVariadicType(node) {\n      return node.kind === 321;\n    }\n    function isJSDocNamepathType(node) {\n      return node.kind === 322;\n    }\n    function isJSDoc(node) {\n      return node.kind === 323;\n    }\n    function isJSDocTypeLiteral(node) {\n      return node.kind === 325;\n    }\n    function isJSDocSignature(node) {\n      return node.kind === 326;\n    }\n    function isJSDocAugmentsTag(node) {\n      return node.kind === 331;\n    }\n    function isJSDocAuthorTag(node) {\n      return node.kind === 333;\n    }\n    function isJSDocClassTag(node) {\n      return node.kind === 335;\n    }\n    function isJSDocCallbackTag(node) {\n      return node.kind === 341;\n    }\n    function isJSDocPublicTag(node) {\n      return node.kind === 336;\n    }\n    function isJSDocPrivateTag(node) {\n      return node.kind === 337;\n    }\n    function isJSDocProtectedTag(node) {\n      return node.kind === 338;\n    }\n    function isJSDocReadonlyTag(node) {\n      return node.kind === 339;\n    }\n    function isJSDocOverrideTag(node) {\n      return node.kind === 340;\n    }\n    function isJSDocOverloadTag(node) {\n      return node.kind === 342;\n    }\n    function isJSDocDeprecatedTag(node) {\n      return node.kind === 334;\n    }\n    function isJSDocSeeTag(node) {\n      return node.kind === 350;\n    }\n    function isJSDocEnumTag(node) {\n      return node.kind === 343;\n    }\n    function isJSDocParameterTag(node) {\n      return node.kind === 344;\n    }\n    function isJSDocReturnTag(node) {\n      return node.kind === 345;\n    }\n    function isJSDocThisTag(node) {\n      return node.kind === 346;\n    }\n    function isJSDocTypeTag(node) {\n      return node.kind === 347;\n    }\n    function isJSDocTemplateTag(node) {\n      return node.kind === 348;\n    }\n    function isJSDocTypedefTag(node) {\n      return node.kind === 349;\n    }\n    function isJSDocUnknownTag(node) {\n      return node.kind === 330;\n    }\n    function isJSDocPropertyTag(node) {\n      return node.kind === 351;\n    }\n    function isJSDocImplementsTag(node) {\n      return node.kind === 332;\n    }\n    function isJSDocSatisfiesTag(node) {\n      return node.kind === 353;\n    }\n    function isJSDocThrowsTag(node) {\n      return node.kind === 352;\n    }\n    function isSyntaxList(n) {\n      return n.kind === 354;\n    }\n    var init_nodeTests = __esm({\n      \"src/compiler/factory/nodeTests.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function createEmptyExports(factory2) {\n      return factory2.createExportDeclaration(\n        /*modifiers*/\n        void 0,\n        /*isTypeOnly*/\n        false,\n        factory2.createNamedExports([]),\n        /*moduleSpecifier*/\n        void 0\n      );\n    }\n    function createMemberAccessForPropertyName(factory2, target, memberName, location) {\n      if (isComputedPropertyName(memberName)) {\n        return setTextRange(factory2.createElementAccessExpression(target, memberName.expression), location);\n      } else {\n        const expression = setTextRange(\n          isMemberName(memberName) ? factory2.createPropertyAccessExpression(target, memberName) : factory2.createElementAccessExpression(target, memberName),\n          memberName\n        );\n        addEmitFlags(\n          expression,\n          128\n          /* NoNestedSourceMaps */\n        );\n        return expression;\n      }\n    }\n    function createReactNamespace(reactNamespace, parent2) {\n      const react = parseNodeFactory.createIdentifier(reactNamespace || \"React\");\n      setParent(react, getParseTreeNode(parent2));\n      return react;\n    }\n    function createJsxFactoryExpressionFromEntityName(factory2, jsxFactory, parent2) {\n      if (isQualifiedName(jsxFactory)) {\n        const left = createJsxFactoryExpressionFromEntityName(factory2, jsxFactory.left, parent2);\n        const right = factory2.createIdentifier(idText(jsxFactory.right));\n        right.escapedText = jsxFactory.right.escapedText;\n        return factory2.createPropertyAccessExpression(left, right);\n      } else {\n        return createReactNamespace(idText(jsxFactory), parent2);\n      }\n    }\n    function createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parent2) {\n      return jsxFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFactoryEntity, parent2) : factory2.createPropertyAccessExpression(\n        createReactNamespace(reactNamespace, parent2),\n        \"createElement\"\n      );\n    }\n    function createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parent2) {\n      return jsxFragmentFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFragmentFactoryEntity, parent2) : factory2.createPropertyAccessExpression(\n        createReactNamespace(reactNamespace, parent2),\n        \"Fragment\"\n      );\n    }\n    function createExpressionForJsxElement(factory2, callee, tagName, props, children, location) {\n      const argumentsList = [tagName];\n      if (props) {\n        argumentsList.push(props);\n      }\n      if (children && children.length > 0) {\n        if (!props) {\n          argumentsList.push(factory2.createNull());\n        }\n        if (children.length > 1) {\n          for (const child of children) {\n            startOnNewLine(child);\n            argumentsList.push(child);\n          }\n        } else {\n          argumentsList.push(children[0]);\n        }\n      }\n      return setTextRange(\n        factory2.createCallExpression(\n          callee,\n          /*typeArguments*/\n          void 0,\n          argumentsList\n        ),\n        location\n      );\n    }\n    function createExpressionForJsxFragment(factory2, jsxFactoryEntity, jsxFragmentFactoryEntity, reactNamespace, children, parentElement, location) {\n      const tagName = createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parentElement);\n      const argumentsList = [tagName, factory2.createNull()];\n      if (children && children.length > 0) {\n        if (children.length > 1) {\n          for (const child of children) {\n            startOnNewLine(child);\n            argumentsList.push(child);\n          }\n        } else {\n          argumentsList.push(children[0]);\n        }\n      }\n      return setTextRange(\n        factory2.createCallExpression(\n          createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parentElement),\n          /*typeArguments*/\n          void 0,\n          argumentsList\n        ),\n        location\n      );\n    }\n    function createForOfBindingStatement(factory2, node, boundValue) {\n      if (isVariableDeclarationList(node)) {\n        const firstDeclaration = first(node.declarations);\n        const updatedDeclaration = factory2.updateVariableDeclaration(\n          firstDeclaration,\n          firstDeclaration.name,\n          /*exclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          boundValue\n        );\n        return setTextRange(\n          factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.updateVariableDeclarationList(node, [updatedDeclaration])\n          ),\n          /*location*/\n          node\n        );\n      } else {\n        const updatedExpression = setTextRange(\n          factory2.createAssignment(node, boundValue),\n          /*location*/\n          node\n        );\n        return setTextRange(\n          factory2.createExpressionStatement(updatedExpression),\n          /*location*/\n          node\n        );\n      }\n    }\n    function insertLeadingStatement(factory2, dest, source) {\n      if (isBlock(dest)) {\n        return factory2.updateBlock(dest, setTextRange(factory2.createNodeArray([source, ...dest.statements]), dest.statements));\n      } else {\n        return factory2.createBlock(\n          factory2.createNodeArray([dest, source]),\n          /*multiLine*/\n          true\n        );\n      }\n    }\n    function createExpressionFromEntityName(factory2, node) {\n      if (isQualifiedName(node)) {\n        const left = createExpressionFromEntityName(factory2, node.left);\n        const right = setParent(setTextRange(factory2.cloneNode(node.right), node.right), node.right.parent);\n        return setTextRange(factory2.createPropertyAccessExpression(left, right), node);\n      } else {\n        return setParent(setTextRange(factory2.cloneNode(node), node), node.parent);\n      }\n    }\n    function createExpressionForPropertyName(factory2, memberName) {\n      if (isIdentifier(memberName)) {\n        return factory2.createStringLiteralFromNode(memberName);\n      } else if (isComputedPropertyName(memberName)) {\n        return setParent(setTextRange(factory2.cloneNode(memberName.expression), memberName.expression), memberName.expression.parent);\n      } else {\n        return setParent(setTextRange(factory2.cloneNode(memberName), memberName), memberName.parent);\n      }\n    }\n    function createExpressionForAccessorDeclaration(factory2, properties, property, receiver, multiLine) {\n      const { firstAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(properties, property);\n      if (property === firstAccessor) {\n        return setTextRange(\n          factory2.createObjectDefinePropertyCall(\n            receiver,\n            createExpressionForPropertyName(factory2, property.name),\n            factory2.createPropertyDescriptor({\n              enumerable: factory2.createFalse(),\n              configurable: true,\n              get: getAccessor && setTextRange(\n                setOriginalNode(\n                  factory2.createFunctionExpression(\n                    getModifiers(getAccessor),\n                    /*asteriskToken*/\n                    void 0,\n                    /*name*/\n                    void 0,\n                    /*typeParameters*/\n                    void 0,\n                    getAccessor.parameters,\n                    /*type*/\n                    void 0,\n                    getAccessor.body\n                    // TODO: GH#18217\n                  ),\n                  getAccessor\n                ),\n                getAccessor\n              ),\n              set: setAccessor && setTextRange(\n                setOriginalNode(\n                  factory2.createFunctionExpression(\n                    getModifiers(setAccessor),\n                    /*asteriskToken*/\n                    void 0,\n                    /*name*/\n                    void 0,\n                    /*typeParameters*/\n                    void 0,\n                    setAccessor.parameters,\n                    /*type*/\n                    void 0,\n                    setAccessor.body\n                    // TODO: GH#18217\n                  ),\n                  setAccessor\n                ),\n                setAccessor\n              )\n            }, !multiLine)\n          ),\n          firstAccessor\n        );\n      }\n      return void 0;\n    }\n    function createExpressionForPropertyAssignment(factory2, property, receiver) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createAssignment(\n            createMemberAccessForPropertyName(\n              factory2,\n              receiver,\n              property.name,\n              /*location*/\n              property.name\n            ),\n            property.initializer\n          ),\n          property\n        ),\n        property\n      );\n    }\n    function createExpressionForShorthandPropertyAssignment(factory2, property, receiver) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createAssignment(\n            createMemberAccessForPropertyName(\n              factory2,\n              receiver,\n              property.name,\n              /*location*/\n              property.name\n            ),\n            factory2.cloneNode(property.name)\n          ),\n          /*location*/\n          property\n        ),\n        /*original*/\n        property\n      );\n    }\n    function createExpressionForMethodDeclaration(factory2, method, receiver) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createAssignment(\n            createMemberAccessForPropertyName(\n              factory2,\n              receiver,\n              method.name,\n              /*location*/\n              method.name\n            ),\n            setOriginalNode(\n              setTextRange(\n                factory2.createFunctionExpression(\n                  getModifiers(method),\n                  method.asteriskToken,\n                  /*name*/\n                  void 0,\n                  /*typeParameters*/\n                  void 0,\n                  method.parameters,\n                  /*type*/\n                  void 0,\n                  method.body\n                  // TODO: GH#18217\n                ),\n                /*location*/\n                method\n              ),\n              /*original*/\n              method\n            )\n          ),\n          /*location*/\n          method\n        ),\n        /*original*/\n        method\n      );\n    }\n    function createExpressionForObjectLiteralElementLike(factory2, node, property, receiver) {\n      if (property.name && isPrivateIdentifier(property.name)) {\n        Debug2.failBadSyntaxKind(property.name, \"Private identifiers are not allowed in object literals.\");\n      }\n      switch (property.kind) {\n        case 174:\n        case 175:\n          return createExpressionForAccessorDeclaration(factory2, node.properties, property, receiver, !!node.multiLine);\n        case 299:\n          return createExpressionForPropertyAssignment(factory2, property, receiver);\n        case 300:\n          return createExpressionForShorthandPropertyAssignment(factory2, property, receiver);\n        case 171:\n          return createExpressionForMethodDeclaration(factory2, property, receiver);\n      }\n    }\n    function expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, recordTempVariable, resultVariable) {\n      const operator = node.operator;\n      Debug2.assert(operator === 45 || operator === 46, \"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression\");\n      const temp = factory2.createTempVariable(recordTempVariable);\n      expression = factory2.createAssignment(temp, expression);\n      setTextRange(expression, node.operand);\n      let operation = isPrefixUnaryExpression(node) ? factory2.createPrefixUnaryExpression(operator, temp) : factory2.createPostfixUnaryExpression(temp, operator);\n      setTextRange(operation, node);\n      if (resultVariable) {\n        operation = factory2.createAssignment(resultVariable, operation);\n        setTextRange(operation, node);\n      }\n      expression = factory2.createComma(expression, operation);\n      setTextRange(expression, node);\n      if (isPostfixUnaryExpression(node)) {\n        expression = factory2.createComma(expression, temp);\n        setTextRange(expression, node);\n      }\n      return expression;\n    }\n    function isInternalName(node) {\n      return (getEmitFlags(node) & 65536) !== 0;\n    }\n    function isLocalName(node) {\n      return (getEmitFlags(node) & 32768) !== 0;\n    }\n    function isExportName(node) {\n      return (getEmitFlags(node) & 16384) !== 0;\n    }\n    function isUseStrictPrologue(node) {\n      return isStringLiteral(node.expression) && node.expression.text === \"use strict\";\n    }\n    function findUseStrictPrologue(statements) {\n      for (const statement of statements) {\n        if (isPrologueDirective(statement)) {\n          if (isUseStrictPrologue(statement)) {\n            return statement;\n          }\n        } else {\n          break;\n        }\n      }\n      return void 0;\n    }\n    function startsWithUseStrict(statements) {\n      const firstStatement = firstOrUndefined(statements);\n      return firstStatement !== void 0 && isPrologueDirective(firstStatement) && isUseStrictPrologue(firstStatement);\n    }\n    function isCommaExpression(node) {\n      return node.kind === 223 && node.operatorToken.kind === 27;\n    }\n    function isCommaSequence(node) {\n      return isCommaExpression(node) || isCommaListExpression(node);\n    }\n    function isJSDocTypeAssertion(node) {\n      return isParenthesizedExpression(node) && isInJSFile(node) && !!getJSDocTypeTag(node);\n    }\n    function getJSDocTypeAssertionType(node) {\n      const type = getJSDocType(node);\n      Debug2.assertIsDefined(type);\n      return type;\n    }\n    function isOuterExpression(node, kinds = 15) {\n      switch (node.kind) {\n        case 214:\n          if (kinds & 16 && isJSDocTypeAssertion(node)) {\n            return false;\n          }\n          return (kinds & 1) !== 0;\n        case 213:\n        case 231:\n        case 230:\n        case 235:\n          return (kinds & 2) !== 0;\n        case 232:\n          return (kinds & 4) !== 0;\n        case 356:\n          return (kinds & 8) !== 0;\n      }\n      return false;\n    }\n    function skipOuterExpressions(node, kinds = 15) {\n      while (isOuterExpression(node, kinds)) {\n        node = node.expression;\n      }\n      return node;\n    }\n    function walkUpOuterExpressions(node, kinds = 15) {\n      let parent2 = node.parent;\n      while (isOuterExpression(parent2, kinds)) {\n        parent2 = parent2.parent;\n        Debug2.assert(parent2);\n      }\n      return parent2;\n    }\n    function skipAssertions(node) {\n      return skipOuterExpressions(\n        node,\n        6\n        /* Assertions */\n      );\n    }\n    function startOnNewLine(node) {\n      return setStartsOnNewLine(\n        node,\n        /*newLine*/\n        true\n      );\n    }\n    function getExternalHelpersModuleName(node) {\n      const parseNode = getOriginalNode(node, isSourceFile);\n      const emitNode = parseNode && parseNode.emitNode;\n      return emitNode && emitNode.externalHelpersModuleName;\n    }\n    function hasRecordedExternalHelpers(sourceFile) {\n      const parseNode = getOriginalNode(sourceFile, isSourceFile);\n      const emitNode = parseNode && parseNode.emitNode;\n      return !!emitNode && (!!emitNode.externalHelpersModuleName || !!emitNode.externalHelpers);\n    }\n    function createExternalHelpersImportDeclarationIfNeeded(nodeFactory, helperFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault) {\n      if (compilerOptions.importHelpers && isEffectiveExternalModule(sourceFile, compilerOptions)) {\n        let namedBindings;\n        const moduleKind = getEmitModuleKind(compilerOptions);\n        if (moduleKind >= 5 && moduleKind <= 99 || sourceFile.impliedNodeFormat === 99) {\n          const helpers = getEmitHelpers(sourceFile);\n          if (helpers) {\n            const helperNames = [];\n            for (const helper of helpers) {\n              if (!helper.scoped) {\n                const importName = helper.importName;\n                if (importName) {\n                  pushIfUnique(helperNames, importName);\n                }\n              }\n            }\n            if (some(helperNames)) {\n              helperNames.sort(compareStringsCaseSensitive);\n              namedBindings = nodeFactory.createNamedImports(\n                map(\n                  helperNames,\n                  (name) => isFileLevelUniqueName(sourceFile, name) ? nodeFactory.createImportSpecifier(\n                    /*isTypeOnly*/\n                    false,\n                    /*propertyName*/\n                    void 0,\n                    nodeFactory.createIdentifier(name)\n                  ) : nodeFactory.createImportSpecifier(\n                    /*isTypeOnly*/\n                    false,\n                    nodeFactory.createIdentifier(name),\n                    helperFactory.getUnscopedHelperName(name)\n                  )\n                )\n              );\n              const parseNode = getOriginalNode(sourceFile, isSourceFile);\n              const emitNode = getOrCreateEmitNode(parseNode);\n              emitNode.externalHelpers = true;\n            }\n          }\n        } else {\n          const externalHelpersModuleName = getOrCreateExternalHelpersModuleNameIfNeeded(nodeFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar || hasImportDefault);\n          if (externalHelpersModuleName) {\n            namedBindings = nodeFactory.createNamespaceImport(externalHelpersModuleName);\n          }\n        }\n        if (namedBindings) {\n          const externalHelpersImportDeclaration = nodeFactory.createImportDeclaration(\n            /*modifiers*/\n            void 0,\n            nodeFactory.createImportClause(\n              /*isTypeOnly*/\n              false,\n              /*name*/\n              void 0,\n              namedBindings\n            ),\n            nodeFactory.createStringLiteral(externalHelpersModuleNameText),\n            /*assertClause*/\n            void 0\n          );\n          addInternalEmitFlags(\n            externalHelpersImportDeclaration,\n            2\n            /* NeverApplyImportHelper */\n          );\n          return externalHelpersImportDeclaration;\n        }\n      }\n    }\n    function getOrCreateExternalHelpersModuleNameIfNeeded(factory2, node, compilerOptions, hasExportStarsToExportValues, hasImportStarOrImportDefault) {\n      if (compilerOptions.importHelpers && isEffectiveExternalModule(node, compilerOptions)) {\n        const externalHelpersModuleName = getExternalHelpersModuleName(node);\n        if (externalHelpersModuleName) {\n          return externalHelpersModuleName;\n        }\n        const moduleKind = getEmitModuleKind(compilerOptions);\n        let create2 = (hasExportStarsToExportValues || getESModuleInterop(compilerOptions) && hasImportStarOrImportDefault) && moduleKind !== 4 && (moduleKind < 5 || node.impliedNodeFormat === 1);\n        if (!create2) {\n          const helpers = getEmitHelpers(node);\n          if (helpers) {\n            for (const helper of helpers) {\n              if (!helper.scoped) {\n                create2 = true;\n                break;\n              }\n            }\n          }\n        }\n        if (create2) {\n          const parseNode = getOriginalNode(node, isSourceFile);\n          const emitNode = getOrCreateEmitNode(parseNode);\n          return emitNode.externalHelpersModuleName || (emitNode.externalHelpersModuleName = factory2.createUniqueName(externalHelpersModuleNameText));\n        }\n      }\n    }\n    function getLocalNameForExternalImport(factory2, node, sourceFile) {\n      const namespaceDeclaration = getNamespaceDeclarationNode(node);\n      if (namespaceDeclaration && !isDefaultImport(node) && !isExportNamespaceAsDefaultDeclaration(node)) {\n        const name = namespaceDeclaration.name;\n        return isGeneratedIdentifier(name) ? name : factory2.createIdentifier(getSourceTextOfNodeFromSourceFile(sourceFile, name) || idText(name));\n      }\n      if (node.kind === 269 && node.importClause) {\n        return factory2.getGeneratedNameForNode(node);\n      }\n      if (node.kind === 275 && node.moduleSpecifier) {\n        return factory2.getGeneratedNameForNode(node);\n      }\n      return void 0;\n    }\n    function getExternalModuleNameLiteral(factory2, importNode, sourceFile, host, resolver, compilerOptions) {\n      const moduleName = getExternalModuleName(importNode);\n      if (moduleName && isStringLiteral(moduleName)) {\n        return tryGetModuleNameFromDeclaration(importNode, host, factory2, resolver, compilerOptions) || tryRenameExternalModule(factory2, moduleName, sourceFile) || factory2.cloneNode(moduleName);\n      }\n      return void 0;\n    }\n    function tryRenameExternalModule(factory2, moduleName, sourceFile) {\n      const rename = sourceFile.renamedDependencies && sourceFile.renamedDependencies.get(moduleName.text);\n      return rename ? factory2.createStringLiteral(rename) : void 0;\n    }\n    function tryGetModuleNameFromFile(factory2, file, host, options) {\n      if (!file) {\n        return void 0;\n      }\n      if (file.moduleName) {\n        return factory2.createStringLiteral(file.moduleName);\n      }\n      if (!file.isDeclarationFile && outFile(options)) {\n        return factory2.createStringLiteral(getExternalModuleNameFromPath(host, file.fileName));\n      }\n      return void 0;\n    }\n    function tryGetModuleNameFromDeclaration(declaration, host, factory2, resolver, compilerOptions) {\n      return tryGetModuleNameFromFile(factory2, resolver.getExternalModuleFileFromDeclaration(declaration), host, compilerOptions);\n    }\n    function getInitializerOfBindingOrAssignmentElement(bindingElement) {\n      if (isDeclarationBindingElement(bindingElement)) {\n        return bindingElement.initializer;\n      }\n      if (isPropertyAssignment(bindingElement)) {\n        const initializer = bindingElement.initializer;\n        return isAssignmentExpression(\n          initializer,\n          /*excludeCompoundAssignment*/\n          true\n        ) ? initializer.right : void 0;\n      }\n      if (isShorthandPropertyAssignment(bindingElement)) {\n        return bindingElement.objectAssignmentInitializer;\n      }\n      if (isAssignmentExpression(\n        bindingElement,\n        /*excludeCompoundAssignment*/\n        true\n      )) {\n        return bindingElement.right;\n      }\n      if (isSpreadElement(bindingElement)) {\n        return getInitializerOfBindingOrAssignmentElement(bindingElement.expression);\n      }\n    }\n    function getTargetOfBindingOrAssignmentElement(bindingElement) {\n      if (isDeclarationBindingElement(bindingElement)) {\n        return bindingElement.name;\n      }\n      if (isObjectLiteralElementLike(bindingElement)) {\n        switch (bindingElement.kind) {\n          case 299:\n            return getTargetOfBindingOrAssignmentElement(bindingElement.initializer);\n          case 300:\n            return bindingElement.name;\n          case 301:\n            return getTargetOfBindingOrAssignmentElement(bindingElement.expression);\n        }\n        return void 0;\n      }\n      if (isAssignmentExpression(\n        bindingElement,\n        /*excludeCompoundAssignment*/\n        true\n      )) {\n        return getTargetOfBindingOrAssignmentElement(bindingElement.left);\n      }\n      if (isSpreadElement(bindingElement)) {\n        return getTargetOfBindingOrAssignmentElement(bindingElement.expression);\n      }\n      return bindingElement;\n    }\n    function getRestIndicatorOfBindingOrAssignmentElement(bindingElement) {\n      switch (bindingElement.kind) {\n        case 166:\n        case 205:\n          return bindingElement.dotDotDotToken;\n        case 227:\n        case 301:\n          return bindingElement;\n      }\n      return void 0;\n    }\n    function getPropertyNameOfBindingOrAssignmentElement(bindingElement) {\n      const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement);\n      Debug2.assert(!!propertyName || isSpreadAssignment(bindingElement), \"Invalid property name for binding element.\");\n      return propertyName;\n    }\n    function tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement) {\n      switch (bindingElement.kind) {\n        case 205:\n          if (bindingElement.propertyName) {\n            const propertyName = bindingElement.propertyName;\n            if (isPrivateIdentifier(propertyName)) {\n              return Debug2.failBadSyntaxKind(propertyName);\n            }\n            return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName;\n          }\n          break;\n        case 299:\n          if (bindingElement.name) {\n            const propertyName = bindingElement.name;\n            if (isPrivateIdentifier(propertyName)) {\n              return Debug2.failBadSyntaxKind(propertyName);\n            }\n            return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName;\n          }\n          break;\n        case 301:\n          if (bindingElement.name && isPrivateIdentifier(bindingElement.name)) {\n            return Debug2.failBadSyntaxKind(bindingElement.name);\n          }\n          return bindingElement.name;\n      }\n      const target = getTargetOfBindingOrAssignmentElement(bindingElement);\n      if (target && isPropertyName(target)) {\n        return target;\n      }\n    }\n    function isStringOrNumericLiteral(node) {\n      const kind = node.kind;\n      return kind === 10 || kind === 8;\n    }\n    function getElementsOfBindingOrAssignmentPattern(name) {\n      switch (name.kind) {\n        case 203:\n        case 204:\n        case 206:\n          return name.elements;\n        case 207:\n          return name.properties;\n      }\n    }\n    function getJSDocTypeAliasName(fullName) {\n      if (fullName) {\n        let rightNode = fullName;\n        while (true) {\n          if (isIdentifier(rightNode) || !rightNode.body) {\n            return isIdentifier(rightNode) ? rightNode : rightNode.name;\n          }\n          rightNode = rightNode.body;\n        }\n      }\n    }\n    function canHaveIllegalType(node) {\n      const kind = node.kind;\n      return kind === 173 || kind === 175;\n    }\n    function canHaveIllegalTypeParameters(node) {\n      const kind = node.kind;\n      return kind === 173 || kind === 174 || kind === 175;\n    }\n    function canHaveIllegalDecorators(node) {\n      const kind = node.kind;\n      return kind === 299 || kind === 300 || kind === 259 || kind === 173 || kind === 178 || kind === 172 || kind === 279 || kind === 240 || kind === 261 || kind === 262 || kind === 263 || kind === 264 || kind === 268 || kind === 269 || kind === 267 || kind === 275 || kind === 274;\n    }\n    function canHaveIllegalModifiers(node) {\n      const kind = node.kind;\n      return kind === 172 || kind === 299 || kind === 300 || kind === 279 || kind === 267;\n    }\n    function isQuestionOrExclamationToken(node) {\n      return isQuestionToken(node) || isExclamationToken(node);\n    }\n    function isIdentifierOrThisTypeNode(node) {\n      return isIdentifier(node) || isThisTypeNode(node);\n    }\n    function isReadonlyKeywordOrPlusOrMinusToken(node) {\n      return isReadonlyKeyword(node) || isPlusToken(node) || isMinusToken(node);\n    }\n    function isQuestionOrPlusOrMinusToken(node) {\n      return isQuestionToken(node) || isPlusToken(node) || isMinusToken(node);\n    }\n    function isModuleName(node) {\n      return isIdentifier(node) || isStringLiteral(node);\n    }\n    function isLiteralTypeLikeExpression(node) {\n      const kind = node.kind;\n      return kind === 104 || kind === 110 || kind === 95 || isLiteralExpression(node) || isPrefixUnaryExpression(node);\n    }\n    function isExponentiationOperator(kind) {\n      return kind === 42;\n    }\n    function isMultiplicativeOperator(kind) {\n      return kind === 41 || kind === 43 || kind === 44;\n    }\n    function isMultiplicativeOperatorOrHigher(kind) {\n      return isExponentiationOperator(kind) || isMultiplicativeOperator(kind);\n    }\n    function isAdditiveOperator(kind) {\n      return kind === 39 || kind === 40;\n    }\n    function isAdditiveOperatorOrHigher(kind) {\n      return isAdditiveOperator(kind) || isMultiplicativeOperatorOrHigher(kind);\n    }\n    function isShiftOperator(kind) {\n      return kind === 47 || kind === 48 || kind === 49;\n    }\n    function isShiftOperatorOrHigher(kind) {\n      return isShiftOperator(kind) || isAdditiveOperatorOrHigher(kind);\n    }\n    function isRelationalOperator(kind) {\n      return kind === 29 || kind === 32 || kind === 31 || kind === 33 || kind === 102 || kind === 101;\n    }\n    function isRelationalOperatorOrHigher(kind) {\n      return isRelationalOperator(kind) || isShiftOperatorOrHigher(kind);\n    }\n    function isEqualityOperator(kind) {\n      return kind === 34 || kind === 36 || kind === 35 || kind === 37;\n    }\n    function isEqualityOperatorOrHigher(kind) {\n      return isEqualityOperator(kind) || isRelationalOperatorOrHigher(kind);\n    }\n    function isBitwiseOperator(kind) {\n      return kind === 50 || kind === 51 || kind === 52;\n    }\n    function isBitwiseOperatorOrHigher(kind) {\n      return isBitwiseOperator(kind) || isEqualityOperatorOrHigher(kind);\n    }\n    function isLogicalOperator2(kind) {\n      return kind === 55 || kind === 56;\n    }\n    function isLogicalOperatorOrHigher(kind) {\n      return isLogicalOperator2(kind) || isBitwiseOperatorOrHigher(kind);\n    }\n    function isAssignmentOperatorOrHigher(kind) {\n      return kind === 60 || isLogicalOperatorOrHigher(kind) || isAssignmentOperator(kind);\n    }\n    function isBinaryOperator(kind) {\n      return isAssignmentOperatorOrHigher(kind) || kind === 27;\n    }\n    function isBinaryOperatorToken(node) {\n      return isBinaryOperator(node.kind);\n    }\n    function createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState) {\n      const machine = new BinaryExpressionStateMachine(onEnter, onLeft, onOperator, onRight, onExit, foldState);\n      return trampoline;\n      function trampoline(node, outerState) {\n        const resultHolder = { value: void 0 };\n        const stateStack = [BinaryExpressionState.enter];\n        const nodeStack = [node];\n        const userStateStack = [void 0];\n        let stackIndex = 0;\n        while (stateStack[stackIndex] !== BinaryExpressionState.done) {\n          stackIndex = stateStack[stackIndex](machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, outerState);\n        }\n        Debug2.assertEqual(stackIndex, 0);\n        return resultHolder.value;\n      }\n    }\n    function isExportOrDefaultKeywordKind(kind) {\n      return kind === 93 || kind === 88;\n    }\n    function isExportOrDefaultModifier(node) {\n      const kind = node.kind;\n      return isExportOrDefaultKeywordKind(kind);\n    }\n    function isNonExportDefaultModifier(node) {\n      const kind = node.kind;\n      return isModifierKind(kind) && !isExportOrDefaultKeywordKind(kind);\n    }\n    function elideNodes(factory2, nodes) {\n      if (nodes === void 0)\n        return void 0;\n      if (nodes.length === 0)\n        return nodes;\n      return setTextRange(factory2.createNodeArray([], nodes.hasTrailingComma), nodes);\n    }\n    function getNodeForGeneratedName(name) {\n      var _a22;\n      const autoGenerate = name.emitNode.autoGenerate;\n      if (autoGenerate.flags & 4) {\n        const autoGenerateId = autoGenerate.id;\n        let node = name;\n        let original = node.original;\n        while (original) {\n          node = original;\n          const autoGenerate2 = (_a22 = node.emitNode) == null ? void 0 : _a22.autoGenerate;\n          if (isMemberName(node) && (autoGenerate2 === void 0 || !!(autoGenerate2.flags & 4) && autoGenerate2.id !== autoGenerateId)) {\n            break;\n          }\n          original = node.original;\n        }\n        return node;\n      }\n      return name;\n    }\n    function formatGeneratedNamePart(part, generateName) {\n      return typeof part === \"object\" ? formatGeneratedName(\n        /*privateName*/\n        false,\n        part.prefix,\n        part.node,\n        part.suffix,\n        generateName\n      ) : typeof part === \"string\" ? part.length > 0 && part.charCodeAt(0) === 35 ? part.slice(1) : part : \"\";\n    }\n    function formatIdentifier(name, generateName) {\n      return typeof name === \"string\" ? name : formatIdentifierWorker(name, Debug2.checkDefined(generateName));\n    }\n    function formatIdentifierWorker(node, generateName) {\n      return isGeneratedPrivateIdentifier(node) ? generateName(node).slice(1) : isGeneratedIdentifier(node) ? generateName(node) : isPrivateIdentifier(node) ? node.escapedText.slice(1) : idText(node);\n    }\n    function formatGeneratedName(privateName, prefix, baseName, suffix, generateName) {\n      prefix = formatGeneratedNamePart(prefix, generateName);\n      suffix = formatGeneratedNamePart(suffix, generateName);\n      baseName = formatIdentifier(baseName, generateName);\n      return `${privateName ? \"#\" : \"\"}${prefix}${baseName}${suffix}`;\n    }\n    function createAccessorPropertyBackingField(factory2, node, modifiers, initializer) {\n      return factory2.updatePropertyDeclaration(\n        node,\n        modifiers,\n        factory2.getGeneratedPrivateNameForNode(\n          node.name,\n          /*prefix*/\n          void 0,\n          \"_accessor_storage\"\n        ),\n        /*questionOrExclamationToken*/\n        void 0,\n        /*type*/\n        void 0,\n        initializer\n      );\n    }\n    function createAccessorPropertyGetRedirector(factory2, node, modifiers, name) {\n      return factory2.createGetAccessorDeclaration(\n        modifiers,\n        name,\n        [],\n        /*type*/\n        void 0,\n        factory2.createBlock([\n          factory2.createReturnStatement(\n            factory2.createPropertyAccessExpression(\n              factory2.createThis(),\n              factory2.getGeneratedPrivateNameForNode(\n                node.name,\n                /*prefix*/\n                void 0,\n                \"_accessor_storage\"\n              )\n            )\n          )\n        ])\n      );\n    }\n    function createAccessorPropertySetRedirector(factory2, node, modifiers, name) {\n      return factory2.createSetAccessorDeclaration(\n        modifiers,\n        name,\n        [factory2.createParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          /*dotdotDotToken*/\n          void 0,\n          \"value\"\n        )],\n        factory2.createBlock([\n          factory2.createExpressionStatement(\n            factory2.createAssignment(\n              factory2.createPropertyAccessExpression(\n                factory2.createThis(),\n                factory2.getGeneratedPrivateNameForNode(\n                  node.name,\n                  /*prefix*/\n                  void 0,\n                  \"_accessor_storage\"\n                )\n              ),\n              factory2.createIdentifier(\"value\")\n            )\n          )\n        ])\n      );\n    }\n    function findComputedPropertyNameCacheAssignment(name) {\n      let node = name.expression;\n      while (true) {\n        node = skipOuterExpressions(node);\n        if (isCommaListExpression(node)) {\n          node = last(node.elements);\n          continue;\n        }\n        if (isCommaExpression(node)) {\n          node = node.right;\n          continue;\n        }\n        if (isAssignmentExpression(\n          node,\n          /*excludeCompoundAssignment*/\n          true\n        ) && isGeneratedIdentifier(node.left)) {\n          return node;\n        }\n        break;\n      }\n    }\n    function isSyntheticParenthesizedExpression(node) {\n      return isParenthesizedExpression(node) && nodeIsSynthesized(node) && !node.emitNode;\n    }\n    function flattenCommaListWorker(node, expressions) {\n      if (isSyntheticParenthesizedExpression(node)) {\n        flattenCommaListWorker(node.expression, expressions);\n      } else if (isCommaExpression(node)) {\n        flattenCommaListWorker(node.left, expressions);\n        flattenCommaListWorker(node.right, expressions);\n      } else if (isCommaListExpression(node)) {\n        for (const child of node.elements) {\n          flattenCommaListWorker(child, expressions);\n        }\n      } else {\n        expressions.push(node);\n      }\n    }\n    function flattenCommaList(node) {\n      const expressions = [];\n      flattenCommaListWorker(node, expressions);\n      return expressions;\n    }\n    function containsObjectRestOrSpread(node) {\n      if (node.transformFlags & 65536)\n        return true;\n      if (node.transformFlags & 128) {\n        for (const element of getElementsOfBindingOrAssignmentPattern(node)) {\n          const target = getTargetOfBindingOrAssignmentElement(element);\n          if (target && isAssignmentPattern(target)) {\n            if (target.transformFlags & 65536) {\n              return true;\n            }\n            if (target.transformFlags & 128) {\n              if (containsObjectRestOrSpread(target))\n                return true;\n            }\n          }\n        }\n      }\n      return false;\n    }\n    var BinaryExpressionState, BinaryExpressionStateMachine;\n    var init_utilities2 = __esm({\n      \"src/compiler/factory/utilities.ts\"() {\n        \"use strict\";\n        init_ts2();\n        ((BinaryExpressionState2) => {\n          function enter(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, outerState) {\n            const prevUserState = stackIndex > 0 ? userStateStack[stackIndex - 1] : void 0;\n            Debug2.assertEqual(stateStack[stackIndex], enter);\n            userStateStack[stackIndex] = machine.onEnter(nodeStack[stackIndex], prevUserState, outerState);\n            stateStack[stackIndex] = nextState(machine, enter);\n            return stackIndex;\n          }\n          BinaryExpressionState2.enter = enter;\n          function left(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) {\n            Debug2.assertEqual(stateStack[stackIndex], left);\n            Debug2.assertIsDefined(machine.onLeft);\n            stateStack[stackIndex] = nextState(machine, left);\n            const nextNode = machine.onLeft(nodeStack[stackIndex].left, userStateStack[stackIndex], nodeStack[stackIndex]);\n            if (nextNode) {\n              checkCircularity(stackIndex, nodeStack, nextNode);\n              return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode);\n            }\n            return stackIndex;\n          }\n          BinaryExpressionState2.left = left;\n          function operator(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) {\n            Debug2.assertEqual(stateStack[stackIndex], operator);\n            Debug2.assertIsDefined(machine.onOperator);\n            stateStack[stackIndex] = nextState(machine, operator);\n            machine.onOperator(nodeStack[stackIndex].operatorToken, userStateStack[stackIndex], nodeStack[stackIndex]);\n            return stackIndex;\n          }\n          BinaryExpressionState2.operator = operator;\n          function right(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) {\n            Debug2.assertEqual(stateStack[stackIndex], right);\n            Debug2.assertIsDefined(machine.onRight);\n            stateStack[stackIndex] = nextState(machine, right);\n            const nextNode = machine.onRight(nodeStack[stackIndex].right, userStateStack[stackIndex], nodeStack[stackIndex]);\n            if (nextNode) {\n              checkCircularity(stackIndex, nodeStack, nextNode);\n              return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode);\n            }\n            return stackIndex;\n          }\n          BinaryExpressionState2.right = right;\n          function exit(machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, _outerState) {\n            Debug2.assertEqual(stateStack[stackIndex], exit);\n            stateStack[stackIndex] = nextState(machine, exit);\n            const result = machine.onExit(nodeStack[stackIndex], userStateStack[stackIndex]);\n            if (stackIndex > 0) {\n              stackIndex--;\n              if (machine.foldState) {\n                const side = stateStack[stackIndex] === exit ? \"right\" : \"left\";\n                userStateStack[stackIndex] = machine.foldState(userStateStack[stackIndex], result, side);\n              }\n            } else {\n              resultHolder.value = result;\n            }\n            return stackIndex;\n          }\n          BinaryExpressionState2.exit = exit;\n          function done(_machine, stackIndex, stateStack, _nodeStack, _userStateStack, _resultHolder, _outerState) {\n            Debug2.assertEqual(stateStack[stackIndex], done);\n            return stackIndex;\n          }\n          BinaryExpressionState2.done = done;\n          function nextState(machine, currentState) {\n            switch (currentState) {\n              case enter:\n                if (machine.onLeft)\n                  return left;\n              case left:\n                if (machine.onOperator)\n                  return operator;\n              case operator:\n                if (machine.onRight)\n                  return right;\n              case right:\n                return exit;\n              case exit:\n                return done;\n              case done:\n                return done;\n              default:\n                Debug2.fail(\"Invalid state\");\n            }\n          }\n          BinaryExpressionState2.nextState = nextState;\n          function pushStack(stackIndex, stateStack, nodeStack, userStateStack, node) {\n            stackIndex++;\n            stateStack[stackIndex] = enter;\n            nodeStack[stackIndex] = node;\n            userStateStack[stackIndex] = void 0;\n            return stackIndex;\n          }\n          function checkCircularity(stackIndex, nodeStack, node) {\n            if (Debug2.shouldAssert(\n              2\n              /* Aggressive */\n            )) {\n              while (stackIndex >= 0) {\n                Debug2.assert(nodeStack[stackIndex] !== node, \"Circular traversal detected.\");\n                stackIndex--;\n              }\n            }\n          }\n        })(BinaryExpressionState || (BinaryExpressionState = {}));\n        BinaryExpressionStateMachine = class {\n          constructor(onEnter, onLeft, onOperator, onRight, onExit, foldState) {\n            this.onEnter = onEnter;\n            this.onLeft = onLeft;\n            this.onOperator = onOperator;\n            this.onRight = onRight;\n            this.onExit = onExit;\n            this.foldState = foldState;\n          }\n        };\n      }\n    });\n    function setTextRange(range, location) {\n      return location ? setTextRangePosEnd(range, location.pos, location.end) : range;\n    }\n    function canHaveModifiers(node) {\n      const kind = node.kind;\n      return kind === 165 || kind === 166 || kind === 168 || kind === 169 || kind === 170 || kind === 171 || kind === 173 || kind === 174 || kind === 175 || kind === 178 || kind === 182 || kind === 215 || kind === 216 || kind === 228 || kind === 240 || kind === 259 || kind === 260 || kind === 261 || kind === 262 || kind === 263 || kind === 264 || kind === 268 || kind === 269 || kind === 274 || kind === 275;\n    }\n    function canHaveDecorators(node) {\n      const kind = node.kind;\n      return kind === 166 || kind === 169 || kind === 171 || kind === 174 || kind === 175 || kind === 228 || kind === 260;\n    }\n    var init_utilitiesPublic2 = __esm({\n      \"src/compiler/factory/utilitiesPublic.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function visitNode2(cbNode, node) {\n      return node && cbNode(node);\n    }\n    function visitNodes(cbNode, cbNodes, nodes) {\n      if (nodes) {\n        if (cbNodes) {\n          return cbNodes(nodes);\n        }\n        for (const node of nodes) {\n          const result = cbNode(node);\n          if (result) {\n            return result;\n          }\n        }\n      }\n    }\n    function isJSDocLikeText(text, start) {\n      return text.charCodeAt(start + 1) === 42 && text.charCodeAt(start + 2) === 42 && text.charCodeAt(start + 3) !== 47;\n    }\n    function isFileProbablyExternalModule(sourceFile) {\n      return forEach(sourceFile.statements, isAnExternalModuleIndicatorNode) || getImportMetaIfNecessary(sourceFile);\n    }\n    function isAnExternalModuleIndicatorNode(node) {\n      return canHaveModifiers(node) && hasModifierOfKind(\n        node,\n        93\n        /* ExportKeyword */\n      ) || isImportEqualsDeclaration(node) && isExternalModuleReference(node.moduleReference) || isImportDeclaration(node) || isExportAssignment(node) || isExportDeclaration(node) ? node : void 0;\n    }\n    function getImportMetaIfNecessary(sourceFile) {\n      return sourceFile.flags & 4194304 ? walkTreeForImportMeta(sourceFile) : void 0;\n    }\n    function walkTreeForImportMeta(node) {\n      return isImportMeta2(node) ? node : forEachChild(node, walkTreeForImportMeta);\n    }\n    function hasModifierOfKind(node, kind) {\n      return some(node.modifiers, (m) => m.kind === kind);\n    }\n    function isImportMeta2(node) {\n      return isMetaProperty(node) && node.keywordToken === 100 && node.name.escapedText === \"meta\";\n    }\n    function forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) {\n      return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n    }\n    function forEachChildInUnionOrIntersectionType(node, cbNode, cbNodes) {\n      return visitNodes(cbNode, cbNodes, node.types);\n    }\n    function forEachChildInParenthesizedTypeOrTypeOperator(node, cbNode, _cbNodes) {\n      return visitNode2(cbNode, node.type);\n    }\n    function forEachChildInObjectOrArrayBindingPattern(node, cbNode, cbNodes) {\n      return visitNodes(cbNode, cbNodes, node.elements);\n    }\n    function forEachChildInCallOrNewExpression(node, cbNode, cbNodes) {\n      return visitNode2(cbNode, node.expression) || // TODO: should we separate these branches out?\n      visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNodes(cbNode, cbNodes, node.arguments);\n    }\n    function forEachChildInBlock(node, cbNode, cbNodes) {\n      return visitNodes(cbNode, cbNodes, node.statements);\n    }\n    function forEachChildInContinueOrBreakStatement(node, cbNode, _cbNodes) {\n      return visitNode2(cbNode, node.label);\n    }\n    function forEachChildInClassDeclarationOrExpression(node, cbNode, cbNodes) {\n      return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members);\n    }\n    function forEachChildInNamedImportsOrExports(node, cbNode, cbNodes) {\n      return visitNodes(cbNode, cbNodes, node.elements);\n    }\n    function forEachChildInImportOrExportSpecifier(node, cbNode, _cbNodes) {\n      return visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name);\n    }\n    function forEachChildInJsxOpeningOrSelfClosingElement(node, cbNode, cbNodes) {\n      return visitNode2(cbNode, node.tagName) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.attributes);\n    }\n    function forEachChildInOptionalRestOrJSDocParameterModifier(node, cbNode, _cbNodes) {\n      return visitNode2(cbNode, node.type);\n    }\n    function forEachChildInJSDocParameterOrPropertyTag(node, cbNode, cbNodes) {\n      return visitNode2(cbNode, node.tagName) || (node.isNameFirst ? visitNode2(cbNode, node.name) || visitNode2(cbNode, node.typeExpression) : visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.name)) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n    }\n    function forEachChildInJSDocTypeLikeTag(node, cbNode, cbNodes) {\n      return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n    }\n    function forEachChildInJSDocLinkCodeOrPlain(node, cbNode, _cbNodes) {\n      return visitNode2(cbNode, node.name);\n    }\n    function forEachChildInJSDocTag(node, cbNode, cbNodes) {\n      return visitNode2(cbNode, node.tagName) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n    }\n    function forEachChildInPartiallyEmittedExpression(node, cbNode, _cbNodes) {\n      return visitNode2(cbNode, node.expression);\n    }\n    function forEachChild(node, cbNode, cbNodes) {\n      if (node === void 0 || node.kind <= 162) {\n        return;\n      }\n      const fn = forEachChildTable[node.kind];\n      return fn === void 0 ? void 0 : fn(node, cbNode, cbNodes);\n    }\n    function forEachChildRecursively(rootNode, cbNode, cbNodes) {\n      const queue = gatherPossibleChildren(rootNode);\n      const parents = [];\n      while (parents.length < queue.length) {\n        parents.push(rootNode);\n      }\n      while (queue.length !== 0) {\n        const current = queue.pop();\n        const parent2 = parents.pop();\n        if (isArray(current)) {\n          if (cbNodes) {\n            const res = cbNodes(current, parent2);\n            if (res) {\n              if (res === \"skip\")\n                continue;\n              return res;\n            }\n          }\n          for (let i = current.length - 1; i >= 0; --i) {\n            queue.push(current[i]);\n            parents.push(parent2);\n          }\n        } else {\n          const res = cbNode(current, parent2);\n          if (res) {\n            if (res === \"skip\")\n              continue;\n            return res;\n          }\n          if (current.kind >= 163) {\n            for (const child of gatherPossibleChildren(current)) {\n              queue.push(child);\n              parents.push(current);\n            }\n          }\n        }\n      }\n    }\n    function gatherPossibleChildren(node) {\n      const children = [];\n      forEachChild(node, addWorkItem, addWorkItem);\n      return children;\n      function addWorkItem(n) {\n        children.unshift(n);\n      }\n    }\n    function setExternalModuleIndicator(sourceFile) {\n      sourceFile.externalModuleIndicator = isFileProbablyExternalModule(sourceFile);\n    }\n    function createSourceFile(fileName, sourceText, languageVersionOrOptions, setParentNodes = false, scriptKind) {\n      var _a22, _b3;\n      (_a22 = tracing) == null ? void 0 : _a22.push(\n        tracing.Phase.Parse,\n        \"createSourceFile\",\n        { path: fileName },\n        /*separateBeginAndEnd*/\n        true\n      );\n      mark(\"beforeParse\");\n      let result;\n      perfLogger.logStartParseSourceFile(fileName);\n      const {\n        languageVersion,\n        setExternalModuleIndicator: overrideSetExternalModuleIndicator,\n        impliedNodeFormat: format\n      } = typeof languageVersionOrOptions === \"object\" ? languageVersionOrOptions : { languageVersion: languageVersionOrOptions };\n      if (languageVersion === 100) {\n        result = Parser.parseSourceFile(\n          fileName,\n          sourceText,\n          languageVersion,\n          /*syntaxCursor*/\n          void 0,\n          setParentNodes,\n          6,\n          noop\n        );\n      } else {\n        const setIndicator = format === void 0 ? overrideSetExternalModuleIndicator : (file) => {\n          file.impliedNodeFormat = format;\n          return (overrideSetExternalModuleIndicator || setExternalModuleIndicator)(file);\n        };\n        result = Parser.parseSourceFile(\n          fileName,\n          sourceText,\n          languageVersion,\n          /*syntaxCursor*/\n          void 0,\n          setParentNodes,\n          scriptKind,\n          setIndicator\n        );\n      }\n      perfLogger.logStopParseSourceFile();\n      mark(\"afterParse\");\n      measure(\"Parse\", \"beforeParse\", \"afterParse\");\n      (_b3 = tracing) == null ? void 0 : _b3.pop();\n      return result;\n    }\n    function parseIsolatedEntityName(text, languageVersion) {\n      return Parser.parseIsolatedEntityName(text, languageVersion);\n    }\n    function parseJsonText(fileName, sourceText) {\n      return Parser.parseJsonText(fileName, sourceText);\n    }\n    function isExternalModule(file) {\n      return file.externalModuleIndicator !== void 0;\n    }\n    function updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks = false) {\n      const newSourceFile = IncrementalParser.updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks);\n      newSourceFile.flags |= sourceFile.flags & 6291456;\n      return newSourceFile;\n    }\n    function parseIsolatedJSDocComment(content, start, length2) {\n      const result = Parser.JSDocParser.parseIsolatedJSDocComment(content, start, length2);\n      if (result && result.jsDoc) {\n        Parser.fixupParentReferences(result.jsDoc);\n      }\n      return result;\n    }\n    function parseJSDocTypeExpressionForTests(content, start, length2) {\n      return Parser.JSDocParser.parseJSDocTypeExpressionForTests(content, start, length2);\n    }\n    function isDeclarationFileName(fileName) {\n      return fileExtensionIsOneOf(fileName, supportedDeclarationExtensions) || fileExtensionIs(\n        fileName,\n        \".ts\"\n        /* Ts */\n      ) && stringContains(getBaseFileName(fileName), \".d.\");\n    }\n    function parseResolutionMode(mode, pos, end, reportDiagnostic) {\n      if (!mode) {\n        return void 0;\n      }\n      if (mode === \"import\") {\n        return 99;\n      }\n      if (mode === \"require\") {\n        return 1;\n      }\n      reportDiagnostic(pos, end - pos, Diagnostics.resolution_mode_should_be_either_require_or_import);\n      return void 0;\n    }\n    function processCommentPragmas(context, sourceText) {\n      const pragmas = [];\n      for (const range of getLeadingCommentRanges(sourceText, 0) || emptyArray) {\n        const comment = sourceText.substring(range.pos, range.end);\n        extractPragmas(pragmas, range, comment);\n      }\n      context.pragmas = /* @__PURE__ */ new Map();\n      for (const pragma of pragmas) {\n        if (context.pragmas.has(pragma.name)) {\n          const currentValue = context.pragmas.get(pragma.name);\n          if (currentValue instanceof Array) {\n            currentValue.push(pragma.args);\n          } else {\n            context.pragmas.set(pragma.name, [currentValue, pragma.args]);\n          }\n          continue;\n        }\n        context.pragmas.set(pragma.name, pragma.args);\n      }\n    }\n    function processPragmasIntoFields(context, reportDiagnostic) {\n      context.checkJsDirective = void 0;\n      context.referencedFiles = [];\n      context.typeReferenceDirectives = [];\n      context.libReferenceDirectives = [];\n      context.amdDependencies = [];\n      context.hasNoDefaultLib = false;\n      context.pragmas.forEach((entryOrList, key) => {\n        switch (key) {\n          case \"reference\": {\n            const referencedFiles = context.referencedFiles;\n            const typeReferenceDirectives = context.typeReferenceDirectives;\n            const libReferenceDirectives = context.libReferenceDirectives;\n            forEach(toArray(entryOrList), (arg) => {\n              const { types, lib, path, [\"resolution-mode\"]: res } = arg.arguments;\n              if (arg.arguments[\"no-default-lib\"]) {\n                context.hasNoDefaultLib = true;\n              } else if (types) {\n                const parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic);\n                typeReferenceDirectives.push({ pos: types.pos, end: types.end, fileName: types.value, ...parsed ? { resolutionMode: parsed } : {} });\n              } else if (lib) {\n                libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value });\n              } else if (path) {\n                referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value });\n              } else {\n                reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax);\n              }\n            });\n            break;\n          }\n          case \"amd-dependency\": {\n            context.amdDependencies = map(\n              toArray(entryOrList),\n              (x) => ({ name: x.arguments.name, path: x.arguments.path })\n            );\n            break;\n          }\n          case \"amd-module\": {\n            if (entryOrList instanceof Array) {\n              for (const entry of entryOrList) {\n                if (context.moduleName) {\n                  reportDiagnostic(entry.range.pos, entry.range.end - entry.range.pos, Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments);\n                }\n                context.moduleName = entry.arguments.name;\n              }\n            } else {\n              context.moduleName = entryOrList.arguments.name;\n            }\n            break;\n          }\n          case \"ts-nocheck\":\n          case \"ts-check\": {\n            forEach(toArray(entryOrList), (entry) => {\n              if (!context.checkJsDirective || entry.range.pos > context.checkJsDirective.pos) {\n                context.checkJsDirective = {\n                  enabled: key === \"ts-check\",\n                  end: entry.range.end,\n                  pos: entry.range.pos\n                };\n              }\n            });\n            break;\n          }\n          case \"jsx\":\n          case \"jsxfrag\":\n          case \"jsximportsource\":\n          case \"jsxruntime\":\n            return;\n          default:\n            Debug2.fail(\"Unhandled pragma kind\");\n        }\n      });\n    }\n    function getNamedArgRegEx(name) {\n      if (namedArgRegExCache.has(name)) {\n        return namedArgRegExCache.get(name);\n      }\n      const result = new RegExp(`(\\\\s${name}\\\\s*=\\\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))`, \"im\");\n      namedArgRegExCache.set(name, result);\n      return result;\n    }\n    function extractPragmas(pragmas, range, text) {\n      const tripleSlash = range.kind === 2 && tripleSlashXMLCommentStartRegEx.exec(text);\n      if (tripleSlash) {\n        const name = tripleSlash[1].toLowerCase();\n        const pragma = commentPragmas[name];\n        if (!pragma || !(pragma.kind & 1)) {\n          return;\n        }\n        if (pragma.args) {\n          const argument = {};\n          for (const arg of pragma.args) {\n            const matcher = getNamedArgRegEx(arg.name);\n            const matchResult = matcher.exec(text);\n            if (!matchResult && !arg.optional) {\n              return;\n            } else if (matchResult) {\n              const value = matchResult[2] || matchResult[3];\n              if (arg.captureSpan) {\n                const startPos = range.pos + matchResult.index + matchResult[1].length + 1;\n                argument[arg.name] = {\n                  value,\n                  pos: startPos,\n                  end: startPos + value.length\n                };\n              } else {\n                argument[arg.name] = value;\n              }\n            }\n          }\n          pragmas.push({ name, args: { arguments: argument, range } });\n        } else {\n          pragmas.push({ name, args: { arguments: {}, range } });\n        }\n        return;\n      }\n      const singleLine = range.kind === 2 && singleLinePragmaRegEx.exec(text);\n      if (singleLine) {\n        return addPragmaForMatch(pragmas, range, 2, singleLine);\n      }\n      if (range.kind === 3) {\n        const multiLinePragmaRegEx = /@(\\S+)(\\s+.*)?$/gim;\n        let multiLineMatch;\n        while (multiLineMatch = multiLinePragmaRegEx.exec(text)) {\n          addPragmaForMatch(pragmas, range, 4, multiLineMatch);\n        }\n      }\n    }\n    function addPragmaForMatch(pragmas, range, kind, match) {\n      if (!match)\n        return;\n      const name = match[1].toLowerCase();\n      const pragma = commentPragmas[name];\n      if (!pragma || !(pragma.kind & kind)) {\n        return;\n      }\n      const args = match[2];\n      const argument = getNamedPragmaArguments(pragma, args);\n      if (argument === \"fail\")\n        return;\n      pragmas.push({ name, args: { arguments: argument, range } });\n      return;\n    }\n    function getNamedPragmaArguments(pragma, text) {\n      if (!text)\n        return {};\n      if (!pragma.args)\n        return {};\n      const args = trimString(text).split(/\\s+/);\n      const argMap = {};\n      for (let i = 0; i < pragma.args.length; i++) {\n        const argument = pragma.args[i];\n        if (!args[i] && !argument.optional) {\n          return \"fail\";\n        }\n        if (argument.captureSpan) {\n          return Debug2.fail(\"Capture spans not yet implemented for non-xml pragmas\");\n        }\n        argMap[argument.name] = args[i];\n      }\n      return argMap;\n    }\n    function tagNamesAreEquivalent(lhs, rhs) {\n      if (lhs.kind !== rhs.kind) {\n        return false;\n      }\n      if (lhs.kind === 79) {\n        return lhs.escapedText === rhs.escapedText;\n      }\n      if (lhs.kind === 108) {\n        return true;\n      }\n      return lhs.name.escapedText === rhs.name.escapedText && tagNamesAreEquivalent(lhs.expression, rhs.expression);\n    }\n    var NodeConstructor, TokenConstructor, IdentifierConstructor, PrivateIdentifierConstructor, SourceFileConstructor, parseBaseNodeFactory, parseNodeFactory, forEachChildTable, Parser, IncrementalParser, namedArgRegExCache, tripleSlashXMLCommentStartRegEx, singleLinePragmaRegEx;\n    var init_parser = __esm({\n      \"src/compiler/parser.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        init_ts_performance();\n        parseBaseNodeFactory = {\n          createBaseSourceFileNode: (kind) => new (SourceFileConstructor || (SourceFileConstructor = objectAllocator.getSourceFileConstructor()))(kind, -1, -1),\n          createBaseIdentifierNode: (kind) => new (IdentifierConstructor || (IdentifierConstructor = objectAllocator.getIdentifierConstructor()))(kind, -1, -1),\n          createBasePrivateIdentifierNode: (kind) => new (PrivateIdentifierConstructor || (PrivateIdentifierConstructor = objectAllocator.getPrivateIdentifierConstructor()))(kind, -1, -1),\n          createBaseTokenNode: (kind) => new (TokenConstructor || (TokenConstructor = objectAllocator.getTokenConstructor()))(kind, -1, -1),\n          createBaseNode: (kind) => new (NodeConstructor || (NodeConstructor = objectAllocator.getNodeConstructor()))(kind, -1, -1)\n        };\n        parseNodeFactory = createNodeFactory(1, parseBaseNodeFactory);\n        forEachChildTable = {\n          [\n            163\n            /* QualifiedName */\n          ]: function forEachChildInQualifiedName(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right);\n          },\n          [\n            165\n            /* TypeParameter */\n          ]: function forEachChildInTypeParameter(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.constraint) || visitNode2(cbNode, node.default) || visitNode2(cbNode, node.expression);\n          },\n          [\n            300\n            /* ShorthandPropertyAssignment */\n          ]: function forEachChildInShorthandPropertyAssignment(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.equalsToken) || visitNode2(cbNode, node.objectAssignmentInitializer);\n          },\n          [\n            301\n            /* SpreadAssignment */\n          ]: function forEachChildInSpreadAssignment(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            166\n            /* Parameter */\n          ]: function forEachChildInParameter(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            169\n            /* PropertyDeclaration */\n          ]: function forEachChildInPropertyDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            168\n            /* PropertySignature */\n          ]: function forEachChildInPropertySignature(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            299\n            /* PropertyAssignment */\n          ]: function forEachChildInPropertyAssignment(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            257\n            /* VariableDeclaration */\n          ]: function forEachChildInVariableDeclaration(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            205\n            /* BindingElement */\n          ]: function forEachChildInBindingElement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            178\n            /* IndexSignature */\n          ]: function forEachChildInIndexSignature(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n          },\n          [\n            182\n            /* ConstructorType */\n          ]: function forEachChildInConstructorType(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n          },\n          [\n            181\n            /* FunctionType */\n          ]: function forEachChildInFunctionType(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n          },\n          [\n            176\n            /* CallSignature */\n          ]: forEachChildInCallOrConstructSignature,\n          [\n            177\n            /* ConstructSignature */\n          ]: forEachChildInCallOrConstructSignature,\n          [\n            171\n            /* MethodDeclaration */\n          ]: function forEachChildInMethodDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n          },\n          [\n            170\n            /* MethodSignature */\n          ]: function forEachChildInMethodSignature(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n          },\n          [\n            173\n            /* Constructor */\n          ]: function forEachChildInConstructor(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n          },\n          [\n            174\n            /* GetAccessor */\n          ]: function forEachChildInGetAccessor(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n          },\n          [\n            175\n            /* SetAccessor */\n          ]: function forEachChildInSetAccessor(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n          },\n          [\n            259\n            /* FunctionDeclaration */\n          ]: function forEachChildInFunctionDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n          },\n          [\n            215\n            /* FunctionExpression */\n          ]: function forEachChildInFunctionExpression(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n          },\n          [\n            216\n            /* ArrowFunction */\n          ]: function forEachChildInArrowFunction(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.equalsGreaterThanToken) || visitNode2(cbNode, node.body);\n          },\n          [\n            172\n            /* ClassStaticBlockDeclaration */\n          ]: function forEachChildInClassStaticBlockDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.body);\n          },\n          [\n            180\n            /* TypeReference */\n          ]: function forEachChildInTypeReference(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.typeName) || visitNodes(cbNode, cbNodes, node.typeArguments);\n          },\n          [\n            179\n            /* TypePredicate */\n          ]: function forEachChildInTypePredicate(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.assertsModifier) || visitNode2(cbNode, node.parameterName) || visitNode2(cbNode, node.type);\n          },\n          [\n            183\n            /* TypeQuery */\n          ]: function forEachChildInTypeQuery(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.exprName) || visitNodes(cbNode, cbNodes, node.typeArguments);\n          },\n          [\n            184\n            /* TypeLiteral */\n          ]: function forEachChildInTypeLiteral(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.members);\n          },\n          [\n            185\n            /* ArrayType */\n          ]: function forEachChildInArrayType(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.elementType);\n          },\n          [\n            186\n            /* TupleType */\n          ]: function forEachChildInTupleType(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.elements);\n          },\n          [\n            189\n            /* UnionType */\n          ]: forEachChildInUnionOrIntersectionType,\n          [\n            190\n            /* IntersectionType */\n          ]: forEachChildInUnionOrIntersectionType,\n          [\n            191\n            /* ConditionalType */\n          ]: function forEachChildInConditionalType(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.checkType) || visitNode2(cbNode, node.extendsType) || visitNode2(cbNode, node.trueType) || visitNode2(cbNode, node.falseType);\n          },\n          [\n            192\n            /* InferType */\n          ]: function forEachChildInInferType(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.typeParameter);\n          },\n          [\n            202\n            /* ImportType */\n          ]: function forEachChildInImportType(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.argument) || visitNode2(cbNode, node.assertions) || visitNode2(cbNode, node.qualifier) || visitNodes(cbNode, cbNodes, node.typeArguments);\n          },\n          [\n            298\n            /* ImportTypeAssertionContainer */\n          ]: function forEachChildInImportTypeAssertionContainer(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.assertClause);\n          },\n          [\n            193\n            /* ParenthesizedType */\n          ]: forEachChildInParenthesizedTypeOrTypeOperator,\n          [\n            195\n            /* TypeOperator */\n          ]: forEachChildInParenthesizedTypeOrTypeOperator,\n          [\n            196\n            /* IndexedAccessType */\n          ]: function forEachChildInIndexedAccessType(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.objectType) || visitNode2(cbNode, node.indexType);\n          },\n          [\n            197\n            /* MappedType */\n          ]: function forEachChildInMappedType(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.readonlyToken) || visitNode2(cbNode, node.typeParameter) || visitNode2(cbNode, node.nameType) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNodes(cbNode, cbNodes, node.members);\n          },\n          [\n            198\n            /* LiteralType */\n          ]: function forEachChildInLiteralType(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.literal);\n          },\n          [\n            199\n            /* NamedTupleMember */\n          ]: function forEachChildInNamedTupleMember(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type);\n          },\n          [\n            203\n            /* ObjectBindingPattern */\n          ]: forEachChildInObjectOrArrayBindingPattern,\n          [\n            204\n            /* ArrayBindingPattern */\n          ]: forEachChildInObjectOrArrayBindingPattern,\n          [\n            206\n            /* ArrayLiteralExpression */\n          ]: function forEachChildInArrayLiteralExpression(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.elements);\n          },\n          [\n            207\n            /* ObjectLiteralExpression */\n          ]: function forEachChildInObjectLiteralExpression(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.properties);\n          },\n          [\n            208\n            /* PropertyAccessExpression */\n          ]: function forEachChildInPropertyAccessExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.name);\n          },\n          [\n            209\n            /* ElementAccessExpression */\n          ]: function forEachChildInElementAccessExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.argumentExpression);\n          },\n          [\n            210\n            /* CallExpression */\n          ]: forEachChildInCallOrNewExpression,\n          [\n            211\n            /* NewExpression */\n          ]: forEachChildInCallOrNewExpression,\n          [\n            212\n            /* TaggedTemplateExpression */\n          ]: function forEachChildInTaggedTemplateExpression(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tag) || visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.template);\n          },\n          [\n            213\n            /* TypeAssertionExpression */\n          ]: function forEachChildInTypeAssertionExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.expression);\n          },\n          [\n            214\n            /* ParenthesizedExpression */\n          ]: function forEachChildInParenthesizedExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            217\n            /* DeleteExpression */\n          ]: function forEachChildInDeleteExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            218\n            /* TypeOfExpression */\n          ]: function forEachChildInTypeOfExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            219\n            /* VoidExpression */\n          ]: function forEachChildInVoidExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            221\n            /* PrefixUnaryExpression */\n          ]: function forEachChildInPrefixUnaryExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.operand);\n          },\n          [\n            226\n            /* YieldExpression */\n          ]: function forEachChildInYieldExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.expression);\n          },\n          [\n            220\n            /* AwaitExpression */\n          ]: function forEachChildInAwaitExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            222\n            /* PostfixUnaryExpression */\n          ]: function forEachChildInPostfixUnaryExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.operand);\n          },\n          [\n            223\n            /* BinaryExpression */\n          ]: function forEachChildInBinaryExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.operatorToken) || visitNode2(cbNode, node.right);\n          },\n          [\n            231\n            /* AsExpression */\n          ]: function forEachChildInAsExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type);\n          },\n          [\n            232\n            /* NonNullExpression */\n          ]: function forEachChildInNonNullExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            235\n            /* SatisfiesExpression */\n          ]: function forEachChildInSatisfiesExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type);\n          },\n          [\n            233\n            /* MetaProperty */\n          ]: function forEachChildInMetaProperty(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name);\n          },\n          [\n            224\n            /* ConditionalExpression */\n          ]: function forEachChildInConditionalExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.whenTrue) || visitNode2(cbNode, node.colonToken) || visitNode2(cbNode, node.whenFalse);\n          },\n          [\n            227\n            /* SpreadElement */\n          ]: function forEachChildInSpreadElement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            238\n            /* Block */\n          ]: forEachChildInBlock,\n          [\n            265\n            /* ModuleBlock */\n          ]: forEachChildInBlock,\n          [\n            308\n            /* SourceFile */\n          ]: function forEachChildInSourceFile(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.statements) || visitNode2(cbNode, node.endOfFileToken);\n          },\n          [\n            240\n            /* VariableStatement */\n          ]: function forEachChildInVariableStatement(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.declarationList);\n          },\n          [\n            258\n            /* VariableDeclarationList */\n          ]: function forEachChildInVariableDeclarationList(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.declarations);\n          },\n          [\n            241\n            /* ExpressionStatement */\n          ]: function forEachChildInExpressionStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            242\n            /* IfStatement */\n          ]: function forEachChildInIfStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.thenStatement) || visitNode2(cbNode, node.elseStatement);\n          },\n          [\n            243\n            /* DoStatement */\n          ]: function forEachChildInDoStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.statement) || visitNode2(cbNode, node.expression);\n          },\n          [\n            244\n            /* WhileStatement */\n          ]: function forEachChildInWhileStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n          },\n          [\n            245\n            /* ForStatement */\n          ]: function forEachChildInForStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.incrementor) || visitNode2(cbNode, node.statement);\n          },\n          [\n            246\n            /* ForInStatement */\n          ]: function forEachChildInForInStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n          },\n          [\n            247\n            /* ForOfStatement */\n          ]: function forEachChildInForOfStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.awaitModifier) || visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n          },\n          [\n            248\n            /* ContinueStatement */\n          ]: forEachChildInContinueOrBreakStatement,\n          [\n            249\n            /* BreakStatement */\n          ]: forEachChildInContinueOrBreakStatement,\n          [\n            250\n            /* ReturnStatement */\n          ]: function forEachChildInReturnStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            251\n            /* WithStatement */\n          ]: function forEachChildInWithStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n          },\n          [\n            252\n            /* SwitchStatement */\n          ]: function forEachChildInSwitchStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.caseBlock);\n          },\n          [\n            266\n            /* CaseBlock */\n          ]: function forEachChildInCaseBlock(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.clauses);\n          },\n          [\n            292\n            /* CaseClause */\n          ]: function forEachChildInCaseClause(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.statements);\n          },\n          [\n            293\n            /* DefaultClause */\n          ]: function forEachChildInDefaultClause(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.statements);\n          },\n          [\n            253\n            /* LabeledStatement */\n          ]: function forEachChildInLabeledStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.label) || visitNode2(cbNode, node.statement);\n          },\n          [\n            254\n            /* ThrowStatement */\n          ]: function forEachChildInThrowStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            255\n            /* TryStatement */\n          ]: function forEachChildInTryStatement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.tryBlock) || visitNode2(cbNode, node.catchClause) || visitNode2(cbNode, node.finallyBlock);\n          },\n          [\n            295\n            /* CatchClause */\n          ]: function forEachChildInCatchClause(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.variableDeclaration) || visitNode2(cbNode, node.block);\n          },\n          [\n            167\n            /* Decorator */\n          ]: function forEachChildInDecorator(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            260\n            /* ClassDeclaration */\n          ]: forEachChildInClassDeclarationOrExpression,\n          [\n            228\n            /* ClassExpression */\n          ]: forEachChildInClassDeclarationOrExpression,\n          [\n            261\n            /* InterfaceDeclaration */\n          ]: function forEachChildInInterfaceDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members);\n          },\n          [\n            262\n            /* TypeAliasDeclaration */\n          ]: function forEachChildInTypeAliasDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNode2(cbNode, node.type);\n          },\n          [\n            263\n            /* EnumDeclaration */\n          ]: function forEachChildInEnumDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.members);\n          },\n          [\n            302\n            /* EnumMember */\n          ]: function forEachChildInEnumMember(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            264\n            /* ModuleDeclaration */\n          ]: function forEachChildInModuleDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.body);\n          },\n          [\n            268\n            /* ImportEqualsDeclaration */\n          ]: function forEachChildInImportEqualsDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.moduleReference);\n          },\n          [\n            269\n            /* ImportDeclaration */\n          ]: function forEachChildInImportDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.importClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.assertClause);\n          },\n          [\n            270\n            /* ImportClause */\n          ]: function forEachChildInImportClause(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.namedBindings);\n          },\n          [\n            296\n            /* AssertClause */\n          ]: function forEachChildInAssertClause(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.elements);\n          },\n          [\n            297\n            /* AssertEntry */\n          ]: function forEachChildInAssertEntry(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.value);\n          },\n          [\n            267\n            /* NamespaceExportDeclaration */\n          ]: function forEachChildInNamespaceExportDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name);\n          },\n          [\n            271\n            /* NamespaceImport */\n          ]: function forEachChildInNamespaceImport(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name);\n          },\n          [\n            277\n            /* NamespaceExport */\n          ]: function forEachChildInNamespaceExport(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name);\n          },\n          [\n            272\n            /* NamedImports */\n          ]: forEachChildInNamedImportsOrExports,\n          [\n            276\n            /* NamedExports */\n          ]: forEachChildInNamedImportsOrExports,\n          [\n            275\n            /* ExportDeclaration */\n          ]: function forEachChildInExportDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.exportClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.assertClause);\n          },\n          [\n            273\n            /* ImportSpecifier */\n          ]: forEachChildInImportOrExportSpecifier,\n          [\n            278\n            /* ExportSpecifier */\n          ]: forEachChildInImportOrExportSpecifier,\n          [\n            274\n            /* ExportAssignment */\n          ]: function forEachChildInExportAssignment(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.expression);\n          },\n          [\n            225\n            /* TemplateExpression */\n          ]: function forEachChildInTemplateExpression(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans);\n          },\n          [\n            236\n            /* TemplateSpan */\n          ]: function forEachChildInTemplateSpan(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.literal);\n          },\n          [\n            200\n            /* TemplateLiteralType */\n          ]: function forEachChildInTemplateLiteralType(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans);\n          },\n          [\n            201\n            /* TemplateLiteralTypeSpan */\n          ]: function forEachChildInTemplateLiteralTypeSpan(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.literal);\n          },\n          [\n            164\n            /* ComputedPropertyName */\n          ]: function forEachChildInComputedPropertyName(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            294\n            /* HeritageClause */\n          ]: function forEachChildInHeritageClause(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.types);\n          },\n          [\n            230\n            /* ExpressionWithTypeArguments */\n          ]: function forEachChildInExpressionWithTypeArguments(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.typeArguments);\n          },\n          [\n            280\n            /* ExternalModuleReference */\n          ]: function forEachChildInExternalModuleReference(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            279\n            /* MissingDeclaration */\n          ]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.modifiers);\n          },\n          [\n            357\n            /* CommaListExpression */\n          ]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.elements);\n          },\n          [\n            281\n            /* JsxElement */\n          ]: function forEachChildInJsxElement(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.openingElement) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingElement);\n          },\n          [\n            285\n            /* JsxFragment */\n          ]: function forEachChildInJsxFragment(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.openingFragment) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingFragment);\n          },\n          [\n            282\n            /* JsxSelfClosingElement */\n          ]: forEachChildInJsxOpeningOrSelfClosingElement,\n          [\n            283\n            /* JsxOpeningElement */\n          ]: forEachChildInJsxOpeningOrSelfClosingElement,\n          [\n            289\n            /* JsxAttributes */\n          ]: function forEachChildInJsxAttributes(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.properties);\n          },\n          [\n            288\n            /* JsxAttribute */\n          ]: function forEachChildInJsxAttribute(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer);\n          },\n          [\n            290\n            /* JsxSpreadAttribute */\n          ]: function forEachChildInJsxSpreadAttribute(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.expression);\n          },\n          [\n            291\n            /* JsxExpression */\n          ]: function forEachChildInJsxExpression(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.expression);\n          },\n          [\n            284\n            /* JsxClosingElement */\n          ]: function forEachChildInJsxClosingElement(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.tagName);\n          },\n          [\n            187\n            /* OptionalType */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            188\n            /* RestType */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            312\n            /* JSDocTypeExpression */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            318\n            /* JSDocNonNullableType */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            317\n            /* JSDocNullableType */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            319\n            /* JSDocOptionalType */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            321\n            /* JSDocVariadicType */\n          ]: forEachChildInOptionalRestOrJSDocParameterModifier,\n          [\n            320\n            /* JSDocFunctionType */\n          ]: function forEachChildInJSDocFunctionType(node, cbNode, cbNodes) {\n            return visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n          },\n          [\n            323\n            /* JSDoc */\n          ]: function forEachChildInJSDoc(node, cbNode, cbNodes) {\n            return (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) || visitNodes(cbNode, cbNodes, node.tags);\n          },\n          [\n            350\n            /* JSDocSeeTag */\n          ]: function forEachChildInJSDocSeeTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.name) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n          },\n          [\n            313\n            /* JSDocNameReference */\n          ]: function forEachChildInJSDocNameReference(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.name);\n          },\n          [\n            314\n            /* JSDocMemberName */\n          ]: function forEachChildInJSDocMemberName(node, cbNode, _cbNodes) {\n            return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right);\n          },\n          [\n            344\n            /* JSDocParameterTag */\n          ]: forEachChildInJSDocParameterOrPropertyTag,\n          [\n            351\n            /* JSDocPropertyTag */\n          ]: forEachChildInJSDocParameterOrPropertyTag,\n          [\n            333\n            /* JSDocAuthorTag */\n          ]: function forEachChildInJSDocAuthorTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n          },\n          [\n            332\n            /* JSDocImplementsTag */\n          ]: function forEachChildInJSDocImplementsTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n          },\n          [\n            331\n            /* JSDocAugmentsTag */\n          ]: function forEachChildInJSDocAugmentsTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n          },\n          [\n            348\n            /* JSDocTemplateTag */\n          ]: function forEachChildInJSDocTemplateTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.constraint) || visitNodes(cbNode, cbNodes, node.typeParameters) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n          },\n          [\n            349\n            /* JSDocTypedefTag */\n          ]: function forEachChildInJSDocTypedefTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || (node.typeExpression && node.typeExpression.kind === 312 ? visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.fullName) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) : visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)));\n          },\n          [\n            341\n            /* JSDocCallbackTag */\n          ]: function forEachChildInJSDocCallbackTag(node, cbNode, cbNodes) {\n            return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n          },\n          [\n            345\n            /* JSDocReturnTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            347\n            /* JSDocTypeTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            346\n            /* JSDocThisTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            343\n            /* JSDocEnumTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            353\n            /* JSDocSatisfiesTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            352\n            /* JSDocThrowsTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            342\n            /* JSDocOverloadTag */\n          ]: forEachChildInJSDocTypeLikeTag,\n          [\n            326\n            /* JSDocSignature */\n          ]: function forEachChildInJSDocSignature(node, cbNode, _cbNodes) {\n            return forEach(node.typeParameters, cbNode) || forEach(node.parameters, cbNode) || visitNode2(cbNode, node.type);\n          },\n          [\n            327\n            /* JSDocLink */\n          ]: forEachChildInJSDocLinkCodeOrPlain,\n          [\n            328\n            /* JSDocLinkCode */\n          ]: forEachChildInJSDocLinkCodeOrPlain,\n          [\n            329\n            /* JSDocLinkPlain */\n          ]: forEachChildInJSDocLinkCodeOrPlain,\n          [\n            325\n            /* JSDocTypeLiteral */\n          ]: function forEachChildInJSDocTypeLiteral(node, cbNode, _cbNodes) {\n            return forEach(node.jsDocPropertyTags, cbNode);\n          },\n          [\n            330\n            /* JSDocTag */\n          ]: forEachChildInJSDocTag,\n          [\n            335\n            /* JSDocClassTag */\n          ]: forEachChildInJSDocTag,\n          [\n            336\n            /* JSDocPublicTag */\n          ]: forEachChildInJSDocTag,\n          [\n            337\n            /* JSDocPrivateTag */\n          ]: forEachChildInJSDocTag,\n          [\n            338\n            /* JSDocProtectedTag */\n          ]: forEachChildInJSDocTag,\n          [\n            339\n            /* JSDocReadonlyTag */\n          ]: forEachChildInJSDocTag,\n          [\n            334\n            /* JSDocDeprecatedTag */\n          ]: forEachChildInJSDocTag,\n          [\n            340\n            /* JSDocOverrideTag */\n          ]: forEachChildInJSDocTag,\n          [\n            356\n            /* PartiallyEmittedExpression */\n          ]: forEachChildInPartiallyEmittedExpression\n        };\n        ((Parser2) => {\n          var scanner2 = createScanner(\n            99,\n            /*skipTrivia*/\n            true\n          );\n          var disallowInAndDecoratorContext = 4096 | 16384;\n          var NodeConstructor2;\n          var TokenConstructor2;\n          var IdentifierConstructor2;\n          var PrivateIdentifierConstructor2;\n          var SourceFileConstructor2;\n          function countNode(node) {\n            nodeCount++;\n            return node;\n          }\n          var baseNodeFactory = {\n            createBaseSourceFileNode: (kind) => countNode(new SourceFileConstructor2(\n              kind,\n              /*pos*/\n              0,\n              /*end*/\n              0\n            )),\n            createBaseIdentifierNode: (kind) => countNode(new IdentifierConstructor2(\n              kind,\n              /*pos*/\n              0,\n              /*end*/\n              0\n            )),\n            createBasePrivateIdentifierNode: (kind) => countNode(new PrivateIdentifierConstructor2(\n              kind,\n              /*pos*/\n              0,\n              /*end*/\n              0\n            )),\n            createBaseTokenNode: (kind) => countNode(new TokenConstructor2(\n              kind,\n              /*pos*/\n              0,\n              /*end*/\n              0\n            )),\n            createBaseNode: (kind) => countNode(new NodeConstructor2(\n              kind,\n              /*pos*/\n              0,\n              /*end*/\n              0\n            ))\n          };\n          var factory2 = createNodeFactory(1 | 2 | 8, baseNodeFactory);\n          var {\n            createNodeArray: factoryCreateNodeArray,\n            createNumericLiteral: factoryCreateNumericLiteral,\n            createStringLiteral: factoryCreateStringLiteral,\n            createLiteralLikeNode: factoryCreateLiteralLikeNode,\n            createIdentifier: factoryCreateIdentifier,\n            createPrivateIdentifier: factoryCreatePrivateIdentifier,\n            createToken: factoryCreateToken,\n            createArrayLiteralExpression: factoryCreateArrayLiteralExpression,\n            createObjectLiteralExpression: factoryCreateObjectLiteralExpression,\n            createPropertyAccessExpression: factoryCreatePropertyAccessExpression,\n            createPropertyAccessChain: factoryCreatePropertyAccessChain,\n            createElementAccessExpression: factoryCreateElementAccessExpression,\n            createElementAccessChain: factoryCreateElementAccessChain,\n            createCallExpression: factoryCreateCallExpression,\n            createCallChain: factoryCreateCallChain,\n            createNewExpression: factoryCreateNewExpression,\n            createParenthesizedExpression: factoryCreateParenthesizedExpression,\n            createBlock: factoryCreateBlock,\n            createVariableStatement: factoryCreateVariableStatement,\n            createExpressionStatement: factoryCreateExpressionStatement,\n            createIfStatement: factoryCreateIfStatement,\n            createWhileStatement: factoryCreateWhileStatement,\n            createForStatement: factoryCreateForStatement,\n            createForOfStatement: factoryCreateForOfStatement,\n            createVariableDeclaration: factoryCreateVariableDeclaration,\n            createVariableDeclarationList: factoryCreateVariableDeclarationList\n          } = factory2;\n          var fileName;\n          var sourceFlags;\n          var sourceText;\n          var languageVersion;\n          var scriptKind;\n          var languageVariant;\n          var parseDiagnostics;\n          var jsDocDiagnostics;\n          var syntaxCursor;\n          var currentToken;\n          var nodeCount;\n          var identifiers;\n          var identifierCount;\n          var parsingContext;\n          var notParenthesizedArrow;\n          var contextFlags;\n          var topLevel = true;\n          var parseErrorBeforeNextFinishedNode = false;\n          function parseSourceFile(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes = false, scriptKind2, setExternalModuleIndicatorOverride) {\n            var _a22;\n            scriptKind2 = ensureScriptKind(fileName2, scriptKind2);\n            if (scriptKind2 === 6) {\n              const result2 = parseJsonText2(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes);\n              convertToObjectWorker(\n                result2,\n                (_a22 = result2.statements[0]) == null ? void 0 : _a22.expression,\n                result2.parseDiagnostics,\n                /*returnValue*/\n                false,\n                /*knownRootOptions*/\n                void 0,\n                /*jsonConversionNotifier*/\n                void 0\n              );\n              result2.referencedFiles = emptyArray;\n              result2.typeReferenceDirectives = emptyArray;\n              result2.libReferenceDirectives = emptyArray;\n              result2.amdDependencies = emptyArray;\n              result2.hasNoDefaultLib = false;\n              result2.pragmas = emptyMap;\n              return result2;\n            }\n            initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, scriptKind2);\n            const result = parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicatorOverride || setExternalModuleIndicator);\n            clearState();\n            return result;\n          }\n          Parser2.parseSourceFile = parseSourceFile;\n          function parseIsolatedEntityName2(content, languageVersion2) {\n            initializeState(\n              \"\",\n              content,\n              languageVersion2,\n              /*syntaxCursor*/\n              void 0,\n              1\n              /* JS */\n            );\n            nextToken();\n            const entityName = parseEntityName(\n              /*allowReservedWords*/\n              true\n            );\n            const isInvalid = token() === 1 && !parseDiagnostics.length;\n            clearState();\n            return isInvalid ? entityName : void 0;\n          }\n          Parser2.parseIsolatedEntityName = parseIsolatedEntityName2;\n          function parseJsonText2(fileName2, sourceText2, languageVersion2 = 2, syntaxCursor2, setParentNodes = false) {\n            initializeState(\n              fileName2,\n              sourceText2,\n              languageVersion2,\n              syntaxCursor2,\n              6\n              /* JSON */\n            );\n            sourceFlags = contextFlags;\n            nextToken();\n            const pos = getNodePos();\n            let statements, endOfFileToken;\n            if (token() === 1) {\n              statements = createNodeArray([], pos, pos);\n              endOfFileToken = parseTokenNode();\n            } else {\n              let expressions;\n              while (token() !== 1) {\n                let expression2;\n                switch (token()) {\n                  case 22:\n                    expression2 = parseArrayLiteralExpression();\n                    break;\n                  case 110:\n                  case 95:\n                  case 104:\n                    expression2 = parseTokenNode();\n                    break;\n                  case 40:\n                    if (lookAhead(\n                      () => nextToken() === 8 && nextToken() !== 58\n                      /* ColonToken */\n                    )) {\n                      expression2 = parsePrefixUnaryExpression();\n                    } else {\n                      expression2 = parseObjectLiteralExpression();\n                    }\n                    break;\n                  case 8:\n                  case 10:\n                    if (lookAhead(\n                      () => nextToken() !== 58\n                      /* ColonToken */\n                    )) {\n                      expression2 = parseLiteralNode();\n                      break;\n                    }\n                  default:\n                    expression2 = parseObjectLiteralExpression();\n                    break;\n                }\n                if (expressions && isArray(expressions)) {\n                  expressions.push(expression2);\n                } else if (expressions) {\n                  expressions = [expressions, expression2];\n                } else {\n                  expressions = expression2;\n                  if (token() !== 1) {\n                    parseErrorAtCurrentToken(Diagnostics.Unexpected_token);\n                  }\n                }\n              }\n              const expression = isArray(expressions) ? finishNode(factoryCreateArrayLiteralExpression(expressions), pos) : Debug2.checkDefined(expressions);\n              const statement = factoryCreateExpressionStatement(expression);\n              finishNode(statement, pos);\n              statements = createNodeArray([statement], pos);\n              endOfFileToken = parseExpectedToken(1, Diagnostics.Unexpected_token);\n            }\n            const sourceFile = createSourceFile2(\n              fileName2,\n              2,\n              6,\n              /*isDeclaration*/\n              false,\n              statements,\n              endOfFileToken,\n              sourceFlags,\n              noop\n            );\n            if (setParentNodes) {\n              fixupParentReferences(sourceFile);\n            }\n            sourceFile.nodeCount = nodeCount;\n            sourceFile.identifierCount = identifierCount;\n            sourceFile.identifiers = identifiers;\n            sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n            if (jsDocDiagnostics) {\n              sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile);\n            }\n            const result = sourceFile;\n            clearState();\n            return result;\n          }\n          Parser2.parseJsonText = parseJsonText2;\n          function initializeState(_fileName, _sourceText, _languageVersion, _syntaxCursor, _scriptKind) {\n            NodeConstructor2 = objectAllocator.getNodeConstructor();\n            TokenConstructor2 = objectAllocator.getTokenConstructor();\n            IdentifierConstructor2 = objectAllocator.getIdentifierConstructor();\n            PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor();\n            SourceFileConstructor2 = objectAllocator.getSourceFileConstructor();\n            fileName = normalizePath(_fileName);\n            sourceText = _sourceText;\n            languageVersion = _languageVersion;\n            syntaxCursor = _syntaxCursor;\n            scriptKind = _scriptKind;\n            languageVariant = getLanguageVariant(_scriptKind);\n            parseDiagnostics = [];\n            parsingContext = 0;\n            identifiers = /* @__PURE__ */ new Map();\n            identifierCount = 0;\n            nodeCount = 0;\n            sourceFlags = 0;\n            topLevel = true;\n            switch (scriptKind) {\n              case 1:\n              case 2:\n                contextFlags = 262144;\n                break;\n              case 6:\n                contextFlags = 262144 | 67108864;\n                break;\n              default:\n                contextFlags = 0;\n                break;\n            }\n            parseErrorBeforeNextFinishedNode = false;\n            scanner2.setText(sourceText);\n            scanner2.setOnError(scanError);\n            scanner2.setScriptTarget(languageVersion);\n            scanner2.setLanguageVariant(languageVariant);\n          }\n          function clearState() {\n            scanner2.clearCommentDirectives();\n            scanner2.setText(\"\");\n            scanner2.setOnError(void 0);\n            sourceText = void 0;\n            languageVersion = void 0;\n            syntaxCursor = void 0;\n            scriptKind = void 0;\n            languageVariant = void 0;\n            sourceFlags = 0;\n            parseDiagnostics = void 0;\n            jsDocDiagnostics = void 0;\n            parsingContext = 0;\n            identifiers = void 0;\n            notParenthesizedArrow = void 0;\n            topLevel = true;\n          }\n          function parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicator2) {\n            const isDeclarationFile = isDeclarationFileName(fileName);\n            if (isDeclarationFile) {\n              contextFlags |= 16777216;\n            }\n            sourceFlags = contextFlags;\n            nextToken();\n            const statements = parseList(0, parseStatement);\n            Debug2.assert(\n              token() === 1\n              /* EndOfFileToken */\n            );\n            const endOfFileToken = addJSDocComment(parseTokenNode());\n            const sourceFile = createSourceFile2(fileName, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, sourceFlags, setExternalModuleIndicator2);\n            processCommentPragmas(sourceFile, sourceText);\n            processPragmasIntoFields(sourceFile, reportPragmaDiagnostic);\n            sourceFile.commentDirectives = scanner2.getCommentDirectives();\n            sourceFile.nodeCount = nodeCount;\n            sourceFile.identifierCount = identifierCount;\n            sourceFile.identifiers = identifiers;\n            sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n            if (jsDocDiagnostics) {\n              sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile);\n            }\n            if (setParentNodes) {\n              fixupParentReferences(sourceFile);\n            }\n            return sourceFile;\n            function reportPragmaDiagnostic(pos, end, diagnostic) {\n              parseDiagnostics.push(createDetachedDiagnostic(fileName, pos, end, diagnostic));\n            }\n          }\n          function withJSDoc(node, hasJSDoc) {\n            return hasJSDoc ? addJSDocComment(node) : node;\n          }\n          let hasDeprecatedTag = false;\n          function addJSDocComment(node) {\n            Debug2.assert(!node.jsDoc);\n            const jsDoc = mapDefined(getJSDocCommentRanges(node, sourceText), (comment) => JSDocParser.parseJSDocComment(node, comment.pos, comment.end - comment.pos));\n            if (jsDoc.length)\n              node.jsDoc = jsDoc;\n            if (hasDeprecatedTag) {\n              hasDeprecatedTag = false;\n              node.flags |= 268435456;\n            }\n            return node;\n          }\n          function reparseTopLevelAwait(sourceFile) {\n            const savedSyntaxCursor = syntaxCursor;\n            const baseSyntaxCursor = IncrementalParser.createSyntaxCursor(sourceFile);\n            syntaxCursor = { currentNode: currentNode2 };\n            const statements = [];\n            const savedParseDiagnostics = parseDiagnostics;\n            parseDiagnostics = [];\n            let pos = 0;\n            let start = findNextStatementWithAwait(sourceFile.statements, 0);\n            while (start !== -1) {\n              const prevStatement = sourceFile.statements[pos];\n              const nextStatement = sourceFile.statements[start];\n              addRange(statements, sourceFile.statements, pos, start);\n              pos = findNextStatementWithoutAwait(sourceFile.statements, start);\n              const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos);\n              const diagnosticEnd = diagnosticStart >= 0 ? findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= nextStatement.pos, diagnosticStart) : -1;\n              if (diagnosticStart >= 0) {\n                addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart, diagnosticEnd >= 0 ? diagnosticEnd : void 0);\n              }\n              speculationHelper(\n                () => {\n                  const savedContextFlags = contextFlags;\n                  contextFlags |= 32768;\n                  scanner2.setTextPos(nextStatement.pos);\n                  nextToken();\n                  while (token() !== 1) {\n                    const startPos = scanner2.getStartPos();\n                    const statement = parseListElement(0, parseStatement);\n                    statements.push(statement);\n                    if (startPos === scanner2.getStartPos()) {\n                      nextToken();\n                    }\n                    if (pos >= 0) {\n                      const nonAwaitStatement = sourceFile.statements[pos];\n                      if (statement.end === nonAwaitStatement.pos) {\n                        break;\n                      }\n                      if (statement.end > nonAwaitStatement.pos) {\n                        pos = findNextStatementWithoutAwait(sourceFile.statements, pos + 1);\n                      }\n                    }\n                  }\n                  contextFlags = savedContextFlags;\n                },\n                2\n                /* Reparse */\n              );\n              start = pos >= 0 ? findNextStatementWithAwait(sourceFile.statements, pos) : -1;\n            }\n            if (pos >= 0) {\n              const prevStatement = sourceFile.statements[pos];\n              addRange(statements, sourceFile.statements, pos);\n              const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos);\n              if (diagnosticStart >= 0) {\n                addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart);\n              }\n            }\n            syntaxCursor = savedSyntaxCursor;\n            return factory2.updateSourceFile(sourceFile, setTextRange(factoryCreateNodeArray(statements), sourceFile.statements));\n            function containsPossibleTopLevelAwait(node) {\n              return !(node.flags & 32768) && !!(node.transformFlags & 67108864);\n            }\n            function findNextStatementWithAwait(statements2, start2) {\n              for (let i = start2; i < statements2.length; i++) {\n                if (containsPossibleTopLevelAwait(statements2[i])) {\n                  return i;\n                }\n              }\n              return -1;\n            }\n            function findNextStatementWithoutAwait(statements2, start2) {\n              for (let i = start2; i < statements2.length; i++) {\n                if (!containsPossibleTopLevelAwait(statements2[i])) {\n                  return i;\n                }\n              }\n              return -1;\n            }\n            function currentNode2(position) {\n              const node = baseSyntaxCursor.currentNode(position);\n              if (topLevel && node && containsPossibleTopLevelAwait(node)) {\n                node.intersectsChange = true;\n              }\n              return node;\n            }\n          }\n          function fixupParentReferences(rootNode) {\n            setParentRecursive(\n              rootNode,\n              /*incremental*/\n              true\n            );\n          }\n          Parser2.fixupParentReferences = fixupParentReferences;\n          function createSourceFile2(fileName2, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, flags, setExternalModuleIndicator2) {\n            let sourceFile = factory2.createSourceFile(statements, endOfFileToken, flags);\n            setTextRangePosWidth(sourceFile, 0, sourceText.length);\n            setFields(sourceFile);\n            if (!isDeclarationFile && isExternalModule(sourceFile) && sourceFile.transformFlags & 67108864) {\n              sourceFile = reparseTopLevelAwait(sourceFile);\n              setFields(sourceFile);\n            }\n            return sourceFile;\n            function setFields(sourceFile2) {\n              sourceFile2.text = sourceText;\n              sourceFile2.bindDiagnostics = [];\n              sourceFile2.bindSuggestionDiagnostics = void 0;\n              sourceFile2.languageVersion = languageVersion2;\n              sourceFile2.fileName = fileName2;\n              sourceFile2.languageVariant = getLanguageVariant(scriptKind2);\n              sourceFile2.isDeclarationFile = isDeclarationFile;\n              sourceFile2.scriptKind = scriptKind2;\n              setExternalModuleIndicator2(sourceFile2);\n              sourceFile2.setExternalModuleIndicator = setExternalModuleIndicator2;\n            }\n          }\n          function setContextFlag(val, flag) {\n            if (val) {\n              contextFlags |= flag;\n            } else {\n              contextFlags &= ~flag;\n            }\n          }\n          function setDisallowInContext(val) {\n            setContextFlag(\n              val,\n              4096\n              /* DisallowInContext */\n            );\n          }\n          function setYieldContext(val) {\n            setContextFlag(\n              val,\n              8192\n              /* YieldContext */\n            );\n          }\n          function setDecoratorContext(val) {\n            setContextFlag(\n              val,\n              16384\n              /* DecoratorContext */\n            );\n          }\n          function setAwaitContext(val) {\n            setContextFlag(\n              val,\n              32768\n              /* AwaitContext */\n            );\n          }\n          function doOutsideOfContext(context, func) {\n            const contextFlagsToClear = context & contextFlags;\n            if (contextFlagsToClear) {\n              setContextFlag(\n                /*val*/\n                false,\n                contextFlagsToClear\n              );\n              const result = func();\n              setContextFlag(\n                /*val*/\n                true,\n                contextFlagsToClear\n              );\n              return result;\n            }\n            return func();\n          }\n          function doInsideOfContext(context, func) {\n            const contextFlagsToSet = context & ~contextFlags;\n            if (contextFlagsToSet) {\n              setContextFlag(\n                /*val*/\n                true,\n                contextFlagsToSet\n              );\n              const result = func();\n              setContextFlag(\n                /*val*/\n                false,\n                contextFlagsToSet\n              );\n              return result;\n            }\n            return func();\n          }\n          function allowInAnd(func) {\n            return doOutsideOfContext(4096, func);\n          }\n          function disallowInAnd(func) {\n            return doInsideOfContext(4096, func);\n          }\n          function allowConditionalTypesAnd(func) {\n            return doOutsideOfContext(65536, func);\n          }\n          function disallowConditionalTypesAnd(func) {\n            return doInsideOfContext(65536, func);\n          }\n          function doInYieldContext(func) {\n            return doInsideOfContext(8192, func);\n          }\n          function doInDecoratorContext(func) {\n            return doInsideOfContext(16384, func);\n          }\n          function doInAwaitContext(func) {\n            return doInsideOfContext(32768, func);\n          }\n          function doOutsideOfAwaitContext(func) {\n            return doOutsideOfContext(32768, func);\n          }\n          function doInYieldAndAwaitContext(func) {\n            return doInsideOfContext(8192 | 32768, func);\n          }\n          function doOutsideOfYieldAndAwaitContext(func) {\n            return doOutsideOfContext(8192 | 32768, func);\n          }\n          function inContext(flags) {\n            return (contextFlags & flags) !== 0;\n          }\n          function inYieldContext() {\n            return inContext(\n              8192\n              /* YieldContext */\n            );\n          }\n          function inDisallowInContext() {\n            return inContext(\n              4096\n              /* DisallowInContext */\n            );\n          }\n          function inDisallowConditionalTypesContext() {\n            return inContext(\n              65536\n              /* DisallowConditionalTypesContext */\n            );\n          }\n          function inDecoratorContext() {\n            return inContext(\n              16384\n              /* DecoratorContext */\n            );\n          }\n          function inAwaitContext() {\n            return inContext(\n              32768\n              /* AwaitContext */\n            );\n          }\n          function parseErrorAtCurrentToken(message, arg0) {\n            return parseErrorAt(scanner2.getTokenPos(), scanner2.getTextPos(), message, arg0);\n          }\n          function parseErrorAtPosition(start, length2, message, arg0) {\n            const lastError = lastOrUndefined(parseDiagnostics);\n            let result;\n            if (!lastError || start !== lastError.start) {\n              result = createDetachedDiagnostic(fileName, start, length2, message, arg0);\n              parseDiagnostics.push(result);\n            }\n            parseErrorBeforeNextFinishedNode = true;\n            return result;\n          }\n          function parseErrorAt(start, end, message, arg0) {\n            return parseErrorAtPosition(start, end - start, message, arg0);\n          }\n          function parseErrorAtRange(range, message, arg0) {\n            parseErrorAt(range.pos, range.end, message, arg0);\n          }\n          function scanError(message, length2) {\n            parseErrorAtPosition(scanner2.getTextPos(), length2, message);\n          }\n          function getNodePos() {\n            return scanner2.getStartPos();\n          }\n          function hasPrecedingJSDocComment() {\n            return scanner2.hasPrecedingJSDocComment();\n          }\n          function token() {\n            return currentToken;\n          }\n          function nextTokenWithoutCheck() {\n            return currentToken = scanner2.scan();\n          }\n          function nextTokenAnd(func) {\n            nextToken();\n            return func();\n          }\n          function nextToken() {\n            if (isKeyword(currentToken) && (scanner2.hasUnicodeEscape() || scanner2.hasExtendedUnicodeEscape())) {\n              parseErrorAt(scanner2.getTokenPos(), scanner2.getTextPos(), Diagnostics.Keywords_cannot_contain_escape_characters);\n            }\n            return nextTokenWithoutCheck();\n          }\n          function nextTokenJSDoc() {\n            return currentToken = scanner2.scanJsDocToken();\n          }\n          function reScanGreaterToken() {\n            return currentToken = scanner2.reScanGreaterToken();\n          }\n          function reScanSlashToken() {\n            return currentToken = scanner2.reScanSlashToken();\n          }\n          function reScanTemplateToken(isTaggedTemplate) {\n            return currentToken = scanner2.reScanTemplateToken(isTaggedTemplate);\n          }\n          function reScanTemplateHeadOrNoSubstitutionTemplate() {\n            return currentToken = scanner2.reScanTemplateHeadOrNoSubstitutionTemplate();\n          }\n          function reScanLessThanToken() {\n            return currentToken = scanner2.reScanLessThanToken();\n          }\n          function reScanHashToken() {\n            return currentToken = scanner2.reScanHashToken();\n          }\n          function scanJsxIdentifier() {\n            return currentToken = scanner2.scanJsxIdentifier();\n          }\n          function scanJsxText() {\n            return currentToken = scanner2.scanJsxToken();\n          }\n          function scanJsxAttributeValue() {\n            return currentToken = scanner2.scanJsxAttributeValue();\n          }\n          function speculationHelper(callback, speculationKind) {\n            const saveToken = currentToken;\n            const saveParseDiagnosticsLength = parseDiagnostics.length;\n            const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode;\n            const saveContextFlags = contextFlags;\n            const result = speculationKind !== 0 ? scanner2.lookAhead(callback) : scanner2.tryScan(callback);\n            Debug2.assert(saveContextFlags === contextFlags);\n            if (!result || speculationKind !== 0) {\n              currentToken = saveToken;\n              if (speculationKind !== 2) {\n                parseDiagnostics.length = saveParseDiagnosticsLength;\n              }\n              parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode;\n            }\n            return result;\n          }\n          function lookAhead(callback) {\n            return speculationHelper(\n              callback,\n              1\n              /* Lookahead */\n            );\n          }\n          function tryParse(callback) {\n            return speculationHelper(\n              callback,\n              0\n              /* TryParse */\n            );\n          }\n          function isBindingIdentifier() {\n            if (token() === 79) {\n              return true;\n            }\n            return token() > 116;\n          }\n          function isIdentifier2() {\n            if (token() === 79) {\n              return true;\n            }\n            if (token() === 125 && inYieldContext()) {\n              return false;\n            }\n            if (token() === 133 && inAwaitContext()) {\n              return false;\n            }\n            return token() > 116;\n          }\n          function parseExpected(kind, diagnosticMessage, shouldAdvance = true) {\n            if (token() === kind) {\n              if (shouldAdvance) {\n                nextToken();\n              }\n              return true;\n            }\n            if (diagnosticMessage) {\n              parseErrorAtCurrentToken(diagnosticMessage);\n            } else {\n              parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind));\n            }\n            return false;\n          }\n          const viableKeywordSuggestions = Object.keys(textToKeywordObj).filter((keyword) => keyword.length > 2);\n          function parseErrorForMissingSemicolonAfter(node) {\n            var _a22;\n            if (isTaggedTemplateExpression(node)) {\n              parseErrorAt(skipTrivia(sourceText, node.template.pos), node.template.end, Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);\n              return;\n            }\n            const expressionText = isIdentifier(node) ? idText(node) : void 0;\n            if (!expressionText || !isIdentifierText(expressionText, languageVersion)) {\n              parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(\n                26\n                /* SemicolonToken */\n              ));\n              return;\n            }\n            const pos = skipTrivia(sourceText, node.pos);\n            switch (expressionText) {\n              case \"const\":\n              case \"let\":\n              case \"var\":\n                parseErrorAt(pos, node.end, Diagnostics.Variable_declaration_not_allowed_at_this_location);\n                return;\n              case \"declare\":\n                return;\n              case \"interface\":\n                parseErrorForInvalidName(\n                  Diagnostics.Interface_name_cannot_be_0,\n                  Diagnostics.Interface_must_be_given_a_name,\n                  18\n                  /* OpenBraceToken */\n                );\n                return;\n              case \"is\":\n                parseErrorAt(pos, scanner2.getTextPos(), Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);\n                return;\n              case \"module\":\n              case \"namespace\":\n                parseErrorForInvalidName(\n                  Diagnostics.Namespace_name_cannot_be_0,\n                  Diagnostics.Namespace_must_be_given_a_name,\n                  18\n                  /* OpenBraceToken */\n                );\n                return;\n              case \"type\":\n                parseErrorForInvalidName(\n                  Diagnostics.Type_alias_name_cannot_be_0,\n                  Diagnostics.Type_alias_must_be_given_a_name,\n                  63\n                  /* EqualsToken */\n                );\n                return;\n            }\n            const suggestion = (_a22 = getSpellingSuggestion(expressionText, viableKeywordSuggestions, (n) => n)) != null ? _a22 : getSpaceSuggestion(expressionText);\n            if (suggestion) {\n              parseErrorAt(pos, node.end, Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0, suggestion);\n              return;\n            }\n            if (token() === 0) {\n              return;\n            }\n            parseErrorAt(pos, node.end, Diagnostics.Unexpected_keyword_or_identifier);\n          }\n          function parseErrorForInvalidName(nameDiagnostic, blankDiagnostic, tokenIfBlankName) {\n            if (token() === tokenIfBlankName) {\n              parseErrorAtCurrentToken(blankDiagnostic);\n            } else {\n              parseErrorAtCurrentToken(nameDiagnostic, scanner2.getTokenValue());\n            }\n          }\n          function getSpaceSuggestion(expressionText) {\n            for (const keyword of viableKeywordSuggestions) {\n              if (expressionText.length > keyword.length + 2 && startsWith(expressionText, keyword)) {\n                return `${keyword} ${expressionText.slice(keyword.length)}`;\n              }\n            }\n            return void 0;\n          }\n          function parseSemicolonAfterPropertyName(name, type, initializer) {\n            if (token() === 59 && !scanner2.hasPrecedingLineBreak()) {\n              parseErrorAtCurrentToken(Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);\n              return;\n            }\n            if (token() === 20) {\n              parseErrorAtCurrentToken(Diagnostics.Cannot_start_a_function_call_in_a_type_annotation);\n              nextToken();\n              return;\n            }\n            if (type && !canParseSemicolon()) {\n              if (initializer) {\n                parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(\n                  26\n                  /* SemicolonToken */\n                ));\n              } else {\n                parseErrorAtCurrentToken(Diagnostics.Expected_for_property_initializer);\n              }\n              return;\n            }\n            if (tryParseSemicolon()) {\n              return;\n            }\n            if (initializer) {\n              parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(\n                26\n                /* SemicolonToken */\n              ));\n              return;\n            }\n            parseErrorForMissingSemicolonAfter(name);\n          }\n          function parseExpectedJSDoc(kind) {\n            if (token() === kind) {\n              nextTokenJSDoc();\n              return true;\n            }\n            parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind));\n            return false;\n          }\n          function parseExpectedMatchingBrackets(openKind, closeKind, openParsed, openPosition) {\n            if (token() === closeKind) {\n              nextToken();\n              return;\n            }\n            const lastError = parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(closeKind));\n            if (!openParsed) {\n              return;\n            }\n            if (lastError) {\n              addRelatedInfo(\n                lastError,\n                createDetachedDiagnostic(fileName, openPosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, tokenToString(openKind), tokenToString(closeKind))\n              );\n            }\n          }\n          function parseOptional(t) {\n            if (token() === t) {\n              nextToken();\n              return true;\n            }\n            return false;\n          }\n          function parseOptionalToken(t) {\n            if (token() === t) {\n              return parseTokenNode();\n            }\n            return void 0;\n          }\n          function parseOptionalTokenJSDoc(t) {\n            if (token() === t) {\n              return parseTokenNodeJSDoc();\n            }\n            return void 0;\n          }\n          function parseExpectedToken(t, diagnosticMessage, arg0) {\n            return parseOptionalToken(t) || createMissingNode(\n              t,\n              /*reportAtCurrentPosition*/\n              false,\n              diagnosticMessage || Diagnostics._0_expected,\n              arg0 || tokenToString(t)\n            );\n          }\n          function parseExpectedTokenJSDoc(t) {\n            return parseOptionalTokenJSDoc(t) || createMissingNode(\n              t,\n              /*reportAtCurrentPosition*/\n              false,\n              Diagnostics._0_expected,\n              tokenToString(t)\n            );\n          }\n          function parseTokenNode() {\n            const pos = getNodePos();\n            const kind = token();\n            nextToken();\n            return finishNode(factoryCreateToken(kind), pos);\n          }\n          function parseTokenNodeJSDoc() {\n            const pos = getNodePos();\n            const kind = token();\n            nextTokenJSDoc();\n            return finishNode(factoryCreateToken(kind), pos);\n          }\n          function canParseSemicolon() {\n            if (token() === 26) {\n              return true;\n            }\n            return token() === 19 || token() === 1 || scanner2.hasPrecedingLineBreak();\n          }\n          function tryParseSemicolon() {\n            if (!canParseSemicolon()) {\n              return false;\n            }\n            if (token() === 26) {\n              nextToken();\n            }\n            return true;\n          }\n          function parseSemicolon() {\n            return tryParseSemicolon() || parseExpected(\n              26\n              /* SemicolonToken */\n            );\n          }\n          function createNodeArray(elements, pos, end, hasTrailingComma) {\n            const array = factoryCreateNodeArray(elements, hasTrailingComma);\n            setTextRangePosEnd(array, pos, end != null ? end : scanner2.getStartPos());\n            return array;\n          }\n          function finishNode(node, pos, end) {\n            setTextRangePosEnd(node, pos, end != null ? end : scanner2.getStartPos());\n            if (contextFlags) {\n              node.flags |= contextFlags;\n            }\n            if (parseErrorBeforeNextFinishedNode) {\n              parseErrorBeforeNextFinishedNode = false;\n              node.flags |= 131072;\n            }\n            return node;\n          }\n          function createMissingNode(kind, reportAtCurrentPosition, diagnosticMessage, arg0) {\n            if (reportAtCurrentPosition) {\n              parseErrorAtPosition(scanner2.getStartPos(), 0, diagnosticMessage, arg0);\n            } else if (diagnosticMessage) {\n              parseErrorAtCurrentToken(diagnosticMessage, arg0);\n            }\n            const pos = getNodePos();\n            const result = kind === 79 ? factoryCreateIdentifier(\n              \"\",\n              /*originalKeywordKind*/\n              void 0\n            ) : isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode(\n              kind,\n              \"\",\n              \"\",\n              /*templateFlags*/\n              void 0\n            ) : kind === 8 ? factoryCreateNumericLiteral(\n              \"\",\n              /*numericLiteralFlags*/\n              void 0\n            ) : kind === 10 ? factoryCreateStringLiteral(\n              \"\",\n              /*isSingleQuote*/\n              void 0\n            ) : kind === 279 ? factory2.createMissingDeclaration() : factoryCreateToken(kind);\n            return finishNode(result, pos);\n          }\n          function internIdentifier(text) {\n            let identifier = identifiers.get(text);\n            if (identifier === void 0) {\n              identifiers.set(text, identifier = text);\n            }\n            return identifier;\n          }\n          function createIdentifier(isIdentifier3, diagnosticMessage, privateIdentifierDiagnosticMessage) {\n            if (isIdentifier3) {\n              identifierCount++;\n              const pos = getNodePos();\n              const originalKeywordKind = token();\n              const text = internIdentifier(scanner2.getTokenValue());\n              const hasExtendedUnicodeEscape = scanner2.hasExtendedUnicodeEscape();\n              nextTokenWithoutCheck();\n              return finishNode(factoryCreateIdentifier(text, originalKeywordKind, hasExtendedUnicodeEscape), pos);\n            }\n            if (token() === 80) {\n              parseErrorAtCurrentToken(privateIdentifierDiagnosticMessage || Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n              return createIdentifier(\n                /*isIdentifier*/\n                true\n              );\n            }\n            if (token() === 0 && scanner2.tryScan(\n              () => scanner2.reScanInvalidIdentifier() === 79\n              /* Identifier */\n            )) {\n              return createIdentifier(\n                /*isIdentifier*/\n                true\n              );\n            }\n            identifierCount++;\n            const reportAtCurrentPosition = token() === 1;\n            const isReservedWord = scanner2.isReservedWord();\n            const msgArg = scanner2.getTokenText();\n            const defaultMessage = isReservedWord ? Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here : Diagnostics.Identifier_expected;\n            return createMissingNode(79, reportAtCurrentPosition, diagnosticMessage || defaultMessage, msgArg);\n          }\n          function parseBindingIdentifier(privateIdentifierDiagnosticMessage) {\n            return createIdentifier(\n              isBindingIdentifier(),\n              /*diagnosticMessage*/\n              void 0,\n              privateIdentifierDiagnosticMessage\n            );\n          }\n          function parseIdentifier(diagnosticMessage, privateIdentifierDiagnosticMessage) {\n            return createIdentifier(isIdentifier2(), diagnosticMessage, privateIdentifierDiagnosticMessage);\n          }\n          function parseIdentifierName(diagnosticMessage) {\n            return createIdentifier(tokenIsIdentifierOrKeyword(token()), diagnosticMessage);\n          }\n          function isLiteralPropertyName() {\n            return tokenIsIdentifierOrKeyword(token()) || token() === 10 || token() === 8;\n          }\n          function isAssertionKey2() {\n            return tokenIsIdentifierOrKeyword(token()) || token() === 10;\n          }\n          function parsePropertyNameWorker(allowComputedPropertyNames) {\n            if (token() === 10 || token() === 8) {\n              const node = parseLiteralNode();\n              node.text = internIdentifier(node.text);\n              return node;\n            }\n            if (allowComputedPropertyNames && token() === 22) {\n              return parseComputedPropertyName();\n            }\n            if (token() === 80) {\n              return parsePrivateIdentifier();\n            }\n            return parseIdentifierName();\n          }\n          function parsePropertyName() {\n            return parsePropertyNameWorker(\n              /*allowComputedPropertyNames*/\n              true\n            );\n          }\n          function parseComputedPropertyName() {\n            const pos = getNodePos();\n            parseExpected(\n              22\n              /* OpenBracketToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpected(\n              23\n              /* CloseBracketToken */\n            );\n            return finishNode(factory2.createComputedPropertyName(expression), pos);\n          }\n          function parsePrivateIdentifier() {\n            const pos = getNodePos();\n            const node = factoryCreatePrivateIdentifier(internIdentifier(scanner2.getTokenValue()));\n            nextToken();\n            return finishNode(node, pos);\n          }\n          function parseContextualModifier(t) {\n            return token() === t && tryParse(nextTokenCanFollowModifier);\n          }\n          function nextTokenIsOnSameLineAndCanFollowModifier() {\n            nextToken();\n            if (scanner2.hasPrecedingLineBreak()) {\n              return false;\n            }\n            return canFollowModifier();\n          }\n          function nextTokenCanFollowModifier() {\n            switch (token()) {\n              case 85:\n                return nextToken() === 92;\n              case 93:\n                nextToken();\n                if (token() === 88) {\n                  return lookAhead(nextTokenCanFollowDefaultKeyword);\n                }\n                if (token() === 154) {\n                  return lookAhead(nextTokenCanFollowExportModifier);\n                }\n                return canFollowExportModifier();\n              case 88:\n                return nextTokenCanFollowDefaultKeyword();\n              case 124:\n              case 137:\n              case 151:\n                nextToken();\n                return canFollowModifier();\n              default:\n                return nextTokenIsOnSameLineAndCanFollowModifier();\n            }\n          }\n          function canFollowExportModifier() {\n            return token() === 59 || token() !== 41 && token() !== 128 && token() !== 18 && canFollowModifier();\n          }\n          function nextTokenCanFollowExportModifier() {\n            nextToken();\n            return canFollowExportModifier();\n          }\n          function parseAnyContextualModifier() {\n            return isModifierKind(token()) && tryParse(nextTokenCanFollowModifier);\n          }\n          function canFollowModifier() {\n            return token() === 22 || token() === 18 || token() === 41 || token() === 25 || isLiteralPropertyName();\n          }\n          function nextTokenCanFollowDefaultKeyword() {\n            nextToken();\n            return token() === 84 || token() === 98 || token() === 118 || token() === 59 || token() === 126 && lookAhead(nextTokenIsClassKeywordOnSameLine) || token() === 132 && lookAhead(nextTokenIsFunctionKeywordOnSameLine);\n          }\n          function isListElement2(parsingContext2, inErrorRecovery) {\n            const node = currentNode(parsingContext2);\n            if (node) {\n              return true;\n            }\n            switch (parsingContext2) {\n              case 0:\n              case 1:\n              case 3:\n                return !(token() === 26 && inErrorRecovery) && isStartOfStatement();\n              case 2:\n                return token() === 82 || token() === 88;\n              case 4:\n                return lookAhead(isTypeMemberStart);\n              case 5:\n                return lookAhead(isClassMemberStart) || token() === 26 && !inErrorRecovery;\n              case 6:\n                return token() === 22 || isLiteralPropertyName();\n              case 12:\n                switch (token()) {\n                  case 22:\n                  case 41:\n                  case 25:\n                  case 24:\n                    return true;\n                  default:\n                    return isLiteralPropertyName();\n                }\n              case 18:\n                return isLiteralPropertyName();\n              case 9:\n                return token() === 22 || token() === 25 || isLiteralPropertyName();\n              case 24:\n                return isAssertionKey2();\n              case 7:\n                if (token() === 18) {\n                  return lookAhead(isValidHeritageClauseObjectLiteral);\n                }\n                if (!inErrorRecovery) {\n                  return isStartOfLeftHandSideExpression() && !isHeritageClauseExtendsOrImplementsKeyword();\n                } else {\n                  return isIdentifier2() && !isHeritageClauseExtendsOrImplementsKeyword();\n                }\n              case 8:\n                return isBindingIdentifierOrPrivateIdentifierOrPattern();\n              case 10:\n                return token() === 27 || token() === 25 || isBindingIdentifierOrPrivateIdentifierOrPattern();\n              case 19:\n                return token() === 101 || token() === 85 || isIdentifier2();\n              case 15:\n                switch (token()) {\n                  case 27:\n                  case 24:\n                    return true;\n                }\n              case 11:\n                return token() === 25 || isStartOfExpression();\n              case 16:\n                return isStartOfParameter(\n                  /*isJSDocParameter*/\n                  false\n                );\n              case 17:\n                return isStartOfParameter(\n                  /*isJSDocParameter*/\n                  true\n                );\n              case 20:\n              case 21:\n                return token() === 27 || isStartOfType();\n              case 22:\n                return isHeritageClause2();\n              case 23:\n                return tokenIsIdentifierOrKeyword(token());\n              case 13:\n                return tokenIsIdentifierOrKeyword(token()) || token() === 18;\n              case 14:\n                return true;\n            }\n            return Debug2.fail(\"Non-exhaustive case in 'isListElement'.\");\n          }\n          function isValidHeritageClauseObjectLiteral() {\n            Debug2.assert(\n              token() === 18\n              /* OpenBraceToken */\n            );\n            if (nextToken() === 19) {\n              const next = nextToken();\n              return next === 27 || next === 18 || next === 94 || next === 117;\n            }\n            return true;\n          }\n          function nextTokenIsIdentifier() {\n            nextToken();\n            return isIdentifier2();\n          }\n          function nextTokenIsIdentifierOrKeyword() {\n            nextToken();\n            return tokenIsIdentifierOrKeyword(token());\n          }\n          function nextTokenIsIdentifierOrKeywordOrGreaterThan() {\n            nextToken();\n            return tokenIsIdentifierOrKeywordOrGreaterThan(token());\n          }\n          function isHeritageClauseExtendsOrImplementsKeyword() {\n            if (token() === 117 || token() === 94) {\n              return lookAhead(nextTokenIsStartOfExpression);\n            }\n            return false;\n          }\n          function nextTokenIsStartOfExpression() {\n            nextToken();\n            return isStartOfExpression();\n          }\n          function nextTokenIsStartOfType() {\n            nextToken();\n            return isStartOfType();\n          }\n          function isListTerminator(kind) {\n            if (token() === 1) {\n              return true;\n            }\n            switch (kind) {\n              case 1:\n              case 2:\n              case 4:\n              case 5:\n              case 6:\n              case 12:\n              case 9:\n              case 23:\n              case 24:\n                return token() === 19;\n              case 3:\n                return token() === 19 || token() === 82 || token() === 88;\n              case 7:\n                return token() === 18 || token() === 94 || token() === 117;\n              case 8:\n                return isVariableDeclaratorListTerminator();\n              case 19:\n                return token() === 31 || token() === 20 || token() === 18 || token() === 94 || token() === 117;\n              case 11:\n                return token() === 21 || token() === 26;\n              case 15:\n              case 21:\n              case 10:\n                return token() === 23;\n              case 17:\n              case 16:\n              case 18:\n                return token() === 21 || token() === 23;\n              case 20:\n                return token() !== 27;\n              case 22:\n                return token() === 18 || token() === 19;\n              case 13:\n                return token() === 31 || token() === 43;\n              case 14:\n                return token() === 29 && lookAhead(nextTokenIsSlash);\n              default:\n                return false;\n            }\n          }\n          function isVariableDeclaratorListTerminator() {\n            if (canParseSemicolon()) {\n              return true;\n            }\n            if (isInOrOfKeyword(token())) {\n              return true;\n            }\n            if (token() === 38) {\n              return true;\n            }\n            return false;\n          }\n          function isInSomeParsingContext() {\n            for (let kind = 0; kind < 25; kind++) {\n              if (parsingContext & 1 << kind) {\n                if (isListElement2(\n                  kind,\n                  /*inErrorRecovery*/\n                  true\n                ) || isListTerminator(kind)) {\n                  return true;\n                }\n              }\n            }\n            return false;\n          }\n          function parseList(kind, parseElement) {\n            const saveParsingContext = parsingContext;\n            parsingContext |= 1 << kind;\n            const list = [];\n            const listPos = getNodePos();\n            while (!isListTerminator(kind)) {\n              if (isListElement2(\n                kind,\n                /*inErrorRecovery*/\n                false\n              )) {\n                list.push(parseListElement(kind, parseElement));\n                continue;\n              }\n              if (abortParsingListOrMoveToNextToken(kind)) {\n                break;\n              }\n            }\n            parsingContext = saveParsingContext;\n            return createNodeArray(list, listPos);\n          }\n          function parseListElement(parsingContext2, parseElement) {\n            const node = currentNode(parsingContext2);\n            if (node) {\n              return consumeNode(node);\n            }\n            return parseElement();\n          }\n          function currentNode(parsingContext2, pos) {\n            var _a22;\n            if (!syntaxCursor || !isReusableParsingContext(parsingContext2) || parseErrorBeforeNextFinishedNode) {\n              return void 0;\n            }\n            const node = syntaxCursor.currentNode(pos != null ? pos : scanner2.getStartPos());\n            if (nodeIsMissing(node) || node.intersectsChange || containsParseError(node)) {\n              return void 0;\n            }\n            const nodeContextFlags = node.flags & 50720768;\n            if (nodeContextFlags !== contextFlags) {\n              return void 0;\n            }\n            if (!canReuseNode(node, parsingContext2)) {\n              return void 0;\n            }\n            if (canHaveJSDoc(node) && ((_a22 = node.jsDoc) == null ? void 0 : _a22.jsDocCache)) {\n              node.jsDoc.jsDocCache = void 0;\n            }\n            return node;\n          }\n          function consumeNode(node) {\n            scanner2.setTextPos(node.end);\n            nextToken();\n            return node;\n          }\n          function isReusableParsingContext(parsingContext2) {\n            switch (parsingContext2) {\n              case 5:\n              case 2:\n              case 0:\n              case 1:\n              case 3:\n              case 6:\n              case 4:\n              case 8:\n              case 17:\n              case 16:\n                return true;\n            }\n            return false;\n          }\n          function canReuseNode(node, parsingContext2) {\n            switch (parsingContext2) {\n              case 5:\n                return isReusableClassMember(node);\n              case 2:\n                return isReusableSwitchClause(node);\n              case 0:\n              case 1:\n              case 3:\n                return isReusableStatement(node);\n              case 6:\n                return isReusableEnumMember(node);\n              case 4:\n                return isReusableTypeMember(node);\n              case 8:\n                return isReusableVariableDeclaration(node);\n              case 17:\n              case 16:\n                return isReusableParameter(node);\n            }\n            return false;\n          }\n          function isReusableClassMember(node) {\n            if (node) {\n              switch (node.kind) {\n                case 173:\n                case 178:\n                case 174:\n                case 175:\n                case 169:\n                case 237:\n                  return true;\n                case 171:\n                  const methodDeclaration = node;\n                  const nameIsConstructor = methodDeclaration.name.kind === 79 && methodDeclaration.name.escapedText === \"constructor\";\n                  return !nameIsConstructor;\n              }\n            }\n            return false;\n          }\n          function isReusableSwitchClause(node) {\n            if (node) {\n              switch (node.kind) {\n                case 292:\n                case 293:\n                  return true;\n              }\n            }\n            return false;\n          }\n          function isReusableStatement(node) {\n            if (node) {\n              switch (node.kind) {\n                case 259:\n                case 240:\n                case 238:\n                case 242:\n                case 241:\n                case 254:\n                case 250:\n                case 252:\n                case 249:\n                case 248:\n                case 246:\n                case 247:\n                case 245:\n                case 244:\n                case 251:\n                case 239:\n                case 255:\n                case 253:\n                case 243:\n                case 256:\n                case 269:\n                case 268:\n                case 275:\n                case 274:\n                case 264:\n                case 260:\n                case 261:\n                case 263:\n                case 262:\n                  return true;\n              }\n            }\n            return false;\n          }\n          function isReusableEnumMember(node) {\n            return node.kind === 302;\n          }\n          function isReusableTypeMember(node) {\n            if (node) {\n              switch (node.kind) {\n                case 177:\n                case 170:\n                case 178:\n                case 168:\n                case 176:\n                  return true;\n              }\n            }\n            return false;\n          }\n          function isReusableVariableDeclaration(node) {\n            if (node.kind !== 257) {\n              return false;\n            }\n            const variableDeclarator = node;\n            return variableDeclarator.initializer === void 0;\n          }\n          function isReusableParameter(node) {\n            if (node.kind !== 166) {\n              return false;\n            }\n            const parameter = node;\n            return parameter.initializer === void 0;\n          }\n          function abortParsingListOrMoveToNextToken(kind) {\n            parsingContextErrors(kind);\n            if (isInSomeParsingContext()) {\n              return true;\n            }\n            nextToken();\n            return false;\n          }\n          function parsingContextErrors(context) {\n            switch (context) {\n              case 0:\n                return token() === 88 ? parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(\n                  93\n                  /* ExportKeyword */\n                )) : parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected);\n              case 1:\n                return parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected);\n              case 2:\n                return parseErrorAtCurrentToken(Diagnostics.case_or_default_expected);\n              case 3:\n                return parseErrorAtCurrentToken(Diagnostics.Statement_expected);\n              case 18:\n              case 4:\n                return parseErrorAtCurrentToken(Diagnostics.Property_or_signature_expected);\n              case 5:\n                return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);\n              case 6:\n                return parseErrorAtCurrentToken(Diagnostics.Enum_member_expected);\n              case 7:\n                return parseErrorAtCurrentToken(Diagnostics.Expression_expected);\n              case 8:\n                return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Variable_declaration_expected);\n              case 9:\n                return parseErrorAtCurrentToken(Diagnostics.Property_destructuring_pattern_expected);\n              case 10:\n                return parseErrorAtCurrentToken(Diagnostics.Array_element_destructuring_pattern_expected);\n              case 11:\n                return parseErrorAtCurrentToken(Diagnostics.Argument_expression_expected);\n              case 12:\n                return parseErrorAtCurrentToken(Diagnostics.Property_assignment_expected);\n              case 15:\n                return parseErrorAtCurrentToken(Diagnostics.Expression_or_comma_expected);\n              case 17:\n                return parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected);\n              case 16:\n                return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_parameter_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected);\n              case 19:\n                return parseErrorAtCurrentToken(Diagnostics.Type_parameter_declaration_expected);\n              case 20:\n                return parseErrorAtCurrentToken(Diagnostics.Type_argument_expected);\n              case 21:\n                return parseErrorAtCurrentToken(Diagnostics.Type_expected);\n              case 22:\n                return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_expected);\n              case 23:\n                return parseErrorAtCurrentToken(Diagnostics.Identifier_expected);\n              case 13:\n                return parseErrorAtCurrentToken(Diagnostics.Identifier_expected);\n              case 14:\n                return parseErrorAtCurrentToken(Diagnostics.Identifier_expected);\n              case 24:\n                return parseErrorAtCurrentToken(Diagnostics.Identifier_or_string_literal_expected);\n              case 25:\n                return Debug2.fail(\"ParsingContext.Count used as a context\");\n              default:\n                Debug2.assertNever(context);\n            }\n          }\n          function parseDelimitedList(kind, parseElement, considerSemicolonAsDelimiter) {\n            const saveParsingContext = parsingContext;\n            parsingContext |= 1 << kind;\n            const list = [];\n            const listPos = getNodePos();\n            let commaStart = -1;\n            while (true) {\n              if (isListElement2(\n                kind,\n                /*inErrorRecovery*/\n                false\n              )) {\n                const startPos = scanner2.getStartPos();\n                const result = parseListElement(kind, parseElement);\n                if (!result) {\n                  parsingContext = saveParsingContext;\n                  return void 0;\n                }\n                list.push(result);\n                commaStart = scanner2.getTokenPos();\n                if (parseOptional(\n                  27\n                  /* CommaToken */\n                )) {\n                  continue;\n                }\n                commaStart = -1;\n                if (isListTerminator(kind)) {\n                  break;\n                }\n                parseExpected(27, getExpectedCommaDiagnostic(kind));\n                if (considerSemicolonAsDelimiter && token() === 26 && !scanner2.hasPrecedingLineBreak()) {\n                  nextToken();\n                }\n                if (startPos === scanner2.getStartPos()) {\n                  nextToken();\n                }\n                continue;\n              }\n              if (isListTerminator(kind)) {\n                break;\n              }\n              if (abortParsingListOrMoveToNextToken(kind)) {\n                break;\n              }\n            }\n            parsingContext = saveParsingContext;\n            return createNodeArray(\n              list,\n              listPos,\n              /*end*/\n              void 0,\n              commaStart >= 0\n            );\n          }\n          function getExpectedCommaDiagnostic(kind) {\n            return kind === 6 ? Diagnostics.An_enum_member_name_must_be_followed_by_a_or : void 0;\n          }\n          function createMissingList() {\n            const list = createNodeArray([], getNodePos());\n            list.isMissingList = true;\n            return list;\n          }\n          function isMissingList(arr) {\n            return !!arr.isMissingList;\n          }\n          function parseBracketedList(kind, parseElement, open, close) {\n            if (parseExpected(open)) {\n              const result = parseDelimitedList(kind, parseElement);\n              parseExpected(close);\n              return result;\n            }\n            return createMissingList();\n          }\n          function parseEntityName(allowReservedWords, diagnosticMessage) {\n            const pos = getNodePos();\n            let entity = allowReservedWords ? parseIdentifierName(diagnosticMessage) : parseIdentifier(diagnosticMessage);\n            while (parseOptional(\n              24\n              /* DotToken */\n            )) {\n              if (token() === 29) {\n                break;\n              }\n              entity = finishNode(\n                factory2.createQualifiedName(\n                  entity,\n                  parseRightSideOfDot(\n                    allowReservedWords,\n                    /* allowPrivateIdentifiers */\n                    false\n                  )\n                ),\n                pos\n              );\n            }\n            return entity;\n          }\n          function createQualifiedName(entity, name) {\n            return finishNode(factory2.createQualifiedName(entity, name), entity.pos);\n          }\n          function parseRightSideOfDot(allowIdentifierNames, allowPrivateIdentifiers) {\n            if (scanner2.hasPrecedingLineBreak() && tokenIsIdentifierOrKeyword(token())) {\n              const matchesPattern = lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);\n              if (matchesPattern) {\n                return createMissingNode(\n                  79,\n                  /*reportAtCurrentPosition*/\n                  true,\n                  Diagnostics.Identifier_expected\n                );\n              }\n            }\n            if (token() === 80) {\n              const node = parsePrivateIdentifier();\n              return allowPrivateIdentifiers ? node : createMissingNode(\n                79,\n                /*reportAtCurrentPosition*/\n                true,\n                Diagnostics.Identifier_expected\n              );\n            }\n            return allowIdentifierNames ? parseIdentifierName() : parseIdentifier();\n          }\n          function parseTemplateSpans(isTaggedTemplate) {\n            const pos = getNodePos();\n            const list = [];\n            let node;\n            do {\n              node = parseTemplateSpan(isTaggedTemplate);\n              list.push(node);\n            } while (node.literal.kind === 16);\n            return createNodeArray(list, pos);\n          }\n          function parseTemplateExpression(isTaggedTemplate) {\n            const pos = getNodePos();\n            return finishNode(\n              factory2.createTemplateExpression(\n                parseTemplateHead(isTaggedTemplate),\n                parseTemplateSpans(isTaggedTemplate)\n              ),\n              pos\n            );\n          }\n          function parseTemplateType() {\n            const pos = getNodePos();\n            return finishNode(\n              factory2.createTemplateLiteralType(\n                parseTemplateHead(\n                  /*isTaggedTemplate*/\n                  false\n                ),\n                parseTemplateTypeSpans()\n              ),\n              pos\n            );\n          }\n          function parseTemplateTypeSpans() {\n            const pos = getNodePos();\n            const list = [];\n            let node;\n            do {\n              node = parseTemplateTypeSpan();\n              list.push(node);\n            } while (node.literal.kind === 16);\n            return createNodeArray(list, pos);\n          }\n          function parseTemplateTypeSpan() {\n            const pos = getNodePos();\n            return finishNode(\n              factory2.createTemplateLiteralTypeSpan(\n                parseType(),\n                parseLiteralOfTemplateSpan(\n                  /*isTaggedTemplate*/\n                  false\n                )\n              ),\n              pos\n            );\n          }\n          function parseLiteralOfTemplateSpan(isTaggedTemplate) {\n            if (token() === 19) {\n              reScanTemplateToken(isTaggedTemplate);\n              return parseTemplateMiddleOrTemplateTail();\n            } else {\n              return parseExpectedToken(17, Diagnostics._0_expected, tokenToString(\n                19\n                /* CloseBraceToken */\n              ));\n            }\n          }\n          function parseTemplateSpan(isTaggedTemplate) {\n            const pos = getNodePos();\n            return finishNode(\n              factory2.createTemplateSpan(\n                allowInAnd(parseExpression),\n                parseLiteralOfTemplateSpan(isTaggedTemplate)\n              ),\n              pos\n            );\n          }\n          function parseLiteralNode() {\n            return parseLiteralLikeNode(token());\n          }\n          function parseTemplateHead(isTaggedTemplate) {\n            if (isTaggedTemplate) {\n              reScanTemplateHeadOrNoSubstitutionTemplate();\n            }\n            const fragment = parseLiteralLikeNode(token());\n            Debug2.assert(fragment.kind === 15, \"Template head has wrong token kind\");\n            return fragment;\n          }\n          function parseTemplateMiddleOrTemplateTail() {\n            const fragment = parseLiteralLikeNode(token());\n            Debug2.assert(fragment.kind === 16 || fragment.kind === 17, \"Template fragment has wrong token kind\");\n            return fragment;\n          }\n          function getTemplateLiteralRawText(kind) {\n            const isLast = kind === 14 || kind === 17;\n            const tokenText = scanner2.getTokenText();\n            return tokenText.substring(1, tokenText.length - (scanner2.isUnterminated() ? 0 : isLast ? 1 : 2));\n          }\n          function parseLiteralLikeNode(kind) {\n            const pos = getNodePos();\n            const node = isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode(\n              kind,\n              scanner2.getTokenValue(),\n              getTemplateLiteralRawText(kind),\n              scanner2.getTokenFlags() & 2048\n              /* TemplateLiteralLikeFlags */\n            ) : (\n              // Octal literals are not allowed in strict mode or ES5\n              // Note that theoretically the following condition would hold true literals like 009,\n              // which is not octal. But because of how the scanner separates the tokens, we would\n              // never get a token like this. Instead, we would get 00 and 9 as two separate tokens.\n              // We also do not need to check for negatives because any prefix operator would be part of a\n              // parent unary expression.\n              kind === 8 ? factoryCreateNumericLiteral(scanner2.getTokenValue(), scanner2.getNumericLiteralFlags()) : kind === 10 ? factoryCreateStringLiteral(\n                scanner2.getTokenValue(),\n                /*isSingleQuote*/\n                void 0,\n                scanner2.hasExtendedUnicodeEscape()\n              ) : isLiteralKind(kind) ? factoryCreateLiteralLikeNode(kind, scanner2.getTokenValue()) : Debug2.fail()\n            );\n            if (scanner2.hasExtendedUnicodeEscape()) {\n              node.hasExtendedUnicodeEscape = true;\n            }\n            if (scanner2.isUnterminated()) {\n              node.isUnterminated = true;\n            }\n            nextToken();\n            return finishNode(node, pos);\n          }\n          function parseEntityNameOfTypeReference() {\n            return parseEntityName(\n              /*allowReservedWords*/\n              true,\n              Diagnostics.Type_expected\n            );\n          }\n          function parseTypeArgumentsOfTypeReference() {\n            if (!scanner2.hasPrecedingLineBreak() && reScanLessThanToken() === 29) {\n              return parseBracketedList(\n                20,\n                parseType,\n                29,\n                31\n                /* GreaterThanToken */\n              );\n            }\n          }\n          function parseTypeReference() {\n            const pos = getNodePos();\n            return finishNode(\n              factory2.createTypeReferenceNode(\n                parseEntityNameOfTypeReference(),\n                parseTypeArgumentsOfTypeReference()\n              ),\n              pos\n            );\n          }\n          function typeHasArrowFunctionBlockingParseError(node) {\n            switch (node.kind) {\n              case 180:\n                return nodeIsMissing(node.typeName);\n              case 181:\n              case 182: {\n                const { parameters, type } = node;\n                return isMissingList(parameters) || typeHasArrowFunctionBlockingParseError(type);\n              }\n              case 193:\n                return typeHasArrowFunctionBlockingParseError(node.type);\n              default:\n                return false;\n            }\n          }\n          function parseThisTypePredicate(lhs) {\n            nextToken();\n            return finishNode(factory2.createTypePredicateNode(\n              /*assertsModifier*/\n              void 0,\n              lhs,\n              parseType()\n            ), lhs.pos);\n          }\n          function parseThisTypeNode() {\n            const pos = getNodePos();\n            nextToken();\n            return finishNode(factory2.createThisTypeNode(), pos);\n          }\n          function parseJSDocAllType() {\n            const pos = getNodePos();\n            nextToken();\n            return finishNode(factory2.createJSDocAllType(), pos);\n          }\n          function parseJSDocNonNullableType() {\n            const pos = getNodePos();\n            nextToken();\n            return finishNode(factory2.createJSDocNonNullableType(\n              parseNonArrayType(),\n              /*postfix*/\n              false\n            ), pos);\n          }\n          function parseJSDocUnknownOrNullableType() {\n            const pos = getNodePos();\n            nextToken();\n            if (token() === 27 || token() === 19 || token() === 21 || token() === 31 || token() === 63 || token() === 51) {\n              return finishNode(factory2.createJSDocUnknownType(), pos);\n            } else {\n              return finishNode(factory2.createJSDocNullableType(\n                parseType(),\n                /*postfix*/\n                false\n              ), pos);\n            }\n          }\n          function parseJSDocFunctionType() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            if (lookAhead(nextTokenIsOpenParen)) {\n              nextToken();\n              const parameters = parseParameters(\n                4 | 32\n                /* JSDoc */\n              );\n              const type = parseReturnType(\n                58,\n                /*isType*/\n                false\n              );\n              return withJSDoc(finishNode(factory2.createJSDocFunctionType(parameters, type), pos), hasJSDoc);\n            }\n            return finishNode(factory2.createTypeReferenceNode(\n              parseIdentifierName(),\n              /*typeArguments*/\n              void 0\n            ), pos);\n          }\n          function parseJSDocParameter() {\n            const pos = getNodePos();\n            let name;\n            if (token() === 108 || token() === 103) {\n              name = parseIdentifierName();\n              parseExpected(\n                58\n                /* ColonToken */\n              );\n            }\n            return finishNode(\n              factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                // TODO(rbuckton): JSDoc parameters don't have names (except `this`/`new`), should we manufacture an empty identifier?\n                name,\n                /*questionToken*/\n                void 0,\n                parseJSDocType(),\n                /*initializer*/\n                void 0\n              ),\n              pos\n            );\n          }\n          function parseJSDocType() {\n            scanner2.setInJSDocType(true);\n            const pos = getNodePos();\n            if (parseOptional(\n              142\n              /* ModuleKeyword */\n            )) {\n              const moduleTag = factory2.createJSDocNamepathType(\n                /*type*/\n                void 0\n              );\n              terminate:\n                while (true) {\n                  switch (token()) {\n                    case 19:\n                    case 1:\n                    case 27:\n                    case 5:\n                      break terminate;\n                    default:\n                      nextTokenJSDoc();\n                  }\n                }\n              scanner2.setInJSDocType(false);\n              return finishNode(moduleTag, pos);\n            }\n            const hasDotDotDot = parseOptional(\n              25\n              /* DotDotDotToken */\n            );\n            let type = parseTypeOrTypePredicate();\n            scanner2.setInJSDocType(false);\n            if (hasDotDotDot) {\n              type = finishNode(factory2.createJSDocVariadicType(type), pos);\n            }\n            if (token() === 63) {\n              nextToken();\n              return finishNode(factory2.createJSDocOptionalType(type), pos);\n            }\n            return type;\n          }\n          function parseTypeQuery() {\n            const pos = getNodePos();\n            parseExpected(\n              112\n              /* TypeOfKeyword */\n            );\n            const entityName = parseEntityName(\n              /*allowReservedWords*/\n              true\n            );\n            const typeArguments = !scanner2.hasPrecedingLineBreak() ? tryParseTypeArguments() : void 0;\n            return finishNode(factory2.createTypeQueryNode(entityName, typeArguments), pos);\n          }\n          function parseTypeParameter() {\n            const pos = getNodePos();\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              false,\n              /*permitConstAsModifier*/\n              true\n            );\n            const name = parseIdentifier();\n            let constraint;\n            let expression;\n            if (parseOptional(\n              94\n              /* ExtendsKeyword */\n            )) {\n              if (isStartOfType() || !isStartOfExpression()) {\n                constraint = parseType();\n              } else {\n                expression = parseUnaryExpressionOrHigher();\n              }\n            }\n            const defaultType = parseOptional(\n              63\n              /* EqualsToken */\n            ) ? parseType() : void 0;\n            const node = factory2.createTypeParameterDeclaration(modifiers, name, constraint, defaultType);\n            node.expression = expression;\n            return finishNode(node, pos);\n          }\n          function parseTypeParameters() {\n            if (token() === 29) {\n              return parseBracketedList(\n                19,\n                parseTypeParameter,\n                29,\n                31\n                /* GreaterThanToken */\n              );\n            }\n          }\n          function isStartOfParameter(isJSDocParameter) {\n            return token() === 25 || isBindingIdentifierOrPrivateIdentifierOrPattern() || isModifierKind(token()) || token() === 59 || isStartOfType(\n              /*inStartOfParameter*/\n              !isJSDocParameter\n            );\n          }\n          function parseNameOfParameter(modifiers) {\n            const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_cannot_be_used_as_parameters);\n            if (getFullWidth(name) === 0 && !some(modifiers) && isModifierKind(token())) {\n              nextToken();\n            }\n            return name;\n          }\n          function isParameterNameStart() {\n            return isBindingIdentifier() || token() === 22 || token() === 18;\n          }\n          function parseParameter(inOuterAwaitContext) {\n            return parseParameterWorker(inOuterAwaitContext);\n          }\n          function parseParameterForSpeculation(inOuterAwaitContext) {\n            return parseParameterWorker(\n              inOuterAwaitContext,\n              /*allowAmbiguity*/\n              false\n            );\n          }\n          function parseParameterWorker(inOuterAwaitContext, allowAmbiguity = true) {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = inOuterAwaitContext ? doInAwaitContext(() => parseModifiers(\n              /*allowDecorators*/\n              true\n            )) : doOutsideOfAwaitContext(() => parseModifiers(\n              /*allowDecorators*/\n              true\n            ));\n            if (token() === 108) {\n              const node2 = factory2.createParameterDeclaration(\n                modifiers,\n                /*dotDotDotToken*/\n                void 0,\n                createIdentifier(\n                  /*isIdentifier*/\n                  true\n                ),\n                /*questionToken*/\n                void 0,\n                parseTypeAnnotation(),\n                /*initializer*/\n                void 0\n              );\n              const modifier = firstOrUndefined(modifiers);\n              if (modifier) {\n                parseErrorAtRange(modifier, Diagnostics.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);\n              }\n              return withJSDoc(finishNode(node2, pos), hasJSDoc);\n            }\n            const savedTopLevel = topLevel;\n            topLevel = false;\n            const dotDotDotToken = parseOptionalToken(\n              25\n              /* DotDotDotToken */\n            );\n            if (!allowAmbiguity && !isParameterNameStart()) {\n              return void 0;\n            }\n            const node = withJSDoc(\n              finishNode(\n                factory2.createParameterDeclaration(\n                  modifiers,\n                  dotDotDotToken,\n                  parseNameOfParameter(modifiers),\n                  parseOptionalToken(\n                    57\n                    /* QuestionToken */\n                  ),\n                  parseTypeAnnotation(),\n                  parseInitializer()\n                ),\n                pos\n              ),\n              hasJSDoc\n            );\n            topLevel = savedTopLevel;\n            return node;\n          }\n          function parseReturnType(returnToken, isType) {\n            if (shouldParseReturnType(returnToken, isType)) {\n              return allowConditionalTypesAnd(parseTypeOrTypePredicate);\n            }\n          }\n          function shouldParseReturnType(returnToken, isType) {\n            if (returnToken === 38) {\n              parseExpected(returnToken);\n              return true;\n            } else if (parseOptional(\n              58\n              /* ColonToken */\n            )) {\n              return true;\n            } else if (isType && token() === 38) {\n              parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(\n                58\n                /* ColonToken */\n              ));\n              nextToken();\n              return true;\n            }\n            return false;\n          }\n          function parseParametersWorker(flags, allowAmbiguity) {\n            const savedYieldContext = inYieldContext();\n            const savedAwaitContext = inAwaitContext();\n            setYieldContext(!!(flags & 1));\n            setAwaitContext(!!(flags & 2));\n            const parameters = flags & 32 ? parseDelimitedList(17, parseJSDocParameter) : parseDelimitedList(16, () => allowAmbiguity ? parseParameter(savedAwaitContext) : parseParameterForSpeculation(savedAwaitContext));\n            setYieldContext(savedYieldContext);\n            setAwaitContext(savedAwaitContext);\n            return parameters;\n          }\n          function parseParameters(flags) {\n            if (!parseExpected(\n              20\n              /* OpenParenToken */\n            )) {\n              return createMissingList();\n            }\n            const parameters = parseParametersWorker(\n              flags,\n              /*allowAmbiguity*/\n              true\n            );\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            return parameters;\n          }\n          function parseTypeMemberSemicolon() {\n            if (parseOptional(\n              27\n              /* CommaToken */\n            )) {\n              return;\n            }\n            parseSemicolon();\n          }\n          function parseSignatureMember(kind) {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            if (kind === 177) {\n              parseExpected(\n                103\n                /* NewKeyword */\n              );\n            }\n            const typeParameters = parseTypeParameters();\n            const parameters = parseParameters(\n              4\n              /* Type */\n            );\n            const type = parseReturnType(\n              58,\n              /*isType*/\n              true\n            );\n            parseTypeMemberSemicolon();\n            const node = kind === 176 ? factory2.createCallSignature(typeParameters, parameters, type) : factory2.createConstructSignature(typeParameters, parameters, type);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function isIndexSignature() {\n            return token() === 22 && lookAhead(isUnambiguouslyIndexSignature);\n          }\n          function isUnambiguouslyIndexSignature() {\n            nextToken();\n            if (token() === 25 || token() === 23) {\n              return true;\n            }\n            if (isModifierKind(token())) {\n              nextToken();\n              if (isIdentifier2()) {\n                return true;\n              }\n            } else if (!isIdentifier2()) {\n              return false;\n            } else {\n              nextToken();\n            }\n            if (token() === 58 || token() === 27) {\n              return true;\n            }\n            if (token() !== 57) {\n              return false;\n            }\n            nextToken();\n            return token() === 58 || token() === 27 || token() === 23;\n          }\n          function parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers) {\n            const parameters = parseBracketedList(\n              16,\n              () => parseParameter(\n                /*inOuterAwaitContext*/\n                false\n              ),\n              22,\n              23\n              /* CloseBracketToken */\n            );\n            const type = parseTypeAnnotation();\n            parseTypeMemberSemicolon();\n            const node = factory2.createIndexSignature(modifiers, parameters, type);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers) {\n            const name = parsePropertyName();\n            const questionToken = parseOptionalToken(\n              57\n              /* QuestionToken */\n            );\n            let node;\n            if (token() === 20 || token() === 29) {\n              const typeParameters = parseTypeParameters();\n              const parameters = parseParameters(\n                4\n                /* Type */\n              );\n              const type = parseReturnType(\n                58,\n                /*isType*/\n                true\n              );\n              node = factory2.createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type);\n            } else {\n              const type = parseTypeAnnotation();\n              node = factory2.createPropertySignature(modifiers, name, questionToken, type);\n              if (token() === 63)\n                node.initializer = parseInitializer();\n            }\n            parseTypeMemberSemicolon();\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function isTypeMemberStart() {\n            if (token() === 20 || token() === 29 || token() === 137 || token() === 151) {\n              return true;\n            }\n            let idToken = false;\n            while (isModifierKind(token())) {\n              idToken = true;\n              nextToken();\n            }\n            if (token() === 22) {\n              return true;\n            }\n            if (isLiteralPropertyName()) {\n              idToken = true;\n              nextToken();\n            }\n            if (idToken) {\n              return token() === 20 || token() === 29 || token() === 57 || token() === 58 || token() === 27 || canParseSemicolon();\n            }\n            return false;\n          }\n          function parseTypeMember() {\n            if (token() === 20 || token() === 29) {\n              return parseSignatureMember(\n                176\n                /* CallSignature */\n              );\n            }\n            if (token() === 103 && lookAhead(nextTokenIsOpenParenOrLessThan)) {\n              return parseSignatureMember(\n                177\n                /* ConstructSignature */\n              );\n            }\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              false\n            );\n            if (parseContextualModifier(\n              137\n              /* GetKeyword */\n            )) {\n              return parseAccessorDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                174,\n                4\n                /* Type */\n              );\n            }\n            if (parseContextualModifier(\n              151\n              /* SetKeyword */\n            )) {\n              return parseAccessorDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                175,\n                4\n                /* Type */\n              );\n            }\n            if (isIndexSignature()) {\n              return parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers);\n            }\n            return parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers);\n          }\n          function nextTokenIsOpenParenOrLessThan() {\n            nextToken();\n            return token() === 20 || token() === 29;\n          }\n          function nextTokenIsDot() {\n            return nextToken() === 24;\n          }\n          function nextTokenIsOpenParenOrLessThanOrDot() {\n            switch (nextToken()) {\n              case 20:\n              case 29:\n              case 24:\n                return true;\n            }\n            return false;\n          }\n          function parseTypeLiteral() {\n            const pos = getNodePos();\n            return finishNode(factory2.createTypeLiteralNode(parseObjectTypeMembers()), pos);\n          }\n          function parseObjectTypeMembers() {\n            let members;\n            if (parseExpected(\n              18\n              /* OpenBraceToken */\n            )) {\n              members = parseList(4, parseTypeMember);\n              parseExpected(\n                19\n                /* CloseBraceToken */\n              );\n            } else {\n              members = createMissingList();\n            }\n            return members;\n          }\n          function isStartOfMappedType() {\n            nextToken();\n            if (token() === 39 || token() === 40) {\n              return nextToken() === 146;\n            }\n            if (token() === 146) {\n              nextToken();\n            }\n            return token() === 22 && nextTokenIsIdentifier() && nextToken() === 101;\n          }\n          function parseMappedTypeParameter() {\n            const pos = getNodePos();\n            const name = parseIdentifierName();\n            parseExpected(\n              101\n              /* InKeyword */\n            );\n            const type = parseType();\n            return finishNode(factory2.createTypeParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              name,\n              type,\n              /*defaultType*/\n              void 0\n            ), pos);\n          }\n          function parseMappedType() {\n            const pos = getNodePos();\n            parseExpected(\n              18\n              /* OpenBraceToken */\n            );\n            let readonlyToken;\n            if (token() === 146 || token() === 39 || token() === 40) {\n              readonlyToken = parseTokenNode();\n              if (readonlyToken.kind !== 146) {\n                parseExpected(\n                  146\n                  /* ReadonlyKeyword */\n                );\n              }\n            }\n            parseExpected(\n              22\n              /* OpenBracketToken */\n            );\n            const typeParameter = parseMappedTypeParameter();\n            const nameType = parseOptional(\n              128\n              /* AsKeyword */\n            ) ? parseType() : void 0;\n            parseExpected(\n              23\n              /* CloseBracketToken */\n            );\n            let questionToken;\n            if (token() === 57 || token() === 39 || token() === 40) {\n              questionToken = parseTokenNode();\n              if (questionToken.kind !== 57) {\n                parseExpected(\n                  57\n                  /* QuestionToken */\n                );\n              }\n            }\n            const type = parseTypeAnnotation();\n            parseSemicolon();\n            const members = parseList(4, parseTypeMember);\n            parseExpected(\n              19\n              /* CloseBraceToken */\n            );\n            return finishNode(factory2.createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), pos);\n          }\n          function parseTupleElementType() {\n            const pos = getNodePos();\n            if (parseOptional(\n              25\n              /* DotDotDotToken */\n            )) {\n              return finishNode(factory2.createRestTypeNode(parseType()), pos);\n            }\n            const type = parseType();\n            if (isJSDocNullableType(type) && type.pos === type.type.pos) {\n              const node = factory2.createOptionalTypeNode(type.type);\n              setTextRange(node, type);\n              node.flags = type.flags;\n              return node;\n            }\n            return type;\n          }\n          function isNextTokenColonOrQuestionColon() {\n            return nextToken() === 58 || token() === 57 && nextToken() === 58;\n          }\n          function isTupleElementName() {\n            if (token() === 25) {\n              return tokenIsIdentifierOrKeyword(nextToken()) && isNextTokenColonOrQuestionColon();\n            }\n            return tokenIsIdentifierOrKeyword(token()) && isNextTokenColonOrQuestionColon();\n          }\n          function parseTupleElementNameOrTupleElementType() {\n            if (lookAhead(isTupleElementName)) {\n              const pos = getNodePos();\n              const hasJSDoc = hasPrecedingJSDocComment();\n              const dotDotDotToken = parseOptionalToken(\n                25\n                /* DotDotDotToken */\n              );\n              const name = parseIdentifierName();\n              const questionToken = parseOptionalToken(\n                57\n                /* QuestionToken */\n              );\n              parseExpected(\n                58\n                /* ColonToken */\n              );\n              const type = parseTupleElementType();\n              const node = factory2.createNamedTupleMember(dotDotDotToken, name, questionToken, type);\n              return withJSDoc(finishNode(node, pos), hasJSDoc);\n            }\n            return parseTupleElementType();\n          }\n          function parseTupleType() {\n            const pos = getNodePos();\n            return finishNode(\n              factory2.createTupleTypeNode(\n                parseBracketedList(\n                  21,\n                  parseTupleElementNameOrTupleElementType,\n                  22,\n                  23\n                  /* CloseBracketToken */\n                )\n              ),\n              pos\n            );\n          }\n          function parseParenthesizedType() {\n            const pos = getNodePos();\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const type = parseType();\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            return finishNode(factory2.createParenthesizedType(type), pos);\n          }\n          function parseModifiersForConstructorType() {\n            let modifiers;\n            if (token() === 126) {\n              const pos = getNodePos();\n              nextToken();\n              const modifier = finishNode(factoryCreateToken(\n                126\n                /* AbstractKeyword */\n              ), pos);\n              modifiers = createNodeArray([modifier], pos);\n            }\n            return modifiers;\n          }\n          function parseFunctionOrConstructorType() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiersForConstructorType();\n            const isConstructorType = parseOptional(\n              103\n              /* NewKeyword */\n            );\n            Debug2.assert(!modifiers || isConstructorType, \"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.\");\n            const typeParameters = parseTypeParameters();\n            const parameters = parseParameters(\n              4\n              /* Type */\n            );\n            const type = parseReturnType(\n              38,\n              /*isType*/\n              false\n            );\n            const node = isConstructorType ? factory2.createConstructorTypeNode(modifiers, typeParameters, parameters, type) : factory2.createFunctionTypeNode(typeParameters, parameters, type);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseKeywordAndNoDot() {\n            const node = parseTokenNode();\n            return token() === 24 ? void 0 : node;\n          }\n          function parseLiteralTypeNode(negative) {\n            const pos = getNodePos();\n            if (negative) {\n              nextToken();\n            }\n            let expression = token() === 110 || token() === 95 || token() === 104 ? parseTokenNode() : parseLiteralLikeNode(token());\n            if (negative) {\n              expression = finishNode(factory2.createPrefixUnaryExpression(40, expression), pos);\n            }\n            return finishNode(factory2.createLiteralTypeNode(expression), pos);\n          }\n          function isStartOfTypeOfImportType() {\n            nextToken();\n            return token() === 100;\n          }\n          function parseImportTypeAssertions() {\n            const pos = getNodePos();\n            const openBracePosition = scanner2.getTokenPos();\n            parseExpected(\n              18\n              /* OpenBraceToken */\n            );\n            const multiLine = scanner2.hasPrecedingLineBreak();\n            parseExpected(\n              130\n              /* AssertKeyword */\n            );\n            parseExpected(\n              58\n              /* ColonToken */\n            );\n            const clause = parseAssertClause(\n              /*skipAssertKeyword*/\n              true\n            );\n            if (!parseExpected(\n              19\n              /* CloseBraceToken */\n            )) {\n              const lastError = lastOrUndefined(parseDiagnostics);\n              if (lastError && lastError.code === Diagnostics._0_expected.code) {\n                addRelatedInfo(\n                  lastError,\n                  createDetachedDiagnostic(fileName, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, \"{\", \"}\")\n                );\n              }\n            }\n            return finishNode(factory2.createImportTypeAssertionContainer(clause, multiLine), pos);\n          }\n          function parseImportType() {\n            sourceFlags |= 2097152;\n            const pos = getNodePos();\n            const isTypeOf = parseOptional(\n              112\n              /* TypeOfKeyword */\n            );\n            parseExpected(\n              100\n              /* ImportKeyword */\n            );\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const type = parseType();\n            let assertions;\n            if (parseOptional(\n              27\n              /* CommaToken */\n            )) {\n              assertions = parseImportTypeAssertions();\n            }\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            const qualifier = parseOptional(\n              24\n              /* DotToken */\n            ) ? parseEntityNameOfTypeReference() : void 0;\n            const typeArguments = parseTypeArgumentsOfTypeReference();\n            return finishNode(factory2.createImportTypeNode(type, assertions, qualifier, typeArguments, isTypeOf), pos);\n          }\n          function nextTokenIsNumericOrBigIntLiteral() {\n            nextToken();\n            return token() === 8 || token() === 9;\n          }\n          function parseNonArrayType() {\n            switch (token()) {\n              case 131:\n              case 157:\n              case 152:\n              case 148:\n              case 160:\n              case 153:\n              case 134:\n              case 155:\n              case 144:\n              case 149:\n                return tryParse(parseKeywordAndNoDot) || parseTypeReference();\n              case 66:\n                scanner2.reScanAsteriskEqualsToken();\n              case 41:\n                return parseJSDocAllType();\n              case 60:\n                scanner2.reScanQuestionToken();\n              case 57:\n                return parseJSDocUnknownOrNullableType();\n              case 98:\n                return parseJSDocFunctionType();\n              case 53:\n                return parseJSDocNonNullableType();\n              case 14:\n              case 10:\n              case 8:\n              case 9:\n              case 110:\n              case 95:\n              case 104:\n                return parseLiteralTypeNode();\n              case 40:\n                return lookAhead(nextTokenIsNumericOrBigIntLiteral) ? parseLiteralTypeNode(\n                  /*negative*/\n                  true\n                ) : parseTypeReference();\n              case 114:\n                return parseTokenNode();\n              case 108: {\n                const thisKeyword = parseThisTypeNode();\n                if (token() === 140 && !scanner2.hasPrecedingLineBreak()) {\n                  return parseThisTypePredicate(thisKeyword);\n                } else {\n                  return thisKeyword;\n                }\n              }\n              case 112:\n                return lookAhead(isStartOfTypeOfImportType) ? parseImportType() : parseTypeQuery();\n              case 18:\n                return lookAhead(isStartOfMappedType) ? parseMappedType() : parseTypeLiteral();\n              case 22:\n                return parseTupleType();\n              case 20:\n                return parseParenthesizedType();\n              case 100:\n                return parseImportType();\n              case 129:\n                return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine) ? parseAssertsTypePredicate() : parseTypeReference();\n              case 15:\n                return parseTemplateType();\n              default:\n                return parseTypeReference();\n            }\n          }\n          function isStartOfType(inStartOfParameter) {\n            switch (token()) {\n              case 131:\n              case 157:\n              case 152:\n              case 148:\n              case 160:\n              case 134:\n              case 146:\n              case 153:\n              case 156:\n              case 114:\n              case 155:\n              case 104:\n              case 108:\n              case 112:\n              case 144:\n              case 18:\n              case 22:\n              case 29:\n              case 51:\n              case 50:\n              case 103:\n              case 10:\n              case 8:\n              case 9:\n              case 110:\n              case 95:\n              case 149:\n              case 41:\n              case 57:\n              case 53:\n              case 25:\n              case 138:\n              case 100:\n              case 129:\n              case 14:\n              case 15:\n                return true;\n              case 98:\n                return !inStartOfParameter;\n              case 40:\n                return !inStartOfParameter && lookAhead(nextTokenIsNumericOrBigIntLiteral);\n              case 20:\n                return !inStartOfParameter && lookAhead(isStartOfParenthesizedOrFunctionType);\n              default:\n                return isIdentifier2();\n            }\n          }\n          function isStartOfParenthesizedOrFunctionType() {\n            nextToken();\n            return token() === 21 || isStartOfParameter(\n              /*isJSDocParameter*/\n              false\n            ) || isStartOfType();\n          }\n          function parsePostfixTypeOrHigher() {\n            const pos = getNodePos();\n            let type = parseNonArrayType();\n            while (!scanner2.hasPrecedingLineBreak()) {\n              switch (token()) {\n                case 53:\n                  nextToken();\n                  type = finishNode(factory2.createJSDocNonNullableType(\n                    type,\n                    /*postfix*/\n                    true\n                  ), pos);\n                  break;\n                case 57:\n                  if (lookAhead(nextTokenIsStartOfType)) {\n                    return type;\n                  }\n                  nextToken();\n                  type = finishNode(factory2.createJSDocNullableType(\n                    type,\n                    /*postfix*/\n                    true\n                  ), pos);\n                  break;\n                case 22:\n                  parseExpected(\n                    22\n                    /* OpenBracketToken */\n                  );\n                  if (isStartOfType()) {\n                    const indexType = parseType();\n                    parseExpected(\n                      23\n                      /* CloseBracketToken */\n                    );\n                    type = finishNode(factory2.createIndexedAccessTypeNode(type, indexType), pos);\n                  } else {\n                    parseExpected(\n                      23\n                      /* CloseBracketToken */\n                    );\n                    type = finishNode(factory2.createArrayTypeNode(type), pos);\n                  }\n                  break;\n                default:\n                  return type;\n              }\n            }\n            return type;\n          }\n          function parseTypeOperator(operator) {\n            const pos = getNodePos();\n            parseExpected(operator);\n            return finishNode(factory2.createTypeOperatorNode(operator, parseTypeOperatorOrHigher()), pos);\n          }\n          function tryParseConstraintOfInferType() {\n            if (parseOptional(\n              94\n              /* ExtendsKeyword */\n            )) {\n              const constraint = disallowConditionalTypesAnd(parseType);\n              if (inDisallowConditionalTypesContext() || token() !== 57) {\n                return constraint;\n              }\n            }\n          }\n          function parseTypeParameterOfInferType() {\n            const pos = getNodePos();\n            const name = parseIdentifier();\n            const constraint = tryParse(tryParseConstraintOfInferType);\n            const node = factory2.createTypeParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              name,\n              constraint\n            );\n            return finishNode(node, pos);\n          }\n          function parseInferType() {\n            const pos = getNodePos();\n            parseExpected(\n              138\n              /* InferKeyword */\n            );\n            return finishNode(factory2.createInferTypeNode(parseTypeParameterOfInferType()), pos);\n          }\n          function parseTypeOperatorOrHigher() {\n            const operator = token();\n            switch (operator) {\n              case 141:\n              case 156:\n              case 146:\n                return parseTypeOperator(operator);\n              case 138:\n                return parseInferType();\n            }\n            return allowConditionalTypesAnd(parsePostfixTypeOrHigher);\n          }\n          function parseFunctionOrConstructorTypeToError(isInUnionType) {\n            if (isStartOfFunctionTypeOrConstructorType()) {\n              const type = parseFunctionOrConstructorType();\n              let diagnostic;\n              if (isFunctionTypeNode(type)) {\n                diagnostic = isInUnionType ? Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type;\n              } else {\n                diagnostic = isInUnionType ? Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type;\n              }\n              parseErrorAtRange(type, diagnostic);\n              return type;\n            }\n            return void 0;\n          }\n          function parseUnionOrIntersectionType(operator, parseConstituentType, createTypeNode) {\n            const pos = getNodePos();\n            const isUnionType = operator === 51;\n            const hasLeadingOperator = parseOptional(operator);\n            let type = hasLeadingOperator && parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType();\n            if (token() === operator || hasLeadingOperator) {\n              const types = [type];\n              while (parseOptional(operator)) {\n                types.push(parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType());\n              }\n              type = finishNode(createTypeNode(createNodeArray(types, pos)), pos);\n            }\n            return type;\n          }\n          function parseIntersectionTypeOrHigher() {\n            return parseUnionOrIntersectionType(50, parseTypeOperatorOrHigher, factory2.createIntersectionTypeNode);\n          }\n          function parseUnionTypeOrHigher() {\n            return parseUnionOrIntersectionType(51, parseIntersectionTypeOrHigher, factory2.createUnionTypeNode);\n          }\n          function nextTokenIsNewKeyword() {\n            nextToken();\n            return token() === 103;\n          }\n          function isStartOfFunctionTypeOrConstructorType() {\n            if (token() === 29) {\n              return true;\n            }\n            if (token() === 20 && lookAhead(isUnambiguouslyStartOfFunctionType)) {\n              return true;\n            }\n            return token() === 103 || token() === 126 && lookAhead(nextTokenIsNewKeyword);\n          }\n          function skipParameterStart() {\n            if (isModifierKind(token())) {\n              parseModifiers(\n                /*allowDecorators*/\n                false\n              );\n            }\n            if (isIdentifier2() || token() === 108) {\n              nextToken();\n              return true;\n            }\n            if (token() === 22 || token() === 18) {\n              const previousErrorCount = parseDiagnostics.length;\n              parseIdentifierOrPattern();\n              return previousErrorCount === parseDiagnostics.length;\n            }\n            return false;\n          }\n          function isUnambiguouslyStartOfFunctionType() {\n            nextToken();\n            if (token() === 21 || token() === 25) {\n              return true;\n            }\n            if (skipParameterStart()) {\n              if (token() === 58 || token() === 27 || token() === 57 || token() === 63) {\n                return true;\n              }\n              if (token() === 21) {\n                nextToken();\n                if (token() === 38) {\n                  return true;\n                }\n              }\n            }\n            return false;\n          }\n          function parseTypeOrTypePredicate() {\n            const pos = getNodePos();\n            const typePredicateVariable = isIdentifier2() && tryParse(parseTypePredicatePrefix);\n            const type = parseType();\n            if (typePredicateVariable) {\n              return finishNode(factory2.createTypePredicateNode(\n                /*assertsModifier*/\n                void 0,\n                typePredicateVariable,\n                type\n              ), pos);\n            } else {\n              return type;\n            }\n          }\n          function parseTypePredicatePrefix() {\n            const id = parseIdentifier();\n            if (token() === 140 && !scanner2.hasPrecedingLineBreak()) {\n              nextToken();\n              return id;\n            }\n          }\n          function parseAssertsTypePredicate() {\n            const pos = getNodePos();\n            const assertsModifier = parseExpectedToken(\n              129\n              /* AssertsKeyword */\n            );\n            const parameterName = token() === 108 ? parseThisTypeNode() : parseIdentifier();\n            const type = parseOptional(\n              140\n              /* IsKeyword */\n            ) ? parseType() : void 0;\n            return finishNode(factory2.createTypePredicateNode(assertsModifier, parameterName, type), pos);\n          }\n          function parseType() {\n            if (contextFlags & 40960) {\n              return doOutsideOfContext(40960, parseType);\n            }\n            if (isStartOfFunctionTypeOrConstructorType()) {\n              return parseFunctionOrConstructorType();\n            }\n            const pos = getNodePos();\n            const type = parseUnionTypeOrHigher();\n            if (!inDisallowConditionalTypesContext() && !scanner2.hasPrecedingLineBreak() && parseOptional(\n              94\n              /* ExtendsKeyword */\n            )) {\n              const extendsType = disallowConditionalTypesAnd(parseType);\n              parseExpected(\n                57\n                /* QuestionToken */\n              );\n              const trueType = allowConditionalTypesAnd(parseType);\n              parseExpected(\n                58\n                /* ColonToken */\n              );\n              const falseType = allowConditionalTypesAnd(parseType);\n              return finishNode(factory2.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);\n            }\n            return type;\n          }\n          function parseTypeAnnotation() {\n            return parseOptional(\n              58\n              /* ColonToken */\n            ) ? parseType() : void 0;\n          }\n          function isStartOfLeftHandSideExpression() {\n            switch (token()) {\n              case 108:\n              case 106:\n              case 104:\n              case 110:\n              case 95:\n              case 8:\n              case 9:\n              case 10:\n              case 14:\n              case 15:\n              case 20:\n              case 22:\n              case 18:\n              case 98:\n              case 84:\n              case 103:\n              case 43:\n              case 68:\n              case 79:\n                return true;\n              case 100:\n                return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);\n              default:\n                return isIdentifier2();\n            }\n          }\n          function isStartOfExpression() {\n            if (isStartOfLeftHandSideExpression()) {\n              return true;\n            }\n            switch (token()) {\n              case 39:\n              case 40:\n              case 54:\n              case 53:\n              case 89:\n              case 112:\n              case 114:\n              case 45:\n              case 46:\n              case 29:\n              case 133:\n              case 125:\n              case 80:\n              case 59:\n                return true;\n              default:\n                if (isBinaryOperator2()) {\n                  return true;\n                }\n                return isIdentifier2();\n            }\n          }\n          function isStartOfExpressionStatement() {\n            return token() !== 18 && token() !== 98 && token() !== 84 && token() !== 59 && isStartOfExpression();\n          }\n          function parseExpression() {\n            const saveDecoratorContext = inDecoratorContext();\n            if (saveDecoratorContext) {\n              setDecoratorContext(\n                /*val*/\n                false\n              );\n            }\n            const pos = getNodePos();\n            let expr = parseAssignmentExpressionOrHigher(\n              /*allowReturnTypeInArrowFunction*/\n              true\n            );\n            let operatorToken;\n            while (operatorToken = parseOptionalToken(\n              27\n              /* CommaToken */\n            )) {\n              expr = makeBinaryExpression(expr, operatorToken, parseAssignmentExpressionOrHigher(\n                /*allowReturnTypeInArrowFunction*/\n                true\n              ), pos);\n            }\n            if (saveDecoratorContext) {\n              setDecoratorContext(\n                /*val*/\n                true\n              );\n            }\n            return expr;\n          }\n          function parseInitializer() {\n            return parseOptional(\n              63\n              /* EqualsToken */\n            ) ? parseAssignmentExpressionOrHigher(\n              /*allowReturnTypeInArrowFunction*/\n              true\n            ) : void 0;\n          }\n          function parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) {\n            if (isYieldExpression2()) {\n              return parseYieldExpression();\n            }\n            const arrowExpression = tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) || tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction);\n            if (arrowExpression) {\n              return arrowExpression;\n            }\n            const pos = getNodePos();\n            const expr = parseBinaryExpressionOrHigher(\n              0\n              /* Lowest */\n            );\n            if (expr.kind === 79 && token() === 38) {\n              return parseSimpleArrowFunctionExpression(\n                pos,\n                expr,\n                allowReturnTypeInArrowFunction,\n                /*asyncModifier*/\n                void 0\n              );\n            }\n            if (isLeftHandSideExpression(expr) && isAssignmentOperator(reScanGreaterToken())) {\n              return makeBinaryExpression(expr, parseTokenNode(), parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction), pos);\n            }\n            return parseConditionalExpressionRest(expr, pos, allowReturnTypeInArrowFunction);\n          }\n          function isYieldExpression2() {\n            if (token() === 125) {\n              if (inYieldContext()) {\n                return true;\n              }\n              return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine);\n            }\n            return false;\n          }\n          function nextTokenIsIdentifierOnSameLine() {\n            nextToken();\n            return !scanner2.hasPrecedingLineBreak() && isIdentifier2();\n          }\n          function parseYieldExpression() {\n            const pos = getNodePos();\n            nextToken();\n            if (!scanner2.hasPrecedingLineBreak() && (token() === 41 || isStartOfExpression())) {\n              return finishNode(\n                factory2.createYieldExpression(\n                  parseOptionalToken(\n                    41\n                    /* AsteriskToken */\n                  ),\n                  parseAssignmentExpressionOrHigher(\n                    /*allowReturnTypeInArrowFunction*/\n                    true\n                  )\n                ),\n                pos\n              );\n            } else {\n              return finishNode(factory2.createYieldExpression(\n                /*asteriskToken*/\n                void 0,\n                /*expression*/\n                void 0\n              ), pos);\n            }\n          }\n          function parseSimpleArrowFunctionExpression(pos, identifier, allowReturnTypeInArrowFunction, asyncModifier) {\n            Debug2.assert(token() === 38, \"parseSimpleArrowFunctionExpression should only have been called if we had a =>\");\n            const parameter = factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              identifier,\n              /*questionToken*/\n              void 0,\n              /*type*/\n              void 0,\n              /*initializer*/\n              void 0\n            );\n            finishNode(parameter, identifier.pos);\n            const parameters = createNodeArray([parameter], parameter.pos, parameter.end);\n            const equalsGreaterThanToken = parseExpectedToken(\n              38\n              /* EqualsGreaterThanToken */\n            );\n            const body = parseArrowFunctionExpressionBody(\n              /*isAsync*/\n              !!asyncModifier,\n              allowReturnTypeInArrowFunction\n            );\n            const node = factory2.createArrowFunction(\n              asyncModifier,\n              /*typeParameters*/\n              void 0,\n              parameters,\n              /*type*/\n              void 0,\n              equalsGreaterThanToken,\n              body\n            );\n            return addJSDocComment(finishNode(node, pos));\n          }\n          function tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) {\n            const triState = isParenthesizedArrowFunctionExpression();\n            if (triState === 0) {\n              return void 0;\n            }\n            return triState === 1 ? parseParenthesizedArrowFunctionExpression(\n              /*allowAmbiguity*/\n              true,\n              /*allowReturnTypeInArrowFunction*/\n              true\n            ) : tryParse(() => parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction));\n          }\n          function isParenthesizedArrowFunctionExpression() {\n            if (token() === 20 || token() === 29 || token() === 132) {\n              return lookAhead(isParenthesizedArrowFunctionExpressionWorker);\n            }\n            if (token() === 38) {\n              return 1;\n            }\n            return 0;\n          }\n          function isParenthesizedArrowFunctionExpressionWorker() {\n            if (token() === 132) {\n              nextToken();\n              if (scanner2.hasPrecedingLineBreak()) {\n                return 0;\n              }\n              if (token() !== 20 && token() !== 29) {\n                return 0;\n              }\n            }\n            const first2 = token();\n            const second = nextToken();\n            if (first2 === 20) {\n              if (second === 21) {\n                const third = nextToken();\n                switch (third) {\n                  case 38:\n                  case 58:\n                  case 18:\n                    return 1;\n                  default:\n                    return 0;\n                }\n              }\n              if (second === 22 || second === 18) {\n                return 2;\n              }\n              if (second === 25) {\n                return 1;\n              }\n              if (isModifierKind(second) && second !== 132 && lookAhead(nextTokenIsIdentifier)) {\n                if (nextToken() === 128) {\n                  return 0;\n                }\n                return 1;\n              }\n              if (!isIdentifier2() && second !== 108) {\n                return 0;\n              }\n              switch (nextToken()) {\n                case 58:\n                  return 1;\n                case 57:\n                  nextToken();\n                  if (token() === 58 || token() === 27 || token() === 63 || token() === 21) {\n                    return 1;\n                  }\n                  return 0;\n                case 27:\n                case 63:\n                case 21:\n                  return 2;\n              }\n              return 0;\n            } else {\n              Debug2.assert(\n                first2 === 29\n                /* LessThanToken */\n              );\n              if (!isIdentifier2() && token() !== 85) {\n                return 0;\n              }\n              if (languageVariant === 1) {\n                const isArrowFunctionInJsx = lookAhead(() => {\n                  parseOptional(\n                    85\n                    /* ConstKeyword */\n                  );\n                  const third = nextToken();\n                  if (third === 94) {\n                    const fourth = nextToken();\n                    switch (fourth) {\n                      case 63:\n                      case 31:\n                      case 43:\n                        return false;\n                      default:\n                        return true;\n                    }\n                  } else if (third === 27 || third === 63) {\n                    return true;\n                  }\n                  return false;\n                });\n                if (isArrowFunctionInJsx) {\n                  return 1;\n                }\n                return 0;\n              }\n              return 2;\n            }\n          }\n          function parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) {\n            const tokenPos = scanner2.getTokenPos();\n            if (notParenthesizedArrow == null ? void 0 : notParenthesizedArrow.has(tokenPos)) {\n              return void 0;\n            }\n            const result = parseParenthesizedArrowFunctionExpression(\n              /*allowAmbiguity*/\n              false,\n              allowReturnTypeInArrowFunction\n            );\n            if (!result) {\n              (notParenthesizedArrow || (notParenthesizedArrow = /* @__PURE__ */ new Set())).add(tokenPos);\n            }\n            return result;\n          }\n          function tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction) {\n            if (token() === 132) {\n              if (lookAhead(isUnParenthesizedAsyncArrowFunctionWorker) === 1) {\n                const pos = getNodePos();\n                const asyncModifier = parseModifiersForArrowFunction();\n                const expr = parseBinaryExpressionOrHigher(\n                  0\n                  /* Lowest */\n                );\n                return parseSimpleArrowFunctionExpression(pos, expr, allowReturnTypeInArrowFunction, asyncModifier);\n              }\n            }\n            return void 0;\n          }\n          function isUnParenthesizedAsyncArrowFunctionWorker() {\n            if (token() === 132) {\n              nextToken();\n              if (scanner2.hasPrecedingLineBreak() || token() === 38) {\n                return 0;\n              }\n              const expr = parseBinaryExpressionOrHigher(\n                0\n                /* Lowest */\n              );\n              if (!scanner2.hasPrecedingLineBreak() && expr.kind === 79 && token() === 38) {\n                return 1;\n              }\n            }\n            return 0;\n          }\n          function parseParenthesizedArrowFunctionExpression(allowAmbiguity, allowReturnTypeInArrowFunction) {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiersForArrowFunction();\n            const isAsync = some(modifiers, isAsyncModifier) ? 2 : 0;\n            const typeParameters = parseTypeParameters();\n            let parameters;\n            if (!parseExpected(\n              20\n              /* OpenParenToken */\n            )) {\n              if (!allowAmbiguity) {\n                return void 0;\n              }\n              parameters = createMissingList();\n            } else {\n              if (!allowAmbiguity) {\n                const maybeParameters = parseParametersWorker(isAsync, allowAmbiguity);\n                if (!maybeParameters) {\n                  return void 0;\n                }\n                parameters = maybeParameters;\n              } else {\n                parameters = parseParametersWorker(isAsync, allowAmbiguity);\n              }\n              if (!parseExpected(\n                21\n                /* CloseParenToken */\n              ) && !allowAmbiguity) {\n                return void 0;\n              }\n            }\n            const hasReturnColon = token() === 58;\n            const type = parseReturnType(\n              58,\n              /*isType*/\n              false\n            );\n            if (type && !allowAmbiguity && typeHasArrowFunctionBlockingParseError(type)) {\n              return void 0;\n            }\n            let unwrappedType = type;\n            while ((unwrappedType == null ? void 0 : unwrappedType.kind) === 193) {\n              unwrappedType = unwrappedType.type;\n            }\n            const hasJSDocFunctionType = unwrappedType && isJSDocFunctionType(unwrappedType);\n            if (!allowAmbiguity && token() !== 38 && (hasJSDocFunctionType || token() !== 18)) {\n              return void 0;\n            }\n            const lastToken = token();\n            const equalsGreaterThanToken = parseExpectedToken(\n              38\n              /* EqualsGreaterThanToken */\n            );\n            const body = lastToken === 38 || lastToken === 18 ? parseArrowFunctionExpressionBody(some(modifiers, isAsyncModifier), allowReturnTypeInArrowFunction) : parseIdentifier();\n            if (!allowReturnTypeInArrowFunction && hasReturnColon) {\n              if (token() !== 58) {\n                return void 0;\n              }\n            }\n            const node = factory2.createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseArrowFunctionExpressionBody(isAsync, allowReturnTypeInArrowFunction) {\n            if (token() === 18) {\n              return parseFunctionBlock(\n                isAsync ? 2 : 0\n                /* None */\n              );\n            }\n            if (token() !== 26 && token() !== 98 && token() !== 84 && isStartOfStatement() && !isStartOfExpressionStatement()) {\n              return parseFunctionBlock(16 | (isAsync ? 2 : 0));\n            }\n            const savedTopLevel = topLevel;\n            topLevel = false;\n            const node = isAsync ? doInAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction)) : doOutsideOfAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction));\n            topLevel = savedTopLevel;\n            return node;\n          }\n          function parseConditionalExpressionRest(leftOperand, pos, allowReturnTypeInArrowFunction) {\n            const questionToken = parseOptionalToken(\n              57\n              /* QuestionToken */\n            );\n            if (!questionToken) {\n              return leftOperand;\n            }\n            let colonToken;\n            return finishNode(\n              factory2.createConditionalExpression(\n                leftOperand,\n                questionToken,\n                doOutsideOfContext(disallowInAndDecoratorContext, () => parseAssignmentExpressionOrHigher(\n                  /*allowReturnTypeInArrowFunction*/\n                  false\n                )),\n                colonToken = parseExpectedToken(\n                  58\n                  /* ColonToken */\n                ),\n                nodeIsPresent(colonToken) ? parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) : createMissingNode(\n                  79,\n                  /*reportAtCurrentPosition*/\n                  false,\n                  Diagnostics._0_expected,\n                  tokenToString(\n                    58\n                    /* ColonToken */\n                  )\n                )\n              ),\n              pos\n            );\n          }\n          function parseBinaryExpressionOrHigher(precedence) {\n            const pos = getNodePos();\n            const leftOperand = parseUnaryExpressionOrHigher();\n            return parseBinaryExpressionRest(precedence, leftOperand, pos);\n          }\n          function isInOrOfKeyword(t) {\n            return t === 101 || t === 162;\n          }\n          function parseBinaryExpressionRest(precedence, leftOperand, pos) {\n            while (true) {\n              reScanGreaterToken();\n              const newPrecedence = getBinaryOperatorPrecedence(token());\n              const consumeCurrentOperator = token() === 42 ? newPrecedence >= precedence : newPrecedence > precedence;\n              if (!consumeCurrentOperator) {\n                break;\n              }\n              if (token() === 101 && inDisallowInContext()) {\n                break;\n              }\n              if (token() === 128 || token() === 150) {\n                if (scanner2.hasPrecedingLineBreak()) {\n                  break;\n                } else {\n                  const keywordKind = token();\n                  nextToken();\n                  leftOperand = keywordKind === 150 ? makeSatisfiesExpression(leftOperand, parseType()) : makeAsExpression(leftOperand, parseType());\n                }\n              } else {\n                leftOperand = makeBinaryExpression(leftOperand, parseTokenNode(), parseBinaryExpressionOrHigher(newPrecedence), pos);\n              }\n            }\n            return leftOperand;\n          }\n          function isBinaryOperator2() {\n            if (inDisallowInContext() && token() === 101) {\n              return false;\n            }\n            return getBinaryOperatorPrecedence(token()) > 0;\n          }\n          function makeSatisfiesExpression(left, right) {\n            return finishNode(factory2.createSatisfiesExpression(left, right), left.pos);\n          }\n          function makeBinaryExpression(left, operatorToken, right, pos) {\n            return finishNode(factory2.createBinaryExpression(left, operatorToken, right), pos);\n          }\n          function makeAsExpression(left, right) {\n            return finishNode(factory2.createAsExpression(left, right), left.pos);\n          }\n          function parsePrefixUnaryExpression() {\n            const pos = getNodePos();\n            return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseSimpleUnaryExpression)), pos);\n          }\n          function parseDeleteExpression() {\n            const pos = getNodePos();\n            return finishNode(factory2.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n          }\n          function parseTypeOfExpression() {\n            const pos = getNodePos();\n            return finishNode(factory2.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n          }\n          function parseVoidExpression() {\n            const pos = getNodePos();\n            return finishNode(factory2.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n          }\n          function isAwaitExpression2() {\n            if (token() === 133) {\n              if (inAwaitContext()) {\n                return true;\n              }\n              return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine);\n            }\n            return false;\n          }\n          function parseAwaitExpression() {\n            const pos = getNodePos();\n            return finishNode(factory2.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n          }\n          function parseUnaryExpressionOrHigher() {\n            if (isUpdateExpression()) {\n              const pos = getNodePos();\n              const updateExpression = parseUpdateExpression();\n              return token() === 42 ? parseBinaryExpressionRest(getBinaryOperatorPrecedence(token()), updateExpression, pos) : updateExpression;\n            }\n            const unaryOperator = token();\n            const simpleUnaryExpression = parseSimpleUnaryExpression();\n            if (token() === 42) {\n              const pos = skipTrivia(sourceText, simpleUnaryExpression.pos);\n              const { end } = simpleUnaryExpression;\n              if (simpleUnaryExpression.kind === 213) {\n                parseErrorAt(pos, end, Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses);\n              } else {\n                parseErrorAt(pos, end, Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses, tokenToString(unaryOperator));\n              }\n            }\n            return simpleUnaryExpression;\n          }\n          function parseSimpleUnaryExpression() {\n            switch (token()) {\n              case 39:\n              case 40:\n              case 54:\n              case 53:\n                return parsePrefixUnaryExpression();\n              case 89:\n                return parseDeleteExpression();\n              case 112:\n                return parseTypeOfExpression();\n              case 114:\n                return parseVoidExpression();\n              case 29:\n                if (languageVariant === 1) {\n                  return parseJsxElementOrSelfClosingElementOrFragment(\n                    /*inExpressionContext*/\n                    true\n                  );\n                }\n                return parseTypeAssertion();\n              case 133:\n                if (isAwaitExpression2()) {\n                  return parseAwaitExpression();\n                }\n              default:\n                return parseUpdateExpression();\n            }\n          }\n          function isUpdateExpression() {\n            switch (token()) {\n              case 39:\n              case 40:\n              case 54:\n              case 53:\n              case 89:\n              case 112:\n              case 114:\n              case 133:\n                return false;\n              case 29:\n                if (languageVariant !== 1) {\n                  return false;\n                }\n              default:\n                return true;\n            }\n          }\n          function parseUpdateExpression() {\n            if (token() === 45 || token() === 46) {\n              const pos = getNodePos();\n              return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseLeftHandSideExpressionOrHigher)), pos);\n            } else if (languageVariant === 1 && token() === 29 && lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)) {\n              return parseJsxElementOrSelfClosingElementOrFragment(\n                /*inExpressionContext*/\n                true\n              );\n            }\n            const expression = parseLeftHandSideExpressionOrHigher();\n            Debug2.assert(isLeftHandSideExpression(expression));\n            if ((token() === 45 || token() === 46) && !scanner2.hasPrecedingLineBreak()) {\n              const operator = token();\n              nextToken();\n              return finishNode(factory2.createPostfixUnaryExpression(expression, operator), expression.pos);\n            }\n            return expression;\n          }\n          function parseLeftHandSideExpressionOrHigher() {\n            const pos = getNodePos();\n            let expression;\n            if (token() === 100) {\n              if (lookAhead(nextTokenIsOpenParenOrLessThan)) {\n                sourceFlags |= 2097152;\n                expression = parseTokenNode();\n              } else if (lookAhead(nextTokenIsDot)) {\n                nextToken();\n                nextToken();\n                expression = finishNode(factory2.createMetaProperty(100, parseIdentifierName()), pos);\n                sourceFlags |= 4194304;\n              } else {\n                expression = parseMemberExpressionOrHigher();\n              }\n            } else {\n              expression = token() === 106 ? parseSuperExpression() : parseMemberExpressionOrHigher();\n            }\n            return parseCallExpressionRest(pos, expression);\n          }\n          function parseMemberExpressionOrHigher() {\n            const pos = getNodePos();\n            const expression = parsePrimaryExpression();\n            return parseMemberExpressionRest(\n              pos,\n              expression,\n              /*allowOptionalChain*/\n              true\n            );\n          }\n          function parseSuperExpression() {\n            const pos = getNodePos();\n            let expression = parseTokenNode();\n            if (token() === 29) {\n              const startPos = getNodePos();\n              const typeArguments = tryParse(parseTypeArgumentsInExpression);\n              if (typeArguments !== void 0) {\n                parseErrorAt(startPos, getNodePos(), Diagnostics.super_may_not_use_type_arguments);\n                if (!isTemplateStartOfTaggedTemplate()) {\n                  expression = factory2.createExpressionWithTypeArguments(expression, typeArguments);\n                }\n              }\n            }\n            if (token() === 20 || token() === 24 || token() === 22) {\n              return expression;\n            }\n            parseExpectedToken(24, Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);\n            return finishNode(factoryCreatePropertyAccessExpression(expression, parseRightSideOfDot(\n              /*allowIdentifierNames*/\n              true,\n              /*allowPrivateIdentifiers*/\n              true\n            )), pos);\n          }\n          function parseJsxElementOrSelfClosingElementOrFragment(inExpressionContext, topInvalidNodePosition, openingTag) {\n            const pos = getNodePos();\n            const opening = parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext);\n            let result;\n            if (opening.kind === 283) {\n              let children = parseJsxChildren(opening);\n              let closingElement;\n              const lastChild = children[children.length - 1];\n              if ((lastChild == null ? void 0 : lastChild.kind) === 281 && !tagNamesAreEquivalent(lastChild.openingElement.tagName, lastChild.closingElement.tagName) && tagNamesAreEquivalent(opening.tagName, lastChild.closingElement.tagName)) {\n                const end = lastChild.children.end;\n                const newLast = finishNode(\n                  factory2.createJsxElement(\n                    lastChild.openingElement,\n                    lastChild.children,\n                    finishNode(factory2.createJsxClosingElement(finishNode(factoryCreateIdentifier(\"\"), end, end)), end, end)\n                  ),\n                  lastChild.openingElement.pos,\n                  end\n                );\n                children = createNodeArray([...children.slice(0, children.length - 1), newLast], children.pos, end);\n                closingElement = lastChild.closingElement;\n              } else {\n                closingElement = parseJsxClosingElement(opening, inExpressionContext);\n                if (!tagNamesAreEquivalent(opening.tagName, closingElement.tagName)) {\n                  if (openingTag && isJsxOpeningElement(openingTag) && tagNamesAreEquivalent(closingElement.tagName, openingTag.tagName)) {\n                    parseErrorAtRange(opening.tagName, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, opening.tagName));\n                  } else {\n                    parseErrorAtRange(closingElement.tagName, Diagnostics.Expected_corresponding_JSX_closing_tag_for_0, getTextOfNodeFromSourceText(sourceText, opening.tagName));\n                  }\n                }\n              }\n              result = finishNode(factory2.createJsxElement(opening, children, closingElement), pos);\n            } else if (opening.kind === 286) {\n              result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos);\n            } else {\n              Debug2.assert(\n                opening.kind === 282\n                /* JsxSelfClosingElement */\n              );\n              result = opening;\n            }\n            if (inExpressionContext && token() === 29) {\n              const topBadPos = typeof topInvalidNodePosition === \"undefined\" ? result.pos : topInvalidNodePosition;\n              const invalidElement = tryParse(() => parseJsxElementOrSelfClosingElementOrFragment(\n                /*inExpressionContext*/\n                true,\n                topBadPos\n              ));\n              if (invalidElement) {\n                const operatorToken = createMissingNode(\n                  27,\n                  /*reportAtCurrentPosition*/\n                  false\n                );\n                setTextRangePosWidth(operatorToken, invalidElement.pos, 0);\n                parseErrorAt(skipTrivia(sourceText, topBadPos), invalidElement.end, Diagnostics.JSX_expressions_must_have_one_parent_element);\n                return finishNode(factory2.createBinaryExpression(result, operatorToken, invalidElement), pos);\n              }\n            }\n            return result;\n          }\n          function parseJsxText() {\n            const pos = getNodePos();\n            const node = factory2.createJsxText(\n              scanner2.getTokenValue(),\n              currentToken === 12\n              /* JsxTextAllWhiteSpaces */\n            );\n            currentToken = scanner2.scanJsxToken();\n            return finishNode(node, pos);\n          }\n          function parseJsxChild(openingTag, token2) {\n            switch (token2) {\n              case 1:\n                if (isJsxOpeningFragment(openingTag)) {\n                  parseErrorAtRange(openingTag, Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);\n                } else {\n                  const tag = openingTag.tagName;\n                  const start = skipTrivia(sourceText, tag.pos);\n                  parseErrorAt(start, tag.end, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, openingTag.tagName));\n                }\n                return void 0;\n              case 30:\n              case 7:\n                return void 0;\n              case 11:\n              case 12:\n                return parseJsxText();\n              case 18:\n                return parseJsxExpression(\n                  /*inExpressionContext*/\n                  false\n                );\n              case 29:\n                return parseJsxElementOrSelfClosingElementOrFragment(\n                  /*inExpressionContext*/\n                  false,\n                  /*topInvalidNodePosition*/\n                  void 0,\n                  openingTag\n                );\n              default:\n                return Debug2.assertNever(token2);\n            }\n          }\n          function parseJsxChildren(openingTag) {\n            const list = [];\n            const listPos = getNodePos();\n            const saveParsingContext = parsingContext;\n            parsingContext |= 1 << 14;\n            while (true) {\n              const child = parseJsxChild(openingTag, currentToken = scanner2.reScanJsxToken());\n              if (!child)\n                break;\n              list.push(child);\n              if (isJsxOpeningElement(openingTag) && (child == null ? void 0 : child.kind) === 281 && !tagNamesAreEquivalent(child.openingElement.tagName, child.closingElement.tagName) && tagNamesAreEquivalent(openingTag.tagName, child.closingElement.tagName)) {\n                break;\n              }\n            }\n            parsingContext = saveParsingContext;\n            return createNodeArray(list, listPos);\n          }\n          function parseJsxAttributes() {\n            const pos = getNodePos();\n            return finishNode(factory2.createJsxAttributes(parseList(13, parseJsxAttribute)), pos);\n          }\n          function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext) {\n            const pos = getNodePos();\n            parseExpected(\n              29\n              /* LessThanToken */\n            );\n            if (token() === 31) {\n              scanJsxText();\n              return finishNode(factory2.createJsxOpeningFragment(), pos);\n            }\n            const tagName = parseJsxElementName();\n            const typeArguments = (contextFlags & 262144) === 0 ? tryParseTypeArguments() : void 0;\n            const attributes = parseJsxAttributes();\n            let node;\n            if (token() === 31) {\n              scanJsxText();\n              node = factory2.createJsxOpeningElement(tagName, typeArguments, attributes);\n            } else {\n              parseExpected(\n                43\n                /* SlashToken */\n              );\n              if (parseExpected(\n                31,\n                /*diagnostic*/\n                void 0,\n                /*shouldAdvance*/\n                false\n              )) {\n                if (inExpressionContext) {\n                  nextToken();\n                } else {\n                  scanJsxText();\n                }\n              }\n              node = factory2.createJsxSelfClosingElement(tagName, typeArguments, attributes);\n            }\n            return finishNode(node, pos);\n          }\n          function parseJsxElementName() {\n            const pos = getNodePos();\n            scanJsxIdentifier();\n            let expression = token() === 108 ? parseTokenNode() : parseIdentifierName();\n            while (parseOptional(\n              24\n              /* DotToken */\n            )) {\n              expression = finishNode(factoryCreatePropertyAccessExpression(expression, parseRightSideOfDot(\n                /*allowIdentifierNames*/\n                true,\n                /*allowPrivateIdentifiers*/\n                false\n              )), pos);\n            }\n            return expression;\n          }\n          function parseJsxExpression(inExpressionContext) {\n            const pos = getNodePos();\n            if (!parseExpected(\n              18\n              /* OpenBraceToken */\n            )) {\n              return void 0;\n            }\n            let dotDotDotToken;\n            let expression;\n            if (token() !== 19) {\n              dotDotDotToken = parseOptionalToken(\n                25\n                /* DotDotDotToken */\n              );\n              expression = parseExpression();\n            }\n            if (inExpressionContext) {\n              parseExpected(\n                19\n                /* CloseBraceToken */\n              );\n            } else {\n              if (parseExpected(\n                19,\n                /*message*/\n                void 0,\n                /*shouldAdvance*/\n                false\n              )) {\n                scanJsxText();\n              }\n            }\n            return finishNode(factory2.createJsxExpression(dotDotDotToken, expression), pos);\n          }\n          function parseJsxAttribute() {\n            if (token() === 18) {\n              return parseJsxSpreadAttribute();\n            }\n            scanJsxIdentifier();\n            const pos = getNodePos();\n            return finishNode(factory2.createJsxAttribute(parseIdentifierName(), parseJsxAttributeValue()), pos);\n          }\n          function parseJsxAttributeValue() {\n            if (token() === 63) {\n              if (scanJsxAttributeValue() === 10) {\n                return parseLiteralNode();\n              }\n              if (token() === 18) {\n                return parseJsxExpression(\n                  /*inExpressionContext*/\n                  true\n                );\n              }\n              if (token() === 29) {\n                return parseJsxElementOrSelfClosingElementOrFragment(\n                  /*inExpressionContext*/\n                  true\n                );\n              }\n              parseErrorAtCurrentToken(Diagnostics.or_JSX_element_expected);\n            }\n            return void 0;\n          }\n          function parseJsxSpreadAttribute() {\n            const pos = getNodePos();\n            parseExpected(\n              18\n              /* OpenBraceToken */\n            );\n            parseExpected(\n              25\n              /* DotDotDotToken */\n            );\n            const expression = parseExpression();\n            parseExpected(\n              19\n              /* CloseBraceToken */\n            );\n            return finishNode(factory2.createJsxSpreadAttribute(expression), pos);\n          }\n          function parseJsxClosingElement(open, inExpressionContext) {\n            const pos = getNodePos();\n            parseExpected(\n              30\n              /* LessThanSlashToken */\n            );\n            const tagName = parseJsxElementName();\n            if (parseExpected(\n              31,\n              /*diagnostic*/\n              void 0,\n              /*shouldAdvance*/\n              false\n            )) {\n              if (inExpressionContext || !tagNamesAreEquivalent(open.tagName, tagName)) {\n                nextToken();\n              } else {\n                scanJsxText();\n              }\n            }\n            return finishNode(factory2.createJsxClosingElement(tagName), pos);\n          }\n          function parseJsxClosingFragment(inExpressionContext) {\n            const pos = getNodePos();\n            parseExpected(\n              30\n              /* LessThanSlashToken */\n            );\n            if (parseExpected(\n              31,\n              Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment,\n              /*shouldAdvance*/\n              false\n            )) {\n              if (inExpressionContext) {\n                nextToken();\n              } else {\n                scanJsxText();\n              }\n            }\n            return finishNode(factory2.createJsxJsxClosingFragment(), pos);\n          }\n          function parseTypeAssertion() {\n            Debug2.assert(languageVariant !== 1, \"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.\");\n            const pos = getNodePos();\n            parseExpected(\n              29\n              /* LessThanToken */\n            );\n            const type = parseType();\n            parseExpected(\n              31\n              /* GreaterThanToken */\n            );\n            const expression = parseSimpleUnaryExpression();\n            return finishNode(factory2.createTypeAssertion(type, expression), pos);\n          }\n          function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate() {\n            nextToken();\n            return tokenIsIdentifierOrKeyword(token()) || token() === 22 || isTemplateStartOfTaggedTemplate();\n          }\n          function isStartOfOptionalPropertyOrElementAccessChain() {\n            return token() === 28 && lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate);\n          }\n          function tryReparseOptionalChain(node) {\n            if (node.flags & 32) {\n              return true;\n            }\n            if (isNonNullExpression(node)) {\n              let expr = node.expression;\n              while (isNonNullExpression(expr) && !(expr.flags & 32)) {\n                expr = expr.expression;\n              }\n              if (expr.flags & 32) {\n                while (isNonNullExpression(node)) {\n                  node.flags |= 32;\n                  node = node.expression;\n                }\n                return true;\n              }\n            }\n            return false;\n          }\n          function parsePropertyAccessExpressionRest(pos, expression, questionDotToken) {\n            const name = parseRightSideOfDot(\n              /*allowIdentifierNames*/\n              true,\n              /*allowPrivateIdentifiers*/\n              true\n            );\n            const isOptionalChain2 = questionDotToken || tryReparseOptionalChain(expression);\n            const propertyAccess = isOptionalChain2 ? factoryCreatePropertyAccessChain(expression, questionDotToken, name) : factoryCreatePropertyAccessExpression(expression, name);\n            if (isOptionalChain2 && isPrivateIdentifier(propertyAccess.name)) {\n              parseErrorAtRange(propertyAccess.name, Diagnostics.An_optional_chain_cannot_contain_private_identifiers);\n            }\n            if (isExpressionWithTypeArguments(expression) && expression.typeArguments) {\n              const pos2 = expression.typeArguments.pos - 1;\n              const end = skipTrivia(sourceText, expression.typeArguments.end) + 1;\n              parseErrorAt(pos2, end, Diagnostics.An_instantiation_expression_cannot_be_followed_by_a_property_access);\n            }\n            return finishNode(propertyAccess, pos);\n          }\n          function parseElementAccessExpressionRest(pos, expression, questionDotToken) {\n            let argumentExpression;\n            if (token() === 23) {\n              argumentExpression = createMissingNode(\n                79,\n                /*reportAtCurrentPosition*/\n                true,\n                Diagnostics.An_element_access_expression_should_take_an_argument\n              );\n            } else {\n              const argument = allowInAnd(parseExpression);\n              if (isStringOrNumericLiteralLike(argument)) {\n                argument.text = internIdentifier(argument.text);\n              }\n              argumentExpression = argument;\n            }\n            parseExpected(\n              23\n              /* CloseBracketToken */\n            );\n            const indexedAccess = questionDotToken || tryReparseOptionalChain(expression) ? factoryCreateElementAccessChain(expression, questionDotToken, argumentExpression) : factoryCreateElementAccessExpression(expression, argumentExpression);\n            return finishNode(indexedAccess, pos);\n          }\n          function parseMemberExpressionRest(pos, expression, allowOptionalChain) {\n            while (true) {\n              let questionDotToken;\n              let isPropertyAccess = false;\n              if (allowOptionalChain && isStartOfOptionalPropertyOrElementAccessChain()) {\n                questionDotToken = parseExpectedToken(\n                  28\n                  /* QuestionDotToken */\n                );\n                isPropertyAccess = tokenIsIdentifierOrKeyword(token());\n              } else {\n                isPropertyAccess = parseOptional(\n                  24\n                  /* DotToken */\n                );\n              }\n              if (isPropertyAccess) {\n                expression = parsePropertyAccessExpressionRest(pos, expression, questionDotToken);\n                continue;\n              }\n              if ((questionDotToken || !inDecoratorContext()) && parseOptional(\n                22\n                /* OpenBracketToken */\n              )) {\n                expression = parseElementAccessExpressionRest(pos, expression, questionDotToken);\n                continue;\n              }\n              if (isTemplateStartOfTaggedTemplate()) {\n                expression = !questionDotToken && expression.kind === 230 ? parseTaggedTemplateRest(pos, expression.expression, questionDotToken, expression.typeArguments) : parseTaggedTemplateRest(\n                  pos,\n                  expression,\n                  questionDotToken,\n                  /*typeArguments*/\n                  void 0\n                );\n                continue;\n              }\n              if (!questionDotToken) {\n                if (token() === 53 && !scanner2.hasPrecedingLineBreak()) {\n                  nextToken();\n                  expression = finishNode(factory2.createNonNullExpression(expression), pos);\n                  continue;\n                }\n                const typeArguments = tryParse(parseTypeArgumentsInExpression);\n                if (typeArguments) {\n                  expression = finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos);\n                  continue;\n                }\n              }\n              return expression;\n            }\n          }\n          function isTemplateStartOfTaggedTemplate() {\n            return token() === 14 || token() === 15;\n          }\n          function parseTaggedTemplateRest(pos, tag, questionDotToken, typeArguments) {\n            const tagExpression = factory2.createTaggedTemplateExpression(\n              tag,\n              typeArguments,\n              token() === 14 ? (reScanTemplateHeadOrNoSubstitutionTemplate(), parseLiteralNode()) : parseTemplateExpression(\n                /*isTaggedTemplate*/\n                true\n              )\n            );\n            if (questionDotToken || tag.flags & 32) {\n              tagExpression.flags |= 32;\n            }\n            tagExpression.questionDotToken = questionDotToken;\n            return finishNode(tagExpression, pos);\n          }\n          function parseCallExpressionRest(pos, expression) {\n            while (true) {\n              expression = parseMemberExpressionRest(\n                pos,\n                expression,\n                /*allowOptionalChain*/\n                true\n              );\n              let typeArguments;\n              const questionDotToken = parseOptionalToken(\n                28\n                /* QuestionDotToken */\n              );\n              if (questionDotToken) {\n                typeArguments = tryParse(parseTypeArgumentsInExpression);\n                if (isTemplateStartOfTaggedTemplate()) {\n                  expression = parseTaggedTemplateRest(pos, expression, questionDotToken, typeArguments);\n                  continue;\n                }\n              }\n              if (typeArguments || token() === 20) {\n                if (!questionDotToken && expression.kind === 230) {\n                  typeArguments = expression.typeArguments;\n                  expression = expression.expression;\n                }\n                const argumentList = parseArgumentList();\n                const callExpr = questionDotToken || tryReparseOptionalChain(expression) ? factoryCreateCallChain(expression, questionDotToken, typeArguments, argumentList) : factoryCreateCallExpression(expression, typeArguments, argumentList);\n                expression = finishNode(callExpr, pos);\n                continue;\n              }\n              if (questionDotToken) {\n                const name = createMissingNode(\n                  79,\n                  /*reportAtCurrentPosition*/\n                  false,\n                  Diagnostics.Identifier_expected\n                );\n                expression = finishNode(factoryCreatePropertyAccessChain(expression, questionDotToken, name), pos);\n              }\n              break;\n            }\n            return expression;\n          }\n          function parseArgumentList() {\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const result = parseDelimitedList(11, parseArgumentExpression);\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            return result;\n          }\n          function parseTypeArgumentsInExpression() {\n            if ((contextFlags & 262144) !== 0) {\n              return void 0;\n            }\n            if (reScanLessThanToken() !== 29) {\n              return void 0;\n            }\n            nextToken();\n            const typeArguments = parseDelimitedList(20, parseType);\n            if (reScanGreaterToken() !== 31) {\n              return void 0;\n            }\n            nextToken();\n            return typeArguments && canFollowTypeArgumentsInExpression() ? typeArguments : void 0;\n          }\n          function canFollowTypeArgumentsInExpression() {\n            switch (token()) {\n              case 20:\n              case 14:\n              case 15:\n                return true;\n              case 29:\n              case 31:\n              case 39:\n              case 40:\n                return false;\n            }\n            return scanner2.hasPrecedingLineBreak() || isBinaryOperator2() || !isStartOfExpression();\n          }\n          function parsePrimaryExpression() {\n            switch (token()) {\n              case 8:\n              case 9:\n              case 10:\n              case 14:\n                return parseLiteralNode();\n              case 108:\n              case 106:\n              case 104:\n              case 110:\n              case 95:\n                return parseTokenNode();\n              case 20:\n                return parseParenthesizedExpression();\n              case 22:\n                return parseArrayLiteralExpression();\n              case 18:\n                return parseObjectLiteralExpression();\n              case 132:\n                if (!lookAhead(nextTokenIsFunctionKeywordOnSameLine)) {\n                  break;\n                }\n                return parseFunctionExpression();\n              case 59:\n                return parseDecoratedExpression();\n              case 84:\n                return parseClassExpression();\n              case 98:\n                return parseFunctionExpression();\n              case 103:\n                return parseNewExpressionOrNewDotTarget();\n              case 43:\n              case 68:\n                if (reScanSlashToken() === 13) {\n                  return parseLiteralNode();\n                }\n                break;\n              case 15:\n                return parseTemplateExpression(\n                  /* isTaggedTemplate */\n                  false\n                );\n              case 80:\n                return parsePrivateIdentifier();\n            }\n            return parseIdentifier(Diagnostics.Expression_expected);\n          }\n          function parseParenthesizedExpression() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            return withJSDoc(finishNode(factoryCreateParenthesizedExpression(expression), pos), hasJSDoc);\n          }\n          function parseSpreadElement() {\n            const pos = getNodePos();\n            parseExpected(\n              25\n              /* DotDotDotToken */\n            );\n            const expression = parseAssignmentExpressionOrHigher(\n              /*allowReturnTypeInArrowFunction*/\n              true\n            );\n            return finishNode(factory2.createSpreadElement(expression), pos);\n          }\n          function parseArgumentOrArrayLiteralElement() {\n            return token() === 25 ? parseSpreadElement() : token() === 27 ? finishNode(factory2.createOmittedExpression(), getNodePos()) : parseAssignmentExpressionOrHigher(\n              /*allowReturnTypeInArrowFunction*/\n              true\n            );\n          }\n          function parseArgumentExpression() {\n            return doOutsideOfContext(disallowInAndDecoratorContext, parseArgumentOrArrayLiteralElement);\n          }\n          function parseArrayLiteralExpression() {\n            const pos = getNodePos();\n            const openBracketPosition = scanner2.getTokenPos();\n            const openBracketParsed = parseExpected(\n              22\n              /* OpenBracketToken */\n            );\n            const multiLine = scanner2.hasPrecedingLineBreak();\n            const elements = parseDelimitedList(15, parseArgumentOrArrayLiteralElement);\n            parseExpectedMatchingBrackets(22, 23, openBracketParsed, openBracketPosition);\n            return finishNode(factoryCreateArrayLiteralExpression(elements, multiLine), pos);\n          }\n          function parseObjectLiteralElement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            if (parseOptionalToken(\n              25\n              /* DotDotDotToken */\n            )) {\n              const expression = parseAssignmentExpressionOrHigher(\n                /*allowReturnTypeInArrowFunction*/\n                true\n              );\n              return withJSDoc(finishNode(factory2.createSpreadAssignment(expression), pos), hasJSDoc);\n            }\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              true\n            );\n            if (parseContextualModifier(\n              137\n              /* GetKeyword */\n            )) {\n              return parseAccessorDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                174,\n                0\n                /* None */\n              );\n            }\n            if (parseContextualModifier(\n              151\n              /* SetKeyword */\n            )) {\n              return parseAccessorDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                175,\n                0\n                /* None */\n              );\n            }\n            const asteriskToken = parseOptionalToken(\n              41\n              /* AsteriskToken */\n            );\n            const tokenIsIdentifier = isIdentifier2();\n            const name = parsePropertyName();\n            const questionToken = parseOptionalToken(\n              57\n              /* QuestionToken */\n            );\n            const exclamationToken = parseOptionalToken(\n              53\n              /* ExclamationToken */\n            );\n            if (asteriskToken || token() === 20 || token() === 29) {\n              return parseMethodDeclaration(pos, hasJSDoc, modifiers, asteriskToken, name, questionToken, exclamationToken);\n            }\n            let node;\n            const isShorthandPropertyAssignment2 = tokenIsIdentifier && token() !== 58;\n            if (isShorthandPropertyAssignment2) {\n              const equalsToken = parseOptionalToken(\n                63\n                /* EqualsToken */\n              );\n              const objectAssignmentInitializer = equalsToken ? allowInAnd(() => parseAssignmentExpressionOrHigher(\n                /*allowReturnTypeInArrowFunction*/\n                true\n              )) : void 0;\n              node = factory2.createShorthandPropertyAssignment(name, objectAssignmentInitializer);\n              node.equalsToken = equalsToken;\n            } else {\n              parseExpected(\n                58\n                /* ColonToken */\n              );\n              const initializer = allowInAnd(() => parseAssignmentExpressionOrHigher(\n                /*allowReturnTypeInArrowFunction*/\n                true\n              ));\n              node = factory2.createPropertyAssignment(name, initializer);\n            }\n            node.modifiers = modifiers;\n            node.questionToken = questionToken;\n            node.exclamationToken = exclamationToken;\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseObjectLiteralExpression() {\n            const pos = getNodePos();\n            const openBracePosition = scanner2.getTokenPos();\n            const openBraceParsed = parseExpected(\n              18\n              /* OpenBraceToken */\n            );\n            const multiLine = scanner2.hasPrecedingLineBreak();\n            const properties = parseDelimitedList(\n              12,\n              parseObjectLiteralElement,\n              /*considerSemicolonAsDelimiter*/\n              true\n            );\n            parseExpectedMatchingBrackets(18, 19, openBraceParsed, openBracePosition);\n            return finishNode(factoryCreateObjectLiteralExpression(properties, multiLine), pos);\n          }\n          function parseFunctionExpression() {\n            const savedDecoratorContext = inDecoratorContext();\n            setDecoratorContext(\n              /*val*/\n              false\n            );\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              false\n            );\n            parseExpected(\n              98\n              /* FunctionKeyword */\n            );\n            const asteriskToken = parseOptionalToken(\n              41\n              /* AsteriskToken */\n            );\n            const isGenerator = asteriskToken ? 1 : 0;\n            const isAsync = some(modifiers, isAsyncModifier) ? 2 : 0;\n            const name = isGenerator && isAsync ? doInYieldAndAwaitContext(parseOptionalBindingIdentifier) : isGenerator ? doInYieldContext(parseOptionalBindingIdentifier) : isAsync ? doInAwaitContext(parseOptionalBindingIdentifier) : parseOptionalBindingIdentifier();\n            const typeParameters = parseTypeParameters();\n            const parameters = parseParameters(isGenerator | isAsync);\n            const type = parseReturnType(\n              58,\n              /*isType*/\n              false\n            );\n            const body = parseFunctionBlock(isGenerator | isAsync);\n            setDecoratorContext(savedDecoratorContext);\n            const node = factory2.createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseOptionalBindingIdentifier() {\n            return isBindingIdentifier() ? parseBindingIdentifier() : void 0;\n          }\n          function parseNewExpressionOrNewDotTarget() {\n            const pos = getNodePos();\n            parseExpected(\n              103\n              /* NewKeyword */\n            );\n            if (parseOptional(\n              24\n              /* DotToken */\n            )) {\n              const name = parseIdentifierName();\n              return finishNode(factory2.createMetaProperty(103, name), pos);\n            }\n            const expressionPos = getNodePos();\n            let expression = parseMemberExpressionRest(\n              expressionPos,\n              parsePrimaryExpression(),\n              /*allowOptionalChain*/\n              false\n            );\n            let typeArguments;\n            if (expression.kind === 230) {\n              typeArguments = expression.typeArguments;\n              expression = expression.expression;\n            }\n            if (token() === 28) {\n              parseErrorAtCurrentToken(Diagnostics.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0, getTextOfNodeFromSourceText(sourceText, expression));\n            }\n            const argumentList = token() === 20 ? parseArgumentList() : void 0;\n            return finishNode(factoryCreateNewExpression(expression, typeArguments, argumentList), pos);\n          }\n          function parseBlock(ignoreMissingOpenBrace, diagnosticMessage) {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const openBracePosition = scanner2.getTokenPos();\n            const openBraceParsed = parseExpected(18, diagnosticMessage);\n            if (openBraceParsed || ignoreMissingOpenBrace) {\n              const multiLine = scanner2.hasPrecedingLineBreak();\n              const statements = parseList(1, parseStatement);\n              parseExpectedMatchingBrackets(18, 19, openBraceParsed, openBracePosition);\n              const result = withJSDoc(finishNode(factoryCreateBlock(statements, multiLine), pos), hasJSDoc);\n              if (token() === 63) {\n                parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses);\n                nextToken();\n              }\n              return result;\n            } else {\n              const statements = createMissingList();\n              return withJSDoc(finishNode(factoryCreateBlock(\n                statements,\n                /*multiLine*/\n                void 0\n              ), pos), hasJSDoc);\n            }\n          }\n          function parseFunctionBlock(flags, diagnosticMessage) {\n            const savedYieldContext = inYieldContext();\n            setYieldContext(!!(flags & 1));\n            const savedAwaitContext = inAwaitContext();\n            setAwaitContext(!!(flags & 2));\n            const savedTopLevel = topLevel;\n            topLevel = false;\n            const saveDecoratorContext = inDecoratorContext();\n            if (saveDecoratorContext) {\n              setDecoratorContext(\n                /*val*/\n                false\n              );\n            }\n            const block = parseBlock(!!(flags & 16), diagnosticMessage);\n            if (saveDecoratorContext) {\n              setDecoratorContext(\n                /*val*/\n                true\n              );\n            }\n            topLevel = savedTopLevel;\n            setYieldContext(savedYieldContext);\n            setAwaitContext(savedAwaitContext);\n            return block;\n          }\n          function parseEmptyStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              26\n              /* SemicolonToken */\n            );\n            return withJSDoc(finishNode(factory2.createEmptyStatement(), pos), hasJSDoc);\n          }\n          function parseIfStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              99\n              /* IfKeyword */\n            );\n            const openParenPosition = scanner2.getTokenPos();\n            const openParenParsed = parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpectedMatchingBrackets(20, 21, openParenParsed, openParenPosition);\n            const thenStatement = parseStatement();\n            const elseStatement = parseOptional(\n              91\n              /* ElseKeyword */\n            ) ? parseStatement() : void 0;\n            return withJSDoc(finishNode(factoryCreateIfStatement(expression, thenStatement, elseStatement), pos), hasJSDoc);\n          }\n          function parseDoStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              90\n              /* DoKeyword */\n            );\n            const statement = parseStatement();\n            parseExpected(\n              115\n              /* WhileKeyword */\n            );\n            const openParenPosition = scanner2.getTokenPos();\n            const openParenParsed = parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpectedMatchingBrackets(20, 21, openParenParsed, openParenPosition);\n            parseOptional(\n              26\n              /* SemicolonToken */\n            );\n            return withJSDoc(finishNode(factory2.createDoStatement(statement, expression), pos), hasJSDoc);\n          }\n          function parseWhileStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              115\n              /* WhileKeyword */\n            );\n            const openParenPosition = scanner2.getTokenPos();\n            const openParenParsed = parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpectedMatchingBrackets(20, 21, openParenParsed, openParenPosition);\n            const statement = parseStatement();\n            return withJSDoc(finishNode(factoryCreateWhileStatement(expression, statement), pos), hasJSDoc);\n          }\n          function parseForOrForInOrForOfStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              97\n              /* ForKeyword */\n            );\n            const awaitToken = parseOptionalToken(\n              133\n              /* AwaitKeyword */\n            );\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            let initializer;\n            if (token() !== 26) {\n              if (token() === 113 || token() === 119 || token() === 85) {\n                initializer = parseVariableDeclarationList(\n                  /*inForStatementInitializer*/\n                  true\n                );\n              } else {\n                initializer = disallowInAnd(parseExpression);\n              }\n            }\n            let node;\n            if (awaitToken ? parseExpected(\n              162\n              /* OfKeyword */\n            ) : parseOptional(\n              162\n              /* OfKeyword */\n            )) {\n              const expression = allowInAnd(() => parseAssignmentExpressionOrHigher(\n                /*allowReturnTypeInArrowFunction*/\n                true\n              ));\n              parseExpected(\n                21\n                /* CloseParenToken */\n              );\n              node = factoryCreateForOfStatement(awaitToken, initializer, expression, parseStatement());\n            } else if (parseOptional(\n              101\n              /* InKeyword */\n            )) {\n              const expression = allowInAnd(parseExpression);\n              parseExpected(\n                21\n                /* CloseParenToken */\n              );\n              node = factory2.createForInStatement(initializer, expression, parseStatement());\n            } else {\n              parseExpected(\n                26\n                /* SemicolonToken */\n              );\n              const condition = token() !== 26 && token() !== 21 ? allowInAnd(parseExpression) : void 0;\n              parseExpected(\n                26\n                /* SemicolonToken */\n              );\n              const incrementor = token() !== 21 ? allowInAnd(parseExpression) : void 0;\n              parseExpected(\n                21\n                /* CloseParenToken */\n              );\n              node = factoryCreateForStatement(initializer, condition, incrementor, parseStatement());\n            }\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseBreakOrContinueStatement(kind) {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              kind === 249 ? 81 : 86\n              /* ContinueKeyword */\n            );\n            const label = canParseSemicolon() ? void 0 : parseIdentifier();\n            parseSemicolon();\n            const node = kind === 249 ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseReturnStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              105\n              /* ReturnKeyword */\n            );\n            const expression = canParseSemicolon() ? void 0 : allowInAnd(parseExpression);\n            parseSemicolon();\n            return withJSDoc(finishNode(factory2.createReturnStatement(expression), pos), hasJSDoc);\n          }\n          function parseWithStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              116\n              /* WithKeyword */\n            );\n            const openParenPosition = scanner2.getTokenPos();\n            const openParenParsed = parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpectedMatchingBrackets(20, 21, openParenParsed, openParenPosition);\n            const statement = doInsideOfContext(33554432, parseStatement);\n            return withJSDoc(finishNode(factory2.createWithStatement(expression, statement), pos), hasJSDoc);\n          }\n          function parseCaseClause() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              82\n              /* CaseKeyword */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpected(\n              58\n              /* ColonToken */\n            );\n            const statements = parseList(3, parseStatement);\n            return withJSDoc(finishNode(factory2.createCaseClause(expression, statements), pos), hasJSDoc);\n          }\n          function parseDefaultClause() {\n            const pos = getNodePos();\n            parseExpected(\n              88\n              /* DefaultKeyword */\n            );\n            parseExpected(\n              58\n              /* ColonToken */\n            );\n            const statements = parseList(3, parseStatement);\n            return finishNode(factory2.createDefaultClause(statements), pos);\n          }\n          function parseCaseOrDefaultClause() {\n            return token() === 82 ? parseCaseClause() : parseDefaultClause();\n          }\n          function parseCaseBlock() {\n            const pos = getNodePos();\n            parseExpected(\n              18\n              /* OpenBraceToken */\n            );\n            const clauses = parseList(2, parseCaseOrDefaultClause);\n            parseExpected(\n              19\n              /* CloseBraceToken */\n            );\n            return finishNode(factory2.createCaseBlock(clauses), pos);\n          }\n          function parseSwitchStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              107\n              /* SwitchKeyword */\n            );\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = allowInAnd(parseExpression);\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            const caseBlock = parseCaseBlock();\n            return withJSDoc(finishNode(factory2.createSwitchStatement(expression, caseBlock), pos), hasJSDoc);\n          }\n          function parseThrowStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              109\n              /* ThrowKeyword */\n            );\n            let expression = scanner2.hasPrecedingLineBreak() ? void 0 : allowInAnd(parseExpression);\n            if (expression === void 0) {\n              identifierCount++;\n              expression = finishNode(factoryCreateIdentifier(\"\"), getNodePos());\n            }\n            if (!tryParseSemicolon()) {\n              parseErrorForMissingSemicolonAfter(expression);\n            }\n            return withJSDoc(finishNode(factory2.createThrowStatement(expression), pos), hasJSDoc);\n          }\n          function parseTryStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              111\n              /* TryKeyword */\n            );\n            const tryBlock = parseBlock(\n              /*ignoreMissingOpenBrace*/\n              false\n            );\n            const catchClause = token() === 83 ? parseCatchClause() : void 0;\n            let finallyBlock;\n            if (!catchClause || token() === 96) {\n              parseExpected(96, Diagnostics.catch_or_finally_expected);\n              finallyBlock = parseBlock(\n                /*ignoreMissingOpenBrace*/\n                false\n              );\n            }\n            return withJSDoc(finishNode(factory2.createTryStatement(tryBlock, catchClause, finallyBlock), pos), hasJSDoc);\n          }\n          function parseCatchClause() {\n            const pos = getNodePos();\n            parseExpected(\n              83\n              /* CatchKeyword */\n            );\n            let variableDeclaration;\n            if (parseOptional(\n              20\n              /* OpenParenToken */\n            )) {\n              variableDeclaration = parseVariableDeclaration();\n              parseExpected(\n                21\n                /* CloseParenToken */\n              );\n            } else {\n              variableDeclaration = void 0;\n            }\n            const block = parseBlock(\n              /*ignoreMissingOpenBrace*/\n              false\n            );\n            return finishNode(factory2.createCatchClause(variableDeclaration, block), pos);\n          }\n          function parseDebuggerStatement() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            parseExpected(\n              87\n              /* DebuggerKeyword */\n            );\n            parseSemicolon();\n            return withJSDoc(finishNode(factory2.createDebuggerStatement(), pos), hasJSDoc);\n          }\n          function parseExpressionOrLabeledStatement() {\n            const pos = getNodePos();\n            let hasJSDoc = hasPrecedingJSDocComment();\n            let node;\n            const hasParen = token() === 20;\n            const expression = allowInAnd(parseExpression);\n            if (isIdentifier(expression) && parseOptional(\n              58\n              /* ColonToken */\n            )) {\n              node = factory2.createLabeledStatement(expression, parseStatement());\n            } else {\n              if (!tryParseSemicolon()) {\n                parseErrorForMissingSemicolonAfter(expression);\n              }\n              node = factoryCreateExpressionStatement(expression);\n              if (hasParen) {\n                hasJSDoc = false;\n              }\n            }\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function nextTokenIsIdentifierOrKeywordOnSameLine() {\n            nextToken();\n            return tokenIsIdentifierOrKeyword(token()) && !scanner2.hasPrecedingLineBreak();\n          }\n          function nextTokenIsClassKeywordOnSameLine() {\n            nextToken();\n            return token() === 84 && !scanner2.hasPrecedingLineBreak();\n          }\n          function nextTokenIsFunctionKeywordOnSameLine() {\n            nextToken();\n            return token() === 98 && !scanner2.hasPrecedingLineBreak();\n          }\n          function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine() {\n            nextToken();\n            return (tokenIsIdentifierOrKeyword(token()) || token() === 8 || token() === 9 || token() === 10) && !scanner2.hasPrecedingLineBreak();\n          }\n          function isDeclaration2() {\n            while (true) {\n              switch (token()) {\n                case 113:\n                case 119:\n                case 85:\n                case 98:\n                case 84:\n                case 92:\n                  return true;\n                case 118:\n                case 154:\n                  return nextTokenIsIdentifierOnSameLine();\n                case 142:\n                case 143:\n                  return nextTokenIsIdentifierOrStringLiteralOnSameLine();\n                case 126:\n                case 127:\n                case 132:\n                case 136:\n                case 121:\n                case 122:\n                case 123:\n                case 146:\n                  nextToken();\n                  if (scanner2.hasPrecedingLineBreak()) {\n                    return false;\n                  }\n                  continue;\n                case 159:\n                  nextToken();\n                  return token() === 18 || token() === 79 || token() === 93;\n                case 100:\n                  nextToken();\n                  return token() === 10 || token() === 41 || token() === 18 || tokenIsIdentifierOrKeyword(token());\n                case 93:\n                  let currentToken2 = nextToken();\n                  if (currentToken2 === 154) {\n                    currentToken2 = lookAhead(nextToken);\n                  }\n                  if (currentToken2 === 63 || currentToken2 === 41 || currentToken2 === 18 || currentToken2 === 88 || currentToken2 === 128 || currentToken2 === 59) {\n                    return true;\n                  }\n                  continue;\n                case 124:\n                  nextToken();\n                  continue;\n                default:\n                  return false;\n              }\n            }\n          }\n          function isStartOfDeclaration() {\n            return lookAhead(isDeclaration2);\n          }\n          function isStartOfStatement() {\n            switch (token()) {\n              case 59:\n              case 26:\n              case 18:\n              case 113:\n              case 119:\n              case 98:\n              case 84:\n              case 92:\n              case 99:\n              case 90:\n              case 115:\n              case 97:\n              case 86:\n              case 81:\n              case 105:\n              case 116:\n              case 107:\n              case 109:\n              case 111:\n              case 87:\n              case 83:\n              case 96:\n                return true;\n              case 100:\n                return isStartOfDeclaration() || lookAhead(nextTokenIsOpenParenOrLessThanOrDot);\n              case 85:\n              case 93:\n                return isStartOfDeclaration();\n              case 132:\n              case 136:\n              case 118:\n              case 142:\n              case 143:\n              case 154:\n              case 159:\n                return true;\n              case 127:\n              case 123:\n              case 121:\n              case 122:\n              case 124:\n              case 146:\n                return isStartOfDeclaration() || !lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);\n              default:\n                return isStartOfExpression();\n            }\n          }\n          function nextTokenIsBindingIdentifierOrStartOfDestructuring() {\n            nextToken();\n            return isBindingIdentifier() || token() === 18 || token() === 22;\n          }\n          function isLetDeclaration() {\n            return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring);\n          }\n          function parseStatement() {\n            switch (token()) {\n              case 26:\n                return parseEmptyStatement();\n              case 18:\n                return parseBlock(\n                  /*ignoreMissingOpenBrace*/\n                  false\n                );\n              case 113:\n                return parseVariableStatement(\n                  getNodePos(),\n                  hasPrecedingJSDocComment(),\n                  /*modifiers*/\n                  void 0\n                );\n              case 119:\n                if (isLetDeclaration()) {\n                  return parseVariableStatement(\n                    getNodePos(),\n                    hasPrecedingJSDocComment(),\n                    /*modifiers*/\n                    void 0\n                  );\n                }\n                break;\n              case 98:\n                return parseFunctionDeclaration(\n                  getNodePos(),\n                  hasPrecedingJSDocComment(),\n                  /*modifiers*/\n                  void 0\n                );\n              case 84:\n                return parseClassDeclaration(\n                  getNodePos(),\n                  hasPrecedingJSDocComment(),\n                  /*modifiers*/\n                  void 0\n                );\n              case 99:\n                return parseIfStatement();\n              case 90:\n                return parseDoStatement();\n              case 115:\n                return parseWhileStatement();\n              case 97:\n                return parseForOrForInOrForOfStatement();\n              case 86:\n                return parseBreakOrContinueStatement(\n                  248\n                  /* ContinueStatement */\n                );\n              case 81:\n                return parseBreakOrContinueStatement(\n                  249\n                  /* BreakStatement */\n                );\n              case 105:\n                return parseReturnStatement();\n              case 116:\n                return parseWithStatement();\n              case 107:\n                return parseSwitchStatement();\n              case 109:\n                return parseThrowStatement();\n              case 111:\n              case 83:\n              case 96:\n                return parseTryStatement();\n              case 87:\n                return parseDebuggerStatement();\n              case 59:\n                return parseDeclaration();\n              case 132:\n              case 118:\n              case 154:\n              case 142:\n              case 143:\n              case 136:\n              case 85:\n              case 92:\n              case 93:\n              case 100:\n              case 121:\n              case 122:\n              case 123:\n              case 126:\n              case 127:\n              case 124:\n              case 146:\n              case 159:\n                if (isStartOfDeclaration()) {\n                  return parseDeclaration();\n                }\n                break;\n            }\n            return parseExpressionOrLabeledStatement();\n          }\n          function isDeclareModifier(modifier) {\n            return modifier.kind === 136;\n          }\n          function parseDeclaration() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              true\n            );\n            const isAmbient = some(modifiers, isDeclareModifier);\n            if (isAmbient) {\n              const node = tryReuseAmbientDeclaration(pos);\n              if (node) {\n                return node;\n              }\n              for (const m of modifiers) {\n                m.flags |= 16777216;\n              }\n              return doInsideOfContext(16777216, () => parseDeclarationWorker(pos, hasJSDoc, modifiers));\n            } else {\n              return parseDeclarationWorker(pos, hasJSDoc, modifiers);\n            }\n          }\n          function tryReuseAmbientDeclaration(pos) {\n            return doInsideOfContext(16777216, () => {\n              const node = currentNode(parsingContext, pos);\n              if (node) {\n                return consumeNode(node);\n              }\n            });\n          }\n          function parseDeclarationWorker(pos, hasJSDoc, modifiersIn) {\n            switch (token()) {\n              case 113:\n              case 119:\n              case 85:\n                return parseVariableStatement(pos, hasJSDoc, modifiersIn);\n              case 98:\n                return parseFunctionDeclaration(pos, hasJSDoc, modifiersIn);\n              case 84:\n                return parseClassDeclaration(pos, hasJSDoc, modifiersIn);\n              case 118:\n                return parseInterfaceDeclaration(pos, hasJSDoc, modifiersIn);\n              case 154:\n                return parseTypeAliasDeclaration(pos, hasJSDoc, modifiersIn);\n              case 92:\n                return parseEnumDeclaration(pos, hasJSDoc, modifiersIn);\n              case 159:\n              case 142:\n              case 143:\n                return parseModuleDeclaration(pos, hasJSDoc, modifiersIn);\n              case 100:\n                return parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, modifiersIn);\n              case 93:\n                nextToken();\n                switch (token()) {\n                  case 88:\n                  case 63:\n                    return parseExportAssignment(pos, hasJSDoc, modifiersIn);\n                  case 128:\n                    return parseNamespaceExportDeclaration(pos, hasJSDoc, modifiersIn);\n                  default:\n                    return parseExportDeclaration(pos, hasJSDoc, modifiersIn);\n                }\n              default:\n                if (modifiersIn) {\n                  const missing = createMissingNode(\n                    279,\n                    /*reportAtCurrentPosition*/\n                    true,\n                    Diagnostics.Declaration_expected\n                  );\n                  setTextRangePos(missing, pos);\n                  missing.modifiers = modifiersIn;\n                  return missing;\n                }\n                return void 0;\n            }\n          }\n          function nextTokenIsIdentifierOrStringLiteralOnSameLine() {\n            nextToken();\n            return !scanner2.hasPrecedingLineBreak() && (isIdentifier2() || token() === 10);\n          }\n          function parseFunctionBlockOrSemicolon(flags, diagnosticMessage) {\n            if (token() !== 18) {\n              if (flags & 4) {\n                parseTypeMemberSemicolon();\n                return;\n              }\n              if (canParseSemicolon()) {\n                parseSemicolon();\n                return;\n              }\n            }\n            return parseFunctionBlock(flags, diagnosticMessage);\n          }\n          function parseArrayBindingElement() {\n            const pos = getNodePos();\n            if (token() === 27) {\n              return finishNode(factory2.createOmittedExpression(), pos);\n            }\n            const dotDotDotToken = parseOptionalToken(\n              25\n              /* DotDotDotToken */\n            );\n            const name = parseIdentifierOrPattern();\n            const initializer = parseInitializer();\n            return finishNode(factory2.createBindingElement(\n              dotDotDotToken,\n              /*propertyName*/\n              void 0,\n              name,\n              initializer\n            ), pos);\n          }\n          function parseObjectBindingElement() {\n            const pos = getNodePos();\n            const dotDotDotToken = parseOptionalToken(\n              25\n              /* DotDotDotToken */\n            );\n            const tokenIsIdentifier = isBindingIdentifier();\n            let propertyName = parsePropertyName();\n            let name;\n            if (tokenIsIdentifier && token() !== 58) {\n              name = propertyName;\n              propertyName = void 0;\n            } else {\n              parseExpected(\n                58\n                /* ColonToken */\n              );\n              name = parseIdentifierOrPattern();\n            }\n            const initializer = parseInitializer();\n            return finishNode(factory2.createBindingElement(dotDotDotToken, propertyName, name, initializer), pos);\n          }\n          function parseObjectBindingPattern() {\n            const pos = getNodePos();\n            parseExpected(\n              18\n              /* OpenBraceToken */\n            );\n            const elements = parseDelimitedList(9, parseObjectBindingElement);\n            parseExpected(\n              19\n              /* CloseBraceToken */\n            );\n            return finishNode(factory2.createObjectBindingPattern(elements), pos);\n          }\n          function parseArrayBindingPattern() {\n            const pos = getNodePos();\n            parseExpected(\n              22\n              /* OpenBracketToken */\n            );\n            const elements = parseDelimitedList(10, parseArrayBindingElement);\n            parseExpected(\n              23\n              /* CloseBracketToken */\n            );\n            return finishNode(factory2.createArrayBindingPattern(elements), pos);\n          }\n          function isBindingIdentifierOrPrivateIdentifierOrPattern() {\n            return token() === 18 || token() === 22 || token() === 80 || isBindingIdentifier();\n          }\n          function parseIdentifierOrPattern(privateIdentifierDiagnosticMessage) {\n            if (token() === 22) {\n              return parseArrayBindingPattern();\n            }\n            if (token() === 18) {\n              return parseObjectBindingPattern();\n            }\n            return parseBindingIdentifier(privateIdentifierDiagnosticMessage);\n          }\n          function parseVariableDeclarationAllowExclamation() {\n            return parseVariableDeclaration(\n              /*allowExclamation*/\n              true\n            );\n          }\n          function parseVariableDeclaration(allowExclamation) {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);\n            let exclamationToken;\n            if (allowExclamation && name.kind === 79 && token() === 53 && !scanner2.hasPrecedingLineBreak()) {\n              exclamationToken = parseTokenNode();\n            }\n            const type = parseTypeAnnotation();\n            const initializer = isInOrOfKeyword(token()) ? void 0 : parseInitializer();\n            const node = factoryCreateVariableDeclaration(name, exclamationToken, type, initializer);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseVariableDeclarationList(inForStatementInitializer) {\n            const pos = getNodePos();\n            let flags = 0;\n            switch (token()) {\n              case 113:\n                break;\n              case 119:\n                flags |= 1;\n                break;\n              case 85:\n                flags |= 2;\n                break;\n              default:\n                Debug2.fail();\n            }\n            nextToken();\n            let declarations;\n            if (token() === 162 && lookAhead(canFollowContextualOfKeyword)) {\n              declarations = createMissingList();\n            } else {\n              const savedDisallowIn = inDisallowInContext();\n              setDisallowInContext(inForStatementInitializer);\n              declarations = parseDelimitedList(\n                8,\n                inForStatementInitializer ? parseVariableDeclaration : parseVariableDeclarationAllowExclamation\n              );\n              setDisallowInContext(savedDisallowIn);\n            }\n            return finishNode(factoryCreateVariableDeclarationList(declarations, flags), pos);\n          }\n          function canFollowContextualOfKeyword() {\n            return nextTokenIsIdentifier() && nextToken() === 21;\n          }\n          function parseVariableStatement(pos, hasJSDoc, modifiers) {\n            const declarationList = parseVariableDeclarationList(\n              /*inForStatementInitializer*/\n              false\n            );\n            parseSemicolon();\n            const node = factoryCreateVariableStatement(modifiers, declarationList);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseFunctionDeclaration(pos, hasJSDoc, modifiers) {\n            const savedAwaitContext = inAwaitContext();\n            const modifierFlags = modifiersToFlags(modifiers);\n            parseExpected(\n              98\n              /* FunctionKeyword */\n            );\n            const asteriskToken = parseOptionalToken(\n              41\n              /* AsteriskToken */\n            );\n            const name = modifierFlags & 1024 ? parseOptionalBindingIdentifier() : parseBindingIdentifier();\n            const isGenerator = asteriskToken ? 1 : 0;\n            const isAsync = modifierFlags & 512 ? 2 : 0;\n            const typeParameters = parseTypeParameters();\n            if (modifierFlags & 1)\n              setAwaitContext(\n                /*value*/\n                true\n              );\n            const parameters = parseParameters(isGenerator | isAsync);\n            const type = parseReturnType(\n              58,\n              /*isType*/\n              false\n            );\n            const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, Diagnostics.or_expected);\n            setAwaitContext(savedAwaitContext);\n            const node = factory2.createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseConstructorName() {\n            if (token() === 135) {\n              return parseExpected(\n                135\n                /* ConstructorKeyword */\n              );\n            }\n            if (token() === 10 && lookAhead(nextToken) === 20) {\n              return tryParse(() => {\n                const literalNode = parseLiteralNode();\n                return literalNode.text === \"constructor\" ? literalNode : void 0;\n              });\n            }\n          }\n          function tryParseConstructorDeclaration(pos, hasJSDoc, modifiers) {\n            return tryParse(() => {\n              if (parseConstructorName()) {\n                const typeParameters = parseTypeParameters();\n                const parameters = parseParameters(\n                  0\n                  /* None */\n                );\n                const type = parseReturnType(\n                  58,\n                  /*isType*/\n                  false\n                );\n                const body = parseFunctionBlockOrSemicolon(0, Diagnostics.or_expected);\n                const node = factory2.createConstructorDeclaration(modifiers, parameters, body);\n                node.typeParameters = typeParameters;\n                node.type = type;\n                return withJSDoc(finishNode(node, pos), hasJSDoc);\n              }\n            });\n          }\n          function parseMethodDeclaration(pos, hasJSDoc, modifiers, asteriskToken, name, questionToken, exclamationToken, diagnosticMessage) {\n            const isGenerator = asteriskToken ? 1 : 0;\n            const isAsync = some(modifiers, isAsyncModifier) ? 2 : 0;\n            const typeParameters = parseTypeParameters();\n            const parameters = parseParameters(isGenerator | isAsync);\n            const type = parseReturnType(\n              58,\n              /*isType*/\n              false\n            );\n            const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, diagnosticMessage);\n            const node = factory2.createMethodDeclaration(\n              modifiers,\n              asteriskToken,\n              name,\n              questionToken,\n              typeParameters,\n              parameters,\n              type,\n              body\n            );\n            node.exclamationToken = exclamationToken;\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parsePropertyDeclaration(pos, hasJSDoc, modifiers, name, questionToken) {\n            const exclamationToken = !questionToken && !scanner2.hasPrecedingLineBreak() ? parseOptionalToken(\n              53\n              /* ExclamationToken */\n            ) : void 0;\n            const type = parseTypeAnnotation();\n            const initializer = doOutsideOfContext(8192 | 32768 | 4096, parseInitializer);\n            parseSemicolonAfterPropertyName(name, type, initializer);\n            const node = factory2.createPropertyDeclaration(\n              modifiers,\n              name,\n              questionToken || exclamationToken,\n              type,\n              initializer\n            );\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers) {\n            const asteriskToken = parseOptionalToken(\n              41\n              /* AsteriskToken */\n            );\n            const name = parsePropertyName();\n            const questionToken = parseOptionalToken(\n              57\n              /* QuestionToken */\n            );\n            if (asteriskToken || token() === 20 || token() === 29) {\n              return parseMethodDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                asteriskToken,\n                name,\n                questionToken,\n                /*exclamationToken*/\n                void 0,\n                Diagnostics.or_expected\n              );\n            }\n            return parsePropertyDeclaration(pos, hasJSDoc, modifiers, name, questionToken);\n          }\n          function parseAccessorDeclaration(pos, hasJSDoc, modifiers, kind, flags) {\n            const name = parsePropertyName();\n            const typeParameters = parseTypeParameters();\n            const parameters = parseParameters(\n              0\n              /* None */\n            );\n            const type = parseReturnType(\n              58,\n              /*isType*/\n              false\n            );\n            const body = parseFunctionBlockOrSemicolon(flags);\n            const node = kind === 174 ? factory2.createGetAccessorDeclaration(modifiers, name, parameters, type, body) : factory2.createSetAccessorDeclaration(modifiers, name, parameters, body);\n            node.typeParameters = typeParameters;\n            if (isSetAccessorDeclaration(node))\n              node.type = type;\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function isClassMemberStart() {\n            let idToken;\n            if (token() === 59) {\n              return true;\n            }\n            while (isModifierKind(token())) {\n              idToken = token();\n              if (isClassMemberModifier(idToken)) {\n                return true;\n              }\n              nextToken();\n            }\n            if (token() === 41) {\n              return true;\n            }\n            if (isLiteralPropertyName()) {\n              idToken = token();\n              nextToken();\n            }\n            if (token() === 22) {\n              return true;\n            }\n            if (idToken !== void 0) {\n              if (!isKeyword(idToken) || idToken === 151 || idToken === 137) {\n                return true;\n              }\n              switch (token()) {\n                case 20:\n                case 29:\n                case 53:\n                case 58:\n                case 63:\n                case 57:\n                  return true;\n                default:\n                  return canParseSemicolon();\n              }\n            }\n            return false;\n          }\n          function parseClassStaticBlockDeclaration(pos, hasJSDoc, modifiers) {\n            parseExpectedToken(\n              124\n              /* StaticKeyword */\n            );\n            const body = parseClassStaticBlockBody();\n            const node = withJSDoc(finishNode(factory2.createClassStaticBlockDeclaration(body), pos), hasJSDoc);\n            node.modifiers = modifiers;\n            return node;\n          }\n          function parseClassStaticBlockBody() {\n            const savedYieldContext = inYieldContext();\n            const savedAwaitContext = inAwaitContext();\n            setYieldContext(false);\n            setAwaitContext(true);\n            const body = parseBlock(\n              /*ignoreMissingOpenBrace*/\n              false\n            );\n            setYieldContext(savedYieldContext);\n            setAwaitContext(savedAwaitContext);\n            return body;\n          }\n          function parseDecoratorExpression() {\n            if (inAwaitContext() && token() === 133) {\n              const pos = getNodePos();\n              const awaitExpression = parseIdentifier(Diagnostics.Expression_expected);\n              nextToken();\n              const memberExpression = parseMemberExpressionRest(\n                pos,\n                awaitExpression,\n                /*allowOptionalChain*/\n                true\n              );\n              return parseCallExpressionRest(pos, memberExpression);\n            }\n            return parseLeftHandSideExpressionOrHigher();\n          }\n          function tryParseDecorator() {\n            const pos = getNodePos();\n            if (!parseOptional(\n              59\n              /* AtToken */\n            )) {\n              return void 0;\n            }\n            const expression = doInDecoratorContext(parseDecoratorExpression);\n            return finishNode(factory2.createDecorator(expression), pos);\n          }\n          function tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock) {\n            const pos = getNodePos();\n            const kind = token();\n            if (token() === 85 && permitConstAsModifier) {\n              if (!tryParse(nextTokenIsOnSameLineAndCanFollowModifier)) {\n                return void 0;\n              }\n            } else if (stopOnStartOfClassStaticBlock && token() === 124 && lookAhead(nextTokenIsOpenBrace)) {\n              return void 0;\n            } else if (hasSeenStaticModifier && token() === 124) {\n              return void 0;\n            } else {\n              if (!parseAnyContextualModifier()) {\n                return void 0;\n              }\n            }\n            return finishNode(factoryCreateToken(kind), pos);\n          }\n          function parseModifiers(allowDecorators, permitConstAsModifier, stopOnStartOfClassStaticBlock) {\n            const pos = getNodePos();\n            let list;\n            let decorator, modifier, hasSeenStaticModifier = false, hasLeadingModifier = false, hasTrailingDecorator = false;\n            if (allowDecorators && token() === 59) {\n              while (decorator = tryParseDecorator()) {\n                list = append(list, decorator);\n              }\n            }\n            while (modifier = tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock)) {\n              if (modifier.kind === 124)\n                hasSeenStaticModifier = true;\n              list = append(list, modifier);\n              hasLeadingModifier = true;\n            }\n            if (hasLeadingModifier && allowDecorators && token() === 59) {\n              while (decorator = tryParseDecorator()) {\n                list = append(list, decorator);\n                hasTrailingDecorator = true;\n              }\n            }\n            if (hasTrailingDecorator) {\n              while (modifier = tryParseModifier(hasSeenStaticModifier, permitConstAsModifier, stopOnStartOfClassStaticBlock)) {\n                if (modifier.kind === 124)\n                  hasSeenStaticModifier = true;\n                list = append(list, modifier);\n              }\n            }\n            return list && createNodeArray(list, pos);\n          }\n          function parseModifiersForArrowFunction() {\n            let modifiers;\n            if (token() === 132) {\n              const pos = getNodePos();\n              nextToken();\n              const modifier = finishNode(factoryCreateToken(\n                132\n                /* AsyncKeyword */\n              ), pos);\n              modifiers = createNodeArray([modifier], pos);\n            }\n            return modifiers;\n          }\n          function parseClassElement() {\n            const pos = getNodePos();\n            if (token() === 26) {\n              nextToken();\n              return finishNode(factory2.createSemicolonClassElement(), pos);\n            }\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              true,\n              /*permitConstAsModifier*/\n              true,\n              /*stopOnStartOfClassStaticBlock*/\n              true\n            );\n            if (token() === 124 && lookAhead(nextTokenIsOpenBrace)) {\n              return parseClassStaticBlockDeclaration(pos, hasJSDoc, modifiers);\n            }\n            if (parseContextualModifier(\n              137\n              /* GetKeyword */\n            )) {\n              return parseAccessorDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                174,\n                0\n                /* None */\n              );\n            }\n            if (parseContextualModifier(\n              151\n              /* SetKeyword */\n            )) {\n              return parseAccessorDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                175,\n                0\n                /* None */\n              );\n            }\n            if (token() === 135 || token() === 10) {\n              const constructorDeclaration = tryParseConstructorDeclaration(pos, hasJSDoc, modifiers);\n              if (constructorDeclaration) {\n                return constructorDeclaration;\n              }\n            }\n            if (isIndexSignature()) {\n              return parseIndexSignatureDeclaration(pos, hasJSDoc, modifiers);\n            }\n            if (tokenIsIdentifierOrKeyword(token()) || token() === 10 || token() === 8 || token() === 41 || token() === 22) {\n              const isAmbient = some(modifiers, isDeclareModifier);\n              if (isAmbient) {\n                for (const m of modifiers) {\n                  m.flags |= 16777216;\n                }\n                return doInsideOfContext(16777216, () => parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers));\n              } else {\n                return parsePropertyOrMethodDeclaration(pos, hasJSDoc, modifiers);\n              }\n            }\n            if (modifiers) {\n              const name = createMissingNode(\n                79,\n                /*reportAtCurrentPosition*/\n                true,\n                Diagnostics.Declaration_expected\n              );\n              return parsePropertyDeclaration(\n                pos,\n                hasJSDoc,\n                modifiers,\n                name,\n                /*questionToken*/\n                void 0\n              );\n            }\n            return Debug2.fail(\"Should not have attempted to parse class member declaration.\");\n          }\n          function parseDecoratedExpression() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const modifiers = parseModifiers(\n              /*allowDecorators*/\n              true\n            );\n            if (token() === 84) {\n              return parseClassDeclarationOrExpression(\n                pos,\n                hasJSDoc,\n                modifiers,\n                228\n                /* ClassExpression */\n              );\n            }\n            const missing = createMissingNode(\n              279,\n              /*reportAtCurrentPosition*/\n              true,\n              Diagnostics.Expression_expected\n            );\n            setTextRangePos(missing, pos);\n            missing.modifiers = modifiers;\n            return missing;\n          }\n          function parseClassExpression() {\n            return parseClassDeclarationOrExpression(\n              getNodePos(),\n              hasPrecedingJSDocComment(),\n              /*modifiers*/\n              void 0,\n              228\n              /* ClassExpression */\n            );\n          }\n          function parseClassDeclaration(pos, hasJSDoc, modifiers) {\n            return parseClassDeclarationOrExpression(\n              pos,\n              hasJSDoc,\n              modifiers,\n              260\n              /* ClassDeclaration */\n            );\n          }\n          function parseClassDeclarationOrExpression(pos, hasJSDoc, modifiers, kind) {\n            const savedAwaitContext = inAwaitContext();\n            parseExpected(\n              84\n              /* ClassKeyword */\n            );\n            const name = parseNameOfClassDeclarationOrExpression();\n            const typeParameters = parseTypeParameters();\n            if (some(modifiers, isExportModifier))\n              setAwaitContext(\n                /*value*/\n                true\n              );\n            const heritageClauses = parseHeritageClauses();\n            let members;\n            if (parseExpected(\n              18\n              /* OpenBraceToken */\n            )) {\n              members = parseClassMembers();\n              parseExpected(\n                19\n                /* CloseBraceToken */\n              );\n            } else {\n              members = createMissingList();\n            }\n            setAwaitContext(savedAwaitContext);\n            const node = kind === 260 ? factory2.createClassDeclaration(modifiers, name, typeParameters, heritageClauses, members) : factory2.createClassExpression(modifiers, name, typeParameters, heritageClauses, members);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseNameOfClassDeclarationOrExpression() {\n            return isBindingIdentifier() && !isImplementsClause() ? createIdentifier(isBindingIdentifier()) : void 0;\n          }\n          function isImplementsClause() {\n            return token() === 117 && lookAhead(nextTokenIsIdentifierOrKeyword);\n          }\n          function parseHeritageClauses() {\n            if (isHeritageClause2()) {\n              return parseList(22, parseHeritageClause);\n            }\n            return void 0;\n          }\n          function parseHeritageClause() {\n            const pos = getNodePos();\n            const tok = token();\n            Debug2.assert(\n              tok === 94 || tok === 117\n              /* ImplementsKeyword */\n            );\n            nextToken();\n            const types = parseDelimitedList(7, parseExpressionWithTypeArguments);\n            return finishNode(factory2.createHeritageClause(tok, types), pos);\n          }\n          function parseExpressionWithTypeArguments() {\n            const pos = getNodePos();\n            const expression = parseLeftHandSideExpressionOrHigher();\n            if (expression.kind === 230) {\n              return expression;\n            }\n            const typeArguments = tryParseTypeArguments();\n            return finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos);\n          }\n          function tryParseTypeArguments() {\n            return token() === 29 ? parseBracketedList(\n              20,\n              parseType,\n              29,\n              31\n              /* GreaterThanToken */\n            ) : void 0;\n          }\n          function isHeritageClause2() {\n            return token() === 94 || token() === 117;\n          }\n          function parseClassMembers() {\n            return parseList(5, parseClassElement);\n          }\n          function parseInterfaceDeclaration(pos, hasJSDoc, modifiers) {\n            parseExpected(\n              118\n              /* InterfaceKeyword */\n            );\n            const name = parseIdentifier();\n            const typeParameters = parseTypeParameters();\n            const heritageClauses = parseHeritageClauses();\n            const members = parseObjectTypeMembers();\n            const node = factory2.createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseTypeAliasDeclaration(pos, hasJSDoc, modifiers) {\n            parseExpected(\n              154\n              /* TypeKeyword */\n            );\n            const name = parseIdentifier();\n            const typeParameters = parseTypeParameters();\n            parseExpected(\n              63\n              /* EqualsToken */\n            );\n            const type = token() === 139 && tryParse(parseKeywordAndNoDot) || parseType();\n            parseSemicolon();\n            const node = factory2.createTypeAliasDeclaration(modifiers, name, typeParameters, type);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseEnumMember() {\n            const pos = getNodePos();\n            const hasJSDoc = hasPrecedingJSDocComment();\n            const name = parsePropertyName();\n            const initializer = allowInAnd(parseInitializer);\n            return withJSDoc(finishNode(factory2.createEnumMember(name, initializer), pos), hasJSDoc);\n          }\n          function parseEnumDeclaration(pos, hasJSDoc, modifiers) {\n            parseExpected(\n              92\n              /* EnumKeyword */\n            );\n            const name = parseIdentifier();\n            let members;\n            if (parseExpected(\n              18\n              /* OpenBraceToken */\n            )) {\n              members = doOutsideOfYieldAndAwaitContext(() => parseDelimitedList(6, parseEnumMember));\n              parseExpected(\n                19\n                /* CloseBraceToken */\n              );\n            } else {\n              members = createMissingList();\n            }\n            const node = factory2.createEnumDeclaration(modifiers, name, members);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseModuleBlock() {\n            const pos = getNodePos();\n            let statements;\n            if (parseExpected(\n              18\n              /* OpenBraceToken */\n            )) {\n              statements = parseList(1, parseStatement);\n              parseExpected(\n                19\n                /* CloseBraceToken */\n              );\n            } else {\n              statements = createMissingList();\n            }\n            return finishNode(factory2.createModuleBlock(statements), pos);\n          }\n          function parseModuleOrNamespaceDeclaration(pos, hasJSDoc, modifiers, flags) {\n            const namespaceFlag = flags & 16;\n            const name = parseIdentifier();\n            const body = parseOptional(\n              24\n              /* DotToken */\n            ) ? parseModuleOrNamespaceDeclaration(\n              getNodePos(),\n              /*hasJSDoc*/\n              false,\n              /*modifiers*/\n              void 0,\n              4 | namespaceFlag\n            ) : parseModuleBlock();\n            const node = factory2.createModuleDeclaration(modifiers, name, body, flags);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn) {\n            let flags = 0;\n            let name;\n            if (token() === 159) {\n              name = parseIdentifier();\n              flags |= 1024;\n            } else {\n              name = parseLiteralNode();\n              name.text = internIdentifier(name.text);\n            }\n            let body;\n            if (token() === 18) {\n              body = parseModuleBlock();\n            } else {\n              parseSemicolon();\n            }\n            const node = factory2.createModuleDeclaration(modifiersIn, name, body, flags);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseModuleDeclaration(pos, hasJSDoc, modifiersIn) {\n            let flags = 0;\n            if (token() === 159) {\n              return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn);\n            } else if (parseOptional(\n              143\n              /* NamespaceKeyword */\n            )) {\n              flags |= 16;\n            } else {\n              parseExpected(\n                142\n                /* ModuleKeyword */\n              );\n              if (token() === 10) {\n                return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, modifiersIn);\n              }\n            }\n            return parseModuleOrNamespaceDeclaration(pos, hasJSDoc, modifiersIn, flags);\n          }\n          function isExternalModuleReference2() {\n            return token() === 147 && lookAhead(nextTokenIsOpenParen);\n          }\n          function nextTokenIsOpenParen() {\n            return nextToken() === 20;\n          }\n          function nextTokenIsOpenBrace() {\n            return nextToken() === 18;\n          }\n          function nextTokenIsSlash() {\n            return nextToken() === 43;\n          }\n          function parseNamespaceExportDeclaration(pos, hasJSDoc, modifiers) {\n            parseExpected(\n              128\n              /* AsKeyword */\n            );\n            parseExpected(\n              143\n              /* NamespaceKeyword */\n            );\n            const name = parseIdentifier();\n            parseSemicolon();\n            const node = factory2.createNamespaceExportDeclaration(name);\n            node.modifiers = modifiers;\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, modifiers) {\n            parseExpected(\n              100\n              /* ImportKeyword */\n            );\n            const afterImportPos = scanner2.getStartPos();\n            let identifier;\n            if (isIdentifier2()) {\n              identifier = parseIdentifier();\n            }\n            let isTypeOnly = false;\n            if (token() !== 158 && (identifier == null ? void 0 : identifier.escapedText) === \"type\" && (isIdentifier2() || tokenAfterImportDefinitelyProducesImportDeclaration())) {\n              isTypeOnly = true;\n              identifier = isIdentifier2() ? parseIdentifier() : void 0;\n            }\n            if (identifier && !tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration()) {\n              return parseImportEqualsDeclaration(pos, hasJSDoc, modifiers, identifier, isTypeOnly);\n            }\n            let importClause;\n            if (identifier || // import id\n            token() === 41 || // import *\n            token() === 18) {\n              importClause = parseImportClause(identifier, afterImportPos, isTypeOnly);\n              parseExpected(\n                158\n                /* FromKeyword */\n              );\n            }\n            const moduleSpecifier = parseModuleSpecifier();\n            let assertClause;\n            if (token() === 130 && !scanner2.hasPrecedingLineBreak()) {\n              assertClause = parseAssertClause();\n            }\n            parseSemicolon();\n            const node = factory2.createImportDeclaration(modifiers, importClause, moduleSpecifier, assertClause);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseAssertEntry() {\n            const pos = getNodePos();\n            const name = tokenIsIdentifierOrKeyword(token()) ? parseIdentifierName() : parseLiteralLikeNode(\n              10\n              /* StringLiteral */\n            );\n            parseExpected(\n              58\n              /* ColonToken */\n            );\n            const value = parseAssignmentExpressionOrHigher(\n              /*allowReturnTypeInArrowFunction*/\n              true\n            );\n            return finishNode(factory2.createAssertEntry(name, value), pos);\n          }\n          function parseAssertClause(skipAssertKeyword) {\n            const pos = getNodePos();\n            if (!skipAssertKeyword) {\n              parseExpected(\n                130\n                /* AssertKeyword */\n              );\n            }\n            const openBracePosition = scanner2.getTokenPos();\n            if (parseExpected(\n              18\n              /* OpenBraceToken */\n            )) {\n              const multiLine = scanner2.hasPrecedingLineBreak();\n              const elements = parseDelimitedList(\n                24,\n                parseAssertEntry,\n                /*considerSemicolonAsDelimiter*/\n                true\n              );\n              if (!parseExpected(\n                19\n                /* CloseBraceToken */\n              )) {\n                const lastError = lastOrUndefined(parseDiagnostics);\n                if (lastError && lastError.code === Diagnostics._0_expected.code) {\n                  addRelatedInfo(\n                    lastError,\n                    createDetachedDiagnostic(fileName, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, \"{\", \"}\")\n                  );\n                }\n              }\n              return finishNode(factory2.createAssertClause(elements, multiLine), pos);\n            } else {\n              const elements = createNodeArray(\n                [],\n                getNodePos(),\n                /*end*/\n                void 0,\n                /*hasTrailingComma*/\n                false\n              );\n              return finishNode(factory2.createAssertClause(\n                elements,\n                /*multiLine*/\n                false\n              ), pos);\n            }\n          }\n          function tokenAfterImportDefinitelyProducesImportDeclaration() {\n            return token() === 41 || token() === 18;\n          }\n          function tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration() {\n            return token() === 27 || token() === 158;\n          }\n          function parseImportEqualsDeclaration(pos, hasJSDoc, modifiers, identifier, isTypeOnly) {\n            parseExpected(\n              63\n              /* EqualsToken */\n            );\n            const moduleReference = parseModuleReference();\n            parseSemicolon();\n            const node = factory2.createImportEqualsDeclaration(modifiers, isTypeOnly, identifier, moduleReference);\n            const finished = withJSDoc(finishNode(node, pos), hasJSDoc);\n            return finished;\n          }\n          function parseImportClause(identifier, pos, isTypeOnly) {\n            let namedBindings;\n            if (!identifier || parseOptional(\n              27\n              /* CommaToken */\n            )) {\n              namedBindings = token() === 41 ? parseNamespaceImport() : parseNamedImportsOrExports(\n                272\n                /* NamedImports */\n              );\n            }\n            return finishNode(factory2.createImportClause(isTypeOnly, identifier, namedBindings), pos);\n          }\n          function parseModuleReference() {\n            return isExternalModuleReference2() ? parseExternalModuleReference() : parseEntityName(\n              /*allowReservedWords*/\n              false\n            );\n          }\n          function parseExternalModuleReference() {\n            const pos = getNodePos();\n            parseExpected(\n              147\n              /* RequireKeyword */\n            );\n            parseExpected(\n              20\n              /* OpenParenToken */\n            );\n            const expression = parseModuleSpecifier();\n            parseExpected(\n              21\n              /* CloseParenToken */\n            );\n            return finishNode(factory2.createExternalModuleReference(expression), pos);\n          }\n          function parseModuleSpecifier() {\n            if (token() === 10) {\n              const result = parseLiteralNode();\n              result.text = internIdentifier(result.text);\n              return result;\n            } else {\n              return parseExpression();\n            }\n          }\n          function parseNamespaceImport() {\n            const pos = getNodePos();\n            parseExpected(\n              41\n              /* AsteriskToken */\n            );\n            parseExpected(\n              128\n              /* AsKeyword */\n            );\n            const name = parseIdentifier();\n            return finishNode(factory2.createNamespaceImport(name), pos);\n          }\n          function parseNamedImportsOrExports(kind) {\n            const pos = getNodePos();\n            const node = kind === 272 ? factory2.createNamedImports(parseBracketedList(\n              23,\n              parseImportSpecifier,\n              18,\n              19\n              /* CloseBraceToken */\n            )) : factory2.createNamedExports(parseBracketedList(\n              23,\n              parseExportSpecifier,\n              18,\n              19\n              /* CloseBraceToken */\n            ));\n            return finishNode(node, pos);\n          }\n          function parseExportSpecifier() {\n            const hasJSDoc = hasPrecedingJSDocComment();\n            return withJSDoc(parseImportOrExportSpecifier(\n              278\n              /* ExportSpecifier */\n            ), hasJSDoc);\n          }\n          function parseImportSpecifier() {\n            return parseImportOrExportSpecifier(\n              273\n              /* ImportSpecifier */\n            );\n          }\n          function parseImportOrExportSpecifier(kind) {\n            const pos = getNodePos();\n            let checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2();\n            let checkIdentifierStart = scanner2.getTokenPos();\n            let checkIdentifierEnd = scanner2.getTextPos();\n            let isTypeOnly = false;\n            let propertyName;\n            let canParseAsKeyword = true;\n            let name = parseIdentifierName();\n            if (name.escapedText === \"type\") {\n              if (token() === 128) {\n                const firstAs = parseIdentifierName();\n                if (token() === 128) {\n                  const secondAs = parseIdentifierName();\n                  if (tokenIsIdentifierOrKeyword(token())) {\n                    isTypeOnly = true;\n                    propertyName = firstAs;\n                    name = parseNameWithKeywordCheck();\n                    canParseAsKeyword = false;\n                  } else {\n                    propertyName = name;\n                    name = secondAs;\n                    canParseAsKeyword = false;\n                  }\n                } else if (tokenIsIdentifierOrKeyword(token())) {\n                  propertyName = name;\n                  canParseAsKeyword = false;\n                  name = parseNameWithKeywordCheck();\n                } else {\n                  isTypeOnly = true;\n                  name = firstAs;\n                }\n              } else if (tokenIsIdentifierOrKeyword(token())) {\n                isTypeOnly = true;\n                name = parseNameWithKeywordCheck();\n              }\n            }\n            if (canParseAsKeyword && token() === 128) {\n              propertyName = name;\n              parseExpected(\n                128\n                /* AsKeyword */\n              );\n              name = parseNameWithKeywordCheck();\n            }\n            if (kind === 273 && checkIdentifierIsKeyword) {\n              parseErrorAt(checkIdentifierStart, checkIdentifierEnd, Diagnostics.Identifier_expected);\n            }\n            const node = kind === 273 ? factory2.createImportSpecifier(isTypeOnly, propertyName, name) : factory2.createExportSpecifier(isTypeOnly, propertyName, name);\n            return finishNode(node, pos);\n            function parseNameWithKeywordCheck() {\n              checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2();\n              checkIdentifierStart = scanner2.getTokenPos();\n              checkIdentifierEnd = scanner2.getTextPos();\n              return parseIdentifierName();\n            }\n          }\n          function parseNamespaceExport(pos) {\n            return finishNode(factory2.createNamespaceExport(parseIdentifierName()), pos);\n          }\n          function parseExportDeclaration(pos, hasJSDoc, modifiers) {\n            const savedAwaitContext = inAwaitContext();\n            setAwaitContext(\n              /*value*/\n              true\n            );\n            let exportClause;\n            let moduleSpecifier;\n            let assertClause;\n            const isTypeOnly = parseOptional(\n              154\n              /* TypeKeyword */\n            );\n            const namespaceExportPos = getNodePos();\n            if (parseOptional(\n              41\n              /* AsteriskToken */\n            )) {\n              if (parseOptional(\n                128\n                /* AsKeyword */\n              )) {\n                exportClause = parseNamespaceExport(namespaceExportPos);\n              }\n              parseExpected(\n                158\n                /* FromKeyword */\n              );\n              moduleSpecifier = parseModuleSpecifier();\n            } else {\n              exportClause = parseNamedImportsOrExports(\n                276\n                /* NamedExports */\n              );\n              if (token() === 158 || token() === 10 && !scanner2.hasPrecedingLineBreak()) {\n                parseExpected(\n                  158\n                  /* FromKeyword */\n                );\n                moduleSpecifier = parseModuleSpecifier();\n              }\n            }\n            if (moduleSpecifier && token() === 130 && !scanner2.hasPrecedingLineBreak()) {\n              assertClause = parseAssertClause();\n            }\n            parseSemicolon();\n            setAwaitContext(savedAwaitContext);\n            const node = factory2.createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          function parseExportAssignment(pos, hasJSDoc, modifiers) {\n            const savedAwaitContext = inAwaitContext();\n            setAwaitContext(\n              /*value*/\n              true\n            );\n            let isExportEquals;\n            if (parseOptional(\n              63\n              /* EqualsToken */\n            )) {\n              isExportEquals = true;\n            } else {\n              parseExpected(\n                88\n                /* DefaultKeyword */\n              );\n            }\n            const expression = parseAssignmentExpressionOrHigher(\n              /*allowReturnTypeInArrowFunction*/\n              true\n            );\n            parseSemicolon();\n            setAwaitContext(savedAwaitContext);\n            const node = factory2.createExportAssignment(modifiers, isExportEquals, expression);\n            return withJSDoc(finishNode(node, pos), hasJSDoc);\n          }\n          let ParsingContext;\n          ((ParsingContext2) => {\n            ParsingContext2[ParsingContext2[\"SourceElements\"] = 0] = \"SourceElements\";\n            ParsingContext2[ParsingContext2[\"BlockStatements\"] = 1] = \"BlockStatements\";\n            ParsingContext2[ParsingContext2[\"SwitchClauses\"] = 2] = \"SwitchClauses\";\n            ParsingContext2[ParsingContext2[\"SwitchClauseStatements\"] = 3] = \"SwitchClauseStatements\";\n            ParsingContext2[ParsingContext2[\"TypeMembers\"] = 4] = \"TypeMembers\";\n            ParsingContext2[ParsingContext2[\"ClassMembers\"] = 5] = \"ClassMembers\";\n            ParsingContext2[ParsingContext2[\"EnumMembers\"] = 6] = \"EnumMembers\";\n            ParsingContext2[ParsingContext2[\"HeritageClauseElement\"] = 7] = \"HeritageClauseElement\";\n            ParsingContext2[ParsingContext2[\"VariableDeclarations\"] = 8] = \"VariableDeclarations\";\n            ParsingContext2[ParsingContext2[\"ObjectBindingElements\"] = 9] = \"ObjectBindingElements\";\n            ParsingContext2[ParsingContext2[\"ArrayBindingElements\"] = 10] = \"ArrayBindingElements\";\n            ParsingContext2[ParsingContext2[\"ArgumentExpressions\"] = 11] = \"ArgumentExpressions\";\n            ParsingContext2[ParsingContext2[\"ObjectLiteralMembers\"] = 12] = \"ObjectLiteralMembers\";\n            ParsingContext2[ParsingContext2[\"JsxAttributes\"] = 13] = \"JsxAttributes\";\n            ParsingContext2[ParsingContext2[\"JsxChildren\"] = 14] = \"JsxChildren\";\n            ParsingContext2[ParsingContext2[\"ArrayLiteralMembers\"] = 15] = \"ArrayLiteralMembers\";\n            ParsingContext2[ParsingContext2[\"Parameters\"] = 16] = \"Parameters\";\n            ParsingContext2[ParsingContext2[\"JSDocParameters\"] = 17] = \"JSDocParameters\";\n            ParsingContext2[ParsingContext2[\"RestProperties\"] = 18] = \"RestProperties\";\n            ParsingContext2[ParsingContext2[\"TypeParameters\"] = 19] = \"TypeParameters\";\n            ParsingContext2[ParsingContext2[\"TypeArguments\"] = 20] = \"TypeArguments\";\n            ParsingContext2[ParsingContext2[\"TupleElementTypes\"] = 21] = \"TupleElementTypes\";\n            ParsingContext2[ParsingContext2[\"HeritageClauses\"] = 22] = \"HeritageClauses\";\n            ParsingContext2[ParsingContext2[\"ImportOrExportSpecifiers\"] = 23] = \"ImportOrExportSpecifiers\";\n            ParsingContext2[ParsingContext2[\"AssertEntries\"] = 24] = \"AssertEntries\";\n            ParsingContext2[ParsingContext2[\"Count\"] = 25] = \"Count\";\n          })(ParsingContext || (ParsingContext = {}));\n          let Tristate;\n          ((Tristate2) => {\n            Tristate2[Tristate2[\"False\"] = 0] = \"False\";\n            Tristate2[Tristate2[\"True\"] = 1] = \"True\";\n            Tristate2[Tristate2[\"Unknown\"] = 2] = \"Unknown\";\n          })(Tristate || (Tristate = {}));\n          let JSDocParser;\n          ((JSDocParser2) => {\n            function parseJSDocTypeExpressionForTests2(content, start, length2) {\n              initializeState(\n                \"file.js\",\n                content,\n                99,\n                /*_syntaxCursor:*/\n                void 0,\n                1\n                /* JS */\n              );\n              scanner2.setText(content, start, length2);\n              currentToken = scanner2.scan();\n              const jsDocTypeExpression = parseJSDocTypeExpression();\n              const sourceFile = createSourceFile2(\n                \"file.js\",\n                99,\n                1,\n                /*isDeclarationFile*/\n                false,\n                [],\n                factoryCreateToken(\n                  1\n                  /* EndOfFileToken */\n                ),\n                0,\n                noop\n              );\n              const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n              if (jsDocDiagnostics) {\n                sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile);\n              }\n              clearState();\n              return jsDocTypeExpression ? { jsDocTypeExpression, diagnostics } : void 0;\n            }\n            JSDocParser2.parseJSDocTypeExpressionForTests = parseJSDocTypeExpressionForTests2;\n            function parseJSDocTypeExpression(mayOmitBraces) {\n              const pos = getNodePos();\n              const hasBrace = (mayOmitBraces ? parseOptional : parseExpected)(\n                18\n                /* OpenBraceToken */\n              );\n              const type = doInsideOfContext(8388608, parseJSDocType);\n              if (!mayOmitBraces || hasBrace) {\n                parseExpectedJSDoc(\n                  19\n                  /* CloseBraceToken */\n                );\n              }\n              const result = factory2.createJSDocTypeExpression(type);\n              fixupParentReferences(result);\n              return finishNode(result, pos);\n            }\n            JSDocParser2.parseJSDocTypeExpression = parseJSDocTypeExpression;\n            function parseJSDocNameReference() {\n              const pos = getNodePos();\n              const hasBrace = parseOptional(\n                18\n                /* OpenBraceToken */\n              );\n              const p2 = getNodePos();\n              let entityName = parseEntityName(\n                /* allowReservedWords*/\n                false\n              );\n              while (token() === 80) {\n                reScanHashToken();\n                nextTokenJSDoc();\n                entityName = finishNode(factory2.createJSDocMemberName(entityName, parseIdentifier()), p2);\n              }\n              if (hasBrace) {\n                parseExpectedJSDoc(\n                  19\n                  /* CloseBraceToken */\n                );\n              }\n              const result = factory2.createJSDocNameReference(entityName);\n              fixupParentReferences(result);\n              return finishNode(result, pos);\n            }\n            JSDocParser2.parseJSDocNameReference = parseJSDocNameReference;\n            function parseIsolatedJSDocComment2(content, start, length2) {\n              initializeState(\n                \"\",\n                content,\n                99,\n                /*_syntaxCursor:*/\n                void 0,\n                1\n                /* JS */\n              );\n              const jsDoc = doInsideOfContext(8388608, () => parseJSDocCommentWorker(start, length2));\n              const sourceFile = { languageVariant: 0, text: content };\n              const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n              clearState();\n              return jsDoc ? { jsDoc, diagnostics } : void 0;\n            }\n            JSDocParser2.parseIsolatedJSDocComment = parseIsolatedJSDocComment2;\n            function parseJSDocComment(parent2, start, length2) {\n              const saveToken = currentToken;\n              const saveParseDiagnosticsLength = parseDiagnostics.length;\n              const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode;\n              const comment = doInsideOfContext(8388608, () => parseJSDocCommentWorker(start, length2));\n              setParent(comment, parent2);\n              if (contextFlags & 262144) {\n                if (!jsDocDiagnostics) {\n                  jsDocDiagnostics = [];\n                }\n                jsDocDiagnostics.push(...parseDiagnostics);\n              }\n              currentToken = saveToken;\n              parseDiagnostics.length = saveParseDiagnosticsLength;\n              parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode;\n              return comment;\n            }\n            JSDocParser2.parseJSDocComment = parseJSDocComment;\n            let JSDocState;\n            ((JSDocState2) => {\n              JSDocState2[JSDocState2[\"BeginningOfLine\"] = 0] = \"BeginningOfLine\";\n              JSDocState2[JSDocState2[\"SawAsterisk\"] = 1] = \"SawAsterisk\";\n              JSDocState2[JSDocState2[\"SavingComments\"] = 2] = \"SavingComments\";\n              JSDocState2[JSDocState2[\"SavingBackticks\"] = 3] = \"SavingBackticks\";\n            })(JSDocState || (JSDocState = {}));\n            let PropertyLikeParse;\n            ((PropertyLikeParse2) => {\n              PropertyLikeParse2[PropertyLikeParse2[\"Property\"] = 1] = \"Property\";\n              PropertyLikeParse2[PropertyLikeParse2[\"Parameter\"] = 2] = \"Parameter\";\n              PropertyLikeParse2[PropertyLikeParse2[\"CallbackParameter\"] = 4] = \"CallbackParameter\";\n            })(PropertyLikeParse || (PropertyLikeParse = {}));\n            function parseJSDocCommentWorker(start = 0, length2) {\n              const content = sourceText;\n              const end = length2 === void 0 ? content.length : start + length2;\n              length2 = end - start;\n              Debug2.assert(start >= 0);\n              Debug2.assert(start <= end);\n              Debug2.assert(end <= content.length);\n              if (!isJSDocLikeText(content, start)) {\n                return void 0;\n              }\n              let tags;\n              let tagsPos;\n              let tagsEnd;\n              let linkEnd;\n              let commentsPos;\n              let comments = [];\n              const parts = [];\n              return scanner2.scanRange(start + 3, length2 - 5, () => {\n                let state = 1;\n                let margin;\n                let indent2 = start - (content.lastIndexOf(\"\\n\", start) + 1) + 4;\n                function pushComment(text) {\n                  if (!margin) {\n                    margin = indent2;\n                  }\n                  comments.push(text);\n                  indent2 += text.length;\n                }\n                nextTokenJSDoc();\n                while (parseOptionalJsdoc(\n                  5\n                  /* WhitespaceTrivia */\n                ))\n                  ;\n                if (parseOptionalJsdoc(\n                  4\n                  /* NewLineTrivia */\n                )) {\n                  state = 0;\n                  indent2 = 0;\n                }\n                loop:\n                  while (true) {\n                    switch (token()) {\n                      case 59:\n                        if (state === 0 || state === 1) {\n                          removeTrailingWhitespace(comments);\n                          if (!commentsPos)\n                            commentsPos = getNodePos();\n                          addTag(parseTag(indent2));\n                          state = 0;\n                          margin = void 0;\n                        } else {\n                          pushComment(scanner2.getTokenText());\n                        }\n                        break;\n                      case 4:\n                        comments.push(scanner2.getTokenText());\n                        state = 0;\n                        indent2 = 0;\n                        break;\n                      case 41:\n                        const asterisk = scanner2.getTokenText();\n                        if (state === 1 || state === 2) {\n                          state = 2;\n                          pushComment(asterisk);\n                        } else {\n                          state = 1;\n                          indent2 += asterisk.length;\n                        }\n                        break;\n                      case 5:\n                        const whitespace = scanner2.getTokenText();\n                        if (state === 2) {\n                          comments.push(whitespace);\n                        } else if (margin !== void 0 && indent2 + whitespace.length > margin) {\n                          comments.push(whitespace.slice(margin - indent2));\n                        }\n                        indent2 += whitespace.length;\n                        break;\n                      case 1:\n                        break loop;\n                      case 18:\n                        state = 2;\n                        const commentEnd = scanner2.getStartPos();\n                        const linkStart = scanner2.getTextPos() - 1;\n                        const link = parseJSDocLink(linkStart);\n                        if (link) {\n                          if (!linkEnd) {\n                            removeLeadingNewlines(comments);\n                          }\n                          parts.push(finishNode(factory2.createJSDocText(comments.join(\"\")), linkEnd != null ? linkEnd : start, commentEnd));\n                          parts.push(link);\n                          comments = [];\n                          linkEnd = scanner2.getTextPos();\n                          break;\n                        }\n                      default:\n                        state = 2;\n                        pushComment(scanner2.getTokenText());\n                        break;\n                    }\n                    nextTokenJSDoc();\n                  }\n                removeTrailingWhitespace(comments);\n                if (parts.length && comments.length) {\n                  parts.push(finishNode(factory2.createJSDocText(comments.join(\"\")), linkEnd != null ? linkEnd : start, commentsPos));\n                }\n                if (parts.length && tags)\n                  Debug2.assertIsDefined(commentsPos, \"having parsed tags implies that the end of the comment span should be set\");\n                const tagsArray = tags && createNodeArray(tags, tagsPos, tagsEnd);\n                return finishNode(factory2.createJSDocComment(parts.length ? createNodeArray(parts, start, commentsPos) : comments.length ? comments.join(\"\") : void 0, tagsArray), start, end);\n              });\n              function removeLeadingNewlines(comments2) {\n                while (comments2.length && (comments2[0] === \"\\n\" || comments2[0] === \"\\r\")) {\n                  comments2.shift();\n                }\n              }\n              function removeTrailingWhitespace(comments2) {\n                while (comments2.length && comments2[comments2.length - 1].trim() === \"\") {\n                  comments2.pop();\n                }\n              }\n              function isNextNonwhitespaceTokenEndOfFile() {\n                while (true) {\n                  nextTokenJSDoc();\n                  if (token() === 1) {\n                    return true;\n                  }\n                  if (!(token() === 5 || token() === 4)) {\n                    return false;\n                  }\n                }\n              }\n              function skipWhitespace() {\n                if (token() === 5 || token() === 4) {\n                  if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) {\n                    return;\n                  }\n                }\n                while (token() === 5 || token() === 4) {\n                  nextTokenJSDoc();\n                }\n              }\n              function skipWhitespaceOrAsterisk() {\n                if (token() === 5 || token() === 4) {\n                  if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) {\n                    return \"\";\n                  }\n                }\n                let precedingLineBreak = scanner2.hasPrecedingLineBreak();\n                let seenLineBreak = false;\n                let indentText = \"\";\n                while (precedingLineBreak && token() === 41 || token() === 5 || token() === 4) {\n                  indentText += scanner2.getTokenText();\n                  if (token() === 4) {\n                    precedingLineBreak = true;\n                    seenLineBreak = true;\n                    indentText = \"\";\n                  } else if (token() === 41) {\n                    precedingLineBreak = false;\n                  }\n                  nextTokenJSDoc();\n                }\n                return seenLineBreak ? indentText : \"\";\n              }\n              function parseTag(margin) {\n                Debug2.assert(\n                  token() === 59\n                  /* AtToken */\n                );\n                const start2 = scanner2.getTokenPos();\n                nextTokenJSDoc();\n                const tagName = parseJSDocIdentifierName(\n                  /*message*/\n                  void 0\n                );\n                const indentText = skipWhitespaceOrAsterisk();\n                let tag;\n                switch (tagName.escapedText) {\n                  case \"author\":\n                    tag = parseAuthorTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"implements\":\n                    tag = parseImplementsTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"augments\":\n                  case \"extends\":\n                    tag = parseAugmentsTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"class\":\n                  case \"constructor\":\n                    tag = parseSimpleTag(start2, factory2.createJSDocClassTag, tagName, margin, indentText);\n                    break;\n                  case \"public\":\n                    tag = parseSimpleTag(start2, factory2.createJSDocPublicTag, tagName, margin, indentText);\n                    break;\n                  case \"private\":\n                    tag = parseSimpleTag(start2, factory2.createJSDocPrivateTag, tagName, margin, indentText);\n                    break;\n                  case \"protected\":\n                    tag = parseSimpleTag(start2, factory2.createJSDocProtectedTag, tagName, margin, indentText);\n                    break;\n                  case \"readonly\":\n                    tag = parseSimpleTag(start2, factory2.createJSDocReadonlyTag, tagName, margin, indentText);\n                    break;\n                  case \"override\":\n                    tag = parseSimpleTag(start2, factory2.createJSDocOverrideTag, tagName, margin, indentText);\n                    break;\n                  case \"deprecated\":\n                    hasDeprecatedTag = true;\n                    tag = parseSimpleTag(start2, factory2.createJSDocDeprecatedTag, tagName, margin, indentText);\n                    break;\n                  case \"this\":\n                    tag = parseThisTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"enum\":\n                    tag = parseEnumTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"arg\":\n                  case \"argument\":\n                  case \"param\":\n                    return parseParameterOrPropertyTag(start2, tagName, 2, margin);\n                  case \"return\":\n                  case \"returns\":\n                    tag = parseReturnTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"template\":\n                    tag = parseTemplateTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"type\":\n                    tag = parseTypeTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"typedef\":\n                    tag = parseTypedefTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"callback\":\n                    tag = parseCallbackTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"overload\":\n                    tag = parseOverloadTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"satisfies\":\n                    tag = parseSatisfiesTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"see\":\n                    tag = parseSeeTag(start2, tagName, margin, indentText);\n                    break;\n                  case \"exception\":\n                  case \"throws\":\n                    tag = parseThrowsTag(start2, tagName, margin, indentText);\n                    break;\n                  default:\n                    tag = parseUnknownTag(start2, tagName, margin, indentText);\n                    break;\n                }\n                return tag;\n              }\n              function parseTrailingTagComments(pos, end2, margin, indentText) {\n                if (!indentText) {\n                  margin += end2 - pos;\n                }\n                return parseTagComments(margin, indentText.slice(margin));\n              }\n              function parseTagComments(indent2, initialMargin) {\n                const commentsPos2 = getNodePos();\n                let comments2 = [];\n                const parts2 = [];\n                let linkEnd2;\n                let state = 0;\n                let previousWhitespace = true;\n                let margin;\n                function pushComment(text) {\n                  if (!margin) {\n                    margin = indent2;\n                  }\n                  comments2.push(text);\n                  indent2 += text.length;\n                }\n                if (initialMargin !== void 0) {\n                  if (initialMargin !== \"\") {\n                    pushComment(initialMargin);\n                  }\n                  state = 1;\n                }\n                let tok = token();\n                loop:\n                  while (true) {\n                    switch (tok) {\n                      case 4:\n                        state = 0;\n                        comments2.push(scanner2.getTokenText());\n                        indent2 = 0;\n                        break;\n                      case 59:\n                        if (state === 3 || state === 2 && (!previousWhitespace || lookAhead(isNextJSDocTokenWhitespace))) {\n                          comments2.push(scanner2.getTokenText());\n                          break;\n                        }\n                        scanner2.setTextPos(scanner2.getTextPos() - 1);\n                      case 1:\n                        break loop;\n                      case 5:\n                        if (state === 2 || state === 3) {\n                          pushComment(scanner2.getTokenText());\n                        } else {\n                          const whitespace = scanner2.getTokenText();\n                          if (margin !== void 0 && indent2 + whitespace.length > margin) {\n                            comments2.push(whitespace.slice(margin - indent2));\n                          }\n                          indent2 += whitespace.length;\n                        }\n                        break;\n                      case 18:\n                        state = 2;\n                        const commentEnd = scanner2.getStartPos();\n                        const linkStart = scanner2.getTextPos() - 1;\n                        const link = parseJSDocLink(linkStart);\n                        if (link) {\n                          parts2.push(finishNode(factory2.createJSDocText(comments2.join(\"\")), linkEnd2 != null ? linkEnd2 : commentsPos2, commentEnd));\n                          parts2.push(link);\n                          comments2 = [];\n                          linkEnd2 = scanner2.getTextPos();\n                        } else {\n                          pushComment(scanner2.getTokenText());\n                        }\n                        break;\n                      case 61:\n                        if (state === 3) {\n                          state = 2;\n                        } else {\n                          state = 3;\n                        }\n                        pushComment(scanner2.getTokenText());\n                        break;\n                      case 41:\n                        if (state === 0) {\n                          state = 1;\n                          indent2 += 1;\n                          break;\n                        }\n                      default:\n                        if (state !== 3) {\n                          state = 2;\n                        }\n                        pushComment(scanner2.getTokenText());\n                        break;\n                    }\n                    previousWhitespace = token() === 5;\n                    tok = nextTokenJSDoc();\n                  }\n                removeLeadingNewlines(comments2);\n                removeTrailingWhitespace(comments2);\n                if (parts2.length) {\n                  if (comments2.length) {\n                    parts2.push(finishNode(factory2.createJSDocText(comments2.join(\"\")), linkEnd2 != null ? linkEnd2 : commentsPos2));\n                  }\n                  return createNodeArray(parts2, commentsPos2, scanner2.getTextPos());\n                } else if (comments2.length) {\n                  return comments2.join(\"\");\n                }\n              }\n              function isNextJSDocTokenWhitespace() {\n                const next = nextTokenJSDoc();\n                return next === 5 || next === 4;\n              }\n              function parseJSDocLink(start2) {\n                const linkType = tryParse(parseJSDocLinkPrefix);\n                if (!linkType) {\n                  return void 0;\n                }\n                nextTokenJSDoc();\n                skipWhitespace();\n                const p2 = getNodePos();\n                let name = tokenIsIdentifierOrKeyword(token()) ? parseEntityName(\n                  /*allowReservedWords*/\n                  true\n                ) : void 0;\n                if (name) {\n                  while (token() === 80) {\n                    reScanHashToken();\n                    nextTokenJSDoc();\n                    name = finishNode(factory2.createJSDocMemberName(name, parseIdentifier()), p2);\n                  }\n                }\n                const text = [];\n                while (token() !== 19 && token() !== 4 && token() !== 1) {\n                  text.push(scanner2.getTokenText());\n                  nextTokenJSDoc();\n                }\n                const create2 = linkType === \"link\" ? factory2.createJSDocLink : linkType === \"linkcode\" ? factory2.createJSDocLinkCode : factory2.createJSDocLinkPlain;\n                return finishNode(create2(name, text.join(\"\")), start2, scanner2.getTextPos());\n              }\n              function parseJSDocLinkPrefix() {\n                skipWhitespaceOrAsterisk();\n                if (token() === 18 && nextTokenJSDoc() === 59 && tokenIsIdentifierOrKeyword(nextTokenJSDoc())) {\n                  const kind = scanner2.getTokenValue();\n                  if (isJSDocLinkTag(kind))\n                    return kind;\n                }\n              }\n              function isJSDocLinkTag(kind) {\n                return kind === \"link\" || kind === \"linkcode\" || kind === \"linkplain\";\n              }\n              function parseUnknownTag(start2, tagName, indent2, indentText) {\n                return finishNode(factory2.createJSDocUnknownTag(tagName, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2);\n              }\n              function addTag(tag) {\n                if (!tag) {\n                  return;\n                }\n                if (!tags) {\n                  tags = [tag];\n                  tagsPos = tag.pos;\n                } else {\n                  tags.push(tag);\n                }\n                tagsEnd = tag.end;\n              }\n              function tryParseTypeExpression() {\n                skipWhitespaceOrAsterisk();\n                return token() === 18 ? parseJSDocTypeExpression() : void 0;\n              }\n              function parseBracketNameInPropertyAndParamTag() {\n                const isBracketed = parseOptionalJsdoc(\n                  22\n                  /* OpenBracketToken */\n                );\n                if (isBracketed) {\n                  skipWhitespace();\n                }\n                const isBackquoted = parseOptionalJsdoc(\n                  61\n                  /* BacktickToken */\n                );\n                const name = parseJSDocEntityName();\n                if (isBackquoted) {\n                  parseExpectedTokenJSDoc(\n                    61\n                    /* BacktickToken */\n                  );\n                }\n                if (isBracketed) {\n                  skipWhitespace();\n                  if (parseOptionalToken(\n                    63\n                    /* EqualsToken */\n                  )) {\n                    parseExpression();\n                  }\n                  parseExpected(\n                    23\n                    /* CloseBracketToken */\n                  );\n                }\n                return { name, isBracketed };\n              }\n              function isObjectOrObjectArrayTypeReference(node) {\n                switch (node.kind) {\n                  case 149:\n                    return true;\n                  case 185:\n                    return isObjectOrObjectArrayTypeReference(node.elementType);\n                  default:\n                    return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"Object\" && !node.typeArguments;\n                }\n              }\n              function parseParameterOrPropertyTag(start2, tagName, target, indent2) {\n                let typeExpression = tryParseTypeExpression();\n                let isNameFirst = !typeExpression;\n                skipWhitespaceOrAsterisk();\n                const { name, isBracketed } = parseBracketNameInPropertyAndParamTag();\n                const indentText = skipWhitespaceOrAsterisk();\n                if (isNameFirst && !lookAhead(parseJSDocLinkPrefix)) {\n                  typeExpression = tryParseTypeExpression();\n                }\n                const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText);\n                const nestedTypeLiteral = target !== 4 && parseNestedTypeLiteral(typeExpression, name, target, indent2);\n                if (nestedTypeLiteral) {\n                  typeExpression = nestedTypeLiteral;\n                  isNameFirst = true;\n                }\n                const result = target === 1 ? factory2.createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) : factory2.createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment);\n                return finishNode(result, start2);\n              }\n              function parseNestedTypeLiteral(typeExpression, name, target, indent2) {\n                if (typeExpression && isObjectOrObjectArrayTypeReference(typeExpression.type)) {\n                  const pos = getNodePos();\n                  let child;\n                  let children;\n                  while (child = tryParse(() => parseChildParameterOrPropertyTag(target, indent2, name))) {\n                    if (child.kind === 344 || child.kind === 351) {\n                      children = append(children, child);\n                    }\n                  }\n                  if (children) {\n                    const literal = finishNode(factory2.createJSDocTypeLiteral(\n                      children,\n                      typeExpression.type.kind === 185\n                      /* ArrayType */\n                    ), pos);\n                    return finishNode(factory2.createJSDocTypeExpression(literal), pos);\n                  }\n                }\n              }\n              function parseReturnTag(start2, tagName, indent2, indentText) {\n                if (some(tags, isJSDocReturnTag)) {\n                  parseErrorAt(tagName.pos, scanner2.getTokenPos(), Diagnostics._0_tag_already_specified, tagName.escapedText);\n                }\n                const typeExpression = tryParseTypeExpression();\n                return finishNode(factory2.createJSDocReturnTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2);\n              }\n              function parseTypeTag(start2, tagName, indent2, indentText) {\n                if (some(tags, isJSDocTypeTag)) {\n                  parseErrorAt(tagName.pos, scanner2.getTokenPos(), Diagnostics._0_tag_already_specified, tagName.escapedText);\n                }\n                const typeExpression = parseJSDocTypeExpression(\n                  /*mayOmitBraces*/\n                  true\n                );\n                const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0;\n                return finishNode(factory2.createJSDocTypeTag(tagName, typeExpression, comments2), start2);\n              }\n              function parseSeeTag(start2, tagName, indent2, indentText) {\n                const isMarkdownOrJSDocLink = token() === 22 || lookAhead(() => nextTokenJSDoc() === 59 && tokenIsIdentifierOrKeyword(nextTokenJSDoc()) && isJSDocLinkTag(scanner2.getTokenValue()));\n                const nameExpression = isMarkdownOrJSDocLink ? void 0 : parseJSDocNameReference();\n                const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0;\n                return finishNode(factory2.createJSDocSeeTag(tagName, nameExpression, comments2), start2);\n              }\n              function parseThrowsTag(start2, tagName, indent2, indentText) {\n                const typeExpression = tryParseTypeExpression();\n                const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText);\n                return finishNode(factory2.createJSDocThrowsTag(tagName, typeExpression, comment), start2);\n              }\n              function parseAuthorTag(start2, tagName, indent2, indentText) {\n                const commentStart = getNodePos();\n                const textOnly = parseAuthorNameAndEmail();\n                let commentEnd = scanner2.getStartPos();\n                const comments2 = parseTrailingTagComments(start2, commentEnd, indent2, indentText);\n                if (!comments2) {\n                  commentEnd = scanner2.getStartPos();\n                }\n                const allParts = typeof comments2 !== \"string\" ? createNodeArray(concatenate([finishNode(textOnly, commentStart, commentEnd)], comments2), commentStart) : textOnly.text + comments2;\n                return finishNode(factory2.createJSDocAuthorTag(tagName, allParts), start2);\n              }\n              function parseAuthorNameAndEmail() {\n                const comments2 = [];\n                let inEmail = false;\n                let token2 = scanner2.getToken();\n                while (token2 !== 1 && token2 !== 4) {\n                  if (token2 === 29) {\n                    inEmail = true;\n                  } else if (token2 === 59 && !inEmail) {\n                    break;\n                  } else if (token2 === 31 && inEmail) {\n                    comments2.push(scanner2.getTokenText());\n                    scanner2.setTextPos(scanner2.getTokenPos() + 1);\n                    break;\n                  }\n                  comments2.push(scanner2.getTokenText());\n                  token2 = nextTokenJSDoc();\n                }\n                return factory2.createJSDocText(comments2.join(\"\"));\n              }\n              function parseImplementsTag(start2, tagName, margin, indentText) {\n                const className = parseExpressionWithTypeArgumentsForAugments();\n                return finishNode(factory2.createJSDocImplementsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n              }\n              function parseAugmentsTag(start2, tagName, margin, indentText) {\n                const className = parseExpressionWithTypeArgumentsForAugments();\n                return finishNode(factory2.createJSDocAugmentsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n              }\n              function parseSatisfiesTag(start2, tagName, margin, indentText) {\n                const typeExpression = parseJSDocTypeExpression(\n                  /*mayOmitBraces*/\n                  false\n                );\n                const comments2 = margin !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), margin, indentText) : void 0;\n                return finishNode(factory2.createJSDocSatisfiesTag(tagName, typeExpression, comments2), start2);\n              }\n              function parseExpressionWithTypeArgumentsForAugments() {\n                const usedBrace = parseOptional(\n                  18\n                  /* OpenBraceToken */\n                );\n                const pos = getNodePos();\n                const expression = parsePropertyAccessEntityNameExpression();\n                const typeArguments = tryParseTypeArguments();\n                const node = factory2.createExpressionWithTypeArguments(expression, typeArguments);\n                const res = finishNode(node, pos);\n                if (usedBrace) {\n                  parseExpected(\n                    19\n                    /* CloseBraceToken */\n                  );\n                }\n                return res;\n              }\n              function parsePropertyAccessEntityNameExpression() {\n                const pos = getNodePos();\n                let node = parseJSDocIdentifierName();\n                while (parseOptional(\n                  24\n                  /* DotToken */\n                )) {\n                  const name = parseJSDocIdentifierName();\n                  node = finishNode(factoryCreatePropertyAccessExpression(node, name), pos);\n                }\n                return node;\n              }\n              function parseSimpleTag(start2, createTag, tagName, margin, indentText) {\n                return finishNode(createTag(tagName, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n              }\n              function parseThisTag(start2, tagName, margin, indentText) {\n                const typeExpression = parseJSDocTypeExpression(\n                  /*mayOmitBraces*/\n                  true\n                );\n                skipWhitespace();\n                return finishNode(factory2.createJSDocThisTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n              }\n              function parseEnumTag(start2, tagName, margin, indentText) {\n                const typeExpression = parseJSDocTypeExpression(\n                  /*mayOmitBraces*/\n                  true\n                );\n                skipWhitespace();\n                return finishNode(factory2.createJSDocEnumTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n              }\n              function parseTypedefTag(start2, tagName, indent2, indentText) {\n                var _a22;\n                let typeExpression = tryParseTypeExpression();\n                skipWhitespaceOrAsterisk();\n                const fullName = parseJSDocTypeNameWithNamespace();\n                skipWhitespace();\n                let comment = parseTagComments(indent2);\n                let end2;\n                if (!typeExpression || isObjectOrObjectArrayTypeReference(typeExpression.type)) {\n                  let child;\n                  let childTypeTag;\n                  let jsDocPropertyTags;\n                  let hasChildren = false;\n                  while (child = tryParse(() => parseChildPropertyTag(indent2))) {\n                    hasChildren = true;\n                    if (child.kind === 347) {\n                      if (childTypeTag) {\n                        const lastError = parseErrorAtCurrentToken(Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);\n                        if (lastError) {\n                          addRelatedInfo(lastError, createDetachedDiagnostic(fileName, 0, 0, Diagnostics.The_tag_was_first_specified_here));\n                        }\n                        break;\n                      } else {\n                        childTypeTag = child;\n                      }\n                    } else {\n                      jsDocPropertyTags = append(jsDocPropertyTags, child);\n                    }\n                  }\n                  if (hasChildren) {\n                    const isArrayType = typeExpression && typeExpression.type.kind === 185;\n                    const jsdocTypeLiteral = factory2.createJSDocTypeLiteral(jsDocPropertyTags, isArrayType);\n                    typeExpression = childTypeTag && childTypeTag.typeExpression && !isObjectOrObjectArrayTypeReference(childTypeTag.typeExpression.type) ? childTypeTag.typeExpression : finishNode(jsdocTypeLiteral, start2);\n                    end2 = typeExpression.end;\n                  }\n                }\n                end2 = end2 || comment !== void 0 ? getNodePos() : ((_a22 = fullName != null ? fullName : typeExpression) != null ? _a22 : tagName).end;\n                if (!comment) {\n                  comment = parseTrailingTagComments(start2, end2, indent2, indentText);\n                }\n                const typedefTag = factory2.createJSDocTypedefTag(tagName, typeExpression, fullName, comment);\n                return finishNode(typedefTag, start2, end2);\n              }\n              function parseJSDocTypeNameWithNamespace(nested) {\n                const pos = scanner2.getTokenPos();\n                if (!tokenIsIdentifierOrKeyword(token())) {\n                  return void 0;\n                }\n                const typeNameOrNamespaceName = parseJSDocIdentifierName();\n                if (parseOptional(\n                  24\n                  /* DotToken */\n                )) {\n                  const body = parseJSDocTypeNameWithNamespace(\n                    /*nested*/\n                    true\n                  );\n                  const jsDocNamespaceNode = factory2.createModuleDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    typeNameOrNamespaceName,\n                    body,\n                    nested ? 4 : void 0\n                  );\n                  return finishNode(jsDocNamespaceNode, pos);\n                }\n                if (nested) {\n                  typeNameOrNamespaceName.flags |= 2048;\n                }\n                return typeNameOrNamespaceName;\n              }\n              function parseCallbackTagParameters(indent2) {\n                const pos = getNodePos();\n                let child;\n                let parameters;\n                while (child = tryParse(() => parseChildParameterOrPropertyTag(4, indent2))) {\n                  parameters = append(parameters, child);\n                }\n                return createNodeArray(parameters || [], pos);\n              }\n              function parseJSDocSignature(start2, indent2) {\n                const parameters = parseCallbackTagParameters(indent2);\n                const returnTag = tryParse(() => {\n                  if (parseOptionalJsdoc(\n                    59\n                    /* AtToken */\n                  )) {\n                    const tag = parseTag(indent2);\n                    if (tag && tag.kind === 345) {\n                      return tag;\n                    }\n                  }\n                });\n                return finishNode(factory2.createJSDocSignature(\n                  /*typeParameters*/\n                  void 0,\n                  parameters,\n                  returnTag\n                ), start2);\n              }\n              function parseCallbackTag(start2, tagName, indent2, indentText) {\n                const fullName = parseJSDocTypeNameWithNamespace();\n                skipWhitespace();\n                let comment = parseTagComments(indent2);\n                const typeExpression = parseJSDocSignature(start2, indent2);\n                if (!comment) {\n                  comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText);\n                }\n                const end2 = comment !== void 0 ? getNodePos() : typeExpression.end;\n                return finishNode(factory2.createJSDocCallbackTag(tagName, typeExpression, fullName, comment), start2, end2);\n              }\n              function parseOverloadTag(start2, tagName, indent2, indentText) {\n                skipWhitespace();\n                let comment = parseTagComments(indent2);\n                const typeExpression = parseJSDocSignature(start2, indent2);\n                if (!comment) {\n                  comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText);\n                }\n                const end2 = comment !== void 0 ? getNodePos() : typeExpression.end;\n                return finishNode(factory2.createJSDocOverloadTag(tagName, typeExpression, comment), start2, end2);\n              }\n              function escapedTextsEqual(a, b) {\n                while (!isIdentifier(a) || !isIdentifier(b)) {\n                  if (!isIdentifier(a) && !isIdentifier(b) && a.right.escapedText === b.right.escapedText) {\n                    a = a.left;\n                    b = b.left;\n                  } else {\n                    return false;\n                  }\n                }\n                return a.escapedText === b.escapedText;\n              }\n              function parseChildPropertyTag(indent2) {\n                return parseChildParameterOrPropertyTag(1, indent2);\n              }\n              function parseChildParameterOrPropertyTag(target, indent2, name) {\n                let canParseTag = true;\n                let seenAsterisk = false;\n                while (true) {\n                  switch (nextTokenJSDoc()) {\n                    case 59:\n                      if (canParseTag) {\n                        const child = tryParseChildTag(target, indent2);\n                        if (child && (child.kind === 344 || child.kind === 351) && target !== 4 && name && (isIdentifier(child.name) || !escapedTextsEqual(name, child.name.left))) {\n                          return false;\n                        }\n                        return child;\n                      }\n                      seenAsterisk = false;\n                      break;\n                    case 4:\n                      canParseTag = true;\n                      seenAsterisk = false;\n                      break;\n                    case 41:\n                      if (seenAsterisk) {\n                        canParseTag = false;\n                      }\n                      seenAsterisk = true;\n                      break;\n                    case 79:\n                      canParseTag = false;\n                      break;\n                    case 1:\n                      return false;\n                  }\n                }\n              }\n              function tryParseChildTag(target, indent2) {\n                Debug2.assert(\n                  token() === 59\n                  /* AtToken */\n                );\n                const start2 = scanner2.getStartPos();\n                nextTokenJSDoc();\n                const tagName = parseJSDocIdentifierName();\n                skipWhitespace();\n                let t;\n                switch (tagName.escapedText) {\n                  case \"type\":\n                    return target === 1 && parseTypeTag(start2, tagName);\n                  case \"prop\":\n                  case \"property\":\n                    t = 1;\n                    break;\n                  case \"arg\":\n                  case \"argument\":\n                  case \"param\":\n                    t = 2 | 4;\n                    break;\n                  default:\n                    return false;\n                }\n                if (!(target & t)) {\n                  return false;\n                }\n                return parseParameterOrPropertyTag(start2, tagName, target, indent2);\n              }\n              function parseTemplateTagTypeParameter() {\n                const typeParameterPos = getNodePos();\n                const isBracketed = parseOptionalJsdoc(\n                  22\n                  /* OpenBracketToken */\n                );\n                if (isBracketed) {\n                  skipWhitespace();\n                }\n                const name = parseJSDocIdentifierName(Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);\n                let defaultType;\n                if (isBracketed) {\n                  skipWhitespace();\n                  parseExpected(\n                    63\n                    /* EqualsToken */\n                  );\n                  defaultType = doInsideOfContext(8388608, parseJSDocType);\n                  parseExpected(\n                    23\n                    /* CloseBracketToken */\n                  );\n                }\n                if (nodeIsMissing(name)) {\n                  return void 0;\n                }\n                return finishNode(factory2.createTypeParameterDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  name,\n                  /*constraint*/\n                  void 0,\n                  defaultType\n                ), typeParameterPos);\n              }\n              function parseTemplateTagTypeParameters() {\n                const pos = getNodePos();\n                const typeParameters = [];\n                do {\n                  skipWhitespace();\n                  const node = parseTemplateTagTypeParameter();\n                  if (node !== void 0) {\n                    typeParameters.push(node);\n                  }\n                  skipWhitespaceOrAsterisk();\n                } while (parseOptionalJsdoc(\n                  27\n                  /* CommaToken */\n                ));\n                return createNodeArray(typeParameters, pos);\n              }\n              function parseTemplateTag(start2, tagName, indent2, indentText) {\n                const constraint = token() === 18 ? parseJSDocTypeExpression() : void 0;\n                const typeParameters = parseTemplateTagTypeParameters();\n                return finishNode(factory2.createJSDocTemplateTag(tagName, constraint, typeParameters, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2);\n              }\n              function parseOptionalJsdoc(t) {\n                if (token() === t) {\n                  nextTokenJSDoc();\n                  return true;\n                }\n                return false;\n              }\n              function parseJSDocEntityName() {\n                let entity = parseJSDocIdentifierName();\n                if (parseOptional(\n                  22\n                  /* OpenBracketToken */\n                )) {\n                  parseExpected(\n                    23\n                    /* CloseBracketToken */\n                  );\n                }\n                while (parseOptional(\n                  24\n                  /* DotToken */\n                )) {\n                  const name = parseJSDocIdentifierName();\n                  if (parseOptional(\n                    22\n                    /* OpenBracketToken */\n                  )) {\n                    parseExpected(\n                      23\n                      /* CloseBracketToken */\n                    );\n                  }\n                  entity = createQualifiedName(entity, name);\n                }\n                return entity;\n              }\n              function parseJSDocIdentifierName(message) {\n                if (!tokenIsIdentifierOrKeyword(token())) {\n                  return createMissingNode(\n                    79,\n                    /*reportAtCurrentPosition*/\n                    !message,\n                    message || Diagnostics.Identifier_expected\n                  );\n                }\n                identifierCount++;\n                const pos = scanner2.getTokenPos();\n                const end2 = scanner2.getTextPos();\n                const originalKeywordKind = token();\n                const text = internIdentifier(scanner2.getTokenValue());\n                const result = finishNode(factoryCreateIdentifier(text, originalKeywordKind), pos, end2);\n                nextTokenJSDoc();\n                return result;\n              }\n            }\n          })(JSDocParser = Parser2.JSDocParser || (Parser2.JSDocParser = {}));\n        })(Parser || (Parser = {}));\n        ((IncrementalParser2) => {\n          function updateSourceFile2(sourceFile, newText, textChangeRange, aggressiveChecks) {\n            aggressiveChecks = aggressiveChecks || Debug2.shouldAssert(\n              2\n              /* Aggressive */\n            );\n            checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks);\n            if (textChangeRangeIsUnchanged(textChangeRange)) {\n              return sourceFile;\n            }\n            if (sourceFile.statements.length === 0) {\n              return Parser.parseSourceFile(\n                sourceFile.fileName,\n                newText,\n                sourceFile.languageVersion,\n                /*syntaxCursor*/\n                void 0,\n                /*setParentNodes*/\n                true,\n                sourceFile.scriptKind,\n                sourceFile.setExternalModuleIndicator\n              );\n            }\n            const incrementalSourceFile = sourceFile;\n            Debug2.assert(!incrementalSourceFile.hasBeenIncrementallyParsed);\n            incrementalSourceFile.hasBeenIncrementallyParsed = true;\n            Parser.fixupParentReferences(incrementalSourceFile);\n            const oldText = sourceFile.text;\n            const syntaxCursor = createSyntaxCursor(sourceFile);\n            const changeRange = extendToAffectedRange(sourceFile, textChangeRange);\n            checkChangeRange(sourceFile, newText, changeRange, aggressiveChecks);\n            Debug2.assert(changeRange.span.start <= textChangeRange.span.start);\n            Debug2.assert(textSpanEnd(changeRange.span) === textSpanEnd(textChangeRange.span));\n            Debug2.assert(textSpanEnd(textChangeRangeNewSpan(changeRange)) === textSpanEnd(textChangeRangeNewSpan(textChangeRange)));\n            const delta = textChangeRangeNewSpan(changeRange).length - changeRange.span.length;\n            updateTokenPositionsAndMarkElements(\n              incrementalSourceFile,\n              changeRange.span.start,\n              textSpanEnd(changeRange.span),\n              textSpanEnd(textChangeRangeNewSpan(changeRange)),\n              delta,\n              oldText,\n              newText,\n              aggressiveChecks\n            );\n            const result = Parser.parseSourceFile(\n              sourceFile.fileName,\n              newText,\n              sourceFile.languageVersion,\n              syntaxCursor,\n              /*setParentNodes*/\n              true,\n              sourceFile.scriptKind,\n              sourceFile.setExternalModuleIndicator\n            );\n            result.commentDirectives = getNewCommentDirectives(\n              sourceFile.commentDirectives,\n              result.commentDirectives,\n              changeRange.span.start,\n              textSpanEnd(changeRange.span),\n              delta,\n              oldText,\n              newText,\n              aggressiveChecks\n            );\n            result.impliedNodeFormat = sourceFile.impliedNodeFormat;\n            return result;\n          }\n          IncrementalParser2.updateSourceFile = updateSourceFile2;\n          function getNewCommentDirectives(oldDirectives, newDirectives, changeStart, changeRangeOldEnd, delta, oldText, newText, aggressiveChecks) {\n            if (!oldDirectives)\n              return newDirectives;\n            let commentDirectives;\n            let addedNewlyScannedDirectives = false;\n            for (const directive of oldDirectives) {\n              const { range, type } = directive;\n              if (range.end < changeStart) {\n                commentDirectives = append(commentDirectives, directive);\n              } else if (range.pos > changeRangeOldEnd) {\n                addNewlyScannedDirectives();\n                const updatedDirective = {\n                  range: { pos: range.pos + delta, end: range.end + delta },\n                  type\n                };\n                commentDirectives = append(commentDirectives, updatedDirective);\n                if (aggressiveChecks) {\n                  Debug2.assert(oldText.substring(range.pos, range.end) === newText.substring(updatedDirective.range.pos, updatedDirective.range.end));\n                }\n              }\n            }\n            addNewlyScannedDirectives();\n            return commentDirectives;\n            function addNewlyScannedDirectives() {\n              if (addedNewlyScannedDirectives)\n                return;\n              addedNewlyScannedDirectives = true;\n              if (!commentDirectives) {\n                commentDirectives = newDirectives;\n              } else if (newDirectives) {\n                commentDirectives.push(...newDirectives);\n              }\n            }\n          }\n          function moveElementEntirelyPastChangeRange(element, isArray2, delta, oldText, newText, aggressiveChecks) {\n            if (isArray2) {\n              visitArray2(element);\n            } else {\n              visitNode3(element);\n            }\n            return;\n            function visitNode3(node) {\n              let text = \"\";\n              if (aggressiveChecks && shouldCheckNode(node)) {\n                text = oldText.substring(node.pos, node.end);\n              }\n              if (node._children) {\n                node._children = void 0;\n              }\n              setTextRangePosEnd(node, node.pos + delta, node.end + delta);\n              if (aggressiveChecks && shouldCheckNode(node)) {\n                Debug2.assert(text === newText.substring(node.pos, node.end));\n              }\n              forEachChild(node, visitNode3, visitArray2);\n              if (hasJSDocNodes(node)) {\n                for (const jsDocComment of node.jsDoc) {\n                  visitNode3(jsDocComment);\n                }\n              }\n              checkNodePositions(node, aggressiveChecks);\n            }\n            function visitArray2(array) {\n              array._children = void 0;\n              setTextRangePosEnd(array, array.pos + delta, array.end + delta);\n              for (const node of array) {\n                visitNode3(node);\n              }\n            }\n          }\n          function shouldCheckNode(node) {\n            switch (node.kind) {\n              case 10:\n              case 8:\n              case 79:\n                return true;\n            }\n            return false;\n          }\n          function adjustIntersectingElement(element, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta) {\n            Debug2.assert(element.end >= changeStart, \"Adjusting an element that was entirely before the change range\");\n            Debug2.assert(element.pos <= changeRangeOldEnd, \"Adjusting an element that was entirely after the change range\");\n            Debug2.assert(element.pos <= element.end);\n            const pos = Math.min(element.pos, changeRangeNewEnd);\n            const end = element.end >= changeRangeOldEnd ? (\n              // Element ends after the change range.  Always adjust the end pos.\n              element.end + delta\n            ) : (\n              // Element ends in the change range.  The element will keep its position if\n              // possible. Or Move backward to the new-end if it's in the 'Y' range.\n              Math.min(element.end, changeRangeNewEnd)\n            );\n            Debug2.assert(pos <= end);\n            if (element.parent) {\n              Debug2.assertGreaterThanOrEqual(pos, element.parent.pos);\n              Debug2.assertLessThanOrEqual(end, element.parent.end);\n            }\n            setTextRangePosEnd(element, pos, end);\n          }\n          function checkNodePositions(node, aggressiveChecks) {\n            if (aggressiveChecks) {\n              let pos = node.pos;\n              const visitNode3 = (child) => {\n                Debug2.assert(child.pos >= pos);\n                pos = child.end;\n              };\n              if (hasJSDocNodes(node)) {\n                for (const jsDocComment of node.jsDoc) {\n                  visitNode3(jsDocComment);\n                }\n              }\n              forEachChild(node, visitNode3);\n              Debug2.assert(pos <= node.end);\n            }\n          }\n          function updateTokenPositionsAndMarkElements(sourceFile, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta, oldText, newText, aggressiveChecks) {\n            visitNode3(sourceFile);\n            return;\n            function visitNode3(child) {\n              Debug2.assert(child.pos <= child.end);\n              if (child.pos > changeRangeOldEnd) {\n                moveElementEntirelyPastChangeRange(\n                  child,\n                  /*isArray*/\n                  false,\n                  delta,\n                  oldText,\n                  newText,\n                  aggressiveChecks\n                );\n                return;\n              }\n              const fullEnd = child.end;\n              if (fullEnd >= changeStart) {\n                child.intersectsChange = true;\n                child._children = void 0;\n                adjustIntersectingElement(child, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta);\n                forEachChild(child, visitNode3, visitArray2);\n                if (hasJSDocNodes(child)) {\n                  for (const jsDocComment of child.jsDoc) {\n                    visitNode3(jsDocComment);\n                  }\n                }\n                checkNodePositions(child, aggressiveChecks);\n                return;\n              }\n              Debug2.assert(fullEnd < changeStart);\n            }\n            function visitArray2(array) {\n              Debug2.assert(array.pos <= array.end);\n              if (array.pos > changeRangeOldEnd) {\n                moveElementEntirelyPastChangeRange(\n                  array,\n                  /*isArray*/\n                  true,\n                  delta,\n                  oldText,\n                  newText,\n                  aggressiveChecks\n                );\n                return;\n              }\n              const fullEnd = array.end;\n              if (fullEnd >= changeStart) {\n                array.intersectsChange = true;\n                array._children = void 0;\n                adjustIntersectingElement(array, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta);\n                for (const node of array) {\n                  visitNode3(node);\n                }\n                return;\n              }\n              Debug2.assert(fullEnd < changeStart);\n            }\n          }\n          function extendToAffectedRange(sourceFile, changeRange) {\n            const maxLookahead = 1;\n            let start = changeRange.span.start;\n            for (let i = 0; start > 0 && i <= maxLookahead; i++) {\n              const nearestNode = findNearestNodeStartingBeforeOrAtPosition(sourceFile, start);\n              Debug2.assert(nearestNode.pos <= start);\n              const position = nearestNode.pos;\n              start = Math.max(0, position - 1);\n            }\n            const finalSpan = createTextSpanFromBounds(start, textSpanEnd(changeRange.span));\n            const finalLength = changeRange.newLength + (changeRange.span.start - start);\n            return createTextChangeRange(finalSpan, finalLength);\n          }\n          function findNearestNodeStartingBeforeOrAtPosition(sourceFile, position) {\n            let bestResult = sourceFile;\n            let lastNodeEntirelyBeforePosition;\n            forEachChild(sourceFile, visit);\n            if (lastNodeEntirelyBeforePosition) {\n              const lastChildOfLastEntireNodeBeforePosition = getLastDescendant(lastNodeEntirelyBeforePosition);\n              if (lastChildOfLastEntireNodeBeforePosition.pos > bestResult.pos) {\n                bestResult = lastChildOfLastEntireNodeBeforePosition;\n              }\n            }\n            return bestResult;\n            function getLastDescendant(node) {\n              while (true) {\n                const lastChild = getLastChild(node);\n                if (lastChild) {\n                  node = lastChild;\n                } else {\n                  return node;\n                }\n              }\n            }\n            function visit(child) {\n              if (nodeIsMissing(child)) {\n                return;\n              }\n              if (child.pos <= position) {\n                if (child.pos >= bestResult.pos) {\n                  bestResult = child;\n                }\n                if (position < child.end) {\n                  forEachChild(child, visit);\n                  return true;\n                } else {\n                  Debug2.assert(child.end <= position);\n                  lastNodeEntirelyBeforePosition = child;\n                }\n              } else {\n                Debug2.assert(child.pos > position);\n                return true;\n              }\n            }\n          }\n          function checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks) {\n            const oldText = sourceFile.text;\n            if (textChangeRange) {\n              Debug2.assert(oldText.length - textChangeRange.span.length + textChangeRange.newLength === newText.length);\n              if (aggressiveChecks || Debug2.shouldAssert(\n                3\n                /* VeryAggressive */\n              )) {\n                const oldTextPrefix = oldText.substr(0, textChangeRange.span.start);\n                const newTextPrefix = newText.substr(0, textChangeRange.span.start);\n                Debug2.assert(oldTextPrefix === newTextPrefix);\n                const oldTextSuffix = oldText.substring(textSpanEnd(textChangeRange.span), oldText.length);\n                const newTextSuffix = newText.substring(textSpanEnd(textChangeRangeNewSpan(textChangeRange)), newText.length);\n                Debug2.assert(oldTextSuffix === newTextSuffix);\n              }\n            }\n          }\n          function createSyntaxCursor(sourceFile) {\n            let currentArray = sourceFile.statements;\n            let currentArrayIndex = 0;\n            Debug2.assert(currentArrayIndex < currentArray.length);\n            let current = currentArray[currentArrayIndex];\n            let lastQueriedPosition = -1;\n            return {\n              currentNode(position) {\n                if (position !== lastQueriedPosition) {\n                  if (current && current.end === position && currentArrayIndex < currentArray.length - 1) {\n                    currentArrayIndex++;\n                    current = currentArray[currentArrayIndex];\n                  }\n                  if (!current || current.pos !== position) {\n                    findHighestListElementThatStartsAtPosition(position);\n                  }\n                }\n                lastQueriedPosition = position;\n                Debug2.assert(!current || current.pos === position);\n                return current;\n              }\n            };\n            function findHighestListElementThatStartsAtPosition(position) {\n              currentArray = void 0;\n              currentArrayIndex = -1;\n              current = void 0;\n              forEachChild(sourceFile, visitNode3, visitArray2);\n              return;\n              function visitNode3(node) {\n                if (position >= node.pos && position < node.end) {\n                  forEachChild(node, visitNode3, visitArray2);\n                  return true;\n                }\n                return false;\n              }\n              function visitArray2(array) {\n                if (position >= array.pos && position < array.end) {\n                  for (let i = 0; i < array.length; i++) {\n                    const child = array[i];\n                    if (child) {\n                      if (child.pos === position) {\n                        currentArray = array;\n                        currentArrayIndex = i;\n                        current = child;\n                        return true;\n                      } else {\n                        if (child.pos < position && position < child.end) {\n                          forEachChild(child, visitNode3, visitArray2);\n                          return true;\n                        }\n                      }\n                    }\n                  }\n                }\n                return false;\n              }\n            }\n          }\n          IncrementalParser2.createSyntaxCursor = createSyntaxCursor;\n          let InvalidPosition;\n          ((InvalidPosition2) => {\n            InvalidPosition2[InvalidPosition2[\"Value\"] = -1] = \"Value\";\n          })(InvalidPosition || (InvalidPosition = {}));\n        })(IncrementalParser || (IncrementalParser = {}));\n        namedArgRegExCache = /* @__PURE__ */ new Map();\n        tripleSlashXMLCommentStartRegEx = /^\\/\\/\\/\\s*<(\\S+)\\s.*?\\/>/im;\n        singleLinePragmaRegEx = /^\\/\\/\\/?\\s*@(\\S+)\\s*(.*)\\s*$/im;\n      }\n    });\n    function createOptionNameMap(optionDeclarations2) {\n      const optionsNameMap = /* @__PURE__ */ new Map();\n      const shortOptionNames = /* @__PURE__ */ new Map();\n      forEach(optionDeclarations2, (option) => {\n        optionsNameMap.set(option.name.toLowerCase(), option);\n        if (option.shortName) {\n          shortOptionNames.set(option.shortName, option.name);\n        }\n      });\n      return { optionsNameMap, shortOptionNames };\n    }\n    function getOptionsNameMap() {\n      return optionsNameMapCache || (optionsNameMapCache = createOptionNameMap(optionDeclarations));\n    }\n    function createCompilerDiagnosticForInvalidCustomType(opt) {\n      return createDiagnosticForInvalidCustomType(opt, createCompilerDiagnostic);\n    }\n    function createDiagnosticForInvalidCustomType(opt, createDiagnostic) {\n      const namesOfType = arrayFrom(opt.type.keys());\n      const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k) => !opt.deprecatedKeys.has(k)) : namesOfType).map((key) => `'${key}'`).join(\", \");\n      return createDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, stringNames);\n    }\n    function parseCustomTypeOption(opt, value, errors) {\n      return convertJsonOptionOfCustomType(opt, trimString(value || \"\"), errors);\n    }\n    function parseListTypeOption(opt, value = \"\", errors) {\n      value = trimString(value);\n      if (startsWith(value, \"-\")) {\n        return void 0;\n      }\n      if (opt.type === \"listOrElement\" && !stringContains(value, \",\")) {\n        return validateJsonOptionValue(opt, value, errors);\n      }\n      if (value === \"\") {\n        return [];\n      }\n      const values = value.split(\",\");\n      switch (opt.element.type) {\n        case \"number\":\n          return mapDefined(values, (v) => validateJsonOptionValue(opt.element, parseInt(v), errors));\n        case \"string\":\n          return mapDefined(values, (v) => validateJsonOptionValue(opt.element, v || \"\", errors));\n        case \"boolean\":\n        case \"object\":\n          return Debug2.fail(`List of ${opt.element.type} is not yet supported.`);\n        default:\n          return mapDefined(values, (v) => parseCustomTypeOption(opt.element, v, errors));\n      }\n    }\n    function getOptionName(option) {\n      return option.name;\n    }\n    function createUnknownOptionError(unknownOption, diagnostics, createDiagnostics, unknownOptionErrorText) {\n      var _a22;\n      if ((_a22 = diagnostics.alternateMode) == null ? void 0 : _a22.getOptionsNameMap().optionsNameMap.has(unknownOption.toLowerCase())) {\n        return createDiagnostics(diagnostics.alternateMode.diagnostic, unknownOption);\n      }\n      const possibleOption = getSpellingSuggestion(unknownOption, diagnostics.optionDeclarations, getOptionName);\n      return possibleOption ? createDiagnostics(diagnostics.unknownDidYouMeanDiagnostic, unknownOptionErrorText || unknownOption, possibleOption.name) : createDiagnostics(diagnostics.unknownOptionDiagnostic, unknownOptionErrorText || unknownOption);\n    }\n    function parseCommandLineWorker(diagnostics, commandLine, readFile) {\n      const options = {};\n      let watchOptions;\n      const fileNames = [];\n      const errors = [];\n      parseStrings(commandLine);\n      return {\n        options,\n        watchOptions,\n        fileNames,\n        errors\n      };\n      function parseStrings(args) {\n        let i = 0;\n        while (i < args.length) {\n          const s = args[i];\n          i++;\n          if (s.charCodeAt(0) === 64) {\n            parseResponseFile(s.slice(1));\n          } else if (s.charCodeAt(0) === 45) {\n            const inputOptionName = s.slice(s.charCodeAt(1) === 45 ? 2 : 1);\n            const opt = getOptionDeclarationFromName(\n              diagnostics.getOptionsNameMap,\n              inputOptionName,\n              /*allowShort*/\n              true\n            );\n            if (opt) {\n              i = parseOptionValue(args, i, diagnostics, opt, options, errors);\n            } else {\n              const watchOpt = getOptionDeclarationFromName(\n                watchOptionsDidYouMeanDiagnostics.getOptionsNameMap,\n                inputOptionName,\n                /*allowShort*/\n                true\n              );\n              if (watchOpt) {\n                i = parseOptionValue(args, i, watchOptionsDidYouMeanDiagnostics, watchOpt, watchOptions || (watchOptions = {}), errors);\n              } else {\n                errors.push(createUnknownOptionError(inputOptionName, diagnostics, createCompilerDiagnostic, s));\n              }\n            }\n          } else {\n            fileNames.push(s);\n          }\n        }\n      }\n      function parseResponseFile(fileName) {\n        const text = tryReadFile(fileName, readFile || ((fileName2) => sys.readFile(fileName2)));\n        if (!isString2(text)) {\n          errors.push(text);\n          return;\n        }\n        const args = [];\n        let pos = 0;\n        while (true) {\n          while (pos < text.length && text.charCodeAt(pos) <= 32)\n            pos++;\n          if (pos >= text.length)\n            break;\n          const start = pos;\n          if (text.charCodeAt(start) === 34) {\n            pos++;\n            while (pos < text.length && text.charCodeAt(pos) !== 34)\n              pos++;\n            if (pos < text.length) {\n              args.push(text.substring(start + 1, pos));\n              pos++;\n            } else {\n              errors.push(createCompilerDiagnostic(Diagnostics.Unterminated_quoted_string_in_response_file_0, fileName));\n            }\n          } else {\n            while (text.charCodeAt(pos) > 32)\n              pos++;\n            args.push(text.substring(start, pos));\n          }\n        }\n        parseStrings(args);\n      }\n    }\n    function parseOptionValue(args, i, diagnostics, opt, options, errors) {\n      if (opt.isTSConfigOnly) {\n        const optValue = args[i];\n        if (optValue === \"null\") {\n          options[opt.name] = void 0;\n          i++;\n        } else if (opt.type === \"boolean\") {\n          if (optValue === \"false\") {\n            options[opt.name] = validateJsonOptionValue(\n              opt,\n              /*value*/\n              false,\n              errors\n            );\n            i++;\n          } else {\n            if (optValue === \"true\")\n              i++;\n            errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line, opt.name));\n          }\n        } else {\n          errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line, opt.name));\n          if (optValue && !startsWith(optValue, \"-\"))\n            i++;\n        }\n      } else {\n        if (!args[i] && opt.type !== \"boolean\") {\n          errors.push(createCompilerDiagnostic(diagnostics.optionTypeMismatchDiagnostic, opt.name, getCompilerOptionValueTypeString(opt)));\n        }\n        if (args[i] !== \"null\") {\n          switch (opt.type) {\n            case \"number\":\n              options[opt.name] = validateJsonOptionValue(opt, parseInt(args[i]), errors);\n              i++;\n              break;\n            case \"boolean\":\n              const optValue = args[i];\n              options[opt.name] = validateJsonOptionValue(opt, optValue !== \"false\", errors);\n              if (optValue === \"false\" || optValue === \"true\") {\n                i++;\n              }\n              break;\n            case \"string\":\n              options[opt.name] = validateJsonOptionValue(opt, args[i] || \"\", errors);\n              i++;\n              break;\n            case \"list\":\n              const result = parseListTypeOption(opt, args[i], errors);\n              options[opt.name] = result || [];\n              if (result) {\n                i++;\n              }\n              break;\n            case \"listOrElement\":\n              Debug2.fail(\"listOrElement not supported here\");\n              break;\n            default:\n              options[opt.name] = parseCustomTypeOption(opt, args[i], errors);\n              i++;\n              break;\n          }\n        } else {\n          options[opt.name] = void 0;\n          i++;\n        }\n      }\n      return i;\n    }\n    function parseCommandLine(commandLine, readFile) {\n      return parseCommandLineWorker(compilerOptionsDidYouMeanDiagnostics, commandLine, readFile);\n    }\n    function getOptionFromName(optionName, allowShort) {\n      return getOptionDeclarationFromName(getOptionsNameMap, optionName, allowShort);\n    }\n    function getOptionDeclarationFromName(getOptionNameMap, optionName, allowShort = false) {\n      optionName = optionName.toLowerCase();\n      const { optionsNameMap, shortOptionNames } = getOptionNameMap();\n      if (allowShort) {\n        const short = shortOptionNames.get(optionName);\n        if (short !== void 0) {\n          optionName = short;\n        }\n      }\n      return optionsNameMap.get(optionName);\n    }\n    function getBuildOptionsNameMap() {\n      return buildOptionsNameMapCache || (buildOptionsNameMapCache = createOptionNameMap(buildOpts));\n    }\n    function parseBuildCommand(args) {\n      const { options, watchOptions, fileNames: projects, errors } = parseCommandLineWorker(\n        buildOptionsDidYouMeanDiagnostics,\n        args\n      );\n      const buildOptions = options;\n      if (projects.length === 0) {\n        projects.push(\".\");\n      }\n      if (buildOptions.clean && buildOptions.force) {\n        errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"clean\", \"force\"));\n      }\n      if (buildOptions.clean && buildOptions.verbose) {\n        errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"clean\", \"verbose\"));\n      }\n      if (buildOptions.clean && buildOptions.watch) {\n        errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"clean\", \"watch\"));\n      }\n      if (buildOptions.watch && buildOptions.dry) {\n        errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"watch\", \"dry\"));\n      }\n      return { buildOptions, watchOptions, projects, errors };\n    }\n    function getDiagnosticText(_message, ..._args) {\n      const diagnostic = createCompilerDiagnostic.apply(void 0, arguments);\n      return diagnostic.messageText;\n    }\n    function getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend, extraFileExtensions) {\n      const configFileText = tryReadFile(configFileName, (fileName) => host.readFile(fileName));\n      if (!isString2(configFileText)) {\n        host.onUnRecoverableConfigFileDiagnostic(configFileText);\n        return void 0;\n      }\n      const result = parseJsonText(configFileName, configFileText);\n      const cwd2 = host.getCurrentDirectory();\n      result.path = toPath(configFileName, cwd2, createGetCanonicalFileName(host.useCaseSensitiveFileNames));\n      result.resolvedPath = result.path;\n      result.originalFileName = result.fileName;\n      return parseJsonSourceFileConfigFileContent(\n        result,\n        host,\n        getNormalizedAbsolutePath(getDirectoryPath(configFileName), cwd2),\n        optionsToExtend,\n        getNormalizedAbsolutePath(configFileName, cwd2),\n        /*resolutionStack*/\n        void 0,\n        extraFileExtensions,\n        extendedConfigCache,\n        watchOptionsToExtend\n      );\n    }\n    function readConfigFile(fileName, readFile) {\n      const textOrDiagnostic = tryReadFile(fileName, readFile);\n      return isString2(textOrDiagnostic) ? parseConfigFileTextToJson(fileName, textOrDiagnostic) : { config: {}, error: textOrDiagnostic };\n    }\n    function parseConfigFileTextToJson(fileName, jsonText) {\n      const jsonSourceFile = parseJsonText(fileName, jsonText);\n      return {\n        config: convertConfigFileToObject(\n          jsonSourceFile,\n          jsonSourceFile.parseDiagnostics,\n          /*reportOptionsErrors*/\n          false,\n          /*optionsIterator*/\n          void 0\n        ),\n        error: jsonSourceFile.parseDiagnostics.length ? jsonSourceFile.parseDiagnostics[0] : void 0\n      };\n    }\n    function readJsonConfigFile(fileName, readFile) {\n      const textOrDiagnostic = tryReadFile(fileName, readFile);\n      return isString2(textOrDiagnostic) ? parseJsonText(fileName, textOrDiagnostic) : { fileName, parseDiagnostics: [textOrDiagnostic] };\n    }\n    function tryReadFile(fileName, readFile) {\n      let text;\n      try {\n        text = readFile(fileName);\n      } catch (e) {\n        return createCompilerDiagnostic(Diagnostics.Cannot_read_file_0_Colon_1, fileName, e.message);\n      }\n      return text === void 0 ? createCompilerDiagnostic(Diagnostics.Cannot_read_file_0, fileName) : text;\n    }\n    function commandLineOptionsToMap(options) {\n      return arrayToMap(options, getOptionName);\n    }\n    function getWatchOptionsNameMap() {\n      return watchOptionsNameMapCache || (watchOptionsNameMapCache = createOptionNameMap(optionsForWatch));\n    }\n    function getCommandLineCompilerOptionsMap() {\n      return commandLineCompilerOptionsMapCache || (commandLineCompilerOptionsMapCache = commandLineOptionsToMap(optionDeclarations));\n    }\n    function getCommandLineWatchOptionsMap() {\n      return commandLineWatchOptionsMapCache || (commandLineWatchOptionsMapCache = commandLineOptionsToMap(optionsForWatch));\n    }\n    function getCommandLineTypeAcquisitionMap() {\n      return commandLineTypeAcquisitionMapCache || (commandLineTypeAcquisitionMapCache = commandLineOptionsToMap(typeAcquisitionDeclarations));\n    }\n    function getTsconfigRootOptionsMap() {\n      if (_tsconfigRootOptions === void 0) {\n        _tsconfigRootOptions = {\n          name: void 0,\n          // should never be needed since this is root\n          type: \"object\",\n          elementOptions: commandLineOptionsToMap([\n            {\n              name: \"compilerOptions\",\n              type: \"object\",\n              elementOptions: getCommandLineCompilerOptionsMap(),\n              extraKeyDiagnostics: compilerOptionsDidYouMeanDiagnostics\n            },\n            {\n              name: \"watchOptions\",\n              type: \"object\",\n              elementOptions: getCommandLineWatchOptionsMap(),\n              extraKeyDiagnostics: watchOptionsDidYouMeanDiagnostics\n            },\n            {\n              name: \"typeAcquisition\",\n              type: \"object\",\n              elementOptions: getCommandLineTypeAcquisitionMap(),\n              extraKeyDiagnostics: typeAcquisitionDidYouMeanDiagnostics\n            },\n            extendsOptionDeclaration,\n            {\n              name: \"references\",\n              type: \"list\",\n              element: {\n                name: \"references\",\n                type: \"object\"\n              },\n              category: Diagnostics.Projects\n            },\n            {\n              name: \"files\",\n              type: \"list\",\n              element: {\n                name: \"files\",\n                type: \"string\"\n              },\n              category: Diagnostics.File_Management\n            },\n            {\n              name: \"include\",\n              type: \"list\",\n              element: {\n                name: \"include\",\n                type: \"string\"\n              },\n              category: Diagnostics.File_Management,\n              defaultValueDescription: Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk\n            },\n            {\n              name: \"exclude\",\n              type: \"list\",\n              element: {\n                name: \"exclude\",\n                type: \"string\"\n              },\n              category: Diagnostics.File_Management,\n              defaultValueDescription: Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified\n            },\n            compileOnSaveCommandLineOption\n          ])\n        };\n      }\n      return _tsconfigRootOptions;\n    }\n    function convertConfigFileToObject(sourceFile, errors, reportOptionsErrors, optionsIterator) {\n      var _a22;\n      const rootExpression = (_a22 = sourceFile.statements[0]) == null ? void 0 : _a22.expression;\n      const knownRootOptions = reportOptionsErrors ? getTsconfigRootOptionsMap() : void 0;\n      if (rootExpression && rootExpression.kind !== 207) {\n        errors.push(createDiagnosticForNodeInSourceFile(\n          sourceFile,\n          rootExpression,\n          Diagnostics.The_root_value_of_a_0_file_must_be_an_object,\n          getBaseFileName(sourceFile.fileName) === \"jsconfig.json\" ? \"jsconfig.json\" : \"tsconfig.json\"\n        ));\n        if (isArrayLiteralExpression(rootExpression)) {\n          const firstObject = find(rootExpression.elements, isObjectLiteralExpression);\n          if (firstObject) {\n            return convertToObjectWorker(\n              sourceFile,\n              firstObject,\n              errors,\n              /*returnValue*/\n              true,\n              knownRootOptions,\n              optionsIterator\n            );\n          }\n        }\n        return {};\n      }\n      return convertToObjectWorker(\n        sourceFile,\n        rootExpression,\n        errors,\n        /*returnValue*/\n        true,\n        knownRootOptions,\n        optionsIterator\n      );\n    }\n    function convertToObject(sourceFile, errors) {\n      var _a22;\n      return convertToObjectWorker(\n        sourceFile,\n        (_a22 = sourceFile.statements[0]) == null ? void 0 : _a22.expression,\n        errors,\n        /*returnValue*/\n        true,\n        /*knownRootOptions*/\n        void 0,\n        /*jsonConversionNotifier*/\n        void 0\n      );\n    }\n    function convertToObjectWorker(sourceFile, rootExpression, errors, returnValue, knownRootOptions, jsonConversionNotifier) {\n      if (!rootExpression) {\n        return returnValue ? {} : void 0;\n      }\n      return convertPropertyValueToJson(rootExpression, knownRootOptions);\n      function isRootOptionMap(knownOptions) {\n        return knownRootOptions && knownRootOptions.elementOptions === knownOptions;\n      }\n      function convertObjectLiteralExpressionToJson(node, knownOptions, extraKeyDiagnostics, parentOption) {\n        const result = returnValue ? {} : void 0;\n        for (const element of node.properties) {\n          if (element.kind !== 299) {\n            errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element, Diagnostics.Property_assignment_expected));\n            continue;\n          }\n          if (element.questionToken) {\n            errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.questionToken, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, \"?\"));\n          }\n          if (!isDoubleQuotedString(element.name)) {\n            errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.name, Diagnostics.String_literal_with_double_quotes_expected));\n          }\n          const textOfKey = isComputedNonLiteralName(element.name) ? void 0 : getTextOfPropertyName(element.name);\n          const keyText = textOfKey && unescapeLeadingUnderscores(textOfKey);\n          const option = keyText && knownOptions ? knownOptions.get(keyText) : void 0;\n          if (keyText && extraKeyDiagnostics && !option) {\n            if (knownOptions) {\n              errors.push(createUnknownOptionError(\n                keyText,\n                extraKeyDiagnostics,\n                (message, arg0, arg1) => createDiagnosticForNodeInSourceFile(sourceFile, element.name, message, arg0, arg1)\n              ));\n            } else {\n              errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.name, extraKeyDiagnostics.unknownOptionDiagnostic, keyText));\n            }\n          }\n          const value = convertPropertyValueToJson(element.initializer, option);\n          if (typeof keyText !== \"undefined\") {\n            if (returnValue) {\n              result[keyText] = value;\n            }\n            if (jsonConversionNotifier && // Current callbacks are only on known parent option or if we are setting values in the root\n            (parentOption || isRootOptionMap(knownOptions))) {\n              const isValidOptionValue = isCompilerOptionsValue(option, value);\n              if (parentOption) {\n                if (isValidOptionValue) {\n                  jsonConversionNotifier.onSetValidOptionKeyValueInParent(parentOption, option, value);\n                }\n              } else if (isRootOptionMap(knownOptions)) {\n                if (isValidOptionValue) {\n                  jsonConversionNotifier.onSetValidOptionKeyValueInRoot(keyText, element.name, value, element.initializer);\n                } else if (!option) {\n                  jsonConversionNotifier.onSetUnknownOptionKeyValueInRoot(keyText, element.name, value, element.initializer);\n                }\n              }\n            }\n          }\n        }\n        return result;\n      }\n      function convertArrayLiteralExpressionToJson(elements, elementOption) {\n        if (!returnValue) {\n          elements.forEach((element) => convertPropertyValueToJson(element, elementOption));\n          return void 0;\n        }\n        return filter(elements.map((element) => convertPropertyValueToJson(element, elementOption)), (v) => v !== void 0);\n      }\n      function convertPropertyValueToJson(valueExpression, option) {\n        let invalidReported;\n        switch (valueExpression.kind) {\n          case 110:\n            reportInvalidOptionValue(option && option.type !== \"boolean\" && (option.type !== \"listOrElement\" || option.element.type !== \"boolean\"));\n            return validateValue(\n              /*value*/\n              true\n            );\n          case 95:\n            reportInvalidOptionValue(option && option.type !== \"boolean\" && (option.type !== \"listOrElement\" || option.element.type !== \"boolean\"));\n            return validateValue(\n              /*value*/\n              false\n            );\n          case 104:\n            reportInvalidOptionValue(option && option.name === \"extends\");\n            return validateValue(\n              /*value*/\n              null\n            );\n          case 10:\n            if (!isDoubleQuotedString(valueExpression)) {\n              errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.String_literal_with_double_quotes_expected));\n            }\n            reportInvalidOptionValue(option && isString2(option.type) && option.type !== \"string\" && (option.type !== \"listOrElement\" || isString2(option.element.type) && option.element.type !== \"string\"));\n            const text = valueExpression.text;\n            if (option) {\n              Debug2.assert(option.type !== \"listOrElement\" || option.element.type === \"string\", \"Only string or array of string is handled for now\");\n            }\n            if (option && !isString2(option.type)) {\n              const customOption = option;\n              if (!customOption.type.has(text.toLowerCase())) {\n                errors.push(\n                  createDiagnosticForInvalidCustomType(\n                    customOption,\n                    (message, arg0, arg1) => createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, message, arg0, arg1)\n                  )\n                );\n                invalidReported = true;\n              }\n            }\n            return validateValue(text);\n          case 8:\n            reportInvalidOptionValue(option && option.type !== \"number\" && (option.type !== \"listOrElement\" || option.element.type !== \"number\"));\n            return validateValue(Number(valueExpression.text));\n          case 221:\n            if (valueExpression.operator !== 40 || valueExpression.operand.kind !== 8) {\n              break;\n            }\n            reportInvalidOptionValue(option && option.type !== \"number\" && (option.type !== \"listOrElement\" || option.element.type !== \"number\"));\n            return validateValue(-Number(valueExpression.operand.text));\n          case 207:\n            reportInvalidOptionValue(option && option.type !== \"object\" && (option.type !== \"listOrElement\" || option.element.type !== \"object\"));\n            const objectLiteralExpression = valueExpression;\n            if (option) {\n              const { elementOptions, extraKeyDiagnostics, name: optionName } = option;\n              return validateValue(convertObjectLiteralExpressionToJson(\n                objectLiteralExpression,\n                elementOptions,\n                extraKeyDiagnostics,\n                optionName\n              ));\n            } else {\n              return validateValue(convertObjectLiteralExpressionToJson(\n                objectLiteralExpression,\n                /* knownOptions*/\n                void 0,\n                /*extraKeyDiagnosticMessage */\n                void 0,\n                /*parentOption*/\n                void 0\n              ));\n            }\n          case 206:\n            reportInvalidOptionValue(option && option.type !== \"list\" && option.type !== \"listOrElement\");\n            return validateValue(convertArrayLiteralExpressionToJson(\n              valueExpression.elements,\n              option && option.element\n            ));\n        }\n        if (option) {\n          reportInvalidOptionValue(\n            /*isError*/\n            true\n          );\n        } else {\n          errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal));\n        }\n        return void 0;\n        function validateValue(value) {\n          var _a22;\n          if (!invalidReported) {\n            const diagnostic = (_a22 = option == null ? void 0 : option.extraValidation) == null ? void 0 : _a22.call(option, value);\n            if (diagnostic) {\n              errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, ...diagnostic));\n              return void 0;\n            }\n          }\n          return value;\n        }\n        function reportInvalidOptionValue(isError) {\n          if (isError) {\n            errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Compiler_option_0_requires_a_value_of_type_1, option.name, getCompilerOptionValueTypeString(option)));\n            invalidReported = true;\n          }\n        }\n      }\n      function isDoubleQuotedString(node) {\n        return isStringLiteral(node) && isStringDoubleQuoted(node, sourceFile);\n      }\n    }\n    function getCompilerOptionValueTypeString(option) {\n      return option.type === \"listOrElement\" ? `${getCompilerOptionValueTypeString(option.element)} or Array` : option.type === \"list\" ? \"Array\" : isString2(option.type) ? option.type : \"string\";\n    }\n    function isCompilerOptionsValue(option, value) {\n      if (option) {\n        if (isNullOrUndefined(value))\n          return true;\n        if (option.type === \"list\") {\n          return isArray(value);\n        }\n        if (option.type === \"listOrElement\") {\n          return isArray(value) || isCompilerOptionsValue(option.element, value);\n        }\n        const expectedType = isString2(option.type) ? option.type : \"string\";\n        return typeof value === expectedType;\n      }\n      return false;\n    }\n    function convertToTSConfig(configParseResult, configFileName, host) {\n      var _a22, _b3, _c;\n      const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames);\n      const files = map(\n        filter(\n          configParseResult.fileNames,\n          !((_b3 = (_a22 = configParseResult.options.configFile) == null ? void 0 : _a22.configFileSpecs) == null ? void 0 : _b3.validatedIncludeSpecs) ? returnTrue : matchesSpecs(\n            configFileName,\n            configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs,\n            configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs,\n            host\n          )\n        ),\n        (f) => getRelativePathFromFile(getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName)\n      );\n      const optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });\n      const watchOptionMap = configParseResult.watchOptions && serializeWatchOptions(configParseResult.watchOptions);\n      const config = {\n        compilerOptions: {\n          ...optionMapToObject(optionMap),\n          showConfig: void 0,\n          configFile: void 0,\n          configFilePath: void 0,\n          help: void 0,\n          init: void 0,\n          listFiles: void 0,\n          listEmittedFiles: void 0,\n          project: void 0,\n          build: void 0,\n          version: void 0\n        },\n        watchOptions: watchOptionMap && optionMapToObject(watchOptionMap),\n        references: map(configParseResult.projectReferences, (r) => ({ ...r, path: r.originalPath ? r.originalPath : \"\", originalPath: void 0 })),\n        files: length(files) ? files : void 0,\n        ...((_c = configParseResult.options.configFile) == null ? void 0 : _c.configFileSpecs) ? {\n          include: filterSameAsDefaultInclude(configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs),\n          exclude: configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs\n        } : {},\n        compileOnSave: !!configParseResult.compileOnSave ? true : void 0\n      };\n      return config;\n    }\n    function optionMapToObject(optionMap) {\n      return {\n        ...arrayFrom(optionMap.entries()).reduce((prev, cur) => ({ ...prev, [cur[0]]: cur[1] }), {})\n      };\n    }\n    function filterSameAsDefaultInclude(specs) {\n      if (!length(specs))\n        return void 0;\n      if (length(specs) !== 1)\n        return specs;\n      if (specs[0] === defaultIncludeSpec)\n        return void 0;\n      return specs;\n    }\n    function matchesSpecs(path, includeSpecs, excludeSpecs, host) {\n      if (!includeSpecs)\n        return returnTrue;\n      const patterns = getFileMatcherPatterns(path, excludeSpecs, includeSpecs, host.useCaseSensitiveFileNames, host.getCurrentDirectory());\n      const excludeRe = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, host.useCaseSensitiveFileNames);\n      const includeRe = patterns.includeFilePattern && getRegexFromPattern(patterns.includeFilePattern, host.useCaseSensitiveFileNames);\n      if (includeRe) {\n        if (excludeRe) {\n          return (path2) => !(includeRe.test(path2) && !excludeRe.test(path2));\n        }\n        return (path2) => !includeRe.test(path2);\n      }\n      if (excludeRe) {\n        return (path2) => excludeRe.test(path2);\n      }\n      return returnTrue;\n    }\n    function getCustomTypeMapOfCommandLineOption(optionDefinition) {\n      switch (optionDefinition.type) {\n        case \"string\":\n        case \"number\":\n        case \"boolean\":\n        case \"object\":\n          return void 0;\n        case \"list\":\n        case \"listOrElement\":\n          return getCustomTypeMapOfCommandLineOption(optionDefinition.element);\n        default:\n          return optionDefinition.type;\n      }\n    }\n    function getNameOfCompilerOptionValue(value, customTypeMap) {\n      return forEachEntry(customTypeMap, (mapValue, key) => {\n        if (mapValue === value) {\n          return key;\n        }\n      });\n    }\n    function serializeCompilerOptions(options, pathOptions) {\n      return serializeOptionBaseObject(options, getOptionsNameMap(), pathOptions);\n    }\n    function serializeWatchOptions(options) {\n      return serializeOptionBaseObject(options, getWatchOptionsNameMap());\n    }\n    function serializeOptionBaseObject(options, { optionsNameMap }, pathOptions) {\n      const result = /* @__PURE__ */ new Map();\n      const getCanonicalFileName = pathOptions && createGetCanonicalFileName(pathOptions.useCaseSensitiveFileNames);\n      for (const name in options) {\n        if (hasProperty(options, name)) {\n          if (optionsNameMap.has(name) && (optionsNameMap.get(name).category === Diagnostics.Command_line_Options || optionsNameMap.get(name).category === Diagnostics.Output_Formatting)) {\n            continue;\n          }\n          const value = options[name];\n          const optionDefinition = optionsNameMap.get(name.toLowerCase());\n          if (optionDefinition) {\n            Debug2.assert(optionDefinition.type !== \"listOrElement\");\n            const customTypeMap = getCustomTypeMapOfCommandLineOption(optionDefinition);\n            if (!customTypeMap) {\n              if (pathOptions && optionDefinition.isFilePath) {\n                result.set(name, getRelativePathFromFile(pathOptions.configFilePath, getNormalizedAbsolutePath(value, getDirectoryPath(pathOptions.configFilePath)), getCanonicalFileName));\n              } else {\n                result.set(name, value);\n              }\n            } else {\n              if (optionDefinition.type === \"list\") {\n                result.set(name, value.map((element) => getNameOfCompilerOptionValue(element, customTypeMap)));\n              } else {\n                result.set(name, getNameOfCompilerOptionValue(value, customTypeMap));\n              }\n            }\n          }\n        }\n      }\n      return result;\n    }\n    function getCompilerOptionsDiffValue(options, newLine) {\n      const compilerOptionsMap = getSerializedCompilerOption(options);\n      return getOverwrittenDefaultOptions();\n      function makePadding(paddingLength) {\n        return Array(paddingLength + 1).join(\" \");\n      }\n      function getOverwrittenDefaultOptions() {\n        const result = [];\n        const tab = makePadding(2);\n        commandOptionsWithoutBuild.forEach((cmd) => {\n          if (!compilerOptionsMap.has(cmd.name)) {\n            return;\n          }\n          const newValue = compilerOptionsMap.get(cmd.name);\n          const defaultValue = getDefaultValueForOption(cmd);\n          if (newValue !== defaultValue) {\n            result.push(`${tab}${cmd.name}: ${newValue}`);\n          } else if (hasProperty(defaultInitCompilerOptions, cmd.name)) {\n            result.push(`${tab}${cmd.name}: ${defaultValue}`);\n          }\n        });\n        return result.join(newLine) + newLine;\n      }\n    }\n    function getSerializedCompilerOption(options) {\n      const compilerOptions = extend(options, defaultInitCompilerOptions);\n      return serializeCompilerOptions(compilerOptions);\n    }\n    function generateTSConfig(options, fileNames, newLine) {\n      const compilerOptionsMap = getSerializedCompilerOption(options);\n      return writeConfigurations();\n      function makePadding(paddingLength) {\n        return Array(paddingLength + 1).join(\" \");\n      }\n      function isAllowedOptionForOutput({ category, name, isCommandLineOnly }) {\n        const categoriesToSkip = [Diagnostics.Command_line_Options, Diagnostics.Editor_Support, Diagnostics.Compiler_Diagnostics, Diagnostics.Backwards_Compatibility, Diagnostics.Watch_and_Build_Modes, Diagnostics.Output_Formatting];\n        return !isCommandLineOnly && category !== void 0 && (!categoriesToSkip.includes(category) || compilerOptionsMap.has(name));\n      }\n      function writeConfigurations() {\n        const categorizedOptions = /* @__PURE__ */ new Map();\n        categorizedOptions.set(Diagnostics.Projects, []);\n        categorizedOptions.set(Diagnostics.Language_and_Environment, []);\n        categorizedOptions.set(Diagnostics.Modules, []);\n        categorizedOptions.set(Diagnostics.JavaScript_Support, []);\n        categorizedOptions.set(Diagnostics.Emit, []);\n        categorizedOptions.set(Diagnostics.Interop_Constraints, []);\n        categorizedOptions.set(Diagnostics.Type_Checking, []);\n        categorizedOptions.set(Diagnostics.Completeness, []);\n        for (const option of optionDeclarations) {\n          if (isAllowedOptionForOutput(option)) {\n            let listForCategory = categorizedOptions.get(option.category);\n            if (!listForCategory)\n              categorizedOptions.set(option.category, listForCategory = []);\n            listForCategory.push(option);\n          }\n        }\n        let marginLength = 0;\n        let seenKnownKeys = 0;\n        const entries = [];\n        categorizedOptions.forEach((options2, category) => {\n          if (entries.length !== 0) {\n            entries.push({ value: \"\" });\n          }\n          entries.push({ value: `/* ${getLocaleSpecificMessage(category)} */` });\n          for (const option of options2) {\n            let optionName;\n            if (compilerOptionsMap.has(option.name)) {\n              optionName = `\"${option.name}\": ${JSON.stringify(compilerOptionsMap.get(option.name))}${(seenKnownKeys += 1) === compilerOptionsMap.size ? \"\" : \",\"}`;\n            } else {\n              optionName = `// \"${option.name}\": ${JSON.stringify(getDefaultValueForOption(option))},`;\n            }\n            entries.push({\n              value: optionName,\n              description: `/* ${option.description && getLocaleSpecificMessage(option.description) || option.name} */`\n            });\n            marginLength = Math.max(optionName.length, marginLength);\n          }\n        });\n        const tab = makePadding(2);\n        const result = [];\n        result.push(`{`);\n        result.push(`${tab}\"compilerOptions\": {`);\n        result.push(`${tab}${tab}/* ${getLocaleSpecificMessage(Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`);\n        result.push(\"\");\n        for (const entry of entries) {\n          const { value, description: description2 = \"\" } = entry;\n          result.push(value && `${tab}${tab}${value}${description2 && makePadding(marginLength - value.length + 2) + description2}`);\n        }\n        if (fileNames.length) {\n          result.push(`${tab}},`);\n          result.push(`${tab}\"files\": [`);\n          for (let i = 0; i < fileNames.length; i++) {\n            result.push(`${tab}${tab}${JSON.stringify(fileNames[i])}${i === fileNames.length - 1 ? \"\" : \",\"}`);\n          }\n          result.push(`${tab}]`);\n        } else {\n          result.push(`${tab}}`);\n        }\n        result.push(`}`);\n        return result.join(newLine) + newLine;\n      }\n    }\n    function convertToOptionsWithAbsolutePaths(options, toAbsolutePath) {\n      const result = {};\n      const optionsNameMap = getOptionsNameMap().optionsNameMap;\n      for (const name in options) {\n        if (hasProperty(options, name)) {\n          result[name] = convertToOptionValueWithAbsolutePaths(\n            optionsNameMap.get(name.toLowerCase()),\n            options[name],\n            toAbsolutePath\n          );\n        }\n      }\n      if (result.configFilePath) {\n        result.configFilePath = toAbsolutePath(result.configFilePath);\n      }\n      return result;\n    }\n    function convertToOptionValueWithAbsolutePaths(option, value, toAbsolutePath) {\n      if (option && !isNullOrUndefined(value)) {\n        if (option.type === \"list\") {\n          const values = value;\n          if (option.element.isFilePath && values.length) {\n            return values.map(toAbsolutePath);\n          }\n        } else if (option.isFilePath) {\n          return toAbsolutePath(value);\n        }\n        Debug2.assert(option.type !== \"listOrElement\");\n      }\n      return value;\n    }\n    function parseJsonConfigFileContent(json, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {\n      return parseJsonConfigFileContentWorker(\n        json,\n        /*sourceFile*/\n        void 0,\n        host,\n        basePath,\n        existingOptions,\n        existingWatchOptions,\n        configFileName,\n        resolutionStack,\n        extraFileExtensions,\n        extendedConfigCache\n      );\n    }\n    function parseJsonSourceFileConfigFileContent(sourceFile, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {\n      var _a22, _b3;\n      (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.Parse, \"parseJsonSourceFileConfigFileContent\", { path: sourceFile.fileName });\n      const result = parseJsonConfigFileContentWorker(\n        /*json*/\n        void 0,\n        sourceFile,\n        host,\n        basePath,\n        existingOptions,\n        existingWatchOptions,\n        configFileName,\n        resolutionStack,\n        extraFileExtensions,\n        extendedConfigCache\n      );\n      (_b3 = tracing) == null ? void 0 : _b3.pop();\n      return result;\n    }\n    function setConfigFileInOptions(options, configFile) {\n      if (configFile) {\n        Object.defineProperty(options, \"configFile\", { enumerable: false, writable: false, value: configFile });\n      }\n    }\n    function isNullOrUndefined(x) {\n      return x === void 0 || x === null;\n    }\n    function directoryOfCombinedPath(fileName, basePath) {\n      return getDirectoryPath(getNormalizedAbsolutePath(fileName, basePath));\n    }\n    function parseJsonConfigFileContentWorker(json, sourceFile, host, basePath, existingOptions = {}, existingWatchOptions, configFileName, resolutionStack = [], extraFileExtensions = [], extendedConfigCache) {\n      Debug2.assert(json === void 0 && sourceFile !== void 0 || json !== void 0 && sourceFile === void 0);\n      const errors = [];\n      const parsedConfig = parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache);\n      const { raw } = parsedConfig;\n      const options = extend(existingOptions, parsedConfig.options || {});\n      const watchOptions = existingWatchOptions && parsedConfig.watchOptions ? extend(existingWatchOptions, parsedConfig.watchOptions) : parsedConfig.watchOptions || existingWatchOptions;\n      options.configFilePath = configFileName && normalizeSlashes(configFileName);\n      const configFileSpecs = getConfigFileSpecs();\n      if (sourceFile)\n        sourceFile.configFileSpecs = configFileSpecs;\n      setConfigFileInOptions(options, sourceFile);\n      const basePathForFileNames = normalizePath(configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath);\n      return {\n        options,\n        watchOptions,\n        fileNames: getFileNames(basePathForFileNames),\n        projectReferences: getProjectReferences(basePathForFileNames),\n        typeAcquisition: parsedConfig.typeAcquisition || getDefaultTypeAcquisition(),\n        raw,\n        errors,\n        // Wildcard directories (provided as part of a wildcard path) are stored in a\n        // file map that marks whether it was a regular wildcard match (with a `*` or `?` token),\n        // or a recursive directory. This information is used by filesystem watchers to monitor for\n        // new entries in these paths.\n        wildcardDirectories: getWildcardDirectories(configFileSpecs, basePathForFileNames, host.useCaseSensitiveFileNames),\n        compileOnSave: !!raw.compileOnSave\n      };\n      function getConfigFileSpecs() {\n        const referencesOfRaw = getPropFromRaw(\"references\", (element) => typeof element === \"object\", \"object\");\n        const filesSpecs = toPropValue(getSpecsFromRaw(\"files\"));\n        if (filesSpecs) {\n          const hasZeroOrNoReferences = referencesOfRaw === \"no-prop\" || isArray(referencesOfRaw) && referencesOfRaw.length === 0;\n          const hasExtends = hasProperty(raw, \"extends\");\n          if (filesSpecs.length === 0 && hasZeroOrNoReferences && !hasExtends) {\n            if (sourceFile) {\n              const fileName = configFileName || \"tsconfig.json\";\n              const diagnosticMessage = Diagnostics.The_files_list_in_config_file_0_is_empty;\n              const nodeValue = firstDefined(getTsConfigPropArray(sourceFile, \"files\"), (property) => property.initializer);\n              const error = nodeValue ? createDiagnosticForNodeInSourceFile(sourceFile, nodeValue, diagnosticMessage, fileName) : createCompilerDiagnostic(diagnosticMessage, fileName);\n              errors.push(error);\n            } else {\n              createCompilerDiagnosticOnlyIfJson(Diagnostics.The_files_list_in_config_file_0_is_empty, configFileName || \"tsconfig.json\");\n            }\n          }\n        }\n        let includeSpecs = toPropValue(getSpecsFromRaw(\"include\"));\n        const excludeOfRaw = getSpecsFromRaw(\"exclude\");\n        let isDefaultIncludeSpec = false;\n        let excludeSpecs = toPropValue(excludeOfRaw);\n        if (excludeOfRaw === \"no-prop\" && raw.compilerOptions) {\n          const outDir = raw.compilerOptions.outDir;\n          const declarationDir = raw.compilerOptions.declarationDir;\n          if (outDir || declarationDir) {\n            excludeSpecs = [outDir, declarationDir].filter((d) => !!d);\n          }\n        }\n        if (filesSpecs === void 0 && includeSpecs === void 0) {\n          includeSpecs = [defaultIncludeSpec];\n          isDefaultIncludeSpec = true;\n        }\n        let validatedIncludeSpecs, validatedExcludeSpecs;\n        if (includeSpecs) {\n          validatedIncludeSpecs = validateSpecs(\n            includeSpecs,\n            errors,\n            /*disallowTrailingRecursion*/\n            true,\n            sourceFile,\n            \"include\"\n          );\n        }\n        if (excludeSpecs) {\n          validatedExcludeSpecs = validateSpecs(\n            excludeSpecs,\n            errors,\n            /*disallowTrailingRecursion*/\n            false,\n            sourceFile,\n            \"exclude\"\n          );\n        }\n        return {\n          filesSpecs,\n          includeSpecs,\n          excludeSpecs,\n          validatedFilesSpec: filter(filesSpecs, isString2),\n          validatedIncludeSpecs,\n          validatedExcludeSpecs,\n          pathPatterns: void 0,\n          // Initialized on first use\n          isDefaultIncludeSpec\n        };\n      }\n      function getFileNames(basePath2) {\n        const fileNames = getFileNamesFromConfigSpecs(configFileSpecs, basePath2, options, host, extraFileExtensions);\n        if (shouldReportNoInputFiles(fileNames, canJsonReportNoInputFiles(raw), resolutionStack)) {\n          errors.push(getErrorForNoInputFiles(configFileSpecs, configFileName));\n        }\n        return fileNames;\n      }\n      function getProjectReferences(basePath2) {\n        let projectReferences;\n        const referencesOfRaw = getPropFromRaw(\"references\", (element) => typeof element === \"object\", \"object\");\n        if (isArray(referencesOfRaw)) {\n          for (const ref of referencesOfRaw) {\n            if (typeof ref.path !== \"string\") {\n              createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, \"reference.path\", \"string\");\n            } else {\n              (projectReferences || (projectReferences = [])).push({\n                path: getNormalizedAbsolutePath(ref.path, basePath2),\n                originalPath: ref.path,\n                prepend: ref.prepend,\n                circular: ref.circular\n              });\n            }\n          }\n        }\n        return projectReferences;\n      }\n      function toPropValue(specResult) {\n        return isArray(specResult) ? specResult : void 0;\n      }\n      function getSpecsFromRaw(prop) {\n        return getPropFromRaw(prop, isString2, \"string\");\n      }\n      function getPropFromRaw(prop, validateElement, elementTypeName) {\n        if (hasProperty(raw, prop) && !isNullOrUndefined(raw[prop])) {\n          if (isArray(raw[prop])) {\n            const result = raw[prop];\n            if (!sourceFile && !every(result, validateElement)) {\n              errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, elementTypeName));\n            }\n            return result;\n          } else {\n            createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, \"Array\");\n            return \"not-array\";\n          }\n        }\n        return \"no-prop\";\n      }\n      function createCompilerDiagnosticOnlyIfJson(message, arg0, arg1) {\n        if (!sourceFile) {\n          errors.push(createCompilerDiagnostic(message, arg0, arg1));\n        }\n      }\n    }\n    function isErrorNoInputFiles(error) {\n      return error.code === Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code;\n    }\n    function getErrorForNoInputFiles({ includeSpecs, excludeSpecs }, configFileName) {\n      return createCompilerDiagnostic(\n        Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,\n        configFileName || \"tsconfig.json\",\n        JSON.stringify(includeSpecs || []),\n        JSON.stringify(excludeSpecs || [])\n      );\n    }\n    function shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) {\n      return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0);\n    }\n    function canJsonReportNoInputFiles(raw) {\n      return !hasProperty(raw, \"files\") && !hasProperty(raw, \"references\");\n    }\n    function updateErrorForNoInputFiles(fileNames, configFileName, configFileSpecs, configParseDiagnostics, canJsonReportNoInutFiles) {\n      const existingErrors = configParseDiagnostics.length;\n      if (shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles)) {\n        configParseDiagnostics.push(getErrorForNoInputFiles(configFileSpecs, configFileName));\n      } else {\n        filterMutate(configParseDiagnostics, (error) => !isErrorNoInputFiles(error));\n      }\n      return existingErrors !== configParseDiagnostics.length;\n    }\n    function isSuccessfulParsedTsconfig(value) {\n      return !!value.options;\n    }\n    function parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache) {\n      var _a22;\n      basePath = normalizeSlashes(basePath);\n      const resolvedPath = getNormalizedAbsolutePath(configFileName || \"\", basePath);\n      if (resolutionStack.indexOf(resolvedPath) >= 0) {\n        errors.push(createCompilerDiagnostic(Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0, [...resolutionStack, resolvedPath].join(\" -> \")));\n        return { raw: json || convertToObject(sourceFile, errors) };\n      }\n      const ownConfig = json ? parseOwnConfigOfJson(json, host, basePath, configFileName, errors) : parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors);\n      if ((_a22 = ownConfig.options) == null ? void 0 : _a22.paths) {\n        ownConfig.options.pathsBasePath = basePath;\n      }\n      if (ownConfig.extendedConfigPath) {\n        resolutionStack = resolutionStack.concat([resolvedPath]);\n        const result = { options: {} };\n        if (isString2(ownConfig.extendedConfigPath)) {\n          applyExtendedConfig(result, ownConfig.extendedConfigPath);\n        } else {\n          ownConfig.extendedConfigPath.forEach((extendedConfigPath) => applyExtendedConfig(result, extendedConfigPath));\n        }\n        if (!ownConfig.raw.include && result.include)\n          ownConfig.raw.include = result.include;\n        if (!ownConfig.raw.exclude && result.exclude)\n          ownConfig.raw.exclude = result.exclude;\n        if (!ownConfig.raw.files && result.files)\n          ownConfig.raw.files = result.files;\n        if (ownConfig.raw.compileOnSave === void 0 && result.compileOnSave)\n          ownConfig.raw.compileOnSave = result.compileOnSave;\n        if (sourceFile && result.extendedSourceFiles)\n          sourceFile.extendedSourceFiles = arrayFrom(result.extendedSourceFiles.keys());\n        ownConfig.options = assign(result.options, ownConfig.options);\n        ownConfig.watchOptions = ownConfig.watchOptions && result.watchOptions ? assign(result.watchOptions, ownConfig.watchOptions) : ownConfig.watchOptions || result.watchOptions;\n      }\n      return ownConfig;\n      function applyExtendedConfig(result, extendedConfigPath) {\n        const extendedConfig = getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache, result);\n        if (extendedConfig && isSuccessfulParsedTsconfig(extendedConfig)) {\n          const extendsRaw = extendedConfig.raw;\n          let relativeDifference;\n          const setPropertyInResultIfNotUndefined = (propertyName) => {\n            if (extendsRaw[propertyName]) {\n              result[propertyName] = map(extendsRaw[propertyName], (path) => isRootedDiskPath(path) ? path : combinePaths(\n                relativeDifference || (relativeDifference = convertToRelativePath(getDirectoryPath(extendedConfigPath), basePath, createGetCanonicalFileName(host.useCaseSensitiveFileNames))),\n                path\n              ));\n            }\n          };\n          setPropertyInResultIfNotUndefined(\"include\");\n          setPropertyInResultIfNotUndefined(\"exclude\");\n          setPropertyInResultIfNotUndefined(\"files\");\n          if (extendsRaw.compileOnSave !== void 0) {\n            result.compileOnSave = extendsRaw.compileOnSave;\n          }\n          assign(result.options, extendedConfig.options);\n          result.watchOptions = result.watchOptions && extendedConfig.watchOptions ? assign({}, result.watchOptions, extendedConfig.watchOptions) : result.watchOptions || extendedConfig.watchOptions;\n        }\n      }\n    }\n    function parseOwnConfigOfJson(json, host, basePath, configFileName, errors) {\n      if (hasProperty(json, \"excludes\")) {\n        errors.push(createCompilerDiagnostic(Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));\n      }\n      const options = convertCompilerOptionsFromJsonWorker(json.compilerOptions, basePath, errors, configFileName);\n      const typeAcquisition = convertTypeAcquisitionFromJsonWorker(json.typeAcquisition, basePath, errors, configFileName);\n      const watchOptions = convertWatchOptionsFromJsonWorker(json.watchOptions, basePath, errors);\n      json.compileOnSave = convertCompileOnSaveOptionFromJson(json, basePath, errors);\n      let extendedConfigPath;\n      if (json.extends || json.extends === \"\") {\n        if (!isCompilerOptionsValue(extendsOptionDeclaration, json.extends)) {\n          errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, \"extends\", getCompilerOptionValueTypeString(extendsOptionDeclaration)));\n        } else {\n          const newBase = configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath;\n          if (isString2(json.extends)) {\n            extendedConfigPath = getExtendsConfigPath(json.extends, host, newBase, errors, createCompilerDiagnostic);\n          } else {\n            extendedConfigPath = [];\n            for (const fileName of json.extends) {\n              if (isString2(fileName)) {\n                extendedConfigPath = append(extendedConfigPath, getExtendsConfigPath(fileName, host, newBase, errors, createCompilerDiagnostic));\n              } else {\n                errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, \"extends\", getCompilerOptionValueTypeString(extendsOptionDeclaration.element)));\n              }\n            }\n          }\n        }\n      }\n      return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath };\n    }\n    function parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors) {\n      const options = getDefaultCompilerOptions(configFileName);\n      let typeAcquisition;\n      let watchOptions;\n      let extendedConfigPath;\n      let rootCompilerOptions;\n      const optionsIterator = {\n        onSetValidOptionKeyValueInParent(parentOption, option, value) {\n          let currentOption;\n          switch (parentOption) {\n            case \"compilerOptions\":\n              currentOption = options;\n              break;\n            case \"watchOptions\":\n              currentOption = watchOptions || (watchOptions = {});\n              break;\n            case \"typeAcquisition\":\n              currentOption = typeAcquisition || (typeAcquisition = getDefaultTypeAcquisition(configFileName));\n              break;\n            default:\n              Debug2.fail(\"Unknown option\");\n          }\n          currentOption[option.name] = normalizeOptionValue(option, basePath, value);\n        },\n        onSetValidOptionKeyValueInRoot(key, _keyNode, value, valueNode) {\n          switch (key) {\n            case \"extends\":\n              const newBase = configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath;\n              if (isString2(value)) {\n                extendedConfigPath = getExtendsConfigPath(\n                  value,\n                  host,\n                  newBase,\n                  errors,\n                  (message, arg0) => createDiagnosticForNodeInSourceFile(sourceFile, valueNode, message, arg0)\n                );\n              } else {\n                extendedConfigPath = [];\n                for (let index = 0; index < value.length; index++) {\n                  const fileName = value[index];\n                  if (isString2(fileName)) {\n                    extendedConfigPath = append(extendedConfigPath, getExtendsConfigPath(\n                      fileName,\n                      host,\n                      newBase,\n                      errors,\n                      (message, arg0) => createDiagnosticForNodeInSourceFile(sourceFile, valueNode.elements[index], message, arg0)\n                    ));\n                  }\n                }\n              }\n              return;\n          }\n        },\n        onSetUnknownOptionKeyValueInRoot(key, keyNode, _value, _valueNode) {\n          if (key === \"excludes\") {\n            errors.push(createDiagnosticForNodeInSourceFile(sourceFile, keyNode, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));\n          }\n          if (find(commandOptionsWithoutBuild, (opt) => opt.name === key)) {\n            rootCompilerOptions = append(rootCompilerOptions, keyNode);\n          }\n        }\n      };\n      const json = convertConfigFileToObject(\n        sourceFile,\n        errors,\n        /*reportOptionsErrors*/\n        true,\n        optionsIterator\n      );\n      if (!typeAcquisition) {\n        typeAcquisition = getDefaultTypeAcquisition(configFileName);\n      }\n      if (rootCompilerOptions && json && json.compilerOptions === void 0) {\n        errors.push(createDiagnosticForNodeInSourceFile(sourceFile, rootCompilerOptions[0], Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file, getTextOfPropertyName(rootCompilerOptions[0])));\n      }\n      return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath };\n    }\n    function getExtendsConfigPath(extendedConfig, host, basePath, errors, createDiagnostic) {\n      extendedConfig = normalizeSlashes(extendedConfig);\n      if (isRootedDiskPath(extendedConfig) || startsWith(extendedConfig, \"./\") || startsWith(extendedConfig, \"../\")) {\n        let extendedConfigPath = getNormalizedAbsolutePath(extendedConfig, basePath);\n        if (!host.fileExists(extendedConfigPath) && !endsWith(\n          extendedConfigPath,\n          \".json\"\n          /* Json */\n        )) {\n          extendedConfigPath = `${extendedConfigPath}.json`;\n          if (!host.fileExists(extendedConfigPath)) {\n            errors.push(createDiagnostic(Diagnostics.File_0_not_found, extendedConfig));\n            return void 0;\n          }\n        }\n        return extendedConfigPath;\n      }\n      const resolved = nodeNextJsonConfigResolver(extendedConfig, combinePaths(basePath, \"tsconfig.json\"), host);\n      if (resolved.resolvedModule) {\n        return resolved.resolvedModule.resolvedFileName;\n      }\n      if (extendedConfig === \"\") {\n        errors.push(createDiagnostic(Diagnostics.Compiler_option_0_cannot_be_given_an_empty_string, \"extends\"));\n      } else {\n        errors.push(createDiagnostic(Diagnostics.File_0_not_found, extendedConfig));\n      }\n      return void 0;\n    }\n    function getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache, result) {\n      var _a22;\n      const path = host.useCaseSensitiveFileNames ? extendedConfigPath : toFileNameLowerCase(extendedConfigPath);\n      let value;\n      let extendedResult;\n      let extendedConfig;\n      if (extendedConfigCache && (value = extendedConfigCache.get(path))) {\n        ({ extendedResult, extendedConfig } = value);\n      } else {\n        extendedResult = readJsonConfigFile(extendedConfigPath, (path2) => host.readFile(path2));\n        if (!extendedResult.parseDiagnostics.length) {\n          extendedConfig = parseConfig(\n            /*json*/\n            void 0,\n            extendedResult,\n            host,\n            getDirectoryPath(extendedConfigPath),\n            getBaseFileName(extendedConfigPath),\n            resolutionStack,\n            errors,\n            extendedConfigCache\n          );\n        }\n        if (extendedConfigCache) {\n          extendedConfigCache.set(path, { extendedResult, extendedConfig });\n        }\n      }\n      if (sourceFile) {\n        ((_a22 = result.extendedSourceFiles) != null ? _a22 : result.extendedSourceFiles = /* @__PURE__ */ new Set()).add(extendedResult.fileName);\n        if (extendedResult.extendedSourceFiles) {\n          for (const extenedSourceFile of extendedResult.extendedSourceFiles) {\n            result.extendedSourceFiles.add(extenedSourceFile);\n          }\n        }\n      }\n      if (extendedResult.parseDiagnostics.length) {\n        errors.push(...extendedResult.parseDiagnostics);\n        return void 0;\n      }\n      return extendedConfig;\n    }\n    function convertCompileOnSaveOptionFromJson(jsonOption, basePath, errors) {\n      if (!hasProperty(jsonOption, compileOnSaveCommandLineOption.name)) {\n        return false;\n      }\n      const result = convertJsonOption(compileOnSaveCommandLineOption, jsonOption.compileOnSave, basePath, errors);\n      return typeof result === \"boolean\" && result;\n    }\n    function convertCompilerOptionsFromJson(jsonOptions, basePath, configFileName) {\n      const errors = [];\n      const options = convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName);\n      return { options, errors };\n    }\n    function convertTypeAcquisitionFromJson(jsonOptions, basePath, configFileName) {\n      const errors = [];\n      const options = convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName);\n      return { options, errors };\n    }\n    function getDefaultCompilerOptions(configFileName) {\n      const options = configFileName && getBaseFileName(configFileName) === \"jsconfig.json\" ? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true } : {};\n      return options;\n    }\n    function convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName) {\n      const options = getDefaultCompilerOptions(configFileName);\n      convertOptionsFromJson(getCommandLineCompilerOptionsMap(), jsonOptions, basePath, options, compilerOptionsDidYouMeanDiagnostics, errors);\n      if (configFileName) {\n        options.configFilePath = normalizeSlashes(configFileName);\n      }\n      return options;\n    }\n    function getDefaultTypeAcquisition(configFileName) {\n      return { enable: !!configFileName && getBaseFileName(configFileName) === \"jsconfig.json\", include: [], exclude: [] };\n    }\n    function convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName) {\n      const options = getDefaultTypeAcquisition(configFileName);\n      convertOptionsFromJson(getCommandLineTypeAcquisitionMap(), jsonOptions, basePath, options, typeAcquisitionDidYouMeanDiagnostics, errors);\n      return options;\n    }\n    function convertWatchOptionsFromJsonWorker(jsonOptions, basePath, errors) {\n      return convertOptionsFromJson(\n        getCommandLineWatchOptionsMap(),\n        jsonOptions,\n        basePath,\n        /*defaultOptions*/\n        void 0,\n        watchOptionsDidYouMeanDiagnostics,\n        errors\n      );\n    }\n    function convertOptionsFromJson(optionsNameMap, jsonOptions, basePath, defaultOptions, diagnostics, errors) {\n      if (!jsonOptions) {\n        return;\n      }\n      for (const id in jsonOptions) {\n        const opt = optionsNameMap.get(id);\n        if (opt) {\n          (defaultOptions || (defaultOptions = {}))[opt.name] = convertJsonOption(opt, jsonOptions[id], basePath, errors);\n        } else {\n          errors.push(createUnknownOptionError(id, diagnostics, createCompilerDiagnostic));\n        }\n      }\n      return defaultOptions;\n    }\n    function convertJsonOption(opt, value, basePath, errors) {\n      if (isCompilerOptionsValue(opt, value)) {\n        const optType = opt.type;\n        if (optType === \"list\" && isArray(value)) {\n          return convertJsonOptionOfListType(opt, value, basePath, errors);\n        } else if (optType === \"listOrElement\") {\n          return isArray(value) ? convertJsonOptionOfListType(opt, value, basePath, errors) : convertJsonOption(opt.element, value, basePath, errors);\n        } else if (!isString2(opt.type)) {\n          return convertJsonOptionOfCustomType(opt, value, errors);\n        }\n        const validatedValue = validateJsonOptionValue(opt, value, errors);\n        return isNullOrUndefined(validatedValue) ? validatedValue : normalizeNonListOptionValue(opt, basePath, validatedValue);\n      } else {\n        errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, opt.name, getCompilerOptionValueTypeString(opt)));\n      }\n    }\n    function normalizeOptionValue(option, basePath, value) {\n      if (isNullOrUndefined(value))\n        return void 0;\n      if (option.type === \"listOrElement\" && !isArray(value))\n        return normalizeOptionValue(option.element, basePath, value);\n      else if (option.type === \"list\" || option.type === \"listOrElement\") {\n        const listOption = option;\n        if (listOption.element.isFilePath || !isString2(listOption.element.type)) {\n          return filter(map(value, (v) => normalizeOptionValue(listOption.element, basePath, v)), (v) => listOption.listPreserveFalsyValues ? true : !!v);\n        }\n        return value;\n      } else if (!isString2(option.type)) {\n        return option.type.get(isString2(value) ? value.toLowerCase() : value);\n      }\n      return normalizeNonListOptionValue(option, basePath, value);\n    }\n    function normalizeNonListOptionValue(option, basePath, value) {\n      if (option.isFilePath) {\n        value = getNormalizedAbsolutePath(value, basePath);\n        if (value === \"\") {\n          value = \".\";\n        }\n      }\n      return value;\n    }\n    function validateJsonOptionValue(opt, value, errors) {\n      var _a22;\n      if (isNullOrUndefined(value))\n        return void 0;\n      const d = (_a22 = opt.extraValidation) == null ? void 0 : _a22.call(opt, value);\n      if (!d)\n        return value;\n      errors.push(createCompilerDiagnostic(...d));\n      return void 0;\n    }\n    function convertJsonOptionOfCustomType(opt, value, errors) {\n      if (isNullOrUndefined(value))\n        return void 0;\n      const key = value.toLowerCase();\n      const val = opt.type.get(key);\n      if (val !== void 0) {\n        return validateJsonOptionValue(opt, val, errors);\n      } else {\n        errors.push(createCompilerDiagnosticForInvalidCustomType(opt));\n      }\n    }\n    function convertJsonOptionOfListType(option, values, basePath, errors) {\n      return filter(map(values, (v) => convertJsonOption(option.element, v, basePath, errors)), (v) => option.listPreserveFalsyValues ? true : !!v);\n    }\n    function getFileNamesFromConfigSpecs(configFileSpecs, basePath, options, host, extraFileExtensions = emptyArray) {\n      basePath = normalizePath(basePath);\n      const keyMapper = createGetCanonicalFileName(host.useCaseSensitiveFileNames);\n      const literalFileMap = /* @__PURE__ */ new Map();\n      const wildcardFileMap = /* @__PURE__ */ new Map();\n      const wildCardJsonFileMap = /* @__PURE__ */ new Map();\n      const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = configFileSpecs;\n      const supportedExtensions = getSupportedExtensions(options, extraFileExtensions);\n      const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions);\n      if (validatedFilesSpec) {\n        for (const fileName of validatedFilesSpec) {\n          const file = getNormalizedAbsolutePath(fileName, basePath);\n          literalFileMap.set(keyMapper(file), file);\n        }\n      }\n      let jsonOnlyIncludeRegexes;\n      if (validatedIncludeSpecs && validatedIncludeSpecs.length > 0) {\n        for (const file of host.readDirectory(\n          basePath,\n          flatten(supportedExtensionsWithJsonIfResolveJsonModule),\n          validatedExcludeSpecs,\n          validatedIncludeSpecs,\n          /*depth*/\n          void 0\n        )) {\n          if (fileExtensionIs(\n            file,\n            \".json\"\n            /* Json */\n          )) {\n            if (!jsonOnlyIncludeRegexes) {\n              const includes = validatedIncludeSpecs.filter((s) => endsWith(\n                s,\n                \".json\"\n                /* Json */\n              ));\n              const includeFilePatterns = map(getRegularExpressionsForWildcards(includes, basePath, \"files\"), (pattern) => `^${pattern}$`);\n              jsonOnlyIncludeRegexes = includeFilePatterns ? includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, host.useCaseSensitiveFileNames)) : emptyArray;\n            }\n            const includeIndex = findIndex(jsonOnlyIncludeRegexes, (re) => re.test(file));\n            if (includeIndex !== -1) {\n              const key2 = keyMapper(file);\n              if (!literalFileMap.has(key2) && !wildCardJsonFileMap.has(key2)) {\n                wildCardJsonFileMap.set(key2, file);\n              }\n            }\n            continue;\n          }\n          if (hasFileWithHigherPriorityExtension(file, literalFileMap, wildcardFileMap, supportedExtensions, keyMapper)) {\n            continue;\n          }\n          removeWildcardFilesWithLowerPriorityExtension(file, wildcardFileMap, supportedExtensions, keyMapper);\n          const key = keyMapper(file);\n          if (!literalFileMap.has(key) && !wildcardFileMap.has(key)) {\n            wildcardFileMap.set(key, file);\n          }\n        }\n      }\n      const literalFiles = arrayFrom(literalFileMap.values());\n      const wildcardFiles = arrayFrom(wildcardFileMap.values());\n      return literalFiles.concat(wildcardFiles, arrayFrom(wildCardJsonFileMap.values()));\n    }\n    function isExcludedFile(pathToCheck, spec, basePath, useCaseSensitiveFileNames, currentDirectory) {\n      const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = spec;\n      if (!length(validatedIncludeSpecs) || !length(validatedExcludeSpecs))\n        return false;\n      basePath = normalizePath(basePath);\n      const keyMapper = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      if (validatedFilesSpec) {\n        for (const fileName of validatedFilesSpec) {\n          if (keyMapper(getNormalizedAbsolutePath(fileName, basePath)) === pathToCheck)\n            return false;\n        }\n      }\n      return matchesExcludeWorker(pathToCheck, validatedExcludeSpecs, useCaseSensitiveFileNames, currentDirectory, basePath);\n    }\n    function invalidDotDotAfterRecursiveWildcard(s) {\n      const wildcardIndex = startsWith(s, \"**/\") ? 0 : s.indexOf(\"/**/\");\n      if (wildcardIndex === -1) {\n        return false;\n      }\n      const lastDotIndex = endsWith(s, \"/..\") ? s.length : s.lastIndexOf(\"/../\");\n      return lastDotIndex > wildcardIndex;\n    }\n    function matchesExclude(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory) {\n      return matchesExcludeWorker(\n        pathToCheck,\n        filter(excludeSpecs, (spec) => !invalidDotDotAfterRecursiveWildcard(spec)),\n        useCaseSensitiveFileNames,\n        currentDirectory\n      );\n    }\n    function matchesExcludeWorker(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory, basePath) {\n      const excludePattern = getRegularExpressionForWildcard(excludeSpecs, combinePaths(normalizePath(currentDirectory), basePath), \"exclude\");\n      const excludeRegex = excludePattern && getRegexFromPattern(excludePattern, useCaseSensitiveFileNames);\n      if (!excludeRegex)\n        return false;\n      if (excludeRegex.test(pathToCheck))\n        return true;\n      return !hasExtension(pathToCheck) && excludeRegex.test(ensureTrailingDirectorySeparator(pathToCheck));\n    }\n    function validateSpecs(specs, errors, disallowTrailingRecursion, jsonSourceFile, specKey) {\n      return specs.filter((spec) => {\n        if (!isString2(spec))\n          return false;\n        const diag2 = specToDiagnostic(spec, disallowTrailingRecursion);\n        if (diag2 !== void 0) {\n          errors.push(createDiagnostic(...diag2));\n        }\n        return diag2 === void 0;\n      });\n      function createDiagnostic(message, spec) {\n        const element = getTsConfigPropArrayElementValue(jsonSourceFile, specKey, spec);\n        return element ? createDiagnosticForNodeInSourceFile(jsonSourceFile, element, message, spec) : createCompilerDiagnostic(message, spec);\n      }\n    }\n    function specToDiagnostic(spec, disallowTrailingRecursion) {\n      Debug2.assert(typeof spec === \"string\");\n      if (disallowTrailingRecursion && invalidTrailingRecursionPattern.test(spec)) {\n        return [Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec];\n      } else if (invalidDotDotAfterRecursiveWildcard(spec)) {\n        return [Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec];\n      }\n    }\n    function getWildcardDirectories({ validatedIncludeSpecs: include, validatedExcludeSpecs: exclude }, path, useCaseSensitiveFileNames) {\n      const rawExcludeRegex = getRegularExpressionForWildcard(exclude, path, \"exclude\");\n      const excludeRegex = rawExcludeRegex && new RegExp(rawExcludeRegex, useCaseSensitiveFileNames ? \"\" : \"i\");\n      const wildcardDirectories = {};\n      if (include !== void 0) {\n        const recursiveKeys = [];\n        for (const file of include) {\n          const spec = normalizePath(combinePaths(path, file));\n          if (excludeRegex && excludeRegex.test(spec)) {\n            continue;\n          }\n          const match = getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames);\n          if (match) {\n            const { key, flags } = match;\n            const existingFlags = wildcardDirectories[key];\n            if (existingFlags === void 0 || existingFlags < flags) {\n              wildcardDirectories[key] = flags;\n              if (flags === 1) {\n                recursiveKeys.push(key);\n              }\n            }\n          }\n        }\n        for (const key in wildcardDirectories) {\n          if (hasProperty(wildcardDirectories, key)) {\n            for (const recursiveKey of recursiveKeys) {\n              if (key !== recursiveKey && containsPath(recursiveKey, key, path, !useCaseSensitiveFileNames)) {\n                delete wildcardDirectories[key];\n              }\n            }\n          }\n        }\n      }\n      return wildcardDirectories;\n    }\n    function getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames) {\n      const match = wildcardDirectoryPattern.exec(spec);\n      if (match) {\n        const questionWildcardIndex = spec.indexOf(\"?\");\n        const starWildcardIndex = spec.indexOf(\"*\");\n        const lastDirectorySeperatorIndex = spec.lastIndexOf(directorySeparator);\n        return {\n          key: useCaseSensitiveFileNames ? match[0] : toFileNameLowerCase(match[0]),\n          flags: questionWildcardIndex !== -1 && questionWildcardIndex < lastDirectorySeperatorIndex || starWildcardIndex !== -1 && starWildcardIndex < lastDirectorySeperatorIndex ? 1 : 0\n          /* None */\n        };\n      }\n      if (isImplicitGlob(spec.substring(spec.lastIndexOf(directorySeparator) + 1))) {\n        return {\n          key: removeTrailingDirectorySeparator(useCaseSensitiveFileNames ? spec : toFileNameLowerCase(spec)),\n          flags: 1\n          /* Recursive */\n        };\n      }\n      return void 0;\n    }\n    function hasFileWithHigherPriorityExtension(file, literalFiles, wildcardFiles, extensions, keyMapper) {\n      const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0);\n      if (!extensionGroup) {\n        return false;\n      }\n      for (const ext of extensionGroup) {\n        if (fileExtensionIs(file, ext)) {\n          return false;\n        }\n        const higherPriorityPath = keyMapper(changeExtension(file, ext));\n        if (literalFiles.has(higherPriorityPath) || wildcardFiles.has(higherPriorityPath)) {\n          if (ext === \".d.ts\" && (fileExtensionIs(\n            file,\n            \".js\"\n            /* Js */\n          ) || fileExtensionIs(\n            file,\n            \".jsx\"\n            /* Jsx */\n          ))) {\n            continue;\n          }\n          return true;\n        }\n      }\n      return false;\n    }\n    function removeWildcardFilesWithLowerPriorityExtension(file, wildcardFiles, extensions, keyMapper) {\n      const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0);\n      if (!extensionGroup) {\n        return;\n      }\n      for (let i = extensionGroup.length - 1; i >= 0; i--) {\n        const ext = extensionGroup[i];\n        if (fileExtensionIs(file, ext)) {\n          return;\n        }\n        const lowerPriorityPath = keyMapper(changeExtension(file, ext));\n        wildcardFiles.delete(lowerPriorityPath);\n      }\n    }\n    function convertCompilerOptionsForTelemetry(opts) {\n      const out = {};\n      for (const key in opts) {\n        if (hasProperty(opts, key)) {\n          const type = getOptionFromName(key);\n          if (type !== void 0) {\n            out[key] = getOptionValueWithEmptyStrings(opts[key], type);\n          }\n        }\n      }\n      return out;\n    }\n    function getOptionValueWithEmptyStrings(value, option) {\n      switch (option.type) {\n        case \"object\":\n          return \"\";\n        case \"string\":\n          return \"\";\n        case \"number\":\n          return typeof value === \"number\" ? value : \"\";\n        case \"boolean\":\n          return typeof value === \"boolean\" ? value : \"\";\n        case \"listOrElement\":\n          if (!isArray(value))\n            return getOptionValueWithEmptyStrings(value, option.element);\n        case \"list\":\n          const elementType = option.element;\n          return isArray(value) ? value.map((v) => getOptionValueWithEmptyStrings(v, elementType)) : \"\";\n        default:\n          return forEachEntry(option.type, (optionEnumValue, optionStringValue) => {\n            if (optionEnumValue === value) {\n              return optionStringValue;\n            }\n          });\n      }\n    }\n    function getDefaultValueForOption(option) {\n      switch (option.type) {\n        case \"number\":\n          return 1;\n        case \"boolean\":\n          return true;\n        case \"string\":\n          const defaultValue = option.defaultValueDescription;\n          return option.isFilePath ? `./${defaultValue && typeof defaultValue === \"string\" ? defaultValue : \"\"}` : \"\";\n        case \"list\":\n          return [];\n        case \"listOrElement\":\n          return getDefaultValueForOption(option.element);\n        case \"object\":\n          return {};\n        default:\n          const value = firstOrUndefinedIterator(option.type.keys());\n          if (value !== void 0)\n            return value;\n          return Debug2.fail(\"Expected 'option.type' to have entries.\");\n      }\n    }\n    var compileOnSaveCommandLineOption, jsxOptionMap, inverseJsxOptionMap, libEntries, libs, libMap, optionsForWatch, commonOptionsWithBuild, targetOptionDeclaration, moduleOptionDeclaration, commandOptionsWithoutBuild, optionDeclarations, semanticDiagnosticsOptionDeclarations, affectsEmitOptionDeclarations, affectsDeclarationPathOptionDeclarations, moduleResolutionOptionDeclarations, sourceFileAffectingCompilerOptions, optionsAffectingProgramStructure, transpileOptionValueCompilerOptions, optionsForBuild, buildOpts, typeAcquisitionDeclarations, optionsNameMapCache, compilerOptionsAlternateMode, defaultInitCompilerOptions, compilerOptionsDidYouMeanDiagnostics, buildOptionsNameMapCache, buildOptionsAlternateMode, buildOptionsDidYouMeanDiagnostics, typeAcquisitionDidYouMeanDiagnostics, watchOptionsNameMapCache, watchOptionsDidYouMeanDiagnostics, commandLineCompilerOptionsMapCache, commandLineWatchOptionsMapCache, commandLineTypeAcquisitionMapCache, extendsOptionDeclaration, _tsconfigRootOptions, defaultIncludeSpec, invalidTrailingRecursionPattern, wildcardDirectoryPattern;\n    var init_commandLineParser = __esm({\n      \"src/compiler/commandLineParser.ts\"() {\n        \"use strict\";\n        init_ts2();\n        compileOnSaveCommandLineOption = {\n          name: \"compileOnSave\",\n          type: \"boolean\",\n          defaultValueDescription: false\n        };\n        jsxOptionMap = new Map(Object.entries({\n          \"preserve\": 1,\n          \"react-native\": 3,\n          \"react\": 2,\n          \"react-jsx\": 4,\n          \"react-jsxdev\": 5\n          /* ReactJSXDev */\n        }));\n        inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ([key, value]) => [\"\" + value, key]));\n        libEntries = [\n          // JavaScript only\n          [\"es5\", \"lib.es5.d.ts\"],\n          [\"es6\", \"lib.es2015.d.ts\"],\n          [\"es2015\", \"lib.es2015.d.ts\"],\n          [\"es7\", \"lib.es2016.d.ts\"],\n          [\"es2016\", \"lib.es2016.d.ts\"],\n          [\"es2017\", \"lib.es2017.d.ts\"],\n          [\"es2018\", \"lib.es2018.d.ts\"],\n          [\"es2019\", \"lib.es2019.d.ts\"],\n          [\"es2020\", \"lib.es2020.d.ts\"],\n          [\"es2021\", \"lib.es2021.d.ts\"],\n          [\"es2022\", \"lib.es2022.d.ts\"],\n          [\"es2023\", \"lib.es2023.d.ts\"],\n          [\"esnext\", \"lib.esnext.d.ts\"],\n          // Host only\n          [\"dom\", \"lib.dom.d.ts\"],\n          [\"dom.iterable\", \"lib.dom.iterable.d.ts\"],\n          [\"webworker\", \"lib.webworker.d.ts\"],\n          [\"webworker.importscripts\", \"lib.webworker.importscripts.d.ts\"],\n          [\"webworker.iterable\", \"lib.webworker.iterable.d.ts\"],\n          [\"scripthost\", \"lib.scripthost.d.ts\"],\n          // ES2015 Or ESNext By-feature options\n          [\"es2015.core\", \"lib.es2015.core.d.ts\"],\n          [\"es2015.collection\", \"lib.es2015.collection.d.ts\"],\n          [\"es2015.generator\", \"lib.es2015.generator.d.ts\"],\n          [\"es2015.iterable\", \"lib.es2015.iterable.d.ts\"],\n          [\"es2015.promise\", \"lib.es2015.promise.d.ts\"],\n          [\"es2015.proxy\", \"lib.es2015.proxy.d.ts\"],\n          [\"es2015.reflect\", \"lib.es2015.reflect.d.ts\"],\n          [\"es2015.symbol\", \"lib.es2015.symbol.d.ts\"],\n          [\"es2015.symbol.wellknown\", \"lib.es2015.symbol.wellknown.d.ts\"],\n          [\"es2016.array.include\", \"lib.es2016.array.include.d.ts\"],\n          [\"es2017.object\", \"lib.es2017.object.d.ts\"],\n          [\"es2017.sharedmemory\", \"lib.es2017.sharedmemory.d.ts\"],\n          [\"es2017.string\", \"lib.es2017.string.d.ts\"],\n          [\"es2017.intl\", \"lib.es2017.intl.d.ts\"],\n          [\"es2017.typedarrays\", \"lib.es2017.typedarrays.d.ts\"],\n          [\"es2018.asyncgenerator\", \"lib.es2018.asyncgenerator.d.ts\"],\n          [\"es2018.asynciterable\", \"lib.es2018.asynciterable.d.ts\"],\n          [\"es2018.intl\", \"lib.es2018.intl.d.ts\"],\n          [\"es2018.promise\", \"lib.es2018.promise.d.ts\"],\n          [\"es2018.regexp\", \"lib.es2018.regexp.d.ts\"],\n          [\"es2019.array\", \"lib.es2019.array.d.ts\"],\n          [\"es2019.object\", \"lib.es2019.object.d.ts\"],\n          [\"es2019.string\", \"lib.es2019.string.d.ts\"],\n          [\"es2019.symbol\", \"lib.es2019.symbol.d.ts\"],\n          [\"es2019.intl\", \"lib.es2019.intl.d.ts\"],\n          [\"es2020.bigint\", \"lib.es2020.bigint.d.ts\"],\n          [\"es2020.date\", \"lib.es2020.date.d.ts\"],\n          [\"es2020.promise\", \"lib.es2020.promise.d.ts\"],\n          [\"es2020.sharedmemory\", \"lib.es2020.sharedmemory.d.ts\"],\n          [\"es2020.string\", \"lib.es2020.string.d.ts\"],\n          [\"es2020.symbol.wellknown\", \"lib.es2020.symbol.wellknown.d.ts\"],\n          [\"es2020.intl\", \"lib.es2020.intl.d.ts\"],\n          [\"es2020.number\", \"lib.es2020.number.d.ts\"],\n          [\"es2021.promise\", \"lib.es2021.promise.d.ts\"],\n          [\"es2021.string\", \"lib.es2021.string.d.ts\"],\n          [\"es2021.weakref\", \"lib.es2021.weakref.d.ts\"],\n          [\"es2021.intl\", \"lib.es2021.intl.d.ts\"],\n          [\"es2022.array\", \"lib.es2022.array.d.ts\"],\n          [\"es2022.error\", \"lib.es2022.error.d.ts\"],\n          [\"es2022.intl\", \"lib.es2022.intl.d.ts\"],\n          [\"es2022.object\", \"lib.es2022.object.d.ts\"],\n          [\"es2022.sharedmemory\", \"lib.es2022.sharedmemory.d.ts\"],\n          [\"es2022.string\", \"lib.es2022.string.d.ts\"],\n          [\"es2022.regexp\", \"lib.es2022.regexp.d.ts\"],\n          [\"es2023.array\", \"lib.es2023.array.d.ts\"],\n          [\"esnext.array\", \"lib.es2023.array.d.ts\"],\n          [\"esnext.symbol\", \"lib.es2019.symbol.d.ts\"],\n          [\"esnext.asynciterable\", \"lib.es2018.asynciterable.d.ts\"],\n          [\"esnext.intl\", \"lib.esnext.intl.d.ts\"],\n          [\"esnext.bigint\", \"lib.es2020.bigint.d.ts\"],\n          [\"esnext.string\", \"lib.es2022.string.d.ts\"],\n          [\"esnext.promise\", \"lib.es2021.promise.d.ts\"],\n          [\"esnext.weakref\", \"lib.es2021.weakref.d.ts\"],\n          [\"decorators\", \"lib.decorators.d.ts\"],\n          [\"decorators.legacy\", \"lib.decorators.legacy.d.ts\"]\n        ];\n        libs = libEntries.map((entry) => entry[0]);\n        libMap = new Map(libEntries);\n        optionsForWatch = [\n          {\n            name: \"watchFile\",\n            type: new Map(Object.entries({\n              fixedpollinginterval: 0,\n              prioritypollinginterval: 1,\n              dynamicprioritypolling: 2,\n              fixedchunksizepolling: 3,\n              usefsevents: 4,\n              usefseventsonparentdirectory: 5\n              /* UseFsEventsOnParentDirectory */\n            })),\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Specify_how_the_TypeScript_watch_mode_works,\n            defaultValueDescription: 4\n            /* UseFsEvents */\n          },\n          {\n            name: \"watchDirectory\",\n            type: new Map(Object.entries({\n              usefsevents: 0,\n              fixedpollinginterval: 1,\n              dynamicprioritypolling: 2,\n              fixedchunksizepolling: 3\n              /* FixedChunkSizePolling */\n            })),\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,\n            defaultValueDescription: 0\n            /* UseFsEvents */\n          },\n          {\n            name: \"fallbackPolling\",\n            type: new Map(Object.entries({\n              fixedinterval: 0,\n              priorityinterval: 1,\n              dynamicpriority: 2,\n              fixedchunksize: 3\n              /* FixedChunkSize */\n            })),\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,\n            defaultValueDescription: 1\n            /* PriorityInterval */\n          },\n          {\n            name: \"synchronousWatchDirectory\",\n            type: \"boolean\",\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,\n            defaultValueDescription: false\n          },\n          {\n            name: \"excludeDirectories\",\n            type: \"list\",\n            element: {\n              name: \"excludeDirectory\",\n              type: \"string\",\n              isFilePath: true,\n              extraValidation: specToDiagnostic\n            },\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Remove_a_list_of_directories_from_the_watch_process\n          },\n          {\n            name: \"excludeFiles\",\n            type: \"list\",\n            element: {\n              name: \"excludeFile\",\n              type: \"string\",\n              isFilePath: true,\n              extraValidation: specToDiagnostic\n            },\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing\n          }\n        ];\n        commonOptionsWithBuild = [\n          {\n            name: \"help\",\n            shortName: \"h\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            isCommandLineOnly: true,\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Print_this_message,\n            defaultValueDescription: false\n          },\n          {\n            name: \"help\",\n            shortName: \"?\",\n            type: \"boolean\",\n            isCommandLineOnly: true,\n            category: Diagnostics.Command_line_Options,\n            defaultValueDescription: false\n          },\n          {\n            name: \"watch\",\n            shortName: \"w\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            isCommandLineOnly: true,\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Watch_input_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"preserveWatchOutput\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: false,\n            category: Diagnostics.Output_Formatting,\n            description: Diagnostics.Disable_wiping_the_console_in_watch_mode,\n            defaultValueDescription: false\n          },\n          {\n            name: \"listFiles\",\n            type: \"boolean\",\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Print_all_of_the_files_read_during_the_compilation,\n            defaultValueDescription: false\n          },\n          {\n            name: \"explainFiles\",\n            type: \"boolean\",\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included,\n            defaultValueDescription: false\n          },\n          {\n            name: \"listEmittedFiles\",\n            type: \"boolean\",\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,\n            defaultValueDescription: false\n          },\n          {\n            name: \"pretty\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Output_Formatting,\n            description: Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,\n            defaultValueDescription: true\n          },\n          {\n            name: \"traceResolution\",\n            type: \"boolean\",\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Log_paths_used_during_the_moduleResolution_process,\n            defaultValueDescription: false\n          },\n          {\n            name: \"diagnostics\",\n            type: \"boolean\",\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Output_compiler_performance_information_after_building,\n            defaultValueDescription: false\n          },\n          {\n            name: \"extendedDiagnostics\",\n            type: \"boolean\",\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Output_more_detailed_compiler_performance_information_after_building,\n            defaultValueDescription: false\n          },\n          {\n            name: \"generateCpuProfile\",\n            type: \"string\",\n            isFilePath: true,\n            paramType: Diagnostics.FILE_OR_DIRECTORY,\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,\n            defaultValueDescription: \"profile.cpuprofile\"\n          },\n          {\n            name: \"generateTrace\",\n            type: \"string\",\n            isFilePath: true,\n            isCommandLineOnly: true,\n            paramType: Diagnostics.DIRECTORY,\n            category: Diagnostics.Compiler_Diagnostics,\n            description: Diagnostics.Generates_an_event_trace_and_a_list_of_types\n          },\n          {\n            name: \"incremental\",\n            shortName: \"i\",\n            type: \"boolean\",\n            category: Diagnostics.Projects,\n            description: Diagnostics.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,\n            transpileOptionValue: void 0,\n            defaultValueDescription: Diagnostics.false_unless_composite_is_set\n          },\n          {\n            name: \"declaration\",\n            shortName: \"d\",\n            type: \"boolean\",\n            // Not setting affectsEmit because we calculate this flag might not affect full emit\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            transpileOptionValue: void 0,\n            description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,\n            defaultValueDescription: Diagnostics.false_unless_composite_is_set\n          },\n          {\n            name: \"declarationMap\",\n            type: \"boolean\",\n            // Not setting affectsEmit because we calculate this flag might not affect full emit\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            transpileOptionValue: void 0,\n            defaultValueDescription: false,\n            description: Diagnostics.Create_sourcemaps_for_d_ts_files\n          },\n          {\n            name: \"emitDeclarationOnly\",\n            type: \"boolean\",\n            // Not setting affectsEmit because we calculate this flag might not affect full emit\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,\n            transpileOptionValue: void 0,\n            defaultValueDescription: false\n          },\n          {\n            name: \"sourceMap\",\n            type: \"boolean\",\n            // Not setting affectsEmit because we calculate this flag might not affect full emit\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            defaultValueDescription: false,\n            description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files\n          },\n          {\n            name: \"inlineSourceMap\",\n            type: \"boolean\",\n            // Not setting affectsEmit because we calculate this flag might not affect full emit\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,\n            defaultValueDescription: false\n          },\n          {\n            name: \"assumeChangesOnlyAffectDirectDependencies\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Watch_and_Build_Modes,\n            description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,\n            defaultValueDescription: false\n          },\n          {\n            name: \"locale\",\n            type: \"string\",\n            category: Diagnostics.Command_line_Options,\n            isCommandLineOnly: true,\n            description: Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,\n            defaultValueDescription: Diagnostics.Platform_specific\n          }\n        ];\n        targetOptionDeclaration = {\n          name: \"target\",\n          shortName: \"t\",\n          type: new Map(Object.entries({\n            es3: 0,\n            es5: 1,\n            es6: 2,\n            es2015: 2,\n            es2016: 3,\n            es2017: 4,\n            es2018: 5,\n            es2019: 6,\n            es2020: 7,\n            es2021: 8,\n            es2022: 9,\n            esnext: 99\n            /* ESNext */\n          })),\n          affectsSourceFile: true,\n          affectsModuleResolution: true,\n          affectsEmit: true,\n          affectsBuildInfo: true,\n          paramType: Diagnostics.VERSION,\n          showInSimplifiedHelpView: true,\n          category: Diagnostics.Language_and_Environment,\n          description: Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,\n          defaultValueDescription: 1\n          /* ES5 */\n        };\n        moduleOptionDeclaration = {\n          name: \"module\",\n          shortName: \"m\",\n          type: new Map(Object.entries({\n            none: 0,\n            commonjs: 1,\n            amd: 2,\n            system: 4,\n            umd: 3,\n            es6: 5,\n            es2015: 5,\n            es2020: 6,\n            es2022: 7,\n            esnext: 99,\n            node16: 100,\n            nodenext: 199\n            /* NodeNext */\n          })),\n          affectsModuleResolution: true,\n          affectsEmit: true,\n          affectsBuildInfo: true,\n          paramType: Diagnostics.KIND,\n          showInSimplifiedHelpView: true,\n          category: Diagnostics.Modules,\n          description: Diagnostics.Specify_what_module_code_is_generated,\n          defaultValueDescription: void 0\n        };\n        commandOptionsWithoutBuild = [\n          // CommandLine only options\n          {\n            name: \"all\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Show_all_compiler_options,\n            defaultValueDescription: false\n          },\n          {\n            name: \"version\",\n            shortName: \"v\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Print_the_compiler_s_version,\n            defaultValueDescription: false\n          },\n          {\n            name: \"init\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,\n            defaultValueDescription: false\n          },\n          {\n            name: \"project\",\n            shortName: \"p\",\n            type: \"string\",\n            isFilePath: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Command_line_Options,\n            paramType: Diagnostics.FILE_OR_DIRECTORY,\n            description: Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json\n          },\n          {\n            name: \"build\",\n            type: \"boolean\",\n            shortName: \"b\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,\n            defaultValueDescription: false\n          },\n          {\n            name: \"showConfig\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Command_line_Options,\n            isCommandLineOnly: true,\n            description: Diagnostics.Print_the_final_configuration_instead_of_building,\n            defaultValueDescription: false\n          },\n          {\n            name: \"listFilesOnly\",\n            type: \"boolean\",\n            category: Diagnostics.Command_line_Options,\n            isCommandLineOnly: true,\n            description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,\n            defaultValueDescription: false\n          },\n          // Basic\n          targetOptionDeclaration,\n          moduleOptionDeclaration,\n          {\n            name: \"lib\",\n            type: \"list\",\n            element: {\n              name: \"lib\",\n              type: libMap,\n              defaultValueDescription: void 0\n            },\n            affectsProgramStructure: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,\n            transpileOptionValue: void 0\n          },\n          {\n            name: \"allowJs\",\n            type: \"boolean\",\n            affectsModuleResolution: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.JavaScript_Support,\n            description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"checkJs\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.JavaScript_Support,\n            description: Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"jsx\",\n            type: jsxOptionMap,\n            affectsSourceFile: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsModuleResolution: true,\n            paramType: Diagnostics.KIND,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Specify_what_JSX_code_is_generated,\n            defaultValueDescription: void 0\n          },\n          {\n            name: \"outFile\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsDeclarationPath: true,\n            isFilePath: true,\n            paramType: Diagnostics.FILE,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,\n            transpileOptionValue: void 0\n          },\n          {\n            name: \"outDir\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsDeclarationPath: true,\n            isFilePath: true,\n            paramType: Diagnostics.DIRECTORY,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Specify_an_output_folder_for_all_emitted_files\n          },\n          {\n            name: \"rootDir\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsDeclarationPath: true,\n            isFilePath: true,\n            paramType: Diagnostics.LOCATION,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Specify_the_root_folder_within_your_source_files,\n            defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files\n          },\n          {\n            name: \"composite\",\n            type: \"boolean\",\n            // Not setting affectsEmit because we calculate this flag might not affect full emit\n            affectsBuildInfo: true,\n            isTSConfigOnly: true,\n            category: Diagnostics.Projects,\n            transpileOptionValue: void 0,\n            defaultValueDescription: false,\n            description: Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references\n          },\n          {\n            name: \"tsBuildInfoFile\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            isFilePath: true,\n            paramType: Diagnostics.FILE,\n            category: Diagnostics.Projects,\n            transpileOptionValue: void 0,\n            defaultValueDescription: \".tsbuildinfo\",\n            description: Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file\n          },\n          {\n            name: \"removeComments\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            defaultValueDescription: false,\n            description: Diagnostics.Disable_emitting_comments\n          },\n          {\n            name: \"noEmit\",\n            type: \"boolean\",\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Disable_emitting_files_from_a_compilation,\n            transpileOptionValue: void 0,\n            defaultValueDescription: false\n          },\n          {\n            name: \"importHelpers\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,\n            defaultValueDescription: false\n          },\n          {\n            name: \"importsNotUsedAsValues\",\n            type: new Map(Object.entries({\n              remove: 0,\n              preserve: 1,\n              error: 2\n              /* Error */\n            })),\n            affectsEmit: true,\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,\n            defaultValueDescription: 0\n            /* Remove */\n          },\n          {\n            name: \"downlevelIteration\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,\n            defaultValueDescription: false\n          },\n          {\n            name: \"isolatedModules\",\n            type: \"boolean\",\n            category: Diagnostics.Interop_Constraints,\n            description: Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,\n            transpileOptionValue: true,\n            defaultValueDescription: false\n          },\n          {\n            name: \"verbatimModuleSyntax\",\n            type: \"boolean\",\n            category: Diagnostics.Interop_Constraints,\n            description: Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,\n            defaultValueDescription: false\n          },\n          // Strict Type Checks\n          {\n            name: \"strict\",\n            type: \"boolean\",\n            // Though this affects semantic diagnostics, affectsSemanticDiagnostics is not set here\n            // The value of each strictFlag depends on own strictFlag value or this and never accessed directly.\n            // But we need to store `strict` in builf info, even though it won't be examined directly, so that the\n            // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enable_all_strict_type_checking_options,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noImplicitAny\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          {\n            name: \"strictNullChecks\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.When_type_checking_take_into_account_null_and_undefined,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          {\n            name: \"strictFunctionTypes\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          {\n            name: \"strictBindCallApply\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          {\n            name: \"strictPropertyInitialization\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          {\n            name: \"noImplicitThis\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          {\n            name: \"useUnknownInCatchVariables\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any,\n            defaultValueDescription: false\n          },\n          {\n            name: \"alwaysStrict\",\n            type: \"boolean\",\n            affectsSourceFile: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            strictFlag: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Ensure_use_strict_is_always_emitted,\n            defaultValueDescription: Diagnostics.false_unless_strict_is_set\n          },\n          // Additional Checks\n          {\n            name: \"noUnusedLocals\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noUnusedParameters\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,\n            defaultValueDescription: false\n          },\n          {\n            name: \"exactOptionalPropertyTypes\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noImplicitReturns\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noFallthroughCasesInSwitch\",\n            type: \"boolean\",\n            affectsBindDiagnostics: true,\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noUncheckedIndexedAccess\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noImplicitOverride\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noPropertyAccessFromIndexSignature\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: false,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,\n            defaultValueDescription: false\n          },\n          // Module Resolution\n          {\n            name: \"moduleResolution\",\n            type: new Map(Object.entries({\n              // N.B. The first entry specifies the value shown in `tsc --init`\n              node10: 2,\n              node: 2,\n              classic: 1,\n              node16: 3,\n              nodenext: 99,\n              bundler: 100\n              /* Bundler */\n            })),\n            deprecatedKeys: /* @__PURE__ */ new Set([\"node\"]),\n            affectsModuleResolution: true,\n            paramType: Diagnostics.STRATEGY,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,\n            defaultValueDescription: Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node\n          },\n          {\n            name: \"baseUrl\",\n            type: \"string\",\n            affectsModuleResolution: true,\n            isFilePath: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names\n          },\n          {\n            // this option can only be specified in tsconfig.json\n            // use type = object to copy the value as-is\n            name: \"paths\",\n            type: \"object\",\n            affectsModuleResolution: true,\n            isTSConfigOnly: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,\n            transpileOptionValue: void 0\n          },\n          {\n            // this option can only be specified in tsconfig.json\n            // use type = object to copy the value as-is\n            name: \"rootDirs\",\n            type: \"list\",\n            isTSConfigOnly: true,\n            element: {\n              name: \"rootDirs\",\n              type: \"string\",\n              isFilePath: true\n            },\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,\n            transpileOptionValue: void 0,\n            defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files\n          },\n          {\n            name: \"typeRoots\",\n            type: \"list\",\n            element: {\n              name: \"typeRoots\",\n              type: \"string\",\n              isFilePath: true\n            },\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types\n          },\n          {\n            name: \"types\",\n            type: \"list\",\n            element: {\n              name: \"types\",\n              type: \"string\"\n            },\n            affectsProgramStructure: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,\n            transpileOptionValue: void 0\n          },\n          {\n            name: \"allowSyntheticDefaultImports\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Interop_Constraints,\n            description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,\n            defaultValueDescription: Diagnostics.module_system_or_esModuleInterop\n          },\n          {\n            name: \"esModuleInterop\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            showInSimplifiedHelpView: true,\n            category: Diagnostics.Interop_Constraints,\n            description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,\n            defaultValueDescription: false\n          },\n          {\n            name: \"preserveSymlinks\",\n            type: \"boolean\",\n            category: Diagnostics.Interop_Constraints,\n            description: Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,\n            defaultValueDescription: false\n          },\n          {\n            name: \"allowUmdGlobalAccess\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Allow_accessing_UMD_globals_from_modules,\n            defaultValueDescription: false\n          },\n          {\n            name: \"moduleSuffixes\",\n            type: \"list\",\n            element: {\n              name: \"suffix\",\n              type: \"string\"\n            },\n            listPreserveFalsyValues: true,\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.List_of_file_name_suffixes_to_search_when_resolving_a_module\n          },\n          {\n            name: \"allowImportingTsExtensions\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,\n            defaultValueDescription: false\n          },\n          {\n            name: \"resolvePackageJsonExports\",\n            type: \"boolean\",\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Use_the_package_json_exports_field_when_resolving_package_imports,\n            defaultValueDescription: Diagnostics.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false\n          },\n          {\n            name: \"resolvePackageJsonImports\",\n            type: \"boolean\",\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Use_the_package_json_imports_field_when_resolving_imports,\n            defaultValueDescription: Diagnostics.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false\n          },\n          {\n            name: \"customConditions\",\n            type: \"list\",\n            element: {\n              name: \"condition\",\n              type: \"string\"\n            },\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports\n          },\n          // Source Maps\n          {\n            name: \"sourceRoot\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            paramType: Diagnostics.LOCATION,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code\n          },\n          {\n            name: \"mapRoot\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            paramType: Diagnostics.LOCATION,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations\n          },\n          {\n            name: \"inlineSources\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,\n            defaultValueDescription: false\n          },\n          // Experimental\n          {\n            name: \"experimentalDecorators\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Enable_experimental_support_for_legacy_experimental_decorators,\n            defaultValueDescription: false\n          },\n          {\n            name: \"emitDecoratorMetadata\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,\n            defaultValueDescription: false\n          },\n          // Advanced\n          {\n            name: \"jsxFactory\",\n            type: \"string\",\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,\n            defaultValueDescription: \"`React.createElement`\"\n          },\n          {\n            name: \"jsxFragmentFactory\",\n            type: \"string\",\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,\n            defaultValueDescription: \"React.Fragment\"\n          },\n          {\n            name: \"jsxImportSource\",\n            type: \"string\",\n            affectsSemanticDiagnostics: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsModuleResolution: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,\n            defaultValueDescription: \"react\"\n          },\n          {\n            name: \"resolveJsonModule\",\n            type: \"boolean\",\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Enable_importing_json_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"allowArbitraryExtensions\",\n            type: \"boolean\",\n            affectsProgramStructure: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,\n            defaultValueDescription: false\n          },\n          {\n            name: \"out\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsDeclarationPath: true,\n            isFilePath: false,\n            // This is intentionally broken to support compatability with existing tsconfig files\n            // for correct behaviour, please use outFile\n            category: Diagnostics.Backwards_Compatibility,\n            paramType: Diagnostics.FILE,\n            transpileOptionValue: void 0,\n            description: Diagnostics.Deprecated_setting_Use_outFile_instead\n          },\n          {\n            name: \"reactNamespace\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,\n            defaultValueDescription: \"`React`\"\n          },\n          {\n            name: \"skipDefaultLibCheck\",\n            type: \"boolean\",\n            // We need to store these to determine whether `lib` files need to be rechecked\n            affectsBuildInfo: true,\n            category: Diagnostics.Completeness,\n            description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,\n            defaultValueDescription: false\n          },\n          {\n            name: \"charset\",\n            type: \"string\",\n            category: Diagnostics.Backwards_Compatibility,\n            description: Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,\n            defaultValueDescription: \"utf8\"\n          },\n          {\n            name: \"emitBOM\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"newLine\",\n            type: new Map(Object.entries({\n              crlf: 0,\n              lf: 1\n              /* LineFeed */\n            })),\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            paramType: Diagnostics.NEWLINE,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Set_the_newline_character_for_emitting_files,\n            defaultValueDescription: \"lf\"\n          },\n          {\n            name: \"noErrorTruncation\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Output_Formatting,\n            description: Diagnostics.Disable_truncating_types_in_error_messages,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noLib\",\n            type: \"boolean\",\n            category: Diagnostics.Language_and_Environment,\n            affectsProgramStructure: true,\n            description: Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,\n            // We are not returning a sourceFile for lib file when asked by the program,\n            // so pass --noLib to avoid reporting a file not found error.\n            transpileOptionValue: true,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noResolve\",\n            type: \"boolean\",\n            affectsModuleResolution: true,\n            category: Diagnostics.Modules,\n            description: Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,\n            // We are not doing a full typecheck, we are not resolving the whole context,\n            // so pass --noResolve to avoid reporting missing file errors.\n            transpileOptionValue: true,\n            defaultValueDescription: false\n          },\n          {\n            name: \"stripInternal\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,\n            defaultValueDescription: false\n          },\n          {\n            name: \"disableSizeLimit\",\n            type: \"boolean\",\n            affectsProgramStructure: true,\n            category: Diagnostics.Editor_Support,\n            description: Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,\n            defaultValueDescription: false\n          },\n          {\n            name: \"disableSourceOfProjectReferenceRedirect\",\n            type: \"boolean\",\n            isTSConfigOnly: true,\n            category: Diagnostics.Projects,\n            description: Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,\n            defaultValueDescription: false\n          },\n          {\n            name: \"disableSolutionSearching\",\n            type: \"boolean\",\n            isTSConfigOnly: true,\n            category: Diagnostics.Projects,\n            description: Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing,\n            defaultValueDescription: false\n          },\n          {\n            name: \"disableReferencedProjectLoad\",\n            type: \"boolean\",\n            isTSConfigOnly: true,\n            category: Diagnostics.Projects,\n            description: Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noImplicitUseStrict\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Backwards_Compatibility,\n            description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noEmitHelpers\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,\n            defaultValueDescription: false\n          },\n          {\n            name: \"noEmitOnError\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            transpileOptionValue: void 0,\n            description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,\n            defaultValueDescription: false\n          },\n          {\n            name: \"preserveConstEnums\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,\n            defaultValueDescription: false\n          },\n          {\n            name: \"declarationDir\",\n            type: \"string\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            affectsDeclarationPath: true,\n            isFilePath: true,\n            paramType: Diagnostics.DIRECTORY,\n            category: Diagnostics.Emit,\n            transpileOptionValue: void 0,\n            description: Diagnostics.Specify_the_output_directory_for_generated_declaration_files\n          },\n          {\n            name: \"skipLibCheck\",\n            type: \"boolean\",\n            // We need to store these to determine whether `lib` files need to be rechecked\n            affectsBuildInfo: true,\n            category: Diagnostics.Completeness,\n            description: Diagnostics.Skip_type_checking_all_d_ts_files,\n            defaultValueDescription: false\n          },\n          {\n            name: \"allowUnusedLabels\",\n            type: \"boolean\",\n            affectsBindDiagnostics: true,\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Disable_error_reporting_for_unused_labels,\n            defaultValueDescription: void 0\n          },\n          {\n            name: \"allowUnreachableCode\",\n            type: \"boolean\",\n            affectsBindDiagnostics: true,\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Type_Checking,\n            description: Diagnostics.Disable_error_reporting_for_unreachable_code,\n            defaultValueDescription: void 0\n          },\n          {\n            name: \"suppressExcessPropertyErrors\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Backwards_Compatibility,\n            description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,\n            defaultValueDescription: false\n          },\n          {\n            name: \"suppressImplicitAnyIndexErrors\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Backwards_Compatibility,\n            description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,\n            defaultValueDescription: false\n          },\n          {\n            name: \"forceConsistentCasingInFileNames\",\n            type: \"boolean\",\n            affectsModuleResolution: true,\n            category: Diagnostics.Interop_Constraints,\n            description: Diagnostics.Ensure_that_casing_is_correct_in_imports,\n            defaultValueDescription: true\n          },\n          {\n            name: \"maxNodeModuleJsDepth\",\n            type: \"number\",\n            affectsModuleResolution: true,\n            category: Diagnostics.JavaScript_Support,\n            description: Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,\n            defaultValueDescription: 0\n          },\n          {\n            name: \"noStrictGenericChecks\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Backwards_Compatibility,\n            description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,\n            defaultValueDescription: false\n          },\n          {\n            name: \"useDefineForClassFields\",\n            type: \"boolean\",\n            affectsSemanticDiagnostics: true,\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Language_and_Environment,\n            description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,\n            defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext\n          },\n          {\n            name: \"preserveValueImports\",\n            type: \"boolean\",\n            affectsEmit: true,\n            affectsBuildInfo: true,\n            category: Diagnostics.Emit,\n            description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,\n            defaultValueDescription: false\n          },\n          {\n            name: \"keyofStringsOnly\",\n            type: \"boolean\",\n            category: Diagnostics.Backwards_Compatibility,\n            description: Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,\n            defaultValueDescription: false\n          },\n          {\n            // A list of plugins to load in the language service\n            name: \"plugins\",\n            type: \"list\",\n            isTSConfigOnly: true,\n            element: {\n              name: \"plugin\",\n              type: \"object\"\n            },\n            description: Diagnostics.Specify_a_list_of_language_service_plugins_to_include,\n            category: Diagnostics.Editor_Support\n          },\n          {\n            name: \"moduleDetection\",\n            type: new Map(Object.entries({\n              auto: 2,\n              legacy: 1,\n              force: 3\n              /* Force */\n            })),\n            affectsModuleResolution: true,\n            description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,\n            category: Diagnostics.Language_and_Environment,\n            defaultValueDescription: Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules\n          },\n          {\n            name: \"ignoreDeprecations\",\n            type: \"string\",\n            defaultValueDescription: void 0\n          }\n        ];\n        optionDeclarations = [\n          ...commonOptionsWithBuild,\n          ...commandOptionsWithoutBuild\n        ];\n        semanticDiagnosticsOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsSemanticDiagnostics);\n        affectsEmitOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsEmit);\n        affectsDeclarationPathOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsDeclarationPath);\n        moduleResolutionOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsModuleResolution);\n        sourceFileAffectingCompilerOptions = optionDeclarations.filter((option) => !!option.affectsSourceFile || !!option.affectsModuleResolution || !!option.affectsBindDiagnostics);\n        optionsAffectingProgramStructure = optionDeclarations.filter((option) => !!option.affectsProgramStructure);\n        transpileOptionValueCompilerOptions = optionDeclarations.filter((option) => hasProperty(option, \"transpileOptionValue\"));\n        optionsForBuild = [\n          {\n            name: \"verbose\",\n            shortName: \"v\",\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Enable_verbose_logging,\n            type: \"boolean\",\n            defaultValueDescription: false\n          },\n          {\n            name: \"dry\",\n            shortName: \"d\",\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,\n            type: \"boolean\",\n            defaultValueDescription: false\n          },\n          {\n            name: \"force\",\n            shortName: \"f\",\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,\n            type: \"boolean\",\n            defaultValueDescription: false\n          },\n          {\n            name: \"clean\",\n            category: Diagnostics.Command_line_Options,\n            description: Diagnostics.Delete_the_outputs_of_all_projects,\n            type: \"boolean\",\n            defaultValueDescription: false\n          }\n        ];\n        buildOpts = [\n          ...commonOptionsWithBuild,\n          ...optionsForBuild\n        ];\n        typeAcquisitionDeclarations = [\n          {\n            name: \"enable\",\n            type: \"boolean\",\n            defaultValueDescription: false\n          },\n          {\n            name: \"include\",\n            type: \"list\",\n            element: {\n              name: \"include\",\n              type: \"string\"\n            }\n          },\n          {\n            name: \"exclude\",\n            type: \"list\",\n            element: {\n              name: \"exclude\",\n              type: \"string\"\n            }\n          },\n          {\n            name: \"disableFilenameBasedTypeAcquisition\",\n            type: \"boolean\",\n            defaultValueDescription: false\n          }\n        ];\n        compilerOptionsAlternateMode = {\n          diagnostic: Diagnostics.Compiler_option_0_may_only_be_used_with_build,\n          getOptionsNameMap: getBuildOptionsNameMap\n        };\n        defaultInitCompilerOptions = {\n          module: 1,\n          target: 3,\n          strict: true,\n          esModuleInterop: true,\n          forceConsistentCasingInFileNames: true,\n          skipLibCheck: true\n        };\n        compilerOptionsDidYouMeanDiagnostics = {\n          alternateMode: compilerOptionsAlternateMode,\n          getOptionsNameMap,\n          optionDeclarations,\n          unknownOptionDiagnostic: Diagnostics.Unknown_compiler_option_0,\n          unknownDidYouMeanDiagnostic: Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,\n          optionTypeMismatchDiagnostic: Diagnostics.Compiler_option_0_expects_an_argument\n        };\n        buildOptionsAlternateMode = {\n          diagnostic: Diagnostics.Compiler_option_0_may_not_be_used_with_build,\n          getOptionsNameMap\n        };\n        buildOptionsDidYouMeanDiagnostics = {\n          alternateMode: buildOptionsAlternateMode,\n          getOptionsNameMap: getBuildOptionsNameMap,\n          optionDeclarations: buildOpts,\n          unknownOptionDiagnostic: Diagnostics.Unknown_build_option_0,\n          unknownDidYouMeanDiagnostic: Diagnostics.Unknown_build_option_0_Did_you_mean_1,\n          optionTypeMismatchDiagnostic: Diagnostics.Build_option_0_requires_a_value_of_type_1\n        };\n        typeAcquisitionDidYouMeanDiagnostics = {\n          optionDeclarations: typeAcquisitionDeclarations,\n          unknownOptionDiagnostic: Diagnostics.Unknown_type_acquisition_option_0,\n          unknownDidYouMeanDiagnostic: Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1\n        };\n        watchOptionsDidYouMeanDiagnostics = {\n          getOptionsNameMap: getWatchOptionsNameMap,\n          optionDeclarations: optionsForWatch,\n          unknownOptionDiagnostic: Diagnostics.Unknown_watch_option_0,\n          unknownDidYouMeanDiagnostic: Diagnostics.Unknown_watch_option_0_Did_you_mean_1,\n          optionTypeMismatchDiagnostic: Diagnostics.Watch_option_0_requires_a_value_of_type_1\n        };\n        extendsOptionDeclaration = {\n          name: \"extends\",\n          type: \"listOrElement\",\n          element: {\n            name: \"extends\",\n            type: \"string\"\n          },\n          category: Diagnostics.File_Management\n        };\n        defaultIncludeSpec = \"**/*\";\n        invalidTrailingRecursionPattern = /(^|\\/)\\*\\*\\/?$/;\n        wildcardDirectoryPattern = /^[^*?]*(?=\\/[^/]*[*?])/;\n      }\n    });\n    function trace(host) {\n      host.trace(formatMessage.apply(void 0, arguments));\n    }\n    function isTraceEnabled(compilerOptions, host) {\n      return !!compilerOptions.traceResolution && host.trace !== void 0;\n    }\n    function withPackageId(packageInfo, r) {\n      let packageId;\n      if (r && packageInfo) {\n        const packageJsonContent = packageInfo.contents.packageJsonContent;\n        if (typeof packageJsonContent.name === \"string\" && typeof packageJsonContent.version === \"string\") {\n          packageId = {\n            name: packageJsonContent.name,\n            subModuleName: r.path.slice(packageInfo.packageDirectory.length + directorySeparator.length),\n            version: packageJsonContent.version\n          };\n        }\n      }\n      return r && { path: r.path, extension: r.ext, packageId, resolvedUsingTsExtension: r.resolvedUsingTsExtension };\n    }\n    function noPackageId(r) {\n      return withPackageId(\n        /*packageInfo*/\n        void 0,\n        r\n      );\n    }\n    function removeIgnoredPackageId(r) {\n      if (r) {\n        Debug2.assert(r.packageId === void 0);\n        return { path: r.path, ext: r.extension, resolvedUsingTsExtension: r.resolvedUsingTsExtension };\n      }\n    }\n    function formatExtensions(extensions) {\n      const result = [];\n      if (extensions & 1)\n        result.push(\"TypeScript\");\n      if (extensions & 2)\n        result.push(\"JavaScript\");\n      if (extensions & 4)\n        result.push(\"Declaration\");\n      if (extensions & 8)\n        result.push(\"JSON\");\n      return result.join(\", \");\n    }\n    function resolvedTypeScriptOnly(resolved) {\n      if (!resolved) {\n        return void 0;\n      }\n      Debug2.assert(extensionIsTS(resolved.extension));\n      return { fileName: resolved.path, packageId: resolved.packageId };\n    }\n    function createResolvedModuleWithFailedLookupLocationsHandlingSymlink(moduleName, resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, state, legacyResult) {\n      if (!state.resultFromCache && !state.compilerOptions.preserveSymlinks && resolved && isExternalLibraryImport && !resolved.originalPath && !isExternalModuleNameRelative(moduleName)) {\n        const { resolvedFileName, originalPath } = getOriginalAndResolvedFileName(resolved.path, state.host, state.traceEnabled);\n        if (originalPath)\n          resolved = { ...resolved, path: resolvedFileName, originalPath };\n      }\n      return createResolvedModuleWithFailedLookupLocations(\n        resolved,\n        isExternalLibraryImport,\n        failedLookupLocations,\n        affectingLocations,\n        diagnostics,\n        state.resultFromCache,\n        legacyResult\n      );\n    }\n    function createResolvedModuleWithFailedLookupLocations(resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, resultFromCache, legacyResult) {\n      if (resultFromCache) {\n        resultFromCache.failedLookupLocations = updateResolutionField(resultFromCache.failedLookupLocations, failedLookupLocations);\n        resultFromCache.affectingLocations = updateResolutionField(resultFromCache.affectingLocations, affectingLocations);\n        resultFromCache.resolutionDiagnostics = updateResolutionField(resultFromCache.resolutionDiagnostics, diagnostics);\n        return resultFromCache;\n      }\n      return {\n        resolvedModule: resolved && {\n          resolvedFileName: resolved.path,\n          originalPath: resolved.originalPath === true ? void 0 : resolved.originalPath,\n          extension: resolved.extension,\n          isExternalLibraryImport,\n          packageId: resolved.packageId,\n          resolvedUsingTsExtension: !!resolved.resolvedUsingTsExtension\n        },\n        failedLookupLocations: initializeResolutionField(failedLookupLocations),\n        affectingLocations: initializeResolutionField(affectingLocations),\n        resolutionDiagnostics: initializeResolutionField(diagnostics),\n        node10Result: legacyResult\n      };\n    }\n    function initializeResolutionField(value) {\n      return value.length ? value : void 0;\n    }\n    function updateResolutionField(to, value) {\n      if (!(value == null ? void 0 : value.length))\n        return to;\n      if (!(to == null ? void 0 : to.length))\n        return value;\n      to.push(...value);\n      return to;\n    }\n    function readPackageJsonField(jsonContent, fieldName, typeOfTag, state) {\n      if (!hasProperty(jsonContent, fieldName)) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_does_not_have_a_0_field, fieldName);\n        }\n        return;\n      }\n      const value = jsonContent[fieldName];\n      if (typeof value !== typeOfTag || value === null) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, fieldName, typeOfTag, value === null ? \"null\" : typeof value);\n        }\n        return;\n      }\n      return value;\n    }\n    function readPackageJsonPathField(jsonContent, fieldName, baseDirectory, state) {\n      const fileName = readPackageJsonField(jsonContent, fieldName, \"string\", state);\n      if (fileName === void 0) {\n        return;\n      }\n      if (!fileName) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_had_a_falsy_0_field, fieldName);\n        }\n        return;\n      }\n      const path = normalizePath(combinePaths(baseDirectory, fileName));\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.package_json_has_0_field_1_that_references_2, fieldName, fileName, path);\n      }\n      return path;\n    }\n    function readPackageJsonTypesFields(jsonContent, baseDirectory, state) {\n      return readPackageJsonPathField(jsonContent, \"typings\", baseDirectory, state) || readPackageJsonPathField(jsonContent, \"types\", baseDirectory, state);\n    }\n    function readPackageJsonTSConfigField(jsonContent, baseDirectory, state) {\n      return readPackageJsonPathField(jsonContent, \"tsconfig\", baseDirectory, state);\n    }\n    function readPackageJsonMainField(jsonContent, baseDirectory, state) {\n      return readPackageJsonPathField(jsonContent, \"main\", baseDirectory, state);\n    }\n    function readPackageJsonTypesVersionsField(jsonContent, state) {\n      const typesVersions = readPackageJsonField(jsonContent, \"typesVersions\", \"object\", state);\n      if (typesVersions === void 0)\n        return;\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings);\n      }\n      return typesVersions;\n    }\n    function readPackageJsonTypesVersionPaths(jsonContent, state) {\n      const typesVersions = readPackageJsonTypesVersionsField(jsonContent, state);\n      if (typesVersions === void 0)\n        return;\n      if (state.traceEnabled) {\n        for (const key in typesVersions) {\n          if (hasProperty(typesVersions, key) && !VersionRange.tryParse(key)) {\n            trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range, key);\n          }\n        }\n      }\n      const result = getPackageJsonTypesVersionsPaths(typesVersions);\n      if (!result) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0, versionMajorMinor);\n        }\n        return;\n      }\n      const { version: bestVersionKey, paths: bestVersionPaths } = result;\n      if (typeof bestVersionPaths !== \"object\") {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, `typesVersions['${bestVersionKey}']`, \"object\", typeof bestVersionPaths);\n        }\n        return;\n      }\n      return result;\n    }\n    function getPackageJsonTypesVersionsPaths(typesVersions) {\n      if (!typeScriptVersion)\n        typeScriptVersion = new Version(version);\n      for (const key in typesVersions) {\n        if (!hasProperty(typesVersions, key))\n          continue;\n        const keyRange = VersionRange.tryParse(key);\n        if (keyRange === void 0) {\n          continue;\n        }\n        if (keyRange.test(typeScriptVersion)) {\n          return { version: key, paths: typesVersions[key] };\n        }\n      }\n    }\n    function getEffectiveTypeRoots(options, host) {\n      if (options.typeRoots) {\n        return options.typeRoots;\n      }\n      let currentDirectory;\n      if (options.configFilePath) {\n        currentDirectory = getDirectoryPath(options.configFilePath);\n      } else if (host.getCurrentDirectory) {\n        currentDirectory = host.getCurrentDirectory();\n      }\n      if (currentDirectory !== void 0) {\n        return getDefaultTypeRoots(currentDirectory, host);\n      }\n    }\n    function getDefaultTypeRoots(currentDirectory, host) {\n      if (!host.directoryExists) {\n        return [combinePaths(currentDirectory, nodeModulesAtTypes)];\n      }\n      let typeRoots;\n      forEachAncestorDirectory(normalizePath(currentDirectory), (directory) => {\n        const atTypes = combinePaths(directory, nodeModulesAtTypes);\n        if (host.directoryExists(atTypes)) {\n          (typeRoots || (typeRoots = [])).push(atTypes);\n        }\n        return void 0;\n      });\n      return typeRoots;\n    }\n    function arePathsEqual(path1, path2, host) {\n      const useCaseSensitiveFileNames = typeof host.useCaseSensitiveFileNames === \"function\" ? host.useCaseSensitiveFileNames() : host.useCaseSensitiveFileNames;\n      return comparePaths(path1, path2, !useCaseSensitiveFileNames) === 0;\n    }\n    function getOriginalAndResolvedFileName(fileName, host, traceEnabled) {\n      const resolvedFileName = realPath(fileName, host, traceEnabled);\n      const pathsAreEqual = arePathsEqual(fileName, resolvedFileName, host);\n      return {\n        // If the fileName and realpath are differing only in casing prefer fileName so that we can issue correct errors for casing under forceConsistentCasingInFileNames\n        resolvedFileName: pathsAreEqual ? fileName : resolvedFileName,\n        originalPath: pathsAreEqual ? void 0 : fileName\n      };\n    }\n    function resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFile, options, host, redirectedReference, cache, resolutionMode) {\n      Debug2.assert(typeof typeReferenceDirectiveName === \"string\", \"Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.\");\n      const traceEnabled = isTraceEnabled(options, host);\n      if (redirectedReference) {\n        options = redirectedReference.commandLine.options;\n      }\n      const containingDirectory = containingFile ? getDirectoryPath(containingFile) : void 0;\n      let result = containingDirectory ? cache == null ? void 0 : cache.getFromDirectoryCache(typeReferenceDirectiveName, resolutionMode, containingDirectory, redirectedReference) : void 0;\n      if (!result && containingDirectory && !isExternalModuleNameRelative(typeReferenceDirectiveName)) {\n        result = cache == null ? void 0 : cache.getFromNonRelativeNameCache(typeReferenceDirectiveName, resolutionMode, containingDirectory, redirectedReference);\n      }\n      if (result) {\n        if (traceEnabled) {\n          trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1, typeReferenceDirectiveName, containingFile);\n          if (redirectedReference)\n            trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName);\n          trace(host, Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1, typeReferenceDirectiveName, containingDirectory);\n          traceResult(result);\n        }\n        return result;\n      }\n      const typeRoots = getEffectiveTypeRoots(options, host);\n      if (traceEnabled) {\n        if (containingFile === void 0) {\n          if (typeRoots === void 0) {\n            trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set, typeReferenceDirectiveName);\n          } else {\n            trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1, typeReferenceDirectiveName, typeRoots);\n          }\n        } else {\n          if (typeRoots === void 0) {\n            trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set, typeReferenceDirectiveName, containingFile);\n          } else {\n            trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2, typeReferenceDirectiveName, containingFile, typeRoots);\n          }\n        }\n        if (redirectedReference) {\n          trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName);\n        }\n      }\n      const failedLookupLocations = [];\n      const affectingLocations = [];\n      let features = getNodeResolutionFeatures(options);\n      if (resolutionMode === 99 && (getEmitModuleResolutionKind(options) === 3 || getEmitModuleResolutionKind(options) === 99)) {\n        features |= 32;\n      }\n      const conditions = features & 8 ? getConditions(options, !!(features & 32)) : [];\n      const diagnostics = [];\n      const moduleResolutionState = {\n        compilerOptions: options,\n        host,\n        traceEnabled,\n        failedLookupLocations,\n        affectingLocations,\n        packageJsonInfoCache: cache,\n        features,\n        conditions,\n        requestContainingDirectory: containingDirectory,\n        reportDiagnostic: (diag2) => void diagnostics.push(diag2),\n        isConfigLookup: false,\n        candidateIsFromPackageJsonField: false\n      };\n      let resolved = primaryLookup();\n      let primary = true;\n      if (!resolved) {\n        resolved = secondaryLookup();\n        primary = false;\n      }\n      let resolvedTypeReferenceDirective;\n      if (resolved) {\n        const { fileName, packageId } = resolved;\n        let resolvedFileName = fileName, originalPath;\n        if (!options.preserveSymlinks)\n          ({ resolvedFileName, originalPath } = getOriginalAndResolvedFileName(fileName, host, traceEnabled));\n        resolvedTypeReferenceDirective = {\n          primary,\n          resolvedFileName,\n          originalPath,\n          packageId,\n          isExternalLibraryImport: pathContainsNodeModules(fileName)\n        };\n      }\n      result = {\n        resolvedTypeReferenceDirective,\n        failedLookupLocations: initializeResolutionField(failedLookupLocations),\n        affectingLocations: initializeResolutionField(affectingLocations),\n        resolutionDiagnostics: initializeResolutionField(diagnostics)\n      };\n      if (containingDirectory) {\n        cache == null ? void 0 : cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference).set(\n          typeReferenceDirectiveName,\n          /*mode*/\n          resolutionMode,\n          result\n        );\n        if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) {\n          cache == null ? void 0 : cache.getOrCreateCacheForNonRelativeName(typeReferenceDirectiveName, resolutionMode, redirectedReference).set(containingDirectory, result);\n        }\n      }\n      if (traceEnabled)\n        traceResult(result);\n      return result;\n      function traceResult(result2) {\n        var _a22;\n        if (!((_a22 = result2.resolvedTypeReferenceDirective) == null ? void 0 : _a22.resolvedFileName)) {\n          trace(host, Diagnostics.Type_reference_directive_0_was_not_resolved, typeReferenceDirectiveName);\n        } else if (result2.resolvedTypeReferenceDirective.packageId) {\n          trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, packageIdToString(result2.resolvedTypeReferenceDirective.packageId), result2.resolvedTypeReferenceDirective.primary);\n        } else {\n          trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, result2.resolvedTypeReferenceDirective.primary);\n        }\n      }\n      function primaryLookup() {\n        if (typeRoots && typeRoots.length) {\n          if (traceEnabled) {\n            trace(host, Diagnostics.Resolving_with_primary_search_path_0, typeRoots.join(\", \"));\n          }\n          return firstDefined(typeRoots, (typeRoot) => {\n            const candidate = combinePaths(typeRoot, typeReferenceDirectiveName);\n            const candidateDirectory = getDirectoryPath(candidate);\n            const directoryExists = directoryProbablyExists(candidateDirectory, host);\n            if (!directoryExists && traceEnabled) {\n              trace(host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, candidateDirectory);\n            }\n            return resolvedTypeScriptOnly(\n              loadNodeModuleFromDirectory(\n                4,\n                candidate,\n                !directoryExists,\n                moduleResolutionState\n              )\n            );\n          });\n        } else {\n          if (traceEnabled) {\n            trace(host, Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths);\n          }\n        }\n      }\n      function secondaryLookup() {\n        const initialLocationForSecondaryLookup = containingFile && getDirectoryPath(containingFile);\n        if (initialLocationForSecondaryLookup !== void 0) {\n          if (traceEnabled) {\n            trace(host, Diagnostics.Looking_up_in_node_modules_folder_initial_location_0, initialLocationForSecondaryLookup);\n          }\n          let result2;\n          if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) {\n            const searchResult = loadModuleFromNearestNodeModulesDirectory(\n              4,\n              typeReferenceDirectiveName,\n              initialLocationForSecondaryLookup,\n              moduleResolutionState,\n              /*cache*/\n              void 0,\n              /*redirectedReference*/\n              void 0\n            );\n            result2 = searchResult && searchResult.value;\n          } else {\n            const { path: candidate } = normalizePathForCJSResolution(initialLocationForSecondaryLookup, typeReferenceDirectiveName);\n            result2 = nodeLoadModuleByRelativeName(\n              4,\n              candidate,\n              /*onlyRecordFailures*/\n              false,\n              moduleResolutionState,\n              /*considerPackageJson*/\n              true\n            );\n          }\n          return resolvedTypeScriptOnly(result2);\n        } else {\n          if (traceEnabled) {\n            trace(host, Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder);\n          }\n        }\n      }\n    }\n    function getNodeResolutionFeatures(options) {\n      let features = 0;\n      switch (getEmitModuleResolutionKind(options)) {\n        case 3:\n          features = 30;\n          break;\n        case 99:\n          features = 30;\n          break;\n        case 100:\n          features = 30;\n          break;\n      }\n      if (options.resolvePackageJsonExports) {\n        features |= 8;\n      } else if (options.resolvePackageJsonExports === false) {\n        features &= ~8;\n      }\n      if (options.resolvePackageJsonImports) {\n        features |= 2;\n      } else if (options.resolvePackageJsonImports === false) {\n        features &= ~2;\n      }\n      return features;\n    }\n    function getConditions(options, esmMode) {\n      const conditions = esmMode || getEmitModuleResolutionKind(options) === 100 ? [\"import\"] : [\"require\"];\n      if (!options.noDtsResolution) {\n        conditions.push(\"types\");\n      }\n      if (getEmitModuleResolutionKind(options) !== 100) {\n        conditions.push(\"node\");\n      }\n      return concatenate(conditions, options.customConditions);\n    }\n    function resolvePackageNameToPackageJson(packageName, containingDirectory, options, host, cache) {\n      const moduleResolutionState = getTemporaryModuleResolutionState(cache == null ? void 0 : cache.getPackageJsonInfoCache(), host, options);\n      return forEachAncestorDirectory(containingDirectory, (ancestorDirectory) => {\n        if (getBaseFileName(ancestorDirectory) !== \"node_modules\") {\n          const nodeModulesFolder = combinePaths(ancestorDirectory, \"node_modules\");\n          const candidate = combinePaths(nodeModulesFolder, packageName);\n          return getPackageJsonInfo(\n            candidate,\n            /*onlyRecordFailures*/\n            false,\n            moduleResolutionState\n          );\n        }\n      });\n    }\n    function getAutomaticTypeDirectiveNames(options, host) {\n      if (options.types) {\n        return options.types;\n      }\n      const result = [];\n      if (host.directoryExists && host.getDirectories) {\n        const typeRoots = getEffectiveTypeRoots(options, host);\n        if (typeRoots) {\n          for (const root of typeRoots) {\n            if (host.directoryExists(root)) {\n              for (const typeDirectivePath of host.getDirectories(root)) {\n                const normalized = normalizePath(typeDirectivePath);\n                const packageJsonPath = combinePaths(root, normalized, \"package.json\");\n                const isNotNeededPackage = host.fileExists(packageJsonPath) && readJson(packageJsonPath, host).typings === null;\n                if (!isNotNeededPackage) {\n                  const baseFileName = getBaseFileName(normalized);\n                  if (baseFileName.charCodeAt(0) !== 46) {\n                    result.push(baseFileName);\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n      return result;\n    }\n    function compilerOptionValueToString(value) {\n      var _a22;\n      if (value === null || typeof value !== \"object\") {\n        return \"\" + value;\n      }\n      if (isArray(value)) {\n        return `[${(_a22 = value.map((e) => compilerOptionValueToString(e))) == null ? void 0 : _a22.join(\",\")}]`;\n      }\n      let str = \"{\";\n      for (const key in value) {\n        if (hasProperty(value, key)) {\n          str += `${key}: ${compilerOptionValueToString(value[key])}`;\n        }\n      }\n      return str + \"}\";\n    }\n    function getKeyForCompilerOptions(options, affectingOptionDeclarations) {\n      return affectingOptionDeclarations.map((option) => compilerOptionValueToString(getCompilerOptionValue(options, option))).join(\"|\") + (options.pathsBasePath ? `|${options.pathsBasePath}` : void 0);\n    }\n    function createCacheWithRedirects(ownOptions) {\n      const redirectsMap = /* @__PURE__ */ new Map();\n      const optionsToRedirectsKey = /* @__PURE__ */ new Map();\n      const redirectsKeyToMap = /* @__PURE__ */ new Map();\n      let ownMap = /* @__PURE__ */ new Map();\n      if (ownOptions)\n        redirectsMap.set(ownOptions, ownMap);\n      return {\n        getMapOfCacheRedirects,\n        getOrCreateMapOfCacheRedirects,\n        update,\n        clear: clear2\n      };\n      function getMapOfCacheRedirects(redirectedReference) {\n        return redirectedReference ? getOrCreateMap(\n          redirectedReference.commandLine.options,\n          /*create*/\n          false\n        ) : ownMap;\n      }\n      function getOrCreateMapOfCacheRedirects(redirectedReference) {\n        return redirectedReference ? getOrCreateMap(\n          redirectedReference.commandLine.options,\n          /*create*/\n          true\n        ) : ownMap;\n      }\n      function update(newOptions) {\n        if (ownOptions !== newOptions) {\n          if (ownOptions)\n            ownMap = getOrCreateMap(\n              newOptions,\n              /*create*/\n              true\n            );\n          else\n            redirectsMap.set(newOptions, ownMap);\n          ownOptions = newOptions;\n        }\n      }\n      function getOrCreateMap(redirectOptions, create2) {\n        let result = redirectsMap.get(redirectOptions);\n        if (result)\n          return result;\n        const key = getRedirectsCacheKey(redirectOptions);\n        result = redirectsKeyToMap.get(key);\n        if (!result) {\n          if (ownOptions) {\n            const ownKey = getRedirectsCacheKey(ownOptions);\n            if (ownKey === key)\n              result = ownMap;\n            else if (!redirectsKeyToMap.has(ownKey))\n              redirectsKeyToMap.set(ownKey, ownMap);\n          }\n          if (create2)\n            result != null ? result : result = /* @__PURE__ */ new Map();\n          if (result)\n            redirectsKeyToMap.set(key, result);\n        }\n        if (result)\n          redirectsMap.set(redirectOptions, result);\n        return result;\n      }\n      function clear2() {\n        const ownKey = ownOptions && optionsToRedirectsKey.get(ownOptions);\n        ownMap.clear();\n        redirectsMap.clear();\n        optionsToRedirectsKey.clear();\n        redirectsKeyToMap.clear();\n        if (ownOptions) {\n          if (ownKey)\n            optionsToRedirectsKey.set(ownOptions, ownKey);\n          redirectsMap.set(ownOptions, ownMap);\n        }\n      }\n      function getRedirectsCacheKey(options) {\n        let result = optionsToRedirectsKey.get(options);\n        if (!result) {\n          optionsToRedirectsKey.set(options, result = getKeyForCompilerOptions(options, moduleResolutionOptionDeclarations));\n        }\n        return result;\n      }\n    }\n    function createPackageJsonInfoCache(currentDirectory, getCanonicalFileName) {\n      let cache;\n      return { getPackageJsonInfo: getPackageJsonInfo2, setPackageJsonInfo, clear: clear2, entries, getInternalMap };\n      function getPackageJsonInfo2(packageJsonPath) {\n        return cache == null ? void 0 : cache.get(toPath(packageJsonPath, currentDirectory, getCanonicalFileName));\n      }\n      function setPackageJsonInfo(packageJsonPath, info) {\n        (cache || (cache = /* @__PURE__ */ new Map())).set(toPath(packageJsonPath, currentDirectory, getCanonicalFileName), info);\n      }\n      function clear2() {\n        cache = void 0;\n      }\n      function entries() {\n        const iter = cache == null ? void 0 : cache.entries();\n        return iter ? arrayFrom(iter) : [];\n      }\n      function getInternalMap() {\n        return cache;\n      }\n    }\n    function getOrCreateCache(cacheWithRedirects, redirectedReference, key, create2) {\n      const cache = cacheWithRedirects.getOrCreateMapOfCacheRedirects(redirectedReference);\n      let result = cache.get(key);\n      if (!result) {\n        result = create2();\n        cache.set(key, result);\n      }\n      return result;\n    }\n    function createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, options) {\n      const directoryToModuleNameMap = createCacheWithRedirects(options);\n      return {\n        getFromDirectoryCache,\n        getOrCreateCacheForDirectory,\n        clear: clear2,\n        update\n      };\n      function clear2() {\n        directoryToModuleNameMap.clear();\n      }\n      function update(options2) {\n        directoryToModuleNameMap.update(options2);\n      }\n      function getOrCreateCacheForDirectory(directoryName, redirectedReference) {\n        const path = toPath(directoryName, currentDirectory, getCanonicalFileName);\n        return getOrCreateCache(directoryToModuleNameMap, redirectedReference, path, () => createModeAwareCache());\n      }\n      function getFromDirectoryCache(name, mode, directoryName, redirectedReference) {\n        var _a22, _b3;\n        const path = toPath(directoryName, currentDirectory, getCanonicalFileName);\n        return (_b3 = (_a22 = directoryToModuleNameMap.getMapOfCacheRedirects(redirectedReference)) == null ? void 0 : _a22.get(path)) == null ? void 0 : _b3.get(name, mode);\n      }\n    }\n    function createModeAwareCacheKey(specifier, mode) {\n      return mode === void 0 ? specifier : `${mode}|${specifier}`;\n    }\n    function createModeAwareCache() {\n      const underlying = /* @__PURE__ */ new Map();\n      const memoizedReverseKeys = /* @__PURE__ */ new Map();\n      const cache = {\n        get(specifier, mode) {\n          return underlying.get(getUnderlyingCacheKey(specifier, mode));\n        },\n        set(specifier, mode, value) {\n          underlying.set(getUnderlyingCacheKey(specifier, mode), value);\n          return cache;\n        },\n        delete(specifier, mode) {\n          underlying.delete(getUnderlyingCacheKey(specifier, mode));\n          return cache;\n        },\n        has(specifier, mode) {\n          return underlying.has(getUnderlyingCacheKey(specifier, mode));\n        },\n        forEach(cb) {\n          return underlying.forEach((elem, key) => {\n            const [specifier, mode] = memoizedReverseKeys.get(key);\n            return cb(elem, specifier, mode);\n          });\n        },\n        size() {\n          return underlying.size;\n        }\n      };\n      return cache;\n      function getUnderlyingCacheKey(specifier, mode) {\n        const result = createModeAwareCacheKey(specifier, mode);\n        memoizedReverseKeys.set(result, [specifier, mode]);\n        return result;\n      }\n    }\n    function zipToModeAwareCache(file, keys, values, nameAndModeGetter) {\n      Debug2.assert(keys.length === values.length);\n      const map2 = createModeAwareCache();\n      for (let i = 0; i < keys.length; ++i) {\n        const entry = keys[i];\n        map2.set(nameAndModeGetter.getName(entry), nameAndModeGetter.getMode(entry, file), values[i]);\n      }\n      return map2;\n    }\n    function getOriginalOrResolvedModuleFileName(result) {\n      return result.resolvedModule && (result.resolvedModule.originalPath || result.resolvedModule.resolvedFileName);\n    }\n    function getOriginalOrResolvedTypeReferenceFileName(result) {\n      return result.resolvedTypeReferenceDirective && (result.resolvedTypeReferenceDirective.originalPath || result.resolvedTypeReferenceDirective.resolvedFileName);\n    }\n    function createNonRelativeNameResolutionCache(currentDirectory, getCanonicalFileName, options, getResolvedFileName) {\n      const moduleNameToDirectoryMap = createCacheWithRedirects(options);\n      return {\n        getFromNonRelativeNameCache,\n        getOrCreateCacheForNonRelativeName,\n        clear: clear2,\n        update\n      };\n      function clear2() {\n        moduleNameToDirectoryMap.clear();\n      }\n      function update(options2) {\n        moduleNameToDirectoryMap.update(options2);\n      }\n      function getFromNonRelativeNameCache(nonRelativeModuleName, mode, directoryName, redirectedReference) {\n        var _a22, _b3;\n        Debug2.assert(!isExternalModuleNameRelative(nonRelativeModuleName));\n        return (_b3 = (_a22 = moduleNameToDirectoryMap.getMapOfCacheRedirects(redirectedReference)) == null ? void 0 : _a22.get(createModeAwareCacheKey(nonRelativeModuleName, mode))) == null ? void 0 : _b3.get(directoryName);\n      }\n      function getOrCreateCacheForNonRelativeName(nonRelativeModuleName, mode, redirectedReference) {\n        Debug2.assert(!isExternalModuleNameRelative(nonRelativeModuleName));\n        return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, createModeAwareCacheKey(nonRelativeModuleName, mode), createPerModuleNameCache);\n      }\n      function createPerModuleNameCache() {\n        const directoryPathMap = /* @__PURE__ */ new Map();\n        return { get, set };\n        function get(directory) {\n          return directoryPathMap.get(toPath(directory, currentDirectory, getCanonicalFileName));\n        }\n        function set(directory, result) {\n          const path = toPath(directory, currentDirectory, getCanonicalFileName);\n          if (directoryPathMap.has(path)) {\n            return;\n          }\n          directoryPathMap.set(path, result);\n          const resolvedFileName = getResolvedFileName(result);\n          const commonPrefix = resolvedFileName && getCommonPrefix(path, resolvedFileName);\n          let current = path;\n          while (current !== commonPrefix) {\n            const parent2 = getDirectoryPath(current);\n            if (parent2 === current || directoryPathMap.has(parent2)) {\n              break;\n            }\n            directoryPathMap.set(parent2, result);\n            current = parent2;\n          }\n        }\n        function getCommonPrefix(directory, resolution) {\n          const resolutionDirectory = toPath(getDirectoryPath(resolution), currentDirectory, getCanonicalFileName);\n          let i = 0;\n          const limit = Math.min(directory.length, resolutionDirectory.length);\n          while (i < limit && directory.charCodeAt(i) === resolutionDirectory.charCodeAt(i)) {\n            i++;\n          }\n          if (i === directory.length && (resolutionDirectory.length === i || resolutionDirectory[i] === directorySeparator)) {\n            return directory;\n          }\n          const rootLength = getRootLength(directory);\n          if (i < rootLength) {\n            return void 0;\n          }\n          const sep2 = directory.lastIndexOf(directorySeparator, i - 1);\n          if (sep2 === -1) {\n            return void 0;\n          }\n          return directory.substr(0, Math.max(sep2, rootLength));\n        }\n      }\n    }\n    function createModuleOrTypeReferenceResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, getResolvedFileName) {\n      const perDirectoryResolutionCache = createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, options);\n      const nonRelativeNameResolutionCache = createNonRelativeNameResolutionCache(\n        currentDirectory,\n        getCanonicalFileName,\n        options,\n        getResolvedFileName\n      );\n      packageJsonInfoCache != null ? packageJsonInfoCache : packageJsonInfoCache = createPackageJsonInfoCache(currentDirectory, getCanonicalFileName);\n      return {\n        ...packageJsonInfoCache,\n        ...perDirectoryResolutionCache,\n        ...nonRelativeNameResolutionCache,\n        clear: clear2,\n        update,\n        getPackageJsonInfoCache: () => packageJsonInfoCache,\n        clearAllExceptPackageJsonInfoCache\n      };\n      function clear2() {\n        clearAllExceptPackageJsonInfoCache();\n        packageJsonInfoCache.clear();\n      }\n      function clearAllExceptPackageJsonInfoCache() {\n        perDirectoryResolutionCache.clear();\n        nonRelativeNameResolutionCache.clear();\n      }\n      function update(options2) {\n        perDirectoryResolutionCache.update(options2);\n        nonRelativeNameResolutionCache.update(options2);\n      }\n    }\n    function createModuleResolutionCache(currentDirectory, getCanonicalFileName, options) {\n      const result = createModuleOrTypeReferenceResolutionCache(\n        currentDirectory,\n        getCanonicalFileName,\n        options,\n        /*packageJsonInfoCache*/\n        void 0,\n        getOriginalOrResolvedModuleFileName\n      );\n      result.getOrCreateCacheForModuleName = (nonRelativeName, mode, redirectedReference) => result.getOrCreateCacheForNonRelativeName(nonRelativeName, mode, redirectedReference);\n      return result;\n    }\n    function createTypeReferenceDirectiveResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache) {\n      return createModuleOrTypeReferenceResolutionCache(\n        currentDirectory,\n        getCanonicalFileName,\n        options,\n        packageJsonInfoCache,\n        getOriginalOrResolvedTypeReferenceFileName\n      );\n    }\n    function resolveModuleNameFromCache(moduleName, containingFile, cache, mode) {\n      const containingDirectory = getDirectoryPath(containingFile);\n      return cache.getFromDirectoryCache(\n        moduleName,\n        mode,\n        containingDirectory,\n        /*redirectedReference*/\n        void 0\n      );\n    }\n    function resolveModuleName(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n      const traceEnabled = isTraceEnabled(compilerOptions, host);\n      if (redirectedReference) {\n        compilerOptions = redirectedReference.commandLine.options;\n      }\n      if (traceEnabled) {\n        trace(host, Diagnostics.Resolving_module_0_from_1, moduleName, containingFile);\n        if (redirectedReference) {\n          trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName);\n        }\n      }\n      const containingDirectory = getDirectoryPath(containingFile);\n      let result = cache == null ? void 0 : cache.getFromDirectoryCache(moduleName, resolutionMode, containingDirectory, redirectedReference);\n      if (result) {\n        if (traceEnabled) {\n          trace(host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory);\n        }\n      } else {\n        let moduleResolution = compilerOptions.moduleResolution;\n        if (moduleResolution === void 0) {\n          switch (getEmitModuleKind(compilerOptions)) {\n            case 1:\n              moduleResolution = 2;\n              break;\n            case 100:\n              moduleResolution = 3;\n              break;\n            case 199:\n              moduleResolution = 99;\n              break;\n            default:\n              moduleResolution = 1;\n              break;\n          }\n          if (traceEnabled) {\n            trace(host, Diagnostics.Module_resolution_kind_is_not_specified_using_0, ModuleResolutionKind[moduleResolution]);\n          }\n        } else {\n          if (traceEnabled) {\n            trace(host, Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0, ModuleResolutionKind[moduleResolution]);\n          }\n        }\n        perfLogger.logStartResolveModule(\n          moduleName\n          /* , containingFile, ModuleResolutionKind[moduleResolution]*/\n        );\n        switch (moduleResolution) {\n          case 3:\n            result = node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode);\n            break;\n          case 99:\n            result = nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode);\n            break;\n          case 2:\n            result = nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);\n            break;\n          case 1:\n            result = classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);\n            break;\n          case 100:\n            result = bundlerModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);\n            break;\n          default:\n            return Debug2.fail(`Unexpected moduleResolution: ${moduleResolution}`);\n        }\n        if (result && result.resolvedModule)\n          perfLogger.logInfoEvent(`Module \"${moduleName}\" resolved to \"${result.resolvedModule.resolvedFileName}\"`);\n        perfLogger.logStopResolveModule(result && result.resolvedModule ? \"\" + result.resolvedModule.resolvedFileName : \"null\");\n        cache == null ? void 0 : cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference).set(moduleName, resolutionMode, result);\n        if (!isExternalModuleNameRelative(moduleName)) {\n          cache == null ? void 0 : cache.getOrCreateCacheForNonRelativeName(moduleName, resolutionMode, redirectedReference).set(containingDirectory, result);\n        }\n      }\n      if (traceEnabled) {\n        if (result.resolvedModule) {\n          if (result.resolvedModule.packageId) {\n            trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2, moduleName, result.resolvedModule.resolvedFileName, packageIdToString(result.resolvedModule.packageId));\n          } else {\n            trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1, moduleName, result.resolvedModule.resolvedFileName);\n          }\n        } else {\n          trace(host, Diagnostics.Module_name_0_was_not_resolved, moduleName);\n        }\n      }\n      return result;\n    }\n    function tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loader, state) {\n      const resolved = tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state);\n      if (resolved)\n        return resolved.value;\n      if (!isExternalModuleNameRelative(moduleName)) {\n        return tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state);\n      } else {\n        return tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state);\n      }\n    }\n    function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {\n      var _a22;\n      const { baseUrl, paths, configFile } = state.compilerOptions;\n      if (paths && !pathIsRelative(moduleName)) {\n        if (state.traceEnabled) {\n          if (baseUrl) {\n            trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName);\n          }\n          trace(state.host, Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);\n        }\n        const baseDirectory = getPathsBasePath(state.compilerOptions, state.host);\n        const pathPatterns = (configFile == null ? void 0 : configFile.configFileSpecs) ? (_a22 = configFile.configFileSpecs).pathPatterns || (_a22.pathPatterns = tryParsePatterns(paths)) : void 0;\n        return tryLoadModuleUsingPaths(\n          extensions,\n          moduleName,\n          baseDirectory,\n          paths,\n          pathPatterns,\n          loader,\n          /*onlyRecordFailures*/\n          false,\n          state\n        );\n      }\n    }\n    function tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state) {\n      if (!state.compilerOptions.rootDirs) {\n        return void 0;\n      }\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0, moduleName);\n      }\n      const candidate = normalizePath(combinePaths(containingDirectory, moduleName));\n      let matchedRootDir;\n      let matchedNormalizedPrefix;\n      for (const rootDir of state.compilerOptions.rootDirs) {\n        let normalizedRoot = normalizePath(rootDir);\n        if (!endsWith(normalizedRoot, directorySeparator)) {\n          normalizedRoot += directorySeparator;\n        }\n        const isLongestMatchingPrefix = startsWith(candidate, normalizedRoot) && (matchedNormalizedPrefix === void 0 || matchedNormalizedPrefix.length < normalizedRoot.length);\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2, normalizedRoot, candidate, isLongestMatchingPrefix);\n        }\n        if (isLongestMatchingPrefix) {\n          matchedNormalizedPrefix = normalizedRoot;\n          matchedRootDir = rootDir;\n        }\n      }\n      if (matchedNormalizedPrefix) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Longest_matching_prefix_for_0_is_1, candidate, matchedNormalizedPrefix);\n        }\n        const suffix = candidate.substr(matchedNormalizedPrefix.length);\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, matchedNormalizedPrefix, candidate);\n        }\n        const resolvedFileName = loader(extensions, candidate, !directoryProbablyExists(containingDirectory, state.host), state);\n        if (resolvedFileName) {\n          return resolvedFileName;\n        }\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Trying_other_entries_in_rootDirs);\n        }\n        for (const rootDir of state.compilerOptions.rootDirs) {\n          if (rootDir === matchedRootDir) {\n            continue;\n          }\n          const candidate2 = combinePaths(normalizePath(rootDir), suffix);\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, rootDir, candidate2);\n          }\n          const baseDirectory = getDirectoryPath(candidate2);\n          const resolvedFileName2 = loader(extensions, candidate2, !directoryProbablyExists(baseDirectory, state.host), state);\n          if (resolvedFileName2) {\n            return resolvedFileName2;\n          }\n        }\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Module_resolution_using_rootDirs_has_failed);\n        }\n      }\n      return void 0;\n    }\n    function tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state) {\n      const { baseUrl } = state.compilerOptions;\n      if (!baseUrl) {\n        return void 0;\n      }\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName);\n      }\n      const candidate = normalizePath(combinePaths(baseUrl, moduleName));\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2, moduleName, baseUrl, candidate);\n      }\n      return loader(extensions, candidate, !directoryProbablyExists(getDirectoryPath(candidate), state.host), state);\n    }\n    function resolveJSModule(moduleName, initialDir, host) {\n      const { resolvedModule, failedLookupLocations } = tryResolveJSModuleWorker(moduleName, initialDir, host);\n      if (!resolvedModule) {\n        throw new Error(`Could not resolve JS module '${moduleName}' starting at '${initialDir}'. Looked in: ${failedLookupLocations == null ? void 0 : failedLookupLocations.join(\", \")}`);\n      }\n      return resolvedModule.resolvedFileName;\n    }\n    function node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n      return nodeNextModuleNameResolverWorker(\n        30,\n        moduleName,\n        containingFile,\n        compilerOptions,\n        host,\n        cache,\n        redirectedReference,\n        resolutionMode\n      );\n    }\n    function nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n      return nodeNextModuleNameResolverWorker(\n        30,\n        moduleName,\n        containingFile,\n        compilerOptions,\n        host,\n        cache,\n        redirectedReference,\n        resolutionMode\n      );\n    }\n    function nodeNextModuleNameResolverWorker(features, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n      const containingDirectory = getDirectoryPath(containingFile);\n      const esmMode = resolutionMode === 99 ? 32 : 0;\n      let extensions = compilerOptions.noDtsResolution ? 3 : 1 | 2 | 4;\n      if (getResolveJsonModule(compilerOptions)) {\n        extensions |= 8;\n      }\n      return nodeModuleNameResolverWorker(\n        features | esmMode,\n        moduleName,\n        containingDirectory,\n        compilerOptions,\n        host,\n        cache,\n        extensions,\n        /*isConfigLookup*/\n        false,\n        redirectedReference\n      );\n    }\n    function tryResolveJSModuleWorker(moduleName, initialDir, host) {\n      return nodeModuleNameResolverWorker(\n        0,\n        moduleName,\n        initialDir,\n        { moduleResolution: 2, allowJs: true },\n        host,\n        /*cache*/\n        void 0,\n        2,\n        /*isConfigLookup*/\n        false,\n        /*redirectedReferences*/\n        void 0\n      );\n    }\n    function bundlerModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference) {\n      const containingDirectory = getDirectoryPath(containingFile);\n      let extensions = compilerOptions.noDtsResolution ? 3 : 1 | 2 | 4;\n      if (getResolveJsonModule(compilerOptions)) {\n        extensions |= 8;\n      }\n      return nodeModuleNameResolverWorker(\n        getNodeResolutionFeatures(compilerOptions),\n        moduleName,\n        containingDirectory,\n        compilerOptions,\n        host,\n        cache,\n        extensions,\n        /*isConfigLookup*/\n        false,\n        redirectedReference\n      );\n    }\n    function nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, isConfigLookup) {\n      let extensions;\n      if (isConfigLookup) {\n        extensions = 8;\n      } else if (compilerOptions.noDtsResolution) {\n        extensions = 3;\n        if (getResolveJsonModule(compilerOptions))\n          extensions |= 8;\n      } else {\n        extensions = getResolveJsonModule(compilerOptions) ? 1 | 2 | 4 | 8 : 1 | 2 | 4;\n      }\n      return nodeModuleNameResolverWorker(0, moduleName, getDirectoryPath(containingFile), compilerOptions, host, cache, extensions, !!isConfigLookup, redirectedReference);\n    }\n    function nodeNextJsonConfigResolver(moduleName, containingFile, host) {\n      return nodeModuleNameResolverWorker(\n        8,\n        moduleName,\n        getDirectoryPath(containingFile),\n        {\n          moduleResolution: 99\n          /* NodeNext */\n        },\n        host,\n        /*cache*/\n        void 0,\n        8,\n        /*isConfigLookup*/\n        true,\n        /*redirectedReference*/\n        void 0\n      );\n    }\n    function nodeModuleNameResolverWorker(features, moduleName, containingDirectory, compilerOptions, host, cache, extensions, isConfigLookup, redirectedReference) {\n      var _a22, _b3, _c, _d;\n      const traceEnabled = isTraceEnabled(compilerOptions, host);\n      const failedLookupLocations = [];\n      const affectingLocations = [];\n      const conditions = getConditions(compilerOptions, !!(features & 32));\n      const diagnostics = [];\n      const state = {\n        compilerOptions,\n        host,\n        traceEnabled,\n        failedLookupLocations,\n        affectingLocations,\n        packageJsonInfoCache: cache,\n        features,\n        conditions,\n        requestContainingDirectory: containingDirectory,\n        reportDiagnostic: (diag2) => void diagnostics.push(diag2),\n        isConfigLookup,\n        candidateIsFromPackageJsonField: false\n      };\n      if (traceEnabled && moduleResolutionSupportsPackageJsonExportsAndImports(getEmitModuleResolutionKind(compilerOptions))) {\n        trace(host, Diagnostics.Resolving_in_0_mode_with_conditions_1, features & 32 ? \"ESM\" : \"CJS\", conditions.map((c) => `'${c}'`).join(\", \"));\n      }\n      let result;\n      if (getEmitModuleResolutionKind(compilerOptions) === 2) {\n        const priorityExtensions = extensions & (1 | 4);\n        const secondaryExtensions = extensions & ~(1 | 4);\n        result = priorityExtensions && tryResolve(priorityExtensions, state) || secondaryExtensions && tryResolve(secondaryExtensions, state) || void 0;\n      } else {\n        result = tryResolve(extensions, state);\n      }\n      let legacyResult;\n      if (((_a22 = result == null ? void 0 : result.value) == null ? void 0 : _a22.isExternalLibraryImport) && !isConfigLookup && extensions & (1 | 4) && features & 8 && !isExternalModuleNameRelative(moduleName) && !extensionIsOk(1 | 4, result.value.resolved.extension) && conditions.indexOf(\"import\") > -1) {\n        traceIfEnabled(state, Diagnostics.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);\n        const diagnosticState = {\n          ...state,\n          features: state.features & ~8,\n          failedLookupLocations: [],\n          affectingLocations: [],\n          reportDiagnostic: noop\n        };\n        const diagnosticResult = tryResolve(extensions & (1 | 4), diagnosticState);\n        if ((_b3 = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _b3.isExternalLibraryImport) {\n          legacyResult = diagnosticResult.value.resolved.path;\n        }\n      }\n      return createResolvedModuleWithFailedLookupLocationsHandlingSymlink(\n        moduleName,\n        (_c = result == null ? void 0 : result.value) == null ? void 0 : _c.resolved,\n        (_d = result == null ? void 0 : result.value) == null ? void 0 : _d.isExternalLibraryImport,\n        failedLookupLocations,\n        affectingLocations,\n        diagnostics,\n        state,\n        legacyResult\n      );\n      function tryResolve(extensions2, state2) {\n        const loader = (extensions3, candidate, onlyRecordFailures, state3) => nodeLoadModuleByRelativeName(\n          extensions3,\n          candidate,\n          onlyRecordFailures,\n          state3,\n          /*considerPackageJson*/\n          true\n        );\n        const resolved = tryLoadModuleUsingOptionalResolutionSettings(extensions2, moduleName, containingDirectory, loader, state2);\n        if (resolved) {\n          return toSearchResult({ resolved, isExternalLibraryImport: pathContainsNodeModules(resolved.path) });\n        }\n        if (!isExternalModuleNameRelative(moduleName)) {\n          let resolved2;\n          if (features & 2 && startsWith(moduleName, \"#\")) {\n            resolved2 = loadModuleFromImports(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference);\n          }\n          if (!resolved2 && features & 4) {\n            resolved2 = loadModuleFromSelfNameReference(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference);\n          }\n          if (!resolved2) {\n            if (traceEnabled) {\n              trace(host, Diagnostics.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1, moduleName, formatExtensions(extensions2));\n            }\n            resolved2 = loadModuleFromNearestNodeModulesDirectory(extensions2, moduleName, containingDirectory, state2, cache, redirectedReference);\n          }\n          return resolved2 && { value: resolved2.value && { resolved: resolved2.value, isExternalLibraryImport: true } };\n        } else {\n          const { path: candidate, parts } = normalizePathForCJSResolution(containingDirectory, moduleName);\n          const resolved2 = nodeLoadModuleByRelativeName(\n            extensions2,\n            candidate,\n            /*onlyRecordFailures*/\n            false,\n            state2,\n            /*considerPackageJson*/\n            true\n          );\n          return resolved2 && toSearchResult({ resolved: resolved2, isExternalLibraryImport: contains(parts, \"node_modules\") });\n        }\n      }\n    }\n    function normalizePathForCJSResolution(containingDirectory, moduleName) {\n      const combined = combinePaths(containingDirectory, moduleName);\n      const parts = getPathComponents(combined);\n      const lastPart = lastOrUndefined(parts);\n      const path = lastPart === \".\" || lastPart === \"..\" ? ensureTrailingDirectorySeparator(normalizePath(combined)) : normalizePath(combined);\n      return { path, parts };\n    }\n    function realPath(path, host, traceEnabled) {\n      if (!host.realpath) {\n        return path;\n      }\n      const real = normalizePath(host.realpath(path));\n      if (traceEnabled) {\n        trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);\n      }\n      Debug2.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`);\n      return real;\n    }\n    function nodeLoadModuleByRelativeName(extensions, candidate, onlyRecordFailures, state, considerPackageJson) {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1, candidate, formatExtensions(extensions));\n      }\n      if (!hasTrailingDirectorySeparator(candidate)) {\n        if (!onlyRecordFailures) {\n          const parentOfCandidate = getDirectoryPath(candidate);\n          if (!directoryProbablyExists(parentOfCandidate, state.host)) {\n            if (state.traceEnabled) {\n              trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, parentOfCandidate);\n            }\n            onlyRecordFailures = true;\n          }\n        }\n        const resolvedFromFile = loadModuleFromFile(extensions, candidate, onlyRecordFailures, state);\n        if (resolvedFromFile) {\n          const packageDirectory = considerPackageJson ? parseNodeModuleFromPath(resolvedFromFile.path) : void 0;\n          const packageInfo = packageDirectory ? getPackageJsonInfo(\n            packageDirectory,\n            /*onlyRecordFailures*/\n            false,\n            state\n          ) : void 0;\n          return withPackageId(packageInfo, resolvedFromFile);\n        }\n      }\n      if (!onlyRecordFailures) {\n        const candidateExists = directoryProbablyExists(candidate, state.host);\n        if (!candidateExists) {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, candidate);\n          }\n          onlyRecordFailures = true;\n        }\n      }\n      if (!(state.features & 32)) {\n        return loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson);\n      }\n      return void 0;\n    }\n    function pathContainsNodeModules(path) {\n      return stringContains(path, nodeModulesPathPart);\n    }\n    function parseNodeModuleFromPath(resolved) {\n      const path = normalizePath(resolved);\n      const idx = path.lastIndexOf(nodeModulesPathPart);\n      if (idx === -1) {\n        return void 0;\n      }\n      const indexAfterNodeModules = idx + nodeModulesPathPart.length;\n      let indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterNodeModules);\n      if (path.charCodeAt(indexAfterNodeModules) === 64) {\n        indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterPackageName);\n      }\n      return path.slice(0, indexAfterPackageName);\n    }\n    function moveToNextDirectorySeparatorIfAvailable(path, prevSeparatorIndex) {\n      const nextSeparatorIndex = path.indexOf(directorySeparator, prevSeparatorIndex + 1);\n      return nextSeparatorIndex === -1 ? prevSeparatorIndex : nextSeparatorIndex;\n    }\n    function loadModuleFromFileNoPackageId(extensions, candidate, onlyRecordFailures, state) {\n      return noPackageId(loadModuleFromFile(extensions, candidate, onlyRecordFailures, state));\n    }\n    function loadModuleFromFile(extensions, candidate, onlyRecordFailures, state) {\n      const resolvedByReplacingExtension = loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state);\n      if (resolvedByReplacingExtension) {\n        return resolvedByReplacingExtension;\n      }\n      if (!(state.features & 32)) {\n        const resolvedByAddingExtension = tryAddingExtensions(candidate, extensions, \"\", onlyRecordFailures, state);\n        if (resolvedByAddingExtension) {\n          return resolvedByAddingExtension;\n        }\n      }\n    }\n    function loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state) {\n      const filename = getBaseFileName(candidate);\n      if (filename.indexOf(\".\") === -1) {\n        return void 0;\n      }\n      let extensionless = removeFileExtension(candidate);\n      if (extensionless === candidate) {\n        extensionless = candidate.substring(0, candidate.lastIndexOf(\".\"));\n      }\n      const extension = candidate.substring(extensionless.length);\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.File_name_0_has_a_1_extension_stripping_it, candidate, extension);\n      }\n      return tryAddingExtensions(extensionless, extensions, extension, onlyRecordFailures, state);\n    }\n    function loadFileNameFromPackageJsonField(extensions, candidate, onlyRecordFailures, state) {\n      if (extensions & 1 && fileExtensionIsOneOf(candidate, supportedTSImplementationExtensions) || extensions & 4 && fileExtensionIsOneOf(candidate, supportedDeclarationExtensions)) {\n        const result = tryFile(candidate, onlyRecordFailures, state);\n        return result !== void 0 ? { path: candidate, ext: tryExtractTSExtension(candidate), resolvedUsingTsExtension: void 0 } : void 0;\n      }\n      if (state.isConfigLookup && extensions === 8 && fileExtensionIs(\n        candidate,\n        \".json\"\n        /* Json */\n      )) {\n        const result = tryFile(candidate, onlyRecordFailures, state);\n        return result !== void 0 ? { path: candidate, ext: \".json\", resolvedUsingTsExtension: void 0 } : void 0;\n      }\n      return loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state);\n    }\n    function tryAddingExtensions(candidate, extensions, originalExtension, onlyRecordFailures, state) {\n      if (!onlyRecordFailures) {\n        const directory = getDirectoryPath(candidate);\n        if (directory) {\n          onlyRecordFailures = !directoryProbablyExists(directory, state.host);\n        }\n      }\n      switch (originalExtension) {\n        case \".mjs\":\n        case \".mts\":\n        case \".d.mts\":\n          return extensions & 1 && tryExtension(\n            \".mts\",\n            originalExtension === \".mts\" || originalExtension === \".d.mts\"\n            /* Dmts */\n          ) || extensions & 4 && tryExtension(\n            \".d.mts\",\n            originalExtension === \".mts\" || originalExtension === \".d.mts\"\n            /* Dmts */\n          ) || extensions & 2 && tryExtension(\n            \".mjs\"\n            /* Mjs */\n          ) || void 0;\n        case \".cjs\":\n        case \".cts\":\n        case \".d.cts\":\n          return extensions & 1 && tryExtension(\n            \".cts\",\n            originalExtension === \".cts\" || originalExtension === \".d.cts\"\n            /* Dcts */\n          ) || extensions & 4 && tryExtension(\n            \".d.cts\",\n            originalExtension === \".cts\" || originalExtension === \".d.cts\"\n            /* Dcts */\n          ) || extensions & 2 && tryExtension(\n            \".cjs\"\n            /* Cjs */\n          ) || void 0;\n        case \".json\":\n          return extensions & 4 && tryExtension(\".d.json.ts\") || extensions & 8 && tryExtension(\n            \".json\"\n            /* Json */\n          ) || void 0;\n        case \".tsx\":\n        case \".jsx\":\n          return extensions & 1 && (tryExtension(\n            \".tsx\",\n            originalExtension === \".tsx\"\n            /* Tsx */\n          ) || tryExtension(\n            \".ts\",\n            originalExtension === \".tsx\"\n            /* Tsx */\n          )) || extensions & 4 && tryExtension(\n            \".d.ts\",\n            originalExtension === \".tsx\"\n            /* Tsx */\n          ) || extensions & 2 && (tryExtension(\n            \".jsx\"\n            /* Jsx */\n          ) || tryExtension(\n            \".js\"\n            /* Js */\n          )) || void 0;\n        case \".ts\":\n        case \".d.ts\":\n        case \".js\":\n        case \"\":\n          return extensions & 1 && (tryExtension(\n            \".ts\",\n            originalExtension === \".ts\" || originalExtension === \".d.ts\"\n            /* Dts */\n          ) || tryExtension(\n            \".tsx\",\n            originalExtension === \".ts\" || originalExtension === \".d.ts\"\n            /* Dts */\n          )) || extensions & 4 && tryExtension(\n            \".d.ts\",\n            originalExtension === \".ts\" || originalExtension === \".d.ts\"\n            /* Dts */\n          ) || extensions & 2 && (tryExtension(\n            \".js\"\n            /* Js */\n          ) || tryExtension(\n            \".jsx\"\n            /* Jsx */\n          )) || state.isConfigLookup && tryExtension(\n            \".json\"\n            /* Json */\n          ) || void 0;\n        default:\n          return extensions & 4 && !isDeclarationFileName(candidate + originalExtension) && tryExtension(`.d${originalExtension}.ts`) || void 0;\n      }\n      function tryExtension(ext, resolvedUsingTsExtension) {\n        const path = tryFile(candidate + ext, onlyRecordFailures, state);\n        return path === void 0 ? void 0 : { path, ext, resolvedUsingTsExtension: !state.candidateIsFromPackageJsonField && resolvedUsingTsExtension };\n      }\n    }\n    function tryFile(fileName, onlyRecordFailures, state) {\n      var _a22, _b3;\n      if (!((_a22 = state.compilerOptions.moduleSuffixes) == null ? void 0 : _a22.length)) {\n        return tryFileLookup(fileName, onlyRecordFailures, state);\n      }\n      const ext = (_b3 = tryGetExtensionFromPath2(fileName)) != null ? _b3 : \"\";\n      const fileNameNoExtension = ext ? removeExtension(fileName, ext) : fileName;\n      return forEach(state.compilerOptions.moduleSuffixes, (suffix) => tryFileLookup(fileNameNoExtension + suffix + ext, onlyRecordFailures, state));\n    }\n    function tryFileLookup(fileName, onlyRecordFailures, state) {\n      if (!onlyRecordFailures) {\n        if (state.host.fileExists(fileName)) {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.File_0_exists_use_it_as_a_name_resolution_result, fileName);\n          }\n          return fileName;\n        } else {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.File_0_does_not_exist, fileName);\n          }\n        }\n      }\n      state.failedLookupLocations.push(fileName);\n      return void 0;\n    }\n    function loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson = true) {\n      const packageInfo = considerPackageJson ? getPackageJsonInfo(candidate, onlyRecordFailures, state) : void 0;\n      const packageJsonContent = packageInfo && packageInfo.contents.packageJsonContent;\n      const versionPaths = packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state);\n      return withPackageId(packageInfo, loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageJsonContent, versionPaths));\n    }\n    function getEntrypointsFromPackageJsonInfo(packageJsonInfo, options, host, cache, resolveJs) {\n      if (!resolveJs && packageJsonInfo.contents.resolvedEntrypoints !== void 0) {\n        return packageJsonInfo.contents.resolvedEntrypoints;\n      }\n      let entrypoints;\n      const extensions = 1 | 4 | (resolveJs ? 2 : 0);\n      const features = getNodeResolutionFeatures(options);\n      const loadPackageJsonMainState = getTemporaryModuleResolutionState(cache == null ? void 0 : cache.getPackageJsonInfoCache(), host, options);\n      loadPackageJsonMainState.conditions = getConditions(options);\n      loadPackageJsonMainState.requestContainingDirectory = packageJsonInfo.packageDirectory;\n      const mainResolution = loadNodeModuleFromDirectoryWorker(\n        extensions,\n        packageJsonInfo.packageDirectory,\n        /*onlyRecordFailures*/\n        false,\n        loadPackageJsonMainState,\n        packageJsonInfo.contents.packageJsonContent,\n        getVersionPathsOfPackageJsonInfo(packageJsonInfo, loadPackageJsonMainState)\n      );\n      entrypoints = append(entrypoints, mainResolution == null ? void 0 : mainResolution.path);\n      if (features & 8 && packageJsonInfo.contents.packageJsonContent.exports) {\n        const conditionSets = deduplicate(\n          [getConditions(\n            options,\n            /*esmMode*/\n            true\n          ), getConditions(\n            options,\n            /*esmMode*/\n            false\n          )],\n          arrayIsEqualTo\n        );\n        for (const conditions of conditionSets) {\n          const loadPackageJsonExportsState = { ...loadPackageJsonMainState, failedLookupLocations: [], conditions };\n          const exportResolutions = loadEntrypointsFromExportMap(\n            packageJsonInfo,\n            packageJsonInfo.contents.packageJsonContent.exports,\n            loadPackageJsonExportsState,\n            extensions\n          );\n          if (exportResolutions) {\n            for (const resolution of exportResolutions) {\n              entrypoints = appendIfUnique(entrypoints, resolution.path);\n            }\n          }\n        }\n      }\n      return packageJsonInfo.contents.resolvedEntrypoints = entrypoints || false;\n    }\n    function loadEntrypointsFromExportMap(scope, exports, state, extensions) {\n      let entrypoints;\n      if (isArray(exports)) {\n        for (const target of exports) {\n          loadEntrypointsFromTargetExports(target);\n        }\n      } else if (typeof exports === \"object\" && exports !== null && allKeysStartWithDot(exports)) {\n        for (const key in exports) {\n          loadEntrypointsFromTargetExports(exports[key]);\n        }\n      } else {\n        loadEntrypointsFromTargetExports(exports);\n      }\n      return entrypoints;\n      function loadEntrypointsFromTargetExports(target) {\n        var _a22, _b3;\n        if (typeof target === \"string\" && startsWith(target, \"./\") && target.indexOf(\"*\") === -1) {\n          const partsAfterFirst = getPathComponents(target).slice(2);\n          if (partsAfterFirst.indexOf(\"..\") >= 0 || partsAfterFirst.indexOf(\".\") >= 0 || partsAfterFirst.indexOf(\"node_modules\") >= 0) {\n            return false;\n          }\n          const resolvedTarget = combinePaths(scope.packageDirectory, target);\n          const finalPath = getNormalizedAbsolutePath(resolvedTarget, (_b3 = (_a22 = state.host).getCurrentDirectory) == null ? void 0 : _b3.call(_a22));\n          const result = loadFileNameFromPackageJsonField(\n            extensions,\n            finalPath,\n            /*recordOnlyFailures*/\n            false,\n            state\n          );\n          if (result) {\n            entrypoints = appendIfUnique(entrypoints, result, (a, b) => a.path === b.path);\n            return true;\n          }\n        } else if (Array.isArray(target)) {\n          for (const t of target) {\n            const success = loadEntrypointsFromTargetExports(t);\n            if (success) {\n              return true;\n            }\n          }\n        } else if (typeof target === \"object\" && target !== null) {\n          return forEach(getOwnKeys(target), (key) => {\n            if (key === \"default\" || contains(state.conditions, key) || isApplicableVersionedTypesKey(state.conditions, key)) {\n              loadEntrypointsFromTargetExports(target[key]);\n              return true;\n            }\n          });\n        }\n      }\n    }\n    function getTemporaryModuleResolutionState(packageJsonInfoCache, host, options) {\n      return {\n        host,\n        compilerOptions: options,\n        traceEnabled: isTraceEnabled(options, host),\n        failedLookupLocations: noopPush,\n        affectingLocations: noopPush,\n        packageJsonInfoCache,\n        features: 0,\n        conditions: emptyArray,\n        requestContainingDirectory: void 0,\n        reportDiagnostic: noop,\n        isConfigLookup: false,\n        candidateIsFromPackageJsonField: false\n      };\n    }\n    function getPackageScopeForPath(fileName, state) {\n      const parts = getPathComponents(fileName);\n      parts.pop();\n      while (parts.length > 0) {\n        const pkg = getPackageJsonInfo(\n          getPathFromPathComponents(parts),\n          /*onlyRecordFailures*/\n          false,\n          state\n        );\n        if (pkg) {\n          return pkg;\n        }\n        parts.pop();\n      }\n      return void 0;\n    }\n    function getVersionPathsOfPackageJsonInfo(packageJsonInfo, state) {\n      if (packageJsonInfo.contents.versionPaths === void 0) {\n        packageJsonInfo.contents.versionPaths = readPackageJsonTypesVersionPaths(packageJsonInfo.contents.packageJsonContent, state) || false;\n      }\n      return packageJsonInfo.contents.versionPaths || void 0;\n    }\n    function getPackageJsonInfo(packageDirectory, onlyRecordFailures, state) {\n      var _a22, _b3, _c;\n      const { host, traceEnabled } = state;\n      const packageJsonPath = combinePaths(packageDirectory, \"package.json\");\n      if (onlyRecordFailures) {\n        state.failedLookupLocations.push(packageJsonPath);\n        return void 0;\n      }\n      const existing = (_a22 = state.packageJsonInfoCache) == null ? void 0 : _a22.getPackageJsonInfo(packageJsonPath);\n      if (existing !== void 0) {\n        if (typeof existing !== \"boolean\") {\n          if (traceEnabled)\n            trace(host, Diagnostics.File_0_exists_according_to_earlier_cached_lookups, packageJsonPath);\n          state.affectingLocations.push(packageJsonPath);\n          return existing.packageDirectory === packageDirectory ? existing : { packageDirectory, contents: existing.contents };\n        } else {\n          if (existing && traceEnabled)\n            trace(host, Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups, packageJsonPath);\n          state.failedLookupLocations.push(packageJsonPath);\n          return void 0;\n        }\n      }\n      const directoryExists = directoryProbablyExists(packageDirectory, host);\n      if (directoryExists && host.fileExists(packageJsonPath)) {\n        const packageJsonContent = readJson(packageJsonPath, host);\n        if (traceEnabled) {\n          trace(host, Diagnostics.Found_package_json_at_0, packageJsonPath);\n        }\n        const result = { packageDirectory, contents: { packageJsonContent, versionPaths: void 0, resolvedEntrypoints: void 0 } };\n        (_b3 = state.packageJsonInfoCache) == null ? void 0 : _b3.setPackageJsonInfo(packageJsonPath, result);\n        state.affectingLocations.push(packageJsonPath);\n        return result;\n      } else {\n        if (directoryExists && traceEnabled) {\n          trace(host, Diagnostics.File_0_does_not_exist, packageJsonPath);\n        }\n        (_c = state.packageJsonInfoCache) == null ? void 0 : _c.setPackageJsonInfo(packageJsonPath, directoryExists);\n        state.failedLookupLocations.push(packageJsonPath);\n      }\n    }\n    function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, jsonContent, versionPaths) {\n      let packageFile;\n      if (jsonContent) {\n        if (state.isConfigLookup) {\n          packageFile = readPackageJsonTSConfigField(jsonContent, candidate, state);\n        } else {\n          packageFile = extensions & 4 && readPackageJsonTypesFields(jsonContent, candidate, state) || extensions & (3 | 4) && readPackageJsonMainField(jsonContent, candidate, state) || void 0;\n        }\n      }\n      const loader = (extensions2, candidate2, onlyRecordFailures2, state2) => {\n        const fromFile = tryFile(candidate2, onlyRecordFailures2, state2);\n        if (fromFile) {\n          const resolved = resolvedIfExtensionMatches(extensions2, fromFile);\n          if (resolved) {\n            return noPackageId(resolved);\n          }\n          if (state2.traceEnabled) {\n            trace(state2.host, Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it, fromFile);\n          }\n        }\n        const expandedExtensions = extensions2 === 4 ? 1 | 4 : extensions2;\n        const features = state2.features;\n        const candidateIsFromPackageJsonField = state2.candidateIsFromPackageJsonField;\n        state2.candidateIsFromPackageJsonField = true;\n        if ((jsonContent == null ? void 0 : jsonContent.type) !== \"module\") {\n          state2.features &= ~32;\n        }\n        const result = nodeLoadModuleByRelativeName(\n          expandedExtensions,\n          candidate2,\n          onlyRecordFailures2,\n          state2,\n          /*considerPackageJson*/\n          false\n        );\n        state2.features = features;\n        state2.candidateIsFromPackageJsonField = candidateIsFromPackageJsonField;\n        return result;\n      };\n      const onlyRecordFailuresForPackageFile = packageFile ? !directoryProbablyExists(getDirectoryPath(packageFile), state.host) : void 0;\n      const onlyRecordFailuresForIndex = onlyRecordFailures || !directoryProbablyExists(candidate, state.host);\n      const indexPath = combinePaths(candidate, state.isConfigLookup ? \"tsconfig\" : \"index\");\n      if (versionPaths && (!packageFile || containsPath(candidate, packageFile))) {\n        const moduleName = getRelativePathFromDirectory(\n          candidate,\n          packageFile || indexPath,\n          /*ignoreCase*/\n          false\n        );\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, moduleName);\n        }\n        const result = tryLoadModuleUsingPaths(\n          extensions,\n          moduleName,\n          candidate,\n          versionPaths.paths,\n          /*pathPatterns*/\n          void 0,\n          loader,\n          onlyRecordFailuresForPackageFile || onlyRecordFailuresForIndex,\n          state\n        );\n        if (result) {\n          return removeIgnoredPackageId(result.value);\n        }\n      }\n      const packageFileResult = packageFile && removeIgnoredPackageId(loader(extensions, packageFile, onlyRecordFailuresForPackageFile, state));\n      if (packageFileResult)\n        return packageFileResult;\n      if (!(state.features & 32)) {\n        return loadModuleFromFile(extensions, indexPath, onlyRecordFailuresForIndex, state);\n      }\n    }\n    function resolvedIfExtensionMatches(extensions, path, resolvedUsingTsExtension) {\n      const ext = tryGetExtensionFromPath2(path);\n      return ext !== void 0 && extensionIsOk(extensions, ext) ? { path, ext, resolvedUsingTsExtension } : void 0;\n    }\n    function extensionIsOk(extensions, extension) {\n      return extensions & 2 && (extension === \".js\" || extension === \".jsx\" || extension === \".mjs\" || extension === \".cjs\") || extensions & 1 && (extension === \".ts\" || extension === \".tsx\" || extension === \".mts\" || extension === \".cts\") || extensions & 4 && (extension === \".d.ts\" || extension === \".d.mts\" || extension === \".d.cts\") || extensions & 8 && extension === \".json\" || false;\n    }\n    function parsePackageName(moduleName) {\n      let idx = moduleName.indexOf(directorySeparator);\n      if (moduleName[0] === \"@\") {\n        idx = moduleName.indexOf(directorySeparator, idx + 1);\n      }\n      return idx === -1 ? { packageName: moduleName, rest: \"\" } : { packageName: moduleName.slice(0, idx), rest: moduleName.slice(idx + 1) };\n    }\n    function allKeysStartWithDot(obj) {\n      return every(getOwnKeys(obj), (k) => startsWith(k, \".\"));\n    }\n    function noKeyStartsWithDot(obj) {\n      return !some(getOwnKeys(obj), (k) => startsWith(k, \".\"));\n    }\n    function loadModuleFromSelfNameReference(extensions, moduleName, directory, state, cache, redirectedReference) {\n      var _a22, _b3;\n      const directoryPath = getNormalizedAbsolutePath(combinePaths(directory, \"dummy\"), (_b3 = (_a22 = state.host).getCurrentDirectory) == null ? void 0 : _b3.call(_a22));\n      const scope = getPackageScopeForPath(directoryPath, state);\n      if (!scope || !scope.contents.packageJsonContent.exports) {\n        return void 0;\n      }\n      if (typeof scope.contents.packageJsonContent.name !== \"string\") {\n        return void 0;\n      }\n      const parts = getPathComponents(moduleName);\n      const nameParts = getPathComponents(scope.contents.packageJsonContent.name);\n      if (!every(nameParts, (p, i) => parts[i] === p)) {\n        return void 0;\n      }\n      const trailingParts = parts.slice(nameParts.length);\n      const subpath = !length(trailingParts) ? \".\" : `.${directorySeparator}${trailingParts.join(directorySeparator)}`;\n      const priorityExtensions = extensions & (1 | 4);\n      const secondaryExtensions = extensions & ~(1 | 4);\n      return loadModuleFromExports(scope, priorityExtensions, subpath, state, cache, redirectedReference) || loadModuleFromExports(scope, secondaryExtensions, subpath, state, cache, redirectedReference);\n    }\n    function loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference) {\n      if (!scope.contents.packageJsonContent.exports) {\n        return void 0;\n      }\n      if (subpath === \".\") {\n        let mainExport;\n        if (typeof scope.contents.packageJsonContent.exports === \"string\" || Array.isArray(scope.contents.packageJsonContent.exports) || typeof scope.contents.packageJsonContent.exports === \"object\" && noKeyStartsWithDot(scope.contents.packageJsonContent.exports)) {\n          mainExport = scope.contents.packageJsonContent.exports;\n        } else if (hasProperty(scope.contents.packageJsonContent.exports, \".\")) {\n          mainExport = scope.contents.packageJsonContent.exports[\".\"];\n        }\n        if (mainExport) {\n          const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport(\n            extensions,\n            state,\n            cache,\n            redirectedReference,\n            subpath,\n            scope,\n            /*isImports*/\n            false\n          );\n          return loadModuleFromTargetImportOrExport(\n            mainExport,\n            \"\",\n            /*pattern*/\n            false,\n            \".\"\n          );\n        }\n      } else if (allKeysStartWithDot(scope.contents.packageJsonContent.exports)) {\n        if (typeof scope.contents.packageJsonContent.exports !== \"object\") {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory);\n          }\n          return toSearchResult(\n            /*value*/\n            void 0\n          );\n        }\n        const result = loadModuleFromImportsOrExports(\n          extensions,\n          state,\n          cache,\n          redirectedReference,\n          subpath,\n          scope.contents.packageJsonContent.exports,\n          scope,\n          /*isImports*/\n          false\n        );\n        if (result) {\n          return result;\n        }\n      }\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory);\n      }\n      return toSearchResult(\n        /*value*/\n        void 0\n      );\n    }\n    function loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) {\n      var _a22, _b3;\n      if (moduleName === \"#\" || startsWith(moduleName, \"#/\")) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName);\n        }\n        return toSearchResult(\n          /*value*/\n          void 0\n        );\n      }\n      const directoryPath = getNormalizedAbsolutePath(combinePaths(directory, \"dummy\"), (_b3 = (_a22 = state.host).getCurrentDirectory) == null ? void 0 : _b3.call(_a22));\n      const scope = getPackageScopeForPath(directoryPath, state);\n      if (!scope) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve, directoryPath);\n        }\n        return toSearchResult(\n          /*value*/\n          void 0\n        );\n      }\n      if (!scope.contents.packageJsonContent.imports) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_scope_0_has_no_imports_defined, scope.packageDirectory);\n        }\n        return toSearchResult(\n          /*value*/\n          void 0\n        );\n      }\n      const result = loadModuleFromImportsOrExports(\n        extensions,\n        state,\n        cache,\n        redirectedReference,\n        moduleName,\n        scope.contents.packageJsonContent.imports,\n        scope,\n        /*isImports*/\n        true\n      );\n      if (result) {\n        return result;\n      }\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1, moduleName, scope.packageDirectory);\n      }\n      return toSearchResult(\n        /*value*/\n        void 0\n      );\n    }\n    function comparePatternKeys(a, b) {\n      const aPatternIndex = a.indexOf(\"*\");\n      const bPatternIndex = b.indexOf(\"*\");\n      const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1;\n      const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1;\n      if (baseLenA > baseLenB)\n        return -1;\n      if (baseLenB > baseLenA)\n        return 1;\n      if (aPatternIndex === -1)\n        return 1;\n      if (bPatternIndex === -1)\n        return -1;\n      if (a.length > b.length)\n        return -1;\n      if (b.length > a.length)\n        return 1;\n      return 0;\n    }\n    function loadModuleFromImportsOrExports(extensions, state, cache, redirectedReference, moduleName, lookupTable, scope, isImports) {\n      const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports);\n      if (!endsWith(moduleName, directorySeparator) && moduleName.indexOf(\"*\") === -1 && hasProperty(lookupTable, moduleName)) {\n        const target = lookupTable[moduleName];\n        return loadModuleFromTargetImportOrExport(\n          target,\n          /*subpath*/\n          \"\",\n          /*pattern*/\n          false,\n          moduleName\n        );\n      }\n      const expandingKeys = sort(filter(getOwnKeys(lookupTable), (k) => k.indexOf(\"*\") !== -1 || endsWith(k, \"/\")), comparePatternKeys);\n      for (const potentialTarget of expandingKeys) {\n        if (state.features & 16 && matchesPatternWithTrailer(potentialTarget, moduleName)) {\n          const target = lookupTable[potentialTarget];\n          const starPos = potentialTarget.indexOf(\"*\");\n          const subpath = moduleName.substring(potentialTarget.substring(0, starPos).length, moduleName.length - (potentialTarget.length - 1 - starPos));\n          return loadModuleFromTargetImportOrExport(\n            target,\n            subpath,\n            /*pattern*/\n            true,\n            potentialTarget\n          );\n        } else if (endsWith(potentialTarget, \"*\") && startsWith(moduleName, potentialTarget.substring(0, potentialTarget.length - 1))) {\n          const target = lookupTable[potentialTarget];\n          const subpath = moduleName.substring(potentialTarget.length - 1);\n          return loadModuleFromTargetImportOrExport(\n            target,\n            subpath,\n            /*pattern*/\n            true,\n            potentialTarget\n          );\n        } else if (startsWith(moduleName, potentialTarget)) {\n          const target = lookupTable[potentialTarget];\n          const subpath = moduleName.substring(potentialTarget.length);\n          return loadModuleFromTargetImportOrExport(\n            target,\n            subpath,\n            /*pattern*/\n            false,\n            potentialTarget\n          );\n        }\n      }\n      function matchesPatternWithTrailer(target, name) {\n        if (endsWith(target, \"*\"))\n          return false;\n        const starPos = target.indexOf(\"*\");\n        if (starPos === -1)\n          return false;\n        return startsWith(name, target.substring(0, starPos)) && endsWith(name, target.substring(starPos + 1));\n      }\n    }\n    function getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) {\n      return loadModuleFromTargetImportOrExport;\n      function loadModuleFromTargetImportOrExport(target, subpath, pattern, key) {\n        if (typeof target === \"string\") {\n          if (!pattern && subpath.length > 0 && !endsWith(target, \"/\")) {\n            if (state.traceEnabled) {\n              trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n            }\n            return toSearchResult(\n              /*value*/\n              void 0\n            );\n          }\n          if (!startsWith(target, \"./\")) {\n            if (isImports && !startsWith(target, \"../\") && !startsWith(target, \"/\") && !isRootedDiskPath(target)) {\n              const combinedLookup = pattern ? target.replace(/\\*/g, subpath) : target + subpath;\n              traceIfEnabled(state, Diagnostics.Using_0_subpath_1_with_target_2, \"imports\", key, combinedLookup);\n              traceIfEnabled(state, Diagnostics.Resolving_module_0_from_1, combinedLookup, scope.packageDirectory + \"/\");\n              const result = nodeModuleNameResolverWorker(\n                state.features,\n                combinedLookup,\n                scope.packageDirectory + \"/\",\n                state.compilerOptions,\n                state.host,\n                cache,\n                extensions,\n                /*isConfigLookup*/\n                false,\n                redirectedReference\n              );\n              return toSearchResult(result.resolvedModule ? {\n                path: result.resolvedModule.resolvedFileName,\n                extension: result.resolvedModule.extension,\n                packageId: result.resolvedModule.packageId,\n                originalPath: result.resolvedModule.originalPath,\n                resolvedUsingTsExtension: result.resolvedModule.resolvedUsingTsExtension\n              } : void 0);\n            }\n            if (state.traceEnabled) {\n              trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n            }\n            return toSearchResult(\n              /*value*/\n              void 0\n            );\n          }\n          const parts = pathIsRelative(target) ? getPathComponents(target).slice(1) : getPathComponents(target);\n          const partsAfterFirst = parts.slice(1);\n          if (partsAfterFirst.indexOf(\"..\") >= 0 || partsAfterFirst.indexOf(\".\") >= 0 || partsAfterFirst.indexOf(\"node_modules\") >= 0) {\n            if (state.traceEnabled) {\n              trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n            }\n            return toSearchResult(\n              /*value*/\n              void 0\n            );\n          }\n          const resolvedTarget = combinePaths(scope.packageDirectory, target);\n          const subpathParts = getPathComponents(subpath);\n          if (subpathParts.indexOf(\"..\") >= 0 || subpathParts.indexOf(\".\") >= 0 || subpathParts.indexOf(\"node_modules\") >= 0) {\n            if (state.traceEnabled) {\n              trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n            }\n            return toSearchResult(\n              /*value*/\n              void 0\n            );\n          }\n          if (state.traceEnabled) {\n            trace(\n              state.host,\n              Diagnostics.Using_0_subpath_1_with_target_2,\n              isImports ? \"imports\" : \"exports\",\n              key,\n              pattern ? target.replace(/\\*/g, subpath) : target + subpath\n            );\n          }\n          const finalPath = toAbsolutePath(pattern ? resolvedTarget.replace(/\\*/g, subpath) : resolvedTarget + subpath);\n          const inputLink = tryLoadInputFileForPath(finalPath, subpath, combinePaths(scope.packageDirectory, \"package.json\"), isImports);\n          if (inputLink)\n            return inputLink;\n          return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField(\n            extensions,\n            finalPath,\n            /*onlyRecordFailures*/\n            false,\n            state\n          )));\n        } else if (typeof target === \"object\" && target !== null) {\n          if (!Array.isArray(target)) {\n            traceIfEnabled(state, Diagnostics.Entering_conditional_exports);\n            for (const condition of getOwnKeys(target)) {\n              if (condition === \"default\" || state.conditions.indexOf(condition) >= 0 || isApplicableVersionedTypesKey(state.conditions, condition)) {\n                traceIfEnabled(state, Diagnostics.Matched_0_condition_1, isImports ? \"imports\" : \"exports\", condition);\n                const subTarget = target[condition];\n                const result = loadModuleFromTargetImportOrExport(subTarget, subpath, pattern, key);\n                if (result) {\n                  traceIfEnabled(state, Diagnostics.Resolved_under_condition_0, condition);\n                  traceIfEnabled(state, Diagnostics.Exiting_conditional_exports);\n                  return result;\n                } else {\n                  traceIfEnabled(state, Diagnostics.Failed_to_resolve_under_condition_0, condition);\n                }\n              } else {\n                traceIfEnabled(state, Diagnostics.Saw_non_matching_condition_0, condition);\n              }\n            }\n            traceIfEnabled(state, Diagnostics.Exiting_conditional_exports);\n            return void 0;\n          } else {\n            if (!length(target)) {\n              if (state.traceEnabled) {\n                trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n              }\n              return toSearchResult(\n                /*value*/\n                void 0\n              );\n            }\n            for (const elem of target) {\n              const result = loadModuleFromTargetImportOrExport(elem, subpath, pattern, key);\n              if (result) {\n                return result;\n              }\n            }\n          }\n        } else if (target === null) {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null, scope.packageDirectory, moduleName);\n          }\n          return toSearchResult(\n            /*value*/\n            void 0\n          );\n        }\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n        }\n        return toSearchResult(\n          /*value*/\n          void 0\n        );\n        function toAbsolutePath(path) {\n          var _a22, _b3;\n          if (path === void 0)\n            return path;\n          return getNormalizedAbsolutePath(path, (_b3 = (_a22 = state.host).getCurrentDirectory) == null ? void 0 : _b3.call(_a22));\n        }\n        function combineDirectoryPath(root, dir) {\n          return ensureTrailingDirectorySeparator(combinePaths(root, dir));\n        }\n        function useCaseSensitiveFileNames() {\n          return !state.host.useCaseSensitiveFileNames ? true : typeof state.host.useCaseSensitiveFileNames === \"boolean\" ? state.host.useCaseSensitiveFileNames : state.host.useCaseSensitiveFileNames();\n        }\n        function tryLoadInputFileForPath(finalPath, entry, packagePath, isImports2) {\n          var _a22, _b3, _c, _d;\n          if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && finalPath.indexOf(\"/node_modules/\") === -1 && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames()) : true)) {\n            const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames });\n            const commonSourceDirGuesses = [];\n            if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) {\n              const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b3 = (_a22 = state.host).getCurrentDirectory) == null ? void 0 : _b3.call(_a22)) || \"\", getCanonicalFileName));\n              commonSourceDirGuesses.push(commonDir);\n            } else if (state.requestContainingDirectory) {\n              const requestingFile = toAbsolutePath(combinePaths(state.requestContainingDirectory, \"index.ts\"));\n              const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [requestingFile, toAbsolutePath(packagePath)], ((_d = (_c = state.host).getCurrentDirectory) == null ? void 0 : _d.call(_c)) || \"\", getCanonicalFileName));\n              commonSourceDirGuesses.push(commonDir);\n              let fragment = ensureTrailingDirectorySeparator(commonDir);\n              while (fragment && fragment.length > 1) {\n                const parts = getPathComponents(fragment);\n                parts.pop();\n                const commonDir2 = getPathFromPathComponents(parts);\n                commonSourceDirGuesses.unshift(commonDir2);\n                fragment = ensureTrailingDirectorySeparator(commonDir2);\n              }\n            }\n            if (commonSourceDirGuesses.length > 1) {\n              state.reportDiagnostic(createCompilerDiagnostic(\n                isImports2 ? Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate : Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,\n                entry === \"\" ? \".\" : entry,\n                // replace empty string with `.` - the reverse of the operation done when entries are built - so main entrypoint errors don't look weird\n                packagePath\n              ));\n            }\n            for (const commonSourceDirGuess of commonSourceDirGuesses) {\n              const candidateDirectories = getOutputDirectoriesForBaseDirectory(commonSourceDirGuess);\n              for (const candidateDir of candidateDirectories) {\n                if (containsPath(candidateDir, finalPath, !useCaseSensitiveFileNames())) {\n                  const pathFragment = finalPath.slice(candidateDir.length + 1);\n                  const possibleInputBase = combinePaths(commonSourceDirGuess, pathFragment);\n                  const jsAndDtsExtensions = [\n                    \".mjs\",\n                    \".cjs\",\n                    \".js\",\n                    \".json\",\n                    \".d.mts\",\n                    \".d.cts\",\n                    \".d.ts\"\n                    /* Dts */\n                  ];\n                  for (const ext of jsAndDtsExtensions) {\n                    if (fileExtensionIs(possibleInputBase, ext)) {\n                      const inputExts = getPossibleOriginalInputExtensionForExtension(possibleInputBase);\n                      for (const possibleExt of inputExts) {\n                        if (!extensionIsOk(extensions, possibleExt))\n                          continue;\n                        const possibleInputWithInputExtension = changeAnyExtension(possibleInputBase, possibleExt, ext, !useCaseSensitiveFileNames());\n                        if (state.host.fileExists(possibleInputWithInputExtension)) {\n                          return toSearchResult(withPackageId(scope, loadFileNameFromPackageJsonField(\n                            extensions,\n                            possibleInputWithInputExtension,\n                            /*onlyRecordFailures*/\n                            false,\n                            state\n                          )));\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          }\n          return void 0;\n          function getOutputDirectoriesForBaseDirectory(commonSourceDirGuess) {\n            var _a32, _b22;\n            const currentDir = state.compilerOptions.configFile ? ((_b22 = (_a32 = state.host).getCurrentDirectory) == null ? void 0 : _b22.call(_a32)) || \"\" : commonSourceDirGuess;\n            const candidateDirectories = [];\n            if (state.compilerOptions.declarationDir) {\n              candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.declarationDir)));\n            }\n            if (state.compilerOptions.outDir && state.compilerOptions.outDir !== state.compilerOptions.declarationDir) {\n              candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.outDir)));\n            }\n            return candidateDirectories;\n          }\n        }\n      }\n    }\n    function isApplicableVersionedTypesKey(conditions, key) {\n      if (conditions.indexOf(\"types\") === -1)\n        return false;\n      if (!startsWith(key, \"types@\"))\n        return false;\n      const range = VersionRange.tryParse(key.substring(\"types@\".length));\n      if (!range)\n        return false;\n      return range.test(version);\n    }\n    function loadModuleFromNearestNodeModulesDirectory(extensions, moduleName, directory, state, cache, redirectedReference) {\n      return loadModuleFromNearestNodeModulesDirectoryWorker(\n        extensions,\n        moduleName,\n        directory,\n        state,\n        /*typesScopeOnly*/\n        false,\n        cache,\n        redirectedReference\n      );\n    }\n    function loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, directory, state) {\n      return loadModuleFromNearestNodeModulesDirectoryWorker(\n        4,\n        moduleName,\n        directory,\n        state,\n        /*typesScopeOnly*/\n        true,\n        /*cache*/\n        void 0,\n        /*redirectedReference*/\n        void 0\n      );\n    }\n    function loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) {\n      const mode = state.features === 0 ? void 0 : state.features & 32 ? 99 : 1;\n      const priorityExtensions = extensions & (1 | 4);\n      const secondaryExtensions = extensions & ~(1 | 4);\n      if (priorityExtensions) {\n        const result = lookup(priorityExtensions);\n        if (result)\n          return result;\n      }\n      if (secondaryExtensions && !typesScopeOnly) {\n        return lookup(secondaryExtensions);\n      }\n      function lookup(extensions2) {\n        return forEachAncestorDirectory(normalizeSlashes(directory), (ancestorDirectory) => {\n          if (getBaseFileName(ancestorDirectory) !== \"node_modules\") {\n            const resolutionFromCache = tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, ancestorDirectory, redirectedReference, state);\n            if (resolutionFromCache) {\n              return resolutionFromCache;\n            }\n            return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(extensions2, moduleName, ancestorDirectory, state, typesScopeOnly, cache, redirectedReference));\n          }\n        });\n      }\n    }\n    function loadModuleFromImmediateNodeModulesDirectory(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) {\n      const nodeModulesFolder = combinePaths(directory, \"node_modules\");\n      const nodeModulesFolderExists = directoryProbablyExists(nodeModulesFolder, state.host);\n      if (!nodeModulesFolderExists && state.traceEnabled) {\n        trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesFolder);\n      }\n      if (!typesScopeOnly) {\n        const packageResult = loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesFolder, nodeModulesFolderExists, state, cache, redirectedReference);\n        if (packageResult) {\n          return packageResult;\n        }\n      }\n      if (extensions & 4) {\n        const nodeModulesAtTypes2 = combinePaths(nodeModulesFolder, \"@types\");\n        let nodeModulesAtTypesExists = nodeModulesFolderExists;\n        if (nodeModulesFolderExists && !directoryProbablyExists(nodeModulesAtTypes2, state.host)) {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesAtTypes2);\n          }\n          nodeModulesAtTypesExists = false;\n        }\n        return loadModuleFromSpecificNodeModulesDirectory(4, mangleScopedPackageNameWithTrace(moduleName, state), nodeModulesAtTypes2, nodeModulesAtTypesExists, state, cache, redirectedReference);\n      }\n    }\n    function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesDirectory, nodeModulesDirectoryExists, state, cache, redirectedReference) {\n      var _a22, _b3, _c;\n      const candidate = normalizePath(combinePaths(nodeModulesDirectory, moduleName));\n      const { packageName, rest } = parsePackageName(moduleName);\n      const packageDirectory = combinePaths(nodeModulesDirectory, packageName);\n      let rootPackageInfo;\n      let packageInfo = getPackageJsonInfo(candidate, !nodeModulesDirectoryExists, state);\n      if (rest !== \"\" && packageInfo && (!(state.features & 8) || !hasProperty((_b3 = (_a22 = rootPackageInfo = getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state)) == null ? void 0 : _a22.contents.packageJsonContent) != null ? _b3 : emptyArray, \"exports\"))) {\n        const fromFile = loadModuleFromFile(extensions, candidate, !nodeModulesDirectoryExists, state);\n        if (fromFile) {\n          return noPackageId(fromFile);\n        }\n        const fromDirectory = loadNodeModuleFromDirectoryWorker(\n          extensions,\n          candidate,\n          !nodeModulesDirectoryExists,\n          state,\n          packageInfo.contents.packageJsonContent,\n          getVersionPathsOfPackageJsonInfo(packageInfo, state)\n        );\n        return withPackageId(packageInfo, fromDirectory);\n      }\n      const loader = (extensions2, candidate2, onlyRecordFailures, state2) => {\n        let pathAndExtension = loadModuleFromFile(extensions2, candidate2, onlyRecordFailures, state2) || loadNodeModuleFromDirectoryWorker(\n          extensions2,\n          candidate2,\n          onlyRecordFailures,\n          state2,\n          packageInfo && packageInfo.contents.packageJsonContent,\n          packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state2)\n        );\n        if (!pathAndExtension && packageInfo && (packageInfo.contents.packageJsonContent.exports === void 0 || packageInfo.contents.packageJsonContent.exports === null) && state2.features & 32) {\n          pathAndExtension = loadModuleFromFile(extensions2, combinePaths(candidate2, \"index.js\"), onlyRecordFailures, state2);\n        }\n        return withPackageId(packageInfo, pathAndExtension);\n      };\n      if (rest !== \"\") {\n        packageInfo = rootPackageInfo != null ? rootPackageInfo : getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state);\n      }\n      if (packageInfo && packageInfo.contents.packageJsonContent.exports && state.features & 8) {\n        return (_c = loadModuleFromExports(packageInfo, extensions, combinePaths(\".\", rest), state, cache, redirectedReference)) == null ? void 0 : _c.value;\n      }\n      const versionPaths = rest !== \"\" && packageInfo ? getVersionPathsOfPackageJsonInfo(packageInfo, state) : void 0;\n      if (versionPaths) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, rest);\n        }\n        const packageDirectoryExists = nodeModulesDirectoryExists && directoryProbablyExists(packageDirectory, state.host);\n        const fromPaths = tryLoadModuleUsingPaths(\n          extensions,\n          rest,\n          packageDirectory,\n          versionPaths.paths,\n          /*pathPatterns*/\n          void 0,\n          loader,\n          !packageDirectoryExists,\n          state\n        );\n        if (fromPaths) {\n          return fromPaths.value;\n        }\n      }\n      return loader(extensions, candidate, !nodeModulesDirectoryExists, state);\n    }\n    function tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, pathPatterns, loader, onlyRecordFailures, state) {\n      pathPatterns || (pathPatterns = tryParsePatterns(paths));\n      const matchedPattern = matchPatternOrExact(pathPatterns, moduleName);\n      if (matchedPattern) {\n        const matchedStar = isString2(matchedPattern) ? void 0 : matchedText(matchedPattern, moduleName);\n        const matchedPatternText = isString2(matchedPattern) ? matchedPattern : patternText(matchedPattern);\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Module_name_0_matched_pattern_1, moduleName, matchedPatternText);\n        }\n        const resolved = forEach(paths[matchedPatternText], (subst) => {\n          const path = matchedStar ? subst.replace(\"*\", matchedStar) : subst;\n          const candidate = normalizePath(combinePaths(baseDirectory, path));\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1, subst, path);\n          }\n          const extension = tryGetExtensionFromPath2(subst);\n          if (extension !== void 0) {\n            const path2 = tryFile(candidate, onlyRecordFailures, state);\n            if (path2 !== void 0) {\n              return noPackageId({ path: path2, ext: extension, resolvedUsingTsExtension: void 0 });\n            }\n          }\n          return loader(extensions, candidate, onlyRecordFailures || !directoryProbablyExists(getDirectoryPath(candidate), state.host), state);\n        });\n        return { value: resolved };\n      }\n    }\n    function mangleScopedPackageNameWithTrace(packageName, state) {\n      const mangled = mangleScopedPackageName(packageName);\n      if (state.traceEnabled && mangled !== packageName) {\n        trace(state.host, Diagnostics.Scoped_package_detected_looking_in_0, mangled);\n      }\n      return mangled;\n    }\n    function getTypesPackageName(packageName) {\n      return `@types/${mangleScopedPackageName(packageName)}`;\n    }\n    function mangleScopedPackageName(packageName) {\n      if (startsWith(packageName, \"@\")) {\n        const replaceSlash = packageName.replace(directorySeparator, mangledScopedPackageSeparator);\n        if (replaceSlash !== packageName) {\n          return replaceSlash.slice(1);\n        }\n      }\n      return packageName;\n    }\n    function getPackageNameFromTypesPackageName(mangledName) {\n      const withoutAtTypePrefix = removePrefix(mangledName, \"@types/\");\n      if (withoutAtTypePrefix !== mangledName) {\n        return unmangleScopedPackageName(withoutAtTypePrefix);\n      }\n      return mangledName;\n    }\n    function unmangleScopedPackageName(typesPackageName) {\n      return stringContains(typesPackageName, mangledScopedPackageSeparator) ? \"@\" + typesPackageName.replace(mangledScopedPackageSeparator, directorySeparator) : typesPackageName;\n    }\n    function tryFindNonRelativeModuleNameInCache(cache, moduleName, mode, containingDirectory, redirectedReference, state) {\n      const result = cache && cache.getFromNonRelativeNameCache(moduleName, mode, containingDirectory, redirectedReference);\n      if (result) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory);\n        }\n        state.resultFromCache = result;\n        return {\n          value: result.resolvedModule && {\n            path: result.resolvedModule.resolvedFileName,\n            originalPath: result.resolvedModule.originalPath || true,\n            extension: result.resolvedModule.extension,\n            packageId: result.resolvedModule.packageId,\n            resolvedUsingTsExtension: result.resolvedModule.resolvedUsingTsExtension\n          }\n        };\n      }\n    }\n    function classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference) {\n      const traceEnabled = isTraceEnabled(compilerOptions, host);\n      const failedLookupLocations = [];\n      const affectingLocations = [];\n      const containingDirectory = getDirectoryPath(containingFile);\n      const diagnostics = [];\n      const state = {\n        compilerOptions,\n        host,\n        traceEnabled,\n        failedLookupLocations,\n        affectingLocations,\n        packageJsonInfoCache: cache,\n        features: 0,\n        conditions: [],\n        requestContainingDirectory: containingDirectory,\n        reportDiagnostic: (diag2) => void diagnostics.push(diag2),\n        isConfigLookup: false,\n        candidateIsFromPackageJsonField: false\n      };\n      const resolved = tryResolve(\n        1 | 4\n        /* Declaration */\n      ) || tryResolve(2 | (compilerOptions.resolveJsonModule ? 8 : 0));\n      return createResolvedModuleWithFailedLookupLocationsHandlingSymlink(\n        moduleName,\n        resolved && resolved.value,\n        (resolved == null ? void 0 : resolved.value) && pathContainsNodeModules(resolved.value.path),\n        failedLookupLocations,\n        affectingLocations,\n        diagnostics,\n        state\n      );\n      function tryResolve(extensions) {\n        const resolvedUsingSettings = tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loadModuleFromFileNoPackageId, state);\n        if (resolvedUsingSettings) {\n          return { value: resolvedUsingSettings };\n        }\n        if (!isExternalModuleNameRelative(moduleName)) {\n          const resolved2 = forEachAncestorDirectory(containingDirectory, (directory) => {\n            const resolutionFromCache = tryFindNonRelativeModuleNameInCache(\n              cache,\n              moduleName,\n              /*mode*/\n              void 0,\n              directory,\n              redirectedReference,\n              state\n            );\n            if (resolutionFromCache) {\n              return resolutionFromCache;\n            }\n            const searchName = normalizePath(combinePaths(directory, moduleName));\n            return toSearchResult(loadModuleFromFileNoPackageId(\n              extensions,\n              searchName,\n              /*onlyRecordFailures*/\n              false,\n              state\n            ));\n          });\n          if (resolved2) {\n            return resolved2;\n          }\n          if (extensions & (1 | 4)) {\n            return loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, containingDirectory, state);\n          }\n        } else {\n          const candidate = normalizePath(combinePaths(containingDirectory, moduleName));\n          return toSearchResult(loadModuleFromFileNoPackageId(\n            extensions,\n            candidate,\n            /*onlyRecordFailures*/\n            false,\n            state\n          ));\n        }\n      }\n    }\n    function shouldAllowImportingTsExtension(compilerOptions, fromFileName) {\n      return !!compilerOptions.allowImportingTsExtensions || fromFileName && isDeclarationFileName(fromFileName);\n    }\n    function loadModuleFromGlobalCache(moduleName, projectName, compilerOptions, host, globalCache, packageJsonInfoCache) {\n      const traceEnabled = isTraceEnabled(compilerOptions, host);\n      if (traceEnabled) {\n        trace(host, Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2, projectName, moduleName, globalCache);\n      }\n      const failedLookupLocations = [];\n      const affectingLocations = [];\n      const diagnostics = [];\n      const state = {\n        compilerOptions,\n        host,\n        traceEnabled,\n        failedLookupLocations,\n        affectingLocations,\n        packageJsonInfoCache,\n        features: 0,\n        conditions: [],\n        requestContainingDirectory: void 0,\n        reportDiagnostic: (diag2) => void diagnostics.push(diag2),\n        isConfigLookup: false,\n        candidateIsFromPackageJsonField: false\n      };\n      const resolved = loadModuleFromImmediateNodeModulesDirectory(\n        4,\n        moduleName,\n        globalCache,\n        state,\n        /*typesScopeOnly*/\n        false,\n        /*cache*/\n        void 0,\n        /*redirectedReference*/\n        void 0\n      );\n      return createResolvedModuleWithFailedLookupLocations(\n        resolved,\n        /*isExternalLibraryImport*/\n        true,\n        failedLookupLocations,\n        affectingLocations,\n        diagnostics,\n        state.resultFromCache\n      );\n    }\n    function toSearchResult(value) {\n      return value !== void 0 ? { value } : void 0;\n    }\n    function traceIfEnabled(state, diagnostic, ...args) {\n      if (state.traceEnabled) {\n        trace(state.host, diagnostic, ...args);\n      }\n    }\n    var typeScriptVersion, nodeModulesAtTypes, NodeResolutionFeatures, nodeModulesPathPart, mangledScopedPackageSeparator;\n    var init_moduleNameResolver = __esm({\n      \"src/compiler/moduleNameResolver.ts\"() {\n        \"use strict\";\n        init_ts2();\n        nodeModulesAtTypes = combinePaths(\"node_modules\", \"@types\");\n        NodeResolutionFeatures = /* @__PURE__ */ ((NodeResolutionFeatures2) => {\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"None\"] = 0] = \"None\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"Imports\"] = 2] = \"Imports\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"SelfName\"] = 4] = \"SelfName\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"Exports\"] = 8] = \"Exports\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"ExportsPatternTrailers\"] = 16] = \"ExportsPatternTrailers\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"AllFeatures\"] = 30] = \"AllFeatures\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"Node16Default\"] = 30] = \"Node16Default\";\n          NodeResolutionFeatures2[\n            NodeResolutionFeatures2[\"NodeNextDefault\"] = 30\n            /* AllFeatures */\n          ] = \"NodeNextDefault\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"BundlerDefault\"] = 30] = \"BundlerDefault\";\n          NodeResolutionFeatures2[NodeResolutionFeatures2[\"EsmMode\"] = 32] = \"EsmMode\";\n          return NodeResolutionFeatures2;\n        })(NodeResolutionFeatures || {});\n        nodeModulesPathPart = \"/node_modules/\";\n        mangledScopedPackageSeparator = \"__\";\n      }\n    });\n    function getModuleInstanceState(node, visited) {\n      if (node.body && !node.body.parent) {\n        setParent(node.body, node);\n        setParentRecursive(\n          node.body,\n          /*incremental*/\n          false\n        );\n      }\n      return node.body ? getModuleInstanceStateCached(node.body, visited) : 1;\n    }\n    function getModuleInstanceStateCached(node, visited = /* @__PURE__ */ new Map()) {\n      const nodeId = getNodeId(node);\n      if (visited.has(nodeId)) {\n        return visited.get(nodeId) || 0;\n      }\n      visited.set(nodeId, void 0);\n      const result = getModuleInstanceStateWorker(node, visited);\n      visited.set(nodeId, result);\n      return result;\n    }\n    function getModuleInstanceStateWorker(node, visited) {\n      switch (node.kind) {\n        case 261:\n        case 262:\n          return 0;\n        case 263:\n          if (isEnumConst(node)) {\n            return 2;\n          }\n          break;\n        case 269:\n        case 268:\n          if (!hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          )) {\n            return 0;\n          }\n          break;\n        case 275:\n          const exportDeclaration = node;\n          if (!exportDeclaration.moduleSpecifier && exportDeclaration.exportClause && exportDeclaration.exportClause.kind === 276) {\n            let state = 0;\n            for (const specifier of exportDeclaration.exportClause.elements) {\n              const specifierState = getModuleInstanceStateForAliasTarget(specifier, visited);\n              if (specifierState > state) {\n                state = specifierState;\n              }\n              if (state === 1) {\n                return state;\n              }\n            }\n            return state;\n          }\n          break;\n        case 265: {\n          let state = 0;\n          forEachChild(node, (n) => {\n            const childState = getModuleInstanceStateCached(n, visited);\n            switch (childState) {\n              case 0:\n                return;\n              case 2:\n                state = 2;\n                return;\n              case 1:\n                state = 1;\n                return true;\n              default:\n                Debug2.assertNever(childState);\n            }\n          });\n          return state;\n        }\n        case 264:\n          return getModuleInstanceState(node, visited);\n        case 79:\n          if (node.flags & 2048) {\n            return 0;\n          }\n      }\n      return 1;\n    }\n    function getModuleInstanceStateForAliasTarget(specifier, visited) {\n      const name = specifier.propertyName || specifier.name;\n      let p = specifier.parent;\n      while (p) {\n        if (isBlock(p) || isModuleBlock(p) || isSourceFile(p)) {\n          const statements = p.statements;\n          let found;\n          for (const statement of statements) {\n            if (nodeHasName(statement, name)) {\n              if (!statement.parent) {\n                setParent(statement, p);\n                setParentRecursive(\n                  statement,\n                  /*incremental*/\n                  false\n                );\n              }\n              const state = getModuleInstanceStateCached(statement, visited);\n              if (found === void 0 || state > found) {\n                found = state;\n              }\n              if (found === 1) {\n                return found;\n              }\n            }\n          }\n          if (found !== void 0) {\n            return found;\n          }\n        }\n        p = p.parent;\n      }\n      return 1;\n    }\n    function initFlowNode(node) {\n      Debug2.attachFlowNodeDebugInfo(node);\n      return node;\n    }\n    function bindSourceFile(file, options) {\n      mark(\"beforeBind\");\n      perfLogger.logStartBindFile(\"\" + file.fileName);\n      binder(file, options);\n      perfLogger.logStopBindFile();\n      mark(\"afterBind\");\n      measure(\"Bind\", \"beforeBind\", \"afterBind\");\n    }\n    function createBinder() {\n      var file;\n      var options;\n      var languageVersion;\n      var parent2;\n      var container;\n      var thisParentContainer;\n      var blockScopeContainer;\n      var lastContainer;\n      var delayedTypeAliases;\n      var seenThisKeyword;\n      var currentFlow;\n      var currentBreakTarget;\n      var currentContinueTarget;\n      var currentReturnTarget;\n      var currentTrueTarget;\n      var currentFalseTarget;\n      var currentExceptionTarget;\n      var preSwitchCaseFlow;\n      var activeLabelList;\n      var hasExplicitReturn;\n      var emitFlags;\n      var inStrictMode;\n      var inAssignmentPattern = false;\n      var symbolCount = 0;\n      var Symbol46;\n      var classifiableNames;\n      var unreachableFlow = {\n        flags: 1\n        /* Unreachable */\n      };\n      var reportedUnreachableFlow = {\n        flags: 1\n        /* Unreachable */\n      };\n      var bindBinaryExpressionFlow = createBindBinaryExpressionFlow();\n      return bindSourceFile2;\n      function createDiagnosticForNode2(node, message, arg0, arg1, arg2) {\n        return createDiagnosticForNodeInSourceFile(getSourceFileOfNode(node) || file, node, message, arg0, arg1, arg2);\n      }\n      function bindSourceFile2(f, opts) {\n        var _a22, _b3;\n        file = f;\n        options = opts;\n        languageVersion = getEmitScriptTarget(options);\n        inStrictMode = bindInStrictMode(file, opts);\n        classifiableNames = /* @__PURE__ */ new Set();\n        symbolCount = 0;\n        Symbol46 = objectAllocator.getSymbolConstructor();\n        Debug2.attachFlowNodeDebugInfo(unreachableFlow);\n        Debug2.attachFlowNodeDebugInfo(reportedUnreachableFlow);\n        if (!file.locals) {\n          (_a22 = tracing) == null ? void 0 : _a22.push(\n            tracing.Phase.Bind,\n            \"bindSourceFile\",\n            { path: file.path },\n            /*separateBeginAndEnd*/\n            true\n          );\n          bind(file);\n          (_b3 = tracing) == null ? void 0 : _b3.pop();\n          file.symbolCount = symbolCount;\n          file.classifiableNames = classifiableNames;\n          delayedBindJSDocTypedefTag();\n        }\n        file = void 0;\n        options = void 0;\n        languageVersion = void 0;\n        parent2 = void 0;\n        container = void 0;\n        thisParentContainer = void 0;\n        blockScopeContainer = void 0;\n        lastContainer = void 0;\n        delayedTypeAliases = void 0;\n        seenThisKeyword = false;\n        currentFlow = void 0;\n        currentBreakTarget = void 0;\n        currentContinueTarget = void 0;\n        currentReturnTarget = void 0;\n        currentTrueTarget = void 0;\n        currentFalseTarget = void 0;\n        currentExceptionTarget = void 0;\n        activeLabelList = void 0;\n        hasExplicitReturn = false;\n        inAssignmentPattern = false;\n        emitFlags = 0;\n      }\n      function bindInStrictMode(file2, opts) {\n        if (getStrictOptionValue(opts, \"alwaysStrict\") && !file2.isDeclarationFile) {\n          return true;\n        } else {\n          return !!file2.externalModuleIndicator;\n        }\n      }\n      function createSymbol(flags, name) {\n        symbolCount++;\n        return new Symbol46(flags, name);\n      }\n      function addDeclarationToSymbol(symbol, node, symbolFlags) {\n        symbol.flags |= symbolFlags;\n        node.symbol = symbol;\n        symbol.declarations = appendIfUnique(symbol.declarations, node);\n        if (symbolFlags & (32 | 384 | 1536 | 3) && !symbol.exports) {\n          symbol.exports = createSymbolTable();\n        }\n        if (symbolFlags & (32 | 64 | 2048 | 4096) && !symbol.members) {\n          symbol.members = createSymbolTable();\n        }\n        if (symbol.constEnumOnlyModule && symbol.flags & (16 | 32 | 256)) {\n          symbol.constEnumOnlyModule = false;\n        }\n        if (symbolFlags & 111551) {\n          setValueDeclaration(symbol, node);\n        }\n      }\n      function getDeclarationName(node) {\n        if (node.kind === 274) {\n          return node.isExportEquals ? \"export=\" : \"default\";\n        }\n        const name = getNameOfDeclaration(node);\n        if (name) {\n          if (isAmbientModule(node)) {\n            const moduleName = getTextOfIdentifierOrLiteral(name);\n            return isGlobalScopeAugmentation(node) ? \"__global\" : `\"${moduleName}\"`;\n          }\n          if (name.kind === 164) {\n            const nameExpression = name.expression;\n            if (isStringOrNumericLiteralLike(nameExpression)) {\n              return escapeLeadingUnderscores(nameExpression.text);\n            }\n            if (isSignedNumericLiteral(nameExpression)) {\n              return tokenToString(nameExpression.operator) + nameExpression.operand.text;\n            } else {\n              Debug2.fail(\"Only computed properties with literal names have declaration names\");\n            }\n          }\n          if (isPrivateIdentifier(name)) {\n            const containingClass = getContainingClass(node);\n            if (!containingClass) {\n              return void 0;\n            }\n            const containingClassSymbol = containingClass.symbol;\n            return getSymbolNameForPrivateIdentifier(containingClassSymbol, name.escapedText);\n          }\n          return isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : void 0;\n        }\n        switch (node.kind) {\n          case 173:\n            return \"__constructor\";\n          case 181:\n          case 176:\n          case 326:\n            return \"__call\";\n          case 182:\n          case 177:\n            return \"__new\";\n          case 178:\n            return \"__index\";\n          case 275:\n            return \"__export\";\n          case 308:\n            return \"export=\";\n          case 223:\n            if (getAssignmentDeclarationKind(node) === 2) {\n              return \"export=\";\n            }\n            Debug2.fail(\"Unknown binary declaration kind\");\n            break;\n          case 320:\n            return isJSDocConstructSignature(node) ? \"__new\" : \"__call\";\n          case 166:\n            Debug2.assert(node.parent.kind === 320, \"Impossible parameter parent kind\", () => `parent is: ${Debug2.formatSyntaxKind(node.parent.kind)}, expected JSDocFunctionType`);\n            const functionType = node.parent;\n            const index = functionType.parameters.indexOf(node);\n            return \"arg\" + index;\n        }\n      }\n      function getDisplayName(node) {\n        return isNamedDeclaration(node) ? declarationNameToString(node.name) : unescapeLeadingUnderscores(Debug2.checkDefined(getDeclarationName(node)));\n      }\n      function declareSymbol(symbolTable, parent3, node, includes, excludes, isReplaceableByMethod, isComputedName) {\n        Debug2.assert(isComputedName || !hasDynamicName(node));\n        const isDefaultExport = hasSyntacticModifier(\n          node,\n          1024\n          /* Default */\n        ) || isExportSpecifier(node) && node.name.escapedText === \"default\";\n        const name = isComputedName ? \"__computed\" : isDefaultExport && parent3 ? \"default\" : getDeclarationName(node);\n        let symbol;\n        if (name === void 0) {\n          symbol = createSymbol(\n            0,\n            \"__missing\"\n            /* Missing */\n          );\n        } else {\n          symbol = symbolTable.get(name);\n          if (includes & 2885600) {\n            classifiableNames.add(name);\n          }\n          if (!symbol) {\n            symbolTable.set(name, symbol = createSymbol(0, name));\n            if (isReplaceableByMethod)\n              symbol.isReplaceableByMethod = true;\n          } else if (isReplaceableByMethod && !symbol.isReplaceableByMethod) {\n            return symbol;\n          } else if (symbol.flags & excludes) {\n            if (symbol.isReplaceableByMethod) {\n              symbolTable.set(name, symbol = createSymbol(0, name));\n            } else if (!(includes & 3 && symbol.flags & 67108864)) {\n              if (isNamedDeclaration(node)) {\n                setParent(node.name, node);\n              }\n              let message = symbol.flags & 2 ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0;\n              let messageNeedsName = true;\n              if (symbol.flags & 384 || includes & 384) {\n                message = Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;\n                messageNeedsName = false;\n              }\n              let multipleDefaultExports = false;\n              if (length(symbol.declarations)) {\n                if (isDefaultExport) {\n                  message = Diagnostics.A_module_cannot_have_multiple_default_exports;\n                  messageNeedsName = false;\n                  multipleDefaultExports = true;\n                } else {\n                  if (symbol.declarations && symbol.declarations.length && (node.kind === 274 && !node.isExportEquals)) {\n                    message = Diagnostics.A_module_cannot_have_multiple_default_exports;\n                    messageNeedsName = false;\n                    multipleDefaultExports = true;\n                  }\n                }\n              }\n              const relatedInformation = [];\n              if (isTypeAliasDeclaration(node) && nodeIsMissing(node.type) && hasSyntacticModifier(\n                node,\n                1\n                /* Export */\n              ) && symbol.flags & (2097152 | 788968 | 1920)) {\n                relatedInformation.push(createDiagnosticForNode2(node, Diagnostics.Did_you_mean_0, `export type { ${unescapeLeadingUnderscores(node.name.escapedText)} }`));\n              }\n              const declarationName = getNameOfDeclaration(node) || node;\n              forEach(symbol.declarations, (declaration, index) => {\n                const decl = getNameOfDeclaration(declaration) || declaration;\n                const diag3 = createDiagnosticForNode2(decl, message, messageNeedsName ? getDisplayName(declaration) : void 0);\n                file.bindDiagnostics.push(\n                  multipleDefaultExports ? addRelatedInfo(diag3, createDiagnosticForNode2(declarationName, index === 0 ? Diagnostics.Another_export_default_is_here : Diagnostics.and_here)) : diag3\n                );\n                if (multipleDefaultExports) {\n                  relatedInformation.push(createDiagnosticForNode2(decl, Diagnostics.The_first_export_default_is_here));\n                }\n              });\n              const diag2 = createDiagnosticForNode2(declarationName, message, messageNeedsName ? getDisplayName(node) : void 0);\n              file.bindDiagnostics.push(addRelatedInfo(diag2, ...relatedInformation));\n              symbol = createSymbol(0, name);\n            }\n          }\n        }\n        addDeclarationToSymbol(symbol, node, includes);\n        if (symbol.parent) {\n          Debug2.assert(symbol.parent === parent3, \"Existing symbol parent should match new one\");\n        } else {\n          symbol.parent = parent3;\n        }\n        return symbol;\n      }\n      function declareModuleMember(node, symbolFlags, symbolExcludes) {\n        const hasExportModifier = !!(getCombinedModifierFlags(node) & 1) || jsdocTreatAsExported(node);\n        if (symbolFlags & 2097152) {\n          if (node.kind === 278 || node.kind === 268 && hasExportModifier) {\n            return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n          } else {\n            Debug2.assertNode(container, canHaveLocals);\n            return declareSymbol(\n              container.locals,\n              /*parent*/\n              void 0,\n              node,\n              symbolFlags,\n              symbolExcludes\n            );\n          }\n        } else {\n          if (isJSDocTypeAlias(node))\n            Debug2.assert(isInJSFile(node));\n          if (!isAmbientModule(node) && (hasExportModifier || container.flags & 64)) {\n            if (!canHaveLocals(container) || !container.locals || hasSyntacticModifier(\n              node,\n              1024\n              /* Default */\n            ) && !getDeclarationName(node)) {\n              return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n            }\n            const exportKind = symbolFlags & 111551 ? 1048576 : 0;\n            const local = declareSymbol(\n              container.locals,\n              /*parent*/\n              void 0,\n              node,\n              exportKind,\n              symbolExcludes\n            );\n            local.exportSymbol = declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n            node.localSymbol = local;\n            return local;\n          } else {\n            Debug2.assertNode(container, canHaveLocals);\n            return declareSymbol(\n              container.locals,\n              /*parent*/\n              void 0,\n              node,\n              symbolFlags,\n              symbolExcludes\n            );\n          }\n        }\n      }\n      function jsdocTreatAsExported(node) {\n        if (node.parent && isModuleDeclaration(node)) {\n          node = node.parent;\n        }\n        if (!isJSDocTypeAlias(node))\n          return false;\n        if (!isJSDocEnumTag(node) && !!node.fullName)\n          return true;\n        const declName = getNameOfDeclaration(node);\n        if (!declName)\n          return false;\n        if (isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(declName.parent))\n          return true;\n        if (isDeclaration(declName.parent) && getCombinedModifierFlags(declName.parent) & 1)\n          return true;\n        return false;\n      }\n      function bindContainer(node, containerFlags) {\n        const saveContainer = container;\n        const saveThisParentContainer = thisParentContainer;\n        const savedBlockScopeContainer = blockScopeContainer;\n        if (containerFlags & 1) {\n          if (node.kind !== 216) {\n            thisParentContainer = container;\n          }\n          container = blockScopeContainer = node;\n          if (containerFlags & 32) {\n            container.locals = createSymbolTable();\n            addToContainerChain(container);\n          }\n        } else if (containerFlags & 2) {\n          blockScopeContainer = node;\n          if (containerFlags & 32) {\n            blockScopeContainer.locals = void 0;\n          }\n        }\n        if (containerFlags & 4) {\n          const saveCurrentFlow = currentFlow;\n          const saveBreakTarget = currentBreakTarget;\n          const saveContinueTarget = currentContinueTarget;\n          const saveReturnTarget = currentReturnTarget;\n          const saveExceptionTarget = currentExceptionTarget;\n          const saveActiveLabelList = activeLabelList;\n          const saveHasExplicitReturn = hasExplicitReturn;\n          const isImmediatelyInvoked = containerFlags & 16 && !hasSyntacticModifier(\n            node,\n            512\n            /* Async */\n          ) && !node.asteriskToken && !!getImmediatelyInvokedFunctionExpression(node) || node.kind === 172;\n          if (!isImmediatelyInvoked) {\n            currentFlow = initFlowNode({\n              flags: 2\n              /* Start */\n            });\n            if (containerFlags & (16 | 128)) {\n              currentFlow.node = node;\n            }\n          }\n          currentReturnTarget = isImmediatelyInvoked || node.kind === 173 || isInJSFile(node) && (node.kind === 259 || node.kind === 215) ? createBranchLabel() : void 0;\n          currentExceptionTarget = void 0;\n          currentBreakTarget = void 0;\n          currentContinueTarget = void 0;\n          activeLabelList = void 0;\n          hasExplicitReturn = false;\n          bindChildren(node);\n          node.flags &= ~2816;\n          if (!(currentFlow.flags & 1) && containerFlags & 8 && nodeIsPresent(node.body)) {\n            node.flags |= 256;\n            if (hasExplicitReturn)\n              node.flags |= 512;\n            node.endFlowNode = currentFlow;\n          }\n          if (node.kind === 308) {\n            node.flags |= emitFlags;\n            node.endFlowNode = currentFlow;\n          }\n          if (currentReturnTarget) {\n            addAntecedent(currentReturnTarget, currentFlow);\n            currentFlow = finishFlowLabel(currentReturnTarget);\n            if (node.kind === 173 || node.kind === 172 || isInJSFile(node) && (node.kind === 259 || node.kind === 215)) {\n              node.returnFlowNode = currentFlow;\n            }\n          }\n          if (!isImmediatelyInvoked) {\n            currentFlow = saveCurrentFlow;\n          }\n          currentBreakTarget = saveBreakTarget;\n          currentContinueTarget = saveContinueTarget;\n          currentReturnTarget = saveReturnTarget;\n          currentExceptionTarget = saveExceptionTarget;\n          activeLabelList = saveActiveLabelList;\n          hasExplicitReturn = saveHasExplicitReturn;\n        } else if (containerFlags & 64) {\n          seenThisKeyword = false;\n          bindChildren(node);\n          Debug2.assertNotNode(node, isIdentifier);\n          node.flags = seenThisKeyword ? node.flags | 128 : node.flags & ~128;\n        } else {\n          bindChildren(node);\n        }\n        container = saveContainer;\n        thisParentContainer = saveThisParentContainer;\n        blockScopeContainer = savedBlockScopeContainer;\n      }\n      function bindEachFunctionsFirst(nodes) {\n        bindEach(nodes, (n) => n.kind === 259 ? bind(n) : void 0);\n        bindEach(nodes, (n) => n.kind !== 259 ? bind(n) : void 0);\n      }\n      function bindEach(nodes, bindFunction = bind) {\n        if (nodes === void 0) {\n          return;\n        }\n        forEach(nodes, bindFunction);\n      }\n      function bindEachChild(node) {\n        forEachChild(node, bind, bindEach);\n      }\n      function bindChildren(node) {\n        const saveInAssignmentPattern = inAssignmentPattern;\n        inAssignmentPattern = false;\n        if (checkUnreachable(node)) {\n          bindEachChild(node);\n          bindJSDoc(node);\n          inAssignmentPattern = saveInAssignmentPattern;\n          return;\n        }\n        if (node.kind >= 240 && node.kind <= 256 && !options.allowUnreachableCode) {\n          node.flowNode = currentFlow;\n        }\n        switch (node.kind) {\n          case 244:\n            bindWhileStatement(node);\n            break;\n          case 243:\n            bindDoStatement(node);\n            break;\n          case 245:\n            bindForStatement(node);\n            break;\n          case 246:\n          case 247:\n            bindForInOrForOfStatement(node);\n            break;\n          case 242:\n            bindIfStatement(node);\n            break;\n          case 250:\n          case 254:\n            bindReturnOrThrow(node);\n            break;\n          case 249:\n          case 248:\n            bindBreakOrContinueStatement(node);\n            break;\n          case 255:\n            bindTryStatement(node);\n            break;\n          case 252:\n            bindSwitchStatement(node);\n            break;\n          case 266:\n            bindCaseBlock(node);\n            break;\n          case 292:\n            bindCaseClause(node);\n            break;\n          case 241:\n            bindExpressionStatement(node);\n            break;\n          case 253:\n            bindLabeledStatement(node);\n            break;\n          case 221:\n            bindPrefixUnaryExpressionFlow(node);\n            break;\n          case 222:\n            bindPostfixUnaryExpressionFlow(node);\n            break;\n          case 223:\n            if (isDestructuringAssignment(node)) {\n              inAssignmentPattern = saveInAssignmentPattern;\n              bindDestructuringAssignmentFlow(node);\n              return;\n            }\n            bindBinaryExpressionFlow(node);\n            break;\n          case 217:\n            bindDeleteExpressionFlow(node);\n            break;\n          case 224:\n            bindConditionalExpressionFlow(node);\n            break;\n          case 257:\n            bindVariableDeclarationFlow(node);\n            break;\n          case 208:\n          case 209:\n            bindAccessExpressionFlow(node);\n            break;\n          case 210:\n            bindCallExpressionFlow(node);\n            break;\n          case 232:\n            bindNonNullExpressionFlow(node);\n            break;\n          case 349:\n          case 341:\n          case 343:\n            bindJSDocTypeAlias(node);\n            break;\n          case 308: {\n            bindEachFunctionsFirst(node.statements);\n            bind(node.endOfFileToken);\n            break;\n          }\n          case 238:\n          case 265:\n            bindEachFunctionsFirst(node.statements);\n            break;\n          case 205:\n            bindBindingElementFlow(node);\n            break;\n          case 166:\n            bindParameterFlow(node);\n            break;\n          case 207:\n          case 206:\n          case 299:\n          case 227:\n            inAssignmentPattern = saveInAssignmentPattern;\n          default:\n            bindEachChild(node);\n            break;\n        }\n        bindJSDoc(node);\n        inAssignmentPattern = saveInAssignmentPattern;\n      }\n      function isNarrowingExpression(expr) {\n        switch (expr.kind) {\n          case 79:\n          case 80:\n          case 108:\n          case 208:\n          case 209:\n            return containsNarrowableReference(expr);\n          case 210:\n            return hasNarrowableArgument(expr);\n          case 214:\n          case 232:\n            return isNarrowingExpression(expr.expression);\n          case 223:\n            return isNarrowingBinaryExpression(expr);\n          case 221:\n            return expr.operator === 53 && isNarrowingExpression(expr.operand);\n          case 218:\n            return isNarrowingExpression(expr.expression);\n        }\n        return false;\n      }\n      function isNarrowableReference(expr) {\n        return isDottedName(expr) || (isPropertyAccessExpression(expr) || isNonNullExpression(expr) || isParenthesizedExpression(expr)) && isNarrowableReference(expr.expression) || isBinaryExpression(expr) && expr.operatorToken.kind === 27 && isNarrowableReference(expr.right) || isElementAccessExpression(expr) && (isStringOrNumericLiteralLike(expr.argumentExpression) || isEntityNameExpression(expr.argumentExpression)) && isNarrowableReference(expr.expression) || isAssignmentExpression(expr) && isNarrowableReference(expr.left);\n      }\n      function containsNarrowableReference(expr) {\n        return isNarrowableReference(expr) || isOptionalChain(expr) && containsNarrowableReference(expr.expression);\n      }\n      function hasNarrowableArgument(expr) {\n        if (expr.arguments) {\n          for (const argument of expr.arguments) {\n            if (containsNarrowableReference(argument)) {\n              return true;\n            }\n          }\n        }\n        if (expr.expression.kind === 208 && containsNarrowableReference(expr.expression.expression)) {\n          return true;\n        }\n        return false;\n      }\n      function isNarrowingTypeofOperands(expr1, expr2) {\n        return isTypeOfExpression(expr1) && isNarrowableOperand(expr1.expression) && isStringLiteralLike(expr2);\n      }\n      function isNarrowingBinaryExpression(expr) {\n        switch (expr.operatorToken.kind) {\n          case 63:\n          case 75:\n          case 76:\n          case 77:\n            return containsNarrowableReference(expr.left);\n          case 34:\n          case 35:\n          case 36:\n          case 37:\n            return isNarrowableOperand(expr.left) || isNarrowableOperand(expr.right) || isNarrowingTypeofOperands(expr.right, expr.left) || isNarrowingTypeofOperands(expr.left, expr.right);\n          case 102:\n            return isNarrowableOperand(expr.left);\n          case 101:\n            return isNarrowingExpression(expr.right);\n          case 27:\n            return isNarrowingExpression(expr.right);\n        }\n        return false;\n      }\n      function isNarrowableOperand(expr) {\n        switch (expr.kind) {\n          case 214:\n            return isNarrowableOperand(expr.expression);\n          case 223:\n            switch (expr.operatorToken.kind) {\n              case 63:\n                return isNarrowableOperand(expr.left);\n              case 27:\n                return isNarrowableOperand(expr.right);\n            }\n        }\n        return containsNarrowableReference(expr);\n      }\n      function createBranchLabel() {\n        return initFlowNode({ flags: 4, antecedents: void 0 });\n      }\n      function createLoopLabel() {\n        return initFlowNode({ flags: 8, antecedents: void 0 });\n      }\n      function createReduceLabel(target, antecedents, antecedent) {\n        return initFlowNode({ flags: 1024, target, antecedents, antecedent });\n      }\n      function setFlowNodeReferenced(flow) {\n        flow.flags |= flow.flags & 2048 ? 4096 : 2048;\n      }\n      function addAntecedent(label, antecedent) {\n        if (!(antecedent.flags & 1) && !contains(label.antecedents, antecedent)) {\n          (label.antecedents || (label.antecedents = [])).push(antecedent);\n          setFlowNodeReferenced(antecedent);\n        }\n      }\n      function createFlowCondition(flags, antecedent, expression) {\n        if (antecedent.flags & 1) {\n          return antecedent;\n        }\n        if (!expression) {\n          return flags & 32 ? antecedent : unreachableFlow;\n        }\n        if ((expression.kind === 110 && flags & 64 || expression.kind === 95 && flags & 32) && !isExpressionOfOptionalChainRoot(expression) && !isNullishCoalesce(expression.parent)) {\n          return unreachableFlow;\n        }\n        if (!isNarrowingExpression(expression)) {\n          return antecedent;\n        }\n        setFlowNodeReferenced(antecedent);\n        return initFlowNode({ flags, antecedent, node: expression });\n      }\n      function createFlowSwitchClause(antecedent, switchStatement, clauseStart, clauseEnd) {\n        setFlowNodeReferenced(antecedent);\n        return initFlowNode({ flags: 128, antecedent, switchStatement, clauseStart, clauseEnd });\n      }\n      function createFlowMutation(flags, antecedent, node) {\n        setFlowNodeReferenced(antecedent);\n        const result = initFlowNode({ flags, antecedent, node });\n        if (currentExceptionTarget) {\n          addAntecedent(currentExceptionTarget, result);\n        }\n        return result;\n      }\n      function createFlowCall(antecedent, node) {\n        setFlowNodeReferenced(antecedent);\n        return initFlowNode({ flags: 512, antecedent, node });\n      }\n      function finishFlowLabel(flow) {\n        const antecedents = flow.antecedents;\n        if (!antecedents) {\n          return unreachableFlow;\n        }\n        if (antecedents.length === 1) {\n          return antecedents[0];\n        }\n        return flow;\n      }\n      function isStatementCondition(node) {\n        const parent3 = node.parent;\n        switch (parent3.kind) {\n          case 242:\n          case 244:\n          case 243:\n            return parent3.expression === node;\n          case 245:\n          case 224:\n            return parent3.condition === node;\n        }\n        return false;\n      }\n      function isLogicalExpression(node) {\n        while (true) {\n          if (node.kind === 214) {\n            node = node.expression;\n          } else if (node.kind === 221 && node.operator === 53) {\n            node = node.operand;\n          } else {\n            return isLogicalOrCoalescingBinaryExpression(node);\n          }\n        }\n      }\n      function isLogicalAssignmentExpression(node) {\n        return isLogicalOrCoalescingAssignmentExpression(skipParentheses(node));\n      }\n      function isTopLevelLogicalExpression(node) {\n        while (isParenthesizedExpression(node.parent) || isPrefixUnaryExpression(node.parent) && node.parent.operator === 53) {\n          node = node.parent;\n        }\n        return !isStatementCondition(node) && !isLogicalExpression(node.parent) && !(isOptionalChain(node.parent) && node.parent.expression === node);\n      }\n      function doWithConditionalBranches(action, value, trueTarget, falseTarget) {\n        const savedTrueTarget = currentTrueTarget;\n        const savedFalseTarget = currentFalseTarget;\n        currentTrueTarget = trueTarget;\n        currentFalseTarget = falseTarget;\n        action(value);\n        currentTrueTarget = savedTrueTarget;\n        currentFalseTarget = savedFalseTarget;\n      }\n      function bindCondition(node, trueTarget, falseTarget) {\n        doWithConditionalBranches(bind, node, trueTarget, falseTarget);\n        if (!node || !isLogicalAssignmentExpression(node) && !isLogicalExpression(node) && !(isOptionalChain(node) && isOutermostOptionalChain(node))) {\n          addAntecedent(trueTarget, createFlowCondition(32, currentFlow, node));\n          addAntecedent(falseTarget, createFlowCondition(64, currentFlow, node));\n        }\n      }\n      function bindIterativeStatement(node, breakTarget, continueTarget) {\n        const saveBreakTarget = currentBreakTarget;\n        const saveContinueTarget = currentContinueTarget;\n        currentBreakTarget = breakTarget;\n        currentContinueTarget = continueTarget;\n        bind(node);\n        currentBreakTarget = saveBreakTarget;\n        currentContinueTarget = saveContinueTarget;\n      }\n      function setContinueTarget(node, target) {\n        let label = activeLabelList;\n        while (label && node.parent.kind === 253) {\n          label.continueTarget = target;\n          label = label.next;\n          node = node.parent;\n        }\n        return target;\n      }\n      function bindWhileStatement(node) {\n        const preWhileLabel = setContinueTarget(node, createLoopLabel());\n        const preBodyLabel = createBranchLabel();\n        const postWhileLabel = createBranchLabel();\n        addAntecedent(preWhileLabel, currentFlow);\n        currentFlow = preWhileLabel;\n        bindCondition(node.expression, preBodyLabel, postWhileLabel);\n        currentFlow = finishFlowLabel(preBodyLabel);\n        bindIterativeStatement(node.statement, postWhileLabel, preWhileLabel);\n        addAntecedent(preWhileLabel, currentFlow);\n        currentFlow = finishFlowLabel(postWhileLabel);\n      }\n      function bindDoStatement(node) {\n        const preDoLabel = createLoopLabel();\n        const preConditionLabel = setContinueTarget(node, createBranchLabel());\n        const postDoLabel = createBranchLabel();\n        addAntecedent(preDoLabel, currentFlow);\n        currentFlow = preDoLabel;\n        bindIterativeStatement(node.statement, postDoLabel, preConditionLabel);\n        addAntecedent(preConditionLabel, currentFlow);\n        currentFlow = finishFlowLabel(preConditionLabel);\n        bindCondition(node.expression, preDoLabel, postDoLabel);\n        currentFlow = finishFlowLabel(postDoLabel);\n      }\n      function bindForStatement(node) {\n        const preLoopLabel = setContinueTarget(node, createLoopLabel());\n        const preBodyLabel = createBranchLabel();\n        const postLoopLabel = createBranchLabel();\n        bind(node.initializer);\n        addAntecedent(preLoopLabel, currentFlow);\n        currentFlow = preLoopLabel;\n        bindCondition(node.condition, preBodyLabel, postLoopLabel);\n        currentFlow = finishFlowLabel(preBodyLabel);\n        bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel);\n        bind(node.incrementor);\n        addAntecedent(preLoopLabel, currentFlow);\n        currentFlow = finishFlowLabel(postLoopLabel);\n      }\n      function bindForInOrForOfStatement(node) {\n        const preLoopLabel = setContinueTarget(node, createLoopLabel());\n        const postLoopLabel = createBranchLabel();\n        bind(node.expression);\n        addAntecedent(preLoopLabel, currentFlow);\n        currentFlow = preLoopLabel;\n        if (node.kind === 247) {\n          bind(node.awaitModifier);\n        }\n        addAntecedent(postLoopLabel, currentFlow);\n        bind(node.initializer);\n        if (node.initializer.kind !== 258) {\n          bindAssignmentTargetFlow(node.initializer);\n        }\n        bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel);\n        addAntecedent(preLoopLabel, currentFlow);\n        currentFlow = finishFlowLabel(postLoopLabel);\n      }\n      function bindIfStatement(node) {\n        const thenLabel = createBranchLabel();\n        const elseLabel = createBranchLabel();\n        const postIfLabel = createBranchLabel();\n        bindCondition(node.expression, thenLabel, elseLabel);\n        currentFlow = finishFlowLabel(thenLabel);\n        bind(node.thenStatement);\n        addAntecedent(postIfLabel, currentFlow);\n        currentFlow = finishFlowLabel(elseLabel);\n        bind(node.elseStatement);\n        addAntecedent(postIfLabel, currentFlow);\n        currentFlow = finishFlowLabel(postIfLabel);\n      }\n      function bindReturnOrThrow(node) {\n        bind(node.expression);\n        if (node.kind === 250) {\n          hasExplicitReturn = true;\n          if (currentReturnTarget) {\n            addAntecedent(currentReturnTarget, currentFlow);\n          }\n        }\n        currentFlow = unreachableFlow;\n      }\n      function findActiveLabel(name) {\n        for (let label = activeLabelList; label; label = label.next) {\n          if (label.name === name) {\n            return label;\n          }\n        }\n        return void 0;\n      }\n      function bindBreakOrContinueFlow(node, breakTarget, continueTarget) {\n        const flowLabel = node.kind === 249 ? breakTarget : continueTarget;\n        if (flowLabel) {\n          addAntecedent(flowLabel, currentFlow);\n          currentFlow = unreachableFlow;\n        }\n      }\n      function bindBreakOrContinueStatement(node) {\n        bind(node.label);\n        if (node.label) {\n          const activeLabel = findActiveLabel(node.label.escapedText);\n          if (activeLabel) {\n            activeLabel.referenced = true;\n            bindBreakOrContinueFlow(node, activeLabel.breakTarget, activeLabel.continueTarget);\n          }\n        } else {\n          bindBreakOrContinueFlow(node, currentBreakTarget, currentContinueTarget);\n        }\n      }\n      function bindTryStatement(node) {\n        const saveReturnTarget = currentReturnTarget;\n        const saveExceptionTarget = currentExceptionTarget;\n        const normalExitLabel = createBranchLabel();\n        const returnLabel = createBranchLabel();\n        let exceptionLabel = createBranchLabel();\n        if (node.finallyBlock) {\n          currentReturnTarget = returnLabel;\n        }\n        addAntecedent(exceptionLabel, currentFlow);\n        currentExceptionTarget = exceptionLabel;\n        bind(node.tryBlock);\n        addAntecedent(normalExitLabel, currentFlow);\n        if (node.catchClause) {\n          currentFlow = finishFlowLabel(exceptionLabel);\n          exceptionLabel = createBranchLabel();\n          addAntecedent(exceptionLabel, currentFlow);\n          currentExceptionTarget = exceptionLabel;\n          bind(node.catchClause);\n          addAntecedent(normalExitLabel, currentFlow);\n        }\n        currentReturnTarget = saveReturnTarget;\n        currentExceptionTarget = saveExceptionTarget;\n        if (node.finallyBlock) {\n          const finallyLabel = createBranchLabel();\n          finallyLabel.antecedents = concatenate(concatenate(normalExitLabel.antecedents, exceptionLabel.antecedents), returnLabel.antecedents);\n          currentFlow = finallyLabel;\n          bind(node.finallyBlock);\n          if (currentFlow.flags & 1) {\n            currentFlow = unreachableFlow;\n          } else {\n            if (currentReturnTarget && returnLabel.antecedents) {\n              addAntecedent(currentReturnTarget, createReduceLabel(finallyLabel, returnLabel.antecedents, currentFlow));\n            }\n            if (currentExceptionTarget && exceptionLabel.antecedents) {\n              addAntecedent(currentExceptionTarget, createReduceLabel(finallyLabel, exceptionLabel.antecedents, currentFlow));\n            }\n            currentFlow = normalExitLabel.antecedents ? createReduceLabel(finallyLabel, normalExitLabel.antecedents, currentFlow) : unreachableFlow;\n          }\n        } else {\n          currentFlow = finishFlowLabel(normalExitLabel);\n        }\n      }\n      function bindSwitchStatement(node) {\n        const postSwitchLabel = createBranchLabel();\n        bind(node.expression);\n        const saveBreakTarget = currentBreakTarget;\n        const savePreSwitchCaseFlow = preSwitchCaseFlow;\n        currentBreakTarget = postSwitchLabel;\n        preSwitchCaseFlow = currentFlow;\n        bind(node.caseBlock);\n        addAntecedent(postSwitchLabel, currentFlow);\n        const hasDefault = forEach(\n          node.caseBlock.clauses,\n          (c) => c.kind === 293\n          /* DefaultClause */\n        );\n        node.possiblyExhaustive = !hasDefault && !postSwitchLabel.antecedents;\n        if (!hasDefault) {\n          addAntecedent(postSwitchLabel, createFlowSwitchClause(preSwitchCaseFlow, node, 0, 0));\n        }\n        currentBreakTarget = saveBreakTarget;\n        preSwitchCaseFlow = savePreSwitchCaseFlow;\n        currentFlow = finishFlowLabel(postSwitchLabel);\n      }\n      function bindCaseBlock(node) {\n        const clauses = node.clauses;\n        const isNarrowingSwitch = isNarrowingExpression(node.parent.expression);\n        let fallthroughFlow = unreachableFlow;\n        for (let i = 0; i < clauses.length; i++) {\n          const clauseStart = i;\n          while (!clauses[i].statements.length && i + 1 < clauses.length) {\n            bind(clauses[i]);\n            i++;\n          }\n          const preCaseLabel = createBranchLabel();\n          addAntecedent(preCaseLabel, isNarrowingSwitch ? createFlowSwitchClause(preSwitchCaseFlow, node.parent, clauseStart, i + 1) : preSwitchCaseFlow);\n          addAntecedent(preCaseLabel, fallthroughFlow);\n          currentFlow = finishFlowLabel(preCaseLabel);\n          const clause = clauses[i];\n          bind(clause);\n          fallthroughFlow = currentFlow;\n          if (!(currentFlow.flags & 1) && i !== clauses.length - 1 && options.noFallthroughCasesInSwitch) {\n            clause.fallthroughFlowNode = currentFlow;\n          }\n        }\n      }\n      function bindCaseClause(node) {\n        const saveCurrentFlow = currentFlow;\n        currentFlow = preSwitchCaseFlow;\n        bind(node.expression);\n        currentFlow = saveCurrentFlow;\n        bindEach(node.statements);\n      }\n      function bindExpressionStatement(node) {\n        bind(node.expression);\n        maybeBindExpressionFlowIfCall(node.expression);\n      }\n      function maybeBindExpressionFlowIfCall(node) {\n        if (node.kind === 210) {\n          const call = node;\n          if (call.expression.kind !== 106 && isDottedName(call.expression)) {\n            currentFlow = createFlowCall(currentFlow, call);\n          }\n        }\n      }\n      function bindLabeledStatement(node) {\n        const postStatementLabel = createBranchLabel();\n        activeLabelList = {\n          next: activeLabelList,\n          name: node.label.escapedText,\n          breakTarget: postStatementLabel,\n          continueTarget: void 0,\n          referenced: false\n        };\n        bind(node.label);\n        bind(node.statement);\n        if (!activeLabelList.referenced && !options.allowUnusedLabels) {\n          errorOrSuggestionOnNode(unusedLabelIsError(options), node.label, Diagnostics.Unused_label);\n        }\n        activeLabelList = activeLabelList.next;\n        addAntecedent(postStatementLabel, currentFlow);\n        currentFlow = finishFlowLabel(postStatementLabel);\n      }\n      function bindDestructuringTargetFlow(node) {\n        if (node.kind === 223 && node.operatorToken.kind === 63) {\n          bindAssignmentTargetFlow(node.left);\n        } else {\n          bindAssignmentTargetFlow(node);\n        }\n      }\n      function bindAssignmentTargetFlow(node) {\n        if (isNarrowableReference(node)) {\n          currentFlow = createFlowMutation(16, currentFlow, node);\n        } else if (node.kind === 206) {\n          for (const e of node.elements) {\n            if (e.kind === 227) {\n              bindAssignmentTargetFlow(e.expression);\n            } else {\n              bindDestructuringTargetFlow(e);\n            }\n          }\n        } else if (node.kind === 207) {\n          for (const p of node.properties) {\n            if (p.kind === 299) {\n              bindDestructuringTargetFlow(p.initializer);\n            } else if (p.kind === 300) {\n              bindAssignmentTargetFlow(p.name);\n            } else if (p.kind === 301) {\n              bindAssignmentTargetFlow(p.expression);\n            }\n          }\n        }\n      }\n      function bindLogicalLikeExpression(node, trueTarget, falseTarget) {\n        const preRightLabel = createBranchLabel();\n        if (node.operatorToken.kind === 55 || node.operatorToken.kind === 76) {\n          bindCondition(node.left, preRightLabel, falseTarget);\n        } else {\n          bindCondition(node.left, trueTarget, preRightLabel);\n        }\n        currentFlow = finishFlowLabel(preRightLabel);\n        bind(node.operatorToken);\n        if (isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind)) {\n          doWithConditionalBranches(bind, node.right, trueTarget, falseTarget);\n          bindAssignmentTargetFlow(node.left);\n          addAntecedent(trueTarget, createFlowCondition(32, currentFlow, node));\n          addAntecedent(falseTarget, createFlowCondition(64, currentFlow, node));\n        } else {\n          bindCondition(node.right, trueTarget, falseTarget);\n        }\n      }\n      function bindPrefixUnaryExpressionFlow(node) {\n        if (node.operator === 53) {\n          const saveTrueTarget = currentTrueTarget;\n          currentTrueTarget = currentFalseTarget;\n          currentFalseTarget = saveTrueTarget;\n          bindEachChild(node);\n          currentFalseTarget = currentTrueTarget;\n          currentTrueTarget = saveTrueTarget;\n        } else {\n          bindEachChild(node);\n          if (node.operator === 45 || node.operator === 46) {\n            bindAssignmentTargetFlow(node.operand);\n          }\n        }\n      }\n      function bindPostfixUnaryExpressionFlow(node) {\n        bindEachChild(node);\n        if (node.operator === 45 || node.operator === 46) {\n          bindAssignmentTargetFlow(node.operand);\n        }\n      }\n      function bindDestructuringAssignmentFlow(node) {\n        if (inAssignmentPattern) {\n          inAssignmentPattern = false;\n          bind(node.operatorToken);\n          bind(node.right);\n          inAssignmentPattern = true;\n          bind(node.left);\n        } else {\n          inAssignmentPattern = true;\n          bind(node.left);\n          inAssignmentPattern = false;\n          bind(node.operatorToken);\n          bind(node.right);\n        }\n        bindAssignmentTargetFlow(node.left);\n      }\n      function createBindBinaryExpressionFlow() {\n        return createBinaryExpressionTrampoline(\n          onEnter,\n          onLeft,\n          onOperator,\n          onRight,\n          onExit,\n          /*foldState*/\n          void 0\n        );\n        function onEnter(node, state) {\n          if (state) {\n            state.stackIndex++;\n            setParent(node, parent2);\n            const saveInStrictMode = inStrictMode;\n            bindWorker(node);\n            const saveParent = parent2;\n            parent2 = node;\n            state.skip = false;\n            state.inStrictModeStack[state.stackIndex] = saveInStrictMode;\n            state.parentStack[state.stackIndex] = saveParent;\n          } else {\n            state = {\n              stackIndex: 0,\n              skip: false,\n              inStrictModeStack: [void 0],\n              parentStack: [void 0]\n            };\n          }\n          const operator = node.operatorToken.kind;\n          if (isLogicalOrCoalescingBinaryOperator(operator) || isLogicalOrCoalescingAssignmentOperator(operator)) {\n            if (isTopLevelLogicalExpression(node)) {\n              const postExpressionLabel = createBranchLabel();\n              bindLogicalLikeExpression(node, postExpressionLabel, postExpressionLabel);\n              currentFlow = finishFlowLabel(postExpressionLabel);\n            } else {\n              bindLogicalLikeExpression(node, currentTrueTarget, currentFalseTarget);\n            }\n            state.skip = true;\n          }\n          return state;\n        }\n        function onLeft(left, state, node) {\n          if (!state.skip) {\n            const maybeBound = maybeBind2(left);\n            if (node.operatorToken.kind === 27) {\n              maybeBindExpressionFlowIfCall(left);\n            }\n            return maybeBound;\n          }\n        }\n        function onOperator(operatorToken, state, _node) {\n          if (!state.skip) {\n            bind(operatorToken);\n          }\n        }\n        function onRight(right, state, node) {\n          if (!state.skip) {\n            const maybeBound = maybeBind2(right);\n            if (node.operatorToken.kind === 27) {\n              maybeBindExpressionFlowIfCall(right);\n            }\n            return maybeBound;\n          }\n        }\n        function onExit(node, state) {\n          if (!state.skip) {\n            const operator = node.operatorToken.kind;\n            if (isAssignmentOperator(operator) && !isAssignmentTarget(node)) {\n              bindAssignmentTargetFlow(node.left);\n              if (operator === 63 && node.left.kind === 209) {\n                const elementAccess = node.left;\n                if (isNarrowableOperand(elementAccess.expression)) {\n                  currentFlow = createFlowMutation(256, currentFlow, node);\n                }\n              }\n            }\n          }\n          const savedInStrictMode = state.inStrictModeStack[state.stackIndex];\n          const savedParent = state.parentStack[state.stackIndex];\n          if (savedInStrictMode !== void 0) {\n            inStrictMode = savedInStrictMode;\n          }\n          if (savedParent !== void 0) {\n            parent2 = savedParent;\n          }\n          state.skip = false;\n          state.stackIndex--;\n        }\n        function maybeBind2(node) {\n          if (node && isBinaryExpression(node) && !isDestructuringAssignment(node)) {\n            return node;\n          }\n          bind(node);\n        }\n      }\n      function bindDeleteExpressionFlow(node) {\n        bindEachChild(node);\n        if (node.expression.kind === 208) {\n          bindAssignmentTargetFlow(node.expression);\n        }\n      }\n      function bindConditionalExpressionFlow(node) {\n        const trueLabel = createBranchLabel();\n        const falseLabel = createBranchLabel();\n        const postExpressionLabel = createBranchLabel();\n        bindCondition(node.condition, trueLabel, falseLabel);\n        currentFlow = finishFlowLabel(trueLabel);\n        bind(node.questionToken);\n        bind(node.whenTrue);\n        addAntecedent(postExpressionLabel, currentFlow);\n        currentFlow = finishFlowLabel(falseLabel);\n        bind(node.colonToken);\n        bind(node.whenFalse);\n        addAntecedent(postExpressionLabel, currentFlow);\n        currentFlow = finishFlowLabel(postExpressionLabel);\n      }\n      function bindInitializedVariableFlow(node) {\n        const name = !isOmittedExpression(node) ? node.name : void 0;\n        if (isBindingPattern(name)) {\n          for (const child of name.elements) {\n            bindInitializedVariableFlow(child);\n          }\n        } else {\n          currentFlow = createFlowMutation(16, currentFlow, node);\n        }\n      }\n      function bindVariableDeclarationFlow(node) {\n        bindEachChild(node);\n        if (node.initializer || isForInOrOfStatement(node.parent.parent)) {\n          bindInitializedVariableFlow(node);\n        }\n      }\n      function bindBindingElementFlow(node) {\n        bind(node.dotDotDotToken);\n        bind(node.propertyName);\n        bindInitializer(node.initializer);\n        bind(node.name);\n      }\n      function bindParameterFlow(node) {\n        bindEach(node.modifiers);\n        bind(node.dotDotDotToken);\n        bind(node.questionToken);\n        bind(node.type);\n        bindInitializer(node.initializer);\n        bind(node.name);\n      }\n      function bindInitializer(node) {\n        if (!node) {\n          return;\n        }\n        const entryFlow = currentFlow;\n        bind(node);\n        if (entryFlow === unreachableFlow || entryFlow === currentFlow) {\n          return;\n        }\n        const exitFlow = createBranchLabel();\n        addAntecedent(exitFlow, entryFlow);\n        addAntecedent(exitFlow, currentFlow);\n        currentFlow = finishFlowLabel(exitFlow);\n      }\n      function bindJSDocTypeAlias(node) {\n        bind(node.tagName);\n        if (node.kind !== 343 && node.fullName) {\n          setParent(node.fullName, node);\n          setParentRecursive(\n            node.fullName,\n            /*incremental*/\n            false\n          );\n        }\n        if (typeof node.comment !== \"string\") {\n          bindEach(node.comment);\n        }\n      }\n      function bindJSDocClassTag(node) {\n        bindEachChild(node);\n        const host = getHostSignatureFromJSDoc(node);\n        if (host && host.kind !== 171) {\n          addDeclarationToSymbol(\n            host.symbol,\n            host,\n            32\n            /* Class */\n          );\n        }\n      }\n      function bindOptionalExpression(node, trueTarget, falseTarget) {\n        doWithConditionalBranches(bind, node, trueTarget, falseTarget);\n        if (!isOptionalChain(node) || isOutermostOptionalChain(node)) {\n          addAntecedent(trueTarget, createFlowCondition(32, currentFlow, node));\n          addAntecedent(falseTarget, createFlowCondition(64, currentFlow, node));\n        }\n      }\n      function bindOptionalChainRest(node) {\n        switch (node.kind) {\n          case 208:\n            bind(node.questionDotToken);\n            bind(node.name);\n            break;\n          case 209:\n            bind(node.questionDotToken);\n            bind(node.argumentExpression);\n            break;\n          case 210:\n            bind(node.questionDotToken);\n            bindEach(node.typeArguments);\n            bindEach(node.arguments);\n            break;\n        }\n      }\n      function bindOptionalChain(node, trueTarget, falseTarget) {\n        const preChainLabel = isOptionalChainRoot(node) ? createBranchLabel() : void 0;\n        bindOptionalExpression(node.expression, preChainLabel || trueTarget, falseTarget);\n        if (preChainLabel) {\n          currentFlow = finishFlowLabel(preChainLabel);\n        }\n        doWithConditionalBranches(bindOptionalChainRest, node, trueTarget, falseTarget);\n        if (isOutermostOptionalChain(node)) {\n          addAntecedent(trueTarget, createFlowCondition(32, currentFlow, node));\n          addAntecedent(falseTarget, createFlowCondition(64, currentFlow, node));\n        }\n      }\n      function bindOptionalChainFlow(node) {\n        if (isTopLevelLogicalExpression(node)) {\n          const postExpressionLabel = createBranchLabel();\n          bindOptionalChain(node, postExpressionLabel, postExpressionLabel);\n          currentFlow = finishFlowLabel(postExpressionLabel);\n        } else {\n          bindOptionalChain(node, currentTrueTarget, currentFalseTarget);\n        }\n      }\n      function bindNonNullExpressionFlow(node) {\n        if (isOptionalChain(node)) {\n          bindOptionalChainFlow(node);\n        } else {\n          bindEachChild(node);\n        }\n      }\n      function bindAccessExpressionFlow(node) {\n        if (isOptionalChain(node)) {\n          bindOptionalChainFlow(node);\n        } else {\n          bindEachChild(node);\n        }\n      }\n      function bindCallExpressionFlow(node) {\n        if (isOptionalChain(node)) {\n          bindOptionalChainFlow(node);\n        } else {\n          const expr = skipParentheses(node.expression);\n          if (expr.kind === 215 || expr.kind === 216) {\n            bindEach(node.typeArguments);\n            bindEach(node.arguments);\n            bind(node.expression);\n          } else {\n            bindEachChild(node);\n            if (node.expression.kind === 106) {\n              currentFlow = createFlowCall(currentFlow, node);\n            }\n          }\n        }\n        if (node.expression.kind === 208) {\n          const propertyAccess = node.expression;\n          if (isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && isPushOrUnshiftIdentifier(propertyAccess.name)) {\n            currentFlow = createFlowMutation(256, currentFlow, node);\n          }\n        }\n      }\n      function addToContainerChain(next) {\n        if (lastContainer) {\n          lastContainer.nextContainer = next;\n        }\n        lastContainer = next;\n      }\n      function declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes) {\n        switch (container.kind) {\n          case 264:\n            return declareModuleMember(node, symbolFlags, symbolExcludes);\n          case 308:\n            return declareSourceFileMember(node, symbolFlags, symbolExcludes);\n          case 228:\n          case 260:\n            return declareClassMember(node, symbolFlags, symbolExcludes);\n          case 263:\n            return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n          case 184:\n          case 325:\n          case 207:\n          case 261:\n          case 289:\n            return declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes);\n          case 181:\n          case 182:\n          case 176:\n          case 177:\n          case 326:\n          case 178:\n          case 171:\n          case 170:\n          case 173:\n          case 174:\n          case 175:\n          case 259:\n          case 215:\n          case 216:\n          case 320:\n          case 172:\n          case 262:\n          case 197:\n            if (container.locals)\n              Debug2.assertNode(container, canHaveLocals);\n            return declareSymbol(\n              container.locals,\n              /*parent*/\n              void 0,\n              node,\n              symbolFlags,\n              symbolExcludes\n            );\n        }\n      }\n      function declareClassMember(node, symbolFlags, symbolExcludes) {\n        return isStatic(node) ? declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes) : declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes);\n      }\n      function declareSourceFileMember(node, symbolFlags, symbolExcludes) {\n        return isExternalModule(file) ? declareModuleMember(node, symbolFlags, symbolExcludes) : declareSymbol(\n          file.locals,\n          /*parent*/\n          void 0,\n          node,\n          symbolFlags,\n          symbolExcludes\n        );\n      }\n      function hasExportDeclarations(node) {\n        const body = isSourceFile(node) ? node : tryCast(node.body, isModuleBlock);\n        return !!body && body.statements.some((s) => isExportDeclaration(s) || isExportAssignment(s));\n      }\n      function setExportContextFlag(node) {\n        if (node.flags & 16777216 && !hasExportDeclarations(node)) {\n          node.flags |= 64;\n        } else {\n          node.flags &= ~64;\n        }\n      }\n      function bindModuleDeclaration(node) {\n        setExportContextFlag(node);\n        if (isAmbientModule(node)) {\n          if (hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          )) {\n            errorOnFirstToken(node, Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible);\n          }\n          if (isModuleAugmentationExternal(node)) {\n            declareModuleSymbol(node);\n          } else {\n            let pattern;\n            if (node.name.kind === 10) {\n              const { text } = node.name;\n              pattern = tryParsePattern(text);\n              if (pattern === void 0) {\n                errorOnFirstToken(node.name, Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, text);\n              }\n            }\n            const symbol = declareSymbolAndAddToSymbolTable(\n              node,\n              512,\n              110735\n              /* ValueModuleExcludes */\n            );\n            file.patternAmbientModules = append(file.patternAmbientModules, pattern && !isString2(pattern) ? { pattern, symbol } : void 0);\n          }\n        } else {\n          const state = declareModuleSymbol(node);\n          if (state !== 0) {\n            const { symbol } = node;\n            symbol.constEnumOnlyModule = !(symbol.flags & (16 | 32 | 256)) && state === 2 && symbol.constEnumOnlyModule !== false;\n          }\n        }\n      }\n      function declareModuleSymbol(node) {\n        const state = getModuleInstanceState(node);\n        const instantiated = state !== 0;\n        declareSymbolAndAddToSymbolTable(\n          node,\n          instantiated ? 512 : 1024,\n          instantiated ? 110735 : 0\n          /* NamespaceModuleExcludes */\n        );\n        return state;\n      }\n      function bindFunctionOrConstructorType(node) {\n        const symbol = createSymbol(131072, getDeclarationName(node));\n        addDeclarationToSymbol(\n          symbol,\n          node,\n          131072\n          /* Signature */\n        );\n        const typeLiteralSymbol = createSymbol(\n          2048,\n          \"__type\"\n          /* Type */\n        );\n        addDeclarationToSymbol(\n          typeLiteralSymbol,\n          node,\n          2048\n          /* TypeLiteral */\n        );\n        typeLiteralSymbol.members = createSymbolTable();\n        typeLiteralSymbol.members.set(symbol.escapedName, symbol);\n      }\n      function bindObjectLiteralExpression(node) {\n        return bindAnonymousDeclaration(\n          node,\n          4096,\n          \"__object\"\n          /* Object */\n        );\n      }\n      function bindJsxAttributes(node) {\n        return bindAnonymousDeclaration(\n          node,\n          4096,\n          \"__jsxAttributes\"\n          /* JSXAttributes */\n        );\n      }\n      function bindJsxAttribute(node, symbolFlags, symbolExcludes) {\n        return declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes);\n      }\n      function bindAnonymousDeclaration(node, symbolFlags, name) {\n        const symbol = createSymbol(symbolFlags, name);\n        if (symbolFlags & (8 | 106500)) {\n          symbol.parent = container.symbol;\n        }\n        addDeclarationToSymbol(symbol, node, symbolFlags);\n        return symbol;\n      }\n      function bindBlockScopedDeclaration(node, symbolFlags, symbolExcludes) {\n        switch (blockScopeContainer.kind) {\n          case 264:\n            declareModuleMember(node, symbolFlags, symbolExcludes);\n            break;\n          case 308:\n            if (isExternalOrCommonJsModule(container)) {\n              declareModuleMember(node, symbolFlags, symbolExcludes);\n              break;\n            }\n          default:\n            Debug2.assertNode(blockScopeContainer, canHaveLocals);\n            if (!blockScopeContainer.locals) {\n              blockScopeContainer.locals = createSymbolTable();\n              addToContainerChain(blockScopeContainer);\n            }\n            declareSymbol(\n              blockScopeContainer.locals,\n              /*parent*/\n              void 0,\n              node,\n              symbolFlags,\n              symbolExcludes\n            );\n        }\n      }\n      function delayedBindJSDocTypedefTag() {\n        if (!delayedTypeAliases) {\n          return;\n        }\n        const saveContainer = container;\n        const saveLastContainer = lastContainer;\n        const saveBlockScopeContainer = blockScopeContainer;\n        const saveParent = parent2;\n        const saveCurrentFlow = currentFlow;\n        for (const typeAlias of delayedTypeAliases) {\n          const host = typeAlias.parent.parent;\n          container = findAncestor(host.parent, (n) => !!(getContainerFlags(n) & 1)) || file;\n          blockScopeContainer = getEnclosingBlockScopeContainer(host) || file;\n          currentFlow = initFlowNode({\n            flags: 2\n            /* Start */\n          });\n          parent2 = typeAlias;\n          bind(typeAlias.typeExpression);\n          const declName = getNameOfDeclaration(typeAlias);\n          if ((isJSDocEnumTag(typeAlias) || !typeAlias.fullName) && declName && isPropertyAccessEntityNameExpression(declName.parent)) {\n            const isTopLevel = isTopLevelNamespaceAssignment(declName.parent);\n            if (isTopLevel) {\n              bindPotentiallyMissingNamespaces(\n                file.symbol,\n                declName.parent,\n                isTopLevel,\n                !!findAncestor(declName, (d) => isPropertyAccessExpression(d) && d.name.escapedText === \"prototype\"),\n                /*containerIsClass*/\n                false\n              );\n              const oldContainer = container;\n              switch (getAssignmentDeclarationPropertyAccessKind(declName.parent)) {\n                case 1:\n                case 2:\n                  if (!isExternalOrCommonJsModule(file)) {\n                    container = void 0;\n                  } else {\n                    container = file;\n                  }\n                  break;\n                case 4:\n                  container = declName.parent.expression;\n                  break;\n                case 3:\n                  container = declName.parent.expression.name;\n                  break;\n                case 5:\n                  container = isExportsOrModuleExportsOrAlias(file, declName.parent.expression) ? file : isPropertyAccessExpression(declName.parent.expression) ? declName.parent.expression.name : declName.parent.expression;\n                  break;\n                case 0:\n                  return Debug2.fail(\"Shouldn't have detected typedef or enum on non-assignment declaration\");\n              }\n              if (container) {\n                declareModuleMember(\n                  typeAlias,\n                  524288,\n                  788968\n                  /* TypeAliasExcludes */\n                );\n              }\n              container = oldContainer;\n            }\n          } else if (isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 79) {\n            parent2 = typeAlias.parent;\n            bindBlockScopedDeclaration(\n              typeAlias,\n              524288,\n              788968\n              /* TypeAliasExcludes */\n            );\n          } else {\n            bind(typeAlias.fullName);\n          }\n        }\n        container = saveContainer;\n        lastContainer = saveLastContainer;\n        blockScopeContainer = saveBlockScopeContainer;\n        parent2 = saveParent;\n        currentFlow = saveCurrentFlow;\n      }\n      function checkContextualIdentifier(node) {\n        if (!file.parseDiagnostics.length && !(node.flags & 16777216) && !(node.flags & 8388608) && !isIdentifierName(node)) {\n          const originalKeywordKind = identifierToKeywordKind(node);\n          if (originalKeywordKind === void 0) {\n            return;\n          }\n          if (inStrictMode && originalKeywordKind >= 117 && originalKeywordKind <= 125) {\n            file.bindDiagnostics.push(createDiagnosticForNode2(\n              node,\n              getStrictModeIdentifierMessage(node),\n              declarationNameToString(node)\n            ));\n          } else if (originalKeywordKind === 133) {\n            if (isExternalModule(file) && isInTopLevelContext(node)) {\n              file.bindDiagnostics.push(createDiagnosticForNode2(\n                node,\n                Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,\n                declarationNameToString(node)\n              ));\n            } else if (node.flags & 32768) {\n              file.bindDiagnostics.push(createDiagnosticForNode2(\n                node,\n                Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,\n                declarationNameToString(node)\n              ));\n            }\n          } else if (originalKeywordKind === 125 && node.flags & 8192) {\n            file.bindDiagnostics.push(createDiagnosticForNode2(\n              node,\n              Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,\n              declarationNameToString(node)\n            ));\n          }\n        }\n      }\n      function getStrictModeIdentifierMessage(node) {\n        if (getContainingClass(node)) {\n          return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;\n        }\n        if (file.externalModuleIndicator) {\n          return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;\n        }\n        return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode;\n      }\n      function checkPrivateIdentifier(node) {\n        if (node.escapedText === \"#constructor\") {\n          if (!file.parseDiagnostics.length) {\n            file.bindDiagnostics.push(createDiagnosticForNode2(\n              node,\n              Diagnostics.constructor_is_a_reserved_word,\n              declarationNameToString(node)\n            ));\n          }\n        }\n      }\n      function checkStrictModeBinaryExpression(node) {\n        if (inStrictMode && isLeftHandSideExpression(node.left) && isAssignmentOperator(node.operatorToken.kind)) {\n          checkStrictModeEvalOrArguments(node, node.left);\n        }\n      }\n      function checkStrictModeCatchClause(node) {\n        if (inStrictMode && node.variableDeclaration) {\n          checkStrictModeEvalOrArguments(node, node.variableDeclaration.name);\n        }\n      }\n      function checkStrictModeDeleteExpression(node) {\n        if (inStrictMode && node.expression.kind === 79) {\n          const span = getErrorSpanForNode(file, node.expression);\n          file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode));\n        }\n      }\n      function isEvalOrArgumentsIdentifier(node) {\n        return isIdentifier(node) && (node.escapedText === \"eval\" || node.escapedText === \"arguments\");\n      }\n      function checkStrictModeEvalOrArguments(contextNode, name) {\n        if (name && name.kind === 79) {\n          const identifier = name;\n          if (isEvalOrArgumentsIdentifier(identifier)) {\n            const span = getErrorSpanForNode(file, name);\n            file.bindDiagnostics.push(createFileDiagnostic(\n              file,\n              span.start,\n              span.length,\n              getStrictModeEvalOrArgumentsMessage(contextNode),\n              idText(identifier)\n            ));\n          }\n        }\n      }\n      function getStrictModeEvalOrArgumentsMessage(node) {\n        if (getContainingClass(node)) {\n          return Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode;\n        }\n        if (file.externalModuleIndicator) {\n          return Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;\n        }\n        return Diagnostics.Invalid_use_of_0_in_strict_mode;\n      }\n      function checkStrictModeFunctionName(node) {\n        if (inStrictMode) {\n          checkStrictModeEvalOrArguments(node, node.name);\n        }\n      }\n      function getStrictModeBlockScopeFunctionDeclarationMessage(node) {\n        if (getContainingClass(node)) {\n          return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode;\n        }\n        if (file.externalModuleIndicator) {\n          return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode;\n        }\n        return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5;\n      }\n      function checkStrictModeFunctionDeclaration(node) {\n        if (languageVersion < 2) {\n          if (blockScopeContainer.kind !== 308 && blockScopeContainer.kind !== 264 && !isFunctionLikeOrClassStaticBlockDeclaration(blockScopeContainer)) {\n            const errorSpan = getErrorSpanForNode(file, node);\n            file.bindDiagnostics.push(createFileDiagnostic(\n              file,\n              errorSpan.start,\n              errorSpan.length,\n              getStrictModeBlockScopeFunctionDeclarationMessage(node)\n            ));\n          }\n        }\n      }\n      function checkStrictModeNumericLiteral(node) {\n        if (languageVersion < 1 && inStrictMode && node.numericLiteralFlags & 32) {\n          file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Octal_literals_are_not_allowed_in_strict_mode));\n        }\n      }\n      function checkStrictModePostfixUnaryExpression(node) {\n        if (inStrictMode) {\n          checkStrictModeEvalOrArguments(node, node.operand);\n        }\n      }\n      function checkStrictModePrefixUnaryExpression(node) {\n        if (inStrictMode) {\n          if (node.operator === 45 || node.operator === 46) {\n            checkStrictModeEvalOrArguments(node, node.operand);\n          }\n        }\n      }\n      function checkStrictModeWithStatement(node) {\n        if (inStrictMode) {\n          errorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_strict_mode);\n        }\n      }\n      function checkStrictModeLabeledStatement(node) {\n        if (inStrictMode && getEmitScriptTarget(options) >= 2) {\n          if (isDeclarationStatement(node.statement) || isVariableStatement(node.statement)) {\n            errorOnFirstToken(node.label, Diagnostics.A_label_is_not_allowed_here);\n          }\n        }\n      }\n      function errorOnFirstToken(node, message, arg0, arg1, arg2) {\n        const span = getSpanOfTokenAtPosition(file, node.pos);\n        file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, message, arg0, arg1, arg2));\n      }\n      function errorOrSuggestionOnNode(isError, node, message) {\n        errorOrSuggestionOnRange(isError, node, node, message);\n      }\n      function errorOrSuggestionOnRange(isError, startNode2, endNode2, message) {\n        addErrorOrSuggestionDiagnostic(isError, { pos: getTokenPosOfNode(startNode2, file), end: endNode2.end }, message);\n      }\n      function addErrorOrSuggestionDiagnostic(isError, range, message) {\n        const diag2 = createFileDiagnostic(file, range.pos, range.end - range.pos, message);\n        if (isError) {\n          file.bindDiagnostics.push(diag2);\n        } else {\n          file.bindSuggestionDiagnostics = append(file.bindSuggestionDiagnostics, {\n            ...diag2,\n            category: 2\n            /* Suggestion */\n          });\n        }\n      }\n      function bind(node) {\n        if (!node) {\n          return;\n        }\n        setParent(node, parent2);\n        if (tracing)\n          node.tracingPath = file.path;\n        const saveInStrictMode = inStrictMode;\n        bindWorker(node);\n        if (node.kind > 162) {\n          const saveParent = parent2;\n          parent2 = node;\n          const containerFlags = getContainerFlags(node);\n          if (containerFlags === 0) {\n            bindChildren(node);\n          } else {\n            bindContainer(node, containerFlags);\n          }\n          parent2 = saveParent;\n        } else {\n          const saveParent = parent2;\n          if (node.kind === 1)\n            parent2 = node;\n          bindJSDoc(node);\n          parent2 = saveParent;\n        }\n        inStrictMode = saveInStrictMode;\n      }\n      function bindJSDoc(node) {\n        if (hasJSDocNodes(node)) {\n          if (isInJSFile(node)) {\n            for (const j of node.jsDoc) {\n              bind(j);\n            }\n          } else {\n            for (const j of node.jsDoc) {\n              setParent(j, node);\n              setParentRecursive(\n                j,\n                /*incremental*/\n                false\n              );\n            }\n          }\n        }\n      }\n      function updateStrictModeStatementList(statements) {\n        if (!inStrictMode) {\n          for (const statement of statements) {\n            if (!isPrologueDirective(statement)) {\n              return;\n            }\n            if (isUseStrictPrologueDirective(statement)) {\n              inStrictMode = true;\n              return;\n            }\n          }\n        }\n      }\n      function isUseStrictPrologueDirective(node) {\n        const nodeText2 = getSourceTextOfNodeFromSourceFile(file, node.expression);\n        return nodeText2 === '\"use strict\"' || nodeText2 === \"'use strict'\";\n      }\n      function bindWorker(node) {\n        switch (node.kind) {\n          case 79:\n            if (node.flags & 2048) {\n              let parentNode = node.parent;\n              while (parentNode && !isJSDocTypeAlias(parentNode)) {\n                parentNode = parentNode.parent;\n              }\n              bindBlockScopedDeclaration(\n                parentNode,\n                524288,\n                788968\n                /* TypeAliasExcludes */\n              );\n              break;\n            }\n          case 108:\n            if (currentFlow && (isExpression(node) || parent2.kind === 300)) {\n              node.flowNode = currentFlow;\n            }\n            return checkContextualIdentifier(node);\n          case 163:\n            if (currentFlow && isPartOfTypeQuery(node)) {\n              node.flowNode = currentFlow;\n            }\n            break;\n          case 233:\n          case 106:\n            node.flowNode = currentFlow;\n            break;\n          case 80:\n            return checkPrivateIdentifier(node);\n          case 208:\n          case 209:\n            const expr = node;\n            if (currentFlow && isNarrowableReference(expr)) {\n              expr.flowNode = currentFlow;\n            }\n            if (isSpecialPropertyDeclaration(expr)) {\n              bindSpecialPropertyDeclaration(expr);\n            }\n            if (isInJSFile(expr) && file.commonJsModuleIndicator && isModuleExportsAccessExpression(expr) && !lookupSymbolForName(blockScopeContainer, \"module\")) {\n              declareSymbol(\n                file.locals,\n                /*parent*/\n                void 0,\n                expr.expression,\n                1 | 134217728,\n                111550\n                /* FunctionScopedVariableExcludes */\n              );\n            }\n            break;\n          case 223:\n            const specialKind = getAssignmentDeclarationKind(node);\n            switch (specialKind) {\n              case 1:\n                bindExportsPropertyAssignment(node);\n                break;\n              case 2:\n                bindModuleExportsAssignment(node);\n                break;\n              case 3:\n                bindPrototypePropertyAssignment(node.left, node);\n                break;\n              case 6:\n                bindPrototypeAssignment(node);\n                break;\n              case 4:\n                bindThisPropertyAssignment(node);\n                break;\n              case 5:\n                const expression = node.left.expression;\n                if (isInJSFile(node) && isIdentifier(expression)) {\n                  const symbol = lookupSymbolForName(blockScopeContainer, expression.escapedText);\n                  if (isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration)) {\n                    bindThisPropertyAssignment(node);\n                    break;\n                  }\n                }\n                bindSpecialPropertyAssignment(node);\n                break;\n              case 0:\n                break;\n              default:\n                Debug2.fail(\"Unknown binary expression special property assignment kind\");\n            }\n            return checkStrictModeBinaryExpression(node);\n          case 295:\n            return checkStrictModeCatchClause(node);\n          case 217:\n            return checkStrictModeDeleteExpression(node);\n          case 8:\n            return checkStrictModeNumericLiteral(node);\n          case 222:\n            return checkStrictModePostfixUnaryExpression(node);\n          case 221:\n            return checkStrictModePrefixUnaryExpression(node);\n          case 251:\n            return checkStrictModeWithStatement(node);\n          case 253:\n            return checkStrictModeLabeledStatement(node);\n          case 194:\n            seenThisKeyword = true;\n            return;\n          case 179:\n            break;\n          case 165:\n            return bindTypeParameter(node);\n          case 166:\n            return bindParameter(node);\n          case 257:\n            return bindVariableDeclarationOrBindingElement(node);\n          case 205:\n            node.flowNode = currentFlow;\n            return bindVariableDeclarationOrBindingElement(node);\n          case 169:\n          case 168:\n            return bindPropertyWorker(node);\n          case 299:\n          case 300:\n            return bindPropertyOrMethodOrAccessor(\n              node,\n              4,\n              0\n              /* PropertyExcludes */\n            );\n          case 302:\n            return bindPropertyOrMethodOrAccessor(\n              node,\n              8,\n              900095\n              /* EnumMemberExcludes */\n            );\n          case 176:\n          case 177:\n          case 178:\n            return declareSymbolAndAddToSymbolTable(\n              node,\n              131072,\n              0\n              /* None */\n            );\n          case 171:\n          case 170:\n            return bindPropertyOrMethodOrAccessor(\n              node,\n              8192 | (node.questionToken ? 16777216 : 0),\n              isObjectLiteralMethod(node) ? 0 : 103359\n              /* MethodExcludes */\n            );\n          case 259:\n            return bindFunctionDeclaration(node);\n          case 173:\n            return declareSymbolAndAddToSymbolTable(\n              node,\n              16384,\n              /*symbolExcludes:*/\n              0\n              /* None */\n            );\n          case 174:\n            return bindPropertyOrMethodOrAccessor(\n              node,\n              32768,\n              46015\n              /* GetAccessorExcludes */\n            );\n          case 175:\n            return bindPropertyOrMethodOrAccessor(\n              node,\n              65536,\n              78783\n              /* SetAccessorExcludes */\n            );\n          case 181:\n          case 320:\n          case 326:\n          case 182:\n            return bindFunctionOrConstructorType(node);\n          case 184:\n          case 325:\n          case 197:\n            return bindAnonymousTypeWorker(node);\n          case 335:\n            return bindJSDocClassTag(node);\n          case 207:\n            return bindObjectLiteralExpression(node);\n          case 215:\n          case 216:\n            return bindFunctionExpression(node);\n          case 210:\n            const assignmentKind = getAssignmentDeclarationKind(node);\n            switch (assignmentKind) {\n              case 7:\n                return bindObjectDefinePropertyAssignment(node);\n              case 8:\n                return bindObjectDefinePropertyExport(node);\n              case 9:\n                return bindObjectDefinePrototypeProperty(node);\n              case 0:\n                break;\n              default:\n                return Debug2.fail(\"Unknown call expression assignment declaration kind\");\n            }\n            if (isInJSFile(node)) {\n              bindCallExpression(node);\n            }\n            break;\n          case 228:\n          case 260:\n            inStrictMode = true;\n            return bindClassLikeDeclaration(node);\n          case 261:\n            return bindBlockScopedDeclaration(\n              node,\n              64,\n              788872\n              /* InterfaceExcludes */\n            );\n          case 262:\n            return bindBlockScopedDeclaration(\n              node,\n              524288,\n              788968\n              /* TypeAliasExcludes */\n            );\n          case 263:\n            return bindEnumDeclaration(node);\n          case 264:\n            return bindModuleDeclaration(node);\n          case 289:\n            return bindJsxAttributes(node);\n          case 288:\n            return bindJsxAttribute(\n              node,\n              4,\n              0\n              /* PropertyExcludes */\n            );\n          case 268:\n          case 271:\n          case 273:\n          case 278:\n            return declareSymbolAndAddToSymbolTable(\n              node,\n              2097152,\n              2097152\n              /* AliasExcludes */\n            );\n          case 267:\n            return bindNamespaceExportDeclaration(node);\n          case 270:\n            return bindImportClause(node);\n          case 275:\n            return bindExportDeclaration(node);\n          case 274:\n            return bindExportAssignment(node);\n          case 308:\n            updateStrictModeStatementList(node.statements);\n            return bindSourceFileIfExternalModule();\n          case 238:\n            if (!isFunctionLikeOrClassStaticBlockDeclaration(node.parent)) {\n              return;\n            }\n          case 265:\n            return updateStrictModeStatementList(node.statements);\n          case 344:\n            if (node.parent.kind === 326) {\n              return bindParameter(node);\n            }\n            if (node.parent.kind !== 325) {\n              break;\n            }\n          case 351:\n            const propTag = node;\n            const flags = propTag.isBracketed || propTag.typeExpression && propTag.typeExpression.type.kind === 319 ? 4 | 16777216 : 4;\n            return declareSymbolAndAddToSymbolTable(\n              propTag,\n              flags,\n              0\n              /* PropertyExcludes */\n            );\n          case 349:\n          case 341:\n          case 343:\n            return (delayedTypeAliases || (delayedTypeAliases = [])).push(node);\n          case 342:\n            return bind(node.typeExpression);\n        }\n      }\n      function bindPropertyWorker(node) {\n        const isAutoAccessor = isAutoAccessorPropertyDeclaration(node);\n        const includes = isAutoAccessor ? 98304 : 4;\n        const excludes = isAutoAccessor ? 13247 : 0;\n        return bindPropertyOrMethodOrAccessor(node, includes | (node.questionToken ? 16777216 : 0), excludes);\n      }\n      function bindAnonymousTypeWorker(node) {\n        return bindAnonymousDeclaration(\n          node,\n          2048,\n          \"__type\"\n          /* Type */\n        );\n      }\n      function bindSourceFileIfExternalModule() {\n        setExportContextFlag(file);\n        if (isExternalModule(file)) {\n          bindSourceFileAsExternalModule();\n        } else if (isJsonSourceFile(file)) {\n          bindSourceFileAsExternalModule();\n          const originalSymbol = file.symbol;\n          declareSymbol(\n            file.symbol.exports,\n            file.symbol,\n            file,\n            4,\n            67108863\n            /* All */\n          );\n          file.symbol = originalSymbol;\n        }\n      }\n      function bindSourceFileAsExternalModule() {\n        bindAnonymousDeclaration(file, 512, `\"${removeFileExtension(file.fileName)}\"`);\n      }\n      function bindExportAssignment(node) {\n        if (!container.symbol || !container.symbol.exports) {\n          bindAnonymousDeclaration(node, 111551, getDeclarationName(node));\n        } else {\n          const flags = exportAssignmentIsAlias(node) ? 2097152 : 4;\n          const symbol = declareSymbol(\n            container.symbol.exports,\n            container.symbol,\n            node,\n            flags,\n            67108863\n            /* All */\n          );\n          if (node.isExportEquals) {\n            setValueDeclaration(symbol, node);\n          }\n        }\n      }\n      function bindNamespaceExportDeclaration(node) {\n        if (some(node.modifiers)) {\n          file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Modifiers_cannot_appear_here));\n        }\n        const diag2 = !isSourceFile(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_at_top_level : !isExternalModule(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_in_module_files : !node.parent.isDeclarationFile ? Diagnostics.Global_module_exports_may_only_appear_in_declaration_files : void 0;\n        if (diag2) {\n          file.bindDiagnostics.push(createDiagnosticForNode2(node, diag2));\n        } else {\n          file.symbol.globalExports = file.symbol.globalExports || createSymbolTable();\n          declareSymbol(\n            file.symbol.globalExports,\n            file.symbol,\n            node,\n            2097152,\n            2097152\n            /* AliasExcludes */\n          );\n        }\n      }\n      function bindExportDeclaration(node) {\n        if (!container.symbol || !container.symbol.exports) {\n          bindAnonymousDeclaration(node, 8388608, getDeclarationName(node));\n        } else if (!node.exportClause) {\n          declareSymbol(\n            container.symbol.exports,\n            container.symbol,\n            node,\n            8388608,\n            0\n            /* None */\n          );\n        } else if (isNamespaceExport(node.exportClause)) {\n          setParent(node.exportClause, node);\n          declareSymbol(\n            container.symbol.exports,\n            container.symbol,\n            node.exportClause,\n            2097152,\n            2097152\n            /* AliasExcludes */\n          );\n        }\n      }\n      function bindImportClause(node) {\n        if (node.name) {\n          declareSymbolAndAddToSymbolTable(\n            node,\n            2097152,\n            2097152\n            /* AliasExcludes */\n          );\n        }\n      }\n      function setCommonJsModuleIndicator(node) {\n        if (file.externalModuleIndicator && file.externalModuleIndicator !== true) {\n          return false;\n        }\n        if (!file.commonJsModuleIndicator) {\n          file.commonJsModuleIndicator = node;\n          if (!file.externalModuleIndicator) {\n            bindSourceFileAsExternalModule();\n          }\n        }\n        return true;\n      }\n      function bindObjectDefinePropertyExport(node) {\n        if (!setCommonJsModuleIndicator(node)) {\n          return;\n        }\n        const symbol = forEachIdentifierInEntityName(\n          node.arguments[0],\n          /*parent*/\n          void 0,\n          (id, symbol2) => {\n            if (symbol2) {\n              addDeclarationToSymbol(\n                symbol2,\n                id,\n                1536 | 67108864\n                /* Assignment */\n              );\n            }\n            return symbol2;\n          }\n        );\n        if (symbol) {\n          const flags = 4 | 1048576;\n          declareSymbol(\n            symbol.exports,\n            symbol,\n            node,\n            flags,\n            0\n            /* None */\n          );\n        }\n      }\n      function bindExportsPropertyAssignment(node) {\n        if (!setCommonJsModuleIndicator(node)) {\n          return;\n        }\n        const symbol = forEachIdentifierInEntityName(\n          node.left.expression,\n          /*parent*/\n          void 0,\n          (id, symbol2) => {\n            if (symbol2) {\n              addDeclarationToSymbol(\n                symbol2,\n                id,\n                1536 | 67108864\n                /* Assignment */\n              );\n            }\n            return symbol2;\n          }\n        );\n        if (symbol) {\n          const isAlias = isAliasableExpression(node.right) && (isExportsIdentifier(node.left.expression) || isModuleExportsAccessExpression(node.left.expression));\n          const flags = isAlias ? 2097152 : 4 | 1048576;\n          setParent(node.left, node);\n          declareSymbol(\n            symbol.exports,\n            symbol,\n            node.left,\n            flags,\n            0\n            /* None */\n          );\n        }\n      }\n      function bindModuleExportsAssignment(node) {\n        if (!setCommonJsModuleIndicator(node)) {\n          return;\n        }\n        const assignedExpression = getRightMostAssignedExpression(node.right);\n        if (isEmptyObjectLiteral(assignedExpression) || container === file && isExportsOrModuleExportsOrAlias(file, assignedExpression)) {\n          return;\n        }\n        if (isObjectLiteralExpression(assignedExpression) && every(assignedExpression.properties, isShorthandPropertyAssignment)) {\n          forEach(assignedExpression.properties, bindExportAssignedObjectMemberAlias);\n          return;\n        }\n        const flags = exportAssignmentIsAlias(node) ? 2097152 : 4 | 1048576 | 512;\n        const symbol = declareSymbol(\n          file.symbol.exports,\n          file.symbol,\n          node,\n          flags | 67108864,\n          0\n          /* None */\n        );\n        setValueDeclaration(symbol, node);\n      }\n      function bindExportAssignedObjectMemberAlias(node) {\n        declareSymbol(\n          file.symbol.exports,\n          file.symbol,\n          node,\n          2097152 | 67108864,\n          0\n          /* None */\n        );\n      }\n      function bindThisPropertyAssignment(node) {\n        Debug2.assert(isInJSFile(node));\n        const hasPrivateIdentifier = isBinaryExpression(node) && isPropertyAccessExpression(node.left) && isPrivateIdentifier(node.left.name) || isPropertyAccessExpression(node) && isPrivateIdentifier(node.name);\n        if (hasPrivateIdentifier) {\n          return;\n        }\n        const thisContainer = getThisContainer(\n          node,\n          /*includeArrowFunctions*/\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        );\n        switch (thisContainer.kind) {\n          case 259:\n          case 215:\n            let constructorSymbol = thisContainer.symbol;\n            if (isBinaryExpression(thisContainer.parent) && thisContainer.parent.operatorToken.kind === 63) {\n              const l = thisContainer.parent.left;\n              if (isBindableStaticAccessExpression(l) && isPrototypeAccess(l.expression)) {\n                constructorSymbol = lookupSymbolForPropertyAccess(l.expression.expression, thisParentContainer);\n              }\n            }\n            if (constructorSymbol && constructorSymbol.valueDeclaration) {\n              constructorSymbol.members = constructorSymbol.members || createSymbolTable();\n              if (hasDynamicName(node)) {\n                bindDynamicallyNamedThisPropertyAssignment(node, constructorSymbol, constructorSymbol.members);\n              } else {\n                declareSymbol(\n                  constructorSymbol.members,\n                  constructorSymbol,\n                  node,\n                  4 | 67108864,\n                  0 & ~4\n                  /* Property */\n                );\n              }\n              addDeclarationToSymbol(\n                constructorSymbol,\n                constructorSymbol.valueDeclaration,\n                32\n                /* Class */\n              );\n            }\n            break;\n          case 173:\n          case 169:\n          case 171:\n          case 174:\n          case 175:\n          case 172:\n            const containingClass = thisContainer.parent;\n            const symbolTable = isStatic(thisContainer) ? containingClass.symbol.exports : containingClass.symbol.members;\n            if (hasDynamicName(node)) {\n              bindDynamicallyNamedThisPropertyAssignment(node, containingClass.symbol, symbolTable);\n            } else {\n              declareSymbol(\n                symbolTable,\n                containingClass.symbol,\n                node,\n                4 | 67108864,\n                0,\n                /*isReplaceableByMethod*/\n                true\n              );\n            }\n            break;\n          case 308:\n            if (hasDynamicName(node)) {\n              break;\n            } else if (thisContainer.commonJsModuleIndicator) {\n              declareSymbol(\n                thisContainer.symbol.exports,\n                thisContainer.symbol,\n                node,\n                4 | 1048576,\n                0\n                /* None */\n              );\n            } else {\n              declareSymbolAndAddToSymbolTable(\n                node,\n                1,\n                111550\n                /* FunctionScopedVariableExcludes */\n              );\n            }\n            break;\n          default:\n            Debug2.failBadSyntaxKind(thisContainer);\n        }\n      }\n      function bindDynamicallyNamedThisPropertyAssignment(node, symbol, symbolTable) {\n        declareSymbol(\n          symbolTable,\n          symbol,\n          node,\n          4,\n          0,\n          /*isReplaceableByMethod*/\n          true,\n          /*isComputedName*/\n          true\n        );\n        addLateBoundAssignmentDeclarationToSymbol(node, symbol);\n      }\n      function addLateBoundAssignmentDeclarationToSymbol(node, symbol) {\n        if (symbol) {\n          (symbol.assignmentDeclarationMembers || (symbol.assignmentDeclarationMembers = /* @__PURE__ */ new Map())).set(getNodeId(node), node);\n        }\n      }\n      function bindSpecialPropertyDeclaration(node) {\n        if (node.expression.kind === 108) {\n          bindThisPropertyAssignment(node);\n        } else if (isBindableStaticAccessExpression(node) && node.parent.parent.kind === 308) {\n          if (isPrototypeAccess(node.expression)) {\n            bindPrototypePropertyAssignment(node, node.parent);\n          } else {\n            bindStaticPropertyAssignment(node);\n          }\n        }\n      }\n      function bindPrototypeAssignment(node) {\n        setParent(node.left, node);\n        setParent(node.right, node);\n        bindPropertyAssignment(\n          node.left.expression,\n          node.left,\n          /*isPrototypeProperty*/\n          false,\n          /*containerIsClass*/\n          true\n        );\n      }\n      function bindObjectDefinePrototypeProperty(node) {\n        const namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0].expression);\n        if (namespaceSymbol && namespaceSymbol.valueDeclaration) {\n          addDeclarationToSymbol(\n            namespaceSymbol,\n            namespaceSymbol.valueDeclaration,\n            32\n            /* Class */\n          );\n        }\n        bindPotentiallyNewExpandoMemberToNamespace(\n          node,\n          namespaceSymbol,\n          /*isPrototypeProperty*/\n          true\n        );\n      }\n      function bindPrototypePropertyAssignment(lhs, parent3) {\n        const classPrototype = lhs.expression;\n        const constructorFunction = classPrototype.expression;\n        setParent(constructorFunction, classPrototype);\n        setParent(classPrototype, lhs);\n        setParent(lhs, parent3);\n        bindPropertyAssignment(\n          constructorFunction,\n          lhs,\n          /*isPrototypeProperty*/\n          true,\n          /*containerIsClass*/\n          true\n        );\n      }\n      function bindObjectDefinePropertyAssignment(node) {\n        let namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0]);\n        const isToplevel = node.parent.parent.kind === 308;\n        namespaceSymbol = bindPotentiallyMissingNamespaces(\n          namespaceSymbol,\n          node.arguments[0],\n          isToplevel,\n          /*isPrototypeProperty*/\n          false,\n          /*containerIsClass*/\n          false\n        );\n        bindPotentiallyNewExpandoMemberToNamespace(\n          node,\n          namespaceSymbol,\n          /*isPrototypeProperty*/\n          false\n        );\n      }\n      function bindSpecialPropertyAssignment(node) {\n        var _a22;\n        const parentSymbol = lookupSymbolForPropertyAccess(node.left.expression, container) || lookupSymbolForPropertyAccess(node.left.expression, blockScopeContainer);\n        if (!isInJSFile(node) && !isFunctionSymbol(parentSymbol)) {\n          return;\n        }\n        const rootExpr = getLeftmostAccessExpression(node.left);\n        if (isIdentifier(rootExpr) && ((_a22 = lookupSymbolForName(container, rootExpr.escapedText)) == null ? void 0 : _a22.flags) & 2097152) {\n          return;\n        }\n        setParent(node.left, node);\n        setParent(node.right, node);\n        if (isIdentifier(node.left.expression) && container === file && isExportsOrModuleExportsOrAlias(file, node.left.expression)) {\n          bindExportsPropertyAssignment(node);\n        } else if (hasDynamicName(node)) {\n          bindAnonymousDeclaration(\n            node,\n            4 | 67108864,\n            \"__computed\"\n            /* Computed */\n          );\n          const sym = bindPotentiallyMissingNamespaces(\n            parentSymbol,\n            node.left.expression,\n            isTopLevelNamespaceAssignment(node.left),\n            /*isPrototype*/\n            false,\n            /*containerIsClass*/\n            false\n          );\n          addLateBoundAssignmentDeclarationToSymbol(node, sym);\n        } else {\n          bindStaticPropertyAssignment(cast(node.left, isBindableStaticNameExpression));\n        }\n      }\n      function bindStaticPropertyAssignment(node) {\n        Debug2.assert(!isIdentifier(node));\n        setParent(node.expression, node);\n        bindPropertyAssignment(\n          node.expression,\n          node,\n          /*isPrototypeProperty*/\n          false,\n          /*containerIsClass*/\n          false\n        );\n      }\n      function bindPotentiallyMissingNamespaces(namespaceSymbol, entityName, isToplevel, isPrototypeProperty, containerIsClass) {\n        if ((namespaceSymbol == null ? void 0 : namespaceSymbol.flags) & 2097152) {\n          return namespaceSymbol;\n        }\n        if (isToplevel && !isPrototypeProperty) {\n          const flags = 1536 | 67108864;\n          const excludeFlags = 110735 & ~67108864;\n          namespaceSymbol = forEachIdentifierInEntityName(entityName, namespaceSymbol, (id, symbol, parent3) => {\n            if (symbol) {\n              addDeclarationToSymbol(symbol, id, flags);\n              return symbol;\n            } else {\n              const table = parent3 ? parent3.exports : file.jsGlobalAugmentations || (file.jsGlobalAugmentations = createSymbolTable());\n              return declareSymbol(table, parent3, id, flags, excludeFlags);\n            }\n          });\n        }\n        if (containerIsClass && namespaceSymbol && namespaceSymbol.valueDeclaration) {\n          addDeclarationToSymbol(\n            namespaceSymbol,\n            namespaceSymbol.valueDeclaration,\n            32\n            /* Class */\n          );\n        }\n        return namespaceSymbol;\n      }\n      function bindPotentiallyNewExpandoMemberToNamespace(declaration, namespaceSymbol, isPrototypeProperty) {\n        if (!namespaceSymbol || !isExpandoSymbol(namespaceSymbol)) {\n          return;\n        }\n        const symbolTable = isPrototypeProperty ? namespaceSymbol.members || (namespaceSymbol.members = createSymbolTable()) : namespaceSymbol.exports || (namespaceSymbol.exports = createSymbolTable());\n        let includes = 0;\n        let excludes = 0;\n        if (isFunctionLikeDeclaration(getAssignedExpandoInitializer(declaration))) {\n          includes = 8192;\n          excludes = 103359;\n        } else if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) {\n          if (some(declaration.arguments[2].properties, (p) => {\n            const id = getNameOfDeclaration(p);\n            return !!id && isIdentifier(id) && idText(id) === \"set\";\n          })) {\n            includes |= 65536 | 4;\n            excludes |= 78783;\n          }\n          if (some(declaration.arguments[2].properties, (p) => {\n            const id = getNameOfDeclaration(p);\n            return !!id && isIdentifier(id) && idText(id) === \"get\";\n          })) {\n            includes |= 32768 | 4;\n            excludes |= 46015;\n          }\n        }\n        if (includes === 0) {\n          includes = 4;\n          excludes = 0;\n        }\n        declareSymbol(\n          symbolTable,\n          namespaceSymbol,\n          declaration,\n          includes | 67108864,\n          excludes & ~67108864\n          /* Assignment */\n        );\n      }\n      function isTopLevelNamespaceAssignment(propertyAccess) {\n        return isBinaryExpression(propertyAccess.parent) ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 308 : propertyAccess.parent.parent.kind === 308;\n      }\n      function bindPropertyAssignment(name, propertyAccess, isPrototypeProperty, containerIsClass) {\n        let namespaceSymbol = lookupSymbolForPropertyAccess(name, container) || lookupSymbolForPropertyAccess(name, blockScopeContainer);\n        const isToplevel = isTopLevelNamespaceAssignment(propertyAccess);\n        namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, propertyAccess.expression, isToplevel, isPrototypeProperty, containerIsClass);\n        bindPotentiallyNewExpandoMemberToNamespace(propertyAccess, namespaceSymbol, isPrototypeProperty);\n      }\n      function isExpandoSymbol(symbol) {\n        if (symbol.flags & (16 | 32 | 1024)) {\n          return true;\n        }\n        const node = symbol.valueDeclaration;\n        if (node && isCallExpression(node)) {\n          return !!getAssignedExpandoInitializer(node);\n        }\n        let init = !node ? void 0 : isVariableDeclaration(node) ? node.initializer : isBinaryExpression(node) ? node.right : isPropertyAccessExpression(node) && isBinaryExpression(node.parent) ? node.parent.right : void 0;\n        init = init && getRightMostAssignedExpression(init);\n        if (init) {\n          const isPrototypeAssignment = isPrototypeAccess(isVariableDeclaration(node) ? node.name : isBinaryExpression(node) ? node.left : node);\n          return !!getExpandoInitializer(isBinaryExpression(init) && (init.operatorToken.kind === 56 || init.operatorToken.kind === 60) ? init.right : init, isPrototypeAssignment);\n        }\n        return false;\n      }\n      function getParentOfBinaryExpression(expr) {\n        while (isBinaryExpression(expr.parent)) {\n          expr = expr.parent;\n        }\n        return expr.parent;\n      }\n      function lookupSymbolForPropertyAccess(node, lookupContainer = container) {\n        if (isIdentifier(node)) {\n          return lookupSymbolForName(lookupContainer, node.escapedText);\n        } else {\n          const symbol = lookupSymbolForPropertyAccess(node.expression);\n          return symbol && symbol.exports && symbol.exports.get(getElementOrPropertyAccessName(node));\n        }\n      }\n      function forEachIdentifierInEntityName(e, parent3, action) {\n        if (isExportsOrModuleExportsOrAlias(file, e)) {\n          return file.symbol;\n        } else if (isIdentifier(e)) {\n          return action(e, lookupSymbolForPropertyAccess(e), parent3);\n        } else {\n          const s = forEachIdentifierInEntityName(e.expression, parent3, action);\n          const name = getNameOrArgument(e);\n          if (isPrivateIdentifier(name)) {\n            Debug2.fail(\"unexpected PrivateIdentifier\");\n          }\n          return action(name, s && s.exports && s.exports.get(getElementOrPropertyAccessName(e)), s);\n        }\n      }\n      function bindCallExpression(node) {\n        if (!file.commonJsModuleIndicator && isRequireCall(\n          node,\n          /*checkArgumentIsStringLiteralLike*/\n          false\n        )) {\n          setCommonJsModuleIndicator(node);\n        }\n      }\n      function bindClassLikeDeclaration(node) {\n        if (node.kind === 260) {\n          bindBlockScopedDeclaration(\n            node,\n            32,\n            899503\n            /* ClassExcludes */\n          );\n        } else {\n          const bindingName = node.name ? node.name.escapedText : \"__class\";\n          bindAnonymousDeclaration(node, 32, bindingName);\n          if (node.name) {\n            classifiableNames.add(node.name.escapedText);\n          }\n        }\n        const { symbol } = node;\n        const prototypeSymbol = createSymbol(4 | 4194304, \"prototype\");\n        const symbolExport = symbol.exports.get(prototypeSymbol.escapedName);\n        if (symbolExport) {\n          if (node.name) {\n            setParent(node.name, node);\n          }\n          file.bindDiagnostics.push(createDiagnosticForNode2(symbolExport.declarations[0], Diagnostics.Duplicate_identifier_0, symbolName(prototypeSymbol)));\n        }\n        symbol.exports.set(prototypeSymbol.escapedName, prototypeSymbol);\n        prototypeSymbol.parent = symbol;\n      }\n      function bindEnumDeclaration(node) {\n        return isEnumConst(node) ? bindBlockScopedDeclaration(\n          node,\n          128,\n          899967\n          /* ConstEnumExcludes */\n        ) : bindBlockScopedDeclaration(\n          node,\n          256,\n          899327\n          /* RegularEnumExcludes */\n        );\n      }\n      function bindVariableDeclarationOrBindingElement(node) {\n        if (inStrictMode) {\n          checkStrictModeEvalOrArguments(node, node.name);\n        }\n        if (!isBindingPattern(node.name)) {\n          const possibleVariableDecl = node.kind === 257 ? node : node.parent.parent;\n          if (isInJSFile(node) && getEmitModuleResolutionKind(options) !== 100 && isVariableDeclarationInitializedToBareOrAccessedRequire(possibleVariableDecl) && !getJSDocTypeTag(node) && !(getCombinedModifierFlags(node) & 1)) {\n            declareSymbolAndAddToSymbolTable(\n              node,\n              2097152,\n              2097152\n              /* AliasExcludes */\n            );\n          } else if (isBlockOrCatchScoped(node)) {\n            bindBlockScopedDeclaration(\n              node,\n              2,\n              111551\n              /* BlockScopedVariableExcludes */\n            );\n          } else if (isParameterDeclaration(node)) {\n            declareSymbolAndAddToSymbolTable(\n              node,\n              1,\n              111551\n              /* ParameterExcludes */\n            );\n          } else {\n            declareSymbolAndAddToSymbolTable(\n              node,\n              1,\n              111550\n              /* FunctionScopedVariableExcludes */\n            );\n          }\n        }\n      }\n      function bindParameter(node) {\n        if (node.kind === 344 && container.kind !== 326) {\n          return;\n        }\n        if (inStrictMode && !(node.flags & 16777216)) {\n          checkStrictModeEvalOrArguments(node, node.name);\n        }\n        if (isBindingPattern(node.name)) {\n          bindAnonymousDeclaration(node, 1, \"__\" + node.parent.parameters.indexOf(node));\n        } else {\n          declareSymbolAndAddToSymbolTable(\n            node,\n            1,\n            111551\n            /* ParameterExcludes */\n          );\n        }\n        if (isParameterPropertyDeclaration(node, node.parent)) {\n          const classDeclaration = node.parent.parent;\n          declareSymbol(\n            classDeclaration.symbol.members,\n            classDeclaration.symbol,\n            node,\n            4 | (node.questionToken ? 16777216 : 0),\n            0\n            /* PropertyExcludes */\n          );\n        }\n      }\n      function bindFunctionDeclaration(node) {\n        if (!file.isDeclarationFile && !(node.flags & 16777216)) {\n          if (isAsyncFunction(node)) {\n            emitFlags |= 2048;\n          }\n        }\n        checkStrictModeFunctionName(node);\n        if (inStrictMode) {\n          checkStrictModeFunctionDeclaration(node);\n          bindBlockScopedDeclaration(\n            node,\n            16,\n            110991\n            /* FunctionExcludes */\n          );\n        } else {\n          declareSymbolAndAddToSymbolTable(\n            node,\n            16,\n            110991\n            /* FunctionExcludes */\n          );\n        }\n      }\n      function bindFunctionExpression(node) {\n        if (!file.isDeclarationFile && !(node.flags & 16777216)) {\n          if (isAsyncFunction(node)) {\n            emitFlags |= 2048;\n          }\n        }\n        if (currentFlow) {\n          node.flowNode = currentFlow;\n        }\n        checkStrictModeFunctionName(node);\n        const bindingName = node.name ? node.name.escapedText : \"__function\";\n        return bindAnonymousDeclaration(node, 16, bindingName);\n      }\n      function bindPropertyOrMethodOrAccessor(node, symbolFlags, symbolExcludes) {\n        if (!file.isDeclarationFile && !(node.flags & 16777216) && isAsyncFunction(node)) {\n          emitFlags |= 2048;\n        }\n        if (currentFlow && isObjectLiteralOrClassExpressionMethodOrAccessor(node)) {\n          node.flowNode = currentFlow;\n        }\n        return hasDynamicName(node) ? bindAnonymousDeclaration(\n          node,\n          symbolFlags,\n          \"__computed\"\n          /* Computed */\n        ) : declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes);\n      }\n      function getInferTypeContainer(node) {\n        const extendsType = findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && n.parent.extendsType === n);\n        return extendsType && extendsType.parent;\n      }\n      function bindTypeParameter(node) {\n        var _a22, _b3;\n        if (isJSDocTemplateTag(node.parent)) {\n          const container2 = getEffectiveContainerForJSDocTemplateTag(node.parent);\n          if (container2) {\n            Debug2.assertNode(container2, canHaveLocals);\n            (_a22 = container2.locals) != null ? _a22 : container2.locals = createSymbolTable();\n            declareSymbol(\n              container2.locals,\n              /*parent*/\n              void 0,\n              node,\n              262144,\n              526824\n              /* TypeParameterExcludes */\n            );\n          } else {\n            declareSymbolAndAddToSymbolTable(\n              node,\n              262144,\n              526824\n              /* TypeParameterExcludes */\n            );\n          }\n        } else if (node.parent.kind === 192) {\n          const container2 = getInferTypeContainer(node.parent);\n          if (container2) {\n            Debug2.assertNode(container2, canHaveLocals);\n            (_b3 = container2.locals) != null ? _b3 : container2.locals = createSymbolTable();\n            declareSymbol(\n              container2.locals,\n              /*parent*/\n              void 0,\n              node,\n              262144,\n              526824\n              /* TypeParameterExcludes */\n            );\n          } else {\n            bindAnonymousDeclaration(node, 262144, getDeclarationName(node));\n          }\n        } else {\n          declareSymbolAndAddToSymbolTable(\n            node,\n            262144,\n            526824\n            /* TypeParameterExcludes */\n          );\n        }\n      }\n      function shouldReportErrorOnModuleDeclaration(node) {\n        const instanceState = getModuleInstanceState(node);\n        return instanceState === 1 || instanceState === 2 && shouldPreserveConstEnums(options);\n      }\n      function checkUnreachable(node) {\n        if (!(currentFlow.flags & 1)) {\n          return false;\n        }\n        if (currentFlow === unreachableFlow) {\n          const reportError = (\n            // report error on all statements except empty ones\n            isStatementButNotDeclaration(node) && node.kind !== 239 || // report error on class declarations\n            node.kind === 260 || // report error on instantiated modules or const-enums only modules if preserveConstEnums is set\n            node.kind === 264 && shouldReportErrorOnModuleDeclaration(node)\n          );\n          if (reportError) {\n            currentFlow = reportedUnreachableFlow;\n            if (!options.allowUnreachableCode) {\n              const isError = unreachableCodeIsError(options) && !(node.flags & 16777216) && (!isVariableStatement(node) || !!(getCombinedNodeFlags(node.declarationList) & 3) || node.declarationList.declarations.some((d) => !!d.initializer));\n              eachUnreachableRange(node, (start, end) => errorOrSuggestionOnRange(isError, start, end, Diagnostics.Unreachable_code_detected));\n            }\n          }\n        }\n        return true;\n      }\n    }\n    function eachUnreachableRange(node, cb) {\n      if (isStatement(node) && isExecutableStatement(node) && isBlock(node.parent)) {\n        const { statements } = node.parent;\n        const slice = sliceAfter(statements, node);\n        getRangesWhere(slice, isExecutableStatement, (start, afterEnd) => cb(slice[start], slice[afterEnd - 1]));\n      } else {\n        cb(node, node);\n      }\n    }\n    function isExecutableStatement(s) {\n      return !isFunctionDeclaration(s) && !isPurelyTypeDeclaration(s) && !isEnumDeclaration(s) && // `var x;` may declare a variable used above\n      !(isVariableStatement(s) && !(getCombinedNodeFlags(s) & (1 | 2)) && s.declarationList.declarations.some((d) => !d.initializer));\n    }\n    function isPurelyTypeDeclaration(s) {\n      switch (s.kind) {\n        case 261:\n        case 262:\n          return true;\n        case 264:\n          return getModuleInstanceState(s) !== 1;\n        case 263:\n          return hasSyntacticModifier(\n            s,\n            2048\n            /* Const */\n          );\n        default:\n          return false;\n      }\n    }\n    function isExportsOrModuleExportsOrAlias(sourceFile, node) {\n      let i = 0;\n      const q = createQueue();\n      q.enqueue(node);\n      while (!q.isEmpty() && i < 100) {\n        i++;\n        node = q.dequeue();\n        if (isExportsIdentifier(node) || isModuleExportsAccessExpression(node)) {\n          return true;\n        } else if (isIdentifier(node)) {\n          const symbol = lookupSymbolForName(sourceFile, node.escapedText);\n          if (!!symbol && !!symbol.valueDeclaration && isVariableDeclaration(symbol.valueDeclaration) && !!symbol.valueDeclaration.initializer) {\n            const init = symbol.valueDeclaration.initializer;\n            q.enqueue(init);\n            if (isAssignmentExpression(\n              init,\n              /*excludeCompoundAssignment*/\n              true\n            )) {\n              q.enqueue(init.left);\n              q.enqueue(init.right);\n            }\n          }\n        }\n      }\n      return false;\n    }\n    function getContainerFlags(node) {\n      switch (node.kind) {\n        case 228:\n        case 260:\n        case 263:\n        case 207:\n        case 184:\n        case 325:\n        case 289:\n          return 1;\n        case 261:\n          return 1 | 64;\n        case 264:\n        case 262:\n        case 197:\n        case 178:\n          return 1 | 32;\n        case 308:\n          return 1 | 4 | 32;\n        case 174:\n        case 175:\n        case 171:\n          if (isObjectLiteralOrClassExpressionMethodOrAccessor(node)) {\n            return 1 | 4 | 32 | 8 | 128;\n          }\n        case 173:\n        case 259:\n        case 170:\n        case 176:\n        case 326:\n        case 320:\n        case 181:\n        case 177:\n        case 182:\n        case 172:\n          return 1 | 4 | 32 | 8;\n        case 215:\n        case 216:\n          return 1 | 4 | 32 | 8 | 16;\n        case 265:\n          return 4;\n        case 169:\n          return node.initializer ? 4 : 0;\n        case 295:\n        case 245:\n        case 246:\n        case 247:\n        case 266:\n          return 2 | 32;\n        case 238:\n          return isFunctionLike(node.parent) || isClassStaticBlockDeclaration(node.parent) ? 0 : 2 | 32;\n      }\n      return 0;\n    }\n    function lookupSymbolForName(container, name) {\n      var _a22, _b3, _c, _d, _e;\n      const local = (_b3 = (_a22 = tryCast(container, canHaveLocals)) == null ? void 0 : _a22.locals) == null ? void 0 : _b3.get(name);\n      if (local) {\n        return (_c = local.exportSymbol) != null ? _c : local;\n      }\n      if (isSourceFile(container) && container.jsGlobalAugmentations && container.jsGlobalAugmentations.has(name)) {\n        return container.jsGlobalAugmentations.get(name);\n      }\n      if (canHaveSymbol(container)) {\n        return (_e = (_d = container.symbol) == null ? void 0 : _d.exports) == null ? void 0 : _e.get(name);\n      }\n    }\n    var ModuleInstanceState, binder;\n    var init_binder = __esm({\n      \"src/compiler/binder.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_performance();\n        ModuleInstanceState = /* @__PURE__ */ ((ModuleInstanceState2) => {\n          ModuleInstanceState2[ModuleInstanceState2[\"NonInstantiated\"] = 0] = \"NonInstantiated\";\n          ModuleInstanceState2[ModuleInstanceState2[\"Instantiated\"] = 1] = \"Instantiated\";\n          ModuleInstanceState2[ModuleInstanceState2[\"ConstEnumOnly\"] = 2] = \"ConstEnumOnly\";\n          return ModuleInstanceState2;\n        })(ModuleInstanceState || {});\n        binder = createBinder();\n      }\n    });\n    function createGetSymbolWalker(getRestTypeOfSignature, getTypePredicateOfSignature, getReturnTypeOfSignature, getBaseTypes, resolveStructuredTypeMembers, getTypeOfSymbol, getResolvedSymbol, getConstraintOfTypeParameter, getFirstIdentifier2, getTypeArguments) {\n      return getSymbolWalker;\n      function getSymbolWalker(accept = () => true) {\n        const visitedTypes = [];\n        const visitedSymbols = [];\n        return {\n          walkType: (type) => {\n            try {\n              visitType(type);\n              return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) };\n            } finally {\n              clear(visitedTypes);\n              clear(visitedSymbols);\n            }\n          },\n          walkSymbol: (symbol) => {\n            try {\n              visitSymbol(symbol);\n              return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) };\n            } finally {\n              clear(visitedTypes);\n              clear(visitedSymbols);\n            }\n          }\n        };\n        function visitType(type) {\n          if (!type) {\n            return;\n          }\n          if (visitedTypes[type.id]) {\n            return;\n          }\n          visitedTypes[type.id] = type;\n          const shouldBail = visitSymbol(type.symbol);\n          if (shouldBail)\n            return;\n          if (type.flags & 524288) {\n            const objectType = type;\n            const objectFlags = objectType.objectFlags;\n            if (objectFlags & 4) {\n              visitTypeReference(type);\n            }\n            if (objectFlags & 32) {\n              visitMappedType(type);\n            }\n            if (objectFlags & (1 | 2)) {\n              visitInterfaceType(type);\n            }\n            if (objectFlags & (8 | 16)) {\n              visitObjectType(objectType);\n            }\n          }\n          if (type.flags & 262144) {\n            visitTypeParameter(type);\n          }\n          if (type.flags & 3145728) {\n            visitUnionOrIntersectionType(type);\n          }\n          if (type.flags & 4194304) {\n            visitIndexType(type);\n          }\n          if (type.flags & 8388608) {\n            visitIndexedAccessType(type);\n          }\n        }\n        function visitTypeReference(type) {\n          visitType(type.target);\n          forEach(getTypeArguments(type), visitType);\n        }\n        function visitTypeParameter(type) {\n          visitType(getConstraintOfTypeParameter(type));\n        }\n        function visitUnionOrIntersectionType(type) {\n          forEach(type.types, visitType);\n        }\n        function visitIndexType(type) {\n          visitType(type.type);\n        }\n        function visitIndexedAccessType(type) {\n          visitType(type.objectType);\n          visitType(type.indexType);\n          visitType(type.constraint);\n        }\n        function visitMappedType(type) {\n          visitType(type.typeParameter);\n          visitType(type.constraintType);\n          visitType(type.templateType);\n          visitType(type.modifiersType);\n        }\n        function visitSignature(signature) {\n          const typePredicate = getTypePredicateOfSignature(signature);\n          if (typePredicate) {\n            visitType(typePredicate.type);\n          }\n          forEach(signature.typeParameters, visitType);\n          for (const parameter of signature.parameters) {\n            visitSymbol(parameter);\n          }\n          visitType(getRestTypeOfSignature(signature));\n          visitType(getReturnTypeOfSignature(signature));\n        }\n        function visitInterfaceType(interfaceT) {\n          visitObjectType(interfaceT);\n          forEach(interfaceT.typeParameters, visitType);\n          forEach(getBaseTypes(interfaceT), visitType);\n          visitType(interfaceT.thisType);\n        }\n        function visitObjectType(type) {\n          const resolved = resolveStructuredTypeMembers(type);\n          for (const info of resolved.indexInfos) {\n            visitType(info.keyType);\n            visitType(info.type);\n          }\n          for (const signature of resolved.callSignatures) {\n            visitSignature(signature);\n          }\n          for (const signature of resolved.constructSignatures) {\n            visitSignature(signature);\n          }\n          for (const p of resolved.properties) {\n            visitSymbol(p);\n          }\n        }\n        function visitSymbol(symbol) {\n          if (!symbol) {\n            return false;\n          }\n          const symbolId = getSymbolId(symbol);\n          if (visitedSymbols[symbolId]) {\n            return false;\n          }\n          visitedSymbols[symbolId] = symbol;\n          if (!accept(symbol)) {\n            return true;\n          }\n          const t = getTypeOfSymbol(symbol);\n          visitType(t);\n          if (symbol.exports) {\n            symbol.exports.forEach(visitSymbol);\n          }\n          forEach(symbol.declarations, (d) => {\n            if (d.type && d.type.kind === 183) {\n              const query = d.type;\n              const entity = getResolvedSymbol(getFirstIdentifier2(query.exprName));\n              visitSymbol(entity);\n            }\n          });\n          return false;\n        }\n      }\n    }\n    var init_symbolWalker = __esm({\n      \"src/compiler/symbolWalker.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function getPreferences({ importModuleSpecifierPreference, importModuleSpecifierEnding }, compilerOptions, importingSourceFile, oldImportSpecifier) {\n      const preferredEnding = getPreferredEnding();\n      return {\n        relativePreference: oldImportSpecifier !== void 0 ? isExternalModuleNameRelative(oldImportSpecifier) ? 0 : 1 : importModuleSpecifierPreference === \"relative\" ? 0 : importModuleSpecifierPreference === \"non-relative\" ? 1 : importModuleSpecifierPreference === \"project-relative\" ? 3 : 2,\n        getAllowedEndingsInPreferredOrder: (syntaxImpliedNodeFormat) => {\n          if ((syntaxImpliedNodeFormat != null ? syntaxImpliedNodeFormat : importingSourceFile.impliedNodeFormat) === 99) {\n            if (shouldAllowImportingTsExtension(compilerOptions, importingSourceFile.fileName)) {\n              return [\n                3,\n                2\n                /* JsExtension */\n              ];\n            }\n            return [\n              2\n              /* JsExtension */\n            ];\n          }\n          if (getEmitModuleResolutionKind(compilerOptions) === 1) {\n            return [\n              1,\n              2\n              /* JsExtension */\n            ];\n          }\n          switch (preferredEnding) {\n            case 2:\n              return [\n                2,\n                0,\n                1\n                /* Index */\n              ];\n            case 3:\n              return [\n                3,\n                0,\n                2,\n                1\n                /* Index */\n              ];\n            case 1:\n              return [\n                1,\n                0,\n                2\n                /* JsExtension */\n              ];\n            case 0:\n              return [\n                0,\n                1,\n                2\n                /* JsExtension */\n              ];\n            default:\n              Debug2.assertNever(preferredEnding);\n          }\n        }\n      };\n      function getPreferredEnding() {\n        if (oldImportSpecifier !== void 0) {\n          if (hasJSFileExtension(oldImportSpecifier))\n            return 2;\n          if (endsWith(oldImportSpecifier, \"/index\"))\n            return 1;\n        }\n        return getModuleSpecifierEndingPreference(\n          importModuleSpecifierEnding,\n          importingSourceFile.impliedNodeFormat,\n          compilerOptions,\n          importingSourceFile\n        );\n      }\n    }\n    function updateModuleSpecifier(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, oldImportSpecifier, options = {}) {\n      const res = getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, getPreferences({}, compilerOptions, importingSourceFile, oldImportSpecifier), {}, options);\n      if (res === oldImportSpecifier)\n        return void 0;\n      return res;\n    }\n    function getModuleSpecifier(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, options = {}) {\n      return getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, getPreferences({}, compilerOptions, importingSourceFile), {}, options);\n    }\n    function getNodeModulesPackageName(compilerOptions, importingSourceFile, nodeModulesFileName, host, preferences, options = {}) {\n      const info = getInfo(importingSourceFile.path, host);\n      const modulePaths = getAllModulePaths(importingSourceFile.path, nodeModulesFileName, host, preferences, options);\n      return firstDefined(\n        modulePaths,\n        (modulePath) => tryGetModuleNameAsNodeModule(\n          modulePath,\n          info,\n          importingSourceFile,\n          host,\n          compilerOptions,\n          preferences,\n          /*packageNameOnly*/\n          true,\n          options.overrideImportMode\n        )\n      );\n    }\n    function getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, preferences, userPreferences, options = {}) {\n      const info = getInfo(importingSourceFileName, host);\n      const modulePaths = getAllModulePaths(importingSourceFileName, toFileName2, host, userPreferences, options);\n      return firstDefined(modulePaths, (modulePath) => tryGetModuleNameAsNodeModule(\n        modulePath,\n        info,\n        importingSourceFile,\n        host,\n        compilerOptions,\n        userPreferences,\n        /*packageNameOnly*/\n        void 0,\n        options.overrideImportMode\n      )) || getLocalModuleSpecifier(toFileName2, info, compilerOptions, host, options.overrideImportMode || importingSourceFile.impliedNodeFormat, preferences);\n    }\n    function tryGetModuleSpecifiersFromCache(moduleSymbol, importingSourceFile, host, userPreferences, options = {}) {\n      return tryGetModuleSpecifiersFromCacheWorker(\n        moduleSymbol,\n        importingSourceFile,\n        host,\n        userPreferences,\n        options\n      )[0];\n    }\n    function tryGetModuleSpecifiersFromCacheWorker(moduleSymbol, importingSourceFile, host, userPreferences, options = {}) {\n      var _a22;\n      const moduleSourceFile = getSourceFileOfModule(moduleSymbol);\n      if (!moduleSourceFile) {\n        return emptyArray;\n      }\n      const cache = (_a22 = host.getModuleSpecifierCache) == null ? void 0 : _a22.call(host);\n      const cached = cache == null ? void 0 : cache.get(importingSourceFile.path, moduleSourceFile.path, userPreferences, options);\n      return [cached == null ? void 0 : cached.moduleSpecifiers, moduleSourceFile, cached == null ? void 0 : cached.modulePaths, cache];\n    }\n    function getModuleSpecifiers(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}) {\n      return getModuleSpecifiersWithCacheInfo(\n        moduleSymbol,\n        checker,\n        compilerOptions,\n        importingSourceFile,\n        host,\n        userPreferences,\n        options\n      ).moduleSpecifiers;\n    }\n    function getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}) {\n      let computedWithoutCache = false;\n      const ambient = tryGetModuleNameFromAmbientModule(moduleSymbol, checker);\n      if (ambient)\n        return { moduleSpecifiers: [ambient], computedWithoutCache };\n      let [specifiers, moduleSourceFile, modulePaths, cache] = tryGetModuleSpecifiersFromCacheWorker(\n        moduleSymbol,\n        importingSourceFile,\n        host,\n        userPreferences,\n        options\n      );\n      if (specifiers)\n        return { moduleSpecifiers: specifiers, computedWithoutCache };\n      if (!moduleSourceFile)\n        return { moduleSpecifiers: emptyArray, computedWithoutCache };\n      computedWithoutCache = true;\n      modulePaths || (modulePaths = getAllModulePathsWorker(importingSourceFile.path, moduleSourceFile.originalFileName, host));\n      const result = computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options);\n      cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, modulePaths, result);\n      return { moduleSpecifiers: result, computedWithoutCache };\n    }\n    function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}) {\n      const info = getInfo(importingSourceFile.path, host);\n      const preferences = getPreferences(userPreferences, compilerOptions, importingSourceFile);\n      const existingSpecifier = forEach(modulePaths, (modulePath) => forEach(\n        host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanonicalFileName)),\n        (reason) => {\n          if (reason.kind !== 3 || reason.file !== importingSourceFile.path)\n            return void 0;\n          if (importingSourceFile.impliedNodeFormat && importingSourceFile.impliedNodeFormat !== getModeForResolutionAtIndex(importingSourceFile, reason.index))\n            return void 0;\n          const specifier = getModuleNameStringLiteralAt(importingSourceFile, reason.index).text;\n          return preferences.relativePreference !== 1 || !pathIsRelative(specifier) ? specifier : void 0;\n        }\n      ));\n      if (existingSpecifier) {\n        const moduleSpecifiers = [existingSpecifier];\n        return moduleSpecifiers;\n      }\n      const importedFileIsInNodeModules = some(modulePaths, (p) => p.isInNodeModules);\n      let nodeModulesSpecifiers;\n      let pathsSpecifiers;\n      let redirectPathsSpecifiers;\n      let relativeSpecifiers;\n      for (const modulePath of modulePaths) {\n        const specifier = modulePath.isInNodeModules ? tryGetModuleNameAsNodeModule(\n          modulePath,\n          info,\n          importingSourceFile,\n          host,\n          compilerOptions,\n          userPreferences,\n          /*packageNameOnly*/\n          void 0,\n          options.overrideImportMode\n        ) : void 0;\n        nodeModulesSpecifiers = append(nodeModulesSpecifiers, specifier);\n        if (specifier && modulePath.isRedirect) {\n          return nodeModulesSpecifiers;\n        }\n        if (!specifier) {\n          const local = getLocalModuleSpecifier(\n            modulePath.path,\n            info,\n            compilerOptions,\n            host,\n            options.overrideImportMode || importingSourceFile.impliedNodeFormat,\n            preferences,\n            /*pathsOnly*/\n            modulePath.isRedirect\n          );\n          if (!local) {\n            continue;\n          }\n          if (modulePath.isRedirect) {\n            redirectPathsSpecifiers = append(redirectPathsSpecifiers, local);\n          } else if (pathIsBareSpecifier(local)) {\n            pathsSpecifiers = append(pathsSpecifiers, local);\n          } else if (!importedFileIsInNodeModules || modulePath.isInNodeModules) {\n            relativeSpecifiers = append(relativeSpecifiers, local);\n          }\n        }\n      }\n      return (pathsSpecifiers == null ? void 0 : pathsSpecifiers.length) ? pathsSpecifiers : (redirectPathsSpecifiers == null ? void 0 : redirectPathsSpecifiers.length) ? redirectPathsSpecifiers : (nodeModulesSpecifiers == null ? void 0 : nodeModulesSpecifiers.length) ? nodeModulesSpecifiers : Debug2.checkDefined(relativeSpecifiers);\n    }\n    function getInfo(importingSourceFileName, host) {\n      const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : true);\n      const sourceDirectory = getDirectoryPath(importingSourceFileName);\n      return { getCanonicalFileName, importingSourceFileName, sourceDirectory };\n    }\n    function getLocalModuleSpecifier(moduleFileName, info, compilerOptions, host, importMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference }, pathsOnly) {\n      const { baseUrl, paths, rootDirs } = compilerOptions;\n      if (pathsOnly && !paths) {\n        return void 0;\n      }\n      const { sourceDirectory, getCanonicalFileName } = info;\n      const allowedEndings = getAllowedEndingsInPrefererredOrder(importMode);\n      const relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) || processEnding(ensurePathIsNonModuleName(getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), allowedEndings, compilerOptions);\n      if (!baseUrl && !paths || relativePreference === 0) {\n        return pathsOnly ? void 0 : relativePath;\n      }\n      const baseDirectory = getNormalizedAbsolutePath(getPathsBasePath(compilerOptions, host) || baseUrl, host.getCurrentDirectory());\n      const relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);\n      if (!relativeToBaseUrl) {\n        return pathsOnly ? void 0 : relativePath;\n      }\n      const fromPaths = paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions);\n      if (pathsOnly) {\n        return fromPaths;\n      }\n      const maybeNonRelative = fromPaths === void 0 && baseUrl !== void 0 ? processEnding(relativeToBaseUrl, allowedEndings, compilerOptions) : fromPaths;\n      if (!maybeNonRelative) {\n        return relativePath;\n      }\n      if (relativePreference === 1 && !pathIsRelative(maybeNonRelative)) {\n        return maybeNonRelative;\n      }\n      if (relativePreference === 3 && !pathIsRelative(maybeNonRelative)) {\n        const projectDirectory = compilerOptions.configFilePath ? toPath(getDirectoryPath(compilerOptions.configFilePath), host.getCurrentDirectory(), info.getCanonicalFileName) : info.getCanonicalFileName(host.getCurrentDirectory());\n        const modulePath = toPath(moduleFileName, projectDirectory, getCanonicalFileName);\n        const sourceIsInternal = startsWith(sourceDirectory, projectDirectory);\n        const targetIsInternal = startsWith(modulePath, projectDirectory);\n        if (sourceIsInternal && !targetIsInternal || !sourceIsInternal && targetIsInternal) {\n          return maybeNonRelative;\n        }\n        const nearestTargetPackageJson = getNearestAncestorDirectoryWithPackageJson(host, getDirectoryPath(modulePath));\n        const nearestSourcePackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory);\n        if (nearestSourcePackageJson !== nearestTargetPackageJson) {\n          return maybeNonRelative;\n        }\n        return relativePath;\n      }\n      return isPathRelativeToParent(maybeNonRelative) || countPathComponents(relativePath) < countPathComponents(maybeNonRelative) ? relativePath : maybeNonRelative;\n    }\n    function countPathComponents(path) {\n      let count = 0;\n      for (let i = startsWith(path, \"./\") ? 2 : 0; i < path.length; i++) {\n        if (path.charCodeAt(i) === 47)\n          count++;\n      }\n      return count;\n    }\n    function comparePathsByRedirectAndNumberOfDirectorySeparators(a, b) {\n      return compareBooleans(b.isRedirect, a.isRedirect) || compareNumberOfDirectorySeparators(a.path, b.path);\n    }\n    function getNearestAncestorDirectoryWithPackageJson(host, fileName) {\n      if (host.getNearestAncestorDirectoryWithPackageJson) {\n        return host.getNearestAncestorDirectoryWithPackageJson(fileName);\n      }\n      return !!forEachAncestorDirectory(fileName, (directory) => {\n        return host.fileExists(combinePaths(directory, \"package.json\")) ? true : void 0;\n      });\n    }\n    function forEachFileNameOfModule(importingFileName, importedFileName, host, preferSymlinks, cb) {\n      var _a22;\n      const getCanonicalFileName = hostGetCanonicalFileName(host);\n      const cwd2 = host.getCurrentDirectory();\n      const referenceRedirect = host.isSourceOfProjectReferenceRedirect(importedFileName) ? host.getProjectReferenceRedirect(importedFileName) : void 0;\n      const importedPath = toPath(importedFileName, cwd2, getCanonicalFileName);\n      const redirects = host.redirectTargetsMap.get(importedPath) || emptyArray;\n      const importedFileNames = [...referenceRedirect ? [referenceRedirect] : emptyArray, importedFileName, ...redirects];\n      const targets = importedFileNames.map((f) => getNormalizedAbsolutePath(f, cwd2));\n      let shouldFilterIgnoredPaths = !every(targets, containsIgnoredPath);\n      if (!preferSymlinks) {\n        const result2 = forEach(targets, (p) => !(shouldFilterIgnoredPaths && containsIgnoredPath(p)) && cb(p, referenceRedirect === p));\n        if (result2)\n          return result2;\n      }\n      const symlinkedDirectories = (_a22 = host.getSymlinkCache) == null ? void 0 : _a22.call(host).getSymlinkedDirectoriesByRealpath();\n      const fullImportedFileName = getNormalizedAbsolutePath(importedFileName, cwd2);\n      const result = symlinkedDirectories && forEachAncestorDirectory(getDirectoryPath(fullImportedFileName), (realPathDirectory) => {\n        const symlinkDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory, cwd2, getCanonicalFileName)));\n        if (!symlinkDirectories)\n          return void 0;\n        if (startsWithDirectory(importingFileName, realPathDirectory, getCanonicalFileName)) {\n          return false;\n        }\n        return forEach(targets, (target) => {\n          if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) {\n            return;\n          }\n          const relative2 = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName);\n          for (const symlinkDirectory of symlinkDirectories) {\n            const option = resolvePath(symlinkDirectory, relative2);\n            const result2 = cb(option, target === referenceRedirect);\n            shouldFilterIgnoredPaths = true;\n            if (result2)\n              return result2;\n          }\n        });\n      });\n      return result || (preferSymlinks ? forEach(targets, (p) => shouldFilterIgnoredPaths && containsIgnoredPath(p) ? void 0 : cb(p, p === referenceRedirect)) : void 0);\n    }\n    function getAllModulePaths(importingFilePath, importedFileName, host, preferences, options = {}) {\n      var _a22;\n      const importedFilePath = toPath(importedFileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host));\n      const cache = (_a22 = host.getModuleSpecifierCache) == null ? void 0 : _a22.call(host);\n      if (cache) {\n        const cached = cache.get(importingFilePath, importedFilePath, preferences, options);\n        if (cached == null ? void 0 : cached.modulePaths)\n          return cached.modulePaths;\n      }\n      const modulePaths = getAllModulePathsWorker(importingFilePath, importedFileName, host);\n      if (cache) {\n        cache.setModulePaths(importingFilePath, importedFilePath, preferences, options, modulePaths);\n      }\n      return modulePaths;\n    }\n    function getAllModulePathsWorker(importingFileName, importedFileName, host) {\n      const getCanonicalFileName = hostGetCanonicalFileName(host);\n      const allFileNames = /* @__PURE__ */ new Map();\n      let importedFileFromNodeModules = false;\n      forEachFileNameOfModule(\n        importingFileName,\n        importedFileName,\n        host,\n        /*preferSymlinks*/\n        true,\n        (path, isRedirect) => {\n          const isInNodeModules = pathContainsNodeModules(path);\n          allFileNames.set(path, { path: getCanonicalFileName(path), isRedirect, isInNodeModules });\n          importedFileFromNodeModules = importedFileFromNodeModules || isInNodeModules;\n        }\n      );\n      const sortedPaths = [];\n      for (let directory = getDirectoryPath(importingFileName); allFileNames.size !== 0; ) {\n        const directoryStart = ensureTrailingDirectorySeparator(directory);\n        let pathsInDirectory;\n        allFileNames.forEach(({ path, isRedirect, isInNodeModules }, fileName) => {\n          if (startsWith(path, directoryStart)) {\n            (pathsInDirectory || (pathsInDirectory = [])).push({ path: fileName, isRedirect, isInNodeModules });\n            allFileNames.delete(fileName);\n          }\n        });\n        if (pathsInDirectory) {\n          if (pathsInDirectory.length > 1) {\n            pathsInDirectory.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);\n          }\n          sortedPaths.push(...pathsInDirectory);\n        }\n        const newDirectory = getDirectoryPath(directory);\n        if (newDirectory === directory)\n          break;\n        directory = newDirectory;\n      }\n      if (allFileNames.size) {\n        const remainingPaths = arrayFrom(allFileNames.values());\n        if (remainingPaths.length > 1)\n          remainingPaths.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);\n        sortedPaths.push(...remainingPaths);\n      }\n      return sortedPaths;\n    }\n    function tryGetModuleNameFromAmbientModule(moduleSymbol, checker) {\n      var _a22;\n      const decl = (_a22 = moduleSymbol.declarations) == null ? void 0 : _a22.find(\n        (d) => isNonGlobalAmbientModule(d) && (!isExternalModuleAugmentation(d) || !isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(d.name)))\n      );\n      if (decl) {\n        return decl.name.text;\n      }\n      const ambientModuleDeclareCandidates = mapDefined(\n        moduleSymbol.declarations,\n        (d) => {\n          var _a32, _b3, _c, _d;\n          if (!isModuleDeclaration(d))\n            return;\n          const topNamespace = getTopNamespace(d);\n          if (!(((_a32 = topNamespace == null ? void 0 : topNamespace.parent) == null ? void 0 : _a32.parent) && isModuleBlock(topNamespace.parent) && isAmbientModule(topNamespace.parent.parent) && isSourceFile(topNamespace.parent.parent.parent)))\n            return;\n          const exportAssignment = (_d = (_c = (_b3 = topNamespace.parent.parent.symbol.exports) == null ? void 0 : _b3.get(\"export=\")) == null ? void 0 : _c.valueDeclaration) == null ? void 0 : _d.expression;\n          if (!exportAssignment)\n            return;\n          const exportSymbol = checker.getSymbolAtLocation(exportAssignment);\n          if (!exportSymbol)\n            return;\n          const originalExportSymbol = (exportSymbol == null ? void 0 : exportSymbol.flags) & 2097152 ? checker.getAliasedSymbol(exportSymbol) : exportSymbol;\n          if (originalExportSymbol === d.symbol)\n            return topNamespace.parent.parent;\n          function getTopNamespace(namespaceDeclaration) {\n            while (namespaceDeclaration.flags & 4) {\n              namespaceDeclaration = namespaceDeclaration.parent;\n            }\n            return namespaceDeclaration;\n          }\n        }\n      );\n      const ambientModuleDeclare = ambientModuleDeclareCandidates[0];\n      if (ambientModuleDeclare) {\n        return ambientModuleDeclare.name.text;\n      }\n    }\n    function tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) {\n      for (const key in paths) {\n        for (const patternText2 of paths[key]) {\n          const pattern = normalizePath(patternText2);\n          const indexOfStar = pattern.indexOf(\"*\");\n          const candidates = allowedEndings.map((ending) => ({\n            ending,\n            value: processEnding(relativeToBaseUrl, [ending], compilerOptions)\n          }));\n          if (tryGetExtensionFromPath2(pattern)) {\n            candidates.push({ ending: void 0, value: relativeToBaseUrl });\n          }\n          if (indexOfStar !== -1) {\n            const prefix = pattern.substring(0, indexOfStar);\n            const suffix = pattern.substring(indexOfStar + 1);\n            for (const { ending, value } of candidates) {\n              if (value.length >= prefix.length + suffix.length && startsWith(value, prefix) && endsWith(value, suffix) && validateEnding({ ending, value })) {\n                const matchedStar = value.substring(prefix.length, value.length - suffix.length);\n                return key.replace(\"*\", matchedStar);\n              }\n            }\n          } else if (some(candidates, (c) => c.ending !== 0 && pattern === c.value) || some(candidates, (c) => c.ending === 0 && pattern === c.value && validateEnding(c))) {\n            return key;\n          }\n        }\n      }\n      function validateEnding({ ending, value }) {\n        return ending !== 0 || value === processEnding(relativeToBaseUrl, [ending], compilerOptions, host);\n      }\n    }\n    function tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, packageName, exports, conditions, mode = 0) {\n      if (typeof exports === \"string\") {\n        const pathOrPattern = getNormalizedAbsolutePath(\n          combinePaths(packageDirectory, exports),\n          /*currentDirectory*/\n          void 0\n        );\n        const extensionSwappedTarget = hasTSFileExtension(targetFilePath) ? removeFileExtension(targetFilePath) + tryGetJSExtensionForFile(targetFilePath, options) : void 0;\n        switch (mode) {\n          case 0:\n            if (comparePaths(targetFilePath, pathOrPattern) === 0 || extensionSwappedTarget && comparePaths(extensionSwappedTarget, pathOrPattern) === 0) {\n              return { moduleFileToTry: packageName };\n            }\n            break;\n          case 1:\n            if (containsPath(pathOrPattern, targetFilePath)) {\n              const fragment = getRelativePathFromDirectory(\n                pathOrPattern,\n                targetFilePath,\n                /*ignoreCase*/\n                false\n              );\n              return { moduleFileToTry: getNormalizedAbsolutePath(\n                combinePaths(combinePaths(packageName, exports), fragment),\n                /*currentDirectory*/\n                void 0\n              ) };\n            }\n            break;\n          case 2:\n            const starPos = pathOrPattern.indexOf(\"*\");\n            const leadingSlice = pathOrPattern.slice(0, starPos);\n            const trailingSlice = pathOrPattern.slice(starPos + 1);\n            if (startsWith(targetFilePath, leadingSlice) && endsWith(targetFilePath, trailingSlice)) {\n              const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length);\n              return { moduleFileToTry: packageName.replace(\"*\", starReplacement) };\n            }\n            if (extensionSwappedTarget && startsWith(extensionSwappedTarget, leadingSlice) && endsWith(extensionSwappedTarget, trailingSlice)) {\n              const starReplacement = extensionSwappedTarget.slice(leadingSlice.length, extensionSwappedTarget.length - trailingSlice.length);\n              return { moduleFileToTry: packageName.replace(\"*\", starReplacement) };\n            }\n            break;\n        }\n      } else if (Array.isArray(exports)) {\n        return forEach(exports, (e) => tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, packageName, e, conditions));\n      } else if (typeof exports === \"object\" && exports !== null) {\n        if (allKeysStartWithDot(exports)) {\n          return forEach(getOwnKeys(exports), (k) => {\n            const subPackageName = getNormalizedAbsolutePath(\n              combinePaths(packageName, k),\n              /*currentDirectory*/\n              void 0\n            );\n            const mode2 = endsWith(k, \"/\") ? 1 : stringContains(k, \"*\") ? 2 : 0;\n            return tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, subPackageName, exports[k], conditions, mode2);\n          });\n        } else {\n          for (const key of getOwnKeys(exports)) {\n            if (key === \"default\" || conditions.indexOf(key) >= 0 || isApplicableVersionedTypesKey(conditions, key)) {\n              const subTarget = exports[key];\n              const result = tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, packageName, subTarget, conditions);\n              if (result) {\n                return result;\n              }\n            }\n          }\n        }\n      }\n      return void 0;\n    }\n    function tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) {\n      const normalizedTargetPaths = getPathsRelativeToRootDirs(moduleFileName, rootDirs, getCanonicalFileName);\n      if (normalizedTargetPaths === void 0) {\n        return void 0;\n      }\n      const normalizedSourcePaths = getPathsRelativeToRootDirs(sourceDirectory, rootDirs, getCanonicalFileName);\n      const relativePaths = flatMap(normalizedSourcePaths, (sourcePath) => {\n        return map(normalizedTargetPaths, (targetPath) => ensurePathIsNonModuleName(getRelativePathFromDirectory(sourcePath, targetPath, getCanonicalFileName)));\n      });\n      const shortest = min(relativePaths, compareNumberOfDirectorySeparators);\n      if (!shortest) {\n        return void 0;\n      }\n      return processEnding(shortest, allowedEndings, compilerOptions);\n    }\n    function tryGetModuleNameAsNodeModule({ path, isRedirect }, { getCanonicalFileName, sourceDirectory }, importingSourceFile, host, options, userPreferences, packageNameOnly, overrideMode) {\n      if (!host.fileExists || !host.readFile) {\n        return void 0;\n      }\n      const parts = getNodeModulePathParts(path);\n      if (!parts) {\n        return void 0;\n      }\n      const preferences = getPreferences(userPreferences, options, importingSourceFile);\n      const allowedEndings = preferences.getAllowedEndingsInPreferredOrder();\n      let moduleSpecifier = path;\n      let isPackageRootPath = false;\n      if (!packageNameOnly) {\n        let packageRootIndex = parts.packageRootIndex;\n        let moduleFileName;\n        while (true) {\n          const { moduleFileToTry, packageRootPath, blockedByExports, verbatimFromExports } = tryDirectoryWithPackageJson(packageRootIndex);\n          if (getEmitModuleResolutionKind(options) !== 1) {\n            if (blockedByExports) {\n              return void 0;\n            }\n            if (verbatimFromExports) {\n              return moduleFileToTry;\n            }\n          }\n          if (packageRootPath) {\n            moduleSpecifier = packageRootPath;\n            isPackageRootPath = true;\n            break;\n          }\n          if (!moduleFileName)\n            moduleFileName = moduleFileToTry;\n          packageRootIndex = path.indexOf(directorySeparator, packageRootIndex + 1);\n          if (packageRootIndex === -1) {\n            moduleSpecifier = processEnding(moduleFileName, allowedEndings, options, host);\n            break;\n          }\n        }\n      }\n      if (isRedirect && !isPackageRootPath) {\n        return void 0;\n      }\n      const globalTypingsCacheLocation = host.getGlobalTypingsCacheLocation && host.getGlobalTypingsCacheLocation();\n      const pathToTopLevelNodeModules = getCanonicalFileName(moduleSpecifier.substring(0, parts.topLevelNodeModulesIndex));\n      if (!(startsWith(sourceDirectory, pathToTopLevelNodeModules) || globalTypingsCacheLocation && startsWith(getCanonicalFileName(globalTypingsCacheLocation), pathToTopLevelNodeModules))) {\n        return void 0;\n      }\n      const nodeModulesDirectoryName = moduleSpecifier.substring(parts.topLevelPackageNameIndex + 1);\n      const packageName = getPackageNameFromTypesPackageName(nodeModulesDirectoryName);\n      return getEmitModuleResolutionKind(options) === 1 && packageName === nodeModulesDirectoryName ? void 0 : packageName;\n      function tryDirectoryWithPackageJson(packageRootIndex) {\n        var _a22, _b3;\n        const packageRootPath = path.substring(0, packageRootIndex);\n        const packageJsonPath = combinePaths(packageRootPath, \"package.json\");\n        let moduleFileToTry = path;\n        let maybeBlockedByTypesVersions = false;\n        const cachedPackageJson = (_b3 = (_a22 = host.getPackageJsonInfoCache) == null ? void 0 : _a22.call(host)) == null ? void 0 : _b3.getPackageJsonInfo(packageJsonPath);\n        if (typeof cachedPackageJson === \"object\" || cachedPackageJson === void 0 && host.fileExists(packageJsonPath)) {\n          const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || JSON.parse(host.readFile(packageJsonPath));\n          const importMode = overrideMode || importingSourceFile.impliedNodeFormat;\n          if (getResolvePackageJsonExports(options)) {\n            const nodeModulesDirectoryName2 = packageRootPath.substring(parts.topLevelPackageNameIndex + 1);\n            const packageName2 = getPackageNameFromTypesPackageName(nodeModulesDirectoryName2);\n            const conditions = getConditions(\n              options,\n              importMode === 99\n              /* ESNext */\n            );\n            const fromExports = packageJsonContent.exports ? tryGetModuleNameFromExports(options, path, packageRootPath, packageName2, packageJsonContent.exports, conditions) : void 0;\n            if (fromExports) {\n              const withJsExtension = !hasTSFileExtension(fromExports.moduleFileToTry) ? fromExports : { moduleFileToTry: removeFileExtension(fromExports.moduleFileToTry) + tryGetJSExtensionForFile(fromExports.moduleFileToTry, options) };\n              return { ...withJsExtension, verbatimFromExports: true };\n            }\n            if (packageJsonContent.exports) {\n              return { moduleFileToTry: path, blockedByExports: true };\n            }\n          }\n          const versionPaths = packageJsonContent.typesVersions ? getPackageJsonTypesVersionsPaths(packageJsonContent.typesVersions) : void 0;\n          if (versionPaths) {\n            const subModuleName = path.slice(packageRootPath.length + 1);\n            const fromPaths = tryGetModuleNameFromPaths(\n              subModuleName,\n              versionPaths.paths,\n              allowedEndings,\n              host,\n              options\n            );\n            if (fromPaths === void 0) {\n              maybeBlockedByTypesVersions = true;\n            } else {\n              moduleFileToTry = combinePaths(packageRootPath, fromPaths);\n            }\n          }\n          const mainFileRelative = packageJsonContent.typings || packageJsonContent.types || packageJsonContent.main || \"index.js\";\n          if (isString2(mainFileRelative) && !(maybeBlockedByTypesVersions && matchPatternOrExact(tryParsePatterns(versionPaths.paths), mainFileRelative))) {\n            const mainExportFile = toPath(mainFileRelative, packageRootPath, getCanonicalFileName);\n            if (removeFileExtension(mainExportFile) === removeFileExtension(getCanonicalFileName(moduleFileToTry))) {\n              return { packageRootPath, moduleFileToTry };\n            }\n          }\n        } else {\n          const fileName = getCanonicalFileName(moduleFileToTry.substring(parts.packageRootIndex + 1));\n          if (fileName === \"index.d.ts\" || fileName === \"index.js\" || fileName === \"index.ts\" || fileName === \"index.tsx\") {\n            return { moduleFileToTry, packageRootPath };\n          }\n        }\n        return { moduleFileToTry };\n      }\n    }\n    function tryGetAnyFileFromPath(host, path) {\n      if (!host.fileExists)\n        return;\n      const extensions = flatten(getSupportedExtensions({ allowJs: true }, [{ extension: \"node\", isMixedContent: false }, {\n        extension: \"json\",\n        isMixedContent: false,\n        scriptKind: 6\n        /* JSON */\n      }]));\n      for (const e of extensions) {\n        const fullPath = path + e;\n        if (host.fileExists(fullPath)) {\n          return fullPath;\n        }\n      }\n    }\n    function getPathsRelativeToRootDirs(path, rootDirs, getCanonicalFileName) {\n      return mapDefined(rootDirs, (rootDir) => {\n        const relativePath = getRelativePathIfInDirectory(path, rootDir, getCanonicalFileName);\n        return relativePath !== void 0 && isPathRelativeToParent(relativePath) ? void 0 : relativePath;\n      });\n    }\n    function processEnding(fileName, allowedEndings, options, host) {\n      if (fileExtensionIsOneOf(fileName, [\n        \".json\",\n        \".mjs\",\n        \".cjs\"\n        /* Cjs */\n      ])) {\n        return fileName;\n      }\n      const noExtension = removeFileExtension(fileName);\n      if (fileName === noExtension) {\n        return fileName;\n      }\n      if (fileExtensionIsOneOf(fileName, [\n        \".d.mts\",\n        \".mts\",\n        \".d.cts\",\n        \".cts\"\n        /* Cts */\n      ])) {\n        return noExtension + getJSExtensionForFile(fileName, options);\n      } else if (!fileExtensionIsOneOf(fileName, [\n        \".d.ts\"\n        /* Dts */\n      ]) && fileExtensionIsOneOf(fileName, [\n        \".ts\"\n        /* Ts */\n      ]) && stringContains(fileName, \".d.\")) {\n        return tryGetRealFileNameForNonJsDeclarationFileName(fileName);\n      }\n      switch (allowedEndings[0]) {\n        case 0:\n          const withoutIndex = removeSuffix(noExtension, \"/index\");\n          if (host && withoutIndex !== noExtension && tryGetAnyFileFromPath(host, withoutIndex)) {\n            return noExtension;\n          }\n          return withoutIndex;\n        case 1:\n          return noExtension;\n        case 2:\n          return noExtension + getJSExtensionForFile(fileName, options);\n        case 3:\n          if (isDeclarationFileName(fileName)) {\n            const extensionlessPriority = allowedEndings.findIndex(\n              (e) => e === 0 || e === 1\n              /* Index */\n            );\n            const jsPriority = allowedEndings.indexOf(\n              2\n              /* JsExtension */\n            );\n            return extensionlessPriority !== -1 && extensionlessPriority < jsPriority ? noExtension : noExtension + getJSExtensionForFile(fileName, options);\n          }\n          return fileName;\n        default:\n          return Debug2.assertNever(allowedEndings[0]);\n      }\n    }\n    function tryGetRealFileNameForNonJsDeclarationFileName(fileName) {\n      const baseName = getBaseFileName(fileName);\n      if (!endsWith(\n        fileName,\n        \".ts\"\n        /* Ts */\n      ) || !stringContains(baseName, \".d.\") || fileExtensionIsOneOf(baseName, [\n        \".d.ts\"\n        /* Dts */\n      ]))\n        return void 0;\n      const noExtension = removeExtension(\n        fileName,\n        \".ts\"\n        /* Ts */\n      );\n      const ext = noExtension.substring(noExtension.lastIndexOf(\".\"));\n      return noExtension.substring(0, noExtension.indexOf(\".d.\")) + ext;\n    }\n    function getJSExtensionForFile(fileName, options) {\n      var _a22;\n      return (_a22 = tryGetJSExtensionForFile(fileName, options)) != null ? _a22 : Debug2.fail(`Extension ${extensionFromPath(fileName)} is unsupported:: FileName:: ${fileName}`);\n    }\n    function tryGetJSExtensionForFile(fileName, options) {\n      const ext = tryGetExtensionFromPath2(fileName);\n      switch (ext) {\n        case \".ts\":\n        case \".d.ts\":\n          return \".js\";\n        case \".tsx\":\n          return options.jsx === 1 ? \".jsx\" : \".js\";\n        case \".js\":\n        case \".jsx\":\n        case \".json\":\n          return ext;\n        case \".d.mts\":\n        case \".mts\":\n        case \".mjs\":\n          return \".mjs\";\n        case \".d.cts\":\n        case \".cts\":\n        case \".cjs\":\n          return \".cjs\";\n        default:\n          return void 0;\n      }\n    }\n    function getRelativePathIfInDirectory(path, directoryPath, getCanonicalFileName) {\n      const relativePath = getRelativePathToDirectoryOrUrl(\n        directoryPath,\n        path,\n        directoryPath,\n        getCanonicalFileName,\n        /*isAbsolutePathAnUrl*/\n        false\n      );\n      return isRootedDiskPath(relativePath) ? void 0 : relativePath;\n    }\n    function isPathRelativeToParent(path) {\n      return startsWith(path, \"..\");\n    }\n    var init_moduleSpecifiers = __esm({\n      \"src/compiler/moduleSpecifiers.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    var ts_moduleSpecifiers_exports = {};\n    __export2(ts_moduleSpecifiers_exports, {\n      countPathComponents: () => countPathComponents,\n      forEachFileNameOfModule: () => forEachFileNameOfModule,\n      getModuleSpecifier: () => getModuleSpecifier,\n      getModuleSpecifiers: () => getModuleSpecifiers,\n      getModuleSpecifiersWithCacheInfo: () => getModuleSpecifiersWithCacheInfo,\n      getNodeModulesPackageName: () => getNodeModulesPackageName,\n      tryGetJSExtensionForFile: () => tryGetJSExtensionForFile,\n      tryGetModuleSpecifiersFromCache: () => tryGetModuleSpecifiersFromCache,\n      tryGetRealFileNameForNonJsDeclarationFileName: () => tryGetRealFileNameForNonJsDeclarationFileName,\n      updateModuleSpecifier: () => updateModuleSpecifier\n    });\n    var init_ts_moduleSpecifiers = __esm({\n      \"src/compiler/_namespaces/ts.moduleSpecifiers.ts\"() {\n        \"use strict\";\n        init_moduleSpecifiers();\n      }\n    });\n    function NodeLinks() {\n      this.flags = 0;\n    }\n    function getNodeId(node) {\n      if (!node.id) {\n        node.id = nextNodeId;\n        nextNodeId++;\n      }\n      return node.id;\n    }\n    function getSymbolId(symbol) {\n      if (!symbol.id) {\n        symbol.id = nextSymbolId;\n        nextSymbolId++;\n      }\n      return symbol.id;\n    }\n    function isInstantiatedModule(node, preserveConstEnums) {\n      const moduleState = getModuleInstanceState(node);\n      return moduleState === 1 || preserveConstEnums && moduleState === 2;\n    }\n    function createTypeChecker(host) {\n      var getPackagesMap = memoize(() => {\n        var map2 = /* @__PURE__ */ new Map();\n        host.getSourceFiles().forEach((sf) => {\n          if (!sf.resolvedModules)\n            return;\n          sf.resolvedModules.forEach(({ resolvedModule }) => {\n            if (resolvedModule == null ? void 0 : resolvedModule.packageId)\n              map2.set(resolvedModule.packageId.name, resolvedModule.extension === \".d.ts\" || !!map2.get(resolvedModule.packageId.name));\n          });\n        });\n        return map2;\n      });\n      var deferredDiagnosticsCallbacks = [];\n      var addLazyDiagnostic = (arg) => {\n        deferredDiagnosticsCallbacks.push(arg);\n      };\n      var cancellationToken;\n      var requestedExternalEmitHelperNames = /* @__PURE__ */ new Set();\n      var requestedExternalEmitHelpers;\n      var externalHelpersModule;\n      var Symbol46 = objectAllocator.getSymbolConstructor();\n      var Type27 = objectAllocator.getTypeConstructor();\n      var Signature15 = objectAllocator.getSignatureConstructor();\n      var typeCount = 0;\n      var symbolCount = 0;\n      var totalInstantiationCount = 0;\n      var instantiationCount = 0;\n      var instantiationDepth = 0;\n      var inlineLevel = 0;\n      var currentNode;\n      var varianceTypeParameter;\n      var isInferencePartiallyBlocked = false;\n      var emptySymbols = createSymbolTable();\n      var arrayVariances = [\n        1\n        /* Covariant */\n      ];\n      var compilerOptions = host.getCompilerOptions();\n      var languageVersion = getEmitScriptTarget(compilerOptions);\n      var moduleKind = getEmitModuleKind(compilerOptions);\n      var legacyDecorators = !!compilerOptions.experimentalDecorators;\n      var useDefineForClassFields = getUseDefineForClassFields(compilerOptions);\n      var allowSyntheticDefaultImports = getAllowSyntheticDefaultImports(compilerOptions);\n      var strictNullChecks = getStrictOptionValue(compilerOptions, \"strictNullChecks\");\n      var strictFunctionTypes = getStrictOptionValue(compilerOptions, \"strictFunctionTypes\");\n      var strictBindCallApply = getStrictOptionValue(compilerOptions, \"strictBindCallApply\");\n      var strictPropertyInitialization = getStrictOptionValue(compilerOptions, \"strictPropertyInitialization\");\n      var noImplicitAny = getStrictOptionValue(compilerOptions, \"noImplicitAny\");\n      var noImplicitThis = getStrictOptionValue(compilerOptions, \"noImplicitThis\");\n      var useUnknownInCatchVariables = getStrictOptionValue(compilerOptions, \"useUnknownInCatchVariables\");\n      var keyofStringsOnly = !!compilerOptions.keyofStringsOnly;\n      var freshObjectLiteralFlag = compilerOptions.suppressExcessPropertyErrors ? 0 : 8192;\n      var exactOptionalPropertyTypes = compilerOptions.exactOptionalPropertyTypes;\n      var checkBinaryExpression = createCheckBinaryExpression();\n      var emitResolver = createResolver();\n      var nodeBuilder = createNodeBuilder();\n      var globals = createSymbolTable();\n      var undefinedSymbol = createSymbol(4, \"undefined\");\n      undefinedSymbol.declarations = [];\n      var globalThisSymbol = createSymbol(\n        1536,\n        \"globalThis\",\n        8\n        /* Readonly */\n      );\n      globalThisSymbol.exports = globals;\n      globalThisSymbol.declarations = [];\n      globals.set(globalThisSymbol.escapedName, globalThisSymbol);\n      var argumentsSymbol = createSymbol(4, \"arguments\");\n      var requireSymbol = createSymbol(4, \"require\");\n      var isolatedModulesLikeFlagName = compilerOptions.verbatimModuleSyntax ? \"verbatimModuleSyntax\" : \"isolatedModules\";\n      var apparentArgumentCount;\n      const checker = {\n        getNodeCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.nodeCount, 0),\n        getIdentifierCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.identifierCount, 0),\n        getSymbolCount: () => reduceLeft(host.getSourceFiles(), (n, s) => n + s.symbolCount, symbolCount),\n        getTypeCount: () => typeCount,\n        getInstantiationCount: () => totalInstantiationCount,\n        getRelationCacheSizes: () => ({\n          assignable: assignableRelation.size,\n          identity: identityRelation.size,\n          subtype: subtypeRelation.size,\n          strictSubtype: strictSubtypeRelation.size\n        }),\n        isUndefinedSymbol: (symbol) => symbol === undefinedSymbol,\n        isArgumentsSymbol: (symbol) => symbol === argumentsSymbol,\n        isUnknownSymbol: (symbol) => symbol === unknownSymbol,\n        getMergedSymbol,\n        getDiagnostics: getDiagnostics2,\n        getGlobalDiagnostics,\n        getRecursionIdentity,\n        getUnmatchedProperties,\n        getTypeOfSymbolAtLocation: (symbol, locationIn) => {\n          const location = getParseTreeNode(locationIn);\n          return location ? getTypeOfSymbolAtLocation(symbol, location) : errorType;\n        },\n        getTypeOfSymbol,\n        getSymbolsOfParameterPropertyDeclaration: (parameterIn, parameterName) => {\n          const parameter = getParseTreeNode(parameterIn, isParameter);\n          if (parameter === void 0)\n            return Debug2.fail(\"Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node.\");\n          Debug2.assert(isParameterPropertyDeclaration(parameter, parameter.parent));\n          return getSymbolsOfParameterPropertyDeclaration(parameter, escapeLeadingUnderscores(parameterName));\n        },\n        getDeclaredTypeOfSymbol,\n        getPropertiesOfType,\n        getPropertyOfType: (type, name) => getPropertyOfType(type, escapeLeadingUnderscores(name)),\n        getPrivateIdentifierPropertyOfType: (leftType, name, location) => {\n          const node = getParseTreeNode(location);\n          if (!node) {\n            return void 0;\n          }\n          const propName = escapeLeadingUnderscores(name);\n          const lexicallyScopedIdentifier = lookupSymbolForPrivateIdentifierDeclaration(propName, node);\n          return lexicallyScopedIdentifier ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) : void 0;\n        },\n        getTypeOfPropertyOfType: (type, name) => getTypeOfPropertyOfType(type, escapeLeadingUnderscores(name)),\n        getIndexInfoOfType: (type, kind) => getIndexInfoOfType(type, kind === 0 ? stringType : numberType),\n        getIndexInfosOfType,\n        getIndexInfosOfIndexSymbol,\n        getSignaturesOfType,\n        getIndexTypeOfType: (type, kind) => getIndexTypeOfType(type, kind === 0 ? stringType : numberType),\n        getIndexType: (type) => getIndexType(type),\n        getBaseTypes,\n        getBaseTypeOfLiteralType,\n        getWidenedType,\n        getTypeFromTypeNode: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isTypeNode);\n          return node ? getTypeFromTypeNode(node) : errorType;\n        },\n        getParameterType: getTypeAtPosition,\n        getParameterIdentifierNameAtPosition,\n        getPromisedTypeOfPromise,\n        getAwaitedType: (type) => getAwaitedType(type),\n        getReturnTypeOfSignature,\n        isNullableType,\n        getNullableType,\n        getNonNullableType,\n        getNonOptionalType: removeOptionalTypeMarker,\n        getTypeArguments,\n        typeToTypeNode: nodeBuilder.typeToTypeNode,\n        indexInfoToIndexSignatureDeclaration: nodeBuilder.indexInfoToIndexSignatureDeclaration,\n        signatureToSignatureDeclaration: nodeBuilder.signatureToSignatureDeclaration,\n        symbolToEntityName: nodeBuilder.symbolToEntityName,\n        symbolToExpression: nodeBuilder.symbolToExpression,\n        symbolToNode: nodeBuilder.symbolToNode,\n        symbolToTypeParameterDeclarations: nodeBuilder.symbolToTypeParameterDeclarations,\n        symbolToParameterDeclaration: nodeBuilder.symbolToParameterDeclaration,\n        typeParameterToDeclaration: nodeBuilder.typeParameterToDeclaration,\n        getSymbolsInScope: (locationIn, meaning) => {\n          const location = getParseTreeNode(locationIn);\n          return location ? getSymbolsInScope(location, meaning) : [];\n        },\n        getSymbolAtLocation: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn);\n          return node ? getSymbolAtLocation(\n            node,\n            /*ignoreErrors*/\n            true\n          ) : void 0;\n        },\n        getIndexInfosAtLocation: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn);\n          return node ? getIndexInfosAtLocation(node) : void 0;\n        },\n        getShorthandAssignmentValueSymbol: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn);\n          return node ? getShorthandAssignmentValueSymbol(node) : void 0;\n        },\n        getExportSpecifierLocalTargetSymbol: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isExportSpecifier);\n          return node ? getExportSpecifierLocalTargetSymbol(node) : void 0;\n        },\n        getExportSymbolOfSymbol(symbol) {\n          return getMergedSymbol(symbol.exportSymbol || symbol);\n        },\n        getTypeAtLocation: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn);\n          return node ? getTypeOfNode(node) : errorType;\n        },\n        getTypeOfAssignmentPattern: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isAssignmentPattern);\n          return node && getTypeOfAssignmentPattern(node) || errorType;\n        },\n        getPropertySymbolOfDestructuringAssignment: (locationIn) => {\n          const location = getParseTreeNode(locationIn, isIdentifier);\n          return location ? getPropertySymbolOfDestructuringAssignment(location) : void 0;\n        },\n        signatureToString: (signature, enclosingDeclaration, flags, kind) => {\n          return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind);\n        },\n        typeToString: (type, enclosingDeclaration, flags) => {\n          return typeToString(type, getParseTreeNode(enclosingDeclaration), flags);\n        },\n        symbolToString: (symbol, enclosingDeclaration, meaning, flags) => {\n          return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags);\n        },\n        typePredicateToString: (predicate, enclosingDeclaration, flags) => {\n          return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags);\n        },\n        writeSignature: (signature, enclosingDeclaration, flags, kind, writer) => {\n          return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind, writer);\n        },\n        writeType: (type, enclosingDeclaration, flags, writer) => {\n          return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer);\n        },\n        writeSymbol: (symbol, enclosingDeclaration, meaning, flags, writer) => {\n          return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags, writer);\n        },\n        writeTypePredicate: (predicate, enclosingDeclaration, flags, writer) => {\n          return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags, writer);\n        },\n        getAugmentedPropertiesOfType,\n        getRootSymbols,\n        getSymbolOfExpando,\n        getContextualType: (nodeIn, contextFlags) => {\n          const node = getParseTreeNode(nodeIn, isExpression);\n          if (!node) {\n            return void 0;\n          }\n          if (contextFlags & 4) {\n            return runWithInferenceBlockedFromSourceNode(node, () => getContextualType2(node, contextFlags));\n          }\n          return getContextualType2(node, contextFlags);\n        },\n        getContextualTypeForObjectLiteralElement: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isObjectLiteralElementLike);\n          return node ? getContextualTypeForObjectLiteralElement(\n            node,\n            /*contextFlags*/\n            void 0\n          ) : void 0;\n        },\n        getContextualTypeForArgumentAtIndex: (nodeIn, argIndex) => {\n          const node = getParseTreeNode(nodeIn, isCallLikeExpression);\n          return node && getContextualTypeForArgumentAtIndex(node, argIndex);\n        },\n        getContextualTypeForJsxAttribute: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isJsxAttributeLike);\n          return node && getContextualTypeForJsxAttribute(\n            node,\n            /*contextFlags*/\n            void 0\n          );\n        },\n        isContextSensitive,\n        getTypeOfPropertyOfContextualType,\n        getFullyQualifiedName,\n        getResolvedSignature: (node, candidatesOutArray, argumentCount) => getResolvedSignatureWorker(\n          node,\n          candidatesOutArray,\n          argumentCount,\n          0\n          /* Normal */\n        ),\n        getResolvedSignatureForStringLiteralCompletions: (call, editingArgument, candidatesOutArray) => runWithInferenceBlockedFromSourceNode(editingArgument, () => getResolvedSignatureWorker(\n          call,\n          candidatesOutArray,\n          /*argumentCount*/\n          void 0,\n          32\n          /* IsForStringLiteralArgumentCompletions */\n        )),\n        getResolvedSignatureForSignatureHelp: (node, candidatesOutArray, argumentCount) => runWithoutResolvedSignatureCaching(node, () => getResolvedSignatureWorker(\n          node,\n          candidatesOutArray,\n          argumentCount,\n          16\n          /* IsForSignatureHelp */\n        )),\n        getExpandedParameters,\n        hasEffectiveRestParameter,\n        containsArgumentsReference,\n        getConstantValue: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, canHaveConstantValue);\n          return node ? getConstantValue2(node) : void 0;\n        },\n        isValidPropertyAccess: (nodeIn, propertyName) => {\n          const node = getParseTreeNode(nodeIn, isPropertyAccessOrQualifiedNameOrImportTypeNode);\n          return !!node && isValidPropertyAccess(node, escapeLeadingUnderscores(propertyName));\n        },\n        isValidPropertyAccessForCompletions: (nodeIn, type, property) => {\n          const node = getParseTreeNode(nodeIn, isPropertyAccessExpression);\n          return !!node && isValidPropertyAccessForCompletions(node, type, property);\n        },\n        getSignatureFromDeclaration: (declarationIn) => {\n          const declaration = getParseTreeNode(declarationIn, isFunctionLike);\n          return declaration ? getSignatureFromDeclaration(declaration) : void 0;\n        },\n        isImplementationOfOverload: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isFunctionLike);\n          return node ? isImplementationOfOverload(node) : void 0;\n        },\n        getImmediateAliasedSymbol,\n        getAliasedSymbol: resolveAlias,\n        getEmitResolver,\n        getExportsOfModule: getExportsOfModuleAsArray,\n        getExportsAndPropertiesOfModule,\n        forEachExportAndPropertyOfModule,\n        getSymbolWalker: createGetSymbolWalker(\n          getRestTypeOfSignature,\n          getTypePredicateOfSignature,\n          getReturnTypeOfSignature,\n          getBaseTypes,\n          resolveStructuredTypeMembers,\n          getTypeOfSymbol,\n          getResolvedSymbol,\n          getConstraintOfTypeParameter,\n          getFirstIdentifier,\n          getTypeArguments\n        ),\n        getAmbientModules,\n        getJsxIntrinsicTagNamesAt,\n        isOptionalParameter: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isParameter);\n          return node ? isOptionalParameter(node) : false;\n        },\n        tryGetMemberInModuleExports: (name, symbol) => tryGetMemberInModuleExports(escapeLeadingUnderscores(name), symbol),\n        tryGetMemberInModuleExportsAndProperties: (name, symbol) => tryGetMemberInModuleExportsAndProperties(escapeLeadingUnderscores(name), symbol),\n        tryFindAmbientModule: (moduleName) => tryFindAmbientModule(\n          moduleName,\n          /*withAugmentations*/\n          true\n        ),\n        tryFindAmbientModuleWithoutAugmentations: (moduleName) => {\n          return tryFindAmbientModule(\n            moduleName,\n            /*withAugmentations*/\n            false\n          );\n        },\n        getApparentType,\n        getUnionType,\n        isTypeAssignableTo,\n        createAnonymousType,\n        createSignature,\n        createSymbol,\n        createIndexInfo,\n        getAnyType: () => anyType,\n        getStringType: () => stringType,\n        getNumberType: () => numberType,\n        createPromiseType,\n        createArrayType,\n        getElementTypeOfArrayType,\n        getBooleanType: () => booleanType,\n        getFalseType: (fresh) => fresh ? falseType : regularFalseType,\n        getTrueType: (fresh) => fresh ? trueType : regularTrueType,\n        getVoidType: () => voidType,\n        getUndefinedType: () => undefinedType,\n        getNullType: () => nullType,\n        getESSymbolType: () => esSymbolType,\n        getNeverType: () => neverType,\n        getOptionalType: () => optionalType,\n        getPromiseType: () => getGlobalPromiseType(\n          /*reportErrors*/\n          false\n        ),\n        getPromiseLikeType: () => getGlobalPromiseLikeType(\n          /*reportErrors*/\n          false\n        ),\n        getAsyncIterableType: () => {\n          const type = getGlobalAsyncIterableType(\n            /*reportErrors*/\n            false\n          );\n          if (type === emptyGenericType)\n            return void 0;\n          return type;\n        },\n        isSymbolAccessible,\n        isArrayType,\n        isTupleType,\n        isArrayLikeType,\n        isEmptyAnonymousObjectType,\n        isTypeInvalidDueToUnionDiscriminant,\n        getExactOptionalProperties,\n        getAllPossiblePropertiesOfTypes,\n        getSuggestedSymbolForNonexistentProperty,\n        getSuggestionForNonexistentProperty,\n        getSuggestedSymbolForNonexistentJSXAttribute,\n        getSuggestedSymbolForNonexistentSymbol: (location, name, meaning) => getSuggestedSymbolForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning),\n        getSuggestionForNonexistentSymbol: (location, name, meaning) => getSuggestionForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning),\n        getSuggestedSymbolForNonexistentModule,\n        getSuggestionForNonexistentExport,\n        getSuggestedSymbolForNonexistentClassMember,\n        getBaseConstraintOfType,\n        getDefaultFromTypeParameter: (type) => type && type.flags & 262144 ? getDefaultFromTypeParameter(type) : void 0,\n        resolveName(name, location, meaning, excludeGlobals) {\n          return resolveName(\n            location,\n            escapeLeadingUnderscores(name),\n            meaning,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false,\n            excludeGlobals\n          );\n        },\n        getJsxNamespace: (n) => unescapeLeadingUnderscores(getJsxNamespace(n)),\n        getJsxFragmentFactory: (n) => {\n          const jsxFragmentFactory = getJsxFragmentFactoryEntity(n);\n          return jsxFragmentFactory && unescapeLeadingUnderscores(getFirstIdentifier(jsxFragmentFactory).escapedText);\n        },\n        getAccessibleSymbolChain,\n        getTypePredicateOfSignature,\n        resolveExternalModuleName: (moduleSpecifierIn) => {\n          const moduleSpecifier = getParseTreeNode(moduleSpecifierIn, isExpression);\n          return moduleSpecifier && resolveExternalModuleName(\n            moduleSpecifier,\n            moduleSpecifier,\n            /*ignoreErrors*/\n            true\n          );\n        },\n        resolveExternalModuleSymbol,\n        tryGetThisTypeAt: (nodeIn, includeGlobalThis, container) => {\n          const node = getParseTreeNode(nodeIn);\n          return node && tryGetThisTypeAt(node, includeGlobalThis, container);\n        },\n        getTypeArgumentConstraint: (nodeIn) => {\n          const node = getParseTreeNode(nodeIn, isTypeNode);\n          return node && getTypeArgumentConstraint(node);\n        },\n        getSuggestionDiagnostics: (fileIn, ct) => {\n          const file = getParseTreeNode(fileIn, isSourceFile) || Debug2.fail(\"Could not determine parsed source file.\");\n          if (skipTypeChecking(file, compilerOptions, host)) {\n            return emptyArray;\n          }\n          let diagnostics2;\n          try {\n            cancellationToken = ct;\n            checkSourceFileWithEagerDiagnostics(file);\n            Debug2.assert(!!(getNodeLinks(file).flags & 1));\n            diagnostics2 = addRange(diagnostics2, suggestionDiagnostics.getDiagnostics(file.fileName));\n            checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(file), (containingNode, kind, diag2) => {\n              if (!containsParseError(containingNode) && !unusedIsError(kind, !!(containingNode.flags & 16777216))) {\n                (diagnostics2 || (diagnostics2 = [])).push({\n                  ...diag2,\n                  category: 2\n                  /* Suggestion */\n                });\n              }\n            });\n            return diagnostics2 || emptyArray;\n          } finally {\n            cancellationToken = void 0;\n          }\n        },\n        runWithCancellationToken: (token, callback) => {\n          try {\n            cancellationToken = token;\n            return callback(checker);\n          } finally {\n            cancellationToken = void 0;\n          }\n        },\n        getLocalTypeParametersOfClassOrInterfaceOrTypeAlias,\n        isDeclarationVisible,\n        isPropertyAccessible,\n        getTypeOnlyAliasDeclaration,\n        getMemberOverrideModifierStatus,\n        isTypeParameterPossiblyReferenced,\n        typeHasCallOrConstructSignatures\n      };\n      function runWithoutResolvedSignatureCaching(node, fn) {\n        const containingCall = findAncestor(node, isCallLikeExpression);\n        const containingCallResolvedSignature = containingCall && getNodeLinks(containingCall).resolvedSignature;\n        if (containingCall) {\n          getNodeLinks(containingCall).resolvedSignature = void 0;\n        }\n        const result = fn();\n        if (containingCall) {\n          getNodeLinks(containingCall).resolvedSignature = containingCallResolvedSignature;\n        }\n        return result;\n      }\n      function runWithInferenceBlockedFromSourceNode(node, fn) {\n        const containingCall = findAncestor(node, isCallLikeExpression);\n        if (containingCall) {\n          let toMarkSkip = node;\n          do {\n            getNodeLinks(toMarkSkip).skipDirectInference = true;\n            toMarkSkip = toMarkSkip.parent;\n          } while (toMarkSkip && toMarkSkip !== containingCall);\n        }\n        isInferencePartiallyBlocked = true;\n        const result = runWithoutResolvedSignatureCaching(node, fn);\n        isInferencePartiallyBlocked = false;\n        if (containingCall) {\n          let toMarkSkip = node;\n          do {\n            getNodeLinks(toMarkSkip).skipDirectInference = void 0;\n            toMarkSkip = toMarkSkip.parent;\n          } while (toMarkSkip && toMarkSkip !== containingCall);\n        }\n        return result;\n      }\n      function getResolvedSignatureWorker(nodeIn, candidatesOutArray, argumentCount, checkMode) {\n        const node = getParseTreeNode(nodeIn, isCallLikeExpression);\n        apparentArgumentCount = argumentCount;\n        const res = !node ? void 0 : getResolvedSignature(node, candidatesOutArray, checkMode);\n        apparentArgumentCount = void 0;\n        return res;\n      }\n      var tupleTypes = /* @__PURE__ */ new Map();\n      var unionTypes = /* @__PURE__ */ new Map();\n      var intersectionTypes = /* @__PURE__ */ new Map();\n      var stringLiteralTypes = /* @__PURE__ */ new Map();\n      var numberLiteralTypes = /* @__PURE__ */ new Map();\n      var bigIntLiteralTypes = /* @__PURE__ */ new Map();\n      var enumLiteralTypes = /* @__PURE__ */ new Map();\n      var indexedAccessTypes = /* @__PURE__ */ new Map();\n      var templateLiteralTypes = /* @__PURE__ */ new Map();\n      var stringMappingTypes = /* @__PURE__ */ new Map();\n      var substitutionTypes = /* @__PURE__ */ new Map();\n      var subtypeReductionCache = /* @__PURE__ */ new Map();\n      var decoratorContextOverrideTypeCache = /* @__PURE__ */ new Map();\n      var cachedTypes = /* @__PURE__ */ new Map();\n      var evolvingArrayTypes = [];\n      var undefinedProperties = /* @__PURE__ */ new Map();\n      var markerTypes = /* @__PURE__ */ new Set();\n      var unknownSymbol = createSymbol(4, \"unknown\");\n      var resolvingSymbol = createSymbol(\n        0,\n        \"__resolving__\"\n        /* Resolving */\n      );\n      var unresolvedSymbols = /* @__PURE__ */ new Map();\n      var errorTypes = /* @__PURE__ */ new Map();\n      var anyType = createIntrinsicType(1, \"any\");\n      var autoType = createIntrinsicType(\n        1,\n        \"any\",\n        262144\n        /* NonInferrableType */\n      );\n      var wildcardType = createIntrinsicType(1, \"any\");\n      var errorType = createIntrinsicType(1, \"error\");\n      var unresolvedType = createIntrinsicType(1, \"unresolved\");\n      var nonInferrableAnyType = createIntrinsicType(\n        1,\n        \"any\",\n        65536\n        /* ContainsWideningType */\n      );\n      var intrinsicMarkerType = createIntrinsicType(1, \"intrinsic\");\n      var unknownType = createIntrinsicType(2, \"unknown\");\n      var nonNullUnknownType = createIntrinsicType(2, \"unknown\");\n      var undefinedType = createIntrinsicType(32768, \"undefined\");\n      var undefinedWideningType = strictNullChecks ? undefinedType : createIntrinsicType(\n        32768,\n        \"undefined\",\n        65536\n        /* ContainsWideningType */\n      );\n      var missingType = createIntrinsicType(32768, \"undefined\");\n      var undefinedOrMissingType = exactOptionalPropertyTypes ? missingType : undefinedType;\n      var optionalType = createIntrinsicType(32768, \"undefined\");\n      var nullType = createIntrinsicType(65536, \"null\");\n      var nullWideningType = strictNullChecks ? nullType : createIntrinsicType(\n        65536,\n        \"null\",\n        65536\n        /* ContainsWideningType */\n      );\n      var stringType = createIntrinsicType(4, \"string\");\n      var numberType = createIntrinsicType(8, \"number\");\n      var bigintType = createIntrinsicType(64, \"bigint\");\n      var falseType = createIntrinsicType(512, \"false\");\n      var regularFalseType = createIntrinsicType(512, \"false\");\n      var trueType = createIntrinsicType(512, \"true\");\n      var regularTrueType = createIntrinsicType(512, \"true\");\n      trueType.regularType = regularTrueType;\n      trueType.freshType = trueType;\n      regularTrueType.regularType = regularTrueType;\n      regularTrueType.freshType = trueType;\n      falseType.regularType = regularFalseType;\n      falseType.freshType = falseType;\n      regularFalseType.regularType = regularFalseType;\n      regularFalseType.freshType = falseType;\n      var booleanType = getUnionType([regularFalseType, regularTrueType]);\n      var esSymbolType = createIntrinsicType(4096, \"symbol\");\n      var voidType = createIntrinsicType(16384, \"void\");\n      var neverType = createIntrinsicType(131072, \"never\");\n      var silentNeverType = createIntrinsicType(\n        131072,\n        \"never\",\n        262144\n        /* NonInferrableType */\n      );\n      var implicitNeverType = createIntrinsicType(131072, \"never\");\n      var unreachableNeverType = createIntrinsicType(131072, \"never\");\n      var nonPrimitiveType = createIntrinsicType(67108864, \"object\");\n      var stringOrNumberType = getUnionType([stringType, numberType]);\n      var stringNumberSymbolType = getUnionType([stringType, numberType, esSymbolType]);\n      var keyofConstraintType = keyofStringsOnly ? stringType : stringNumberSymbolType;\n      var numberOrBigIntType = getUnionType([numberType, bigintType]);\n      var templateConstraintType = getUnionType([stringType, numberType, booleanType, bigintType, nullType, undefinedType]);\n      var numericStringType = getTemplateLiteralType([\"\", \"\"], [numberType]);\n      var restrictiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 ? getRestrictiveTypeParameter(t) : t, () => \"(restrictive mapper)\");\n      var permissiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 ? wildcardType : t, () => \"(permissive mapper)\");\n      var uniqueLiteralType = createIntrinsicType(131072, \"never\");\n      var uniqueLiteralMapper = makeFunctionTypeMapper((t) => t.flags & 262144 ? uniqueLiteralType : t, () => \"(unique literal mapper)\");\n      var outofbandVarianceMarkerHandler;\n      var reportUnreliableMapper = makeFunctionTypeMapper((t) => {\n        if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) {\n          outofbandVarianceMarkerHandler(\n            /*onlyUnreliable*/\n            true\n          );\n        }\n        return t;\n      }, () => \"(unmeasurable reporter)\");\n      var reportUnmeasurableMapper = makeFunctionTypeMapper((t) => {\n        if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) {\n          outofbandVarianceMarkerHandler(\n            /*onlyUnreliable*/\n            false\n          );\n        }\n        return t;\n      }, () => \"(unreliable reporter)\");\n      var emptyObjectType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      var emptyJsxObjectType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      emptyJsxObjectType.objectFlags |= 2048;\n      var emptyTypeLiteralSymbol = createSymbol(\n        2048,\n        \"__type\"\n        /* Type */\n      );\n      emptyTypeLiteralSymbol.members = createSymbolTable();\n      var emptyTypeLiteralType = createAnonymousType(emptyTypeLiteralSymbol, emptySymbols, emptyArray, emptyArray, emptyArray);\n      var unknownEmptyObjectType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      var unknownUnionType = strictNullChecks ? getUnionType([undefinedType, nullType, unknownEmptyObjectType]) : unknownType;\n      var emptyGenericType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      emptyGenericType.instantiations = /* @__PURE__ */ new Map();\n      var anyFunctionType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      anyFunctionType.objectFlags |= 262144;\n      var noConstraintType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      var circularConstraintType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      var resolvingDefaultType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n      var markerSuperType = createTypeParameter();\n      var markerSubType = createTypeParameter();\n      markerSubType.constraint = markerSuperType;\n      var markerOtherType = createTypeParameter();\n      var markerSuperTypeForCheck = createTypeParameter();\n      var markerSubTypeForCheck = createTypeParameter();\n      markerSubTypeForCheck.constraint = markerSuperTypeForCheck;\n      var noTypePredicate = createTypePredicate(1, \"<<unresolved>>\", 0, anyType);\n      var anySignature = createSignature(\n        void 0,\n        void 0,\n        void 0,\n        emptyArray,\n        anyType,\n        /*resolvedTypePredicate*/\n        void 0,\n        0,\n        0\n        /* None */\n      );\n      var unknownSignature = createSignature(\n        void 0,\n        void 0,\n        void 0,\n        emptyArray,\n        errorType,\n        /*resolvedTypePredicate*/\n        void 0,\n        0,\n        0\n        /* None */\n      );\n      var resolvingSignature = createSignature(\n        void 0,\n        void 0,\n        void 0,\n        emptyArray,\n        anyType,\n        /*resolvedTypePredicate*/\n        void 0,\n        0,\n        0\n        /* None */\n      );\n      var silentNeverSignature = createSignature(\n        void 0,\n        void 0,\n        void 0,\n        emptyArray,\n        silentNeverType,\n        /*resolvedTypePredicate*/\n        void 0,\n        0,\n        0\n        /* None */\n      );\n      var enumNumberIndexInfo = createIndexInfo(\n        numberType,\n        stringType,\n        /*isReadonly*/\n        true\n      );\n      var iterationTypesCache = /* @__PURE__ */ new Map();\n      var noIterationTypes = {\n        get yieldType() {\n          return Debug2.fail(\"Not supported\");\n        },\n        get returnType() {\n          return Debug2.fail(\"Not supported\");\n        },\n        get nextType() {\n          return Debug2.fail(\"Not supported\");\n        }\n      };\n      var anyIterationTypes = createIterationTypes(anyType, anyType, anyType);\n      var anyIterationTypesExceptNext = createIterationTypes(anyType, anyType, unknownType);\n      var defaultIterationTypes = createIterationTypes(neverType, anyType, undefinedType);\n      var asyncIterationTypesResolver = {\n        iterableCacheKey: \"iterationTypesOfAsyncIterable\",\n        iteratorCacheKey: \"iterationTypesOfAsyncIterator\",\n        iteratorSymbolName: \"asyncIterator\",\n        getGlobalIteratorType: getGlobalAsyncIteratorType,\n        getGlobalIterableType: getGlobalAsyncIterableType,\n        getGlobalIterableIteratorType: getGlobalAsyncIterableIteratorType,\n        getGlobalGeneratorType: getGlobalAsyncGeneratorType,\n        resolveIterationType: getAwaitedType,\n        mustHaveANextMethodDiagnostic: Diagnostics.An_async_iterator_must_have_a_next_method,\n        mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,\n        mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property\n      };\n      var syncIterationTypesResolver = {\n        iterableCacheKey: \"iterationTypesOfIterable\",\n        iteratorCacheKey: \"iterationTypesOfIterator\",\n        iteratorSymbolName: \"iterator\",\n        getGlobalIteratorType,\n        getGlobalIterableType,\n        getGlobalIterableIteratorType,\n        getGlobalGeneratorType,\n        resolveIterationType: (type, _errorNode) => type,\n        mustHaveANextMethodDiagnostic: Diagnostics.An_iterator_must_have_a_next_method,\n        mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_iterator_must_be_a_method,\n        mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property\n      };\n      var amalgamatedDuplicates;\n      var reverseMappedCache = /* @__PURE__ */ new Map();\n      var inInferTypeForHomomorphicMappedType = false;\n      var ambientModulesCache;\n      var patternAmbientModules;\n      var patternAmbientModuleAugmentations;\n      var globalObjectType;\n      var globalFunctionType;\n      var globalCallableFunctionType;\n      var globalNewableFunctionType;\n      var globalArrayType;\n      var globalReadonlyArrayType;\n      var globalStringType;\n      var globalNumberType;\n      var globalBooleanType;\n      var globalRegExpType;\n      var globalThisType;\n      var anyArrayType;\n      var autoArrayType;\n      var anyReadonlyArrayType;\n      var deferredGlobalNonNullableTypeAlias;\n      var deferredGlobalESSymbolConstructorSymbol;\n      var deferredGlobalESSymbolConstructorTypeSymbol;\n      var deferredGlobalESSymbolType;\n      var deferredGlobalTypedPropertyDescriptorType;\n      var deferredGlobalPromiseType;\n      var deferredGlobalPromiseLikeType;\n      var deferredGlobalPromiseConstructorSymbol;\n      var deferredGlobalPromiseConstructorLikeType;\n      var deferredGlobalIterableType;\n      var deferredGlobalIteratorType;\n      var deferredGlobalIterableIteratorType;\n      var deferredGlobalGeneratorType;\n      var deferredGlobalIteratorYieldResultType;\n      var deferredGlobalIteratorReturnResultType;\n      var deferredGlobalAsyncIterableType;\n      var deferredGlobalAsyncIteratorType;\n      var deferredGlobalAsyncIterableIteratorType;\n      var deferredGlobalAsyncGeneratorType;\n      var deferredGlobalTemplateStringsArrayType;\n      var deferredGlobalImportMetaType;\n      var deferredGlobalImportMetaExpressionType;\n      var deferredGlobalImportCallOptionsType;\n      var deferredGlobalExtractSymbol;\n      var deferredGlobalOmitSymbol;\n      var deferredGlobalAwaitedSymbol;\n      var deferredGlobalBigIntType;\n      var deferredGlobalNaNSymbol;\n      var deferredGlobalRecordSymbol;\n      var deferredGlobalClassDecoratorContextType;\n      var deferredGlobalClassMethodDecoratorContextType;\n      var deferredGlobalClassGetterDecoratorContextType;\n      var deferredGlobalClassSetterDecoratorContextType;\n      var deferredGlobalClassAccessorDecoratorContextType;\n      var deferredGlobalClassAccessorDecoratorTargetType;\n      var deferredGlobalClassAccessorDecoratorResultType;\n      var deferredGlobalClassFieldDecoratorContextType;\n      var allPotentiallyUnusedIdentifiers = /* @__PURE__ */ new Map();\n      var flowLoopStart = 0;\n      var flowLoopCount = 0;\n      var sharedFlowCount = 0;\n      var flowAnalysisDisabled = false;\n      var flowInvocationCount = 0;\n      var lastFlowNode;\n      var lastFlowNodeReachable;\n      var flowTypeCache;\n      var contextualTypeNodes = [];\n      var contextualTypes = [];\n      var contextualIsCache = [];\n      var contextualTypeCount = 0;\n      var inferenceContextNodes = [];\n      var inferenceContexts = [];\n      var inferenceContextCount = 0;\n      var emptyStringType = getStringLiteralType(\"\");\n      var zeroType = getNumberLiteralType(0);\n      var zeroBigIntType = getBigIntLiteralType({ negative: false, base10Value: \"0\" });\n      var resolutionTargets = [];\n      var resolutionResults = [];\n      var resolutionPropertyNames = [];\n      var suggestionCount = 0;\n      var maximumSuggestionCount = 10;\n      var mergedSymbols = [];\n      var symbolLinks = [];\n      var nodeLinks = [];\n      var flowLoopCaches = [];\n      var flowLoopNodes = [];\n      var flowLoopKeys = [];\n      var flowLoopTypes = [];\n      var sharedFlowNodes = [];\n      var sharedFlowTypes = [];\n      var flowNodeReachable = [];\n      var flowNodePostSuper = [];\n      var potentialThisCollisions = [];\n      var potentialNewTargetCollisions = [];\n      var potentialWeakMapSetCollisions = [];\n      var potentialReflectCollisions = [];\n      var potentialUnusedRenamedBindingElementsInTypes = [];\n      var awaitedTypeStack = [];\n      var diagnostics = createDiagnosticCollection();\n      var suggestionDiagnostics = createDiagnosticCollection();\n      var typeofType = createTypeofType();\n      var _jsxNamespace;\n      var _jsxFactoryEntity;\n      var subtypeRelation = /* @__PURE__ */ new Map();\n      var strictSubtypeRelation = /* @__PURE__ */ new Map();\n      var assignableRelation = /* @__PURE__ */ new Map();\n      var comparableRelation = /* @__PURE__ */ new Map();\n      var identityRelation = /* @__PURE__ */ new Map();\n      var enumRelation = /* @__PURE__ */ new Map();\n      var builtinGlobals = createSymbolTable();\n      builtinGlobals.set(undefinedSymbol.escapedName, undefinedSymbol);\n      var suggestedExtensions = [\n        [\".mts\", \".mjs\"],\n        [\".ts\", \".js\"],\n        [\".cts\", \".cjs\"],\n        [\".mjs\", \".mjs\"],\n        [\".js\", \".js\"],\n        [\".cjs\", \".cjs\"],\n        [\".tsx\", compilerOptions.jsx === 1 ? \".jsx\" : \".js\"],\n        [\".jsx\", \".jsx\"],\n        [\".json\", \".json\"]\n      ];\n      initializeTypeChecker();\n      return checker;\n      function getCachedType(key) {\n        return key ? cachedTypes.get(key) : void 0;\n      }\n      function setCachedType(key, type) {\n        if (key)\n          cachedTypes.set(key, type);\n        return type;\n      }\n      function getJsxNamespace(location) {\n        if (location) {\n          const file = getSourceFileOfNode(location);\n          if (file) {\n            if (isJsxOpeningFragment(location)) {\n              if (file.localJsxFragmentNamespace) {\n                return file.localJsxFragmentNamespace;\n              }\n              const jsxFragmentPragma = file.pragmas.get(\"jsxfrag\");\n              if (jsxFragmentPragma) {\n                const chosenPragma = isArray(jsxFragmentPragma) ? jsxFragmentPragma[0] : jsxFragmentPragma;\n                file.localJsxFragmentFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion);\n                visitNode(file.localJsxFragmentFactory, markAsSynthetic, isEntityName);\n                if (file.localJsxFragmentFactory) {\n                  return file.localJsxFragmentNamespace = getFirstIdentifier(file.localJsxFragmentFactory).escapedText;\n                }\n              }\n              const entity = getJsxFragmentFactoryEntity(location);\n              if (entity) {\n                file.localJsxFragmentFactory = entity;\n                return file.localJsxFragmentNamespace = getFirstIdentifier(entity).escapedText;\n              }\n            } else {\n              const localJsxNamespace = getLocalJsxNamespace(file);\n              if (localJsxNamespace) {\n                return file.localJsxNamespace = localJsxNamespace;\n              }\n            }\n          }\n        }\n        if (!_jsxNamespace) {\n          _jsxNamespace = \"React\";\n          if (compilerOptions.jsxFactory) {\n            _jsxFactoryEntity = parseIsolatedEntityName(compilerOptions.jsxFactory, languageVersion);\n            visitNode(_jsxFactoryEntity, markAsSynthetic);\n            if (_jsxFactoryEntity) {\n              _jsxNamespace = getFirstIdentifier(_jsxFactoryEntity).escapedText;\n            }\n          } else if (compilerOptions.reactNamespace) {\n            _jsxNamespace = escapeLeadingUnderscores(compilerOptions.reactNamespace);\n          }\n        }\n        if (!_jsxFactoryEntity) {\n          _jsxFactoryEntity = factory.createQualifiedName(factory.createIdentifier(unescapeLeadingUnderscores(_jsxNamespace)), \"createElement\");\n        }\n        return _jsxNamespace;\n      }\n      function getLocalJsxNamespace(file) {\n        if (file.localJsxNamespace) {\n          return file.localJsxNamespace;\n        }\n        const jsxPragma = file.pragmas.get(\"jsx\");\n        if (jsxPragma) {\n          const chosenPragma = isArray(jsxPragma) ? jsxPragma[0] : jsxPragma;\n          file.localJsxFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion);\n          visitNode(file.localJsxFactory, markAsSynthetic, isEntityName);\n          if (file.localJsxFactory) {\n            return file.localJsxNamespace = getFirstIdentifier(file.localJsxFactory).escapedText;\n          }\n        }\n      }\n      function markAsSynthetic(node) {\n        setTextRangePosEnd(node, -1, -1);\n        return visitEachChild(node, markAsSynthetic, nullTransformationContext);\n      }\n      function getEmitResolver(sourceFile, cancellationToken2) {\n        getDiagnostics2(sourceFile, cancellationToken2);\n        return emitResolver;\n      }\n      function lookupOrIssueError(location, message, arg0, arg1, arg2, arg3) {\n        const diagnostic = location ? createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : createCompilerDiagnostic(message, arg0, arg1, arg2, arg3);\n        const existing = diagnostics.lookup(diagnostic);\n        if (existing) {\n          return existing;\n        } else {\n          diagnostics.add(diagnostic);\n          return diagnostic;\n        }\n      }\n      function errorSkippedOn(key, location, message, arg0, arg1, arg2, arg3) {\n        const diagnostic = error(location, message, arg0, arg1, arg2, arg3);\n        diagnostic.skippedOn = key;\n        return diagnostic;\n      }\n      function createError(location, message, arg0, arg1, arg2, arg3) {\n        return location ? createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : createCompilerDiagnostic(message, arg0, arg1, arg2, arg3);\n      }\n      function error(location, message, arg0, arg1, arg2, arg3) {\n        const diagnostic = createError(location, message, arg0, arg1, arg2, arg3);\n        diagnostics.add(diagnostic);\n        return diagnostic;\n      }\n      function addErrorOrSuggestion(isError, diagnostic) {\n        if (isError) {\n          diagnostics.add(diagnostic);\n        } else {\n          suggestionDiagnostics.add({\n            ...diagnostic,\n            category: 2\n            /* Suggestion */\n          });\n        }\n      }\n      function errorOrSuggestion(isError, location, message, arg0, arg1, arg2, arg3) {\n        if (location.pos < 0 || location.end < 0) {\n          if (!isError) {\n            return;\n          }\n          const file = getSourceFileOfNode(location);\n          addErrorOrSuggestion(isError, \"message\" in message ? createFileDiagnostic(file, 0, 0, message, arg0, arg1, arg2, arg3) : createDiagnosticForFileFromMessageChain(file, message));\n          return;\n        }\n        addErrorOrSuggestion(isError, \"message\" in message ? createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(location), location, message));\n      }\n      function errorAndMaybeSuggestAwait(location, maybeMissingAwait, message, arg0, arg1, arg2, arg3) {\n        const diagnostic = error(location, message, arg0, arg1, arg2, arg3);\n        if (maybeMissingAwait) {\n          const related = createDiagnosticForNode(location, Diagnostics.Did_you_forget_to_use_await);\n          addRelatedInfo(diagnostic, related);\n        }\n        return diagnostic;\n      }\n      function addDeprecatedSuggestionWorker(declarations, diagnostic) {\n        const deprecatedTag = Array.isArray(declarations) ? forEach(declarations, getJSDocDeprecatedTag) : getJSDocDeprecatedTag(declarations);\n        if (deprecatedTag) {\n          addRelatedInfo(\n            diagnostic,\n            createDiagnosticForNode(deprecatedTag, Diagnostics.The_declaration_was_marked_as_deprecated_here)\n          );\n        }\n        suggestionDiagnostics.add(diagnostic);\n        return diagnostic;\n      }\n      function isDeprecatedSymbol(symbol) {\n        if (length(symbol.declarations) > 1) {\n          const parentSymbol = getParentOfSymbol(symbol);\n          if (parentSymbol && parentSymbol.flags & 64) {\n            return some(symbol.declarations, (d) => !!(getCombinedNodeFlags(d) & 268435456));\n          }\n        }\n        return !!(getDeclarationNodeFlagsFromSymbol(symbol) & 268435456);\n      }\n      function addDeprecatedSuggestion(location, declarations, deprecatedEntity) {\n        const diagnostic = createDiagnosticForNode(location, Diagnostics._0_is_deprecated, deprecatedEntity);\n        return addDeprecatedSuggestionWorker(declarations, diagnostic);\n      }\n      function addDeprecatedSuggestionWithSignature(location, declaration, deprecatedEntity, signatureString) {\n        const diagnostic = deprecatedEntity ? createDiagnosticForNode(location, Diagnostics.The_signature_0_of_1_is_deprecated, signatureString, deprecatedEntity) : createDiagnosticForNode(location, Diagnostics._0_is_deprecated, signatureString);\n        return addDeprecatedSuggestionWorker(declaration, diagnostic);\n      }\n      function createSymbol(flags, name, checkFlags) {\n        symbolCount++;\n        const symbol = new Symbol46(flags | 33554432, name);\n        symbol.links = new SymbolLinks();\n        symbol.links.checkFlags = checkFlags || 0;\n        return symbol;\n      }\n      function createParameter(name, type) {\n        const symbol = createSymbol(1, name);\n        symbol.links.type = type;\n        return symbol;\n      }\n      function createProperty(name, type) {\n        const symbol = createSymbol(4, name);\n        symbol.links.type = type;\n        return symbol;\n      }\n      function getExcludedSymbolFlags(flags) {\n        let result = 0;\n        if (flags & 2)\n          result |= 111551;\n        if (flags & 1)\n          result |= 111550;\n        if (flags & 4)\n          result |= 0;\n        if (flags & 8)\n          result |= 900095;\n        if (flags & 16)\n          result |= 110991;\n        if (flags & 32)\n          result |= 899503;\n        if (flags & 64)\n          result |= 788872;\n        if (flags & 256)\n          result |= 899327;\n        if (flags & 128)\n          result |= 899967;\n        if (flags & 512)\n          result |= 110735;\n        if (flags & 8192)\n          result |= 103359;\n        if (flags & 32768)\n          result |= 46015;\n        if (flags & 65536)\n          result |= 78783;\n        if (flags & 262144)\n          result |= 526824;\n        if (flags & 524288)\n          result |= 788968;\n        if (flags & 2097152)\n          result |= 2097152;\n        return result;\n      }\n      function recordMergedSymbol(target, source) {\n        if (!source.mergeId) {\n          source.mergeId = nextMergeId;\n          nextMergeId++;\n        }\n        mergedSymbols[source.mergeId] = target;\n      }\n      function cloneSymbol(symbol) {\n        const result = createSymbol(symbol.flags, symbol.escapedName);\n        result.declarations = symbol.declarations ? symbol.declarations.slice() : [];\n        result.parent = symbol.parent;\n        if (symbol.valueDeclaration)\n          result.valueDeclaration = symbol.valueDeclaration;\n        if (symbol.constEnumOnlyModule)\n          result.constEnumOnlyModule = true;\n        if (symbol.members)\n          result.members = new Map(symbol.members);\n        if (symbol.exports)\n          result.exports = new Map(symbol.exports);\n        recordMergedSymbol(result, symbol);\n        return result;\n      }\n      function mergeSymbol(target, source, unidirectional = false) {\n        if (!(target.flags & getExcludedSymbolFlags(source.flags)) || (source.flags | target.flags) & 67108864) {\n          if (source === target) {\n            return target;\n          }\n          if (!(target.flags & 33554432)) {\n            const resolvedTarget = resolveSymbol(target);\n            if (resolvedTarget === unknownSymbol) {\n              return source;\n            }\n            target = cloneSymbol(resolvedTarget);\n          }\n          if (source.flags & 512 && target.flags & 512 && target.constEnumOnlyModule && !source.constEnumOnlyModule) {\n            target.constEnumOnlyModule = false;\n          }\n          target.flags |= source.flags;\n          if (source.valueDeclaration) {\n            setValueDeclaration(target, source.valueDeclaration);\n          }\n          addRange(target.declarations, source.declarations);\n          if (source.members) {\n            if (!target.members)\n              target.members = createSymbolTable();\n            mergeSymbolTable(target.members, source.members, unidirectional);\n          }\n          if (source.exports) {\n            if (!target.exports)\n              target.exports = createSymbolTable();\n            mergeSymbolTable(target.exports, source.exports, unidirectional);\n          }\n          if (!unidirectional) {\n            recordMergedSymbol(target, source);\n          }\n        } else if (target.flags & 1024) {\n          if (target !== globalThisSymbol) {\n            error(\n              source.declarations && getNameOfDeclaration(source.declarations[0]),\n              Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,\n              symbolToString(target)\n            );\n          }\n        } else {\n          const isEitherEnum = !!(target.flags & 384 || source.flags & 384);\n          const isEitherBlockScoped = !!(target.flags & 2 || source.flags & 2);\n          const message = isEitherEnum ? Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations : isEitherBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0;\n          const sourceSymbolFile = source.declarations && getSourceFileOfNode(source.declarations[0]);\n          const targetSymbolFile = target.declarations && getSourceFileOfNode(target.declarations[0]);\n          const isSourcePlainJs = isPlainJsFile(sourceSymbolFile, compilerOptions.checkJs);\n          const isTargetPlainJs = isPlainJsFile(targetSymbolFile, compilerOptions.checkJs);\n          const symbolName2 = symbolToString(source);\n          if (sourceSymbolFile && targetSymbolFile && amalgamatedDuplicates && !isEitherEnum && sourceSymbolFile !== targetSymbolFile) {\n            const firstFile = comparePaths(sourceSymbolFile.path, targetSymbolFile.path) === -1 ? sourceSymbolFile : targetSymbolFile;\n            const secondFile = firstFile === sourceSymbolFile ? targetSymbolFile : sourceSymbolFile;\n            const filesDuplicates = getOrUpdate(amalgamatedDuplicates, `${firstFile.path}|${secondFile.path}`, () => ({ firstFile, secondFile, conflictingSymbols: /* @__PURE__ */ new Map() }));\n            const conflictingSymbolInfo = getOrUpdate(filesDuplicates.conflictingSymbols, symbolName2, () => ({ isBlockScoped: isEitherBlockScoped, firstFileLocations: [], secondFileLocations: [] }));\n            if (!isSourcePlainJs)\n              addDuplicateLocations(conflictingSymbolInfo.firstFileLocations, source);\n            if (!isTargetPlainJs)\n              addDuplicateLocations(conflictingSymbolInfo.secondFileLocations, target);\n          } else {\n            if (!isSourcePlainJs)\n              addDuplicateDeclarationErrorsForSymbols(source, message, symbolName2, target);\n            if (!isTargetPlainJs)\n              addDuplicateDeclarationErrorsForSymbols(target, message, symbolName2, source);\n          }\n        }\n        return target;\n        function addDuplicateLocations(locs, symbol) {\n          if (symbol.declarations) {\n            for (const decl of symbol.declarations) {\n              pushIfUnique(locs, decl);\n            }\n          }\n        }\n      }\n      function addDuplicateDeclarationErrorsForSymbols(target, message, symbolName2, source) {\n        forEach(target.declarations, (node) => {\n          addDuplicateDeclarationError(node, message, symbolName2, source.declarations);\n        });\n      }\n      function addDuplicateDeclarationError(node, message, symbolName2, relatedNodes) {\n        const errorNode = (getExpandoInitializer(\n          node,\n          /*isPrototypeAssignment*/\n          false\n        ) ? getNameOfExpando(node) : getNameOfDeclaration(node)) || node;\n        const err = lookupOrIssueError(errorNode, message, symbolName2);\n        for (const relatedNode of relatedNodes || emptyArray) {\n          const adjustedNode = (getExpandoInitializer(\n            relatedNode,\n            /*isPrototypeAssignment*/\n            false\n          ) ? getNameOfExpando(relatedNode) : getNameOfDeclaration(relatedNode)) || relatedNode;\n          if (adjustedNode === errorNode)\n            continue;\n          err.relatedInformation = err.relatedInformation || [];\n          const leadingMessage = createDiagnosticForNode(adjustedNode, Diagnostics._0_was_also_declared_here, symbolName2);\n          const followOnMessage = createDiagnosticForNode(adjustedNode, Diagnostics.and_here);\n          if (length(err.relatedInformation) >= 5 || some(\n            err.relatedInformation,\n            (r) => compareDiagnostics(r, followOnMessage) === 0 || compareDiagnostics(r, leadingMessage) === 0\n            /* EqualTo */\n          ))\n            continue;\n          addRelatedInfo(err, !length(err.relatedInformation) ? leadingMessage : followOnMessage);\n        }\n      }\n      function combineSymbolTables(first2, second) {\n        if (!(first2 == null ? void 0 : first2.size))\n          return second;\n        if (!(second == null ? void 0 : second.size))\n          return first2;\n        const combined = createSymbolTable();\n        mergeSymbolTable(combined, first2);\n        mergeSymbolTable(combined, second);\n        return combined;\n      }\n      function mergeSymbolTable(target, source, unidirectional = false) {\n        source.forEach((sourceSymbol, id) => {\n          const targetSymbol = target.get(id);\n          target.set(id, targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol));\n        });\n      }\n      function mergeModuleAugmentation(moduleName) {\n        var _a22, _b3, _c;\n        const moduleAugmentation = moduleName.parent;\n        if (((_a22 = moduleAugmentation.symbol.declarations) == null ? void 0 : _a22[0]) !== moduleAugmentation) {\n          Debug2.assert(moduleAugmentation.symbol.declarations.length > 1);\n          return;\n        }\n        if (isGlobalScopeAugmentation(moduleAugmentation)) {\n          mergeSymbolTable(globals, moduleAugmentation.symbol.exports);\n        } else {\n          const moduleNotFoundError = !(moduleName.parent.parent.flags & 16777216) ? Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found : void 0;\n          let mainModule = resolveExternalModuleNameWorker(\n            moduleName,\n            moduleName,\n            moduleNotFoundError,\n            /*isForAugmentation*/\n            true\n          );\n          if (!mainModule) {\n            return;\n          }\n          mainModule = resolveExternalModuleSymbol(mainModule);\n          if (mainModule.flags & 1920) {\n            if (some(patternAmbientModules, (module2) => mainModule === module2.symbol)) {\n              const merged = mergeSymbol(\n                moduleAugmentation.symbol,\n                mainModule,\n                /*unidirectional*/\n                true\n              );\n              if (!patternAmbientModuleAugmentations) {\n                patternAmbientModuleAugmentations = /* @__PURE__ */ new Map();\n              }\n              patternAmbientModuleAugmentations.set(moduleName.text, merged);\n            } else {\n              if (((_b3 = mainModule.exports) == null ? void 0 : _b3.get(\n                \"__export\"\n                /* ExportStar */\n              )) && ((_c = moduleAugmentation.symbol.exports) == null ? void 0 : _c.size)) {\n                const resolvedExports = getResolvedMembersOrExportsOfSymbol(\n                  mainModule,\n                  \"resolvedExports\"\n                  /* resolvedExports */\n                );\n                for (const [key, value] of arrayFrom(moduleAugmentation.symbol.exports.entries())) {\n                  if (resolvedExports.has(key) && !mainModule.exports.has(key)) {\n                    mergeSymbol(resolvedExports.get(key), value);\n                  }\n                }\n              }\n              mergeSymbol(mainModule, moduleAugmentation.symbol);\n            }\n          } else {\n            error(moduleName, Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity, moduleName.text);\n          }\n        }\n      }\n      function addToSymbolTable(target, source, message) {\n        source.forEach((sourceSymbol, id) => {\n          const targetSymbol = target.get(id);\n          if (targetSymbol) {\n            forEach(targetSymbol.declarations, addDeclarationDiagnostic(unescapeLeadingUnderscores(id), message));\n          } else {\n            target.set(id, sourceSymbol);\n          }\n        });\n        function addDeclarationDiagnostic(id, message2) {\n          return (declaration) => diagnostics.add(createDiagnosticForNode(declaration, message2, id));\n        }\n      }\n      function getSymbolLinks(symbol) {\n        var _a22;\n        if (symbol.flags & 33554432)\n          return symbol.links;\n        const id = getSymbolId(symbol);\n        return (_a22 = symbolLinks[id]) != null ? _a22 : symbolLinks[id] = new SymbolLinks();\n      }\n      function getNodeLinks(node) {\n        const nodeId = getNodeId(node);\n        return nodeLinks[nodeId] || (nodeLinks[nodeId] = new NodeLinks());\n      }\n      function isGlobalSourceFile(node) {\n        return node.kind === 308 && !isExternalOrCommonJsModule(node);\n      }\n      function getSymbol2(symbols, name, meaning) {\n        if (meaning) {\n          const symbol = getMergedSymbol(symbols.get(name));\n          if (symbol) {\n            Debug2.assert((getCheckFlags(symbol) & 1) === 0, \"Should never get an instantiated symbol here.\");\n            if (symbol.flags & meaning) {\n              return symbol;\n            }\n            if (symbol.flags & 2097152) {\n              const targetFlags = getAllSymbolFlags(symbol);\n              if (targetFlags & meaning) {\n                return symbol;\n              }\n            }\n          }\n        }\n      }\n      function getSymbolsOfParameterPropertyDeclaration(parameter, parameterName) {\n        const constructorDeclaration = parameter.parent;\n        const classDeclaration = parameter.parent.parent;\n        const parameterSymbol = getSymbol2(\n          constructorDeclaration.locals,\n          parameterName,\n          111551\n          /* Value */\n        );\n        const propertySymbol = getSymbol2(\n          getMembersOfSymbol(classDeclaration.symbol),\n          parameterName,\n          111551\n          /* Value */\n        );\n        if (parameterSymbol && propertySymbol) {\n          return [parameterSymbol, propertySymbol];\n        }\n        return Debug2.fail(\"There should exist two symbols, one as property declaration and one as parameter declaration\");\n      }\n      function isBlockScopedNameDeclaredBeforeUse(declaration, usage) {\n        const declarationFile = getSourceFileOfNode(declaration);\n        const useFile = getSourceFileOfNode(usage);\n        const declContainer = getEnclosingBlockScopeContainer(declaration);\n        if (declarationFile !== useFile) {\n          if (moduleKind && (declarationFile.externalModuleIndicator || useFile.externalModuleIndicator) || !outFile(compilerOptions) || isInTypeQuery(usage) || declaration.flags & 16777216) {\n            return true;\n          }\n          if (isUsedInFunctionOrInstanceProperty(usage, declaration)) {\n            return true;\n          }\n          const sourceFiles = host.getSourceFiles();\n          return sourceFiles.indexOf(declarationFile) <= sourceFiles.indexOf(useFile);\n        }\n        if (declaration.pos <= usage.pos && !(isPropertyDeclaration(declaration) && isThisProperty(usage.parent) && !declaration.initializer && !declaration.exclamationToken)) {\n          if (declaration.kind === 205) {\n            const errorBindingElement = getAncestor(\n              usage,\n              205\n              /* BindingElement */\n            );\n            if (errorBindingElement) {\n              return findAncestor(errorBindingElement, isBindingElement) !== findAncestor(declaration, isBindingElement) || declaration.pos < errorBindingElement.pos;\n            }\n            return isBlockScopedNameDeclaredBeforeUse(getAncestor(\n              declaration,\n              257\n              /* VariableDeclaration */\n            ), usage);\n          } else if (declaration.kind === 257) {\n            return !isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration, usage);\n          } else if (isClassDeclaration(declaration)) {\n            return !findAncestor(usage, (n) => isComputedPropertyName(n) && n.parent.parent === declaration);\n          } else if (isPropertyDeclaration(declaration)) {\n            return !isPropertyImmediatelyReferencedWithinDeclaration(\n              declaration,\n              usage,\n              /*stopAtAnyPropertyDeclaration*/\n              false\n            );\n          } else if (isParameterPropertyDeclaration(declaration, declaration.parent)) {\n            return !(getEmitScriptTarget(compilerOptions) === 99 && useDefineForClassFields && getContainingClass(declaration) === getContainingClass(usage) && isUsedInFunctionOrInstanceProperty(usage, declaration));\n          }\n          return true;\n        }\n        if (usage.parent.kind === 278 || usage.parent.kind === 274 && usage.parent.isExportEquals) {\n          return true;\n        }\n        if (usage.kind === 274 && usage.isExportEquals) {\n          return true;\n        }\n        if (!!(usage.flags & 8388608) || isInTypeQuery(usage) || isInAmbientOrTypeNode(usage)) {\n          return true;\n        }\n        if (isUsedInFunctionOrInstanceProperty(usage, declaration)) {\n          if (getEmitScriptTarget(compilerOptions) === 99 && useDefineForClassFields && getContainingClass(declaration) && (isPropertyDeclaration(declaration) || isParameterPropertyDeclaration(declaration, declaration.parent))) {\n            return !isPropertyImmediatelyReferencedWithinDeclaration(\n              declaration,\n              usage,\n              /*stopAtAnyPropertyDeclaration*/\n              true\n            );\n          } else {\n            return true;\n          }\n        }\n        return false;\n        function isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration2, usage2) {\n          switch (declaration2.parent.parent.kind) {\n            case 240:\n            case 245:\n            case 247:\n              if (isSameScopeDescendentOf(usage2, declaration2, declContainer)) {\n                return true;\n              }\n              break;\n          }\n          const grandparent = declaration2.parent.parent;\n          return isForInOrOfStatement(grandparent) && isSameScopeDescendentOf(usage2, grandparent.expression, declContainer);\n        }\n        function isUsedInFunctionOrInstanceProperty(usage2, declaration2) {\n          return !!findAncestor(usage2, (current) => {\n            if (current === declContainer) {\n              return \"quit\";\n            }\n            if (isFunctionLike(current)) {\n              return true;\n            }\n            if (isClassStaticBlockDeclaration(current)) {\n              return declaration2.pos < usage2.pos;\n            }\n            const propertyDeclaration = tryCast(current.parent, isPropertyDeclaration);\n            if (propertyDeclaration) {\n              const initializerOfProperty = propertyDeclaration.initializer === current;\n              if (initializerOfProperty) {\n                if (isStatic(current.parent)) {\n                  if (declaration2.kind === 171) {\n                    return true;\n                  }\n                  if (isPropertyDeclaration(declaration2) && getContainingClass(usage2) === getContainingClass(declaration2)) {\n                    const propName = declaration2.name;\n                    if (isIdentifier(propName) || isPrivateIdentifier(propName)) {\n                      const type = getTypeOfSymbol(getSymbolOfDeclaration(declaration2));\n                      const staticBlocks = filter(declaration2.parent.members, isClassStaticBlockDeclaration);\n                      if (isPropertyInitializedInStaticBlocks(propName, type, staticBlocks, declaration2.parent.pos, current.pos)) {\n                        return true;\n                      }\n                    }\n                  }\n                } else {\n                  const isDeclarationInstanceProperty = declaration2.kind === 169 && !isStatic(declaration2);\n                  if (!isDeclarationInstanceProperty || getContainingClass(usage2) !== getContainingClass(declaration2)) {\n                    return true;\n                  }\n                }\n              }\n            }\n            return false;\n          });\n        }\n        function isPropertyImmediatelyReferencedWithinDeclaration(declaration2, usage2, stopAtAnyPropertyDeclaration) {\n          if (usage2.end > declaration2.end) {\n            return false;\n          }\n          const ancestorChangingReferenceScope = findAncestor(usage2, (node) => {\n            if (node === declaration2) {\n              return \"quit\";\n            }\n            switch (node.kind) {\n              case 216:\n                return true;\n              case 169:\n                return stopAtAnyPropertyDeclaration && (isPropertyDeclaration(declaration2) && node.parent === declaration2.parent || isParameterPropertyDeclaration(declaration2, declaration2.parent) && node.parent === declaration2.parent.parent) ? \"quit\" : true;\n              case 238:\n                switch (node.parent.kind) {\n                  case 174:\n                  case 171:\n                  case 175:\n                    return true;\n                  default:\n                    return false;\n                }\n              default:\n                return false;\n            }\n          });\n          return ancestorChangingReferenceScope === void 0;\n        }\n      }\n      function useOuterVariableScopeInParameter(result, location, lastLocation) {\n        const target = getEmitScriptTarget(compilerOptions);\n        const functionLocation = location;\n        if (isParameter(lastLocation) && functionLocation.body && result.valueDeclaration && result.valueDeclaration.pos >= functionLocation.body.pos && result.valueDeclaration.end <= functionLocation.body.end) {\n          if (target >= 2) {\n            const links = getNodeLinks(functionLocation);\n            if (links.declarationRequiresScopeChange === void 0) {\n              links.declarationRequiresScopeChange = forEach(functionLocation.parameters, requiresScopeChange) || false;\n            }\n            return !links.declarationRequiresScopeChange;\n          }\n        }\n        return false;\n        function requiresScopeChange(node) {\n          return requiresScopeChangeWorker(node.name) || !!node.initializer && requiresScopeChangeWorker(node.initializer);\n        }\n        function requiresScopeChangeWorker(node) {\n          switch (node.kind) {\n            case 216:\n            case 215:\n            case 259:\n            case 173:\n              return false;\n            case 171:\n            case 174:\n            case 175:\n            case 299:\n              return requiresScopeChangeWorker(node.name);\n            case 169:\n              if (hasStaticModifier(node)) {\n                return target < 99 || !useDefineForClassFields;\n              }\n              return requiresScopeChangeWorker(node.name);\n            default:\n              if (isNullishCoalesce(node) || isOptionalChain(node)) {\n                return target < 7;\n              }\n              if (isBindingElement(node) && node.dotDotDotToken && isObjectBindingPattern(node.parent)) {\n                return target < 4;\n              }\n              if (isTypeNode(node))\n                return false;\n              return forEachChild(node, requiresScopeChangeWorker) || false;\n          }\n        }\n      }\n      function isConstAssertion(location) {\n        return isAssertionExpression(location) && isConstTypeReference(location.type) || isJSDocTypeTag(location) && isConstTypeReference(location.typeExpression);\n      }\n      function resolveName(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals = false, getSpellingSuggestions = true) {\n        return resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggestions, getSymbol2);\n      }\n      function resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggestions, lookup) {\n        var _a22, _b3, _c;\n        const originalLocation = location;\n        let result;\n        let lastLocation;\n        let lastSelfReferenceLocation;\n        let propertyWithInvalidInitializer;\n        let associatedDeclarationForContainingInitializerOrBindingName;\n        let withinDeferredContext = false;\n        const errorLocation = location;\n        let grandparent;\n        let isInExternalModule = false;\n        loop:\n          while (location) {\n            if (name === \"const\" && isConstAssertion(location)) {\n              return void 0;\n            }\n            if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) {\n              if (result = lookup(location.locals, name, meaning)) {\n                let useResult = true;\n                if (isFunctionLike(location) && lastLocation && lastLocation !== location.body) {\n                  if (meaning & result.flags & 788968 && lastLocation.kind !== 323) {\n                    useResult = result.flags & 262144 ? lastLocation === location.type || lastLocation.kind === 166 || lastLocation.kind === 344 || lastLocation.kind === 345 || lastLocation.kind === 165 : false;\n                  }\n                  if (meaning & result.flags & 3) {\n                    if (useOuterVariableScopeInParameter(result, location, lastLocation)) {\n                      useResult = false;\n                    } else if (result.flags & 1) {\n                      useResult = lastLocation.kind === 166 || lastLocation === location.type && !!findAncestor(result.valueDeclaration, isParameter);\n                    }\n                  }\n                } else if (location.kind === 191) {\n                  useResult = lastLocation === location.trueType;\n                }\n                if (useResult) {\n                  break loop;\n                } else {\n                  result = void 0;\n                }\n              }\n            }\n            withinDeferredContext = withinDeferredContext || getIsDeferredContext(location, lastLocation);\n            switch (location.kind) {\n              case 308:\n                if (!isExternalOrCommonJsModule(location))\n                  break;\n                isInExternalModule = true;\n              case 264:\n                const moduleExports = ((_a22 = getSymbolOfDeclaration(location)) == null ? void 0 : _a22.exports) || emptySymbols;\n                if (location.kind === 308 || isModuleDeclaration(location) && location.flags & 16777216 && !isGlobalScopeAugmentation(location)) {\n                  if (result = moduleExports.get(\n                    \"default\"\n                    /* Default */\n                  )) {\n                    const localSymbol = getLocalSymbolForExportDefault(result);\n                    if (localSymbol && result.flags & meaning && localSymbol.escapedName === name) {\n                      break loop;\n                    }\n                    result = void 0;\n                  }\n                  const moduleExport = moduleExports.get(name);\n                  if (moduleExport && moduleExport.flags === 2097152 && (getDeclarationOfKind(\n                    moduleExport,\n                    278\n                    /* ExportSpecifier */\n                  ) || getDeclarationOfKind(\n                    moduleExport,\n                    277\n                    /* NamespaceExport */\n                  ))) {\n                    break;\n                  }\n                }\n                if (name !== \"default\" && (result = lookup(\n                  moduleExports,\n                  name,\n                  meaning & 2623475\n                  /* ModuleMember */\n                ))) {\n                  if (isSourceFile(location) && location.commonJsModuleIndicator && !((_b3 = result.declarations) == null ? void 0 : _b3.some(isJSDocTypeAlias))) {\n                    result = void 0;\n                  } else {\n                    break loop;\n                  }\n                }\n                break;\n              case 263:\n                if (result = lookup(\n                  ((_c = getSymbolOfDeclaration(location)) == null ? void 0 : _c.exports) || emptySymbols,\n                  name,\n                  meaning & 8\n                  /* EnumMember */\n                )) {\n                  if (nameNotFoundMessage && getIsolatedModules(compilerOptions) && !(location.flags & 16777216) && getSourceFileOfNode(location) !== getSourceFileOfNode(result.valueDeclaration)) {\n                    error(\n                      errorLocation,\n                      Diagnostics.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,\n                      unescapeLeadingUnderscores(name),\n                      isolatedModulesLikeFlagName,\n                      `${unescapeLeadingUnderscores(getSymbolOfNode(location).escapedName)}.${unescapeLeadingUnderscores(name)}`\n                    );\n                  }\n                  break loop;\n                }\n                break;\n              case 169:\n                if (!isStatic(location)) {\n                  const ctor = findConstructorDeclaration(location.parent);\n                  if (ctor && ctor.locals) {\n                    if (lookup(\n                      ctor.locals,\n                      name,\n                      meaning & 111551\n                      /* Value */\n                    )) {\n                      Debug2.assertNode(location, isPropertyDeclaration);\n                      propertyWithInvalidInitializer = location;\n                    }\n                  }\n                }\n                break;\n              case 260:\n              case 228:\n              case 261:\n                if (result = lookup(\n                  getSymbolOfDeclaration(location).members || emptySymbols,\n                  name,\n                  meaning & 788968\n                  /* Type */\n                )) {\n                  if (!isTypeParameterSymbolDeclaredInContainer(result, location)) {\n                    result = void 0;\n                    break;\n                  }\n                  if (lastLocation && isStatic(lastLocation)) {\n                    if (nameNotFoundMessage) {\n                      error(errorLocation, Diagnostics.Static_members_cannot_reference_class_type_parameters);\n                    }\n                    return void 0;\n                  }\n                  break loop;\n                }\n                if (isClassExpression(location) && meaning & 32) {\n                  const className = location.name;\n                  if (className && name === className.escapedText) {\n                    result = location.symbol;\n                    break loop;\n                  }\n                }\n                break;\n              case 230:\n                if (lastLocation === location.expression && location.parent.token === 94) {\n                  const container = location.parent.parent;\n                  if (isClassLike(container) && (result = lookup(\n                    getSymbolOfDeclaration(container).members,\n                    name,\n                    meaning & 788968\n                    /* Type */\n                  ))) {\n                    if (nameNotFoundMessage) {\n                      error(errorLocation, Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);\n                    }\n                    return void 0;\n                  }\n                }\n                break;\n              case 164:\n                grandparent = location.parent.parent;\n                if (isClassLike(grandparent) || grandparent.kind === 261) {\n                  if (result = lookup(\n                    getSymbolOfDeclaration(grandparent).members,\n                    name,\n                    meaning & 788968\n                    /* Type */\n                  )) {\n                    if (nameNotFoundMessage) {\n                      error(errorLocation, Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);\n                    }\n                    return void 0;\n                  }\n                }\n                break;\n              case 216:\n                if (getEmitScriptTarget(compilerOptions) >= 2) {\n                  break;\n                }\n              case 171:\n              case 173:\n              case 174:\n              case 175:\n              case 259:\n                if (meaning & 3 && name === \"arguments\") {\n                  result = argumentsSymbol;\n                  break loop;\n                }\n                break;\n              case 215:\n                if (meaning & 3 && name === \"arguments\") {\n                  result = argumentsSymbol;\n                  break loop;\n                }\n                if (meaning & 16) {\n                  const functionName = location.name;\n                  if (functionName && name === functionName.escapedText) {\n                    result = location.symbol;\n                    break loop;\n                  }\n                }\n                break;\n              case 167:\n                if (location.parent && location.parent.kind === 166) {\n                  location = location.parent;\n                }\n                if (location.parent && (isClassElement(location.parent) || location.parent.kind === 260)) {\n                  location = location.parent;\n                }\n                break;\n              case 349:\n              case 341:\n              case 343:\n                const root = getJSDocRoot(location);\n                if (root) {\n                  location = root.parent;\n                }\n                break;\n              case 166:\n                if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) {\n                  if (!associatedDeclarationForContainingInitializerOrBindingName) {\n                    associatedDeclarationForContainingInitializerOrBindingName = location;\n                  }\n                }\n                break;\n              case 205:\n                if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) {\n                  if (isParameterDeclaration(location) && !associatedDeclarationForContainingInitializerOrBindingName) {\n                    associatedDeclarationForContainingInitializerOrBindingName = location;\n                  }\n                }\n                break;\n              case 192:\n                if (meaning & 262144) {\n                  const parameterName = location.typeParameter.name;\n                  if (parameterName && name === parameterName.escapedText) {\n                    result = location.typeParameter.symbol;\n                    break loop;\n                  }\n                }\n                break;\n            }\n            if (isSelfReferenceLocation(location)) {\n              lastSelfReferenceLocation = location;\n            }\n            lastLocation = location;\n            location = isJSDocTemplateTag(location) ? getEffectiveContainerForJSDocTemplateTag(location) || location.parent : isJSDocParameterTag(location) || isJSDocReturnTag(location) ? getHostSignatureFromJSDoc(location) || location.parent : location.parent;\n          }\n        if (isUse && result && (!lastSelfReferenceLocation || result !== lastSelfReferenceLocation.symbol)) {\n          result.isReferenced |= meaning;\n        }\n        if (!result) {\n          if (lastLocation) {\n            Debug2.assertNode(lastLocation, isSourceFile);\n            if (lastLocation.commonJsModuleIndicator && name === \"exports\" && meaning & lastLocation.symbol.flags) {\n              return lastLocation.symbol;\n            }\n          }\n          if (!excludeGlobals) {\n            result = lookup(globals, name, meaning);\n          }\n        }\n        if (!result) {\n          if (originalLocation && isInJSFile(originalLocation) && originalLocation.parent) {\n            if (isRequireCall(\n              originalLocation.parent,\n              /*checkArgumentIsStringLiteralLike*/\n              false\n            )) {\n              return requireSymbol;\n            }\n          }\n        }\n        function checkAndReportErrorForInvalidInitializer() {\n          if (propertyWithInvalidInitializer && !(useDefineForClassFields && getEmitScriptTarget(compilerOptions) >= 9)) {\n            error(\n              errorLocation,\n              errorLocation && propertyWithInvalidInitializer.type && textRangeContainsPositionInclusive(propertyWithInvalidInitializer.type, errorLocation.pos) ? Diagnostics.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor : Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,\n              declarationNameToString(propertyWithInvalidInitializer.name),\n              diagnosticName(nameArg)\n            );\n            return true;\n          }\n          return false;\n        }\n        if (!result) {\n          if (nameNotFoundMessage) {\n            addLazyDiagnostic(() => {\n              if (!errorLocation || !checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) && // TODO: GH#18217\n              !checkAndReportErrorForInvalidInitializer() && !checkAndReportErrorForExtendingInterface(errorLocation) && !checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) && !checkAndReportErrorForExportingPrimitiveType(errorLocation, name) && !checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning)) {\n                let suggestion;\n                let suggestedLib;\n                if (nameArg) {\n                  suggestedLib = getSuggestedLibForNonExistentName(nameArg);\n                  if (suggestedLib) {\n                    error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg), suggestedLib);\n                  }\n                }\n                if (!suggestedLib && getSpellingSuggestions && suggestionCount < maximumSuggestionCount) {\n                  suggestion = getSuggestedSymbolForNonexistentSymbol(originalLocation, name, meaning);\n                  const isGlobalScopeAugmentationDeclaration = (suggestion == null ? void 0 : suggestion.valueDeclaration) && isAmbientModule(suggestion.valueDeclaration) && isGlobalScopeAugmentation(suggestion.valueDeclaration);\n                  if (isGlobalScopeAugmentationDeclaration) {\n                    suggestion = void 0;\n                  }\n                  if (suggestion) {\n                    const suggestionName = symbolToString(suggestion);\n                    const isUncheckedJS = isUncheckedJSSuggestion(\n                      originalLocation,\n                      suggestion,\n                      /*excludeClasses*/\n                      false\n                    );\n                    const message = meaning === 1920 || nameArg && typeof nameArg !== \"string\" && nodeIsSynthesized(nameArg) ? Diagnostics.Cannot_find_namespace_0_Did_you_mean_1 : isUncheckedJS ? Diagnostics.Could_not_find_name_0_Did_you_mean_1 : Diagnostics.Cannot_find_name_0_Did_you_mean_1;\n                    const diagnostic = createError(errorLocation, message, diagnosticName(nameArg), suggestionName);\n                    addErrorOrSuggestion(!isUncheckedJS, diagnostic);\n                    if (suggestion.valueDeclaration) {\n                      addRelatedInfo(\n                        diagnostic,\n                        createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName)\n                      );\n                    }\n                  }\n                }\n                if (!suggestion && !suggestedLib && nameArg) {\n                  error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg));\n                }\n                suggestionCount++;\n              }\n            });\n          }\n          return void 0;\n        } else if (nameNotFoundMessage && checkAndReportErrorForInvalidInitializer()) {\n          return void 0;\n        }\n        if (nameNotFoundMessage) {\n          addLazyDiagnostic(() => {\n            if (errorLocation && (meaning & 2 || (meaning & 32 || meaning & 384) && (meaning & 111551) === 111551)) {\n              const exportOrLocalSymbol = getExportSymbolOfValueSymbolIfExported(result);\n              if (exportOrLocalSymbol.flags & 2 || exportOrLocalSymbol.flags & 32 || exportOrLocalSymbol.flags & 384) {\n                checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);\n              }\n            }\n            if (result && isInExternalModule && (meaning & 111551) === 111551 && !(originalLocation.flags & 8388608)) {\n              const merged = getMergedSymbol(result);\n              if (length(merged.declarations) && every(merged.declarations, (d) => isNamespaceExportDeclaration(d) || isSourceFile(d) && !!d.symbol.globalExports)) {\n                errorOrSuggestion(!compilerOptions.allowUmdGlobalAccess, errorLocation, Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead, unescapeLeadingUnderscores(name));\n              }\n            }\n            if (result && associatedDeclarationForContainingInitializerOrBindingName && !withinDeferredContext && (meaning & 111551) === 111551) {\n              const candidate = getMergedSymbol(getLateBoundSymbol(result));\n              const root = getRootDeclaration(associatedDeclarationForContainingInitializerOrBindingName);\n              if (candidate === getSymbolOfDeclaration(associatedDeclarationForContainingInitializerOrBindingName)) {\n                error(errorLocation, Diagnostics.Parameter_0_cannot_reference_itself, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name));\n              } else if (candidate.valueDeclaration && candidate.valueDeclaration.pos > associatedDeclarationForContainingInitializerOrBindingName.pos && root.parent.locals && lookup(root.parent.locals, candidate.escapedName, meaning) === candidate) {\n                error(errorLocation, Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name), declarationNameToString(errorLocation));\n              }\n            }\n            if (result && errorLocation && meaning & 111551 && result.flags & 2097152 && !(result.flags & 111551) && !isValidTypeOnlyAliasUseSite(errorLocation)) {\n              const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(\n                result,\n                111551\n                /* Value */\n              );\n              if (typeOnlyDeclaration) {\n                const message = typeOnlyDeclaration.kind === 278 || typeOnlyDeclaration.kind === 275 || typeOnlyDeclaration.kind === 277 ? Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type : Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;\n                const unescapedName = unescapeLeadingUnderscores(name);\n                addTypeOnlyDeclarationRelatedInfo(\n                  error(errorLocation, message, unescapedName),\n                  typeOnlyDeclaration,\n                  unescapedName\n                );\n              }\n            }\n          });\n        }\n        return result;\n      }\n      function addTypeOnlyDeclarationRelatedInfo(diagnostic, typeOnlyDeclaration, unescapedName) {\n        if (!typeOnlyDeclaration)\n          return diagnostic;\n        return addRelatedInfo(\n          diagnostic,\n          createDiagnosticForNode(\n            typeOnlyDeclaration,\n            typeOnlyDeclaration.kind === 278 || typeOnlyDeclaration.kind === 275 || typeOnlyDeclaration.kind === 277 ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here,\n            unescapedName\n          )\n        );\n      }\n      function getIsDeferredContext(location, lastLocation) {\n        if (location.kind !== 216 && location.kind !== 215) {\n          return isTypeQueryNode(location) || (isFunctionLikeDeclaration(location) || location.kind === 169 && !isStatic(location)) && (!lastLocation || lastLocation !== location.name);\n        }\n        if (lastLocation && lastLocation === location.name) {\n          return false;\n        }\n        if (location.asteriskToken || hasSyntacticModifier(\n          location,\n          512\n          /* Async */\n        )) {\n          return true;\n        }\n        return !getImmediatelyInvokedFunctionExpression(location);\n      }\n      function isSelfReferenceLocation(node) {\n        switch (node.kind) {\n          case 259:\n          case 260:\n          case 261:\n          case 263:\n          case 262:\n          case 264:\n            return true;\n          default:\n            return false;\n        }\n      }\n      function diagnosticName(nameArg) {\n        return isString2(nameArg) ? unescapeLeadingUnderscores(nameArg) : declarationNameToString(nameArg);\n      }\n      function isTypeParameterSymbolDeclaredInContainer(symbol, container) {\n        if (symbol.declarations) {\n          for (const decl of symbol.declarations) {\n            if (decl.kind === 165) {\n              const parent2 = isJSDocTemplateTag(decl.parent) ? getJSDocHost(decl.parent) : decl.parent;\n              if (parent2 === container) {\n                return !(isJSDocTemplateTag(decl.parent) && find(decl.parent.parent.tags, isJSDocTypeAlias));\n              }\n            }\n          }\n        }\n        return false;\n      }\n      function checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) {\n        if (!isIdentifier(errorLocation) || errorLocation.escapedText !== name || isTypeReferenceIdentifier(errorLocation) || isInTypeQuery(errorLocation)) {\n          return false;\n        }\n        const container = getThisContainer(\n          errorLocation,\n          /*includeArrowFunctions*/\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        );\n        let location = container;\n        while (location) {\n          if (isClassLike(location.parent)) {\n            const classSymbol = getSymbolOfDeclaration(location.parent);\n            if (!classSymbol) {\n              break;\n            }\n            const constructorType = getTypeOfSymbol(classSymbol);\n            if (getPropertyOfType(constructorType, name)) {\n              error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0, diagnosticName(nameArg), symbolToString(classSymbol));\n              return true;\n            }\n            if (location === container && !isStatic(location)) {\n              const instanceType = getDeclaredTypeOfSymbol(classSymbol).thisType;\n              if (getPropertyOfType(instanceType, name)) {\n                error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0, diagnosticName(nameArg));\n                return true;\n              }\n            }\n          }\n          location = location.parent;\n        }\n        return false;\n      }\n      function checkAndReportErrorForExtendingInterface(errorLocation) {\n        const expression = getEntityNameForExtendingInterface(errorLocation);\n        if (expression && resolveEntityName(\n          expression,\n          64,\n          /*ignoreErrors*/\n          true\n        )) {\n          error(errorLocation, Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements, getTextOfNode(expression));\n          return true;\n        }\n        return false;\n      }\n      function getEntityNameForExtendingInterface(node) {\n        switch (node.kind) {\n          case 79:\n          case 208:\n            return node.parent ? getEntityNameForExtendingInterface(node.parent) : void 0;\n          case 230:\n            if (isEntityNameExpression(node.expression)) {\n              return node.expression;\n            }\n          default:\n            return void 0;\n        }\n      }\n      function checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) {\n        const namespaceMeaning = 1920 | (isInJSFile(errorLocation) ? 111551 : 0);\n        if (meaning === namespaceMeaning) {\n          const symbol = resolveSymbol(resolveName(\n            errorLocation,\n            name,\n            788968 & ~namespaceMeaning,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false\n          ));\n          const parent2 = errorLocation.parent;\n          if (symbol) {\n            if (isQualifiedName(parent2)) {\n              Debug2.assert(parent2.left === errorLocation, \"Should only be resolving left side of qualified name as a namespace\");\n              const propName = parent2.right.escapedText;\n              const propType = getPropertyOfType(getDeclaredTypeOfSymbol(symbol), propName);\n              if (propType) {\n                error(\n                  parent2,\n                  Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,\n                  unescapeLeadingUnderscores(name),\n                  unescapeLeadingUnderscores(propName)\n                );\n                return true;\n              }\n            }\n            error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here, unescapeLeadingUnderscores(name));\n            return true;\n          }\n        }\n        return false;\n      }\n      function checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning) {\n        if (meaning & (788968 & ~1920)) {\n          const symbol = resolveSymbol(resolveName(\n            errorLocation,\n            name,\n            ~788968 & 111551,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false\n          ));\n          if (symbol && !(symbol.flags & 1920)) {\n            error(errorLocation, Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0, unescapeLeadingUnderscores(name));\n            return true;\n          }\n        }\n        return false;\n      }\n      function isPrimitiveTypeName(name) {\n        return name === \"any\" || name === \"string\" || name === \"number\" || name === \"boolean\" || name === \"never\" || name === \"unknown\";\n      }\n      function checkAndReportErrorForExportingPrimitiveType(errorLocation, name) {\n        if (isPrimitiveTypeName(name) && errorLocation.parent.kind === 278) {\n          error(errorLocation, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, name);\n          return true;\n        }\n        return false;\n      }\n      function checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) {\n        if (meaning & 111551) {\n          if (isPrimitiveTypeName(name)) {\n            if (isExtendedByInterface(errorLocation)) {\n              error(errorLocation, Diagnostics.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes, unescapeLeadingUnderscores(name));\n            } else {\n              error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, unescapeLeadingUnderscores(name));\n            }\n            return true;\n          }\n          const symbol = resolveSymbol(resolveName(\n            errorLocation,\n            name,\n            788968 & ~111551,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false\n          ));\n          const allFlags = symbol && getAllSymbolFlags(symbol);\n          if (symbol && allFlags !== void 0 && !(allFlags & 111551)) {\n            const rawName = unescapeLeadingUnderscores(name);\n            if (isES2015OrLaterConstructorName(name)) {\n              error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later, rawName);\n            } else if (maybeMappedType(errorLocation, symbol)) {\n              error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0, rawName, rawName === \"K\" ? \"P\" : \"K\");\n            } else {\n              error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, rawName);\n            }\n            return true;\n          }\n        }\n        return false;\n      }\n      function isExtendedByInterface(node) {\n        const grandparent = node.parent.parent;\n        const parentOfGrandparent = grandparent.parent;\n        if (grandparent && parentOfGrandparent) {\n          const isExtending = isHeritageClause(grandparent) && grandparent.token === 94;\n          const isInterface = isInterfaceDeclaration(parentOfGrandparent);\n          return isExtending && isInterface;\n        }\n        return false;\n      }\n      function maybeMappedType(node, symbol) {\n        const container = findAncestor(node.parent, (n) => isComputedPropertyName(n) || isPropertySignature(n) ? false : isTypeLiteralNode(n) || \"quit\");\n        if (container && container.members.length === 1) {\n          const type = getDeclaredTypeOfSymbol(symbol);\n          return !!(type.flags & 1048576) && allTypesAssignableToKind(\n            type,\n            384,\n            /*strict*/\n            true\n          );\n        }\n        return false;\n      }\n      function isES2015OrLaterConstructorName(n) {\n        switch (n) {\n          case \"Promise\":\n          case \"Symbol\":\n          case \"Map\":\n          case \"WeakMap\":\n          case \"Set\":\n          case \"WeakSet\":\n            return true;\n        }\n        return false;\n      }\n      function checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) {\n        if (meaning & (111551 & ~788968)) {\n          const symbol = resolveSymbol(resolveName(\n            errorLocation,\n            name,\n            1024,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false\n          ));\n          if (symbol) {\n            error(\n              errorLocation,\n              Diagnostics.Cannot_use_namespace_0_as_a_value,\n              unescapeLeadingUnderscores(name)\n            );\n            return true;\n          }\n        } else if (meaning & (788968 & ~111551)) {\n          const symbol = resolveSymbol(resolveName(\n            errorLocation,\n            name,\n            1536,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false\n          ));\n          if (symbol) {\n            error(errorLocation, Diagnostics.Cannot_use_namespace_0_as_a_type, unescapeLeadingUnderscores(name));\n            return true;\n          }\n        }\n        return false;\n      }\n      function checkResolvedBlockScopedVariable(result, errorLocation) {\n        var _a22;\n        Debug2.assert(!!(result.flags & 2 || result.flags & 32 || result.flags & 384));\n        if (result.flags & (16 | 1 | 67108864) && result.flags & 32) {\n          return;\n        }\n        const declaration = (_a22 = result.declarations) == null ? void 0 : _a22.find(\n          (d) => isBlockOrCatchScoped(d) || isClassLike(d) || d.kind === 263\n          /* EnumDeclaration */\n        );\n        if (declaration === void 0)\n          return Debug2.fail(\"checkResolvedBlockScopedVariable could not find block-scoped declaration\");\n        if (!(declaration.flags & 16777216) && !isBlockScopedNameDeclaredBeforeUse(declaration, errorLocation)) {\n          let diagnosticMessage;\n          const declarationName = declarationNameToString(getNameOfDeclaration(declaration));\n          if (result.flags & 2) {\n            diagnosticMessage = error(errorLocation, Diagnostics.Block_scoped_variable_0_used_before_its_declaration, declarationName);\n          } else if (result.flags & 32) {\n            diagnosticMessage = error(errorLocation, Diagnostics.Class_0_used_before_its_declaration, declarationName);\n          } else if (result.flags & 256) {\n            diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName);\n          } else {\n            Debug2.assert(!!(result.flags & 128));\n            if (shouldPreserveConstEnums(compilerOptions)) {\n              diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName);\n            }\n          }\n          if (diagnosticMessage) {\n            addRelatedInfo(\n              diagnosticMessage,\n              createDiagnosticForNode(declaration, Diagnostics._0_is_declared_here, declarationName)\n            );\n          }\n        }\n      }\n      function isSameScopeDescendentOf(initial, parent2, stopAt) {\n        return !!parent2 && !!findAncestor(initial, (n) => n === parent2 || (n === stopAt || isFunctionLike(n) && (!getImmediatelyInvokedFunctionExpression(n) || isAsyncFunction(n)) ? \"quit\" : false));\n      }\n      function getAnyImportSyntax(node) {\n        switch (node.kind) {\n          case 268:\n            return node;\n          case 270:\n            return node.parent;\n          case 271:\n            return node.parent.parent;\n          case 273:\n            return node.parent.parent.parent;\n          default:\n            return void 0;\n        }\n      }\n      function getDeclarationOfAliasSymbol(symbol) {\n        return symbol.declarations && findLast(symbol.declarations, isAliasSymbolDeclaration2);\n      }\n      function isAliasSymbolDeclaration2(node) {\n        return node.kind === 268 || node.kind === 267 || node.kind === 270 && !!node.name || node.kind === 271 || node.kind === 277 || node.kind === 273 || node.kind === 278 || node.kind === 274 && exportAssignmentIsAlias(node) || isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 && exportAssignmentIsAlias(node) || isAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63 && isAliasableOrJsExpression(node.parent.right) || node.kind === 300 || node.kind === 299 && isAliasableOrJsExpression(node.initializer) || node.kind === 257 && isVariableDeclarationInitializedToBareOrAccessedRequire(node) || node.kind === 205 && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent);\n      }\n      function isAliasableOrJsExpression(e) {\n        return isAliasableExpression(e) || isFunctionExpression(e) && isJSConstructor(e);\n      }\n      function getTargetOfImportEqualsDeclaration(node, dontResolveAlias) {\n        const commonJSPropertyAccess = getCommonJSPropertyAccess(node);\n        if (commonJSPropertyAccess) {\n          const name = getLeftmostAccessExpression(commonJSPropertyAccess.expression).arguments[0];\n          return isIdentifier(commonJSPropertyAccess.name) ? resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral(name), commonJSPropertyAccess.name.escapedText)) : void 0;\n        }\n        if (isVariableDeclaration(node) || node.moduleReference.kind === 280) {\n          const immediate = resolveExternalModuleName(\n            node,\n            getExternalModuleRequireArgument(node) || getExternalModuleImportEqualsDeclarationExpression(node)\n          );\n          const resolved2 = resolveExternalModuleSymbol(immediate);\n          markSymbolOfAliasDeclarationIfTypeOnly(\n            node,\n            immediate,\n            resolved2,\n            /*overwriteEmpty*/\n            false\n          );\n          return resolved2;\n        }\n        const resolved = getSymbolOfPartOfRightHandSideOfImportEquals(node.moduleReference, dontResolveAlias);\n        checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved);\n        return resolved;\n      }\n      function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved) {\n        if (markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          /*immediateTarget*/\n          void 0,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        ) && !node.isTypeOnly) {\n          const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(getSymbolOfDeclaration(node));\n          const isExport = typeOnlyDeclaration.kind === 278 || typeOnlyDeclaration.kind === 275;\n          const message = isExport ? Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type : Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type;\n          const relatedMessage = isExport ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here;\n          const name = typeOnlyDeclaration.kind === 275 ? \"*\" : unescapeLeadingUnderscores(typeOnlyDeclaration.name.escapedText);\n          addRelatedInfo(error(node.moduleReference, message), createDiagnosticForNode(typeOnlyDeclaration, relatedMessage, name));\n        }\n      }\n      function resolveExportByName(moduleSymbol, name, sourceNode, dontResolveAlias) {\n        const exportValue = moduleSymbol.exports.get(\n          \"export=\"\n          /* ExportEquals */\n        );\n        const exportSymbol = exportValue ? getPropertyOfType(\n          getTypeOfSymbol(exportValue),\n          name,\n          /*skipObjectFunctionPropertyAugment*/\n          true\n        ) : moduleSymbol.exports.get(name);\n        const resolved = resolveSymbol(exportSymbol, dontResolveAlias);\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          sourceNode,\n          exportSymbol,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        );\n        return resolved;\n      }\n      function isSyntacticDefault(node) {\n        return isExportAssignment(node) && !node.isExportEquals || hasSyntacticModifier(\n          node,\n          1024\n          /* Default */\n        ) || isExportSpecifier(node);\n      }\n      function getUsageModeForExpression(usage) {\n        return isStringLiteralLike(usage) ? getModeForUsageLocation(getSourceFileOfNode(usage), usage) : void 0;\n      }\n      function isESMFormatImportImportingCommonjsFormatFile(usageMode, targetMode) {\n        return usageMode === 99 && targetMode === 1;\n      }\n      function isOnlyImportedAsDefault(usage) {\n        const usageMode = getUsageModeForExpression(usage);\n        return usageMode === 99 && endsWith(\n          usage.text,\n          \".json\"\n          /* Json */\n        );\n      }\n      function canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, usage) {\n        const usageMode = file && getUsageModeForExpression(usage);\n        if (file && usageMode !== void 0) {\n          const result = isESMFormatImportImportingCommonjsFormatFile(usageMode, file.impliedNodeFormat);\n          if (usageMode === 99 || result) {\n            return result;\n          }\n        }\n        if (!allowSyntheticDefaultImports) {\n          return false;\n        }\n        if (!file || file.isDeclarationFile) {\n          const defaultExportSymbol = resolveExportByName(\n            moduleSymbol,\n            \"default\",\n            /*sourceNode*/\n            void 0,\n            /*dontResolveAlias*/\n            true\n          );\n          if (defaultExportSymbol && some(defaultExportSymbol.declarations, isSyntacticDefault)) {\n            return false;\n          }\n          if (resolveExportByName(\n            moduleSymbol,\n            escapeLeadingUnderscores(\"__esModule\"),\n            /*sourceNode*/\n            void 0,\n            dontResolveAlias\n          )) {\n            return false;\n          }\n          return true;\n        }\n        if (!isSourceFileJS(file)) {\n          return hasExportAssignmentSymbol(moduleSymbol);\n        }\n        return typeof file.externalModuleIndicator !== \"object\" && !resolveExportByName(\n          moduleSymbol,\n          escapeLeadingUnderscores(\"__esModule\"),\n          /*sourceNode*/\n          void 0,\n          dontResolveAlias\n        );\n      }\n      function getTargetOfImportClause(node, dontResolveAlias) {\n        const moduleSymbol = resolveExternalModuleName(node, node.parent.moduleSpecifier);\n        if (moduleSymbol) {\n          return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias);\n        }\n      }\n      function getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias) {\n        var _a22;\n        let exportDefaultSymbol;\n        if (isShorthandAmbientModuleSymbol(moduleSymbol)) {\n          exportDefaultSymbol = moduleSymbol;\n        } else {\n          exportDefaultSymbol = resolveExportByName(moduleSymbol, \"default\", node, dontResolveAlias);\n        }\n        const file = (_a22 = moduleSymbol.declarations) == null ? void 0 : _a22.find(isSourceFile);\n        const specifier = getModuleSpecifierForImportOrExport(node);\n        if (!specifier) {\n          return exportDefaultSymbol;\n        }\n        const hasDefaultOnly = isOnlyImportedAsDefault(specifier);\n        const hasSyntheticDefault = canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, specifier);\n        if (!exportDefaultSymbol && !hasSyntheticDefault && !hasDefaultOnly) {\n          if (hasExportAssignmentSymbol(moduleSymbol) && !(getAllowSyntheticDefaultImports(compilerOptions) || getESModuleInterop(compilerOptions))) {\n            const compilerOptionName = moduleKind >= 5 ? \"allowSyntheticDefaultImports\" : \"esModuleInterop\";\n            const exportEqualsSymbol = moduleSymbol.exports.get(\n              \"export=\"\n              /* ExportEquals */\n            );\n            const exportAssignment = exportEqualsSymbol.valueDeclaration;\n            const err = error(node.name, Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag, symbolToString(moduleSymbol), compilerOptionName);\n            if (exportAssignment) {\n              addRelatedInfo(err, createDiagnosticForNode(\n                exportAssignment,\n                Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,\n                compilerOptionName\n              ));\n            }\n          } else if (isImportClause(node)) {\n            reportNonDefaultExport(moduleSymbol, node);\n          } else {\n            errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name);\n          }\n        } else if (hasSyntheticDefault || hasDefaultOnly) {\n          const resolved = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias);\n          markSymbolOfAliasDeclarationIfTypeOnly(\n            node,\n            moduleSymbol,\n            resolved,\n            /*overwriteTypeOnly*/\n            false\n          );\n          return resolved;\n        }\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          exportDefaultSymbol,\n          /*finalTarget*/\n          void 0,\n          /*overwriteTypeOnly*/\n          false\n        );\n        return exportDefaultSymbol;\n      }\n      function getModuleSpecifierForImportOrExport(node) {\n        switch (node.kind) {\n          case 270:\n            return node.parent.moduleSpecifier;\n          case 268:\n            return isExternalModuleReference(node.moduleReference) ? node.moduleReference.expression : void 0;\n          case 271:\n            return node.parent.parent.moduleSpecifier;\n          case 273:\n            return node.parent.parent.parent.moduleSpecifier;\n          case 278:\n            return node.parent.parent.moduleSpecifier;\n          default:\n            return Debug2.assertNever(node);\n        }\n      }\n      function reportNonDefaultExport(moduleSymbol, node) {\n        var _a22, _b3, _c;\n        if ((_a22 = moduleSymbol.exports) == null ? void 0 : _a22.has(node.symbol.escapedName)) {\n          error(\n            node.name,\n            Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,\n            symbolToString(moduleSymbol),\n            symbolToString(node.symbol)\n          );\n        } else {\n          const diagnostic = error(node.name, Diagnostics.Module_0_has_no_default_export, symbolToString(moduleSymbol));\n          const exportStar = (_b3 = moduleSymbol.exports) == null ? void 0 : _b3.get(\n            \"__export\"\n            /* ExportStar */\n          );\n          if (exportStar) {\n            const defaultExport = (_c = exportStar.declarations) == null ? void 0 : _c.find((decl) => {\n              var _a32, _b22;\n              return !!(isExportDeclaration(decl) && decl.moduleSpecifier && ((_b22 = (_a32 = resolveExternalModuleName(decl, decl.moduleSpecifier)) == null ? void 0 : _a32.exports) == null ? void 0 : _b22.has(\n                \"default\"\n                /* Default */\n              )));\n            });\n            if (defaultExport) {\n              addRelatedInfo(diagnostic, createDiagnosticForNode(defaultExport, Diagnostics.export_Asterisk_does_not_re_export_a_default));\n            }\n          }\n        }\n      }\n      function getTargetOfNamespaceImport(node, dontResolveAlias) {\n        const moduleSpecifier = node.parent.parent.moduleSpecifier;\n        const immediate = resolveExternalModuleName(node, moduleSpecifier);\n        const resolved = resolveESModuleSymbol(\n          immediate,\n          moduleSpecifier,\n          dontResolveAlias,\n          /*suppressUsageError*/\n          false\n        );\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          immediate,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        );\n        return resolved;\n      }\n      function getTargetOfNamespaceExport(node, dontResolveAlias) {\n        const moduleSpecifier = node.parent.moduleSpecifier;\n        const immediate = moduleSpecifier && resolveExternalModuleName(node, moduleSpecifier);\n        const resolved = moduleSpecifier && resolveESModuleSymbol(\n          immediate,\n          moduleSpecifier,\n          dontResolveAlias,\n          /*suppressUsageError*/\n          false\n        );\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          immediate,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        );\n        return resolved;\n      }\n      function combineValueAndTypeSymbols(valueSymbol, typeSymbol) {\n        if (valueSymbol === unknownSymbol && typeSymbol === unknownSymbol) {\n          return unknownSymbol;\n        }\n        if (valueSymbol.flags & (788968 | 1920)) {\n          return valueSymbol;\n        }\n        const result = createSymbol(valueSymbol.flags | typeSymbol.flags, valueSymbol.escapedName);\n        Debug2.assert(valueSymbol.declarations || typeSymbol.declarations);\n        result.declarations = deduplicate(concatenate(valueSymbol.declarations, typeSymbol.declarations), equateValues);\n        result.parent = valueSymbol.parent || typeSymbol.parent;\n        if (valueSymbol.valueDeclaration)\n          result.valueDeclaration = valueSymbol.valueDeclaration;\n        if (typeSymbol.members)\n          result.members = new Map(typeSymbol.members);\n        if (valueSymbol.exports)\n          result.exports = new Map(valueSymbol.exports);\n        return result;\n      }\n      function getExportOfModule(symbol, name, specifier, dontResolveAlias) {\n        var _a22;\n        if (symbol.flags & 1536) {\n          const exportSymbol = getExportsOfSymbol(symbol).get(name.escapedText);\n          const resolved = resolveSymbol(exportSymbol, dontResolveAlias);\n          const exportStarDeclaration = (_a22 = getSymbolLinks(symbol).typeOnlyExportStarMap) == null ? void 0 : _a22.get(name.escapedText);\n          markSymbolOfAliasDeclarationIfTypeOnly(\n            specifier,\n            exportSymbol,\n            resolved,\n            /*overwriteEmpty*/\n            false,\n            exportStarDeclaration,\n            name.escapedText\n          );\n          return resolved;\n        }\n      }\n      function getPropertyOfVariable(symbol, name) {\n        if (symbol.flags & 3) {\n          const typeAnnotation = symbol.valueDeclaration.type;\n          if (typeAnnotation) {\n            return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(typeAnnotation), name));\n          }\n        }\n      }\n      function getExternalModuleMember(node, specifier, dontResolveAlias = false) {\n        var _a22;\n        const moduleSpecifier = getExternalModuleRequireArgument(node) || node.moduleSpecifier;\n        const moduleSymbol = resolveExternalModuleName(node, moduleSpecifier);\n        const name = !isPropertyAccessExpression(specifier) && specifier.propertyName || specifier.name;\n        if (!isIdentifier(name)) {\n          return void 0;\n        }\n        const suppressInteropError = name.escapedText === \"default\" && !!(compilerOptions.allowSyntheticDefaultImports || getESModuleInterop(compilerOptions));\n        const targetSymbol = resolveESModuleSymbol(\n          moduleSymbol,\n          moduleSpecifier,\n          /*dontResolveAlias*/\n          false,\n          suppressInteropError\n        );\n        if (targetSymbol) {\n          if (name.escapedText) {\n            if (isShorthandAmbientModuleSymbol(moduleSymbol)) {\n              return moduleSymbol;\n            }\n            let symbolFromVariable;\n            if (moduleSymbol && moduleSymbol.exports && moduleSymbol.exports.get(\n              \"export=\"\n              /* ExportEquals */\n            )) {\n              symbolFromVariable = getPropertyOfType(\n                getTypeOfSymbol(targetSymbol),\n                name.escapedText,\n                /*skipObjectFunctionPropertyAugment*/\n                true\n              );\n            } else {\n              symbolFromVariable = getPropertyOfVariable(targetSymbol, name.escapedText);\n            }\n            symbolFromVariable = resolveSymbol(symbolFromVariable, dontResolveAlias);\n            let symbolFromModule = getExportOfModule(targetSymbol, name, specifier, dontResolveAlias);\n            if (symbolFromModule === void 0 && name.escapedText === \"default\") {\n              const file = (_a22 = moduleSymbol.declarations) == null ? void 0 : _a22.find(isSourceFile);\n              if (isOnlyImportedAsDefault(moduleSpecifier) || canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, moduleSpecifier)) {\n                symbolFromModule = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias);\n              }\n            }\n            const symbol = symbolFromModule && symbolFromVariable && symbolFromModule !== symbolFromVariable ? combineValueAndTypeSymbols(symbolFromVariable, symbolFromModule) : symbolFromModule || symbolFromVariable;\n            if (!symbol) {\n              errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name);\n            }\n            return symbol;\n          }\n        }\n      }\n      function errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name) {\n        var _a22;\n        const moduleName = getFullyQualifiedName(moduleSymbol, node);\n        const declarationName = declarationNameToString(name);\n        const suggestion = getSuggestedSymbolForNonexistentModule(name, targetSymbol);\n        if (suggestion !== void 0) {\n          const suggestionName = symbolToString(suggestion);\n          const diagnostic = error(name, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, moduleName, declarationName, suggestionName);\n          if (suggestion.valueDeclaration) {\n            addRelatedInfo(\n              diagnostic,\n              createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName)\n            );\n          }\n        } else {\n          if ((_a22 = moduleSymbol.exports) == null ? void 0 : _a22.has(\n            \"default\"\n            /* Default */\n          )) {\n            error(\n              name,\n              Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,\n              moduleName,\n              declarationName\n            );\n          } else {\n            reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName);\n          }\n        }\n      }\n      function reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName) {\n        var _a22, _b3;\n        const localSymbol = (_b3 = (_a22 = tryCast(moduleSymbol.valueDeclaration, canHaveLocals)) == null ? void 0 : _a22.locals) == null ? void 0 : _b3.get(name.escapedText);\n        const exports = moduleSymbol.exports;\n        if (localSymbol) {\n          const exportedEqualsSymbol = exports == null ? void 0 : exports.get(\n            \"export=\"\n            /* ExportEquals */\n          );\n          if (exportedEqualsSymbol) {\n            getSymbolIfSameReference(exportedEqualsSymbol, localSymbol) ? reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) : error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName);\n          } else {\n            const exportedSymbol = exports ? find(symbolsToArray(exports), (symbol) => !!getSymbolIfSameReference(symbol, localSymbol)) : void 0;\n            const diagnostic = exportedSymbol ? error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2, moduleName, declarationName, symbolToString(exportedSymbol)) : error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported, moduleName, declarationName);\n            if (localSymbol.declarations) {\n              addRelatedInfo(\n                diagnostic,\n                ...map(localSymbol.declarations, (decl, index) => createDiagnosticForNode(decl, index === 0 ? Diagnostics._0_is_declared_here : Diagnostics.and_here, declarationName))\n              );\n            }\n          }\n        } else {\n          error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName);\n        }\n      }\n      function reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) {\n        if (moduleKind >= 5) {\n          const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;\n          error(name, message, declarationName);\n        } else {\n          if (isInJSFile(node)) {\n            const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;\n            error(name, message, declarationName);\n          } else {\n            const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import : Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;\n            error(name, message, declarationName, declarationName, moduleName);\n          }\n        }\n      }\n      function getTargetOfImportSpecifier(node, dontResolveAlias) {\n        if (isImportSpecifier(node) && idText(node.propertyName || node.name) === \"default\") {\n          const specifier = getModuleSpecifierForImportOrExport(node);\n          const moduleSymbol = specifier && resolveExternalModuleName(node, specifier);\n          if (moduleSymbol) {\n            return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias);\n          }\n        }\n        const root = isBindingElement(node) ? getRootDeclaration(node) : node.parent.parent.parent;\n        const commonJSPropertyAccess = getCommonJSPropertyAccess(root);\n        const resolved = getExternalModuleMember(root, commonJSPropertyAccess || node, dontResolveAlias);\n        const name = node.propertyName || node.name;\n        if (commonJSPropertyAccess && resolved && isIdentifier(name)) {\n          return resolveSymbol(getPropertyOfType(getTypeOfSymbol(resolved), name.escapedText), dontResolveAlias);\n        }\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          /*immediateTarget*/\n          void 0,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        );\n        return resolved;\n      }\n      function getCommonJSPropertyAccess(node) {\n        if (isVariableDeclaration(node) && node.initializer && isPropertyAccessExpression(node.initializer)) {\n          return node.initializer;\n        }\n      }\n      function getTargetOfNamespaceExportDeclaration(node, dontResolveAlias) {\n        if (canHaveSymbol(node.parent)) {\n          const resolved = resolveExternalModuleSymbol(node.parent.symbol, dontResolveAlias);\n          markSymbolOfAliasDeclarationIfTypeOnly(\n            node,\n            /*immediateTarget*/\n            void 0,\n            resolved,\n            /*overwriteEmpty*/\n            false\n          );\n          return resolved;\n        }\n      }\n      function getTargetOfExportSpecifier(node, meaning, dontResolveAlias) {\n        if (idText(node.propertyName || node.name) === \"default\") {\n          const specifier = getModuleSpecifierForImportOrExport(node);\n          const moduleSymbol = specifier && resolveExternalModuleName(node, specifier);\n          if (moduleSymbol) {\n            return getTargetofModuleDefault(moduleSymbol, node, !!dontResolveAlias);\n          }\n        }\n        const resolved = node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node, dontResolveAlias) : resolveEntityName(\n          node.propertyName || node.name,\n          meaning,\n          /*ignoreErrors*/\n          false,\n          dontResolveAlias\n        );\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          /*immediateTarget*/\n          void 0,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        );\n        return resolved;\n      }\n      function getTargetOfExportAssignment(node, dontResolveAlias) {\n        const expression = isExportAssignment(node) ? node.expression : node.right;\n        const resolved = getTargetOfAliasLikeExpression(expression, dontResolveAlias);\n        markSymbolOfAliasDeclarationIfTypeOnly(\n          node,\n          /*immediateTarget*/\n          void 0,\n          resolved,\n          /*overwriteEmpty*/\n          false\n        );\n        return resolved;\n      }\n      function getTargetOfAliasLikeExpression(expression, dontResolveAlias) {\n        if (isClassExpression(expression)) {\n          return checkExpressionCached(expression).symbol;\n        }\n        if (!isEntityName(expression) && !isEntityNameExpression(expression)) {\n          return void 0;\n        }\n        const aliasLike = resolveEntityName(\n          expression,\n          111551 | 788968 | 1920,\n          /*ignoreErrors*/\n          true,\n          dontResolveAlias\n        );\n        if (aliasLike) {\n          return aliasLike;\n        }\n        checkExpressionCached(expression);\n        return getNodeLinks(expression).resolvedSymbol;\n      }\n      function getTargetOfAccessExpression(node, dontRecursivelyResolve) {\n        if (!(isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63)) {\n          return void 0;\n        }\n        return getTargetOfAliasLikeExpression(node.parent.right, dontRecursivelyResolve);\n      }\n      function getTargetOfAliasDeclaration(node, dontRecursivelyResolve = false) {\n        switch (node.kind) {\n          case 268:\n          case 257:\n            return getTargetOfImportEqualsDeclaration(node, dontRecursivelyResolve);\n          case 270:\n            return getTargetOfImportClause(node, dontRecursivelyResolve);\n          case 271:\n            return getTargetOfNamespaceImport(node, dontRecursivelyResolve);\n          case 277:\n            return getTargetOfNamespaceExport(node, dontRecursivelyResolve);\n          case 273:\n          case 205:\n            return getTargetOfImportSpecifier(node, dontRecursivelyResolve);\n          case 278:\n            return getTargetOfExportSpecifier(node, 111551 | 788968 | 1920, dontRecursivelyResolve);\n          case 274:\n          case 223:\n            return getTargetOfExportAssignment(node, dontRecursivelyResolve);\n          case 267:\n            return getTargetOfNamespaceExportDeclaration(node, dontRecursivelyResolve);\n          case 300:\n            return resolveEntityName(\n              node.name,\n              111551 | 788968 | 1920,\n              /*ignoreErrors*/\n              true,\n              dontRecursivelyResolve\n            );\n          case 299:\n            return getTargetOfAliasLikeExpression(node.initializer, dontRecursivelyResolve);\n          case 209:\n          case 208:\n            return getTargetOfAccessExpression(node, dontRecursivelyResolve);\n          default:\n            return Debug2.fail();\n        }\n      }\n      function isNonLocalAlias(symbol, excludes = 111551 | 788968 | 1920) {\n        if (!symbol)\n          return false;\n        return (symbol.flags & (2097152 | excludes)) === 2097152 || !!(symbol.flags & 2097152 && symbol.flags & 67108864);\n      }\n      function resolveSymbol(symbol, dontResolveAlias) {\n        return !dontResolveAlias && isNonLocalAlias(symbol) ? resolveAlias(symbol) : symbol;\n      }\n      function resolveAlias(symbol) {\n        Debug2.assert((symbol.flags & 2097152) !== 0, \"Should only get Alias here.\");\n        const links = getSymbolLinks(symbol);\n        if (!links.aliasTarget) {\n          links.aliasTarget = resolvingSymbol;\n          const node = getDeclarationOfAliasSymbol(symbol);\n          if (!node)\n            return Debug2.fail();\n          const target = getTargetOfAliasDeclaration(node);\n          if (links.aliasTarget === resolvingSymbol) {\n            links.aliasTarget = target || unknownSymbol;\n          } else {\n            error(node, Diagnostics.Circular_definition_of_import_alias_0, symbolToString(symbol));\n          }\n        } else if (links.aliasTarget === resolvingSymbol) {\n          links.aliasTarget = unknownSymbol;\n        }\n        return links.aliasTarget;\n      }\n      function tryResolveAlias(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (links.aliasTarget !== resolvingSymbol) {\n          return resolveAlias(symbol);\n        }\n        return void 0;\n      }\n      function getAllSymbolFlags(symbol) {\n        let flags = symbol.flags;\n        let seenSymbols;\n        while (symbol.flags & 2097152) {\n          const target = resolveAlias(symbol);\n          if (target === unknownSymbol) {\n            return 67108863;\n          }\n          if (target === symbol || (seenSymbols == null ? void 0 : seenSymbols.has(target))) {\n            break;\n          }\n          if (target.flags & 2097152) {\n            if (seenSymbols) {\n              seenSymbols.add(target);\n            } else {\n              seenSymbols = /* @__PURE__ */ new Set([symbol, target]);\n            }\n          }\n          flags |= target.flags;\n          symbol = target;\n        }\n        return flags;\n      }\n      function markSymbolOfAliasDeclarationIfTypeOnly(aliasDeclaration, immediateTarget, finalTarget, overwriteEmpty, exportStarDeclaration, exportStarName) {\n        if (!aliasDeclaration || isPropertyAccessExpression(aliasDeclaration))\n          return false;\n        const sourceSymbol = getSymbolOfDeclaration(aliasDeclaration);\n        if (isTypeOnlyImportOrExportDeclaration(aliasDeclaration)) {\n          const links2 = getSymbolLinks(sourceSymbol);\n          links2.typeOnlyDeclaration = aliasDeclaration;\n          return true;\n        }\n        if (exportStarDeclaration) {\n          const links2 = getSymbolLinks(sourceSymbol);\n          links2.typeOnlyDeclaration = exportStarDeclaration;\n          if (sourceSymbol.escapedName !== exportStarName) {\n            links2.typeOnlyExportStarName = exportStarName;\n          }\n          return true;\n        }\n        const links = getSymbolLinks(sourceSymbol);\n        return markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, immediateTarget, overwriteEmpty) || markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, finalTarget, overwriteEmpty);\n      }\n      function markSymbolOfAliasDeclarationIfTypeOnlyWorker(aliasDeclarationLinks, target, overwriteEmpty) {\n        var _a22, _b3, _c;\n        if (target && (aliasDeclarationLinks.typeOnlyDeclaration === void 0 || overwriteEmpty && aliasDeclarationLinks.typeOnlyDeclaration === false)) {\n          const exportSymbol = (_b3 = (_a22 = target.exports) == null ? void 0 : _a22.get(\n            \"export=\"\n            /* ExportEquals */\n          )) != null ? _b3 : target;\n          const typeOnly = exportSymbol.declarations && find(exportSymbol.declarations, isTypeOnlyImportOrExportDeclaration);\n          aliasDeclarationLinks.typeOnlyDeclaration = (_c = typeOnly != null ? typeOnly : getSymbolLinks(exportSymbol).typeOnlyDeclaration) != null ? _c : false;\n        }\n        return !!aliasDeclarationLinks.typeOnlyDeclaration;\n      }\n      function getTypeOnlyAliasDeclaration(symbol, include) {\n        if (!(symbol.flags & 2097152)) {\n          return void 0;\n        }\n        const links = getSymbolLinks(symbol);\n        if (include === void 0) {\n          return links.typeOnlyDeclaration || void 0;\n        }\n        if (links.typeOnlyDeclaration) {\n          const resolved = links.typeOnlyDeclaration.kind === 275 ? resolveSymbol(getExportsOfModule(links.typeOnlyDeclaration.symbol.parent).get(links.typeOnlyExportStarName || symbol.escapedName)) : resolveAlias(links.typeOnlyDeclaration.symbol);\n          return getAllSymbolFlags(resolved) & include ? links.typeOnlyDeclaration : void 0;\n        }\n        return void 0;\n      }\n      function markExportAsReferenced(node) {\n        if (compilerOptions.verbatimModuleSyntax) {\n          return;\n        }\n        const symbol = getSymbolOfDeclaration(node);\n        const target = resolveAlias(symbol);\n        if (target) {\n          const markAlias = target === unknownSymbol || getAllSymbolFlags(target) & 111551 && !isConstEnumOrConstEnumOnlyModule(target) && !getTypeOnlyAliasDeclaration(\n            symbol,\n            111551\n            /* Value */\n          );\n          if (markAlias) {\n            markAliasSymbolAsReferenced(symbol);\n          }\n        }\n      }\n      function markAliasSymbolAsReferenced(symbol) {\n        Debug2.assert(!compilerOptions.verbatimModuleSyntax);\n        const links = getSymbolLinks(symbol);\n        if (!links.referenced) {\n          links.referenced = true;\n          const node = getDeclarationOfAliasSymbol(symbol);\n          if (!node)\n            return Debug2.fail();\n          if (isInternalModuleImportEqualsDeclaration(node)) {\n            if (getAllSymbolFlags(resolveSymbol(symbol)) & 111551) {\n              checkExpressionCached(node.moduleReference);\n            }\n          }\n        }\n      }\n      function markConstEnumAliasAsReferenced(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.constEnumReferenced) {\n          links.constEnumReferenced = true;\n        }\n      }\n      function getSymbolOfPartOfRightHandSideOfImportEquals(entityName, dontResolveAlias) {\n        if (entityName.kind === 79 && isRightSideOfQualifiedNameOrPropertyAccess(entityName)) {\n          entityName = entityName.parent;\n        }\n        if (entityName.kind === 79 || entityName.parent.kind === 163) {\n          return resolveEntityName(\n            entityName,\n            1920,\n            /*ignoreErrors*/\n            false,\n            dontResolveAlias\n          );\n        } else {\n          Debug2.assert(\n            entityName.parent.kind === 268\n            /* ImportEqualsDeclaration */\n          );\n          return resolveEntityName(\n            entityName,\n            111551 | 788968 | 1920,\n            /*ignoreErrors*/\n            false,\n            dontResolveAlias\n          );\n        }\n      }\n      function getFullyQualifiedName(symbol, containingLocation) {\n        return symbol.parent ? getFullyQualifiedName(symbol.parent, containingLocation) + \".\" + symbolToString(symbol) : symbolToString(\n          symbol,\n          containingLocation,\n          /*meaning*/\n          void 0,\n          32 | 4\n          /* AllowAnyNodeKind */\n        );\n      }\n      function getContainingQualifiedNameNode(node) {\n        while (isQualifiedName(node.parent)) {\n          node = node.parent;\n        }\n        return node;\n      }\n      function tryGetQualifiedNameAsValue(node) {\n        let left = getFirstIdentifier(node);\n        let symbol = resolveName(\n          left,\n          left.escapedText,\n          111551,\n          void 0,\n          left,\n          /*isUse*/\n          true\n        );\n        if (!symbol) {\n          return void 0;\n        }\n        while (isQualifiedName(left.parent)) {\n          const type = getTypeOfSymbol(symbol);\n          symbol = getPropertyOfType(type, left.parent.right.escapedText);\n          if (!symbol) {\n            return void 0;\n          }\n          left = left.parent;\n        }\n        return symbol;\n      }\n      function resolveEntityName(name, meaning, ignoreErrors, dontResolveAlias, location) {\n        if (nodeIsMissing(name)) {\n          return void 0;\n        }\n        const namespaceMeaning = 1920 | (isInJSFile(name) ? meaning & 111551 : 0);\n        let symbol;\n        if (name.kind === 79) {\n          const message = meaning === namespaceMeaning || nodeIsSynthesized(name) ? Diagnostics.Cannot_find_namespace_0 : getCannotFindNameDiagnosticForName(getFirstIdentifier(name));\n          const symbolFromJSPrototype = isInJSFile(name) && !nodeIsSynthesized(name) ? resolveEntityNameFromAssignmentDeclaration(name, meaning) : void 0;\n          symbol = getMergedSymbol(resolveName(\n            location || name,\n            name.escapedText,\n            meaning,\n            ignoreErrors || symbolFromJSPrototype ? void 0 : message,\n            name,\n            /*isUse*/\n            true,\n            false\n          ));\n          if (!symbol) {\n            return getMergedSymbol(symbolFromJSPrototype);\n          }\n        } else if (name.kind === 163 || name.kind === 208) {\n          const left = name.kind === 163 ? name.left : name.expression;\n          const right = name.kind === 163 ? name.right : name.name;\n          let namespace = resolveEntityName(\n            left,\n            namespaceMeaning,\n            ignoreErrors,\n            /*dontResolveAlias*/\n            false,\n            location\n          );\n          if (!namespace || nodeIsMissing(right)) {\n            return void 0;\n          } else if (namespace === unknownSymbol) {\n            return namespace;\n          }\n          if (namespace.valueDeclaration && isInJSFile(namespace.valueDeclaration) && getEmitModuleResolutionKind(compilerOptions) !== 100 && isVariableDeclaration(namespace.valueDeclaration) && namespace.valueDeclaration.initializer && isCommonJsRequire(namespace.valueDeclaration.initializer)) {\n            const moduleName = namespace.valueDeclaration.initializer.arguments[0];\n            const moduleSym = resolveExternalModuleName(moduleName, moduleName);\n            if (moduleSym) {\n              const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym);\n              if (resolvedModuleSymbol) {\n                namespace = resolvedModuleSymbol;\n              }\n            }\n          }\n          symbol = getMergedSymbol(getSymbol2(getExportsOfSymbol(namespace), right.escapedText, meaning));\n          if (!symbol) {\n            if (!ignoreErrors) {\n              const namespaceName = getFullyQualifiedName(namespace);\n              const declarationName = declarationNameToString(right);\n              const suggestionForNonexistentModule = getSuggestedSymbolForNonexistentModule(right, namespace);\n              if (suggestionForNonexistentModule) {\n                error(right, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, namespaceName, declarationName, symbolToString(suggestionForNonexistentModule));\n                return void 0;\n              }\n              const containingQualifiedName = isQualifiedName(name) && getContainingQualifiedNameNode(name);\n              const canSuggestTypeof = globalObjectType && meaning & 788968 && containingQualifiedName && !isTypeOfExpression(containingQualifiedName.parent) && tryGetQualifiedNameAsValue(containingQualifiedName);\n              if (canSuggestTypeof) {\n                error(\n                  containingQualifiedName,\n                  Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,\n                  entityNameToString(containingQualifiedName)\n                );\n                return void 0;\n              }\n              if (meaning & 1920 && isQualifiedName(name.parent)) {\n                const exportedTypeSymbol = getMergedSymbol(getSymbol2(\n                  getExportsOfSymbol(namespace),\n                  right.escapedText,\n                  788968\n                  /* Type */\n                ));\n                if (exportedTypeSymbol) {\n                  error(\n                    name.parent.right,\n                    Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,\n                    symbolToString(exportedTypeSymbol),\n                    unescapeLeadingUnderscores(name.parent.right.escapedText)\n                  );\n                  return void 0;\n                }\n              }\n              error(right, Diagnostics.Namespace_0_has_no_exported_member_1, namespaceName, declarationName);\n            }\n            return void 0;\n          }\n        } else {\n          throw Debug2.assertNever(name, \"Unknown entity name kind.\");\n        }\n        Debug2.assert((getCheckFlags(symbol) & 1) === 0, \"Should never get an instantiated symbol here.\");\n        if (!nodeIsSynthesized(name) && isEntityName(name) && (symbol.flags & 2097152 || name.parent.kind === 274)) {\n          markSymbolOfAliasDeclarationIfTypeOnly(\n            getAliasDeclarationFromName(name),\n            symbol,\n            /*finalTarget*/\n            void 0,\n            /*overwriteEmpty*/\n            true\n          );\n        }\n        return symbol.flags & meaning || dontResolveAlias ? symbol : resolveAlias(symbol);\n      }\n      function resolveEntityNameFromAssignmentDeclaration(name, meaning) {\n        if (isJSDocTypeReference(name.parent)) {\n          const secondaryLocation = getAssignmentDeclarationLocation(name.parent);\n          if (secondaryLocation) {\n            return resolveName(\n              secondaryLocation,\n              name.escapedText,\n              meaning,\n              /*nameNotFoundMessage*/\n              void 0,\n              name,\n              /*isUse*/\n              true\n            );\n          }\n        }\n      }\n      function getAssignmentDeclarationLocation(node) {\n        const typeAlias = findAncestor(node, (node2) => !(isJSDocNode(node2) || node2.flags & 8388608) ? \"quit\" : isJSDocTypeAlias(node2));\n        if (typeAlias) {\n          return;\n        }\n        const host2 = getJSDocHost(node);\n        if (host2 && isExpressionStatement(host2) && isPrototypePropertyAssignment(host2.expression)) {\n          const symbol = getSymbolOfDeclaration(host2.expression.left);\n          if (symbol) {\n            return getDeclarationOfJSPrototypeContainer(symbol);\n          }\n        }\n        if (host2 && isFunctionExpression(host2) && isPrototypePropertyAssignment(host2.parent) && isExpressionStatement(host2.parent.parent)) {\n          const symbol = getSymbolOfDeclaration(host2.parent.left);\n          if (symbol) {\n            return getDeclarationOfJSPrototypeContainer(symbol);\n          }\n        }\n        if (host2 && (isObjectLiteralMethod(host2) || isPropertyAssignment(host2)) && isBinaryExpression(host2.parent.parent) && getAssignmentDeclarationKind(host2.parent.parent) === 6) {\n          const symbol = getSymbolOfDeclaration(host2.parent.parent.left);\n          if (symbol) {\n            return getDeclarationOfJSPrototypeContainer(symbol);\n          }\n        }\n        const sig = getEffectiveJSDocHost(node);\n        if (sig && isFunctionLike(sig)) {\n          const symbol = getSymbolOfDeclaration(sig);\n          return symbol && symbol.valueDeclaration;\n        }\n      }\n      function getDeclarationOfJSPrototypeContainer(symbol) {\n        const decl = symbol.parent.valueDeclaration;\n        if (!decl) {\n          return void 0;\n        }\n        const initializer = isAssignmentDeclaration(decl) ? getAssignedExpandoInitializer(decl) : hasOnlyExpressionInitializer(decl) ? getDeclaredExpandoInitializer(decl) : void 0;\n        return initializer || decl;\n      }\n      function getExpandoSymbol(symbol) {\n        const decl = symbol.valueDeclaration;\n        if (!decl || !isInJSFile(decl) || symbol.flags & 524288 || getExpandoInitializer(\n          decl,\n          /*isPrototypeAssignment*/\n          false\n        )) {\n          return void 0;\n        }\n        const init = isVariableDeclaration(decl) ? getDeclaredExpandoInitializer(decl) : getAssignedExpandoInitializer(decl);\n        if (init) {\n          const initSymbol = getSymbolOfNode(init);\n          if (initSymbol) {\n            return mergeJSSymbols(initSymbol, symbol);\n          }\n        }\n      }\n      function resolveExternalModuleName(location, moduleReferenceExpression, ignoreErrors) {\n        const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1;\n        const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;\n        return resolveExternalModuleNameWorker(location, moduleReferenceExpression, ignoreErrors ? void 0 : errorMessage);\n      }\n      function resolveExternalModuleNameWorker(location, moduleReferenceExpression, moduleNotFoundError, isForAugmentation = false) {\n        return isStringLiteralLike(moduleReferenceExpression) ? resolveExternalModule(location, moduleReferenceExpression.text, moduleNotFoundError, moduleReferenceExpression, isForAugmentation) : void 0;\n      }\n      function resolveExternalModule(location, moduleReference, moduleNotFoundError, errorNode, isForAugmentation = false) {\n        var _a22, _b3, _c, _d, _e, _f, _g, _h, _i;\n        if (startsWith(moduleReference, \"@types/\")) {\n          const diag2 = Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;\n          const withoutAtTypePrefix = removePrefix(moduleReference, \"@types/\");\n          error(errorNode, diag2, withoutAtTypePrefix, moduleReference);\n        }\n        const ambientModule = tryFindAmbientModule(\n          moduleReference,\n          /*withAugmentations*/\n          true\n        );\n        if (ambientModule) {\n          return ambientModule;\n        }\n        const currentSourceFile = getSourceFileOfNode(location);\n        const contextSpecifier = isStringLiteralLike(location) ? location : ((_a22 = findAncestor(location, isImportCall)) == null ? void 0 : _a22.arguments[0]) || ((_b3 = findAncestor(location, isImportDeclaration)) == null ? void 0 : _b3.moduleSpecifier) || ((_c = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? void 0 : _c.moduleReference.expression) || ((_d = findAncestor(location, isExportDeclaration)) == null ? void 0 : _d.moduleSpecifier) || ((_e = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : void 0) == null ? void 0 : _e.name) || ((_f = isLiteralImportTypeNode(location) ? location : void 0) == null ? void 0 : _f.argument.literal);\n        const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? getModeForUsageLocation(currentSourceFile, contextSpecifier) : currentSourceFile.impliedNodeFormat;\n        const moduleResolutionKind = getEmitModuleResolutionKind(compilerOptions);\n        const resolvedModule = getResolvedModule(currentSourceFile, moduleReference, mode);\n        const resolutionDiagnostic = resolvedModule && getResolutionDiagnostic(compilerOptions, resolvedModule, currentSourceFile);\n        const sourceFile = resolvedModule && (!resolutionDiagnostic || resolutionDiagnostic === Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set) && host.getSourceFile(resolvedModule.resolvedFileName);\n        if (sourceFile) {\n          if (resolutionDiagnostic) {\n            error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName);\n          }\n          if (resolvedModule.resolvedUsingTsExtension && isDeclarationFileName(moduleReference)) {\n            const importOrExport = ((_g = findAncestor(location, isImportDeclaration)) == null ? void 0 : _g.importClause) || findAncestor(location, or(isImportEqualsDeclaration, isExportDeclaration));\n            if (importOrExport && !importOrExport.isTypeOnly || findAncestor(location, isImportCall)) {\n              error(\n                errorNode,\n                Diagnostics.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,\n                getSuggestedImportSource(Debug2.checkDefined(tryExtractTSExtension(moduleReference)))\n              );\n            }\n          } else if (resolvedModule.resolvedUsingTsExtension && !shouldAllowImportingTsExtension(compilerOptions, currentSourceFile.fileName)) {\n            const tsExtension = Debug2.checkDefined(tryExtractTSExtension(moduleReference));\n            error(errorNode, Diagnostics.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled, tsExtension);\n          }\n          if (sourceFile.symbol) {\n            if (resolvedModule.isExternalLibraryImport && !resolutionExtensionIsTSOrJson(resolvedModule.extension)) {\n              errorOnImplicitAnyModule(\n                /*isError*/\n                false,\n                errorNode,\n                currentSourceFile,\n                mode,\n                resolvedModule,\n                moduleReference\n              );\n            }\n            if (moduleResolutionKind === 3 || moduleResolutionKind === 99) {\n              const isSyncImport = currentSourceFile.impliedNodeFormat === 1 && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration);\n              const overrideClauseHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l));\n              const overrideClause = overrideClauseHost && isImportTypeNode(overrideClauseHost) ? (_h = overrideClauseHost.assertions) == null ? void 0 : _h.assertClause : overrideClauseHost == null ? void 0 : overrideClauseHost.assertClause;\n              if (isSyncImport && sourceFile.impliedNodeFormat === 99 && !getResolutionModeOverrideForClause(overrideClause)) {\n                if (findAncestor(location, isImportEqualsDeclaration)) {\n                  error(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference);\n                } else {\n                  let diagnosticDetails;\n                  const ext = tryGetExtensionFromPath2(currentSourceFile.fileName);\n                  if (ext === \".ts\" || ext === \".js\" || ext === \".tsx\" || ext === \".jsx\") {\n                    const scope = currentSourceFile.packageJsonScope;\n                    const targetExt = ext === \".ts\" ? \".mts\" : ext === \".js\" ? \".mjs\" : void 0;\n                    if (scope && !scope.contents.packageJsonContent.type) {\n                      if (targetExt) {\n                        diagnosticDetails = chainDiagnosticMessages(\n                          /*details*/\n                          void 0,\n                          Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,\n                          targetExt,\n                          combinePaths(scope.packageDirectory, \"package.json\")\n                        );\n                      } else {\n                        diagnosticDetails = chainDiagnosticMessages(\n                          /*details*/\n                          void 0,\n                          Diagnostics.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,\n                          combinePaths(scope.packageDirectory, \"package.json\")\n                        );\n                      }\n                    } else {\n                      if (targetExt) {\n                        diagnosticDetails = chainDiagnosticMessages(\n                          /*details*/\n                          void 0,\n                          Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,\n                          targetExt\n                        );\n                      } else {\n                        diagnosticDetails = chainDiagnosticMessages(\n                          /*details*/\n                          void 0,\n                          Diagnostics.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module\n                        );\n                      }\n                    }\n                  }\n                  diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, chainDiagnosticMessages(\n                    diagnosticDetails,\n                    Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,\n                    moduleReference\n                  )));\n                }\n              }\n            }\n            return getMergedSymbol(sourceFile.symbol);\n          }\n          if (moduleNotFoundError) {\n            error(errorNode, Diagnostics.File_0_is_not_a_module, sourceFile.fileName);\n          }\n          return void 0;\n        }\n        if (patternAmbientModules) {\n          const pattern = findBestPatternMatch(patternAmbientModules, (_) => _.pattern, moduleReference);\n          if (pattern) {\n            const augmentation = patternAmbientModuleAugmentations && patternAmbientModuleAugmentations.get(moduleReference);\n            if (augmentation) {\n              return getMergedSymbol(augmentation);\n            }\n            return getMergedSymbol(pattern.symbol);\n          }\n        }\n        if (resolvedModule && !resolutionExtensionIsTSOrJson(resolvedModule.extension) && resolutionDiagnostic === void 0 || resolutionDiagnostic === Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type) {\n          if (isForAugmentation) {\n            const diag2 = Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;\n            error(errorNode, diag2, moduleReference, resolvedModule.resolvedFileName);\n          } else {\n            errorOnImplicitAnyModule(\n              /*isError*/\n              noImplicitAny && !!moduleNotFoundError,\n              errorNode,\n              currentSourceFile,\n              mode,\n              resolvedModule,\n              moduleReference\n            );\n          }\n          return void 0;\n        }\n        if (moduleNotFoundError) {\n          if (resolvedModule) {\n            const redirect = host.getProjectReferenceRedirect(resolvedModule.resolvedFileName);\n            if (redirect) {\n              error(errorNode, Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, resolvedModule.resolvedFileName);\n              return void 0;\n            }\n          }\n          if (resolutionDiagnostic) {\n            error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName);\n          } else {\n            const isExtensionlessRelativePathImport = pathIsRelative(moduleReference) && !hasExtension(moduleReference);\n            const resolutionIsNode16OrNext = moduleResolutionKind === 3 || moduleResolutionKind === 99;\n            if (!getResolveJsonModule(compilerOptions) && fileExtensionIs(\n              moduleReference,\n              \".json\"\n              /* Json */\n            ) && moduleResolutionKind !== 1 && hasJsonModuleEmitEnabled(compilerOptions)) {\n              error(errorNode, Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension, moduleReference);\n            } else if (mode === 99 && resolutionIsNode16OrNext && isExtensionlessRelativePathImport) {\n              const absoluteRef = getNormalizedAbsolutePath(moduleReference, getDirectoryPath(currentSourceFile.path));\n              const suggestedExt = (_i = suggestedExtensions.find(([actualExt, _importExt]) => host.fileExists(absoluteRef + actualExt))) == null ? void 0 : _i[1];\n              if (suggestedExt) {\n                error(\n                  errorNode,\n                  Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,\n                  moduleReference + suggestedExt\n                );\n              } else {\n                error(errorNode, Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path);\n              }\n            } else {\n              error(errorNode, moduleNotFoundError, moduleReference);\n            }\n          }\n        }\n        return void 0;\n        function getSuggestedImportSource(tsExtension) {\n          const importSourceWithoutExtension = removeExtension(moduleReference, tsExtension);\n          if (emitModuleKindIsNonNodeESM(moduleKind) || mode === 99) {\n            const preferTs = isDeclarationFileName(moduleReference) && shouldAllowImportingTsExtension(compilerOptions);\n            const ext = tsExtension === \".mts\" || tsExtension === \".d.mts\" ? preferTs ? \".mts\" : \".mjs\" : tsExtension === \".cts\" || tsExtension === \".d.mts\" ? preferTs ? \".cts\" : \".cjs\" : preferTs ? \".ts\" : \".js\";\n            return importSourceWithoutExtension + ext;\n          }\n          return importSourceWithoutExtension;\n        }\n      }\n      function errorOnImplicitAnyModule(isError, errorNode, sourceFile, mode, { packageId, resolvedFileName }, moduleReference) {\n        var _a22, _b3;\n        let errorInfo;\n        if (!isExternalModuleNameRelative(moduleReference) && packageId) {\n          const node10Result = (_b3 = (_a22 = sourceFile.resolvedModules) == null ? void 0 : _a22.get(moduleReference, mode)) == null ? void 0 : _b3.node10Result;\n          errorInfo = node10Result ? chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            Diagnostics.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,\n            node10Result,\n            node10Result.indexOf(nodeModulesPathPart + \"@types/\") > -1 ? `@types/${mangleScopedPackageName(packageId.name)}` : packageId.name\n          ) : typesPackageExists(packageId.name) ? chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,\n            packageId.name,\n            mangleScopedPackageName(packageId.name)\n          ) : packageBundlesTypes(packageId.name) ? chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,\n            packageId.name,\n            moduleReference\n          ) : chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,\n            moduleReference,\n            mangleScopedPackageName(packageId.name)\n          );\n        }\n        errorOrSuggestion(isError, errorNode, chainDiagnosticMessages(\n          errorInfo,\n          Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,\n          moduleReference,\n          resolvedFileName\n        ));\n      }\n      function typesPackageExists(packageName) {\n        return getPackagesMap().has(getTypesPackageName(packageName));\n      }\n      function packageBundlesTypes(packageName) {\n        return !!getPackagesMap().get(packageName);\n      }\n      function resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) {\n        if (moduleSymbol == null ? void 0 : moduleSymbol.exports) {\n          const exportEquals = resolveSymbol(moduleSymbol.exports.get(\n            \"export=\"\n            /* ExportEquals */\n          ), dontResolveAlias);\n          const exported = getCommonJsExportEquals(getMergedSymbol(exportEquals), getMergedSymbol(moduleSymbol));\n          return getMergedSymbol(exported) || moduleSymbol;\n        }\n        return void 0;\n      }\n      function getCommonJsExportEquals(exported, moduleSymbol) {\n        if (!exported || exported === unknownSymbol || exported === moduleSymbol || moduleSymbol.exports.size === 1 || exported.flags & 2097152) {\n          return exported;\n        }\n        const links = getSymbolLinks(exported);\n        if (links.cjsExportMerged) {\n          return links.cjsExportMerged;\n        }\n        const merged = exported.flags & 33554432 ? exported : cloneSymbol(exported);\n        merged.flags = merged.flags | 512;\n        if (merged.exports === void 0) {\n          merged.exports = createSymbolTable();\n        }\n        moduleSymbol.exports.forEach((s, name) => {\n          if (name === \"export=\")\n            return;\n          merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s);\n        });\n        getSymbolLinks(merged).cjsExportMerged = merged;\n        return links.cjsExportMerged = merged;\n      }\n      function resolveESModuleSymbol(moduleSymbol, referencingLocation, dontResolveAlias, suppressInteropError) {\n        var _a22;\n        const symbol = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias);\n        if (!dontResolveAlias && symbol) {\n          if (!suppressInteropError && !(symbol.flags & (1536 | 3)) && !getDeclarationOfKind(\n            symbol,\n            308\n            /* SourceFile */\n          )) {\n            const compilerOptionName = moduleKind >= 5 ? \"allowSyntheticDefaultImports\" : \"esModuleInterop\";\n            error(referencingLocation, Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export, compilerOptionName);\n            return symbol;\n          }\n          const referenceParent = referencingLocation.parent;\n          if (isImportDeclaration(referenceParent) && getNamespaceDeclarationNode(referenceParent) || isImportCall(referenceParent)) {\n            const reference = isImportCall(referenceParent) ? referenceParent.arguments[0] : referenceParent.moduleSpecifier;\n            const type = getTypeOfSymbol(symbol);\n            const defaultOnlyType = getTypeWithSyntheticDefaultOnly(type, symbol, moduleSymbol, reference);\n            if (defaultOnlyType) {\n              return cloneTypeAsModuleType(symbol, defaultOnlyType, referenceParent);\n            }\n            const targetFile = (_a22 = moduleSymbol == null ? void 0 : moduleSymbol.declarations) == null ? void 0 : _a22.find(isSourceFile);\n            const isEsmCjsRef = targetFile && isESMFormatImportImportingCommonjsFormatFile(getUsageModeForExpression(reference), targetFile.impliedNodeFormat);\n            if (getESModuleInterop(compilerOptions) || isEsmCjsRef) {\n              let sigs = getSignaturesOfStructuredType(\n                type,\n                0\n                /* Call */\n              );\n              if (!sigs || !sigs.length) {\n                sigs = getSignaturesOfStructuredType(\n                  type,\n                  1\n                  /* Construct */\n                );\n              }\n              if (sigs && sigs.length || getPropertyOfType(\n                type,\n                \"default\",\n                /*skipObjectFunctionPropertyAugment*/\n                true\n              ) || isEsmCjsRef) {\n                const moduleType = getTypeWithSyntheticDefaultImportType(type, symbol, moduleSymbol, reference);\n                return cloneTypeAsModuleType(symbol, moduleType, referenceParent);\n              }\n            }\n          }\n        }\n        return symbol;\n      }\n      function cloneTypeAsModuleType(symbol, moduleType, referenceParent) {\n        const result = createSymbol(symbol.flags, symbol.escapedName);\n        result.declarations = symbol.declarations ? symbol.declarations.slice() : [];\n        result.parent = symbol.parent;\n        result.links.target = symbol;\n        result.links.originatingImport = referenceParent;\n        if (symbol.valueDeclaration)\n          result.valueDeclaration = symbol.valueDeclaration;\n        if (symbol.constEnumOnlyModule)\n          result.constEnumOnlyModule = true;\n        if (symbol.members)\n          result.members = new Map(symbol.members);\n        if (symbol.exports)\n          result.exports = new Map(symbol.exports);\n        const resolvedModuleType = resolveStructuredTypeMembers(moduleType);\n        result.links.type = createAnonymousType(result, resolvedModuleType.members, emptyArray, emptyArray, resolvedModuleType.indexInfos);\n        return result;\n      }\n      function hasExportAssignmentSymbol(moduleSymbol) {\n        return moduleSymbol.exports.get(\n          \"export=\"\n          /* ExportEquals */\n        ) !== void 0;\n      }\n      function getExportsOfModuleAsArray(moduleSymbol) {\n        return symbolsToArray(getExportsOfModule(moduleSymbol));\n      }\n      function getExportsAndPropertiesOfModule(moduleSymbol) {\n        const exports = getExportsOfModuleAsArray(moduleSymbol);\n        const exportEquals = resolveExternalModuleSymbol(moduleSymbol);\n        if (exportEquals !== moduleSymbol) {\n          const type = getTypeOfSymbol(exportEquals);\n          if (shouldTreatPropertiesOfExternalModuleAsExports(type)) {\n            addRange(exports, getPropertiesOfType(type));\n          }\n        }\n        return exports;\n      }\n      function forEachExportAndPropertyOfModule(moduleSymbol, cb) {\n        const exports = getExportsOfModule(moduleSymbol);\n        exports.forEach((symbol, key) => {\n          if (!isReservedMemberName(key)) {\n            cb(symbol, key);\n          }\n        });\n        const exportEquals = resolveExternalModuleSymbol(moduleSymbol);\n        if (exportEquals !== moduleSymbol) {\n          const type = getTypeOfSymbol(exportEquals);\n          if (shouldTreatPropertiesOfExternalModuleAsExports(type)) {\n            forEachPropertyOfType(type, (symbol, escapedName) => {\n              cb(symbol, escapedName);\n            });\n          }\n        }\n      }\n      function tryGetMemberInModuleExports(memberName, moduleSymbol) {\n        const symbolTable = getExportsOfModule(moduleSymbol);\n        if (symbolTable) {\n          return symbolTable.get(memberName);\n        }\n      }\n      function tryGetMemberInModuleExportsAndProperties(memberName, moduleSymbol) {\n        const symbol = tryGetMemberInModuleExports(memberName, moduleSymbol);\n        if (symbol) {\n          return symbol;\n        }\n        const exportEquals = resolveExternalModuleSymbol(moduleSymbol);\n        if (exportEquals === moduleSymbol) {\n          return void 0;\n        }\n        const type = getTypeOfSymbol(exportEquals);\n        return shouldTreatPropertiesOfExternalModuleAsExports(type) ? getPropertyOfType(type, memberName) : void 0;\n      }\n      function shouldTreatPropertiesOfExternalModuleAsExports(resolvedExternalModuleType) {\n        return !(resolvedExternalModuleType.flags & 134348796 || getObjectFlags(resolvedExternalModuleType) & 1 || // `isArrayOrTupleLikeType` is too expensive to use in this auto-imports hot path\n        isArrayType(resolvedExternalModuleType) || isTupleType(resolvedExternalModuleType));\n      }\n      function getExportsOfSymbol(symbol) {\n        return symbol.flags & 6256 ? getResolvedMembersOrExportsOfSymbol(\n          symbol,\n          \"resolvedExports\"\n          /* resolvedExports */\n        ) : symbol.flags & 1536 ? getExportsOfModule(symbol) : symbol.exports || emptySymbols;\n      }\n      function getExportsOfModule(moduleSymbol) {\n        const links = getSymbolLinks(moduleSymbol);\n        if (!links.resolvedExports) {\n          const { exports, typeOnlyExportStarMap } = getExportsOfModuleWorker(moduleSymbol);\n          links.resolvedExports = exports;\n          links.typeOnlyExportStarMap = typeOnlyExportStarMap;\n        }\n        return links.resolvedExports;\n      }\n      function extendExportSymbols(target, source, lookupTable, exportNode) {\n        if (!source)\n          return;\n        source.forEach((sourceSymbol, id) => {\n          if (id === \"default\")\n            return;\n          const targetSymbol = target.get(id);\n          if (!targetSymbol) {\n            target.set(id, sourceSymbol);\n            if (lookupTable && exportNode) {\n              lookupTable.set(id, {\n                specifierText: getTextOfNode(exportNode.moduleSpecifier)\n              });\n            }\n          } else if (lookupTable && exportNode && targetSymbol && resolveSymbol(targetSymbol) !== resolveSymbol(sourceSymbol)) {\n            const collisionTracker = lookupTable.get(id);\n            if (!collisionTracker.exportsWithDuplicate) {\n              collisionTracker.exportsWithDuplicate = [exportNode];\n            } else {\n              collisionTracker.exportsWithDuplicate.push(exportNode);\n            }\n          }\n        });\n      }\n      function getExportsOfModuleWorker(moduleSymbol) {\n        const visitedSymbols = [];\n        let typeOnlyExportStarMap;\n        const nonTypeOnlyNames = /* @__PURE__ */ new Set();\n        moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);\n        const exports = visit(moduleSymbol) || emptySymbols;\n        if (typeOnlyExportStarMap) {\n          nonTypeOnlyNames.forEach((name) => typeOnlyExportStarMap.delete(name));\n        }\n        return {\n          exports,\n          typeOnlyExportStarMap\n        };\n        function visit(symbol, exportStar, isTypeOnly) {\n          if (!isTypeOnly && (symbol == null ? void 0 : symbol.exports)) {\n            symbol.exports.forEach((_, name) => nonTypeOnlyNames.add(name));\n          }\n          if (!(symbol && symbol.exports && pushIfUnique(visitedSymbols, symbol))) {\n            return;\n          }\n          const symbols = new Map(symbol.exports);\n          const exportStars = symbol.exports.get(\n            \"__export\"\n            /* ExportStar */\n          );\n          if (exportStars) {\n            const nestedSymbols = createSymbolTable();\n            const lookupTable = /* @__PURE__ */ new Map();\n            if (exportStars.declarations) {\n              for (const node of exportStars.declarations) {\n                const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier);\n                const exportedSymbols = visit(resolvedModule, node, isTypeOnly || node.isTypeOnly);\n                extendExportSymbols(\n                  nestedSymbols,\n                  exportedSymbols,\n                  lookupTable,\n                  node\n                );\n              }\n            }\n            lookupTable.forEach(({ exportsWithDuplicate }, id) => {\n              if (id === \"export=\" || !(exportsWithDuplicate && exportsWithDuplicate.length) || symbols.has(id)) {\n                return;\n              }\n              for (const node of exportsWithDuplicate) {\n                diagnostics.add(createDiagnosticForNode(\n                  node,\n                  Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,\n                  lookupTable.get(id).specifierText,\n                  unescapeLeadingUnderscores(id)\n                ));\n              }\n            });\n            extendExportSymbols(symbols, nestedSymbols);\n          }\n          if (exportStar == null ? void 0 : exportStar.isTypeOnly) {\n            typeOnlyExportStarMap != null ? typeOnlyExportStarMap : typeOnlyExportStarMap = /* @__PURE__ */ new Map();\n            symbols.forEach((_, escapedName) => typeOnlyExportStarMap.set(\n              escapedName,\n              exportStar\n            ));\n          }\n          return symbols;\n        }\n      }\n      function getMergedSymbol(symbol) {\n        let merged;\n        return symbol && symbol.mergeId && (merged = mergedSymbols[symbol.mergeId]) ? merged : symbol;\n      }\n      function getSymbolOfDeclaration(node) {\n        return getMergedSymbol(node.symbol && getLateBoundSymbol(node.symbol));\n      }\n      function getSymbolOfNode(node) {\n        return canHaveSymbol(node) ? getSymbolOfDeclaration(node) : void 0;\n      }\n      function getParentOfSymbol(symbol) {\n        return getMergedSymbol(symbol.parent && getLateBoundSymbol(symbol.parent));\n      }\n      function getAlternativeContainingModules(symbol, enclosingDeclaration) {\n        const containingFile = getSourceFileOfNode(enclosingDeclaration);\n        const id = getNodeId(containingFile);\n        const links = getSymbolLinks(symbol);\n        let results;\n        if (links.extendedContainersByFile && (results = links.extendedContainersByFile.get(id))) {\n          return results;\n        }\n        if (containingFile && containingFile.imports) {\n          for (const importRef of containingFile.imports) {\n            if (nodeIsSynthesized(importRef))\n              continue;\n            const resolvedModule = resolveExternalModuleName(\n              enclosingDeclaration,\n              importRef,\n              /*ignoreErrors*/\n              true\n            );\n            if (!resolvedModule)\n              continue;\n            const ref = getAliasForSymbolInContainer(resolvedModule, symbol);\n            if (!ref)\n              continue;\n            results = append(results, resolvedModule);\n          }\n          if (length(results)) {\n            (links.extendedContainersByFile || (links.extendedContainersByFile = /* @__PURE__ */ new Map())).set(id, results);\n            return results;\n          }\n        }\n        if (links.extendedContainers) {\n          return links.extendedContainers;\n        }\n        const otherFiles = host.getSourceFiles();\n        for (const file of otherFiles) {\n          if (!isExternalModule(file))\n            continue;\n          const sym = getSymbolOfDeclaration(file);\n          const ref = getAliasForSymbolInContainer(sym, symbol);\n          if (!ref)\n            continue;\n          results = append(results, sym);\n        }\n        return links.extendedContainers = results || emptyArray;\n      }\n      function getContainersOfSymbol(symbol, enclosingDeclaration, meaning) {\n        const container = getParentOfSymbol(symbol);\n        if (container && !(symbol.flags & 262144)) {\n          const additionalContainers = mapDefined(container.declarations, fileSymbolIfFileSymbolExportEqualsContainer);\n          const reexportContainers = enclosingDeclaration && getAlternativeContainingModules(symbol, enclosingDeclaration);\n          const objectLiteralContainer = getVariableDeclarationOfObjectLiteral(container, meaning);\n          if (enclosingDeclaration && container.flags & getQualifiedLeftMeaning(meaning) && getAccessibleSymbolChain(\n            container,\n            enclosingDeclaration,\n            1920,\n            /*externalOnly*/\n            false\n          )) {\n            return append(concatenate(concatenate([container], additionalContainers), reexportContainers), objectLiteralContainer);\n          }\n          const firstVariableMatch = !(container.flags & getQualifiedLeftMeaning(meaning)) && container.flags & 788968 && getDeclaredTypeOfSymbol(container).flags & 524288 && meaning === 111551 ? forEachSymbolTableInScope(enclosingDeclaration, (t) => {\n            return forEachEntry(t, (s) => {\n              if (s.flags & getQualifiedLeftMeaning(meaning) && getTypeOfSymbol(s) === getDeclaredTypeOfSymbol(container)) {\n                return s;\n              }\n            });\n          }) : void 0;\n          let res = firstVariableMatch ? [firstVariableMatch, ...additionalContainers, container] : [...additionalContainers, container];\n          res = append(res, objectLiteralContainer);\n          res = addRange(res, reexportContainers);\n          return res;\n        }\n        const candidates = mapDefined(symbol.declarations, (d) => {\n          if (!isAmbientModule(d) && d.parent) {\n            if (hasNonGlobalAugmentationExternalModuleSymbol(d.parent)) {\n              return getSymbolOfDeclaration(d.parent);\n            }\n            if (isModuleBlock(d.parent) && d.parent.parent && resolveExternalModuleSymbol(getSymbolOfDeclaration(d.parent.parent)) === symbol) {\n              return getSymbolOfDeclaration(d.parent.parent);\n            }\n          }\n          if (isClassExpression(d) && isBinaryExpression(d.parent) && d.parent.operatorToken.kind === 63 && isAccessExpression(d.parent.left) && isEntityNameExpression(d.parent.left.expression)) {\n            if (isModuleExportsAccessExpression(d.parent.left) || isExportsIdentifier(d.parent.left.expression)) {\n              return getSymbolOfDeclaration(getSourceFileOfNode(d));\n            }\n            checkExpressionCached(d.parent.left.expression);\n            return getNodeLinks(d.parent.left.expression).resolvedSymbol;\n          }\n        });\n        if (!length(candidates)) {\n          return void 0;\n        }\n        return mapDefined(candidates, (candidate) => getAliasForSymbolInContainer(candidate, symbol) ? candidate : void 0);\n        function fileSymbolIfFileSymbolExportEqualsContainer(d) {\n          return container && getFileSymbolIfFileSymbolExportEqualsContainer(d, container);\n        }\n      }\n      function getVariableDeclarationOfObjectLiteral(symbol, meaning) {\n        const firstDecl = !!length(symbol.declarations) && first(symbol.declarations);\n        if (meaning & 111551 && firstDecl && firstDecl.parent && isVariableDeclaration(firstDecl.parent)) {\n          if (isObjectLiteralExpression(firstDecl) && firstDecl === firstDecl.parent.initializer || isTypeLiteralNode(firstDecl) && firstDecl === firstDecl.parent.type) {\n            return getSymbolOfDeclaration(firstDecl.parent);\n          }\n        }\n      }\n      function getFileSymbolIfFileSymbolExportEqualsContainer(d, container) {\n        const fileSymbol = getExternalModuleContainer(d);\n        const exported = fileSymbol && fileSymbol.exports && fileSymbol.exports.get(\n          \"export=\"\n          /* ExportEquals */\n        );\n        return exported && getSymbolIfSameReference(exported, container) ? fileSymbol : void 0;\n      }\n      function getAliasForSymbolInContainer(container, symbol) {\n        if (container === getParentOfSymbol(symbol)) {\n          return symbol;\n        }\n        const exportEquals = container.exports && container.exports.get(\n          \"export=\"\n          /* ExportEquals */\n        );\n        if (exportEquals && getSymbolIfSameReference(exportEquals, symbol)) {\n          return container;\n        }\n        const exports = getExportsOfSymbol(container);\n        const quick = exports.get(symbol.escapedName);\n        if (quick && getSymbolIfSameReference(quick, symbol)) {\n          return quick;\n        }\n        return forEachEntry(exports, (exported) => {\n          if (getSymbolIfSameReference(exported, symbol)) {\n            return exported;\n          }\n        });\n      }\n      function getSymbolIfSameReference(s1, s2) {\n        if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) {\n          return s1;\n        }\n      }\n      function getExportSymbolOfValueSymbolIfExported(symbol) {\n        return getMergedSymbol(symbol && (symbol.flags & 1048576) !== 0 && symbol.exportSymbol || symbol);\n      }\n      function symbolIsValue(symbol, includeTypeOnlyMembers) {\n        return !!(symbol.flags & 111551 || symbol.flags & 2097152 && getAllSymbolFlags(symbol) & 111551 && (includeTypeOnlyMembers || !getTypeOnlyAliasDeclaration(symbol)));\n      }\n      function findConstructorDeclaration(node) {\n        const members = node.members;\n        for (const member of members) {\n          if (member.kind === 173 && nodeIsPresent(member.body)) {\n            return member;\n          }\n        }\n      }\n      function createType(flags) {\n        var _a22;\n        const result = new Type27(checker, flags);\n        typeCount++;\n        result.id = typeCount;\n        (_a22 = tracing) == null ? void 0 : _a22.recordType(result);\n        return result;\n      }\n      function createTypeWithSymbol(flags, symbol) {\n        const result = createType(flags);\n        result.symbol = symbol;\n        return result;\n      }\n      function createOriginType(flags) {\n        return new Type27(checker, flags);\n      }\n      function createIntrinsicType(kind, intrinsicName, objectFlags = 0) {\n        const type = createType(kind);\n        type.intrinsicName = intrinsicName;\n        type.objectFlags = objectFlags;\n        return type;\n      }\n      function createObjectType(objectFlags, symbol) {\n        const type = createTypeWithSymbol(524288, symbol);\n        type.objectFlags = objectFlags;\n        type.members = void 0;\n        type.properties = void 0;\n        type.callSignatures = void 0;\n        type.constructSignatures = void 0;\n        type.indexInfos = void 0;\n        return type;\n      }\n      function createTypeofType() {\n        return getUnionType(arrayFrom(typeofNEFacts.keys(), getStringLiteralType));\n      }\n      function createTypeParameter(symbol) {\n        return createTypeWithSymbol(262144, symbol);\n      }\n      function isReservedMemberName(name) {\n        return name.charCodeAt(0) === 95 && name.charCodeAt(1) === 95 && name.charCodeAt(2) !== 95 && name.charCodeAt(2) !== 64 && name.charCodeAt(2) !== 35;\n      }\n      function getNamedMembers(members) {\n        let result;\n        members.forEach((symbol, id) => {\n          if (isNamedMember(symbol, id)) {\n            (result || (result = [])).push(symbol);\n          }\n        });\n        return result || emptyArray;\n      }\n      function isNamedMember(member, escapedName) {\n        return !isReservedMemberName(escapedName) && symbolIsValue(member);\n      }\n      function getNamedOrIndexSignatureMembers(members) {\n        const result = getNamedMembers(members);\n        const index = getIndexSymbolFromSymbolTable(members);\n        return index ? concatenate(result, [index]) : result;\n      }\n      function setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos) {\n        const resolved = type;\n        resolved.members = members;\n        resolved.properties = emptyArray;\n        resolved.callSignatures = callSignatures;\n        resolved.constructSignatures = constructSignatures;\n        resolved.indexInfos = indexInfos;\n        if (members !== emptySymbols)\n          resolved.properties = getNamedMembers(members);\n        return resolved;\n      }\n      function createAnonymousType(symbol, members, callSignatures, constructSignatures, indexInfos) {\n        return setStructuredTypeMembers(\n          createObjectType(16, symbol),\n          members,\n          callSignatures,\n          constructSignatures,\n          indexInfos\n        );\n      }\n      function getResolvedTypeWithoutAbstractConstructSignatures(type) {\n        if (type.constructSignatures.length === 0)\n          return type;\n        if (type.objectTypeWithoutAbstractConstructSignatures)\n          return type.objectTypeWithoutAbstractConstructSignatures;\n        const constructSignatures = filter(type.constructSignatures, (signature) => !(signature.flags & 4));\n        if (type.constructSignatures === constructSignatures)\n          return type;\n        const typeCopy = createAnonymousType(\n          type.symbol,\n          type.members,\n          type.callSignatures,\n          some(constructSignatures) ? constructSignatures : emptyArray,\n          type.indexInfos\n        );\n        type.objectTypeWithoutAbstractConstructSignatures = typeCopy;\n        typeCopy.objectTypeWithoutAbstractConstructSignatures = typeCopy;\n        return typeCopy;\n      }\n      function forEachSymbolTableInScope(enclosingDeclaration, callback) {\n        let result;\n        for (let location = enclosingDeclaration; location; location = location.parent) {\n          if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) {\n            if (result = callback(\n              location.locals,\n              /*ignoreQualification*/\n              void 0,\n              /*isLocalNameLookup*/\n              true,\n              location\n            )) {\n              return result;\n            }\n          }\n          switch (location.kind) {\n            case 308:\n              if (!isExternalOrCommonJsModule(location)) {\n                break;\n              }\n            case 264:\n              const sym = getSymbolOfDeclaration(location);\n              if (result = callback(\n                (sym == null ? void 0 : sym.exports) || emptySymbols,\n                /*ignoreQualification*/\n                void 0,\n                /*isLocalNameLookup*/\n                true,\n                location\n              )) {\n                return result;\n              }\n              break;\n            case 260:\n            case 228:\n            case 261:\n              let table;\n              (getSymbolOfDeclaration(location).members || emptySymbols).forEach((memberSymbol, key) => {\n                if (memberSymbol.flags & (788968 & ~67108864)) {\n                  (table || (table = createSymbolTable())).set(key, memberSymbol);\n                }\n              });\n              if (table && (result = callback(\n                table,\n                /*ignoreQualification*/\n                void 0,\n                /*isLocalNameLookup*/\n                false,\n                location\n              ))) {\n                return result;\n              }\n              break;\n          }\n        }\n        return callback(\n          globals,\n          /*ignoreQualification*/\n          void 0,\n          /*isLocalNameLookup*/\n          true\n        );\n      }\n      function getQualifiedLeftMeaning(rightMeaning) {\n        return rightMeaning === 111551 ? 111551 : 1920;\n      }\n      function getAccessibleSymbolChain(symbol, enclosingDeclaration, meaning, useOnlyExternalAliasing, visitedSymbolTablesMap = /* @__PURE__ */ new Map()) {\n        if (!(symbol && !isPropertyOrMethodDeclarationSymbol(symbol))) {\n          return void 0;\n        }\n        const links = getSymbolLinks(symbol);\n        const cache = links.accessibleChainCache || (links.accessibleChainCache = /* @__PURE__ */ new Map());\n        const firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, (_, __, ___, node) => node);\n        const key = `${useOnlyExternalAliasing ? 0 : 1}|${firstRelevantLocation && getNodeId(firstRelevantLocation)}|${meaning}`;\n        if (cache.has(key)) {\n          return cache.get(key);\n        }\n        const id = getSymbolId(symbol);\n        let visitedSymbolTables = visitedSymbolTablesMap.get(id);\n        if (!visitedSymbolTables) {\n          visitedSymbolTablesMap.set(id, visitedSymbolTables = []);\n        }\n        const result = forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable);\n        cache.set(key, result);\n        return result;\n        function getAccessibleSymbolChainFromSymbolTable(symbols, ignoreQualification, isLocalNameLookup) {\n          if (!pushIfUnique(visitedSymbolTables, symbols)) {\n            return void 0;\n          }\n          const result2 = trySymbolTable(symbols, ignoreQualification, isLocalNameLookup);\n          visitedSymbolTables.pop();\n          return result2;\n        }\n        function canQualifySymbol(symbolFromSymbolTable, meaning2) {\n          return !needsQualification(symbolFromSymbolTable, enclosingDeclaration, meaning2) || // If symbol needs qualification, make sure that parent is accessible, if it is then this symbol is accessible too\n          !!getAccessibleSymbolChain(symbolFromSymbolTable.parent, enclosingDeclaration, getQualifiedLeftMeaning(meaning2), useOnlyExternalAliasing, visitedSymbolTablesMap);\n        }\n        function isAccessible(symbolFromSymbolTable, resolvedAliasSymbol, ignoreQualification) {\n          return (symbol === (resolvedAliasSymbol || symbolFromSymbolTable) || getMergedSymbol(symbol) === getMergedSymbol(resolvedAliasSymbol || symbolFromSymbolTable)) && // if the symbolFromSymbolTable is not external module (it could be if it was determined as ambient external module and would be in globals table)\n          // and if symbolFromSymbolTable or alias resolution matches the symbol,\n          // check the symbol can be qualified, it is only then this symbol is accessible\n          !some(symbolFromSymbolTable.declarations, hasNonGlobalAugmentationExternalModuleSymbol) && (ignoreQualification || canQualifySymbol(getMergedSymbol(symbolFromSymbolTable), meaning));\n        }\n        function trySymbolTable(symbols, ignoreQualification, isLocalNameLookup) {\n          if (isAccessible(\n            symbols.get(symbol.escapedName),\n            /*resolvedAliasSymbol*/\n            void 0,\n            ignoreQualification\n          )) {\n            return [symbol];\n          }\n          const result2 = forEachEntry(symbols, (symbolFromSymbolTable) => {\n            if (symbolFromSymbolTable.flags & 2097152 && symbolFromSymbolTable.escapedName !== \"export=\" && symbolFromSymbolTable.escapedName !== \"default\" && !(isUMDExportSymbol(symbolFromSymbolTable) && enclosingDeclaration && isExternalModule(getSourceFileOfNode(enclosingDeclaration))) && (!useOnlyExternalAliasing || some(symbolFromSymbolTable.declarations, isExternalModuleImportEqualsDeclaration)) && (isLocalNameLookup ? !some(symbolFromSymbolTable.declarations, isNamespaceReexportDeclaration) : true) && (ignoreQualification || !getDeclarationOfKind(\n              symbolFromSymbolTable,\n              278\n              /* ExportSpecifier */\n            ))) {\n              const resolvedImportedSymbol = resolveAlias(symbolFromSymbolTable);\n              const candidate = getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification);\n              if (candidate) {\n                return candidate;\n              }\n            }\n            if (symbolFromSymbolTable.escapedName === symbol.escapedName && symbolFromSymbolTable.exportSymbol) {\n              if (isAccessible(\n                getMergedSymbol(symbolFromSymbolTable.exportSymbol),\n                /*aliasSymbol*/\n                void 0,\n                ignoreQualification\n              )) {\n                return [symbol];\n              }\n            }\n          });\n          return result2 || (symbols === globals ? getCandidateListForSymbol(globalThisSymbol, globalThisSymbol, ignoreQualification) : void 0);\n        }\n        function getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification) {\n          if (isAccessible(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification)) {\n            return [symbolFromSymbolTable];\n          }\n          const candidateTable = getExportsOfSymbol(resolvedImportedSymbol);\n          const accessibleSymbolsFromExports = candidateTable && getAccessibleSymbolChainFromSymbolTable(\n            candidateTable,\n            /*ignoreQualification*/\n            true\n          );\n          if (accessibleSymbolsFromExports && canQualifySymbol(symbolFromSymbolTable, getQualifiedLeftMeaning(meaning))) {\n            return [symbolFromSymbolTable].concat(accessibleSymbolsFromExports);\n          }\n        }\n      }\n      function needsQualification(symbol, enclosingDeclaration, meaning) {\n        let qualify = false;\n        forEachSymbolTableInScope(enclosingDeclaration, (symbolTable) => {\n          let symbolFromSymbolTable = getMergedSymbol(symbolTable.get(symbol.escapedName));\n          if (!symbolFromSymbolTable) {\n            return false;\n          }\n          if (symbolFromSymbolTable === symbol) {\n            return true;\n          }\n          const shouldResolveAlias = symbolFromSymbolTable.flags & 2097152 && !getDeclarationOfKind(\n            symbolFromSymbolTable,\n            278\n            /* ExportSpecifier */\n          );\n          symbolFromSymbolTable = shouldResolveAlias ? resolveAlias(symbolFromSymbolTable) : symbolFromSymbolTable;\n          const flags = shouldResolveAlias ? getAllSymbolFlags(symbolFromSymbolTable) : symbolFromSymbolTable.flags;\n          if (flags & meaning) {\n            qualify = true;\n            return true;\n          }\n          return false;\n        });\n        return qualify;\n      }\n      function isPropertyOrMethodDeclarationSymbol(symbol) {\n        if (symbol.declarations && symbol.declarations.length) {\n          for (const declaration of symbol.declarations) {\n            switch (declaration.kind) {\n              case 169:\n              case 171:\n              case 174:\n              case 175:\n                continue;\n              default:\n                return false;\n            }\n          }\n          return true;\n        }\n        return false;\n      }\n      function isTypeSymbolAccessible(typeSymbol, enclosingDeclaration) {\n        const access = isSymbolAccessibleWorker(\n          typeSymbol,\n          enclosingDeclaration,\n          788968,\n          /*shouldComputeAliasesToMakeVisible*/\n          false,\n          /*allowModules*/\n          true\n        );\n        return access.accessibility === 0;\n      }\n      function isValueSymbolAccessible(typeSymbol, enclosingDeclaration) {\n        const access = isSymbolAccessibleWorker(\n          typeSymbol,\n          enclosingDeclaration,\n          111551,\n          /*shouldComputeAliasesToMakeVisible*/\n          false,\n          /*allowModules*/\n          true\n        );\n        return access.accessibility === 0;\n      }\n      function isSymbolAccessibleByFlags(typeSymbol, enclosingDeclaration, flags) {\n        const access = isSymbolAccessibleWorker(\n          typeSymbol,\n          enclosingDeclaration,\n          flags,\n          /*shouldComputeAliasesToMakeVisible*/\n          false,\n          /*allowModules*/\n          false\n        );\n        return access.accessibility === 0;\n      }\n      function isAnySymbolAccessible(symbols, enclosingDeclaration, initialSymbol, meaning, shouldComputeAliasesToMakeVisible, allowModules) {\n        if (!length(symbols))\n          return;\n        let hadAccessibleChain;\n        let earlyModuleBail = false;\n        for (const symbol of symbols) {\n          const accessibleSymbolChain = getAccessibleSymbolChain(\n            symbol,\n            enclosingDeclaration,\n            meaning,\n            /*useOnlyExternalAliasing*/\n            false\n          );\n          if (accessibleSymbolChain) {\n            hadAccessibleChain = symbol;\n            const hasAccessibleDeclarations = hasVisibleDeclarations(accessibleSymbolChain[0], shouldComputeAliasesToMakeVisible);\n            if (hasAccessibleDeclarations) {\n              return hasAccessibleDeclarations;\n            }\n          }\n          if (allowModules) {\n            if (some(symbol.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n              if (shouldComputeAliasesToMakeVisible) {\n                earlyModuleBail = true;\n                continue;\n              }\n              return {\n                accessibility: 0\n                /* Accessible */\n              };\n            }\n          }\n          const containers = getContainersOfSymbol(symbol, enclosingDeclaration, meaning);\n          const parentResult = isAnySymbolAccessible(containers, enclosingDeclaration, initialSymbol, initialSymbol === symbol ? getQualifiedLeftMeaning(meaning) : meaning, shouldComputeAliasesToMakeVisible, allowModules);\n          if (parentResult) {\n            return parentResult;\n          }\n        }\n        if (earlyModuleBail) {\n          return {\n            accessibility: 0\n            /* Accessible */\n          };\n        }\n        if (hadAccessibleChain) {\n          return {\n            accessibility: 1,\n            errorSymbolName: symbolToString(initialSymbol, enclosingDeclaration, meaning),\n            errorModuleName: hadAccessibleChain !== initialSymbol ? symbolToString(\n              hadAccessibleChain,\n              enclosingDeclaration,\n              1920\n              /* Namespace */\n            ) : void 0\n          };\n        }\n      }\n      function isSymbolAccessible(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible) {\n        return isSymbolAccessibleWorker(\n          symbol,\n          enclosingDeclaration,\n          meaning,\n          shouldComputeAliasesToMakeVisible,\n          /*allowModules*/\n          true\n        );\n      }\n      function isSymbolAccessibleWorker(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible, allowModules) {\n        if (symbol && enclosingDeclaration) {\n          const result = isAnySymbolAccessible([symbol], enclosingDeclaration, symbol, meaning, shouldComputeAliasesToMakeVisible, allowModules);\n          if (result) {\n            return result;\n          }\n          const symbolExternalModule = forEach(symbol.declarations, getExternalModuleContainer);\n          if (symbolExternalModule) {\n            const enclosingExternalModule = getExternalModuleContainer(enclosingDeclaration);\n            if (symbolExternalModule !== enclosingExternalModule) {\n              return {\n                accessibility: 2,\n                errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning),\n                errorModuleName: symbolToString(symbolExternalModule),\n                errorNode: isInJSFile(enclosingDeclaration) ? enclosingDeclaration : void 0\n              };\n            }\n          }\n          return {\n            accessibility: 1,\n            errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning)\n          };\n        }\n        return {\n          accessibility: 0\n          /* Accessible */\n        };\n      }\n      function getExternalModuleContainer(declaration) {\n        const node = findAncestor(declaration, hasExternalModuleSymbol);\n        return node && getSymbolOfDeclaration(node);\n      }\n      function hasExternalModuleSymbol(declaration) {\n        return isAmbientModule(declaration) || declaration.kind === 308 && isExternalOrCommonJsModule(declaration);\n      }\n      function hasNonGlobalAugmentationExternalModuleSymbol(declaration) {\n        return isModuleWithStringLiteralName(declaration) || declaration.kind === 308 && isExternalOrCommonJsModule(declaration);\n      }\n      function hasVisibleDeclarations(symbol, shouldComputeAliasToMakeVisible) {\n        let aliasesToMakeVisible;\n        if (!every(filter(\n          symbol.declarations,\n          (d) => d.kind !== 79\n          /* Identifier */\n        ), getIsDeclarationVisible)) {\n          return void 0;\n        }\n        return { accessibility: 0, aliasesToMakeVisible };\n        function getIsDeclarationVisible(declaration) {\n          var _a22, _b3;\n          if (!isDeclarationVisible(declaration)) {\n            const anyImportSyntax = getAnyImportSyntax(declaration);\n            if (anyImportSyntax && !hasSyntacticModifier(\n              anyImportSyntax,\n              1\n              /* Export */\n            ) && // import clause without export\n            isDeclarationVisible(anyImportSyntax.parent)) {\n              return addVisibleAlias(declaration, anyImportSyntax);\n            } else if (isVariableDeclaration(declaration) && isVariableStatement(declaration.parent.parent) && !hasSyntacticModifier(\n              declaration.parent.parent,\n              1\n              /* Export */\n            ) && // unexported variable statement\n            isDeclarationVisible(declaration.parent.parent.parent)) {\n              return addVisibleAlias(declaration, declaration.parent.parent);\n            } else if (isLateVisibilityPaintedStatement(declaration) && !hasSyntacticModifier(\n              declaration,\n              1\n              /* Export */\n            ) && isDeclarationVisible(declaration.parent)) {\n              return addVisibleAlias(declaration, declaration);\n            } else if (isBindingElement(declaration)) {\n              if (symbol.flags & 2097152 && isInJSFile(declaration) && ((_a22 = declaration.parent) == null ? void 0 : _a22.parent) && isVariableDeclaration(declaration.parent.parent) && ((_b3 = declaration.parent.parent.parent) == null ? void 0 : _b3.parent) && isVariableStatement(declaration.parent.parent.parent.parent) && !hasSyntacticModifier(\n                declaration.parent.parent.parent.parent,\n                1\n                /* Export */\n              ) && declaration.parent.parent.parent.parent.parent && isDeclarationVisible(declaration.parent.parent.parent.parent.parent)) {\n                return addVisibleAlias(declaration, declaration.parent.parent.parent.parent);\n              } else if (symbol.flags & 2) {\n                const variableStatement = findAncestor(declaration, isVariableStatement);\n                if (hasSyntacticModifier(\n                  variableStatement,\n                  1\n                  /* Export */\n                )) {\n                  return true;\n                }\n                if (!isDeclarationVisible(variableStatement.parent)) {\n                  return false;\n                }\n                return addVisibleAlias(declaration, variableStatement);\n              }\n            }\n            return false;\n          }\n          return true;\n        }\n        function addVisibleAlias(declaration, aliasingStatement) {\n          if (shouldComputeAliasToMakeVisible) {\n            getNodeLinks(declaration).isVisible = true;\n            aliasesToMakeVisible = appendIfUnique(aliasesToMakeVisible, aliasingStatement);\n          }\n          return true;\n        }\n      }\n      function isEntityNameVisible(entityName, enclosingDeclaration) {\n        let meaning;\n        if (entityName.parent.kind === 183 || entityName.parent.kind === 230 && !isPartOfTypeNode(entityName.parent) || entityName.parent.kind === 164) {\n          meaning = 111551 | 1048576;\n        } else if (entityName.kind === 163 || entityName.kind === 208 || entityName.parent.kind === 268) {\n          meaning = 1920;\n        } else {\n          meaning = 788968;\n        }\n        const firstIdentifier = getFirstIdentifier(entityName);\n        const symbol = resolveName(\n          enclosingDeclaration,\n          firstIdentifier.escapedText,\n          meaning,\n          /*nodeNotFoundErrorMessage*/\n          void 0,\n          /*nameArg*/\n          void 0,\n          /*isUse*/\n          false\n        );\n        if (symbol && symbol.flags & 262144 && meaning & 788968) {\n          return {\n            accessibility: 0\n            /* Accessible */\n          };\n        }\n        if (!symbol && isThisIdentifier(firstIdentifier) && isSymbolAccessible(\n          getSymbolOfDeclaration(getThisContainer(\n            firstIdentifier,\n            /*includeArrowFunctions*/\n            false,\n            /*includeClassComputedPropertyName*/\n            false\n          )),\n          firstIdentifier,\n          meaning,\n          /*computeAliases*/\n          false\n        ).accessibility === 0) {\n          return {\n            accessibility: 0\n            /* Accessible */\n          };\n        }\n        return symbol && hasVisibleDeclarations(\n          symbol,\n          /*shouldComputeAliasToMakeVisible*/\n          true\n        ) || {\n          accessibility: 1,\n          errorSymbolName: getTextOfNode(firstIdentifier),\n          errorNode: firstIdentifier\n        };\n      }\n      function symbolToString(symbol, enclosingDeclaration, meaning, flags = 4, writer) {\n        let nodeFlags = 70221824;\n        if (flags & 2) {\n          nodeFlags |= 128;\n        }\n        if (flags & 1) {\n          nodeFlags |= 512;\n        }\n        if (flags & 8) {\n          nodeFlags |= 16384;\n        }\n        if (flags & 32) {\n          nodeFlags |= 134217728;\n        }\n        if (flags & 16) {\n          nodeFlags |= 1073741824;\n        }\n        const builder = flags & 4 ? nodeBuilder.symbolToNode : nodeBuilder.symbolToEntityName;\n        return writer ? symbolToStringWorker(writer).getText() : usingSingleLineStringWriter(symbolToStringWorker);\n        function symbolToStringWorker(writer2) {\n          const entity = builder(symbol, meaning, enclosingDeclaration, nodeFlags);\n          const printer = (enclosingDeclaration == null ? void 0 : enclosingDeclaration.kind) === 308 ? createPrinterWithRemoveCommentsNeverAsciiEscape() : createPrinterWithRemoveComments();\n          const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n          printer.writeNode(\n            4,\n            entity,\n            /*sourceFile*/\n            sourceFile,\n            writer2\n          );\n          return writer2;\n        }\n      }\n      function signatureToString(signature, enclosingDeclaration, flags = 0, kind, writer) {\n        return writer ? signatureToStringWorker(writer).getText() : usingSingleLineStringWriter(signatureToStringWorker);\n        function signatureToStringWorker(writer2) {\n          let sigOutput;\n          if (flags & 262144) {\n            sigOutput = kind === 1 ? 182 : 181;\n          } else {\n            sigOutput = kind === 1 ? 177 : 176;\n          }\n          const sig = nodeBuilder.signatureToSignatureDeclaration(\n            signature,\n            sigOutput,\n            enclosingDeclaration,\n            toNodeBuilderFlags(flags) | 70221824 | 512\n            /* WriteTypeParametersInQualifiedName */\n          );\n          const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon();\n          const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n          printer.writeNode(\n            4,\n            sig,\n            /*sourceFile*/\n            sourceFile,\n            getTrailingSemicolonDeferringWriter(writer2)\n          );\n          return writer2;\n        }\n      }\n      function typeToString(type, enclosingDeclaration, flags = 1048576 | 16384, writer = createTextWriter(\"\")) {\n        const noTruncation = compilerOptions.noErrorTruncation || flags & 1;\n        const typeNode = nodeBuilder.typeToTypeNode(type, enclosingDeclaration, toNodeBuilderFlags(flags) | 70221824 | (noTruncation ? 1 : 0));\n        if (typeNode === void 0)\n          return Debug2.fail(\"should always get typenode\");\n        const printer = type !== unresolvedType ? createPrinterWithRemoveComments() : createPrinterWithDefaults();\n        const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n        printer.writeNode(\n          4,\n          typeNode,\n          /*sourceFile*/\n          sourceFile,\n          writer\n        );\n        const result = writer.getText();\n        const maxLength2 = noTruncation ? noTruncationMaximumTruncationLength * 2 : defaultMaximumTruncationLength * 2;\n        if (maxLength2 && result && result.length >= maxLength2) {\n          return result.substr(0, maxLength2 - \"...\".length) + \"...\";\n        }\n        return result;\n      }\n      function getTypeNamesForErrorDisplay(left, right) {\n        let leftStr = symbolValueDeclarationIsContextSensitive(left.symbol) ? typeToString(left, left.symbol.valueDeclaration) : typeToString(left);\n        let rightStr = symbolValueDeclarationIsContextSensitive(right.symbol) ? typeToString(right, right.symbol.valueDeclaration) : typeToString(right);\n        if (leftStr === rightStr) {\n          leftStr = getTypeNameForErrorDisplay(left);\n          rightStr = getTypeNameForErrorDisplay(right);\n        }\n        return [leftStr, rightStr];\n      }\n      function getTypeNameForErrorDisplay(type) {\n        return typeToString(\n          type,\n          /*enclosingDeclaration*/\n          void 0,\n          64\n          /* UseFullyQualifiedType */\n        );\n      }\n      function symbolValueDeclarationIsContextSensitive(symbol) {\n        return symbol && !!symbol.valueDeclaration && isExpression(symbol.valueDeclaration) && !isContextSensitive(symbol.valueDeclaration);\n      }\n      function toNodeBuilderFlags(flags = 0) {\n        return flags & 848330091;\n      }\n      function isClassInstanceSide(type) {\n        return !!type.symbol && !!(type.symbol.flags & 32) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || !!(type.flags & 524288) && !!(getObjectFlags(type) & 16777216));\n      }\n      function createNodeBuilder() {\n        return {\n          typeToTypeNode: (type, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => typeToTypeNodeHelper(type, context)),\n          indexInfoToIndexSignatureDeclaration: (indexInfo, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => indexInfoToIndexSignatureDeclarationHelper(\n            indexInfo,\n            context,\n            /*typeNode*/\n            void 0\n          )),\n          signatureToSignatureDeclaration: (signature, kind, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => signatureToSignatureDeclarationHelper(signature, kind, context)),\n          symbolToEntityName: (symbol, meaning, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToName(\n            symbol,\n            context,\n            meaning,\n            /*expectsIdentifier*/\n            false\n          )),\n          symbolToExpression: (symbol, meaning, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToExpression(symbol, context, meaning)),\n          symbolToTypeParameterDeclarations: (symbol, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => typeParametersToTypeParameterDeclarations(symbol, context)),\n          symbolToParameterDeclaration: (symbol, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToParameterDeclaration(symbol, context)),\n          typeParameterToDeclaration: (parameter, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => typeParameterToDeclaration(parameter, context)),\n          symbolTableToDeclarationStatements: (symbolTable, enclosingDeclaration, flags, tracker, bundled) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolTableToDeclarationStatements(symbolTable, context, bundled)),\n          symbolToNode: (symbol, meaning, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToNode(symbol, context, meaning))\n        };\n        function symbolToNode(symbol, context, meaning) {\n          if (context.flags & 1073741824) {\n            if (symbol.valueDeclaration) {\n              const name = getNameOfDeclaration(symbol.valueDeclaration);\n              if (name && isComputedPropertyName(name))\n                return name;\n            }\n            const nameType = getSymbolLinks(symbol).nameType;\n            if (nameType && nameType.flags & (1024 | 8192)) {\n              context.enclosingDeclaration = nameType.symbol.valueDeclaration;\n              return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, meaning));\n            }\n          }\n          return symbolToExpression(symbol, context, meaning);\n        }\n        function withContext(enclosingDeclaration, flags, tracker, cb) {\n          Debug2.assert(enclosingDeclaration === void 0 || (enclosingDeclaration.flags & 8) === 0);\n          const moduleResolverHost = (tracker == null ? void 0 : tracker.trackSymbol) ? tracker.moduleResolverHost : flags & 134217728 ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : void 0;\n          const context = {\n            enclosingDeclaration,\n            flags: flags || 0,\n            tracker: void 0,\n            encounteredError: false,\n            reportedDiagnostic: false,\n            visitedTypes: void 0,\n            symbolDepth: void 0,\n            inferTypeParameters: void 0,\n            approximateLength: 0\n          };\n          context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost);\n          const resultingNode = cb(context);\n          if (context.truncating && context.flags & 1) {\n            context.tracker.reportTruncationError();\n          }\n          return context.encounteredError ? void 0 : resultingNode;\n        }\n        function checkTruncationLength(context) {\n          if (context.truncating)\n            return context.truncating;\n          return context.truncating = context.approximateLength > (context.flags & 1 ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength);\n        }\n        function typeToTypeNodeHelper(type, context) {\n          const savedFlags = context.flags;\n          const typeNode = typeToTypeNodeWorker(type, context);\n          context.flags = savedFlags;\n          return typeNode;\n        }\n        function typeToTypeNodeWorker(type, context) {\n          var _a22, _b3;\n          if (cancellationToken && cancellationToken.throwIfCancellationRequested) {\n            cancellationToken.throwIfCancellationRequested();\n          }\n          const inTypeAlias = context.flags & 8388608;\n          context.flags &= ~8388608;\n          if (!type) {\n            if (!(context.flags & 262144)) {\n              context.encounteredError = true;\n              return void 0;\n            }\n            context.approximateLength += 3;\n            return factory.createKeywordTypeNode(\n              131\n              /* AnyKeyword */\n            );\n          }\n          if (!(context.flags & 536870912)) {\n            type = getReducedType(type);\n          }\n          if (type.flags & 1) {\n            if (type.aliasSymbol) {\n              return factory.createTypeReferenceNode(symbolToEntityNameNode(type.aliasSymbol), mapToTypeNodes(type.aliasTypeArguments, context));\n            }\n            if (type === unresolvedType) {\n              return addSyntheticLeadingComment(factory.createKeywordTypeNode(\n                131\n                /* AnyKeyword */\n              ), 3, \"unresolved\");\n            }\n            context.approximateLength += 3;\n            return factory.createKeywordTypeNode(\n              type === intrinsicMarkerType ? 139 : 131\n              /* AnyKeyword */\n            );\n          }\n          if (type.flags & 2) {\n            return factory.createKeywordTypeNode(\n              157\n              /* UnknownKeyword */\n            );\n          }\n          if (type.flags & 4) {\n            context.approximateLength += 6;\n            return factory.createKeywordTypeNode(\n              152\n              /* StringKeyword */\n            );\n          }\n          if (type.flags & 8) {\n            context.approximateLength += 6;\n            return factory.createKeywordTypeNode(\n              148\n              /* NumberKeyword */\n            );\n          }\n          if (type.flags & 64) {\n            context.approximateLength += 6;\n            return factory.createKeywordTypeNode(\n              160\n              /* BigIntKeyword */\n            );\n          }\n          if (type.flags & 16 && !type.aliasSymbol) {\n            context.approximateLength += 7;\n            return factory.createKeywordTypeNode(\n              134\n              /* BooleanKeyword */\n            );\n          }\n          if (type.flags & 1056) {\n            if (type.symbol.flags & 8) {\n              const parentSymbol = getParentOfSymbol(type.symbol);\n              const parentName = symbolToTypeNode(\n                parentSymbol,\n                context,\n                788968\n                /* Type */\n              );\n              if (getDeclaredTypeOfSymbol(parentSymbol) === type) {\n                return parentName;\n              }\n              const memberName = symbolName(type.symbol);\n              if (isIdentifierText(\n                memberName,\n                0\n                /* ES3 */\n              )) {\n                return appendReferenceToType(\n                  parentName,\n                  factory.createTypeReferenceNode(\n                    memberName,\n                    /*typeArguments*/\n                    void 0\n                  )\n                );\n              }\n              if (isImportTypeNode(parentName)) {\n                parentName.isTypeOf = true;\n                return factory.createIndexedAccessTypeNode(parentName, factory.createLiteralTypeNode(factory.createStringLiteral(memberName)));\n              } else if (isTypeReferenceNode(parentName)) {\n                return factory.createIndexedAccessTypeNode(factory.createTypeQueryNode(parentName.typeName), factory.createLiteralTypeNode(factory.createStringLiteral(memberName)));\n              } else {\n                return Debug2.fail(\"Unhandled type node kind returned from `symbolToTypeNode`.\");\n              }\n            }\n            return symbolToTypeNode(\n              type.symbol,\n              context,\n              788968\n              /* Type */\n            );\n          }\n          if (type.flags & 128) {\n            context.approximateLength += type.value.length + 2;\n            return factory.createLiteralTypeNode(setEmitFlags(\n              factory.createStringLiteral(type.value, !!(context.flags & 268435456)),\n              33554432\n              /* NoAsciiEscaping */\n            ));\n          }\n          if (type.flags & 256) {\n            const value = type.value;\n            context.approximateLength += (\"\" + value).length;\n            return factory.createLiteralTypeNode(value < 0 ? factory.createPrefixUnaryExpression(40, factory.createNumericLiteral(-value)) : factory.createNumericLiteral(value));\n          }\n          if (type.flags & 2048) {\n            context.approximateLength += pseudoBigIntToString(type.value).length + 1;\n            return factory.createLiteralTypeNode(factory.createBigIntLiteral(type.value));\n          }\n          if (type.flags & 512) {\n            context.approximateLength += type.intrinsicName.length;\n            return factory.createLiteralTypeNode(type.intrinsicName === \"true\" ? factory.createTrue() : factory.createFalse());\n          }\n          if (type.flags & 8192) {\n            if (!(context.flags & 1048576)) {\n              if (isValueSymbolAccessible(type.symbol, context.enclosingDeclaration)) {\n                context.approximateLength += 6;\n                return symbolToTypeNode(\n                  type.symbol,\n                  context,\n                  111551\n                  /* Value */\n                );\n              }\n              if (context.tracker.reportInaccessibleUniqueSymbolError) {\n                context.tracker.reportInaccessibleUniqueSymbolError();\n              }\n            }\n            context.approximateLength += 13;\n            return factory.createTypeOperatorNode(156, factory.createKeywordTypeNode(\n              153\n              /* SymbolKeyword */\n            ));\n          }\n          if (type.flags & 16384) {\n            context.approximateLength += 4;\n            return factory.createKeywordTypeNode(\n              114\n              /* VoidKeyword */\n            );\n          }\n          if (type.flags & 32768) {\n            context.approximateLength += 9;\n            return factory.createKeywordTypeNode(\n              155\n              /* UndefinedKeyword */\n            );\n          }\n          if (type.flags & 65536) {\n            context.approximateLength += 4;\n            return factory.createLiteralTypeNode(factory.createNull());\n          }\n          if (type.flags & 131072) {\n            context.approximateLength += 5;\n            return factory.createKeywordTypeNode(\n              144\n              /* NeverKeyword */\n            );\n          }\n          if (type.flags & 4096) {\n            context.approximateLength += 6;\n            return factory.createKeywordTypeNode(\n              153\n              /* SymbolKeyword */\n            );\n          }\n          if (type.flags & 67108864) {\n            context.approximateLength += 6;\n            return factory.createKeywordTypeNode(\n              149\n              /* ObjectKeyword */\n            );\n          }\n          if (isThisTypeParameter(type)) {\n            if (context.flags & 4194304) {\n              if (!context.encounteredError && !(context.flags & 32768)) {\n                context.encounteredError = true;\n              }\n              (_b3 = (_a22 = context.tracker).reportInaccessibleThisError) == null ? void 0 : _b3.call(_a22);\n            }\n            context.approximateLength += 4;\n            return factory.createThisTypeNode();\n          }\n          if (!inTypeAlias && type.aliasSymbol && (context.flags & 16384 || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) {\n            const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context);\n            if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & 32))\n              return factory.createTypeReferenceNode(factory.createIdentifier(\"\"), typeArgumentNodes);\n            if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) {\n              return factory.createArrayTypeNode(typeArgumentNodes[0]);\n            }\n            return symbolToTypeNode(type.aliasSymbol, context, 788968, typeArgumentNodes);\n          }\n          const objectFlags = getObjectFlags(type);\n          if (objectFlags & 4) {\n            Debug2.assert(!!(type.flags & 524288));\n            return type.node ? visitAndTransformType(type, typeReferenceToTypeNode) : typeReferenceToTypeNode(type);\n          }\n          if (type.flags & 262144 || objectFlags & 3) {\n            if (type.flags & 262144 && contains(context.inferTypeParameters, type)) {\n              context.approximateLength += symbolName(type.symbol).length + 6;\n              let constraintNode;\n              const constraint = getConstraintOfTypeParameter(type);\n              if (constraint) {\n                const inferredConstraint = getInferredTypeParameterConstraint(\n                  type,\n                  /*omitTypeReferences*/\n                  true\n                );\n                if (!(inferredConstraint && isTypeIdenticalTo(constraint, inferredConstraint))) {\n                  context.approximateLength += 9;\n                  constraintNode = constraint && typeToTypeNodeHelper(constraint, context);\n                }\n              }\n              return factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(type, context, constraintNode));\n            }\n            if (context.flags & 4 && type.flags & 262144 && !isTypeSymbolAccessible(type.symbol, context.enclosingDeclaration)) {\n              const name2 = typeParameterToName(type, context);\n              context.approximateLength += idText(name2).length;\n              return factory.createTypeReferenceNode(\n                factory.createIdentifier(idText(name2)),\n                /*typeArguments*/\n                void 0\n              );\n            }\n            if (type.symbol) {\n              return symbolToTypeNode(\n                type.symbol,\n                context,\n                788968\n                /* Type */\n              );\n            }\n            const name = (type === markerSuperTypeForCheck || type === markerSubTypeForCheck) && varianceTypeParameter && varianceTypeParameter.symbol ? (type === markerSubTypeForCheck ? \"sub-\" : \"super-\") + symbolName(varianceTypeParameter.symbol) : \"?\";\n            return factory.createTypeReferenceNode(\n              factory.createIdentifier(name),\n              /*typeArguments*/\n              void 0\n            );\n          }\n          if (type.flags & 1048576 && type.origin) {\n            type = type.origin;\n          }\n          if (type.flags & (1048576 | 2097152)) {\n            const types = type.flags & 1048576 ? formatUnionTypes(type.types) : type.types;\n            if (length(types) === 1) {\n              return typeToTypeNodeHelper(types[0], context);\n            }\n            const typeNodes = mapToTypeNodes(\n              types,\n              context,\n              /*isBareList*/\n              true\n            );\n            if (typeNodes && typeNodes.length > 0) {\n              return type.flags & 1048576 ? factory.createUnionTypeNode(typeNodes) : factory.createIntersectionTypeNode(typeNodes);\n            } else {\n              if (!context.encounteredError && !(context.flags & 262144)) {\n                context.encounteredError = true;\n              }\n              return void 0;\n            }\n          }\n          if (objectFlags & (16 | 32)) {\n            Debug2.assert(!!(type.flags & 524288));\n            return createAnonymousTypeNode(type);\n          }\n          if (type.flags & 4194304) {\n            const indexedType = type.type;\n            context.approximateLength += 6;\n            const indexTypeNode = typeToTypeNodeHelper(indexedType, context);\n            return factory.createTypeOperatorNode(141, indexTypeNode);\n          }\n          if (type.flags & 134217728) {\n            const texts = type.texts;\n            const types = type.types;\n            const templateHead = factory.createTemplateHead(texts[0]);\n            const templateSpans = factory.createNodeArray(\n              map(types, (t, i) => factory.createTemplateLiteralTypeSpan(\n                typeToTypeNodeHelper(t, context),\n                (i < types.length - 1 ? factory.createTemplateMiddle : factory.createTemplateTail)(texts[i + 1])\n              ))\n            );\n            context.approximateLength += 2;\n            return factory.createTemplateLiteralType(templateHead, templateSpans);\n          }\n          if (type.flags & 268435456) {\n            const typeNode = typeToTypeNodeHelper(type.type, context);\n            return symbolToTypeNode(type.symbol, context, 788968, [typeNode]);\n          }\n          if (type.flags & 8388608) {\n            const objectTypeNode = typeToTypeNodeHelper(type.objectType, context);\n            const indexTypeNode = typeToTypeNodeHelper(type.indexType, context);\n            context.approximateLength += 2;\n            return factory.createIndexedAccessTypeNode(objectTypeNode, indexTypeNode);\n          }\n          if (type.flags & 16777216) {\n            return visitAndTransformType(type, (type2) => conditionalTypeToTypeNode(type2));\n          }\n          if (type.flags & 33554432) {\n            return typeToTypeNodeHelper(type.baseType, context);\n          }\n          return Debug2.fail(\"Should be unreachable.\");\n          function conditionalTypeToTypeNode(type2) {\n            const checkTypeNode = typeToTypeNodeHelper(type2.checkType, context);\n            context.approximateLength += 15;\n            if (context.flags & 4 && type2.root.isDistributive && !(type2.checkType.flags & 262144)) {\n              const newParam = createTypeParameter(createSymbol(262144, \"T\"));\n              const name = typeParameterToName(newParam, context);\n              const newTypeVariable = factory.createTypeReferenceNode(name);\n              context.approximateLength += 37;\n              const newMapper = prependTypeMapping(type2.root.checkType, newParam, type2.mapper);\n              const saveInferTypeParameters2 = context.inferTypeParameters;\n              context.inferTypeParameters = type2.root.inferTypeParameters;\n              const extendsTypeNode2 = typeToTypeNodeHelper(instantiateType(type2.root.extendsType, newMapper), context);\n              context.inferTypeParameters = saveInferTypeParameters2;\n              const trueTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode(type2.root.node.trueType), newMapper));\n              const falseTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode(type2.root.node.falseType), newMapper));\n              return factory.createConditionalTypeNode(\n                checkTypeNode,\n                factory.createInferTypeNode(factory.createTypeParameterDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  factory.cloneNode(newTypeVariable.typeName)\n                )),\n                factory.createConditionalTypeNode(\n                  factory.createTypeReferenceNode(factory.cloneNode(name)),\n                  typeToTypeNodeHelper(type2.checkType, context),\n                  factory.createConditionalTypeNode(newTypeVariable, extendsTypeNode2, trueTypeNode2, falseTypeNode2),\n                  factory.createKeywordTypeNode(\n                    144\n                    /* NeverKeyword */\n                  )\n                ),\n                factory.createKeywordTypeNode(\n                  144\n                  /* NeverKeyword */\n                )\n              );\n            }\n            const saveInferTypeParameters = context.inferTypeParameters;\n            context.inferTypeParameters = type2.root.inferTypeParameters;\n            const extendsTypeNode = typeToTypeNodeHelper(type2.extendsType, context);\n            context.inferTypeParameters = saveInferTypeParameters;\n            const trueTypeNode = typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(type2));\n            const falseTypeNode = typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(type2));\n            return factory.createConditionalTypeNode(checkTypeNode, extendsTypeNode, trueTypeNode, falseTypeNode);\n          }\n          function typeToTypeNodeOrCircularityElision(type2) {\n            var _a32, _b22, _c;\n            if (type2.flags & 1048576) {\n              if ((_a32 = context.visitedTypes) == null ? void 0 : _a32.has(getTypeId(type2))) {\n                if (!(context.flags & 131072)) {\n                  context.encounteredError = true;\n                  (_c = (_b22 = context.tracker) == null ? void 0 : _b22.reportCyclicStructureError) == null ? void 0 : _c.call(_b22);\n                }\n                return createElidedInformationPlaceholder(context);\n              }\n              return visitAndTransformType(type2, (type3) => typeToTypeNodeHelper(type3, context));\n            }\n            return typeToTypeNodeHelper(type2, context);\n          }\n          function isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) {\n            return isMappedTypeWithKeyofConstraintDeclaration(type2) && !(getModifiersTypeFromMappedType(type2).flags & 262144);\n          }\n          function createMappedTypeNodeFromType(type2) {\n            Debug2.assert(!!(type2.flags & 524288));\n            const readonlyToken = type2.declaration.readonlyToken ? factory.createToken(type2.declaration.readonlyToken.kind) : void 0;\n            const questionToken = type2.declaration.questionToken ? factory.createToken(type2.declaration.questionToken.kind) : void 0;\n            let appropriateConstraintTypeNode;\n            let newTypeVariable;\n            if (isMappedTypeWithKeyofConstraintDeclaration(type2)) {\n              if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4) {\n                const newParam = createTypeParameter(createSymbol(262144, \"T\"));\n                const name = typeParameterToName(newParam, context);\n                newTypeVariable = factory.createTypeReferenceNode(name);\n              }\n              appropriateConstraintTypeNode = factory.createTypeOperatorNode(141, newTypeVariable || typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context));\n            } else {\n              appropriateConstraintTypeNode = typeToTypeNodeHelper(getConstraintTypeFromMappedType(type2), context);\n            }\n            const typeParameterNode = typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(type2), context, appropriateConstraintTypeNode);\n            const nameTypeNode = type2.declaration.nameType ? typeToTypeNodeHelper(getNameTypeFromMappedType(type2), context) : void 0;\n            const templateTypeNode = typeToTypeNodeHelper(removeMissingType(getTemplateTypeFromMappedType(type2), !!(getMappedTypeModifiers(type2) & 4)), context);\n            const mappedTypeNode = factory.createMappedTypeNode(\n              readonlyToken,\n              typeParameterNode,\n              nameTypeNode,\n              questionToken,\n              templateTypeNode,\n              /*members*/\n              void 0\n            );\n            context.approximateLength += 10;\n            const result = setEmitFlags(\n              mappedTypeNode,\n              1\n              /* SingleLine */\n            );\n            if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4) {\n              const originalConstraint = instantiateType(getConstraintOfTypeParameter(getTypeFromTypeNode(type2.declaration.typeParameter.constraint.type)) || unknownType, type2.mapper);\n              return factory.createConditionalTypeNode(\n                typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context),\n                factory.createInferTypeNode(factory.createTypeParameterDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  factory.cloneNode(newTypeVariable.typeName),\n                  originalConstraint.flags & 2 ? void 0 : typeToTypeNodeHelper(originalConstraint, context)\n                )),\n                result,\n                factory.createKeywordTypeNode(\n                  144\n                  /* NeverKeyword */\n                )\n              );\n            }\n            return result;\n          }\n          function createAnonymousTypeNode(type2) {\n            var _a32, _b22;\n            const typeId = type2.id;\n            const symbol = type2.symbol;\n            if (symbol) {\n              const isInstanceType = isClassInstanceSide(type2) ? 788968 : 111551;\n              if (isJSConstructor(symbol.valueDeclaration)) {\n                return symbolToTypeNode(symbol, context, isInstanceType);\n              } else if (symbol.flags & 32 && !getBaseTypeVariableOfClass(symbol) && !(symbol.valueDeclaration && isClassLike(symbol.valueDeclaration) && context.flags & 2048 && (!isClassDeclaration(symbol.valueDeclaration) || isSymbolAccessible(\n                symbol,\n                context.enclosingDeclaration,\n                isInstanceType,\n                /*computeAliases*/\n                false\n              ).accessibility !== 0)) || symbol.flags & (384 | 512) || shouldWriteTypeOfFunctionSymbol()) {\n                return symbolToTypeNode(symbol, context, isInstanceType);\n              } else if ((_a32 = context.visitedTypes) == null ? void 0 : _a32.has(typeId)) {\n                const typeAlias = getTypeAliasForTypeLiteral(type2);\n                if (typeAlias) {\n                  return symbolToTypeNode(\n                    typeAlias,\n                    context,\n                    788968\n                    /* Type */\n                  );\n                } else {\n                  return createElidedInformationPlaceholder(context);\n                }\n              } else {\n                return visitAndTransformType(type2, createTypeNodeFromObjectType);\n              }\n            } else {\n              const isInstantiationExpressionType = !!(getObjectFlags(type2) & 8388608);\n              if (isInstantiationExpressionType) {\n                const instantiationExpressionType = type2;\n                if (isTypeQueryNode(instantiationExpressionType.node)) {\n                  const typeNode = serializeExistingTypeNode(context, instantiationExpressionType.node);\n                  if (typeNode) {\n                    return typeNode;\n                  }\n                }\n                if ((_b22 = context.visitedTypes) == null ? void 0 : _b22.has(typeId)) {\n                  return createElidedInformationPlaceholder(context);\n                }\n                return visitAndTransformType(type2, createTypeNodeFromObjectType);\n              }\n              return createTypeNodeFromObjectType(type2);\n            }\n            function shouldWriteTypeOfFunctionSymbol() {\n              var _a42;\n              const isStaticMethodSymbol = !!(symbol.flags & 8192) && // typeof static method\n              some(symbol.declarations, (declaration) => isStatic(declaration));\n              const isNonLocalFunctionSymbol = !!(symbol.flags & 16) && (symbol.parent || // is exported function symbol\n              forEach(\n                symbol.declarations,\n                (declaration) => declaration.parent.kind === 308 || declaration.parent.kind === 265\n                /* ModuleBlock */\n              ));\n              if (isStaticMethodSymbol || isNonLocalFunctionSymbol) {\n                return (!!(context.flags & 4096) || ((_a42 = context.visitedTypes) == null ? void 0 : _a42.has(typeId))) && // it is type of the symbol uses itself recursively\n                (!(context.flags & 8) || isValueSymbolAccessible(symbol, context.enclosingDeclaration));\n              }\n            }\n          }\n          function visitAndTransformType(type2, transform2) {\n            var _a32, _b22;\n            const typeId = type2.id;\n            const isConstructorObject = getObjectFlags(type2) & 16 && type2.symbol && type2.symbol.flags & 32;\n            const id = getObjectFlags(type2) & 4 && type2.node ? \"N\" + getNodeId(type2.node) : type2.flags & 16777216 ? \"N\" + getNodeId(type2.root.node) : type2.symbol ? (isConstructorObject ? \"+\" : \"\") + getSymbolId(type2.symbol) : void 0;\n            if (!context.visitedTypes) {\n              context.visitedTypes = /* @__PURE__ */ new Set();\n            }\n            if (id && !context.symbolDepth) {\n              context.symbolDepth = /* @__PURE__ */ new Map();\n            }\n            const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration);\n            const key = `${getTypeId(type2)}|${context.flags}`;\n            if (links) {\n              links.serializedTypes || (links.serializedTypes = /* @__PURE__ */ new Map());\n            }\n            const cachedResult = (_a32 = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _a32.get(key);\n            if (cachedResult) {\n              if (cachedResult.truncating) {\n                context.truncating = true;\n              }\n              context.approximateLength += cachedResult.addedLength;\n              return deepCloneOrReuseNode(cachedResult.node);\n            }\n            let depth;\n            if (id) {\n              depth = context.symbolDepth.get(id) || 0;\n              if (depth > 10) {\n                return createElidedInformationPlaceholder(context);\n              }\n              context.symbolDepth.set(id, depth + 1);\n            }\n            context.visitedTypes.add(typeId);\n            const startLength = context.approximateLength;\n            const result = transform2(type2);\n            const addedLength = context.approximateLength - startLength;\n            if (!context.reportedDiagnostic && !context.encounteredError) {\n              (_b22 = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _b22.set(key, { node: result, truncating: context.truncating, addedLength });\n            }\n            context.visitedTypes.delete(typeId);\n            if (id) {\n              context.symbolDepth.set(id, depth);\n            }\n            return result;\n            function deepCloneOrReuseNode(node) {\n              if (!nodeIsSynthesized(node) && getParseTreeNode(node) === node) {\n                return node;\n              }\n              return setTextRange(factory.cloneNode(visitEachChild(node, deepCloneOrReuseNode, nullTransformationContext, deepCloneOrReuseNodes)), node);\n            }\n            function deepCloneOrReuseNodes(nodes, visitor, test, start, count) {\n              if (nodes && nodes.length === 0) {\n                return setTextRange(factory.createNodeArray(\n                  /*nodes*/\n                  void 0,\n                  nodes.hasTrailingComma\n                ), nodes);\n              }\n              return visitNodes2(nodes, visitor, test, start, count);\n            }\n          }\n          function createTypeNodeFromObjectType(type2) {\n            if (isGenericMappedType(type2) || type2.containsError) {\n              return createMappedTypeNodeFromType(type2);\n            }\n            const resolved = resolveStructuredTypeMembers(type2);\n            if (!resolved.properties.length && !resolved.indexInfos.length) {\n              if (!resolved.callSignatures.length && !resolved.constructSignatures.length) {\n                context.approximateLength += 2;\n                return setEmitFlags(\n                  factory.createTypeLiteralNode(\n                    /*members*/\n                    void 0\n                  ),\n                  1\n                  /* SingleLine */\n                );\n              }\n              if (resolved.callSignatures.length === 1 && !resolved.constructSignatures.length) {\n                const signature = resolved.callSignatures[0];\n                const signatureNode = signatureToSignatureDeclarationHelper(signature, 181, context);\n                return signatureNode;\n              }\n              if (resolved.constructSignatures.length === 1 && !resolved.callSignatures.length) {\n                const signature = resolved.constructSignatures[0];\n                const signatureNode = signatureToSignatureDeclarationHelper(signature, 182, context);\n                return signatureNode;\n              }\n            }\n            const abstractSignatures = filter(resolved.constructSignatures, (signature) => !!(signature.flags & 4));\n            if (some(abstractSignatures)) {\n              const types = map(abstractSignatures, getOrCreateTypeFromSignature);\n              const typeElementCount = resolved.callSignatures.length + (resolved.constructSignatures.length - abstractSignatures.length) + resolved.indexInfos.length + // exclude `prototype` when writing a class expression as a type literal, as per\n              // the logic in `createTypeNodesFromResolvedType`.\n              (context.flags & 2048 ? countWhere2(resolved.properties, (p) => !(p.flags & 4194304)) : length(resolved.properties));\n              if (typeElementCount) {\n                types.push(getResolvedTypeWithoutAbstractConstructSignatures(resolved));\n              }\n              return typeToTypeNodeHelper(getIntersectionType(types), context);\n            }\n            const savedFlags = context.flags;\n            context.flags |= 4194304;\n            const members = createTypeNodesFromResolvedType(resolved);\n            context.flags = savedFlags;\n            const typeLiteralNode = factory.createTypeLiteralNode(members);\n            context.approximateLength += 2;\n            setEmitFlags(\n              typeLiteralNode,\n              context.flags & 1024 ? 0 : 1\n              /* SingleLine */\n            );\n            return typeLiteralNode;\n          }\n          function typeReferenceToTypeNode(type2) {\n            let typeArguments = getTypeArguments(type2);\n            if (type2.target === globalArrayType || type2.target === globalReadonlyArrayType) {\n              if (context.flags & 2) {\n                const typeArgumentNode = typeToTypeNodeHelper(typeArguments[0], context);\n                return factory.createTypeReferenceNode(type2.target === globalArrayType ? \"Array\" : \"ReadonlyArray\", [typeArgumentNode]);\n              }\n              const elementType = typeToTypeNodeHelper(typeArguments[0], context);\n              const arrayType = factory.createArrayTypeNode(elementType);\n              return type2.target === globalArrayType ? arrayType : factory.createTypeOperatorNode(146, arrayType);\n            } else if (type2.target.objectFlags & 8) {\n              typeArguments = sameMap(typeArguments, (t, i) => removeMissingType(t, !!(type2.target.elementFlags[i] & 2)));\n              if (typeArguments.length > 0) {\n                const arity = getTypeReferenceArity(type2);\n                const tupleConstituentNodes = mapToTypeNodes(typeArguments.slice(0, arity), context);\n                if (tupleConstituentNodes) {\n                  if (type2.target.labeledElementDeclarations) {\n                    for (let i = 0; i < tupleConstituentNodes.length; i++) {\n                      const flags = type2.target.elementFlags[i];\n                      tupleConstituentNodes[i] = factory.createNamedTupleMember(\n                        flags & 12 ? factory.createToken(\n                          25\n                          /* DotDotDotToken */\n                        ) : void 0,\n                        factory.createIdentifier(unescapeLeadingUnderscores(getTupleElementLabel(type2.target.labeledElementDeclarations[i]))),\n                        flags & 2 ? factory.createToken(\n                          57\n                          /* QuestionToken */\n                        ) : void 0,\n                        flags & 4 ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]\n                      );\n                    }\n                  } else {\n                    for (let i = 0; i < Math.min(arity, tupleConstituentNodes.length); i++) {\n                      const flags = type2.target.elementFlags[i];\n                      tupleConstituentNodes[i] = flags & 12 ? factory.createRestTypeNode(flags & 4 ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]) : flags & 2 ? factory.createOptionalTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i];\n                    }\n                  }\n                  const tupleTypeNode = setEmitFlags(\n                    factory.createTupleTypeNode(tupleConstituentNodes),\n                    1\n                    /* SingleLine */\n                  );\n                  return type2.target.readonly ? factory.createTypeOperatorNode(146, tupleTypeNode) : tupleTypeNode;\n                }\n              }\n              if (context.encounteredError || context.flags & 524288) {\n                const tupleTypeNode = setEmitFlags(\n                  factory.createTupleTypeNode([]),\n                  1\n                  /* SingleLine */\n                );\n                return type2.target.readonly ? factory.createTypeOperatorNode(146, tupleTypeNode) : tupleTypeNode;\n              }\n              context.encounteredError = true;\n              return void 0;\n            } else if (context.flags & 2048 && type2.symbol.valueDeclaration && isClassLike(type2.symbol.valueDeclaration) && !isValueSymbolAccessible(type2.symbol, context.enclosingDeclaration)) {\n              return createAnonymousTypeNode(type2);\n            } else {\n              const outerTypeParameters = type2.target.outerTypeParameters;\n              let i = 0;\n              let resultType;\n              if (outerTypeParameters) {\n                const length2 = outerTypeParameters.length;\n                while (i < length2) {\n                  const start = i;\n                  const parent2 = getParentSymbolOfTypeParameter(outerTypeParameters[i]);\n                  do {\n                    i++;\n                  } while (i < length2 && getParentSymbolOfTypeParameter(outerTypeParameters[i]) === parent2);\n                  if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) {\n                    const typeArgumentSlice = mapToTypeNodes(typeArguments.slice(start, i), context);\n                    const flags2 = context.flags;\n                    context.flags |= 16;\n                    const ref = symbolToTypeNode(parent2, context, 788968, typeArgumentSlice);\n                    context.flags = flags2;\n                    resultType = !resultType ? ref : appendReferenceToType(resultType, ref);\n                  }\n                }\n              }\n              let typeArgumentNodes;\n              if (typeArguments.length > 0) {\n                const typeParameterCount = (type2.target.typeParameters || emptyArray).length;\n                typeArgumentNodes = mapToTypeNodes(typeArguments.slice(i, typeParameterCount), context);\n              }\n              const flags = context.flags;\n              context.flags |= 16;\n              const finalRef = symbolToTypeNode(type2.symbol, context, 788968, typeArgumentNodes);\n              context.flags = flags;\n              return !resultType ? finalRef : appendReferenceToType(resultType, finalRef);\n            }\n          }\n          function appendReferenceToType(root, ref) {\n            if (isImportTypeNode(root)) {\n              let typeArguments = root.typeArguments;\n              let qualifier = root.qualifier;\n              if (qualifier) {\n                if (isIdentifier(qualifier)) {\n                  if (typeArguments !== getIdentifierTypeArguments(qualifier)) {\n                    qualifier = setIdentifierTypeArguments(factory.cloneNode(qualifier), typeArguments);\n                  }\n                } else {\n                  if (typeArguments !== getIdentifierTypeArguments(qualifier.right)) {\n                    qualifier = factory.updateQualifiedName(\n                      qualifier,\n                      qualifier.left,\n                      setIdentifierTypeArguments(factory.cloneNode(qualifier.right), typeArguments)\n                    );\n                  }\n                }\n              }\n              typeArguments = ref.typeArguments;\n              const ids = getAccessStack(ref);\n              for (const id of ids) {\n                qualifier = qualifier ? factory.createQualifiedName(qualifier, id) : id;\n              }\n              return factory.updateImportTypeNode(\n                root,\n                root.argument,\n                root.assertions,\n                qualifier,\n                typeArguments,\n                root.isTypeOf\n              );\n            } else {\n              let typeArguments = root.typeArguments;\n              let typeName = root.typeName;\n              if (isIdentifier(typeName)) {\n                if (typeArguments !== getIdentifierTypeArguments(typeName)) {\n                  typeName = setIdentifierTypeArguments(factory.cloneNode(typeName), typeArguments);\n                }\n              } else {\n                if (typeArguments !== getIdentifierTypeArguments(typeName.right)) {\n                  typeName = factory.updateQualifiedName(\n                    typeName,\n                    typeName.left,\n                    setIdentifierTypeArguments(factory.cloneNode(typeName.right), typeArguments)\n                  );\n                }\n              }\n              typeArguments = ref.typeArguments;\n              const ids = getAccessStack(ref);\n              for (const id of ids) {\n                typeName = factory.createQualifiedName(typeName, id);\n              }\n              return factory.updateTypeReferenceNode(\n                root,\n                typeName,\n                typeArguments\n              );\n            }\n          }\n          function getAccessStack(ref) {\n            let state = ref.typeName;\n            const ids = [];\n            while (!isIdentifier(state)) {\n              ids.unshift(state.right);\n              state = state.left;\n            }\n            ids.unshift(state);\n            return ids;\n          }\n          function createTypeNodesFromResolvedType(resolvedType) {\n            if (checkTruncationLength(context)) {\n              return [factory.createPropertySignature(\n                /*modifiers*/\n                void 0,\n                \"...\",\n                /*questionToken*/\n                void 0,\n                /*type*/\n                void 0\n              )];\n            }\n            const typeElements = [];\n            for (const signature of resolvedType.callSignatures) {\n              typeElements.push(signatureToSignatureDeclarationHelper(signature, 176, context));\n            }\n            for (const signature of resolvedType.constructSignatures) {\n              if (signature.flags & 4)\n                continue;\n              typeElements.push(signatureToSignatureDeclarationHelper(signature, 177, context));\n            }\n            for (const info of resolvedType.indexInfos) {\n              typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFlags & 1024 ? createElidedInformationPlaceholder(context) : void 0));\n            }\n            const properties = resolvedType.properties;\n            if (!properties) {\n              return typeElements;\n            }\n            let i = 0;\n            for (const propertySymbol of properties) {\n              i++;\n              if (context.flags & 2048) {\n                if (propertySymbol.flags & 4194304) {\n                  continue;\n                }\n                if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (8 | 16) && context.tracker.reportPrivateInBaseOfClassExpression) {\n                  context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName));\n                }\n              }\n              if (checkTruncationLength(context) && i + 2 < properties.length - 1) {\n                typeElements.push(factory.createPropertySignature(\n                  /*modifiers*/\n                  void 0,\n                  `... ${properties.length - i} more ...`,\n                  /*questionToken*/\n                  void 0,\n                  /*type*/\n                  void 0\n                ));\n                addPropertyToElementList(properties[properties.length - 1], context, typeElements);\n                break;\n              }\n              addPropertyToElementList(propertySymbol, context, typeElements);\n            }\n            return typeElements.length ? typeElements : void 0;\n          }\n        }\n        function createElidedInformationPlaceholder(context) {\n          context.approximateLength += 3;\n          if (!(context.flags & 1)) {\n            return factory.createTypeReferenceNode(\n              factory.createIdentifier(\"...\"),\n              /*typeArguments*/\n              void 0\n            );\n          }\n          return factory.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          );\n        }\n        function shouldUsePlaceholderForProperty(propertySymbol, context) {\n          var _a22;\n          return !!(getCheckFlags(propertySymbol) & 8192) && (contains(context.reverseMappedStack, propertySymbol) || ((_a22 = context.reverseMappedStack) == null ? void 0 : _a22[0]) && !(getObjectFlags(last(context.reverseMappedStack).links.propertyType) & 16));\n        }\n        function addPropertyToElementList(propertySymbol, context, typeElements) {\n          var _a22;\n          const propertyIsReverseMapped = !!(getCheckFlags(propertySymbol) & 8192);\n          const propertyType = shouldUsePlaceholderForProperty(propertySymbol, context) ? anyType : getNonMissingTypeOfSymbol(propertySymbol);\n          const saveEnclosingDeclaration = context.enclosingDeclaration;\n          context.enclosingDeclaration = void 0;\n          if (context.tracker.canTrackSymbol && isLateBoundName(propertySymbol.escapedName)) {\n            if (propertySymbol.declarations) {\n              const decl = first(propertySymbol.declarations);\n              if (hasLateBindableName(decl)) {\n                if (isBinaryExpression(decl)) {\n                  const name = getNameOfDeclaration(decl);\n                  if (name && isElementAccessExpression(name) && isPropertyAccessEntityNameExpression(name.argumentExpression)) {\n                    trackComputedName(name.argumentExpression, saveEnclosingDeclaration, context);\n                  }\n                } else {\n                  trackComputedName(decl.name.expression, saveEnclosingDeclaration, context);\n                }\n              }\n            } else {\n              context.tracker.reportNonSerializableProperty(symbolToString(propertySymbol));\n            }\n          }\n          context.enclosingDeclaration = propertySymbol.valueDeclaration || ((_a22 = propertySymbol.declarations) == null ? void 0 : _a22[0]) || saveEnclosingDeclaration;\n          const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context);\n          context.enclosingDeclaration = saveEnclosingDeclaration;\n          context.approximateLength += symbolName(propertySymbol).length + 1;\n          const optionalToken = propertySymbol.flags & 16777216 ? factory.createToken(\n            57\n            /* QuestionToken */\n          ) : void 0;\n          if (propertySymbol.flags & (16 | 8192) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) {\n            const signatures = getSignaturesOfType(\n              filterType(propertyType, (t) => !(t.flags & 32768)),\n              0\n              /* Call */\n            );\n            for (const signature of signatures) {\n              const methodDeclaration = signatureToSignatureDeclarationHelper(signature, 170, context, { name: propertyName, questionToken: optionalToken });\n              typeElements.push(preserveCommentsOn(methodDeclaration));\n            }\n          } else {\n            let propertyTypeNode;\n            if (shouldUsePlaceholderForProperty(propertySymbol, context)) {\n              propertyTypeNode = createElidedInformationPlaceholder(context);\n            } else {\n              if (propertyIsReverseMapped) {\n                context.reverseMappedStack || (context.reverseMappedStack = []);\n                context.reverseMappedStack.push(propertySymbol);\n              }\n              propertyTypeNode = propertyType ? serializeTypeForDeclaration(context, propertyType, propertySymbol, saveEnclosingDeclaration) : factory.createKeywordTypeNode(\n                131\n                /* AnyKeyword */\n              );\n              if (propertyIsReverseMapped) {\n                context.reverseMappedStack.pop();\n              }\n            }\n            const modifiers = isReadonlySymbol(propertySymbol) ? [factory.createToken(\n              146\n              /* ReadonlyKeyword */\n            )] : void 0;\n            if (modifiers) {\n              context.approximateLength += 9;\n            }\n            const propertySignature = factory.createPropertySignature(\n              modifiers,\n              propertyName,\n              optionalToken,\n              propertyTypeNode\n            );\n            typeElements.push(preserveCommentsOn(propertySignature));\n          }\n          function preserveCommentsOn(node) {\n            var _a32;\n            if (some(\n              propertySymbol.declarations,\n              (d) => d.kind === 351\n              /* JSDocPropertyTag */\n            )) {\n              const d = (_a32 = propertySymbol.declarations) == null ? void 0 : _a32.find(\n                (d2) => d2.kind === 351\n                /* JSDocPropertyTag */\n              );\n              const commentText = getTextOfJSDocComment(d.comment);\n              if (commentText) {\n                setSyntheticLeadingComments(node, [{ kind: 3, text: \"*\\n * \" + commentText.replace(/\\n/g, \"\\n * \") + \"\\n \", pos: -1, end: -1, hasTrailingNewLine: true }]);\n              }\n            } else if (propertySymbol.valueDeclaration) {\n              setCommentRange(node, propertySymbol.valueDeclaration);\n            }\n            return node;\n          }\n        }\n        function mapToTypeNodes(types, context, isBareList) {\n          if (some(types)) {\n            if (checkTruncationLength(context)) {\n              if (!isBareList) {\n                return [factory.createTypeReferenceNode(\n                  \"...\",\n                  /*typeArguments*/\n                  void 0\n                )];\n              } else if (types.length > 2) {\n                return [\n                  typeToTypeNodeHelper(types[0], context),\n                  factory.createTypeReferenceNode(\n                    `... ${types.length - 2} more ...`,\n                    /*typeArguments*/\n                    void 0\n                  ),\n                  typeToTypeNodeHelper(types[types.length - 1], context)\n                ];\n              }\n            }\n            const mayHaveNameCollisions = !(context.flags & 64);\n            const seenNames = mayHaveNameCollisions ? createUnderscoreEscapedMultiMap() : void 0;\n            const result = [];\n            let i = 0;\n            for (const type of types) {\n              i++;\n              if (checkTruncationLength(context) && i + 2 < types.length - 1) {\n                result.push(factory.createTypeReferenceNode(\n                  `... ${types.length - i} more ...`,\n                  /*typeArguments*/\n                  void 0\n                ));\n                const typeNode2 = typeToTypeNodeHelper(types[types.length - 1], context);\n                if (typeNode2) {\n                  result.push(typeNode2);\n                }\n                break;\n              }\n              context.approximateLength += 2;\n              const typeNode = typeToTypeNodeHelper(type, context);\n              if (typeNode) {\n                result.push(typeNode);\n                if (seenNames && isIdentifierTypeReference(typeNode)) {\n                  seenNames.add(typeNode.typeName.escapedText, [type, result.length - 1]);\n                }\n              }\n            }\n            if (seenNames) {\n              const saveContextFlags = context.flags;\n              context.flags |= 64;\n              seenNames.forEach((types2) => {\n                if (!arrayIsHomogeneous(types2, ([a], [b]) => typesAreSameReference(a, b))) {\n                  for (const [type, resultIndex] of types2) {\n                    result[resultIndex] = typeToTypeNodeHelper(type, context);\n                  }\n                }\n              });\n              context.flags = saveContextFlags;\n            }\n            return result;\n          }\n        }\n        function typesAreSameReference(a, b) {\n          return a === b || !!a.symbol && a.symbol === b.symbol || !!a.aliasSymbol && a.aliasSymbol === b.aliasSymbol;\n        }\n        function indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, typeNode) {\n          const name = getNameFromIndexInfo(indexInfo) || \"x\";\n          const indexerTypeNode = typeToTypeNodeHelper(indexInfo.keyType, context);\n          const indexingParameter = factory.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            name,\n            /*questionToken*/\n            void 0,\n            indexerTypeNode,\n            /*initializer*/\n            void 0\n          );\n          if (!typeNode) {\n            typeNode = typeToTypeNodeHelper(indexInfo.type || anyType, context);\n          }\n          if (!indexInfo.type && !(context.flags & 2097152)) {\n            context.encounteredError = true;\n          }\n          context.approximateLength += name.length + 4;\n          return factory.createIndexSignature(\n            indexInfo.isReadonly ? [factory.createToken(\n              146\n              /* ReadonlyKeyword */\n            )] : void 0,\n            [indexingParameter],\n            typeNode\n          );\n        }\n        function signatureToSignatureDeclarationHelper(signature, kind, context, options) {\n          var _a22, _b3, _c, _d, _e;\n          const suppressAny = context.flags & 256;\n          if (suppressAny)\n            context.flags &= ~256;\n          context.approximateLength += 3;\n          let typeParameters;\n          let typeArguments;\n          if (context.flags & 32 && signature.target && signature.mapper && signature.target.typeParameters) {\n            typeArguments = signature.target.typeParameters.map((parameter) => typeToTypeNodeHelper(instantiateType(parameter, signature.mapper), context));\n          } else {\n            typeParameters = signature.typeParameters && signature.typeParameters.map((parameter) => typeParameterToDeclaration(parameter, context));\n          }\n          const expandedParams = getExpandedParameters(\n            signature,\n            /*skipUnionExpanding*/\n            true\n          )[0];\n          let cleanup;\n          if (context.enclosingDeclaration && signature.declaration && signature.declaration !== context.enclosingDeclaration && !isInJSFile(signature.declaration) && some(expandedParams)) {\n            const existingFakeScope = getNodeLinks(context.enclosingDeclaration).fakeScopeForSignatureDeclaration ? context.enclosingDeclaration : void 0;\n            Debug2.assertOptionalNode(existingFakeScope, isBlock);\n            const locals = (_a22 = existingFakeScope == null ? void 0 : existingFakeScope.locals) != null ? _a22 : createSymbolTable();\n            let newLocals;\n            for (const param of expandedParams) {\n              if (!locals.has(param.escapedName)) {\n                newLocals = append(newLocals, param.escapedName);\n                locals.set(param.escapedName, param);\n              }\n            }\n            if (newLocals) {\n              let removeNewLocals2 = function() {\n                forEach(newLocals, (s) => locals.delete(s));\n              };\n              var removeNewLocals = removeNewLocals2;\n              if (existingFakeScope) {\n                cleanup = removeNewLocals2;\n              } else {\n                const fakeScope = parseNodeFactory.createBlock(emptyArray);\n                getNodeLinks(fakeScope).fakeScopeForSignatureDeclaration = true;\n                fakeScope.locals = locals;\n                const saveEnclosingDeclaration = context.enclosingDeclaration;\n                setParent(fakeScope, saveEnclosingDeclaration);\n                context.enclosingDeclaration = fakeScope;\n                cleanup = () => {\n                  context.enclosingDeclaration = saveEnclosingDeclaration;\n                  removeNewLocals2();\n                };\n              }\n            }\n          }\n          const parameters = (some(expandedParams, (p) => p !== expandedParams[expandedParams.length - 1] && !!(getCheckFlags(p) & 32768)) ? signature.parameters : expandedParams).map((parameter) => symbolToParameterDeclaration(parameter, context, kind === 173, options == null ? void 0 : options.privateSymbolVisitor, options == null ? void 0 : options.bundledImports));\n          const thisParameter = context.flags & 33554432 ? void 0 : tryGetThisParameterDeclaration(signature, context);\n          if (thisParameter) {\n            parameters.unshift(thisParameter);\n          }\n          let returnTypeNode;\n          const typePredicate = getTypePredicateOfSignature(signature);\n          if (typePredicate) {\n            const assertsModifier = typePredicate.kind === 2 || typePredicate.kind === 3 ? factory.createToken(\n              129\n              /* AssertsKeyword */\n            ) : void 0;\n            const parameterName = typePredicate.kind === 1 || typePredicate.kind === 3 ? setEmitFlags(\n              factory.createIdentifier(typePredicate.parameterName),\n              33554432\n              /* NoAsciiEscaping */\n            ) : factory.createThisTypeNode();\n            const typeNode = typePredicate.type && typeToTypeNodeHelper(typePredicate.type, context);\n            returnTypeNode = factory.createTypePredicateNode(assertsModifier, parameterName, typeNode);\n          } else {\n            const returnType = getReturnTypeOfSignature(signature);\n            if (returnType && !(suppressAny && isTypeAny(returnType))) {\n              returnTypeNode = serializeReturnTypeForSignature(context, returnType, signature, options == null ? void 0 : options.privateSymbolVisitor, options == null ? void 0 : options.bundledImports);\n            } else if (!suppressAny) {\n              returnTypeNode = factory.createKeywordTypeNode(\n                131\n                /* AnyKeyword */\n              );\n            }\n          }\n          let modifiers = options == null ? void 0 : options.modifiers;\n          if (kind === 182 && signature.flags & 4) {\n            const flags = modifiersToFlags(modifiers);\n            modifiers = factory.createModifiersFromModifierFlags(\n              flags | 256\n              /* Abstract */\n            );\n          }\n          const node = kind === 176 ? factory.createCallSignature(typeParameters, parameters, returnTypeNode) : kind === 177 ? factory.createConstructSignature(typeParameters, parameters, returnTypeNode) : kind === 170 ? factory.createMethodSignature(modifiers, (_b3 = options == null ? void 0 : options.name) != null ? _b3 : factory.createIdentifier(\"\"), options == null ? void 0 : options.questionToken, typeParameters, parameters, returnTypeNode) : kind === 171 ? factory.createMethodDeclaration(\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            (_c = options == null ? void 0 : options.name) != null ? _c : factory.createIdentifier(\"\"),\n            /*questionToken*/\n            void 0,\n            typeParameters,\n            parameters,\n            returnTypeNode,\n            /*body*/\n            void 0\n          ) : kind === 173 ? factory.createConstructorDeclaration(\n            modifiers,\n            parameters,\n            /*body*/\n            void 0\n          ) : kind === 174 ? factory.createGetAccessorDeclaration(\n            modifiers,\n            (_d = options == null ? void 0 : options.name) != null ? _d : factory.createIdentifier(\"\"),\n            parameters,\n            returnTypeNode,\n            /*body*/\n            void 0\n          ) : kind === 175 ? factory.createSetAccessorDeclaration(\n            modifiers,\n            (_e = options == null ? void 0 : options.name) != null ? _e : factory.createIdentifier(\"\"),\n            parameters,\n            /*body*/\n            void 0\n          ) : kind === 178 ? factory.createIndexSignature(modifiers, parameters, returnTypeNode) : kind === 320 ? factory.createJSDocFunctionType(parameters, returnTypeNode) : kind === 181 ? factory.createFunctionTypeNode(typeParameters, parameters, returnTypeNode != null ? returnTypeNode : factory.createTypeReferenceNode(factory.createIdentifier(\"\"))) : kind === 182 ? factory.createConstructorTypeNode(modifiers, typeParameters, parameters, returnTypeNode != null ? returnTypeNode : factory.createTypeReferenceNode(factory.createIdentifier(\"\"))) : kind === 259 ? factory.createFunctionDeclaration(\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(\"\"),\n            typeParameters,\n            parameters,\n            returnTypeNode,\n            /*body*/\n            void 0\n          ) : kind === 215 ? factory.createFunctionExpression(\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(\"\"),\n            typeParameters,\n            parameters,\n            returnTypeNode,\n            factory.createBlock([])\n          ) : kind === 216 ? factory.createArrowFunction(\n            modifiers,\n            typeParameters,\n            parameters,\n            returnTypeNode,\n            /*equalsGreaterThanToken*/\n            void 0,\n            factory.createBlock([])\n          ) : Debug2.assertNever(kind);\n          if (typeArguments) {\n            node.typeArguments = factory.createNodeArray(typeArguments);\n          }\n          cleanup == null ? void 0 : cleanup();\n          return node;\n        }\n        function tryGetThisParameterDeclaration(signature, context) {\n          if (signature.thisParameter) {\n            return symbolToParameterDeclaration(signature.thisParameter, context);\n          }\n          if (signature.declaration && isInJSFile(signature.declaration)) {\n            const thisTag = getJSDocThisTag(signature.declaration);\n            if (thisTag && thisTag.typeExpression) {\n              return factory.createParameterDeclaration(\n                /* modifiers */\n                void 0,\n                /* dotDotDotToken */\n                void 0,\n                \"this\",\n                /* questionToken */\n                void 0,\n                typeToTypeNodeHelper(getTypeFromTypeNode(thisTag.typeExpression), context)\n              );\n            }\n          }\n        }\n        function typeParameterToDeclarationWithConstraint(type, context, constraintNode) {\n          const savedContextFlags = context.flags;\n          context.flags &= ~512;\n          const modifiers = factory.createModifiersFromModifierFlags(getTypeParameterModifiers(type));\n          const name = typeParameterToName(type, context);\n          const defaultParameter = getDefaultFromTypeParameter(type);\n          const defaultParameterNode = defaultParameter && typeToTypeNodeHelper(defaultParameter, context);\n          context.flags = savedContextFlags;\n          return factory.createTypeParameterDeclaration(modifiers, name, constraintNode, defaultParameterNode);\n        }\n        function typeParameterToDeclaration(type, context, constraint = getConstraintOfTypeParameter(type)) {\n          const constraintNode = constraint && typeToTypeNodeHelper(constraint, context);\n          return typeParameterToDeclarationWithConstraint(type, context, constraintNode);\n        }\n        function symbolToParameterDeclaration(parameterSymbol, context, preserveModifierFlags, privateSymbolVisitor, bundledImports) {\n          let parameterDeclaration = getDeclarationOfKind(\n            parameterSymbol,\n            166\n            /* Parameter */\n          );\n          if (!parameterDeclaration && !isTransientSymbol(parameterSymbol)) {\n            parameterDeclaration = getDeclarationOfKind(\n              parameterSymbol,\n              344\n              /* JSDocParameterTag */\n            );\n          }\n          let parameterType = getTypeOfSymbol(parameterSymbol);\n          if (parameterDeclaration && isRequiredInitializedParameter(parameterDeclaration)) {\n            parameterType = getOptionalType(parameterType);\n          }\n          const parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, context.enclosingDeclaration, privateSymbolVisitor, bundledImports);\n          const modifiers = !(context.flags & 8192) && preserveModifierFlags && parameterDeclaration && canHaveModifiers(parameterDeclaration) ? map(getModifiers(parameterDeclaration), factory.cloneNode) : void 0;\n          const isRest = parameterDeclaration && isRestParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 32768;\n          const dotDotDotToken = isRest ? factory.createToken(\n            25\n            /* DotDotDotToken */\n          ) : void 0;\n          const name = parameterDeclaration ? parameterDeclaration.name ? parameterDeclaration.name.kind === 79 ? setEmitFlags(\n            factory.cloneNode(parameterDeclaration.name),\n            33554432\n            /* NoAsciiEscaping */\n          ) : parameterDeclaration.name.kind === 163 ? setEmitFlags(\n            factory.cloneNode(parameterDeclaration.name.right),\n            33554432\n            /* NoAsciiEscaping */\n          ) : cloneBindingName(parameterDeclaration.name) : symbolName(parameterSymbol) : symbolName(parameterSymbol);\n          const isOptional = parameterDeclaration && isOptionalParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 16384;\n          const questionToken = isOptional ? factory.createToken(\n            57\n            /* QuestionToken */\n          ) : void 0;\n          const parameterNode = factory.createParameterDeclaration(\n            modifiers,\n            dotDotDotToken,\n            name,\n            questionToken,\n            parameterTypeNode,\n            /*initializer*/\n            void 0\n          );\n          context.approximateLength += symbolName(parameterSymbol).length + 3;\n          return parameterNode;\n          function cloneBindingName(node) {\n            return elideInitializerAndSetEmitFlags(node);\n            function elideInitializerAndSetEmitFlags(node2) {\n              if (context.tracker.canTrackSymbol && isComputedPropertyName(node2) && isLateBindableName(node2)) {\n                trackComputedName(node2.expression, context.enclosingDeclaration, context);\n              }\n              let visited = visitEachChild(\n                node2,\n                elideInitializerAndSetEmitFlags,\n                nullTransformationContext,\n                /*nodesVisitor*/\n                void 0,\n                elideInitializerAndSetEmitFlags\n              );\n              if (isBindingElement(visited)) {\n                visited = factory.updateBindingElement(\n                  visited,\n                  visited.dotDotDotToken,\n                  visited.propertyName,\n                  visited.name,\n                  /*initializer*/\n                  void 0\n                );\n              }\n              if (!nodeIsSynthesized(visited)) {\n                visited = factory.cloneNode(visited);\n              }\n              return setEmitFlags(\n                visited,\n                1 | 33554432\n                /* NoAsciiEscaping */\n              );\n            }\n          }\n        }\n        function trackComputedName(accessExpression, enclosingDeclaration, context) {\n          if (!context.tracker.canTrackSymbol)\n            return;\n          const firstIdentifier = getFirstIdentifier(accessExpression);\n          const name = resolveName(\n            firstIdentifier,\n            firstIdentifier.escapedText,\n            111551 | 1048576,\n            /*nodeNotFoundErrorMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            true\n          );\n          if (name) {\n            context.tracker.trackSymbol(\n              name,\n              enclosingDeclaration,\n              111551\n              /* Value */\n            );\n          }\n        }\n        function lookupSymbolChain(symbol, context, meaning, yieldModuleSymbol) {\n          context.tracker.trackSymbol(symbol, context.enclosingDeclaration, meaning);\n          return lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol);\n        }\n        function lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol) {\n          let chain;\n          const isTypeParameter = symbol.flags & 262144;\n          if (!isTypeParameter && (context.enclosingDeclaration || context.flags & 64) && !(context.flags & 134217728)) {\n            chain = Debug2.checkDefined(getSymbolChain(\n              symbol,\n              meaning,\n              /*endOfChain*/\n              true\n            ));\n            Debug2.assert(chain && chain.length > 0);\n          } else {\n            chain = [symbol];\n          }\n          return chain;\n          function getSymbolChain(symbol2, meaning2, endOfChain) {\n            let accessibleSymbolChain = getAccessibleSymbolChain(symbol2, context.enclosingDeclaration, meaning2, !!(context.flags & 128));\n            let parentSpecifiers;\n            if (!accessibleSymbolChain || needsQualification(accessibleSymbolChain[0], context.enclosingDeclaration, accessibleSymbolChain.length === 1 ? meaning2 : getQualifiedLeftMeaning(meaning2))) {\n              const parents = getContainersOfSymbol(accessibleSymbolChain ? accessibleSymbolChain[0] : symbol2, context.enclosingDeclaration, meaning2);\n              if (length(parents)) {\n                parentSpecifiers = parents.map((symbol3) => some(symbol3.declarations, hasNonGlobalAugmentationExternalModuleSymbol) ? getSpecifierForModuleSymbol(symbol3, context) : void 0);\n                const indices = parents.map((_, i) => i);\n                indices.sort(sortByBestName);\n                const sortedParents = indices.map((i) => parents[i]);\n                for (const parent2 of sortedParents) {\n                  const parentChain = getSymbolChain(\n                    parent2,\n                    getQualifiedLeftMeaning(meaning2),\n                    /*endOfChain*/\n                    false\n                  );\n                  if (parentChain) {\n                    if (parent2.exports && parent2.exports.get(\n                      \"export=\"\n                      /* ExportEquals */\n                    ) && getSymbolIfSameReference(parent2.exports.get(\n                      \"export=\"\n                      /* ExportEquals */\n                    ), symbol2)) {\n                      accessibleSymbolChain = parentChain;\n                      break;\n                    }\n                    accessibleSymbolChain = parentChain.concat(accessibleSymbolChain || [getAliasForSymbolInContainer(parent2, symbol2) || symbol2]);\n                    break;\n                  }\n                }\n              }\n            }\n            if (accessibleSymbolChain) {\n              return accessibleSymbolChain;\n            }\n            if (\n              // If this is the last part of outputting the symbol, always output. The cases apply only to parent symbols.\n              endOfChain || // If a parent symbol is an anonymous type, don't write it.\n              !(symbol2.flags & (2048 | 4096))\n            ) {\n              if (!endOfChain && !yieldModuleSymbol && !!forEach(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n                return;\n              }\n              return [symbol2];\n            }\n            function sortByBestName(a, b) {\n              const specifierA = parentSpecifiers[a];\n              const specifierB = parentSpecifiers[b];\n              if (specifierA && specifierB) {\n                const isBRelative = pathIsRelative(specifierB);\n                if (pathIsRelative(specifierA) === isBRelative) {\n                  return countPathComponents(specifierA) - countPathComponents(specifierB);\n                }\n                if (isBRelative) {\n                  return -1;\n                }\n                return 1;\n              }\n              return 0;\n            }\n          }\n        }\n        function typeParametersToTypeParameterDeclarations(symbol, context) {\n          let typeParameterNodes;\n          const targetSymbol = getTargetSymbol(symbol);\n          if (targetSymbol.flags & (32 | 64 | 524288)) {\n            typeParameterNodes = factory.createNodeArray(map(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol), (tp) => typeParameterToDeclaration(tp, context)));\n          }\n          return typeParameterNodes;\n        }\n        function lookupTypeParameterNodes(chain, index, context) {\n          var _a22;\n          Debug2.assert(chain && 0 <= index && index < chain.length);\n          const symbol = chain[index];\n          const symbolId = getSymbolId(symbol);\n          if ((_a22 = context.typeParameterSymbolList) == null ? void 0 : _a22.has(symbolId)) {\n            return void 0;\n          }\n          (context.typeParameterSymbolList || (context.typeParameterSymbolList = /* @__PURE__ */ new Set())).add(symbolId);\n          let typeParameterNodes;\n          if (context.flags & 512 && index < chain.length - 1) {\n            const parentSymbol = symbol;\n            const nextSymbol = chain[index + 1];\n            if (getCheckFlags(nextSymbol) & 1) {\n              const params = getTypeParametersOfClassOrInterface(\n                parentSymbol.flags & 2097152 ? resolveAlias(parentSymbol) : parentSymbol\n              );\n              typeParameterNodes = mapToTypeNodes(map(params, (t) => getMappedType(t, nextSymbol.links.mapper)), context);\n            } else {\n              typeParameterNodes = typeParametersToTypeParameterDeclarations(symbol, context);\n            }\n          }\n          return typeParameterNodes;\n        }\n        function getTopmostIndexedAccessType(top) {\n          if (isIndexedAccessTypeNode(top.objectType)) {\n            return getTopmostIndexedAccessType(top.objectType);\n          }\n          return top;\n        }\n        function getSpecifierForModuleSymbol(symbol, context, overrideImportMode) {\n          var _a22;\n          let file = getDeclarationOfKind(\n            symbol,\n            308\n            /* SourceFile */\n          );\n          if (!file) {\n            const equivalentFileSymbol = firstDefined(symbol.declarations, (d) => getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol));\n            if (equivalentFileSymbol) {\n              file = getDeclarationOfKind(\n                equivalentFileSymbol,\n                308\n                /* SourceFile */\n              );\n            }\n          }\n          if (file && file.moduleName !== void 0) {\n            return file.moduleName;\n          }\n          if (!file) {\n            if (context.tracker.trackReferencedAmbientModule) {\n              const ambientDecls = filter(symbol.declarations, isAmbientModule);\n              if (length(ambientDecls)) {\n                for (const decl of ambientDecls) {\n                  context.tracker.trackReferencedAmbientModule(decl, symbol);\n                }\n              }\n            }\n            if (ambientModuleSymbolRegex.test(symbol.escapedName)) {\n              return symbol.escapedName.substring(1, symbol.escapedName.length - 1);\n            }\n          }\n          if (!context.enclosingDeclaration || !context.tracker.moduleResolverHost) {\n            if (ambientModuleSymbolRegex.test(symbol.escapedName)) {\n              return symbol.escapedName.substring(1, symbol.escapedName.length - 1);\n            }\n            return getSourceFileOfNode(getNonAugmentationDeclaration(symbol)).fileName;\n          }\n          const contextFile = getSourceFileOfNode(getOriginalNode(context.enclosingDeclaration));\n          const resolutionMode = overrideImportMode || (contextFile == null ? void 0 : contextFile.impliedNodeFormat);\n          const cacheKey = createModeAwareCacheKey(contextFile.path, resolutionMode);\n          const links = getSymbolLinks(symbol);\n          let specifier = links.specifierCache && links.specifierCache.get(cacheKey);\n          if (!specifier) {\n            const isBundle2 = !!outFile(compilerOptions);\n            const { moduleResolverHost } = context.tracker;\n            const specifierCompilerOptions = isBundle2 ? { ...compilerOptions, baseUrl: moduleResolverHost.getCommonSourceDirectory() } : compilerOptions;\n            specifier = first(getModuleSpecifiers(\n              symbol,\n              checker,\n              specifierCompilerOptions,\n              contextFile,\n              moduleResolverHost,\n              {\n                importModuleSpecifierPreference: isBundle2 ? \"non-relative\" : \"project-relative\",\n                importModuleSpecifierEnding: isBundle2 ? \"minimal\" : resolutionMode === 99 ? \"js\" : void 0\n              },\n              { overrideImportMode }\n            ));\n            (_a22 = links.specifierCache) != null ? _a22 : links.specifierCache = /* @__PURE__ */ new Map();\n            links.specifierCache.set(cacheKey, specifier);\n          }\n          return specifier;\n        }\n        function symbolToEntityNameNode(symbol) {\n          const identifier = factory.createIdentifier(unescapeLeadingUnderscores(symbol.escapedName));\n          return symbol.parent ? factory.createQualifiedName(symbolToEntityNameNode(symbol.parent), identifier) : identifier;\n        }\n        function symbolToTypeNode(symbol, context, meaning, overrideTypeArguments) {\n          var _a22, _b3, _c, _d;\n          const chain = lookupSymbolChain(symbol, context, meaning, !(context.flags & 16384));\n          const isTypeOf = meaning === 111551;\n          if (some(chain[0].declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n            const nonRootParts = chain.length > 1 ? createAccessFromSymbolChain(chain, chain.length - 1, 1) : void 0;\n            const typeParameterNodes = overrideTypeArguments || lookupTypeParameterNodes(chain, 0, context);\n            const contextFile = getSourceFileOfNode(getOriginalNode(context.enclosingDeclaration));\n            const targetFile = getSourceFileOfModule(chain[0]);\n            let specifier;\n            let assertion;\n            if (getEmitModuleResolutionKind(compilerOptions) === 3 || getEmitModuleResolutionKind(compilerOptions) === 99) {\n              if ((targetFile == null ? void 0 : targetFile.impliedNodeFormat) === 99 && targetFile.impliedNodeFormat !== (contextFile == null ? void 0 : contextFile.impliedNodeFormat)) {\n                specifier = getSpecifierForModuleSymbol(\n                  chain[0],\n                  context,\n                  99\n                  /* ESNext */\n                );\n                assertion = factory.createImportTypeAssertionContainer(factory.createAssertClause(factory.createNodeArray([\n                  factory.createAssertEntry(\n                    factory.createStringLiteral(\"resolution-mode\"),\n                    factory.createStringLiteral(\"import\")\n                  )\n                ])));\n                (_b3 = (_a22 = context.tracker).reportImportTypeNodeResolutionModeOverride) == null ? void 0 : _b3.call(_a22);\n              }\n            }\n            if (!specifier) {\n              specifier = getSpecifierForModuleSymbol(chain[0], context);\n            }\n            if (!(context.flags & 67108864) && getEmitModuleResolutionKind(compilerOptions) !== 1 && specifier.indexOf(\"/node_modules/\") >= 0) {\n              const oldSpecifier = specifier;\n              if (getEmitModuleResolutionKind(compilerOptions) === 3 || getEmitModuleResolutionKind(compilerOptions) === 99) {\n                const swappedMode = (contextFile == null ? void 0 : contextFile.impliedNodeFormat) === 99 ? 1 : 99;\n                specifier = getSpecifierForModuleSymbol(chain[0], context, swappedMode);\n                if (specifier.indexOf(\"/node_modules/\") >= 0) {\n                  specifier = oldSpecifier;\n                } else {\n                  assertion = factory.createImportTypeAssertionContainer(factory.createAssertClause(factory.createNodeArray([\n                    factory.createAssertEntry(\n                      factory.createStringLiteral(\"resolution-mode\"),\n                      factory.createStringLiteral(swappedMode === 99 ? \"import\" : \"require\")\n                    )\n                  ])));\n                  (_d = (_c = context.tracker).reportImportTypeNodeResolutionModeOverride) == null ? void 0 : _d.call(_c);\n                }\n              }\n              if (!assertion) {\n                context.encounteredError = true;\n                if (context.tracker.reportLikelyUnsafeImportRequiredError) {\n                  context.tracker.reportLikelyUnsafeImportRequiredError(oldSpecifier);\n                }\n              }\n            }\n            const lit = factory.createLiteralTypeNode(factory.createStringLiteral(specifier));\n            if (context.tracker.trackExternalModuleSymbolOfImportTypeNode)\n              context.tracker.trackExternalModuleSymbolOfImportTypeNode(chain[0]);\n            context.approximateLength += specifier.length + 10;\n            if (!nonRootParts || isEntityName(nonRootParts)) {\n              if (nonRootParts) {\n                const lastId = isIdentifier(nonRootParts) ? nonRootParts : nonRootParts.right;\n                setIdentifierTypeArguments(\n                  lastId,\n                  /*typeArguments*/\n                  void 0\n                );\n              }\n              return factory.createImportTypeNode(lit, assertion, nonRootParts, typeParameterNodes, isTypeOf);\n            } else {\n              const splitNode = getTopmostIndexedAccessType(nonRootParts);\n              const qualifier = splitNode.objectType.typeName;\n              return factory.createIndexedAccessTypeNode(factory.createImportTypeNode(lit, assertion, qualifier, typeParameterNodes, isTypeOf), splitNode.indexType);\n            }\n          }\n          const entityName = createAccessFromSymbolChain(chain, chain.length - 1, 0);\n          if (isIndexedAccessTypeNode(entityName)) {\n            return entityName;\n          }\n          if (isTypeOf) {\n            return factory.createTypeQueryNode(entityName);\n          } else {\n            const lastId = isIdentifier(entityName) ? entityName : entityName.right;\n            const lastTypeArgs = getIdentifierTypeArguments(lastId);\n            setIdentifierTypeArguments(\n              lastId,\n              /*typeArguments*/\n              void 0\n            );\n            return factory.createTypeReferenceNode(entityName, lastTypeArgs);\n          }\n          function createAccessFromSymbolChain(chain2, index, stopper) {\n            const typeParameterNodes = index === chain2.length - 1 ? overrideTypeArguments : lookupTypeParameterNodes(chain2, index, context);\n            const symbol2 = chain2[index];\n            const parent2 = chain2[index - 1];\n            let symbolName2;\n            if (index === 0) {\n              context.flags |= 16777216;\n              symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n              context.approximateLength += (symbolName2 ? symbolName2.length : 0) + 1;\n              context.flags ^= 16777216;\n            } else {\n              if (parent2 && getExportsOfSymbol(parent2)) {\n                const exports = getExportsOfSymbol(parent2);\n                forEachEntry(exports, (ex, name) => {\n                  if (getSymbolIfSameReference(ex, symbol2) && !isLateBoundName(name) && name !== \"export=\") {\n                    symbolName2 = unescapeLeadingUnderscores(name);\n                    return true;\n                  }\n                });\n              }\n            }\n            if (symbolName2 === void 0) {\n              const name = firstDefined(symbol2.declarations, getNameOfDeclaration);\n              if (name && isComputedPropertyName(name) && isEntityName(name.expression)) {\n                const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper);\n                if (isEntityName(LHS)) {\n                  return factory.createIndexedAccessTypeNode(factory.createParenthesizedType(factory.createTypeQueryNode(LHS)), factory.createTypeQueryNode(name.expression));\n                }\n                return LHS;\n              }\n              symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n            }\n            context.approximateLength += symbolName2.length + 1;\n            if (!(context.flags & 16) && parent2 && getMembersOfSymbol(parent2) && getMembersOfSymbol(parent2).get(symbol2.escapedName) && getSymbolIfSameReference(getMembersOfSymbol(parent2).get(symbol2.escapedName), symbol2)) {\n              const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper);\n              if (isIndexedAccessTypeNode(LHS)) {\n                return factory.createIndexedAccessTypeNode(LHS, factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2)));\n              } else {\n                return factory.createIndexedAccessTypeNode(factory.createTypeReferenceNode(LHS, typeParameterNodes), factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2)));\n              }\n            }\n            const identifier = setEmitFlags(\n              factory.createIdentifier(symbolName2),\n              33554432\n              /* NoAsciiEscaping */\n            );\n            if (typeParameterNodes)\n              setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes));\n            identifier.symbol = symbol2;\n            if (index > stopper) {\n              const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper);\n              if (!isEntityName(LHS)) {\n                return Debug2.fail(\"Impossible construct - an export of an indexed access cannot be reachable\");\n              }\n              return factory.createQualifiedName(LHS, identifier);\n            }\n            return identifier;\n          }\n        }\n        function typeParameterShadowsNameInScope(escapedName, context, type) {\n          const result = resolveName(\n            context.enclosingDeclaration,\n            escapedName,\n            788968,\n            /*nameNotFoundArg*/\n            void 0,\n            escapedName,\n            /*isUse*/\n            false\n          );\n          if (result) {\n            if (result.flags & 262144 && result === type.symbol) {\n              return false;\n            }\n            return true;\n          }\n          return false;\n        }\n        function typeParameterToName(type, context) {\n          var _a22, _b3;\n          if (context.flags & 4 && context.typeParameterNames) {\n            const cached = context.typeParameterNames.get(getTypeId(type));\n            if (cached) {\n              return cached;\n            }\n          }\n          let result = symbolToName(\n            type.symbol,\n            context,\n            788968,\n            /*expectsIdentifier*/\n            true\n          );\n          if (!(result.kind & 79)) {\n            return factory.createIdentifier(\"(Missing type parameter)\");\n          }\n          if (context.flags & 4) {\n            const rawtext = result.escapedText;\n            let i = ((_a22 = context.typeParameterNamesByTextNextNameCount) == null ? void 0 : _a22.get(rawtext)) || 0;\n            let text = rawtext;\n            while (((_b3 = context.typeParameterNamesByText) == null ? void 0 : _b3.has(text)) || typeParameterShadowsNameInScope(text, context, type)) {\n              i++;\n              text = `${rawtext}_${i}`;\n            }\n            if (text !== rawtext) {\n              const typeArguments = getIdentifierTypeArguments(result);\n              result = factory.createIdentifier(text);\n              setIdentifierTypeArguments(result, typeArguments);\n            }\n            (context.typeParameterNamesByTextNextNameCount || (context.typeParameterNamesByTextNextNameCount = /* @__PURE__ */ new Map())).set(rawtext, i);\n            (context.typeParameterNames || (context.typeParameterNames = /* @__PURE__ */ new Map())).set(getTypeId(type), result);\n            (context.typeParameterNamesByText || (context.typeParameterNamesByText = /* @__PURE__ */ new Set())).add(rawtext);\n          }\n          return result;\n        }\n        function symbolToName(symbol, context, meaning, expectsIdentifier) {\n          const chain = lookupSymbolChain(symbol, context, meaning);\n          if (expectsIdentifier && chain.length !== 1 && !context.encounteredError && !(context.flags & 65536)) {\n            context.encounteredError = true;\n          }\n          return createEntityNameFromSymbolChain(chain, chain.length - 1);\n          function createEntityNameFromSymbolChain(chain2, index) {\n            const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context);\n            const symbol2 = chain2[index];\n            if (index === 0) {\n              context.flags |= 16777216;\n            }\n            const symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n            if (index === 0) {\n              context.flags ^= 16777216;\n            }\n            const identifier = setEmitFlags(\n              factory.createIdentifier(symbolName2),\n              33554432\n              /* NoAsciiEscaping */\n            );\n            if (typeParameterNodes)\n              setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes));\n            identifier.symbol = symbol2;\n            return index > 0 ? factory.createQualifiedName(createEntityNameFromSymbolChain(chain2, index - 1), identifier) : identifier;\n          }\n        }\n        function symbolToExpression(symbol, context, meaning) {\n          const chain = lookupSymbolChain(symbol, context, meaning);\n          return createExpressionFromSymbolChain(chain, chain.length - 1);\n          function createExpressionFromSymbolChain(chain2, index) {\n            const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context);\n            const symbol2 = chain2[index];\n            if (index === 0) {\n              context.flags |= 16777216;\n            }\n            let symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n            if (index === 0) {\n              context.flags ^= 16777216;\n            }\n            let firstChar = symbolName2.charCodeAt(0);\n            if (isSingleOrDoubleQuote(firstChar) && some(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n              return factory.createStringLiteral(getSpecifierForModuleSymbol(symbol2, context));\n            }\n            if (index === 0 || canUsePropertyAccess(symbolName2, languageVersion)) {\n              const identifier = setEmitFlags(\n                factory.createIdentifier(symbolName2),\n                33554432\n                /* NoAsciiEscaping */\n              );\n              if (typeParameterNodes)\n                setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes));\n              identifier.symbol = symbol2;\n              return index > 0 ? factory.createPropertyAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), identifier) : identifier;\n            } else {\n              if (firstChar === 91) {\n                symbolName2 = symbolName2.substring(1, symbolName2.length - 1);\n                firstChar = symbolName2.charCodeAt(0);\n              }\n              let expression;\n              if (isSingleOrDoubleQuote(firstChar) && !(symbol2.flags & 8)) {\n                expression = factory.createStringLiteral(\n                  stripQuotes(symbolName2).replace(/\\\\./g, (s) => s.substring(1)),\n                  firstChar === 39\n                  /* singleQuote */\n                );\n              } else if (\"\" + +symbolName2 === symbolName2) {\n                expression = factory.createNumericLiteral(+symbolName2);\n              }\n              if (!expression) {\n                const identifier = setEmitFlags(\n                  factory.createIdentifier(symbolName2),\n                  33554432\n                  /* NoAsciiEscaping */\n                );\n                if (typeParameterNodes)\n                  setIdentifierTypeArguments(identifier, factory.createNodeArray(typeParameterNodes));\n                identifier.symbol = symbol2;\n                expression = identifier;\n              }\n              return factory.createElementAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), expression);\n            }\n          }\n        }\n        function isStringNamed(d) {\n          const name = getNameOfDeclaration(d);\n          return !!name && isStringLiteral(name);\n        }\n        function isSingleQuotedStringNamed(d) {\n          const name = getNameOfDeclaration(d);\n          return !!(name && isStringLiteral(name) && (name.singleQuote || !nodeIsSynthesized(name) && startsWith(getTextOfNode(\n            name,\n            /*includeTrivia*/\n            false\n          ), \"'\")));\n        }\n        function getPropertyNameNodeForSymbol(symbol, context) {\n          const stringNamed = !!length(symbol.declarations) && every(symbol.declarations, isStringNamed);\n          const singleQuote = !!length(symbol.declarations) && every(symbol.declarations, isSingleQuotedStringNamed);\n          const fromNameType = getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote, stringNamed);\n          if (fromNameType) {\n            return fromNameType;\n          }\n          const rawName = unescapeLeadingUnderscores(symbol.escapedName);\n          return createPropertyNameNodeForIdentifierOrLiteral(rawName, getEmitScriptTarget(compilerOptions), singleQuote, stringNamed);\n        }\n        function getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote, stringNamed) {\n          const nameType = getSymbolLinks(symbol).nameType;\n          if (nameType) {\n            if (nameType.flags & 384) {\n              const name = \"\" + nameType.value;\n              if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && (stringNamed || !isNumericLiteralName(name))) {\n                return factory.createStringLiteral(name, !!singleQuote);\n              }\n              if (isNumericLiteralName(name) && startsWith(name, \"-\")) {\n                return factory.createComputedPropertyName(factory.createNumericLiteral(+name));\n              }\n              return createPropertyNameNodeForIdentifierOrLiteral(name, getEmitScriptTarget(compilerOptions));\n            }\n            if (nameType.flags & 8192) {\n              return factory.createComputedPropertyName(symbolToExpression(\n                nameType.symbol,\n                context,\n                111551\n                /* Value */\n              ));\n            }\n          }\n        }\n        function cloneNodeBuilderContext(context) {\n          const initial = { ...context };\n          if (initial.typeParameterNames) {\n            initial.typeParameterNames = new Map(initial.typeParameterNames);\n          }\n          if (initial.typeParameterNamesByText) {\n            initial.typeParameterNamesByText = new Set(initial.typeParameterNamesByText);\n          }\n          if (initial.typeParameterSymbolList) {\n            initial.typeParameterSymbolList = new Set(initial.typeParameterSymbolList);\n          }\n          initial.tracker = new SymbolTrackerImpl(initial, initial.tracker.inner, initial.tracker.moduleResolverHost);\n          return initial;\n        }\n        function getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration) {\n          return symbol.declarations && find(symbol.declarations, (s) => !!getEffectiveTypeAnnotationNode(s) && (!enclosingDeclaration || !!findAncestor(s, (n) => n === enclosingDeclaration)));\n        }\n        function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) {\n          return !(getObjectFlags(type) & 4) || !isTypeReferenceNode(existing) || length(existing.typeArguments) >= getMinTypeArgumentCount(type.target.typeParameters);\n        }\n        function getEnclosingDeclarationIgnoringFakeScope(enclosingDeclaration) {\n          return getNodeLinks(enclosingDeclaration).fakeScopeForSignatureDeclaration ? enclosingDeclaration.parent : enclosingDeclaration;\n        }\n        function serializeTypeForDeclaration(context, type, symbol, enclosingDeclaration, includePrivateSymbol, bundled) {\n          if (!isErrorType(type) && enclosingDeclaration) {\n            const declWithExistingAnnotation = getDeclarationWithTypeAnnotation(symbol, getEnclosingDeclarationIgnoringFakeScope(enclosingDeclaration));\n            if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) {\n              const existing = getEffectiveTypeAnnotationNode(declWithExistingAnnotation);\n              if (typeNodeIsEquivalentToType(existing, declWithExistingAnnotation, type) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type)) {\n                const result2 = serializeExistingTypeNode(context, existing, includePrivateSymbol, bundled);\n                if (result2) {\n                  return result2;\n                }\n              }\n            }\n          }\n          const oldFlags = context.flags;\n          if (type.flags & 8192 && type.symbol === symbol && (!context.enclosingDeclaration || some(symbol.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)))) {\n            context.flags |= 1048576;\n          }\n          const result = typeToTypeNodeHelper(type, context);\n          context.flags = oldFlags;\n          return result;\n        }\n        function typeNodeIsEquivalentToType(typeNode, annotatedDeclaration, type) {\n          const typeFromTypeNode = getTypeFromTypeNode(typeNode);\n          if (typeFromTypeNode === type) {\n            return true;\n          }\n          if (isParameter(annotatedDeclaration) && annotatedDeclaration.questionToken) {\n            return getTypeWithFacts(\n              type,\n              524288\n              /* NEUndefined */\n            ) === typeFromTypeNode;\n          }\n          return false;\n        }\n        function serializeReturnTypeForSignature(context, type, signature, includePrivateSymbol, bundled) {\n          if (!isErrorType(type) && context.enclosingDeclaration) {\n            const annotation = signature.declaration && getEffectiveReturnTypeNode(signature.declaration);\n            const enclosingDeclarationIgnoringFakeScope = getEnclosingDeclarationIgnoringFakeScope(context.enclosingDeclaration);\n            if (!!findAncestor(annotation, (n) => n === enclosingDeclarationIgnoringFakeScope) && annotation) {\n              const annotated = getTypeFromTypeNode(annotation);\n              const thisInstantiated = annotated.flags & 262144 && annotated.isThisType ? instantiateType(annotated, signature.mapper) : annotated;\n              if (thisInstantiated === type && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(annotation, type)) {\n                const result = serializeExistingTypeNode(context, annotation, includePrivateSymbol, bundled);\n                if (result) {\n                  return result;\n                }\n              }\n            }\n          }\n          return typeToTypeNodeHelper(type, context);\n        }\n        function trackExistingEntityName(node, context, includePrivateSymbol) {\n          let introducesError = false;\n          const leftmost = getFirstIdentifier(node);\n          if (isInJSFile(node) && (isExportsIdentifier(leftmost) || isModuleExportsAccessExpression(leftmost.parent) || isQualifiedName(leftmost.parent) && isModuleIdentifier(leftmost.parent.left) && isExportsIdentifier(leftmost.parent.right))) {\n            introducesError = true;\n            return { introducesError, node };\n          }\n          const sym = resolveEntityName(\n            leftmost,\n            67108863,\n            /*ignoreErrors*/\n            true,\n            /*dontResolveALias*/\n            true\n          );\n          if (sym) {\n            if (isSymbolAccessible(\n              sym,\n              context.enclosingDeclaration,\n              67108863,\n              /*shouldComputeAliasesToMakeVisible*/\n              false\n            ).accessibility !== 0) {\n              introducesError = true;\n            } else {\n              context.tracker.trackSymbol(\n                sym,\n                context.enclosingDeclaration,\n                67108863\n                /* All */\n              );\n              includePrivateSymbol == null ? void 0 : includePrivateSymbol(sym);\n            }\n            if (isIdentifier(node)) {\n              const type = getDeclaredTypeOfSymbol(sym);\n              const name = sym.flags & 262144 && !isTypeSymbolAccessible(type.symbol, context.enclosingDeclaration) ? typeParameterToName(type, context) : factory.cloneNode(node);\n              name.symbol = sym;\n              return { introducesError, node: setEmitFlags(\n                setOriginalNode(name, node),\n                33554432\n                /* NoAsciiEscaping */\n              ) };\n            }\n          }\n          return { introducesError, node };\n        }\n        function serializeExistingTypeNode(context, existing, includePrivateSymbol, bundled) {\n          if (cancellationToken && cancellationToken.throwIfCancellationRequested) {\n            cancellationToken.throwIfCancellationRequested();\n          }\n          let hadError = false;\n          const file = getSourceFileOfNode(existing);\n          const transformed = visitNode(existing, visitExistingNodeTreeSymbols, isTypeNode);\n          if (hadError) {\n            return void 0;\n          }\n          return transformed === existing ? setTextRange(factory.cloneNode(existing), existing) : transformed;\n          function visitExistingNodeTreeSymbols(node) {\n            if (isJSDocAllType(node) || node.kind === 322) {\n              return factory.createKeywordTypeNode(\n                131\n                /* AnyKeyword */\n              );\n            }\n            if (isJSDocUnknownType(node)) {\n              return factory.createKeywordTypeNode(\n                157\n                /* UnknownKeyword */\n              );\n            }\n            if (isJSDocNullableType(node)) {\n              return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createLiteralTypeNode(factory.createNull())]);\n            }\n            if (isJSDocOptionalType(node)) {\n              return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode), factory.createKeywordTypeNode(\n                155\n                /* UndefinedKeyword */\n              )]);\n            }\n            if (isJSDocNonNullableType(node)) {\n              return visitNode(node.type, visitExistingNodeTreeSymbols);\n            }\n            if (isJSDocVariadicType(node)) {\n              return factory.createArrayTypeNode(visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode));\n            }\n            if (isJSDocTypeLiteral(node)) {\n              return factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (t) => {\n                const name = isIdentifier(t.name) ? t.name : t.name.right;\n                const typeViaParent = getTypeOfPropertyOfType(getTypeFromTypeNode(node), name.escapedText);\n                const overrideTypeNode = typeViaParent && t.typeExpression && getTypeFromTypeNode(t.typeExpression.type) !== typeViaParent ? typeToTypeNodeHelper(typeViaParent, context) : void 0;\n                return factory.createPropertySignature(\n                  /*modifiers*/\n                  void 0,\n                  name,\n                  t.isBracketed || t.typeExpression && isJSDocOptionalType(t.typeExpression.type) ? factory.createToken(\n                    57\n                    /* QuestionToken */\n                  ) : void 0,\n                  overrideTypeNode || t.typeExpression && visitNode(t.typeExpression.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(\n                    131\n                    /* AnyKeyword */\n                  )\n                );\n              }));\n            }\n            if (isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"\") {\n              return setOriginalNode(factory.createKeywordTypeNode(\n                131\n                /* AnyKeyword */\n              ), node);\n            }\n            if ((isExpressionWithTypeArguments(node) || isTypeReferenceNode(node)) && isJSDocIndexSignature(node)) {\n              return factory.createTypeLiteralNode([factory.createIndexSignature(\n                /*modifiers*/\n                void 0,\n                [factory.createParameterDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  /*dotdotdotToken*/\n                  void 0,\n                  \"x\",\n                  /*questionToken*/\n                  void 0,\n                  visitNode(node.typeArguments[0], visitExistingNodeTreeSymbols, isTypeNode)\n                )],\n                visitNode(node.typeArguments[1], visitExistingNodeTreeSymbols, isTypeNode)\n              )]);\n            }\n            if (isJSDocFunctionType(node)) {\n              if (isJSDocConstructSignature(node)) {\n                let newTypeNode;\n                return factory.createConstructorTypeNode(\n                  /*modifiers*/\n                  void 0,\n                  visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration),\n                  mapDefined(node.parameters, (p, i) => p.name && isIdentifier(p.name) && p.name.escapedText === \"new\" ? (newTypeNode = p.type, void 0) : factory.createParameterDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    getEffectiveDotDotDotForParameter(p),\n                    getNameForJSDocFunctionParameter(p, i),\n                    p.questionToken,\n                    visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode),\n                    /*initializer*/\n                    void 0\n                  )),\n                  visitNode(newTypeNode || node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(\n                    131\n                    /* AnyKeyword */\n                  )\n                );\n              } else {\n                return factory.createFunctionTypeNode(\n                  visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols, isTypeParameterDeclaration),\n                  map(node.parameters, (p, i) => factory.createParameterDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    getEffectiveDotDotDotForParameter(p),\n                    getNameForJSDocFunctionParameter(p, i),\n                    p.questionToken,\n                    visitNode(p.type, visitExistingNodeTreeSymbols, isTypeNode),\n                    /*initializer*/\n                    void 0\n                  )),\n                  visitNode(node.type, visitExistingNodeTreeSymbols, isTypeNode) || factory.createKeywordTypeNode(\n                    131\n                    /* AnyKeyword */\n                  )\n                );\n              }\n            }\n            if (isTypeReferenceNode(node) && isInJSDoc(node) && (!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(node, getTypeFromTypeNode(node)) || getIntendedTypeFromJSDocTypeReference(node) || unknownSymbol === resolveTypeReferenceName(\n              node,\n              788968,\n              /*ignoreErrors*/\n              true\n            ))) {\n              return setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(node), context), node);\n            }\n            if (isLiteralImportTypeNode(node)) {\n              const nodeSymbol = getNodeLinks(node).resolvedSymbol;\n              if (isInJSDoc(node) && nodeSymbol && // The import type resolved using jsdoc fallback logic\n              (!node.isTypeOf && !(nodeSymbol.flags & 788968) || // The import type had type arguments autofilled by js fallback logic\n              !(length(node.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol))))) {\n                return setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(node), context), node);\n              }\n              return factory.updateImportTypeNode(\n                node,\n                factory.updateLiteralTypeNode(node.argument, rewriteModuleSpecifier(node, node.argument.literal)),\n                node.assertions,\n                node.qualifier,\n                visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode),\n                node.isTypeOf\n              );\n            }\n            if (isEntityName(node) || isEntityNameExpression(node)) {\n              const { introducesError, node: result } = trackExistingEntityName(node, context, includePrivateSymbol);\n              hadError = hadError || introducesError;\n              if (result !== node) {\n                return result;\n              }\n            }\n            if (file && isTupleTypeNode(node) && getLineAndCharacterOfPosition(file, node.pos).line === getLineAndCharacterOfPosition(file, node.end).line) {\n              setEmitFlags(\n                node,\n                1\n                /* SingleLine */\n              );\n            }\n            return visitEachChild(node, visitExistingNodeTreeSymbols, nullTransformationContext);\n            function getEffectiveDotDotDotForParameter(p) {\n              return p.dotDotDotToken || (p.type && isJSDocVariadicType(p.type) ? factory.createToken(\n                25\n                /* DotDotDotToken */\n              ) : void 0);\n            }\n            function getNameForJSDocFunctionParameter(p, index) {\n              return p.name && isIdentifier(p.name) && p.name.escapedText === \"this\" ? \"this\" : getEffectiveDotDotDotForParameter(p) ? `args` : `arg${index}`;\n            }\n            function rewriteModuleSpecifier(parent2, lit) {\n              if (bundled) {\n                if (context.tracker && context.tracker.moduleResolverHost) {\n                  const targetFile = getExternalModuleFileFromDeclaration(parent2);\n                  if (targetFile) {\n                    const getCanonicalFileName = createGetCanonicalFileName(!!host.useCaseSensitiveFileNames);\n                    const resolverHost = {\n                      getCanonicalFileName,\n                      getCurrentDirectory: () => context.tracker.moduleResolverHost.getCurrentDirectory(),\n                      getCommonSourceDirectory: () => context.tracker.moduleResolverHost.getCommonSourceDirectory()\n                    };\n                    const newName = getResolvedExternalModuleName(resolverHost, targetFile);\n                    return factory.createStringLiteral(newName);\n                  }\n                }\n              } else {\n                if (context.tracker && context.tracker.trackExternalModuleSymbolOfImportTypeNode) {\n                  const moduleSym = resolveExternalModuleNameWorker(\n                    lit,\n                    lit,\n                    /*moduleNotFoundError*/\n                    void 0\n                  );\n                  if (moduleSym) {\n                    context.tracker.trackExternalModuleSymbolOfImportTypeNode(moduleSym);\n                  }\n                }\n              }\n              return lit;\n            }\n          }\n        }\n        function symbolTableToDeclarationStatements(symbolTable, context, bundled) {\n          const serializePropertySymbolForClass = makeSerializePropertySymbol(\n            factory.createPropertyDeclaration,\n            171,\n            /*useAcessors*/\n            true\n          );\n          const serializePropertySymbolForInterfaceWorker = makeSerializePropertySymbol(\n            (mods, name, question, type) => factory.createPropertySignature(mods, name, question, type),\n            170,\n            /*useAcessors*/\n            false\n          );\n          const enclosingDeclaration = context.enclosingDeclaration;\n          let results = [];\n          const visitedSymbols = /* @__PURE__ */ new Set();\n          const deferredPrivatesStack = [];\n          const oldcontext = context;\n          context = {\n            ...oldcontext,\n            usedSymbolNames: new Set(oldcontext.usedSymbolNames),\n            remappedSymbolNames: /* @__PURE__ */ new Map(),\n            tracker: void 0\n          };\n          const tracker = {\n            ...oldcontext.tracker.inner,\n            trackSymbol: (sym, decl, meaning) => {\n              var _a22;\n              const accessibleResult = isSymbolAccessible(\n                sym,\n                decl,\n                meaning,\n                /*computeAliases*/\n                false\n              );\n              if (accessibleResult.accessibility === 0) {\n                const chain = lookupSymbolChainWorker(sym, context, meaning);\n                if (!(sym.flags & 4)) {\n                  includePrivateSymbol(chain[0]);\n                }\n              } else if ((_a22 = oldcontext.tracker.inner) == null ? void 0 : _a22.trackSymbol) {\n                return oldcontext.tracker.inner.trackSymbol(sym, decl, meaning);\n              }\n              return false;\n            }\n          };\n          context.tracker = new SymbolTrackerImpl(context, tracker, oldcontext.tracker.moduleResolverHost);\n          forEachEntry(symbolTable, (symbol, name) => {\n            const baseName = unescapeLeadingUnderscores(name);\n            void getInternalSymbolName(symbol, baseName);\n          });\n          let addingDeclare = !bundled;\n          const exportEquals = symbolTable.get(\n            \"export=\"\n            /* ExportEquals */\n          );\n          if (exportEquals && symbolTable.size > 1 && exportEquals.flags & 2097152) {\n            symbolTable = createSymbolTable();\n            symbolTable.set(\"export=\", exportEquals);\n          }\n          visitSymbolTable(symbolTable);\n          return mergeRedundantStatements(results);\n          function isIdentifierAndNotUndefined(node) {\n            return !!node && node.kind === 79;\n          }\n          function getNamesOfDeclaration(statement) {\n            if (isVariableStatement(statement)) {\n              return filter(map(statement.declarationList.declarations, getNameOfDeclaration), isIdentifierAndNotUndefined);\n            }\n            return filter([getNameOfDeclaration(statement)], isIdentifierAndNotUndefined);\n          }\n          function flattenExportAssignedNamespace(statements) {\n            const exportAssignment = find(statements, isExportAssignment);\n            const nsIndex = findIndex(statements, isModuleDeclaration);\n            let ns = nsIndex !== -1 ? statements[nsIndex] : void 0;\n            if (ns && exportAssignment && exportAssignment.isExportEquals && isIdentifier(exportAssignment.expression) && isIdentifier(ns.name) && idText(ns.name) === idText(exportAssignment.expression) && ns.body && isModuleBlock(ns.body)) {\n              const excessExports = filter(statements, (s) => !!(getEffectiveModifierFlags(s) & 1));\n              const name = ns.name;\n              let body = ns.body;\n              if (length(excessExports)) {\n                ns = factory.updateModuleDeclaration(\n                  ns,\n                  ns.modifiers,\n                  ns.name,\n                  body = factory.updateModuleBlock(\n                    body,\n                    factory.createNodeArray([...ns.body.statements, factory.createExportDeclaration(\n                      /*modifiers*/\n                      void 0,\n                      /*isTypeOnly*/\n                      false,\n                      factory.createNamedExports(map(flatMap(excessExports, (e) => getNamesOfDeclaration(e)), (id) => factory.createExportSpecifier(\n                        /*isTypeOnly*/\n                        false,\n                        /*alias*/\n                        void 0,\n                        id\n                      ))),\n                      /*moduleSpecifier*/\n                      void 0\n                    )])\n                  )\n                );\n                statements = [...statements.slice(0, nsIndex), ns, ...statements.slice(nsIndex + 1)];\n              }\n              if (!find(statements, (s) => s !== ns && nodeHasName(s, name))) {\n                results = [];\n                const mixinExportFlag = !some(body.statements, (s) => hasSyntacticModifier(\n                  s,\n                  1\n                  /* Export */\n                ) || isExportAssignment(s) || isExportDeclaration(s));\n                forEach(body.statements, (s) => {\n                  addResult(\n                    s,\n                    mixinExportFlag ? 1 : 0\n                    /* None */\n                  );\n                });\n                statements = [...filter(statements, (s) => s !== ns && s !== exportAssignment), ...results];\n              }\n            }\n            return statements;\n          }\n          function mergeExportDeclarations(statements) {\n            const exports = filter(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause));\n            if (length(exports) > 1) {\n              const nonExports = filter(statements, (d) => !isExportDeclaration(d) || !!d.moduleSpecifier || !d.exportClause);\n              statements = [...nonExports, factory.createExportDeclaration(\n                /*modifiers*/\n                void 0,\n                /*isTypeOnly*/\n                false,\n                factory.createNamedExports(flatMap(exports, (e) => cast(e.exportClause, isNamedExports).elements)),\n                /*moduleSpecifier*/\n                void 0\n              )];\n            }\n            const reexports = filter(statements, (d) => isExportDeclaration(d) && !!d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause));\n            if (length(reexports) > 1) {\n              const groups = group(reexports, (decl) => isStringLiteral(decl.moduleSpecifier) ? \">\" + decl.moduleSpecifier.text : \">\");\n              if (groups.length !== reexports.length) {\n                for (const group2 of groups) {\n                  if (group2.length > 1) {\n                    statements = [\n                      ...filter(statements, (s) => group2.indexOf(s) === -1),\n                      factory.createExportDeclaration(\n                        /*modifiers*/\n                        void 0,\n                        /*isTypeOnly*/\n                        false,\n                        factory.createNamedExports(flatMap(group2, (e) => cast(e.exportClause, isNamedExports).elements)),\n                        group2[0].moduleSpecifier\n                      )\n                    ];\n                  }\n                }\n              }\n            }\n            return statements;\n          }\n          function inlineExportModifiers(statements) {\n            const index = findIndex(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !d.assertClause && !!d.exportClause && isNamedExports(d.exportClause));\n            if (index >= 0) {\n              const exportDecl = statements[index];\n              const replacements = mapDefined(exportDecl.exportClause.elements, (e) => {\n                if (!e.propertyName) {\n                  const indices = indicesOf(statements);\n                  const associatedIndices = filter(indices, (i) => nodeHasName(statements[i], e.name));\n                  if (length(associatedIndices) && every(associatedIndices, (i) => canHaveExportModifier(statements[i]))) {\n                    for (const index2 of associatedIndices) {\n                      statements[index2] = addExportModifier(statements[index2]);\n                    }\n                    return void 0;\n                  }\n                }\n                return e;\n              });\n              if (!length(replacements)) {\n                orderedRemoveItemAt(statements, index);\n              } else {\n                statements[index] = factory.updateExportDeclaration(\n                  exportDecl,\n                  exportDecl.modifiers,\n                  exportDecl.isTypeOnly,\n                  factory.updateNamedExports(\n                    exportDecl.exportClause,\n                    replacements\n                  ),\n                  exportDecl.moduleSpecifier,\n                  exportDecl.assertClause\n                );\n              }\n            }\n            return statements;\n          }\n          function mergeRedundantStatements(statements) {\n            statements = flattenExportAssignedNamespace(statements);\n            statements = mergeExportDeclarations(statements);\n            statements = inlineExportModifiers(statements);\n            if (enclosingDeclaration && (isSourceFile(enclosingDeclaration) && isExternalOrCommonJsModule(enclosingDeclaration) || isModuleDeclaration(enclosingDeclaration)) && (!some(statements, isExternalModuleIndicator) || !hasScopeMarker(statements) && some(statements, needsScopeMarker))) {\n              statements.push(createEmptyExports(factory));\n            }\n            return statements;\n          }\n          function addExportModifier(node) {\n            const flags = (getEffectiveModifierFlags(node) | 1) & ~2;\n            return factory.updateModifiers(node, flags);\n          }\n          function removeExportModifier(node) {\n            const flags = getEffectiveModifierFlags(node) & ~1;\n            return factory.updateModifiers(node, flags);\n          }\n          function visitSymbolTable(symbolTable2, suppressNewPrivateContext, propertyAsAlias) {\n            if (!suppressNewPrivateContext) {\n              deferredPrivatesStack.push(/* @__PURE__ */ new Map());\n            }\n            symbolTable2.forEach((symbol) => {\n              serializeSymbol(\n                symbol,\n                /*isPrivate*/\n                false,\n                !!propertyAsAlias\n              );\n            });\n            if (!suppressNewPrivateContext) {\n              deferredPrivatesStack[deferredPrivatesStack.length - 1].forEach((symbol) => {\n                serializeSymbol(\n                  symbol,\n                  /*isPrivate*/\n                  true,\n                  !!propertyAsAlias\n                );\n              });\n              deferredPrivatesStack.pop();\n            }\n          }\n          function serializeSymbol(symbol, isPrivate, propertyAsAlias) {\n            const visitedSym = getMergedSymbol(symbol);\n            if (visitedSymbols.has(getSymbolId(visitedSym))) {\n              return;\n            }\n            visitedSymbols.add(getSymbolId(visitedSym));\n            const skipMembershipCheck = !isPrivate;\n            if (skipMembershipCheck || !!length(symbol.declarations) && some(symbol.declarations, (d) => !!findAncestor(d, (n) => n === enclosingDeclaration))) {\n              const oldContext = context;\n              context = cloneNodeBuilderContext(context);\n              serializeSymbolWorker(symbol, isPrivate, propertyAsAlias);\n              if (context.reportedDiagnostic) {\n                oldcontext.reportedDiagnostic = context.reportedDiagnostic;\n              }\n              context = oldContext;\n            }\n          }\n          function serializeSymbolWorker(symbol, isPrivate, propertyAsAlias) {\n            var _a22, _b3, _c, _d;\n            const symbolName2 = unescapeLeadingUnderscores(symbol.escapedName);\n            const isDefault = symbol.escapedName === \"default\";\n            if (isPrivate && !(context.flags & 131072) && isStringANonContextualKeyword(symbolName2) && !isDefault) {\n              context.encounteredError = true;\n              return;\n            }\n            let needsPostExportDefault = isDefault && !!(symbol.flags & -113 || symbol.flags & 16 && length(getPropertiesOfType(getTypeOfSymbol(symbol)))) && !(symbol.flags & 2097152);\n            let needsExportDeclaration = !needsPostExportDefault && !isPrivate && isStringANonContextualKeyword(symbolName2) && !isDefault;\n            if (needsPostExportDefault || needsExportDeclaration) {\n              isPrivate = true;\n            }\n            const modifierFlags = (!isPrivate ? 1 : 0) | (isDefault && !needsPostExportDefault ? 1024 : 0);\n            const isConstMergedWithNS = symbol.flags & 1536 && symbol.flags & (2 | 1 | 4) && symbol.escapedName !== \"export=\";\n            const isConstMergedWithNSPrintableAsSignatureMerge = isConstMergedWithNS && isTypeRepresentableAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol);\n            if (symbol.flags & (16 | 8192) || isConstMergedWithNSPrintableAsSignatureMerge) {\n              serializeAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n            }\n            if (symbol.flags & 524288) {\n              serializeTypeAlias(symbol, symbolName2, modifierFlags);\n            }\n            if (symbol.flags & (2 | 1 | 4) && symbol.escapedName !== \"export=\" && !(symbol.flags & 4194304) && !(symbol.flags & 32) && !(symbol.flags & 8192) && !isConstMergedWithNSPrintableAsSignatureMerge) {\n              if (propertyAsAlias) {\n                const createdExport = serializeMaybeAliasAssignment(symbol);\n                if (createdExport) {\n                  needsExportDeclaration = false;\n                  needsPostExportDefault = false;\n                }\n              } else {\n                const type = getTypeOfSymbol(symbol);\n                const localName = getInternalSymbolName(symbol, symbolName2);\n                if (!(symbol.flags & 16) && isTypeRepresentableAsFunctionNamespaceMerge(type, symbol)) {\n                  serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags);\n                } else {\n                  const flags = !(symbol.flags & 2) ? ((_a22 = symbol.parent) == null ? void 0 : _a22.valueDeclaration) && isSourceFile((_b3 = symbol.parent) == null ? void 0 : _b3.valueDeclaration) ? 2 : void 0 : isConstVariable(symbol) ? 2 : 1;\n                  const name = needsPostExportDefault || !(symbol.flags & 4) ? localName : getUnusedName(localName, symbol);\n                  let textRange = symbol.declarations && find(symbol.declarations, (d) => isVariableDeclaration(d));\n                  if (textRange && isVariableDeclarationList(textRange.parent) && textRange.parent.declarations.length === 1) {\n                    textRange = textRange.parent.parent;\n                  }\n                  const propertyAccessRequire = (_c = symbol.declarations) == null ? void 0 : _c.find(isPropertyAccessExpression);\n                  if (propertyAccessRequire && isBinaryExpression(propertyAccessRequire.parent) && isIdentifier(propertyAccessRequire.parent.right) && ((_d = type.symbol) == null ? void 0 : _d.valueDeclaration) && isSourceFile(type.symbol.valueDeclaration)) {\n                    const alias = localName === propertyAccessRequire.parent.right.escapedText ? void 0 : propertyAccessRequire.parent.right;\n                    addResult(\n                      factory.createExportDeclaration(\n                        /*modifiers*/\n                        void 0,\n                        /*isTypeOnly*/\n                        false,\n                        factory.createNamedExports([factory.createExportSpecifier(\n                          /*isTypeOnly*/\n                          false,\n                          alias,\n                          localName\n                        )])\n                      ),\n                      0\n                      /* None */\n                    );\n                    context.tracker.trackSymbol(\n                      type.symbol,\n                      context.enclosingDeclaration,\n                      111551\n                      /* Value */\n                    );\n                  } else {\n                    const statement = setTextRange(factory.createVariableStatement(\n                      /*modifiers*/\n                      void 0,\n                      factory.createVariableDeclarationList([\n                        factory.createVariableDeclaration(\n                          name,\n                          /*exclamationToken*/\n                          void 0,\n                          serializeTypeForDeclaration(context, type, symbol, enclosingDeclaration, includePrivateSymbol, bundled)\n                        )\n                      ], flags)\n                    ), textRange);\n                    addResult(statement, name !== localName ? modifierFlags & ~1 : modifierFlags);\n                    if (name !== localName && !isPrivate) {\n                      addResult(\n                        factory.createExportDeclaration(\n                          /*modifiers*/\n                          void 0,\n                          /*isTypeOnly*/\n                          false,\n                          factory.createNamedExports([factory.createExportSpecifier(\n                            /*isTypeOnly*/\n                            false,\n                            name,\n                            localName\n                          )])\n                        ),\n                        0\n                        /* None */\n                      );\n                      needsExportDeclaration = false;\n                      needsPostExportDefault = false;\n                    }\n                  }\n                }\n              }\n            }\n            if (symbol.flags & 384) {\n              serializeEnum(symbol, symbolName2, modifierFlags);\n            }\n            if (symbol.flags & 32) {\n              if (symbol.flags & 4 && symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration.parent) && isClassExpression(symbol.valueDeclaration.parent.right)) {\n                serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n              } else {\n                serializeAsClass(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n              }\n            }\n            if (symbol.flags & (512 | 1024) && (!isConstMergedWithNS || isTypeOnlyNamespace(symbol)) || isConstMergedWithNSPrintableAsSignatureMerge) {\n              serializeModule(symbol, symbolName2, modifierFlags);\n            }\n            if (symbol.flags & 64 && !(symbol.flags & 32)) {\n              serializeInterface(symbol, symbolName2, modifierFlags);\n            }\n            if (symbol.flags & 2097152) {\n              serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n            }\n            if (symbol.flags & 4 && symbol.escapedName === \"export=\") {\n              serializeMaybeAliasAssignment(symbol);\n            }\n            if (symbol.flags & 8388608) {\n              if (symbol.declarations) {\n                for (const node of symbol.declarations) {\n                  const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier);\n                  if (!resolvedModule)\n                    continue;\n                  addResult(\n                    factory.createExportDeclaration(\n                      /*modifiers*/\n                      void 0,\n                      /*isTypeOnly*/\n                      node.isTypeOnly,\n                      /*exportClause*/\n                      void 0,\n                      factory.createStringLiteral(getSpecifierForModuleSymbol(resolvedModule, context))\n                    ),\n                    0\n                    /* None */\n                  );\n                }\n              }\n            }\n            if (needsPostExportDefault) {\n              addResult(\n                factory.createExportAssignment(\n                  /*modifiers*/\n                  void 0,\n                  /*isExportAssignment*/\n                  false,\n                  factory.createIdentifier(getInternalSymbolName(symbol, symbolName2))\n                ),\n                0\n                /* None */\n              );\n            } else if (needsExportDeclaration) {\n              addResult(\n                factory.createExportDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  /*isTypeOnly*/\n                  false,\n                  factory.createNamedExports([factory.createExportSpecifier(\n                    /*isTypeOnly*/\n                    false,\n                    getInternalSymbolName(symbol, symbolName2),\n                    symbolName2\n                  )])\n                ),\n                0\n                /* None */\n              );\n            }\n          }\n          function includePrivateSymbol(symbol) {\n            if (some(symbol.declarations, isParameterDeclaration))\n              return;\n            Debug2.assertIsDefined(deferredPrivatesStack[deferredPrivatesStack.length - 1]);\n            getUnusedName(unescapeLeadingUnderscores(symbol.escapedName), symbol);\n            const isExternalImportAlias = !!(symbol.flags & 2097152) && !some(\n              symbol.declarations,\n              (d) => !!findAncestor(d, isExportDeclaration) || isNamespaceExport(d) || isImportEqualsDeclaration(d) && !isExternalModuleReference(d.moduleReference)\n            );\n            deferredPrivatesStack[isExternalImportAlias ? 0 : deferredPrivatesStack.length - 1].set(getSymbolId(symbol), symbol);\n          }\n          function isExportingScope(enclosingDeclaration2) {\n            return isSourceFile(enclosingDeclaration2) && (isExternalOrCommonJsModule(enclosingDeclaration2) || isJsonSourceFile(enclosingDeclaration2)) || isAmbientModule(enclosingDeclaration2) && !isGlobalScopeAugmentation(enclosingDeclaration2);\n          }\n          function addResult(node, additionalModifierFlags) {\n            if (canHaveModifiers(node)) {\n              let newModifierFlags = 0;\n              const enclosingDeclaration2 = context.enclosingDeclaration && (isJSDocTypeAlias(context.enclosingDeclaration) ? getSourceFileOfNode(context.enclosingDeclaration) : context.enclosingDeclaration);\n              if (additionalModifierFlags & 1 && enclosingDeclaration2 && (isExportingScope(enclosingDeclaration2) || isModuleDeclaration(enclosingDeclaration2)) && canHaveExportModifier(node)) {\n                newModifierFlags |= 1;\n              }\n              if (addingDeclare && !(newModifierFlags & 1) && (!enclosingDeclaration2 || !(enclosingDeclaration2.flags & 16777216)) && (isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isModuleDeclaration(node))) {\n                newModifierFlags |= 2;\n              }\n              if (additionalModifierFlags & 1024 && (isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionDeclaration(node))) {\n                newModifierFlags |= 1024;\n              }\n              if (newModifierFlags) {\n                node = factory.updateModifiers(node, newModifierFlags | getEffectiveModifierFlags(node));\n              }\n            }\n            results.push(node);\n          }\n          function serializeTypeAlias(symbol, symbolName2, modifierFlags) {\n            var _a22;\n            const aliasType = getDeclaredTypeOfTypeAlias(symbol);\n            const typeParams = getSymbolLinks(symbol).typeParameters;\n            const typeParamDecls = map(typeParams, (p) => typeParameterToDeclaration(p, context));\n            const jsdocAliasDecl = (_a22 = symbol.declarations) == null ? void 0 : _a22.find(isJSDocTypeAlias);\n            const commentText = getTextOfJSDocComment(jsdocAliasDecl ? jsdocAliasDecl.comment || jsdocAliasDecl.parent.comment : void 0);\n            const oldFlags = context.flags;\n            context.flags |= 8388608;\n            const oldEnclosingDecl = context.enclosingDeclaration;\n            context.enclosingDeclaration = jsdocAliasDecl;\n            const typeNode = jsdocAliasDecl && jsdocAliasDecl.typeExpression && isJSDocTypeExpression(jsdocAliasDecl.typeExpression) && serializeExistingTypeNode(context, jsdocAliasDecl.typeExpression.type, includePrivateSymbol, bundled) || typeToTypeNodeHelper(aliasType, context);\n            addResult(setSyntheticLeadingComments(\n              factory.createTypeAliasDeclaration(\n                /*modifiers*/\n                void 0,\n                getInternalSymbolName(symbol, symbolName2),\n                typeParamDecls,\n                typeNode\n              ),\n              !commentText ? [] : [{ kind: 3, text: \"*\\n * \" + commentText.replace(/\\n/g, \"\\n * \") + \"\\n \", pos: -1, end: -1, hasTrailingNewLine: true }]\n            ), modifierFlags);\n            context.flags = oldFlags;\n            context.enclosingDeclaration = oldEnclosingDecl;\n          }\n          function serializeInterface(symbol, symbolName2, modifierFlags) {\n            const interfaceType = getDeclaredTypeOfClassOrInterface(symbol);\n            const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n            const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context));\n            const baseTypes = getBaseTypes(interfaceType);\n            const baseType = length(baseTypes) ? getIntersectionType(baseTypes) : void 0;\n            const members = flatMap(getPropertiesOfType(interfaceType), (p) => serializePropertySymbolForInterface(p, baseType));\n            const callSignatures = serializeSignatures(\n              0,\n              interfaceType,\n              baseType,\n              176\n              /* CallSignature */\n            );\n            const constructSignatures = serializeSignatures(\n              1,\n              interfaceType,\n              baseType,\n              177\n              /* ConstructSignature */\n            );\n            const indexSignatures = serializeIndexSignatures(interfaceType, baseType);\n            const heritageClauses = !length(baseTypes) ? void 0 : [factory.createHeritageClause(94, mapDefined(baseTypes, (b) => trySerializeAsTypeReference(\n              b,\n              111551\n              /* Value */\n            )))];\n            addResult(factory.createInterfaceDeclaration(\n              /*modifiers*/\n              void 0,\n              getInternalSymbolName(symbol, symbolName2),\n              typeParamDecls,\n              heritageClauses,\n              [...indexSignatures, ...constructSignatures, ...callSignatures, ...members]\n            ), modifierFlags);\n          }\n          function getNamespaceMembersForSerialization(symbol) {\n            return !symbol.exports ? [] : filter(arrayFrom(symbol.exports.values()), isNamespaceMember);\n          }\n          function isTypeOnlyNamespace(symbol) {\n            return every(getNamespaceMembersForSerialization(symbol), (m) => !(getAllSymbolFlags(resolveSymbol(m)) & 111551));\n          }\n          function serializeModule(symbol, symbolName2, modifierFlags) {\n            const members = getNamespaceMembersForSerialization(symbol);\n            const locationMap = arrayToMultiMap(members, (m) => m.parent && m.parent === symbol ? \"real\" : \"merged\");\n            const realMembers = locationMap.get(\"real\") || emptyArray;\n            const mergedMembers = locationMap.get(\"merged\") || emptyArray;\n            if (length(realMembers)) {\n              const localName = getInternalSymbolName(symbol, symbolName2);\n              serializeAsNamespaceDeclaration(realMembers, localName, modifierFlags, !!(symbol.flags & (16 | 67108864)));\n            }\n            if (length(mergedMembers)) {\n              const containingFile = getSourceFileOfNode(context.enclosingDeclaration);\n              const localName = getInternalSymbolName(symbol, symbolName2);\n              const nsBody = factory.createModuleBlock([factory.createExportDeclaration(\n                /*modifiers*/\n                void 0,\n                /*isTypeOnly*/\n                false,\n                factory.createNamedExports(mapDefined(filter(\n                  mergedMembers,\n                  (n) => n.escapedName !== \"export=\"\n                  /* ExportEquals */\n                ), (s) => {\n                  var _a22, _b3;\n                  const name = unescapeLeadingUnderscores(s.escapedName);\n                  const localName2 = getInternalSymbolName(s, name);\n                  const aliasDecl = s.declarations && getDeclarationOfAliasSymbol(s);\n                  if (containingFile && (aliasDecl ? containingFile !== getSourceFileOfNode(aliasDecl) : !some(s.declarations, (d) => getSourceFileOfNode(d) === containingFile))) {\n                    (_b3 = (_a22 = context.tracker) == null ? void 0 : _a22.reportNonlocalAugmentation) == null ? void 0 : _b3.call(_a22, containingFile, symbol, s);\n                    return void 0;\n                  }\n                  const target = aliasDecl && getTargetOfAliasDeclaration(\n                    aliasDecl,\n                    /*dontRecursivelyResolve*/\n                    true\n                  );\n                  includePrivateSymbol(target || s);\n                  const targetName = target ? getInternalSymbolName(target, unescapeLeadingUnderscores(target.escapedName)) : localName2;\n                  return factory.createExportSpecifier(\n                    /*isTypeOnly*/\n                    false,\n                    name === targetName ? void 0 : targetName,\n                    name\n                  );\n                }))\n              )]);\n              addResult(\n                factory.createModuleDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  factory.createIdentifier(localName),\n                  nsBody,\n                  16\n                  /* Namespace */\n                ),\n                0\n                /* None */\n              );\n            }\n          }\n          function serializeEnum(symbol, symbolName2, modifierFlags) {\n            addResult(factory.createEnumDeclaration(\n              factory.createModifiersFromModifierFlags(isConstEnumSymbol(symbol) ? 2048 : 0),\n              getInternalSymbolName(symbol, symbolName2),\n              map(filter(getPropertiesOfType(getTypeOfSymbol(symbol)), (p) => !!(p.flags & 8)), (p) => {\n                const initializedValue = p.declarations && p.declarations[0] && isEnumMember(p.declarations[0]) ? getConstantValue2(p.declarations[0]) : void 0;\n                return factory.createEnumMember(unescapeLeadingUnderscores(p.escapedName), initializedValue === void 0 ? void 0 : typeof initializedValue === \"string\" ? factory.createStringLiteral(initializedValue) : factory.createNumericLiteral(initializedValue));\n              })\n            ), modifierFlags);\n          }\n          function serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags) {\n            const signatures = getSignaturesOfType(\n              type,\n              0\n              /* Call */\n            );\n            for (const sig of signatures) {\n              const decl = signatureToSignatureDeclarationHelper(sig, 259, context, { name: factory.createIdentifier(localName), privateSymbolVisitor: includePrivateSymbol, bundledImports: bundled });\n              addResult(setTextRange(decl, getSignatureTextRangeLocation(sig)), modifierFlags);\n            }\n            if (!(symbol.flags & (512 | 1024) && !!symbol.exports && !!symbol.exports.size)) {\n              const props = filter(getPropertiesOfType(type), isNamespaceMember);\n              serializeAsNamespaceDeclaration(\n                props,\n                localName,\n                modifierFlags,\n                /*suppressNewPrivateContext*/\n                true\n              );\n            }\n          }\n          function getSignatureTextRangeLocation(signature) {\n            if (signature.declaration && signature.declaration.parent) {\n              if (isBinaryExpression(signature.declaration.parent) && getAssignmentDeclarationKind(signature.declaration.parent) === 5) {\n                return signature.declaration.parent;\n              }\n              if (isVariableDeclaration(signature.declaration.parent) && signature.declaration.parent.parent) {\n                return signature.declaration.parent.parent;\n              }\n            }\n            return signature.declaration;\n          }\n          function serializeAsNamespaceDeclaration(props, localName, modifierFlags, suppressNewPrivateContext) {\n            if (length(props)) {\n              const localVsRemoteMap = arrayToMultiMap(\n                props,\n                (p) => !length(p.declarations) || some(\n                  p.declarations,\n                  (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)\n                ) ? \"local\" : \"remote\"\n              );\n              const localProps = localVsRemoteMap.get(\"local\") || emptyArray;\n              let fakespace = parseNodeFactory.createModuleDeclaration(\n                /*modifiers*/\n                void 0,\n                factory.createIdentifier(localName),\n                factory.createModuleBlock([]),\n                16\n                /* Namespace */\n              );\n              setParent(fakespace, enclosingDeclaration);\n              fakespace.locals = createSymbolTable(props);\n              fakespace.symbol = props[0].parent;\n              const oldResults = results;\n              results = [];\n              const oldAddingDeclare = addingDeclare;\n              addingDeclare = false;\n              const subcontext = { ...context, enclosingDeclaration: fakespace };\n              const oldContext = context;\n              context = subcontext;\n              visitSymbolTable(\n                createSymbolTable(localProps),\n                suppressNewPrivateContext,\n                /*propertyAsAlias*/\n                true\n              );\n              context = oldContext;\n              addingDeclare = oldAddingDeclare;\n              const declarations = results;\n              results = oldResults;\n              const defaultReplaced = map(declarations, (d) => isExportAssignment(d) && !d.isExportEquals && isIdentifier(d.expression) ? factory.createExportDeclaration(\n                /*modifiers*/\n                void 0,\n                /*isTypeOnly*/\n                false,\n                factory.createNamedExports([factory.createExportSpecifier(\n                  /*isTypeOnly*/\n                  false,\n                  d.expression,\n                  factory.createIdentifier(\n                    \"default\"\n                    /* Default */\n                  )\n                )])\n              ) : d);\n              const exportModifierStripped = every(defaultReplaced, (d) => hasSyntacticModifier(\n                d,\n                1\n                /* Export */\n              )) ? map(defaultReplaced, removeExportModifier) : defaultReplaced;\n              fakespace = factory.updateModuleDeclaration(\n                fakespace,\n                fakespace.modifiers,\n                fakespace.name,\n                factory.createModuleBlock(exportModifierStripped)\n              );\n              addResult(fakespace, modifierFlags);\n            }\n          }\n          function isNamespaceMember(p) {\n            return !!(p.flags & (788968 | 1920 | 2097152)) || !(p.flags & 4194304 || p.escapedName === \"prototype\" || p.valueDeclaration && isStatic(p.valueDeclaration) && isClassLike(p.valueDeclaration.parent));\n          }\n          function sanitizeJSDocImplements(clauses) {\n            const result = mapDefined(clauses, (e) => {\n              const oldEnclosing = context.enclosingDeclaration;\n              context.enclosingDeclaration = e;\n              let expr = e.expression;\n              if (isEntityNameExpression(expr)) {\n                if (isIdentifier(expr) && idText(expr) === \"\") {\n                  return cleanup(\n                    /*result*/\n                    void 0\n                  );\n                }\n                let introducesError;\n                ({ introducesError, node: expr } = trackExistingEntityName(expr, context, includePrivateSymbol));\n                if (introducesError) {\n                  return cleanup(\n                    /*result*/\n                    void 0\n                  );\n                }\n              }\n              return cleanup(factory.createExpressionWithTypeArguments(\n                expr,\n                map(\n                  e.typeArguments,\n                  (a) => serializeExistingTypeNode(context, a, includePrivateSymbol, bundled) || typeToTypeNodeHelper(getTypeFromTypeNode(a), context)\n                )\n              ));\n              function cleanup(result2) {\n                context.enclosingDeclaration = oldEnclosing;\n                return result2;\n              }\n            });\n            if (result.length === clauses.length) {\n              return result;\n            }\n            return void 0;\n          }\n          function serializeAsClass(symbol, localName, modifierFlags) {\n            var _a22, _b3;\n            const originalDecl = (_a22 = symbol.declarations) == null ? void 0 : _a22.find(isClassLike);\n            const oldEnclosing = context.enclosingDeclaration;\n            context.enclosingDeclaration = originalDecl || oldEnclosing;\n            const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n            const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context));\n            const classType = getDeclaredTypeOfClassOrInterface(symbol);\n            const baseTypes = getBaseTypes(classType);\n            const originalImplements = originalDecl && getEffectiveImplementsTypeNodes(originalDecl);\n            const implementsExpressions = originalImplements && sanitizeJSDocImplements(originalImplements) || mapDefined(getImplementsTypes(classType), serializeImplementedType);\n            const staticType = getTypeOfSymbol(symbol);\n            const isClass = !!((_b3 = staticType.symbol) == null ? void 0 : _b3.valueDeclaration) && isClassLike(staticType.symbol.valueDeclaration);\n            const staticBaseType = isClass ? getBaseConstructorTypeOfClass(staticType) : anyType;\n            const heritageClauses = [\n              ...!length(baseTypes) ? [] : [factory.createHeritageClause(94, map(baseTypes, (b) => serializeBaseType(b, staticBaseType, localName)))],\n              ...!length(implementsExpressions) ? [] : [factory.createHeritageClause(117, implementsExpressions)]\n            ];\n            const symbolProps = getNonInheritedProperties(classType, baseTypes, getPropertiesOfType(classType));\n            const publicSymbolProps = filter(symbolProps, (s) => {\n              const valueDecl = s.valueDeclaration;\n              return !!valueDecl && !(isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name));\n            });\n            const hasPrivateIdentifier = some(symbolProps, (s) => {\n              const valueDecl = s.valueDeclaration;\n              return !!valueDecl && isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name);\n            });\n            const privateProperties = hasPrivateIdentifier ? [factory.createPropertyDeclaration(\n              /*modifiers*/\n              void 0,\n              factory.createPrivateIdentifier(\"#private\"),\n              /*questionOrExclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              /*initializer*/\n              void 0\n            )] : emptyArray;\n            const publicProperties = flatMap(publicSymbolProps, (p) => serializePropertySymbolForClass(\n              p,\n              /*isStatic*/\n              false,\n              baseTypes[0]\n            ));\n            const staticMembers = flatMap(\n              filter(getPropertiesOfType(staticType), (p) => !(p.flags & 4194304) && p.escapedName !== \"prototype\" && !isNamespaceMember(p)),\n              (p) => serializePropertySymbolForClass(\n                p,\n                /*isStatic*/\n                true,\n                staticBaseType\n              )\n            );\n            const isNonConstructableClassLikeInJsFile = !isClass && !!symbol.valueDeclaration && isInJSFile(symbol.valueDeclaration) && !some(getSignaturesOfType(\n              staticType,\n              1\n              /* Construct */\n            ));\n            const constructors = isNonConstructableClassLikeInJsFile ? [factory.createConstructorDeclaration(\n              factory.createModifiersFromModifierFlags(\n                8\n                /* Private */\n              ),\n              [],\n              /*body*/\n              void 0\n            )] : serializeSignatures(\n              1,\n              staticType,\n              staticBaseType,\n              173\n              /* Constructor */\n            );\n            const indexSignatures = serializeIndexSignatures(classType, baseTypes[0]);\n            context.enclosingDeclaration = oldEnclosing;\n            addResult(setTextRange(factory.createClassDeclaration(\n              /*modifiers*/\n              void 0,\n              localName,\n              typeParamDecls,\n              heritageClauses,\n              [...indexSignatures, ...staticMembers, ...constructors, ...publicProperties, ...privateProperties]\n            ), symbol.declarations && filter(symbol.declarations, (d) => isClassDeclaration(d) || isClassExpression(d))[0]), modifierFlags);\n          }\n          function getSomeTargetNameFromDeclarations(declarations) {\n            return firstDefined(declarations, (d) => {\n              if (isImportSpecifier(d) || isExportSpecifier(d)) {\n                return idText(d.propertyName || d.name);\n              }\n              if (isBinaryExpression(d) || isExportAssignment(d)) {\n                const expression = isExportAssignment(d) ? d.expression : d.right;\n                if (isPropertyAccessExpression(expression)) {\n                  return idText(expression.name);\n                }\n              }\n              if (isAliasSymbolDeclaration2(d)) {\n                const name = getNameOfDeclaration(d);\n                if (name && isIdentifier(name)) {\n                  return idText(name);\n                }\n              }\n              return void 0;\n            });\n          }\n          function serializeAsAlias(symbol, localName, modifierFlags) {\n            var _a22, _b3, _c, _d, _e;\n            const node = getDeclarationOfAliasSymbol(symbol);\n            if (!node)\n              return Debug2.fail();\n            const target = getMergedSymbol(getTargetOfAliasDeclaration(\n              node,\n              /*dontRecursivelyResolve*/\n              true\n            ));\n            if (!target) {\n              return;\n            }\n            let verbatimTargetName = isShorthandAmbientModuleSymbol(target) && getSomeTargetNameFromDeclarations(symbol.declarations) || unescapeLeadingUnderscores(target.escapedName);\n            if (verbatimTargetName === \"export=\" && (getESModuleInterop(compilerOptions) || compilerOptions.allowSyntheticDefaultImports)) {\n              verbatimTargetName = \"default\";\n            }\n            const targetName = getInternalSymbolName(target, verbatimTargetName);\n            includePrivateSymbol(target);\n            switch (node.kind) {\n              case 205:\n                if (((_b3 = (_a22 = node.parent) == null ? void 0 : _a22.parent) == null ? void 0 : _b3.kind) === 257) {\n                  const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context);\n                  const { propertyName } = node;\n                  addResult(\n                    factory.createImportDeclaration(\n                      /*modifiers*/\n                      void 0,\n                      factory.createImportClause(\n                        /*isTypeOnly*/\n                        false,\n                        /*name*/\n                        void 0,\n                        factory.createNamedImports([factory.createImportSpecifier(\n                          /*isTypeOnly*/\n                          false,\n                          propertyName && isIdentifier(propertyName) ? factory.createIdentifier(idText(propertyName)) : void 0,\n                          factory.createIdentifier(localName)\n                        )])\n                      ),\n                      factory.createStringLiteral(specifier2),\n                      /*importClause*/\n                      void 0\n                    ),\n                    0\n                    /* None */\n                  );\n                  break;\n                }\n                Debug2.failBadSyntaxKind(((_c = node.parent) == null ? void 0 : _c.parent) || node, \"Unhandled binding element grandparent kind in declaration serialization\");\n                break;\n              case 300:\n                if (((_e = (_d = node.parent) == null ? void 0 : _d.parent) == null ? void 0 : _e.kind) === 223) {\n                  serializeExportSpecifier(\n                    unescapeLeadingUnderscores(symbol.escapedName),\n                    targetName\n                  );\n                }\n                break;\n              case 257:\n                if (isPropertyAccessExpression(node.initializer)) {\n                  const initializer = node.initializer;\n                  const uniqueName = factory.createUniqueName(localName);\n                  const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context);\n                  addResult(\n                    factory.createImportEqualsDeclaration(\n                      /*modifiers*/\n                      void 0,\n                      /*isTypeOnly*/\n                      false,\n                      uniqueName,\n                      factory.createExternalModuleReference(factory.createStringLiteral(specifier2))\n                    ),\n                    0\n                    /* None */\n                  );\n                  addResult(factory.createImportEqualsDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    /*isTypeOnly*/\n                    false,\n                    factory.createIdentifier(localName),\n                    factory.createQualifiedName(uniqueName, initializer.name)\n                  ), modifierFlags);\n                  break;\n                }\n              case 268:\n                if (target.escapedName === \"export=\" && some(target.declarations, (d) => isSourceFile(d) && isJsonSourceFile(d))) {\n                  serializeMaybeAliasAssignment(symbol);\n                  break;\n                }\n                const isLocalImport = !(target.flags & 512) && !isVariableDeclaration(node);\n                addResult(\n                  factory.createImportEqualsDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    /*isTypeOnly*/\n                    false,\n                    factory.createIdentifier(localName),\n                    isLocalImport ? symbolToName(\n                      target,\n                      context,\n                      67108863,\n                      /*expectsIdentifier*/\n                      false\n                    ) : factory.createExternalModuleReference(factory.createStringLiteral(getSpecifierForModuleSymbol(target, context)))\n                  ),\n                  isLocalImport ? modifierFlags : 0\n                  /* None */\n                );\n                break;\n              case 267:\n                addResult(\n                  factory.createNamespaceExportDeclaration(idText(node.name)),\n                  0\n                  /* None */\n                );\n                break;\n              case 270: {\n                const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context);\n                const specifier2 = bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.moduleSpecifier;\n                addResult(\n                  factory.createImportDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    factory.createImportClause(\n                      /*isTypeOnly*/\n                      false,\n                      factory.createIdentifier(localName),\n                      /*namedBindings*/\n                      void 0\n                    ),\n                    specifier2,\n                    node.parent.assertClause\n                  ),\n                  0\n                  /* None */\n                );\n                break;\n              }\n              case 271: {\n                const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context);\n                const specifier2 = bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.parent.moduleSpecifier;\n                addResult(\n                  factory.createImportDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    factory.createImportClause(\n                      /*isTypeOnly*/\n                      false,\n                      /*importClause*/\n                      void 0,\n                      factory.createNamespaceImport(factory.createIdentifier(localName))\n                    ),\n                    specifier2,\n                    node.parent.parent.assertClause\n                  ),\n                  0\n                  /* None */\n                );\n                break;\n              }\n              case 277:\n                addResult(\n                  factory.createExportDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    /*isTypeOnly*/\n                    false,\n                    factory.createNamespaceExport(factory.createIdentifier(localName)),\n                    factory.createStringLiteral(getSpecifierForModuleSymbol(target, context))\n                  ),\n                  0\n                  /* None */\n                );\n                break;\n              case 273: {\n                const generatedSpecifier = getSpecifierForModuleSymbol(target.parent || target, context);\n                const specifier2 = bundled ? factory.createStringLiteral(generatedSpecifier) : node.parent.parent.parent.moduleSpecifier;\n                addResult(\n                  factory.createImportDeclaration(\n                    /*modifiers*/\n                    void 0,\n                    factory.createImportClause(\n                      /*isTypeOnly*/\n                      false,\n                      /*importClause*/\n                      void 0,\n                      factory.createNamedImports([\n                        factory.createImportSpecifier(\n                          /*isTypeOnly*/\n                          false,\n                          localName !== verbatimTargetName ? factory.createIdentifier(verbatimTargetName) : void 0,\n                          factory.createIdentifier(localName)\n                        )\n                      ])\n                    ),\n                    specifier2,\n                    node.parent.parent.parent.assertClause\n                  ),\n                  0\n                  /* None */\n                );\n                break;\n              }\n              case 278:\n                const specifier = node.parent.parent.moduleSpecifier;\n                serializeExportSpecifier(\n                  unescapeLeadingUnderscores(symbol.escapedName),\n                  specifier ? verbatimTargetName : targetName,\n                  specifier && isStringLiteralLike(specifier) ? factory.createStringLiteral(specifier.text) : void 0\n                );\n                break;\n              case 274:\n                serializeMaybeAliasAssignment(symbol);\n                break;\n              case 223:\n              case 208:\n              case 209:\n                if (symbol.escapedName === \"default\" || symbol.escapedName === \"export=\") {\n                  serializeMaybeAliasAssignment(symbol);\n                } else {\n                  serializeExportSpecifier(localName, targetName);\n                }\n                break;\n              default:\n                return Debug2.failBadSyntaxKind(node, \"Unhandled alias declaration kind in symbol serializer!\");\n            }\n          }\n          function serializeExportSpecifier(localName, targetName, specifier) {\n            addResult(\n              factory.createExportDeclaration(\n                /*modifiers*/\n                void 0,\n                /*isTypeOnly*/\n                false,\n                factory.createNamedExports([factory.createExportSpecifier(\n                  /*isTypeOnly*/\n                  false,\n                  localName !== targetName ? targetName : void 0,\n                  localName\n                )]),\n                specifier\n              ),\n              0\n              /* None */\n            );\n          }\n          function serializeMaybeAliasAssignment(symbol) {\n            if (symbol.flags & 4194304) {\n              return false;\n            }\n            const name = unescapeLeadingUnderscores(symbol.escapedName);\n            const isExportEquals = name === \"export=\";\n            const isDefault = name === \"default\";\n            const isExportAssignmentCompatibleSymbolName = isExportEquals || isDefault;\n            const aliasDecl = symbol.declarations && getDeclarationOfAliasSymbol(symbol);\n            const target = aliasDecl && getTargetOfAliasDeclaration(\n              aliasDecl,\n              /*dontRecursivelyResolve*/\n              true\n            );\n            if (target && length(target.declarations) && some(target.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(enclosingDeclaration))) {\n              const expr = aliasDecl && (isExportAssignment(aliasDecl) || isBinaryExpression(aliasDecl) ? getExportAssignmentExpression(aliasDecl) : getPropertyAssignmentAliasLikeExpression(aliasDecl));\n              const first2 = expr && isEntityNameExpression(expr) ? getFirstNonModuleExportsIdentifier(expr) : void 0;\n              const referenced = first2 && resolveEntityName(\n                first2,\n                67108863,\n                /*ignoreErrors*/\n                true,\n                /*dontResolveAlias*/\n                true,\n                enclosingDeclaration\n              );\n              if (referenced || target) {\n                includePrivateSymbol(referenced || target);\n              }\n              const prevDisableTrackSymbol = context.tracker.disableTrackSymbol;\n              context.tracker.disableTrackSymbol = true;\n              if (isExportAssignmentCompatibleSymbolName) {\n                results.push(factory.createExportAssignment(\n                  /*modifiers*/\n                  void 0,\n                  isExportEquals,\n                  symbolToExpression(\n                    target,\n                    context,\n                    67108863\n                    /* All */\n                  )\n                ));\n              } else {\n                if (first2 === expr && first2) {\n                  serializeExportSpecifier(name, idText(first2));\n                } else if (expr && isClassExpression(expr)) {\n                  serializeExportSpecifier(name, getInternalSymbolName(target, symbolName(target)));\n                } else {\n                  const varName = getUnusedName(name, symbol);\n                  addResult(\n                    factory.createImportEqualsDeclaration(\n                      /*modifiers*/\n                      void 0,\n                      /*isTypeOnly*/\n                      false,\n                      factory.createIdentifier(varName),\n                      symbolToName(\n                        target,\n                        context,\n                        67108863,\n                        /*expectsIdentifier*/\n                        false\n                      )\n                    ),\n                    0\n                    /* None */\n                  );\n                  serializeExportSpecifier(name, varName);\n                }\n              }\n              context.tracker.disableTrackSymbol = prevDisableTrackSymbol;\n              return true;\n            } else {\n              const varName = getUnusedName(name, symbol);\n              const typeToSerialize = getWidenedType(getTypeOfSymbol(getMergedSymbol(symbol)));\n              if (isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, symbol)) {\n                serializeAsFunctionNamespaceMerge(\n                  typeToSerialize,\n                  symbol,\n                  varName,\n                  isExportAssignmentCompatibleSymbolName ? 0 : 1\n                  /* Export */\n                );\n              } else {\n                const statement = factory.createVariableStatement(\n                  /*modifiers*/\n                  void 0,\n                  factory.createVariableDeclarationList(\n                    [\n                      factory.createVariableDeclaration(\n                        varName,\n                        /*exclamationToken*/\n                        void 0,\n                        serializeTypeForDeclaration(context, typeToSerialize, symbol, enclosingDeclaration, includePrivateSymbol, bundled)\n                      )\n                    ],\n                    2\n                    /* Const */\n                  )\n                );\n                addResult(\n                  statement,\n                  target && target.flags & 4 && target.escapedName === \"export=\" ? 2 : name === varName ? 1 : 0\n                  /* None */\n                );\n              }\n              if (isExportAssignmentCompatibleSymbolName) {\n                results.push(factory.createExportAssignment(\n                  /*modifiers*/\n                  void 0,\n                  isExportEquals,\n                  factory.createIdentifier(varName)\n                ));\n                return true;\n              } else if (name !== varName) {\n                serializeExportSpecifier(name, varName);\n                return true;\n              }\n              return false;\n            }\n          }\n          function isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, hostSymbol) {\n            const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration);\n            return getObjectFlags(typeToSerialize) & (16 | 32) && !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && // While a class instance is potentially representable as a NS, prefer printing a reference to the instance type and serializing the class\n            !!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(\n              typeToSerialize,\n              0\n              /* Call */\n            ))) && !length(getSignaturesOfType(\n              typeToSerialize,\n              1\n              /* Construct */\n            )) && // TODO: could probably serialize as function + ns + class, now that that's OK\n            !getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => isIdentifierText(symbolName(p), languageVersion));\n          }\n          function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) {\n            return function serializePropertySymbol(p, isStatic2, baseType) {\n              var _a22, _b3, _c, _d, _e;\n              const modifierFlags = getDeclarationModifierFlagsFromSymbol(p);\n              const isPrivate = !!(modifierFlags & 8);\n              if (isStatic2 && p.flags & (788968 | 1920 | 2097152)) {\n                return [];\n              }\n              if (p.flags & 4194304 || baseType && getPropertyOfType(baseType, p.escapedName) && isReadonlySymbol(getPropertyOfType(baseType, p.escapedName)) === isReadonlySymbol(p) && (p.flags & 16777216) === (getPropertyOfType(baseType, p.escapedName).flags & 16777216) && isTypeIdenticalTo(getTypeOfSymbol(p), getTypeOfPropertyOfType(baseType, p.escapedName))) {\n                return [];\n              }\n              const flag = modifierFlags & ~512 | (isStatic2 ? 32 : 0);\n              const name = getPropertyNameNodeForSymbol(p, context);\n              const firstPropertyLikeDecl = (_a22 = p.declarations) == null ? void 0 : _a22.find(or(isPropertyDeclaration, isAccessor, isVariableDeclaration, isPropertySignature, isBinaryExpression, isPropertyAccessExpression));\n              if (p.flags & 98304 && useAccessors) {\n                const result = [];\n                if (p.flags & 65536) {\n                  result.push(setTextRange(factory.createSetAccessorDeclaration(\n                    factory.createModifiersFromModifierFlags(flag),\n                    name,\n                    [factory.createParameterDeclaration(\n                      /*modifiers*/\n                      void 0,\n                      /*dotDotDotToken*/\n                      void 0,\n                      \"arg\",\n                      /*questionToken*/\n                      void 0,\n                      isPrivate ? void 0 : serializeTypeForDeclaration(context, getTypeOfSymbol(p), p, enclosingDeclaration, includePrivateSymbol, bundled)\n                    )],\n                    /*body*/\n                    void 0\n                  ), ((_b3 = p.declarations) == null ? void 0 : _b3.find(isSetAccessor)) || firstPropertyLikeDecl));\n                }\n                if (p.flags & 32768) {\n                  const isPrivate2 = modifierFlags & 8;\n                  result.push(setTextRange(factory.createGetAccessorDeclaration(\n                    factory.createModifiersFromModifierFlags(flag),\n                    name,\n                    [],\n                    isPrivate2 ? void 0 : serializeTypeForDeclaration(context, getTypeOfSymbol(p), p, enclosingDeclaration, includePrivateSymbol, bundled),\n                    /*body*/\n                    void 0\n                  ), ((_c = p.declarations) == null ? void 0 : _c.find(isGetAccessor)) || firstPropertyLikeDecl));\n                }\n                return result;\n              } else if (p.flags & (4 | 3 | 98304)) {\n                return setTextRange(createProperty2(\n                  factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 64 : 0) | flag),\n                  name,\n                  p.flags & 16777216 ? factory.createToken(\n                    57\n                    /* QuestionToken */\n                  ) : void 0,\n                  isPrivate ? void 0 : serializeTypeForDeclaration(context, getWriteTypeOfSymbol(p), p, enclosingDeclaration, includePrivateSymbol, bundled),\n                  // TODO: https://github.com/microsoft/TypeScript/pull/32372#discussion_r328386357\n                  // interface members can't have initializers, however class members _can_\n                  /*initializer*/\n                  void 0\n                ), ((_d = p.declarations) == null ? void 0 : _d.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl);\n              }\n              if (p.flags & (8192 | 16)) {\n                const type = getTypeOfSymbol(p);\n                const signatures = getSignaturesOfType(\n                  type,\n                  0\n                  /* Call */\n                );\n                if (flag & 8) {\n                  return setTextRange(createProperty2(\n                    factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 64 : 0) | flag),\n                    name,\n                    p.flags & 16777216 ? factory.createToken(\n                      57\n                      /* QuestionToken */\n                    ) : void 0,\n                    /*type*/\n                    void 0,\n                    /*initializer*/\n                    void 0\n                  ), ((_e = p.declarations) == null ? void 0 : _e.find(isFunctionLikeDeclaration)) || signatures[0] && signatures[0].declaration || p.declarations && p.declarations[0]);\n                }\n                const results2 = [];\n                for (const sig of signatures) {\n                  const decl = signatureToSignatureDeclarationHelper(\n                    sig,\n                    methodKind,\n                    context,\n                    {\n                      name,\n                      questionToken: p.flags & 16777216 ? factory.createToken(\n                        57\n                        /* QuestionToken */\n                      ) : void 0,\n                      modifiers: flag ? factory.createModifiersFromModifierFlags(flag) : void 0\n                    }\n                  );\n                  const location = sig.declaration && isPrototypePropertyAssignment(sig.declaration.parent) ? sig.declaration.parent : sig.declaration;\n                  results2.push(setTextRange(decl, location));\n                }\n                return results2;\n              }\n              return Debug2.fail(`Unhandled class member kind! ${p.__debugFlags || p.flags}`);\n            };\n          }\n          function serializePropertySymbolForInterface(p, baseType) {\n            return serializePropertySymbolForInterfaceWorker(\n              p,\n              /*isStatic*/\n              false,\n              baseType\n            );\n          }\n          function serializeSignatures(kind, input, baseType, outputKind) {\n            const signatures = getSignaturesOfType(input, kind);\n            if (kind === 1) {\n              if (!baseType && every(signatures, (s) => length(s.parameters) === 0)) {\n                return [];\n              }\n              if (baseType) {\n                const baseSigs = getSignaturesOfType(\n                  baseType,\n                  1\n                  /* Construct */\n                );\n                if (!length(baseSigs) && every(signatures, (s) => length(s.parameters) === 0)) {\n                  return [];\n                }\n                if (baseSigs.length === signatures.length) {\n                  let failed = false;\n                  for (let i = 0; i < baseSigs.length; i++) {\n                    if (!compareSignaturesIdentical(\n                      signatures[i],\n                      baseSigs[i],\n                      /*partialMatch*/\n                      false,\n                      /*ignoreThisTypes*/\n                      false,\n                      /*ignoreReturnTypes*/\n                      true,\n                      compareTypesIdentical\n                    )) {\n                      failed = true;\n                      break;\n                    }\n                  }\n                  if (!failed) {\n                    return [];\n                  }\n                }\n              }\n              let privateProtected = 0;\n              for (const s of signatures) {\n                if (s.declaration) {\n                  privateProtected |= getSelectedEffectiveModifierFlags(\n                    s.declaration,\n                    8 | 16\n                    /* Protected */\n                  );\n                }\n              }\n              if (privateProtected) {\n                return [setTextRange(factory.createConstructorDeclaration(\n                  factory.createModifiersFromModifierFlags(privateProtected),\n                  /*parameters*/\n                  [],\n                  /*body*/\n                  void 0\n                ), signatures[0].declaration)];\n              }\n            }\n            const results2 = [];\n            for (const sig of signatures) {\n              const decl = signatureToSignatureDeclarationHelper(sig, outputKind, context);\n              results2.push(setTextRange(decl, sig.declaration));\n            }\n            return results2;\n          }\n          function serializeIndexSignatures(input, baseType) {\n            const results2 = [];\n            for (const info of getIndexInfosOfType(input)) {\n              if (baseType) {\n                const baseInfo = getIndexInfoOfType(baseType, info.keyType);\n                if (baseInfo) {\n                  if (isTypeIdenticalTo(info.type, baseInfo.type)) {\n                    continue;\n                  }\n                }\n              }\n              results2.push(indexInfoToIndexSignatureDeclarationHelper(\n                info,\n                context,\n                /*typeNode*/\n                void 0\n              ));\n            }\n            return results2;\n          }\n          function serializeBaseType(t, staticType, rootName) {\n            const ref = trySerializeAsTypeReference(\n              t,\n              111551\n              /* Value */\n            );\n            if (ref) {\n              return ref;\n            }\n            const tempName = getUnusedName(`${rootName}_base`);\n            const statement = factory.createVariableStatement(\n              /*modifiers*/\n              void 0,\n              factory.createVariableDeclarationList(\n                [\n                  factory.createVariableDeclaration(\n                    tempName,\n                    /*exclamationToken*/\n                    void 0,\n                    typeToTypeNodeHelper(staticType, context)\n                  )\n                ],\n                2\n                /* Const */\n              )\n            );\n            addResult(\n              statement,\n              0\n              /* None */\n            );\n            return factory.createExpressionWithTypeArguments(\n              factory.createIdentifier(tempName),\n              /*typeArgs*/\n              void 0\n            );\n          }\n          function trySerializeAsTypeReference(t, flags) {\n            let typeArgs;\n            let reference;\n            if (t.target && isSymbolAccessibleByFlags(t.target.symbol, enclosingDeclaration, flags)) {\n              typeArgs = map(getTypeArguments(t), (t2) => typeToTypeNodeHelper(t2, context));\n              reference = symbolToExpression(\n                t.target.symbol,\n                context,\n                788968\n                /* Type */\n              );\n            } else if (t.symbol && isSymbolAccessibleByFlags(t.symbol, enclosingDeclaration, flags)) {\n              reference = symbolToExpression(\n                t.symbol,\n                context,\n                788968\n                /* Type */\n              );\n            }\n            if (reference) {\n              return factory.createExpressionWithTypeArguments(reference, typeArgs);\n            }\n          }\n          function serializeImplementedType(t) {\n            const ref = trySerializeAsTypeReference(\n              t,\n              788968\n              /* Type */\n            );\n            if (ref) {\n              return ref;\n            }\n            if (t.symbol) {\n              return factory.createExpressionWithTypeArguments(\n                symbolToExpression(\n                  t.symbol,\n                  context,\n                  788968\n                  /* Type */\n                ),\n                /*typeArgs*/\n                void 0\n              );\n            }\n          }\n          function getUnusedName(input, symbol) {\n            var _a22, _b3;\n            const id = symbol ? getSymbolId(symbol) : void 0;\n            if (id) {\n              if (context.remappedSymbolNames.has(id)) {\n                return context.remappedSymbolNames.get(id);\n              }\n            }\n            if (symbol) {\n              input = getNameCandidateWorker(symbol, input);\n            }\n            let i = 0;\n            const original = input;\n            while ((_a22 = context.usedSymbolNames) == null ? void 0 : _a22.has(input)) {\n              i++;\n              input = `${original}_${i}`;\n            }\n            (_b3 = context.usedSymbolNames) == null ? void 0 : _b3.add(input);\n            if (id) {\n              context.remappedSymbolNames.set(id, input);\n            }\n            return input;\n          }\n          function getNameCandidateWorker(symbol, localName) {\n            if (localName === \"default\" || localName === \"__class\" || localName === \"__function\") {\n              const flags = context.flags;\n              context.flags |= 16777216;\n              const nameCandidate = getNameOfSymbolAsWritten(symbol, context);\n              context.flags = flags;\n              localName = nameCandidate.length > 0 && isSingleOrDoubleQuote(nameCandidate.charCodeAt(0)) ? stripQuotes(nameCandidate) : nameCandidate;\n            }\n            if (localName === \"default\") {\n              localName = \"_default\";\n            } else if (localName === \"export=\") {\n              localName = \"_exports\";\n            }\n            localName = isIdentifierText(localName, languageVersion) && !isStringANonContextualKeyword(localName) ? localName : \"_\" + localName.replace(/[^a-zA-Z0-9]/g, \"_\");\n            return localName;\n          }\n          function getInternalSymbolName(symbol, localName) {\n            const id = getSymbolId(symbol);\n            if (context.remappedSymbolNames.has(id)) {\n              return context.remappedSymbolNames.get(id);\n            }\n            localName = getNameCandidateWorker(symbol, localName);\n            context.remappedSymbolNames.set(id, localName);\n            return localName;\n          }\n        }\n      }\n      function typePredicateToString(typePredicate, enclosingDeclaration, flags = 16384, writer) {\n        return writer ? typePredicateToStringWorker(writer).getText() : usingSingleLineStringWriter(typePredicateToStringWorker);\n        function typePredicateToStringWorker(writer2) {\n          const predicate = factory.createTypePredicateNode(\n            typePredicate.kind === 2 || typePredicate.kind === 3 ? factory.createToken(\n              129\n              /* AssertsKeyword */\n            ) : void 0,\n            typePredicate.kind === 1 || typePredicate.kind === 3 ? factory.createIdentifier(typePredicate.parameterName) : factory.createThisTypeNode(),\n            typePredicate.type && nodeBuilder.typeToTypeNode(\n              typePredicate.type,\n              enclosingDeclaration,\n              toNodeBuilderFlags(flags) | 70221824 | 512\n              /* WriteTypeParametersInQualifiedName */\n            )\n            // TODO: GH#18217\n          );\n          const printer = createPrinterWithRemoveComments();\n          const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n          printer.writeNode(\n            4,\n            predicate,\n            /*sourceFile*/\n            sourceFile,\n            writer2\n          );\n          return writer2;\n        }\n      }\n      function formatUnionTypes(types) {\n        const result = [];\n        let flags = 0;\n        for (let i = 0; i < types.length; i++) {\n          const t = types[i];\n          flags |= t.flags;\n          if (!(t.flags & 98304)) {\n            if (t.flags & (512 | 1056)) {\n              const baseType = t.flags & 512 ? booleanType : getBaseTypeOfEnumLikeType(t);\n              if (baseType.flags & 1048576) {\n                const count = baseType.types.length;\n                if (i + count <= types.length && getRegularTypeOfLiteralType(types[i + count - 1]) === getRegularTypeOfLiteralType(baseType.types[count - 1])) {\n                  result.push(baseType);\n                  i += count - 1;\n                  continue;\n                }\n              }\n            }\n            result.push(t);\n          }\n        }\n        if (flags & 65536)\n          result.push(nullType);\n        if (flags & 32768)\n          result.push(undefinedType);\n        return result || types;\n      }\n      function visibilityToString(flags) {\n        if (flags === 8) {\n          return \"private\";\n        }\n        if (flags === 16) {\n          return \"protected\";\n        }\n        return \"public\";\n      }\n      function getTypeAliasForTypeLiteral(type) {\n        if (type.symbol && type.symbol.flags & 2048 && type.symbol.declarations) {\n          const node = walkUpParenthesizedTypes(type.symbol.declarations[0].parent);\n          if (isTypeAliasDeclaration(node)) {\n            return getSymbolOfDeclaration(node);\n          }\n        }\n        return void 0;\n      }\n      function isTopLevelInExternalModuleAugmentation(node) {\n        return node && node.parent && node.parent.kind === 265 && isExternalModuleAugmentation(node.parent.parent);\n      }\n      function isDefaultBindingContext(location) {\n        return location.kind === 308 || isAmbientModule(location);\n      }\n      function getNameOfSymbolFromNameType(symbol, context) {\n        const nameType = getSymbolLinks(symbol).nameType;\n        if (nameType) {\n          if (nameType.flags & 384) {\n            const name = \"\" + nameType.value;\n            if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && !isNumericLiteralName(name)) {\n              return `\"${escapeString(\n                name,\n                34\n                /* doubleQuote */\n              )}\"`;\n            }\n            if (isNumericLiteralName(name) && startsWith(name, \"-\")) {\n              return `[${name}]`;\n            }\n            return name;\n          }\n          if (nameType.flags & 8192) {\n            return `[${getNameOfSymbolAsWritten(nameType.symbol, context)}]`;\n          }\n        }\n      }\n      function getNameOfSymbolAsWritten(symbol, context) {\n        if (context && symbol.escapedName === \"default\" && !(context.flags & 16384) && // If it's not the first part of an entity name, it must print as `default`\n        (!(context.flags & 16777216) || // if the symbol is synthesized, it will only be referenced externally it must print as `default`\n        !symbol.declarations || // if not in the same binding context (source file, module declaration), it must print as `default`\n        context.enclosingDeclaration && findAncestor(symbol.declarations[0], isDefaultBindingContext) !== findAncestor(context.enclosingDeclaration, isDefaultBindingContext))) {\n          return \"default\";\n        }\n        if (symbol.declarations && symbol.declarations.length) {\n          let declaration = firstDefined(symbol.declarations, (d) => getNameOfDeclaration(d) ? d : void 0);\n          const name2 = declaration && getNameOfDeclaration(declaration);\n          if (declaration && name2) {\n            if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) {\n              return symbolName(symbol);\n            }\n            if (isComputedPropertyName(name2) && !(getCheckFlags(symbol) & 4096)) {\n              const nameType = getSymbolLinks(symbol).nameType;\n              if (nameType && nameType.flags & 384) {\n                const result = getNameOfSymbolFromNameType(symbol, context);\n                if (result !== void 0) {\n                  return result;\n                }\n              }\n            }\n            return declarationNameToString(name2);\n          }\n          if (!declaration) {\n            declaration = symbol.declarations[0];\n          }\n          if (declaration.parent && declaration.parent.kind === 257) {\n            return declarationNameToString(declaration.parent.name);\n          }\n          switch (declaration.kind) {\n            case 228:\n            case 215:\n            case 216:\n              if (context && !context.encounteredError && !(context.flags & 131072)) {\n                context.encounteredError = true;\n              }\n              return declaration.kind === 228 ? \"(Anonymous class)\" : \"(Anonymous function)\";\n          }\n        }\n        const name = getNameOfSymbolFromNameType(symbol, context);\n        return name !== void 0 ? name : symbolName(symbol);\n      }\n      function isDeclarationVisible(node) {\n        if (node) {\n          const links = getNodeLinks(node);\n          if (links.isVisible === void 0) {\n            links.isVisible = !!determineIfDeclarationIsVisible();\n          }\n          return links.isVisible;\n        }\n        return false;\n        function determineIfDeclarationIsVisible() {\n          switch (node.kind) {\n            case 341:\n            case 349:\n            case 343:\n              return !!(node.parent && node.parent.parent && node.parent.parent.parent && isSourceFile(node.parent.parent.parent));\n            case 205:\n              return isDeclarationVisible(node.parent.parent);\n            case 257:\n              if (isBindingPattern(node.name) && !node.name.elements.length) {\n                return false;\n              }\n            case 264:\n            case 260:\n            case 261:\n            case 262:\n            case 259:\n            case 263:\n            case 268:\n              if (isExternalModuleAugmentation(node)) {\n                return true;\n              }\n              const parent2 = getDeclarationContainer(node);\n              if (!(getCombinedModifierFlags(node) & 1) && !(node.kind !== 268 && parent2.kind !== 308 && parent2.flags & 16777216)) {\n                return isGlobalSourceFile(parent2);\n              }\n              return isDeclarationVisible(parent2);\n            case 169:\n            case 168:\n            case 174:\n            case 175:\n            case 171:\n            case 170:\n              if (hasEffectiveModifier(\n                node,\n                8 | 16\n                /* Protected */\n              )) {\n                return false;\n              }\n            case 173:\n            case 177:\n            case 176:\n            case 178:\n            case 166:\n            case 265:\n            case 181:\n            case 182:\n            case 184:\n            case 180:\n            case 185:\n            case 186:\n            case 189:\n            case 190:\n            case 193:\n            case 199:\n              return isDeclarationVisible(node.parent);\n            case 270:\n            case 271:\n            case 273:\n              return false;\n            case 165:\n            case 308:\n            case 267:\n              return true;\n            case 274:\n              return false;\n            default:\n              return false;\n          }\n        }\n      }\n      function collectLinkedAliases(node, setVisibility) {\n        let exportSymbol;\n        if (node.parent && node.parent.kind === 274) {\n          exportSymbol = resolveName(\n            node,\n            node.escapedText,\n            111551 | 788968 | 1920 | 2097152,\n            /*nameNotFoundMessage*/\n            void 0,\n            node,\n            /*isUse*/\n            false\n          );\n        } else if (node.parent.kind === 278) {\n          exportSymbol = getTargetOfExportSpecifier(\n            node.parent,\n            111551 | 788968 | 1920 | 2097152\n            /* Alias */\n          );\n        }\n        let result;\n        let visited;\n        if (exportSymbol) {\n          visited = /* @__PURE__ */ new Set();\n          visited.add(getSymbolId(exportSymbol));\n          buildVisibleNodeList(exportSymbol.declarations);\n        }\n        return result;\n        function buildVisibleNodeList(declarations) {\n          forEach(declarations, (declaration) => {\n            const resultNode = getAnyImportSyntax(declaration) || declaration;\n            if (setVisibility) {\n              getNodeLinks(declaration).isVisible = true;\n            } else {\n              result = result || [];\n              pushIfUnique(result, resultNode);\n            }\n            if (isInternalModuleImportEqualsDeclaration(declaration)) {\n              const internalModuleReference = declaration.moduleReference;\n              const firstIdentifier = getFirstIdentifier(internalModuleReference);\n              const importSymbol = resolveName(\n                declaration,\n                firstIdentifier.escapedText,\n                111551 | 788968 | 1920,\n                void 0,\n                void 0,\n                /*isUse*/\n                false\n              );\n              if (importSymbol && visited) {\n                if (tryAddToSet(visited, getSymbolId(importSymbol))) {\n                  buildVisibleNodeList(importSymbol.declarations);\n                }\n              }\n            }\n          });\n        }\n      }\n      function pushTypeResolution(target, propertyName) {\n        const resolutionCycleStartIndex = findResolutionCycleStartIndex(target, propertyName);\n        if (resolutionCycleStartIndex >= 0) {\n          const { length: length2 } = resolutionTargets;\n          for (let i = resolutionCycleStartIndex; i < length2; i++) {\n            resolutionResults[i] = false;\n          }\n          return false;\n        }\n        resolutionTargets.push(target);\n        resolutionResults.push(\n          /*items*/\n          true\n        );\n        resolutionPropertyNames.push(propertyName);\n        return true;\n      }\n      function findResolutionCycleStartIndex(target, propertyName) {\n        for (let i = resolutionTargets.length - 1; i >= 0; i--) {\n          if (resolutionTargetHasProperty(resolutionTargets[i], resolutionPropertyNames[i])) {\n            return -1;\n          }\n          if (resolutionTargets[i] === target && resolutionPropertyNames[i] === propertyName) {\n            return i;\n          }\n        }\n        return -1;\n      }\n      function resolutionTargetHasProperty(target, propertyName) {\n        switch (propertyName) {\n          case 0:\n            return !!getSymbolLinks(target).type;\n          case 5:\n            return !!getNodeLinks(target).resolvedEnumType;\n          case 2:\n            return !!getSymbolLinks(target).declaredType;\n          case 1:\n            return !!target.resolvedBaseConstructorType;\n          case 3:\n            return !!target.resolvedReturnType;\n          case 4:\n            return !!target.immediateBaseConstraint;\n          case 6:\n            return !!target.resolvedTypeArguments;\n          case 7:\n            return !!target.baseTypesResolved;\n          case 8:\n            return !!getSymbolLinks(target).writeType;\n          case 9:\n            return getNodeLinks(target).parameterInitializerContainsUndefined !== void 0;\n        }\n        return Debug2.assertNever(propertyName);\n      }\n      function popTypeResolution() {\n        resolutionTargets.pop();\n        resolutionPropertyNames.pop();\n        return resolutionResults.pop();\n      }\n      function getDeclarationContainer(node) {\n        return findAncestor(getRootDeclaration(node), (node2) => {\n          switch (node2.kind) {\n            case 257:\n            case 258:\n            case 273:\n            case 272:\n            case 271:\n            case 270:\n              return false;\n            default:\n              return true;\n          }\n        }).parent;\n      }\n      function getTypeOfPrototypeProperty(prototype) {\n        const classType = getDeclaredTypeOfSymbol(getParentOfSymbol(prototype));\n        return classType.typeParameters ? createTypeReference(classType, map(classType.typeParameters, (_) => anyType)) : classType;\n      }\n      function getTypeOfPropertyOfType(type, name) {\n        const prop = getPropertyOfType(type, name);\n        return prop ? getTypeOfSymbol(prop) : void 0;\n      }\n      function getTypeOfPropertyOrIndexSignature(type, name) {\n        var _a22;\n        return getTypeOfPropertyOfType(type, name) || ((_a22 = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a22.type) || unknownType;\n      }\n      function isTypeAny(type) {\n        return type && (type.flags & 1) !== 0;\n      }\n      function isErrorType(type) {\n        return type === errorType || !!(type.flags & 1 && type.aliasSymbol);\n      }\n      function getTypeForBindingElementParent(node, checkMode) {\n        if (checkMode !== 0) {\n          return getTypeForVariableLikeDeclaration(\n            node,\n            /*includeOptionality*/\n            false,\n            checkMode\n          );\n        }\n        const symbol = getSymbolOfDeclaration(node);\n        return symbol && getSymbolLinks(symbol).type || getTypeForVariableLikeDeclaration(\n          node,\n          /*includeOptionality*/\n          false,\n          checkMode\n        );\n      }\n      function getRestType(source, properties, symbol) {\n        source = filterType(source, (t) => !(t.flags & 98304));\n        if (source.flags & 131072) {\n          return emptyObjectType;\n        }\n        if (source.flags & 1048576) {\n          return mapType(source, (t) => getRestType(t, properties, symbol));\n        }\n        let omitKeyType = getUnionType(map(properties, getLiteralTypeFromPropertyName));\n        const spreadableProperties = [];\n        const unspreadableToRestKeys = [];\n        for (const prop of getPropertiesOfType(source)) {\n          const literalTypeFromProperty = getLiteralTypeFromProperty(\n            prop,\n            8576\n            /* StringOrNumberLiteralOrUnique */\n          );\n          if (!isTypeAssignableTo(literalTypeFromProperty, omitKeyType) && !(getDeclarationModifierFlagsFromSymbol(prop) & (8 | 16)) && isSpreadableProperty(prop)) {\n            spreadableProperties.push(prop);\n          } else {\n            unspreadableToRestKeys.push(literalTypeFromProperty);\n          }\n        }\n        if (isGenericObjectType(source) || isGenericIndexType(omitKeyType)) {\n          if (unspreadableToRestKeys.length) {\n            omitKeyType = getUnionType([omitKeyType, ...unspreadableToRestKeys]);\n          }\n          if (omitKeyType.flags & 131072) {\n            return source;\n          }\n          const omitTypeAlias = getGlobalOmitSymbol();\n          if (!omitTypeAlias) {\n            return errorType;\n          }\n          return getTypeAliasInstantiation(omitTypeAlias, [source, omitKeyType]);\n        }\n        const members = createSymbolTable();\n        for (const prop of spreadableProperties) {\n          members.set(prop.escapedName, getSpreadSymbol(\n            prop,\n            /*readonly*/\n            false\n          ));\n        }\n        const result = createAnonymousType(symbol, members, emptyArray, emptyArray, getIndexInfosOfType(source));\n        result.objectFlags |= 4194304;\n        return result;\n      }\n      function isGenericTypeWithUndefinedConstraint(type) {\n        return !!(type.flags & 465829888) && maybeTypeOfKind(\n          getBaseConstraintOfType(type) || unknownType,\n          32768\n          /* Undefined */\n        );\n      }\n      function getNonUndefinedType(type) {\n        const typeOrConstraint = someType(type, isGenericTypeWithUndefinedConstraint) ? mapType(type, (t) => t.flags & 465829888 ? getBaseConstraintOrType(t) : t) : type;\n        return getTypeWithFacts(\n          typeOrConstraint,\n          524288\n          /* NEUndefined */\n        );\n      }\n      function getFlowTypeOfDestructuring(node, declaredType) {\n        const reference = getSyntheticElementAccess(node);\n        return reference ? getFlowTypeOfReference(reference, declaredType) : declaredType;\n      }\n      function getSyntheticElementAccess(node) {\n        const parentAccess = getParentElementAccess(node);\n        if (parentAccess && canHaveFlowNode(parentAccess) && parentAccess.flowNode) {\n          const propName = getDestructuringPropertyName(node);\n          if (propName) {\n            const literal = setTextRange(parseNodeFactory.createStringLiteral(propName), node);\n            const lhsExpr = isLeftHandSideExpression(parentAccess) ? parentAccess : parseNodeFactory.createParenthesizedExpression(parentAccess);\n            const result = setTextRange(parseNodeFactory.createElementAccessExpression(lhsExpr, literal), node);\n            setParent(literal, result);\n            setParent(result, node);\n            if (lhsExpr !== parentAccess) {\n              setParent(lhsExpr, result);\n            }\n            result.flowNode = parentAccess.flowNode;\n            return result;\n          }\n        }\n      }\n      function getParentElementAccess(node) {\n        const ancestor = node.parent.parent;\n        switch (ancestor.kind) {\n          case 205:\n          case 299:\n            return getSyntheticElementAccess(ancestor);\n          case 206:\n            return getSyntheticElementAccess(node.parent);\n          case 257:\n            return ancestor.initializer;\n          case 223:\n            return ancestor.right;\n        }\n      }\n      function getDestructuringPropertyName(node) {\n        const parent2 = node.parent;\n        if (node.kind === 205 && parent2.kind === 203) {\n          return getLiteralPropertyNameText(node.propertyName || node.name);\n        }\n        if (node.kind === 299 || node.kind === 300) {\n          return getLiteralPropertyNameText(node.name);\n        }\n        return \"\" + parent2.elements.indexOf(node);\n      }\n      function getLiteralPropertyNameText(name) {\n        const type = getLiteralTypeFromPropertyName(name);\n        return type.flags & (128 | 256) ? \"\" + type.value : void 0;\n      }\n      function getTypeForBindingElement(declaration) {\n        const checkMode = declaration.dotDotDotToken ? 64 : 0;\n        const parentType = getTypeForBindingElementParent(declaration.parent.parent, checkMode);\n        return parentType && getBindingElementTypeFromParentType(declaration, parentType);\n      }\n      function getBindingElementTypeFromParentType(declaration, parentType) {\n        if (isTypeAny(parentType)) {\n          return parentType;\n        }\n        const pattern = declaration.parent;\n        if (strictNullChecks && declaration.flags & 16777216 && isParameterDeclaration(declaration)) {\n          parentType = getNonNullableType(parentType);\n        } else if (strictNullChecks && pattern.parent.initializer && !(getTypeFacts(getTypeOfInitializer(pattern.parent.initializer)) & 65536)) {\n          parentType = getTypeWithFacts(\n            parentType,\n            524288\n            /* NEUndefined */\n          );\n        }\n        let type;\n        if (pattern.kind === 203) {\n          if (declaration.dotDotDotToken) {\n            parentType = getReducedType(parentType);\n            if (parentType.flags & 2 || !isValidSpreadType(parentType)) {\n              error(declaration, Diagnostics.Rest_types_may_only_be_created_from_object_types);\n              return errorType;\n            }\n            const literalMembers = [];\n            for (const element of pattern.elements) {\n              if (!element.dotDotDotToken) {\n                literalMembers.push(element.propertyName || element.name);\n              }\n            }\n            type = getRestType(parentType, literalMembers, declaration.symbol);\n          } else {\n            const name = declaration.propertyName || declaration.name;\n            const indexType = getLiteralTypeFromPropertyName(name);\n            const declaredType = getIndexedAccessType(parentType, indexType, 32, name);\n            type = getFlowTypeOfDestructuring(declaration, declaredType);\n          }\n        } else {\n          const elementType = checkIteratedTypeOrElementType(65 | (declaration.dotDotDotToken ? 0 : 128), parentType, undefinedType, pattern);\n          const index = pattern.elements.indexOf(declaration);\n          if (declaration.dotDotDotToken) {\n            const baseConstraint = getBaseConstraintOrType(parentType);\n            type = everyType(baseConstraint, isTupleType) ? mapType(baseConstraint, (t) => sliceTupleType(t, index)) : createArrayType(elementType);\n          } else if (isArrayLikeType(parentType)) {\n            const indexType = getNumberLiteralType(index);\n            const accessFlags = 32 | (hasDefaultValue(declaration) ? 16 : 0);\n            const declaredType = getIndexedAccessTypeOrUndefined(parentType, indexType, accessFlags, declaration.name) || errorType;\n            type = getFlowTypeOfDestructuring(declaration, declaredType);\n          } else {\n            type = elementType;\n          }\n        }\n        if (!declaration.initializer) {\n          return type;\n        }\n        if (getEffectiveTypeAnnotationNode(walkUpBindingElementsAndPatterns(declaration))) {\n          return strictNullChecks && !(getTypeFacts(checkDeclarationInitializer(\n            declaration,\n            0\n            /* Normal */\n          )) & 16777216) ? getNonUndefinedType(type) : type;\n        }\n        return widenTypeInferredFromInitializer(declaration, getUnionType(\n          [getNonUndefinedType(type), checkDeclarationInitializer(\n            declaration,\n            0\n            /* Normal */\n          )],\n          2\n          /* Subtype */\n        ));\n      }\n      function getTypeForDeclarationFromJSDocComment(declaration) {\n        const jsdocType = getJSDocType(declaration);\n        if (jsdocType) {\n          return getTypeFromTypeNode(jsdocType);\n        }\n        return void 0;\n      }\n      function isNullOrUndefined3(node) {\n        const expr = skipParentheses(\n          node,\n          /*excludeJSDocTypeAssertions*/\n          true\n        );\n        return expr.kind === 104 || expr.kind === 79 && getResolvedSymbol(expr) === undefinedSymbol;\n      }\n      function isEmptyArrayLiteral2(node) {\n        const expr = skipParentheses(\n          node,\n          /*excludeJSDocTypeAssertions*/\n          true\n        );\n        return expr.kind === 206 && expr.elements.length === 0;\n      }\n      function addOptionality(type, isProperty = false, isOptional = true) {\n        return strictNullChecks && isOptional ? getOptionalType(type, isProperty) : type;\n      }\n      function getTypeForVariableLikeDeclaration(declaration, includeOptionality, checkMode) {\n        if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 246) {\n          const indexType = getIndexType(getNonNullableTypeIfNeeded(checkExpression(\n            declaration.parent.parent.expression,\n            /*checkMode*/\n            checkMode\n          )));\n          return indexType.flags & (262144 | 4194304) ? getExtractStringType(indexType) : stringType;\n        }\n        if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 247) {\n          const forOfStatement = declaration.parent.parent;\n          return checkRightHandSideOfForOf(forOfStatement) || anyType;\n        }\n        if (isBindingPattern(declaration.parent)) {\n          return getTypeForBindingElement(declaration);\n        }\n        const isProperty = isPropertyDeclaration(declaration) && !hasAccessorModifier(declaration) || isPropertySignature(declaration) || isJSDocPropertyTag(declaration);\n        const isOptional = includeOptionality && isOptionalDeclaration(declaration);\n        const declaredType = tryGetTypeFromEffectiveTypeNode(declaration);\n        if (isCatchClauseVariableDeclarationOrBindingElement(declaration)) {\n          if (declaredType) {\n            return isTypeAny(declaredType) || declaredType === unknownType ? declaredType : errorType;\n          }\n          return useUnknownInCatchVariables ? unknownType : anyType;\n        }\n        if (declaredType) {\n          return addOptionality(declaredType, isProperty, isOptional);\n        }\n        if ((noImplicitAny || isInJSFile(declaration)) && isVariableDeclaration(declaration) && !isBindingPattern(declaration.name) && !(getCombinedModifierFlags(declaration) & 1) && !(declaration.flags & 16777216)) {\n          if (!(getCombinedNodeFlags(declaration) & 2) && (!declaration.initializer || isNullOrUndefined3(declaration.initializer))) {\n            return autoType;\n          }\n          if (declaration.initializer && isEmptyArrayLiteral2(declaration.initializer)) {\n            return autoArrayType;\n          }\n        }\n        if (isParameter(declaration)) {\n          const func = declaration.parent;\n          if (func.kind === 175 && hasBindableName(func)) {\n            const getter = getDeclarationOfKind(\n              getSymbolOfDeclaration(declaration.parent),\n              174\n              /* GetAccessor */\n            );\n            if (getter) {\n              const getterSignature = getSignatureFromDeclaration(getter);\n              const thisParameter = getAccessorThisParameter(func);\n              if (thisParameter && declaration === thisParameter) {\n                Debug2.assert(!thisParameter.type);\n                return getTypeOfSymbol(getterSignature.thisParameter);\n              }\n              return getReturnTypeOfSignature(getterSignature);\n            }\n          }\n          const parameterTypeOfTypeTag = getParameterTypeOfTypeTag(func, declaration);\n          if (parameterTypeOfTypeTag)\n            return parameterTypeOfTypeTag;\n          const type = declaration.symbol.escapedName === \"this\" ? getContextualThisParameterType(func) : getContextuallyTypedParameterType(declaration);\n          if (type) {\n            return addOptionality(\n              type,\n              /*isProperty*/\n              false,\n              isOptional\n            );\n          }\n        }\n        if (hasOnlyExpressionInitializer(declaration) && !!declaration.initializer) {\n          if (isInJSFile(declaration) && !isParameter(declaration)) {\n            const containerObjectType = getJSContainerObjectType(declaration, getSymbolOfDeclaration(declaration), getDeclaredExpandoInitializer(declaration));\n            if (containerObjectType) {\n              return containerObjectType;\n            }\n          }\n          const type = widenTypeInferredFromInitializer(declaration, checkDeclarationInitializer(declaration, checkMode));\n          return addOptionality(type, isProperty, isOptional);\n        }\n        if (isPropertyDeclaration(declaration) && (noImplicitAny || isInJSFile(declaration))) {\n          if (!hasStaticModifier(declaration)) {\n            const constructor = findConstructorDeclaration(declaration.parent);\n            const type = constructor ? getFlowTypeInConstructor(declaration.symbol, constructor) : getEffectiveModifierFlags(declaration) & 2 ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0;\n            return type && addOptionality(\n              type,\n              /*isProperty*/\n              true,\n              isOptional\n            );\n          } else {\n            const staticBlocks = filter(declaration.parent.members, isClassStaticBlockDeclaration);\n            const type = staticBlocks.length ? getFlowTypeInStaticBlocks(declaration.symbol, staticBlocks) : getEffectiveModifierFlags(declaration) & 2 ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0;\n            return type && addOptionality(\n              type,\n              /*isProperty*/\n              true,\n              isOptional\n            );\n          }\n        }\n        if (isJsxAttribute(declaration)) {\n          return trueType;\n        }\n        if (isBindingPattern(declaration.name)) {\n          return getTypeFromBindingPattern(\n            declaration.name,\n            /*includePatternInType*/\n            false,\n            /*reportErrors*/\n            true\n          );\n        }\n        return void 0;\n      }\n      function isConstructorDeclaredProperty(symbol) {\n        if (symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration)) {\n          const links = getSymbolLinks(symbol);\n          if (links.isConstructorDeclaredProperty === void 0) {\n            links.isConstructorDeclaredProperty = false;\n            links.isConstructorDeclaredProperty = !!getDeclaringConstructor(symbol) && every(symbol.declarations, (declaration) => isBinaryExpression(declaration) && isPossiblyAliasedThisProperty(declaration) && (declaration.left.kind !== 209 || isStringOrNumericLiteralLike(declaration.left.argumentExpression)) && !getAnnotatedTypeForAssignmentDeclaration(\n              /*declaredType*/\n              void 0,\n              declaration,\n              symbol,\n              declaration\n            ));\n          }\n          return links.isConstructorDeclaredProperty;\n        }\n        return false;\n      }\n      function isAutoTypedProperty(symbol) {\n        const declaration = symbol.valueDeclaration;\n        return declaration && isPropertyDeclaration(declaration) && !getEffectiveTypeAnnotationNode(declaration) && !declaration.initializer && (noImplicitAny || isInJSFile(declaration));\n      }\n      function getDeclaringConstructor(symbol) {\n        if (!symbol.declarations) {\n          return;\n        }\n        for (const declaration of symbol.declarations) {\n          const container = getThisContainer(\n            declaration,\n            /*includeArrowFunctions*/\n            false,\n            /*includeClassComputedPropertyName*/\n            false\n          );\n          if (container && (container.kind === 173 || isJSConstructor(container))) {\n            return container;\n          }\n        }\n      }\n      function getFlowTypeFromCommonJSExport(symbol) {\n        const file = getSourceFileOfNode(symbol.declarations[0]);\n        const accessName = unescapeLeadingUnderscores(symbol.escapedName);\n        const areAllModuleExports = symbol.declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && isModuleExportsAccessExpression(d.expression));\n        const reference = areAllModuleExports ? factory.createPropertyAccessExpression(factory.createPropertyAccessExpression(factory.createIdentifier(\"module\"), factory.createIdentifier(\"exports\")), accessName) : factory.createPropertyAccessExpression(factory.createIdentifier(\"exports\"), accessName);\n        if (areAllModuleExports) {\n          setParent(reference.expression.expression, reference.expression);\n        }\n        setParent(reference.expression, reference);\n        setParent(reference, file);\n        reference.flowNode = file.endFlowNode;\n        return getFlowTypeOfReference(reference, autoType, undefinedType);\n      }\n      function getFlowTypeInStaticBlocks(symbol, staticBlocks) {\n        const accessName = startsWith(symbol.escapedName, \"__#\") ? factory.createPrivateIdentifier(symbol.escapedName.split(\"@\")[1]) : unescapeLeadingUnderscores(symbol.escapedName);\n        for (const staticBlock of staticBlocks) {\n          const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName);\n          setParent(reference.expression, reference);\n          setParent(reference, staticBlock);\n          reference.flowNode = staticBlock.returnFlowNode;\n          const flowType = getFlowTypeOfProperty(reference, symbol);\n          if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) {\n            error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));\n          }\n          if (everyType(flowType, isNullableType)) {\n            continue;\n          }\n          return convertAutoToAny(flowType);\n        }\n      }\n      function getFlowTypeInConstructor(symbol, constructor) {\n        const accessName = startsWith(symbol.escapedName, \"__#\") ? factory.createPrivateIdentifier(symbol.escapedName.split(\"@\")[1]) : unescapeLeadingUnderscores(symbol.escapedName);\n        const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName);\n        setParent(reference.expression, reference);\n        setParent(reference, constructor);\n        reference.flowNode = constructor.returnFlowNode;\n        const flowType = getFlowTypeOfProperty(reference, symbol);\n        if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) {\n          error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));\n        }\n        return everyType(flowType, isNullableType) ? void 0 : convertAutoToAny(flowType);\n      }\n      function getFlowTypeOfProperty(reference, prop) {\n        const initialType = (prop == null ? void 0 : prop.valueDeclaration) && (!isAutoTypedProperty(prop) || getEffectiveModifierFlags(prop.valueDeclaration) & 2) && getTypeOfPropertyInBaseClass(prop) || undefinedType;\n        return getFlowTypeOfReference(reference, autoType, initialType);\n      }\n      function getWidenedTypeForAssignmentDeclaration(symbol, resolvedSymbol) {\n        const container = getAssignedExpandoInitializer(symbol.valueDeclaration);\n        if (container) {\n          const tag = isInJSFile(container) ? getJSDocTypeTag(container) : void 0;\n          if (tag && tag.typeExpression) {\n            return getTypeFromTypeNode(tag.typeExpression);\n          }\n          const containerObjectType = symbol.valueDeclaration && getJSContainerObjectType(symbol.valueDeclaration, symbol, container);\n          return containerObjectType || getWidenedLiteralType(checkExpressionCached(container));\n        }\n        let type;\n        let definedInConstructor = false;\n        let definedInMethod = false;\n        if (isConstructorDeclaredProperty(symbol)) {\n          type = getFlowTypeInConstructor(symbol, getDeclaringConstructor(symbol));\n        }\n        if (!type) {\n          let types;\n          if (symbol.declarations) {\n            let jsdocType;\n            for (const declaration of symbol.declarations) {\n              const expression = isBinaryExpression(declaration) || isCallExpression(declaration) ? declaration : isAccessExpression(declaration) ? isBinaryExpression(declaration.parent) ? declaration.parent : declaration : void 0;\n              if (!expression) {\n                continue;\n              }\n              const kind = isAccessExpression(expression) ? getAssignmentDeclarationPropertyAccessKind(expression) : getAssignmentDeclarationKind(expression);\n              if (kind === 4 || isBinaryExpression(expression) && isPossiblyAliasedThisProperty(expression, kind)) {\n                if (isDeclarationInConstructor(expression)) {\n                  definedInConstructor = true;\n                } else {\n                  definedInMethod = true;\n                }\n              }\n              if (!isCallExpression(expression)) {\n                jsdocType = getAnnotatedTypeForAssignmentDeclaration(jsdocType, expression, symbol, declaration);\n              }\n              if (!jsdocType) {\n                (types || (types = [])).push(isBinaryExpression(expression) || isCallExpression(expression) ? getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) : neverType);\n              }\n            }\n            type = jsdocType;\n          }\n          if (!type) {\n            if (!length(types)) {\n              return errorType;\n            }\n            let constructorTypes = definedInConstructor && symbol.declarations ? getConstructorDefinedThisAssignmentTypes(types, symbol.declarations) : void 0;\n            if (definedInMethod) {\n              const propType = getTypeOfPropertyInBaseClass(symbol);\n              if (propType) {\n                (constructorTypes || (constructorTypes = [])).push(propType);\n                definedInConstructor = true;\n              }\n            }\n            const sourceTypes = some(constructorTypes, (t) => !!(t.flags & ~98304)) ? constructorTypes : types;\n            type = getUnionType(sourceTypes);\n          }\n        }\n        const widened = getWidenedType(addOptionality(\n          type,\n          /*isProperty*/\n          false,\n          definedInMethod && !definedInConstructor\n        ));\n        if (symbol.valueDeclaration && filterType(widened, (t) => !!(t.flags & ~98304)) === neverType) {\n          reportImplicitAny(symbol.valueDeclaration, anyType);\n          return anyType;\n        }\n        return widened;\n      }\n      function getJSContainerObjectType(decl, symbol, init) {\n        var _a22, _b3;\n        if (!isInJSFile(decl) || !init || !isObjectLiteralExpression(init) || init.properties.length) {\n          return void 0;\n        }\n        const exports = createSymbolTable();\n        while (isBinaryExpression(decl) || isPropertyAccessExpression(decl)) {\n          const s2 = getSymbolOfNode(decl);\n          if ((_a22 = s2 == null ? void 0 : s2.exports) == null ? void 0 : _a22.size) {\n            mergeSymbolTable(exports, s2.exports);\n          }\n          decl = isBinaryExpression(decl) ? decl.parent : decl.parent.parent;\n        }\n        const s = getSymbolOfNode(decl);\n        if ((_b3 = s == null ? void 0 : s.exports) == null ? void 0 : _b3.size) {\n          mergeSymbolTable(exports, s.exports);\n        }\n        const type = createAnonymousType(symbol, exports, emptyArray, emptyArray, emptyArray);\n        type.objectFlags |= 4096;\n        return type;\n      }\n      function getAnnotatedTypeForAssignmentDeclaration(declaredType, expression, symbol, declaration) {\n        var _a22;\n        const typeNode = getEffectiveTypeAnnotationNode(expression.parent);\n        if (typeNode) {\n          const type = getWidenedType(getTypeFromTypeNode(typeNode));\n          if (!declaredType) {\n            return type;\n          } else if (!isErrorType(declaredType) && !isErrorType(type) && !isTypeIdenticalTo(declaredType, type)) {\n            errorNextVariableOrPropertyDeclarationMustHaveSameType(\n              /*firstDeclaration*/\n              void 0,\n              declaredType,\n              declaration,\n              type\n            );\n          }\n        }\n        if ((_a22 = symbol.parent) == null ? void 0 : _a22.valueDeclaration) {\n          const typeNode2 = getEffectiveTypeAnnotationNode(symbol.parent.valueDeclaration);\n          if (typeNode2) {\n            const annotationSymbol = getPropertyOfType(getTypeFromTypeNode(typeNode2), symbol.escapedName);\n            if (annotationSymbol) {\n              return getNonMissingTypeOfSymbol(annotationSymbol);\n            }\n          }\n        }\n        return declaredType;\n      }\n      function getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) {\n        if (isCallExpression(expression)) {\n          if (resolvedSymbol) {\n            return getTypeOfSymbol(resolvedSymbol);\n          }\n          const objectLitType = checkExpressionCached(expression.arguments[2]);\n          const valueType = getTypeOfPropertyOfType(objectLitType, \"value\");\n          if (valueType) {\n            return valueType;\n          }\n          const getFunc = getTypeOfPropertyOfType(objectLitType, \"get\");\n          if (getFunc) {\n            const getSig = getSingleCallSignature(getFunc);\n            if (getSig) {\n              return getReturnTypeOfSignature(getSig);\n            }\n          }\n          const setFunc = getTypeOfPropertyOfType(objectLitType, \"set\");\n          if (setFunc) {\n            const setSig = getSingleCallSignature(setFunc);\n            if (setSig) {\n              return getTypeOfFirstParameterOfSignature(setSig);\n            }\n          }\n          return anyType;\n        }\n        if (containsSameNamedThisProperty(expression.left, expression.right)) {\n          return anyType;\n        }\n        const isDirectExport = kind === 1 && (isPropertyAccessExpression(expression.left) || isElementAccessExpression(expression.left)) && (isModuleExportsAccessExpression(expression.left.expression) || isIdentifier(expression.left.expression) && isExportsIdentifier(expression.left.expression));\n        const type = resolvedSymbol ? getTypeOfSymbol(resolvedSymbol) : isDirectExport ? getRegularTypeOfLiteralType(checkExpressionCached(expression.right)) : getWidenedLiteralType(checkExpressionCached(expression.right));\n        if (type.flags & 524288 && kind === 2 && symbol.escapedName === \"export=\") {\n          const exportedType = resolveStructuredTypeMembers(type);\n          const members = createSymbolTable();\n          copyEntries(exportedType.members, members);\n          const initialSize = members.size;\n          if (resolvedSymbol && !resolvedSymbol.exports) {\n            resolvedSymbol.exports = createSymbolTable();\n          }\n          (resolvedSymbol || symbol).exports.forEach((s, name) => {\n            var _a22;\n            const exportedMember = members.get(name);\n            if (exportedMember && exportedMember !== s && !(s.flags & 2097152)) {\n              if (s.flags & 111551 && exportedMember.flags & 111551) {\n                if (s.valueDeclaration && exportedMember.valueDeclaration && getSourceFileOfNode(s.valueDeclaration) !== getSourceFileOfNode(exportedMember.valueDeclaration)) {\n                  const unescapedName = unescapeLeadingUnderscores(s.escapedName);\n                  const exportedMemberName = ((_a22 = tryCast(exportedMember.valueDeclaration, isNamedDeclaration)) == null ? void 0 : _a22.name) || exportedMember.valueDeclaration;\n                  addRelatedInfo(\n                    error(s.valueDeclaration, Diagnostics.Duplicate_identifier_0, unescapedName),\n                    createDiagnosticForNode(exportedMemberName, Diagnostics._0_was_also_declared_here, unescapedName)\n                  );\n                  addRelatedInfo(\n                    error(exportedMemberName, Diagnostics.Duplicate_identifier_0, unescapedName),\n                    createDiagnosticForNode(s.valueDeclaration, Diagnostics._0_was_also_declared_here, unescapedName)\n                  );\n                }\n                const union = createSymbol(s.flags | exportedMember.flags, name);\n                union.links.type = getUnionType([getTypeOfSymbol(s), getTypeOfSymbol(exportedMember)]);\n                union.valueDeclaration = exportedMember.valueDeclaration;\n                union.declarations = concatenate(exportedMember.declarations, s.declarations);\n                members.set(name, union);\n              } else {\n                members.set(name, mergeSymbol(s, exportedMember));\n              }\n            } else {\n              members.set(name, s);\n            }\n          });\n          const result = createAnonymousType(\n            initialSize !== members.size ? void 0 : exportedType.symbol,\n            // Only set the type's symbol if it looks to be the same as the original type\n            members,\n            exportedType.callSignatures,\n            exportedType.constructSignatures,\n            exportedType.indexInfos\n          );\n          if (initialSize === members.size) {\n            if (type.aliasSymbol) {\n              result.aliasSymbol = type.aliasSymbol;\n              result.aliasTypeArguments = type.aliasTypeArguments;\n            }\n            if (getObjectFlags(type) & 4) {\n              result.aliasSymbol = type.symbol;\n              const args = getTypeArguments(type);\n              result.aliasTypeArguments = length(args) ? args : void 0;\n            }\n          }\n          result.objectFlags |= getObjectFlags(type) & 4096;\n          if (result.symbol && result.symbol.flags & 32 && type === getDeclaredTypeOfClassOrInterface(result.symbol)) {\n            result.objectFlags |= 16777216;\n          }\n          return result;\n        }\n        if (isEmptyArrayLiteralType(type)) {\n          reportImplicitAny(expression, anyArrayType);\n          return anyArrayType;\n        }\n        return type;\n      }\n      function containsSameNamedThisProperty(thisProperty, expression) {\n        return isPropertyAccessExpression(thisProperty) && thisProperty.expression.kind === 108 && forEachChildRecursively(expression, (n) => isMatchingReference(thisProperty, n));\n      }\n      function isDeclarationInConstructor(expression) {\n        const thisContainer = getThisContainer(\n          expression,\n          /*includeArrowFunctions*/\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        );\n        return thisContainer.kind === 173 || thisContainer.kind === 259 || thisContainer.kind === 215 && !isPrototypePropertyAssignment(thisContainer.parent);\n      }\n      function getConstructorDefinedThisAssignmentTypes(types, declarations) {\n        Debug2.assert(types.length === declarations.length);\n        return types.filter((_, i) => {\n          const declaration = declarations[i];\n          const expression = isBinaryExpression(declaration) ? declaration : isBinaryExpression(declaration.parent) ? declaration.parent : void 0;\n          return expression && isDeclarationInConstructor(expression);\n        });\n      }\n      function getTypeFromBindingElement(element, includePatternInType, reportErrors2) {\n        if (element.initializer) {\n          const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern(\n            element.name,\n            /*includePatternInType*/\n            true,\n            /*reportErrors*/\n            false\n          ) : unknownType;\n          return addOptionality(widenTypeInferredFromInitializer(element, checkDeclarationInitializer(element, 0, contextualType)));\n        }\n        if (isBindingPattern(element.name)) {\n          return getTypeFromBindingPattern(element.name, includePatternInType, reportErrors2);\n        }\n        if (reportErrors2 && !declarationBelongsToPrivateAmbientMember(element)) {\n          reportImplicitAny(element, anyType);\n        }\n        return includePatternInType ? nonInferrableAnyType : anyType;\n      }\n      function getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) {\n        const members = createSymbolTable();\n        let stringIndexInfo;\n        let objectFlags = 128 | 131072;\n        forEach(pattern.elements, (e) => {\n          const name = e.propertyName || e.name;\n          if (e.dotDotDotToken) {\n            stringIndexInfo = createIndexInfo(\n              stringType,\n              anyType,\n              /*isReadonly*/\n              false\n            );\n            return;\n          }\n          const exprType = getLiteralTypeFromPropertyName(name);\n          if (!isTypeUsableAsPropertyName(exprType)) {\n            objectFlags |= 512;\n            return;\n          }\n          const text = getPropertyNameFromType(exprType);\n          const flags = 4 | (e.initializer ? 16777216 : 0);\n          const symbol = createSymbol(flags, text);\n          symbol.links.type = getTypeFromBindingElement(e, includePatternInType, reportErrors2);\n          symbol.links.bindingElement = e;\n          members.set(symbol.escapedName, symbol);\n        });\n        const result = createAnonymousType(void 0, members, emptyArray, emptyArray, stringIndexInfo ? [stringIndexInfo] : emptyArray);\n        result.objectFlags |= objectFlags;\n        if (includePatternInType) {\n          result.pattern = pattern;\n          result.objectFlags |= 131072;\n        }\n        return result;\n      }\n      function getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2) {\n        const elements = pattern.elements;\n        const lastElement = lastOrUndefined(elements);\n        const restElement = lastElement && lastElement.kind === 205 && lastElement.dotDotDotToken ? lastElement : void 0;\n        if (elements.length === 0 || elements.length === 1 && restElement) {\n          return languageVersion >= 2 ? createIterableType(anyType) : anyArrayType;\n        }\n        const elementTypes = map(elements, (e) => isOmittedExpression(e) ? anyType : getTypeFromBindingElement(e, includePatternInType, reportErrors2));\n        const minLength = findLastIndex(elements, (e) => !(e === restElement || isOmittedExpression(e) || hasDefaultValue(e)), elements.length - 1) + 1;\n        const elementFlags = map(\n          elements,\n          (e, i) => e === restElement ? 4 : i >= minLength ? 2 : 1\n          /* Required */\n        );\n        let result = createTupleType(elementTypes, elementFlags);\n        if (includePatternInType) {\n          result = cloneTypeReference(result);\n          result.pattern = pattern;\n          result.objectFlags |= 131072;\n        }\n        return result;\n      }\n      function getTypeFromBindingPattern(pattern, includePatternInType = false, reportErrors2 = false) {\n        return pattern.kind === 203 ? getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) : getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2);\n      }\n      function getWidenedTypeForVariableLikeDeclaration(declaration, reportErrors2) {\n        return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(\n          declaration,\n          /*includeOptionality*/\n          true,\n          0\n          /* Normal */\n        ), declaration, reportErrors2);\n      }\n      function isGlobalSymbolConstructor(node) {\n        const symbol = getSymbolOfNode(node);\n        const globalSymbol = getGlobalESSymbolConstructorTypeSymbol(\n          /*reportErrors*/\n          false\n        );\n        return globalSymbol && symbol && symbol === globalSymbol;\n      }\n      function widenTypeForVariableLikeDeclaration(type, declaration, reportErrors2) {\n        if (type) {\n          if (type.flags & 4096 && isGlobalSymbolConstructor(declaration.parent)) {\n            type = getESSymbolLikeTypeForNode(declaration);\n          }\n          if (reportErrors2) {\n            reportErrorsFromWidening(declaration, type);\n          }\n          if (type.flags & 8192 && (isBindingElement(declaration) || !declaration.type) && type.symbol !== getSymbolOfDeclaration(declaration)) {\n            type = esSymbolType;\n          }\n          return getWidenedType(type);\n        }\n        type = isParameter(declaration) && declaration.dotDotDotToken ? anyArrayType : anyType;\n        if (reportErrors2) {\n          if (!declarationBelongsToPrivateAmbientMember(declaration)) {\n            reportImplicitAny(declaration, type);\n          }\n        }\n        return type;\n      }\n      function declarationBelongsToPrivateAmbientMember(declaration) {\n        const root = getRootDeclaration(declaration);\n        const memberDeclaration = root.kind === 166 ? root.parent : root;\n        return isPrivateWithinAmbient(memberDeclaration);\n      }\n      function tryGetTypeFromEffectiveTypeNode(node) {\n        const typeNode = getEffectiveTypeAnnotationNode(node);\n        if (typeNode) {\n          return getTypeFromTypeNode(typeNode);\n        }\n      }\n      function isParameterOfContextSensitiveSignature(symbol) {\n        let decl = symbol.valueDeclaration;\n        if (!decl) {\n          return false;\n        }\n        if (isBindingElement(decl)) {\n          decl = walkUpBindingElementsAndPatterns(decl);\n        }\n        if (isParameter(decl)) {\n          return isContextSensitiveFunctionOrObjectLiteralMethod(decl.parent);\n        }\n        return false;\n      }\n      function getTypeOfVariableOrParameterOrProperty(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.type) {\n          const type = getTypeOfVariableOrParameterOrPropertyWorker(symbol);\n          if (!links.type && !isParameterOfContextSensitiveSignature(symbol)) {\n            links.type = type;\n          }\n          return type;\n        }\n        return links.type;\n      }\n      function getTypeOfVariableOrParameterOrPropertyWorker(symbol) {\n        if (symbol.flags & 4194304) {\n          return getTypeOfPrototypeProperty(symbol);\n        }\n        if (symbol === requireSymbol) {\n          return anyType;\n        }\n        if (symbol.flags & 134217728 && symbol.valueDeclaration) {\n          const fileSymbol = getSymbolOfDeclaration(getSourceFileOfNode(symbol.valueDeclaration));\n          const result = createSymbol(fileSymbol.flags, \"exports\");\n          result.declarations = fileSymbol.declarations ? fileSymbol.declarations.slice() : [];\n          result.parent = symbol;\n          result.links.target = fileSymbol;\n          if (fileSymbol.valueDeclaration)\n            result.valueDeclaration = fileSymbol.valueDeclaration;\n          if (fileSymbol.members)\n            result.members = new Map(fileSymbol.members);\n          if (fileSymbol.exports)\n            result.exports = new Map(fileSymbol.exports);\n          const members = createSymbolTable();\n          members.set(\"exports\", result);\n          return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray);\n        }\n        Debug2.assertIsDefined(symbol.valueDeclaration);\n        const declaration = symbol.valueDeclaration;\n        if (isSourceFile(declaration) && isJsonSourceFile(declaration)) {\n          if (!declaration.statements.length) {\n            return emptyObjectType;\n          }\n          return getWidenedType(getWidenedLiteralType(checkExpression(declaration.statements[0].expression)));\n        }\n        if (isAccessor(declaration)) {\n          return getTypeOfAccessors(symbol);\n        }\n        if (!pushTypeResolution(\n          symbol,\n          0\n          /* Type */\n        )) {\n          if (symbol.flags & 512 && !(symbol.flags & 67108864)) {\n            return getTypeOfFuncClassEnumModule(symbol);\n          }\n          return reportCircularityError(symbol);\n        }\n        let type;\n        if (declaration.kind === 274) {\n          type = widenTypeForVariableLikeDeclaration(tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionCached(declaration.expression), declaration);\n        } else if (isBinaryExpression(declaration) || isInJSFile(declaration) && (isCallExpression(declaration) || (isPropertyAccessExpression(declaration) || isBindableStaticElementAccessExpression(declaration)) && isBinaryExpression(declaration.parent))) {\n          type = getWidenedTypeForAssignmentDeclaration(symbol);\n        } else if (isPropertyAccessExpression(declaration) || isElementAccessExpression(declaration) || isIdentifier(declaration) || isStringLiteralLike(declaration) || isNumericLiteral(declaration) || isClassDeclaration(declaration) || isFunctionDeclaration(declaration) || isMethodDeclaration(declaration) && !isObjectLiteralMethod(declaration) || isMethodSignature(declaration) || isSourceFile(declaration)) {\n          if (symbol.flags & (16 | 8192 | 32 | 384 | 512)) {\n            return getTypeOfFuncClassEnumModule(symbol);\n          }\n          type = isBinaryExpression(declaration.parent) ? getWidenedTypeForAssignmentDeclaration(symbol) : tryGetTypeFromEffectiveTypeNode(declaration) || anyType;\n        } else if (isPropertyAssignment(declaration)) {\n          type = tryGetTypeFromEffectiveTypeNode(declaration) || checkPropertyAssignment(declaration);\n        } else if (isJsxAttribute(declaration)) {\n          type = tryGetTypeFromEffectiveTypeNode(declaration) || checkJsxAttribute(declaration);\n        } else if (isShorthandPropertyAssignment(declaration)) {\n          type = tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionForMutableLocation(\n            declaration.name,\n            0\n            /* Normal */\n          );\n        } else if (isObjectLiteralMethod(declaration)) {\n          type = tryGetTypeFromEffectiveTypeNode(declaration) || checkObjectLiteralMethod(\n            declaration,\n            0\n            /* Normal */\n          );\n        } else if (isParameter(declaration) || isPropertyDeclaration(declaration) || isPropertySignature(declaration) || isVariableDeclaration(declaration) || isBindingElement(declaration) || isJSDocPropertyLikeTag(declaration)) {\n          type = getWidenedTypeForVariableLikeDeclaration(\n            declaration,\n            /*includeOptionality*/\n            true\n          );\n        } else if (isEnumDeclaration(declaration)) {\n          type = getTypeOfFuncClassEnumModule(symbol);\n        } else if (isEnumMember(declaration)) {\n          type = getTypeOfEnumMember(symbol);\n        } else {\n          return Debug2.fail(\"Unhandled declaration kind! \" + Debug2.formatSyntaxKind(declaration.kind) + \" for \" + Debug2.formatSymbol(symbol));\n        }\n        if (!popTypeResolution()) {\n          if (symbol.flags & 512 && !(symbol.flags & 67108864)) {\n            return getTypeOfFuncClassEnumModule(symbol);\n          }\n          return reportCircularityError(symbol);\n        }\n        return type;\n      }\n      function getAnnotatedAccessorTypeNode(accessor) {\n        if (accessor) {\n          switch (accessor.kind) {\n            case 174:\n              const getterTypeAnnotation = getEffectiveReturnTypeNode(accessor);\n              return getterTypeAnnotation;\n            case 175:\n              const setterTypeAnnotation = getEffectiveSetAccessorTypeAnnotationNode(accessor);\n              return setterTypeAnnotation;\n            case 169:\n              Debug2.assert(hasAccessorModifier(accessor));\n              const accessorTypeAnnotation = getEffectiveTypeAnnotationNode(accessor);\n              return accessorTypeAnnotation;\n          }\n        }\n        return void 0;\n      }\n      function getAnnotatedAccessorType(accessor) {\n        const node = getAnnotatedAccessorTypeNode(accessor);\n        return node && getTypeFromTypeNode(node);\n      }\n      function getAnnotatedAccessorThisParameter(accessor) {\n        const parameter = getAccessorThisParameter(accessor);\n        return parameter && parameter.symbol;\n      }\n      function getThisTypeOfDeclaration(declaration) {\n        return getThisTypeOfSignature(getSignatureFromDeclaration(declaration));\n      }\n      function getTypeOfAccessors(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.type) {\n          if (!pushTypeResolution(\n            symbol,\n            0\n            /* Type */\n          )) {\n            return errorType;\n          }\n          const getter = getDeclarationOfKind(\n            symbol,\n            174\n            /* GetAccessor */\n          );\n          const setter = getDeclarationOfKind(\n            symbol,\n            175\n            /* SetAccessor */\n          );\n          const accessor = tryCast(getDeclarationOfKind(\n            symbol,\n            169\n            /* PropertyDeclaration */\n          ), isAutoAccessorPropertyDeclaration);\n          let type = getter && isInJSFile(getter) && getTypeForDeclarationFromJSDocComment(getter) || getAnnotatedAccessorType(getter) || getAnnotatedAccessorType(setter) || getAnnotatedAccessorType(accessor) || getter && getter.body && getReturnTypeFromBody(getter) || accessor && accessor.initializer && getWidenedTypeForVariableLikeDeclaration(\n            accessor,\n            /*includeOptionality*/\n            true\n          );\n          if (!type) {\n            if (setter && !isPrivateWithinAmbient(setter)) {\n              errorOrSuggestion(noImplicitAny, setter, Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation, symbolToString(symbol));\n            } else if (getter && !isPrivateWithinAmbient(getter)) {\n              errorOrSuggestion(noImplicitAny, getter, Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));\n            } else if (accessor && !isPrivateWithinAmbient(accessor)) {\n              errorOrSuggestion(noImplicitAny, accessor, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), \"any\");\n            }\n            type = anyType;\n          }\n          if (!popTypeResolution()) {\n            if (getAnnotatedAccessorTypeNode(getter)) {\n              error(getter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n            } else if (getAnnotatedAccessorTypeNode(setter)) {\n              error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n            } else if (getAnnotatedAccessorTypeNode(accessor)) {\n              error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n            } else if (getter && noImplicitAny) {\n              error(getter, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, symbolToString(symbol));\n            }\n            type = anyType;\n          }\n          links.type = type;\n        }\n        return links.type;\n      }\n      function getWriteTypeOfAccessors(symbol) {\n        var _a22;\n        const links = getSymbolLinks(symbol);\n        if (!links.writeType) {\n          if (!pushTypeResolution(\n            symbol,\n            8\n            /* WriteType */\n          )) {\n            return errorType;\n          }\n          const setter = (_a22 = getDeclarationOfKind(\n            symbol,\n            175\n            /* SetAccessor */\n          )) != null ? _a22 : tryCast(getDeclarationOfKind(\n            symbol,\n            169\n            /* PropertyDeclaration */\n          ), isAutoAccessorPropertyDeclaration);\n          let writeType = getAnnotatedAccessorType(setter);\n          if (!popTypeResolution()) {\n            if (getAnnotatedAccessorTypeNode(setter)) {\n              error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n            }\n            writeType = anyType;\n          }\n          links.writeType = writeType || getTypeOfAccessors(symbol);\n        }\n        return links.writeType;\n      }\n      function getBaseTypeVariableOfClass(symbol) {\n        const baseConstructorType = getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(symbol));\n        return baseConstructorType.flags & 8650752 ? baseConstructorType : baseConstructorType.flags & 2097152 ? find(baseConstructorType.types, (t) => !!(t.flags & 8650752)) : void 0;\n      }\n      function getTypeOfFuncClassEnumModule(symbol) {\n        let links = getSymbolLinks(symbol);\n        const originalLinks = links;\n        if (!links.type) {\n          const expando = symbol.valueDeclaration && getSymbolOfExpando(\n            symbol.valueDeclaration,\n            /*allowDeclaration*/\n            false\n          );\n          if (expando) {\n            const merged = mergeJSSymbols(symbol, expando);\n            if (merged) {\n              symbol = merged;\n              links = merged.links;\n            }\n          }\n          originalLinks.type = links.type = getTypeOfFuncClassEnumModuleWorker(symbol);\n        }\n        return links.type;\n      }\n      function getTypeOfFuncClassEnumModuleWorker(symbol) {\n        const declaration = symbol.valueDeclaration;\n        if (symbol.flags & 1536 && isShorthandAmbientModuleSymbol(symbol)) {\n          return anyType;\n        } else if (declaration && (declaration.kind === 223 || isAccessExpression(declaration) && declaration.parent.kind === 223)) {\n          return getWidenedTypeForAssignmentDeclaration(symbol);\n        } else if (symbol.flags & 512 && declaration && isSourceFile(declaration) && declaration.commonJsModuleIndicator) {\n          const resolvedModule = resolveExternalModuleSymbol(symbol);\n          if (resolvedModule !== symbol) {\n            if (!pushTypeResolution(\n              symbol,\n              0\n              /* Type */\n            )) {\n              return errorType;\n            }\n            const exportEquals = getMergedSymbol(symbol.exports.get(\n              \"export=\"\n              /* ExportEquals */\n            ));\n            const type2 = getWidenedTypeForAssignmentDeclaration(exportEquals, exportEquals === resolvedModule ? void 0 : resolvedModule);\n            if (!popTypeResolution()) {\n              return reportCircularityError(symbol);\n            }\n            return type2;\n          }\n        }\n        const type = createObjectType(16, symbol);\n        if (symbol.flags & 32) {\n          const baseTypeVariable = getBaseTypeVariableOfClass(symbol);\n          return baseTypeVariable ? getIntersectionType([type, baseTypeVariable]) : type;\n        } else {\n          return strictNullChecks && symbol.flags & 16777216 ? getOptionalType(type) : type;\n        }\n      }\n      function getTypeOfEnumMember(symbol) {\n        const links = getSymbolLinks(symbol);\n        return links.type || (links.type = getDeclaredTypeOfEnumMember(symbol));\n      }\n      function getTypeOfAlias(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.type) {\n          const targetSymbol = resolveAlias(symbol);\n          const exportSymbol = symbol.declarations && getTargetOfAliasDeclaration(\n            getDeclarationOfAliasSymbol(symbol),\n            /*dontResolveAlias*/\n            true\n          );\n          const declaredType = firstDefined(exportSymbol == null ? void 0 : exportSymbol.declarations, (d) => isExportAssignment(d) ? tryGetTypeFromEffectiveTypeNode(d) : void 0);\n          links.type = (exportSymbol == null ? void 0 : exportSymbol.declarations) && isDuplicatedCommonJSExport(exportSymbol.declarations) && symbol.declarations.length ? getFlowTypeFromCommonJSExport(exportSymbol) : isDuplicatedCommonJSExport(symbol.declarations) ? autoType : declaredType ? declaredType : getAllSymbolFlags(targetSymbol) & 111551 ? getTypeOfSymbol(targetSymbol) : errorType;\n        }\n        return links.type;\n      }\n      function getTypeOfInstantiatedSymbol(symbol) {\n        const links = getSymbolLinks(symbol);\n        return links.type || (links.type = instantiateType(getTypeOfSymbol(links.target), links.mapper));\n      }\n      function getWriteTypeOfInstantiatedSymbol(symbol) {\n        const links = getSymbolLinks(symbol);\n        return links.writeType || (links.writeType = instantiateType(getWriteTypeOfSymbol(links.target), links.mapper));\n      }\n      function reportCircularityError(symbol) {\n        const declaration = symbol.valueDeclaration;\n        if (getEffectiveTypeAnnotationNode(declaration)) {\n          error(\n            symbol.valueDeclaration,\n            Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,\n            symbolToString(symbol)\n          );\n          return errorType;\n        }\n        if (noImplicitAny && (declaration.kind !== 166 || declaration.initializer)) {\n          error(\n            symbol.valueDeclaration,\n            Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,\n            symbolToString(symbol)\n          );\n        }\n        return anyType;\n      }\n      function getTypeOfSymbolWithDeferredType(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.type) {\n          Debug2.assertIsDefined(links.deferralParent);\n          Debug2.assertIsDefined(links.deferralConstituents);\n          links.type = links.deferralParent.flags & 1048576 ? getUnionType(links.deferralConstituents) : getIntersectionType(links.deferralConstituents);\n        }\n        return links.type;\n      }\n      function getWriteTypeOfSymbolWithDeferredType(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.writeType && links.deferralWriteConstituents) {\n          Debug2.assertIsDefined(links.deferralParent);\n          Debug2.assertIsDefined(links.deferralConstituents);\n          links.writeType = links.deferralParent.flags & 1048576 ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);\n        }\n        return links.writeType;\n      }\n      function getWriteTypeOfSymbol(symbol) {\n        const checkFlags = getCheckFlags(symbol);\n        if (symbol.flags & 4) {\n          return checkFlags & 2 ? checkFlags & 65536 ? getWriteTypeOfSymbolWithDeferredType(symbol) || getTypeOfSymbolWithDeferredType(symbol) : (\n            // NOTE: cast to TransientSymbol should be safe because only TransientSymbols can have CheckFlags.SyntheticProperty\n            symbol.links.writeType || symbol.links.type\n          ) : getTypeOfSymbol(symbol);\n        }\n        if (symbol.flags & 98304) {\n          return checkFlags & 1 ? getWriteTypeOfInstantiatedSymbol(symbol) : getWriteTypeOfAccessors(symbol);\n        }\n        return getTypeOfSymbol(symbol);\n      }\n      function getTypeOfSymbol(symbol) {\n        const checkFlags = getCheckFlags(symbol);\n        if (checkFlags & 65536) {\n          return getTypeOfSymbolWithDeferredType(symbol);\n        }\n        if (checkFlags & 1) {\n          return getTypeOfInstantiatedSymbol(symbol);\n        }\n        if (checkFlags & 262144) {\n          return getTypeOfMappedSymbol(symbol);\n        }\n        if (checkFlags & 8192) {\n          return getTypeOfReverseMappedSymbol(symbol);\n        }\n        if (symbol.flags & (3 | 4)) {\n          return getTypeOfVariableOrParameterOrProperty(symbol);\n        }\n        if (symbol.flags & (16 | 8192 | 32 | 384 | 512)) {\n          return getTypeOfFuncClassEnumModule(symbol);\n        }\n        if (symbol.flags & 8) {\n          return getTypeOfEnumMember(symbol);\n        }\n        if (symbol.flags & 98304) {\n          return getTypeOfAccessors(symbol);\n        }\n        if (symbol.flags & 2097152) {\n          return getTypeOfAlias(symbol);\n        }\n        return errorType;\n      }\n      function getNonMissingTypeOfSymbol(symbol) {\n        return removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & 16777216));\n      }\n      function isReferenceToType2(type, target) {\n        return type !== void 0 && target !== void 0 && (getObjectFlags(type) & 4) !== 0 && type.target === target;\n      }\n      function getTargetType(type) {\n        return getObjectFlags(type) & 4 ? type.target : type;\n      }\n      function hasBaseType(type, checkBase) {\n        return check(type);\n        function check(type2) {\n          if (getObjectFlags(type2) & (3 | 4)) {\n            const target = getTargetType(type2);\n            return target === checkBase || some(getBaseTypes(target), check);\n          } else if (type2.flags & 2097152) {\n            return some(type2.types, check);\n          }\n          return false;\n        }\n      }\n      function appendTypeParameters(typeParameters, declarations) {\n        for (const declaration of declarations) {\n          typeParameters = appendIfUnique(typeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(declaration)));\n        }\n        return typeParameters;\n      }\n      function getOuterTypeParameters(node, includeThisTypes) {\n        while (true) {\n          node = node.parent;\n          if (node && isBinaryExpression(node)) {\n            const assignmentKind = getAssignmentDeclarationKind(node);\n            if (assignmentKind === 6 || assignmentKind === 3) {\n              const symbol = getSymbolOfDeclaration(node.left);\n              if (symbol && symbol.parent && !findAncestor(symbol.parent.valueDeclaration, (d) => node === d)) {\n                node = symbol.parent.valueDeclaration;\n              }\n            }\n          }\n          if (!node) {\n            return void 0;\n          }\n          switch (node.kind) {\n            case 260:\n            case 228:\n            case 261:\n            case 176:\n            case 177:\n            case 170:\n            case 181:\n            case 182:\n            case 320:\n            case 259:\n            case 171:\n            case 215:\n            case 216:\n            case 262:\n            case 348:\n            case 349:\n            case 343:\n            case 341:\n            case 197:\n            case 191: {\n              const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes);\n              if (node.kind === 197) {\n                return append(outerTypeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter)));\n              } else if (node.kind === 191) {\n                return concatenate(outerTypeParameters, getInferTypeParameters(node));\n              }\n              const outerAndOwnTypeParameters = appendTypeParameters(outerTypeParameters, getEffectiveTypeParameterDeclarations(node));\n              const thisType = includeThisTypes && (node.kind === 260 || node.kind === 228 || node.kind === 261 || isJSConstructor(node)) && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node)).thisType;\n              return thisType ? append(outerAndOwnTypeParameters, thisType) : outerAndOwnTypeParameters;\n            }\n            case 344:\n              const paramSymbol = getParameterSymbolFromJSDoc(node);\n              if (paramSymbol) {\n                node = paramSymbol.valueDeclaration;\n              }\n              break;\n            case 323: {\n              const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes);\n              return node.tags ? appendTypeParameters(outerTypeParameters, flatMap(node.tags, (t) => isJSDocTemplateTag(t) ? t.typeParameters : void 0)) : outerTypeParameters;\n            }\n          }\n        }\n      }\n      function getOuterTypeParametersOfClassOrInterface(symbol) {\n        var _a22;\n        const declaration = symbol.flags & 32 || symbol.flags & 16 ? symbol.valueDeclaration : (_a22 = symbol.declarations) == null ? void 0 : _a22.find((decl) => {\n          if (decl.kind === 261) {\n            return true;\n          }\n          if (decl.kind !== 257) {\n            return false;\n          }\n          const initializer = decl.initializer;\n          return !!initializer && (initializer.kind === 215 || initializer.kind === 216);\n        });\n        Debug2.assert(!!declaration, \"Class was missing valueDeclaration -OR- non-class had no interface declarations\");\n        return getOuterTypeParameters(declaration);\n      }\n      function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) {\n        if (!symbol.declarations) {\n          return;\n        }\n        let result;\n        for (const node of symbol.declarations) {\n          if (node.kind === 261 || node.kind === 260 || node.kind === 228 || isJSConstructor(node) || isTypeAlias(node)) {\n            const declaration = node;\n            result = appendTypeParameters(result, getEffectiveTypeParameterDeclarations(declaration));\n          }\n        }\n        return result;\n      }\n      function getTypeParametersOfClassOrInterface(symbol) {\n        return concatenate(getOuterTypeParametersOfClassOrInterface(symbol), getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol));\n      }\n      function isMixinConstructorType(type) {\n        const signatures = getSignaturesOfType(\n          type,\n          1\n          /* Construct */\n        );\n        if (signatures.length === 1) {\n          const s = signatures[0];\n          if (!s.typeParameters && s.parameters.length === 1 && signatureHasRestParameter(s)) {\n            const paramType = getTypeOfParameter(s.parameters[0]);\n            return isTypeAny(paramType) || getElementTypeOfArrayType(paramType) === anyType;\n          }\n        }\n        return false;\n      }\n      function isConstructorType(type) {\n        if (getSignaturesOfType(\n          type,\n          1\n          /* Construct */\n        ).length > 0) {\n          return true;\n        }\n        if (type.flags & 8650752) {\n          const constraint = getBaseConstraintOfType(type);\n          return !!constraint && isMixinConstructorType(constraint);\n        }\n        return false;\n      }\n      function getBaseTypeNodeOfClass(type) {\n        const decl = getClassLikeDeclarationOfSymbol(type.symbol);\n        return decl && getEffectiveBaseTypeNode(decl);\n      }\n      function getConstructorsForTypeArguments(type, typeArgumentNodes, location) {\n        const typeArgCount = length(typeArgumentNodes);\n        const isJavascript = isInJSFile(location);\n        return filter(\n          getSignaturesOfType(\n            type,\n            1\n            /* Construct */\n          ),\n          (sig) => (isJavascript || typeArgCount >= getMinTypeArgumentCount(sig.typeParameters)) && typeArgCount <= length(sig.typeParameters)\n        );\n      }\n      function getInstantiatedConstructorsForTypeArguments(type, typeArgumentNodes, location) {\n        const signatures = getConstructorsForTypeArguments(type, typeArgumentNodes, location);\n        const typeArguments = map(typeArgumentNodes, getTypeFromTypeNode);\n        return sameMap(signatures, (sig) => some(sig.typeParameters) ? getSignatureInstantiation(sig, typeArguments, isInJSFile(location)) : sig);\n      }\n      function getBaseConstructorTypeOfClass(type) {\n        if (!type.resolvedBaseConstructorType) {\n          const decl = getClassLikeDeclarationOfSymbol(type.symbol);\n          const extended = decl && getEffectiveBaseTypeNode(decl);\n          const baseTypeNode = getBaseTypeNodeOfClass(type);\n          if (!baseTypeNode) {\n            return type.resolvedBaseConstructorType = undefinedType;\n          }\n          if (!pushTypeResolution(\n            type,\n            1\n            /* ResolvedBaseConstructorType */\n          )) {\n            return errorType;\n          }\n          const baseConstructorType = checkExpression(baseTypeNode.expression);\n          if (extended && baseTypeNode !== extended) {\n            Debug2.assert(!extended.typeArguments);\n            checkExpression(extended.expression);\n          }\n          if (baseConstructorType.flags & (524288 | 2097152)) {\n            resolveStructuredTypeMembers(baseConstructorType);\n          }\n          if (!popTypeResolution()) {\n            error(type.symbol.valueDeclaration, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression, symbolToString(type.symbol));\n            return type.resolvedBaseConstructorType = errorType;\n          }\n          if (!(baseConstructorType.flags & 1) && baseConstructorType !== nullWideningType && !isConstructorType(baseConstructorType)) {\n            const err = error(baseTypeNode.expression, Diagnostics.Type_0_is_not_a_constructor_function_type, typeToString(baseConstructorType));\n            if (baseConstructorType.flags & 262144) {\n              const constraint = getConstraintFromTypeParameter(baseConstructorType);\n              let ctorReturn = unknownType;\n              if (constraint) {\n                const ctorSig = getSignaturesOfType(\n                  constraint,\n                  1\n                  /* Construct */\n                );\n                if (ctorSig[0]) {\n                  ctorReturn = getReturnTypeOfSignature(ctorSig[0]);\n                }\n              }\n              if (baseConstructorType.symbol.declarations) {\n                addRelatedInfo(err, createDiagnosticForNode(baseConstructorType.symbol.declarations[0], Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1, symbolToString(baseConstructorType.symbol), typeToString(ctorReturn)));\n              }\n            }\n            return type.resolvedBaseConstructorType = errorType;\n          }\n          type.resolvedBaseConstructorType = baseConstructorType;\n        }\n        return type.resolvedBaseConstructorType;\n      }\n      function getImplementsTypes(type) {\n        let resolvedImplementsTypes = emptyArray;\n        if (type.symbol.declarations) {\n          for (const declaration of type.symbol.declarations) {\n            const implementsTypeNodes = getEffectiveImplementsTypeNodes(declaration);\n            if (!implementsTypeNodes)\n              continue;\n            for (const node of implementsTypeNodes) {\n              const implementsType = getTypeFromTypeNode(node);\n              if (!isErrorType(implementsType)) {\n                if (resolvedImplementsTypes === emptyArray) {\n                  resolvedImplementsTypes = [implementsType];\n                } else {\n                  resolvedImplementsTypes.push(implementsType);\n                }\n              }\n            }\n          }\n        }\n        return resolvedImplementsTypes;\n      }\n      function reportCircularBaseType(node, type) {\n        error(node, Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString(\n          type,\n          /*enclosingDeclaration*/\n          void 0,\n          2\n          /* WriteArrayAsGenericType */\n        ));\n      }\n      function getBaseTypes(type) {\n        if (!type.baseTypesResolved) {\n          if (pushTypeResolution(\n            type,\n            7\n            /* ResolvedBaseTypes */\n          )) {\n            if (type.objectFlags & 8) {\n              type.resolvedBaseTypes = [getTupleBaseType(type)];\n            } else if (type.symbol.flags & (32 | 64)) {\n              if (type.symbol.flags & 32) {\n                resolveBaseTypesOfClass(type);\n              }\n              if (type.symbol.flags & 64) {\n                resolveBaseTypesOfInterface(type);\n              }\n            } else {\n              Debug2.fail(\"type must be class or interface\");\n            }\n            if (!popTypeResolution() && type.symbol.declarations) {\n              for (const declaration of type.symbol.declarations) {\n                if (declaration.kind === 260 || declaration.kind === 261) {\n                  reportCircularBaseType(declaration, type);\n                }\n              }\n            }\n          }\n          type.baseTypesResolved = true;\n        }\n        return type.resolvedBaseTypes;\n      }\n      function getTupleBaseType(type) {\n        const elementTypes = sameMap(type.typeParameters, (t, i) => type.elementFlags[i] & 8 ? getIndexedAccessType(t, numberType) : t);\n        return createArrayType(getUnionType(elementTypes || emptyArray), type.readonly);\n      }\n      function resolveBaseTypesOfClass(type) {\n        type.resolvedBaseTypes = resolvingEmptyArray;\n        const baseConstructorType = getApparentType(getBaseConstructorTypeOfClass(type));\n        if (!(baseConstructorType.flags & (524288 | 2097152 | 1))) {\n          return type.resolvedBaseTypes = emptyArray;\n        }\n        const baseTypeNode = getBaseTypeNodeOfClass(type);\n        let baseType;\n        const originalBaseType = baseConstructorType.symbol ? getDeclaredTypeOfSymbol(baseConstructorType.symbol) : void 0;\n        if (baseConstructorType.symbol && baseConstructorType.symbol.flags & 32 && areAllOuterTypeParametersApplied(originalBaseType)) {\n          baseType = getTypeFromClassOrInterfaceReference(baseTypeNode, baseConstructorType.symbol);\n        } else if (baseConstructorType.flags & 1) {\n          baseType = baseConstructorType;\n        } else {\n          const constructors = getInstantiatedConstructorsForTypeArguments(baseConstructorType, baseTypeNode.typeArguments, baseTypeNode);\n          if (!constructors.length) {\n            error(baseTypeNode.expression, Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);\n            return type.resolvedBaseTypes = emptyArray;\n          }\n          baseType = getReturnTypeOfSignature(constructors[0]);\n        }\n        if (isErrorType(baseType)) {\n          return type.resolvedBaseTypes = emptyArray;\n        }\n        const reducedBaseType = getReducedType(baseType);\n        if (!isValidBaseType(reducedBaseType)) {\n          const elaboration = elaborateNeverIntersection(\n            /*errorInfo*/\n            void 0,\n            baseType\n          );\n          const diagnostic = chainDiagnosticMessages(elaboration, Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members, typeToString(reducedBaseType));\n          diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(baseTypeNode.expression), baseTypeNode.expression, diagnostic));\n          return type.resolvedBaseTypes = emptyArray;\n        }\n        if (type === reducedBaseType || hasBaseType(reducedBaseType, type)) {\n          error(\n            type.symbol.valueDeclaration,\n            Diagnostics.Type_0_recursively_references_itself_as_a_base_type,\n            typeToString(\n              type,\n              /*enclosingDeclaration*/\n              void 0,\n              2\n              /* WriteArrayAsGenericType */\n            )\n          );\n          return type.resolvedBaseTypes = emptyArray;\n        }\n        if (type.resolvedBaseTypes === resolvingEmptyArray) {\n          type.members = void 0;\n        }\n        return type.resolvedBaseTypes = [reducedBaseType];\n      }\n      function areAllOuterTypeParametersApplied(type) {\n        const outerTypeParameters = type.outerTypeParameters;\n        if (outerTypeParameters) {\n          const last2 = outerTypeParameters.length - 1;\n          const typeArguments = getTypeArguments(type);\n          return outerTypeParameters[last2].symbol !== typeArguments[last2].symbol;\n        }\n        return true;\n      }\n      function isValidBaseType(type) {\n        if (type.flags & 262144) {\n          const constraint = getBaseConstraintOfType(type);\n          if (constraint) {\n            return isValidBaseType(constraint);\n          }\n        }\n        return !!(type.flags & (524288 | 67108864 | 1) && !isGenericMappedType(type) || type.flags & 2097152 && every(type.types, isValidBaseType));\n      }\n      function resolveBaseTypesOfInterface(type) {\n        type.resolvedBaseTypes = type.resolvedBaseTypes || emptyArray;\n        if (type.symbol.declarations) {\n          for (const declaration of type.symbol.declarations) {\n            if (declaration.kind === 261 && getInterfaceBaseTypeNodes(declaration)) {\n              for (const node of getInterfaceBaseTypeNodes(declaration)) {\n                const baseType = getReducedType(getTypeFromTypeNode(node));\n                if (!isErrorType(baseType)) {\n                  if (isValidBaseType(baseType)) {\n                    if (type !== baseType && !hasBaseType(baseType, type)) {\n                      if (type.resolvedBaseTypes === emptyArray) {\n                        type.resolvedBaseTypes = [baseType];\n                      } else {\n                        type.resolvedBaseTypes.push(baseType);\n                      }\n                    } else {\n                      reportCircularBaseType(declaration, type);\n                    }\n                  } else {\n                    error(node, Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members);\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n      function isThislessInterface(symbol) {\n        if (!symbol.declarations) {\n          return true;\n        }\n        for (const declaration of symbol.declarations) {\n          if (declaration.kind === 261) {\n            if (declaration.flags & 128) {\n              return false;\n            }\n            const baseTypeNodes = getInterfaceBaseTypeNodes(declaration);\n            if (baseTypeNodes) {\n              for (const node of baseTypeNodes) {\n                if (isEntityNameExpression(node.expression)) {\n                  const baseSymbol = resolveEntityName(\n                    node.expression,\n                    788968,\n                    /*ignoreErrors*/\n                    true\n                  );\n                  if (!baseSymbol || !(baseSymbol.flags & 64) || getDeclaredTypeOfClassOrInterface(baseSymbol).thisType) {\n                    return false;\n                  }\n                }\n              }\n            }\n          }\n        }\n        return true;\n      }\n      function getDeclaredTypeOfClassOrInterface(symbol) {\n        let links = getSymbolLinks(symbol);\n        const originalLinks = links;\n        if (!links.declaredType) {\n          const kind = symbol.flags & 32 ? 1 : 2;\n          const merged = mergeJSSymbols(symbol, symbol.valueDeclaration && getAssignedClassSymbol(symbol.valueDeclaration));\n          if (merged) {\n            symbol = merged;\n            links = merged.links;\n          }\n          const type = originalLinks.declaredType = links.declaredType = createObjectType(kind, symbol);\n          const outerTypeParameters = getOuterTypeParametersOfClassOrInterface(symbol);\n          const localTypeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n          if (outerTypeParameters || localTypeParameters || kind === 1 || !isThislessInterface(symbol)) {\n            type.objectFlags |= 4;\n            type.typeParameters = concatenate(outerTypeParameters, localTypeParameters);\n            type.outerTypeParameters = outerTypeParameters;\n            type.localTypeParameters = localTypeParameters;\n            type.instantiations = /* @__PURE__ */ new Map();\n            type.instantiations.set(getTypeListId(type.typeParameters), type);\n            type.target = type;\n            type.resolvedTypeArguments = type.typeParameters;\n            type.thisType = createTypeParameter(symbol);\n            type.thisType.isThisType = true;\n            type.thisType.constraint = type;\n          }\n        }\n        return links.declaredType;\n      }\n      function getDeclaredTypeOfTypeAlias(symbol) {\n        var _a22;\n        const links = getSymbolLinks(symbol);\n        if (!links.declaredType) {\n          if (!pushTypeResolution(\n            symbol,\n            2\n            /* DeclaredType */\n          )) {\n            return errorType;\n          }\n          const declaration = Debug2.checkDefined((_a22 = symbol.declarations) == null ? void 0 : _a22.find(isTypeAlias), \"Type alias symbol with no valid declaration found\");\n          const typeNode = isJSDocTypeAlias(declaration) ? declaration.typeExpression : declaration.type;\n          let type = typeNode ? getTypeFromTypeNode(typeNode) : errorType;\n          if (popTypeResolution()) {\n            const typeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n            if (typeParameters) {\n              links.typeParameters = typeParameters;\n              links.instantiations = /* @__PURE__ */ new Map();\n              links.instantiations.set(getTypeListId(typeParameters), type);\n            }\n          } else {\n            type = errorType;\n            if (declaration.kind === 343) {\n              error(declaration.typeExpression.type, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));\n            } else {\n              error(isNamedDeclaration(declaration) ? declaration.name || declaration : declaration, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));\n            }\n          }\n          links.declaredType = type;\n        }\n        return links.declaredType;\n      }\n      function getBaseTypeOfEnumLikeType(type) {\n        return type.flags & 1056 && type.symbol.flags & 8 ? getDeclaredTypeOfSymbol(getParentOfSymbol(type.symbol)) : type;\n      }\n      function getDeclaredTypeOfEnum(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.declaredType) {\n          const memberTypeList = [];\n          if (symbol.declarations) {\n            for (const declaration of symbol.declarations) {\n              if (declaration.kind === 263) {\n                for (const member of declaration.members) {\n                  if (hasBindableName(member)) {\n                    const memberSymbol = getSymbolOfDeclaration(member);\n                    const value = getEnumMemberValue(member);\n                    const memberType = getFreshTypeOfLiteralType(value !== void 0 ? getEnumLiteralType(value, getSymbolId(symbol), memberSymbol) : createComputedEnumType(memberSymbol));\n                    getSymbolLinks(memberSymbol).declaredType = memberType;\n                    memberTypeList.push(getRegularTypeOfLiteralType(memberType));\n                  }\n                }\n              }\n            }\n          }\n          const enumType = memberTypeList.length ? getUnionType(\n            memberTypeList,\n            1,\n            symbol,\n            /*aliasTypeArguments*/\n            void 0\n          ) : createComputedEnumType(symbol);\n          if (enumType.flags & 1048576) {\n            enumType.flags |= 1024;\n            enumType.symbol = symbol;\n          }\n          links.declaredType = enumType;\n        }\n        return links.declaredType;\n      }\n      function createComputedEnumType(symbol) {\n        const regularType = createTypeWithSymbol(32, symbol);\n        const freshType = createTypeWithSymbol(32, symbol);\n        regularType.regularType = regularType;\n        regularType.freshType = freshType;\n        freshType.regularType = regularType;\n        freshType.freshType = freshType;\n        return regularType;\n      }\n      function getDeclaredTypeOfEnumMember(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.declaredType) {\n          const enumType = getDeclaredTypeOfEnum(getParentOfSymbol(symbol));\n          if (!links.declaredType) {\n            links.declaredType = enumType;\n          }\n        }\n        return links.declaredType;\n      }\n      function getDeclaredTypeOfTypeParameter(symbol) {\n        const links = getSymbolLinks(symbol);\n        return links.declaredType || (links.declaredType = createTypeParameter(symbol));\n      }\n      function getDeclaredTypeOfAlias(symbol) {\n        const links = getSymbolLinks(symbol);\n        return links.declaredType || (links.declaredType = getDeclaredTypeOfSymbol(resolveAlias(symbol)));\n      }\n      function getDeclaredTypeOfSymbol(symbol) {\n        return tryGetDeclaredTypeOfSymbol(symbol) || errorType;\n      }\n      function tryGetDeclaredTypeOfSymbol(symbol) {\n        if (symbol.flags & (32 | 64)) {\n          return getDeclaredTypeOfClassOrInterface(symbol);\n        }\n        if (symbol.flags & 524288) {\n          return getDeclaredTypeOfTypeAlias(symbol);\n        }\n        if (symbol.flags & 262144) {\n          return getDeclaredTypeOfTypeParameter(symbol);\n        }\n        if (symbol.flags & 384) {\n          return getDeclaredTypeOfEnum(symbol);\n        }\n        if (symbol.flags & 8) {\n          return getDeclaredTypeOfEnumMember(symbol);\n        }\n        if (symbol.flags & 2097152) {\n          return getDeclaredTypeOfAlias(symbol);\n        }\n        return void 0;\n      }\n      function isThislessType(node) {\n        switch (node.kind) {\n          case 131:\n          case 157:\n          case 152:\n          case 148:\n          case 160:\n          case 134:\n          case 153:\n          case 149:\n          case 114:\n          case 155:\n          case 144:\n          case 198:\n            return true;\n          case 185:\n            return isThislessType(node.elementType);\n          case 180:\n            return !node.typeArguments || node.typeArguments.every(isThislessType);\n        }\n        return false;\n      }\n      function isThislessTypeParameter(node) {\n        const constraint = getEffectiveConstraintOfTypeParameter(node);\n        return !constraint || isThislessType(constraint);\n      }\n      function isThislessVariableLikeDeclaration(node) {\n        const typeNode = getEffectiveTypeAnnotationNode(node);\n        return typeNode ? isThislessType(typeNode) : !hasInitializer(node);\n      }\n      function isThislessFunctionLikeDeclaration(node) {\n        const returnType = getEffectiveReturnTypeNode(node);\n        const typeParameters = getEffectiveTypeParameterDeclarations(node);\n        return (node.kind === 173 || !!returnType && isThislessType(returnType)) && node.parameters.every(isThislessVariableLikeDeclaration) && typeParameters.every(isThislessTypeParameter);\n      }\n      function isThisless(symbol) {\n        if (symbol.declarations && symbol.declarations.length === 1) {\n          const declaration = symbol.declarations[0];\n          if (declaration) {\n            switch (declaration.kind) {\n              case 169:\n              case 168:\n                return isThislessVariableLikeDeclaration(declaration);\n              case 171:\n              case 170:\n              case 173:\n              case 174:\n              case 175:\n                return isThislessFunctionLikeDeclaration(declaration);\n            }\n          }\n        }\n        return false;\n      }\n      function createInstantiatedSymbolTable(symbols, mapper, mappingThisOnly) {\n        const result = createSymbolTable();\n        for (const symbol of symbols) {\n          result.set(symbol.escapedName, mappingThisOnly && isThisless(symbol) ? symbol : instantiateSymbol(symbol, mapper));\n        }\n        return result;\n      }\n      function addInheritedMembers(symbols, baseSymbols) {\n        for (const s of baseSymbols) {\n          if (!symbols.has(s.escapedName) && !isStaticPrivateIdentifierProperty(s)) {\n            symbols.set(s.escapedName, s);\n          }\n        }\n      }\n      function isStaticPrivateIdentifierProperty(s) {\n        return !!s.valueDeclaration && isPrivateIdentifierClassElementDeclaration(s.valueDeclaration) && isStatic(s.valueDeclaration);\n      }\n      function resolveDeclaredMembers(type) {\n        if (!type.declaredProperties) {\n          const symbol = type.symbol;\n          const members = getMembersOfSymbol(symbol);\n          type.declaredProperties = getNamedMembers(members);\n          type.declaredCallSignatures = emptyArray;\n          type.declaredConstructSignatures = emptyArray;\n          type.declaredIndexInfos = emptyArray;\n          type.declaredCallSignatures = getSignaturesOfSymbol(members.get(\n            \"__call\"\n            /* Call */\n          ));\n          type.declaredConstructSignatures = getSignaturesOfSymbol(members.get(\n            \"__new\"\n            /* New */\n          ));\n          type.declaredIndexInfos = getIndexInfosOfSymbol(symbol);\n        }\n        return type;\n      }\n      function isTypeUsableAsPropertyName(type) {\n        return !!(type.flags & 8576);\n      }\n      function isLateBindableName(node) {\n        if (!isComputedPropertyName(node) && !isElementAccessExpression(node)) {\n          return false;\n        }\n        const expr = isComputedPropertyName(node) ? node.expression : node.argumentExpression;\n        return isEntityNameExpression(expr) && isTypeUsableAsPropertyName(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(expr));\n      }\n      function isLateBoundName(name) {\n        return name.charCodeAt(0) === 95 && name.charCodeAt(1) === 95 && name.charCodeAt(2) === 64;\n      }\n      function hasLateBindableName(node) {\n        const name = getNameOfDeclaration(node);\n        return !!name && isLateBindableName(name);\n      }\n      function hasBindableName(node) {\n        return !hasDynamicName(node) || hasLateBindableName(node);\n      }\n      function isNonBindableDynamicName(node) {\n        return isDynamicName(node) && !isLateBindableName(node);\n      }\n      function getPropertyNameFromType(type) {\n        if (type.flags & 8192) {\n          return type.escapedName;\n        }\n        if (type.flags & (128 | 256)) {\n          return escapeLeadingUnderscores(\"\" + type.value);\n        }\n        return Debug2.fail();\n      }\n      function addDeclarationToLateBoundSymbol(symbol, member, symbolFlags) {\n        Debug2.assert(!!(getCheckFlags(symbol) & 4096), \"Expected a late-bound symbol.\");\n        symbol.flags |= symbolFlags;\n        getSymbolLinks(member.symbol).lateSymbol = symbol;\n        if (!symbol.declarations) {\n          symbol.declarations = [member];\n        } else if (!member.symbol.isReplaceableByMethod) {\n          symbol.declarations.push(member);\n        }\n        if (symbolFlags & 111551) {\n          if (!symbol.valueDeclaration || symbol.valueDeclaration.kind !== member.kind) {\n            symbol.valueDeclaration = member;\n          }\n        }\n      }\n      function lateBindMember(parent2, earlySymbols, lateSymbols, decl) {\n        Debug2.assert(!!decl.symbol, \"The member is expected to have a symbol.\");\n        const links = getNodeLinks(decl);\n        if (!links.resolvedSymbol) {\n          links.resolvedSymbol = decl.symbol;\n          const declName = isBinaryExpression(decl) ? decl.left : decl.name;\n          const type = isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkComputedPropertyName(declName);\n          if (isTypeUsableAsPropertyName(type)) {\n            const memberName = getPropertyNameFromType(type);\n            const symbolFlags = decl.symbol.flags;\n            let lateSymbol = lateSymbols.get(memberName);\n            if (!lateSymbol)\n              lateSymbols.set(memberName, lateSymbol = createSymbol(\n                0,\n                memberName,\n                4096\n                /* Late */\n              ));\n            const earlySymbol = earlySymbols && earlySymbols.get(memberName);\n            if (lateSymbol.flags & getExcludedSymbolFlags(symbolFlags) || earlySymbol) {\n              const declarations = earlySymbol ? concatenate(earlySymbol.declarations, lateSymbol.declarations) : lateSymbol.declarations;\n              const name = !(type.flags & 8192) && unescapeLeadingUnderscores(memberName) || declarationNameToString(declName);\n              forEach(declarations, (declaration) => error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Property_0_was_also_declared_here, name));\n              error(declName || decl, Diagnostics.Duplicate_property_0, name);\n              lateSymbol = createSymbol(\n                0,\n                memberName,\n                4096\n                /* Late */\n              );\n            }\n            lateSymbol.links.nameType = type;\n            addDeclarationToLateBoundSymbol(lateSymbol, decl, symbolFlags);\n            if (lateSymbol.parent) {\n              Debug2.assert(lateSymbol.parent === parent2, \"Existing symbol parent should match new one\");\n            } else {\n              lateSymbol.parent = parent2;\n            }\n            return links.resolvedSymbol = lateSymbol;\n          }\n        }\n        return links.resolvedSymbol;\n      }\n      function getResolvedMembersOrExportsOfSymbol(symbol, resolutionKind) {\n        const links = getSymbolLinks(symbol);\n        if (!links[resolutionKind]) {\n          const isStatic2 = resolutionKind === \"resolvedExports\";\n          const earlySymbols = !isStatic2 ? symbol.members : symbol.flags & 1536 ? getExportsOfModuleWorker(symbol).exports : symbol.exports;\n          links[resolutionKind] = earlySymbols || emptySymbols;\n          const lateSymbols = createSymbolTable();\n          for (const decl of symbol.declarations || emptyArray) {\n            const members = getMembersOfDeclaration(decl);\n            if (members) {\n              for (const member of members) {\n                if (isStatic2 === hasStaticModifier(member)) {\n                  if (hasLateBindableName(member)) {\n                    lateBindMember(symbol, earlySymbols, lateSymbols, member);\n                  }\n                }\n              }\n            }\n          }\n          const assignments = symbol.assignmentDeclarationMembers;\n          if (assignments) {\n            const decls = arrayFrom(assignments.values());\n            for (const member of decls) {\n              const assignmentKind = getAssignmentDeclarationKind(member);\n              const isInstanceMember = assignmentKind === 3 || isBinaryExpression(member) && isPossiblyAliasedThisProperty(member, assignmentKind) || assignmentKind === 9 || assignmentKind === 6;\n              if (isStatic2 === !isInstanceMember) {\n                if (hasLateBindableName(member)) {\n                  lateBindMember(symbol, earlySymbols, lateSymbols, member);\n                }\n              }\n            }\n          }\n          links[resolutionKind] = combineSymbolTables(earlySymbols, lateSymbols) || emptySymbols;\n        }\n        return links[resolutionKind];\n      }\n      function getMembersOfSymbol(symbol) {\n        return symbol.flags & 6256 ? getResolvedMembersOrExportsOfSymbol(\n          symbol,\n          \"resolvedMembers\"\n          /* resolvedMembers */\n        ) : symbol.members || emptySymbols;\n      }\n      function getLateBoundSymbol(symbol) {\n        if (symbol.flags & 106500 && symbol.escapedName === \"__computed\") {\n          const links = getSymbolLinks(symbol);\n          if (!links.lateSymbol && some(symbol.declarations, hasLateBindableName)) {\n            const parent2 = getMergedSymbol(symbol.parent);\n            if (some(symbol.declarations, hasStaticModifier)) {\n              getExportsOfSymbol(parent2);\n            } else {\n              getMembersOfSymbol(parent2);\n            }\n          }\n          return links.lateSymbol || (links.lateSymbol = symbol);\n        }\n        return symbol;\n      }\n      function getTypeWithThisArgument(type, thisArgument, needApparentType) {\n        if (getObjectFlags(type) & 4) {\n          const target = type.target;\n          const typeArguments = getTypeArguments(type);\n          if (length(target.typeParameters) === length(typeArguments)) {\n            const ref = createTypeReference(target, concatenate(typeArguments, [thisArgument || target.thisType]));\n            return needApparentType ? getApparentType(ref) : ref;\n          }\n        } else if (type.flags & 2097152) {\n          const types = sameMap(type.types, (t) => getTypeWithThisArgument(t, thisArgument, needApparentType));\n          return types !== type.types ? getIntersectionType(types) : type;\n        }\n        return needApparentType ? getApparentType(type) : type;\n      }\n      function resolveObjectTypeMembers(type, source, typeParameters, typeArguments) {\n        let mapper;\n        let members;\n        let callSignatures;\n        let constructSignatures;\n        let indexInfos;\n        if (rangeEquals(typeParameters, typeArguments, 0, typeParameters.length)) {\n          members = source.symbol ? getMembersOfSymbol(source.symbol) : createSymbolTable(source.declaredProperties);\n          callSignatures = source.declaredCallSignatures;\n          constructSignatures = source.declaredConstructSignatures;\n          indexInfos = source.declaredIndexInfos;\n        } else {\n          mapper = createTypeMapper(typeParameters, typeArguments);\n          members = createInstantiatedSymbolTable(\n            source.declaredProperties,\n            mapper,\n            /*mappingThisOnly*/\n            typeParameters.length === 1\n          );\n          callSignatures = instantiateSignatures(source.declaredCallSignatures, mapper);\n          constructSignatures = instantiateSignatures(source.declaredConstructSignatures, mapper);\n          indexInfos = instantiateIndexInfos(source.declaredIndexInfos, mapper);\n        }\n        const baseTypes = getBaseTypes(source);\n        if (baseTypes.length) {\n          if (source.symbol && members === getMembersOfSymbol(source.symbol)) {\n            members = createSymbolTable(source.declaredProperties);\n          }\n          setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos);\n          const thisArgument = lastOrUndefined(typeArguments);\n          for (const baseType of baseTypes) {\n            const instantiatedBaseType = thisArgument ? getTypeWithThisArgument(instantiateType(baseType, mapper), thisArgument) : baseType;\n            addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType));\n            callSignatures = concatenate(callSignatures, getSignaturesOfType(\n              instantiatedBaseType,\n              0\n              /* Call */\n            ));\n            constructSignatures = concatenate(constructSignatures, getSignaturesOfType(\n              instantiatedBaseType,\n              1\n              /* Construct */\n            ));\n            const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo(\n              stringType,\n              anyType,\n              /*isReadonly*/\n              false\n            )];\n            indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType)));\n          }\n        }\n        setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos);\n      }\n      function resolveClassOrInterfaceMembers(type) {\n        resolveObjectTypeMembers(type, resolveDeclaredMembers(type), emptyArray, emptyArray);\n      }\n      function resolveTypeReferenceMembers(type) {\n        const source = resolveDeclaredMembers(type.target);\n        const typeParameters = concatenate(source.typeParameters, [source.thisType]);\n        const typeArguments = getTypeArguments(type);\n        const paddedTypeArguments = typeArguments.length === typeParameters.length ? typeArguments : concatenate(typeArguments, [type]);\n        resolveObjectTypeMembers(type, source, typeParameters, paddedTypeArguments);\n      }\n      function createSignature(declaration, typeParameters, thisParameter, parameters, resolvedReturnType, resolvedTypePredicate, minArgumentCount, flags) {\n        const sig = new Signature15(checker, flags);\n        sig.declaration = declaration;\n        sig.typeParameters = typeParameters;\n        sig.parameters = parameters;\n        sig.thisParameter = thisParameter;\n        sig.resolvedReturnType = resolvedReturnType;\n        sig.resolvedTypePredicate = resolvedTypePredicate;\n        sig.minArgumentCount = minArgumentCount;\n        sig.resolvedMinArgumentCount = void 0;\n        sig.target = void 0;\n        sig.mapper = void 0;\n        sig.compositeSignatures = void 0;\n        sig.compositeKind = void 0;\n        return sig;\n      }\n      function cloneSignature(sig) {\n        const result = createSignature(\n          sig.declaration,\n          sig.typeParameters,\n          sig.thisParameter,\n          sig.parameters,\n          /*resolvedReturnType*/\n          void 0,\n          /*resolvedTypePredicate*/\n          void 0,\n          sig.minArgumentCount,\n          sig.flags & 39\n          /* PropagatingFlags */\n        );\n        result.target = sig.target;\n        result.mapper = sig.mapper;\n        result.compositeSignatures = sig.compositeSignatures;\n        result.compositeKind = sig.compositeKind;\n        return result;\n      }\n      function createUnionSignature(signature, unionSignatures) {\n        const result = cloneSignature(signature);\n        result.compositeSignatures = unionSignatures;\n        result.compositeKind = 1048576;\n        result.target = void 0;\n        result.mapper = void 0;\n        return result;\n      }\n      function getOptionalCallSignature(signature, callChainFlags) {\n        if ((signature.flags & 24) === callChainFlags) {\n          return signature;\n        }\n        if (!signature.optionalCallSignatureCache) {\n          signature.optionalCallSignatureCache = {};\n        }\n        const key = callChainFlags === 8 ? \"inner\" : \"outer\";\n        return signature.optionalCallSignatureCache[key] || (signature.optionalCallSignatureCache[key] = createOptionalCallSignature(signature, callChainFlags));\n      }\n      function createOptionalCallSignature(signature, callChainFlags) {\n        Debug2.assert(\n          callChainFlags === 8 || callChainFlags === 16,\n          \"An optional call signature can either be for an inner call chain or an outer call chain, but not both.\"\n        );\n        const result = cloneSignature(signature);\n        result.flags |= callChainFlags;\n        return result;\n      }\n      function getExpandedParameters(sig, skipUnionExpanding) {\n        if (signatureHasRestParameter(sig)) {\n          const restIndex = sig.parameters.length - 1;\n          const restType = getTypeOfSymbol(sig.parameters[restIndex]);\n          if (isTupleType(restType)) {\n            return [expandSignatureParametersWithTupleMembers(restType, restIndex)];\n          } else if (!skipUnionExpanding && restType.flags & 1048576 && every(restType.types, isTupleType)) {\n            return map(restType.types, (t) => expandSignatureParametersWithTupleMembers(t, restIndex));\n          }\n        }\n        return [sig.parameters];\n        function expandSignatureParametersWithTupleMembers(restType, restIndex) {\n          const elementTypes = getTypeArguments(restType);\n          const associatedNames = restType.target.labeledElementDeclarations;\n          const restParams = map(elementTypes, (t, i) => {\n            const tupleLabelName = !!associatedNames && getTupleElementLabel(associatedNames[i]);\n            const name = tupleLabelName || getParameterNameAtPosition(sig, restIndex + i, restType);\n            const flags = restType.target.elementFlags[i];\n            const checkFlags = flags & 12 ? 32768 : flags & 2 ? 16384 : 0;\n            const symbol = createSymbol(1, name, checkFlags);\n            symbol.links.type = flags & 4 ? createArrayType(t) : t;\n            return symbol;\n          });\n          return concatenate(sig.parameters.slice(0, restIndex), restParams);\n        }\n      }\n      function getDefaultConstructSignatures(classType) {\n        const baseConstructorType = getBaseConstructorTypeOfClass(classType);\n        const baseSignatures = getSignaturesOfType(\n          baseConstructorType,\n          1\n          /* Construct */\n        );\n        const declaration = getClassLikeDeclarationOfSymbol(classType.symbol);\n        const isAbstract = !!declaration && hasSyntacticModifier(\n          declaration,\n          256\n          /* Abstract */\n        );\n        if (baseSignatures.length === 0) {\n          return [createSignature(\n            void 0,\n            classType.localTypeParameters,\n            void 0,\n            emptyArray,\n            classType,\n            /*resolvedTypePredicate*/\n            void 0,\n            0,\n            isAbstract ? 4 : 0\n            /* None */\n          )];\n        }\n        const baseTypeNode = getBaseTypeNodeOfClass(classType);\n        const isJavaScript = isInJSFile(baseTypeNode);\n        const typeArguments = typeArgumentsFromTypeReferenceNode(baseTypeNode);\n        const typeArgCount = length(typeArguments);\n        const result = [];\n        for (const baseSig of baseSignatures) {\n          const minTypeArgumentCount = getMinTypeArgumentCount(baseSig.typeParameters);\n          const typeParamCount = length(baseSig.typeParameters);\n          if (isJavaScript || typeArgCount >= minTypeArgumentCount && typeArgCount <= typeParamCount) {\n            const sig = typeParamCount ? createSignatureInstantiation(baseSig, fillMissingTypeArguments(typeArguments, baseSig.typeParameters, minTypeArgumentCount, isJavaScript)) : cloneSignature(baseSig);\n            sig.typeParameters = classType.localTypeParameters;\n            sig.resolvedReturnType = classType;\n            sig.flags = isAbstract ? sig.flags | 4 : sig.flags & ~4;\n            result.push(sig);\n          }\n        }\n        return result;\n      }\n      function findMatchingSignature(signatureList, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes) {\n        for (const s of signatureList) {\n          if (compareSignaturesIdentical(s, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes, partialMatch ? compareTypesSubtypeOf : compareTypesIdentical)) {\n            return s;\n          }\n        }\n      }\n      function findMatchingSignatures(signatureLists, signature, listIndex) {\n        if (signature.typeParameters) {\n          if (listIndex > 0) {\n            return void 0;\n          }\n          for (let i = 1; i < signatureLists.length; i++) {\n            if (!findMatchingSignature(\n              signatureLists[i],\n              signature,\n              /*partialMatch*/\n              false,\n              /*ignoreThisTypes*/\n              false,\n              /*ignoreReturnTypes*/\n              false\n            )) {\n              return void 0;\n            }\n          }\n          return [signature];\n        }\n        let result;\n        for (let i = 0; i < signatureLists.length; i++) {\n          const match = i === listIndex ? signature : findMatchingSignature(\n            signatureLists[i],\n            signature,\n            /*partialMatch*/\n            true,\n            /*ignoreThisTypes*/\n            false,\n            /*ignoreReturnTypes*/\n            true\n          );\n          if (!match) {\n            return void 0;\n          }\n          result = appendIfUnique(result, match);\n        }\n        return result;\n      }\n      function getUnionSignatures(signatureLists) {\n        let result;\n        let indexWithLengthOverOne;\n        for (let i = 0; i < signatureLists.length; i++) {\n          if (signatureLists[i].length === 0)\n            return emptyArray;\n          if (signatureLists[i].length > 1) {\n            indexWithLengthOverOne = indexWithLengthOverOne === void 0 ? i : -1;\n          }\n          for (const signature of signatureLists[i]) {\n            if (!result || !findMatchingSignature(\n              result,\n              signature,\n              /*partialMatch*/\n              false,\n              /*ignoreThisTypes*/\n              false,\n              /*ignoreReturnTypes*/\n              true\n            )) {\n              const unionSignatures = findMatchingSignatures(signatureLists, signature, i);\n              if (unionSignatures) {\n                let s = signature;\n                if (unionSignatures.length > 1) {\n                  let thisParameter = signature.thisParameter;\n                  const firstThisParameterOfUnionSignatures = forEach(unionSignatures, (sig) => sig.thisParameter);\n                  if (firstThisParameterOfUnionSignatures) {\n                    const thisType = getIntersectionType(mapDefined(unionSignatures, (sig) => sig.thisParameter && getTypeOfSymbol(sig.thisParameter)));\n                    thisParameter = createSymbolWithType(firstThisParameterOfUnionSignatures, thisType);\n                  }\n                  s = createUnionSignature(signature, unionSignatures);\n                  s.thisParameter = thisParameter;\n                }\n                (result || (result = [])).push(s);\n              }\n            }\n          }\n        }\n        if (!length(result) && indexWithLengthOverOne !== -1) {\n          const masterList = signatureLists[indexWithLengthOverOne !== void 0 ? indexWithLengthOverOne : 0];\n          let results = masterList.slice();\n          for (const signatures of signatureLists) {\n            if (signatures !== masterList) {\n              const signature = signatures[0];\n              Debug2.assert(!!signature, \"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass\");\n              results = !!signature.typeParameters && some(results, (s) => !!s.typeParameters && !compareTypeParametersIdentical(signature.typeParameters, s.typeParameters)) ? void 0 : map(results, (sig) => combineSignaturesOfUnionMembers(sig, signature));\n              if (!results) {\n                break;\n              }\n            }\n          }\n          result = results;\n        }\n        return result || emptyArray;\n      }\n      function compareTypeParametersIdentical(sourceParams, targetParams) {\n        if (length(sourceParams) !== length(targetParams)) {\n          return false;\n        }\n        if (!sourceParams || !targetParams) {\n          return true;\n        }\n        const mapper = createTypeMapper(targetParams, sourceParams);\n        for (let i = 0; i < sourceParams.length; i++) {\n          const source = sourceParams[i];\n          const target = targetParams[i];\n          if (source === target)\n            continue;\n          if (!isTypeIdenticalTo(getConstraintFromTypeParameter(source) || unknownType, instantiateType(getConstraintFromTypeParameter(target) || unknownType, mapper)))\n            return false;\n        }\n        return true;\n      }\n      function combineUnionThisParam(left, right, mapper) {\n        if (!left || !right) {\n          return left || right;\n        }\n        const thisType = getIntersectionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]);\n        return createSymbolWithType(left, thisType);\n      }\n      function combineUnionParameters(left, right, mapper) {\n        const leftCount = getParameterCount(left);\n        const rightCount = getParameterCount(right);\n        const longest = leftCount >= rightCount ? left : right;\n        const shorter = longest === left ? right : left;\n        const longestCount = longest === left ? leftCount : rightCount;\n        const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right);\n        const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest);\n        const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0));\n        for (let i = 0; i < longestCount; i++) {\n          let longestParamType = tryGetTypeAtPosition(longest, i);\n          if (longest === right) {\n            longestParamType = instantiateType(longestParamType, mapper);\n          }\n          let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType;\n          if (shorter === right) {\n            shorterParamType = instantiateType(shorterParamType, mapper);\n          }\n          const unionParamType = getIntersectionType([longestParamType, shorterParamType]);\n          const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1;\n          const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter);\n          const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i);\n          const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i);\n          const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0;\n          const paramSymbol = createSymbol(\n            1 | (isOptional && !isRestParam ? 16777216 : 0),\n            paramName || `arg${i}`\n          );\n          paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType;\n          params[i] = paramSymbol;\n        }\n        if (needsExtraRestElement) {\n          const restParamSymbol = createSymbol(1, \"args\");\n          restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount));\n          if (shorter === right) {\n            restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper);\n          }\n          params[longestCount] = restParamSymbol;\n        }\n        return params;\n      }\n      function combineSignaturesOfUnionMembers(left, right) {\n        const typeParams = left.typeParameters || right.typeParameters;\n        let paramMapper;\n        if (left.typeParameters && right.typeParameters) {\n          paramMapper = createTypeMapper(right.typeParameters, left.typeParameters);\n        }\n        const declaration = left.declaration;\n        const params = combineUnionParameters(left, right, paramMapper);\n        const thisParam = combineUnionThisParam(left.thisParameter, right.thisParameter, paramMapper);\n        const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount);\n        const result = createSignature(\n          declaration,\n          typeParams,\n          thisParam,\n          params,\n          /*resolvedReturnType*/\n          void 0,\n          /*resolvedTypePredicate*/\n          void 0,\n          minArgCount,\n          (left.flags | right.flags) & 39\n          /* PropagatingFlags */\n        );\n        result.compositeKind = 1048576;\n        result.compositeSignatures = concatenate(left.compositeKind !== 2097152 && left.compositeSignatures || [left], [right]);\n        if (paramMapper) {\n          result.mapper = left.compositeKind !== 2097152 && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;\n        }\n        return result;\n      }\n      function getUnionIndexInfos(types) {\n        const sourceInfos = getIndexInfosOfType(types[0]);\n        if (sourceInfos) {\n          const result = [];\n          for (const info of sourceInfos) {\n            const indexType = info.keyType;\n            if (every(types, (t) => !!getIndexInfoOfType(t, indexType))) {\n              result.push(createIndexInfo(\n                indexType,\n                getUnionType(map(types, (t) => getIndexTypeOfType(t, indexType))),\n                some(types, (t) => getIndexInfoOfType(t, indexType).isReadonly)\n              ));\n            }\n          }\n          return result;\n        }\n        return emptyArray;\n      }\n      function resolveUnionTypeMembers(type) {\n        const callSignatures = getUnionSignatures(map(type.types, (t) => t === globalFunctionType ? [unknownSignature] : getSignaturesOfType(\n          t,\n          0\n          /* Call */\n        )));\n        const constructSignatures = getUnionSignatures(map(type.types, (t) => getSignaturesOfType(\n          t,\n          1\n          /* Construct */\n        )));\n        const indexInfos = getUnionIndexInfos(type.types);\n        setStructuredTypeMembers(type, emptySymbols, callSignatures, constructSignatures, indexInfos);\n      }\n      function intersectTypes(type1, type2) {\n        return !type1 ? type2 : !type2 ? type1 : getIntersectionType([type1, type2]);\n      }\n      function findMixins(types) {\n        const constructorTypeCount = countWhere2(types, (t) => getSignaturesOfType(\n          t,\n          1\n          /* Construct */\n        ).length > 0);\n        const mixinFlags = map(types, isMixinConstructorType);\n        if (constructorTypeCount > 0 && constructorTypeCount === countWhere2(mixinFlags, (b) => b)) {\n          const firstMixinIndex = mixinFlags.indexOf(\n            /*searchElement*/\n            true\n          );\n          mixinFlags[firstMixinIndex] = false;\n        }\n        return mixinFlags;\n      }\n      function includeMixinType(type, types, mixinFlags, index) {\n        const mixedTypes = [];\n        for (let i = 0; i < types.length; i++) {\n          if (i === index) {\n            mixedTypes.push(type);\n          } else if (mixinFlags[i]) {\n            mixedTypes.push(getReturnTypeOfSignature(getSignaturesOfType(\n              types[i],\n              1\n              /* Construct */\n            )[0]));\n          }\n        }\n        return getIntersectionType(mixedTypes);\n      }\n      function resolveIntersectionTypeMembers(type) {\n        let callSignatures;\n        let constructSignatures;\n        let indexInfos;\n        const types = type.types;\n        const mixinFlags = findMixins(types);\n        const mixinCount = countWhere2(mixinFlags, (b) => b);\n        for (let i = 0; i < types.length; i++) {\n          const t = type.types[i];\n          if (!mixinFlags[i]) {\n            let signatures = getSignaturesOfType(\n              t,\n              1\n              /* Construct */\n            );\n            if (signatures.length && mixinCount > 0) {\n              signatures = map(signatures, (s) => {\n                const clone2 = cloneSignature(s);\n                clone2.resolvedReturnType = includeMixinType(getReturnTypeOfSignature(s), types, mixinFlags, i);\n                return clone2;\n              });\n            }\n            constructSignatures = appendSignatures(constructSignatures, signatures);\n          }\n          callSignatures = appendSignatures(callSignatures, getSignaturesOfType(\n            t,\n            0\n            /* Call */\n          ));\n          indexInfos = reduceLeft(getIndexInfosOfType(t), (infos, newInfo) => appendIndexInfo(\n            infos,\n            newInfo,\n            /*union*/\n            false\n          ), indexInfos);\n        }\n        setStructuredTypeMembers(type, emptySymbols, callSignatures || emptyArray, constructSignatures || emptyArray, indexInfos || emptyArray);\n      }\n      function appendSignatures(signatures, newSignatures) {\n        for (const sig of newSignatures) {\n          if (!signatures || every(signatures, (s) => !compareSignaturesIdentical(\n            s,\n            sig,\n            /*partialMatch*/\n            false,\n            /*ignoreThisTypes*/\n            false,\n            /*ignoreReturnTypes*/\n            false,\n            compareTypesIdentical\n          ))) {\n            signatures = append(signatures, sig);\n          }\n        }\n        return signatures;\n      }\n      function appendIndexInfo(indexInfos, newInfo, union) {\n        if (indexInfos) {\n          for (let i = 0; i < indexInfos.length; i++) {\n            const info = indexInfos[i];\n            if (info.keyType === newInfo.keyType) {\n              indexInfos[i] = createIndexInfo(\n                info.keyType,\n                union ? getUnionType([info.type, newInfo.type]) : getIntersectionType([info.type, newInfo.type]),\n                union ? info.isReadonly || newInfo.isReadonly : info.isReadonly && newInfo.isReadonly\n              );\n              return indexInfos;\n            }\n          }\n        }\n        return append(indexInfos, newInfo);\n      }\n      function resolveAnonymousTypeMembers(type) {\n        if (type.target) {\n          setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray);\n          const members2 = createInstantiatedSymbolTable(\n            getPropertiesOfObjectType(type.target),\n            type.mapper,\n            /*mappingThisOnly*/\n            false\n          );\n          const callSignatures = instantiateSignatures(getSignaturesOfType(\n            type.target,\n            0\n            /* Call */\n          ), type.mapper);\n          const constructSignatures = instantiateSignatures(getSignaturesOfType(\n            type.target,\n            1\n            /* Construct */\n          ), type.mapper);\n          const indexInfos2 = instantiateIndexInfos(getIndexInfosOfType(type.target), type.mapper);\n          setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2);\n          return;\n        }\n        const symbol = getMergedSymbol(type.symbol);\n        if (symbol.flags & 2048) {\n          setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray);\n          const members2 = getMembersOfSymbol(symbol);\n          const callSignatures = getSignaturesOfSymbol(members2.get(\n            \"__call\"\n            /* Call */\n          ));\n          const constructSignatures = getSignaturesOfSymbol(members2.get(\n            \"__new\"\n            /* New */\n          ));\n          const indexInfos2 = getIndexInfosOfSymbol(symbol);\n          setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2);\n          return;\n        }\n        let members = emptySymbols;\n        let indexInfos;\n        if (symbol.exports) {\n          members = getExportsOfSymbol(symbol);\n          if (symbol === globalThisSymbol) {\n            const varsOnly = /* @__PURE__ */ new Map();\n            members.forEach((p) => {\n              var _a22;\n              if (!(p.flags & 418) && !(p.flags & 512 && ((_a22 = p.declarations) == null ? void 0 : _a22.length) && every(p.declarations, isAmbientModule))) {\n                varsOnly.set(p.escapedName, p);\n              }\n            });\n            members = varsOnly;\n          }\n        }\n        let baseConstructorIndexInfo;\n        setStructuredTypeMembers(type, members, emptyArray, emptyArray, emptyArray);\n        if (symbol.flags & 32) {\n          const classType = getDeclaredTypeOfClassOrInterface(symbol);\n          const baseConstructorType = getBaseConstructorTypeOfClass(classType);\n          if (baseConstructorType.flags & (524288 | 2097152 | 8650752)) {\n            members = createSymbolTable(getNamedOrIndexSignatureMembers(members));\n            addInheritedMembers(members, getPropertiesOfType(baseConstructorType));\n          } else if (baseConstructorType === anyType) {\n            baseConstructorIndexInfo = createIndexInfo(\n              stringType,\n              anyType,\n              /*isReadonly*/\n              false\n            );\n          }\n        }\n        const indexSymbol = getIndexSymbolFromSymbolTable(members);\n        if (indexSymbol) {\n          indexInfos = getIndexInfosOfIndexSymbol(indexSymbol);\n        } else {\n          if (baseConstructorIndexInfo) {\n            indexInfos = append(indexInfos, baseConstructorIndexInfo);\n          }\n          if (symbol.flags & 384 && (getDeclaredTypeOfSymbol(symbol).flags & 32 || some(type.properties, (prop) => !!(getTypeOfSymbol(prop).flags & 296)))) {\n            indexInfos = append(indexInfos, enumNumberIndexInfo);\n          }\n        }\n        setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray);\n        if (symbol.flags & (16 | 8192)) {\n          type.callSignatures = getSignaturesOfSymbol(symbol);\n        }\n        if (symbol.flags & 32) {\n          const classType = getDeclaredTypeOfClassOrInterface(symbol);\n          let constructSignatures = symbol.members ? getSignaturesOfSymbol(symbol.members.get(\n            \"__constructor\"\n            /* Constructor */\n          )) : emptyArray;\n          if (symbol.flags & 16) {\n            constructSignatures = addRange(constructSignatures.slice(), mapDefined(\n              type.callSignatures,\n              (sig) => isJSConstructor(sig.declaration) ? createSignature(\n                sig.declaration,\n                sig.typeParameters,\n                sig.thisParameter,\n                sig.parameters,\n                classType,\n                /*resolvedTypePredicate*/\n                void 0,\n                sig.minArgumentCount,\n                sig.flags & 39\n                /* PropagatingFlags */\n              ) : void 0\n            ));\n          }\n          if (!constructSignatures.length) {\n            constructSignatures = getDefaultConstructSignatures(classType);\n          }\n          type.constructSignatures = constructSignatures;\n        }\n      }\n      function replaceIndexedAccess(instantiable, type, replacement) {\n        return instantiateType(instantiable, createTypeMapper([type.indexType, type.objectType], [getNumberLiteralType(0), createTupleType([replacement])]));\n      }\n      function resolveReverseMappedTypeMembers(type) {\n        const indexInfo = getIndexInfoOfType(type.source, stringType);\n        const modifiers = getMappedTypeModifiers(type.mappedType);\n        const readonlyMask = modifiers & 1 ? false : true;\n        const optionalMask = modifiers & 4 ? 0 : 16777216;\n        const indexInfos = indexInfo ? [createIndexInfo(stringType, inferReverseMappedType(indexInfo.type, type.mappedType, type.constraintType), readonlyMask && indexInfo.isReadonly)] : emptyArray;\n        const members = createSymbolTable();\n        for (const prop of getPropertiesOfType(type.source)) {\n          const checkFlags = 8192 | (readonlyMask && isReadonlySymbol(prop) ? 8 : 0);\n          const inferredProp = createSymbol(4 | prop.flags & optionalMask, prop.escapedName, checkFlags);\n          inferredProp.declarations = prop.declarations;\n          inferredProp.links.nameType = getSymbolLinks(prop).nameType;\n          inferredProp.links.propertyType = getTypeOfSymbol(prop);\n          if (type.constraintType.type.flags & 8388608 && type.constraintType.type.objectType.flags & 262144 && type.constraintType.type.indexType.flags & 262144) {\n            const newTypeParam = type.constraintType.type.objectType;\n            const newMappedType = replaceIndexedAccess(type.mappedType, type.constraintType.type, newTypeParam);\n            inferredProp.links.mappedType = newMappedType;\n            inferredProp.links.constraintType = getIndexType(newTypeParam);\n          } else {\n            inferredProp.links.mappedType = type.mappedType;\n            inferredProp.links.constraintType = type.constraintType;\n          }\n          members.set(prop.escapedName, inferredProp);\n        }\n        setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos);\n      }\n      function getLowerBoundOfKeyType(type) {\n        if (type.flags & 4194304) {\n          const t = getApparentType(type.type);\n          return isGenericTupleType(t) ? getKnownKeysOfTupleType(t) : getIndexType(t);\n        }\n        if (type.flags & 16777216) {\n          if (type.root.isDistributive) {\n            const checkType = type.checkType;\n            const constraint = getLowerBoundOfKeyType(checkType);\n            if (constraint !== checkType) {\n              return getConditionalTypeInstantiation(type, prependTypeMapping(type.root.checkType, constraint, type.mapper));\n            }\n          }\n          return type;\n        }\n        if (type.flags & 1048576) {\n          return mapType(\n            type,\n            getLowerBoundOfKeyType,\n            /*noReductions*/\n            true\n          );\n        }\n        if (type.flags & 2097152) {\n          const types = type.types;\n          if (types.length === 2 && !!(types[0].flags & (4 | 8 | 64)) && types[1] === emptyTypeLiteralType) {\n            return type;\n          }\n          return getIntersectionType(sameMap(type.types, getLowerBoundOfKeyType));\n        }\n        return type;\n      }\n      function getIsLateCheckFlag(s) {\n        return getCheckFlags(s) & 4096;\n      }\n      function forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(type, include, stringsOnly, cb) {\n        for (const prop of getPropertiesOfType(type)) {\n          cb(getLiteralTypeFromProperty(prop, include));\n        }\n        if (type.flags & 1) {\n          cb(stringType);\n        } else {\n          for (const info of getIndexInfosOfType(type)) {\n            if (!stringsOnly || info.keyType.flags & (4 | 134217728)) {\n              cb(info.keyType);\n            }\n          }\n        }\n      }\n      function resolveMappedTypeMembers(type) {\n        const members = createSymbolTable();\n        let indexInfos;\n        setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray);\n        const typeParameter = getTypeParameterFromMappedType(type);\n        const constraintType = getConstraintTypeFromMappedType(type);\n        const nameType = getNameTypeFromMappedType(type.target || type);\n        const isFilteringMappedType = nameType && isTypeAssignableTo(nameType, typeParameter);\n        const templateType = getTemplateTypeFromMappedType(type.target || type);\n        const modifiersType = getApparentType(getModifiersTypeFromMappedType(type));\n        const templateModifiers = getMappedTypeModifiers(type);\n        const include = keyofStringsOnly ? 128 : 8576;\n        if (isMappedTypeWithKeyofConstraintDeclaration(type)) {\n          forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(modifiersType, include, keyofStringsOnly, addMemberForKeyType);\n        } else {\n          forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType);\n        }\n        setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray);\n        function addMemberForKeyType(keyType) {\n          const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType;\n          forEachType(propNameType, (t) => addMemberForKeyTypeWorker(keyType, t));\n        }\n        function addMemberForKeyTypeWorker(keyType, propNameType) {\n          if (isTypeUsableAsPropertyName(propNameType)) {\n            const propName = getPropertyNameFromType(propNameType);\n            const existingProp = members.get(propName);\n            if (existingProp) {\n              existingProp.links.nameType = getUnionType([existingProp.links.nameType, propNameType]);\n              existingProp.links.keyType = getUnionType([existingProp.links.keyType, keyType]);\n            } else {\n              const modifiersProp = isTypeUsableAsPropertyName(keyType) ? getPropertyOfType(modifiersType, getPropertyNameFromType(keyType)) : void 0;\n              const isOptional = !!(templateModifiers & 4 || !(templateModifiers & 8) && modifiersProp && modifiersProp.flags & 16777216);\n              const isReadonly = !!(templateModifiers & 1 || !(templateModifiers & 2) && modifiersProp && isReadonlySymbol(modifiersProp));\n              const stripOptional = strictNullChecks && !isOptional && modifiersProp && modifiersProp.flags & 16777216;\n              const lateFlag = modifiersProp ? getIsLateCheckFlag(modifiersProp) : 0;\n              const prop = createSymbol(\n                4 | (isOptional ? 16777216 : 0),\n                propName,\n                lateFlag | 262144 | (isReadonly ? 8 : 0) | (stripOptional ? 524288 : 0)\n              );\n              prop.links.mappedType = type;\n              prop.links.nameType = propNameType;\n              prop.links.keyType = keyType;\n              if (modifiersProp) {\n                prop.links.syntheticOrigin = modifiersProp;\n                prop.declarations = !nameType || isFilteringMappedType ? modifiersProp.declarations : void 0;\n              }\n              members.set(propName, prop);\n            }\n          } else if (isValidIndexKeyType(propNameType) || propNameType.flags & (1 | 32)) {\n            const indexKeyType = propNameType.flags & (1 | 4) ? stringType : propNameType.flags & (8 | 32) ? numberType : propNameType;\n            const propType = instantiateType(templateType, appendTypeMapping(type.mapper, typeParameter, keyType));\n            const indexInfo = createIndexInfo(indexKeyType, propType, !!(templateModifiers & 1));\n            indexInfos = appendIndexInfo(\n              indexInfos,\n              indexInfo,\n              /*union*/\n              true\n            );\n          }\n        }\n      }\n      function getTypeOfMappedSymbol(symbol) {\n        if (!symbol.links.type) {\n          const mappedType = symbol.links.mappedType;\n          if (!pushTypeResolution(\n            symbol,\n            0\n            /* Type */\n          )) {\n            mappedType.containsError = true;\n            return errorType;\n          }\n          const templateType = getTemplateTypeFromMappedType(mappedType.target || mappedType);\n          const mapper = appendTypeMapping(mappedType.mapper, getTypeParameterFromMappedType(mappedType), symbol.links.keyType);\n          const propType = instantiateType(templateType, mapper);\n          let type = strictNullChecks && symbol.flags & 16777216 && !maybeTypeOfKind(\n            propType,\n            32768 | 16384\n            /* Void */\n          ) ? getOptionalType(\n            propType,\n            /*isProperty*/\n            true\n          ) : symbol.links.checkFlags & 524288 ? removeMissingOrUndefinedType(propType) : propType;\n          if (!popTypeResolution()) {\n            error(currentNode, Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1, symbolToString(symbol), typeToString(mappedType));\n            type = errorType;\n          }\n          symbol.links.type = type;\n        }\n        return symbol.links.type;\n      }\n      function getTypeParameterFromMappedType(type) {\n        return type.typeParameter || (type.typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(type.declaration.typeParameter)));\n      }\n      function getConstraintTypeFromMappedType(type) {\n        return type.constraintType || (type.constraintType = getConstraintOfTypeParameter(getTypeParameterFromMappedType(type)) || errorType);\n      }\n      function getNameTypeFromMappedType(type) {\n        return type.declaration.nameType ? type.nameType || (type.nameType = instantiateType(getTypeFromTypeNode(type.declaration.nameType), type.mapper)) : void 0;\n      }\n      function getTemplateTypeFromMappedType(type) {\n        return type.templateType || (type.templateType = type.declaration.type ? instantiateType(addOptionality(\n          getTypeFromTypeNode(type.declaration.type),\n          /*isProperty*/\n          true,\n          !!(getMappedTypeModifiers(type) & 4)\n        ), type.mapper) : errorType);\n      }\n      function getConstraintDeclarationForMappedType(type) {\n        return getEffectiveConstraintOfTypeParameter(type.declaration.typeParameter);\n      }\n      function isMappedTypeWithKeyofConstraintDeclaration(type) {\n        const constraintDeclaration = getConstraintDeclarationForMappedType(type);\n        return constraintDeclaration.kind === 195 && constraintDeclaration.operator === 141;\n      }\n      function getModifiersTypeFromMappedType(type) {\n        if (!type.modifiersType) {\n          if (isMappedTypeWithKeyofConstraintDeclaration(type)) {\n            type.modifiersType = instantiateType(getTypeFromTypeNode(getConstraintDeclarationForMappedType(type).type), type.mapper);\n          } else {\n            const declaredType = getTypeFromMappedTypeNode(type.declaration);\n            const constraint = getConstraintTypeFromMappedType(declaredType);\n            const extendedConstraint = constraint && constraint.flags & 262144 ? getConstraintOfTypeParameter(constraint) : constraint;\n            type.modifiersType = extendedConstraint && extendedConstraint.flags & 4194304 ? instantiateType(extendedConstraint.type, type.mapper) : unknownType;\n          }\n        }\n        return type.modifiersType;\n      }\n      function getMappedTypeModifiers(type) {\n        const declaration = type.declaration;\n        return (declaration.readonlyToken ? declaration.readonlyToken.kind === 40 ? 2 : 1 : 0) | (declaration.questionToken ? declaration.questionToken.kind === 40 ? 8 : 4 : 0);\n      }\n      function getMappedTypeOptionality(type) {\n        const modifiers = getMappedTypeModifiers(type);\n        return modifiers & 8 ? -1 : modifiers & 4 ? 1 : 0;\n      }\n      function getCombinedMappedTypeOptionality(type) {\n        const optionality = getMappedTypeOptionality(type);\n        const modifiersType = getModifiersTypeFromMappedType(type);\n        return optionality || (isGenericMappedType(modifiersType) ? getMappedTypeOptionality(modifiersType) : 0);\n      }\n      function isPartialMappedType(type) {\n        return !!(getObjectFlags(type) & 32 && getMappedTypeModifiers(type) & 4);\n      }\n      function isGenericMappedType(type) {\n        if (getObjectFlags(type) & 32) {\n          const constraint = getConstraintTypeFromMappedType(type);\n          if (isGenericIndexType(constraint)) {\n            return true;\n          }\n          const nameType = getNameTypeFromMappedType(type);\n          if (nameType && isGenericIndexType(instantiateType(nameType, makeUnaryTypeMapper(getTypeParameterFromMappedType(type), constraint)))) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function resolveStructuredTypeMembers(type) {\n        if (!type.members) {\n          if (type.flags & 524288) {\n            if (type.objectFlags & 4) {\n              resolveTypeReferenceMembers(type);\n            } else if (type.objectFlags & 3) {\n              resolveClassOrInterfaceMembers(type);\n            } else if (type.objectFlags & 1024) {\n              resolveReverseMappedTypeMembers(type);\n            } else if (type.objectFlags & 16) {\n              resolveAnonymousTypeMembers(type);\n            } else if (type.objectFlags & 32) {\n              resolveMappedTypeMembers(type);\n            } else {\n              Debug2.fail(\"Unhandled object type \" + Debug2.formatObjectFlags(type.objectFlags));\n            }\n          } else if (type.flags & 1048576) {\n            resolveUnionTypeMembers(type);\n          } else if (type.flags & 2097152) {\n            resolveIntersectionTypeMembers(type);\n          } else {\n            Debug2.fail(\"Unhandled type \" + Debug2.formatTypeFlags(type.flags));\n          }\n        }\n        return type;\n      }\n      function getPropertiesOfObjectType(type) {\n        if (type.flags & 524288) {\n          return resolveStructuredTypeMembers(type).properties;\n        }\n        return emptyArray;\n      }\n      function getPropertyOfObjectType(type, name) {\n        if (type.flags & 524288) {\n          const resolved = resolveStructuredTypeMembers(type);\n          const symbol = resolved.members.get(name);\n          if (symbol && symbolIsValue(symbol)) {\n            return symbol;\n          }\n        }\n      }\n      function getPropertiesOfUnionOrIntersectionType(type) {\n        if (!type.resolvedProperties) {\n          const members = createSymbolTable();\n          for (const current of type.types) {\n            for (const prop of getPropertiesOfType(current)) {\n              if (!members.has(prop.escapedName)) {\n                const combinedProp = getPropertyOfUnionOrIntersectionType(type, prop.escapedName);\n                if (combinedProp) {\n                  members.set(prop.escapedName, combinedProp);\n                }\n              }\n            }\n            if (type.flags & 1048576 && getIndexInfosOfType(current).length === 0) {\n              break;\n            }\n          }\n          type.resolvedProperties = getNamedMembers(members);\n        }\n        return type.resolvedProperties;\n      }\n      function getPropertiesOfType(type) {\n        type = getReducedApparentType(type);\n        return type.flags & 3145728 ? getPropertiesOfUnionOrIntersectionType(type) : getPropertiesOfObjectType(type);\n      }\n      function forEachPropertyOfType(type, action) {\n        type = getReducedApparentType(type);\n        if (type.flags & 3670016) {\n          resolveStructuredTypeMembers(type).members.forEach((symbol, escapedName) => {\n            if (isNamedMember(symbol, escapedName)) {\n              action(symbol, escapedName);\n            }\n          });\n        }\n      }\n      function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) {\n        const list = obj.properties;\n        return list.some((property) => {\n          const nameType = property.name && getLiteralTypeFromPropertyName(property.name);\n          const name = nameType && isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0;\n          const expected = name === void 0 ? void 0 : getTypeOfPropertyOfType(contextualType, name);\n          return !!expected && isLiteralType(expected) && !isTypeAssignableTo(getTypeOfNode(property), expected);\n        });\n      }\n      function getAllPossiblePropertiesOfTypes(types) {\n        const unionType = getUnionType(types);\n        if (!(unionType.flags & 1048576)) {\n          return getAugmentedPropertiesOfType(unionType);\n        }\n        const props = createSymbolTable();\n        for (const memberType of types) {\n          for (const { escapedName } of getAugmentedPropertiesOfType(memberType)) {\n            if (!props.has(escapedName)) {\n              const prop = createUnionOrIntersectionProperty(unionType, escapedName);\n              if (prop)\n                props.set(escapedName, prop);\n            }\n          }\n        }\n        return arrayFrom(props.values());\n      }\n      function getConstraintOfType(type) {\n        return type.flags & 262144 ? getConstraintOfTypeParameter(type) : type.flags & 8388608 ? getConstraintOfIndexedAccess(type) : type.flags & 16777216 ? getConstraintOfConditionalType(type) : getBaseConstraintOfType(type);\n      }\n      function getConstraintOfTypeParameter(typeParameter) {\n        return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : void 0;\n      }\n      function isConstTypeVariable(type) {\n        var _a22;\n        return !!(type.flags & 262144 && some((_a22 = type.symbol) == null ? void 0 : _a22.declarations, (d) => hasSyntacticModifier(\n          d,\n          2048\n          /* Const */\n        )) || isGenericTupleType(type) && findIndex(getTypeArguments(type), (t, i) => !!(type.target.elementFlags[i] & 8) && isConstTypeVariable(t)) >= 0 || type.flags & 8388608 && isConstTypeVariable(type.objectType));\n      }\n      function getConstraintOfIndexedAccess(type) {\n        return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : void 0;\n      }\n      function getSimplifiedTypeOrConstraint(type) {\n        const simplified = getSimplifiedType(\n          type,\n          /*writing*/\n          false\n        );\n        return simplified !== type ? simplified : getConstraintOfType(type);\n      }\n      function getConstraintFromIndexedAccess(type) {\n        if (isMappedTypeGenericIndexedAccess(type)) {\n          return substituteIndexedMappedType(type.objectType, type.indexType);\n        }\n        const indexConstraint = getSimplifiedTypeOrConstraint(type.indexType);\n        if (indexConstraint && indexConstraint !== type.indexType) {\n          const indexedAccess = getIndexedAccessTypeOrUndefined(type.objectType, indexConstraint, type.accessFlags);\n          if (indexedAccess) {\n            return indexedAccess;\n          }\n        }\n        const objectConstraint = getSimplifiedTypeOrConstraint(type.objectType);\n        if (objectConstraint && objectConstraint !== type.objectType) {\n          return getIndexedAccessTypeOrUndefined(objectConstraint, type.indexType, type.accessFlags);\n        }\n        return void 0;\n      }\n      function getDefaultConstraintOfConditionalType(type) {\n        if (!type.resolvedDefaultConstraint) {\n          const trueConstraint = getInferredTrueTypeFromConditionalType(type);\n          const falseConstraint = getFalseTypeFromConditionalType(type);\n          type.resolvedDefaultConstraint = isTypeAny(trueConstraint) ? falseConstraint : isTypeAny(falseConstraint) ? trueConstraint : getUnionType([trueConstraint, falseConstraint]);\n        }\n        return type.resolvedDefaultConstraint;\n      }\n      function getConstraintOfDistributiveConditionalType(type) {\n        if (type.root.isDistributive && type.restrictiveInstantiation !== type) {\n          const simplified = getSimplifiedType(\n            type.checkType,\n            /*writing*/\n            false\n          );\n          const constraint = simplified === type.checkType ? getConstraintOfType(simplified) : simplified;\n          if (constraint && constraint !== type.checkType) {\n            const instantiated = getConditionalTypeInstantiation(type, prependTypeMapping(type.root.checkType, constraint, type.mapper));\n            if (!(instantiated.flags & 131072)) {\n              return instantiated;\n            }\n          }\n        }\n        return void 0;\n      }\n      function getConstraintFromConditionalType(type) {\n        return getConstraintOfDistributiveConditionalType(type) || getDefaultConstraintOfConditionalType(type);\n      }\n      function getConstraintOfConditionalType(type) {\n        return hasNonCircularBaseConstraint(type) ? getConstraintFromConditionalType(type) : void 0;\n      }\n      function getEffectiveConstraintOfIntersection(types, targetIsUnion) {\n        let constraints;\n        let hasDisjointDomainType = false;\n        for (const t of types) {\n          if (t.flags & 465829888) {\n            let constraint = getConstraintOfType(t);\n            while (constraint && constraint.flags & (262144 | 4194304 | 16777216)) {\n              constraint = getConstraintOfType(constraint);\n            }\n            if (constraint) {\n              constraints = append(constraints, constraint);\n              if (targetIsUnion) {\n                constraints = append(constraints, t);\n              }\n            }\n          } else if (t.flags & 469892092 || isEmptyAnonymousObjectType(t)) {\n            hasDisjointDomainType = true;\n          }\n        }\n        if (constraints && (targetIsUnion || hasDisjointDomainType)) {\n          if (hasDisjointDomainType) {\n            for (const t of types) {\n              if (t.flags & 469892092 || isEmptyAnonymousObjectType(t)) {\n                constraints = append(constraints, t);\n              }\n            }\n          }\n          return getNormalizedType(\n            getIntersectionType(constraints),\n            /*writing*/\n            false\n          );\n        }\n        return void 0;\n      }\n      function getBaseConstraintOfType(type) {\n        if (type.flags & (58982400 | 3145728 | 134217728 | 268435456)) {\n          const constraint = getResolvedBaseConstraint(type);\n          return constraint !== noConstraintType && constraint !== circularConstraintType ? constraint : void 0;\n        }\n        return type.flags & 4194304 ? keyofConstraintType : void 0;\n      }\n      function getBaseConstraintOrType(type) {\n        return getBaseConstraintOfType(type) || type;\n      }\n      function hasNonCircularBaseConstraint(type) {\n        return getResolvedBaseConstraint(type) !== circularConstraintType;\n      }\n      function getResolvedBaseConstraint(type) {\n        if (type.resolvedBaseConstraint) {\n          return type.resolvedBaseConstraint;\n        }\n        const stack = [];\n        return type.resolvedBaseConstraint = getTypeWithThisArgument(getImmediateBaseConstraint(type), type);\n        function getImmediateBaseConstraint(t) {\n          if (!t.immediateBaseConstraint) {\n            if (!pushTypeResolution(\n              t,\n              4\n              /* ImmediateBaseConstraint */\n            )) {\n              return circularConstraintType;\n            }\n            let result;\n            const identity22 = getRecursionIdentity(t);\n            if (stack.length < 10 || stack.length < 50 && !contains(stack, identity22)) {\n              stack.push(identity22);\n              result = computeBaseConstraint(getSimplifiedType(\n                t,\n                /*writing*/\n                false\n              ));\n              stack.pop();\n            }\n            if (!popTypeResolution()) {\n              if (t.flags & 262144) {\n                const errorNode = getConstraintDeclaration(t);\n                if (errorNode) {\n                  const diagnostic = error(errorNode, Diagnostics.Type_parameter_0_has_a_circular_constraint, typeToString(t));\n                  if (currentNode && !isNodeDescendantOf(errorNode, currentNode) && !isNodeDescendantOf(currentNode, errorNode)) {\n                    addRelatedInfo(diagnostic, createDiagnosticForNode(currentNode, Diagnostics.Circularity_originates_in_type_at_this_location));\n                  }\n                }\n              }\n              result = circularConstraintType;\n            }\n            t.immediateBaseConstraint = result || noConstraintType;\n          }\n          return t.immediateBaseConstraint;\n        }\n        function getBaseConstraint(t) {\n          const c = getImmediateBaseConstraint(t);\n          return c !== noConstraintType && c !== circularConstraintType ? c : void 0;\n        }\n        function computeBaseConstraint(t) {\n          if (t.flags & 262144) {\n            const constraint = getConstraintFromTypeParameter(t);\n            return t.isThisType || !constraint ? constraint : getBaseConstraint(constraint);\n          }\n          if (t.flags & 3145728) {\n            const types = t.types;\n            const baseTypes = [];\n            let different = false;\n            for (const type2 of types) {\n              const baseType = getBaseConstraint(type2);\n              if (baseType) {\n                if (baseType !== type2) {\n                  different = true;\n                }\n                baseTypes.push(baseType);\n              } else {\n                different = true;\n              }\n            }\n            if (!different) {\n              return t;\n            }\n            return t.flags & 1048576 && baseTypes.length === types.length ? getUnionType(baseTypes) : t.flags & 2097152 && baseTypes.length ? getIntersectionType(baseTypes) : void 0;\n          }\n          if (t.flags & 4194304) {\n            return keyofConstraintType;\n          }\n          if (t.flags & 134217728) {\n            const types = t.types;\n            const constraints = mapDefined(types, getBaseConstraint);\n            return constraints.length === types.length ? getTemplateLiteralType(t.texts, constraints) : stringType;\n          }\n          if (t.flags & 268435456) {\n            const constraint = getBaseConstraint(t.type);\n            return constraint && constraint !== t.type ? getStringMappingType(t.symbol, constraint) : stringType;\n          }\n          if (t.flags & 8388608) {\n            if (isMappedTypeGenericIndexedAccess(t)) {\n              return getBaseConstraint(substituteIndexedMappedType(t.objectType, t.indexType));\n            }\n            const baseObjectType = getBaseConstraint(t.objectType);\n            const baseIndexType = getBaseConstraint(t.indexType);\n            const baseIndexedAccess = baseObjectType && baseIndexType && getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, t.accessFlags);\n            return baseIndexedAccess && getBaseConstraint(baseIndexedAccess);\n          }\n          if (t.flags & 16777216) {\n            const constraint = getConstraintFromConditionalType(t);\n            return constraint && getBaseConstraint(constraint);\n          }\n          if (t.flags & 33554432) {\n            return getBaseConstraint(getSubstitutionIntersection(t));\n          }\n          return t;\n        }\n      }\n      function getApparentTypeOfIntersectionType(type) {\n        return type.resolvedApparentType || (type.resolvedApparentType = getTypeWithThisArgument(\n          type,\n          type,\n          /*apparentType*/\n          true\n        ));\n      }\n      function getResolvedTypeParameterDefault(typeParameter) {\n        if (!typeParameter.default) {\n          if (typeParameter.target) {\n            const targetDefault = getResolvedTypeParameterDefault(typeParameter.target);\n            typeParameter.default = targetDefault ? instantiateType(targetDefault, typeParameter.mapper) : noConstraintType;\n          } else {\n            typeParameter.default = resolvingDefaultType;\n            const defaultDeclaration = typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default);\n            const defaultType = defaultDeclaration ? getTypeFromTypeNode(defaultDeclaration) : noConstraintType;\n            if (typeParameter.default === resolvingDefaultType) {\n              typeParameter.default = defaultType;\n            }\n          }\n        } else if (typeParameter.default === resolvingDefaultType) {\n          typeParameter.default = circularConstraintType;\n        }\n        return typeParameter.default;\n      }\n      function getDefaultFromTypeParameter(typeParameter) {\n        const defaultType = getResolvedTypeParameterDefault(typeParameter);\n        return defaultType !== noConstraintType && defaultType !== circularConstraintType ? defaultType : void 0;\n      }\n      function hasNonCircularTypeParameterDefault(typeParameter) {\n        return getResolvedTypeParameterDefault(typeParameter) !== circularConstraintType;\n      }\n      function hasTypeParameterDefault(typeParameter) {\n        return !!(typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default));\n      }\n      function getApparentTypeOfMappedType(type) {\n        return type.resolvedApparentType || (type.resolvedApparentType = getResolvedApparentTypeOfMappedType(type));\n      }\n      function getResolvedApparentTypeOfMappedType(type) {\n        const typeVariable = getHomomorphicTypeVariable(type);\n        if (typeVariable && !type.declaration.nameType) {\n          const constraint = getConstraintOfTypeParameter(typeVariable);\n          if (constraint && isArrayOrTupleType(constraint)) {\n            return instantiateType(type, prependTypeMapping(typeVariable, constraint, type.mapper));\n          }\n        }\n        return type;\n      }\n      function isMappedTypeGenericIndexedAccess(type) {\n        let objectType;\n        return !!(type.flags & 8388608 && getObjectFlags(objectType = type.objectType) & 32 && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8) && !objectType.declaration.nameType);\n      }\n      function getApparentType(type) {\n        const t = !(type.flags & 465829888) ? type : getBaseConstraintOfType(type) || unknownType;\n        return getObjectFlags(t) & 32 ? getApparentTypeOfMappedType(t) : t.flags & 2097152 ? getApparentTypeOfIntersectionType(t) : t.flags & 402653316 ? globalStringType : t.flags & 296 ? globalNumberType : t.flags & 2112 ? getGlobalBigIntType() : t.flags & 528 ? globalBooleanType : t.flags & 12288 ? getGlobalESSymbolType() : t.flags & 67108864 ? emptyObjectType : t.flags & 4194304 ? keyofConstraintType : t.flags & 2 && !strictNullChecks ? emptyObjectType : t;\n      }\n      function getReducedApparentType(type) {\n        return getReducedType(getApparentType(getReducedType(type)));\n      }\n      function createUnionOrIntersectionProperty(containingType, name, skipObjectFunctionPropertyAugment) {\n        var _a22, _b3, _c;\n        let singleProp;\n        let propSet;\n        let indexTypes;\n        const isUnion = containingType.flags & 1048576;\n        let optionalFlag;\n        let syntheticFlag = 4;\n        let checkFlags = isUnion ? 0 : 8;\n        let mergedInstantiations = false;\n        for (const current of containingType.types) {\n          const type = getApparentType(current);\n          if (!(isErrorType(type) || type.flags & 131072)) {\n            const prop = getPropertyOfType(type, name, skipObjectFunctionPropertyAugment);\n            const modifiers = prop ? getDeclarationModifierFlagsFromSymbol(prop) : 0;\n            if (prop) {\n              if (prop.flags & 106500) {\n                optionalFlag != null ? optionalFlag : optionalFlag = isUnion ? 0 : 16777216;\n                if (isUnion) {\n                  optionalFlag |= prop.flags & 16777216;\n                } else {\n                  optionalFlag &= prop.flags;\n                }\n              }\n              if (!singleProp) {\n                singleProp = prop;\n              } else if (prop !== singleProp) {\n                const isInstantiation = (getTargetSymbol(prop) || prop) === (getTargetSymbol(singleProp) || singleProp);\n                if (isInstantiation && compareProperties2(\n                  singleProp,\n                  prop,\n                  (a, b) => a === b ? -1 : 0\n                  /* False */\n                ) === -1) {\n                  mergedInstantiations = !!singleProp.parent && !!length(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(singleProp.parent));\n                } else {\n                  if (!propSet) {\n                    propSet = /* @__PURE__ */ new Map();\n                    propSet.set(getSymbolId(singleProp), singleProp);\n                  }\n                  const id = getSymbolId(prop);\n                  if (!propSet.has(id)) {\n                    propSet.set(id, prop);\n                  }\n                }\n              }\n              if (isUnion && isReadonlySymbol(prop)) {\n                checkFlags |= 8;\n              } else if (!isUnion && !isReadonlySymbol(prop)) {\n                checkFlags &= ~8;\n              }\n              checkFlags |= (!(modifiers & 24) ? 256 : 0) | (modifiers & 16 ? 512 : 0) | (modifiers & 8 ? 1024 : 0) | (modifiers & 32 ? 2048 : 0);\n              if (!isPrototypeProperty(prop)) {\n                syntheticFlag = 2;\n              }\n            } else if (isUnion) {\n              const indexInfo = !isLateBoundName(name) && getApplicableIndexInfoForName(type, name);\n              if (indexInfo) {\n                checkFlags |= 32 | (indexInfo.isReadonly ? 8 : 0);\n                indexTypes = append(indexTypes, isTupleType(type) ? getRestTypeOfTupleType(type) || undefinedType : indexInfo.type);\n              } else if (isObjectLiteralType2(type) && !(getObjectFlags(type) & 2097152)) {\n                checkFlags |= 32;\n                indexTypes = append(indexTypes, undefinedType);\n              } else {\n                checkFlags |= 16;\n              }\n            }\n          }\n        }\n        if (!singleProp || isUnion && (propSet || checkFlags & 48) && checkFlags & (1024 | 512) && !(propSet && getCommonDeclarationsOfSymbols(propSet.values()))) {\n          return void 0;\n        }\n        if (!propSet && !(checkFlags & 16) && !indexTypes) {\n          if (mergedInstantiations) {\n            const links = (_a22 = tryCast(singleProp, isTransientSymbol)) == null ? void 0 : _a22.links;\n            const clone2 = createSymbolWithType(singleProp, links == null ? void 0 : links.type);\n            clone2.parent = (_c = (_b3 = singleProp.valueDeclaration) == null ? void 0 : _b3.symbol) == null ? void 0 : _c.parent;\n            clone2.links.containingType = containingType;\n            clone2.links.mapper = links == null ? void 0 : links.mapper;\n            return clone2;\n          } else {\n            return singleProp;\n          }\n        }\n        const props = propSet ? arrayFrom(propSet.values()) : [singleProp];\n        let declarations;\n        let firstType;\n        let nameType;\n        const propTypes = [];\n        let writeTypes;\n        let firstValueDeclaration;\n        let hasNonUniformValueDeclaration = false;\n        for (const prop of props) {\n          if (!firstValueDeclaration) {\n            firstValueDeclaration = prop.valueDeclaration;\n          } else if (prop.valueDeclaration && prop.valueDeclaration !== firstValueDeclaration) {\n            hasNonUniformValueDeclaration = true;\n          }\n          declarations = addRange(declarations, prop.declarations);\n          const type = getTypeOfSymbol(prop);\n          if (!firstType) {\n            firstType = type;\n            nameType = getSymbolLinks(prop).nameType;\n          }\n          const writeType = getWriteTypeOfSymbol(prop);\n          if (writeTypes || writeType !== type) {\n            writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType);\n          } else if (type !== firstType) {\n            checkFlags |= 64;\n          }\n          if (isLiteralType(type) || isPatternLiteralType(type) || type === uniqueLiteralType) {\n            checkFlags |= 128;\n          }\n          if (type.flags & 131072 && type !== uniqueLiteralType) {\n            checkFlags |= 131072;\n          }\n          propTypes.push(type);\n        }\n        addRange(propTypes, indexTypes);\n        const result = createSymbol(4 | (optionalFlag != null ? optionalFlag : 0), name, syntheticFlag | checkFlags);\n        result.links.containingType = containingType;\n        if (!hasNonUniformValueDeclaration && firstValueDeclaration) {\n          result.valueDeclaration = firstValueDeclaration;\n          if (firstValueDeclaration.symbol.parent) {\n            result.parent = firstValueDeclaration.symbol.parent;\n          }\n        }\n        result.declarations = declarations;\n        result.links.nameType = nameType;\n        if (propTypes.length > 2) {\n          result.links.checkFlags |= 65536;\n          result.links.deferralParent = containingType;\n          result.links.deferralConstituents = propTypes;\n          result.links.deferralWriteConstituents = writeTypes;\n        } else {\n          result.links.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);\n          if (writeTypes) {\n            result.links.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);\n          }\n        }\n        return result;\n      }\n      function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {\n        var _a22, _b3;\n        let property = ((_a22 = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a22.get(name)) || !skipObjectFunctionPropertyAugment ? (_b3 = type.propertyCache) == null ? void 0 : _b3.get(name) : void 0;\n        if (!property) {\n          property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);\n          if (property) {\n            const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());\n            properties.set(name, property);\n          }\n        }\n        return property;\n      }\n      function getCommonDeclarationsOfSymbols(symbols) {\n        let commonDeclarations;\n        for (const symbol of symbols) {\n          if (!symbol.declarations) {\n            return void 0;\n          }\n          if (!commonDeclarations) {\n            commonDeclarations = new Set(symbol.declarations);\n            continue;\n          }\n          commonDeclarations.forEach((declaration) => {\n            if (!contains(symbol.declarations, declaration)) {\n              commonDeclarations.delete(declaration);\n            }\n          });\n          if (commonDeclarations.size === 0) {\n            return void 0;\n          }\n        }\n        return commonDeclarations;\n      }\n      function getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment) {\n        const property = getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);\n        return property && !(getCheckFlags(property) & 16) ? property : void 0;\n      }\n      function getReducedType(type) {\n        if (type.flags & 1048576 && type.objectFlags & 16777216) {\n          return type.resolvedReducedType || (type.resolvedReducedType = getReducedUnionType(type));\n        } else if (type.flags & 2097152) {\n          if (!(type.objectFlags & 16777216)) {\n            type.objectFlags |= 16777216 | (some(getPropertiesOfUnionOrIntersectionType(type), isNeverReducedProperty) ? 33554432 : 0);\n          }\n          return type.objectFlags & 33554432 ? neverType : type;\n        }\n        return type;\n      }\n      function getReducedUnionType(unionType) {\n        const reducedTypes = sameMap(unionType.types, getReducedType);\n        if (reducedTypes === unionType.types) {\n          return unionType;\n        }\n        const reduced = getUnionType(reducedTypes);\n        if (reduced.flags & 1048576) {\n          reduced.resolvedReducedType = reduced;\n        }\n        return reduced;\n      }\n      function isNeverReducedProperty(prop) {\n        return isDiscriminantWithNeverType(prop) || isConflictingPrivateProperty(prop);\n      }\n      function isDiscriminantWithNeverType(prop) {\n        return !(prop.flags & 16777216) && (getCheckFlags(prop) & (192 | 131072)) === 192 && !!(getTypeOfSymbol(prop).flags & 131072);\n      }\n      function isConflictingPrivateProperty(prop) {\n        return !prop.valueDeclaration && !!(getCheckFlags(prop) & 1024);\n      }\n      function elaborateNeverIntersection(errorInfo, type) {\n        if (type.flags & 2097152 && getObjectFlags(type) & 33554432) {\n          const neverProp = find(getPropertiesOfUnionOrIntersectionType(type), isDiscriminantWithNeverType);\n          if (neverProp) {\n            return chainDiagnosticMessages(\n              errorInfo,\n              Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,\n              typeToString(\n                type,\n                /*enclosingDeclaration*/\n                void 0,\n                536870912\n                /* NoTypeReduction */\n              ),\n              symbolToString(neverProp)\n            );\n          }\n          const privateProp = find(getPropertiesOfUnionOrIntersectionType(type), isConflictingPrivateProperty);\n          if (privateProp) {\n            return chainDiagnosticMessages(\n              errorInfo,\n              Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,\n              typeToString(\n                type,\n                /*enclosingDeclaration*/\n                void 0,\n                536870912\n                /* NoTypeReduction */\n              ),\n              symbolToString(privateProp)\n            );\n          }\n        }\n        return errorInfo;\n      }\n      function getPropertyOfType(type, name, skipObjectFunctionPropertyAugment, includeTypeOnlyMembers) {\n        type = getReducedApparentType(type);\n        if (type.flags & 524288) {\n          const resolved = resolveStructuredTypeMembers(type);\n          const symbol = resolved.members.get(name);\n          if (symbol && symbolIsValue(symbol, includeTypeOnlyMembers)) {\n            return symbol;\n          }\n          if (skipObjectFunctionPropertyAugment)\n            return void 0;\n          const functionType = resolved === anyFunctionType ? globalFunctionType : resolved.callSignatures.length ? globalCallableFunctionType : resolved.constructSignatures.length ? globalNewableFunctionType : void 0;\n          if (functionType) {\n            const symbol2 = getPropertyOfObjectType(functionType, name);\n            if (symbol2) {\n              return symbol2;\n            }\n          }\n          return getPropertyOfObjectType(globalObjectType, name);\n        }\n        if (type.flags & 3145728) {\n          return getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment);\n        }\n        return void 0;\n      }\n      function getSignaturesOfStructuredType(type, kind) {\n        if (type.flags & 3670016) {\n          const resolved = resolveStructuredTypeMembers(type);\n          return kind === 0 ? resolved.callSignatures : resolved.constructSignatures;\n        }\n        return emptyArray;\n      }\n      function getSignaturesOfType(type, kind) {\n        return getSignaturesOfStructuredType(getReducedApparentType(type), kind);\n      }\n      function findIndexInfo(indexInfos, keyType) {\n        return find(indexInfos, (info) => info.keyType === keyType);\n      }\n      function findApplicableIndexInfo(indexInfos, keyType) {\n        let stringIndexInfo;\n        let applicableInfo;\n        let applicableInfos;\n        for (const info of indexInfos) {\n          if (info.keyType === stringType) {\n            stringIndexInfo = info;\n          } else if (isApplicableIndexType(keyType, info.keyType)) {\n            if (!applicableInfo) {\n              applicableInfo = info;\n            } else {\n              (applicableInfos || (applicableInfos = [applicableInfo])).push(info);\n            }\n          }\n        }\n        return applicableInfos ? createIndexInfo(\n          unknownType,\n          getIntersectionType(map(applicableInfos, (info) => info.type)),\n          reduceLeft(\n            applicableInfos,\n            (isReadonly, info) => isReadonly && info.isReadonly,\n            /*initial*/\n            true\n          )\n        ) : applicableInfo ? applicableInfo : stringIndexInfo && isApplicableIndexType(keyType, stringType) ? stringIndexInfo : void 0;\n      }\n      function isApplicableIndexType(source, target) {\n        return isTypeAssignableTo(source, target) || target === stringType && isTypeAssignableTo(source, numberType) || target === numberType && (source === numericStringType || !!(source.flags & 128) && isNumericLiteralName(source.value));\n      }\n      function getIndexInfosOfStructuredType(type) {\n        if (type.flags & 3670016) {\n          const resolved = resolveStructuredTypeMembers(type);\n          return resolved.indexInfos;\n        }\n        return emptyArray;\n      }\n      function getIndexInfosOfType(type) {\n        return getIndexInfosOfStructuredType(getReducedApparentType(type));\n      }\n      function getIndexInfoOfType(type, keyType) {\n        return findIndexInfo(getIndexInfosOfType(type), keyType);\n      }\n      function getIndexTypeOfType(type, keyType) {\n        var _a22;\n        return (_a22 = getIndexInfoOfType(type, keyType)) == null ? void 0 : _a22.type;\n      }\n      function getApplicableIndexInfos(type, keyType) {\n        return getIndexInfosOfType(type).filter((info) => isApplicableIndexType(keyType, info.keyType));\n      }\n      function getApplicableIndexInfo(type, keyType) {\n        return findApplicableIndexInfo(getIndexInfosOfType(type), keyType);\n      }\n      function getApplicableIndexInfoForName(type, name) {\n        return getApplicableIndexInfo(type, isLateBoundName(name) ? esSymbolType : getStringLiteralType(unescapeLeadingUnderscores(name)));\n      }\n      function getTypeParametersFromDeclaration(declaration) {\n        var _a22;\n        let result;\n        for (const node of getEffectiveTypeParameterDeclarations(declaration)) {\n          result = appendIfUnique(result, getDeclaredTypeOfTypeParameter(node.symbol));\n        }\n        return (result == null ? void 0 : result.length) ? result : isFunctionDeclaration(declaration) ? (_a22 = getSignatureOfTypeTag(declaration)) == null ? void 0 : _a22.typeParameters : void 0;\n      }\n      function symbolsToArray(symbols) {\n        const result = [];\n        symbols.forEach((symbol, id) => {\n          if (!isReservedMemberName(id)) {\n            result.push(symbol);\n          }\n        });\n        return result;\n      }\n      function tryFindAmbientModule(moduleName, withAugmentations) {\n        if (isExternalModuleNameRelative(moduleName)) {\n          return void 0;\n        }\n        const symbol = getSymbol2(\n          globals,\n          '\"' + moduleName + '\"',\n          512\n          /* ValueModule */\n        );\n        return symbol && withAugmentations ? getMergedSymbol(symbol) : symbol;\n      }\n      function isOptionalParameter(node) {\n        if (hasQuestionToken(node) || isOptionalJSDocPropertyLikeTag(node) || isJSDocOptionalParameter(node)) {\n          return true;\n        }\n        if (node.initializer) {\n          const signature = getSignatureFromDeclaration(node.parent);\n          const parameterIndex = node.parent.parameters.indexOf(node);\n          Debug2.assert(parameterIndex >= 0);\n          return parameterIndex >= getMinArgumentCount(\n            signature,\n            1 | 2\n            /* VoidIsNonOptional */\n          );\n        }\n        const iife = getImmediatelyInvokedFunctionExpression(node.parent);\n        if (iife) {\n          return !node.type && !node.dotDotDotToken && node.parent.parameters.indexOf(node) >= iife.arguments.length;\n        }\n        return false;\n      }\n      function isOptionalPropertyDeclaration(node) {\n        return isPropertyDeclaration(node) && !hasAccessorModifier(node) && node.questionToken;\n      }\n      function createTypePredicate(kind, parameterName, parameterIndex, type) {\n        return { kind, parameterName, parameterIndex, type };\n      }\n      function getMinTypeArgumentCount(typeParameters) {\n        let minTypeArgumentCount = 0;\n        if (typeParameters) {\n          for (let i = 0; i < typeParameters.length; i++) {\n            if (!hasTypeParameterDefault(typeParameters[i])) {\n              minTypeArgumentCount = i + 1;\n            }\n          }\n        }\n        return minTypeArgumentCount;\n      }\n      function fillMissingTypeArguments(typeArguments, typeParameters, minTypeArgumentCount, isJavaScriptImplicitAny) {\n        const numTypeParameters = length(typeParameters);\n        if (!numTypeParameters) {\n          return [];\n        }\n        const numTypeArguments = length(typeArguments);\n        if (isJavaScriptImplicitAny || numTypeArguments >= minTypeArgumentCount && numTypeArguments <= numTypeParameters) {\n          const result = typeArguments ? typeArguments.slice() : [];\n          for (let i = numTypeArguments; i < numTypeParameters; i++) {\n            result[i] = errorType;\n          }\n          const baseDefaultType = getDefaultTypeArgumentType(isJavaScriptImplicitAny);\n          for (let i = numTypeArguments; i < numTypeParameters; i++) {\n            let defaultType = getDefaultFromTypeParameter(typeParameters[i]);\n            if (isJavaScriptImplicitAny && defaultType && (isTypeIdenticalTo(defaultType, unknownType) || isTypeIdenticalTo(defaultType, emptyObjectType))) {\n              defaultType = anyType;\n            }\n            result[i] = defaultType ? instantiateType(defaultType, createTypeMapper(typeParameters, result)) : baseDefaultType;\n          }\n          result.length = typeParameters.length;\n          return result;\n        }\n        return typeArguments && typeArguments.slice();\n      }\n      function getSignatureFromDeclaration(declaration) {\n        const links = getNodeLinks(declaration);\n        if (!links.resolvedSignature) {\n          const parameters = [];\n          let flags = 0;\n          let minArgumentCount = 0;\n          let thisParameter;\n          let hasThisParameter2 = false;\n          const iife = getImmediatelyInvokedFunctionExpression(declaration);\n          const isJSConstructSignature = isJSDocConstructSignature(declaration);\n          const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !getJSDocType(declaration);\n          if (isUntypedSignatureInJSFile) {\n            flags |= 32;\n          }\n          for (let i = isJSConstructSignature ? 1 : 0; i < declaration.parameters.length; i++) {\n            const param = declaration.parameters[i];\n            let paramSymbol = param.symbol;\n            const type = isJSDocParameterTag(param) ? param.typeExpression && param.typeExpression.type : param.type;\n            if (paramSymbol && !!(paramSymbol.flags & 4) && !isBindingPattern(param.name)) {\n              const resolvedSymbol = resolveName(\n                param,\n                paramSymbol.escapedName,\n                111551,\n                void 0,\n                void 0,\n                /*isUse*/\n                false\n              );\n              paramSymbol = resolvedSymbol;\n            }\n            if (i === 0 && paramSymbol.escapedName === \"this\") {\n              hasThisParameter2 = true;\n              thisParameter = param.symbol;\n            } else {\n              parameters.push(paramSymbol);\n            }\n            if (type && type.kind === 198) {\n              flags |= 2;\n            }\n            const isOptionalParameter2 = isOptionalJSDocPropertyLikeTag(param) || param.initializer || param.questionToken || isRestParameter(param) || iife && parameters.length > iife.arguments.length && !type || isJSDocOptionalParameter(param);\n            if (!isOptionalParameter2) {\n              minArgumentCount = parameters.length;\n            }\n          }\n          if ((declaration.kind === 174 || declaration.kind === 175) && hasBindableName(declaration) && (!hasThisParameter2 || !thisParameter)) {\n            const otherKind = declaration.kind === 174 ? 175 : 174;\n            const other = getDeclarationOfKind(getSymbolOfDeclaration(declaration), otherKind);\n            if (other) {\n              thisParameter = getAnnotatedAccessorThisParameter(other);\n            }\n          }\n          if (isInJSFile(declaration)) {\n            const thisTag = getJSDocThisTag(declaration);\n            if (thisTag && thisTag.typeExpression) {\n              thisParameter = createSymbolWithType(createSymbol(\n                1,\n                \"this\"\n                /* This */\n              ), getTypeFromTypeNode(thisTag.typeExpression));\n            }\n          }\n          const classType = declaration.kind === 173 ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(declaration.parent.symbol)) : void 0;\n          const typeParameters = classType ? classType.localTypeParameters : getTypeParametersFromDeclaration(declaration);\n          if (hasRestParameter(declaration) || isInJSFile(declaration) && maybeAddJsSyntheticRestParameter(declaration, parameters)) {\n            flags |= 1;\n          }\n          if (isConstructorTypeNode(declaration) && hasSyntacticModifier(\n            declaration,\n            256\n            /* Abstract */\n          ) || isConstructorDeclaration(declaration) && hasSyntacticModifier(\n            declaration.parent,\n            256\n            /* Abstract */\n          )) {\n            flags |= 4;\n          }\n          links.resolvedSignature = createSignature(\n            declaration,\n            typeParameters,\n            thisParameter,\n            parameters,\n            /*resolvedReturnType*/\n            void 0,\n            /*resolvedTypePredicate*/\n            void 0,\n            minArgumentCount,\n            flags\n          );\n        }\n        return links.resolvedSignature;\n      }\n      function maybeAddJsSyntheticRestParameter(declaration, parameters) {\n        if (isJSDocSignature(declaration) || !containsArgumentsReference(declaration)) {\n          return false;\n        }\n        const lastParam = lastOrUndefined(declaration.parameters);\n        const lastParamTags = lastParam ? getJSDocParameterTags(lastParam) : getJSDocTags(declaration).filter(isJSDocParameterTag);\n        const lastParamVariadicType = firstDefined(lastParamTags, (p) => p.typeExpression && isJSDocVariadicType(p.typeExpression.type) ? p.typeExpression.type : void 0);\n        const syntheticArgsSymbol = createSymbol(\n          3,\n          \"args\",\n          32768\n          /* RestParameter */\n        );\n        if (lastParamVariadicType) {\n          syntheticArgsSymbol.links.type = createArrayType(getTypeFromTypeNode(lastParamVariadicType.type));\n        } else {\n          syntheticArgsSymbol.links.checkFlags |= 65536;\n          syntheticArgsSymbol.links.deferralParent = neverType;\n          syntheticArgsSymbol.links.deferralConstituents = [anyArrayType];\n          syntheticArgsSymbol.links.deferralWriteConstituents = [anyArrayType];\n        }\n        if (lastParamVariadicType) {\n          parameters.pop();\n        }\n        parameters.push(syntheticArgsSymbol);\n        return true;\n      }\n      function getSignatureOfTypeTag(node) {\n        if (!(isInJSFile(node) && isFunctionLikeDeclaration(node)))\n          return void 0;\n        const typeTag = getJSDocTypeTag(node);\n        return (typeTag == null ? void 0 : typeTag.typeExpression) && getSingleCallSignature(getTypeFromTypeNode(typeTag.typeExpression));\n      }\n      function getParameterTypeOfTypeTag(func, parameter) {\n        const signature = getSignatureOfTypeTag(func);\n        if (!signature)\n          return void 0;\n        const pos = func.parameters.indexOf(parameter);\n        return parameter.dotDotDotToken ? getRestTypeAtPosition(signature, pos) : getTypeAtPosition(signature, pos);\n      }\n      function getReturnTypeOfTypeTag(node) {\n        const signature = getSignatureOfTypeTag(node);\n        return signature && getReturnTypeOfSignature(signature);\n      }\n      function containsArgumentsReference(declaration) {\n        const links = getNodeLinks(declaration);\n        if (links.containsArgumentsReference === void 0) {\n          if (links.flags & 512) {\n            links.containsArgumentsReference = true;\n          } else {\n            links.containsArgumentsReference = traverse(declaration.body);\n          }\n        }\n        return links.containsArgumentsReference;\n        function traverse(node) {\n          if (!node)\n            return false;\n          switch (node.kind) {\n            case 79:\n              return node.escapedText === argumentsSymbol.escapedName && getReferencedValueSymbol(node) === argumentsSymbol;\n            case 169:\n            case 171:\n            case 174:\n            case 175:\n              return node.name.kind === 164 && traverse(node.name);\n            case 208:\n            case 209:\n              return traverse(node.expression);\n            case 299:\n              return traverse(node.initializer);\n            default:\n              return !nodeStartsNewLexicalEnvironment(node) && !isPartOfTypeNode(node) && !!forEachChild(node, traverse);\n          }\n        }\n      }\n      function getSignaturesOfSymbol(symbol) {\n        if (!symbol || !symbol.declarations)\n          return emptyArray;\n        const result = [];\n        for (let i = 0; i < symbol.declarations.length; i++) {\n          const decl = symbol.declarations[i];\n          if (!isFunctionLike(decl))\n            continue;\n          if (i > 0 && decl.body) {\n            const previous = symbol.declarations[i - 1];\n            if (decl.parent === previous.parent && decl.kind === previous.kind && decl.pos === previous.end) {\n              continue;\n            }\n          }\n          if (isInJSFile(decl) && decl.jsDoc) {\n            let hasJSDocOverloads = false;\n            for (const node of decl.jsDoc) {\n              if (node.tags) {\n                for (const tag of node.tags) {\n                  if (isJSDocOverloadTag(tag)) {\n                    const jsDocSignature = tag.typeExpression;\n                    if (jsDocSignature.type === void 0 && !isConstructorDeclaration(decl)) {\n                      reportImplicitAny(jsDocSignature, anyType);\n                    }\n                    result.push(getSignatureFromDeclaration(jsDocSignature));\n                    hasJSDocOverloads = true;\n                  }\n                }\n              }\n            }\n            if (hasJSDocOverloads) {\n              continue;\n            }\n          }\n          result.push(\n            !isFunctionExpressionOrArrowFunction(decl) && !isObjectLiteralMethod(decl) && getSignatureOfTypeTag(decl) || getSignatureFromDeclaration(decl)\n          );\n        }\n        return result;\n      }\n      function resolveExternalModuleTypeByLiteral(name) {\n        const moduleSym = resolveExternalModuleName(name, name);\n        if (moduleSym) {\n          const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym);\n          if (resolvedModuleSymbol) {\n            return getTypeOfSymbol(resolvedModuleSymbol);\n          }\n        }\n        return anyType;\n      }\n      function getThisTypeOfSignature(signature) {\n        if (signature.thisParameter) {\n          return getTypeOfSymbol(signature.thisParameter);\n        }\n      }\n      function getTypePredicateOfSignature(signature) {\n        if (!signature.resolvedTypePredicate) {\n          if (signature.target) {\n            const targetTypePredicate = getTypePredicateOfSignature(signature.target);\n            signature.resolvedTypePredicate = targetTypePredicate ? instantiateTypePredicate(targetTypePredicate, signature.mapper) : noTypePredicate;\n          } else if (signature.compositeSignatures) {\n            signature.resolvedTypePredicate = getUnionOrIntersectionTypePredicate(signature.compositeSignatures, signature.compositeKind) || noTypePredicate;\n          } else {\n            const type = signature.declaration && getEffectiveReturnTypeNode(signature.declaration);\n            let jsdocPredicate;\n            if (!type) {\n              const jsdocSignature = getSignatureOfTypeTag(signature.declaration);\n              if (jsdocSignature && signature !== jsdocSignature) {\n                jsdocPredicate = getTypePredicateOfSignature(jsdocSignature);\n              }\n            }\n            signature.resolvedTypePredicate = type && isTypePredicateNode(type) ? createTypePredicateFromTypePredicateNode(type, signature) : jsdocPredicate || noTypePredicate;\n          }\n          Debug2.assert(!!signature.resolvedTypePredicate);\n        }\n        return signature.resolvedTypePredicate === noTypePredicate ? void 0 : signature.resolvedTypePredicate;\n      }\n      function createTypePredicateFromTypePredicateNode(node, signature) {\n        const parameterName = node.parameterName;\n        const type = node.type && getTypeFromTypeNode(node.type);\n        return parameterName.kind === 194 ? createTypePredicate(\n          node.assertsModifier ? 2 : 0,\n          /*parameterName*/\n          void 0,\n          /*parameterIndex*/\n          void 0,\n          type\n        ) : createTypePredicate(\n          node.assertsModifier ? 3 : 1,\n          parameterName.escapedText,\n          findIndex(signature.parameters, (p) => p.escapedName === parameterName.escapedText),\n          type\n        );\n      }\n      function getUnionOrIntersectionType(types, kind, unionReduction) {\n        return kind !== 2097152 ? getUnionType(types, unionReduction) : getIntersectionType(types);\n      }\n      function getReturnTypeOfSignature(signature) {\n        if (!signature.resolvedReturnType) {\n          if (!pushTypeResolution(\n            signature,\n            3\n            /* ResolvedReturnType */\n          )) {\n            return errorType;\n          }\n          let type = signature.target ? instantiateType(getReturnTypeOfSignature(signature.target), signature.mapper) : signature.compositeSignatures ? instantiateType(getUnionOrIntersectionType(\n            map(signature.compositeSignatures, getReturnTypeOfSignature),\n            signature.compositeKind,\n            2\n            /* Subtype */\n          ), signature.mapper) : getReturnTypeFromAnnotation(signature.declaration) || (nodeIsMissing(signature.declaration.body) ? anyType : getReturnTypeFromBody(signature.declaration));\n          if (signature.flags & 8) {\n            type = addOptionalTypeMarker(type);\n          } else if (signature.flags & 16) {\n            type = getOptionalType(type);\n          }\n          if (!popTypeResolution()) {\n            if (signature.declaration) {\n              const typeNode = getEffectiveReturnTypeNode(signature.declaration);\n              if (typeNode) {\n                error(typeNode, Diagnostics.Return_type_annotation_circularly_references_itself);\n              } else if (noImplicitAny) {\n                const declaration = signature.declaration;\n                const name = getNameOfDeclaration(declaration);\n                if (name) {\n                  error(name, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, declarationNameToString(name));\n                } else {\n                  error(declaration, Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions);\n                }\n              }\n            }\n            type = anyType;\n          }\n          signature.resolvedReturnType = type;\n        }\n        return signature.resolvedReturnType;\n      }\n      function getReturnTypeFromAnnotation(declaration) {\n        if (declaration.kind === 173) {\n          return getDeclaredTypeOfClassOrInterface(getMergedSymbol(declaration.parent.symbol));\n        }\n        if (isJSDocSignature(declaration)) {\n          const root = getJSDocRoot(declaration);\n          if (root && isConstructorDeclaration(root.parent)) {\n            return getDeclaredTypeOfClassOrInterface(getMergedSymbol(root.parent.parent.symbol));\n          }\n        }\n        if (isJSDocConstructSignature(declaration)) {\n          return getTypeFromTypeNode(declaration.parameters[0].type);\n        }\n        const typeNode = getEffectiveReturnTypeNode(declaration);\n        if (typeNode) {\n          return getTypeFromTypeNode(typeNode);\n        }\n        if (declaration.kind === 174 && hasBindableName(declaration)) {\n          const jsDocType = isInJSFile(declaration) && getTypeForDeclarationFromJSDocComment(declaration);\n          if (jsDocType) {\n            return jsDocType;\n          }\n          const setter = getDeclarationOfKind(\n            getSymbolOfDeclaration(declaration),\n            175\n            /* SetAccessor */\n          );\n          const setterType = getAnnotatedAccessorType(setter);\n          if (setterType) {\n            return setterType;\n          }\n        }\n        return getReturnTypeOfTypeTag(declaration);\n      }\n      function isResolvingReturnTypeOfSignature(signature) {\n        return !signature.resolvedReturnType && findResolutionCycleStartIndex(\n          signature,\n          3\n          /* ResolvedReturnType */\n        ) >= 0;\n      }\n      function getRestTypeOfSignature(signature) {\n        return tryGetRestTypeOfSignature(signature) || anyType;\n      }\n      function tryGetRestTypeOfSignature(signature) {\n        if (signatureHasRestParameter(signature)) {\n          const sigRestType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n          const restType = isTupleType(sigRestType) ? getRestTypeOfTupleType(sigRestType) : sigRestType;\n          return restType && getIndexTypeOfType(restType, numberType);\n        }\n        return void 0;\n      }\n      function getSignatureInstantiation(signature, typeArguments, isJavascript, inferredTypeParameters) {\n        const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, fillMissingTypeArguments(typeArguments, signature.typeParameters, getMinTypeArgumentCount(signature.typeParameters), isJavascript));\n        if (inferredTypeParameters) {\n          const returnSignature = getSingleCallOrConstructSignature(getReturnTypeOfSignature(instantiatedSignature));\n          if (returnSignature) {\n            const newReturnSignature = cloneSignature(returnSignature);\n            newReturnSignature.typeParameters = inferredTypeParameters;\n            const newInstantiatedSignature = cloneSignature(instantiatedSignature);\n            newInstantiatedSignature.resolvedReturnType = getOrCreateTypeFromSignature(newReturnSignature);\n            return newInstantiatedSignature;\n          }\n        }\n        return instantiatedSignature;\n      }\n      function getSignatureInstantiationWithoutFillingInTypeArguments(signature, typeArguments) {\n        const instantiations = signature.instantiations || (signature.instantiations = /* @__PURE__ */ new Map());\n        const id = getTypeListId(typeArguments);\n        let instantiation = instantiations.get(id);\n        if (!instantiation) {\n          instantiations.set(id, instantiation = createSignatureInstantiation(signature, typeArguments));\n        }\n        return instantiation;\n      }\n      function createSignatureInstantiation(signature, typeArguments) {\n        return instantiateSignature(\n          signature,\n          createSignatureTypeMapper(signature, typeArguments),\n          /*eraseTypeParameters*/\n          true\n        );\n      }\n      function createSignatureTypeMapper(signature, typeArguments) {\n        return createTypeMapper(signature.typeParameters, typeArguments);\n      }\n      function getErasedSignature(signature) {\n        return signature.typeParameters ? signature.erasedSignatureCache || (signature.erasedSignatureCache = createErasedSignature(signature)) : signature;\n      }\n      function createErasedSignature(signature) {\n        return instantiateSignature(\n          signature,\n          createTypeEraser(signature.typeParameters),\n          /*eraseTypeParameters*/\n          true\n        );\n      }\n      function getCanonicalSignature(signature) {\n        return signature.typeParameters ? signature.canonicalSignatureCache || (signature.canonicalSignatureCache = createCanonicalSignature(signature)) : signature;\n      }\n      function createCanonicalSignature(signature) {\n        return getSignatureInstantiation(\n          signature,\n          map(signature.typeParameters, (tp) => tp.target && !getConstraintOfTypeParameter(tp.target) ? tp.target : tp),\n          isInJSFile(signature.declaration)\n        );\n      }\n      function getBaseSignature(signature) {\n        const typeParameters = signature.typeParameters;\n        if (typeParameters) {\n          if (signature.baseSignatureCache) {\n            return signature.baseSignatureCache;\n          }\n          const typeEraser = createTypeEraser(typeParameters);\n          const baseConstraintMapper = createTypeMapper(typeParameters, map(typeParameters, (tp) => getConstraintOfTypeParameter(tp) || unknownType));\n          let baseConstraints = map(typeParameters, (tp) => instantiateType(tp, baseConstraintMapper) || unknownType);\n          for (let i = 0; i < typeParameters.length - 1; i++) {\n            baseConstraints = instantiateTypes(baseConstraints, baseConstraintMapper);\n          }\n          baseConstraints = instantiateTypes(baseConstraints, typeEraser);\n          return signature.baseSignatureCache = instantiateSignature(\n            signature,\n            createTypeMapper(typeParameters, baseConstraints),\n            /*eraseTypeParameters*/\n            true\n          );\n        }\n        return signature;\n      }\n      function getOrCreateTypeFromSignature(signature) {\n        var _a22;\n        if (!signature.isolatedSignatureType) {\n          const kind = (_a22 = signature.declaration) == null ? void 0 : _a22.kind;\n          const isConstructor = kind === void 0 || kind === 173 || kind === 177 || kind === 182;\n          const type = createObjectType(\n            16\n            /* Anonymous */\n          );\n          type.members = emptySymbols;\n          type.properties = emptyArray;\n          type.callSignatures = !isConstructor ? [signature] : emptyArray;\n          type.constructSignatures = isConstructor ? [signature] : emptyArray;\n          type.indexInfos = emptyArray;\n          signature.isolatedSignatureType = type;\n        }\n        return signature.isolatedSignatureType;\n      }\n      function getIndexSymbol(symbol) {\n        return symbol.members ? getIndexSymbolFromSymbolTable(symbol.members) : void 0;\n      }\n      function getIndexSymbolFromSymbolTable(symbolTable) {\n        return symbolTable.get(\n          \"__index\"\n          /* Index */\n        );\n      }\n      function createIndexInfo(keyType, type, isReadonly, declaration) {\n        return { keyType, type, isReadonly, declaration };\n      }\n      function getIndexInfosOfSymbol(symbol) {\n        const indexSymbol = getIndexSymbol(symbol);\n        return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol) : emptyArray;\n      }\n      function getIndexInfosOfIndexSymbol(indexSymbol) {\n        if (indexSymbol.declarations) {\n          const indexInfos = [];\n          for (const declaration of indexSymbol.declarations) {\n            if (declaration.parameters.length === 1) {\n              const parameter = declaration.parameters[0];\n              if (parameter.type) {\n                forEachType(getTypeFromTypeNode(parameter.type), (keyType) => {\n                  if (isValidIndexKeyType(keyType) && !findIndexInfo(indexInfos, keyType)) {\n                    indexInfos.push(createIndexInfo(\n                      keyType,\n                      declaration.type ? getTypeFromTypeNode(declaration.type) : anyType,\n                      hasEffectiveModifier(\n                        declaration,\n                        64\n                        /* Readonly */\n                      ),\n                      declaration\n                    ));\n                  }\n                });\n              }\n            }\n          }\n          return indexInfos;\n        }\n        return emptyArray;\n      }\n      function isValidIndexKeyType(type) {\n        return !!(type.flags & (4 | 8 | 4096)) || isPatternLiteralType(type) || !!(type.flags & 2097152) && !isGenericType(type) && some(type.types, isValidIndexKeyType);\n      }\n      function getConstraintDeclaration(type) {\n        return mapDefined(filter(type.symbol && type.symbol.declarations, isTypeParameterDeclaration), getEffectiveConstraintOfTypeParameter)[0];\n      }\n      function getInferredTypeParameterConstraint(typeParameter, omitTypeReferences) {\n        var _a22;\n        let inferences;\n        if ((_a22 = typeParameter.symbol) == null ? void 0 : _a22.declarations) {\n          for (const declaration of typeParameter.symbol.declarations) {\n            if (declaration.parent.kind === 192) {\n              const [childTypeParameter = declaration.parent, grandParent] = walkUpParenthesizedTypesAndGetParentAndChild(declaration.parent.parent);\n              if (grandParent.kind === 180 && !omitTypeReferences) {\n                const typeReference = grandParent;\n                const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReference);\n                if (typeParameters) {\n                  const index = typeReference.typeArguments.indexOf(childTypeParameter);\n                  if (index < typeParameters.length) {\n                    const declaredConstraint = getConstraintOfTypeParameter(typeParameters[index]);\n                    if (declaredConstraint) {\n                      const mapper = makeDeferredTypeMapper(typeParameters, typeParameters.map((_, index2) => () => {\n                        return getEffectiveTypeArgumentAtIndex(typeReference, typeParameters, index2);\n                      }));\n                      const constraint = instantiateType(declaredConstraint, mapper);\n                      if (constraint !== typeParameter) {\n                        inferences = append(inferences, constraint);\n                      }\n                    }\n                  }\n                }\n              } else if (grandParent.kind === 166 && grandParent.dotDotDotToken || grandParent.kind === 188 || grandParent.kind === 199 && grandParent.dotDotDotToken) {\n                inferences = append(inferences, createArrayType(unknownType));\n              } else if (grandParent.kind === 201) {\n                inferences = append(inferences, stringType);\n              } else if (grandParent.kind === 165 && grandParent.parent.kind === 197) {\n                inferences = append(inferences, keyofConstraintType);\n              } else if (grandParent.kind === 197 && grandParent.type && skipParentheses(grandParent.type) === declaration.parent && grandParent.parent.kind === 191 && grandParent.parent.extendsType === grandParent && grandParent.parent.checkType.kind === 197 && grandParent.parent.checkType.type) {\n                const checkMappedType2 = grandParent.parent.checkType;\n                const nodeType = getTypeFromTypeNode(checkMappedType2.type);\n                inferences = append(inferences, instantiateType(\n                  nodeType,\n                  makeUnaryTypeMapper(getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(checkMappedType2.typeParameter)), checkMappedType2.typeParameter.constraint ? getTypeFromTypeNode(checkMappedType2.typeParameter.constraint) : keyofConstraintType)\n                ));\n              }\n            }\n          }\n        }\n        return inferences && getIntersectionType(inferences);\n      }\n      function getConstraintFromTypeParameter(typeParameter) {\n        if (!typeParameter.constraint) {\n          if (typeParameter.target) {\n            const targetConstraint = getConstraintOfTypeParameter(typeParameter.target);\n            typeParameter.constraint = targetConstraint ? instantiateType(targetConstraint, typeParameter.mapper) : noConstraintType;\n          } else {\n            const constraintDeclaration = getConstraintDeclaration(typeParameter);\n            if (!constraintDeclaration) {\n              typeParameter.constraint = getInferredTypeParameterConstraint(typeParameter) || noConstraintType;\n            } else {\n              let type = getTypeFromTypeNode(constraintDeclaration);\n              if (type.flags & 1 && !isErrorType(type)) {\n                type = constraintDeclaration.parent.parent.kind === 197 ? keyofConstraintType : unknownType;\n              }\n              typeParameter.constraint = type;\n            }\n          }\n        }\n        return typeParameter.constraint === noConstraintType ? void 0 : typeParameter.constraint;\n      }\n      function getParentSymbolOfTypeParameter(typeParameter) {\n        const tp = getDeclarationOfKind(\n          typeParameter.symbol,\n          165\n          /* TypeParameter */\n        );\n        const host2 = isJSDocTemplateTag(tp.parent) ? getEffectiveContainerForJSDocTemplateTag(tp.parent) : tp.parent;\n        return host2 && getSymbolOfNode(host2);\n      }\n      function getTypeListId(types) {\n        let result = \"\";\n        if (types) {\n          const length2 = types.length;\n          let i = 0;\n          while (i < length2) {\n            const startId = types[i].id;\n            let count = 1;\n            while (i + count < length2 && types[i + count].id === startId + count) {\n              count++;\n            }\n            if (result.length) {\n              result += \",\";\n            }\n            result += startId;\n            if (count > 1) {\n              result += \":\" + count;\n            }\n            i += count;\n          }\n        }\n        return result;\n      }\n      function getAliasId(aliasSymbol, aliasTypeArguments) {\n        return aliasSymbol ? `@${getSymbolId(aliasSymbol)}` + (aliasTypeArguments ? `:${getTypeListId(aliasTypeArguments)}` : \"\") : \"\";\n      }\n      function getPropagatingFlagsOfTypes(types, excludeKinds) {\n        let result = 0;\n        for (const type of types) {\n          if (excludeKinds === void 0 || !(type.flags & excludeKinds)) {\n            result |= getObjectFlags(type);\n          }\n        }\n        return result & 458752;\n      }\n      function tryCreateTypeReference(target, typeArguments) {\n        if (some(typeArguments) && target === emptyGenericType) {\n          return unknownType;\n        }\n        return createTypeReference(target, typeArguments);\n      }\n      function createTypeReference(target, typeArguments) {\n        const id = getTypeListId(typeArguments);\n        let type = target.instantiations.get(id);\n        if (!type) {\n          type = createObjectType(4, target.symbol);\n          target.instantiations.set(id, type);\n          type.objectFlags |= typeArguments ? getPropagatingFlagsOfTypes(typeArguments) : 0;\n          type.target = target;\n          type.resolvedTypeArguments = typeArguments;\n        }\n        return type;\n      }\n      function cloneTypeReference(source) {\n        const type = createTypeWithSymbol(source.flags, source.symbol);\n        type.objectFlags = source.objectFlags;\n        type.target = source.target;\n        type.resolvedTypeArguments = source.resolvedTypeArguments;\n        return type;\n      }\n      function createDeferredTypeReference(target, node, mapper, aliasSymbol, aliasTypeArguments) {\n        if (!aliasSymbol) {\n          aliasSymbol = getAliasSymbolForTypeNode(node);\n          const localAliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol);\n          aliasTypeArguments = mapper ? instantiateTypes(localAliasTypeArguments, mapper) : localAliasTypeArguments;\n        }\n        const type = createObjectType(4, target.symbol);\n        type.target = target;\n        type.node = node;\n        type.mapper = mapper;\n        type.aliasSymbol = aliasSymbol;\n        type.aliasTypeArguments = aliasTypeArguments;\n        return type;\n      }\n      function getTypeArguments(type) {\n        var _a22, _b3;\n        if (!type.resolvedTypeArguments) {\n          if (!pushTypeResolution(\n            type,\n            6\n            /* ResolvedTypeArguments */\n          )) {\n            return ((_a22 = type.target.localTypeParameters) == null ? void 0 : _a22.map(() => errorType)) || emptyArray;\n          }\n          const node = type.node;\n          const typeArguments = !node ? emptyArray : node.kind === 180 ? concatenate(type.target.outerTypeParameters, getEffectiveTypeArguments2(node, type.target.localTypeParameters)) : node.kind === 185 ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode);\n          if (popTypeResolution()) {\n            type.resolvedTypeArguments = type.mapper ? instantiateTypes(typeArguments, type.mapper) : typeArguments;\n          } else {\n            type.resolvedTypeArguments = ((_b3 = type.target.localTypeParameters) == null ? void 0 : _b3.map(() => errorType)) || emptyArray;\n            error(\n              type.node || currentNode,\n              type.target.symbol ? Diagnostics.Type_arguments_for_0_circularly_reference_themselves : Diagnostics.Tuple_type_arguments_circularly_reference_themselves,\n              type.target.symbol && symbolToString(type.target.symbol)\n            );\n          }\n        }\n        return type.resolvedTypeArguments;\n      }\n      function getTypeReferenceArity(type) {\n        return length(type.target.typeParameters);\n      }\n      function getTypeFromClassOrInterfaceReference(node, symbol) {\n        const type = getDeclaredTypeOfSymbol(getMergedSymbol(symbol));\n        const typeParameters = type.localTypeParameters;\n        if (typeParameters) {\n          const numTypeArguments = length(node.typeArguments);\n          const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters);\n          const isJs = isInJSFile(node);\n          const isJsImplicitAny = !noImplicitAny && isJs;\n          if (!isJsImplicitAny && (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length)) {\n            const missingAugmentsTag = isJs && isExpressionWithTypeArguments(node) && !isJSDocAugmentsTag(node.parent);\n            const diag2 = minTypeArgumentCount === typeParameters.length ? missingAugmentsTag ? Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_1_type_argument_s : missingAugmentsTag ? Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;\n            const typeStr = typeToString(\n              type,\n              /*enclosingDeclaration*/\n              void 0,\n              2\n              /* WriteArrayAsGenericType */\n            );\n            error(node, diag2, typeStr, minTypeArgumentCount, typeParameters.length);\n            if (!isJs) {\n              return errorType;\n            }\n          }\n          if (node.kind === 180 && isDeferredTypeReferenceNode(node, length(node.typeArguments) !== typeParameters.length)) {\n            return createDeferredTypeReference(\n              type,\n              node,\n              /*mapper*/\n              void 0\n            );\n          }\n          const typeArguments = concatenate(type.outerTypeParameters, fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs));\n          return createTypeReference(type, typeArguments);\n        }\n        return checkNoTypeArguments(node, symbol) ? type : errorType;\n      }\n      function getTypeAliasInstantiation(symbol, typeArguments, aliasSymbol, aliasTypeArguments) {\n        const type = getDeclaredTypeOfSymbol(symbol);\n        if (type === intrinsicMarkerType && intrinsicTypeKinds.has(symbol.escapedName) && typeArguments && typeArguments.length === 1) {\n          return getStringMappingType(symbol, typeArguments[0]);\n        }\n        const links = getSymbolLinks(symbol);\n        const typeParameters = links.typeParameters;\n        const id = getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments);\n        let instantiation = links.instantiations.get(id);\n        if (!instantiation) {\n          links.instantiations.set(id, instantiation = instantiateTypeWithAlias(\n            type,\n            createTypeMapper(typeParameters, fillMissingTypeArguments(typeArguments, typeParameters, getMinTypeArgumentCount(typeParameters), isInJSFile(symbol.valueDeclaration))),\n            aliasSymbol,\n            aliasTypeArguments\n          ));\n        }\n        return instantiation;\n      }\n      function getTypeFromTypeAliasReference(node, symbol) {\n        if (getCheckFlags(symbol) & 1048576) {\n          const typeArguments = typeArgumentsFromTypeReferenceNode(node);\n          const id = getAliasId(symbol, typeArguments);\n          let errorType2 = errorTypes.get(id);\n          if (!errorType2) {\n            errorType2 = createIntrinsicType(1, \"error\");\n            errorType2.aliasSymbol = symbol;\n            errorType2.aliasTypeArguments = typeArguments;\n            errorTypes.set(id, errorType2);\n          }\n          return errorType2;\n        }\n        const type = getDeclaredTypeOfSymbol(symbol);\n        const typeParameters = getSymbolLinks(symbol).typeParameters;\n        if (typeParameters) {\n          const numTypeArguments = length(node.typeArguments);\n          const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters);\n          if (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length) {\n            error(\n              node,\n              minTypeArgumentCount === typeParameters.length ? Diagnostics.Generic_type_0_requires_1_type_argument_s : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,\n              symbolToString(symbol),\n              minTypeArgumentCount,\n              typeParameters.length\n            );\n            return errorType;\n          }\n          const aliasSymbol = getAliasSymbolForTypeNode(node);\n          let newAliasSymbol = aliasSymbol && (isLocalTypeAlias(symbol) || !isLocalTypeAlias(aliasSymbol)) ? aliasSymbol : void 0;\n          let aliasTypeArguments;\n          if (newAliasSymbol) {\n            aliasTypeArguments = getTypeArgumentsForAliasSymbol(newAliasSymbol);\n          } else if (isTypeReferenceType(node)) {\n            const aliasSymbol2 = resolveTypeReferenceName(\n              node,\n              2097152,\n              /*ignoreErrors*/\n              true\n            );\n            if (aliasSymbol2 && aliasSymbol2 !== unknownSymbol) {\n              const resolved = resolveAlias(aliasSymbol2);\n              if (resolved && resolved.flags & 524288) {\n                newAliasSymbol = resolved;\n                aliasTypeArguments = typeArgumentsFromTypeReferenceNode(node) || (typeParameters ? [] : void 0);\n              }\n            }\n          }\n          return getTypeAliasInstantiation(symbol, typeArgumentsFromTypeReferenceNode(node), newAliasSymbol, aliasTypeArguments);\n        }\n        return checkNoTypeArguments(node, symbol) ? type : errorType;\n      }\n      function isLocalTypeAlias(symbol) {\n        var _a22;\n        const declaration = (_a22 = symbol.declarations) == null ? void 0 : _a22.find(isTypeAlias);\n        return !!(declaration && getContainingFunction(declaration));\n      }\n      function getTypeReferenceName(node) {\n        switch (node.kind) {\n          case 180:\n            return node.typeName;\n          case 230:\n            const expr = node.expression;\n            if (isEntityNameExpression(expr)) {\n              return expr;\n            }\n        }\n        return void 0;\n      }\n      function getSymbolPath(symbol) {\n        return symbol.parent ? `${getSymbolPath(symbol.parent)}.${symbol.escapedName}` : symbol.escapedName;\n      }\n      function getUnresolvedSymbolForEntityName(name) {\n        const identifier = name.kind === 163 ? name.right : name.kind === 208 ? name.name : name;\n        const text = identifier.escapedText;\n        if (text) {\n          const parentSymbol = name.kind === 163 ? getUnresolvedSymbolForEntityName(name.left) : name.kind === 208 ? getUnresolvedSymbolForEntityName(name.expression) : void 0;\n          const path = parentSymbol ? `${getSymbolPath(parentSymbol)}.${text}` : text;\n          let result = unresolvedSymbols.get(path);\n          if (!result) {\n            unresolvedSymbols.set(path, result = createSymbol(\n              524288,\n              text,\n              1048576\n              /* Unresolved */\n            ));\n            result.parent = parentSymbol;\n            result.links.declaredType = unresolvedType;\n          }\n          return result;\n        }\n        return unknownSymbol;\n      }\n      function resolveTypeReferenceName(typeReference, meaning, ignoreErrors) {\n        const name = getTypeReferenceName(typeReference);\n        if (!name) {\n          return unknownSymbol;\n        }\n        const symbol = resolveEntityName(name, meaning, ignoreErrors);\n        return symbol && symbol !== unknownSymbol ? symbol : ignoreErrors ? unknownSymbol : getUnresolvedSymbolForEntityName(name);\n      }\n      function getTypeReferenceType(node, symbol) {\n        if (symbol === unknownSymbol) {\n          return errorType;\n        }\n        symbol = getExpandoSymbol(symbol) || symbol;\n        if (symbol.flags & (32 | 64)) {\n          return getTypeFromClassOrInterfaceReference(node, symbol);\n        }\n        if (symbol.flags & 524288) {\n          return getTypeFromTypeAliasReference(node, symbol);\n        }\n        const res = tryGetDeclaredTypeOfSymbol(symbol);\n        if (res) {\n          return checkNoTypeArguments(node, symbol) ? getRegularTypeOfLiteralType(res) : errorType;\n        }\n        if (symbol.flags & 111551 && isJSDocTypeReference(node)) {\n          const jsdocType = getTypeFromJSDocValueReference(node, symbol);\n          if (jsdocType) {\n            return jsdocType;\n          } else {\n            resolveTypeReferenceName(\n              node,\n              788968\n              /* Type */\n            );\n            return getTypeOfSymbol(symbol);\n          }\n        }\n        return errorType;\n      }\n      function getTypeFromJSDocValueReference(node, symbol) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedJSDocType) {\n          const valueType = getTypeOfSymbol(symbol);\n          let typeType = valueType;\n          if (symbol.valueDeclaration) {\n            const isImportTypeWithQualifier = node.kind === 202 && node.qualifier;\n            if (valueType.symbol && valueType.symbol !== symbol && isImportTypeWithQualifier) {\n              typeType = getTypeReferenceType(node, valueType.symbol);\n            }\n          }\n          links.resolvedJSDocType = typeType;\n        }\n        return links.resolvedJSDocType;\n      }\n      function getSubstitutionType(baseType, constraint) {\n        if (constraint.flags & 3 || constraint === baseType || baseType.flags & 1) {\n          return baseType;\n        }\n        const id = `${getTypeId(baseType)}>${getTypeId(constraint)}`;\n        const cached = substitutionTypes.get(id);\n        if (cached) {\n          return cached;\n        }\n        const result = createType(\n          33554432\n          /* Substitution */\n        );\n        result.baseType = baseType;\n        result.constraint = constraint;\n        substitutionTypes.set(id, result);\n        return result;\n      }\n      function getSubstitutionIntersection(substitutionType) {\n        return getIntersectionType([substitutionType.constraint, substitutionType.baseType]);\n      }\n      function isUnaryTupleTypeNode(node) {\n        return node.kind === 186 && node.elements.length === 1;\n      }\n      function getImpliedConstraint(type, checkNode, extendsNode) {\n        return isUnaryTupleTypeNode(checkNode) && isUnaryTupleTypeNode(extendsNode) ? getImpliedConstraint(type, checkNode.elements[0], extendsNode.elements[0]) : getActualTypeVariable(getTypeFromTypeNode(checkNode)) === getActualTypeVariable(type) ? getTypeFromTypeNode(extendsNode) : void 0;\n      }\n      function getConditionalFlowTypeOfType(type, node) {\n        let constraints;\n        let covariant = true;\n        while (node && !isStatement(node) && node.kind !== 323) {\n          const parent2 = node.parent;\n          if (parent2.kind === 166) {\n            covariant = !covariant;\n          }\n          if ((covariant || type.flags & 8650752) && parent2.kind === 191 && node === parent2.trueType) {\n            const constraint = getImpliedConstraint(type, parent2.checkType, parent2.extendsType);\n            if (constraint) {\n              constraints = append(constraints, constraint);\n            }\n          } else if (type.flags & 262144 && parent2.kind === 197 && node === parent2.type) {\n            const mappedType = getTypeFromTypeNode(parent2);\n            if (getTypeParameterFromMappedType(mappedType) === getActualTypeVariable(type)) {\n              const typeParameter = getHomomorphicTypeVariable(mappedType);\n              if (typeParameter) {\n                const constraint = getConstraintOfTypeParameter(typeParameter);\n                if (constraint && everyType(constraint, isArrayOrTupleType)) {\n                  constraints = append(constraints, getUnionType([numberType, numericStringType]));\n                }\n              }\n            }\n          }\n          node = parent2;\n        }\n        return constraints ? getSubstitutionType(type, getIntersectionType(constraints)) : type;\n      }\n      function isJSDocTypeReference(node) {\n        return !!(node.flags & 8388608) && (node.kind === 180 || node.kind === 202);\n      }\n      function checkNoTypeArguments(node, symbol) {\n        if (node.typeArguments) {\n          error(node, Diagnostics.Type_0_is_not_generic, symbol ? symbolToString(symbol) : node.typeName ? declarationNameToString(node.typeName) : anon);\n          return false;\n        }\n        return true;\n      }\n      function getIntendedTypeFromJSDocTypeReference(node) {\n        if (isIdentifier(node.typeName)) {\n          const typeArgs = node.typeArguments;\n          switch (node.typeName.escapedText) {\n            case \"String\":\n              checkNoTypeArguments(node);\n              return stringType;\n            case \"Number\":\n              checkNoTypeArguments(node);\n              return numberType;\n            case \"Boolean\":\n              checkNoTypeArguments(node);\n              return booleanType;\n            case \"Void\":\n              checkNoTypeArguments(node);\n              return voidType;\n            case \"Undefined\":\n              checkNoTypeArguments(node);\n              return undefinedType;\n            case \"Null\":\n              checkNoTypeArguments(node);\n              return nullType;\n            case \"Function\":\n            case \"function\":\n              checkNoTypeArguments(node);\n              return globalFunctionType;\n            case \"array\":\n              return (!typeArgs || !typeArgs.length) && !noImplicitAny ? anyArrayType : void 0;\n            case \"promise\":\n              return (!typeArgs || !typeArgs.length) && !noImplicitAny ? createPromiseType(anyType) : void 0;\n            case \"Object\":\n              if (typeArgs && typeArgs.length === 2) {\n                if (isJSDocIndexSignature(node)) {\n                  const indexed = getTypeFromTypeNode(typeArgs[0]);\n                  const target = getTypeFromTypeNode(typeArgs[1]);\n                  const indexInfo = indexed === stringType || indexed === numberType ? [createIndexInfo(\n                    indexed,\n                    target,\n                    /*isReadonly*/\n                    false\n                  )] : emptyArray;\n                  return createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, indexInfo);\n                }\n                return anyType;\n              }\n              checkNoTypeArguments(node);\n              return !noImplicitAny ? anyType : void 0;\n          }\n        }\n      }\n      function getTypeFromJSDocNullableTypeNode(node) {\n        const type = getTypeFromTypeNode(node.type);\n        return strictNullChecks ? getNullableType(\n          type,\n          65536\n          /* Null */\n        ) : type;\n      }\n      function getTypeFromTypeReference(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          if (isConstTypeReference(node) && isAssertionExpression(node.parent)) {\n            links.resolvedSymbol = unknownSymbol;\n            return links.resolvedType = checkExpressionCached(node.parent.expression);\n          }\n          let symbol;\n          let type;\n          const meaning = 788968;\n          if (isJSDocTypeReference(node)) {\n            type = getIntendedTypeFromJSDocTypeReference(node);\n            if (!type) {\n              symbol = resolveTypeReferenceName(\n                node,\n                meaning,\n                /*ignoreErrors*/\n                true\n              );\n              if (symbol === unknownSymbol) {\n                symbol = resolveTypeReferenceName(\n                  node,\n                  meaning | 111551\n                  /* Value */\n                );\n              } else {\n                resolveTypeReferenceName(node, meaning);\n              }\n              type = getTypeReferenceType(node, symbol);\n            }\n          }\n          if (!type) {\n            symbol = resolveTypeReferenceName(node, meaning);\n            type = getTypeReferenceType(node, symbol);\n          }\n          links.resolvedSymbol = symbol;\n          links.resolvedType = type;\n        }\n        return links.resolvedType;\n      }\n      function typeArgumentsFromTypeReferenceNode(node) {\n        return map(node.typeArguments, getTypeFromTypeNode);\n      }\n      function getTypeFromTypeQueryNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const type = checkExpressionWithTypeArguments(node);\n          links.resolvedType = getRegularTypeOfLiteralType(getWidenedType(type));\n        }\n        return links.resolvedType;\n      }\n      function getTypeOfGlobalSymbol(symbol, arity) {\n        function getTypeDeclaration(symbol2) {\n          const declarations = symbol2.declarations;\n          if (declarations) {\n            for (const declaration of declarations) {\n              switch (declaration.kind) {\n                case 260:\n                case 261:\n                case 263:\n                  return declaration;\n              }\n            }\n          }\n        }\n        if (!symbol) {\n          return arity ? emptyGenericType : emptyObjectType;\n        }\n        const type = getDeclaredTypeOfSymbol(symbol);\n        if (!(type.flags & 524288)) {\n          error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_be_a_class_or_interface_type, symbolName(symbol));\n          return arity ? emptyGenericType : emptyObjectType;\n        }\n        if (length(type.typeParameters) !== arity) {\n          error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity);\n          return arity ? emptyGenericType : emptyObjectType;\n        }\n        return type;\n      }\n      function getGlobalValueSymbol(name, reportErrors2) {\n        return getGlobalSymbol(name, 111551, reportErrors2 ? Diagnostics.Cannot_find_global_value_0 : void 0);\n      }\n      function getGlobalTypeSymbol(name, reportErrors2) {\n        return getGlobalSymbol(name, 788968, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0);\n      }\n      function getGlobalTypeAliasSymbol(name, arity, reportErrors2) {\n        const symbol = getGlobalSymbol(name, 788968, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0);\n        if (symbol) {\n          getDeclaredTypeOfSymbol(symbol);\n          if (length(getSymbolLinks(symbol).typeParameters) !== arity) {\n            const decl = symbol.declarations && find(symbol.declarations, isTypeAliasDeclaration);\n            error(decl, Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity);\n            return void 0;\n          }\n        }\n        return symbol;\n      }\n      function getGlobalSymbol(name, meaning, diagnostic) {\n        return resolveName(\n          void 0,\n          name,\n          meaning,\n          diagnostic,\n          name,\n          /*isUse*/\n          false,\n          /*excludeGlobals*/\n          false,\n          /*getSpellingSuggestions*/\n          false\n        );\n      }\n      function getGlobalType(name, arity, reportErrors2) {\n        const symbol = getGlobalTypeSymbol(name, reportErrors2);\n        return symbol || reportErrors2 ? getTypeOfGlobalSymbol(symbol, arity) : void 0;\n      }\n      function getGlobalTypedPropertyDescriptorType() {\n        return deferredGlobalTypedPropertyDescriptorType || (deferredGlobalTypedPropertyDescriptorType = getGlobalType(\n          \"TypedPropertyDescriptor\",\n          /*arity*/\n          1,\n          /*reportErrors*/\n          true\n        ) || emptyGenericType);\n      }\n      function getGlobalTemplateStringsArrayType() {\n        return deferredGlobalTemplateStringsArrayType || (deferredGlobalTemplateStringsArrayType = getGlobalType(\n          \"TemplateStringsArray\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        ) || emptyObjectType);\n      }\n      function getGlobalImportMetaType() {\n        return deferredGlobalImportMetaType || (deferredGlobalImportMetaType = getGlobalType(\n          \"ImportMeta\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        ) || emptyObjectType);\n      }\n      function getGlobalImportMetaExpressionType() {\n        if (!deferredGlobalImportMetaExpressionType) {\n          const symbol = createSymbol(0, \"ImportMetaExpression\");\n          const importMetaType = getGlobalImportMetaType();\n          const metaPropertySymbol = createSymbol(\n            4,\n            \"meta\",\n            8\n            /* Readonly */\n          );\n          metaPropertySymbol.parent = symbol;\n          metaPropertySymbol.links.type = importMetaType;\n          const members = createSymbolTable([metaPropertySymbol]);\n          symbol.members = members;\n          deferredGlobalImportMetaExpressionType = createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray);\n        }\n        return deferredGlobalImportMetaExpressionType;\n      }\n      function getGlobalImportCallOptionsType(reportErrors2) {\n        return deferredGlobalImportCallOptionsType || (deferredGlobalImportCallOptionsType = getGlobalType(\n          \"ImportCallOptions\",\n          /*arity*/\n          0,\n          reportErrors2\n        )) || emptyObjectType;\n      }\n      function getGlobalESSymbolConstructorSymbol(reportErrors2) {\n        return deferredGlobalESSymbolConstructorSymbol || (deferredGlobalESSymbolConstructorSymbol = getGlobalValueSymbol(\"Symbol\", reportErrors2));\n      }\n      function getGlobalESSymbolConstructorTypeSymbol(reportErrors2) {\n        return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol(\"SymbolConstructor\", reportErrors2));\n      }\n      function getGlobalESSymbolType() {\n        return deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType(\n          \"Symbol\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          false\n        )) || emptyObjectType;\n      }\n      function getGlobalPromiseType(reportErrors2) {\n        return deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType(\n          \"Promise\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalPromiseLikeType(reportErrors2) {\n        return deferredGlobalPromiseLikeType || (deferredGlobalPromiseLikeType = getGlobalType(\n          \"PromiseLike\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalPromiseConstructorSymbol(reportErrors2) {\n        return deferredGlobalPromiseConstructorSymbol || (deferredGlobalPromiseConstructorSymbol = getGlobalValueSymbol(\"Promise\", reportErrors2));\n      }\n      function getGlobalPromiseConstructorLikeType(reportErrors2) {\n        return deferredGlobalPromiseConstructorLikeType || (deferredGlobalPromiseConstructorLikeType = getGlobalType(\n          \"PromiseConstructorLike\",\n          /*arity*/\n          0,\n          reportErrors2\n        )) || emptyObjectType;\n      }\n      function getGlobalAsyncIterableType(reportErrors2) {\n        return deferredGlobalAsyncIterableType || (deferredGlobalAsyncIterableType = getGlobalType(\n          \"AsyncIterable\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalAsyncIteratorType(reportErrors2) {\n        return deferredGlobalAsyncIteratorType || (deferredGlobalAsyncIteratorType = getGlobalType(\n          \"AsyncIterator\",\n          /*arity*/\n          3,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalAsyncIterableIteratorType(reportErrors2) {\n        return deferredGlobalAsyncIterableIteratorType || (deferredGlobalAsyncIterableIteratorType = getGlobalType(\n          \"AsyncIterableIterator\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalAsyncGeneratorType(reportErrors2) {\n        return deferredGlobalAsyncGeneratorType || (deferredGlobalAsyncGeneratorType = getGlobalType(\n          \"AsyncGenerator\",\n          /*arity*/\n          3,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalIterableType(reportErrors2) {\n        return deferredGlobalIterableType || (deferredGlobalIterableType = getGlobalType(\n          \"Iterable\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalIteratorType(reportErrors2) {\n        return deferredGlobalIteratorType || (deferredGlobalIteratorType = getGlobalType(\n          \"Iterator\",\n          /*arity*/\n          3,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalIterableIteratorType(reportErrors2) {\n        return deferredGlobalIterableIteratorType || (deferredGlobalIterableIteratorType = getGlobalType(\n          \"IterableIterator\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalGeneratorType(reportErrors2) {\n        return deferredGlobalGeneratorType || (deferredGlobalGeneratorType = getGlobalType(\n          \"Generator\",\n          /*arity*/\n          3,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalIteratorYieldResultType(reportErrors2) {\n        return deferredGlobalIteratorYieldResultType || (deferredGlobalIteratorYieldResultType = getGlobalType(\n          \"IteratorYieldResult\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalIteratorReturnResultType(reportErrors2) {\n        return deferredGlobalIteratorReturnResultType || (deferredGlobalIteratorReturnResultType = getGlobalType(\n          \"IteratorReturnResult\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) || emptyGenericType;\n      }\n      function getGlobalTypeOrUndefined(name, arity = 0) {\n        const symbol = getGlobalSymbol(\n          name,\n          788968,\n          /*diagnostic*/\n          void 0\n        );\n        return symbol && getTypeOfGlobalSymbol(symbol, arity);\n      }\n      function getGlobalExtractSymbol() {\n        deferredGlobalExtractSymbol || (deferredGlobalExtractSymbol = getGlobalTypeAliasSymbol(\n          \"Extract\",\n          /*arity*/\n          2,\n          /*reportErrors*/\n          true\n        ) || unknownSymbol);\n        return deferredGlobalExtractSymbol === unknownSymbol ? void 0 : deferredGlobalExtractSymbol;\n      }\n      function getGlobalOmitSymbol() {\n        deferredGlobalOmitSymbol || (deferredGlobalOmitSymbol = getGlobalTypeAliasSymbol(\n          \"Omit\",\n          /*arity*/\n          2,\n          /*reportErrors*/\n          true\n        ) || unknownSymbol);\n        return deferredGlobalOmitSymbol === unknownSymbol ? void 0 : deferredGlobalOmitSymbol;\n      }\n      function getGlobalAwaitedSymbol(reportErrors2) {\n        deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol(\n          \"Awaited\",\n          /*arity*/\n          1,\n          reportErrors2\n        ) || (reportErrors2 ? unknownSymbol : void 0));\n        return deferredGlobalAwaitedSymbol === unknownSymbol ? void 0 : deferredGlobalAwaitedSymbol;\n      }\n      function getGlobalBigIntType() {\n        return deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType(\n          \"BigInt\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          false\n        )) || emptyObjectType;\n      }\n      function getGlobalClassDecoratorContextType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassDecoratorContextType != null ? deferredGlobalClassDecoratorContextType : deferredGlobalClassDecoratorContextType = getGlobalType(\n          \"ClassDecoratorContext\",\n          /*arity*/\n          1,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassMethodDecoratorContextType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassMethodDecoratorContextType != null ? deferredGlobalClassMethodDecoratorContextType : deferredGlobalClassMethodDecoratorContextType = getGlobalType(\n          \"ClassMethodDecoratorContext\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassGetterDecoratorContextType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassGetterDecoratorContextType != null ? deferredGlobalClassGetterDecoratorContextType : deferredGlobalClassGetterDecoratorContextType = getGlobalType(\n          \"ClassGetterDecoratorContext\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassSetterDecoratorContextType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassSetterDecoratorContextType != null ? deferredGlobalClassSetterDecoratorContextType : deferredGlobalClassSetterDecoratorContextType = getGlobalType(\n          \"ClassSetterDecoratorContext\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassAccessorDecoratorContextType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassAccessorDecoratorContextType != null ? deferredGlobalClassAccessorDecoratorContextType : deferredGlobalClassAccessorDecoratorContextType = getGlobalType(\n          \"ClassAccessorDecoratorContext\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassAccessorDecoratorTargetType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassAccessorDecoratorTargetType != null ? deferredGlobalClassAccessorDecoratorTargetType : deferredGlobalClassAccessorDecoratorTargetType = getGlobalType(\n          \"ClassAccessorDecoratorTarget\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassAccessorDecoratorResultType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassAccessorDecoratorResultType != null ? deferredGlobalClassAccessorDecoratorResultType : deferredGlobalClassAccessorDecoratorResultType = getGlobalType(\n          \"ClassAccessorDecoratorResult\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalClassFieldDecoratorContextType(reportErrors2) {\n        var _a22;\n        return (_a22 = deferredGlobalClassFieldDecoratorContextType != null ? deferredGlobalClassFieldDecoratorContextType : deferredGlobalClassFieldDecoratorContextType = getGlobalType(\n          \"ClassFieldDecoratorContext\",\n          /*arity*/\n          2,\n          reportErrors2\n        )) != null ? _a22 : emptyGenericType;\n      }\n      function getGlobalNaNSymbol() {\n        return deferredGlobalNaNSymbol || (deferredGlobalNaNSymbol = getGlobalValueSymbol(\n          \"NaN\",\n          /*reportErrors*/\n          false\n        ));\n      }\n      function getGlobalRecordSymbol() {\n        deferredGlobalRecordSymbol || (deferredGlobalRecordSymbol = getGlobalTypeAliasSymbol(\n          \"Record\",\n          /*arity*/\n          2,\n          /*reportErrors*/\n          true\n        ) || unknownSymbol);\n        return deferredGlobalRecordSymbol === unknownSymbol ? void 0 : deferredGlobalRecordSymbol;\n      }\n      function createTypeFromGenericGlobalType(genericGlobalType, typeArguments) {\n        return genericGlobalType !== emptyGenericType ? createTypeReference(genericGlobalType, typeArguments) : emptyObjectType;\n      }\n      function createTypedPropertyDescriptorType(propertyType) {\n        return createTypeFromGenericGlobalType(getGlobalTypedPropertyDescriptorType(), [propertyType]);\n      }\n      function createIterableType(iteratedType) {\n        return createTypeFromGenericGlobalType(getGlobalIterableType(\n          /*reportErrors*/\n          true\n        ), [iteratedType]);\n      }\n      function createArrayType(elementType, readonly) {\n        return createTypeFromGenericGlobalType(readonly ? globalReadonlyArrayType : globalArrayType, [elementType]);\n      }\n      function getTupleElementFlags(node) {\n        switch (node.kind) {\n          case 187:\n            return 2;\n          case 188:\n            return getRestTypeElementFlags(node);\n          case 199:\n            return node.questionToken ? 2 : node.dotDotDotToken ? getRestTypeElementFlags(node) : 1;\n          default:\n            return 1;\n        }\n      }\n      function getRestTypeElementFlags(node) {\n        return getArrayElementTypeNode(node.type) ? 4 : 8;\n      }\n      function getArrayOrTupleTargetType(node) {\n        const readonly = isReadonlyTypeOperator(node.parent);\n        const elementType = getArrayElementTypeNode(node);\n        if (elementType) {\n          return readonly ? globalReadonlyArrayType : globalArrayType;\n        }\n        const elementFlags = map(node.elements, getTupleElementFlags);\n        const missingName = some(\n          node.elements,\n          (e) => e.kind !== 199\n          /* NamedTupleMember */\n        );\n        return getTupleTargetType(\n          elementFlags,\n          readonly,\n          /*associatedNames*/\n          missingName ? void 0 : node.elements\n        );\n      }\n      function isDeferredTypeReferenceNode(node, hasDefaultTypeArguments) {\n        return !!getAliasSymbolForTypeNode(node) || isResolvedByTypeAlias(node) && (node.kind === 185 ? mayResolveTypeAlias(node.elementType) : node.kind === 186 ? some(node.elements, mayResolveTypeAlias) : hasDefaultTypeArguments || some(node.typeArguments, mayResolveTypeAlias));\n      }\n      function isResolvedByTypeAlias(node) {\n        const parent2 = node.parent;\n        switch (parent2.kind) {\n          case 193:\n          case 199:\n          case 180:\n          case 189:\n          case 190:\n          case 196:\n          case 191:\n          case 195:\n          case 185:\n          case 186:\n            return isResolvedByTypeAlias(parent2);\n          case 262:\n            return true;\n        }\n        return false;\n      }\n      function mayResolveTypeAlias(node) {\n        switch (node.kind) {\n          case 180:\n            return isJSDocTypeReference(node) || !!(resolveTypeReferenceName(\n              node,\n              788968\n              /* Type */\n            ).flags & 524288);\n          case 183:\n            return true;\n          case 195:\n            return node.operator !== 156 && mayResolveTypeAlias(node.type);\n          case 193:\n          case 187:\n          case 199:\n          case 319:\n          case 317:\n          case 318:\n          case 312:\n            return mayResolveTypeAlias(node.type);\n          case 188:\n            return node.type.kind !== 185 || mayResolveTypeAlias(node.type.elementType);\n          case 189:\n          case 190:\n            return some(node.types, mayResolveTypeAlias);\n          case 196:\n            return mayResolveTypeAlias(node.objectType) || mayResolveTypeAlias(node.indexType);\n          case 191:\n            return mayResolveTypeAlias(node.checkType) || mayResolveTypeAlias(node.extendsType) || mayResolveTypeAlias(node.trueType) || mayResolveTypeAlias(node.falseType);\n        }\n        return false;\n      }\n      function getTypeFromArrayOrTupleTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const target = getArrayOrTupleTargetType(node);\n          if (target === emptyGenericType) {\n            links.resolvedType = emptyObjectType;\n          } else if (!(node.kind === 186 && some(node.elements, (e) => !!(getTupleElementFlags(e) & 8))) && isDeferredTypeReferenceNode(node)) {\n            links.resolvedType = node.kind === 186 && node.elements.length === 0 ? target : createDeferredTypeReference(\n              target,\n              node,\n              /*mapper*/\n              void 0\n            );\n          } else {\n            const elementTypes = node.kind === 185 ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode);\n            links.resolvedType = createNormalizedTypeReference(target, elementTypes);\n          }\n        }\n        return links.resolvedType;\n      }\n      function isReadonlyTypeOperator(node) {\n        return isTypeOperatorNode(node) && node.operator === 146;\n      }\n      function createTupleType(elementTypes, elementFlags, readonly = false, namedMemberDeclarations) {\n        const tupleTarget = getTupleTargetType(elementFlags || map(\n          elementTypes,\n          (_) => 1\n          /* Required */\n        ), readonly, namedMemberDeclarations);\n        return tupleTarget === emptyGenericType ? emptyObjectType : elementTypes.length ? createNormalizedTypeReference(tupleTarget, elementTypes) : tupleTarget;\n      }\n      function getTupleTargetType(elementFlags, readonly, namedMemberDeclarations) {\n        if (elementFlags.length === 1 && elementFlags[0] & 4) {\n          return readonly ? globalReadonlyArrayType : globalArrayType;\n        }\n        const key = map(elementFlags, (f) => f & 1 ? \"#\" : f & 2 ? \"?\" : f & 4 ? \".\" : \"*\").join() + (readonly ? \"R\" : \"\") + (namedMemberDeclarations && namedMemberDeclarations.length ? \",\" + map(namedMemberDeclarations, getNodeId).join(\",\") : \"\");\n        let type = tupleTypes.get(key);\n        if (!type) {\n          tupleTypes.set(key, type = createTupleTargetType(elementFlags, readonly, namedMemberDeclarations));\n        }\n        return type;\n      }\n      function createTupleTargetType(elementFlags, readonly, namedMemberDeclarations) {\n        const arity = elementFlags.length;\n        const minLength = countWhere2(elementFlags, (f) => !!(f & (1 | 8)));\n        let typeParameters;\n        const properties = [];\n        let combinedFlags = 0;\n        if (arity) {\n          typeParameters = new Array(arity);\n          for (let i = 0; i < arity; i++) {\n            const typeParameter = typeParameters[i] = createTypeParameter();\n            const flags = elementFlags[i];\n            combinedFlags |= flags;\n            if (!(combinedFlags & 12)) {\n              const property = createSymbol(\n                4 | (flags & 2 ? 16777216 : 0),\n                \"\" + i,\n                readonly ? 8 : 0\n              );\n              property.links.tupleLabelDeclaration = namedMemberDeclarations == null ? void 0 : namedMemberDeclarations[i];\n              property.links.type = typeParameter;\n              properties.push(property);\n            }\n          }\n        }\n        const fixedLength = properties.length;\n        const lengthSymbol = createSymbol(4, \"length\", readonly ? 8 : 0);\n        if (combinedFlags & 12) {\n          lengthSymbol.links.type = numberType;\n        } else {\n          const literalTypes = [];\n          for (let i = minLength; i <= arity; i++)\n            literalTypes.push(getNumberLiteralType(i));\n          lengthSymbol.links.type = getUnionType(literalTypes);\n        }\n        properties.push(lengthSymbol);\n        const type = createObjectType(\n          8 | 4\n          /* Reference */\n        );\n        type.typeParameters = typeParameters;\n        type.outerTypeParameters = void 0;\n        type.localTypeParameters = typeParameters;\n        type.instantiations = /* @__PURE__ */ new Map();\n        type.instantiations.set(getTypeListId(type.typeParameters), type);\n        type.target = type;\n        type.resolvedTypeArguments = type.typeParameters;\n        type.thisType = createTypeParameter();\n        type.thisType.isThisType = true;\n        type.thisType.constraint = type;\n        type.declaredProperties = properties;\n        type.declaredCallSignatures = emptyArray;\n        type.declaredConstructSignatures = emptyArray;\n        type.declaredIndexInfos = emptyArray;\n        type.elementFlags = elementFlags;\n        type.minLength = minLength;\n        type.fixedLength = fixedLength;\n        type.hasRestElement = !!(combinedFlags & 12);\n        type.combinedFlags = combinedFlags;\n        type.readonly = readonly;\n        type.labeledElementDeclarations = namedMemberDeclarations;\n        return type;\n      }\n      function createNormalizedTypeReference(target, typeArguments) {\n        return target.objectFlags & 8 ? createNormalizedTupleType(target, typeArguments) : createTypeReference(target, typeArguments);\n      }\n      function createNormalizedTupleType(target, elementTypes) {\n        var _a22, _b3, _c;\n        if (!(target.combinedFlags & 14)) {\n          return createTypeReference(target, elementTypes);\n        }\n        if (target.combinedFlags & 8) {\n          const unionIndex = findIndex(elementTypes, (t, i) => !!(target.elementFlags[i] & 8 && t.flags & (131072 | 1048576)));\n          if (unionIndex >= 0) {\n            return checkCrossProductUnion(map(elementTypes, (t, i) => target.elementFlags[i] & 8 ? t : unknownType)) ? mapType(elementTypes[unionIndex], (t) => createNormalizedTupleType(target, replaceElement(elementTypes, unionIndex, t))) : errorType;\n          }\n        }\n        const expandedTypes = [];\n        const expandedFlags = [];\n        let expandedDeclarations = [];\n        let lastRequiredIndex = -1;\n        let firstRestIndex = -1;\n        let lastOptionalOrRestIndex = -1;\n        for (let i = 0; i < elementTypes.length; i++) {\n          const type = elementTypes[i];\n          const flags = target.elementFlags[i];\n          if (flags & 8) {\n            if (type.flags & 58982400 || isGenericMappedType(type)) {\n              addElement(type, 8, (_a22 = target.labeledElementDeclarations) == null ? void 0 : _a22[i]);\n            } else if (isTupleType(type)) {\n              const elements = getTypeArguments(type);\n              if (elements.length + expandedTypes.length >= 1e4) {\n                error(currentNode, isPartOfTypeNode(currentNode) ? Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent : Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent);\n                return errorType;\n              }\n              forEach(elements, (t, n) => {\n                var _a32;\n                return addElement(t, type.target.elementFlags[n], (_a32 = type.target.labeledElementDeclarations) == null ? void 0 : _a32[n]);\n              });\n            } else {\n              addElement(isArrayLikeType(type) && getIndexTypeOfType(type, numberType) || errorType, 4, (_b3 = target.labeledElementDeclarations) == null ? void 0 : _b3[i]);\n            }\n          } else {\n            addElement(type, flags, (_c = target.labeledElementDeclarations) == null ? void 0 : _c[i]);\n          }\n        }\n        for (let i = 0; i < lastRequiredIndex; i++) {\n          if (expandedFlags[i] & 2)\n            expandedFlags[i] = 1;\n        }\n        if (firstRestIndex >= 0 && firstRestIndex < lastOptionalOrRestIndex) {\n          expandedTypes[firstRestIndex] = getUnionType(sameMap(\n            expandedTypes.slice(firstRestIndex, lastOptionalOrRestIndex + 1),\n            (t, i) => expandedFlags[firstRestIndex + i] & 8 ? getIndexedAccessType(t, numberType) : t\n          ));\n          expandedTypes.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);\n          expandedFlags.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);\n          expandedDeclarations == null ? void 0 : expandedDeclarations.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);\n        }\n        const tupleTarget = getTupleTargetType(expandedFlags, target.readonly, expandedDeclarations);\n        return tupleTarget === emptyGenericType ? emptyObjectType : expandedFlags.length ? createTypeReference(tupleTarget, expandedTypes) : tupleTarget;\n        function addElement(type, flags, declaration) {\n          if (flags & 1) {\n            lastRequiredIndex = expandedFlags.length;\n          }\n          if (flags & 4 && firstRestIndex < 0) {\n            firstRestIndex = expandedFlags.length;\n          }\n          if (flags & (2 | 4)) {\n            lastOptionalOrRestIndex = expandedFlags.length;\n          }\n          expandedTypes.push(flags & 2 ? addOptionality(\n            type,\n            /*isProperty*/\n            true\n          ) : type);\n          expandedFlags.push(flags);\n          if (expandedDeclarations && declaration) {\n            expandedDeclarations.push(declaration);\n          } else {\n            expandedDeclarations = void 0;\n          }\n        }\n      }\n      function sliceTupleType(type, index, endSkipCount = 0) {\n        const target = type.target;\n        const endIndex = getTypeReferenceArity(type) - endSkipCount;\n        return index > target.fixedLength ? getRestArrayTypeOfTupleType(type) || createTupleType(emptyArray) : createTupleType(\n          getTypeArguments(type).slice(index, endIndex),\n          target.elementFlags.slice(index, endIndex),\n          /*readonly*/\n          false,\n          target.labeledElementDeclarations && target.labeledElementDeclarations.slice(index, endIndex)\n        );\n      }\n      function getKnownKeysOfTupleType(type) {\n        return getUnionType(append(\n          arrayOf(type.target.fixedLength, (i) => getStringLiteralType(\"\" + i)),\n          getIndexType(type.target.readonly ? globalReadonlyArrayType : globalArrayType)\n        ));\n      }\n      function getStartElementCount(type, flags) {\n        const index = findIndex(type.elementFlags, (f) => !(f & flags));\n        return index >= 0 ? index : type.elementFlags.length;\n      }\n      function getEndElementCount(type, flags) {\n        return type.elementFlags.length - findLastIndex(type.elementFlags, (f) => !(f & flags)) - 1;\n      }\n      function getTypeFromOptionalTypeNode(node) {\n        return addOptionality(\n          getTypeFromTypeNode(node.type),\n          /*isProperty*/\n          true\n        );\n      }\n      function getTypeId(type) {\n        return type.id;\n      }\n      function containsType(types, type) {\n        return binarySearch(types, type, getTypeId, compareValues) >= 0;\n      }\n      function insertType(types, type) {\n        const index = binarySearch(types, type, getTypeId, compareValues);\n        if (index < 0) {\n          types.splice(~index, 0, type);\n          return true;\n        }\n        return false;\n      }\n      function addTypeToUnion(typeSet, includes, type) {\n        const flags = type.flags;\n        if (flags & 1048576) {\n          return addTypesToUnion(typeSet, includes | (isNamedUnionType(type) ? 1048576 : 0), type.types);\n        }\n        if (!(flags & 131072)) {\n          includes |= flags & 205258751;\n          if (flags & 465829888)\n            includes |= 33554432;\n          if (type === wildcardType)\n            includes |= 8388608;\n          if (!strictNullChecks && flags & 98304) {\n            if (!(getObjectFlags(type) & 65536))\n              includes |= 4194304;\n          } else {\n            const len = typeSet.length;\n            const index = len && type.id > typeSet[len - 1].id ? ~len : binarySearch(typeSet, type, getTypeId, compareValues);\n            if (index < 0) {\n              typeSet.splice(~index, 0, type);\n            }\n          }\n        }\n        return includes;\n      }\n      function addTypesToUnion(typeSet, includes, types) {\n        for (const type of types) {\n          includes = addTypeToUnion(typeSet, includes, type);\n        }\n        return includes;\n      }\n      function removeSubtypes(types, hasObjectTypes) {\n        var _a22;\n        if (types.length < 2) {\n          return types;\n        }\n        const id = getTypeListId(types);\n        const match = subtypeReductionCache.get(id);\n        if (match) {\n          return match;\n        }\n        const hasEmptyObject = hasObjectTypes && some(types, (t) => !!(t.flags & 524288) && !isGenericMappedType(t) && isEmptyResolvedType(resolveStructuredTypeMembers(t)));\n        const len = types.length;\n        let i = len;\n        let count = 0;\n        while (i > 0) {\n          i--;\n          const source = types[i];\n          if (hasEmptyObject || source.flags & 469499904) {\n            const keyProperty = source.flags & (524288 | 2097152 | 58982400) ? find(getPropertiesOfType(source), (p) => isUnitType(getTypeOfSymbol(p))) : void 0;\n            const keyPropertyType = keyProperty && getRegularTypeOfLiteralType(getTypeOfSymbol(keyProperty));\n            for (const target of types) {\n              if (source !== target) {\n                if (count === 1e5) {\n                  const estimatedCount = count / (len - i) * len;\n                  if (estimatedCount > 1e6) {\n                    (_a22 = tracing) == null ? void 0 : _a22.instant(tracing.Phase.CheckTypes, \"removeSubtypes_DepthLimit\", { typeIds: types.map((t) => t.id) });\n                    error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);\n                    return void 0;\n                  }\n                }\n                count++;\n                if (keyProperty && target.flags & (524288 | 2097152 | 58982400)) {\n                  const t = getTypeOfPropertyOfType(target, keyProperty.escapedName);\n                  if (t && isUnitType(t) && getRegularTypeOfLiteralType(t) !== keyPropertyType) {\n                    continue;\n                  }\n                }\n                if (isTypeRelatedTo(source, target, strictSubtypeRelation) && (!(getObjectFlags(getTargetType(source)) & 1) || !(getObjectFlags(getTargetType(target)) & 1) || isTypeDerivedFrom(source, target))) {\n                  orderedRemoveItemAt(types, i);\n                  break;\n                }\n              }\n            }\n          }\n        }\n        subtypeReductionCache.set(id, types);\n        return types;\n      }\n      function removeRedundantLiteralTypes(types, includes, reduceVoidUndefined) {\n        let i = types.length;\n        while (i > 0) {\n          i--;\n          const t = types[i];\n          const flags = t.flags;\n          const remove = flags & (128 | 134217728 | 268435456) && includes & 4 || flags & 256 && includes & 8 || flags & 2048 && includes & 64 || flags & 8192 && includes & 4096 || reduceVoidUndefined && flags & 32768 && includes & 16384 || isFreshLiteralType(t) && containsType(types, t.regularType);\n          if (remove) {\n            orderedRemoveItemAt(types, i);\n          }\n        }\n      }\n      function removeStringLiteralsMatchedByTemplateLiterals(types) {\n        const templates = filter(types, (t) => !!(t.flags & 134217728) && isPatternLiteralType(t));\n        if (templates.length) {\n          let i = types.length;\n          while (i > 0) {\n            i--;\n            const t = types[i];\n            if (t.flags & 128 && some(templates, (template) => isTypeMatchedByTemplateLiteralType(t, template))) {\n              orderedRemoveItemAt(types, i);\n            }\n          }\n        }\n      }\n      function isNamedUnionType(type) {\n        return !!(type.flags & 1048576 && (type.aliasSymbol || type.origin));\n      }\n      function addNamedUnions(namedUnions, types) {\n        for (const t of types) {\n          if (t.flags & 1048576) {\n            const origin = t.origin;\n            if (t.aliasSymbol || origin && !(origin.flags & 1048576)) {\n              pushIfUnique(namedUnions, t);\n            } else if (origin && origin.flags & 1048576) {\n              addNamedUnions(namedUnions, origin.types);\n            }\n          }\n        }\n      }\n      function createOriginUnionOrIntersectionType(flags, types) {\n        const result = createOriginType(flags);\n        result.types = types;\n        return result;\n      }\n      function getUnionType(types, unionReduction = 1, aliasSymbol, aliasTypeArguments, origin) {\n        if (types.length === 0) {\n          return neverType;\n        }\n        if (types.length === 1) {\n          return types[0];\n        }\n        let typeSet = [];\n        const includes = addTypesToUnion(typeSet, 0, types);\n        if (unionReduction !== 0) {\n          if (includes & 3) {\n            return includes & 1 ? includes & 8388608 ? wildcardType : anyType : includes & 65536 || containsType(typeSet, unknownType) ? unknownType : nonNullUnknownType;\n          }\n          if (includes & 32768) {\n            if (typeSet.length >= 2 && typeSet[0] === undefinedType && typeSet[1] === missingType) {\n              orderedRemoveItemAt(typeSet, 1);\n            }\n          }\n          if (includes & (32 | 2944 | 8192 | 134217728 | 268435456) || includes & 16384 && includes & 32768) {\n            removeRedundantLiteralTypes(typeSet, includes, !!(unionReduction & 2));\n          }\n          if (includes & 128 && includes & 134217728) {\n            removeStringLiteralsMatchedByTemplateLiterals(typeSet);\n          }\n          if (unionReduction === 2) {\n            typeSet = removeSubtypes(typeSet, !!(includes & 524288));\n            if (!typeSet) {\n              return errorType;\n            }\n          }\n          if (typeSet.length === 0) {\n            return includes & 65536 ? includes & 4194304 ? nullType : nullWideningType : includes & 32768 ? includes & 4194304 ? undefinedType : undefinedWideningType : neverType;\n          }\n        }\n        if (!origin && includes & 1048576) {\n          const namedUnions = [];\n          addNamedUnions(namedUnions, types);\n          const reducedTypes = [];\n          for (const t of typeSet) {\n            if (!some(namedUnions, (union) => containsType(union.types, t))) {\n              reducedTypes.push(t);\n            }\n          }\n          if (!aliasSymbol && namedUnions.length === 1 && reducedTypes.length === 0) {\n            return namedUnions[0];\n          }\n          const namedTypesCount = reduceLeft(namedUnions, (sum, union) => sum + union.types.length, 0);\n          if (namedTypesCount + reducedTypes.length === typeSet.length) {\n            for (const t of namedUnions) {\n              insertType(reducedTypes, t);\n            }\n            origin = createOriginUnionOrIntersectionType(1048576, reducedTypes);\n          }\n        }\n        const objectFlags = (includes & 36323363 ? 0 : 32768) | (includes & 2097152 ? 16777216 : 0);\n        return getUnionTypeFromSortedList(typeSet, objectFlags, aliasSymbol, aliasTypeArguments, origin);\n      }\n      function getUnionOrIntersectionTypePredicate(signatures, kind) {\n        let first2;\n        const types = [];\n        for (const sig of signatures) {\n          const pred = getTypePredicateOfSignature(sig);\n          if (!pred || pred.kind === 2 || pred.kind === 3) {\n            if (kind !== 2097152) {\n              continue;\n            } else {\n              return;\n            }\n          }\n          if (first2) {\n            if (!typePredicateKindsMatch(first2, pred)) {\n              return void 0;\n            }\n          } else {\n            first2 = pred;\n          }\n          types.push(pred.type);\n        }\n        if (!first2) {\n          return void 0;\n        }\n        const compositeType = getUnionOrIntersectionType(types, kind);\n        return createTypePredicate(first2.kind, first2.parameterName, first2.parameterIndex, compositeType);\n      }\n      function typePredicateKindsMatch(a, b) {\n        return a.kind === b.kind && a.parameterIndex === b.parameterIndex;\n      }\n      function getUnionTypeFromSortedList(types, precomputedObjectFlags, aliasSymbol, aliasTypeArguments, origin) {\n        if (types.length === 0) {\n          return neverType;\n        }\n        if (types.length === 1) {\n          return types[0];\n        }\n        const typeKey = !origin ? getTypeListId(types) : origin.flags & 1048576 ? `|${getTypeListId(origin.types)}` : origin.flags & 2097152 ? `&${getTypeListId(origin.types)}` : `#${origin.type.id}|${getTypeListId(types)}`;\n        const id = typeKey + getAliasId(aliasSymbol, aliasTypeArguments);\n        let type = unionTypes.get(id);\n        if (!type) {\n          type = createType(\n            1048576\n            /* Union */\n          );\n          type.objectFlags = precomputedObjectFlags | getPropagatingFlagsOfTypes(\n            types,\n            /*excludeKinds*/\n            98304\n            /* Nullable */\n          );\n          type.types = types;\n          type.origin = origin;\n          type.aliasSymbol = aliasSymbol;\n          type.aliasTypeArguments = aliasTypeArguments;\n          if (types.length === 2 && types[0].flags & 512 && types[1].flags & 512) {\n            type.flags |= 16;\n            type.intrinsicName = \"boolean\";\n          }\n          unionTypes.set(id, type);\n        }\n        return type;\n      }\n      function getTypeFromUnionTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const aliasSymbol = getAliasSymbolForTypeNode(node);\n          links.resolvedType = getUnionType(\n            map(node.types, getTypeFromTypeNode),\n            1,\n            aliasSymbol,\n            getTypeArgumentsForAliasSymbol(aliasSymbol)\n          );\n        }\n        return links.resolvedType;\n      }\n      function addTypeToIntersection(typeSet, includes, type) {\n        const flags = type.flags;\n        if (flags & 2097152) {\n          return addTypesToIntersection(typeSet, includes, type.types);\n        }\n        if (isEmptyAnonymousObjectType(type)) {\n          if (!(includes & 16777216)) {\n            includes |= 16777216;\n            typeSet.set(type.id.toString(), type);\n          }\n        } else {\n          if (flags & 3) {\n            if (type === wildcardType)\n              includes |= 8388608;\n          } else if (strictNullChecks || !(flags & 98304)) {\n            if (type === missingType) {\n              includes |= 262144;\n              type = undefinedType;\n            }\n            if (!typeSet.has(type.id.toString())) {\n              if (type.flags & 109472 && includes & 109472) {\n                includes |= 67108864;\n              }\n              typeSet.set(type.id.toString(), type);\n            }\n          }\n          includes |= flags & 205258751;\n        }\n        return includes;\n      }\n      function addTypesToIntersection(typeSet, includes, types) {\n        for (const type of types) {\n          includes = addTypeToIntersection(typeSet, includes, getRegularTypeOfLiteralType(type));\n        }\n        return includes;\n      }\n      function removeRedundantSupertypes(types, includes) {\n        let i = types.length;\n        while (i > 0) {\n          i--;\n          const t = types[i];\n          const remove = t.flags & 4 && includes & (128 | 134217728 | 268435456) || t.flags & 8 && includes & 256 || t.flags & 64 && includes & 2048 || t.flags & 4096 && includes & 8192 || t.flags & 16384 && includes & 32768 || isEmptyAnonymousObjectType(t) && includes & 470302716;\n          if (remove) {\n            orderedRemoveItemAt(types, i);\n          }\n        }\n      }\n      function eachUnionContains(unionTypes2, type) {\n        for (const u of unionTypes2) {\n          if (!containsType(u.types, type)) {\n            const primitive = type.flags & 128 ? stringType : type.flags & 256 ? numberType : type.flags & 2048 ? bigintType : type.flags & 8192 ? esSymbolType : void 0;\n            if (!primitive || !containsType(u.types, primitive)) {\n              return false;\n            }\n          }\n        }\n        return true;\n      }\n      function extractRedundantTemplateLiterals(types) {\n        let i = types.length;\n        const literals = filter(types, (t) => !!(t.flags & 128));\n        while (i > 0) {\n          i--;\n          const t = types[i];\n          if (!(t.flags & 134217728))\n            continue;\n          for (const t2 of literals) {\n            if (isTypeSubtypeOf(t2, t)) {\n              orderedRemoveItemAt(types, i);\n              break;\n            } else if (isPatternLiteralType(t)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function eachIsUnionContaining(types, flag) {\n        return every(types, (t) => !!(t.flags & 1048576) && some(t.types, (tt) => !!(tt.flags & flag)));\n      }\n      function removeFromEach(types, flag) {\n        for (let i = 0; i < types.length; i++) {\n          types[i] = filterType(types[i], (t) => !(t.flags & flag));\n        }\n      }\n      function intersectUnionsOfPrimitiveTypes(types) {\n        let unionTypes2;\n        const index = findIndex(types, (t) => !!(getObjectFlags(t) & 32768));\n        if (index < 0) {\n          return false;\n        }\n        let i = index + 1;\n        while (i < types.length) {\n          const t = types[i];\n          if (getObjectFlags(t) & 32768) {\n            (unionTypes2 || (unionTypes2 = [types[index]])).push(t);\n            orderedRemoveItemAt(types, i);\n          } else {\n            i++;\n          }\n        }\n        if (!unionTypes2) {\n          return false;\n        }\n        const checked = [];\n        const result = [];\n        for (const u of unionTypes2) {\n          for (const t of u.types) {\n            if (insertType(checked, t)) {\n              if (eachUnionContains(unionTypes2, t)) {\n                insertType(result, t);\n              }\n            }\n          }\n        }\n        types[index] = getUnionTypeFromSortedList(\n          result,\n          32768\n          /* PrimitiveUnion */\n        );\n        return true;\n      }\n      function createIntersectionType(types, aliasSymbol, aliasTypeArguments) {\n        const result = createType(\n          2097152\n          /* Intersection */\n        );\n        result.objectFlags = getPropagatingFlagsOfTypes(\n          types,\n          /*excludeKinds*/\n          98304\n          /* Nullable */\n        );\n        result.types = types;\n        result.aliasSymbol = aliasSymbol;\n        result.aliasTypeArguments = aliasTypeArguments;\n        return result;\n      }\n      function getIntersectionType(types, aliasSymbol, aliasTypeArguments, noSupertypeReduction) {\n        const typeMembershipMap = /* @__PURE__ */ new Map();\n        const includes = addTypesToIntersection(typeMembershipMap, 0, types);\n        const typeSet = arrayFrom(typeMembershipMap.values());\n        if (includes & 131072) {\n          return contains(typeSet, silentNeverType) ? silentNeverType : neverType;\n        }\n        if (strictNullChecks && includes & 98304 && includes & (524288 | 67108864 | 16777216) || includes & 67108864 && includes & (469892092 & ~67108864) || includes & 402653316 && includes & (469892092 & ~402653316) || includes & 296 && includes & (469892092 & ~296) || includes & 2112 && includes & (469892092 & ~2112) || includes & 12288 && includes & (469892092 & ~12288) || includes & 49152 && includes & (469892092 & ~49152)) {\n          return neverType;\n        }\n        if (includes & 134217728 && includes & 128 && extractRedundantTemplateLiterals(typeSet)) {\n          return neverType;\n        }\n        if (includes & 1) {\n          return includes & 8388608 ? wildcardType : anyType;\n        }\n        if (!strictNullChecks && includes & 98304) {\n          return includes & 16777216 ? neverType : includes & 32768 ? undefinedType : nullType;\n        }\n        if (includes & 4 && includes & (128 | 134217728 | 268435456) || includes & 8 && includes & 256 || includes & 64 && includes & 2048 || includes & 4096 && includes & 8192 || includes & 16384 && includes & 32768 || includes & 16777216 && includes & 470302716) {\n          if (!noSupertypeReduction)\n            removeRedundantSupertypes(typeSet, includes);\n        }\n        if (includes & 262144) {\n          typeSet[typeSet.indexOf(undefinedType)] = missingType;\n        }\n        if (typeSet.length === 0) {\n          return unknownType;\n        }\n        if (typeSet.length === 1) {\n          return typeSet[0];\n        }\n        const id = getTypeListId(typeSet) + getAliasId(aliasSymbol, aliasTypeArguments);\n        let result = intersectionTypes.get(id);\n        if (!result) {\n          if (includes & 1048576) {\n            if (intersectUnionsOfPrimitiveTypes(typeSet)) {\n              result = getIntersectionType(typeSet, aliasSymbol, aliasTypeArguments);\n            } else if (eachIsUnionContaining(\n              typeSet,\n              32768\n              /* Undefined */\n            )) {\n              const containedUndefinedType = some(typeSet, containsMissingType) ? missingType : undefinedType;\n              removeFromEach(\n                typeSet,\n                32768\n                /* Undefined */\n              );\n              result = getUnionType([getIntersectionType(typeSet), containedUndefinedType], 1, aliasSymbol, aliasTypeArguments);\n            } else if (eachIsUnionContaining(\n              typeSet,\n              65536\n              /* Null */\n            )) {\n              removeFromEach(\n                typeSet,\n                65536\n                /* Null */\n              );\n              result = getUnionType([getIntersectionType(typeSet), nullType], 1, aliasSymbol, aliasTypeArguments);\n            } else {\n              if (!checkCrossProductUnion(typeSet)) {\n                return errorType;\n              }\n              const constituents = getCrossProductIntersections(typeSet);\n              const origin = some(constituents, (t) => !!(t.flags & 2097152)) && getConstituentCountOfTypes(constituents) > getConstituentCountOfTypes(typeSet) ? createOriginUnionOrIntersectionType(2097152, typeSet) : void 0;\n              result = getUnionType(constituents, 1, aliasSymbol, aliasTypeArguments, origin);\n            }\n          } else {\n            result = createIntersectionType(typeSet, aliasSymbol, aliasTypeArguments);\n          }\n          intersectionTypes.set(id, result);\n        }\n        return result;\n      }\n      function getCrossProductUnionSize(types) {\n        return reduceLeft(types, (n, t) => t.flags & 1048576 ? n * t.types.length : t.flags & 131072 ? 0 : n, 1);\n      }\n      function checkCrossProductUnion(types) {\n        var _a22;\n        const size = getCrossProductUnionSize(types);\n        if (size >= 1e5) {\n          (_a22 = tracing) == null ? void 0 : _a22.instant(tracing.Phase.CheckTypes, \"checkCrossProductUnion_DepthLimit\", { typeIds: types.map((t) => t.id), size });\n          error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);\n          return false;\n        }\n        return true;\n      }\n      function getCrossProductIntersections(types) {\n        const count = getCrossProductUnionSize(types);\n        const intersections = [];\n        for (let i = 0; i < count; i++) {\n          const constituents = types.slice();\n          let n = i;\n          for (let j = types.length - 1; j >= 0; j--) {\n            if (types[j].flags & 1048576) {\n              const sourceTypes = types[j].types;\n              const length2 = sourceTypes.length;\n              constituents[j] = sourceTypes[n % length2];\n              n = Math.floor(n / length2);\n            }\n          }\n          const t = getIntersectionType(constituents);\n          if (!(t.flags & 131072))\n            intersections.push(t);\n        }\n        return intersections;\n      }\n      function getConstituentCount(type) {\n        return !(type.flags & 3145728) || type.aliasSymbol ? 1 : type.flags & 1048576 && type.origin ? getConstituentCount(type.origin) : getConstituentCountOfTypes(type.types);\n      }\n      function getConstituentCountOfTypes(types) {\n        return reduceLeft(types, (n, t) => n + getConstituentCount(t), 0);\n      }\n      function getTypeFromIntersectionTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const aliasSymbol = getAliasSymbolForTypeNode(node);\n          const types = map(node.types, getTypeFromTypeNode);\n          const noSupertypeReduction = types.length === 2 && !!(types[0].flags & (4 | 8 | 64)) && types[1] === emptyTypeLiteralType;\n          links.resolvedType = getIntersectionType(types, aliasSymbol, getTypeArgumentsForAliasSymbol(aliasSymbol), noSupertypeReduction);\n        }\n        return links.resolvedType;\n      }\n      function createIndexType(type, stringsOnly) {\n        const result = createType(\n          4194304\n          /* Index */\n        );\n        result.type = type;\n        result.stringsOnly = stringsOnly;\n        return result;\n      }\n      function createOriginIndexType(type) {\n        const result = createOriginType(\n          4194304\n          /* Index */\n        );\n        result.type = type;\n        return result;\n      }\n      function getIndexTypeForGenericType(type, stringsOnly) {\n        return stringsOnly ? type.resolvedStringIndexType || (type.resolvedStringIndexType = createIndexType(\n          type,\n          /*stringsOnly*/\n          true\n        )) : type.resolvedIndexType || (type.resolvedIndexType = createIndexType(\n          type,\n          /*stringsOnly*/\n          false\n        ));\n      }\n      function getIndexTypeForMappedType(type, stringsOnly, noIndexSignatures) {\n        const typeParameter = getTypeParameterFromMappedType(type);\n        const constraintType = getConstraintTypeFromMappedType(type);\n        const nameType = getNameTypeFromMappedType(type.target || type);\n        if (!nameType && !noIndexSignatures) {\n          return constraintType;\n        }\n        const keyTypes = [];\n        if (isMappedTypeWithKeyofConstraintDeclaration(type)) {\n          if (!isGenericIndexType(constraintType)) {\n            const modifiersType = getApparentType(getModifiersTypeFromMappedType(type));\n            forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(modifiersType, 8576, stringsOnly, addMemberForKeyType);\n          } else {\n            return getIndexTypeForGenericType(type, stringsOnly);\n          }\n        } else {\n          forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType);\n        }\n        if (isGenericIndexType(constraintType)) {\n          forEachType(constraintType, addMemberForKeyType);\n        }\n        const result = noIndexSignatures ? filterType(getUnionType(keyTypes), (t) => !(t.flags & (1 | 4))) : getUnionType(keyTypes);\n        if (result.flags & 1048576 && constraintType.flags & 1048576 && getTypeListId(result.types) === getTypeListId(constraintType.types)) {\n          return constraintType;\n        }\n        return result;\n        function addMemberForKeyType(keyType) {\n          const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType;\n          keyTypes.push(propNameType === stringType ? stringOrNumberType : propNameType);\n        }\n      }\n      function hasDistributiveNameType(mappedType) {\n        const typeVariable = getTypeParameterFromMappedType(mappedType);\n        return isDistributive(getNameTypeFromMappedType(mappedType) || typeVariable);\n        function isDistributive(type) {\n          return type.flags & (3 | 134348796 | 131072 | 262144 | 524288 | 67108864) ? true : type.flags & 16777216 ? type.root.isDistributive && type.checkType === typeVariable : type.flags & (3145728 | 134217728) ? every(type.types, isDistributive) : type.flags & 8388608 ? isDistributive(type.objectType) && isDistributive(type.indexType) : type.flags & 33554432 ? isDistributive(type.baseType) && isDistributive(type.constraint) : type.flags & 268435456 ? isDistributive(type.type) : false;\n        }\n      }\n      function getLiteralTypeFromPropertyName(name) {\n        if (isPrivateIdentifier(name)) {\n          return neverType;\n        }\n        return isIdentifier(name) ? getStringLiteralType(unescapeLeadingUnderscores(name.escapedText)) : getRegularTypeOfLiteralType(isComputedPropertyName(name) ? checkComputedPropertyName(name) : checkExpression(name));\n      }\n      function getLiteralTypeFromProperty(prop, include, includeNonPublic) {\n        if (includeNonPublic || !(getDeclarationModifierFlagsFromSymbol(prop) & 24)) {\n          let type = getSymbolLinks(getLateBoundSymbol(prop)).nameType;\n          if (!type) {\n            const name = getNameOfDeclaration(prop.valueDeclaration);\n            type = prop.escapedName === \"default\" ? getStringLiteralType(\"default\") : name && getLiteralTypeFromPropertyName(name) || (!isKnownSymbol(prop) ? getStringLiteralType(symbolName(prop)) : void 0);\n          }\n          if (type && type.flags & include) {\n            return type;\n          }\n        }\n        return neverType;\n      }\n      function isKeyTypeIncluded(keyType, include) {\n        return !!(keyType.flags & include || keyType.flags & 2097152 && some(keyType.types, (t) => isKeyTypeIncluded(t, include)));\n      }\n      function getLiteralTypeFromProperties(type, include, includeOrigin) {\n        const origin = includeOrigin && (getObjectFlags(type) & (3 | 4) || type.aliasSymbol) ? createOriginIndexType(type) : void 0;\n        const propertyTypes = map(getPropertiesOfType(type), (prop) => getLiteralTypeFromProperty(prop, include));\n        const indexKeyTypes = map(getIndexInfosOfType(type), (info) => info !== enumNumberIndexInfo && isKeyTypeIncluded(info.keyType, include) ? info.keyType === stringType && include & 8 ? stringOrNumberType : info.keyType : neverType);\n        return getUnionType(\n          concatenate(propertyTypes, indexKeyTypes),\n          1,\n          /*aliasSymbol*/\n          void 0,\n          /*aliasTypeArguments*/\n          void 0,\n          origin\n        );\n      }\n      function isPossiblyReducibleByInstantiation(type) {\n        const uniqueFilled = getUniqueLiteralFilledInstantiation(type);\n        return getReducedType(uniqueFilled) !== uniqueFilled;\n      }\n      function shouldDeferIndexType(type) {\n        return !!(type.flags & 58982400 || isGenericTupleType(type) || isGenericMappedType(type) && !hasDistributiveNameType(type) || type.flags & 1048576 && some(type.types, isPossiblyReducibleByInstantiation) || type.flags & 2097152 && maybeTypeOfKind(\n          type,\n          465829888\n          /* Instantiable */\n        ) && some(type.types, isEmptyAnonymousObjectType));\n      }\n      function getIndexType(type, stringsOnly = keyofStringsOnly, noIndexSignatures) {\n        type = getReducedType(type);\n        return shouldDeferIndexType(type) ? getIndexTypeForGenericType(type, stringsOnly) : type.flags & 1048576 ? getIntersectionType(map(type.types, (t) => getIndexType(t, stringsOnly, noIndexSignatures))) : type.flags & 2097152 ? getUnionType(map(type.types, (t) => getIndexType(t, stringsOnly, noIndexSignatures))) : getObjectFlags(type) & 32 ? getIndexTypeForMappedType(type, stringsOnly, noIndexSignatures) : type === wildcardType ? wildcardType : type.flags & 2 ? neverType : type.flags & (1 | 131072) ? keyofConstraintType : getLiteralTypeFromProperties(\n          type,\n          (noIndexSignatures ? 128 : 402653316) | (stringsOnly ? 0 : 296 | 12288),\n          stringsOnly === keyofStringsOnly && !noIndexSignatures\n        );\n      }\n      function getExtractStringType(type) {\n        if (keyofStringsOnly) {\n          return type;\n        }\n        const extractTypeAlias = getGlobalExtractSymbol();\n        return extractTypeAlias ? getTypeAliasInstantiation(extractTypeAlias, [type, stringType]) : stringType;\n      }\n      function getIndexTypeOrString(type) {\n        const indexType = getExtractStringType(getIndexType(type));\n        return indexType.flags & 131072 ? stringType : indexType;\n      }\n      function getTypeFromTypeOperatorNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          switch (node.operator) {\n            case 141:\n              links.resolvedType = getIndexType(getTypeFromTypeNode(node.type));\n              break;\n            case 156:\n              links.resolvedType = node.type.kind === 153 ? getESSymbolLikeTypeForNode(walkUpParenthesizedTypes(node.parent)) : errorType;\n              break;\n            case 146:\n              links.resolvedType = getTypeFromTypeNode(node.type);\n              break;\n            default:\n              throw Debug2.assertNever(node.operator);\n          }\n        }\n        return links.resolvedType;\n      }\n      function getTypeFromTemplateTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          links.resolvedType = getTemplateLiteralType(\n            [node.head.text, ...map(node.templateSpans, (span) => span.literal.text)],\n            map(node.templateSpans, (span) => getTypeFromTypeNode(span.type))\n          );\n        }\n        return links.resolvedType;\n      }\n      function getTemplateLiteralType(texts, types) {\n        const unionIndex = findIndex(types, (t) => !!(t.flags & (131072 | 1048576)));\n        if (unionIndex >= 0) {\n          return checkCrossProductUnion(types) ? mapType(types[unionIndex], (t) => getTemplateLiteralType(texts, replaceElement(types, unionIndex, t))) : errorType;\n        }\n        if (contains(types, wildcardType)) {\n          return wildcardType;\n        }\n        const newTypes = [];\n        const newTexts = [];\n        let text = texts[0];\n        if (!addSpans(texts, types)) {\n          return stringType;\n        }\n        if (newTypes.length === 0) {\n          return getStringLiteralType(text);\n        }\n        newTexts.push(text);\n        if (every(newTexts, (t) => t === \"\")) {\n          if (every(newTypes, (t) => !!(t.flags & 4))) {\n            return stringType;\n          }\n          if (newTypes.length === 1 && isPatternLiteralType(newTypes[0])) {\n            return newTypes[0];\n          }\n        }\n        const id = `${getTypeListId(newTypes)}|${map(newTexts, (t) => t.length).join(\",\")}|${newTexts.join(\"\")}`;\n        let type = templateLiteralTypes.get(id);\n        if (!type) {\n          templateLiteralTypes.set(id, type = createTemplateLiteralType(newTexts, newTypes));\n        }\n        return type;\n        function addSpans(texts2, types2) {\n          const isTextsArray = isArray(texts2);\n          for (let i = 0; i < types2.length; i++) {\n            const t = types2[i];\n            const addText = isTextsArray ? texts2[i + 1] : texts2;\n            if (t.flags & (2944 | 65536 | 32768)) {\n              text += getTemplateStringForType(t) || \"\";\n              text += addText;\n              if (!isTextsArray)\n                return true;\n            } else if (t.flags & 134217728) {\n              text += t.texts[0];\n              if (!addSpans(t.texts, t.types))\n                return false;\n              text += addText;\n              if (!isTextsArray)\n                return true;\n            } else if (isGenericIndexType(t) || isPatternLiteralPlaceholderType(t)) {\n              newTypes.push(t);\n              newTexts.push(text);\n              text = addText;\n            } else if (t.flags & 2097152) {\n              const added = addSpans(texts2[i + 1], t.types);\n              if (!added)\n                return false;\n            } else if (isTextsArray) {\n              return false;\n            }\n          }\n          return true;\n        }\n      }\n      function getTemplateStringForType(type) {\n        return type.flags & 128 ? type.value : type.flags & 256 ? \"\" + type.value : type.flags & 2048 ? pseudoBigIntToString(type.value) : type.flags & (512 | 98304) ? type.intrinsicName : void 0;\n      }\n      function createTemplateLiteralType(texts, types) {\n        const type = createType(\n          134217728\n          /* TemplateLiteral */\n        );\n        type.texts = texts;\n        type.types = types;\n        return type;\n      }\n      function getStringMappingType(symbol, type) {\n        return type.flags & (1048576 | 131072) ? mapType(type, (t) => getStringMappingType(symbol, t)) : type.flags & 128 ? getStringLiteralType(applyStringMapping(symbol, type.value)) : type.flags & 134217728 ? getTemplateLiteralType(...applyTemplateStringMapping(symbol, type.texts, type.types)) : (\n          // Mapping<Mapping<T>> === Mapping<T>\n          type.flags & 268435456 && symbol === type.symbol ? type : type.flags & (1 | 4 | 268435456) || isGenericIndexType(type) ? getStringMappingTypeForGenericType(symbol, type) : (\n            // This handles Mapping<`${number}`> and Mapping<`${bigint}`>\n            isPatternLiteralPlaceholderType(type) ? getStringMappingTypeForGenericType(symbol, getTemplateLiteralType([\"\", \"\"], [type])) : type\n          )\n        );\n      }\n      function applyStringMapping(symbol, str) {\n        switch (intrinsicTypeKinds.get(symbol.escapedName)) {\n          case 0:\n            return str.toUpperCase();\n          case 1:\n            return str.toLowerCase();\n          case 2:\n            return str.charAt(0).toUpperCase() + str.slice(1);\n          case 3:\n            return str.charAt(0).toLowerCase() + str.slice(1);\n        }\n        return str;\n      }\n      function applyTemplateStringMapping(symbol, texts, types) {\n        switch (intrinsicTypeKinds.get(symbol.escapedName)) {\n          case 0:\n            return [texts.map((t) => t.toUpperCase()), types.map((t) => getStringMappingType(symbol, t))];\n          case 1:\n            return [texts.map((t) => t.toLowerCase()), types.map((t) => getStringMappingType(symbol, t))];\n          case 2:\n            return [texts[0] === \"\" ? texts : [texts[0].charAt(0).toUpperCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === \"\" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types];\n          case 3:\n            return [texts[0] === \"\" ? texts : [texts[0].charAt(0).toLowerCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === \"\" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types];\n        }\n        return [texts, types];\n      }\n      function getStringMappingTypeForGenericType(symbol, type) {\n        const id = `${getSymbolId(symbol)},${getTypeId(type)}`;\n        let result = stringMappingTypes.get(id);\n        if (!result) {\n          stringMappingTypes.set(id, result = createStringMappingType(symbol, type));\n        }\n        return result;\n      }\n      function createStringMappingType(symbol, type) {\n        const result = createTypeWithSymbol(268435456, symbol);\n        result.type = type;\n        return result;\n      }\n      function createIndexedAccessType(objectType, indexType, accessFlags, aliasSymbol, aliasTypeArguments) {\n        const type = createType(\n          8388608\n          /* IndexedAccess */\n        );\n        type.objectType = objectType;\n        type.indexType = indexType;\n        type.accessFlags = accessFlags;\n        type.aliasSymbol = aliasSymbol;\n        type.aliasTypeArguments = aliasTypeArguments;\n        return type;\n      }\n      function isJSLiteralType(type) {\n        if (noImplicitAny) {\n          return false;\n        }\n        if (getObjectFlags(type) & 4096) {\n          return true;\n        }\n        if (type.flags & 1048576) {\n          return every(type.types, isJSLiteralType);\n        }\n        if (type.flags & 2097152) {\n          return some(type.types, isJSLiteralType);\n        }\n        if (type.flags & 465829888) {\n          const constraint = getResolvedBaseConstraint(type);\n          return constraint !== type && isJSLiteralType(constraint);\n        }\n        return false;\n      }\n      function getPropertyNameFromIndex(indexType, accessNode) {\n        return isTypeUsableAsPropertyName(indexType) ? getPropertyNameFromType(indexType) : accessNode && isPropertyName(accessNode) ? (\n          // late bound names are handled in the first branch, so here we only need to handle normal names\n          getPropertyNameForPropertyNameNode(accessNode)\n        ) : void 0;\n      }\n      function isUncalledFunctionReference(node, symbol) {\n        if (symbol.flags & (16 | 8192)) {\n          const parent2 = findAncestor(node.parent, (n) => !isAccessExpression(n)) || node.parent;\n          if (isCallLikeExpression(parent2)) {\n            return isCallOrNewExpression(parent2) && isIdentifier(node) && hasMatchingArgument(parent2, node);\n          }\n          return every(symbol.declarations, (d) => !isFunctionLike(d) || !!(getCombinedNodeFlags(d) & 268435456));\n        }\n        return true;\n      }\n      function getPropertyTypeForIndexType(originalObjectType, objectType, indexType, fullIndexType, accessNode, accessFlags) {\n        var _a22;\n        const accessExpression = accessNode && accessNode.kind === 209 ? accessNode : void 0;\n        const propName = accessNode && isPrivateIdentifier(accessNode) ? void 0 : getPropertyNameFromIndex(indexType, accessNode);\n        if (propName !== void 0) {\n          if (accessFlags & 256) {\n            return getTypeOfPropertyOfContextualType(objectType, propName) || anyType;\n          }\n          const prop = getPropertyOfType(objectType, propName);\n          if (prop) {\n            if (accessFlags & 64 && accessNode && prop.declarations && isDeprecatedSymbol(prop) && isUncalledFunctionReference(accessNode, prop)) {\n              const deprecatedNode = (_a22 = accessExpression == null ? void 0 : accessExpression.argumentExpression) != null ? _a22 : isIndexedAccessTypeNode(accessNode) ? accessNode.indexType : accessNode;\n              addDeprecatedSuggestion(deprecatedNode, prop.declarations, propName);\n            }\n            if (accessExpression) {\n              markPropertyAsReferenced(prop, accessExpression, isSelfTypeAccess(accessExpression.expression, objectType.symbol));\n              if (isAssignmentToReadonlyEntity(accessExpression, prop, getAssignmentTargetKind(accessExpression))) {\n                error(accessExpression.argumentExpression, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(prop));\n                return void 0;\n              }\n              if (accessFlags & 8) {\n                getNodeLinks(accessNode).resolvedSymbol = prop;\n              }\n              if (isThisPropertyAccessInConstructor(accessExpression, prop)) {\n                return autoType;\n              }\n            }\n            const propType = getTypeOfSymbol(prop);\n            return accessExpression && getAssignmentTargetKind(accessExpression) !== 1 ? getFlowTypeOfReference(accessExpression, propType) : accessNode && isIndexedAccessTypeNode(accessNode) && containsMissingType(propType) ? getUnionType([propType, undefinedType]) : propType;\n          }\n          if (everyType(objectType, isTupleType) && isNumericLiteralName(propName)) {\n            const index = +propName;\n            if (accessNode && everyType(objectType, (t) => !t.target.hasRestElement) && !(accessFlags & 16)) {\n              const indexNode = getIndexNodeForAccessExpression(accessNode);\n              if (isTupleType(objectType)) {\n                if (index < 0) {\n                  error(indexNode, Diagnostics.A_tuple_type_cannot_be_indexed_with_a_negative_value);\n                  return undefinedType;\n                }\n                error(\n                  indexNode,\n                  Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,\n                  typeToString(objectType),\n                  getTypeReferenceArity(objectType),\n                  unescapeLeadingUnderscores(propName)\n                );\n              } else {\n                error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType));\n              }\n            }\n            if (index >= 0) {\n              errorIfWritingToReadonlyIndex(getIndexInfoOfType(objectType, numberType));\n              return mapType(objectType, (t) => {\n                const restType = getRestTypeOfTupleType(t) || undefinedType;\n                return accessFlags & 1 ? getUnionType([restType, missingType]) : restType;\n              });\n            }\n          }\n        }\n        if (!(indexType.flags & 98304) && isTypeAssignableToKind(\n          indexType,\n          402653316 | 296 | 12288\n          /* ESSymbolLike */\n        )) {\n          if (objectType.flags & (1 | 131072)) {\n            return objectType;\n          }\n          const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType);\n          if (indexInfo) {\n            if (accessFlags & 2 && indexInfo.keyType !== numberType) {\n              if (accessExpression) {\n                error(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));\n              }\n              return void 0;\n            }\n            if (accessNode && indexInfo.keyType === stringType && !isTypeAssignableToKind(\n              indexType,\n              4 | 8\n              /* Number */\n            )) {\n              const indexNode = getIndexNodeForAccessExpression(accessNode);\n              error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeToString(indexType));\n              return accessFlags & 1 ? getUnionType([indexInfo.type, missingType]) : indexInfo.type;\n            }\n            errorIfWritingToReadonlyIndex(indexInfo);\n            if (accessFlags & 1 && !(objectType.symbol && objectType.symbol.flags & (256 | 128) && (indexType.symbol && indexType.flags & 1024 && getParentOfSymbol(indexType.symbol) === objectType.symbol))) {\n              return getUnionType([indexInfo.type, missingType]);\n            }\n            return indexInfo.type;\n          }\n          if (indexType.flags & 131072) {\n            return neverType;\n          }\n          if (isJSLiteralType(objectType)) {\n            return anyType;\n          }\n          if (accessExpression && !isConstEnumObjectType(objectType)) {\n            if (isObjectLiteralType2(objectType)) {\n              if (noImplicitAny && indexType.flags & (128 | 256)) {\n                diagnostics.add(createDiagnosticForNode(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, indexType.value, typeToString(objectType)));\n                return undefinedType;\n              } else if (indexType.flags & (8 | 4)) {\n                const types = map(objectType.properties, (property) => {\n                  return getTypeOfSymbol(property);\n                });\n                return getUnionType(append(types, undefinedType));\n              }\n            }\n            if (objectType.symbol === globalThisSymbol && propName !== void 0 && globalThisSymbol.exports.has(propName) && globalThisSymbol.exports.get(propName).flags & 418) {\n              error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType));\n            } else if (noImplicitAny && !compilerOptions.suppressImplicitAnyIndexErrors && !(accessFlags & 128)) {\n              if (propName !== void 0 && typeHasStaticProperty(propName, objectType)) {\n                const typeName = typeToString(objectType);\n                error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + \"[\" + getTextOfNode(accessExpression.argumentExpression) + \"]\");\n              } else if (getIndexTypeOfType(objectType, numberType)) {\n                error(accessExpression.argumentExpression, Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);\n              } else {\n                let suggestion;\n                if (propName !== void 0 && (suggestion = getSuggestionForNonexistentProperty(propName, objectType))) {\n                  if (suggestion !== void 0) {\n                    error(accessExpression.argumentExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(objectType), suggestion);\n                  }\n                } else {\n                  const suggestion2 = getSuggestionForNonexistentIndexSignature(objectType, accessExpression, indexType);\n                  if (suggestion2 !== void 0) {\n                    error(accessExpression, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1, typeToString(objectType), suggestion2);\n                  } else {\n                    let errorInfo;\n                    if (indexType.flags & 1024) {\n                      errorInfo = chainDiagnosticMessages(\n                        /* details */\n                        void 0,\n                        Diagnostics.Property_0_does_not_exist_on_type_1,\n                        \"[\" + typeToString(indexType) + \"]\",\n                        typeToString(objectType)\n                      );\n                    } else if (indexType.flags & 8192) {\n                      const symbolName2 = getFullyQualifiedName(indexType.symbol, accessExpression);\n                      errorInfo = chainDiagnosticMessages(\n                        /* details */\n                        void 0,\n                        Diagnostics.Property_0_does_not_exist_on_type_1,\n                        \"[\" + symbolName2 + \"]\",\n                        typeToString(objectType)\n                      );\n                    } else if (indexType.flags & 128) {\n                      errorInfo = chainDiagnosticMessages(\n                        /* details */\n                        void 0,\n                        Diagnostics.Property_0_does_not_exist_on_type_1,\n                        indexType.value,\n                        typeToString(objectType)\n                      );\n                    } else if (indexType.flags & 256) {\n                      errorInfo = chainDiagnosticMessages(\n                        /* details */\n                        void 0,\n                        Diagnostics.Property_0_does_not_exist_on_type_1,\n                        indexType.value,\n                        typeToString(objectType)\n                      );\n                    } else if (indexType.flags & (8 | 4)) {\n                      errorInfo = chainDiagnosticMessages(\n                        /* details */\n                        void 0,\n                        Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,\n                        typeToString(indexType),\n                        typeToString(objectType)\n                      );\n                    }\n                    errorInfo = chainDiagnosticMessages(\n                      errorInfo,\n                      Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,\n                      typeToString(fullIndexType),\n                      typeToString(objectType)\n                    );\n                    diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(accessExpression), accessExpression, errorInfo));\n                  }\n                }\n              }\n            }\n            return void 0;\n          }\n        }\n        if (isJSLiteralType(objectType)) {\n          return anyType;\n        }\n        if (accessNode) {\n          const indexNode = getIndexNodeForAccessExpression(accessNode);\n          if (indexType.flags & (128 | 256)) {\n            error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, \"\" + indexType.value, typeToString(objectType));\n          } else if (indexType.flags & (4 | 8)) {\n            error(indexNode, Diagnostics.Type_0_has_no_matching_index_signature_for_type_1, typeToString(objectType), typeToString(indexType));\n          } else {\n            error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeToString(indexType));\n          }\n        }\n        if (isTypeAny(indexType)) {\n          return indexType;\n        }\n        return void 0;\n        function errorIfWritingToReadonlyIndex(indexInfo) {\n          if (indexInfo && indexInfo.isReadonly && accessExpression && (isAssignmentTarget(accessExpression) || isDeleteTarget(accessExpression))) {\n            error(accessExpression, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType));\n          }\n        }\n      }\n      function getIndexNodeForAccessExpression(accessNode) {\n        return accessNode.kind === 209 ? accessNode.argumentExpression : accessNode.kind === 196 ? accessNode.indexType : accessNode.kind === 164 ? accessNode.expression : accessNode;\n      }\n      function isPatternLiteralPlaceholderType(type) {\n        return !!(type.flags & (1 | 4 | 8 | 64)) || isPatternLiteralType(type);\n      }\n      function isPatternLiteralType(type) {\n        return !!(type.flags & 134217728) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456) && isPatternLiteralPlaceholderType(type.type);\n      }\n      function isGenericType(type) {\n        return !!getGenericObjectFlags(type);\n      }\n      function isGenericObjectType(type) {\n        return !!(getGenericObjectFlags(type) & 4194304);\n      }\n      function isGenericIndexType(type) {\n        return !!(getGenericObjectFlags(type) & 8388608);\n      }\n      function getGenericObjectFlags(type) {\n        if (type.flags & 3145728) {\n          if (!(type.objectFlags & 2097152)) {\n            type.objectFlags |= 2097152 | reduceLeft(type.types, (flags, t) => flags | getGenericObjectFlags(t), 0);\n          }\n          return type.objectFlags & 12582912;\n        }\n        if (type.flags & 33554432) {\n          if (!(type.objectFlags & 2097152)) {\n            type.objectFlags |= 2097152 | getGenericObjectFlags(type.baseType) | getGenericObjectFlags(type.constraint);\n          }\n          return type.objectFlags & 12582912;\n        }\n        return (type.flags & 58982400 || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 : 0) | (type.flags & (58982400 | 4194304 | 134217728 | 268435456) && !isPatternLiteralType(type) ? 8388608 : 0);\n      }\n      function getSimplifiedType(type, writing) {\n        return type.flags & 8388608 ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 ? getSimplifiedConditionalType(type, writing) : type;\n      }\n      function distributeIndexOverObjectType(objectType, indexType, writing) {\n        if (objectType.flags & 1048576 || objectType.flags & 2097152 && !shouldDeferIndexType(objectType)) {\n          const types = map(objectType.types, (t) => getSimplifiedType(getIndexedAccessType(t, indexType), writing));\n          return objectType.flags & 2097152 || writing ? getIntersectionType(types) : getUnionType(types);\n        }\n      }\n      function distributeObjectOverIndexType(objectType, indexType, writing) {\n        if (indexType.flags & 1048576) {\n          const types = map(indexType.types, (t) => getSimplifiedType(getIndexedAccessType(objectType, t), writing));\n          return writing ? getIntersectionType(types) : getUnionType(types);\n        }\n      }\n      function getSimplifiedIndexedAccessType(type, writing) {\n        const cache = writing ? \"simplifiedForWriting\" : \"simplifiedForReading\";\n        if (type[cache]) {\n          return type[cache] === circularConstraintType ? type : type[cache];\n        }\n        type[cache] = circularConstraintType;\n        const objectType = getSimplifiedType(type.objectType, writing);\n        const indexType = getSimplifiedType(type.indexType, writing);\n        const distributedOverIndex = distributeObjectOverIndexType(objectType, indexType, writing);\n        if (distributedOverIndex) {\n          return type[cache] = distributedOverIndex;\n        }\n        if (!(indexType.flags & 465829888)) {\n          const distributedOverObject = distributeIndexOverObjectType(objectType, indexType, writing);\n          if (distributedOverObject) {\n            return type[cache] = distributedOverObject;\n          }\n        }\n        if (isGenericTupleType(objectType) && indexType.flags & 296) {\n          const elementType = getElementTypeOfSliceOfTupleType(\n            objectType,\n            indexType.flags & 8 ? 0 : objectType.target.fixedLength,\n            /*endSkipCount*/\n            0,\n            writing\n          );\n          if (elementType) {\n            return type[cache] = elementType;\n          }\n        }\n        if (isGenericMappedType(objectType)) {\n          const nameType = getNameTypeFromMappedType(objectType);\n          if (!nameType || isTypeAssignableTo(nameType, getTypeParameterFromMappedType(objectType))) {\n            return type[cache] = mapType(substituteIndexedMappedType(objectType, type.indexType), (t) => getSimplifiedType(t, writing));\n          }\n        }\n        return type[cache] = type;\n      }\n      function getSimplifiedConditionalType(type, writing) {\n        const checkType = type.checkType;\n        const extendsType = type.extendsType;\n        const trueType2 = getTrueTypeFromConditionalType(type);\n        const falseType2 = getFalseTypeFromConditionalType(type);\n        if (falseType2.flags & 131072 && getActualTypeVariable(trueType2) === getActualTypeVariable(checkType)) {\n          if (checkType.flags & 1 || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) {\n            return getSimplifiedType(trueType2, writing);\n          } else if (isIntersectionEmpty(checkType, extendsType)) {\n            return neverType;\n          }\n        } else if (trueType2.flags & 131072 && getActualTypeVariable(falseType2) === getActualTypeVariable(checkType)) {\n          if (!(checkType.flags & 1) && isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) {\n            return neverType;\n          } else if (checkType.flags & 1 || isIntersectionEmpty(checkType, extendsType)) {\n            return getSimplifiedType(falseType2, writing);\n          }\n        }\n        return type;\n      }\n      function isIntersectionEmpty(type1, type2) {\n        return !!(getUnionType([intersectTypes(type1, type2), neverType]).flags & 131072);\n      }\n      function substituteIndexedMappedType(objectType, index) {\n        const mapper = createTypeMapper([getTypeParameterFromMappedType(objectType)], [index]);\n        const templateMapper = combineTypeMappers(objectType.mapper, mapper);\n        return instantiateType(getTemplateTypeFromMappedType(objectType.target || objectType), templateMapper);\n      }\n      function getIndexedAccessType(objectType, indexType, accessFlags = 0, accessNode, aliasSymbol, aliasTypeArguments) {\n        return getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags, accessNode, aliasSymbol, aliasTypeArguments) || (accessNode ? errorType : unknownType);\n      }\n      function indexTypeLessThan(indexType, limit) {\n        return everyType(indexType, (t) => {\n          if (t.flags & 384) {\n            const propName = getPropertyNameFromType(t);\n            if (isNumericLiteralName(propName)) {\n              const index = +propName;\n              return index >= 0 && index < limit;\n            }\n          }\n          return false;\n        });\n      }\n      function getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags = 0, accessNode, aliasSymbol, aliasTypeArguments) {\n        if (objectType === wildcardType || indexType === wildcardType) {\n          return wildcardType;\n        }\n        if (isStringIndexSignatureOnlyType(objectType) && !(indexType.flags & 98304) && isTypeAssignableToKind(\n          indexType,\n          4 | 8\n          /* Number */\n        )) {\n          indexType = stringType;\n        }\n        if (compilerOptions.noUncheckedIndexedAccess && accessFlags & 32)\n          accessFlags |= 1;\n        if (isGenericIndexType(indexType) || (accessNode && accessNode.kind !== 196 ? isGenericTupleType(objectType) && !indexTypeLessThan(indexType, objectType.target.fixedLength) : isGenericObjectType(objectType) && !(isTupleType(objectType) && indexTypeLessThan(indexType, objectType.target.fixedLength)))) {\n          if (objectType.flags & 3) {\n            return objectType;\n          }\n          const persistentAccessFlags = accessFlags & 1;\n          const id = objectType.id + \",\" + indexType.id + \",\" + persistentAccessFlags + getAliasId(aliasSymbol, aliasTypeArguments);\n          let type = indexedAccessTypes.get(id);\n          if (!type) {\n            indexedAccessTypes.set(id, type = createIndexedAccessType(objectType, indexType, persistentAccessFlags, aliasSymbol, aliasTypeArguments));\n          }\n          return type;\n        }\n        const apparentObjectType = getReducedApparentType(objectType);\n        if (indexType.flags & 1048576 && !(indexType.flags & 16)) {\n          const propTypes = [];\n          let wasMissingProp = false;\n          for (const t of indexType.types) {\n            const propType = getPropertyTypeForIndexType(objectType, apparentObjectType, t, indexType, accessNode, accessFlags | (wasMissingProp ? 128 : 0));\n            if (propType) {\n              propTypes.push(propType);\n            } else if (!accessNode) {\n              return void 0;\n            } else {\n              wasMissingProp = true;\n            }\n          }\n          if (wasMissingProp) {\n            return void 0;\n          }\n          return accessFlags & 4 ? getIntersectionType(propTypes, aliasSymbol, aliasTypeArguments) : getUnionType(propTypes, 1, aliasSymbol, aliasTypeArguments);\n        }\n        return getPropertyTypeForIndexType(\n          objectType,\n          apparentObjectType,\n          indexType,\n          indexType,\n          accessNode,\n          accessFlags | 8 | 64\n          /* ReportDeprecated */\n        );\n      }\n      function getTypeFromIndexedAccessTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const objectType = getTypeFromTypeNode(node.objectType);\n          const indexType = getTypeFromTypeNode(node.indexType);\n          const potentialAlias = getAliasSymbolForTypeNode(node);\n          links.resolvedType = getIndexedAccessType(objectType, indexType, 0, node, potentialAlias, getTypeArgumentsForAliasSymbol(potentialAlias));\n        }\n        return links.resolvedType;\n      }\n      function getTypeFromMappedTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const type = createObjectType(32, node.symbol);\n          type.declaration = node;\n          type.aliasSymbol = getAliasSymbolForTypeNode(node);\n          type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(type.aliasSymbol);\n          links.resolvedType = type;\n          getConstraintTypeFromMappedType(type);\n        }\n        return links.resolvedType;\n      }\n      function getActualTypeVariable(type) {\n        if (type.flags & 33554432) {\n          return getActualTypeVariable(type.baseType);\n        }\n        if (type.flags & 8388608 && (type.objectType.flags & 33554432 || type.indexType.flags & 33554432)) {\n          return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType));\n        }\n        return type;\n      }\n      function maybeCloneTypeParameter(p) {\n        const constraint = getConstraintOfTypeParameter(p);\n        return constraint && (isGenericObjectType(constraint) || isGenericIndexType(constraint)) ? cloneTypeParameter(p) : p;\n      }\n      function isSimpleTupleType(node) {\n        return isTupleTypeNode(node) && length(node.elements) > 0 && !some(node.elements, (e) => isOptionalTypeNode(e) || isRestTypeNode(e) || isNamedTupleMember(e) && !!(e.questionToken || e.dotDotDotToken));\n      }\n      function isDeferredType(type, checkTuples) {\n        return isGenericType(type) || checkTuples && isTupleType(type) && some(getTypeArguments(type), isGenericType);\n      }\n      function getConditionalType(root, mapper, aliasSymbol, aliasTypeArguments) {\n        let result;\n        let extraTypes;\n        let tailCount = 0;\n        while (true) {\n          if (tailCount === 1e3) {\n            error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);\n            result = errorType;\n            break;\n          }\n          const checkTuples = isSimpleTupleType(root.node.checkType) && isSimpleTupleType(root.node.extendsType) && length(root.node.checkType.elements) === length(root.node.extendsType.elements);\n          const checkType = instantiateType(getActualTypeVariable(root.checkType), mapper);\n          const checkTypeDeferred = isDeferredType(checkType, checkTuples);\n          const extendsType = instantiateType(root.extendsType, mapper);\n          if (checkType === wildcardType || extendsType === wildcardType) {\n            return wildcardType;\n          }\n          let combinedMapper;\n          if (root.inferTypeParameters) {\n            const freshParams = sameMap(root.inferTypeParameters, maybeCloneTypeParameter);\n            const freshMapper = freshParams !== root.inferTypeParameters ? createTypeMapper(root.inferTypeParameters, freshParams) : void 0;\n            const context = createInferenceContext(\n              freshParams,\n              /*signature*/\n              void 0,\n              0\n              /* None */\n            );\n            if (freshMapper) {\n              const freshCombinedMapper = combineTypeMappers(mapper, freshMapper);\n              for (const p of freshParams) {\n                if (root.inferTypeParameters.indexOf(p) === -1) {\n                  p.mapper = freshCombinedMapper;\n                }\n              }\n            }\n            if (!checkTypeDeferred) {\n              inferTypes(\n                context.inferences,\n                checkType,\n                instantiateType(extendsType, freshMapper),\n                512 | 1024\n                /* AlwaysStrict */\n              );\n            }\n            const innerMapper = combineTypeMappers(freshMapper, context.mapper);\n            combinedMapper = mapper ? combineTypeMappers(innerMapper, mapper) : innerMapper;\n          }\n          const inferredExtendsType = combinedMapper ? instantiateType(root.extendsType, combinedMapper) : extendsType;\n          if (!checkTypeDeferred && !isDeferredType(inferredExtendsType, checkTuples)) {\n            if (!(inferredExtendsType.flags & 3) && (checkType.flags & 1 || !isTypeAssignableTo(getPermissiveInstantiation(checkType), getPermissiveInstantiation(inferredExtendsType)))) {\n              if (checkType.flags & 1) {\n                (extraTypes || (extraTypes = [])).push(instantiateType(getTypeFromTypeNode(root.node.trueType), combinedMapper || mapper));\n              }\n              const falseType2 = getTypeFromTypeNode(root.node.falseType);\n              if (falseType2.flags & 16777216) {\n                const newRoot = falseType2.root;\n                if (newRoot.node.parent === root.node && (!newRoot.isDistributive || newRoot.checkType === root.checkType)) {\n                  root = newRoot;\n                  continue;\n                }\n                if (canTailRecurse(falseType2, mapper)) {\n                  continue;\n                }\n              }\n              result = instantiateType(falseType2, mapper);\n              break;\n            }\n            if (inferredExtendsType.flags & 3 || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(inferredExtendsType))) {\n              const trueType2 = getTypeFromTypeNode(root.node.trueType);\n              const trueMapper = combinedMapper || mapper;\n              if (canTailRecurse(trueType2, trueMapper)) {\n                continue;\n              }\n              result = instantiateType(trueType2, trueMapper);\n              break;\n            }\n          }\n          result = createType(\n            16777216\n            /* Conditional */\n          );\n          result.root = root;\n          result.checkType = instantiateType(root.checkType, mapper);\n          result.extendsType = instantiateType(root.extendsType, mapper);\n          result.mapper = mapper;\n          result.combinedMapper = combinedMapper;\n          result.aliasSymbol = aliasSymbol || root.aliasSymbol;\n          result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(root.aliasTypeArguments, mapper);\n          break;\n        }\n        return extraTypes ? getUnionType(append(extraTypes, result)) : result;\n        function canTailRecurse(newType, newMapper) {\n          if (newType.flags & 16777216 && newMapper) {\n            const newRoot = newType.root;\n            if (newRoot.outerTypeParameters) {\n              const typeParamMapper = combineTypeMappers(newType.mapper, newMapper);\n              const typeArguments = map(newRoot.outerTypeParameters, (t) => getMappedType(t, typeParamMapper));\n              const newRootMapper = createTypeMapper(newRoot.outerTypeParameters, typeArguments);\n              const newCheckType = newRoot.isDistributive ? getMappedType(newRoot.checkType, newRootMapper) : void 0;\n              if (!newCheckType || newCheckType === newRoot.checkType || !(newCheckType.flags & (1048576 | 131072))) {\n                root = newRoot;\n                mapper = newRootMapper;\n                aliasSymbol = void 0;\n                aliasTypeArguments = void 0;\n                if (newRoot.aliasSymbol) {\n                  tailCount++;\n                }\n                return true;\n              }\n            }\n          }\n          return false;\n        }\n      }\n      function getTrueTypeFromConditionalType(type) {\n        return type.resolvedTrueType || (type.resolvedTrueType = instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.mapper));\n      }\n      function getFalseTypeFromConditionalType(type) {\n        return type.resolvedFalseType || (type.resolvedFalseType = instantiateType(getTypeFromTypeNode(type.root.node.falseType), type.mapper));\n      }\n      function getInferredTrueTypeFromConditionalType(type) {\n        return type.resolvedInferredTrueType || (type.resolvedInferredTrueType = type.combinedMapper ? instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.combinedMapper) : getTrueTypeFromConditionalType(type));\n      }\n      function getInferTypeParameters(node) {\n        let result;\n        if (node.locals) {\n          node.locals.forEach((symbol) => {\n            if (symbol.flags & 262144) {\n              result = append(result, getDeclaredTypeOfSymbol(symbol));\n            }\n          });\n        }\n        return result;\n      }\n      function isDistributionDependent(root) {\n        return root.isDistributive && (isTypeParameterPossiblyReferenced(root.checkType, root.node.trueType) || isTypeParameterPossiblyReferenced(root.checkType, root.node.falseType));\n      }\n      function getTypeFromConditionalTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const checkType = getTypeFromTypeNode(node.checkType);\n          const aliasSymbol = getAliasSymbolForTypeNode(node);\n          const aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol);\n          const allOuterTypeParameters = getOuterTypeParameters(\n            node,\n            /*includeThisTypes*/\n            true\n          );\n          const outerTypeParameters = aliasTypeArguments ? allOuterTypeParameters : filter(allOuterTypeParameters, (tp) => isTypeParameterPossiblyReferenced(tp, node));\n          const root = {\n            node,\n            checkType,\n            extendsType: getTypeFromTypeNode(node.extendsType),\n            isDistributive: !!(checkType.flags & 262144),\n            inferTypeParameters: getInferTypeParameters(node),\n            outerTypeParameters,\n            instantiations: void 0,\n            aliasSymbol,\n            aliasTypeArguments\n          };\n          links.resolvedType = getConditionalType(\n            root,\n            /*mapper*/\n            void 0\n          );\n          if (outerTypeParameters) {\n            root.instantiations = /* @__PURE__ */ new Map();\n            root.instantiations.set(getTypeListId(outerTypeParameters), links.resolvedType);\n          }\n        }\n        return links.resolvedType;\n      }\n      function getTypeFromInferTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          links.resolvedType = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter));\n        }\n        return links.resolvedType;\n      }\n      function getIdentifierChain(node) {\n        if (isIdentifier(node)) {\n          return [node];\n        } else {\n          return append(getIdentifierChain(node.left), node.right);\n        }\n      }\n      function getTypeFromImportTypeNode(node) {\n        var _a22;\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          if (!isLiteralImportTypeNode(node)) {\n            error(node.argument, Diagnostics.String_literal_expected);\n            links.resolvedSymbol = unknownSymbol;\n            return links.resolvedType = errorType;\n          }\n          const targetMeaning = node.isTypeOf ? 111551 : node.flags & 8388608 ? 111551 | 788968 : 788968;\n          const innerModuleSymbol = resolveExternalModuleName(node, node.argument.literal);\n          if (!innerModuleSymbol) {\n            links.resolvedSymbol = unknownSymbol;\n            return links.resolvedType = errorType;\n          }\n          const isExportEquals = !!((_a22 = innerModuleSymbol.exports) == null ? void 0 : _a22.get(\n            \"export=\"\n            /* ExportEquals */\n          ));\n          const moduleSymbol = resolveExternalModuleSymbol(\n            innerModuleSymbol,\n            /*dontResolveAlias*/\n            false\n          );\n          if (!nodeIsMissing(node.qualifier)) {\n            const nameStack = getIdentifierChain(node.qualifier);\n            let currentNamespace = moduleSymbol;\n            let current;\n            while (current = nameStack.shift()) {\n              const meaning = nameStack.length ? 1920 : targetMeaning;\n              const mergedResolvedSymbol = getMergedSymbol(resolveSymbol(currentNamespace));\n              const symbolFromVariable = node.isTypeOf || isInJSFile(node) && isExportEquals ? getPropertyOfType(\n                getTypeOfSymbol(mergedResolvedSymbol),\n                current.escapedText,\n                /*skipObjectFunctionPropertyAugment*/\n                false,\n                /*includeTypeOnlyMembers*/\n                true\n              ) : void 0;\n              const symbolFromModule = node.isTypeOf ? void 0 : getSymbol2(getExportsOfSymbol(mergedResolvedSymbol), current.escapedText, meaning);\n              const next = symbolFromModule != null ? symbolFromModule : symbolFromVariable;\n              if (!next) {\n                error(current, Diagnostics.Namespace_0_has_no_exported_member_1, getFullyQualifiedName(currentNamespace), declarationNameToString(current));\n                return links.resolvedType = errorType;\n              }\n              getNodeLinks(current).resolvedSymbol = next;\n              getNodeLinks(current.parent).resolvedSymbol = next;\n              currentNamespace = next;\n            }\n            links.resolvedType = resolveImportSymbolType(node, links, currentNamespace, targetMeaning);\n          } else {\n            if (moduleSymbol.flags & targetMeaning) {\n              links.resolvedType = resolveImportSymbolType(node, links, moduleSymbol, targetMeaning);\n            } else {\n              const errorMessage = targetMeaning === 111551 ? Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here : Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;\n              error(node, errorMessage, node.argument.literal.text);\n              links.resolvedSymbol = unknownSymbol;\n              links.resolvedType = errorType;\n            }\n          }\n        }\n        return links.resolvedType;\n      }\n      function resolveImportSymbolType(node, links, symbol, meaning) {\n        const resolvedSymbol = resolveSymbol(symbol);\n        links.resolvedSymbol = resolvedSymbol;\n        if (meaning === 111551) {\n          return getInstantiationExpressionType(getTypeOfSymbol(symbol), node);\n        } else {\n          return getTypeReferenceType(node, resolvedSymbol);\n        }\n      }\n      function getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const aliasSymbol = getAliasSymbolForTypeNode(node);\n          if (getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) {\n            links.resolvedType = emptyTypeLiteralType;\n          } else {\n            let type = createObjectType(16, node.symbol);\n            type.aliasSymbol = aliasSymbol;\n            type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol);\n            if (isJSDocTypeLiteral(node) && node.isArrayType) {\n              type = createArrayType(type);\n            }\n            links.resolvedType = type;\n          }\n        }\n        return links.resolvedType;\n      }\n      function getAliasSymbolForTypeNode(node) {\n        let host2 = node.parent;\n        while (isParenthesizedTypeNode(host2) || isJSDocTypeExpression(host2) || isTypeOperatorNode(host2) && host2.operator === 146) {\n          host2 = host2.parent;\n        }\n        return isTypeAlias(host2) ? getSymbolOfDeclaration(host2) : void 0;\n      }\n      function getTypeArgumentsForAliasSymbol(symbol) {\n        return symbol ? getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) : void 0;\n      }\n      function isNonGenericObjectType(type) {\n        return !!(type.flags & 524288) && !isGenericMappedType(type);\n      }\n      function isEmptyObjectTypeOrSpreadsIntoEmptyObject(type) {\n        return isEmptyObjectType(type) || !!(type.flags & (65536 | 32768 | 528 | 296 | 2112 | 402653316 | 1056 | 67108864 | 4194304));\n      }\n      function tryMergeUnionOfObjectTypeAndEmptyObject(type, readonly) {\n        if (!(type.flags & 1048576)) {\n          return type;\n        }\n        if (every(type.types, isEmptyObjectTypeOrSpreadsIntoEmptyObject)) {\n          return find(type.types, isEmptyObjectType) || emptyObjectType;\n        }\n        const firstType = find(type.types, (t) => !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t));\n        if (!firstType) {\n          return type;\n        }\n        const secondType = find(type.types, (t) => t !== firstType && !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t));\n        if (secondType) {\n          return type;\n        }\n        return getAnonymousPartialType(firstType);\n        function getAnonymousPartialType(type2) {\n          const members = createSymbolTable();\n          for (const prop of getPropertiesOfType(type2)) {\n            if (getDeclarationModifierFlagsFromSymbol(prop) & (8 | 16)) {\n            } else if (isSpreadableProperty(prop)) {\n              const isSetonlyAccessor = prop.flags & 65536 && !(prop.flags & 32768);\n              const flags = 4 | 16777216;\n              const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 : 0));\n              result.links.type = isSetonlyAccessor ? undefinedType : addOptionality(\n                getTypeOfSymbol(prop),\n                /*isProperty*/\n                true\n              );\n              result.declarations = prop.declarations;\n              result.links.nameType = getSymbolLinks(prop).nameType;\n              result.links.syntheticOrigin = prop;\n              members.set(prop.escapedName, result);\n            }\n          }\n          const spread = createAnonymousType(type2.symbol, members, emptyArray, emptyArray, getIndexInfosOfType(type2));\n          spread.objectFlags |= 128 | 131072;\n          return spread;\n        }\n      }\n      function getSpreadType(left, right, symbol, objectFlags, readonly) {\n        if (left.flags & 1 || right.flags & 1) {\n          return anyType;\n        }\n        if (left.flags & 2 || right.flags & 2) {\n          return unknownType;\n        }\n        if (left.flags & 131072) {\n          return right;\n        }\n        if (right.flags & 131072) {\n          return left;\n        }\n        left = tryMergeUnionOfObjectTypeAndEmptyObject(left, readonly);\n        if (left.flags & 1048576) {\n          return checkCrossProductUnion([left, right]) ? mapType(left, (t) => getSpreadType(t, right, symbol, objectFlags, readonly)) : errorType;\n        }\n        right = tryMergeUnionOfObjectTypeAndEmptyObject(right, readonly);\n        if (right.flags & 1048576) {\n          return checkCrossProductUnion([left, right]) ? mapType(right, (t) => getSpreadType(left, t, symbol, objectFlags, readonly)) : errorType;\n        }\n        if (right.flags & (528 | 296 | 2112 | 402653316 | 1056 | 67108864 | 4194304)) {\n          return left;\n        }\n        if (isGenericObjectType(left) || isGenericObjectType(right)) {\n          if (isEmptyObjectType(left)) {\n            return right;\n          }\n          if (left.flags & 2097152) {\n            const types = left.types;\n            const lastLeft = types[types.length - 1];\n            if (isNonGenericObjectType(lastLeft) && isNonGenericObjectType(right)) {\n              return getIntersectionType(concatenate(types.slice(0, types.length - 1), [getSpreadType(lastLeft, right, symbol, objectFlags, readonly)]));\n            }\n          }\n          return getIntersectionType([left, right]);\n        }\n        const members = createSymbolTable();\n        const skippedPrivateMembers = /* @__PURE__ */ new Set();\n        const indexInfos = left === emptyObjectType ? getIndexInfosOfType(right) : getUnionIndexInfos([left, right]);\n        for (const rightProp of getPropertiesOfType(right)) {\n          if (getDeclarationModifierFlagsFromSymbol(rightProp) & (8 | 16)) {\n            skippedPrivateMembers.add(rightProp.escapedName);\n          } else if (isSpreadableProperty(rightProp)) {\n            members.set(rightProp.escapedName, getSpreadSymbol(rightProp, readonly));\n          }\n        }\n        for (const leftProp of getPropertiesOfType(left)) {\n          if (skippedPrivateMembers.has(leftProp.escapedName) || !isSpreadableProperty(leftProp)) {\n            continue;\n          }\n          if (members.has(leftProp.escapedName)) {\n            const rightProp = members.get(leftProp.escapedName);\n            const rightType = getTypeOfSymbol(rightProp);\n            if (rightProp.flags & 16777216) {\n              const declarations = concatenate(leftProp.declarations, rightProp.declarations);\n              const flags = 4 | leftProp.flags & 16777216;\n              const result = createSymbol(flags, leftProp.escapedName);\n              result.links.type = getUnionType(\n                [getTypeOfSymbol(leftProp), removeMissingOrUndefinedType(rightType)],\n                2\n                /* Subtype */\n              );\n              result.links.leftSpread = leftProp;\n              result.links.rightSpread = rightProp;\n              result.declarations = declarations;\n              result.links.nameType = getSymbolLinks(leftProp).nameType;\n              members.set(leftProp.escapedName, result);\n            }\n          } else {\n            members.set(leftProp.escapedName, getSpreadSymbol(leftProp, readonly));\n          }\n        }\n        const spread = createAnonymousType(symbol, members, emptyArray, emptyArray, sameMap(indexInfos, (info) => getIndexInfoWithReadonly(info, readonly)));\n        spread.objectFlags |= 128 | 131072 | 2097152 | objectFlags;\n        return spread;\n      }\n      function isSpreadableProperty(prop) {\n        var _a22;\n        return !some(prop.declarations, isPrivateIdentifierClassElementDeclaration) && (!(prop.flags & (8192 | 32768 | 65536)) || !((_a22 = prop.declarations) == null ? void 0 : _a22.some((decl) => isClassLike(decl.parent))));\n      }\n      function getSpreadSymbol(prop, readonly) {\n        const isSetonlyAccessor = prop.flags & 65536 && !(prop.flags & 32768);\n        if (!isSetonlyAccessor && readonly === isReadonlySymbol(prop)) {\n          return prop;\n        }\n        const flags = 4 | prop.flags & 16777216;\n        const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 : 0));\n        result.links.type = isSetonlyAccessor ? undefinedType : getTypeOfSymbol(prop);\n        result.declarations = prop.declarations;\n        result.links.nameType = getSymbolLinks(prop).nameType;\n        result.links.syntheticOrigin = prop;\n        return result;\n      }\n      function getIndexInfoWithReadonly(info, readonly) {\n        return info.isReadonly !== readonly ? createIndexInfo(info.keyType, info.type, readonly, info.declaration) : info;\n      }\n      function createLiteralType(flags, value, symbol, regularType) {\n        const type = createTypeWithSymbol(flags, symbol);\n        type.value = value;\n        type.regularType = regularType || type;\n        return type;\n      }\n      function getFreshTypeOfLiteralType(type) {\n        if (type.flags & 2976) {\n          if (!type.freshType) {\n            const freshType = createLiteralType(type.flags, type.value, type.symbol, type);\n            freshType.freshType = freshType;\n            type.freshType = freshType;\n          }\n          return type.freshType;\n        }\n        return type;\n      }\n      function getRegularTypeOfLiteralType(type) {\n        return type.flags & 2976 ? type.regularType : type.flags & 1048576 ? type.regularType || (type.regularType = mapType(type, getRegularTypeOfLiteralType)) : type;\n      }\n      function isFreshLiteralType(type) {\n        return !!(type.flags & 2976) && type.freshType === type;\n      }\n      function getStringLiteralType(value) {\n        let type;\n        return stringLiteralTypes.get(value) || (stringLiteralTypes.set(value, type = createLiteralType(128, value)), type);\n      }\n      function getNumberLiteralType(value) {\n        let type;\n        return numberLiteralTypes.get(value) || (numberLiteralTypes.set(value, type = createLiteralType(256, value)), type);\n      }\n      function getBigIntLiteralType(value) {\n        let type;\n        const key = pseudoBigIntToString(value);\n        return bigIntLiteralTypes.get(key) || (bigIntLiteralTypes.set(key, type = createLiteralType(2048, value)), type);\n      }\n      function getEnumLiteralType(value, enumId, symbol) {\n        let type;\n        const key = `${enumId}${typeof value === \"string\" ? \"@\" : \"#\"}${value}`;\n        const flags = 1024 | (typeof value === \"string\" ? 128 : 256);\n        return enumLiteralTypes.get(key) || (enumLiteralTypes.set(key, type = createLiteralType(flags, value, symbol)), type);\n      }\n      function getTypeFromLiteralTypeNode(node) {\n        if (node.literal.kind === 104) {\n          return nullType;\n        }\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          links.resolvedType = getRegularTypeOfLiteralType(checkExpression(node.literal));\n        }\n        return links.resolvedType;\n      }\n      function createUniqueESSymbolType(symbol) {\n        const type = createTypeWithSymbol(8192, symbol);\n        type.escapedName = `__@${type.symbol.escapedName}@${getSymbolId(type.symbol)}`;\n        return type;\n      }\n      function getESSymbolLikeTypeForNode(node) {\n        if (isValidESSymbolDeclaration(node)) {\n          const symbol = isCommonJsExportPropertyAssignment(node) ? getSymbolOfNode(node.left) : getSymbolOfNode(node);\n          if (symbol) {\n            const links = getSymbolLinks(symbol);\n            return links.uniqueESSymbolType || (links.uniqueESSymbolType = createUniqueESSymbolType(symbol));\n          }\n        }\n        return esSymbolType;\n      }\n      function getThisType(node) {\n        const container = getThisContainer(\n          node,\n          /*includeArrowFunctions*/\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        );\n        const parent2 = container && container.parent;\n        if (parent2 && (isClassLike(parent2) || parent2.kind === 261)) {\n          if (!isStatic(container) && (!isConstructorDeclaration(container) || isNodeDescendantOf(node, container.body))) {\n            return getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(parent2)).thisType;\n          }\n        }\n        if (parent2 && isObjectLiteralExpression(parent2) && isBinaryExpression(parent2.parent) && getAssignmentDeclarationKind(parent2.parent) === 6) {\n          return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(parent2.parent.left).parent).thisType;\n        }\n        const host2 = node.flags & 8388608 ? getHostSignatureFromJSDoc(node) : void 0;\n        if (host2 && isFunctionExpression(host2) && isBinaryExpression(host2.parent) && getAssignmentDeclarationKind(host2.parent) === 3) {\n          return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(host2.parent.left).parent).thisType;\n        }\n        if (isJSConstructor(container) && isNodeDescendantOf(node, container.body)) {\n          return getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(container)).thisType;\n        }\n        error(node, Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface);\n        return errorType;\n      }\n      function getTypeFromThisTypeNode(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          links.resolvedType = getThisType(node);\n        }\n        return links.resolvedType;\n      }\n      function getTypeFromRestTypeNode(node) {\n        return getTypeFromTypeNode(getArrayElementTypeNode(node.type) || node.type);\n      }\n      function getArrayElementTypeNode(node) {\n        switch (node.kind) {\n          case 193:\n            return getArrayElementTypeNode(node.type);\n          case 186:\n            if (node.elements.length === 1) {\n              node = node.elements[0];\n              if (node.kind === 188 || node.kind === 199 && node.dotDotDotToken) {\n                return getArrayElementTypeNode(node.type);\n              }\n            }\n            break;\n          case 185:\n            return node.elementType;\n        }\n        return void 0;\n      }\n      function getTypeFromNamedTupleTypeNode(node) {\n        const links = getNodeLinks(node);\n        return links.resolvedType || (links.resolvedType = node.dotDotDotToken ? getTypeFromRestTypeNode(node) : addOptionality(\n          getTypeFromTypeNode(node.type),\n          /*isProperty*/\n          true,\n          !!node.questionToken\n        ));\n      }\n      function getTypeFromTypeNode(node) {\n        return getConditionalFlowTypeOfType(getTypeFromTypeNodeWorker(node), node);\n      }\n      function getTypeFromTypeNodeWorker(node) {\n        switch (node.kind) {\n          case 131:\n          case 315:\n          case 316:\n            return anyType;\n          case 157:\n            return unknownType;\n          case 152:\n            return stringType;\n          case 148:\n            return numberType;\n          case 160:\n            return bigintType;\n          case 134:\n            return booleanType;\n          case 153:\n            return esSymbolType;\n          case 114:\n            return voidType;\n          case 155:\n            return undefinedType;\n          case 104:\n            return nullType;\n          case 144:\n            return neverType;\n          case 149:\n            return node.flags & 262144 && !noImplicitAny ? anyType : nonPrimitiveType;\n          case 139:\n            return intrinsicMarkerType;\n          case 194:\n          case 108:\n            return getTypeFromThisTypeNode(node);\n          case 198:\n            return getTypeFromLiteralTypeNode(node);\n          case 180:\n            return getTypeFromTypeReference(node);\n          case 179:\n            return node.assertsModifier ? voidType : booleanType;\n          case 230:\n            return getTypeFromTypeReference(node);\n          case 183:\n            return getTypeFromTypeQueryNode(node);\n          case 185:\n          case 186:\n            return getTypeFromArrayOrTupleTypeNode(node);\n          case 187:\n            return getTypeFromOptionalTypeNode(node);\n          case 189:\n            return getTypeFromUnionTypeNode(node);\n          case 190:\n            return getTypeFromIntersectionTypeNode(node);\n          case 317:\n            return getTypeFromJSDocNullableTypeNode(node);\n          case 319:\n            return addOptionality(getTypeFromTypeNode(node.type));\n          case 199:\n            return getTypeFromNamedTupleTypeNode(node);\n          case 193:\n          case 318:\n          case 312:\n            return getTypeFromTypeNode(node.type);\n          case 188:\n            return getTypeFromRestTypeNode(node);\n          case 321:\n            return getTypeFromJSDocVariadicType(node);\n          case 181:\n          case 182:\n          case 184:\n          case 325:\n          case 320:\n          case 326:\n            return getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node);\n          case 195:\n            return getTypeFromTypeOperatorNode(node);\n          case 196:\n            return getTypeFromIndexedAccessTypeNode(node);\n          case 197:\n            return getTypeFromMappedTypeNode(node);\n          case 191:\n            return getTypeFromConditionalTypeNode(node);\n          case 192:\n            return getTypeFromInferTypeNode(node);\n          case 200:\n            return getTypeFromTemplateTypeNode(node);\n          case 202:\n            return getTypeFromImportTypeNode(node);\n          case 79:\n          case 163:\n          case 208:\n            const symbol = getSymbolAtLocation(node);\n            return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType;\n          default:\n            return errorType;\n        }\n      }\n      function instantiateList(items, mapper, instantiator) {\n        if (items && items.length) {\n          for (let i = 0; i < items.length; i++) {\n            const item = items[i];\n            const mapped = instantiator(item, mapper);\n            if (item !== mapped) {\n              const result = i === 0 ? [] : items.slice(0, i);\n              result.push(mapped);\n              for (i++; i < items.length; i++) {\n                result.push(instantiator(items[i], mapper));\n              }\n              return result;\n            }\n          }\n        }\n        return items;\n      }\n      function instantiateTypes(types, mapper) {\n        return instantiateList(types, mapper, instantiateType);\n      }\n      function instantiateSignatures(signatures, mapper) {\n        return instantiateList(signatures, mapper, instantiateSignature);\n      }\n      function instantiateIndexInfos(indexInfos, mapper) {\n        return instantiateList(indexInfos, mapper, instantiateIndexInfo);\n      }\n      function createTypeMapper(sources, targets) {\n        return sources.length === 1 ? makeUnaryTypeMapper(sources[0], targets ? targets[0] : anyType) : makeArrayTypeMapper(sources, targets);\n      }\n      function getMappedType(type, mapper) {\n        switch (mapper.kind) {\n          case 0:\n            return type === mapper.source ? mapper.target : type;\n          case 1: {\n            const sources = mapper.sources;\n            const targets = mapper.targets;\n            for (let i = 0; i < sources.length; i++) {\n              if (type === sources[i]) {\n                return targets ? targets[i] : anyType;\n              }\n            }\n            return type;\n          }\n          case 2: {\n            const sources = mapper.sources;\n            const targets = mapper.targets;\n            for (let i = 0; i < sources.length; i++) {\n              if (type === sources[i]) {\n                return targets[i]();\n              }\n            }\n            return type;\n          }\n          case 3:\n            return mapper.func(type);\n          case 4:\n          case 5:\n            const t1 = getMappedType(type, mapper.mapper1);\n            return t1 !== type && mapper.kind === 4 ? instantiateType(t1, mapper.mapper2) : getMappedType(t1, mapper.mapper2);\n        }\n      }\n      function makeUnaryTypeMapper(source, target) {\n        return Debug2.attachDebugPrototypeIfDebug({ kind: 0, source, target });\n      }\n      function makeArrayTypeMapper(sources, targets) {\n        return Debug2.attachDebugPrototypeIfDebug({ kind: 1, sources, targets });\n      }\n      function makeFunctionTypeMapper(func, debugInfo) {\n        return Debug2.attachDebugPrototypeIfDebug({ kind: 3, func, debugInfo: Debug2.isDebugging ? debugInfo : void 0 });\n      }\n      function makeDeferredTypeMapper(sources, targets) {\n        return Debug2.attachDebugPrototypeIfDebug({ kind: 2, sources, targets });\n      }\n      function makeCompositeTypeMapper(kind, mapper1, mapper2) {\n        return Debug2.attachDebugPrototypeIfDebug({ kind, mapper1, mapper2 });\n      }\n      function createTypeEraser(sources) {\n        return createTypeMapper(\n          sources,\n          /*targets*/\n          void 0\n        );\n      }\n      function createBackreferenceMapper(context, index) {\n        const forwardInferences = context.inferences.slice(index);\n        return createTypeMapper(map(forwardInferences, (i) => i.typeParameter), map(forwardInferences, () => unknownType));\n      }\n      function combineTypeMappers(mapper1, mapper2) {\n        return mapper1 ? makeCompositeTypeMapper(4, mapper1, mapper2) : mapper2;\n      }\n      function mergeTypeMappers(mapper1, mapper2) {\n        return mapper1 ? makeCompositeTypeMapper(5, mapper1, mapper2) : mapper2;\n      }\n      function prependTypeMapping(source, target, mapper) {\n        return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5, makeUnaryTypeMapper(source, target), mapper);\n      }\n      function appendTypeMapping(mapper, source, target) {\n        return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5, mapper, makeUnaryTypeMapper(source, target));\n      }\n      function getRestrictiveTypeParameter(tp) {\n        return !tp.constraint && !getConstraintDeclaration(tp) || tp.constraint === noConstraintType ? tp : tp.restrictiveInstantiation || (tp.restrictiveInstantiation = createTypeParameter(tp.symbol), tp.restrictiveInstantiation.constraint = noConstraintType, tp.restrictiveInstantiation);\n      }\n      function cloneTypeParameter(typeParameter) {\n        const result = createTypeParameter(typeParameter.symbol);\n        result.target = typeParameter;\n        return result;\n      }\n      function instantiateTypePredicate(predicate, mapper) {\n        return createTypePredicate(predicate.kind, predicate.parameterName, predicate.parameterIndex, instantiateType(predicate.type, mapper));\n      }\n      function instantiateSignature(signature, mapper, eraseTypeParameters) {\n        let freshTypeParameters;\n        if (signature.typeParameters && !eraseTypeParameters) {\n          freshTypeParameters = map(signature.typeParameters, cloneTypeParameter);\n          mapper = combineTypeMappers(createTypeMapper(signature.typeParameters, freshTypeParameters), mapper);\n          for (const tp of freshTypeParameters) {\n            tp.mapper = mapper;\n          }\n        }\n        const result = createSignature(\n          signature.declaration,\n          freshTypeParameters,\n          signature.thisParameter && instantiateSymbol(signature.thisParameter, mapper),\n          instantiateList(signature.parameters, mapper, instantiateSymbol),\n          /*resolvedReturnType*/\n          void 0,\n          /*resolvedTypePredicate*/\n          void 0,\n          signature.minArgumentCount,\n          signature.flags & 39\n          /* PropagatingFlags */\n        );\n        result.target = signature;\n        result.mapper = mapper;\n        return result;\n      }\n      function instantiateSymbol(symbol, mapper) {\n        const links = getSymbolLinks(symbol);\n        if (links.type && !couldContainTypeVariables(links.type)) {\n          return symbol;\n        }\n        if (getCheckFlags(symbol) & 1) {\n          symbol = links.target;\n          mapper = combineTypeMappers(links.mapper, mapper);\n        }\n        const result = createSymbol(symbol.flags, symbol.escapedName, 1 | getCheckFlags(symbol) & (8 | 4096 | 16384 | 32768));\n        result.declarations = symbol.declarations;\n        result.parent = symbol.parent;\n        result.links.target = symbol;\n        result.links.mapper = mapper;\n        if (symbol.valueDeclaration) {\n          result.valueDeclaration = symbol.valueDeclaration;\n        }\n        if (links.nameType) {\n          result.links.nameType = links.nameType;\n        }\n        return result;\n      }\n      function getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments) {\n        const declaration = type.objectFlags & 4 ? type.node : type.objectFlags & 8388608 ? type.node : type.symbol.declarations[0];\n        const links = getNodeLinks(declaration);\n        const target = type.objectFlags & 4 ? links.resolvedType : type.objectFlags & 64 ? type.target : type;\n        let typeParameters = links.outerTypeParameters;\n        if (!typeParameters) {\n          let outerTypeParameters = getOuterTypeParameters(\n            declaration,\n            /*includeThisTypes*/\n            true\n          );\n          if (isJSConstructor(declaration)) {\n            const templateTagParameters = getTypeParametersFromDeclaration(declaration);\n            outerTypeParameters = addRange(outerTypeParameters, templateTagParameters);\n          }\n          typeParameters = outerTypeParameters || emptyArray;\n          const allDeclarations = type.objectFlags & (4 | 8388608) ? [declaration] : type.symbol.declarations;\n          typeParameters = (target.objectFlags & (4 | 8388608) || target.symbol.flags & 8192 || target.symbol.flags & 2048) && !target.aliasTypeArguments ? filter(typeParameters, (tp) => some(allDeclarations, (d) => isTypeParameterPossiblyReferenced(tp, d))) : typeParameters;\n          links.outerTypeParameters = typeParameters;\n        }\n        if (typeParameters.length) {\n          const combinedMapper = combineTypeMappers(type.mapper, mapper);\n          const typeArguments = map(typeParameters, (t) => getMappedType(t, combinedMapper));\n          const newAliasSymbol = aliasSymbol || type.aliasSymbol;\n          const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n          const id = getTypeListId(typeArguments) + getAliasId(newAliasSymbol, newAliasTypeArguments);\n          if (!target.instantiations) {\n            target.instantiations = /* @__PURE__ */ new Map();\n            target.instantiations.set(getTypeListId(typeParameters) + getAliasId(target.aliasSymbol, target.aliasTypeArguments), target);\n          }\n          let result = target.instantiations.get(id);\n          if (!result) {\n            const newMapper = createTypeMapper(typeParameters, typeArguments);\n            result = target.objectFlags & 4 ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments);\n            target.instantiations.set(id, result);\n          }\n          return result;\n        }\n        return type;\n      }\n      function maybeTypeParameterReference(node) {\n        return !(node.parent.kind === 180 && node.parent.typeArguments && node === node.parent.typeName || node.parent.kind === 202 && node.parent.typeArguments && node === node.parent.qualifier);\n      }\n      function isTypeParameterPossiblyReferenced(tp, node) {\n        if (tp.symbol && tp.symbol.declarations && tp.symbol.declarations.length === 1) {\n          const container = tp.symbol.declarations[0].parent;\n          for (let n = node; n !== container; n = n.parent) {\n            if (!n || n.kind === 238 || n.kind === 191 && forEachChild(n.extendsType, containsReference)) {\n              return true;\n            }\n          }\n          return containsReference(node);\n        }\n        return true;\n        function containsReference(node2) {\n          switch (node2.kind) {\n            case 194:\n              return !!tp.isThisType;\n            case 79:\n              return !tp.isThisType && isPartOfTypeNode(node2) && maybeTypeParameterReference(node2) && getTypeFromTypeNodeWorker(node2) === tp;\n            case 183:\n              const entityName = node2.exprName;\n              const firstIdentifier = getFirstIdentifier(entityName);\n              const firstIdentifierSymbol = getResolvedSymbol(firstIdentifier);\n              const tpDeclaration = tp.symbol.declarations[0];\n              let tpScope;\n              if (tpDeclaration.kind === 165) {\n                tpScope = tpDeclaration.parent;\n              } else if (tp.isThisType) {\n                tpScope = tpDeclaration;\n              } else {\n                return true;\n              }\n              if (firstIdentifierSymbol.declarations) {\n                return some(firstIdentifierSymbol.declarations, (idDecl) => isNodeDescendantOf(idDecl, tpScope)) || some(node2.typeArguments, containsReference);\n              }\n              return true;\n            case 171:\n            case 170:\n              return !node2.type && !!node2.body || some(node2.typeParameters, containsReference) || some(node2.parameters, containsReference) || !!node2.type && containsReference(node2.type);\n          }\n          return !!forEachChild(node2, containsReference);\n        }\n      }\n      function getHomomorphicTypeVariable(type) {\n        const constraintType = getConstraintTypeFromMappedType(type);\n        if (constraintType.flags & 4194304) {\n          const typeVariable = getActualTypeVariable(constraintType.type);\n          if (typeVariable.flags & 262144) {\n            return typeVariable;\n          }\n        }\n        return void 0;\n      }\n      function instantiateMappedType(type, mapper, aliasSymbol, aliasTypeArguments) {\n        const typeVariable = getHomomorphicTypeVariable(type);\n        if (typeVariable) {\n          const mappedTypeVariable = instantiateType(typeVariable, mapper);\n          if (typeVariable !== mappedTypeVariable) {\n            return mapTypeWithAlias(getReducedType(mappedTypeVariable), (t) => {\n              if (t.flags & (3 | 58982400 | 524288 | 2097152) && t !== wildcardType && !isErrorType(t)) {\n                if (!type.declaration.nameType) {\n                  let constraint;\n                  if (isArrayType(t) || t.flags & 1 && findResolutionCycleStartIndex(\n                    typeVariable,\n                    4\n                    /* ImmediateBaseConstraint */\n                  ) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {\n                    return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));\n                  }\n                  if (isGenericTupleType(t)) {\n                    return instantiateMappedGenericTupleType(t, type, typeVariable, mapper);\n                  }\n                  if (isTupleType(t)) {\n                    return instantiateMappedTupleType(t, type, prependTypeMapping(typeVariable, t, mapper));\n                  }\n                }\n                return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));\n              }\n              return t;\n            }, aliasSymbol, aliasTypeArguments);\n          }\n        }\n        return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments);\n      }\n      function getModifiedReadonlyState(state, modifiers) {\n        return modifiers & 1 ? true : modifiers & 2 ? false : state;\n      }\n      function instantiateMappedGenericTupleType(tupleType, mappedType, typeVariable, mapper) {\n        const elementFlags = tupleType.target.elementFlags;\n        const elementTypes = map(getTypeArguments(tupleType), (t, i) => {\n          const singleton = elementFlags[i] & 8 ? t : elementFlags[i] & 4 ? createArrayType(t) : createTupleType([t], [elementFlags[i]]);\n          return instantiateMappedType(mappedType, prependTypeMapping(typeVariable, singleton, mapper));\n        });\n        const newReadonly = getModifiedReadonlyState(tupleType.target.readonly, getMappedTypeModifiers(mappedType));\n        return createTupleType(elementTypes, map(\n          elementTypes,\n          (_) => 8\n          /* Variadic */\n        ), newReadonly);\n      }\n      function instantiateMappedArrayType(arrayType, mappedType, mapper) {\n        const elementType = instantiateMappedTypeTemplate(\n          mappedType,\n          numberType,\n          /*isOptional*/\n          true,\n          mapper\n        );\n        return isErrorType(elementType) ? errorType : createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTypeModifiers(mappedType)));\n      }\n      function instantiateMappedTupleType(tupleType, mappedType, mapper) {\n        const elementFlags = tupleType.target.elementFlags;\n        const elementTypes = map(getTypeArguments(tupleType), (_, i) => instantiateMappedTypeTemplate(mappedType, getStringLiteralType(\"\" + i), !!(elementFlags[i] & 2), mapper));\n        const modifiers = getMappedTypeModifiers(mappedType);\n        const newTupleModifiers = modifiers & 4 ? map(elementFlags, (f) => f & 1 ? 2 : f) : modifiers & 8 ? map(elementFlags, (f) => f & 2 ? 1 : f) : elementFlags;\n        const newReadonly = getModifiedReadonlyState(tupleType.target.readonly, modifiers);\n        return contains(elementTypes, errorType) ? errorType : createTupleType(elementTypes, newTupleModifiers, newReadonly, tupleType.target.labeledElementDeclarations);\n      }\n      function instantiateMappedTypeTemplate(type, key, isOptional, mapper) {\n        const templateMapper = appendTypeMapping(mapper, getTypeParameterFromMappedType(type), key);\n        const propType = instantiateType(getTemplateTypeFromMappedType(type.target || type), templateMapper);\n        const modifiers = getMappedTypeModifiers(type);\n        return strictNullChecks && modifiers & 4 && !maybeTypeOfKind(\n          propType,\n          32768 | 16384\n          /* Void */\n        ) ? getOptionalType(\n          propType,\n          /*isProperty*/\n          true\n        ) : strictNullChecks && modifiers & 8 && isOptional ? getTypeWithFacts(\n          propType,\n          524288\n          /* NEUndefined */\n        ) : propType;\n      }\n      function instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments) {\n        const result = createObjectType(type.objectFlags | 64, type.symbol);\n        if (type.objectFlags & 32) {\n          result.declaration = type.declaration;\n          const origTypeParameter = getTypeParameterFromMappedType(type);\n          const freshTypeParameter = cloneTypeParameter(origTypeParameter);\n          result.typeParameter = freshTypeParameter;\n          mapper = combineTypeMappers(makeUnaryTypeMapper(origTypeParameter, freshTypeParameter), mapper);\n          freshTypeParameter.mapper = mapper;\n        }\n        if (type.objectFlags & 8388608) {\n          result.node = type.node;\n        }\n        result.target = type;\n        result.mapper = mapper;\n        result.aliasSymbol = aliasSymbol || type.aliasSymbol;\n        result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n        result.objectFlags |= result.aliasTypeArguments ? getPropagatingFlagsOfTypes(result.aliasTypeArguments) : 0;\n        return result;\n      }\n      function getConditionalTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments) {\n        const root = type.root;\n        if (root.outerTypeParameters) {\n          const typeArguments = map(root.outerTypeParameters, (t) => getMappedType(t, mapper));\n          const id = getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments);\n          let result = root.instantiations.get(id);\n          if (!result) {\n            const newMapper = createTypeMapper(root.outerTypeParameters, typeArguments);\n            const checkType = root.checkType;\n            const distributionType = root.isDistributive ? getMappedType(checkType, newMapper) : void 0;\n            result = distributionType && checkType !== distributionType && distributionType.flags & (1048576 | 131072) ? mapTypeWithAlias(getReducedType(distributionType), (t) => getConditionalType(root, prependTypeMapping(checkType, t, newMapper)), aliasSymbol, aliasTypeArguments) : getConditionalType(root, newMapper, aliasSymbol, aliasTypeArguments);\n            root.instantiations.set(id, result);\n          }\n          return result;\n        }\n        return type;\n      }\n      function instantiateType(type, mapper) {\n        return type && mapper ? instantiateTypeWithAlias(\n          type,\n          mapper,\n          /*aliasSymbol*/\n          void 0,\n          /*aliasTypeArguments*/\n          void 0\n        ) : type;\n      }\n      function instantiateTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) {\n        var _a22;\n        if (!couldContainTypeVariables(type)) {\n          return type;\n        }\n        if (instantiationDepth === 100 || instantiationCount >= 5e6) {\n          (_a22 = tracing) == null ? void 0 : _a22.instant(tracing.Phase.CheckTypes, \"instantiateType_DepthLimit\", { typeId: type.id, instantiationDepth, instantiationCount });\n          error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);\n          return errorType;\n        }\n        totalInstantiationCount++;\n        instantiationCount++;\n        instantiationDepth++;\n        const result = instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments);\n        instantiationDepth--;\n        return result;\n      }\n      function instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments) {\n        const flags = type.flags;\n        if (flags & 262144) {\n          return getMappedType(type, mapper);\n        }\n        if (flags & 524288) {\n          const objectFlags = type.objectFlags;\n          if (objectFlags & (4 | 16 | 32)) {\n            if (objectFlags & 4 && !type.node) {\n              const resolvedTypeArguments = type.resolvedTypeArguments;\n              const newTypeArguments = instantiateTypes(resolvedTypeArguments, mapper);\n              return newTypeArguments !== resolvedTypeArguments ? createNormalizedTypeReference(type.target, newTypeArguments) : type;\n            }\n            if (objectFlags & 1024) {\n              return instantiateReverseMappedType(type, mapper);\n            }\n            return getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments);\n          }\n          return type;\n        }\n        if (flags & 3145728) {\n          const origin = type.flags & 1048576 ? type.origin : void 0;\n          const types = origin && origin.flags & 3145728 ? origin.types : type.types;\n          const newTypes = instantiateTypes(types, mapper);\n          if (newTypes === types && aliasSymbol === type.aliasSymbol) {\n            return type;\n          }\n          const newAliasSymbol = aliasSymbol || type.aliasSymbol;\n          const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n          return flags & 2097152 || origin && origin.flags & 2097152 ? getIntersectionType(newTypes, newAliasSymbol, newAliasTypeArguments) : getUnionType(newTypes, 1, newAliasSymbol, newAliasTypeArguments);\n        }\n        if (flags & 4194304) {\n          return getIndexType(instantiateType(type.type, mapper));\n        }\n        if (flags & 134217728) {\n          return getTemplateLiteralType(type.texts, instantiateTypes(type.types, mapper));\n        }\n        if (flags & 268435456) {\n          return getStringMappingType(type.symbol, instantiateType(type.type, mapper));\n        }\n        if (flags & 8388608) {\n          const newAliasSymbol = aliasSymbol || type.aliasSymbol;\n          const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n          return getIndexedAccessType(\n            instantiateType(type.objectType, mapper),\n            instantiateType(type.indexType, mapper),\n            type.accessFlags,\n            /*accessNode*/\n            void 0,\n            newAliasSymbol,\n            newAliasTypeArguments\n          );\n        }\n        if (flags & 16777216) {\n          return getConditionalTypeInstantiation(type, combineTypeMappers(type.mapper, mapper), aliasSymbol, aliasTypeArguments);\n        }\n        if (flags & 33554432) {\n          const newBaseType = instantiateType(type.baseType, mapper);\n          const newConstraint = instantiateType(type.constraint, mapper);\n          if (newBaseType.flags & 8650752 && isGenericType(newConstraint)) {\n            return getSubstitutionType(newBaseType, newConstraint);\n          }\n          if (newConstraint.flags & 3 || isTypeAssignableTo(getRestrictiveInstantiation(newBaseType), getRestrictiveInstantiation(newConstraint))) {\n            return newBaseType;\n          }\n          return newBaseType.flags & 8650752 ? getSubstitutionType(newBaseType, newConstraint) : getIntersectionType([newConstraint, newBaseType]);\n        }\n        return type;\n      }\n      function instantiateReverseMappedType(type, mapper) {\n        const innerMappedType = instantiateType(type.mappedType, mapper);\n        if (!(getObjectFlags(innerMappedType) & 32)) {\n          return type;\n        }\n        const innerIndexType = instantiateType(type.constraintType, mapper);\n        if (!(innerIndexType.flags & 4194304)) {\n          return type;\n        }\n        const instantiated = inferTypeForHomomorphicMappedType(\n          instantiateType(type.source, mapper),\n          innerMappedType,\n          innerIndexType\n        );\n        if (instantiated) {\n          return instantiated;\n        }\n        return type;\n      }\n      function getUniqueLiteralFilledInstantiation(type) {\n        return type.flags & (134348796 | 3 | 131072) ? type : type.uniqueLiteralFilledInstantiation || (type.uniqueLiteralFilledInstantiation = instantiateType(type, uniqueLiteralMapper));\n      }\n      function getPermissiveInstantiation(type) {\n        return type.flags & (134348796 | 3 | 131072) ? type : type.permissiveInstantiation || (type.permissiveInstantiation = instantiateType(type, permissiveMapper));\n      }\n      function getRestrictiveInstantiation(type) {\n        if (type.flags & (134348796 | 3 | 131072)) {\n          return type;\n        }\n        if (type.restrictiveInstantiation) {\n          return type.restrictiveInstantiation;\n        }\n        type.restrictiveInstantiation = instantiateType(type, restrictiveMapper);\n        type.restrictiveInstantiation.restrictiveInstantiation = type.restrictiveInstantiation;\n        return type.restrictiveInstantiation;\n      }\n      function instantiateIndexInfo(info, mapper) {\n        return createIndexInfo(info.keyType, instantiateType(info.type, mapper), info.isReadonly, info.declaration);\n      }\n      function isContextSensitive(node) {\n        Debug2.assert(node.kind !== 171 || isObjectLiteralMethod(node));\n        switch (node.kind) {\n          case 215:\n          case 216:\n          case 171:\n          case 259:\n            return isContextSensitiveFunctionLikeDeclaration(node);\n          case 207:\n            return some(node.properties, isContextSensitive);\n          case 206:\n            return some(node.elements, isContextSensitive);\n          case 224:\n            return isContextSensitive(node.whenTrue) || isContextSensitive(node.whenFalse);\n          case 223:\n            return (node.operatorToken.kind === 56 || node.operatorToken.kind === 60) && (isContextSensitive(node.left) || isContextSensitive(node.right));\n          case 299:\n            return isContextSensitive(node.initializer);\n          case 214:\n            return isContextSensitive(node.expression);\n          case 289:\n            return some(node.properties, isContextSensitive) || isJsxOpeningElement(node.parent) && some(node.parent.parent.children, isContextSensitive);\n          case 288: {\n            const { initializer } = node;\n            return !!initializer && isContextSensitive(initializer);\n          }\n          case 291: {\n            const { expression } = node;\n            return !!expression && isContextSensitive(expression);\n          }\n        }\n        return false;\n      }\n      function isContextSensitiveFunctionLikeDeclaration(node) {\n        return hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);\n      }\n      function hasContextSensitiveReturnExpression(node) {\n        return !node.typeParameters && !getEffectiveReturnTypeNode(node) && !!node.body && node.body.kind !== 238 && isContextSensitive(node.body);\n      }\n      function isContextSensitiveFunctionOrObjectLiteralMethod(func) {\n        return (isFunctionExpressionOrArrowFunction(func) || isObjectLiteralMethod(func)) && isContextSensitiveFunctionLikeDeclaration(func);\n      }\n      function getTypeWithoutSignatures(type) {\n        if (type.flags & 524288) {\n          const resolved = resolveStructuredTypeMembers(type);\n          if (resolved.constructSignatures.length || resolved.callSignatures.length) {\n            const result = createObjectType(16, type.symbol);\n            result.members = resolved.members;\n            result.properties = resolved.properties;\n            result.callSignatures = emptyArray;\n            result.constructSignatures = emptyArray;\n            result.indexInfos = emptyArray;\n            return result;\n          }\n        } else if (type.flags & 2097152) {\n          return getIntersectionType(map(type.types, getTypeWithoutSignatures));\n        }\n        return type;\n      }\n      function isTypeIdenticalTo(source, target) {\n        return isTypeRelatedTo(source, target, identityRelation);\n      }\n      function compareTypesIdentical(source, target) {\n        return isTypeRelatedTo(source, target, identityRelation) ? -1 : 0;\n      }\n      function compareTypesAssignable(source, target) {\n        return isTypeRelatedTo(source, target, assignableRelation) ? -1 : 0;\n      }\n      function compareTypesSubtypeOf(source, target) {\n        return isTypeRelatedTo(source, target, subtypeRelation) ? -1 : 0;\n      }\n      function isTypeSubtypeOf(source, target) {\n        return isTypeRelatedTo(source, target, subtypeRelation);\n      }\n      function isTypeStrictSubtypeOf(source, target) {\n        return isTypeRelatedTo(source, target, strictSubtypeRelation);\n      }\n      function isTypeAssignableTo(source, target) {\n        return isTypeRelatedTo(source, target, assignableRelation);\n      }\n      function isTypeDerivedFrom(source, target) {\n        return source.flags & 1048576 ? every(source.types, (t) => isTypeDerivedFrom(t, target)) : target.flags & 1048576 ? some(target.types, (t) => isTypeDerivedFrom(source, t)) : source.flags & 2097152 ? some(source.types, (t) => isTypeDerivedFrom(t, target)) : source.flags & 58982400 ? isTypeDerivedFrom(getBaseConstraintOfType(source) || unknownType, target) : isEmptyAnonymousObjectType(target) ? !!(source.flags & (524288 | 67108864)) : target === globalObjectType ? !!(source.flags & (524288 | 67108864)) && !isEmptyAnonymousObjectType(source) : target === globalFunctionType ? !!(source.flags & 524288) && isFunctionObjectType(source) : hasBaseType(source, getTargetType(target)) || isArrayType(target) && !isReadonlyArrayType(target) && isTypeDerivedFrom(source, globalReadonlyArrayType);\n      }\n      function isTypeComparableTo(source, target) {\n        return isTypeRelatedTo(source, target, comparableRelation);\n      }\n      function areTypesComparable(type1, type2) {\n        return isTypeComparableTo(type1, type2) || isTypeComparableTo(type2, type1);\n      }\n      function checkTypeAssignableTo(source, target, errorNode, headMessage, containingMessageChain, errorOutputObject) {\n        return checkTypeRelatedTo(source, target, assignableRelation, errorNode, headMessage, containingMessageChain, errorOutputObject);\n      }\n      function checkTypeAssignableToAndOptionallyElaborate(source, target, errorNode, expr, headMessage, containingMessageChain) {\n        return checkTypeRelatedToAndOptionallyElaborate(\n          source,\n          target,\n          assignableRelation,\n          errorNode,\n          expr,\n          headMessage,\n          containingMessageChain,\n          /*errorOutputContainer*/\n          void 0\n        );\n      }\n      function checkTypeRelatedToAndOptionallyElaborate(source, target, relation, errorNode, expr, headMessage, containingMessageChain, errorOutputContainer) {\n        if (isTypeRelatedTo(source, target, relation))\n          return true;\n        if (!errorNode || !elaborateError(expr, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) {\n          return checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer);\n        }\n        return false;\n      }\n      function isOrHasGenericConditional(type) {\n        return !!(type.flags & 16777216 || type.flags & 2097152 && some(type.types, isOrHasGenericConditional));\n      }\n      function elaborateError(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) {\n        if (!node || isOrHasGenericConditional(target))\n          return false;\n        if (!checkTypeRelatedTo(\n          source,\n          target,\n          relation,\n          /*errorNode*/\n          void 0\n        ) && elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) {\n          return true;\n        }\n        switch (node.kind) {\n          case 291:\n          case 214:\n            return elaborateError(node.expression, source, target, relation, headMessage, containingMessageChain, errorOutputContainer);\n          case 223:\n            switch (node.operatorToken.kind) {\n              case 63:\n              case 27:\n                return elaborateError(node.right, source, target, relation, headMessage, containingMessageChain, errorOutputContainer);\n            }\n            break;\n          case 207:\n            return elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer);\n          case 206:\n            return elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer);\n          case 289:\n            return elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer);\n          case 216:\n            return elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer);\n        }\n        return false;\n      }\n      function elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) {\n        const callSignatures = getSignaturesOfType(\n          source,\n          0\n          /* Call */\n        );\n        const constructSignatures = getSignaturesOfType(\n          source,\n          1\n          /* Construct */\n        );\n        for (const signatures of [constructSignatures, callSignatures]) {\n          if (some(signatures, (s) => {\n            const returnType = getReturnTypeOfSignature(s);\n            return !(returnType.flags & (1 | 131072)) && checkTypeRelatedTo(\n              returnType,\n              target,\n              relation,\n              /*errorNode*/\n              void 0\n            );\n          })) {\n            const resultObj = errorOutputContainer || {};\n            checkTypeAssignableTo(source, target, node, headMessage, containingMessageChain, resultObj);\n            const diagnostic = resultObj.errors[resultObj.errors.length - 1];\n            addRelatedInfo(diagnostic, createDiagnosticForNode(\n              node,\n              signatures === constructSignatures ? Diagnostics.Did_you_mean_to_use_new_with_this_expression : Diagnostics.Did_you_mean_to_call_this_expression\n            ));\n            return true;\n          }\n        }\n        return false;\n      }\n      function elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n        if (isBlock(node.body)) {\n          return false;\n        }\n        if (some(node.parameters, hasType)) {\n          return false;\n        }\n        const sourceSig = getSingleCallSignature(source);\n        if (!sourceSig) {\n          return false;\n        }\n        const targetSignatures = getSignaturesOfType(\n          target,\n          0\n          /* Call */\n        );\n        if (!length(targetSignatures)) {\n          return false;\n        }\n        const returnExpression = node.body;\n        const sourceReturn = getReturnTypeOfSignature(sourceSig);\n        const targetReturn = getUnionType(map(targetSignatures, getReturnTypeOfSignature));\n        if (!checkTypeRelatedTo(\n          sourceReturn,\n          targetReturn,\n          relation,\n          /*errorNode*/\n          void 0\n        )) {\n          const elaborated = returnExpression && elaborateError(\n            returnExpression,\n            sourceReturn,\n            targetReturn,\n            relation,\n            /*headMessage*/\n            void 0,\n            containingMessageChain,\n            errorOutputContainer\n          );\n          if (elaborated) {\n            return elaborated;\n          }\n          const resultObj = errorOutputContainer || {};\n          checkTypeRelatedTo(\n            sourceReturn,\n            targetReturn,\n            relation,\n            returnExpression,\n            /*message*/\n            void 0,\n            containingMessageChain,\n            resultObj\n          );\n          if (resultObj.errors) {\n            if (target.symbol && length(target.symbol.declarations)) {\n              addRelatedInfo(resultObj.errors[resultObj.errors.length - 1], createDiagnosticForNode(\n                target.symbol.declarations[0],\n                Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature\n              ));\n            }\n            if ((getFunctionFlags(node) & 2) === 0 && !getTypeOfPropertyOfType(sourceReturn, \"then\") && checkTypeRelatedTo(\n              createPromiseType(sourceReturn),\n              targetReturn,\n              relation,\n              /*errorNode*/\n              void 0\n            )) {\n              addRelatedInfo(resultObj.errors[resultObj.errors.length - 1], createDiagnosticForNode(\n                node,\n                Diagnostics.Did_you_mean_to_mark_this_function_as_async\n              ));\n            }\n            return true;\n          }\n        }\n        return false;\n      }\n      function getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType) {\n        const idx = getIndexedAccessTypeOrUndefined(target, nameType);\n        if (idx) {\n          return idx;\n        }\n        if (target.flags & 1048576) {\n          const best = getBestMatchingType(source, target);\n          if (best) {\n            return getIndexedAccessTypeOrUndefined(best, nameType);\n          }\n        }\n      }\n      function checkExpressionForMutableLocationWithContextualType(next, sourcePropType) {\n        pushContextualType(\n          next,\n          sourcePropType,\n          /*isCache*/\n          false\n        );\n        const result = checkExpressionForMutableLocation(\n          next,\n          1\n          /* Contextual */\n        );\n        popContextualType();\n        return result;\n      }\n      function elaborateElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) {\n        let reportedError = false;\n        for (const value of iterator) {\n          const { errorNode: prop, innerExpression: next, nameType, errorMessage } = value;\n          let targetPropType = getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType);\n          if (!targetPropType || targetPropType.flags & 8388608)\n            continue;\n          let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType);\n          if (!sourcePropType)\n            continue;\n          const propName = getPropertyNameFromIndex(\n            nameType,\n            /*accessNode*/\n            void 0\n          );\n          if (!checkTypeRelatedTo(\n            sourcePropType,\n            targetPropType,\n            relation,\n            /*errorNode*/\n            void 0\n          )) {\n            const elaborated = next && elaborateError(\n              next,\n              sourcePropType,\n              targetPropType,\n              relation,\n              /*headMessage*/\n              void 0,\n              containingMessageChain,\n              errorOutputContainer\n            );\n            reportedError = true;\n            if (!elaborated) {\n              const resultObj = errorOutputContainer || {};\n              const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType;\n              if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) {\n                const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType));\n                diagnostics.add(diag2);\n                resultObj.errors = [diag2];\n              } else {\n                const targetIsOptional = !!(propName && (getPropertyOfType(target, propName) || unknownSymbol).flags & 16777216);\n                const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216);\n                targetPropType = removeMissingType(targetPropType, targetIsOptional);\n                sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional);\n                const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj);\n                if (result && specificSource !== sourcePropType) {\n                  checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj);\n                }\n              }\n              if (resultObj.errors) {\n                const reportedDiag = resultObj.errors[resultObj.errors.length - 1];\n                const propertyName = isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0;\n                const targetProp = propertyName !== void 0 ? getPropertyOfType(target, propertyName) : void 0;\n                let issuedElaboration = false;\n                if (!targetProp) {\n                  const indexInfo = getApplicableIndexInfo(target, nameType);\n                  if (indexInfo && indexInfo.declaration && !getSourceFileOfNode(indexInfo.declaration).hasNoDefaultLib) {\n                    issuedElaboration = true;\n                    addRelatedInfo(reportedDiag, createDiagnosticForNode(indexInfo.declaration, Diagnostics.The_expected_type_comes_from_this_index_signature));\n                  }\n                }\n                if (!issuedElaboration && (targetProp && length(targetProp.declarations) || target.symbol && length(target.symbol.declarations))) {\n                  const targetNode = targetProp && length(targetProp.declarations) ? targetProp.declarations[0] : target.symbol.declarations[0];\n                  if (!getSourceFileOfNode(targetNode).hasNoDefaultLib) {\n                    addRelatedInfo(reportedDiag, createDiagnosticForNode(\n                      targetNode,\n                      Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,\n                      propertyName && !(nameType.flags & 8192) ? unescapeLeadingUnderscores(propertyName) : typeToString(nameType),\n                      typeToString(target)\n                    ));\n                  }\n                }\n              }\n            }\n          }\n        }\n        return reportedError;\n      }\n      function elaborateIterableOrArrayLikeTargetElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) {\n        const tupleOrArrayLikeTargetParts = filterType(target, isArrayOrTupleLikeType);\n        const nonTupleOrArrayLikeTargetParts = filterType(target, (t) => !isArrayOrTupleLikeType(t));\n        const iterationType = nonTupleOrArrayLikeTargetParts !== neverType ? getIterationTypeOfIterable(\n          13,\n          0,\n          nonTupleOrArrayLikeTargetParts,\n          /*errorNode*/\n          void 0\n        ) : void 0;\n        let reportedError = false;\n        for (let status = iterator.next(); !status.done; status = iterator.next()) {\n          const { errorNode: prop, innerExpression: next, nameType, errorMessage } = status.value;\n          let targetPropType = iterationType;\n          const targetIndexedPropType = tupleOrArrayLikeTargetParts !== neverType ? getBestMatchIndexedAccessTypeOrUndefined(source, tupleOrArrayLikeTargetParts, nameType) : void 0;\n          if (targetIndexedPropType && !(targetIndexedPropType.flags & 8388608)) {\n            targetPropType = iterationType ? getUnionType([iterationType, targetIndexedPropType]) : targetIndexedPropType;\n          }\n          if (!targetPropType)\n            continue;\n          let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType);\n          if (!sourcePropType)\n            continue;\n          const propName = getPropertyNameFromIndex(\n            nameType,\n            /*accessNode*/\n            void 0\n          );\n          if (!checkTypeRelatedTo(\n            sourcePropType,\n            targetPropType,\n            relation,\n            /*errorNode*/\n            void 0\n          )) {\n            const elaborated = next && elaborateError(\n              next,\n              sourcePropType,\n              targetPropType,\n              relation,\n              /*headMessage*/\n              void 0,\n              containingMessageChain,\n              errorOutputContainer\n            );\n            reportedError = true;\n            if (!elaborated) {\n              const resultObj = errorOutputContainer || {};\n              const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType;\n              if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) {\n                const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType));\n                diagnostics.add(diag2);\n                resultObj.errors = [diag2];\n              } else {\n                const targetIsOptional = !!(propName && (getPropertyOfType(tupleOrArrayLikeTargetParts, propName) || unknownSymbol).flags & 16777216);\n                const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216);\n                targetPropType = removeMissingType(targetPropType, targetIsOptional);\n                sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional);\n                const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj);\n                if (result && specificSource !== sourcePropType) {\n                  checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj);\n                }\n              }\n            }\n          }\n        }\n        return reportedError;\n      }\n      function* generateJsxAttributes(node) {\n        if (!length(node.properties))\n          return;\n        for (const prop of node.properties) {\n          if (isJsxSpreadAttribute(prop) || isHyphenatedJsxName(idText(prop.name)))\n            continue;\n          yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: getStringLiteralType(idText(prop.name)) };\n        }\n      }\n      function* generateJsxChildren(node, getInvalidTextDiagnostic) {\n        if (!length(node.children))\n          return;\n        let memberOffset = 0;\n        for (let i = 0; i < node.children.length; i++) {\n          const child = node.children[i];\n          const nameType = getNumberLiteralType(i - memberOffset);\n          const elem = getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic);\n          if (elem) {\n            yield elem;\n          } else {\n            memberOffset++;\n          }\n        }\n      }\n      function getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic) {\n        switch (child.kind) {\n          case 291:\n            return { errorNode: child, innerExpression: child.expression, nameType };\n          case 11:\n            if (child.containsOnlyTriviaWhiteSpaces) {\n              break;\n            }\n            return { errorNode: child, innerExpression: void 0, nameType, errorMessage: getInvalidTextDiagnostic() };\n          case 281:\n          case 282:\n          case 285:\n            return { errorNode: child, innerExpression: child, nameType };\n          default:\n            return Debug2.assertNever(child, \"Found invalid jsx child\");\n        }\n      }\n      function elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n        let result = elaborateElementwise(generateJsxAttributes(node), source, target, relation, containingMessageChain, errorOutputContainer);\n        let invalidTextDiagnostic;\n        if (isJsxOpeningElement(node.parent) && isJsxElement(node.parent.parent)) {\n          const containingElement = node.parent.parent;\n          const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node));\n          const childrenPropName = childPropName === void 0 ? \"children\" : unescapeLeadingUnderscores(childPropName);\n          const childrenNameType = getStringLiteralType(childrenPropName);\n          const childrenTargetType = getIndexedAccessType(target, childrenNameType);\n          const validChildren = getSemanticJsxChildren(containingElement.children);\n          if (!length(validChildren)) {\n            return result;\n          }\n          const moreThanOneRealChildren = length(validChildren) > 1;\n          let arrayLikeTargetParts;\n          let nonArrayLikeTargetParts;\n          const iterableType = getGlobalIterableType(\n            /*reportErrors*/\n            false\n          );\n          if (iterableType !== emptyGenericType) {\n            const anyIterable = createIterableType(anyType);\n            arrayLikeTargetParts = filterType(childrenTargetType, (t) => isTypeAssignableTo(t, anyIterable));\n            nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isTypeAssignableTo(t, anyIterable));\n          } else {\n            arrayLikeTargetParts = filterType(childrenTargetType, isArrayOrTupleLikeType);\n            nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isArrayOrTupleLikeType(t));\n          }\n          if (moreThanOneRealChildren) {\n            if (arrayLikeTargetParts !== neverType) {\n              const realSource = createTupleType(checkJsxChildren(\n                containingElement,\n                0\n                /* Normal */\n              ));\n              const children = generateJsxChildren(containingElement, getInvalidTextualChildDiagnostic);\n              result = elaborateIterableOrArrayLikeTargetElementwise(children, realSource, arrayLikeTargetParts, relation, containingMessageChain, errorOutputContainer) || result;\n            } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) {\n              result = true;\n              const diag2 = error(\n                containingElement.openingElement.tagName,\n                Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,\n                childrenPropName,\n                typeToString(childrenTargetType)\n              );\n              if (errorOutputContainer && errorOutputContainer.skipLogging) {\n                (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n              }\n            }\n          } else {\n            if (nonArrayLikeTargetParts !== neverType) {\n              const child = validChildren[0];\n              const elem = getElaborationElementForJsxChild(child, childrenNameType, getInvalidTextualChildDiagnostic);\n              if (elem) {\n                result = elaborateElementwise(\n                  function* () {\n                    yield elem;\n                  }(),\n                  source,\n                  target,\n                  relation,\n                  containingMessageChain,\n                  errorOutputContainer\n                ) || result;\n              }\n            } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) {\n              result = true;\n              const diag2 = error(\n                containingElement.openingElement.tagName,\n                Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,\n                childrenPropName,\n                typeToString(childrenTargetType)\n              );\n              if (errorOutputContainer && errorOutputContainer.skipLogging) {\n                (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n              }\n            }\n          }\n        }\n        return result;\n        function getInvalidTextualChildDiagnostic() {\n          if (!invalidTextDiagnostic) {\n            const tagNameText = getTextOfNode(node.parent.tagName);\n            const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node));\n            const childrenPropName = childPropName === void 0 ? \"children\" : unescapeLeadingUnderscores(childPropName);\n            const childrenTargetType = getIndexedAccessType(target, getStringLiteralType(childrenPropName));\n            const diagnostic = Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;\n            invalidTextDiagnostic = { ...diagnostic, key: \"!!ALREADY FORMATTED!!\", message: formatMessage(\n              /*_dummy*/\n              void 0,\n              diagnostic,\n              tagNameText,\n              childrenPropName,\n              typeToString(childrenTargetType)\n            ) };\n          }\n          return invalidTextDiagnostic;\n        }\n      }\n      function* generateLimitedTupleElements(node, target) {\n        const len = length(node.elements);\n        if (!len)\n          return;\n        for (let i = 0; i < len; i++) {\n          if (isTupleLikeType(target) && !getPropertyOfType(target, \"\" + i))\n            continue;\n          const elem = node.elements[i];\n          if (isOmittedExpression(elem))\n            continue;\n          const nameType = getNumberLiteralType(i);\n          yield { errorNode: elem, innerExpression: elem, nameType };\n        }\n      }\n      function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n        if (target.flags & (134348796 | 131072))\n          return false;\n        if (isTupleLikeType(source)) {\n          return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);\n        }\n        pushContextualType(\n          node,\n          target,\n          /*isCache*/\n          false\n        );\n        const tupleizedType = checkArrayLiteral(\n          node,\n          1,\n          /*forceTuple*/\n          true\n        );\n        popContextualType();\n        if (isTupleLikeType(tupleizedType)) {\n          return elaborateElementwise(generateLimitedTupleElements(node, target), tupleizedType, target, relation, containingMessageChain, errorOutputContainer);\n        }\n        return false;\n      }\n      function* generateObjectLiteralElements(node) {\n        if (!length(node.properties))\n          return;\n        for (const prop of node.properties) {\n          if (isSpreadAssignment(prop))\n            continue;\n          const type = getLiteralTypeFromProperty(\n            getSymbolOfDeclaration(prop),\n            8576\n            /* StringOrNumberLiteralOrUnique */\n          );\n          if (!type || type.flags & 131072) {\n            continue;\n          }\n          switch (prop.kind) {\n            case 175:\n            case 174:\n            case 171:\n            case 300:\n              yield { errorNode: prop.name, innerExpression: void 0, nameType: type };\n              break;\n            case 299:\n              yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: type, errorMessage: isComputedNonLiteralName(prop.name) ? Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1 : void 0 };\n              break;\n            default:\n              Debug2.assertNever(prop);\n          }\n        }\n      }\n      function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n        if (target.flags & (134348796 | 131072))\n          return false;\n        return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);\n      }\n      function checkTypeComparableTo(source, target, errorNode, headMessage, containingMessageChain) {\n        return checkTypeRelatedTo(source, target, comparableRelation, errorNode, headMessage, containingMessageChain);\n      }\n      function isSignatureAssignableTo(source, target, ignoreReturnTypes) {\n        return compareSignaturesRelated(\n          source,\n          target,\n          ignoreReturnTypes ? 4 : 0,\n          /*reportErrors*/\n          false,\n          /*errorReporter*/\n          void 0,\n          /*errorReporter*/\n          void 0,\n          compareTypesAssignable,\n          /*reportUnreliableMarkers*/\n          void 0\n        ) !== 0;\n      }\n      function isTopSignature(s) {\n        if (!s.typeParameters && (!s.thisParameter || isTypeAny(getTypeOfParameter(s.thisParameter))) && s.parameters.length === 1 && signatureHasRestParameter(s)) {\n          const paramType = getTypeOfParameter(s.parameters[0]);\n          const restType = isArrayType(paramType) ? getTypeArguments(paramType)[0] : paramType;\n          return !!(restType.flags & (1 | 131072) && getReturnTypeOfSignature(s).flags & 3);\n        }\n        return false;\n      }\n      function compareSignaturesRelated(source, target, checkMode, reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) {\n        if (source === target) {\n          return -1;\n        }\n        if (!(checkMode & 16 && isTopSignature(source)) && isTopSignature(target)) {\n          return -1;\n        }\n        if (checkMode & 16 && isTopSignature(source) && !isTopSignature(target)) {\n          return 0;\n        }\n        const targetCount = getParameterCount(target);\n        const sourceHasMoreParameters = !hasEffectiveRestParameter(target) && (checkMode & 8 ? hasEffectiveRestParameter(source) || getParameterCount(source) > targetCount : getMinArgumentCount(source) > targetCount);\n        if (sourceHasMoreParameters) {\n          return 0;\n        }\n        if (source.typeParameters && source.typeParameters !== target.typeParameters) {\n          target = getCanonicalSignature(target);\n          source = instantiateSignatureInContextOf(\n            source,\n            target,\n            /*inferenceContext*/\n            void 0,\n            compareTypes\n          );\n        }\n        const sourceCount = getParameterCount(source);\n        const sourceRestType = getNonArrayRestType(source);\n        const targetRestType = getNonArrayRestType(target);\n        if (sourceRestType || targetRestType) {\n          void instantiateType(sourceRestType || targetRestType, reportUnreliableMarkers);\n        }\n        const kind = target.declaration ? target.declaration.kind : 0;\n        const strictVariance = !(checkMode & 3) && strictFunctionTypes && kind !== 171 && kind !== 170 && kind !== 173;\n        let result = -1;\n        const sourceThisType = getThisTypeOfSignature(source);\n        if (sourceThisType && sourceThisType !== voidType) {\n          const targetThisType = getThisTypeOfSignature(target);\n          if (targetThisType) {\n            const related = !strictVariance && compareTypes(\n              sourceThisType,\n              targetThisType,\n              /*reportErrors*/\n              false\n            ) || compareTypes(targetThisType, sourceThisType, reportErrors2);\n            if (!related) {\n              if (reportErrors2) {\n                errorReporter(Diagnostics.The_this_types_of_each_signature_are_incompatible);\n              }\n              return 0;\n            }\n            result &= related;\n          }\n        }\n        const paramCount = sourceRestType || targetRestType ? Math.min(sourceCount, targetCount) : Math.max(sourceCount, targetCount);\n        const restIndex = sourceRestType || targetRestType ? paramCount - 1 : -1;\n        for (let i = 0; i < paramCount; i++) {\n          const sourceType = i === restIndex ? getRestTypeAtPosition(source, i) : tryGetTypeAtPosition(source, i);\n          const targetType = i === restIndex ? getRestTypeAtPosition(target, i) : tryGetTypeAtPosition(target, i);\n          if (sourceType && targetType) {\n            const sourceSig = checkMode & 3 ? void 0 : getSingleCallSignature(getNonNullableType(sourceType));\n            const targetSig = checkMode & 3 ? void 0 : getSingleCallSignature(getNonNullableType(targetType));\n            const callbacks = sourceSig && targetSig && !getTypePredicateOfSignature(sourceSig) && !getTypePredicateOfSignature(targetSig) && (getTypeFacts(sourceType) & 50331648) === (getTypeFacts(targetType) & 50331648);\n            let related = callbacks ? compareSignaturesRelated(targetSig, sourceSig, checkMode & 8 | (strictVariance ? 2 : 1), reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) : !(checkMode & 3) && !strictVariance && compareTypes(\n              sourceType,\n              targetType,\n              /*reportErrors*/\n              false\n            ) || compareTypes(targetType, sourceType, reportErrors2);\n            if (related && checkMode & 8 && i >= getMinArgumentCount(source) && i < getMinArgumentCount(target) && compareTypes(\n              sourceType,\n              targetType,\n              /*reportErrors*/\n              false\n            )) {\n              related = 0;\n            }\n            if (!related) {\n              if (reportErrors2) {\n                errorReporter(\n                  Diagnostics.Types_of_parameters_0_and_1_are_incompatible,\n                  unescapeLeadingUnderscores(getParameterNameAtPosition(source, i)),\n                  unescapeLeadingUnderscores(getParameterNameAtPosition(target, i))\n                );\n              }\n              return 0;\n            }\n            result &= related;\n          }\n        }\n        if (!(checkMode & 4)) {\n          const targetReturnType = isResolvingReturnTypeOfSignature(target) ? anyType : target.declaration && isJSConstructor(target.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(target.declaration.symbol)) : getReturnTypeOfSignature(target);\n          if (targetReturnType === voidType || targetReturnType === anyType) {\n            return result;\n          }\n          const sourceReturnType = isResolvingReturnTypeOfSignature(source) ? anyType : source.declaration && isJSConstructor(source.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(source.declaration.symbol)) : getReturnTypeOfSignature(source);\n          const targetTypePredicate = getTypePredicateOfSignature(target);\n          if (targetTypePredicate) {\n            const sourceTypePredicate = getTypePredicateOfSignature(source);\n            if (sourceTypePredicate) {\n              result &= compareTypePredicateRelatedTo(sourceTypePredicate, targetTypePredicate, reportErrors2, errorReporter, compareTypes);\n            } else if (isIdentifierTypePredicate(targetTypePredicate)) {\n              if (reportErrors2) {\n                errorReporter(Diagnostics.Signature_0_must_be_a_type_predicate, signatureToString(source));\n              }\n              return 0;\n            }\n          } else {\n            result &= checkMode & 1 && compareTypes(\n              targetReturnType,\n              sourceReturnType,\n              /*reportErrors*/\n              false\n            ) || compareTypes(sourceReturnType, targetReturnType, reportErrors2);\n            if (!result && reportErrors2 && incompatibleErrorReporter) {\n              incompatibleErrorReporter(sourceReturnType, targetReturnType);\n            }\n          }\n        }\n        return result;\n      }\n      function compareTypePredicateRelatedTo(source, target, reportErrors2, errorReporter, compareTypes) {\n        if (source.kind !== target.kind) {\n          if (reportErrors2) {\n            errorReporter(Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard);\n            errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target));\n          }\n          return 0;\n        }\n        if (source.kind === 1 || source.kind === 3) {\n          if (source.parameterIndex !== target.parameterIndex) {\n            if (reportErrors2) {\n              errorReporter(Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1, source.parameterName, target.parameterName);\n              errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target));\n            }\n            return 0;\n          }\n        }\n        const related = source.type === target.type ? -1 : source.type && target.type ? compareTypes(source.type, target.type, reportErrors2) : 0;\n        if (related === 0 && reportErrors2) {\n          errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target));\n        }\n        return related;\n      }\n      function isImplementationCompatibleWithOverload(implementation, overload) {\n        const erasedSource = getErasedSignature(implementation);\n        const erasedTarget = getErasedSignature(overload);\n        const sourceReturnType = getReturnTypeOfSignature(erasedSource);\n        const targetReturnType = getReturnTypeOfSignature(erasedTarget);\n        if (targetReturnType === voidType || isTypeRelatedTo(targetReturnType, sourceReturnType, assignableRelation) || isTypeRelatedTo(sourceReturnType, targetReturnType, assignableRelation)) {\n          return isSignatureAssignableTo(\n            erasedSource,\n            erasedTarget,\n            /*ignoreReturnTypes*/\n            true\n          );\n        }\n        return false;\n      }\n      function isEmptyResolvedType(t) {\n        return t !== anyFunctionType && t.properties.length === 0 && t.callSignatures.length === 0 && t.constructSignatures.length === 0 && t.indexInfos.length === 0;\n      }\n      function isEmptyObjectType(type) {\n        return type.flags & 524288 ? !isGenericMappedType(type) && isEmptyResolvedType(resolveStructuredTypeMembers(type)) : type.flags & 67108864 ? true : type.flags & 1048576 ? some(type.types, isEmptyObjectType) : type.flags & 2097152 ? every(type.types, isEmptyObjectType) : false;\n      }\n      function isEmptyAnonymousObjectType(type) {\n        return !!(getObjectFlags(type) & 16 && (type.members && isEmptyResolvedType(type) || type.symbol && type.symbol.flags & 2048 && getMembersOfSymbol(type.symbol).size === 0));\n      }\n      function isUnknownLikeUnionType(type) {\n        if (strictNullChecks && type.flags & 1048576) {\n          if (!(type.objectFlags & 33554432)) {\n            const types = type.types;\n            type.objectFlags |= 33554432 | (types.length >= 3 && types[0].flags & 32768 && types[1].flags & 65536 && some(types, isEmptyAnonymousObjectType) ? 67108864 : 0);\n          }\n          return !!(type.objectFlags & 67108864);\n        }\n        return false;\n      }\n      function containsUndefinedType(type) {\n        return !!((type.flags & 1048576 ? type.types[0] : type).flags & 32768);\n      }\n      function isStringIndexSignatureOnlyType(type) {\n        return type.flags & 524288 && !isGenericMappedType(type) && getPropertiesOfType(type).length === 0 && getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, stringType) || type.flags & 3145728 && every(type.types, isStringIndexSignatureOnlyType) || false;\n      }\n      function isEnumTypeRelatedTo(source, target, errorReporter) {\n        const sourceSymbol = source.flags & 8 ? getParentOfSymbol(source) : source;\n        const targetSymbol = target.flags & 8 ? getParentOfSymbol(target) : target;\n        if (sourceSymbol === targetSymbol) {\n          return true;\n        }\n        if (sourceSymbol.escapedName !== targetSymbol.escapedName || !(sourceSymbol.flags & 256) || !(targetSymbol.flags & 256)) {\n          return false;\n        }\n        const id = getSymbolId(sourceSymbol) + \",\" + getSymbolId(targetSymbol);\n        const entry = enumRelation.get(id);\n        if (entry !== void 0 && !(!(entry & 4) && entry & 2 && errorReporter)) {\n          return !!(entry & 1);\n        }\n        const targetEnumType = getTypeOfSymbol(targetSymbol);\n        for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {\n          if (property.flags & 8) {\n            const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);\n            if (!targetProperty || !(targetProperty.flags & 8)) {\n              if (errorReporter) {\n                errorReporter(\n                  Diagnostics.Property_0_is_missing_in_type_1,\n                  symbolName(property),\n                  typeToString(\n                    getDeclaredTypeOfSymbol(targetSymbol),\n                    /*enclosingDeclaration*/\n                    void 0,\n                    64\n                    /* UseFullyQualifiedType */\n                  )\n                );\n                enumRelation.set(\n                  id,\n                  2 | 4\n                  /* Reported */\n                );\n              } else {\n                enumRelation.set(\n                  id,\n                  2\n                  /* Failed */\n                );\n              }\n              return false;\n            }\n          }\n        }\n        enumRelation.set(\n          id,\n          1\n          /* Succeeded */\n        );\n        return true;\n      }\n      function isSimpleTypeRelatedTo(source, target, relation, errorReporter) {\n        const s = source.flags;\n        const t = target.flags;\n        if (t & 1 || s & 131072 || source === wildcardType)\n          return true;\n        if (t & 2 && !(relation === strictSubtypeRelation && s & 1))\n          return true;\n        if (t & 131072)\n          return false;\n        if (s & 402653316 && t & 4)\n          return true;\n        if (s & 128 && s & 1024 && t & 128 && !(t & 1024) && source.value === target.value)\n          return true;\n        if (s & 296 && t & 8)\n          return true;\n        if (s & 256 && s & 1024 && t & 256 && !(t & 1024) && source.value === target.value)\n          return true;\n        if (s & 2112 && t & 64)\n          return true;\n        if (s & 528 && t & 16)\n          return true;\n        if (s & 12288 && t & 4096)\n          return true;\n        if (s & 32 && t & 32 && source.symbol.escapedName === target.symbol.escapedName && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter))\n          return true;\n        if (s & 1024 && t & 1024) {\n          if (s & 1048576 && t & 1048576 && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter))\n            return true;\n          if (s & 2944 && t & 2944 && source.value === target.value && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter))\n            return true;\n        }\n        if (s & 32768 && (!strictNullChecks && !(t & 3145728) || t & (32768 | 16384)))\n          return true;\n        if (s & 65536 && (!strictNullChecks && !(t & 3145728) || t & 65536))\n          return true;\n        if (s & 524288 && t & 67108864 && !(relation === strictSubtypeRelation && isEmptyAnonymousObjectType(source) && !(getObjectFlags(source) & 8192)))\n          return true;\n        if (relation === assignableRelation || relation === comparableRelation) {\n          if (s & 1)\n            return true;\n          if (s & 8 && (t & 32 || t & 256 && t & 1024))\n            return true;\n          if (s & 256 && !(s & 1024) && (t & 32 || t & 256 && t & 1024 && source.value === target.value))\n            return true;\n          if (isUnknownLikeUnionType(target))\n            return true;\n        }\n        return false;\n      }\n      function isTypeRelatedTo(source, target, relation) {\n        if (isFreshLiteralType(source)) {\n          source = source.regularType;\n        }\n        if (isFreshLiteralType(target)) {\n          target = target.regularType;\n        }\n        if (source === target) {\n          return true;\n        }\n        if (relation !== identityRelation) {\n          if (relation === comparableRelation && !(target.flags & 131072) && isSimpleTypeRelatedTo(target, source, relation) || isSimpleTypeRelatedTo(source, target, relation)) {\n            return true;\n          }\n        } else if (!((source.flags | target.flags) & (3145728 | 8388608 | 16777216 | 33554432))) {\n          if (source.flags !== target.flags)\n            return false;\n          if (source.flags & 67358815)\n            return true;\n        }\n        if (source.flags & 524288 && target.flags & 524288) {\n          const related = relation.get(getRelationKey(\n            source,\n            target,\n            0,\n            relation,\n            /*ignoreConstraints*/\n            false\n          ));\n          if (related !== void 0) {\n            return !!(related & 1);\n          }\n        }\n        if (source.flags & 469499904 || target.flags & 469499904) {\n          return checkTypeRelatedTo(\n            source,\n            target,\n            relation,\n            /*errorNode*/\n            void 0\n          );\n        }\n        return false;\n      }\n      function isIgnoredJsxProperty(source, sourceProp) {\n        return getObjectFlags(source) & 2048 && isHyphenatedJsxName(sourceProp.escapedName);\n      }\n      function getNormalizedType(type, writing) {\n        while (true) {\n          const t = isFreshLiteralType(type) ? type.regularType : getObjectFlags(type) & 4 ? type.node ? createTypeReference(type.target, getTypeArguments(type)) : getSingleBaseForNonAugmentingSubtype(type) || type : type.flags & 3145728 ? getNormalizedUnionOrIntersectionType(type, writing) : type.flags & 33554432 ? writing ? type.baseType : getSubstitutionIntersection(type) : type.flags & 25165824 ? getSimplifiedType(type, writing) : type;\n          if (t === type)\n            return t;\n          type = t;\n        }\n      }\n      function getNormalizedUnionOrIntersectionType(type, writing) {\n        const reduced = getReducedType(type);\n        if (reduced !== type) {\n          return reduced;\n        }\n        if (type.flags & 2097152 && some(type.types, isEmptyAnonymousObjectType)) {\n          const normalizedTypes = sameMap(type.types, (t) => getNormalizedType(t, writing));\n          if (normalizedTypes !== type.types) {\n            return getIntersectionType(normalizedTypes);\n          }\n        }\n        return type;\n      }\n      function checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer) {\n        var _a22;\n        let errorInfo;\n        let relatedInfo;\n        let maybeKeys;\n        let sourceStack;\n        let targetStack;\n        let maybeCount = 0;\n        let sourceDepth = 0;\n        let targetDepth = 0;\n        let expandingFlags = 0;\n        let overflow = false;\n        let overrideNextErrorInfo = 0;\n        let lastSkippedInfo;\n        let incompatibleStack;\n        Debug2.assert(relation !== identityRelation || !errorNode, \"no error reporting in identity checking\");\n        const result = isRelatedTo(\n          source,\n          target,\n          3,\n          /*reportErrors*/\n          !!errorNode,\n          headMessage\n        );\n        if (incompatibleStack) {\n          reportIncompatibleStack();\n        }\n        if (overflow) {\n          (_a22 = tracing) == null ? void 0 : _a22.instant(tracing.Phase.CheckTypes, \"checkTypeRelatedTo_DepthLimit\", { sourceId: source.id, targetId: target.id, depth: sourceDepth, targetDepth });\n          const diag2 = error(errorNode || currentNode, Diagnostics.Excessive_stack_depth_comparing_types_0_and_1, typeToString(source), typeToString(target));\n          if (errorOutputContainer) {\n            (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n          }\n        } else if (errorInfo) {\n          if (containingMessageChain) {\n            const chain = containingMessageChain();\n            if (chain) {\n              concatenateDiagnosticMessageChains(chain, errorInfo);\n              errorInfo = chain;\n            }\n          }\n          let relatedInformation;\n          if (headMessage && errorNode && !result && source.symbol) {\n            const links = getSymbolLinks(source.symbol);\n            if (links.originatingImport && !isImportCall(links.originatingImport)) {\n              const helpfulRetry = checkTypeRelatedTo(\n                getTypeOfSymbol(links.target),\n                target,\n                relation,\n                /*errorNode*/\n                void 0\n              );\n              if (helpfulRetry) {\n                const diag3 = createDiagnosticForNode(links.originatingImport, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);\n                relatedInformation = append(relatedInformation, diag3);\n              }\n            }\n          }\n          const diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, errorInfo, relatedInformation);\n          if (relatedInfo) {\n            addRelatedInfo(diag2, ...relatedInfo);\n          }\n          if (errorOutputContainer) {\n            (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n          }\n          if (!errorOutputContainer || !errorOutputContainer.skipLogging) {\n            diagnostics.add(diag2);\n          }\n        }\n        if (errorNode && errorOutputContainer && errorOutputContainer.skipLogging && result === 0) {\n          Debug2.assert(!!errorOutputContainer.errors, \"missed opportunity to interact with error.\");\n        }\n        return result !== 0;\n        function resetErrorInfo(saved) {\n          errorInfo = saved.errorInfo;\n          lastSkippedInfo = saved.lastSkippedInfo;\n          incompatibleStack = saved.incompatibleStack;\n          overrideNextErrorInfo = saved.overrideNextErrorInfo;\n          relatedInfo = saved.relatedInfo;\n        }\n        function captureErrorCalculationState() {\n          return {\n            errorInfo,\n            lastSkippedInfo,\n            incompatibleStack: incompatibleStack == null ? void 0 : incompatibleStack.slice(),\n            overrideNextErrorInfo,\n            relatedInfo: relatedInfo == null ? void 0 : relatedInfo.slice()\n          };\n        }\n        function reportIncompatibleError(message, arg0, arg1, arg2, arg3) {\n          overrideNextErrorInfo++;\n          lastSkippedInfo = void 0;\n          (incompatibleStack || (incompatibleStack = [])).push([message, arg0, arg1, arg2, arg3]);\n        }\n        function reportIncompatibleStack() {\n          const stack = incompatibleStack || [];\n          incompatibleStack = void 0;\n          const info = lastSkippedInfo;\n          lastSkippedInfo = void 0;\n          if (stack.length === 1) {\n            reportError(...stack[0]);\n            if (info) {\n              reportRelationError(\n                /*headMessage*/\n                void 0,\n                ...info\n              );\n            }\n            return;\n          }\n          let path = \"\";\n          const secondaryRootErrors = [];\n          while (stack.length) {\n            const [msg, ...args] = stack.pop();\n            switch (msg.code) {\n              case Diagnostics.Types_of_property_0_are_incompatible.code: {\n                if (path.indexOf(\"new \") === 0) {\n                  path = `(${path})`;\n                }\n                const str = \"\" + args[0];\n                if (path.length === 0) {\n                  path = `${str}`;\n                } else if (isIdentifierText(str, getEmitScriptTarget(compilerOptions))) {\n                  path = `${path}.${str}`;\n                } else if (str[0] === \"[\" && str[str.length - 1] === \"]\") {\n                  path = `${path}${str}`;\n                } else {\n                  path = `${path}[${str}]`;\n                }\n                break;\n              }\n              case Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:\n              case Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:\n              case Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:\n              case Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code: {\n                if (path.length === 0) {\n                  let mappedMsg = msg;\n                  if (msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) {\n                    mappedMsg = Diagnostics.Call_signature_return_types_0_and_1_are_incompatible;\n                  } else if (msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) {\n                    mappedMsg = Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible;\n                  }\n                  secondaryRootErrors.unshift([mappedMsg, args[0], args[1]]);\n                } else {\n                  const prefix = msg.code === Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? \"new \" : \"\";\n                  const params = msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? \"\" : \"...\";\n                  path = `${prefix}${path}(${params})`;\n                }\n                break;\n              }\n              case Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code: {\n                secondaryRootErrors.unshift([Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, args[0], args[1]]);\n                break;\n              }\n              case Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code: {\n                secondaryRootErrors.unshift([Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, args[0], args[1], args[2]]);\n                break;\n              }\n              default:\n                return Debug2.fail(`Unhandled Diagnostic: ${msg.code}`);\n            }\n          }\n          if (path) {\n            reportError(\n              path[path.length - 1] === \")\" ? Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types : Diagnostics.The_types_of_0_are_incompatible_between_these_types,\n              path\n            );\n          } else {\n            secondaryRootErrors.shift();\n          }\n          for (const [msg, ...args] of secondaryRootErrors) {\n            const originalValue = msg.elidedInCompatabilityPyramid;\n            msg.elidedInCompatabilityPyramid = false;\n            reportError(msg, ...args);\n            msg.elidedInCompatabilityPyramid = originalValue;\n          }\n          if (info) {\n            reportRelationError(\n              /*headMessage*/\n              void 0,\n              ...info\n            );\n          }\n        }\n        function reportError(message, arg0, arg1, arg2, arg3) {\n          Debug2.assert(!!errorNode);\n          if (incompatibleStack)\n            reportIncompatibleStack();\n          if (message.elidedInCompatabilityPyramid)\n            return;\n          errorInfo = chainDiagnosticMessages(errorInfo, message, arg0, arg1, arg2, arg3);\n        }\n        function associateRelatedInfo(info) {\n          Debug2.assert(!!errorInfo);\n          if (!relatedInfo) {\n            relatedInfo = [info];\n          } else {\n            relatedInfo.push(info);\n          }\n        }\n        function reportRelationError(message, source2, target2) {\n          if (incompatibleStack)\n            reportIncompatibleStack();\n          const [sourceType, targetType] = getTypeNamesForErrorDisplay(source2, target2);\n          let generalizedSource = source2;\n          let generalizedSourceType = sourceType;\n          if (isLiteralType(source2) && !typeCouldHaveTopLevelSingletonTypes(target2)) {\n            generalizedSource = getBaseTypeOfLiteralType(source2);\n            Debug2.assert(!isTypeAssignableTo(generalizedSource, target2), \"generalized source shouldn't be assignable\");\n            generalizedSourceType = getTypeNameForErrorDisplay(generalizedSource);\n          }\n          const targetFlags = target2.flags & 8388608 && !(source2.flags & 8388608) ? target2.objectType.flags : target2.flags;\n          if (targetFlags & 262144 && target2 !== markerSuperTypeForCheck && target2 !== markerSubTypeForCheck) {\n            const constraint = getBaseConstraintOfType(target2);\n            let needsOriginalSource;\n            if (constraint && (isTypeAssignableTo(generalizedSource, constraint) || (needsOriginalSource = isTypeAssignableTo(source2, constraint)))) {\n              reportError(\n                Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,\n                needsOriginalSource ? sourceType : generalizedSourceType,\n                targetType,\n                typeToString(constraint)\n              );\n            } else {\n              errorInfo = void 0;\n              reportError(\n                Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,\n                targetType,\n                generalizedSourceType\n              );\n            }\n          }\n          if (!message) {\n            if (relation === comparableRelation) {\n              message = Diagnostics.Type_0_is_not_comparable_to_type_1;\n            } else if (sourceType === targetType) {\n              message = Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;\n            } else if (exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) {\n              message = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;\n            } else {\n              if (source2.flags & 128 && target2.flags & 1048576) {\n                const suggestedType = getSuggestedTypeForNonexistentStringLiteralType(source2, target2);\n                if (suggestedType) {\n                  reportError(Diagnostics.Type_0_is_not_assignable_to_type_1_Did_you_mean_2, generalizedSourceType, targetType, typeToString(suggestedType));\n                  return;\n                }\n              }\n              message = Diagnostics.Type_0_is_not_assignable_to_type_1;\n            }\n          } else if (message === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1 && exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) {\n            message = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;\n          }\n          reportError(message, generalizedSourceType, targetType);\n        }\n        function tryElaborateErrorsForPrimitivesAndObjects(source2, target2) {\n          const sourceType = symbolValueDeclarationIsContextSensitive(source2.symbol) ? typeToString(source2, source2.symbol.valueDeclaration) : typeToString(source2);\n          const targetType = symbolValueDeclarationIsContextSensitive(target2.symbol) ? typeToString(target2, target2.symbol.valueDeclaration) : typeToString(target2);\n          if (globalStringType === source2 && stringType === target2 || globalNumberType === source2 && numberType === target2 || globalBooleanType === source2 && booleanType === target2 || getGlobalESSymbolType() === source2 && esSymbolType === target2) {\n            reportError(Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType);\n          }\n        }\n        function tryElaborateArrayLikeErrors(source2, target2, reportErrors2) {\n          if (isTupleType(source2)) {\n            if (source2.target.readonly && isMutableArrayOrTuple(target2)) {\n              if (reportErrors2) {\n                reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2));\n              }\n              return false;\n            }\n            return isArrayOrTupleType(target2);\n          }\n          if (isReadonlyArrayType(source2) && isMutableArrayOrTuple(target2)) {\n            if (reportErrors2) {\n              reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2));\n            }\n            return false;\n          }\n          if (isTupleType(target2)) {\n            return isArrayType(source2);\n          }\n          return true;\n        }\n        function isRelatedToWorker(source2, target2, reportErrors2) {\n          return isRelatedTo(source2, target2, 3, reportErrors2);\n        }\n        function isRelatedTo(originalSource, originalTarget, recursionFlags = 3, reportErrors2 = false, headMessage2, intersectionState = 0) {\n          if (originalSource.flags & 524288 && originalTarget.flags & 134348796) {\n            if (relation === comparableRelation && !(originalTarget.flags & 131072) && isSimpleTypeRelatedTo(originalTarget, originalSource, relation) || isSimpleTypeRelatedTo(originalSource, originalTarget, relation, reportErrors2 ? reportError : void 0)) {\n              return -1;\n            }\n            if (reportErrors2) {\n              reportErrorResults(originalSource, originalTarget, originalSource, originalTarget, headMessage2);\n            }\n            return 0;\n          }\n          const source2 = getNormalizedType(\n            originalSource,\n            /*writing*/\n            false\n          );\n          let target2 = getNormalizedType(\n            originalTarget,\n            /*writing*/\n            true\n          );\n          if (source2 === target2)\n            return -1;\n          if (relation === identityRelation) {\n            if (source2.flags !== target2.flags)\n              return 0;\n            if (source2.flags & 67358815)\n              return -1;\n            traceUnionsOrIntersectionsTooLarge(source2, target2);\n            return recursiveTypeRelatedTo(\n              source2,\n              target2,\n              /*reportErrors*/\n              false,\n              0,\n              recursionFlags\n            );\n          }\n          if (source2.flags & 262144 && getConstraintOfType(source2) === target2) {\n            return -1;\n          }\n          if (source2.flags & 470302716 && target2.flags & 1048576) {\n            const types = target2.types;\n            const candidate = types.length === 2 && types[0].flags & 98304 ? types[1] : types.length === 3 && types[0].flags & 98304 && types[1].flags & 98304 ? types[2] : void 0;\n            if (candidate && !(candidate.flags & 98304)) {\n              target2 = getNormalizedType(\n                candidate,\n                /*writing*/\n                true\n              );\n              if (source2 === target2)\n                return -1;\n            }\n          }\n          if (relation === comparableRelation && !(target2.flags & 131072) && isSimpleTypeRelatedTo(target2, source2, relation) || isSimpleTypeRelatedTo(source2, target2, relation, reportErrors2 ? reportError : void 0))\n            return -1;\n          if (source2.flags & 469499904 || target2.flags & 469499904) {\n            const isPerformingExcessPropertyChecks = !(intersectionState & 2) && (isObjectLiteralType2(source2) && getObjectFlags(source2) & 8192);\n            if (isPerformingExcessPropertyChecks) {\n              if (hasExcessProperties(source2, target2, reportErrors2)) {\n                if (reportErrors2) {\n                  reportRelationError(headMessage2, source2, originalTarget.aliasSymbol ? originalTarget : target2);\n                }\n                return 0;\n              }\n            }\n            const isPerformingCommonPropertyChecks = (relation !== comparableRelation || isUnitType(source2)) && !(intersectionState & 2) && source2.flags & (134348796 | 524288 | 2097152) && source2 !== globalObjectType && target2.flags & (524288 | 2097152) && isWeakType(target2) && (getPropertiesOfType(source2).length > 0 || typeHasCallOrConstructSignatures(source2));\n            const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048);\n            if (isPerformingCommonPropertyChecks && !hasCommonProperties(source2, target2, isComparingJsxAttributes)) {\n              if (reportErrors2) {\n                const sourceString = typeToString(originalSource.aliasSymbol ? originalSource : source2);\n                const targetString = typeToString(originalTarget.aliasSymbol ? originalTarget : target2);\n                const calls = getSignaturesOfType(\n                  source2,\n                  0\n                  /* Call */\n                );\n                const constructs = getSignaturesOfType(\n                  source2,\n                  1\n                  /* Construct */\n                );\n                if (calls.length > 0 && isRelatedTo(\n                  getReturnTypeOfSignature(calls[0]),\n                  target2,\n                  1,\n                  /*reportErrors*/\n                  false\n                ) || constructs.length > 0 && isRelatedTo(\n                  getReturnTypeOfSignature(constructs[0]),\n                  target2,\n                  1,\n                  /*reportErrors*/\n                  false\n                )) {\n                  reportError(Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it, sourceString, targetString);\n                } else {\n                  reportError(Diagnostics.Type_0_has_no_properties_in_common_with_type_1, sourceString, targetString);\n                }\n              }\n              return 0;\n            }\n            traceUnionsOrIntersectionsTooLarge(source2, target2);\n            const skipCaching = source2.flags & 1048576 && source2.types.length < 4 && !(target2.flags & 1048576) || target2.flags & 1048576 && target2.types.length < 4 && !(source2.flags & 469499904);\n            const result2 = skipCaching ? unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) : recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags);\n            if (result2) {\n              return result2;\n            }\n          }\n          if (reportErrors2) {\n            reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2);\n          }\n          return 0;\n        }\n        function reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2) {\n          var _a32, _b3;\n          const sourceHasBase = !!getSingleBaseForNonAugmentingSubtype(originalSource);\n          const targetHasBase = !!getSingleBaseForNonAugmentingSubtype(originalTarget);\n          source2 = originalSource.aliasSymbol || sourceHasBase ? originalSource : source2;\n          target2 = originalTarget.aliasSymbol || targetHasBase ? originalTarget : target2;\n          let maybeSuppress = overrideNextErrorInfo > 0;\n          if (maybeSuppress) {\n            overrideNextErrorInfo--;\n          }\n          if (source2.flags & 524288 && target2.flags & 524288) {\n            const currentError = errorInfo;\n            tryElaborateArrayLikeErrors(\n              source2,\n              target2,\n              /*reportErrors*/\n              true\n            );\n            if (errorInfo !== currentError) {\n              maybeSuppress = !!errorInfo;\n            }\n          }\n          if (source2.flags & 524288 && target2.flags & 134348796) {\n            tryElaborateErrorsForPrimitivesAndObjects(source2, target2);\n          } else if (source2.symbol && source2.flags & 524288 && globalObjectType === source2) {\n            reportError(Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);\n          } else if (getObjectFlags(source2) & 2048 && target2.flags & 2097152) {\n            const targetTypes = target2.types;\n            const intrinsicAttributes = getJsxType(JsxNames.IntrinsicAttributes, errorNode);\n            const intrinsicClassAttributes = getJsxType(JsxNames.IntrinsicClassAttributes, errorNode);\n            if (!isErrorType(intrinsicAttributes) && !isErrorType(intrinsicClassAttributes) && (contains(targetTypes, intrinsicAttributes) || contains(targetTypes, intrinsicClassAttributes))) {\n              return;\n            }\n          } else {\n            errorInfo = elaborateNeverIntersection(errorInfo, originalTarget);\n          }\n          if (!headMessage2 && maybeSuppress) {\n            lastSkippedInfo = [source2, target2];\n            return;\n          }\n          reportRelationError(headMessage2, source2, target2);\n          if (source2.flags & 262144 && ((_b3 = (_a32 = source2.symbol) == null ? void 0 : _a32.declarations) == null ? void 0 : _b3[0]) && !getConstraintOfType(source2)) {\n            const syntheticParam = cloneTypeParameter(source2);\n            syntheticParam.constraint = instantiateType(target2, makeUnaryTypeMapper(source2, syntheticParam));\n            if (hasNonCircularBaseConstraint(syntheticParam)) {\n              const targetConstraintString = typeToString(target2, source2.symbol.declarations[0]);\n              associateRelatedInfo(createDiagnosticForNode(source2.symbol.declarations[0], Diagnostics.This_type_parameter_might_need_an_extends_0_constraint, targetConstraintString));\n            }\n          }\n        }\n        function traceUnionsOrIntersectionsTooLarge(source2, target2) {\n          if (!tracing) {\n            return;\n          }\n          if (source2.flags & 3145728 && target2.flags & 3145728) {\n            const sourceUnionOrIntersection = source2;\n            const targetUnionOrIntersection = target2;\n            if (sourceUnionOrIntersection.objectFlags & targetUnionOrIntersection.objectFlags & 32768) {\n              return;\n            }\n            const sourceSize = sourceUnionOrIntersection.types.length;\n            const targetSize = targetUnionOrIntersection.types.length;\n            if (sourceSize * targetSize > 1e6) {\n              tracing.instant(tracing.Phase.CheckTypes, \"traceUnionsOrIntersectionsTooLarge_DepthLimit\", {\n                sourceId: source2.id,\n                sourceSize,\n                targetId: target2.id,\n                targetSize,\n                pos: errorNode == null ? void 0 : errorNode.pos,\n                end: errorNode == null ? void 0 : errorNode.end\n              });\n            }\n          }\n        }\n        function getTypeOfPropertyInTypes(types, name) {\n          const appendPropType = (propTypes, type) => {\n            var _a32;\n            type = getApparentType(type);\n            const prop = type.flags & 3145728 ? getPropertyOfUnionOrIntersectionType(type, name) : getPropertyOfObjectType(type, name);\n            const propType = prop && getTypeOfSymbol(prop) || ((_a32 = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a32.type) || undefinedType;\n            return append(propTypes, propType);\n          };\n          return getUnionType(reduceLeft(\n            types,\n            appendPropType,\n            /*initial*/\n            void 0\n          ) || emptyArray);\n        }\n        function hasExcessProperties(source2, target2, reportErrors2) {\n          var _a32;\n          if (!isExcessPropertyCheckTarget(target2) || !noImplicitAny && getObjectFlags(target2) & 4096) {\n            return false;\n          }\n          const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048);\n          if ((relation === assignableRelation || relation === comparableRelation) && (isTypeSubsetOf(globalObjectType, target2) || !isComparingJsxAttributes && isEmptyObjectType(target2))) {\n            return false;\n          }\n          let reducedTarget = target2;\n          let checkTypes;\n          if (target2.flags & 1048576) {\n            reducedTarget = findMatchingDiscriminantType(source2, target2, isRelatedTo) || filterPrimitivesIfContainsNonPrimitive(target2);\n            checkTypes = reducedTarget.flags & 1048576 ? reducedTarget.types : [reducedTarget];\n          }\n          for (const prop of getPropertiesOfType(source2)) {\n            if (shouldCheckAsExcessProperty(prop, source2.symbol) && !isIgnoredJsxProperty(source2, prop)) {\n              if (!isKnownProperty(reducedTarget, prop.escapedName, isComparingJsxAttributes)) {\n                if (reportErrors2) {\n                  const errorTarget = filterType(reducedTarget, isExcessPropertyCheckTarget);\n                  if (!errorNode)\n                    return Debug2.fail();\n                  if (isJsxAttributes(errorNode) || isJsxOpeningLikeElement(errorNode) || isJsxOpeningLikeElement(errorNode.parent)) {\n                    if (prop.valueDeclaration && isJsxAttribute(prop.valueDeclaration) && getSourceFileOfNode(errorNode) === getSourceFileOfNode(prop.valueDeclaration.name)) {\n                      errorNode = prop.valueDeclaration.name;\n                    }\n                    const propName = symbolToString(prop);\n                    const suggestionSymbol = getSuggestedSymbolForNonexistentJSXAttribute(propName, errorTarget);\n                    const suggestion = suggestionSymbol ? symbolToString(suggestionSymbol) : void 0;\n                    if (suggestion) {\n                      reportError(Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(errorTarget), suggestion);\n                    } else {\n                      reportError(Diagnostics.Property_0_does_not_exist_on_type_1, propName, typeToString(errorTarget));\n                    }\n                  } else {\n                    const objectLiteralDeclaration = ((_a32 = source2.symbol) == null ? void 0 : _a32.declarations) && firstOrUndefined(source2.symbol.declarations);\n                    let suggestion;\n                    if (prop.valueDeclaration && findAncestor(prop.valueDeclaration, (d) => d === objectLiteralDeclaration) && getSourceFileOfNode(objectLiteralDeclaration) === getSourceFileOfNode(errorNode)) {\n                      const propDeclaration = prop.valueDeclaration;\n                      Debug2.assertNode(propDeclaration, isObjectLiteralElementLike);\n                      errorNode = propDeclaration;\n                      const name = propDeclaration.name;\n                      if (isIdentifier(name)) {\n                        suggestion = getSuggestionForNonexistentProperty(name, errorTarget);\n                      }\n                    }\n                    if (suggestion !== void 0) {\n                      reportError(\n                        Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,\n                        symbolToString(prop),\n                        typeToString(errorTarget),\n                        suggestion\n                      );\n                    } else {\n                      reportError(\n                        Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,\n                        symbolToString(prop),\n                        typeToString(errorTarget)\n                      );\n                    }\n                  }\n                }\n                return true;\n              }\n              if (checkTypes && !isRelatedTo(getTypeOfSymbol(prop), getTypeOfPropertyInTypes(checkTypes, prop.escapedName), 3, reportErrors2)) {\n                if (reportErrors2) {\n                  reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(prop));\n                }\n                return true;\n              }\n            }\n          }\n          return false;\n        }\n        function shouldCheckAsExcessProperty(prop, container) {\n          return prop.valueDeclaration && container.valueDeclaration && prop.valueDeclaration.parent === container.valueDeclaration;\n        }\n        function unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) {\n          if (source2.flags & 1048576) {\n            return relation === comparableRelation ? someTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 134348796), intersectionState) : eachTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 134348796), intersectionState);\n          }\n          if (target2.flags & 1048576) {\n            return typeRelatedToSomeType(getRegularTypeOfObjectLiteral(source2), target2, reportErrors2 && !(source2.flags & 134348796) && !(target2.flags & 134348796));\n          }\n          if (target2.flags & 2097152) {\n            return typeRelatedToEachType(\n              source2,\n              target2,\n              reportErrors2,\n              2\n              /* Target */\n            );\n          }\n          if (relation === comparableRelation && target2.flags & 134348796) {\n            const constraints = sameMap(source2.types, (t) => t.flags & 465829888 ? getBaseConstraintOfType(t) || unknownType : t);\n            if (constraints !== source2.types) {\n              source2 = getIntersectionType(constraints);\n              if (source2.flags & 131072) {\n                return 0;\n              }\n              if (!(source2.flags & 2097152)) {\n                return isRelatedTo(\n                  source2,\n                  target2,\n                  1,\n                  /*reportErrors*/\n                  false\n                ) || isRelatedTo(\n                  target2,\n                  source2,\n                  1,\n                  /*reportErrors*/\n                  false\n                );\n              }\n            }\n          }\n          return someTypeRelatedToType(\n            source2,\n            target2,\n            /*reportErrors*/\n            false,\n            1\n            /* Source */\n          );\n        }\n        function eachTypeRelatedToSomeType(source2, target2) {\n          let result2 = -1;\n          const sourceTypes = source2.types;\n          for (const sourceType of sourceTypes) {\n            const related = typeRelatedToSomeType(\n              sourceType,\n              target2,\n              /*reportErrors*/\n              false\n            );\n            if (!related) {\n              return 0;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        function typeRelatedToSomeType(source2, target2, reportErrors2) {\n          const targetTypes = target2.types;\n          if (target2.flags & 1048576) {\n            if (containsType(targetTypes, source2)) {\n              return -1;\n            }\n            const match = getMatchingUnionConstituentForType(target2, source2);\n            if (match) {\n              const related = isRelatedTo(\n                source2,\n                match,\n                2,\n                /*reportErrors*/\n                false\n              );\n              if (related) {\n                return related;\n              }\n            }\n          }\n          for (const type of targetTypes) {\n            const related = isRelatedTo(\n              source2,\n              type,\n              2,\n              /*reportErrors*/\n              false\n            );\n            if (related) {\n              return related;\n            }\n          }\n          if (reportErrors2) {\n            const bestMatchingType = getBestMatchingType(source2, target2, isRelatedTo);\n            if (bestMatchingType) {\n              isRelatedTo(\n                source2,\n                bestMatchingType,\n                2,\n                /*reportErrors*/\n                true\n              );\n            }\n          }\n          return 0;\n        }\n        function typeRelatedToEachType(source2, target2, reportErrors2, intersectionState) {\n          let result2 = -1;\n          const targetTypes = target2.types;\n          for (const targetType of targetTypes) {\n            const related = isRelatedTo(\n              source2,\n              targetType,\n              2,\n              reportErrors2,\n              /*headMessage*/\n              void 0,\n              intersectionState\n            );\n            if (!related) {\n              return 0;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        function someTypeRelatedToType(source2, target2, reportErrors2, intersectionState) {\n          const sourceTypes = source2.types;\n          if (source2.flags & 1048576 && containsType(sourceTypes, target2)) {\n            return -1;\n          }\n          const len = sourceTypes.length;\n          for (let i = 0; i < len; i++) {\n            const related = isRelatedTo(\n              sourceTypes[i],\n              target2,\n              1,\n              reportErrors2 && i === len - 1,\n              /*headMessage*/\n              void 0,\n              intersectionState\n            );\n            if (related) {\n              return related;\n            }\n          }\n          return 0;\n        }\n        function getUndefinedStrippedTargetIfNeeded(source2, target2) {\n          if (source2.flags & 1048576 && target2.flags & 1048576 && !(source2.types[0].flags & 32768) && target2.types[0].flags & 32768) {\n            return extractTypesOfKind(\n              target2,\n              ~32768\n              /* Undefined */\n            );\n          }\n          return target2;\n        }\n        function eachTypeRelatedToType(source2, target2, reportErrors2, intersectionState) {\n          let result2 = -1;\n          const sourceTypes = source2.types;\n          const undefinedStrippedTarget = getUndefinedStrippedTargetIfNeeded(source2, target2);\n          for (let i = 0; i < sourceTypes.length; i++) {\n            const sourceType = sourceTypes[i];\n            if (undefinedStrippedTarget.flags & 1048576 && sourceTypes.length >= undefinedStrippedTarget.types.length && sourceTypes.length % undefinedStrippedTarget.types.length === 0) {\n              const related2 = isRelatedTo(\n                sourceType,\n                undefinedStrippedTarget.types[i % undefinedStrippedTarget.types.length],\n                3,\n                /*reportErrors*/\n                false,\n                /*headMessage*/\n                void 0,\n                intersectionState\n              );\n              if (related2) {\n                result2 &= related2;\n                continue;\n              }\n            }\n            const related = isRelatedTo(\n              sourceType,\n              target2,\n              1,\n              reportErrors2,\n              /*headMessage*/\n              void 0,\n              intersectionState\n            );\n            if (!related) {\n              return 0;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        function typeArgumentsRelatedTo(sources = emptyArray, targets = emptyArray, variances = emptyArray, reportErrors2, intersectionState) {\n          if (sources.length !== targets.length && relation === identityRelation) {\n            return 0;\n          }\n          const length2 = sources.length <= targets.length ? sources.length : targets.length;\n          let result2 = -1;\n          for (let i = 0; i < length2; i++) {\n            const varianceFlags = i < variances.length ? variances[i] : 1;\n            const variance = varianceFlags & 7;\n            if (variance !== 4) {\n              const s = sources[i];\n              const t = targets[i];\n              let related = -1;\n              if (varianceFlags & 8) {\n                related = relation === identityRelation ? isRelatedTo(\n                  s,\n                  t,\n                  3,\n                  /*reportErrors*/\n                  false\n                ) : compareTypesIdentical(s, t);\n              } else if (variance === 1) {\n                related = isRelatedTo(\n                  s,\n                  t,\n                  3,\n                  reportErrors2,\n                  /*headMessage*/\n                  void 0,\n                  intersectionState\n                );\n              } else if (variance === 2) {\n                related = isRelatedTo(\n                  t,\n                  s,\n                  3,\n                  reportErrors2,\n                  /*headMessage*/\n                  void 0,\n                  intersectionState\n                );\n              } else if (variance === 3) {\n                related = isRelatedTo(\n                  t,\n                  s,\n                  3,\n                  /*reportErrors*/\n                  false\n                );\n                if (!related) {\n                  related = isRelatedTo(\n                    s,\n                    t,\n                    3,\n                    reportErrors2,\n                    /*headMessage*/\n                    void 0,\n                    intersectionState\n                  );\n                }\n              } else {\n                related = isRelatedTo(\n                  s,\n                  t,\n                  3,\n                  reportErrors2,\n                  /*headMessage*/\n                  void 0,\n                  intersectionState\n                );\n                if (related) {\n                  related &= isRelatedTo(\n                    t,\n                    s,\n                    3,\n                    reportErrors2,\n                    /*headMessage*/\n                    void 0,\n                    intersectionState\n                  );\n                }\n              }\n              if (!related) {\n                return 0;\n              }\n              result2 &= related;\n            }\n          }\n          return result2;\n        }\n        function recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags) {\n          var _a32, _b3, _c;\n          if (overflow) {\n            return 0;\n          }\n          const id = getRelationKey(\n            source2,\n            target2,\n            intersectionState,\n            relation,\n            /*ingnoreConstraints*/\n            false\n          );\n          const entry = relation.get(id);\n          if (entry !== void 0) {\n            if (reportErrors2 && entry & 2 && !(entry & 4)) {\n            } else {\n              if (outofbandVarianceMarkerHandler) {\n                const saved = entry & 24;\n                if (saved & 8) {\n                  instantiateType(source2, reportUnmeasurableMapper);\n                }\n                if (saved & 16) {\n                  instantiateType(source2, reportUnreliableMapper);\n                }\n              }\n              return entry & 1 ? -1 : 0;\n            }\n          }\n          if (!maybeKeys) {\n            maybeKeys = [];\n            sourceStack = [];\n            targetStack = [];\n          } else {\n            const broadestEquivalentId = id.startsWith(\"*\") ? getRelationKey(\n              source2,\n              target2,\n              intersectionState,\n              relation,\n              /*ignoreConstraints*/\n              true\n            ) : void 0;\n            for (let i = 0; i < maybeCount; i++) {\n              if (id === maybeKeys[i] || broadestEquivalentId && broadestEquivalentId === maybeKeys[i]) {\n                return 3;\n              }\n            }\n            if (sourceDepth === 100 || targetDepth === 100) {\n              overflow = true;\n              return 0;\n            }\n          }\n          const maybeStart = maybeCount;\n          maybeKeys[maybeCount] = id;\n          maybeCount++;\n          const saveExpandingFlags = expandingFlags;\n          if (recursionFlags & 1) {\n            sourceStack[sourceDepth] = source2;\n            sourceDepth++;\n            if (!(expandingFlags & 1) && isDeeplyNestedType(source2, sourceStack, sourceDepth))\n              expandingFlags |= 1;\n          }\n          if (recursionFlags & 2) {\n            targetStack[targetDepth] = target2;\n            targetDepth++;\n            if (!(expandingFlags & 2) && isDeeplyNestedType(target2, targetStack, targetDepth))\n              expandingFlags |= 2;\n          }\n          let originalHandler;\n          let propagatingVarianceFlags = 0;\n          if (outofbandVarianceMarkerHandler) {\n            originalHandler = outofbandVarianceMarkerHandler;\n            outofbandVarianceMarkerHandler = (onlyUnreliable) => {\n              propagatingVarianceFlags |= onlyUnreliable ? 16 : 8;\n              return originalHandler(onlyUnreliable);\n            };\n          }\n          let result2;\n          if (expandingFlags === 3) {\n            (_a32 = tracing) == null ? void 0 : _a32.instant(tracing.Phase.CheckTypes, \"recursiveTypeRelatedTo_DepthLimit\", {\n              sourceId: source2.id,\n              sourceIdStack: sourceStack.map((t) => t.id),\n              targetId: target2.id,\n              targetIdStack: targetStack.map((t) => t.id),\n              depth: sourceDepth,\n              targetDepth\n            });\n            result2 = 3;\n          } else {\n            (_b3 = tracing) == null ? void 0 : _b3.push(tracing.Phase.CheckTypes, \"structuredTypeRelatedTo\", { sourceId: source2.id, targetId: target2.id });\n            result2 = structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState);\n            (_c = tracing) == null ? void 0 : _c.pop();\n          }\n          if (outofbandVarianceMarkerHandler) {\n            outofbandVarianceMarkerHandler = originalHandler;\n          }\n          if (recursionFlags & 1) {\n            sourceDepth--;\n          }\n          if (recursionFlags & 2) {\n            targetDepth--;\n          }\n          expandingFlags = saveExpandingFlags;\n          if (result2) {\n            if (result2 === -1 || sourceDepth === 0 && targetDepth === 0) {\n              if (result2 === -1 || result2 === 3) {\n                for (let i = maybeStart; i < maybeCount; i++) {\n                  relation.set(maybeKeys[i], 1 | propagatingVarianceFlags);\n                }\n              }\n              maybeCount = maybeStart;\n            }\n          } else {\n            relation.set(id, (reportErrors2 ? 4 : 0) | 2 | propagatingVarianceFlags);\n            maybeCount = maybeStart;\n          }\n          return result2;\n        }\n        function structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState) {\n          const saveErrorInfo = captureErrorCalculationState();\n          let result2 = structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo);\n          if (relation !== identityRelation) {\n            if (!result2 && (source2.flags & 2097152 || source2.flags & 262144 && target2.flags & 1048576)) {\n              const constraint = getEffectiveConstraintOfIntersection(source2.flags & 2097152 ? source2.types : [source2], !!(target2.flags & 1048576));\n              if (constraint && everyType(constraint, (c) => c !== source2)) {\n                result2 = isRelatedTo(\n                  constraint,\n                  target2,\n                  1,\n                  /*reportErrors*/\n                  false,\n                  /*headMessage*/\n                  void 0,\n                  intersectionState\n                );\n              }\n            }\n            if (result2 && !(intersectionState & 2) && target2.flags & 2097152 && !isGenericObjectType(target2) && source2.flags & (524288 | 2097152)) {\n              result2 &= propertiesRelatedTo(\n                source2,\n                target2,\n                reportErrors2,\n                /*excludedProperties*/\n                void 0,\n                /*optionalsOnly*/\n                false,\n                0\n                /* None */\n              );\n              if (result2 && isObjectLiteralType2(source2) && getObjectFlags(source2) & 8192) {\n                result2 &= indexSignaturesRelatedTo(\n                  source2,\n                  target2,\n                  /*sourceIsPrimitive*/\n                  false,\n                  reportErrors2,\n                  0\n                  /* None */\n                );\n              }\n            } else if (result2 && isNonGenericObjectType(target2) && !isArrayOrTupleType(target2) && source2.flags & 2097152 && getApparentType(source2).flags & 3670016 && !some(source2.types, (t) => t === target2 || !!(getObjectFlags(t) & 262144))) {\n              result2 &= propertiesRelatedTo(\n                source2,\n                target2,\n                reportErrors2,\n                /*excludedProperties*/\n                void 0,\n                /*optionalsOnly*/\n                true,\n                intersectionState\n              );\n            }\n          }\n          if (result2) {\n            resetErrorInfo(saveErrorInfo);\n          }\n          return result2;\n        }\n        function structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo) {\n          let result2;\n          let originalErrorInfo;\n          let varianceCheckFailed = false;\n          let sourceFlags = source2.flags;\n          const targetFlags = target2.flags;\n          if (relation === identityRelation) {\n            if (sourceFlags & 3145728) {\n              let result3 = eachTypeRelatedToSomeType(source2, target2);\n              if (result3) {\n                result3 &= eachTypeRelatedToSomeType(target2, source2);\n              }\n              return result3;\n            }\n            if (sourceFlags & 4194304) {\n              return isRelatedTo(\n                source2.type,\n                target2.type,\n                3,\n                /*reportErrors*/\n                false\n              );\n            }\n            if (sourceFlags & 8388608) {\n              if (result2 = isRelatedTo(\n                source2.objectType,\n                target2.objectType,\n                3,\n                /*reportErrors*/\n                false\n              )) {\n                if (result2 &= isRelatedTo(\n                  source2.indexType,\n                  target2.indexType,\n                  3,\n                  /*reportErrors*/\n                  false\n                )) {\n                  return result2;\n                }\n              }\n            }\n            if (sourceFlags & 16777216) {\n              if (source2.root.isDistributive === target2.root.isDistributive) {\n                if (result2 = isRelatedTo(\n                  source2.checkType,\n                  target2.checkType,\n                  3,\n                  /*reportErrors*/\n                  false\n                )) {\n                  if (result2 &= isRelatedTo(\n                    source2.extendsType,\n                    target2.extendsType,\n                    3,\n                    /*reportErrors*/\n                    false\n                  )) {\n                    if (result2 &= isRelatedTo(\n                      getTrueTypeFromConditionalType(source2),\n                      getTrueTypeFromConditionalType(target2),\n                      3,\n                      /*reportErrors*/\n                      false\n                    )) {\n                      if (result2 &= isRelatedTo(\n                        getFalseTypeFromConditionalType(source2),\n                        getFalseTypeFromConditionalType(target2),\n                        3,\n                        /*reportErrors*/\n                        false\n                      )) {\n                        return result2;\n                      }\n                    }\n                  }\n                }\n              }\n            }\n            if (sourceFlags & 33554432) {\n              if (result2 = isRelatedTo(\n                source2.baseType,\n                target2.baseType,\n                3,\n                /*reportErrors*/\n                false\n              )) {\n                if (result2 &= isRelatedTo(\n                  source2.constraint,\n                  target2.constraint,\n                  3,\n                  /*reportErrors*/\n                  false\n                )) {\n                  return result2;\n                }\n              }\n            }\n            if (!(sourceFlags & 524288)) {\n              return 0;\n            }\n          } else if (sourceFlags & 3145728 || targetFlags & 3145728) {\n            if (result2 = unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState)) {\n              return result2;\n            }\n            if (!(sourceFlags & 465829888 || sourceFlags & 524288 && targetFlags & 1048576 || sourceFlags & 2097152 && targetFlags & (524288 | 1048576 | 465829888))) {\n              return 0;\n            }\n          }\n          if (sourceFlags & (524288 | 16777216) && source2.aliasSymbol && source2.aliasTypeArguments && source2.aliasSymbol === target2.aliasSymbol && !(isMarkerType(source2) || isMarkerType(target2))) {\n            const variances = getAliasVariances(source2.aliasSymbol);\n            if (variances === emptyArray) {\n              return 1;\n            }\n            const params = getSymbolLinks(source2.aliasSymbol).typeParameters;\n            const minParams = getMinTypeArgumentCount(params);\n            const sourceTypes = fillMissingTypeArguments(source2.aliasTypeArguments, params, minParams, isInJSFile(source2.aliasSymbol.valueDeclaration));\n            const targetTypes = fillMissingTypeArguments(target2.aliasTypeArguments, params, minParams, isInJSFile(source2.aliasSymbol.valueDeclaration));\n            const varianceResult = relateVariances(sourceTypes, targetTypes, variances, intersectionState);\n            if (varianceResult !== void 0) {\n              return varianceResult;\n            }\n          }\n          if (isSingleElementGenericTupleType(source2) && !source2.target.readonly && (result2 = isRelatedTo(\n            getTypeArguments(source2)[0],\n            target2,\n            1\n            /* Source */\n          )) || isSingleElementGenericTupleType(target2) && (target2.target.readonly || isMutableArrayOrTuple(getBaseConstraintOfType(source2) || source2)) && (result2 = isRelatedTo(\n            source2,\n            getTypeArguments(target2)[0],\n            2\n            /* Target */\n          ))) {\n            return result2;\n          }\n          if (targetFlags & 262144) {\n            if (getObjectFlags(source2) & 32 && !source2.declaration.nameType && isRelatedTo(\n              getIndexType(target2),\n              getConstraintTypeFromMappedType(source2),\n              3\n              /* Both */\n            )) {\n              if (!(getMappedTypeModifiers(source2) & 4)) {\n                const templateType = getTemplateTypeFromMappedType(source2);\n                const indexedAccessType = getIndexedAccessType(target2, getTypeParameterFromMappedType(source2));\n                if (result2 = isRelatedTo(templateType, indexedAccessType, 3, reportErrors2)) {\n                  return result2;\n                }\n              }\n            }\n            if (relation === comparableRelation && sourceFlags & 262144) {\n              let constraint = getConstraintOfTypeParameter(source2);\n              if (constraint && hasNonCircularBaseConstraint(source2)) {\n                while (constraint && someType(constraint, (c) => !!(c.flags & 262144))) {\n                  if (result2 = isRelatedTo(\n                    constraint,\n                    target2,\n                    1,\n                    /*reportErrors*/\n                    false\n                  )) {\n                    return result2;\n                  }\n                  constraint = getConstraintOfTypeParameter(constraint);\n                }\n              }\n              return 0;\n            }\n          } else if (targetFlags & 4194304) {\n            const targetType = target2.type;\n            if (sourceFlags & 4194304) {\n              if (result2 = isRelatedTo(\n                targetType,\n                source2.type,\n                3,\n                /*reportErrors*/\n                false\n              )) {\n                return result2;\n              }\n            }\n            if (isTupleType(targetType)) {\n              if (result2 = isRelatedTo(source2, getKnownKeysOfTupleType(targetType), 2, reportErrors2)) {\n                return result2;\n              }\n            } else {\n              const constraint = getSimplifiedTypeOrConstraint(targetType);\n              if (constraint) {\n                if (isRelatedTo(source2, getIndexType(constraint, target2.stringsOnly), 2, reportErrors2) === -1) {\n                  return -1;\n                }\n              } else if (isGenericMappedType(targetType)) {\n                const nameType = getNameTypeFromMappedType(targetType);\n                const constraintType = getConstraintTypeFromMappedType(targetType);\n                let targetKeys;\n                if (nameType && isMappedTypeWithKeyofConstraintDeclaration(targetType)) {\n                  const modifiersType = getApparentType(getModifiersTypeFromMappedType(targetType));\n                  const mappedKeys = [];\n                  forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(\n                    modifiersType,\n                    8576,\n                    /*stringsOnly*/\n                    false,\n                    (t) => void mappedKeys.push(instantiateType(nameType, appendTypeMapping(targetType.mapper, getTypeParameterFromMappedType(targetType), t)))\n                  );\n                  targetKeys = getUnionType([...mappedKeys, nameType]);\n                } else {\n                  targetKeys = nameType || constraintType;\n                }\n                if (isRelatedTo(source2, targetKeys, 2, reportErrors2) === -1) {\n                  return -1;\n                }\n              }\n            }\n          } else if (targetFlags & 8388608) {\n            if (sourceFlags & 8388608) {\n              if (result2 = isRelatedTo(source2.objectType, target2.objectType, 3, reportErrors2)) {\n                result2 &= isRelatedTo(source2.indexType, target2.indexType, 3, reportErrors2);\n              }\n              if (result2) {\n                return result2;\n              }\n              if (reportErrors2) {\n                originalErrorInfo = errorInfo;\n              }\n            }\n            if (relation === assignableRelation || relation === comparableRelation) {\n              const objectType = target2.objectType;\n              const indexType = target2.indexType;\n              const baseObjectType = getBaseConstraintOfType(objectType) || objectType;\n              const baseIndexType = getBaseConstraintOfType(indexType) || indexType;\n              if (!isGenericObjectType(baseObjectType) && !isGenericIndexType(baseIndexType)) {\n                const accessFlags = 4 | (baseObjectType !== objectType ? 2 : 0);\n                const constraint = getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, accessFlags);\n                if (constraint) {\n                  if (reportErrors2 && originalErrorInfo) {\n                    resetErrorInfo(saveErrorInfo);\n                  }\n                  if (result2 = isRelatedTo(\n                    source2,\n                    constraint,\n                    2,\n                    reportErrors2,\n                    /* headMessage */\n                    void 0,\n                    intersectionState\n                  )) {\n                    return result2;\n                  }\n                  if (reportErrors2 && originalErrorInfo && errorInfo) {\n                    errorInfo = countMessageChainBreadth([originalErrorInfo]) <= countMessageChainBreadth([errorInfo]) ? originalErrorInfo : errorInfo;\n                  }\n                }\n              }\n            }\n            if (reportErrors2) {\n              originalErrorInfo = void 0;\n            }\n          } else if (isGenericMappedType(target2) && relation !== identityRelation) {\n            const keysRemapped = !!target2.declaration.nameType;\n            const templateType = getTemplateTypeFromMappedType(target2);\n            const modifiers = getMappedTypeModifiers(target2);\n            if (!(modifiers & 8)) {\n              if (!keysRemapped && templateType.flags & 8388608 && templateType.objectType === source2 && templateType.indexType === getTypeParameterFromMappedType(target2)) {\n                return -1;\n              }\n              if (!isGenericMappedType(source2)) {\n                const targetKeys = keysRemapped ? getNameTypeFromMappedType(target2) : getConstraintTypeFromMappedType(target2);\n                const sourceKeys = getIndexType(\n                  source2,\n                  /*stringsOnly*/\n                  void 0,\n                  /*noIndexSignatures*/\n                  true\n                );\n                const includeOptional = modifiers & 4;\n                const filteredByApplicability = includeOptional ? intersectTypes(targetKeys, sourceKeys) : void 0;\n                if (includeOptional ? !(filteredByApplicability.flags & 131072) : isRelatedTo(\n                  targetKeys,\n                  sourceKeys,\n                  3\n                  /* Both */\n                )) {\n                  const templateType2 = getTemplateTypeFromMappedType(target2);\n                  const typeParameter = getTypeParameterFromMappedType(target2);\n                  const nonNullComponent = extractTypesOfKind(\n                    templateType2,\n                    ~98304\n                    /* Nullable */\n                  );\n                  if (!keysRemapped && nonNullComponent.flags & 8388608 && nonNullComponent.indexType === typeParameter) {\n                    if (result2 = isRelatedTo(source2, nonNullComponent.objectType, 2, reportErrors2)) {\n                      return result2;\n                    }\n                  } else {\n                    const indexingType = keysRemapped ? filteredByApplicability || targetKeys : filteredByApplicability ? getIntersectionType([filteredByApplicability, typeParameter]) : typeParameter;\n                    const indexedAccessType = getIndexedAccessType(source2, indexingType);\n                    if (result2 = isRelatedTo(indexedAccessType, templateType2, 3, reportErrors2)) {\n                      return result2;\n                    }\n                  }\n                }\n                originalErrorInfo = errorInfo;\n                resetErrorInfo(saveErrorInfo);\n              }\n            }\n          } else if (targetFlags & 16777216) {\n            if (isDeeplyNestedType(target2, targetStack, targetDepth, 10)) {\n              return 3;\n            }\n            const c = target2;\n            if (!c.root.inferTypeParameters && !isDistributionDependent(c.root)) {\n              const skipTrue = !isTypeAssignableTo(getPermissiveInstantiation(c.checkType), getPermissiveInstantiation(c.extendsType));\n              const skipFalse = !skipTrue && isTypeAssignableTo(getRestrictiveInstantiation(c.checkType), getRestrictiveInstantiation(c.extendsType));\n              if (result2 = skipTrue ? -1 : isRelatedTo(\n                source2,\n                getTrueTypeFromConditionalType(c),\n                2,\n                /*reportErrors*/\n                false,\n                /*headMessage*/\n                void 0,\n                intersectionState\n              )) {\n                result2 &= skipFalse ? -1 : isRelatedTo(\n                  source2,\n                  getFalseTypeFromConditionalType(c),\n                  2,\n                  /*reportErrors*/\n                  false,\n                  /*headMessage*/\n                  void 0,\n                  intersectionState\n                );\n                if (result2) {\n                  return result2;\n                }\n              }\n            }\n          } else if (targetFlags & 134217728) {\n            if (sourceFlags & 134217728) {\n              if (relation === comparableRelation) {\n                return templateLiteralTypesDefinitelyUnrelated(source2, target2) ? 0 : -1;\n              }\n              instantiateType(source2, reportUnreliableMapper);\n            }\n            if (isTypeMatchedByTemplateLiteralType(source2, target2)) {\n              return -1;\n            }\n          } else if (target2.flags & 268435456) {\n            if (!(source2.flags & 268435456)) {\n              if (isMemberOfStringMapping(source2, target2)) {\n                return -1;\n              }\n            }\n          }\n          if (sourceFlags & 8650752) {\n            if (!(sourceFlags & 8388608 && targetFlags & 8388608)) {\n              const constraint = getConstraintOfType(source2) || unknownType;\n              if (result2 = isRelatedTo(\n                constraint,\n                target2,\n                1,\n                /*reportErrors*/\n                false,\n                /*headMessage*/\n                void 0,\n                intersectionState\n              )) {\n                return result2;\n              } else if (result2 = isRelatedTo(\n                getTypeWithThisArgument(constraint, source2),\n                target2,\n                1,\n                reportErrors2 && constraint !== unknownType && !(targetFlags & sourceFlags & 262144),\n                /*headMessage*/\n                void 0,\n                intersectionState\n              )) {\n                return result2;\n              }\n              if (isMappedTypeGenericIndexedAccess(source2)) {\n                const indexConstraint = getConstraintOfType(source2.indexType);\n                if (indexConstraint) {\n                  if (result2 = isRelatedTo(getIndexedAccessType(source2.objectType, indexConstraint), target2, 1, reportErrors2)) {\n                    return result2;\n                  }\n                }\n              }\n            }\n          } else if (sourceFlags & 4194304) {\n            if (result2 = isRelatedTo(keyofConstraintType, target2, 1, reportErrors2)) {\n              return result2;\n            }\n          } else if (sourceFlags & 134217728 && !(targetFlags & 524288)) {\n            if (!(targetFlags & 134217728)) {\n              const constraint = getBaseConstraintOfType(source2);\n              if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1, reportErrors2))) {\n                return result2;\n              }\n            }\n          } else if (sourceFlags & 268435456) {\n            if (targetFlags & 268435456) {\n              if (source2.symbol !== target2.symbol) {\n                return 0;\n              }\n              if (result2 = isRelatedTo(source2.type, target2.type, 3, reportErrors2)) {\n                return result2;\n              }\n            } else {\n              const constraint = getBaseConstraintOfType(source2);\n              if (constraint && (result2 = isRelatedTo(constraint, target2, 1, reportErrors2))) {\n                return result2;\n              }\n            }\n          } else if (sourceFlags & 16777216) {\n            if (isDeeplyNestedType(source2, sourceStack, sourceDepth, 10)) {\n              return 3;\n            }\n            if (targetFlags & 16777216) {\n              const sourceParams = source2.root.inferTypeParameters;\n              let sourceExtends = source2.extendsType;\n              let mapper;\n              if (sourceParams) {\n                const ctx = createInferenceContext(\n                  sourceParams,\n                  /*signature*/\n                  void 0,\n                  0,\n                  isRelatedToWorker\n                );\n                inferTypes(\n                  ctx.inferences,\n                  target2.extendsType,\n                  sourceExtends,\n                  512 | 1024\n                  /* AlwaysStrict */\n                );\n                sourceExtends = instantiateType(sourceExtends, ctx.mapper);\n                mapper = ctx.mapper;\n              }\n              if (isTypeIdenticalTo(sourceExtends, target2.extendsType) && (isRelatedTo(\n                source2.checkType,\n                target2.checkType,\n                3\n                /* Both */\n              ) || isRelatedTo(\n                target2.checkType,\n                source2.checkType,\n                3\n                /* Both */\n              ))) {\n                if (result2 = isRelatedTo(instantiateType(getTrueTypeFromConditionalType(source2), mapper), getTrueTypeFromConditionalType(target2), 3, reportErrors2)) {\n                  result2 &= isRelatedTo(getFalseTypeFromConditionalType(source2), getFalseTypeFromConditionalType(target2), 3, reportErrors2);\n                }\n                if (result2) {\n                  return result2;\n                }\n              }\n            } else {\n              const distributiveConstraint = hasNonCircularBaseConstraint(source2) ? getConstraintOfDistributiveConditionalType(source2) : void 0;\n              if (distributiveConstraint) {\n                if (result2 = isRelatedTo(distributiveConstraint, target2, 1, reportErrors2)) {\n                  return result2;\n                }\n              }\n            }\n            const defaultConstraint = getDefaultConstraintOfConditionalType(source2);\n            if (defaultConstraint) {\n              if (result2 = isRelatedTo(defaultConstraint, target2, 1, reportErrors2)) {\n                return result2;\n              }\n            }\n          } else {\n            if (relation !== subtypeRelation && relation !== strictSubtypeRelation && isPartialMappedType(target2) && isEmptyObjectType(source2)) {\n              return -1;\n            }\n            if (isGenericMappedType(target2)) {\n              if (isGenericMappedType(source2)) {\n                if (result2 = mappedTypeRelatedTo(source2, target2, reportErrors2)) {\n                  return result2;\n                }\n              }\n              return 0;\n            }\n            const sourceIsPrimitive = !!(sourceFlags & 134348796);\n            if (relation !== identityRelation) {\n              source2 = getApparentType(source2);\n              sourceFlags = source2.flags;\n            } else if (isGenericMappedType(source2)) {\n              return 0;\n            }\n            if (getObjectFlags(source2) & 4 && getObjectFlags(target2) & 4 && source2.target === target2.target && !isTupleType(source2) && !(isMarkerType(source2) || isMarkerType(target2))) {\n              if (isEmptyArrayLiteralType(source2)) {\n                return -1;\n              }\n              const variances = getVariances(source2.target);\n              if (variances === emptyArray) {\n                return 1;\n              }\n              const varianceResult = relateVariances(getTypeArguments(source2), getTypeArguments(target2), variances, intersectionState);\n              if (varianceResult !== void 0) {\n                return varianceResult;\n              }\n            } else if (isReadonlyArrayType(target2) ? isArrayOrTupleType(source2) : isArrayType(target2) && isTupleType(source2) && !source2.target.readonly) {\n              if (relation !== identityRelation) {\n                return isRelatedTo(getIndexTypeOfType(source2, numberType) || anyType, getIndexTypeOfType(target2, numberType) || anyType, 3, reportErrors2);\n              } else {\n                return 0;\n              }\n            } else if ((relation === subtypeRelation || relation === strictSubtypeRelation) && isEmptyObjectType(target2) && getObjectFlags(target2) & 8192 && !isEmptyObjectType(source2)) {\n              return 0;\n            }\n            if (sourceFlags & (524288 | 2097152) && targetFlags & 524288) {\n              const reportStructuralErrors = reportErrors2 && errorInfo === saveErrorInfo.errorInfo && !sourceIsPrimitive;\n              result2 = propertiesRelatedTo(\n                source2,\n                target2,\n                reportStructuralErrors,\n                /*excludedProperties*/\n                void 0,\n                /*optionalsOnly*/\n                false,\n                intersectionState\n              );\n              if (result2) {\n                result2 &= signaturesRelatedTo(source2, target2, 0, reportStructuralErrors, intersectionState);\n                if (result2) {\n                  result2 &= signaturesRelatedTo(source2, target2, 1, reportStructuralErrors, intersectionState);\n                  if (result2) {\n                    result2 &= indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportStructuralErrors, intersectionState);\n                  }\n                }\n              }\n              if (varianceCheckFailed && result2) {\n                errorInfo = originalErrorInfo || errorInfo || saveErrorInfo.errorInfo;\n              } else if (result2) {\n                return result2;\n              }\n            }\n            if (sourceFlags & (524288 | 2097152) && targetFlags & 1048576) {\n              const objectOnlyTarget = extractTypesOfKind(\n                target2,\n                524288 | 2097152 | 33554432\n                /* Substitution */\n              );\n              if (objectOnlyTarget.flags & 1048576) {\n                const result3 = typeRelatedToDiscriminatedType(source2, objectOnlyTarget);\n                if (result3) {\n                  return result3;\n                }\n              }\n            }\n          }\n          return 0;\n          function countMessageChainBreadth(info) {\n            if (!info)\n              return 0;\n            return reduceLeft(info, (value, chain) => value + 1 + countMessageChainBreadth(chain.next), 0);\n          }\n          function relateVariances(sourceTypeArguments, targetTypeArguments, variances, intersectionState2) {\n            if (result2 = typeArgumentsRelatedTo(sourceTypeArguments, targetTypeArguments, variances, reportErrors2, intersectionState2)) {\n              return result2;\n            }\n            if (some(variances, (v) => !!(v & 24))) {\n              originalErrorInfo = void 0;\n              resetErrorInfo(saveErrorInfo);\n              return void 0;\n            }\n            const allowStructuralFallback = targetTypeArguments && hasCovariantVoidArgument(targetTypeArguments, variances);\n            varianceCheckFailed = !allowStructuralFallback;\n            if (variances !== emptyArray && !allowStructuralFallback) {\n              if (varianceCheckFailed && !(reportErrors2 && some(\n                variances,\n                (v) => (v & 7) === 0\n                /* Invariant */\n              ))) {\n                return 0;\n              }\n              originalErrorInfo = errorInfo;\n              resetErrorInfo(saveErrorInfo);\n            }\n          }\n        }\n        function mappedTypeRelatedTo(source2, target2, reportErrors2) {\n          const modifiersRelated = relation === comparableRelation || (relation === identityRelation ? getMappedTypeModifiers(source2) === getMappedTypeModifiers(target2) : getCombinedMappedTypeOptionality(source2) <= getCombinedMappedTypeOptionality(target2));\n          if (modifiersRelated) {\n            let result2;\n            const targetConstraint = getConstraintTypeFromMappedType(target2);\n            const sourceConstraint = instantiateType(getConstraintTypeFromMappedType(source2), getCombinedMappedTypeOptionality(source2) < 0 ? reportUnmeasurableMapper : reportUnreliableMapper);\n            if (result2 = isRelatedTo(targetConstraint, sourceConstraint, 3, reportErrors2)) {\n              const mapper = createTypeMapper([getTypeParameterFromMappedType(source2)], [getTypeParameterFromMappedType(target2)]);\n              if (instantiateType(getNameTypeFromMappedType(source2), mapper) === instantiateType(getNameTypeFromMappedType(target2), mapper)) {\n                return result2 & isRelatedTo(instantiateType(getTemplateTypeFromMappedType(source2), mapper), getTemplateTypeFromMappedType(target2), 3, reportErrors2);\n              }\n            }\n          }\n          return 0;\n        }\n        function typeRelatedToDiscriminatedType(source2, target2) {\n          var _a32;\n          const sourceProperties = getPropertiesOfType(source2);\n          const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target2);\n          if (!sourcePropertiesFiltered)\n            return 0;\n          let numCombinations = 1;\n          for (const sourceProperty of sourcePropertiesFiltered) {\n            numCombinations *= countTypes(getNonMissingTypeOfSymbol(sourceProperty));\n            if (numCombinations > 25) {\n              (_a32 = tracing) == null ? void 0 : _a32.instant(tracing.Phase.CheckTypes, \"typeRelatedToDiscriminatedType_DepthLimit\", { sourceId: source2.id, targetId: target2.id, numCombinations });\n              return 0;\n            }\n          }\n          const sourceDiscriminantTypes = new Array(sourcePropertiesFiltered.length);\n          const excludedProperties = /* @__PURE__ */ new Set();\n          for (let i = 0; i < sourcePropertiesFiltered.length; i++) {\n            const sourceProperty = sourcePropertiesFiltered[i];\n            const sourcePropertyType = getNonMissingTypeOfSymbol(sourceProperty);\n            sourceDiscriminantTypes[i] = sourcePropertyType.flags & 1048576 ? sourcePropertyType.types : [sourcePropertyType];\n            excludedProperties.add(sourceProperty.escapedName);\n          }\n          const discriminantCombinations = cartesianProduct(sourceDiscriminantTypes);\n          const matchingTypes = [];\n          for (const combination of discriminantCombinations) {\n            let hasMatch = false;\n            outer:\n              for (const type of target2.types) {\n                for (let i = 0; i < sourcePropertiesFiltered.length; i++) {\n                  const sourceProperty = sourcePropertiesFiltered[i];\n                  const targetProperty = getPropertyOfType(type, sourceProperty.escapedName);\n                  if (!targetProperty)\n                    continue outer;\n                  if (sourceProperty === targetProperty)\n                    continue;\n                  const related = propertyRelatedTo(\n                    source2,\n                    target2,\n                    sourceProperty,\n                    targetProperty,\n                    (_) => combination[i],\n                    /*reportErrors*/\n                    false,\n                    0,\n                    /*skipOptional*/\n                    strictNullChecks || relation === comparableRelation\n                  );\n                  if (!related) {\n                    continue outer;\n                  }\n                }\n                pushIfUnique(matchingTypes, type, equateValues);\n                hasMatch = true;\n              }\n            if (!hasMatch) {\n              return 0;\n            }\n          }\n          let result2 = -1;\n          for (const type of matchingTypes) {\n            result2 &= propertiesRelatedTo(\n              source2,\n              type,\n              /*reportErrors*/\n              false,\n              excludedProperties,\n              /*optionalsOnly*/\n              false,\n              0\n              /* None */\n            );\n            if (result2) {\n              result2 &= signaturesRelatedTo(\n                source2,\n                type,\n                0,\n                /*reportStructuralErrors*/\n                false,\n                0\n                /* None */\n              );\n              if (result2) {\n                result2 &= signaturesRelatedTo(\n                  source2,\n                  type,\n                  1,\n                  /*reportStructuralErrors*/\n                  false,\n                  0\n                  /* None */\n                );\n                if (result2 && !(isTupleType(source2) && isTupleType(type))) {\n                  result2 &= indexSignaturesRelatedTo(\n                    source2,\n                    type,\n                    /*sourceIsPrimitive*/\n                    false,\n                    /*reportStructuralErrors*/\n                    false,\n                    0\n                    /* None */\n                  );\n                }\n              }\n            }\n            if (!result2) {\n              return result2;\n            }\n          }\n          return result2;\n        }\n        function excludeProperties(properties, excludedProperties) {\n          if (!excludedProperties || properties.length === 0)\n            return properties;\n          let result2;\n          for (let i = 0; i < properties.length; i++) {\n            if (!excludedProperties.has(properties[i].escapedName)) {\n              if (result2) {\n                result2.push(properties[i]);\n              }\n            } else if (!result2) {\n              result2 = properties.slice(0, i);\n            }\n          }\n          return result2 || properties;\n        }\n        function isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState) {\n          const targetIsOptional = strictNullChecks && !!(getCheckFlags(targetProp) & 48);\n          const effectiveTarget = addOptionality(\n            getNonMissingTypeOfSymbol(targetProp),\n            /*isProperty*/\n            false,\n            targetIsOptional\n          );\n          const effectiveSource = getTypeOfSourceProperty(sourceProp);\n          return isRelatedTo(\n            effectiveSource,\n            effectiveTarget,\n            3,\n            reportErrors2,\n            /*headMessage*/\n            void 0,\n            intersectionState\n          );\n        }\n        function propertyRelatedTo(source2, target2, sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState, skipOptional) {\n          const sourcePropFlags = getDeclarationModifierFlagsFromSymbol(sourceProp);\n          const targetPropFlags = getDeclarationModifierFlagsFromSymbol(targetProp);\n          if (sourcePropFlags & 8 || targetPropFlags & 8) {\n            if (sourceProp.valueDeclaration !== targetProp.valueDeclaration) {\n              if (reportErrors2) {\n                if (sourcePropFlags & 8 && targetPropFlags & 8) {\n                  reportError(Diagnostics.Types_have_separate_declarations_of_a_private_property_0, symbolToString(targetProp));\n                } else {\n                  reportError(\n                    Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,\n                    symbolToString(targetProp),\n                    typeToString(sourcePropFlags & 8 ? source2 : target2),\n                    typeToString(sourcePropFlags & 8 ? target2 : source2)\n                  );\n                }\n              }\n              return 0;\n            }\n          } else if (targetPropFlags & 16) {\n            if (!isValidOverrideOf(sourceProp, targetProp)) {\n              if (reportErrors2) {\n                reportError(\n                  Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,\n                  symbolToString(targetProp),\n                  typeToString(getDeclaringClass(sourceProp) || source2),\n                  typeToString(getDeclaringClass(targetProp) || target2)\n                );\n              }\n              return 0;\n            }\n          } else if (sourcePropFlags & 16) {\n            if (reportErrors2) {\n              reportError(\n                Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,\n                symbolToString(targetProp),\n                typeToString(source2),\n                typeToString(target2)\n              );\n            }\n            return 0;\n          }\n          if (relation === strictSubtypeRelation && isReadonlySymbol(sourceProp) && !isReadonlySymbol(targetProp)) {\n            return 0;\n          }\n          const related = isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState);\n          if (!related) {\n            if (reportErrors2) {\n              reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(targetProp));\n            }\n            return 0;\n          }\n          if (!skipOptional && sourceProp.flags & 16777216 && targetProp.flags & 106500 && !(targetProp.flags & 16777216)) {\n            if (reportErrors2) {\n              reportError(\n                Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,\n                symbolToString(targetProp),\n                typeToString(source2),\n                typeToString(target2)\n              );\n            }\n            return 0;\n          }\n          return related;\n        }\n        function reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties) {\n          let shouldSkipElaboration = false;\n          if (unmatchedProperty.valueDeclaration && isNamedDeclaration(unmatchedProperty.valueDeclaration) && isPrivateIdentifier(unmatchedProperty.valueDeclaration.name) && source2.symbol && source2.symbol.flags & 32) {\n            const privateIdentifierDescription = unmatchedProperty.valueDeclaration.name.escapedText;\n            const symbolTableKey = getSymbolNameForPrivateIdentifier(source2.symbol, privateIdentifierDescription);\n            if (symbolTableKey && getPropertyOfType(source2, symbolTableKey)) {\n              const sourceName = factory.getDeclarationName(source2.symbol.valueDeclaration);\n              const targetName = factory.getDeclarationName(target2.symbol.valueDeclaration);\n              reportError(\n                Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,\n                diagnosticName(privateIdentifierDescription),\n                diagnosticName(sourceName.escapedText === \"\" ? anon : sourceName),\n                diagnosticName(targetName.escapedText === \"\" ? anon : targetName)\n              );\n              return;\n            }\n          }\n          const props = arrayFrom(getUnmatchedProperties(\n            source2,\n            target2,\n            requireOptionalProperties,\n            /*matchDiscriminantProperties*/\n            false\n          ));\n          if (!headMessage || headMessage.code !== Diagnostics.Class_0_incorrectly_implements_interface_1.code && headMessage.code !== Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code) {\n            shouldSkipElaboration = true;\n          }\n          if (props.length === 1) {\n            const propName = symbolToString(\n              unmatchedProperty,\n              /*enclosingDeclaration*/\n              void 0,\n              0,\n              4 | 16\n              /* WriteComputedProps */\n            );\n            reportError(Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2, propName, ...getTypeNamesForErrorDisplay(source2, target2));\n            if (length(unmatchedProperty.declarations)) {\n              associateRelatedInfo(createDiagnosticForNode(unmatchedProperty.declarations[0], Diagnostics._0_is_declared_here, propName));\n            }\n            if (shouldSkipElaboration && errorInfo) {\n              overrideNextErrorInfo++;\n            }\n          } else if (tryElaborateArrayLikeErrors(\n            source2,\n            target2,\n            /*reportErrors*/\n            false\n          )) {\n            if (props.length > 5) {\n              reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(\", \"), props.length - 4);\n            } else {\n              reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(\", \"));\n            }\n            if (shouldSkipElaboration && errorInfo) {\n              overrideNextErrorInfo++;\n            }\n          }\n        }\n        function propertiesRelatedTo(source2, target2, reportErrors2, excludedProperties, optionalsOnly, intersectionState) {\n          if (relation === identityRelation) {\n            return propertiesIdenticalTo(source2, target2, excludedProperties);\n          }\n          let result2 = -1;\n          if (isTupleType(target2)) {\n            if (isArrayOrTupleType(source2)) {\n              if (!target2.target.readonly && (isReadonlyArrayType(source2) || isTupleType(source2) && source2.target.readonly)) {\n                return 0;\n              }\n              const sourceArity = getTypeReferenceArity(source2);\n              const targetArity = getTypeReferenceArity(target2);\n              const sourceRestFlag = isTupleType(source2) ? source2.target.combinedFlags & 4 : 4;\n              const targetRestFlag = target2.target.combinedFlags & 4;\n              const sourceMinLength = isTupleType(source2) ? source2.target.minLength : 0;\n              const targetMinLength = target2.target.minLength;\n              if (!sourceRestFlag && sourceArity < targetMinLength) {\n                if (reportErrors2) {\n                  reportError(Diagnostics.Source_has_0_element_s_but_target_requires_1, sourceArity, targetMinLength);\n                }\n                return 0;\n              }\n              if (!targetRestFlag && targetArity < sourceMinLength) {\n                if (reportErrors2) {\n                  reportError(Diagnostics.Source_has_0_element_s_but_target_allows_only_1, sourceMinLength, targetArity);\n                }\n                return 0;\n              }\n              if (!targetRestFlag && (sourceRestFlag || targetArity < sourceArity)) {\n                if (reportErrors2) {\n                  if (sourceMinLength < targetMinLength) {\n                    reportError(Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer, targetMinLength);\n                  } else {\n                    reportError(Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more, targetArity);\n                  }\n                }\n                return 0;\n              }\n              const sourceTypeArguments = getTypeArguments(source2);\n              const targetTypeArguments = getTypeArguments(target2);\n              const targetStartCount = getStartElementCount(\n                target2.target,\n                11\n                /* NonRest */\n              );\n              const targetEndCount = getEndElementCount(\n                target2.target,\n                11\n                /* NonRest */\n              );\n              const targetHasRestElement = target2.target.hasRestElement;\n              let canExcludeDiscriminants = !!excludedProperties;\n              for (let sourcePosition = 0; sourcePosition < sourceArity; sourcePosition++) {\n                const sourceFlags = isTupleType(source2) ? source2.target.elementFlags[sourcePosition] : 4;\n                const sourcePositionFromEnd = sourceArity - 1 - sourcePosition;\n                const targetPosition = targetHasRestElement && sourcePosition >= targetStartCount ? targetArity - 1 - Math.min(sourcePositionFromEnd, targetEndCount) : sourcePosition;\n                const targetFlags = target2.target.elementFlags[targetPosition];\n                if (targetFlags & 8 && !(sourceFlags & 8)) {\n                  if (reportErrors2) {\n                    reportError(Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target, targetPosition);\n                  }\n                  return 0;\n                }\n                if (sourceFlags & 8 && !(targetFlags & 12)) {\n                  if (reportErrors2) {\n                    reportError(Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target, sourcePosition, targetPosition);\n                  }\n                  return 0;\n                }\n                if (targetFlags & 1 && !(sourceFlags & 1)) {\n                  if (reportErrors2) {\n                    reportError(Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target, targetPosition);\n                  }\n                  return 0;\n                }\n                if (canExcludeDiscriminants) {\n                  if (sourceFlags & 12 || targetFlags & 12) {\n                    canExcludeDiscriminants = false;\n                  }\n                  if (canExcludeDiscriminants && (excludedProperties == null ? void 0 : excludedProperties.has(\"\" + sourcePosition))) {\n                    continue;\n                  }\n                }\n                const sourceType = removeMissingType(sourceTypeArguments[sourcePosition], !!(sourceFlags & targetFlags & 2));\n                const targetType = targetTypeArguments[targetPosition];\n                const targetCheckType = sourceFlags & 8 && targetFlags & 4 ? createArrayType(targetType) : removeMissingType(targetType, !!(targetFlags & 2));\n                const related = isRelatedTo(\n                  sourceType,\n                  targetCheckType,\n                  3,\n                  reportErrors2,\n                  /*headMessage*/\n                  void 0,\n                  intersectionState\n                );\n                if (!related) {\n                  if (reportErrors2 && (targetArity > 1 || sourceArity > 1)) {\n                    if (targetHasRestElement && sourcePosition >= targetStartCount && sourcePositionFromEnd >= targetEndCount && targetStartCount !== sourceArity - targetEndCount - 1) {\n                      reportIncompatibleError(Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, targetStartCount, sourceArity - targetEndCount - 1, targetPosition);\n                    } else {\n                      reportIncompatibleError(Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, sourcePosition, targetPosition);\n                    }\n                  }\n                  return 0;\n                }\n                result2 &= related;\n              }\n              return result2;\n            }\n            if (target2.target.combinedFlags & 12) {\n              return 0;\n            }\n          }\n          const requireOptionalProperties = (relation === subtypeRelation || relation === strictSubtypeRelation) && !isObjectLiteralType2(source2) && !isEmptyArrayLiteralType(source2) && !isTupleType(source2);\n          const unmatchedProperty = getUnmatchedProperty(\n            source2,\n            target2,\n            requireOptionalProperties,\n            /*matchDiscriminantProperties*/\n            false\n          );\n          if (unmatchedProperty) {\n            if (reportErrors2 && shouldReportUnmatchedPropertyError(source2, target2)) {\n              reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties);\n            }\n            return 0;\n          }\n          if (isObjectLiteralType2(target2)) {\n            for (const sourceProp of excludeProperties(getPropertiesOfType(source2), excludedProperties)) {\n              if (!getPropertyOfObjectType(target2, sourceProp.escapedName)) {\n                const sourceType = getTypeOfSymbol(sourceProp);\n                if (!(sourceType.flags & 32768)) {\n                  if (reportErrors2) {\n                    reportError(Diagnostics.Property_0_does_not_exist_on_type_1, symbolToString(sourceProp), typeToString(target2));\n                  }\n                  return 0;\n                }\n              }\n            }\n          }\n          const properties = getPropertiesOfType(target2);\n          const numericNamesOnly = isTupleType(source2) && isTupleType(target2);\n          for (const targetProp of excludeProperties(properties, excludedProperties)) {\n            const name = targetProp.escapedName;\n            if (!(targetProp.flags & 4194304) && (!numericNamesOnly || isNumericLiteralName(name) || name === \"length\") && (!optionalsOnly || targetProp.flags & 16777216)) {\n              const sourceProp = getPropertyOfType(source2, name);\n              if (sourceProp && sourceProp !== targetProp) {\n                const related = propertyRelatedTo(source2, target2, sourceProp, targetProp, getNonMissingTypeOfSymbol, reportErrors2, intersectionState, relation === comparableRelation);\n                if (!related) {\n                  return 0;\n                }\n                result2 &= related;\n              }\n            }\n          }\n          return result2;\n        }\n        function propertiesIdenticalTo(source2, target2, excludedProperties) {\n          if (!(source2.flags & 524288 && target2.flags & 524288)) {\n            return 0;\n          }\n          const sourceProperties = excludeProperties(getPropertiesOfObjectType(source2), excludedProperties);\n          const targetProperties = excludeProperties(getPropertiesOfObjectType(target2), excludedProperties);\n          if (sourceProperties.length !== targetProperties.length) {\n            return 0;\n          }\n          let result2 = -1;\n          for (const sourceProp of sourceProperties) {\n            const targetProp = getPropertyOfObjectType(target2, sourceProp.escapedName);\n            if (!targetProp) {\n              return 0;\n            }\n            const related = compareProperties2(sourceProp, targetProp, isRelatedTo);\n            if (!related) {\n              return 0;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        function signaturesRelatedTo(source2, target2, kind, reportErrors2, intersectionState) {\n          var _a32, _b3;\n          if (relation === identityRelation) {\n            return signaturesIdenticalTo(source2, target2, kind);\n          }\n          if (target2 === anyFunctionType || source2 === anyFunctionType) {\n            return -1;\n          }\n          const sourceIsJSConstructor = source2.symbol && isJSConstructor(source2.symbol.valueDeclaration);\n          const targetIsJSConstructor = target2.symbol && isJSConstructor(target2.symbol.valueDeclaration);\n          const sourceSignatures = getSignaturesOfType(source2, sourceIsJSConstructor && kind === 1 ? 0 : kind);\n          const targetSignatures = getSignaturesOfType(target2, targetIsJSConstructor && kind === 1 ? 0 : kind);\n          if (kind === 1 && sourceSignatures.length && targetSignatures.length) {\n            const sourceIsAbstract = !!(sourceSignatures[0].flags & 4);\n            const targetIsAbstract = !!(targetSignatures[0].flags & 4);\n            if (sourceIsAbstract && !targetIsAbstract) {\n              if (reportErrors2) {\n                reportError(Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type);\n              }\n              return 0;\n            }\n            if (!constructorVisibilitiesAreCompatible(sourceSignatures[0], targetSignatures[0], reportErrors2)) {\n              return 0;\n            }\n          }\n          let result2 = -1;\n          const incompatibleReporter = kind === 1 ? reportIncompatibleConstructSignatureReturn : reportIncompatibleCallSignatureReturn;\n          const sourceObjectFlags = getObjectFlags(source2);\n          const targetObjectFlags = getObjectFlags(target2);\n          if (sourceObjectFlags & 64 && targetObjectFlags & 64 && source2.symbol === target2.symbol || sourceObjectFlags & 4 && targetObjectFlags & 4 && source2.target === target2.target) {\n            for (let i = 0; i < targetSignatures.length; i++) {\n              const related = signatureRelatedTo(\n                sourceSignatures[i],\n                targetSignatures[i],\n                /*erase*/\n                true,\n                reportErrors2,\n                intersectionState,\n                incompatibleReporter(sourceSignatures[i], targetSignatures[i])\n              );\n              if (!related) {\n                return 0;\n              }\n              result2 &= related;\n            }\n          } else if (sourceSignatures.length === 1 && targetSignatures.length === 1) {\n            const eraseGenerics = relation === comparableRelation || !!compilerOptions.noStrictGenericChecks;\n            const sourceSignature = first(sourceSignatures);\n            const targetSignature = first(targetSignatures);\n            result2 = signatureRelatedTo(sourceSignature, targetSignature, eraseGenerics, reportErrors2, intersectionState, incompatibleReporter(sourceSignature, targetSignature));\n            if (!result2 && reportErrors2 && kind === 1 && sourceObjectFlags & targetObjectFlags && (((_a32 = targetSignature.declaration) == null ? void 0 : _a32.kind) === 173 || ((_b3 = sourceSignature.declaration) == null ? void 0 : _b3.kind) === 173)) {\n              const constructSignatureToString = (signature) => signatureToString(\n                signature,\n                /*enclosingDeclaration*/\n                void 0,\n                262144,\n                kind\n              );\n              reportError(Diagnostics.Type_0_is_not_assignable_to_type_1, constructSignatureToString(sourceSignature), constructSignatureToString(targetSignature));\n              reportError(Diagnostics.Types_of_construct_signatures_are_incompatible);\n              return result2;\n            }\n          } else {\n            outer:\n              for (const t of targetSignatures) {\n                const saveErrorInfo = captureErrorCalculationState();\n                let shouldElaborateErrors = reportErrors2;\n                for (const s of sourceSignatures) {\n                  const related = signatureRelatedTo(\n                    s,\n                    t,\n                    /*erase*/\n                    true,\n                    shouldElaborateErrors,\n                    intersectionState,\n                    incompatibleReporter(s, t)\n                  );\n                  if (related) {\n                    result2 &= related;\n                    resetErrorInfo(saveErrorInfo);\n                    continue outer;\n                  }\n                  shouldElaborateErrors = false;\n                }\n                if (shouldElaborateErrors) {\n                  reportError(\n                    Diagnostics.Type_0_provides_no_match_for_the_signature_1,\n                    typeToString(source2),\n                    signatureToString(\n                      t,\n                      /*enclosingDeclaration*/\n                      void 0,\n                      /*flags*/\n                      void 0,\n                      kind\n                    )\n                  );\n                }\n                return 0;\n              }\n          }\n          return result2;\n        }\n        function shouldReportUnmatchedPropertyError(source2, target2) {\n          const typeCallSignatures = getSignaturesOfStructuredType(\n            source2,\n            0\n            /* Call */\n          );\n          const typeConstructSignatures = getSignaturesOfStructuredType(\n            source2,\n            1\n            /* Construct */\n          );\n          const typeProperties = getPropertiesOfObjectType(source2);\n          if ((typeCallSignatures.length || typeConstructSignatures.length) && !typeProperties.length) {\n            if (getSignaturesOfType(\n              target2,\n              0\n              /* Call */\n            ).length && typeCallSignatures.length || getSignaturesOfType(\n              target2,\n              1\n              /* Construct */\n            ).length && typeConstructSignatures.length) {\n              return true;\n            }\n            return false;\n          }\n          return true;\n        }\n        function reportIncompatibleCallSignatureReturn(siga, sigb) {\n          if (siga.parameters.length === 0 && sigb.parameters.length === 0) {\n            return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2));\n          }\n          return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2));\n        }\n        function reportIncompatibleConstructSignatureReturn(siga, sigb) {\n          if (siga.parameters.length === 0 && sigb.parameters.length === 0) {\n            return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2));\n          }\n          return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2));\n        }\n        function signatureRelatedTo(source2, target2, erase, reportErrors2, intersectionState, incompatibleReporter) {\n          const checkMode = relation === subtypeRelation ? 16 : relation === strictSubtypeRelation ? 16 | 8 : 0;\n          return compareSignaturesRelated(\n            erase ? getErasedSignature(source2) : source2,\n            erase ? getErasedSignature(target2) : target2,\n            checkMode,\n            reportErrors2,\n            reportError,\n            incompatibleReporter,\n            isRelatedToWorker2,\n            reportUnreliableMapper\n          );\n          function isRelatedToWorker2(source3, target3, reportErrors3) {\n            return isRelatedTo(\n              source3,\n              target3,\n              3,\n              reportErrors3,\n              /*headMessage*/\n              void 0,\n              intersectionState\n            );\n          }\n        }\n        function signaturesIdenticalTo(source2, target2, kind) {\n          const sourceSignatures = getSignaturesOfType(source2, kind);\n          const targetSignatures = getSignaturesOfType(target2, kind);\n          if (sourceSignatures.length !== targetSignatures.length) {\n            return 0;\n          }\n          let result2 = -1;\n          for (let i = 0; i < sourceSignatures.length; i++) {\n            const related = compareSignaturesIdentical(\n              sourceSignatures[i],\n              targetSignatures[i],\n              /*partialMatch*/\n              false,\n              /*ignoreThisTypes*/\n              false,\n              /*ignoreReturnTypes*/\n              false,\n              isRelatedTo\n            );\n            if (!related) {\n              return 0;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        function membersRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) {\n          let result2 = -1;\n          const keyType = targetInfo.keyType;\n          const props = source2.flags & 2097152 ? getPropertiesOfUnionOrIntersectionType(source2) : getPropertiesOfObjectType(source2);\n          for (const prop of props) {\n            if (isIgnoredJsxProperty(source2, prop)) {\n              continue;\n            }\n            if (isApplicableIndexType(getLiteralTypeFromProperty(\n              prop,\n              8576\n              /* StringOrNumberLiteralOrUnique */\n            ), keyType)) {\n              const propType = getNonMissingTypeOfSymbol(prop);\n              const type = exactOptionalPropertyTypes || propType.flags & 32768 || keyType === numberType || !(prop.flags & 16777216) ? propType : getTypeWithFacts(\n                propType,\n                524288\n                /* NEUndefined */\n              );\n              const related = isRelatedTo(\n                type,\n                targetInfo.type,\n                3,\n                reportErrors2,\n                /*headMessage*/\n                void 0,\n                intersectionState\n              );\n              if (!related) {\n                if (reportErrors2) {\n                  reportError(Diagnostics.Property_0_is_incompatible_with_index_signature, symbolToString(prop));\n                }\n                return 0;\n              }\n              result2 &= related;\n            }\n          }\n          for (const info of getIndexInfosOfType(source2)) {\n            if (isApplicableIndexType(info.keyType, keyType)) {\n              const related = indexInfoRelatedTo(info, targetInfo, reportErrors2, intersectionState);\n              if (!related) {\n                return 0;\n              }\n              result2 &= related;\n            }\n          }\n          return result2;\n        }\n        function indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2, intersectionState) {\n          const related = isRelatedTo(\n            sourceInfo.type,\n            targetInfo.type,\n            3,\n            reportErrors2,\n            /*headMessage*/\n            void 0,\n            intersectionState\n          );\n          if (!related && reportErrors2) {\n            if (sourceInfo.keyType === targetInfo.keyType) {\n              reportError(Diagnostics._0_index_signatures_are_incompatible, typeToString(sourceInfo.keyType));\n            } else {\n              reportError(Diagnostics._0_and_1_index_signatures_are_incompatible, typeToString(sourceInfo.keyType), typeToString(targetInfo.keyType));\n            }\n          }\n          return related;\n        }\n        function indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportErrors2, intersectionState) {\n          if (relation === identityRelation) {\n            return indexSignaturesIdenticalTo(source2, target2);\n          }\n          const indexInfos = getIndexInfosOfType(target2);\n          const targetHasStringIndex = some(indexInfos, (info) => info.keyType === stringType);\n          let result2 = -1;\n          for (const targetInfo of indexInfos) {\n            const related = !sourceIsPrimitive && targetHasStringIndex && targetInfo.type.flags & 1 ? -1 : isGenericMappedType(source2) && targetHasStringIndex ? isRelatedTo(getTemplateTypeFromMappedType(source2), targetInfo.type, 3, reportErrors2) : typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState);\n            if (!related) {\n              return 0;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        function typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) {\n          const sourceInfo = getApplicableIndexInfo(source2, targetInfo.keyType);\n          if (sourceInfo) {\n            return indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2, intersectionState);\n          }\n          if (!(intersectionState & 1) && (relation !== strictSubtypeRelation || getObjectFlags(source2) & 8192) && isObjectTypeWithInferableIndex(source2)) {\n            return membersRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState);\n          }\n          if (reportErrors2) {\n            reportError(Diagnostics.Index_signature_for_type_0_is_missing_in_type_1, typeToString(targetInfo.keyType), typeToString(source2));\n          }\n          return 0;\n        }\n        function indexSignaturesIdenticalTo(source2, target2) {\n          const sourceInfos = getIndexInfosOfType(source2);\n          const targetInfos = getIndexInfosOfType(target2);\n          if (sourceInfos.length !== targetInfos.length) {\n            return 0;\n          }\n          for (const targetInfo of targetInfos) {\n            const sourceInfo = getIndexInfoOfType(source2, targetInfo.keyType);\n            if (!(sourceInfo && isRelatedTo(\n              sourceInfo.type,\n              targetInfo.type,\n              3\n              /* Both */\n            ) && sourceInfo.isReadonly === targetInfo.isReadonly)) {\n              return 0;\n            }\n          }\n          return -1;\n        }\n        function constructorVisibilitiesAreCompatible(sourceSignature, targetSignature, reportErrors2) {\n          if (!sourceSignature.declaration || !targetSignature.declaration) {\n            return true;\n          }\n          const sourceAccessibility = getSelectedEffectiveModifierFlags(\n            sourceSignature.declaration,\n            24\n            /* NonPublicAccessibilityModifier */\n          );\n          const targetAccessibility = getSelectedEffectiveModifierFlags(\n            targetSignature.declaration,\n            24\n            /* NonPublicAccessibilityModifier */\n          );\n          if (targetAccessibility === 8) {\n            return true;\n          }\n          if (targetAccessibility === 16 && sourceAccessibility !== 8) {\n            return true;\n          }\n          if (targetAccessibility !== 16 && !sourceAccessibility) {\n            return true;\n          }\n          if (reportErrors2) {\n            reportError(Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type, visibilityToString(sourceAccessibility), visibilityToString(targetAccessibility));\n          }\n          return false;\n        }\n      }\n      function typeCouldHaveTopLevelSingletonTypes(type) {\n        if (type.flags & 16) {\n          return false;\n        }\n        if (type.flags & 3145728) {\n          return !!forEach(type.types, typeCouldHaveTopLevelSingletonTypes);\n        }\n        if (type.flags & 465829888) {\n          const constraint = getConstraintOfType(type);\n          if (constraint && constraint !== type) {\n            return typeCouldHaveTopLevelSingletonTypes(constraint);\n          }\n        }\n        return isUnitType(type) || !!(type.flags & 134217728) || !!(type.flags & 268435456);\n      }\n      function getExactOptionalUnassignableProperties(source, target) {\n        if (isTupleType(source) && isTupleType(target))\n          return emptyArray;\n        return getPropertiesOfType(target).filter((targetProp) => isExactOptionalPropertyMismatch(getTypeOfPropertyOfType(source, targetProp.escapedName), getTypeOfSymbol(targetProp)));\n      }\n      function isExactOptionalPropertyMismatch(source, target) {\n        return !!source && !!target && maybeTypeOfKind(\n          source,\n          32768\n          /* Undefined */\n        ) && !!containsMissingType(target);\n      }\n      function getExactOptionalProperties(type) {\n        return getPropertiesOfType(type).filter((targetProp) => containsMissingType(getTypeOfSymbol(targetProp)));\n      }\n      function getBestMatchingType(source, target, isRelatedTo = compareTypesAssignable) {\n        return findMatchingDiscriminantType(\n          source,\n          target,\n          isRelatedTo,\n          /*skipPartial*/\n          true\n        ) || findMatchingTypeReferenceOrTypeAliasReference(source, target) || findBestTypeForObjectLiteral(source, target) || findBestTypeForInvokable(source, target) || findMostOverlappyType(source, target);\n      }\n      function discriminateTypeByDiscriminableItems(target, discriminators, related, defaultValue, skipPartial) {\n        const discriminable = target.types.map((_) => void 0);\n        for (const [getDiscriminatingType, propertyName] of discriminators) {\n          const targetProp = getUnionOrIntersectionProperty(target, propertyName);\n          if (skipPartial && targetProp && getCheckFlags(targetProp) & 16) {\n            continue;\n          }\n          let i = 0;\n          for (const type of target.types) {\n            const targetType = getTypeOfPropertyOfType(type, propertyName);\n            if (targetType && related(getDiscriminatingType(), targetType)) {\n              discriminable[i] = discriminable[i] === void 0 ? true : discriminable[i];\n            } else {\n              discriminable[i] = false;\n            }\n            i++;\n          }\n        }\n        const match = discriminable.indexOf(\n          /*searchElement*/\n          true\n        );\n        if (match === -1) {\n          return defaultValue;\n        }\n        let nextMatch = discriminable.indexOf(\n          /*searchElement*/\n          true,\n          match + 1\n        );\n        while (nextMatch !== -1) {\n          if (!isTypeIdenticalTo(target.types[match], target.types[nextMatch])) {\n            return defaultValue;\n          }\n          nextMatch = discriminable.indexOf(\n            /*searchElement*/\n            true,\n            nextMatch + 1\n          );\n        }\n        return target.types[match];\n      }\n      function isWeakType(type) {\n        if (type.flags & 524288) {\n          const resolved = resolveStructuredTypeMembers(type);\n          return resolved.callSignatures.length === 0 && resolved.constructSignatures.length === 0 && resolved.indexInfos.length === 0 && resolved.properties.length > 0 && every(resolved.properties, (p) => !!(p.flags & 16777216));\n        }\n        if (type.flags & 2097152) {\n          return every(type.types, isWeakType);\n        }\n        return false;\n      }\n      function hasCommonProperties(source, target, isComparingJsxAttributes) {\n        for (const prop of getPropertiesOfType(source)) {\n          if (isKnownProperty(target, prop.escapedName, isComparingJsxAttributes)) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function getVariances(type) {\n        return type === globalArrayType || type === globalReadonlyArrayType || type.objectFlags & 8 ? arrayVariances : getVariancesWorker(type.symbol, type.typeParameters);\n      }\n      function getAliasVariances(symbol) {\n        return getVariancesWorker(symbol, getSymbolLinks(symbol).typeParameters);\n      }\n      function getVariancesWorker(symbol, typeParameters = emptyArray) {\n        var _a22, _b3;\n        const links = getSymbolLinks(symbol);\n        if (!links.variances) {\n          (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.CheckTypes, \"getVariancesWorker\", { arity: typeParameters.length, id: getTypeId(getDeclaredTypeOfSymbol(symbol)) });\n          links.variances = emptyArray;\n          const variances = [];\n          for (const tp of typeParameters) {\n            const modifiers = getTypeParameterModifiers(tp);\n            let variance = modifiers & 65536 ? modifiers & 32768 ? 0 : 1 : modifiers & 32768 ? 2 : void 0;\n            if (variance === void 0) {\n              let unmeasurable = false;\n              let unreliable = false;\n              const oldHandler = outofbandVarianceMarkerHandler;\n              outofbandVarianceMarkerHandler = (onlyUnreliable) => onlyUnreliable ? unreliable = true : unmeasurable = true;\n              const typeWithSuper = createMarkerType(symbol, tp, markerSuperType);\n              const typeWithSub = createMarkerType(symbol, tp, markerSubType);\n              variance = (isTypeAssignableTo(typeWithSub, typeWithSuper) ? 1 : 0) | (isTypeAssignableTo(typeWithSuper, typeWithSub) ? 2 : 0);\n              if (variance === 3 && isTypeAssignableTo(createMarkerType(symbol, tp, markerOtherType), typeWithSuper)) {\n                variance = 4;\n              }\n              outofbandVarianceMarkerHandler = oldHandler;\n              if (unmeasurable || unreliable) {\n                if (unmeasurable) {\n                  variance |= 8;\n                }\n                if (unreliable) {\n                  variance |= 16;\n                }\n              }\n            }\n            variances.push(variance);\n          }\n          links.variances = variances;\n          (_b3 = tracing) == null ? void 0 : _b3.pop({ variances: variances.map(Debug2.formatVariance) });\n        }\n        return links.variances;\n      }\n      function createMarkerType(symbol, source, target) {\n        const mapper = makeUnaryTypeMapper(source, target);\n        const type = getDeclaredTypeOfSymbol(symbol);\n        if (isErrorType(type)) {\n          return type;\n        }\n        const result = symbol.flags & 524288 ? getTypeAliasInstantiation(symbol, instantiateTypes(getSymbolLinks(symbol).typeParameters, mapper)) : createTypeReference(type, instantiateTypes(type.typeParameters, mapper));\n        markerTypes.add(getTypeId(result));\n        return result;\n      }\n      function isMarkerType(type) {\n        return markerTypes.has(getTypeId(type));\n      }\n      function getTypeParameterModifiers(tp) {\n        var _a22;\n        return reduceLeft(\n          (_a22 = tp.symbol) == null ? void 0 : _a22.declarations,\n          (modifiers, d) => modifiers | getEffectiveModifierFlags(d),\n          0\n          /* None */\n        ) & (32768 | 65536 | 2048);\n      }\n      function hasCovariantVoidArgument(typeArguments, variances) {\n        for (let i = 0; i < variances.length; i++) {\n          if ((variances[i] & 7) === 1 && typeArguments[i].flags & 16384) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function isUnconstrainedTypeParameter(type) {\n        return type.flags & 262144 && !getConstraintOfTypeParameter(type);\n      }\n      function isNonDeferredTypeReference(type) {\n        return !!(getObjectFlags(type) & 4) && !type.node;\n      }\n      function isTypeReferenceWithGenericArguments(type) {\n        return isNonDeferredTypeReference(type) && some(getTypeArguments(type), (t) => !!(t.flags & 262144) || isTypeReferenceWithGenericArguments(t));\n      }\n      function getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) {\n        const typeParameters = [];\n        let constraintMarker = \"\";\n        const sourceId = getTypeReferenceId(source, 0);\n        const targetId = getTypeReferenceId(target, 0);\n        return `${constraintMarker}${sourceId},${targetId}${postFix}`;\n        function getTypeReferenceId(type, depth = 0) {\n          let result = \"\" + type.target.id;\n          for (const t of getTypeArguments(type)) {\n            if (t.flags & 262144) {\n              if (ignoreConstraints || isUnconstrainedTypeParameter(t)) {\n                let index = typeParameters.indexOf(t);\n                if (index < 0) {\n                  index = typeParameters.length;\n                  typeParameters.push(t);\n                }\n                result += \"=\" + index;\n                continue;\n              }\n              constraintMarker = \"*\";\n            } else if (depth < 4 && isTypeReferenceWithGenericArguments(t)) {\n              result += \"<\" + getTypeReferenceId(t, depth + 1) + \">\";\n              continue;\n            }\n            result += \"-\" + t.id;\n          }\n          return result;\n        }\n      }\n      function getRelationKey(source, target, intersectionState, relation, ignoreConstraints) {\n        if (relation === identityRelation && source.id > target.id) {\n          const temp = source;\n          source = target;\n          target = temp;\n        }\n        const postFix = intersectionState ? \":\" + intersectionState : \"\";\n        return isTypeReferenceWithGenericArguments(source) && isTypeReferenceWithGenericArguments(target) ? getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) : `${source.id},${target.id}${postFix}`;\n      }\n      function forEachProperty2(prop, callback) {\n        if (getCheckFlags(prop) & 6) {\n          for (const t of prop.links.containingType.types) {\n            const p = getPropertyOfType(t, prop.escapedName);\n            const result = p && forEachProperty2(p, callback);\n            if (result) {\n              return result;\n            }\n          }\n          return void 0;\n        }\n        return callback(prop);\n      }\n      function getDeclaringClass(prop) {\n        return prop.parent && prop.parent.flags & 32 ? getDeclaredTypeOfSymbol(getParentOfSymbol(prop)) : void 0;\n      }\n      function getTypeOfPropertyInBaseClass(property) {\n        const classType = getDeclaringClass(property);\n        const baseClassType = classType && getBaseTypes(classType)[0];\n        return baseClassType && getTypeOfPropertyOfType(baseClassType, property.escapedName);\n      }\n      function isPropertyInClassDerivedFrom(prop, baseClass) {\n        return forEachProperty2(prop, (sp) => {\n          const sourceClass = getDeclaringClass(sp);\n          return sourceClass ? hasBaseType(sourceClass, baseClass) : false;\n        });\n      }\n      function isValidOverrideOf(sourceProp, targetProp) {\n        return !forEachProperty2(targetProp, (tp) => getDeclarationModifierFlagsFromSymbol(tp) & 16 ? !isPropertyInClassDerivedFrom(sourceProp, getDeclaringClass(tp)) : false);\n      }\n      function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) {\n        return forEachProperty2(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 16 ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass;\n      }\n      function isDeeplyNestedType(type, stack, depth, maxDepth = 3) {\n        if (depth >= maxDepth) {\n          if (type.flags & 2097152) {\n            return some(type.types, (t) => isDeeplyNestedType(t, stack, depth, maxDepth));\n          }\n          const identity22 = getRecursionIdentity(type);\n          let count = 0;\n          let lastTypeId = 0;\n          for (let i = 0; i < depth; i++) {\n            const t = stack[i];\n            if (t.flags & 2097152 ? some(t.types, (u) => getRecursionIdentity(u) === identity22) : getRecursionIdentity(t) === identity22) {\n              if (t.id >= lastTypeId) {\n                count++;\n                if (count >= maxDepth) {\n                  return true;\n                }\n              }\n              lastTypeId = t.id;\n            }\n          }\n        }\n        return false;\n      }\n      function getRecursionIdentity(type) {\n        if (type.flags & 524288 && !isObjectOrArrayLiteralType(type)) {\n          if (getObjectFlags(type) && 4 && type.node) {\n            return type.node;\n          }\n          if (type.symbol && !(getObjectFlags(type) & 16 && type.symbol.flags & 32)) {\n            return type.symbol;\n          }\n          if (isTupleType(type)) {\n            return type.target;\n          }\n        }\n        if (type.flags & 262144) {\n          return type.symbol;\n        }\n        if (type.flags & 8388608) {\n          do {\n            type = type.objectType;\n          } while (type.flags & 8388608);\n          return type;\n        }\n        if (type.flags & 16777216) {\n          return type.root;\n        }\n        return type;\n      }\n      function isPropertyIdenticalTo(sourceProp, targetProp) {\n        return compareProperties2(sourceProp, targetProp, compareTypesIdentical) !== 0;\n      }\n      function compareProperties2(sourceProp, targetProp, compareTypes) {\n        if (sourceProp === targetProp) {\n          return -1;\n        }\n        const sourcePropAccessibility = getDeclarationModifierFlagsFromSymbol(sourceProp) & 24;\n        const targetPropAccessibility = getDeclarationModifierFlagsFromSymbol(targetProp) & 24;\n        if (sourcePropAccessibility !== targetPropAccessibility) {\n          return 0;\n        }\n        if (sourcePropAccessibility) {\n          if (getTargetSymbol(sourceProp) !== getTargetSymbol(targetProp)) {\n            return 0;\n          }\n        } else {\n          if ((sourceProp.flags & 16777216) !== (targetProp.flags & 16777216)) {\n            return 0;\n          }\n        }\n        if (isReadonlySymbol(sourceProp) !== isReadonlySymbol(targetProp)) {\n          return 0;\n        }\n        return compareTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp));\n      }\n      function isMatchingSignature(source, target, partialMatch) {\n        const sourceParameterCount = getParameterCount(source);\n        const targetParameterCount = getParameterCount(target);\n        const sourceMinArgumentCount = getMinArgumentCount(source);\n        const targetMinArgumentCount = getMinArgumentCount(target);\n        const sourceHasRestParameter = hasEffectiveRestParameter(source);\n        const targetHasRestParameter = hasEffectiveRestParameter(target);\n        if (sourceParameterCount === targetParameterCount && sourceMinArgumentCount === targetMinArgumentCount && sourceHasRestParameter === targetHasRestParameter) {\n          return true;\n        }\n        if (partialMatch && sourceMinArgumentCount <= targetMinArgumentCount) {\n          return true;\n        }\n        return false;\n      }\n      function compareSignaturesIdentical(source, target, partialMatch, ignoreThisTypes, ignoreReturnTypes, compareTypes) {\n        if (source === target) {\n          return -1;\n        }\n        if (!isMatchingSignature(source, target, partialMatch)) {\n          return 0;\n        }\n        if (length(source.typeParameters) !== length(target.typeParameters)) {\n          return 0;\n        }\n        if (target.typeParameters) {\n          const mapper = createTypeMapper(source.typeParameters, target.typeParameters);\n          for (let i = 0; i < target.typeParameters.length; i++) {\n            const s = source.typeParameters[i];\n            const t = target.typeParameters[i];\n            if (!(s === t || compareTypes(instantiateType(getConstraintFromTypeParameter(s), mapper) || unknownType, getConstraintFromTypeParameter(t) || unknownType) && compareTypes(instantiateType(getDefaultFromTypeParameter(s), mapper) || unknownType, getDefaultFromTypeParameter(t) || unknownType))) {\n              return 0;\n            }\n          }\n          source = instantiateSignature(\n            source,\n            mapper,\n            /*eraseTypeParameters*/\n            true\n          );\n        }\n        let result = -1;\n        if (!ignoreThisTypes) {\n          const sourceThisType = getThisTypeOfSignature(source);\n          if (sourceThisType) {\n            const targetThisType = getThisTypeOfSignature(target);\n            if (targetThisType) {\n              const related = compareTypes(sourceThisType, targetThisType);\n              if (!related) {\n                return 0;\n              }\n              result &= related;\n            }\n          }\n        }\n        const targetLen = getParameterCount(target);\n        for (let i = 0; i < targetLen; i++) {\n          const s = getTypeAtPosition(source, i);\n          const t = getTypeAtPosition(target, i);\n          const related = compareTypes(t, s);\n          if (!related) {\n            return 0;\n          }\n          result &= related;\n        }\n        if (!ignoreReturnTypes) {\n          const sourceTypePredicate = getTypePredicateOfSignature(source);\n          const targetTypePredicate = getTypePredicateOfSignature(target);\n          result &= sourceTypePredicate || targetTypePredicate ? compareTypePredicatesIdentical(sourceTypePredicate, targetTypePredicate, compareTypes) : compareTypes(getReturnTypeOfSignature(source), getReturnTypeOfSignature(target));\n        }\n        return result;\n      }\n      function compareTypePredicatesIdentical(source, target, compareTypes) {\n        return !(source && target && typePredicateKindsMatch(source, target)) ? 0 : source.type === target.type ? -1 : source.type && target.type ? compareTypes(source.type, target.type) : 0;\n      }\n      function literalTypesWithSameBaseType(types) {\n        let commonBaseType;\n        for (const t of types) {\n          if (!(t.flags & 131072)) {\n            const baseType = getBaseTypeOfLiteralType(t);\n            commonBaseType != null ? commonBaseType : commonBaseType = baseType;\n            if (baseType === t || baseType !== commonBaseType) {\n              return false;\n            }\n          }\n        }\n        return true;\n      }\n      function getCombinedTypeFlags(types) {\n        return reduceLeft(types, (flags, t) => flags | (t.flags & 1048576 ? getCombinedTypeFlags(t.types) : t.flags), 0);\n      }\n      function getCommonSupertype(types) {\n        if (types.length === 1) {\n          return types[0];\n        }\n        const primaryTypes = strictNullChecks ? sameMap(types, (t) => filterType(t, (u) => !(u.flags & 98304))) : types;\n        const superTypeOrUnion = literalTypesWithSameBaseType(primaryTypes) ? getUnionType(primaryTypes) : reduceLeft(primaryTypes, (s, t) => isTypeSubtypeOf(s, t) ? t : s);\n        return primaryTypes === types ? superTypeOrUnion : getNullableType(\n          superTypeOrUnion,\n          getCombinedTypeFlags(types) & 98304\n          /* Nullable */\n        );\n      }\n      function getCommonSubtype(types) {\n        return reduceLeft(types, (s, t) => isTypeSubtypeOf(t, s) ? t : s);\n      }\n      function isArrayType(type) {\n        return !!(getObjectFlags(type) & 4) && (type.target === globalArrayType || type.target === globalReadonlyArrayType);\n      }\n      function isReadonlyArrayType(type) {\n        return !!(getObjectFlags(type) & 4) && type.target === globalReadonlyArrayType;\n      }\n      function isArrayOrTupleType(type) {\n        return isArrayType(type) || isTupleType(type);\n      }\n      function isMutableArrayOrTuple(type) {\n        return isArrayType(type) && !isReadonlyArrayType(type) || isTupleType(type) && !type.target.readonly;\n      }\n      function getElementTypeOfArrayType(type) {\n        return isArrayType(type) ? getTypeArguments(type)[0] : void 0;\n      }\n      function isArrayLikeType(type) {\n        return isArrayType(type) || !(type.flags & 98304) && isTypeAssignableTo(type, anyReadonlyArrayType);\n      }\n      function getSingleBaseForNonAugmentingSubtype(type) {\n        if (!(getObjectFlags(type) & 4) || !(getObjectFlags(type.target) & 3)) {\n          return void 0;\n        }\n        if (getObjectFlags(type) & 33554432) {\n          return getObjectFlags(type) & 67108864 ? type.cachedEquivalentBaseType : void 0;\n        }\n        type.objectFlags |= 33554432;\n        const target = type.target;\n        if (getObjectFlags(target) & 1) {\n          const baseTypeNode = getBaseTypeNodeOfClass(target);\n          if (baseTypeNode && baseTypeNode.expression.kind !== 79 && baseTypeNode.expression.kind !== 208) {\n            return void 0;\n          }\n        }\n        const bases = getBaseTypes(target);\n        if (bases.length !== 1) {\n          return void 0;\n        }\n        if (getMembersOfSymbol(type.symbol).size) {\n          return void 0;\n        }\n        let instantiatedBase = !length(target.typeParameters) ? bases[0] : instantiateType(bases[0], createTypeMapper(target.typeParameters, getTypeArguments(type).slice(0, target.typeParameters.length)));\n        if (length(getTypeArguments(type)) > length(target.typeParameters)) {\n          instantiatedBase = getTypeWithThisArgument(instantiatedBase, last(getTypeArguments(type)));\n        }\n        type.objectFlags |= 67108864;\n        return type.cachedEquivalentBaseType = instantiatedBase;\n      }\n      function isEmptyLiteralType(type) {\n        return strictNullChecks ? type === implicitNeverType : type === undefinedWideningType;\n      }\n      function isEmptyArrayLiteralType(type) {\n        const elementType = getElementTypeOfArrayType(type);\n        return !!elementType && isEmptyLiteralType(elementType);\n      }\n      function isTupleLikeType(type) {\n        return isTupleType(type) || !!getPropertyOfType(type, \"0\");\n      }\n      function isArrayOrTupleLikeType(type) {\n        return isArrayLikeType(type) || isTupleLikeType(type);\n      }\n      function getTupleElementType(type, index) {\n        const propType = getTypeOfPropertyOfType(type, \"\" + index);\n        if (propType) {\n          return propType;\n        }\n        if (everyType(type, isTupleType)) {\n          return mapType(type, (t) => {\n            const tupleType = t;\n            const restType = getRestTypeOfTupleType(tupleType);\n            if (!restType) {\n              return undefinedType;\n            }\n            if (compilerOptions.noUncheckedIndexedAccess && index >= tupleType.target.fixedLength + getEndElementCount(\n              tupleType.target,\n              3\n              /* Fixed */\n            )) {\n              return getUnionType([restType, undefinedType]);\n            }\n            return restType;\n          });\n        }\n        return void 0;\n      }\n      function isNeitherUnitTypeNorNever(type) {\n        return !(type.flags & (109472 | 131072));\n      }\n      function isUnitType(type) {\n        return !!(type.flags & 109472);\n      }\n      function isUnitLikeType(type) {\n        const t = getBaseConstraintOrType(type);\n        return t.flags & 2097152 ? some(t.types, isUnitType) : isUnitType(t);\n      }\n      function extractUnitType(type) {\n        return type.flags & 2097152 ? find(type.types, isUnitType) || type : type;\n      }\n      function isLiteralType(type) {\n        return type.flags & 16 ? true : type.flags & 1048576 ? type.flags & 1024 ? true : every(type.types, isUnitType) : isUnitType(type);\n      }\n      function getBaseTypeOfLiteralType(type) {\n        return type.flags & 1056 ? getBaseTypeOfEnumLikeType(type) : type.flags & (128 | 134217728 | 268435456) ? stringType : type.flags & 256 ? numberType : type.flags & 2048 ? bigintType : type.flags & 512 ? booleanType : type.flags & 1048576 ? getBaseTypeOfLiteralTypeUnion(type) : type;\n      }\n      function getBaseTypeOfLiteralTypeUnion(type) {\n        var _a22;\n        const key = `B${getTypeId(type)}`;\n        return (_a22 = getCachedType(key)) != null ? _a22 : setCachedType(key, mapType(type, getBaseTypeOfLiteralType));\n      }\n      function getBaseTypeOfLiteralTypeForComparison(type) {\n        return type.flags & (128 | 134217728 | 268435456) ? stringType : type.flags & (256 | 32) ? numberType : type.flags & 2048 ? bigintType : type.flags & 512 ? booleanType : type.flags & 1048576 ? mapType(type, getBaseTypeOfLiteralTypeForComparison) : type;\n      }\n      function getWidenedLiteralType(type) {\n        return type.flags & 1056 && isFreshLiteralType(type) ? getBaseTypeOfEnumLikeType(type) : type.flags & 128 && isFreshLiteralType(type) ? stringType : type.flags & 256 && isFreshLiteralType(type) ? numberType : type.flags & 2048 && isFreshLiteralType(type) ? bigintType : type.flags & 512 && isFreshLiteralType(type) ? booleanType : type.flags & 1048576 ? mapType(type, getWidenedLiteralType) : type;\n      }\n      function getWidenedUniqueESSymbolType(type) {\n        return type.flags & 8192 ? esSymbolType : type.flags & 1048576 ? mapType(type, getWidenedUniqueESSymbolType) : type;\n      }\n      function getWidenedLiteralLikeTypeForContextualType(type, contextualType) {\n        if (!isLiteralOfContextualType(type, contextualType)) {\n          type = getWidenedUniqueESSymbolType(getWidenedLiteralType(type));\n        }\n        return getRegularTypeOfLiteralType(type);\n      }\n      function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(type, contextualSignatureReturnType, isAsync) {\n        if (type && isUnitType(type)) {\n          const contextualType = !contextualSignatureReturnType ? void 0 : isAsync ? getPromisedTypeOfPromise(contextualSignatureReturnType) : contextualSignatureReturnType;\n          type = getWidenedLiteralLikeTypeForContextualType(type, contextualType);\n        }\n        return type;\n      }\n      function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(type, contextualSignatureReturnType, kind, isAsyncGenerator) {\n        if (type && isUnitType(type)) {\n          const contextualType = !contextualSignatureReturnType ? void 0 : getIterationTypeOfGeneratorFunctionReturnType(kind, contextualSignatureReturnType, isAsyncGenerator);\n          type = getWidenedLiteralLikeTypeForContextualType(type, contextualType);\n        }\n        return type;\n      }\n      function isTupleType(type) {\n        return !!(getObjectFlags(type) & 4 && type.target.objectFlags & 8);\n      }\n      function isGenericTupleType(type) {\n        return isTupleType(type) && !!(type.target.combinedFlags & 8);\n      }\n      function isSingleElementGenericTupleType(type) {\n        return isGenericTupleType(type) && type.target.elementFlags.length === 1;\n      }\n      function getRestTypeOfTupleType(type) {\n        return getElementTypeOfSliceOfTupleType(type, type.target.fixedLength);\n      }\n      function getRestArrayTypeOfTupleType(type) {\n        const restType = getRestTypeOfTupleType(type);\n        return restType && createArrayType(restType);\n      }\n      function getElementTypeOfSliceOfTupleType(type, index, endSkipCount = 0, writing = false, noReductions = false) {\n        const length2 = getTypeReferenceArity(type) - endSkipCount;\n        if (index < length2) {\n          const typeArguments = getTypeArguments(type);\n          const elementTypes = [];\n          for (let i = index; i < length2; i++) {\n            const t = typeArguments[i];\n            elementTypes.push(type.target.elementFlags[i] & 8 ? getIndexedAccessType(t, numberType) : t);\n          }\n          return writing ? getIntersectionType(elementTypes) : getUnionType(\n            elementTypes,\n            noReductions ? 0 : 1\n            /* Literal */\n          );\n        }\n        return void 0;\n      }\n      function isTupleTypeStructureMatching(t1, t2) {\n        return getTypeReferenceArity(t1) === getTypeReferenceArity(t2) && every(t1.target.elementFlags, (f, i) => (f & 12) === (t2.target.elementFlags[i] & 12));\n      }\n      function isZeroBigInt({ value }) {\n        return value.base10Value === \"0\";\n      }\n      function removeDefinitelyFalsyTypes(type) {\n        return filterType(type, (t) => !!(getTypeFacts(t) & 4194304));\n      }\n      function extractDefinitelyFalsyTypes(type) {\n        return mapType(type, getDefinitelyFalsyPartOfType);\n      }\n      function getDefinitelyFalsyPartOfType(type) {\n        return type.flags & 4 ? emptyStringType : type.flags & 8 ? zeroType : type.flags & 64 ? zeroBigIntType : type === regularFalseType || type === falseType || type.flags & (16384 | 32768 | 65536 | 3) || type.flags & 128 && type.value === \"\" || type.flags & 256 && type.value === 0 || type.flags & 2048 && isZeroBigInt(type) ? type : neverType;\n      }\n      function getNullableType(type, flags) {\n        const missing = flags & ~type.flags & (32768 | 65536);\n        return missing === 0 ? type : missing === 32768 ? getUnionType([type, undefinedType]) : missing === 65536 ? getUnionType([type, nullType]) : getUnionType([type, undefinedType, nullType]);\n      }\n      function getOptionalType(type, isProperty = false) {\n        Debug2.assert(strictNullChecks);\n        const missingOrUndefined = isProperty ? undefinedOrMissingType : undefinedType;\n        return type === missingOrUndefined || type.flags & 1048576 && type.types[0] === missingOrUndefined ? type : getUnionType([type, missingOrUndefined]);\n      }\n      function getGlobalNonNullableTypeInstantiation(type) {\n        if (!deferredGlobalNonNullableTypeAlias) {\n          deferredGlobalNonNullableTypeAlias = getGlobalSymbol(\n            \"NonNullable\",\n            524288,\n            /*diagnostic*/\n            void 0\n          ) || unknownSymbol;\n        }\n        return deferredGlobalNonNullableTypeAlias !== unknownSymbol ? getTypeAliasInstantiation(deferredGlobalNonNullableTypeAlias, [type]) : getIntersectionType([type, emptyObjectType]);\n      }\n      function getNonNullableType(type) {\n        return strictNullChecks ? getAdjustedTypeWithFacts(\n          type,\n          2097152\n          /* NEUndefinedOrNull */\n        ) : type;\n      }\n      function addOptionalTypeMarker(type) {\n        return strictNullChecks ? getUnionType([type, optionalType]) : type;\n      }\n      function removeOptionalTypeMarker(type) {\n        return strictNullChecks ? removeType(type, optionalType) : type;\n      }\n      function propagateOptionalTypeMarker(type, node, wasOptional) {\n        return wasOptional ? isOutermostOptionalChain(node) ? getOptionalType(type) : addOptionalTypeMarker(type) : type;\n      }\n      function getOptionalExpressionType(exprType, expression) {\n        return isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) : isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) : exprType;\n      }\n      function removeMissingType(type, isOptional) {\n        return exactOptionalPropertyTypes && isOptional ? removeType(type, missingType) : type;\n      }\n      function containsMissingType(type) {\n        return type === missingType || !!(type.flags & 1048576) && type.types[0] === missingType;\n      }\n      function removeMissingOrUndefinedType(type) {\n        return exactOptionalPropertyTypes ? removeType(type, missingType) : getTypeWithFacts(\n          type,\n          524288\n          /* NEUndefined */\n        );\n      }\n      function isCoercibleUnderDoubleEquals(source, target) {\n        return (source.flags & (8 | 4 | 512)) !== 0 && (target.flags & (8 | 4 | 16)) !== 0;\n      }\n      function isObjectTypeWithInferableIndex(type) {\n        const objectFlags = getObjectFlags(type);\n        return type.flags & 2097152 ? every(type.types, isObjectTypeWithInferableIndex) : !!(type.symbol && (type.symbol.flags & (4096 | 2048 | 384 | 512)) !== 0 && !(type.symbol.flags & 32) && !typeHasCallOrConstructSignatures(type)) || !!(objectFlags & 4194304) || !!(objectFlags & 1024 && isObjectTypeWithInferableIndex(type.source));\n      }\n      function createSymbolWithType(source, type) {\n        const symbol = createSymbol(\n          source.flags,\n          source.escapedName,\n          getCheckFlags(source) & 8\n          /* Readonly */\n        );\n        symbol.declarations = source.declarations;\n        symbol.parent = source.parent;\n        symbol.links.type = type;\n        symbol.links.target = source;\n        if (source.valueDeclaration) {\n          symbol.valueDeclaration = source.valueDeclaration;\n        }\n        const nameType = getSymbolLinks(source).nameType;\n        if (nameType) {\n          symbol.links.nameType = nameType;\n        }\n        return symbol;\n      }\n      function transformTypeOfMembers(type, f) {\n        const members = createSymbolTable();\n        for (const property of getPropertiesOfObjectType(type)) {\n          const original = getTypeOfSymbol(property);\n          const updated = f(original);\n          members.set(property.escapedName, updated === original ? property : createSymbolWithType(property, updated));\n        }\n        return members;\n      }\n      function getRegularTypeOfObjectLiteral(type) {\n        if (!(isObjectLiteralType2(type) && getObjectFlags(type) & 8192)) {\n          return type;\n        }\n        const regularType = type.regularType;\n        if (regularType) {\n          return regularType;\n        }\n        const resolved = type;\n        const members = transformTypeOfMembers(type, getRegularTypeOfObjectLiteral);\n        const regularNew = createAnonymousType(resolved.symbol, members, resolved.callSignatures, resolved.constructSignatures, resolved.indexInfos);\n        regularNew.flags = resolved.flags;\n        regularNew.objectFlags |= resolved.objectFlags & ~8192;\n        type.regularType = regularNew;\n        return regularNew;\n      }\n      function createWideningContext(parent2, propertyName, siblings) {\n        return { parent: parent2, propertyName, siblings, resolvedProperties: void 0 };\n      }\n      function getSiblingsOfContext(context) {\n        if (!context.siblings) {\n          const siblings = [];\n          for (const type of getSiblingsOfContext(context.parent)) {\n            if (isObjectLiteralType2(type)) {\n              const prop = getPropertyOfObjectType(type, context.propertyName);\n              if (prop) {\n                forEachType(getTypeOfSymbol(prop), (t) => {\n                  siblings.push(t);\n                });\n              }\n            }\n          }\n          context.siblings = siblings;\n        }\n        return context.siblings;\n      }\n      function getPropertiesOfContext(context) {\n        if (!context.resolvedProperties) {\n          const names = /* @__PURE__ */ new Map();\n          for (const t of getSiblingsOfContext(context)) {\n            if (isObjectLiteralType2(t) && !(getObjectFlags(t) & 2097152)) {\n              for (const prop of getPropertiesOfType(t)) {\n                names.set(prop.escapedName, prop);\n              }\n            }\n          }\n          context.resolvedProperties = arrayFrom(names.values());\n        }\n        return context.resolvedProperties;\n      }\n      function getWidenedProperty(prop, context) {\n        if (!(prop.flags & 4)) {\n          return prop;\n        }\n        const original = getTypeOfSymbol(prop);\n        const propContext = context && createWideningContext(\n          context,\n          prop.escapedName,\n          /*siblings*/\n          void 0\n        );\n        const widened = getWidenedTypeWithContext(original, propContext);\n        return widened === original ? prop : createSymbolWithType(prop, widened);\n      }\n      function getUndefinedProperty(prop) {\n        const cached = undefinedProperties.get(prop.escapedName);\n        if (cached) {\n          return cached;\n        }\n        const result = createSymbolWithType(prop, undefinedOrMissingType);\n        result.flags |= 16777216;\n        undefinedProperties.set(prop.escapedName, result);\n        return result;\n      }\n      function getWidenedTypeOfObjectLiteral(type, context) {\n        const members = createSymbolTable();\n        for (const prop of getPropertiesOfObjectType(type)) {\n          members.set(prop.escapedName, getWidenedProperty(prop, context));\n        }\n        if (context) {\n          for (const prop of getPropertiesOfContext(context)) {\n            if (!members.has(prop.escapedName)) {\n              members.set(prop.escapedName, getUndefinedProperty(prop));\n            }\n          }\n        }\n        const result = createAnonymousType(\n          type.symbol,\n          members,\n          emptyArray,\n          emptyArray,\n          sameMap(getIndexInfosOfType(type), (info) => createIndexInfo(info.keyType, getWidenedType(info.type), info.isReadonly))\n        );\n        result.objectFlags |= getObjectFlags(type) & (4096 | 262144);\n        return result;\n      }\n      function getWidenedType(type) {\n        return getWidenedTypeWithContext(\n          type,\n          /*context*/\n          void 0\n        );\n      }\n      function getWidenedTypeWithContext(type, context) {\n        if (getObjectFlags(type) & 196608) {\n          if (context === void 0 && type.widened) {\n            return type.widened;\n          }\n          let result;\n          if (type.flags & (1 | 98304)) {\n            result = anyType;\n          } else if (isObjectLiteralType2(type)) {\n            result = getWidenedTypeOfObjectLiteral(type, context);\n          } else if (type.flags & 1048576) {\n            const unionContext = context || createWideningContext(\n              /*parent*/\n              void 0,\n              /*propertyName*/\n              void 0,\n              type.types\n            );\n            const widenedTypes = sameMap(type.types, (t) => t.flags & 98304 ? t : getWidenedTypeWithContext(t, unionContext));\n            result = getUnionType(\n              widenedTypes,\n              some(widenedTypes, isEmptyObjectType) ? 2 : 1\n              /* Literal */\n            );\n          } else if (type.flags & 2097152) {\n            result = getIntersectionType(sameMap(type.types, getWidenedType));\n          } else if (isArrayOrTupleType(type)) {\n            result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType));\n          }\n          if (result && context === void 0) {\n            type.widened = result;\n          }\n          return result || type;\n        }\n        return type;\n      }\n      function reportWideningErrorsInType(type) {\n        let errorReported = false;\n        if (getObjectFlags(type) & 65536) {\n          if (type.flags & 1048576) {\n            if (some(type.types, isEmptyObjectType)) {\n              errorReported = true;\n            } else {\n              for (const t of type.types) {\n                if (reportWideningErrorsInType(t)) {\n                  errorReported = true;\n                }\n              }\n            }\n          }\n          if (isArrayOrTupleType(type)) {\n            for (const t of getTypeArguments(type)) {\n              if (reportWideningErrorsInType(t)) {\n                errorReported = true;\n              }\n            }\n          }\n          if (isObjectLiteralType2(type)) {\n            for (const p of getPropertiesOfObjectType(type)) {\n              const t = getTypeOfSymbol(p);\n              if (getObjectFlags(t) & 65536) {\n                if (!reportWideningErrorsInType(t)) {\n                  error(p.valueDeclaration, Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type, symbolToString(p), typeToString(getWidenedType(t)));\n                }\n                errorReported = true;\n              }\n            }\n          }\n        }\n        return errorReported;\n      }\n      function reportImplicitAny(declaration, type, wideningKind) {\n        const typeAsString = typeToString(getWidenedType(type));\n        if (isInJSFile(declaration) && !isCheckJsEnabledForFile(getSourceFileOfNode(declaration), compilerOptions)) {\n          return;\n        }\n        let diagnostic;\n        switch (declaration.kind) {\n          case 223:\n          case 169:\n          case 168:\n            diagnostic = noImplicitAny ? Diagnostics.Member_0_implicitly_has_an_1_type : Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;\n            break;\n          case 166:\n            const param = declaration;\n            if (isIdentifier(param.name)) {\n              const originalKeywordKind = identifierToKeywordKind(param.name);\n              if ((isCallSignatureDeclaration(param.parent) || isMethodSignature(param.parent) || isFunctionTypeNode(param.parent)) && param.parent.parameters.indexOf(param) > -1 && (resolveName(\n                param,\n                param.name.escapedText,\n                788968,\n                void 0,\n                param.name.escapedText,\n                /*isUse*/\n                true\n              ) || originalKeywordKind && isTypeNodeKind(originalKeywordKind))) {\n                const newName = \"arg\" + param.parent.parameters.indexOf(param);\n                const typeName = declarationNameToString(param.name) + (param.dotDotDotToken ? \"[]\" : \"\");\n                errorOrSuggestion(noImplicitAny, declaration, Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1, newName, typeName);\n                return;\n              }\n            }\n            diagnostic = declaration.dotDotDotToken ? noImplicitAny ? Diagnostics.Rest_parameter_0_implicitly_has_an_any_type : Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage : noImplicitAny ? Diagnostics.Parameter_0_implicitly_has_an_1_type : Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;\n            break;\n          case 205:\n            diagnostic = Diagnostics.Binding_element_0_implicitly_has_an_1_type;\n            if (!noImplicitAny) {\n              return;\n            }\n            break;\n          case 320:\n            error(declaration, Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString);\n            return;\n          case 326:\n            if (noImplicitAny && isJSDocOverloadTag(declaration.parent)) {\n              error(declaration.parent.tagName, Diagnostics.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation, typeAsString);\n            }\n            return;\n          case 259:\n          case 171:\n          case 170:\n          case 174:\n          case 175:\n          case 215:\n          case 216:\n            if (noImplicitAny && !declaration.name) {\n              if (wideningKind === 3) {\n                error(declaration, Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation, typeAsString);\n              } else {\n                error(declaration, Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString);\n              }\n              return;\n            }\n            diagnostic = !noImplicitAny ? Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage : wideningKind === 3 ? Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type : Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;\n            break;\n          case 197:\n            if (noImplicitAny) {\n              error(declaration, Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);\n            }\n            return;\n          default:\n            diagnostic = noImplicitAny ? Diagnostics.Variable_0_implicitly_has_an_1_type : Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;\n        }\n        errorOrSuggestion(noImplicitAny, declaration, diagnostic, declarationNameToString(getNameOfDeclaration(declaration)), typeAsString);\n      }\n      function reportErrorsFromWidening(declaration, type, wideningKind) {\n        addLazyDiagnostic(() => {\n          if (noImplicitAny && getObjectFlags(type) & 65536 && (!wideningKind || !getContextualSignatureForFunctionLikeDeclaration(declaration))) {\n            if (!reportWideningErrorsInType(type)) {\n              reportImplicitAny(declaration, type, wideningKind);\n            }\n          }\n        });\n      }\n      function applyToParameterTypes(source, target, callback) {\n        const sourceCount = getParameterCount(source);\n        const targetCount = getParameterCount(target);\n        const sourceRestType = getEffectiveRestType(source);\n        const targetRestType = getEffectiveRestType(target);\n        const targetNonRestCount = targetRestType ? targetCount - 1 : targetCount;\n        const paramCount = sourceRestType ? targetNonRestCount : Math.min(sourceCount, targetNonRestCount);\n        const sourceThisType = getThisTypeOfSignature(source);\n        if (sourceThisType) {\n          const targetThisType = getThisTypeOfSignature(target);\n          if (targetThisType) {\n            callback(sourceThisType, targetThisType);\n          }\n        }\n        for (let i = 0; i < paramCount; i++) {\n          callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i));\n        }\n        if (targetRestType) {\n          callback(getRestTypeAtPosition(source, paramCount), targetRestType);\n        }\n      }\n      function applyToReturnTypes(source, target, callback) {\n        const sourceTypePredicate = getTypePredicateOfSignature(source);\n        const targetTypePredicate = getTypePredicateOfSignature(target);\n        if (sourceTypePredicate && targetTypePredicate && typePredicateKindsMatch(sourceTypePredicate, targetTypePredicate) && sourceTypePredicate.type && targetTypePredicate.type) {\n          callback(sourceTypePredicate.type, targetTypePredicate.type);\n        } else {\n          callback(getReturnTypeOfSignature(source), getReturnTypeOfSignature(target));\n        }\n      }\n      function createInferenceContext(typeParameters, signature, flags, compareTypes) {\n        return createInferenceContextWorker(typeParameters.map(createInferenceInfo), signature, flags, compareTypes || compareTypesAssignable);\n      }\n      function cloneInferenceContext(context, extraFlags = 0) {\n        return context && createInferenceContextWorker(map(context.inferences, cloneInferenceInfo), context.signature, context.flags | extraFlags, context.compareTypes);\n      }\n      function createInferenceContextWorker(inferences, signature, flags, compareTypes) {\n        const context = {\n          inferences,\n          signature,\n          flags,\n          compareTypes,\n          mapper: reportUnmeasurableMapper,\n          // initialize to a noop mapper so the context object is available, but the underlying object shape is right upon construction\n          nonFixingMapper: reportUnmeasurableMapper\n        };\n        context.mapper = makeFixingMapperForContext(context);\n        context.nonFixingMapper = makeNonFixingMapperForContext(context);\n        return context;\n      }\n      function makeFixingMapperForContext(context) {\n        return makeDeferredTypeMapper(map(context.inferences, (i) => i.typeParameter), map(context.inferences, (inference, i) => () => {\n          if (!inference.isFixed) {\n            inferFromIntraExpressionSites(context);\n            clearCachedInferences(context.inferences);\n            inference.isFixed = true;\n          }\n          return getInferredType(context, i);\n        }));\n      }\n      function makeNonFixingMapperForContext(context) {\n        return makeDeferredTypeMapper(map(context.inferences, (i) => i.typeParameter), map(context.inferences, (_, i) => () => {\n          return getInferredType(context, i);\n        }));\n      }\n      function clearCachedInferences(inferences) {\n        for (const inference of inferences) {\n          if (!inference.isFixed) {\n            inference.inferredType = void 0;\n          }\n        }\n      }\n      function addIntraExpressionInferenceSite(context, node, type) {\n        var _a22;\n        ((_a22 = context.intraExpressionInferenceSites) != null ? _a22 : context.intraExpressionInferenceSites = []).push({ node, type });\n      }\n      function inferFromIntraExpressionSites(context) {\n        if (context.intraExpressionInferenceSites) {\n          for (const { node, type } of context.intraExpressionInferenceSites) {\n            const contextualType = node.kind === 171 ? getContextualTypeForObjectLiteralMethod(\n              node,\n              2\n              /* NoConstraints */\n            ) : getContextualType2(\n              node,\n              2\n              /* NoConstraints */\n            );\n            if (contextualType) {\n              inferTypes(context.inferences, type, contextualType);\n            }\n          }\n          context.intraExpressionInferenceSites = void 0;\n        }\n      }\n      function createInferenceInfo(typeParameter) {\n        return {\n          typeParameter,\n          candidates: void 0,\n          contraCandidates: void 0,\n          inferredType: void 0,\n          priority: void 0,\n          topLevel: true,\n          isFixed: false,\n          impliedArity: void 0\n        };\n      }\n      function cloneInferenceInfo(inference) {\n        return {\n          typeParameter: inference.typeParameter,\n          candidates: inference.candidates && inference.candidates.slice(),\n          contraCandidates: inference.contraCandidates && inference.contraCandidates.slice(),\n          inferredType: inference.inferredType,\n          priority: inference.priority,\n          topLevel: inference.topLevel,\n          isFixed: inference.isFixed,\n          impliedArity: inference.impliedArity\n        };\n      }\n      function cloneInferredPartOfContext(context) {\n        const inferences = filter(context.inferences, hasInferenceCandidates);\n        return inferences.length ? createInferenceContextWorker(map(inferences, cloneInferenceInfo), context.signature, context.flags, context.compareTypes) : void 0;\n      }\n      function getMapperFromContext(context) {\n        return context && context.mapper;\n      }\n      function couldContainTypeVariables(type) {\n        const objectFlags = getObjectFlags(type);\n        if (objectFlags & 524288) {\n          return !!(objectFlags & 1048576);\n        }\n        const result = !!(type.flags & 465829888 || type.flags & 524288 && !isNonGenericTopLevelType(type) && (objectFlags & 4 && (type.node || forEach(getTypeArguments(type), couldContainTypeVariables)) || objectFlags & 16 && type.symbol && type.symbol.flags & (16 | 8192 | 32 | 2048 | 4096) && type.symbol.declarations || objectFlags & (32 | 1024 | 4194304 | 8388608)) || type.flags & 3145728 && !(type.flags & 1024) && !isNonGenericTopLevelType(type) && some(type.types, couldContainTypeVariables));\n        if (type.flags & 3899393) {\n          type.objectFlags |= 524288 | (result ? 1048576 : 0);\n        }\n        return result;\n      }\n      function isNonGenericTopLevelType(type) {\n        if (type.aliasSymbol && !type.aliasTypeArguments) {\n          const declaration = getDeclarationOfKind(\n            type.aliasSymbol,\n            262\n            /* TypeAliasDeclaration */\n          );\n          return !!(declaration && findAncestor(declaration.parent, (n) => n.kind === 308 ? true : n.kind === 264 ? false : \"quit\"));\n        }\n        return false;\n      }\n      function isTypeParameterAtTopLevel(type, tp, depth = 0) {\n        return !!(type === tp || type.flags & 3145728 && some(type.types, (t) => isTypeParameterAtTopLevel(t, tp, depth)) || depth < 3 && type.flags & 16777216 && (isTypeParameterAtTopLevel(getTrueTypeFromConditionalType(type), tp, depth + 1) || isTypeParameterAtTopLevel(getFalseTypeFromConditionalType(type), tp, depth + 1)));\n      }\n      function isTypeParameterAtTopLevelInReturnType(signature, typeParameter) {\n        const typePredicate = getTypePredicateOfSignature(signature);\n        return typePredicate ? !!typePredicate.type && isTypeParameterAtTopLevel(typePredicate.type, typeParameter) : isTypeParameterAtTopLevel(getReturnTypeOfSignature(signature), typeParameter);\n      }\n      function createEmptyObjectTypeFromStringLiteral(type) {\n        const members = createSymbolTable();\n        forEachType(type, (t) => {\n          if (!(t.flags & 128)) {\n            return;\n          }\n          const name = escapeLeadingUnderscores(t.value);\n          const literalProp = createSymbol(4, name);\n          literalProp.links.type = anyType;\n          if (t.symbol) {\n            literalProp.declarations = t.symbol.declarations;\n            literalProp.valueDeclaration = t.symbol.valueDeclaration;\n          }\n          members.set(name, literalProp);\n        });\n        const indexInfos = type.flags & 4 ? [createIndexInfo(\n          stringType,\n          emptyObjectType,\n          /*isReadonly*/\n          false\n        )] : emptyArray;\n        return createAnonymousType(void 0, members, emptyArray, emptyArray, indexInfos);\n      }\n      function inferTypeForHomomorphicMappedType(source, target, constraint) {\n        if (inInferTypeForHomomorphicMappedType) {\n          return void 0;\n        }\n        const key = source.id + \",\" + target.id + \",\" + constraint.id;\n        if (reverseMappedCache.has(key)) {\n          return reverseMappedCache.get(key);\n        }\n        inInferTypeForHomomorphicMappedType = true;\n        const type = createReverseMappedType(source, target, constraint);\n        inInferTypeForHomomorphicMappedType = false;\n        reverseMappedCache.set(key, type);\n        return type;\n      }\n      function isPartiallyInferableType(type) {\n        return !(getObjectFlags(type) & 262144) || isObjectLiteralType2(type) && some(getPropertiesOfType(type), (prop) => isPartiallyInferableType(getTypeOfSymbol(prop))) || isTupleType(type) && some(getTypeArguments(type), isPartiallyInferableType);\n      }\n      function createReverseMappedType(source, target, constraint) {\n        if (!(getIndexInfoOfType(source, stringType) || getPropertiesOfType(source).length !== 0 && isPartiallyInferableType(source))) {\n          return void 0;\n        }\n        if (isArrayType(source)) {\n          return createArrayType(inferReverseMappedType(getTypeArguments(source)[0], target, constraint), isReadonlyArrayType(source));\n        }\n        if (isTupleType(source)) {\n          const elementTypes = map(getTypeArguments(source), (t) => inferReverseMappedType(t, target, constraint));\n          const elementFlags = getMappedTypeModifiers(target) & 4 ? sameMap(source.target.elementFlags, (f) => f & 2 ? 1 : f) : source.target.elementFlags;\n          return createTupleType(elementTypes, elementFlags, source.target.readonly, source.target.labeledElementDeclarations);\n        }\n        const reversed = createObjectType(\n          1024 | 16,\n          /*symbol*/\n          void 0\n        );\n        reversed.source = source;\n        reversed.mappedType = target;\n        reversed.constraintType = constraint;\n        return reversed;\n      }\n      function getTypeOfReverseMappedSymbol(symbol) {\n        const links = getSymbolLinks(symbol);\n        if (!links.type) {\n          links.type = inferReverseMappedType(symbol.links.propertyType, symbol.links.mappedType, symbol.links.constraintType);\n        }\n        return links.type;\n      }\n      function inferReverseMappedType(sourceType, target, constraint) {\n        const typeParameter = getIndexedAccessType(constraint.type, getTypeParameterFromMappedType(target));\n        const templateType = getTemplateTypeFromMappedType(target);\n        const inference = createInferenceInfo(typeParameter);\n        inferTypes([inference], sourceType, templateType);\n        return getTypeFromInference(inference) || unknownType;\n      }\n      function* getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties) {\n        const properties = getPropertiesOfType(target);\n        for (const targetProp of properties) {\n          if (isStaticPrivateIdentifierProperty(targetProp)) {\n            continue;\n          }\n          if (requireOptionalProperties || !(targetProp.flags & 16777216 || getCheckFlags(targetProp) & 48)) {\n            const sourceProp = getPropertyOfType(source, targetProp.escapedName);\n            if (!sourceProp) {\n              yield targetProp;\n            } else if (matchDiscriminantProperties) {\n              const targetType = getTypeOfSymbol(targetProp);\n              if (targetType.flags & 109472) {\n                const sourceType = getTypeOfSymbol(sourceProp);\n                if (!(sourceType.flags & 1 || getRegularTypeOfLiteralType(sourceType) === getRegularTypeOfLiteralType(targetType))) {\n                  yield targetProp;\n                }\n              }\n            }\n          }\n        }\n      }\n      function getUnmatchedProperty(source, target, requireOptionalProperties, matchDiscriminantProperties) {\n        return firstOrUndefinedIterator(getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties));\n      }\n      function tupleTypesDefinitelyUnrelated(source, target) {\n        return !(target.target.combinedFlags & 8) && target.target.minLength > source.target.minLength || !target.target.hasRestElement && (source.target.hasRestElement || target.target.fixedLength < source.target.fixedLength);\n      }\n      function typesDefinitelyUnrelated(source, target) {\n        return isTupleType(source) && isTupleType(target) ? tupleTypesDefinitelyUnrelated(source, target) : !!getUnmatchedProperty(\n          source,\n          target,\n          /*requireOptionalProperties*/\n          false,\n          /*matchDiscriminantProperties*/\n          true\n        ) && !!getUnmatchedProperty(\n          target,\n          source,\n          /*requireOptionalProperties*/\n          false,\n          /*matchDiscriminantProperties*/\n          false\n        );\n      }\n      function getTypeFromInference(inference) {\n        return inference.candidates ? getUnionType(\n          inference.candidates,\n          2\n          /* Subtype */\n        ) : inference.contraCandidates ? getIntersectionType(inference.contraCandidates) : void 0;\n      }\n      function hasSkipDirectInferenceFlag(node) {\n        return !!getNodeLinks(node).skipDirectInference;\n      }\n      function isFromInferenceBlockedSource(type) {\n        return !!(type.symbol && some(type.symbol.declarations, hasSkipDirectInferenceFlag));\n      }\n      function templateLiteralTypesDefinitelyUnrelated(source, target) {\n        const sourceStart = source.texts[0];\n        const targetStart = target.texts[0];\n        const sourceEnd = source.texts[source.texts.length - 1];\n        const targetEnd = target.texts[target.texts.length - 1];\n        const startLen = Math.min(sourceStart.length, targetStart.length);\n        const endLen = Math.min(sourceEnd.length, targetEnd.length);\n        return sourceStart.slice(0, startLen) !== targetStart.slice(0, startLen) || sourceEnd.slice(sourceEnd.length - endLen) !== targetEnd.slice(targetEnd.length - endLen);\n      }\n      function isValidNumberString(s, roundTripOnly) {\n        if (s === \"\")\n          return false;\n        const n = +s;\n        return isFinite(n) && (!roundTripOnly || \"\" + n === s);\n      }\n      function parseBigIntLiteralType(text) {\n        return getBigIntLiteralType(parseValidBigInt(text));\n      }\n      function isMemberOfStringMapping(source, target) {\n        if (target.flags & 1) {\n          return true;\n        }\n        if (target.flags & (4 | 134217728)) {\n          return isTypeAssignableTo(source, target);\n        }\n        if (target.flags & 268435456) {\n          const mappingStack = [];\n          while (target.flags & 268435456) {\n            mappingStack.unshift(target.symbol);\n            target = target.type;\n          }\n          const mappedSource = reduceLeft(mappingStack, (memo, value) => getStringMappingType(value, memo), source);\n          return mappedSource === source && isMemberOfStringMapping(source, target);\n        }\n        return false;\n      }\n      function isValidTypeForTemplateLiteralPlaceholder(source, target) {\n        if (source === target || target.flags & (1 | 4)) {\n          return true;\n        }\n        if (source.flags & 128) {\n          const value = source.value;\n          return !!(target.flags & 8 && isValidNumberString(\n            value,\n            /*roundTripOnly*/\n            false\n          ) || target.flags & 64 && isValidBigIntString(\n            value,\n            /*roundTripOnly*/\n            false\n          ) || target.flags & (512 | 98304) && value === target.intrinsicName || target.flags & 268435456 && isMemberOfStringMapping(getStringLiteralType(value), target));\n        }\n        if (source.flags & 134217728) {\n          const texts = source.texts;\n          return texts.length === 2 && texts[0] === \"\" && texts[1] === \"\" && isTypeAssignableTo(source.types[0], target);\n        }\n        return isTypeAssignableTo(source, target);\n      }\n      function inferTypesFromTemplateLiteralType(source, target) {\n        return source.flags & 128 ? inferFromLiteralPartsToTemplateLiteral([source.value], emptyArray, target) : source.flags & 134217728 ? arraysEqual(source.texts, target.texts) ? map(source.types, getStringLikeTypeForType) : inferFromLiteralPartsToTemplateLiteral(source.texts, source.types, target) : void 0;\n      }\n      function isTypeMatchedByTemplateLiteralType(source, target) {\n        const inferences = inferTypesFromTemplateLiteralType(source, target);\n        return !!inferences && every(inferences, (r, i) => isValidTypeForTemplateLiteralPlaceholder(r, target.types[i]));\n      }\n      function getStringLikeTypeForType(type) {\n        return type.flags & (1 | 402653316) ? type : getTemplateLiteralType([\"\", \"\"], [type]);\n      }\n      function inferFromLiteralPartsToTemplateLiteral(sourceTexts, sourceTypes, target) {\n        const lastSourceIndex = sourceTexts.length - 1;\n        const sourceStartText = sourceTexts[0];\n        const sourceEndText = sourceTexts[lastSourceIndex];\n        const targetTexts = target.texts;\n        const lastTargetIndex = targetTexts.length - 1;\n        const targetStartText = targetTexts[0];\n        const targetEndText = targetTexts[lastTargetIndex];\n        if (lastSourceIndex === 0 && sourceStartText.length < targetStartText.length + targetEndText.length || !sourceStartText.startsWith(targetStartText) || !sourceEndText.endsWith(targetEndText))\n          return void 0;\n        const remainingEndText = sourceEndText.slice(0, sourceEndText.length - targetEndText.length);\n        const matches = [];\n        let seg = 0;\n        let pos = targetStartText.length;\n        for (let i = 1; i < lastTargetIndex; i++) {\n          const delim = targetTexts[i];\n          if (delim.length > 0) {\n            let s = seg;\n            let p = pos;\n            while (true) {\n              p = getSourceText(s).indexOf(delim, p);\n              if (p >= 0)\n                break;\n              s++;\n              if (s === sourceTexts.length)\n                return void 0;\n              p = 0;\n            }\n            addMatch(s, p);\n            pos += delim.length;\n          } else if (pos < getSourceText(seg).length) {\n            addMatch(seg, pos + 1);\n          } else if (seg < lastSourceIndex) {\n            addMatch(seg + 1, 0);\n          } else {\n            return void 0;\n          }\n        }\n        addMatch(lastSourceIndex, getSourceText(lastSourceIndex).length);\n        return matches;\n        function getSourceText(index) {\n          return index < lastSourceIndex ? sourceTexts[index] : remainingEndText;\n        }\n        function addMatch(s, p) {\n          const matchType = s === seg ? getStringLiteralType(getSourceText(s).slice(pos, p)) : getTemplateLiteralType(\n            [sourceTexts[seg].slice(pos), ...sourceTexts.slice(seg + 1, s), getSourceText(s).slice(0, p)],\n            sourceTypes.slice(seg, s)\n          );\n          matches.push(matchType);\n          seg = s;\n          pos = p;\n        }\n      }\n      function inferTypes(inferences, originalSource, originalTarget, priority = 0, contravariant = false) {\n        let bivariant = false;\n        let propagationType;\n        let inferencePriority = 2048;\n        let allowComplexConstraintInference = true;\n        let visited;\n        let sourceStack;\n        let targetStack;\n        let expandingFlags = 0;\n        inferFromTypes(originalSource, originalTarget);\n        function inferFromTypes(source, target) {\n          if (!couldContainTypeVariables(target)) {\n            return;\n          }\n          if (source === wildcardType) {\n            const savePropagationType = propagationType;\n            propagationType = source;\n            inferFromTypes(target, target);\n            propagationType = savePropagationType;\n            return;\n          }\n          if (source.aliasSymbol && source.aliasSymbol === target.aliasSymbol) {\n            if (source.aliasTypeArguments) {\n              const params = getSymbolLinks(source.aliasSymbol).typeParameters;\n              const minParams = getMinTypeArgumentCount(params);\n              const sourceTypes = fillMissingTypeArguments(source.aliasTypeArguments, params, minParams, isInJSFile(source.aliasSymbol.valueDeclaration));\n              const targetTypes = fillMissingTypeArguments(target.aliasTypeArguments, params, minParams, isInJSFile(source.aliasSymbol.valueDeclaration));\n              inferFromTypeArguments(sourceTypes, targetTypes, getAliasVariances(source.aliasSymbol));\n            }\n            return;\n          }\n          if (source === target && source.flags & 3145728) {\n            for (const t of source.types) {\n              inferFromTypes(t, t);\n            }\n            return;\n          }\n          if (target.flags & 1048576) {\n            const [tempSources, tempTargets] = inferFromMatchingTypes(source.flags & 1048576 ? source.types : [source], target.types, isTypeOrBaseIdenticalTo);\n            const [sources, targets] = inferFromMatchingTypes(tempSources, tempTargets, isTypeCloselyMatchedBy);\n            if (targets.length === 0) {\n              return;\n            }\n            target = getUnionType(targets);\n            if (sources.length === 0) {\n              inferWithPriority(\n                source,\n                target,\n                1\n                /* NakedTypeVariable */\n              );\n              return;\n            }\n            source = getUnionType(sources);\n          } else if (target.flags & 2097152 && !every(target.types, isNonGenericObjectType)) {\n            if (!(source.flags & 1048576)) {\n              const [sources, targets] = inferFromMatchingTypes(source.flags & 2097152 ? source.types : [source], target.types, isTypeIdenticalTo);\n              if (sources.length === 0 || targets.length === 0) {\n                return;\n              }\n              source = getIntersectionType(sources);\n              target = getIntersectionType(targets);\n            }\n          } else if (target.flags & (8388608 | 33554432)) {\n            target = getActualTypeVariable(target);\n          }\n          if (target.flags & 8650752) {\n            if (isFromInferenceBlockedSource(source)) {\n              return;\n            }\n            const inference = getInferenceInfoForType(target);\n            if (inference) {\n              if (getObjectFlags(source) & 262144 || source === nonInferrableAnyType) {\n                return;\n              }\n              if (!inference.isFixed) {\n                if (inference.priority === void 0 || priority < inference.priority) {\n                  inference.candidates = void 0;\n                  inference.contraCandidates = void 0;\n                  inference.topLevel = true;\n                  inference.priority = priority;\n                }\n                if (priority === inference.priority) {\n                  const candidate = propagationType || source;\n                  if (contravariant && !bivariant) {\n                    if (!contains(inference.contraCandidates, candidate)) {\n                      inference.contraCandidates = append(inference.contraCandidates, candidate);\n                      clearCachedInferences(inferences);\n                    }\n                  } else if (!contains(inference.candidates, candidate)) {\n                    inference.candidates = append(inference.candidates, candidate);\n                    clearCachedInferences(inferences);\n                  }\n                }\n                if (!(priority & 128) && target.flags & 262144 && inference.topLevel && !isTypeParameterAtTopLevel(originalTarget, target)) {\n                  inference.topLevel = false;\n                  clearCachedInferences(inferences);\n                }\n              }\n              inferencePriority = Math.min(inferencePriority, priority);\n              return;\n            }\n            const simplified = getSimplifiedType(\n              target,\n              /*writing*/\n              false\n            );\n            if (simplified !== target) {\n              inferFromTypes(source, simplified);\n            } else if (target.flags & 8388608) {\n              const indexType = getSimplifiedType(\n                target.indexType,\n                /*writing*/\n                false\n              );\n              if (indexType.flags & 465829888) {\n                const simplified2 = distributeIndexOverObjectType(\n                  getSimplifiedType(\n                    target.objectType,\n                    /*writing*/\n                    false\n                  ),\n                  indexType,\n                  /*writing*/\n                  false\n                );\n                if (simplified2 && simplified2 !== target) {\n                  inferFromTypes(source, simplified2);\n                }\n              }\n            }\n          }\n          if (getObjectFlags(source) & 4 && getObjectFlags(target) & 4 && (source.target === target.target || isArrayType(source) && isArrayType(target)) && !(source.node && target.node)) {\n            inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target));\n          } else if (source.flags & 4194304 && target.flags & 4194304) {\n            inferFromContravariantTypes(source.type, target.type);\n          } else if ((isLiteralType(source) || source.flags & 4) && target.flags & 4194304) {\n            const empty = createEmptyObjectTypeFromStringLiteral(source);\n            inferFromContravariantTypesWithPriority(\n              empty,\n              target.type,\n              256\n              /* LiteralKeyof */\n            );\n          } else if (source.flags & 8388608 && target.flags & 8388608) {\n            inferFromTypes(source.objectType, target.objectType);\n            inferFromTypes(source.indexType, target.indexType);\n          } else if (source.flags & 268435456 && target.flags & 268435456) {\n            if (source.symbol === target.symbol) {\n              inferFromTypes(source.type, target.type);\n            }\n          } else if (source.flags & 33554432) {\n            inferFromTypes(source.baseType, target);\n            inferWithPriority(\n              getSubstitutionIntersection(source),\n              target,\n              4\n              /* SubstituteSource */\n            );\n          } else if (target.flags & 16777216) {\n            invokeOnce(source, target, inferToConditionalType);\n          } else if (target.flags & 3145728) {\n            inferToMultipleTypes(source, target.types, target.flags);\n          } else if (source.flags & 1048576) {\n            const sourceTypes = source.types;\n            for (const sourceType of sourceTypes) {\n              inferFromTypes(sourceType, target);\n            }\n          } else if (target.flags & 134217728) {\n            inferToTemplateLiteralType(source, target);\n          } else {\n            source = getReducedType(source);\n            if (!(priority & 512 && source.flags & (2097152 | 465829888))) {\n              const apparentSource = getApparentType(source);\n              if (apparentSource !== source && allowComplexConstraintInference && !(apparentSource.flags & (524288 | 2097152))) {\n                allowComplexConstraintInference = false;\n                return inferFromTypes(apparentSource, target);\n              }\n              source = apparentSource;\n            }\n            if (source.flags & (524288 | 2097152)) {\n              invokeOnce(source, target, inferFromObjectTypes);\n            }\n          }\n        }\n        function inferWithPriority(source, target, newPriority) {\n          const savePriority = priority;\n          priority |= newPriority;\n          inferFromTypes(source, target);\n          priority = savePriority;\n        }\n        function inferFromContravariantTypesWithPriority(source, target, newPriority) {\n          const savePriority = priority;\n          priority |= newPriority;\n          inferFromContravariantTypes(source, target);\n          priority = savePriority;\n        }\n        function inferToMultipleTypesWithPriority(source, targets, targetFlags, newPriority) {\n          const savePriority = priority;\n          priority |= newPriority;\n          inferToMultipleTypes(source, targets, targetFlags);\n          priority = savePriority;\n        }\n        function invokeOnce(source, target, action) {\n          const key = source.id + \",\" + target.id;\n          const status = visited && visited.get(key);\n          if (status !== void 0) {\n            inferencePriority = Math.min(inferencePriority, status);\n            return;\n          }\n          (visited || (visited = /* @__PURE__ */ new Map())).set(\n            key,\n            -1\n            /* Circularity */\n          );\n          const saveInferencePriority = inferencePriority;\n          inferencePriority = 2048;\n          const saveExpandingFlags = expandingFlags;\n          const sourceIdentity = getRecursionIdentity(source);\n          const targetIdentity = getRecursionIdentity(target);\n          if (contains(sourceStack, sourceIdentity))\n            expandingFlags |= 1;\n          if (contains(targetStack, targetIdentity))\n            expandingFlags |= 2;\n          if (expandingFlags !== 3) {\n            (sourceStack || (sourceStack = [])).push(sourceIdentity);\n            (targetStack || (targetStack = [])).push(targetIdentity);\n            action(source, target);\n            targetStack.pop();\n            sourceStack.pop();\n          } else {\n            inferencePriority = -1;\n          }\n          expandingFlags = saveExpandingFlags;\n          visited.set(key, inferencePriority);\n          inferencePriority = Math.min(inferencePriority, saveInferencePriority);\n        }\n        function inferFromMatchingTypes(sources, targets, matches) {\n          let matchedSources;\n          let matchedTargets;\n          for (const t of targets) {\n            for (const s of sources) {\n              if (matches(s, t)) {\n                inferFromTypes(s, t);\n                matchedSources = appendIfUnique(matchedSources, s);\n                matchedTargets = appendIfUnique(matchedTargets, t);\n              }\n            }\n          }\n          return [\n            matchedSources ? filter(sources, (t) => !contains(matchedSources, t)) : sources,\n            matchedTargets ? filter(targets, (t) => !contains(matchedTargets, t)) : targets\n          ];\n        }\n        function inferFromTypeArguments(sourceTypes, targetTypes, variances) {\n          const count = sourceTypes.length < targetTypes.length ? sourceTypes.length : targetTypes.length;\n          for (let i = 0; i < count; i++) {\n            if (i < variances.length && (variances[i] & 7) === 2) {\n              inferFromContravariantTypes(sourceTypes[i], targetTypes[i]);\n            } else {\n              inferFromTypes(sourceTypes[i], targetTypes[i]);\n            }\n          }\n        }\n        function inferFromContravariantTypes(source, target) {\n          contravariant = !contravariant;\n          inferFromTypes(source, target);\n          contravariant = !contravariant;\n        }\n        function inferFromContravariantTypesIfStrictFunctionTypes(source, target) {\n          if (strictFunctionTypes || priority & 1024) {\n            inferFromContravariantTypes(source, target);\n          } else {\n            inferFromTypes(source, target);\n          }\n        }\n        function getInferenceInfoForType(type) {\n          if (type.flags & 8650752) {\n            for (const inference of inferences) {\n              if (type === inference.typeParameter) {\n                return inference;\n              }\n            }\n          }\n          return void 0;\n        }\n        function getSingleTypeVariableFromIntersectionTypes(types) {\n          let typeVariable;\n          for (const type of types) {\n            const t = type.flags & 2097152 && find(type.types, (t2) => !!getInferenceInfoForType(t2));\n            if (!t || typeVariable && t !== typeVariable) {\n              return void 0;\n            }\n            typeVariable = t;\n          }\n          return typeVariable;\n        }\n        function inferToMultipleTypes(source, targets, targetFlags) {\n          let typeVariableCount = 0;\n          if (targetFlags & 1048576) {\n            let nakedTypeVariable;\n            const sources = source.flags & 1048576 ? source.types : [source];\n            const matched = new Array(sources.length);\n            let inferenceCircularity = false;\n            for (const t of targets) {\n              if (getInferenceInfoForType(t)) {\n                nakedTypeVariable = t;\n                typeVariableCount++;\n              } else {\n                for (let i = 0; i < sources.length; i++) {\n                  const saveInferencePriority = inferencePriority;\n                  inferencePriority = 2048;\n                  inferFromTypes(sources[i], t);\n                  if (inferencePriority === priority)\n                    matched[i] = true;\n                  inferenceCircularity = inferenceCircularity || inferencePriority === -1;\n                  inferencePriority = Math.min(inferencePriority, saveInferencePriority);\n                }\n              }\n            }\n            if (typeVariableCount === 0) {\n              const intersectionTypeVariable = getSingleTypeVariableFromIntersectionTypes(targets);\n              if (intersectionTypeVariable) {\n                inferWithPriority(\n                  source,\n                  intersectionTypeVariable,\n                  1\n                  /* NakedTypeVariable */\n                );\n              }\n              return;\n            }\n            if (typeVariableCount === 1 && !inferenceCircularity) {\n              const unmatched = flatMap(sources, (s, i) => matched[i] ? void 0 : s);\n              if (unmatched.length) {\n                inferFromTypes(getUnionType(unmatched), nakedTypeVariable);\n                return;\n              }\n            }\n          } else {\n            for (const t of targets) {\n              if (getInferenceInfoForType(t)) {\n                typeVariableCount++;\n              } else {\n                inferFromTypes(source, t);\n              }\n            }\n          }\n          if (targetFlags & 2097152 ? typeVariableCount === 1 : typeVariableCount > 0) {\n            for (const t of targets) {\n              if (getInferenceInfoForType(t)) {\n                inferWithPriority(\n                  source,\n                  t,\n                  1\n                  /* NakedTypeVariable */\n                );\n              }\n            }\n          }\n        }\n        function inferToMappedType(source, target, constraintType) {\n          if (constraintType.flags & 1048576) {\n            let result = false;\n            for (const type of constraintType.types) {\n              result = inferToMappedType(source, target, type) || result;\n            }\n            return result;\n          }\n          if (constraintType.flags & 4194304) {\n            const inference = getInferenceInfoForType(constraintType.type);\n            if (inference && !inference.isFixed && !isFromInferenceBlockedSource(source)) {\n              const inferredType = inferTypeForHomomorphicMappedType(source, target, constraintType);\n              if (inferredType) {\n                inferWithPriority(\n                  inferredType,\n                  inference.typeParameter,\n                  getObjectFlags(source) & 262144 ? 16 : 8\n                  /* HomomorphicMappedType */\n                );\n              }\n            }\n            return true;\n          }\n          if (constraintType.flags & 262144) {\n            inferWithPriority(\n              getIndexType(source),\n              constraintType,\n              32\n              /* MappedTypeConstraint */\n            );\n            const extendedConstraint = getConstraintOfType(constraintType);\n            if (extendedConstraint && inferToMappedType(source, target, extendedConstraint)) {\n              return true;\n            }\n            const propTypes = map(getPropertiesOfType(source), getTypeOfSymbol);\n            const indexTypes = map(getIndexInfosOfType(source), (info) => info !== enumNumberIndexInfo ? info.type : neverType);\n            inferFromTypes(getUnionType(concatenate(propTypes, indexTypes)), getTemplateTypeFromMappedType(target));\n            return true;\n          }\n          return false;\n        }\n        function inferToConditionalType(source, target) {\n          if (source.flags & 16777216) {\n            inferFromTypes(source.checkType, target.checkType);\n            inferFromTypes(source.extendsType, target.extendsType);\n            inferFromTypes(getTrueTypeFromConditionalType(source), getTrueTypeFromConditionalType(target));\n            inferFromTypes(getFalseTypeFromConditionalType(source), getFalseTypeFromConditionalType(target));\n          } else {\n            const targetTypes = [getTrueTypeFromConditionalType(target), getFalseTypeFromConditionalType(target)];\n            inferToMultipleTypesWithPriority(source, targetTypes, target.flags, contravariant ? 64 : 0);\n          }\n        }\n        function inferToTemplateLiteralType(source, target) {\n          const matches = inferTypesFromTemplateLiteralType(source, target);\n          const types = target.types;\n          if (matches || every(target.texts, (s) => s.length === 0)) {\n            for (let i = 0; i < types.length; i++) {\n              const source2 = matches ? matches[i] : neverType;\n              const target2 = types[i];\n              if (source2.flags & 128 && target2.flags & 8650752) {\n                const inferenceContext = getInferenceInfoForType(target2);\n                const constraint = inferenceContext ? getBaseConstraintOfType(inferenceContext.typeParameter) : void 0;\n                if (constraint && !isTypeAny(constraint)) {\n                  const constraintTypes = constraint.flags & 1048576 ? constraint.types : [constraint];\n                  let allTypeFlags = reduceLeft(constraintTypes, (flags, t) => flags | t.flags, 0);\n                  if (!(allTypeFlags & 4)) {\n                    const str = source2.value;\n                    if (allTypeFlags & 296 && !isValidNumberString(\n                      str,\n                      /*roundTripOnly*/\n                      true\n                    )) {\n                      allTypeFlags &= ~296;\n                    }\n                    if (allTypeFlags & 2112 && !isValidBigIntString(\n                      str,\n                      /*roundTripOnly*/\n                      true\n                    )) {\n                      allTypeFlags &= ~2112;\n                    }\n                    const matchingType = reduceLeft(\n                      constraintTypes,\n                      (left, right) => !(right.flags & allTypeFlags) ? left : left.flags & 4 ? left : right.flags & 4 ? source2 : left.flags & 134217728 ? left : right.flags & 134217728 && isTypeMatchedByTemplateLiteralType(source2, right) ? source2 : left.flags & 268435456 ? left : right.flags & 268435456 && str === applyStringMapping(right.symbol, str) ? source2 : left.flags & 128 ? left : right.flags & 128 && right.value === str ? right : left.flags & 8 ? left : right.flags & 8 ? getNumberLiteralType(+str) : left.flags & 32 ? left : right.flags & 32 ? getNumberLiteralType(+str) : left.flags & 256 ? left : right.flags & 256 && right.value === +str ? right : left.flags & 64 ? left : right.flags & 64 ? parseBigIntLiteralType(str) : left.flags & 2048 ? left : right.flags & 2048 && pseudoBigIntToString(right.value) === str ? right : left.flags & 16 ? left : right.flags & 16 ? str === \"true\" ? trueType : str === \"false\" ? falseType : booleanType : left.flags & 512 ? left : right.flags & 512 && right.intrinsicName === str ? right : left.flags & 32768 ? left : right.flags & 32768 && right.intrinsicName === str ? right : left.flags & 65536 ? left : right.flags & 65536 && right.intrinsicName === str ? right : left,\n                      neverType\n                    );\n                    if (!(matchingType.flags & 131072)) {\n                      inferFromTypes(matchingType, target2);\n                      continue;\n                    }\n                  }\n                }\n              }\n              inferFromTypes(source2, target2);\n            }\n          }\n        }\n        function inferFromObjectTypes(source, target) {\n          var _a22, _b3;\n          if (getObjectFlags(source) & 4 && getObjectFlags(target) & 4 && (source.target === target.target || isArrayType(source) && isArrayType(target))) {\n            inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target));\n            return;\n          }\n          if (isGenericMappedType(source) && isGenericMappedType(target)) {\n            inferFromTypes(getConstraintTypeFromMappedType(source), getConstraintTypeFromMappedType(target));\n            inferFromTypes(getTemplateTypeFromMappedType(source), getTemplateTypeFromMappedType(target));\n            const sourceNameType = getNameTypeFromMappedType(source);\n            const targetNameType = getNameTypeFromMappedType(target);\n            if (sourceNameType && targetNameType)\n              inferFromTypes(sourceNameType, targetNameType);\n          }\n          if (getObjectFlags(target) & 32 && !target.declaration.nameType) {\n            const constraintType = getConstraintTypeFromMappedType(target);\n            if (inferToMappedType(source, target, constraintType)) {\n              return;\n            }\n          }\n          if (!typesDefinitelyUnrelated(source, target)) {\n            if (isArrayOrTupleType(source)) {\n              if (isTupleType(target)) {\n                const sourceArity = getTypeReferenceArity(source);\n                const targetArity = getTypeReferenceArity(target);\n                const elementTypes = getTypeArguments(target);\n                const elementFlags = target.target.elementFlags;\n                if (isTupleType(source) && isTupleTypeStructureMatching(source, target)) {\n                  for (let i = 0; i < targetArity; i++) {\n                    inferFromTypes(getTypeArguments(source)[i], elementTypes[i]);\n                  }\n                  return;\n                }\n                const startLength = isTupleType(source) ? Math.min(source.target.fixedLength, target.target.fixedLength) : 0;\n                const endLength = Math.min(\n                  isTupleType(source) ? getEndElementCount(\n                    source.target,\n                    3\n                    /* Fixed */\n                  ) : 0,\n                  target.target.hasRestElement ? getEndElementCount(\n                    target.target,\n                    3\n                    /* Fixed */\n                  ) : 0\n                );\n                for (let i = 0; i < startLength; i++) {\n                  inferFromTypes(getTypeArguments(source)[i], elementTypes[i]);\n                }\n                if (!isTupleType(source) || sourceArity - startLength - endLength === 1 && source.target.elementFlags[startLength] & 4) {\n                  const restType = getTypeArguments(source)[startLength];\n                  for (let i = startLength; i < targetArity - endLength; i++) {\n                    inferFromTypes(elementFlags[i] & 8 ? createArrayType(restType) : restType, elementTypes[i]);\n                  }\n                } else {\n                  const middleLength = targetArity - startLength - endLength;\n                  if (middleLength === 2) {\n                    if (elementFlags[startLength] & elementFlags[startLength + 1] & 8) {\n                      const targetInfo = getInferenceInfoForType(elementTypes[startLength]);\n                      if (targetInfo && targetInfo.impliedArity !== void 0) {\n                        inferFromTypes(sliceTupleType(source, startLength, endLength + sourceArity - targetInfo.impliedArity), elementTypes[startLength]);\n                        inferFromTypes(sliceTupleType(source, startLength + targetInfo.impliedArity, endLength), elementTypes[startLength + 1]);\n                      }\n                    } else if (elementFlags[startLength] & 8 && elementFlags[startLength + 1] & 4) {\n                      const param = (_a22 = getInferenceInfoForType(elementTypes[startLength])) == null ? void 0 : _a22.typeParameter;\n                      const constraint = param && getBaseConstraintOfType(param);\n                      if (constraint && isTupleType(constraint) && !constraint.target.hasRestElement) {\n                        const impliedArity = constraint.target.fixedLength;\n                        inferFromTypes(sliceTupleType(source, startLength, sourceArity - (startLength + impliedArity)), elementTypes[startLength]);\n                        inferFromTypes(getElementTypeOfSliceOfTupleType(source, startLength + impliedArity, endLength), elementTypes[startLength + 1]);\n                      }\n                    } else if (elementFlags[startLength] & 4 && elementFlags[startLength + 1] & 8) {\n                      const param = (_b3 = getInferenceInfoForType(elementTypes[startLength + 1])) == null ? void 0 : _b3.typeParameter;\n                      const constraint = param && getBaseConstraintOfType(param);\n                      if (constraint && isTupleType(constraint) && !constraint.target.hasRestElement) {\n                        const impliedArity = constraint.target.fixedLength;\n                        const endIndex = sourceArity - getEndElementCount(\n                          target.target,\n                          3\n                          /* Fixed */\n                        );\n                        const startIndex = endIndex - impliedArity;\n                        const trailingSlice = createTupleType(\n                          getTypeArguments(source).slice(startIndex, endIndex),\n                          source.target.elementFlags.slice(startIndex, endIndex),\n                          /*readonly*/\n                          false,\n                          source.target.labeledElementDeclarations && source.target.labeledElementDeclarations.slice(startIndex, endIndex)\n                        );\n                        inferFromTypes(getElementTypeOfSliceOfTupleType(source, startLength, endLength + impliedArity), elementTypes[startLength]);\n                        inferFromTypes(trailingSlice, elementTypes[startLength + 1]);\n                      }\n                    }\n                  } else if (middleLength === 1 && elementFlags[startLength] & 8) {\n                    const endsInOptional = target.target.elementFlags[targetArity - 1] & 2;\n                    const sourceSlice = sliceTupleType(source, startLength, endLength);\n                    inferWithPriority(sourceSlice, elementTypes[startLength], endsInOptional ? 2 : 0);\n                  } else if (middleLength === 1 && elementFlags[startLength] & 4) {\n                    const restType = getElementTypeOfSliceOfTupleType(source, startLength, endLength);\n                    if (restType) {\n                      inferFromTypes(restType, elementTypes[startLength]);\n                    }\n                  }\n                }\n                for (let i = 0; i < endLength; i++) {\n                  inferFromTypes(getTypeArguments(source)[sourceArity - i - 1], elementTypes[targetArity - i - 1]);\n                }\n                return;\n              }\n              if (isArrayType(target)) {\n                inferFromIndexTypes(source, target);\n                return;\n              }\n            }\n            inferFromProperties(source, target);\n            inferFromSignatures(\n              source,\n              target,\n              0\n              /* Call */\n            );\n            inferFromSignatures(\n              source,\n              target,\n              1\n              /* Construct */\n            );\n            inferFromIndexTypes(source, target);\n          }\n        }\n        function inferFromProperties(source, target) {\n          const properties = getPropertiesOfObjectType(target);\n          for (const targetProp of properties) {\n            const sourceProp = getPropertyOfType(source, targetProp.escapedName);\n            if (sourceProp && !some(sourceProp.declarations, hasSkipDirectInferenceFlag)) {\n              inferFromTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp));\n            }\n          }\n        }\n        function inferFromSignatures(source, target, kind) {\n          const sourceSignatures = getSignaturesOfType(source, kind);\n          const targetSignatures = getSignaturesOfType(target, kind);\n          const sourceLen = sourceSignatures.length;\n          const targetLen = targetSignatures.length;\n          const len = sourceLen < targetLen ? sourceLen : targetLen;\n          for (let i = 0; i < len; i++) {\n            inferFromSignature(getBaseSignature(sourceSignatures[sourceLen - len + i]), getErasedSignature(targetSignatures[targetLen - len + i]));\n          }\n        }\n        function inferFromSignature(source, target) {\n          const saveBivariant = bivariant;\n          const kind = target.declaration ? target.declaration.kind : 0;\n          bivariant = bivariant || kind === 171 || kind === 170 || kind === 173;\n          applyToParameterTypes(source, target, inferFromContravariantTypesIfStrictFunctionTypes);\n          bivariant = saveBivariant;\n          applyToReturnTypes(source, target, inferFromTypes);\n        }\n        function inferFromIndexTypes(source, target) {\n          const priority2 = getObjectFlags(source) & getObjectFlags(target) & 32 ? 8 : 0;\n          const indexInfos = getIndexInfosOfType(target);\n          if (isObjectTypeWithInferableIndex(source)) {\n            for (const targetInfo of indexInfos) {\n              const propTypes = [];\n              for (const prop of getPropertiesOfType(source)) {\n                if (isApplicableIndexType(getLiteralTypeFromProperty(\n                  prop,\n                  8576\n                  /* StringOrNumberLiteralOrUnique */\n                ), targetInfo.keyType)) {\n                  const propType = getTypeOfSymbol(prop);\n                  propTypes.push(prop.flags & 16777216 ? removeMissingOrUndefinedType(propType) : propType);\n                }\n              }\n              for (const info of getIndexInfosOfType(source)) {\n                if (isApplicableIndexType(info.keyType, targetInfo.keyType)) {\n                  propTypes.push(info.type);\n                }\n              }\n              if (propTypes.length) {\n                inferWithPriority(getUnionType(propTypes), targetInfo.type, priority2);\n              }\n            }\n          }\n          for (const targetInfo of indexInfos) {\n            const sourceInfo = getApplicableIndexInfo(source, targetInfo.keyType);\n            if (sourceInfo) {\n              inferWithPriority(sourceInfo.type, targetInfo.type, priority2);\n            }\n          }\n        }\n      }\n      function isTypeOrBaseIdenticalTo(s, t) {\n        return t === missingType ? s === t : isTypeIdenticalTo(s, t) || !!(t.flags & 4 && s.flags & 128 || t.flags & 8 && s.flags & 256);\n      }\n      function isTypeCloselyMatchedBy(s, t) {\n        return !!(s.flags & 524288 && t.flags & 524288 && s.symbol && s.symbol === t.symbol || s.aliasSymbol && s.aliasTypeArguments && s.aliasSymbol === t.aliasSymbol);\n      }\n      function hasPrimitiveConstraint(type) {\n        const constraint = getConstraintOfTypeParameter(type);\n        return !!constraint && maybeTypeOfKind(\n          constraint.flags & 16777216 ? getDefaultConstraintOfConditionalType(constraint) : constraint,\n          134348796 | 4194304 | 134217728 | 268435456\n          /* StringMapping */\n        );\n      }\n      function isObjectLiteralType2(type) {\n        return !!(getObjectFlags(type) & 128);\n      }\n      function isObjectOrArrayLiteralType(type) {\n        return !!(getObjectFlags(type) & (128 | 16384));\n      }\n      function unionObjectAndArrayLiteralCandidates(candidates) {\n        if (candidates.length > 1) {\n          const objectLiterals = filter(candidates, isObjectOrArrayLiteralType);\n          if (objectLiterals.length) {\n            const literalsType = getUnionType(\n              objectLiterals,\n              2\n              /* Subtype */\n            );\n            return concatenate(filter(candidates, (t) => !isObjectOrArrayLiteralType(t)), [literalsType]);\n          }\n        }\n        return candidates;\n      }\n      function getContravariantInference(inference) {\n        return inference.priority & 416 ? getIntersectionType(inference.contraCandidates) : getCommonSubtype(inference.contraCandidates);\n      }\n      function getCovariantInference(inference, signature) {\n        const candidates = unionObjectAndArrayLiteralCandidates(inference.candidates);\n        const primitiveConstraint = hasPrimitiveConstraint(inference.typeParameter) || isConstTypeVariable(inference.typeParameter);\n        const widenLiteralTypes = !primitiveConstraint && inference.topLevel && (inference.isFixed || !isTypeParameterAtTopLevelInReturnType(signature, inference.typeParameter));\n        const baseCandidates = primitiveConstraint ? sameMap(candidates, getRegularTypeOfLiteralType) : widenLiteralTypes ? sameMap(candidates, getWidenedLiteralType) : candidates;\n        const unwidenedType = inference.priority & 416 ? getUnionType(\n          baseCandidates,\n          2\n          /* Subtype */\n        ) : getCommonSupertype(baseCandidates);\n        return getWidenedType(unwidenedType);\n      }\n      function getInferredType(context, index) {\n        const inference = context.inferences[index];\n        if (!inference.inferredType) {\n          let inferredType;\n          const signature = context.signature;\n          if (signature) {\n            const inferredCovariantType = inference.candidates ? getCovariantInference(inference, signature) : void 0;\n            if (inference.contraCandidates) {\n              const useCovariantType = inferredCovariantType && !(inferredCovariantType.flags & 131072) && some(inference.contraCandidates, (t) => isTypeSubtypeOf(inferredCovariantType, t)) && every(context.inferences, (other) => other !== inference && getConstraintOfTypeParameter(other.typeParameter) !== inference.typeParameter || every(other.candidates, (t) => isTypeSubtypeOf(t, inferredCovariantType)));\n              inferredType = useCovariantType ? inferredCovariantType : getContravariantInference(inference);\n            } else if (inferredCovariantType) {\n              inferredType = inferredCovariantType;\n            } else if (context.flags & 1) {\n              inferredType = silentNeverType;\n            } else {\n              const defaultType = getDefaultFromTypeParameter(inference.typeParameter);\n              if (defaultType) {\n                inferredType = instantiateType(defaultType, mergeTypeMappers(createBackreferenceMapper(context, index), context.nonFixingMapper));\n              }\n            }\n          } else {\n            inferredType = getTypeFromInference(inference);\n          }\n          inference.inferredType = inferredType || getDefaultTypeArgumentType(!!(context.flags & 2));\n          const constraint = getConstraintOfTypeParameter(inference.typeParameter);\n          if (constraint) {\n            const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper);\n            if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {\n              inference.inferredType = inferredType = instantiatedConstraint;\n            }\n          }\n        }\n        return inference.inferredType;\n      }\n      function getDefaultTypeArgumentType(isInJavaScriptFile) {\n        return isInJavaScriptFile ? anyType : unknownType;\n      }\n      function getInferredTypes(context) {\n        const result = [];\n        for (let i = 0; i < context.inferences.length; i++) {\n          result.push(getInferredType(context, i));\n        }\n        return result;\n      }\n      function getCannotFindNameDiagnosticForName(node) {\n        switch (node.escapedText) {\n          case \"document\":\n          case \"console\":\n            return Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;\n          case \"$\":\n            return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;\n          case \"describe\":\n          case \"suite\":\n          case \"it\":\n          case \"test\":\n            return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha;\n          case \"process\":\n          case \"require\":\n          case \"Buffer\":\n          case \"module\":\n            return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;\n          case \"Map\":\n          case \"Set\":\n          case \"Promise\":\n          case \"Symbol\":\n          case \"WeakMap\":\n          case \"WeakSet\":\n          case \"Iterator\":\n          case \"AsyncIterator\":\n          case \"SharedArrayBuffer\":\n          case \"Atomics\":\n          case \"AsyncIterable\":\n          case \"AsyncIterableIterator\":\n          case \"AsyncGenerator\":\n          case \"AsyncGeneratorFunction\":\n          case \"BigInt\":\n          case \"Reflect\":\n          case \"BigInt64Array\":\n          case \"BigUint64Array\":\n            return Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;\n          case \"await\":\n            if (isCallExpression(node.parent)) {\n              return Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;\n            }\n          default:\n            if (node.parent.kind === 300) {\n              return Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer;\n            } else {\n              return Diagnostics.Cannot_find_name_0;\n            }\n        }\n      }\n      function getResolvedSymbol(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedSymbol) {\n          links.resolvedSymbol = !nodeIsMissing(node) && resolveName(\n            node,\n            node.escapedText,\n            111551 | 1048576,\n            getCannotFindNameDiagnosticForName(node),\n            node,\n            !isWriteOnlyAccess(node),\n            /*excludeGlobals*/\n            false\n          ) || unknownSymbol;\n        }\n        return links.resolvedSymbol;\n      }\n      function isInTypeQuery(node) {\n        return !!findAncestor(\n          node,\n          (n) => n.kind === 183 ? true : n.kind === 79 || n.kind === 163 ? false : \"quit\"\n        );\n      }\n      function isInAmbientOrTypeNode(node) {\n        return !!(node.flags & 16777216 || findAncestor(node, (n) => isInterfaceDeclaration(n) || isTypeLiteralNode(n)));\n      }\n      function getFlowCacheKey(node, declaredType, initialType, flowContainer) {\n        switch (node.kind) {\n          case 79:\n            if (!isThisInTypeQuery(node)) {\n              const symbol = getResolvedSymbol(node);\n              return symbol !== unknownSymbol ? `${flowContainer ? getNodeId(flowContainer) : \"-1\"}|${getTypeId(declaredType)}|${getTypeId(initialType)}|${getSymbolId(symbol)}` : void 0;\n            }\n          case 108:\n            return `0|${flowContainer ? getNodeId(flowContainer) : \"-1\"}|${getTypeId(declaredType)}|${getTypeId(initialType)}`;\n          case 232:\n          case 214:\n            return getFlowCacheKey(node.expression, declaredType, initialType, flowContainer);\n          case 163:\n            const left = getFlowCacheKey(node.left, declaredType, initialType, flowContainer);\n            return left && left + \".\" + node.right.escapedText;\n          case 208:\n          case 209:\n            const propName = getAccessedPropertyName(node);\n            if (propName !== void 0) {\n              const key = getFlowCacheKey(node.expression, declaredType, initialType, flowContainer);\n              return key && key + \".\" + propName;\n            }\n            break;\n          case 203:\n          case 204:\n          case 259:\n          case 215:\n          case 216:\n          case 171:\n            return `${getNodeId(node)}#${getTypeId(declaredType)}`;\n        }\n        return void 0;\n      }\n      function isMatchingReference(source, target) {\n        switch (target.kind) {\n          case 214:\n          case 232:\n            return isMatchingReference(source, target.expression);\n          case 223:\n            return isAssignmentExpression(target) && isMatchingReference(source, target.left) || isBinaryExpression(target) && target.operatorToken.kind === 27 && isMatchingReference(source, target.right);\n        }\n        switch (source.kind) {\n          case 233:\n            return target.kind === 233 && source.keywordToken === target.keywordToken && source.name.escapedText === target.name.escapedText;\n          case 79:\n          case 80:\n            return isThisInTypeQuery(source) ? target.kind === 108 : target.kind === 79 && getResolvedSymbol(source) === getResolvedSymbol(target) || (isVariableDeclaration(target) || isBindingElement(target)) && getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(source)) === getSymbolOfDeclaration(target);\n          case 108:\n            return target.kind === 108;\n          case 106:\n            return target.kind === 106;\n          case 232:\n          case 214:\n            return isMatchingReference(source.expression, target);\n          case 208:\n          case 209:\n            const sourcePropertyName = getAccessedPropertyName(source);\n            const targetPropertyName = isAccessExpression(target) ? getAccessedPropertyName(target) : void 0;\n            return sourcePropertyName !== void 0 && targetPropertyName !== void 0 && targetPropertyName === sourcePropertyName && isMatchingReference(source.expression, target.expression);\n          case 163:\n            return isAccessExpression(target) && source.right.escapedText === getAccessedPropertyName(target) && isMatchingReference(source.left, target.expression);\n          case 223:\n            return isBinaryExpression(source) && source.operatorToken.kind === 27 && isMatchingReference(source.right, target);\n        }\n        return false;\n      }\n      function getAccessedPropertyName(access) {\n        if (isPropertyAccessExpression(access)) {\n          return access.name.escapedText;\n        }\n        if (isElementAccessExpression(access)) {\n          return tryGetElementAccessExpressionName(access);\n        }\n        if (isBindingElement(access)) {\n          const name = getDestructuringPropertyName(access);\n          return name ? escapeLeadingUnderscores(name) : void 0;\n        }\n        if (isParameter(access)) {\n          return \"\" + access.parent.parameters.indexOf(access);\n        }\n        return void 0;\n      }\n      function tryGetNameFromType(type) {\n        return type.flags & 8192 ? type.escapedName : type.flags & 384 ? escapeLeadingUnderscores(\"\" + type.value) : void 0;\n      }\n      function tryGetElementAccessExpressionName(node) {\n        if (isStringOrNumericLiteralLike(node.argumentExpression)) {\n          return escapeLeadingUnderscores(node.argumentExpression.text);\n        }\n        if (isEntityNameExpression(node.argumentExpression)) {\n          const symbol = resolveEntityName(\n            node.argumentExpression,\n            111551,\n            /*ignoreErrors*/\n            true\n          );\n          if (!symbol || !(isConstVariable(symbol) || symbol.flags & 8))\n            return void 0;\n          const declaration = symbol.valueDeclaration;\n          if (declaration === void 0)\n            return void 0;\n          const type = tryGetTypeFromEffectiveTypeNode(declaration);\n          if (type) {\n            const name = tryGetNameFromType(type);\n            if (name !== void 0) {\n              return name;\n            }\n          }\n          if (hasOnlyExpressionInitializer(declaration) && isBlockScopedNameDeclaredBeforeUse(declaration, node.argumentExpression)) {\n            const initializer = getEffectiveInitializer(declaration);\n            if (initializer) {\n              return tryGetNameFromType(getTypeOfExpression(initializer));\n            }\n            if (isEnumMember(declaration)) {\n              return getTextOfPropertyName(declaration.name);\n            }\n          }\n        }\n        return void 0;\n      }\n      function containsMatchingReference(source, target) {\n        while (isAccessExpression(source)) {\n          source = source.expression;\n          if (isMatchingReference(source, target)) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function optionalChainContainsReference(source, target) {\n        while (isOptionalChain(source)) {\n          source = source.expression;\n          if (isMatchingReference(source, target)) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function isDiscriminantProperty(type, name) {\n        if (type && type.flags & 1048576) {\n          const prop = getUnionOrIntersectionProperty(type, name);\n          if (prop && getCheckFlags(prop) & 2) {\n            if (prop.links.isDiscriminantProperty === void 0) {\n              prop.links.isDiscriminantProperty = (prop.links.checkFlags & 192) === 192 && !isGenericType(getTypeOfSymbol(prop));\n            }\n            return !!prop.links.isDiscriminantProperty;\n          }\n        }\n        return false;\n      }\n      function findDiscriminantProperties(sourceProperties, target) {\n        let result;\n        for (const sourceProperty of sourceProperties) {\n          if (isDiscriminantProperty(target, sourceProperty.escapedName)) {\n            if (result) {\n              result.push(sourceProperty);\n              continue;\n            }\n            result = [sourceProperty];\n          }\n        }\n        return result;\n      }\n      function mapTypesByKeyProperty(types, name) {\n        const map2 = /* @__PURE__ */ new Map();\n        let count = 0;\n        for (const type of types) {\n          if (type.flags & (524288 | 2097152 | 58982400)) {\n            const discriminant = getTypeOfPropertyOfType(type, name);\n            if (discriminant) {\n              if (!isLiteralType(discriminant)) {\n                return void 0;\n              }\n              let duplicate = false;\n              forEachType(discriminant, (t) => {\n                const id = getTypeId(getRegularTypeOfLiteralType(t));\n                const existing = map2.get(id);\n                if (!existing) {\n                  map2.set(id, type);\n                } else if (existing !== unknownType) {\n                  map2.set(id, unknownType);\n                  duplicate = true;\n                }\n              });\n              if (!duplicate)\n                count++;\n            }\n          }\n        }\n        return count >= 10 && count * 2 >= types.length ? map2 : void 0;\n      }\n      function getKeyPropertyName(unionType) {\n        const types = unionType.types;\n        if (types.length < 10 || getObjectFlags(unionType) & 32768 || countWhere2(types, (t) => !!(t.flags & (524288 | 58982400))) < 10) {\n          return void 0;\n        }\n        if (unionType.keyPropertyName === void 0) {\n          const keyPropertyName = forEach(types, (t) => t.flags & (524288 | 58982400) ? forEach(getPropertiesOfType(t), (p) => isUnitType(getTypeOfSymbol(p)) ? p.escapedName : void 0) : void 0);\n          const mapByKeyProperty = keyPropertyName && mapTypesByKeyProperty(types, keyPropertyName);\n          unionType.keyPropertyName = mapByKeyProperty ? keyPropertyName : \"\";\n          unionType.constituentMap = mapByKeyProperty;\n        }\n        return unionType.keyPropertyName.length ? unionType.keyPropertyName : void 0;\n      }\n      function getConstituentTypeForKeyType(unionType, keyType) {\n        var _a22;\n        const result = (_a22 = unionType.constituentMap) == null ? void 0 : _a22.get(getTypeId(getRegularTypeOfLiteralType(keyType)));\n        return result !== unknownType ? result : void 0;\n      }\n      function getMatchingUnionConstituentForType(unionType, type) {\n        const keyPropertyName = getKeyPropertyName(unionType);\n        const propType = keyPropertyName && getTypeOfPropertyOfType(type, keyPropertyName);\n        return propType && getConstituentTypeForKeyType(unionType, propType);\n      }\n      function getMatchingUnionConstituentForObjectLiteral(unionType, node) {\n        const keyPropertyName = getKeyPropertyName(unionType);\n        const propNode = keyPropertyName && find(node.properties, (p) => p.symbol && p.kind === 299 && p.symbol.escapedName === keyPropertyName && isPossiblyDiscriminantValue(p.initializer));\n        const propType = propNode && getContextFreeTypeOfExpression(propNode.initializer);\n        return propType && getConstituentTypeForKeyType(unionType, propType);\n      }\n      function isOrContainsMatchingReference(source, target) {\n        return isMatchingReference(source, target) || containsMatchingReference(source, target);\n      }\n      function hasMatchingArgument(expression, reference) {\n        if (expression.arguments) {\n          for (const argument of expression.arguments) {\n            if (isOrContainsMatchingReference(reference, argument)) {\n              return true;\n            }\n          }\n        }\n        if (expression.expression.kind === 208 && isOrContainsMatchingReference(reference, expression.expression.expression)) {\n          return true;\n        }\n        return false;\n      }\n      function getFlowNodeId(flow) {\n        if (!flow.id || flow.id < 0) {\n          flow.id = nextFlowId;\n          nextFlowId++;\n        }\n        return flow.id;\n      }\n      function typeMaybeAssignableTo(source, target) {\n        if (!(source.flags & 1048576)) {\n          return isTypeAssignableTo(source, target);\n        }\n        for (const t of source.types) {\n          if (isTypeAssignableTo(t, target)) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function getAssignmentReducedType(declaredType, assignedType) {\n        var _a22;\n        if (declaredType === assignedType) {\n          return declaredType;\n        }\n        if (assignedType.flags & 131072) {\n          return assignedType;\n        }\n        const key = `A${getTypeId(declaredType)},${getTypeId(assignedType)}`;\n        return (_a22 = getCachedType(key)) != null ? _a22 : setCachedType(key, getAssignmentReducedTypeWorker(declaredType, assignedType));\n      }\n      function getAssignmentReducedTypeWorker(declaredType, assignedType) {\n        const filteredType = filterType(declaredType, (t) => typeMaybeAssignableTo(assignedType, t));\n        const reducedType = assignedType.flags & 512 && isFreshLiteralType(assignedType) ? mapType(filteredType, getFreshTypeOfLiteralType) : filteredType;\n        return isTypeAssignableTo(assignedType, reducedType) ? reducedType : declaredType;\n      }\n      function isFunctionObjectType(type) {\n        const resolved = resolveStructuredTypeMembers(type);\n        return !!(resolved.callSignatures.length || resolved.constructSignatures.length || resolved.members.get(\"bind\") && isTypeSubtypeOf(type, globalFunctionType));\n      }\n      function getTypeFacts(type) {\n        if (type.flags & (2097152 | 465829888)) {\n          type = getBaseConstraintOfType(type) || unknownType;\n        }\n        const flags = type.flags;\n        if (flags & (4 | 268435456)) {\n          return strictNullChecks ? 16317953 : 16776705;\n        }\n        if (flags & (128 | 134217728)) {\n          const isEmpty = flags & 128 && type.value === \"\";\n          return strictNullChecks ? isEmpty ? 12123649 : 7929345 : isEmpty ? 12582401 : 16776705;\n        }\n        if (flags & (8 | 32)) {\n          return strictNullChecks ? 16317698 : 16776450;\n        }\n        if (flags & 256) {\n          const isZero = type.value === 0;\n          return strictNullChecks ? isZero ? 12123394 : 7929090 : isZero ? 12582146 : 16776450;\n        }\n        if (flags & 64) {\n          return strictNullChecks ? 16317188 : 16775940;\n        }\n        if (flags & 2048) {\n          const isZero = isZeroBigInt(type);\n          return strictNullChecks ? isZero ? 12122884 : 7928580 : isZero ? 12581636 : 16775940;\n        }\n        if (flags & 16) {\n          return strictNullChecks ? 16316168 : 16774920;\n        }\n        if (flags & 528) {\n          return strictNullChecks ? type === falseType || type === regularFalseType ? 12121864 : 7927560 : type === falseType || type === regularFalseType ? 12580616 : 16774920;\n        }\n        if (flags & 524288) {\n          return getObjectFlags(type) & 16 && isEmptyObjectType(type) ? strictNullChecks ? 83427327 : 83886079 : isFunctionObjectType(type) ? strictNullChecks ? 7880640 : 16728e3 : strictNullChecks ? 7888800 : 16736160;\n        }\n        if (flags & 16384) {\n          return 9830144;\n        }\n        if (flags & 32768) {\n          return 26607360;\n        }\n        if (flags & 65536) {\n          return 42917664;\n        }\n        if (flags & 12288) {\n          return strictNullChecks ? 7925520 : 16772880;\n        }\n        if (flags & 67108864) {\n          return strictNullChecks ? 7888800 : 16736160;\n        }\n        if (flags & 131072) {\n          return 0;\n        }\n        if (flags & 1048576) {\n          return reduceLeft(\n            type.types,\n            (facts, t) => facts | getTypeFacts(t),\n            0\n            /* None */\n          );\n        }\n        if (flags & 2097152) {\n          return getIntersectionTypeFacts(type);\n        }\n        return 83886079;\n      }\n      function getIntersectionTypeFacts(type) {\n        const ignoreObjects = maybeTypeOfKind(\n          type,\n          134348796\n          /* Primitive */\n        );\n        let oredFacts = 0;\n        let andedFacts = 134217727;\n        for (const t of type.types) {\n          if (!(ignoreObjects && t.flags & 524288)) {\n            const f = getTypeFacts(t);\n            oredFacts |= f;\n            andedFacts &= f;\n          }\n        }\n        return oredFacts & 8256 | andedFacts & 134209471;\n      }\n      function getTypeWithFacts(type, include) {\n        return filterType(type, (t) => (getTypeFacts(t) & include) !== 0);\n      }\n      function getAdjustedTypeWithFacts(type, facts) {\n        const reduced = recombineUnknownType(getTypeWithFacts(strictNullChecks && type.flags & 2 ? unknownUnionType : type, facts));\n        if (strictNullChecks) {\n          switch (facts) {\n            case 524288:\n              return mapType(reduced, (t) => getTypeFacts(t) & 65536 ? getIntersectionType([t, getTypeFacts(t) & 131072 && !maybeTypeOfKind(\n                reduced,\n                65536\n                /* Null */\n              ) ? getUnionType([emptyObjectType, nullType]) : emptyObjectType]) : t);\n            case 1048576:\n              return mapType(reduced, (t) => getTypeFacts(t) & 131072 ? getIntersectionType([t, getTypeFacts(t) & 65536 && !maybeTypeOfKind(\n                reduced,\n                32768\n                /* Undefined */\n              ) ? getUnionType([emptyObjectType, undefinedType]) : emptyObjectType]) : t);\n            case 2097152:\n            case 4194304:\n              return mapType(reduced, (t) => getTypeFacts(t) & 262144 ? getGlobalNonNullableTypeInstantiation(t) : t);\n          }\n        }\n        return reduced;\n      }\n      function recombineUnknownType(type) {\n        return type === unknownUnionType ? unknownType : type;\n      }\n      function getTypeWithDefault(type, defaultExpression) {\n        return defaultExpression ? getUnionType([getNonUndefinedType(type), getTypeOfExpression(defaultExpression)]) : type;\n      }\n      function getTypeOfDestructuredProperty(type, name) {\n        var _a22;\n        const nameType = getLiteralTypeFromPropertyName(name);\n        if (!isTypeUsableAsPropertyName(nameType))\n          return errorType;\n        const text = getPropertyNameFromType(nameType);\n        return getTypeOfPropertyOfType(type, text) || includeUndefinedInIndexSignature((_a22 = getApplicableIndexInfoForName(type, text)) == null ? void 0 : _a22.type) || errorType;\n      }\n      function getTypeOfDestructuredArrayElement(type, index) {\n        return everyType(type, isTupleLikeType) && getTupleElementType(type, index) || includeUndefinedInIndexSignature(checkIteratedTypeOrElementType(\n          65,\n          type,\n          undefinedType,\n          /*errorNode*/\n          void 0\n        )) || errorType;\n      }\n      function includeUndefinedInIndexSignature(type) {\n        if (!type)\n          return type;\n        return compilerOptions.noUncheckedIndexedAccess ? getUnionType([type, missingType]) : type;\n      }\n      function getTypeOfDestructuredSpreadExpression(type) {\n        return createArrayType(checkIteratedTypeOrElementType(\n          65,\n          type,\n          undefinedType,\n          /*errorNode*/\n          void 0\n        ) || errorType);\n      }\n      function getAssignedTypeOfBinaryExpression(node) {\n        const isDestructuringDefaultAssignment = node.parent.kind === 206 && isDestructuringAssignmentTarget(node.parent) || node.parent.kind === 299 && isDestructuringAssignmentTarget(node.parent.parent);\n        return isDestructuringDefaultAssignment ? getTypeWithDefault(getAssignedType(node), node.right) : getTypeOfExpression(node.right);\n      }\n      function isDestructuringAssignmentTarget(parent2) {\n        return parent2.parent.kind === 223 && parent2.parent.left === parent2 || parent2.parent.kind === 247 && parent2.parent.initializer === parent2;\n      }\n      function getAssignedTypeOfArrayLiteralElement(node, element) {\n        return getTypeOfDestructuredArrayElement(getAssignedType(node), node.elements.indexOf(element));\n      }\n      function getAssignedTypeOfSpreadExpression(node) {\n        return getTypeOfDestructuredSpreadExpression(getAssignedType(node.parent));\n      }\n      function getAssignedTypeOfPropertyAssignment(node) {\n        return getTypeOfDestructuredProperty(getAssignedType(node.parent), node.name);\n      }\n      function getAssignedTypeOfShorthandPropertyAssignment(node) {\n        return getTypeWithDefault(getAssignedTypeOfPropertyAssignment(node), node.objectAssignmentInitializer);\n      }\n      function getAssignedType(node) {\n        const { parent: parent2 } = node;\n        switch (parent2.kind) {\n          case 246:\n            return stringType;\n          case 247:\n            return checkRightHandSideOfForOf(parent2) || errorType;\n          case 223:\n            return getAssignedTypeOfBinaryExpression(parent2);\n          case 217:\n            return undefinedType;\n          case 206:\n            return getAssignedTypeOfArrayLiteralElement(parent2, node);\n          case 227:\n            return getAssignedTypeOfSpreadExpression(parent2);\n          case 299:\n            return getAssignedTypeOfPropertyAssignment(parent2);\n          case 300:\n            return getAssignedTypeOfShorthandPropertyAssignment(parent2);\n        }\n        return errorType;\n      }\n      function getInitialTypeOfBindingElement(node) {\n        const pattern = node.parent;\n        const parentType = getInitialType(pattern.parent);\n        const type = pattern.kind === 203 ? getTypeOfDestructuredProperty(parentType, node.propertyName || node.name) : !node.dotDotDotToken ? getTypeOfDestructuredArrayElement(parentType, pattern.elements.indexOf(node)) : getTypeOfDestructuredSpreadExpression(parentType);\n        return getTypeWithDefault(type, node.initializer);\n      }\n      function getTypeOfInitializer(node) {\n        const links = getNodeLinks(node);\n        return links.resolvedType || getTypeOfExpression(node);\n      }\n      function getInitialTypeOfVariableDeclaration(node) {\n        if (node.initializer) {\n          return getTypeOfInitializer(node.initializer);\n        }\n        if (node.parent.parent.kind === 246) {\n          return stringType;\n        }\n        if (node.parent.parent.kind === 247) {\n          return checkRightHandSideOfForOf(node.parent.parent) || errorType;\n        }\n        return errorType;\n      }\n      function getInitialType(node) {\n        return node.kind === 257 ? getInitialTypeOfVariableDeclaration(node) : getInitialTypeOfBindingElement(node);\n      }\n      function isEmptyArrayAssignment(node) {\n        return node.kind === 257 && node.initializer && isEmptyArrayLiteral2(node.initializer) || node.kind !== 205 && node.parent.kind === 223 && isEmptyArrayLiteral2(node.parent.right);\n      }\n      function getReferenceCandidate(node) {\n        switch (node.kind) {\n          case 214:\n            return getReferenceCandidate(node.expression);\n          case 223:\n            switch (node.operatorToken.kind) {\n              case 63:\n              case 75:\n              case 76:\n              case 77:\n                return getReferenceCandidate(node.left);\n              case 27:\n                return getReferenceCandidate(node.right);\n            }\n        }\n        return node;\n      }\n      function getReferenceRoot(node) {\n        const { parent: parent2 } = node;\n        return parent2.kind === 214 || parent2.kind === 223 && parent2.operatorToken.kind === 63 && parent2.left === node || parent2.kind === 223 && parent2.operatorToken.kind === 27 && parent2.right === node ? getReferenceRoot(parent2) : node;\n      }\n      function getTypeOfSwitchClause(clause) {\n        if (clause.kind === 292) {\n          return getRegularTypeOfLiteralType(getTypeOfExpression(clause.expression));\n        }\n        return neverType;\n      }\n      function getSwitchClauseTypes(switchStatement) {\n        const links = getNodeLinks(switchStatement);\n        if (!links.switchTypes) {\n          links.switchTypes = [];\n          for (const clause of switchStatement.caseBlock.clauses) {\n            links.switchTypes.push(getTypeOfSwitchClause(clause));\n          }\n        }\n        return links.switchTypes;\n      }\n      function getSwitchClauseTypeOfWitnesses(switchStatement) {\n        if (some(switchStatement.caseBlock.clauses, (clause) => clause.kind === 292 && !isStringLiteralLike(clause.expression))) {\n          return void 0;\n        }\n        const witnesses = [];\n        for (const clause of switchStatement.caseBlock.clauses) {\n          const text = clause.kind === 292 ? clause.expression.text : void 0;\n          witnesses.push(text && !contains(witnesses, text) ? text : void 0);\n        }\n        return witnesses;\n      }\n      function eachTypeContainedIn(source, types) {\n        return source.flags & 1048576 ? !forEach(source.types, (t) => !contains(types, t)) : contains(types, source);\n      }\n      function isTypeSubsetOf(source, target) {\n        return source === target || target.flags & 1048576 && isTypeSubsetOfUnion(source, target);\n      }\n      function isTypeSubsetOfUnion(source, target) {\n        if (source.flags & 1048576) {\n          for (const t of source.types) {\n            if (!containsType(target.types, t)) {\n              return false;\n            }\n          }\n          return true;\n        }\n        if (source.flags & 1056 && getBaseTypeOfEnumLikeType(source) === target) {\n          return true;\n        }\n        return containsType(target.types, source);\n      }\n      function forEachType(type, f) {\n        return type.flags & 1048576 ? forEach(type.types, f) : f(type);\n      }\n      function someType(type, f) {\n        return type.flags & 1048576 ? some(type.types, f) : f(type);\n      }\n      function everyType(type, f) {\n        return type.flags & 1048576 ? every(type.types, f) : f(type);\n      }\n      function everyContainedType(type, f) {\n        return type.flags & 3145728 ? every(type.types, f) : f(type);\n      }\n      function filterType(type, f) {\n        if (type.flags & 1048576) {\n          const types = type.types;\n          const filtered = filter(types, f);\n          if (filtered === types) {\n            return type;\n          }\n          const origin = type.origin;\n          let newOrigin;\n          if (origin && origin.flags & 1048576) {\n            const originTypes = origin.types;\n            const originFiltered = filter(originTypes, (t) => !!(t.flags & 1048576) || f(t));\n            if (originTypes.length - originFiltered.length === types.length - filtered.length) {\n              if (originFiltered.length === 1) {\n                return originFiltered[0];\n              }\n              newOrigin = createOriginUnionOrIntersectionType(1048576, originFiltered);\n            }\n          }\n          return getUnionTypeFromSortedList(\n            filtered,\n            type.objectFlags & (32768 | 16777216),\n            /*aliasSymbol*/\n            void 0,\n            /*aliasTypeArguments*/\n            void 0,\n            newOrigin\n          );\n        }\n        return type.flags & 131072 || f(type) ? type : neverType;\n      }\n      function removeType(type, targetType) {\n        return filterType(type, (t) => t !== targetType);\n      }\n      function countTypes(type) {\n        return type.flags & 1048576 ? type.types.length : 1;\n      }\n      function mapType(type, mapper, noReductions) {\n        if (type.flags & 131072) {\n          return type;\n        }\n        if (!(type.flags & 1048576)) {\n          return mapper(type);\n        }\n        const origin = type.origin;\n        const types = origin && origin.flags & 1048576 ? origin.types : type.types;\n        let mappedTypes;\n        let changed = false;\n        for (const t of types) {\n          const mapped = t.flags & 1048576 ? mapType(t, mapper, noReductions) : mapper(t);\n          changed || (changed = t !== mapped);\n          if (mapped) {\n            if (!mappedTypes) {\n              mappedTypes = [mapped];\n            } else {\n              mappedTypes.push(mapped);\n            }\n          }\n        }\n        return changed ? mappedTypes && getUnionType(\n          mappedTypes,\n          noReductions ? 0 : 1\n          /* Literal */\n        ) : type;\n      }\n      function mapTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) {\n        return type.flags & 1048576 && aliasSymbol ? getUnionType(map(type.types, mapper), 1, aliasSymbol, aliasTypeArguments) : mapType(type, mapper);\n      }\n      function extractTypesOfKind(type, kind) {\n        return filterType(type, (t) => (t.flags & kind) !== 0);\n      }\n      function replacePrimitivesWithLiterals(typeWithPrimitives, typeWithLiterals) {\n        if (maybeTypeOfKind(\n          typeWithPrimitives,\n          4 | 134217728 | 8 | 64\n          /* BigInt */\n        ) && maybeTypeOfKind(\n          typeWithLiterals,\n          128 | 134217728 | 268435456 | 256 | 2048\n          /* BigIntLiteral */\n        )) {\n          return mapType(typeWithPrimitives, (t) => t.flags & 4 ? extractTypesOfKind(\n            typeWithLiterals,\n            4 | 128 | 134217728 | 268435456\n            /* StringMapping */\n          ) : isPatternLiteralType(t) && !maybeTypeOfKind(\n            typeWithLiterals,\n            4 | 134217728 | 268435456\n            /* StringMapping */\n          ) ? extractTypesOfKind(\n            typeWithLiterals,\n            128\n            /* StringLiteral */\n          ) : t.flags & 8 ? extractTypesOfKind(\n            typeWithLiterals,\n            8 | 256\n            /* NumberLiteral */\n          ) : t.flags & 64 ? extractTypesOfKind(\n            typeWithLiterals,\n            64 | 2048\n            /* BigIntLiteral */\n          ) : t);\n        }\n        return typeWithPrimitives;\n      }\n      function isIncomplete(flowType) {\n        return flowType.flags === 0;\n      }\n      function getTypeFromFlowType(flowType) {\n        return flowType.flags === 0 ? flowType.type : flowType;\n      }\n      function createFlowType(type, incomplete) {\n        return incomplete ? { flags: 0, type: type.flags & 131072 ? silentNeverType : type } : type;\n      }\n      function createEvolvingArrayType(elementType) {\n        const result = createObjectType(\n          256\n          /* EvolvingArray */\n        );\n        result.elementType = elementType;\n        return result;\n      }\n      function getEvolvingArrayType(elementType) {\n        return evolvingArrayTypes[elementType.id] || (evolvingArrayTypes[elementType.id] = createEvolvingArrayType(elementType));\n      }\n      function addEvolvingArrayElementType(evolvingArrayType, node) {\n        const elementType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(getContextFreeTypeOfExpression(node)));\n        return isTypeSubsetOf(elementType, evolvingArrayType.elementType) ? evolvingArrayType : getEvolvingArrayType(getUnionType([evolvingArrayType.elementType, elementType]));\n      }\n      function createFinalArrayType(elementType) {\n        return elementType.flags & 131072 ? autoArrayType : createArrayType(elementType.flags & 1048576 ? getUnionType(\n          elementType.types,\n          2\n          /* Subtype */\n        ) : elementType);\n      }\n      function getFinalArrayType(evolvingArrayType) {\n        return evolvingArrayType.finalArrayType || (evolvingArrayType.finalArrayType = createFinalArrayType(evolvingArrayType.elementType));\n      }\n      function finalizeEvolvingArrayType(type) {\n        return getObjectFlags(type) & 256 ? getFinalArrayType(type) : type;\n      }\n      function getElementTypeOfEvolvingArrayType(type) {\n        return getObjectFlags(type) & 256 ? type.elementType : neverType;\n      }\n      function isEvolvingArrayTypeList(types) {\n        let hasEvolvingArrayType = false;\n        for (const t of types) {\n          if (!(t.flags & 131072)) {\n            if (!(getObjectFlags(t) & 256)) {\n              return false;\n            }\n            hasEvolvingArrayType = true;\n          }\n        }\n        return hasEvolvingArrayType;\n      }\n      function isEvolvingArrayOperationTarget(node) {\n        const root = getReferenceRoot(node);\n        const parent2 = root.parent;\n        const isLengthPushOrUnshift = isPropertyAccessExpression(parent2) && (parent2.name.escapedText === \"length\" || parent2.parent.kind === 210 && isIdentifier(parent2.name) && isPushOrUnshiftIdentifier(parent2.name));\n        const isElementAssignment = parent2.kind === 209 && parent2.expression === root && parent2.parent.kind === 223 && parent2.parent.operatorToken.kind === 63 && parent2.parent.left === parent2 && !isAssignmentTarget(parent2.parent) && isTypeAssignableToKind(\n          getTypeOfExpression(parent2.argumentExpression),\n          296\n          /* NumberLike */\n        );\n        return isLengthPushOrUnshift || isElementAssignment;\n      }\n      function isDeclarationWithExplicitTypeAnnotation(node) {\n        return (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isParameter(node)) && !!(getEffectiveTypeAnnotationNode(node) || isInJSFile(node) && hasInitializer(node) && node.initializer && isFunctionExpressionOrArrowFunction(node.initializer) && getEffectiveReturnTypeNode(node.initializer));\n      }\n      function getExplicitTypeOfSymbol(symbol, diagnostic) {\n        symbol = resolveSymbol(symbol);\n        if (symbol.flags & (16 | 8192 | 32 | 512)) {\n          return getTypeOfSymbol(symbol);\n        }\n        if (symbol.flags & (3 | 4)) {\n          if (getCheckFlags(symbol) & 262144) {\n            const origin = symbol.links.syntheticOrigin;\n            if (origin && getExplicitTypeOfSymbol(origin)) {\n              return getTypeOfSymbol(symbol);\n            }\n          }\n          const declaration = symbol.valueDeclaration;\n          if (declaration) {\n            if (isDeclarationWithExplicitTypeAnnotation(declaration)) {\n              return getTypeOfSymbol(symbol);\n            }\n            if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 247) {\n              const statement = declaration.parent.parent;\n              const expressionType = getTypeOfDottedName(\n                statement.expression,\n                /*diagnostic*/\n                void 0\n              );\n              if (expressionType) {\n                const use = statement.awaitModifier ? 15 : 13;\n                return checkIteratedTypeOrElementType(\n                  use,\n                  expressionType,\n                  undefinedType,\n                  /*errorNode*/\n                  void 0\n                );\n              }\n            }\n            if (diagnostic) {\n              addRelatedInfo(diagnostic, createDiagnosticForNode(declaration, Diagnostics._0_needs_an_explicit_type_annotation, symbolToString(symbol)));\n            }\n          }\n        }\n      }\n      function getTypeOfDottedName(node, diagnostic) {\n        if (!(node.flags & 33554432)) {\n          switch (node.kind) {\n            case 79:\n              const symbol = getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(node));\n              return getExplicitTypeOfSymbol(symbol, diagnostic);\n            case 108:\n              return getExplicitThisType(node);\n            case 106:\n              return checkSuperExpression(node);\n            case 208: {\n              const type = getTypeOfDottedName(node.expression, diagnostic);\n              if (type) {\n                const name = node.name;\n                let prop;\n                if (isPrivateIdentifier(name)) {\n                  if (!type.symbol) {\n                    return void 0;\n                  }\n                  prop = getPropertyOfType(type, getSymbolNameForPrivateIdentifier(type.symbol, name.escapedText));\n                } else {\n                  prop = getPropertyOfType(type, name.escapedText);\n                }\n                return prop && getExplicitTypeOfSymbol(prop, diagnostic);\n              }\n              return void 0;\n            }\n            case 214:\n              return getTypeOfDottedName(node.expression, diagnostic);\n          }\n        }\n      }\n      function getEffectsSignature(node) {\n        const links = getNodeLinks(node);\n        let signature = links.effectsSignature;\n        if (signature === void 0) {\n          let funcType;\n          if (node.parent.kind === 241) {\n            funcType = getTypeOfDottedName(\n              node.expression,\n              /*diagnostic*/\n              void 0\n            );\n          } else if (node.expression.kind !== 106) {\n            if (isOptionalChain(node)) {\n              funcType = checkNonNullType(\n                getOptionalExpressionType(checkExpression(node.expression), node.expression),\n                node.expression\n              );\n            } else {\n              funcType = checkNonNullExpression(node.expression);\n            }\n          }\n          const signatures = getSignaturesOfType(\n            funcType && getApparentType(funcType) || unknownType,\n            0\n            /* Call */\n          );\n          const candidate = signatures.length === 1 && !signatures[0].typeParameters ? signatures[0] : some(signatures, hasTypePredicateOrNeverReturnType) ? getResolvedSignature(node) : void 0;\n          signature = links.effectsSignature = candidate && hasTypePredicateOrNeverReturnType(candidate) ? candidate : unknownSignature;\n        }\n        return signature === unknownSignature ? void 0 : signature;\n      }\n      function hasTypePredicateOrNeverReturnType(signature) {\n        return !!(getTypePredicateOfSignature(signature) || signature.declaration && (getReturnTypeFromAnnotation(signature.declaration) || unknownType).flags & 131072);\n      }\n      function getTypePredicateArgument(predicate, callExpression) {\n        if (predicate.kind === 1 || predicate.kind === 3) {\n          return callExpression.arguments[predicate.parameterIndex];\n        }\n        const invokedExpression = skipParentheses(callExpression.expression);\n        return isAccessExpression(invokedExpression) ? skipParentheses(invokedExpression.expression) : void 0;\n      }\n      function reportFlowControlError(node) {\n        const block = findAncestor(node, isFunctionOrModuleBlock);\n        const sourceFile = getSourceFileOfNode(node);\n        const span = getSpanOfTokenAtPosition(sourceFile, block.statements.pos);\n        diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis));\n      }\n      function isReachableFlowNode(flow) {\n        const result = isReachableFlowNodeWorker(\n          flow,\n          /*noCacheCheck*/\n          false\n        );\n        lastFlowNode = flow;\n        lastFlowNodeReachable = result;\n        return result;\n      }\n      function isFalseExpression(expr) {\n        const node = skipParentheses(\n          expr,\n          /*excludeJSDocTypeAssertions*/\n          true\n        );\n        return node.kind === 95 || node.kind === 223 && (node.operatorToken.kind === 55 && (isFalseExpression(node.left) || isFalseExpression(node.right)) || node.operatorToken.kind === 56 && isFalseExpression(node.left) && isFalseExpression(node.right));\n      }\n      function isReachableFlowNodeWorker(flow, noCacheCheck) {\n        while (true) {\n          if (flow === lastFlowNode) {\n            return lastFlowNodeReachable;\n          }\n          const flags = flow.flags;\n          if (flags & 4096) {\n            if (!noCacheCheck) {\n              const id = getFlowNodeId(flow);\n              const reachable = flowNodeReachable[id];\n              return reachable !== void 0 ? reachable : flowNodeReachable[id] = isReachableFlowNodeWorker(\n                flow,\n                /*noCacheCheck*/\n                true\n              );\n            }\n            noCacheCheck = false;\n          }\n          if (flags & (16 | 96 | 256)) {\n            flow = flow.antecedent;\n          } else if (flags & 512) {\n            const signature = getEffectsSignature(flow.node);\n            if (signature) {\n              const predicate = getTypePredicateOfSignature(signature);\n              if (predicate && predicate.kind === 3 && !predicate.type) {\n                const predicateArgument = flow.node.arguments[predicate.parameterIndex];\n                if (predicateArgument && isFalseExpression(predicateArgument)) {\n                  return false;\n                }\n              }\n              if (getReturnTypeOfSignature(signature).flags & 131072) {\n                return false;\n              }\n            }\n            flow = flow.antecedent;\n          } else if (flags & 4) {\n            return some(flow.antecedents, (f) => isReachableFlowNodeWorker(\n              f,\n              /*noCacheCheck*/\n              false\n            ));\n          } else if (flags & 8) {\n            const antecedents = flow.antecedents;\n            if (antecedents === void 0 || antecedents.length === 0) {\n              return false;\n            }\n            flow = antecedents[0];\n          } else if (flags & 128) {\n            if (flow.clauseStart === flow.clauseEnd && isExhaustiveSwitchStatement(flow.switchStatement)) {\n              return false;\n            }\n            flow = flow.antecedent;\n          } else if (flags & 1024) {\n            lastFlowNode = void 0;\n            const target = flow.target;\n            const saveAntecedents = target.antecedents;\n            target.antecedents = flow.antecedents;\n            const result = isReachableFlowNodeWorker(\n              flow.antecedent,\n              /*noCacheCheck*/\n              false\n            );\n            target.antecedents = saveAntecedents;\n            return result;\n          } else {\n            return !(flags & 1);\n          }\n        }\n      }\n      function isPostSuperFlowNode(flow, noCacheCheck) {\n        while (true) {\n          const flags = flow.flags;\n          if (flags & 4096) {\n            if (!noCacheCheck) {\n              const id = getFlowNodeId(flow);\n              const postSuper = flowNodePostSuper[id];\n              return postSuper !== void 0 ? postSuper : flowNodePostSuper[id] = isPostSuperFlowNode(\n                flow,\n                /*noCacheCheck*/\n                true\n              );\n            }\n            noCacheCheck = false;\n          }\n          if (flags & (16 | 96 | 256 | 128)) {\n            flow = flow.antecedent;\n          } else if (flags & 512) {\n            if (flow.node.expression.kind === 106) {\n              return true;\n            }\n            flow = flow.antecedent;\n          } else if (flags & 4) {\n            return every(flow.antecedents, (f) => isPostSuperFlowNode(\n              f,\n              /*noCacheCheck*/\n              false\n            ));\n          } else if (flags & 8) {\n            flow = flow.antecedents[0];\n          } else if (flags & 1024) {\n            const target = flow.target;\n            const saveAntecedents = target.antecedents;\n            target.antecedents = flow.antecedents;\n            const result = isPostSuperFlowNode(\n              flow.antecedent,\n              /*noCacheCheck*/\n              false\n            );\n            target.antecedents = saveAntecedents;\n            return result;\n          } else {\n            return !!(flags & 1);\n          }\n        }\n      }\n      function isConstantReference(node) {\n        switch (node.kind) {\n          case 79:\n            if (!isThisInTypeQuery(node)) {\n              const symbol = getResolvedSymbol(node);\n              return isConstVariable(symbol) || isParameterOrCatchClauseVariable(symbol) && !isSymbolAssigned(symbol);\n            }\n            break;\n          case 208:\n          case 209:\n            return isConstantReference(node.expression) && isReadonlySymbol(getNodeLinks(node).resolvedSymbol || unknownSymbol);\n        }\n        return false;\n      }\n      function getFlowTypeOfReference(reference, declaredType, initialType = declaredType, flowContainer, flowNode = ((_a22) => (_a22 = tryCast(reference, canHaveFlowNode)) == null ? void 0 : _a22.flowNode)()) {\n        let key;\n        let isKeySet = false;\n        let flowDepth = 0;\n        if (flowAnalysisDisabled) {\n          return errorType;\n        }\n        if (!flowNode) {\n          return declaredType;\n        }\n        flowInvocationCount++;\n        const sharedFlowStart = sharedFlowCount;\n        const evolvedType = getTypeFromFlowType(getTypeAtFlowNode(flowNode));\n        sharedFlowCount = sharedFlowStart;\n        const resultType = getObjectFlags(evolvedType) & 256 && isEvolvingArrayOperationTarget(reference) ? autoArrayType : finalizeEvolvingArrayType(evolvedType);\n        if (resultType === unreachableNeverType || reference.parent && reference.parent.kind === 232 && !(resultType.flags & 131072) && getTypeWithFacts(\n          resultType,\n          2097152\n          /* NEUndefinedOrNull */\n        ).flags & 131072) {\n          return declaredType;\n        }\n        return resultType === nonNullUnknownType ? unknownType : resultType;\n        function getOrSetCacheKey() {\n          if (isKeySet) {\n            return key;\n          }\n          isKeySet = true;\n          return key = getFlowCacheKey(reference, declaredType, initialType, flowContainer);\n        }\n        function getTypeAtFlowNode(flow) {\n          var _a32;\n          if (flowDepth === 2e3) {\n            (_a32 = tracing) == null ? void 0 : _a32.instant(tracing.Phase.CheckTypes, \"getTypeAtFlowNode_DepthLimit\", { flowId: flow.id });\n            flowAnalysisDisabled = true;\n            reportFlowControlError(reference);\n            return errorType;\n          }\n          flowDepth++;\n          let sharedFlow;\n          while (true) {\n            const flags = flow.flags;\n            if (flags & 4096) {\n              for (let i = sharedFlowStart; i < sharedFlowCount; i++) {\n                if (sharedFlowNodes[i] === flow) {\n                  flowDepth--;\n                  return sharedFlowTypes[i];\n                }\n              }\n              sharedFlow = flow;\n            }\n            let type;\n            if (flags & 16) {\n              type = getTypeAtFlowAssignment(flow);\n              if (!type) {\n                flow = flow.antecedent;\n                continue;\n              }\n            } else if (flags & 512) {\n              type = getTypeAtFlowCall(flow);\n              if (!type) {\n                flow = flow.antecedent;\n                continue;\n              }\n            } else if (flags & 96) {\n              type = getTypeAtFlowCondition(flow);\n            } else if (flags & 128) {\n              type = getTypeAtSwitchClause(flow);\n            } else if (flags & 12) {\n              if (flow.antecedents.length === 1) {\n                flow = flow.antecedents[0];\n                continue;\n              }\n              type = flags & 4 ? getTypeAtFlowBranchLabel(flow) : getTypeAtFlowLoopLabel(flow);\n            } else if (flags & 256) {\n              type = getTypeAtFlowArrayMutation(flow);\n              if (!type) {\n                flow = flow.antecedent;\n                continue;\n              }\n            } else if (flags & 1024) {\n              const target = flow.target;\n              const saveAntecedents = target.antecedents;\n              target.antecedents = flow.antecedents;\n              type = getTypeAtFlowNode(flow.antecedent);\n              target.antecedents = saveAntecedents;\n            } else if (flags & 2) {\n              const container = flow.node;\n              if (container && container !== flowContainer && reference.kind !== 208 && reference.kind !== 209 && reference.kind !== 108) {\n                flow = container.flowNode;\n                continue;\n              }\n              type = initialType;\n            } else {\n              type = convertAutoToAny(declaredType);\n            }\n            if (sharedFlow) {\n              sharedFlowNodes[sharedFlowCount] = sharedFlow;\n              sharedFlowTypes[sharedFlowCount] = type;\n              sharedFlowCount++;\n            }\n            flowDepth--;\n            return type;\n          }\n        }\n        function getInitialOrAssignedType(flow) {\n          const node = flow.node;\n          return getNarrowableTypeForReference(node.kind === 257 || node.kind === 205 ? getInitialType(node) : getAssignedType(node), reference);\n        }\n        function getTypeAtFlowAssignment(flow) {\n          const node = flow.node;\n          if (isMatchingReference(reference, node)) {\n            if (!isReachableFlowNode(flow)) {\n              return unreachableNeverType;\n            }\n            if (getAssignmentTargetKind(node) === 2) {\n              const flowType = getTypeAtFlowNode(flow.antecedent);\n              return createFlowType(getBaseTypeOfLiteralType(getTypeFromFlowType(flowType)), isIncomplete(flowType));\n            }\n            if (declaredType === autoType || declaredType === autoArrayType) {\n              if (isEmptyArrayAssignment(node)) {\n                return getEvolvingArrayType(neverType);\n              }\n              const assignedType = getWidenedLiteralType(getInitialOrAssignedType(flow));\n              return isTypeAssignableTo(assignedType, declaredType) ? assignedType : anyArrayType;\n            }\n            if (declaredType.flags & 1048576) {\n              return getAssignmentReducedType(declaredType, getInitialOrAssignedType(flow));\n            }\n            return declaredType;\n          }\n          if (containsMatchingReference(reference, node)) {\n            if (!isReachableFlowNode(flow)) {\n              return unreachableNeverType;\n            }\n            if (isVariableDeclaration(node) && (isInJSFile(node) || isVarConst(node))) {\n              const init = getDeclaredExpandoInitializer(node);\n              if (init && (init.kind === 215 || init.kind === 216)) {\n                return getTypeAtFlowNode(flow.antecedent);\n              }\n            }\n            return declaredType;\n          }\n          if (isVariableDeclaration(node) && node.parent.parent.kind === 246 && (isMatchingReference(reference, node.parent.parent.expression) || optionalChainContainsReference(node.parent.parent.expression, reference))) {\n            return getNonNullableTypeIfNeeded(finalizeEvolvingArrayType(getTypeFromFlowType(getTypeAtFlowNode(flow.antecedent))));\n          }\n          return void 0;\n        }\n        function narrowTypeByAssertion(type, expr) {\n          const node = skipParentheses(\n            expr,\n            /*excludeJSDocTypeAssertions*/\n            true\n          );\n          if (node.kind === 95) {\n            return unreachableNeverType;\n          }\n          if (node.kind === 223) {\n            if (node.operatorToken.kind === 55) {\n              return narrowTypeByAssertion(narrowTypeByAssertion(type, node.left), node.right);\n            }\n            if (node.operatorToken.kind === 56) {\n              return getUnionType([narrowTypeByAssertion(type, node.left), narrowTypeByAssertion(type, node.right)]);\n            }\n          }\n          return narrowType(\n            type,\n            node,\n            /*assumeTrue*/\n            true\n          );\n        }\n        function getTypeAtFlowCall(flow) {\n          const signature = getEffectsSignature(flow.node);\n          if (signature) {\n            const predicate = getTypePredicateOfSignature(signature);\n            if (predicate && (predicate.kind === 2 || predicate.kind === 3)) {\n              const flowType = getTypeAtFlowNode(flow.antecedent);\n              const type = finalizeEvolvingArrayType(getTypeFromFlowType(flowType));\n              const narrowedType = predicate.type ? narrowTypeByTypePredicate(\n                type,\n                predicate,\n                flow.node,\n                /*assumeTrue*/\n                true\n              ) : predicate.kind === 3 && predicate.parameterIndex >= 0 && predicate.parameterIndex < flow.node.arguments.length ? narrowTypeByAssertion(type, flow.node.arguments[predicate.parameterIndex]) : type;\n              return narrowedType === type ? flowType : createFlowType(narrowedType, isIncomplete(flowType));\n            }\n            if (getReturnTypeOfSignature(signature).flags & 131072) {\n              return unreachableNeverType;\n            }\n          }\n          return void 0;\n        }\n        function getTypeAtFlowArrayMutation(flow) {\n          if (declaredType === autoType || declaredType === autoArrayType) {\n            const node = flow.node;\n            const expr = node.kind === 210 ? node.expression.expression : node.left.expression;\n            if (isMatchingReference(reference, getReferenceCandidate(expr))) {\n              const flowType = getTypeAtFlowNode(flow.antecedent);\n              const type = getTypeFromFlowType(flowType);\n              if (getObjectFlags(type) & 256) {\n                let evolvedType2 = type;\n                if (node.kind === 210) {\n                  for (const arg of node.arguments) {\n                    evolvedType2 = addEvolvingArrayElementType(evolvedType2, arg);\n                  }\n                } else {\n                  const indexType = getContextFreeTypeOfExpression(node.left.argumentExpression);\n                  if (isTypeAssignableToKind(\n                    indexType,\n                    296\n                    /* NumberLike */\n                  )) {\n                    evolvedType2 = addEvolvingArrayElementType(evolvedType2, node.right);\n                  }\n                }\n                return evolvedType2 === type ? flowType : createFlowType(evolvedType2, isIncomplete(flowType));\n              }\n              return flowType;\n            }\n          }\n          return void 0;\n        }\n        function getTypeAtFlowCondition(flow) {\n          const flowType = getTypeAtFlowNode(flow.antecedent);\n          const type = getTypeFromFlowType(flowType);\n          if (type.flags & 131072) {\n            return flowType;\n          }\n          const assumeTrue = (flow.flags & 32) !== 0;\n          const nonEvolvingType = finalizeEvolvingArrayType(type);\n          const narrowedType = narrowType(nonEvolvingType, flow.node, assumeTrue);\n          if (narrowedType === nonEvolvingType) {\n            return flowType;\n          }\n          return createFlowType(narrowedType, isIncomplete(flowType));\n        }\n        function getTypeAtSwitchClause(flow) {\n          const expr = flow.switchStatement.expression;\n          const flowType = getTypeAtFlowNode(flow.antecedent);\n          let type = getTypeFromFlowType(flowType);\n          if (isMatchingReference(reference, expr)) {\n            type = narrowTypeBySwitchOnDiscriminant(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);\n          } else if (expr.kind === 218 && isMatchingReference(reference, expr.expression)) {\n            type = narrowTypeBySwitchOnTypeOf(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);\n          } else {\n            if (strictNullChecks) {\n              if (optionalChainContainsReference(expr, reference)) {\n                type = narrowTypeBySwitchOptionalChainContainment(\n                  type,\n                  flow.switchStatement,\n                  flow.clauseStart,\n                  flow.clauseEnd,\n                  (t) => !(t.flags & (32768 | 131072))\n                );\n              } else if (expr.kind === 218 && optionalChainContainsReference(expr.expression, reference)) {\n                type = narrowTypeBySwitchOptionalChainContainment(\n                  type,\n                  flow.switchStatement,\n                  flow.clauseStart,\n                  flow.clauseEnd,\n                  (t) => !(t.flags & 131072 || t.flags & 128 && t.value === \"undefined\")\n                );\n              }\n            }\n            const access = getDiscriminantPropertyAccess(expr, type);\n            if (access) {\n              type = narrowTypeBySwitchOnDiscriminantProperty(type, access, flow.switchStatement, flow.clauseStart, flow.clauseEnd);\n            }\n          }\n          return createFlowType(type, isIncomplete(flowType));\n        }\n        function getTypeAtFlowBranchLabel(flow) {\n          const antecedentTypes = [];\n          let subtypeReduction = false;\n          let seenIncomplete = false;\n          let bypassFlow;\n          for (const antecedent of flow.antecedents) {\n            if (!bypassFlow && antecedent.flags & 128 && antecedent.clauseStart === antecedent.clauseEnd) {\n              bypassFlow = antecedent;\n              continue;\n            }\n            const flowType = getTypeAtFlowNode(antecedent);\n            const type = getTypeFromFlowType(flowType);\n            if (type === declaredType && declaredType === initialType) {\n              return type;\n            }\n            pushIfUnique(antecedentTypes, type);\n            if (!isTypeSubsetOf(type, declaredType)) {\n              subtypeReduction = true;\n            }\n            if (isIncomplete(flowType)) {\n              seenIncomplete = true;\n            }\n          }\n          if (bypassFlow) {\n            const flowType = getTypeAtFlowNode(bypassFlow);\n            const type = getTypeFromFlowType(flowType);\n            if (!(type.flags & 131072) && !contains(antecedentTypes, type) && !isExhaustiveSwitchStatement(bypassFlow.switchStatement)) {\n              if (type === declaredType && declaredType === initialType) {\n                return type;\n              }\n              antecedentTypes.push(type);\n              if (!isTypeSubsetOf(type, declaredType)) {\n                subtypeReduction = true;\n              }\n              if (isIncomplete(flowType)) {\n                seenIncomplete = true;\n              }\n            }\n          }\n          return createFlowType(getUnionOrEvolvingArrayType(\n            antecedentTypes,\n            subtypeReduction ? 2 : 1\n            /* Literal */\n          ), seenIncomplete);\n        }\n        function getTypeAtFlowLoopLabel(flow) {\n          const id = getFlowNodeId(flow);\n          const cache = flowLoopCaches[id] || (flowLoopCaches[id] = /* @__PURE__ */ new Map());\n          const key2 = getOrSetCacheKey();\n          if (!key2) {\n            return declaredType;\n          }\n          const cached = cache.get(key2);\n          if (cached) {\n            return cached;\n          }\n          for (let i = flowLoopStart; i < flowLoopCount; i++) {\n            if (flowLoopNodes[i] === flow && flowLoopKeys[i] === key2 && flowLoopTypes[i].length) {\n              return createFlowType(\n                getUnionOrEvolvingArrayType(\n                  flowLoopTypes[i],\n                  1\n                  /* Literal */\n                ),\n                /*incomplete*/\n                true\n              );\n            }\n          }\n          const antecedentTypes = [];\n          let subtypeReduction = false;\n          let firstAntecedentType;\n          for (const antecedent of flow.antecedents) {\n            let flowType;\n            if (!firstAntecedentType) {\n              flowType = firstAntecedentType = getTypeAtFlowNode(antecedent);\n            } else {\n              flowLoopNodes[flowLoopCount] = flow;\n              flowLoopKeys[flowLoopCount] = key2;\n              flowLoopTypes[flowLoopCount] = antecedentTypes;\n              flowLoopCount++;\n              const saveFlowTypeCache = flowTypeCache;\n              flowTypeCache = void 0;\n              flowType = getTypeAtFlowNode(antecedent);\n              flowTypeCache = saveFlowTypeCache;\n              flowLoopCount--;\n              const cached2 = cache.get(key2);\n              if (cached2) {\n                return cached2;\n              }\n            }\n            const type = getTypeFromFlowType(flowType);\n            pushIfUnique(antecedentTypes, type);\n            if (!isTypeSubsetOf(type, declaredType)) {\n              subtypeReduction = true;\n            }\n            if (type === declaredType) {\n              break;\n            }\n          }\n          const result = getUnionOrEvolvingArrayType(\n            antecedentTypes,\n            subtypeReduction ? 2 : 1\n            /* Literal */\n          );\n          if (isIncomplete(firstAntecedentType)) {\n            return createFlowType(\n              result,\n              /*incomplete*/\n              true\n            );\n          }\n          cache.set(key2, result);\n          return result;\n        }\n        function getUnionOrEvolvingArrayType(types, subtypeReduction) {\n          if (isEvolvingArrayTypeList(types)) {\n            return getEvolvingArrayType(getUnionType(map(types, getElementTypeOfEvolvingArrayType)));\n          }\n          const result = recombineUnknownType(getUnionType(sameMap(types, finalizeEvolvingArrayType), subtypeReduction));\n          if (result !== declaredType && result.flags & declaredType.flags & 1048576 && arraysEqual(result.types, declaredType.types)) {\n            return declaredType;\n          }\n          return result;\n        }\n        function getCandidateDiscriminantPropertyAccess(expr) {\n          if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {\n            if (isIdentifier(expr)) {\n              const symbol = getResolvedSymbol(expr);\n              const declaration = symbol.valueDeclaration;\n              if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {\n                return declaration;\n              }\n            }\n          } else if (isAccessExpression(expr)) {\n            if (isMatchingReference(reference, expr.expression)) {\n              return expr;\n            }\n          } else if (isIdentifier(expr)) {\n            const symbol = getResolvedSymbol(expr);\n            if (isConstVariable(symbol)) {\n              const declaration = symbol.valueDeclaration;\n              if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {\n                return declaration.initializer;\n              }\n              if (isBindingElement(declaration) && !declaration.initializer) {\n                const parent2 = declaration.parent.parent;\n                if (isVariableDeclaration(parent2) && !parent2.type && parent2.initializer && (isIdentifier(parent2.initializer) || isAccessExpression(parent2.initializer)) && isMatchingReference(reference, parent2.initializer)) {\n                  return declaration;\n                }\n              }\n            }\n          }\n          return void 0;\n        }\n        function getDiscriminantPropertyAccess(expr, computedType) {\n          const type = declaredType.flags & 1048576 ? declaredType : computedType;\n          if (type.flags & 1048576) {\n            const access = getCandidateDiscriminantPropertyAccess(expr);\n            if (access) {\n              const name = getAccessedPropertyName(access);\n              if (name && isDiscriminantProperty(type, name)) {\n                return access;\n              }\n            }\n          }\n          return void 0;\n        }\n        function narrowTypeByDiscriminant(type, access, narrowType2) {\n          const propName = getAccessedPropertyName(access);\n          if (propName === void 0) {\n            return type;\n          }\n          const optionalChain = isOptionalChain(access);\n          const removeNullable = strictNullChecks && (optionalChain || isNonNullAccess(access)) && maybeTypeOfKind(\n            type,\n            98304\n            /* Nullable */\n          );\n          let propType = getTypeOfPropertyOfType(removeNullable ? getTypeWithFacts(\n            type,\n            2097152\n            /* NEUndefinedOrNull */\n          ) : type, propName);\n          if (!propType) {\n            return type;\n          }\n          propType = removeNullable && optionalChain ? getOptionalType(propType) : propType;\n          const narrowedPropType = narrowType2(propType);\n          return filterType(type, (t) => {\n            const discriminantType = getTypeOfPropertyOrIndexSignature(t, propName);\n            return !(discriminantType.flags & 131072) && !(narrowedPropType.flags & 131072) && areTypesComparable(narrowedPropType, discriminantType);\n          });\n        }\n        function narrowTypeByDiscriminantProperty(type, access, operator, value, assumeTrue) {\n          if ((operator === 36 || operator === 37) && type.flags & 1048576) {\n            const keyPropertyName = getKeyPropertyName(type);\n            if (keyPropertyName && keyPropertyName === getAccessedPropertyName(access)) {\n              const candidate = getConstituentTypeForKeyType(type, getTypeOfExpression(value));\n              if (candidate) {\n                return operator === (assumeTrue ? 36 : 37) ? candidate : isUnitType(getTypeOfPropertyOfType(candidate, keyPropertyName) || unknownType) ? removeType(type, candidate) : type;\n              }\n            }\n          }\n          return narrowTypeByDiscriminant(type, access, (t) => narrowTypeByEquality(t, operator, value, assumeTrue));\n        }\n        function narrowTypeBySwitchOnDiscriminantProperty(type, access, switchStatement, clauseStart, clauseEnd) {\n          if (clauseStart < clauseEnd && type.flags & 1048576 && getKeyPropertyName(type) === getAccessedPropertyName(access)) {\n            const clauseTypes = getSwitchClauseTypes(switchStatement).slice(clauseStart, clauseEnd);\n            const candidate = getUnionType(map(clauseTypes, (t) => getConstituentTypeForKeyType(type, t) || unknownType));\n            if (candidate !== unknownType) {\n              return candidate;\n            }\n          }\n          return narrowTypeByDiscriminant(type, access, (t) => narrowTypeBySwitchOnDiscriminant(t, switchStatement, clauseStart, clauseEnd));\n        }\n        function narrowTypeByTruthiness(type, expr, assumeTrue) {\n          if (isMatchingReference(reference, expr)) {\n            return getAdjustedTypeWithFacts(\n              type,\n              assumeTrue ? 4194304 : 8388608\n              /* Falsy */\n            );\n          }\n          if (strictNullChecks && assumeTrue && optionalChainContainsReference(expr, reference)) {\n            type = getAdjustedTypeWithFacts(\n              type,\n              2097152\n              /* NEUndefinedOrNull */\n            );\n          }\n          const access = getDiscriminantPropertyAccess(expr, type);\n          if (access) {\n            return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(\n              t,\n              assumeTrue ? 4194304 : 8388608\n              /* Falsy */\n            ));\n          }\n          return type;\n        }\n        function isTypePresencePossible(type, propName, assumeTrue) {\n          const prop = getPropertyOfType(type, propName);\n          return prop ? !!(prop.flags & 16777216) || assumeTrue : !!getApplicableIndexInfoForName(type, propName) || !assumeTrue;\n        }\n        function narrowTypeByInKeyword(type, nameType, assumeTrue) {\n          const name = getPropertyNameFromType(nameType);\n          const isKnownProperty2 = someType(type, (t) => isTypePresencePossible(\n            t,\n            name,\n            /*assumeTrue*/\n            true\n          ));\n          if (isKnownProperty2) {\n            return filterType(type, (t) => isTypePresencePossible(t, name, assumeTrue));\n          }\n          if (assumeTrue) {\n            const recordSymbol = getGlobalRecordSymbol();\n            if (recordSymbol) {\n              return getIntersectionType([type, getTypeAliasInstantiation(recordSymbol, [nameType, unknownType])]);\n            }\n          }\n          return type;\n        }\n        function narrowTypeByBinaryExpression(type, expr, assumeTrue) {\n          switch (expr.operatorToken.kind) {\n            case 63:\n            case 75:\n            case 76:\n            case 77:\n              return narrowTypeByTruthiness(narrowType(type, expr.right, assumeTrue), expr.left, assumeTrue);\n            case 34:\n            case 35:\n            case 36:\n            case 37:\n              const operator = expr.operatorToken.kind;\n              const left = getReferenceCandidate(expr.left);\n              const right = getReferenceCandidate(expr.right);\n              if (left.kind === 218 && isStringLiteralLike(right)) {\n                return narrowTypeByTypeof(type, left, operator, right, assumeTrue);\n              }\n              if (right.kind === 218 && isStringLiteralLike(left)) {\n                return narrowTypeByTypeof(type, right, operator, left, assumeTrue);\n              }\n              if (isMatchingReference(reference, left)) {\n                return narrowTypeByEquality(type, operator, right, assumeTrue);\n              }\n              if (isMatchingReference(reference, right)) {\n                return narrowTypeByEquality(type, operator, left, assumeTrue);\n              }\n              if (strictNullChecks) {\n                if (optionalChainContainsReference(left, reference)) {\n                  type = narrowTypeByOptionalChainContainment(type, operator, right, assumeTrue);\n                } else if (optionalChainContainsReference(right, reference)) {\n                  type = narrowTypeByOptionalChainContainment(type, operator, left, assumeTrue);\n                }\n              }\n              const leftAccess = getDiscriminantPropertyAccess(left, type);\n              if (leftAccess) {\n                return narrowTypeByDiscriminantProperty(type, leftAccess, operator, right, assumeTrue);\n              }\n              const rightAccess = getDiscriminantPropertyAccess(right, type);\n              if (rightAccess) {\n                return narrowTypeByDiscriminantProperty(type, rightAccess, operator, left, assumeTrue);\n              }\n              if (isMatchingConstructorReference(left)) {\n                return narrowTypeByConstructor(type, operator, right, assumeTrue);\n              }\n              if (isMatchingConstructorReference(right)) {\n                return narrowTypeByConstructor(type, operator, left, assumeTrue);\n              }\n              break;\n            case 102:\n              return narrowTypeByInstanceof(type, expr, assumeTrue);\n            case 101:\n              if (isPrivateIdentifier(expr.left)) {\n                return narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue);\n              }\n              const target = getReferenceCandidate(expr.right);\n              const leftType = getTypeOfExpression(expr.left);\n              if (leftType.flags & 8576) {\n                if (containsMissingType(type) && isAccessExpression(reference) && isMatchingReference(reference.expression, target) && getAccessedPropertyName(reference) === getPropertyNameFromType(leftType)) {\n                  return getTypeWithFacts(\n                    type,\n                    assumeTrue ? 524288 : 65536\n                    /* EQUndefined */\n                  );\n                }\n                if (isMatchingReference(reference, target)) {\n                  return narrowTypeByInKeyword(type, leftType, assumeTrue);\n                }\n              }\n              break;\n            case 27:\n              return narrowType(type, expr.right, assumeTrue);\n            case 55:\n              return assumeTrue ? narrowType(\n                narrowType(\n                  type,\n                  expr.left,\n                  /*assumeTrue*/\n                  true\n                ),\n                expr.right,\n                /*assumeTrue*/\n                true\n              ) : getUnionType([narrowType(\n                type,\n                expr.left,\n                /*assumeTrue*/\n                false\n              ), narrowType(\n                type,\n                expr.right,\n                /*assumeTrue*/\n                false\n              )]);\n            case 56:\n              return assumeTrue ? getUnionType([narrowType(\n                type,\n                expr.left,\n                /*assumeTrue*/\n                true\n              ), narrowType(\n                type,\n                expr.right,\n                /*assumeTrue*/\n                true\n              )]) : narrowType(\n                narrowType(\n                  type,\n                  expr.left,\n                  /*assumeTrue*/\n                  false\n                ),\n                expr.right,\n                /*assumeTrue*/\n                false\n              );\n          }\n          return type;\n        }\n        function narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue) {\n          const target = getReferenceCandidate(expr.right);\n          if (!isMatchingReference(reference, target)) {\n            return type;\n          }\n          Debug2.assertNode(expr.left, isPrivateIdentifier);\n          const symbol = getSymbolForPrivateIdentifierExpression(expr.left);\n          if (symbol === void 0) {\n            return type;\n          }\n          const classSymbol = symbol.parent;\n          const targetType = hasStaticModifier(Debug2.checkDefined(symbol.valueDeclaration, \"should always have a declaration\")) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol);\n          return getNarrowedType(\n            type,\n            targetType,\n            assumeTrue,\n            /*checkDerived*/\n            true\n          );\n        }\n        function narrowTypeByOptionalChainContainment(type, operator, value, assumeTrue) {\n          const equalsOperator = operator === 34 || operator === 36;\n          const nullableFlags = operator === 34 || operator === 35 ? 98304 : 32768;\n          const valueType = getTypeOfExpression(value);\n          const removeNullable = equalsOperator !== assumeTrue && everyType(valueType, (t) => !!(t.flags & nullableFlags)) || equalsOperator === assumeTrue && everyType(valueType, (t) => !(t.flags & (3 | nullableFlags)));\n          return removeNullable ? getAdjustedTypeWithFacts(\n            type,\n            2097152\n            /* NEUndefinedOrNull */\n          ) : type;\n        }\n        function narrowTypeByEquality(type, operator, value, assumeTrue) {\n          if (type.flags & 1) {\n            return type;\n          }\n          if (operator === 35 || operator === 37) {\n            assumeTrue = !assumeTrue;\n          }\n          const valueType = getTypeOfExpression(value);\n          const doubleEquals = operator === 34 || operator === 35;\n          if (valueType.flags & 98304) {\n            if (!strictNullChecks) {\n              return type;\n            }\n            const facts = doubleEquals ? assumeTrue ? 262144 : 2097152 : valueType.flags & 65536 ? assumeTrue ? 131072 : 1048576 : assumeTrue ? 65536 : 524288;\n            return getAdjustedTypeWithFacts(type, facts);\n          }\n          if (assumeTrue) {\n            if (!doubleEquals && (type.flags & 2 || someType(type, isEmptyAnonymousObjectType))) {\n              if (valueType.flags & (134348796 | 67108864) || isEmptyAnonymousObjectType(valueType)) {\n                return valueType;\n              }\n              if (valueType.flags & 524288) {\n                return nonPrimitiveType;\n              }\n            }\n            const filteredType = filterType(type, (t) => areTypesComparable(t, valueType) || doubleEquals && isCoercibleUnderDoubleEquals(t, valueType));\n            return replacePrimitivesWithLiterals(filteredType, valueType);\n          }\n          if (isUnitType(valueType)) {\n            return filterType(type, (t) => !(isUnitLikeType(t) && areTypesComparable(t, valueType)));\n          }\n          return type;\n        }\n        function narrowTypeByTypeof(type, typeOfExpr, operator, literal, assumeTrue) {\n          if (operator === 35 || operator === 37) {\n            assumeTrue = !assumeTrue;\n          }\n          const target = getReferenceCandidate(typeOfExpr.expression);\n          if (!isMatchingReference(reference, target)) {\n            if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== \"undefined\")) {\n              type = getAdjustedTypeWithFacts(\n                type,\n                2097152\n                /* NEUndefinedOrNull */\n              );\n            }\n            const propertyAccess = getDiscriminantPropertyAccess(target, type);\n            if (propertyAccess) {\n              return narrowTypeByDiscriminant(type, propertyAccess, (t) => narrowTypeByLiteralExpression(t, literal, assumeTrue));\n            }\n            return type;\n          }\n          return narrowTypeByLiteralExpression(type, literal, assumeTrue);\n        }\n        function narrowTypeByLiteralExpression(type, literal, assumeTrue) {\n          return assumeTrue ? narrowTypeByTypeName(type, literal.text) : getAdjustedTypeWithFacts(\n            type,\n            typeofNEFacts.get(literal.text) || 32768\n            /* TypeofNEHostObject */\n          );\n        }\n        function narrowTypeBySwitchOptionalChainContainment(type, switchStatement, clauseStart, clauseEnd, clauseCheck) {\n          const everyClauseChecks = clauseStart !== clauseEnd && every(getSwitchClauseTypes(switchStatement).slice(clauseStart, clauseEnd), clauseCheck);\n          return everyClauseChecks ? getTypeWithFacts(\n            type,\n            2097152\n            /* NEUndefinedOrNull */\n          ) : type;\n        }\n        function narrowTypeBySwitchOnDiscriminant(type, switchStatement, clauseStart, clauseEnd) {\n          const switchTypes = getSwitchClauseTypes(switchStatement);\n          if (!switchTypes.length) {\n            return type;\n          }\n          const clauseTypes = switchTypes.slice(clauseStart, clauseEnd);\n          const hasDefaultClause = clauseStart === clauseEnd || contains(clauseTypes, neverType);\n          if (type.flags & 2 && !hasDefaultClause) {\n            let groundClauseTypes;\n            for (let i = 0; i < clauseTypes.length; i += 1) {\n              const t = clauseTypes[i];\n              if (t.flags & (134348796 | 67108864)) {\n                if (groundClauseTypes !== void 0) {\n                  groundClauseTypes.push(t);\n                }\n              } else if (t.flags & 524288) {\n                if (groundClauseTypes === void 0) {\n                  groundClauseTypes = clauseTypes.slice(0, i);\n                }\n                groundClauseTypes.push(nonPrimitiveType);\n              } else {\n                return type;\n              }\n            }\n            return getUnionType(groundClauseTypes === void 0 ? clauseTypes : groundClauseTypes);\n          }\n          const discriminantType = getUnionType(clauseTypes);\n          const caseType = discriminantType.flags & 131072 ? neverType : replacePrimitivesWithLiterals(filterType(type, (t) => areTypesComparable(discriminantType, t)), discriminantType);\n          if (!hasDefaultClause) {\n            return caseType;\n          }\n          const defaultType = filterType(type, (t) => !(isUnitLikeType(t) && contains(switchTypes, getRegularTypeOfLiteralType(extractUnitType(t)))));\n          return caseType.flags & 131072 ? defaultType : getUnionType([caseType, defaultType]);\n        }\n        function narrowTypeByTypeName(type, typeName) {\n          switch (typeName) {\n            case \"string\":\n              return narrowTypeByTypeFacts(\n                type,\n                stringType,\n                1\n                /* TypeofEQString */\n              );\n            case \"number\":\n              return narrowTypeByTypeFacts(\n                type,\n                numberType,\n                2\n                /* TypeofEQNumber */\n              );\n            case \"bigint\":\n              return narrowTypeByTypeFacts(\n                type,\n                bigintType,\n                4\n                /* TypeofEQBigInt */\n              );\n            case \"boolean\":\n              return narrowTypeByTypeFacts(\n                type,\n                booleanType,\n                8\n                /* TypeofEQBoolean */\n              );\n            case \"symbol\":\n              return narrowTypeByTypeFacts(\n                type,\n                esSymbolType,\n                16\n                /* TypeofEQSymbol */\n              );\n            case \"object\":\n              return type.flags & 1 ? type : getUnionType([narrowTypeByTypeFacts(\n                type,\n                nonPrimitiveType,\n                32\n                /* TypeofEQObject */\n              ), narrowTypeByTypeFacts(\n                type,\n                nullType,\n                131072\n                /* EQNull */\n              )]);\n            case \"function\":\n              return type.flags & 1 ? type : narrowTypeByTypeFacts(\n                type,\n                globalFunctionType,\n                64\n                /* TypeofEQFunction */\n              );\n            case \"undefined\":\n              return narrowTypeByTypeFacts(\n                type,\n                undefinedType,\n                65536\n                /* EQUndefined */\n              );\n          }\n          return narrowTypeByTypeFacts(\n            type,\n            nonPrimitiveType,\n            128\n            /* TypeofEQHostObject */\n          );\n        }\n        function narrowTypeByTypeFacts(type, impliedType, facts) {\n          return mapType(type, (t) => (\n            // We first check if a constituent is a subtype of the implied type. If so, we either keep or eliminate\n            // the constituent based on its type facts. We use the strict subtype relation because it treats `object`\n            // as a subtype of `{}`, and we need the type facts check because function types are subtypes of `object`,\n            // but are classified as \"function\" according to `typeof`.\n            isTypeRelatedTo(t, impliedType, strictSubtypeRelation) ? getTypeFacts(t) & facts ? t : neverType : (\n              // We next check if the consituent is a supertype of the implied type. If so, we substitute the implied\n              // type. This handles top types like `unknown` and `{}`, and supertypes like `{ toString(): string }`.\n              isTypeSubtypeOf(impliedType, t) ? impliedType : (\n                // Neither the constituent nor the implied type is a subtype of the other, however their domains may still\n                // overlap. For example, an unconstrained type parameter and type `string`. If the type facts indicate\n                // possible overlap, we form an intersection. Otherwise, we eliminate the constituent.\n                getTypeFacts(t) & facts ? getIntersectionType([t, impliedType]) : neverType\n              )\n            )\n          ));\n        }\n        function narrowTypeBySwitchOnTypeOf(type, switchStatement, clauseStart, clauseEnd) {\n          const witnesses = getSwitchClauseTypeOfWitnesses(switchStatement);\n          if (!witnesses) {\n            return type;\n          }\n          const defaultIndex = findIndex(\n            switchStatement.caseBlock.clauses,\n            (clause) => clause.kind === 293\n            /* DefaultClause */\n          );\n          const hasDefaultClause = clauseStart === clauseEnd || defaultIndex >= clauseStart && defaultIndex < clauseEnd;\n          if (hasDefaultClause) {\n            const notEqualFacts = getNotEqualFactsFromTypeofSwitch(clauseStart, clauseEnd, witnesses);\n            return filterType(type, (t) => (getTypeFacts(t) & notEqualFacts) === notEqualFacts);\n          }\n          const clauseWitnesses = witnesses.slice(clauseStart, clauseEnd);\n          return getUnionType(map(clauseWitnesses, (text) => text ? narrowTypeByTypeName(type, text) : neverType));\n        }\n        function isMatchingConstructorReference(expr) {\n          return (isPropertyAccessExpression(expr) && idText(expr.name) === \"constructor\" || isElementAccessExpression(expr) && isStringLiteralLike(expr.argumentExpression) && expr.argumentExpression.text === \"constructor\") && isMatchingReference(reference, expr.expression);\n        }\n        function narrowTypeByConstructor(type, operator, identifier, assumeTrue) {\n          if (assumeTrue ? operator !== 34 && operator !== 36 : operator !== 35 && operator !== 37) {\n            return type;\n          }\n          const identifierType = getTypeOfExpression(identifier);\n          if (!isFunctionType(identifierType) && !isConstructorType(identifierType)) {\n            return type;\n          }\n          const prototypeProperty = getPropertyOfType(identifierType, \"prototype\");\n          if (!prototypeProperty) {\n            return type;\n          }\n          const prototypeType = getTypeOfSymbol(prototypeProperty);\n          const candidate = !isTypeAny(prototypeType) ? prototypeType : void 0;\n          if (!candidate || candidate === globalObjectType || candidate === globalFunctionType) {\n            return type;\n          }\n          if (isTypeAny(type)) {\n            return candidate;\n          }\n          return filterType(type, (t) => isConstructedBy(t, candidate));\n          function isConstructedBy(source, target) {\n            if (source.flags & 524288 && getObjectFlags(source) & 1 || target.flags & 524288 && getObjectFlags(target) & 1) {\n              return source.symbol === target.symbol;\n            }\n            return isTypeSubtypeOf(source, target);\n          }\n        }\n        function narrowTypeByInstanceof(type, expr, assumeTrue) {\n          const left = getReferenceCandidate(expr.left);\n          if (!isMatchingReference(reference, left)) {\n            if (assumeTrue && strictNullChecks && optionalChainContainsReference(left, reference)) {\n              return getAdjustedTypeWithFacts(\n                type,\n                2097152\n                /* NEUndefinedOrNull */\n              );\n            }\n            return type;\n          }\n          const rightType = getTypeOfExpression(expr.right);\n          if (!isTypeDerivedFrom(rightType, globalFunctionType)) {\n            return type;\n          }\n          const instanceType = mapType(rightType, getInstanceType);\n          if (isTypeAny(type) && (instanceType === globalObjectType || instanceType === globalFunctionType) || !assumeTrue && !(instanceType.flags & 524288 && !isEmptyAnonymousObjectType(instanceType))) {\n            return type;\n          }\n          return getNarrowedType(\n            type,\n            instanceType,\n            assumeTrue,\n            /*checkDerived*/\n            true\n          );\n        }\n        function getInstanceType(constructorType) {\n          const prototypePropertyType = getTypeOfPropertyOfType(constructorType, \"prototype\");\n          if (prototypePropertyType && !isTypeAny(prototypePropertyType)) {\n            return prototypePropertyType;\n          }\n          const constructSignatures = getSignaturesOfType(\n            constructorType,\n            1\n            /* Construct */\n          );\n          if (constructSignatures.length) {\n            return getUnionType(map(constructSignatures, (signature) => getReturnTypeOfSignature(getErasedSignature(signature))));\n          }\n          return emptyObjectType;\n        }\n        function getNarrowedType(type, candidate, assumeTrue, checkDerived) {\n          var _a32;\n          const key2 = type.flags & 1048576 ? `N${getTypeId(type)},${getTypeId(candidate)},${(assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)}` : void 0;\n          return (_a32 = getCachedType(key2)) != null ? _a32 : setCachedType(key2, getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived));\n        }\n        function getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived) {\n          if (!assumeTrue) {\n            if (checkDerived) {\n              return filterType(type, (t) => !isTypeDerivedFrom(t, candidate));\n            }\n            const trueType2 = getNarrowedType(\n              type,\n              candidate,\n              /*assumeTrue*/\n              true,\n              /*checkDerived*/\n              false\n            );\n            return filterType(type, (t) => !isTypeSubsetOf(t, trueType2));\n          }\n          if (type.flags & 3) {\n            return candidate;\n          }\n          const isRelated = checkDerived ? isTypeDerivedFrom : isTypeSubtypeOf;\n          const keyPropertyName = type.flags & 1048576 ? getKeyPropertyName(type) : void 0;\n          const narrowedType = mapType(candidate, (c) => {\n            const discriminant = keyPropertyName && getTypeOfPropertyOfType(c, keyPropertyName);\n            const matching = discriminant && getConstituentTypeForKeyType(type, discriminant);\n            const directlyRelated = mapType(matching || type, checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeStrictSubtypeOf(t, c) ? t : isTypeStrictSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : isTypeSubtypeOf(c, t) ? c : neverType);\n            return directlyRelated.flags & 131072 ? mapType(type, (t) => maybeTypeOfKind(\n              t,\n              465829888\n              /* Instantiable */\n            ) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated;\n          });\n          return !(narrowedType.flags & 131072) ? narrowedType : isTypeSubtypeOf(candidate, type) ? candidate : isTypeAssignableTo(type, candidate) ? type : isTypeAssignableTo(candidate, type) ? candidate : getIntersectionType([type, candidate]);\n        }\n        function narrowTypeByCallExpression(type, callExpression, assumeTrue) {\n          if (hasMatchingArgument(callExpression, reference)) {\n            const signature = assumeTrue || !isCallChain(callExpression) ? getEffectsSignature(callExpression) : void 0;\n            const predicate = signature && getTypePredicateOfSignature(signature);\n            if (predicate && (predicate.kind === 0 || predicate.kind === 1)) {\n              return narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue);\n            }\n          }\n          if (containsMissingType(type) && isAccessExpression(reference) && isPropertyAccessExpression(callExpression.expression)) {\n            const callAccess = callExpression.expression;\n            if (isMatchingReference(reference.expression, getReferenceCandidate(callAccess.expression)) && isIdentifier(callAccess.name) && callAccess.name.escapedText === \"hasOwnProperty\" && callExpression.arguments.length === 1) {\n              const argument = callExpression.arguments[0];\n              if (isStringLiteralLike(argument) && getAccessedPropertyName(reference) === escapeLeadingUnderscores(argument.text)) {\n                return getTypeWithFacts(\n                  type,\n                  assumeTrue ? 524288 : 65536\n                  /* EQUndefined */\n                );\n              }\n            }\n          }\n          return type;\n        }\n        function narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue) {\n          if (predicate.type && !(isTypeAny(type) && (predicate.type === globalObjectType || predicate.type === globalFunctionType))) {\n            const predicateArgument = getTypePredicateArgument(predicate, callExpression);\n            if (predicateArgument) {\n              if (isMatchingReference(reference, predicateArgument)) {\n                return getNarrowedType(\n                  type,\n                  predicate.type,\n                  assumeTrue,\n                  /*checkDerived*/\n                  false\n                );\n              }\n              if (strictNullChecks && assumeTrue && optionalChainContainsReference(predicateArgument, reference) && !(getTypeFacts(predicate.type) & 65536)) {\n                type = getAdjustedTypeWithFacts(\n                  type,\n                  2097152\n                  /* NEUndefinedOrNull */\n                );\n              }\n              const access = getDiscriminantPropertyAccess(predicateArgument, type);\n              if (access) {\n                return narrowTypeByDiscriminant(type, access, (t) => getNarrowedType(\n                  t,\n                  predicate.type,\n                  assumeTrue,\n                  /*checkDerived*/\n                  false\n                ));\n              }\n            }\n          }\n          return type;\n        }\n        function narrowType(type, expr, assumeTrue) {\n          if (isExpressionOfOptionalChainRoot(expr) || isBinaryExpression(expr.parent) && (expr.parent.operatorToken.kind === 60 || expr.parent.operatorToken.kind === 77) && expr.parent.left === expr) {\n            return narrowTypeByOptionality(type, expr, assumeTrue);\n          }\n          switch (expr.kind) {\n            case 79:\n              if (!isMatchingReference(reference, expr) && inlineLevel < 5) {\n                const symbol = getResolvedSymbol(expr);\n                if (isConstVariable(symbol)) {\n                  const declaration = symbol.valueDeclaration;\n                  if (declaration && isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isConstantReference(reference)) {\n                    inlineLevel++;\n                    const result = narrowType(type, declaration.initializer, assumeTrue);\n                    inlineLevel--;\n                    return result;\n                  }\n                }\n              }\n            case 108:\n            case 106:\n            case 208:\n            case 209:\n              return narrowTypeByTruthiness(type, expr, assumeTrue);\n            case 210:\n              return narrowTypeByCallExpression(type, expr, assumeTrue);\n            case 214:\n            case 232:\n              return narrowType(type, expr.expression, assumeTrue);\n            case 223:\n              return narrowTypeByBinaryExpression(type, expr, assumeTrue);\n            case 221:\n              if (expr.operator === 53) {\n                return narrowType(type, expr.operand, !assumeTrue);\n              }\n              break;\n          }\n          return type;\n        }\n        function narrowTypeByOptionality(type, expr, assumePresent) {\n          if (isMatchingReference(reference, expr)) {\n            return getAdjustedTypeWithFacts(\n              type,\n              assumePresent ? 2097152 : 262144\n              /* EQUndefinedOrNull */\n            );\n          }\n          const access = getDiscriminantPropertyAccess(expr, type);\n          if (access) {\n            return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(\n              t,\n              assumePresent ? 2097152 : 262144\n              /* EQUndefinedOrNull */\n            ));\n          }\n          return type;\n        }\n      }\n      function getTypeOfSymbolAtLocation(symbol, location) {\n        symbol = getExportSymbolOfValueSymbolIfExported(symbol);\n        if (location.kind === 79 || location.kind === 80) {\n          if (isRightSideOfQualifiedNameOrPropertyAccess(location)) {\n            location = location.parent;\n          }\n          if (isExpressionNode(location) && (!isAssignmentTarget(location) || isWriteAccess(location))) {\n            const type = getTypeOfExpression(location);\n            if (getExportSymbolOfValueSymbolIfExported(getNodeLinks(location).resolvedSymbol) === symbol) {\n              return type;\n            }\n          }\n        }\n        if (isDeclarationName(location) && isSetAccessor(location.parent) && getAnnotatedAccessorTypeNode(location.parent)) {\n          return getWriteTypeOfAccessors(location.parent.symbol);\n        }\n        return getNonMissingTypeOfSymbol(symbol);\n      }\n      function getControlFlowContainer(node) {\n        return findAncestor(\n          node.parent,\n          (node2) => isFunctionLike(node2) && !getImmediatelyInvokedFunctionExpression(node2) || node2.kind === 265 || node2.kind === 308 || node2.kind === 169\n          /* PropertyDeclaration */\n        );\n      }\n      function isSymbolAssigned(symbol) {\n        if (!symbol.valueDeclaration) {\n          return false;\n        }\n        const parent2 = getRootDeclaration(symbol.valueDeclaration).parent;\n        const links = getNodeLinks(parent2);\n        if (!(links.flags & 524288)) {\n          links.flags |= 524288;\n          if (!hasParentWithAssignmentsMarked(parent2)) {\n            markNodeAssignments(parent2);\n          }\n        }\n        return symbol.isAssigned || false;\n      }\n      function hasParentWithAssignmentsMarked(node) {\n        return !!findAncestor(node.parent, (node2) => (isFunctionLike(node2) || isCatchClause(node2)) && !!(getNodeLinks(node2).flags & 524288));\n      }\n      function markNodeAssignments(node) {\n        if (node.kind === 79) {\n          if (isAssignmentTarget(node)) {\n            const symbol = getResolvedSymbol(node);\n            if (isParameterOrCatchClauseVariable(symbol)) {\n              symbol.isAssigned = true;\n            }\n          }\n        } else {\n          forEachChild(node, markNodeAssignments);\n        }\n      }\n      function isConstVariable(symbol) {\n        return symbol.flags & 3 && (getDeclarationNodeFlagsFromSymbol(symbol) & 2) !== 0;\n      }\n      function parameterInitializerContainsUndefined(declaration) {\n        const links = getNodeLinks(declaration);\n        if (links.parameterInitializerContainsUndefined === void 0) {\n          if (!pushTypeResolution(\n            declaration,\n            9\n            /* ParameterInitializerContainsUndefined */\n          )) {\n            reportCircularityError(declaration.symbol);\n            return true;\n          }\n          const containsUndefined = !!(getTypeFacts(checkDeclarationInitializer(\n            declaration,\n            0\n            /* Normal */\n          )) & 16777216);\n          if (!popTypeResolution()) {\n            reportCircularityError(declaration.symbol);\n            return true;\n          }\n          links.parameterInitializerContainsUndefined = containsUndefined;\n        }\n        return links.parameterInitializerContainsUndefined;\n      }\n      function removeOptionalityFromDeclaredType(declaredType, declaration) {\n        const removeUndefined = strictNullChecks && declaration.kind === 166 && declaration.initializer && getTypeFacts(declaredType) & 16777216 && !parameterInitializerContainsUndefined(declaration);\n        return removeUndefined ? getTypeWithFacts(\n          declaredType,\n          524288\n          /* NEUndefined */\n        ) : declaredType;\n      }\n      function isConstraintPosition(type, node) {\n        const parent2 = node.parent;\n        return parent2.kind === 208 || parent2.kind === 163 || parent2.kind === 210 && parent2.expression === node || parent2.kind === 209 && parent2.expression === node && !(someType(type, isGenericTypeWithoutNullableConstraint) && isGenericIndexType(getTypeOfExpression(parent2.argumentExpression)));\n      }\n      function isGenericTypeWithUnionConstraint(type) {\n        return type.flags & 2097152 ? some(type.types, isGenericTypeWithUnionConstraint) : !!(type.flags & 465829888 && getBaseConstraintOrType(type).flags & (98304 | 1048576));\n      }\n      function isGenericTypeWithoutNullableConstraint(type) {\n        return type.flags & 2097152 ? some(type.types, isGenericTypeWithoutNullableConstraint) : !!(type.flags & 465829888 && !maybeTypeOfKind(\n          getBaseConstraintOrType(type),\n          98304\n          /* Nullable */\n        ));\n      }\n      function hasContextualTypeWithNoGenericTypes(node, checkMode) {\n        const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node)) && !((isJsxOpeningElement(node.parent) || isJsxSelfClosingElement(node.parent)) && node.parent.tagName === node) && (checkMode && checkMode & 64 ? getContextualType2(\n          node,\n          8\n          /* SkipBindingPatterns */\n        ) : getContextualType2(\n          node,\n          /*contextFlags*/\n          void 0\n        ));\n        return contextualType && !isGenericType(contextualType);\n      }\n      function getNarrowableTypeForReference(type, reference, checkMode) {\n        const substituteConstraints = !(checkMode && checkMode & 2) && someType(type, isGenericTypeWithUnionConstraint) && (isConstraintPosition(type, reference) || hasContextualTypeWithNoGenericTypes(reference, checkMode));\n        return substituteConstraints ? mapType(type, getBaseConstraintOrType) : type;\n      }\n      function isExportOrExportExpression(location) {\n        return !!findAncestor(location, (n) => {\n          const parent2 = n.parent;\n          if (parent2 === void 0) {\n            return \"quit\";\n          }\n          if (isExportAssignment(parent2)) {\n            return parent2.expression === n && isEntityNameExpression(n);\n          }\n          if (isExportSpecifier(parent2)) {\n            return parent2.name === n || parent2.propertyName === n;\n          }\n          return false;\n        });\n      }\n      function markAliasReferenced(symbol, location) {\n        if (compilerOptions.verbatimModuleSyntax) {\n          return;\n        }\n        if (isNonLocalAlias(\n          symbol,\n          /*excludes*/\n          111551\n          /* Value */\n        ) && !isInTypeQuery(location) && !getTypeOnlyAliasDeclaration(\n          symbol,\n          111551\n          /* Value */\n        )) {\n          const target = resolveAlias(symbol);\n          if (getAllSymbolFlags(target) & (111551 | 1048576)) {\n            if (getIsolatedModules(compilerOptions) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(location) || !isConstEnumOrConstEnumOnlyModule(getExportSymbolOfValueSymbolIfExported(target))) {\n              markAliasSymbolAsReferenced(symbol);\n            } else {\n              markConstEnumAliasAsReferenced(symbol);\n            }\n          }\n        }\n      }\n      function getNarrowedTypeOfSymbol(symbol, location) {\n        var _a22;\n        const type = getTypeOfSymbol(symbol);\n        const declaration = symbol.valueDeclaration;\n        if (declaration) {\n          if (isBindingElement(declaration) && !declaration.initializer && !declaration.dotDotDotToken && declaration.parent.elements.length >= 2) {\n            const parent2 = declaration.parent.parent;\n            if (parent2.kind === 257 && getCombinedNodeFlags(declaration) & 2 || parent2.kind === 166) {\n              const links = getNodeLinks(parent2);\n              if (!(links.flags & 16777216)) {\n                links.flags |= 16777216;\n                const parentType = getTypeForBindingElementParent(\n                  parent2,\n                  0\n                  /* Normal */\n                );\n                const parentTypeConstraint = parentType && mapType(parentType, getBaseConstraintOrType);\n                links.flags &= ~16777216;\n                if (parentTypeConstraint && parentTypeConstraint.flags & 1048576 && !(parent2.kind === 166 && isSymbolAssigned(symbol))) {\n                  const pattern = declaration.parent;\n                  const narrowedType = getFlowTypeOfReference(\n                    pattern,\n                    parentTypeConstraint,\n                    parentTypeConstraint,\n                    /*flowContainer*/\n                    void 0,\n                    location.flowNode\n                  );\n                  if (narrowedType.flags & 131072) {\n                    return neverType;\n                  }\n                  return getBindingElementTypeFromParentType(declaration, narrowedType);\n                }\n              }\n            }\n          }\n          if (isParameter(declaration) && !declaration.type && !declaration.initializer && !declaration.dotDotDotToken) {\n            const func = declaration.parent;\n            if (func.parameters.length >= 2 && isContextSensitiveFunctionOrObjectLiteralMethod(func)) {\n              const contextualSignature = getContextualSignature(func);\n              if (contextualSignature && contextualSignature.parameters.length === 1 && signatureHasRestParameter(contextualSignature)) {\n                const restType = getReducedApparentType(instantiateType(getTypeOfSymbol(contextualSignature.parameters[0]), (_a22 = getInferenceContext(func)) == null ? void 0 : _a22.nonFixingMapper));\n                if (restType.flags & 1048576 && everyType(restType, isTupleType) && !isSymbolAssigned(symbol)) {\n                  const narrowedType = getFlowTypeOfReference(\n                    func,\n                    restType,\n                    restType,\n                    /*flowContainer*/\n                    void 0,\n                    location.flowNode\n                  );\n                  const index = func.parameters.indexOf(declaration) - (getThisParameter(func) ? 1 : 0);\n                  return getIndexedAccessType(narrowedType, getNumberLiteralType(index));\n                }\n              }\n            }\n          }\n        }\n        return type;\n      }\n      function checkIdentifier(node, checkMode) {\n        if (isThisInTypeQuery(node)) {\n          return checkThisExpression(node);\n        }\n        const symbol = getResolvedSymbol(node);\n        if (symbol === unknownSymbol) {\n          return errorType;\n        }\n        if (symbol === argumentsSymbol) {\n          if (isInPropertyInitializerOrClassStaticBlock(node)) {\n            error(node, Diagnostics.arguments_cannot_be_referenced_in_property_initializers);\n            return errorType;\n          }\n          const container = getContainingFunction(node);\n          if (languageVersion < 2) {\n            if (container.kind === 216) {\n              error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression);\n            } else if (hasSyntacticModifier(\n              container,\n              512\n              /* Async */\n            )) {\n              error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method);\n            }\n          }\n          getNodeLinks(container).flags |= 512;\n          return getTypeOfSymbol(symbol);\n        }\n        if (shouldMarkIdentifierAliasReferenced(node)) {\n          markAliasReferenced(symbol, node);\n        }\n        const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol);\n        const targetSymbol = checkDeprecatedAliasedSymbol(localOrExportSymbol, node);\n        if (isDeprecatedSymbol(targetSymbol) && isUncalledFunctionReference(node, targetSymbol) && targetSymbol.declarations) {\n          addDeprecatedSuggestion(node, targetSymbol.declarations, node.escapedText);\n        }\n        let declaration = localOrExportSymbol.valueDeclaration;\n        if (declaration && localOrExportSymbol.flags & 32) {\n          if (declaration.kind === 260 && nodeIsDecorated(legacyDecorators, declaration)) {\n            let container = getContainingClass(node);\n            while (container !== void 0) {\n              if (container === declaration && container.name !== node) {\n                getNodeLinks(declaration).flags |= 1048576;\n                getNodeLinks(node).flags |= 2097152;\n                break;\n              }\n              container = getContainingClass(container);\n            }\n          } else if (declaration.kind === 228) {\n            let container = getThisContainer(\n              node,\n              /*includeArrowFunctions*/\n              false,\n              /*includeClassComputedPropertyName*/\n              false\n            );\n            while (container.kind !== 308) {\n              if (container.parent === declaration) {\n                if (isPropertyDeclaration(container) && isStatic(container) || isClassStaticBlockDeclaration(container)) {\n                  getNodeLinks(declaration).flags |= 1048576;\n                  getNodeLinks(node).flags |= 2097152;\n                }\n                break;\n              }\n              container = getThisContainer(\n                container,\n                /*includeArrowFunctions*/\n                false,\n                /*includeClassComputedPropertyName*/\n                false\n              );\n            }\n          }\n        }\n        checkNestedBlockScopedBinding(node, symbol);\n        let type = getNarrowedTypeOfSymbol(localOrExportSymbol, node);\n        const assignmentKind = getAssignmentTargetKind(node);\n        if (assignmentKind) {\n          if (!(localOrExportSymbol.flags & 3) && !(isInJSFile(node) && localOrExportSymbol.flags & 512)) {\n            const assignmentError = localOrExportSymbol.flags & 384 ? Diagnostics.Cannot_assign_to_0_because_it_is_an_enum : localOrExportSymbol.flags & 32 ? Diagnostics.Cannot_assign_to_0_because_it_is_a_class : localOrExportSymbol.flags & 1536 ? Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace : localOrExportSymbol.flags & 16 ? Diagnostics.Cannot_assign_to_0_because_it_is_a_function : localOrExportSymbol.flags & 2097152 ? Diagnostics.Cannot_assign_to_0_because_it_is_an_import : Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable;\n            error(node, assignmentError, symbolToString(symbol));\n            return errorType;\n          }\n          if (isReadonlySymbol(localOrExportSymbol)) {\n            if (localOrExportSymbol.flags & 3) {\n              error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_constant, symbolToString(symbol));\n            } else {\n              error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(symbol));\n            }\n            return errorType;\n          }\n        }\n        const isAlias = localOrExportSymbol.flags & 2097152;\n        if (localOrExportSymbol.flags & 3) {\n          if (assignmentKind === 1) {\n            return type;\n          }\n        } else if (isAlias) {\n          declaration = getDeclarationOfAliasSymbol(symbol);\n        } else {\n          return type;\n        }\n        if (!declaration) {\n          return type;\n        }\n        type = getNarrowableTypeForReference(type, node, checkMode);\n        const isParameter2 = getRootDeclaration(declaration).kind === 166;\n        const declarationContainer = getControlFlowContainer(declaration);\n        let flowContainer = getControlFlowContainer(node);\n        const isOuterVariable = flowContainer !== declarationContainer;\n        const isSpreadDestructuringAssignmentTarget = node.parent && node.parent.parent && isSpreadAssignment(node.parent) && isDestructuringAssignmentTarget(node.parent.parent);\n        const isModuleExports = symbol.flags & 134217728;\n        while (flowContainer !== declarationContainer && (flowContainer.kind === 215 || flowContainer.kind === 216 || isObjectLiteralOrClassExpressionMethodOrAccessor(flowContainer)) && (isConstVariable(localOrExportSymbol) && type !== autoArrayType || isParameter2 && !isSymbolAssigned(localOrExportSymbol))) {\n          flowContainer = getControlFlowContainer(flowContainer);\n        }\n        const assumeInitialized = isParameter2 || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 | 16384)) !== 0 || isInTypeQuery(node) || isInAmbientOrTypeNode(node) || node.parent.kind === 278) || node.parent.kind === 232 || declaration.kind === 257 && declaration.exclamationToken || declaration.flags & 16777216;\n        const initialType = assumeInitialized ? isParameter2 ? removeOptionalityFromDeclaredType(type, declaration) : type : type === autoType || type === autoArrayType ? undefinedType : getOptionalType(type);\n        const flowType = getFlowTypeOfReference(node, type, initialType, flowContainer);\n        if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) {\n          if (flowType === autoType || flowType === autoArrayType) {\n            if (noImplicitAny) {\n              error(getNameOfDeclaration(declaration), Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined, symbolToString(symbol), typeToString(flowType));\n              error(node, Diagnostics.Variable_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));\n            }\n            return convertAutoToAny(flowType);\n          }\n        } else if (!assumeInitialized && !containsUndefinedType(type) && containsUndefinedType(flowType)) {\n          error(node, Diagnostics.Variable_0_is_used_before_being_assigned, symbolToString(symbol));\n          return type;\n        }\n        return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;\n      }\n      function isSameScopedBindingElement(node, declaration) {\n        if (isBindingElement(declaration)) {\n          const bindingElement = findAncestor(node, isBindingElement);\n          return bindingElement && getRootDeclaration(bindingElement) === getRootDeclaration(declaration);\n        }\n      }\n      function shouldMarkIdentifierAliasReferenced(node) {\n        var _a22;\n        const parent2 = node.parent;\n        if (parent2) {\n          if (isPropertyAccessExpression(parent2) && parent2.expression === node) {\n            return false;\n          }\n          if (isExportSpecifier(parent2) && parent2.isTypeOnly) {\n            return false;\n          }\n          const greatGrandparent = (_a22 = parent2.parent) == null ? void 0 : _a22.parent;\n          if (greatGrandparent && isExportDeclaration(greatGrandparent) && greatGrandparent.isTypeOnly) {\n            return false;\n          }\n        }\n        return true;\n      }\n      function isInsideFunctionOrInstancePropertyInitializer(node, threshold) {\n        return !!findAncestor(node, (n) => n === threshold ? \"quit\" : isFunctionLike(n) || n.parent && isPropertyDeclaration(n.parent) && !hasStaticModifier(n.parent) && n.parent.initializer === n);\n      }\n      function getPartOfForStatementContainingNode(node, container) {\n        return findAncestor(node, (n) => n === container ? \"quit\" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement);\n      }\n      function getEnclosingIterationStatement(node) {\n        return findAncestor(node, (n) => !n || nodeStartsNewLexicalEnvironment(n) ? \"quit\" : isIterationStatement(\n          n,\n          /*lookInLabeledStatements*/\n          false\n        ));\n      }\n      function checkNestedBlockScopedBinding(node, symbol) {\n        if (languageVersion >= 2 || (symbol.flags & (2 | 32)) === 0 || !symbol.valueDeclaration || isSourceFile(symbol.valueDeclaration) || symbol.valueDeclaration.parent.kind === 295) {\n          return;\n        }\n        const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration);\n        const isCaptured = isInsideFunctionOrInstancePropertyInitializer(node, container);\n        const enclosingIterationStatement = getEnclosingIterationStatement(container);\n        if (enclosingIterationStatement) {\n          if (isCaptured) {\n            let capturesBlockScopeBindingInLoopBody = true;\n            if (isForStatement(container)) {\n              const varDeclList = getAncestor(\n                symbol.valueDeclaration,\n                258\n                /* VariableDeclarationList */\n              );\n              if (varDeclList && varDeclList.parent === container) {\n                const part = getPartOfForStatementContainingNode(node.parent, container);\n                if (part) {\n                  const links = getNodeLinks(part);\n                  links.flags |= 8192;\n                  const capturedBindings = links.capturedBlockScopeBindings || (links.capturedBlockScopeBindings = []);\n                  pushIfUnique(capturedBindings, symbol);\n                  if (part === container.initializer) {\n                    capturesBlockScopeBindingInLoopBody = false;\n                  }\n                }\n              }\n            }\n            if (capturesBlockScopeBindingInLoopBody) {\n              getNodeLinks(enclosingIterationStatement).flags |= 4096;\n            }\n          }\n          if (isForStatement(container)) {\n            const varDeclList = getAncestor(\n              symbol.valueDeclaration,\n              258\n              /* VariableDeclarationList */\n            );\n            if (varDeclList && varDeclList.parent === container && isAssignedInBodyOfForStatement(node, container)) {\n              getNodeLinks(symbol.valueDeclaration).flags |= 262144;\n            }\n          }\n          getNodeLinks(symbol.valueDeclaration).flags |= 32768;\n        }\n        if (isCaptured) {\n          getNodeLinks(symbol.valueDeclaration).flags |= 16384;\n        }\n      }\n      function isBindingCapturedByNode(node, decl) {\n        const links = getNodeLinks(node);\n        return !!links && contains(links.capturedBlockScopeBindings, getSymbolOfDeclaration(decl));\n      }\n      function isAssignedInBodyOfForStatement(node, container) {\n        let current = node;\n        while (current.parent.kind === 214) {\n          current = current.parent;\n        }\n        let isAssigned = false;\n        if (isAssignmentTarget(current)) {\n          isAssigned = true;\n        } else if (current.parent.kind === 221 || current.parent.kind === 222) {\n          const expr = current.parent;\n          isAssigned = expr.operator === 45 || expr.operator === 46;\n        }\n        if (!isAssigned) {\n          return false;\n        }\n        return !!findAncestor(current, (n) => n === container ? \"quit\" : n === container.statement);\n      }\n      function captureLexicalThis(node, container) {\n        getNodeLinks(node).flags |= 2;\n        if (container.kind === 169 || container.kind === 173) {\n          const classNode = container.parent;\n          getNodeLinks(classNode).flags |= 4;\n        } else {\n          getNodeLinks(container).flags |= 4;\n        }\n      }\n      function findFirstSuperCall(node) {\n        return isSuperCall(node) ? node : isFunctionLike(node) ? void 0 : forEachChild(node, findFirstSuperCall);\n      }\n      function classDeclarationExtendsNull(classDecl) {\n        const classSymbol = getSymbolOfDeclaration(classDecl);\n        const classInstanceType = getDeclaredTypeOfSymbol(classSymbol);\n        const baseConstructorType = getBaseConstructorTypeOfClass(classInstanceType);\n        return baseConstructorType === nullWideningType;\n      }\n      function checkThisBeforeSuper(node, container, diagnosticMessage) {\n        const containingClassDecl = container.parent;\n        const baseTypeNode = getClassExtendsHeritageElement(containingClassDecl);\n        if (baseTypeNode && !classDeclarationExtendsNull(containingClassDecl)) {\n          if (canHaveFlowNode(node) && node.flowNode && !isPostSuperFlowNode(\n            node.flowNode,\n            /*noCacheCheck*/\n            false\n          )) {\n            error(node, diagnosticMessage);\n          }\n        }\n      }\n      function checkThisInStaticClassFieldInitializerInDecoratedClass(thisExpression, container) {\n        if (isPropertyDeclaration(container) && hasStaticModifier(container) && legacyDecorators && container.initializer && textRangeContainsPositionInclusive(container.initializer, thisExpression.pos) && hasDecorators(container.parent)) {\n          error(thisExpression, Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class);\n        }\n      }\n      function checkThisExpression(node) {\n        const isNodeInTypeQuery = isInTypeQuery(node);\n        let container = getThisContainer(\n          node,\n          /* includeArrowFunctions */\n          true,\n          /*includeClassComputedPropertyName*/\n          true\n        );\n        let capturedByArrowFunction = false;\n        let thisInComputedPropertyName = false;\n        if (container.kind === 173) {\n          checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);\n        }\n        while (true) {\n          if (container.kind === 216) {\n            container = getThisContainer(\n              container,\n              /* includeArrowFunctions */\n              false,\n              !thisInComputedPropertyName\n            );\n            capturedByArrowFunction = true;\n          }\n          if (container.kind === 164) {\n            container = getThisContainer(\n              container,\n              !capturedByArrowFunction,\n              /*includeClassComputedPropertyName*/\n              false\n            );\n            thisInComputedPropertyName = true;\n            continue;\n          }\n          break;\n        }\n        checkThisInStaticClassFieldInitializerInDecoratedClass(node, container);\n        if (thisInComputedPropertyName) {\n          error(node, Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);\n        } else {\n          switch (container.kind) {\n            case 264:\n              error(node, Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);\n              break;\n            case 263:\n              error(node, Diagnostics.this_cannot_be_referenced_in_current_location);\n              break;\n            case 173:\n              if (isInConstructorArgumentInitializer(node, container)) {\n                error(node, Diagnostics.this_cannot_be_referenced_in_constructor_arguments);\n              }\n              break;\n          }\n        }\n        if (!isNodeInTypeQuery && capturedByArrowFunction && languageVersion < 2) {\n          captureLexicalThis(node, container);\n        }\n        const type = tryGetThisTypeAt(\n          node,\n          /*includeGlobalThis*/\n          true,\n          container\n        );\n        if (noImplicitThis) {\n          const globalThisType2 = getTypeOfSymbol(globalThisSymbol);\n          if (type === globalThisType2 && capturedByArrowFunction) {\n            error(node, Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);\n          } else if (!type) {\n            const diag2 = error(node, Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);\n            if (!isSourceFile(container)) {\n              const outsideThis = tryGetThisTypeAt(container);\n              if (outsideThis && outsideThis !== globalThisType2) {\n                addRelatedInfo(diag2, createDiagnosticForNode(container, Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container));\n              }\n            }\n          }\n        }\n        return type || anyType;\n      }\n      function tryGetThisTypeAt(node, includeGlobalThis = true, container = getThisContainer(\n        node,\n        /*includeArrowFunctions*/\n        false,\n        /*includeClassComputedPropertyName*/\n        false\n      )) {\n        const isInJS = isInJSFile(node);\n        if (isFunctionLike(container) && (!isInParameterInitializerBeforeContainingFunction(node) || getThisParameter(container))) {\n          let thisType = getThisTypeOfDeclaration(container) || isInJS && getTypeForThisExpressionFromJSDoc(container);\n          if (!thisType) {\n            const className = getClassNameFromPrototypeMethod(container);\n            if (isInJS && className) {\n              const classSymbol = checkExpression(className).symbol;\n              if (classSymbol && classSymbol.members && classSymbol.flags & 16) {\n                thisType = getDeclaredTypeOfSymbol(classSymbol).thisType;\n              }\n            } else if (isJSConstructor(container)) {\n              thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType;\n            }\n            thisType || (thisType = getContextualThisParameterType(container));\n          }\n          if (thisType) {\n            return getFlowTypeOfReference(node, thisType);\n          }\n        }\n        if (isClassLike(container.parent)) {\n          const symbol = getSymbolOfDeclaration(container.parent);\n          const type = isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType;\n          return getFlowTypeOfReference(node, type);\n        }\n        if (isSourceFile(container)) {\n          if (container.commonJsModuleIndicator) {\n            const fileSymbol = getSymbolOfDeclaration(container);\n            return fileSymbol && getTypeOfSymbol(fileSymbol);\n          } else if (container.externalModuleIndicator) {\n            return undefinedType;\n          } else if (includeGlobalThis) {\n            return getTypeOfSymbol(globalThisSymbol);\n          }\n        }\n      }\n      function getExplicitThisType(node) {\n        const container = getThisContainer(\n          node,\n          /*includeArrowFunctions*/\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        );\n        if (isFunctionLike(container)) {\n          const signature = getSignatureFromDeclaration(container);\n          if (signature.thisParameter) {\n            return getExplicitTypeOfSymbol(signature.thisParameter);\n          }\n        }\n        if (isClassLike(container.parent)) {\n          const symbol = getSymbolOfDeclaration(container.parent);\n          return isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType;\n        }\n      }\n      function getClassNameFromPrototypeMethod(container) {\n        if (container.kind === 215 && isBinaryExpression(container.parent) && getAssignmentDeclarationKind(container.parent) === 3) {\n          return container.parent.left.expression.expression;\n        } else if (container.kind === 171 && container.parent.kind === 207 && isBinaryExpression(container.parent.parent) && getAssignmentDeclarationKind(container.parent.parent) === 6) {\n          return container.parent.parent.left.expression;\n        } else if (container.kind === 215 && container.parent.kind === 299 && container.parent.parent.kind === 207 && isBinaryExpression(container.parent.parent.parent) && getAssignmentDeclarationKind(container.parent.parent.parent) === 6) {\n          return container.parent.parent.parent.left.expression;\n        } else if (container.kind === 215 && isPropertyAssignment(container.parent) && isIdentifier(container.parent.name) && (container.parent.name.escapedText === \"value\" || container.parent.name.escapedText === \"get\" || container.parent.name.escapedText === \"set\") && isObjectLiteralExpression(container.parent.parent) && isCallExpression(container.parent.parent.parent) && container.parent.parent.parent.arguments[2] === container.parent.parent && getAssignmentDeclarationKind(container.parent.parent.parent) === 9) {\n          return container.parent.parent.parent.arguments[0].expression;\n        } else if (isMethodDeclaration(container) && isIdentifier(container.name) && (container.name.escapedText === \"value\" || container.name.escapedText === \"get\" || container.name.escapedText === \"set\") && isObjectLiteralExpression(container.parent) && isCallExpression(container.parent.parent) && container.parent.parent.arguments[2] === container.parent && getAssignmentDeclarationKind(container.parent.parent) === 9) {\n          return container.parent.parent.arguments[0].expression;\n        }\n      }\n      function getTypeForThisExpressionFromJSDoc(node) {\n        const jsdocType = getJSDocType(node);\n        if (jsdocType && jsdocType.kind === 320) {\n          const jsDocFunctionType = jsdocType;\n          if (jsDocFunctionType.parameters.length > 0 && jsDocFunctionType.parameters[0].name && jsDocFunctionType.parameters[0].name.escapedText === \"this\") {\n            return getTypeFromTypeNode(jsDocFunctionType.parameters[0].type);\n          }\n        }\n        const thisTag = getJSDocThisTag(node);\n        if (thisTag && thisTag.typeExpression) {\n          return getTypeFromTypeNode(thisTag.typeExpression);\n        }\n      }\n      function isInConstructorArgumentInitializer(node, constructorDecl) {\n        return !!findAncestor(node, (n) => isFunctionLikeDeclaration(n) ? \"quit\" : n.kind === 166 && n.parent === constructorDecl);\n      }\n      function checkSuperExpression(node) {\n        const isCallExpression2 = node.parent.kind === 210 && node.parent.expression === node;\n        const immediateContainer = getSuperContainer(\n          node,\n          /*stopOnFunctions*/\n          true\n        );\n        let container = immediateContainer;\n        let needToCaptureLexicalThis = false;\n        let inAsyncFunction = false;\n        if (!isCallExpression2) {\n          while (container && container.kind === 216) {\n            if (hasSyntacticModifier(\n              container,\n              512\n              /* Async */\n            ))\n              inAsyncFunction = true;\n            container = getSuperContainer(\n              container,\n              /*stopOnFunctions*/\n              true\n            );\n            needToCaptureLexicalThis = languageVersion < 2;\n          }\n          if (container && hasSyntacticModifier(\n            container,\n            512\n            /* Async */\n          ))\n            inAsyncFunction = true;\n        }\n        let nodeCheckFlag = 0;\n        if (!container || !isLegalUsageOfSuperExpression(container)) {\n          const current = findAncestor(\n            node,\n            (n) => n === container ? \"quit\" : n.kind === 164\n            /* ComputedPropertyName */\n          );\n          if (current && current.kind === 164) {\n            error(node, Diagnostics.super_cannot_be_referenced_in_a_computed_property_name);\n          } else if (isCallExpression2) {\n            error(node, Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors);\n          } else if (!container || !container.parent || !(isClassLike(container.parent) || container.parent.kind === 207)) {\n            error(node, Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions);\n          } else {\n            error(node, Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class);\n          }\n          return errorType;\n        }\n        if (!isCallExpression2 && immediateContainer.kind === 173) {\n          checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class);\n        }\n        if (isStatic(container) || isCallExpression2) {\n          nodeCheckFlag = 32;\n          if (!isCallExpression2 && languageVersion >= 2 && languageVersion <= 8 && (isPropertyDeclaration(container) || isClassStaticBlockDeclaration(container))) {\n            forEachEnclosingBlockScopeContainer(node.parent, (current) => {\n              if (!isSourceFile(current) || isExternalOrCommonJsModule(current)) {\n                getNodeLinks(current).flags |= 8388608;\n              }\n            });\n          }\n        } else {\n          nodeCheckFlag = 16;\n        }\n        getNodeLinks(node).flags |= nodeCheckFlag;\n        if (container.kind === 171 && inAsyncFunction) {\n          if (isSuperProperty(node.parent) && isAssignmentTarget(node.parent)) {\n            getNodeLinks(container).flags |= 256;\n          } else {\n            getNodeLinks(container).flags |= 128;\n          }\n        }\n        if (needToCaptureLexicalThis) {\n          captureLexicalThis(node.parent, container);\n        }\n        if (container.parent.kind === 207) {\n          if (languageVersion < 2) {\n            error(node, Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);\n            return errorType;\n          } else {\n            return anyType;\n          }\n        }\n        const classLikeDeclaration = container.parent;\n        if (!getClassExtendsHeritageElement(classLikeDeclaration)) {\n          error(node, Diagnostics.super_can_only_be_referenced_in_a_derived_class);\n          return errorType;\n        }\n        const classType = getDeclaredTypeOfSymbol(getSymbolOfDeclaration(classLikeDeclaration));\n        const baseClassType = classType && getBaseTypes(classType)[0];\n        if (!baseClassType) {\n          return errorType;\n        }\n        if (container.kind === 173 && isInConstructorArgumentInitializer(node, container)) {\n          error(node, Diagnostics.super_cannot_be_referenced_in_constructor_arguments);\n          return errorType;\n        }\n        return nodeCheckFlag === 32 ? getBaseConstructorTypeOfClass(classType) : getTypeWithThisArgument(baseClassType, classType.thisType);\n        function isLegalUsageOfSuperExpression(container2) {\n          if (isCallExpression2) {\n            return container2.kind === 173;\n          } else {\n            if (isClassLike(container2.parent) || container2.parent.kind === 207) {\n              if (isStatic(container2)) {\n                return container2.kind === 171 || container2.kind === 170 || container2.kind === 174 || container2.kind === 175 || container2.kind === 169 || container2.kind === 172;\n              } else {\n                return container2.kind === 171 || container2.kind === 170 || container2.kind === 174 || container2.kind === 175 || container2.kind === 169 || container2.kind === 168 || container2.kind === 173;\n              }\n            }\n          }\n          return false;\n        }\n      }\n      function getContainingObjectLiteral(func) {\n        return (func.kind === 171 || func.kind === 174 || func.kind === 175) && func.parent.kind === 207 ? func.parent : func.kind === 215 && func.parent.kind === 299 ? func.parent.parent : void 0;\n      }\n      function getThisTypeArgument(type) {\n        return getObjectFlags(type) & 4 && type.target === globalThisType ? getTypeArguments(type)[0] : void 0;\n      }\n      function getThisTypeFromContextualType(type) {\n        return mapType(type, (t) => {\n          return t.flags & 2097152 ? forEach(t.types, getThisTypeArgument) : getThisTypeArgument(t);\n        });\n      }\n      function getContextualThisParameterType(func) {\n        if (func.kind === 216) {\n          return void 0;\n        }\n        if (isContextSensitiveFunctionOrObjectLiteralMethod(func)) {\n          const contextualSignature = getContextualSignature(func);\n          if (contextualSignature) {\n            const thisParameter = contextualSignature.thisParameter;\n            if (thisParameter) {\n              return getTypeOfSymbol(thisParameter);\n            }\n          }\n        }\n        const inJs = isInJSFile(func);\n        if (noImplicitThis || inJs) {\n          const containingLiteral = getContainingObjectLiteral(func);\n          if (containingLiteral) {\n            const contextualType = getApparentTypeOfContextualType(\n              containingLiteral,\n              /*contextFlags*/\n              void 0\n            );\n            let literal = containingLiteral;\n            let type = contextualType;\n            while (type) {\n              const thisType = getThisTypeFromContextualType(type);\n              if (thisType) {\n                return instantiateType(thisType, getMapperFromContext(getInferenceContext(containingLiteral)));\n              }\n              if (literal.parent.kind !== 299) {\n                break;\n              }\n              literal = literal.parent.parent;\n              type = getApparentTypeOfContextualType(\n                literal,\n                /*contextFlags*/\n                void 0\n              );\n            }\n            return getWidenedType(contextualType ? getNonNullableType(contextualType) : checkExpressionCached(containingLiteral));\n          }\n          const parent2 = walkUpParenthesizedExpressions(func.parent);\n          if (parent2.kind === 223 && parent2.operatorToken.kind === 63) {\n            const target = parent2.left;\n            if (isAccessExpression(target)) {\n              const { expression } = target;\n              if (inJs && isIdentifier(expression)) {\n                const sourceFile = getSourceFileOfNode(parent2);\n                if (sourceFile.commonJsModuleIndicator && getResolvedSymbol(expression) === sourceFile.symbol) {\n                  return void 0;\n                }\n              }\n              return getWidenedType(checkExpressionCached(expression));\n            }\n          }\n        }\n        return void 0;\n      }\n      function getContextuallyTypedParameterType(parameter) {\n        const func = parameter.parent;\n        if (!isContextSensitiveFunctionOrObjectLiteralMethod(func)) {\n          return void 0;\n        }\n        const iife = getImmediatelyInvokedFunctionExpression(func);\n        if (iife && iife.arguments) {\n          const args = getEffectiveCallArguments(iife);\n          const indexOfParameter = func.parameters.indexOf(parameter);\n          if (parameter.dotDotDotToken) {\n            return getSpreadArgumentType(\n              args,\n              indexOfParameter,\n              args.length,\n              anyType,\n              /*context*/\n              void 0,\n              0\n              /* Normal */\n            );\n          }\n          const links = getNodeLinks(iife);\n          const cached = links.resolvedSignature;\n          links.resolvedSignature = anySignature;\n          const type = indexOfParameter < args.length ? getWidenedLiteralType(checkExpression(args[indexOfParameter])) : parameter.initializer ? void 0 : undefinedWideningType;\n          links.resolvedSignature = cached;\n          return type;\n        }\n        const contextualSignature = getContextualSignature(func);\n        if (contextualSignature) {\n          const index = func.parameters.indexOf(parameter) - (getThisParameter(func) ? 1 : 0);\n          return parameter.dotDotDotToken && lastOrUndefined(func.parameters) === parameter ? getRestTypeAtPosition(contextualSignature, index) : tryGetTypeAtPosition(contextualSignature, index);\n        }\n      }\n      function getContextualTypeForVariableLikeDeclaration(declaration, contextFlags) {\n        const typeNode = getEffectiveTypeAnnotationNode(declaration) || (isInJSFile(declaration) ? tryGetJSDocSatisfiesTypeNode(declaration) : void 0);\n        if (typeNode) {\n          return getTypeFromTypeNode(typeNode);\n        }\n        switch (declaration.kind) {\n          case 166:\n            return getContextuallyTypedParameterType(declaration);\n          case 205:\n            return getContextualTypeForBindingElement(declaration, contextFlags);\n          case 169:\n            if (isStatic(declaration)) {\n              return getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags);\n            }\n        }\n      }\n      function getContextualTypeForBindingElement(declaration, contextFlags) {\n        const parent2 = declaration.parent.parent;\n        const name = declaration.propertyName || declaration.name;\n        const parentType = getContextualTypeForVariableLikeDeclaration(parent2, contextFlags) || parent2.kind !== 205 && parent2.initializer && checkDeclarationInitializer(\n          parent2,\n          declaration.dotDotDotToken ? 64 : 0\n          /* Normal */\n        );\n        if (!parentType || isBindingPattern(name) || isComputedNonLiteralName(name))\n          return void 0;\n        if (parent2.name.kind === 204) {\n          const index = indexOfNode(declaration.parent.elements, declaration);\n          if (index < 0)\n            return void 0;\n          return getContextualTypeForElementExpression(parentType, index);\n        }\n        const nameType = getLiteralTypeFromPropertyName(name);\n        if (isTypeUsableAsPropertyName(nameType)) {\n          const text = getPropertyNameFromType(nameType);\n          return getTypeOfPropertyOfType(parentType, text);\n        }\n      }\n      function getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags) {\n        const parentType = isExpression(declaration.parent) && getContextualType2(declaration.parent, contextFlags);\n        if (!parentType)\n          return void 0;\n        return getTypeOfPropertyOfContextualType(parentType, getSymbolOfDeclaration(declaration).escapedName);\n      }\n      function getContextualTypeForInitializerExpression(node, contextFlags) {\n        const declaration = node.parent;\n        if (hasInitializer(declaration) && node === declaration.initializer) {\n          const result = getContextualTypeForVariableLikeDeclaration(declaration, contextFlags);\n          if (result) {\n            return result;\n          }\n          if (!(contextFlags & 8) && isBindingPattern(declaration.name) && declaration.name.elements.length > 0) {\n            return getTypeFromBindingPattern(\n              declaration.name,\n              /*includePatternInType*/\n              true,\n              /*reportErrors*/\n              false\n            );\n          }\n        }\n        return void 0;\n      }\n      function getContextualTypeForReturnExpression(node, contextFlags) {\n        const func = getContainingFunction(node);\n        if (func) {\n          let contextualReturnType = getContextualReturnType(func, contextFlags);\n          if (contextualReturnType) {\n            const functionFlags = getFunctionFlags(func);\n            if (functionFlags & 1) {\n              const isAsyncGenerator = (functionFlags & 2) !== 0;\n              if (contextualReturnType.flags & 1048576) {\n                contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1, type, isAsyncGenerator));\n              }\n              const iterationReturnType = getIterationTypeOfGeneratorFunctionReturnType(1, contextualReturnType, (functionFlags & 2) !== 0);\n              if (!iterationReturnType) {\n                return void 0;\n              }\n              contextualReturnType = iterationReturnType;\n            }\n            if (functionFlags & 2) {\n              const contextualAwaitedType = mapType(contextualReturnType, getAwaitedTypeNoAlias);\n              return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]);\n            }\n            return contextualReturnType;\n          }\n        }\n        return void 0;\n      }\n      function getContextualTypeForAwaitOperand(node, contextFlags) {\n        const contextualType = getContextualType2(node, contextFlags);\n        if (contextualType) {\n          const contextualAwaitedType = getAwaitedTypeNoAlias(contextualType);\n          return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]);\n        }\n        return void 0;\n      }\n      function getContextualTypeForYieldOperand(node, contextFlags) {\n        const func = getContainingFunction(node);\n        if (func) {\n          const functionFlags = getFunctionFlags(func);\n          let contextualReturnType = getContextualReturnType(func, contextFlags);\n          if (contextualReturnType) {\n            const isAsyncGenerator = (functionFlags & 2) !== 0;\n            if (!node.asteriskToken && contextualReturnType.flags & 1048576) {\n              contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1, type, isAsyncGenerator));\n            }\n            return node.asteriskToken ? contextualReturnType : getIterationTypeOfGeneratorFunctionReturnType(0, contextualReturnType, isAsyncGenerator);\n          }\n        }\n        return void 0;\n      }\n      function isInParameterInitializerBeforeContainingFunction(node) {\n        let inBindingInitializer = false;\n        while (node.parent && !isFunctionLike(node.parent)) {\n          if (isParameter(node.parent) && (inBindingInitializer || node.parent.initializer === node)) {\n            return true;\n          }\n          if (isBindingElement(node.parent) && node.parent.initializer === node) {\n            inBindingInitializer = true;\n          }\n          node = node.parent;\n        }\n        return false;\n      }\n      function getContextualIterationType(kind, functionDecl) {\n        const isAsync = !!(getFunctionFlags(functionDecl) & 2);\n        const contextualReturnType = getContextualReturnType(\n          functionDecl,\n          /*contextFlags*/\n          void 0\n        );\n        if (contextualReturnType) {\n          return getIterationTypeOfGeneratorFunctionReturnType(kind, contextualReturnType, isAsync) || void 0;\n        }\n        return void 0;\n      }\n      function getContextualReturnType(functionDecl, contextFlags) {\n        const returnType = getReturnTypeFromAnnotation(functionDecl);\n        if (returnType) {\n          return returnType;\n        }\n        const signature = getContextualSignatureForFunctionLikeDeclaration(functionDecl);\n        if (signature && !isResolvingReturnTypeOfSignature(signature)) {\n          return getReturnTypeOfSignature(signature);\n        }\n        const iife = getImmediatelyInvokedFunctionExpression(functionDecl);\n        if (iife) {\n          return getContextualType2(iife, contextFlags);\n        }\n        return void 0;\n      }\n      function getContextualTypeForArgument(callTarget, arg) {\n        const args = getEffectiveCallArguments(callTarget);\n        const argIndex = args.indexOf(arg);\n        return argIndex === -1 ? void 0 : getContextualTypeForArgumentAtIndex(callTarget, argIndex);\n      }\n      function getContextualTypeForArgumentAtIndex(callTarget, argIndex) {\n        if (isImportCall(callTarget)) {\n          return argIndex === 0 ? stringType : argIndex === 1 ? getGlobalImportCallOptionsType(\n            /*reportErrors*/\n            false\n          ) : anyType;\n        }\n        const signature = getNodeLinks(callTarget).resolvedSignature === resolvingSignature ? resolvingSignature : getResolvedSignature(callTarget);\n        if (isJsxOpeningLikeElement(callTarget) && argIndex === 0) {\n          return getEffectiveFirstArgumentForJsxSignature(signature, callTarget);\n        }\n        const restIndex = signature.parameters.length - 1;\n        return signatureHasRestParameter(signature) && argIndex >= restIndex ? getIndexedAccessType(\n          getTypeOfSymbol(signature.parameters[restIndex]),\n          getNumberLiteralType(argIndex - restIndex),\n          256\n          /* Contextual */\n        ) : getTypeAtPosition(signature, argIndex);\n      }\n      function getContextualTypeForDecorator(decorator) {\n        const signature = getDecoratorCallSignature(decorator);\n        return signature ? getOrCreateTypeFromSignature(signature) : void 0;\n      }\n      function getContextualTypeForSubstitutionExpression(template, substitutionExpression) {\n        if (template.parent.kind === 212) {\n          return getContextualTypeForArgument(template.parent, substitutionExpression);\n        }\n        return void 0;\n      }\n      function getContextualTypeForBinaryOperand(node, contextFlags) {\n        const binaryExpression = node.parent;\n        const { left, operatorToken, right } = binaryExpression;\n        switch (operatorToken.kind) {\n          case 63:\n          case 76:\n          case 75:\n          case 77:\n            return node === right ? getContextualTypeForAssignmentDeclaration(binaryExpression) : void 0;\n          case 56:\n          case 60:\n            const type = getContextualType2(binaryExpression, contextFlags);\n            return node === right && (type && type.pattern || !type && !isDefaultedExpandoInitializer(binaryExpression)) ? getTypeOfExpression(left) : type;\n          case 55:\n          case 27:\n            return node === right ? getContextualType2(binaryExpression, contextFlags) : void 0;\n          default:\n            return void 0;\n        }\n      }\n      function getSymbolForExpression(e) {\n        if (canHaveSymbol(e) && e.symbol) {\n          return e.symbol;\n        }\n        if (isIdentifier(e)) {\n          return getResolvedSymbol(e);\n        }\n        if (isPropertyAccessExpression(e)) {\n          const lhsType = getTypeOfExpression(e.expression);\n          return isPrivateIdentifier(e.name) ? tryGetPrivateIdentifierPropertyOfType(lhsType, e.name) : getPropertyOfType(lhsType, e.name.escapedText);\n        }\n        if (isElementAccessExpression(e)) {\n          const propType = checkExpressionCached(e.argumentExpression);\n          if (!isTypeUsableAsPropertyName(propType)) {\n            return void 0;\n          }\n          const lhsType = getTypeOfExpression(e.expression);\n          return getPropertyOfType(lhsType, getPropertyNameFromType(propType));\n        }\n        return void 0;\n        function tryGetPrivateIdentifierPropertyOfType(type, id) {\n          const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(id.escapedText, id);\n          return lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(type, lexicallyScopedSymbol);\n        }\n      }\n      function getContextualTypeForAssignmentDeclaration(binaryExpression) {\n        var _a22, _b3;\n        const kind = getAssignmentDeclarationKind(binaryExpression);\n        switch (kind) {\n          case 0:\n          case 4:\n            const lhsSymbol = getSymbolForExpression(binaryExpression.left);\n            const decl = lhsSymbol && lhsSymbol.valueDeclaration;\n            if (decl && (isPropertyDeclaration(decl) || isPropertySignature(decl))) {\n              const overallAnnotation = getEffectiveTypeAnnotationNode(decl);\n              return overallAnnotation && instantiateType(getTypeFromTypeNode(overallAnnotation), getSymbolLinks(lhsSymbol).mapper) || (isPropertyDeclaration(decl) ? decl.initializer && getTypeOfExpression(binaryExpression.left) : void 0);\n            }\n            if (kind === 0) {\n              return getTypeOfExpression(binaryExpression.left);\n            }\n            return getContextualTypeForThisPropertyAssignment(binaryExpression);\n          case 5:\n            if (isPossiblyAliasedThisProperty(binaryExpression, kind)) {\n              return getContextualTypeForThisPropertyAssignment(binaryExpression);\n            } else if (!canHaveSymbol(binaryExpression.left) || !binaryExpression.left.symbol) {\n              return getTypeOfExpression(binaryExpression.left);\n            } else {\n              const decl2 = binaryExpression.left.symbol.valueDeclaration;\n              if (!decl2) {\n                return void 0;\n              }\n              const lhs = cast(binaryExpression.left, isAccessExpression);\n              const overallAnnotation = getEffectiveTypeAnnotationNode(decl2);\n              if (overallAnnotation) {\n                return getTypeFromTypeNode(overallAnnotation);\n              } else if (isIdentifier(lhs.expression)) {\n                const id = lhs.expression;\n                const parentSymbol = resolveName(\n                  id,\n                  id.escapedText,\n                  111551,\n                  void 0,\n                  id.escapedText,\n                  /*isUse*/\n                  true\n                );\n                if (parentSymbol) {\n                  const annotated2 = parentSymbol.valueDeclaration && getEffectiveTypeAnnotationNode(parentSymbol.valueDeclaration);\n                  if (annotated2) {\n                    const nameStr = getElementOrPropertyAccessName(lhs);\n                    if (nameStr !== void 0) {\n                      return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(annotated2), nameStr);\n                    }\n                  }\n                  return void 0;\n                }\n              }\n              return isInJSFile(decl2) ? void 0 : getTypeOfExpression(binaryExpression.left);\n            }\n          case 1:\n          case 6:\n          case 3:\n          case 2:\n            let valueDeclaration;\n            if (kind !== 2) {\n              valueDeclaration = canHaveSymbol(binaryExpression.left) ? (_a22 = binaryExpression.left.symbol) == null ? void 0 : _a22.valueDeclaration : void 0;\n            }\n            valueDeclaration || (valueDeclaration = (_b3 = binaryExpression.symbol) == null ? void 0 : _b3.valueDeclaration);\n            const annotated = valueDeclaration && getEffectiveTypeAnnotationNode(valueDeclaration);\n            return annotated ? getTypeFromTypeNode(annotated) : void 0;\n          case 7:\n          case 8:\n          case 9:\n            return Debug2.fail(\"Does not apply\");\n          default:\n            return Debug2.assertNever(kind);\n        }\n      }\n      function isPossiblyAliasedThisProperty(declaration, kind = getAssignmentDeclarationKind(declaration)) {\n        if (kind === 4) {\n          return true;\n        }\n        if (!isInJSFile(declaration) || kind !== 5 || !isIdentifier(declaration.left.expression)) {\n          return false;\n        }\n        const name = declaration.left.expression.escapedText;\n        const symbol = resolveName(\n          declaration.left,\n          name,\n          111551,\n          void 0,\n          void 0,\n          /*isUse*/\n          true,\n          /*excludeGlobals*/\n          true\n        );\n        return isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration);\n      }\n      function getContextualTypeForThisPropertyAssignment(binaryExpression) {\n        if (!binaryExpression.symbol)\n          return getTypeOfExpression(binaryExpression.left);\n        if (binaryExpression.symbol.valueDeclaration) {\n          const annotated = getEffectiveTypeAnnotationNode(binaryExpression.symbol.valueDeclaration);\n          if (annotated) {\n            const type = getTypeFromTypeNode(annotated);\n            if (type) {\n              return type;\n            }\n          }\n        }\n        const thisAccess = cast(binaryExpression.left, isAccessExpression);\n        if (!isObjectLiteralMethod(getThisContainer(\n          thisAccess.expression,\n          /*includeArrowFunctions*/\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        ))) {\n          return void 0;\n        }\n        const thisType = checkThisExpression(thisAccess.expression);\n        const nameStr = getElementOrPropertyAccessName(thisAccess);\n        return nameStr !== void 0 && getTypeOfPropertyOfContextualType(thisType, nameStr) || void 0;\n      }\n      function isCircularMappedProperty(symbol) {\n        return !!(getCheckFlags(symbol) & 262144 && !symbol.links.type && findResolutionCycleStartIndex(\n          symbol,\n          0\n          /* Type */\n        ) >= 0);\n      }\n      function getTypeOfPropertyOfContextualType(type, name, nameType) {\n        return mapType(\n          type,\n          (t) => {\n            var _a22;\n            if (isGenericMappedType(t) && !t.declaration.nameType) {\n              const constraint = getConstraintTypeFromMappedType(t);\n              const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint;\n              const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name));\n              if (isTypeAssignableTo(propertyNameType, constraintOfConstraint)) {\n                return substituteIndexedMappedType(t, propertyNameType);\n              }\n            } else if (t.flags & 3670016) {\n              const prop = getPropertyOfType(t, name);\n              if (prop) {\n                return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);\n              }\n              if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {\n                const restType = getElementTypeOfSliceOfTupleType(\n                  t,\n                  t.target.fixedLength,\n                  /*endSkipCount*/\n                  0,\n                  /*writing*/\n                  false,\n                  /*noReductions*/\n                  true\n                );\n                if (restType) {\n                  return restType;\n                }\n              }\n              return (_a22 = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType || getStringLiteralType(unescapeLeadingUnderscores(name)))) == null ? void 0 : _a22.type;\n            }\n            return void 0;\n          },\n          /*noReductions*/\n          true\n        );\n      }\n      function getContextualTypeForObjectLiteralMethod(node, contextFlags) {\n        Debug2.assert(isObjectLiteralMethod(node));\n        if (node.flags & 33554432) {\n          return void 0;\n        }\n        return getContextualTypeForObjectLiteralElement(node, contextFlags);\n      }\n      function getContextualTypeForObjectLiteralElement(element, contextFlags) {\n        const objectLiteral = element.parent;\n        const propertyAssignmentType = isPropertyAssignment(element) && getContextualTypeForVariableLikeDeclaration(element, contextFlags);\n        if (propertyAssignmentType) {\n          return propertyAssignmentType;\n        }\n        const type = getApparentTypeOfContextualType(objectLiteral, contextFlags);\n        if (type) {\n          if (hasBindableName(element)) {\n            const symbol = getSymbolOfDeclaration(element);\n            return getTypeOfPropertyOfContextualType(type, symbol.escapedName, getSymbolLinks(symbol).nameType);\n          }\n          if (element.name) {\n            const nameType = getLiteralTypeFromPropertyName(element.name);\n            return mapType(\n              type,\n              (t) => {\n                var _a22;\n                return (_a22 = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType)) == null ? void 0 : _a22.type;\n              },\n              /*noReductions*/\n              true\n            );\n          }\n        }\n        return void 0;\n      }\n      function getContextualTypeForElementExpression(arrayContextualType, index) {\n        return arrayContextualType && (index >= 0 && getTypeOfPropertyOfContextualType(arrayContextualType, \"\" + index) || mapType(\n          arrayContextualType,\n          (t) => isTupleType(t) ? getElementTypeOfSliceOfTupleType(\n            t,\n            0,\n            /*endSkipCount*/\n            0,\n            /*writing*/\n            false,\n            /*noReductions*/\n            true\n          ) : getIteratedTypeOrElementType(\n            1,\n            t,\n            undefinedType,\n            /*errorNode*/\n            void 0,\n            /*checkAssignability*/\n            false\n          ),\n          /*noReductions*/\n          true\n        ));\n      }\n      function getContextualTypeForConditionalOperand(node, contextFlags) {\n        const conditional = node.parent;\n        return node === conditional.whenTrue || node === conditional.whenFalse ? getContextualType2(conditional, contextFlags) : void 0;\n      }\n      function getContextualTypeForChildJsxExpression(node, child, contextFlags) {\n        const attributesType = getApparentTypeOfContextualType(node.openingElement.tagName, contextFlags);\n        const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node));\n        if (!(attributesType && !isTypeAny(attributesType) && jsxChildrenPropertyName && jsxChildrenPropertyName !== \"\")) {\n          return void 0;\n        }\n        const realChildren = getSemanticJsxChildren(node.children);\n        const childIndex = realChildren.indexOf(child);\n        const childFieldType = getTypeOfPropertyOfContextualType(attributesType, jsxChildrenPropertyName);\n        return childFieldType && (realChildren.length === 1 ? childFieldType : mapType(\n          childFieldType,\n          (t) => {\n            if (isArrayLikeType(t)) {\n              return getIndexedAccessType(t, getNumberLiteralType(childIndex));\n            } else {\n              return t;\n            }\n          },\n          /*noReductions*/\n          true\n        ));\n      }\n      function getContextualTypeForJsxExpression(node, contextFlags) {\n        const exprParent = node.parent;\n        return isJsxAttributeLike(exprParent) ? getContextualType2(node, contextFlags) : isJsxElement(exprParent) ? getContextualTypeForChildJsxExpression(exprParent, node, contextFlags) : void 0;\n      }\n      function getContextualTypeForJsxAttribute(attribute, contextFlags) {\n        if (isJsxAttribute(attribute)) {\n          const attributesType = getApparentTypeOfContextualType(attribute.parent, contextFlags);\n          if (!attributesType || isTypeAny(attributesType)) {\n            return void 0;\n          }\n          return getTypeOfPropertyOfContextualType(attributesType, attribute.name.escapedText);\n        } else {\n          return getContextualType2(attribute.parent, contextFlags);\n        }\n      }\n      function isPossiblyDiscriminantValue(node) {\n        switch (node.kind) {\n          case 10:\n          case 8:\n          case 9:\n          case 14:\n          case 110:\n          case 95:\n          case 104:\n          case 79:\n          case 155:\n            return true;\n          case 208:\n          case 214:\n            return isPossiblyDiscriminantValue(node.expression);\n          case 291:\n            return !node.expression || isPossiblyDiscriminantValue(node.expression);\n        }\n        return false;\n      }\n      function discriminateContextualTypeByObjectMembers(node, contextualType) {\n        return getMatchingUnionConstituentForObjectLiteral(contextualType, node) || discriminateTypeByDiscriminableItems(\n          contextualType,\n          concatenate(\n            map(\n              filter(node.properties, (p) => !!p.symbol && p.kind === 299 && isPossiblyDiscriminantValue(p.initializer) && isDiscriminantProperty(contextualType, p.symbol.escapedName)),\n              (prop) => [() => getContextFreeTypeOfExpression(prop.initializer), prop.symbol.escapedName]\n            ),\n            map(\n              filter(getPropertiesOfType(contextualType), (s) => {\n                var _a22;\n                return !!(s.flags & 16777216) && !!((_a22 = node == null ? void 0 : node.symbol) == null ? void 0 : _a22.members) && !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName);\n              }),\n              (s) => [() => undefinedType, s.escapedName]\n            )\n          ),\n          isTypeAssignableTo,\n          contextualType\n        );\n      }\n      function discriminateContextualTypeByJSXAttributes(node, contextualType) {\n        return discriminateTypeByDiscriminableItems(\n          contextualType,\n          concatenate(\n            map(\n              filter(node.properties, (p) => !!p.symbol && p.kind === 288 && isDiscriminantProperty(contextualType, p.symbol.escapedName) && (!p.initializer || isPossiblyDiscriminantValue(p.initializer))),\n              (prop) => [!prop.initializer ? () => trueType : () => getContextFreeTypeOfExpression(prop.initializer), prop.symbol.escapedName]\n            ),\n            map(\n              filter(getPropertiesOfType(contextualType), (s) => {\n                var _a22;\n                return !!(s.flags & 16777216) && !!((_a22 = node == null ? void 0 : node.symbol) == null ? void 0 : _a22.members) && !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName);\n              }),\n              (s) => [() => undefinedType, s.escapedName]\n            )\n          ),\n          isTypeAssignableTo,\n          contextualType\n        );\n      }\n      function getApparentTypeOfContextualType(node, contextFlags) {\n        const contextualType = isObjectLiteralMethod(node) ? getContextualTypeForObjectLiteralMethod(node, contextFlags) : getContextualType2(node, contextFlags);\n        const instantiatedType = instantiateContextualType(contextualType, node, contextFlags);\n        if (instantiatedType && !(contextFlags && contextFlags & 2 && instantiatedType.flags & 8650752)) {\n          const apparentType = mapType(\n            instantiatedType,\n            getApparentType,\n            /*noReductions*/\n            true\n          );\n          return apparentType.flags & 1048576 && isObjectLiteralExpression(node) ? discriminateContextualTypeByObjectMembers(node, apparentType) : apparentType.flags & 1048576 && isJsxAttributes(node) ? discriminateContextualTypeByJSXAttributes(node, apparentType) : apparentType;\n        }\n      }\n      function instantiateContextualType(contextualType, node, contextFlags) {\n        if (contextualType && maybeTypeOfKind(\n          contextualType,\n          465829888\n          /* Instantiable */\n        )) {\n          const inferenceContext = getInferenceContext(node);\n          if (inferenceContext && contextFlags & 1 && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {\n            return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);\n          }\n          if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {\n            const type = instantiateInstantiableTypes(contextualType, inferenceContext.returnMapper);\n            return type.flags & 1048576 && containsType(type.types, regularFalseType) && containsType(type.types, regularTrueType) ? filterType(type, (t) => t !== regularFalseType && t !== regularTrueType) : type;\n          }\n        }\n        return contextualType;\n      }\n      function instantiateInstantiableTypes(type, mapper) {\n        if (type.flags & 465829888) {\n          return instantiateType(type, mapper);\n        }\n        if (type.flags & 1048576) {\n          return getUnionType(\n            map(type.types, (t) => instantiateInstantiableTypes(t, mapper)),\n            0\n            /* None */\n          );\n        }\n        if (type.flags & 2097152) {\n          return getIntersectionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper)));\n        }\n        return type;\n      }\n      function getContextualType2(node, contextFlags) {\n        var _a22, _b3;\n        if (node.flags & 33554432) {\n          return void 0;\n        }\n        const index = findContextualNode(\n          node,\n          /*includeCaches*/\n          !contextFlags\n        );\n        if (index >= 0) {\n          return contextualTypes[index];\n        }\n        const { parent: parent2 } = node;\n        switch (parent2.kind) {\n          case 257:\n          case 166:\n          case 169:\n          case 168:\n          case 205:\n            return getContextualTypeForInitializerExpression(node, contextFlags);\n          case 216:\n          case 250:\n            return getContextualTypeForReturnExpression(node, contextFlags);\n          case 226:\n            return getContextualTypeForYieldOperand(parent2, contextFlags);\n          case 220:\n            return getContextualTypeForAwaitOperand(parent2, contextFlags);\n          case 210:\n          case 211:\n            return getContextualTypeForArgument(parent2, node);\n          case 167:\n            return getContextualTypeForDecorator(parent2);\n          case 213:\n          case 231:\n            return isConstTypeReference(parent2.type) ? getContextualType2(parent2, contextFlags) : getTypeFromTypeNode(parent2.type);\n          case 223:\n            return getContextualTypeForBinaryOperand(node, contextFlags);\n          case 299:\n          case 300:\n            return getContextualTypeForObjectLiteralElement(parent2, contextFlags);\n          case 301:\n            return getContextualType2(parent2.parent, contextFlags);\n          case 206: {\n            const arrayLiteral = parent2;\n            const type = getApparentTypeOfContextualType(arrayLiteral, contextFlags);\n            const spreadIndex = (_b3 = (_a22 = getNodeLinks(arrayLiteral)).firstSpreadIndex) != null ? _b3 : _a22.firstSpreadIndex = findIndex(arrayLiteral.elements, isSpreadElement);\n            const elementIndex = indexOfNode(arrayLiteral.elements, node);\n            return getContextualTypeForElementExpression(type, spreadIndex < 0 || elementIndex < spreadIndex ? elementIndex : -1);\n          }\n          case 224:\n            return getContextualTypeForConditionalOperand(node, contextFlags);\n          case 236:\n            Debug2.assert(\n              parent2.parent.kind === 225\n              /* TemplateExpression */\n            );\n            return getContextualTypeForSubstitutionExpression(parent2.parent, node);\n          case 214: {\n            if (isInJSFile(parent2)) {\n              if (isJSDocSatisfiesExpression(parent2)) {\n                return getTypeFromTypeNode(getJSDocSatisfiesExpressionType(parent2));\n              }\n              const typeTag = getJSDocTypeTag(parent2);\n              if (typeTag && !isConstTypeReference(typeTag.typeExpression.type)) {\n                return getTypeFromTypeNode(typeTag.typeExpression.type);\n              }\n            }\n            return getContextualType2(parent2, contextFlags);\n          }\n          case 232:\n            return getContextualType2(parent2, contextFlags);\n          case 235:\n            return getTypeFromTypeNode(parent2.type);\n          case 274:\n            return tryGetTypeFromEffectiveTypeNode(parent2);\n          case 291:\n            return getContextualTypeForJsxExpression(parent2, contextFlags);\n          case 288:\n          case 290:\n            return getContextualTypeForJsxAttribute(parent2, contextFlags);\n          case 283:\n          case 282:\n            return getContextualJsxElementAttributesType(parent2, contextFlags);\n        }\n        return void 0;\n      }\n      function pushCachedContextualType(node) {\n        pushContextualType(\n          node,\n          getContextualType2(\n            node,\n            /*contextFlags*/\n            void 0\n          ),\n          /*isCache*/\n          true\n        );\n      }\n      function pushContextualType(node, type, isCache) {\n        contextualTypeNodes[contextualTypeCount] = node;\n        contextualTypes[contextualTypeCount] = type;\n        contextualIsCache[contextualTypeCount] = isCache;\n        contextualTypeCount++;\n      }\n      function popContextualType() {\n        contextualTypeCount--;\n      }\n      function findContextualNode(node, includeCaches) {\n        for (let i = contextualTypeCount - 1; i >= 0; i--) {\n          if (node === contextualTypeNodes[i] && (includeCaches || !contextualIsCache[i])) {\n            return i;\n          }\n        }\n        return -1;\n      }\n      function pushInferenceContext(node, inferenceContext) {\n        inferenceContextNodes[inferenceContextCount] = node;\n        inferenceContexts[inferenceContextCount] = inferenceContext;\n        inferenceContextCount++;\n      }\n      function popInferenceContext() {\n        inferenceContextCount--;\n      }\n      function getInferenceContext(node) {\n        for (let i = inferenceContextCount - 1; i >= 0; i--) {\n          if (isNodeDescendantOf(node, inferenceContextNodes[i])) {\n            return inferenceContexts[i];\n          }\n        }\n      }\n      function getContextualJsxElementAttributesType(node, contextFlags) {\n        if (isJsxOpeningElement(node) && contextFlags !== 4) {\n          const index = findContextualNode(\n            node.parent,\n            /*includeCaches*/\n            !contextFlags\n          );\n          if (index >= 0) {\n            return contextualTypes[index];\n          }\n        }\n        return getContextualTypeForArgumentAtIndex(node, 0);\n      }\n      function getEffectiveFirstArgumentForJsxSignature(signature, node) {\n        return getJsxReferenceKind(node) !== 0 ? getJsxPropsTypeFromCallSignature(signature, node) : getJsxPropsTypeFromClassType(signature, node);\n      }\n      function getJsxPropsTypeFromCallSignature(sig, context) {\n        let propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType);\n        propsType = getJsxManagedAttributesFromLocatedAttributes(context, getJsxNamespaceAt(context), propsType);\n        const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context);\n        if (!isErrorType(intrinsicAttribs)) {\n          propsType = intersectTypes(intrinsicAttribs, propsType);\n        }\n        return propsType;\n      }\n      function getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation) {\n        if (sig.compositeSignatures) {\n          const results = [];\n          for (const signature of sig.compositeSignatures) {\n            const instance = getReturnTypeOfSignature(signature);\n            if (isTypeAny(instance)) {\n              return instance;\n            }\n            const propType = getTypeOfPropertyOfType(instance, forcedLookupLocation);\n            if (!propType) {\n              return;\n            }\n            results.push(propType);\n          }\n          return getIntersectionType(results);\n        }\n        const instanceType = getReturnTypeOfSignature(sig);\n        return isTypeAny(instanceType) ? instanceType : getTypeOfPropertyOfType(instanceType, forcedLookupLocation);\n      }\n      function getStaticTypeOfReferencedJsxConstructor(context) {\n        if (isJsxIntrinsicIdentifier(context.tagName)) {\n          const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(context);\n          const fakeSignature = createSignatureForJSXIntrinsic(context, result);\n          return getOrCreateTypeFromSignature(fakeSignature);\n        }\n        const tagType = checkExpressionCached(context.tagName);\n        if (tagType.flags & 128) {\n          const result = getIntrinsicAttributesTypeFromStringLiteralType(tagType, context);\n          if (!result) {\n            return errorType;\n          }\n          const fakeSignature = createSignatureForJSXIntrinsic(context, result);\n          return getOrCreateTypeFromSignature(fakeSignature);\n        }\n        return tagType;\n      }\n      function getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType) {\n        const managedSym = getJsxLibraryManagedAttributes(ns);\n        if (managedSym) {\n          const declaredManagedType = getDeclaredTypeOfSymbol(managedSym);\n          const ctorType = getStaticTypeOfReferencedJsxConstructor(context);\n          if (managedSym.flags & 524288) {\n            const params = getSymbolLinks(managedSym).typeParameters;\n            if (length(params) >= 2) {\n              const args = fillMissingTypeArguments([ctorType, attributesType], params, 2, isInJSFile(context));\n              return getTypeAliasInstantiation(managedSym, args);\n            }\n          }\n          if (length(declaredManagedType.typeParameters) >= 2) {\n            const args = fillMissingTypeArguments([ctorType, attributesType], declaredManagedType.typeParameters, 2, isInJSFile(context));\n            return createTypeReference(declaredManagedType, args);\n          }\n        }\n        return attributesType;\n      }\n      function getJsxPropsTypeFromClassType(sig, context) {\n        const ns = getJsxNamespaceAt(context);\n        const forcedLookupLocation = getJsxElementPropertiesName(ns);\n        let attributesType = forcedLookupLocation === void 0 ? getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType) : forcedLookupLocation === \"\" ? getReturnTypeOfSignature(sig) : getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation);\n        if (!attributesType) {\n          if (!!forcedLookupLocation && !!length(context.attributes.properties)) {\n            error(context, Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property, unescapeLeadingUnderscores(forcedLookupLocation));\n          }\n          return unknownType;\n        }\n        attributesType = getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType);\n        if (isTypeAny(attributesType)) {\n          return attributesType;\n        } else {\n          let apparentAttributesType = attributesType;\n          const intrinsicClassAttribs = getJsxType(JsxNames.IntrinsicClassAttributes, context);\n          if (!isErrorType(intrinsicClassAttribs)) {\n            const typeParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(intrinsicClassAttribs.symbol);\n            const hostClassType = getReturnTypeOfSignature(sig);\n            let libraryManagedAttributeType;\n            if (typeParams) {\n              const inferredArgs = fillMissingTypeArguments([hostClassType], typeParams, getMinTypeArgumentCount(typeParams), isInJSFile(context));\n              libraryManagedAttributeType = instantiateType(intrinsicClassAttribs, createTypeMapper(typeParams, inferredArgs));\n            } else\n              libraryManagedAttributeType = intrinsicClassAttribs;\n            apparentAttributesType = intersectTypes(libraryManagedAttributeType, apparentAttributesType);\n          }\n          const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context);\n          if (!isErrorType(intrinsicAttribs)) {\n            apparentAttributesType = intersectTypes(intrinsicAttribs, apparentAttributesType);\n          }\n          return apparentAttributesType;\n        }\n      }\n      function getIntersectedSignatures(signatures) {\n        return getStrictOptionValue(compilerOptions, \"noImplicitAny\") ? reduceLeft(\n          signatures,\n          (left, right) => left === right || !left ? left : compareTypeParametersIdentical(left.typeParameters, right.typeParameters) ? combineSignaturesOfIntersectionMembers(left, right) : void 0\n        ) : void 0;\n      }\n      function combineIntersectionThisParam(left, right, mapper) {\n        if (!left || !right) {\n          return left || right;\n        }\n        const thisType = getUnionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]);\n        return createSymbolWithType(left, thisType);\n      }\n      function combineIntersectionParameters(left, right, mapper) {\n        const leftCount = getParameterCount(left);\n        const rightCount = getParameterCount(right);\n        const longest = leftCount >= rightCount ? left : right;\n        const shorter = longest === left ? right : left;\n        const longestCount = longest === left ? leftCount : rightCount;\n        const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right);\n        const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest);\n        const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0));\n        for (let i = 0; i < longestCount; i++) {\n          let longestParamType = tryGetTypeAtPosition(longest, i);\n          if (longest === right) {\n            longestParamType = instantiateType(longestParamType, mapper);\n          }\n          let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType;\n          if (shorter === right) {\n            shorterParamType = instantiateType(shorterParamType, mapper);\n          }\n          const unionParamType = getUnionType([longestParamType, shorterParamType]);\n          const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1;\n          const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter);\n          const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i);\n          const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i);\n          const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0;\n          const paramSymbol = createSymbol(\n            1 | (isOptional && !isRestParam ? 16777216 : 0),\n            paramName || `arg${i}`\n          );\n          paramSymbol.links.type = isRestParam ? createArrayType(unionParamType) : unionParamType;\n          params[i] = paramSymbol;\n        }\n        if (needsExtraRestElement) {\n          const restParamSymbol = createSymbol(1, \"args\");\n          restParamSymbol.links.type = createArrayType(getTypeAtPosition(shorter, longestCount));\n          if (shorter === right) {\n            restParamSymbol.links.type = instantiateType(restParamSymbol.links.type, mapper);\n          }\n          params[longestCount] = restParamSymbol;\n        }\n        return params;\n      }\n      function combineSignaturesOfIntersectionMembers(left, right) {\n        const typeParams = left.typeParameters || right.typeParameters;\n        let paramMapper;\n        if (left.typeParameters && right.typeParameters) {\n          paramMapper = createTypeMapper(right.typeParameters, left.typeParameters);\n        }\n        const declaration = left.declaration;\n        const params = combineIntersectionParameters(left, right, paramMapper);\n        const thisParam = combineIntersectionThisParam(left.thisParameter, right.thisParameter, paramMapper);\n        const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount);\n        const result = createSignature(\n          declaration,\n          typeParams,\n          thisParam,\n          params,\n          /*resolvedReturnType*/\n          void 0,\n          /*resolvedTypePredicate*/\n          void 0,\n          minArgCount,\n          (left.flags | right.flags) & 39\n          /* PropagatingFlags */\n        );\n        result.compositeKind = 2097152;\n        result.compositeSignatures = concatenate(left.compositeKind === 2097152 && left.compositeSignatures || [left], [right]);\n        if (paramMapper) {\n          result.mapper = left.compositeKind === 2097152 && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;\n        }\n        return result;\n      }\n      function getContextualCallSignature(type, node) {\n        const signatures = getSignaturesOfType(\n          type,\n          0\n          /* Call */\n        );\n        const applicableByArity = filter(signatures, (s) => !isAritySmaller(s, node));\n        return applicableByArity.length === 1 ? applicableByArity[0] : getIntersectedSignatures(applicableByArity);\n      }\n      function isAritySmaller(signature, target) {\n        let targetParameterCount = 0;\n        for (; targetParameterCount < target.parameters.length; targetParameterCount++) {\n          const param = target.parameters[targetParameterCount];\n          if (param.initializer || param.questionToken || param.dotDotDotToken || isJSDocOptionalParameter(param)) {\n            break;\n          }\n        }\n        if (target.parameters.length && parameterIsThisKeyword(target.parameters[0])) {\n          targetParameterCount--;\n        }\n        return !hasEffectiveRestParameter(signature) && getParameterCount(signature) < targetParameterCount;\n      }\n      function getContextualSignatureForFunctionLikeDeclaration(node) {\n        return isFunctionExpressionOrArrowFunction(node) || isObjectLiteralMethod(node) ? getContextualSignature(node) : void 0;\n      }\n      function getContextualSignature(node) {\n        Debug2.assert(node.kind !== 171 || isObjectLiteralMethod(node));\n        const typeTagSignature = getSignatureOfTypeTag(node);\n        if (typeTagSignature) {\n          return typeTagSignature;\n        }\n        const type = getApparentTypeOfContextualType(\n          node,\n          1\n          /* Signature */\n        );\n        if (!type) {\n          return void 0;\n        }\n        if (!(type.flags & 1048576)) {\n          return getContextualCallSignature(type, node);\n        }\n        let signatureList;\n        const types = type.types;\n        for (const current of types) {\n          const signature = getContextualCallSignature(current, node);\n          if (signature) {\n            if (!signatureList) {\n              signatureList = [signature];\n            } else if (!compareSignaturesIdentical(\n              signatureList[0],\n              signature,\n              /*partialMatch*/\n              false,\n              /*ignoreThisTypes*/\n              true,\n              /*ignoreReturnTypes*/\n              true,\n              compareTypesIdentical\n            )) {\n              return void 0;\n            } else {\n              signatureList.push(signature);\n            }\n          }\n        }\n        if (signatureList) {\n          return signatureList.length === 1 ? signatureList[0] : createUnionSignature(signatureList[0], signatureList);\n        }\n      }\n      function checkSpreadExpression(node, checkMode) {\n        if (languageVersion < 2) {\n          checkExternalEmitHelpers(\n            node,\n            compilerOptions.downlevelIteration ? 1536 : 1024\n            /* SpreadArray */\n          );\n        }\n        const arrayOrIterableType = checkExpression(node.expression, checkMode);\n        return checkIteratedTypeOrElementType(33, arrayOrIterableType, undefinedType, node.expression);\n      }\n      function checkSyntheticExpression(node) {\n        return node.isSpread ? getIndexedAccessType(node.type, numberType) : node.type;\n      }\n      function hasDefaultValue(node) {\n        return node.kind === 205 && !!node.initializer || node.kind === 223 && node.operatorToken.kind === 63;\n      }\n      function checkArrayLiteral(node, checkMode, forceTuple) {\n        const elements = node.elements;\n        const elementCount = elements.length;\n        const elementTypes = [];\n        const elementFlags = [];\n        pushCachedContextualType(node);\n        const inDestructuringPattern = isAssignmentTarget(node);\n        const inConstContext = isConstContext(node);\n        const contextualType = getApparentTypeOfContextualType(\n          node,\n          /*contextFlags*/\n          void 0\n        );\n        const inTupleContext = !!contextualType && someType(contextualType, isTupleLikeType);\n        let hasOmittedExpression = false;\n        for (let i = 0; i < elementCount; i++) {\n          const e = elements[i];\n          if (e.kind === 227) {\n            if (languageVersion < 2) {\n              checkExternalEmitHelpers(\n                e,\n                compilerOptions.downlevelIteration ? 1536 : 1024\n                /* SpreadArray */\n              );\n            }\n            const spreadType = checkExpression(e.expression, checkMode, forceTuple);\n            if (isArrayLikeType(spreadType)) {\n              elementTypes.push(spreadType);\n              elementFlags.push(\n                8\n                /* Variadic */\n              );\n            } else if (inDestructuringPattern) {\n              const restElementType = getIndexTypeOfType(spreadType, numberType) || getIteratedTypeOrElementType(\n                65,\n                spreadType,\n                undefinedType,\n                /*errorNode*/\n                void 0,\n                /*checkAssignability*/\n                false\n              ) || unknownType;\n              elementTypes.push(restElementType);\n              elementFlags.push(\n                4\n                /* Rest */\n              );\n            } else {\n              elementTypes.push(checkIteratedTypeOrElementType(33, spreadType, undefinedType, e.expression));\n              elementFlags.push(\n                4\n                /* Rest */\n              );\n            }\n          } else if (exactOptionalPropertyTypes && e.kind === 229) {\n            hasOmittedExpression = true;\n            elementTypes.push(undefinedOrMissingType);\n            elementFlags.push(\n              2\n              /* Optional */\n            );\n          } else {\n            const type = checkExpressionForMutableLocation(e, checkMode, forceTuple);\n            elementTypes.push(addOptionality(\n              type,\n              /*isProperty*/\n              true,\n              hasOmittedExpression\n            ));\n            elementFlags.push(\n              hasOmittedExpression ? 2 : 1\n              /* Required */\n            );\n            if (inTupleContext && checkMode && checkMode & 2 && !(checkMode & 4) && isContextSensitive(e)) {\n              const inferenceContext = getInferenceContext(node);\n              Debug2.assert(inferenceContext);\n              addIntraExpressionInferenceSite(inferenceContext, e, type);\n            }\n          }\n        }\n        popContextualType();\n        if (inDestructuringPattern) {\n          return createTupleType(elementTypes, elementFlags);\n        }\n        if (forceTuple || inConstContext || inTupleContext) {\n          return createArrayLiteralType(createTupleType(\n            elementTypes,\n            elementFlags,\n            /*readonly*/\n            inConstContext\n          ));\n        }\n        return createArrayLiteralType(createArrayType(elementTypes.length ? getUnionType(\n          sameMap(elementTypes, (t, i) => elementFlags[i] & 8 ? getIndexedAccessTypeOrUndefined(t, numberType) || anyType : t),\n          2\n          /* Subtype */\n        ) : strictNullChecks ? implicitNeverType : undefinedWideningType, inConstContext));\n      }\n      function createArrayLiteralType(type) {\n        if (!(getObjectFlags(type) & 4)) {\n          return type;\n        }\n        let literalType = type.literalType;\n        if (!literalType) {\n          literalType = type.literalType = cloneTypeReference(type);\n          literalType.objectFlags |= 16384 | 131072;\n        }\n        return literalType;\n      }\n      function isNumericName(name) {\n        switch (name.kind) {\n          case 164:\n            return isNumericComputedName(name);\n          case 79:\n            return isNumericLiteralName(name.escapedText);\n          case 8:\n          case 10:\n            return isNumericLiteralName(name.text);\n          default:\n            return false;\n        }\n      }\n      function isNumericComputedName(name) {\n        return isTypeAssignableToKind(\n          checkComputedPropertyName(name),\n          296\n          /* NumberLike */\n        );\n      }\n      function checkComputedPropertyName(node) {\n        const links = getNodeLinks(node.expression);\n        if (!links.resolvedType) {\n          if ((isTypeLiteralNode(node.parent.parent) || isClassLike(node.parent.parent) || isInterfaceDeclaration(node.parent.parent)) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 101 && node.parent.kind !== 174 && node.parent.kind !== 175) {\n            return links.resolvedType = errorType;\n          }\n          links.resolvedType = checkExpression(node.expression);\n          if (isPropertyDeclaration(node.parent) && !hasStaticModifier(node.parent) && isClassExpression(node.parent.parent)) {\n            const container = getEnclosingBlockScopeContainer(node.parent.parent);\n            const enclosingIterationStatement = getEnclosingIterationStatement(container);\n            if (enclosingIterationStatement) {\n              getNodeLinks(enclosingIterationStatement).flags |= 4096;\n              getNodeLinks(node).flags |= 32768;\n              getNodeLinks(node.parent.parent).flags |= 32768;\n            }\n          }\n          if (links.resolvedType.flags & 98304 || !isTypeAssignableToKind(\n            links.resolvedType,\n            402653316 | 296 | 12288\n            /* ESSymbolLike */\n          ) && !isTypeAssignableTo(links.resolvedType, stringNumberSymbolType)) {\n            error(node, Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any);\n          }\n        }\n        return links.resolvedType;\n      }\n      function isSymbolWithNumericName(symbol) {\n        var _a22;\n        const firstDecl = (_a22 = symbol.declarations) == null ? void 0 : _a22[0];\n        return isNumericLiteralName(symbol.escapedName) || firstDecl && isNamedDeclaration(firstDecl) && isNumericName(firstDecl.name);\n      }\n      function isSymbolWithSymbolName(symbol) {\n        var _a22;\n        const firstDecl = (_a22 = symbol.declarations) == null ? void 0 : _a22[0];\n        return isKnownSymbol(symbol) || firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name) && isTypeAssignableToKind(\n          checkComputedPropertyName(firstDecl.name),\n          4096\n          /* ESSymbol */\n        );\n      }\n      function getObjectLiteralIndexInfo(node, offset, properties, keyType) {\n        const propTypes = [];\n        for (let i = offset; i < properties.length; i++) {\n          const prop = properties[i];\n          if (keyType === stringType && !isSymbolWithSymbolName(prop) || keyType === numberType && isSymbolWithNumericName(prop) || keyType === esSymbolType && isSymbolWithSymbolName(prop)) {\n            propTypes.push(getTypeOfSymbol(properties[i]));\n          }\n        }\n        const unionType = propTypes.length ? getUnionType(\n          propTypes,\n          2\n          /* Subtype */\n        ) : undefinedType;\n        return createIndexInfo(keyType, unionType, isConstContext(node));\n      }\n      function getImmediateAliasedSymbol(symbol) {\n        Debug2.assert((symbol.flags & 2097152) !== 0, \"Should only get Alias here.\");\n        const links = getSymbolLinks(symbol);\n        if (!links.immediateTarget) {\n          const node = getDeclarationOfAliasSymbol(symbol);\n          if (!node)\n            return Debug2.fail();\n          links.immediateTarget = getTargetOfAliasDeclaration(\n            node,\n            /*dontRecursivelyResolve*/\n            true\n          );\n        }\n        return links.immediateTarget;\n      }\n      function checkObjectLiteral(node, checkMode) {\n        var _a22;\n        const inDestructuringPattern = isAssignmentTarget(node);\n        checkGrammarObjectLiteralExpression(node, inDestructuringPattern);\n        const allPropertiesTable = strictNullChecks ? createSymbolTable() : void 0;\n        let propertiesTable = createSymbolTable();\n        let propertiesArray = [];\n        let spread = emptyObjectType;\n        pushCachedContextualType(node);\n        const contextualType = getApparentTypeOfContextualType(\n          node,\n          /*contextFlags*/\n          void 0\n        );\n        const contextualTypeHasPattern = contextualType && contextualType.pattern && (contextualType.pattern.kind === 203 || contextualType.pattern.kind === 207);\n        const inConstContext = isConstContext(node);\n        const checkFlags = inConstContext ? 8 : 0;\n        const isInJavascript = isInJSFile(node) && !isInJsonFile(node);\n        const enumTag = getJSDocEnumTag(node);\n        const isJSObjectLiteral = !contextualType && isInJavascript && !enumTag;\n        let objectFlags = freshObjectLiteralFlag;\n        let patternWithComputedProperties = false;\n        let hasComputedStringProperty = false;\n        let hasComputedNumberProperty = false;\n        let hasComputedSymbolProperty = false;\n        for (const elem of node.properties) {\n          if (elem.name && isComputedPropertyName(elem.name)) {\n            checkComputedPropertyName(elem.name);\n          }\n        }\n        let offset = 0;\n        for (const memberDecl of node.properties) {\n          let member = getSymbolOfDeclaration(memberDecl);\n          const computedNameType = memberDecl.name && memberDecl.name.kind === 164 ? checkComputedPropertyName(memberDecl.name) : void 0;\n          if (memberDecl.kind === 299 || memberDecl.kind === 300 || isObjectLiteralMethod(memberDecl)) {\n            let type = memberDecl.kind === 299 ? checkPropertyAssignment(memberDecl, checkMode) : (\n              // avoid resolving the left side of the ShorthandPropertyAssignment outside of the destructuring\n              // for error recovery purposes. For example, if a user wrote `{ a = 100 }` instead of `{ a: 100 }`.\n              // we don't want to say \"could not find 'a'\".\n              memberDecl.kind === 300 ? checkExpressionForMutableLocation(!inDestructuringPattern && memberDecl.objectAssignmentInitializer ? memberDecl.objectAssignmentInitializer : memberDecl.name, checkMode) : checkObjectLiteralMethod(memberDecl, checkMode)\n            );\n            if (isInJavascript) {\n              const jsDocType = getTypeForDeclarationFromJSDocComment(memberDecl);\n              if (jsDocType) {\n                checkTypeAssignableTo(type, jsDocType, memberDecl);\n                type = jsDocType;\n              } else if (enumTag && enumTag.typeExpression) {\n                checkTypeAssignableTo(type, getTypeFromTypeNode(enumTag.typeExpression), memberDecl);\n              }\n            }\n            objectFlags |= getObjectFlags(type) & 458752;\n            const nameType = computedNameType && isTypeUsableAsPropertyName(computedNameType) ? computedNameType : void 0;\n            const prop = nameType ? createSymbol(\n              4 | member.flags,\n              getPropertyNameFromType(nameType),\n              checkFlags | 4096\n              /* Late */\n            ) : createSymbol(4 | member.flags, member.escapedName, checkFlags);\n            if (nameType) {\n              prop.links.nameType = nameType;\n            }\n            if (inDestructuringPattern) {\n              const isOptional = memberDecl.kind === 299 && hasDefaultValue(memberDecl.initializer) || memberDecl.kind === 300 && memberDecl.objectAssignmentInitializer;\n              if (isOptional) {\n                prop.flags |= 16777216;\n              }\n            } else if (contextualTypeHasPattern && !(getObjectFlags(contextualType) & 512)) {\n              const impliedProp = getPropertyOfType(contextualType, member.escapedName);\n              if (impliedProp) {\n                prop.flags |= impliedProp.flags & 16777216;\n              } else if (!compilerOptions.suppressExcessPropertyErrors && !getIndexInfoOfType(contextualType, stringType)) {\n                error(\n                  memberDecl.name,\n                  Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,\n                  symbolToString(member),\n                  typeToString(contextualType)\n                );\n              }\n            }\n            prop.declarations = member.declarations;\n            prop.parent = member.parent;\n            if (member.valueDeclaration) {\n              prop.valueDeclaration = member.valueDeclaration;\n            }\n            prop.links.type = type;\n            prop.links.target = member;\n            member = prop;\n            allPropertiesTable == null ? void 0 : allPropertiesTable.set(prop.escapedName, prop);\n            if (contextualType && checkMode && checkMode & 2 && !(checkMode & 4) && (memberDecl.kind === 299 || memberDecl.kind === 171) && isContextSensitive(memberDecl)) {\n              const inferenceContext = getInferenceContext(node);\n              Debug2.assert(inferenceContext);\n              const inferenceNode = memberDecl.kind === 299 ? memberDecl.initializer : memberDecl;\n              addIntraExpressionInferenceSite(inferenceContext, inferenceNode, type);\n            }\n          } else if (memberDecl.kind === 301) {\n            if (languageVersion < 2) {\n              checkExternalEmitHelpers(\n                memberDecl,\n                2\n                /* Assign */\n              );\n            }\n            if (propertiesArray.length > 0) {\n              spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext);\n              propertiesArray = [];\n              propertiesTable = createSymbolTable();\n              hasComputedStringProperty = false;\n              hasComputedNumberProperty = false;\n              hasComputedSymbolProperty = false;\n            }\n            const type = getReducedType(checkExpression(memberDecl.expression));\n            if (isValidSpreadType(type)) {\n              const mergedType = tryMergeUnionOfObjectTypeAndEmptyObject(type, inConstContext);\n              if (allPropertiesTable) {\n                checkSpreadPropOverrides(mergedType, allPropertiesTable, memberDecl);\n              }\n              offset = propertiesArray.length;\n              if (isErrorType(spread)) {\n                continue;\n              }\n              spread = getSpreadType(spread, mergedType, node.symbol, objectFlags, inConstContext);\n            } else {\n              error(memberDecl, Diagnostics.Spread_types_may_only_be_created_from_object_types);\n              spread = errorType;\n            }\n            continue;\n          } else {\n            Debug2.assert(\n              memberDecl.kind === 174 || memberDecl.kind === 175\n              /* SetAccessor */\n            );\n            checkNodeDeferred(memberDecl);\n          }\n          if (computedNameType && !(computedNameType.flags & 8576)) {\n            if (isTypeAssignableTo(computedNameType, stringNumberSymbolType)) {\n              if (isTypeAssignableTo(computedNameType, numberType)) {\n                hasComputedNumberProperty = true;\n              } else if (isTypeAssignableTo(computedNameType, esSymbolType)) {\n                hasComputedSymbolProperty = true;\n              } else {\n                hasComputedStringProperty = true;\n              }\n              if (inDestructuringPattern) {\n                patternWithComputedProperties = true;\n              }\n            }\n          } else {\n            propertiesTable.set(member.escapedName, member);\n          }\n          propertiesArray.push(member);\n        }\n        popContextualType();\n        if (contextualTypeHasPattern) {\n          const rootPatternParent = findAncestor(\n            contextualType.pattern.parent,\n            (n) => n.kind === 257 || n.kind === 223 || n.kind === 166\n            /* Parameter */\n          );\n          const spreadOrOutsideRootObject = findAncestor(\n            node,\n            (n) => n === rootPatternParent || n.kind === 301\n            /* SpreadAssignment */\n          );\n          if (spreadOrOutsideRootObject.kind !== 301) {\n            for (const prop of getPropertiesOfType(contextualType)) {\n              if (!propertiesTable.get(prop.escapedName) && !getPropertyOfType(spread, prop.escapedName)) {\n                if (!(prop.flags & 16777216)) {\n                  error(\n                    prop.valueDeclaration || ((_a22 = tryCast(prop, isTransientSymbol)) == null ? void 0 : _a22.links.bindingElement),\n                    Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value\n                  );\n                }\n                propertiesTable.set(prop.escapedName, prop);\n                propertiesArray.push(prop);\n              }\n            }\n          }\n        }\n        if (isErrorType(spread)) {\n          return errorType;\n        }\n        if (spread !== emptyObjectType) {\n          if (propertiesArray.length > 0) {\n            spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext);\n            propertiesArray = [];\n            propertiesTable = createSymbolTable();\n            hasComputedStringProperty = false;\n            hasComputedNumberProperty = false;\n          }\n          return mapType(spread, (t) => t === emptyObjectType ? createObjectLiteralType() : t);\n        }\n        return createObjectLiteralType();\n        function createObjectLiteralType() {\n          const indexInfos = [];\n          if (hasComputedStringProperty)\n            indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, stringType));\n          if (hasComputedNumberProperty)\n            indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, numberType));\n          if (hasComputedSymbolProperty)\n            indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, esSymbolType));\n          const result = createAnonymousType(node.symbol, propertiesTable, emptyArray, emptyArray, indexInfos);\n          result.objectFlags |= objectFlags | 128 | 131072;\n          if (isJSObjectLiteral) {\n            result.objectFlags |= 4096;\n          }\n          if (patternWithComputedProperties) {\n            result.objectFlags |= 512;\n          }\n          if (inDestructuringPattern) {\n            result.pattern = node;\n          }\n          return result;\n        }\n      }\n      function isValidSpreadType(type) {\n        const t = removeDefinitelyFalsyTypes(mapType(type, getBaseConstraintOrType));\n        return !!(t.flags & (1 | 67108864 | 524288 | 58982400) || t.flags & 3145728 && every(t.types, isValidSpreadType));\n      }\n      function checkJsxSelfClosingElementDeferred(node) {\n        checkJsxOpeningLikeElementOrOpeningFragment(node);\n      }\n      function checkJsxSelfClosingElement(node, _checkMode) {\n        checkNodeDeferred(node);\n        return getJsxElementTypeAt(node) || anyType;\n      }\n      function checkJsxElementDeferred(node) {\n        checkJsxOpeningLikeElementOrOpeningFragment(node.openingElement);\n        if (isJsxIntrinsicIdentifier(node.closingElement.tagName)) {\n          getIntrinsicTagSymbol(node.closingElement);\n        } else {\n          checkExpression(node.closingElement.tagName);\n        }\n        checkJsxChildren(node);\n      }\n      function checkJsxElement(node, _checkMode) {\n        checkNodeDeferred(node);\n        return getJsxElementTypeAt(node) || anyType;\n      }\n      function checkJsxFragment(node) {\n        checkJsxOpeningLikeElementOrOpeningFragment(node.openingFragment);\n        const nodeSourceFile = getSourceFileOfNode(node);\n        if (getJSXTransformEnabled(compilerOptions) && (compilerOptions.jsxFactory || nodeSourceFile.pragmas.has(\"jsx\")) && !compilerOptions.jsxFragmentFactory && !nodeSourceFile.pragmas.has(\"jsxfrag\")) {\n          error(node, compilerOptions.jsxFactory ? Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option : Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments);\n        }\n        checkJsxChildren(node);\n        return getJsxElementTypeAt(node) || anyType;\n      }\n      function isHyphenatedJsxName(name) {\n        return stringContains(name, \"-\");\n      }\n      function isJsxIntrinsicIdentifier(tagName) {\n        return tagName.kind === 79 && isIntrinsicJsxName(tagName.escapedText);\n      }\n      function checkJsxAttribute(node, checkMode) {\n        return node.initializer ? checkExpressionForMutableLocation(node.initializer, checkMode) : trueType;\n      }\n      function createJsxAttributesTypeFromAttributesProperty(openingLikeElement, checkMode) {\n        const attributes = openingLikeElement.attributes;\n        const attributesType = getContextualType2(\n          attributes,\n          0\n          /* None */\n        );\n        const allAttributesTable = strictNullChecks ? createSymbolTable() : void 0;\n        let attributesTable = createSymbolTable();\n        let spread = emptyJsxObjectType;\n        let hasSpreadAnyType = false;\n        let typeToIntersect;\n        let explicitlySpecifyChildrenAttribute = false;\n        let objectFlags = 2048;\n        const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(openingLikeElement));\n        for (const attributeDecl of attributes.properties) {\n          const member = attributeDecl.symbol;\n          if (isJsxAttribute(attributeDecl)) {\n            const exprType = checkJsxAttribute(attributeDecl, checkMode);\n            objectFlags |= getObjectFlags(exprType) & 458752;\n            const attributeSymbol = createSymbol(4 | member.flags, member.escapedName);\n            attributeSymbol.declarations = member.declarations;\n            attributeSymbol.parent = member.parent;\n            if (member.valueDeclaration) {\n              attributeSymbol.valueDeclaration = member.valueDeclaration;\n            }\n            attributeSymbol.links.type = exprType;\n            attributeSymbol.links.target = member;\n            attributesTable.set(attributeSymbol.escapedName, attributeSymbol);\n            allAttributesTable == null ? void 0 : allAttributesTable.set(attributeSymbol.escapedName, attributeSymbol);\n            if (attributeDecl.name.escapedText === jsxChildrenPropertyName) {\n              explicitlySpecifyChildrenAttribute = true;\n            }\n            if (attributesType) {\n              const prop = getPropertyOfType(attributesType, member.escapedName);\n              if (prop && prop.declarations && isDeprecatedSymbol(prop)) {\n                addDeprecatedSuggestion(attributeDecl.name, prop.declarations, attributeDecl.name.escapedText);\n              }\n            }\n          } else {\n            Debug2.assert(\n              attributeDecl.kind === 290\n              /* JsxSpreadAttribute */\n            );\n            if (attributesTable.size > 0) {\n              spread = getSpreadType(\n                spread,\n                createJsxAttributesType(),\n                attributes.symbol,\n                objectFlags,\n                /*readonly*/\n                false\n              );\n              attributesTable = createSymbolTable();\n            }\n            const exprType = getReducedType(checkExpressionCached(attributeDecl.expression, checkMode));\n            if (isTypeAny(exprType)) {\n              hasSpreadAnyType = true;\n            }\n            if (isValidSpreadType(exprType)) {\n              spread = getSpreadType(\n                spread,\n                exprType,\n                attributes.symbol,\n                objectFlags,\n                /*readonly*/\n                false\n              );\n              if (allAttributesTable) {\n                checkSpreadPropOverrides(exprType, allAttributesTable, attributeDecl);\n              }\n            } else {\n              error(attributeDecl.expression, Diagnostics.Spread_types_may_only_be_created_from_object_types);\n              typeToIntersect = typeToIntersect ? getIntersectionType([typeToIntersect, exprType]) : exprType;\n            }\n          }\n        }\n        if (!hasSpreadAnyType) {\n          if (attributesTable.size > 0) {\n            spread = getSpreadType(\n              spread,\n              createJsxAttributesType(),\n              attributes.symbol,\n              objectFlags,\n              /*readonly*/\n              false\n            );\n          }\n        }\n        const parent2 = openingLikeElement.parent.kind === 281 ? openingLikeElement.parent : void 0;\n        if (parent2 && parent2.openingElement === openingLikeElement && parent2.children.length > 0) {\n          const childrenTypes = checkJsxChildren(parent2, checkMode);\n          if (!hasSpreadAnyType && jsxChildrenPropertyName && jsxChildrenPropertyName !== \"\") {\n            if (explicitlySpecifyChildrenAttribute) {\n              error(attributes, Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten, unescapeLeadingUnderscores(jsxChildrenPropertyName));\n            }\n            const contextualType = getApparentTypeOfContextualType(\n              openingLikeElement.attributes,\n              /*contextFlags*/\n              void 0\n            );\n            const childrenContextualType = contextualType && getTypeOfPropertyOfContextualType(contextualType, jsxChildrenPropertyName);\n            const childrenPropSymbol = createSymbol(4, jsxChildrenPropertyName);\n            childrenPropSymbol.links.type = childrenTypes.length === 1 ? childrenTypes[0] : childrenContextualType && someType(childrenContextualType, isTupleLikeType) ? createTupleType(childrenTypes) : createArrayType(getUnionType(childrenTypes));\n            childrenPropSymbol.valueDeclaration = factory.createPropertySignature(\n              /*modifiers*/\n              void 0,\n              unescapeLeadingUnderscores(jsxChildrenPropertyName),\n              /*questionToken*/\n              void 0,\n              /*type*/\n              void 0\n            );\n            setParent(childrenPropSymbol.valueDeclaration, attributes);\n            childrenPropSymbol.valueDeclaration.symbol = childrenPropSymbol;\n            const childPropMap = createSymbolTable();\n            childPropMap.set(jsxChildrenPropertyName, childrenPropSymbol);\n            spread = getSpreadType(\n              spread,\n              createAnonymousType(attributes.symbol, childPropMap, emptyArray, emptyArray, emptyArray),\n              attributes.symbol,\n              objectFlags,\n              /*readonly*/\n              false\n            );\n          }\n        }\n        if (hasSpreadAnyType) {\n          return anyType;\n        }\n        if (typeToIntersect && spread !== emptyJsxObjectType) {\n          return getIntersectionType([typeToIntersect, spread]);\n        }\n        return typeToIntersect || (spread === emptyJsxObjectType ? createJsxAttributesType() : spread);\n        function createJsxAttributesType() {\n          objectFlags |= freshObjectLiteralFlag;\n          const result = createAnonymousType(attributes.symbol, attributesTable, emptyArray, emptyArray, emptyArray);\n          result.objectFlags |= objectFlags | 128 | 131072;\n          return result;\n        }\n      }\n      function checkJsxChildren(node, checkMode) {\n        const childrenTypes = [];\n        for (const child of node.children) {\n          if (child.kind === 11) {\n            if (!child.containsOnlyTriviaWhiteSpaces) {\n              childrenTypes.push(stringType);\n            }\n          } else if (child.kind === 291 && !child.expression) {\n            continue;\n          } else {\n            childrenTypes.push(checkExpressionForMutableLocation(child, checkMode));\n          }\n        }\n        return childrenTypes;\n      }\n      function checkSpreadPropOverrides(type, props, spread) {\n        for (const right of getPropertiesOfType(type)) {\n          if (!(right.flags & 16777216)) {\n            const left = props.get(right.escapedName);\n            if (left) {\n              const diagnostic = error(left.valueDeclaration, Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten, unescapeLeadingUnderscores(left.escapedName));\n              addRelatedInfo(diagnostic, createDiagnosticForNode(spread, Diagnostics.This_spread_always_overwrites_this_property));\n            }\n          }\n        }\n      }\n      function checkJsxAttributes(node, checkMode) {\n        return createJsxAttributesTypeFromAttributesProperty(node.parent, checkMode);\n      }\n      function getJsxType(name, location) {\n        const namespace = getJsxNamespaceAt(location);\n        const exports = namespace && getExportsOfSymbol(namespace);\n        const typeSymbol = exports && getSymbol2(\n          exports,\n          name,\n          788968\n          /* Type */\n        );\n        return typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType;\n      }\n      function getIntrinsicTagSymbol(node) {\n        const links = getNodeLinks(node);\n        if (!links.resolvedSymbol) {\n          const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, node);\n          if (!isErrorType(intrinsicElementsType)) {\n            if (!isIdentifier(node.tagName))\n              return Debug2.fail();\n            const intrinsicProp = getPropertyOfType(intrinsicElementsType, node.tagName.escapedText);\n            if (intrinsicProp) {\n              links.jsxFlags |= 1;\n              return links.resolvedSymbol = intrinsicProp;\n            }\n            const indexSignatureType = getIndexTypeOfType(intrinsicElementsType, stringType);\n            if (indexSignatureType) {\n              links.jsxFlags |= 2;\n              return links.resolvedSymbol = intrinsicElementsType.symbol;\n            }\n            error(node, Diagnostics.Property_0_does_not_exist_on_type_1, idText(node.tagName), \"JSX.\" + JsxNames.IntrinsicElements);\n            return links.resolvedSymbol = unknownSymbol;\n          } else {\n            if (noImplicitAny) {\n              error(node, Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists, unescapeLeadingUnderscores(JsxNames.IntrinsicElements));\n            }\n            return links.resolvedSymbol = unknownSymbol;\n          }\n        }\n        return links.resolvedSymbol;\n      }\n      function getJsxNamespaceContainerForImplicitImport(location) {\n        const file = location && getSourceFileOfNode(location);\n        const links = file && getNodeLinks(file);\n        if (links && links.jsxImplicitImportContainer === false) {\n          return void 0;\n        }\n        if (links && links.jsxImplicitImportContainer) {\n          return links.jsxImplicitImportContainer;\n        }\n        const runtimeImportSpecifier = getJSXRuntimeImport(getJSXImplicitImportBase(compilerOptions, file), compilerOptions);\n        if (!runtimeImportSpecifier) {\n          return void 0;\n        }\n        const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1;\n        const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;\n        const mod = resolveExternalModule(location, runtimeImportSpecifier, errorMessage, location);\n        const result = mod && mod !== unknownSymbol ? getMergedSymbol(resolveSymbol(mod)) : void 0;\n        if (links) {\n          links.jsxImplicitImportContainer = result || false;\n        }\n        return result;\n      }\n      function getJsxNamespaceAt(location) {\n        const links = location && getNodeLinks(location);\n        if (links && links.jsxNamespace) {\n          return links.jsxNamespace;\n        }\n        if (!links || links.jsxNamespace !== false) {\n          let resolvedNamespace = getJsxNamespaceContainerForImplicitImport(location);\n          if (!resolvedNamespace || resolvedNamespace === unknownSymbol) {\n            const namespaceName = getJsxNamespace(location);\n            resolvedNamespace = resolveName(\n              location,\n              namespaceName,\n              1920,\n              /*diagnosticMessage*/\n              void 0,\n              namespaceName,\n              /*isUse*/\n              false\n            );\n          }\n          if (resolvedNamespace) {\n            const candidate = resolveSymbol(getSymbol2(\n              getExportsOfSymbol(resolveSymbol(resolvedNamespace)),\n              JsxNames.JSX,\n              1920\n              /* Namespace */\n            ));\n            if (candidate && candidate !== unknownSymbol) {\n              if (links) {\n                links.jsxNamespace = candidate;\n              }\n              return candidate;\n            }\n          }\n          if (links) {\n            links.jsxNamespace = false;\n          }\n        }\n        const s = resolveSymbol(getGlobalSymbol(\n          JsxNames.JSX,\n          1920,\n          /*diagnosticMessage*/\n          void 0\n        ));\n        if (s === unknownSymbol) {\n          return void 0;\n        }\n        return s;\n      }\n      function getNameFromJsxElementAttributesContainer(nameOfAttribPropContainer, jsxNamespace) {\n        const jsxElementAttribPropInterfaceSym = jsxNamespace && getSymbol2(\n          jsxNamespace.exports,\n          nameOfAttribPropContainer,\n          788968\n          /* Type */\n        );\n        const jsxElementAttribPropInterfaceType = jsxElementAttribPropInterfaceSym && getDeclaredTypeOfSymbol(jsxElementAttribPropInterfaceSym);\n        const propertiesOfJsxElementAttribPropInterface = jsxElementAttribPropInterfaceType && getPropertiesOfType(jsxElementAttribPropInterfaceType);\n        if (propertiesOfJsxElementAttribPropInterface) {\n          if (propertiesOfJsxElementAttribPropInterface.length === 0) {\n            return \"\";\n          } else if (propertiesOfJsxElementAttribPropInterface.length === 1) {\n            return propertiesOfJsxElementAttribPropInterface[0].escapedName;\n          } else if (propertiesOfJsxElementAttribPropInterface.length > 1 && jsxElementAttribPropInterfaceSym.declarations) {\n            error(jsxElementAttribPropInterfaceSym.declarations[0], Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property, unescapeLeadingUnderscores(nameOfAttribPropContainer));\n          }\n        }\n        return void 0;\n      }\n      function getJsxLibraryManagedAttributes(jsxNamespace) {\n        return jsxNamespace && getSymbol2(\n          jsxNamespace.exports,\n          JsxNames.LibraryManagedAttributes,\n          788968\n          /* Type */\n        );\n      }\n      function getJsxElementPropertiesName(jsxNamespace) {\n        return getNameFromJsxElementAttributesContainer(JsxNames.ElementAttributesPropertyNameContainer, jsxNamespace);\n      }\n      function getJsxElementChildrenPropertyName(jsxNamespace) {\n        return getNameFromJsxElementAttributesContainer(JsxNames.ElementChildrenAttributeNameContainer, jsxNamespace);\n      }\n      function getUninstantiatedJsxSignaturesOfType(elementType, caller) {\n        if (elementType.flags & 4) {\n          return [anySignature];\n        } else if (elementType.flags & 128) {\n          const intrinsicType = getIntrinsicAttributesTypeFromStringLiteralType(elementType, caller);\n          if (!intrinsicType) {\n            error(caller, Diagnostics.Property_0_does_not_exist_on_type_1, elementType.value, \"JSX.\" + JsxNames.IntrinsicElements);\n            return emptyArray;\n          } else {\n            const fakeSignature = createSignatureForJSXIntrinsic(caller, intrinsicType);\n            return [fakeSignature];\n          }\n        }\n        const apparentElemType = getApparentType(elementType);\n        let signatures = getSignaturesOfType(\n          apparentElemType,\n          1\n          /* Construct */\n        );\n        if (signatures.length === 0) {\n          signatures = getSignaturesOfType(\n            apparentElemType,\n            0\n            /* Call */\n          );\n        }\n        if (signatures.length === 0 && apparentElemType.flags & 1048576) {\n          signatures = getUnionSignatures(map(apparentElemType.types, (t) => getUninstantiatedJsxSignaturesOfType(t, caller)));\n        }\n        return signatures;\n      }\n      function getIntrinsicAttributesTypeFromStringLiteralType(type, location) {\n        const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, location);\n        if (!isErrorType(intrinsicElementsType)) {\n          const stringLiteralTypeName = type.value;\n          const intrinsicProp = getPropertyOfType(intrinsicElementsType, escapeLeadingUnderscores(stringLiteralTypeName));\n          if (intrinsicProp) {\n            return getTypeOfSymbol(intrinsicProp);\n          }\n          const indexSignatureType = getIndexTypeOfType(intrinsicElementsType, stringType);\n          if (indexSignatureType) {\n            return indexSignatureType;\n          }\n          return void 0;\n        }\n        return anyType;\n      }\n      function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement) {\n        if (refKind === 1) {\n          const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement);\n          if (sfcReturnConstraint) {\n            checkTypeRelatedTo(elemInstanceType, sfcReturnConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain);\n          }\n        } else if (refKind === 0) {\n          const classConstraint = getJsxElementClassTypeAt(openingLikeElement);\n          if (classConstraint) {\n            checkTypeRelatedTo(elemInstanceType, classConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain);\n          }\n        } else {\n          const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement);\n          const classConstraint = getJsxElementClassTypeAt(openingLikeElement);\n          if (!sfcReturnConstraint || !classConstraint) {\n            return;\n          }\n          const combined = getUnionType([sfcReturnConstraint, classConstraint]);\n          checkTypeRelatedTo(elemInstanceType, combined, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain);\n        }\n        function generateInitialErrorChain() {\n          const componentName = getTextOfNode(openingLikeElement.tagName);\n          return chainDiagnosticMessages(\n            /* details */\n            void 0,\n            Diagnostics._0_cannot_be_used_as_a_JSX_component,\n            componentName\n          );\n        }\n      }\n      function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node) {\n        Debug2.assert(isJsxIntrinsicIdentifier(node.tagName));\n        const links = getNodeLinks(node);\n        if (!links.resolvedJsxElementAttributesType) {\n          const symbol = getIntrinsicTagSymbol(node);\n          if (links.jsxFlags & 1) {\n            return links.resolvedJsxElementAttributesType = getTypeOfSymbol(symbol) || errorType;\n          } else if (links.jsxFlags & 2) {\n            return links.resolvedJsxElementAttributesType = getIndexTypeOfType(getJsxType(JsxNames.IntrinsicElements, node), stringType) || errorType;\n          } else {\n            return links.resolvedJsxElementAttributesType = errorType;\n          }\n        }\n        return links.resolvedJsxElementAttributesType;\n      }\n      function getJsxElementClassTypeAt(location) {\n        const type = getJsxType(JsxNames.ElementClass, location);\n        if (isErrorType(type))\n          return void 0;\n        return type;\n      }\n      function getJsxElementTypeAt(location) {\n        return getJsxType(JsxNames.Element, location);\n      }\n      function getJsxStatelessElementTypeAt(location) {\n        const jsxElementType = getJsxElementTypeAt(location);\n        if (jsxElementType) {\n          return getUnionType([jsxElementType, nullType]);\n        }\n      }\n      function getJsxIntrinsicTagNamesAt(location) {\n        const intrinsics = getJsxType(JsxNames.IntrinsicElements, location);\n        return intrinsics ? getPropertiesOfType(intrinsics) : emptyArray;\n      }\n      function checkJsxPreconditions(errorNode) {\n        if ((compilerOptions.jsx || 0) === 0) {\n          error(errorNode, Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided);\n        }\n        if (getJsxElementTypeAt(errorNode) === void 0) {\n          if (noImplicitAny) {\n            error(errorNode, Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist);\n          }\n        }\n      }\n      function checkJsxOpeningLikeElementOrOpeningFragment(node) {\n        const isNodeOpeningLikeElement = isJsxOpeningLikeElement(node);\n        if (isNodeOpeningLikeElement) {\n          checkGrammarJsxElement(node);\n        }\n        checkJsxPreconditions(node);\n        if (!getJsxNamespaceContainerForImplicitImport(node)) {\n          const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 ? Diagnostics.Cannot_find_name_0 : void 0;\n          const jsxFactoryNamespace = getJsxNamespace(node);\n          const jsxFactoryLocation = isNodeOpeningLikeElement ? node.tagName : node;\n          let jsxFactorySym;\n          if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === \"null\")) {\n            jsxFactorySym = resolveName(\n              jsxFactoryLocation,\n              jsxFactoryNamespace,\n              111551,\n              jsxFactoryRefErr,\n              jsxFactoryNamespace,\n              /*isUse*/\n              true\n            );\n          }\n          if (jsxFactorySym) {\n            jsxFactorySym.isReferenced = 67108863;\n            if (!compilerOptions.verbatimModuleSyntax && jsxFactorySym.flags & 2097152 && !getTypeOnlyAliasDeclaration(jsxFactorySym)) {\n              markAliasSymbolAsReferenced(jsxFactorySym);\n            }\n          }\n          if (isJsxOpeningFragment(node)) {\n            const file = getSourceFileOfNode(node);\n            const localJsxNamespace = getLocalJsxNamespace(file);\n            if (localJsxNamespace) {\n              resolveName(\n                jsxFactoryLocation,\n                localJsxNamespace,\n                111551,\n                jsxFactoryRefErr,\n                localJsxNamespace,\n                /*isUse*/\n                true\n              );\n            }\n          }\n        }\n        if (isNodeOpeningLikeElement) {\n          const jsxOpeningLikeNode = node;\n          const sig = getResolvedSignature(jsxOpeningLikeNode);\n          checkDeprecatedSignature(sig, node);\n          checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(jsxOpeningLikeNode), getReturnTypeOfSignature(sig), jsxOpeningLikeNode);\n        }\n      }\n      function isKnownProperty(targetType, name, isComparingJsxAttributes) {\n        if (targetType.flags & 524288) {\n          if (getPropertyOfObjectType(targetType, name) || getApplicableIndexInfoForName(targetType, name) || isLateBoundName(name) && getIndexInfoOfType(targetType, stringType) || isComparingJsxAttributes && isHyphenatedJsxName(name)) {\n            return true;\n          }\n        } else if (targetType.flags & 3145728 && isExcessPropertyCheckTarget(targetType)) {\n          for (const t of targetType.types) {\n            if (isKnownProperty(t, name, isComparingJsxAttributes)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function isExcessPropertyCheckTarget(type) {\n        return !!(type.flags & 524288 && !(getObjectFlags(type) & 512) || type.flags & 67108864 || type.flags & 1048576 && some(type.types, isExcessPropertyCheckTarget) || type.flags & 2097152 && every(type.types, isExcessPropertyCheckTarget));\n      }\n      function checkJsxExpression(node, checkMode) {\n        checkGrammarJsxExpression(node);\n        if (node.expression) {\n          const type = checkExpression(node.expression, checkMode);\n          if (node.dotDotDotToken && type !== anyType && !isArrayType(type)) {\n            error(node, Diagnostics.JSX_spread_child_must_be_an_array_type);\n          }\n          return type;\n        } else {\n          return errorType;\n        }\n      }\n      function getDeclarationNodeFlagsFromSymbol(s) {\n        return s.valueDeclaration ? getCombinedNodeFlags(s.valueDeclaration) : 0;\n      }\n      function isPrototypeProperty(symbol) {\n        if (symbol.flags & 8192 || getCheckFlags(symbol) & 4) {\n          return true;\n        }\n        if (isInJSFile(symbol.valueDeclaration)) {\n          const parent2 = symbol.valueDeclaration.parent;\n          return parent2 && isBinaryExpression(parent2) && getAssignmentDeclarationKind(parent2) === 3;\n        }\n      }\n      function checkPropertyAccessibility(node, isSuper, writing, type, prop, reportError = true) {\n        const errorNode = !reportError ? void 0 : node.kind === 163 ? node.right : node.kind === 202 ? node : node.kind === 205 && node.propertyName ? node.propertyName : node.name;\n        return checkPropertyAccessibilityAtLocation(node, isSuper, writing, type, prop, errorNode);\n      }\n      function checkPropertyAccessibilityAtLocation(location, isSuper, writing, containingType, prop, errorNode) {\n        const flags = getDeclarationModifierFlagsFromSymbol(prop, writing);\n        if (isSuper) {\n          if (languageVersion < 2) {\n            if (symbolHasNonMethodDeclaration(prop)) {\n              if (errorNode) {\n                error(errorNode, Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword);\n              }\n              return false;\n            }\n          }\n          if (flags & 256) {\n            if (errorNode) {\n              error(\n                errorNode,\n                Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,\n                symbolToString(prop),\n                typeToString(getDeclaringClass(prop))\n              );\n            }\n            return false;\n          }\n        }\n        if (flags & 256 && symbolHasNonMethodDeclaration(prop) && (isThisProperty(location) || isThisInitializedObjectBindingExpression(location) || isObjectBindingPattern(location.parent) && isThisInitializedDeclaration(location.parent.parent))) {\n          const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop));\n          if (declaringClassDeclaration && isNodeUsedDuringClassInitialization(location)) {\n            if (errorNode) {\n              error(\n                errorNode,\n                Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,\n                symbolToString(prop),\n                getTextOfIdentifierOrLiteral(declaringClassDeclaration.name)\n              );\n            }\n            return false;\n          }\n        }\n        if (!(flags & 24)) {\n          return true;\n        }\n        if (flags & 8) {\n          const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop));\n          if (!isNodeWithinClass(location, declaringClassDeclaration)) {\n            if (errorNode) {\n              error(\n                errorNode,\n                Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,\n                symbolToString(prop),\n                typeToString(getDeclaringClass(prop))\n              );\n            }\n            return false;\n          }\n          return true;\n        }\n        if (isSuper) {\n          return true;\n        }\n        let enclosingClass = forEachEnclosingClass(location, (enclosingDeclaration) => {\n          const enclosingClass2 = getDeclaredTypeOfSymbol(getSymbolOfDeclaration(enclosingDeclaration));\n          return isClassDerivedFromDeclaringClasses(enclosingClass2, prop, writing);\n        });\n        if (!enclosingClass) {\n          enclosingClass = getEnclosingClassFromThisParameter(location);\n          enclosingClass = enclosingClass && isClassDerivedFromDeclaringClasses(enclosingClass, prop, writing);\n          if (flags & 32 || !enclosingClass) {\n            if (errorNode) {\n              error(\n                errorNode,\n                Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,\n                symbolToString(prop),\n                typeToString(getDeclaringClass(prop) || containingType)\n              );\n            }\n            return false;\n          }\n        }\n        if (flags & 32) {\n          return true;\n        }\n        if (containingType.flags & 262144) {\n          containingType = containingType.isThisType ? getConstraintOfTypeParameter(containingType) : getBaseConstraintOfType(containingType);\n        }\n        if (!containingType || !hasBaseType(containingType, enclosingClass)) {\n          if (errorNode) {\n            error(\n              errorNode,\n              Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,\n              symbolToString(prop),\n              typeToString(enclosingClass),\n              typeToString(containingType)\n            );\n          }\n          return false;\n        }\n        return true;\n      }\n      function getEnclosingClassFromThisParameter(node) {\n        const thisParameter = getThisParameterFromNodeContext(node);\n        let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type);\n        if (thisType && thisType.flags & 262144) {\n          thisType = getConstraintOfTypeParameter(thisType);\n        }\n        if (thisType && getObjectFlags(thisType) & (3 | 4)) {\n          return getTargetType(thisType);\n        }\n        return void 0;\n      }\n      function getThisParameterFromNodeContext(node) {\n        const thisContainer = getThisContainer(\n          node,\n          /* includeArrowFunctions */\n          false,\n          /*includeClassComputedPropertyName*/\n          false\n        );\n        return thisContainer && isFunctionLike(thisContainer) ? getThisParameter(thisContainer) : void 0;\n      }\n      function symbolHasNonMethodDeclaration(symbol) {\n        return !!forEachProperty2(symbol, (prop) => !(prop.flags & 8192));\n      }\n      function checkNonNullExpression(node) {\n        return checkNonNullType(checkExpression(node), node);\n      }\n      function isNullableType(type) {\n        return !!(getTypeFacts(type) & 50331648);\n      }\n      function getNonNullableTypeIfNeeded(type) {\n        return isNullableType(type) ? getNonNullableType(type) : type;\n      }\n      function reportObjectPossiblyNullOrUndefinedError(node, facts) {\n        const nodeText2 = isEntityNameExpression(node) ? entityNameToString(node) : void 0;\n        if (node.kind === 104) {\n          error(node, Diagnostics.The_value_0_cannot_be_used_here, \"null\");\n          return;\n        }\n        if (nodeText2 !== void 0 && nodeText2.length < 100) {\n          if (isIdentifier(node) && nodeText2 === \"undefined\") {\n            error(node, Diagnostics.The_value_0_cannot_be_used_here, \"undefined\");\n            return;\n          }\n          error(\n            node,\n            facts & 16777216 ? facts & 33554432 ? Diagnostics._0_is_possibly_null_or_undefined : Diagnostics._0_is_possibly_undefined : Diagnostics._0_is_possibly_null,\n            nodeText2\n          );\n        } else {\n          error(\n            node,\n            facts & 16777216 ? facts & 33554432 ? Diagnostics.Object_is_possibly_null_or_undefined : Diagnostics.Object_is_possibly_undefined : Diagnostics.Object_is_possibly_null\n          );\n        }\n      }\n      function reportCannotInvokePossiblyNullOrUndefinedError(node, facts) {\n        error(\n          node,\n          facts & 16777216 ? facts & 33554432 ? Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_null\n        );\n      }\n      function checkNonNullTypeWithReporter(type, node, reportError) {\n        if (strictNullChecks && type.flags & 2) {\n          if (isEntityNameExpression(node)) {\n            const nodeText2 = entityNameToString(node);\n            if (nodeText2.length < 100) {\n              error(node, Diagnostics._0_is_of_type_unknown, nodeText2);\n              return errorType;\n            }\n          }\n          error(node, Diagnostics.Object_is_of_type_unknown);\n          return errorType;\n        }\n        const facts = getTypeFacts(type);\n        if (facts & 50331648) {\n          reportError(node, facts);\n          const t = getNonNullableType(type);\n          return t.flags & (98304 | 131072) ? errorType : t;\n        }\n        return type;\n      }\n      function checkNonNullType(type, node) {\n        return checkNonNullTypeWithReporter(type, node, reportObjectPossiblyNullOrUndefinedError);\n      }\n      function checkNonNullNonVoidType(type, node) {\n        const nonNullType = checkNonNullType(type, node);\n        if (nonNullType.flags & 16384) {\n          if (isEntityNameExpression(node)) {\n            const nodeText2 = entityNameToString(node);\n            if (isIdentifier(node) && nodeText2 === \"undefined\") {\n              error(node, Diagnostics.The_value_0_cannot_be_used_here, nodeText2);\n              return nonNullType;\n            }\n            if (nodeText2.length < 100) {\n              error(node, Diagnostics._0_is_possibly_undefined, nodeText2);\n              return nonNullType;\n            }\n          }\n          error(node, Diagnostics.Object_is_possibly_undefined);\n        }\n        return nonNullType;\n      }\n      function checkPropertyAccessExpression(node, checkMode) {\n        return node.flags & 32 ? checkPropertyAccessChain(node, checkMode) : checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullExpression(node.expression), node.name, checkMode);\n      }\n      function checkPropertyAccessChain(node, checkMode) {\n        const leftType = checkExpression(node.expression);\n        const nonOptionalType = getOptionalExpressionType(leftType, node.expression);\n        return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullType(nonOptionalType, node.expression), node.name, checkMode), node, nonOptionalType !== leftType);\n      }\n      function checkQualifiedName(node, checkMode) {\n        const leftType = isPartOfTypeQuery(node) && isThisIdentifier(node.left) ? checkNonNullType(checkThisExpression(node.left), node.left) : checkNonNullExpression(node.left);\n        return checkPropertyAccessExpressionOrQualifiedName(node, node.left, leftType, node.right, checkMode);\n      }\n      function isMethodAccessForCall(node) {\n        while (node.parent.kind === 214) {\n          node = node.parent;\n        }\n        return isCallOrNewExpression(node.parent) && node.parent.expression === node;\n      }\n      function lookupSymbolForPrivateIdentifierDeclaration(propName, location) {\n        for (let containingClass = getContainingClass(location); !!containingClass; containingClass = getContainingClass(containingClass)) {\n          const { symbol } = containingClass;\n          const name = getSymbolNameForPrivateIdentifier(symbol, propName);\n          const prop = symbol.members && symbol.members.get(name) || symbol.exports && symbol.exports.get(name);\n          if (prop) {\n            return prop;\n          }\n        }\n      }\n      function checkGrammarPrivateIdentifierExpression(privId) {\n        if (!getContainingClass(privId)) {\n          return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n        }\n        if (!isForInStatement(privId.parent)) {\n          if (!isExpressionNode(privId)) {\n            return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);\n          }\n          const isInOperation = isBinaryExpression(privId.parent) && privId.parent.operatorToken.kind === 101;\n          if (!getSymbolForPrivateIdentifierExpression(privId) && !isInOperation) {\n            return grammarErrorOnNode(privId, Diagnostics.Cannot_find_name_0, idText(privId));\n          }\n        }\n        return false;\n      }\n      function checkPrivateIdentifierExpression(privId) {\n        checkGrammarPrivateIdentifierExpression(privId);\n        const symbol = getSymbolForPrivateIdentifierExpression(privId);\n        if (symbol) {\n          markPropertyAsReferenced(\n            symbol,\n            /* nodeForCheckWriteOnly: */\n            void 0,\n            /* isThisAccess: */\n            false\n          );\n        }\n        return anyType;\n      }\n      function getSymbolForPrivateIdentifierExpression(privId) {\n        if (!isExpressionNode(privId)) {\n          return void 0;\n        }\n        const links = getNodeLinks(privId);\n        if (links.resolvedSymbol === void 0) {\n          links.resolvedSymbol = lookupSymbolForPrivateIdentifierDeclaration(privId.escapedText, privId);\n        }\n        return links.resolvedSymbol;\n      }\n      function getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) {\n        return getPropertyOfType(leftType, lexicallyScopedIdentifier.escapedName);\n      }\n      function checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedIdentifier) {\n        let propertyOnType;\n        const properties = getPropertiesOfType(leftType);\n        if (properties) {\n          forEach(properties, (symbol) => {\n            const decl = symbol.valueDeclaration;\n            if (decl && isNamedDeclaration(decl) && isPrivateIdentifier(decl.name) && decl.name.escapedText === right.escapedText) {\n              propertyOnType = symbol;\n              return true;\n            }\n          });\n        }\n        const diagName = diagnosticName(right);\n        if (propertyOnType) {\n          const typeValueDecl = Debug2.checkDefined(propertyOnType.valueDeclaration);\n          const typeClass = Debug2.checkDefined(getContainingClass(typeValueDecl));\n          if (lexicallyScopedIdentifier == null ? void 0 : lexicallyScopedIdentifier.valueDeclaration) {\n            const lexicalValueDecl = lexicallyScopedIdentifier.valueDeclaration;\n            const lexicalClass = getContainingClass(lexicalValueDecl);\n            Debug2.assert(!!lexicalClass);\n            if (findAncestor(lexicalClass, (n) => typeClass === n)) {\n              const diagnostic = error(\n                right,\n                Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,\n                diagName,\n                typeToString(leftType)\n              );\n              addRelatedInfo(\n                diagnostic,\n                createDiagnosticForNode(\n                  lexicalValueDecl,\n                  Diagnostics.The_shadowing_declaration_of_0_is_defined_here,\n                  diagName\n                ),\n                createDiagnosticForNode(\n                  typeValueDecl,\n                  Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,\n                  diagName\n                )\n              );\n              return true;\n            }\n          }\n          error(\n            right,\n            Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,\n            diagName,\n            diagnosticName(typeClass.name || anon)\n          );\n          return true;\n        }\n        return false;\n      }\n      function isThisPropertyAccessInConstructor(node, prop) {\n        return (isConstructorDeclaredProperty(prop) || isThisProperty(node) && isAutoTypedProperty(prop)) && getThisContainer(\n          node,\n          /*includeArrowFunctions*/\n          true,\n          /*includeClassComputedPropertyName*/\n          false\n        ) === getDeclaringConstructor(prop);\n      }\n      function checkPropertyAccessExpressionOrQualifiedName(node, left, leftType, right, checkMode) {\n        const parentSymbol = getNodeLinks(left).resolvedSymbol;\n        const assignmentKind = getAssignmentTargetKind(node);\n        const apparentType = getApparentType(assignmentKind !== 0 || isMethodAccessForCall(node) ? getWidenedType(leftType) : leftType);\n        const isAnyLike = isTypeAny(apparentType) || apparentType === silentNeverType;\n        let prop;\n        if (isPrivateIdentifier(right)) {\n          if (languageVersion < 99) {\n            if (assignmentKind !== 0) {\n              checkExternalEmitHelpers(\n                node,\n                1048576\n                /* ClassPrivateFieldSet */\n              );\n            }\n            if (assignmentKind !== 1) {\n              checkExternalEmitHelpers(\n                node,\n                524288\n                /* ClassPrivateFieldGet */\n              );\n            }\n          }\n          const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right);\n          if (assignmentKind && lexicallyScopedSymbol && lexicallyScopedSymbol.valueDeclaration && isMethodDeclaration(lexicallyScopedSymbol.valueDeclaration)) {\n            grammarErrorOnNode(right, Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable, idText(right));\n          }\n          if (isAnyLike) {\n            if (lexicallyScopedSymbol) {\n              return isErrorType(apparentType) ? errorType : apparentType;\n            }\n            if (!getContainingClass(right)) {\n              grammarErrorOnNode(right, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n              return anyType;\n            }\n          }\n          prop = lexicallyScopedSymbol ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedSymbol) : void 0;\n          if (!prop && checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedSymbol)) {\n            return errorType;\n          } else {\n            const isSetonlyAccessor = prop && prop.flags & 65536 && !(prop.flags & 32768);\n            if (isSetonlyAccessor && assignmentKind !== 1) {\n              error(node, Diagnostics.Private_accessor_was_defined_without_a_getter);\n            }\n          }\n        } else {\n          if (isAnyLike) {\n            if (isIdentifier(left) && parentSymbol) {\n              markAliasReferenced(parentSymbol, node);\n            }\n            return isErrorType(apparentType) ? errorType : apparentType;\n          }\n          prop = getPropertyOfType(\n            apparentType,\n            right.escapedText,\n            /*skipObjectFunctionPropertyAugment*/\n            false,\n            /*includeTypeOnlyMembers*/\n            node.kind === 163\n            /* QualifiedName */\n          );\n        }\n        if (isIdentifier(left) && parentSymbol && (getIsolatedModules(compilerOptions) || !(prop && (isConstEnumOrConstEnumOnlyModule(prop) || prop.flags & 8 && node.parent.kind === 302)) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(node))) {\n          markAliasReferenced(parentSymbol, node);\n        }\n        let propType;\n        if (!prop) {\n          const indexInfo = !isPrivateIdentifier(right) && (assignmentKind === 0 || !isGenericObjectType(leftType) || isThisTypeParameter(leftType)) ? getApplicableIndexInfoForName(apparentType, right.escapedText) : void 0;\n          if (!(indexInfo && indexInfo.type)) {\n            const isUncheckedJS = isUncheckedJSSuggestion(\n              node,\n              leftType.symbol,\n              /*excludeClasses*/\n              true\n            );\n            if (!isUncheckedJS && isJSLiteralType(leftType)) {\n              return anyType;\n            }\n            if (leftType.symbol === globalThisSymbol) {\n              if (globalThisSymbol.exports.has(right.escapedText) && globalThisSymbol.exports.get(right.escapedText).flags & 418) {\n                error(right, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(right.escapedText), typeToString(leftType));\n              } else if (noImplicitAny) {\n                error(right, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature, typeToString(leftType));\n              }\n              return anyType;\n            }\n            if (right.escapedText && !checkAndReportErrorForExtendingInterface(node)) {\n              reportNonexistentProperty(right, isThisTypeParameter(leftType) ? apparentType : leftType, isUncheckedJS);\n            }\n            return errorType;\n          }\n          if (indexInfo.isReadonly && (isAssignmentTarget(node) || isDeleteTarget(node))) {\n            error(node, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(apparentType));\n          }\n          propType = compilerOptions.noUncheckedIndexedAccess && !isAssignmentTarget(node) ? getUnionType([indexInfo.type, missingType]) : indexInfo.type;\n          if (compilerOptions.noPropertyAccessFromIndexSignature && isPropertyAccessExpression(node)) {\n            error(right, Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0, unescapeLeadingUnderscores(right.escapedText));\n          }\n          if (indexInfo.declaration && getCombinedNodeFlags(indexInfo.declaration) & 268435456) {\n            addDeprecatedSuggestion(right, [indexInfo.declaration], right.escapedText);\n          }\n        } else {\n          if (isDeprecatedSymbol(prop) && isUncalledFunctionReference(node, prop) && prop.declarations) {\n            addDeprecatedSuggestion(right, prop.declarations, right.escapedText);\n          }\n          checkPropertyNotUsedBeforeDeclaration(prop, node, right);\n          markPropertyAsReferenced(prop, node, isSelfTypeAccess(left, parentSymbol));\n          getNodeLinks(node).resolvedSymbol = prop;\n          const writing = isWriteAccess(node);\n          checkPropertyAccessibility(node, left.kind === 106, writing, apparentType, prop);\n          if (isAssignmentToReadonlyEntity(node, prop, assignmentKind)) {\n            error(right, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, idText(right));\n            return errorType;\n          }\n          propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);\n        }\n        return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);\n      }\n      function isUncheckedJSSuggestion(node, suggestion, excludeClasses) {\n        const file = getSourceFileOfNode(node);\n        if (file) {\n          if (compilerOptions.checkJs === void 0 && file.checkJsDirective === void 0 && (file.scriptKind === 1 || file.scriptKind === 2)) {\n            const declarationFile = forEach(suggestion == null ? void 0 : suggestion.declarations, getSourceFileOfNode);\n            return !(file !== declarationFile && !!declarationFile && isGlobalSourceFile(declarationFile)) && !(excludeClasses && suggestion && suggestion.flags & 32) && !(!!node && excludeClasses && isPropertyAccessExpression(node) && node.expression.kind === 108);\n          }\n        }\n        return false;\n      }\n      function getFlowTypeOfAccessExpression(node, prop, propType, errorNode, checkMode) {\n        const assignmentKind = getAssignmentTargetKind(node);\n        if (assignmentKind === 1) {\n          return removeMissingType(propType, !!(prop && prop.flags & 16777216));\n        }\n        if (prop && !(prop.flags & (3 | 4 | 98304)) && !(prop.flags & 8192 && propType.flags & 1048576) && !isDuplicatedCommonJSExport(prop.declarations)) {\n          return propType;\n        }\n        if (propType === autoType) {\n          return getFlowTypeOfProperty(node, prop);\n        }\n        propType = getNarrowableTypeForReference(propType, node, checkMode);\n        let assumeUninitialized = false;\n        if (strictNullChecks && strictPropertyInitialization && isAccessExpression(node) && node.expression.kind === 108) {\n          const declaration = prop && prop.valueDeclaration;\n          if (declaration && isPropertyWithoutInitializer(declaration)) {\n            if (!isStatic(declaration)) {\n              const flowContainer = getControlFlowContainer(node);\n              if (flowContainer.kind === 173 && flowContainer.parent === declaration.parent && !(declaration.flags & 16777216)) {\n                assumeUninitialized = true;\n              }\n            }\n          }\n        } else if (strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration)) {\n          assumeUninitialized = true;\n        }\n        const flowType = getFlowTypeOfReference(node, propType, assumeUninitialized ? getOptionalType(propType) : propType);\n        if (assumeUninitialized && !containsUndefinedType(propType) && containsUndefinedType(flowType)) {\n          error(errorNode, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(prop));\n          return propType;\n        }\n        return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;\n      }\n      function checkPropertyNotUsedBeforeDeclaration(prop, node, right) {\n        const { valueDeclaration } = prop;\n        if (!valueDeclaration || getSourceFileOfNode(node).isDeclarationFile) {\n          return;\n        }\n        let diagnosticMessage;\n        const declarationName = idText(right);\n        if (isInPropertyInitializerOrClassStaticBlock(node) && !isOptionalPropertyDeclaration(valueDeclaration) && !(isAccessExpression(node) && isAccessExpression(node.expression)) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right) && !(isMethodDeclaration(valueDeclaration) && getCombinedModifierFlags(valueDeclaration) & 32) && (compilerOptions.useDefineForClassFields || !isPropertyDeclaredInAncestorClass(prop))) {\n          diagnosticMessage = error(right, Diagnostics.Property_0_is_used_before_its_initialization, declarationName);\n        } else if (valueDeclaration.kind === 260 && node.parent.kind !== 180 && !(valueDeclaration.flags & 16777216) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right)) {\n          diagnosticMessage = error(right, Diagnostics.Class_0_used_before_its_declaration, declarationName);\n        }\n        if (diagnosticMessage) {\n          addRelatedInfo(\n            diagnosticMessage,\n            createDiagnosticForNode(valueDeclaration, Diagnostics._0_is_declared_here, declarationName)\n          );\n        }\n      }\n      function isInPropertyInitializerOrClassStaticBlock(node) {\n        return !!findAncestor(node, (node2) => {\n          switch (node2.kind) {\n            case 169:\n              return true;\n            case 299:\n            case 171:\n            case 174:\n            case 175:\n            case 301:\n            case 164:\n            case 236:\n            case 291:\n            case 288:\n            case 289:\n            case 290:\n            case 283:\n            case 230:\n            case 294:\n              return false;\n            case 216:\n            case 241:\n              return isBlock(node2.parent) && isClassStaticBlockDeclaration(node2.parent.parent) ? true : \"quit\";\n            default:\n              return isExpressionNode(node2) ? false : \"quit\";\n          }\n        });\n      }\n      function isPropertyDeclaredInAncestorClass(prop) {\n        if (!(prop.parent.flags & 32)) {\n          return false;\n        }\n        let classType = getTypeOfSymbol(prop.parent);\n        while (true) {\n          classType = classType.symbol && getSuperClass(classType);\n          if (!classType) {\n            return false;\n          }\n          const superProperty = getPropertyOfType(classType, prop.escapedName);\n          if (superProperty && superProperty.valueDeclaration) {\n            return true;\n          }\n        }\n      }\n      function getSuperClass(classType) {\n        const x = getBaseTypes(classType);\n        if (x.length === 0) {\n          return void 0;\n        }\n        return getIntersectionType(x);\n      }\n      function reportNonexistentProperty(propNode, containingType, isUncheckedJS) {\n        let errorInfo;\n        let relatedInfo;\n        if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 && !(containingType.flags & 134348796)) {\n          for (const subtype of containingType.types) {\n            if (!getPropertyOfType(subtype, propNode.escapedText) && !getApplicableIndexInfoForName(subtype, propNode.escapedText)) {\n              errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(subtype));\n              break;\n            }\n          }\n        }\n        if (typeHasStaticProperty(propNode.escapedText, containingType)) {\n          const propName = declarationNameToString(propNode);\n          const typeName = typeToString(containingType);\n          errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + \".\" + propName);\n        } else {\n          const promisedType = getPromisedTypeOfPromise(containingType);\n          if (promisedType && getPropertyOfType(promisedType, propNode.escapedText)) {\n            errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(containingType));\n            relatedInfo = createDiagnosticForNode(propNode, Diagnostics.Did_you_forget_to_use_await);\n          } else {\n            const missingProperty = declarationNameToString(propNode);\n            const container = typeToString(containingType);\n            const libSuggestion = getSuggestedLibForNonExistentProperty(missingProperty, containingType);\n            if (libSuggestion !== void 0) {\n              errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later, missingProperty, container, libSuggestion);\n            } else {\n              const suggestion = getSuggestedSymbolForNonexistentProperty(propNode, containingType);\n              if (suggestion !== void 0) {\n                const suggestedName = symbolName(suggestion);\n                const message = isUncheckedJS ? Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2 : Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2;\n                errorInfo = chainDiagnosticMessages(errorInfo, message, missingProperty, container, suggestedName);\n                relatedInfo = suggestion.valueDeclaration && createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestedName);\n              } else {\n                const diagnostic = containerSeemsToBeEmptyDomElement(containingType) ? Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom : Diagnostics.Property_0_does_not_exist_on_type_1;\n                errorInfo = chainDiagnosticMessages(elaborateNeverIntersection(errorInfo, containingType), diagnostic, missingProperty, container);\n              }\n            }\n          }\n        }\n        const resultDiagnostic = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(propNode), propNode, errorInfo);\n        if (relatedInfo) {\n          addRelatedInfo(resultDiagnostic, relatedInfo);\n        }\n        addErrorOrSuggestion(!isUncheckedJS || errorInfo.code !== Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code, resultDiagnostic);\n      }\n      function containerSeemsToBeEmptyDomElement(containingType) {\n        return compilerOptions.lib && !compilerOptions.lib.includes(\"dom\") && everyContainedType(containingType, (type) => type.symbol && /^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(unescapeLeadingUnderscores(type.symbol.escapedName))) && isEmptyObjectType(containingType);\n      }\n      function typeHasStaticProperty(propName, containingType) {\n        const prop = containingType.symbol && getPropertyOfType(getTypeOfSymbol(containingType.symbol), propName);\n        return prop !== void 0 && !!prop.valueDeclaration && isStatic(prop.valueDeclaration);\n      }\n      function getSuggestedLibForNonExistentName(name) {\n        const missingName = diagnosticName(name);\n        const allFeatures = getScriptTargetFeatures();\n        const typeFeatures = allFeatures.get(missingName);\n        return typeFeatures && firstIterator(typeFeatures.keys());\n      }\n      function getSuggestedLibForNonExistentProperty(missingProperty, containingType) {\n        const container = getApparentType(containingType).symbol;\n        if (!container) {\n          return void 0;\n        }\n        const containingTypeName = symbolName(container);\n        const allFeatures = getScriptTargetFeatures();\n        const typeFeatures = allFeatures.get(containingTypeName);\n        if (typeFeatures) {\n          for (const [libTarget, featuresOfType] of typeFeatures) {\n            if (contains(featuresOfType, missingProperty)) {\n              return libTarget;\n            }\n          }\n        }\n      }\n      function getSuggestedSymbolForNonexistentClassMember(name, baseType) {\n        return getSpellingSuggestionForName(\n          name,\n          getPropertiesOfType(baseType),\n          106500\n          /* ClassMember */\n        );\n      }\n      function getSuggestedSymbolForNonexistentProperty(name, containingType) {\n        let props = getPropertiesOfType(containingType);\n        if (typeof name !== \"string\") {\n          const parent2 = name.parent;\n          if (isPropertyAccessExpression(parent2)) {\n            props = filter(props, (prop) => isValidPropertyAccessForCompletions(parent2, containingType, prop));\n          }\n          name = idText(name);\n        }\n        return getSpellingSuggestionForName(\n          name,\n          props,\n          111551\n          /* Value */\n        );\n      }\n      function getSuggestedSymbolForNonexistentJSXAttribute(name, containingType) {\n        const strName = isString2(name) ? name : idText(name);\n        const properties = getPropertiesOfType(containingType);\n        const jsxSpecific = strName === \"for\" ? find(properties, (x) => symbolName(x) === \"htmlFor\") : strName === \"class\" ? find(properties, (x) => symbolName(x) === \"className\") : void 0;\n        return jsxSpecific != null ? jsxSpecific : getSpellingSuggestionForName(\n          strName,\n          properties,\n          111551\n          /* Value */\n        );\n      }\n      function getSuggestionForNonexistentProperty(name, containingType) {\n        const suggestion = getSuggestedSymbolForNonexistentProperty(name, containingType);\n        return suggestion && symbolName(suggestion);\n      }\n      function getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning) {\n        Debug2.assert(outerName !== void 0, \"outername should always be defined\");\n        const result = resolveNameHelper(\n          location,\n          outerName,\n          meaning,\n          /*nameNotFoundMessage*/\n          void 0,\n          outerName,\n          /*isUse*/\n          false,\n          /*excludeGlobals*/\n          false,\n          /*getSpellingSuggestions*/\n          true,\n          (symbols, name, meaning2) => {\n            Debug2.assertEqual(outerName, name, \"name should equal outerName\");\n            const symbol = getSymbol2(symbols, name, meaning2);\n            if (symbol)\n              return symbol;\n            let candidates;\n            if (symbols === globals) {\n              const primitives = mapDefined(\n                [\"string\", \"number\", \"boolean\", \"object\", \"bigint\", \"symbol\"],\n                (s) => symbols.has(s.charAt(0).toUpperCase() + s.slice(1)) ? createSymbol(524288, s) : void 0\n              );\n              candidates = primitives.concat(arrayFrom(symbols.values()));\n            } else {\n              candidates = arrayFrom(symbols.values());\n            }\n            return getSpellingSuggestionForName(unescapeLeadingUnderscores(name), candidates, meaning2);\n          }\n        );\n        return result;\n      }\n      function getSuggestionForNonexistentSymbol(location, outerName, meaning) {\n        const symbolResult = getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning);\n        return symbolResult && symbolName(symbolResult);\n      }\n      function getSuggestedSymbolForNonexistentModule(name, targetModule) {\n        return targetModule.exports && getSpellingSuggestionForName(\n          idText(name),\n          getExportsOfModuleAsArray(targetModule),\n          2623475\n          /* ModuleMember */\n        );\n      }\n      function getSuggestionForNonexistentExport(name, targetModule) {\n        const suggestion = getSuggestedSymbolForNonexistentModule(name, targetModule);\n        return suggestion && symbolName(suggestion);\n      }\n      function getSuggestionForNonexistentIndexSignature(objectType, expr, keyedType) {\n        function hasProp(name) {\n          const prop = getPropertyOfObjectType(objectType, name);\n          if (prop) {\n            const s = getSingleCallSignature(getTypeOfSymbol(prop));\n            return !!s && getMinArgumentCount(s) >= 1 && isTypeAssignableTo(keyedType, getTypeAtPosition(s, 0));\n          }\n          return false;\n        }\n        const suggestedMethod = isAssignmentTarget(expr) ? \"set\" : \"get\";\n        if (!hasProp(suggestedMethod)) {\n          return void 0;\n        }\n        let suggestion = tryGetPropertyAccessOrIdentifierToString(expr.expression);\n        if (suggestion === void 0) {\n          suggestion = suggestedMethod;\n        } else {\n          suggestion += \".\" + suggestedMethod;\n        }\n        return suggestion;\n      }\n      function getSuggestedTypeForNonexistentStringLiteralType(source, target) {\n        const candidates = target.types.filter((type) => !!(type.flags & 128));\n        return getSpellingSuggestion(source.value, candidates, (type) => type.value);\n      }\n      function getSpellingSuggestionForName(name, symbols, meaning) {\n        return getSpellingSuggestion(name, symbols, getCandidateName);\n        function getCandidateName(candidate) {\n          const candidateName = symbolName(candidate);\n          if (startsWith(candidateName, '\"')) {\n            return void 0;\n          }\n          if (candidate.flags & meaning) {\n            return candidateName;\n          }\n          if (candidate.flags & 2097152) {\n            const alias = tryResolveAlias(candidate);\n            if (alias && alias.flags & meaning) {\n              return candidateName;\n            }\n          }\n          return void 0;\n        }\n      }\n      function markPropertyAsReferenced(prop, nodeForCheckWriteOnly, isSelfTypeAccess2) {\n        const valueDeclaration = prop && prop.flags & 106500 && prop.valueDeclaration;\n        if (!valueDeclaration) {\n          return;\n        }\n        const hasPrivateModifier = hasEffectiveModifier(\n          valueDeclaration,\n          8\n          /* Private */\n        );\n        const hasPrivateIdentifier = prop.valueDeclaration && isNamedDeclaration(prop.valueDeclaration) && isPrivateIdentifier(prop.valueDeclaration.name);\n        if (!hasPrivateModifier && !hasPrivateIdentifier) {\n          return;\n        }\n        if (nodeForCheckWriteOnly && isWriteOnlyAccess(nodeForCheckWriteOnly) && !(prop.flags & 65536)) {\n          return;\n        }\n        if (isSelfTypeAccess2) {\n          const containingMethod = findAncestor(nodeForCheckWriteOnly, isFunctionLikeDeclaration);\n          if (containingMethod && containingMethod.symbol === prop) {\n            return;\n          }\n        }\n        (getCheckFlags(prop) & 1 ? getSymbolLinks(prop).target : prop).isReferenced = 67108863;\n      }\n      function isSelfTypeAccess(name, parent2) {\n        return name.kind === 108 || !!parent2 && isEntityNameExpression(name) && parent2 === getResolvedSymbol(getFirstIdentifier(name));\n      }\n      function isValidPropertyAccess(node, propertyName) {\n        switch (node.kind) {\n          case 208:\n            return isValidPropertyAccessWithType(node, node.expression.kind === 106, propertyName, getWidenedType(checkExpression(node.expression)));\n          case 163:\n            return isValidPropertyAccessWithType(\n              node,\n              /*isSuper*/\n              false,\n              propertyName,\n              getWidenedType(checkExpression(node.left))\n            );\n          case 202:\n            return isValidPropertyAccessWithType(\n              node,\n              /*isSuper*/\n              false,\n              propertyName,\n              getTypeFromTypeNode(node)\n            );\n        }\n      }\n      function isValidPropertyAccessForCompletions(node, type, property) {\n        return isPropertyAccessible(\n          node,\n          node.kind === 208 && node.expression.kind === 106,\n          /* isWrite */\n          false,\n          type,\n          property\n        );\n      }\n      function isValidPropertyAccessWithType(node, isSuper, propertyName, type) {\n        if (isTypeAny(type)) {\n          return true;\n        }\n        const prop = getPropertyOfType(type, propertyName);\n        return !!prop && isPropertyAccessible(\n          node,\n          isSuper,\n          /* isWrite */\n          false,\n          type,\n          prop\n        );\n      }\n      function isPropertyAccessible(node, isSuper, isWrite, containingType, property) {\n        if (isTypeAny(containingType)) {\n          return true;\n        }\n        if (property.valueDeclaration && isPrivateIdentifierClassElementDeclaration(property.valueDeclaration)) {\n          const declClass = getContainingClass(property.valueDeclaration);\n          return !isOptionalChain(node) && !!findAncestor(node, (parent2) => parent2 === declClass);\n        }\n        return checkPropertyAccessibilityAtLocation(node, isSuper, isWrite, containingType, property);\n      }\n      function getForInVariableSymbol(node) {\n        const initializer = node.initializer;\n        if (initializer.kind === 258) {\n          const variable = initializer.declarations[0];\n          if (variable && !isBindingPattern(variable.name)) {\n            return getSymbolOfDeclaration(variable);\n          }\n        } else if (initializer.kind === 79) {\n          return getResolvedSymbol(initializer);\n        }\n        return void 0;\n      }\n      function hasNumericPropertyNames(type) {\n        return getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, numberType);\n      }\n      function isForInVariableForNumericPropertyNames(expr) {\n        const e = skipParentheses(expr);\n        if (e.kind === 79) {\n          const symbol = getResolvedSymbol(e);\n          if (symbol.flags & 3) {\n            let child = expr;\n            let node = expr.parent;\n            while (node) {\n              if (node.kind === 246 && child === node.statement && getForInVariableSymbol(node) === symbol && hasNumericPropertyNames(getTypeOfExpression(node.expression))) {\n                return true;\n              }\n              child = node;\n              node = node.parent;\n            }\n          }\n        }\n        return false;\n      }\n      function checkIndexedAccess(node, checkMode) {\n        return node.flags & 32 ? checkElementAccessChain(node, checkMode) : checkElementAccessExpression(node, checkNonNullExpression(node.expression), checkMode);\n      }\n      function checkElementAccessChain(node, checkMode) {\n        const exprType = checkExpression(node.expression);\n        const nonOptionalType = getOptionalExpressionType(exprType, node.expression);\n        return propagateOptionalTypeMarker(checkElementAccessExpression(node, checkNonNullType(nonOptionalType, node.expression), checkMode), node, nonOptionalType !== exprType);\n      }\n      function checkElementAccessExpression(node, exprType, checkMode) {\n        const objectType = getAssignmentTargetKind(node) !== 0 || isMethodAccessForCall(node) ? getWidenedType(exprType) : exprType;\n        const indexExpression = node.argumentExpression;\n        const indexType = checkExpression(indexExpression);\n        if (isErrorType(objectType) || objectType === silentNeverType) {\n          return objectType;\n        }\n        if (isConstEnumObjectType(objectType) && !isStringLiteralLike(indexExpression)) {\n          error(indexExpression, Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);\n          return errorType;\n        }\n        const effectiveIndexType = isForInVariableForNumericPropertyNames(indexExpression) ? numberType : indexType;\n        const accessFlags = isAssignmentTarget(node) ? 4 | (isGenericObjectType(objectType) && !isThisTypeParameter(objectType) ? 2 : 0) : 32;\n        const indexedAccessType = getIndexedAccessTypeOrUndefined(objectType, effectiveIndexType, accessFlags, node) || errorType;\n        return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(node, getNodeLinks(node).resolvedSymbol, indexedAccessType, indexExpression, checkMode), node);\n      }\n      function callLikeExpressionMayHaveTypeArguments(node) {\n        return isCallOrNewExpression(node) || isTaggedTemplateExpression(node) || isJsxOpeningLikeElement(node);\n      }\n      function resolveUntypedCall(node) {\n        if (callLikeExpressionMayHaveTypeArguments(node)) {\n          forEach(node.typeArguments, checkSourceElement);\n        }\n        if (node.kind === 212) {\n          checkExpression(node.template);\n        } else if (isJsxOpeningLikeElement(node)) {\n          checkExpression(node.attributes);\n        } else if (node.kind !== 167) {\n          forEach(node.arguments, (argument) => {\n            checkExpression(argument);\n          });\n        }\n        return anySignature;\n      }\n      function resolveErrorCall(node) {\n        resolveUntypedCall(node);\n        return unknownSignature;\n      }\n      function reorderCandidates(signatures, result, callChainFlags) {\n        let lastParent;\n        let lastSymbol;\n        let cutoffIndex = 0;\n        let index;\n        let specializedIndex = -1;\n        let spliceIndex;\n        Debug2.assert(!result.length);\n        for (const signature of signatures) {\n          const symbol = signature.declaration && getSymbolOfDeclaration(signature.declaration);\n          const parent2 = signature.declaration && signature.declaration.parent;\n          if (!lastSymbol || symbol === lastSymbol) {\n            if (lastParent && parent2 === lastParent) {\n              index = index + 1;\n            } else {\n              lastParent = parent2;\n              index = cutoffIndex;\n            }\n          } else {\n            index = cutoffIndex = result.length;\n            lastParent = parent2;\n          }\n          lastSymbol = symbol;\n          if (signatureHasLiteralTypes(signature)) {\n            specializedIndex++;\n            spliceIndex = specializedIndex;\n            cutoffIndex++;\n          } else {\n            spliceIndex = index;\n          }\n          result.splice(spliceIndex, 0, callChainFlags ? getOptionalCallSignature(signature, callChainFlags) : signature);\n        }\n      }\n      function isSpreadArgument(arg) {\n        return !!arg && (arg.kind === 227 || arg.kind === 234 && arg.isSpread);\n      }\n      function getSpreadArgumentIndex(args) {\n        return findIndex(args, isSpreadArgument);\n      }\n      function acceptsVoid(t) {\n        return !!(t.flags & 16384);\n      }\n      function acceptsVoidUndefinedUnknownOrAny(t) {\n        return !!(t.flags & (16384 | 32768 | 2 | 1));\n      }\n      function hasCorrectArity(node, args, signature, signatureHelpTrailingComma = false) {\n        let argCount;\n        let callIsIncomplete = false;\n        let effectiveParameterCount = getParameterCount(signature);\n        let effectiveMinimumArguments = getMinArgumentCount(signature);\n        if (node.kind === 212) {\n          argCount = args.length;\n          if (node.template.kind === 225) {\n            const lastSpan = last(node.template.templateSpans);\n            callIsIncomplete = nodeIsMissing(lastSpan.literal) || !!lastSpan.literal.isUnterminated;\n          } else {\n            const templateLiteral = node.template;\n            Debug2.assert(\n              templateLiteral.kind === 14\n              /* NoSubstitutionTemplateLiteral */\n            );\n            callIsIncomplete = !!templateLiteral.isUnterminated;\n          }\n        } else if (node.kind === 167) {\n          argCount = getDecoratorArgumentCount(node, signature);\n        } else if (isJsxOpeningLikeElement(node)) {\n          callIsIncomplete = node.attributes.end === node.end;\n          if (callIsIncomplete) {\n            return true;\n          }\n          argCount = effectiveMinimumArguments === 0 ? args.length : 1;\n          effectiveParameterCount = args.length === 0 ? effectiveParameterCount : 1;\n          effectiveMinimumArguments = Math.min(effectiveMinimumArguments, 1);\n        } else if (!node.arguments) {\n          Debug2.assert(\n            node.kind === 211\n            /* NewExpression */\n          );\n          return getMinArgumentCount(signature) === 0;\n        } else {\n          argCount = signatureHelpTrailingComma ? args.length + 1 : args.length;\n          callIsIncomplete = node.arguments.end === node.end;\n          const spreadArgIndex = getSpreadArgumentIndex(args);\n          if (spreadArgIndex >= 0) {\n            return spreadArgIndex >= getMinArgumentCount(signature) && (hasEffectiveRestParameter(signature) || spreadArgIndex < getParameterCount(signature));\n          }\n        }\n        if (!hasEffectiveRestParameter(signature) && argCount > effectiveParameterCount) {\n          return false;\n        }\n        if (callIsIncomplete || argCount >= effectiveMinimumArguments) {\n          return true;\n        }\n        for (let i = argCount; i < effectiveMinimumArguments; i++) {\n          const type = getTypeAtPosition(signature, i);\n          if (filterType(type, isInJSFile(node) && !strictNullChecks ? acceptsVoidUndefinedUnknownOrAny : acceptsVoid).flags & 131072) {\n            return false;\n          }\n        }\n        return true;\n      }\n      function hasCorrectTypeArgumentArity(signature, typeArguments) {\n        const numTypeParameters = length(signature.typeParameters);\n        const minTypeArgumentCount = getMinTypeArgumentCount(signature.typeParameters);\n        return !some(typeArguments) || typeArguments.length >= minTypeArgumentCount && typeArguments.length <= numTypeParameters;\n      }\n      function getSingleCallSignature(type) {\n        return getSingleSignature(\n          type,\n          0,\n          /*allowMembers*/\n          false\n        );\n      }\n      function getSingleCallOrConstructSignature(type) {\n        return getSingleSignature(\n          type,\n          0,\n          /*allowMembers*/\n          false\n        ) || getSingleSignature(\n          type,\n          1,\n          /*allowMembers*/\n          false\n        );\n      }\n      function getSingleSignature(type, kind, allowMembers) {\n        if (type.flags & 524288) {\n          const resolved = resolveStructuredTypeMembers(type);\n          if (allowMembers || resolved.properties.length === 0 && resolved.indexInfos.length === 0) {\n            if (kind === 0 && resolved.callSignatures.length === 1 && resolved.constructSignatures.length === 0) {\n              return resolved.callSignatures[0];\n            }\n            if (kind === 1 && resolved.constructSignatures.length === 1 && resolved.callSignatures.length === 0) {\n              return resolved.constructSignatures[0];\n            }\n          }\n        }\n        return void 0;\n      }\n      function instantiateSignatureInContextOf(signature, contextualSignature, inferenceContext, compareTypes) {\n        const context = createInferenceContext(signature.typeParameters, signature, 0, compareTypes);\n        const restType = getEffectiveRestType(contextualSignature);\n        const mapper = inferenceContext && (restType && restType.flags & 262144 ? inferenceContext.nonFixingMapper : inferenceContext.mapper);\n        const sourceSignature = mapper ? instantiateSignature(contextualSignature, mapper) : contextualSignature;\n        applyToParameterTypes(sourceSignature, signature, (source, target) => {\n          inferTypes(context.inferences, source, target);\n        });\n        if (!inferenceContext) {\n          applyToReturnTypes(contextualSignature, signature, (source, target) => {\n            inferTypes(\n              context.inferences,\n              source,\n              target,\n              128\n              /* ReturnType */\n            );\n          });\n        }\n        return getSignatureInstantiation(signature, getInferredTypes(context), isInJSFile(contextualSignature.declaration));\n      }\n      function inferJsxTypeArguments(node, signature, checkMode, context) {\n        const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node);\n        const checkAttrType = checkExpressionWithContextualType(node.attributes, paramType, context, checkMode);\n        inferTypes(context.inferences, checkAttrType, paramType);\n        return getInferredTypes(context);\n      }\n      function getThisArgumentType(thisArgumentNode) {\n        if (!thisArgumentNode) {\n          return voidType;\n        }\n        const thisArgumentType = checkExpression(thisArgumentNode);\n        return isOptionalChainRoot(thisArgumentNode.parent) ? getNonNullableType(thisArgumentType) : isOptionalChain(thisArgumentNode.parent) ? removeOptionalTypeMarker(thisArgumentType) : thisArgumentType;\n      }\n      function inferTypeArguments(node, signature, args, checkMode, context) {\n        if (isJsxOpeningLikeElement(node)) {\n          return inferJsxTypeArguments(node, signature, checkMode, context);\n        }\n        if (node.kind !== 167) {\n          const skipBindingPatterns = every(signature.typeParameters, (p) => !!getDefaultFromTypeParameter(p));\n          const contextualType = getContextualType2(\n            node,\n            skipBindingPatterns ? 8 : 0\n            /* None */\n          );\n          if (contextualType) {\n            const inferenceTargetType = getReturnTypeOfSignature(signature);\n            if (couldContainTypeVariables(inferenceTargetType)) {\n              const outerContext = getInferenceContext(node);\n              const isFromBindingPattern = !skipBindingPatterns && getContextualType2(\n                node,\n                8\n                /* SkipBindingPatterns */\n              ) !== contextualType;\n              if (!isFromBindingPattern) {\n                const outerMapper = getMapperFromContext(cloneInferenceContext(\n                  outerContext,\n                  1\n                  /* NoDefault */\n                ));\n                const instantiatedType = instantiateType(contextualType, outerMapper);\n                const contextualSignature = getSingleCallSignature(instantiatedType);\n                const inferenceSourceType = contextualSignature && contextualSignature.typeParameters ? getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(contextualSignature, contextualSignature.typeParameters)) : instantiatedType;\n                inferTypes(\n                  context.inferences,\n                  inferenceSourceType,\n                  inferenceTargetType,\n                  128\n                  /* ReturnType */\n                );\n              }\n              const returnContext = createInferenceContext(signature.typeParameters, signature, context.flags);\n              const returnSourceType = instantiateType(contextualType, outerContext && outerContext.returnMapper);\n              inferTypes(returnContext.inferences, returnSourceType, inferenceTargetType);\n              context.returnMapper = some(returnContext.inferences, hasInferenceCandidates) ? getMapperFromContext(cloneInferredPartOfContext(returnContext)) : void 0;\n            }\n          }\n        }\n        const restType = getNonArrayRestType(signature);\n        const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length;\n        if (restType && restType.flags & 262144) {\n          const info = find(context.inferences, (info2) => info2.typeParameter === restType);\n          if (info) {\n            info.impliedArity = findIndex(args, isSpreadArgument, argCount) < 0 ? args.length - argCount : void 0;\n          }\n        }\n        const thisType = getThisTypeOfSignature(signature);\n        if (thisType && couldContainTypeVariables(thisType)) {\n          const thisArgumentNode = getThisArgumentOfCall(node);\n          inferTypes(context.inferences, getThisArgumentType(thisArgumentNode), thisType);\n        }\n        for (let i = 0; i < argCount; i++) {\n          const arg = args[i];\n          if (arg.kind !== 229 && !(checkMode & 32 && hasSkipDirectInferenceFlag(arg))) {\n            const paramType = getTypeAtPosition(signature, i);\n            if (couldContainTypeVariables(paramType)) {\n              const argType = checkExpressionWithContextualType(arg, paramType, context, checkMode);\n              inferTypes(context.inferences, argType, paramType);\n            }\n          }\n        }\n        if (restType && couldContainTypeVariables(restType)) {\n          const spreadType = getSpreadArgumentType(args, argCount, args.length, restType, context, checkMode);\n          inferTypes(context.inferences, spreadType, restType);\n        }\n        return getInferredTypes(context);\n      }\n      function getMutableArrayOrTupleType(type) {\n        return type.flags & 1048576 ? mapType(type, getMutableArrayOrTupleType) : type.flags & 1 || isMutableArrayOrTuple(getBaseConstraintOfType(type) || type) ? type : isTupleType(type) ? createTupleType(\n          getTypeArguments(type),\n          type.target.elementFlags,\n          /*readonly*/\n          false,\n          type.target.labeledElementDeclarations\n        ) : createTupleType([type], [\n          8\n          /* Variadic */\n        ]);\n      }\n      function getSpreadArgumentType(args, index, argCount, restType, context, checkMode) {\n        if (index >= argCount - 1) {\n          const arg = args[argCount - 1];\n          if (isSpreadArgument(arg)) {\n            return getMutableArrayOrTupleType(arg.kind === 234 ? arg.type : checkExpressionWithContextualType(arg.expression, restType, context, checkMode));\n          }\n        }\n        const types = [];\n        const flags = [];\n        const names = [];\n        const inConstContext = isConstTypeVariable(restType);\n        for (let i = index; i < argCount; i++) {\n          const arg = args[i];\n          if (isSpreadArgument(arg)) {\n            const spreadType = arg.kind === 234 ? arg.type : checkExpression(arg.expression);\n            if (isArrayLikeType(spreadType)) {\n              types.push(spreadType);\n              flags.push(\n                8\n                /* Variadic */\n              );\n            } else {\n              types.push(checkIteratedTypeOrElementType(33, spreadType, undefinedType, arg.kind === 227 ? arg.expression : arg));\n              flags.push(\n                4\n                /* Rest */\n              );\n            }\n          } else {\n            const contextualType = getIndexedAccessType(\n              restType,\n              getNumberLiteralType(i - index),\n              256\n              /* Contextual */\n            );\n            const argType = checkExpressionWithContextualType(arg, contextualType, context, checkMode);\n            const hasPrimitiveContextualType = inConstContext || maybeTypeOfKind(\n              contextualType,\n              134348796 | 4194304 | 134217728 | 268435456\n              /* StringMapping */\n            );\n            types.push(hasPrimitiveContextualType ? getRegularTypeOfLiteralType(argType) : getWidenedLiteralType(argType));\n            flags.push(\n              1\n              /* Required */\n            );\n          }\n          if (arg.kind === 234 && arg.tupleNameSource) {\n            names.push(arg.tupleNameSource);\n          }\n        }\n        return createTupleType(types, flags, inConstContext, length(names) === length(types) ? names : void 0);\n      }\n      function checkTypeArguments(signature, typeArgumentNodes, reportErrors2, headMessage) {\n        const isJavascript = isInJSFile(signature.declaration);\n        const typeParameters = signature.typeParameters;\n        const typeArgumentTypes = fillMissingTypeArguments(map(typeArgumentNodes, getTypeFromTypeNode), typeParameters, getMinTypeArgumentCount(typeParameters), isJavascript);\n        let mapper;\n        for (let i = 0; i < typeArgumentNodes.length; i++) {\n          Debug2.assert(typeParameters[i] !== void 0, \"Should not call checkTypeArguments with too many type arguments\");\n          const constraint = getConstraintOfTypeParameter(typeParameters[i]);\n          if (constraint) {\n            const errorInfo = reportErrors2 && headMessage ? () => chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.Type_0_does_not_satisfy_the_constraint_1\n            ) : void 0;\n            const typeArgumentHeadMessage = headMessage || Diagnostics.Type_0_does_not_satisfy_the_constraint_1;\n            if (!mapper) {\n              mapper = createTypeMapper(typeParameters, typeArgumentTypes);\n            }\n            const typeArgument = typeArgumentTypes[i];\n            if (!checkTypeAssignableTo(\n              typeArgument,\n              getTypeWithThisArgument(instantiateType(constraint, mapper), typeArgument),\n              reportErrors2 ? typeArgumentNodes[i] : void 0,\n              typeArgumentHeadMessage,\n              errorInfo\n            )) {\n              return void 0;\n            }\n          }\n        }\n        return typeArgumentTypes;\n      }\n      function getJsxReferenceKind(node) {\n        if (isJsxIntrinsicIdentifier(node.tagName)) {\n          return 2;\n        }\n        const tagType = getApparentType(checkExpression(node.tagName));\n        if (length(getSignaturesOfType(\n          tagType,\n          1\n          /* Construct */\n        ))) {\n          return 0;\n        }\n        if (length(getSignaturesOfType(\n          tagType,\n          0\n          /* Call */\n        ))) {\n          return 1;\n        }\n        return 2;\n      }\n      function checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer) {\n        const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node);\n        const attributesType = checkExpressionWithContextualType(\n          node.attributes,\n          paramType,\n          /*inferenceContext*/\n          void 0,\n          checkMode\n        );\n        return checkTagNameDoesNotExpectTooManyArguments() && checkTypeRelatedToAndOptionallyElaborate(\n          attributesType,\n          paramType,\n          relation,\n          reportErrors2 ? node.tagName : void 0,\n          node.attributes,\n          /*headMessage*/\n          void 0,\n          containingMessageChain,\n          errorOutputContainer\n        );\n        function checkTagNameDoesNotExpectTooManyArguments() {\n          var _a22;\n          if (getJsxNamespaceContainerForImplicitImport(node)) {\n            return true;\n          }\n          const tagType = isJsxOpeningElement(node) || isJsxSelfClosingElement(node) && !isJsxIntrinsicIdentifier(node.tagName) ? checkExpression(node.tagName) : void 0;\n          if (!tagType) {\n            return true;\n          }\n          const tagCallSignatures = getSignaturesOfType(\n            tagType,\n            0\n            /* Call */\n          );\n          if (!length(tagCallSignatures)) {\n            return true;\n          }\n          const factory2 = getJsxFactoryEntity(node);\n          if (!factory2) {\n            return true;\n          }\n          const factorySymbol = resolveEntityName(\n            factory2,\n            111551,\n            /*ignoreErrors*/\n            true,\n            /*dontResolveAlias*/\n            false,\n            node\n          );\n          if (!factorySymbol) {\n            return true;\n          }\n          const factoryType = getTypeOfSymbol(factorySymbol);\n          const callSignatures = getSignaturesOfType(\n            factoryType,\n            0\n            /* Call */\n          );\n          if (!length(callSignatures)) {\n            return true;\n          }\n          let hasFirstParamSignatures = false;\n          let maxParamCount = 0;\n          for (const sig of callSignatures) {\n            const firstparam = getTypeAtPosition(sig, 0);\n            const signaturesOfParam = getSignaturesOfType(\n              firstparam,\n              0\n              /* Call */\n            );\n            if (!length(signaturesOfParam))\n              continue;\n            for (const paramSig of signaturesOfParam) {\n              hasFirstParamSignatures = true;\n              if (hasEffectiveRestParameter(paramSig)) {\n                return true;\n              }\n              const paramCount = getParameterCount(paramSig);\n              if (paramCount > maxParamCount) {\n                maxParamCount = paramCount;\n              }\n            }\n          }\n          if (!hasFirstParamSignatures) {\n            return true;\n          }\n          let absoluteMinArgCount = Infinity;\n          for (const tagSig of tagCallSignatures) {\n            const tagRequiredArgCount = getMinArgumentCount(tagSig);\n            if (tagRequiredArgCount < absoluteMinArgCount) {\n              absoluteMinArgCount = tagRequiredArgCount;\n            }\n          }\n          if (absoluteMinArgCount <= maxParamCount) {\n            return true;\n          }\n          if (reportErrors2) {\n            const diag2 = createDiagnosticForNode(node.tagName, Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3, entityNameToString(node.tagName), absoluteMinArgCount, entityNameToString(factory2), maxParamCount);\n            const tagNameDeclaration = (_a22 = getSymbolAtLocation(node.tagName)) == null ? void 0 : _a22.valueDeclaration;\n            if (tagNameDeclaration) {\n              addRelatedInfo(diag2, createDiagnosticForNode(tagNameDeclaration, Diagnostics._0_is_declared_here, entityNameToString(node.tagName)));\n            }\n            if (errorOutputContainer && errorOutputContainer.skipLogging) {\n              (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n            }\n            if (!errorOutputContainer.skipLogging) {\n              diagnostics.add(diag2);\n            }\n          }\n          return false;\n        }\n      }\n      function getSignatureApplicabilityError(node, args, signature, relation, checkMode, reportErrors2, containingMessageChain) {\n        const errorOutputContainer = { errors: void 0, skipLogging: true };\n        if (isJsxOpeningLikeElement(node)) {\n          if (!checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer)) {\n            Debug2.assert(!reportErrors2 || !!errorOutputContainer.errors, \"jsx should have errors when reporting errors\");\n            return errorOutputContainer.errors || emptyArray;\n          }\n          return void 0;\n        }\n        const thisType = getThisTypeOfSignature(signature);\n        if (thisType && thisType !== voidType && !(isNewExpression(node) || isCallExpression(node) && isSuperProperty(node.expression))) {\n          const thisArgumentNode = getThisArgumentOfCall(node);\n          const thisArgumentType = getThisArgumentType(thisArgumentNode);\n          const errorNode = reportErrors2 ? thisArgumentNode || node : void 0;\n          const headMessage2 = Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;\n          if (!checkTypeRelatedTo(thisArgumentType, thisType, relation, errorNode, headMessage2, containingMessageChain, errorOutputContainer)) {\n            Debug2.assert(!reportErrors2 || !!errorOutputContainer.errors, \"this parameter should have errors when reporting errors\");\n            return errorOutputContainer.errors || emptyArray;\n          }\n        }\n        const headMessage = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1;\n        const restType = getNonArrayRestType(signature);\n        const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length;\n        for (let i = 0; i < argCount; i++) {\n          const arg = args[i];\n          if (arg.kind !== 229) {\n            const paramType = getTypeAtPosition(signature, i);\n            const argType = checkExpressionWithContextualType(\n              arg,\n              paramType,\n              /*inferenceContext*/\n              void 0,\n              checkMode\n            );\n            const checkArgType = checkMode & 4 ? getRegularTypeOfObjectLiteral(argType) : argType;\n            if (!checkTypeRelatedToAndOptionallyElaborate(checkArgType, paramType, relation, reportErrors2 ? arg : void 0, arg, headMessage, containingMessageChain, errorOutputContainer)) {\n              Debug2.assert(!reportErrors2 || !!errorOutputContainer.errors, \"parameter should have errors when reporting errors\");\n              maybeAddMissingAwaitInfo(arg, checkArgType, paramType);\n              return errorOutputContainer.errors || emptyArray;\n            }\n          }\n        }\n        if (restType) {\n          const spreadType = getSpreadArgumentType(\n            args,\n            argCount,\n            args.length,\n            restType,\n            /*context*/\n            void 0,\n            checkMode\n          );\n          const restArgCount = args.length - argCount;\n          const errorNode = !reportErrors2 ? void 0 : restArgCount === 0 ? node : restArgCount === 1 ? args[argCount] : setTextRangePosEnd(createSyntheticExpression(node, spreadType), args[argCount].pos, args[args.length - 1].end);\n          if (!checkTypeRelatedTo(\n            spreadType,\n            restType,\n            relation,\n            errorNode,\n            headMessage,\n            /*containingMessageChain*/\n            void 0,\n            errorOutputContainer\n          )) {\n            Debug2.assert(!reportErrors2 || !!errorOutputContainer.errors, \"rest parameter should have errors when reporting errors\");\n            maybeAddMissingAwaitInfo(errorNode, spreadType, restType);\n            return errorOutputContainer.errors || emptyArray;\n          }\n        }\n        return void 0;\n        function maybeAddMissingAwaitInfo(errorNode, source, target) {\n          if (errorNode && reportErrors2 && errorOutputContainer.errors && errorOutputContainer.errors.length) {\n            if (getAwaitedTypeOfPromise(target)) {\n              return;\n            }\n            const awaitedTypeOfSource = getAwaitedTypeOfPromise(source);\n            if (awaitedTypeOfSource && isTypeRelatedTo(awaitedTypeOfSource, target, relation)) {\n              addRelatedInfo(errorOutputContainer.errors[0], createDiagnosticForNode(errorNode, Diagnostics.Did_you_forget_to_use_await));\n            }\n          }\n        }\n      }\n      function getThisArgumentOfCall(node) {\n        const expression = node.kind === 210 ? node.expression : node.kind === 212 ? node.tag : void 0;\n        if (expression) {\n          const callee = skipOuterExpressions(expression);\n          if (isAccessExpression(callee)) {\n            return callee.expression;\n          }\n        }\n      }\n      function createSyntheticExpression(parent2, type, isSpread, tupleNameSource) {\n        const result = parseNodeFactory.createSyntheticExpression(type, isSpread, tupleNameSource);\n        setTextRange(result, parent2);\n        setParent(result, parent2);\n        return result;\n      }\n      function getEffectiveCallArguments(node) {\n        if (node.kind === 212) {\n          const template = node.template;\n          const args2 = [createSyntheticExpression(template, getGlobalTemplateStringsArrayType())];\n          if (template.kind === 225) {\n            forEach(template.templateSpans, (span) => {\n              args2.push(span.expression);\n            });\n          }\n          return args2;\n        }\n        if (node.kind === 167) {\n          return getEffectiveDecoratorArguments(node);\n        }\n        if (isJsxOpeningLikeElement(node)) {\n          return node.attributes.properties.length > 0 || isJsxOpeningElement(node) && node.parent.children.length > 0 ? [node.attributes] : emptyArray;\n        }\n        const args = node.arguments || emptyArray;\n        const spreadIndex = getSpreadArgumentIndex(args);\n        if (spreadIndex >= 0) {\n          const effectiveArgs = args.slice(0, spreadIndex);\n          for (let i = spreadIndex; i < args.length; i++) {\n            const arg = args[i];\n            const spreadType = arg.kind === 227 && (flowLoopCount ? checkExpression(arg.expression) : checkExpressionCached(arg.expression));\n            if (spreadType && isTupleType(spreadType)) {\n              forEach(getTypeArguments(spreadType), (t, i2) => {\n                var _a22;\n                const flags = spreadType.target.elementFlags[i2];\n                const syntheticArg = createSyntheticExpression(\n                  arg,\n                  flags & 4 ? createArrayType(t) : t,\n                  !!(flags & 12),\n                  (_a22 = spreadType.target.labeledElementDeclarations) == null ? void 0 : _a22[i2]\n                );\n                effectiveArgs.push(syntheticArg);\n              });\n            } else {\n              effectiveArgs.push(arg);\n            }\n          }\n          return effectiveArgs;\n        }\n        return args;\n      }\n      function getEffectiveDecoratorArguments(node) {\n        const expr = node.expression;\n        const signature = getDecoratorCallSignature(node);\n        if (signature) {\n          const args = [];\n          for (const param of signature.parameters) {\n            const type = getTypeOfSymbol(param);\n            args.push(createSyntheticExpression(expr, type));\n          }\n          return args;\n        }\n        return Debug2.fail();\n      }\n      function getDecoratorArgumentCount(node, signature) {\n        return compilerOptions.experimentalDecorators ? getLegacyDecoratorArgumentCount(node, signature) : 2;\n      }\n      function getLegacyDecoratorArgumentCount(node, signature) {\n        switch (node.parent.kind) {\n          case 260:\n          case 228:\n            return 1;\n          case 169:\n            return hasAccessorModifier(node.parent) ? 3 : 2;\n          case 171:\n          case 174:\n          case 175:\n            return languageVersion === 0 || signature.parameters.length <= 2 ? 2 : 3;\n          case 166:\n            return 3;\n          default:\n            return Debug2.fail();\n        }\n      }\n      function getDiagnosticSpanForCallNode(node, doNotIncludeArguments) {\n        let start;\n        let length2;\n        const sourceFile = getSourceFileOfNode(node);\n        if (isPropertyAccessExpression(node.expression)) {\n          const nameSpan = getErrorSpanForNode(sourceFile, node.expression.name);\n          start = nameSpan.start;\n          length2 = doNotIncludeArguments ? nameSpan.length : node.end - start;\n        } else {\n          const expressionSpan = getErrorSpanForNode(sourceFile, node.expression);\n          start = expressionSpan.start;\n          length2 = doNotIncludeArguments ? expressionSpan.length : node.end - start;\n        }\n        return { start, length: length2, sourceFile };\n      }\n      function getDiagnosticForCallNode(node, message, arg0, arg1, arg2, arg3) {\n        if (isCallExpression(node)) {\n          const { sourceFile, start, length: length2 } = getDiagnosticSpanForCallNode(node);\n          if (\"message\" in message) {\n            return createFileDiagnostic(sourceFile, start, length2, message, arg0, arg1, arg2, arg3);\n          }\n          return createDiagnosticForFileFromMessageChain(sourceFile, message);\n        } else {\n          if (\"message\" in message) {\n            return createDiagnosticForNode(node, message, arg0, arg1, arg2, arg3);\n          }\n          return createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node), node, message);\n        }\n      }\n      function isPromiseResolveArityError(node) {\n        if (!isCallExpression(node) || !isIdentifier(node.expression))\n          return false;\n        const symbol = resolveName(node.expression, node.expression.escapedText, 111551, void 0, void 0, false);\n        const decl = symbol == null ? void 0 : symbol.valueDeclaration;\n        if (!decl || !isParameter(decl) || !isFunctionExpressionOrArrowFunction(decl.parent) || !isNewExpression(decl.parent.parent) || !isIdentifier(decl.parent.parent.expression)) {\n          return false;\n        }\n        const globalPromiseSymbol = getGlobalPromiseConstructorSymbol(\n          /*reportErrors*/\n          false\n        );\n        if (!globalPromiseSymbol)\n          return false;\n        const constructorSymbol = getSymbolAtLocation(\n          decl.parent.parent.expression,\n          /*ignoreErrors*/\n          true\n        );\n        return constructorSymbol === globalPromiseSymbol;\n      }\n      function getArgumentArityError(node, signatures, args, headMessage) {\n        var _a22;\n        const spreadIndex = getSpreadArgumentIndex(args);\n        if (spreadIndex > -1) {\n          return createDiagnosticForNode(args[spreadIndex], Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);\n        }\n        let min2 = Number.POSITIVE_INFINITY;\n        let max = Number.NEGATIVE_INFINITY;\n        let maxBelow = Number.NEGATIVE_INFINITY;\n        let minAbove = Number.POSITIVE_INFINITY;\n        let closestSignature;\n        for (const sig of signatures) {\n          const minParameter = getMinArgumentCount(sig);\n          const maxParameter = getParameterCount(sig);\n          if (minParameter < min2) {\n            min2 = minParameter;\n            closestSignature = sig;\n          }\n          max = Math.max(max, maxParameter);\n          if (minParameter < args.length && minParameter > maxBelow)\n            maxBelow = minParameter;\n          if (args.length < maxParameter && maxParameter < minAbove)\n            minAbove = maxParameter;\n        }\n        const hasRestParameter2 = some(signatures, hasEffectiveRestParameter);\n        const parameterRange = hasRestParameter2 ? min2 : min2 < max ? min2 + \"-\" + max : min2;\n        const isVoidPromiseError = !hasRestParameter2 && parameterRange === 1 && args.length === 0 && isPromiseResolveArityError(node);\n        if (isVoidPromiseError && isInJSFile(node)) {\n          return getDiagnosticForCallNode(node, Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments);\n        }\n        const error2 = isDecorator(node) ? hasRestParameter2 ? Diagnostics.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0 : Diagnostics.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0 : hasRestParameter2 ? Diagnostics.Expected_at_least_0_arguments_but_got_1 : isVoidPromiseError ? Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise : Diagnostics.Expected_0_arguments_but_got_1;\n        if (min2 < args.length && args.length < max) {\n          if (headMessage) {\n            let chain = chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,\n              args.length,\n              maxBelow,\n              minAbove\n            );\n            chain = chainDiagnosticMessages(chain, headMessage);\n            return getDiagnosticForCallNode(node, chain);\n          }\n          return getDiagnosticForCallNode(node, Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments, args.length, maxBelow, minAbove);\n        } else if (args.length < min2) {\n          let diagnostic;\n          if (headMessage) {\n            let chain = chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              error2,\n              parameterRange,\n              args.length\n            );\n            chain = chainDiagnosticMessages(chain, headMessage);\n            diagnostic = getDiagnosticForCallNode(node, chain);\n          } else {\n            diagnostic = getDiagnosticForCallNode(node, error2, parameterRange, args.length);\n          }\n          const parameter = (_a22 = closestSignature == null ? void 0 : closestSignature.declaration) == null ? void 0 : _a22.parameters[closestSignature.thisParameter ? args.length + 1 : args.length];\n          if (parameter) {\n            const parameterError = createDiagnosticForNode(\n              parameter,\n              isBindingPattern(parameter.name) ? Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided : isRestParameter(parameter) ? Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided : Diagnostics.An_argument_for_0_was_not_provided,\n              !parameter.name ? args.length : !isBindingPattern(parameter.name) ? idText(getFirstIdentifier(parameter.name)) : void 0\n            );\n            return addRelatedInfo(diagnostic, parameterError);\n          }\n          return diagnostic;\n        } else {\n          const errorSpan = factory.createNodeArray(args.slice(max));\n          const pos = first(errorSpan).pos;\n          let end = last(errorSpan).end;\n          if (end === pos) {\n            end++;\n          }\n          setTextRangePosEnd(errorSpan, pos, end);\n          if (headMessage) {\n            let chain = chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              error2,\n              parameterRange,\n              args.length\n            );\n            chain = chainDiagnosticMessages(chain, headMessage);\n            return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), errorSpan, chain);\n          }\n          return createDiagnosticForNodeArray(getSourceFileOfNode(node), errorSpan, error2, parameterRange, args.length);\n        }\n      }\n      function getTypeArgumentArityError(node, signatures, typeArguments, headMessage) {\n        const argCount = typeArguments.length;\n        if (signatures.length === 1) {\n          const sig = signatures[0];\n          const min2 = getMinTypeArgumentCount(sig.typeParameters);\n          const max = length(sig.typeParameters);\n          if (headMessage) {\n            let chain = chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.Expected_0_type_arguments_but_got_1,\n              min2 < max ? min2 + \"-\" + max : min2,\n              argCount\n            );\n            chain = chainDiagnosticMessages(chain, headMessage);\n            return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain);\n          }\n          return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, min2 < max ? min2 + \"-\" + max : min2, argCount);\n        }\n        let belowArgCount = -Infinity;\n        let aboveArgCount = Infinity;\n        for (const sig of signatures) {\n          const min2 = getMinTypeArgumentCount(sig.typeParameters);\n          const max = length(sig.typeParameters);\n          if (min2 > argCount) {\n            aboveArgCount = Math.min(aboveArgCount, min2);\n          } else if (max < argCount) {\n            belowArgCount = Math.max(belowArgCount, max);\n          }\n        }\n        if (belowArgCount !== -Infinity && aboveArgCount !== Infinity) {\n          if (headMessage) {\n            let chain = chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,\n              argCount,\n              belowArgCount,\n              aboveArgCount\n            );\n            chain = chainDiagnosticMessages(chain, headMessage);\n            return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain);\n          }\n          return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments, argCount, belowArgCount, aboveArgCount);\n        }\n        if (headMessage) {\n          let chain = chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            Diagnostics.Expected_0_type_arguments_but_got_1,\n            belowArgCount === -Infinity ? aboveArgCount : belowArgCount,\n            argCount\n          );\n          chain = chainDiagnosticMessages(chain, headMessage);\n          return createDiagnosticForNodeArrayFromMessageChain(getSourceFileOfNode(node), typeArguments, chain);\n        }\n        return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, belowArgCount === -Infinity ? aboveArgCount : belowArgCount, argCount);\n      }\n      function resolveCall(node, signatures, candidatesOutArray, checkMode, callChainFlags, headMessage) {\n        const isTaggedTemplate = node.kind === 212;\n        const isDecorator2 = node.kind === 167;\n        const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);\n        const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray;\n        let typeArguments;\n        if (!isDecorator2 && !isSuperCall(node)) {\n          typeArguments = node.typeArguments;\n          if (isTaggedTemplate || isJsxOpeningOrSelfClosingElement || node.expression.kind !== 106) {\n            forEach(typeArguments, checkSourceElement);\n          }\n        }\n        const candidates = candidatesOutArray || [];\n        reorderCandidates(signatures, candidates, callChainFlags);\n        if (!candidates.length) {\n          if (reportErrors2) {\n            diagnostics.add(getDiagnosticForCallNode(node, Diagnostics.Call_target_does_not_contain_any_signatures));\n          }\n          return resolveErrorCall(node);\n        }\n        const args = getEffectiveCallArguments(node);\n        const isSingleNonGenericCandidate = candidates.length === 1 && !candidates[0].typeParameters;\n        let argCheckMode = !isDecorator2 && !isSingleNonGenericCandidate && some(args, isContextSensitive) ? 4 : 0;\n        argCheckMode |= checkMode & 32;\n        let candidatesForArgumentError;\n        let candidateForArgumentArityError;\n        let candidateForTypeArgumentError;\n        let result;\n        const signatureHelpTrailingComma = !!(checkMode & 16) && node.kind === 210 && node.arguments.hasTrailingComma;\n        if (candidates.length > 1) {\n          result = chooseOverload(candidates, subtypeRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma);\n        }\n        if (!result) {\n          result = chooseOverload(candidates, assignableRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma);\n        }\n        if (result) {\n          return result;\n        }\n        result = getCandidateForOverloadFailure(node, candidates, args, !!candidatesOutArray, checkMode);\n        getNodeLinks(node).resolvedSignature = result;\n        if (reportErrors2) {\n          if (candidatesForArgumentError) {\n            if (candidatesForArgumentError.length === 1 || candidatesForArgumentError.length > 3) {\n              const last2 = candidatesForArgumentError[candidatesForArgumentError.length - 1];\n              let chain;\n              if (candidatesForArgumentError.length > 3) {\n                chain = chainDiagnosticMessages(chain, Diagnostics.The_last_overload_gave_the_following_error);\n                chain = chainDiagnosticMessages(chain, Diagnostics.No_overload_matches_this_call);\n              }\n              if (headMessage) {\n                chain = chainDiagnosticMessages(chain, headMessage);\n              }\n              const diags = getSignatureApplicabilityError(\n                node,\n                args,\n                last2,\n                assignableRelation,\n                0,\n                /*reportErrors*/\n                true,\n                () => chain\n              );\n              if (diags) {\n                for (const d of diags) {\n                  if (last2.declaration && candidatesForArgumentError.length > 3) {\n                    addRelatedInfo(d, createDiagnosticForNode(last2.declaration, Diagnostics.The_last_overload_is_declared_here));\n                  }\n                  addImplementationSuccessElaboration(last2, d);\n                  diagnostics.add(d);\n                }\n              } else {\n                Debug2.fail(\"No error for last overload signature\");\n              }\n            } else {\n              const allDiagnostics = [];\n              let max = 0;\n              let min2 = Number.MAX_VALUE;\n              let minIndex = 0;\n              let i = 0;\n              for (const c of candidatesForArgumentError) {\n                const chain2 = () => chainDiagnosticMessages(\n                  /*details*/\n                  void 0,\n                  Diagnostics.Overload_0_of_1_2_gave_the_following_error,\n                  i + 1,\n                  candidates.length,\n                  signatureToString(c)\n                );\n                const diags2 = getSignatureApplicabilityError(\n                  node,\n                  args,\n                  c,\n                  assignableRelation,\n                  0,\n                  /*reportErrors*/\n                  true,\n                  chain2\n                );\n                if (diags2) {\n                  if (diags2.length <= min2) {\n                    min2 = diags2.length;\n                    minIndex = i;\n                  }\n                  max = Math.max(max, diags2.length);\n                  allDiagnostics.push(diags2);\n                } else {\n                  Debug2.fail(\"No error for 3 or fewer overload signatures\");\n                }\n                i++;\n              }\n              const diags = max > 1 ? allDiagnostics[minIndex] : flatten(allDiagnostics);\n              Debug2.assert(diags.length > 0, \"No errors reported for 3 or fewer overload signatures\");\n              let chain = chainDiagnosticMessages(\n                map(diags, createDiagnosticMessageChainFromDiagnostic),\n                Diagnostics.No_overload_matches_this_call\n              );\n              if (headMessage) {\n                chain = chainDiagnosticMessages(chain, headMessage);\n              }\n              const related = [...flatMap(diags, (d) => d.relatedInformation)];\n              let diag2;\n              if (every(diags, (d) => d.start === diags[0].start && d.length === diags[0].length && d.file === diags[0].file)) {\n                const { file, start, length: length2 } = diags[0];\n                diag2 = { file, start, length: length2, code: chain.code, category: chain.category, messageText: chain, relatedInformation: related };\n              } else {\n                diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node), node, chain, related);\n              }\n              addImplementationSuccessElaboration(candidatesForArgumentError[0], diag2);\n              diagnostics.add(diag2);\n            }\n          } else if (candidateForArgumentArityError) {\n            diagnostics.add(getArgumentArityError(node, [candidateForArgumentArityError], args, headMessage));\n          } else if (candidateForTypeArgumentError) {\n            checkTypeArguments(\n              candidateForTypeArgumentError,\n              node.typeArguments,\n              /*reportErrors*/\n              true,\n              headMessage\n            );\n          } else {\n            const signaturesWithCorrectTypeArgumentArity = filter(signatures, (s) => hasCorrectTypeArgumentArity(s, typeArguments));\n            if (signaturesWithCorrectTypeArgumentArity.length === 0) {\n              diagnostics.add(getTypeArgumentArityError(node, signatures, typeArguments, headMessage));\n            } else {\n              diagnostics.add(getArgumentArityError(node, signaturesWithCorrectTypeArgumentArity, args, headMessage));\n            }\n          }\n        }\n        return result;\n        function addImplementationSuccessElaboration(failed, diagnostic) {\n          var _a22, _b3;\n          const oldCandidatesForArgumentError = candidatesForArgumentError;\n          const oldCandidateForArgumentArityError = candidateForArgumentArityError;\n          const oldCandidateForTypeArgumentError = candidateForTypeArgumentError;\n          const failedSignatureDeclarations = ((_b3 = (_a22 = failed.declaration) == null ? void 0 : _a22.symbol) == null ? void 0 : _b3.declarations) || emptyArray;\n          const isOverload = failedSignatureDeclarations.length > 1;\n          const implDecl = isOverload ? find(failedSignatureDeclarations, (d) => isFunctionLikeDeclaration(d) && nodeIsPresent(d.body)) : void 0;\n          if (implDecl) {\n            const candidate = getSignatureFromDeclaration(implDecl);\n            const isSingleNonGenericCandidate2 = !candidate.typeParameters;\n            if (chooseOverload([candidate], assignableRelation, isSingleNonGenericCandidate2)) {\n              addRelatedInfo(diagnostic, createDiagnosticForNode(implDecl, Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible));\n            }\n          }\n          candidatesForArgumentError = oldCandidatesForArgumentError;\n          candidateForArgumentArityError = oldCandidateForArgumentArityError;\n          candidateForTypeArgumentError = oldCandidateForTypeArgumentError;\n        }\n        function chooseOverload(candidates2, relation, isSingleNonGenericCandidate2, signatureHelpTrailingComma2 = false) {\n          candidatesForArgumentError = void 0;\n          candidateForArgumentArityError = void 0;\n          candidateForTypeArgumentError = void 0;\n          if (isSingleNonGenericCandidate2) {\n            const candidate = candidates2[0];\n            if (some(typeArguments) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) {\n              return void 0;\n            }\n            if (getSignatureApplicabilityError(\n              node,\n              args,\n              candidate,\n              relation,\n              0,\n              /*reportErrors*/\n              false,\n              /*containingMessageChain*/\n              void 0\n            )) {\n              candidatesForArgumentError = [candidate];\n              return void 0;\n            }\n            return candidate;\n          }\n          for (let candidateIndex = 0; candidateIndex < candidates2.length; candidateIndex++) {\n            const candidate = candidates2[candidateIndex];\n            if (!hasCorrectTypeArgumentArity(candidate, typeArguments) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) {\n              continue;\n            }\n            let checkCandidate;\n            let inferenceContext;\n            if (candidate.typeParameters) {\n              let typeArgumentTypes;\n              if (some(typeArguments)) {\n                typeArgumentTypes = checkTypeArguments(\n                  candidate,\n                  typeArguments,\n                  /*reportErrors*/\n                  false\n                );\n                if (!typeArgumentTypes) {\n                  candidateForTypeArgumentError = candidate;\n                  continue;\n                }\n              } else {\n                inferenceContext = createInferenceContext(\n                  candidate.typeParameters,\n                  candidate,\n                  /*flags*/\n                  isInJSFile(node) ? 2 : 0\n                  /* None */\n                );\n                typeArgumentTypes = inferTypeArguments(node, candidate, args, argCheckMode | 8, inferenceContext);\n                argCheckMode |= inferenceContext.flags & 4 ? 8 : 0;\n              }\n              checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext && inferenceContext.inferredTypeParameters);\n              if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) {\n                candidateForArgumentArityError = checkCandidate;\n                continue;\n              }\n            } else {\n              checkCandidate = candidate;\n            }\n            if (getSignatureApplicabilityError(\n              node,\n              args,\n              checkCandidate,\n              relation,\n              argCheckMode,\n              /*reportErrors*/\n              false,\n              /*containingMessageChain*/\n              void 0\n            )) {\n              (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate);\n              continue;\n            }\n            if (argCheckMode) {\n              argCheckMode = checkMode & 32;\n              if (inferenceContext) {\n                const typeArgumentTypes = inferTypeArguments(node, candidate, args, argCheckMode, inferenceContext);\n                checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext.inferredTypeParameters);\n                if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) {\n                  candidateForArgumentArityError = checkCandidate;\n                  continue;\n                }\n              }\n              if (getSignatureApplicabilityError(\n                node,\n                args,\n                checkCandidate,\n                relation,\n                argCheckMode,\n                /*reportErrors*/\n                false,\n                /*containingMessageChain*/\n                void 0\n              )) {\n                (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate);\n                continue;\n              }\n            }\n            candidates2[candidateIndex] = checkCandidate;\n            return checkCandidate;\n          }\n          return void 0;\n        }\n      }\n      function getCandidateForOverloadFailure(node, candidates, args, hasCandidatesOutArray, checkMode) {\n        Debug2.assert(candidates.length > 0);\n        checkNodeDeferred(node);\n        return hasCandidatesOutArray || candidates.length === 1 || candidates.some((c) => !!c.typeParameters) ? pickLongestCandidateSignature(node, candidates, args, checkMode) : createUnionOfSignaturesForOverloadFailure(candidates);\n      }\n      function createUnionOfSignaturesForOverloadFailure(candidates) {\n        const thisParameters = mapDefined(candidates, (c) => c.thisParameter);\n        let thisParameter;\n        if (thisParameters.length) {\n          thisParameter = createCombinedSymbolFromTypes(thisParameters, thisParameters.map(getTypeOfParameter));\n        }\n        const { min: minArgumentCount, max: maxNonRestParam } = minAndMax(candidates, getNumNonRestParameters);\n        const parameters = [];\n        for (let i = 0; i < maxNonRestParam; i++) {\n          const symbols = mapDefined(candidates, (s) => signatureHasRestParameter(s) ? i < s.parameters.length - 1 ? s.parameters[i] : last(s.parameters) : i < s.parameters.length ? s.parameters[i] : void 0);\n          Debug2.assert(symbols.length !== 0);\n          parameters.push(createCombinedSymbolFromTypes(symbols, mapDefined(candidates, (candidate) => tryGetTypeAtPosition(candidate, i))));\n        }\n        const restParameterSymbols = mapDefined(candidates, (c) => signatureHasRestParameter(c) ? last(c.parameters) : void 0);\n        let flags = 0;\n        if (restParameterSymbols.length !== 0) {\n          const type = createArrayType(getUnionType(\n            mapDefined(candidates, tryGetRestTypeOfSignature),\n            2\n            /* Subtype */\n          ));\n          parameters.push(createCombinedSymbolForOverloadFailure(restParameterSymbols, type));\n          flags |= 1;\n        }\n        if (candidates.some(signatureHasLiteralTypes)) {\n          flags |= 2;\n        }\n        return createSignature(\n          candidates[0].declaration,\n          /*typeParameters*/\n          void 0,\n          // Before calling this we tested for `!candidates.some(c => !!c.typeParameters)`.\n          thisParameter,\n          parameters,\n          /*resolvedReturnType*/\n          getIntersectionType(candidates.map(getReturnTypeOfSignature)),\n          /*typePredicate*/\n          void 0,\n          minArgumentCount,\n          flags\n        );\n      }\n      function getNumNonRestParameters(signature) {\n        const numParams = signature.parameters.length;\n        return signatureHasRestParameter(signature) ? numParams - 1 : numParams;\n      }\n      function createCombinedSymbolFromTypes(sources, types) {\n        return createCombinedSymbolForOverloadFailure(sources, getUnionType(\n          types,\n          2\n          /* Subtype */\n        ));\n      }\n      function createCombinedSymbolForOverloadFailure(sources, type) {\n        return createSymbolWithType(first(sources), type);\n      }\n      function pickLongestCandidateSignature(node, candidates, args, checkMode) {\n        const bestIndex = getLongestCandidateIndex(candidates, apparentArgumentCount === void 0 ? args.length : apparentArgumentCount);\n        const candidate = candidates[bestIndex];\n        const { typeParameters } = candidate;\n        if (!typeParameters) {\n          return candidate;\n        }\n        const typeArgumentNodes = callLikeExpressionMayHaveTypeArguments(node) ? node.typeArguments : void 0;\n        const instantiated = typeArgumentNodes ? createSignatureInstantiation(candidate, getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isInJSFile(node))) : inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode);\n        candidates[bestIndex] = instantiated;\n        return instantiated;\n      }\n      function getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isJs) {\n        const typeArguments = typeArgumentNodes.map(getTypeOfNode);\n        while (typeArguments.length > typeParameters.length) {\n          typeArguments.pop();\n        }\n        while (typeArguments.length < typeParameters.length) {\n          typeArguments.push(getDefaultFromTypeParameter(typeParameters[typeArguments.length]) || getConstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs));\n        }\n        return typeArguments;\n      }\n      function inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode) {\n        const inferenceContext = createInferenceContext(\n          typeParameters,\n          candidate,\n          /*flags*/\n          isInJSFile(node) ? 2 : 0\n          /* None */\n        );\n        const typeArgumentTypes = inferTypeArguments(node, candidate, args, checkMode | 4 | 8, inferenceContext);\n        return createSignatureInstantiation(candidate, typeArgumentTypes);\n      }\n      function getLongestCandidateIndex(candidates, argsCount) {\n        let maxParamsIndex = -1;\n        let maxParams = -1;\n        for (let i = 0; i < candidates.length; i++) {\n          const candidate = candidates[i];\n          const paramCount = getParameterCount(candidate);\n          if (hasEffectiveRestParameter(candidate) || paramCount >= argsCount) {\n            return i;\n          }\n          if (paramCount > maxParams) {\n            maxParams = paramCount;\n            maxParamsIndex = i;\n          }\n        }\n        return maxParamsIndex;\n      }\n      function resolveCallExpression(node, candidatesOutArray, checkMode) {\n        if (node.expression.kind === 106) {\n          const superType = checkSuperExpression(node.expression);\n          if (isTypeAny(superType)) {\n            for (const arg of node.arguments) {\n              checkExpression(arg);\n            }\n            return anySignature;\n          }\n          if (!isErrorType(superType)) {\n            const baseTypeNode = getEffectiveBaseTypeNode(getContainingClass(node));\n            if (baseTypeNode) {\n              const baseConstructors = getInstantiatedConstructorsForTypeArguments(superType, baseTypeNode.typeArguments, baseTypeNode);\n              return resolveCall(\n                node,\n                baseConstructors,\n                candidatesOutArray,\n                checkMode,\n                0\n                /* None */\n              );\n            }\n          }\n          return resolveUntypedCall(node);\n        }\n        let callChainFlags;\n        let funcType = checkExpression(node.expression);\n        if (isCallChain(node)) {\n          const nonOptionalType = getOptionalExpressionType(funcType, node.expression);\n          callChainFlags = nonOptionalType === funcType ? 0 : isOutermostOptionalChain(node) ? 16 : 8;\n          funcType = nonOptionalType;\n        } else {\n          callChainFlags = 0;\n        }\n        funcType = checkNonNullTypeWithReporter(\n          funcType,\n          node.expression,\n          reportCannotInvokePossiblyNullOrUndefinedError\n        );\n        if (funcType === silentNeverType) {\n          return silentNeverSignature;\n        }\n        const apparentType = getApparentType(funcType);\n        if (isErrorType(apparentType)) {\n          return resolveErrorCall(node);\n        }\n        const callSignatures = getSignaturesOfType(\n          apparentType,\n          0\n          /* Call */\n        );\n        const numConstructSignatures = getSignaturesOfType(\n          apparentType,\n          1\n          /* Construct */\n        ).length;\n        if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) {\n          if (!isErrorType(funcType) && node.typeArguments) {\n            error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments);\n          }\n          return resolveUntypedCall(node);\n        }\n        if (!callSignatures.length) {\n          if (numConstructSignatures) {\n            error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));\n          } else {\n            let relatedInformation;\n            if (node.arguments.length === 1) {\n              const text = getSourceFileOfNode(node).text;\n              if (isLineBreak(text.charCodeAt(skipTrivia(\n                text,\n                node.expression.end,\n                /* stopAfterLineBreak */\n                true\n              ) - 1))) {\n                relatedInformation = createDiagnosticForNode(node.expression, Diagnostics.Are_you_missing_a_semicolon);\n              }\n            }\n            invocationError(node.expression, apparentType, 0, relatedInformation);\n          }\n          return resolveErrorCall(node);\n        }\n        if (checkMode & 8 && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {\n          skippedGenericFunction(node, checkMode);\n          return resolvingSignature;\n        }\n        if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) {\n          error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));\n          return resolveErrorCall(node);\n        }\n        return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags);\n      }\n      function isGenericFunctionReturningFunction(signature) {\n        return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature)));\n      }\n      function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) {\n        return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576) && !(getReducedType(apparentFuncType).flags & 131072) && isTypeAssignableTo(funcType, globalFunctionType);\n      }\n      function resolveNewExpression(node, candidatesOutArray, checkMode) {\n        if (node.arguments && languageVersion < 1) {\n          const spreadIndex = getSpreadArgumentIndex(node.arguments);\n          if (spreadIndex >= 0) {\n            error(node.arguments[spreadIndex], Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);\n          }\n        }\n        let expressionType = checkNonNullExpression(node.expression);\n        if (expressionType === silentNeverType) {\n          return silentNeverSignature;\n        }\n        expressionType = getApparentType(expressionType);\n        if (isErrorType(expressionType)) {\n          return resolveErrorCall(node);\n        }\n        if (isTypeAny(expressionType)) {\n          if (node.typeArguments) {\n            error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments);\n          }\n          return resolveUntypedCall(node);\n        }\n        const constructSignatures = getSignaturesOfType(\n          expressionType,\n          1\n          /* Construct */\n        );\n        if (constructSignatures.length) {\n          if (!isConstructorAccessible(node, constructSignatures[0])) {\n            return resolveErrorCall(node);\n          }\n          if (someSignature(constructSignatures, (signature) => !!(signature.flags & 4))) {\n            error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class);\n            return resolveErrorCall(node);\n          }\n          const valueDecl = expressionType.symbol && getClassLikeDeclarationOfSymbol(expressionType.symbol);\n          if (valueDecl && hasSyntacticModifier(\n            valueDecl,\n            256\n            /* Abstract */\n          )) {\n            error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class);\n            return resolveErrorCall(node);\n          }\n          return resolveCall(\n            node,\n            constructSignatures,\n            candidatesOutArray,\n            checkMode,\n            0\n            /* None */\n          );\n        }\n        const callSignatures = getSignaturesOfType(\n          expressionType,\n          0\n          /* Call */\n        );\n        if (callSignatures.length) {\n          const signature = resolveCall(\n            node,\n            callSignatures,\n            candidatesOutArray,\n            checkMode,\n            0\n            /* None */\n          );\n          if (!noImplicitAny) {\n            if (signature.declaration && !isJSConstructor(signature.declaration) && getReturnTypeOfSignature(signature) !== voidType) {\n              error(node, Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword);\n            }\n            if (getThisTypeOfSignature(signature) === voidType) {\n              error(node, Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void);\n            }\n          }\n          return signature;\n        }\n        invocationError(\n          node.expression,\n          expressionType,\n          1\n          /* Construct */\n        );\n        return resolveErrorCall(node);\n      }\n      function someSignature(signatures, f) {\n        if (isArray(signatures)) {\n          return some(signatures, (signature) => someSignature(signature, f));\n        }\n        return signatures.compositeKind === 1048576 ? some(signatures.compositeSignatures, f) : f(signatures);\n      }\n      function typeHasProtectedAccessibleBase(target, type) {\n        const baseTypes = getBaseTypes(type);\n        if (!length(baseTypes)) {\n          return false;\n        }\n        const firstBase = baseTypes[0];\n        if (firstBase.flags & 2097152) {\n          const types = firstBase.types;\n          const mixinFlags = findMixins(types);\n          let i = 0;\n          for (const intersectionMember of firstBase.types) {\n            if (!mixinFlags[i]) {\n              if (getObjectFlags(intersectionMember) & (1 | 2)) {\n                if (intersectionMember.symbol === target) {\n                  return true;\n                }\n                if (typeHasProtectedAccessibleBase(target, intersectionMember)) {\n                  return true;\n                }\n              }\n            }\n            i++;\n          }\n          return false;\n        }\n        if (firstBase.symbol === target) {\n          return true;\n        }\n        return typeHasProtectedAccessibleBase(target, firstBase);\n      }\n      function isConstructorAccessible(node, signature) {\n        if (!signature || !signature.declaration) {\n          return true;\n        }\n        const declaration = signature.declaration;\n        const modifiers = getSelectedEffectiveModifierFlags(\n          declaration,\n          24\n          /* NonPublicAccessibilityModifier */\n        );\n        if (!modifiers || declaration.kind !== 173) {\n          return true;\n        }\n        const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(declaration.parent.symbol);\n        const declaringClass = getDeclaredTypeOfSymbol(declaration.parent.symbol);\n        if (!isNodeWithinClass(node, declaringClassDeclaration)) {\n          const containingClass = getContainingClass(node);\n          if (containingClass && modifiers & 16) {\n            const containingType = getTypeOfNode(containingClass);\n            if (typeHasProtectedAccessibleBase(declaration.parent.symbol, containingType)) {\n              return true;\n            }\n          }\n          if (modifiers & 8) {\n            error(node, Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration, typeToString(declaringClass));\n          }\n          if (modifiers & 16) {\n            error(node, Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration, typeToString(declaringClass));\n          }\n          return false;\n        }\n        return true;\n      }\n      function invocationErrorDetails(errorTarget, apparentType, kind) {\n        let errorInfo;\n        const isCall = kind === 0;\n        const awaitedType = getAwaitedType(apparentType);\n        const maybeMissingAwait = awaitedType && getSignaturesOfType(awaitedType, kind).length > 0;\n        if (apparentType.flags & 1048576) {\n          const types = apparentType.types;\n          let hasSignatures = false;\n          for (const constituent of types) {\n            const signatures = getSignaturesOfType(constituent, kind);\n            if (signatures.length !== 0) {\n              hasSignatures = true;\n              if (errorInfo) {\n                break;\n              }\n            } else {\n              if (!errorInfo) {\n                errorInfo = chainDiagnosticMessages(\n                  errorInfo,\n                  isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures,\n                  typeToString(constituent)\n                );\n                errorInfo = chainDiagnosticMessages(\n                  errorInfo,\n                  isCall ? Diagnostics.Not_all_constituents_of_type_0_are_callable : Diagnostics.Not_all_constituents_of_type_0_are_constructable,\n                  typeToString(apparentType)\n                );\n              }\n              if (hasSignatures) {\n                break;\n              }\n            }\n          }\n          if (!hasSignatures) {\n            errorInfo = chainDiagnosticMessages(\n              /* detials */\n              void 0,\n              isCall ? Diagnostics.No_constituent_of_type_0_is_callable : Diagnostics.No_constituent_of_type_0_is_constructable,\n              typeToString(apparentType)\n            );\n          }\n          if (!errorInfo) {\n            errorInfo = chainDiagnosticMessages(\n              errorInfo,\n              isCall ? Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other : Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,\n              typeToString(apparentType)\n            );\n          }\n        } else {\n          errorInfo = chainDiagnosticMessages(\n            errorInfo,\n            isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures,\n            typeToString(apparentType)\n          );\n        }\n        let headMessage = isCall ? Diagnostics.This_expression_is_not_callable : Diagnostics.This_expression_is_not_constructable;\n        if (isCallExpression(errorTarget.parent) && errorTarget.parent.arguments.length === 0) {\n          const { resolvedSymbol } = getNodeLinks(errorTarget);\n          if (resolvedSymbol && resolvedSymbol.flags & 32768) {\n            headMessage = Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without;\n          }\n        }\n        return {\n          messageChain: chainDiagnosticMessages(errorInfo, headMessage),\n          relatedMessage: maybeMissingAwait ? Diagnostics.Did_you_forget_to_use_await : void 0\n        };\n      }\n      function invocationError(errorTarget, apparentType, kind, relatedInformation) {\n        const { messageChain, relatedMessage: relatedInfo } = invocationErrorDetails(errorTarget, apparentType, kind);\n        const diagnostic = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorTarget), errorTarget, messageChain);\n        if (relatedInfo) {\n          addRelatedInfo(diagnostic, createDiagnosticForNode(errorTarget, relatedInfo));\n        }\n        if (isCallExpression(errorTarget.parent)) {\n          const { start, length: length2 } = getDiagnosticSpanForCallNode(\n            errorTarget.parent,\n            /* doNotIncludeArguments */\n            true\n          );\n          diagnostic.start = start;\n          diagnostic.length = length2;\n        }\n        diagnostics.add(diagnostic);\n        invocationErrorRecovery(apparentType, kind, relatedInformation ? addRelatedInfo(diagnostic, relatedInformation) : diagnostic);\n      }\n      function invocationErrorRecovery(apparentType, kind, diagnostic) {\n        if (!apparentType.symbol) {\n          return;\n        }\n        const importNode = getSymbolLinks(apparentType.symbol).originatingImport;\n        if (importNode && !isImportCall(importNode)) {\n          const sigs = getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(apparentType.symbol).target), kind);\n          if (!sigs || !sigs.length)\n            return;\n          addRelatedInfo(\n            diagnostic,\n            createDiagnosticForNode(importNode, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead)\n          );\n        }\n      }\n      function resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode) {\n        const tagType = checkExpression(node.tag);\n        const apparentType = getApparentType(tagType);\n        if (isErrorType(apparentType)) {\n          return resolveErrorCall(node);\n        }\n        const callSignatures = getSignaturesOfType(\n          apparentType,\n          0\n          /* Call */\n        );\n        const numConstructSignatures = getSignaturesOfType(\n          apparentType,\n          1\n          /* Construct */\n        ).length;\n        if (isUntypedFunctionCall(tagType, apparentType, callSignatures.length, numConstructSignatures)) {\n          return resolveUntypedCall(node);\n        }\n        if (!callSignatures.length) {\n          if (isArrayLiteralExpression(node.parent)) {\n            const diagnostic = createDiagnosticForNode(node.tag, Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);\n            diagnostics.add(diagnostic);\n            return resolveErrorCall(node);\n          }\n          invocationError(\n            node.tag,\n            apparentType,\n            0\n            /* Call */\n          );\n          return resolveErrorCall(node);\n        }\n        return resolveCall(\n          node,\n          callSignatures,\n          candidatesOutArray,\n          checkMode,\n          0\n          /* None */\n        );\n      }\n      function getDiagnosticHeadMessageForDecoratorResolution(node) {\n        switch (node.parent.kind) {\n          case 260:\n          case 228:\n            return Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;\n          case 166:\n            return Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;\n          case 169:\n            return Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;\n          case 171:\n          case 174:\n          case 175:\n            return Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;\n          default:\n            return Debug2.fail();\n        }\n      }\n      function resolveDecorator(node, candidatesOutArray, checkMode) {\n        const funcType = checkExpression(node.expression);\n        const apparentType = getApparentType(funcType);\n        if (isErrorType(apparentType)) {\n          return resolveErrorCall(node);\n        }\n        const callSignatures = getSignaturesOfType(\n          apparentType,\n          0\n          /* Call */\n        );\n        const numConstructSignatures = getSignaturesOfType(\n          apparentType,\n          1\n          /* Construct */\n        ).length;\n        if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) {\n          return resolveUntypedCall(node);\n        }\n        if (isPotentiallyUncalledDecorator(node, callSignatures) && !isParenthesizedExpression(node.expression)) {\n          const nodeStr = getTextOfNode(\n            node.expression,\n            /*includeTrivia*/\n            false\n          );\n          error(node, Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0, nodeStr);\n          return resolveErrorCall(node);\n        }\n        const headMessage = getDiagnosticHeadMessageForDecoratorResolution(node);\n        if (!callSignatures.length) {\n          const errorDetails = invocationErrorDetails(\n            node.expression,\n            apparentType,\n            0\n            /* Call */\n          );\n          const messageChain = chainDiagnosticMessages(errorDetails.messageChain, headMessage);\n          const diag2 = createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(node.expression), node.expression, messageChain);\n          if (errorDetails.relatedMessage) {\n            addRelatedInfo(diag2, createDiagnosticForNode(node.expression, errorDetails.relatedMessage));\n          }\n          diagnostics.add(diag2);\n          invocationErrorRecovery(apparentType, 0, diag2);\n          return resolveErrorCall(node);\n        }\n        return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0, headMessage);\n      }\n      function createSignatureForJSXIntrinsic(node, result) {\n        const namespace = getJsxNamespaceAt(node);\n        const exports = namespace && getExportsOfSymbol(namespace);\n        const typeSymbol = exports && getSymbol2(\n          exports,\n          JsxNames.Element,\n          788968\n          /* Type */\n        );\n        const returnNode = typeSymbol && nodeBuilder.symbolToEntityName(typeSymbol, 788968, node);\n        const declaration = factory.createFunctionTypeNode(\n          /*typeParameters*/\n          void 0,\n          [factory.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotdotdot*/\n            void 0,\n            \"props\",\n            /*questionMark*/\n            void 0,\n            nodeBuilder.typeToTypeNode(result, node)\n          )],\n          returnNode ? factory.createTypeReferenceNode(\n            returnNode,\n            /*typeArguments*/\n            void 0\n          ) : factory.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          )\n        );\n        const parameterSymbol = createSymbol(1, \"props\");\n        parameterSymbol.links.type = result;\n        return createSignature(\n          declaration,\n          /*typeParameters*/\n          void 0,\n          /*thisParameter*/\n          void 0,\n          [parameterSymbol],\n          typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType,\n          /*returnTypePredicate*/\n          void 0,\n          1,\n          0\n          /* None */\n        );\n      }\n      function resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode) {\n        if (isJsxIntrinsicIdentifier(node.tagName)) {\n          const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node);\n          const fakeSignature = createSignatureForJSXIntrinsic(node, result);\n          checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType(\n            node.attributes,\n            getEffectiveFirstArgumentForJsxSignature(fakeSignature, node),\n            /*inferenceContext*/\n            void 0,\n            0\n            /* Normal */\n          ), result, node.tagName, node.attributes);\n          if (length(node.typeArguments)) {\n            forEach(node.typeArguments, checkSourceElement);\n            diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), node.typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, 0, length(node.typeArguments)));\n          }\n          return fakeSignature;\n        }\n        const exprTypes = checkExpression(node.tagName);\n        const apparentType = getApparentType(exprTypes);\n        if (isErrorType(apparentType)) {\n          return resolveErrorCall(node);\n        }\n        const signatures = getUninstantiatedJsxSignaturesOfType(exprTypes, node);\n        if (isUntypedFunctionCall(\n          exprTypes,\n          apparentType,\n          signatures.length,\n          /*constructSignatures*/\n          0\n        )) {\n          return resolveUntypedCall(node);\n        }\n        if (signatures.length === 0) {\n          error(node.tagName, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node.tagName));\n          return resolveErrorCall(node);\n        }\n        return resolveCall(\n          node,\n          signatures,\n          candidatesOutArray,\n          checkMode,\n          0\n          /* None */\n        );\n      }\n      function isPotentiallyUncalledDecorator(decorator, signatures) {\n        return signatures.length && every(signatures, (signature) => signature.minArgumentCount === 0 && !signatureHasRestParameter(signature) && signature.parameters.length < getDecoratorArgumentCount(decorator, signature));\n      }\n      function resolveSignature(node, candidatesOutArray, checkMode) {\n        switch (node.kind) {\n          case 210:\n            return resolveCallExpression(node, candidatesOutArray, checkMode);\n          case 211:\n            return resolveNewExpression(node, candidatesOutArray, checkMode);\n          case 212:\n            return resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode);\n          case 167:\n            return resolveDecorator(node, candidatesOutArray, checkMode);\n          case 283:\n          case 282:\n            return resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode);\n        }\n        throw Debug2.assertNever(node, \"Branch in 'resolveSignature' should be unreachable.\");\n      }\n      function getResolvedSignature(node, candidatesOutArray, checkMode) {\n        const links = getNodeLinks(node);\n        const cached = links.resolvedSignature;\n        if (cached && cached !== resolvingSignature && !candidatesOutArray) {\n          return cached;\n        }\n        links.resolvedSignature = resolvingSignature;\n        const result = resolveSignature(\n          node,\n          candidatesOutArray,\n          checkMode || 0\n          /* Normal */\n        );\n        if (result !== resolvingSignature) {\n          links.resolvedSignature = flowLoopStart === flowLoopCount ? result : cached;\n        }\n        return result;\n      }\n      function isJSConstructor(node) {\n        var _a22;\n        if (!node || !isInJSFile(node)) {\n          return false;\n        }\n        const func = isFunctionDeclaration(node) || isFunctionExpression(node) ? node : (isVariableDeclaration(node) || isPropertyAssignment(node)) && node.initializer && isFunctionExpression(node.initializer) ? node.initializer : void 0;\n        if (func) {\n          if (getJSDocClassTag(node))\n            return true;\n          if (isPropertyAssignment(walkUpParenthesizedExpressions(func.parent)))\n            return false;\n          const symbol = getSymbolOfDeclaration(func);\n          return !!((_a22 = symbol == null ? void 0 : symbol.members) == null ? void 0 : _a22.size);\n        }\n        return false;\n      }\n      function mergeJSSymbols(target, source) {\n        var _a22, _b3;\n        if (source) {\n          const links = getSymbolLinks(source);\n          if (!links.inferredClassSymbol || !links.inferredClassSymbol.has(getSymbolId(target))) {\n            const inferred = isTransientSymbol(target) ? target : cloneSymbol(target);\n            inferred.exports = inferred.exports || createSymbolTable();\n            inferred.members = inferred.members || createSymbolTable();\n            inferred.flags |= source.flags & 32;\n            if ((_a22 = source.exports) == null ? void 0 : _a22.size) {\n              mergeSymbolTable(inferred.exports, source.exports);\n            }\n            if ((_b3 = source.members) == null ? void 0 : _b3.size) {\n              mergeSymbolTable(inferred.members, source.members);\n            }\n            (links.inferredClassSymbol || (links.inferredClassSymbol = /* @__PURE__ */ new Map())).set(getSymbolId(inferred), inferred);\n            return inferred;\n          }\n          return links.inferredClassSymbol.get(getSymbolId(target));\n        }\n      }\n      function getAssignedClassSymbol(decl) {\n        var _a22;\n        const assignmentSymbol = decl && getSymbolOfExpando(\n          decl,\n          /*allowDeclaration*/\n          true\n        );\n        const prototype = (_a22 = assignmentSymbol == null ? void 0 : assignmentSymbol.exports) == null ? void 0 : _a22.get(\"prototype\");\n        const init = (prototype == null ? void 0 : prototype.valueDeclaration) && getAssignedJSPrototype(prototype.valueDeclaration);\n        return init ? getSymbolOfDeclaration(init) : void 0;\n      }\n      function getSymbolOfExpando(node, allowDeclaration) {\n        if (!node.parent) {\n          return void 0;\n        }\n        let name;\n        let decl;\n        if (isVariableDeclaration(node.parent) && node.parent.initializer === node) {\n          if (!isInJSFile(node) && !(isVarConst(node.parent) && isFunctionLikeDeclaration(node))) {\n            return void 0;\n          }\n          name = node.parent.name;\n          decl = node.parent;\n        } else if (isBinaryExpression(node.parent)) {\n          const parentNode = node.parent;\n          const parentNodeOperator = node.parent.operatorToken.kind;\n          if (parentNodeOperator === 63 && (allowDeclaration || parentNode.right === node)) {\n            name = parentNode.left;\n            decl = name;\n          } else if (parentNodeOperator === 56 || parentNodeOperator === 60) {\n            if (isVariableDeclaration(parentNode.parent) && parentNode.parent.initializer === parentNode) {\n              name = parentNode.parent.name;\n              decl = parentNode.parent;\n            } else if (isBinaryExpression(parentNode.parent) && parentNode.parent.operatorToken.kind === 63 && (allowDeclaration || parentNode.parent.right === parentNode)) {\n              name = parentNode.parent.left;\n              decl = name;\n            }\n            if (!name || !isBindableStaticNameExpression(name) || !isSameEntityName(name, parentNode.left)) {\n              return void 0;\n            }\n          }\n        } else if (allowDeclaration && isFunctionDeclaration(node)) {\n          name = node.name;\n          decl = node;\n        }\n        if (!decl || !name || !allowDeclaration && !getExpandoInitializer(node, isPrototypeAccess(name))) {\n          return void 0;\n        }\n        return getSymbolOfNode(decl);\n      }\n      function getAssignedJSPrototype(node) {\n        if (!node.parent) {\n          return false;\n        }\n        let parent2 = node.parent;\n        while (parent2 && parent2.kind === 208) {\n          parent2 = parent2.parent;\n        }\n        if (parent2 && isBinaryExpression(parent2) && isPrototypeAccess(parent2.left) && parent2.operatorToken.kind === 63) {\n          const right = getInitializerOfBinaryExpression(parent2);\n          return isObjectLiteralExpression(right) && right;\n        }\n      }\n      function checkCallExpression(node, checkMode) {\n        var _a22, _b3, _c;\n        checkGrammarTypeArguments(node, node.typeArguments);\n        const signature = getResolvedSignature(\n          node,\n          /*candidatesOutArray*/\n          void 0,\n          checkMode\n        );\n        if (signature === resolvingSignature) {\n          return silentNeverType;\n        }\n        checkDeprecatedSignature(signature, node);\n        if (node.expression.kind === 106) {\n          return voidType;\n        }\n        if (node.kind === 211) {\n          const declaration = signature.declaration;\n          if (declaration && declaration.kind !== 173 && declaration.kind !== 177 && declaration.kind !== 182 && !(isJSDocSignature(declaration) && ((_b3 = (_a22 = getJSDocRoot(declaration)) == null ? void 0 : _a22.parent) == null ? void 0 : _b3.kind) === 173) && !isJSDocConstructSignature(declaration) && !isJSConstructor(declaration)) {\n            if (noImplicitAny) {\n              error(node, Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type);\n            }\n            return anyType;\n          }\n        }\n        if (isInJSFile(node) && getEmitModuleResolutionKind(compilerOptions) !== 100 && isCommonJsRequire(node)) {\n          return resolveExternalModuleTypeByLiteral(node.arguments[0]);\n        }\n        const returnType = getReturnTypeOfSignature(signature);\n        if (returnType.flags & 12288 && isSymbolOrSymbolForCall(node)) {\n          return getESSymbolLikeTypeForNode(walkUpParenthesizedExpressions(node.parent));\n        }\n        if (node.kind === 210 && !node.questionDotToken && node.parent.kind === 241 && returnType.flags & 16384 && getTypePredicateOfSignature(signature)) {\n          if (!isDottedName(node.expression)) {\n            error(node.expression, Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);\n          } else if (!getEffectsSignature(node)) {\n            const diagnostic = error(node.expression, Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);\n            getTypeOfDottedName(node.expression, diagnostic);\n          }\n        }\n        if (isInJSFile(node)) {\n          const jsSymbol = getSymbolOfExpando(\n            node,\n            /*allowDeclaration*/\n            false\n          );\n          if ((_c = jsSymbol == null ? void 0 : jsSymbol.exports) == null ? void 0 : _c.size) {\n            const jsAssignmentType = createAnonymousType(jsSymbol, jsSymbol.exports, emptyArray, emptyArray, emptyArray);\n            jsAssignmentType.objectFlags |= 4096;\n            return getIntersectionType([returnType, jsAssignmentType]);\n          }\n        }\n        return returnType;\n      }\n      function checkDeprecatedSignature(signature, node) {\n        if (signature.declaration && signature.declaration.flags & 268435456) {\n          const suggestionNode = getDeprecatedSuggestionNode(node);\n          const name = tryGetPropertyAccessOrIdentifierToString(getInvokedExpression(node));\n          addDeprecatedSuggestionWithSignature(suggestionNode, signature.declaration, name, signatureToString(signature));\n        }\n      }\n      function getDeprecatedSuggestionNode(node) {\n        node = skipParentheses(node);\n        switch (node.kind) {\n          case 210:\n          case 167:\n          case 211:\n            return getDeprecatedSuggestionNode(node.expression);\n          case 212:\n            return getDeprecatedSuggestionNode(node.tag);\n          case 283:\n          case 282:\n            return getDeprecatedSuggestionNode(node.tagName);\n          case 209:\n            return node.argumentExpression;\n          case 208:\n            return node.name;\n          case 180:\n            const typeReference = node;\n            return isQualifiedName(typeReference.typeName) ? typeReference.typeName.right : typeReference;\n          default:\n            return node;\n        }\n      }\n      function isSymbolOrSymbolForCall(node) {\n        if (!isCallExpression(node))\n          return false;\n        let left = node.expression;\n        if (isPropertyAccessExpression(left) && left.name.escapedText === \"for\") {\n          left = left.expression;\n        }\n        if (!isIdentifier(left) || left.escapedText !== \"Symbol\") {\n          return false;\n        }\n        const globalESSymbol = getGlobalESSymbolConstructorSymbol(\n          /*reportErrors*/\n          false\n        );\n        if (!globalESSymbol) {\n          return false;\n        }\n        return globalESSymbol === resolveName(\n          left,\n          \"Symbol\",\n          111551,\n          /*nameNotFoundMessage*/\n          void 0,\n          /*nameArg*/\n          void 0,\n          /*isUse*/\n          false\n        );\n      }\n      function checkImportCallExpression(node) {\n        checkGrammarImportCallExpression(node);\n        if (node.arguments.length === 0) {\n          return createPromiseReturnType(node, anyType);\n        }\n        const specifier = node.arguments[0];\n        const specifierType = checkExpressionCached(specifier);\n        const optionsType = node.arguments.length > 1 ? checkExpressionCached(node.arguments[1]) : void 0;\n        for (let i = 2; i < node.arguments.length; ++i) {\n          checkExpressionCached(node.arguments[i]);\n        }\n        if (specifierType.flags & 32768 || specifierType.flags & 65536 || !isTypeAssignableTo(specifierType, stringType)) {\n          error(specifier, Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0, typeToString(specifierType));\n        }\n        if (optionsType) {\n          const importCallOptionsType = getGlobalImportCallOptionsType(\n            /*reportErrors*/\n            true\n          );\n          if (importCallOptionsType !== emptyObjectType) {\n            checkTypeAssignableTo(optionsType, getNullableType(\n              importCallOptionsType,\n              32768\n              /* Undefined */\n            ), node.arguments[1]);\n          }\n        }\n        const moduleSymbol = resolveExternalModuleName(node, specifier);\n        if (moduleSymbol) {\n          const esModuleSymbol = resolveESModuleSymbol(\n            moduleSymbol,\n            specifier,\n            /*dontRecursivelyResolve*/\n            true,\n            /*suppressUsageError*/\n            false\n          );\n          if (esModuleSymbol) {\n            return createPromiseReturnType(\n              node,\n              getTypeWithSyntheticDefaultOnly(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier) || getTypeWithSyntheticDefaultImportType(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier)\n            );\n          }\n        }\n        return createPromiseReturnType(node, anyType);\n      }\n      function createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol) {\n        const memberTable = createSymbolTable();\n        const newSymbol = createSymbol(\n          2097152,\n          \"default\"\n          /* Default */\n        );\n        newSymbol.parent = originalSymbol;\n        newSymbol.links.nameType = getStringLiteralType(\"default\");\n        newSymbol.links.aliasTarget = resolveSymbol(symbol);\n        memberTable.set(\"default\", newSymbol);\n        return createAnonymousType(anonymousSymbol, memberTable, emptyArray, emptyArray, emptyArray);\n      }\n      function getTypeWithSyntheticDefaultOnly(type, symbol, originalSymbol, moduleSpecifier) {\n        const hasDefaultOnly = isOnlyImportedAsDefault(moduleSpecifier);\n        if (hasDefaultOnly && type && !isErrorType(type)) {\n          const synthType = type;\n          if (!synthType.defaultOnlyType) {\n            const type2 = createDefaultPropertyWrapperForModule(symbol, originalSymbol);\n            synthType.defaultOnlyType = type2;\n          }\n          return synthType.defaultOnlyType;\n        }\n        return void 0;\n      }\n      function getTypeWithSyntheticDefaultImportType(type, symbol, originalSymbol, moduleSpecifier) {\n        var _a22;\n        if (allowSyntheticDefaultImports && type && !isErrorType(type)) {\n          const synthType = type;\n          if (!synthType.syntheticType) {\n            const file = (_a22 = originalSymbol.declarations) == null ? void 0 : _a22.find(isSourceFile);\n            const hasSyntheticDefault = canHaveSyntheticDefault(\n              file,\n              originalSymbol,\n              /*dontResolveAlias*/\n              false,\n              moduleSpecifier\n            );\n            if (hasSyntheticDefault) {\n              const anonymousSymbol = createSymbol(\n                2048,\n                \"__type\"\n                /* Type */\n              );\n              const defaultContainingObject = createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol);\n              anonymousSymbol.links.type = defaultContainingObject;\n              synthType.syntheticType = isValidSpreadType(type) ? getSpreadType(\n                type,\n                defaultContainingObject,\n                anonymousSymbol,\n                /*objectFlags*/\n                0,\n                /*readonly*/\n                false\n              ) : defaultContainingObject;\n            } else {\n              synthType.syntheticType = type;\n            }\n          }\n          return synthType.syntheticType;\n        }\n        return type;\n      }\n      function isCommonJsRequire(node) {\n        if (!isRequireCall(\n          node,\n          /*checkArgumentIsStringLiteralLike*/\n          true\n        )) {\n          return false;\n        }\n        if (!isIdentifier(node.expression))\n          return Debug2.fail();\n        const resolvedRequire = resolveName(\n          node.expression,\n          node.expression.escapedText,\n          111551,\n          /*nameNotFoundMessage*/\n          void 0,\n          /*nameArg*/\n          void 0,\n          /*isUse*/\n          true\n        );\n        if (resolvedRequire === requireSymbol) {\n          return true;\n        }\n        if (resolvedRequire.flags & 2097152) {\n          return false;\n        }\n        const targetDeclarationKind = resolvedRequire.flags & 16 ? 259 : resolvedRequire.flags & 3 ? 257 : 0;\n        if (targetDeclarationKind !== 0) {\n          const decl = getDeclarationOfKind(resolvedRequire, targetDeclarationKind);\n          return !!decl && !!(decl.flags & 16777216);\n        }\n        return false;\n      }\n      function checkTaggedTemplateExpression(node) {\n        if (!checkGrammarTaggedTemplateChain(node))\n          checkGrammarTypeArguments(node, node.typeArguments);\n        if (languageVersion < 2) {\n          checkExternalEmitHelpers(\n            node,\n            262144\n            /* MakeTemplateObject */\n          );\n        }\n        const signature = getResolvedSignature(node);\n        checkDeprecatedSignature(signature, node);\n        return getReturnTypeOfSignature(signature);\n      }\n      function checkAssertion(node) {\n        if (node.kind === 213) {\n          const file = getSourceFileOfNode(node);\n          if (file && fileExtensionIsOneOf(file.fileName, [\n            \".cts\",\n            \".mts\"\n            /* Mts */\n          ])) {\n            grammarErrorOnNode(node, Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead);\n          }\n        }\n        return checkAssertionWorker(node, node.type, node.expression);\n      }\n      function isValidConstAssertionArgument(node) {\n        switch (node.kind) {\n          case 10:\n          case 14:\n          case 8:\n          case 9:\n          case 110:\n          case 95:\n          case 206:\n          case 207:\n          case 225:\n            return true;\n          case 214:\n            return isValidConstAssertionArgument(node.expression);\n          case 221:\n            const op = node.operator;\n            const arg = node.operand;\n            return op === 40 && (arg.kind === 8 || arg.kind === 9) || op === 39 && arg.kind === 8;\n          case 208:\n          case 209:\n            const expr = skipParentheses(node.expression);\n            const symbol = isEntityNameExpression(expr) ? resolveEntityName(\n              expr,\n              111551,\n              /*ignoreErrors*/\n              true\n            ) : void 0;\n            return !!(symbol && symbol.flags & 384);\n        }\n        return false;\n      }\n      function checkAssertionWorker(errNode, type, expression, checkMode) {\n        let exprType = checkExpression(expression, checkMode);\n        if (isConstTypeReference(type)) {\n          if (!isValidConstAssertionArgument(expression)) {\n            error(expression, Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals);\n          }\n          return getRegularTypeOfLiteralType(exprType);\n        }\n        checkSourceElement(type);\n        exprType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(exprType));\n        const targetType = getTypeFromTypeNode(type);\n        if (!isErrorType(targetType)) {\n          addLazyDiagnostic(() => {\n            const widenedType = getWidenedType(exprType);\n            if (!isTypeComparableTo(targetType, widenedType)) {\n              checkTypeComparableTo(\n                exprType,\n                targetType,\n                errNode,\n                Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first\n              );\n            }\n          });\n        }\n        return targetType;\n      }\n      function checkNonNullChain(node) {\n        const leftType = checkExpression(node.expression);\n        const nonOptionalType = getOptionalExpressionType(leftType, node.expression);\n        return propagateOptionalTypeMarker(getNonNullableType(nonOptionalType), node, nonOptionalType !== leftType);\n      }\n      function checkNonNullAssertion(node) {\n        return node.flags & 32 ? checkNonNullChain(node) : getNonNullableType(checkExpression(node.expression));\n      }\n      function checkExpressionWithTypeArguments(node) {\n        checkGrammarExpressionWithTypeArguments(node);\n        forEach(node.typeArguments, checkSourceElement);\n        const exprType = node.kind === 230 ? checkExpression(node.expression) : isThisIdentifier(node.exprName) ? checkThisExpression(node.exprName) : checkExpression(node.exprName);\n        return getInstantiationExpressionType(exprType, node);\n      }\n      function getInstantiationExpressionType(exprType, node) {\n        const typeArguments = node.typeArguments;\n        if (exprType === silentNeverType || isErrorType(exprType) || !some(typeArguments)) {\n          return exprType;\n        }\n        let hasSomeApplicableSignature = false;\n        let nonApplicableType;\n        const result = getInstantiatedType(exprType);\n        const errorType2 = hasSomeApplicableSignature ? nonApplicableType : exprType;\n        if (errorType2) {\n          diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable, typeToString(errorType2)));\n        }\n        return result;\n        function getInstantiatedType(type) {\n          let hasSignatures = false;\n          let hasApplicableSignature = false;\n          const result2 = getInstantiatedTypePart(type);\n          hasSomeApplicableSignature || (hasSomeApplicableSignature = hasApplicableSignature);\n          if (hasSignatures && !hasApplicableSignature) {\n            nonApplicableType != null ? nonApplicableType : nonApplicableType = type;\n          }\n          return result2;\n          function getInstantiatedTypePart(type2) {\n            if (type2.flags & 524288) {\n              const resolved = resolveStructuredTypeMembers(type2);\n              const callSignatures = getInstantiatedSignatures(resolved.callSignatures);\n              const constructSignatures = getInstantiatedSignatures(resolved.constructSignatures);\n              hasSignatures || (hasSignatures = resolved.callSignatures.length !== 0 || resolved.constructSignatures.length !== 0);\n              hasApplicableSignature || (hasApplicableSignature = callSignatures.length !== 0 || constructSignatures.length !== 0);\n              if (callSignatures !== resolved.callSignatures || constructSignatures !== resolved.constructSignatures) {\n                const result3 = createAnonymousType(void 0, resolved.members, callSignatures, constructSignatures, resolved.indexInfos);\n                result3.objectFlags |= 8388608;\n                result3.node = node;\n                return result3;\n              }\n            } else if (type2.flags & 58982400) {\n              const constraint = getBaseConstraintOfType(type2);\n              if (constraint) {\n                const instantiated = getInstantiatedTypePart(constraint);\n                if (instantiated !== constraint) {\n                  return instantiated;\n                }\n              }\n            } else if (type2.flags & 1048576) {\n              return mapType(type2, getInstantiatedType);\n            } else if (type2.flags & 2097152) {\n              return getIntersectionType(sameMap(type2.types, getInstantiatedTypePart));\n            }\n            return type2;\n          }\n        }\n        function getInstantiatedSignatures(signatures) {\n          const applicableSignatures = filter(signatures, (sig) => !!sig.typeParameters && hasCorrectTypeArgumentArity(sig, typeArguments));\n          return sameMap(applicableSignatures, (sig) => {\n            const typeArgumentTypes = checkTypeArguments(\n              sig,\n              typeArguments,\n              /*reportErrors*/\n              true\n            );\n            return typeArgumentTypes ? getSignatureInstantiation(sig, typeArgumentTypes, isInJSFile(sig.declaration)) : sig;\n          });\n        }\n      }\n      function checkSatisfiesExpression(node) {\n        checkSourceElement(node.type);\n        return checkSatisfiesExpressionWorker(node.expression, node.type);\n      }\n      function checkSatisfiesExpressionWorker(expression, target, checkMode) {\n        const exprType = checkExpression(expression, checkMode);\n        const targetType = getTypeFromTypeNode(target);\n        if (isErrorType(targetType)) {\n          return targetType;\n        }\n        checkTypeAssignableToAndOptionallyElaborate(exprType, targetType, target, expression, Diagnostics.Type_0_does_not_satisfy_the_expected_type_1);\n        return exprType;\n      }\n      function checkMetaProperty(node) {\n        checkGrammarMetaProperty(node);\n        if (node.keywordToken === 103) {\n          return checkNewTargetMetaProperty(node);\n        }\n        if (node.keywordToken === 100) {\n          return checkImportMetaProperty(node);\n        }\n        return Debug2.assertNever(node.keywordToken);\n      }\n      function checkMetaPropertyKeyword(node) {\n        switch (node.keywordToken) {\n          case 100:\n            return getGlobalImportMetaExpressionType();\n          case 103:\n            const type = checkNewTargetMetaProperty(node);\n            return isErrorType(type) ? errorType : createNewTargetExpressionType(type);\n          default:\n            Debug2.assertNever(node.keywordToken);\n        }\n      }\n      function checkNewTargetMetaProperty(node) {\n        const container = getNewTargetContainer(node);\n        if (!container) {\n          error(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, \"new.target\");\n          return errorType;\n        } else if (container.kind === 173) {\n          const symbol = getSymbolOfDeclaration(container.parent);\n          return getTypeOfSymbol(symbol);\n        } else {\n          const symbol = getSymbolOfDeclaration(container);\n          return getTypeOfSymbol(symbol);\n        }\n      }\n      function checkImportMetaProperty(node) {\n        if (moduleKind === 100 || moduleKind === 199) {\n          if (getSourceFileOfNode(node).impliedNodeFormat !== 99) {\n            error(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output);\n          }\n        } else if (moduleKind < 6 && moduleKind !== 4) {\n          error(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);\n        }\n        const file = getSourceFileOfNode(node);\n        Debug2.assert(!!(file.flags & 4194304), \"Containing file is missing import meta node flag.\");\n        return node.name.escapedText === \"meta\" ? getGlobalImportMetaType() : errorType;\n      }\n      function getTypeOfParameter(symbol) {\n        const type = getTypeOfSymbol(symbol);\n        if (strictNullChecks) {\n          const declaration = symbol.valueDeclaration;\n          if (declaration && hasInitializer(declaration)) {\n            return getOptionalType(type);\n          }\n        }\n        return type;\n      }\n      function getTupleElementLabel(d) {\n        Debug2.assert(isIdentifier(d.name));\n        return d.name.escapedText;\n      }\n      function getParameterNameAtPosition(signature, pos, overrideRestType) {\n        const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n        if (pos < paramCount) {\n          return signature.parameters[pos].escapedName;\n        }\n        const restParameter = signature.parameters[paramCount] || unknownSymbol;\n        const restType = overrideRestType || getTypeOfSymbol(restParameter);\n        if (isTupleType(restType)) {\n          const associatedNames = restType.target.labeledElementDeclarations;\n          const index = pos - paramCount;\n          return associatedNames && getTupleElementLabel(associatedNames[index]) || restParameter.escapedName + \"_\" + index;\n        }\n        return restParameter.escapedName;\n      }\n      function getParameterIdentifierNameAtPosition(signature, pos) {\n        var _a22;\n        if (((_a22 = signature.declaration) == null ? void 0 : _a22.kind) === 320) {\n          return void 0;\n        }\n        const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n        if (pos < paramCount) {\n          const param = signature.parameters[pos];\n          return isParameterDeclarationWithIdentifierName(param) ? [param.escapedName, false] : void 0;\n        }\n        const restParameter = signature.parameters[paramCount] || unknownSymbol;\n        if (!isParameterDeclarationWithIdentifierName(restParameter)) {\n          return void 0;\n        }\n        const restType = getTypeOfSymbol(restParameter);\n        if (isTupleType(restType)) {\n          const associatedNames = restType.target.labeledElementDeclarations;\n          const index = pos - paramCount;\n          const associatedName = associatedNames == null ? void 0 : associatedNames[index];\n          const isRestTupleElement = !!(associatedName == null ? void 0 : associatedName.dotDotDotToken);\n          return associatedName ? [\n            getTupleElementLabel(associatedName),\n            isRestTupleElement\n          ] : void 0;\n        }\n        if (pos === paramCount) {\n          return [restParameter.escapedName, true];\n        }\n        return void 0;\n      }\n      function isParameterDeclarationWithIdentifierName(symbol) {\n        return symbol.valueDeclaration && isParameter(symbol.valueDeclaration) && isIdentifier(symbol.valueDeclaration.name);\n      }\n      function isValidDeclarationForTupleLabel(d) {\n        return d.kind === 199 || isParameter(d) && d.name && isIdentifier(d.name);\n      }\n      function getNameableDeclarationAtPosition(signature, pos) {\n        const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n        if (pos < paramCount) {\n          const decl = signature.parameters[pos].valueDeclaration;\n          return decl && isValidDeclarationForTupleLabel(decl) ? decl : void 0;\n        }\n        const restParameter = signature.parameters[paramCount] || unknownSymbol;\n        const restType = getTypeOfSymbol(restParameter);\n        if (isTupleType(restType)) {\n          const associatedNames = restType.target.labeledElementDeclarations;\n          const index = pos - paramCount;\n          return associatedNames && associatedNames[index];\n        }\n        return restParameter.valueDeclaration && isValidDeclarationForTupleLabel(restParameter.valueDeclaration) ? restParameter.valueDeclaration : void 0;\n      }\n      function getTypeAtPosition(signature, pos) {\n        return tryGetTypeAtPosition(signature, pos) || anyType;\n      }\n      function tryGetTypeAtPosition(signature, pos) {\n        const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n        if (pos < paramCount) {\n          return getTypeOfParameter(signature.parameters[pos]);\n        }\n        if (signatureHasRestParameter(signature)) {\n          const restType = getTypeOfSymbol(signature.parameters[paramCount]);\n          const index = pos - paramCount;\n          if (!isTupleType(restType) || restType.target.hasRestElement || index < restType.target.fixedLength) {\n            return getIndexedAccessType(restType, getNumberLiteralType(index));\n          }\n        }\n        return void 0;\n      }\n      function getRestTypeAtPosition(source, pos) {\n        const parameterCount = getParameterCount(source);\n        const minArgumentCount = getMinArgumentCount(source);\n        const restType = getEffectiveRestType(source);\n        if (restType && pos >= parameterCount - 1) {\n          return pos === parameterCount - 1 ? restType : createArrayType(getIndexedAccessType(restType, numberType));\n        }\n        const types = [];\n        const flags = [];\n        const names = [];\n        for (let i = pos; i < parameterCount; i++) {\n          if (!restType || i < parameterCount - 1) {\n            types.push(getTypeAtPosition(source, i));\n            flags.push(\n              i < minArgumentCount ? 1 : 2\n              /* Optional */\n            );\n          } else {\n            types.push(restType);\n            flags.push(\n              8\n              /* Variadic */\n            );\n          }\n          const name = getNameableDeclarationAtPosition(source, i);\n          if (name) {\n            names.push(name);\n          }\n        }\n        return createTupleType(\n          types,\n          flags,\n          /*readonly*/\n          false,\n          length(names) === length(types) ? names : void 0\n        );\n      }\n      function getParameterCount(signature) {\n        const length2 = signature.parameters.length;\n        if (signatureHasRestParameter(signature)) {\n          const restType = getTypeOfSymbol(signature.parameters[length2 - 1]);\n          if (isTupleType(restType)) {\n            return length2 + restType.target.fixedLength - (restType.target.hasRestElement ? 0 : 1);\n          }\n        }\n        return length2;\n      }\n      function getMinArgumentCount(signature, flags) {\n        const strongArityForUntypedJS = flags & 1;\n        const voidIsNonOptional = flags & 2;\n        if (voidIsNonOptional || signature.resolvedMinArgumentCount === void 0) {\n          let minArgumentCount;\n          if (signatureHasRestParameter(signature)) {\n            const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n            if (isTupleType(restType)) {\n              const firstOptionalIndex = findIndex(restType.target.elementFlags, (f) => !(f & 1));\n              const requiredCount = firstOptionalIndex < 0 ? restType.target.fixedLength : firstOptionalIndex;\n              if (requiredCount > 0) {\n                minArgumentCount = signature.parameters.length - 1 + requiredCount;\n              }\n            }\n          }\n          if (minArgumentCount === void 0) {\n            if (!strongArityForUntypedJS && signature.flags & 32) {\n              return 0;\n            }\n            minArgumentCount = signature.minArgumentCount;\n          }\n          if (voidIsNonOptional) {\n            return minArgumentCount;\n          }\n          for (let i = minArgumentCount - 1; i >= 0; i--) {\n            const type = getTypeAtPosition(signature, i);\n            if (filterType(type, acceptsVoid).flags & 131072) {\n              break;\n            }\n            minArgumentCount = i;\n          }\n          signature.resolvedMinArgumentCount = minArgumentCount;\n        }\n        return signature.resolvedMinArgumentCount;\n      }\n      function hasEffectiveRestParameter(signature) {\n        if (signatureHasRestParameter(signature)) {\n          const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n          return !isTupleType(restType) || restType.target.hasRestElement;\n        }\n        return false;\n      }\n      function getEffectiveRestType(signature) {\n        if (signatureHasRestParameter(signature)) {\n          const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n          if (!isTupleType(restType)) {\n            return restType;\n          }\n          if (restType.target.hasRestElement) {\n            return sliceTupleType(restType, restType.target.fixedLength);\n          }\n        }\n        return void 0;\n      }\n      function getNonArrayRestType(signature) {\n        const restType = getEffectiveRestType(signature);\n        return restType && !isArrayType(restType) && !isTypeAny(restType) && (getReducedType(restType).flags & 131072) === 0 ? restType : void 0;\n      }\n      function getTypeOfFirstParameterOfSignature(signature) {\n        return getTypeOfFirstParameterOfSignatureWithFallback(signature, neverType);\n      }\n      function getTypeOfFirstParameterOfSignatureWithFallback(signature, fallbackType) {\n        return signature.parameters.length > 0 ? getTypeAtPosition(signature, 0) : fallbackType;\n      }\n      function inferFromAnnotatedParameters(signature, context, inferenceContext) {\n        const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n        for (let i = 0; i < len; i++) {\n          const declaration = signature.parameters[i].valueDeclaration;\n          if (declaration.type) {\n            const typeNode = getEffectiveTypeAnnotationNode(declaration);\n            if (typeNode) {\n              inferTypes(inferenceContext.inferences, getTypeFromTypeNode(typeNode), getTypeAtPosition(context, i));\n            }\n          }\n        }\n      }\n      function assignContextualParameterTypes(signature, context) {\n        if (context.typeParameters) {\n          if (!signature.typeParameters) {\n            signature.typeParameters = context.typeParameters;\n          } else {\n            return;\n          }\n        }\n        if (context.thisParameter) {\n          const parameter = signature.thisParameter;\n          if (!parameter || parameter.valueDeclaration && !parameter.valueDeclaration.type) {\n            if (!parameter) {\n              signature.thisParameter = createSymbolWithType(\n                context.thisParameter,\n                /*type*/\n                void 0\n              );\n            }\n            assignParameterType(signature.thisParameter, getTypeOfSymbol(context.thisParameter));\n          }\n        }\n        const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n        for (let i = 0; i < len; i++) {\n          const parameter = signature.parameters[i];\n          if (!getEffectiveTypeAnnotationNode(parameter.valueDeclaration)) {\n            const contextualParameterType = tryGetTypeAtPosition(context, i);\n            assignParameterType(parameter, contextualParameterType);\n          }\n        }\n        if (signatureHasRestParameter(signature)) {\n          const parameter = last(signature.parameters);\n          if (parameter.valueDeclaration ? !getEffectiveTypeAnnotationNode(parameter.valueDeclaration) : !!(getCheckFlags(parameter) & 65536)) {\n            const contextualParameterType = getRestTypeAtPosition(context, len);\n            assignParameterType(parameter, contextualParameterType);\n          }\n        }\n      }\n      function assignNonContextualParameterTypes(signature) {\n        if (signature.thisParameter) {\n          assignParameterType(signature.thisParameter);\n        }\n        for (const parameter of signature.parameters) {\n          assignParameterType(parameter);\n        }\n      }\n      function assignParameterType(parameter, type) {\n        const links = getSymbolLinks(parameter);\n        if (!links.type) {\n          const declaration = parameter.valueDeclaration;\n          links.type = type || (declaration ? getWidenedTypeForVariableLikeDeclaration(\n            declaration,\n            /*reportErrors*/\n            true\n          ) : getTypeOfSymbol(parameter));\n          if (declaration && declaration.name.kind !== 79) {\n            if (links.type === unknownType) {\n              links.type = getTypeFromBindingPattern(declaration.name);\n            }\n            assignBindingElementTypes(declaration.name, links.type);\n          }\n        } else if (type) {\n          Debug2.assertEqual(links.type, type, \"Parameter symbol already has a cached type which differs from newly assigned type\");\n        }\n      }\n      function assignBindingElementTypes(pattern, parentType) {\n        for (const element of pattern.elements) {\n          if (!isOmittedExpression(element)) {\n            const type = getBindingElementTypeFromParentType(element, parentType);\n            if (element.name.kind === 79) {\n              getSymbolLinks(getSymbolOfDeclaration(element)).type = type;\n            } else {\n              assignBindingElementTypes(element.name, type);\n            }\n          }\n        }\n      }\n      function createClassDecoratorContextType(classType) {\n        return tryCreateTypeReference(getGlobalClassDecoratorContextType(\n          /*reportErrors*/\n          true\n        ), [classType]);\n      }\n      function createClassMethodDecoratorContextType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassMethodDecoratorContextType(\n          /*reportErrors*/\n          true\n        ), [thisType, valueType]);\n      }\n      function createClassGetterDecoratorContextType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassGetterDecoratorContextType(\n          /*reportErrors*/\n          true\n        ), [thisType, valueType]);\n      }\n      function createClassSetterDecoratorContextType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassSetterDecoratorContextType(\n          /*reportErrors*/\n          true\n        ), [thisType, valueType]);\n      }\n      function createClassAccessorDecoratorContextType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassAccessorDecoratorContextType(\n          /*reportErrors*/\n          true\n        ), [thisType, valueType]);\n      }\n      function createClassFieldDecoratorContextType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassFieldDecoratorContextType(\n          /*reportErrors*/\n          true\n        ), [thisType, valueType]);\n      }\n      function getClassMemberDecoratorContextOverrideType(nameType, isPrivate, isStatic2) {\n        const key = `${isPrivate ? \"p\" : \"P\"}${isStatic2 ? \"s\" : \"S\"}${nameType.id}`;\n        let overrideType = decoratorContextOverrideTypeCache.get(key);\n        if (!overrideType) {\n          const members = createSymbolTable();\n          members.set(\"name\", createProperty(\"name\", nameType));\n          members.set(\"private\", createProperty(\"private\", isPrivate ? trueType : falseType));\n          members.set(\"static\", createProperty(\"static\", isStatic2 ? trueType : falseType));\n          overrideType = createAnonymousType(\n            /*symbol*/\n            void 0,\n            members,\n            emptyArray,\n            emptyArray,\n            emptyArray\n          );\n          decoratorContextOverrideTypeCache.set(key, overrideType);\n        }\n        return overrideType;\n      }\n      function createClassMemberDecoratorContextTypeForNode(node, thisType, valueType) {\n        const isStatic2 = hasStaticModifier(node);\n        const isPrivate = isPrivateIdentifier(node.name);\n        const nameType = isPrivate ? getStringLiteralType(idText(node.name)) : getLiteralTypeFromPropertyName(node.name);\n        const contextType = isMethodDeclaration(node) ? createClassMethodDecoratorContextType(thisType, valueType) : isGetAccessorDeclaration(node) ? createClassGetterDecoratorContextType(thisType, valueType) : isSetAccessorDeclaration(node) ? createClassSetterDecoratorContextType(thisType, valueType) : isAutoAccessorPropertyDeclaration(node) ? createClassAccessorDecoratorContextType(thisType, valueType) : isPropertyDeclaration(node) ? createClassFieldDecoratorContextType(thisType, valueType) : Debug2.failBadSyntaxKind(node);\n        const overrideType = getClassMemberDecoratorContextOverrideType(nameType, isPrivate, isStatic2);\n        return getIntersectionType([contextType, overrideType]);\n      }\n      function createClassAccessorDecoratorTargetType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassAccessorDecoratorTargetType(\n          /*reportError*/\n          true\n        ), [thisType, valueType]);\n      }\n      function createClassAccessorDecoratorResultType(thisType, valueType) {\n        return tryCreateTypeReference(getGlobalClassAccessorDecoratorResultType(\n          /*reportError*/\n          true\n        ), [thisType, valueType]);\n      }\n      function createClassFieldDecoratorInitializerMutatorType(thisType, valueType) {\n        const thisParam = createParameter(\"this\", thisType);\n        const valueParam = createParameter(\"value\", valueType);\n        return createFunctionType(\n          /*typeParameters*/\n          void 0,\n          thisParam,\n          [valueParam],\n          valueType,\n          /*typePredicate*/\n          void 0,\n          1\n        );\n      }\n      function createESDecoratorCallSignature(targetType, contextType, nonOptionalReturnType) {\n        const targetParam = createParameter(\"target\", targetType);\n        const contextParam = createParameter(\"context\", contextType);\n        const returnType = getUnionType([nonOptionalReturnType, voidType]);\n        return createCallSignature(\n          /*typeParameters*/\n          void 0,\n          /*thisParameter*/\n          void 0,\n          [targetParam, contextParam],\n          returnType\n        );\n      }\n      function getESDecoratorCallSignature(decorator) {\n        const { parent: parent2 } = decorator;\n        const links = getNodeLinks(parent2);\n        if (!links.decoratorSignature) {\n          links.decoratorSignature = anySignature;\n          switch (parent2.kind) {\n            case 260:\n            case 228: {\n              const node = parent2;\n              const targetType = getTypeOfSymbol(getSymbolOfDeclaration(node));\n              const contextType = createClassDecoratorContextType(targetType);\n              links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, targetType);\n              break;\n            }\n            case 171:\n            case 174:\n            case 175: {\n              const node = parent2;\n              if (!isClassLike(node.parent))\n                break;\n              const valueType = isMethodDeclaration(node) ? getOrCreateTypeFromSignature(getSignatureFromDeclaration(node)) : getTypeOfNode(node);\n              const thisType = hasStaticModifier(node) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent)) : getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node.parent));\n              const targetType = isGetAccessorDeclaration(node) ? createGetterFunctionType(valueType) : isSetAccessorDeclaration(node) ? createSetterFunctionType(valueType) : valueType;\n              const contextType = createClassMemberDecoratorContextTypeForNode(node, thisType, valueType);\n              const returnType = isGetAccessorDeclaration(node) ? createGetterFunctionType(valueType) : isSetAccessorDeclaration(node) ? createSetterFunctionType(valueType) : valueType;\n              links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, returnType);\n              break;\n            }\n            case 169: {\n              const node = parent2;\n              if (!isClassLike(node.parent))\n                break;\n              const valueType = getTypeOfNode(node);\n              const thisType = hasStaticModifier(node) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent)) : getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node.parent));\n              const targetType = hasAccessorModifier(node) ? createClassAccessorDecoratorTargetType(thisType, valueType) : undefinedType;\n              const contextType = createClassMemberDecoratorContextTypeForNode(node, thisType, valueType);\n              const returnType = hasAccessorModifier(node) ? createClassAccessorDecoratorResultType(thisType, valueType) : createClassFieldDecoratorInitializerMutatorType(thisType, valueType);\n              links.decoratorSignature = createESDecoratorCallSignature(targetType, contextType, returnType);\n              break;\n            }\n          }\n        }\n        return links.decoratorSignature === anySignature ? void 0 : links.decoratorSignature;\n      }\n      function getLegacyDecoratorCallSignature(decorator) {\n        const { parent: parent2 } = decorator;\n        const links = getNodeLinks(parent2);\n        if (!links.decoratorSignature) {\n          links.decoratorSignature = anySignature;\n          switch (parent2.kind) {\n            case 260:\n            case 228: {\n              const node = parent2;\n              const targetType = getTypeOfSymbol(getSymbolOfDeclaration(node));\n              const targetParam = createParameter(\"target\", targetType);\n              links.decoratorSignature = createCallSignature(\n                /*typeParameters*/\n                void 0,\n                /*thisParameter*/\n                void 0,\n                [targetParam],\n                getUnionType([targetType, voidType])\n              );\n              break;\n            }\n            case 166: {\n              const node = parent2;\n              if (!isConstructorDeclaration(node.parent) && !(isMethodDeclaration(node.parent) || isSetAccessorDeclaration(node.parent) && isClassLike(node.parent.parent))) {\n                break;\n              }\n              if (getThisParameter(node.parent) === node) {\n                break;\n              }\n              const index = getThisParameter(node.parent) ? node.parent.parameters.indexOf(node) - 1 : node.parent.parameters.indexOf(node);\n              Debug2.assert(index >= 0);\n              const targetType = isConstructorDeclaration(node.parent) ? getTypeOfSymbol(getSymbolOfDeclaration(node.parent.parent)) : getParentTypeOfClassElement(node.parent);\n              const keyType = isConstructorDeclaration(node.parent) ? undefinedType : getClassElementPropertyKeyType(node.parent);\n              const indexType = getNumberLiteralType(index);\n              const targetParam = createParameter(\"target\", targetType);\n              const keyParam = createParameter(\"propertyKey\", keyType);\n              const indexParam = createParameter(\"parameterIndex\", indexType);\n              links.decoratorSignature = createCallSignature(\n                /*typeParameters*/\n                void 0,\n                /*thisParameter*/\n                void 0,\n                [targetParam, keyParam, indexParam],\n                voidType\n              );\n              break;\n            }\n            case 171:\n            case 174:\n            case 175:\n            case 169: {\n              const node = parent2;\n              if (!isClassLike(node.parent))\n                break;\n              const targetType = getParentTypeOfClassElement(node);\n              const targetParam = createParameter(\"target\", targetType);\n              const keyType = getClassElementPropertyKeyType(node);\n              const keyParam = createParameter(\"propertyKey\", keyType);\n              const returnType = isPropertyDeclaration(node) ? voidType : createTypedPropertyDescriptorType(getTypeOfNode(node));\n              const hasPropDesc = languageVersion !== 0 && (!isPropertyDeclaration(parent2) || hasAccessorModifier(parent2));\n              if (hasPropDesc) {\n                const descriptorType = createTypedPropertyDescriptorType(getTypeOfNode(node));\n                const descriptorParam = createParameter(\"descriptor\", descriptorType);\n                links.decoratorSignature = createCallSignature(\n                  /*typeParameters*/\n                  void 0,\n                  /*thisParameter*/\n                  void 0,\n                  [targetParam, keyParam, descriptorParam],\n                  getUnionType([returnType, voidType])\n                );\n              } else {\n                links.decoratorSignature = createCallSignature(\n                  /*typeParameters*/\n                  void 0,\n                  /*thisParameter*/\n                  void 0,\n                  [targetParam, keyParam],\n                  getUnionType([returnType, voidType])\n                );\n              }\n              break;\n            }\n          }\n        }\n        return links.decoratorSignature === anySignature ? void 0 : links.decoratorSignature;\n      }\n      function getDecoratorCallSignature(decorator) {\n        return legacyDecorators ? getLegacyDecoratorCallSignature(decorator) : getESDecoratorCallSignature(decorator);\n      }\n      function createPromiseType(promisedType) {\n        const globalPromiseType = getGlobalPromiseType(\n          /*reportErrors*/\n          true\n        );\n        if (globalPromiseType !== emptyGenericType) {\n          promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType;\n          return createTypeReference(globalPromiseType, [promisedType]);\n        }\n        return unknownType;\n      }\n      function createPromiseLikeType(promisedType) {\n        const globalPromiseLikeType = getGlobalPromiseLikeType(\n          /*reportErrors*/\n          true\n        );\n        if (globalPromiseLikeType !== emptyGenericType) {\n          promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType;\n          return createTypeReference(globalPromiseLikeType, [promisedType]);\n        }\n        return unknownType;\n      }\n      function createPromiseReturnType(func, promisedType) {\n        const promiseType = createPromiseType(promisedType);\n        if (promiseType === unknownType) {\n          error(func, isImportCall(func) ? Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option);\n          return errorType;\n        } else if (!getGlobalPromiseConstructorSymbol(\n          /*reportErrors*/\n          true\n        )) {\n          error(func, isImportCall(func) ? Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option);\n        }\n        return promiseType;\n      }\n      function createNewTargetExpressionType(targetType) {\n        const symbol = createSymbol(0, \"NewTargetExpression\");\n        const targetPropertySymbol = createSymbol(\n          4,\n          \"target\",\n          8\n          /* Readonly */\n        );\n        targetPropertySymbol.parent = symbol;\n        targetPropertySymbol.links.type = targetType;\n        const members = createSymbolTable([targetPropertySymbol]);\n        symbol.members = members;\n        return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray);\n      }\n      function getReturnTypeFromBody(func, checkMode) {\n        if (!func.body) {\n          return errorType;\n        }\n        const functionFlags = getFunctionFlags(func);\n        const isAsync = (functionFlags & 2) !== 0;\n        const isGenerator = (functionFlags & 1) !== 0;\n        let returnType;\n        let yieldType;\n        let nextType;\n        let fallbackReturnType = voidType;\n        if (func.body.kind !== 238) {\n          returnType = checkExpressionCached(\n            func.body,\n            checkMode && checkMode & ~8\n            /* SkipGenericFunctions */\n          );\n          if (isAsync) {\n            returnType = unwrapAwaitedType(checkAwaitedType(\n              returnType,\n              /*withAlias*/\n              false,\n              /*errorNode*/\n              func,\n              Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member\n            ));\n          }\n        } else if (isGenerator) {\n          const returnTypes = checkAndAggregateReturnExpressionTypes(func, checkMode);\n          if (!returnTypes) {\n            fallbackReturnType = neverType;\n          } else if (returnTypes.length > 0) {\n            returnType = getUnionType(\n              returnTypes,\n              2\n              /* Subtype */\n            );\n          }\n          const { yieldTypes, nextTypes } = checkAndAggregateYieldOperandTypes(func, checkMode);\n          yieldType = some(yieldTypes) ? getUnionType(\n            yieldTypes,\n            2\n            /* Subtype */\n          ) : void 0;\n          nextType = some(nextTypes) ? getIntersectionType(nextTypes) : void 0;\n        } else {\n          const types = checkAndAggregateReturnExpressionTypes(func, checkMode);\n          if (!types) {\n            return functionFlags & 2 ? createPromiseReturnType(func, neverType) : neverType;\n          }\n          if (types.length === 0) {\n            return functionFlags & 2 ? createPromiseReturnType(func, voidType) : voidType;\n          }\n          returnType = getUnionType(\n            types,\n            2\n            /* Subtype */\n          );\n        }\n        if (returnType || yieldType || nextType) {\n          if (yieldType)\n            reportErrorsFromWidening(\n              func,\n              yieldType,\n              3\n              /* GeneratorYield */\n            );\n          if (returnType)\n            reportErrorsFromWidening(\n              func,\n              returnType,\n              1\n              /* FunctionReturn */\n            );\n          if (nextType)\n            reportErrorsFromWidening(\n              func,\n              nextType,\n              2\n              /* GeneratorNext */\n            );\n          if (returnType && isUnitType(returnType) || yieldType && isUnitType(yieldType) || nextType && isUnitType(nextType)) {\n            const contextualSignature = getContextualSignatureForFunctionLikeDeclaration(func);\n            const contextualType = !contextualSignature ? void 0 : contextualSignature === getSignatureFromDeclaration(func) ? isGenerator ? void 0 : returnType : instantiateContextualType(\n              getReturnTypeOfSignature(contextualSignature),\n              func,\n              /*contextFlags*/\n              void 0\n            );\n            if (isGenerator) {\n              yieldType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(yieldType, contextualType, 0, isAsync);\n              returnType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(returnType, contextualType, 1, isAsync);\n              nextType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(nextType, contextualType, 2, isAsync);\n            } else {\n              returnType = getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(returnType, contextualType, isAsync);\n            }\n          }\n          if (yieldType)\n            yieldType = getWidenedType(yieldType);\n          if (returnType)\n            returnType = getWidenedType(returnType);\n          if (nextType)\n            nextType = getWidenedType(nextType);\n        }\n        if (isGenerator) {\n          return createGeneratorReturnType(\n            yieldType || neverType,\n            returnType || fallbackReturnType,\n            nextType || getContextualIterationType(2, func) || unknownType,\n            isAsync\n          );\n        } else {\n          return isAsync ? createPromiseType(returnType || fallbackReturnType) : returnType || fallbackReturnType;\n        }\n      }\n      function createGeneratorReturnType(yieldType, returnType, nextType, isAsyncGenerator) {\n        const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver;\n        const globalGeneratorType = resolver.getGlobalGeneratorType(\n          /*reportErrors*/\n          false\n        );\n        yieldType = resolver.resolveIterationType(\n          yieldType,\n          /*errorNode*/\n          void 0\n        ) || unknownType;\n        returnType = resolver.resolveIterationType(\n          returnType,\n          /*errorNode*/\n          void 0\n        ) || unknownType;\n        nextType = resolver.resolveIterationType(\n          nextType,\n          /*errorNode*/\n          void 0\n        ) || unknownType;\n        if (globalGeneratorType === emptyGenericType) {\n          const globalType = resolver.getGlobalIterableIteratorType(\n            /*reportErrors*/\n            false\n          );\n          const iterationTypes = globalType !== emptyGenericType ? getIterationTypesOfGlobalIterableType(globalType, resolver) : void 0;\n          const iterableIteratorReturnType = iterationTypes ? iterationTypes.returnType : anyType;\n          const iterableIteratorNextType = iterationTypes ? iterationTypes.nextType : undefinedType;\n          if (isTypeAssignableTo(returnType, iterableIteratorReturnType) && isTypeAssignableTo(iterableIteratorNextType, nextType)) {\n            if (globalType !== emptyGenericType) {\n              return createTypeFromGenericGlobalType(globalType, [yieldType]);\n            }\n            resolver.getGlobalIterableIteratorType(\n              /*reportErrors*/\n              true\n            );\n            return emptyObjectType;\n          }\n          resolver.getGlobalGeneratorType(\n            /*reportErrors*/\n            true\n          );\n          return emptyObjectType;\n        }\n        return createTypeFromGenericGlobalType(globalGeneratorType, [yieldType, returnType, nextType]);\n      }\n      function checkAndAggregateYieldOperandTypes(func, checkMode) {\n        const yieldTypes = [];\n        const nextTypes = [];\n        const isAsync = (getFunctionFlags(func) & 2) !== 0;\n        forEachYieldExpression(func.body, (yieldExpression) => {\n          const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType;\n          pushIfUnique(yieldTypes, getYieldedTypeOfYieldExpression(yieldExpression, yieldExpressionType, anyType, isAsync));\n          let nextType;\n          if (yieldExpression.asteriskToken) {\n            const iterationTypes = getIterationTypesOfIterable(\n              yieldExpressionType,\n              isAsync ? 19 : 17,\n              yieldExpression.expression\n            );\n            nextType = iterationTypes && iterationTypes.nextType;\n          } else {\n            nextType = getContextualType2(\n              yieldExpression,\n              /*contextFlags*/\n              void 0\n            );\n          }\n          if (nextType)\n            pushIfUnique(nextTypes, nextType);\n        });\n        return { yieldTypes, nextTypes };\n      }\n      function getYieldedTypeOfYieldExpression(node, expressionType, sentType, isAsync) {\n        const errorNode = node.expression || node;\n        const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(isAsync ? 19 : 17, expressionType, sentType, errorNode) : expressionType;\n        return !isAsync ? yieldedType : getAwaitedType(yieldedType, errorNode, node.asteriskToken ? Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member : Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);\n      }\n      function getNotEqualFactsFromTypeofSwitch(start, end, witnesses) {\n        let facts = 0;\n        for (let i = 0; i < witnesses.length; i++) {\n          const witness = i < start || i >= end ? witnesses[i] : void 0;\n          facts |= witness !== void 0 ? typeofNEFacts.get(witness) || 32768 : 0;\n        }\n        return facts;\n      }\n      function isExhaustiveSwitchStatement(node) {\n        const links = getNodeLinks(node);\n        if (links.isExhaustive === void 0) {\n          links.isExhaustive = 0;\n          const exhaustive = computeExhaustiveSwitchStatement(node);\n          if (links.isExhaustive === 0) {\n            links.isExhaustive = exhaustive;\n          }\n        } else if (links.isExhaustive === 0) {\n          links.isExhaustive = false;\n        }\n        return links.isExhaustive;\n      }\n      function computeExhaustiveSwitchStatement(node) {\n        if (node.expression.kind === 218) {\n          const witnesses = getSwitchClauseTypeOfWitnesses(node);\n          if (!witnesses) {\n            return false;\n          }\n          const operandConstraint = getBaseConstraintOrType(checkExpressionCached(node.expression.expression));\n          const notEqualFacts = getNotEqualFactsFromTypeofSwitch(0, 0, witnesses);\n          if (operandConstraint.flags & 3) {\n            return (556800 & notEqualFacts) === 556800;\n          }\n          return !someType(operandConstraint, (t) => (getTypeFacts(t) & notEqualFacts) === notEqualFacts);\n        }\n        const type = checkExpressionCached(node.expression);\n        if (!isLiteralType(type)) {\n          return false;\n        }\n        const switchTypes = getSwitchClauseTypes(node);\n        if (!switchTypes.length || some(switchTypes, isNeitherUnitTypeNorNever)) {\n          return false;\n        }\n        return eachTypeContainedIn(mapType(type, getRegularTypeOfLiteralType), switchTypes);\n      }\n      function functionHasImplicitReturn(func) {\n        return func.endFlowNode && isReachableFlowNode(func.endFlowNode);\n      }\n      function checkAndAggregateReturnExpressionTypes(func, checkMode) {\n        const functionFlags = getFunctionFlags(func);\n        const aggregatedTypes = [];\n        let hasReturnWithNoExpression = functionHasImplicitReturn(func);\n        let hasReturnOfTypeNever = false;\n        forEachReturnStatement(func.body, (returnStatement) => {\n          const expr = returnStatement.expression;\n          if (expr) {\n            let type = checkExpressionCached(\n              expr,\n              checkMode && checkMode & ~8\n              /* SkipGenericFunctions */\n            );\n            if (functionFlags & 2) {\n              type = unwrapAwaitedType(checkAwaitedType(\n                type,\n                /*withAlias*/\n                false,\n                func,\n                Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member\n              ));\n            }\n            if (type.flags & 131072) {\n              hasReturnOfTypeNever = true;\n            }\n            pushIfUnique(aggregatedTypes, type);\n          } else {\n            hasReturnWithNoExpression = true;\n          }\n        });\n        if (aggregatedTypes.length === 0 && !hasReturnWithNoExpression && (hasReturnOfTypeNever || mayReturnNever(func))) {\n          return void 0;\n        }\n        if (strictNullChecks && aggregatedTypes.length && hasReturnWithNoExpression && !(isJSConstructor(func) && aggregatedTypes.some((t) => t.symbol === func.symbol))) {\n          pushIfUnique(aggregatedTypes, undefinedType);\n        }\n        return aggregatedTypes;\n      }\n      function mayReturnNever(func) {\n        switch (func.kind) {\n          case 215:\n          case 216:\n            return true;\n          case 171:\n            return func.parent.kind === 207;\n          default:\n            return false;\n        }\n      }\n      function checkAllCodePathsInNonVoidFunctionReturnOrThrow(func, returnType) {\n        addLazyDiagnostic(checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics);\n        return;\n        function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() {\n          const functionFlags = getFunctionFlags(func);\n          const type = returnType && unwrapReturnType(returnType, functionFlags);\n          if (type && maybeTypeOfKind(\n            type,\n            1 | 16384\n            /* Void */\n          )) {\n            return;\n          }\n          if (func.kind === 170 || nodeIsMissing(func.body) || func.body.kind !== 238 || !functionHasImplicitReturn(func)) {\n            return;\n          }\n          const hasExplicitReturn = func.flags & 512;\n          const errorNode = getEffectiveReturnTypeNode(func) || func;\n          if (type && type.flags & 131072) {\n            error(errorNode, Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);\n          } else if (type && !hasExplicitReturn) {\n            error(errorNode, Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);\n          } else if (type && strictNullChecks && !isTypeAssignableTo(undefinedType, type)) {\n            error(errorNode, Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);\n          } else if (compilerOptions.noImplicitReturns) {\n            if (!type) {\n              if (!hasExplicitReturn) {\n                return;\n              }\n              const inferredReturnType = getReturnTypeOfSignature(getSignatureFromDeclaration(func));\n              if (isUnwrappedReturnTypeVoidOrAny(func, inferredReturnType)) {\n                return;\n              }\n            }\n            error(errorNode, Diagnostics.Not_all_code_paths_return_a_value);\n          }\n        }\n      }\n      function checkFunctionExpressionOrObjectLiteralMethod(node, checkMode) {\n        Debug2.assert(node.kind !== 171 || isObjectLiteralMethod(node));\n        checkNodeDeferred(node);\n        if (isFunctionExpression(node)) {\n          checkCollisionsForDeclarationName(node, node.name);\n        }\n        if (checkMode && checkMode & 4 && isContextSensitive(node)) {\n          if (!getEffectiveReturnTypeNode(node) && !hasContextSensitiveParameters(node)) {\n            const contextualSignature = getContextualSignature(node);\n            if (contextualSignature && couldContainTypeVariables(getReturnTypeOfSignature(contextualSignature))) {\n              const links = getNodeLinks(node);\n              if (links.contextFreeType) {\n                return links.contextFreeType;\n              }\n              const returnType = getReturnTypeFromBody(node, checkMode);\n              const returnOnlySignature = createSignature(\n                void 0,\n                void 0,\n                void 0,\n                emptyArray,\n                returnType,\n                /*resolvedTypePredicate*/\n                void 0,\n                0,\n                0\n                /* None */\n              );\n              const returnOnlyType = createAnonymousType(node.symbol, emptySymbols, [returnOnlySignature], emptyArray, emptyArray);\n              returnOnlyType.objectFlags |= 262144;\n              return links.contextFreeType = returnOnlyType;\n            }\n          }\n          return anyFunctionType;\n        }\n        const hasGrammarError = checkGrammarFunctionLikeDeclaration(node);\n        if (!hasGrammarError && node.kind === 215) {\n          checkGrammarForGenerator(node);\n        }\n        contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode);\n        return getTypeOfSymbol(getSymbolOfDeclaration(node));\n      }\n      function contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode) {\n        const links = getNodeLinks(node);\n        if (!(links.flags & 64)) {\n          const contextualSignature = getContextualSignature(node);\n          if (!(links.flags & 64)) {\n            links.flags |= 64;\n            const signature = firstOrUndefined(getSignaturesOfType(\n              getTypeOfSymbol(getSymbolOfDeclaration(node)),\n              0\n              /* Call */\n            ));\n            if (!signature) {\n              return;\n            }\n            if (isContextSensitive(node)) {\n              if (contextualSignature) {\n                const inferenceContext = getInferenceContext(node);\n                let instantiatedContextualSignature;\n                if (checkMode && checkMode & 2) {\n                  inferFromAnnotatedParameters(signature, contextualSignature, inferenceContext);\n                  const restType = getEffectiveRestType(contextualSignature);\n                  if (restType && restType.flags & 262144) {\n                    instantiatedContextualSignature = instantiateSignature(contextualSignature, inferenceContext.nonFixingMapper);\n                  }\n                }\n                instantiatedContextualSignature || (instantiatedContextualSignature = inferenceContext ? instantiateSignature(contextualSignature, inferenceContext.mapper) : contextualSignature);\n                assignContextualParameterTypes(signature, instantiatedContextualSignature);\n              } else {\n                assignNonContextualParameterTypes(signature);\n              }\n            }\n            if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {\n              const returnType = getReturnTypeFromBody(node, checkMode);\n              if (!signature.resolvedReturnType) {\n                signature.resolvedReturnType = returnType;\n              }\n            }\n            checkSignatureDeclaration(node);\n          }\n        }\n      }\n      function checkFunctionExpressionOrObjectLiteralMethodDeferred(node) {\n        Debug2.assert(node.kind !== 171 || isObjectLiteralMethod(node));\n        const functionFlags = getFunctionFlags(node);\n        const returnType = getReturnTypeFromAnnotation(node);\n        checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType);\n        if (node.body) {\n          if (!getEffectiveReturnTypeNode(node)) {\n            getReturnTypeOfSignature(getSignatureFromDeclaration(node));\n          }\n          if (node.body.kind === 238) {\n            checkSourceElement(node.body);\n          } else {\n            const exprType = checkExpression(node.body);\n            const returnOrPromisedType = returnType && unwrapReturnType(returnType, functionFlags);\n            if (returnOrPromisedType) {\n              if ((functionFlags & 3) === 2) {\n                const awaitedType = checkAwaitedType(\n                  exprType,\n                  /*withAlias*/\n                  false,\n                  node.body,\n                  Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member\n                );\n                checkTypeAssignableToAndOptionallyElaborate(awaitedType, returnOrPromisedType, node.body, node.body);\n              } else {\n                checkTypeAssignableToAndOptionallyElaborate(exprType, returnOrPromisedType, node.body, node.body);\n              }\n            }\n          }\n        }\n      }\n      function checkArithmeticOperandType(operand, type, diagnostic, isAwaitValid = false) {\n        if (!isTypeAssignableTo(type, numberOrBigIntType)) {\n          const awaitedType = isAwaitValid && getAwaitedTypeOfPromise(type);\n          errorAndMaybeSuggestAwait(\n            operand,\n            !!awaitedType && isTypeAssignableTo(awaitedType, numberOrBigIntType),\n            diagnostic\n          );\n          return false;\n        }\n        return true;\n      }\n      function isReadonlyAssignmentDeclaration(d) {\n        if (!isCallExpression(d)) {\n          return false;\n        }\n        if (!isBindableObjectDefinePropertyCall(d)) {\n          return false;\n        }\n        const objectLitType = checkExpressionCached(d.arguments[2]);\n        const valueType = getTypeOfPropertyOfType(objectLitType, \"value\");\n        if (valueType) {\n          const writableProp = getPropertyOfType(objectLitType, \"writable\");\n          const writableType = writableProp && getTypeOfSymbol(writableProp);\n          if (!writableType || writableType === falseType || writableType === regularFalseType) {\n            return true;\n          }\n          if (writableProp && writableProp.valueDeclaration && isPropertyAssignment(writableProp.valueDeclaration)) {\n            const initializer = writableProp.valueDeclaration.initializer;\n            const rawOriginalType = checkExpression(initializer);\n            if (rawOriginalType === falseType || rawOriginalType === regularFalseType) {\n              return true;\n            }\n          }\n          return false;\n        }\n        const setProp = getPropertyOfType(objectLitType, \"set\");\n        return !setProp;\n      }\n      function isReadonlySymbol(symbol) {\n        return !!(getCheckFlags(symbol) & 8 || symbol.flags & 4 && getDeclarationModifierFlagsFromSymbol(symbol) & 64 || symbol.flags & 3 && getDeclarationNodeFlagsFromSymbol(symbol) & 2 || symbol.flags & 98304 && !(symbol.flags & 65536) || symbol.flags & 8 || some(symbol.declarations, isReadonlyAssignmentDeclaration));\n      }\n      function isAssignmentToReadonlyEntity(expr, symbol, assignmentKind) {\n        var _a22, _b3;\n        if (assignmentKind === 0) {\n          return false;\n        }\n        if (isReadonlySymbol(symbol)) {\n          if (symbol.flags & 4 && isAccessExpression(expr) && expr.expression.kind === 108) {\n            const ctor = getContainingFunction(expr);\n            if (!(ctor && (ctor.kind === 173 || isJSConstructor(ctor)))) {\n              return true;\n            }\n            if (symbol.valueDeclaration) {\n              const isAssignmentDeclaration2 = isBinaryExpression(symbol.valueDeclaration);\n              const isLocalPropertyDeclaration = ctor.parent === symbol.valueDeclaration.parent;\n              const isLocalParameterProperty = ctor === symbol.valueDeclaration.parent;\n              const isLocalThisPropertyAssignment = isAssignmentDeclaration2 && ((_a22 = symbol.parent) == null ? void 0 : _a22.valueDeclaration) === ctor.parent;\n              const isLocalThisPropertyAssignmentConstructorFunction = isAssignmentDeclaration2 && ((_b3 = symbol.parent) == null ? void 0 : _b3.valueDeclaration) === ctor;\n              const isWriteableSymbol = isLocalPropertyDeclaration || isLocalParameterProperty || isLocalThisPropertyAssignment || isLocalThisPropertyAssignmentConstructorFunction;\n              return !isWriteableSymbol;\n            }\n          }\n          return true;\n        }\n        if (isAccessExpression(expr)) {\n          const node = skipParentheses(expr.expression);\n          if (node.kind === 79) {\n            const symbol2 = getNodeLinks(node).resolvedSymbol;\n            if (symbol2.flags & 2097152) {\n              const declaration = getDeclarationOfAliasSymbol(symbol2);\n              return !!declaration && declaration.kind === 271;\n            }\n          }\n        }\n        return false;\n      }\n      function checkReferenceExpression(expr, invalidReferenceMessage, invalidOptionalChainMessage) {\n        const node = skipOuterExpressions(\n          expr,\n          6 | 1\n          /* Parentheses */\n        );\n        if (node.kind !== 79 && !isAccessExpression(node)) {\n          error(expr, invalidReferenceMessage);\n          return false;\n        }\n        if (node.flags & 32) {\n          error(expr, invalidOptionalChainMessage);\n          return false;\n        }\n        return true;\n      }\n      function checkDeleteExpression(node) {\n        checkExpression(node.expression);\n        const expr = skipParentheses(node.expression);\n        if (!isAccessExpression(expr)) {\n          error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference);\n          return booleanType;\n        }\n        if (isPropertyAccessExpression(expr) && isPrivateIdentifier(expr.name)) {\n          error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);\n        }\n        const links = getNodeLinks(expr);\n        const symbol = getExportSymbolOfValueSymbolIfExported(links.resolvedSymbol);\n        if (symbol) {\n          if (isReadonlySymbol(symbol)) {\n            error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property);\n          }\n          checkDeleteExpressionMustBeOptional(expr, symbol);\n        }\n        return booleanType;\n      }\n      function checkDeleteExpressionMustBeOptional(expr, symbol) {\n        const type = getTypeOfSymbol(symbol);\n        if (strictNullChecks && !(type.flags & (3 | 131072)) && !(exactOptionalPropertyTypes ? symbol.flags & 16777216 : getTypeFacts(type) & 16777216)) {\n          error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_optional);\n        }\n      }\n      function checkTypeOfExpression(node) {\n        checkExpression(node.expression);\n        return typeofType;\n      }\n      function checkVoidExpression(node) {\n        checkExpression(node.expression);\n        return undefinedWideningType;\n      }\n      function checkAwaitExpressionGrammar(node) {\n        const container = getContainingFunctionOrClassStaticBlock(node);\n        if (container && isClassStaticBlockDeclaration(container)) {\n          error(node, Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block);\n        } else if (!(node.flags & 32768)) {\n          if (isInTopLevelContext(node)) {\n            const sourceFile = getSourceFileOfNode(node);\n            if (!hasParseDiagnostics(sourceFile)) {\n              let span;\n              if (!isEffectiveExternalModule(sourceFile, compilerOptions)) {\n                span != null ? span : span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n                const diagnostic = createFileDiagnostic(\n                  sourceFile,\n                  span.start,\n                  span.length,\n                  Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module\n                );\n                diagnostics.add(diagnostic);\n              }\n              switch (moduleKind) {\n                case 100:\n                case 199:\n                  if (sourceFile.impliedNodeFormat === 1) {\n                    span != null ? span : span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n                    diagnostics.add(\n                      createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)\n                    );\n                    break;\n                  }\n                case 7:\n                case 99:\n                case 4:\n                  if (languageVersion >= 4) {\n                    break;\n                  }\n                default:\n                  span != null ? span : span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n                  diagnostics.add(\n                    createFileDiagnostic(\n                      sourceFile,\n                      span.start,\n                      span.length,\n                      Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher\n                    )\n                  );\n                  break;\n              }\n            }\n          } else {\n            const sourceFile = getSourceFileOfNode(node);\n            if (!hasParseDiagnostics(sourceFile)) {\n              const span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n              const diagnostic = createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);\n              if (container && container.kind !== 173 && (getFunctionFlags(container) & 2) === 0) {\n                const relatedInfo = createDiagnosticForNode(container, Diagnostics.Did_you_mean_to_mark_this_function_as_async);\n                addRelatedInfo(diagnostic, relatedInfo);\n              }\n              diagnostics.add(diagnostic);\n            }\n          }\n        }\n        if (isInParameterInitializerBeforeContainingFunction(node)) {\n          error(node, Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer);\n        }\n      }\n      function checkAwaitExpression(node) {\n        addLazyDiagnostic(() => checkAwaitExpressionGrammar(node));\n        const operandType = checkExpression(node.expression);\n        const awaitedType = checkAwaitedType(\n          operandType,\n          /*withAlias*/\n          true,\n          node,\n          Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member\n        );\n        if (awaitedType === operandType && !isErrorType(awaitedType) && !(operandType.flags & 3)) {\n          addErrorOrSuggestion(\n            /*isError*/\n            false,\n            createDiagnosticForNode(node, Diagnostics.await_has_no_effect_on_the_type_of_this_expression)\n          );\n        }\n        return awaitedType;\n      }\n      function checkPrefixUnaryExpression(node) {\n        const operandType = checkExpression(node.operand);\n        if (operandType === silentNeverType) {\n          return silentNeverType;\n        }\n        switch (node.operand.kind) {\n          case 8:\n            switch (node.operator) {\n              case 40:\n                return getFreshTypeOfLiteralType(getNumberLiteralType(-node.operand.text));\n              case 39:\n                return getFreshTypeOfLiteralType(getNumberLiteralType(+node.operand.text));\n            }\n            break;\n          case 9:\n            if (node.operator === 40) {\n              return getFreshTypeOfLiteralType(getBigIntLiteralType({\n                negative: true,\n                base10Value: parsePseudoBigInt(node.operand.text)\n              }));\n            }\n        }\n        switch (node.operator) {\n          case 39:\n          case 40:\n          case 54:\n            checkNonNullType(operandType, node.operand);\n            if (maybeTypeOfKindConsideringBaseConstraint(\n              operandType,\n              12288\n              /* ESSymbolLike */\n            )) {\n              error(node.operand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(node.operator));\n            }\n            if (node.operator === 39) {\n              if (maybeTypeOfKindConsideringBaseConstraint(\n                operandType,\n                2112\n                /* BigIntLike */\n              )) {\n                error(node.operand, Diagnostics.Operator_0_cannot_be_applied_to_type_1, tokenToString(node.operator), typeToString(getBaseTypeOfLiteralType(operandType)));\n              }\n              return numberType;\n            }\n            return getUnaryResultType(operandType);\n          case 53:\n            checkTruthinessExpression(node.operand);\n            const facts = getTypeFacts(operandType) & (4194304 | 8388608);\n            return facts === 4194304 ? falseType : facts === 8388608 ? trueType : booleanType;\n          case 45:\n          case 46:\n            const ok = checkArithmeticOperandType(\n              node.operand,\n              checkNonNullType(operandType, node.operand),\n              Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type\n            );\n            if (ok) {\n              checkReferenceExpression(\n                node.operand,\n                Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,\n                Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access\n              );\n            }\n            return getUnaryResultType(operandType);\n        }\n        return errorType;\n      }\n      function checkPostfixUnaryExpression(node) {\n        const operandType = checkExpression(node.operand);\n        if (operandType === silentNeverType) {\n          return silentNeverType;\n        }\n        const ok = checkArithmeticOperandType(\n          node.operand,\n          checkNonNullType(operandType, node.operand),\n          Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type\n        );\n        if (ok) {\n          checkReferenceExpression(\n            node.operand,\n            Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,\n            Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access\n          );\n        }\n        return getUnaryResultType(operandType);\n      }\n      function getUnaryResultType(operandType) {\n        if (maybeTypeOfKind(\n          operandType,\n          2112\n          /* BigIntLike */\n        )) {\n          return isTypeAssignableToKind(\n            operandType,\n            3\n            /* AnyOrUnknown */\n          ) || maybeTypeOfKind(\n            operandType,\n            296\n            /* NumberLike */\n          ) ? numberOrBigIntType : bigintType;\n        }\n        return numberType;\n      }\n      function maybeTypeOfKindConsideringBaseConstraint(type, kind) {\n        if (maybeTypeOfKind(type, kind)) {\n          return true;\n        }\n        const baseConstraint = getBaseConstraintOrType(type);\n        return !!baseConstraint && maybeTypeOfKind(baseConstraint, kind);\n      }\n      function maybeTypeOfKind(type, kind) {\n        if (type.flags & kind) {\n          return true;\n        }\n        if (type.flags & 3145728) {\n          const types = type.types;\n          for (const t of types) {\n            if (maybeTypeOfKind(t, kind)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function isTypeAssignableToKind(source, kind, strict) {\n        if (source.flags & kind) {\n          return true;\n        }\n        if (strict && source.flags & (3 | 16384 | 32768 | 65536)) {\n          return false;\n        }\n        return !!(kind & 296) && isTypeAssignableTo(source, numberType) || !!(kind & 2112) && isTypeAssignableTo(source, bigintType) || !!(kind & 402653316) && isTypeAssignableTo(source, stringType) || !!(kind & 528) && isTypeAssignableTo(source, booleanType) || !!(kind & 16384) && isTypeAssignableTo(source, voidType) || !!(kind & 131072) && isTypeAssignableTo(source, neverType) || !!(kind & 65536) && isTypeAssignableTo(source, nullType) || !!(kind & 32768) && isTypeAssignableTo(source, undefinedType) || !!(kind & 4096) && isTypeAssignableTo(source, esSymbolType) || !!(kind & 67108864) && isTypeAssignableTo(source, nonPrimitiveType);\n      }\n      function allTypesAssignableToKind(source, kind, strict) {\n        return source.flags & 1048576 ? every(source.types, (subType) => allTypesAssignableToKind(subType, kind, strict)) : isTypeAssignableToKind(source, kind, strict);\n      }\n      function isConstEnumObjectType(type) {\n        return !!(getObjectFlags(type) & 16) && !!type.symbol && isConstEnumSymbol(type.symbol);\n      }\n      function isConstEnumSymbol(symbol) {\n        return (symbol.flags & 128) !== 0;\n      }\n      function checkInstanceOfExpression(left, right, leftType, rightType) {\n        if (leftType === silentNeverType || rightType === silentNeverType) {\n          return silentNeverType;\n        }\n        if (!isTypeAny(leftType) && allTypesAssignableToKind(\n          leftType,\n          134348796\n          /* Primitive */\n        )) {\n          error(left, Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter);\n        }\n        if (!(isTypeAny(rightType) || typeHasCallOrConstructSignatures(rightType) || isTypeSubtypeOf(rightType, globalFunctionType))) {\n          error(right, Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type);\n        }\n        return booleanType;\n      }\n      function hasEmptyObjectIntersection(type) {\n        return someType(type, (t) => t === unknownEmptyObjectType || !!(t.flags & 2097152) && isEmptyAnonymousObjectType(getBaseConstraintOrType(t)));\n      }\n      function checkInExpression(left, right, leftType, rightType) {\n        if (leftType === silentNeverType || rightType === silentNeverType) {\n          return silentNeverType;\n        }\n        if (isPrivateIdentifier(left)) {\n          if (languageVersion < 99) {\n            checkExternalEmitHelpers(\n              left,\n              2097152\n              /* ClassPrivateFieldIn */\n            );\n          }\n          if (!getNodeLinks(left).resolvedSymbol && getContainingClass(left)) {\n            const isUncheckedJS = isUncheckedJSSuggestion(\n              left,\n              rightType.symbol,\n              /*excludeClasses*/\n              true\n            );\n            reportNonexistentProperty(left, rightType, isUncheckedJS);\n          }\n        } else {\n          checkTypeAssignableTo(checkNonNullType(leftType, left), stringNumberSymbolType, left);\n        }\n        if (checkTypeAssignableTo(checkNonNullType(rightType, right), nonPrimitiveType, right)) {\n          if (hasEmptyObjectIntersection(rightType)) {\n            error(right, Diagnostics.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator, typeToString(rightType));\n          }\n        }\n        return booleanType;\n      }\n      function checkObjectLiteralAssignment(node, sourceType, rightIsThis) {\n        const properties = node.properties;\n        if (strictNullChecks && properties.length === 0) {\n          return checkNonNullType(sourceType, node);\n        }\n        for (let i = 0; i < properties.length; i++) {\n          checkObjectLiteralDestructuringPropertyAssignment(node, sourceType, i, properties, rightIsThis);\n        }\n        return sourceType;\n      }\n      function checkObjectLiteralDestructuringPropertyAssignment(node, objectLiteralType, propertyIndex, allProperties, rightIsThis = false) {\n        const properties = node.properties;\n        const property = properties[propertyIndex];\n        if (property.kind === 299 || property.kind === 300) {\n          const name = property.name;\n          const exprType = getLiteralTypeFromPropertyName(name);\n          if (isTypeUsableAsPropertyName(exprType)) {\n            const text = getPropertyNameFromType(exprType);\n            const prop = getPropertyOfType(objectLiteralType, text);\n            if (prop) {\n              markPropertyAsReferenced(prop, property, rightIsThis);\n              checkPropertyAccessibility(\n                property,\n                /*isSuper*/\n                false,\n                /*writing*/\n                true,\n                objectLiteralType,\n                prop\n              );\n            }\n          }\n          const elementType = getIndexedAccessType(objectLiteralType, exprType, 32, name);\n          const type = getFlowTypeOfDestructuring(property, elementType);\n          return checkDestructuringAssignment(property.kind === 300 ? property : property.initializer, type);\n        } else if (property.kind === 301) {\n          if (propertyIndex < properties.length - 1) {\n            error(property, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);\n          } else {\n            if (languageVersion < 99) {\n              checkExternalEmitHelpers(\n                property,\n                4\n                /* Rest */\n              );\n            }\n            const nonRestNames = [];\n            if (allProperties) {\n              for (const otherProperty of allProperties) {\n                if (!isSpreadAssignment(otherProperty)) {\n                  nonRestNames.push(otherProperty.name);\n                }\n              }\n            }\n            const type = getRestType(objectLiteralType, nonRestNames, objectLiteralType.symbol);\n            checkGrammarForDisallowedTrailingComma(allProperties, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n            return checkDestructuringAssignment(property.expression, type);\n          }\n        } else {\n          error(property, Diagnostics.Property_assignment_expected);\n        }\n      }\n      function checkArrayLiteralAssignment(node, sourceType, checkMode) {\n        const elements = node.elements;\n        if (languageVersion < 2 && compilerOptions.downlevelIteration) {\n          checkExternalEmitHelpers(\n            node,\n            512\n            /* Read */\n          );\n        }\n        const possiblyOutOfBoundsType = checkIteratedTypeOrElementType(65 | 128, sourceType, undefinedType, node) || errorType;\n        let inBoundsType = compilerOptions.noUncheckedIndexedAccess ? void 0 : possiblyOutOfBoundsType;\n        for (let i = 0; i < elements.length; i++) {\n          let type = possiblyOutOfBoundsType;\n          if (node.elements[i].kind === 227) {\n            type = inBoundsType = inBoundsType != null ? inBoundsType : checkIteratedTypeOrElementType(65, sourceType, undefinedType, node) || errorType;\n          }\n          checkArrayLiteralDestructuringElementAssignment(node, sourceType, i, type, checkMode);\n        }\n        return sourceType;\n      }\n      function checkArrayLiteralDestructuringElementAssignment(node, sourceType, elementIndex, elementType, checkMode) {\n        const elements = node.elements;\n        const element = elements[elementIndex];\n        if (element.kind !== 229) {\n          if (element.kind !== 227) {\n            const indexType = getNumberLiteralType(elementIndex);\n            if (isArrayLikeType(sourceType)) {\n              const accessFlags = 32 | (hasDefaultValue(element) ? 16 : 0);\n              const elementType2 = getIndexedAccessTypeOrUndefined(sourceType, indexType, accessFlags, createSyntheticExpression(element, indexType)) || errorType;\n              const assignedType = hasDefaultValue(element) ? getTypeWithFacts(\n                elementType2,\n                524288\n                /* NEUndefined */\n              ) : elementType2;\n              const type = getFlowTypeOfDestructuring(element, assignedType);\n              return checkDestructuringAssignment(element, type, checkMode);\n            }\n            return checkDestructuringAssignment(element, elementType, checkMode);\n          }\n          if (elementIndex < elements.length - 1) {\n            error(element, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);\n          } else {\n            const restExpression = element.expression;\n            if (restExpression.kind === 223 && restExpression.operatorToken.kind === 63) {\n              error(restExpression.operatorToken, Diagnostics.A_rest_element_cannot_have_an_initializer);\n            } else {\n              checkGrammarForDisallowedTrailingComma(node.elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n              const type = everyType(sourceType, isTupleType) ? mapType(sourceType, (t) => sliceTupleType(t, elementIndex)) : createArrayType(elementType);\n              return checkDestructuringAssignment(restExpression, type, checkMode);\n            }\n          }\n        }\n        return void 0;\n      }\n      function checkDestructuringAssignment(exprOrAssignment, sourceType, checkMode, rightIsThis) {\n        let target;\n        if (exprOrAssignment.kind === 300) {\n          const prop = exprOrAssignment;\n          if (prop.objectAssignmentInitializer) {\n            if (strictNullChecks && !(getTypeFacts(checkExpression(prop.objectAssignmentInitializer)) & 16777216)) {\n              sourceType = getTypeWithFacts(\n                sourceType,\n                524288\n                /* NEUndefined */\n              );\n            }\n            checkBinaryLikeExpression(prop.name, prop.equalsToken, prop.objectAssignmentInitializer, checkMode);\n          }\n          target = exprOrAssignment.name;\n        } else {\n          target = exprOrAssignment;\n        }\n        if (target.kind === 223 && target.operatorToken.kind === 63) {\n          checkBinaryExpression(target, checkMode);\n          target = target.left;\n          if (strictNullChecks) {\n            sourceType = getTypeWithFacts(\n              sourceType,\n              524288\n              /* NEUndefined */\n            );\n          }\n        }\n        if (target.kind === 207) {\n          return checkObjectLiteralAssignment(target, sourceType, rightIsThis);\n        }\n        if (target.kind === 206) {\n          return checkArrayLiteralAssignment(target, sourceType, checkMode);\n        }\n        return checkReferenceAssignment(target, sourceType, checkMode);\n      }\n      function checkReferenceAssignment(target, sourceType, checkMode) {\n        const targetType = checkExpression(target, checkMode);\n        const error2 = target.parent.kind === 301 ? Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access;\n        const optionalError = target.parent.kind === 301 ? Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;\n        if (checkReferenceExpression(target, error2, optionalError)) {\n          checkTypeAssignableToAndOptionallyElaborate(sourceType, targetType, target, target);\n        }\n        if (isPrivateIdentifierPropertyAccessExpression(target)) {\n          checkExternalEmitHelpers(\n            target.parent,\n            1048576\n            /* ClassPrivateFieldSet */\n          );\n        }\n        return sourceType;\n      }\n      function isSideEffectFree(node) {\n        node = skipParentheses(node);\n        switch (node.kind) {\n          case 79:\n          case 10:\n          case 13:\n          case 212:\n          case 225:\n          case 14:\n          case 8:\n          case 9:\n          case 110:\n          case 95:\n          case 104:\n          case 155:\n          case 215:\n          case 228:\n          case 216:\n          case 206:\n          case 207:\n          case 218:\n          case 232:\n          case 282:\n          case 281:\n            return true;\n          case 224:\n            return isSideEffectFree(node.whenTrue) && isSideEffectFree(node.whenFalse);\n          case 223:\n            if (isAssignmentOperator(node.operatorToken.kind)) {\n              return false;\n            }\n            return isSideEffectFree(node.left) && isSideEffectFree(node.right);\n          case 221:\n          case 222:\n            switch (node.operator) {\n              case 53:\n              case 39:\n              case 40:\n              case 54:\n                return true;\n            }\n            return false;\n          case 219:\n          case 213:\n          case 231:\n          default:\n            return false;\n        }\n      }\n      function isTypeEqualityComparableTo(source, target) {\n        return (target.flags & 98304) !== 0 || isTypeComparableTo(source, target);\n      }\n      function createCheckBinaryExpression() {\n        const trampoline = createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState);\n        return (node, checkMode) => {\n          const result = trampoline(node, checkMode);\n          Debug2.assertIsDefined(result);\n          return result;\n        };\n        function onEnter(node, state, checkMode) {\n          if (state) {\n            state.stackIndex++;\n            state.skip = false;\n            setLeftType(\n              state,\n              /*type*/\n              void 0\n            );\n            setLastResult(\n              state,\n              /*type*/\n              void 0\n            );\n          } else {\n            state = {\n              checkMode,\n              skip: false,\n              stackIndex: 0,\n              typeStack: [void 0, void 0]\n            };\n          }\n          if (isInJSFile(node) && getAssignedExpandoInitializer(node)) {\n            state.skip = true;\n            setLastResult(state, checkExpression(node.right, checkMode));\n            return state;\n          }\n          checkGrammarNullishCoalesceWithLogicalExpression(node);\n          const operator = node.operatorToken.kind;\n          if (operator === 63 && (node.left.kind === 207 || node.left.kind === 206)) {\n            state.skip = true;\n            setLastResult(state, checkDestructuringAssignment(\n              node.left,\n              checkExpression(node.right, checkMode),\n              checkMode,\n              node.right.kind === 108\n              /* ThisKeyword */\n            ));\n            return state;\n          }\n          return state;\n        }\n        function onLeft(left, state, _node) {\n          if (!state.skip) {\n            return maybeCheckExpression(state, left);\n          }\n        }\n        function onOperator(operatorToken, state, node) {\n          if (!state.skip) {\n            const leftType = getLastResult(state);\n            Debug2.assertIsDefined(leftType);\n            setLeftType(state, leftType);\n            setLastResult(\n              state,\n              /*type*/\n              void 0\n            );\n            const operator = operatorToken.kind;\n            if (isLogicalOrCoalescingBinaryOperator(operator)) {\n              let parent2 = node.parent;\n              while (parent2.kind === 214 || isLogicalOrCoalescingBinaryExpression(parent2)) {\n                parent2 = parent2.parent;\n              }\n              if (operator === 55 || isIfStatement(parent2)) {\n                checkTestingKnownTruthyCallableOrAwaitableType(node.left, leftType, isIfStatement(parent2) ? parent2.thenStatement : void 0);\n              }\n              checkTruthinessOfType(leftType, node.left);\n            }\n          }\n        }\n        function onRight(right, state, _node) {\n          if (!state.skip) {\n            return maybeCheckExpression(state, right);\n          }\n        }\n        function onExit(node, state) {\n          let result;\n          if (state.skip) {\n            result = getLastResult(state);\n          } else {\n            const leftType = getLeftType(state);\n            Debug2.assertIsDefined(leftType);\n            const rightType = getLastResult(state);\n            Debug2.assertIsDefined(rightType);\n            result = checkBinaryLikeExpressionWorker(node.left, node.operatorToken, node.right, leftType, rightType, node);\n          }\n          state.skip = false;\n          setLeftType(\n            state,\n            /*type*/\n            void 0\n          );\n          setLastResult(\n            state,\n            /*type*/\n            void 0\n          );\n          state.stackIndex--;\n          return result;\n        }\n        function foldState(state, result, _side) {\n          setLastResult(state, result);\n          return state;\n        }\n        function maybeCheckExpression(state, node) {\n          if (isBinaryExpression(node)) {\n            return node;\n          }\n          setLastResult(state, checkExpression(node, state.checkMode));\n        }\n        function getLeftType(state) {\n          return state.typeStack[state.stackIndex];\n        }\n        function setLeftType(state, type) {\n          state.typeStack[state.stackIndex] = type;\n        }\n        function getLastResult(state) {\n          return state.typeStack[state.stackIndex + 1];\n        }\n        function setLastResult(state, type) {\n          state.typeStack[state.stackIndex + 1] = type;\n        }\n      }\n      function checkGrammarNullishCoalesceWithLogicalExpression(node) {\n        const { left, operatorToken, right } = node;\n        if (operatorToken.kind === 60) {\n          if (isBinaryExpression(left) && (left.operatorToken.kind === 56 || left.operatorToken.kind === 55)) {\n            grammarErrorOnNode(left, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(left.operatorToken.kind), tokenToString(operatorToken.kind));\n          }\n          if (isBinaryExpression(right) && (right.operatorToken.kind === 56 || right.operatorToken.kind === 55)) {\n            grammarErrorOnNode(right, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToString(operatorToken.kind));\n          }\n        }\n      }\n      function checkBinaryLikeExpression(left, operatorToken, right, checkMode, errorNode) {\n        const operator = operatorToken.kind;\n        if (operator === 63 && (left.kind === 207 || left.kind === 206)) {\n          return checkDestructuringAssignment(\n            left,\n            checkExpression(right, checkMode),\n            checkMode,\n            right.kind === 108\n            /* ThisKeyword */\n          );\n        }\n        let leftType;\n        if (isLogicalOrCoalescingBinaryOperator(operator)) {\n          leftType = checkTruthinessExpression(left, checkMode);\n        } else {\n          leftType = checkExpression(left, checkMode);\n        }\n        const rightType = checkExpression(right, checkMode);\n        return checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, errorNode);\n      }\n      function checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, errorNode) {\n        const operator = operatorToken.kind;\n        switch (operator) {\n          case 41:\n          case 42:\n          case 66:\n          case 67:\n          case 43:\n          case 68:\n          case 44:\n          case 69:\n          case 40:\n          case 65:\n          case 47:\n          case 70:\n          case 48:\n          case 71:\n          case 49:\n          case 72:\n          case 51:\n          case 74:\n          case 52:\n          case 78:\n          case 50:\n          case 73:\n            if (leftType === silentNeverType || rightType === silentNeverType) {\n              return silentNeverType;\n            }\n            leftType = checkNonNullType(leftType, left);\n            rightType = checkNonNullType(rightType, right);\n            let suggestedOperator;\n            if (leftType.flags & 528 && rightType.flags & 528 && (suggestedOperator = getSuggestedBooleanOperator(operatorToken.kind)) !== void 0) {\n              error(errorNode || operatorToken, Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead, tokenToString(operatorToken.kind), tokenToString(suggestedOperator));\n              return numberType;\n            } else {\n              const leftOk = checkArithmeticOperandType(\n                left,\n                leftType,\n                Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,\n                /*isAwaitValid*/\n                true\n              );\n              const rightOk = checkArithmeticOperandType(\n                right,\n                rightType,\n                Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,\n                /*isAwaitValid*/\n                true\n              );\n              let resultType2;\n              if (isTypeAssignableToKind(\n                leftType,\n                3\n                /* AnyOrUnknown */\n              ) && isTypeAssignableToKind(\n                rightType,\n                3\n                /* AnyOrUnknown */\n              ) || // Or, if neither could be bigint, implicit coercion results in a number result\n              !(maybeTypeOfKind(\n                leftType,\n                2112\n                /* BigIntLike */\n              ) || maybeTypeOfKind(\n                rightType,\n                2112\n                /* BigIntLike */\n              ))) {\n                resultType2 = numberType;\n              } else if (bothAreBigIntLike(leftType, rightType)) {\n                switch (operator) {\n                  case 49:\n                  case 72:\n                    reportOperatorError();\n                    break;\n                  case 42:\n                  case 67:\n                    if (languageVersion < 3) {\n                      error(errorNode, Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later);\n                    }\n                }\n                resultType2 = bigintType;\n              } else {\n                reportOperatorError(bothAreBigIntLike);\n                resultType2 = errorType;\n              }\n              if (leftOk && rightOk) {\n                checkAssignmentOperator(resultType2);\n              }\n              return resultType2;\n            }\n          case 39:\n          case 64:\n            if (leftType === silentNeverType || rightType === silentNeverType) {\n              return silentNeverType;\n            }\n            if (!isTypeAssignableToKind(\n              leftType,\n              402653316\n              /* StringLike */\n            ) && !isTypeAssignableToKind(\n              rightType,\n              402653316\n              /* StringLike */\n            )) {\n              leftType = checkNonNullType(leftType, left);\n              rightType = checkNonNullType(rightType, right);\n            }\n            let resultType;\n            if (isTypeAssignableToKind(\n              leftType,\n              296,\n              /*strict*/\n              true\n            ) && isTypeAssignableToKind(\n              rightType,\n              296,\n              /*strict*/\n              true\n            )) {\n              resultType = numberType;\n            } else if (isTypeAssignableToKind(\n              leftType,\n              2112,\n              /*strict*/\n              true\n            ) && isTypeAssignableToKind(\n              rightType,\n              2112,\n              /*strict*/\n              true\n            )) {\n              resultType = bigintType;\n            } else if (isTypeAssignableToKind(\n              leftType,\n              402653316,\n              /*strict*/\n              true\n            ) || isTypeAssignableToKind(\n              rightType,\n              402653316,\n              /*strict*/\n              true\n            )) {\n              resultType = stringType;\n            } else if (isTypeAny(leftType) || isTypeAny(rightType)) {\n              resultType = isErrorType(leftType) || isErrorType(rightType) ? errorType : anyType;\n            }\n            if (resultType && !checkForDisallowedESSymbolOperand(operator)) {\n              return resultType;\n            }\n            if (!resultType) {\n              const closeEnoughKind = 296 | 2112 | 402653316 | 3;\n              reportOperatorError((left2, right2) => isTypeAssignableToKind(left2, closeEnoughKind) && isTypeAssignableToKind(right2, closeEnoughKind));\n              return anyType;\n            }\n            if (operator === 64) {\n              checkAssignmentOperator(resultType);\n            }\n            return resultType;\n          case 29:\n          case 31:\n          case 32:\n          case 33:\n            if (checkForDisallowedESSymbolOperand(operator)) {\n              leftType = getBaseTypeOfLiteralTypeForComparison(checkNonNullType(leftType, left));\n              rightType = getBaseTypeOfLiteralTypeForComparison(checkNonNullType(rightType, right));\n              reportOperatorErrorUnless((left2, right2) => {\n                if (isTypeAny(left2) || isTypeAny(right2)) {\n                  return true;\n                }\n                const leftAssignableToNumber = isTypeAssignableTo(left2, numberOrBigIntType);\n                const rightAssignableToNumber = isTypeAssignableTo(right2, numberOrBigIntType);\n                return leftAssignableToNumber && rightAssignableToNumber || !leftAssignableToNumber && !rightAssignableToNumber && areTypesComparable(left2, right2);\n              });\n            }\n            return booleanType;\n          case 34:\n          case 35:\n          case 36:\n          case 37:\n            if (isLiteralExpressionOfObject(left) || isLiteralExpressionOfObject(right)) {\n              const eqType = operator === 34 || operator === 36;\n              error(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? \"false\" : \"true\");\n            }\n            checkNaNEquality(errorNode, operator, left, right);\n            reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2));\n            return booleanType;\n          case 102:\n            return checkInstanceOfExpression(left, right, leftType, rightType);\n          case 101:\n            return checkInExpression(left, right, leftType, rightType);\n          case 55:\n          case 76: {\n            const resultType2 = getTypeFacts(leftType) & 4194304 ? getUnionType([extractDefinitelyFalsyTypes(strictNullChecks ? leftType : getBaseTypeOfLiteralType(rightType)), rightType]) : leftType;\n            if (operator === 76) {\n              checkAssignmentOperator(rightType);\n            }\n            return resultType2;\n          }\n          case 56:\n          case 75: {\n            const resultType2 = getTypeFacts(leftType) & 8388608 ? getUnionType(\n              [getNonNullableType(removeDefinitelyFalsyTypes(leftType)), rightType],\n              2\n              /* Subtype */\n            ) : leftType;\n            if (operator === 75) {\n              checkAssignmentOperator(rightType);\n            }\n            return resultType2;\n          }\n          case 60:\n          case 77: {\n            const resultType2 = getTypeFacts(leftType) & 262144 ? getUnionType(\n              [getNonNullableType(leftType), rightType],\n              2\n              /* Subtype */\n            ) : leftType;\n            if (operator === 77) {\n              checkAssignmentOperator(rightType);\n            }\n            return resultType2;\n          }\n          case 63:\n            const declKind = isBinaryExpression(left.parent) ? getAssignmentDeclarationKind(left.parent) : 0;\n            checkAssignmentDeclaration(declKind, rightType);\n            if (isAssignmentDeclaration2(declKind)) {\n              if (!(rightType.flags & 524288) || declKind !== 2 && declKind !== 6 && !isEmptyObjectType(rightType) && !isFunctionObjectType(rightType) && !(getObjectFlags(rightType) & 1)) {\n                checkAssignmentOperator(rightType);\n              }\n              return leftType;\n            } else {\n              checkAssignmentOperator(rightType);\n              return rightType;\n            }\n          case 27:\n            if (!compilerOptions.allowUnreachableCode && isSideEffectFree(left) && !isIndirectCall(left.parent)) {\n              const sf = getSourceFileOfNode(left);\n              const sourceText = sf.text;\n              const start = skipTrivia(sourceText, left.pos);\n              const isInDiag2657 = sf.parseDiagnostics.some((diag2) => {\n                if (diag2.code !== Diagnostics.JSX_expressions_must_have_one_parent_element.code)\n                  return false;\n                return textSpanContainsPosition(diag2, start);\n              });\n              if (!isInDiag2657)\n                error(left, Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects);\n            }\n            return rightType;\n          default:\n            return Debug2.fail();\n        }\n        function bothAreBigIntLike(left2, right2) {\n          return isTypeAssignableToKind(\n            left2,\n            2112\n            /* BigIntLike */\n          ) && isTypeAssignableToKind(\n            right2,\n            2112\n            /* BigIntLike */\n          );\n        }\n        function checkAssignmentDeclaration(kind, rightType2) {\n          if (kind === 2) {\n            for (const prop of getPropertiesOfObjectType(rightType2)) {\n              const propType = getTypeOfSymbol(prop);\n              if (propType.symbol && propType.symbol.flags & 32) {\n                const name = prop.escapedName;\n                const symbol = resolveName(\n                  prop.valueDeclaration,\n                  name,\n                  788968,\n                  void 0,\n                  name,\n                  /*isUse*/\n                  false\n                );\n                if ((symbol == null ? void 0 : symbol.declarations) && symbol.declarations.some(isJSDocTypedefTag)) {\n                  addDuplicateDeclarationErrorsForSymbols(symbol, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), prop);\n                  addDuplicateDeclarationErrorsForSymbols(prop, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), symbol);\n                }\n              }\n            }\n          }\n        }\n        function isIndirectCall(node) {\n          return node.parent.kind === 214 && isNumericLiteral(node.left) && node.left.text === \"0\" && (isCallExpression(node.parent.parent) && node.parent.parent.expression === node.parent || node.parent.parent.kind === 212) && // special-case for \"eval\" because it's the only non-access case where an indirect call actually affects behavior.\n          (isAccessExpression(node.right) || isIdentifier(node.right) && node.right.escapedText === \"eval\");\n        }\n        function checkForDisallowedESSymbolOperand(operator2) {\n          const offendingSymbolOperand = maybeTypeOfKindConsideringBaseConstraint(\n            leftType,\n            12288\n            /* ESSymbolLike */\n          ) ? left : maybeTypeOfKindConsideringBaseConstraint(\n            rightType,\n            12288\n            /* ESSymbolLike */\n          ) ? right : void 0;\n          if (offendingSymbolOperand) {\n            error(offendingSymbolOperand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(operator2));\n            return false;\n          }\n          return true;\n        }\n        function getSuggestedBooleanOperator(operator2) {\n          switch (operator2) {\n            case 51:\n            case 74:\n              return 56;\n            case 52:\n            case 78:\n              return 37;\n            case 50:\n            case 73:\n              return 55;\n            default:\n              return void 0;\n          }\n        }\n        function checkAssignmentOperator(valueType) {\n          if (isAssignmentOperator(operator)) {\n            addLazyDiagnostic(checkAssignmentOperatorWorker);\n          }\n          function checkAssignmentOperatorWorker() {\n            if (checkReferenceExpression(\n              left,\n              Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,\n              Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access\n            )) {\n              let headMessage;\n              if (exactOptionalPropertyTypes && isPropertyAccessExpression(left) && maybeTypeOfKind(\n                valueType,\n                32768\n                /* Undefined */\n              )) {\n                const target = getTypeOfPropertyOfType(getTypeOfExpression(left.expression), left.name.escapedText);\n                if (isExactOptionalPropertyMismatch(valueType, target)) {\n                  headMessage = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target;\n                }\n              }\n              checkTypeAssignableToAndOptionallyElaborate(valueType, leftType, left, right, headMessage);\n            }\n          }\n        }\n        function isAssignmentDeclaration2(kind) {\n          var _a22;\n          switch (kind) {\n            case 2:\n              return true;\n            case 1:\n            case 5:\n            case 6:\n            case 3:\n            case 4:\n              const symbol = getSymbolOfNode(left);\n              const init = getAssignedExpandoInitializer(right);\n              return !!init && isObjectLiteralExpression(init) && !!((_a22 = symbol == null ? void 0 : symbol.exports) == null ? void 0 : _a22.size);\n            default:\n              return false;\n          }\n        }\n        function reportOperatorErrorUnless(typesAreCompatible) {\n          if (!typesAreCompatible(leftType, rightType)) {\n            reportOperatorError(typesAreCompatible);\n            return true;\n          }\n          return false;\n        }\n        function reportOperatorError(isRelated) {\n          let wouldWorkWithAwait = false;\n          const errNode = errorNode || operatorToken;\n          if (isRelated) {\n            const awaitedLeftType = getAwaitedTypeNoAlias(leftType);\n            const awaitedRightType = getAwaitedTypeNoAlias(rightType);\n            wouldWorkWithAwait = !(awaitedLeftType === leftType && awaitedRightType === rightType) && !!(awaitedLeftType && awaitedRightType) && isRelated(awaitedLeftType, awaitedRightType);\n          }\n          let effectiveLeft = leftType;\n          let effectiveRight = rightType;\n          if (!wouldWorkWithAwait && isRelated) {\n            [effectiveLeft, effectiveRight] = getBaseTypesIfUnrelated(leftType, rightType, isRelated);\n          }\n          const [leftStr, rightStr] = getTypeNamesForErrorDisplay(effectiveLeft, effectiveRight);\n          if (!tryGiveBetterPrimaryError(errNode, wouldWorkWithAwait, leftStr, rightStr)) {\n            errorAndMaybeSuggestAwait(\n              errNode,\n              wouldWorkWithAwait,\n              Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,\n              tokenToString(operatorToken.kind),\n              leftStr,\n              rightStr\n            );\n          }\n        }\n        function tryGiveBetterPrimaryError(errNode, maybeMissingAwait, leftStr, rightStr) {\n          switch (operatorToken.kind) {\n            case 36:\n            case 34:\n            case 37:\n            case 35:\n              return errorAndMaybeSuggestAwait(\n                errNode,\n                maybeMissingAwait,\n                Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,\n                leftStr,\n                rightStr\n              );\n            default:\n              return void 0;\n          }\n        }\n        function checkNaNEquality(errorNode2, operator2, left2, right2) {\n          const isLeftNaN = isGlobalNaN(skipParentheses(left2));\n          const isRightNaN = isGlobalNaN(skipParentheses(right2));\n          if (isLeftNaN || isRightNaN) {\n            const err = error(\n              errorNode2,\n              Diagnostics.This_condition_will_always_return_0,\n              tokenToString(\n                operator2 === 36 || operator2 === 34 ? 95 : 110\n                /* TrueKeyword */\n              )\n            );\n            if (isLeftNaN && isRightNaN)\n              return;\n            const operatorString = operator2 === 37 || operator2 === 35 ? tokenToString(\n              53\n              /* ExclamationToken */\n            ) : \"\";\n            const location = isLeftNaN ? right2 : left2;\n            const expression = skipParentheses(location);\n            addRelatedInfo(err, createDiagnosticForNode(\n              location,\n              Diagnostics.Did_you_mean_0,\n              `${operatorString}Number.isNaN(${isEntityNameExpression(expression) ? entityNameToString(expression) : \"...\"})`\n            ));\n          }\n        }\n        function isGlobalNaN(expr) {\n          if (isIdentifier(expr) && expr.escapedText === \"NaN\") {\n            const globalNaNSymbol = getGlobalNaNSymbol();\n            return !!globalNaNSymbol && globalNaNSymbol === getResolvedSymbol(expr);\n          }\n          return false;\n        }\n      }\n      function getBaseTypesIfUnrelated(leftType, rightType, isRelated) {\n        let effectiveLeft = leftType;\n        let effectiveRight = rightType;\n        const leftBase = getBaseTypeOfLiteralType(leftType);\n        const rightBase = getBaseTypeOfLiteralType(rightType);\n        if (!isRelated(leftBase, rightBase)) {\n          effectiveLeft = leftBase;\n          effectiveRight = rightBase;\n        }\n        return [effectiveLeft, effectiveRight];\n      }\n      function checkYieldExpression(node) {\n        addLazyDiagnostic(checkYieldExpressionGrammar);\n        const func = getContainingFunction(node);\n        if (!func)\n          return anyType;\n        const functionFlags = getFunctionFlags(func);\n        if (!(functionFlags & 1)) {\n          return anyType;\n        }\n        const isAsync = (functionFlags & 2) !== 0;\n        if (node.asteriskToken) {\n          if (isAsync && languageVersion < 99) {\n            checkExternalEmitHelpers(\n              node,\n              26624\n              /* AsyncDelegatorIncludes */\n            );\n          }\n          if (!isAsync && languageVersion < 2 && compilerOptions.downlevelIteration) {\n            checkExternalEmitHelpers(\n              node,\n              256\n              /* Values */\n            );\n          }\n        }\n        const returnType = getReturnTypeFromAnnotation(func);\n        const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync);\n        const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType;\n        const signatureNextType = iterationTypes && iterationTypes.nextType || anyType;\n        const resolvedSignatureNextType = isAsync ? getAwaitedType(signatureNextType) || anyType : signatureNextType;\n        const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType;\n        const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, resolvedSignatureNextType, isAsync);\n        if (returnType && yieldedType) {\n          checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression);\n        }\n        if (node.asteriskToken) {\n          const use = isAsync ? 19 : 17;\n          return getIterationTypeOfIterable(use, 1, yieldExpressionType, node.expression) || anyType;\n        } else if (returnType) {\n          return getIterationTypeOfGeneratorFunctionReturnType(2, returnType, isAsync) || anyType;\n        }\n        let type = getContextualIterationType(2, func);\n        if (!type) {\n          type = anyType;\n          addLazyDiagnostic(() => {\n            if (noImplicitAny && !expressionResultIsUnused(node)) {\n              const contextualType = getContextualType2(\n                node,\n                /*contextFlags*/\n                void 0\n              );\n              if (!contextualType || isTypeAny(contextualType)) {\n                error(node, Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation);\n              }\n            }\n          });\n        }\n        return type;\n        function checkYieldExpressionGrammar() {\n          if (!(node.flags & 8192)) {\n            grammarErrorOnFirstToken(node, Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body);\n          }\n          if (isInParameterInitializerBeforeContainingFunction(node)) {\n            error(node, Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer);\n          }\n        }\n      }\n      function checkConditionalExpression(node, checkMode) {\n        const type = checkTruthinessExpression(node.condition);\n        checkTestingKnownTruthyCallableOrAwaitableType(node.condition, type, node.whenTrue);\n        const type1 = checkExpression(node.whenTrue, checkMode);\n        const type2 = checkExpression(node.whenFalse, checkMode);\n        return getUnionType(\n          [type1, type2],\n          2\n          /* Subtype */\n        );\n      }\n      function isTemplateLiteralContext(node) {\n        const parent2 = node.parent;\n        return isParenthesizedExpression(parent2) && isTemplateLiteralContext(parent2) || isElementAccessExpression(parent2) && parent2.argumentExpression === node;\n      }\n      function checkTemplateExpression(node) {\n        const texts = [node.head.text];\n        const types = [];\n        for (const span of node.templateSpans) {\n          const type = checkExpression(span.expression);\n          if (maybeTypeOfKindConsideringBaseConstraint(\n            type,\n            12288\n            /* ESSymbolLike */\n          )) {\n            error(span.expression, Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String);\n          }\n          texts.push(span.literal.text);\n          types.push(isTypeAssignableTo(type, templateConstraintType) ? type : stringType);\n        }\n        return isConstContext(node) || isTemplateLiteralContext(node) || someType(getContextualType2(\n          node,\n          /*contextFlags*/\n          void 0\n        ) || unknownType, isTemplateLiteralContextualType) ? getTemplateLiteralType(texts, types) : stringType;\n      }\n      function isTemplateLiteralContextualType(type) {\n        return !!(type.flags & (128 | 134217728) || type.flags & 58982400 && maybeTypeOfKind(\n          getBaseConstraintOfType(type) || unknownType,\n          402653316\n          /* StringLike */\n        ));\n      }\n      function getContextNode2(node) {\n        if (isJsxAttributes(node) && !isJsxSelfClosingElement(node.parent)) {\n          return node.parent.parent;\n        }\n        return node;\n      }\n      function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) {\n        const contextNode = getContextNode2(node);\n        pushContextualType(\n          contextNode,\n          contextualType,\n          /*isCache*/\n          false\n        );\n        pushInferenceContext(contextNode, inferenceContext);\n        const type = checkExpression(node, checkMode | 1 | (inferenceContext ? 2 : 0));\n        if (inferenceContext && inferenceContext.intraExpressionInferenceSites) {\n          inferenceContext.intraExpressionInferenceSites = void 0;\n        }\n        const result = maybeTypeOfKind(\n          type,\n          2944\n          /* Literal */\n        ) && isLiteralOfContextualType(type, instantiateContextualType(\n          contextualType,\n          node,\n          /*contextFlags*/\n          void 0\n        )) ? getRegularTypeOfLiteralType(type) : type;\n        popInferenceContext();\n        popContextualType();\n        return result;\n      }\n      function checkExpressionCached(node, checkMode) {\n        if (checkMode) {\n          return checkExpression(node, checkMode);\n        }\n        const links = getNodeLinks(node);\n        if (!links.resolvedType) {\n          const saveFlowLoopStart = flowLoopStart;\n          const saveFlowTypeCache = flowTypeCache;\n          flowLoopStart = flowLoopCount;\n          flowTypeCache = void 0;\n          links.resolvedType = checkExpression(node, checkMode);\n          flowTypeCache = saveFlowTypeCache;\n          flowLoopStart = saveFlowLoopStart;\n        }\n        return links.resolvedType;\n      }\n      function isTypeAssertion(node) {\n        node = skipParentheses(\n          node,\n          /*excludeJSDocTypeAssertions*/\n          true\n        );\n        return node.kind === 213 || node.kind === 231 || isJSDocTypeAssertion(node);\n      }\n      function checkDeclarationInitializer(declaration, checkMode, contextualType) {\n        const initializer = getEffectiveInitializer(declaration);\n        if (isInJSFile(declaration)) {\n          const typeNode = tryGetJSDocSatisfiesTypeNode(declaration);\n          if (typeNode) {\n            return checkSatisfiesExpressionWorker(initializer, typeNode, checkMode);\n          }\n        }\n        const type = getQuickTypeOfExpression(initializer) || (contextualType ? checkExpressionWithContextualType(\n          initializer,\n          contextualType,\n          /*inferenceContext*/\n          void 0,\n          checkMode || 0\n          /* Normal */\n        ) : checkExpressionCached(initializer, checkMode));\n        return isParameter(declaration) && declaration.name.kind === 204 && isTupleType(type) && !type.target.hasRestElement && getTypeReferenceArity(type) < declaration.name.elements.length ? padTupleType(type, declaration.name) : type;\n      }\n      function padTupleType(type, pattern) {\n        const patternElements = pattern.elements;\n        const elementTypes = getTypeArguments(type).slice();\n        const elementFlags = type.target.elementFlags.slice();\n        for (let i = getTypeReferenceArity(type); i < patternElements.length; i++) {\n          const e = patternElements[i];\n          if (i < patternElements.length - 1 || !(e.kind === 205 && e.dotDotDotToken)) {\n            elementTypes.push(!isOmittedExpression(e) && hasDefaultValue(e) ? getTypeFromBindingElement(\n              e,\n              /*includePatternInType*/\n              false,\n              /*reportErrors*/\n              false\n            ) : anyType);\n            elementFlags.push(\n              2\n              /* Optional */\n            );\n            if (!isOmittedExpression(e) && !hasDefaultValue(e)) {\n              reportImplicitAny(e, anyType);\n            }\n          }\n        }\n        return createTupleType(elementTypes, elementFlags, type.target.readonly);\n      }\n      function widenTypeInferredFromInitializer(declaration, type) {\n        const widened = getCombinedNodeFlags(declaration) & 2 || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type);\n        if (isInJSFile(declaration)) {\n          if (isEmptyLiteralType(widened)) {\n            reportImplicitAny(declaration, anyType);\n            return anyType;\n          } else if (isEmptyArrayLiteralType(widened)) {\n            reportImplicitAny(declaration, anyArrayType);\n            return anyArrayType;\n          }\n        }\n        return widened;\n      }\n      function isLiteralOfContextualType(candidateType, contextualType) {\n        if (contextualType) {\n          if (contextualType.flags & 3145728) {\n            const types = contextualType.types;\n            return some(types, (t) => isLiteralOfContextualType(candidateType, t));\n          }\n          if (contextualType.flags & 58982400) {\n            const constraint = getBaseConstraintOfType(contextualType) || unknownType;\n            return maybeTypeOfKind(\n              constraint,\n              4\n              /* String */\n            ) && maybeTypeOfKind(\n              candidateType,\n              128\n              /* StringLiteral */\n            ) || maybeTypeOfKind(\n              constraint,\n              8\n              /* Number */\n            ) && maybeTypeOfKind(\n              candidateType,\n              256\n              /* NumberLiteral */\n            ) || maybeTypeOfKind(\n              constraint,\n              64\n              /* BigInt */\n            ) && maybeTypeOfKind(\n              candidateType,\n              2048\n              /* BigIntLiteral */\n            ) || maybeTypeOfKind(\n              constraint,\n              4096\n              /* ESSymbol */\n            ) && maybeTypeOfKind(\n              candidateType,\n              8192\n              /* UniqueESSymbol */\n            ) || isLiteralOfContextualType(candidateType, constraint);\n          }\n          return !!(contextualType.flags & (128 | 4194304 | 134217728 | 268435456) && maybeTypeOfKind(\n            candidateType,\n            128\n            /* StringLiteral */\n          ) || contextualType.flags & 256 && maybeTypeOfKind(\n            candidateType,\n            256\n            /* NumberLiteral */\n          ) || contextualType.flags & 2048 && maybeTypeOfKind(\n            candidateType,\n            2048\n            /* BigIntLiteral */\n          ) || contextualType.flags & 512 && maybeTypeOfKind(\n            candidateType,\n            512\n            /* BooleanLiteral */\n          ) || contextualType.flags & 8192 && maybeTypeOfKind(\n            candidateType,\n            8192\n            /* UniqueESSymbol */\n          ));\n        }\n        return false;\n      }\n      function isConstContext(node) {\n        const parent2 = node.parent;\n        return isAssertionExpression(parent2) && isConstTypeReference(parent2.type) || isJSDocTypeAssertion(parent2) && isConstTypeReference(getJSDocTypeAssertionType(parent2)) || isValidConstAssertionArgument(node) && isConstTypeParameterContext(node) || (isParenthesizedExpression(parent2) || isArrayLiteralExpression(parent2) || isSpreadElement(parent2)) && isConstContext(parent2) || (isPropertyAssignment(parent2) || isShorthandPropertyAssignment(parent2) || isTemplateSpan(parent2)) && isConstContext(parent2.parent);\n      }\n      function isConstTypeParameterContext(node) {\n        const contextualType = getContextualType2(\n          node,\n          0\n          /* None */\n        );\n        return !!contextualType && someType(contextualType, isConstTypeVariable);\n      }\n      function checkExpressionForMutableLocation(node, checkMode, forceTuple) {\n        const type = checkExpression(node, checkMode, forceTuple);\n        return isConstContext(node) || isCommonJsExportedExpression(node) ? getRegularTypeOfLiteralType(type) : isTypeAssertion(node) ? type : getWidenedLiteralLikeTypeForContextualType(type, instantiateContextualType(\n          getContextualType2(\n            node,\n            /*contextFlags*/\n            void 0\n          ),\n          node,\n          /*contextFlags*/\n          void 0\n        ));\n      }\n      function checkPropertyAssignment(node, checkMode) {\n        if (node.name.kind === 164) {\n          checkComputedPropertyName(node.name);\n        }\n        return checkExpressionForMutableLocation(node.initializer, checkMode);\n      }\n      function checkObjectLiteralMethod(node, checkMode) {\n        checkGrammarMethod(node);\n        if (node.name.kind === 164) {\n          checkComputedPropertyName(node.name);\n        }\n        const uninstantiatedType = checkFunctionExpressionOrObjectLiteralMethod(node, checkMode);\n        return instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode);\n      }\n      function instantiateTypeWithSingleGenericCallSignature(node, type, checkMode) {\n        if (checkMode && checkMode & (2 | 8)) {\n          const callSignature = getSingleSignature(\n            type,\n            0,\n            /*allowMembers*/\n            true\n          );\n          const constructSignature = getSingleSignature(\n            type,\n            1,\n            /*allowMembers*/\n            true\n          );\n          const signature = callSignature || constructSignature;\n          if (signature && signature.typeParameters) {\n            const contextualType = getApparentTypeOfContextualType(\n              node,\n              2\n              /* NoConstraints */\n            );\n            if (contextualType) {\n              const contextualSignature = getSingleSignature(\n                getNonNullableType(contextualType),\n                callSignature ? 0 : 1,\n                /*allowMembers*/\n                false\n              );\n              if (contextualSignature && !contextualSignature.typeParameters) {\n                if (checkMode & 8) {\n                  skippedGenericFunction(node, checkMode);\n                  return anyFunctionType;\n                }\n                const context = getInferenceContext(node);\n                const returnType = context.signature && getReturnTypeOfSignature(context.signature);\n                const returnSignature = returnType && getSingleCallOrConstructSignature(returnType);\n                if (returnSignature && !returnSignature.typeParameters && !every(context.inferences, hasInferenceCandidates)) {\n                  const uniqueTypeParameters = getUniqueTypeParameters(context, signature.typeParameters);\n                  const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, uniqueTypeParameters);\n                  const inferences = map(context.inferences, (info) => createInferenceInfo(info.typeParameter));\n                  applyToParameterTypes(instantiatedSignature, contextualSignature, (source, target) => {\n                    inferTypes(\n                      inferences,\n                      source,\n                      target,\n                      /*priority*/\n                      0,\n                      /*contravariant*/\n                      true\n                    );\n                  });\n                  if (some(inferences, hasInferenceCandidates)) {\n                    applyToReturnTypes(instantiatedSignature, contextualSignature, (source, target) => {\n                      inferTypes(inferences, source, target);\n                    });\n                    if (!hasOverlappingInferences(context.inferences, inferences)) {\n                      mergeInferences(context.inferences, inferences);\n                      context.inferredTypeParameters = concatenate(context.inferredTypeParameters, uniqueTypeParameters);\n                      return getOrCreateTypeFromSignature(instantiatedSignature);\n                    }\n                  }\n                }\n                return getOrCreateTypeFromSignature(instantiateSignatureInContextOf(signature, contextualSignature, context));\n              }\n            }\n          }\n        }\n        return type;\n      }\n      function skippedGenericFunction(node, checkMode) {\n        if (checkMode & 2) {\n          const context = getInferenceContext(node);\n          context.flags |= 4;\n        }\n      }\n      function hasInferenceCandidates(info) {\n        return !!(info.candidates || info.contraCandidates);\n      }\n      function hasInferenceCandidatesOrDefault(info) {\n        return !!(info.candidates || info.contraCandidates || hasTypeParameterDefault(info.typeParameter));\n      }\n      function hasOverlappingInferences(a, b) {\n        for (let i = 0; i < a.length; i++) {\n          if (hasInferenceCandidates(a[i]) && hasInferenceCandidates(b[i])) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function mergeInferences(target, source) {\n        for (let i = 0; i < target.length; i++) {\n          if (!hasInferenceCandidates(target[i]) && hasInferenceCandidates(source[i])) {\n            target[i] = source[i];\n          }\n        }\n      }\n      function getUniqueTypeParameters(context, typeParameters) {\n        const result = [];\n        let oldTypeParameters;\n        let newTypeParameters;\n        for (const tp of typeParameters) {\n          const name = tp.symbol.escapedName;\n          if (hasTypeParameterByName(context.inferredTypeParameters, name) || hasTypeParameterByName(result, name)) {\n            const newName = getUniqueTypeParameterName(concatenate(context.inferredTypeParameters, result), name);\n            const symbol = createSymbol(262144, newName);\n            const newTypeParameter = createTypeParameter(symbol);\n            newTypeParameter.target = tp;\n            oldTypeParameters = append(oldTypeParameters, tp);\n            newTypeParameters = append(newTypeParameters, newTypeParameter);\n            result.push(newTypeParameter);\n          } else {\n            result.push(tp);\n          }\n        }\n        if (newTypeParameters) {\n          const mapper = createTypeMapper(oldTypeParameters, newTypeParameters);\n          for (const tp of newTypeParameters) {\n            tp.mapper = mapper;\n          }\n        }\n        return result;\n      }\n      function hasTypeParameterByName(typeParameters, name) {\n        return some(typeParameters, (tp) => tp.symbol.escapedName === name);\n      }\n      function getUniqueTypeParameterName(typeParameters, baseName) {\n        let len = baseName.length;\n        while (len > 1 && baseName.charCodeAt(len - 1) >= 48 && baseName.charCodeAt(len - 1) <= 57)\n          len--;\n        const s = baseName.slice(0, len);\n        for (let index = 1; true; index++) {\n          const augmentedName = s + index;\n          if (!hasTypeParameterByName(typeParameters, augmentedName)) {\n            return augmentedName;\n          }\n        }\n      }\n      function getReturnTypeOfSingleNonGenericCallSignature(funcType) {\n        const signature = getSingleCallSignature(funcType);\n        if (signature && !signature.typeParameters) {\n          return getReturnTypeOfSignature(signature);\n        }\n      }\n      function getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) {\n        const funcType = checkExpression(expr.expression);\n        const nonOptionalType = getOptionalExpressionType(funcType, expr.expression);\n        const returnType = getReturnTypeOfSingleNonGenericCallSignature(funcType);\n        return returnType && propagateOptionalTypeMarker(returnType, expr, nonOptionalType !== funcType);\n      }\n      function getTypeOfExpression(node) {\n        const quickType = getQuickTypeOfExpression(node);\n        if (quickType) {\n          return quickType;\n        }\n        if (node.flags & 134217728 && flowTypeCache) {\n          const cachedType = flowTypeCache[getNodeId(node)];\n          if (cachedType) {\n            return cachedType;\n          }\n        }\n        const startInvocationCount = flowInvocationCount;\n        const type = checkExpression(node);\n        if (flowInvocationCount !== startInvocationCount) {\n          const cache = flowTypeCache || (flowTypeCache = []);\n          cache[getNodeId(node)] = type;\n          setNodeFlags(\n            node,\n            node.flags | 134217728\n            /* TypeCached */\n          );\n        }\n        return type;\n      }\n      function getQuickTypeOfExpression(node) {\n        let expr = skipParentheses(\n          node,\n          /*excludeJSDocTypeAssertions*/\n          true\n        );\n        if (isJSDocTypeAssertion(expr)) {\n          const type = getJSDocTypeAssertionType(expr);\n          if (!isConstTypeReference(type)) {\n            return getTypeFromTypeNode(type);\n          }\n        }\n        expr = skipParentheses(node);\n        if (isAwaitExpression(expr)) {\n          const type = getQuickTypeOfExpression(expr.expression);\n          return type ? getAwaitedType(type) : void 0;\n        }\n        if (isCallExpression(expr) && expr.expression.kind !== 106 && !isRequireCall(\n          expr,\n          /*checkArgumentIsStringLiteralLike*/\n          true\n        ) && !isSymbolOrSymbolForCall(expr)) {\n          return isCallChain(expr) ? getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) : getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(expr.expression));\n        } else if (isAssertionExpression(expr) && !isConstTypeReference(expr.type)) {\n          return getTypeFromTypeNode(expr.type);\n        } else if (isLiteralExpression(node) || isBooleanLiteral(node)) {\n          return checkExpression(node);\n        }\n        return void 0;\n      }\n      function getContextFreeTypeOfExpression(node) {\n        const links = getNodeLinks(node);\n        if (links.contextFreeType) {\n          return links.contextFreeType;\n        }\n        pushContextualType(\n          node,\n          anyType,\n          /*isCache*/\n          false\n        );\n        const type = links.contextFreeType = checkExpression(\n          node,\n          4\n          /* SkipContextSensitive */\n        );\n        popContextualType();\n        return type;\n      }\n      function checkExpression(node, checkMode, forceTuple) {\n        var _a22, _b3;\n        (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.Check, \"checkExpression\", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });\n        const saveCurrentNode = currentNode;\n        currentNode = node;\n        instantiationCount = 0;\n        const uninstantiatedType = checkExpressionWorker(node, checkMode, forceTuple);\n        const type = instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode);\n        if (isConstEnumObjectType(type)) {\n          checkConstEnumAccess(node, type);\n        }\n        currentNode = saveCurrentNode;\n        (_b3 = tracing) == null ? void 0 : _b3.pop();\n        return type;\n      }\n      function checkConstEnumAccess(node, type) {\n        const ok = node.parent.kind === 208 && node.parent.expression === node || node.parent.kind === 209 && node.parent.expression === node || ((node.kind === 79 || node.kind === 163) && isInRightSideOfImportOrExportAssignment(node) || node.parent.kind === 183 && node.parent.exprName === node) || node.parent.kind === 278;\n        if (!ok) {\n          error(node, Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);\n        }\n        if (getIsolatedModules(compilerOptions)) {\n          Debug2.assert(!!(type.symbol.flags & 128));\n          const constEnumDeclaration = type.symbol.valueDeclaration;\n          if (constEnumDeclaration.flags & 16777216) {\n            error(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName);\n          }\n        }\n      }\n      function checkParenthesizedExpression(node, checkMode) {\n        if (hasJSDocNodes(node)) {\n          if (isJSDocSatisfiesExpression(node)) {\n            return checkSatisfiesExpressionWorker(node.expression, getJSDocSatisfiesExpressionType(node), checkMode);\n          }\n          if (isJSDocTypeAssertion(node)) {\n            const type = getJSDocTypeAssertionType(node);\n            return checkAssertionWorker(type, type, node.expression, checkMode);\n          }\n        }\n        return checkExpression(node.expression, checkMode);\n      }\n      function checkExpressionWorker(node, checkMode, forceTuple) {\n        const kind = node.kind;\n        if (cancellationToken) {\n          switch (kind) {\n            case 228:\n            case 215:\n            case 216:\n              cancellationToken.throwIfCancellationRequested();\n          }\n        }\n        switch (kind) {\n          case 79:\n            return checkIdentifier(node, checkMode);\n          case 80:\n            return checkPrivateIdentifierExpression(node);\n          case 108:\n            return checkThisExpression(node);\n          case 106:\n            return checkSuperExpression(node);\n          case 104:\n            return nullWideningType;\n          case 14:\n          case 10:\n            return getFreshTypeOfLiteralType(getStringLiteralType(node.text));\n          case 8:\n            checkGrammarNumericLiteral(node);\n            return getFreshTypeOfLiteralType(getNumberLiteralType(+node.text));\n          case 9:\n            checkGrammarBigIntLiteral(node);\n            return getFreshTypeOfLiteralType(getBigIntLiteralType({\n              negative: false,\n              base10Value: parsePseudoBigInt(node.text)\n            }));\n          case 110:\n            return trueType;\n          case 95:\n            return falseType;\n          case 225:\n            return checkTemplateExpression(node);\n          case 13:\n            return globalRegExpType;\n          case 206:\n            return checkArrayLiteral(node, checkMode, forceTuple);\n          case 207:\n            return checkObjectLiteral(node, checkMode);\n          case 208:\n            return checkPropertyAccessExpression(node, checkMode);\n          case 163:\n            return checkQualifiedName(node, checkMode);\n          case 209:\n            return checkIndexedAccess(node, checkMode);\n          case 210:\n            if (node.expression.kind === 100) {\n              return checkImportCallExpression(node);\n            }\n          case 211:\n            return checkCallExpression(node, checkMode);\n          case 212:\n            return checkTaggedTemplateExpression(node);\n          case 214:\n            return checkParenthesizedExpression(node, checkMode);\n          case 228:\n            return checkClassExpression(node);\n          case 215:\n          case 216:\n            return checkFunctionExpressionOrObjectLiteralMethod(node, checkMode);\n          case 218:\n            return checkTypeOfExpression(node);\n          case 213:\n          case 231:\n            return checkAssertion(node);\n          case 232:\n            return checkNonNullAssertion(node);\n          case 230:\n            return checkExpressionWithTypeArguments(node);\n          case 235:\n            return checkSatisfiesExpression(node);\n          case 233:\n            return checkMetaProperty(node);\n          case 217:\n            return checkDeleteExpression(node);\n          case 219:\n            return checkVoidExpression(node);\n          case 220:\n            return checkAwaitExpression(node);\n          case 221:\n            return checkPrefixUnaryExpression(node);\n          case 222:\n            return checkPostfixUnaryExpression(node);\n          case 223:\n            return checkBinaryExpression(node, checkMode);\n          case 224:\n            return checkConditionalExpression(node, checkMode);\n          case 227:\n            return checkSpreadExpression(node, checkMode);\n          case 229:\n            return undefinedWideningType;\n          case 226:\n            return checkYieldExpression(node);\n          case 234:\n            return checkSyntheticExpression(node);\n          case 291:\n            return checkJsxExpression(node, checkMode);\n          case 281:\n            return checkJsxElement(node, checkMode);\n          case 282:\n            return checkJsxSelfClosingElement(node, checkMode);\n          case 285:\n            return checkJsxFragment(node);\n          case 289:\n            return checkJsxAttributes(node, checkMode);\n          case 283:\n            Debug2.fail(\"Shouldn't ever directly check a JsxOpeningElement\");\n        }\n        return errorType;\n      }\n      function checkTypeParameter(node) {\n        checkGrammarModifiers(node);\n        if (node.expression) {\n          grammarErrorOnFirstToken(node.expression, Diagnostics.Type_expected);\n        }\n        checkSourceElement(node.constraint);\n        checkSourceElement(node.default);\n        const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node));\n        getBaseConstraintOfType(typeParameter);\n        if (!hasNonCircularTypeParameterDefault(typeParameter)) {\n          error(node.default, Diagnostics.Type_parameter_0_has_a_circular_default, typeToString(typeParameter));\n        }\n        const constraintType = getConstraintOfTypeParameter(typeParameter);\n        const defaultType = getDefaultFromTypeParameter(typeParameter);\n        if (constraintType && defaultType) {\n          checkTypeAssignableTo(defaultType, getTypeWithThisArgument(instantiateType(constraintType, makeUnaryTypeMapper(typeParameter, defaultType)), defaultType), node.default, Diagnostics.Type_0_does_not_satisfy_the_constraint_1);\n        }\n        checkNodeDeferred(node);\n        addLazyDiagnostic(() => checkTypeNameIsReserved(node.name, Diagnostics.Type_parameter_name_cannot_be_0));\n      }\n      function checkTypeParameterDeferred(node) {\n        var _a22, _b3;\n        if (isInterfaceDeclaration(node.parent) || isClassLike(node.parent) || isTypeAliasDeclaration(node.parent)) {\n          const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node));\n          const modifiers = getTypeParameterModifiers(typeParameter) & (32768 | 65536);\n          if (modifiers) {\n            const symbol = getSymbolOfDeclaration(node.parent);\n            if (isTypeAliasDeclaration(node.parent) && !(getObjectFlags(getDeclaredTypeOfSymbol(symbol)) & (16 | 32))) {\n              error(node, Diagnostics.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);\n            } else if (modifiers === 32768 || modifiers === 65536) {\n              (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.CheckTypes, \"checkTypeParameterDeferred\", { parent: getTypeId(getDeclaredTypeOfSymbol(symbol)), id: getTypeId(typeParameter) });\n              const source = createMarkerType(symbol, typeParameter, modifiers === 65536 ? markerSubTypeForCheck : markerSuperTypeForCheck);\n              const target = createMarkerType(symbol, typeParameter, modifiers === 65536 ? markerSuperTypeForCheck : markerSubTypeForCheck);\n              const saveVarianceTypeParameter = typeParameter;\n              varianceTypeParameter = typeParameter;\n              checkTypeAssignableTo(source, target, node, Diagnostics.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation);\n              varianceTypeParameter = saveVarianceTypeParameter;\n              (_b3 = tracing) == null ? void 0 : _b3.pop();\n            }\n          }\n        }\n      }\n      function checkParameter(node) {\n        checkGrammarModifiers(node);\n        checkVariableLikeDeclaration(node);\n        const func = getContainingFunction(node);\n        if (hasSyntacticModifier(\n          node,\n          16476\n          /* ParameterPropertyModifier */\n        )) {\n          if (!(func.kind === 173 && nodeIsPresent(func.body))) {\n            error(node, Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation);\n          }\n          if (func.kind === 173 && isIdentifier(node.name) && node.name.escapedText === \"constructor\") {\n            error(node.name, Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name);\n          }\n        }\n        if (!node.initializer && isOptionalDeclaration(node) && isBindingPattern(node.name) && func.body) {\n          error(node, Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature);\n        }\n        if (node.name && isIdentifier(node.name) && (node.name.escapedText === \"this\" || node.name.escapedText === \"new\")) {\n          if (func.parameters.indexOf(node) !== 0) {\n            error(node, Diagnostics.A_0_parameter_must_be_the_first_parameter, node.name.escapedText);\n          }\n          if (func.kind === 173 || func.kind === 177 || func.kind === 182) {\n            error(node, Diagnostics.A_constructor_cannot_have_a_this_parameter);\n          }\n          if (func.kind === 216) {\n            error(node, Diagnostics.An_arrow_function_cannot_have_a_this_parameter);\n          }\n          if (func.kind === 174 || func.kind === 175) {\n            error(node, Diagnostics.get_and_set_accessors_cannot_declare_this_parameters);\n          }\n        }\n        if (node.dotDotDotToken && !isBindingPattern(node.name) && !isTypeAssignableTo(getReducedType(getTypeOfSymbol(node.symbol)), anyReadonlyArrayType)) {\n          error(node, Diagnostics.A_rest_parameter_must_be_of_an_array_type);\n        }\n      }\n      function checkTypePredicate(node) {\n        const parent2 = getTypePredicateParent(node);\n        if (!parent2) {\n          error(node, Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);\n          return;\n        }\n        const signature = getSignatureFromDeclaration(parent2);\n        const typePredicate = getTypePredicateOfSignature(signature);\n        if (!typePredicate) {\n          return;\n        }\n        checkSourceElement(node.type);\n        const { parameterName } = node;\n        if (typePredicate.kind === 0 || typePredicate.kind === 2) {\n          getTypeFromThisTypeNode(parameterName);\n        } else {\n          if (typePredicate.parameterIndex >= 0) {\n            if (signatureHasRestParameter(signature) && typePredicate.parameterIndex === signature.parameters.length - 1) {\n              error(parameterName, Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);\n            } else {\n              if (typePredicate.type) {\n                const leadingError = () => chainDiagnosticMessages(\n                  /*details*/\n                  void 0,\n                  Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type\n                );\n                checkTypeAssignableTo(\n                  typePredicate.type,\n                  getTypeOfSymbol(signature.parameters[typePredicate.parameterIndex]),\n                  node.type,\n                  /*headMessage*/\n                  void 0,\n                  leadingError\n                );\n              }\n            }\n          } else if (parameterName) {\n            let hasReportedError = false;\n            for (const { name } of parent2.parameters) {\n              if (isBindingPattern(name) && checkIfTypePredicateVariableIsDeclaredInBindingPattern(name, parameterName, typePredicate.parameterName)) {\n                hasReportedError = true;\n                break;\n              }\n            }\n            if (!hasReportedError) {\n              error(node.parameterName, Diagnostics.Cannot_find_parameter_0, typePredicate.parameterName);\n            }\n          }\n        }\n      }\n      function getTypePredicateParent(node) {\n        switch (node.parent.kind) {\n          case 216:\n          case 176:\n          case 259:\n          case 215:\n          case 181:\n          case 171:\n          case 170:\n            const parent2 = node.parent;\n            if (node === parent2.type) {\n              return parent2;\n            }\n        }\n      }\n      function checkIfTypePredicateVariableIsDeclaredInBindingPattern(pattern, predicateVariableNode, predicateVariableName) {\n        for (const element of pattern.elements) {\n          if (isOmittedExpression(element)) {\n            continue;\n          }\n          const name = element.name;\n          if (name.kind === 79 && name.escapedText === predicateVariableName) {\n            error(\n              predicateVariableNode,\n              Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,\n              predicateVariableName\n            );\n            return true;\n          } else if (name.kind === 204 || name.kind === 203) {\n            if (checkIfTypePredicateVariableIsDeclaredInBindingPattern(\n              name,\n              predicateVariableNode,\n              predicateVariableName\n            )) {\n              return true;\n            }\n          }\n        }\n      }\n      function checkSignatureDeclaration(node) {\n        if (node.kind === 178) {\n          checkGrammarIndexSignature(node);\n        } else if (node.kind === 181 || node.kind === 259 || node.kind === 182 || node.kind === 176 || node.kind === 173 || node.kind === 177) {\n          checkGrammarFunctionLikeDeclaration(node);\n        }\n        const functionFlags = getFunctionFlags(node);\n        if (!(functionFlags & 4)) {\n          if ((functionFlags & 3) === 3 && languageVersion < 99) {\n            checkExternalEmitHelpers(\n              node,\n              6144\n              /* AsyncGeneratorIncludes */\n            );\n          }\n          if ((functionFlags & 3) === 2 && languageVersion < 4) {\n            checkExternalEmitHelpers(\n              node,\n              64\n              /* Awaiter */\n            );\n          }\n          if ((functionFlags & 3) !== 0 && languageVersion < 2) {\n            checkExternalEmitHelpers(\n              node,\n              128\n              /* Generator */\n            );\n          }\n        }\n        checkTypeParameters(getEffectiveTypeParameterDeclarations(node));\n        checkUnmatchedJSDocParameters(node);\n        forEach(node.parameters, checkParameter);\n        if (node.type) {\n          checkSourceElement(node.type);\n        }\n        addLazyDiagnostic(checkSignatureDeclarationDiagnostics);\n        function checkSignatureDeclarationDiagnostics() {\n          checkCollisionWithArgumentsInGeneratedCode(node);\n          const returnTypeNode = getEffectiveReturnTypeNode(node);\n          if (noImplicitAny && !returnTypeNode) {\n            switch (node.kind) {\n              case 177:\n                error(node, Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);\n                break;\n              case 176:\n                error(node, Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);\n                break;\n            }\n          }\n          if (returnTypeNode) {\n            const functionFlags2 = getFunctionFlags(node);\n            if ((functionFlags2 & (4 | 1)) === 1) {\n              const returnType = getTypeFromTypeNode(returnTypeNode);\n              if (returnType === voidType) {\n                error(returnTypeNode, Diagnostics.A_generator_cannot_have_a_void_type_annotation);\n              } else {\n                const generatorYieldType = getIterationTypeOfGeneratorFunctionReturnType(0, returnType, (functionFlags2 & 2) !== 0) || anyType;\n                const generatorReturnType = getIterationTypeOfGeneratorFunctionReturnType(1, returnType, (functionFlags2 & 2) !== 0) || generatorYieldType;\n                const generatorNextType = getIterationTypeOfGeneratorFunctionReturnType(2, returnType, (functionFlags2 & 2) !== 0) || unknownType;\n                const generatorInstantiation = createGeneratorReturnType(generatorYieldType, generatorReturnType, generatorNextType, !!(functionFlags2 & 2));\n                checkTypeAssignableTo(generatorInstantiation, returnType, returnTypeNode);\n              }\n            } else if ((functionFlags2 & 3) === 2) {\n              checkAsyncFunctionReturnType(node, returnTypeNode);\n            }\n          }\n          if (node.kind !== 178 && node.kind !== 320) {\n            registerForUnusedIdentifiersCheck(node);\n          }\n        }\n      }\n      function checkClassForDuplicateDeclarations(node) {\n        const instanceNames = /* @__PURE__ */ new Map();\n        const staticNames = /* @__PURE__ */ new Map();\n        const privateIdentifiers = /* @__PURE__ */ new Map();\n        for (const member of node.members) {\n          if (member.kind === 173) {\n            for (const param of member.parameters) {\n              if (isParameterPropertyDeclaration(param, member) && !isBindingPattern(param.name)) {\n                addName(\n                  instanceNames,\n                  param.name,\n                  param.name.escapedText,\n                  3\n                  /* GetOrSetAccessor */\n                );\n              }\n            }\n          } else {\n            const isStaticMember = isStatic(member);\n            const name = member.name;\n            if (!name) {\n              continue;\n            }\n            const isPrivate = isPrivateIdentifier(name);\n            const privateStaticFlags = isPrivate && isStaticMember ? 16 : 0;\n            const names = isPrivate ? privateIdentifiers : isStaticMember ? staticNames : instanceNames;\n            const memberName = name && getPropertyNameForPropertyNameNode(name);\n            if (memberName) {\n              switch (member.kind) {\n                case 174:\n                  addName(names, name, memberName, 1 | privateStaticFlags);\n                  break;\n                case 175:\n                  addName(names, name, memberName, 2 | privateStaticFlags);\n                  break;\n                case 169:\n                  addName(names, name, memberName, 3 | privateStaticFlags);\n                  break;\n                case 171:\n                  addName(names, name, memberName, 8 | privateStaticFlags);\n                  break;\n              }\n            }\n          }\n        }\n        function addName(names, location, name, meaning) {\n          const prev = names.get(name);\n          if (prev) {\n            if ((prev & 16) !== (meaning & 16)) {\n              error(location, Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name, getTextOfNode(location));\n            } else {\n              const prevIsMethod = !!(prev & 8);\n              const isMethod = !!(meaning & 8);\n              if (prevIsMethod || isMethod) {\n                if (prevIsMethod !== isMethod) {\n                  error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location));\n                }\n              } else if (prev & meaning & ~16) {\n                error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location));\n              } else {\n                names.set(name, prev | meaning);\n              }\n            }\n          } else {\n            names.set(name, meaning);\n          }\n        }\n      }\n      function checkClassForStaticPropertyNameConflicts(node) {\n        for (const member of node.members) {\n          const memberNameNode = member.name;\n          const isStaticMember = isStatic(member);\n          if (isStaticMember && memberNameNode) {\n            const memberName = getPropertyNameForPropertyNameNode(memberNameNode);\n            switch (memberName) {\n              case \"name\":\n              case \"length\":\n              case \"caller\":\n              case \"arguments\":\n              case \"prototype\":\n                const message = Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1;\n                const className = getNameOfSymbolAsWritten(getSymbolOfDeclaration(node));\n                error(memberNameNode, message, memberName, className);\n                break;\n            }\n          }\n        }\n      }\n      function checkObjectTypeForDuplicateDeclarations(node) {\n        const names = /* @__PURE__ */ new Map();\n        for (const member of node.members) {\n          if (member.kind === 168) {\n            let memberName;\n            const name = member.name;\n            switch (name.kind) {\n              case 10:\n              case 8:\n                memberName = name.text;\n                break;\n              case 79:\n                memberName = idText(name);\n                break;\n              default:\n                continue;\n            }\n            if (names.get(memberName)) {\n              error(getNameOfDeclaration(member.symbol.valueDeclaration), Diagnostics.Duplicate_identifier_0, memberName);\n              error(member.name, Diagnostics.Duplicate_identifier_0, memberName);\n            } else {\n              names.set(memberName, true);\n            }\n          }\n        }\n      }\n      function checkTypeForDuplicateIndexSignatures(node) {\n        if (node.kind === 261) {\n          const nodeSymbol = getSymbolOfDeclaration(node);\n          if (nodeSymbol.declarations && nodeSymbol.declarations.length > 0 && nodeSymbol.declarations[0] !== node) {\n            return;\n          }\n        }\n        const indexSymbol = getIndexSymbol(getSymbolOfDeclaration(node));\n        if (indexSymbol == null ? void 0 : indexSymbol.declarations) {\n          const indexSignatureMap = /* @__PURE__ */ new Map();\n          for (const declaration of indexSymbol.declarations) {\n            if (declaration.parameters.length === 1 && declaration.parameters[0].type) {\n              forEachType(getTypeFromTypeNode(declaration.parameters[0].type), (type) => {\n                const entry = indexSignatureMap.get(getTypeId(type));\n                if (entry) {\n                  entry.declarations.push(declaration);\n                } else {\n                  indexSignatureMap.set(getTypeId(type), { type, declarations: [declaration] });\n                }\n              });\n            }\n          }\n          indexSignatureMap.forEach((entry) => {\n            if (entry.declarations.length > 1) {\n              for (const declaration of entry.declarations) {\n                error(declaration, Diagnostics.Duplicate_index_signature_for_type_0, typeToString(entry.type));\n              }\n            }\n          });\n        }\n      }\n      function checkPropertyDeclaration(node) {\n        if (!checkGrammarModifiers(node) && !checkGrammarProperty(node))\n          checkGrammarComputedPropertyName(node.name);\n        checkVariableLikeDeclaration(node);\n        setNodeLinksForPrivateIdentifierScope(node);\n        if (hasSyntacticModifier(\n          node,\n          256\n          /* Abstract */\n        ) && node.kind === 169 && node.initializer) {\n          error(node, Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract, declarationNameToString(node.name));\n        }\n      }\n      function checkPropertySignature(node) {\n        if (isPrivateIdentifier(node.name)) {\n          error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n        }\n        return checkPropertyDeclaration(node);\n      }\n      function checkMethodDeclaration(node) {\n        if (!checkGrammarMethod(node))\n          checkGrammarComputedPropertyName(node.name);\n        if (isMethodDeclaration(node) && node.asteriskToken && isIdentifier(node.name) && idText(node.name) === \"constructor\") {\n          error(node.name, Diagnostics.Class_constructor_may_not_be_a_generator);\n        }\n        checkFunctionOrMethodDeclaration(node);\n        if (hasSyntacticModifier(\n          node,\n          256\n          /* Abstract */\n        ) && node.kind === 171 && node.body) {\n          error(node, Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract, declarationNameToString(node.name));\n        }\n        if (isPrivateIdentifier(node.name) && !getContainingClass(node)) {\n          error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n        }\n        setNodeLinksForPrivateIdentifierScope(node);\n      }\n      function setNodeLinksForPrivateIdentifierScope(node) {\n        if (isPrivateIdentifier(node.name) && languageVersion < 99) {\n          for (let lexicalScope = getEnclosingBlockScopeContainer(node); !!lexicalScope; lexicalScope = getEnclosingBlockScopeContainer(lexicalScope)) {\n            getNodeLinks(lexicalScope).flags |= 4194304;\n          }\n          if (isClassExpression(node.parent)) {\n            const enclosingIterationStatement = getEnclosingIterationStatement(node.parent);\n            if (enclosingIterationStatement) {\n              getNodeLinks(node.name).flags |= 32768;\n              getNodeLinks(enclosingIterationStatement).flags |= 4096;\n            }\n          }\n        }\n      }\n      function checkClassStaticBlockDeclaration(node) {\n        checkGrammarModifiers(node);\n        forEachChild(node, checkSourceElement);\n      }\n      function checkConstructorDeclaration(node) {\n        checkSignatureDeclaration(node);\n        if (!checkGrammarConstructorTypeParameters(node))\n          checkGrammarConstructorTypeAnnotation(node);\n        checkSourceElement(node.body);\n        const symbol = getSymbolOfDeclaration(node);\n        const firstDeclaration = getDeclarationOfKind(symbol, node.kind);\n        if (node === firstDeclaration) {\n          checkFunctionOrConstructorSymbol(symbol);\n        }\n        if (nodeIsMissing(node.body)) {\n          return;\n        }\n        addLazyDiagnostic(checkConstructorDeclarationDiagnostics);\n        return;\n        function isInstancePropertyWithInitializerOrPrivateIdentifierProperty(n) {\n          if (isPrivateIdentifierClassElementDeclaration(n)) {\n            return true;\n          }\n          return n.kind === 169 && !isStatic(n) && !!n.initializer;\n        }\n        function checkConstructorDeclarationDiagnostics() {\n          const containingClassDecl = node.parent;\n          if (getClassExtendsHeritageElement(containingClassDecl)) {\n            captureLexicalThis(node.parent, containingClassDecl);\n            const classExtendsNull = classDeclarationExtendsNull(containingClassDecl);\n            const superCall = findFirstSuperCall(node.body);\n            if (superCall) {\n              if (classExtendsNull) {\n                error(superCall, Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null);\n              }\n              const superCallShouldBeRootLevel = (getEmitScriptTarget(compilerOptions) !== 99 || !useDefineForClassFields) && (some(node.parent.members, isInstancePropertyWithInitializerOrPrivateIdentifierProperty) || some(node.parameters, (p) => hasSyntacticModifier(\n                p,\n                16476\n                /* ParameterPropertyModifier */\n              )));\n              if (superCallShouldBeRootLevel) {\n                if (!superCallIsRootLevelInConstructor(superCall, node.body)) {\n                  error(superCall, Diagnostics.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers);\n                } else {\n                  let superCallStatement;\n                  for (const statement of node.body.statements) {\n                    if (isExpressionStatement(statement) && isSuperCall(skipOuterExpressions(statement.expression))) {\n                      superCallStatement = statement;\n                      break;\n                    }\n                    if (nodeImmediatelyReferencesSuperOrThis(statement)) {\n                      break;\n                    }\n                  }\n                  if (superCallStatement === void 0) {\n                    error(node, Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers);\n                  }\n                }\n              }\n            } else if (!classExtendsNull) {\n              error(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call);\n            }\n          }\n        }\n      }\n      function superCallIsRootLevelInConstructor(superCall, body) {\n        const superCallParent = walkUpParenthesizedExpressions(superCall.parent);\n        return isExpressionStatement(superCallParent) && superCallParent.parent === body;\n      }\n      function nodeImmediatelyReferencesSuperOrThis(node) {\n        if (node.kind === 106 || node.kind === 108) {\n          return true;\n        }\n        if (isThisContainerOrFunctionBlock(node)) {\n          return false;\n        }\n        return !!forEachChild(node, nodeImmediatelyReferencesSuperOrThis);\n      }\n      function checkAccessorDeclaration(node) {\n        if (isIdentifier(node.name) && idText(node.name) === \"constructor\") {\n          error(node.name, Diagnostics.Class_constructor_may_not_be_an_accessor);\n        }\n        addLazyDiagnostic(checkAccessorDeclarationDiagnostics);\n        checkSourceElement(node.body);\n        setNodeLinksForPrivateIdentifierScope(node);\n        function checkAccessorDeclarationDiagnostics() {\n          if (!checkGrammarFunctionLikeDeclaration(node) && !checkGrammarAccessor(node))\n            checkGrammarComputedPropertyName(node.name);\n          checkDecorators(node);\n          checkSignatureDeclaration(node);\n          if (node.kind === 174) {\n            if (!(node.flags & 16777216) && nodeIsPresent(node.body) && node.flags & 256) {\n              if (!(node.flags & 512)) {\n                error(node.name, Diagnostics.A_get_accessor_must_return_a_value);\n              }\n            }\n          }\n          if (node.name.kind === 164) {\n            checkComputedPropertyName(node.name);\n          }\n          if (hasBindableName(node)) {\n            const symbol = getSymbolOfDeclaration(node);\n            const getter = getDeclarationOfKind(\n              symbol,\n              174\n              /* GetAccessor */\n            );\n            const setter = getDeclarationOfKind(\n              symbol,\n              175\n              /* SetAccessor */\n            );\n            if (getter && setter && !(getNodeCheckFlags(getter) & 1)) {\n              getNodeLinks(getter).flags |= 1;\n              const getterFlags = getEffectiveModifierFlags(getter);\n              const setterFlags = getEffectiveModifierFlags(setter);\n              if ((getterFlags & 256) !== (setterFlags & 256)) {\n                error(getter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract);\n                error(setter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract);\n              }\n              if (getterFlags & 16 && !(setterFlags & (16 | 8)) || getterFlags & 8 && !(setterFlags & 8)) {\n                error(getter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter);\n                error(setter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter);\n              }\n              const getterType = getAnnotatedAccessorType(getter);\n              const setterType = getAnnotatedAccessorType(setter);\n              if (getterType && setterType) {\n                checkTypeAssignableTo(getterType, setterType, getter, Diagnostics.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type);\n              }\n            }\n          }\n          const returnType = getTypeOfAccessors(getSymbolOfDeclaration(node));\n          if (node.kind === 174) {\n            checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType);\n          }\n        }\n      }\n      function checkMissingDeclaration(node) {\n        checkDecorators(node);\n      }\n      function getEffectiveTypeArgumentAtIndex(node, typeParameters, index) {\n        if (node.typeArguments && index < node.typeArguments.length) {\n          return getTypeFromTypeNode(node.typeArguments[index]);\n        }\n        return getEffectiveTypeArguments2(node, typeParameters)[index];\n      }\n      function getEffectiveTypeArguments2(node, typeParameters) {\n        return fillMissingTypeArguments(\n          map(node.typeArguments, getTypeFromTypeNode),\n          typeParameters,\n          getMinTypeArgumentCount(typeParameters),\n          isInJSFile(node)\n        );\n      }\n      function checkTypeArgumentConstraints(node, typeParameters) {\n        let typeArguments;\n        let mapper;\n        let result = true;\n        for (let i = 0; i < typeParameters.length; i++) {\n          const constraint = getConstraintOfTypeParameter(typeParameters[i]);\n          if (constraint) {\n            if (!typeArguments) {\n              typeArguments = getEffectiveTypeArguments2(node, typeParameters);\n              mapper = createTypeMapper(typeParameters, typeArguments);\n            }\n            result = result && checkTypeAssignableTo(\n              typeArguments[i],\n              instantiateType(constraint, mapper),\n              node.typeArguments[i],\n              Diagnostics.Type_0_does_not_satisfy_the_constraint_1\n            );\n          }\n        }\n        return result;\n      }\n      function getTypeParametersForTypeAndSymbol(type, symbol) {\n        if (!isErrorType(type)) {\n          return symbol.flags & 524288 && getSymbolLinks(symbol).typeParameters || (getObjectFlags(type) & 4 ? type.target.localTypeParameters : void 0);\n        }\n        return void 0;\n      }\n      function getTypeParametersForTypeReferenceOrImport(node) {\n        const type = getTypeFromTypeNode(node);\n        if (!isErrorType(type)) {\n          const symbol = getNodeLinks(node).resolvedSymbol;\n          if (symbol) {\n            return getTypeParametersForTypeAndSymbol(type, symbol);\n          }\n        }\n        return void 0;\n      }\n      function checkTypeReferenceNode(node) {\n        checkGrammarTypeArguments(node, node.typeArguments);\n        if (node.kind === 180 && !isInJSFile(node) && !isInJSDoc(node) && node.typeArguments && node.typeName.end !== node.typeArguments.pos) {\n          const sourceFile = getSourceFileOfNode(node);\n          if (scanTokenAtPosition(sourceFile, node.typeName.end) === 24) {\n            grammarErrorAtPos(node, skipTrivia(sourceFile.text, node.typeName.end), 1, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments);\n          }\n        }\n        forEach(node.typeArguments, checkSourceElement);\n        checkTypeReferenceOrImport(node);\n      }\n      function checkTypeReferenceOrImport(node) {\n        const type = getTypeFromTypeNode(node);\n        if (!isErrorType(type)) {\n          if (node.typeArguments) {\n            addLazyDiagnostic(() => {\n              const typeParameters = getTypeParametersForTypeReferenceOrImport(node);\n              if (typeParameters) {\n                checkTypeArgumentConstraints(node, typeParameters);\n              }\n            });\n          }\n          const symbol = getNodeLinks(node).resolvedSymbol;\n          if (symbol) {\n            if (some(symbol.declarations, (d) => isTypeDeclaration(d) && !!(d.flags & 268435456))) {\n              addDeprecatedSuggestion(\n                getDeprecatedSuggestionNode(node),\n                symbol.declarations,\n                symbol.escapedName\n              );\n            }\n          }\n        }\n      }\n      function getTypeArgumentConstraint(node) {\n        const typeReferenceNode = tryCast(node.parent, isTypeReferenceType);\n        if (!typeReferenceNode)\n          return void 0;\n        const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReferenceNode);\n        if (!typeParameters)\n          return void 0;\n        const constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]);\n        return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments2(typeReferenceNode, typeParameters)));\n      }\n      function checkTypeQuery(node) {\n        getTypeFromTypeQueryNode(node);\n      }\n      function checkTypeLiteral(node) {\n        forEach(node.members, checkSourceElement);\n        addLazyDiagnostic(checkTypeLiteralDiagnostics);\n        function checkTypeLiteralDiagnostics() {\n          const type = getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node);\n          checkIndexConstraints(type, type.symbol);\n          checkTypeForDuplicateIndexSignatures(node);\n          checkObjectTypeForDuplicateDeclarations(node);\n        }\n      }\n      function checkArrayType(node) {\n        checkSourceElement(node.elementType);\n      }\n      function checkTupleType(node) {\n        const elementTypes = node.elements;\n        let seenOptionalElement = false;\n        let seenRestElement = false;\n        const hasNamedElement = some(elementTypes, isNamedTupleMember);\n        for (const e of elementTypes) {\n          if (e.kind !== 199 && hasNamedElement) {\n            grammarErrorOnNode(e, Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);\n            break;\n          }\n          const flags = getTupleElementFlags(e);\n          if (flags & 8) {\n            const type = getTypeFromTypeNode(e.type);\n            if (!isArrayLikeType(type)) {\n              error(e, Diagnostics.A_rest_element_type_must_be_an_array_type);\n              break;\n            }\n            if (isArrayType(type) || isTupleType(type) && type.target.combinedFlags & 4) {\n              seenRestElement = true;\n            }\n          } else if (flags & 4) {\n            if (seenRestElement) {\n              grammarErrorOnNode(e, Diagnostics.A_rest_element_cannot_follow_another_rest_element);\n              break;\n            }\n            seenRestElement = true;\n          } else if (flags & 2) {\n            if (seenRestElement) {\n              grammarErrorOnNode(e, Diagnostics.An_optional_element_cannot_follow_a_rest_element);\n              break;\n            }\n            seenOptionalElement = true;\n          } else if (seenOptionalElement) {\n            grammarErrorOnNode(e, Diagnostics.A_required_element_cannot_follow_an_optional_element);\n            break;\n          }\n        }\n        forEach(node.elements, checkSourceElement);\n        getTypeFromTypeNode(node);\n      }\n      function checkUnionOrIntersectionType(node) {\n        forEach(node.types, checkSourceElement);\n        getTypeFromTypeNode(node);\n      }\n      function checkIndexedAccessIndexType(type, accessNode) {\n        if (!(type.flags & 8388608)) {\n          return type;\n        }\n        const objectType = type.objectType;\n        const indexType = type.indexType;\n        if (isTypeAssignableTo(indexType, getIndexType(\n          objectType,\n          /*stringsOnly*/\n          false\n        ))) {\n          if (accessNode.kind === 209 && isAssignmentTarget(accessNode) && getObjectFlags(objectType) & 32 && getMappedTypeModifiers(objectType) & 1) {\n            error(accessNode, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType));\n          }\n          return type;\n        }\n        const apparentObjectType = getApparentType(objectType);\n        if (getIndexInfoOfType(apparentObjectType, numberType) && isTypeAssignableToKind(\n          indexType,\n          296\n          /* NumberLike */\n        )) {\n          return type;\n        }\n        if (isGenericObjectType(objectType)) {\n          const propertyName = getPropertyNameFromIndex(indexType, accessNode);\n          if (propertyName) {\n            const propertySymbol = forEachType(apparentObjectType, (t) => getPropertyOfType(t, propertyName));\n            if (propertySymbol && getDeclarationModifierFlagsFromSymbol(propertySymbol) & 24) {\n              error(accessNode, Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter, unescapeLeadingUnderscores(propertyName));\n              return errorType;\n            }\n          }\n        }\n        error(accessNode, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(objectType));\n        return errorType;\n      }\n      function checkIndexedAccessType(node) {\n        checkSourceElement(node.objectType);\n        checkSourceElement(node.indexType);\n        checkIndexedAccessIndexType(getTypeFromIndexedAccessTypeNode(node), node);\n      }\n      function checkMappedType(node) {\n        checkGrammarMappedType(node);\n        checkSourceElement(node.typeParameter);\n        checkSourceElement(node.nameType);\n        checkSourceElement(node.type);\n        if (!node.type) {\n          reportImplicitAny(node, anyType);\n        }\n        const type = getTypeFromMappedTypeNode(node);\n        const nameType = getNameTypeFromMappedType(type);\n        if (nameType) {\n          checkTypeAssignableTo(nameType, keyofConstraintType, node.nameType);\n        } else {\n          const constraintType = getConstraintTypeFromMappedType(type);\n          checkTypeAssignableTo(constraintType, keyofConstraintType, getEffectiveConstraintOfTypeParameter(node.typeParameter));\n        }\n      }\n      function checkGrammarMappedType(node) {\n        var _a22;\n        if ((_a22 = node.members) == null ? void 0 : _a22.length) {\n          return grammarErrorOnNode(node.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);\n        }\n      }\n      function checkThisType(node) {\n        getTypeFromThisTypeNode(node);\n      }\n      function checkTypeOperator(node) {\n        checkGrammarTypeOperatorNode(node);\n        checkSourceElement(node.type);\n      }\n      function checkConditionalType(node) {\n        forEachChild(node, checkSourceElement);\n      }\n      function checkInferType(node) {\n        if (!findAncestor(node, (n) => n.parent && n.parent.kind === 191 && n.parent.extendsType === n)) {\n          grammarErrorOnNode(node, Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type);\n        }\n        checkSourceElement(node.typeParameter);\n        const symbol = getSymbolOfDeclaration(node.typeParameter);\n        if (symbol.declarations && symbol.declarations.length > 1) {\n          const links = getSymbolLinks(symbol);\n          if (!links.typeParametersChecked) {\n            links.typeParametersChecked = true;\n            const typeParameter = getDeclaredTypeOfTypeParameter(symbol);\n            const declarations = getDeclarationsOfKind(\n              symbol,\n              165\n              /* TypeParameter */\n            );\n            if (!areTypeParametersIdentical(declarations, [typeParameter], (decl) => [decl])) {\n              const name = symbolToString(symbol);\n              for (const declaration of declarations) {\n                error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_constraints, name);\n              }\n            }\n          }\n        }\n        registerForUnusedIdentifiersCheck(node);\n      }\n      function checkTemplateLiteralType(node) {\n        for (const span of node.templateSpans) {\n          checkSourceElement(span.type);\n          const type = getTypeFromTypeNode(span.type);\n          checkTypeAssignableTo(type, templateConstraintType, span.type);\n        }\n        getTypeFromTypeNode(node);\n      }\n      function checkImportType(node) {\n        checkSourceElement(node.argument);\n        if (node.assertions) {\n          const override = getResolutionModeOverrideForClause(node.assertions.assertClause, grammarErrorOnNode);\n          if (override) {\n            if (!isNightly()) {\n              grammarErrorOnNode(node.assertions.assertClause, Diagnostics.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next);\n            }\n            if (getEmitModuleResolutionKind(compilerOptions) !== 3 && getEmitModuleResolutionKind(compilerOptions) !== 99) {\n              grammarErrorOnNode(node.assertions.assertClause, Diagnostics.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext);\n            }\n          }\n        }\n        checkTypeReferenceOrImport(node);\n      }\n      function checkNamedTupleMember(node) {\n        if (node.dotDotDotToken && node.questionToken) {\n          grammarErrorOnNode(node, Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest);\n        }\n        if (node.type.kind === 187) {\n          grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type);\n        }\n        if (node.type.kind === 188) {\n          grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type);\n        }\n        checkSourceElement(node.type);\n        getTypeFromTypeNode(node);\n      }\n      function isPrivateWithinAmbient(node) {\n        return (hasEffectiveModifier(\n          node,\n          8\n          /* Private */\n        ) || isPrivateIdentifierClassElementDeclaration(node)) && !!(node.flags & 16777216);\n      }\n      function getEffectiveDeclarationFlags(n, flagsToCheck) {\n        let flags = getCombinedModifierFlags(n);\n        if (n.parent.kind !== 261 && n.parent.kind !== 260 && n.parent.kind !== 228 && n.flags & 16777216) {\n          if (!(flags & 2) && !(isModuleBlock(n.parent) && isModuleDeclaration(n.parent.parent) && isGlobalScopeAugmentation(n.parent.parent))) {\n            flags |= 1;\n          }\n          flags |= 2;\n        }\n        return flags & flagsToCheck;\n      }\n      function checkFunctionOrConstructorSymbol(symbol) {\n        addLazyDiagnostic(() => checkFunctionOrConstructorSymbolWorker(symbol));\n      }\n      function checkFunctionOrConstructorSymbolWorker(symbol) {\n        function getCanonicalOverload(overloads, implementation) {\n          const implementationSharesContainerWithFirstOverload = implementation !== void 0 && implementation.parent === overloads[0].parent;\n          return implementationSharesContainerWithFirstOverload ? implementation : overloads[0];\n        }\n        function checkFlagAgreementBetweenOverloads(overloads, implementation, flagsToCheck2, someOverloadFlags, allOverloadFlags) {\n          const someButNotAllOverloadFlags = someOverloadFlags ^ allOverloadFlags;\n          if (someButNotAllOverloadFlags !== 0) {\n            const canonicalFlags = getEffectiveDeclarationFlags(getCanonicalOverload(overloads, implementation), flagsToCheck2);\n            forEach(overloads, (o) => {\n              const deviation = getEffectiveDeclarationFlags(o, flagsToCheck2) ^ canonicalFlags;\n              if (deviation & 1) {\n                error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported);\n              } else if (deviation & 2) {\n                error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient);\n              } else if (deviation & (8 | 16)) {\n                error(getNameOfDeclaration(o) || o, Diagnostics.Overload_signatures_must_all_be_public_private_or_protected);\n              } else if (deviation & 256) {\n                error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract);\n              }\n            });\n          }\n        }\n        function checkQuestionTokenAgreementBetweenOverloads(overloads, implementation, someHaveQuestionToken2, allHaveQuestionToken2) {\n          if (someHaveQuestionToken2 !== allHaveQuestionToken2) {\n            const canonicalHasQuestionToken = hasQuestionToken(getCanonicalOverload(overloads, implementation));\n            forEach(overloads, (o) => {\n              const deviation = hasQuestionToken(o) !== canonicalHasQuestionToken;\n              if (deviation) {\n                error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_optional_or_required);\n              }\n            });\n          }\n        }\n        const flagsToCheck = 1 | 2 | 8 | 16 | 256;\n        let someNodeFlags = 0;\n        let allNodeFlags = flagsToCheck;\n        let someHaveQuestionToken = false;\n        let allHaveQuestionToken = true;\n        let hasOverloads = false;\n        let bodyDeclaration;\n        let lastSeenNonAmbientDeclaration;\n        let previousDeclaration;\n        const declarations = symbol.declarations;\n        const isConstructor = (symbol.flags & 16384) !== 0;\n        function reportImplementationExpectedError(node) {\n          if (node.name && nodeIsMissing(node.name)) {\n            return;\n          }\n          let seen = false;\n          const subsequentNode = forEachChild(node.parent, (c) => {\n            if (seen) {\n              return c;\n            } else {\n              seen = c === node;\n            }\n          });\n          if (subsequentNode && subsequentNode.pos === node.end) {\n            if (subsequentNode.kind === node.kind) {\n              const errorNode2 = subsequentNode.name || subsequentNode;\n              const subsequentName = subsequentNode.name;\n              if (node.name && subsequentName && // both are private identifiers\n              (isPrivateIdentifier(node.name) && isPrivateIdentifier(subsequentName) && node.name.escapedText === subsequentName.escapedText || // Both are computed property names\n              // TODO: GH#17345: These are methods, so handle computed name case. (`Always allowing computed property names is *not* the correct behavior!)\n              isComputedPropertyName(node.name) && isComputedPropertyName(subsequentName) || // Both are literal property names that are the same.\n              isPropertyNameLiteral(node.name) && isPropertyNameLiteral(subsequentName) && getEscapedTextOfIdentifierOrLiteral(node.name) === getEscapedTextOfIdentifierOrLiteral(subsequentName))) {\n                const reportError = (node.kind === 171 || node.kind === 170) && isStatic(node) !== isStatic(subsequentNode);\n                if (reportError) {\n                  const diagnostic = isStatic(node) ? Diagnostics.Function_overload_must_be_static : Diagnostics.Function_overload_must_not_be_static;\n                  error(errorNode2, diagnostic);\n                }\n                return;\n              }\n              if (nodeIsPresent(subsequentNode.body)) {\n                error(errorNode2, Diagnostics.Function_implementation_name_must_be_0, declarationNameToString(node.name));\n                return;\n              }\n            }\n          }\n          const errorNode = node.name || node;\n          if (isConstructor) {\n            error(errorNode, Diagnostics.Constructor_implementation_is_missing);\n          } else {\n            if (hasSyntacticModifier(\n              node,\n              256\n              /* Abstract */\n            )) {\n              error(errorNode, Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive);\n            } else {\n              error(errorNode, Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration);\n            }\n          }\n        }\n        let duplicateFunctionDeclaration = false;\n        let multipleConstructorImplementation = false;\n        let hasNonAmbientClass = false;\n        const functionDeclarations = [];\n        if (declarations) {\n          for (const current of declarations) {\n            const node = current;\n            const inAmbientContext = node.flags & 16777216;\n            const inAmbientContextOrInterface = node.parent && (node.parent.kind === 261 || node.parent.kind === 184) || inAmbientContext;\n            if (inAmbientContextOrInterface) {\n              previousDeclaration = void 0;\n            }\n            if ((node.kind === 260 || node.kind === 228) && !inAmbientContext) {\n              hasNonAmbientClass = true;\n            }\n            if (node.kind === 259 || node.kind === 171 || node.kind === 170 || node.kind === 173) {\n              functionDeclarations.push(node);\n              const currentNodeFlags = getEffectiveDeclarationFlags(node, flagsToCheck);\n              someNodeFlags |= currentNodeFlags;\n              allNodeFlags &= currentNodeFlags;\n              someHaveQuestionToken = someHaveQuestionToken || hasQuestionToken(node);\n              allHaveQuestionToken = allHaveQuestionToken && hasQuestionToken(node);\n              const bodyIsPresent = nodeIsPresent(node.body);\n              if (bodyIsPresent && bodyDeclaration) {\n                if (isConstructor) {\n                  multipleConstructorImplementation = true;\n                } else {\n                  duplicateFunctionDeclaration = true;\n                }\n              } else if ((previousDeclaration == null ? void 0 : previousDeclaration.parent) === node.parent && previousDeclaration.end !== node.pos) {\n                reportImplementationExpectedError(previousDeclaration);\n              }\n              if (bodyIsPresent) {\n                if (!bodyDeclaration) {\n                  bodyDeclaration = node;\n                }\n              } else {\n                hasOverloads = true;\n              }\n              previousDeclaration = node;\n              if (!inAmbientContextOrInterface) {\n                lastSeenNonAmbientDeclaration = node;\n              }\n            }\n            if (isInJSFile(current) && isFunctionLike(current) && current.jsDoc) {\n              for (const node2 of current.jsDoc) {\n                if (node2.tags) {\n                  for (const tag of node2.tags) {\n                    if (isJSDocOverloadTag(tag)) {\n                      hasOverloads = true;\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n        if (multipleConstructorImplementation) {\n          forEach(functionDeclarations, (declaration) => {\n            error(declaration, Diagnostics.Multiple_constructor_implementations_are_not_allowed);\n          });\n        }\n        if (duplicateFunctionDeclaration) {\n          forEach(functionDeclarations, (declaration) => {\n            error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Duplicate_function_implementation);\n          });\n        }\n        if (hasNonAmbientClass && !isConstructor && symbol.flags & 16 && declarations) {\n          const relatedDiagnostics = filter(\n            declarations,\n            (d) => d.kind === 260\n            /* ClassDeclaration */\n          ).map((d) => createDiagnosticForNode(d, Diagnostics.Consider_adding_a_declare_modifier_to_this_class));\n          forEach(declarations, (declaration) => {\n            const diagnostic = declaration.kind === 260 ? Diagnostics.Class_declaration_cannot_implement_overload_list_for_0 : declaration.kind === 259 ? Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient : void 0;\n            if (diagnostic) {\n              addRelatedInfo(\n                error(getNameOfDeclaration(declaration) || declaration, diagnostic, symbolName(symbol)),\n                ...relatedDiagnostics\n              );\n            }\n          });\n        }\n        if (lastSeenNonAmbientDeclaration && !lastSeenNonAmbientDeclaration.body && !hasSyntacticModifier(\n          lastSeenNonAmbientDeclaration,\n          256\n          /* Abstract */\n        ) && !lastSeenNonAmbientDeclaration.questionToken) {\n          reportImplementationExpectedError(lastSeenNonAmbientDeclaration);\n        }\n        if (hasOverloads) {\n          if (declarations) {\n            checkFlagAgreementBetweenOverloads(declarations, bodyDeclaration, flagsToCheck, someNodeFlags, allNodeFlags);\n            checkQuestionTokenAgreementBetweenOverloads(declarations, bodyDeclaration, someHaveQuestionToken, allHaveQuestionToken);\n          }\n          if (bodyDeclaration) {\n            const signatures = getSignaturesOfSymbol(symbol);\n            const bodySignature = getSignatureFromDeclaration(bodyDeclaration);\n            for (const signature of signatures) {\n              if (!isImplementationCompatibleWithOverload(bodySignature, signature)) {\n                const errorNode = signature.declaration && isJSDocSignature(signature.declaration) ? signature.declaration.parent.tagName : signature.declaration;\n                addRelatedInfo(\n                  error(errorNode, Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),\n                  createDiagnosticForNode(bodyDeclaration, Diagnostics.The_implementation_signature_is_declared_here)\n                );\n                break;\n              }\n            }\n          }\n        }\n      }\n      function checkExportsOnMergedDeclarations(node) {\n        addLazyDiagnostic(() => checkExportsOnMergedDeclarationsWorker(node));\n      }\n      function checkExportsOnMergedDeclarationsWorker(node) {\n        let symbol = node.localSymbol;\n        if (!symbol) {\n          symbol = getSymbolOfDeclaration(node);\n          if (!symbol.exportSymbol) {\n            return;\n          }\n        }\n        if (getDeclarationOfKind(symbol, node.kind) !== node) {\n          return;\n        }\n        let exportedDeclarationSpaces = 0;\n        let nonExportedDeclarationSpaces = 0;\n        let defaultExportedDeclarationSpaces = 0;\n        for (const d of symbol.declarations) {\n          const declarationSpaces = getDeclarationSpaces(d);\n          const effectiveDeclarationFlags = getEffectiveDeclarationFlags(\n            d,\n            1 | 1024\n            /* Default */\n          );\n          if (effectiveDeclarationFlags & 1) {\n            if (effectiveDeclarationFlags & 1024) {\n              defaultExportedDeclarationSpaces |= declarationSpaces;\n            } else {\n              exportedDeclarationSpaces |= declarationSpaces;\n            }\n          } else {\n            nonExportedDeclarationSpaces |= declarationSpaces;\n          }\n        }\n        const nonDefaultExportedDeclarationSpaces = exportedDeclarationSpaces | nonExportedDeclarationSpaces;\n        const commonDeclarationSpacesForExportsAndLocals = exportedDeclarationSpaces & nonExportedDeclarationSpaces;\n        const commonDeclarationSpacesForDefaultAndNonDefault = defaultExportedDeclarationSpaces & nonDefaultExportedDeclarationSpaces;\n        if (commonDeclarationSpacesForExportsAndLocals || commonDeclarationSpacesForDefaultAndNonDefault) {\n          for (const d of symbol.declarations) {\n            const declarationSpaces = getDeclarationSpaces(d);\n            const name = getNameOfDeclaration(d);\n            if (declarationSpaces & commonDeclarationSpacesForDefaultAndNonDefault) {\n              error(name, Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead, declarationNameToString(name));\n            } else if (declarationSpaces & commonDeclarationSpacesForExportsAndLocals) {\n              error(name, Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local, declarationNameToString(name));\n            }\n          }\n        }\n        function getDeclarationSpaces(decl) {\n          let d = decl;\n          switch (d.kind) {\n            case 261:\n            case 262:\n            case 349:\n            case 341:\n            case 343:\n              return 2;\n            case 264:\n              return isAmbientModule(d) || getModuleInstanceState(d) !== 0 ? 4 | 1 : 4;\n            case 260:\n            case 263:\n            case 302:\n              return 2 | 1;\n            case 308:\n              return 2 | 1 | 4;\n            case 274:\n            case 223:\n              const node2 = d;\n              const expression = isExportAssignment(node2) ? node2.expression : node2.right;\n              if (!isEntityNameExpression(expression)) {\n                return 1;\n              }\n              d = expression;\n            case 268:\n            case 271:\n            case 270:\n              let result = 0;\n              const target = resolveAlias(getSymbolOfDeclaration(d));\n              forEach(target.declarations, (d2) => {\n                result |= getDeclarationSpaces(d2);\n              });\n              return result;\n            case 257:\n            case 205:\n            case 259:\n            case 273:\n            case 79:\n              return 1;\n            case 170:\n            case 168:\n              return 2;\n            default:\n              return Debug2.failBadSyntaxKind(d);\n          }\n        }\n      }\n      function getAwaitedTypeOfPromise(type, errorNode, diagnosticMessage, arg0) {\n        const promisedType = getPromisedTypeOfPromise(type, errorNode);\n        return promisedType && getAwaitedType(promisedType, errorNode, diagnosticMessage, arg0);\n      }\n      function getPromisedTypeOfPromise(type, errorNode, thisTypeForErrorOut) {\n        if (isTypeAny(type)) {\n          return void 0;\n        }\n        const typeAsPromise = type;\n        if (typeAsPromise.promisedTypeOfPromise) {\n          return typeAsPromise.promisedTypeOfPromise;\n        }\n        if (isReferenceToType2(type, getGlobalPromiseType(\n          /*reportErrors*/\n          false\n        ))) {\n          return typeAsPromise.promisedTypeOfPromise = getTypeArguments(type)[0];\n        }\n        if (allTypesAssignableToKind(\n          getBaseConstraintOrType(type),\n          134348796 | 131072\n          /* Never */\n        )) {\n          return void 0;\n        }\n        const thenFunction = getTypeOfPropertyOfType(type, \"then\");\n        if (isTypeAny(thenFunction)) {\n          return void 0;\n        }\n        const thenSignatures = thenFunction ? getSignaturesOfType(\n          thenFunction,\n          0\n          /* Call */\n        ) : emptyArray;\n        if (thenSignatures.length === 0) {\n          if (errorNode) {\n            error(errorNode, Diagnostics.A_promise_must_have_a_then_method);\n          }\n          return void 0;\n        }\n        let thisTypeForError;\n        let candidates;\n        for (const thenSignature of thenSignatures) {\n          const thisType = getThisTypeOfSignature(thenSignature);\n          if (thisType && thisType !== voidType && !isTypeRelatedTo(type, thisType, subtypeRelation)) {\n            thisTypeForError = thisType;\n          } else {\n            candidates = append(candidates, thenSignature);\n          }\n        }\n        if (!candidates) {\n          Debug2.assertIsDefined(thisTypeForError);\n          if (thisTypeForErrorOut) {\n            thisTypeForErrorOut.value = thisTypeForError;\n          }\n          if (errorNode) {\n            error(errorNode, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForError));\n          }\n          return void 0;\n        }\n        const onfulfilledParameterType = getTypeWithFacts(\n          getUnionType(map(candidates, getTypeOfFirstParameterOfSignature)),\n          2097152\n          /* NEUndefinedOrNull */\n        );\n        if (isTypeAny(onfulfilledParameterType)) {\n          return void 0;\n        }\n        const onfulfilledParameterSignatures = getSignaturesOfType(\n          onfulfilledParameterType,\n          0\n          /* Call */\n        );\n        if (onfulfilledParameterSignatures.length === 0) {\n          if (errorNode) {\n            error(errorNode, Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);\n          }\n          return void 0;\n        }\n        return typeAsPromise.promisedTypeOfPromise = getUnionType(\n          map(onfulfilledParameterSignatures, getTypeOfFirstParameterOfSignature),\n          2\n          /* Subtype */\n        );\n      }\n      function checkAwaitedType(type, withAlias, errorNode, diagnosticMessage, arg0) {\n        const awaitedType = withAlias ? getAwaitedType(type, errorNode, diagnosticMessage, arg0) : getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0);\n        return awaitedType || errorType;\n      }\n      function isThenableType(type) {\n        if (allTypesAssignableToKind(\n          getBaseConstraintOrType(type),\n          134348796 | 131072\n          /* Never */\n        )) {\n          return false;\n        }\n        const thenFunction = getTypeOfPropertyOfType(type, \"then\");\n        return !!thenFunction && getSignaturesOfType(\n          getTypeWithFacts(\n            thenFunction,\n            2097152\n            /* NEUndefinedOrNull */\n          ),\n          0\n          /* Call */\n        ).length > 0;\n      }\n      function isAwaitedTypeInstantiation(type) {\n        var _a22;\n        if (type.flags & 16777216) {\n          const awaitedSymbol = getGlobalAwaitedSymbol(\n            /*reportErrors*/\n            false\n          );\n          return !!awaitedSymbol && type.aliasSymbol === awaitedSymbol && ((_a22 = type.aliasTypeArguments) == null ? void 0 : _a22.length) === 1;\n        }\n        return false;\n      }\n      function unwrapAwaitedType(type) {\n        return type.flags & 1048576 ? mapType(type, unwrapAwaitedType) : isAwaitedTypeInstantiation(type) ? type.aliasTypeArguments[0] : type;\n      }\n      function isAwaitedTypeNeeded(type) {\n        if (isTypeAny(type) || isAwaitedTypeInstantiation(type)) {\n          return false;\n        }\n        if (isGenericObjectType(type)) {\n          const baseConstraint = getBaseConstraintOfType(type);\n          if (baseConstraint ? baseConstraint.flags & 3 || isEmptyObjectType(baseConstraint) || someType(baseConstraint, isThenableType) : maybeTypeOfKind(\n            type,\n            8650752\n            /* TypeVariable */\n          )) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function tryCreateAwaitedType(type) {\n        const awaitedSymbol = getGlobalAwaitedSymbol(\n          /*reportErrors*/\n          true\n        );\n        if (awaitedSymbol) {\n          return getTypeAliasInstantiation(awaitedSymbol, [unwrapAwaitedType(type)]);\n        }\n        return void 0;\n      }\n      function createAwaitedTypeIfNeeded(type) {\n        if (isAwaitedTypeNeeded(type)) {\n          const awaitedType = tryCreateAwaitedType(type);\n          if (awaitedType) {\n            return awaitedType;\n          }\n        }\n        Debug2.assert(isAwaitedTypeInstantiation(type) || getPromisedTypeOfPromise(type) === void 0, \"type provided should not be a non-generic 'promise'-like.\");\n        return type;\n      }\n      function getAwaitedType(type, errorNode, diagnosticMessage, arg0) {\n        const awaitedType = getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0);\n        return awaitedType && createAwaitedTypeIfNeeded(awaitedType);\n      }\n      function getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0) {\n        if (isTypeAny(type)) {\n          return type;\n        }\n        if (isAwaitedTypeInstantiation(type)) {\n          return type;\n        }\n        const typeAsAwaitable = type;\n        if (typeAsAwaitable.awaitedTypeOfType) {\n          return typeAsAwaitable.awaitedTypeOfType;\n        }\n        if (type.flags & 1048576) {\n          if (awaitedTypeStack.lastIndexOf(type.id) >= 0) {\n            if (errorNode) {\n              error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);\n            }\n            return void 0;\n          }\n          const mapper = errorNode ? (constituentType) => getAwaitedTypeNoAlias(constituentType, errorNode, diagnosticMessage, arg0) : getAwaitedTypeNoAlias;\n          awaitedTypeStack.push(type.id);\n          const mapped = mapType(type, mapper);\n          awaitedTypeStack.pop();\n          return typeAsAwaitable.awaitedTypeOfType = mapped;\n        }\n        if (isAwaitedTypeNeeded(type)) {\n          return typeAsAwaitable.awaitedTypeOfType = type;\n        }\n        const thisTypeForErrorOut = { value: void 0 };\n        const promisedType = getPromisedTypeOfPromise(\n          type,\n          /*errorNode*/\n          void 0,\n          thisTypeForErrorOut\n        );\n        if (promisedType) {\n          if (type.id === promisedType.id || awaitedTypeStack.lastIndexOf(promisedType.id) >= 0) {\n            if (errorNode) {\n              error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);\n            }\n            return void 0;\n          }\n          awaitedTypeStack.push(type.id);\n          const awaitedType = getAwaitedTypeNoAlias(promisedType, errorNode, diagnosticMessage, arg0);\n          awaitedTypeStack.pop();\n          if (!awaitedType) {\n            return void 0;\n          }\n          return typeAsAwaitable.awaitedTypeOfType = awaitedType;\n        }\n        if (isThenableType(type)) {\n          if (errorNode) {\n            Debug2.assertIsDefined(diagnosticMessage);\n            let chain;\n            if (thisTypeForErrorOut.value) {\n              chain = chainDiagnosticMessages(chain, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForErrorOut.value));\n            }\n            chain = chainDiagnosticMessages(chain, diagnosticMessage, arg0);\n            diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(errorNode), errorNode, chain));\n          }\n          return void 0;\n        }\n        return typeAsAwaitable.awaitedTypeOfType = type;\n      }\n      function checkAsyncFunctionReturnType(node, returnTypeNode) {\n        const returnType = getTypeFromTypeNode(returnTypeNode);\n        if (languageVersion >= 2) {\n          if (isErrorType(returnType)) {\n            return;\n          }\n          const globalPromiseType = getGlobalPromiseType(\n            /*reportErrors*/\n            true\n          );\n          if (globalPromiseType !== emptyGenericType && !isReferenceToType2(returnType, globalPromiseType)) {\n            error(returnTypeNode, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0, typeToString(getAwaitedTypeNoAlias(returnType) || voidType));\n            return;\n          }\n        } else {\n          markTypeNodeAsReferenced(returnTypeNode);\n          if (isErrorType(returnType)) {\n            return;\n          }\n          const promiseConstructorName = getEntityNameFromTypeNode(returnTypeNode);\n          if (promiseConstructorName === void 0) {\n            error(returnTypeNode, Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, typeToString(returnType));\n            return;\n          }\n          const promiseConstructorSymbol = resolveEntityName(\n            promiseConstructorName,\n            111551,\n            /*ignoreErrors*/\n            true\n          );\n          const promiseConstructorType = promiseConstructorSymbol ? getTypeOfSymbol(promiseConstructorSymbol) : errorType;\n          if (isErrorType(promiseConstructorType)) {\n            if (promiseConstructorName.kind === 79 && promiseConstructorName.escapedText === \"Promise\" && getTargetType(returnType) === getGlobalPromiseType(\n              /*reportErrors*/\n              false\n            )) {\n              error(returnTypeNode, Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option);\n            } else {\n              error(returnTypeNode, Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, entityNameToString(promiseConstructorName));\n            }\n            return;\n          }\n          const globalPromiseConstructorLikeType = getGlobalPromiseConstructorLikeType(\n            /*reportErrors*/\n            true\n          );\n          if (globalPromiseConstructorLikeType === emptyObjectType) {\n            error(returnTypeNode, Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, entityNameToString(promiseConstructorName));\n            return;\n          }\n          if (!checkTypeAssignableTo(\n            promiseConstructorType,\n            globalPromiseConstructorLikeType,\n            returnTypeNode,\n            Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value\n          )) {\n            return;\n          }\n          const rootName = promiseConstructorName && getFirstIdentifier(promiseConstructorName);\n          const collidingSymbol = getSymbol2(\n            node.locals,\n            rootName.escapedText,\n            111551\n            /* Value */\n          );\n          if (collidingSymbol) {\n            error(\n              collidingSymbol.valueDeclaration,\n              Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,\n              idText(rootName),\n              entityNameToString(promiseConstructorName)\n            );\n            return;\n          }\n        }\n        checkAwaitedType(\n          returnType,\n          /*withAlias*/\n          false,\n          node,\n          Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member\n        );\n      }\n      function checkDecorator(node) {\n        const signature = getResolvedSignature(node);\n        checkDeprecatedSignature(signature, node);\n        const returnType = getReturnTypeOfSignature(signature);\n        if (returnType.flags & 1) {\n          return;\n        }\n        const decoratorSignature = getDecoratorCallSignature(node);\n        if (!(decoratorSignature == null ? void 0 : decoratorSignature.resolvedReturnType))\n          return;\n        let headMessage;\n        const expectedReturnType = decoratorSignature.resolvedReturnType;\n        switch (node.parent.kind) {\n          case 260:\n          case 228:\n            headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;\n            break;\n          case 169:\n            if (!legacyDecorators) {\n              headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;\n              break;\n            }\n          case 166:\n            headMessage = Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;\n            break;\n          case 171:\n          case 174:\n          case 175:\n            headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;\n            break;\n          default:\n            return Debug2.failBadSyntaxKind(node.parent);\n        }\n        checkTypeAssignableTo(returnType, expectedReturnType, node.expression, headMessage);\n      }\n      function createCallSignature(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount = parameters.length, flags = 0) {\n        const decl = factory.createFunctionTypeNode(\n          /*typeParameters*/\n          void 0,\n          emptyArray,\n          factory.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          )\n        );\n        return createSignature(decl, typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags);\n      }\n      function createFunctionType(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags) {\n        const signature = createCallSignature(typeParameters, thisParameter, parameters, returnType, typePredicate, minArgumentCount, flags);\n        return getOrCreateTypeFromSignature(signature);\n      }\n      function createGetterFunctionType(type) {\n        return createFunctionType(\n          /*typeParameters*/\n          void 0,\n          /*thisParameter*/\n          void 0,\n          emptyArray,\n          type\n        );\n      }\n      function createSetterFunctionType(type) {\n        const valueParam = createParameter(\"value\", type);\n        return createFunctionType(\n          /*typeParameters*/\n          void 0,\n          /*thisParameter*/\n          void 0,\n          [valueParam],\n          voidType\n        );\n      }\n      function markTypeNodeAsReferenced(node) {\n        markEntityNameOrEntityExpressionAsReference(\n          node && getEntityNameFromTypeNode(node),\n          /*forDecoratorMetadata*/\n          false\n        );\n      }\n      function markEntityNameOrEntityExpressionAsReference(typeName, forDecoratorMetadata) {\n        if (!typeName)\n          return;\n        const rootName = getFirstIdentifier(typeName);\n        const meaning = (typeName.kind === 79 ? 788968 : 1920) | 2097152;\n        const rootSymbol = resolveName(\n          rootName,\n          rootName.escapedText,\n          meaning,\n          /*nameNotFoundMessage*/\n          void 0,\n          /*nameArg*/\n          void 0,\n          /*isReference*/\n          true\n        );\n        if (rootSymbol && rootSymbol.flags & 2097152) {\n          if (!compilerOptions.verbatimModuleSyntax && symbolIsValue(rootSymbol) && !isConstEnumOrConstEnumOnlyModule(resolveAlias(rootSymbol)) && !getTypeOnlyAliasDeclaration(rootSymbol)) {\n            markAliasSymbolAsReferenced(rootSymbol);\n          } else if (forDecoratorMetadata && getIsolatedModules(compilerOptions) && getEmitModuleKind(compilerOptions) >= 5 && !symbolIsValue(rootSymbol) && !some(rootSymbol.declarations, isTypeOnlyImportOrExportDeclaration)) {\n            const diag2 = error(typeName, Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled);\n            const aliasDeclaration = find(rootSymbol.declarations || emptyArray, isAliasSymbolDeclaration2);\n            if (aliasDeclaration) {\n              addRelatedInfo(diag2, createDiagnosticForNode(aliasDeclaration, Diagnostics._0_was_imported_here, idText(rootName)));\n            }\n          }\n        }\n      }\n      function markDecoratorMedataDataTypeNodeAsReferenced(node) {\n        const entityName = getEntityNameForDecoratorMetadata(node);\n        if (entityName && isEntityName(entityName)) {\n          markEntityNameOrEntityExpressionAsReference(\n            entityName,\n            /*forDecoratorMetadata*/\n            true\n          );\n        }\n      }\n      function getEntityNameForDecoratorMetadata(node) {\n        if (node) {\n          switch (node.kind) {\n            case 190:\n            case 189:\n              return getEntityNameForDecoratorMetadataFromTypeList(node.types);\n            case 191:\n              return getEntityNameForDecoratorMetadataFromTypeList([node.trueType, node.falseType]);\n            case 193:\n            case 199:\n              return getEntityNameForDecoratorMetadata(node.type);\n            case 180:\n              return node.typeName;\n          }\n        }\n      }\n      function getEntityNameForDecoratorMetadataFromTypeList(types) {\n        let commonEntityName;\n        for (let typeNode of types) {\n          while (typeNode.kind === 193 || typeNode.kind === 199) {\n            typeNode = typeNode.type;\n          }\n          if (typeNode.kind === 144) {\n            continue;\n          }\n          if (!strictNullChecks && (typeNode.kind === 198 && typeNode.literal.kind === 104 || typeNode.kind === 155)) {\n            continue;\n          }\n          const individualEntityName = getEntityNameForDecoratorMetadata(typeNode);\n          if (!individualEntityName) {\n            return void 0;\n          }\n          if (commonEntityName) {\n            if (!isIdentifier(commonEntityName) || !isIdentifier(individualEntityName) || commonEntityName.escapedText !== individualEntityName.escapedText) {\n              return void 0;\n            }\n          } else {\n            commonEntityName = individualEntityName;\n          }\n        }\n        return commonEntityName;\n      }\n      function getParameterTypeNodeForDecoratorCheck(node) {\n        const typeNode = getEffectiveTypeAnnotationNode(node);\n        return isRestParameter(node) ? getRestParameterElementType(typeNode) : typeNode;\n      }\n      function checkDecorators(node) {\n        if (!canHaveDecorators(node) || !hasDecorators(node) || !node.modifiers || !nodeCanBeDecorated(legacyDecorators, node, node.parent, node.parent.parent)) {\n          return;\n        }\n        const firstDecorator = find(node.modifiers, isDecorator);\n        if (!firstDecorator) {\n          return;\n        }\n        if (legacyDecorators) {\n          checkExternalEmitHelpers(\n            firstDecorator,\n            8\n            /* Decorate */\n          );\n          if (node.kind === 166) {\n            checkExternalEmitHelpers(\n              firstDecorator,\n              32\n              /* Param */\n            );\n          }\n        } else if (languageVersion < 99) {\n          checkExternalEmitHelpers(\n            firstDecorator,\n            8\n            /* ESDecorateAndRunInitializers */\n          );\n          if (isClassDeclaration(node)) {\n            if (!node.name) {\n              checkExternalEmitHelpers(\n                firstDecorator,\n                8388608\n                /* SetFunctionName */\n              );\n            } else {\n              const member = getFirstTransformableStaticClassElement(node);\n              if (member) {\n                checkExternalEmitHelpers(\n                  firstDecorator,\n                  8388608\n                  /* SetFunctionName */\n                );\n              }\n            }\n          } else if (!isClassExpression(node)) {\n            if (isPrivateIdentifier(node.name) && (isMethodDeclaration(node) || isAccessor(node) || isAutoAccessorPropertyDeclaration(node))) {\n              checkExternalEmitHelpers(\n                firstDecorator,\n                8388608\n                /* SetFunctionName */\n              );\n            }\n            if (isComputedPropertyName(node.name)) {\n              checkExternalEmitHelpers(\n                firstDecorator,\n                16777216\n                /* PropKey */\n              );\n            }\n          }\n        }\n        if (compilerOptions.emitDecoratorMetadata) {\n          checkExternalEmitHelpers(\n            firstDecorator,\n            16\n            /* Metadata */\n          );\n          switch (node.kind) {\n            case 260:\n              const constructor = getFirstConstructorWithBody(node);\n              if (constructor) {\n                for (const parameter of constructor.parameters) {\n                  markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));\n                }\n              }\n              break;\n            case 174:\n            case 175:\n              const otherKind = node.kind === 174 ? 175 : 174;\n              const otherAccessor = getDeclarationOfKind(getSymbolOfDeclaration(node), otherKind);\n              markDecoratorMedataDataTypeNodeAsReferenced(getAnnotatedAccessorTypeNode(node) || otherAccessor && getAnnotatedAccessorTypeNode(otherAccessor));\n              break;\n            case 171:\n              for (const parameter of node.parameters) {\n                markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));\n              }\n              markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(node));\n              break;\n            case 169:\n              markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveTypeAnnotationNode(node));\n              break;\n            case 166:\n              markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(node));\n              const containingSignature = node.parent;\n              for (const parameter of containingSignature.parameters) {\n                markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));\n              }\n              break;\n          }\n        }\n        for (const modifier of node.modifiers) {\n          if (isDecorator(modifier)) {\n            checkDecorator(modifier);\n          }\n        }\n      }\n      function checkFunctionDeclaration(node) {\n        addLazyDiagnostic(checkFunctionDeclarationDiagnostics);\n        function checkFunctionDeclarationDiagnostics() {\n          checkFunctionOrMethodDeclaration(node);\n          checkGrammarForGenerator(node);\n          checkCollisionsForDeclarationName(node, node.name);\n        }\n      }\n      function checkJSDocTypeAliasTag(node) {\n        if (!node.typeExpression) {\n          error(node.name, Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags);\n        }\n        if (node.name) {\n          checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0);\n        }\n        checkSourceElement(node.typeExpression);\n        checkTypeParameters(getEffectiveTypeParameterDeclarations(node));\n      }\n      function checkJSDocTemplateTag(node) {\n        checkSourceElement(node.constraint);\n        for (const tp of node.typeParameters) {\n          checkSourceElement(tp);\n        }\n      }\n      function checkJSDocTypeTag(node) {\n        checkSourceElement(node.typeExpression);\n      }\n      function checkJSDocSatisfiesTag(node) {\n        checkSourceElement(node.typeExpression);\n        const host2 = getEffectiveJSDocHost(node);\n        if (host2) {\n          const tags = getAllJSDocTags(host2, isJSDocSatisfiesTag);\n          if (length(tags) > 1) {\n            for (let i = 1; i < length(tags); i++) {\n              const tagName = tags[i].tagName;\n              error(tagName, Diagnostics._0_tag_already_specified, idText(tagName));\n            }\n          }\n        }\n      }\n      function checkJSDocLinkLikeTag(node) {\n        if (node.name) {\n          resolveJSDocMemberName(\n            node.name,\n            /*ignoreErrors*/\n            true\n          );\n        }\n      }\n      function checkJSDocParameterTag(node) {\n        checkSourceElement(node.typeExpression);\n      }\n      function checkJSDocPropertyTag(node) {\n        checkSourceElement(node.typeExpression);\n      }\n      function checkJSDocFunctionType(node) {\n        addLazyDiagnostic(checkJSDocFunctionTypeImplicitAny);\n        checkSignatureDeclaration(node);\n        function checkJSDocFunctionTypeImplicitAny() {\n          if (!node.type && !isJSDocConstructSignature(node)) {\n            reportImplicitAny(node, anyType);\n          }\n        }\n      }\n      function checkJSDocImplementsTag(node) {\n        const classLike = getEffectiveJSDocHost(node);\n        if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) {\n          error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName));\n        }\n      }\n      function checkJSDocAugmentsTag(node) {\n        const classLike = getEffectiveJSDocHost(node);\n        if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) {\n          error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName));\n          return;\n        }\n        const augmentsTags = getJSDocTags(classLike).filter(isJSDocAugmentsTag);\n        Debug2.assert(augmentsTags.length > 0);\n        if (augmentsTags.length > 1) {\n          error(augmentsTags[1], Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);\n        }\n        const name = getIdentifierFromEntityNameExpression(node.class.expression);\n        const extend2 = getClassExtendsHeritageElement(classLike);\n        if (extend2) {\n          const className = getIdentifierFromEntityNameExpression(extend2.expression);\n          if (className && name.escapedText !== className.escapedText) {\n            error(name, Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause, idText(node.tagName), idText(name), idText(className));\n          }\n        }\n      }\n      function checkJSDocAccessibilityModifiers(node) {\n        const host2 = getJSDocHost(node);\n        if (host2 && isPrivateIdentifierClassElementDeclaration(host2)) {\n          error(node, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);\n        }\n      }\n      function getIdentifierFromEntityNameExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return node;\n          case 208:\n            return node.name;\n          default:\n            return void 0;\n        }\n      }\n      function checkFunctionOrMethodDeclaration(node) {\n        var _a22;\n        checkDecorators(node);\n        checkSignatureDeclaration(node);\n        const functionFlags = getFunctionFlags(node);\n        if (node.name && node.name.kind === 164) {\n          checkComputedPropertyName(node.name);\n        }\n        if (hasBindableName(node)) {\n          const symbol = getSymbolOfDeclaration(node);\n          const localSymbol = node.localSymbol || symbol;\n          const firstDeclaration = (_a22 = localSymbol.declarations) == null ? void 0 : _a22.find(\n            // Get first non javascript function declaration\n            (declaration) => declaration.kind === node.kind && !(declaration.flags & 262144)\n          );\n          if (node === firstDeclaration) {\n            checkFunctionOrConstructorSymbol(localSymbol);\n          }\n          if (symbol.parent) {\n            checkFunctionOrConstructorSymbol(symbol);\n          }\n        }\n        const body = node.kind === 170 ? void 0 : node.body;\n        checkSourceElement(body);\n        checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, getReturnTypeFromAnnotation(node));\n        addLazyDiagnostic(checkFunctionOrMethodDeclarationDiagnostics);\n        if (isInJSFile(node)) {\n          const typeTag = getJSDocTypeTag(node);\n          if (typeTag && typeTag.typeExpression && !getContextualCallSignature(getTypeFromTypeNode(typeTag.typeExpression), node)) {\n            error(typeTag.typeExpression.type, Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature);\n          }\n        }\n        function checkFunctionOrMethodDeclarationDiagnostics() {\n          if (!getEffectiveReturnTypeNode(node)) {\n            if (nodeIsMissing(body) && !isPrivateWithinAmbient(node)) {\n              reportImplicitAny(node, anyType);\n            }\n            if (functionFlags & 1 && nodeIsPresent(body)) {\n              getReturnTypeOfSignature(getSignatureFromDeclaration(node));\n            }\n          }\n        }\n      }\n      function registerForUnusedIdentifiersCheck(node) {\n        addLazyDiagnostic(registerForUnusedIdentifiersCheckDiagnostics);\n        function registerForUnusedIdentifiersCheckDiagnostics() {\n          const sourceFile = getSourceFileOfNode(node);\n          let potentiallyUnusedIdentifiers = allPotentiallyUnusedIdentifiers.get(sourceFile.path);\n          if (!potentiallyUnusedIdentifiers) {\n            potentiallyUnusedIdentifiers = [];\n            allPotentiallyUnusedIdentifiers.set(sourceFile.path, potentiallyUnusedIdentifiers);\n          }\n          potentiallyUnusedIdentifiers.push(node);\n        }\n      }\n      function checkUnusedIdentifiers(potentiallyUnusedIdentifiers, addDiagnostic) {\n        for (const node of potentiallyUnusedIdentifiers) {\n          switch (node.kind) {\n            case 260:\n            case 228:\n              checkUnusedClassMembers(node, addDiagnostic);\n              checkUnusedTypeParameters(node, addDiagnostic);\n              break;\n            case 308:\n            case 264:\n            case 238:\n            case 266:\n            case 245:\n            case 246:\n            case 247:\n              checkUnusedLocalsAndParameters(node, addDiagnostic);\n              break;\n            case 173:\n            case 215:\n            case 259:\n            case 216:\n            case 171:\n            case 174:\n            case 175:\n              if (node.body) {\n                checkUnusedLocalsAndParameters(node, addDiagnostic);\n              }\n              checkUnusedTypeParameters(node, addDiagnostic);\n              break;\n            case 170:\n            case 176:\n            case 177:\n            case 181:\n            case 182:\n            case 262:\n            case 261:\n              checkUnusedTypeParameters(node, addDiagnostic);\n              break;\n            case 192:\n              checkUnusedInferTypeParameter(node, addDiagnostic);\n              break;\n            default:\n              Debug2.assertNever(node, \"Node should not have been registered for unused identifiers check\");\n          }\n        }\n      }\n      function errorUnusedLocal(declaration, name, addDiagnostic) {\n        const node = getNameOfDeclaration(declaration) || declaration;\n        const message = isTypeDeclaration(declaration) ? Diagnostics._0_is_declared_but_never_used : Diagnostics._0_is_declared_but_its_value_is_never_read;\n        addDiagnostic(declaration, 0, createDiagnosticForNode(node, message, name));\n      }\n      function isIdentifierThatStartsWithUnderscore(node) {\n        return isIdentifier(node) && idText(node).charCodeAt(0) === 95;\n      }\n      function checkUnusedClassMembers(node, addDiagnostic) {\n        for (const member of node.members) {\n          switch (member.kind) {\n            case 171:\n            case 169:\n            case 174:\n            case 175:\n              if (member.kind === 175 && member.symbol.flags & 32768) {\n                break;\n              }\n              const symbol = getSymbolOfDeclaration(member);\n              if (!symbol.isReferenced && (hasEffectiveModifier(\n                member,\n                8\n                /* Private */\n              ) || isNamedDeclaration(member) && isPrivateIdentifier(member.name)) && !(member.flags & 16777216)) {\n                addDiagnostic(member, 0, createDiagnosticForNode(member.name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolToString(symbol)));\n              }\n              break;\n            case 173:\n              for (const parameter of member.parameters) {\n                if (!parameter.symbol.isReferenced && hasSyntacticModifier(\n                  parameter,\n                  8\n                  /* Private */\n                )) {\n                  addDiagnostic(parameter, 0, createDiagnosticForNode(parameter.name, Diagnostics.Property_0_is_declared_but_its_value_is_never_read, symbolName(parameter.symbol)));\n                }\n              }\n              break;\n            case 178:\n            case 237:\n            case 172:\n              break;\n            default:\n              Debug2.fail(\"Unexpected class member\");\n          }\n        }\n      }\n      function checkUnusedInferTypeParameter(node, addDiagnostic) {\n        const { typeParameter } = node;\n        if (isTypeParameterUnused(typeParameter)) {\n          addDiagnostic(node, 1, createDiagnosticForNode(node, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(typeParameter.name)));\n        }\n      }\n      function checkUnusedTypeParameters(node, addDiagnostic) {\n        const declarations = getSymbolOfDeclaration(node).declarations;\n        if (!declarations || last(declarations) !== node)\n          return;\n        const typeParameters = getEffectiveTypeParameterDeclarations(node);\n        const seenParentsWithEveryUnused = /* @__PURE__ */ new Set();\n        for (const typeParameter of typeParameters) {\n          if (!isTypeParameterUnused(typeParameter))\n            continue;\n          const name = idText(typeParameter.name);\n          const { parent: parent2 } = typeParameter;\n          if (parent2.kind !== 192 && parent2.typeParameters.every(isTypeParameterUnused)) {\n            if (tryAddToSet(seenParentsWithEveryUnused, parent2)) {\n              const sourceFile = getSourceFileOfNode(parent2);\n              const range = isJSDocTemplateTag(parent2) ? rangeOfNode(parent2) : rangeOfTypeParameters(sourceFile, parent2.typeParameters);\n              const only = parent2.typeParameters.length === 1;\n              const message = only ? Diagnostics._0_is_declared_but_its_value_is_never_read : Diagnostics.All_type_parameters_are_unused;\n              const arg0 = only ? name : void 0;\n              addDiagnostic(typeParameter, 1, createFileDiagnostic(sourceFile, range.pos, range.end - range.pos, message, arg0));\n            }\n          } else {\n            addDiagnostic(typeParameter, 1, createDiagnosticForNode(typeParameter, Diagnostics._0_is_declared_but_its_value_is_never_read, name));\n          }\n        }\n      }\n      function isTypeParameterUnused(typeParameter) {\n        return !(getMergedSymbol(typeParameter.symbol).isReferenced & 262144) && !isIdentifierThatStartsWithUnderscore(typeParameter.name);\n      }\n      function addToGroup(map2, key, value, getKey) {\n        const keyString = String(getKey(key));\n        const group2 = map2.get(keyString);\n        if (group2) {\n          group2[1].push(value);\n        } else {\n          map2.set(keyString, [key, [value]]);\n        }\n      }\n      function tryGetRootParameterDeclaration(node) {\n        return tryCast(getRootDeclaration(node), isParameter);\n      }\n      function isValidUnusedLocalDeclaration(declaration) {\n        if (isBindingElement(declaration)) {\n          if (isObjectBindingPattern(declaration.parent)) {\n            return !!(declaration.propertyName && isIdentifierThatStartsWithUnderscore(declaration.name));\n          }\n          return isIdentifierThatStartsWithUnderscore(declaration.name);\n        }\n        return isAmbientModule(declaration) || (isVariableDeclaration(declaration) && isForInOrOfStatement(declaration.parent.parent) || isImportedDeclaration(declaration)) && isIdentifierThatStartsWithUnderscore(declaration.name);\n      }\n      function checkUnusedLocalsAndParameters(nodeWithLocals, addDiagnostic) {\n        const unusedImports = /* @__PURE__ */ new Map();\n        const unusedDestructures = /* @__PURE__ */ new Map();\n        const unusedVariables = /* @__PURE__ */ new Map();\n        nodeWithLocals.locals.forEach((local) => {\n          if (local.flags & 262144 ? !(local.flags & 3 && !(local.isReferenced & 3)) : local.isReferenced || local.exportSymbol) {\n            return;\n          }\n          if (local.declarations) {\n            for (const declaration of local.declarations) {\n              if (isValidUnusedLocalDeclaration(declaration)) {\n                continue;\n              }\n              if (isImportedDeclaration(declaration)) {\n                addToGroup(unusedImports, importClauseFromImported(declaration), declaration, getNodeId);\n              } else if (isBindingElement(declaration) && isObjectBindingPattern(declaration.parent)) {\n                const lastElement = last(declaration.parent.elements);\n                if (declaration === lastElement || !last(declaration.parent.elements).dotDotDotToken) {\n                  addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId);\n                }\n              } else if (isVariableDeclaration(declaration)) {\n                addToGroup(unusedVariables, declaration.parent, declaration, getNodeId);\n              } else {\n                const parameter = local.valueDeclaration && tryGetRootParameterDeclaration(local.valueDeclaration);\n                const name = local.valueDeclaration && getNameOfDeclaration(local.valueDeclaration);\n                if (parameter && name) {\n                  if (!isParameterPropertyDeclaration(parameter, parameter.parent) && !parameterIsThisKeyword(parameter) && !isIdentifierThatStartsWithUnderscore(name)) {\n                    if (isBindingElement(declaration) && isArrayBindingPattern(declaration.parent)) {\n                      addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId);\n                    } else {\n                      addDiagnostic(parameter, 1, createDiagnosticForNode(name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolName(local)));\n                    }\n                  }\n                } else {\n                  errorUnusedLocal(declaration, symbolName(local), addDiagnostic);\n                }\n              }\n            }\n          }\n        });\n        unusedImports.forEach(([importClause, unuseds]) => {\n          const importDecl = importClause.parent;\n          const nDeclarations = (importClause.name ? 1 : 0) + (importClause.namedBindings ? importClause.namedBindings.kind === 271 ? 1 : importClause.namedBindings.elements.length : 0);\n          if (nDeclarations === unuseds.length) {\n            addDiagnostic(importDecl, 0, unuseds.length === 1 ? createDiagnosticForNode(importDecl, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(first(unuseds).name)) : createDiagnosticForNode(importDecl, Diagnostics.All_imports_in_import_declaration_are_unused));\n          } else {\n            for (const unused of unuseds)\n              errorUnusedLocal(unused, idText(unused.name), addDiagnostic);\n          }\n        });\n        unusedDestructures.forEach(([bindingPattern, bindingElements]) => {\n          const kind = tryGetRootParameterDeclaration(bindingPattern.parent) ? 1 : 0;\n          if (bindingPattern.elements.length === bindingElements.length) {\n            if (bindingElements.length === 1 && bindingPattern.parent.kind === 257 && bindingPattern.parent.parent.kind === 258) {\n              addToGroup(unusedVariables, bindingPattern.parent.parent, bindingPattern.parent, getNodeId);\n            } else {\n              addDiagnostic(bindingPattern, kind, bindingElements.length === 1 ? createDiagnosticForNode(bindingPattern, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(bindingElements).name)) : createDiagnosticForNode(bindingPattern, Diagnostics.All_destructured_elements_are_unused));\n            }\n          } else {\n            for (const e of bindingElements) {\n              addDiagnostic(e, kind, createDiagnosticForNode(e, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(e.name)));\n            }\n          }\n        });\n        unusedVariables.forEach(([declarationList, declarations]) => {\n          if (declarationList.declarations.length === declarations.length) {\n            addDiagnostic(declarationList, 0, declarations.length === 1 ? createDiagnosticForNode(first(declarations).name, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(declarations).name)) : createDiagnosticForNode(declarationList.parent.kind === 240 ? declarationList.parent : declarationList, Diagnostics.All_variables_are_unused));\n          } else {\n            for (const decl of declarations) {\n              addDiagnostic(decl, 0, createDiagnosticForNode(decl, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(decl.name)));\n            }\n          }\n        });\n      }\n      function checkPotentialUncheckedRenamedBindingElementsInTypes() {\n        var _a22;\n        for (const node of potentialUnusedRenamedBindingElementsInTypes) {\n          if (!((_a22 = getSymbolOfDeclaration(node)) == null ? void 0 : _a22.isReferenced)) {\n            const wrappingDeclaration = walkUpBindingElementsAndPatterns(node);\n            Debug2.assert(isParameterDeclaration(wrappingDeclaration), \"Only parameter declaration should be checked here\");\n            const diagnostic = createDiagnosticForNode(node.name, Diagnostics._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation, declarationNameToString(node.name), declarationNameToString(node.propertyName));\n            if (!wrappingDeclaration.type) {\n              addRelatedInfo(\n                diagnostic,\n                createFileDiagnostic(getSourceFileOfNode(wrappingDeclaration), wrappingDeclaration.end, 1, Diagnostics.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here, declarationNameToString(node.propertyName))\n              );\n            }\n            diagnostics.add(diagnostic);\n          }\n        }\n      }\n      function bindingNameText(name) {\n        switch (name.kind) {\n          case 79:\n            return idText(name);\n          case 204:\n          case 203:\n            return bindingNameText(cast(first(name.elements), isBindingElement).name);\n          default:\n            return Debug2.assertNever(name);\n        }\n      }\n      function isImportedDeclaration(node) {\n        return node.kind === 270 || node.kind === 273 || node.kind === 271;\n      }\n      function importClauseFromImported(decl) {\n        return decl.kind === 270 ? decl : decl.kind === 271 ? decl.parent : decl.parent.parent;\n      }\n      function checkBlock(node) {\n        if (node.kind === 238) {\n          checkGrammarStatementInAmbientContext(node);\n        }\n        if (isFunctionOrModuleBlock(node)) {\n          const saveFlowAnalysisDisabled = flowAnalysisDisabled;\n          forEach(node.statements, checkSourceElement);\n          flowAnalysisDisabled = saveFlowAnalysisDisabled;\n        } else {\n          forEach(node.statements, checkSourceElement);\n        }\n        if (node.locals) {\n          registerForUnusedIdentifiersCheck(node);\n        }\n      }\n      function checkCollisionWithArgumentsInGeneratedCode(node) {\n        if (languageVersion >= 2 || !hasRestParameter(node) || node.flags & 16777216 || nodeIsMissing(node.body)) {\n          return;\n        }\n        forEach(node.parameters, (p) => {\n          if (p.name && !isBindingPattern(p.name) && p.name.escapedText === argumentsSymbol.escapedName) {\n            errorSkippedOn(\"noEmit\", p, Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters);\n          }\n        });\n      }\n      function needCollisionCheckForIdentifier(node, identifier, name) {\n        if ((identifier == null ? void 0 : identifier.escapedText) !== name) {\n          return false;\n        }\n        if (node.kind === 169 || node.kind === 168 || node.kind === 171 || node.kind === 170 || node.kind === 174 || node.kind === 175 || node.kind === 299) {\n          return false;\n        }\n        if (node.flags & 16777216) {\n          return false;\n        }\n        if (isImportClause(node) || isImportEqualsDeclaration(node) || isImportSpecifier(node)) {\n          if (isTypeOnlyImportOrExportDeclaration(node)) {\n            return false;\n          }\n        }\n        const root = getRootDeclaration(node);\n        if (isParameter(root) && nodeIsMissing(root.parent.body)) {\n          return false;\n        }\n        return true;\n      }\n      function checkIfThisIsCapturedInEnclosingScope(node) {\n        findAncestor(node, (current) => {\n          if (getNodeCheckFlags(current) & 4) {\n            const isDeclaration2 = node.kind !== 79;\n            if (isDeclaration2) {\n              error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference);\n            } else {\n              error(node, Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference);\n            }\n            return true;\n          }\n          return false;\n        });\n      }\n      function checkIfNewTargetIsCapturedInEnclosingScope(node) {\n        findAncestor(node, (current) => {\n          if (getNodeCheckFlags(current) & 8) {\n            const isDeclaration2 = node.kind !== 79;\n            if (isDeclaration2) {\n              error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference);\n            } else {\n              error(node, Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference);\n            }\n            return true;\n          }\n          return false;\n        });\n      }\n      function checkCollisionWithRequireExportsInGeneratedCode(node, name) {\n        if (moduleKind >= 5 && !(moduleKind >= 100 && getSourceFileOfNode(node).impliedNodeFormat === 1)) {\n          return;\n        }\n        if (!name || !needCollisionCheckForIdentifier(node, name, \"require\") && !needCollisionCheckForIdentifier(node, name, \"exports\")) {\n          return;\n        }\n        if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1) {\n          return;\n        }\n        const parent2 = getDeclarationContainer(node);\n        if (parent2.kind === 308 && isExternalOrCommonJsModule(parent2)) {\n          errorSkippedOn(\n            \"noEmit\",\n            name,\n            Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,\n            declarationNameToString(name),\n            declarationNameToString(name)\n          );\n        }\n      }\n      function checkCollisionWithGlobalPromiseInGeneratedCode(node, name) {\n        if (!name || languageVersion >= 4 || !needCollisionCheckForIdentifier(node, name, \"Promise\")) {\n          return;\n        }\n        if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1) {\n          return;\n        }\n        const parent2 = getDeclarationContainer(node);\n        if (parent2.kind === 308 && isExternalOrCommonJsModule(parent2) && parent2.flags & 2048) {\n          errorSkippedOn(\n            \"noEmit\",\n            name,\n            Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,\n            declarationNameToString(name),\n            declarationNameToString(name)\n          );\n        }\n      }\n      function recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name) {\n        if (languageVersion <= 8 && (needCollisionCheckForIdentifier(node, name, \"WeakMap\") || needCollisionCheckForIdentifier(node, name, \"WeakSet\"))) {\n          potentialWeakMapSetCollisions.push(node);\n        }\n      }\n      function checkWeakMapSetCollision(node) {\n        const enclosingBlockScope = getEnclosingBlockScopeContainer(node);\n        if (getNodeCheckFlags(enclosingBlockScope) & 4194304) {\n          Debug2.assert(isNamedDeclaration(node) && isIdentifier(node.name) && typeof node.name.escapedText === \"string\", \"The target of a WeakMap/WeakSet collision check should be an identifier\");\n          errorSkippedOn(\"noEmit\", node, Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel, node.name.escapedText);\n        }\n      }\n      function recordPotentialCollisionWithReflectInGeneratedCode(node, name) {\n        if (name && languageVersion >= 2 && languageVersion <= 8 && needCollisionCheckForIdentifier(node, name, \"Reflect\")) {\n          potentialReflectCollisions.push(node);\n        }\n      }\n      function checkReflectCollision(node) {\n        let hasCollision = false;\n        if (isClassExpression(node)) {\n          for (const member of node.members) {\n            if (getNodeCheckFlags(member) & 8388608) {\n              hasCollision = true;\n              break;\n            }\n          }\n        } else if (isFunctionExpression(node)) {\n          if (getNodeCheckFlags(node) & 8388608) {\n            hasCollision = true;\n          }\n        } else {\n          const container = getEnclosingBlockScopeContainer(node);\n          if (container && getNodeCheckFlags(container) & 8388608) {\n            hasCollision = true;\n          }\n        }\n        if (hasCollision) {\n          Debug2.assert(isNamedDeclaration(node) && isIdentifier(node.name), \"The target of a Reflect collision check should be an identifier\");\n          errorSkippedOn(\n            \"noEmit\",\n            node,\n            Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,\n            declarationNameToString(node.name),\n            \"Reflect\"\n          );\n        }\n      }\n      function checkCollisionsForDeclarationName(node, name) {\n        if (!name)\n          return;\n        checkCollisionWithRequireExportsInGeneratedCode(node, name);\n        checkCollisionWithGlobalPromiseInGeneratedCode(node, name);\n        recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name);\n        recordPotentialCollisionWithReflectInGeneratedCode(node, name);\n        if (isClassLike(node)) {\n          checkTypeNameIsReserved(name, Diagnostics.Class_name_cannot_be_0);\n          if (!(node.flags & 16777216)) {\n            checkClassNameCollisionWithObject(name);\n          }\n        } else if (isEnumDeclaration(node)) {\n          checkTypeNameIsReserved(name, Diagnostics.Enum_name_cannot_be_0);\n        }\n      }\n      function checkVarDeclaredNamesNotShadowed(node) {\n        if ((getCombinedNodeFlags(node) & 3) !== 0 || isParameterDeclaration(node)) {\n          return;\n        }\n        if (node.kind === 257 && !node.initializer) {\n          return;\n        }\n        const symbol = getSymbolOfDeclaration(node);\n        if (symbol.flags & 1) {\n          if (!isIdentifier(node.name))\n            return Debug2.fail();\n          const localDeclarationSymbol = resolveName(\n            node,\n            node.name.escapedText,\n            3,\n            /*nodeNotFoundErrorMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            false\n          );\n          if (localDeclarationSymbol && localDeclarationSymbol !== symbol && localDeclarationSymbol.flags & 2) {\n            if (getDeclarationNodeFlagsFromSymbol(localDeclarationSymbol) & 3) {\n              const varDeclList = getAncestor(\n                localDeclarationSymbol.valueDeclaration,\n                258\n                /* VariableDeclarationList */\n              );\n              const container = varDeclList.parent.kind === 240 && varDeclList.parent.parent ? varDeclList.parent.parent : void 0;\n              const namesShareScope = container && (container.kind === 238 && isFunctionLike(container.parent) || container.kind === 265 || container.kind === 264 || container.kind === 308);\n              if (!namesShareScope) {\n                const name = symbolToString(localDeclarationSymbol);\n                error(node, Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1, name, name);\n              }\n            }\n          }\n        }\n      }\n      function convertAutoToAny(type) {\n        return type === autoType ? anyType : type === autoArrayType ? anyArrayType : type;\n      }\n      function checkVariableLikeDeclaration(node) {\n        var _a22;\n        checkDecorators(node);\n        if (!isBindingElement(node)) {\n          checkSourceElement(node.type);\n        }\n        if (!node.name) {\n          return;\n        }\n        if (node.name.kind === 164) {\n          checkComputedPropertyName(node.name);\n          if (hasOnlyExpressionInitializer(node) && node.initializer) {\n            checkExpressionCached(node.initializer);\n          }\n        }\n        if (isBindingElement(node)) {\n          if (node.propertyName && isIdentifier(node.name) && isParameterDeclaration(node) && nodeIsMissing(getContainingFunction(node).body)) {\n            potentialUnusedRenamedBindingElementsInTypes.push(node);\n            return;\n          }\n          if (isObjectBindingPattern(node.parent) && node.dotDotDotToken && languageVersion < 5) {\n            checkExternalEmitHelpers(\n              node,\n              4\n              /* Rest */\n            );\n          }\n          if (node.propertyName && node.propertyName.kind === 164) {\n            checkComputedPropertyName(node.propertyName);\n          }\n          const parent2 = node.parent.parent;\n          const parentCheckMode = node.dotDotDotToken ? 64 : 0;\n          const parentType = getTypeForBindingElementParent(parent2, parentCheckMode);\n          const name = node.propertyName || node.name;\n          if (parentType && !isBindingPattern(name)) {\n            const exprType = getLiteralTypeFromPropertyName(name);\n            if (isTypeUsableAsPropertyName(exprType)) {\n              const nameText = getPropertyNameFromType(exprType);\n              const property = getPropertyOfType(parentType, nameText);\n              if (property) {\n                markPropertyAsReferenced(\n                  property,\n                  /*nodeForCheckWriteOnly*/\n                  void 0,\n                  /*isSelfTypeAccess*/\n                  false\n                );\n                checkPropertyAccessibility(\n                  node,\n                  !!parent2.initializer && parent2.initializer.kind === 106,\n                  /*writing*/\n                  false,\n                  parentType,\n                  property\n                );\n              }\n            }\n          }\n        }\n        if (isBindingPattern(node.name)) {\n          if (node.name.kind === 204 && languageVersion < 2 && compilerOptions.downlevelIteration) {\n            checkExternalEmitHelpers(\n              node,\n              512\n              /* Read */\n            );\n          }\n          forEach(node.name.elements, checkSourceElement);\n        }\n        if (isParameter(node) && node.initializer && nodeIsMissing(getContainingFunction(node).body)) {\n          error(node, Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);\n          return;\n        }\n        if (isBindingPattern(node.name)) {\n          const needCheckInitializer = hasOnlyExpressionInitializer(node) && node.initializer && node.parent.parent.kind !== 246;\n          const needCheckWidenedType = !some(node.name.elements, not(isOmittedExpression));\n          if (needCheckInitializer || needCheckWidenedType) {\n            const widenedType = getWidenedTypeForVariableLikeDeclaration(node);\n            if (needCheckInitializer) {\n              const initializerType = checkExpressionCached(node.initializer);\n              if (strictNullChecks && needCheckWidenedType) {\n                checkNonNullNonVoidType(initializerType, node);\n              } else {\n                checkTypeAssignableToAndOptionallyElaborate(initializerType, getWidenedTypeForVariableLikeDeclaration(node), node, node.initializer);\n              }\n            }\n            if (needCheckWidenedType) {\n              if (isArrayBindingPattern(node.name)) {\n                checkIteratedTypeOrElementType(65, widenedType, undefinedType, node);\n              } else if (strictNullChecks) {\n                checkNonNullNonVoidType(widenedType, node);\n              }\n            }\n          }\n          return;\n        }\n        const symbol = getSymbolOfDeclaration(node);\n        if (symbol.flags & 2097152 && (isVariableDeclarationInitializedToBareOrAccessedRequire(node) || isBindingElementOfBareOrAccessedRequire(node))) {\n          checkAliasSymbol(node);\n          return;\n        }\n        const type = convertAutoToAny(getTypeOfSymbol(symbol));\n        if (node === symbol.valueDeclaration) {\n          const initializer = hasOnlyExpressionInitializer(node) && getEffectiveInitializer(node);\n          if (initializer) {\n            const isJSObjectLiteralInitializer = isInJSFile(node) && isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAccess(node.name)) && !!((_a22 = symbol.exports) == null ? void 0 : _a22.size);\n            if (!isJSObjectLiteralInitializer && node.parent.parent.kind !== 246) {\n              checkTypeAssignableToAndOptionallyElaborate(\n                checkExpressionCached(initializer),\n                type,\n                node,\n                initializer,\n                /*headMessage*/\n                void 0\n              );\n            }\n          }\n          if (symbol.declarations && symbol.declarations.length > 1) {\n            if (some(symbol.declarations, (d) => d !== node && isVariableLike(d) && !areDeclarationFlagsIdentical(d, node))) {\n              error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name));\n            }\n          }\n        } else {\n          const declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node));\n          if (!isErrorType(type) && !isErrorType(declarationType) && !isTypeIdenticalTo(type, declarationType) && !(symbol.flags & 67108864)) {\n            errorNextVariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType);\n          }\n          if (hasOnlyExpressionInitializer(node) && node.initializer) {\n            checkTypeAssignableToAndOptionallyElaborate(\n              checkExpressionCached(node.initializer),\n              declarationType,\n              node,\n              node.initializer,\n              /*headMessage*/\n              void 0\n            );\n          }\n          if (symbol.valueDeclaration && !areDeclarationFlagsIdentical(node, symbol.valueDeclaration)) {\n            error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name));\n          }\n        }\n        if (node.kind !== 169 && node.kind !== 168) {\n          checkExportsOnMergedDeclarations(node);\n          if (node.kind === 257 || node.kind === 205) {\n            checkVarDeclaredNamesNotShadowed(node);\n          }\n          checkCollisionsForDeclarationName(node, node.name);\n        }\n      }\n      function errorNextVariableOrPropertyDeclarationMustHaveSameType(firstDeclaration, firstType, nextDeclaration, nextType) {\n        const nextDeclarationName = getNameOfDeclaration(nextDeclaration);\n        const message = nextDeclaration.kind === 169 || nextDeclaration.kind === 168 ? Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2 : Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;\n        const declName = declarationNameToString(nextDeclarationName);\n        const err = error(\n          nextDeclarationName,\n          message,\n          declName,\n          typeToString(firstType),\n          typeToString(nextType)\n        );\n        if (firstDeclaration) {\n          addRelatedInfo(\n            err,\n            createDiagnosticForNode(firstDeclaration, Diagnostics._0_was_also_declared_here, declName)\n          );\n        }\n      }\n      function areDeclarationFlagsIdentical(left, right) {\n        if (left.kind === 166 && right.kind === 257 || left.kind === 257 && right.kind === 166) {\n          return true;\n        }\n        if (hasQuestionToken(left) !== hasQuestionToken(right)) {\n          return false;\n        }\n        const interestingFlags = 8 | 16 | 512 | 256 | 64 | 32;\n        return getSelectedEffectiveModifierFlags(left, interestingFlags) === getSelectedEffectiveModifierFlags(right, interestingFlags);\n      }\n      function checkVariableDeclaration(node) {\n        var _a22, _b3;\n        (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.Check, \"checkVariableDeclaration\", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });\n        checkGrammarVariableDeclaration(node);\n        checkVariableLikeDeclaration(node);\n        (_b3 = tracing) == null ? void 0 : _b3.pop();\n      }\n      function checkBindingElement(node) {\n        checkGrammarBindingElement(node);\n        return checkVariableLikeDeclaration(node);\n      }\n      function checkVariableStatement(node) {\n        if (!checkGrammarModifiers(node) && !checkGrammarVariableDeclarationList(node.declarationList))\n          checkGrammarForDisallowedLetOrConstStatement(node);\n        forEach(node.declarationList.declarations, checkSourceElement);\n      }\n      function checkExpressionStatement(node) {\n        checkGrammarStatementInAmbientContext(node);\n        checkExpression(node.expression);\n      }\n      function checkIfStatement(node) {\n        checkGrammarStatementInAmbientContext(node);\n        const type = checkTruthinessExpression(node.expression);\n        checkTestingKnownTruthyCallableOrAwaitableType(node.expression, type, node.thenStatement);\n        checkSourceElement(node.thenStatement);\n        if (node.thenStatement.kind === 239) {\n          error(node.thenStatement, Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement);\n        }\n        checkSourceElement(node.elseStatement);\n      }\n      function checkTestingKnownTruthyCallableOrAwaitableType(condExpr, condType, body) {\n        if (!strictNullChecks)\n          return;\n        bothHelper(condExpr, body);\n        function bothHelper(condExpr2, body2) {\n          condExpr2 = skipParentheses(condExpr2);\n          helper(condExpr2, body2);\n          while (isBinaryExpression(condExpr2) && (condExpr2.operatorToken.kind === 56 || condExpr2.operatorToken.kind === 60)) {\n            condExpr2 = skipParentheses(condExpr2.left);\n            helper(condExpr2, body2);\n          }\n        }\n        function helper(condExpr2, body2) {\n          const location = isLogicalOrCoalescingBinaryExpression(condExpr2) ? skipParentheses(condExpr2.right) : condExpr2;\n          if (isModuleExportsAccessExpression(location)) {\n            return;\n          }\n          if (isLogicalOrCoalescingBinaryExpression(location)) {\n            bothHelper(location, body2);\n            return;\n          }\n          const type = location === condExpr2 ? condType : checkTruthinessExpression(location);\n          const isPropertyExpressionCast = isPropertyAccessExpression(location) && isTypeAssertion(location.expression);\n          if (!(getTypeFacts(type) & 4194304) || isPropertyExpressionCast)\n            return;\n          const callSignatures = getSignaturesOfType(\n            type,\n            0\n            /* Call */\n          );\n          const isPromise = !!getAwaitedTypeOfPromise(type);\n          if (callSignatures.length === 0 && !isPromise) {\n            return;\n          }\n          const testedNode = isIdentifier(location) ? location : isPropertyAccessExpression(location) ? location.name : void 0;\n          const testedSymbol = testedNode && getSymbolAtLocation(testedNode);\n          if (!testedSymbol && !isPromise) {\n            return;\n          }\n          const isUsed = testedSymbol && isBinaryExpression(condExpr2.parent) && isSymbolUsedInBinaryExpressionChain(condExpr2.parent, testedSymbol) || testedSymbol && body2 && isSymbolUsedInConditionBody(condExpr2, body2, testedNode, testedSymbol);\n          if (!isUsed) {\n            if (isPromise) {\n              errorAndMaybeSuggestAwait(\n                location,\n                /*maybeMissingAwait*/\n                true,\n                Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,\n                getTypeNameForErrorDisplay(type)\n              );\n            } else {\n              error(location, Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead);\n            }\n          }\n        }\n      }\n      function isSymbolUsedInConditionBody(expr, body, testedNode, testedSymbol) {\n        return !!forEachChild(body, function check(childNode) {\n          if (isIdentifier(childNode)) {\n            const childSymbol = getSymbolAtLocation(childNode);\n            if (childSymbol && childSymbol === testedSymbol) {\n              if (isIdentifier(expr) || isIdentifier(testedNode) && isBinaryExpression(testedNode.parent)) {\n                return true;\n              }\n              let testedExpression = testedNode.parent;\n              let childExpression = childNode.parent;\n              while (testedExpression && childExpression) {\n                if (isIdentifier(testedExpression) && isIdentifier(childExpression) || testedExpression.kind === 108 && childExpression.kind === 108) {\n                  return getSymbolAtLocation(testedExpression) === getSymbolAtLocation(childExpression);\n                } else if (isPropertyAccessExpression(testedExpression) && isPropertyAccessExpression(childExpression)) {\n                  if (getSymbolAtLocation(testedExpression.name) !== getSymbolAtLocation(childExpression.name)) {\n                    return false;\n                  }\n                  childExpression = childExpression.expression;\n                  testedExpression = testedExpression.expression;\n                } else if (isCallExpression(testedExpression) && isCallExpression(childExpression)) {\n                  childExpression = childExpression.expression;\n                  testedExpression = testedExpression.expression;\n                } else {\n                  return false;\n                }\n              }\n            }\n          }\n          return forEachChild(childNode, check);\n        });\n      }\n      function isSymbolUsedInBinaryExpressionChain(node, testedSymbol) {\n        while (isBinaryExpression(node) && node.operatorToken.kind === 55) {\n          const isUsed = forEachChild(node.right, function visit(child) {\n            if (isIdentifier(child)) {\n              const symbol = getSymbolAtLocation(child);\n              if (symbol && symbol === testedSymbol) {\n                return true;\n              }\n            }\n            return forEachChild(child, visit);\n          });\n          if (isUsed) {\n            return true;\n          }\n          node = node.parent;\n        }\n        return false;\n      }\n      function checkDoStatement(node) {\n        checkGrammarStatementInAmbientContext(node);\n        checkSourceElement(node.statement);\n        checkTruthinessExpression(node.expression);\n      }\n      function checkWhileStatement(node) {\n        checkGrammarStatementInAmbientContext(node);\n        checkTruthinessExpression(node.expression);\n        checkSourceElement(node.statement);\n      }\n      function checkTruthinessOfType(type, node) {\n        if (type.flags & 16384) {\n          error(node, Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness);\n        }\n        return type;\n      }\n      function checkTruthinessExpression(node, checkMode) {\n        return checkTruthinessOfType(checkExpression(node, checkMode), node);\n      }\n      function checkForStatement(node) {\n        if (!checkGrammarStatementInAmbientContext(node)) {\n          if (node.initializer && node.initializer.kind === 258) {\n            checkGrammarVariableDeclarationList(node.initializer);\n          }\n        }\n        if (node.initializer) {\n          if (node.initializer.kind === 258) {\n            forEach(node.initializer.declarations, checkVariableDeclaration);\n          } else {\n            checkExpression(node.initializer);\n          }\n        }\n        if (node.condition)\n          checkTruthinessExpression(node.condition);\n        if (node.incrementor)\n          checkExpression(node.incrementor);\n        checkSourceElement(node.statement);\n        if (node.locals) {\n          registerForUnusedIdentifiersCheck(node);\n        }\n      }\n      function checkForOfStatement(node) {\n        checkGrammarForInOrForOfStatement(node);\n        const container = getContainingFunctionOrClassStaticBlock(node);\n        if (node.awaitModifier) {\n          if (container && isClassStaticBlockDeclaration(container)) {\n            grammarErrorOnNode(node.awaitModifier, Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);\n          } else {\n            const functionFlags = getFunctionFlags(container);\n            if ((functionFlags & (4 | 2)) === 2 && languageVersion < 99) {\n              checkExternalEmitHelpers(\n                node,\n                16384\n                /* ForAwaitOfIncludes */\n              );\n            }\n          }\n        } else if (compilerOptions.downlevelIteration && languageVersion < 2) {\n          checkExternalEmitHelpers(\n            node,\n            256\n            /* ForOfIncludes */\n          );\n        }\n        if (node.initializer.kind === 258) {\n          checkForInOrForOfVariableDeclaration(node);\n        } else {\n          const varExpr = node.initializer;\n          const iteratedType = checkRightHandSideOfForOf(node);\n          if (varExpr.kind === 206 || varExpr.kind === 207) {\n            checkDestructuringAssignment(varExpr, iteratedType || errorType);\n          } else {\n            const leftType = checkExpression(varExpr);\n            checkReferenceExpression(\n              varExpr,\n              Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,\n              Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access\n            );\n            if (iteratedType) {\n              checkTypeAssignableToAndOptionallyElaborate(iteratedType, leftType, varExpr, node.expression);\n            }\n          }\n        }\n        checkSourceElement(node.statement);\n        if (node.locals) {\n          registerForUnusedIdentifiersCheck(node);\n        }\n      }\n      function checkForInStatement(node) {\n        checkGrammarForInOrForOfStatement(node);\n        const rightType = getNonNullableTypeIfNeeded(checkExpression(node.expression));\n        if (node.initializer.kind === 258) {\n          const variable = node.initializer.declarations[0];\n          if (variable && isBindingPattern(variable.name)) {\n            error(variable.name, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern);\n          }\n          checkForInOrForOfVariableDeclaration(node);\n        } else {\n          const varExpr = node.initializer;\n          const leftType = checkExpression(varExpr);\n          if (varExpr.kind === 206 || varExpr.kind === 207) {\n            error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern);\n          } else if (!isTypeAssignableTo(getIndexTypeOrString(rightType), leftType)) {\n            error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any);\n          } else {\n            checkReferenceExpression(\n              varExpr,\n              Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,\n              Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access\n            );\n          }\n        }\n        if (rightType === neverType || !isTypeAssignableToKind(\n          rightType,\n          67108864 | 58982400\n          /* InstantiableNonPrimitive */\n        )) {\n          error(node.expression, Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0, typeToString(rightType));\n        }\n        checkSourceElement(node.statement);\n        if (node.locals) {\n          registerForUnusedIdentifiersCheck(node);\n        }\n      }\n      function checkForInOrForOfVariableDeclaration(iterationStatement) {\n        const variableDeclarationList = iterationStatement.initializer;\n        if (variableDeclarationList.declarations.length >= 1) {\n          const decl = variableDeclarationList.declarations[0];\n          checkVariableDeclaration(decl);\n        }\n      }\n      function checkRightHandSideOfForOf(statement) {\n        const use = statement.awaitModifier ? 15 : 13;\n        return checkIteratedTypeOrElementType(use, checkNonNullExpression(statement.expression), undefinedType, statement.expression);\n      }\n      function checkIteratedTypeOrElementType(use, inputType, sentType, errorNode) {\n        if (isTypeAny(inputType)) {\n          return inputType;\n        }\n        return getIteratedTypeOrElementType(\n          use,\n          inputType,\n          sentType,\n          errorNode,\n          /*checkAssignability*/\n          true\n        ) || anyType;\n      }\n      function getIteratedTypeOrElementType(use, inputType, sentType, errorNode, checkAssignability) {\n        const allowAsyncIterables = (use & 2) !== 0;\n        if (inputType === neverType) {\n          reportTypeNotIterableError(errorNode, inputType, allowAsyncIterables);\n          return void 0;\n        }\n        const uplevelIteration = languageVersion >= 2;\n        const downlevelIteration = !uplevelIteration && compilerOptions.downlevelIteration;\n        const possibleOutOfBounds = compilerOptions.noUncheckedIndexedAccess && !!(use & 128);\n        if (uplevelIteration || downlevelIteration || allowAsyncIterables) {\n          const iterationTypes = getIterationTypesOfIterable(inputType, use, uplevelIteration ? errorNode : void 0);\n          if (checkAssignability) {\n            if (iterationTypes) {\n              const diagnostic = use & 8 ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0 : use & 32 ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0 : use & 64 ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0 : use & 16 ? Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0 : void 0;\n              if (diagnostic) {\n                checkTypeAssignableTo(sentType, iterationTypes.nextType, errorNode, diagnostic);\n              }\n            }\n          }\n          if (iterationTypes || uplevelIteration) {\n            return possibleOutOfBounds ? includeUndefinedInIndexSignature(iterationTypes && iterationTypes.yieldType) : iterationTypes && iterationTypes.yieldType;\n          }\n        }\n        let arrayType = inputType;\n        let reportedError = false;\n        let hasStringConstituent = false;\n        if (use & 4) {\n          if (arrayType.flags & 1048576) {\n            const arrayTypes = inputType.types;\n            const filteredTypes = filter(arrayTypes, (t) => !(t.flags & 402653316));\n            if (filteredTypes !== arrayTypes) {\n              arrayType = getUnionType(\n                filteredTypes,\n                2\n                /* Subtype */\n              );\n            }\n          } else if (arrayType.flags & 402653316) {\n            arrayType = neverType;\n          }\n          hasStringConstituent = arrayType !== inputType;\n          if (hasStringConstituent) {\n            if (languageVersion < 1) {\n              if (errorNode) {\n                error(errorNode, Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);\n                reportedError = true;\n              }\n            }\n            if (arrayType.flags & 131072) {\n              return possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType;\n            }\n          }\n        }\n        if (!isArrayLikeType(arrayType)) {\n          if (errorNode && !reportedError) {\n            const allowsStrings = !!(use & 4) && !hasStringConstituent;\n            const [defaultDiagnostic, maybeMissingAwait] = getIterationDiagnosticDetails(allowsStrings, downlevelIteration);\n            errorAndMaybeSuggestAwait(\n              errorNode,\n              maybeMissingAwait && !!getAwaitedTypeOfPromise(arrayType),\n              defaultDiagnostic,\n              typeToString(arrayType)\n            );\n          }\n          return hasStringConstituent ? possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType : void 0;\n        }\n        const arrayElementType = getIndexTypeOfType(arrayType, numberType);\n        if (hasStringConstituent && arrayElementType) {\n          if (arrayElementType.flags & 402653316 && !compilerOptions.noUncheckedIndexedAccess) {\n            return stringType;\n          }\n          return getUnionType(\n            possibleOutOfBounds ? [arrayElementType, stringType, undefinedType] : [arrayElementType, stringType],\n            2\n            /* Subtype */\n          );\n        }\n        return use & 128 ? includeUndefinedInIndexSignature(arrayElementType) : arrayElementType;\n        function getIterationDiagnosticDetails(allowsStrings, downlevelIteration2) {\n          var _a22;\n          if (downlevelIteration2) {\n            return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true] : [Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true];\n          }\n          const yieldType = getIterationTypeOfIterable(\n            use,\n            0,\n            inputType,\n            /*errorNode*/\n            void 0\n          );\n          if (yieldType) {\n            return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, false];\n          }\n          if (isES2015OrLaterIterable((_a22 = inputType.symbol) == null ? void 0 : _a22.escapedName)) {\n            return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, true];\n          }\n          return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type, true] : [Diagnostics.Type_0_is_not_an_array_type, true];\n        }\n      }\n      function isES2015OrLaterIterable(n) {\n        switch (n) {\n          case \"Float32Array\":\n          case \"Float64Array\":\n          case \"Int16Array\":\n          case \"Int32Array\":\n          case \"Int8Array\":\n          case \"NodeList\":\n          case \"Uint16Array\":\n          case \"Uint32Array\":\n          case \"Uint8Array\":\n          case \"Uint8ClampedArray\":\n            return true;\n        }\n        return false;\n      }\n      function getIterationTypeOfIterable(use, typeKind, inputType, errorNode) {\n        if (isTypeAny(inputType)) {\n          return void 0;\n        }\n        const iterationTypes = getIterationTypesOfIterable(inputType, use, errorNode);\n        return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(typeKind)];\n      }\n      function createIterationTypes(yieldType = neverType, returnType = neverType, nextType = unknownType) {\n        if (yieldType.flags & 67359327 && returnType.flags & (1 | 131072 | 2 | 16384 | 32768) && nextType.flags & (1 | 131072 | 2 | 16384 | 32768)) {\n          const id = getTypeListId([yieldType, returnType, nextType]);\n          let iterationTypes = iterationTypesCache.get(id);\n          if (!iterationTypes) {\n            iterationTypes = { yieldType, returnType, nextType };\n            iterationTypesCache.set(id, iterationTypes);\n          }\n          return iterationTypes;\n        }\n        return { yieldType, returnType, nextType };\n      }\n      function combineIterationTypes(array) {\n        let yieldTypes;\n        let returnTypes;\n        let nextTypes;\n        for (const iterationTypes of array) {\n          if (iterationTypes === void 0 || iterationTypes === noIterationTypes) {\n            continue;\n          }\n          if (iterationTypes === anyIterationTypes) {\n            return anyIterationTypes;\n          }\n          yieldTypes = append(yieldTypes, iterationTypes.yieldType);\n          returnTypes = append(returnTypes, iterationTypes.returnType);\n          nextTypes = append(nextTypes, iterationTypes.nextType);\n        }\n        if (yieldTypes || returnTypes || nextTypes) {\n          return createIterationTypes(\n            yieldTypes && getUnionType(yieldTypes),\n            returnTypes && getUnionType(returnTypes),\n            nextTypes && getIntersectionType(nextTypes)\n          );\n        }\n        return noIterationTypes;\n      }\n      function getCachedIterationTypes(type, cacheKey) {\n        return type[cacheKey];\n      }\n      function setCachedIterationTypes(type, cacheKey, cachedTypes2) {\n        return type[cacheKey] = cachedTypes2;\n      }\n      function getIterationTypesOfIterable(type, use, errorNode) {\n        var _a22, _b3;\n        if (isTypeAny(type)) {\n          return anyIterationTypes;\n        }\n        if (!(type.flags & 1048576)) {\n          const errorOutputContainer = errorNode ? { errors: void 0 } : void 0;\n          const iterationTypes2 = getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer);\n          if (iterationTypes2 === noIterationTypes) {\n            if (errorNode) {\n              const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2));\n              if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) {\n                addRelatedInfo(rootDiag, ...errorOutputContainer.errors);\n              }\n            }\n            return void 0;\n          } else if ((_a22 = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _a22.length) {\n            for (const diag2 of errorOutputContainer.errors) {\n              diagnostics.add(diag2);\n            }\n          }\n          return iterationTypes2;\n        }\n        const cacheKey = use & 2 ? \"iterationTypesOfAsyncIterable\" : \"iterationTypesOfIterable\";\n        const cachedTypes2 = getCachedIterationTypes(type, cacheKey);\n        if (cachedTypes2)\n          return cachedTypes2 === noIterationTypes ? void 0 : cachedTypes2;\n        let allIterationTypes;\n        for (const constituent of type.types) {\n          const errorOutputContainer = errorNode ? { errors: void 0 } : void 0;\n          const iterationTypes2 = getIterationTypesOfIterableWorker(constituent, use, errorNode, errorOutputContainer);\n          if (iterationTypes2 === noIterationTypes) {\n            if (errorNode) {\n              const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2));\n              if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) {\n                addRelatedInfo(rootDiag, ...errorOutputContainer.errors);\n              }\n            }\n            setCachedIterationTypes(type, cacheKey, noIterationTypes);\n            return void 0;\n          } else if ((_b3 = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _b3.length) {\n            for (const diag2 of errorOutputContainer.errors) {\n              diagnostics.add(diag2);\n            }\n          }\n          allIterationTypes = append(allIterationTypes, iterationTypes2);\n        }\n        const iterationTypes = allIterationTypes ? combineIterationTypes(allIterationTypes) : noIterationTypes;\n        setCachedIterationTypes(type, cacheKey, iterationTypes);\n        return iterationTypes === noIterationTypes ? void 0 : iterationTypes;\n      }\n      function getAsyncFromSyncIterationTypes(iterationTypes, errorNode) {\n        if (iterationTypes === noIterationTypes)\n          return noIterationTypes;\n        if (iterationTypes === anyIterationTypes)\n          return anyIterationTypes;\n        const { yieldType, returnType, nextType } = iterationTypes;\n        if (errorNode) {\n          getGlobalAwaitedSymbol(\n            /*reportErrors*/\n            true\n          );\n        }\n        return createIterationTypes(\n          getAwaitedType(yieldType, errorNode) || anyType,\n          getAwaitedType(returnType, errorNode) || anyType,\n          nextType\n        );\n      }\n      function getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer) {\n        if (isTypeAny(type)) {\n          return anyIterationTypes;\n        }\n        let noCache = false;\n        if (use & 2) {\n          const iterationTypes = getIterationTypesOfIterableCached(type, asyncIterationTypesResolver) || getIterationTypesOfIterableFast(type, asyncIterationTypesResolver);\n          if (iterationTypes) {\n            if (iterationTypes === noIterationTypes && errorNode) {\n              noCache = true;\n            } else {\n              return use & 8 ? getAsyncFromSyncIterationTypes(iterationTypes, errorNode) : iterationTypes;\n            }\n          }\n        }\n        if (use & 1) {\n          let iterationTypes = getIterationTypesOfIterableCached(type, syncIterationTypesResolver) || getIterationTypesOfIterableFast(type, syncIterationTypesResolver);\n          if (iterationTypes) {\n            if (iterationTypes === noIterationTypes && errorNode) {\n              noCache = true;\n            } else {\n              if (use & 2) {\n                if (iterationTypes !== noIterationTypes) {\n                  iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode);\n                  return noCache ? iterationTypes : setCachedIterationTypes(type, \"iterationTypesOfAsyncIterable\", iterationTypes);\n                }\n              } else {\n                return iterationTypes;\n              }\n            }\n          }\n        }\n        if (use & 2) {\n          const iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache);\n          if (iterationTypes !== noIterationTypes) {\n            return iterationTypes;\n          }\n        }\n        if (use & 1) {\n          let iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache);\n          if (iterationTypes !== noIterationTypes) {\n            if (use & 2) {\n              iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode);\n              return noCache ? iterationTypes : setCachedIterationTypes(type, \"iterationTypesOfAsyncIterable\", iterationTypes);\n            } else {\n              return iterationTypes;\n            }\n          }\n        }\n        return noIterationTypes;\n      }\n      function getIterationTypesOfIterableCached(type, resolver) {\n        return getCachedIterationTypes(type, resolver.iterableCacheKey);\n      }\n      function getIterationTypesOfGlobalIterableType(globalType, resolver) {\n        const globalIterationTypes = getIterationTypesOfIterableCached(globalType, resolver) || getIterationTypesOfIterableSlow(\n          globalType,\n          resolver,\n          /*errorNode*/\n          void 0,\n          /*errorOutputContainer*/\n          void 0,\n          /*noCache*/\n          false\n        );\n        return globalIterationTypes === noIterationTypes ? defaultIterationTypes : globalIterationTypes;\n      }\n      function getIterationTypesOfIterableFast(type, resolver) {\n        let globalType;\n        if (isReferenceToType2(type, globalType = resolver.getGlobalIterableType(\n          /*reportErrors*/\n          false\n        )) || isReferenceToType2(type, globalType = resolver.getGlobalIterableIteratorType(\n          /*reportErrors*/\n          false\n        ))) {\n          const [yieldType] = getTypeArguments(type);\n          const { returnType, nextType } = getIterationTypesOfGlobalIterableType(globalType, resolver);\n          return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType(\n            yieldType,\n            /*errorNode*/\n            void 0\n          ) || yieldType, resolver.resolveIterationType(\n            returnType,\n            /*errorNode*/\n            void 0\n          ) || returnType, nextType));\n        }\n        if (isReferenceToType2(type, resolver.getGlobalGeneratorType(\n          /*reportErrors*/\n          false\n        ))) {\n          const [yieldType, returnType, nextType] = getTypeArguments(type);\n          return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType(\n            yieldType,\n            /*errorNode*/\n            void 0\n          ) || yieldType, resolver.resolveIterationType(\n            returnType,\n            /*errorNode*/\n            void 0\n          ) || returnType, nextType));\n        }\n      }\n      function getPropertyNameForKnownSymbolName(symbolName2) {\n        const ctorType = getGlobalESSymbolConstructorSymbol(\n          /*reportErrors*/\n          false\n        );\n        const uniqueType = ctorType && getTypeOfPropertyOfType(getTypeOfSymbol(ctorType), escapeLeadingUnderscores(symbolName2));\n        return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : `__@${symbolName2}`;\n      }\n      function getIterationTypesOfIterableSlow(type, resolver, errorNode, errorOutputContainer, noCache) {\n        var _a22;\n        const method = getPropertyOfType(type, getPropertyNameForKnownSymbolName(resolver.iteratorSymbolName));\n        const methodType = method && !(method.flags & 16777216) ? getTypeOfSymbol(method) : void 0;\n        if (isTypeAny(methodType)) {\n          return noCache ? anyIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, anyIterationTypes);\n        }\n        const signatures = methodType ? getSignaturesOfType(\n          methodType,\n          0\n          /* Call */\n        ) : void 0;\n        if (!some(signatures)) {\n          return noCache ? noIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, noIterationTypes);\n        }\n        const iteratorType = getIntersectionType(map(signatures, getReturnTypeOfSignature));\n        const iterationTypes = (_a22 = getIterationTypesOfIteratorWorker(iteratorType, resolver, errorNode, errorOutputContainer, noCache)) != null ? _a22 : noIterationTypes;\n        return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, iterationTypes);\n      }\n      function reportTypeNotIterableError(errorNode, type, allowAsyncIterables) {\n        const message = allowAsyncIterables ? Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator : Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;\n        const suggestAwait = (\n          // for (const x of Promise<...>) or [...Promise<...>]\n          !!getAwaitedTypeOfPromise(type) || !allowAsyncIterables && isForOfStatement(errorNode.parent) && errorNode.parent.expression === errorNode && getGlobalAsyncIterableType(\n            /** reportErrors */\n            false\n          ) !== emptyGenericType && isTypeAssignableTo(\n            type,\n            getGlobalAsyncIterableType(\n              /** reportErrors */\n              false\n            )\n          )\n        );\n        return errorAndMaybeSuggestAwait(errorNode, suggestAwait, message, typeToString(type));\n      }\n      function getIterationTypesOfIterator(type, resolver, errorNode, errorOutputContainer) {\n        return getIterationTypesOfIteratorWorker(\n          type,\n          resolver,\n          errorNode,\n          errorOutputContainer,\n          /*noCache*/\n          false\n        );\n      }\n      function getIterationTypesOfIteratorWorker(type, resolver, errorNode, errorOutputContainer, noCache) {\n        if (isTypeAny(type)) {\n          return anyIterationTypes;\n        }\n        let iterationTypes = getIterationTypesOfIteratorCached(type, resolver) || getIterationTypesOfIteratorFast(type, resolver);\n        if (iterationTypes === noIterationTypes && errorNode) {\n          iterationTypes = void 0;\n          noCache = true;\n        }\n        iterationTypes != null ? iterationTypes : iterationTypes = getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache);\n        return iterationTypes === noIterationTypes ? void 0 : iterationTypes;\n      }\n      function getIterationTypesOfIteratorCached(type, resolver) {\n        return getCachedIterationTypes(type, resolver.iteratorCacheKey);\n      }\n      function getIterationTypesOfIteratorFast(type, resolver) {\n        const globalType = resolver.getGlobalIterableIteratorType(\n          /*reportErrors*/\n          false\n        );\n        if (isReferenceToType2(type, globalType)) {\n          const [yieldType] = getTypeArguments(type);\n          const globalIterationTypes = getIterationTypesOfIteratorCached(globalType, resolver) || getIterationTypesOfIteratorSlow(\n            globalType,\n            resolver,\n            /*errorNode*/\n            void 0,\n            /*errorOutputContainer*/\n            void 0,\n            /*noCache*/\n            false\n          );\n          const { returnType, nextType } = globalIterationTypes === noIterationTypes ? defaultIterationTypes : globalIterationTypes;\n          return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType));\n        }\n        if (isReferenceToType2(type, resolver.getGlobalIteratorType(\n          /*reportErrors*/\n          false\n        )) || isReferenceToType2(type, resolver.getGlobalGeneratorType(\n          /*reportErrors*/\n          false\n        ))) {\n          const [yieldType, returnType, nextType] = getTypeArguments(type);\n          return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType));\n        }\n      }\n      function isIteratorResult(type, kind) {\n        const doneType = getTypeOfPropertyOfType(type, \"done\") || falseType;\n        return isTypeAssignableTo(kind === 0 ? falseType : trueType, doneType);\n      }\n      function isYieldIteratorResult(type) {\n        return isIteratorResult(\n          type,\n          0\n          /* Yield */\n        );\n      }\n      function isReturnIteratorResult(type) {\n        return isIteratorResult(\n          type,\n          1\n          /* Return */\n        );\n      }\n      function getIterationTypesOfIteratorResult(type) {\n        if (isTypeAny(type)) {\n          return anyIterationTypes;\n        }\n        const cachedTypes2 = getCachedIterationTypes(type, \"iterationTypesOfIteratorResult\");\n        if (cachedTypes2) {\n          return cachedTypes2;\n        }\n        if (isReferenceToType2(type, getGlobalIteratorYieldResultType(\n          /*reportErrors*/\n          false\n        ))) {\n          const yieldType2 = getTypeArguments(type)[0];\n          return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", createIterationTypes(\n            yieldType2,\n            /*returnType*/\n            void 0,\n            /*nextType*/\n            void 0\n          ));\n        }\n        if (isReferenceToType2(type, getGlobalIteratorReturnResultType(\n          /*reportErrors*/\n          false\n        ))) {\n          const returnType2 = getTypeArguments(type)[0];\n          return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", createIterationTypes(\n            /*yieldType*/\n            void 0,\n            returnType2,\n            /*nextType*/\n            void 0\n          ));\n        }\n        const yieldIteratorResult = filterType(type, isYieldIteratorResult);\n        const yieldType = yieldIteratorResult !== neverType ? getTypeOfPropertyOfType(yieldIteratorResult, \"value\") : void 0;\n        const returnIteratorResult = filterType(type, isReturnIteratorResult);\n        const returnType = returnIteratorResult !== neverType ? getTypeOfPropertyOfType(returnIteratorResult, \"value\") : void 0;\n        if (!yieldType && !returnType) {\n          return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", noIterationTypes);\n        }\n        return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", createIterationTypes(\n          yieldType,\n          returnType || voidType,\n          /*nextType*/\n          void 0\n        ));\n      }\n      function getIterationTypesOfMethod(type, resolver, methodName, errorNode, errorOutputContainer) {\n        var _a22, _b3, _c, _d, _e, _f;\n        const method = getPropertyOfType(type, methodName);\n        if (!method && methodName !== \"next\") {\n          return void 0;\n        }\n        const methodType = method && !(methodName === \"next\" && method.flags & 16777216) ? methodName === \"next\" ? getTypeOfSymbol(method) : getTypeWithFacts(\n          getTypeOfSymbol(method),\n          2097152\n          /* NEUndefinedOrNull */\n        ) : void 0;\n        if (isTypeAny(methodType)) {\n          return methodName === \"next\" ? anyIterationTypes : anyIterationTypesExceptNext;\n        }\n        const methodSignatures = methodType ? getSignaturesOfType(\n          methodType,\n          0\n          /* Call */\n        ) : emptyArray;\n        if (methodSignatures.length === 0) {\n          if (errorNode) {\n            const diagnostic = methodName === \"next\" ? resolver.mustHaveANextMethodDiagnostic : resolver.mustBeAMethodDiagnostic;\n            if (errorOutputContainer) {\n              (_a22 = errorOutputContainer.errors) != null ? _a22 : errorOutputContainer.errors = [];\n              errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, diagnostic, methodName));\n            } else {\n              error(errorNode, diagnostic, methodName);\n            }\n          }\n          return methodName === \"next\" ? noIterationTypes : void 0;\n        }\n        if ((methodType == null ? void 0 : methodType.symbol) && methodSignatures.length === 1) {\n          const globalGeneratorType = resolver.getGlobalGeneratorType(\n            /*reportErrors*/\n            false\n          );\n          const globalIteratorType = resolver.getGlobalIteratorType(\n            /*reportErrors*/\n            false\n          );\n          const isGeneratorMethod = ((_c = (_b3 = globalGeneratorType.symbol) == null ? void 0 : _b3.members) == null ? void 0 : _c.get(methodName)) === methodType.symbol;\n          const isIteratorMethod = !isGeneratorMethod && ((_e = (_d = globalIteratorType.symbol) == null ? void 0 : _d.members) == null ? void 0 : _e.get(methodName)) === methodType.symbol;\n          if (isGeneratorMethod || isIteratorMethod) {\n            const globalType = isGeneratorMethod ? globalGeneratorType : globalIteratorType;\n            const { mapper } = methodType;\n            return createIterationTypes(\n              getMappedType(globalType.typeParameters[0], mapper),\n              getMappedType(globalType.typeParameters[1], mapper),\n              methodName === \"next\" ? getMappedType(globalType.typeParameters[2], mapper) : void 0\n            );\n          }\n        }\n        let methodParameterTypes;\n        let methodReturnTypes;\n        for (const signature of methodSignatures) {\n          if (methodName !== \"throw\" && some(signature.parameters)) {\n            methodParameterTypes = append(methodParameterTypes, getTypeAtPosition(signature, 0));\n          }\n          methodReturnTypes = append(methodReturnTypes, getReturnTypeOfSignature(signature));\n        }\n        let returnTypes;\n        let nextType;\n        if (methodName !== \"throw\") {\n          const methodParameterType = methodParameterTypes ? getUnionType(methodParameterTypes) : unknownType;\n          if (methodName === \"next\") {\n            nextType = methodParameterType;\n          } else if (methodName === \"return\") {\n            const resolvedMethodParameterType = resolver.resolveIterationType(methodParameterType, errorNode) || anyType;\n            returnTypes = append(returnTypes, resolvedMethodParameterType);\n          }\n        }\n        let yieldType;\n        const methodReturnType = methodReturnTypes ? getIntersectionType(methodReturnTypes) : neverType;\n        const resolvedMethodReturnType = resolver.resolveIterationType(methodReturnType, errorNode) || anyType;\n        const iterationTypes = getIterationTypesOfIteratorResult(resolvedMethodReturnType);\n        if (iterationTypes === noIterationTypes) {\n          if (errorNode) {\n            if (errorOutputContainer) {\n              (_f = errorOutputContainer.errors) != null ? _f : errorOutputContainer.errors = [];\n              errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, resolver.mustHaveAValueDiagnostic, methodName));\n            } else {\n              error(errorNode, resolver.mustHaveAValueDiagnostic, methodName);\n            }\n          }\n          yieldType = anyType;\n          returnTypes = append(returnTypes, anyType);\n        } else {\n          yieldType = iterationTypes.yieldType;\n          returnTypes = append(returnTypes, iterationTypes.returnType);\n        }\n        return createIterationTypes(yieldType, getUnionType(returnTypes), nextType);\n      }\n      function getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache) {\n        const iterationTypes = combineIterationTypes([\n          getIterationTypesOfMethod(type, resolver, \"next\", errorNode, errorOutputContainer),\n          getIterationTypesOfMethod(type, resolver, \"return\", errorNode, errorOutputContainer),\n          getIterationTypesOfMethod(type, resolver, \"throw\", errorNode, errorOutputContainer)\n        ]);\n        return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iteratorCacheKey, iterationTypes);\n      }\n      function getIterationTypeOfGeneratorFunctionReturnType(kind, returnType, isAsyncGenerator) {\n        if (isTypeAny(returnType)) {\n          return void 0;\n        }\n        const iterationTypes = getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsyncGenerator);\n        return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(kind)];\n      }\n      function getIterationTypesOfGeneratorFunctionReturnType(type, isAsyncGenerator) {\n        if (isTypeAny(type)) {\n          return anyIterationTypes;\n        }\n        const use = isAsyncGenerator ? 2 : 1;\n        const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver;\n        return getIterationTypesOfIterable(\n          type,\n          use,\n          /*errorNode*/\n          void 0\n        ) || getIterationTypesOfIterator(\n          type,\n          resolver,\n          /*errorNode*/\n          void 0,\n          /*errorOutputContainer*/\n          void 0\n        );\n      }\n      function checkBreakOrContinueStatement(node) {\n        if (!checkGrammarStatementInAmbientContext(node))\n          checkGrammarBreakOrContinueStatement(node);\n      }\n      function unwrapReturnType(returnType, functionFlags) {\n        const isGenerator = !!(functionFlags & 1);\n        const isAsync = !!(functionFlags & 2);\n        if (isGenerator) {\n          const returnIterationType = getIterationTypeOfGeneratorFunctionReturnType(1, returnType, isAsync);\n          if (!returnIterationType) {\n            return errorType;\n          }\n          return isAsync ? getAwaitedTypeNoAlias(unwrapAwaitedType(returnIterationType)) : returnIterationType;\n        }\n        return isAsync ? getAwaitedTypeNoAlias(returnType) || errorType : returnType;\n      }\n      function isUnwrappedReturnTypeVoidOrAny(func, returnType) {\n        const unwrappedReturnType = unwrapReturnType(returnType, getFunctionFlags(func));\n        return !!unwrappedReturnType && maybeTypeOfKind(\n          unwrappedReturnType,\n          16384 | 3\n          /* AnyOrUnknown */\n        );\n      }\n      function checkReturnStatement(node) {\n        var _a22;\n        if (checkGrammarStatementInAmbientContext(node)) {\n          return;\n        }\n        const container = getContainingFunctionOrClassStaticBlock(node);\n        if (container && isClassStaticBlockDeclaration(container)) {\n          grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block);\n          return;\n        }\n        if (!container) {\n          grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_can_only_be_used_within_a_function_body);\n          return;\n        }\n        const signature = getSignatureFromDeclaration(container);\n        const returnType = getReturnTypeOfSignature(signature);\n        const functionFlags = getFunctionFlags(container);\n        if (strictNullChecks || node.expression || returnType.flags & 131072) {\n          const exprType = node.expression ? checkExpressionCached(node.expression) : undefinedType;\n          if (container.kind === 175) {\n            if (node.expression) {\n              error(node, Diagnostics.Setters_cannot_return_a_value);\n            }\n          } else if (container.kind === 173) {\n            if (node.expression && !checkTypeAssignableToAndOptionallyElaborate(exprType, returnType, node, node.expression)) {\n              error(node, Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);\n            }\n          } else if (getReturnTypeFromAnnotation(container)) {\n            const unwrappedReturnType = (_a22 = unwrapReturnType(returnType, functionFlags)) != null ? _a22 : returnType;\n            const unwrappedExprType = functionFlags & 2 ? checkAwaitedType(\n              exprType,\n              /*withAlias*/\n              false,\n              node,\n              Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member\n            ) : exprType;\n            if (unwrappedReturnType) {\n              checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression);\n            }\n          }\n        } else if (container.kind !== 173 && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeVoidOrAny(container, returnType)) {\n          error(node, Diagnostics.Not_all_code_paths_return_a_value);\n        }\n      }\n      function checkWithStatement(node) {\n        if (!checkGrammarStatementInAmbientContext(node)) {\n          if (node.flags & 32768) {\n            grammarErrorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_an_async_function_block);\n          }\n        }\n        checkExpression(node.expression);\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          const start = getSpanOfTokenAtPosition(sourceFile, node.pos).start;\n          const end = node.statement.pos;\n          grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any);\n        }\n      }\n      function checkSwitchStatement(node) {\n        checkGrammarStatementInAmbientContext(node);\n        let firstDefaultClause;\n        let hasDuplicateDefaultClause = false;\n        const expressionType = checkExpression(node.expression);\n        forEach(node.caseBlock.clauses, (clause) => {\n          if (clause.kind === 293 && !hasDuplicateDefaultClause) {\n            if (firstDefaultClause === void 0) {\n              firstDefaultClause = clause;\n            } else {\n              grammarErrorOnNode(clause, Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement);\n              hasDuplicateDefaultClause = true;\n            }\n          }\n          if (clause.kind === 292) {\n            addLazyDiagnostic(createLazyCaseClauseDiagnostics(clause));\n          }\n          forEach(clause.statements, checkSourceElement);\n          if (compilerOptions.noFallthroughCasesInSwitch && clause.fallthroughFlowNode && isReachableFlowNode(clause.fallthroughFlowNode)) {\n            error(clause, Diagnostics.Fallthrough_case_in_switch);\n          }\n          function createLazyCaseClauseDiagnostics(clause2) {\n            return () => {\n              const caseType = checkExpression(clause2.expression);\n              if (!isTypeEqualityComparableTo(expressionType, caseType)) {\n                checkTypeComparableTo(\n                  caseType,\n                  expressionType,\n                  clause2.expression,\n                  /*headMessage*/\n                  void 0\n                );\n              }\n            };\n          }\n        });\n        if (node.caseBlock.locals) {\n          registerForUnusedIdentifiersCheck(node.caseBlock);\n        }\n      }\n      function checkLabeledStatement(node) {\n        if (!checkGrammarStatementInAmbientContext(node)) {\n          findAncestor(node.parent, (current) => {\n            if (isFunctionLike(current)) {\n              return \"quit\";\n            }\n            if (current.kind === 253 && current.label.escapedText === node.label.escapedText) {\n              grammarErrorOnNode(node.label, Diagnostics.Duplicate_label_0, getTextOfNode(node.label));\n              return true;\n            }\n            return false;\n          });\n        }\n        checkSourceElement(node.statement);\n      }\n      function checkThrowStatement(node) {\n        if (!checkGrammarStatementInAmbientContext(node)) {\n          if (isIdentifier(node.expression) && !node.expression.escapedText) {\n            grammarErrorAfterFirstToken(node, Diagnostics.Line_break_not_permitted_here);\n          }\n        }\n        if (node.expression) {\n          checkExpression(node.expression);\n        }\n      }\n      function checkTryStatement(node) {\n        checkGrammarStatementInAmbientContext(node);\n        checkBlock(node.tryBlock);\n        const catchClause = node.catchClause;\n        if (catchClause) {\n          if (catchClause.variableDeclaration) {\n            const declaration = catchClause.variableDeclaration;\n            checkVariableLikeDeclaration(declaration);\n            const typeNode = getEffectiveTypeAnnotationNode(declaration);\n            if (typeNode) {\n              const type = getTypeFromTypeNode(typeNode);\n              if (type && !(type.flags & 3)) {\n                grammarErrorOnFirstToken(typeNode, Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified);\n              }\n            } else if (declaration.initializer) {\n              grammarErrorOnFirstToken(declaration.initializer, Diagnostics.Catch_clause_variable_cannot_have_an_initializer);\n            } else {\n              const blockLocals = catchClause.block.locals;\n              if (blockLocals) {\n                forEachKey(catchClause.locals, (caughtName) => {\n                  const blockLocal = blockLocals.get(caughtName);\n                  if ((blockLocal == null ? void 0 : blockLocal.valueDeclaration) && (blockLocal.flags & 2) !== 0) {\n                    grammarErrorOnNode(blockLocal.valueDeclaration, Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause, caughtName);\n                  }\n                });\n              }\n            }\n          }\n          checkBlock(catchClause.block);\n        }\n        if (node.finallyBlock) {\n          checkBlock(node.finallyBlock);\n        }\n      }\n      function checkIndexConstraints(type, symbol, isStaticIndex) {\n        const indexInfos = getIndexInfosOfType(type);\n        if (indexInfos.length === 0) {\n          return;\n        }\n        for (const prop of getPropertiesOfObjectType(type)) {\n          if (!(isStaticIndex && prop.flags & 4194304)) {\n            checkIndexConstraintForProperty(type, prop, getLiteralTypeFromProperty(\n              prop,\n              8576,\n              /*includeNonPublic*/\n              true\n            ), getNonMissingTypeOfSymbol(prop));\n          }\n        }\n        const typeDeclaration = symbol.valueDeclaration;\n        if (typeDeclaration && isClassLike(typeDeclaration)) {\n          for (const member of typeDeclaration.members) {\n            if (!isStatic(member) && !hasBindableName(member)) {\n              const symbol2 = getSymbolOfDeclaration(member);\n              checkIndexConstraintForProperty(type, symbol2, getTypeOfExpression(member.name.expression), getNonMissingTypeOfSymbol(symbol2));\n            }\n          }\n        }\n        if (indexInfos.length > 1) {\n          for (const info of indexInfos) {\n            checkIndexConstraintForIndexSignature(type, info);\n          }\n        }\n      }\n      function checkIndexConstraintForProperty(type, prop, propNameType, propType) {\n        const declaration = prop.valueDeclaration;\n        const name = getNameOfDeclaration(declaration);\n        if (name && isPrivateIdentifier(name)) {\n          return;\n        }\n        const indexInfos = getApplicableIndexInfos(type, propNameType);\n        const interfaceDeclaration = getObjectFlags(type) & 2 ? getDeclarationOfKind(\n          type.symbol,\n          261\n          /* InterfaceDeclaration */\n        ) : void 0;\n        const propDeclaration = declaration && declaration.kind === 223 || name && name.kind === 164 ? declaration : void 0;\n        const localPropDeclaration = getParentOfSymbol(prop) === type.symbol ? declaration : void 0;\n        for (const info of indexInfos) {\n          const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfDeclaration(info.declaration)) === type.symbol ? info.declaration : void 0;\n          const errorNode = localPropDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getPropertyOfObjectType(base, prop.escapedName) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0);\n          if (errorNode && !isTypeAssignableTo(propType, info.type)) {\n            const diagnostic = createError(\n              errorNode,\n              Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,\n              symbolToString(prop),\n              typeToString(propType),\n              typeToString(info.keyType),\n              typeToString(info.type)\n            );\n            if (propDeclaration && errorNode !== propDeclaration) {\n              addRelatedInfo(diagnostic, createDiagnosticForNode(propDeclaration, Diagnostics._0_is_declared_here, symbolToString(prop)));\n            }\n            diagnostics.add(diagnostic);\n          }\n        }\n      }\n      function checkIndexConstraintForIndexSignature(type, checkInfo) {\n        const declaration = checkInfo.declaration;\n        const indexInfos = getApplicableIndexInfos(type, checkInfo.keyType);\n        const interfaceDeclaration = getObjectFlags(type) & 2 ? getDeclarationOfKind(\n          type.symbol,\n          261\n          /* InterfaceDeclaration */\n        ) : void 0;\n        const localCheckDeclaration = declaration && getParentOfSymbol(getSymbolOfDeclaration(declaration)) === type.symbol ? declaration : void 0;\n        for (const info of indexInfos) {\n          if (info === checkInfo)\n            continue;\n          const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfDeclaration(info.declaration)) === type.symbol ? info.declaration : void 0;\n          const errorNode = localCheckDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getIndexInfoOfType(base, checkInfo.keyType) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0);\n          if (errorNode && !isTypeAssignableTo(checkInfo.type, info.type)) {\n            error(\n              errorNode,\n              Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3,\n              typeToString(checkInfo.keyType),\n              typeToString(checkInfo.type),\n              typeToString(info.keyType),\n              typeToString(info.type)\n            );\n          }\n        }\n      }\n      function checkTypeNameIsReserved(name, message) {\n        switch (name.escapedText) {\n          case \"any\":\n          case \"unknown\":\n          case \"never\":\n          case \"number\":\n          case \"bigint\":\n          case \"boolean\":\n          case \"string\":\n          case \"symbol\":\n          case \"void\":\n          case \"object\":\n            error(name, message, name.escapedText);\n        }\n      }\n      function checkClassNameCollisionWithObject(name) {\n        if (languageVersion >= 1 && name.escapedText === \"Object\" && (moduleKind < 5 || getSourceFileOfNode(name).impliedNodeFormat === 1)) {\n          error(name, Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0, ModuleKind[moduleKind]);\n        }\n      }\n      function checkUnmatchedJSDocParameters(node) {\n        const jsdocParameters = filter(getJSDocTags(node), isJSDocParameterTag);\n        if (!length(jsdocParameters))\n          return;\n        const isJs = isInJSFile(node);\n        const parameters = /* @__PURE__ */ new Set();\n        const excludedParameters = /* @__PURE__ */ new Set();\n        forEach(node.parameters, ({ name }, index) => {\n          if (isIdentifier(name)) {\n            parameters.add(name.escapedText);\n          }\n          if (isBindingPattern(name)) {\n            excludedParameters.add(index);\n          }\n        });\n        const containsArguments = containsArgumentsReference(node);\n        if (containsArguments) {\n          const lastJSDocParamIndex = jsdocParameters.length - 1;\n          const lastJSDocParam = jsdocParameters[lastJSDocParamIndex];\n          if (isJs && lastJSDocParam && isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpression && lastJSDocParam.typeExpression.type && !parameters.has(lastJSDocParam.name.escapedText) && !excludedParameters.has(lastJSDocParamIndex) && !isArrayType(getTypeFromTypeNode(lastJSDocParam.typeExpression.type))) {\n            error(lastJSDocParam.name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type, idText(lastJSDocParam.name));\n          }\n        } else {\n          forEach(jsdocParameters, ({ name, isNameFirst }, index) => {\n            if (excludedParameters.has(index) || isIdentifier(name) && parameters.has(name.escapedText)) {\n              return;\n            }\n            if (isQualifiedName(name)) {\n              if (isJs) {\n                error(name, Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1, entityNameToString(name), entityNameToString(name.left));\n              }\n            } else {\n              if (!isNameFirst) {\n                errorOrSuggestion(isJs, name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name, idText(name));\n              }\n            }\n          });\n        }\n      }\n      function checkTypeParameters(typeParameterDeclarations) {\n        let seenDefault = false;\n        if (typeParameterDeclarations) {\n          for (let i = 0; i < typeParameterDeclarations.length; i++) {\n            const node = typeParameterDeclarations[i];\n            checkTypeParameter(node);\n            addLazyDiagnostic(createCheckTypeParameterDiagnostic(node, i));\n          }\n        }\n        function createCheckTypeParameterDiagnostic(node, i) {\n          return () => {\n            if (node.default) {\n              seenDefault = true;\n              checkTypeParametersNotReferenced(node.default, typeParameterDeclarations, i);\n            } else if (seenDefault) {\n              error(node, Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);\n            }\n            for (let j = 0; j < i; j++) {\n              if (typeParameterDeclarations[j].symbol === node.symbol) {\n                error(node.name, Diagnostics.Duplicate_identifier_0, declarationNameToString(node.name));\n              }\n            }\n          };\n        }\n      }\n      function checkTypeParametersNotReferenced(root, typeParameters, index) {\n        visit(root);\n        function visit(node) {\n          if (node.kind === 180) {\n            const type = getTypeFromTypeReference(node);\n            if (type.flags & 262144) {\n              for (let i = index; i < typeParameters.length; i++) {\n                if (type.symbol === getSymbolOfDeclaration(typeParameters[i])) {\n                  error(node, Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters);\n                }\n              }\n            }\n          }\n          forEachChild(node, visit);\n        }\n      }\n      function checkTypeParameterListsIdentical(symbol) {\n        if (symbol.declarations && symbol.declarations.length === 1) {\n          return;\n        }\n        const links = getSymbolLinks(symbol);\n        if (!links.typeParametersChecked) {\n          links.typeParametersChecked = true;\n          const declarations = getClassOrInterfaceDeclarationsOfSymbol(symbol);\n          if (!declarations || declarations.length <= 1) {\n            return;\n          }\n          const type = getDeclaredTypeOfSymbol(symbol);\n          if (!areTypeParametersIdentical(declarations, type.localTypeParameters, getEffectiveTypeParameterDeclarations)) {\n            const name = symbolToString(symbol);\n            for (const declaration of declarations) {\n              error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_type_parameters, name);\n            }\n          }\n        }\n      }\n      function areTypeParametersIdentical(declarations, targetParameters, getTypeParameterDeclarations) {\n        const maxTypeArgumentCount = length(targetParameters);\n        const minTypeArgumentCount = getMinTypeArgumentCount(targetParameters);\n        for (const declaration of declarations) {\n          const sourceParameters = getTypeParameterDeclarations(declaration);\n          const numTypeParameters = sourceParameters.length;\n          if (numTypeParameters < minTypeArgumentCount || numTypeParameters > maxTypeArgumentCount) {\n            return false;\n          }\n          for (let i = 0; i < numTypeParameters; i++) {\n            const source = sourceParameters[i];\n            const target = targetParameters[i];\n            if (source.name.escapedText !== target.symbol.escapedName) {\n              return false;\n            }\n            const constraint = getEffectiveConstraintOfTypeParameter(source);\n            const sourceConstraint = constraint && getTypeFromTypeNode(constraint);\n            const targetConstraint = getConstraintOfTypeParameter(target);\n            if (sourceConstraint && targetConstraint && !isTypeIdenticalTo(sourceConstraint, targetConstraint)) {\n              return false;\n            }\n            const sourceDefault = source.default && getTypeFromTypeNode(source.default);\n            const targetDefault = getDefaultFromTypeParameter(target);\n            if (sourceDefault && targetDefault && !isTypeIdenticalTo(sourceDefault, targetDefault)) {\n              return false;\n            }\n          }\n        }\n        return true;\n      }\n      function getFirstTransformableStaticClassElement(node) {\n        var _a22;\n        const willTransformStaticElementsOfDecoratedClass = !legacyDecorators && languageVersion < 99 && classOrConstructorParameterIsDecorated(\n          /*useLegacyDecorators*/\n          false,\n          node\n        );\n        const willTransformPrivateElementsOrClassStaticBlocks = languageVersion <= 9;\n        const willTransformInitializers = !useDefineForClassFields || languageVersion < 9;\n        if (willTransformStaticElementsOfDecoratedClass || willTransformPrivateElementsOrClassStaticBlocks) {\n          for (const member of node.members) {\n            if (willTransformStaticElementsOfDecoratedClass && classElementOrClassElementParameterIsDecorated(\n              /*useLegacyDecorators*/\n              false,\n              member,\n              node\n            )) {\n              return (_a22 = firstOrUndefined(getDecorators(node))) != null ? _a22 : node;\n            } else if (willTransformPrivateElementsOrClassStaticBlocks) {\n              if (isClassStaticBlockDeclaration(member)) {\n                return member;\n              } else if (isStatic(member)) {\n                if (isPrivateIdentifierClassElementDeclaration(member) || willTransformInitializers && isInitializedProperty(member)) {\n                  return member;\n                }\n              }\n            }\n          }\n        }\n      }\n      function checkClassExpressionExternalHelpers(node) {\n        var _a22;\n        if (node.name)\n          return;\n        const parent2 = walkUpOuterExpressions(node);\n        if (!isNamedEvaluationSource(parent2))\n          return;\n        const willTransformESDecorators = !legacyDecorators && languageVersion < 99;\n        let location;\n        if (willTransformESDecorators && classOrConstructorParameterIsDecorated(\n          /*useLegacyDecorators*/\n          false,\n          node\n        )) {\n          location = (_a22 = firstOrUndefined(getDecorators(node))) != null ? _a22 : node;\n        } else {\n          location = getFirstTransformableStaticClassElement(node);\n        }\n        if (location) {\n          checkExternalEmitHelpers(\n            location,\n            8388608\n            /* SetFunctionName */\n          );\n          if ((isPropertyAssignment(parent2) || isPropertyDeclaration(parent2) || isBindingElement(parent2)) && isComputedPropertyName(parent2.name)) {\n            checkExternalEmitHelpers(\n              location,\n              16777216\n              /* PropKey */\n            );\n          }\n        }\n      }\n      function checkClassExpression(node) {\n        checkClassLikeDeclaration(node);\n        checkNodeDeferred(node);\n        checkClassExpressionExternalHelpers(node);\n        return getTypeOfSymbol(getSymbolOfDeclaration(node));\n      }\n      function checkClassExpressionDeferred(node) {\n        forEach(node.members, checkSourceElement);\n        registerForUnusedIdentifiersCheck(node);\n      }\n      function checkClassDeclaration(node) {\n        const firstDecorator = find(node.modifiers, isDecorator);\n        if (legacyDecorators && firstDecorator && some(node.members, (p) => hasStaticModifier(p) && isPrivateIdentifierClassElementDeclaration(p))) {\n          grammarErrorOnNode(firstDecorator, Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator);\n        }\n        if (!node.name && !hasSyntacticModifier(\n          node,\n          1024\n          /* Default */\n        )) {\n          grammarErrorOnFirstToken(node, Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name);\n        }\n        checkClassLikeDeclaration(node);\n        forEach(node.members, checkSourceElement);\n        registerForUnusedIdentifiersCheck(node);\n      }\n      function checkClassLikeDeclaration(node) {\n        checkGrammarClassLikeDeclaration(node);\n        checkDecorators(node);\n        checkCollisionsForDeclarationName(node, node.name);\n        checkTypeParameters(getEffectiveTypeParameterDeclarations(node));\n        checkExportsOnMergedDeclarations(node);\n        const symbol = getSymbolOfDeclaration(node);\n        const type = getDeclaredTypeOfSymbol(symbol);\n        const typeWithThis = getTypeWithThisArgument(type);\n        const staticType = getTypeOfSymbol(symbol);\n        checkTypeParameterListsIdentical(symbol);\n        checkFunctionOrConstructorSymbol(symbol);\n        checkClassForDuplicateDeclarations(node);\n        const nodeInAmbientContext = !!(node.flags & 16777216);\n        if (!nodeInAmbientContext) {\n          checkClassForStaticPropertyNameConflicts(node);\n        }\n        const baseTypeNode = getEffectiveBaseTypeNode(node);\n        if (baseTypeNode) {\n          forEach(baseTypeNode.typeArguments, checkSourceElement);\n          if (languageVersion < 2) {\n            checkExternalEmitHelpers(\n              baseTypeNode.parent,\n              1\n              /* Extends */\n            );\n          }\n          const extendsNode = getClassExtendsHeritageElement(node);\n          if (extendsNode && extendsNode !== baseTypeNode) {\n            checkExpression(extendsNode.expression);\n          }\n          const baseTypes = getBaseTypes(type);\n          if (baseTypes.length) {\n            addLazyDiagnostic(() => {\n              const baseType = baseTypes[0];\n              const baseConstructorType = getBaseConstructorTypeOfClass(type);\n              const staticBaseType = getApparentType(baseConstructorType);\n              checkBaseTypeAccessibility(staticBaseType, baseTypeNode);\n              checkSourceElement(baseTypeNode.expression);\n              if (some(baseTypeNode.typeArguments)) {\n                forEach(baseTypeNode.typeArguments, checkSourceElement);\n                for (const constructor of getConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode)) {\n                  if (!checkTypeArgumentConstraints(baseTypeNode, constructor.typeParameters)) {\n                    break;\n                  }\n                }\n              }\n              const baseWithThis = getTypeWithThisArgument(baseType, type.thisType);\n              if (!checkTypeAssignableTo(\n                typeWithThis,\n                baseWithThis,\n                /*errorNode*/\n                void 0\n              )) {\n                issueMemberSpecificError(node, typeWithThis, baseWithThis, Diagnostics.Class_0_incorrectly_extends_base_class_1);\n              } else {\n                checkTypeAssignableTo(\n                  staticType,\n                  getTypeWithoutSignatures(staticBaseType),\n                  node.name || node,\n                  Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1\n                );\n              }\n              if (baseConstructorType.flags & 8650752) {\n                if (!isMixinConstructorType(staticType)) {\n                  error(node.name || node, Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any);\n                } else {\n                  const constructSignatures = getSignaturesOfType(\n                    baseConstructorType,\n                    1\n                    /* Construct */\n                  );\n                  if (constructSignatures.some(\n                    (signature) => signature.flags & 4\n                    /* Abstract */\n                  ) && !hasSyntacticModifier(\n                    node,\n                    256\n                    /* Abstract */\n                  )) {\n                    error(node.name || node, Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract);\n                  }\n                }\n              }\n              if (!(staticBaseType.symbol && staticBaseType.symbol.flags & 32) && !(baseConstructorType.flags & 8650752)) {\n                const constructors = getInstantiatedConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode);\n                if (forEach(constructors, (sig) => !isJSConstructor(sig.declaration) && !isTypeIdenticalTo(getReturnTypeOfSignature(sig), baseType))) {\n                  error(baseTypeNode.expression, Diagnostics.Base_constructors_must_all_have_the_same_return_type);\n                }\n              }\n              checkKindsOfPropertyMemberOverrides(type, baseType);\n            });\n          }\n        }\n        checkMembersForOverrideModifier(node, type, typeWithThis, staticType);\n        const implementedTypeNodes = getEffectiveImplementsTypeNodes(node);\n        if (implementedTypeNodes) {\n          for (const typeRefNode of implementedTypeNodes) {\n            if (!isEntityNameExpression(typeRefNode.expression) || isOptionalChain(typeRefNode.expression)) {\n              error(typeRefNode.expression, Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments);\n            }\n            checkTypeReferenceNode(typeRefNode);\n            addLazyDiagnostic(createImplementsDiagnostics(typeRefNode));\n          }\n        }\n        addLazyDiagnostic(() => {\n          checkIndexConstraints(type, symbol);\n          checkIndexConstraints(\n            staticType,\n            symbol,\n            /*isStaticIndex*/\n            true\n          );\n          checkTypeForDuplicateIndexSignatures(node);\n          checkPropertyInitialization(node);\n        });\n        function createImplementsDiagnostics(typeRefNode) {\n          return () => {\n            const t = getReducedType(getTypeFromTypeNode(typeRefNode));\n            if (!isErrorType(t)) {\n              if (isValidBaseType(t)) {\n                const genericDiag = t.symbol && t.symbol.flags & 32 ? Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass : Diagnostics.Class_0_incorrectly_implements_interface_1;\n                const baseWithThis = getTypeWithThisArgument(t, type.thisType);\n                if (!checkTypeAssignableTo(\n                  typeWithThis,\n                  baseWithThis,\n                  /*errorNode*/\n                  void 0\n                )) {\n                  issueMemberSpecificError(node, typeWithThis, baseWithThis, genericDiag);\n                }\n              } else {\n                error(typeRefNode, Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members);\n              }\n            }\n          };\n        }\n      }\n      function checkMembersForOverrideModifier(node, type, typeWithThis, staticType) {\n        const baseTypeNode = getEffectiveBaseTypeNode(node);\n        const baseTypes = baseTypeNode && getBaseTypes(type);\n        const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0;\n        const baseStaticType = getBaseConstructorTypeOfClass(type);\n        for (const member of node.members) {\n          if (hasAmbientModifier(member)) {\n            continue;\n          }\n          if (isConstructorDeclaration(member)) {\n            forEach(member.parameters, (param) => {\n              if (isParameterPropertyDeclaration(param, member)) {\n                checkExistingMemberForOverrideModifier(\n                  node,\n                  staticType,\n                  baseStaticType,\n                  baseWithThis,\n                  type,\n                  typeWithThis,\n                  param,\n                  /* memberIsParameterProperty */\n                  true\n                );\n              }\n            });\n          }\n          checkExistingMemberForOverrideModifier(\n            node,\n            staticType,\n            baseStaticType,\n            baseWithThis,\n            type,\n            typeWithThis,\n            member,\n            /* memberIsParameterProperty */\n            false\n          );\n        }\n      }\n      function checkExistingMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, member, memberIsParameterProperty, reportErrors2 = true) {\n        const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member);\n        if (!declaredProp) {\n          return 0;\n        }\n        return checkMemberForOverrideModifier(\n          node,\n          staticType,\n          baseStaticType,\n          baseWithThis,\n          type,\n          typeWithThis,\n          hasOverrideModifier(member),\n          hasAbstractModifier(member),\n          isStatic(member),\n          memberIsParameterProperty,\n          symbolName(declaredProp),\n          reportErrors2 ? member : void 0\n        );\n      }\n      function checkMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, memberHasOverrideModifier, memberHasAbstractModifier, memberIsStatic, memberIsParameterProperty, memberName, errorNode) {\n        const isJs = isInJSFile(node);\n        const nodeInAmbientContext = !!(node.flags & 16777216);\n        if (baseWithThis && (memberHasOverrideModifier || compilerOptions.noImplicitOverride)) {\n          const memberEscapedName = escapeLeadingUnderscores(memberName);\n          const thisType = memberIsStatic ? staticType : typeWithThis;\n          const baseType = memberIsStatic ? baseStaticType : baseWithThis;\n          const prop = getPropertyOfType(thisType, memberEscapedName);\n          const baseProp = getPropertyOfType(baseType, memberEscapedName);\n          const baseClassName = typeToString(baseWithThis);\n          if (prop && !baseProp && memberHasOverrideModifier) {\n            if (errorNode) {\n              const suggestion = getSuggestedSymbolForNonexistentClassMember(memberName, baseType);\n              suggestion ? error(\n                errorNode,\n                isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,\n                baseClassName,\n                symbolToString(suggestion)\n              ) : error(\n                errorNode,\n                isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,\n                baseClassName\n              );\n            }\n            return 2;\n          } else if (prop && (baseProp == null ? void 0 : baseProp.declarations) && compilerOptions.noImplicitOverride && !nodeInAmbientContext) {\n            const baseHasAbstract = some(baseProp.declarations, hasAbstractModifier);\n            if (memberHasOverrideModifier) {\n              return 0;\n            }\n            if (!baseHasAbstract) {\n              if (errorNode) {\n                const diag2 = memberIsParameterProperty ? isJs ? Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0 : isJs ? Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;\n                error(errorNode, diag2, baseClassName);\n              }\n              return 1;\n            } else if (memberHasAbstractModifier && baseHasAbstract) {\n              if (errorNode) {\n                error(errorNode, Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0, baseClassName);\n              }\n              return 1;\n            }\n          }\n        } else if (memberHasOverrideModifier) {\n          if (errorNode) {\n            const className = typeToString(type);\n            error(\n              errorNode,\n              isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class : Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,\n              className\n            );\n          }\n          return 2;\n        }\n        return 0;\n      }\n      function issueMemberSpecificError(node, typeWithThis, baseWithThis, broadDiag) {\n        let issuedMemberError = false;\n        for (const member of node.members) {\n          if (isStatic(member)) {\n            continue;\n          }\n          const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member);\n          if (declaredProp) {\n            const prop = getPropertyOfType(typeWithThis, declaredProp.escapedName);\n            const baseProp = getPropertyOfType(baseWithThis, declaredProp.escapedName);\n            if (prop && baseProp) {\n              const rootChain = () => chainDiagnosticMessages(\n                /*details*/\n                void 0,\n                Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,\n                symbolToString(declaredProp),\n                typeToString(typeWithThis),\n                typeToString(baseWithThis)\n              );\n              if (!checkTypeAssignableTo(\n                getTypeOfSymbol(prop),\n                getTypeOfSymbol(baseProp),\n                member.name || member,\n                /*message*/\n                void 0,\n                rootChain\n              )) {\n                issuedMemberError = true;\n              }\n            }\n          }\n        }\n        if (!issuedMemberError) {\n          checkTypeAssignableTo(typeWithThis, baseWithThis, node.name || node, broadDiag);\n        }\n      }\n      function checkBaseTypeAccessibility(type, node) {\n        const signatures = getSignaturesOfType(\n          type,\n          1\n          /* Construct */\n        );\n        if (signatures.length) {\n          const declaration = signatures[0].declaration;\n          if (declaration && hasEffectiveModifier(\n            declaration,\n            8\n            /* Private */\n          )) {\n            const typeClassDeclaration = getClassLikeDeclarationOfSymbol(type.symbol);\n            if (!isNodeWithinClass(node, typeClassDeclaration)) {\n              error(node, Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private, getFullyQualifiedName(type.symbol));\n            }\n          }\n        }\n      }\n      function getMemberOverrideModifierStatus(node, member, memberSymbol) {\n        if (!member.name) {\n          return 0;\n        }\n        const classSymbol = getSymbolOfDeclaration(node);\n        const type = getDeclaredTypeOfSymbol(classSymbol);\n        const typeWithThis = getTypeWithThisArgument(type);\n        const staticType = getTypeOfSymbol(classSymbol);\n        const baseTypeNode = getEffectiveBaseTypeNode(node);\n        const baseTypes = baseTypeNode && getBaseTypes(type);\n        const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0;\n        const baseStaticType = getBaseConstructorTypeOfClass(type);\n        const memberHasOverrideModifier = member.parent ? hasOverrideModifier(member) : hasSyntacticModifier(\n          member,\n          16384\n          /* Override */\n        );\n        return checkMemberForOverrideModifier(\n          node,\n          staticType,\n          baseStaticType,\n          baseWithThis,\n          type,\n          typeWithThis,\n          memberHasOverrideModifier,\n          hasAbstractModifier(member),\n          isStatic(member),\n          /* memberIsParameterProperty */\n          false,\n          symbolName(memberSymbol)\n        );\n      }\n      function getTargetSymbol(s) {\n        return getCheckFlags(s) & 1 ? s.links.target : s;\n      }\n      function getClassOrInterfaceDeclarationsOfSymbol(symbol) {\n        return filter(\n          symbol.declarations,\n          (d) => d.kind === 260 || d.kind === 261\n          /* InterfaceDeclaration */\n        );\n      }\n      function checkKindsOfPropertyMemberOverrides(type, baseType) {\n        var _a22, _b3, _c, _d;\n        const baseProperties = getPropertiesOfType(baseType);\n        basePropertyCheck:\n          for (const baseProperty of baseProperties) {\n            const base = getTargetSymbol(baseProperty);\n            if (base.flags & 4194304) {\n              continue;\n            }\n            const baseSymbol = getPropertyOfObjectType(type, base.escapedName);\n            if (!baseSymbol) {\n              continue;\n            }\n            const derived = getTargetSymbol(baseSymbol);\n            const baseDeclarationFlags = getDeclarationModifierFlagsFromSymbol(base);\n            Debug2.assert(!!derived, \"derived should point to something, even if it is the base class' declaration.\");\n            if (derived === base) {\n              const derivedClassDecl = getClassLikeDeclarationOfSymbol(type.symbol);\n              if (baseDeclarationFlags & 256 && (!derivedClassDecl || !hasSyntacticModifier(\n                derivedClassDecl,\n                256\n                /* Abstract */\n              ))) {\n                for (const otherBaseType of getBaseTypes(type)) {\n                  if (otherBaseType === baseType)\n                    continue;\n                  const baseSymbol2 = getPropertyOfObjectType(otherBaseType, base.escapedName);\n                  const derivedElsewhere = baseSymbol2 && getTargetSymbol(baseSymbol2);\n                  if (derivedElsewhere && derivedElsewhere !== base) {\n                    continue basePropertyCheck;\n                  }\n                }\n                if (derivedClassDecl.kind === 228) {\n                  error(\n                    derivedClassDecl,\n                    Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,\n                    symbolToString(baseProperty),\n                    typeToString(baseType)\n                  );\n                } else {\n                  error(\n                    derivedClassDecl,\n                    Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,\n                    typeToString(type),\n                    symbolToString(baseProperty),\n                    typeToString(baseType)\n                  );\n                }\n              }\n            } else {\n              const derivedDeclarationFlags = getDeclarationModifierFlagsFromSymbol(derived);\n              if (baseDeclarationFlags & 8 || derivedDeclarationFlags & 8) {\n                continue;\n              }\n              let errorMessage;\n              const basePropertyFlags = base.flags & 98308;\n              const derivedPropertyFlags = derived.flags & 98308;\n              if (basePropertyFlags && derivedPropertyFlags) {\n                if ((getCheckFlags(base) & 6 ? (_a22 = base.declarations) == null ? void 0 : _a22.some((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags)) : (_b3 = base.declarations) == null ? void 0 : _b3.every((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags))) || getCheckFlags(base) & 262144 || derived.valueDeclaration && isBinaryExpression(derived.valueDeclaration)) {\n                  continue;\n                }\n                const overriddenInstanceProperty = basePropertyFlags !== 4 && derivedPropertyFlags === 4;\n                const overriddenInstanceAccessor = basePropertyFlags === 4 && derivedPropertyFlags !== 4;\n                if (overriddenInstanceProperty || overriddenInstanceAccessor) {\n                  const errorMessage2 = overriddenInstanceProperty ? Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property : Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;\n                  error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType), typeToString(type));\n                } else if (useDefineForClassFields) {\n                  const uninitialized = (_c = derived.declarations) == null ? void 0 : _c.find((d) => d.kind === 169 && !d.initializer);\n                  if (uninitialized && !(derived.flags & 33554432) && !(baseDeclarationFlags & 256) && !(derivedDeclarationFlags & 256) && !((_d = derived.declarations) == null ? void 0 : _d.some((d) => !!(d.flags & 16777216)))) {\n                    const constructor = findConstructorDeclaration(getClassLikeDeclarationOfSymbol(type.symbol));\n                    const propName = uninitialized.name;\n                    if (uninitialized.exclamationToken || !constructor || !isIdentifier(propName) || !strictNullChecks || !isPropertyInitializedInConstructor(propName, type, constructor)) {\n                      const errorMessage2 = Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;\n                      error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType));\n                    }\n                  }\n                }\n                continue;\n              } else if (isPrototypeProperty(base)) {\n                if (isPrototypeProperty(derived) || derived.flags & 4) {\n                  continue;\n                } else {\n                  Debug2.assert(!!(derived.flags & 98304));\n                  errorMessage = Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor;\n                }\n              } else if (base.flags & 98304) {\n                errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function;\n              } else {\n                errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;\n              }\n              error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage, typeToString(baseType), symbolToString(base), typeToString(type));\n            }\n          }\n      }\n      function isPropertyAbstractOrInterface(declaration, baseDeclarationFlags) {\n        return baseDeclarationFlags & 256 && (!isPropertyDeclaration(declaration) || !declaration.initializer) || isInterfaceDeclaration(declaration.parent);\n      }\n      function getNonInheritedProperties(type, baseTypes, properties) {\n        if (!length(baseTypes)) {\n          return properties;\n        }\n        const seen = /* @__PURE__ */ new Map();\n        forEach(properties, (p) => {\n          seen.set(p.escapedName, p);\n        });\n        for (const base of baseTypes) {\n          const properties2 = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType));\n          for (const prop of properties2) {\n            const existing = seen.get(prop.escapedName);\n            if (existing && prop.parent === existing.parent) {\n              seen.delete(prop.escapedName);\n            }\n          }\n        }\n        return arrayFrom(seen.values());\n      }\n      function checkInheritedPropertiesAreIdentical(type, typeNode) {\n        const baseTypes = getBaseTypes(type);\n        if (baseTypes.length < 2) {\n          return true;\n        }\n        const seen = /* @__PURE__ */ new Map();\n        forEach(resolveDeclaredMembers(type).declaredProperties, (p) => {\n          seen.set(p.escapedName, { prop: p, containingType: type });\n        });\n        let ok = true;\n        for (const base of baseTypes) {\n          const properties = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType));\n          for (const prop of properties) {\n            const existing = seen.get(prop.escapedName);\n            if (!existing) {\n              seen.set(prop.escapedName, { prop, containingType: base });\n            } else {\n              const isInheritedProperty = existing.containingType !== type;\n              if (isInheritedProperty && !isPropertyIdenticalTo(existing.prop, prop)) {\n                ok = false;\n                const typeName1 = typeToString(existing.containingType);\n                const typeName2 = typeToString(base);\n                let errorInfo = chainDiagnosticMessages(\n                  /*details*/\n                  void 0,\n                  Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,\n                  symbolToString(prop),\n                  typeName1,\n                  typeName2\n                );\n                errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2, typeToString(type), typeName1, typeName2);\n                diagnostics.add(createDiagnosticForNodeFromMessageChain(getSourceFileOfNode(typeNode), typeNode, errorInfo));\n              }\n            }\n          }\n        }\n        return ok;\n      }\n      function checkPropertyInitialization(node) {\n        if (!strictNullChecks || !strictPropertyInitialization || node.flags & 16777216) {\n          return;\n        }\n        const constructor = findConstructorDeclaration(node);\n        for (const member of node.members) {\n          if (getEffectiveModifierFlags(member) & 2) {\n            continue;\n          }\n          if (!isStatic(member) && isPropertyWithoutInitializer(member)) {\n            const propName = member.name;\n            if (isIdentifier(propName) || isPrivateIdentifier(propName) || isComputedPropertyName(propName)) {\n              const type = getTypeOfSymbol(getSymbolOfDeclaration(member));\n              if (!(type.flags & 3 || containsUndefinedType(type))) {\n                if (!constructor || !isPropertyInitializedInConstructor(propName, type, constructor)) {\n                  error(member.name, Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor, declarationNameToString(propName));\n                }\n              }\n            }\n          }\n        }\n      }\n      function isPropertyWithoutInitializer(node) {\n        return node.kind === 169 && !hasAbstractModifier(node) && !node.exclamationToken && !node.initializer;\n      }\n      function isPropertyInitializedInStaticBlocks(propName, propType, staticBlocks, startPos, endPos) {\n        for (const staticBlock of staticBlocks) {\n          if (staticBlock.pos >= startPos && staticBlock.pos <= endPos) {\n            const reference = factory.createPropertyAccessExpression(factory.createThis(), propName);\n            setParent(reference.expression, reference);\n            setParent(reference, staticBlock);\n            reference.flowNode = staticBlock.returnFlowNode;\n            const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType));\n            if (!containsUndefinedType(flowType)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function isPropertyInitializedInConstructor(propName, propType, constructor) {\n        const reference = isComputedPropertyName(propName) ? factory.createElementAccessExpression(factory.createThis(), propName.expression) : factory.createPropertyAccessExpression(factory.createThis(), propName);\n        setParent(reference.expression, reference);\n        setParent(reference, constructor);\n        reference.flowNode = constructor.returnFlowNode;\n        const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType));\n        return !containsUndefinedType(flowType);\n      }\n      function checkInterfaceDeclaration(node) {\n        if (!checkGrammarModifiers(node))\n          checkGrammarInterfaceDeclaration(node);\n        checkTypeParameters(node.typeParameters);\n        addLazyDiagnostic(() => {\n          checkTypeNameIsReserved(node.name, Diagnostics.Interface_name_cannot_be_0);\n          checkExportsOnMergedDeclarations(node);\n          const symbol = getSymbolOfDeclaration(node);\n          checkTypeParameterListsIdentical(symbol);\n          const firstInterfaceDecl = getDeclarationOfKind(\n            symbol,\n            261\n            /* InterfaceDeclaration */\n          );\n          if (node === firstInterfaceDecl) {\n            const type = getDeclaredTypeOfSymbol(symbol);\n            const typeWithThis = getTypeWithThisArgument(type);\n            if (checkInheritedPropertiesAreIdentical(type, node.name)) {\n              for (const baseType of getBaseTypes(type)) {\n                checkTypeAssignableTo(typeWithThis, getTypeWithThisArgument(baseType, type.thisType), node.name, Diagnostics.Interface_0_incorrectly_extends_interface_1);\n              }\n              checkIndexConstraints(type, symbol);\n            }\n          }\n          checkObjectTypeForDuplicateDeclarations(node);\n        });\n        forEach(getInterfaceBaseTypeNodes(node), (heritageElement) => {\n          if (!isEntityNameExpression(heritageElement.expression) || isOptionalChain(heritageElement.expression)) {\n            error(heritageElement.expression, Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments);\n          }\n          checkTypeReferenceNode(heritageElement);\n        });\n        forEach(node.members, checkSourceElement);\n        addLazyDiagnostic(() => {\n          checkTypeForDuplicateIndexSignatures(node);\n          registerForUnusedIdentifiersCheck(node);\n        });\n      }\n      function checkTypeAliasDeclaration(node) {\n        checkGrammarModifiers(node);\n        checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0);\n        checkExportsOnMergedDeclarations(node);\n        checkTypeParameters(node.typeParameters);\n        if (node.type.kind === 139) {\n          if (!intrinsicTypeKinds.has(node.name.escapedText) || length(node.typeParameters) !== 1) {\n            error(node.type, Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types);\n          }\n        } else {\n          checkSourceElement(node.type);\n          registerForUnusedIdentifiersCheck(node);\n        }\n      }\n      function computeEnumMemberValues(node) {\n        const nodeLinks2 = getNodeLinks(node);\n        if (!(nodeLinks2.flags & 1024)) {\n          nodeLinks2.flags |= 1024;\n          let autoValue = 0;\n          for (const member of node.members) {\n            const value = computeMemberValue(member, autoValue);\n            getNodeLinks(member).enumMemberValue = value;\n            autoValue = typeof value === \"number\" ? value + 1 : void 0;\n          }\n        }\n      }\n      function computeMemberValue(member, autoValue) {\n        if (isComputedNonLiteralName(member.name)) {\n          error(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums);\n        } else {\n          const text = getTextOfPropertyName(member.name);\n          if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) {\n            error(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name);\n          }\n        }\n        if (member.initializer) {\n          return computeConstantValue(member);\n        }\n        if (member.parent.flags & 16777216 && !isEnumConst(member.parent)) {\n          return void 0;\n        }\n        if (autoValue !== void 0) {\n          return autoValue;\n        }\n        error(member.name, Diagnostics.Enum_member_must_have_initializer);\n        return void 0;\n      }\n      function computeConstantValue(member) {\n        const isConstEnum = isEnumConst(member.parent);\n        const initializer = member.initializer;\n        const value = evaluate(initializer, member);\n        if (value !== void 0) {\n          if (isConstEnum && typeof value === \"number\" && !isFinite(value)) {\n            error(initializer, isNaN(value) ? Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN : Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);\n          }\n        } else if (isConstEnum) {\n          error(initializer, Diagnostics.const_enum_member_initializers_must_be_constant_expressions);\n        } else if (member.parent.flags & 16777216) {\n          error(initializer, Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);\n        } else {\n          checkTypeAssignableTo(checkExpression(initializer), numberType, initializer, Diagnostics.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values);\n        }\n        return value;\n      }\n      function evaluate(expr, location) {\n        switch (expr.kind) {\n          case 221:\n            const value = evaluate(expr.operand, location);\n            if (typeof value === \"number\") {\n              switch (expr.operator) {\n                case 39:\n                  return value;\n                case 40:\n                  return -value;\n                case 54:\n                  return ~value;\n              }\n            }\n            break;\n          case 223:\n            const left = evaluate(expr.left, location);\n            const right = evaluate(expr.right, location);\n            if (typeof left === \"number\" && typeof right === \"number\") {\n              switch (expr.operatorToken.kind) {\n                case 51:\n                  return left | right;\n                case 50:\n                  return left & right;\n                case 48:\n                  return left >> right;\n                case 49:\n                  return left >>> right;\n                case 47:\n                  return left << right;\n                case 52:\n                  return left ^ right;\n                case 41:\n                  return left * right;\n                case 43:\n                  return left / right;\n                case 39:\n                  return left + right;\n                case 40:\n                  return left - right;\n                case 44:\n                  return left % right;\n                case 42:\n                  return left ** right;\n              }\n            } else if ((typeof left === \"string\" || typeof left === \"number\") && (typeof right === \"string\" || typeof right === \"number\") && expr.operatorToken.kind === 39) {\n              return \"\" + left + right;\n            }\n            break;\n          case 10:\n          case 14:\n            return expr.text;\n          case 225:\n            return evaluateTemplateExpression(expr, location);\n          case 8:\n            checkGrammarNumericLiteral(expr);\n            return +expr.text;\n          case 214:\n            return evaluate(expr.expression, location);\n          case 79:\n            if (isInfinityOrNaNString(expr.escapedText)) {\n              return +expr.escapedText;\n            }\n          case 208:\n            if (isEntityNameExpression(expr)) {\n              const symbol = resolveEntityName(\n                expr,\n                111551,\n                /*ignoreErrors*/\n                true\n              );\n              if (symbol) {\n                if (symbol.flags & 8) {\n                  return evaluateEnumMember(expr, symbol, location);\n                }\n                if (isConstVariable(symbol)) {\n                  const declaration = symbol.valueDeclaration;\n                  if (declaration && !declaration.type && declaration.initializer && declaration !== location && isBlockScopedNameDeclaredBeforeUse(declaration, location)) {\n                    return evaluate(declaration.initializer, declaration);\n                  }\n                }\n              }\n            }\n            break;\n          case 209:\n            const root = expr.expression;\n            if (isEntityNameExpression(root) && isStringLiteralLike(expr.argumentExpression)) {\n              const rootSymbol = resolveEntityName(\n                root,\n                111551,\n                /*ignoreErrors*/\n                true\n              );\n              if (rootSymbol && rootSymbol.flags & 384) {\n                const name = escapeLeadingUnderscores(expr.argumentExpression.text);\n                const member = rootSymbol.exports.get(name);\n                if (member) {\n                  return evaluateEnumMember(expr, member, location);\n                }\n              }\n            }\n            break;\n        }\n        return void 0;\n      }\n      function evaluateEnumMember(expr, symbol, location) {\n        const declaration = symbol.valueDeclaration;\n        if (!declaration || declaration === location) {\n          error(expr, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(symbol));\n          return void 0;\n        }\n        if (!isBlockScopedNameDeclaredBeforeUse(declaration, location)) {\n          error(expr, Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums);\n          return 0;\n        }\n        return getEnumMemberValue(declaration);\n      }\n      function evaluateTemplateExpression(expr, location) {\n        let result = expr.head.text;\n        for (const span of expr.templateSpans) {\n          const value = evaluate(span.expression, location);\n          if (value === void 0) {\n            return void 0;\n          }\n          result += value;\n          result += span.literal.text;\n        }\n        return result;\n      }\n      function checkEnumDeclaration(node) {\n        addLazyDiagnostic(() => checkEnumDeclarationWorker(node));\n      }\n      function checkEnumDeclarationWorker(node) {\n        checkGrammarModifiers(node);\n        checkCollisionsForDeclarationName(node, node.name);\n        checkExportsOnMergedDeclarations(node);\n        node.members.forEach(checkEnumMember);\n        computeEnumMemberValues(node);\n        const enumSymbol = getSymbolOfDeclaration(node);\n        const firstDeclaration = getDeclarationOfKind(enumSymbol, node.kind);\n        if (node === firstDeclaration) {\n          if (enumSymbol.declarations && enumSymbol.declarations.length > 1) {\n            const enumIsConst = isEnumConst(node);\n            forEach(enumSymbol.declarations, (decl) => {\n              if (isEnumDeclaration(decl) && isEnumConst(decl) !== enumIsConst) {\n                error(getNameOfDeclaration(decl), Diagnostics.Enum_declarations_must_all_be_const_or_non_const);\n              }\n            });\n          }\n          let seenEnumMissingInitialInitializer = false;\n          forEach(enumSymbol.declarations, (declaration) => {\n            if (declaration.kind !== 263) {\n              return false;\n            }\n            const enumDeclaration = declaration;\n            if (!enumDeclaration.members.length) {\n              return false;\n            }\n            const firstEnumMember = enumDeclaration.members[0];\n            if (!firstEnumMember.initializer) {\n              if (seenEnumMissingInitialInitializer) {\n                error(firstEnumMember.name, Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element);\n              } else {\n                seenEnumMissingInitialInitializer = true;\n              }\n            }\n          });\n        }\n      }\n      function checkEnumMember(node) {\n        if (isPrivateIdentifier(node.name)) {\n          error(node, Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier);\n        }\n        if (node.initializer) {\n          checkExpression(node.initializer);\n        }\n      }\n      function getFirstNonAmbientClassOrFunctionDeclaration(symbol) {\n        const declarations = symbol.declarations;\n        if (declarations) {\n          for (const declaration of declarations) {\n            if ((declaration.kind === 260 || declaration.kind === 259 && nodeIsPresent(declaration.body)) && !(declaration.flags & 16777216)) {\n              return declaration;\n            }\n          }\n        }\n        return void 0;\n      }\n      function inSameLexicalScope(node1, node2) {\n        const container1 = getEnclosingBlockScopeContainer(node1);\n        const container2 = getEnclosingBlockScopeContainer(node2);\n        if (isGlobalSourceFile(container1)) {\n          return isGlobalSourceFile(container2);\n        } else if (isGlobalSourceFile(container2)) {\n          return false;\n        } else {\n          return container1 === container2;\n        }\n      }\n      function checkModuleDeclaration(node) {\n        if (node.body) {\n          checkSourceElement(node.body);\n          if (!isGlobalScopeAugmentation(node)) {\n            registerForUnusedIdentifiersCheck(node);\n          }\n        }\n        addLazyDiagnostic(checkModuleDeclarationDiagnostics);\n        function checkModuleDeclarationDiagnostics() {\n          var _a22, _b3;\n          const isGlobalAugmentation = isGlobalScopeAugmentation(node);\n          const inAmbientContext = node.flags & 16777216;\n          if (isGlobalAugmentation && !inAmbientContext) {\n            error(node.name, Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);\n          }\n          const isAmbientExternalModule = isAmbientModule(node);\n          const contextErrorMessage = isAmbientExternalModule ? Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file : Diagnostics.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;\n          if (checkGrammarModuleElementContext(node, contextErrorMessage)) {\n            return;\n          }\n          if (!checkGrammarModifiers(node)) {\n            if (!inAmbientContext && node.name.kind === 10) {\n              grammarErrorOnNode(node.name, Diagnostics.Only_ambient_modules_can_use_quoted_names);\n            }\n          }\n          if (isIdentifier(node.name)) {\n            checkCollisionsForDeclarationName(node, node.name);\n          }\n          checkExportsOnMergedDeclarations(node);\n          const symbol = getSymbolOfDeclaration(node);\n          if (symbol.flags & 512 && !inAmbientContext && isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions))) {\n            if (getIsolatedModules(compilerOptions) && !getSourceFileOfNode(node).externalModuleIndicator) {\n              error(node.name, Diagnostics.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement, isolatedModulesLikeFlagName);\n            }\n            if (((_a22 = symbol.declarations) == null ? void 0 : _a22.length) > 1) {\n              const firstNonAmbientClassOrFunc = getFirstNonAmbientClassOrFunctionDeclaration(symbol);\n              if (firstNonAmbientClassOrFunc) {\n                if (getSourceFileOfNode(node) !== getSourceFileOfNode(firstNonAmbientClassOrFunc)) {\n                  error(node.name, Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged);\n                } else if (node.pos < firstNonAmbientClassOrFunc.pos) {\n                  error(node.name, Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged);\n                }\n              }\n              const mergedClass = getDeclarationOfKind(\n                symbol,\n                260\n                /* ClassDeclaration */\n              );\n              if (mergedClass && inSameLexicalScope(node, mergedClass)) {\n                getNodeLinks(node).flags |= 2048;\n              }\n            }\n            if (compilerOptions.verbatimModuleSyntax && node.parent.kind === 308 && (moduleKind === 1 || node.parent.impliedNodeFormat === 1)) {\n              const exportModifier = (_b3 = node.modifiers) == null ? void 0 : _b3.find(\n                (m) => m.kind === 93\n                /* ExportKeyword */\n              );\n              if (exportModifier) {\n                error(exportModifier, Diagnostics.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);\n              }\n            }\n          }\n          if (isAmbientExternalModule) {\n            if (isExternalModuleAugmentation(node)) {\n              const checkBody = isGlobalAugmentation || getSymbolOfDeclaration(node).flags & 33554432;\n              if (checkBody && node.body) {\n                for (const statement of node.body.statements) {\n                  checkModuleAugmentationElement(statement, isGlobalAugmentation);\n                }\n              }\n            } else if (isGlobalSourceFile(node.parent)) {\n              if (isGlobalAugmentation) {\n                error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations);\n              } else if (isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name))) {\n                error(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name);\n              }\n            } else {\n              if (isGlobalAugmentation) {\n                error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations);\n              } else {\n                error(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces);\n              }\n            }\n          }\n        }\n      }\n      function checkModuleAugmentationElement(node, isGlobalAugmentation) {\n        switch (node.kind) {\n          case 240:\n            for (const decl of node.declarationList.declarations) {\n              checkModuleAugmentationElement(decl, isGlobalAugmentation);\n            }\n            break;\n          case 274:\n          case 275:\n            grammarErrorOnFirstToken(node, Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);\n            break;\n          case 268:\n          case 269:\n            grammarErrorOnFirstToken(node, Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);\n            break;\n          case 205:\n          case 257:\n            const name = node.name;\n            if (isBindingPattern(name)) {\n              for (const el of name.elements) {\n                checkModuleAugmentationElement(el, isGlobalAugmentation);\n              }\n              break;\n            }\n          case 260:\n          case 263:\n          case 259:\n          case 261:\n          case 264:\n          case 262:\n            if (isGlobalAugmentation) {\n              return;\n            }\n            break;\n        }\n      }\n      function getFirstNonModuleExportsIdentifier(node) {\n        switch (node.kind) {\n          case 79:\n            return node;\n          case 163:\n            do {\n              node = node.left;\n            } while (node.kind !== 79);\n            return node;\n          case 208:\n            do {\n              if (isModuleExportsAccessExpression(node.expression) && !isPrivateIdentifier(node.name)) {\n                return node.name;\n              }\n              node = node.expression;\n            } while (node.kind !== 79);\n            return node;\n        }\n      }\n      function checkExternalImportOrExportDeclaration(node) {\n        const moduleName = getExternalModuleName(node);\n        if (!moduleName || nodeIsMissing(moduleName)) {\n          return false;\n        }\n        if (!isStringLiteral(moduleName)) {\n          error(moduleName, Diagnostics.String_literal_expected);\n          return false;\n        }\n        const inAmbientExternalModule = node.parent.kind === 265 && isAmbientModule(node.parent.parent);\n        if (node.parent.kind !== 308 && !inAmbientExternalModule) {\n          error(moduleName, node.kind === 275 ? Diagnostics.Export_declarations_are_not_permitted_in_a_namespace : Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module);\n          return false;\n        }\n        if (inAmbientExternalModule && isExternalModuleNameRelative(moduleName.text)) {\n          if (!isTopLevelInExternalModuleAugmentation(node)) {\n            error(node, Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name);\n            return false;\n          }\n        }\n        if (!isImportEqualsDeclaration(node) && node.assertClause) {\n          let hasError = false;\n          for (const clause of node.assertClause.elements) {\n            if (!isStringLiteral(clause.value)) {\n              hasError = true;\n              error(clause.value, Diagnostics.Import_assertion_values_must_be_string_literal_expressions);\n            }\n          }\n          return !hasError;\n        }\n        return true;\n      }\n      function checkAliasSymbol(node) {\n        var _a22, _b3, _c, _d, _e;\n        let symbol = getSymbolOfDeclaration(node);\n        const target = resolveAlias(symbol);\n        if (target !== unknownSymbol) {\n          symbol = getMergedSymbol(symbol.exportSymbol || symbol);\n          if (isInJSFile(node) && !(target.flags & 111551) && !isTypeOnlyImportOrExportDeclaration(node)) {\n            const errorNode = isImportOrExportSpecifier(node) ? node.propertyName || node.name : isNamedDeclaration(node) ? node.name : node;\n            Debug2.assert(\n              node.kind !== 277\n              /* NamespaceExport */\n            );\n            if (node.kind === 278) {\n              const diag2 = error(errorNode, Diagnostics.Types_cannot_appear_in_export_declarations_in_JavaScript_files);\n              const alreadyExportedSymbol = (_b3 = (_a22 = getSourceFileOfNode(node).symbol) == null ? void 0 : _a22.exports) == null ? void 0 : _b3.get((node.propertyName || node.name).escapedText);\n              if (alreadyExportedSymbol === target) {\n                const exportingDeclaration = (_c = alreadyExportedSymbol.declarations) == null ? void 0 : _c.find(isJSDocNode);\n                if (exportingDeclaration) {\n                  addRelatedInfo(diag2, createDiagnosticForNode(\n                    exportingDeclaration,\n                    Diagnostics._0_is_automatically_exported_here,\n                    unescapeLeadingUnderscores(alreadyExportedSymbol.escapedName)\n                  ));\n                }\n              }\n            } else {\n              Debug2.assert(\n                node.kind !== 257\n                /* VariableDeclaration */\n              );\n              const importDeclaration = findAncestor(node, or(isImportDeclaration, isImportEqualsDeclaration));\n              const moduleSpecifier = (_e = importDeclaration && ((_d = tryGetModuleSpecifierFromDeclaration(importDeclaration)) == null ? void 0 : _d.text)) != null ? _e : \"...\";\n              const importedIdentifier = unescapeLeadingUnderscores(isIdentifier(errorNode) ? errorNode.escapedText : symbol.escapedName);\n              error(\n                errorNode,\n                Diagnostics._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,\n                importedIdentifier,\n                `import(\"${moduleSpecifier}\").${importedIdentifier}`\n              );\n            }\n            return;\n          }\n          const targetFlags = getAllSymbolFlags(target);\n          const excludedMeanings = (symbol.flags & (111551 | 1048576) ? 111551 : 0) | (symbol.flags & 788968 ? 788968 : 0) | (symbol.flags & 1920 ? 1920 : 0);\n          if (targetFlags & excludedMeanings) {\n            const message = node.kind === 278 ? Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0 : Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0;\n            error(node, message, symbolToString(symbol));\n          }\n          if (getIsolatedModules(compilerOptions) && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 16777216)) {\n            const typeOnlyAlias = getTypeOnlyAliasDeclaration(symbol);\n            const isType = !(targetFlags & 111551);\n            if (isType || typeOnlyAlias) {\n              switch (node.kind) {\n                case 270:\n                case 273:\n                case 268: {\n                  if (compilerOptions.preserveValueImports || compilerOptions.verbatimModuleSyntax) {\n                    Debug2.assertIsDefined(node.name, \"An ImportClause with a symbol should have a name\");\n                    const message = compilerOptions.verbatimModuleSyntax && isInternalModuleImportEqualsDeclaration(node) ? Diagnostics.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled : isType ? compilerOptions.verbatimModuleSyntax ? Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled : Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled : compilerOptions.verbatimModuleSyntax ? Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled;\n                    const name = idText(node.kind === 273 ? node.propertyName || node.name : node.name);\n                    addTypeOnlyDeclarationRelatedInfo(\n                      error(node, message, name),\n                      isType ? void 0 : typeOnlyAlias,\n                      name\n                    );\n                  }\n                  if (isType && node.kind === 268 && hasEffectiveModifier(\n                    node,\n                    1\n                    /* Export */\n                  )) {\n                    error(node, Diagnostics.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled, isolatedModulesLikeFlagName);\n                  }\n                  break;\n                }\n                case 278: {\n                  if (compilerOptions.verbatimModuleSyntax || getSourceFileOfNode(typeOnlyAlias) !== getSourceFileOfNode(node)) {\n                    const name = idText(node.propertyName || node.name);\n                    const diagnostic = isType ? error(node, Diagnostics.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type, isolatedModulesLikeFlagName) : error(node, Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled, name, isolatedModulesLikeFlagName);\n                    addTypeOnlyDeclarationRelatedInfo(diagnostic, isType ? void 0 : typeOnlyAlias, name);\n                    break;\n                  }\n                }\n              }\n            }\n            if (compilerOptions.verbatimModuleSyntax && node.kind !== 268 && !isInJSFile(node) && (moduleKind === 1 || getSourceFileOfNode(node).impliedNodeFormat === 1)) {\n              error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);\n            }\n          }\n          if (isImportSpecifier(node)) {\n            const targetSymbol = checkDeprecatedAliasedSymbol(symbol, node);\n            if (isDeprecatedAliasedSymbol(targetSymbol) && targetSymbol.declarations) {\n              addDeprecatedSuggestion(node, targetSymbol.declarations, targetSymbol.escapedName);\n            }\n          }\n        }\n      }\n      function isDeprecatedAliasedSymbol(symbol) {\n        return !!symbol.declarations && every(symbol.declarations, (d) => !!(getCombinedNodeFlags(d) & 268435456));\n      }\n      function checkDeprecatedAliasedSymbol(symbol, location) {\n        if (!(symbol.flags & 2097152))\n          return symbol;\n        const targetSymbol = resolveAlias(symbol);\n        if (targetSymbol === unknownSymbol)\n          return targetSymbol;\n        while (symbol.flags & 2097152) {\n          const target = getImmediateAliasedSymbol(symbol);\n          if (target) {\n            if (target === targetSymbol)\n              break;\n            if (target.declarations && length(target.declarations)) {\n              if (isDeprecatedAliasedSymbol(target)) {\n                addDeprecatedSuggestion(location, target.declarations, target.escapedName);\n                break;\n              } else {\n                if (symbol === targetSymbol)\n                  break;\n                symbol = target;\n              }\n            }\n          } else {\n            break;\n          }\n        }\n        return targetSymbol;\n      }\n      function checkImportBinding(node) {\n        checkCollisionsForDeclarationName(node, node.name);\n        checkAliasSymbol(node);\n        if (node.kind === 273 && idText(node.propertyName || node.name) === \"default\" && getESModuleInterop(compilerOptions) && moduleKind !== 4 && (moduleKind < 5 || getSourceFileOfNode(node).impliedNodeFormat === 1)) {\n          checkExternalEmitHelpers(\n            node,\n            131072\n            /* ImportDefault */\n          );\n        }\n      }\n      function checkAssertClause(declaration) {\n        var _a22;\n        if (declaration.assertClause) {\n          const validForTypeAssertions = isExclusivelyTypeOnlyImportOrExport(declaration);\n          const override = getResolutionModeOverrideForClause(declaration.assertClause, validForTypeAssertions ? grammarErrorOnNode : void 0);\n          if (validForTypeAssertions && override) {\n            if (!isNightly()) {\n              grammarErrorOnNode(declaration.assertClause, Diagnostics.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next);\n            }\n            if (getEmitModuleResolutionKind(compilerOptions) !== 3 && getEmitModuleResolutionKind(compilerOptions) !== 99) {\n              return grammarErrorOnNode(declaration.assertClause, Diagnostics.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext);\n            }\n            return;\n          }\n          const mode = moduleKind === 199 && declaration.moduleSpecifier && getUsageModeForExpression(declaration.moduleSpecifier);\n          if (mode !== 99 && moduleKind !== 99) {\n            return grammarErrorOnNode(\n              declaration.assertClause,\n              moduleKind === 199 ? Diagnostics.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls : Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext\n            );\n          }\n          if (isImportDeclaration(declaration) ? (_a22 = declaration.importClause) == null ? void 0 : _a22.isTypeOnly : declaration.isTypeOnly) {\n            return grammarErrorOnNode(declaration.assertClause, Diagnostics.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);\n          }\n          if (override) {\n            return grammarErrorOnNode(declaration.assertClause, Diagnostics.resolution_mode_can_only_be_set_for_type_only_imports);\n          }\n        }\n      }\n      function checkImportDeclaration(node) {\n        if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) {\n          return;\n        }\n        if (!checkGrammarModifiers(node) && hasEffectiveModifiers(node)) {\n          grammarErrorOnFirstToken(node, Diagnostics.An_import_declaration_cannot_have_modifiers);\n        }\n        if (checkExternalImportOrExportDeclaration(node)) {\n          const importClause = node.importClause;\n          if (importClause && !checkGrammarImportClause(importClause)) {\n            if (importClause.name) {\n              checkImportBinding(importClause);\n            }\n            if (importClause.namedBindings) {\n              if (importClause.namedBindings.kind === 271) {\n                checkImportBinding(importClause.namedBindings);\n                if (moduleKind !== 4 && (moduleKind < 5 || getSourceFileOfNode(node).impliedNodeFormat === 1) && getESModuleInterop(compilerOptions)) {\n                  checkExternalEmitHelpers(\n                    node,\n                    65536\n                    /* ImportStar */\n                  );\n                }\n              } else {\n                const moduleExisted = resolveExternalModuleName(node, node.moduleSpecifier);\n                if (moduleExisted) {\n                  forEach(importClause.namedBindings.elements, checkImportBinding);\n                }\n              }\n            }\n          }\n        }\n        checkAssertClause(node);\n      }\n      function checkImportEqualsDeclaration(node) {\n        if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) {\n          return;\n        }\n        checkGrammarModifiers(node);\n        if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) {\n          checkImportBinding(node);\n          if (hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          )) {\n            markExportAsReferenced(node);\n          }\n          if (node.moduleReference.kind !== 280) {\n            const target = resolveAlias(getSymbolOfDeclaration(node));\n            if (target !== unknownSymbol) {\n              const targetFlags = getAllSymbolFlags(target);\n              if (targetFlags & 111551) {\n                const moduleName = getFirstIdentifier(node.moduleReference);\n                if (!(resolveEntityName(\n                  moduleName,\n                  111551 | 1920\n                  /* Namespace */\n                ).flags & 1920)) {\n                  error(moduleName, Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name, declarationNameToString(moduleName));\n                }\n              }\n              if (targetFlags & 788968) {\n                checkTypeNameIsReserved(node.name, Diagnostics.Import_name_cannot_be_0);\n              }\n            }\n            if (node.isTypeOnly) {\n              grammarErrorOnNode(node, Diagnostics.An_import_alias_cannot_use_import_type);\n            }\n          } else {\n            if (moduleKind >= 5 && getSourceFileOfNode(node).impliedNodeFormat === void 0 && !node.isTypeOnly && !(node.flags & 16777216)) {\n              grammarErrorOnNode(node, Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead);\n            }\n          }\n        }\n      }\n      function checkExportDeclaration(node) {\n        if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) {\n          return;\n        }\n        if (!checkGrammarModifiers(node) && hasSyntacticModifiers(node)) {\n          grammarErrorOnFirstToken(node, Diagnostics.An_export_declaration_cannot_have_modifiers);\n        }\n        if (node.moduleSpecifier && node.exportClause && isNamedExports(node.exportClause) && length(node.exportClause.elements) && languageVersion === 0) {\n          checkExternalEmitHelpers(\n            node,\n            4194304\n            /* CreateBinding */\n          );\n        }\n        checkGrammarExportDeclaration(node);\n        if (!node.moduleSpecifier || checkExternalImportOrExportDeclaration(node)) {\n          if (node.exportClause && !isNamespaceExport(node.exportClause)) {\n            forEach(node.exportClause.elements, checkExportSpecifier);\n            const inAmbientExternalModule = node.parent.kind === 265 && isAmbientModule(node.parent.parent);\n            const inAmbientNamespaceDeclaration = !inAmbientExternalModule && node.parent.kind === 265 && !node.moduleSpecifier && node.flags & 16777216;\n            if (node.parent.kind !== 308 && !inAmbientExternalModule && !inAmbientNamespaceDeclaration) {\n              error(node, Diagnostics.Export_declarations_are_not_permitted_in_a_namespace);\n            }\n          } else {\n            const moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier);\n            if (moduleSymbol && hasExportAssignmentSymbol(moduleSymbol)) {\n              error(node.moduleSpecifier, Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk, symbolToString(moduleSymbol));\n            } else if (node.exportClause) {\n              checkAliasSymbol(node.exportClause);\n            }\n            if (moduleKind !== 4 && (moduleKind < 5 || getSourceFileOfNode(node).impliedNodeFormat === 1)) {\n              if (node.exportClause) {\n                if (getESModuleInterop(compilerOptions)) {\n                  checkExternalEmitHelpers(\n                    node,\n                    65536\n                    /* ImportStar */\n                  );\n                }\n              } else {\n                checkExternalEmitHelpers(\n                  node,\n                  32768\n                  /* ExportStar */\n                );\n              }\n            }\n          }\n        }\n        checkAssertClause(node);\n      }\n      function checkGrammarExportDeclaration(node) {\n        var _a22;\n        if (node.isTypeOnly && ((_a22 = node.exportClause) == null ? void 0 : _a22.kind) === 276) {\n          return checkGrammarNamedImportsOrExports(node.exportClause);\n        }\n        return false;\n      }\n      function checkGrammarModuleElementContext(node, errorMessage) {\n        const isInAppropriateContext = node.parent.kind === 308 || node.parent.kind === 265 || node.parent.kind === 264;\n        if (!isInAppropriateContext) {\n          grammarErrorOnFirstToken(node, errorMessage);\n        }\n        return !isInAppropriateContext;\n      }\n      function importClauseContainsReferencedImport(importClause) {\n        return forEachImportClauseDeclaration(importClause, (declaration) => {\n          return !!getSymbolOfDeclaration(declaration).isReferenced;\n        });\n      }\n      function importClauseContainsConstEnumUsedAsValue(importClause) {\n        return forEachImportClauseDeclaration(importClause, (declaration) => {\n          return !!getSymbolLinks(getSymbolOfDeclaration(declaration)).constEnumReferenced;\n        });\n      }\n      function canConvertImportDeclarationToTypeOnly(statement) {\n        return isImportDeclaration(statement) && statement.importClause && !statement.importClause.isTypeOnly && importClauseContainsReferencedImport(statement.importClause) && !isReferencedAliasDeclaration(\n          statement.importClause,\n          /*checkChildren*/\n          true\n        ) && !importClauseContainsConstEnumUsedAsValue(statement.importClause);\n      }\n      function canConvertImportEqualsDeclarationToTypeOnly(statement) {\n        return isImportEqualsDeclaration(statement) && isExternalModuleReference(statement.moduleReference) && !statement.isTypeOnly && getSymbolOfDeclaration(statement).isReferenced && !isReferencedAliasDeclaration(\n          statement,\n          /*checkChildren*/\n          false\n        ) && !getSymbolLinks(getSymbolOfDeclaration(statement)).constEnumReferenced;\n      }\n      function checkImportsForTypeOnlyConversion(sourceFile) {\n        for (const statement of sourceFile.statements) {\n          if (canConvertImportDeclarationToTypeOnly(statement) || canConvertImportEqualsDeclarationToTypeOnly(statement)) {\n            error(\n              statement,\n              Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error\n            );\n          }\n        }\n      }\n      function checkExportSpecifier(node) {\n        checkAliasSymbol(node);\n        if (getEmitDeclarations(compilerOptions)) {\n          collectLinkedAliases(\n            node.propertyName || node.name,\n            /*setVisibility*/\n            true\n          );\n        }\n        if (!node.parent.parent.moduleSpecifier) {\n          const exportedName = node.propertyName || node.name;\n          const symbol = resolveName(\n            exportedName,\n            exportedName.escapedText,\n            111551 | 788968 | 1920 | 2097152,\n            /*nameNotFoundMessage*/\n            void 0,\n            /*nameArg*/\n            void 0,\n            /*isUse*/\n            true\n          );\n          if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) {\n            error(exportedName, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, idText(exportedName));\n          } else {\n            if (!node.isTypeOnly && !node.parent.parent.isTypeOnly) {\n              markExportAsReferenced(node);\n            }\n            const target = symbol && (symbol.flags & 2097152 ? resolveAlias(symbol) : symbol);\n            if (!target || getAllSymbolFlags(target) & 111551) {\n              checkExpressionCached(node.propertyName || node.name);\n            }\n          }\n        } else {\n          if (getESModuleInterop(compilerOptions) && moduleKind !== 4 && (moduleKind < 5 || getSourceFileOfNode(node).impliedNodeFormat === 1) && idText(node.propertyName || node.name) === \"default\") {\n            checkExternalEmitHelpers(\n              node,\n              131072\n              /* ImportDefault */\n            );\n          }\n        }\n      }\n      function checkExportAssignment(node) {\n        const illegalContextMessage = node.isExportEquals ? Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration : Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;\n        if (checkGrammarModuleElementContext(node, illegalContextMessage)) {\n          return;\n        }\n        const container = node.parent.kind === 308 ? node.parent : node.parent.parent;\n        if (container.kind === 264 && !isAmbientModule(container)) {\n          if (node.isExportEquals) {\n            error(node, Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace);\n          } else {\n            error(node, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);\n          }\n          return;\n        }\n        if (!checkGrammarModifiers(node) && hasEffectiveModifiers(node)) {\n          grammarErrorOnFirstToken(node, Diagnostics.An_export_assignment_cannot_have_modifiers);\n        }\n        const typeAnnotationNode = getEffectiveTypeAnnotationNode(node);\n        if (typeAnnotationNode) {\n          checkTypeAssignableTo(checkExpressionCached(node.expression), getTypeFromTypeNode(typeAnnotationNode), node.expression);\n        }\n        const isIllegalExportDefaultInCJS = !node.isExportEquals && !(node.flags & 16777216) && compilerOptions.verbatimModuleSyntax && (moduleKind === 1 || getSourceFileOfNode(node).impliedNodeFormat === 1);\n        if (node.expression.kind === 79) {\n          const id = node.expression;\n          const sym = getExportSymbolOfValueSymbolIfExported(resolveEntityName(\n            id,\n            67108863,\n            /*ignoreErrors*/\n            true,\n            /*dontResolveAlias*/\n            true,\n            node\n          ));\n          if (sym) {\n            markAliasReferenced(sym, id);\n            if (getAllSymbolFlags(sym) & 111551) {\n              checkExpressionCached(id);\n              if (!isIllegalExportDefaultInCJS && compilerOptions.verbatimModuleSyntax && getTypeOnlyAliasDeclaration(\n                sym,\n                111551\n                /* Value */\n              )) {\n                error(\n                  id,\n                  node.isExportEquals ? Diagnostics.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration : Diagnostics.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,\n                  idText(id)\n                );\n              }\n            } else if (!isIllegalExportDefaultInCJS && compilerOptions.verbatimModuleSyntax) {\n              error(\n                id,\n                node.isExportEquals ? Diagnostics.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type : Diagnostics.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,\n                idText(id)\n              );\n            }\n          } else {\n            checkExpressionCached(id);\n          }\n          if (getEmitDeclarations(compilerOptions)) {\n            collectLinkedAliases(\n              id,\n              /*setVisibility*/\n              true\n            );\n          }\n        } else {\n          checkExpressionCached(node.expression);\n        }\n        if (isIllegalExportDefaultInCJS) {\n          error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);\n        }\n        checkExternalModuleExports(container);\n        if (node.flags & 16777216 && !isEntityNameExpression(node.expression)) {\n          grammarErrorOnNode(node.expression, Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context);\n        }\n        if (node.isExportEquals) {\n          if (moduleKind >= 5 && (node.flags & 16777216 && getSourceFileOfNode(node).impliedNodeFormat === 99 || !(node.flags & 16777216) && getSourceFileOfNode(node).impliedNodeFormat !== 1)) {\n            grammarErrorOnNode(node, Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead);\n          } else if (moduleKind === 4 && !(node.flags & 16777216)) {\n            grammarErrorOnNode(node, Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system);\n          }\n        }\n      }\n      function hasExportedMembers(moduleSymbol) {\n        return forEachEntry(moduleSymbol.exports, (_, id) => id !== \"export=\");\n      }\n      function checkExternalModuleExports(node) {\n        const moduleSymbol = getSymbolOfDeclaration(node);\n        const links = getSymbolLinks(moduleSymbol);\n        if (!links.exportsChecked) {\n          const exportEqualsSymbol = moduleSymbol.exports.get(\"export=\");\n          if (exportEqualsSymbol && hasExportedMembers(moduleSymbol)) {\n            const declaration = getDeclarationOfAliasSymbol(exportEqualsSymbol) || exportEqualsSymbol.valueDeclaration;\n            if (declaration && !isTopLevelInExternalModuleAugmentation(declaration) && !isInJSFile(declaration)) {\n              error(declaration, Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements);\n            }\n          }\n          const exports = getExportsOfModule(moduleSymbol);\n          if (exports) {\n            exports.forEach(({ declarations, flags }, id) => {\n              if (id === \"__export\") {\n                return;\n              }\n              if (flags & (1920 | 384)) {\n                return;\n              }\n              const exportedDeclarationsCount = countWhere2(declarations, and(isNotOverloadAndNotAccessor, not(isInterfaceDeclaration)));\n              if (flags & 524288 && exportedDeclarationsCount <= 2) {\n                return;\n              }\n              if (exportedDeclarationsCount > 1) {\n                if (!isDuplicatedCommonJSExport(declarations)) {\n                  for (const declaration of declarations) {\n                    if (isNotOverload(declaration)) {\n                      diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Cannot_redeclare_exported_variable_0, unescapeLeadingUnderscores(id)));\n                    }\n                  }\n                }\n              }\n            });\n          }\n          links.exportsChecked = true;\n        }\n      }\n      function isDuplicatedCommonJSExport(declarations) {\n        return declarations && declarations.length > 1 && declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && (isExportsIdentifier(d.expression) || isModuleExportsAccessExpression(d.expression)));\n      }\n      function checkSourceElement(node) {\n        if (node) {\n          const saveCurrentNode = currentNode;\n          currentNode = node;\n          instantiationCount = 0;\n          checkSourceElementWorker(node);\n          currentNode = saveCurrentNode;\n        }\n      }\n      function checkSourceElementWorker(node) {\n        if (canHaveJSDoc(node)) {\n          forEach(node.jsDoc, ({ comment, tags }) => {\n            checkJSDocCommentWorker(comment);\n            forEach(tags, (tag) => {\n              checkJSDocCommentWorker(tag.comment);\n              if (isInJSFile(node)) {\n                checkSourceElement(tag);\n              }\n            });\n          });\n        }\n        const kind = node.kind;\n        if (cancellationToken) {\n          switch (kind) {\n            case 264:\n            case 260:\n            case 261:\n            case 259:\n              cancellationToken.throwIfCancellationRequested();\n          }\n        }\n        if (kind >= 240 && kind <= 256 && canHaveFlowNode(node) && node.flowNode && !isReachableFlowNode(node.flowNode)) {\n          errorOrSuggestion(compilerOptions.allowUnreachableCode === false, node, Diagnostics.Unreachable_code_detected);\n        }\n        switch (kind) {\n          case 165:\n            return checkTypeParameter(node);\n          case 166:\n            return checkParameter(node);\n          case 169:\n            return checkPropertyDeclaration(node);\n          case 168:\n            return checkPropertySignature(node);\n          case 182:\n          case 181:\n          case 176:\n          case 177:\n          case 178:\n            return checkSignatureDeclaration(node);\n          case 171:\n          case 170:\n            return checkMethodDeclaration(node);\n          case 172:\n            return checkClassStaticBlockDeclaration(node);\n          case 173:\n            return checkConstructorDeclaration(node);\n          case 174:\n          case 175:\n            return checkAccessorDeclaration(node);\n          case 180:\n            return checkTypeReferenceNode(node);\n          case 179:\n            return checkTypePredicate(node);\n          case 183:\n            return checkTypeQuery(node);\n          case 184:\n            return checkTypeLiteral(node);\n          case 185:\n            return checkArrayType(node);\n          case 186:\n            return checkTupleType(node);\n          case 189:\n          case 190:\n            return checkUnionOrIntersectionType(node);\n          case 193:\n          case 187:\n          case 188:\n            return checkSourceElement(node.type);\n          case 194:\n            return checkThisType(node);\n          case 195:\n            return checkTypeOperator(node);\n          case 191:\n            return checkConditionalType(node);\n          case 192:\n            return checkInferType(node);\n          case 200:\n            return checkTemplateLiteralType(node);\n          case 202:\n            return checkImportType(node);\n          case 199:\n            return checkNamedTupleMember(node);\n          case 331:\n            return checkJSDocAugmentsTag(node);\n          case 332:\n            return checkJSDocImplementsTag(node);\n          case 349:\n          case 341:\n          case 343:\n            return checkJSDocTypeAliasTag(node);\n          case 348:\n            return checkJSDocTemplateTag(node);\n          case 347:\n            return checkJSDocTypeTag(node);\n          case 327:\n          case 328:\n          case 329:\n            return checkJSDocLinkLikeTag(node);\n          case 344:\n            return checkJSDocParameterTag(node);\n          case 351:\n            return checkJSDocPropertyTag(node);\n          case 320:\n            checkJSDocFunctionType(node);\n          case 318:\n          case 317:\n          case 315:\n          case 316:\n          case 325:\n            checkJSDocTypeIsInJsFile(node);\n            forEachChild(node, checkSourceElement);\n            return;\n          case 321:\n            checkJSDocVariadicType(node);\n            return;\n          case 312:\n            return checkSourceElement(node.type);\n          case 336:\n          case 338:\n          case 337:\n            return checkJSDocAccessibilityModifiers(node);\n          case 353:\n            return checkJSDocSatisfiesTag(node);\n          case 196:\n            return checkIndexedAccessType(node);\n          case 197:\n            return checkMappedType(node);\n          case 259:\n            return checkFunctionDeclaration(node);\n          case 238:\n          case 265:\n            return checkBlock(node);\n          case 240:\n            return checkVariableStatement(node);\n          case 241:\n            return checkExpressionStatement(node);\n          case 242:\n            return checkIfStatement(node);\n          case 243:\n            return checkDoStatement(node);\n          case 244:\n            return checkWhileStatement(node);\n          case 245:\n            return checkForStatement(node);\n          case 246:\n            return checkForInStatement(node);\n          case 247:\n            return checkForOfStatement(node);\n          case 248:\n          case 249:\n            return checkBreakOrContinueStatement(node);\n          case 250:\n            return checkReturnStatement(node);\n          case 251:\n            return checkWithStatement(node);\n          case 252:\n            return checkSwitchStatement(node);\n          case 253:\n            return checkLabeledStatement(node);\n          case 254:\n            return checkThrowStatement(node);\n          case 255:\n            return checkTryStatement(node);\n          case 257:\n            return checkVariableDeclaration(node);\n          case 205:\n            return checkBindingElement(node);\n          case 260:\n            return checkClassDeclaration(node);\n          case 261:\n            return checkInterfaceDeclaration(node);\n          case 262:\n            return checkTypeAliasDeclaration(node);\n          case 263:\n            return checkEnumDeclaration(node);\n          case 264:\n            return checkModuleDeclaration(node);\n          case 269:\n            return checkImportDeclaration(node);\n          case 268:\n            return checkImportEqualsDeclaration(node);\n          case 275:\n            return checkExportDeclaration(node);\n          case 274:\n            return checkExportAssignment(node);\n          case 239:\n          case 256:\n            checkGrammarStatementInAmbientContext(node);\n            return;\n          case 279:\n            return checkMissingDeclaration(node);\n        }\n      }\n      function checkJSDocCommentWorker(node) {\n        if (isArray(node)) {\n          forEach(node, (tag) => {\n            if (isJSDocLinkLike(tag)) {\n              checkSourceElement(tag);\n            }\n          });\n        }\n      }\n      function checkJSDocTypeIsInJsFile(node) {\n        if (!isInJSFile(node)) {\n          if (isJSDocNonNullableType(node) || isJSDocNullableType(node)) {\n            const token = tokenToString(\n              isJSDocNonNullableType(node) ? 53 : 57\n              /* QuestionToken */\n            );\n            const diagnostic = node.postfix ? Diagnostics._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1 : Diagnostics._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1;\n            const typeNode = node.type;\n            const type = getTypeFromTypeNode(typeNode);\n            grammarErrorOnNode(node, diagnostic, token, typeToString(\n              isJSDocNullableType(node) && !(type === neverType || type === voidType) ? getUnionType(append([type, undefinedType], node.postfix ? void 0 : nullType)) : type\n            ));\n          } else {\n            grammarErrorOnNode(node, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments);\n          }\n        }\n      }\n      function checkJSDocVariadicType(node) {\n        checkJSDocTypeIsInJsFile(node);\n        checkSourceElement(node.type);\n        const { parent: parent2 } = node;\n        if (isParameter(parent2) && isJSDocFunctionType(parent2.parent)) {\n          if (last(parent2.parent.parameters) !== parent2) {\n            error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);\n          }\n          return;\n        }\n        if (!isJSDocTypeExpression(parent2)) {\n          error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);\n        }\n        const paramTag = node.parent.parent;\n        if (!isJSDocParameterTag(paramTag)) {\n          error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);\n          return;\n        }\n        const param = getParameterSymbolFromJSDoc(paramTag);\n        if (!param) {\n          return;\n        }\n        const host2 = getHostSignatureFromJSDoc(paramTag);\n        if (!host2 || last(host2.parameters).symbol !== param) {\n          error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);\n        }\n      }\n      function getTypeFromJSDocVariadicType(node) {\n        const type = getTypeFromTypeNode(node.type);\n        const { parent: parent2 } = node;\n        const paramTag = node.parent.parent;\n        if (isJSDocTypeExpression(node.parent) && isJSDocParameterTag(paramTag)) {\n          const host2 = getHostSignatureFromJSDoc(paramTag);\n          const isCallbackTag = isJSDocCallbackTag(paramTag.parent.parent);\n          if (host2 || isCallbackTag) {\n            const lastParamDeclaration = isCallbackTag ? lastOrUndefined(paramTag.parent.parent.typeExpression.parameters) : lastOrUndefined(host2.parameters);\n            const symbol = getParameterSymbolFromJSDoc(paramTag);\n            if (!lastParamDeclaration || symbol && lastParamDeclaration.symbol === symbol && isRestParameter(lastParamDeclaration)) {\n              return createArrayType(type);\n            }\n          }\n        }\n        if (isParameter(parent2) && isJSDocFunctionType(parent2.parent)) {\n          return createArrayType(type);\n        }\n        return addOptionality(type);\n      }\n      function checkNodeDeferred(node) {\n        const enclosingFile = getSourceFileOfNode(node);\n        const links = getNodeLinks(enclosingFile);\n        if (!(links.flags & 1)) {\n          links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set());\n          links.deferredNodes.add(node);\n        } else {\n          Debug2.assert(!links.deferredNodes, \"A type-checked file should have no deferred nodes.\");\n        }\n      }\n      function checkDeferredNodes(context) {\n        const links = getNodeLinks(context);\n        if (links.deferredNodes) {\n          links.deferredNodes.forEach(checkDeferredNode);\n        }\n        links.deferredNodes = void 0;\n      }\n      function checkDeferredNode(node) {\n        var _a22, _b3;\n        (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.Check, \"checkDeferredNode\", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });\n        const saveCurrentNode = currentNode;\n        currentNode = node;\n        instantiationCount = 0;\n        switch (node.kind) {\n          case 210:\n          case 211:\n          case 212:\n          case 167:\n          case 283:\n            resolveUntypedCall(node);\n            break;\n          case 215:\n          case 216:\n          case 171:\n          case 170:\n            checkFunctionExpressionOrObjectLiteralMethodDeferred(node);\n            break;\n          case 174:\n          case 175:\n            checkAccessorDeclaration(node);\n            break;\n          case 228:\n            checkClassExpressionDeferred(node);\n            break;\n          case 165:\n            checkTypeParameterDeferred(node);\n            break;\n          case 282:\n            checkJsxSelfClosingElementDeferred(node);\n            break;\n          case 281:\n            checkJsxElementDeferred(node);\n            break;\n        }\n        currentNode = saveCurrentNode;\n        (_b3 = tracing) == null ? void 0 : _b3.pop();\n      }\n      function checkSourceFile(node) {\n        var _a22, _b3;\n        (_a22 = tracing) == null ? void 0 : _a22.push(\n          tracing.Phase.Check,\n          \"checkSourceFile\",\n          { path: node.path },\n          /*separateBeginAndEnd*/\n          true\n        );\n        mark(\"beforeCheck\");\n        checkSourceFileWorker(node);\n        mark(\"afterCheck\");\n        measure(\"Check\", \"beforeCheck\", \"afterCheck\");\n        (_b3 = tracing) == null ? void 0 : _b3.pop();\n      }\n      function unusedIsError(kind, isAmbient) {\n        if (isAmbient) {\n          return false;\n        }\n        switch (kind) {\n          case 0:\n            return !!compilerOptions.noUnusedLocals;\n          case 1:\n            return !!compilerOptions.noUnusedParameters;\n          default:\n            return Debug2.assertNever(kind);\n        }\n      }\n      function getPotentiallyUnusedIdentifiers(sourceFile) {\n        return allPotentiallyUnusedIdentifiers.get(sourceFile.path) || emptyArray;\n      }\n      function checkSourceFileWorker(node) {\n        const links = getNodeLinks(node);\n        if (!(links.flags & 1)) {\n          if (skipTypeChecking(node, compilerOptions, host)) {\n            return;\n          }\n          checkGrammarSourceFile(node);\n          clear(potentialThisCollisions);\n          clear(potentialNewTargetCollisions);\n          clear(potentialWeakMapSetCollisions);\n          clear(potentialReflectCollisions);\n          clear(potentialUnusedRenamedBindingElementsInTypes);\n          forEach(node.statements, checkSourceElement);\n          checkSourceElement(node.endOfFileToken);\n          checkDeferredNodes(node);\n          if (isExternalOrCommonJsModule(node)) {\n            registerForUnusedIdentifiersCheck(node);\n          }\n          addLazyDiagnostic(() => {\n            if (!node.isDeclarationFile && (compilerOptions.noUnusedLocals || compilerOptions.noUnusedParameters)) {\n              checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(node), (containingNode, kind, diag2) => {\n                if (!containsParseError(containingNode) && unusedIsError(kind, !!(containingNode.flags & 16777216))) {\n                  diagnostics.add(diag2);\n                }\n              });\n            }\n            if (!node.isDeclarationFile) {\n              checkPotentialUncheckedRenamedBindingElementsInTypes();\n            }\n          });\n          if (compilerOptions.importsNotUsedAsValues === 2 && !node.isDeclarationFile && isExternalModule(node)) {\n            checkImportsForTypeOnlyConversion(node);\n          }\n          if (isExternalOrCommonJsModule(node)) {\n            checkExternalModuleExports(node);\n          }\n          if (potentialThisCollisions.length) {\n            forEach(potentialThisCollisions, checkIfThisIsCapturedInEnclosingScope);\n            clear(potentialThisCollisions);\n          }\n          if (potentialNewTargetCollisions.length) {\n            forEach(potentialNewTargetCollisions, checkIfNewTargetIsCapturedInEnclosingScope);\n            clear(potentialNewTargetCollisions);\n          }\n          if (potentialWeakMapSetCollisions.length) {\n            forEach(potentialWeakMapSetCollisions, checkWeakMapSetCollision);\n            clear(potentialWeakMapSetCollisions);\n          }\n          if (potentialReflectCollisions.length) {\n            forEach(potentialReflectCollisions, checkReflectCollision);\n            clear(potentialReflectCollisions);\n          }\n          links.flags |= 1;\n        }\n      }\n      function getDiagnostics2(sourceFile, ct) {\n        try {\n          cancellationToken = ct;\n          return getDiagnosticsWorker(sourceFile);\n        } finally {\n          cancellationToken = void 0;\n        }\n      }\n      function ensurePendingDiagnosticWorkComplete() {\n        for (const cb of deferredDiagnosticsCallbacks) {\n          cb();\n        }\n        deferredDiagnosticsCallbacks = [];\n      }\n      function checkSourceFileWithEagerDiagnostics(sourceFile) {\n        ensurePendingDiagnosticWorkComplete();\n        const oldAddLazyDiagnostics = addLazyDiagnostic;\n        addLazyDiagnostic = (cb) => cb();\n        checkSourceFile(sourceFile);\n        addLazyDiagnostic = oldAddLazyDiagnostics;\n      }\n      function getDiagnosticsWorker(sourceFile) {\n        if (sourceFile) {\n          ensurePendingDiagnosticWorkComplete();\n          const previousGlobalDiagnostics = diagnostics.getGlobalDiagnostics();\n          const previousGlobalDiagnosticsSize = previousGlobalDiagnostics.length;\n          checkSourceFileWithEagerDiagnostics(sourceFile);\n          const semanticDiagnostics = diagnostics.getDiagnostics(sourceFile.fileName);\n          const currentGlobalDiagnostics = diagnostics.getGlobalDiagnostics();\n          if (currentGlobalDiagnostics !== previousGlobalDiagnostics) {\n            const deferredGlobalDiagnostics = relativeComplement(previousGlobalDiagnostics, currentGlobalDiagnostics, compareDiagnostics);\n            return concatenate(deferredGlobalDiagnostics, semanticDiagnostics);\n          } else if (previousGlobalDiagnosticsSize === 0 && currentGlobalDiagnostics.length > 0) {\n            return concatenate(currentGlobalDiagnostics, semanticDiagnostics);\n          }\n          return semanticDiagnostics;\n        }\n        forEach(host.getSourceFiles(), checkSourceFileWithEagerDiagnostics);\n        return diagnostics.getDiagnostics();\n      }\n      function getGlobalDiagnostics() {\n        ensurePendingDiagnosticWorkComplete();\n        return diagnostics.getGlobalDiagnostics();\n      }\n      function getSymbolsInScope(location, meaning) {\n        if (location.flags & 33554432) {\n          return [];\n        }\n        const symbols = createSymbolTable();\n        let isStaticSymbol = false;\n        populateSymbols();\n        symbols.delete(\n          \"this\"\n          /* This */\n        );\n        return symbolsToArray(symbols);\n        function populateSymbols() {\n          while (location) {\n            if (canHaveLocals(location) && location.locals && !isGlobalSourceFile(location)) {\n              copySymbols(location.locals, meaning);\n            }\n            switch (location.kind) {\n              case 308:\n                if (!isExternalModule(location))\n                  break;\n              case 264:\n                copyLocallyVisibleExportSymbols(\n                  getSymbolOfDeclaration(location).exports,\n                  meaning & 2623475\n                  /* ModuleMember */\n                );\n                break;\n              case 263:\n                copySymbols(\n                  getSymbolOfDeclaration(location).exports,\n                  meaning & 8\n                  /* EnumMember */\n                );\n                break;\n              case 228:\n                const className = location.name;\n                if (className) {\n                  copySymbol(location.symbol, meaning);\n                }\n              case 260:\n              case 261:\n                if (!isStaticSymbol) {\n                  copySymbols(\n                    getMembersOfSymbol(getSymbolOfDeclaration(location)),\n                    meaning & 788968\n                    /* Type */\n                  );\n                }\n                break;\n              case 215:\n                const funcName = location.name;\n                if (funcName) {\n                  copySymbol(location.symbol, meaning);\n                }\n                break;\n            }\n            if (introducesArgumentsExoticObject(location)) {\n              copySymbol(argumentsSymbol, meaning);\n            }\n            isStaticSymbol = isStatic(location);\n            location = location.parent;\n          }\n          copySymbols(globals, meaning);\n        }\n        function copySymbol(symbol, meaning2) {\n          if (getCombinedLocalAndExportSymbolFlags(symbol) & meaning2) {\n            const id = symbol.escapedName;\n            if (!symbols.has(id)) {\n              symbols.set(id, symbol);\n            }\n          }\n        }\n        function copySymbols(source, meaning2) {\n          if (meaning2) {\n            source.forEach((symbol) => {\n              copySymbol(symbol, meaning2);\n            });\n          }\n        }\n        function copyLocallyVisibleExportSymbols(source, meaning2) {\n          if (meaning2) {\n            source.forEach((symbol) => {\n              if (!getDeclarationOfKind(\n                symbol,\n                278\n                /* ExportSpecifier */\n              ) && !getDeclarationOfKind(\n                symbol,\n                277\n                /* NamespaceExport */\n              )) {\n                copySymbol(symbol, meaning2);\n              }\n            });\n          }\n        }\n      }\n      function isTypeDeclarationName(name) {\n        return name.kind === 79 && isTypeDeclaration(name.parent) && getNameOfDeclaration(name.parent) === name;\n      }\n      function isTypeReferenceIdentifier(node) {\n        while (node.parent.kind === 163) {\n          node = node.parent;\n        }\n        return node.parent.kind === 180;\n      }\n      function isInNameOfExpressionWithTypeArguments(node) {\n        while (node.parent.kind === 208) {\n          node = node.parent;\n        }\n        return node.parent.kind === 230;\n      }\n      function forEachEnclosingClass(node, callback) {\n        let result;\n        let containingClass = getContainingClass(node);\n        while (containingClass) {\n          if (result = callback(containingClass))\n            break;\n          containingClass = getContainingClass(containingClass);\n        }\n        return result;\n      }\n      function isNodeUsedDuringClassInitialization(node) {\n        return !!findAncestor(node, (element) => {\n          if (isConstructorDeclaration(element) && nodeIsPresent(element.body) || isPropertyDeclaration(element)) {\n            return true;\n          } else if (isClassLike(element) || isFunctionLikeDeclaration(element)) {\n            return \"quit\";\n          }\n          return false;\n        });\n      }\n      function isNodeWithinClass(node, classDeclaration) {\n        return !!forEachEnclosingClass(node, (n) => n === classDeclaration);\n      }\n      function getLeftSideOfImportEqualsOrExportAssignment(nodeOnRightSide) {\n        while (nodeOnRightSide.parent.kind === 163) {\n          nodeOnRightSide = nodeOnRightSide.parent;\n        }\n        if (nodeOnRightSide.parent.kind === 268) {\n          return nodeOnRightSide.parent.moduleReference === nodeOnRightSide ? nodeOnRightSide.parent : void 0;\n        }\n        if (nodeOnRightSide.parent.kind === 274) {\n          return nodeOnRightSide.parent.expression === nodeOnRightSide ? nodeOnRightSide.parent : void 0;\n        }\n        return void 0;\n      }\n      function isInRightSideOfImportOrExportAssignment(node) {\n        return getLeftSideOfImportEqualsOrExportAssignment(node) !== void 0;\n      }\n      function getSpecialPropertyAssignmentSymbolFromEntityName(entityName) {\n        const specialPropertyAssignmentKind = getAssignmentDeclarationKind(entityName.parent.parent);\n        switch (specialPropertyAssignmentKind) {\n          case 1:\n          case 3:\n            return getSymbolOfNode(entityName.parent);\n          case 4:\n          case 2:\n          case 5:\n            return getSymbolOfDeclaration(entityName.parent.parent);\n        }\n      }\n      function isImportTypeQualifierPart(node) {\n        let parent2 = node.parent;\n        while (isQualifiedName(parent2)) {\n          node = parent2;\n          parent2 = parent2.parent;\n        }\n        if (parent2 && parent2.kind === 202 && parent2.qualifier === node) {\n          return parent2;\n        }\n        return void 0;\n      }\n      function getSymbolOfNameOrPropertyAccessExpression(name) {\n        if (isDeclarationName(name)) {\n          return getSymbolOfNode(name.parent);\n        }\n        if (isInJSFile(name) && name.parent.kind === 208 && name.parent === name.parent.parent.left) {\n          if (!isPrivateIdentifier(name) && !isJSDocMemberName(name)) {\n            const specialPropertyAssignmentSymbol = getSpecialPropertyAssignmentSymbolFromEntityName(name);\n            if (specialPropertyAssignmentSymbol) {\n              return specialPropertyAssignmentSymbol;\n            }\n          }\n        }\n        if (name.parent.kind === 274 && isEntityNameExpression(name)) {\n          const success = resolveEntityName(\n            name,\n            /*all meanings*/\n            111551 | 788968 | 1920 | 2097152,\n            /*ignoreErrors*/\n            true\n          );\n          if (success && success !== unknownSymbol) {\n            return success;\n          }\n        } else if (isEntityName(name) && isInRightSideOfImportOrExportAssignment(name)) {\n          const importEqualsDeclaration = getAncestor(\n            name,\n            268\n            /* ImportEqualsDeclaration */\n          );\n          Debug2.assert(importEqualsDeclaration !== void 0);\n          return getSymbolOfPartOfRightHandSideOfImportEquals(\n            name,\n            /*dontResolveAlias*/\n            true\n          );\n        }\n        if (isEntityName(name)) {\n          const possibleImportNode = isImportTypeQualifierPart(name);\n          if (possibleImportNode) {\n            getTypeFromTypeNode(possibleImportNode);\n            const sym = getNodeLinks(name).resolvedSymbol;\n            return sym === unknownSymbol ? void 0 : sym;\n          }\n        }\n        while (isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(name)) {\n          name = name.parent;\n        }\n        if (isInNameOfExpressionWithTypeArguments(name)) {\n          let meaning = 0;\n          if (name.parent.kind === 230) {\n            meaning = isPartOfTypeNode(name) ? 788968 : 111551;\n            if (isExpressionWithTypeArgumentsInClassExtendsClause(name.parent)) {\n              meaning |= 111551;\n            }\n          } else {\n            meaning = 1920;\n          }\n          meaning |= 2097152;\n          const entityNameSymbol = isEntityNameExpression(name) ? resolveEntityName(name, meaning) : void 0;\n          if (entityNameSymbol) {\n            return entityNameSymbol;\n          }\n        }\n        if (name.parent.kind === 344) {\n          return getParameterSymbolFromJSDoc(name.parent);\n        }\n        if (name.parent.kind === 165 && name.parent.parent.kind === 348) {\n          Debug2.assert(!isInJSFile(name));\n          const typeParameter = getTypeParameterFromJsDoc(name.parent);\n          return typeParameter && typeParameter.symbol;\n        }\n        if (isExpressionNode(name)) {\n          if (nodeIsMissing(name)) {\n            return void 0;\n          }\n          const isJSDoc2 = findAncestor(name, or(isJSDocLinkLike, isJSDocNameReference, isJSDocMemberName));\n          const meaning = isJSDoc2 ? 788968 | 1920 | 111551 : 111551;\n          if (name.kind === 79) {\n            if (isJSXTagName(name) && isJsxIntrinsicIdentifier(name)) {\n              const symbol = getIntrinsicTagSymbol(name.parent);\n              return symbol === unknownSymbol ? void 0 : symbol;\n            }\n            const result = resolveEntityName(\n              name,\n              meaning,\n              /*ignoreErrors*/\n              false,\n              /* dontResolveAlias */\n              true,\n              getHostSignatureFromJSDoc(name)\n            );\n            if (!result && isJSDoc2) {\n              const container = findAncestor(name, or(isClassLike, isInterfaceDeclaration));\n              if (container) {\n                return resolveJSDocMemberName(\n                  name,\n                  /*ignoreErrors*/\n                  false,\n                  getSymbolOfDeclaration(container)\n                );\n              }\n            }\n            if (result && isJSDoc2) {\n              const container = getJSDocHost(name);\n              if (container && isEnumMember(container) && container === result.valueDeclaration) {\n                return resolveEntityName(\n                  name,\n                  meaning,\n                  /*ignoreErrors*/\n                  true,\n                  /* dontResolveAlias */\n                  true,\n                  getSourceFileOfNode(container)\n                ) || result;\n              }\n            }\n            return result;\n          } else if (isPrivateIdentifier(name)) {\n            return getSymbolForPrivateIdentifierExpression(name);\n          } else if (name.kind === 208 || name.kind === 163) {\n            const links = getNodeLinks(name);\n            if (links.resolvedSymbol) {\n              return links.resolvedSymbol;\n            }\n            if (name.kind === 208) {\n              checkPropertyAccessExpression(\n                name,\n                0\n                /* Normal */\n              );\n              if (!links.resolvedSymbol) {\n                const expressionType = checkExpressionCached(name.expression);\n                const infos = getApplicableIndexInfos(expressionType, getLiteralTypeFromPropertyName(name.name));\n                if (infos.length && expressionType.members) {\n                  const resolved = resolveStructuredTypeMembers(expressionType);\n                  const symbol = resolved.members.get(\n                    \"__index\"\n                    /* Index */\n                  );\n                  if (infos === getIndexInfosOfType(expressionType)) {\n                    links.resolvedSymbol = symbol;\n                  } else if (symbol) {\n                    const symbolLinks2 = getSymbolLinks(symbol);\n                    const declarationList = mapDefined(infos, (i) => i.declaration);\n                    const nodeListId = map(declarationList, getNodeId).join(\",\");\n                    if (!symbolLinks2.filteredIndexSymbolCache) {\n                      symbolLinks2.filteredIndexSymbolCache = /* @__PURE__ */ new Map();\n                    }\n                    if (symbolLinks2.filteredIndexSymbolCache.has(nodeListId)) {\n                      links.resolvedSymbol = symbolLinks2.filteredIndexSymbolCache.get(nodeListId);\n                    } else {\n                      const copy = createSymbol(\n                        131072,\n                        \"__index\"\n                        /* Index */\n                      );\n                      copy.declarations = mapDefined(infos, (i) => i.declaration);\n                      copy.parent = expressionType.aliasSymbol ? expressionType.aliasSymbol : expressionType.symbol ? expressionType.symbol : getSymbolAtLocation(copy.declarations[0].parent);\n                      symbolLinks2.filteredIndexSymbolCache.set(nodeListId, copy);\n                      links.resolvedSymbol = symbolLinks2.filteredIndexSymbolCache.get(nodeListId);\n                    }\n                  }\n                }\n              }\n            } else {\n              checkQualifiedName(\n                name,\n                0\n                /* Normal */\n              );\n            }\n            if (!links.resolvedSymbol && isJSDoc2 && isQualifiedName(name)) {\n              return resolveJSDocMemberName(name);\n            }\n            return links.resolvedSymbol;\n          } else if (isJSDocMemberName(name)) {\n            return resolveJSDocMemberName(name);\n          }\n        } else if (isTypeReferenceIdentifier(name)) {\n          const meaning = name.parent.kind === 180 ? 788968 : 1920;\n          const symbol = resolveEntityName(\n            name,\n            meaning,\n            /*ignoreErrors*/\n            false,\n            /*dontResolveAlias*/\n            true\n          );\n          return symbol && symbol !== unknownSymbol ? symbol : getUnresolvedSymbolForEntityName(name);\n        }\n        if (name.parent.kind === 179) {\n          return resolveEntityName(\n            name,\n            /*meaning*/\n            1\n            /* FunctionScopedVariable */\n          );\n        }\n        return void 0;\n      }\n      function resolveJSDocMemberName(name, ignoreErrors, container) {\n        if (isEntityName(name)) {\n          const meaning = 788968 | 1920 | 111551;\n          let symbol = resolveEntityName(\n            name,\n            meaning,\n            ignoreErrors,\n            /*dontResolveAlias*/\n            true,\n            getHostSignatureFromJSDoc(name)\n          );\n          if (!symbol && isIdentifier(name) && container) {\n            symbol = getMergedSymbol(getSymbol2(getExportsOfSymbol(container), name.escapedText, meaning));\n          }\n          if (symbol) {\n            return symbol;\n          }\n        }\n        const left = isIdentifier(name) ? container : resolveJSDocMemberName(name.left, ignoreErrors, container);\n        const right = isIdentifier(name) ? name.escapedText : name.right.escapedText;\n        if (left) {\n          const proto = left.flags & 111551 && getPropertyOfType(getTypeOfSymbol(left), \"prototype\");\n          const t = proto ? getTypeOfSymbol(proto) : getDeclaredTypeOfSymbol(left);\n          return getPropertyOfType(t, right);\n        }\n      }\n      function getSymbolAtLocation(node, ignoreErrors) {\n        if (isSourceFile(node)) {\n          return isExternalModule(node) ? getMergedSymbol(node.symbol) : void 0;\n        }\n        const { parent: parent2 } = node;\n        const grandParent = parent2.parent;\n        if (node.flags & 33554432) {\n          return void 0;\n        }\n        if (isDeclarationNameOrImportPropertyName(node)) {\n          const parentSymbol = getSymbolOfDeclaration(parent2);\n          return isImportOrExportSpecifier(node.parent) && node.parent.propertyName === node ? getImmediateAliasedSymbol(parentSymbol) : parentSymbol;\n        } else if (isLiteralComputedPropertyDeclarationName(node)) {\n          return getSymbolOfDeclaration(parent2.parent);\n        }\n        if (node.kind === 79) {\n          if (isInRightSideOfImportOrExportAssignment(node)) {\n            return getSymbolOfNameOrPropertyAccessExpression(node);\n          } else if (parent2.kind === 205 && grandParent.kind === 203 && node === parent2.propertyName) {\n            const typeOfPattern = getTypeOfNode(grandParent);\n            const propertyDeclaration = getPropertyOfType(typeOfPattern, node.escapedText);\n            if (propertyDeclaration) {\n              return propertyDeclaration;\n            }\n          } else if (isMetaProperty(parent2) && parent2.name === node) {\n            if (parent2.keywordToken === 103 && idText(node) === \"target\") {\n              return checkNewTargetMetaProperty(parent2).symbol;\n            }\n            if (parent2.keywordToken === 100 && idText(node) === \"meta\") {\n              return getGlobalImportMetaExpressionType().members.get(\"meta\");\n            }\n            return void 0;\n          }\n        }\n        switch (node.kind) {\n          case 79:\n          case 80:\n          case 208:\n          case 163:\n            if (!isThisInTypeQuery(node)) {\n              return getSymbolOfNameOrPropertyAccessExpression(node);\n            }\n          case 108:\n            const container = getThisContainer(\n              node,\n              /*includeArrowFunctions*/\n              false,\n              /*includeClassComputedPropertyName*/\n              false\n            );\n            if (isFunctionLike(container)) {\n              const sig = getSignatureFromDeclaration(container);\n              if (sig.thisParameter) {\n                return sig.thisParameter;\n              }\n            }\n            if (isInExpressionContext(node)) {\n              return checkExpression(node).symbol;\n            }\n          case 194:\n            return getTypeFromThisTypeNode(node).symbol;\n          case 106:\n            return checkExpression(node).symbol;\n          case 135:\n            const constructorDeclaration = node.parent;\n            if (constructorDeclaration && constructorDeclaration.kind === 173) {\n              return constructorDeclaration.parent.symbol;\n            }\n            return void 0;\n          case 10:\n          case 14:\n            if (isExternalModuleImportEqualsDeclaration(node.parent.parent) && getExternalModuleImportEqualsDeclarationExpression(node.parent.parent) === node || (node.parent.kind === 269 || node.parent.kind === 275) && node.parent.moduleSpecifier === node || (isInJSFile(node) && getEmitModuleResolutionKind(compilerOptions) !== 100 && isRequireCall(\n              node.parent,\n              /*checkArgumentIsStringLiteralLike*/\n              false\n            ) || isImportCall(node.parent)) || isLiteralTypeNode(node.parent) && isLiteralImportTypeNode(node.parent.parent) && node.parent.parent.argument === node.parent) {\n              return resolveExternalModuleName(node, node, ignoreErrors);\n            }\n            if (isCallExpression(parent2) && isBindableObjectDefinePropertyCall(parent2) && parent2.arguments[1] === node) {\n              return getSymbolOfDeclaration(parent2);\n            }\n          case 8:\n            const objectType = isElementAccessExpression(parent2) ? parent2.argumentExpression === node ? getTypeOfExpression(parent2.expression) : void 0 : isLiteralTypeNode(parent2) && isIndexedAccessTypeNode(grandParent) ? getTypeFromTypeNode(grandParent.objectType) : void 0;\n            return objectType && getPropertyOfType(objectType, escapeLeadingUnderscores(node.text));\n          case 88:\n          case 98:\n          case 38:\n          case 84:\n            return getSymbolOfNode(node.parent);\n          case 202:\n            return isLiteralImportTypeNode(node) ? getSymbolAtLocation(node.argument.literal, ignoreErrors) : void 0;\n          case 93:\n            return isExportAssignment(node.parent) ? Debug2.checkDefined(node.parent.symbol) : void 0;\n          case 100:\n          case 103:\n            return isMetaProperty(node.parent) ? checkMetaPropertyKeyword(node.parent).symbol : void 0;\n          case 233:\n            return checkExpression(node).symbol;\n          default:\n            return void 0;\n        }\n      }\n      function getIndexInfosAtLocation(node) {\n        if (isIdentifier(node) && isPropertyAccessExpression(node.parent) && node.parent.name === node) {\n          const keyType = getLiteralTypeFromPropertyName(node);\n          const objectType = getTypeOfExpression(node.parent.expression);\n          const objectTypes = objectType.flags & 1048576 ? objectType.types : [objectType];\n          return flatMap(objectTypes, (t) => filter(getIndexInfosOfType(t), (info) => isApplicableIndexType(keyType, info.keyType)));\n        }\n        return void 0;\n      }\n      function getShorthandAssignmentValueSymbol(location) {\n        if (location && location.kind === 300) {\n          return resolveEntityName(\n            location.name,\n            111551 | 2097152\n            /* Alias */\n          );\n        }\n        return void 0;\n      }\n      function getExportSpecifierLocalTargetSymbol(node) {\n        if (isExportSpecifier(node)) {\n          return node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node) : resolveEntityName(\n            node.propertyName || node.name,\n            111551 | 788968 | 1920 | 2097152\n            /* Alias */\n          );\n        } else {\n          return resolveEntityName(\n            node,\n            111551 | 788968 | 1920 | 2097152\n            /* Alias */\n          );\n        }\n      }\n      function getTypeOfNode(node) {\n        if (isSourceFile(node) && !isExternalModule(node)) {\n          return errorType;\n        }\n        if (node.flags & 33554432) {\n          return errorType;\n        }\n        const classDecl = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node);\n        const classType = classDecl && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(classDecl.class));\n        if (isPartOfTypeNode(node)) {\n          const typeFromTypeNode = getTypeFromTypeNode(node);\n          return classType ? getTypeWithThisArgument(typeFromTypeNode, classType.thisType) : typeFromTypeNode;\n        }\n        if (isExpressionNode(node)) {\n          return getRegularTypeOfExpression(node);\n        }\n        if (classType && !classDecl.isImplements) {\n          const baseType = firstOrUndefined(getBaseTypes(classType));\n          return baseType ? getTypeWithThisArgument(baseType, classType.thisType) : errorType;\n        }\n        if (isTypeDeclaration(node)) {\n          const symbol = getSymbolOfDeclaration(node);\n          return getDeclaredTypeOfSymbol(symbol);\n        }\n        if (isTypeDeclarationName(node)) {\n          const symbol = getSymbolAtLocation(node);\n          return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType;\n        }\n        if (isDeclaration(node)) {\n          const symbol = getSymbolOfDeclaration(node);\n          return symbol ? getTypeOfSymbol(symbol) : errorType;\n        }\n        if (isDeclarationNameOrImportPropertyName(node)) {\n          const symbol = getSymbolAtLocation(node);\n          if (symbol) {\n            return getTypeOfSymbol(symbol);\n          }\n          return errorType;\n        }\n        if (isBindingPattern(node)) {\n          return getTypeForVariableLikeDeclaration(\n            node.parent,\n            /*includeOptionality*/\n            true,\n            0\n            /* Normal */\n          ) || errorType;\n        }\n        if (isInRightSideOfImportOrExportAssignment(node)) {\n          const symbol = getSymbolAtLocation(node);\n          if (symbol) {\n            const declaredType = getDeclaredTypeOfSymbol(symbol);\n            return !isErrorType(declaredType) ? declaredType : getTypeOfSymbol(symbol);\n          }\n        }\n        if (isMetaProperty(node.parent) && node.parent.keywordToken === node.kind) {\n          return checkMetaPropertyKeyword(node.parent);\n        }\n        return errorType;\n      }\n      function getTypeOfAssignmentPattern(expr) {\n        Debug2.assert(\n          expr.kind === 207 || expr.kind === 206\n          /* ArrayLiteralExpression */\n        );\n        if (expr.parent.kind === 247) {\n          const iteratedType = checkRightHandSideOfForOf(expr.parent);\n          return checkDestructuringAssignment(expr, iteratedType || errorType);\n        }\n        if (expr.parent.kind === 223) {\n          const iteratedType = getTypeOfExpression(expr.parent.right);\n          return checkDestructuringAssignment(expr, iteratedType || errorType);\n        }\n        if (expr.parent.kind === 299) {\n          const node2 = cast(expr.parent.parent, isObjectLiteralExpression);\n          const typeOfParentObjectLiteral = getTypeOfAssignmentPattern(node2) || errorType;\n          const propertyIndex = indexOfNode(node2.properties, expr.parent);\n          return checkObjectLiteralDestructuringPropertyAssignment(node2, typeOfParentObjectLiteral, propertyIndex);\n        }\n        const node = cast(expr.parent, isArrayLiteralExpression);\n        const typeOfArrayLiteral = getTypeOfAssignmentPattern(node) || errorType;\n        const elementType = checkIteratedTypeOrElementType(65, typeOfArrayLiteral, undefinedType, expr.parent) || errorType;\n        return checkArrayLiteralDestructuringElementAssignment(node, typeOfArrayLiteral, node.elements.indexOf(expr), elementType);\n      }\n      function getPropertySymbolOfDestructuringAssignment(location) {\n        const typeOfObjectLiteral = getTypeOfAssignmentPattern(cast(location.parent.parent, isAssignmentPattern));\n        return typeOfObjectLiteral && getPropertyOfType(typeOfObjectLiteral, location.escapedText);\n      }\n      function getRegularTypeOfExpression(expr) {\n        if (isRightSideOfQualifiedNameOrPropertyAccess(expr)) {\n          expr = expr.parent;\n        }\n        return getRegularTypeOfLiteralType(getTypeOfExpression(expr));\n      }\n      function getParentTypeOfClassElement(node) {\n        const classSymbol = getSymbolOfNode(node.parent);\n        return isStatic(node) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol);\n      }\n      function getClassElementPropertyKeyType(element) {\n        const name = element.name;\n        switch (name.kind) {\n          case 79:\n            return getStringLiteralType(idText(name));\n          case 8:\n          case 10:\n            return getStringLiteralType(name.text);\n          case 164:\n            const nameType = checkComputedPropertyName(name);\n            return isTypeAssignableToKind(\n              nameType,\n              12288\n              /* ESSymbolLike */\n            ) ? nameType : stringType;\n          default:\n            return Debug2.fail(\"Unsupported property name.\");\n        }\n      }\n      function getAugmentedPropertiesOfType(type) {\n        type = getApparentType(type);\n        const propsByName = createSymbolTable(getPropertiesOfType(type));\n        const functionType = getSignaturesOfType(\n          type,\n          0\n          /* Call */\n        ).length ? globalCallableFunctionType : getSignaturesOfType(\n          type,\n          1\n          /* Construct */\n        ).length ? globalNewableFunctionType : void 0;\n        if (functionType) {\n          forEach(getPropertiesOfType(functionType), (p) => {\n            if (!propsByName.has(p.escapedName)) {\n              propsByName.set(p.escapedName, p);\n            }\n          });\n        }\n        return getNamedMembers(propsByName);\n      }\n      function typeHasCallOrConstructSignatures(type) {\n        return getSignaturesOfType(\n          type,\n          0\n          /* Call */\n        ).length !== 0 || getSignaturesOfType(\n          type,\n          1\n          /* Construct */\n        ).length !== 0;\n      }\n      function getRootSymbols(symbol) {\n        const roots = getImmediateRootSymbols(symbol);\n        return roots ? flatMap(roots, getRootSymbols) : [symbol];\n      }\n      function getImmediateRootSymbols(symbol) {\n        if (getCheckFlags(symbol) & 6) {\n          return mapDefined(getSymbolLinks(symbol).containingType.types, (type) => getPropertyOfType(type, symbol.escapedName));\n        } else if (symbol.flags & 33554432) {\n          const { links: { leftSpread, rightSpread, syntheticOrigin } } = symbol;\n          return leftSpread ? [leftSpread, rightSpread] : syntheticOrigin ? [syntheticOrigin] : singleElementArray(tryGetTarget(symbol));\n        }\n        return void 0;\n      }\n      function tryGetTarget(symbol) {\n        let target;\n        let next = symbol;\n        while (next = getSymbolLinks(next).target) {\n          target = next;\n        }\n        return target;\n      }\n      function isArgumentsLocalBinding(nodeIn) {\n        if (isGeneratedIdentifier(nodeIn))\n          return false;\n        const node = getParseTreeNode(nodeIn, isIdentifier);\n        if (!node)\n          return false;\n        const parent2 = node.parent;\n        if (!parent2)\n          return false;\n        const isPropertyName2 = (isPropertyAccessExpression(parent2) || isPropertyAssignment(parent2)) && parent2.name === node;\n        return !isPropertyName2 && getReferencedValueSymbol(node) === argumentsSymbol;\n      }\n      function moduleExportsSomeValue(moduleReferenceExpression) {\n        let moduleSymbol = resolveExternalModuleName(moduleReferenceExpression.parent, moduleReferenceExpression);\n        if (!moduleSymbol || isShorthandAmbientModuleSymbol(moduleSymbol)) {\n          return true;\n        }\n        const hasExportAssignment = hasExportAssignmentSymbol(moduleSymbol);\n        moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);\n        const symbolLinks2 = getSymbolLinks(moduleSymbol);\n        if (symbolLinks2.exportsSomeValue === void 0) {\n          symbolLinks2.exportsSomeValue = hasExportAssignment ? !!(moduleSymbol.flags & 111551) : forEachEntry(getExportsOfModule(moduleSymbol), isValue);\n        }\n        return symbolLinks2.exportsSomeValue;\n        function isValue(s) {\n          s = resolveSymbol(s);\n          return s && !!(getAllSymbolFlags(s) & 111551);\n        }\n      }\n      function isNameOfModuleOrEnumDeclaration(node) {\n        return isModuleOrEnumDeclaration(node.parent) && node === node.parent.name;\n      }\n      function getReferencedExportContainer(nodeIn, prefixLocals) {\n        var _a22;\n        const node = getParseTreeNode(nodeIn, isIdentifier);\n        if (node) {\n          let symbol = getReferencedValueSymbol(\n            node,\n            /*startInDeclarationContainer*/\n            isNameOfModuleOrEnumDeclaration(node)\n          );\n          if (symbol) {\n            if (symbol.flags & 1048576) {\n              const exportSymbol = getMergedSymbol(symbol.exportSymbol);\n              if (!prefixLocals && exportSymbol.flags & 944 && !(exportSymbol.flags & 3)) {\n                return void 0;\n              }\n              symbol = exportSymbol;\n            }\n            const parentSymbol = getParentOfSymbol(symbol);\n            if (parentSymbol) {\n              if (parentSymbol.flags & 512 && ((_a22 = parentSymbol.valueDeclaration) == null ? void 0 : _a22.kind) === 308) {\n                const symbolFile = parentSymbol.valueDeclaration;\n                const referenceFile = getSourceFileOfNode(node);\n                const symbolIsUmdExport = symbolFile !== referenceFile;\n                return symbolIsUmdExport ? void 0 : symbolFile;\n              }\n              return findAncestor(node.parent, (n) => isModuleOrEnumDeclaration(n) && getSymbolOfDeclaration(n) === parentSymbol);\n            }\n          }\n        }\n      }\n      function getReferencedImportDeclaration(nodeIn) {\n        const specifier = getIdentifierGeneratedImportReference(nodeIn);\n        if (specifier) {\n          return specifier;\n        }\n        const node = getParseTreeNode(nodeIn, isIdentifier);\n        if (node) {\n          const symbol = getReferencedValueOrAliasSymbol(node);\n          if (isNonLocalAlias(\n            symbol,\n            /*excludes*/\n            111551\n            /* Value */\n          ) && !getTypeOnlyAliasDeclaration(\n            symbol,\n            111551\n            /* Value */\n          )) {\n            return getDeclarationOfAliasSymbol(symbol);\n          }\n        }\n        return void 0;\n      }\n      function isSymbolOfDestructuredElementOfCatchBinding(symbol) {\n        return symbol.valueDeclaration && isBindingElement(symbol.valueDeclaration) && walkUpBindingElementsAndPatterns(symbol.valueDeclaration).parent.kind === 295;\n      }\n      function isSymbolOfDeclarationWithCollidingName(symbol) {\n        if (symbol.flags & 418 && symbol.valueDeclaration && !isSourceFile(symbol.valueDeclaration)) {\n          const links = getSymbolLinks(symbol);\n          if (links.isDeclarationWithCollidingName === void 0) {\n            const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration);\n            if (isStatementWithLocals(container) || isSymbolOfDestructuredElementOfCatchBinding(symbol)) {\n              const nodeLinks2 = getNodeLinks(symbol.valueDeclaration);\n              if (resolveName(\n                container.parent,\n                symbol.escapedName,\n                111551,\n                /*nameNotFoundMessage*/\n                void 0,\n                /*nameArg*/\n                void 0,\n                /*isUse*/\n                false\n              )) {\n                links.isDeclarationWithCollidingName = true;\n              } else if (nodeLinks2.flags & 16384) {\n                const isDeclaredInLoop = nodeLinks2.flags & 32768;\n                const inLoopInitializer = isIterationStatement(\n                  container,\n                  /*lookInLabeledStatements*/\n                  false\n                );\n                const inLoopBodyBlock = container.kind === 238 && isIterationStatement(\n                  container.parent,\n                  /*lookInLabeledStatements*/\n                  false\n                );\n                links.isDeclarationWithCollidingName = !isBlockScopedContainerTopLevel(container) && (!isDeclaredInLoop || !inLoopInitializer && !inLoopBodyBlock);\n              } else {\n                links.isDeclarationWithCollidingName = false;\n              }\n            }\n          }\n          return links.isDeclarationWithCollidingName;\n        }\n        return false;\n      }\n      function getReferencedDeclarationWithCollidingName(nodeIn) {\n        if (!isGeneratedIdentifier(nodeIn)) {\n          const node = getParseTreeNode(nodeIn, isIdentifier);\n          if (node) {\n            const symbol = getReferencedValueSymbol(node);\n            if (symbol && isSymbolOfDeclarationWithCollidingName(symbol)) {\n              return symbol.valueDeclaration;\n            }\n          }\n        }\n        return void 0;\n      }\n      function isDeclarationWithCollidingName(nodeIn) {\n        const node = getParseTreeNode(nodeIn, isDeclaration);\n        if (node) {\n          const symbol = getSymbolOfDeclaration(node);\n          if (symbol) {\n            return isSymbolOfDeclarationWithCollidingName(symbol);\n          }\n        }\n        return false;\n      }\n      function isValueAliasDeclaration(node) {\n        Debug2.assert(!compilerOptions.verbatimModuleSyntax);\n        switch (node.kind) {\n          case 268:\n            return isAliasResolvedToValue(getSymbolOfDeclaration(node));\n          case 270:\n          case 271:\n          case 273:\n          case 278:\n            const symbol = getSymbolOfDeclaration(node);\n            return !!symbol && isAliasResolvedToValue(symbol) && !getTypeOnlyAliasDeclaration(\n              symbol,\n              111551\n              /* Value */\n            );\n          case 275:\n            const exportClause = node.exportClause;\n            return !!exportClause && (isNamespaceExport(exportClause) || some(exportClause.elements, isValueAliasDeclaration));\n          case 274:\n            return node.expression && node.expression.kind === 79 ? isAliasResolvedToValue(getSymbolOfDeclaration(node)) : true;\n        }\n        return false;\n      }\n      function isTopLevelValueImportEqualsWithEntityName(nodeIn) {\n        const node = getParseTreeNode(nodeIn, isImportEqualsDeclaration);\n        if (node === void 0 || node.parent.kind !== 308 || !isInternalModuleImportEqualsDeclaration(node)) {\n          return false;\n        }\n        const isValue = isAliasResolvedToValue(getSymbolOfDeclaration(node));\n        return isValue && node.moduleReference && !nodeIsMissing(node.moduleReference);\n      }\n      function isAliasResolvedToValue(symbol) {\n        var _a22;\n        if (!symbol) {\n          return false;\n        }\n        const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol));\n        if (target === unknownSymbol) {\n          return true;\n        }\n        return !!(((_a22 = getAllSymbolFlags(target)) != null ? _a22 : -1) & 111551) && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target));\n      }\n      function isConstEnumOrConstEnumOnlyModule(s) {\n        return isConstEnumSymbol(s) || !!s.constEnumOnlyModule;\n      }\n      function isReferencedAliasDeclaration(node, checkChildren) {\n        Debug2.assert(!compilerOptions.verbatimModuleSyntax);\n        if (isAliasSymbolDeclaration2(node)) {\n          const symbol = getSymbolOfDeclaration(node);\n          const links = symbol && getSymbolLinks(symbol);\n          if (links == null ? void 0 : links.referenced) {\n            return true;\n          }\n          const target = getSymbolLinks(symbol).aliasTarget;\n          if (target && getEffectiveModifierFlags(node) & 1 && getAllSymbolFlags(target) & 111551 && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target))) {\n            return true;\n          }\n        }\n        if (checkChildren) {\n          return !!forEachChild(node, (node2) => isReferencedAliasDeclaration(node2, checkChildren));\n        }\n        return false;\n      }\n      function isImplementationOfOverload(node) {\n        if (nodeIsPresent(node.body)) {\n          if (isGetAccessor(node) || isSetAccessor(node))\n            return false;\n          const symbol = getSymbolOfDeclaration(node);\n          const signaturesOfSymbol = getSignaturesOfSymbol(symbol);\n          return signaturesOfSymbol.length > 1 || // If there is single signature for the symbol, it is overload if that signature isn't coming from the node\n          // e.g.: function foo(a: string): string;\n          //       function foo(a: any) { // This is implementation of the overloads\n          //           return a;\n          //       }\n          signaturesOfSymbol.length === 1 && signaturesOfSymbol[0].declaration !== node;\n        }\n        return false;\n      }\n      function isRequiredInitializedParameter(parameter) {\n        return !!strictNullChecks && !isOptionalParameter(parameter) && !isJSDocParameterTag(parameter) && !!parameter.initializer && !hasSyntacticModifier(\n          parameter,\n          16476\n          /* ParameterPropertyModifier */\n        );\n      }\n      function isOptionalUninitializedParameterProperty(parameter) {\n        return strictNullChecks && isOptionalParameter(parameter) && !parameter.initializer && hasSyntacticModifier(\n          parameter,\n          16476\n          /* ParameterPropertyModifier */\n        );\n      }\n      function isExpandoFunctionDeclaration(node) {\n        const declaration = getParseTreeNode(node, isFunctionDeclaration);\n        if (!declaration) {\n          return false;\n        }\n        const symbol = getSymbolOfDeclaration(declaration);\n        if (!symbol || !(symbol.flags & 16)) {\n          return false;\n        }\n        return !!forEachEntry(getExportsOfSymbol(symbol), (p) => p.flags & 111551 && p.valueDeclaration && isPropertyAccessExpression(p.valueDeclaration));\n      }\n      function getPropertiesOfContainerFunction(node) {\n        const declaration = getParseTreeNode(node, isFunctionDeclaration);\n        if (!declaration) {\n          return emptyArray;\n        }\n        const symbol = getSymbolOfDeclaration(declaration);\n        return symbol && getPropertiesOfType(getTypeOfSymbol(symbol)) || emptyArray;\n      }\n      function getNodeCheckFlags(node) {\n        var _a22;\n        const nodeId = node.id || 0;\n        if (nodeId < 0 || nodeId >= nodeLinks.length)\n          return 0;\n        return ((_a22 = nodeLinks[nodeId]) == null ? void 0 : _a22.flags) || 0;\n      }\n      function getEnumMemberValue(node) {\n        computeEnumMemberValues(node.parent);\n        return getNodeLinks(node).enumMemberValue;\n      }\n      function canHaveConstantValue(node) {\n        switch (node.kind) {\n          case 302:\n          case 208:\n          case 209:\n            return true;\n        }\n        return false;\n      }\n      function getConstantValue2(node) {\n        if (node.kind === 302) {\n          return getEnumMemberValue(node);\n        }\n        const symbol = getNodeLinks(node).resolvedSymbol;\n        if (symbol && symbol.flags & 8) {\n          const member = symbol.valueDeclaration;\n          if (isEnumConst(member.parent)) {\n            return getEnumMemberValue(member);\n          }\n        }\n        return void 0;\n      }\n      function isFunctionType(type) {\n        return !!(type.flags & 524288) && getSignaturesOfType(\n          type,\n          0\n          /* Call */\n        ).length > 0;\n      }\n      function getTypeReferenceSerializationKind(typeNameIn, location) {\n        var _a22;\n        const typeName = getParseTreeNode(typeNameIn, isEntityName);\n        if (!typeName)\n          return 0;\n        if (location) {\n          location = getParseTreeNode(location);\n          if (!location)\n            return 0;\n        }\n        let isTypeOnly = false;\n        if (isQualifiedName(typeName)) {\n          const rootValueSymbol = resolveEntityName(\n            getFirstIdentifier(typeName),\n            111551,\n            /*ignoreErrors*/\n            true,\n            /*dontResolveAlias*/\n            true,\n            location\n          );\n          isTypeOnly = !!((_a22 = rootValueSymbol == null ? void 0 : rootValueSymbol.declarations) == null ? void 0 : _a22.every(isTypeOnlyImportOrExportDeclaration));\n        }\n        const valueSymbol = resolveEntityName(\n          typeName,\n          111551,\n          /*ignoreErrors*/\n          true,\n          /*dontResolveAlias*/\n          true,\n          location\n        );\n        const resolvedSymbol = valueSymbol && valueSymbol.flags & 2097152 ? resolveAlias(valueSymbol) : valueSymbol;\n        isTypeOnly || (isTypeOnly = !!(valueSymbol && getTypeOnlyAliasDeclaration(\n          valueSymbol,\n          111551\n          /* Value */\n        )));\n        const typeSymbol = resolveEntityName(\n          typeName,\n          788968,\n          /*ignoreErrors*/\n          true,\n          /*dontResolveAlias*/\n          false,\n          location\n        );\n        if (resolvedSymbol && resolvedSymbol === typeSymbol) {\n          const globalPromiseSymbol = getGlobalPromiseConstructorSymbol(\n            /*reportErrors*/\n            false\n          );\n          if (globalPromiseSymbol && resolvedSymbol === globalPromiseSymbol) {\n            return 9;\n          }\n          const constructorType = getTypeOfSymbol(resolvedSymbol);\n          if (constructorType && isConstructorType(constructorType)) {\n            return isTypeOnly ? 10 : 1;\n          }\n        }\n        if (!typeSymbol) {\n          return isTypeOnly ? 11 : 0;\n        }\n        const type = getDeclaredTypeOfSymbol(typeSymbol);\n        if (isErrorType(type)) {\n          return isTypeOnly ? 11 : 0;\n        } else if (type.flags & 3) {\n          return 11;\n        } else if (isTypeAssignableToKind(\n          type,\n          16384 | 98304 | 131072\n          /* Never */\n        )) {\n          return 2;\n        } else if (isTypeAssignableToKind(\n          type,\n          528\n          /* BooleanLike */\n        )) {\n          return 6;\n        } else if (isTypeAssignableToKind(\n          type,\n          296\n          /* NumberLike */\n        )) {\n          return 3;\n        } else if (isTypeAssignableToKind(\n          type,\n          2112\n          /* BigIntLike */\n        )) {\n          return 4;\n        } else if (isTypeAssignableToKind(\n          type,\n          402653316\n          /* StringLike */\n        )) {\n          return 5;\n        } else if (isTupleType(type)) {\n          return 7;\n        } else if (isTypeAssignableToKind(\n          type,\n          12288\n          /* ESSymbolLike */\n        )) {\n          return 8;\n        } else if (isFunctionType(type)) {\n          return 10;\n        } else if (isArrayType(type)) {\n          return 7;\n        } else {\n          return 11;\n        }\n      }\n      function createTypeOfDeclaration(declarationIn, enclosingDeclaration, flags, tracker, addUndefined) {\n        const declaration = getParseTreeNode(declarationIn, isVariableLikeOrAccessor);\n        if (!declaration) {\n          return factory.createToken(\n            131\n            /* AnyKeyword */\n          );\n        }\n        const symbol = getSymbolOfDeclaration(declaration);\n        let type = symbol && !(symbol.flags & (2048 | 131072)) ? getWidenedLiteralType(getTypeOfSymbol(symbol)) : errorType;\n        if (type.flags & 8192 && type.symbol === symbol) {\n          flags |= 1048576;\n        }\n        if (addUndefined) {\n          type = getOptionalType(type);\n        }\n        return nodeBuilder.typeToTypeNode(type, enclosingDeclaration, flags | 1024, tracker);\n      }\n      function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn, enclosingDeclaration, flags, tracker) {\n        const signatureDeclaration = getParseTreeNode(signatureDeclarationIn, isFunctionLike);\n        if (!signatureDeclaration) {\n          return factory.createToken(\n            131\n            /* AnyKeyword */\n          );\n        }\n        const signature = getSignatureFromDeclaration(signatureDeclaration);\n        return nodeBuilder.typeToTypeNode(getReturnTypeOfSignature(signature), enclosingDeclaration, flags | 1024, tracker);\n      }\n      function createTypeOfExpression(exprIn, enclosingDeclaration, flags, tracker) {\n        const expr = getParseTreeNode(exprIn, isExpression);\n        if (!expr) {\n          return factory.createToken(\n            131\n            /* AnyKeyword */\n          );\n        }\n        const type = getWidenedType(getRegularTypeOfExpression(expr));\n        return nodeBuilder.typeToTypeNode(type, enclosingDeclaration, flags | 1024, tracker);\n      }\n      function hasGlobalName(name) {\n        return globals.has(escapeLeadingUnderscores(name));\n      }\n      function getReferencedValueSymbol(reference, startInDeclarationContainer) {\n        const resolvedSymbol = getNodeLinks(reference).resolvedSymbol;\n        if (resolvedSymbol) {\n          return resolvedSymbol;\n        }\n        let location = reference;\n        if (startInDeclarationContainer) {\n          const parent2 = reference.parent;\n          if (isDeclaration(parent2) && reference === parent2.name) {\n            location = getDeclarationContainer(parent2);\n          }\n        }\n        return resolveName(\n          location,\n          reference.escapedText,\n          111551 | 1048576 | 2097152,\n          /*nodeNotFoundMessage*/\n          void 0,\n          /*nameArg*/\n          void 0,\n          /*isUse*/\n          true\n        );\n      }\n      function getReferencedValueOrAliasSymbol(reference) {\n        const resolvedSymbol = getNodeLinks(reference).resolvedSymbol;\n        if (resolvedSymbol && resolvedSymbol !== unknownSymbol) {\n          return resolvedSymbol;\n        }\n        return resolveName(\n          reference,\n          reference.escapedText,\n          111551 | 1048576 | 2097152,\n          /*nodeNotFoundMessage*/\n          void 0,\n          /*nameArg*/\n          void 0,\n          /*isUse*/\n          true,\n          /*excludeGlobals*/\n          void 0,\n          /*getSpellingSuggestions*/\n          void 0\n        );\n      }\n      function getReferencedValueDeclaration(referenceIn) {\n        if (!isGeneratedIdentifier(referenceIn)) {\n          const reference = getParseTreeNode(referenceIn, isIdentifier);\n          if (reference) {\n            const symbol = getReferencedValueSymbol(reference);\n            if (symbol) {\n              return getExportSymbolOfValueSymbolIfExported(symbol).valueDeclaration;\n            }\n          }\n        }\n        return void 0;\n      }\n      function isLiteralConstDeclaration(node) {\n        if (isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConst(node)) {\n          return isFreshLiteralType(getTypeOfSymbol(getSymbolOfDeclaration(node)));\n        }\n        return false;\n      }\n      function literalTypeToNode(type, enclosing, tracker) {\n        const enumResult = type.flags & 1056 ? nodeBuilder.symbolToExpression(\n          type.symbol,\n          111551,\n          enclosing,\n          /*flags*/\n          void 0,\n          tracker\n        ) : type === trueType ? factory.createTrue() : type === falseType && factory.createFalse();\n        if (enumResult)\n          return enumResult;\n        const literalValue = type.value;\n        return typeof literalValue === \"object\" ? factory.createBigIntLiteral(literalValue) : typeof literalValue === \"number\" ? factory.createNumericLiteral(literalValue) : factory.createStringLiteral(literalValue);\n      }\n      function createLiteralConstValue(node, tracker) {\n        const type = getTypeOfSymbol(getSymbolOfDeclaration(node));\n        return literalTypeToNode(type, node, tracker);\n      }\n      function getJsxFactoryEntity(location) {\n        return location ? (getJsxNamespace(location), getSourceFileOfNode(location).localJsxFactory || _jsxFactoryEntity) : _jsxFactoryEntity;\n      }\n      function getJsxFragmentFactoryEntity(location) {\n        if (location) {\n          const file = getSourceFileOfNode(location);\n          if (file) {\n            if (file.localJsxFragmentFactory) {\n              return file.localJsxFragmentFactory;\n            }\n            const jsxFragPragmas = file.pragmas.get(\"jsxfrag\");\n            const jsxFragPragma = isArray(jsxFragPragmas) ? jsxFragPragmas[0] : jsxFragPragmas;\n            if (jsxFragPragma) {\n              file.localJsxFragmentFactory = parseIsolatedEntityName(jsxFragPragma.arguments.factory, languageVersion);\n              return file.localJsxFragmentFactory;\n            }\n          }\n        }\n        if (compilerOptions.jsxFragmentFactory) {\n          return parseIsolatedEntityName(compilerOptions.jsxFragmentFactory, languageVersion);\n        }\n      }\n      function createResolver() {\n        const resolvedTypeReferenceDirectives = host.getResolvedTypeReferenceDirectives();\n        let fileToDirective;\n        if (resolvedTypeReferenceDirectives) {\n          fileToDirective = /* @__PURE__ */ new Map();\n          resolvedTypeReferenceDirectives.forEach(({ resolvedTypeReferenceDirective }, key, mode) => {\n            if (!(resolvedTypeReferenceDirective == null ? void 0 : resolvedTypeReferenceDirective.resolvedFileName)) {\n              return;\n            }\n            const file = host.getSourceFile(resolvedTypeReferenceDirective.resolvedFileName);\n            if (file) {\n              addReferencedFilesToTypeDirective(file, key, mode);\n            }\n          });\n        }\n        return {\n          getReferencedExportContainer,\n          getReferencedImportDeclaration,\n          getReferencedDeclarationWithCollidingName,\n          isDeclarationWithCollidingName,\n          isValueAliasDeclaration: (nodeIn) => {\n            const node = getParseTreeNode(nodeIn);\n            return node ? isValueAliasDeclaration(node) : true;\n          },\n          hasGlobalName,\n          isReferencedAliasDeclaration: (nodeIn, checkChildren) => {\n            const node = getParseTreeNode(nodeIn);\n            return node ? isReferencedAliasDeclaration(node, checkChildren) : true;\n          },\n          getNodeCheckFlags: (nodeIn) => {\n            const node = getParseTreeNode(nodeIn);\n            return node ? getNodeCheckFlags(node) : 0;\n          },\n          isTopLevelValueImportEqualsWithEntityName,\n          isDeclarationVisible,\n          isImplementationOfOverload,\n          isRequiredInitializedParameter,\n          isOptionalUninitializedParameterProperty,\n          isExpandoFunctionDeclaration,\n          getPropertiesOfContainerFunction,\n          createTypeOfDeclaration,\n          createReturnTypeOfSignatureDeclaration,\n          createTypeOfExpression,\n          createLiteralConstValue,\n          isSymbolAccessible,\n          isEntityNameVisible,\n          getConstantValue: (nodeIn) => {\n            const node = getParseTreeNode(nodeIn, canHaveConstantValue);\n            return node ? getConstantValue2(node) : void 0;\n          },\n          collectLinkedAliases,\n          getReferencedValueDeclaration,\n          getTypeReferenceSerializationKind,\n          isOptionalParameter,\n          moduleExportsSomeValue,\n          isArgumentsLocalBinding,\n          getExternalModuleFileFromDeclaration: (nodeIn) => {\n            const node = getParseTreeNode(nodeIn, hasPossibleExternalModuleReference);\n            return node && getExternalModuleFileFromDeclaration(node);\n          },\n          getTypeReferenceDirectivesForEntityName,\n          getTypeReferenceDirectivesForSymbol,\n          isLiteralConstDeclaration,\n          isLateBound: (nodeIn) => {\n            const node = getParseTreeNode(nodeIn, isDeclaration);\n            const symbol = node && getSymbolOfDeclaration(node);\n            return !!(symbol && getCheckFlags(symbol) & 4096);\n          },\n          getJsxFactoryEntity,\n          getJsxFragmentFactoryEntity,\n          getAllAccessorDeclarations(accessor) {\n            accessor = getParseTreeNode(accessor, isGetOrSetAccessorDeclaration);\n            const otherKind = accessor.kind === 175 ? 174 : 175;\n            const otherAccessor = getDeclarationOfKind(getSymbolOfDeclaration(accessor), otherKind);\n            const firstAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? otherAccessor : accessor;\n            const secondAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? accessor : otherAccessor;\n            const setAccessor = accessor.kind === 175 ? accessor : otherAccessor;\n            const getAccessor = accessor.kind === 174 ? accessor : otherAccessor;\n            return {\n              firstAccessor,\n              secondAccessor,\n              setAccessor,\n              getAccessor\n            };\n          },\n          getSymbolOfExternalModuleSpecifier: (moduleName) => resolveExternalModuleNameWorker(\n            moduleName,\n            moduleName,\n            /*moduleNotFoundError*/\n            void 0\n          ),\n          isBindingCapturedByNode: (node, decl) => {\n            const parseNode = getParseTreeNode(node);\n            const parseDecl = getParseTreeNode(decl);\n            return !!parseNode && !!parseDecl && (isVariableDeclaration(parseDecl) || isBindingElement(parseDecl)) && isBindingCapturedByNode(parseNode, parseDecl);\n          },\n          getDeclarationStatementsForSourceFile: (node, flags, tracker, bundled) => {\n            const n = getParseTreeNode(node);\n            Debug2.assert(n && n.kind === 308, \"Non-sourcefile node passed into getDeclarationsForSourceFile\");\n            const sym = getSymbolOfDeclaration(node);\n            if (!sym) {\n              return !node.locals ? [] : nodeBuilder.symbolTableToDeclarationStatements(node.locals, node, flags, tracker, bundled);\n            }\n            return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, tracker, bundled);\n          },\n          isImportRequiredByAugmentation\n        };\n        function isImportRequiredByAugmentation(node) {\n          const file = getSourceFileOfNode(node);\n          if (!file.symbol)\n            return false;\n          const importTarget = getExternalModuleFileFromDeclaration(node);\n          if (!importTarget)\n            return false;\n          if (importTarget === file)\n            return false;\n          const exports = getExportsOfModule(file.symbol);\n          for (const s of arrayFrom(exports.values())) {\n            if (s.mergeId) {\n              const merged = getMergedSymbol(s);\n              if (merged.declarations) {\n                for (const d of merged.declarations) {\n                  const declFile = getSourceFileOfNode(d);\n                  if (declFile === importTarget) {\n                    return true;\n                  }\n                }\n              }\n            }\n          }\n          return false;\n        }\n        function isInHeritageClause(node) {\n          return node.parent && node.parent.kind === 230 && node.parent.parent && node.parent.parent.kind === 294;\n        }\n        function getTypeReferenceDirectivesForEntityName(node) {\n          if (!fileToDirective) {\n            return void 0;\n          }\n          let meaning;\n          if (node.parent.kind === 164) {\n            meaning = 111551 | 1048576;\n          } else {\n            meaning = 788968 | 1920;\n            if (node.kind === 79 && isInTypeQuery(node) || node.kind === 208 && !isInHeritageClause(node)) {\n              meaning = 111551 | 1048576;\n            }\n          }\n          const symbol = resolveEntityName(\n            node,\n            meaning,\n            /*ignoreErrors*/\n            true\n          );\n          return symbol && symbol !== unknownSymbol ? getTypeReferenceDirectivesForSymbol(symbol, meaning) : void 0;\n        }\n        function getTypeReferenceDirectivesForSymbol(symbol, meaning) {\n          if (!fileToDirective || !isSymbolFromTypeDeclarationFile(symbol)) {\n            return void 0;\n          }\n          let typeReferenceDirectives;\n          for (const decl of symbol.declarations) {\n            if (decl.symbol && decl.symbol.flags & meaning) {\n              const file = getSourceFileOfNode(decl);\n              const typeReferenceDirective = fileToDirective.get(file.path);\n              if (typeReferenceDirective) {\n                (typeReferenceDirectives || (typeReferenceDirectives = [])).push(typeReferenceDirective);\n              } else {\n                return void 0;\n              }\n            }\n          }\n          return typeReferenceDirectives;\n        }\n        function isSymbolFromTypeDeclarationFile(symbol) {\n          if (!symbol.declarations) {\n            return false;\n          }\n          let current = symbol;\n          while (true) {\n            const parent2 = getParentOfSymbol(current);\n            if (parent2) {\n              current = parent2;\n            } else {\n              break;\n            }\n          }\n          if (current.valueDeclaration && current.valueDeclaration.kind === 308 && current.flags & 512) {\n            return false;\n          }\n          for (const decl of symbol.declarations) {\n            const file = getSourceFileOfNode(decl);\n            if (fileToDirective.has(file.path)) {\n              return true;\n            }\n          }\n          return false;\n        }\n        function addReferencedFilesToTypeDirective(file, key, mode) {\n          if (fileToDirective.has(file.path))\n            return;\n          fileToDirective.set(file.path, [key, mode]);\n          for (const { fileName, resolutionMode } of file.referencedFiles) {\n            const resolvedFile = resolveTripleslashReference(fileName, file.fileName);\n            const referencedFile = host.getSourceFile(resolvedFile);\n            if (referencedFile) {\n              addReferencedFilesToTypeDirective(referencedFile, key, resolutionMode || file.impliedNodeFormat);\n            }\n          }\n        }\n      }\n      function getExternalModuleFileFromDeclaration(declaration) {\n        const specifier = declaration.kind === 264 ? tryCast(declaration.name, isStringLiteral) : getExternalModuleName(declaration);\n        const moduleSymbol = resolveExternalModuleNameWorker(\n          specifier,\n          specifier,\n          /*moduleNotFoundError*/\n          void 0\n        );\n        if (!moduleSymbol) {\n          return void 0;\n        }\n        return getDeclarationOfKind(\n          moduleSymbol,\n          308\n          /* SourceFile */\n        );\n      }\n      function initializeTypeChecker() {\n        for (const file of host.getSourceFiles()) {\n          bindSourceFile(file, compilerOptions);\n        }\n        amalgamatedDuplicates = /* @__PURE__ */ new Map();\n        let augmentations;\n        for (const file of host.getSourceFiles()) {\n          if (file.redirectInfo) {\n            continue;\n          }\n          if (!isExternalOrCommonJsModule(file)) {\n            const fileGlobalThisSymbol = file.locals.get(\"globalThis\");\n            if (fileGlobalThisSymbol == null ? void 0 : fileGlobalThisSymbol.declarations) {\n              for (const declaration of fileGlobalThisSymbol.declarations) {\n                diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0, \"globalThis\"));\n              }\n            }\n            mergeSymbolTable(globals, file.locals);\n          }\n          if (file.jsGlobalAugmentations) {\n            mergeSymbolTable(globals, file.jsGlobalAugmentations);\n          }\n          if (file.patternAmbientModules && file.patternAmbientModules.length) {\n            patternAmbientModules = concatenate(patternAmbientModules, file.patternAmbientModules);\n          }\n          if (file.moduleAugmentations.length) {\n            (augmentations || (augmentations = [])).push(file.moduleAugmentations);\n          }\n          if (file.symbol && file.symbol.globalExports) {\n            const source = file.symbol.globalExports;\n            source.forEach((sourceSymbol, id) => {\n              if (!globals.has(id)) {\n                globals.set(id, sourceSymbol);\n              }\n            });\n          }\n        }\n        if (augmentations) {\n          for (const list of augmentations) {\n            for (const augmentation of list) {\n              if (!isGlobalScopeAugmentation(augmentation.parent))\n                continue;\n              mergeModuleAugmentation(augmentation);\n            }\n          }\n        }\n        addToSymbolTable(globals, builtinGlobals, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0);\n        getSymbolLinks(undefinedSymbol).type = undefinedWideningType;\n        getSymbolLinks(argumentsSymbol).type = getGlobalType(\n          \"IArguments\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        getSymbolLinks(unknownSymbol).type = errorType;\n        getSymbolLinks(globalThisSymbol).type = createObjectType(16, globalThisSymbol);\n        globalArrayType = getGlobalType(\n          \"Array\",\n          /*arity*/\n          1,\n          /*reportErrors*/\n          true\n        );\n        globalObjectType = getGlobalType(\n          \"Object\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        globalFunctionType = getGlobalType(\n          \"Function\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        globalCallableFunctionType = strictBindCallApply && getGlobalType(\n          \"CallableFunction\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        ) || globalFunctionType;\n        globalNewableFunctionType = strictBindCallApply && getGlobalType(\n          \"NewableFunction\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        ) || globalFunctionType;\n        globalStringType = getGlobalType(\n          \"String\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        globalNumberType = getGlobalType(\n          \"Number\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        globalBooleanType = getGlobalType(\n          \"Boolean\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        globalRegExpType = getGlobalType(\n          \"RegExp\",\n          /*arity*/\n          0,\n          /*reportErrors*/\n          true\n        );\n        anyArrayType = createArrayType(anyType);\n        autoArrayType = createArrayType(autoType);\n        if (autoArrayType === emptyObjectType) {\n          autoArrayType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n        }\n        globalReadonlyArrayType = getGlobalTypeOrUndefined(\n          \"ReadonlyArray\",\n          /*arity*/\n          1\n        ) || globalArrayType;\n        anyReadonlyArrayType = globalReadonlyArrayType ? createTypeFromGenericGlobalType(globalReadonlyArrayType, [anyType]) : anyArrayType;\n        globalThisType = getGlobalTypeOrUndefined(\n          \"ThisType\",\n          /*arity*/\n          1\n        );\n        if (augmentations) {\n          for (const list of augmentations) {\n            for (const augmentation of list) {\n              if (isGlobalScopeAugmentation(augmentation.parent))\n                continue;\n              mergeModuleAugmentation(augmentation);\n            }\n          }\n        }\n        amalgamatedDuplicates.forEach(({ firstFile, secondFile, conflictingSymbols }) => {\n          if (conflictingSymbols.size < 8) {\n            conflictingSymbols.forEach(({ isBlockScoped, firstFileLocations, secondFileLocations }, symbolName2) => {\n              const message = isBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0;\n              for (const node of firstFileLocations) {\n                addDuplicateDeclarationError(node, message, symbolName2, secondFileLocations);\n              }\n              for (const node of secondFileLocations) {\n                addDuplicateDeclarationError(node, message, symbolName2, firstFileLocations);\n              }\n            });\n          } else {\n            const list = arrayFrom(conflictingSymbols.keys()).join(\", \");\n            diagnostics.add(addRelatedInfo(\n              createDiagnosticForNode(firstFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list),\n              createDiagnosticForNode(secondFile, Diagnostics.Conflicts_are_in_this_file)\n            ));\n            diagnostics.add(addRelatedInfo(\n              createDiagnosticForNode(secondFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list),\n              createDiagnosticForNode(firstFile, Diagnostics.Conflicts_are_in_this_file)\n            ));\n          }\n        });\n        amalgamatedDuplicates = void 0;\n      }\n      function checkExternalEmitHelpers(location, helpers) {\n        if ((requestedExternalEmitHelpers & helpers) !== helpers && compilerOptions.importHelpers) {\n          const sourceFile = getSourceFileOfNode(location);\n          if (isEffectiveExternalModule(sourceFile, compilerOptions) && !(location.flags & 16777216)) {\n            const helpersModule = resolveHelpersModule(sourceFile, location);\n            if (helpersModule !== unknownSymbol) {\n              const uncheckedHelpers = helpers & ~requestedExternalEmitHelpers;\n              for (let helper = 1; helper <= 16777216; helper <<= 1) {\n                if (uncheckedHelpers & helper) {\n                  for (const name of getHelperNames(helper)) {\n                    if (requestedExternalEmitHelperNames.has(name))\n                      continue;\n                    requestedExternalEmitHelperNames.add(name);\n                    const symbol = getSymbol2(\n                      helpersModule.exports,\n                      escapeLeadingUnderscores(name),\n                      111551\n                      /* Value */\n                    );\n                    if (!symbol) {\n                      error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name);\n                    } else if (helper & 524288) {\n                      if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 3)) {\n                        error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 4);\n                      }\n                    } else if (helper & 1048576) {\n                      if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 4)) {\n                        error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 5);\n                      }\n                    } else if (helper & 1024) {\n                      if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 2)) {\n                        error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 3);\n                      }\n                    }\n                  }\n                }\n              }\n            }\n            requestedExternalEmitHelpers |= helpers;\n          }\n        }\n      }\n      function getHelperNames(helper) {\n        switch (helper) {\n          case 1:\n            return [\"__extends\"];\n          case 2:\n            return [\"__assign\"];\n          case 4:\n            return [\"__rest\"];\n          case 8:\n            return legacyDecorators ? [\"__decorate\"] : [\"__esDecorate\", \"__runInitializers\"];\n          case 16:\n            return [\"__metadata\"];\n          case 32:\n            return [\"__param\"];\n          case 64:\n            return [\"__awaiter\"];\n          case 128:\n            return [\"__generator\"];\n          case 256:\n            return [\"__values\"];\n          case 512:\n            return [\"__read\"];\n          case 1024:\n            return [\"__spreadArray\"];\n          case 2048:\n            return [\"__await\"];\n          case 4096:\n            return [\"__asyncGenerator\"];\n          case 8192:\n            return [\"__asyncDelegator\"];\n          case 16384:\n            return [\"__asyncValues\"];\n          case 32768:\n            return [\"__exportStar\"];\n          case 65536:\n            return [\"__importStar\"];\n          case 131072:\n            return [\"__importDefault\"];\n          case 262144:\n            return [\"__makeTemplateObject\"];\n          case 524288:\n            return [\"__classPrivateFieldGet\"];\n          case 1048576:\n            return [\"__classPrivateFieldSet\"];\n          case 2097152:\n            return [\"__classPrivateFieldIn\"];\n          case 4194304:\n            return [\"__createBinding\"];\n          case 8388608:\n            return [\"__setFunctionName\"];\n          case 16777216:\n            return [\"__propKey\"];\n          default:\n            return Debug2.fail(\"Unrecognized helper\");\n        }\n      }\n      function resolveHelpersModule(node, errorNode) {\n        if (!externalHelpersModule) {\n          externalHelpersModule = resolveExternalModule(node, externalHelpersModuleNameText, Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found, errorNode) || unknownSymbol;\n        }\n        return externalHelpersModule;\n      }\n      function checkGrammarModifiers(node) {\n        const quickResult = reportObviousDecoratorErrors(node) || reportObviousModifierErrors(node);\n        if (quickResult !== void 0) {\n          return quickResult;\n        }\n        if (isParameter(node) && parameterIsThisKeyword(node)) {\n          return grammarErrorOnFirstToken(node, Diagnostics.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);\n        }\n        let lastStatic, lastDeclare, lastAsync, lastOverride, firstDecorator;\n        let flags = 0;\n        let sawExportBeforeDecorators = false;\n        let hasLeadingDecorators = false;\n        for (const modifier of node.modifiers) {\n          if (isDecorator(modifier)) {\n            if (!nodeCanBeDecorated(legacyDecorators, node, node.parent, node.parent.parent)) {\n              if (node.kind === 171 && !nodeIsPresent(node.body)) {\n                return grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);\n              } else {\n                return grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here);\n              }\n            } else if (legacyDecorators && (node.kind === 174 || node.kind === 175)) {\n              const accessors = getAllAccessorDeclarations(node.parent.members, node);\n              if (hasDecorators(accessors.firstAccessor) && node === accessors.secondAccessor) {\n                return grammarErrorOnFirstToken(node, Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name);\n              }\n            }\n            if (flags & ~(1025 | 131072)) {\n              return grammarErrorOnNode(modifier, Diagnostics.Decorators_are_not_valid_here);\n            }\n            if (hasLeadingDecorators && flags & 126975) {\n              Debug2.assertIsDefined(firstDecorator);\n              const sourceFile = getSourceFileOfNode(modifier);\n              if (!hasParseDiagnostics(sourceFile)) {\n                addRelatedInfo(\n                  error(modifier, Diagnostics.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),\n                  createDiagnosticForNode(firstDecorator, Diagnostics.Decorator_used_before_export_here)\n                );\n                return true;\n              }\n              return false;\n            }\n            flags |= 131072;\n            if (!(flags & 126975)) {\n              hasLeadingDecorators = true;\n            } else if (flags & 1) {\n              sawExportBeforeDecorators = true;\n            }\n            firstDecorator != null ? firstDecorator : firstDecorator = modifier;\n          } else {\n            if (modifier.kind !== 146) {\n              if (node.kind === 168 || node.kind === 170) {\n                return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_member, tokenToString(modifier.kind));\n              }\n              if (node.kind === 178 && (modifier.kind !== 124 || !isClassLike(node.parent))) {\n                return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_index_signature, tokenToString(modifier.kind));\n              }\n            }\n            if (modifier.kind !== 101 && modifier.kind !== 145 && modifier.kind !== 85) {\n              if (node.kind === 165) {\n                return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_parameter, tokenToString(modifier.kind));\n              }\n            }\n            switch (modifier.kind) {\n              case 85:\n                if (node.kind !== 263 && node.kind !== 165) {\n                  return grammarErrorOnNode(node, Diagnostics.A_class_member_cannot_have_the_0_keyword, tokenToString(\n                    85\n                    /* ConstKeyword */\n                  ));\n                }\n                const parent2 = node.parent;\n                if (node.kind === 165 && !(isFunctionLikeDeclaration(parent2) || isClassLike(parent2) || isFunctionTypeNode(parent2) || isConstructorTypeNode(parent2) || isCallSignatureDeclaration(parent2) || isConstructSignatureDeclaration(parent2) || isMethodSignature(parent2))) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class, tokenToString(modifier.kind));\n                }\n                break;\n              case 161:\n                if (flags & 16384) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"override\");\n                } else if (flags & 2) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"override\", \"declare\");\n                } else if (flags & 64) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"override\", \"readonly\");\n                } else if (flags & 128) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"override\", \"accessor\");\n                } else if (flags & 512) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"override\", \"async\");\n                }\n                flags |= 16384;\n                lastOverride = modifier;\n                break;\n              case 123:\n              case 122:\n              case 121:\n                const text = visibilityToString(modifierToFlag(modifier.kind));\n                if (flags & 28) {\n                  return grammarErrorOnNode(modifier, Diagnostics.Accessibility_modifier_already_seen);\n                } else if (flags & 16384) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"override\");\n                } else if (flags & 32) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"static\");\n                } else if (flags & 128) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"accessor\");\n                } else if (flags & 64) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"readonly\");\n                } else if (flags & 512) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"async\");\n                } else if (node.parent.kind === 265 || node.parent.kind === 308) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, text);\n                } else if (flags & 256) {\n                  if (modifier.kind === 121) {\n                    return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, text, \"abstract\");\n                  } else {\n                    return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"abstract\");\n                  }\n                } else if (isPrivateIdentifierClassElementDeclaration(node)) {\n                  return grammarErrorOnNode(modifier, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);\n                }\n                flags |= modifierToFlag(modifier.kind);\n                break;\n              case 124:\n                if (flags & 32) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"static\");\n                } else if (flags & 64) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"readonly\");\n                } else if (flags & 512) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"async\");\n                } else if (flags & 128) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"accessor\");\n                } else if (node.parent.kind === 265 || node.parent.kind === 308) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, \"static\");\n                } else if (node.kind === 166) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"static\");\n                } else if (flags & 256) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"static\", \"abstract\");\n                } else if (flags & 16384) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"override\");\n                }\n                flags |= 32;\n                lastStatic = modifier;\n                break;\n              case 127:\n                if (flags & 128) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"accessor\");\n                } else if (flags & 64) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"accessor\", \"readonly\");\n                } else if (flags & 2) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"accessor\", \"declare\");\n                } else if (node.kind !== 169) {\n                  return grammarErrorOnNode(modifier, Diagnostics.accessor_modifier_can_only_appear_on_a_property_declaration);\n                }\n                flags |= 128;\n                break;\n              case 146:\n                if (flags & 64) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"readonly\");\n                } else if (node.kind !== 169 && node.kind !== 168 && node.kind !== 178 && node.kind !== 166) {\n                  return grammarErrorOnNode(modifier, Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);\n                } else if (flags & 128) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"readonly\", \"accessor\");\n                }\n                flags |= 64;\n                break;\n              case 93:\n                if (compilerOptions.verbatimModuleSyntax && !(node.flags & 16777216) && node.kind !== 262 && node.kind !== 261 && // ModuleDeclaration needs to be checked that it is uninstantiated later\n                node.kind !== 264 && node.parent.kind === 308 && (moduleKind === 1 || getSourceFileOfNode(node).impliedNodeFormat === 1)) {\n                  return grammarErrorOnNode(modifier, Diagnostics.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);\n                }\n                if (flags & 1) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"export\");\n                } else if (flags & 2) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"declare\");\n                } else if (flags & 256) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"abstract\");\n                } else if (flags & 512) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"async\");\n                } else if (isClassLike(node.parent)) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, \"export\");\n                } else if (node.kind === 166) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"export\");\n                }\n                flags |= 1;\n                break;\n              case 88:\n                const container = node.parent.kind === 308 ? node.parent : node.parent.parent;\n                if (container.kind === 264 && !isAmbientModule(container)) {\n                  return grammarErrorOnNode(modifier, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);\n                } else if (!(flags & 1)) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"default\");\n                } else if (sawExportBeforeDecorators) {\n                  return grammarErrorOnNode(firstDecorator, Diagnostics.Decorators_are_not_valid_here);\n                }\n                flags |= 1024;\n                break;\n              case 136:\n                if (flags & 2) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"declare\");\n                } else if (flags & 512) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, \"async\");\n                } else if (flags & 16384) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, \"override\");\n                } else if (isClassLike(node.parent) && !isPropertyDeclaration(node)) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, \"declare\");\n                } else if (node.kind === 166) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"declare\");\n                } else if (node.parent.flags & 16777216 && node.parent.kind === 265) {\n                  return grammarErrorOnNode(modifier, Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);\n                } else if (isPrivateIdentifierClassElementDeclaration(node)) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, \"declare\");\n                } else if (flags & 128) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"declare\", \"accessor\");\n                }\n                flags |= 2;\n                lastDeclare = modifier;\n                break;\n              case 126:\n                if (flags & 256) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"abstract\");\n                }\n                if (node.kind !== 260 && node.kind !== 182) {\n                  if (node.kind !== 171 && node.kind !== 169 && node.kind !== 174 && node.kind !== 175) {\n                    return grammarErrorOnNode(modifier, Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);\n                  }\n                  if (!(node.parent.kind === 260 && hasSyntacticModifier(\n                    node.parent,\n                    256\n                    /* Abstract */\n                  ))) {\n                    return grammarErrorOnNode(modifier, Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);\n                  }\n                  if (flags & 32) {\n                    return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"static\", \"abstract\");\n                  }\n                  if (flags & 8) {\n                    return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"private\", \"abstract\");\n                  }\n                  if (flags & 512 && lastAsync) {\n                    return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"async\", \"abstract\");\n                  }\n                  if (flags & 16384) {\n                    return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"abstract\", \"override\");\n                  }\n                  if (flags & 128) {\n                    return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"abstract\", \"accessor\");\n                  }\n                }\n                if (isNamedDeclaration(node) && node.name.kind === 80) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, \"abstract\");\n                }\n                flags |= 256;\n                break;\n              case 132:\n                if (flags & 512) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"async\");\n                } else if (flags & 2 || node.parent.flags & 16777216) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, \"async\");\n                } else if (node.kind === 166) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"async\");\n                }\n                if (flags & 256) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"async\", \"abstract\");\n                }\n                flags |= 512;\n                lastAsync = modifier;\n                break;\n              case 101:\n              case 145:\n                const inOutFlag = modifier.kind === 101 ? 32768 : 65536;\n                const inOutText = modifier.kind === 101 ? \"in\" : \"out\";\n                if (node.kind !== 165 || !(isInterfaceDeclaration(node.parent) || isClassLike(node.parent) || isTypeAliasDeclaration(node.parent))) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias, inOutText);\n                }\n                if (flags & inOutFlag) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, inOutText);\n                }\n                if (inOutFlag & 32768 && flags & 65536) {\n                  return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"in\", \"out\");\n                }\n                flags |= inOutFlag;\n                break;\n            }\n          }\n        }\n        if (node.kind === 173) {\n          if (flags & 32) {\n            return grammarErrorOnNode(lastStatic, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, \"static\");\n          }\n          if (flags & 16384) {\n            return grammarErrorOnNode(lastOverride, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, \"override\");\n          }\n          if (flags & 512) {\n            return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, \"async\");\n          }\n          return false;\n        } else if ((node.kind === 269 || node.kind === 268) && flags & 2) {\n          return grammarErrorOnNode(lastDeclare, Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration, \"declare\");\n        } else if (node.kind === 166 && flags & 16476 && isBindingPattern(node.name)) {\n          return grammarErrorOnNode(node, Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern);\n        } else if (node.kind === 166 && flags & 16476 && node.dotDotDotToken) {\n          return grammarErrorOnNode(node, Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter);\n        }\n        if (flags & 512) {\n          return checkGrammarAsyncModifier(node, lastAsync);\n        }\n        return false;\n      }\n      function reportObviousModifierErrors(node) {\n        if (!node.modifiers)\n          return false;\n        const modifier = findFirstIllegalModifier(node);\n        return modifier && grammarErrorOnFirstToken(modifier, Diagnostics.Modifiers_cannot_appear_here);\n      }\n      function findFirstModifierExcept(node, allowedModifier) {\n        const modifier = find(node.modifiers, isModifier);\n        return modifier && modifier.kind !== allowedModifier ? modifier : void 0;\n      }\n      function findFirstIllegalModifier(node) {\n        switch (node.kind) {\n          case 174:\n          case 175:\n          case 173:\n          case 169:\n          case 168:\n          case 171:\n          case 170:\n          case 178:\n          case 264:\n          case 269:\n          case 268:\n          case 275:\n          case 274:\n          case 215:\n          case 216:\n          case 166:\n          case 165:\n            return void 0;\n          case 172:\n          case 299:\n          case 300:\n          case 267:\n          case 279:\n            return find(node.modifiers, isModifier);\n          default:\n            if (node.parent.kind === 265 || node.parent.kind === 308) {\n              return void 0;\n            }\n            switch (node.kind) {\n              case 259:\n                return findFirstModifierExcept(\n                  node,\n                  132\n                  /* AsyncKeyword */\n                );\n              case 260:\n              case 182:\n                return findFirstModifierExcept(\n                  node,\n                  126\n                  /* AbstractKeyword */\n                );\n              case 228:\n              case 261:\n              case 240:\n              case 262:\n                return find(node.modifiers, isModifier);\n              case 263:\n                return findFirstModifierExcept(\n                  node,\n                  85\n                  /* ConstKeyword */\n                );\n              default:\n                Debug2.assertNever(node);\n            }\n        }\n      }\n      function reportObviousDecoratorErrors(node) {\n        const decorator = findFirstIllegalDecorator(node);\n        return decorator && grammarErrorOnFirstToken(decorator, Diagnostics.Decorators_are_not_valid_here);\n      }\n      function findFirstIllegalDecorator(node) {\n        return canHaveIllegalDecorators(node) ? find(node.modifiers, isDecorator) : void 0;\n      }\n      function checkGrammarAsyncModifier(node, asyncModifier) {\n        switch (node.kind) {\n          case 171:\n          case 259:\n          case 215:\n          case 216:\n            return false;\n        }\n        return grammarErrorOnNode(asyncModifier, Diagnostics._0_modifier_cannot_be_used_here, \"async\");\n      }\n      function checkGrammarForDisallowedTrailingComma(list, diag2 = Diagnostics.Trailing_comma_not_allowed) {\n        if (list && list.hasTrailingComma) {\n          return grammarErrorAtPos(list[0], list.end - \",\".length, \",\".length, diag2);\n        }\n        return false;\n      }\n      function checkGrammarTypeParameterList(typeParameters, file) {\n        if (typeParameters && typeParameters.length === 0) {\n          const start = typeParameters.pos - \"<\".length;\n          const end = skipTrivia(file.text, typeParameters.end) + \">\".length;\n          return grammarErrorAtPos(file, start, end - start, Diagnostics.Type_parameter_list_cannot_be_empty);\n        }\n        return false;\n      }\n      function checkGrammarParameterList(parameters) {\n        let seenOptionalParameter = false;\n        const parameterCount = parameters.length;\n        for (let i = 0; i < parameterCount; i++) {\n          const parameter = parameters[i];\n          if (parameter.dotDotDotToken) {\n            if (i !== parameterCount - 1) {\n              return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);\n            }\n            if (!(parameter.flags & 16777216)) {\n              checkGrammarForDisallowedTrailingComma(parameters, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n            }\n            if (parameter.questionToken) {\n              return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_rest_parameter_cannot_be_optional);\n            }\n            if (parameter.initializer) {\n              return grammarErrorOnNode(parameter.name, Diagnostics.A_rest_parameter_cannot_have_an_initializer);\n            }\n          } else if (isOptionalParameter(parameter)) {\n            seenOptionalParameter = true;\n            if (parameter.questionToken && parameter.initializer) {\n              return grammarErrorOnNode(parameter.name, Diagnostics.Parameter_cannot_have_question_mark_and_initializer);\n            }\n          } else if (seenOptionalParameter && !parameter.initializer) {\n            return grammarErrorOnNode(parameter.name, Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter);\n          }\n        }\n      }\n      function getNonSimpleParameters(parameters) {\n        return filter(parameters, (parameter) => !!parameter.initializer || isBindingPattern(parameter.name) || isRestParameter(parameter));\n      }\n      function checkGrammarForUseStrictSimpleParameterList(node) {\n        if (languageVersion >= 3) {\n          const useStrictDirective = node.body && isBlock(node.body) && findUseStrictPrologue(node.body.statements);\n          if (useStrictDirective) {\n            const nonSimpleParameters = getNonSimpleParameters(node.parameters);\n            if (length(nonSimpleParameters)) {\n              forEach(nonSimpleParameters, (parameter) => {\n                addRelatedInfo(\n                  error(parameter, Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),\n                  createDiagnosticForNode(useStrictDirective, Diagnostics.use_strict_directive_used_here)\n                );\n              });\n              const diagnostics2 = nonSimpleParameters.map((parameter, index) => index === 0 ? createDiagnosticForNode(parameter, Diagnostics.Non_simple_parameter_declared_here) : createDiagnosticForNode(parameter, Diagnostics.and_here));\n              addRelatedInfo(error(useStrictDirective, Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list), ...diagnostics2);\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function checkGrammarFunctionLikeDeclaration(node) {\n        const file = getSourceFileOfNode(node);\n        return checkGrammarModifiers(node) || checkGrammarTypeParameterList(node.typeParameters, file) || checkGrammarParameterList(node.parameters) || checkGrammarArrowFunction(node, file) || isFunctionLikeDeclaration(node) && checkGrammarForUseStrictSimpleParameterList(node);\n      }\n      function checkGrammarClassLikeDeclaration(node) {\n        const file = getSourceFileOfNode(node);\n        return checkGrammarClassDeclarationHeritageClauses(node) || checkGrammarTypeParameterList(node.typeParameters, file);\n      }\n      function checkGrammarArrowFunction(node, file) {\n        if (!isArrowFunction(node)) {\n          return false;\n        }\n        if (node.typeParameters && !(length(node.typeParameters) > 1 || node.typeParameters.hasTrailingComma || node.typeParameters[0].constraint)) {\n          if (file && fileExtensionIsOneOf(file.fileName, [\n            \".mts\",\n            \".cts\"\n            /* Cts */\n          ])) {\n            grammarErrorOnNode(node.typeParameters[0], Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);\n          }\n        }\n        const { equalsGreaterThanToken } = node;\n        const startLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.pos).line;\n        const endLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.end).line;\n        return startLine !== endLine && grammarErrorOnNode(equalsGreaterThanToken, Diagnostics.Line_terminator_not_permitted_before_arrow);\n      }\n      function checkGrammarIndexSignatureParameters(node) {\n        const parameter = node.parameters[0];\n        if (node.parameters.length !== 1) {\n          if (parameter) {\n            return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_must_have_exactly_one_parameter);\n          } else {\n            return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_exactly_one_parameter);\n          }\n        }\n        checkGrammarForDisallowedTrailingComma(node.parameters, Diagnostics.An_index_signature_cannot_have_a_trailing_comma);\n        if (parameter.dotDotDotToken) {\n          return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.An_index_signature_cannot_have_a_rest_parameter);\n        }\n        if (hasEffectiveModifiers(parameter)) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);\n        }\n        if (parameter.questionToken) {\n          return grammarErrorOnNode(parameter.questionToken, Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);\n        }\n        if (parameter.initializer) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);\n        }\n        if (!parameter.type) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);\n        }\n        const type = getTypeFromTypeNode(parameter.type);\n        if (someType(type, (t) => !!(t.flags & 8576)) || isGenericType(type)) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead);\n        }\n        if (!everyType(type, isValidIndexKeyType)) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type);\n        }\n        if (!node.type) {\n          return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_a_type_annotation);\n        }\n        return false;\n      }\n      function checkGrammarIndexSignature(node) {\n        return checkGrammarModifiers(node) || checkGrammarIndexSignatureParameters(node);\n      }\n      function checkGrammarForAtLeastOneTypeArgument(node, typeArguments) {\n        if (typeArguments && typeArguments.length === 0) {\n          const sourceFile = getSourceFileOfNode(node);\n          const start = typeArguments.pos - \"<\".length;\n          const end = skipTrivia(sourceFile.text, typeArguments.end) + \">\".length;\n          return grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.Type_argument_list_cannot_be_empty);\n        }\n        return false;\n      }\n      function checkGrammarTypeArguments(node, typeArguments) {\n        return checkGrammarForDisallowedTrailingComma(typeArguments) || checkGrammarForAtLeastOneTypeArgument(node, typeArguments);\n      }\n      function checkGrammarTaggedTemplateChain(node) {\n        if (node.questionDotToken || node.flags & 32) {\n          return grammarErrorOnNode(node.template, Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain);\n        }\n        return false;\n      }\n      function checkGrammarHeritageClause(node) {\n        const types = node.types;\n        if (checkGrammarForDisallowedTrailingComma(types)) {\n          return true;\n        }\n        if (types && types.length === 0) {\n          const listType = tokenToString(node.token);\n          return grammarErrorAtPos(node, types.pos, 0, Diagnostics._0_list_cannot_be_empty, listType);\n        }\n        return some(types, checkGrammarExpressionWithTypeArguments);\n      }\n      function checkGrammarExpressionWithTypeArguments(node) {\n        if (isExpressionWithTypeArguments(node) && isImportKeyword(node.expression) && node.typeArguments) {\n          return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);\n        }\n        return checkGrammarTypeArguments(node, node.typeArguments);\n      }\n      function checkGrammarClassDeclarationHeritageClauses(node) {\n        let seenExtendsClause = false;\n        let seenImplementsClause = false;\n        if (!checkGrammarModifiers(node) && node.heritageClauses) {\n          for (const heritageClause of node.heritageClauses) {\n            if (heritageClause.token === 94) {\n              if (seenExtendsClause) {\n                return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen);\n              }\n              if (seenImplementsClause) {\n                return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_must_precede_implements_clause);\n              }\n              if (heritageClause.types.length > 1) {\n                return grammarErrorOnFirstToken(heritageClause.types[1], Diagnostics.Classes_can_only_extend_a_single_class);\n              }\n              seenExtendsClause = true;\n            } else {\n              Debug2.assert(\n                heritageClause.token === 117\n                /* ImplementsKeyword */\n              );\n              if (seenImplementsClause) {\n                return grammarErrorOnFirstToken(heritageClause, Diagnostics.implements_clause_already_seen);\n              }\n              seenImplementsClause = true;\n            }\n            checkGrammarHeritageClause(heritageClause);\n          }\n        }\n      }\n      function checkGrammarInterfaceDeclaration(node) {\n        let seenExtendsClause = false;\n        if (node.heritageClauses) {\n          for (const heritageClause of node.heritageClauses) {\n            if (heritageClause.token === 94) {\n              if (seenExtendsClause) {\n                return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen);\n              }\n              seenExtendsClause = true;\n            } else {\n              Debug2.assert(\n                heritageClause.token === 117\n                /* ImplementsKeyword */\n              );\n              return grammarErrorOnFirstToken(heritageClause, Diagnostics.Interface_declaration_cannot_have_implements_clause);\n            }\n            checkGrammarHeritageClause(heritageClause);\n          }\n        }\n        return false;\n      }\n      function checkGrammarComputedPropertyName(node) {\n        if (node.kind !== 164) {\n          return false;\n        }\n        const computedPropertyName = node;\n        if (computedPropertyName.expression.kind === 223 && computedPropertyName.expression.operatorToken.kind === 27) {\n          return grammarErrorOnNode(computedPropertyName.expression, Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name);\n        }\n        return false;\n      }\n      function checkGrammarForGenerator(node) {\n        if (node.asteriskToken) {\n          Debug2.assert(\n            node.kind === 259 || node.kind === 215 || node.kind === 171\n            /* MethodDeclaration */\n          );\n          if (node.flags & 16777216) {\n            return grammarErrorOnNode(node.asteriskToken, Diagnostics.Generators_are_not_allowed_in_an_ambient_context);\n          }\n          if (!node.body) {\n            return grammarErrorOnNode(node.asteriskToken, Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);\n          }\n        }\n      }\n      function checkGrammarForInvalidQuestionMark(questionToken, message) {\n        return !!questionToken && grammarErrorOnNode(questionToken, message);\n      }\n      function checkGrammarForInvalidExclamationToken(exclamationToken, message) {\n        return !!exclamationToken && grammarErrorOnNode(exclamationToken, message);\n      }\n      function checkGrammarObjectLiteralExpression(node, inDestructuring) {\n        const seen = /* @__PURE__ */ new Map();\n        for (const prop of node.properties) {\n          if (prop.kind === 301) {\n            if (inDestructuring) {\n              const expression = skipParentheses(prop.expression);\n              if (isArrayLiteralExpression(expression) || isObjectLiteralExpression(expression)) {\n                return grammarErrorOnNode(prop.expression, Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);\n              }\n            }\n            continue;\n          }\n          const name = prop.name;\n          if (name.kind === 164) {\n            checkGrammarComputedPropertyName(name);\n          }\n          if (prop.kind === 300 && !inDestructuring && prop.objectAssignmentInitializer) {\n            grammarErrorOnNode(prop.equalsToken, Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern);\n          }\n          if (name.kind === 80) {\n            grammarErrorOnNode(name, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n          }\n          if (canHaveModifiers(prop) && prop.modifiers) {\n            for (const mod of prop.modifiers) {\n              if (isModifier(mod) && (mod.kind !== 132 || prop.kind !== 171)) {\n                grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));\n              }\n            }\n          } else if (canHaveIllegalModifiers(prop) && prop.modifiers) {\n            for (const mod of prop.modifiers) {\n              if (isModifier(mod)) {\n                grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));\n              }\n            }\n          }\n          let currentKind;\n          switch (prop.kind) {\n            case 300:\n            case 299:\n              checkGrammarForInvalidExclamationToken(prop.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);\n              checkGrammarForInvalidQuestionMark(prop.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional);\n              if (name.kind === 8) {\n                checkGrammarNumericLiteral(name);\n              }\n              currentKind = 4;\n              break;\n            case 171:\n              currentKind = 8;\n              break;\n            case 174:\n              currentKind = 1;\n              break;\n            case 175:\n              currentKind = 2;\n              break;\n            default:\n              throw Debug2.assertNever(prop, \"Unexpected syntax kind:\" + prop.kind);\n          }\n          if (!inDestructuring) {\n            const effectiveName = getPropertyNameForPropertyNameNode(name);\n            if (effectiveName === void 0) {\n              continue;\n            }\n            const existingKind = seen.get(effectiveName);\n            if (!existingKind) {\n              seen.set(effectiveName, currentKind);\n            } else {\n              if (currentKind & 8 && existingKind & 8) {\n                grammarErrorOnNode(name, Diagnostics.Duplicate_identifier_0, getTextOfNode(name));\n              } else if (currentKind & 4 && existingKind & 4) {\n                grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name, getTextOfNode(name));\n              } else if (currentKind & 3 && existingKind & 3) {\n                if (existingKind !== 3 && currentKind !== existingKind) {\n                  seen.set(effectiveName, currentKind | existingKind);\n                } else {\n                  return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);\n                }\n              } else {\n                return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);\n              }\n            }\n          }\n        }\n      }\n      function checkGrammarJsxElement(node) {\n        checkGrammarJsxName(node.tagName);\n        checkGrammarTypeArguments(node, node.typeArguments);\n        const seen = /* @__PURE__ */ new Map();\n        for (const attr of node.attributes.properties) {\n          if (attr.kind === 290) {\n            continue;\n          }\n          const { name, initializer } = attr;\n          if (!seen.get(name.escapedText)) {\n            seen.set(name.escapedText, true);\n          } else {\n            return grammarErrorOnNode(name, Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);\n          }\n          if (initializer && initializer.kind === 291 && !initializer.expression) {\n            return grammarErrorOnNode(initializer, Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression);\n          }\n        }\n      }\n      function checkGrammarJsxName(node) {\n        if (isPropertyAccessExpression(node)) {\n          let propName = node;\n          do {\n            const check2 = checkGrammarJsxNestedIdentifier(propName.name);\n            if (check2) {\n              return check2;\n            }\n            propName = propName.expression;\n          } while (isPropertyAccessExpression(propName));\n          const check = checkGrammarJsxNestedIdentifier(propName);\n          if (check) {\n            return check;\n          }\n        }\n        function checkGrammarJsxNestedIdentifier(name) {\n          if (isIdentifier(name) && idText(name).indexOf(\":\") !== -1) {\n            return grammarErrorOnNode(name, Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names);\n          }\n        }\n      }\n      function checkGrammarJsxExpression(node) {\n        if (node.expression && isCommaSequence(node.expression)) {\n          return grammarErrorOnNode(node.expression, Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array);\n        }\n      }\n      function checkGrammarForInOrForOfStatement(forInOrOfStatement) {\n        if (checkGrammarStatementInAmbientContext(forInOrOfStatement)) {\n          return true;\n        }\n        if (forInOrOfStatement.kind === 247 && forInOrOfStatement.awaitModifier) {\n          if (!(forInOrOfStatement.flags & 32768)) {\n            const sourceFile = getSourceFileOfNode(forInOrOfStatement);\n            if (isInTopLevelContext(forInOrOfStatement)) {\n              if (!hasParseDiagnostics(sourceFile)) {\n                if (!isEffectiveExternalModule(sourceFile, compilerOptions)) {\n                  diagnostics.add(createDiagnosticForNode(\n                    forInOrOfStatement.awaitModifier,\n                    Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module\n                  ));\n                }\n                switch (moduleKind) {\n                  case 100:\n                  case 199:\n                    if (sourceFile.impliedNodeFormat === 1) {\n                      diagnostics.add(\n                        createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)\n                      );\n                      break;\n                    }\n                  case 7:\n                  case 99:\n                  case 4:\n                    if (languageVersion >= 4) {\n                      break;\n                    }\n                  default:\n                    diagnostics.add(\n                      createDiagnosticForNode(\n                        forInOrOfStatement.awaitModifier,\n                        Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher\n                      )\n                    );\n                    break;\n                }\n              }\n            } else {\n              if (!hasParseDiagnostics(sourceFile)) {\n                const diagnostic = createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);\n                const func = getContainingFunction(forInOrOfStatement);\n                if (func && func.kind !== 173) {\n                  Debug2.assert((getFunctionFlags(func) & 2) === 0, \"Enclosing function should never be an async function.\");\n                  const relatedInfo = createDiagnosticForNode(func, Diagnostics.Did_you_mean_to_mark_this_function_as_async);\n                  addRelatedInfo(diagnostic, relatedInfo);\n                }\n                diagnostics.add(diagnostic);\n                return true;\n              }\n            }\n            return false;\n          }\n        }\n        if (isForOfStatement(forInOrOfStatement) && !(forInOrOfStatement.flags & 32768) && isIdentifier(forInOrOfStatement.initializer) && forInOrOfStatement.initializer.escapedText === \"async\") {\n          grammarErrorOnNode(forInOrOfStatement.initializer, Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async);\n          return false;\n        }\n        if (forInOrOfStatement.initializer.kind === 258) {\n          const variableList = forInOrOfStatement.initializer;\n          if (!checkGrammarVariableDeclarationList(variableList)) {\n            const declarations = variableList.declarations;\n            if (!declarations.length) {\n              return false;\n            }\n            if (declarations.length > 1) {\n              const diagnostic = forInOrOfStatement.kind === 246 ? Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement : Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;\n              return grammarErrorOnFirstToken(variableList.declarations[1], diagnostic);\n            }\n            const firstDeclaration = declarations[0];\n            if (firstDeclaration.initializer) {\n              const diagnostic = forInOrOfStatement.kind === 246 ? Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer : Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;\n              return grammarErrorOnNode(firstDeclaration.name, diagnostic);\n            }\n            if (firstDeclaration.type) {\n              const diagnostic = forInOrOfStatement.kind === 246 ? Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation : Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;\n              return grammarErrorOnNode(firstDeclaration, diagnostic);\n            }\n          }\n        }\n        return false;\n      }\n      function checkGrammarAccessor(accessor) {\n        if (!(accessor.flags & 16777216) && accessor.parent.kind !== 184 && accessor.parent.kind !== 261) {\n          if (languageVersion < 1) {\n            return grammarErrorOnNode(accessor.name, Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);\n          }\n          if (languageVersion < 2 && isPrivateIdentifier(accessor.name)) {\n            return grammarErrorOnNode(accessor.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n          }\n          if (accessor.body === void 0 && !hasSyntacticModifier(\n            accessor,\n            256\n            /* Abstract */\n          )) {\n            return grammarErrorAtPos(accessor, accessor.end - 1, \";\".length, Diagnostics._0_expected, \"{\");\n          }\n        }\n        if (accessor.body) {\n          if (hasSyntacticModifier(\n            accessor,\n            256\n            /* Abstract */\n          )) {\n            return grammarErrorOnNode(accessor, Diagnostics.An_abstract_accessor_cannot_have_an_implementation);\n          }\n          if (accessor.parent.kind === 184 || accessor.parent.kind === 261) {\n            return grammarErrorOnNode(accessor.body, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);\n          }\n        }\n        if (accessor.typeParameters) {\n          return grammarErrorOnNode(accessor.name, Diagnostics.An_accessor_cannot_have_type_parameters);\n        }\n        if (!doesAccessorHaveCorrectParameterCount(accessor)) {\n          return grammarErrorOnNode(\n            accessor.name,\n            accessor.kind === 174 ? Diagnostics.A_get_accessor_cannot_have_parameters : Diagnostics.A_set_accessor_must_have_exactly_one_parameter\n          );\n        }\n        if (accessor.kind === 175) {\n          if (accessor.type) {\n            return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);\n          }\n          const parameter = Debug2.checkDefined(getSetAccessorValueParameter(accessor), \"Return value does not match parameter count assertion.\");\n          if (parameter.dotDotDotToken) {\n            return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_set_accessor_cannot_have_rest_parameter);\n          }\n          if (parameter.questionToken) {\n            return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);\n          }\n          if (parameter.initializer) {\n            return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer);\n          }\n        }\n        return false;\n      }\n      function doesAccessorHaveCorrectParameterCount(accessor) {\n        return getAccessorThisParameter(accessor) || accessor.parameters.length === (accessor.kind === 174 ? 0 : 1);\n      }\n      function getAccessorThisParameter(accessor) {\n        if (accessor.parameters.length === (accessor.kind === 174 ? 1 : 2)) {\n          return getThisParameter(accessor);\n        }\n      }\n      function checkGrammarTypeOperatorNode(node) {\n        if (node.operator === 156) {\n          if (node.type.kind !== 153) {\n            return grammarErrorOnNode(node.type, Diagnostics._0_expected, tokenToString(\n              153\n              /* SymbolKeyword */\n            ));\n          }\n          let parent2 = walkUpParenthesizedTypes(node.parent);\n          if (isInJSFile(parent2) && isJSDocTypeExpression(parent2)) {\n            const host2 = getJSDocHost(parent2);\n            if (host2) {\n              parent2 = getSingleVariableOfVariableStatement(host2) || host2;\n            }\n          }\n          switch (parent2.kind) {\n            case 257:\n              const decl = parent2;\n              if (decl.name.kind !== 79) {\n                return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);\n              }\n              if (!isVariableDeclarationInVariableStatement(decl)) {\n                return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);\n              }\n              if (!(decl.parent.flags & 2)) {\n                return grammarErrorOnNode(parent2.name, Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);\n              }\n              break;\n            case 169:\n              if (!isStatic(parent2) || !hasEffectiveReadonlyModifier(parent2)) {\n                return grammarErrorOnNode(parent2.name, Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);\n              }\n              break;\n            case 168:\n              if (!hasSyntacticModifier(\n                parent2,\n                64\n                /* Readonly */\n              )) {\n                return grammarErrorOnNode(parent2.name, Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);\n              }\n              break;\n            default:\n              return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_not_allowed_here);\n          }\n        } else if (node.operator === 146) {\n          if (node.type.kind !== 185 && node.type.kind !== 186) {\n            return grammarErrorOnFirstToken(node, Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types, tokenToString(\n              153\n              /* SymbolKeyword */\n            ));\n          }\n        }\n      }\n      function checkGrammarForInvalidDynamicName(node, message) {\n        if (isNonBindableDynamicName(node)) {\n          return grammarErrorOnNode(node, message);\n        }\n      }\n      function checkGrammarMethod(node) {\n        if (checkGrammarFunctionLikeDeclaration(node)) {\n          return true;\n        }\n        if (node.kind === 171) {\n          if (node.parent.kind === 207) {\n            if (node.modifiers && !(node.modifiers.length === 1 && first(node.modifiers).kind === 132)) {\n              return grammarErrorOnFirstToken(node, Diagnostics.Modifiers_cannot_appear_here);\n            } else if (checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional)) {\n              return true;\n            } else if (checkGrammarForInvalidExclamationToken(node.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)) {\n              return true;\n            } else if (node.body === void 0) {\n              return grammarErrorAtPos(node, node.end - 1, \";\".length, Diagnostics._0_expected, \"{\");\n            }\n          }\n          if (checkGrammarForGenerator(node)) {\n            return true;\n          }\n        }\n        if (isClassLike(node.parent)) {\n          if (languageVersion < 2 && isPrivateIdentifier(node.name)) {\n            return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n          }\n          if (node.flags & 16777216) {\n            return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n          } else if (node.kind === 171 && !node.body) {\n            return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n          }\n        } else if (node.parent.kind === 261) {\n          return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n        } else if (node.parent.kind === 184) {\n          return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n        }\n      }\n      function checkGrammarBreakOrContinueStatement(node) {\n        let current = node;\n        while (current) {\n          if (isFunctionLikeOrClassStaticBlockDeclaration(current)) {\n            return grammarErrorOnNode(node, Diagnostics.Jump_target_cannot_cross_function_boundary);\n          }\n          switch (current.kind) {\n            case 253:\n              if (node.label && current.label.escapedText === node.label.escapedText) {\n                const isMisplacedContinueLabel = node.kind === 248 && !isIterationStatement(\n                  current.statement,\n                  /*lookInLabeledStatement*/\n                  true\n                );\n                if (isMisplacedContinueLabel) {\n                  return grammarErrorOnNode(node, Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);\n                }\n                return false;\n              }\n              break;\n            case 252:\n              if (node.kind === 249 && !node.label) {\n                return false;\n              }\n              break;\n            default:\n              if (isIterationStatement(\n                current,\n                /*lookInLabeledStatement*/\n                false\n              ) && !node.label) {\n                return false;\n              }\n              break;\n          }\n          current = current.parent;\n        }\n        if (node.label) {\n          const message = node.kind === 249 ? Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement : Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;\n          return grammarErrorOnNode(node, message);\n        } else {\n          const message = node.kind === 249 ? Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement : Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;\n          return grammarErrorOnNode(node, message);\n        }\n      }\n      function checkGrammarBindingElement(node) {\n        if (node.dotDotDotToken) {\n          const elements = node.parent.elements;\n          if (node !== last(elements)) {\n            return grammarErrorOnNode(node, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);\n          }\n          checkGrammarForDisallowedTrailingComma(elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n          if (node.propertyName) {\n            return grammarErrorOnNode(node.name, Diagnostics.A_rest_element_cannot_have_a_property_name);\n          }\n        }\n        if (node.dotDotDotToken && node.initializer) {\n          return grammarErrorAtPos(node, node.initializer.pos - 1, 1, Diagnostics.A_rest_element_cannot_have_an_initializer);\n        }\n      }\n      function isStringOrNumberLiteralExpression(expr) {\n        return isStringOrNumericLiteralLike(expr) || expr.kind === 221 && expr.operator === 40 && expr.operand.kind === 8;\n      }\n      function isBigIntLiteralExpression(expr) {\n        return expr.kind === 9 || expr.kind === 221 && expr.operator === 40 && expr.operand.kind === 9;\n      }\n      function isSimpleLiteralEnumReference(expr) {\n        if ((isPropertyAccessExpression(expr) || isElementAccessExpression(expr) && isStringOrNumberLiteralExpression(expr.argumentExpression)) && isEntityNameExpression(expr.expression)) {\n          return !!(checkExpressionCached(expr).flags & 1056);\n        }\n      }\n      function checkAmbientInitializer(node) {\n        const initializer = node.initializer;\n        if (initializer) {\n          const isInvalidInitializer = !(isStringOrNumberLiteralExpression(initializer) || isSimpleLiteralEnumReference(initializer) || initializer.kind === 110 || initializer.kind === 95 || isBigIntLiteralExpression(initializer));\n          const isConstOrReadonly = isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConst(node);\n          if (isConstOrReadonly && !node.type) {\n            if (isInvalidInitializer) {\n              return grammarErrorOnNode(initializer, Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);\n            }\n          } else {\n            return grammarErrorOnNode(initializer, Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);\n          }\n        }\n      }\n      function checkGrammarVariableDeclaration(node) {\n        if (node.parent.parent.kind !== 246 && node.parent.parent.kind !== 247) {\n          if (node.flags & 16777216) {\n            checkAmbientInitializer(node);\n          } else if (!node.initializer) {\n            if (isBindingPattern(node.name) && !isBindingPattern(node.parent)) {\n              return grammarErrorOnNode(node, Diagnostics.A_destructuring_declaration_must_have_an_initializer);\n            }\n            if (isVarConst(node)) {\n              return grammarErrorOnNode(node, Diagnostics.const_declarations_must_be_initialized);\n            }\n          }\n        }\n        if (node.exclamationToken && (node.parent.parent.kind !== 240 || !node.type || node.initializer || node.flags & 16777216)) {\n          const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;\n          return grammarErrorOnNode(node.exclamationToken, message);\n        }\n        if ((moduleKind < 5 || getSourceFileOfNode(node).impliedNodeFormat === 1) && moduleKind !== 4 && !(node.parent.parent.flags & 16777216) && hasSyntacticModifier(\n          node.parent.parent,\n          1\n          /* Export */\n        )) {\n          checkESModuleMarker(node.name);\n        }\n        const checkLetConstNames = isLet(node) || isVarConst(node);\n        return checkLetConstNames && checkGrammarNameInLetOrConstDeclarations(node.name);\n      }\n      function checkESModuleMarker(name) {\n        if (name.kind === 79) {\n          if (idText(name) === \"__esModule\") {\n            return grammarErrorOnNodeSkippedOn(\"noEmit\", name, Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules);\n          }\n        } else {\n          const elements = name.elements;\n          for (const element of elements) {\n            if (!isOmittedExpression(element)) {\n              return checkESModuleMarker(element.name);\n            }\n          }\n        }\n        return false;\n      }\n      function checkGrammarNameInLetOrConstDeclarations(name) {\n        if (name.kind === 79) {\n          if (name.escapedText === \"let\") {\n            return grammarErrorOnNode(name, Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations);\n          }\n        } else {\n          const elements = name.elements;\n          for (const element of elements) {\n            if (!isOmittedExpression(element)) {\n              checkGrammarNameInLetOrConstDeclarations(element.name);\n            }\n          }\n        }\n        return false;\n      }\n      function checkGrammarVariableDeclarationList(declarationList) {\n        const declarations = declarationList.declarations;\n        if (checkGrammarForDisallowedTrailingComma(declarationList.declarations)) {\n          return true;\n        }\n        if (!declarationList.declarations.length) {\n          return grammarErrorAtPos(declarationList, declarations.pos, declarations.end - declarations.pos, Diagnostics.Variable_declaration_list_cannot_be_empty);\n        }\n        return false;\n      }\n      function allowLetAndConstDeclarations(parent2) {\n        switch (parent2.kind) {\n          case 242:\n          case 243:\n          case 244:\n          case 251:\n          case 245:\n          case 246:\n          case 247:\n            return false;\n          case 253:\n            return allowLetAndConstDeclarations(parent2.parent);\n        }\n        return true;\n      }\n      function checkGrammarForDisallowedLetOrConstStatement(node) {\n        if (!allowLetAndConstDeclarations(node.parent)) {\n          if (isLet(node.declarationList)) {\n            return grammarErrorOnNode(node, Diagnostics.let_declarations_can_only_be_declared_inside_a_block);\n          } else if (isVarConst(node.declarationList)) {\n            return grammarErrorOnNode(node, Diagnostics.const_declarations_can_only_be_declared_inside_a_block);\n          }\n        }\n      }\n      function checkGrammarMetaProperty(node) {\n        const escapedText = node.name.escapedText;\n        switch (node.keywordToken) {\n          case 103:\n            if (escapedText !== \"target\") {\n              return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, node.name.escapedText, tokenToString(node.keywordToken), \"target\");\n            }\n            break;\n          case 100:\n            if (escapedText !== \"meta\") {\n              return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, node.name.escapedText, tokenToString(node.keywordToken), \"meta\");\n            }\n            break;\n        }\n      }\n      function hasParseDiagnostics(sourceFile) {\n        return sourceFile.parseDiagnostics.length > 0;\n      }\n      function grammarErrorOnFirstToken(node, message, arg0, arg1, arg2) {\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          const span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n          diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message, arg0, arg1, arg2));\n          return true;\n        }\n        return false;\n      }\n      function grammarErrorAtPos(nodeForSourceFile, start, length2, message, arg0, arg1, arg2) {\n        const sourceFile = getSourceFileOfNode(nodeForSourceFile);\n        if (!hasParseDiagnostics(sourceFile)) {\n          diagnostics.add(createFileDiagnostic(sourceFile, start, length2, message, arg0, arg1, arg2));\n          return true;\n        }\n        return false;\n      }\n      function grammarErrorOnNodeSkippedOn(key, node, message, arg0, arg1, arg2) {\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          errorSkippedOn(key, node, message, arg0, arg1, arg2);\n          return true;\n        }\n        return false;\n      }\n      function grammarErrorOnNode(node, message, arg0, arg1, arg2) {\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          diagnostics.add(createDiagnosticForNode(node, message, arg0, arg1, arg2));\n          return true;\n        }\n        return false;\n      }\n      function checkGrammarConstructorTypeParameters(node) {\n        const jsdocTypeParameters = isInJSFile(node) ? getJSDocTypeParameterDeclarations(node) : void 0;\n        const range = node.typeParameters || jsdocTypeParameters && firstOrUndefined(jsdocTypeParameters);\n        if (range) {\n          const pos = range.pos === range.end ? range.pos : skipTrivia(getSourceFileOfNode(node).text, range.pos);\n          return grammarErrorAtPos(node, pos, range.end - pos, Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration);\n        }\n      }\n      function checkGrammarConstructorTypeAnnotation(node) {\n        const type = node.type || getEffectiveReturnTypeNode(node);\n        if (type) {\n          return grammarErrorOnNode(type, Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration);\n        }\n      }\n      function checkGrammarProperty(node) {\n        if (isComputedPropertyName(node.name) && isBinaryExpression(node.name.expression) && node.name.expression.operatorToken.kind === 101) {\n          return grammarErrorOnNode(node.parent.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);\n        }\n        if (isClassLike(node.parent)) {\n          if (isStringLiteral(node.name) && node.name.text === \"constructor\") {\n            return grammarErrorOnNode(node.name, Diagnostics.Classes_may_not_have_a_field_named_constructor);\n          }\n          if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)) {\n            return true;\n          }\n          if (languageVersion < 2 && isPrivateIdentifier(node.name)) {\n            return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n          }\n          if (languageVersion < 2 && isAutoAccessorPropertyDeclaration(node)) {\n            return grammarErrorOnNode(node.name, Diagnostics.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n          }\n          if (isAutoAccessorPropertyDeclaration(node) && checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_accessor_property_cannot_be_declared_optional)) {\n            return true;\n          }\n        } else if (node.parent.kind === 261) {\n          if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) {\n            return true;\n          }\n          Debug2.assertNode(node, isPropertySignature);\n          if (node.initializer) {\n            return grammarErrorOnNode(node.initializer, Diagnostics.An_interface_property_cannot_have_an_initializer);\n          }\n        } else if (isTypeLiteralNode(node.parent)) {\n          if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) {\n            return true;\n          }\n          Debug2.assertNode(node, isPropertySignature);\n          if (node.initializer) {\n            return grammarErrorOnNode(node.initializer, Diagnostics.A_type_literal_property_cannot_have_an_initializer);\n          }\n        }\n        if (node.flags & 16777216) {\n          checkAmbientInitializer(node);\n        }\n        if (isPropertyDeclaration(node) && node.exclamationToken && (!isClassLike(node.parent) || !node.type || node.initializer || node.flags & 16777216 || isStatic(node) || hasAbstractModifier(node))) {\n          const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;\n          return grammarErrorOnNode(node.exclamationToken, message);\n        }\n      }\n      function checkGrammarTopLevelElementForRequiredDeclareModifier(node) {\n        if (node.kind === 261 || node.kind === 262 || node.kind === 269 || node.kind === 268 || node.kind === 275 || node.kind === 274 || node.kind === 267 || hasSyntacticModifier(\n          node,\n          2 | 1 | 1024\n          /* Default */\n        )) {\n          return false;\n        }\n        return grammarErrorOnFirstToken(node, Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier);\n      }\n      function checkGrammarTopLevelElementsForRequiredDeclareModifier(file) {\n        for (const decl of file.statements) {\n          if (isDeclaration(decl) || decl.kind === 240) {\n            if (checkGrammarTopLevelElementForRequiredDeclareModifier(decl)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function checkGrammarSourceFile(node) {\n        return !!(node.flags & 16777216) && checkGrammarTopLevelElementsForRequiredDeclareModifier(node);\n      }\n      function checkGrammarStatementInAmbientContext(node) {\n        if (node.flags & 16777216) {\n          const links = getNodeLinks(node);\n          if (!links.hasReportedStatementInAmbientContext && (isFunctionLike(node.parent) || isAccessor(node.parent))) {\n            return getNodeLinks(node).hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);\n          }\n          if (node.parent.kind === 238 || node.parent.kind === 265 || node.parent.kind === 308) {\n            const links2 = getNodeLinks(node.parent);\n            if (!links2.hasReportedStatementInAmbientContext) {\n              return links2.hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.Statements_are_not_allowed_in_ambient_contexts);\n            }\n          } else {\n          }\n        }\n        return false;\n      }\n      function checkGrammarNumericLiteral(node) {\n        if (node.numericLiteralFlags & 32) {\n          let diagnosticMessage;\n          if (languageVersion >= 1) {\n            diagnosticMessage = Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0;\n          } else if (isChildOfNodeWithKind(\n            node,\n            198\n            /* LiteralType */\n          )) {\n            diagnosticMessage = Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0;\n          } else if (isChildOfNodeWithKind(\n            node,\n            302\n            /* EnumMember */\n          )) {\n            diagnosticMessage = Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0;\n          }\n          if (diagnosticMessage) {\n            const withMinus = isPrefixUnaryExpression(node.parent) && node.parent.operator === 40;\n            const literal = (withMinus ? \"-\" : \"\") + \"0o\" + node.text;\n            return grammarErrorOnNode(withMinus ? node.parent : node, diagnosticMessage, literal);\n          }\n        }\n        checkNumericLiteralValueSize(node);\n        return false;\n      }\n      function checkNumericLiteralValueSize(node) {\n        const isFractional = getTextOfNode(node).indexOf(\".\") !== -1;\n        const isScientific = node.numericLiteralFlags & 16;\n        if (isFractional || isScientific) {\n          return;\n        }\n        const value = +node.text;\n        if (value <= 2 ** 53 - 1) {\n          return;\n        }\n        addErrorOrSuggestion(\n          /*isError*/\n          false,\n          createDiagnosticForNode(node, Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers)\n        );\n      }\n      function checkGrammarBigIntLiteral(node) {\n        const literalType = isLiteralTypeNode(node.parent) || isPrefixUnaryExpression(node.parent) && isLiteralTypeNode(node.parent.parent);\n        if (!literalType) {\n          if (languageVersion < 7) {\n            if (grammarErrorOnNode(node, Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function grammarErrorAfterFirstToken(node, message, arg0, arg1, arg2) {\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          const span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n          diagnostics.add(createFileDiagnostic(\n            sourceFile,\n            textSpanEnd(span),\n            /*length*/\n            0,\n            message,\n            arg0,\n            arg1,\n            arg2\n          ));\n          return true;\n        }\n        return false;\n      }\n      function getAmbientModules() {\n        if (!ambientModulesCache) {\n          ambientModulesCache = [];\n          globals.forEach((global2, sym) => {\n            if (ambientModuleSymbolRegex.test(sym)) {\n              ambientModulesCache.push(global2);\n            }\n          });\n        }\n        return ambientModulesCache;\n      }\n      function checkGrammarImportClause(node) {\n        var _a22;\n        if (node.isTypeOnly && node.name && node.namedBindings) {\n          return grammarErrorOnNode(node, Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);\n        }\n        if (node.isTypeOnly && ((_a22 = node.namedBindings) == null ? void 0 : _a22.kind) === 272) {\n          return checkGrammarNamedImportsOrExports(node.namedBindings);\n        }\n        return false;\n      }\n      function checkGrammarNamedImportsOrExports(namedBindings) {\n        return !!forEach(namedBindings.elements, (specifier) => {\n          if (specifier.isTypeOnly) {\n            return grammarErrorOnFirstToken(\n              specifier,\n              specifier.kind === 273 ? Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement : Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement\n            );\n          }\n        });\n      }\n      function checkGrammarImportCallExpression(node) {\n        if (compilerOptions.verbatimModuleSyntax && moduleKind === 1) {\n          return grammarErrorOnNode(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);\n        }\n        if (moduleKind === 5) {\n          return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);\n        }\n        if (node.typeArguments) {\n          return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);\n        }\n        const nodeArguments = node.arguments;\n        if (moduleKind !== 99 && moduleKind !== 199 && moduleKind !== 100) {\n          checkGrammarForDisallowedTrailingComma(nodeArguments);\n          if (nodeArguments.length > 1) {\n            const assertionArgument = nodeArguments[1];\n            return grammarErrorOnNode(assertionArgument, Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext);\n          }\n        }\n        if (nodeArguments.length === 0 || nodeArguments.length > 2) {\n          return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);\n        }\n        const spreadElement = find(nodeArguments, isSpreadElement);\n        if (spreadElement) {\n          return grammarErrorOnNode(spreadElement, Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element);\n        }\n        return false;\n      }\n      function findMatchingTypeReferenceOrTypeAliasReference(source, unionTarget) {\n        const sourceObjectFlags = getObjectFlags(source);\n        if (sourceObjectFlags & (4 | 16) && unionTarget.flags & 1048576) {\n          return find(unionTarget.types, (target) => {\n            if (target.flags & 524288) {\n              const overlapObjFlags = sourceObjectFlags & getObjectFlags(target);\n              if (overlapObjFlags & 4) {\n                return source.target === target.target;\n              }\n              if (overlapObjFlags & 16) {\n                return !!source.aliasSymbol && source.aliasSymbol === target.aliasSymbol;\n              }\n            }\n            return false;\n          });\n        }\n      }\n      function findBestTypeForObjectLiteral(source, unionTarget) {\n        if (getObjectFlags(source) & 128 && someType(unionTarget, isArrayLikeType)) {\n          return find(unionTarget.types, (t) => !isArrayLikeType(t));\n        }\n      }\n      function findBestTypeForInvokable(source, unionTarget) {\n        let signatureKind = 0;\n        const hasSignatures = getSignaturesOfType(source, signatureKind).length > 0 || (signatureKind = 1, getSignaturesOfType(source, signatureKind).length > 0);\n        if (hasSignatures) {\n          return find(unionTarget.types, (t) => getSignaturesOfType(t, signatureKind).length > 0);\n        }\n      }\n      function findMostOverlappyType(source, unionTarget) {\n        let bestMatch;\n        if (!(source.flags & (134348796 | 406847488))) {\n          let matchingCount = 0;\n          for (const target of unionTarget.types) {\n            if (!(target.flags & (134348796 | 406847488))) {\n              const overlap = getIntersectionType([getIndexType(source), getIndexType(target)]);\n              if (overlap.flags & 4194304) {\n                return target;\n              } else if (isUnitType(overlap) || overlap.flags & 1048576) {\n                const len = overlap.flags & 1048576 ? countWhere2(overlap.types, isUnitType) : 1;\n                if (len >= matchingCount) {\n                  bestMatch = target;\n                  matchingCount = len;\n                }\n              }\n            }\n          }\n        }\n        return bestMatch;\n      }\n      function filterPrimitivesIfContainsNonPrimitive(type) {\n        if (maybeTypeOfKind(\n          type,\n          67108864\n          /* NonPrimitive */\n        )) {\n          const result = filterType(type, (t) => !(t.flags & 134348796));\n          if (!(result.flags & 131072)) {\n            return result;\n          }\n        }\n        return type;\n      }\n      function findMatchingDiscriminantType(source, target, isRelatedTo, skipPartial) {\n        if (target.flags & 1048576 && source.flags & (2097152 | 524288)) {\n          const match = getMatchingUnionConstituentForType(target, source);\n          if (match) {\n            return match;\n          }\n          const sourceProperties = getPropertiesOfType(source);\n          if (sourceProperties) {\n            const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target);\n            if (sourcePropertiesFiltered) {\n              return discriminateTypeByDiscriminableItems(\n                target,\n                map(sourcePropertiesFiltered, (p) => [() => getTypeOfSymbol(p), p.escapedName]),\n                isRelatedTo,\n                /*defaultValue*/\n                void 0,\n                skipPartial\n              );\n            }\n          }\n        }\n        return void 0;\n      }\n    }\n    function isNotAccessor(declaration) {\n      return !isAccessor(declaration);\n    }\n    function isNotOverload(declaration) {\n      return declaration.kind !== 259 && declaration.kind !== 171 || !!declaration.body;\n    }\n    function isDeclarationNameOrImportPropertyName(name) {\n      switch (name.parent.kind) {\n        case 273:\n        case 278:\n          return isIdentifier(name);\n        default:\n          return isDeclarationName(name);\n      }\n    }\n    function getIterationTypesKeyFromIterationTypeKind(typeKind) {\n      switch (typeKind) {\n        case 0:\n          return \"yieldType\";\n        case 1:\n          return \"returnType\";\n        case 2:\n          return \"nextType\";\n      }\n    }\n    function signatureHasRestParameter(s) {\n      return !!(s.flags & 1);\n    }\n    function signatureHasLiteralTypes(s) {\n      return !!(s.flags & 2);\n    }\n    function createBasicNodeBuilderModuleSpecifierResolutionHost(host) {\n      return {\n        getCommonSourceDirectory: !!host.getCommonSourceDirectory ? () => host.getCommonSourceDirectory() : () => \"\",\n        getCurrentDirectory: () => host.getCurrentDirectory(),\n        getSymlinkCache: maybeBind(host, host.getSymlinkCache),\n        getPackageJsonInfoCache: () => {\n          var _a22;\n          return (_a22 = host.getPackageJsonInfoCache) == null ? void 0 : _a22.call(host);\n        },\n        useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames),\n        redirectTargetsMap: host.redirectTargetsMap,\n        getProjectReferenceRedirect: (fileName) => host.getProjectReferenceRedirect(fileName),\n        isSourceOfProjectReferenceRedirect: (fileName) => host.isSourceOfProjectReferenceRedirect(fileName),\n        fileExists: (fileName) => host.fileExists(fileName),\n        getFileIncludeReasons: () => host.getFileIncludeReasons(),\n        readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0\n      };\n    }\n    var ambientModuleSymbolRegex, anon, nextSymbolId, nextNodeId, nextMergeId, nextFlowId, TypeFacts, typeofNEFacts, CheckMode, SignatureCheckMode, isNotOverloadAndNotAccessor, intrinsicTypeKinds, SymbolLinks, JsxNames, SymbolTrackerImpl;\n    var init_checker = __esm({\n      \"src/compiler/checker.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_moduleSpecifiers();\n        init_ts_performance();\n        ambientModuleSymbolRegex = /^\".+\"$/;\n        anon = \"(anonymous)\";\n        nextSymbolId = 1;\n        nextNodeId = 1;\n        nextMergeId = 1;\n        nextFlowId = 1;\n        TypeFacts = /* @__PURE__ */ ((TypeFacts3) => {\n          TypeFacts3[TypeFacts3[\"None\"] = 0] = \"None\";\n          TypeFacts3[TypeFacts3[\"TypeofEQString\"] = 1] = \"TypeofEQString\";\n          TypeFacts3[TypeFacts3[\"TypeofEQNumber\"] = 2] = \"TypeofEQNumber\";\n          TypeFacts3[TypeFacts3[\"TypeofEQBigInt\"] = 4] = \"TypeofEQBigInt\";\n          TypeFacts3[TypeFacts3[\"TypeofEQBoolean\"] = 8] = \"TypeofEQBoolean\";\n          TypeFacts3[TypeFacts3[\"TypeofEQSymbol\"] = 16] = \"TypeofEQSymbol\";\n          TypeFacts3[TypeFacts3[\"TypeofEQObject\"] = 32] = \"TypeofEQObject\";\n          TypeFacts3[TypeFacts3[\"TypeofEQFunction\"] = 64] = \"TypeofEQFunction\";\n          TypeFacts3[TypeFacts3[\"TypeofEQHostObject\"] = 128] = \"TypeofEQHostObject\";\n          TypeFacts3[TypeFacts3[\"TypeofNEString\"] = 256] = \"TypeofNEString\";\n          TypeFacts3[TypeFacts3[\"TypeofNENumber\"] = 512] = \"TypeofNENumber\";\n          TypeFacts3[TypeFacts3[\"TypeofNEBigInt\"] = 1024] = \"TypeofNEBigInt\";\n          TypeFacts3[TypeFacts3[\"TypeofNEBoolean\"] = 2048] = \"TypeofNEBoolean\";\n          TypeFacts3[TypeFacts3[\"TypeofNESymbol\"] = 4096] = \"TypeofNESymbol\";\n          TypeFacts3[TypeFacts3[\"TypeofNEObject\"] = 8192] = \"TypeofNEObject\";\n          TypeFacts3[TypeFacts3[\"TypeofNEFunction\"] = 16384] = \"TypeofNEFunction\";\n          TypeFacts3[TypeFacts3[\"TypeofNEHostObject\"] = 32768] = \"TypeofNEHostObject\";\n          TypeFacts3[TypeFacts3[\"EQUndefined\"] = 65536] = \"EQUndefined\";\n          TypeFacts3[TypeFacts3[\"EQNull\"] = 131072] = \"EQNull\";\n          TypeFacts3[TypeFacts3[\"EQUndefinedOrNull\"] = 262144] = \"EQUndefinedOrNull\";\n          TypeFacts3[TypeFacts3[\"NEUndefined\"] = 524288] = \"NEUndefined\";\n          TypeFacts3[TypeFacts3[\"NENull\"] = 1048576] = \"NENull\";\n          TypeFacts3[TypeFacts3[\"NEUndefinedOrNull\"] = 2097152] = \"NEUndefinedOrNull\";\n          TypeFacts3[TypeFacts3[\"Truthy\"] = 4194304] = \"Truthy\";\n          TypeFacts3[TypeFacts3[\"Falsy\"] = 8388608] = \"Falsy\";\n          TypeFacts3[TypeFacts3[\"IsUndefined\"] = 16777216] = \"IsUndefined\";\n          TypeFacts3[TypeFacts3[\"IsNull\"] = 33554432] = \"IsNull\";\n          TypeFacts3[TypeFacts3[\"IsUndefinedOrNull\"] = 50331648] = \"IsUndefinedOrNull\";\n          TypeFacts3[TypeFacts3[\"All\"] = 134217727] = \"All\";\n          TypeFacts3[TypeFacts3[\"BaseStringStrictFacts\"] = 3735041] = \"BaseStringStrictFacts\";\n          TypeFacts3[TypeFacts3[\"BaseStringFacts\"] = 12582401] = \"BaseStringFacts\";\n          TypeFacts3[TypeFacts3[\"StringStrictFacts\"] = 16317953] = \"StringStrictFacts\";\n          TypeFacts3[TypeFacts3[\"StringFacts\"] = 16776705] = \"StringFacts\";\n          TypeFacts3[TypeFacts3[\"EmptyStringStrictFacts\"] = 12123649] = \"EmptyStringStrictFacts\";\n          TypeFacts3[\n            TypeFacts3[\"EmptyStringFacts\"] = 12582401\n            /* BaseStringFacts */\n          ] = \"EmptyStringFacts\";\n          TypeFacts3[TypeFacts3[\"NonEmptyStringStrictFacts\"] = 7929345] = \"NonEmptyStringStrictFacts\";\n          TypeFacts3[TypeFacts3[\"NonEmptyStringFacts\"] = 16776705] = \"NonEmptyStringFacts\";\n          TypeFacts3[TypeFacts3[\"BaseNumberStrictFacts\"] = 3734786] = \"BaseNumberStrictFacts\";\n          TypeFacts3[TypeFacts3[\"BaseNumberFacts\"] = 12582146] = \"BaseNumberFacts\";\n          TypeFacts3[TypeFacts3[\"NumberStrictFacts\"] = 16317698] = \"NumberStrictFacts\";\n          TypeFacts3[TypeFacts3[\"NumberFacts\"] = 16776450] = \"NumberFacts\";\n          TypeFacts3[TypeFacts3[\"ZeroNumberStrictFacts\"] = 12123394] = \"ZeroNumberStrictFacts\";\n          TypeFacts3[\n            TypeFacts3[\"ZeroNumberFacts\"] = 12582146\n            /* BaseNumberFacts */\n          ] = \"ZeroNumberFacts\";\n          TypeFacts3[TypeFacts3[\"NonZeroNumberStrictFacts\"] = 7929090] = \"NonZeroNumberStrictFacts\";\n          TypeFacts3[TypeFacts3[\"NonZeroNumberFacts\"] = 16776450] = \"NonZeroNumberFacts\";\n          TypeFacts3[TypeFacts3[\"BaseBigIntStrictFacts\"] = 3734276] = \"BaseBigIntStrictFacts\";\n          TypeFacts3[TypeFacts3[\"BaseBigIntFacts\"] = 12581636] = \"BaseBigIntFacts\";\n          TypeFacts3[TypeFacts3[\"BigIntStrictFacts\"] = 16317188] = \"BigIntStrictFacts\";\n          TypeFacts3[TypeFacts3[\"BigIntFacts\"] = 16775940] = \"BigIntFacts\";\n          TypeFacts3[TypeFacts3[\"ZeroBigIntStrictFacts\"] = 12122884] = \"ZeroBigIntStrictFacts\";\n          TypeFacts3[\n            TypeFacts3[\"ZeroBigIntFacts\"] = 12581636\n            /* BaseBigIntFacts */\n          ] = \"ZeroBigIntFacts\";\n          TypeFacts3[TypeFacts3[\"NonZeroBigIntStrictFacts\"] = 7928580] = \"NonZeroBigIntStrictFacts\";\n          TypeFacts3[TypeFacts3[\"NonZeroBigIntFacts\"] = 16775940] = \"NonZeroBigIntFacts\";\n          TypeFacts3[TypeFacts3[\"BaseBooleanStrictFacts\"] = 3733256] = \"BaseBooleanStrictFacts\";\n          TypeFacts3[TypeFacts3[\"BaseBooleanFacts\"] = 12580616] = \"BaseBooleanFacts\";\n          TypeFacts3[TypeFacts3[\"BooleanStrictFacts\"] = 16316168] = \"BooleanStrictFacts\";\n          TypeFacts3[TypeFacts3[\"BooleanFacts\"] = 16774920] = \"BooleanFacts\";\n          TypeFacts3[TypeFacts3[\"FalseStrictFacts\"] = 12121864] = \"FalseStrictFacts\";\n          TypeFacts3[\n            TypeFacts3[\"FalseFacts\"] = 12580616\n            /* BaseBooleanFacts */\n          ] = \"FalseFacts\";\n          TypeFacts3[TypeFacts3[\"TrueStrictFacts\"] = 7927560] = \"TrueStrictFacts\";\n          TypeFacts3[TypeFacts3[\"TrueFacts\"] = 16774920] = \"TrueFacts\";\n          TypeFacts3[TypeFacts3[\"SymbolStrictFacts\"] = 7925520] = \"SymbolStrictFacts\";\n          TypeFacts3[TypeFacts3[\"SymbolFacts\"] = 16772880] = \"SymbolFacts\";\n          TypeFacts3[TypeFacts3[\"ObjectStrictFacts\"] = 7888800] = \"ObjectStrictFacts\";\n          TypeFacts3[TypeFacts3[\"ObjectFacts\"] = 16736160] = \"ObjectFacts\";\n          TypeFacts3[TypeFacts3[\"FunctionStrictFacts\"] = 7880640] = \"FunctionStrictFacts\";\n          TypeFacts3[TypeFacts3[\"FunctionFacts\"] = 16728e3] = \"FunctionFacts\";\n          TypeFacts3[TypeFacts3[\"VoidFacts\"] = 9830144] = \"VoidFacts\";\n          TypeFacts3[TypeFacts3[\"UndefinedFacts\"] = 26607360] = \"UndefinedFacts\";\n          TypeFacts3[TypeFacts3[\"NullFacts\"] = 42917664] = \"NullFacts\";\n          TypeFacts3[TypeFacts3[\"EmptyObjectStrictFacts\"] = 83427327] = \"EmptyObjectStrictFacts\";\n          TypeFacts3[TypeFacts3[\"EmptyObjectFacts\"] = 83886079] = \"EmptyObjectFacts\";\n          TypeFacts3[TypeFacts3[\"UnknownFacts\"] = 83886079] = \"UnknownFacts\";\n          TypeFacts3[TypeFacts3[\"AllTypeofNE\"] = 556800] = \"AllTypeofNE\";\n          TypeFacts3[TypeFacts3[\"OrFactsMask\"] = 8256] = \"OrFactsMask\";\n          TypeFacts3[TypeFacts3[\"AndFactsMask\"] = 134209471] = \"AndFactsMask\";\n          return TypeFacts3;\n        })(TypeFacts || {});\n        typeofNEFacts = new Map(Object.entries({\n          string: 256,\n          number: 512,\n          bigint: 1024,\n          boolean: 2048,\n          symbol: 4096,\n          undefined: 524288,\n          object: 8192,\n          function: 16384\n          /* TypeofNEFunction */\n        }));\n        CheckMode = /* @__PURE__ */ ((CheckMode3) => {\n          CheckMode3[CheckMode3[\"Normal\"] = 0] = \"Normal\";\n          CheckMode3[CheckMode3[\"Contextual\"] = 1] = \"Contextual\";\n          CheckMode3[CheckMode3[\"Inferential\"] = 2] = \"Inferential\";\n          CheckMode3[CheckMode3[\"SkipContextSensitive\"] = 4] = \"SkipContextSensitive\";\n          CheckMode3[CheckMode3[\"SkipGenericFunctions\"] = 8] = \"SkipGenericFunctions\";\n          CheckMode3[CheckMode3[\"IsForSignatureHelp\"] = 16] = \"IsForSignatureHelp\";\n          CheckMode3[CheckMode3[\"IsForStringLiteralArgumentCompletions\"] = 32] = \"IsForStringLiteralArgumentCompletions\";\n          CheckMode3[CheckMode3[\"RestBindingElement\"] = 64] = \"RestBindingElement\";\n          return CheckMode3;\n        })(CheckMode || {});\n        SignatureCheckMode = /* @__PURE__ */ ((SignatureCheckMode3) => {\n          SignatureCheckMode3[SignatureCheckMode3[\"None\"] = 0] = \"None\";\n          SignatureCheckMode3[SignatureCheckMode3[\"BivariantCallback\"] = 1] = \"BivariantCallback\";\n          SignatureCheckMode3[SignatureCheckMode3[\"StrictCallback\"] = 2] = \"StrictCallback\";\n          SignatureCheckMode3[SignatureCheckMode3[\"IgnoreReturnTypes\"] = 4] = \"IgnoreReturnTypes\";\n          SignatureCheckMode3[SignatureCheckMode3[\"StrictArity\"] = 8] = \"StrictArity\";\n          SignatureCheckMode3[SignatureCheckMode3[\"StrictTopSignature\"] = 16] = \"StrictTopSignature\";\n          SignatureCheckMode3[SignatureCheckMode3[\"Callback\"] = 3] = \"Callback\";\n          return SignatureCheckMode3;\n        })(SignatureCheckMode || {});\n        isNotOverloadAndNotAccessor = and(isNotOverload, isNotAccessor);\n        intrinsicTypeKinds = new Map(Object.entries({\n          Uppercase: 0,\n          Lowercase: 1,\n          Capitalize: 2,\n          Uncapitalize: 3\n          /* Uncapitalize */\n        }));\n        SymbolLinks = class {\n        };\n        ((JsxNames2) => {\n          JsxNames2.JSX = \"JSX\";\n          JsxNames2.IntrinsicElements = \"IntrinsicElements\";\n          JsxNames2.ElementClass = \"ElementClass\";\n          JsxNames2.ElementAttributesPropertyNameContainer = \"ElementAttributesProperty\";\n          JsxNames2.ElementChildrenAttributeNameContainer = \"ElementChildrenAttribute\";\n          JsxNames2.Element = \"Element\";\n          JsxNames2.IntrinsicAttributes = \"IntrinsicAttributes\";\n          JsxNames2.IntrinsicClassAttributes = \"IntrinsicClassAttributes\";\n          JsxNames2.LibraryManagedAttributes = \"LibraryManagedAttributes\";\n        })(JsxNames || (JsxNames = {}));\n        SymbolTrackerImpl = class {\n          constructor(context, tracker, moduleResolverHost) {\n            this.moduleResolverHost = void 0;\n            this.inner = void 0;\n            this.disableTrackSymbol = false;\n            var _a22;\n            while (tracker instanceof SymbolTrackerImpl) {\n              tracker = tracker.inner;\n            }\n            this.inner = tracker;\n            this.moduleResolverHost = moduleResolverHost;\n            this.context = context;\n            this.canTrackSymbol = !!((_a22 = this.inner) == null ? void 0 : _a22.trackSymbol);\n          }\n          trackSymbol(symbol, enclosingDeclaration, meaning) {\n            var _a22;\n            if (((_a22 = this.inner) == null ? void 0 : _a22.trackSymbol) && !this.disableTrackSymbol) {\n              if (this.inner.trackSymbol(symbol, enclosingDeclaration, meaning)) {\n                this.onDiagnosticReported();\n                return true;\n              }\n            }\n            return false;\n          }\n          reportInaccessibleThisError() {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportInaccessibleThisError) {\n              this.onDiagnosticReported();\n              this.inner.reportInaccessibleThisError();\n            }\n          }\n          reportPrivateInBaseOfClassExpression(propertyName) {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportPrivateInBaseOfClassExpression) {\n              this.onDiagnosticReported();\n              this.inner.reportPrivateInBaseOfClassExpression(propertyName);\n            }\n          }\n          reportInaccessibleUniqueSymbolError() {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportInaccessibleUniqueSymbolError) {\n              this.onDiagnosticReported();\n              this.inner.reportInaccessibleUniqueSymbolError();\n            }\n          }\n          reportCyclicStructureError() {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportCyclicStructureError) {\n              this.onDiagnosticReported();\n              this.inner.reportCyclicStructureError();\n            }\n          }\n          reportLikelyUnsafeImportRequiredError(specifier) {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportLikelyUnsafeImportRequiredError) {\n              this.onDiagnosticReported();\n              this.inner.reportLikelyUnsafeImportRequiredError(specifier);\n            }\n          }\n          reportTruncationError() {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportTruncationError) {\n              this.onDiagnosticReported();\n              this.inner.reportTruncationError();\n            }\n          }\n          trackReferencedAmbientModule(decl, symbol) {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.trackReferencedAmbientModule) {\n              this.onDiagnosticReported();\n              this.inner.trackReferencedAmbientModule(decl, symbol);\n            }\n          }\n          trackExternalModuleSymbolOfImportTypeNode(symbol) {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.trackExternalModuleSymbolOfImportTypeNode) {\n              this.onDiagnosticReported();\n              this.inner.trackExternalModuleSymbolOfImportTypeNode(symbol);\n            }\n          }\n          reportNonlocalAugmentation(containingFile, parentSymbol, augmentingSymbol) {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportNonlocalAugmentation) {\n              this.onDiagnosticReported();\n              this.inner.reportNonlocalAugmentation(containingFile, parentSymbol, augmentingSymbol);\n            }\n          }\n          reportNonSerializableProperty(propertyName) {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportNonSerializableProperty) {\n              this.onDiagnosticReported();\n              this.inner.reportNonSerializableProperty(propertyName);\n            }\n          }\n          reportImportTypeNodeResolutionModeOverride() {\n            var _a22;\n            if ((_a22 = this.inner) == null ? void 0 : _a22.reportImportTypeNodeResolutionModeOverride) {\n              this.onDiagnosticReported();\n              this.inner.reportImportTypeNodeResolutionModeOverride();\n            }\n          }\n          onDiagnosticReported() {\n            this.context.reportedDiagnostic = true;\n          }\n        };\n      }\n    });\n    function visitNode(node, visitor, test, lift) {\n      if (node === void 0) {\n        return node;\n      }\n      const visited = visitor(node);\n      let visitedNode;\n      if (visited === void 0) {\n        return void 0;\n      } else if (isArray(visited)) {\n        visitedNode = (lift || extractSingleNode)(visited);\n      } else {\n        visitedNode = visited;\n      }\n      Debug2.assertNode(visitedNode, test);\n      return visitedNode;\n    }\n    function visitNodes2(nodes, visitor, test, start, count) {\n      if (nodes === void 0) {\n        return nodes;\n      }\n      const length2 = nodes.length;\n      if (start === void 0 || start < 0) {\n        start = 0;\n      }\n      if (count === void 0 || count > length2 - start) {\n        count = length2 - start;\n      }\n      let hasTrailingComma;\n      let pos = -1;\n      let end = -1;\n      if (start > 0 || count < length2) {\n        hasTrailingComma = nodes.hasTrailingComma && start + count === length2;\n      } else {\n        pos = nodes.pos;\n        end = nodes.end;\n        hasTrailingComma = nodes.hasTrailingComma;\n      }\n      const updated = visitArrayWorker(nodes, visitor, test, start, count);\n      if (updated !== nodes) {\n        const updatedArray = factory.createNodeArray(updated, hasTrailingComma);\n        setTextRangePosEnd(updatedArray, pos, end);\n        return updatedArray;\n      }\n      return nodes;\n    }\n    function visitArray(nodes, visitor, test, start, count) {\n      if (nodes === void 0) {\n        return nodes;\n      }\n      const length2 = nodes.length;\n      if (start === void 0 || start < 0) {\n        start = 0;\n      }\n      if (count === void 0 || count > length2 - start) {\n        count = length2 - start;\n      }\n      return visitArrayWorker(nodes, visitor, test, start, count);\n    }\n    function visitArrayWorker(nodes, visitor, test, start, count) {\n      let updated;\n      const length2 = nodes.length;\n      if (start > 0 || count < length2) {\n        updated = [];\n      }\n      for (let i = 0; i < count; i++) {\n        const node = nodes[i + start];\n        const visited = node !== void 0 ? visitor ? visitor(node) : node : void 0;\n        if (updated !== void 0 || visited === void 0 || visited !== node) {\n          if (updated === void 0) {\n            updated = nodes.slice(0, i);\n            Debug2.assertEachNode(updated, test);\n          }\n          if (visited) {\n            if (isArray(visited)) {\n              for (const visitedNode of visited) {\n                Debug2.assertNode(visitedNode, test);\n                updated.push(visitedNode);\n              }\n            } else {\n              Debug2.assertNode(visited, test);\n              updated.push(visited);\n            }\n          }\n        }\n      }\n      if (updated) {\n        return updated;\n      }\n      Debug2.assertEachNode(nodes, test);\n      return nodes;\n    }\n    function visitLexicalEnvironment(statements, visitor, context, start, ensureUseStrict, nodesVisitor = visitNodes2) {\n      context.startLexicalEnvironment();\n      statements = nodesVisitor(statements, visitor, isStatement, start);\n      if (ensureUseStrict)\n        statements = context.factory.ensureUseStrict(statements);\n      return factory.mergeLexicalEnvironment(statements, context.endLexicalEnvironment());\n    }\n    function visitParameterList(nodes, visitor, context, nodesVisitor = visitNodes2) {\n      let updated;\n      context.startLexicalEnvironment();\n      if (nodes) {\n        context.setLexicalEnvironmentFlags(1, true);\n        updated = nodesVisitor(nodes, visitor, isParameter);\n        if (context.getLexicalEnvironmentFlags() & 2 && getEmitScriptTarget(context.getCompilerOptions()) >= 2) {\n          updated = addDefaultValueAssignmentsIfNeeded(updated, context);\n        }\n        context.setLexicalEnvironmentFlags(1, false);\n      }\n      context.suspendLexicalEnvironment();\n      return updated;\n    }\n    function addDefaultValueAssignmentsIfNeeded(parameters, context) {\n      let result;\n      for (let i = 0; i < parameters.length; i++) {\n        const parameter = parameters[i];\n        const updated = addDefaultValueAssignmentIfNeeded(parameter, context);\n        if (result || updated !== parameter) {\n          if (!result)\n            result = parameters.slice(0, i);\n          result[i] = updated;\n        }\n      }\n      if (result) {\n        return setTextRange(context.factory.createNodeArray(result, parameters.hasTrailingComma), parameters);\n      }\n      return parameters;\n    }\n    function addDefaultValueAssignmentIfNeeded(parameter, context) {\n      return parameter.dotDotDotToken ? parameter : isBindingPattern(parameter.name) ? addDefaultValueAssignmentForBindingPattern(parameter, context) : parameter.initializer ? addDefaultValueAssignmentForInitializer(parameter, parameter.name, parameter.initializer, context) : parameter;\n    }\n    function addDefaultValueAssignmentForBindingPattern(parameter, context) {\n      const { factory: factory2 } = context;\n      context.addInitializationStatement(\n        factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory2.createVariableDeclarationList([\n            factory2.createVariableDeclaration(\n              parameter.name,\n              /*exclamationToken*/\n              void 0,\n              parameter.type,\n              parameter.initializer ? factory2.createConditionalExpression(\n                factory2.createStrictEquality(\n                  factory2.getGeneratedNameForNode(parameter),\n                  factory2.createVoidZero()\n                ),\n                /*questionToken*/\n                void 0,\n                parameter.initializer,\n                /*colonToken*/\n                void 0,\n                factory2.getGeneratedNameForNode(parameter)\n              ) : factory2.getGeneratedNameForNode(parameter)\n            )\n          ])\n        )\n      );\n      return factory2.updateParameterDeclaration(\n        parameter,\n        parameter.modifiers,\n        parameter.dotDotDotToken,\n        factory2.getGeneratedNameForNode(parameter),\n        parameter.questionToken,\n        parameter.type,\n        /*initializer*/\n        void 0\n      );\n    }\n    function addDefaultValueAssignmentForInitializer(parameter, name, initializer, context) {\n      const factory2 = context.factory;\n      context.addInitializationStatement(\n        factory2.createIfStatement(\n          factory2.createTypeCheck(factory2.cloneNode(name), \"undefined\"),\n          setEmitFlags(\n            setTextRange(\n              factory2.createBlock([\n                factory2.createExpressionStatement(\n                  setEmitFlags(\n                    setTextRange(\n                      factory2.createAssignment(\n                        setEmitFlags(\n                          factory2.cloneNode(name),\n                          96\n                          /* NoSourceMap */\n                        ),\n                        setEmitFlags(\n                          initializer,\n                          96 | getEmitFlags(initializer) | 3072\n                          /* NoComments */\n                        )\n                      ),\n                      parameter\n                    ),\n                    3072\n                    /* NoComments */\n                  )\n                )\n              ]),\n              parameter\n            ),\n            1 | 64 | 768 | 3072\n            /* NoComments */\n          )\n        )\n      );\n      return factory2.updateParameterDeclaration(\n        parameter,\n        parameter.modifiers,\n        parameter.dotDotDotToken,\n        parameter.name,\n        parameter.questionToken,\n        parameter.type,\n        /*initializer*/\n        void 0\n      );\n    }\n    function visitFunctionBody(node, visitor, context, nodeVisitor = visitNode) {\n      context.resumeLexicalEnvironment();\n      const updated = nodeVisitor(node, visitor, isConciseBody);\n      const declarations = context.endLexicalEnvironment();\n      if (some(declarations)) {\n        if (!updated) {\n          return context.factory.createBlock(declarations);\n        }\n        const block = context.factory.converters.convertToFunctionBlock(updated);\n        const statements = factory.mergeLexicalEnvironment(block.statements, declarations);\n        return context.factory.updateBlock(block, statements);\n      }\n      return updated;\n    }\n    function visitIterationBody(body, visitor, context, nodeVisitor = visitNode) {\n      context.startBlockScope();\n      const updated = nodeVisitor(body, visitor, isStatement, context.factory.liftToBlock);\n      Debug2.assert(updated);\n      const declarations = context.endBlockScope();\n      if (some(declarations)) {\n        if (isBlock(updated)) {\n          declarations.push(...updated.statements);\n          return context.factory.updateBlock(updated, declarations);\n        }\n        declarations.push(updated);\n        return context.factory.createBlock(declarations);\n      }\n      return updated;\n    }\n    function visitCommaListElements(elements, visitor, discardVisitor = visitor) {\n      if (discardVisitor === visitor || elements.length <= 1) {\n        return visitNodes2(elements, visitor, isExpression);\n      }\n      let i = 0;\n      const length2 = elements.length;\n      return visitNodes2(elements, (node) => {\n        const discarded = i < length2 - 1;\n        i++;\n        return discarded ? discardVisitor(node) : visitor(node);\n      }, isExpression);\n    }\n    function visitEachChild(node, visitor, context, nodesVisitor = visitNodes2, tokenVisitor, nodeVisitor = visitNode) {\n      if (node === void 0) {\n        return void 0;\n      }\n      const fn = visitEachChildTable[node.kind];\n      return fn === void 0 ? node : fn(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor);\n    }\n    function extractSingleNode(nodes) {\n      Debug2.assert(nodes.length <= 1, \"Too many nodes written to output.\");\n      return singleOrUndefined(nodes);\n    }\n    var visitEachChildTable;\n    var init_visitorPublic = __esm({\n      \"src/compiler/visitorPublic.ts\"() {\n        \"use strict\";\n        init_ts2();\n        visitEachChildTable = {\n          [\n            163\n            /* QualifiedName */\n          ]: function visitEachChildOfQualifiedName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateQualifiedName(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.left, visitor, isEntityName)),\n              Debug2.checkDefined(nodeVisitor(node.right, visitor, isIdentifier))\n            );\n          },\n          [\n            164\n            /* ComputedPropertyName */\n          ]: function visitEachChildOfComputedPropertyName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateComputedPropertyName(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          // Signature elements\n          [\n            165\n            /* TypeParameter */\n          ]: function visitEachChildOfTypeParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeParameterDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              nodeVisitor(node.constraint, visitor, isTypeNode),\n              nodeVisitor(node.default, visitor, isTypeNode)\n            );\n          },\n          [\n            166\n            /* Parameter */\n          ]: function visitEachChildOfParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateParameterDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isBindingName)),\n              tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken,\n              nodeVisitor(node.type, visitor, isTypeNode),\n              nodeVisitor(node.initializer, visitor, isExpression)\n            );\n          },\n          [\n            167\n            /* Decorator */\n          ]: function visitEachChildOfDecorator(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateDecorator(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          // Type elements\n          [\n            168\n            /* PropertySignature */\n          ]: function visitEachChildOfPropertySignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updatePropertySignature(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken,\n              nodeVisitor(node.type, visitor, isTypeNode)\n            );\n          },\n          [\n            169\n            /* PropertyDeclaration */\n          ]: function visitEachChildOfPropertyDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            var _a22, _b3;\n            return context.factory.updatePropertyDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              // QuestionToken and ExclamationToken are mutually exclusive in PropertyDeclaration\n              tokenVisitor ? nodeVisitor((_a22 = node.questionToken) != null ? _a22 : node.exclamationToken, tokenVisitor, isQuestionOrExclamationToken) : (_b3 = node.questionToken) != null ? _b3 : node.exclamationToken,\n              nodeVisitor(node.type, visitor, isTypeNode),\n              nodeVisitor(node.initializer, visitor, isExpression)\n            );\n          },\n          [\n            170\n            /* MethodSignature */\n          ]: function visitEachChildOfMethodSignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateMethodSignature(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken,\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.parameters, visitor, isParameter),\n              nodeVisitor(node.type, visitor, isTypeNode)\n            );\n          },\n          [\n            171\n            /* MethodDeclaration */\n          ]: function visitEachChildOfMethodDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateMethodDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken,\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              nodeVisitor(node.type, visitor, isTypeNode),\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            173\n            /* Constructor */\n          ]: function visitEachChildOfConstructorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateConstructorDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            174\n            /* GetAccessor */\n          ]: function visitEachChildOfGetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateGetAccessorDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              nodeVisitor(node.type, visitor, isTypeNode),\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            175\n            /* SetAccessor */\n          ]: function visitEachChildOfSetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateSetAccessorDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            172\n            /* ClassStaticBlockDeclaration */\n          ]: function visitEachChildOfClassStaticBlockDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            context.startLexicalEnvironment();\n            context.suspendLexicalEnvironment();\n            return context.factory.updateClassStaticBlockDeclaration(\n              node,\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            176\n            /* CallSignature */\n          ]: function visitEachChildOfCallSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateCallSignature(\n              node,\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.parameters, visitor, isParameter),\n              nodeVisitor(node.type, visitor, isTypeNode)\n            );\n          },\n          [\n            177\n            /* ConstructSignature */\n          ]: function visitEachChildOfConstructSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateConstructSignature(\n              node,\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.parameters, visitor, isParameter),\n              nodeVisitor(node.type, visitor, isTypeNode)\n            );\n          },\n          [\n            178\n            /* IndexSignature */\n          ]: function visitEachChildOfIndexSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateIndexSignature(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              nodesVisitor(node.parameters, visitor, isParameter),\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          // Types\n          [\n            179\n            /* TypePredicate */\n          ]: function visitEachChildOfTypePredicateNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypePredicateNode(\n              node,\n              nodeVisitor(node.assertsModifier, visitor, isAssertsKeyword),\n              Debug2.checkDefined(nodeVisitor(node.parameterName, visitor, isIdentifierOrThisTypeNode)),\n              nodeVisitor(node.type, visitor, isTypeNode)\n            );\n          },\n          [\n            180\n            /* TypeReference */\n          ]: function visitEachChildOfTypeReferenceNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeReferenceNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.typeName, visitor, isEntityName)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode)\n            );\n          },\n          [\n            181\n            /* FunctionType */\n          ]: function visitEachChildOfFunctionTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateFunctionTypeNode(\n              node,\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.parameters, visitor, isParameter),\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            182\n            /* ConstructorType */\n          ]: function visitEachChildOfConstructorTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateConstructorTypeNode(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.parameters, visitor, isParameter),\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            183\n            /* TypeQuery */\n          ]: function visitEachChildOfTypeQueryNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeQueryNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.exprName, visitor, isEntityName)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode)\n            );\n          },\n          [\n            184\n            /* TypeLiteral */\n          ]: function visitEachChildOfTypeLiteralNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeLiteralNode(\n              node,\n              nodesVisitor(node.members, visitor, isTypeElement)\n            );\n          },\n          [\n            185\n            /* ArrayType */\n          ]: function visitEachChildOfArrayTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateArrayTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.elementType, visitor, isTypeNode))\n            );\n          },\n          [\n            186\n            /* TupleType */\n          ]: function visitEachChildOfTupleTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTupleTypeNode(\n              node,\n              nodesVisitor(node.elements, visitor, isTypeNode)\n            );\n          },\n          [\n            187\n            /* OptionalType */\n          ]: function visitEachChildOfOptionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateOptionalTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            188\n            /* RestType */\n          ]: function visitEachChildOfRestTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateRestTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            189\n            /* UnionType */\n          ]: function visitEachChildOfUnionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateUnionTypeNode(\n              node,\n              nodesVisitor(node.types, visitor, isTypeNode)\n            );\n          },\n          [\n            190\n            /* IntersectionType */\n          ]: function visitEachChildOfIntersectionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateIntersectionTypeNode(\n              node,\n              nodesVisitor(node.types, visitor, isTypeNode)\n            );\n          },\n          [\n            191\n            /* ConditionalType */\n          ]: function visitEachChildOfConditionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateConditionalTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.checkType, visitor, isTypeNode)),\n              Debug2.checkDefined(nodeVisitor(node.extendsType, visitor, isTypeNode)),\n              Debug2.checkDefined(nodeVisitor(node.trueType, visitor, isTypeNode)),\n              Debug2.checkDefined(nodeVisitor(node.falseType, visitor, isTypeNode))\n            );\n          },\n          [\n            192\n            /* InferType */\n          ]: function visitEachChildOfInferTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateInferTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration))\n            );\n          },\n          [\n            202\n            /* ImportType */\n          ]: function visitEachChildOfImportTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateImportTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.argument, visitor, isTypeNode)),\n              nodeVisitor(node.assertions, visitor, isImportTypeAssertionContainer),\n              nodeVisitor(node.qualifier, visitor, isEntityName),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              node.isTypeOf\n            );\n          },\n          [\n            298\n            /* ImportTypeAssertionContainer */\n          ]: function visitEachChildOfImportTypeAssertionContainer(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateImportTypeAssertionContainer(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.assertClause, visitor, isAssertClause)),\n              node.multiLine\n            );\n          },\n          [\n            199\n            /* NamedTupleMember */\n          ]: function visitEachChildOfNamedTupleMember(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateNamedTupleMember(\n              node,\n              tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken) : node.questionToken,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            193\n            /* ParenthesizedType */\n          ]: function visitEachChildOfParenthesizedType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateParenthesizedType(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            195\n            /* TypeOperator */\n          ]: function visitEachChildOfTypeOperatorNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeOperatorNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            196\n            /* IndexedAccessType */\n          ]: function visitEachChildOfIndexedAccessType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateIndexedAccessTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.objectType, visitor, isTypeNode)),\n              Debug2.checkDefined(nodeVisitor(node.indexType, visitor, isTypeNode))\n            );\n          },\n          [\n            197\n            /* MappedType */\n          ]: function visitEachChildOfMappedType(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateMappedTypeNode(\n              node,\n              tokenVisitor ? nodeVisitor(node.readonlyToken, tokenVisitor, isReadonlyKeywordOrPlusOrMinusToken) : node.readonlyToken,\n              Debug2.checkDefined(nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration)),\n              nodeVisitor(node.nameType, visitor, isTypeNode),\n              tokenVisitor ? nodeVisitor(node.questionToken, tokenVisitor, isQuestionOrPlusOrMinusToken) : node.questionToken,\n              nodeVisitor(node.type, visitor, isTypeNode),\n              nodesVisitor(node.members, visitor, isTypeElement)\n            );\n          },\n          [\n            198\n            /* LiteralType */\n          ]: function visitEachChildOfLiteralTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateLiteralTypeNode(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.literal, visitor, isLiteralTypeLiteral))\n            );\n          },\n          [\n            200\n            /* TemplateLiteralType */\n          ]: function visitEachChildOfTemplateLiteralType(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTemplateLiteralType(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.head, visitor, isTemplateHead)),\n              nodesVisitor(node.templateSpans, visitor, isTemplateLiteralTypeSpan)\n            );\n          },\n          [\n            201\n            /* TemplateLiteralTypeSpan */\n          ]: function visitEachChildOfTemplateLiteralTypeSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTemplateLiteralTypeSpan(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)),\n              Debug2.checkDefined(nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail))\n            );\n          },\n          // Binding patterns\n          [\n            203\n            /* ObjectBindingPattern */\n          ]: function visitEachChildOfObjectBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateObjectBindingPattern(\n              node,\n              nodesVisitor(node.elements, visitor, isBindingElement)\n            );\n          },\n          [\n            204\n            /* ArrayBindingPattern */\n          ]: function visitEachChildOfArrayBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateArrayBindingPattern(\n              node,\n              nodesVisitor(node.elements, visitor, isArrayBindingElement)\n            );\n          },\n          [\n            205\n            /* BindingElement */\n          ]: function visitEachChildOfBindingElement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateBindingElement(\n              node,\n              tokenVisitor ? nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken) : node.dotDotDotToken,\n              nodeVisitor(node.propertyName, visitor, isPropertyName),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isBindingName)),\n              nodeVisitor(node.initializer, visitor, isExpression)\n            );\n          },\n          // Expression\n          [\n            206\n            /* ArrayLiteralExpression */\n          ]: function visitEachChildOfArrayLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateArrayLiteralExpression(\n              node,\n              nodesVisitor(node.elements, visitor, isExpression)\n            );\n          },\n          [\n            207\n            /* ObjectLiteralExpression */\n          ]: function visitEachChildOfObjectLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateObjectLiteralExpression(\n              node,\n              nodesVisitor(node.properties, visitor, isObjectLiteralElementLike)\n            );\n          },\n          [\n            208\n            /* PropertyAccessExpression */\n          ]: function visitEachChildOfPropertyAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return isPropertyAccessChain(node) ? context.factory.updatePropertyAccessChain(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isMemberName))\n            ) : context.factory.updatePropertyAccessExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isMemberName))\n            );\n          },\n          [\n            209\n            /* ElementAccessExpression */\n          ]: function visitEachChildOfElementAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return isElementAccessChain(node) ? context.factory.updateElementAccessChain(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken,\n              Debug2.checkDefined(nodeVisitor(node.argumentExpression, visitor, isExpression))\n            ) : context.factory.updateElementAccessExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.argumentExpression, visitor, isExpression))\n            );\n          },\n          [\n            210\n            /* CallExpression */\n          ]: function visitEachChildOfCallExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return isCallChain(node) ? context.factory.updateCallChain(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              tokenVisitor ? nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken) : node.questionDotToken,\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              nodesVisitor(node.arguments, visitor, isExpression)\n            ) : context.factory.updateCallExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              nodesVisitor(node.arguments, visitor, isExpression)\n            );\n          },\n          [\n            211\n            /* NewExpression */\n          ]: function visitEachChildOfNewExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateNewExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              nodesVisitor(node.arguments, visitor, isExpression)\n            );\n          },\n          [\n            212\n            /* TaggedTemplateExpression */\n          ]: function visitEachChildOfTaggedTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTaggedTemplateExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.tag, visitor, isExpression)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              Debug2.checkDefined(nodeVisitor(node.template, visitor, isTemplateLiteral))\n            );\n          },\n          [\n            213\n            /* TypeAssertionExpression */\n          ]: function visitEachChildOfTypeAssertionExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeAssertion(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode)),\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            214\n            /* ParenthesizedExpression */\n          ]: function visitEachChildOfParenthesizedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateParenthesizedExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            215\n            /* FunctionExpression */\n          ]: function visitEachChildOfFunctionExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateFunctionExpression(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken,\n              nodeVisitor(node.name, visitor, isIdentifier),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              nodeVisitor(node.type, visitor, isTypeNode),\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            216\n            /* ArrowFunction */\n          ]: function visitEachChildOfArrowFunction(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateArrowFunction(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              nodeVisitor(node.type, visitor, isTypeNode),\n              tokenVisitor ? Debug2.checkDefined(nodeVisitor(node.equalsGreaterThanToken, tokenVisitor, isEqualsGreaterThanToken)) : node.equalsGreaterThanToken,\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            217\n            /* DeleteExpression */\n          ]: function visitEachChildOfDeleteExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateDeleteExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            218\n            /* TypeOfExpression */\n          ]: function visitEachChildOfTypeOfExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeOfExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            219\n            /* VoidExpression */\n          ]: function visitEachChildOfVoidExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateVoidExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            220\n            /* AwaitExpression */\n          ]: function visitEachChildOfAwaitExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateAwaitExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            221\n            /* PrefixUnaryExpression */\n          ]: function visitEachChildOfPrefixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updatePrefixUnaryExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.operand, visitor, isExpression))\n            );\n          },\n          [\n            222\n            /* PostfixUnaryExpression */\n          ]: function visitEachChildOfPostfixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updatePostfixUnaryExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.operand, visitor, isExpression))\n            );\n          },\n          [\n            223\n            /* BinaryExpression */\n          ]: function visitEachChildOfBinaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateBinaryExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.left, visitor, isExpression)),\n              tokenVisitor ? Debug2.checkDefined(nodeVisitor(node.operatorToken, tokenVisitor, isBinaryOperatorToken)) : node.operatorToken,\n              Debug2.checkDefined(nodeVisitor(node.right, visitor, isExpression))\n            );\n          },\n          [\n            224\n            /* ConditionalExpression */\n          ]: function visitEachChildOfConditionalExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateConditionalExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.condition, visitor, isExpression)),\n              tokenVisitor ? Debug2.checkDefined(nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken)) : node.questionToken,\n              Debug2.checkDefined(nodeVisitor(node.whenTrue, visitor, isExpression)),\n              tokenVisitor ? Debug2.checkDefined(nodeVisitor(node.colonToken, tokenVisitor, isColonToken)) : node.colonToken,\n              Debug2.checkDefined(nodeVisitor(node.whenFalse, visitor, isExpression))\n            );\n          },\n          [\n            225\n            /* TemplateExpression */\n          ]: function visitEachChildOfTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTemplateExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.head, visitor, isTemplateHead)),\n              nodesVisitor(node.templateSpans, visitor, isTemplateSpan)\n            );\n          },\n          [\n            226\n            /* YieldExpression */\n          ]: function visitEachChildOfYieldExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateYieldExpression(\n              node,\n              tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken,\n              nodeVisitor(node.expression, visitor, isExpression)\n            );\n          },\n          [\n            227\n            /* SpreadElement */\n          ]: function visitEachChildOfSpreadElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateSpreadElement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            228\n            /* ClassExpression */\n          ]: function visitEachChildOfClassExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateClassExpression(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              nodeVisitor(node.name, visitor, isIdentifier),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n              nodesVisitor(node.members, visitor, isClassElement)\n            );\n          },\n          [\n            230\n            /* ExpressionWithTypeArguments */\n          ]: function visitEachChildOfExpressionWithTypeArguments(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateExpressionWithTypeArguments(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode)\n            );\n          },\n          [\n            231\n            /* AsExpression */\n          ]: function visitEachChildOfAsExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateAsExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            235\n            /* SatisfiesExpression */\n          ]: function visitEachChildOfSatisfiesExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateSatisfiesExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            232\n            /* NonNullExpression */\n          ]: function visitEachChildOfNonNullExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return isOptionalChain(node) ? context.factory.updateNonNullChain(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            ) : context.factory.updateNonNullExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            233\n            /* MetaProperty */\n          ]: function visitEachChildOfMetaProperty(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateMetaProperty(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier))\n            );\n          },\n          // Misc\n          [\n            236\n            /* TemplateSpan */\n          ]: function visitEachChildOfTemplateSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTemplateSpan(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail))\n            );\n          },\n          // Element\n          [\n            238\n            /* Block */\n          ]: function visitEachChildOfBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateBlock(\n              node,\n              nodesVisitor(node.statements, visitor, isStatement)\n            );\n          },\n          [\n            240\n            /* VariableStatement */\n          ]: function visitEachChildOfVariableStatement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateVariableStatement(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.declarationList, visitor, isVariableDeclarationList))\n            );\n          },\n          [\n            241\n            /* ExpressionStatement */\n          ]: function visitEachChildOfExpressionStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateExpressionStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            242\n            /* IfStatement */\n          ]: function visitEachChildOfIfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateIfStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.thenStatement, visitor, isStatement, context.factory.liftToBlock)),\n              nodeVisitor(node.elseStatement, visitor, isStatement, context.factory.liftToBlock)\n            );\n          },\n          [\n            243\n            /* DoStatement */\n          ]: function visitEachChildOfDoStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateDoStatement(\n              node,\n              visitIterationBody(node.statement, visitor, context, nodeVisitor),\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            244\n            /* WhileStatement */\n          ]: function visitEachChildOfWhileStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateWhileStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              visitIterationBody(node.statement, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            245\n            /* ForStatement */\n          ]: function visitEachChildOfForStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateForStatement(\n              node,\n              nodeVisitor(node.initializer, visitor, isForInitializer),\n              nodeVisitor(node.condition, visitor, isExpression),\n              nodeVisitor(node.incrementor, visitor, isExpression),\n              visitIterationBody(node.statement, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            246\n            /* ForInStatement */\n          ]: function visitEachChildOfForInStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateForInStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.initializer, visitor, isForInitializer)),\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              visitIterationBody(node.statement, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            247\n            /* ForOfStatement */\n          ]: function visitEachChildOfForOfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateForOfStatement(\n              node,\n              tokenVisitor ? nodeVisitor(node.awaitModifier, tokenVisitor, isAwaitKeyword) : node.awaitModifier,\n              Debug2.checkDefined(nodeVisitor(node.initializer, visitor, isForInitializer)),\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              visitIterationBody(node.statement, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            248\n            /* ContinueStatement */\n          ]: function visitEachChildOfContinueStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateContinueStatement(\n              node,\n              nodeVisitor(node.label, visitor, isIdentifier)\n            );\n          },\n          [\n            249\n            /* BreakStatement */\n          ]: function visitEachChildOfBreakStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateBreakStatement(\n              node,\n              nodeVisitor(node.label, visitor, isIdentifier)\n            );\n          },\n          [\n            250\n            /* ReturnStatement */\n          ]: function visitEachChildOfReturnStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateReturnStatement(\n              node,\n              nodeVisitor(node.expression, visitor, isExpression)\n            );\n          },\n          [\n            251\n            /* WithStatement */\n          ]: function visitEachChildOfWithStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateWithStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock))\n            );\n          },\n          [\n            252\n            /* SwitchStatement */\n          ]: function visitEachChildOfSwitchStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateSwitchStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              Debug2.checkDefined(nodeVisitor(node.caseBlock, visitor, isCaseBlock))\n            );\n          },\n          [\n            253\n            /* LabeledStatement */\n          ]: function visitEachChildOfLabeledStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateLabeledStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.label, visitor, isIdentifier)),\n              Debug2.checkDefined(nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock))\n            );\n          },\n          [\n            254\n            /* ThrowStatement */\n          ]: function visitEachChildOfThrowStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateThrowStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            255\n            /* TryStatement */\n          ]: function visitEachChildOfTryStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTryStatement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.tryBlock, visitor, isBlock)),\n              nodeVisitor(node.catchClause, visitor, isCatchClause),\n              nodeVisitor(node.finallyBlock, visitor, isBlock)\n            );\n          },\n          [\n            257\n            /* VariableDeclaration */\n          ]: function visitEachChildOfVariableDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateVariableDeclaration(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isBindingName)),\n              tokenVisitor ? nodeVisitor(node.exclamationToken, tokenVisitor, isExclamationToken) : node.exclamationToken,\n              nodeVisitor(node.type, visitor, isTypeNode),\n              nodeVisitor(node.initializer, visitor, isExpression)\n            );\n          },\n          [\n            258\n            /* VariableDeclarationList */\n          ]: function visitEachChildOfVariableDeclarationList(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateVariableDeclarationList(\n              node,\n              nodesVisitor(node.declarations, visitor, isVariableDeclaration)\n            );\n          },\n          [\n            259\n            /* FunctionDeclaration */\n          ]: function visitEachChildOfFunctionDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n            return context.factory.updateFunctionDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifier),\n              tokenVisitor ? nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken) : node.asteriskToken,\n              nodeVisitor(node.name, visitor, isIdentifier),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              visitParameterList(node.parameters, visitor, context, nodesVisitor),\n              nodeVisitor(node.type, visitor, isTypeNode),\n              visitFunctionBody(node.body, visitor, context, nodeVisitor)\n            );\n          },\n          [\n            260\n            /* ClassDeclaration */\n          ]: function visitEachChildOfClassDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateClassDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              nodeVisitor(node.name, visitor, isIdentifier),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n              nodesVisitor(node.members, visitor, isClassElement)\n            );\n          },\n          [\n            261\n            /* InterfaceDeclaration */\n          ]: function visitEachChildOfInterfaceDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateInterfaceDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n              nodesVisitor(node.members, visitor, isTypeElement)\n            );\n          },\n          [\n            262\n            /* TypeAliasDeclaration */\n          ]: function visitEachChildOfTypeAliasDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateTypeAliasDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n              Debug2.checkDefined(nodeVisitor(node.type, visitor, isTypeNode))\n            );\n          },\n          [\n            263\n            /* EnumDeclaration */\n          ]: function visitEachChildOfEnumDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateEnumDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              nodesVisitor(node.members, visitor, isEnumMember)\n            );\n          },\n          [\n            264\n            /* ModuleDeclaration */\n          ]: function visitEachChildOfModuleDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateModuleDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isModuleName)),\n              nodeVisitor(node.body, visitor, isModuleBody)\n            );\n          },\n          [\n            265\n            /* ModuleBlock */\n          ]: function visitEachChildOfModuleBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateModuleBlock(\n              node,\n              nodesVisitor(node.statements, visitor, isStatement)\n            );\n          },\n          [\n            266\n            /* CaseBlock */\n          ]: function visitEachChildOfCaseBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateCaseBlock(\n              node,\n              nodesVisitor(node.clauses, visitor, isCaseOrDefaultClause)\n            );\n          },\n          [\n            267\n            /* NamespaceExportDeclaration */\n          ]: function visitEachChildOfNamespaceExportDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateNamespaceExportDeclaration(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier))\n            );\n          },\n          [\n            268\n            /* ImportEqualsDeclaration */\n          ]: function visitEachChildOfImportEqualsDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateImportEqualsDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              node.isTypeOnly,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              Debug2.checkDefined(nodeVisitor(node.moduleReference, visitor, isModuleReference))\n            );\n          },\n          [\n            269\n            /* ImportDeclaration */\n          ]: function visitEachChildOfImportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateImportDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              nodeVisitor(node.importClause, visitor, isImportClause),\n              Debug2.checkDefined(nodeVisitor(node.moduleSpecifier, visitor, isExpression)),\n              nodeVisitor(node.assertClause, visitor, isAssertClause)\n            );\n          },\n          [\n            296\n            /* AssertClause */\n          ]: function visitEachChildOfAssertClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateAssertClause(\n              node,\n              nodesVisitor(node.elements, visitor, isAssertEntry),\n              node.multiLine\n            );\n          },\n          [\n            297\n            /* AssertEntry */\n          ]: function visitEachChildOfAssertEntry(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateAssertEntry(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isAssertionKey)),\n              Debug2.checkDefined(nodeVisitor(node.value, visitor, isExpression))\n            );\n          },\n          [\n            270\n            /* ImportClause */\n          ]: function visitEachChildOfImportClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateImportClause(\n              node,\n              node.isTypeOnly,\n              nodeVisitor(node.name, visitor, isIdentifier),\n              nodeVisitor(node.namedBindings, visitor, isNamedImportBindings)\n            );\n          },\n          [\n            271\n            /* NamespaceImport */\n          ]: function visitEachChildOfNamespaceImport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateNamespaceImport(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier))\n            );\n          },\n          [\n            277\n            /* NamespaceExport */\n          ]: function visitEachChildOfNamespaceExport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateNamespaceExport(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier))\n            );\n          },\n          [\n            272\n            /* NamedImports */\n          ]: function visitEachChildOfNamedImports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateNamedImports(\n              node,\n              nodesVisitor(node.elements, visitor, isImportSpecifier)\n            );\n          },\n          [\n            273\n            /* ImportSpecifier */\n          ]: function visitEachChildOfImportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateImportSpecifier(\n              node,\n              node.isTypeOnly,\n              nodeVisitor(node.propertyName, visitor, isIdentifier),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier))\n            );\n          },\n          [\n            274\n            /* ExportAssignment */\n          ]: function visitEachChildOfExportAssignment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateExportAssignment(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            275\n            /* ExportDeclaration */\n          ]: function visitEachChildOfExportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateExportDeclaration(\n              node,\n              nodesVisitor(node.modifiers, visitor, isModifierLike),\n              node.isTypeOnly,\n              nodeVisitor(node.exportClause, visitor, isNamedExportBindings),\n              nodeVisitor(node.moduleSpecifier, visitor, isExpression),\n              nodeVisitor(node.assertClause, visitor, isAssertClause)\n            );\n          },\n          [\n            276\n            /* NamedExports */\n          ]: function visitEachChildOfNamedExports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateNamedExports(\n              node,\n              nodesVisitor(node.elements, visitor, isExportSpecifier)\n            );\n          },\n          [\n            278\n            /* ExportSpecifier */\n          ]: function visitEachChildOfExportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateExportSpecifier(\n              node,\n              node.isTypeOnly,\n              nodeVisitor(node.propertyName, visitor, isIdentifier),\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier))\n            );\n          },\n          // Module references\n          [\n            280\n            /* ExternalModuleReference */\n          ]: function visitEachChildOfExternalModuleReference(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateExternalModuleReference(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          // JSX\n          [\n            281\n            /* JsxElement */\n          ]: function visitEachChildOfJsxElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxElement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.openingElement, visitor, isJsxOpeningElement)),\n              nodesVisitor(node.children, visitor, isJsxChild),\n              Debug2.checkDefined(nodeVisitor(node.closingElement, visitor, isJsxClosingElement))\n            );\n          },\n          [\n            282\n            /* JsxSelfClosingElement */\n          ]: function visitEachChildOfJsxSelfClosingElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxSelfClosingElement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              Debug2.checkDefined(nodeVisitor(node.attributes, visitor, isJsxAttributes))\n            );\n          },\n          [\n            283\n            /* JsxOpeningElement */\n          ]: function visitEachChildOfJsxOpeningElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxOpeningElement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)),\n              nodesVisitor(node.typeArguments, visitor, isTypeNode),\n              Debug2.checkDefined(nodeVisitor(node.attributes, visitor, isJsxAttributes))\n            );\n          },\n          [\n            284\n            /* JsxClosingElement */\n          ]: function visitEachChildOfJsxClosingElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxClosingElement(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.tagName, visitor, isJsxTagNameExpression))\n            );\n          },\n          [\n            285\n            /* JsxFragment */\n          ]: function visitEachChildOfJsxFragment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxFragment(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.openingFragment, visitor, isJsxOpeningFragment)),\n              nodesVisitor(node.children, visitor, isJsxChild),\n              Debug2.checkDefined(nodeVisitor(node.closingFragment, visitor, isJsxClosingFragment))\n            );\n          },\n          [\n            288\n            /* JsxAttribute */\n          ]: function visitEachChildOfJsxAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxAttribute(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              nodeVisitor(node.initializer, visitor, isStringLiteralOrJsxExpression)\n            );\n          },\n          [\n            289\n            /* JsxAttributes */\n          ]: function visitEachChildOfJsxAttributes(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxAttributes(\n              node,\n              nodesVisitor(node.properties, visitor, isJsxAttributeLike)\n            );\n          },\n          [\n            290\n            /* JsxSpreadAttribute */\n          ]: function visitEachChildOfJsxSpreadAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxSpreadAttribute(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            291\n            /* JsxExpression */\n          ]: function visitEachChildOfJsxExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateJsxExpression(\n              node,\n              nodeVisitor(node.expression, visitor, isExpression)\n            );\n          },\n          // Clauses\n          [\n            292\n            /* CaseClause */\n          ]: function visitEachChildOfCaseClause(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateCaseClause(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression)),\n              nodesVisitor(node.statements, visitor, isStatement)\n            );\n          },\n          [\n            293\n            /* DefaultClause */\n          ]: function visitEachChildOfDefaultClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateDefaultClause(\n              node,\n              nodesVisitor(node.statements, visitor, isStatement)\n            );\n          },\n          [\n            294\n            /* HeritageClause */\n          ]: function visitEachChildOfHeritageClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateHeritageClause(\n              node,\n              nodesVisitor(node.types, visitor, isExpressionWithTypeArguments)\n            );\n          },\n          [\n            295\n            /* CatchClause */\n          ]: function visitEachChildOfCatchClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateCatchClause(\n              node,\n              nodeVisitor(node.variableDeclaration, visitor, isVariableDeclaration),\n              Debug2.checkDefined(nodeVisitor(node.block, visitor, isBlock))\n            );\n          },\n          // Property assignments\n          [\n            299\n            /* PropertyAssignment */\n          ]: function visitEachChildOfPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updatePropertyAssignment(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              Debug2.checkDefined(nodeVisitor(node.initializer, visitor, isExpression))\n            );\n          },\n          [\n            300\n            /* ShorthandPropertyAssignment */\n          ]: function visitEachChildOfShorthandPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateShorthandPropertyAssignment(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isIdentifier)),\n              nodeVisitor(node.objectAssignmentInitializer, visitor, isExpression)\n            );\n          },\n          [\n            301\n            /* SpreadAssignment */\n          ]: function visitEachChildOfSpreadAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateSpreadAssignment(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          // Enum\n          [\n            302\n            /* EnumMember */\n          ]: function visitEachChildOfEnumMember(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updateEnumMember(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.name, visitor, isPropertyName)),\n              nodeVisitor(node.initializer, visitor, isExpression)\n            );\n          },\n          // Top-level nodes\n          [\n            308\n            /* SourceFile */\n          ]: function visitEachChildOfSourceFile(node, visitor, context, _nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateSourceFile(\n              node,\n              visitLexicalEnvironment(node.statements, visitor, context)\n            );\n          },\n          // Transformation nodes\n          [\n            356\n            /* PartiallyEmittedExpression */\n          ]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n            return context.factory.updatePartiallyEmittedExpression(\n              node,\n              Debug2.checkDefined(nodeVisitor(node.expression, visitor, isExpression))\n            );\n          },\n          [\n            357\n            /* CommaListExpression */\n          ]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n            return context.factory.updateCommaListExpression(\n              node,\n              nodesVisitor(node.elements, visitor, isExpression)\n            );\n          }\n        };\n      }\n    });\n    function createSourceMapGenerator(host, file, sourceRoot, sourcesDirectoryPath, generatorOptions) {\n      var { enter, exit } = generatorOptions.extendedDiagnostics ? createTimer(\"Source Map\", \"beforeSourcemap\", \"afterSourcemap\") : nullTimer;\n      var rawSources = [];\n      var sources = [];\n      var sourceToSourceIndexMap = /* @__PURE__ */ new Map();\n      var sourcesContent;\n      var names = [];\n      var nameToNameIndexMap;\n      var mappingCharCodes = [];\n      var mappings = \"\";\n      var lastGeneratedLine = 0;\n      var lastGeneratedCharacter = 0;\n      var lastSourceIndex = 0;\n      var lastSourceLine = 0;\n      var lastSourceCharacter = 0;\n      var lastNameIndex = 0;\n      var hasLast = false;\n      var pendingGeneratedLine = 0;\n      var pendingGeneratedCharacter = 0;\n      var pendingSourceIndex = 0;\n      var pendingSourceLine = 0;\n      var pendingSourceCharacter = 0;\n      var pendingNameIndex = 0;\n      var hasPending = false;\n      var hasPendingSource = false;\n      var hasPendingName = false;\n      return {\n        getSources: () => rawSources,\n        addSource,\n        setSourceContent,\n        addName,\n        addMapping,\n        appendSourceMap,\n        toJSON,\n        toString: () => JSON.stringify(toJSON())\n      };\n      function addSource(fileName) {\n        enter();\n        const source = getRelativePathToDirectoryOrUrl(\n          sourcesDirectoryPath,\n          fileName,\n          host.getCurrentDirectory(),\n          host.getCanonicalFileName,\n          /*isAbsolutePathAnUrl*/\n          true\n        );\n        let sourceIndex = sourceToSourceIndexMap.get(source);\n        if (sourceIndex === void 0) {\n          sourceIndex = sources.length;\n          sources.push(source);\n          rawSources.push(fileName);\n          sourceToSourceIndexMap.set(source, sourceIndex);\n        }\n        exit();\n        return sourceIndex;\n      }\n      function setSourceContent(sourceIndex, content) {\n        enter();\n        if (content !== null) {\n          if (!sourcesContent)\n            sourcesContent = [];\n          while (sourcesContent.length < sourceIndex) {\n            sourcesContent.push(null);\n          }\n          sourcesContent[sourceIndex] = content;\n        }\n        exit();\n      }\n      function addName(name) {\n        enter();\n        if (!nameToNameIndexMap)\n          nameToNameIndexMap = /* @__PURE__ */ new Map();\n        let nameIndex = nameToNameIndexMap.get(name);\n        if (nameIndex === void 0) {\n          nameIndex = names.length;\n          names.push(name);\n          nameToNameIndexMap.set(name, nameIndex);\n        }\n        exit();\n        return nameIndex;\n      }\n      function isNewGeneratedPosition(generatedLine, generatedCharacter) {\n        return !hasPending || pendingGeneratedLine !== generatedLine || pendingGeneratedCharacter !== generatedCharacter;\n      }\n      function isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter) {\n        return sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0 && pendingSourceIndex === sourceIndex && (pendingSourceLine > sourceLine || pendingSourceLine === sourceLine && pendingSourceCharacter > sourceCharacter);\n      }\n      function addMapping(generatedLine, generatedCharacter, sourceIndex, sourceLine, sourceCharacter, nameIndex) {\n        Debug2.assert(generatedLine >= pendingGeneratedLine, \"generatedLine cannot backtrack\");\n        Debug2.assert(generatedCharacter >= 0, \"generatedCharacter cannot be negative\");\n        Debug2.assert(sourceIndex === void 0 || sourceIndex >= 0, \"sourceIndex cannot be negative\");\n        Debug2.assert(sourceLine === void 0 || sourceLine >= 0, \"sourceLine cannot be negative\");\n        Debug2.assert(sourceCharacter === void 0 || sourceCharacter >= 0, \"sourceCharacter cannot be negative\");\n        enter();\n        if (isNewGeneratedPosition(generatedLine, generatedCharacter) || isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter)) {\n          commitPendingMapping();\n          pendingGeneratedLine = generatedLine;\n          pendingGeneratedCharacter = generatedCharacter;\n          hasPendingSource = false;\n          hasPendingName = false;\n          hasPending = true;\n        }\n        if (sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0) {\n          pendingSourceIndex = sourceIndex;\n          pendingSourceLine = sourceLine;\n          pendingSourceCharacter = sourceCharacter;\n          hasPendingSource = true;\n          if (nameIndex !== void 0) {\n            pendingNameIndex = nameIndex;\n            hasPendingName = true;\n          }\n        }\n        exit();\n      }\n      function appendSourceMap(generatedLine, generatedCharacter, map2, sourceMapPath, start, end) {\n        Debug2.assert(generatedLine >= pendingGeneratedLine, \"generatedLine cannot backtrack\");\n        Debug2.assert(generatedCharacter >= 0, \"generatedCharacter cannot be negative\");\n        enter();\n        const sourceIndexToNewSourceIndexMap = [];\n        let nameIndexToNewNameIndexMap;\n        const mappingIterator = decodeMappings(map2.mappings);\n        for (const raw of mappingIterator) {\n          if (end && (raw.generatedLine > end.line || raw.generatedLine === end.line && raw.generatedCharacter > end.character)) {\n            break;\n          }\n          if (start && (raw.generatedLine < start.line || start.line === raw.generatedLine && raw.generatedCharacter < start.character)) {\n            continue;\n          }\n          let newSourceIndex;\n          let newSourceLine;\n          let newSourceCharacter;\n          let newNameIndex;\n          if (raw.sourceIndex !== void 0) {\n            newSourceIndex = sourceIndexToNewSourceIndexMap[raw.sourceIndex];\n            if (newSourceIndex === void 0) {\n              const rawPath = map2.sources[raw.sourceIndex];\n              const relativePath = map2.sourceRoot ? combinePaths(map2.sourceRoot, rawPath) : rawPath;\n              const combinedPath = combinePaths(getDirectoryPath(sourceMapPath), relativePath);\n              sourceIndexToNewSourceIndexMap[raw.sourceIndex] = newSourceIndex = addSource(combinedPath);\n              if (map2.sourcesContent && typeof map2.sourcesContent[raw.sourceIndex] === \"string\") {\n                setSourceContent(newSourceIndex, map2.sourcesContent[raw.sourceIndex]);\n              }\n            }\n            newSourceLine = raw.sourceLine;\n            newSourceCharacter = raw.sourceCharacter;\n            if (map2.names && raw.nameIndex !== void 0) {\n              if (!nameIndexToNewNameIndexMap)\n                nameIndexToNewNameIndexMap = [];\n              newNameIndex = nameIndexToNewNameIndexMap[raw.nameIndex];\n              if (newNameIndex === void 0) {\n                nameIndexToNewNameIndexMap[raw.nameIndex] = newNameIndex = addName(map2.names[raw.nameIndex]);\n              }\n            }\n          }\n          const rawGeneratedLine = raw.generatedLine - (start ? start.line : 0);\n          const newGeneratedLine = rawGeneratedLine + generatedLine;\n          const rawGeneratedCharacter = start && start.line === raw.generatedLine ? raw.generatedCharacter - start.character : raw.generatedCharacter;\n          const newGeneratedCharacter = rawGeneratedLine === 0 ? rawGeneratedCharacter + generatedCharacter : rawGeneratedCharacter;\n          addMapping(newGeneratedLine, newGeneratedCharacter, newSourceIndex, newSourceLine, newSourceCharacter, newNameIndex);\n        }\n        exit();\n      }\n      function shouldCommitMapping() {\n        return !hasLast || lastGeneratedLine !== pendingGeneratedLine || lastGeneratedCharacter !== pendingGeneratedCharacter || lastSourceIndex !== pendingSourceIndex || lastSourceLine !== pendingSourceLine || lastSourceCharacter !== pendingSourceCharacter || lastNameIndex !== pendingNameIndex;\n      }\n      function appendMappingCharCode(charCode) {\n        mappingCharCodes.push(charCode);\n        if (mappingCharCodes.length >= 1024) {\n          flushMappingBuffer();\n        }\n      }\n      function commitPendingMapping() {\n        if (!hasPending || !shouldCommitMapping()) {\n          return;\n        }\n        enter();\n        if (lastGeneratedLine < pendingGeneratedLine) {\n          do {\n            appendMappingCharCode(\n              59\n              /* semicolon */\n            );\n            lastGeneratedLine++;\n          } while (lastGeneratedLine < pendingGeneratedLine);\n          lastGeneratedCharacter = 0;\n        } else {\n          Debug2.assertEqual(lastGeneratedLine, pendingGeneratedLine, \"generatedLine cannot backtrack\");\n          if (hasLast) {\n            appendMappingCharCode(\n              44\n              /* comma */\n            );\n          }\n        }\n        appendBase64VLQ(pendingGeneratedCharacter - lastGeneratedCharacter);\n        lastGeneratedCharacter = pendingGeneratedCharacter;\n        if (hasPendingSource) {\n          appendBase64VLQ(pendingSourceIndex - lastSourceIndex);\n          lastSourceIndex = pendingSourceIndex;\n          appendBase64VLQ(pendingSourceLine - lastSourceLine);\n          lastSourceLine = pendingSourceLine;\n          appendBase64VLQ(pendingSourceCharacter - lastSourceCharacter);\n          lastSourceCharacter = pendingSourceCharacter;\n          if (hasPendingName) {\n            appendBase64VLQ(pendingNameIndex - lastNameIndex);\n            lastNameIndex = pendingNameIndex;\n          }\n        }\n        hasLast = true;\n        exit();\n      }\n      function flushMappingBuffer() {\n        if (mappingCharCodes.length > 0) {\n          mappings += String.fromCharCode.apply(void 0, mappingCharCodes);\n          mappingCharCodes.length = 0;\n        }\n      }\n      function toJSON() {\n        commitPendingMapping();\n        flushMappingBuffer();\n        return {\n          version: 3,\n          file,\n          sourceRoot,\n          sources,\n          names,\n          mappings,\n          sourcesContent\n        };\n      }\n      function appendBase64VLQ(inValue) {\n        if (inValue < 0) {\n          inValue = (-inValue << 1) + 1;\n        } else {\n          inValue = inValue << 1;\n        }\n        do {\n          let currentDigit = inValue & 31;\n          inValue = inValue >> 5;\n          if (inValue > 0) {\n            currentDigit = currentDigit | 32;\n          }\n          appendMappingCharCode(base64FormatEncode(currentDigit));\n        } while (inValue > 0);\n      }\n    }\n    function getLineInfo(text, lineStarts) {\n      return {\n        getLineCount: () => lineStarts.length,\n        getLineText: (line) => text.substring(lineStarts[line], lineStarts[line + 1])\n      };\n    }\n    function tryGetSourceMappingURL(lineInfo) {\n      for (let index = lineInfo.getLineCount() - 1; index >= 0; index--) {\n        const line = lineInfo.getLineText(index);\n        const comment = sourceMapCommentRegExp.exec(line);\n        if (comment) {\n          return trimStringEnd(comment[1]);\n        } else if (!line.match(whitespaceOrMapCommentRegExp)) {\n          break;\n        }\n      }\n    }\n    function isStringOrNull(x) {\n      return typeof x === \"string\" || x === null;\n    }\n    function isRawSourceMap(x) {\n      return x !== null && typeof x === \"object\" && x.version === 3 && typeof x.file === \"string\" && typeof x.mappings === \"string\" && isArray(x.sources) && every(x.sources, isString2) && (x.sourceRoot === void 0 || x.sourceRoot === null || typeof x.sourceRoot === \"string\") && (x.sourcesContent === void 0 || x.sourcesContent === null || isArray(x.sourcesContent) && every(x.sourcesContent, isStringOrNull)) && (x.names === void 0 || x.names === null || isArray(x.names) && every(x.names, isString2));\n    }\n    function tryParseRawSourceMap(text) {\n      try {\n        const parsed = JSON.parse(text);\n        if (isRawSourceMap(parsed)) {\n          return parsed;\n        }\n      } catch (e) {\n      }\n      return void 0;\n    }\n    function decodeMappings(mappings) {\n      let done = false;\n      let pos = 0;\n      let generatedLine = 0;\n      let generatedCharacter = 0;\n      let sourceIndex = 0;\n      let sourceLine = 0;\n      let sourceCharacter = 0;\n      let nameIndex = 0;\n      let error;\n      return {\n        get pos() {\n          return pos;\n        },\n        get error() {\n          return error;\n        },\n        get state() {\n          return captureMapping(\n            /*hasSource*/\n            true,\n            /*hasName*/\n            true\n          );\n        },\n        next() {\n          while (!done && pos < mappings.length) {\n            const ch = mappings.charCodeAt(pos);\n            if (ch === 59) {\n              generatedLine++;\n              generatedCharacter = 0;\n              pos++;\n              continue;\n            }\n            if (ch === 44) {\n              pos++;\n              continue;\n            }\n            let hasSource = false;\n            let hasName = false;\n            generatedCharacter += base64VLQFormatDecode();\n            if (hasReportedError())\n              return stopIterating();\n            if (generatedCharacter < 0)\n              return setErrorAndStopIterating(\"Invalid generatedCharacter found\");\n            if (!isSourceMappingSegmentEnd()) {\n              hasSource = true;\n              sourceIndex += base64VLQFormatDecode();\n              if (hasReportedError())\n                return stopIterating();\n              if (sourceIndex < 0)\n                return setErrorAndStopIterating(\"Invalid sourceIndex found\");\n              if (isSourceMappingSegmentEnd())\n                return setErrorAndStopIterating(\"Unsupported Format: No entries after sourceIndex\");\n              sourceLine += base64VLQFormatDecode();\n              if (hasReportedError())\n                return stopIterating();\n              if (sourceLine < 0)\n                return setErrorAndStopIterating(\"Invalid sourceLine found\");\n              if (isSourceMappingSegmentEnd())\n                return setErrorAndStopIterating(\"Unsupported Format: No entries after sourceLine\");\n              sourceCharacter += base64VLQFormatDecode();\n              if (hasReportedError())\n                return stopIterating();\n              if (sourceCharacter < 0)\n                return setErrorAndStopIterating(\"Invalid sourceCharacter found\");\n              if (!isSourceMappingSegmentEnd()) {\n                hasName = true;\n                nameIndex += base64VLQFormatDecode();\n                if (hasReportedError())\n                  return stopIterating();\n                if (nameIndex < 0)\n                  return setErrorAndStopIterating(\"Invalid nameIndex found\");\n                if (!isSourceMappingSegmentEnd())\n                  return setErrorAndStopIterating(\"Unsupported Error Format: Entries after nameIndex\");\n              }\n            }\n            return { value: captureMapping(hasSource, hasName), done };\n          }\n          return stopIterating();\n        },\n        [Symbol.iterator]() {\n          return this;\n        }\n      };\n      function captureMapping(hasSource, hasName) {\n        return {\n          generatedLine,\n          generatedCharacter,\n          sourceIndex: hasSource ? sourceIndex : void 0,\n          sourceLine: hasSource ? sourceLine : void 0,\n          sourceCharacter: hasSource ? sourceCharacter : void 0,\n          nameIndex: hasName ? nameIndex : void 0\n        };\n      }\n      function stopIterating() {\n        done = true;\n        return { value: void 0, done: true };\n      }\n      function setError(message) {\n        if (error === void 0) {\n          error = message;\n        }\n      }\n      function setErrorAndStopIterating(message) {\n        setError(message);\n        return stopIterating();\n      }\n      function hasReportedError() {\n        return error !== void 0;\n      }\n      function isSourceMappingSegmentEnd() {\n        return pos === mappings.length || mappings.charCodeAt(pos) === 44 || mappings.charCodeAt(pos) === 59;\n      }\n      function base64VLQFormatDecode() {\n        let moreDigits = true;\n        let shiftCount = 0;\n        let value = 0;\n        for (; moreDigits; pos++) {\n          if (pos >= mappings.length)\n            return setError(\"Error in decoding base64VLQFormatDecode, past the mapping string\"), -1;\n          const currentByte = base64FormatDecode(mappings.charCodeAt(pos));\n          if (currentByte === -1)\n            return setError(\"Invalid character in VLQ\"), -1;\n          moreDigits = (currentByte & 32) !== 0;\n          value = value | (currentByte & 31) << shiftCount;\n          shiftCount += 5;\n        }\n        if ((value & 1) === 0) {\n          value = value >> 1;\n        } else {\n          value = value >> 1;\n          value = -value;\n        }\n        return value;\n      }\n    }\n    function sameMapping(left, right) {\n      return left === right || left.generatedLine === right.generatedLine && left.generatedCharacter === right.generatedCharacter && left.sourceIndex === right.sourceIndex && left.sourceLine === right.sourceLine && left.sourceCharacter === right.sourceCharacter && left.nameIndex === right.nameIndex;\n    }\n    function isSourceMapping(mapping) {\n      return mapping.sourceIndex !== void 0 && mapping.sourceLine !== void 0 && mapping.sourceCharacter !== void 0;\n    }\n    function base64FormatEncode(value) {\n      return value >= 0 && value < 26 ? 65 + value : value >= 26 && value < 52 ? 97 + value - 26 : value >= 52 && value < 62 ? 48 + value - 52 : value === 62 ? 43 : value === 63 ? 47 : Debug2.fail(`${value}: not a base64 value`);\n    }\n    function base64FormatDecode(ch) {\n      return ch >= 65 && ch <= 90 ? ch - 65 : ch >= 97 && ch <= 122 ? ch - 97 + 26 : ch >= 48 && ch <= 57 ? ch - 48 + 52 : ch === 43 ? 62 : ch === 47 ? 63 : -1;\n    }\n    function isSourceMappedPosition(value) {\n      return value.sourceIndex !== void 0 && value.sourcePosition !== void 0;\n    }\n    function sameMappedPosition(left, right) {\n      return left.generatedPosition === right.generatedPosition && left.sourceIndex === right.sourceIndex && left.sourcePosition === right.sourcePosition;\n    }\n    function compareSourcePositions(left, right) {\n      Debug2.assert(left.sourceIndex === right.sourceIndex);\n      return compareValues(left.sourcePosition, right.sourcePosition);\n    }\n    function compareGeneratedPositions(left, right) {\n      return compareValues(left.generatedPosition, right.generatedPosition);\n    }\n    function getSourcePositionOfMapping(value) {\n      return value.sourcePosition;\n    }\n    function getGeneratedPositionOfMapping(value) {\n      return value.generatedPosition;\n    }\n    function createDocumentPositionMapper(host, map2, mapPath) {\n      const mapDirectory = getDirectoryPath(mapPath);\n      const sourceRoot = map2.sourceRoot ? getNormalizedAbsolutePath(map2.sourceRoot, mapDirectory) : mapDirectory;\n      const generatedAbsoluteFilePath = getNormalizedAbsolutePath(map2.file, mapDirectory);\n      const generatedFile = host.getSourceFileLike(generatedAbsoluteFilePath);\n      const sourceFileAbsolutePaths = map2.sources.map((source) => getNormalizedAbsolutePath(source, sourceRoot));\n      const sourceToSourceIndexMap = new Map(sourceFileAbsolutePaths.map((source, i) => [host.getCanonicalFileName(source), i]));\n      let decodedMappings;\n      let generatedMappings;\n      let sourceMappings;\n      return {\n        getSourcePosition,\n        getGeneratedPosition\n      };\n      function processMapping(mapping) {\n        const generatedPosition = generatedFile !== void 0 ? getPositionOfLineAndCharacter(\n          generatedFile,\n          mapping.generatedLine,\n          mapping.generatedCharacter,\n          /*allowEdits*/\n          true\n        ) : -1;\n        let source;\n        let sourcePosition;\n        if (isSourceMapping(mapping)) {\n          const sourceFile = host.getSourceFileLike(sourceFileAbsolutePaths[mapping.sourceIndex]);\n          source = map2.sources[mapping.sourceIndex];\n          sourcePosition = sourceFile !== void 0 ? getPositionOfLineAndCharacter(\n            sourceFile,\n            mapping.sourceLine,\n            mapping.sourceCharacter,\n            /*allowEdits*/\n            true\n          ) : -1;\n        }\n        return {\n          generatedPosition,\n          source,\n          sourceIndex: mapping.sourceIndex,\n          sourcePosition,\n          nameIndex: mapping.nameIndex\n        };\n      }\n      function getDecodedMappings() {\n        if (decodedMappings === void 0) {\n          const decoder = decodeMappings(map2.mappings);\n          const mappings = arrayFrom(decoder, processMapping);\n          if (decoder.error !== void 0) {\n            if (host.log) {\n              host.log(`Encountered error while decoding sourcemap: ${decoder.error}`);\n            }\n            decodedMappings = emptyArray;\n          } else {\n            decodedMappings = mappings;\n          }\n        }\n        return decodedMappings;\n      }\n      function getSourceMappings(sourceIndex) {\n        if (sourceMappings === void 0) {\n          const lists = [];\n          for (const mapping of getDecodedMappings()) {\n            if (!isSourceMappedPosition(mapping))\n              continue;\n            let list = lists[mapping.sourceIndex];\n            if (!list)\n              lists[mapping.sourceIndex] = list = [];\n            list.push(mapping);\n          }\n          sourceMappings = lists.map((list) => sortAndDeduplicate(list, compareSourcePositions, sameMappedPosition));\n        }\n        return sourceMappings[sourceIndex];\n      }\n      function getGeneratedMappings() {\n        if (generatedMappings === void 0) {\n          const list = [];\n          for (const mapping of getDecodedMappings()) {\n            list.push(mapping);\n          }\n          generatedMappings = sortAndDeduplicate(list, compareGeneratedPositions, sameMappedPosition);\n        }\n        return generatedMappings;\n      }\n      function getGeneratedPosition(loc) {\n        const sourceIndex = sourceToSourceIndexMap.get(host.getCanonicalFileName(loc.fileName));\n        if (sourceIndex === void 0)\n          return loc;\n        const sourceMappings2 = getSourceMappings(sourceIndex);\n        if (!some(sourceMappings2))\n          return loc;\n        let targetIndex = binarySearchKey(sourceMappings2, loc.pos, getSourcePositionOfMapping, compareValues);\n        if (targetIndex < 0) {\n          targetIndex = ~targetIndex;\n        }\n        const mapping = sourceMappings2[targetIndex];\n        if (mapping === void 0 || mapping.sourceIndex !== sourceIndex) {\n          return loc;\n        }\n        return { fileName: generatedAbsoluteFilePath, pos: mapping.generatedPosition };\n      }\n      function getSourcePosition(loc) {\n        const generatedMappings2 = getGeneratedMappings();\n        if (!some(generatedMappings2))\n          return loc;\n        let targetIndex = binarySearchKey(generatedMappings2, loc.pos, getGeneratedPositionOfMapping, compareValues);\n        if (targetIndex < 0) {\n          targetIndex = ~targetIndex;\n        }\n        const mapping = generatedMappings2[targetIndex];\n        if (mapping === void 0 || !isSourceMappedPosition(mapping)) {\n          return loc;\n        }\n        return { fileName: sourceFileAbsolutePaths[mapping.sourceIndex], pos: mapping.sourcePosition };\n      }\n    }\n    var sourceMapCommentRegExpDontCareLineStart, sourceMapCommentRegExp, whitespaceOrMapCommentRegExp, identitySourceMapConsumer;\n    var init_sourcemap = __esm({\n      \"src/compiler/sourcemap.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_performance();\n        sourceMapCommentRegExpDontCareLineStart = /\\/\\/[@#] source[M]appingURL=(.+)\\r?\\n?$/;\n        sourceMapCommentRegExp = /^\\/\\/[@#] source[M]appingURL=(.+)\\r?\\n?$/;\n        whitespaceOrMapCommentRegExp = /^\\s*(\\/\\/[@#] .*)?$/;\n        identitySourceMapConsumer = {\n          getSourcePosition: identity2,\n          getGeneratedPosition: identity2\n        };\n      }\n    });\n    function getOriginalNodeId(node) {\n      node = getOriginalNode(node);\n      return node ? getNodeId(node) : 0;\n    }\n    function containsDefaultReference(node) {\n      if (!node)\n        return false;\n      if (!isNamedImports(node))\n        return false;\n      return some(node.elements, isNamedDefaultReference);\n    }\n    function isNamedDefaultReference(e) {\n      return e.propertyName !== void 0 && e.propertyName.escapedText === \"default\";\n    }\n    function chainBundle(context, transformSourceFile) {\n      return transformSourceFileOrBundle;\n      function transformSourceFileOrBundle(node) {\n        return node.kind === 308 ? transformSourceFile(node) : transformBundle(node);\n      }\n      function transformBundle(node) {\n        return context.factory.createBundle(map(node.sourceFiles, transformSourceFile), node.prepends);\n      }\n    }\n    function getExportNeedsImportStarHelper(node) {\n      return !!getNamespaceDeclarationNode(node);\n    }\n    function getImportNeedsImportStarHelper(node) {\n      if (!!getNamespaceDeclarationNode(node)) {\n        return true;\n      }\n      const bindings = node.importClause && node.importClause.namedBindings;\n      if (!bindings) {\n        return false;\n      }\n      if (!isNamedImports(bindings))\n        return false;\n      let defaultRefCount = 0;\n      for (const binding of bindings.elements) {\n        if (isNamedDefaultReference(binding)) {\n          defaultRefCount++;\n        }\n      }\n      return defaultRefCount > 0 && defaultRefCount !== bindings.elements.length || !!(bindings.elements.length - defaultRefCount) && isDefaultImport(node);\n    }\n    function getImportNeedsImportDefaultHelper(node) {\n      return !getImportNeedsImportStarHelper(node) && (isDefaultImport(node) || !!node.importClause && isNamedImports(node.importClause.namedBindings) && containsDefaultReference(node.importClause.namedBindings));\n    }\n    function collectExternalModuleInfo(context, sourceFile, resolver, compilerOptions) {\n      const externalImports = [];\n      const exportSpecifiers = createMultiMap();\n      const exportedBindings = [];\n      const uniqueExports = /* @__PURE__ */ new Map();\n      let exportedNames;\n      let hasExportDefault = false;\n      let exportEquals;\n      let hasExportStarsToExportValues = false;\n      let hasImportStar = false;\n      let hasImportDefault = false;\n      for (const node of sourceFile.statements) {\n        switch (node.kind) {\n          case 269:\n            externalImports.push(node);\n            if (!hasImportStar && getImportNeedsImportStarHelper(node)) {\n              hasImportStar = true;\n            }\n            if (!hasImportDefault && getImportNeedsImportDefaultHelper(node)) {\n              hasImportDefault = true;\n            }\n            break;\n          case 268:\n            if (node.moduleReference.kind === 280) {\n              externalImports.push(node);\n            }\n            break;\n          case 275:\n            if (node.moduleSpecifier) {\n              if (!node.exportClause) {\n                externalImports.push(node);\n                hasExportStarsToExportValues = true;\n              } else {\n                externalImports.push(node);\n                if (isNamedExports(node.exportClause)) {\n                  addExportedNamesForExportDeclaration(node);\n                } else {\n                  const name = node.exportClause.name;\n                  if (!uniqueExports.get(idText(name))) {\n                    multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);\n                    uniqueExports.set(idText(name), true);\n                    exportedNames = append(exportedNames, name);\n                  }\n                  hasImportStar = true;\n                }\n              }\n            } else {\n              addExportedNamesForExportDeclaration(node);\n            }\n            break;\n          case 274:\n            if (node.isExportEquals && !exportEquals) {\n              exportEquals = node;\n            }\n            break;\n          case 240:\n            if (hasSyntacticModifier(\n              node,\n              1\n              /* Export */\n            )) {\n              for (const decl of node.declarationList.declarations) {\n                exportedNames = collectExportedVariableInfo(decl, uniqueExports, exportedNames);\n              }\n            }\n            break;\n          case 259:\n            if (hasSyntacticModifier(\n              node,\n              1\n              /* Export */\n            )) {\n              if (hasSyntacticModifier(\n                node,\n                1024\n                /* Default */\n              )) {\n                if (!hasExportDefault) {\n                  multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node));\n                  hasExportDefault = true;\n                }\n              } else {\n                const name = node.name;\n                if (!uniqueExports.get(idText(name))) {\n                  multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);\n                  uniqueExports.set(idText(name), true);\n                  exportedNames = append(exportedNames, name);\n                }\n              }\n            }\n            break;\n          case 260:\n            if (hasSyntacticModifier(\n              node,\n              1\n              /* Export */\n            )) {\n              if (hasSyntacticModifier(\n                node,\n                1024\n                /* Default */\n              )) {\n                if (!hasExportDefault) {\n                  multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node));\n                  hasExportDefault = true;\n                }\n              } else {\n                const name = node.name;\n                if (name && !uniqueExports.get(idText(name))) {\n                  multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);\n                  uniqueExports.set(idText(name), true);\n                  exportedNames = append(exportedNames, name);\n                }\n              }\n            }\n            break;\n        }\n      }\n      const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(context.factory, context.getEmitHelperFactory(), sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault);\n      if (externalHelpersImportDeclaration) {\n        externalImports.unshift(externalHelpersImportDeclaration);\n      }\n      return { externalImports, exportSpecifiers, exportEquals, hasExportStarsToExportValues, exportedBindings, exportedNames, externalHelpersImportDeclaration };\n      function addExportedNamesForExportDeclaration(node) {\n        for (const specifier of cast(node.exportClause, isNamedExports).elements) {\n          if (!uniqueExports.get(idText(specifier.name))) {\n            const name = specifier.propertyName || specifier.name;\n            if (!node.moduleSpecifier) {\n              exportSpecifiers.add(idText(name), specifier);\n            }\n            const decl = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name);\n            if (decl) {\n              multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(decl), specifier.name);\n            }\n            uniqueExports.set(idText(specifier.name), true);\n            exportedNames = append(exportedNames, specifier.name);\n          }\n        }\n      }\n    }\n    function collectExportedVariableInfo(decl, uniqueExports, exportedNames) {\n      if (isBindingPattern(decl.name)) {\n        for (const element of decl.name.elements) {\n          if (!isOmittedExpression(element)) {\n            exportedNames = collectExportedVariableInfo(element, uniqueExports, exportedNames);\n          }\n        }\n      } else if (!isGeneratedIdentifier(decl.name)) {\n        const text = idText(decl.name);\n        if (!uniqueExports.get(text)) {\n          uniqueExports.set(text, true);\n          exportedNames = append(exportedNames, decl.name);\n        }\n      }\n      return exportedNames;\n    }\n    function multiMapSparseArrayAdd(map2, key, value) {\n      let values = map2[key];\n      if (values) {\n        values.push(value);\n      } else {\n        map2[key] = values = [value];\n      }\n      return values;\n    }\n    function isSimpleCopiableExpression(expression) {\n      return isStringLiteralLike(expression) || expression.kind === 8 || isKeyword(expression.kind) || isIdentifier(expression);\n    }\n    function isSimpleInlineableExpression(expression) {\n      return !isIdentifier(expression) && isSimpleCopiableExpression(expression);\n    }\n    function isCompoundAssignment(kind) {\n      return kind >= 64 && kind <= 78;\n    }\n    function getNonAssignmentOperatorForCompoundAssignment(kind) {\n      switch (kind) {\n        case 64:\n          return 39;\n        case 65:\n          return 40;\n        case 66:\n          return 41;\n        case 67:\n          return 42;\n        case 68:\n          return 43;\n        case 69:\n          return 44;\n        case 70:\n          return 47;\n        case 71:\n          return 48;\n        case 72:\n          return 49;\n        case 73:\n          return 50;\n        case 74:\n          return 51;\n        case 78:\n          return 52;\n        case 75:\n          return 56;\n        case 76:\n          return 55;\n        case 77:\n          return 60;\n      }\n    }\n    function getSuperCallFromStatement(statement) {\n      if (!isExpressionStatement(statement)) {\n        return void 0;\n      }\n      const expression = skipParentheses(statement.expression);\n      return isSuperCall(expression) ? expression : void 0;\n    }\n    function findSuperStatementIndex(statements, indexAfterLastPrologueStatement) {\n      for (let i = indexAfterLastPrologueStatement; i < statements.length; i += 1) {\n        const statement = statements[i];\n        if (getSuperCallFromStatement(statement)) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function getProperties(node, requireInitializer, isStatic2) {\n      return filter(node.members, (m) => isInitializedOrStaticProperty(m, requireInitializer, isStatic2));\n    }\n    function isStaticPropertyDeclarationOrClassStaticBlockDeclaration(element) {\n      return isStaticPropertyDeclaration(element) || isClassStaticBlockDeclaration(element);\n    }\n    function getStaticPropertiesAndClassStaticBlock(node) {\n      return filter(node.members, isStaticPropertyDeclarationOrClassStaticBlockDeclaration);\n    }\n    function isInitializedOrStaticProperty(member, requireInitializer, isStatic2) {\n      return isPropertyDeclaration(member) && (!!member.initializer || !requireInitializer) && hasStaticModifier(member) === isStatic2;\n    }\n    function isStaticPropertyDeclaration(member) {\n      return isPropertyDeclaration(member) && hasStaticModifier(member);\n    }\n    function isInitializedProperty(member) {\n      return member.kind === 169 && member.initializer !== void 0;\n    }\n    function isNonStaticMethodOrAccessorWithPrivateName(member) {\n      return !isStatic(member) && (isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member)) && isPrivateIdentifier(member.name);\n    }\n    function getDecoratorsOfParameters(node) {\n      let decorators;\n      if (node) {\n        const parameters = node.parameters;\n        const firstParameterIsThis = parameters.length > 0 && parameterIsThisKeyword(parameters[0]);\n        const firstParameterOffset = firstParameterIsThis ? 1 : 0;\n        const numParameters = firstParameterIsThis ? parameters.length - 1 : parameters.length;\n        for (let i = 0; i < numParameters; i++) {\n          const parameter = parameters[i + firstParameterOffset];\n          if (decorators || hasDecorators(parameter)) {\n            if (!decorators) {\n              decorators = new Array(numParameters);\n            }\n            decorators[i] = getDecorators(parameter);\n          }\n        }\n      }\n      return decorators;\n    }\n    function getAllDecoratorsOfClass(node) {\n      const decorators = getDecorators(node);\n      const parameters = getDecoratorsOfParameters(getFirstConstructorWithBody(node));\n      if (!some(decorators) && !some(parameters)) {\n        return void 0;\n      }\n      return {\n        decorators,\n        parameters\n      };\n    }\n    function getAllDecoratorsOfClassElement(member, parent2, useLegacyDecorators) {\n      switch (member.kind) {\n        case 174:\n        case 175:\n          if (!useLegacyDecorators) {\n            return getAllDecoratorsOfMethod(member);\n          }\n          return getAllDecoratorsOfAccessors(member, parent2);\n        case 171:\n          return getAllDecoratorsOfMethod(member);\n        case 169:\n          return getAllDecoratorsOfProperty(member);\n        default:\n          return void 0;\n      }\n    }\n    function getAllDecoratorsOfAccessors(accessor, parent2) {\n      if (!accessor.body) {\n        return void 0;\n      }\n      const { firstAccessor, secondAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(parent2.members, accessor);\n      const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0;\n      if (!firstAccessorWithDecorators || accessor !== firstAccessorWithDecorators) {\n        return void 0;\n      }\n      const decorators = getDecorators(firstAccessorWithDecorators);\n      const parameters = getDecoratorsOfParameters(setAccessor);\n      if (!some(decorators) && !some(parameters)) {\n        return void 0;\n      }\n      return {\n        decorators,\n        parameters,\n        getDecorators: getAccessor && getDecorators(getAccessor),\n        setDecorators: setAccessor && getDecorators(setAccessor)\n      };\n    }\n    function getAllDecoratorsOfMethod(method) {\n      if (!method.body) {\n        return void 0;\n      }\n      const decorators = getDecorators(method);\n      const parameters = getDecoratorsOfParameters(method);\n      if (!some(decorators) && !some(parameters)) {\n        return void 0;\n      }\n      return { decorators, parameters };\n    }\n    function getAllDecoratorsOfProperty(property) {\n      const decorators = getDecorators(property);\n      if (!some(decorators)) {\n        return void 0;\n      }\n      return { decorators };\n    }\n    function walkUpLexicalEnvironments(env2, cb) {\n      while (env2) {\n        const result = cb(env2);\n        if (result !== void 0)\n          return result;\n        env2 = env2.previous;\n      }\n    }\n    function newPrivateEnvironment(data) {\n      return { data };\n    }\n    function getPrivateIdentifier(privateEnv, name) {\n      var _a22, _b3;\n      return isGeneratedPrivateIdentifier(name) ? (_a22 = privateEnv == null ? void 0 : privateEnv.generatedIdentifiers) == null ? void 0 : _a22.get(getNodeForGeneratedName(name)) : (_b3 = privateEnv == null ? void 0 : privateEnv.identifiers) == null ? void 0 : _b3.get(name.escapedText);\n    }\n    function setPrivateIdentifier(privateEnv, name, entry) {\n      var _a22, _b3;\n      if (isGeneratedPrivateIdentifier(name)) {\n        (_a22 = privateEnv.generatedIdentifiers) != null ? _a22 : privateEnv.generatedIdentifiers = /* @__PURE__ */ new Map();\n        privateEnv.generatedIdentifiers.set(getNodeForGeneratedName(name), entry);\n      } else {\n        (_b3 = privateEnv.identifiers) != null ? _b3 : privateEnv.identifiers = /* @__PURE__ */ new Map();\n        privateEnv.identifiers.set(name.escapedText, entry);\n      }\n    }\n    function accessPrivateIdentifier(env2, name) {\n      return walkUpLexicalEnvironments(env2, (env22) => getPrivateIdentifier(env22.privateEnv, name));\n    }\n    var init_utilities3 = __esm({\n      \"src/compiler/transformers/utilities.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function flattenDestructuringAssignment(node, visitor, context, level, needsValue, createAssignmentCallback) {\n      let location = node;\n      let value;\n      if (isDestructuringAssignment(node)) {\n        value = node.right;\n        while (isEmptyArrayLiteral(node.left) || isEmptyObjectLiteral(node.left)) {\n          if (isDestructuringAssignment(value)) {\n            location = node = value;\n            value = node.right;\n          } else {\n            return Debug2.checkDefined(visitNode(value, visitor, isExpression));\n          }\n        }\n      }\n      let expressions;\n      const flattenContext = {\n        context,\n        level,\n        downlevelIteration: !!context.getCompilerOptions().downlevelIteration,\n        hoistTempVariables: true,\n        emitExpression,\n        emitBindingOrAssignment,\n        createArrayBindingOrAssignmentPattern: (elements) => makeArrayAssignmentPattern(context.factory, elements),\n        createObjectBindingOrAssignmentPattern: (elements) => makeObjectAssignmentPattern(context.factory, elements),\n        createArrayBindingOrAssignmentElement: makeAssignmentElement,\n        visitor\n      };\n      if (value) {\n        value = visitNode(value, visitor, isExpression);\n        Debug2.assert(value);\n        if (isIdentifier(value) && bindingOrAssignmentElementAssignsToName(node, value.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node)) {\n          value = ensureIdentifier(\n            flattenContext,\n            value,\n            /*reuseIdentifierExpressions*/\n            false,\n            location\n          );\n        } else if (needsValue) {\n          value = ensureIdentifier(\n            flattenContext,\n            value,\n            /*reuseIdentifierExpressions*/\n            true,\n            location\n          );\n        } else if (nodeIsSynthesized(node)) {\n          location = value;\n        }\n      }\n      flattenBindingOrAssignmentElement(\n        flattenContext,\n        node,\n        value,\n        location,\n        /*skipInitializer*/\n        isDestructuringAssignment(node)\n      );\n      if (value && needsValue) {\n        if (!some(expressions)) {\n          return value;\n        }\n        expressions.push(value);\n      }\n      return context.factory.inlineExpressions(expressions) || context.factory.createOmittedExpression();\n      function emitExpression(expression) {\n        expressions = append(expressions, expression);\n      }\n      function emitBindingOrAssignment(target, value2, location2, original) {\n        Debug2.assertNode(target, createAssignmentCallback ? isIdentifier : isExpression);\n        const expression = createAssignmentCallback ? createAssignmentCallback(target, value2, location2) : setTextRange(\n          context.factory.createAssignment(Debug2.checkDefined(visitNode(target, visitor, isExpression)), value2),\n          location2\n        );\n        expression.original = original;\n        emitExpression(expression);\n      }\n    }\n    function bindingOrAssignmentElementAssignsToName(element, escapedName) {\n      const target = getTargetOfBindingOrAssignmentElement(element);\n      if (isBindingOrAssignmentPattern(target)) {\n        return bindingOrAssignmentPatternAssignsToName(target, escapedName);\n      } else if (isIdentifier(target)) {\n        return target.escapedText === escapedName;\n      }\n      return false;\n    }\n    function bindingOrAssignmentPatternAssignsToName(pattern, escapedName) {\n      const elements = getElementsOfBindingOrAssignmentPattern(pattern);\n      for (const element of elements) {\n        if (bindingOrAssignmentElementAssignsToName(element, escapedName)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function bindingOrAssignmentElementContainsNonLiteralComputedName(element) {\n      const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element);\n      if (propertyName && isComputedPropertyName(propertyName) && !isLiteralExpression(propertyName.expression)) {\n        return true;\n      }\n      const target = getTargetOfBindingOrAssignmentElement(element);\n      return !!target && isBindingOrAssignmentPattern(target) && bindingOrAssignmentPatternContainsNonLiteralComputedName(target);\n    }\n    function bindingOrAssignmentPatternContainsNonLiteralComputedName(pattern) {\n      return !!forEach(getElementsOfBindingOrAssignmentPattern(pattern), bindingOrAssignmentElementContainsNonLiteralComputedName);\n    }\n    function flattenDestructuringBinding(node, visitor, context, level, rval, hoistTempVariables = false, skipInitializer) {\n      let pendingExpressions;\n      const pendingDeclarations = [];\n      const declarations = [];\n      const flattenContext = {\n        context,\n        level,\n        downlevelIteration: !!context.getCompilerOptions().downlevelIteration,\n        hoistTempVariables,\n        emitExpression,\n        emitBindingOrAssignment,\n        createArrayBindingOrAssignmentPattern: (elements) => makeArrayBindingPattern(context.factory, elements),\n        createObjectBindingOrAssignmentPattern: (elements) => makeObjectBindingPattern(context.factory, elements),\n        createArrayBindingOrAssignmentElement: (name) => makeBindingElement(context.factory, name),\n        visitor\n      };\n      if (isVariableDeclaration(node)) {\n        let initializer = getInitializerOfBindingOrAssignmentElement(node);\n        if (initializer && (isIdentifier(initializer) && bindingOrAssignmentElementAssignsToName(node, initializer.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node))) {\n          initializer = ensureIdentifier(\n            flattenContext,\n            Debug2.checkDefined(visitNode(initializer, flattenContext.visitor, isExpression)),\n            /*reuseIdentifierExpressions*/\n            false,\n            initializer\n          );\n          node = context.factory.updateVariableDeclaration(\n            node,\n            node.name,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            initializer\n          );\n        }\n      }\n      flattenBindingOrAssignmentElement(flattenContext, node, rval, node, skipInitializer);\n      if (pendingExpressions) {\n        const temp = context.factory.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        if (hoistTempVariables) {\n          const value = context.factory.inlineExpressions(pendingExpressions);\n          pendingExpressions = void 0;\n          emitBindingOrAssignment(\n            temp,\n            value,\n            /*location*/\n            void 0,\n            /*original*/\n            void 0\n          );\n        } else {\n          context.hoistVariableDeclaration(temp);\n          const pendingDeclaration = last(pendingDeclarations);\n          pendingDeclaration.pendingExpressions = append(\n            pendingDeclaration.pendingExpressions,\n            context.factory.createAssignment(temp, pendingDeclaration.value)\n          );\n          addRange(pendingDeclaration.pendingExpressions, pendingExpressions);\n          pendingDeclaration.value = temp;\n        }\n      }\n      for (const { pendingExpressions: pendingExpressions2, name, value, location, original } of pendingDeclarations) {\n        const variable = context.factory.createVariableDeclaration(\n          name,\n          /*exclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          pendingExpressions2 ? context.factory.inlineExpressions(append(pendingExpressions2, value)) : value\n        );\n        variable.original = original;\n        setTextRange(variable, location);\n        declarations.push(variable);\n      }\n      return declarations;\n      function emitExpression(value) {\n        pendingExpressions = append(pendingExpressions, value);\n      }\n      function emitBindingOrAssignment(target, value, location, original) {\n        Debug2.assertNode(target, isBindingName);\n        if (pendingExpressions) {\n          value = context.factory.inlineExpressions(append(pendingExpressions, value));\n          pendingExpressions = void 0;\n        }\n        pendingDeclarations.push({ pendingExpressions, name: target, value, location, original });\n      }\n    }\n    function flattenBindingOrAssignmentElement(flattenContext, element, value, location, skipInitializer) {\n      const bindingTarget = getTargetOfBindingOrAssignmentElement(element);\n      if (!skipInitializer) {\n        const initializer = visitNode(getInitializerOfBindingOrAssignmentElement(element), flattenContext.visitor, isExpression);\n        if (initializer) {\n          if (value) {\n            value = createDefaultValueCheck(flattenContext, value, initializer, location);\n            if (!isSimpleInlineableExpression(initializer) && isBindingOrAssignmentPattern(bindingTarget)) {\n              value = ensureIdentifier(\n                flattenContext,\n                value,\n                /*reuseIdentifierExpressions*/\n                true,\n                location\n              );\n            }\n          } else {\n            value = initializer;\n          }\n        } else if (!value) {\n          value = flattenContext.context.factory.createVoidZero();\n        }\n      }\n      if (isObjectBindingOrAssignmentPattern(bindingTarget)) {\n        flattenObjectBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location);\n      } else if (isArrayBindingOrAssignmentPattern(bindingTarget)) {\n        flattenArrayBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location);\n      } else {\n        flattenContext.emitBindingOrAssignment(\n          bindingTarget,\n          value,\n          location,\n          /*original*/\n          element\n        );\n      }\n    }\n    function flattenObjectBindingOrAssignmentPattern(flattenContext, parent2, pattern, value, location) {\n      const elements = getElementsOfBindingOrAssignmentPattern(pattern);\n      const numElements = elements.length;\n      if (numElements !== 1) {\n        const reuseIdentifierExpressions = !isDeclarationBindingElement(parent2) || numElements !== 0;\n        value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location);\n      }\n      let bindingElements;\n      let computedTempVariables;\n      for (let i = 0; i < numElements; i++) {\n        const element = elements[i];\n        if (!getRestIndicatorOfBindingOrAssignmentElement(element)) {\n          const propertyName = getPropertyNameOfBindingOrAssignmentElement(element);\n          if (flattenContext.level >= 1 && !(element.transformFlags & (32768 | 65536)) && !(getTargetOfBindingOrAssignmentElement(element).transformFlags & (32768 | 65536)) && !isComputedPropertyName(propertyName)) {\n            bindingElements = append(bindingElements, visitNode(element, flattenContext.visitor, isBindingOrAssignmentElement));\n          } else {\n            if (bindingElements) {\n              flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n              bindingElements = void 0;\n            }\n            const rhsValue = createDestructuringPropertyAccess(flattenContext, value, propertyName);\n            if (isComputedPropertyName(propertyName)) {\n              computedTempVariables = append(computedTempVariables, rhsValue.argumentExpression);\n            }\n            flattenBindingOrAssignmentElement(\n              flattenContext,\n              element,\n              rhsValue,\n              /*location*/\n              element\n            );\n          }\n        } else if (i === numElements - 1) {\n          if (bindingElements) {\n            flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n            bindingElements = void 0;\n          }\n          const rhsValue = flattenContext.context.getEmitHelperFactory().createRestHelper(value, elements, computedTempVariables, pattern);\n          flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element);\n        }\n      }\n      if (bindingElements) {\n        flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n      }\n    }\n    function flattenArrayBindingOrAssignmentPattern(flattenContext, parent2, pattern, value, location) {\n      const elements = getElementsOfBindingOrAssignmentPattern(pattern);\n      const numElements = elements.length;\n      if (flattenContext.level < 1 && flattenContext.downlevelIteration) {\n        value = ensureIdentifier(\n          flattenContext,\n          setTextRange(\n            flattenContext.context.getEmitHelperFactory().createReadHelper(\n              value,\n              numElements > 0 && getRestIndicatorOfBindingOrAssignmentElement(elements[numElements - 1]) ? void 0 : numElements\n            ),\n            location\n          ),\n          /*reuseIdentifierExpressions*/\n          false,\n          location\n        );\n      } else if (numElements !== 1 && (flattenContext.level < 1 || numElements === 0) || every(elements, isOmittedExpression)) {\n        const reuseIdentifierExpressions = !isDeclarationBindingElement(parent2) || numElements !== 0;\n        value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location);\n      }\n      let bindingElements;\n      let restContainingElements;\n      for (let i = 0; i < numElements; i++) {\n        const element = elements[i];\n        if (flattenContext.level >= 1) {\n          if (element.transformFlags & 65536 || flattenContext.hasTransformedPriorElement && !isSimpleBindingOrAssignmentElement(element)) {\n            flattenContext.hasTransformedPriorElement = true;\n            const temp = flattenContext.context.factory.createTempVariable(\n              /*recordTempVariable*/\n              void 0\n            );\n            if (flattenContext.hoistTempVariables) {\n              flattenContext.context.hoistVariableDeclaration(temp);\n            }\n            restContainingElements = append(restContainingElements, [temp, element]);\n            bindingElements = append(bindingElements, flattenContext.createArrayBindingOrAssignmentElement(temp));\n          } else {\n            bindingElements = append(bindingElements, element);\n          }\n        } else if (isOmittedExpression(element)) {\n          continue;\n        } else if (!getRestIndicatorOfBindingOrAssignmentElement(element)) {\n          const rhsValue = flattenContext.context.factory.createElementAccessExpression(value, i);\n          flattenBindingOrAssignmentElement(\n            flattenContext,\n            element,\n            rhsValue,\n            /*location*/\n            element\n          );\n        } else if (i === numElements - 1) {\n          const rhsValue = flattenContext.context.factory.createArraySliceCall(value, i);\n          flattenBindingOrAssignmentElement(\n            flattenContext,\n            element,\n            rhsValue,\n            /*location*/\n            element\n          );\n        }\n      }\n      if (bindingElements) {\n        flattenContext.emitBindingOrAssignment(flattenContext.createArrayBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n      }\n      if (restContainingElements) {\n        for (const [id, element] of restContainingElements) {\n          flattenBindingOrAssignmentElement(flattenContext, element, id, element);\n        }\n      }\n    }\n    function isSimpleBindingOrAssignmentElement(element) {\n      const target = getTargetOfBindingOrAssignmentElement(element);\n      if (!target || isOmittedExpression(target))\n        return true;\n      const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element);\n      if (propertyName && !isPropertyNameLiteral(propertyName))\n        return false;\n      const initializer = getInitializerOfBindingOrAssignmentElement(element);\n      if (initializer && !isSimpleInlineableExpression(initializer))\n        return false;\n      if (isBindingOrAssignmentPattern(target))\n        return every(getElementsOfBindingOrAssignmentPattern(target), isSimpleBindingOrAssignmentElement);\n      return isIdentifier(target);\n    }\n    function createDefaultValueCheck(flattenContext, value, defaultValue, location) {\n      value = ensureIdentifier(\n        flattenContext,\n        value,\n        /*reuseIdentifierExpressions*/\n        true,\n        location\n      );\n      return flattenContext.context.factory.createConditionalExpression(\n        flattenContext.context.factory.createTypeCheck(value, \"undefined\"),\n        /*questionToken*/\n        void 0,\n        defaultValue,\n        /*colonToken*/\n        void 0,\n        value\n      );\n    }\n    function createDestructuringPropertyAccess(flattenContext, value, propertyName) {\n      if (isComputedPropertyName(propertyName)) {\n        const argumentExpression = ensureIdentifier(\n          flattenContext,\n          Debug2.checkDefined(visitNode(propertyName.expression, flattenContext.visitor, isExpression)),\n          /*reuseIdentifierExpressions*/\n          false,\n          /*location*/\n          propertyName\n        );\n        return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression);\n      } else if (isStringOrNumericLiteralLike(propertyName)) {\n        const argumentExpression = factory.cloneNode(propertyName);\n        return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression);\n      } else {\n        const name = flattenContext.context.factory.createIdentifier(idText(propertyName));\n        return flattenContext.context.factory.createPropertyAccessExpression(value, name);\n      }\n    }\n    function ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location) {\n      if (isIdentifier(value) && reuseIdentifierExpressions) {\n        return value;\n      } else {\n        const temp = flattenContext.context.factory.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        if (flattenContext.hoistTempVariables) {\n          flattenContext.context.hoistVariableDeclaration(temp);\n          flattenContext.emitExpression(setTextRange(flattenContext.context.factory.createAssignment(temp, value), location));\n        } else {\n          flattenContext.emitBindingOrAssignment(\n            temp,\n            value,\n            location,\n            /*original*/\n            void 0\n          );\n        }\n        return temp;\n      }\n    }\n    function makeArrayBindingPattern(factory2, elements) {\n      Debug2.assertEachNode(elements, isArrayBindingElement);\n      return factory2.createArrayBindingPattern(elements);\n    }\n    function makeArrayAssignmentPattern(factory2, elements) {\n      Debug2.assertEachNode(elements, isArrayBindingOrAssignmentElement);\n      return factory2.createArrayLiteralExpression(map(elements, factory2.converters.convertToArrayAssignmentElement));\n    }\n    function makeObjectBindingPattern(factory2, elements) {\n      Debug2.assertEachNode(elements, isBindingElement);\n      return factory2.createObjectBindingPattern(elements);\n    }\n    function makeObjectAssignmentPattern(factory2, elements) {\n      Debug2.assertEachNode(elements, isObjectBindingOrAssignmentElement);\n      return factory2.createObjectLiteralExpression(map(elements, factory2.converters.convertToObjectAssignmentElement));\n    }\n    function makeBindingElement(factory2, name) {\n      return factory2.createBindingElement(\n        /*dotDotDotToken*/\n        void 0,\n        /*propertyName*/\n        void 0,\n        name\n      );\n    }\n    function makeAssignmentElement(name) {\n      return name;\n    }\n    var FlattenLevel;\n    var init_destructuring = __esm({\n      \"src/compiler/transformers/destructuring.ts\"() {\n        \"use strict\";\n        init_ts2();\n        FlattenLevel = /* @__PURE__ */ ((FlattenLevel2) => {\n          FlattenLevel2[FlattenLevel2[\"All\"] = 0] = \"All\";\n          FlattenLevel2[FlattenLevel2[\"ObjectRest\"] = 1] = \"ObjectRest\";\n          return FlattenLevel2;\n        })(FlattenLevel || {});\n      }\n    });\n    function processTaggedTemplateExpression(context, node, visitor, currentSourceFile, recordTaggedTemplateString, level) {\n      const tag = visitNode(node.tag, visitor, isExpression);\n      Debug2.assert(tag);\n      const templateArguments = [void 0];\n      const cookedStrings = [];\n      const rawStrings = [];\n      const template = node.template;\n      if (level === 0 && !hasInvalidEscape(template)) {\n        return visitEachChild(node, visitor, context);\n      }\n      if (isNoSubstitutionTemplateLiteral(template)) {\n        cookedStrings.push(createTemplateCooked(template));\n        rawStrings.push(getRawLiteral(template, currentSourceFile));\n      } else {\n        cookedStrings.push(createTemplateCooked(template.head));\n        rawStrings.push(getRawLiteral(template.head, currentSourceFile));\n        for (const templateSpan of template.templateSpans) {\n          cookedStrings.push(createTemplateCooked(templateSpan.literal));\n          rawStrings.push(getRawLiteral(templateSpan.literal, currentSourceFile));\n          templateArguments.push(Debug2.checkDefined(visitNode(templateSpan.expression, visitor, isExpression)));\n        }\n      }\n      const helperCall = context.getEmitHelperFactory().createTemplateObjectHelper(\n        factory.createArrayLiteralExpression(cookedStrings),\n        factory.createArrayLiteralExpression(rawStrings)\n      );\n      if (isExternalModule(currentSourceFile)) {\n        const tempVar = factory.createUniqueName(\"templateObject\");\n        recordTaggedTemplateString(tempVar);\n        templateArguments[0] = factory.createLogicalOr(\n          tempVar,\n          factory.createAssignment(\n            tempVar,\n            helperCall\n          )\n        );\n      } else {\n        templateArguments[0] = helperCall;\n      }\n      return factory.createCallExpression(\n        tag,\n        /*typeArguments*/\n        void 0,\n        templateArguments\n      );\n    }\n    function createTemplateCooked(template) {\n      return template.templateFlags ? factory.createVoidZero() : factory.createStringLiteral(template.text);\n    }\n    function getRawLiteral(node, currentSourceFile) {\n      let text = node.rawText;\n      if (text === void 0) {\n        Debug2.assertIsDefined(\n          currentSourceFile,\n          \"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform.\"\n        );\n        text = getSourceTextOfNodeFromSourceFile(currentSourceFile, node);\n        const isLast = node.kind === 14 || node.kind === 17;\n        text = text.substring(1, text.length - (isLast ? 1 : 2));\n      }\n      text = text.replace(/\\r\\n?/g, \"\\n\");\n      return setTextRange(factory.createStringLiteral(text), node);\n    }\n    var ProcessLevel;\n    var init_taggedTemplate = __esm({\n      \"src/compiler/transformers/taggedTemplate.ts\"() {\n        \"use strict\";\n        init_ts2();\n        ProcessLevel = /* @__PURE__ */ ((ProcessLevel2) => {\n          ProcessLevel2[ProcessLevel2[\"LiftRestriction\"] = 0] = \"LiftRestriction\";\n          ProcessLevel2[ProcessLevel2[\"All\"] = 1] = \"All\";\n          return ProcessLevel2;\n        })(ProcessLevel || {});\n      }\n    });\n    function transformTypeScript(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        startLexicalEnvironment,\n        resumeLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const moduleKind = getEmitModuleKind(compilerOptions);\n      const legacyDecorators = !!compilerOptions.experimentalDecorators;\n      const typeSerializer = compilerOptions.emitDecoratorMetadata ? createRuntimeTypeSerializer(context) : void 0;\n      const previousOnEmitNode = context.onEmitNode;\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onEmitNode = onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      context.enableSubstitution(\n        208\n        /* PropertyAccessExpression */\n      );\n      context.enableSubstitution(\n        209\n        /* ElementAccessExpression */\n      );\n      let currentSourceFile;\n      let currentNamespace;\n      let currentNamespaceContainerName;\n      let currentLexicalScope;\n      let currentScopeFirstDeclarationsOfName;\n      let currentClassHasParameterProperties;\n      let enabledSubstitutions;\n      let applicableSubstitutions;\n      return transformSourceFileOrBundle;\n      function transformSourceFileOrBundle(node) {\n        if (node.kind === 309) {\n          return transformBundle(node);\n        }\n        return transformSourceFile(node);\n      }\n      function transformBundle(node) {\n        return factory2.createBundle(node.sourceFiles.map(transformSourceFile), mapDefined(node.prepends, (prepend) => {\n          if (prepend.kind === 311) {\n            return createUnparsedSourceFile(prepend, \"js\");\n          }\n          return prepend;\n        }));\n      }\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        currentSourceFile = node;\n        const visited = saveStateAndInvoke(node, visitSourceFile);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        currentSourceFile = void 0;\n        return visited;\n      }\n      function saveStateAndInvoke(node, f) {\n        const savedCurrentScope = currentLexicalScope;\n        const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName;\n        const savedCurrentClassHasParameterProperties = currentClassHasParameterProperties;\n        onBeforeVisitNode(node);\n        const visited = f(node);\n        if (currentLexicalScope !== savedCurrentScope) {\n          currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName;\n        }\n        currentLexicalScope = savedCurrentScope;\n        currentClassHasParameterProperties = savedCurrentClassHasParameterProperties;\n        return visited;\n      }\n      function onBeforeVisitNode(node) {\n        switch (node.kind) {\n          case 308:\n          case 266:\n          case 265:\n          case 238:\n            currentLexicalScope = node;\n            currentScopeFirstDeclarationsOfName = void 0;\n            break;\n          case 260:\n          case 259:\n            if (hasSyntacticModifier(\n              node,\n              2\n              /* Ambient */\n            )) {\n              break;\n            }\n            if (node.name) {\n              recordEmittedDeclarationInScope(node);\n            } else {\n              Debug2.assert(node.kind === 260 || hasSyntacticModifier(\n                node,\n                1024\n                /* Default */\n              ));\n            }\n            break;\n        }\n      }\n      function visitor(node) {\n        return saveStateAndInvoke(node, visitorWorker);\n      }\n      function visitorWorker(node) {\n        if (node.transformFlags & 1) {\n          return visitTypeScript(node);\n        }\n        return node;\n      }\n      function sourceElementVisitor(node) {\n        return saveStateAndInvoke(node, sourceElementVisitorWorker);\n      }\n      function sourceElementVisitorWorker(node) {\n        switch (node.kind) {\n          case 269:\n          case 268:\n          case 274:\n          case 275:\n            return visitElidableStatement(node);\n          default:\n            return visitorWorker(node);\n        }\n      }\n      function visitElidableStatement(node) {\n        const parsed = getParseTreeNode(node);\n        if (parsed !== node) {\n          if (node.transformFlags & 1) {\n            return visitEachChild(node, visitor, context);\n          }\n          return node;\n        }\n        switch (node.kind) {\n          case 269:\n            return visitImportDeclaration(node);\n          case 268:\n            return visitImportEqualsDeclaration(node);\n          case 274:\n            return visitExportAssignment(node);\n          case 275:\n            return visitExportDeclaration(node);\n          default:\n            Debug2.fail(\"Unhandled ellided statement\");\n        }\n      }\n      function namespaceElementVisitor(node) {\n        return saveStateAndInvoke(node, namespaceElementVisitorWorker);\n      }\n      function namespaceElementVisitorWorker(node) {\n        if (node.kind === 275 || node.kind === 269 || node.kind === 270 || node.kind === 268 && node.moduleReference.kind === 280) {\n          return void 0;\n        } else if (node.transformFlags & 1 || hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          return visitTypeScript(node);\n        }\n        return node;\n      }\n      function getClassElementVisitor(parent2) {\n        return (node) => saveStateAndInvoke(node, (n) => classElementVisitorWorker(n, parent2));\n      }\n      function classElementVisitorWorker(node, parent2) {\n        switch (node.kind) {\n          case 173:\n            return visitConstructor(node);\n          case 169:\n            return visitPropertyDeclaration(node, parent2);\n          case 174:\n            return visitGetAccessor(node, parent2);\n          case 175:\n            return visitSetAccessor(node, parent2);\n          case 171:\n            return visitMethodDeclaration(node, parent2);\n          case 172:\n            return visitEachChild(node, visitor, context);\n          case 237:\n            return node;\n          case 178:\n            return;\n          default:\n            return Debug2.failBadSyntaxKind(node);\n        }\n      }\n      function getObjectLiteralElementVisitor(parent2) {\n        return (node) => saveStateAndInvoke(node, (n) => objectLiteralElementVisitorWorker(n, parent2));\n      }\n      function objectLiteralElementVisitorWorker(node, parent2) {\n        switch (node.kind) {\n          case 299:\n          case 300:\n          case 301:\n            return visitor(node);\n          case 174:\n            return visitGetAccessor(node, parent2);\n          case 175:\n            return visitSetAccessor(node, parent2);\n          case 171:\n            return visitMethodDeclaration(node, parent2);\n          default:\n            return Debug2.failBadSyntaxKind(node);\n        }\n      }\n      function decoratorElidingVisitor(node) {\n        return isDecorator(node) ? void 0 : visitor(node);\n      }\n      function modifierElidingVisitor(node) {\n        return isModifier(node) ? void 0 : visitor(node);\n      }\n      function modifierVisitor(node) {\n        if (isDecorator(node))\n          return void 0;\n        if (modifierToFlag(node.kind) & 117086) {\n          return void 0;\n        } else if (currentNamespace && node.kind === 93) {\n          return void 0;\n        }\n        return node;\n      }\n      function visitTypeScript(node) {\n        if (isStatement(node) && hasSyntacticModifier(\n          node,\n          2\n          /* Ambient */\n        )) {\n          return factory2.createNotEmittedStatement(node);\n        }\n        switch (node.kind) {\n          case 93:\n          case 88:\n            return currentNamespace ? void 0 : node;\n          case 123:\n          case 121:\n          case 122:\n          case 126:\n          case 161:\n          case 85:\n          case 136:\n          case 146:\n          case 101:\n          case 145:\n          case 185:\n          case 186:\n          case 187:\n          case 188:\n          case 184:\n          case 179:\n          case 165:\n          case 131:\n          case 157:\n          case 134:\n          case 152:\n          case 148:\n          case 144:\n          case 114:\n          case 153:\n          case 182:\n          case 181:\n          case 183:\n          case 180:\n          case 189:\n          case 190:\n          case 191:\n          case 193:\n          case 194:\n          case 195:\n          case 196:\n          case 197:\n          case 198:\n          case 178:\n            return void 0;\n          case 262:\n            return factory2.createNotEmittedStatement(node);\n          case 267:\n            return void 0;\n          case 261:\n            return factory2.createNotEmittedStatement(node);\n          case 260:\n            return visitClassDeclaration(node);\n          case 228:\n            return visitClassExpression(node);\n          case 294:\n            return visitHeritageClause(node);\n          case 230:\n            return visitExpressionWithTypeArguments(node);\n          case 207:\n            return visitObjectLiteralExpression(node);\n          case 173:\n          case 169:\n          case 171:\n          case 174:\n          case 175:\n          case 172:\n            return Debug2.fail(\"Class and object literal elements must be visited with their respective visitors\");\n          case 259:\n            return visitFunctionDeclaration(node);\n          case 215:\n            return visitFunctionExpression(node);\n          case 216:\n            return visitArrowFunction(node);\n          case 166:\n            return visitParameter(node);\n          case 214:\n            return visitParenthesizedExpression(node);\n          case 213:\n          case 231:\n            return visitAssertionExpression(node);\n          case 235:\n            return visitSatisfiesExpression(node);\n          case 210:\n            return visitCallExpression(node);\n          case 211:\n            return visitNewExpression(node);\n          case 212:\n            return visitTaggedTemplateExpression(node);\n          case 232:\n            return visitNonNullExpression(node);\n          case 263:\n            return visitEnumDeclaration(node);\n          case 240:\n            return visitVariableStatement(node);\n          case 257:\n            return visitVariableDeclaration(node);\n          case 264:\n            return visitModuleDeclaration(node);\n          case 268:\n            return visitImportEqualsDeclaration(node);\n          case 282:\n            return visitJsxSelfClosingElement(node);\n          case 283:\n            return visitJsxJsxOpeningElement(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitSourceFile(node) {\n        const alwaysStrict = getStrictOptionValue(compilerOptions, \"alwaysStrict\") && !(isExternalModule(node) && moduleKind >= 5) && !isJsonSourceFile(node);\n        return factory2.updateSourceFile(\n          node,\n          visitLexicalEnvironment(\n            node.statements,\n            sourceElementVisitor,\n            context,\n            /*start*/\n            0,\n            alwaysStrict\n          )\n        );\n      }\n      function visitObjectLiteralExpression(node) {\n        return factory2.updateObjectLiteralExpression(\n          node,\n          visitNodes2(node.properties, getObjectLiteralElementVisitor(node), isObjectLiteralElementLike)\n        );\n      }\n      function getClassFacts(node) {\n        let facts = 0;\n        if (some(getProperties(\n          node,\n          /*requireInitialized*/\n          true,\n          /*isStatic*/\n          true\n        )))\n          facts |= 1;\n        const extendsClauseElement = getEffectiveBaseTypeNode(node);\n        if (extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 104)\n          facts |= 64;\n        if (classOrConstructorParameterIsDecorated(legacyDecorators, node))\n          facts |= 2;\n        if (childIsDecorated(legacyDecorators, node))\n          facts |= 4;\n        if (isExportOfNamespace(node))\n          facts |= 8;\n        else if (isDefaultExternalModuleExport(node))\n          facts |= 32;\n        else if (isNamedExternalModuleExport(node))\n          facts |= 16;\n        return facts;\n      }\n      function hasTypeScriptClassSyntax(node) {\n        return !!(node.transformFlags & 8192);\n      }\n      function isClassLikeDeclarationWithTypeScriptSyntax(node) {\n        return hasDecorators(node) || some(node.typeParameters) || some(node.heritageClauses, hasTypeScriptClassSyntax) || some(node.members, hasTypeScriptClassSyntax);\n      }\n      function visitClassDeclaration(node) {\n        var _a22;\n        const facts = getClassFacts(node);\n        const promoteToIIFE = languageVersion <= 1 && !!(facts & 7);\n        if (!isClassLikeDeclarationWithTypeScriptSyntax(node) && !classOrConstructorParameterIsDecorated(legacyDecorators, node) && !isExportOfNamespace(node)) {\n          return factory2.updateClassDeclaration(\n            node,\n            visitNodes2(node.modifiers, modifierVisitor, isModifier),\n            node.name,\n            /*typeParameters*/\n            void 0,\n            visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n            visitNodes2(node.members, getClassElementVisitor(node), isClassElement)\n          );\n        }\n        if (promoteToIIFE) {\n          context.startLexicalEnvironment();\n        }\n        const moveModifiers = promoteToIIFE || facts & 8 || facts & 2 && legacyDecorators || facts & 1;\n        let modifiers = moveModifiers ? visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike) : visitNodes2(node.modifiers, visitor, isModifierLike);\n        if (facts & 2) {\n          modifiers = injectClassTypeMetadata(modifiers, node);\n        }\n        const needsName = moveModifiers && !node.name || facts & 4 || facts & 1;\n        const name = needsName ? (_a22 = node.name) != null ? _a22 : factory2.getGeneratedNameForNode(node) : node.name;\n        const classDeclaration = factory2.updateClassDeclaration(\n          node,\n          modifiers,\n          name,\n          /*typeParameters*/\n          void 0,\n          visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n          transformClassMembers(node)\n        );\n        let emitFlags = getEmitFlags(node);\n        if (facts & 1) {\n          emitFlags |= 64;\n        }\n        setEmitFlags(classDeclaration, emitFlags);\n        let statement;\n        if (promoteToIIFE) {\n          const statements = [classDeclaration];\n          const closingBraceLocation = createTokenRange(\n            skipTrivia(currentSourceFile.text, node.members.end),\n            19\n            /* CloseBraceToken */\n          );\n          const localName = factory2.getInternalName(node);\n          const outer = factory2.createPartiallyEmittedExpression(localName);\n          setTextRangeEnd(outer, closingBraceLocation.end);\n          setEmitFlags(\n            outer,\n            3072\n            /* NoComments */\n          );\n          const returnStatement = factory2.createReturnStatement(outer);\n          setTextRangePos(returnStatement, closingBraceLocation.pos);\n          setEmitFlags(\n            returnStatement,\n            3072 | 768\n            /* NoTokenSourceMaps */\n          );\n          statements.push(returnStatement);\n          insertStatementsAfterStandardPrologue(statements, context.endLexicalEnvironment());\n          const iife = factory2.createImmediatelyInvokedArrowFunction(statements);\n          setInternalEmitFlags(\n            iife,\n            1\n            /* TypeScriptClassWrapper */\n          );\n          const modifiers2 = facts & 16 ? factory2.createModifiersFromModifierFlags(\n            1\n            /* Export */\n          ) : void 0;\n          const varStatement = factory2.createVariableStatement(\n            modifiers2,\n            factory2.createVariableDeclarationList(\n              [\n                factory2.createVariableDeclaration(\n                  factory2.getLocalName(\n                    node,\n                    /*allowComments*/\n                    false,\n                    /*allowSourceMaps*/\n                    false\n                  ),\n                  /*exclamationToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  iife\n                )\n              ],\n              1\n              /* Let */\n            )\n          );\n          setOriginalNode(varStatement, node);\n          setCommentRange(varStatement, node);\n          setSourceMapRange(varStatement, moveRangePastDecorators(node));\n          startOnNewLine(varStatement);\n          statement = varStatement;\n        } else {\n          statement = classDeclaration;\n        }\n        if (moveModifiers) {\n          if (facts & 8) {\n            return demarcateMultiStatementExport(\n              statement,\n              createExportMemberAssignmentStatement(node)\n            );\n          }\n          if (facts & 32) {\n            return demarcateMultiStatementExport(\n              statement,\n              factory2.createExportDefault(factory2.getLocalName(\n                node,\n                /*allowComments*/\n                false,\n                /*allowSourceMaps*/\n                true\n              ))\n            );\n          }\n          if (facts & 16 && !promoteToIIFE) {\n            return demarcateMultiStatementExport(\n              statement,\n              factory2.createExternalModuleExport(factory2.getLocalName(\n                node,\n                /*allowComments*/\n                false,\n                /*allowSourceMaps*/\n                true\n              ))\n            );\n          }\n        }\n        return statement;\n      }\n      function demarcateMultiStatementExport(declarationStatement, exportStatement) {\n        addEmitFlags(\n          declarationStatement,\n          8388608\n          /* HasEndOfDeclarationMarker */\n        );\n        return [\n          declarationStatement,\n          exportStatement,\n          factory2.createEndOfDeclarationMarker(declarationStatement)\n        ];\n      }\n      function visitClassExpression(node) {\n        let modifiers = visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike);\n        if (classOrConstructorParameterIsDecorated(legacyDecorators, node)) {\n          modifiers = injectClassTypeMetadata(modifiers, node);\n        }\n        return factory2.updateClassExpression(\n          node,\n          modifiers,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n          transformClassMembers(node)\n        );\n      }\n      function transformClassMembers(node) {\n        const members = visitNodes2(node.members, getClassElementVisitor(node), isClassElement);\n        let newMembers;\n        const constructor = getFirstConstructorWithBody(node);\n        const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor));\n        if (parametersWithPropertyAssignments) {\n          for (const parameter of parametersWithPropertyAssignments) {\n            const parameterProperty = factory2.createPropertyDeclaration(\n              /*modifiers*/\n              void 0,\n              parameter.name,\n              /*questionOrExclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              /*initializer*/\n              void 0\n            );\n            setOriginalNode(parameterProperty, parameter);\n            newMembers = append(newMembers, parameterProperty);\n          }\n        }\n        if (newMembers) {\n          newMembers = addRange(newMembers, members);\n          return setTextRange(\n            factory2.createNodeArray(newMembers),\n            /*location*/\n            node.members\n          );\n        }\n        return members;\n      }\n      function injectClassTypeMetadata(modifiers, node) {\n        const metadata = getTypeMetadata(node, node);\n        if (some(metadata)) {\n          const modifiersArray = [];\n          addRange(modifiersArray, takeWhile(modifiers, isExportOrDefaultModifier));\n          addRange(modifiersArray, filter(modifiers, isDecorator));\n          addRange(modifiersArray, metadata);\n          addRange(modifiersArray, filter(skipWhile(modifiers, isExportOrDefaultModifier), isModifier));\n          modifiers = setTextRange(factory2.createNodeArray(modifiersArray), modifiers);\n        }\n        return modifiers;\n      }\n      function injectClassElementTypeMetadata(modifiers, node, container) {\n        if (isClassLike(container) && classElementOrClassElementParameterIsDecorated(legacyDecorators, node, container)) {\n          const metadata = getTypeMetadata(node, container);\n          if (some(metadata)) {\n            const modifiersArray = [];\n            addRange(modifiersArray, filter(modifiers, isDecorator));\n            addRange(modifiersArray, metadata);\n            addRange(modifiersArray, filter(modifiers, isModifier));\n            modifiers = setTextRange(factory2.createNodeArray(modifiersArray), modifiers);\n          }\n        }\n        return modifiers;\n      }\n      function getTypeMetadata(node, container) {\n        if (!legacyDecorators)\n          return void 0;\n        return USE_NEW_TYPE_METADATA_FORMAT ? getNewTypeMetadata(node, container) : getOldTypeMetadata(node, container);\n      }\n      function getOldTypeMetadata(node, container) {\n        if (typeSerializer) {\n          let decorators;\n          if (shouldAddTypeMetadata(node)) {\n            const typeMetadata = emitHelpers().createMetadataHelper(\"design:type\", typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node));\n            decorators = append(decorators, factory2.createDecorator(typeMetadata));\n          }\n          if (shouldAddParamTypesMetadata(node)) {\n            const paramTypesMetadata = emitHelpers().createMetadataHelper(\"design:paramtypes\", typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container));\n            decorators = append(decorators, factory2.createDecorator(paramTypesMetadata));\n          }\n          if (shouldAddReturnTypeMetadata(node)) {\n            const returnTypeMetadata = emitHelpers().createMetadataHelper(\"design:returntype\", typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node));\n            decorators = append(decorators, factory2.createDecorator(returnTypeMetadata));\n          }\n          return decorators;\n        }\n      }\n      function getNewTypeMetadata(node, container) {\n        if (typeSerializer) {\n          let properties;\n          if (shouldAddTypeMetadata(node)) {\n            const typeProperty = factory2.createPropertyAssignment(\"type\", factory2.createArrowFunction(\n              /*modifiers*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [],\n              /*type*/\n              void 0,\n              factory2.createToken(\n                38\n                /* EqualsGreaterThanToken */\n              ),\n              typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node)\n            ));\n            properties = append(properties, typeProperty);\n          }\n          if (shouldAddParamTypesMetadata(node)) {\n            const paramTypeProperty = factory2.createPropertyAssignment(\"paramTypes\", factory2.createArrowFunction(\n              /*modifiers*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [],\n              /*type*/\n              void 0,\n              factory2.createToken(\n                38\n                /* EqualsGreaterThanToken */\n              ),\n              typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container)\n            ));\n            properties = append(properties, paramTypeProperty);\n          }\n          if (shouldAddReturnTypeMetadata(node)) {\n            const returnTypeProperty = factory2.createPropertyAssignment(\"returnType\", factory2.createArrowFunction(\n              /*modifiers*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [],\n              /*type*/\n              void 0,\n              factory2.createToken(\n                38\n                /* EqualsGreaterThanToken */\n              ),\n              typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node)\n            ));\n            properties = append(properties, returnTypeProperty);\n          }\n          if (properties) {\n            const typeInfoMetadata = emitHelpers().createMetadataHelper(\"design:typeinfo\", factory2.createObjectLiteralExpression(\n              properties,\n              /*multiLine*/\n              true\n            ));\n            return [factory2.createDecorator(typeInfoMetadata)];\n          }\n        }\n      }\n      function shouldAddTypeMetadata(node) {\n        const kind = node.kind;\n        return kind === 171 || kind === 174 || kind === 175 || kind === 169;\n      }\n      function shouldAddReturnTypeMetadata(node) {\n        return node.kind === 171;\n      }\n      function shouldAddParamTypesMetadata(node) {\n        switch (node.kind) {\n          case 260:\n          case 228:\n            return getFirstConstructorWithBody(node) !== void 0;\n          case 171:\n          case 174:\n          case 175:\n            return true;\n        }\n        return false;\n      }\n      function getExpressionForPropertyName(member, generateNameForComputedPropertyName) {\n        const name = member.name;\n        if (isPrivateIdentifier(name)) {\n          return factory2.createIdentifier(\"\");\n        } else if (isComputedPropertyName(name)) {\n          return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression;\n        } else if (isIdentifier(name)) {\n          return factory2.createStringLiteral(idText(name));\n        } else {\n          return factory2.cloneNode(name);\n        }\n      }\n      function visitPropertyNameOfClassElement(member) {\n        const name = member.name;\n        if (isComputedPropertyName(name) && (!hasStaticModifier(member) && currentClassHasParameterProperties || hasDecorators(member) && legacyDecorators)) {\n          const expression = visitNode(name.expression, visitor, isExpression);\n          Debug2.assert(expression);\n          const innerExpression = skipPartiallyEmittedExpressions(expression);\n          if (!isSimpleInlineableExpression(innerExpression)) {\n            const generatedName = factory2.getGeneratedNameForNode(name);\n            hoistVariableDeclaration(generatedName);\n            return factory2.updateComputedPropertyName(name, factory2.createAssignment(generatedName, expression));\n          }\n        }\n        return Debug2.checkDefined(visitNode(name, visitor, isPropertyName));\n      }\n      function visitHeritageClause(node) {\n        if (node.token === 117) {\n          return void 0;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitExpressionWithTypeArguments(node) {\n        return factory2.updateExpressionWithTypeArguments(\n          node,\n          Debug2.checkDefined(visitNode(node.expression, visitor, isLeftHandSideExpression)),\n          /*typeArguments*/\n          void 0\n        );\n      }\n      function shouldEmitFunctionLikeDeclaration(node) {\n        return !nodeIsMissing(node.body);\n      }\n      function visitPropertyDeclaration(node, parent2) {\n        const isAmbient = node.flags & 16777216 || hasSyntacticModifier(\n          node,\n          256\n          /* Abstract */\n        );\n        if (isAmbient && !(legacyDecorators && hasDecorators(node))) {\n          return void 0;\n        }\n        let modifiers = isClassLike(parent2) ? !isAmbient ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, modifierElidingVisitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike);\n        modifiers = injectClassElementTypeMetadata(modifiers, node, parent2);\n        if (isAmbient) {\n          return factory2.updatePropertyDeclaration(\n            node,\n            concatenate(modifiers, factory2.createModifiersFromModifierFlags(\n              2\n              /* Ambient */\n            )),\n            Debug2.checkDefined(visitNode(node.name, visitor, isPropertyName)),\n            /*questionOrExclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            /*initializer*/\n            void 0\n          );\n        }\n        return factory2.updatePropertyDeclaration(\n          node,\n          modifiers,\n          visitPropertyNameOfClassElement(node),\n          /*questionOrExclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        );\n      }\n      function visitConstructor(node) {\n        if (!shouldEmitFunctionLikeDeclaration(node)) {\n          return void 0;\n        }\n        return factory2.updateConstructorDeclaration(\n          node,\n          /*modifiers*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          transformConstructorBody(node.body, node)\n        );\n      }\n      function transformConstructorBody(body, constructor) {\n        const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor));\n        if (!some(parametersWithPropertyAssignments)) {\n          return visitFunctionBody(body, visitor, context);\n        }\n        let statements = [];\n        resumeLexicalEnvironment();\n        const prologueStatementCount = factory2.copyPrologue(\n          body.statements,\n          statements,\n          /*ensureUseStrict*/\n          false,\n          visitor\n        );\n        const superStatementIndex = findSuperStatementIndex(body.statements, prologueStatementCount);\n        if (superStatementIndex >= 0) {\n          addRange(\n            statements,\n            visitNodes2(body.statements, visitor, isStatement, prologueStatementCount, superStatementIndex + 1 - prologueStatementCount)\n          );\n        }\n        const parameterPropertyAssignments = mapDefined(parametersWithPropertyAssignments, transformParameterWithPropertyAssignment);\n        if (superStatementIndex >= 0) {\n          addRange(statements, parameterPropertyAssignments);\n        } else {\n          statements = [\n            ...statements.slice(0, prologueStatementCount),\n            ...parameterPropertyAssignments,\n            ...statements.slice(prologueStatementCount)\n          ];\n        }\n        const start = superStatementIndex >= 0 ? superStatementIndex + 1 : prologueStatementCount;\n        addRange(statements, visitNodes2(body.statements, visitor, isStatement, start));\n        statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n        const block = factory2.createBlock(\n          setTextRange(factory2.createNodeArray(statements), body.statements),\n          /*multiLine*/\n          true\n        );\n        setTextRange(\n          block,\n          /*location*/\n          body\n        );\n        setOriginalNode(block, body);\n        return block;\n      }\n      function transformParameterWithPropertyAssignment(node) {\n        const name = node.name;\n        if (!isIdentifier(name)) {\n          return void 0;\n        }\n        const propertyName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);\n        setEmitFlags(\n          propertyName,\n          3072 | 96\n          /* NoSourceMap */\n        );\n        const localName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);\n        setEmitFlags(\n          localName,\n          3072\n          /* NoComments */\n        );\n        return startOnNewLine(\n          removeAllComments(\n            setTextRange(\n              setOriginalNode(\n                factory2.createExpressionStatement(\n                  factory2.createAssignment(\n                    setTextRange(\n                      factory2.createPropertyAccessExpression(\n                        factory2.createThis(),\n                        propertyName\n                      ),\n                      node.name\n                    ),\n                    localName\n                  )\n                ),\n                node\n              ),\n              moveRangePos(node, -1)\n            )\n          )\n        );\n      }\n      function visitMethodDeclaration(node, parent2) {\n        if (!(node.transformFlags & 1)) {\n          return node;\n        }\n        if (!shouldEmitFunctionLikeDeclaration(node)) {\n          return void 0;\n        }\n        let modifiers = isClassLike(parent2) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike);\n        modifiers = injectClassElementTypeMetadata(modifiers, node, parent2);\n        return factory2.updateMethodDeclaration(\n          node,\n          modifiers,\n          node.asteriskToken,\n          visitPropertyNameOfClassElement(node),\n          /*questionToken*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          visitFunctionBody(node.body, visitor, context)\n        );\n      }\n      function shouldEmitAccessorDeclaration(node) {\n        return !(nodeIsMissing(node.body) && hasSyntacticModifier(\n          node,\n          256\n          /* Abstract */\n        ));\n      }\n      function visitGetAccessor(node, parent2) {\n        if (!(node.transformFlags & 1)) {\n          return node;\n        }\n        if (!shouldEmitAccessorDeclaration(node)) {\n          return void 0;\n        }\n        let modifiers = isClassLike(parent2) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike);\n        modifiers = injectClassElementTypeMetadata(modifiers, node, parent2);\n        return factory2.updateGetAccessorDeclaration(\n          node,\n          modifiers,\n          visitPropertyNameOfClassElement(node),\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n        );\n      }\n      function visitSetAccessor(node, parent2) {\n        if (!(node.transformFlags & 1)) {\n          return node;\n        }\n        if (!shouldEmitAccessorDeclaration(node)) {\n          return void 0;\n        }\n        let modifiers = isClassLike(parent2) ? visitNodes2(node.modifiers, visitor, isModifierLike) : visitNodes2(node.modifiers, decoratorElidingVisitor, isModifierLike);\n        modifiers = injectClassElementTypeMetadata(modifiers, node, parent2);\n        return factory2.updateSetAccessorDeclaration(\n          node,\n          modifiers,\n          visitPropertyNameOfClassElement(node),\n          visitParameterList(node.parameters, visitor, context),\n          visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n        );\n      }\n      function visitFunctionDeclaration(node) {\n        if (!shouldEmitFunctionLikeDeclaration(node)) {\n          return factory2.createNotEmittedStatement(node);\n        }\n        const updated = factory2.updateFunctionDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          node.asteriskToken,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n        );\n        if (isExportOfNamespace(node)) {\n          const statements = [updated];\n          addExportMemberAssignment(statements, node);\n          return statements;\n        }\n        return updated;\n      }\n      function visitFunctionExpression(node) {\n        if (!shouldEmitFunctionLikeDeclaration(node)) {\n          return factory2.createOmittedExpression();\n        }\n        const updated = factory2.updateFunctionExpression(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          node.asteriskToken,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n        );\n        return updated;\n      }\n      function visitArrowFunction(node) {\n        const updated = factory2.updateArrowFunction(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          node.equalsGreaterThanToken,\n          visitFunctionBody(node.body, visitor, context)\n        );\n        return updated;\n      }\n      function visitParameter(node) {\n        if (parameterIsThisKeyword(node)) {\n          return void 0;\n        }\n        const updated = factory2.updateParameterDeclaration(\n          node,\n          visitNodes2(node.modifiers, (node2) => isDecorator(node2) ? visitor(node2) : void 0, isModifierLike),\n          node.dotDotDotToken,\n          Debug2.checkDefined(visitNode(node.name, visitor, isBindingName)),\n          /*questionToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        );\n        if (updated !== node) {\n          setCommentRange(updated, node);\n          setTextRange(updated, moveRangePastModifiers(node));\n          setSourceMapRange(updated, moveRangePastModifiers(node));\n          setEmitFlags(\n            updated.name,\n            64\n            /* NoTrailingSourceMap */\n          );\n        }\n        return updated;\n      }\n      function visitVariableStatement(node) {\n        if (isExportOfNamespace(node)) {\n          const variables = getInitializedVariables(node.declarationList);\n          if (variables.length === 0) {\n            return void 0;\n          }\n          return setTextRange(\n            factory2.createExpressionStatement(\n              factory2.inlineExpressions(\n                map(variables, transformInitializedVariable)\n              )\n            ),\n            node\n          );\n        } else {\n          return visitEachChild(node, visitor, context);\n        }\n      }\n      function transformInitializedVariable(node) {\n        const name = node.name;\n        if (isBindingPattern(name)) {\n          return flattenDestructuringAssignment(\n            node,\n            visitor,\n            context,\n            0,\n            /*needsValue*/\n            false,\n            createNamespaceExportExpression\n          );\n        } else {\n          return setTextRange(\n            factory2.createAssignment(\n              getNamespaceMemberNameWithSourceMapsAndWithoutComments(name),\n              Debug2.checkDefined(visitNode(node.initializer, visitor, isExpression))\n            ),\n            /*location*/\n            node\n          );\n        }\n      }\n      function visitVariableDeclaration(node) {\n        const updated = factory2.updateVariableDeclaration(\n          node,\n          Debug2.checkDefined(visitNode(node.name, visitor, isBindingName)),\n          /*exclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        );\n        if (node.type) {\n          setTypeNode(updated.name, node.type);\n        }\n        return updated;\n      }\n      function visitParenthesizedExpression(node) {\n        const innerExpression = skipOuterExpressions(\n          node.expression,\n          ~6\n          /* Assertions */\n        );\n        if (isAssertionExpression(innerExpression)) {\n          const expression = visitNode(node.expression, visitor, isExpression);\n          Debug2.assert(expression);\n          return factory2.createPartiallyEmittedExpression(expression, node);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssertionExpression(node) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        Debug2.assert(expression);\n        return factory2.createPartiallyEmittedExpression(expression, node);\n      }\n      function visitNonNullExpression(node) {\n        const expression = visitNode(node.expression, visitor, isLeftHandSideExpression);\n        Debug2.assert(expression);\n        return factory2.createPartiallyEmittedExpression(expression, node);\n      }\n      function visitSatisfiesExpression(node) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        Debug2.assert(expression);\n        return factory2.createPartiallyEmittedExpression(expression, node);\n      }\n      function visitCallExpression(node) {\n        return factory2.updateCallExpression(\n          node,\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          /*typeArguments*/\n          void 0,\n          visitNodes2(node.arguments, visitor, isExpression)\n        );\n      }\n      function visitNewExpression(node) {\n        return factory2.updateNewExpression(\n          node,\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          /*typeArguments*/\n          void 0,\n          visitNodes2(node.arguments, visitor, isExpression)\n        );\n      }\n      function visitTaggedTemplateExpression(node) {\n        return factory2.updateTaggedTemplateExpression(\n          node,\n          Debug2.checkDefined(visitNode(node.tag, visitor, isExpression)),\n          /*typeArguments*/\n          void 0,\n          Debug2.checkDefined(visitNode(node.template, visitor, isTemplateLiteral))\n        );\n      }\n      function visitJsxSelfClosingElement(node) {\n        return factory2.updateJsxSelfClosingElement(\n          node,\n          Debug2.checkDefined(visitNode(node.tagName, visitor, isJsxTagNameExpression)),\n          /*typeArguments*/\n          void 0,\n          Debug2.checkDefined(visitNode(node.attributes, visitor, isJsxAttributes))\n        );\n      }\n      function visitJsxJsxOpeningElement(node) {\n        return factory2.updateJsxOpeningElement(\n          node,\n          Debug2.checkDefined(visitNode(node.tagName, visitor, isJsxTagNameExpression)),\n          /*typeArguments*/\n          void 0,\n          Debug2.checkDefined(visitNode(node.attributes, visitor, isJsxAttributes))\n        );\n      }\n      function shouldEmitEnumDeclaration(node) {\n        return !isEnumConst(node) || shouldPreserveConstEnums(compilerOptions);\n      }\n      function visitEnumDeclaration(node) {\n        if (!shouldEmitEnumDeclaration(node)) {\n          return factory2.createNotEmittedStatement(node);\n        }\n        const statements = [];\n        let emitFlags = 4;\n        const varAdded = addVarForEnumOrModuleDeclaration(statements, node);\n        if (varAdded) {\n          if (moduleKind !== 4 || currentLexicalScope !== currentSourceFile) {\n            emitFlags |= 1024;\n          }\n        }\n        const parameterName = getNamespaceParameterName(node);\n        const containerName = getNamespaceContainerName(node);\n        const exportName = hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        ) ? factory2.getExternalModuleOrNamespaceExportName(\n          currentNamespaceContainerName,\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        ) : factory2.getLocalName(\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        );\n        let moduleArg = factory2.createLogicalOr(\n          exportName,\n          factory2.createAssignment(\n            exportName,\n            factory2.createObjectLiteralExpression()\n          )\n        );\n        if (hasNamespaceQualifiedExportName(node)) {\n          const localName = factory2.getLocalName(\n            node,\n            /*allowComments*/\n            false,\n            /*allowSourceMaps*/\n            true\n          );\n          moduleArg = factory2.createAssignment(localName, moduleArg);\n        }\n        const enumStatement = factory2.createExpressionStatement(\n          factory2.createCallExpression(\n            factory2.createFunctionExpression(\n              /*modifiers*/\n              void 0,\n              /*asteriskToken*/\n              void 0,\n              /*name*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                parameterName\n              )],\n              /*type*/\n              void 0,\n              transformEnumBody(node, containerName)\n            ),\n            /*typeArguments*/\n            void 0,\n            [moduleArg]\n          )\n        );\n        setOriginalNode(enumStatement, node);\n        if (varAdded) {\n          setSyntheticLeadingComments(enumStatement, void 0);\n          setSyntheticTrailingComments(enumStatement, void 0);\n        }\n        setTextRange(enumStatement, node);\n        addEmitFlags(enumStatement, emitFlags);\n        statements.push(enumStatement);\n        statements.push(factory2.createEndOfDeclarationMarker(node));\n        return statements;\n      }\n      function transformEnumBody(node, localName) {\n        const savedCurrentNamespaceLocalName = currentNamespaceContainerName;\n        currentNamespaceContainerName = localName;\n        const statements = [];\n        startLexicalEnvironment();\n        const members = map(node.members, transformEnumMember);\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        addRange(statements, members);\n        currentNamespaceContainerName = savedCurrentNamespaceLocalName;\n        return factory2.createBlock(\n          setTextRange(\n            factory2.createNodeArray(statements),\n            /*location*/\n            node.members\n          ),\n          /*multiLine*/\n          true\n        );\n      }\n      function transformEnumMember(member) {\n        const name = getExpressionForPropertyName(\n          member,\n          /*generateNameForComputedPropertyName*/\n          false\n        );\n        const valueExpression = transformEnumMemberDeclarationValue(member);\n        const innerAssignment = factory2.createAssignment(\n          factory2.createElementAccessExpression(\n            currentNamespaceContainerName,\n            name\n          ),\n          valueExpression\n        );\n        const outerAssignment = valueExpression.kind === 10 ? innerAssignment : factory2.createAssignment(\n          factory2.createElementAccessExpression(\n            currentNamespaceContainerName,\n            innerAssignment\n          ),\n          name\n        );\n        return setTextRange(\n          factory2.createExpressionStatement(\n            setTextRange(\n              outerAssignment,\n              member\n            )\n          ),\n          member\n        );\n      }\n      function transformEnumMemberDeclarationValue(member) {\n        const value = resolver.getConstantValue(member);\n        if (value !== void 0) {\n          return typeof value === \"string\" ? factory2.createStringLiteral(value) : factory2.createNumericLiteral(value);\n        } else {\n          enableSubstitutionForNonQualifiedEnumMembers();\n          if (member.initializer) {\n            return Debug2.checkDefined(visitNode(member.initializer, visitor, isExpression));\n          } else {\n            return factory2.createVoidZero();\n          }\n        }\n      }\n      function shouldEmitModuleDeclaration(nodeIn) {\n        const node = getParseTreeNode(nodeIn, isModuleDeclaration);\n        if (!node) {\n          return true;\n        }\n        return isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions));\n      }\n      function hasNamespaceQualifiedExportName(node) {\n        return isExportOfNamespace(node) || isExternalModuleExport(node) && moduleKind !== 5 && moduleKind !== 6 && moduleKind !== 7 && moduleKind !== 99 && moduleKind !== 4;\n      }\n      function recordEmittedDeclarationInScope(node) {\n        if (!currentScopeFirstDeclarationsOfName) {\n          currentScopeFirstDeclarationsOfName = /* @__PURE__ */ new Map();\n        }\n        const name = declaredNameInScope(node);\n        if (!currentScopeFirstDeclarationsOfName.has(name)) {\n          currentScopeFirstDeclarationsOfName.set(name, node);\n        }\n      }\n      function isFirstEmittedDeclarationInScope(node) {\n        if (currentScopeFirstDeclarationsOfName) {\n          const name = declaredNameInScope(node);\n          return currentScopeFirstDeclarationsOfName.get(name) === node;\n        }\n        return true;\n      }\n      function declaredNameInScope(node) {\n        Debug2.assertNode(node.name, isIdentifier);\n        return node.name.escapedText;\n      }\n      function addVarForEnumOrModuleDeclaration(statements, node) {\n        const statement = factory2.createVariableStatement(\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          factory2.createVariableDeclarationList(\n            [\n              factory2.createVariableDeclaration(\n                factory2.getLocalName(\n                  node,\n                  /*allowComments*/\n                  false,\n                  /*allowSourceMaps*/\n                  true\n                )\n              )\n            ],\n            currentLexicalScope.kind === 308 ? 0 : 1\n            /* Let */\n          )\n        );\n        setOriginalNode(statement, node);\n        recordEmittedDeclarationInScope(node);\n        if (isFirstEmittedDeclarationInScope(node)) {\n          if (node.kind === 263) {\n            setSourceMapRange(statement.declarationList, node);\n          } else {\n            setSourceMapRange(statement, node);\n          }\n          setCommentRange(statement, node);\n          addEmitFlags(\n            statement,\n            2048 | 8388608\n            /* HasEndOfDeclarationMarker */\n          );\n          statements.push(statement);\n          return true;\n        } else {\n          const mergeMarker = factory2.createMergeDeclarationMarker(statement);\n          setEmitFlags(\n            mergeMarker,\n            3072 | 8388608\n            /* HasEndOfDeclarationMarker */\n          );\n          statements.push(mergeMarker);\n          return false;\n        }\n      }\n      function visitModuleDeclaration(node) {\n        if (!shouldEmitModuleDeclaration(node)) {\n          return factory2.createNotEmittedStatement(node);\n        }\n        Debug2.assertNode(node.name, isIdentifier, \"A TypeScript namespace should have an Identifier name.\");\n        enableSubstitutionForNamespaceExports();\n        const statements = [];\n        let emitFlags = 4;\n        const varAdded = addVarForEnumOrModuleDeclaration(statements, node);\n        if (varAdded) {\n          if (moduleKind !== 4 || currentLexicalScope !== currentSourceFile) {\n            emitFlags |= 1024;\n          }\n        }\n        const parameterName = getNamespaceParameterName(node);\n        const containerName = getNamespaceContainerName(node);\n        const exportName = hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        ) ? factory2.getExternalModuleOrNamespaceExportName(\n          currentNamespaceContainerName,\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        ) : factory2.getLocalName(\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        );\n        let moduleArg = factory2.createLogicalOr(\n          exportName,\n          factory2.createAssignment(\n            exportName,\n            factory2.createObjectLiteralExpression()\n          )\n        );\n        if (hasNamespaceQualifiedExportName(node)) {\n          const localName = factory2.getLocalName(\n            node,\n            /*allowComments*/\n            false,\n            /*allowSourceMaps*/\n            true\n          );\n          moduleArg = factory2.createAssignment(localName, moduleArg);\n        }\n        const moduleStatement = factory2.createExpressionStatement(\n          factory2.createCallExpression(\n            factory2.createFunctionExpression(\n              /*modifiers*/\n              void 0,\n              /*asteriskToken*/\n              void 0,\n              /*name*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                parameterName\n              )],\n              /*type*/\n              void 0,\n              transformModuleBody(node, containerName)\n            ),\n            /*typeArguments*/\n            void 0,\n            [moduleArg]\n          )\n        );\n        setOriginalNode(moduleStatement, node);\n        if (varAdded) {\n          setSyntheticLeadingComments(moduleStatement, void 0);\n          setSyntheticTrailingComments(moduleStatement, void 0);\n        }\n        setTextRange(moduleStatement, node);\n        addEmitFlags(moduleStatement, emitFlags);\n        statements.push(moduleStatement);\n        statements.push(factory2.createEndOfDeclarationMarker(node));\n        return statements;\n      }\n      function transformModuleBody(node, namespaceLocalName) {\n        const savedCurrentNamespaceContainerName = currentNamespaceContainerName;\n        const savedCurrentNamespace = currentNamespace;\n        const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName;\n        currentNamespaceContainerName = namespaceLocalName;\n        currentNamespace = node;\n        currentScopeFirstDeclarationsOfName = void 0;\n        const statements = [];\n        startLexicalEnvironment();\n        let statementsLocation;\n        let blockLocation;\n        if (node.body) {\n          if (node.body.kind === 265) {\n            saveStateAndInvoke(node.body, (body) => addRange(statements, visitNodes2(body.statements, namespaceElementVisitor, isStatement)));\n            statementsLocation = node.body.statements;\n            blockLocation = node.body;\n          } else {\n            const result = visitModuleDeclaration(node.body);\n            if (result) {\n              if (isArray(result)) {\n                addRange(statements, result);\n              } else {\n                statements.push(result);\n              }\n            }\n            const moduleBlock = getInnerMostModuleDeclarationFromDottedModule(node).body;\n            statementsLocation = moveRangePos(moduleBlock.statements, -1);\n          }\n        }\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        currentNamespaceContainerName = savedCurrentNamespaceContainerName;\n        currentNamespace = savedCurrentNamespace;\n        currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName;\n        const block = factory2.createBlock(\n          setTextRange(\n            factory2.createNodeArray(statements),\n            /*location*/\n            statementsLocation\n          ),\n          /*multiLine*/\n          true\n        );\n        setTextRange(block, blockLocation);\n        if (!node.body || node.body.kind !== 265) {\n          setEmitFlags(\n            block,\n            getEmitFlags(block) | 3072\n            /* NoComments */\n          );\n        }\n        return block;\n      }\n      function getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration) {\n        if (moduleDeclaration.body.kind === 264) {\n          const recursiveInnerModule = getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration.body);\n          return recursiveInnerModule || moduleDeclaration.body;\n        }\n      }\n      function visitImportDeclaration(node) {\n        if (!node.importClause) {\n          return node;\n        }\n        if (node.importClause.isTypeOnly) {\n          return void 0;\n        }\n        const importClause = visitNode(node.importClause, visitImportClause, isImportClause);\n        return importClause || compilerOptions.importsNotUsedAsValues === 1 || compilerOptions.importsNotUsedAsValues === 2 ? factory2.updateImportDeclaration(\n          node,\n          /*modifiers*/\n          void 0,\n          importClause,\n          node.moduleSpecifier,\n          node.assertClause\n        ) : void 0;\n      }\n      function visitImportClause(node) {\n        Debug2.assert(!node.isTypeOnly);\n        const name = shouldEmitAliasDeclaration(node) ? node.name : void 0;\n        const namedBindings = visitNode(node.namedBindings, visitNamedImportBindings, isNamedImportBindings);\n        return name || namedBindings ? factory2.updateImportClause(\n          node,\n          /*isTypeOnly*/\n          false,\n          name,\n          namedBindings\n        ) : void 0;\n      }\n      function visitNamedImportBindings(node) {\n        if (node.kind === 271) {\n          return shouldEmitAliasDeclaration(node) ? node : void 0;\n        } else {\n          const allowEmpty = compilerOptions.verbatimModuleSyntax || compilerOptions.preserveValueImports && (compilerOptions.importsNotUsedAsValues === 1 || compilerOptions.importsNotUsedAsValues === 2);\n          const elements = visitNodes2(node.elements, visitImportSpecifier, isImportSpecifier);\n          return allowEmpty || some(elements) ? factory2.updateNamedImports(node, elements) : void 0;\n        }\n      }\n      function visitImportSpecifier(node) {\n        return !node.isTypeOnly && shouldEmitAliasDeclaration(node) ? node : void 0;\n      }\n      function visitExportAssignment(node) {\n        return compilerOptions.verbatimModuleSyntax || resolver.isValueAliasDeclaration(node) ? visitEachChild(node, visitor, context) : void 0;\n      }\n      function visitExportDeclaration(node) {\n        if (node.isTypeOnly) {\n          return void 0;\n        }\n        if (!node.exportClause || isNamespaceExport(node.exportClause)) {\n          return node;\n        }\n        const allowEmpty = compilerOptions.verbatimModuleSyntax || !!node.moduleSpecifier && (compilerOptions.importsNotUsedAsValues === 1 || compilerOptions.importsNotUsedAsValues === 2);\n        const exportClause = visitNode(\n          node.exportClause,\n          (bindings) => visitNamedExportBindings(bindings, allowEmpty),\n          isNamedExportBindings\n        );\n        return exportClause ? factory2.updateExportDeclaration(\n          node,\n          /*modifiers*/\n          void 0,\n          node.isTypeOnly,\n          exportClause,\n          node.moduleSpecifier,\n          node.assertClause\n        ) : void 0;\n      }\n      function visitNamedExports(node, allowEmpty) {\n        const elements = visitNodes2(node.elements, visitExportSpecifier, isExportSpecifier);\n        return allowEmpty || some(elements) ? factory2.updateNamedExports(node, elements) : void 0;\n      }\n      function visitNamespaceExports(node) {\n        return factory2.updateNamespaceExport(node, Debug2.checkDefined(visitNode(node.name, visitor, isIdentifier)));\n      }\n      function visitNamedExportBindings(node, allowEmpty) {\n        return isNamespaceExport(node) ? visitNamespaceExports(node) : visitNamedExports(node, allowEmpty);\n      }\n      function visitExportSpecifier(node) {\n        return !node.isTypeOnly && (compilerOptions.verbatimModuleSyntax || resolver.isValueAliasDeclaration(node)) ? node : void 0;\n      }\n      function shouldEmitImportEqualsDeclaration(node) {\n        return shouldEmitAliasDeclaration(node) || !isExternalModule(currentSourceFile) && resolver.isTopLevelValueImportEqualsWithEntityName(node);\n      }\n      function visitImportEqualsDeclaration(node) {\n        if (node.isTypeOnly) {\n          return void 0;\n        }\n        if (isExternalModuleImportEqualsDeclaration(node)) {\n          const isReferenced = shouldEmitAliasDeclaration(node);\n          if (!isReferenced && compilerOptions.importsNotUsedAsValues === 1) {\n            return setOriginalNode(\n              setTextRange(\n                factory2.createImportDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  /*importClause*/\n                  void 0,\n                  node.moduleReference.expression,\n                  /*assertClause*/\n                  void 0\n                ),\n                node\n              ),\n              node\n            );\n          }\n          return isReferenced ? visitEachChild(node, visitor, context) : void 0;\n        }\n        if (!shouldEmitImportEqualsDeclaration(node)) {\n          return void 0;\n        }\n        const moduleReference = createExpressionFromEntityName(factory2, node.moduleReference);\n        setEmitFlags(\n          moduleReference,\n          3072 | 4096\n          /* NoNestedComments */\n        );\n        if (isNamedExternalModuleExport(node) || !isExportOfNamespace(node)) {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createVariableStatement(\n                visitNodes2(node.modifiers, modifierVisitor, isModifier),\n                factory2.createVariableDeclarationList([\n                  setOriginalNode(\n                    factory2.createVariableDeclaration(\n                      node.name,\n                      /*exclamationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      moduleReference\n                    ),\n                    node\n                  )\n                ])\n              ),\n              node\n            ),\n            node\n          );\n        } else {\n          return setOriginalNode(\n            createNamespaceExport(\n              node.name,\n              moduleReference,\n              node\n            ),\n            node\n          );\n        }\n      }\n      function isExportOfNamespace(node) {\n        return currentNamespace !== void 0 && hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        );\n      }\n      function isExternalModuleExport(node) {\n        return currentNamespace === void 0 && hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        );\n      }\n      function isNamedExternalModuleExport(node) {\n        return isExternalModuleExport(node) && !hasSyntacticModifier(\n          node,\n          1024\n          /* Default */\n        );\n      }\n      function isDefaultExternalModuleExport(node) {\n        return isExternalModuleExport(node) && hasSyntacticModifier(\n          node,\n          1024\n          /* Default */\n        );\n      }\n      function createExportMemberAssignmentStatement(node) {\n        const expression = factory2.createAssignment(\n          factory2.getExternalModuleOrNamespaceExportName(\n            currentNamespaceContainerName,\n            node,\n            /*allowComments*/\n            false,\n            /*allowSourceMaps*/\n            true\n          ),\n          factory2.getLocalName(node)\n        );\n        setSourceMapRange(expression, createRange(node.name ? node.name.pos : node.pos, node.end));\n        const statement = factory2.createExpressionStatement(expression);\n        setSourceMapRange(statement, createRange(-1, node.end));\n        return statement;\n      }\n      function addExportMemberAssignment(statements, node) {\n        statements.push(createExportMemberAssignmentStatement(node));\n      }\n      function createNamespaceExport(exportName, exportValue, location) {\n        return setTextRange(\n          factory2.createExpressionStatement(\n            factory2.createAssignment(\n              factory2.getNamespaceMemberName(\n                currentNamespaceContainerName,\n                exportName,\n                /*allowComments*/\n                false,\n                /*allowSourceMaps*/\n                true\n              ),\n              exportValue\n            )\n          ),\n          location\n        );\n      }\n      function createNamespaceExportExpression(exportName, exportValue, location) {\n        return setTextRange(factory2.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments(exportName), exportValue), location);\n      }\n      function getNamespaceMemberNameWithSourceMapsAndWithoutComments(name) {\n        return factory2.getNamespaceMemberName(\n          currentNamespaceContainerName,\n          name,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        );\n      }\n      function getNamespaceParameterName(node) {\n        const name = factory2.getGeneratedNameForNode(node);\n        setSourceMapRange(name, node.name);\n        return name;\n      }\n      function getNamespaceContainerName(node) {\n        return factory2.getGeneratedNameForNode(node);\n      }\n      function enableSubstitutionForNonQualifiedEnumMembers() {\n        if ((enabledSubstitutions & 8) === 0) {\n          enabledSubstitutions |= 8;\n          context.enableSubstitution(\n            79\n            /* Identifier */\n          );\n        }\n      }\n      function enableSubstitutionForNamespaceExports() {\n        if ((enabledSubstitutions & 2) === 0) {\n          enabledSubstitutions |= 2;\n          context.enableSubstitution(\n            79\n            /* Identifier */\n          );\n          context.enableSubstitution(\n            300\n            /* ShorthandPropertyAssignment */\n          );\n          context.enableEmitNotification(\n            264\n            /* ModuleDeclaration */\n          );\n        }\n      }\n      function isTransformedModuleDeclaration(node) {\n        return getOriginalNode(node).kind === 264;\n      }\n      function isTransformedEnumDeclaration(node) {\n        return getOriginalNode(node).kind === 263;\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        const savedApplicableSubstitutions = applicableSubstitutions;\n        const savedCurrentSourceFile = currentSourceFile;\n        if (isSourceFile(node)) {\n          currentSourceFile = node;\n        }\n        if (enabledSubstitutions & 2 && isTransformedModuleDeclaration(node)) {\n          applicableSubstitutions |= 2;\n        }\n        if (enabledSubstitutions & 8 && isTransformedEnumDeclaration(node)) {\n          applicableSubstitutions |= 8;\n        }\n        previousOnEmitNode(hint, node, emitCallback);\n        applicableSubstitutions = savedApplicableSubstitutions;\n        currentSourceFile = savedCurrentSourceFile;\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1) {\n          return substituteExpression(node);\n        } else if (isShorthandPropertyAssignment(node)) {\n          return substituteShorthandPropertyAssignment(node);\n        }\n        return node;\n      }\n      function substituteShorthandPropertyAssignment(node) {\n        if (enabledSubstitutions & 2) {\n          const name = node.name;\n          const exportedName = trySubstituteNamespaceExportedName(name);\n          if (exportedName) {\n            if (node.objectAssignmentInitializer) {\n              const initializer = factory2.createAssignment(exportedName, node.objectAssignmentInitializer);\n              return setTextRange(factory2.createPropertyAssignment(name, initializer), node);\n            }\n            return setTextRange(factory2.createPropertyAssignment(name, exportedName), node);\n          }\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return substituteExpressionIdentifier(node);\n          case 208:\n            return substitutePropertyAccessExpression(node);\n          case 209:\n            return substituteElementAccessExpression(node);\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        return trySubstituteNamespaceExportedName(node) || node;\n      }\n      function trySubstituteNamespaceExportedName(node) {\n        if (enabledSubstitutions & applicableSubstitutions && !isGeneratedIdentifier(node) && !isLocalName(node)) {\n          const container = resolver.getReferencedExportContainer(\n            node,\n            /*prefixLocals*/\n            false\n          );\n          if (container && container.kind !== 308) {\n            const substitute = applicableSubstitutions & 2 && container.kind === 264 || applicableSubstitutions & 8 && container.kind === 263;\n            if (substitute) {\n              return setTextRange(\n                factory2.createPropertyAccessExpression(factory2.getGeneratedNameForNode(container), node),\n                /*location*/\n                node\n              );\n            }\n          }\n        }\n        return void 0;\n      }\n      function substitutePropertyAccessExpression(node) {\n        return substituteConstantValue(node);\n      }\n      function substituteElementAccessExpression(node) {\n        return substituteConstantValue(node);\n      }\n      function safeMultiLineComment(value) {\n        return value.replace(/\\*\\//g, \"*_/\");\n      }\n      function substituteConstantValue(node) {\n        const constantValue = tryGetConstEnumValue(node);\n        if (constantValue !== void 0) {\n          setConstantValue(node, constantValue);\n          const substitute = typeof constantValue === \"string\" ? factory2.createStringLiteral(constantValue) : factory2.createNumericLiteral(constantValue);\n          if (!compilerOptions.removeComments) {\n            const originalNode = getOriginalNode(node, isAccessExpression);\n            addSyntheticTrailingComment(substitute, 3, ` ${safeMultiLineComment(getTextOfNode(originalNode))} `);\n          }\n          return substitute;\n        }\n        return node;\n      }\n      function tryGetConstEnumValue(node) {\n        if (getIsolatedModules(compilerOptions)) {\n          return void 0;\n        }\n        return isPropertyAccessExpression(node) || isElementAccessExpression(node) ? resolver.getConstantValue(node) : void 0;\n      }\n      function shouldEmitAliasDeclaration(node) {\n        return compilerOptions.verbatimModuleSyntax || isInJSFile(node) || (compilerOptions.preserveValueImports ? resolver.isValueAliasDeclaration(node) : resolver.isReferencedAliasDeclaration(node));\n      }\n    }\n    var USE_NEW_TYPE_METADATA_FORMAT;\n    var init_ts = __esm({\n      \"src/compiler/transformers/ts.ts\"() {\n        \"use strict\";\n        init_ts2();\n        USE_NEW_TYPE_METADATA_FORMAT = false;\n      }\n    });\n    function transformClassFields(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        hoistVariableDeclaration,\n        endLexicalEnvironment,\n        startLexicalEnvironment,\n        resumeLexicalEnvironment,\n        addBlockScopedVariable\n      } = context;\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const useDefineForClassFields = getUseDefineForClassFields(compilerOptions);\n      const legacyDecorators = !!compilerOptions.experimentalDecorators;\n      const shouldTransformInitializersUsingSet = !useDefineForClassFields;\n      const shouldTransformInitializersUsingDefine = useDefineForClassFields && languageVersion < 9;\n      const shouldTransformInitializers = shouldTransformInitializersUsingSet || shouldTransformInitializersUsingDefine;\n      const shouldTransformPrivateElementsOrClassStaticBlocks = languageVersion < 9;\n      const shouldTransformAutoAccessors = languageVersion < 99 ? -1 : !useDefineForClassFields ? 3 : 0;\n      const shouldTransformThisInStaticInitializers = languageVersion < 9;\n      const shouldTransformSuperInStaticInitializers = shouldTransformThisInStaticInitializers && languageVersion >= 2;\n      const shouldTransformAnything = shouldTransformInitializers || shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformAutoAccessors === -1;\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onSubstituteNode = onSubstituteNode;\n      const previousOnEmitNode = context.onEmitNode;\n      context.onEmitNode = onEmitNode;\n      let shouldTransformPrivateStaticElementsInFile = false;\n      let enabledSubstitutions;\n      let classAliases;\n      let pendingExpressions;\n      let pendingStatements;\n      let lexicalEnvironment;\n      const lexicalEnvironmentMap = /* @__PURE__ */ new Map();\n      let currentClassContainer;\n      let currentStaticPropertyDeclarationOrStaticBlock;\n      let shouldSubstituteThisWithClassThis = false;\n      let previousShouldSubstituteThisWithClassThis = false;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        lexicalEnvironment = void 0;\n        shouldTransformPrivateStaticElementsInFile = !!(getInternalEmitFlags(node) & 32);\n        if (!shouldTransformAnything && !shouldTransformPrivateStaticElementsInFile) {\n          return node;\n        }\n        const visited = visitEachChild(node, visitor, context);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        return visited;\n      }\n      function modifierVisitor(node) {\n        switch (node.kind) {\n          case 127:\n            return shouldTransformAutoAccessorsInCurrentClass() ? void 0 : node;\n          default:\n            return tryCast(node, isModifier);\n        }\n      }\n      function visitor(node) {\n        if (!(node.transformFlags & 16777216) && !(node.transformFlags & 134234112)) {\n          return node;\n        }\n        switch (node.kind) {\n          case 127:\n            return Debug2.fail(\"Use `modifierVisitor` instead.\");\n          case 260:\n            return visitClassDeclaration(node);\n          case 228:\n            return visitClassExpression(\n              node,\n              /*referencedName*/\n              void 0\n            );\n          case 172:\n          case 169:\n            return Debug2.fail(\"Use `classElementVisitor` instead.\");\n          case 299:\n            return visitPropertyAssignment(node);\n          case 240:\n            return visitVariableStatement(node);\n          case 257:\n            return visitVariableDeclaration(node);\n          case 166:\n            return visitParameterDeclaration(node);\n          case 205:\n            return visitBindingElement(node);\n          case 274:\n            return visitExportAssignment(node);\n          case 80:\n            return visitPrivateIdentifier(node);\n          case 208:\n            return visitPropertyAccessExpression(node);\n          case 209:\n            return visitElementAccessExpression(node);\n          case 221:\n          case 222:\n            return visitPreOrPostfixUnaryExpression(\n              node,\n              /*discarded*/\n              false\n            );\n          case 223:\n            return visitBinaryExpression(\n              node,\n              /*discarded*/\n              false\n            );\n          case 214:\n            return visitParenthesizedExpression(\n              node,\n              /*discarded*/\n              false,\n              /*referencedName*/\n              void 0\n            );\n          case 210:\n            return visitCallExpression(node);\n          case 241:\n            return visitExpressionStatement(node);\n          case 212:\n            return visitTaggedTemplateExpression(node);\n          case 245:\n            return visitForStatement(node);\n          case 259:\n          case 215:\n          case 173:\n          case 171:\n          case 174:\n          case 175: {\n            return setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n              /*current*/\n              void 0,\n              fallbackVisitor,\n              node\n            );\n          }\n          default:\n            return fallbackVisitor(node);\n        }\n      }\n      function fallbackVisitor(node) {\n        return visitEachChild(node, visitor, context);\n      }\n      function namedEvaluationVisitor(node, referencedName) {\n        switch (node.kind) {\n          case 356:\n            return visitPartiallyEmittedExpression(\n              node,\n              /*discarded*/\n              false,\n              referencedName\n            );\n          case 214:\n            return visitParenthesizedExpression(\n              node,\n              /*discarded*/\n              false,\n              referencedName\n            );\n          case 228:\n            return visitClassExpression(node, referencedName);\n          default:\n            return visitor(node);\n        }\n      }\n      function discardedValueVisitor(node) {\n        switch (node.kind) {\n          case 221:\n          case 222:\n            return visitPreOrPostfixUnaryExpression(\n              node,\n              /*discarded*/\n              true\n            );\n          case 223:\n            return visitBinaryExpression(\n              node,\n              /*discarded*/\n              true\n            );\n          case 357:\n            return visitCommaListExpression(\n              node,\n              /*discarded*/\n              true\n            );\n          case 214:\n            return visitParenthesizedExpression(\n              node,\n              /*discarded*/\n              true,\n              /*referencedName*/\n              void 0\n            );\n          default:\n            return visitor(node);\n        }\n      }\n      function heritageClauseVisitor(node) {\n        switch (node.kind) {\n          case 294:\n            return visitEachChild(node, heritageClauseVisitor, context);\n          case 230:\n            return visitExpressionWithTypeArgumentsInHeritageClause(node);\n          default:\n            return visitor(node);\n        }\n      }\n      function assignmentTargetVisitor(node) {\n        switch (node.kind) {\n          case 207:\n          case 206:\n            return visitAssignmentPattern(node);\n          default:\n            return visitor(node);\n        }\n      }\n      function classElementVisitor(node) {\n        switch (node.kind) {\n          case 173:\n            return visitConstructorDeclaration(node);\n          case 174:\n          case 175:\n          case 171:\n            return setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n              /*current*/\n              void 0,\n              visitMethodOrAccessorDeclaration,\n              node\n            );\n          case 169:\n            return setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n              /*current*/\n              void 0,\n              visitPropertyDeclaration,\n              node\n            );\n          case 172:\n            return visitClassStaticBlockDeclaration(node);\n          case 164:\n            return visitComputedPropertyName(node);\n          case 237:\n            return node;\n          default:\n            return isModifierLike(node) ? modifierVisitor(node) : visitor(node);\n        }\n      }\n      function propertyNameVisitor(node) {\n        switch (node.kind) {\n          case 164:\n            return visitComputedPropertyName(node);\n          default:\n            return visitor(node);\n        }\n      }\n      function accessorFieldResultVisitor(node) {\n        switch (node.kind) {\n          case 169:\n            return transformFieldInitializer(node);\n          case 174:\n          case 175:\n            return classElementVisitor(node);\n          default:\n            Debug2.assertMissingNode(node, \"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration\");\n            break;\n        }\n      }\n      function visitPrivateIdentifier(node) {\n        if (!shouldTransformPrivateElementsOrClassStaticBlocks) {\n          return node;\n        }\n        if (isStatement(node.parent)) {\n          return node;\n        }\n        return setOriginalNode(factory2.createIdentifier(\"\"), node);\n      }\n      function transformPrivateIdentifierInInExpression(node) {\n        const info = accessPrivateIdentifier2(node.left);\n        if (info) {\n          const receiver = visitNode(node.right, visitor, isExpression);\n          return setOriginalNode(\n            emitHelpers().createClassPrivateFieldInHelper(info.brandCheckIdentifier, receiver),\n            node\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitPropertyAssignment(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const { referencedName, name } = visitReferencedPropertyName(node.name);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, referencedName), isExpression);\n          return factory2.updatePropertyAssignment(node, name, initializer);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitVariableStatement(node) {\n        const savedPendingStatements = pendingStatements;\n        pendingStatements = [];\n        const visitedNode = visitEachChild(node, visitor, context);\n        const statement = some(pendingStatements) ? [visitedNode, ...pendingStatements] : visitedNode;\n        pendingStatements = savedPendingStatements;\n        return statement;\n      }\n      function getAssignedNameOfIdentifier(name, initializer) {\n        const originalClass = getOriginalNode(initializer, isClassLike);\n        return originalClass && !originalClass.name && hasSyntacticModifier(\n          originalClass,\n          1024\n          /* Default */\n        ) ? factory2.createStringLiteral(\"default\") : factory2.createStringLiteralFromNode(name);\n      }\n      function visitVariableDeclaration(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.initializer);\n          const name = visitNode(node.name, visitor, isBindingName);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateVariableDeclaration(\n            node,\n            name,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            initializer\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitParameterDeclaration(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.initializer);\n          const name = visitNode(node.name, visitor, isBindingName);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateParameterDeclaration(\n            node,\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            name,\n            /*questionToken*/\n            void 0,\n            /*type*/\n            void 0,\n            initializer\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitBindingElement(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.initializer);\n          const propertyName = visitNode(node.propertyName, visitor, isPropertyName);\n          const name = visitNode(node.name, visitor, isBindingName);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateBindingElement(\n            node,\n            /*dotDotDotToken*/\n            void 0,\n            propertyName,\n            name,\n            initializer\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitExportAssignment(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = factory2.createStringLiteral(node.isExportEquals ? \"\" : \"default\");\n          const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n          const expression = visitNode(node.expression, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateExportAssignment(node, modifiers, expression);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function injectPendingExpressions(expression) {\n        if (some(pendingExpressions)) {\n          if (isParenthesizedExpression(expression)) {\n            pendingExpressions.push(expression.expression);\n            expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions(pendingExpressions));\n          } else {\n            pendingExpressions.push(expression);\n            expression = factory2.inlineExpressions(pendingExpressions);\n          }\n          pendingExpressions = void 0;\n        }\n        return expression;\n      }\n      function visitComputedPropertyName(node) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        return factory2.updateComputedPropertyName(node, injectPendingExpressions(expression));\n      }\n      function visitConstructorDeclaration(node) {\n        if (currentClassContainer) {\n          return transformConstructor(node, currentClassContainer);\n        }\n        return fallbackVisitor(node);\n      }\n      function shouldTransformClassElementToWeakMap(node) {\n        if (shouldTransformPrivateElementsOrClassStaticBlocks)\n          return true;\n        if (hasStaticModifier(node) && getInternalEmitFlags(node) & 32)\n          return true;\n        return false;\n      }\n      function visitMethodOrAccessorDeclaration(node) {\n        Debug2.assert(!hasDecorators(node));\n        if (!isPrivateIdentifierClassElementDeclaration(node) || !shouldTransformClassElementToWeakMap(node)) {\n          return visitEachChild(node, classElementVisitor, context);\n        }\n        const info = accessPrivateIdentifier2(node.name);\n        Debug2.assert(info, \"Undeclared private name for property declaration.\");\n        if (!info.isValid) {\n          return node;\n        }\n        const functionName = getHoistedFunctionName(node);\n        if (functionName) {\n          getPendingExpressions().push(\n            factory2.createAssignment(\n              functionName,\n              factory2.createFunctionExpression(\n                filter(node.modifiers, (m) => isModifier(m) && !isStaticModifier(m) && !isAccessorModifier(m)),\n                node.asteriskToken,\n                functionName,\n                /* typeParameters */\n                void 0,\n                visitParameterList(node.parameters, visitor, context),\n                /* type */\n                void 0,\n                visitFunctionBody(node.body, visitor, context)\n              )\n            )\n          );\n        }\n        return void 0;\n      }\n      function setCurrentStaticPropertyDeclarationOrStaticBlockAnd(current, visitor2, arg) {\n        const savedCurrentStaticPropertyDeclarationOrStaticBlock = currentStaticPropertyDeclarationOrStaticBlock;\n        currentStaticPropertyDeclarationOrStaticBlock = current;\n        const result = visitor2(arg);\n        currentStaticPropertyDeclarationOrStaticBlock = savedCurrentStaticPropertyDeclarationOrStaticBlock;\n        return result;\n      }\n      function getHoistedFunctionName(node) {\n        Debug2.assert(isPrivateIdentifier(node.name));\n        const info = accessPrivateIdentifier2(node.name);\n        Debug2.assert(info, \"Undeclared private name for property declaration.\");\n        if (info.kind === \"m\") {\n          return info.methodName;\n        }\n        if (info.kind === \"a\") {\n          if (isGetAccessor(node)) {\n            return info.getterName;\n          }\n          if (isSetAccessor(node)) {\n            return info.setterName;\n          }\n        }\n      }\n      function transformAutoAccessor(node) {\n        const commentRange = getCommentRange(node);\n        const sourceMapRange = getSourceMapRange(node);\n        const name = node.name;\n        let getterName = name;\n        let setterName = name;\n        if (isComputedPropertyName(name) && !isSimpleInlineableExpression(name.expression)) {\n          const cacheAssignment = findComputedPropertyNameCacheAssignment(name);\n          if (cacheAssignment) {\n            getterName = factory2.updateComputedPropertyName(name, visitNode(name.expression, visitor, isExpression));\n            setterName = factory2.updateComputedPropertyName(name, cacheAssignment.left);\n          } else {\n            const temp = factory2.createTempVariable(hoistVariableDeclaration);\n            setSourceMapRange(temp, name.expression);\n            const expression = visitNode(name.expression, visitor, isExpression);\n            const assignment = factory2.createAssignment(temp, expression);\n            setSourceMapRange(assignment, name.expression);\n            getterName = factory2.updateComputedPropertyName(name, assignment);\n            setterName = factory2.updateComputedPropertyName(name, temp);\n          }\n        }\n        const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n        const backingField = createAccessorPropertyBackingField(factory2, node, modifiers, node.initializer);\n        setOriginalNode(backingField, node);\n        setEmitFlags(\n          backingField,\n          3072\n          /* NoComments */\n        );\n        setSourceMapRange(backingField, sourceMapRange);\n        const getter = createAccessorPropertyGetRedirector(factory2, node, modifiers, getterName);\n        setOriginalNode(getter, node);\n        setCommentRange(getter, commentRange);\n        setSourceMapRange(getter, sourceMapRange);\n        const setter = createAccessorPropertySetRedirector(factory2, node, modifiers, setterName);\n        setOriginalNode(setter, node);\n        setEmitFlags(\n          setter,\n          3072\n          /* NoComments */\n        );\n        setSourceMapRange(setter, sourceMapRange);\n        return visitArray([backingField, getter, setter], accessorFieldResultVisitor, isClassElement);\n      }\n      function transformPrivateFieldInitializer(node) {\n        if (shouldTransformClassElementToWeakMap(node)) {\n          const info = accessPrivateIdentifier2(node.name);\n          Debug2.assert(info, \"Undeclared private name for property declaration.\");\n          if (!info.isValid) {\n            return node;\n          }\n          if (info.isStatic && !shouldTransformPrivateElementsOrClassStaticBlocks) {\n            const statement = transformPropertyOrClassStaticBlock(node, factory2.createThis());\n            if (statement) {\n              return factory2.createClassStaticBlockDeclaration(factory2.createBlock(\n                [statement],\n                /*multiLine*/\n                true\n              ));\n            }\n          }\n          return void 0;\n        }\n        if (shouldTransformInitializersUsingSet && !isStatic(node) && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && lexicalEnvironment.data.facts & 16) {\n          return factory2.updatePropertyDeclaration(\n            node,\n            visitNodes2(node.modifiers, visitor, isModifierLike),\n            node.name,\n            /*questionOrExclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            /*initializer*/\n            void 0\n          );\n        }\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const { referencedName, name } = visitReferencedPropertyName(node.name);\n          return factory2.updatePropertyDeclaration(\n            node,\n            visitNodes2(node.modifiers, modifierVisitor, isModifier),\n            name,\n            /*questionOrExclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            visitNode(node.initializer, (child) => namedEvaluationVisitor(child, referencedName), isExpression)\n          );\n        }\n        return factory2.updatePropertyDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          visitNode(node.name, propertyNameVisitor, isPropertyName),\n          /*questionOrExclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        );\n      }\n      function transformPublicFieldInitializer(node) {\n        if (shouldTransformInitializers && !isAutoAccessorPropertyDeclaration(node)) {\n          const expr = getPropertyNameExpressionIfNeeded(\n            node.name,\n            /*shouldHoist*/\n            !!node.initializer || useDefineForClassFields,\n            /*captureReferencedName*/\n            isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)\n          );\n          if (expr) {\n            getPendingExpressions().push(...flattenCommaList(expr));\n          }\n          if (isStatic(node) && !shouldTransformPrivateElementsOrClassStaticBlocks) {\n            const initializerStatement = transformPropertyOrClassStaticBlock(node, factory2.createThis());\n            if (initializerStatement) {\n              const staticBlock = factory2.createClassStaticBlockDeclaration(\n                factory2.createBlock([initializerStatement])\n              );\n              setOriginalNode(staticBlock, node);\n              setCommentRange(staticBlock, node);\n              setCommentRange(initializerStatement, { pos: -1, end: -1 });\n              setSyntheticLeadingComments(initializerStatement, void 0);\n              setSyntheticTrailingComments(initializerStatement, void 0);\n              return staticBlock;\n            }\n          }\n          return void 0;\n        }\n        return factory2.updatePropertyDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          visitNode(node.name, propertyNameVisitor, isPropertyName),\n          /*questionOrExclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        );\n      }\n      function transformFieldInitializer(node) {\n        Debug2.assert(!hasDecorators(node), \"Decorators should already have been transformed and elided.\");\n        return isPrivateIdentifierClassElementDeclaration(node) ? transformPrivateFieldInitializer(node) : transformPublicFieldInitializer(node);\n      }\n      function shouldTransformAutoAccessorsInCurrentClass() {\n        return shouldTransformAutoAccessors === -1 || shouldTransformAutoAccessors === 3 && !!(lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) && !!(lexicalEnvironment.data.facts & 16);\n      }\n      function visitPropertyDeclaration(node) {\n        if (isAutoAccessorPropertyDeclaration(node) && (shouldTransformAutoAccessorsInCurrentClass() || hasStaticModifier(node) && getInternalEmitFlags(node) & 32)) {\n          return transformAutoAccessor(node);\n        }\n        return transformFieldInitializer(node);\n      }\n      function createPrivateIdentifierAccess(info, receiver) {\n        return createPrivateIdentifierAccessHelper(info, visitNode(receiver, visitor, isExpression));\n      }\n      function createPrivateIdentifierAccessHelper(info, receiver) {\n        setCommentRange(receiver, moveRangePos(receiver, -1));\n        switch (info.kind) {\n          case \"a\":\n            return emitHelpers().createClassPrivateFieldGetHelper(\n              receiver,\n              info.brandCheckIdentifier,\n              info.kind,\n              info.getterName\n            );\n          case \"m\":\n            return emitHelpers().createClassPrivateFieldGetHelper(\n              receiver,\n              info.brandCheckIdentifier,\n              info.kind,\n              info.methodName\n            );\n          case \"f\":\n            return emitHelpers().createClassPrivateFieldGetHelper(\n              receiver,\n              info.brandCheckIdentifier,\n              info.kind,\n              info.isStatic ? info.variableName : void 0\n            );\n          case \"untransformed\":\n            return Debug2.fail(\"Access helpers should not be created for untransformed private elements\");\n          default:\n            Debug2.assertNever(info, \"Unknown private element type\");\n        }\n      }\n      function visitPropertyAccessExpression(node) {\n        if (isPrivateIdentifier(node.name)) {\n          const privateIdentifierInfo = accessPrivateIdentifier2(node.name);\n          if (privateIdentifierInfo) {\n            return setTextRange(\n              setOriginalNode(\n                createPrivateIdentifierAccess(privateIdentifierInfo, node.expression),\n                node\n              ),\n              node\n            );\n          }\n        }\n        if (shouldTransformSuperInStaticInitializers && isSuperProperty(node) && isIdentifier(node.name) && currentStaticPropertyDeclarationOrStaticBlock && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) {\n          const { classConstructor, superClassReference, facts } = lexicalEnvironment.data;\n          if (facts & 1) {\n            return visitInvalidSuperProperty(node);\n          }\n          if (classConstructor && superClassReference) {\n            const superProperty = factory2.createReflectGetCall(\n              superClassReference,\n              factory2.createStringLiteralFromNode(node.name),\n              classConstructor\n            );\n            setOriginalNode(superProperty, node.expression);\n            setTextRange(superProperty, node.expression);\n            return superProperty;\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitElementAccessExpression(node) {\n        if (shouldTransformSuperInStaticInitializers && isSuperProperty(node) && currentStaticPropertyDeclarationOrStaticBlock && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) {\n          const { classConstructor, superClassReference, facts } = lexicalEnvironment.data;\n          if (facts & 1) {\n            return visitInvalidSuperProperty(node);\n          }\n          if (classConstructor && superClassReference) {\n            const superProperty = factory2.createReflectGetCall(\n              superClassReference,\n              visitNode(node.argumentExpression, visitor, isExpression),\n              classConstructor\n            );\n            setOriginalNode(superProperty, node.expression);\n            setTextRange(superProperty, node.expression);\n            return superProperty;\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitPreOrPostfixUnaryExpression(node, discarded) {\n        if (node.operator === 45 || node.operator === 46) {\n          const operand = skipParentheses(node.operand);\n          if (isPrivateIdentifierPropertyAccessExpression(operand)) {\n            let info;\n            if (info = accessPrivateIdentifier2(operand.name)) {\n              const receiver = visitNode(operand.expression, visitor, isExpression);\n              const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver);\n              let expression = createPrivateIdentifierAccess(info, readExpression);\n              const temp = isPrefixUnaryExpression(node) || discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n              expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp);\n              expression = createPrivateIdentifierAssignment(\n                info,\n                initializeExpression || readExpression,\n                expression,\n                63\n                /* EqualsToken */\n              );\n              setOriginalNode(expression, node);\n              setTextRange(expression, node);\n              if (temp) {\n                expression = factory2.createComma(expression, temp);\n                setTextRange(expression, node);\n              }\n              return expression;\n            }\n          } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(operand) && currentStaticPropertyDeclarationOrStaticBlock && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) {\n            const { classConstructor, superClassReference, facts } = lexicalEnvironment.data;\n            if (facts & 1) {\n              const expression = visitInvalidSuperProperty(operand);\n              return isPrefixUnaryExpression(node) ? factory2.updatePrefixUnaryExpression(node, expression) : factory2.updatePostfixUnaryExpression(node, expression);\n            }\n            if (classConstructor && superClassReference) {\n              let setterName;\n              let getterName;\n              if (isPropertyAccessExpression(operand)) {\n                if (isIdentifier(operand.name)) {\n                  getterName = setterName = factory2.createStringLiteralFromNode(operand.name);\n                }\n              } else {\n                if (isSimpleInlineableExpression(operand.argumentExpression)) {\n                  getterName = setterName = operand.argumentExpression;\n                } else {\n                  getterName = factory2.createTempVariable(hoistVariableDeclaration);\n                  setterName = factory2.createAssignment(getterName, visitNode(operand.argumentExpression, visitor, isExpression));\n                }\n              }\n              if (setterName && getterName) {\n                let expression = factory2.createReflectGetCall(superClassReference, getterName, classConstructor);\n                setTextRange(expression, operand);\n                const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n                expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp);\n                expression = factory2.createReflectSetCall(superClassReference, setterName, expression, classConstructor);\n                setOriginalNode(expression, node);\n                setTextRange(expression, node);\n                if (temp) {\n                  expression = factory2.createComma(expression, temp);\n                  setTextRange(expression, node);\n                }\n                return expression;\n              }\n            }\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitForStatement(node) {\n        return factory2.updateForStatement(\n          node,\n          visitNode(node.initializer, discardedValueVisitor, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, discardedValueVisitor, isExpression),\n          visitIterationBody(node.statement, visitor, context)\n        );\n      }\n      function visitExpressionStatement(node) {\n        return factory2.updateExpressionStatement(\n          node,\n          visitNode(node.expression, discardedValueVisitor, isExpression)\n        );\n      }\n      function createCopiableReceiverExpr(receiver) {\n        const clone2 = nodeIsSynthesized(receiver) ? receiver : factory2.cloneNode(receiver);\n        if (isSimpleInlineableExpression(receiver)) {\n          return { readExpression: clone2, initializeExpression: void 0 };\n        }\n        const readExpression = factory2.createTempVariable(hoistVariableDeclaration);\n        const initializeExpression = factory2.createAssignment(readExpression, clone2);\n        return { readExpression, initializeExpression };\n      }\n      function visitCallExpression(node) {\n        var _a22;\n        if (isPrivateIdentifierPropertyAccessExpression(node.expression) && accessPrivateIdentifier2(node.expression.name)) {\n          const { thisArg, target } = factory2.createCallBinding(node.expression, hoistVariableDeclaration, languageVersion);\n          if (isCallChain(node)) {\n            return factory2.updateCallChain(\n              node,\n              factory2.createPropertyAccessChain(visitNode(target, visitor, isExpression), node.questionDotToken, \"call\"),\n              /*questionDotToken*/\n              void 0,\n              /*typeArguments*/\n              void 0,\n              [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)]\n            );\n          }\n          return factory2.updateCallExpression(\n            node,\n            factory2.createPropertyAccessExpression(visitNode(target, visitor, isExpression), \"call\"),\n            /*typeArguments*/\n            void 0,\n            [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)]\n          );\n        }\n        if (shouldTransformSuperInStaticInitializers && isSuperProperty(node.expression) && currentStaticPropertyDeclarationOrStaticBlock && ((_a22 = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a22.classConstructor)) {\n          const invocation = factory2.createFunctionCallCall(\n            visitNode(node.expression, visitor, isExpression),\n            lexicalEnvironment.data.classConstructor,\n            visitNodes2(node.arguments, visitor, isExpression)\n          );\n          setOriginalNode(invocation, node);\n          setTextRange(invocation, node);\n          return invocation;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitTaggedTemplateExpression(node) {\n        var _a22;\n        if (isPrivateIdentifierPropertyAccessExpression(node.tag) && accessPrivateIdentifier2(node.tag.name)) {\n          const { thisArg, target } = factory2.createCallBinding(node.tag, hoistVariableDeclaration, languageVersion);\n          return factory2.updateTaggedTemplateExpression(\n            node,\n            factory2.createCallExpression(\n              factory2.createPropertyAccessExpression(visitNode(target, visitor, isExpression), \"bind\"),\n              /*typeArguments*/\n              void 0,\n              [visitNode(thisArg, visitor, isExpression)]\n            ),\n            /*typeArguments*/\n            void 0,\n            visitNode(node.template, visitor, isTemplateLiteral)\n          );\n        }\n        if (shouldTransformSuperInStaticInitializers && isSuperProperty(node.tag) && currentStaticPropertyDeclarationOrStaticBlock && ((_a22 = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a22.classConstructor)) {\n          const invocation = factory2.createFunctionBindCall(\n            visitNode(node.tag, visitor, isExpression),\n            lexicalEnvironment.data.classConstructor,\n            []\n          );\n          setOriginalNode(invocation, node);\n          setTextRange(invocation, node);\n          return factory2.updateTaggedTemplateExpression(\n            node,\n            invocation,\n            /*typeArguments*/\n            void 0,\n            visitNode(node.template, visitor, isTemplateLiteral)\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function transformClassStaticBlockDeclaration(node) {\n        if (lexicalEnvironment) {\n          lexicalEnvironmentMap.set(getOriginalNode(node), lexicalEnvironment);\n        }\n        if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n          startLexicalEnvironment();\n          let statements = setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n            node,\n            (statements2) => visitNodes2(statements2, visitor, isStatement),\n            node.body.statements\n          );\n          statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n          const iife = factory2.createImmediatelyInvokedArrowFunction(statements);\n          setOriginalNode(iife, node);\n          setTextRange(iife, node);\n          addEmitFlags(\n            iife,\n            4\n            /* AdviseOnEmitNode */\n          );\n          return iife;\n        }\n      }\n      function isAnonymousClassNeedingAssignedName(node) {\n        if (isClassExpression(node) && !node.name) {\n          const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node);\n          const classStaticBlock = find(staticPropertiesOrClassStaticBlocks, isClassStaticBlockDeclaration);\n          if (classStaticBlock) {\n            for (const statement of classStaticBlock.body.statements) {\n              if (isExpressionStatement(statement) && isCallToHelper(statement.expression, \"___setFunctionName\")) {\n                return false;\n              }\n            }\n          }\n          const hasTransformableStatics = (shouldTransformPrivateElementsOrClassStaticBlocks || !!(getInternalEmitFlags(node) && 32)) && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2));\n          return hasTransformableStatics;\n        }\n        return false;\n      }\n      function visitBinaryExpression(node, discarded) {\n        if (isDestructuringAssignment(node)) {\n          const savedPendingExpressions = pendingExpressions;\n          pendingExpressions = void 0;\n          node = factory2.updateBinaryExpression(\n            node,\n            visitNode(node.left, assignmentTargetVisitor, isExpression),\n            node.operatorToken,\n            visitNode(node.right, visitor, isExpression)\n          );\n          const expr = some(pendingExpressions) ? factory2.inlineExpressions(compact([...pendingExpressions, node])) : node;\n          pendingExpressions = savedPendingExpressions;\n          return expr;\n        }\n        if (isAssignmentExpression(node)) {\n          if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n            const assignedName = getAssignedNameOfIdentifier(node.left, node.right);\n            const left = visitNode(node.left, visitor, isExpression);\n            const right = visitNode(node.right, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n            return factory2.updateBinaryExpression(node, left, node.operatorToken, right);\n          }\n          if (isPrivateIdentifierPropertyAccessExpression(node.left)) {\n            const info = accessPrivateIdentifier2(node.left.name);\n            if (info) {\n              return setTextRange(\n                setOriginalNode(\n                  createPrivateIdentifierAssignment(info, node.left.expression, node.right, node.operatorToken.kind),\n                  node\n                ),\n                node\n              );\n            }\n          } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(node.left) && currentStaticPropertyDeclarationOrStaticBlock && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) {\n            const { classConstructor, superClassReference, facts } = lexicalEnvironment.data;\n            if (facts & 1) {\n              return factory2.updateBinaryExpression(\n                node,\n                visitInvalidSuperProperty(node.left),\n                node.operatorToken,\n                visitNode(node.right, visitor, isExpression)\n              );\n            }\n            if (classConstructor && superClassReference) {\n              let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0;\n              if (setterName) {\n                let expression = visitNode(node.right, visitor, isExpression);\n                if (isCompoundAssignment(node.operatorToken.kind)) {\n                  let getterName = setterName;\n                  if (!isSimpleInlineableExpression(setterName)) {\n                    getterName = factory2.createTempVariable(hoistVariableDeclaration);\n                    setterName = factory2.createAssignment(getterName, setterName);\n                  }\n                  const superPropertyGet = factory2.createReflectGetCall(\n                    superClassReference,\n                    getterName,\n                    classConstructor\n                  );\n                  setOriginalNode(superPropertyGet, node.left);\n                  setTextRange(superPropertyGet, node.left);\n                  expression = factory2.createBinaryExpression(\n                    superPropertyGet,\n                    getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind),\n                    expression\n                  );\n                  setTextRange(expression, node);\n                }\n                const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n                if (temp) {\n                  expression = factory2.createAssignment(temp, expression);\n                  setTextRange(temp, node);\n                }\n                expression = factory2.createReflectSetCall(\n                  superClassReference,\n                  setterName,\n                  expression,\n                  classConstructor\n                );\n                setOriginalNode(expression, node);\n                setTextRange(expression, node);\n                if (temp) {\n                  expression = factory2.createComma(expression, temp);\n                  setTextRange(expression, node);\n                }\n                return expression;\n              }\n            }\n          }\n        }\n        if (isPrivateIdentifierInExpression(node)) {\n          return transformPrivateIdentifierInInExpression(node);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCommaListExpression(node, discarded) {\n        const elements = discarded ? visitCommaListElements(node.elements, discardedValueVisitor) : visitCommaListElements(node.elements, visitor, discardedValueVisitor);\n        return factory2.updateCommaListExpression(node, elements);\n      }\n      function visitParenthesizedExpression(node, discarded, referencedName) {\n        const visitorFunc = discarded ? discardedValueVisitor : referencedName ? (node2) => namedEvaluationVisitor(node2, referencedName) : visitor;\n        const expression = visitNode(node.expression, visitorFunc, isExpression);\n        return factory2.updateParenthesizedExpression(node, expression);\n      }\n      function visitPartiallyEmittedExpression(node, discarded, referencedName) {\n        const visitorFunc = discarded ? discardedValueVisitor : referencedName ? (node2) => namedEvaluationVisitor(node2, referencedName) : visitor;\n        const expression = visitNode(node.expression, visitorFunc, isExpression);\n        return factory2.updatePartiallyEmittedExpression(node, expression);\n      }\n      function visitReferencedPropertyName(node) {\n        if (isPropertyNameLiteral(node) || isPrivateIdentifier(node)) {\n          const referencedName2 = factory2.createStringLiteralFromNode(node);\n          const name2 = visitNode(node, visitor, isPropertyName);\n          return { referencedName: referencedName2, name: name2 };\n        }\n        if (isPropertyNameLiteral(node.expression) && !isIdentifier(node.expression)) {\n          const referencedName2 = factory2.createStringLiteralFromNode(node.expression);\n          const name2 = visitNode(node, visitor, isPropertyName);\n          return { referencedName: referencedName2, name: name2 };\n        }\n        const referencedName = factory2.createTempVariable(hoistVariableDeclaration);\n        const key = emitHelpers().createPropKeyHelper(visitNode(node.expression, visitor, isExpression));\n        const assignment = factory2.createAssignment(referencedName, key);\n        const name = factory2.updateComputedPropertyName(node, injectPendingExpressions(assignment));\n        return { referencedName, name };\n      }\n      function createPrivateIdentifierAssignment(info, receiver, right, operator) {\n        receiver = visitNode(receiver, visitor, isExpression);\n        right = visitNode(right, visitor, isExpression);\n        if (isCompoundAssignment(operator)) {\n          const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver);\n          receiver = initializeExpression || readExpression;\n          right = factory2.createBinaryExpression(\n            createPrivateIdentifierAccessHelper(info, readExpression),\n            getNonAssignmentOperatorForCompoundAssignment(operator),\n            right\n          );\n        }\n        setCommentRange(receiver, moveRangePos(receiver, -1));\n        switch (info.kind) {\n          case \"a\":\n            return emitHelpers().createClassPrivateFieldSetHelper(\n              receiver,\n              info.brandCheckIdentifier,\n              right,\n              info.kind,\n              info.setterName\n            );\n          case \"m\":\n            return emitHelpers().createClassPrivateFieldSetHelper(\n              receiver,\n              info.brandCheckIdentifier,\n              right,\n              info.kind,\n              /* f */\n              void 0\n            );\n          case \"f\":\n            return emitHelpers().createClassPrivateFieldSetHelper(\n              receiver,\n              info.brandCheckIdentifier,\n              right,\n              info.kind,\n              info.isStatic ? info.variableName : void 0\n            );\n          case \"untransformed\":\n            return Debug2.fail(\"Access helpers should not be created for untransformed private elements\");\n          default:\n            Debug2.assertNever(info, \"Unknown private element type\");\n        }\n      }\n      function getPrivateInstanceMethodsAndAccessors(node) {\n        return filter(node.members, isNonStaticMethodOrAccessorWithPrivateName);\n      }\n      function getClassFacts(node) {\n        let facts = 0;\n        const original = getOriginalNode(node);\n        if (isClassDeclaration(original) && classOrConstructorParameterIsDecorated(legacyDecorators, original)) {\n          facts |= 1;\n        }\n        let containsPublicInstanceFields = false;\n        let containsInitializedPublicInstanceFields = false;\n        let containsInstancePrivateElements = false;\n        let containsInstanceAutoAccessors = false;\n        for (const member of node.members) {\n          if (isStatic(member)) {\n            if (member.name && (isPrivateIdentifier(member.name) || isAutoAccessorPropertyDeclaration(member)) && shouldTransformPrivateElementsOrClassStaticBlocks) {\n              facts |= 2;\n            }\n            if (isPropertyDeclaration(member) || isClassStaticBlockDeclaration(member)) {\n              if (shouldTransformThisInStaticInitializers && member.transformFlags & 16384) {\n                facts |= 8;\n                if (!(facts & 1)) {\n                  facts |= 2;\n                }\n              }\n              if (shouldTransformSuperInStaticInitializers && member.transformFlags & 134217728) {\n                if (!(facts & 1)) {\n                  facts |= 2 | 4;\n                }\n              }\n            }\n          } else if (!hasAbstractModifier(getOriginalNode(member))) {\n            if (isAutoAccessorPropertyDeclaration(member)) {\n              containsInstanceAutoAccessors = true;\n              containsInstancePrivateElements || (containsInstancePrivateElements = isPrivateIdentifierClassElementDeclaration(member));\n            } else if (isPrivateIdentifierClassElementDeclaration(member)) {\n              containsInstancePrivateElements = true;\n            } else if (isPropertyDeclaration(member)) {\n              containsPublicInstanceFields = true;\n              containsInitializedPublicInstanceFields || (containsInitializedPublicInstanceFields = !!member.initializer);\n            }\n          }\n        }\n        const willHoistInitializersToConstructor = shouldTransformInitializersUsingDefine && containsPublicInstanceFields || shouldTransformInitializersUsingSet && containsInitializedPublicInstanceFields || shouldTransformPrivateElementsOrClassStaticBlocks && containsInstancePrivateElements || shouldTransformPrivateElementsOrClassStaticBlocks && containsInstanceAutoAccessors && shouldTransformAutoAccessors === -1;\n        if (willHoistInitializersToConstructor) {\n          facts |= 16;\n        }\n        return facts;\n      }\n      function visitExpressionWithTypeArgumentsInHeritageClause(node) {\n        var _a22;\n        const facts = ((_a22 = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a22.facts) || 0;\n        if (facts & 4) {\n          const temp = factory2.createTempVariable(\n            hoistVariableDeclaration,\n            /*reserveInNestedScopes*/\n            true\n          );\n          getClassLexicalEnvironment().superClassReference = temp;\n          return factory2.updateExpressionWithTypeArguments(\n            node,\n            factory2.createAssignment(\n              temp,\n              visitNode(node.expression, visitor, isExpression)\n            ),\n            /*typeArguments*/\n            void 0\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitInNewClassLexicalEnvironment(node, referencedName, visitor2) {\n        const savedCurrentClassContainer = currentClassContainer;\n        const savedPendingExpressions = pendingExpressions;\n        const savedLexicalEnvironment = lexicalEnvironment;\n        currentClassContainer = node;\n        pendingExpressions = void 0;\n        startClassLexicalEnvironment();\n        const shouldAlwaysTransformPrivateStaticElements = getInternalEmitFlags(node) & 32;\n        if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldAlwaysTransformPrivateStaticElements) {\n          const name = getNameOfDeclaration(node);\n          if (name && isIdentifier(name)) {\n            getPrivateIdentifierEnvironment().data.className = name;\n          }\n        }\n        if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n          const privateInstanceMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node);\n          if (some(privateInstanceMethodsAndAccessors)) {\n            getPrivateIdentifierEnvironment().data.weakSetName = createHoistedVariableForClass(\n              \"instances\",\n              privateInstanceMethodsAndAccessors[0].name\n            );\n          }\n        }\n        const facts = getClassFacts(node);\n        if (facts) {\n          getClassLexicalEnvironment().facts = facts;\n        }\n        if (facts & 8) {\n          enableSubstitutionForClassStaticThisOrSuperReference();\n        }\n        const result = visitor2(node, facts, referencedName);\n        endClassLexicalEnvironment();\n        Debug2.assert(lexicalEnvironment === savedLexicalEnvironment);\n        currentClassContainer = savedCurrentClassContainer;\n        pendingExpressions = savedPendingExpressions;\n        return result;\n      }\n      function visitClassDeclaration(node) {\n        return visitInNewClassLexicalEnvironment(\n          node,\n          /*referencedName*/\n          void 0,\n          visitClassDeclarationInNewClassLexicalEnvironment\n        );\n      }\n      function visitClassDeclarationInNewClassLexicalEnvironment(node, facts) {\n        var _a22, _b3;\n        let pendingClassReferenceAssignment;\n        if (facts & 2) {\n          if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_a22 = node.emitNode) == null ? void 0 : _a22.classThis)) {\n            getClassLexicalEnvironment().classConstructor = node.emitNode.classThis;\n            pendingClassReferenceAssignment = factory2.createAssignment(node.emitNode.classThis, factory2.getInternalName(node));\n          } else {\n            const temp = factory2.createTempVariable(\n              hoistVariableDeclaration,\n              /*reservedInNestedScopes*/\n              true\n            );\n            getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp);\n            pendingClassReferenceAssignment = factory2.createAssignment(temp, factory2.getInternalName(node));\n          }\n          if ((_b3 = node.emitNode) == null ? void 0 : _b3.classThis) {\n            getClassLexicalEnvironment().classThis = node.emitNode.classThis;\n          }\n        }\n        const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n        const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause);\n        const { members, prologue } = transformClassMembers(node);\n        const classDecl = factory2.updateClassDeclaration(\n          node,\n          modifiers,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          heritageClauses,\n          members\n        );\n        const statements = [];\n        if (prologue) {\n          statements.push(factory2.createExpressionStatement(prologue));\n        }\n        statements.push(classDecl);\n        if (pendingClassReferenceAssignment) {\n          getPendingExpressions().unshift(pendingClassReferenceAssignment);\n        }\n        if (some(pendingExpressions)) {\n          statements.push(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)));\n        }\n        if (shouldTransformInitializersUsingSet || shouldTransformPrivateElementsOrClassStaticBlocks || getInternalEmitFlags(node) & 32) {\n          const staticProperties = getStaticPropertiesAndClassStaticBlock(node);\n          if (some(staticProperties)) {\n            addPropertyOrClassStaticBlockStatements(statements, staticProperties, factory2.getInternalName(node));\n          }\n        }\n        return statements;\n      }\n      function visitClassExpression(node, referencedName) {\n        return visitInNewClassLexicalEnvironment(node, referencedName, visitClassExpressionInNewClassLexicalEnvironment);\n      }\n      function visitClassExpressionInNewClassLexicalEnvironment(node, facts, referencedName) {\n        var _a22, _b3, _c, _d, _e, _f;\n        const isDecoratedClassDeclaration = !!(facts & 1);\n        const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node);\n        const isClassWithConstructorReference = resolver.getNodeCheckFlags(node) & 1048576;\n        let temp;\n        function createClassTempVar() {\n          var _a32;\n          if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_a32 = node.emitNode) == null ? void 0 : _a32.classThis)) {\n            return getClassLexicalEnvironment().classConstructor = node.emitNode.classThis;\n          }\n          const classCheckFlags = resolver.getNodeCheckFlags(node);\n          const isClassWithConstructorReference2 = classCheckFlags & 1048576;\n          const requiresBlockScopedVar = classCheckFlags & 32768;\n          const temp2 = factory2.createTempVariable(requiresBlockScopedVar ? addBlockScopedVariable : hoistVariableDeclaration, !!isClassWithConstructorReference2);\n          getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp2);\n          return temp2;\n        }\n        if ((_a22 = node.emitNode) == null ? void 0 : _a22.classThis) {\n          getClassLexicalEnvironment().classThis = node.emitNode.classThis;\n        }\n        if (facts & 2) {\n          temp != null ? temp : temp = createClassTempVar();\n        }\n        const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n        const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause);\n        const { members, prologue } = transformClassMembers(node);\n        let classExpression = factory2.updateClassExpression(\n          node,\n          modifiers,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          heritageClauses,\n          members\n        );\n        const expressions = [];\n        if (prologue) {\n          expressions.push(prologue);\n        }\n        const hasTransformableStatics = (shouldTransformPrivateElementsOrClassStaticBlocks || getInternalEmitFlags(node) & 32) && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2));\n        if (hasTransformableStatics || some(pendingExpressions) || referencedName) {\n          if (isDecoratedClassDeclaration) {\n            Debug2.assertIsDefined(pendingStatements, \"Decorated classes transformed by TypeScript are expected to be within a variable declaration.\");\n            if (some(pendingExpressions)) {\n              addRange(pendingStatements, map(pendingExpressions, factory2.createExpressionStatement));\n            }\n            if (referencedName) {\n              if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n                const setNameExpression = emitHelpers().createSetFunctionNameHelper((_c = temp != null ? temp : (_b3 = node.emitNode) == null ? void 0 : _b3.classThis) != null ? _c : factory2.getInternalName(node), referencedName);\n                pendingStatements.push(factory2.createExpressionStatement(setNameExpression));\n              } else {\n                const setNameExpression = emitHelpers().createSetFunctionNameHelper(factory2.createThis(), referencedName);\n                classExpression = factory2.updateClassExpression(\n                  classExpression,\n                  classExpression.modifiers,\n                  classExpression.name,\n                  classExpression.typeParameters,\n                  classExpression.heritageClauses,\n                  [\n                    factory2.createClassStaticBlockDeclaration(\n                      factory2.createBlock([\n                        factory2.createExpressionStatement(setNameExpression)\n                      ])\n                    ),\n                    ...classExpression.members\n                  ]\n                );\n              }\n            }\n            if (some(staticPropertiesOrClassStaticBlocks)) {\n              addPropertyOrClassStaticBlockStatements(pendingStatements, staticPropertiesOrClassStaticBlocks, (_e = (_d = node.emitNode) == null ? void 0 : _d.classThis) != null ? _e : factory2.getInternalName(node));\n            }\n            if (temp) {\n              expressions.push(factory2.createAssignment(temp, classExpression));\n            } else if (shouldTransformPrivateElementsOrClassStaticBlocks && ((_f = node.emitNode) == null ? void 0 : _f.classThis)) {\n              expressions.push(factory2.createAssignment(node.emitNode.classThis, classExpression));\n            } else {\n              expressions.push(classExpression);\n            }\n          } else {\n            temp != null ? temp : temp = createClassTempVar();\n            if (isClassWithConstructorReference) {\n              enableSubstitutionForClassAliases();\n              const alias = factory2.cloneNode(temp);\n              alias.emitNode.autoGenerate.flags &= ~8;\n              classAliases[getOriginalNodeId(node)] = alias;\n            }\n            expressions.push(factory2.createAssignment(temp, classExpression));\n            addRange(expressions, pendingExpressions);\n            if (referencedName) {\n              expressions.push(emitHelpers().createSetFunctionNameHelper(temp, referencedName));\n            }\n            addRange(expressions, generateInitializedPropertyExpressionsOrClassStaticBlock(staticPropertiesOrClassStaticBlocks, temp));\n            expressions.push(factory2.cloneNode(temp));\n          }\n        } else {\n          expressions.push(classExpression);\n        }\n        if (expressions.length > 1) {\n          addEmitFlags(\n            classExpression,\n            131072\n            /* Indented */\n          );\n          expressions.forEach(startOnNewLine);\n        }\n        return factory2.inlineExpressions(expressions);\n      }\n      function visitClassStaticBlockDeclaration(node) {\n        if (!shouldTransformPrivateElementsOrClassStaticBlocks) {\n          return visitEachChild(node, visitor, context);\n        }\n        return void 0;\n      }\n      function transformClassMembers(node) {\n        const shouldTransformPrivateStaticElementsInClass = !!(getInternalEmitFlags(node) & 32);\n        if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInFile) {\n          for (const member of node.members) {\n            if (isPrivateIdentifierClassElementDeclaration(member)) {\n              if (shouldTransformClassElementToWeakMap(member)) {\n                addPrivateIdentifierToEnvironment(member, member.name, addPrivateIdentifierClassElementToEnvironment);\n              } else {\n                const privateEnv = getPrivateIdentifierEnvironment();\n                setPrivateIdentifier(privateEnv, member.name, { kind: \"untransformed\" });\n              }\n            }\n          }\n          if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n            if (some(getPrivateInstanceMethodsAndAccessors(node))) {\n              createBrandCheckWeakSetForPrivateMethods();\n            }\n          }\n          if (shouldTransformAutoAccessorsInCurrentClass()) {\n            for (const member of node.members) {\n              if (isAutoAccessorPropertyDeclaration(member)) {\n                const storageName = factory2.getGeneratedPrivateNameForNode(\n                  member.name,\n                  /*prefix*/\n                  void 0,\n                  \"_accessor_storage\"\n                );\n                if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) {\n                  addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment);\n                } else {\n                  const privateEnv = getPrivateIdentifierEnvironment();\n                  setPrivateIdentifier(privateEnv, storageName, { kind: \"untransformed\" });\n                }\n              }\n            }\n          }\n        }\n        let members = visitNodes2(node.members, classElementVisitor, isClassElement);\n        let syntheticConstructor;\n        if (!some(members, isConstructorDeclaration)) {\n          syntheticConstructor = transformConstructor(\n            /*constructor*/\n            void 0,\n            node\n          );\n        }\n        let prologue;\n        let syntheticStaticBlock;\n        if (!shouldTransformPrivateElementsOrClassStaticBlocks && some(pendingExpressions)) {\n          let statement = factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions));\n          if (statement.transformFlags & 134234112) {\n            const temp = factory2.createTempVariable(hoistVariableDeclaration);\n            const arrow = factory2.createArrowFunction(\n              /*modifiers*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              /*parameters*/\n              [],\n              /*type*/\n              void 0,\n              /*equalsGreaterThanToken*/\n              void 0,\n              factory2.createBlock([statement])\n            );\n            prologue = factory2.createAssignment(temp, arrow);\n            statement = factory2.createExpressionStatement(factory2.createCallExpression(\n              temp,\n              /*typeArguments*/\n              void 0,\n              []\n            ));\n          }\n          const block = factory2.createBlock([statement]);\n          syntheticStaticBlock = factory2.createClassStaticBlockDeclaration(block);\n          pendingExpressions = void 0;\n        }\n        if (syntheticConstructor || syntheticStaticBlock) {\n          let membersArray;\n          membersArray = append(membersArray, syntheticConstructor);\n          membersArray = append(membersArray, syntheticStaticBlock);\n          membersArray = addRange(membersArray, members);\n          members = setTextRange(\n            factory2.createNodeArray(membersArray),\n            /*location*/\n            node.members\n          );\n        }\n        return { members, prologue };\n      }\n      function createBrandCheckWeakSetForPrivateMethods() {\n        const { weakSetName } = getPrivateIdentifierEnvironment().data;\n        Debug2.assert(weakSetName, \"weakSetName should be set in private identifier environment\");\n        getPendingExpressions().push(\n          factory2.createAssignment(\n            weakSetName,\n            factory2.createNewExpression(\n              factory2.createIdentifier(\"WeakSet\"),\n              /*typeArguments*/\n              void 0,\n              []\n            )\n          )\n        );\n      }\n      function transformConstructor(constructor, container) {\n        constructor = visitNode(constructor, visitor, isConstructorDeclaration);\n        if (!(lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) || !(lexicalEnvironment.data.facts & 16)) {\n          return constructor;\n        }\n        const extendsClauseElement = getEffectiveBaseTypeNode(container);\n        const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 104);\n        const parameters = visitParameterList(constructor ? constructor.parameters : void 0, visitor, context);\n        const body = transformConstructorBody(container, constructor, isDerivedClass);\n        if (!body) {\n          return constructor;\n        }\n        if (constructor) {\n          Debug2.assert(parameters);\n          return factory2.updateConstructorDeclaration(\n            constructor,\n            /*modifiers*/\n            void 0,\n            parameters,\n            body\n          );\n        }\n        return startOnNewLine(\n          setOriginalNode(\n            setTextRange(\n              factory2.createConstructorDeclaration(\n                /*modifiers*/\n                void 0,\n                parameters != null ? parameters : [],\n                body\n              ),\n              constructor || container\n            ),\n            constructor\n          )\n        );\n      }\n      function transformConstructorBody(node, constructor, isDerivedClass) {\n        var _a22, _b3;\n        const instanceProperties = getProperties(\n          node,\n          /*requireInitializer*/\n          false,\n          /*isStatic*/\n          false\n        );\n        let properties = instanceProperties;\n        if (!useDefineForClassFields) {\n          properties = filter(properties, (property) => !!property.initializer || isPrivateIdentifier(property.name) || hasAccessorModifier(property));\n        }\n        const privateMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node);\n        const needsConstructorBody = some(properties) || some(privateMethodsAndAccessors);\n        if (!constructor && !needsConstructorBody) {\n          return visitFunctionBody(\n            /*node*/\n            void 0,\n            visitor,\n            context\n          );\n        }\n        resumeLexicalEnvironment();\n        const needsSyntheticConstructor = !constructor && isDerivedClass;\n        let indexOfFirstStatementAfterSuperAndPrologue = 0;\n        let prologueStatementCount = 0;\n        let superStatementIndex = -1;\n        let statements = [];\n        if ((_a22 = constructor == null ? void 0 : constructor.body) == null ? void 0 : _a22.statements) {\n          prologueStatementCount = factory2.copyPrologue(\n            constructor.body.statements,\n            statements,\n            /*ensureUseStrict*/\n            false,\n            visitor\n          );\n          superStatementIndex = findSuperStatementIndex(constructor.body.statements, prologueStatementCount);\n          if (superStatementIndex >= 0) {\n            indexOfFirstStatementAfterSuperAndPrologue = superStatementIndex + 1;\n            statements = [\n              ...statements.slice(0, prologueStatementCount),\n              ...visitNodes2(constructor.body.statements, visitor, isStatement, prologueStatementCount, indexOfFirstStatementAfterSuperAndPrologue - prologueStatementCount),\n              ...statements.slice(prologueStatementCount)\n            ];\n          } else if (prologueStatementCount >= 0) {\n            indexOfFirstStatementAfterSuperAndPrologue = prologueStatementCount;\n          }\n        }\n        if (needsSyntheticConstructor) {\n          statements.push(\n            factory2.createExpressionStatement(\n              factory2.createCallExpression(\n                factory2.createSuper(),\n                /*typeArguments*/\n                void 0,\n                [factory2.createSpreadElement(factory2.createIdentifier(\"arguments\"))]\n              )\n            )\n          );\n        }\n        let parameterPropertyDeclarationCount = 0;\n        if (constructor == null ? void 0 : constructor.body) {\n          for (let i = indexOfFirstStatementAfterSuperAndPrologue; i < constructor.body.statements.length; i++) {\n            const statement = constructor.body.statements[i];\n            if (isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) {\n              parameterPropertyDeclarationCount++;\n            } else {\n              break;\n            }\n          }\n          if (parameterPropertyDeclarationCount > 0) {\n            indexOfFirstStatementAfterSuperAndPrologue += parameterPropertyDeclarationCount;\n          }\n        }\n        const receiver = factory2.createThis();\n        addInstanceMethodStatements(statements, privateMethodsAndAccessors, receiver);\n        if (constructor) {\n          const parameterProperties = filter(instanceProperties, (prop) => isParameterPropertyDeclaration(getOriginalNode(prop), constructor));\n          const nonParameterProperties = filter(properties, (prop) => !isParameterPropertyDeclaration(getOriginalNode(prop), constructor));\n          addPropertyOrClassStaticBlockStatements(statements, parameterProperties, receiver);\n          addPropertyOrClassStaticBlockStatements(statements, nonParameterProperties, receiver);\n        } else {\n          addPropertyOrClassStaticBlockStatements(statements, properties, receiver);\n        }\n        if (constructor) {\n          addRange(statements, visitNodes2(constructor.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuperAndPrologue));\n        }\n        statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n        if (statements.length === 0 && !constructor) {\n          return void 0;\n        }\n        const multiLine = (constructor == null ? void 0 : constructor.body) && constructor.body.statements.length >= statements.length ? (_b3 = constructor.body.multiLine) != null ? _b3 : statements.length > 0 : statements.length > 0;\n        return setTextRange(\n          factory2.createBlock(\n            setTextRange(\n              factory2.createNodeArray(statements),\n              /*location*/\n              constructor ? constructor.body.statements : node.members\n            ),\n            multiLine\n          ),\n          /*location*/\n          constructor ? constructor.body : void 0\n        );\n      }\n      function addPropertyOrClassStaticBlockStatements(statements, properties, receiver) {\n        for (const property of properties) {\n          if (isStatic(property) && !shouldTransformPrivateElementsOrClassStaticBlocks) {\n            continue;\n          }\n          const statement = transformPropertyOrClassStaticBlock(property, receiver);\n          if (!statement) {\n            continue;\n          }\n          statements.push(statement);\n        }\n      }\n      function transformPropertyOrClassStaticBlock(property, receiver) {\n        const expression = isClassStaticBlockDeclaration(property) ? transformClassStaticBlockDeclaration(property) : transformProperty(property, receiver);\n        if (!expression) {\n          return void 0;\n        }\n        const statement = factory2.createExpressionStatement(expression);\n        setOriginalNode(statement, property);\n        addEmitFlags(\n          statement,\n          getEmitFlags(property) & 3072\n          /* NoComments */\n        );\n        setCommentRange(statement, property);\n        const propertyOriginalNode = getOriginalNode(property);\n        if (isParameter(propertyOriginalNode)) {\n          setSourceMapRange(statement, propertyOriginalNode);\n          removeAllComments(statement);\n        } else {\n          setSourceMapRange(statement, moveRangePastModifiers(property));\n        }\n        setSyntheticLeadingComments(expression, void 0);\n        setSyntheticTrailingComments(expression, void 0);\n        if (hasAccessorModifier(propertyOriginalNode)) {\n          addEmitFlags(\n            statement,\n            3072\n            /* NoComments */\n          );\n        }\n        return statement;\n      }\n      function generateInitializedPropertyExpressionsOrClassStaticBlock(propertiesOrClassStaticBlocks, receiver) {\n        const expressions = [];\n        for (const property of propertiesOrClassStaticBlocks) {\n          const expression = isClassStaticBlockDeclaration(property) ? transformClassStaticBlockDeclaration(property) : transformProperty(property, receiver);\n          if (!expression) {\n            continue;\n          }\n          startOnNewLine(expression);\n          setOriginalNode(expression, property);\n          addEmitFlags(\n            expression,\n            getEmitFlags(property) & 3072\n            /* NoComments */\n          );\n          setSourceMapRange(expression, moveRangePastModifiers(property));\n          setCommentRange(expression, property);\n          expressions.push(expression);\n        }\n        return expressions;\n      }\n      function transformProperty(property, receiver) {\n        var _a22;\n        const savedCurrentStaticPropertyDeclarationOrStaticBlock = currentStaticPropertyDeclarationOrStaticBlock;\n        const transformed = transformPropertyWorker(property, receiver);\n        if (transformed && hasStaticModifier(property) && ((_a22 = lexicalEnvironment == null ? void 0 : lexicalEnvironment.data) == null ? void 0 : _a22.facts)) {\n          setOriginalNode(transformed, property);\n          addEmitFlags(\n            transformed,\n            4\n            /* AdviseOnEmitNode */\n          );\n          setSourceMapRange(transformed, getSourceMapRange(property.name));\n          lexicalEnvironmentMap.set(getOriginalNode(property), lexicalEnvironment);\n        }\n        currentStaticPropertyDeclarationOrStaticBlock = savedCurrentStaticPropertyDeclarationOrStaticBlock;\n        return transformed;\n      }\n      function transformPropertyWorker(property, receiver) {\n        const emitAssignment = !useDefineForClassFields;\n        let referencedName;\n        if (isNamedEvaluation(property, isAnonymousClassNeedingAssignedName)) {\n          if (isPropertyNameLiteral(property.name) || isPrivateIdentifier(property.name)) {\n            referencedName = factory2.createStringLiteralFromNode(property.name);\n          } else if (isPropertyNameLiteral(property.name.expression) && !isIdentifier(property.name.expression)) {\n            referencedName = factory2.createStringLiteralFromNode(property.name.expression);\n          } else {\n            referencedName = factory2.getGeneratedNameForNode(property.name);\n          }\n        }\n        const propertyName = hasAccessorModifier(property) ? factory2.getGeneratedPrivateNameForNode(property.name) : isComputedPropertyName(property.name) && !isSimpleInlineableExpression(property.name.expression) ? factory2.updateComputedPropertyName(property.name, factory2.getGeneratedNameForNode(property.name)) : property.name;\n        if (hasStaticModifier(property)) {\n          currentStaticPropertyDeclarationOrStaticBlock = property;\n        }\n        const initializerVisitor = referencedName ? (child) => namedEvaluationVisitor(child, referencedName) : visitor;\n        if (isPrivateIdentifier(propertyName) && shouldTransformClassElementToWeakMap(property)) {\n          const privateIdentifierInfo = accessPrivateIdentifier2(propertyName);\n          if (privateIdentifierInfo) {\n            if (privateIdentifierInfo.kind === \"f\") {\n              if (!privateIdentifierInfo.isStatic) {\n                return createPrivateInstanceFieldInitializer(\n                  receiver,\n                  visitNode(property.initializer, initializerVisitor, isExpression),\n                  privateIdentifierInfo.brandCheckIdentifier\n                );\n              } else {\n                return createPrivateStaticFieldInitializer(\n                  privateIdentifierInfo.variableName,\n                  visitNode(property.initializer, initializerVisitor, isExpression)\n                );\n              }\n            } else {\n              return void 0;\n            }\n          } else {\n            Debug2.fail(\"Undeclared private name for property declaration.\");\n          }\n        }\n        if ((isPrivateIdentifier(propertyName) || hasStaticModifier(property)) && !property.initializer) {\n          return void 0;\n        }\n        const propertyOriginalNode = getOriginalNode(property);\n        if (hasSyntacticModifier(\n          propertyOriginalNode,\n          256\n          /* Abstract */\n        )) {\n          return void 0;\n        }\n        let initializer = visitNode(property.initializer, initializerVisitor, isExpression);\n        if (isParameterPropertyDeclaration(propertyOriginalNode, propertyOriginalNode.parent) && isIdentifier(propertyName)) {\n          const localName = factory2.cloneNode(propertyName);\n          if (initializer) {\n            if (isParenthesizedExpression(initializer) && isCommaExpression(initializer.expression) && isCallToHelper(initializer.expression.left, \"___runInitializers\") && isVoidExpression(initializer.expression.right) && isNumericLiteral(initializer.expression.right.expression)) {\n              initializer = initializer.expression.left;\n            }\n            initializer = factory2.inlineExpressions([initializer, localName]);\n          } else {\n            initializer = localName;\n          }\n          setEmitFlags(\n            propertyName,\n            3072 | 96\n            /* NoSourceMap */\n          );\n          setSourceMapRange(localName, propertyOriginalNode.name);\n          setEmitFlags(\n            localName,\n            3072\n            /* NoComments */\n          );\n        } else {\n          initializer != null ? initializer : initializer = factory2.createVoidZero();\n        }\n        if (emitAssignment || isPrivateIdentifier(propertyName)) {\n          const memberAccess = createMemberAccessForPropertyName(\n            factory2,\n            receiver,\n            propertyName,\n            /*location*/\n            propertyName\n          );\n          addEmitFlags(\n            memberAccess,\n            1024\n            /* NoLeadingComments */\n          );\n          const expression = factory2.createAssignment(memberAccess, initializer);\n          return expression;\n        } else {\n          const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName;\n          const descriptor = factory2.createPropertyDescriptor({ value: initializer, configurable: true, writable: true, enumerable: true });\n          return factory2.createObjectDefinePropertyCall(receiver, name, descriptor);\n        }\n      }\n      function enableSubstitutionForClassAliases() {\n        if ((enabledSubstitutions & 1) === 0) {\n          enabledSubstitutions |= 1;\n          context.enableSubstitution(\n            79\n            /* Identifier */\n          );\n          classAliases = [];\n        }\n      }\n      function enableSubstitutionForClassStaticThisOrSuperReference() {\n        if ((enabledSubstitutions & 2) === 0) {\n          enabledSubstitutions |= 2;\n          context.enableSubstitution(\n            108\n            /* ThisKeyword */\n          );\n          context.enableEmitNotification(\n            259\n            /* FunctionDeclaration */\n          );\n          context.enableEmitNotification(\n            215\n            /* FunctionExpression */\n          );\n          context.enableEmitNotification(\n            173\n            /* Constructor */\n          );\n          context.enableEmitNotification(\n            174\n            /* GetAccessor */\n          );\n          context.enableEmitNotification(\n            175\n            /* SetAccessor */\n          );\n          context.enableEmitNotification(\n            171\n            /* MethodDeclaration */\n          );\n          context.enableEmitNotification(\n            169\n            /* PropertyDeclaration */\n          );\n          context.enableEmitNotification(\n            164\n            /* ComputedPropertyName */\n          );\n        }\n      }\n      function addInstanceMethodStatements(statements, methods, receiver) {\n        if (!shouldTransformPrivateElementsOrClassStaticBlocks || !some(methods)) {\n          return;\n        }\n        const { weakSetName } = getPrivateIdentifierEnvironment().data;\n        Debug2.assert(weakSetName, \"weakSetName should be set in private identifier environment\");\n        statements.push(\n          factory2.createExpressionStatement(\n            createPrivateInstanceMethodInitializer(receiver, weakSetName)\n          )\n        );\n      }\n      function visitInvalidSuperProperty(node) {\n        return isPropertyAccessExpression(node) ? factory2.updatePropertyAccessExpression(\n          node,\n          factory2.createVoidZero(),\n          node.name\n        ) : factory2.updateElementAccessExpression(\n          node,\n          factory2.createVoidZero(),\n          visitNode(node.argumentExpression, visitor, isExpression)\n        );\n      }\n      function getPropertyNameExpressionIfNeeded(name, shouldHoist, captureReferencedName) {\n        if (isComputedPropertyName(name)) {\n          const cacheAssignment = findComputedPropertyNameCacheAssignment(name);\n          let expression = visitNode(name.expression, visitor, isExpression);\n          const innerExpression = skipPartiallyEmittedExpressions(expression);\n          const inlinable = isSimpleInlineableExpression(innerExpression);\n          const alreadyTransformed = !!cacheAssignment || isAssignmentExpression(innerExpression) && isGeneratedIdentifier(innerExpression.left);\n          if (!alreadyTransformed && !inlinable && shouldHoist) {\n            const generatedName = factory2.getGeneratedNameForNode(name);\n            if (resolver.getNodeCheckFlags(name) & 32768) {\n              addBlockScopedVariable(generatedName);\n            } else {\n              hoistVariableDeclaration(generatedName);\n            }\n            if (captureReferencedName) {\n              expression = emitHelpers().createPropKeyHelper(expression);\n            }\n            return factory2.createAssignment(generatedName, expression);\n          }\n          return inlinable || isIdentifier(innerExpression) ? void 0 : expression;\n        }\n      }\n      function startClassLexicalEnvironment() {\n        lexicalEnvironment = { previous: lexicalEnvironment, data: void 0 };\n      }\n      function endClassLexicalEnvironment() {\n        lexicalEnvironment = lexicalEnvironment == null ? void 0 : lexicalEnvironment.previous;\n      }\n      function getClassLexicalEnvironment() {\n        var _a22;\n        Debug2.assert(lexicalEnvironment);\n        return (_a22 = lexicalEnvironment.data) != null ? _a22 : lexicalEnvironment.data = {\n          facts: 0,\n          classConstructor: void 0,\n          classThis: void 0,\n          superClassReference: void 0\n          // privateIdentifierEnvironment: undefined,\n        };\n      }\n      function getPrivateIdentifierEnvironment() {\n        var _a22;\n        Debug2.assert(lexicalEnvironment);\n        return (_a22 = lexicalEnvironment.privateEnv) != null ? _a22 : lexicalEnvironment.privateEnv = newPrivateEnvironment({\n          className: void 0,\n          weakSetName: void 0\n        });\n      }\n      function getPendingExpressions() {\n        return pendingExpressions != null ? pendingExpressions : pendingExpressions = [];\n      }\n      function addPrivateIdentifierClassElementToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo) {\n        if (isAutoAccessorPropertyDeclaration(node)) {\n          addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n        } else if (isPropertyDeclaration(node)) {\n          addPrivateIdentifierPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n        } else if (isMethodDeclaration(node)) {\n          addPrivateIdentifierMethodDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n        } else if (isGetAccessorDeclaration(node)) {\n          addPrivateIdentifierGetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n        } else if (isSetAccessorDeclaration(node)) {\n          addPrivateIdentifierSetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n        }\n      }\n      function addPrivateIdentifierPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) {\n        var _a22;\n        if (isStatic2) {\n          const brandCheckIdentifier = Debug2.checkDefined((_a22 = lex.classThis) != null ? _a22 : lex.classConstructor, \"classConstructor should be set in private identifier environment\");\n          const variableName = createHoistedVariableForPrivateName(name);\n          setPrivateIdentifier(privateEnv, name, {\n            kind: \"f\",\n            isStatic: true,\n            brandCheckIdentifier,\n            variableName,\n            isValid\n          });\n        } else {\n          const weakMapName = createHoistedVariableForPrivateName(name);\n          setPrivateIdentifier(privateEnv, name, {\n            kind: \"f\",\n            isStatic: false,\n            brandCheckIdentifier: weakMapName,\n            isValid\n          });\n          getPendingExpressions().push(factory2.createAssignment(\n            weakMapName,\n            factory2.createNewExpression(\n              factory2.createIdentifier(\"WeakMap\"),\n              /*typeArguments*/\n              void 0,\n              []\n            )\n          ));\n        }\n      }\n      function addPrivateIdentifierMethodDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) {\n        var _a22;\n        const methodName = createHoistedVariableForPrivateName(name);\n        const brandCheckIdentifier = isStatic2 ? Debug2.checkDefined((_a22 = lex.classThis) != null ? _a22 : lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug2.checkDefined(privateEnv.data.weakSetName, \"weakSetName should be set in private identifier environment\");\n        setPrivateIdentifier(privateEnv, name, {\n          kind: \"m\",\n          methodName,\n          brandCheckIdentifier,\n          isStatic: isStatic2,\n          isValid\n        });\n      }\n      function addPrivateIdentifierGetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) {\n        var _a22;\n        const getterName = createHoistedVariableForPrivateName(name, \"_get\");\n        const brandCheckIdentifier = isStatic2 ? Debug2.checkDefined((_a22 = lex.classThis) != null ? _a22 : lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug2.checkDefined(privateEnv.data.weakSetName, \"weakSetName should be set in private identifier environment\");\n        if ((previousInfo == null ? void 0 : previousInfo.kind) === \"a\" && previousInfo.isStatic === isStatic2 && !previousInfo.getterName) {\n          previousInfo.getterName = getterName;\n        } else {\n          setPrivateIdentifier(privateEnv, name, {\n            kind: \"a\",\n            getterName,\n            setterName: void 0,\n            brandCheckIdentifier,\n            isStatic: isStatic2,\n            isValid\n          });\n        }\n      }\n      function addPrivateIdentifierSetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) {\n        var _a22;\n        const setterName = createHoistedVariableForPrivateName(name, \"_set\");\n        const brandCheckIdentifier = isStatic2 ? Debug2.checkDefined((_a22 = lex.classThis) != null ? _a22 : lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug2.checkDefined(privateEnv.data.weakSetName, \"weakSetName should be set in private identifier environment\");\n        if ((previousInfo == null ? void 0 : previousInfo.kind) === \"a\" && previousInfo.isStatic === isStatic2 && !previousInfo.setterName) {\n          previousInfo.setterName = setterName;\n        } else {\n          setPrivateIdentifier(privateEnv, name, {\n            kind: \"a\",\n            getterName: void 0,\n            setterName,\n            brandCheckIdentifier,\n            isStatic: isStatic2,\n            isValid\n          });\n        }\n      }\n      function addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) {\n        var _a22;\n        const getterName = createHoistedVariableForPrivateName(name, \"_get\");\n        const setterName = createHoistedVariableForPrivateName(name, \"_set\");\n        const brandCheckIdentifier = isStatic2 ? Debug2.checkDefined((_a22 = lex.classThis) != null ? _a22 : lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug2.checkDefined(privateEnv.data.weakSetName, \"weakSetName should be set in private identifier environment\");\n        setPrivateIdentifier(privateEnv, name, {\n          kind: \"a\",\n          getterName,\n          setterName,\n          brandCheckIdentifier,\n          isStatic: isStatic2,\n          isValid\n        });\n      }\n      function addPrivateIdentifierToEnvironment(node, name, addDeclaration) {\n        const lex = getClassLexicalEnvironment();\n        const privateEnv = getPrivateIdentifierEnvironment();\n        const previousInfo = getPrivateIdentifier(privateEnv, name);\n        const isStatic2 = hasStaticModifier(node);\n        const isValid = !isReservedPrivateName(name) && previousInfo === void 0;\n        addDeclaration(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n      }\n      function createHoistedVariableForClass(name, node, suffix) {\n        const { className } = getPrivateIdentifierEnvironment().data;\n        const prefix = className ? { prefix: \"_\", node: className, suffix: \"_\" } : \"_\";\n        const identifier = typeof name === \"object\" ? factory2.getGeneratedNameForNode(name, 16 | 8, prefix, suffix) : typeof name === \"string\" ? factory2.createUniqueName(name, 16, prefix, suffix) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0,\n          /*reserveInNestedScopes*/\n          true,\n          prefix,\n          suffix\n        );\n        if (resolver.getNodeCheckFlags(node) & 32768) {\n          addBlockScopedVariable(identifier);\n        } else {\n          hoistVariableDeclaration(identifier);\n        }\n        return identifier;\n      }\n      function createHoistedVariableForPrivateName(name, suffix) {\n        var _a22;\n        const text = tryGetTextOfPropertyName(name);\n        return createHoistedVariableForClass((_a22 = text == null ? void 0 : text.substring(1)) != null ? _a22 : name, name, suffix);\n      }\n      function accessPrivateIdentifier2(name) {\n        const info = accessPrivateIdentifier(lexicalEnvironment, name);\n        return (info == null ? void 0 : info.kind) === \"untransformed\" ? void 0 : info;\n      }\n      function wrapPrivateIdentifierForDestructuringTarget(node) {\n        const parameter = factory2.getGeneratedNameForNode(node);\n        const info = accessPrivateIdentifier2(node.name);\n        if (!info) {\n          return visitEachChild(node, visitor, context);\n        }\n        let receiver = node.expression;\n        if (isThisProperty(node) || isSuperProperty(node) || !isSimpleCopiableExpression(node.expression)) {\n          receiver = factory2.createTempVariable(\n            hoistVariableDeclaration,\n            /*reservedInNestedScopes*/\n            true\n          );\n          getPendingExpressions().push(factory2.createBinaryExpression(receiver, 63, visitNode(node.expression, visitor, isExpression)));\n        }\n        return factory2.createAssignmentTargetWrapper(\n          parameter,\n          createPrivateIdentifierAssignment(\n            info,\n            receiver,\n            parameter,\n            63\n            /* EqualsToken */\n          )\n        );\n      }\n      function visitDestructuringAssignmentTarget(node) {\n        if (isObjectLiteralExpression(node) || isArrayLiteralExpression(node)) {\n          return visitAssignmentPattern(node);\n        }\n        if (isPrivateIdentifierPropertyAccessExpression(node)) {\n          return wrapPrivateIdentifierForDestructuringTarget(node);\n        } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(node) && currentStaticPropertyDeclarationOrStaticBlock && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) {\n          const { classConstructor, superClassReference, facts } = lexicalEnvironment.data;\n          if (facts & 1) {\n            return visitInvalidSuperProperty(node);\n          } else if (classConstructor && superClassReference) {\n            const name = isElementAccessExpression(node) ? visitNode(node.argumentExpression, visitor, isExpression) : isIdentifier(node.name) ? factory2.createStringLiteralFromNode(node.name) : void 0;\n            if (name) {\n              const temp = factory2.createTempVariable(\n                /*recordTempVariable*/\n                void 0\n              );\n              return factory2.createAssignmentTargetWrapper(\n                temp,\n                factory2.createReflectSetCall(\n                  superClassReference,\n                  name,\n                  temp,\n                  classConstructor\n                )\n              );\n            }\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentElement(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const left = visitDestructuringAssignmentTarget(node.left);\n          const assignedName = getAssignedNameOfIdentifier(node.left, node.right);\n          const right = visitNode(node.right, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateBinaryExpression(node, left, node.operatorToken, right);\n        }\n        if (isAssignmentExpression(\n          node,\n          /*excludeCompoundAssignment*/\n          true\n        )) {\n          const left = visitDestructuringAssignmentTarget(node.left);\n          const right = visitNode(node.right, visitor, isExpression);\n          return factory2.updateBinaryExpression(node, left, node.operatorToken, right);\n        }\n        return visitDestructuringAssignmentTarget(node);\n      }\n      function visitAssignmentRestElement(node) {\n        if (isLeftHandSideExpression(node.expression)) {\n          const expression = visitDestructuringAssignmentTarget(node.expression);\n          return factory2.updateSpreadElement(node, expression);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitArrayAssignmentElement(node) {\n        Debug2.assertNode(node, isArrayBindingOrAssignmentElement);\n        if (isSpreadElement(node))\n          return visitAssignmentRestElement(node);\n        if (!isOmittedExpression(node))\n          return visitAssignmentElement(node);\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentProperty(node) {\n        const name = visitNode(node.name, visitor, isPropertyName);\n        if (isAssignmentExpression(\n          node.initializer,\n          /*excludeCompoundAssignment*/\n          true\n        )) {\n          const assignmentElement = visitAssignmentElement(node.initializer);\n          return factory2.updatePropertyAssignment(node, name, assignmentElement);\n        }\n        if (isLeftHandSideExpression(node.initializer)) {\n          const assignmentElement = visitDestructuringAssignmentTarget(node.initializer);\n          return factory2.updatePropertyAssignment(node, name, assignmentElement);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitShorthandAssignmentProperty(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.objectAssignmentInitializer);\n          const objectAssignmentInitializer = visitNode(node.objectAssignmentInitializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateShorthandPropertyAssignment(node, node.name, objectAssignmentInitializer);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentRestProperty(node) {\n        if (isLeftHandSideExpression(node.expression)) {\n          const expression = visitDestructuringAssignmentTarget(node.expression);\n          return factory2.updateSpreadAssignment(node, expression);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitObjectAssignmentElement(node) {\n        Debug2.assertNode(node, isObjectBindingOrAssignmentElement);\n        if (isSpreadAssignment(node))\n          return visitAssignmentRestProperty(node);\n        if (isShorthandPropertyAssignment(node))\n          return visitShorthandAssignmentProperty(node);\n        if (isPropertyAssignment(node))\n          return visitAssignmentProperty(node);\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentPattern(node) {\n        if (isArrayLiteralExpression(node)) {\n          return factory2.updateArrayLiteralExpression(\n            node,\n            visitNodes2(node.elements, visitArrayAssignmentElement, isExpression)\n          );\n        } else {\n          return factory2.updateObjectLiteralExpression(\n            node,\n            visitNodes2(node.properties, visitObjectAssignmentElement, isObjectLiteralElementLike)\n          );\n        }\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        const original = getOriginalNode(node);\n        const lex = lexicalEnvironmentMap.get(original);\n        if (lex) {\n          const savedLexicalEnvironment = lexicalEnvironment;\n          const savedPreviousShouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis;\n          lexicalEnvironment = lex;\n          previousShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis;\n          shouldSubstituteThisWithClassThis = !isClassStaticBlockDeclaration(original) || !(getInternalEmitFlags(original) & 32);\n          previousOnEmitNode(hint, node, emitCallback);\n          shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis;\n          previousShouldSubstituteThisWithClassThis = savedPreviousShouldSubstituteThisWithClassThis;\n          lexicalEnvironment = savedLexicalEnvironment;\n          return;\n        }\n        switch (node.kind) {\n          case 215:\n            if (isArrowFunction(original) || getEmitFlags(node) & 524288) {\n              break;\n            }\n          case 259:\n          case 173:\n          case 174:\n          case 175:\n          case 171:\n          case 169: {\n            const savedLexicalEnvironment = lexicalEnvironment;\n            const savedPreviousShouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis;\n            lexicalEnvironment = void 0;\n            previousShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis;\n            shouldSubstituteThisWithClassThis = false;\n            previousOnEmitNode(hint, node, emitCallback);\n            shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis;\n            previousShouldSubstituteThisWithClassThis = savedPreviousShouldSubstituteThisWithClassThis;\n            lexicalEnvironment = savedLexicalEnvironment;\n            return;\n          }\n          case 164: {\n            const savedLexicalEnvironment = lexicalEnvironment;\n            const savedShouldSubstituteThisWithClassThis = shouldSubstituteThisWithClassThis;\n            lexicalEnvironment = lexicalEnvironment == null ? void 0 : lexicalEnvironment.previous;\n            shouldSubstituteThisWithClassThis = previousShouldSubstituteThisWithClassThis;\n            previousOnEmitNode(hint, node, emitCallback);\n            shouldSubstituteThisWithClassThis = savedShouldSubstituteThisWithClassThis;\n            lexicalEnvironment = savedLexicalEnvironment;\n            return;\n          }\n        }\n        previousOnEmitNode(hint, node, emitCallback);\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1) {\n          return substituteExpression(node);\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return substituteExpressionIdentifier(node);\n          case 108:\n            return substituteThisExpression(node);\n        }\n        return node;\n      }\n      function substituteThisExpression(node) {\n        if (enabledSubstitutions & 2 && (lexicalEnvironment == null ? void 0 : lexicalEnvironment.data)) {\n          const { facts, classConstructor, classThis } = lexicalEnvironment.data;\n          if (facts & 1 && legacyDecorators) {\n            return factory2.createParenthesizedExpression(factory2.createVoidZero());\n          }\n          const substituteThis = shouldSubstituteThisWithClassThis ? classThis != null ? classThis : classConstructor : classConstructor;\n          if (substituteThis) {\n            return setTextRange(\n              setOriginalNode(\n                factory2.cloneNode(substituteThis),\n                node\n              ),\n              node\n            );\n          }\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        return trySubstituteClassAlias(node) || node;\n      }\n      function trySubstituteClassAlias(node) {\n        if (enabledSubstitutions & 1) {\n          if (resolver.getNodeCheckFlags(node) & 2097152) {\n            const declaration = resolver.getReferencedValueDeclaration(node);\n            if (declaration) {\n              const classAlias = classAliases[declaration.id];\n              if (classAlias) {\n                const clone2 = factory2.cloneNode(classAlias);\n                setSourceMapRange(clone2, node);\n                setCommentRange(clone2, node);\n                return clone2;\n              }\n            }\n          }\n        }\n        return void 0;\n      }\n    }\n    function createPrivateStaticFieldInitializer(variableName, initializer) {\n      return factory.createAssignment(\n        variableName,\n        factory.createObjectLiteralExpression([\n          factory.createPropertyAssignment(\"value\", initializer || factory.createVoidZero())\n        ])\n      );\n    }\n    function createPrivateInstanceFieldInitializer(receiver, initializer, weakMapName) {\n      return factory.createCallExpression(\n        factory.createPropertyAccessExpression(weakMapName, \"set\"),\n        /*typeArguments*/\n        void 0,\n        [receiver, initializer || factory.createVoidZero()]\n      );\n    }\n    function createPrivateInstanceMethodInitializer(receiver, weakSetName) {\n      return factory.createCallExpression(\n        factory.createPropertyAccessExpression(weakSetName, \"add\"),\n        /*typeArguments*/\n        void 0,\n        [receiver]\n      );\n    }\n    function isReservedPrivateName(node) {\n      return !isGeneratedPrivateIdentifier(node) && node.escapedText === \"#constructor\";\n    }\n    function isPrivateIdentifierInExpression(node) {\n      return isPrivateIdentifier(node.left) && node.operatorToken.kind === 101;\n    }\n    var init_classFields = __esm({\n      \"src/compiler/transformers/classFields.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function createRuntimeTypeSerializer(context) {\n      const {\n        hoistVariableDeclaration\n      } = context;\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const strictNullChecks = getStrictOptionValue(compilerOptions, \"strictNullChecks\");\n      let currentLexicalScope;\n      let currentNameScope;\n      return {\n        serializeTypeNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeTypeNode, node),\n        serializeTypeOfNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeTypeOfNode, node),\n        serializeParameterTypesOfNode: (serializerContext, node, container) => setSerializerContextAnd(serializerContext, serializeParameterTypesOfNode, node, container),\n        serializeReturnTypeOfNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeReturnTypeOfNode, node)\n      };\n      function setSerializerContextAnd(serializerContext, cb, node, arg) {\n        const savedCurrentLexicalScope = currentLexicalScope;\n        const savedCurrentNameScope = currentNameScope;\n        currentLexicalScope = serializerContext.currentLexicalScope;\n        currentNameScope = serializerContext.currentNameScope;\n        const result = arg === void 0 ? cb(node) : cb(node, arg);\n        currentLexicalScope = savedCurrentLexicalScope;\n        currentNameScope = savedCurrentNameScope;\n        return result;\n      }\n      function getAccessorTypeNode(node) {\n        const accessors = resolver.getAllAccessorDeclarations(node);\n        return accessors.setAccessor && getSetAccessorTypeAnnotationNode(accessors.setAccessor) || accessors.getAccessor && getEffectiveReturnTypeNode(accessors.getAccessor);\n      }\n      function serializeTypeOfNode(node) {\n        switch (node.kind) {\n          case 169:\n          case 166:\n            return serializeTypeNode(node.type);\n          case 175:\n          case 174:\n            return serializeTypeNode(getAccessorTypeNode(node));\n          case 260:\n          case 228:\n          case 171:\n            return factory.createIdentifier(\"Function\");\n          default:\n            return factory.createVoidZero();\n        }\n      }\n      function serializeParameterTypesOfNode(node, container) {\n        const valueDeclaration = isClassLike(node) ? getFirstConstructorWithBody(node) : isFunctionLike(node) && nodeIsPresent(node.body) ? node : void 0;\n        const expressions = [];\n        if (valueDeclaration) {\n          const parameters = getParametersOfDecoratedDeclaration(valueDeclaration, container);\n          const numParameters = parameters.length;\n          for (let i = 0; i < numParameters; i++) {\n            const parameter = parameters[i];\n            if (i === 0 && isIdentifier(parameter.name) && parameter.name.escapedText === \"this\") {\n              continue;\n            }\n            if (parameter.dotDotDotToken) {\n              expressions.push(serializeTypeNode(getRestParameterElementType(parameter.type)));\n            } else {\n              expressions.push(serializeTypeOfNode(parameter));\n            }\n          }\n        }\n        return factory.createArrayLiteralExpression(expressions);\n      }\n      function getParametersOfDecoratedDeclaration(node, container) {\n        if (container && node.kind === 174) {\n          const { setAccessor } = getAllAccessorDeclarations(container.members, node);\n          if (setAccessor) {\n            return setAccessor.parameters;\n          }\n        }\n        return node.parameters;\n      }\n      function serializeReturnTypeOfNode(node) {\n        if (isFunctionLike(node) && node.type) {\n          return serializeTypeNode(node.type);\n        } else if (isAsyncFunction(node)) {\n          return factory.createIdentifier(\"Promise\");\n        }\n        return factory.createVoidZero();\n      }\n      function serializeTypeNode(node) {\n        if (node === void 0) {\n          return factory.createIdentifier(\"Object\");\n        }\n        node = skipTypeParentheses(node);\n        switch (node.kind) {\n          case 114:\n          case 155:\n          case 144:\n            return factory.createVoidZero();\n          case 181:\n          case 182:\n            return factory.createIdentifier(\"Function\");\n          case 185:\n          case 186:\n            return factory.createIdentifier(\"Array\");\n          case 179:\n            return node.assertsModifier ? factory.createVoidZero() : factory.createIdentifier(\"Boolean\");\n          case 134:\n            return factory.createIdentifier(\"Boolean\");\n          case 200:\n          case 152:\n            return factory.createIdentifier(\"String\");\n          case 149:\n            return factory.createIdentifier(\"Object\");\n          case 198:\n            return serializeLiteralOfLiteralTypeNode(node.literal);\n          case 148:\n            return factory.createIdentifier(\"Number\");\n          case 160:\n            return getGlobalConstructor(\n              \"BigInt\",\n              7\n              /* ES2020 */\n            );\n          case 153:\n            return getGlobalConstructor(\n              \"Symbol\",\n              2\n              /* ES2015 */\n            );\n          case 180:\n            return serializeTypeReferenceNode(node);\n          case 190:\n            return serializeUnionOrIntersectionConstituents(\n              node.types,\n              /*isIntersection*/\n              true\n            );\n          case 189:\n            return serializeUnionOrIntersectionConstituents(\n              node.types,\n              /*isIntersection*/\n              false\n            );\n          case 191:\n            return serializeUnionOrIntersectionConstituents(\n              [node.trueType, node.falseType],\n              /*isIntersection*/\n              false\n            );\n          case 195:\n            if (node.operator === 146) {\n              return serializeTypeNode(node.type);\n            }\n            break;\n          case 183:\n          case 196:\n          case 197:\n          case 184:\n          case 131:\n          case 157:\n          case 194:\n          case 202:\n            break;\n          case 315:\n          case 316:\n          case 320:\n          case 321:\n          case 322:\n            break;\n          case 317:\n          case 318:\n          case 319:\n            return serializeTypeNode(node.type);\n          default:\n            return Debug2.failBadSyntaxKind(node);\n        }\n        return factory.createIdentifier(\"Object\");\n      }\n      function serializeLiteralOfLiteralTypeNode(node) {\n        switch (node.kind) {\n          case 10:\n          case 14:\n            return factory.createIdentifier(\"String\");\n          case 221: {\n            const operand = node.operand;\n            switch (operand.kind) {\n              case 8:\n              case 9:\n                return serializeLiteralOfLiteralTypeNode(operand);\n              default:\n                return Debug2.failBadSyntaxKind(operand);\n            }\n          }\n          case 8:\n            return factory.createIdentifier(\"Number\");\n          case 9:\n            return getGlobalConstructor(\n              \"BigInt\",\n              7\n              /* ES2020 */\n            );\n          case 110:\n          case 95:\n            return factory.createIdentifier(\"Boolean\");\n          case 104:\n            return factory.createVoidZero();\n          default:\n            return Debug2.failBadSyntaxKind(node);\n        }\n      }\n      function serializeUnionOrIntersectionConstituents(types, isIntersection) {\n        let serializedType;\n        for (let typeNode of types) {\n          typeNode = skipTypeParentheses(typeNode);\n          if (typeNode.kind === 144) {\n            if (isIntersection)\n              return factory.createVoidZero();\n            continue;\n          }\n          if (typeNode.kind === 157) {\n            if (!isIntersection)\n              return factory.createIdentifier(\"Object\");\n            continue;\n          }\n          if (typeNode.kind === 131) {\n            return factory.createIdentifier(\"Object\");\n          }\n          if (!strictNullChecks && (isLiteralTypeNode(typeNode) && typeNode.literal.kind === 104 || typeNode.kind === 155)) {\n            continue;\n          }\n          const serializedConstituent = serializeTypeNode(typeNode);\n          if (isIdentifier(serializedConstituent) && serializedConstituent.escapedText === \"Object\") {\n            return serializedConstituent;\n          }\n          if (serializedType) {\n            if (!equateSerializedTypeNodes(serializedType, serializedConstituent)) {\n              return factory.createIdentifier(\"Object\");\n            }\n          } else {\n            serializedType = serializedConstituent;\n          }\n        }\n        return serializedType != null ? serializedType : factory.createVoidZero();\n      }\n      function equateSerializedTypeNodes(left, right) {\n        return (\n          // temp vars used in fallback\n          isGeneratedIdentifier(left) ? isGeneratedIdentifier(right) : (\n            // entity names\n            isIdentifier(left) ? isIdentifier(right) && left.escapedText === right.escapedText : isPropertyAccessExpression(left) ? isPropertyAccessExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) && equateSerializedTypeNodes(left.name, right.name) : (\n              // `void 0`\n              isVoidExpression(left) ? isVoidExpression(right) && isNumericLiteral(left.expression) && left.expression.text === \"0\" && isNumericLiteral(right.expression) && right.expression.text === \"0\" : (\n                // `\"undefined\"` or `\"function\"` in `typeof` checks\n                isStringLiteral(left) ? isStringLiteral(right) && left.text === right.text : (\n                  // used in `typeof` checks for fallback\n                  isTypeOfExpression(left) ? isTypeOfExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : (\n                    // parens in `typeof` checks with temps\n                    isParenthesizedExpression(left) ? isParenthesizedExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : (\n                      // conditionals used in fallback\n                      isConditionalExpression(left) ? isConditionalExpression(right) && equateSerializedTypeNodes(left.condition, right.condition) && equateSerializedTypeNodes(left.whenTrue, right.whenTrue) && equateSerializedTypeNodes(left.whenFalse, right.whenFalse) : (\n                        // logical binary and assignments used in fallback\n                        isBinaryExpression(left) ? isBinaryExpression(right) && left.operatorToken.kind === right.operatorToken.kind && equateSerializedTypeNodes(left.left, right.left) && equateSerializedTypeNodes(left.right, right.right) : false\n                      )\n                    )\n                  )\n                )\n              )\n            )\n          )\n        );\n      }\n      function serializeTypeReferenceNode(node) {\n        const kind = resolver.getTypeReferenceSerializationKind(node.typeName, currentNameScope != null ? currentNameScope : currentLexicalScope);\n        switch (kind) {\n          case 0:\n            if (findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && (n.parent.trueType === n || n.parent.falseType === n))) {\n              return factory.createIdentifier(\"Object\");\n            }\n            const serialized = serializeEntityNameAsExpressionFallback(node.typeName);\n            const temp = factory.createTempVariable(hoistVariableDeclaration);\n            return factory.createConditionalExpression(\n              factory.createTypeCheck(factory.createAssignment(temp, serialized), \"function\"),\n              /*questionToken*/\n              void 0,\n              temp,\n              /*colonToken*/\n              void 0,\n              factory.createIdentifier(\"Object\")\n            );\n          case 1:\n            return serializeEntityNameAsExpression(node.typeName);\n          case 2:\n            return factory.createVoidZero();\n          case 4:\n            return getGlobalConstructor(\n              \"BigInt\",\n              7\n              /* ES2020 */\n            );\n          case 6:\n            return factory.createIdentifier(\"Boolean\");\n          case 3:\n            return factory.createIdentifier(\"Number\");\n          case 5:\n            return factory.createIdentifier(\"String\");\n          case 7:\n            return factory.createIdentifier(\"Array\");\n          case 8:\n            return getGlobalConstructor(\n              \"Symbol\",\n              2\n              /* ES2015 */\n            );\n          case 10:\n            return factory.createIdentifier(\"Function\");\n          case 9:\n            return factory.createIdentifier(\"Promise\");\n          case 11:\n            return factory.createIdentifier(\"Object\");\n          default:\n            return Debug2.assertNever(kind);\n        }\n      }\n      function createCheckedValue(left, right) {\n        return factory.createLogicalAnd(\n          factory.createStrictInequality(factory.createTypeOfExpression(left), factory.createStringLiteral(\"undefined\")),\n          right\n        );\n      }\n      function serializeEntityNameAsExpressionFallback(node) {\n        if (node.kind === 79) {\n          const copied = serializeEntityNameAsExpression(node);\n          return createCheckedValue(copied, copied);\n        }\n        if (node.left.kind === 79) {\n          return createCheckedValue(serializeEntityNameAsExpression(node.left), serializeEntityNameAsExpression(node));\n        }\n        const left = serializeEntityNameAsExpressionFallback(node.left);\n        const temp = factory.createTempVariable(hoistVariableDeclaration);\n        return factory.createLogicalAnd(\n          factory.createLogicalAnd(\n            left.left,\n            factory.createStrictInequality(factory.createAssignment(temp, left.right), factory.createVoidZero())\n          ),\n          factory.createPropertyAccessExpression(temp, node.right)\n        );\n      }\n      function serializeEntityNameAsExpression(node) {\n        switch (node.kind) {\n          case 79:\n            const name = setParent(setTextRange(parseNodeFactory.cloneNode(node), node), node.parent);\n            name.original = void 0;\n            setParent(name, getParseTreeNode(currentLexicalScope));\n            return name;\n          case 163:\n            return serializeQualifiedNameAsExpression(node);\n        }\n      }\n      function serializeQualifiedNameAsExpression(node) {\n        return factory.createPropertyAccessExpression(serializeEntityNameAsExpression(node.left), node.right);\n      }\n      function getGlobalConstructorWithFallback(name) {\n        return factory.createConditionalExpression(\n          factory.createTypeCheck(factory.createIdentifier(name), \"function\"),\n          /*questionToken*/\n          void 0,\n          factory.createIdentifier(name),\n          /*colonToken*/\n          void 0,\n          factory.createIdentifier(\"Object\")\n        );\n      }\n      function getGlobalConstructor(name, minLanguageVersion) {\n        return languageVersion < minLanguageVersion ? getGlobalConstructorWithFallback(name) : factory.createIdentifier(name);\n      }\n    }\n    var init_typeSerializer = __esm({\n      \"src/compiler/transformers/typeSerializer.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformLegacyDecorators(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        hoistVariableDeclaration\n      } = context;\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onSubstituteNode = onSubstituteNode;\n      let classAliases;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        const visited = visitEachChild(node, visitor, context);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        return visited;\n      }\n      function modifierVisitor(node) {\n        return isDecorator(node) ? void 0 : node;\n      }\n      function visitor(node) {\n        if (!(node.transformFlags & 33554432)) {\n          return node;\n        }\n        switch (node.kind) {\n          case 167:\n            return void 0;\n          case 260:\n            return visitClassDeclaration(node);\n          case 228:\n            return visitClassExpression(node);\n          case 173:\n            return visitConstructorDeclaration(node);\n          case 171:\n            return visitMethodDeclaration(node);\n          case 175:\n            return visitSetAccessorDeclaration(node);\n          case 174:\n            return visitGetAccessorDeclaration(node);\n          case 169:\n            return visitPropertyDeclaration(node);\n          case 166:\n            return visitParameterDeclaration(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitClassDeclaration(node) {\n        if (!(classOrConstructorParameterIsDecorated(\n          /*legacyDecorators*/\n          true,\n          node\n        ) || childIsDecorated(\n          /*legacyDecorators*/\n          true,\n          node\n        ))) {\n          return visitEachChild(node, visitor, context);\n        }\n        const statements = classOrConstructorParameterIsDecorated(\n          /*useLegacyDecorators*/\n          true,\n          node\n        ) ? transformClassDeclarationWithClassDecorators(node, node.name) : transformClassDeclarationWithoutClassDecorators(node, node.name);\n        if (statements.length > 1) {\n          statements.push(factory2.createEndOfDeclarationMarker(node));\n          setEmitFlags(\n            statements[0],\n            getEmitFlags(statements[0]) | 8388608\n            /* HasEndOfDeclarationMarker */\n          );\n        }\n        return singleOrMany(statements);\n      }\n      function decoratorContainsPrivateIdentifierInExpression(decorator) {\n        return !!(decorator.transformFlags & 536870912);\n      }\n      function parameterDecoratorsContainPrivateIdentifierInExpression(parameterDecorators) {\n        return some(parameterDecorators, decoratorContainsPrivateIdentifierInExpression);\n      }\n      function hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node) {\n        for (const member of node.members) {\n          if (!canHaveDecorators(member))\n            continue;\n          const allDecorators = getAllDecoratorsOfClassElement(\n            member,\n            node,\n            /*useLegacyDecorators*/\n            true\n          );\n          if (some(allDecorators == null ? void 0 : allDecorators.decorators, decoratorContainsPrivateIdentifierInExpression))\n            return true;\n          if (some(allDecorators == null ? void 0 : allDecorators.parameters, parameterDecoratorsContainPrivateIdentifierInExpression))\n            return true;\n        }\n        return false;\n      }\n      function transformDecoratorsOfClassElements(node, members) {\n        let decorationStatements = [];\n        addClassElementDecorationStatements(\n          decorationStatements,\n          node,\n          /*isStatic*/\n          false\n        );\n        addClassElementDecorationStatements(\n          decorationStatements,\n          node,\n          /*isStatic*/\n          true\n        );\n        if (hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node)) {\n          members = setTextRange(factory2.createNodeArray([\n            ...members,\n            factory2.createClassStaticBlockDeclaration(\n              factory2.createBlock(\n                decorationStatements,\n                /*multiLine*/\n                true\n              )\n            )\n          ]), members);\n          decorationStatements = void 0;\n        }\n        return { decorationStatements, members };\n      }\n      function transformClassDeclarationWithoutClassDecorators(node, name) {\n        const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n        const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n        let members = visitNodes2(node.members, visitor, isClassElement);\n        let decorationStatements = [];\n        ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members));\n        const updated = factory2.updateClassDeclaration(\n          node,\n          modifiers,\n          name,\n          /*typeParameters*/\n          void 0,\n          heritageClauses,\n          members\n        );\n        return addRange([updated], decorationStatements);\n      }\n      function transformClassDeclarationWithClassDecorators(node, name) {\n        const location = moveRangePastModifiers(node);\n        const classAlias = getClassAliasIfNeeded(node);\n        const declName = languageVersion <= 2 ? factory2.getInternalName(\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        ) : factory2.getLocalName(\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        );\n        const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n        let members = visitNodes2(node.members, visitor, isClassElement);\n        let decorationStatements = [];\n        ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members));\n        const classExpression = factory2.createClassExpression(\n          /*modifiers*/\n          void 0,\n          name && isGeneratedIdentifier(name) ? void 0 : name,\n          /*typeParameters*/\n          void 0,\n          heritageClauses,\n          members\n        );\n        setOriginalNode(classExpression, node);\n        setTextRange(classExpression, location);\n        const statement = factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory2.createVariableDeclarationList(\n            [\n              factory2.createVariableDeclaration(\n                declName,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                classAlias ? factory2.createAssignment(classAlias, classExpression) : classExpression\n              )\n            ],\n            1\n            /* Let */\n          )\n        );\n        setOriginalNode(statement, node);\n        setTextRange(statement, location);\n        setCommentRange(statement, node);\n        const statements = [statement];\n        addRange(statements, decorationStatements);\n        addConstructorDecorationStatement(statements, node);\n        return statements;\n      }\n      function visitClassExpression(node) {\n        return factory2.updateClassExpression(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n          visitNodes2(node.members, visitor, isClassElement)\n        );\n      }\n      function visitConstructorDeclaration(node) {\n        return factory2.updateConstructorDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          visitNodes2(node.parameters, visitor, isParameter),\n          visitNode(node.body, visitor, isBlock)\n        );\n      }\n      function finishClassElement(updated, original) {\n        if (updated !== original) {\n          setCommentRange(updated, original);\n          setSourceMapRange(updated, moveRangePastModifiers(original));\n        }\n        return updated;\n      }\n      function visitMethodDeclaration(node) {\n        return finishClassElement(factory2.updateMethodDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          node.asteriskToken,\n          Debug2.checkDefined(visitNode(node.name, visitor, isPropertyName)),\n          /*questionToken*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          visitNodes2(node.parameters, visitor, isParameter),\n          /*type*/\n          void 0,\n          visitNode(node.body, visitor, isBlock)\n        ), node);\n      }\n      function visitGetAccessorDeclaration(node) {\n        return finishClassElement(factory2.updateGetAccessorDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          Debug2.checkDefined(visitNode(node.name, visitor, isPropertyName)),\n          visitNodes2(node.parameters, visitor, isParameter),\n          /*type*/\n          void 0,\n          visitNode(node.body, visitor, isBlock)\n        ), node);\n      }\n      function visitSetAccessorDeclaration(node) {\n        return finishClassElement(factory2.updateSetAccessorDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          Debug2.checkDefined(visitNode(node.name, visitor, isPropertyName)),\n          visitNodes2(node.parameters, visitor, isParameter),\n          visitNode(node.body, visitor, isBlock)\n        ), node);\n      }\n      function visitPropertyDeclaration(node) {\n        if (node.flags & 16777216 || hasSyntacticModifier(\n          node,\n          2\n          /* Ambient */\n        )) {\n          return void 0;\n        }\n        return finishClassElement(factory2.updatePropertyDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifier),\n          Debug2.checkDefined(visitNode(node.name, visitor, isPropertyName)),\n          /*questionOrExclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        ), node);\n      }\n      function visitParameterDeclaration(node) {\n        const updated = factory2.updateParameterDeclaration(\n          node,\n          elideNodes(factory2, node.modifiers),\n          node.dotDotDotToken,\n          Debug2.checkDefined(visitNode(node.name, visitor, isBindingName)),\n          /*questionToken*/\n          void 0,\n          /*type*/\n          void 0,\n          visitNode(node.initializer, visitor, isExpression)\n        );\n        if (updated !== node) {\n          setCommentRange(updated, node);\n          setTextRange(updated, moveRangePastModifiers(node));\n          setSourceMapRange(updated, moveRangePastModifiers(node));\n          setEmitFlags(\n            updated.name,\n            64\n            /* NoTrailingSourceMap */\n          );\n        }\n        return updated;\n      }\n      function isSyntheticMetadataDecorator(node) {\n        return isCallToHelper(node.expression, \"___metadata\");\n      }\n      function transformAllDecoratorsOfDeclaration(allDecorators) {\n        if (!allDecorators) {\n          return void 0;\n        }\n        const { false: decorators, true: metadata } = groupBy(allDecorators.decorators, isSyntheticMetadataDecorator);\n        const decoratorExpressions = [];\n        addRange(decoratorExpressions, map(decorators, transformDecorator));\n        addRange(decoratorExpressions, flatMap(allDecorators.parameters, transformDecoratorsOfParameter));\n        addRange(decoratorExpressions, map(metadata, transformDecorator));\n        return decoratorExpressions;\n      }\n      function addClassElementDecorationStatements(statements, node, isStatic2) {\n        addRange(statements, map(generateClassElementDecorationExpressions(node, isStatic2), (expr) => factory2.createExpressionStatement(expr)));\n      }\n      function isDecoratedClassElement(member, isStaticElement, parent2) {\n        return nodeOrChildIsDecorated(\n          /*legacyDecorators*/\n          true,\n          member,\n          parent2\n        ) && isStaticElement === isStatic(member);\n      }\n      function getDecoratedClassElements(node, isStatic2) {\n        return filter(node.members, (m) => isDecoratedClassElement(m, isStatic2, node));\n      }\n      function generateClassElementDecorationExpressions(node, isStatic2) {\n        const members = getDecoratedClassElements(node, isStatic2);\n        let expressions;\n        for (const member of members) {\n          expressions = append(expressions, generateClassElementDecorationExpression(node, member));\n        }\n        return expressions;\n      }\n      function generateClassElementDecorationExpression(node, member) {\n        const allDecorators = getAllDecoratorsOfClassElement(\n          member,\n          node,\n          /*useLegacyDecorators*/\n          true\n        );\n        const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators);\n        if (!decoratorExpressions) {\n          return void 0;\n        }\n        const prefix = getClassMemberPrefix(node, member);\n        const memberName = getExpressionForPropertyName(\n          member,\n          /*generateNameForComputedPropertyName*/\n          !hasSyntacticModifier(\n            member,\n            2\n            /* Ambient */\n          )\n        );\n        const descriptor = languageVersion > 0 ? isPropertyDeclaration(member) && !hasAccessorModifier(member) ? factory2.createVoidZero() : factory2.createNull() : void 0;\n        const helper = emitHelpers().createDecorateHelper(\n          decoratorExpressions,\n          prefix,\n          memberName,\n          descriptor\n        );\n        setEmitFlags(\n          helper,\n          3072\n          /* NoComments */\n        );\n        setSourceMapRange(helper, moveRangePastModifiers(member));\n        return helper;\n      }\n      function addConstructorDecorationStatement(statements, node) {\n        const expression = generateConstructorDecorationExpression(node);\n        if (expression) {\n          statements.push(setOriginalNode(factory2.createExpressionStatement(expression), node));\n        }\n      }\n      function generateConstructorDecorationExpression(node) {\n        const allDecorators = getAllDecoratorsOfClass(node);\n        const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators);\n        if (!decoratorExpressions) {\n          return void 0;\n        }\n        const classAlias = classAliases && classAliases[getOriginalNodeId(node)];\n        const localName = languageVersion <= 2 ? factory2.getInternalName(\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        ) : factory2.getLocalName(\n          node,\n          /*allowComments*/\n          false,\n          /*allowSourceMaps*/\n          true\n        );\n        const decorate = emitHelpers().createDecorateHelper(decoratorExpressions, localName);\n        const expression = factory2.createAssignment(localName, classAlias ? factory2.createAssignment(classAlias, decorate) : decorate);\n        setEmitFlags(\n          expression,\n          3072\n          /* NoComments */\n        );\n        setSourceMapRange(expression, moveRangePastModifiers(node));\n        return expression;\n      }\n      function transformDecorator(decorator) {\n        return Debug2.checkDefined(visitNode(decorator.expression, visitor, isExpression));\n      }\n      function transformDecoratorsOfParameter(decorators, parameterOffset) {\n        let expressions;\n        if (decorators) {\n          expressions = [];\n          for (const decorator of decorators) {\n            const helper = emitHelpers().createParamHelper(\n              transformDecorator(decorator),\n              parameterOffset\n            );\n            setTextRange(helper, decorator.expression);\n            setEmitFlags(\n              helper,\n              3072\n              /* NoComments */\n            );\n            expressions.push(helper);\n          }\n        }\n        return expressions;\n      }\n      function getExpressionForPropertyName(member, generateNameForComputedPropertyName) {\n        const name = member.name;\n        if (isPrivateIdentifier(name)) {\n          return factory2.createIdentifier(\"\");\n        } else if (isComputedPropertyName(name)) {\n          return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression;\n        } else if (isIdentifier(name)) {\n          return factory2.createStringLiteral(idText(name));\n        } else {\n          return factory2.cloneNode(name);\n        }\n      }\n      function enableSubstitutionForClassAliases() {\n        if (!classAliases) {\n          context.enableSubstitution(\n            79\n            /* Identifier */\n          );\n          classAliases = [];\n        }\n      }\n      function getClassAliasIfNeeded(node) {\n        if (resolver.getNodeCheckFlags(node) & 1048576) {\n          enableSubstitutionForClassAliases();\n          const classAlias = factory2.createUniqueName(node.name && !isGeneratedIdentifier(node.name) ? idText(node.name) : \"default\");\n          classAliases[getOriginalNodeId(node)] = classAlias;\n          hoistVariableDeclaration(classAlias);\n          return classAlias;\n        }\n      }\n      function getClassPrototype(node) {\n        return factory2.createPropertyAccessExpression(factory2.getDeclarationName(node), \"prototype\");\n      }\n      function getClassMemberPrefix(node, member) {\n        return isStatic(member) ? factory2.getDeclarationName(node) : getClassPrototype(node);\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1) {\n          return substituteExpression(node);\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return substituteExpressionIdentifier(node);\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        var _a22;\n        return (_a22 = trySubstituteClassAlias(node)) != null ? _a22 : node;\n      }\n      function trySubstituteClassAlias(node) {\n        if (classAliases) {\n          if (resolver.getNodeCheckFlags(node) & 2097152) {\n            const declaration = resolver.getReferencedValueDeclaration(node);\n            if (declaration) {\n              const classAlias = classAliases[declaration.id];\n              if (classAlias) {\n                const clone2 = factory2.cloneNode(classAlias);\n                setSourceMapRange(clone2, node);\n                setCommentRange(clone2, node);\n                return clone2;\n              }\n            }\n          }\n        }\n        return void 0;\n      }\n    }\n    var init_legacyDecorators = __esm({\n      \"src/compiler/transformers/legacyDecorators.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformESDecorators(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        startLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      let top;\n      let classInfo;\n      let classThis;\n      let classSuper;\n      let pendingExpressions;\n      let shouldTransformPrivateStaticElementsInFile;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        top = void 0;\n        shouldTransformPrivateStaticElementsInFile = false;\n        const visited = visitEachChild(node, visitor, context);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        if (shouldTransformPrivateStaticElementsInFile) {\n          addInternalEmitFlags(\n            visited,\n            32\n            /* TransformPrivateStaticElements */\n          );\n          shouldTransformPrivateStaticElementsInFile = false;\n        }\n        return visited;\n      }\n      function updateState() {\n        classInfo = void 0;\n        classThis = void 0;\n        classSuper = void 0;\n        switch (top == null ? void 0 : top.kind) {\n          case \"class\":\n            classInfo = top.classInfo;\n            break;\n          case \"class-element\":\n            classInfo = top.next.classInfo;\n            classThis = top.classThis;\n            classSuper = top.classSuper;\n            break;\n          case \"name\":\n            const grandparent = top.next.next.next;\n            if ((grandparent == null ? void 0 : grandparent.kind) === \"class-element\") {\n              classInfo = grandparent.next.classInfo;\n              classThis = grandparent.classThis;\n              classSuper = grandparent.classSuper;\n            }\n            break;\n        }\n      }\n      function enterClass(classInfo2) {\n        top = { kind: \"class\", next: top, classInfo: classInfo2, savedPendingExpressions: pendingExpressions };\n        pendingExpressions = void 0;\n        updateState();\n      }\n      function exitClass() {\n        Debug2.assert((top == null ? void 0 : top.kind) === \"class\", \"Incorrect value for top.kind.\", () => `Expected top.kind to be 'class' but got '${top == null ? void 0 : top.kind}' instead.`);\n        pendingExpressions = top.savedPendingExpressions;\n        top = top.next;\n        updateState();\n      }\n      function enterClassElement(node) {\n        var _a22, _b3;\n        Debug2.assert((top == null ? void 0 : top.kind) === \"class\", \"Incorrect value for top.kind.\", () => `Expected top.kind to be 'class' but got '${top == null ? void 0 : top.kind}' instead.`);\n        top = { kind: \"class-element\", next: top };\n        if (isClassStaticBlockDeclaration(node) || isPropertyDeclaration(node) && hasStaticModifier(node)) {\n          top.classThis = (_a22 = top.next.classInfo) == null ? void 0 : _a22.classThis;\n          top.classSuper = (_b3 = top.next.classInfo) == null ? void 0 : _b3.classSuper;\n        }\n        updateState();\n      }\n      function exitClassElement() {\n        var _a22;\n        Debug2.assert((top == null ? void 0 : top.kind) === \"class-element\", \"Incorrect value for top.kind.\", () => `Expected top.kind to be 'class-element' but got '${top == null ? void 0 : top.kind}' instead.`);\n        Debug2.assert(((_a22 = top.next) == null ? void 0 : _a22.kind) === \"class\", \"Incorrect value for top.next.kind.\", () => {\n          var _a32;\n          return `Expected top.next.kind to be 'class' but got '${(_a32 = top.next) == null ? void 0 : _a32.kind}' instead.`;\n        });\n        top = top.next;\n        updateState();\n      }\n      function enterName() {\n        Debug2.assert((top == null ? void 0 : top.kind) === \"class-element\", \"Incorrect value for top.kind.\", () => `Expected top.kind to be 'class-element' but got '${top == null ? void 0 : top.kind}' instead.`);\n        top = { kind: \"name\", next: top };\n        updateState();\n      }\n      function exitName() {\n        Debug2.assert((top == null ? void 0 : top.kind) === \"name\", \"Incorrect value for top.kind.\", () => `Expected top.kind to be 'name' but got '${top == null ? void 0 : top.kind}' instead.`);\n        top = top.next;\n        updateState();\n      }\n      function enterOther() {\n        if ((top == null ? void 0 : top.kind) === \"other\") {\n          Debug2.assert(!pendingExpressions);\n          top.depth++;\n        } else {\n          top = { kind: \"other\", next: top, depth: 0, savedPendingExpressions: pendingExpressions };\n          pendingExpressions = void 0;\n          updateState();\n        }\n      }\n      function exitOther() {\n        Debug2.assert((top == null ? void 0 : top.kind) === \"other\", \"Incorrect value for top.kind.\", () => `Expected top.kind to be 'other' but got '${top == null ? void 0 : top.kind}' instead.`);\n        if (top.depth > 0) {\n          Debug2.assert(!pendingExpressions);\n          top.depth--;\n        } else {\n          pendingExpressions = top.savedPendingExpressions;\n          top = top.next;\n          updateState();\n        }\n      }\n      function shouldVisitNode(node) {\n        return !!(node.transformFlags & 33554432) || !!classThis && !!(node.transformFlags & 16384) || !!classThis && !!classSuper && !!(node.transformFlags & 134217728);\n      }\n      function visitor(node) {\n        if (!shouldVisitNode(node)) {\n          return node;\n        }\n        switch (node.kind) {\n          case 167:\n            return Debug2.fail(\"Use `modifierVisitor` instead.\");\n          case 260:\n            return visitClassDeclaration(node);\n          case 228:\n            return visitClassExpression(\n              node,\n              /*referencedName*/\n              void 0\n            );\n          case 173:\n          case 169:\n          case 172:\n            return Debug2.fail(\"Not supported outside of a class. Use 'classElementVisitor' instead.\");\n          case 166:\n            return visitParameterDeclaration(node);\n          case 223:\n            return visitBinaryExpression(\n              node,\n              /*discarded*/\n              false\n            );\n          case 299:\n            return visitPropertyAssignment(node);\n          case 257:\n            return visitVariableDeclaration(node);\n          case 205:\n            return visitBindingElement(node);\n          case 274:\n            return visitExportAssignment(node);\n          case 108:\n            return visitThisExpression(node);\n          case 245:\n            return visitForStatement(node);\n          case 241:\n            return visitExpressionStatement(node);\n          case 357:\n            return visitCommaListExpression(\n              node,\n              /*discarded*/\n              false\n            );\n          case 214:\n            return visitParenthesizedExpression(\n              node,\n              /*discarded*/\n              false,\n              /*referencedName*/\n              void 0\n            );\n          case 356:\n            return visitPartiallyEmittedExpression(\n              node,\n              /*discarded*/\n              false,\n              /*referencedName*/\n              void 0\n            );\n          case 210:\n            return visitCallExpression(node);\n          case 212:\n            return visitTaggedTemplateExpression(node);\n          case 221:\n          case 222:\n            return visitPreOrPostfixUnaryExpression(\n              node,\n              /*discard*/\n              false\n            );\n          case 208:\n            return visitPropertyAccessExpression(node);\n          case 209:\n            return visitElementAccessExpression(node);\n          case 164:\n            return visitComputedPropertyName(node);\n          case 171:\n          case 175:\n          case 174:\n          case 215:\n          case 259: {\n            enterOther();\n            const result = visitEachChild(node, fallbackVisitor, context);\n            exitOther();\n            return result;\n          }\n          default:\n            return visitEachChild(node, fallbackVisitor, context);\n        }\n      }\n      function fallbackVisitor(node) {\n        switch (node.kind) {\n          case 167:\n            return void 0;\n          default:\n            return visitor(node);\n        }\n      }\n      function modifierVisitor(node) {\n        switch (node.kind) {\n          case 167:\n            return void 0;\n          default:\n            return node;\n        }\n      }\n      function classElementVisitor(node) {\n        switch (node.kind) {\n          case 173:\n            return visitConstructorDeclaration(node);\n          case 171:\n            return visitMethodDeclaration(node);\n          case 174:\n            return visitGetAccessorDeclaration(node);\n          case 175:\n            return visitSetAccessorDeclaration(node);\n          case 169:\n            return visitPropertyDeclaration(node);\n          case 172:\n            return visitClassStaticBlockDeclaration(node);\n          default:\n            return visitor(node);\n        }\n      }\n      function namedEvaluationVisitor(node, referencedName) {\n        switch (node.kind) {\n          case 356:\n            return visitPartiallyEmittedExpression(\n              node,\n              /*discarded*/\n              false,\n              referencedName\n            );\n          case 214:\n            return visitParenthesizedExpression(\n              node,\n              /*discarded*/\n              false,\n              referencedName\n            );\n          case 228:\n            return visitClassExpression(node, referencedName);\n          default:\n            return visitor(node);\n        }\n      }\n      function discardedValueVisitor(node) {\n        switch (node.kind) {\n          case 221:\n          case 222:\n            return visitPreOrPostfixUnaryExpression(\n              node,\n              /*discarded*/\n              true\n            );\n          case 223:\n            return visitBinaryExpression(\n              node,\n              /*discarded*/\n              true\n            );\n          case 357:\n            return visitCommaListExpression(\n              node,\n              /*discarded*/\n              true\n            );\n          case 214:\n            return visitParenthesizedExpression(\n              node,\n              /*discarded*/\n              true,\n              /*referencedName*/\n              void 0\n            );\n          default:\n            return visitor(node);\n        }\n      }\n      function getHelperVariableName(node) {\n        let declarationName = node.name && isIdentifier(node.name) && !isGeneratedIdentifier(node.name) ? idText(node.name) : node.name && isPrivateIdentifier(node.name) && !isGeneratedIdentifier(node.name) ? idText(node.name).slice(1) : node.name && isStringLiteral(node.name) && isIdentifierText(\n          node.name.text,\n          99\n          /* ESNext */\n        ) ? node.name.text : isClassLike(node) ? \"class\" : \"member\";\n        if (isGetAccessor(node))\n          declarationName = `get_${declarationName}`;\n        if (isSetAccessor(node))\n          declarationName = `set_${declarationName}`;\n        if (node.name && isPrivateIdentifier(node.name))\n          declarationName = `private_${declarationName}`;\n        if (isStatic(node))\n          declarationName = `static_${declarationName}`;\n        return \"_\" + declarationName;\n      }\n      function createHelperVariable(node, suffix) {\n        return factory2.createUniqueName(\n          `${getHelperVariableName(node)}_${suffix}`,\n          16 | 8\n          /* ReservedInNestedScopes */\n        );\n      }\n      function createLet(name, initializer) {\n        return factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory2.createVariableDeclarationList(\n            [\n              factory2.createVariableDeclaration(\n                name,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                initializer\n              )\n            ],\n            1\n            /* Let */\n          )\n        );\n      }\n      function createClassInfo(node) {\n        let instanceExtraInitializersName;\n        let staticExtraInitializersName;\n        let hasStaticInitializers = false;\n        let hasNonAmbientInstanceFields = false;\n        let hasStaticPrivateClassElements = false;\n        for (const member of node.members) {\n          if (isNamedClassElement(member) && nodeOrChildIsDecorated(\n            /*legacyDecorators*/\n            false,\n            member,\n            node\n          )) {\n            if (hasStaticModifier(member)) {\n              staticExtraInitializersName != null ? staticExtraInitializersName : staticExtraInitializersName = factory2.createUniqueName(\n                \"_staticExtraInitializers\",\n                16\n                /* Optimistic */\n              );\n            } else {\n              instanceExtraInitializersName != null ? instanceExtraInitializersName : instanceExtraInitializersName = factory2.createUniqueName(\n                \"_instanceExtraInitializers\",\n                16\n                /* Optimistic */\n              );\n            }\n          }\n          if (isClassStaticBlockDeclaration(member)) {\n            hasStaticInitializers = true;\n          } else if (isPropertyDeclaration(member)) {\n            if (hasStaticModifier(member)) {\n              hasStaticInitializers || (hasStaticInitializers = !!member.initializer || hasDecorators(member));\n            } else {\n              hasNonAmbientInstanceFields || (hasNonAmbientInstanceFields = !isAmbientPropertyDeclaration(member));\n            }\n          }\n          if ((isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)) {\n            hasStaticPrivateClassElements = true;\n          }\n          if (staticExtraInitializersName && instanceExtraInitializersName && hasStaticInitializers && hasNonAmbientInstanceFields && hasStaticPrivateClassElements) {\n            break;\n          }\n        }\n        return {\n          class: node,\n          instanceExtraInitializersName,\n          staticExtraInitializersName,\n          hasStaticInitializers,\n          hasNonAmbientInstanceFields,\n          hasStaticPrivateClassElements\n        };\n      }\n      function containsLexicalSuperInStaticInitializer(node) {\n        for (const member of node.members) {\n          if (isClassStaticBlockDeclaration(member) || isPropertyDeclaration(member) && hasStaticModifier(member)) {\n            if (member.transformFlags & 134217728) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function transformClassLike(node, className) {\n        var _a22, _b3, _c, _d, _e;\n        startLexicalEnvironment();\n        const classReference = (_a22 = node.name) != null ? _a22 : factory2.getGeneratedNameForNode(node);\n        const classInfo2 = createClassInfo(node);\n        const classDefinitionStatements = [];\n        let leadingBlockStatements;\n        let trailingBlockStatements;\n        let syntheticConstructor;\n        let heritageClauses;\n        let shouldTransformPrivateStaticElementsInClass = false;\n        const classDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClass(node));\n        if (classDecorators) {\n          classInfo2.classDecoratorsName = factory2.createUniqueName(\n            \"_classDecorators\",\n            16\n            /* Optimistic */\n          );\n          classInfo2.classDescriptorName = factory2.createUniqueName(\n            \"_classDescriptor\",\n            16\n            /* Optimistic */\n          );\n          classInfo2.classExtraInitializersName = factory2.createUniqueName(\n            \"_classExtraInitializers\",\n            16\n            /* Optimistic */\n          );\n          classInfo2.classThis = factory2.createUniqueName(\n            \"_classThis\",\n            16\n            /* Optimistic */\n          );\n          classDefinitionStatements.push(\n            createLet(classInfo2.classDecoratorsName, factory2.createArrayLiteralExpression(classDecorators)),\n            createLet(classInfo2.classDescriptorName),\n            createLet(classInfo2.classExtraInitializersName, factory2.createArrayLiteralExpression()),\n            createLet(classInfo2.classThis)\n          );\n          if (classInfo2.hasStaticPrivateClassElements) {\n            shouldTransformPrivateStaticElementsInClass = true;\n            shouldTransformPrivateStaticElementsInFile = true;\n          }\n        }\n        if (classDecorators && containsLexicalSuperInStaticInitializer(node)) {\n          const extendsClause = getHeritageClause(\n            node.heritageClauses,\n            94\n            /* ExtendsKeyword */\n          );\n          const extendsElement = extendsClause && firstOrUndefined(extendsClause.types);\n          const extendsExpression = extendsElement && visitNode(extendsElement.expression, visitor, isExpression);\n          if (extendsExpression) {\n            classInfo2.classSuper = factory2.createUniqueName(\n              \"_classSuper\",\n              16\n              /* Optimistic */\n            );\n            const unwrapped = skipOuterExpressions(extendsExpression);\n            const safeExtendsExpression = isClassExpression(unwrapped) && !unwrapped.name || isFunctionExpression(unwrapped) && !unwrapped.name || isArrowFunction(unwrapped) ? factory2.createComma(factory2.createNumericLiteral(0), extendsExpression) : extendsExpression;\n            classDefinitionStatements.push(createLet(classInfo2.classSuper, safeExtendsExpression));\n            const updatedExtendsElement = factory2.updateExpressionWithTypeArguments(\n              extendsElement,\n              classInfo2.classSuper,\n              /*typeArguments*/\n              void 0\n            );\n            const updatedExtendsClause = factory2.updateHeritageClause(extendsClause, [updatedExtendsElement]);\n            heritageClauses = factory2.createNodeArray([updatedExtendsClause]);\n          }\n        } else {\n          heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n        }\n        const renamedClassThis = (_b3 = classInfo2.classThis) != null ? _b3 : factory2.createThis();\n        const needsSetNameHelper = !((_c = getOriginalNode(node, isClassLike)) == null ? void 0 : _c.name) && (classDecorators || !isStringLiteral(className) || !isEmptyStringLiteral(className));\n        if (needsSetNameHelper) {\n          const setNameExpr = emitHelpers().createSetFunctionNameHelper(factory2.createThis(), className);\n          leadingBlockStatements = append(leadingBlockStatements, factory2.createExpressionStatement(setNameExpr));\n        }\n        enterClass(classInfo2);\n        let members = visitNodes2(node.members, classElementVisitor, isClassElement);\n        if (pendingExpressions) {\n          let outerThis;\n          for (let expression of pendingExpressions) {\n            expression = visitNode(expression, function thisVisitor(node2) {\n              if (!(node2.transformFlags & 16384)) {\n                return node2;\n              }\n              switch (node2.kind) {\n                case 108:\n                  if (!outerThis) {\n                    outerThis = factory2.createUniqueName(\n                      \"_outerThis\",\n                      16\n                      /* Optimistic */\n                    );\n                    classDefinitionStatements.unshift(createLet(outerThis, factory2.createThis()));\n                  }\n                  return outerThis;\n                default:\n                  return visitEachChild(node2, thisVisitor, context);\n              }\n            }, isExpression);\n            const statement = factory2.createExpressionStatement(expression);\n            leadingBlockStatements = append(leadingBlockStatements, statement);\n          }\n          pendingExpressions = void 0;\n        }\n        exitClass();\n        if (classInfo2.instanceExtraInitializersName && !getFirstConstructorWithBody(node)) {\n          const initializerStatements = prepareConstructor(node, classInfo2);\n          if (initializerStatements) {\n            const extendsClauseElement = getEffectiveBaseTypeNode(node);\n            const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 104);\n            const constructorStatements = [];\n            if (isDerivedClass) {\n              const spreadArguments = factory2.createSpreadElement(factory2.createIdentifier(\"arguments\"));\n              const superCall = factory2.createCallExpression(\n                factory2.createSuper(),\n                /*typeArguments*/\n                void 0,\n                [spreadArguments]\n              );\n              constructorStatements.push(factory2.createExpressionStatement(superCall));\n            }\n            addRange(constructorStatements, initializerStatements);\n            const constructorBody = factory2.createBlock(\n              constructorStatements,\n              /*multiLine*/\n              true\n            );\n            syntheticConstructor = factory2.createConstructorDeclaration(\n              /*modifiers*/\n              void 0,\n              [],\n              constructorBody\n            );\n          }\n        }\n        if (classInfo2.staticExtraInitializersName) {\n          classDefinitionStatements.push(\n            createLet(classInfo2.staticExtraInitializersName, factory2.createArrayLiteralExpression())\n          );\n        }\n        if (classInfo2.instanceExtraInitializersName) {\n          classDefinitionStatements.push(\n            createLet(classInfo2.instanceExtraInitializersName, factory2.createArrayLiteralExpression())\n          );\n        }\n        if (classInfo2.memberInfos) {\n          forEachEntry(classInfo2.memberInfos, (memberInfo, member) => {\n            if (isStatic(member)) {\n              classDefinitionStatements.push(createLet(memberInfo.memberDecoratorsName));\n              if (memberInfo.memberInitializersName) {\n                classDefinitionStatements.push(createLet(memberInfo.memberInitializersName, factory2.createArrayLiteralExpression()));\n              }\n              if (memberInfo.memberDescriptorName) {\n                classDefinitionStatements.push(createLet(memberInfo.memberDescriptorName));\n              }\n            }\n          });\n        }\n        if (classInfo2.memberInfos) {\n          forEachEntry(classInfo2.memberInfos, (memberInfo, member) => {\n            if (!isStatic(member)) {\n              classDefinitionStatements.push(createLet(memberInfo.memberDecoratorsName));\n              if (memberInfo.memberInitializersName) {\n                classDefinitionStatements.push(createLet(memberInfo.memberInitializersName, factory2.createArrayLiteralExpression()));\n              }\n              if (memberInfo.memberDescriptorName) {\n                classDefinitionStatements.push(createLet(memberInfo.memberDescriptorName));\n              }\n            }\n          });\n        }\n        leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.staticNonFieldDecorationStatements);\n        leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.nonStaticNonFieldDecorationStatements);\n        leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.staticFieldDecorationStatements);\n        leadingBlockStatements = addRange(leadingBlockStatements, classInfo2.nonStaticFieldDecorationStatements);\n        if (classInfo2.classDescriptorName && classInfo2.classDecoratorsName && classInfo2.classExtraInitializersName && classInfo2.classThis) {\n          leadingBlockStatements != null ? leadingBlockStatements : leadingBlockStatements = [];\n          const valueProperty = factory2.createPropertyAssignment(\"value\", factory2.createThis());\n          const classDescriptor = factory2.createObjectLiteralExpression([valueProperty]);\n          const classDescriptorAssignment = factory2.createAssignment(classInfo2.classDescriptorName, classDescriptor);\n          const classNameReference = factory2.createPropertyAccessExpression(factory2.createThis(), \"name\");\n          const esDecorateHelper2 = emitHelpers().createESDecorateHelper(\n            factory2.createNull(),\n            classDescriptorAssignment,\n            classInfo2.classDecoratorsName,\n            { kind: \"class\", name: classNameReference },\n            factory2.createNull(),\n            classInfo2.classExtraInitializersName\n          );\n          const esDecorateStatement = factory2.createExpressionStatement(esDecorateHelper2);\n          setSourceMapRange(esDecorateStatement, moveRangePastDecorators(node));\n          leadingBlockStatements.push(esDecorateStatement);\n          const classDescriptorValueReference = factory2.createPropertyAccessExpression(classInfo2.classDescriptorName, \"value\");\n          const classThisAssignment = factory2.createAssignment(classInfo2.classThis, classDescriptorValueReference);\n          const classReferenceAssignment = factory2.createAssignment(classReference, classThisAssignment);\n          leadingBlockStatements.push(factory2.createExpressionStatement(classReferenceAssignment));\n        }\n        if (classInfo2.staticExtraInitializersName) {\n          const runStaticInitializersHelper = emitHelpers().createRunInitializersHelper(renamedClassThis, classInfo2.staticExtraInitializersName);\n          const runStaticInitializersStatement = factory2.createExpressionStatement(runStaticInitializersHelper);\n          setSourceMapRange(runStaticInitializersStatement, (_d = node.name) != null ? _d : moveRangePastDecorators(node));\n          leadingBlockStatements = append(leadingBlockStatements, runStaticInitializersStatement);\n        }\n        if (classInfo2.classExtraInitializersName) {\n          const runClassInitializersHelper = emitHelpers().createRunInitializersHelper(renamedClassThis, classInfo2.classExtraInitializersName);\n          const runClassInitializersStatement = factory2.createExpressionStatement(runClassInitializersHelper);\n          setSourceMapRange(runClassInitializersStatement, (_e = node.name) != null ? _e : moveRangePastDecorators(node));\n          trailingBlockStatements = append(trailingBlockStatements, runClassInitializersStatement);\n        }\n        if (leadingBlockStatements && trailingBlockStatements && !classInfo2.hasStaticInitializers) {\n          addRange(leadingBlockStatements, trailingBlockStatements);\n          trailingBlockStatements = void 0;\n        }\n        let newMembers = members;\n        if (leadingBlockStatements) {\n          const leadingStaticBlockBody = factory2.createBlock(\n            leadingBlockStatements,\n            /*multiline*/\n            true\n          );\n          const leadingStaticBlock = factory2.createClassStaticBlockDeclaration(leadingStaticBlockBody);\n          if (shouldTransformPrivateStaticElementsInClass) {\n            setInternalEmitFlags(\n              leadingStaticBlock,\n              32\n              /* TransformPrivateStaticElements */\n            );\n          }\n          newMembers = [leadingStaticBlock, ...newMembers];\n        }\n        if (syntheticConstructor) {\n          newMembers = [...newMembers, syntheticConstructor];\n        }\n        if (trailingBlockStatements) {\n          const trailingStaticBlockBody = factory2.createBlock(\n            trailingBlockStatements,\n            /*multiline*/\n            true\n          );\n          const trailingStaticBlock = factory2.createClassStaticBlockDeclaration(trailingStaticBlockBody);\n          newMembers = [...newMembers, trailingStaticBlock];\n        }\n        if (newMembers !== members) {\n          members = setTextRange(factory2.createNodeArray(newMembers), members);\n        }\n        const lexicalEnvironment = endLexicalEnvironment();\n        let classExpression;\n        if (classDecorators) {\n          classExpression = factory2.createClassExpression(\n            /*modifiers*/\n            void 0,\n            /*name*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            heritageClauses,\n            members\n          );\n          const classReferenceDeclaration = factory2.createVariableDeclaration(\n            classReference,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            classExpression\n          );\n          const classReferenceVarDeclList = factory2.createVariableDeclarationList([classReferenceDeclaration]);\n          const returnExpr = classInfo2.classThis ? factory2.createAssignment(classReference, classInfo2.classThis) : classReference;\n          classDefinitionStatements.push(\n            factory2.createVariableStatement(\n              /*modifiers*/\n              void 0,\n              classReferenceVarDeclList\n            ),\n            factory2.createReturnStatement(returnExpr)\n          );\n        } else {\n          classExpression = factory2.createClassExpression(\n            /*modifiers*/\n            void 0,\n            node.name,\n            /*typeParameters*/\n            void 0,\n            heritageClauses,\n            members\n          );\n          classDefinitionStatements.push(factory2.createReturnStatement(classExpression));\n        }\n        if (shouldTransformPrivateStaticElementsInClass) {\n          addInternalEmitFlags(\n            classExpression,\n            32\n            /* TransformPrivateStaticElements */\n          );\n          for (const member of classExpression.members) {\n            if ((isPrivateIdentifierClassElementDeclaration(member) || isAutoAccessorPropertyDeclaration(member)) && hasStaticModifier(member)) {\n              addInternalEmitFlags(\n                member,\n                32\n                /* TransformPrivateStaticElements */\n              );\n            }\n          }\n        }\n        setOriginalNode(classExpression, node);\n        getOrCreateEmitNode(classExpression).classThis = classInfo2.classThis;\n        return factory2.createImmediatelyInvokedArrowFunction(factory2.mergeLexicalEnvironment(classDefinitionStatements, lexicalEnvironment));\n      }\n      function isDecoratedClassLike(node) {\n        return classOrConstructorParameterIsDecorated(\n          /*legacyDecorators*/\n          false,\n          node\n        ) || childIsDecorated(\n          /*legacyDecorators*/\n          false,\n          node\n        );\n      }\n      function visitClassDeclaration(node) {\n        var _a22;\n        if (isDecoratedClassLike(node)) {\n          if (hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          ) && hasSyntacticModifier(\n            node,\n            1024\n            /* Default */\n          )) {\n            const originalClass = (_a22 = getOriginalNode(node, isClassLike)) != null ? _a22 : node;\n            const className = originalClass.name ? factory2.createStringLiteralFromNode(originalClass.name) : factory2.createStringLiteral(\"default\");\n            const iife = transformClassLike(node, className);\n            const statement = factory2.createExportDefault(iife);\n            setOriginalNode(statement, node);\n            setCommentRange(statement, getCommentRange(node));\n            setSourceMapRange(statement, moveRangePastDecorators(node));\n            return statement;\n          } else {\n            Debug2.assertIsDefined(node.name, \"A class declaration that is not a default export must have a name.\");\n            const iife = transformClassLike(node, factory2.createStringLiteralFromNode(node.name));\n            const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n            const varDecl = factory2.createVariableDeclaration(\n              node.name,\n              /*exclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              iife\n            );\n            const varDecls = factory2.createVariableDeclarationList(\n              [varDecl],\n              1\n              /* Let */\n            );\n            const statement = factory2.createVariableStatement(modifiers, varDecls);\n            setOriginalNode(statement, node);\n            setCommentRange(statement, getCommentRange(node));\n            return statement;\n          }\n        } else {\n          const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n          const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n          enterClass(\n            /*classInfo*/\n            void 0\n          );\n          const members = visitNodes2(node.members, classElementVisitor, isClassElement);\n          exitClass();\n          return factory2.updateClassDeclaration(\n            node,\n            modifiers,\n            node.name,\n            /*typeParameters*/\n            void 0,\n            heritageClauses,\n            members\n          );\n        }\n      }\n      function visitClassExpression(node, referencedName) {\n        if (isDecoratedClassLike(node)) {\n          const className = node.name ? factory2.createStringLiteralFromNode(node.name) : referencedName != null ? referencedName : factory2.createStringLiteral(\"\");\n          const iife = transformClassLike(node, className);\n          setOriginalNode(iife, node);\n          return iife;\n        } else {\n          const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n          const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n          enterClass(\n            /*classInfo*/\n            void 0\n          );\n          const members = visitNodes2(node.members, classElementVisitor, isClassElement);\n          exitClass();\n          return factory2.updateClassExpression(\n            node,\n            modifiers,\n            node.name,\n            /*typeParameters*/\n            void 0,\n            heritageClauses,\n            members\n          );\n        }\n      }\n      function prepareConstructor(_parent, classInfo2) {\n        if (classInfo2.instanceExtraInitializersName && !classInfo2.hasNonAmbientInstanceFields) {\n          const statements = [];\n          statements.push(\n            factory2.createExpressionStatement(\n              emitHelpers().createRunInitializersHelper(\n                factory2.createThis(),\n                classInfo2.instanceExtraInitializersName\n              )\n            )\n          );\n          return statements;\n        }\n      }\n      function visitConstructorDeclaration(node) {\n        enterClassElement(node);\n        const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n        const parameters = visitNodes2(node.parameters, visitor, isParameter);\n        let body;\n        if (node.body && classInfo) {\n          const initializerStatements = prepareConstructor(classInfo.class, classInfo);\n          if (initializerStatements) {\n            const statements = [];\n            const nonPrologueStart = factory2.copyPrologue(\n              node.body.statements,\n              statements,\n              /*ensureUseStrict*/\n              false,\n              visitor\n            );\n            const superStatementIndex = findSuperStatementIndex(node.body.statements, nonPrologueStart);\n            const indexOfFirstStatementAfterSuper = superStatementIndex >= 0 ? superStatementIndex + 1 : void 0;\n            addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart, indexOfFirstStatementAfterSuper ? indexOfFirstStatementAfterSuper - nonPrologueStart : void 0));\n            addRange(statements, initializerStatements);\n            addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuper));\n            body = factory2.createBlock(\n              statements,\n              /*multiLine*/\n              true\n            );\n            setOriginalNode(body, node.body);\n            setTextRange(body, node.body);\n          }\n        }\n        body != null ? body : body = visitNode(node.body, visitor, isBlock);\n        exitClassElement();\n        return factory2.updateConstructorDeclaration(node, modifiers, parameters, body);\n      }\n      function finishClassElement(updated, original) {\n        if (updated !== original) {\n          setCommentRange(updated, original);\n          setSourceMapRange(updated, moveRangePastDecorators(original));\n        }\n        return updated;\n      }\n      function partialTransformClassElement(member, useNamedEvaluation, classInfo2, createDescriptor) {\n        var _a22, _b3, _c, _d, _e, _f, _g, _h;\n        let referencedName;\n        let name;\n        let initializersName;\n        let thisArg;\n        let descriptorName;\n        if (!classInfo2) {\n          const modifiers2 = visitNodes2(member.modifiers, modifierVisitor, isModifier);\n          enterName();\n          if (useNamedEvaluation) {\n            ({ referencedName, name } = visitReferencedPropertyName(member.name));\n          } else {\n            name = visitPropertyName(member.name);\n          }\n          exitName();\n          return { modifiers: modifiers2, referencedName, name, initializersName, descriptorName, thisArg };\n        }\n        const memberDecorators = transformAllDecoratorsOfDeclaration(getAllDecoratorsOfClassElement(\n          member,\n          classInfo2.class,\n          /*useLegacyDecorators*/\n          false\n        ));\n        const modifiers = visitNodes2(member.modifiers, modifierVisitor, isModifier);\n        if (memberDecorators) {\n          const memberDecoratorsName = createHelperVariable(member, \"decorators\");\n          const memberDecoratorsArray = factory2.createArrayLiteralExpression(memberDecorators);\n          const memberDecoratorsAssignment = factory2.createAssignment(memberDecoratorsName, memberDecoratorsArray);\n          const memberInfo = { memberDecoratorsName };\n          (_a22 = classInfo2.memberInfos) != null ? _a22 : classInfo2.memberInfos = /* @__PURE__ */ new Map();\n          classInfo2.memberInfos.set(member, memberInfo);\n          pendingExpressions != null ? pendingExpressions : pendingExpressions = [];\n          pendingExpressions.push(memberDecoratorsAssignment);\n          const statements = isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member) ? isStatic(member) ? (_b3 = classInfo2.staticNonFieldDecorationStatements) != null ? _b3 : classInfo2.staticNonFieldDecorationStatements = [] : (_c = classInfo2.nonStaticNonFieldDecorationStatements) != null ? _c : classInfo2.nonStaticNonFieldDecorationStatements = [] : isPropertyDeclaration(member) && !isAutoAccessorPropertyDeclaration(member) ? isStatic(member) ? (_d = classInfo2.staticFieldDecorationStatements) != null ? _d : classInfo2.staticFieldDecorationStatements = [] : (_e = classInfo2.nonStaticFieldDecorationStatements) != null ? _e : classInfo2.nonStaticFieldDecorationStatements = [] : Debug2.fail();\n          const kind = isGetAccessorDeclaration(member) ? \"getter\" : isSetAccessorDeclaration(member) ? \"setter\" : isMethodDeclaration(member) ? \"method\" : isAutoAccessorPropertyDeclaration(member) ? \"accessor\" : isPropertyDeclaration(member) ? \"field\" : Debug2.fail();\n          let propertyName;\n          if (isIdentifier(member.name) || isPrivateIdentifier(member.name)) {\n            propertyName = { computed: false, name: member.name };\n          } else if (isPropertyNameLiteral(member.name)) {\n            propertyName = { computed: true, name: factory2.createStringLiteralFromNode(member.name) };\n          } else {\n            const expression = member.name.expression;\n            if (isPropertyNameLiteral(expression) && !isIdentifier(expression)) {\n              propertyName = { computed: true, name: factory2.createStringLiteralFromNode(expression) };\n            } else {\n              enterName();\n              ({ referencedName, name } = visitReferencedPropertyName(member.name));\n              propertyName = { computed: true, name: referencedName };\n              exitName();\n            }\n          }\n          const context2 = {\n            kind,\n            name: propertyName,\n            static: isStatic(member),\n            private: isPrivateIdentifier(member.name),\n            access: {\n              // 15.7.3 CreateDecoratorAccessObject (kind, name)\n              // 2. If _kind_ is ~field~, ~method~, ~accessor~, or ~getter~, then ...\n              get: isPropertyDeclaration(member) || isGetAccessorDeclaration(member) || isMethodDeclaration(member),\n              // 3. If _kind_ is ~field~, ~accessor~, or ~setter~, then ...\n              set: isPropertyDeclaration(member) || isSetAccessorDeclaration(member)\n            }\n          };\n          const extraInitializers = isStatic(member) ? (_f = classInfo2.staticExtraInitializersName) != null ? _f : classInfo2.staticExtraInitializersName = factory2.createUniqueName(\n            \"_staticExtraInitializers\",\n            16\n            /* Optimistic */\n          ) : (_g = classInfo2.instanceExtraInitializersName) != null ? _g : classInfo2.instanceExtraInitializersName = factory2.createUniqueName(\n            \"_instanceExtraInitializers\",\n            16\n            /* Optimistic */\n          );\n          if (isMethodOrAccessor(member)) {\n            let descriptor;\n            if (isPrivateIdentifierClassElementDeclaration(member) && createDescriptor) {\n              descriptor = createDescriptor(member, visitNodes2(modifiers, (node) => tryCast(node, isAsyncModifier), isModifier));\n              memberInfo.memberDescriptorName = descriptorName = createHelperVariable(member, \"descriptor\");\n              descriptor = factory2.createAssignment(descriptorName, descriptor);\n            }\n            const esDecorateExpression = emitHelpers().createESDecorateHelper(factory2.createThis(), descriptor != null ? descriptor : factory2.createNull(), memberDecoratorsName, context2, factory2.createNull(), extraInitializers);\n            const esDecorateStatement = factory2.createExpressionStatement(esDecorateExpression);\n            setSourceMapRange(esDecorateStatement, moveRangePastDecorators(member));\n            statements.push(esDecorateStatement);\n          } else if (isPropertyDeclaration(member)) {\n            initializersName = (_h = memberInfo.memberInitializersName) != null ? _h : memberInfo.memberInitializersName = createHelperVariable(member, \"initializers\");\n            if (isStatic(member)) {\n              thisArg = classInfo2.classThis;\n            }\n            let descriptor;\n            if (isPrivateIdentifierClassElementDeclaration(member) && hasAccessorModifier(member) && createDescriptor) {\n              descriptor = createDescriptor(\n                member,\n                /*modifiers*/\n                void 0\n              );\n              memberInfo.memberDescriptorName = descriptorName = createHelperVariable(member, \"descriptor\");\n              descriptor = factory2.createAssignment(descriptorName, descriptor);\n            }\n            const esDecorateExpression = emitHelpers().createESDecorateHelper(\n              isAutoAccessorPropertyDeclaration(member) ? factory2.createThis() : factory2.createNull(),\n              descriptor != null ? descriptor : factory2.createNull(),\n              memberDecoratorsName,\n              context2,\n              initializersName,\n              extraInitializers\n            );\n            const esDecorateStatement = factory2.createExpressionStatement(esDecorateExpression);\n            setSourceMapRange(esDecorateStatement, moveRangePastDecorators(member));\n            statements.push(esDecorateStatement);\n          }\n        }\n        if (name === void 0) {\n          enterName();\n          if (useNamedEvaluation) {\n            ({ referencedName, name } = visitReferencedPropertyName(member.name));\n          } else {\n            name = visitPropertyName(member.name);\n          }\n          exitName();\n        }\n        if (!some(modifiers) && (isMethodDeclaration(member) || isPropertyDeclaration(member))) {\n          setEmitFlags(\n            name,\n            1024\n            /* NoLeadingComments */\n          );\n        }\n        return { modifiers, referencedName, name, initializersName, descriptorName, thisArg };\n      }\n      function visitMethodDeclaration(node) {\n        enterClassElement(node);\n        const { modifiers, name, descriptorName } = partialTransformClassElement(\n          node,\n          /*useNamedEvaluation*/\n          false,\n          classInfo,\n          createMethodDescriptorObject\n        );\n        if (descriptorName) {\n          exitClassElement();\n          return finishClassElement(createMethodDescriptorForwarder(modifiers, name, descriptorName), node);\n        } else {\n          const parameters = visitNodes2(node.parameters, visitor, isParameter);\n          const body = visitNode(node.body, visitor, isBlock);\n          exitClassElement();\n          return finishClassElement(factory2.updateMethodDeclaration(\n            node,\n            modifiers,\n            node.asteriskToken,\n            name,\n            /*questionToken*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            parameters,\n            /*type*/\n            void 0,\n            body\n          ), node);\n        }\n      }\n      function visitGetAccessorDeclaration(node) {\n        enterClassElement(node);\n        const { modifiers, name, descriptorName } = partialTransformClassElement(\n          node,\n          /*useNamedEvaluation*/\n          false,\n          classInfo,\n          createGetAccessorDescriptorObject\n        );\n        if (descriptorName) {\n          exitClassElement();\n          return finishClassElement(createGetAccessorDescriptorForwarder(modifiers, name, descriptorName), node);\n        } else {\n          const parameters = visitNodes2(node.parameters, visitor, isParameter);\n          const body = visitNode(node.body, visitor, isBlock);\n          exitClassElement();\n          return finishClassElement(factory2.updateGetAccessorDeclaration(\n            node,\n            modifiers,\n            name,\n            parameters,\n            /*type*/\n            void 0,\n            body\n          ), node);\n        }\n      }\n      function visitSetAccessorDeclaration(node) {\n        enterClassElement(node);\n        const { modifiers, name, descriptorName } = partialTransformClassElement(\n          node,\n          /*useNamedEvaluation*/\n          false,\n          classInfo,\n          createSetAccessorDescriptorObject\n        );\n        if (descriptorName) {\n          exitClassElement();\n          return finishClassElement(createSetAccessorDescriptorForwarder(modifiers, name, descriptorName), node);\n        } else {\n          const parameters = visitNodes2(node.parameters, visitor, isParameter);\n          const body = visitNode(node.body, visitor, isBlock);\n          exitClassElement();\n          return finishClassElement(factory2.updateSetAccessorDeclaration(node, modifiers, name, parameters, body), node);\n        }\n      }\n      function visitClassStaticBlockDeclaration(node) {\n        enterClassElement(node);\n        if (classInfo)\n          classInfo.hasStaticInitializers = true;\n        const result = visitEachChild(node, visitor, context);\n        exitClassElement();\n        return result;\n      }\n      function visitPropertyDeclaration(node) {\n        enterClassElement(node);\n        Debug2.assert(!isAmbientPropertyDeclaration(node), \"Not yet implemented.\");\n        const useNamedEvaluation = isNamedEvaluation(node, isAnonymousClassNeedingAssignedName);\n        const { modifiers, name, referencedName, initializersName, descriptorName, thisArg } = partialTransformClassElement(node, useNamedEvaluation, classInfo, hasAccessorModifier(node) ? createAccessorPropertyDescriptorObject : void 0);\n        startLexicalEnvironment();\n        let initializer = referencedName ? visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, referencedName), isExpression) : visitNode(node.initializer, visitor, isExpression);\n        if (initializersName) {\n          initializer = emitHelpers().createRunInitializersHelper(\n            thisArg != null ? thisArg : factory2.createThis(),\n            initializersName,\n            initializer != null ? initializer : factory2.createVoidZero()\n          );\n        }\n        if (!isStatic(node) && (classInfo == null ? void 0 : classInfo.instanceExtraInitializersName) && !(classInfo == null ? void 0 : classInfo.hasInjectedInstanceInitializers)) {\n          classInfo.hasInjectedInstanceInitializers = true;\n          initializer != null ? initializer : initializer = factory2.createVoidZero();\n          initializer = factory2.createParenthesizedExpression(factory2.createComma(\n            emitHelpers().createRunInitializersHelper(\n              factory2.createThis(),\n              classInfo.instanceExtraInitializersName\n            ),\n            initializer\n          ));\n        }\n        if (isStatic(node) && classInfo && initializer) {\n          classInfo.hasStaticInitializers = true;\n        }\n        const declarations = endLexicalEnvironment();\n        if (some(declarations)) {\n          initializer = factory2.createImmediatelyInvokedArrowFunction([\n            ...declarations,\n            factory2.createReturnStatement(initializer)\n          ]);\n        }\n        exitClassElement();\n        if (hasAccessorModifier(node) && descriptorName) {\n          const commentRange = getCommentRange(node);\n          const sourceMapRange = getSourceMapRange(node);\n          const name2 = node.name;\n          let getterName = name2;\n          let setterName = name2;\n          if (isComputedPropertyName(name2) && !isSimpleInlineableExpression(name2.expression)) {\n            const cacheAssignment = findComputedPropertyNameCacheAssignment(name2);\n            if (cacheAssignment) {\n              getterName = factory2.updateComputedPropertyName(name2, visitNode(name2.expression, visitor, isExpression));\n              setterName = factory2.updateComputedPropertyName(name2, cacheAssignment.left);\n            } else {\n              const temp = factory2.createTempVariable(hoistVariableDeclaration);\n              setSourceMapRange(temp, name2.expression);\n              const expression = visitNode(name2.expression, visitor, isExpression);\n              const assignment = factory2.createAssignment(temp, expression);\n              setSourceMapRange(assignment, name2.expression);\n              getterName = factory2.updateComputedPropertyName(name2, assignment);\n              setterName = factory2.updateComputedPropertyName(name2, temp);\n            }\n          }\n          const modifiersWithoutAccessor = visitNodes2(modifiers, (node2) => node2.kind !== 127 ? node2 : void 0, isModifier);\n          const backingField = createAccessorPropertyBackingField(factory2, node, modifiersWithoutAccessor, initializer);\n          setOriginalNode(backingField, node);\n          setEmitFlags(\n            backingField,\n            3072\n            /* NoComments */\n          );\n          setSourceMapRange(backingField, sourceMapRange);\n          setSourceMapRange(backingField.name, node.name);\n          const getter = createGetAccessorDescriptorForwarder(modifiersWithoutAccessor, getterName, descriptorName);\n          setOriginalNode(getter, node);\n          setCommentRange(getter, commentRange);\n          setSourceMapRange(getter, sourceMapRange);\n          const setter = createSetAccessorDescriptorForwarder(modifiersWithoutAccessor, setterName, descriptorName);\n          setOriginalNode(setter, node);\n          setEmitFlags(\n            setter,\n            3072\n            /* NoComments */\n          );\n          setSourceMapRange(setter, sourceMapRange);\n          return [backingField, getter, setter];\n        }\n        return finishClassElement(factory2.updatePropertyDeclaration(\n          node,\n          modifiers,\n          name,\n          /*questionOrExclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          initializer\n        ), node);\n      }\n      function visitThisExpression(node) {\n        return classThis != null ? classThis : node;\n      }\n      function visitCallExpression(node) {\n        if (isSuperProperty(node.expression) && classThis) {\n          const expression = visitNode(node.expression, visitor, isExpression);\n          const argumentsList = visitNodes2(node.arguments, visitor, isExpression);\n          const invocation = factory2.createFunctionCallCall(expression, classThis, argumentsList);\n          setOriginalNode(invocation, node);\n          setTextRange(invocation, node);\n          return invocation;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitTaggedTemplateExpression(node) {\n        if (isSuperProperty(node.tag) && classThis) {\n          const tag = visitNode(node.tag, visitor, isExpression);\n          const boundTag = factory2.createFunctionBindCall(tag, classThis, []);\n          setOriginalNode(boundTag, node);\n          setTextRange(boundTag, node);\n          const template = visitNode(node.template, visitor, isTemplateLiteral);\n          return factory2.updateTaggedTemplateExpression(\n            node,\n            boundTag,\n            /*typeArguments*/\n            void 0,\n            template\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitPropertyAccessExpression(node) {\n        if (isSuperProperty(node) && isIdentifier(node.name) && classThis && classSuper) {\n          const propertyName = factory2.createStringLiteralFromNode(node.name);\n          const superProperty = factory2.createReflectGetCall(classSuper, propertyName, classThis);\n          setOriginalNode(superProperty, node.expression);\n          setTextRange(superProperty, node.expression);\n          return superProperty;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitElementAccessExpression(node) {\n        if (isSuperProperty(node) && classThis && classSuper) {\n          const propertyName = visitNode(node.argumentExpression, visitor, isExpression);\n          const superProperty = factory2.createReflectGetCall(classSuper, propertyName, classThis);\n          setOriginalNode(superProperty, node.expression);\n          setTextRange(superProperty, node.expression);\n          return superProperty;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitParameterDeclaration(node) {\n        let updated;\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.initializer);\n          const name = visitNode(node.name, visitor, isBindingName);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          updated = factory2.updateParameterDeclaration(\n            node,\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            name,\n            /*questionToken*/\n            void 0,\n            /*type*/\n            void 0,\n            initializer\n          );\n        } else {\n          updated = factory2.updateParameterDeclaration(\n            node,\n            /*modifiers*/\n            void 0,\n            node.dotDotDotToken,\n            visitNode(node.name, visitor, isBindingName),\n            /*questionToken*/\n            void 0,\n            /*type*/\n            void 0,\n            visitNode(node.initializer, visitor, isExpression)\n          );\n        }\n        if (updated !== node) {\n          setCommentRange(updated, node);\n          setTextRange(updated, moveRangePastModifiers(node));\n          setSourceMapRange(updated, moveRangePastModifiers(node));\n          setEmitFlags(\n            updated.name,\n            64\n            /* NoTrailingSourceMap */\n          );\n        }\n        return updated;\n      }\n      function isAnonymousClassNeedingAssignedName(node) {\n        return isClassExpression(node) && !node.name && isDecoratedClassLike(node);\n      }\n      function visitForStatement(node) {\n        return factory2.updateForStatement(\n          node,\n          visitNode(node.initializer, discardedValueVisitor, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, discardedValueVisitor, isExpression),\n          visitIterationBody(node.statement, visitor, context)\n        );\n      }\n      function visitExpressionStatement(node) {\n        return visitEachChild(node, discardedValueVisitor, context);\n      }\n      function visitBinaryExpression(node, discarded) {\n        if (isDestructuringAssignment(node)) {\n          const left = visitAssignmentPattern(node.left);\n          const right = visitNode(node.right, visitor, isExpression);\n          return factory2.updateBinaryExpression(node, left, node.operatorToken, right);\n        }\n        if (isAssignmentExpression(node)) {\n          if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n            const assignedName = getAssignedNameOfIdentifier(node.left, node.right);\n            const left = visitNode(node.left, visitor, isExpression);\n            const right = visitNode(node.right, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n            return factory2.updateBinaryExpression(node, left, node.operatorToken, right);\n          }\n          if (isSuperProperty(node.left) && classThis && classSuper) {\n            let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0;\n            if (setterName) {\n              let expression = visitNode(node.right, visitor, isExpression);\n              if (isCompoundAssignment(node.operatorToken.kind)) {\n                let getterName = setterName;\n                if (!isSimpleInlineableExpression(setterName)) {\n                  getterName = factory2.createTempVariable(hoistVariableDeclaration);\n                  setterName = factory2.createAssignment(getterName, setterName);\n                }\n                const superPropertyGet = factory2.createReflectGetCall(\n                  classSuper,\n                  getterName,\n                  classThis\n                );\n                setOriginalNode(superPropertyGet, node.left);\n                setTextRange(superPropertyGet, node.left);\n                expression = factory2.createBinaryExpression(\n                  superPropertyGet,\n                  getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind),\n                  expression\n                );\n                setTextRange(expression, node);\n              }\n              const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n              if (temp) {\n                expression = factory2.createAssignment(temp, expression);\n                setTextRange(temp, node);\n              }\n              expression = factory2.createReflectSetCall(\n                classSuper,\n                setterName,\n                expression,\n                classThis\n              );\n              setOriginalNode(expression, node);\n              setTextRange(expression, node);\n              if (temp) {\n                expression = factory2.createComma(expression, temp);\n                setTextRange(expression, node);\n              }\n              return expression;\n            }\n          }\n        }\n        if (node.operatorToken.kind === 27) {\n          const left = visitNode(node.left, discardedValueVisitor, isExpression);\n          const right = visitNode(node.right, discarded ? discardedValueVisitor : visitor, isExpression);\n          return factory2.updateBinaryExpression(node, left, node.operatorToken, right);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitPreOrPostfixUnaryExpression(node, discarded) {\n        if (node.operator === 45 || node.operator === 46) {\n          const operand = skipParentheses(node.operand);\n          if (isSuperProperty(operand) && classThis && classSuper) {\n            let setterName = isElementAccessExpression(operand) ? visitNode(operand.argumentExpression, visitor, isExpression) : isIdentifier(operand.name) ? factory2.createStringLiteralFromNode(operand.name) : void 0;\n            if (setterName) {\n              let getterName = setterName;\n              if (!isSimpleInlineableExpression(setterName)) {\n                getterName = factory2.createTempVariable(hoistVariableDeclaration);\n                setterName = factory2.createAssignment(getterName, setterName);\n              }\n              let expression = factory2.createReflectGetCall(classSuper, getterName, classThis);\n              setOriginalNode(expression, node);\n              setTextRange(expression, node);\n              const temp = discarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n              expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp);\n              expression = factory2.createReflectSetCall(classSuper, setterName, expression, classThis);\n              setOriginalNode(expression, node);\n              setTextRange(expression, node);\n              if (temp) {\n                expression = factory2.createComma(expression, temp);\n                setTextRange(expression, node);\n              }\n              return expression;\n            }\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCommaListExpression(node, discarded) {\n        const elements = discarded ? visitCommaListElements(node.elements, discardedValueVisitor) : visitCommaListElements(node.elements, visitor, discardedValueVisitor);\n        return factory2.updateCommaListExpression(node, elements);\n      }\n      function visitReferencedPropertyName(node) {\n        if (isPropertyNameLiteral(node) || isPrivateIdentifier(node)) {\n          const referencedName2 = factory2.createStringLiteralFromNode(node);\n          const name2 = visitNode(node, visitor, isPropertyName);\n          return { referencedName: referencedName2, name: name2 };\n        }\n        if (isPropertyNameLiteral(node.expression) && !isIdentifier(node.expression)) {\n          const referencedName2 = factory2.createStringLiteralFromNode(node.expression);\n          const name2 = visitNode(node, visitor, isPropertyName);\n          return { referencedName: referencedName2, name: name2 };\n        }\n        const referencedName = factory2.getGeneratedNameForNode(node);\n        hoistVariableDeclaration(referencedName);\n        const key = emitHelpers().createPropKeyHelper(visitNode(node.expression, visitor, isExpression));\n        const assignment = factory2.createAssignment(referencedName, key);\n        const name = factory2.updateComputedPropertyName(node, injectPendingExpressions(assignment));\n        return { referencedName, name };\n      }\n      function visitPropertyName(node) {\n        if (isComputedPropertyName(node)) {\n          return visitComputedPropertyName(node);\n        }\n        return visitNode(node, visitor, isPropertyName);\n      }\n      function visitComputedPropertyName(node) {\n        let expression = visitNode(node.expression, visitor, isExpression);\n        if (!isSimpleInlineableExpression(expression)) {\n          expression = injectPendingExpressions(expression);\n        }\n        return factory2.updateComputedPropertyName(node, expression);\n      }\n      function visitPropertyAssignment(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const { referencedName, name } = visitReferencedPropertyName(node.name);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, referencedName), isExpression);\n          return factory2.updatePropertyAssignment(node, name, initializer);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitVariableDeclaration(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.initializer);\n          const name = visitNode(node.name, visitor, isBindingName);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateVariableDeclaration(\n            node,\n            name,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            initializer\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitBindingElement(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.initializer);\n          const propertyName = visitNode(node.propertyName, visitor, isPropertyName);\n          const name = visitNode(node.name, visitor, isBindingName);\n          const initializer = visitNode(node.initializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateBindingElement(\n            node,\n            /*dotDotDotToken*/\n            void 0,\n            propertyName,\n            name,\n            initializer\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitDestructuringAssignmentTarget(node) {\n        if (isObjectLiteralExpression(node) || isArrayLiteralExpression(node)) {\n          return visitAssignmentPattern(node);\n        }\n        if (isSuperProperty(node) && classThis && classSuper) {\n          const propertyName = isElementAccessExpression(node) ? visitNode(node.argumentExpression, visitor, isExpression) : isIdentifier(node.name) ? factory2.createStringLiteralFromNode(node.name) : void 0;\n          if (propertyName) {\n            const paramName = factory2.createTempVariable(\n              /*recordTempVariable*/\n              void 0\n            );\n            const expression = factory2.createAssignmentTargetWrapper(\n              paramName,\n              factory2.createReflectSetCall(\n                classSuper,\n                propertyName,\n                paramName,\n                classThis\n              )\n            );\n            setOriginalNode(expression, node);\n            setTextRange(expression, node);\n            return expression;\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentElement(node) {\n        if (isAssignmentExpression(\n          node,\n          /*excludeCompoundAssignment*/\n          true\n        )) {\n          const assignmentTarget = visitDestructuringAssignmentTarget(node.left);\n          let initializer;\n          if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n            const assignedName = getAssignedNameOfIdentifier(node.left, node.right);\n            initializer = visitNode(node.right, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          } else {\n            initializer = visitNode(node.right, visitor, isExpression);\n          }\n          return factory2.updateBinaryExpression(node, assignmentTarget, node.operatorToken, initializer);\n        } else {\n          return visitDestructuringAssignmentTarget(node);\n        }\n      }\n      function visitAssignmentRestElement(node) {\n        if (isLeftHandSideExpression(node.expression)) {\n          const expression = visitDestructuringAssignmentTarget(node.expression);\n          return factory2.updateSpreadElement(node, expression);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitArrayAssignmentElement(node) {\n        Debug2.assertNode(node, isArrayBindingOrAssignmentElement);\n        if (isSpreadElement(node))\n          return visitAssignmentRestElement(node);\n        if (!isOmittedExpression(node))\n          return visitAssignmentElement(node);\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentProperty(node) {\n        const name = visitNode(node.name, visitor, isPropertyName);\n        if (isAssignmentExpression(\n          node.initializer,\n          /*excludeCompoundAssignment*/\n          true\n        )) {\n          const assignmentElement = visitAssignmentElement(node.initializer);\n          return factory2.updatePropertyAssignment(node, name, assignmentElement);\n        }\n        if (isLeftHandSideExpression(node.initializer)) {\n          const assignmentElement = visitDestructuringAssignmentTarget(node.initializer);\n          return factory2.updatePropertyAssignment(node, name, assignmentElement);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitShorthandAssignmentProperty(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const assignedName = getAssignedNameOfIdentifier(node.name, node.objectAssignmentInitializer);\n          const name = visitNode(node.name, visitor, isIdentifier);\n          const objectAssignmentInitializer = visitNode(node.objectAssignmentInitializer, (node2) => namedEvaluationVisitor(node2, assignedName), isExpression);\n          return factory2.updateShorthandPropertyAssignment(node, name, objectAssignmentInitializer);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentRestProperty(node) {\n        if (isLeftHandSideExpression(node.expression)) {\n          const expression = visitDestructuringAssignmentTarget(node.expression);\n          return factory2.updateSpreadAssignment(node, expression);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitObjectAssignmentElement(node) {\n        Debug2.assertNode(node, isObjectBindingOrAssignmentElement);\n        if (isSpreadAssignment(node))\n          return visitAssignmentRestProperty(node);\n        if (isShorthandPropertyAssignment(node))\n          return visitShorthandAssignmentProperty(node);\n        if (isPropertyAssignment(node))\n          return visitAssignmentProperty(node);\n        return visitEachChild(node, visitor, context);\n      }\n      function visitAssignmentPattern(node) {\n        if (isArrayLiteralExpression(node)) {\n          const elements = visitNodes2(node.elements, visitArrayAssignmentElement, isExpression);\n          return factory2.updateArrayLiteralExpression(node, elements);\n        } else {\n          const properties = visitNodes2(node.properties, visitObjectAssignmentElement, isObjectLiteralElementLike);\n          return factory2.updateObjectLiteralExpression(node, properties);\n        }\n      }\n      function visitExportAssignment(node) {\n        if (isNamedEvaluation(node, isAnonymousClassNeedingAssignedName)) {\n          const referencedName = factory2.createStringLiteral(node.isExportEquals ? \"\" : \"default\");\n          const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n          const expression = visitNode(node.expression, (node2) => namedEvaluationVisitor(node2, referencedName), isExpression);\n          return factory2.updateExportAssignment(node, modifiers, expression);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitParenthesizedExpression(node, discarded, referencedName) {\n        const visitorFunc = discarded ? discardedValueVisitor : referencedName ? (node2) => namedEvaluationVisitor(node2, referencedName) : visitor;\n        const expression = visitNode(node.expression, visitorFunc, isExpression);\n        return factory2.updateParenthesizedExpression(node, expression);\n      }\n      function visitPartiallyEmittedExpression(node, discarded, referencedName) {\n        const visitorFunc = discarded ? discardedValueVisitor : referencedName ? (node2) => namedEvaluationVisitor(node2, referencedName) : visitor;\n        const expression = visitNode(node.expression, visitorFunc, isExpression);\n        return factory2.updatePartiallyEmittedExpression(node, expression);\n      }\n      function injectPendingExpressions(expression) {\n        if (some(pendingExpressions)) {\n          if (isParenthesizedExpression(expression)) {\n            pendingExpressions.push(expression.expression);\n            expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions(pendingExpressions));\n          } else {\n            pendingExpressions.push(expression);\n            expression = factory2.inlineExpressions(pendingExpressions);\n          }\n          pendingExpressions = void 0;\n        }\n        return expression;\n      }\n      function transformAllDecoratorsOfDeclaration(allDecorators) {\n        if (!allDecorators) {\n          return void 0;\n        }\n        const decoratorExpressions = [];\n        addRange(decoratorExpressions, map(allDecorators.decorators, transformDecorator));\n        return decoratorExpressions;\n      }\n      function transformDecorator(decorator) {\n        const expression = visitNode(decorator.expression, visitor, isExpression);\n        setEmitFlags(\n          expression,\n          3072\n          /* NoComments */\n        );\n        return expression;\n      }\n      function createDescriptorMethod(original, name, modifiers, asteriskToken, kind, parameters, body) {\n        const func = factory2.createFunctionExpression(\n          modifiers,\n          asteriskToken,\n          /*name*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          parameters,\n          /*type*/\n          void 0,\n          body != null ? body : factory2.createBlock([])\n        );\n        setOriginalNode(func, original);\n        setSourceMapRange(func, moveRangePastDecorators(original));\n        setEmitFlags(\n          func,\n          3072\n          /* NoComments */\n        );\n        const prefix = kind === \"get\" || kind === \"set\" ? kind : void 0;\n        const functionName = factory2.createStringLiteralFromNode(\n          name,\n          /*isSingleQuote*/\n          void 0\n        );\n        const namedFunction = emitHelpers().createSetFunctionNameHelper(func, functionName, prefix);\n        const method = factory2.createPropertyAssignment(factory2.createIdentifier(kind), namedFunction);\n        setOriginalNode(method, original);\n        setSourceMapRange(method, moveRangePastDecorators(original));\n        setEmitFlags(\n          method,\n          3072\n          /* NoComments */\n        );\n        return method;\n      }\n      function createMethodDescriptorObject(node, modifiers) {\n        return factory2.createObjectLiteralExpression([\n          createDescriptorMethod(\n            node,\n            node.name,\n            modifiers,\n            node.asteriskToken,\n            \"value\",\n            visitNodes2(node.parameters, visitor, isParameter),\n            visitNode(node.body, visitor, isBlock)\n          )\n        ]);\n      }\n      function createGetAccessorDescriptorObject(node, modifiers) {\n        return factory2.createObjectLiteralExpression([\n          createDescriptorMethod(\n            node,\n            node.name,\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            \"get\",\n            [],\n            visitNode(node.body, visitor, isBlock)\n          )\n        ]);\n      }\n      function createSetAccessorDescriptorObject(node, modifiers) {\n        return factory2.createObjectLiteralExpression([\n          createDescriptorMethod(\n            node,\n            node.name,\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            \"set\",\n            visitNodes2(node.parameters, visitor, isParameter),\n            visitNode(node.body, visitor, isBlock)\n          )\n        ]);\n      }\n      function createAccessorPropertyDescriptorObject(node, modifiers) {\n        return factory2.createObjectLiteralExpression([\n          createDescriptorMethod(\n            node,\n            node.name,\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            \"get\",\n            [],\n            factory2.createBlock([\n              factory2.createReturnStatement(\n                factory2.createPropertyAccessExpression(\n                  factory2.createThis(),\n                  factory2.getGeneratedPrivateNameForNode(node.name)\n                )\n              )\n            ])\n          ),\n          createDescriptorMethod(\n            node,\n            node.name,\n            modifiers,\n            /*asteriskToken*/\n            void 0,\n            \"set\",\n            [factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              \"value\"\n            )],\n            factory2.createBlock([\n              factory2.createExpressionStatement(\n                factory2.createAssignment(\n                  factory2.createPropertyAccessExpression(\n                    factory2.createThis(),\n                    factory2.getGeneratedPrivateNameForNode(node.name)\n                  ),\n                  factory2.createIdentifier(\"value\")\n                )\n              )\n            ])\n          )\n        ]);\n      }\n      function createMethodDescriptorForwarder(modifiers, name, descriptorName) {\n        modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier);\n        return factory2.createGetAccessorDeclaration(\n          modifiers,\n          name,\n          [],\n          /*type*/\n          void 0,\n          factory2.createBlock([\n            factory2.createReturnStatement(\n              factory2.createPropertyAccessExpression(\n                descriptorName,\n                factory2.createIdentifier(\"value\")\n              )\n            )\n          ])\n        );\n      }\n      function createGetAccessorDescriptorForwarder(modifiers, name, descriptorName) {\n        modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier);\n        return factory2.createGetAccessorDeclaration(\n          modifiers,\n          name,\n          [],\n          /*type*/\n          void 0,\n          factory2.createBlock([\n            factory2.createReturnStatement(\n              factory2.createFunctionCallCall(\n                factory2.createPropertyAccessExpression(\n                  descriptorName,\n                  factory2.createIdentifier(\"get\")\n                ),\n                factory2.createThis(),\n                []\n              )\n            )\n          ])\n        );\n      }\n      function createSetAccessorDescriptorForwarder(modifiers, name, descriptorName) {\n        modifiers = visitNodes2(modifiers, (node) => isStaticModifier(node) ? node : void 0, isModifier);\n        return factory2.createSetAccessorDeclaration(\n          modifiers,\n          name,\n          [factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            \"value\"\n          )],\n          factory2.createBlock([\n            factory2.createReturnStatement(\n              factory2.createFunctionCallCall(\n                factory2.createPropertyAccessExpression(\n                  descriptorName,\n                  factory2.createIdentifier(\"set\")\n                ),\n                factory2.createThis(),\n                [factory2.createIdentifier(\"value\")]\n              )\n            )\n          ])\n        );\n      }\n      function getAssignedNameOfIdentifier(name, initializer) {\n        const originalClass = getOriginalNode(initializer, isClassLike);\n        return originalClass && !originalClass.name && hasSyntacticModifier(\n          originalClass,\n          1024\n          /* Default */\n        ) ? factory2.createStringLiteral(\"default\") : factory2.createStringLiteralFromNode(name);\n      }\n    }\n    var init_esDecorators = __esm({\n      \"src/compiler/transformers/esDecorators.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformES2017(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        resumeLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      let enabledSubstitutions;\n      let enclosingSuperContainerFlags = 0;\n      let enclosingFunctionParameterNames;\n      let capturedSuperProperties;\n      let hasSuperElementAccess;\n      const substitutedSuperAccessors = [];\n      let contextFlags = 0;\n      const previousOnEmitNode = context.onEmitNode;\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onEmitNode = onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        setContextFlag(1, false);\n        setContextFlag(2, !isEffectiveStrictModeSourceFile(node, compilerOptions));\n        const visited = visitEachChild(node, visitor, context);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        return visited;\n      }\n      function setContextFlag(flag, val) {\n        contextFlags = val ? contextFlags | flag : contextFlags & ~flag;\n      }\n      function inContext(flags) {\n        return (contextFlags & flags) !== 0;\n      }\n      function inTopLevelContext() {\n        return !inContext(\n          1\n          /* NonTopLevel */\n        );\n      }\n      function inHasLexicalThisContext() {\n        return inContext(\n          2\n          /* HasLexicalThis */\n        );\n      }\n      function doWithContext(flags, cb, value) {\n        const contextFlagsToSet = flags & ~contextFlags;\n        if (contextFlagsToSet) {\n          setContextFlag(\n            contextFlagsToSet,\n            /*val*/\n            true\n          );\n          const result = cb(value);\n          setContextFlag(\n            contextFlagsToSet,\n            /*val*/\n            false\n          );\n          return result;\n        }\n        return cb(value);\n      }\n      function visitDefault(node) {\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        if ((node.transformFlags & 256) === 0) {\n          return node;\n        }\n        switch (node.kind) {\n          case 132:\n            return void 0;\n          case 220:\n            return visitAwaitExpression(node);\n          case 171:\n            return doWithContext(1 | 2, visitMethodDeclaration, node);\n          case 259:\n            return doWithContext(1 | 2, visitFunctionDeclaration, node);\n          case 215:\n            return doWithContext(1 | 2, visitFunctionExpression, node);\n          case 216:\n            return doWithContext(1, visitArrowFunction, node);\n          case 208:\n            if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 106) {\n              capturedSuperProperties.add(node.name.escapedText);\n            }\n            return visitEachChild(node, visitor, context);\n          case 209:\n            if (capturedSuperProperties && node.expression.kind === 106) {\n              hasSuperElementAccess = true;\n            }\n            return visitEachChild(node, visitor, context);\n          case 174:\n            return doWithContext(1 | 2, visitGetAccessorDeclaration, node);\n          case 175:\n            return doWithContext(1 | 2, visitSetAccessorDeclaration, node);\n          case 173:\n            return doWithContext(1 | 2, visitConstructorDeclaration, node);\n          case 260:\n          case 228:\n            return doWithContext(1 | 2, visitDefault, node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function asyncBodyVisitor(node) {\n        if (isNodeWithPossibleHoistedDeclaration(node)) {\n          switch (node.kind) {\n            case 240:\n              return visitVariableStatementInAsyncBody(node);\n            case 245:\n              return visitForStatementInAsyncBody(node);\n            case 246:\n              return visitForInStatementInAsyncBody(node);\n            case 247:\n              return visitForOfStatementInAsyncBody(node);\n            case 295:\n              return visitCatchClauseInAsyncBody(node);\n            case 238:\n            case 252:\n            case 266:\n            case 292:\n            case 293:\n            case 255:\n            case 243:\n            case 244:\n            case 242:\n            case 251:\n            case 253:\n              return visitEachChild(node, asyncBodyVisitor, context);\n            default:\n              return Debug2.assertNever(node, \"Unhandled node.\");\n          }\n        }\n        return visitor(node);\n      }\n      function visitCatchClauseInAsyncBody(node) {\n        const catchClauseNames = /* @__PURE__ */ new Set();\n        recordDeclarationName(node.variableDeclaration, catchClauseNames);\n        let catchClauseUnshadowedNames;\n        catchClauseNames.forEach((_, escapedName) => {\n          if (enclosingFunctionParameterNames.has(escapedName)) {\n            if (!catchClauseUnshadowedNames) {\n              catchClauseUnshadowedNames = new Set(enclosingFunctionParameterNames);\n            }\n            catchClauseUnshadowedNames.delete(escapedName);\n          }\n        });\n        if (catchClauseUnshadowedNames) {\n          const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames;\n          enclosingFunctionParameterNames = catchClauseUnshadowedNames;\n          const result = visitEachChild(node, asyncBodyVisitor, context);\n          enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames;\n          return result;\n        } else {\n          return visitEachChild(node, asyncBodyVisitor, context);\n        }\n      }\n      function visitVariableStatementInAsyncBody(node) {\n        if (isVariableDeclarationListWithCollidingName(node.declarationList)) {\n          const expression = visitVariableDeclarationListWithCollidingNames(\n            node.declarationList,\n            /*hasReceiver*/\n            false\n          );\n          return expression ? factory2.createExpressionStatement(expression) : void 0;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitForInStatementInAsyncBody(node) {\n        return factory2.updateForInStatement(\n          node,\n          isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames(\n            node.initializer,\n            /*hasReceiver*/\n            true\n          ) : Debug2.checkDefined(visitNode(node.initializer, visitor, isForInitializer)),\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          visitIterationBody(node.statement, asyncBodyVisitor, context)\n        );\n      }\n      function visitForOfStatementInAsyncBody(node) {\n        return factory2.updateForOfStatement(\n          node,\n          visitNode(node.awaitModifier, visitor, isAwaitKeyword),\n          isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames(\n            node.initializer,\n            /*hasReceiver*/\n            true\n          ) : Debug2.checkDefined(visitNode(node.initializer, visitor, isForInitializer)),\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          visitIterationBody(node.statement, asyncBodyVisitor, context)\n        );\n      }\n      function visitForStatementInAsyncBody(node) {\n        const initializer = node.initializer;\n        return factory2.updateForStatement(\n          node,\n          isVariableDeclarationListWithCollidingName(initializer) ? visitVariableDeclarationListWithCollidingNames(\n            initializer,\n            /*hasReceiver*/\n            false\n          ) : visitNode(node.initializer, visitor, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, visitor, isExpression),\n          visitIterationBody(node.statement, asyncBodyVisitor, context)\n        );\n      }\n      function visitAwaitExpression(node) {\n        if (inTopLevelContext()) {\n          return visitEachChild(node, visitor, context);\n        }\n        return setOriginalNode(\n          setTextRange(\n            factory2.createYieldExpression(\n              /*asteriskToken*/\n              void 0,\n              visitNode(node.expression, visitor, isExpression)\n            ),\n            node\n          ),\n          node\n        );\n      }\n      function visitConstructorDeclaration(node) {\n        return factory2.updateConstructorDeclaration(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifier),\n          visitParameterList(node.parameters, visitor, context),\n          transformMethodBody(node)\n        );\n      }\n      function visitMethodDeclaration(node) {\n        return factory2.updateMethodDeclaration(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifierLike),\n          node.asteriskToken,\n          node.name,\n          /*questionToken*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          getFunctionFlags(node) & 2 ? transformAsyncFunctionBody(node) : transformMethodBody(node)\n        );\n      }\n      function visitGetAccessorDeclaration(node) {\n        return factory2.updateGetAccessorDeclaration(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifierLike),\n          node.name,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          transformMethodBody(node)\n        );\n      }\n      function visitSetAccessorDeclaration(node) {\n        return factory2.updateSetAccessorDeclaration(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifierLike),\n          node.name,\n          visitParameterList(node.parameters, visitor, context),\n          transformMethodBody(node)\n        );\n      }\n      function visitFunctionDeclaration(node) {\n        return factory2.updateFunctionDeclaration(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifierLike),\n          node.asteriskToken,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          getFunctionFlags(node) & 2 ? transformAsyncFunctionBody(node) : visitFunctionBody(node.body, visitor, context)\n        );\n      }\n      function visitFunctionExpression(node) {\n        return factory2.updateFunctionExpression(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifier),\n          node.asteriskToken,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          getFunctionFlags(node) & 2 ? transformAsyncFunctionBody(node) : visitFunctionBody(node.body, visitor, context)\n        );\n      }\n      function visitArrowFunction(node) {\n        return factory2.updateArrowFunction(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifier),\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          node.equalsGreaterThanToken,\n          getFunctionFlags(node) & 2 ? transformAsyncFunctionBody(node) : visitFunctionBody(node.body, visitor, context)\n        );\n      }\n      function recordDeclarationName({ name }, names) {\n        if (isIdentifier(name)) {\n          names.add(name.escapedText);\n        } else {\n          for (const element of name.elements) {\n            if (!isOmittedExpression(element)) {\n              recordDeclarationName(element, names);\n            }\n          }\n        }\n      }\n      function isVariableDeclarationListWithCollidingName(node) {\n        return !!node && isVariableDeclarationList(node) && !(node.flags & 3) && node.declarations.some(collidesWithParameterName);\n      }\n      function visitVariableDeclarationListWithCollidingNames(node, hasReceiver) {\n        hoistVariableDeclarationList(node);\n        const variables = getInitializedVariables(node);\n        if (variables.length === 0) {\n          if (hasReceiver) {\n            return visitNode(factory2.converters.convertToAssignmentElementTarget(node.declarations[0].name), visitor, isExpression);\n          }\n          return void 0;\n        }\n        return factory2.inlineExpressions(map(variables, transformInitializedVariable));\n      }\n      function hoistVariableDeclarationList(node) {\n        forEach(node.declarations, hoistVariable);\n      }\n      function hoistVariable({ name }) {\n        if (isIdentifier(name)) {\n          hoistVariableDeclaration(name);\n        } else {\n          for (const element of name.elements) {\n            if (!isOmittedExpression(element)) {\n              hoistVariable(element);\n            }\n          }\n        }\n      }\n      function transformInitializedVariable(node) {\n        const converted = setSourceMapRange(\n          factory2.createAssignment(\n            factory2.converters.convertToAssignmentElementTarget(node.name),\n            node.initializer\n          ),\n          node\n        );\n        return Debug2.checkDefined(visitNode(converted, visitor, isExpression));\n      }\n      function collidesWithParameterName({ name }) {\n        if (isIdentifier(name)) {\n          return enclosingFunctionParameterNames.has(name.escapedText);\n        } else {\n          for (const element of name.elements) {\n            if (!isOmittedExpression(element) && collidesWithParameterName(element)) {\n              return true;\n            }\n          }\n        }\n        return false;\n      }\n      function transformMethodBody(node) {\n        Debug2.assertIsDefined(node.body);\n        const savedCapturedSuperProperties = capturedSuperProperties;\n        const savedHasSuperElementAccess = hasSuperElementAccess;\n        capturedSuperProperties = /* @__PURE__ */ new Set();\n        hasSuperElementAccess = false;\n        let updated = visitFunctionBody(node.body, visitor, context);\n        const originalMethod = getOriginalNode(node, isFunctionLikeDeclaration);\n        const emitSuperHelpers = languageVersion >= 2 && resolver.getNodeCheckFlags(node) & (256 | 128) && (getFunctionFlags(originalMethod) & 3) !== 3;\n        if (emitSuperHelpers) {\n          enableSubstitutionForAsyncMethodsWithSuper();\n          if (capturedSuperProperties.size) {\n            const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties);\n            substitutedSuperAccessors[getNodeId(variableStatement)] = true;\n            const statements = updated.statements.slice();\n            insertStatementsAfterStandardPrologue(statements, [variableStatement]);\n            updated = factory2.updateBlock(updated, statements);\n          }\n          if (hasSuperElementAccess) {\n            if (resolver.getNodeCheckFlags(node) & 256) {\n              addEmitHelper(updated, advancedAsyncSuperHelper);\n            } else if (resolver.getNodeCheckFlags(node) & 128) {\n              addEmitHelper(updated, asyncSuperHelper);\n            }\n          }\n        }\n        capturedSuperProperties = savedCapturedSuperProperties;\n        hasSuperElementAccess = savedHasSuperElementAccess;\n        return updated;\n      }\n      function transformAsyncFunctionBody(node) {\n        resumeLexicalEnvironment();\n        const original = getOriginalNode(node, isFunctionLike);\n        const nodeType = original.type;\n        const promiseConstructor = languageVersion < 2 ? getPromiseConstructor(nodeType) : void 0;\n        const isArrowFunction2 = node.kind === 216;\n        const hasLexicalArguments = (resolver.getNodeCheckFlags(node) & 512) !== 0;\n        const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames;\n        enclosingFunctionParameterNames = /* @__PURE__ */ new Set();\n        for (const parameter of node.parameters) {\n          recordDeclarationName(parameter, enclosingFunctionParameterNames);\n        }\n        const savedCapturedSuperProperties = capturedSuperProperties;\n        const savedHasSuperElementAccess = hasSuperElementAccess;\n        if (!isArrowFunction2) {\n          capturedSuperProperties = /* @__PURE__ */ new Set();\n          hasSuperElementAccess = false;\n        }\n        let result;\n        if (!isArrowFunction2) {\n          const statements = [];\n          const statementOffset = factory2.copyPrologue(\n            node.body.statements,\n            statements,\n            /*ensureUseStrict*/\n            false,\n            visitor\n          );\n          statements.push(\n            factory2.createReturnStatement(\n              emitHelpers().createAwaiterHelper(\n                inHasLexicalThisContext(),\n                hasLexicalArguments,\n                promiseConstructor,\n                transformAsyncFunctionBodyWorker(node.body, statementOffset)\n              )\n            )\n          );\n          insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n          const emitSuperHelpers = languageVersion >= 2 && resolver.getNodeCheckFlags(node) & (256 | 128);\n          if (emitSuperHelpers) {\n            enableSubstitutionForAsyncMethodsWithSuper();\n            if (capturedSuperProperties.size) {\n              const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties);\n              substitutedSuperAccessors[getNodeId(variableStatement)] = true;\n              insertStatementsAfterStandardPrologue(statements, [variableStatement]);\n            }\n          }\n          const block = factory2.createBlock(\n            statements,\n            /*multiLine*/\n            true\n          );\n          setTextRange(block, node.body);\n          if (emitSuperHelpers && hasSuperElementAccess) {\n            if (resolver.getNodeCheckFlags(node) & 256) {\n              addEmitHelper(block, advancedAsyncSuperHelper);\n            } else if (resolver.getNodeCheckFlags(node) & 128) {\n              addEmitHelper(block, asyncSuperHelper);\n            }\n          }\n          result = block;\n        } else {\n          const expression = emitHelpers().createAwaiterHelper(\n            inHasLexicalThisContext(),\n            hasLexicalArguments,\n            promiseConstructor,\n            transformAsyncFunctionBodyWorker(node.body)\n          );\n          const declarations = endLexicalEnvironment();\n          if (some(declarations)) {\n            const block = factory2.converters.convertToFunctionBlock(expression);\n            result = factory2.updateBlock(block, setTextRange(factory2.createNodeArray(concatenate(declarations, block.statements)), block.statements));\n          } else {\n            result = expression;\n          }\n        }\n        enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames;\n        if (!isArrowFunction2) {\n          capturedSuperProperties = savedCapturedSuperProperties;\n          hasSuperElementAccess = savedHasSuperElementAccess;\n        }\n        return result;\n      }\n      function transformAsyncFunctionBodyWorker(body, start) {\n        if (isBlock(body)) {\n          return factory2.updateBlock(body, visitNodes2(body.statements, asyncBodyVisitor, isStatement, start));\n        } else {\n          return factory2.converters.convertToFunctionBlock(Debug2.checkDefined(visitNode(body, asyncBodyVisitor, isConciseBody)));\n        }\n      }\n      function getPromiseConstructor(type) {\n        const typeName = type && getEntityNameFromTypeNode(type);\n        if (typeName && isEntityName(typeName)) {\n          const serializationKind = resolver.getTypeReferenceSerializationKind(typeName);\n          if (serializationKind === 1 || serializationKind === 0) {\n            return typeName;\n          }\n        }\n        return void 0;\n      }\n      function enableSubstitutionForAsyncMethodsWithSuper() {\n        if ((enabledSubstitutions & 1) === 0) {\n          enabledSubstitutions |= 1;\n          context.enableSubstitution(\n            210\n            /* CallExpression */\n          );\n          context.enableSubstitution(\n            208\n            /* PropertyAccessExpression */\n          );\n          context.enableSubstitution(\n            209\n            /* ElementAccessExpression */\n          );\n          context.enableEmitNotification(\n            260\n            /* ClassDeclaration */\n          );\n          context.enableEmitNotification(\n            171\n            /* MethodDeclaration */\n          );\n          context.enableEmitNotification(\n            174\n            /* GetAccessor */\n          );\n          context.enableEmitNotification(\n            175\n            /* SetAccessor */\n          );\n          context.enableEmitNotification(\n            173\n            /* Constructor */\n          );\n          context.enableEmitNotification(\n            240\n            /* VariableStatement */\n          );\n        }\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (enabledSubstitutions & 1 && isSuperContainer(node)) {\n          const superContainerFlags = resolver.getNodeCheckFlags(node) & (128 | 256);\n          if (superContainerFlags !== enclosingSuperContainerFlags) {\n            const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n            enclosingSuperContainerFlags = superContainerFlags;\n            previousOnEmitNode(hint, node, emitCallback);\n            enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n            return;\n          }\n        } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) {\n          const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n          enclosingSuperContainerFlags = 0;\n          previousOnEmitNode(hint, node, emitCallback);\n          enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n          return;\n        }\n        previousOnEmitNode(hint, node, emitCallback);\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1 && enclosingSuperContainerFlags) {\n          return substituteExpression(node);\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 208:\n            return substitutePropertyAccessExpression(node);\n          case 209:\n            return substituteElementAccessExpression(node);\n          case 210:\n            return substituteCallExpression(node);\n        }\n        return node;\n      }\n      function substitutePropertyAccessExpression(node) {\n        if (node.expression.kind === 106) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.createUniqueName(\n                \"_super\",\n                16 | 32\n                /* FileLevel */\n              ),\n              node.name\n            ),\n            node\n          );\n        }\n        return node;\n      }\n      function substituteElementAccessExpression(node) {\n        if (node.expression.kind === 106) {\n          return createSuperElementAccessInAsyncMethod(\n            node.argumentExpression,\n            node\n          );\n        }\n        return node;\n      }\n      function substituteCallExpression(node) {\n        const expression = node.expression;\n        if (isSuperProperty(expression)) {\n          const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression);\n          return factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(argumentExpression, \"call\"),\n            /*typeArguments*/\n            void 0,\n            [\n              factory2.createThis(),\n              ...node.arguments\n            ]\n          );\n        }\n        return node;\n      }\n      function isSuperContainer(node) {\n        const kind = node.kind;\n        return kind === 260 || kind === 173 || kind === 171 || kind === 174 || kind === 175;\n      }\n      function createSuperElementAccessInAsyncMethod(argumentExpression, location) {\n        if (enclosingSuperContainerFlags & 256) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.createCallExpression(\n                factory2.createUniqueName(\n                  \"_superIndex\",\n                  16 | 32\n                  /* FileLevel */\n                ),\n                /*typeArguments*/\n                void 0,\n                [argumentExpression]\n              ),\n              \"value\"\n            ),\n            location\n          );\n        } else {\n          return setTextRange(\n            factory2.createCallExpression(\n              factory2.createUniqueName(\n                \"_superIndex\",\n                16 | 32\n                /* FileLevel */\n              ),\n              /*typeArguments*/\n              void 0,\n              [argumentExpression]\n            ),\n            location\n          );\n        }\n      }\n    }\n    function createSuperAccessVariableStatement(factory2, resolver, node, names) {\n      const hasBinding = (resolver.getNodeCheckFlags(node) & 256) !== 0;\n      const accessors = [];\n      names.forEach((_, key) => {\n        const name = unescapeLeadingUnderscores(key);\n        const getterAndSetter = [];\n        getterAndSetter.push(factory2.createPropertyAssignment(\n          \"get\",\n          factory2.createArrowFunction(\n            /* modifiers */\n            void 0,\n            /* typeParameters */\n            void 0,\n            /* parameters */\n            [],\n            /* type */\n            void 0,\n            /* equalsGreaterThanToken */\n            void 0,\n            setEmitFlags(\n              factory2.createPropertyAccessExpression(\n                setEmitFlags(\n                  factory2.createSuper(),\n                  8\n                  /* NoSubstitution */\n                ),\n                name\n              ),\n              8\n              /* NoSubstitution */\n            )\n          )\n        ));\n        if (hasBinding) {\n          getterAndSetter.push(\n            factory2.createPropertyAssignment(\n              \"set\",\n              factory2.createArrowFunction(\n                /* modifiers */\n                void 0,\n                /* typeParameters */\n                void 0,\n                /* parameters */\n                [\n                  factory2.createParameterDeclaration(\n                    /* modifiers */\n                    void 0,\n                    /* dotDotDotToken */\n                    void 0,\n                    \"v\",\n                    /* questionToken */\n                    void 0,\n                    /* type */\n                    void 0,\n                    /* initializer */\n                    void 0\n                  )\n                ],\n                /* type */\n                void 0,\n                /* equalsGreaterThanToken */\n                void 0,\n                factory2.createAssignment(\n                  setEmitFlags(\n                    factory2.createPropertyAccessExpression(\n                      setEmitFlags(\n                        factory2.createSuper(),\n                        8\n                        /* NoSubstitution */\n                      ),\n                      name\n                    ),\n                    8\n                    /* NoSubstitution */\n                  ),\n                  factory2.createIdentifier(\"v\")\n                )\n              )\n            )\n          );\n        }\n        accessors.push(\n          factory2.createPropertyAssignment(\n            name,\n            factory2.createObjectLiteralExpression(getterAndSetter)\n          )\n        );\n      });\n      return factory2.createVariableStatement(\n        /* modifiers */\n        void 0,\n        factory2.createVariableDeclarationList(\n          [\n            factory2.createVariableDeclaration(\n              factory2.createUniqueName(\n                \"_super\",\n                16 | 32\n                /* FileLevel */\n              ),\n              /*exclamationToken*/\n              void 0,\n              /* type */\n              void 0,\n              factory2.createCallExpression(\n                factory2.createPropertyAccessExpression(\n                  factory2.createIdentifier(\"Object\"),\n                  \"create\"\n                ),\n                /* typeArguments */\n                void 0,\n                [\n                  factory2.createNull(),\n                  factory2.createObjectLiteralExpression(\n                    accessors,\n                    /* multiline */\n                    true\n                  )\n                ]\n              )\n            )\n          ],\n          2\n          /* Const */\n        )\n      );\n    }\n    var init_es2017 = __esm({\n      \"src/compiler/transformers/es2017.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformES2018(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        resumeLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const previousOnEmitNode = context.onEmitNode;\n      context.onEmitNode = onEmitNode;\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onSubstituteNode = onSubstituteNode;\n      let exportedVariableStatement = false;\n      let enabledSubstitutions;\n      let enclosingFunctionFlags;\n      let parametersWithPrecedingObjectRestOrSpread;\n      let enclosingSuperContainerFlags = 0;\n      let hierarchyFacts = 0;\n      let currentSourceFile;\n      let taggedTemplateStringDeclarations;\n      let capturedSuperProperties;\n      let hasSuperElementAccess;\n      const substitutedSuperAccessors = [];\n      return chainBundle(context, transformSourceFile);\n      function affectsSubtree(excludeFacts, includeFacts) {\n        return hierarchyFacts !== (hierarchyFacts & ~excludeFacts | includeFacts);\n      }\n      function enterSubtree(excludeFacts, includeFacts) {\n        const ancestorFacts = hierarchyFacts;\n        hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 3;\n        return ancestorFacts;\n      }\n      function exitSubtree(ancestorFacts) {\n        hierarchyFacts = ancestorFacts;\n      }\n      function recordTaggedTemplateString(temp) {\n        taggedTemplateStringDeclarations = append(\n          taggedTemplateStringDeclarations,\n          factory2.createVariableDeclaration(temp)\n        );\n      }\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        currentSourceFile = node;\n        const visited = visitSourceFile(node);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        currentSourceFile = void 0;\n        taggedTemplateStringDeclarations = void 0;\n        return visited;\n      }\n      function visitor(node) {\n        return visitorWorker(\n          node,\n          /*expressionResultIsUnused*/\n          false\n        );\n      }\n      function visitorWithUnusedExpressionResult(node) {\n        return visitorWorker(\n          node,\n          /*expressionResultIsUnused*/\n          true\n        );\n      }\n      function visitorNoAsyncModifier(node) {\n        if (node.kind === 132) {\n          return void 0;\n        }\n        return node;\n      }\n      function doWithHierarchyFacts(cb, value, excludeFacts, includeFacts) {\n        if (affectsSubtree(excludeFacts, includeFacts)) {\n          const ancestorFacts = enterSubtree(excludeFacts, includeFacts);\n          const result = cb(value);\n          exitSubtree(ancestorFacts);\n          return result;\n        }\n        return cb(value);\n      }\n      function visitDefault(node) {\n        return visitEachChild(node, visitor, context);\n      }\n      function visitorWorker(node, expressionResultIsUnused2) {\n        if ((node.transformFlags & 128) === 0) {\n          return node;\n        }\n        switch (node.kind) {\n          case 220:\n            return visitAwaitExpression(node);\n          case 226:\n            return visitYieldExpression(node);\n          case 250:\n            return visitReturnStatement(node);\n          case 253:\n            return visitLabeledStatement(node);\n          case 207:\n            return visitObjectLiteralExpression(node);\n          case 223:\n            return visitBinaryExpression(node, expressionResultIsUnused2);\n          case 357:\n            return visitCommaListExpression(node, expressionResultIsUnused2);\n          case 295:\n            return visitCatchClause(node);\n          case 240:\n            return visitVariableStatement(node);\n          case 257:\n            return visitVariableDeclaration(node);\n          case 243:\n          case 244:\n          case 246:\n            return doWithHierarchyFacts(\n              visitDefault,\n              node,\n              0,\n              2\n              /* IterationStatementIncludes */\n            );\n          case 247:\n            return visitForOfStatement(\n              node,\n              /*outermostLabeledStatement*/\n              void 0\n            );\n          case 245:\n            return doWithHierarchyFacts(\n              visitForStatement,\n              node,\n              0,\n              2\n              /* IterationStatementIncludes */\n            );\n          case 219:\n            return visitVoidExpression(node);\n          case 173:\n            return doWithHierarchyFacts(\n              visitConstructorDeclaration,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          case 171:\n            return doWithHierarchyFacts(\n              visitMethodDeclaration,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          case 174:\n            return doWithHierarchyFacts(\n              visitGetAccessorDeclaration,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          case 175:\n            return doWithHierarchyFacts(\n              visitSetAccessorDeclaration,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          case 259:\n            return doWithHierarchyFacts(\n              visitFunctionDeclaration,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          case 215:\n            return doWithHierarchyFacts(\n              visitFunctionExpression,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          case 216:\n            return doWithHierarchyFacts(\n              visitArrowFunction,\n              node,\n              2,\n              0\n              /* ArrowFunctionIncludes */\n            );\n          case 166:\n            return visitParameter(node);\n          case 241:\n            return visitExpressionStatement(node);\n          case 214:\n            return visitParenthesizedExpression(node, expressionResultIsUnused2);\n          case 212:\n            return visitTaggedTemplateExpression(node);\n          case 208:\n            if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 106) {\n              capturedSuperProperties.add(node.name.escapedText);\n            }\n            return visitEachChild(node, visitor, context);\n          case 209:\n            if (capturedSuperProperties && node.expression.kind === 106) {\n              hasSuperElementAccess = true;\n            }\n            return visitEachChild(node, visitor, context);\n          case 260:\n          case 228:\n            return doWithHierarchyFacts(\n              visitDefault,\n              node,\n              2,\n              1\n              /* ClassOrFunctionIncludes */\n            );\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitAwaitExpression(node) {\n        if (enclosingFunctionFlags & 2 && enclosingFunctionFlags & 1) {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createYieldExpression(\n                /*asteriskToken*/\n                void 0,\n                emitHelpers().createAwaitHelper(visitNode(node.expression, visitor, isExpression))\n              ),\n              /*location*/\n              node\n            ),\n            node\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitYieldExpression(node) {\n        if (enclosingFunctionFlags & 2 && enclosingFunctionFlags & 1) {\n          if (node.asteriskToken) {\n            const expression = visitNode(Debug2.checkDefined(node.expression), visitor, isExpression);\n            return setOriginalNode(\n              setTextRange(\n                factory2.createYieldExpression(\n                  /*asteriskToken*/\n                  void 0,\n                  emitHelpers().createAwaitHelper(\n                    factory2.updateYieldExpression(\n                      node,\n                      node.asteriskToken,\n                      setTextRange(\n                        emitHelpers().createAsyncDelegatorHelper(\n                          setTextRange(\n                            emitHelpers().createAsyncValuesHelper(expression),\n                            expression\n                          )\n                        ),\n                        expression\n                      )\n                    )\n                  )\n                ),\n                node\n              ),\n              node\n            );\n          }\n          return setOriginalNode(\n            setTextRange(\n              factory2.createYieldExpression(\n                /*asteriskToken*/\n                void 0,\n                createDownlevelAwait(\n                  node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero()\n                )\n              ),\n              node\n            ),\n            node\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitReturnStatement(node) {\n        if (enclosingFunctionFlags & 2 && enclosingFunctionFlags & 1) {\n          return factory2.updateReturnStatement(node, createDownlevelAwait(\n            node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero()\n          ));\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitLabeledStatement(node) {\n        if (enclosingFunctionFlags & 2) {\n          const statement = unwrapInnermostStatementOfLabel(node);\n          if (statement.kind === 247 && statement.awaitModifier) {\n            return visitForOfStatement(statement, node);\n          }\n          return factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock), node);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function chunkObjectLiteralElements(elements) {\n        let chunkObject;\n        const objects = [];\n        for (const e of elements) {\n          if (e.kind === 301) {\n            if (chunkObject) {\n              objects.push(factory2.createObjectLiteralExpression(chunkObject));\n              chunkObject = void 0;\n            }\n            const target = e.expression;\n            objects.push(visitNode(target, visitor, isExpression));\n          } else {\n            chunkObject = append(chunkObject, e.kind === 299 ? factory2.createPropertyAssignment(e.name, visitNode(e.initializer, visitor, isExpression)) : visitNode(e, visitor, isObjectLiteralElementLike));\n          }\n        }\n        if (chunkObject) {\n          objects.push(factory2.createObjectLiteralExpression(chunkObject));\n        }\n        return objects;\n      }\n      function visitObjectLiteralExpression(node) {\n        if (node.transformFlags & 65536) {\n          const objects = chunkObjectLiteralElements(node.properties);\n          if (objects.length && objects[0].kind !== 207) {\n            objects.unshift(factory2.createObjectLiteralExpression());\n          }\n          let expression = objects[0];\n          if (objects.length > 1) {\n            for (let i = 1; i < objects.length; i++) {\n              expression = emitHelpers().createAssignHelper([expression, objects[i]]);\n            }\n            return expression;\n          } else {\n            return emitHelpers().createAssignHelper(objects);\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitExpressionStatement(node) {\n        return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n      }\n      function visitParenthesizedExpression(node, expressionResultIsUnused2) {\n        return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context);\n      }\n      function visitSourceFile(node) {\n        const ancestorFacts = enterSubtree(\n          2,\n          isEffectiveStrictModeSourceFile(node, compilerOptions) ? 0 : 1\n          /* SourceFileIncludes */\n        );\n        exportedVariableStatement = false;\n        const visited = visitEachChild(node, visitor, context);\n        const statement = concatenate(visited.statements, taggedTemplateStringDeclarations && [\n          factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList(taggedTemplateStringDeclarations)\n          )\n        ]);\n        const result = factory2.updateSourceFile(visited, setTextRange(factory2.createNodeArray(statement), node.statements));\n        exitSubtree(ancestorFacts);\n        return result;\n      }\n      function visitTaggedTemplateExpression(node) {\n        return processTaggedTemplateExpression(\n          context,\n          node,\n          visitor,\n          currentSourceFile,\n          recordTaggedTemplateString,\n          0\n          /* LiftRestriction */\n        );\n      }\n      function visitBinaryExpression(node, expressionResultIsUnused2) {\n        if (isDestructuringAssignment(node) && containsObjectRestOrSpread(node.left)) {\n          return flattenDestructuringAssignment(\n            node,\n            visitor,\n            context,\n            1,\n            !expressionResultIsUnused2\n          );\n        }\n        if (node.operatorToken.kind === 27) {\n          return factory2.updateBinaryExpression(\n            node,\n            visitNode(node.left, visitorWithUnusedExpressionResult, isExpression),\n            node.operatorToken,\n            visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression)\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCommaListExpression(node, expressionResultIsUnused2) {\n        if (expressionResultIsUnused2) {\n          return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n        }\n        let result;\n        for (let i = 0; i < node.elements.length; i++) {\n          const element = node.elements[i];\n          const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression);\n          if (result || visited !== element) {\n            result || (result = node.elements.slice(0, i));\n            result.push(visited);\n          }\n        }\n        const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements;\n        return factory2.updateCommaListExpression(node, elements);\n      }\n      function visitCatchClause(node) {\n        if (node.variableDeclaration && isBindingPattern(node.variableDeclaration.name) && node.variableDeclaration.name.transformFlags & 65536) {\n          const name = factory2.getGeneratedNameForNode(node.variableDeclaration.name);\n          const updatedDecl = factory2.updateVariableDeclaration(\n            node.variableDeclaration,\n            node.variableDeclaration.name,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            name\n          );\n          const visitedBindings = flattenDestructuringBinding(\n            updatedDecl,\n            visitor,\n            context,\n            1\n            /* ObjectRest */\n          );\n          let block = visitNode(node.block, visitor, isBlock);\n          if (some(visitedBindings)) {\n            block = factory2.updateBlock(block, [\n              factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                visitedBindings\n              ),\n              ...block.statements\n            ]);\n          }\n          return factory2.updateCatchClause(\n            node,\n            factory2.updateVariableDeclaration(\n              node.variableDeclaration,\n              name,\n              /*exclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              /*initializer*/\n              void 0\n            ),\n            block\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitVariableStatement(node) {\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          const savedExportedVariableStatement = exportedVariableStatement;\n          exportedVariableStatement = true;\n          const visited = visitEachChild(node, visitor, context);\n          exportedVariableStatement = savedExportedVariableStatement;\n          return visited;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitVariableDeclaration(node) {\n        if (exportedVariableStatement) {\n          const savedExportedVariableStatement = exportedVariableStatement;\n          exportedVariableStatement = false;\n          const visited = visitVariableDeclarationWorker(\n            node,\n            /*exportedVariableStatement*/\n            true\n          );\n          exportedVariableStatement = savedExportedVariableStatement;\n          return visited;\n        }\n        return visitVariableDeclarationWorker(\n          node,\n          /*exportedVariableStatement*/\n          false\n        );\n      }\n      function visitVariableDeclarationWorker(node, exportedVariableStatement2) {\n        if (isBindingPattern(node.name) && node.name.transformFlags & 65536) {\n          return flattenDestructuringBinding(\n            node,\n            visitor,\n            context,\n            1,\n            /*rval*/\n            void 0,\n            exportedVariableStatement2\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitForStatement(node) {\n        return factory2.updateForStatement(\n          node,\n          visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression),\n          visitIterationBody(node.statement, visitor, context)\n        );\n      }\n      function visitVoidExpression(node) {\n        return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n      }\n      function visitForOfStatement(node, outermostLabeledStatement) {\n        const ancestorFacts = enterSubtree(\n          0,\n          2\n          /* IterationStatementIncludes */\n        );\n        if (node.initializer.transformFlags & 65536 || isAssignmentPattern(node.initializer) && containsObjectRestOrSpread(node.initializer)) {\n          node = transformForOfStatementWithObjectRest(node);\n        }\n        const result = node.awaitModifier ? transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) : factory2.restoreEnclosingLabel(visitEachChild(node, visitor, context), outermostLabeledStatement);\n        exitSubtree(ancestorFacts);\n        return result;\n      }\n      function transformForOfStatementWithObjectRest(node) {\n        const initializerWithoutParens = skipParentheses(node.initializer);\n        if (isVariableDeclarationList(initializerWithoutParens) || isAssignmentPattern(initializerWithoutParens)) {\n          let bodyLocation;\n          let statementsLocation;\n          const temp = factory2.createTempVariable(\n            /*recordTempVariable*/\n            void 0\n          );\n          const statements = [createForOfBindingStatement(factory2, initializerWithoutParens, temp)];\n          if (isBlock(node.statement)) {\n            addRange(statements, node.statement.statements);\n            bodyLocation = node.statement;\n            statementsLocation = node.statement.statements;\n          } else if (node.statement) {\n            append(statements, node.statement);\n            bodyLocation = node.statement;\n            statementsLocation = node.statement;\n          }\n          return factory2.updateForOfStatement(\n            node,\n            node.awaitModifier,\n            setTextRange(\n              factory2.createVariableDeclarationList(\n                [\n                  setTextRange(factory2.createVariableDeclaration(temp), node.initializer)\n                ],\n                1\n                /* Let */\n              ),\n              node.initializer\n            ),\n            node.expression,\n            setTextRange(\n              factory2.createBlock(\n                setTextRange(factory2.createNodeArray(statements), statementsLocation),\n                /*multiLine*/\n                true\n              ),\n              bodyLocation\n            )\n          );\n        }\n        return node;\n      }\n      function convertForOfStatementHead(node, boundValue, nonUserCode) {\n        const value = factory2.createTempVariable(hoistVariableDeclaration);\n        const iteratorValueExpression = factory2.createAssignment(value, boundValue);\n        const iteratorValueStatement = factory2.createExpressionStatement(iteratorValueExpression);\n        setSourceMapRange(iteratorValueStatement, node.expression);\n        const exitNonUserCodeExpression = factory2.createAssignment(nonUserCode, factory2.createFalse());\n        const exitNonUserCodeStatement = factory2.createExpressionStatement(exitNonUserCodeExpression);\n        setSourceMapRange(exitNonUserCodeStatement, node.expression);\n        const enterNonUserCodeExpression = factory2.createAssignment(nonUserCode, factory2.createTrue());\n        const enterNonUserCodeStatement = factory2.createExpressionStatement(enterNonUserCodeExpression);\n        setSourceMapRange(exitNonUserCodeStatement, node.expression);\n        const statements = [];\n        const binding = createForOfBindingStatement(factory2, node.initializer, value);\n        statements.push(visitNode(binding, visitor, isStatement));\n        let bodyLocation;\n        let statementsLocation;\n        const statement = visitIterationBody(node.statement, visitor, context);\n        if (isBlock(statement)) {\n          addRange(statements, statement.statements);\n          bodyLocation = statement;\n          statementsLocation = statement.statements;\n        } else {\n          statements.push(statement);\n        }\n        const body = setEmitFlags(\n          setTextRange(\n            factory2.createBlock(\n              setTextRange(factory2.createNodeArray(statements), statementsLocation),\n              /*multiLine*/\n              true\n            ),\n            bodyLocation\n          ),\n          96 | 768\n          /* NoTokenSourceMaps */\n        );\n        return factory2.createBlock([\n          iteratorValueStatement,\n          exitNonUserCodeStatement,\n          factory2.createTryStatement(\n            body,\n            /*catchClause*/\n            void 0,\n            factory2.createBlock([\n              enterNonUserCodeStatement\n            ])\n          )\n        ]);\n      }\n      function createDownlevelAwait(expression) {\n        return enclosingFunctionFlags & 1 ? factory2.createYieldExpression(\n          /*asteriskToken*/\n          void 0,\n          emitHelpers().createAwaitHelper(expression)\n        ) : factory2.createAwaitExpression(expression);\n      }\n      function transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const nonUserCode = factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const done = factory2.createTempVariable(hoistVariableDeclaration);\n        const errorRecord = factory2.createUniqueName(\"e\");\n        const catchVariable = factory2.getGeneratedNameForNode(errorRecord);\n        const returnMethod = factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const callValues = setTextRange(emitHelpers().createAsyncValuesHelper(expression), node.expression);\n        const callNext = factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(iterator, \"next\"),\n          /*typeArguments*/\n          void 0,\n          []\n        );\n        const getDone = factory2.createPropertyAccessExpression(result, \"done\");\n        const getValue = factory2.createPropertyAccessExpression(result, \"value\");\n        const callReturn = factory2.createFunctionCallCall(returnMethod, iterator, []);\n        hoistVariableDeclaration(errorRecord);\n        hoistVariableDeclaration(returnMethod);\n        const initializer = ancestorFacts & 2 ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), callValues]) : callValues;\n        const forStatement = setEmitFlags(\n          setTextRange(\n            factory2.createForStatement(\n              /*initializer*/\n              setEmitFlags(\n                setTextRange(\n                  factory2.createVariableDeclarationList([\n                    factory2.createVariableDeclaration(\n                      nonUserCode,\n                      /*exclamationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      factory2.createTrue()\n                    ),\n                    setTextRange(factory2.createVariableDeclaration(\n                      iterator,\n                      /*exclamationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      initializer\n                    ), node.expression),\n                    factory2.createVariableDeclaration(result)\n                  ]),\n                  node.expression\n                ),\n                4194304\n                /* NoHoisting */\n              ),\n              /*condition*/\n              factory2.inlineExpressions([\n                factory2.createAssignment(result, createDownlevelAwait(callNext)),\n                factory2.createAssignment(done, getDone),\n                factory2.createLogicalNot(done)\n              ]),\n              /*incrementor*/\n              void 0,\n              /*statement*/\n              convertForOfStatementHead(node, getValue, nonUserCode)\n            ),\n            /*location*/\n            node\n          ),\n          512\n          /* NoTokenTrailingSourceMaps */\n        );\n        setOriginalNode(forStatement, node);\n        return factory2.createTryStatement(\n          factory2.createBlock([\n            factory2.restoreEnclosingLabel(\n              forStatement,\n              outermostLabeledStatement\n            )\n          ]),\n          factory2.createCatchClause(\n            factory2.createVariableDeclaration(catchVariable),\n            setEmitFlags(\n              factory2.createBlock([\n                factory2.createExpressionStatement(\n                  factory2.createAssignment(\n                    errorRecord,\n                    factory2.createObjectLiteralExpression([\n                      factory2.createPropertyAssignment(\"error\", catchVariable)\n                    ])\n                  )\n                )\n              ]),\n              1\n              /* SingleLine */\n            )\n          ),\n          factory2.createBlock([\n            factory2.createTryStatement(\n              /*tryBlock*/\n              factory2.createBlock([\n                setEmitFlags(\n                  factory2.createIfStatement(\n                    factory2.createLogicalAnd(\n                      factory2.createLogicalAnd(\n                        factory2.createLogicalNot(nonUserCode),\n                        factory2.createLogicalNot(done)\n                      ),\n                      factory2.createAssignment(\n                        returnMethod,\n                        factory2.createPropertyAccessExpression(iterator, \"return\")\n                      )\n                    ),\n                    factory2.createExpressionStatement(createDownlevelAwait(callReturn))\n                  ),\n                  1\n                  /* SingleLine */\n                )\n              ]),\n              /*catchClause*/\n              void 0,\n              /*finallyBlock*/\n              setEmitFlags(\n                factory2.createBlock([\n                  setEmitFlags(\n                    factory2.createIfStatement(\n                      errorRecord,\n                      factory2.createThrowStatement(\n                        factory2.createPropertyAccessExpression(errorRecord, \"error\")\n                      )\n                    ),\n                    1\n                    /* SingleLine */\n                  )\n                ]),\n                1\n                /* SingleLine */\n              )\n            )\n          ])\n        );\n      }\n      function parameterVisitor(node) {\n        Debug2.assertNode(node, isParameter);\n        return visitParameter(node);\n      }\n      function visitParameter(node) {\n        if (parametersWithPrecedingObjectRestOrSpread == null ? void 0 : parametersWithPrecedingObjectRestOrSpread.has(node)) {\n          return factory2.updateParameterDeclaration(\n            node,\n            /*modifiers*/\n            void 0,\n            node.dotDotDotToken,\n            isBindingPattern(node.name) ? factory2.getGeneratedNameForNode(node) : node.name,\n            /*questionToken*/\n            void 0,\n            /*type*/\n            void 0,\n            /*initializer*/\n            void 0\n          );\n        }\n        if (node.transformFlags & 65536) {\n          return factory2.updateParameterDeclaration(\n            node,\n            /*modifiers*/\n            void 0,\n            node.dotDotDotToken,\n            factory2.getGeneratedNameForNode(node),\n            /*questionToken*/\n            void 0,\n            /*type*/\n            void 0,\n            visitNode(node.initializer, visitor, isExpression)\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function collectParametersWithPrecedingObjectRestOrSpread(node) {\n        let parameters;\n        for (const parameter of node.parameters) {\n          if (parameters) {\n            parameters.add(parameter);\n          } else if (parameter.transformFlags & 65536) {\n            parameters = /* @__PURE__ */ new Set();\n          }\n        }\n        return parameters;\n      }\n      function visitConstructorDeclaration(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateConstructorDeclaration(\n          node,\n          node.modifiers,\n          visitParameterList(node.parameters, parameterVisitor, context),\n          transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function visitGetAccessorDeclaration(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateGetAccessorDeclaration(\n          node,\n          node.modifiers,\n          visitNode(node.name, visitor, isPropertyName),\n          visitParameterList(node.parameters, parameterVisitor, context),\n          /*type*/\n          void 0,\n          transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function visitSetAccessorDeclaration(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateSetAccessorDeclaration(\n          node,\n          node.modifiers,\n          visitNode(node.name, visitor, isPropertyName),\n          visitParameterList(node.parameters, parameterVisitor, context),\n          transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function visitMethodDeclaration(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateMethodDeclaration(\n          node,\n          enclosingFunctionFlags & 1 ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifierLike) : node.modifiers,\n          enclosingFunctionFlags & 2 ? void 0 : node.asteriskToken,\n          visitNode(node.name, visitor, isPropertyName),\n          visitNode(\n            /*questionToken*/\n            void 0,\n            visitor,\n            isQuestionToken\n          ),\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, parameterVisitor, context),\n          /*type*/\n          void 0,\n          enclosingFunctionFlags & 2 && enclosingFunctionFlags & 1 ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function visitFunctionDeclaration(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateFunctionDeclaration(\n          node,\n          enclosingFunctionFlags & 1 ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers,\n          enclosingFunctionFlags & 2 ? void 0 : node.asteriskToken,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, parameterVisitor, context),\n          /*type*/\n          void 0,\n          enclosingFunctionFlags & 2 && enclosingFunctionFlags & 1 ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function visitArrowFunction(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateArrowFunction(\n          node,\n          node.modifiers,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, parameterVisitor, context),\n          /*type*/\n          void 0,\n          node.equalsGreaterThanToken,\n          transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function visitFunctionExpression(node) {\n        const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n        const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n        enclosingFunctionFlags = getFunctionFlags(node);\n        parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n        const updated = factory2.updateFunctionExpression(\n          node,\n          enclosingFunctionFlags & 1 ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers,\n          enclosingFunctionFlags & 2 ? void 0 : node.asteriskToken,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, parameterVisitor, context),\n          /*type*/\n          void 0,\n          enclosingFunctionFlags & 2 && enclosingFunctionFlags & 1 ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody2(node)\n        );\n        enclosingFunctionFlags = savedEnclosingFunctionFlags;\n        parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n        return updated;\n      }\n      function transformAsyncGeneratorFunctionBody(node) {\n        resumeLexicalEnvironment();\n        const statements = [];\n        const statementOffset = factory2.copyPrologue(\n          node.body.statements,\n          statements,\n          /*ensureUseStrict*/\n          false,\n          visitor\n        );\n        appendObjectRestAssignmentsIfNeeded(statements, node);\n        const savedCapturedSuperProperties = capturedSuperProperties;\n        const savedHasSuperElementAccess = hasSuperElementAccess;\n        capturedSuperProperties = /* @__PURE__ */ new Set();\n        hasSuperElementAccess = false;\n        const returnStatement = factory2.createReturnStatement(\n          emitHelpers().createAsyncGeneratorHelper(\n            factory2.createFunctionExpression(\n              /*modifiers*/\n              void 0,\n              factory2.createToken(\n                41\n                /* AsteriskToken */\n              ),\n              node.name && factory2.getGeneratedNameForNode(node.name),\n              /*typeParameters*/\n              void 0,\n              /*parameters*/\n              [],\n              /*type*/\n              void 0,\n              factory2.updateBlock(\n                node.body,\n                visitLexicalEnvironment(node.body.statements, visitor, context, statementOffset)\n              )\n            ),\n            !!(hierarchyFacts & 1)\n          )\n        );\n        const emitSuperHelpers = languageVersion >= 2 && resolver.getNodeCheckFlags(node) & (256 | 128);\n        if (emitSuperHelpers) {\n          enableSubstitutionForAsyncMethodsWithSuper();\n          const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties);\n          substitutedSuperAccessors[getNodeId(variableStatement)] = true;\n          insertStatementsAfterStandardPrologue(statements, [variableStatement]);\n        }\n        statements.push(returnStatement);\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        const block = factory2.updateBlock(node.body, statements);\n        if (emitSuperHelpers && hasSuperElementAccess) {\n          if (resolver.getNodeCheckFlags(node) & 256) {\n            addEmitHelper(block, advancedAsyncSuperHelper);\n          } else if (resolver.getNodeCheckFlags(node) & 128) {\n            addEmitHelper(block, asyncSuperHelper);\n          }\n        }\n        capturedSuperProperties = savedCapturedSuperProperties;\n        hasSuperElementAccess = savedHasSuperElementAccess;\n        return block;\n      }\n      function transformFunctionBody2(node) {\n        var _a22;\n        resumeLexicalEnvironment();\n        let statementOffset = 0;\n        const statements = [];\n        const body = (_a22 = visitNode(node.body, visitor, isConciseBody)) != null ? _a22 : factory2.createBlock([]);\n        if (isBlock(body)) {\n          statementOffset = factory2.copyPrologue(\n            body.statements,\n            statements,\n            /*ensureUseStrict*/\n            false,\n            visitor\n          );\n        }\n        addRange(statements, appendObjectRestAssignmentsIfNeeded(\n          /*statements*/\n          void 0,\n          node\n        ));\n        const leadingStatements = endLexicalEnvironment();\n        if (statementOffset > 0 || some(statements) || some(leadingStatements)) {\n          const block = factory2.converters.convertToFunctionBlock(\n            body,\n            /*multiLine*/\n            true\n          );\n          insertStatementsAfterStandardPrologue(statements, leadingStatements);\n          addRange(statements, block.statements.slice(statementOffset));\n          return factory2.updateBlock(block, setTextRange(factory2.createNodeArray(statements), block.statements));\n        }\n        return body;\n      }\n      function appendObjectRestAssignmentsIfNeeded(statements, node) {\n        let containsPrecedingObjectRestOrSpread = false;\n        for (const parameter of node.parameters) {\n          if (containsPrecedingObjectRestOrSpread) {\n            if (isBindingPattern(parameter.name)) {\n              if (parameter.name.elements.length > 0) {\n                const declarations = flattenDestructuringBinding(\n                  parameter,\n                  visitor,\n                  context,\n                  0,\n                  factory2.getGeneratedNameForNode(parameter)\n                );\n                if (some(declarations)) {\n                  const declarationList = factory2.createVariableDeclarationList(declarations);\n                  const statement = factory2.createVariableStatement(\n                    /*modifiers*/\n                    void 0,\n                    declarationList\n                  );\n                  setEmitFlags(\n                    statement,\n                    2097152\n                    /* CustomPrologue */\n                  );\n                  statements = append(statements, statement);\n                }\n              } else if (parameter.initializer) {\n                const name = factory2.getGeneratedNameForNode(parameter);\n                const initializer = visitNode(parameter.initializer, visitor, isExpression);\n                const assignment = factory2.createAssignment(name, initializer);\n                const statement = factory2.createExpressionStatement(assignment);\n                setEmitFlags(\n                  statement,\n                  2097152\n                  /* CustomPrologue */\n                );\n                statements = append(statements, statement);\n              }\n            } else if (parameter.initializer) {\n              const name = factory2.cloneNode(parameter.name);\n              setTextRange(name, parameter.name);\n              setEmitFlags(\n                name,\n                96\n                /* NoSourceMap */\n              );\n              const initializer = visitNode(parameter.initializer, visitor, isExpression);\n              addEmitFlags(\n                initializer,\n                96 | 3072\n                /* NoComments */\n              );\n              const assignment = factory2.createAssignment(name, initializer);\n              setTextRange(assignment, parameter);\n              setEmitFlags(\n                assignment,\n                3072\n                /* NoComments */\n              );\n              const block = factory2.createBlock([factory2.createExpressionStatement(assignment)]);\n              setTextRange(block, parameter);\n              setEmitFlags(\n                block,\n                1 | 64 | 768 | 3072\n                /* NoComments */\n              );\n              const typeCheck = factory2.createTypeCheck(factory2.cloneNode(parameter.name), \"undefined\");\n              const statement = factory2.createIfStatement(typeCheck, block);\n              startOnNewLine(statement);\n              setTextRange(statement, parameter);\n              setEmitFlags(\n                statement,\n                768 | 64 | 2097152 | 3072\n                /* NoComments */\n              );\n              statements = append(statements, statement);\n            }\n          } else if (parameter.transformFlags & 65536) {\n            containsPrecedingObjectRestOrSpread = true;\n            const declarations = flattenDestructuringBinding(\n              parameter,\n              visitor,\n              context,\n              1,\n              factory2.getGeneratedNameForNode(parameter),\n              /*doNotRecordTempVariablesInLine*/\n              false,\n              /*skipInitializer*/\n              true\n            );\n            if (some(declarations)) {\n              const declarationList = factory2.createVariableDeclarationList(declarations);\n              const statement = factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                declarationList\n              );\n              setEmitFlags(\n                statement,\n                2097152\n                /* CustomPrologue */\n              );\n              statements = append(statements, statement);\n            }\n          }\n        }\n        return statements;\n      }\n      function enableSubstitutionForAsyncMethodsWithSuper() {\n        if ((enabledSubstitutions & 1) === 0) {\n          enabledSubstitutions |= 1;\n          context.enableSubstitution(\n            210\n            /* CallExpression */\n          );\n          context.enableSubstitution(\n            208\n            /* PropertyAccessExpression */\n          );\n          context.enableSubstitution(\n            209\n            /* ElementAccessExpression */\n          );\n          context.enableEmitNotification(\n            260\n            /* ClassDeclaration */\n          );\n          context.enableEmitNotification(\n            171\n            /* MethodDeclaration */\n          );\n          context.enableEmitNotification(\n            174\n            /* GetAccessor */\n          );\n          context.enableEmitNotification(\n            175\n            /* SetAccessor */\n          );\n          context.enableEmitNotification(\n            173\n            /* Constructor */\n          );\n          context.enableEmitNotification(\n            240\n            /* VariableStatement */\n          );\n        }\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (enabledSubstitutions & 1 && isSuperContainer(node)) {\n          const superContainerFlags = resolver.getNodeCheckFlags(node) & (128 | 256);\n          if (superContainerFlags !== enclosingSuperContainerFlags) {\n            const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n            enclosingSuperContainerFlags = superContainerFlags;\n            previousOnEmitNode(hint, node, emitCallback);\n            enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n            return;\n          }\n        } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) {\n          const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n          enclosingSuperContainerFlags = 0;\n          previousOnEmitNode(hint, node, emitCallback);\n          enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n          return;\n        }\n        previousOnEmitNode(hint, node, emitCallback);\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1 && enclosingSuperContainerFlags) {\n          return substituteExpression(node);\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 208:\n            return substitutePropertyAccessExpression(node);\n          case 209:\n            return substituteElementAccessExpression(node);\n          case 210:\n            return substituteCallExpression(node);\n        }\n        return node;\n      }\n      function substitutePropertyAccessExpression(node) {\n        if (node.expression.kind === 106) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.createUniqueName(\n                \"_super\",\n                16 | 32\n                /* FileLevel */\n              ),\n              node.name\n            ),\n            node\n          );\n        }\n        return node;\n      }\n      function substituteElementAccessExpression(node) {\n        if (node.expression.kind === 106) {\n          return createSuperElementAccessInAsyncMethod(\n            node.argumentExpression,\n            node\n          );\n        }\n        return node;\n      }\n      function substituteCallExpression(node) {\n        const expression = node.expression;\n        if (isSuperProperty(expression)) {\n          const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression);\n          return factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(argumentExpression, \"call\"),\n            /*typeArguments*/\n            void 0,\n            [\n              factory2.createThis(),\n              ...node.arguments\n            ]\n          );\n        }\n        return node;\n      }\n      function isSuperContainer(node) {\n        const kind = node.kind;\n        return kind === 260 || kind === 173 || kind === 171 || kind === 174 || kind === 175;\n      }\n      function createSuperElementAccessInAsyncMethod(argumentExpression, location) {\n        if (enclosingSuperContainerFlags & 256) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.createCallExpression(\n                factory2.createIdentifier(\"_superIndex\"),\n                /*typeArguments*/\n                void 0,\n                [argumentExpression]\n              ),\n              \"value\"\n            ),\n            location\n          );\n        } else {\n          return setTextRange(\n            factory2.createCallExpression(\n              factory2.createIdentifier(\"_superIndex\"),\n              /*typeArguments*/\n              void 0,\n              [argumentExpression]\n            ),\n            location\n          );\n        }\n      }\n    }\n    var init_es2018 = __esm({\n      \"src/compiler/transformers/es2018.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformES2019(context) {\n      const factory2 = context.factory;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        if ((node.transformFlags & 64) === 0) {\n          return node;\n        }\n        switch (node.kind) {\n          case 295:\n            return visitCatchClause(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitCatchClause(node) {\n        if (!node.variableDeclaration) {\n          return factory2.updateCatchClause(\n            node,\n            factory2.createVariableDeclaration(factory2.createTempVariable(\n              /*recordTempVariable*/\n              void 0\n            )),\n            visitNode(node.block, visitor, isBlock)\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n    }\n    var init_es2019 = __esm({\n      \"src/compiler/transformers/es2019.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformES2020(context) {\n      const {\n        factory: factory2,\n        hoistVariableDeclaration\n      } = context;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        if ((node.transformFlags & 32) === 0) {\n          return node;\n        }\n        switch (node.kind) {\n          case 210: {\n            const updated = visitNonOptionalCallExpression(\n              node,\n              /*captureThisArg*/\n              false\n            );\n            Debug2.assertNotNode(updated, isSyntheticReference);\n            return updated;\n          }\n          case 208:\n          case 209:\n            if (isOptionalChain(node)) {\n              const updated = visitOptionalExpression(\n                node,\n                /*captureThisArg*/\n                false,\n                /*isDelete*/\n                false\n              );\n              Debug2.assertNotNode(updated, isSyntheticReference);\n              return updated;\n            }\n            return visitEachChild(node, visitor, context);\n          case 223:\n            if (node.operatorToken.kind === 60) {\n              return transformNullishCoalescingExpression(node);\n            }\n            return visitEachChild(node, visitor, context);\n          case 217:\n            return visitDeleteExpression(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function flattenChain(chain) {\n        Debug2.assertNotNode(chain, isNonNullChain);\n        const links = [chain];\n        while (!chain.questionDotToken && !isTaggedTemplateExpression(chain)) {\n          chain = cast(skipPartiallyEmittedExpressions(chain.expression), isOptionalChain);\n          Debug2.assertNotNode(chain, isNonNullChain);\n          links.unshift(chain);\n        }\n        return { expression: chain.expression, chain: links };\n      }\n      function visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete) {\n        const expression = visitNonOptionalExpression(node.expression, captureThisArg, isDelete);\n        if (isSyntheticReference(expression)) {\n          return factory2.createSyntheticReferenceExpression(factory2.updateParenthesizedExpression(node, expression.expression), expression.thisArg);\n        }\n        return factory2.updateParenthesizedExpression(node, expression);\n      }\n      function visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete) {\n        if (isOptionalChain(node)) {\n          return visitOptionalExpression(node, captureThisArg, isDelete);\n        }\n        let expression = visitNode(node.expression, visitor, isExpression);\n        Debug2.assertNotNode(expression, isSyntheticReference);\n        let thisArg;\n        if (captureThisArg) {\n          if (!isSimpleCopiableExpression(expression)) {\n            thisArg = factory2.createTempVariable(hoistVariableDeclaration);\n            expression = factory2.createAssignment(thisArg, expression);\n          } else {\n            thisArg = expression;\n          }\n        }\n        expression = node.kind === 208 ? factory2.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentifier)) : factory2.updateElementAccessExpression(node, expression, visitNode(node.argumentExpression, visitor, isExpression));\n        return thisArg ? factory2.createSyntheticReferenceExpression(expression, thisArg) : expression;\n      }\n      function visitNonOptionalCallExpression(node, captureThisArg) {\n        if (isOptionalChain(node)) {\n          return visitOptionalExpression(\n            node,\n            captureThisArg,\n            /*isDelete*/\n            false\n          );\n        }\n        if (isParenthesizedExpression(node.expression) && isOptionalChain(skipParentheses(node.expression))) {\n          const expression = visitNonOptionalParenthesizedExpression(\n            node.expression,\n            /*captureThisArg*/\n            true,\n            /*isDelete*/\n            false\n          );\n          const args = visitNodes2(node.arguments, visitor, isExpression);\n          if (isSyntheticReference(expression)) {\n            return setTextRange(factory2.createFunctionCallCall(expression.expression, expression.thisArg, args), node);\n          }\n          return factory2.updateCallExpression(\n            node,\n            expression,\n            /*typeArguments*/\n            void 0,\n            args\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitNonOptionalExpression(node, captureThisArg, isDelete) {\n        switch (node.kind) {\n          case 214:\n            return visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete);\n          case 208:\n          case 209:\n            return visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete);\n          case 210:\n            return visitNonOptionalCallExpression(node, captureThisArg);\n          default:\n            return visitNode(node, visitor, isExpression);\n        }\n      }\n      function visitOptionalExpression(node, captureThisArg, isDelete) {\n        const { expression, chain } = flattenChain(node);\n        const left = visitNonOptionalExpression(\n          skipPartiallyEmittedExpressions(expression),\n          isCallChain(chain[0]),\n          /*isDelete*/\n          false\n        );\n        let leftThisArg = isSyntheticReference(left) ? left.thisArg : void 0;\n        let capturedLeft = isSyntheticReference(left) ? left.expression : left;\n        let leftExpression = factory2.restoreOuterExpressions(\n          expression,\n          capturedLeft,\n          8\n          /* PartiallyEmittedExpressions */\n        );\n        if (!isSimpleCopiableExpression(capturedLeft)) {\n          capturedLeft = factory2.createTempVariable(hoistVariableDeclaration);\n          leftExpression = factory2.createAssignment(capturedLeft, leftExpression);\n        }\n        let rightExpression = capturedLeft;\n        let thisArg;\n        for (let i = 0; i < chain.length; i++) {\n          const segment = chain[i];\n          switch (segment.kind) {\n            case 208:\n            case 209:\n              if (i === chain.length - 1 && captureThisArg) {\n                if (!isSimpleCopiableExpression(rightExpression)) {\n                  thisArg = factory2.createTempVariable(hoistVariableDeclaration);\n                  rightExpression = factory2.createAssignment(thisArg, rightExpression);\n                } else {\n                  thisArg = rightExpression;\n                }\n              }\n              rightExpression = segment.kind === 208 ? factory2.createPropertyAccessExpression(rightExpression, visitNode(segment.name, visitor, isIdentifier)) : factory2.createElementAccessExpression(rightExpression, visitNode(segment.argumentExpression, visitor, isExpression));\n              break;\n            case 210:\n              if (i === 0 && leftThisArg) {\n                if (!isGeneratedIdentifier(leftThisArg)) {\n                  leftThisArg = factory2.cloneNode(leftThisArg);\n                  addEmitFlags(\n                    leftThisArg,\n                    3072\n                    /* NoComments */\n                  );\n                }\n                rightExpression = factory2.createFunctionCallCall(\n                  rightExpression,\n                  leftThisArg.kind === 106 ? factory2.createThis() : leftThisArg,\n                  visitNodes2(segment.arguments, visitor, isExpression)\n                );\n              } else {\n                rightExpression = factory2.createCallExpression(\n                  rightExpression,\n                  /*typeArguments*/\n                  void 0,\n                  visitNodes2(segment.arguments, visitor, isExpression)\n                );\n              }\n              break;\n          }\n          setOriginalNode(rightExpression, segment);\n        }\n        const target = isDelete ? factory2.createConditionalExpression(\n          createNotNullCondition(\n            leftExpression,\n            capturedLeft,\n            /*invert*/\n            true\n          ),\n          /*questionToken*/\n          void 0,\n          factory2.createTrue(),\n          /*colonToken*/\n          void 0,\n          factory2.createDeleteExpression(rightExpression)\n        ) : factory2.createConditionalExpression(\n          createNotNullCondition(\n            leftExpression,\n            capturedLeft,\n            /*invert*/\n            true\n          ),\n          /*questionToken*/\n          void 0,\n          factory2.createVoidZero(),\n          /*colonToken*/\n          void 0,\n          rightExpression\n        );\n        setTextRange(target, node);\n        return thisArg ? factory2.createSyntheticReferenceExpression(target, thisArg) : target;\n      }\n      function createNotNullCondition(left, right, invert) {\n        return factory2.createBinaryExpression(\n          factory2.createBinaryExpression(\n            left,\n            factory2.createToken(\n              invert ? 36 : 37\n              /* ExclamationEqualsEqualsToken */\n            ),\n            factory2.createNull()\n          ),\n          factory2.createToken(\n            invert ? 56 : 55\n            /* AmpersandAmpersandToken */\n          ),\n          factory2.createBinaryExpression(\n            right,\n            factory2.createToken(\n              invert ? 36 : 37\n              /* ExclamationEqualsEqualsToken */\n            ),\n            factory2.createVoidZero()\n          )\n        );\n      }\n      function transformNullishCoalescingExpression(node) {\n        let left = visitNode(node.left, visitor, isExpression);\n        let right = left;\n        if (!isSimpleCopiableExpression(left)) {\n          right = factory2.createTempVariable(hoistVariableDeclaration);\n          left = factory2.createAssignment(right, left);\n        }\n        return setTextRange(factory2.createConditionalExpression(\n          createNotNullCondition(left, right),\n          /*questionToken*/\n          void 0,\n          right,\n          /*colonToken*/\n          void 0,\n          visitNode(node.right, visitor, isExpression)\n        ), node);\n      }\n      function visitDeleteExpression(node) {\n        return isOptionalChain(skipParentheses(node.expression)) ? setOriginalNode(visitNonOptionalExpression(\n          node.expression,\n          /*captureThisArg*/\n          false,\n          /*isDelete*/\n          true\n        ), node) : factory2.updateDeleteExpression(node, visitNode(node.expression, visitor, isExpression));\n      }\n    }\n    var init_es2020 = __esm({\n      \"src/compiler/transformers/es2020.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformES2021(context) {\n      const {\n        hoistVariableDeclaration,\n        factory: factory2\n      } = context;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        if ((node.transformFlags & 16) === 0) {\n          return node;\n        }\n        if (isLogicalOrCoalescingAssignmentExpression(node)) {\n          return transformLogicalAssignment(node);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function transformLogicalAssignment(binaryExpression) {\n        const operator = binaryExpression.operatorToken;\n        const nonAssignmentOperator = getNonAssignmentOperatorForCompoundAssignment(operator.kind);\n        let left = skipParentheses(visitNode(binaryExpression.left, visitor, isLeftHandSideExpression));\n        let assignmentTarget = left;\n        const right = skipParentheses(visitNode(binaryExpression.right, visitor, isExpression));\n        if (isAccessExpression(left)) {\n          const propertyAccessTargetSimpleCopiable = isSimpleCopiableExpression(left.expression);\n          const propertyAccessTarget = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createTempVariable(hoistVariableDeclaration);\n          const propertyAccessTargetAssignment = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createAssignment(\n            propertyAccessTarget,\n            left.expression\n          );\n          if (isPropertyAccessExpression(left)) {\n            assignmentTarget = factory2.createPropertyAccessExpression(\n              propertyAccessTarget,\n              left.name\n            );\n            left = factory2.createPropertyAccessExpression(\n              propertyAccessTargetAssignment,\n              left.name\n            );\n          } else {\n            const elementAccessArgumentSimpleCopiable = isSimpleCopiableExpression(left.argumentExpression);\n            const elementAccessArgument = elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createTempVariable(hoistVariableDeclaration);\n            assignmentTarget = factory2.createElementAccessExpression(\n              propertyAccessTarget,\n              elementAccessArgument\n            );\n            left = factory2.createElementAccessExpression(\n              propertyAccessTargetAssignment,\n              elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createAssignment(\n                elementAccessArgument,\n                left.argumentExpression\n              )\n            );\n          }\n        }\n        return factory2.createBinaryExpression(\n          left,\n          nonAssignmentOperator,\n          factory2.createParenthesizedExpression(\n            factory2.createAssignment(\n              assignmentTarget,\n              right\n            )\n          )\n        );\n      }\n    }\n    var init_es2021 = __esm({\n      \"src/compiler/transformers/es2021.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformESNext(context) {\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        if ((node.transformFlags & 4) === 0) {\n          return node;\n        }\n        switch (node.kind) {\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n    }\n    var init_esnext = __esm({\n      \"src/compiler/transformers/esnext.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformJsx(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers\n      } = context;\n      const compilerOptions = context.getCompilerOptions();\n      let currentSourceFile;\n      let currentFileState;\n      return chainBundle(context, transformSourceFile);\n      function getCurrentFileNameExpression() {\n        if (currentFileState.filenameDeclaration) {\n          return currentFileState.filenameDeclaration.name;\n        }\n        const declaration = factory2.createVariableDeclaration(\n          factory2.createUniqueName(\n            \"_jsxFileName\",\n            16 | 32\n            /* FileLevel */\n          ),\n          /*exclaimationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          factory2.createStringLiteral(currentSourceFile.fileName)\n        );\n        currentFileState.filenameDeclaration = declaration;\n        return currentFileState.filenameDeclaration.name;\n      }\n      function getJsxFactoryCalleePrimitive(isStaticChildren) {\n        return compilerOptions.jsx === 5 ? \"jsxDEV\" : isStaticChildren ? \"jsxs\" : \"jsx\";\n      }\n      function getJsxFactoryCallee(isStaticChildren) {\n        const type = getJsxFactoryCalleePrimitive(isStaticChildren);\n        return getImplicitImportForName(type);\n      }\n      function getImplicitJsxFragmentReference() {\n        return getImplicitImportForName(\"Fragment\");\n      }\n      function getImplicitImportForName(name) {\n        var _a22, _b3;\n        const importSource = name === \"createElement\" ? currentFileState.importSpecifier : getJSXRuntimeImport(currentFileState.importSpecifier, compilerOptions);\n        const existing = (_b3 = (_a22 = currentFileState.utilizedImplicitRuntimeImports) == null ? void 0 : _a22.get(importSource)) == null ? void 0 : _b3.get(name);\n        if (existing) {\n          return existing.name;\n        }\n        if (!currentFileState.utilizedImplicitRuntimeImports) {\n          currentFileState.utilizedImplicitRuntimeImports = /* @__PURE__ */ new Map();\n        }\n        let specifierSourceImports = currentFileState.utilizedImplicitRuntimeImports.get(importSource);\n        if (!specifierSourceImports) {\n          specifierSourceImports = /* @__PURE__ */ new Map();\n          currentFileState.utilizedImplicitRuntimeImports.set(importSource, specifierSourceImports);\n        }\n        const generatedName = factory2.createUniqueName(\n          `_${name}`,\n          16 | 32 | 64\n          /* AllowNameSubstitution */\n        );\n        const specifier = factory2.createImportSpecifier(\n          /*isTypeOnly*/\n          false,\n          factory2.createIdentifier(name),\n          generatedName\n        );\n        setIdentifierGeneratedImportReference(generatedName, specifier);\n        specifierSourceImports.set(name, specifier);\n        return generatedName;\n      }\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        currentSourceFile = node;\n        currentFileState = {};\n        currentFileState.importSpecifier = getJSXImplicitImportBase(compilerOptions, node);\n        let visited = visitEachChild(node, visitor, context);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        let statements = visited.statements;\n        if (currentFileState.filenameDeclaration) {\n          statements = insertStatementAfterCustomPrologue(statements.slice(), factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList(\n              [currentFileState.filenameDeclaration],\n              2\n              /* Const */\n            )\n          ));\n        }\n        if (currentFileState.utilizedImplicitRuntimeImports) {\n          for (const [importSource, importSpecifiersMap] of arrayFrom(currentFileState.utilizedImplicitRuntimeImports.entries())) {\n            if (isExternalModule(node)) {\n              const importStatement = factory2.createImportDeclaration(\n                /*modifiers*/\n                void 0,\n                factory2.createImportClause(\n                  /*typeOnly*/\n                  false,\n                  /*name*/\n                  void 0,\n                  factory2.createNamedImports(arrayFrom(importSpecifiersMap.values()))\n                ),\n                factory2.createStringLiteral(importSource),\n                /*assertClause*/\n                void 0\n              );\n              setParentRecursive(\n                importStatement,\n                /*incremental*/\n                false\n              );\n              statements = insertStatementAfterCustomPrologue(statements.slice(), importStatement);\n            } else if (isExternalOrCommonJsModule(node)) {\n              const requireStatement = factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                factory2.createVariableDeclarationList(\n                  [\n                    factory2.createVariableDeclaration(\n                      factory2.createObjectBindingPattern(arrayFrom(importSpecifiersMap.values(), (s) => factory2.createBindingElement(\n                        /*dotdotdot*/\n                        void 0,\n                        s.propertyName,\n                        s.name\n                      ))),\n                      /*exclaimationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      factory2.createCallExpression(\n                        factory2.createIdentifier(\"require\"),\n                        /*typeArguments*/\n                        void 0,\n                        [factory2.createStringLiteral(importSource)]\n                      )\n                    )\n                  ],\n                  2\n                  /* Const */\n                )\n              );\n              setParentRecursive(\n                requireStatement,\n                /*incremental*/\n                false\n              );\n              statements = insertStatementAfterCustomPrologue(statements.slice(), requireStatement);\n            } else {\n            }\n          }\n        }\n        if (statements !== visited.statements) {\n          visited = factory2.updateSourceFile(visited, statements);\n        }\n        currentFileState = void 0;\n        return visited;\n      }\n      function visitor(node) {\n        if (node.transformFlags & 2) {\n          return visitorWorker(node);\n        } else {\n          return node;\n        }\n      }\n      function visitorWorker(node) {\n        switch (node.kind) {\n          case 281:\n            return visitJsxElement(\n              node,\n              /*isChild*/\n              false\n            );\n          case 282:\n            return visitJsxSelfClosingElement(\n              node,\n              /*isChild*/\n              false\n            );\n          case 285:\n            return visitJsxFragment(\n              node,\n              /*isChild*/\n              false\n            );\n          case 291:\n            return visitJsxExpression(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function transformJsxChildToExpression(node) {\n        switch (node.kind) {\n          case 11:\n            return visitJsxText(node);\n          case 291:\n            return visitJsxExpression(node);\n          case 281:\n            return visitJsxElement(\n              node,\n              /*isChild*/\n              true\n            );\n          case 282:\n            return visitJsxSelfClosingElement(\n              node,\n              /*isChild*/\n              true\n            );\n          case 285:\n            return visitJsxFragment(\n              node,\n              /*isChild*/\n              true\n            );\n          default:\n            return Debug2.failBadSyntaxKind(node);\n        }\n      }\n      function hasKeyAfterPropsSpread(node) {\n        let spread = false;\n        for (const elem of node.attributes.properties) {\n          if (isJsxSpreadAttribute(elem)) {\n            spread = true;\n          } else if (spread && isJsxAttribute(elem) && elem.name.escapedText === \"key\") {\n            return true;\n          }\n        }\n        return false;\n      }\n      function shouldUseCreateElement(node) {\n        return currentFileState.importSpecifier === void 0 || hasKeyAfterPropsSpread(node);\n      }\n      function visitJsxElement(node, isChild) {\n        const tagTransform = shouldUseCreateElement(node.openingElement) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX;\n        return tagTransform(\n          node.openingElement,\n          node.children,\n          isChild,\n          /*location*/\n          node\n        );\n      }\n      function visitJsxSelfClosingElement(node, isChild) {\n        const tagTransform = shouldUseCreateElement(node) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX;\n        return tagTransform(\n          node,\n          /*children*/\n          void 0,\n          isChild,\n          /*location*/\n          node\n        );\n      }\n      function visitJsxFragment(node, isChild) {\n        const tagTransform = currentFileState.importSpecifier === void 0 ? visitJsxOpeningFragmentCreateElement : visitJsxOpeningFragmentJSX;\n        return tagTransform(\n          node.openingFragment,\n          node.children,\n          isChild,\n          /*location*/\n          node\n        );\n      }\n      function convertJsxChildrenToChildrenPropObject(children) {\n        const prop = convertJsxChildrenToChildrenPropAssignment(children);\n        return prop && factory2.createObjectLiteralExpression([prop]);\n      }\n      function convertJsxChildrenToChildrenPropAssignment(children) {\n        const nonWhitespaceChildren = getSemanticJsxChildren(children);\n        if (length(nonWhitespaceChildren) === 1 && !nonWhitespaceChildren[0].dotDotDotToken) {\n          const result2 = transformJsxChildToExpression(nonWhitespaceChildren[0]);\n          return result2 && factory2.createPropertyAssignment(\"children\", result2);\n        }\n        const result = mapDefined(children, transformJsxChildToExpression);\n        return length(result) ? factory2.createPropertyAssignment(\"children\", factory2.createArrayLiteralExpression(result)) : void 0;\n      }\n      function visitJsxOpeningLikeElementJSX(node, children, isChild, location) {\n        const tagName = getTagName(node);\n        const childrenProp = children && children.length ? convertJsxChildrenToChildrenPropAssignment(children) : void 0;\n        const keyAttr = find(node.attributes.properties, (p) => !!p.name && isIdentifier(p.name) && p.name.escapedText === \"key\");\n        const attrs = keyAttr ? filter(node.attributes.properties, (p) => p !== keyAttr) : node.attributes.properties;\n        const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs, childrenProp) : factory2.createObjectLiteralExpression(childrenProp ? [childrenProp] : emptyArray);\n        return visitJsxOpeningLikeElementOrFragmentJSX(\n          tagName,\n          objectProperties,\n          keyAttr,\n          children || emptyArray,\n          isChild,\n          location\n        );\n      }\n      function visitJsxOpeningLikeElementOrFragmentJSX(tagName, objectProperties, keyAttr, children, isChild, location) {\n        var _a22;\n        const nonWhitespaceChildren = getSemanticJsxChildren(children);\n        const isStaticChildren = length(nonWhitespaceChildren) > 1 || !!((_a22 = nonWhitespaceChildren[0]) == null ? void 0 : _a22.dotDotDotToken);\n        const args = [tagName, objectProperties];\n        if (keyAttr) {\n          args.push(transformJsxAttributeInitializer(keyAttr.initializer));\n        }\n        if (compilerOptions.jsx === 5) {\n          const originalFile = getOriginalNode(currentSourceFile);\n          if (originalFile && isSourceFile(originalFile)) {\n            if (keyAttr === void 0) {\n              args.push(factory2.createVoidZero());\n            }\n            args.push(isStaticChildren ? factory2.createTrue() : factory2.createFalse());\n            const lineCol = getLineAndCharacterOfPosition(originalFile, location.pos);\n            args.push(factory2.createObjectLiteralExpression([\n              factory2.createPropertyAssignment(\"fileName\", getCurrentFileNameExpression()),\n              factory2.createPropertyAssignment(\"lineNumber\", factory2.createNumericLiteral(lineCol.line + 1)),\n              factory2.createPropertyAssignment(\"columnNumber\", factory2.createNumericLiteral(lineCol.character + 1))\n            ]));\n            args.push(factory2.createThis());\n          }\n        }\n        const element = setTextRange(\n          factory2.createCallExpression(\n            getJsxFactoryCallee(isStaticChildren),\n            /*typeArguments*/\n            void 0,\n            args\n          ),\n          location\n        );\n        if (isChild) {\n          startOnNewLine(element);\n        }\n        return element;\n      }\n      function visitJsxOpeningLikeElementCreateElement(node, children, isChild, location) {\n        const tagName = getTagName(node);\n        const attrs = node.attributes.properties;\n        const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs) : factory2.createNull();\n        const callee = currentFileState.importSpecifier === void 0 ? createJsxFactoryExpression(\n          factory2,\n          context.getEmitResolver().getJsxFactoryEntity(currentSourceFile),\n          compilerOptions.reactNamespace,\n          // TODO: GH#18217\n          node\n        ) : getImplicitImportForName(\"createElement\");\n        const element = createExpressionForJsxElement(\n          factory2,\n          callee,\n          tagName,\n          objectProperties,\n          mapDefined(children, transformJsxChildToExpression),\n          location\n        );\n        if (isChild) {\n          startOnNewLine(element);\n        }\n        return element;\n      }\n      function visitJsxOpeningFragmentJSX(_node, children, isChild, location) {\n        let childrenProps;\n        if (children && children.length) {\n          const result = convertJsxChildrenToChildrenPropObject(children);\n          if (result) {\n            childrenProps = result;\n          }\n        }\n        return visitJsxOpeningLikeElementOrFragmentJSX(\n          getImplicitJsxFragmentReference(),\n          childrenProps || factory2.createObjectLiteralExpression([]),\n          /*keyAttr*/\n          void 0,\n          children,\n          isChild,\n          location\n        );\n      }\n      function visitJsxOpeningFragmentCreateElement(node, children, isChild, location) {\n        const element = createExpressionForJsxFragment(\n          factory2,\n          context.getEmitResolver().getJsxFactoryEntity(currentSourceFile),\n          context.getEmitResolver().getJsxFragmentFactoryEntity(currentSourceFile),\n          compilerOptions.reactNamespace,\n          // TODO: GH#18217\n          mapDefined(children, transformJsxChildToExpression),\n          node,\n          location\n        );\n        if (isChild) {\n          startOnNewLine(element);\n        }\n        return element;\n      }\n      function transformJsxSpreadAttributeToSpreadAssignment(node) {\n        return factory2.createSpreadAssignment(Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)));\n      }\n      function transformJsxAttributesToObjectProps(attrs, children) {\n        const target = getEmitScriptTarget(compilerOptions);\n        return target && target >= 5 ? factory2.createObjectLiteralExpression(transformJsxAttributesToProps(attrs, children)) : transformJsxAttributesToExpression(attrs, children);\n      }\n      function transformJsxAttributesToProps(attrs, children) {\n        const props = flatten(spanMap(attrs, isJsxSpreadAttribute, (attrs2, isSpread) => map(attrs2, (attr) => isSpread ? transformJsxSpreadAttributeToSpreadAssignment(attr) : transformJsxAttributeToObjectLiteralElement(attr))));\n        if (children) {\n          props.push(children);\n        }\n        return props;\n      }\n      function transformJsxAttributesToExpression(attrs, children) {\n        const expressions = flatten(\n          spanMap(\n            attrs,\n            isJsxSpreadAttribute,\n            (attrs2, isSpread) => isSpread ? map(attrs2, transformJsxSpreadAttributeToExpression) : factory2.createObjectLiteralExpression(map(attrs2, transformJsxAttributeToObjectLiteralElement))\n          )\n        );\n        if (isJsxSpreadAttribute(attrs[0])) {\n          expressions.unshift(factory2.createObjectLiteralExpression());\n        }\n        if (children) {\n          expressions.push(factory2.createObjectLiteralExpression([children]));\n        }\n        return singleOrUndefined(expressions) || emitHelpers().createAssignHelper(expressions);\n      }\n      function transformJsxSpreadAttributeToExpression(node) {\n        return Debug2.checkDefined(visitNode(node.expression, visitor, isExpression));\n      }\n      function transformJsxAttributeToObjectLiteralElement(node) {\n        const name = getAttributeName(node);\n        const expression = transformJsxAttributeInitializer(node.initializer);\n        return factory2.createPropertyAssignment(name, expression);\n      }\n      function transformJsxAttributeInitializer(node) {\n        if (node === void 0) {\n          return factory2.createTrue();\n        }\n        if (node.kind === 10) {\n          const singleQuote = node.singleQuote !== void 0 ? node.singleQuote : !isStringDoubleQuoted(node, currentSourceFile);\n          const literal = factory2.createStringLiteral(tryDecodeEntities(node.text) || node.text, singleQuote);\n          return setTextRange(literal, node);\n        }\n        if (node.kind === 291) {\n          if (node.expression === void 0) {\n            return factory2.createTrue();\n          }\n          return Debug2.checkDefined(visitNode(node.expression, visitor, isExpression));\n        }\n        if (isJsxElement(node)) {\n          return visitJsxElement(\n            node,\n            /*isChild*/\n            false\n          );\n        }\n        if (isJsxSelfClosingElement(node)) {\n          return visitJsxSelfClosingElement(\n            node,\n            /*isChild*/\n            false\n          );\n        }\n        if (isJsxFragment(node)) {\n          return visitJsxFragment(\n            node,\n            /*isChild*/\n            false\n          );\n        }\n        return Debug2.failBadSyntaxKind(node);\n      }\n      function visitJsxText(node) {\n        const fixed = fixupWhitespaceAndDecodeEntities(node.text);\n        return fixed === void 0 ? void 0 : factory2.createStringLiteral(fixed);\n      }\n      function fixupWhitespaceAndDecodeEntities(text) {\n        let acc;\n        let firstNonWhitespace = 0;\n        let lastNonWhitespace = -1;\n        for (let i = 0; i < text.length; i++) {\n          const c = text.charCodeAt(i);\n          if (isLineBreak(c)) {\n            if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) {\n              acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace + 1));\n            }\n            firstNonWhitespace = -1;\n          } else if (!isWhiteSpaceSingleLine(c)) {\n            lastNonWhitespace = i;\n            if (firstNonWhitespace === -1) {\n              firstNonWhitespace = i;\n            }\n          }\n        }\n        return firstNonWhitespace !== -1 ? addLineOfJsxText(acc, text.substr(firstNonWhitespace)) : acc;\n      }\n      function addLineOfJsxText(acc, trimmedLine) {\n        const decoded = decodeEntities(trimmedLine);\n        return acc === void 0 ? decoded : acc + \" \" + decoded;\n      }\n      function decodeEntities(text) {\n        return text.replace(/&((#((\\d+)|x([\\da-fA-F]+)))|(\\w+));/g, (match, _all, _number, _digits, decimal, hex, word) => {\n          if (decimal) {\n            return utf16EncodeAsString(parseInt(decimal, 10));\n          } else if (hex) {\n            return utf16EncodeAsString(parseInt(hex, 16));\n          } else {\n            const ch = entities.get(word);\n            return ch ? utf16EncodeAsString(ch) : match;\n          }\n        });\n      }\n      function tryDecodeEntities(text) {\n        const decoded = decodeEntities(text);\n        return decoded === text ? void 0 : decoded;\n      }\n      function getTagName(node) {\n        if (node.kind === 281) {\n          return getTagName(node.openingElement);\n        } else {\n          const name = node.tagName;\n          if (isIdentifier(name) && isIntrinsicJsxName(name.escapedText)) {\n            return factory2.createStringLiteral(idText(name));\n          } else {\n            return createExpressionFromEntityName(factory2, name);\n          }\n        }\n      }\n      function getAttributeName(node) {\n        const name = node.name;\n        const text = idText(name);\n        if (/^[A-Za-z_]\\w*$/.test(text)) {\n          return name;\n        } else {\n          return factory2.createStringLiteral(text);\n        }\n      }\n      function visitJsxExpression(node) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        return node.dotDotDotToken ? factory2.createSpreadElement(expression) : expression;\n      }\n    }\n    var entities;\n    var init_jsx = __esm({\n      \"src/compiler/transformers/jsx.ts\"() {\n        \"use strict\";\n        init_ts2();\n        entities = new Map(Object.entries({\n          quot: 34,\n          amp: 38,\n          apos: 39,\n          lt: 60,\n          gt: 62,\n          nbsp: 160,\n          iexcl: 161,\n          cent: 162,\n          pound: 163,\n          curren: 164,\n          yen: 165,\n          brvbar: 166,\n          sect: 167,\n          uml: 168,\n          copy: 169,\n          ordf: 170,\n          laquo: 171,\n          not: 172,\n          shy: 173,\n          reg: 174,\n          macr: 175,\n          deg: 176,\n          plusmn: 177,\n          sup2: 178,\n          sup3: 179,\n          acute: 180,\n          micro: 181,\n          para: 182,\n          middot: 183,\n          cedil: 184,\n          sup1: 185,\n          ordm: 186,\n          raquo: 187,\n          frac14: 188,\n          frac12: 189,\n          frac34: 190,\n          iquest: 191,\n          Agrave: 192,\n          Aacute: 193,\n          Acirc: 194,\n          Atilde: 195,\n          Auml: 196,\n          Aring: 197,\n          AElig: 198,\n          Ccedil: 199,\n          Egrave: 200,\n          Eacute: 201,\n          Ecirc: 202,\n          Euml: 203,\n          Igrave: 204,\n          Iacute: 205,\n          Icirc: 206,\n          Iuml: 207,\n          ETH: 208,\n          Ntilde: 209,\n          Ograve: 210,\n          Oacute: 211,\n          Ocirc: 212,\n          Otilde: 213,\n          Ouml: 214,\n          times: 215,\n          Oslash: 216,\n          Ugrave: 217,\n          Uacute: 218,\n          Ucirc: 219,\n          Uuml: 220,\n          Yacute: 221,\n          THORN: 222,\n          szlig: 223,\n          agrave: 224,\n          aacute: 225,\n          acirc: 226,\n          atilde: 227,\n          auml: 228,\n          aring: 229,\n          aelig: 230,\n          ccedil: 231,\n          egrave: 232,\n          eacute: 233,\n          ecirc: 234,\n          euml: 235,\n          igrave: 236,\n          iacute: 237,\n          icirc: 238,\n          iuml: 239,\n          eth: 240,\n          ntilde: 241,\n          ograve: 242,\n          oacute: 243,\n          ocirc: 244,\n          otilde: 245,\n          ouml: 246,\n          divide: 247,\n          oslash: 248,\n          ugrave: 249,\n          uacute: 250,\n          ucirc: 251,\n          uuml: 252,\n          yacute: 253,\n          thorn: 254,\n          yuml: 255,\n          OElig: 338,\n          oelig: 339,\n          Scaron: 352,\n          scaron: 353,\n          Yuml: 376,\n          fnof: 402,\n          circ: 710,\n          tilde: 732,\n          Alpha: 913,\n          Beta: 914,\n          Gamma: 915,\n          Delta: 916,\n          Epsilon: 917,\n          Zeta: 918,\n          Eta: 919,\n          Theta: 920,\n          Iota: 921,\n          Kappa: 922,\n          Lambda: 923,\n          Mu: 924,\n          Nu: 925,\n          Xi: 926,\n          Omicron: 927,\n          Pi: 928,\n          Rho: 929,\n          Sigma: 931,\n          Tau: 932,\n          Upsilon: 933,\n          Phi: 934,\n          Chi: 935,\n          Psi: 936,\n          Omega: 937,\n          alpha: 945,\n          beta: 946,\n          gamma: 947,\n          delta: 948,\n          epsilon: 949,\n          zeta: 950,\n          eta: 951,\n          theta: 952,\n          iota: 953,\n          kappa: 954,\n          lambda: 955,\n          mu: 956,\n          nu: 957,\n          xi: 958,\n          omicron: 959,\n          pi: 960,\n          rho: 961,\n          sigmaf: 962,\n          sigma: 963,\n          tau: 964,\n          upsilon: 965,\n          phi: 966,\n          chi: 967,\n          psi: 968,\n          omega: 969,\n          thetasym: 977,\n          upsih: 978,\n          piv: 982,\n          ensp: 8194,\n          emsp: 8195,\n          thinsp: 8201,\n          zwnj: 8204,\n          zwj: 8205,\n          lrm: 8206,\n          rlm: 8207,\n          ndash: 8211,\n          mdash: 8212,\n          lsquo: 8216,\n          rsquo: 8217,\n          sbquo: 8218,\n          ldquo: 8220,\n          rdquo: 8221,\n          bdquo: 8222,\n          dagger: 8224,\n          Dagger: 8225,\n          bull: 8226,\n          hellip: 8230,\n          permil: 8240,\n          prime: 8242,\n          Prime: 8243,\n          lsaquo: 8249,\n          rsaquo: 8250,\n          oline: 8254,\n          frasl: 8260,\n          euro: 8364,\n          image: 8465,\n          weierp: 8472,\n          real: 8476,\n          trade: 8482,\n          alefsym: 8501,\n          larr: 8592,\n          uarr: 8593,\n          rarr: 8594,\n          darr: 8595,\n          harr: 8596,\n          crarr: 8629,\n          lArr: 8656,\n          uArr: 8657,\n          rArr: 8658,\n          dArr: 8659,\n          hArr: 8660,\n          forall: 8704,\n          part: 8706,\n          exist: 8707,\n          empty: 8709,\n          nabla: 8711,\n          isin: 8712,\n          notin: 8713,\n          ni: 8715,\n          prod: 8719,\n          sum: 8721,\n          minus: 8722,\n          lowast: 8727,\n          radic: 8730,\n          prop: 8733,\n          infin: 8734,\n          ang: 8736,\n          and: 8743,\n          or: 8744,\n          cap: 8745,\n          cup: 8746,\n          int: 8747,\n          there4: 8756,\n          sim: 8764,\n          cong: 8773,\n          asymp: 8776,\n          ne: 8800,\n          equiv: 8801,\n          le: 8804,\n          ge: 8805,\n          sub: 8834,\n          sup: 8835,\n          nsub: 8836,\n          sube: 8838,\n          supe: 8839,\n          oplus: 8853,\n          otimes: 8855,\n          perp: 8869,\n          sdot: 8901,\n          lceil: 8968,\n          rceil: 8969,\n          lfloor: 8970,\n          rfloor: 8971,\n          lang: 9001,\n          rang: 9002,\n          loz: 9674,\n          spades: 9824,\n          clubs: 9827,\n          hearts: 9829,\n          diams: 9830\n        }));\n      }\n    });\n    function transformES2016(context) {\n      const {\n        factory: factory2,\n        hoistVariableDeclaration\n      } = context;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        if ((node.transformFlags & 512) === 0) {\n          return node;\n        }\n        switch (node.kind) {\n          case 223:\n            return visitBinaryExpression(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitBinaryExpression(node) {\n        switch (node.operatorToken.kind) {\n          case 67:\n            return visitExponentiationAssignmentExpression(node);\n          case 42:\n            return visitExponentiationExpression(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitExponentiationAssignmentExpression(node) {\n        let target;\n        let value;\n        const left = visitNode(node.left, visitor, isExpression);\n        const right = visitNode(node.right, visitor, isExpression);\n        if (isElementAccessExpression(left)) {\n          const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration);\n          const argumentExpressionTemp = factory2.createTempVariable(hoistVariableDeclaration);\n          target = setTextRange(\n            factory2.createElementAccessExpression(\n              setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression),\n              setTextRange(factory2.createAssignment(argumentExpressionTemp, left.argumentExpression), left.argumentExpression)\n            ),\n            left\n          );\n          value = setTextRange(\n            factory2.createElementAccessExpression(\n              expressionTemp,\n              argumentExpressionTemp\n            ),\n            left\n          );\n        } else if (isPropertyAccessExpression(left)) {\n          const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration);\n          target = setTextRange(\n            factory2.createPropertyAccessExpression(\n              setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression),\n              left.name\n            ),\n            left\n          );\n          value = setTextRange(\n            factory2.createPropertyAccessExpression(\n              expressionTemp,\n              left.name\n            ),\n            left\n          );\n        } else {\n          target = left;\n          value = left;\n        }\n        return setTextRange(\n          factory2.createAssignment(\n            target,\n            setTextRange(factory2.createGlobalMethodCall(\"Math\", \"pow\", [value, right]), node)\n          ),\n          node\n        );\n      }\n      function visitExponentiationExpression(node) {\n        const left = visitNode(node.left, visitor, isExpression);\n        const right = visitNode(node.right, visitor, isExpression);\n        return setTextRange(factory2.createGlobalMethodCall(\"Math\", \"pow\", [left, right]), node);\n      }\n    }\n    var init_es2016 = __esm({\n      \"src/compiler/transformers/es2016.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function createSpreadSegment(kind, expression) {\n      return { kind, expression };\n    }\n    function transformES2015(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        startLexicalEnvironment,\n        resumeLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      const compilerOptions = context.getCompilerOptions();\n      const resolver = context.getEmitResolver();\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      const previousOnEmitNode = context.onEmitNode;\n      context.onEmitNode = onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      let currentSourceFile;\n      let currentText;\n      let hierarchyFacts;\n      let taggedTemplateStringDeclarations;\n      function recordTaggedTemplateString(temp) {\n        taggedTemplateStringDeclarations = append(\n          taggedTemplateStringDeclarations,\n          factory2.createVariableDeclaration(temp)\n        );\n      }\n      let convertedLoopState;\n      let enabledSubstitutions;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        currentSourceFile = node;\n        currentText = node.text;\n        const visited = visitSourceFile(node);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        currentSourceFile = void 0;\n        currentText = void 0;\n        taggedTemplateStringDeclarations = void 0;\n        hierarchyFacts = 0;\n        return visited;\n      }\n      function enterSubtree(excludeFacts, includeFacts) {\n        const ancestorFacts = hierarchyFacts;\n        hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 32767;\n        return ancestorFacts;\n      }\n      function exitSubtree(ancestorFacts, excludeFacts, includeFacts) {\n        hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & -32768 | ancestorFacts;\n      }\n      function isReturnVoidStatementInConstructorWithCapturedSuper(node) {\n        return (hierarchyFacts & 8192) !== 0 && node.kind === 250 && !node.expression;\n      }\n      function isOrMayContainReturnCompletion(node) {\n        return node.transformFlags & 4194304 && (isReturnStatement(node) || isIfStatement(node) || isWithStatement(node) || isSwitchStatement(node) || isCaseBlock(node) || isCaseClause(node) || isDefaultClause(node) || isTryStatement(node) || isCatchClause(node) || isLabeledStatement(node) || isIterationStatement(\n          node,\n          /*lookInLabeledStatements*/\n          false\n        ) || isBlock(node));\n      }\n      function shouldVisitNode(node) {\n        return (node.transformFlags & 1024) !== 0 || convertedLoopState !== void 0 || hierarchyFacts & 8192 && isOrMayContainReturnCompletion(node) || isIterationStatement(\n          node,\n          /*lookInLabeledStatements*/\n          false\n        ) && shouldConvertIterationStatement(node) || (getInternalEmitFlags(node) & 1) !== 0;\n      }\n      function visitor(node) {\n        return shouldVisitNode(node) ? visitorWorker(\n          node,\n          /*expressionResultIsUnused*/\n          false\n        ) : node;\n      }\n      function visitorWithUnusedExpressionResult(node) {\n        return shouldVisitNode(node) ? visitorWorker(\n          node,\n          /*expressionResultIsUnused*/\n          true\n        ) : node;\n      }\n      function classWrapperStatementVisitor(node) {\n        if (shouldVisitNode(node)) {\n          const original = getOriginalNode(node);\n          if (isPropertyDeclaration(original) && hasStaticModifier(original)) {\n            const ancestorFacts = enterSubtree(\n              32670,\n              16449\n              /* StaticInitializerIncludes */\n            );\n            const result = visitorWorker(\n              node,\n              /*expressionResultIsUnused*/\n              false\n            );\n            exitSubtree(\n              ancestorFacts,\n              98304,\n              0\n              /* None */\n            );\n            return result;\n          }\n          return visitorWorker(\n            node,\n            /*expressionResultIsUnused*/\n            false\n          );\n        }\n        return node;\n      }\n      function callExpressionVisitor(node) {\n        if (node.kind === 106) {\n          return visitSuperKeyword(\n            /*isExpressionOfCall*/\n            true\n          );\n        }\n        return visitor(node);\n      }\n      function visitorWorker(node, expressionResultIsUnused2) {\n        switch (node.kind) {\n          case 124:\n            return void 0;\n          case 260:\n            return visitClassDeclaration(node);\n          case 228:\n            return visitClassExpression(node);\n          case 166:\n            return visitParameter(node);\n          case 259:\n            return visitFunctionDeclaration(node);\n          case 216:\n            return visitArrowFunction(node);\n          case 215:\n            return visitFunctionExpression(node);\n          case 257:\n            return visitVariableDeclaration(node);\n          case 79:\n            return visitIdentifier(node);\n          case 258:\n            return visitVariableDeclarationList(node);\n          case 252:\n            return visitSwitchStatement(node);\n          case 266:\n            return visitCaseBlock(node);\n          case 238:\n            return visitBlock(\n              node,\n              /*isFunctionBody*/\n              false\n            );\n          case 249:\n          case 248:\n            return visitBreakOrContinueStatement(node);\n          case 253:\n            return visitLabeledStatement(node);\n          case 243:\n          case 244:\n            return visitDoOrWhileStatement(\n              node,\n              /*outermostLabeledStatement*/\n              void 0\n            );\n          case 245:\n            return visitForStatement(\n              node,\n              /*outermostLabeledStatement*/\n              void 0\n            );\n          case 246:\n            return visitForInStatement(\n              node,\n              /*outermostLabeledStatement*/\n              void 0\n            );\n          case 247:\n            return visitForOfStatement(\n              node,\n              /*outermostLabeledStatement*/\n              void 0\n            );\n          case 241:\n            return visitExpressionStatement(node);\n          case 207:\n            return visitObjectLiteralExpression(node);\n          case 295:\n            return visitCatchClause(node);\n          case 300:\n            return visitShorthandPropertyAssignment(node);\n          case 164:\n            return visitComputedPropertyName(node);\n          case 206:\n            return visitArrayLiteralExpression(node);\n          case 210:\n            return visitCallExpression(node);\n          case 211:\n            return visitNewExpression(node);\n          case 214:\n            return visitParenthesizedExpression(node, expressionResultIsUnused2);\n          case 223:\n            return visitBinaryExpression(node, expressionResultIsUnused2);\n          case 357:\n            return visitCommaListExpression(node, expressionResultIsUnused2);\n          case 14:\n          case 15:\n          case 16:\n          case 17:\n            return visitTemplateLiteral(node);\n          case 10:\n            return visitStringLiteral(node);\n          case 8:\n            return visitNumericLiteral(node);\n          case 212:\n            return visitTaggedTemplateExpression(node);\n          case 225:\n            return visitTemplateExpression(node);\n          case 226:\n            return visitYieldExpression(node);\n          case 227:\n            return visitSpreadElement(node);\n          case 106:\n            return visitSuperKeyword(\n              /*isExpressionOfCall*/\n              false\n            );\n          case 108:\n            return visitThisKeyword(node);\n          case 233:\n            return visitMetaProperty(node);\n          case 171:\n            return visitMethodDeclaration(node);\n          case 174:\n          case 175:\n            return visitAccessorDeclaration(node);\n          case 240:\n            return visitVariableStatement(node);\n          case 250:\n            return visitReturnStatement(node);\n          case 219:\n            return visitVoidExpression(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitSourceFile(node) {\n        const ancestorFacts = enterSubtree(\n          8064,\n          64\n          /* SourceFileIncludes */\n        );\n        const prologue = [];\n        const statements = [];\n        startLexicalEnvironment();\n        const statementOffset = factory2.copyPrologue(\n          node.statements,\n          prologue,\n          /*ensureUseStrict*/\n          false,\n          visitor\n        );\n        addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset));\n        if (taggedTemplateStringDeclarations) {\n          statements.push(\n            factory2.createVariableStatement(\n              /*modifiers*/\n              void 0,\n              factory2.createVariableDeclarationList(taggedTemplateStringDeclarations)\n            )\n          );\n        }\n        factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment());\n        insertCaptureThisForNodeIfNeeded(prologue, node);\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return factory2.updateSourceFile(\n          node,\n          setTextRange(factory2.createNodeArray(concatenate(prologue, statements)), node.statements)\n        );\n      }\n      function visitSwitchStatement(node) {\n        if (convertedLoopState !== void 0) {\n          const savedAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps;\n          convertedLoopState.allowedNonLabeledJumps |= 2;\n          const result = visitEachChild(node, visitor, context);\n          convertedLoopState.allowedNonLabeledJumps = savedAllowedNonLabeledJumps;\n          return result;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCaseBlock(node) {\n        const ancestorFacts = enterSubtree(\n          7104,\n          0\n          /* BlockScopeIncludes */\n        );\n        const updated = visitEachChild(node, visitor, context);\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return updated;\n      }\n      function returnCapturedThis(node) {\n        return setOriginalNode(factory2.createReturnStatement(factory2.createUniqueName(\n          \"_this\",\n          16 | 32\n          /* FileLevel */\n        )), node);\n      }\n      function visitReturnStatement(node) {\n        if (convertedLoopState) {\n          convertedLoopState.nonLocalJumps |= 8;\n          if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) {\n            node = returnCapturedThis(node);\n          }\n          return factory2.createReturnStatement(\n            factory2.createObjectLiteralExpression(\n              [\n                factory2.createPropertyAssignment(\n                  factory2.createIdentifier(\"value\"),\n                  node.expression ? Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)) : factory2.createVoidZero()\n                )\n              ]\n            )\n          );\n        } else if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) {\n          return returnCapturedThis(node);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitThisKeyword(node) {\n        if (hierarchyFacts & 2 && !(hierarchyFacts & 16384)) {\n          hierarchyFacts |= 65536;\n        }\n        if (convertedLoopState) {\n          if (hierarchyFacts & 2) {\n            convertedLoopState.containsLexicalThis = true;\n            return node;\n          }\n          return convertedLoopState.thisName || (convertedLoopState.thisName = factory2.createUniqueName(\"this\"));\n        }\n        return node;\n      }\n      function visitVoidExpression(node) {\n        return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n      }\n      function visitIdentifier(node) {\n        if (convertedLoopState) {\n          if (resolver.isArgumentsLocalBinding(node)) {\n            return convertedLoopState.argumentsName || (convertedLoopState.argumentsName = factory2.createUniqueName(\"arguments\"));\n          }\n        }\n        if (node.flags & 128) {\n          return setOriginalNode(setTextRange(\n            factory2.createIdentifier(unescapeLeadingUnderscores(node.escapedText)),\n            node\n          ), node);\n        }\n        return node;\n      }\n      function visitBreakOrContinueStatement(node) {\n        if (convertedLoopState) {\n          const jump = node.kind === 249 ? 2 : 4;\n          const canUseBreakOrContinue = node.label && convertedLoopState.labels && convertedLoopState.labels.get(idText(node.label)) || !node.label && convertedLoopState.allowedNonLabeledJumps & jump;\n          if (!canUseBreakOrContinue) {\n            let labelMarker;\n            const label = node.label;\n            if (!label) {\n              if (node.kind === 249) {\n                convertedLoopState.nonLocalJumps |= 2;\n                labelMarker = \"break\";\n              } else {\n                convertedLoopState.nonLocalJumps |= 4;\n                labelMarker = \"continue\";\n              }\n            } else {\n              if (node.kind === 249) {\n                labelMarker = `break-${label.escapedText}`;\n                setLabeledJump(\n                  convertedLoopState,\n                  /*isBreak*/\n                  true,\n                  idText(label),\n                  labelMarker\n                );\n              } else {\n                labelMarker = `continue-${label.escapedText}`;\n                setLabeledJump(\n                  convertedLoopState,\n                  /*isBreak*/\n                  false,\n                  idText(label),\n                  labelMarker\n                );\n              }\n            }\n            let returnExpression = factory2.createStringLiteral(labelMarker);\n            if (convertedLoopState.loopOutParameters.length) {\n              const outParams = convertedLoopState.loopOutParameters;\n              let expr;\n              for (let i = 0; i < outParams.length; i++) {\n                const copyExpr = copyOutParameter(\n                  outParams[i],\n                  1\n                  /* ToOutParameter */\n                );\n                if (i === 0) {\n                  expr = copyExpr;\n                } else {\n                  expr = factory2.createBinaryExpression(expr, 27, copyExpr);\n                }\n              }\n              returnExpression = factory2.createBinaryExpression(expr, 27, returnExpression);\n            }\n            return factory2.createReturnStatement(returnExpression);\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitClassDeclaration(node) {\n        const variable = factory2.createVariableDeclaration(\n          factory2.getLocalName(\n            node,\n            /*allowComments*/\n            true\n          ),\n          /*exclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          transformClassLikeDeclarationToExpression(node)\n        );\n        setOriginalNode(variable, node);\n        const statements = [];\n        const statement = factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory2.createVariableDeclarationList([variable])\n        );\n        setOriginalNode(statement, node);\n        setTextRange(statement, node);\n        startOnNewLine(statement);\n        statements.push(statement);\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          const exportStatement = hasSyntacticModifier(\n            node,\n            1024\n            /* Default */\n          ) ? factory2.createExportDefault(factory2.getLocalName(node)) : factory2.createExternalModuleExport(factory2.getLocalName(node));\n          setOriginalNode(exportStatement, statement);\n          statements.push(exportStatement);\n        }\n        const emitFlags = getEmitFlags(node);\n        if ((emitFlags & 8388608) === 0) {\n          statements.push(factory2.createEndOfDeclarationMarker(node));\n          setEmitFlags(\n            statement,\n            emitFlags | 8388608\n            /* HasEndOfDeclarationMarker */\n          );\n        }\n        return singleOrMany(statements);\n      }\n      function visitClassExpression(node) {\n        return transformClassLikeDeclarationToExpression(node);\n      }\n      function transformClassLikeDeclarationToExpression(node) {\n        if (node.name) {\n          enableSubstitutionsForBlockScopedBindings();\n        }\n        const extendsClauseElement = getClassExtendsHeritageElement(node);\n        const classFunction = factory2.createFunctionExpression(\n          /*modifiers*/\n          void 0,\n          /*asteriskToken*/\n          void 0,\n          /*name*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          extendsClauseElement ? [factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            factory2.createUniqueName(\n              \"_super\",\n              16 | 32\n              /* FileLevel */\n            )\n          )] : [],\n          /*type*/\n          void 0,\n          transformClassBody(node, extendsClauseElement)\n        );\n        setEmitFlags(\n          classFunction,\n          getEmitFlags(node) & 131072 | 1048576\n          /* ReuseTempVariableScope */\n        );\n        const inner = factory2.createPartiallyEmittedExpression(classFunction);\n        setTextRangeEnd(inner, node.end);\n        setEmitFlags(\n          inner,\n          3072\n          /* NoComments */\n        );\n        const outer = factory2.createPartiallyEmittedExpression(inner);\n        setTextRangeEnd(outer, skipTrivia(currentText, node.pos));\n        setEmitFlags(\n          outer,\n          3072\n          /* NoComments */\n        );\n        const result = factory2.createParenthesizedExpression(\n          factory2.createCallExpression(\n            outer,\n            /*typeArguments*/\n            void 0,\n            extendsClauseElement ? [Debug2.checkDefined(visitNode(extendsClauseElement.expression, visitor, isExpression))] : []\n          )\n        );\n        addSyntheticLeadingComment(result, 3, \"* @class \");\n        return result;\n      }\n      function transformClassBody(node, extendsClauseElement) {\n        const statements = [];\n        const name = factory2.getInternalName(node);\n        const constructorLikeName = isIdentifierANonContextualKeyword(name) ? factory2.getGeneratedNameForNode(name) : name;\n        startLexicalEnvironment();\n        addExtendsHelperIfNeeded(statements, node, extendsClauseElement);\n        addConstructor(statements, node, constructorLikeName, extendsClauseElement);\n        addClassMembers(statements, node);\n        const closingBraceLocation = createTokenRange(\n          skipTrivia(currentText, node.members.end),\n          19\n          /* CloseBraceToken */\n        );\n        const outer = factory2.createPartiallyEmittedExpression(constructorLikeName);\n        setTextRangeEnd(outer, closingBraceLocation.end);\n        setEmitFlags(\n          outer,\n          3072\n          /* NoComments */\n        );\n        const statement = factory2.createReturnStatement(outer);\n        setTextRangePos(statement, closingBraceLocation.pos);\n        setEmitFlags(\n          statement,\n          3072 | 768\n          /* NoTokenSourceMaps */\n        );\n        statements.push(statement);\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        const block = factory2.createBlock(\n          setTextRange(\n            factory2.createNodeArray(statements),\n            /*location*/\n            node.members\n          ),\n          /*multiLine*/\n          true\n        );\n        setEmitFlags(\n          block,\n          3072\n          /* NoComments */\n        );\n        return block;\n      }\n      function addExtendsHelperIfNeeded(statements, node, extendsClauseElement) {\n        if (extendsClauseElement) {\n          statements.push(\n            setTextRange(\n              factory2.createExpressionStatement(\n                emitHelpers().createExtendsHelper(factory2.getInternalName(node))\n              ),\n              /*location*/\n              extendsClauseElement\n            )\n          );\n        }\n      }\n      function addConstructor(statements, node, name, extendsClauseElement) {\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const ancestorFacts = enterSubtree(\n          32662,\n          73\n          /* ConstructorIncludes */\n        );\n        const constructor = getFirstConstructorWithBody(node);\n        const hasSynthesizedSuper = hasSynthesizedDefaultSuperCall(constructor, extendsClauseElement !== void 0);\n        const constructorFunction = factory2.createFunctionDeclaration(\n          /*modifiers*/\n          void 0,\n          /*asteriskToken*/\n          void 0,\n          name,\n          /*typeParameters*/\n          void 0,\n          transformConstructorParameters(constructor, hasSynthesizedSuper),\n          /*type*/\n          void 0,\n          transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper)\n        );\n        setTextRange(constructorFunction, constructor || node);\n        if (extendsClauseElement) {\n          setEmitFlags(\n            constructorFunction,\n            16\n            /* CapturesThis */\n          );\n        }\n        statements.push(constructorFunction);\n        exitSubtree(\n          ancestorFacts,\n          98304,\n          0\n          /* None */\n        );\n        convertedLoopState = savedConvertedLoopState;\n      }\n      function transformConstructorParameters(constructor, hasSynthesizedSuper) {\n        return visitParameterList(constructor && !hasSynthesizedSuper ? constructor.parameters : void 0, visitor, context) || [];\n      }\n      function createDefaultConstructorBody(node, isDerivedClass) {\n        const statements = [];\n        resumeLexicalEnvironment();\n        factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n        if (isDerivedClass) {\n          statements.push(factory2.createReturnStatement(createDefaultSuperCallOrThis()));\n        }\n        const statementsArray = factory2.createNodeArray(statements);\n        setTextRange(statementsArray, node.members);\n        const block = factory2.createBlock(\n          statementsArray,\n          /*multiLine*/\n          true\n        );\n        setTextRange(block, node);\n        setEmitFlags(\n          block,\n          3072\n          /* NoComments */\n        );\n        return block;\n      }\n      function transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper) {\n        const isDerivedClass = !!extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 104;\n        if (!constructor)\n          return createDefaultConstructorBody(node, isDerivedClass);\n        const prologue = [];\n        const statements = [];\n        resumeLexicalEnvironment();\n        const existingPrologue = takeWhile(constructor.body.statements, isPrologueDirective);\n        const { superCall, superStatementIndex } = findSuperCallAndStatementIndex(constructor.body.statements, existingPrologue);\n        const postSuperStatementsStart = superStatementIndex === -1 ? existingPrologue.length : superStatementIndex + 1;\n        let statementOffset = postSuperStatementsStart;\n        if (!hasSynthesizedSuper)\n          statementOffset = factory2.copyStandardPrologue(\n            constructor.body.statements,\n            prologue,\n            statementOffset,\n            /*ensureUseStrict*/\n            false\n          );\n        if (!hasSynthesizedSuper)\n          statementOffset = factory2.copyCustomPrologue(\n            constructor.body.statements,\n            statements,\n            statementOffset,\n            visitor,\n            /*filter*/\n            void 0\n          );\n        let superCallExpression;\n        if (hasSynthesizedSuper) {\n          superCallExpression = createDefaultSuperCallOrThis();\n        } else if (superCall) {\n          superCallExpression = visitSuperCallInBody(superCall);\n        }\n        if (superCallExpression) {\n          hierarchyFacts |= 8192;\n        }\n        addDefaultValueAssignmentsIfNeeded2(prologue, constructor);\n        addRestParameterIfNeeded(prologue, constructor, hasSynthesizedSuper);\n        addRange(statements, visitNodes2(\n          constructor.body.statements,\n          visitor,\n          isStatement,\n          /*start*/\n          statementOffset\n        ));\n        factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment());\n        insertCaptureNewTargetIfNeeded(\n          prologue,\n          constructor,\n          /*copyOnWrite*/\n          false\n        );\n        if (isDerivedClass || superCallExpression) {\n          if (superCallExpression && postSuperStatementsStart === constructor.body.statements.length && !(constructor.body.transformFlags & 16384)) {\n            const superCall2 = cast(cast(superCallExpression, isBinaryExpression).left, isCallExpression);\n            const returnStatement = factory2.createReturnStatement(superCallExpression);\n            setCommentRange(returnStatement, getCommentRange(superCall2));\n            setEmitFlags(\n              superCall2,\n              3072\n              /* NoComments */\n            );\n            statements.push(returnStatement);\n          } else {\n            if (superStatementIndex <= existingPrologue.length) {\n              insertCaptureThisForNode(statements, constructor, superCallExpression || createActualThis());\n            } else {\n              insertCaptureThisForNode(prologue, constructor, createActualThis());\n              if (superCallExpression) {\n                insertSuperThisCaptureThisForNode(statements, superCallExpression);\n              }\n            }\n            if (!isSufficientlyCoveredByReturnStatements(constructor.body)) {\n              statements.push(factory2.createReturnStatement(factory2.createUniqueName(\n                \"_this\",\n                16 | 32\n                /* FileLevel */\n              )));\n            }\n          }\n        } else {\n          insertCaptureThisForNodeIfNeeded(prologue, constructor);\n        }\n        const body = factory2.createBlock(\n          setTextRange(\n            factory2.createNodeArray(\n              [\n                ...existingPrologue,\n                ...prologue,\n                ...superStatementIndex <= existingPrologue.length ? emptyArray : visitNodes2(constructor.body.statements, visitor, isStatement, existingPrologue.length, superStatementIndex - existingPrologue.length),\n                ...statements\n              ]\n            ),\n            /*location*/\n            constructor.body.statements\n          ),\n          /*multiLine*/\n          true\n        );\n        setTextRange(body, constructor.body);\n        return body;\n      }\n      function findSuperCallAndStatementIndex(originalBodyStatements, existingPrologue) {\n        for (let i = existingPrologue.length; i < originalBodyStatements.length; i += 1) {\n          const superCall = getSuperCallFromStatement(originalBodyStatements[i]);\n          if (superCall) {\n            return {\n              superCall,\n              superStatementIndex: i\n            };\n          }\n        }\n        return {\n          superStatementIndex: -1\n        };\n      }\n      function isSufficientlyCoveredByReturnStatements(statement) {\n        if (statement.kind === 250) {\n          return true;\n        } else if (statement.kind === 242) {\n          const ifStatement = statement;\n          if (ifStatement.elseStatement) {\n            return isSufficientlyCoveredByReturnStatements(ifStatement.thenStatement) && isSufficientlyCoveredByReturnStatements(ifStatement.elseStatement);\n          }\n        } else if (statement.kind === 238) {\n          const lastStatement = lastOrUndefined(statement.statements);\n          if (lastStatement && isSufficientlyCoveredByReturnStatements(lastStatement)) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function createActualThis() {\n        return setEmitFlags(\n          factory2.createThis(),\n          8\n          /* NoSubstitution */\n        );\n      }\n      function createDefaultSuperCallOrThis() {\n        return factory2.createLogicalOr(\n          factory2.createLogicalAnd(\n            factory2.createStrictInequality(\n              factory2.createUniqueName(\n                \"_super\",\n                16 | 32\n                /* FileLevel */\n              ),\n              factory2.createNull()\n            ),\n            factory2.createFunctionApplyCall(\n              factory2.createUniqueName(\n                \"_super\",\n                16 | 32\n                /* FileLevel */\n              ),\n              createActualThis(),\n              factory2.createIdentifier(\"arguments\")\n            )\n          ),\n          createActualThis()\n        );\n      }\n      function visitParameter(node) {\n        if (node.dotDotDotToken) {\n          return void 0;\n        } else if (isBindingPattern(node.name)) {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                factory2.getGeneratedNameForNode(node),\n                /*questionToken*/\n                void 0,\n                /*type*/\n                void 0,\n                /*initializer*/\n                void 0\n              ),\n              /*location*/\n              node\n            ),\n            /*original*/\n            node\n          );\n        } else if (node.initializer) {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                node.name,\n                /*questionToken*/\n                void 0,\n                /*type*/\n                void 0,\n                /*initializer*/\n                void 0\n              ),\n              /*location*/\n              node\n            ),\n            /*original*/\n            node\n          );\n        } else {\n          return node;\n        }\n      }\n      function hasDefaultValueOrBindingPattern(node) {\n        return node.initializer !== void 0 || isBindingPattern(node.name);\n      }\n      function addDefaultValueAssignmentsIfNeeded2(statements, node) {\n        if (!some(node.parameters, hasDefaultValueOrBindingPattern)) {\n          return false;\n        }\n        let added = false;\n        for (const parameter of node.parameters) {\n          const { name, initializer, dotDotDotToken } = parameter;\n          if (dotDotDotToken) {\n            continue;\n          }\n          if (isBindingPattern(name)) {\n            added = insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) || added;\n          } else if (initializer) {\n            insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer);\n            added = true;\n          }\n        }\n        return added;\n      }\n      function insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) {\n        if (name.elements.length > 0) {\n          insertStatementAfterCustomPrologue(\n            statements,\n            setEmitFlags(\n              factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                factory2.createVariableDeclarationList(\n                  flattenDestructuringBinding(\n                    parameter,\n                    visitor,\n                    context,\n                    0,\n                    factory2.getGeneratedNameForNode(parameter)\n                  )\n                )\n              ),\n              2097152\n              /* CustomPrologue */\n            )\n          );\n          return true;\n        } else if (initializer) {\n          insertStatementAfterCustomPrologue(\n            statements,\n            setEmitFlags(\n              factory2.createExpressionStatement(\n                factory2.createAssignment(\n                  factory2.getGeneratedNameForNode(parameter),\n                  Debug2.checkDefined(visitNode(initializer, visitor, isExpression))\n                )\n              ),\n              2097152\n              /* CustomPrologue */\n            )\n          );\n          return true;\n        }\n        return false;\n      }\n      function insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer) {\n        initializer = Debug2.checkDefined(visitNode(initializer, visitor, isExpression));\n        const statement = factory2.createIfStatement(\n          factory2.createTypeCheck(factory2.cloneNode(name), \"undefined\"),\n          setEmitFlags(\n            setTextRange(\n              factory2.createBlock([\n                factory2.createExpressionStatement(\n                  setEmitFlags(\n                    setTextRange(\n                      factory2.createAssignment(\n                        // TODO(rbuckton): Does this need to be parented?\n                        setEmitFlags(\n                          setParent(setTextRange(factory2.cloneNode(name), name), name.parent),\n                          96\n                          /* NoSourceMap */\n                        ),\n                        setEmitFlags(\n                          initializer,\n                          96 | getEmitFlags(initializer) | 3072\n                          /* NoComments */\n                        )\n                      ),\n                      parameter\n                    ),\n                    3072\n                    /* NoComments */\n                  )\n                )\n              ]),\n              parameter\n            ),\n            1 | 64 | 768 | 3072\n            /* NoComments */\n          )\n        );\n        startOnNewLine(statement);\n        setTextRange(statement, parameter);\n        setEmitFlags(\n          statement,\n          768 | 64 | 2097152 | 3072\n          /* NoComments */\n        );\n        insertStatementAfterCustomPrologue(statements, statement);\n      }\n      function shouldAddRestParameter(node, inConstructorWithSynthesizedSuper) {\n        return !!(node && node.dotDotDotToken && !inConstructorWithSynthesizedSuper);\n      }\n      function addRestParameterIfNeeded(statements, node, inConstructorWithSynthesizedSuper) {\n        const prologueStatements = [];\n        const parameter = lastOrUndefined(node.parameters);\n        if (!shouldAddRestParameter(parameter, inConstructorWithSynthesizedSuper)) {\n          return false;\n        }\n        const declarationName = parameter.name.kind === 79 ? setParent(setTextRange(factory2.cloneNode(parameter.name), parameter.name), parameter.name.parent) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        setEmitFlags(\n          declarationName,\n          96\n          /* NoSourceMap */\n        );\n        const expressionName = parameter.name.kind === 79 ? factory2.cloneNode(parameter.name) : declarationName;\n        const restIndex = node.parameters.length - 1;\n        const temp = factory2.createLoopVariable();\n        prologueStatements.push(\n          setEmitFlags(\n            setTextRange(\n              factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                factory2.createVariableDeclarationList([\n                  factory2.createVariableDeclaration(\n                    declarationName,\n                    /*exclamationToken*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    factory2.createArrayLiteralExpression([])\n                  )\n                ])\n              ),\n              /*location*/\n              parameter\n            ),\n            2097152\n            /* CustomPrologue */\n          )\n        );\n        const forStatement = factory2.createForStatement(\n          setTextRange(\n            factory2.createVariableDeclarationList([\n              factory2.createVariableDeclaration(\n                temp,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                factory2.createNumericLiteral(restIndex)\n              )\n            ]),\n            parameter\n          ),\n          setTextRange(\n            factory2.createLessThan(\n              temp,\n              factory2.createPropertyAccessExpression(factory2.createIdentifier(\"arguments\"), \"length\")\n            ),\n            parameter\n          ),\n          setTextRange(factory2.createPostfixIncrement(temp), parameter),\n          factory2.createBlock([\n            startOnNewLine(\n              setTextRange(\n                factory2.createExpressionStatement(\n                  factory2.createAssignment(\n                    factory2.createElementAccessExpression(\n                      expressionName,\n                      restIndex === 0 ? temp : factory2.createSubtract(temp, factory2.createNumericLiteral(restIndex))\n                    ),\n                    factory2.createElementAccessExpression(factory2.createIdentifier(\"arguments\"), temp)\n                  )\n                ),\n                /*location*/\n                parameter\n              )\n            )\n          ])\n        );\n        setEmitFlags(\n          forStatement,\n          2097152\n          /* CustomPrologue */\n        );\n        startOnNewLine(forStatement);\n        prologueStatements.push(forStatement);\n        if (parameter.name.kind !== 79) {\n          prologueStatements.push(\n            setEmitFlags(\n              setTextRange(\n                factory2.createVariableStatement(\n                  /*modifiers*/\n                  void 0,\n                  factory2.createVariableDeclarationList(\n                    flattenDestructuringBinding(parameter, visitor, context, 0, expressionName)\n                  )\n                ),\n                parameter\n              ),\n              2097152\n              /* CustomPrologue */\n            )\n          );\n        }\n        insertStatementsAfterCustomPrologue(statements, prologueStatements);\n        return true;\n      }\n      function insertCaptureThisForNodeIfNeeded(statements, node) {\n        if (hierarchyFacts & 65536 && node.kind !== 216) {\n          insertCaptureThisForNode(statements, node, factory2.createThis());\n          return true;\n        }\n        return false;\n      }\n      function insertSuperThisCaptureThisForNode(statements, superExpression) {\n        enableSubstitutionsForCapturedThis();\n        const assignSuperExpression = factory2.createExpressionStatement(\n          factory2.createBinaryExpression(\n            factory2.createThis(),\n            63,\n            superExpression\n          )\n        );\n        insertStatementAfterCustomPrologue(statements, assignSuperExpression);\n        setCommentRange(assignSuperExpression, getOriginalNode(superExpression).parent);\n      }\n      function insertCaptureThisForNode(statements, node, initializer) {\n        enableSubstitutionsForCapturedThis();\n        const captureThisStatement = factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory2.createVariableDeclarationList([\n            factory2.createVariableDeclaration(\n              factory2.createUniqueName(\n                \"_this\",\n                16 | 32\n                /* FileLevel */\n              ),\n              /*exclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              initializer\n            )\n          ])\n        );\n        setEmitFlags(\n          captureThisStatement,\n          3072 | 2097152\n          /* CustomPrologue */\n        );\n        setSourceMapRange(captureThisStatement, node);\n        insertStatementAfterCustomPrologue(statements, captureThisStatement);\n      }\n      function insertCaptureNewTargetIfNeeded(statements, node, copyOnWrite) {\n        if (hierarchyFacts & 32768) {\n          let newTarget;\n          switch (node.kind) {\n            case 216:\n              return statements;\n            case 171:\n            case 174:\n            case 175:\n              newTarget = factory2.createVoidZero();\n              break;\n            case 173:\n              newTarget = factory2.createPropertyAccessExpression(\n                setEmitFlags(\n                  factory2.createThis(),\n                  8\n                  /* NoSubstitution */\n                ),\n                \"constructor\"\n              );\n              break;\n            case 259:\n            case 215:\n              newTarget = factory2.createConditionalExpression(\n                factory2.createLogicalAnd(\n                  setEmitFlags(\n                    factory2.createThis(),\n                    8\n                    /* NoSubstitution */\n                  ),\n                  factory2.createBinaryExpression(\n                    setEmitFlags(\n                      factory2.createThis(),\n                      8\n                      /* NoSubstitution */\n                    ),\n                    102,\n                    factory2.getLocalName(node)\n                  )\n                ),\n                /*questionToken*/\n                void 0,\n                factory2.createPropertyAccessExpression(\n                  setEmitFlags(\n                    factory2.createThis(),\n                    8\n                    /* NoSubstitution */\n                  ),\n                  \"constructor\"\n                ),\n                /*colonToken*/\n                void 0,\n                factory2.createVoidZero()\n              );\n              break;\n            default:\n              return Debug2.failBadSyntaxKind(node);\n          }\n          const captureNewTargetStatement = factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList([\n              factory2.createVariableDeclaration(\n                factory2.createUniqueName(\n                  \"_newTarget\",\n                  16 | 32\n                  /* FileLevel */\n                ),\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                newTarget\n              )\n            ])\n          );\n          setEmitFlags(\n            captureNewTargetStatement,\n            3072 | 2097152\n            /* CustomPrologue */\n          );\n          if (copyOnWrite) {\n            statements = statements.slice();\n          }\n          insertStatementAfterCustomPrologue(statements, captureNewTargetStatement);\n        }\n        return statements;\n      }\n      function addClassMembers(statements, node) {\n        for (const member of node.members) {\n          switch (member.kind) {\n            case 237:\n              statements.push(transformSemicolonClassElementToStatement(member));\n              break;\n            case 171:\n              statements.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(node, member), member, node));\n              break;\n            case 174:\n            case 175:\n              const accessors = getAllAccessorDeclarations(node.members, member);\n              if (member === accessors.firstAccessor) {\n                statements.push(transformAccessorsToStatement(getClassMemberPrefix(node, member), accessors, node));\n              }\n              break;\n            case 173:\n            case 172:\n              break;\n            default:\n              Debug2.failBadSyntaxKind(member, currentSourceFile && currentSourceFile.fileName);\n              break;\n          }\n        }\n      }\n      function transformSemicolonClassElementToStatement(member) {\n        return setTextRange(factory2.createEmptyStatement(), member);\n      }\n      function transformClassMethodDeclarationToStatement(receiver, member, container) {\n        const commentRange = getCommentRange(member);\n        const sourceMapRange = getSourceMapRange(member);\n        const memberFunction = transformFunctionLikeToExpression(\n          member,\n          /*location*/\n          member,\n          /*name*/\n          void 0,\n          container\n        );\n        const propertyName = visitNode(member.name, visitor, isPropertyName);\n        Debug2.assert(propertyName);\n        let e;\n        if (!isPrivateIdentifier(propertyName) && getUseDefineForClassFields(context.getCompilerOptions())) {\n          const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName;\n          e = factory2.createObjectDefinePropertyCall(receiver, name, factory2.createPropertyDescriptor({ value: memberFunction, enumerable: false, writable: true, configurable: true }));\n        } else {\n          const memberName = createMemberAccessForPropertyName(\n            factory2,\n            receiver,\n            propertyName,\n            /*location*/\n            member.name\n          );\n          e = factory2.createAssignment(memberName, memberFunction);\n        }\n        setEmitFlags(\n          memberFunction,\n          3072\n          /* NoComments */\n        );\n        setSourceMapRange(memberFunction, sourceMapRange);\n        const statement = setTextRange(\n          factory2.createExpressionStatement(e),\n          /*location*/\n          member\n        );\n        setOriginalNode(statement, member);\n        setCommentRange(statement, commentRange);\n        setEmitFlags(\n          statement,\n          96\n          /* NoSourceMap */\n        );\n        return statement;\n      }\n      function transformAccessorsToStatement(receiver, accessors, container) {\n        const statement = factory2.createExpressionStatement(transformAccessorsToExpression(\n          receiver,\n          accessors,\n          container,\n          /*startsOnNewLine*/\n          false\n        ));\n        setEmitFlags(\n          statement,\n          3072\n          /* NoComments */\n        );\n        setSourceMapRange(statement, getSourceMapRange(accessors.firstAccessor));\n        return statement;\n      }\n      function transformAccessorsToExpression(receiver, { firstAccessor, getAccessor, setAccessor }, container, startsOnNewLine) {\n        const target = setParent(setTextRange(factory2.cloneNode(receiver), receiver), receiver.parent);\n        setEmitFlags(\n          target,\n          3072 | 64\n          /* NoTrailingSourceMap */\n        );\n        setSourceMapRange(target, firstAccessor.name);\n        const visitedAccessorName = visitNode(firstAccessor.name, visitor, isPropertyName);\n        Debug2.assert(visitedAccessorName);\n        if (isPrivateIdentifier(visitedAccessorName)) {\n          return Debug2.failBadSyntaxKind(visitedAccessorName, \"Encountered unhandled private identifier while transforming ES2015.\");\n        }\n        const propertyName = createExpressionForPropertyName(factory2, visitedAccessorName);\n        setEmitFlags(\n          propertyName,\n          3072 | 32\n          /* NoLeadingSourceMap */\n        );\n        setSourceMapRange(propertyName, firstAccessor.name);\n        const properties = [];\n        if (getAccessor) {\n          const getterFunction = transformFunctionLikeToExpression(\n            getAccessor,\n            /*location*/\n            void 0,\n            /*name*/\n            void 0,\n            container\n          );\n          setSourceMapRange(getterFunction, getSourceMapRange(getAccessor));\n          setEmitFlags(\n            getterFunction,\n            1024\n            /* NoLeadingComments */\n          );\n          const getter = factory2.createPropertyAssignment(\"get\", getterFunction);\n          setCommentRange(getter, getCommentRange(getAccessor));\n          properties.push(getter);\n        }\n        if (setAccessor) {\n          const setterFunction = transformFunctionLikeToExpression(\n            setAccessor,\n            /*location*/\n            void 0,\n            /*name*/\n            void 0,\n            container\n          );\n          setSourceMapRange(setterFunction, getSourceMapRange(setAccessor));\n          setEmitFlags(\n            setterFunction,\n            1024\n            /* NoLeadingComments */\n          );\n          const setter = factory2.createPropertyAssignment(\"set\", setterFunction);\n          setCommentRange(setter, getCommentRange(setAccessor));\n          properties.push(setter);\n        }\n        properties.push(\n          factory2.createPropertyAssignment(\"enumerable\", getAccessor || setAccessor ? factory2.createFalse() : factory2.createTrue()),\n          factory2.createPropertyAssignment(\"configurable\", factory2.createTrue())\n        );\n        const call = factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Object\"), \"defineProperty\"),\n          /*typeArguments*/\n          void 0,\n          [\n            target,\n            propertyName,\n            factory2.createObjectLiteralExpression(\n              properties,\n              /*multiLine*/\n              true\n            )\n          ]\n        );\n        if (startsOnNewLine) {\n          startOnNewLine(call);\n        }\n        return call;\n      }\n      function visitArrowFunction(node) {\n        if (node.transformFlags & 16384 && !(hierarchyFacts & 16384)) {\n          hierarchyFacts |= 65536;\n        }\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const ancestorFacts = enterSubtree(\n          15232,\n          66\n          /* ArrowFunctionIncludes */\n        );\n        const func = factory2.createFunctionExpression(\n          /*modifiers*/\n          void 0,\n          /*asteriskToken*/\n          void 0,\n          /*name*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          visitParameterList(node.parameters, visitor, context),\n          /*type*/\n          void 0,\n          transformFunctionBody2(node)\n        );\n        setTextRange(func, node);\n        setOriginalNode(func, node);\n        setEmitFlags(\n          func,\n          16\n          /* CapturesThis */\n        );\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        convertedLoopState = savedConvertedLoopState;\n        return func;\n      }\n      function visitFunctionExpression(node) {\n        const ancestorFacts = getEmitFlags(node) & 524288 ? enterSubtree(\n          32662,\n          69\n          /* AsyncFunctionBodyIncludes */\n        ) : enterSubtree(\n          32670,\n          65\n          /* FunctionIncludes */\n        );\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const parameters = visitParameterList(node.parameters, visitor, context);\n        const body = transformFunctionBody2(node);\n        const name = hierarchyFacts & 32768 ? factory2.getLocalName(node) : node.name;\n        exitSubtree(\n          ancestorFacts,\n          98304,\n          0\n          /* None */\n        );\n        convertedLoopState = savedConvertedLoopState;\n        return factory2.updateFunctionExpression(\n          node,\n          /*modifiers*/\n          void 0,\n          node.asteriskToken,\n          name,\n          /*typeParameters*/\n          void 0,\n          parameters,\n          /*type*/\n          void 0,\n          body\n        );\n      }\n      function visitFunctionDeclaration(node) {\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const ancestorFacts = enterSubtree(\n          32670,\n          65\n          /* FunctionIncludes */\n        );\n        const parameters = visitParameterList(node.parameters, visitor, context);\n        const body = transformFunctionBody2(node);\n        const name = hierarchyFacts & 32768 ? factory2.getLocalName(node) : node.name;\n        exitSubtree(\n          ancestorFacts,\n          98304,\n          0\n          /* None */\n        );\n        convertedLoopState = savedConvertedLoopState;\n        return factory2.updateFunctionDeclaration(\n          node,\n          visitNodes2(node.modifiers, visitor, isModifier),\n          node.asteriskToken,\n          name,\n          /*typeParameters*/\n          void 0,\n          parameters,\n          /*type*/\n          void 0,\n          body\n        );\n      }\n      function transformFunctionLikeToExpression(node, location, name, container) {\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const ancestorFacts = container && isClassLike(container) && !isStatic(node) ? enterSubtree(\n          32670,\n          65 | 8\n          /* NonStaticClassElement */\n        ) : enterSubtree(\n          32670,\n          65\n          /* FunctionIncludes */\n        );\n        const parameters = visitParameterList(node.parameters, visitor, context);\n        const body = transformFunctionBody2(node);\n        if (hierarchyFacts & 32768 && !name && (node.kind === 259 || node.kind === 215)) {\n          name = factory2.getGeneratedNameForNode(node);\n        }\n        exitSubtree(\n          ancestorFacts,\n          98304,\n          0\n          /* None */\n        );\n        convertedLoopState = savedConvertedLoopState;\n        return setOriginalNode(\n          setTextRange(\n            factory2.createFunctionExpression(\n              /*modifiers*/\n              void 0,\n              node.asteriskToken,\n              name,\n              /*typeParameters*/\n              void 0,\n              parameters,\n              /*type*/\n              void 0,\n              body\n            ),\n            location\n          ),\n          /*original*/\n          node\n        );\n      }\n      function transformFunctionBody2(node) {\n        let multiLine = false;\n        let singleLine = false;\n        let statementsLocation;\n        let closeBraceLocation;\n        const prologue = [];\n        const statements = [];\n        const body = node.body;\n        let statementOffset;\n        resumeLexicalEnvironment();\n        if (isBlock(body)) {\n          statementOffset = factory2.copyStandardPrologue(\n            body.statements,\n            prologue,\n            0,\n            /*ensureUseStrict*/\n            false\n          );\n          statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedFunction);\n          statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedVariableStatement);\n        }\n        multiLine = addDefaultValueAssignmentsIfNeeded2(statements, node) || multiLine;\n        multiLine = addRestParameterIfNeeded(\n          statements,\n          node,\n          /*inConstructorWithSynthesizedSuper*/\n          false\n        ) || multiLine;\n        if (isBlock(body)) {\n          statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor);\n          statementsLocation = body.statements;\n          addRange(statements, visitNodes2(body.statements, visitor, isStatement, statementOffset));\n          if (!multiLine && body.multiLine) {\n            multiLine = true;\n          }\n        } else {\n          Debug2.assert(\n            node.kind === 216\n            /* ArrowFunction */\n          );\n          statementsLocation = moveRangeEnd(body, -1);\n          const equalsGreaterThanToken = node.equalsGreaterThanToken;\n          if (!nodeIsSynthesized(equalsGreaterThanToken) && !nodeIsSynthesized(body)) {\n            if (rangeEndIsOnSameLineAsRangeStart(equalsGreaterThanToken, body, currentSourceFile)) {\n              singleLine = true;\n            } else {\n              multiLine = true;\n            }\n          }\n          const expression = visitNode(body, visitor, isExpression);\n          const returnStatement = factory2.createReturnStatement(expression);\n          setTextRange(returnStatement, body);\n          moveSyntheticComments(returnStatement, body);\n          setEmitFlags(\n            returnStatement,\n            768 | 64 | 2048\n            /* NoTrailingComments */\n          );\n          statements.push(returnStatement);\n          closeBraceLocation = body;\n        }\n        factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment());\n        insertCaptureNewTargetIfNeeded(\n          prologue,\n          node,\n          /*copyOnWrite*/\n          false\n        );\n        insertCaptureThisForNodeIfNeeded(prologue, node);\n        if (some(prologue)) {\n          multiLine = true;\n        }\n        statements.unshift(...prologue);\n        if (isBlock(body) && arrayIsEqualTo(statements, body.statements)) {\n          return body;\n        }\n        const block = factory2.createBlock(setTextRange(factory2.createNodeArray(statements), statementsLocation), multiLine);\n        setTextRange(block, node.body);\n        if (!multiLine && singleLine) {\n          setEmitFlags(\n            block,\n            1\n            /* SingleLine */\n          );\n        }\n        if (closeBraceLocation) {\n          setTokenSourceMapRange(block, 19, closeBraceLocation);\n        }\n        setOriginalNode(block, node.body);\n        return block;\n      }\n      function visitBlock(node, isFunctionBody2) {\n        if (isFunctionBody2) {\n          return visitEachChild(node, visitor, context);\n        }\n        const ancestorFacts = hierarchyFacts & 256 ? enterSubtree(\n          7104,\n          512\n          /* IterationStatementBlockIncludes */\n        ) : enterSubtree(\n          6976,\n          128\n          /* BlockIncludes */\n        );\n        const updated = visitEachChild(node, visitor, context);\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return updated;\n      }\n      function visitExpressionStatement(node) {\n        return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n      }\n      function visitParenthesizedExpression(node, expressionResultIsUnused2) {\n        return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context);\n      }\n      function visitBinaryExpression(node, expressionResultIsUnused2) {\n        if (isDestructuringAssignment(node)) {\n          return flattenDestructuringAssignment(\n            node,\n            visitor,\n            context,\n            0,\n            !expressionResultIsUnused2\n          );\n        }\n        if (node.operatorToken.kind === 27) {\n          return factory2.updateBinaryExpression(\n            node,\n            Debug2.checkDefined(visitNode(node.left, visitorWithUnusedExpressionResult, isExpression)),\n            node.operatorToken,\n            Debug2.checkDefined(visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression))\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCommaListExpression(node, expressionResultIsUnused2) {\n        if (expressionResultIsUnused2) {\n          return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n        }\n        let result;\n        for (let i = 0; i < node.elements.length; i++) {\n          const element = node.elements[i];\n          const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression);\n          if (result || visited !== element) {\n            result || (result = node.elements.slice(0, i));\n            Debug2.assert(visited);\n            result.push(visited);\n          }\n        }\n        const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements;\n        return factory2.updateCommaListExpression(node, elements);\n      }\n      function isVariableStatementOfTypeScriptClassWrapper(node) {\n        return node.declarationList.declarations.length === 1 && !!node.declarationList.declarations[0].initializer && !!(getInternalEmitFlags(node.declarationList.declarations[0].initializer) & 1);\n      }\n      function visitVariableStatement(node) {\n        const ancestorFacts = enterSubtree(\n          0,\n          hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          ) ? 32 : 0\n          /* None */\n        );\n        let updated;\n        if (convertedLoopState && (node.declarationList.flags & 3) === 0 && !isVariableStatementOfTypeScriptClassWrapper(node)) {\n          let assignments;\n          for (const decl of node.declarationList.declarations) {\n            hoistVariableDeclarationDeclaredInConvertedLoop(convertedLoopState, decl);\n            if (decl.initializer) {\n              let assignment;\n              if (isBindingPattern(decl.name)) {\n                assignment = flattenDestructuringAssignment(\n                  decl,\n                  visitor,\n                  context,\n                  0\n                  /* All */\n                );\n              } else {\n                assignment = factory2.createBinaryExpression(decl.name, 63, Debug2.checkDefined(visitNode(decl.initializer, visitor, isExpression)));\n                setTextRange(assignment, decl);\n              }\n              assignments = append(assignments, assignment);\n            }\n          }\n          if (assignments) {\n            updated = setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(assignments)), node);\n          } else {\n            updated = void 0;\n          }\n        } else {\n          updated = visitEachChild(node, visitor, context);\n        }\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return updated;\n      }\n      function visitVariableDeclarationList(node) {\n        if (node.flags & 3 || node.transformFlags & 524288) {\n          if (node.flags & 3) {\n            enableSubstitutionsForBlockScopedBindings();\n          }\n          const declarations = visitNodes2(node.declarations, node.flags & 1 ? visitVariableDeclarationInLetDeclarationList : visitVariableDeclaration, isVariableDeclaration);\n          const declarationList = factory2.createVariableDeclarationList(declarations);\n          setOriginalNode(declarationList, node);\n          setTextRange(declarationList, node);\n          setCommentRange(declarationList, node);\n          if (node.transformFlags & 524288 && (isBindingPattern(node.declarations[0].name) || isBindingPattern(last(node.declarations).name))) {\n            setSourceMapRange(declarationList, getRangeUnion(declarations));\n          }\n          return declarationList;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function getRangeUnion(declarations) {\n        let pos = -1, end = -1;\n        for (const node of declarations) {\n          pos = pos === -1 ? node.pos : node.pos === -1 ? pos : Math.min(pos, node.pos);\n          end = Math.max(end, node.end);\n        }\n        return createRange(pos, end);\n      }\n      function shouldEmitExplicitInitializerForLetDeclaration(node) {\n        const flags = resolver.getNodeCheckFlags(node);\n        const isCapturedInFunction = flags & 16384;\n        const isDeclaredInLoop = flags & 32768;\n        const emittedAsTopLevel = (hierarchyFacts & 64) !== 0 || isCapturedInFunction && isDeclaredInLoop && (hierarchyFacts & 512) !== 0;\n        const emitExplicitInitializer = !emittedAsTopLevel && (hierarchyFacts & 4096) === 0 && (!resolver.isDeclarationWithCollidingName(node) || isDeclaredInLoop && !isCapturedInFunction && (hierarchyFacts & (2048 | 4096)) === 0);\n        return emitExplicitInitializer;\n      }\n      function visitVariableDeclarationInLetDeclarationList(node) {\n        const name = node.name;\n        if (isBindingPattern(name)) {\n          return visitVariableDeclaration(node);\n        }\n        if (!node.initializer && shouldEmitExplicitInitializerForLetDeclaration(node)) {\n          return factory2.updateVariableDeclaration(\n            node,\n            node.name,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            factory2.createVoidZero()\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitVariableDeclaration(node) {\n        const ancestorFacts = enterSubtree(\n          32,\n          0\n          /* None */\n        );\n        let updated;\n        if (isBindingPattern(node.name)) {\n          updated = flattenDestructuringBinding(\n            node,\n            visitor,\n            context,\n            0,\n            /*value*/\n            void 0,\n            (ancestorFacts & 32) !== 0\n          );\n        } else {\n          updated = visitEachChild(node, visitor, context);\n        }\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return updated;\n      }\n      function recordLabel(node) {\n        convertedLoopState.labels.set(idText(node.label), true);\n      }\n      function resetLabel(node) {\n        convertedLoopState.labels.set(idText(node.label), false);\n      }\n      function visitLabeledStatement(node) {\n        if (convertedLoopState && !convertedLoopState.labels) {\n          convertedLoopState.labels = /* @__PURE__ */ new Map();\n        }\n        const statement = unwrapInnermostStatementOfLabel(node, convertedLoopState && recordLabel);\n        return isIterationStatement(\n          statement,\n          /*lookInLabeledStatements*/\n          false\n        ) ? visitIterationStatement(\n          statement,\n          /*outermostLabeledStatement*/\n          node\n        ) : factory2.restoreEnclosingLabel(Debug2.checkDefined(visitNode(statement, visitor, isStatement, factory2.liftToBlock)), node, convertedLoopState && resetLabel);\n      }\n      function visitIterationStatement(node, outermostLabeledStatement) {\n        switch (node.kind) {\n          case 243:\n          case 244:\n            return visitDoOrWhileStatement(node, outermostLabeledStatement);\n          case 245:\n            return visitForStatement(node, outermostLabeledStatement);\n          case 246:\n            return visitForInStatement(node, outermostLabeledStatement);\n          case 247:\n            return visitForOfStatement(node, outermostLabeledStatement);\n        }\n      }\n      function visitIterationStatementWithFacts(excludeFacts, includeFacts, node, outermostLabeledStatement, convert) {\n        const ancestorFacts = enterSubtree(excludeFacts, includeFacts);\n        const updated = convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert);\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return updated;\n      }\n      function visitDoOrWhileStatement(node, outermostLabeledStatement) {\n        return visitIterationStatementWithFacts(\n          0,\n          1280,\n          node,\n          outermostLabeledStatement\n        );\n      }\n      function visitForStatement(node, outermostLabeledStatement) {\n        return visitIterationStatementWithFacts(\n          5056,\n          3328,\n          node,\n          outermostLabeledStatement\n        );\n      }\n      function visitEachChildOfForStatement2(node) {\n        return factory2.updateForStatement(\n          node,\n          visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression),\n          Debug2.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock))\n        );\n      }\n      function visitForInStatement(node, outermostLabeledStatement) {\n        return visitIterationStatementWithFacts(\n          3008,\n          5376,\n          node,\n          outermostLabeledStatement\n        );\n      }\n      function visitForOfStatement(node, outermostLabeledStatement) {\n        return visitIterationStatementWithFacts(\n          3008,\n          5376,\n          node,\n          outermostLabeledStatement,\n          compilerOptions.downlevelIteration ? convertForOfStatementForIterable : convertForOfStatementForArray\n        );\n      }\n      function convertForOfStatementHead(node, boundValue, convertedLoopBodyStatements) {\n        const statements = [];\n        const initializer = node.initializer;\n        if (isVariableDeclarationList(initializer)) {\n          if (node.initializer.flags & 3) {\n            enableSubstitutionsForBlockScopedBindings();\n          }\n          const firstOriginalDeclaration = firstOrUndefined(initializer.declarations);\n          if (firstOriginalDeclaration && isBindingPattern(firstOriginalDeclaration.name)) {\n            const declarations = flattenDestructuringBinding(\n              firstOriginalDeclaration,\n              visitor,\n              context,\n              0,\n              boundValue\n            );\n            const declarationList = setTextRange(factory2.createVariableDeclarationList(declarations), node.initializer);\n            setOriginalNode(declarationList, node.initializer);\n            setSourceMapRange(declarationList, createRange(declarations[0].pos, last(declarations).end));\n            statements.push(\n              factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                declarationList\n              )\n            );\n          } else {\n            statements.push(\n              setTextRange(\n                factory2.createVariableStatement(\n                  /*modifiers*/\n                  void 0,\n                  setOriginalNode(\n                    setTextRange(\n                      factory2.createVariableDeclarationList([\n                        factory2.createVariableDeclaration(\n                          firstOriginalDeclaration ? firstOriginalDeclaration.name : factory2.createTempVariable(\n                            /*recordTempVariable*/\n                            void 0\n                          ),\n                          /*exclamationToken*/\n                          void 0,\n                          /*type*/\n                          void 0,\n                          boundValue\n                        )\n                      ]),\n                      moveRangePos(initializer, -1)\n                    ),\n                    initializer\n                  )\n                ),\n                moveRangeEnd(initializer, -1)\n              )\n            );\n          }\n        } else {\n          const assignment = factory2.createAssignment(initializer, boundValue);\n          if (isDestructuringAssignment(assignment)) {\n            statements.push(factory2.createExpressionStatement(visitBinaryExpression(\n              assignment,\n              /*expressionResultIsUnused*/\n              true\n            )));\n          } else {\n            setTextRangeEnd(assignment, initializer.end);\n            statements.push(setTextRange(factory2.createExpressionStatement(Debug2.checkDefined(visitNode(assignment, visitor, isExpression))), moveRangeEnd(initializer, -1)));\n          }\n        }\n        if (convertedLoopBodyStatements) {\n          return createSyntheticBlockForConvertedStatements(addRange(statements, convertedLoopBodyStatements));\n        } else {\n          const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock);\n          Debug2.assert(statement);\n          if (isBlock(statement)) {\n            return factory2.updateBlock(statement, setTextRange(factory2.createNodeArray(concatenate(statements, statement.statements)), statement.statements));\n          } else {\n            statements.push(statement);\n            return createSyntheticBlockForConvertedStatements(statements);\n          }\n        }\n      }\n      function createSyntheticBlockForConvertedStatements(statements) {\n        return setEmitFlags(\n          factory2.createBlock(\n            factory2.createNodeArray(statements),\n            /*multiLine*/\n            true\n          ),\n          96 | 768\n          /* NoTokenSourceMaps */\n        );\n      }\n      function convertForOfStatementForArray(node, outermostLabeledStatement, convertedLoopBodyStatements) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        Debug2.assert(expression);\n        const counter = factory2.createLoopVariable();\n        const rhsReference = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        setEmitFlags(expression, 96 | getEmitFlags(expression));\n        const forStatement = setTextRange(\n          factory2.createForStatement(\n            /*initializer*/\n            setEmitFlags(\n              setTextRange(\n                factory2.createVariableDeclarationList([\n                  setTextRange(factory2.createVariableDeclaration(\n                    counter,\n                    /*exclamationToken*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    factory2.createNumericLiteral(0)\n                  ), moveRangePos(node.expression, -1)),\n                  setTextRange(factory2.createVariableDeclaration(\n                    rhsReference,\n                    /*exclamationToken*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    expression\n                  ), node.expression)\n                ]),\n                node.expression\n              ),\n              4194304\n              /* NoHoisting */\n            ),\n            /*condition*/\n            setTextRange(\n              factory2.createLessThan(\n                counter,\n                factory2.createPropertyAccessExpression(rhsReference, \"length\")\n              ),\n              node.expression\n            ),\n            /*incrementor*/\n            setTextRange(factory2.createPostfixIncrement(counter), node.expression),\n            /*statement*/\n            convertForOfStatementHead(\n              node,\n              factory2.createElementAccessExpression(rhsReference, counter),\n              convertedLoopBodyStatements\n            )\n          ),\n          /*location*/\n          node\n        );\n        setEmitFlags(\n          forStatement,\n          512\n          /* NoTokenTrailingSourceMaps */\n        );\n        setTextRange(forStatement, node);\n        return factory2.restoreEnclosingLabel(forStatement, outermostLabeledStatement, convertedLoopState && resetLabel);\n      }\n      function convertForOfStatementForIterable(node, outermostLabeledStatement, convertedLoopBodyStatements, ancestorFacts) {\n        const expression = visitNode(node.expression, visitor, isExpression);\n        Debug2.assert(expression);\n        const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const errorRecord = factory2.createUniqueName(\"e\");\n        const catchVariable = factory2.getGeneratedNameForNode(errorRecord);\n        const returnMethod = factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        const values = setTextRange(emitHelpers().createValuesHelper(expression), node.expression);\n        const next = factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(iterator, \"next\"),\n          /*typeArguments*/\n          void 0,\n          []\n        );\n        hoistVariableDeclaration(errorRecord);\n        hoistVariableDeclaration(returnMethod);\n        const initializer = ancestorFacts & 1024 ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), values]) : values;\n        const forStatement = setEmitFlags(\n          setTextRange(\n            factory2.createForStatement(\n              /*initializer*/\n              setEmitFlags(\n                setTextRange(\n                  factory2.createVariableDeclarationList([\n                    setTextRange(factory2.createVariableDeclaration(\n                      iterator,\n                      /*exclamationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      initializer\n                    ), node.expression),\n                    factory2.createVariableDeclaration(\n                      result,\n                      /*exclamationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      next\n                    )\n                  ]),\n                  node.expression\n                ),\n                4194304\n                /* NoHoisting */\n              ),\n              /*condition*/\n              factory2.createLogicalNot(factory2.createPropertyAccessExpression(result, \"done\")),\n              /*incrementor*/\n              factory2.createAssignment(result, next),\n              /*statement*/\n              convertForOfStatementHead(\n                node,\n                factory2.createPropertyAccessExpression(result, \"value\"),\n                convertedLoopBodyStatements\n              )\n            ),\n            /*location*/\n            node\n          ),\n          512\n          /* NoTokenTrailingSourceMaps */\n        );\n        return factory2.createTryStatement(\n          factory2.createBlock([\n            factory2.restoreEnclosingLabel(\n              forStatement,\n              outermostLabeledStatement,\n              convertedLoopState && resetLabel\n            )\n          ]),\n          factory2.createCatchClause(\n            factory2.createVariableDeclaration(catchVariable),\n            setEmitFlags(\n              factory2.createBlock([\n                factory2.createExpressionStatement(\n                  factory2.createAssignment(\n                    errorRecord,\n                    factory2.createObjectLiteralExpression([\n                      factory2.createPropertyAssignment(\"error\", catchVariable)\n                    ])\n                  )\n                )\n              ]),\n              1\n              /* SingleLine */\n            )\n          ),\n          factory2.createBlock([\n            factory2.createTryStatement(\n              /*tryBlock*/\n              factory2.createBlock([\n                setEmitFlags(\n                  factory2.createIfStatement(\n                    factory2.createLogicalAnd(\n                      factory2.createLogicalAnd(\n                        result,\n                        factory2.createLogicalNot(\n                          factory2.createPropertyAccessExpression(result, \"done\")\n                        )\n                      ),\n                      factory2.createAssignment(\n                        returnMethod,\n                        factory2.createPropertyAccessExpression(iterator, \"return\")\n                      )\n                    ),\n                    factory2.createExpressionStatement(\n                      factory2.createFunctionCallCall(returnMethod, iterator, [])\n                    )\n                  ),\n                  1\n                  /* SingleLine */\n                )\n              ]),\n              /*catchClause*/\n              void 0,\n              /*finallyBlock*/\n              setEmitFlags(\n                factory2.createBlock([\n                  setEmitFlags(\n                    factory2.createIfStatement(\n                      errorRecord,\n                      factory2.createThrowStatement(\n                        factory2.createPropertyAccessExpression(errorRecord, \"error\")\n                      )\n                    ),\n                    1\n                    /* SingleLine */\n                  )\n                ]),\n                1\n                /* SingleLine */\n              )\n            )\n          ])\n        );\n      }\n      function visitObjectLiteralExpression(node) {\n        const properties = node.properties;\n        let numInitialProperties = -1, hasComputed = false;\n        for (let i = 0; i < properties.length; i++) {\n          const property = properties[i];\n          if (property.transformFlags & 1048576 && hierarchyFacts & 4 || (hasComputed = Debug2.checkDefined(property.name).kind === 164)) {\n            numInitialProperties = i;\n            break;\n          }\n        }\n        if (numInitialProperties < 0) {\n          return visitEachChild(node, visitor, context);\n        }\n        const temp = factory2.createTempVariable(hoistVariableDeclaration);\n        const expressions = [];\n        const assignment = factory2.createAssignment(\n          temp,\n          setEmitFlags(\n            factory2.createObjectLiteralExpression(\n              visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties),\n              node.multiLine\n            ),\n            hasComputed ? 131072 : 0\n          )\n        );\n        if (node.multiLine) {\n          startOnNewLine(assignment);\n        }\n        expressions.push(assignment);\n        addObjectLiteralMembers(expressions, node, temp, numInitialProperties);\n        expressions.push(node.multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp);\n        return factory2.inlineExpressions(expressions);\n      }\n      function shouldConvertPartOfIterationStatement(node) {\n        return (resolver.getNodeCheckFlags(node) & 8192) !== 0;\n      }\n      function shouldConvertInitializerOfForStatement(node) {\n        return isForStatement(node) && !!node.initializer && shouldConvertPartOfIterationStatement(node.initializer);\n      }\n      function shouldConvertConditionOfForStatement(node) {\n        return isForStatement(node) && !!node.condition && shouldConvertPartOfIterationStatement(node.condition);\n      }\n      function shouldConvertIncrementorOfForStatement(node) {\n        return isForStatement(node) && !!node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor);\n      }\n      function shouldConvertIterationStatement(node) {\n        return shouldConvertBodyOfIterationStatement(node) || shouldConvertInitializerOfForStatement(node);\n      }\n      function shouldConvertBodyOfIterationStatement(node) {\n        return (resolver.getNodeCheckFlags(node) & 4096) !== 0;\n      }\n      function hoistVariableDeclarationDeclaredInConvertedLoop(state, node) {\n        if (!state.hoistedLocalVariables) {\n          state.hoistedLocalVariables = [];\n        }\n        visit(node.name);\n        function visit(node2) {\n          if (node2.kind === 79) {\n            state.hoistedLocalVariables.push(node2);\n          } else {\n            for (const element of node2.elements) {\n              if (!isOmittedExpression(element)) {\n                visit(element.name);\n              }\n            }\n          }\n        }\n      }\n      function convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert) {\n        if (!shouldConvertIterationStatement(node)) {\n          let saveAllowedNonLabeledJumps;\n          if (convertedLoopState) {\n            saveAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps;\n            convertedLoopState.allowedNonLabeledJumps = 2 | 4;\n          }\n          const result = convert ? convert(\n            node,\n            outermostLabeledStatement,\n            /*convertedLoopBodyStatements*/\n            void 0,\n            ancestorFacts\n          ) : factory2.restoreEnclosingLabel(\n            isForStatement(node) ? visitEachChildOfForStatement2(node) : visitEachChild(node, visitor, context),\n            outermostLabeledStatement,\n            convertedLoopState && resetLabel\n          );\n          if (convertedLoopState) {\n            convertedLoopState.allowedNonLabeledJumps = saveAllowedNonLabeledJumps;\n          }\n          return result;\n        }\n        const currentState = createConvertedLoopState(node);\n        const statements = [];\n        const outerConvertedLoopState = convertedLoopState;\n        convertedLoopState = currentState;\n        const initializerFunction = shouldConvertInitializerOfForStatement(node) ? createFunctionForInitializerOfForStatement(node, currentState) : void 0;\n        const bodyFunction = shouldConvertBodyOfIterationStatement(node) ? createFunctionForBodyOfIterationStatement(node, currentState, outerConvertedLoopState) : void 0;\n        convertedLoopState = outerConvertedLoopState;\n        if (initializerFunction)\n          statements.push(initializerFunction.functionDeclaration);\n        if (bodyFunction)\n          statements.push(bodyFunction.functionDeclaration);\n        addExtraDeclarationsForConvertedLoop(statements, currentState, outerConvertedLoopState);\n        if (initializerFunction) {\n          statements.push(generateCallToConvertedLoopInitializer(initializerFunction.functionName, initializerFunction.containsYield));\n        }\n        let loop;\n        if (bodyFunction) {\n          if (convert) {\n            loop = convert(node, outermostLabeledStatement, bodyFunction.part, ancestorFacts);\n          } else {\n            const clone2 = convertIterationStatementCore(node, initializerFunction, factory2.createBlock(\n              bodyFunction.part,\n              /*multiLine*/\n              true\n            ));\n            loop = factory2.restoreEnclosingLabel(clone2, outermostLabeledStatement, convertedLoopState && resetLabel);\n          }\n        } else {\n          const clone2 = convertIterationStatementCore(node, initializerFunction, Debug2.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)));\n          loop = factory2.restoreEnclosingLabel(clone2, outermostLabeledStatement, convertedLoopState && resetLabel);\n        }\n        statements.push(loop);\n        return statements;\n      }\n      function convertIterationStatementCore(node, initializerFunction, convertedLoopBody) {\n        switch (node.kind) {\n          case 245:\n            return convertForStatement(node, initializerFunction, convertedLoopBody);\n          case 246:\n            return convertForInStatement(node, convertedLoopBody);\n          case 247:\n            return convertForOfStatement(node, convertedLoopBody);\n          case 243:\n            return convertDoStatement(node, convertedLoopBody);\n          case 244:\n            return convertWhileStatement(node, convertedLoopBody);\n          default:\n            return Debug2.failBadSyntaxKind(node, \"IterationStatement expected\");\n        }\n      }\n      function convertForStatement(node, initializerFunction, convertedLoopBody) {\n        const shouldConvertCondition = node.condition && shouldConvertPartOfIterationStatement(node.condition);\n        const shouldConvertIncrementor = shouldConvertCondition || node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor);\n        return factory2.updateForStatement(\n          node,\n          visitNode(initializerFunction ? initializerFunction.part : node.initializer, visitorWithUnusedExpressionResult, isForInitializer),\n          visitNode(shouldConvertCondition ? void 0 : node.condition, visitor, isExpression),\n          visitNode(shouldConvertIncrementor ? void 0 : node.incrementor, visitorWithUnusedExpressionResult, isExpression),\n          convertedLoopBody\n        );\n      }\n      function convertForOfStatement(node, convertedLoopBody) {\n        return factory2.updateForOfStatement(\n          node,\n          /*awaitModifier*/\n          void 0,\n          Debug2.checkDefined(visitNode(node.initializer, visitor, isForInitializer)),\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          convertedLoopBody\n        );\n      }\n      function convertForInStatement(node, convertedLoopBody) {\n        return factory2.updateForInStatement(\n          node,\n          Debug2.checkDefined(visitNode(node.initializer, visitor, isForInitializer)),\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          convertedLoopBody\n        );\n      }\n      function convertDoStatement(node, convertedLoopBody) {\n        return factory2.updateDoStatement(\n          node,\n          convertedLoopBody,\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression))\n        );\n      }\n      function convertWhileStatement(node, convertedLoopBody) {\n        return factory2.updateWhileStatement(\n          node,\n          Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n          convertedLoopBody\n        );\n      }\n      function createConvertedLoopState(node) {\n        let loopInitializer;\n        switch (node.kind) {\n          case 245:\n          case 246:\n          case 247:\n            const initializer = node.initializer;\n            if (initializer && initializer.kind === 258) {\n              loopInitializer = initializer;\n            }\n            break;\n        }\n        const loopParameters = [];\n        const loopOutParameters = [];\n        if (loopInitializer && getCombinedNodeFlags(loopInitializer) & 3) {\n          const hasCapturedBindingsInForHead = shouldConvertInitializerOfForStatement(node) || shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node);\n          for (const decl of loopInitializer.declarations) {\n            processLoopVariableDeclaration(node, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead);\n          }\n        }\n        const currentState = { loopParameters, loopOutParameters };\n        if (convertedLoopState) {\n          if (convertedLoopState.argumentsName) {\n            currentState.argumentsName = convertedLoopState.argumentsName;\n          }\n          if (convertedLoopState.thisName) {\n            currentState.thisName = convertedLoopState.thisName;\n          }\n          if (convertedLoopState.hoistedLocalVariables) {\n            currentState.hoistedLocalVariables = convertedLoopState.hoistedLocalVariables;\n          }\n        }\n        return currentState;\n      }\n      function addExtraDeclarationsForConvertedLoop(statements, state, outerState) {\n        let extraVariableDeclarations;\n        if (state.argumentsName) {\n          if (outerState) {\n            outerState.argumentsName = state.argumentsName;\n          } else {\n            (extraVariableDeclarations || (extraVariableDeclarations = [])).push(\n              factory2.createVariableDeclaration(\n                state.argumentsName,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                factory2.createIdentifier(\"arguments\")\n              )\n            );\n          }\n        }\n        if (state.thisName) {\n          if (outerState) {\n            outerState.thisName = state.thisName;\n          } else {\n            (extraVariableDeclarations || (extraVariableDeclarations = [])).push(\n              factory2.createVariableDeclaration(\n                state.thisName,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                factory2.createIdentifier(\"this\")\n              )\n            );\n          }\n        }\n        if (state.hoistedLocalVariables) {\n          if (outerState) {\n            outerState.hoistedLocalVariables = state.hoistedLocalVariables;\n          } else {\n            if (!extraVariableDeclarations) {\n              extraVariableDeclarations = [];\n            }\n            for (const identifier of state.hoistedLocalVariables) {\n              extraVariableDeclarations.push(factory2.createVariableDeclaration(identifier));\n            }\n          }\n        }\n        if (state.loopOutParameters.length) {\n          if (!extraVariableDeclarations) {\n            extraVariableDeclarations = [];\n          }\n          for (const outParam of state.loopOutParameters) {\n            extraVariableDeclarations.push(factory2.createVariableDeclaration(outParam.outParamName));\n          }\n        }\n        if (state.conditionVariable) {\n          if (!extraVariableDeclarations) {\n            extraVariableDeclarations = [];\n          }\n          extraVariableDeclarations.push(factory2.createVariableDeclaration(\n            state.conditionVariable,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            factory2.createFalse()\n          ));\n        }\n        if (extraVariableDeclarations) {\n          statements.push(factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList(extraVariableDeclarations)\n          ));\n        }\n      }\n      function createOutVariable(p) {\n        return factory2.createVariableDeclaration(\n          p.originalName,\n          /*exclamationToken*/\n          void 0,\n          /*type*/\n          void 0,\n          p.outParamName\n        );\n      }\n      function createFunctionForInitializerOfForStatement(node, currentState) {\n        const functionName = factory2.createUniqueName(\"_loop_init\");\n        const containsYield = (node.initializer.transformFlags & 1048576) !== 0;\n        let emitFlags = 0;\n        if (currentState.containsLexicalThis)\n          emitFlags |= 16;\n        if (containsYield && hierarchyFacts & 4)\n          emitFlags |= 524288;\n        const statements = [];\n        statements.push(factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          node.initializer\n        ));\n        copyOutParameters(currentState.loopOutParameters, 2, 1, statements);\n        const functionDeclaration = factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          setEmitFlags(\n            factory2.createVariableDeclarationList([\n              factory2.createVariableDeclaration(\n                functionName,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                setEmitFlags(\n                  factory2.createFunctionExpression(\n                    /*modifiers*/\n                    void 0,\n                    containsYield ? factory2.createToken(\n                      41\n                      /* AsteriskToken */\n                    ) : void 0,\n                    /*name*/\n                    void 0,\n                    /*typeParameters*/\n                    void 0,\n                    /*parameters*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    Debug2.checkDefined(visitNode(\n                      factory2.createBlock(\n                        statements,\n                        /*multiLine*/\n                        true\n                      ),\n                      visitor,\n                      isBlock\n                    ))\n                  ),\n                  emitFlags\n                )\n              )\n            ]),\n            4194304\n            /* NoHoisting */\n          )\n        );\n        const part = factory2.createVariableDeclarationList(map(currentState.loopOutParameters, createOutVariable));\n        return { functionName, containsYield, functionDeclaration, part };\n      }\n      function createFunctionForBodyOfIterationStatement(node, currentState, outerState) {\n        const functionName = factory2.createUniqueName(\"_loop\");\n        startLexicalEnvironment();\n        const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock);\n        const lexicalEnvironment = endLexicalEnvironment();\n        const statements = [];\n        if (shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node)) {\n          currentState.conditionVariable = factory2.createUniqueName(\"inc\");\n          if (node.incrementor) {\n            statements.push(factory2.createIfStatement(\n              currentState.conditionVariable,\n              factory2.createExpressionStatement(Debug2.checkDefined(visitNode(node.incrementor, visitor, isExpression))),\n              factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue()))\n            ));\n          } else {\n            statements.push(factory2.createIfStatement(\n              factory2.createLogicalNot(currentState.conditionVariable),\n              factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue()))\n            ));\n          }\n          if (shouldConvertConditionOfForStatement(node)) {\n            statements.push(factory2.createIfStatement(\n              factory2.createPrefixUnaryExpression(53, Debug2.checkDefined(visitNode(node.condition, visitor, isExpression))),\n              Debug2.checkDefined(visitNode(factory2.createBreakStatement(), visitor, isStatement))\n            ));\n          }\n        }\n        Debug2.assert(statement);\n        if (isBlock(statement)) {\n          addRange(statements, statement.statements);\n        } else {\n          statements.push(statement);\n        }\n        copyOutParameters(currentState.loopOutParameters, 1, 1, statements);\n        insertStatementsAfterStandardPrologue(statements, lexicalEnvironment);\n        const loopBody = factory2.createBlock(\n          statements,\n          /*multiLine*/\n          true\n        );\n        if (isBlock(statement))\n          setOriginalNode(loopBody, statement);\n        const containsYield = (node.statement.transformFlags & 1048576) !== 0;\n        let emitFlags = 1048576;\n        if (currentState.containsLexicalThis)\n          emitFlags |= 16;\n        if (containsYield && (hierarchyFacts & 4) !== 0)\n          emitFlags |= 524288;\n        const functionDeclaration = factory2.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          setEmitFlags(\n            factory2.createVariableDeclarationList(\n              [\n                factory2.createVariableDeclaration(\n                  functionName,\n                  /*exclamationToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  setEmitFlags(\n                    factory2.createFunctionExpression(\n                      /*modifiers*/\n                      void 0,\n                      containsYield ? factory2.createToken(\n                        41\n                        /* AsteriskToken */\n                      ) : void 0,\n                      /*name*/\n                      void 0,\n                      /*typeParameters*/\n                      void 0,\n                      currentState.loopParameters,\n                      /*type*/\n                      void 0,\n                      loopBody\n                    ),\n                    emitFlags\n                  )\n                )\n              ]\n            ),\n            4194304\n            /* NoHoisting */\n          )\n        );\n        const part = generateCallToConvertedLoop(functionName, currentState, outerState, containsYield);\n        return { functionName, containsYield, functionDeclaration, part };\n      }\n      function copyOutParameter(outParam, copyDirection) {\n        const source = copyDirection === 0 ? outParam.outParamName : outParam.originalName;\n        const target = copyDirection === 0 ? outParam.originalName : outParam.outParamName;\n        return factory2.createBinaryExpression(target, 63, source);\n      }\n      function copyOutParameters(outParams, partFlags, copyDirection, statements) {\n        for (const outParam of outParams) {\n          if (outParam.flags & partFlags) {\n            statements.push(factory2.createExpressionStatement(copyOutParameter(outParam, copyDirection)));\n          }\n        }\n      }\n      function generateCallToConvertedLoopInitializer(initFunctionExpressionName, containsYield) {\n        const call = factory2.createCallExpression(\n          initFunctionExpressionName,\n          /*typeArguments*/\n          void 0,\n          []\n        );\n        const callResult = containsYield ? factory2.createYieldExpression(\n          factory2.createToken(\n            41\n            /* AsteriskToken */\n          ),\n          setEmitFlags(\n            call,\n            16777216\n            /* Iterator */\n          )\n        ) : call;\n        return factory2.createExpressionStatement(callResult);\n      }\n      function generateCallToConvertedLoop(loopFunctionExpressionName, state, outerState, containsYield) {\n        const statements = [];\n        const isSimpleLoop = !(state.nonLocalJumps & ~4) && !state.labeledNonLocalBreaks && !state.labeledNonLocalContinues;\n        const call = factory2.createCallExpression(\n          loopFunctionExpressionName,\n          /*typeArguments*/\n          void 0,\n          map(state.loopParameters, (p) => p.name)\n        );\n        const callResult = containsYield ? factory2.createYieldExpression(\n          factory2.createToken(\n            41\n            /* AsteriskToken */\n          ),\n          setEmitFlags(\n            call,\n            16777216\n            /* Iterator */\n          )\n        ) : call;\n        if (isSimpleLoop) {\n          statements.push(factory2.createExpressionStatement(callResult));\n          copyOutParameters(state.loopOutParameters, 1, 0, statements);\n        } else {\n          const loopResultName = factory2.createUniqueName(\"state\");\n          const stateVariable = factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList(\n              [factory2.createVariableDeclaration(\n                loopResultName,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                callResult\n              )]\n            )\n          );\n          statements.push(stateVariable);\n          copyOutParameters(state.loopOutParameters, 1, 0, statements);\n          if (state.nonLocalJumps & 8) {\n            let returnStatement;\n            if (outerState) {\n              outerState.nonLocalJumps |= 8;\n              returnStatement = factory2.createReturnStatement(loopResultName);\n            } else {\n              returnStatement = factory2.createReturnStatement(factory2.createPropertyAccessExpression(loopResultName, \"value\"));\n            }\n            statements.push(\n              factory2.createIfStatement(\n                factory2.createTypeCheck(loopResultName, \"object\"),\n                returnStatement\n              )\n            );\n          }\n          if (state.nonLocalJumps & 2) {\n            statements.push(\n              factory2.createIfStatement(\n                factory2.createStrictEquality(\n                  loopResultName,\n                  factory2.createStringLiteral(\"break\")\n                ),\n                factory2.createBreakStatement()\n              )\n            );\n          }\n          if (state.labeledNonLocalBreaks || state.labeledNonLocalContinues) {\n            const caseClauses = [];\n            processLabeledJumps(\n              state.labeledNonLocalBreaks,\n              /*isBreak*/\n              true,\n              loopResultName,\n              outerState,\n              caseClauses\n            );\n            processLabeledJumps(\n              state.labeledNonLocalContinues,\n              /*isBreak*/\n              false,\n              loopResultName,\n              outerState,\n              caseClauses\n            );\n            statements.push(\n              factory2.createSwitchStatement(\n                loopResultName,\n                factory2.createCaseBlock(caseClauses)\n              )\n            );\n          }\n        }\n        return statements;\n      }\n      function setLabeledJump(state, isBreak, labelText, labelMarker) {\n        if (isBreak) {\n          if (!state.labeledNonLocalBreaks) {\n            state.labeledNonLocalBreaks = /* @__PURE__ */ new Map();\n          }\n          state.labeledNonLocalBreaks.set(labelText, labelMarker);\n        } else {\n          if (!state.labeledNonLocalContinues) {\n            state.labeledNonLocalContinues = /* @__PURE__ */ new Map();\n          }\n          state.labeledNonLocalContinues.set(labelText, labelMarker);\n        }\n      }\n      function processLabeledJumps(table, isBreak, loopResultName, outerLoop, caseClauses) {\n        if (!table) {\n          return;\n        }\n        table.forEach((labelMarker, labelText) => {\n          const statements = [];\n          if (!outerLoop || outerLoop.labels && outerLoop.labels.get(labelText)) {\n            const label = factory2.createIdentifier(labelText);\n            statements.push(isBreak ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label));\n          } else {\n            setLabeledJump(outerLoop, isBreak, labelText, labelMarker);\n            statements.push(factory2.createReturnStatement(loopResultName));\n          }\n          caseClauses.push(factory2.createCaseClause(factory2.createStringLiteral(labelMarker), statements));\n        });\n      }\n      function processLoopVariableDeclaration(container, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead) {\n        const name = decl.name;\n        if (isBindingPattern(name)) {\n          for (const element of name.elements) {\n            if (!isOmittedExpression(element)) {\n              processLoopVariableDeclaration(container, element, loopParameters, loopOutParameters, hasCapturedBindingsInForHead);\n            }\n          }\n        } else {\n          loopParameters.push(factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            name\n          ));\n          const checkFlags = resolver.getNodeCheckFlags(decl);\n          if (checkFlags & 262144 || hasCapturedBindingsInForHead) {\n            const outParamName = factory2.createUniqueName(\"out_\" + idText(name));\n            let flags = 0;\n            if (checkFlags & 262144) {\n              flags |= 1;\n            }\n            if (isForStatement(container)) {\n              if (container.initializer && resolver.isBindingCapturedByNode(container.initializer, decl)) {\n                flags |= 2;\n              }\n              if (container.condition && resolver.isBindingCapturedByNode(container.condition, decl) || container.incrementor && resolver.isBindingCapturedByNode(container.incrementor, decl)) {\n                flags |= 1;\n              }\n            }\n            loopOutParameters.push({ flags, originalName: name, outParamName });\n          }\n        }\n      }\n      function addObjectLiteralMembers(expressions, node, receiver, start) {\n        const properties = node.properties;\n        const numProperties = properties.length;\n        for (let i = start; i < numProperties; i++) {\n          const property = properties[i];\n          switch (property.kind) {\n            case 174:\n            case 175:\n              const accessors = getAllAccessorDeclarations(node.properties, property);\n              if (property === accessors.firstAccessor) {\n                expressions.push(transformAccessorsToExpression(receiver, accessors, node, !!node.multiLine));\n              }\n              break;\n            case 171:\n              expressions.push(transformObjectLiteralMethodDeclarationToExpression(property, receiver, node, node.multiLine));\n              break;\n            case 299:\n              expressions.push(transformPropertyAssignmentToExpression(property, receiver, node.multiLine));\n              break;\n            case 300:\n              expressions.push(transformShorthandPropertyAssignmentToExpression(property, receiver, node.multiLine));\n              break;\n            default:\n              Debug2.failBadSyntaxKind(node);\n              break;\n          }\n        }\n      }\n      function transformPropertyAssignmentToExpression(property, receiver, startsOnNewLine) {\n        const expression = factory2.createAssignment(\n          createMemberAccessForPropertyName(\n            factory2,\n            receiver,\n            Debug2.checkDefined(visitNode(property.name, visitor, isPropertyName))\n          ),\n          Debug2.checkDefined(visitNode(property.initializer, visitor, isExpression))\n        );\n        setTextRange(expression, property);\n        if (startsOnNewLine) {\n          startOnNewLine(expression);\n        }\n        return expression;\n      }\n      function transformShorthandPropertyAssignmentToExpression(property, receiver, startsOnNewLine) {\n        const expression = factory2.createAssignment(\n          createMemberAccessForPropertyName(\n            factory2,\n            receiver,\n            Debug2.checkDefined(visitNode(property.name, visitor, isPropertyName))\n          ),\n          factory2.cloneNode(property.name)\n        );\n        setTextRange(expression, property);\n        if (startsOnNewLine) {\n          startOnNewLine(expression);\n        }\n        return expression;\n      }\n      function transformObjectLiteralMethodDeclarationToExpression(method, receiver, container, startsOnNewLine) {\n        const expression = factory2.createAssignment(\n          createMemberAccessForPropertyName(\n            factory2,\n            receiver,\n            Debug2.checkDefined(visitNode(method.name, visitor, isPropertyName))\n          ),\n          transformFunctionLikeToExpression(\n            method,\n            /*location*/\n            method,\n            /*name*/\n            void 0,\n            container\n          )\n        );\n        setTextRange(expression, method);\n        if (startsOnNewLine) {\n          startOnNewLine(expression);\n        }\n        return expression;\n      }\n      function visitCatchClause(node) {\n        const ancestorFacts = enterSubtree(\n          7104,\n          0\n          /* BlockScopeIncludes */\n        );\n        let updated;\n        Debug2.assert(!!node.variableDeclaration, \"Catch clause variable should always be present when downleveling ES2015.\");\n        if (isBindingPattern(node.variableDeclaration.name)) {\n          const temp = factory2.createTempVariable(\n            /*recordTempVariable*/\n            void 0\n          );\n          const newVariableDeclaration = factory2.createVariableDeclaration(temp);\n          setTextRange(newVariableDeclaration, node.variableDeclaration);\n          const vars = flattenDestructuringBinding(\n            node.variableDeclaration,\n            visitor,\n            context,\n            0,\n            temp\n          );\n          const list = factory2.createVariableDeclarationList(vars);\n          setTextRange(list, node.variableDeclaration);\n          const destructure = factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            list\n          );\n          updated = factory2.updateCatchClause(node, newVariableDeclaration, addStatementToStartOfBlock(node.block, destructure));\n        } else {\n          updated = visitEachChild(node, visitor, context);\n        }\n        exitSubtree(\n          ancestorFacts,\n          0,\n          0\n          /* None */\n        );\n        return updated;\n      }\n      function addStatementToStartOfBlock(block, statement) {\n        const transformedStatements = visitNodes2(block.statements, visitor, isStatement);\n        return factory2.updateBlock(block, [statement, ...transformedStatements]);\n      }\n      function visitMethodDeclaration(node) {\n        Debug2.assert(!isComputedPropertyName(node.name));\n        const functionExpression = transformFunctionLikeToExpression(\n          node,\n          /*location*/\n          moveRangePos(node, -1),\n          /*name*/\n          void 0,\n          /*container*/\n          void 0\n        );\n        setEmitFlags(functionExpression, 1024 | getEmitFlags(functionExpression));\n        return setTextRange(\n          factory2.createPropertyAssignment(\n            node.name,\n            functionExpression\n          ),\n          /*location*/\n          node\n        );\n      }\n      function visitAccessorDeclaration(node) {\n        Debug2.assert(!isComputedPropertyName(node.name));\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const ancestorFacts = enterSubtree(\n          32670,\n          65\n          /* FunctionIncludes */\n        );\n        let updated;\n        const parameters = visitParameterList(node.parameters, visitor, context);\n        const body = transformFunctionBody2(node);\n        if (node.kind === 174) {\n          updated = factory2.updateGetAccessorDeclaration(node, node.modifiers, node.name, parameters, node.type, body);\n        } else {\n          updated = factory2.updateSetAccessorDeclaration(node, node.modifiers, node.name, parameters, body);\n        }\n        exitSubtree(\n          ancestorFacts,\n          98304,\n          0\n          /* None */\n        );\n        convertedLoopState = savedConvertedLoopState;\n        return updated;\n      }\n      function visitShorthandPropertyAssignment(node) {\n        return setTextRange(\n          factory2.createPropertyAssignment(\n            node.name,\n            visitIdentifier(factory2.cloneNode(node.name))\n          ),\n          /*location*/\n          node\n        );\n      }\n      function visitComputedPropertyName(node) {\n        return visitEachChild(node, visitor, context);\n      }\n      function visitYieldExpression(node) {\n        return visitEachChild(node, visitor, context);\n      }\n      function visitArrayLiteralExpression(node) {\n        if (some(node.elements, isSpreadElement)) {\n          return transformAndSpreadElements(\n            node.elements,\n            /*isArgumentList*/\n            false,\n            !!node.multiLine,\n            /*hasTrailingComma*/\n            !!node.elements.hasTrailingComma\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCallExpression(node) {\n        if (getInternalEmitFlags(node) & 1) {\n          return visitTypeScriptClassWrapper(node);\n        }\n        const expression = skipOuterExpressions(node.expression);\n        if (expression.kind === 106 || isSuperProperty(expression) || some(node.arguments, isSpreadElement)) {\n          return visitCallExpressionWithPotentialCapturedThisAssignment(\n            node,\n            /*assignToCapturedThis*/\n            true\n          );\n        }\n        return factory2.updateCallExpression(\n          node,\n          Debug2.checkDefined(visitNode(node.expression, callExpressionVisitor, isExpression)),\n          /*typeArguments*/\n          void 0,\n          visitNodes2(node.arguments, visitor, isExpression)\n        );\n      }\n      function visitTypeScriptClassWrapper(node) {\n        const body = cast(cast(skipOuterExpressions(node.expression), isArrowFunction).body, isBlock);\n        const isVariableStatementWithInitializer = (stmt) => isVariableStatement(stmt) && !!first(stmt.declarationList.declarations).initializer;\n        const savedConvertedLoopState = convertedLoopState;\n        convertedLoopState = void 0;\n        const bodyStatements = visitNodes2(body.statements, classWrapperStatementVisitor, isStatement);\n        convertedLoopState = savedConvertedLoopState;\n        const classStatements = filter(bodyStatements, isVariableStatementWithInitializer);\n        const remainingStatements = filter(bodyStatements, (stmt) => !isVariableStatementWithInitializer(stmt));\n        const varStatement = cast(first(classStatements), isVariableStatement);\n        const variable = varStatement.declarationList.declarations[0];\n        const initializer = skipOuterExpressions(variable.initializer);\n        let aliasAssignment = tryCast(initializer, isAssignmentExpression);\n        if (!aliasAssignment && isBinaryExpression(initializer) && initializer.operatorToken.kind === 27) {\n          aliasAssignment = tryCast(initializer.left, isAssignmentExpression);\n        }\n        const call = cast(aliasAssignment ? skipOuterExpressions(aliasAssignment.right) : initializer, isCallExpression);\n        const func = cast(skipOuterExpressions(call.expression), isFunctionExpression);\n        const funcStatements = func.body.statements;\n        let classBodyStart = 0;\n        let classBodyEnd = -1;\n        const statements = [];\n        if (aliasAssignment) {\n          const extendsCall = tryCast(funcStatements[classBodyStart], isExpressionStatement);\n          if (extendsCall) {\n            statements.push(extendsCall);\n            classBodyStart++;\n          }\n          statements.push(funcStatements[classBodyStart]);\n          classBodyStart++;\n          statements.push(\n            factory2.createExpressionStatement(\n              factory2.createAssignment(\n                aliasAssignment.left,\n                cast(variable.name, isIdentifier)\n              )\n            )\n          );\n        }\n        while (!isReturnStatement(elementAt(funcStatements, classBodyEnd))) {\n          classBodyEnd--;\n        }\n        addRange(statements, funcStatements, classBodyStart, classBodyEnd);\n        if (classBodyEnd < -1) {\n          addRange(statements, funcStatements, classBodyEnd + 1);\n        }\n        const returnStatement = tryCast(elementAt(funcStatements, classBodyEnd), isReturnStatement);\n        for (const statement of remainingStatements) {\n          if (isReturnStatement(statement) && (returnStatement == null ? void 0 : returnStatement.expression) && !isIdentifier(returnStatement.expression)) {\n            statements.push(returnStatement);\n          } else {\n            statements.push(statement);\n          }\n        }\n        addRange(\n          statements,\n          classStatements,\n          /*start*/\n          1\n        );\n        return factory2.restoreOuterExpressions(\n          node.expression,\n          factory2.restoreOuterExpressions(\n            variable.initializer,\n            factory2.restoreOuterExpressions(\n              aliasAssignment && aliasAssignment.right,\n              factory2.updateCallExpression(\n                call,\n                factory2.restoreOuterExpressions(\n                  call.expression,\n                  factory2.updateFunctionExpression(\n                    func,\n                    /*modifiers*/\n                    void 0,\n                    /*asteriskToken*/\n                    void 0,\n                    /*name*/\n                    void 0,\n                    /*typeParameters*/\n                    void 0,\n                    func.parameters,\n                    /*type*/\n                    void 0,\n                    factory2.updateBlock(\n                      func.body,\n                      statements\n                    )\n                  )\n                ),\n                /*typeArguments*/\n                void 0,\n                call.arguments\n              )\n            )\n          )\n        );\n      }\n      function visitSuperCallInBody(node) {\n        return visitCallExpressionWithPotentialCapturedThisAssignment(\n          node,\n          /*assignToCapturedThis*/\n          false\n        );\n      }\n      function visitCallExpressionWithPotentialCapturedThisAssignment(node, assignToCapturedThis) {\n        if (node.transformFlags & 32768 || node.expression.kind === 106 || isSuperProperty(skipOuterExpressions(node.expression))) {\n          const { target, thisArg } = factory2.createCallBinding(node.expression, hoistVariableDeclaration);\n          if (node.expression.kind === 106) {\n            setEmitFlags(\n              thisArg,\n              8\n              /* NoSubstitution */\n            );\n          }\n          let resultingCall;\n          if (node.transformFlags & 32768) {\n            resultingCall = factory2.createFunctionApplyCall(\n              Debug2.checkDefined(visitNode(target, callExpressionVisitor, isExpression)),\n              node.expression.kind === 106 ? thisArg : Debug2.checkDefined(visitNode(thisArg, visitor, isExpression)),\n              transformAndSpreadElements(\n                node.arguments,\n                /*isArgumentList*/\n                true,\n                /*multiLine*/\n                false,\n                /*hasTrailingComma*/\n                false\n              )\n            );\n          } else {\n            resultingCall = setTextRange(\n              factory2.createFunctionCallCall(\n                Debug2.checkDefined(visitNode(target, callExpressionVisitor, isExpression)),\n                node.expression.kind === 106 ? thisArg : Debug2.checkDefined(visitNode(thisArg, visitor, isExpression)),\n                visitNodes2(node.arguments, visitor, isExpression)\n              ),\n              node\n            );\n          }\n          if (node.expression.kind === 106) {\n            const initializer = factory2.createLogicalOr(\n              resultingCall,\n              createActualThis()\n            );\n            resultingCall = assignToCapturedThis ? factory2.createAssignment(factory2.createUniqueName(\n              \"_this\",\n              16 | 32\n              /* FileLevel */\n            ), initializer) : initializer;\n          }\n          return setOriginalNode(resultingCall, node);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitNewExpression(node) {\n        if (some(node.arguments, isSpreadElement)) {\n          const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, \"bind\"), hoistVariableDeclaration);\n          return factory2.createNewExpression(\n            factory2.createFunctionApplyCall(\n              Debug2.checkDefined(visitNode(target, visitor, isExpression)),\n              thisArg,\n              transformAndSpreadElements(\n                factory2.createNodeArray([factory2.createVoidZero(), ...node.arguments]),\n                /*isArgumentList*/\n                true,\n                /*multiLine*/\n                false,\n                /*hasTrailingComma*/\n                false\n              )\n            ),\n            /*typeArguments*/\n            void 0,\n            []\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function transformAndSpreadElements(elements, isArgumentList, multiLine, hasTrailingComma) {\n        const numElements = elements.length;\n        const segments = flatten(\n          // As we visit each element, we return one of two functions to use as the \"key\":\n          // - `visitSpanOfSpreads` for one or more contiguous `...` spread expressions, i.e. `...a, ...b` in `[1, 2, ...a, ...b]`\n          // - `visitSpanOfNonSpreads` for one or more contiguous non-spread elements, i.e. `1, 2`, in `[1, 2, ...a, ...b]`\n          spanMap(\n            elements,\n            partitionSpread,\n            (partition, visitPartition, _start, end) => visitPartition(partition, multiLine, hasTrailingComma && end === numElements)\n          )\n        );\n        if (segments.length === 1) {\n          const firstSegment = segments[0];\n          if (isArgumentList && !compilerOptions.downlevelIteration || isPackedArrayLiteral(firstSegment.expression) || isCallToHelper(firstSegment.expression, \"___spreadArray\")) {\n            return firstSegment.expression;\n          }\n        }\n        const helpers = emitHelpers();\n        const startsWithSpread = segments[0].kind !== 0;\n        let expression = startsWithSpread ? factory2.createArrayLiteralExpression() : segments[0].expression;\n        for (let i = startsWithSpread ? 0 : 1; i < segments.length; i++) {\n          const segment = segments[i];\n          expression = helpers.createSpreadArrayHelper(\n            expression,\n            segment.expression,\n            segment.kind === 1 && !isArgumentList\n          );\n        }\n        return expression;\n      }\n      function partitionSpread(node) {\n        return isSpreadElement(node) ? visitSpanOfSpreads : visitSpanOfNonSpreads;\n      }\n      function visitSpanOfSpreads(chunk) {\n        return map(chunk, visitExpressionOfSpread);\n      }\n      function visitExpressionOfSpread(node) {\n        Debug2.assertNode(node, isSpreadElement);\n        let expression = visitNode(node.expression, visitor, isExpression);\n        Debug2.assert(expression);\n        const isCallToReadHelper = isCallToHelper(expression, \"___read\");\n        let kind = isCallToReadHelper || isPackedArrayLiteral(expression) ? 2 : 1;\n        if (compilerOptions.downlevelIteration && kind === 1 && !isArrayLiteralExpression(expression) && !isCallToReadHelper) {\n          expression = emitHelpers().createReadHelper(\n            expression,\n            /*count*/\n            void 0\n          );\n          kind = 2;\n        }\n        return createSpreadSegment(kind, expression);\n      }\n      function visitSpanOfNonSpreads(chunk, multiLine, hasTrailingComma) {\n        const expression = factory2.createArrayLiteralExpression(\n          visitNodes2(factory2.createNodeArray(chunk, hasTrailingComma), visitor, isExpression),\n          multiLine\n        );\n        return createSpreadSegment(0, expression);\n      }\n      function visitSpreadElement(node) {\n        return visitNode(node.expression, visitor, isExpression);\n      }\n      function visitTemplateLiteral(node) {\n        return setTextRange(factory2.createStringLiteral(node.text), node);\n      }\n      function visitStringLiteral(node) {\n        if (node.hasExtendedUnicodeEscape) {\n          return setTextRange(factory2.createStringLiteral(node.text), node);\n        }\n        return node;\n      }\n      function visitNumericLiteral(node) {\n        if (node.numericLiteralFlags & 384) {\n          return setTextRange(factory2.createNumericLiteral(node.text), node);\n        }\n        return node;\n      }\n      function visitTaggedTemplateExpression(node) {\n        return processTaggedTemplateExpression(\n          context,\n          node,\n          visitor,\n          currentSourceFile,\n          recordTaggedTemplateString,\n          1\n          /* All */\n        );\n      }\n      function visitTemplateExpression(node) {\n        let expression = factory2.createStringLiteral(node.head.text);\n        for (const span of node.templateSpans) {\n          const args = [Debug2.checkDefined(visitNode(span.expression, visitor, isExpression))];\n          if (span.literal.text.length > 0) {\n            args.push(factory2.createStringLiteral(span.literal.text));\n          }\n          expression = factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(expression, \"concat\"),\n            /*typeArguments*/\n            void 0,\n            args\n          );\n        }\n        return setTextRange(expression, node);\n      }\n      function visitSuperKeyword(isExpressionOfCall) {\n        return hierarchyFacts & 8 && !isExpressionOfCall ? factory2.createPropertyAccessExpression(factory2.createUniqueName(\n          \"_super\",\n          16 | 32\n          /* FileLevel */\n        ), \"prototype\") : factory2.createUniqueName(\n          \"_super\",\n          16 | 32\n          /* FileLevel */\n        );\n      }\n      function visitMetaProperty(node) {\n        if (node.keywordToken === 103 && node.name.escapedText === \"target\") {\n          hierarchyFacts |= 32768;\n          return factory2.createUniqueName(\n            \"_newTarget\",\n            16 | 32\n            /* FileLevel */\n          );\n        }\n        return node;\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (enabledSubstitutions & 1 && isFunctionLike(node)) {\n          const ancestorFacts = enterSubtree(\n            32670,\n            getEmitFlags(node) & 16 ? 65 | 16 : 65\n            /* FunctionIncludes */\n          );\n          previousOnEmitNode(hint, node, emitCallback);\n          exitSubtree(\n            ancestorFacts,\n            0,\n            0\n            /* None */\n          );\n          return;\n        }\n        previousOnEmitNode(hint, node, emitCallback);\n      }\n      function enableSubstitutionsForBlockScopedBindings() {\n        if ((enabledSubstitutions & 2) === 0) {\n          enabledSubstitutions |= 2;\n          context.enableSubstitution(\n            79\n            /* Identifier */\n          );\n        }\n      }\n      function enableSubstitutionsForCapturedThis() {\n        if ((enabledSubstitutions & 1) === 0) {\n          enabledSubstitutions |= 1;\n          context.enableSubstitution(\n            108\n            /* ThisKeyword */\n          );\n          context.enableEmitNotification(\n            173\n            /* Constructor */\n          );\n          context.enableEmitNotification(\n            171\n            /* MethodDeclaration */\n          );\n          context.enableEmitNotification(\n            174\n            /* GetAccessor */\n          );\n          context.enableEmitNotification(\n            175\n            /* SetAccessor */\n          );\n          context.enableEmitNotification(\n            216\n            /* ArrowFunction */\n          );\n          context.enableEmitNotification(\n            215\n            /* FunctionExpression */\n          );\n          context.enableEmitNotification(\n            259\n            /* FunctionDeclaration */\n          );\n        }\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1) {\n          return substituteExpression(node);\n        }\n        if (isIdentifier(node)) {\n          return substituteIdentifier(node);\n        }\n        return node;\n      }\n      function substituteIdentifier(node) {\n        if (enabledSubstitutions & 2 && !isInternalName(node)) {\n          const original = getParseTreeNode(node, isIdentifier);\n          if (original && isNameOfDeclarationWithCollidingName(original)) {\n            return setTextRange(factory2.getGeneratedNameForNode(original), node);\n          }\n        }\n        return node;\n      }\n      function isNameOfDeclarationWithCollidingName(node) {\n        switch (node.parent.kind) {\n          case 205:\n          case 260:\n          case 263:\n          case 257:\n            return node.parent.name === node && resolver.isDeclarationWithCollidingName(node.parent);\n        }\n        return false;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return substituteExpressionIdentifier(node);\n          case 108:\n            return substituteThisKeyword(node);\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        if (enabledSubstitutions & 2 && !isInternalName(node)) {\n          const declaration = resolver.getReferencedDeclarationWithCollidingName(node);\n          if (declaration && !(isClassLike(declaration) && isPartOfClassBody(declaration, node))) {\n            return setTextRange(factory2.getGeneratedNameForNode(getNameOfDeclaration(declaration)), node);\n          }\n        }\n        return node;\n      }\n      function isPartOfClassBody(declaration, node) {\n        let currentNode = getParseTreeNode(node);\n        if (!currentNode || currentNode === declaration || currentNode.end <= declaration.pos || currentNode.pos >= declaration.end) {\n          return false;\n        }\n        const blockScope = getEnclosingBlockScopeContainer(declaration);\n        while (currentNode) {\n          if (currentNode === blockScope || currentNode === declaration) {\n            return false;\n          }\n          if (isClassElement(currentNode) && currentNode.parent === declaration) {\n            return true;\n          }\n          currentNode = currentNode.parent;\n        }\n        return false;\n      }\n      function substituteThisKeyword(node) {\n        if (enabledSubstitutions & 1 && hierarchyFacts & 16) {\n          return setTextRange(factory2.createUniqueName(\n            \"_this\",\n            16 | 32\n            /* FileLevel */\n          ), node);\n        }\n        return node;\n      }\n      function getClassMemberPrefix(node, member) {\n        return isStatic(member) ? factory2.getInternalName(node) : factory2.createPropertyAccessExpression(factory2.getInternalName(node), \"prototype\");\n      }\n      function hasSynthesizedDefaultSuperCall(constructor, hasExtendsClause) {\n        if (!constructor || !hasExtendsClause) {\n          return false;\n        }\n        if (some(constructor.parameters)) {\n          return false;\n        }\n        const statement = firstOrUndefined(constructor.body.statements);\n        if (!statement || !nodeIsSynthesized(statement) || statement.kind !== 241) {\n          return false;\n        }\n        const statementExpression = statement.expression;\n        if (!nodeIsSynthesized(statementExpression) || statementExpression.kind !== 210) {\n          return false;\n        }\n        const callTarget = statementExpression.expression;\n        if (!nodeIsSynthesized(callTarget) || callTarget.kind !== 106) {\n          return false;\n        }\n        const callArgument = singleOrUndefined(statementExpression.arguments);\n        if (!callArgument || !nodeIsSynthesized(callArgument) || callArgument.kind !== 227) {\n          return false;\n        }\n        const expression = callArgument.expression;\n        return isIdentifier(expression) && expression.escapedText === \"arguments\";\n      }\n    }\n    var init_es2015 = __esm({\n      \"src/compiler/transformers/es2015.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformES5(context) {\n      const { factory: factory2 } = context;\n      const compilerOptions = context.getCompilerOptions();\n      let previousOnEmitNode;\n      let noSubstitution;\n      if (compilerOptions.jsx === 1 || compilerOptions.jsx === 3) {\n        previousOnEmitNode = context.onEmitNode;\n        context.onEmitNode = onEmitNode;\n        context.enableEmitNotification(\n          283\n          /* JsxOpeningElement */\n        );\n        context.enableEmitNotification(\n          284\n          /* JsxClosingElement */\n        );\n        context.enableEmitNotification(\n          282\n          /* JsxSelfClosingElement */\n        );\n        noSubstitution = [];\n      }\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onSubstituteNode = onSubstituteNode;\n      context.enableSubstitution(\n        208\n        /* PropertyAccessExpression */\n      );\n      context.enableSubstitution(\n        299\n        /* PropertyAssignment */\n      );\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        return node;\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        switch (node.kind) {\n          case 283:\n          case 284:\n          case 282:\n            const tagName = node.tagName;\n            noSubstitution[getOriginalNodeId(tagName)] = true;\n            break;\n        }\n        previousOnEmitNode(hint, node, emitCallback);\n      }\n      function onSubstituteNode(hint, node) {\n        if (node.id && noSubstitution && noSubstitution[node.id]) {\n          return previousOnSubstituteNode(hint, node);\n        }\n        node = previousOnSubstituteNode(hint, node);\n        if (isPropertyAccessExpression(node)) {\n          return substitutePropertyAccessExpression(node);\n        } else if (isPropertyAssignment(node)) {\n          return substitutePropertyAssignment(node);\n        }\n        return node;\n      }\n      function substitutePropertyAccessExpression(node) {\n        if (isPrivateIdentifier(node.name)) {\n          return node;\n        }\n        const literalName = trySubstituteReservedName(node.name);\n        if (literalName) {\n          return setTextRange(factory2.createElementAccessExpression(node.expression, literalName), node);\n        }\n        return node;\n      }\n      function substitutePropertyAssignment(node) {\n        const literalName = isIdentifier(node.name) && trySubstituteReservedName(node.name);\n        if (literalName) {\n          return factory2.updatePropertyAssignment(node, literalName, node.initializer);\n        }\n        return node;\n      }\n      function trySubstituteReservedName(name) {\n        const token = identifierToKeywordKind(name);\n        if (token !== void 0 && token >= 81 && token <= 116) {\n          return setTextRange(factory2.createStringLiteralFromNode(name), name);\n        }\n        return void 0;\n      }\n    }\n    var init_es5 = __esm({\n      \"src/compiler/transformers/es5.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function getInstructionName(instruction) {\n      switch (instruction) {\n        case 2:\n          return \"return\";\n        case 3:\n          return \"break\";\n        case 4:\n          return \"yield\";\n        case 5:\n          return \"yield*\";\n        case 7:\n          return \"endfinally\";\n        default:\n          return void 0;\n      }\n    }\n    function transformGenerators(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        resumeLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistFunctionDeclaration,\n        hoistVariableDeclaration\n      } = context;\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const resolver = context.getEmitResolver();\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onSubstituteNode = onSubstituteNode;\n      let renamedCatchVariables;\n      let renamedCatchVariableDeclarations;\n      let inGeneratorFunctionBody;\n      let inStatementContainingYield;\n      let blocks;\n      let blockOffsets;\n      let blockActions;\n      let blockStack;\n      let labelOffsets;\n      let labelExpressions;\n      let nextLabelId = 1;\n      let operations;\n      let operationArguments;\n      let operationLocations;\n      let state;\n      let blockIndex = 0;\n      let labelNumber = 0;\n      let labelNumbers;\n      let lastOperationWasAbrupt;\n      let lastOperationWasCompletion;\n      let clauses;\n      let statements;\n      let exceptionBlockStack;\n      let currentExceptionBlock;\n      let withBlockStack;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile || (node.transformFlags & 2048) === 0) {\n          return node;\n        }\n        const visited = visitEachChild(node, visitor, context);\n        addEmitHelpers(visited, context.readEmitHelpers());\n        return visited;\n      }\n      function visitor(node) {\n        const transformFlags = node.transformFlags;\n        if (inStatementContainingYield) {\n          return visitJavaScriptInStatementContainingYield(node);\n        } else if (inGeneratorFunctionBody) {\n          return visitJavaScriptInGeneratorFunctionBody(node);\n        } else if (isFunctionLikeDeclaration(node) && node.asteriskToken) {\n          return visitGenerator(node);\n        } else if (transformFlags & 2048) {\n          return visitEachChild(node, visitor, context);\n        } else {\n          return node;\n        }\n      }\n      function visitJavaScriptInStatementContainingYield(node) {\n        switch (node.kind) {\n          case 243:\n            return visitDoStatement(node);\n          case 244:\n            return visitWhileStatement(node);\n          case 252:\n            return visitSwitchStatement(node);\n          case 253:\n            return visitLabeledStatement(node);\n          default:\n            return visitJavaScriptInGeneratorFunctionBody(node);\n        }\n      }\n      function visitJavaScriptInGeneratorFunctionBody(node) {\n        switch (node.kind) {\n          case 259:\n            return visitFunctionDeclaration(node);\n          case 215:\n            return visitFunctionExpression(node);\n          case 174:\n          case 175:\n            return visitAccessorDeclaration(node);\n          case 240:\n            return visitVariableStatement(node);\n          case 245:\n            return visitForStatement(node);\n          case 246:\n            return visitForInStatement(node);\n          case 249:\n            return visitBreakStatement(node);\n          case 248:\n            return visitContinueStatement(node);\n          case 250:\n            return visitReturnStatement(node);\n          default:\n            if (node.transformFlags & 1048576) {\n              return visitJavaScriptContainingYield(node);\n            } else if (node.transformFlags & (2048 | 4194304)) {\n              return visitEachChild(node, visitor, context);\n            } else {\n              return node;\n            }\n        }\n      }\n      function visitJavaScriptContainingYield(node) {\n        switch (node.kind) {\n          case 223:\n            return visitBinaryExpression(node);\n          case 357:\n            return visitCommaListExpression(node);\n          case 224:\n            return visitConditionalExpression(node);\n          case 226:\n            return visitYieldExpression(node);\n          case 206:\n            return visitArrayLiteralExpression(node);\n          case 207:\n            return visitObjectLiteralExpression(node);\n          case 209:\n            return visitElementAccessExpression(node);\n          case 210:\n            return visitCallExpression(node);\n          case 211:\n            return visitNewExpression(node);\n          default:\n            return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitGenerator(node) {\n        switch (node.kind) {\n          case 259:\n            return visitFunctionDeclaration(node);\n          case 215:\n            return visitFunctionExpression(node);\n          default:\n            return Debug2.failBadSyntaxKind(node);\n        }\n      }\n      function visitFunctionDeclaration(node) {\n        if (node.asteriskToken) {\n          node = setOriginalNode(\n            setTextRange(\n              factory2.createFunctionDeclaration(\n                node.modifiers,\n                /*asteriskToken*/\n                void 0,\n                node.name,\n                /*typeParameters*/\n                void 0,\n                visitParameterList(node.parameters, visitor, context),\n                /*type*/\n                void 0,\n                transformGeneratorFunctionBody(node.body)\n              ),\n              /*location*/\n              node\n            ),\n            node\n          );\n        } else {\n          const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n          const savedInStatementContainingYield = inStatementContainingYield;\n          inGeneratorFunctionBody = false;\n          inStatementContainingYield = false;\n          node = visitEachChild(node, visitor, context);\n          inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n          inStatementContainingYield = savedInStatementContainingYield;\n        }\n        if (inGeneratorFunctionBody) {\n          hoistFunctionDeclaration(node);\n          return void 0;\n        } else {\n          return node;\n        }\n      }\n      function visitFunctionExpression(node) {\n        if (node.asteriskToken) {\n          node = setOriginalNode(\n            setTextRange(\n              factory2.createFunctionExpression(\n                /*modifiers*/\n                void 0,\n                /*asteriskToken*/\n                void 0,\n                node.name,\n                /*typeParameters*/\n                void 0,\n                visitParameterList(node.parameters, visitor, context),\n                /*type*/\n                void 0,\n                transformGeneratorFunctionBody(node.body)\n              ),\n              /*location*/\n              node\n            ),\n            node\n          );\n        } else {\n          const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n          const savedInStatementContainingYield = inStatementContainingYield;\n          inGeneratorFunctionBody = false;\n          inStatementContainingYield = false;\n          node = visitEachChild(node, visitor, context);\n          inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n          inStatementContainingYield = savedInStatementContainingYield;\n        }\n        return node;\n      }\n      function visitAccessorDeclaration(node) {\n        const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n        const savedInStatementContainingYield = inStatementContainingYield;\n        inGeneratorFunctionBody = false;\n        inStatementContainingYield = false;\n        node = visitEachChild(node, visitor, context);\n        inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n        inStatementContainingYield = savedInStatementContainingYield;\n        return node;\n      }\n      function transformGeneratorFunctionBody(body) {\n        const statements2 = [];\n        const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n        const savedInStatementContainingYield = inStatementContainingYield;\n        const savedBlocks = blocks;\n        const savedBlockOffsets = blockOffsets;\n        const savedBlockActions = blockActions;\n        const savedBlockStack = blockStack;\n        const savedLabelOffsets = labelOffsets;\n        const savedLabelExpressions = labelExpressions;\n        const savedNextLabelId = nextLabelId;\n        const savedOperations = operations;\n        const savedOperationArguments = operationArguments;\n        const savedOperationLocations = operationLocations;\n        const savedState = state;\n        inGeneratorFunctionBody = true;\n        inStatementContainingYield = false;\n        blocks = void 0;\n        blockOffsets = void 0;\n        blockActions = void 0;\n        blockStack = void 0;\n        labelOffsets = void 0;\n        labelExpressions = void 0;\n        nextLabelId = 1;\n        operations = void 0;\n        operationArguments = void 0;\n        operationLocations = void 0;\n        state = factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        resumeLexicalEnvironment();\n        const statementOffset = factory2.copyPrologue(\n          body.statements,\n          statements2,\n          /*ensureUseStrict*/\n          false,\n          visitor\n        );\n        transformAndEmitStatements(body.statements, statementOffset);\n        const buildResult = build2();\n        insertStatementsAfterStandardPrologue(statements2, endLexicalEnvironment());\n        statements2.push(factory2.createReturnStatement(buildResult));\n        inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n        inStatementContainingYield = savedInStatementContainingYield;\n        blocks = savedBlocks;\n        blockOffsets = savedBlockOffsets;\n        blockActions = savedBlockActions;\n        blockStack = savedBlockStack;\n        labelOffsets = savedLabelOffsets;\n        labelExpressions = savedLabelExpressions;\n        nextLabelId = savedNextLabelId;\n        operations = savedOperations;\n        operationArguments = savedOperationArguments;\n        operationLocations = savedOperationLocations;\n        state = savedState;\n        return setTextRange(factory2.createBlock(statements2, body.multiLine), body);\n      }\n      function visitVariableStatement(node) {\n        if (node.transformFlags & 1048576) {\n          transformAndEmitVariableDeclarationList(node.declarationList);\n          return void 0;\n        } else {\n          if (getEmitFlags(node) & 2097152) {\n            return node;\n          }\n          for (const variable of node.declarationList.declarations) {\n            hoistVariableDeclaration(variable.name);\n          }\n          const variables = getInitializedVariables(node.declarationList);\n          if (variables.length === 0) {\n            return void 0;\n          }\n          return setSourceMapRange(\n            factory2.createExpressionStatement(\n              factory2.inlineExpressions(\n                map(variables, transformInitializedVariable)\n              )\n            ),\n            node\n          );\n        }\n      }\n      function visitBinaryExpression(node) {\n        const assoc = getExpressionAssociativity(node);\n        switch (assoc) {\n          case 0:\n            return visitLeftAssociativeBinaryExpression(node);\n          case 1:\n            return visitRightAssociativeBinaryExpression(node);\n          default:\n            return Debug2.assertNever(assoc);\n        }\n      }\n      function visitRightAssociativeBinaryExpression(node) {\n        const { left, right } = node;\n        if (containsYield(right)) {\n          let target;\n          switch (left.kind) {\n            case 208:\n              target = factory2.updatePropertyAccessExpression(\n                left,\n                cacheExpression(Debug2.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))),\n                left.name\n              );\n              break;\n            case 209:\n              target = factory2.updateElementAccessExpression(\n                left,\n                cacheExpression(Debug2.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))),\n                cacheExpression(Debug2.checkDefined(visitNode(left.argumentExpression, visitor, isExpression)))\n              );\n              break;\n            default:\n              target = Debug2.checkDefined(visitNode(left, visitor, isExpression));\n              break;\n          }\n          const operator = node.operatorToken.kind;\n          if (isCompoundAssignment(operator)) {\n            return setTextRange(\n              factory2.createAssignment(\n                target,\n                setTextRange(\n                  factory2.createBinaryExpression(\n                    cacheExpression(target),\n                    getNonAssignmentOperatorForCompoundAssignment(operator),\n                    Debug2.checkDefined(visitNode(right, visitor, isExpression))\n                  ),\n                  node\n                )\n              ),\n              node\n            );\n          } else {\n            return factory2.updateBinaryExpression(node, target, node.operatorToken, Debug2.checkDefined(visitNode(right, visitor, isExpression)));\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitLeftAssociativeBinaryExpression(node) {\n        if (containsYield(node.right)) {\n          if (isLogicalOperator(node.operatorToken.kind)) {\n            return visitLogicalBinaryExpression(node);\n          } else if (node.operatorToken.kind === 27) {\n            return visitCommaExpression(node);\n          }\n          return factory2.updateBinaryExpression(\n            node,\n            cacheExpression(Debug2.checkDefined(visitNode(node.left, visitor, isExpression))),\n            node.operatorToken,\n            Debug2.checkDefined(visitNode(node.right, visitor, isExpression))\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCommaExpression(node) {\n        let pendingExpressions = [];\n        visit(node.left);\n        visit(node.right);\n        return factory2.inlineExpressions(pendingExpressions);\n        function visit(node2) {\n          if (isBinaryExpression(node2) && node2.operatorToken.kind === 27) {\n            visit(node2.left);\n            visit(node2.right);\n          } else {\n            if (containsYield(node2) && pendingExpressions.length > 0) {\n              emitWorker(1, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]);\n              pendingExpressions = [];\n            }\n            pendingExpressions.push(Debug2.checkDefined(visitNode(node2, visitor, isExpression)));\n          }\n        }\n      }\n      function visitCommaListExpression(node) {\n        let pendingExpressions = [];\n        for (const elem of node.elements) {\n          if (isBinaryExpression(elem) && elem.operatorToken.kind === 27) {\n            pendingExpressions.push(visitCommaExpression(elem));\n          } else {\n            if (containsYield(elem) && pendingExpressions.length > 0) {\n              emitWorker(1, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]);\n              pendingExpressions = [];\n            }\n            pendingExpressions.push(Debug2.checkDefined(visitNode(elem, visitor, isExpression)));\n          }\n        }\n        return factory2.inlineExpressions(pendingExpressions);\n      }\n      function visitLogicalBinaryExpression(node) {\n        const resultLabel = defineLabel();\n        const resultLocal = declareLocal();\n        emitAssignment(\n          resultLocal,\n          Debug2.checkDefined(visitNode(node.left, visitor, isExpression)),\n          /*location*/\n          node.left\n        );\n        if (node.operatorToken.kind === 55) {\n          emitBreakWhenFalse(\n            resultLabel,\n            resultLocal,\n            /*location*/\n            node.left\n          );\n        } else {\n          emitBreakWhenTrue(\n            resultLabel,\n            resultLocal,\n            /*location*/\n            node.left\n          );\n        }\n        emitAssignment(\n          resultLocal,\n          Debug2.checkDefined(visitNode(node.right, visitor, isExpression)),\n          /*location*/\n          node.right\n        );\n        markLabel(resultLabel);\n        return resultLocal;\n      }\n      function visitConditionalExpression(node) {\n        if (containsYield(node.whenTrue) || containsYield(node.whenFalse)) {\n          const whenFalseLabel = defineLabel();\n          const resultLabel = defineLabel();\n          const resultLocal = declareLocal();\n          emitBreakWhenFalse(\n            whenFalseLabel,\n            Debug2.checkDefined(visitNode(node.condition, visitor, isExpression)),\n            /*location*/\n            node.condition\n          );\n          emitAssignment(\n            resultLocal,\n            Debug2.checkDefined(visitNode(node.whenTrue, visitor, isExpression)),\n            /*location*/\n            node.whenTrue\n          );\n          emitBreak(resultLabel);\n          markLabel(whenFalseLabel);\n          emitAssignment(\n            resultLocal,\n            Debug2.checkDefined(visitNode(node.whenFalse, visitor, isExpression)),\n            /*location*/\n            node.whenFalse\n          );\n          markLabel(resultLabel);\n          return resultLocal;\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitYieldExpression(node) {\n        const resumeLabel = defineLabel();\n        const expression = visitNode(node.expression, visitor, isExpression);\n        if (node.asteriskToken) {\n          const iterator = (getEmitFlags(node.expression) & 16777216) === 0 ? setTextRange(emitHelpers().createValuesHelper(expression), node) : expression;\n          emitYieldStar(\n            iterator,\n            /*location*/\n            node\n          );\n        } else {\n          emitYield(\n            expression,\n            /*location*/\n            node\n          );\n        }\n        markLabel(resumeLabel);\n        return createGeneratorResume(\n          /*location*/\n          node\n        );\n      }\n      function visitArrayLiteralExpression(node) {\n        return visitElements(\n          node.elements,\n          /*leadingElement*/\n          void 0,\n          /*location*/\n          void 0,\n          node.multiLine\n        );\n      }\n      function visitElements(elements, leadingElement, location, multiLine) {\n        const numInitialElements = countInitialNodesWithoutYield(elements);\n        let temp;\n        if (numInitialElements > 0) {\n          temp = declareLocal();\n          const initialElements = visitNodes2(elements, visitor, isExpression, 0, numInitialElements);\n          emitAssignment(\n            temp,\n            factory2.createArrayLiteralExpression(\n              leadingElement ? [leadingElement, ...initialElements] : initialElements\n            )\n          );\n          leadingElement = void 0;\n        }\n        const expressions = reduceLeft(elements, reduceElement, [], numInitialElements);\n        return temp ? factory2.createArrayConcatCall(temp, [factory2.createArrayLiteralExpression(expressions, multiLine)]) : setTextRange(\n          factory2.createArrayLiteralExpression(leadingElement ? [leadingElement, ...expressions] : expressions, multiLine),\n          location\n        );\n        function reduceElement(expressions2, element) {\n          if (containsYield(element) && expressions2.length > 0) {\n            const hasAssignedTemp = temp !== void 0;\n            if (!temp) {\n              temp = declareLocal();\n            }\n            emitAssignment(\n              temp,\n              hasAssignedTemp ? factory2.createArrayConcatCall(\n                temp,\n                [factory2.createArrayLiteralExpression(expressions2, multiLine)]\n              ) : factory2.createArrayLiteralExpression(\n                leadingElement ? [leadingElement, ...expressions2] : expressions2,\n                multiLine\n              )\n            );\n            leadingElement = void 0;\n            expressions2 = [];\n          }\n          expressions2.push(Debug2.checkDefined(visitNode(element, visitor, isExpression)));\n          return expressions2;\n        }\n      }\n      function visitObjectLiteralExpression(node) {\n        const properties = node.properties;\n        const multiLine = node.multiLine;\n        const numInitialProperties = countInitialNodesWithoutYield(properties);\n        const temp = declareLocal();\n        emitAssignment(\n          temp,\n          factory2.createObjectLiteralExpression(\n            visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties),\n            multiLine\n          )\n        );\n        const expressions = reduceLeft(properties, reduceProperty, [], numInitialProperties);\n        expressions.push(multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp);\n        return factory2.inlineExpressions(expressions);\n        function reduceProperty(expressions2, property) {\n          if (containsYield(property) && expressions2.length > 0) {\n            emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(expressions2)));\n            expressions2 = [];\n          }\n          const expression = createExpressionForObjectLiteralElementLike(factory2, node, property, temp);\n          const visited = visitNode(expression, visitor, isExpression);\n          if (visited) {\n            if (multiLine) {\n              startOnNewLine(visited);\n            }\n            expressions2.push(visited);\n          }\n          return expressions2;\n        }\n      }\n      function visitElementAccessExpression(node) {\n        if (containsYield(node.argumentExpression)) {\n          return factory2.updateElementAccessExpression(\n            node,\n            cacheExpression(Debug2.checkDefined(visitNode(node.expression, visitor, isLeftHandSideExpression))),\n            Debug2.checkDefined(visitNode(node.argumentExpression, visitor, isExpression))\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitCallExpression(node) {\n        if (!isImportCall(node) && forEach(node.arguments, containsYield)) {\n          const { target, thisArg } = factory2.createCallBinding(\n            node.expression,\n            hoistVariableDeclaration,\n            languageVersion,\n            /*cacheIdentifiers*/\n            true\n          );\n          return setOriginalNode(\n            setTextRange(\n              factory2.createFunctionApplyCall(\n                cacheExpression(Debug2.checkDefined(visitNode(target, visitor, isLeftHandSideExpression))),\n                thisArg,\n                visitElements(node.arguments)\n              ),\n              node\n            ),\n            node\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitNewExpression(node) {\n        if (forEach(node.arguments, containsYield)) {\n          const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, \"bind\"), hoistVariableDeclaration);\n          return setOriginalNode(\n            setTextRange(\n              factory2.createNewExpression(\n                factory2.createFunctionApplyCall(\n                  cacheExpression(Debug2.checkDefined(visitNode(target, visitor, isExpression))),\n                  thisArg,\n                  visitElements(\n                    node.arguments,\n                    /*leadingElement*/\n                    factory2.createVoidZero()\n                  )\n                ),\n                /*typeArguments*/\n                void 0,\n                []\n              ),\n              node\n            ),\n            node\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function transformAndEmitStatements(statements2, start = 0) {\n        const numStatements = statements2.length;\n        for (let i = start; i < numStatements; i++) {\n          transformAndEmitStatement(statements2[i]);\n        }\n      }\n      function transformAndEmitEmbeddedStatement(node) {\n        if (isBlock(node)) {\n          transformAndEmitStatements(node.statements);\n        } else {\n          transformAndEmitStatement(node);\n        }\n      }\n      function transformAndEmitStatement(node) {\n        const savedInStatementContainingYield = inStatementContainingYield;\n        if (!inStatementContainingYield) {\n          inStatementContainingYield = containsYield(node);\n        }\n        transformAndEmitStatementWorker(node);\n        inStatementContainingYield = savedInStatementContainingYield;\n      }\n      function transformAndEmitStatementWorker(node) {\n        switch (node.kind) {\n          case 238:\n            return transformAndEmitBlock(node);\n          case 241:\n            return transformAndEmitExpressionStatement(node);\n          case 242:\n            return transformAndEmitIfStatement(node);\n          case 243:\n            return transformAndEmitDoStatement(node);\n          case 244:\n            return transformAndEmitWhileStatement(node);\n          case 245:\n            return transformAndEmitForStatement(node);\n          case 246:\n            return transformAndEmitForInStatement(node);\n          case 248:\n            return transformAndEmitContinueStatement(node);\n          case 249:\n            return transformAndEmitBreakStatement(node);\n          case 250:\n            return transformAndEmitReturnStatement(node);\n          case 251:\n            return transformAndEmitWithStatement(node);\n          case 252:\n            return transformAndEmitSwitchStatement(node);\n          case 253:\n            return transformAndEmitLabeledStatement(node);\n          case 254:\n            return transformAndEmitThrowStatement(node);\n          case 255:\n            return transformAndEmitTryStatement(node);\n          default:\n            return emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function transformAndEmitBlock(node) {\n        if (containsYield(node)) {\n          transformAndEmitStatements(node.statements);\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function transformAndEmitExpressionStatement(node) {\n        emitStatement(visitNode(node, visitor, isStatement));\n      }\n      function transformAndEmitVariableDeclarationList(node) {\n        for (const variable of node.declarations) {\n          const name = factory2.cloneNode(variable.name);\n          setCommentRange(name, variable.name);\n          hoistVariableDeclaration(name);\n        }\n        const variables = getInitializedVariables(node);\n        const numVariables = variables.length;\n        let variablesWritten = 0;\n        let pendingExpressions = [];\n        while (variablesWritten < numVariables) {\n          for (let i = variablesWritten; i < numVariables; i++) {\n            const variable = variables[i];\n            if (containsYield(variable.initializer) && pendingExpressions.length > 0) {\n              break;\n            }\n            pendingExpressions.push(transformInitializedVariable(variable));\n          }\n          if (pendingExpressions.length) {\n            emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)));\n            variablesWritten += pendingExpressions.length;\n            pendingExpressions = [];\n          }\n        }\n        return void 0;\n      }\n      function transformInitializedVariable(node) {\n        return setSourceMapRange(\n          factory2.createAssignment(\n            setSourceMapRange(factory2.cloneNode(node.name), node.name),\n            Debug2.checkDefined(visitNode(node.initializer, visitor, isExpression))\n          ),\n          node\n        );\n      }\n      function transformAndEmitIfStatement(node) {\n        if (containsYield(node)) {\n          if (containsYield(node.thenStatement) || containsYield(node.elseStatement)) {\n            const endLabel = defineLabel();\n            const elseLabel = node.elseStatement ? defineLabel() : void 0;\n            emitBreakWhenFalse(\n              node.elseStatement ? elseLabel : endLabel,\n              Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n              /*location*/\n              node.expression\n            );\n            transformAndEmitEmbeddedStatement(node.thenStatement);\n            if (node.elseStatement) {\n              emitBreak(endLabel);\n              markLabel(elseLabel);\n              transformAndEmitEmbeddedStatement(node.elseStatement);\n            }\n            markLabel(endLabel);\n          } else {\n            emitStatement(visitNode(node, visitor, isStatement));\n          }\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function transformAndEmitDoStatement(node) {\n        if (containsYield(node)) {\n          const conditionLabel = defineLabel();\n          const loopLabel = defineLabel();\n          beginLoopBlock(\n            /*continueLabel*/\n            conditionLabel\n          );\n          markLabel(loopLabel);\n          transformAndEmitEmbeddedStatement(node.statement);\n          markLabel(conditionLabel);\n          emitBreakWhenTrue(loopLabel, Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)));\n          endLoopBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function visitDoStatement(node) {\n        if (inStatementContainingYield) {\n          beginScriptLoopBlock();\n          node = visitEachChild(node, visitor, context);\n          endLoopBlock();\n          return node;\n        } else {\n          return visitEachChild(node, visitor, context);\n        }\n      }\n      function transformAndEmitWhileStatement(node) {\n        if (containsYield(node)) {\n          const loopLabel = defineLabel();\n          const endLabel = beginLoopBlock(loopLabel);\n          markLabel(loopLabel);\n          emitBreakWhenFalse(endLabel, Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)));\n          transformAndEmitEmbeddedStatement(node.statement);\n          emitBreak(loopLabel);\n          endLoopBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function visitWhileStatement(node) {\n        if (inStatementContainingYield) {\n          beginScriptLoopBlock();\n          node = visitEachChild(node, visitor, context);\n          endLoopBlock();\n          return node;\n        } else {\n          return visitEachChild(node, visitor, context);\n        }\n      }\n      function transformAndEmitForStatement(node) {\n        if (containsYield(node)) {\n          const conditionLabel = defineLabel();\n          const incrementLabel = defineLabel();\n          const endLabel = beginLoopBlock(incrementLabel);\n          if (node.initializer) {\n            const initializer = node.initializer;\n            if (isVariableDeclarationList(initializer)) {\n              transformAndEmitVariableDeclarationList(initializer);\n            } else {\n              emitStatement(\n                setTextRange(\n                  factory2.createExpressionStatement(\n                    Debug2.checkDefined(visitNode(initializer, visitor, isExpression))\n                  ),\n                  initializer\n                )\n              );\n            }\n          }\n          markLabel(conditionLabel);\n          if (node.condition) {\n            emitBreakWhenFalse(endLabel, Debug2.checkDefined(visitNode(node.condition, visitor, isExpression)));\n          }\n          transformAndEmitEmbeddedStatement(node.statement);\n          markLabel(incrementLabel);\n          if (node.incrementor) {\n            emitStatement(\n              setTextRange(\n                factory2.createExpressionStatement(\n                  Debug2.checkDefined(visitNode(node.incrementor, visitor, isExpression))\n                ),\n                node.incrementor\n              )\n            );\n          }\n          emitBreak(conditionLabel);\n          endLoopBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function visitForStatement(node) {\n        if (inStatementContainingYield) {\n          beginScriptLoopBlock();\n        }\n        const initializer = node.initializer;\n        if (initializer && isVariableDeclarationList(initializer)) {\n          for (const variable of initializer.declarations) {\n            hoistVariableDeclaration(variable.name);\n          }\n          const variables = getInitializedVariables(initializer);\n          node = factory2.updateForStatement(\n            node,\n            variables.length > 0 ? factory2.inlineExpressions(map(variables, transformInitializedVariable)) : void 0,\n            visitNode(node.condition, visitor, isExpression),\n            visitNode(node.incrementor, visitor, isExpression),\n            visitIterationBody(node.statement, visitor, context)\n          );\n        } else {\n          node = visitEachChild(node, visitor, context);\n        }\n        if (inStatementContainingYield) {\n          endLoopBlock();\n        }\n        return node;\n      }\n      function transformAndEmitForInStatement(node) {\n        if (containsYield(node)) {\n          const obj = declareLocal();\n          const keysArray = declareLocal();\n          const key = declareLocal();\n          const keysIndex = factory2.createLoopVariable();\n          const initializer = node.initializer;\n          hoistVariableDeclaration(keysIndex);\n          emitAssignment(obj, Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)));\n          emitAssignment(keysArray, factory2.createArrayLiteralExpression());\n          emitStatement(\n            factory2.createForInStatement(\n              key,\n              obj,\n              factory2.createExpressionStatement(\n                factory2.createCallExpression(\n                  factory2.createPropertyAccessExpression(keysArray, \"push\"),\n                  /*typeArguments*/\n                  void 0,\n                  [key]\n                )\n              )\n            )\n          );\n          emitAssignment(keysIndex, factory2.createNumericLiteral(0));\n          const conditionLabel = defineLabel();\n          const incrementLabel = defineLabel();\n          const endLoopLabel = beginLoopBlock(incrementLabel);\n          markLabel(conditionLabel);\n          emitBreakWhenFalse(endLoopLabel, factory2.createLessThan(keysIndex, factory2.createPropertyAccessExpression(keysArray, \"length\")));\n          emitAssignment(key, factory2.createElementAccessExpression(keysArray, keysIndex));\n          emitBreakWhenFalse(incrementLabel, factory2.createBinaryExpression(key, 101, obj));\n          let variable;\n          if (isVariableDeclarationList(initializer)) {\n            for (const variable2 of initializer.declarations) {\n              hoistVariableDeclaration(variable2.name);\n            }\n            variable = factory2.cloneNode(initializer.declarations[0].name);\n          } else {\n            variable = Debug2.checkDefined(visitNode(initializer, visitor, isExpression));\n            Debug2.assert(isLeftHandSideExpression(variable));\n          }\n          emitAssignment(variable, key);\n          transformAndEmitEmbeddedStatement(node.statement);\n          markLabel(incrementLabel);\n          emitStatement(factory2.createExpressionStatement(factory2.createPostfixIncrement(keysIndex)));\n          emitBreak(conditionLabel);\n          endLoopBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function visitForInStatement(node) {\n        if (inStatementContainingYield) {\n          beginScriptLoopBlock();\n        }\n        const initializer = node.initializer;\n        if (isVariableDeclarationList(initializer)) {\n          for (const variable of initializer.declarations) {\n            hoistVariableDeclaration(variable.name);\n          }\n          node = factory2.updateForInStatement(\n            node,\n            initializer.declarations[0].name,\n            Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)),\n            Debug2.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock))\n          );\n        } else {\n          node = visitEachChild(node, visitor, context);\n        }\n        if (inStatementContainingYield) {\n          endLoopBlock();\n        }\n        return node;\n      }\n      function transformAndEmitContinueStatement(node) {\n        const label = findContinueTarget(node.label ? idText(node.label) : void 0);\n        if (label > 0) {\n          emitBreak(\n            label,\n            /*location*/\n            node\n          );\n        } else {\n          emitStatement(node);\n        }\n      }\n      function visitContinueStatement(node) {\n        if (inStatementContainingYield) {\n          const label = findContinueTarget(node.label && idText(node.label));\n          if (label > 0) {\n            return createInlineBreak(\n              label,\n              /*location*/\n              node\n            );\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function transformAndEmitBreakStatement(node) {\n        const label = findBreakTarget(node.label ? idText(node.label) : void 0);\n        if (label > 0) {\n          emitBreak(\n            label,\n            /*location*/\n            node\n          );\n        } else {\n          emitStatement(node);\n        }\n      }\n      function visitBreakStatement(node) {\n        if (inStatementContainingYield) {\n          const label = findBreakTarget(node.label && idText(node.label));\n          if (label > 0) {\n            return createInlineBreak(\n              label,\n              /*location*/\n              node\n            );\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function transformAndEmitReturnStatement(node) {\n        emitReturn(\n          visitNode(node.expression, visitor, isExpression),\n          /*location*/\n          node\n        );\n      }\n      function visitReturnStatement(node) {\n        return createInlineReturn(\n          visitNode(node.expression, visitor, isExpression),\n          /*location*/\n          node\n        );\n      }\n      function transformAndEmitWithStatement(node) {\n        if (containsYield(node)) {\n          beginWithBlock(cacheExpression(Debug2.checkDefined(visitNode(node.expression, visitor, isExpression))));\n          transformAndEmitEmbeddedStatement(node.statement);\n          endWithBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function transformAndEmitSwitchStatement(node) {\n        if (containsYield(node.caseBlock)) {\n          const caseBlock = node.caseBlock;\n          const numClauses = caseBlock.clauses.length;\n          const endLabel = beginSwitchBlock();\n          const expression = cacheExpression(Debug2.checkDefined(visitNode(node.expression, visitor, isExpression)));\n          const clauseLabels = [];\n          let defaultClauseIndex = -1;\n          for (let i = 0; i < numClauses; i++) {\n            const clause = caseBlock.clauses[i];\n            clauseLabels.push(defineLabel());\n            if (clause.kind === 293 && defaultClauseIndex === -1) {\n              defaultClauseIndex = i;\n            }\n          }\n          let clausesWritten = 0;\n          let pendingClauses = [];\n          while (clausesWritten < numClauses) {\n            let defaultClausesSkipped = 0;\n            for (let i = clausesWritten; i < numClauses; i++) {\n              const clause = caseBlock.clauses[i];\n              if (clause.kind === 292) {\n                if (containsYield(clause.expression) && pendingClauses.length > 0) {\n                  break;\n                }\n                pendingClauses.push(\n                  factory2.createCaseClause(\n                    Debug2.checkDefined(visitNode(clause.expression, visitor, isExpression)),\n                    [\n                      createInlineBreak(\n                        clauseLabels[i],\n                        /*location*/\n                        clause.expression\n                      )\n                    ]\n                  )\n                );\n              } else {\n                defaultClausesSkipped++;\n              }\n            }\n            if (pendingClauses.length) {\n              emitStatement(factory2.createSwitchStatement(expression, factory2.createCaseBlock(pendingClauses)));\n              clausesWritten += pendingClauses.length;\n              pendingClauses = [];\n            }\n            if (defaultClausesSkipped > 0) {\n              clausesWritten += defaultClausesSkipped;\n              defaultClausesSkipped = 0;\n            }\n          }\n          if (defaultClauseIndex >= 0) {\n            emitBreak(clauseLabels[defaultClauseIndex]);\n          } else {\n            emitBreak(endLabel);\n          }\n          for (let i = 0; i < numClauses; i++) {\n            markLabel(clauseLabels[i]);\n            transformAndEmitStatements(caseBlock.clauses[i].statements);\n          }\n          endSwitchBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function visitSwitchStatement(node) {\n        if (inStatementContainingYield) {\n          beginScriptSwitchBlock();\n        }\n        node = visitEachChild(node, visitor, context);\n        if (inStatementContainingYield) {\n          endSwitchBlock();\n        }\n        return node;\n      }\n      function transformAndEmitLabeledStatement(node) {\n        if (containsYield(node)) {\n          beginLabeledBlock(idText(node.label));\n          transformAndEmitEmbeddedStatement(node.statement);\n          endLabeledBlock();\n        } else {\n          emitStatement(visitNode(node, visitor, isStatement));\n        }\n      }\n      function visitLabeledStatement(node) {\n        if (inStatementContainingYield) {\n          beginScriptLabeledBlock(idText(node.label));\n        }\n        node = visitEachChild(node, visitor, context);\n        if (inStatementContainingYield) {\n          endLabeledBlock();\n        }\n        return node;\n      }\n      function transformAndEmitThrowStatement(node) {\n        var _a22;\n        emitThrow(\n          Debug2.checkDefined(visitNode((_a22 = node.expression) != null ? _a22 : factory2.createVoidZero(), visitor, isExpression)),\n          /*location*/\n          node\n        );\n      }\n      function transformAndEmitTryStatement(node) {\n        if (containsYield(node)) {\n          beginExceptionBlock();\n          transformAndEmitEmbeddedStatement(node.tryBlock);\n          if (node.catchClause) {\n            beginCatchBlock(node.catchClause.variableDeclaration);\n            transformAndEmitEmbeddedStatement(node.catchClause.block);\n          }\n          if (node.finallyBlock) {\n            beginFinallyBlock();\n            transformAndEmitEmbeddedStatement(node.finallyBlock);\n          }\n          endExceptionBlock();\n        } else {\n          emitStatement(visitEachChild(node, visitor, context));\n        }\n      }\n      function containsYield(node) {\n        return !!node && (node.transformFlags & 1048576) !== 0;\n      }\n      function countInitialNodesWithoutYield(nodes) {\n        const numNodes = nodes.length;\n        for (let i = 0; i < numNodes; i++) {\n          if (containsYield(nodes[i])) {\n            return i;\n          }\n        }\n        return -1;\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (hint === 1) {\n          return substituteExpression(node);\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        if (isIdentifier(node)) {\n          return substituteExpressionIdentifier(node);\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        if (!isGeneratedIdentifier(node) && renamedCatchVariables && renamedCatchVariables.has(idText(node))) {\n          const original = getOriginalNode(node);\n          if (isIdentifier(original) && original.parent) {\n            const declaration = resolver.getReferencedValueDeclaration(original);\n            if (declaration) {\n              const name = renamedCatchVariableDeclarations[getOriginalNodeId(declaration)];\n              if (name) {\n                const clone2 = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);\n                setSourceMapRange(clone2, node);\n                setCommentRange(clone2, node);\n                return clone2;\n              }\n            }\n          }\n        }\n        return node;\n      }\n      function cacheExpression(node) {\n        if (isGeneratedIdentifier(node) || getEmitFlags(node) & 8192) {\n          return node;\n        }\n        const temp = factory2.createTempVariable(hoistVariableDeclaration);\n        emitAssignment(\n          temp,\n          node,\n          /*location*/\n          node\n        );\n        return temp;\n      }\n      function declareLocal(name) {\n        const temp = name ? factory2.createUniqueName(name) : factory2.createTempVariable(\n          /*recordTempVariable*/\n          void 0\n        );\n        hoistVariableDeclaration(temp);\n        return temp;\n      }\n      function defineLabel() {\n        if (!labelOffsets) {\n          labelOffsets = [];\n        }\n        const label = nextLabelId;\n        nextLabelId++;\n        labelOffsets[label] = -1;\n        return label;\n      }\n      function markLabel(label) {\n        Debug2.assert(labelOffsets !== void 0, \"No labels were defined.\");\n        labelOffsets[label] = operations ? operations.length : 0;\n      }\n      function beginBlock(block) {\n        if (!blocks) {\n          blocks = [];\n          blockActions = [];\n          blockOffsets = [];\n          blockStack = [];\n        }\n        const index = blockActions.length;\n        blockActions[index] = 0;\n        blockOffsets[index] = operations ? operations.length : 0;\n        blocks[index] = block;\n        blockStack.push(block);\n        return index;\n      }\n      function endBlock() {\n        const block = peekBlock();\n        if (block === void 0)\n          return Debug2.fail(\"beginBlock was never called.\");\n        const index = blockActions.length;\n        blockActions[index] = 1;\n        blockOffsets[index] = operations ? operations.length : 0;\n        blocks[index] = block;\n        blockStack.pop();\n        return block;\n      }\n      function peekBlock() {\n        return lastOrUndefined(blockStack);\n      }\n      function peekBlockKind() {\n        const block = peekBlock();\n        return block && block.kind;\n      }\n      function beginWithBlock(expression) {\n        const startLabel = defineLabel();\n        const endLabel = defineLabel();\n        markLabel(startLabel);\n        beginBlock({\n          kind: 1,\n          expression,\n          startLabel,\n          endLabel\n        });\n      }\n      function endWithBlock() {\n        Debug2.assert(\n          peekBlockKind() === 1\n          /* With */\n        );\n        const block = endBlock();\n        markLabel(block.endLabel);\n      }\n      function beginExceptionBlock() {\n        const startLabel = defineLabel();\n        const endLabel = defineLabel();\n        markLabel(startLabel);\n        beginBlock({\n          kind: 0,\n          state: 0,\n          startLabel,\n          endLabel\n        });\n        emitNop();\n        return endLabel;\n      }\n      function beginCatchBlock(variable) {\n        Debug2.assert(\n          peekBlockKind() === 0\n          /* Exception */\n        );\n        let name;\n        if (isGeneratedIdentifier(variable.name)) {\n          name = variable.name;\n          hoistVariableDeclaration(variable.name);\n        } else {\n          const text = idText(variable.name);\n          name = declareLocal(text);\n          if (!renamedCatchVariables) {\n            renamedCatchVariables = /* @__PURE__ */ new Map();\n            renamedCatchVariableDeclarations = [];\n            context.enableSubstitution(\n              79\n              /* Identifier */\n            );\n          }\n          renamedCatchVariables.set(text, true);\n          renamedCatchVariableDeclarations[getOriginalNodeId(variable)] = name;\n        }\n        const exception = peekBlock();\n        Debug2.assert(\n          exception.state < 1\n          /* Catch */\n        );\n        const endLabel = exception.endLabel;\n        emitBreak(endLabel);\n        const catchLabel = defineLabel();\n        markLabel(catchLabel);\n        exception.state = 1;\n        exception.catchVariable = name;\n        exception.catchLabel = catchLabel;\n        emitAssignment(name, factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(state, \"sent\"),\n          /*typeArguments*/\n          void 0,\n          []\n        ));\n        emitNop();\n      }\n      function beginFinallyBlock() {\n        Debug2.assert(\n          peekBlockKind() === 0\n          /* Exception */\n        );\n        const exception = peekBlock();\n        Debug2.assert(\n          exception.state < 2\n          /* Finally */\n        );\n        const endLabel = exception.endLabel;\n        emitBreak(endLabel);\n        const finallyLabel = defineLabel();\n        markLabel(finallyLabel);\n        exception.state = 2;\n        exception.finallyLabel = finallyLabel;\n      }\n      function endExceptionBlock() {\n        Debug2.assert(\n          peekBlockKind() === 0\n          /* Exception */\n        );\n        const exception = endBlock();\n        const state2 = exception.state;\n        if (state2 < 2) {\n          emitBreak(exception.endLabel);\n        } else {\n          emitEndfinally();\n        }\n        markLabel(exception.endLabel);\n        emitNop();\n        exception.state = 3;\n      }\n      function beginScriptLoopBlock() {\n        beginBlock({\n          kind: 3,\n          isScript: true,\n          breakLabel: -1,\n          continueLabel: -1\n        });\n      }\n      function beginLoopBlock(continueLabel) {\n        const breakLabel = defineLabel();\n        beginBlock({\n          kind: 3,\n          isScript: false,\n          breakLabel,\n          continueLabel\n        });\n        return breakLabel;\n      }\n      function endLoopBlock() {\n        Debug2.assert(\n          peekBlockKind() === 3\n          /* Loop */\n        );\n        const block = endBlock();\n        const breakLabel = block.breakLabel;\n        if (!block.isScript) {\n          markLabel(breakLabel);\n        }\n      }\n      function beginScriptSwitchBlock() {\n        beginBlock({\n          kind: 2,\n          isScript: true,\n          breakLabel: -1\n        });\n      }\n      function beginSwitchBlock() {\n        const breakLabel = defineLabel();\n        beginBlock({\n          kind: 2,\n          isScript: false,\n          breakLabel\n        });\n        return breakLabel;\n      }\n      function endSwitchBlock() {\n        Debug2.assert(\n          peekBlockKind() === 2\n          /* Switch */\n        );\n        const block = endBlock();\n        const breakLabel = block.breakLabel;\n        if (!block.isScript) {\n          markLabel(breakLabel);\n        }\n      }\n      function beginScriptLabeledBlock(labelText) {\n        beginBlock({\n          kind: 4,\n          isScript: true,\n          labelText,\n          breakLabel: -1\n        });\n      }\n      function beginLabeledBlock(labelText) {\n        const breakLabel = defineLabel();\n        beginBlock({\n          kind: 4,\n          isScript: false,\n          labelText,\n          breakLabel\n        });\n      }\n      function endLabeledBlock() {\n        Debug2.assert(\n          peekBlockKind() === 4\n          /* Labeled */\n        );\n        const block = endBlock();\n        if (!block.isScript) {\n          markLabel(block.breakLabel);\n        }\n      }\n      function supportsUnlabeledBreak(block) {\n        return block.kind === 2 || block.kind === 3;\n      }\n      function supportsLabeledBreakOrContinue(block) {\n        return block.kind === 4;\n      }\n      function supportsUnlabeledContinue(block) {\n        return block.kind === 3;\n      }\n      function hasImmediateContainingLabeledBlock(labelText, start) {\n        for (let j = start; j >= 0; j--) {\n          const containingBlock = blockStack[j];\n          if (supportsLabeledBreakOrContinue(containingBlock)) {\n            if (containingBlock.labelText === labelText) {\n              return true;\n            }\n          } else {\n            break;\n          }\n        }\n        return false;\n      }\n      function findBreakTarget(labelText) {\n        if (blockStack) {\n          if (labelText) {\n            for (let i = blockStack.length - 1; i >= 0; i--) {\n              const block = blockStack[i];\n              if (supportsLabeledBreakOrContinue(block) && block.labelText === labelText) {\n                return block.breakLabel;\n              } else if (supportsUnlabeledBreak(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) {\n                return block.breakLabel;\n              }\n            }\n          } else {\n            for (let i = blockStack.length - 1; i >= 0; i--) {\n              const block = blockStack[i];\n              if (supportsUnlabeledBreak(block)) {\n                return block.breakLabel;\n              }\n            }\n          }\n        }\n        return 0;\n      }\n      function findContinueTarget(labelText) {\n        if (blockStack) {\n          if (labelText) {\n            for (let i = blockStack.length - 1; i >= 0; i--) {\n              const block = blockStack[i];\n              if (supportsUnlabeledContinue(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) {\n                return block.continueLabel;\n              }\n            }\n          } else {\n            for (let i = blockStack.length - 1; i >= 0; i--) {\n              const block = blockStack[i];\n              if (supportsUnlabeledContinue(block)) {\n                return block.continueLabel;\n              }\n            }\n          }\n        }\n        return 0;\n      }\n      function createLabel(label) {\n        if (label !== void 0 && label > 0) {\n          if (labelExpressions === void 0) {\n            labelExpressions = [];\n          }\n          const expression = factory2.createNumericLiteral(-1);\n          if (labelExpressions[label] === void 0) {\n            labelExpressions[label] = [expression];\n          } else {\n            labelExpressions[label].push(expression);\n          }\n          return expression;\n        }\n        return factory2.createOmittedExpression();\n      }\n      function createInstruction(instruction) {\n        const literal = factory2.createNumericLiteral(instruction);\n        addSyntheticTrailingComment(literal, 3, getInstructionName(instruction));\n        return literal;\n      }\n      function createInlineBreak(label, location) {\n        Debug2.assertLessThan(0, label, \"Invalid label\");\n        return setTextRange(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression([\n              createInstruction(\n                3\n                /* Break */\n              ),\n              createLabel(label)\n            ])\n          ),\n          location\n        );\n      }\n      function createInlineReturn(expression, location) {\n        return setTextRange(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression(\n              expression ? [createInstruction(\n                2\n                /* Return */\n              ), expression] : [createInstruction(\n                2\n                /* Return */\n              )]\n            )\n          ),\n          location\n        );\n      }\n      function createGeneratorResume(location) {\n        return setTextRange(\n          factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(state, \"sent\"),\n            /*typeArguments*/\n            void 0,\n            []\n          ),\n          location\n        );\n      }\n      function emitNop() {\n        emitWorker(\n          0\n          /* Nop */\n        );\n      }\n      function emitStatement(node) {\n        if (node) {\n          emitWorker(1, [node]);\n        } else {\n          emitNop();\n        }\n      }\n      function emitAssignment(left, right, location) {\n        emitWorker(2, [left, right], location);\n      }\n      function emitBreak(label, location) {\n        emitWorker(3, [label], location);\n      }\n      function emitBreakWhenTrue(label, condition, location) {\n        emitWorker(4, [label, condition], location);\n      }\n      function emitBreakWhenFalse(label, condition, location) {\n        emitWorker(5, [label, condition], location);\n      }\n      function emitYieldStar(expression, location) {\n        emitWorker(7, [expression], location);\n      }\n      function emitYield(expression, location) {\n        emitWorker(6, [expression], location);\n      }\n      function emitReturn(expression, location) {\n        emitWorker(8, [expression], location);\n      }\n      function emitThrow(expression, location) {\n        emitWorker(9, [expression], location);\n      }\n      function emitEndfinally() {\n        emitWorker(\n          10\n          /* Endfinally */\n        );\n      }\n      function emitWorker(code, args, location) {\n        if (operations === void 0) {\n          operations = [];\n          operationArguments = [];\n          operationLocations = [];\n        }\n        if (labelOffsets === void 0) {\n          markLabel(defineLabel());\n        }\n        const operationIndex = operations.length;\n        operations[operationIndex] = code;\n        operationArguments[operationIndex] = args;\n        operationLocations[operationIndex] = location;\n      }\n      function build2() {\n        blockIndex = 0;\n        labelNumber = 0;\n        labelNumbers = void 0;\n        lastOperationWasAbrupt = false;\n        lastOperationWasCompletion = false;\n        clauses = void 0;\n        statements = void 0;\n        exceptionBlockStack = void 0;\n        currentExceptionBlock = void 0;\n        withBlockStack = void 0;\n        const buildResult = buildStatements();\n        return emitHelpers().createGeneratorHelper(\n          setEmitFlags(\n            factory2.createFunctionExpression(\n              /*modifiers*/\n              void 0,\n              /*asteriskToken*/\n              void 0,\n              /*name*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                state\n              )],\n              /*type*/\n              void 0,\n              factory2.createBlock(\n                buildResult,\n                /*multiLine*/\n                buildResult.length > 0\n              )\n            ),\n            1048576\n            /* ReuseTempVariableScope */\n          )\n        );\n      }\n      function buildStatements() {\n        if (operations) {\n          for (let operationIndex = 0; operationIndex < operations.length; operationIndex++) {\n            writeOperation(operationIndex);\n          }\n          flushFinalLabel(operations.length);\n        } else {\n          flushFinalLabel(0);\n        }\n        if (clauses) {\n          const labelExpression = factory2.createPropertyAccessExpression(state, \"label\");\n          const switchStatement = factory2.createSwitchStatement(labelExpression, factory2.createCaseBlock(clauses));\n          return [startOnNewLine(switchStatement)];\n        }\n        if (statements) {\n          return statements;\n        }\n        return [];\n      }\n      function flushLabel() {\n        if (!statements) {\n          return;\n        }\n        appendLabel(\n          /*markLabelEnd*/\n          !lastOperationWasAbrupt\n        );\n        lastOperationWasAbrupt = false;\n        lastOperationWasCompletion = false;\n        labelNumber++;\n      }\n      function flushFinalLabel(operationIndex) {\n        if (isFinalLabelReachable(operationIndex)) {\n          tryEnterLabel(operationIndex);\n          withBlockStack = void 0;\n          writeReturn(\n            /*expression*/\n            void 0,\n            /*operationLocation*/\n            void 0\n          );\n        }\n        if (statements && clauses) {\n          appendLabel(\n            /*markLabelEnd*/\n            false\n          );\n        }\n        updateLabelExpressions();\n      }\n      function isFinalLabelReachable(operationIndex) {\n        if (!lastOperationWasCompletion) {\n          return true;\n        }\n        if (!labelOffsets || !labelExpressions) {\n          return false;\n        }\n        for (let label = 0; label < labelOffsets.length; label++) {\n          if (labelOffsets[label] === operationIndex && labelExpressions[label]) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function appendLabel(markLabelEnd) {\n        if (!clauses) {\n          clauses = [];\n        }\n        if (statements) {\n          if (withBlockStack) {\n            for (let i = withBlockStack.length - 1; i >= 0; i--) {\n              const withBlock = withBlockStack[i];\n              statements = [factory2.createWithStatement(withBlock.expression, factory2.createBlock(statements))];\n            }\n          }\n          if (currentExceptionBlock) {\n            const { startLabel, catchLabel, finallyLabel, endLabel } = currentExceptionBlock;\n            statements.unshift(\n              factory2.createExpressionStatement(\n                factory2.createCallExpression(\n                  factory2.createPropertyAccessExpression(factory2.createPropertyAccessExpression(state, \"trys\"), \"push\"),\n                  /*typeArguments*/\n                  void 0,\n                  [\n                    factory2.createArrayLiteralExpression([\n                      createLabel(startLabel),\n                      createLabel(catchLabel),\n                      createLabel(finallyLabel),\n                      createLabel(endLabel)\n                    ])\n                  ]\n                )\n              )\n            );\n            currentExceptionBlock = void 0;\n          }\n          if (markLabelEnd) {\n            statements.push(\n              factory2.createExpressionStatement(\n                factory2.createAssignment(\n                  factory2.createPropertyAccessExpression(state, \"label\"),\n                  factory2.createNumericLiteral(labelNumber + 1)\n                )\n              )\n            );\n          }\n        }\n        clauses.push(\n          factory2.createCaseClause(\n            factory2.createNumericLiteral(labelNumber),\n            statements || []\n          )\n        );\n        statements = void 0;\n      }\n      function tryEnterLabel(operationIndex) {\n        if (!labelOffsets) {\n          return;\n        }\n        for (let label = 0; label < labelOffsets.length; label++) {\n          if (labelOffsets[label] === operationIndex) {\n            flushLabel();\n            if (labelNumbers === void 0) {\n              labelNumbers = [];\n            }\n            if (labelNumbers[labelNumber] === void 0) {\n              labelNumbers[labelNumber] = [label];\n            } else {\n              labelNumbers[labelNumber].push(label);\n            }\n          }\n        }\n      }\n      function updateLabelExpressions() {\n        if (labelExpressions !== void 0 && labelNumbers !== void 0) {\n          for (let labelNumber2 = 0; labelNumber2 < labelNumbers.length; labelNumber2++) {\n            const labels = labelNumbers[labelNumber2];\n            if (labels !== void 0) {\n              for (const label of labels) {\n                const expressions = labelExpressions[label];\n                if (expressions !== void 0) {\n                  for (const expression of expressions) {\n                    expression.text = String(labelNumber2);\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n      function tryEnterOrLeaveBlock(operationIndex) {\n        if (blocks) {\n          for (; blockIndex < blockActions.length && blockOffsets[blockIndex] <= operationIndex; blockIndex++) {\n            const block = blocks[blockIndex];\n            const blockAction = blockActions[blockIndex];\n            switch (block.kind) {\n              case 0:\n                if (blockAction === 0) {\n                  if (!exceptionBlockStack) {\n                    exceptionBlockStack = [];\n                  }\n                  if (!statements) {\n                    statements = [];\n                  }\n                  exceptionBlockStack.push(currentExceptionBlock);\n                  currentExceptionBlock = block;\n                } else if (blockAction === 1) {\n                  currentExceptionBlock = exceptionBlockStack.pop();\n                }\n                break;\n              case 1:\n                if (blockAction === 0) {\n                  if (!withBlockStack) {\n                    withBlockStack = [];\n                  }\n                  withBlockStack.push(block);\n                } else if (blockAction === 1) {\n                  withBlockStack.pop();\n                }\n                break;\n            }\n          }\n        }\n      }\n      function writeOperation(operationIndex) {\n        tryEnterLabel(operationIndex);\n        tryEnterOrLeaveBlock(operationIndex);\n        if (lastOperationWasAbrupt) {\n          return;\n        }\n        lastOperationWasAbrupt = false;\n        lastOperationWasCompletion = false;\n        const opcode = operations[operationIndex];\n        if (opcode === 0) {\n          return;\n        } else if (opcode === 10) {\n          return writeEndfinally();\n        }\n        const args = operationArguments[operationIndex];\n        if (opcode === 1) {\n          return writeStatement(args[0]);\n        }\n        const location = operationLocations[operationIndex];\n        switch (opcode) {\n          case 2:\n            return writeAssign(args[0], args[1], location);\n          case 3:\n            return writeBreak(args[0], location);\n          case 4:\n            return writeBreakWhenTrue(args[0], args[1], location);\n          case 5:\n            return writeBreakWhenFalse(args[0], args[1], location);\n          case 6:\n            return writeYield(args[0], location);\n          case 7:\n            return writeYieldStar(args[0], location);\n          case 8:\n            return writeReturn(args[0], location);\n          case 9:\n            return writeThrow(args[0], location);\n        }\n      }\n      function writeStatement(statement) {\n        if (statement) {\n          if (!statements) {\n            statements = [statement];\n          } else {\n            statements.push(statement);\n          }\n        }\n      }\n      function writeAssign(left, right, operationLocation) {\n        writeStatement(setTextRange(factory2.createExpressionStatement(factory2.createAssignment(left, right)), operationLocation));\n      }\n      function writeThrow(expression, operationLocation) {\n        lastOperationWasAbrupt = true;\n        lastOperationWasCompletion = true;\n        writeStatement(setTextRange(factory2.createThrowStatement(expression), operationLocation));\n      }\n      function writeReturn(expression, operationLocation) {\n        lastOperationWasAbrupt = true;\n        lastOperationWasCompletion = true;\n        writeStatement(\n          setEmitFlags(\n            setTextRange(\n              factory2.createReturnStatement(\n                factory2.createArrayLiteralExpression(\n                  expression ? [createInstruction(\n                    2\n                    /* Return */\n                  ), expression] : [createInstruction(\n                    2\n                    /* Return */\n                  )]\n                )\n              ),\n              operationLocation\n            ),\n            768\n            /* NoTokenSourceMaps */\n          )\n        );\n      }\n      function writeBreak(label, operationLocation) {\n        lastOperationWasAbrupt = true;\n        writeStatement(\n          setEmitFlags(\n            setTextRange(\n              factory2.createReturnStatement(\n                factory2.createArrayLiteralExpression([\n                  createInstruction(\n                    3\n                    /* Break */\n                  ),\n                  createLabel(label)\n                ])\n              ),\n              operationLocation\n            ),\n            768\n            /* NoTokenSourceMaps */\n          )\n        );\n      }\n      function writeBreakWhenTrue(label, condition, operationLocation) {\n        writeStatement(\n          setEmitFlags(\n            factory2.createIfStatement(\n              condition,\n              setEmitFlags(\n                setTextRange(\n                  factory2.createReturnStatement(\n                    factory2.createArrayLiteralExpression([\n                      createInstruction(\n                        3\n                        /* Break */\n                      ),\n                      createLabel(label)\n                    ])\n                  ),\n                  operationLocation\n                ),\n                768\n                /* NoTokenSourceMaps */\n              )\n            ),\n            1\n            /* SingleLine */\n          )\n        );\n      }\n      function writeBreakWhenFalse(label, condition, operationLocation) {\n        writeStatement(\n          setEmitFlags(\n            factory2.createIfStatement(\n              factory2.createLogicalNot(condition),\n              setEmitFlags(\n                setTextRange(\n                  factory2.createReturnStatement(\n                    factory2.createArrayLiteralExpression([\n                      createInstruction(\n                        3\n                        /* Break */\n                      ),\n                      createLabel(label)\n                    ])\n                  ),\n                  operationLocation\n                ),\n                768\n                /* NoTokenSourceMaps */\n              )\n            ),\n            1\n            /* SingleLine */\n          )\n        );\n      }\n      function writeYield(expression, operationLocation) {\n        lastOperationWasAbrupt = true;\n        writeStatement(\n          setEmitFlags(\n            setTextRange(\n              factory2.createReturnStatement(\n                factory2.createArrayLiteralExpression(\n                  expression ? [createInstruction(\n                    4\n                    /* Yield */\n                  ), expression] : [createInstruction(\n                    4\n                    /* Yield */\n                  )]\n                )\n              ),\n              operationLocation\n            ),\n            768\n            /* NoTokenSourceMaps */\n          )\n        );\n      }\n      function writeYieldStar(expression, operationLocation) {\n        lastOperationWasAbrupt = true;\n        writeStatement(\n          setEmitFlags(\n            setTextRange(\n              factory2.createReturnStatement(\n                factory2.createArrayLiteralExpression([\n                  createInstruction(\n                    5\n                    /* YieldStar */\n                  ),\n                  expression\n                ])\n              ),\n              operationLocation\n            ),\n            768\n            /* NoTokenSourceMaps */\n          )\n        );\n      }\n      function writeEndfinally() {\n        lastOperationWasAbrupt = true;\n        writeStatement(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression([\n              createInstruction(\n                7\n                /* Endfinally */\n              )\n            ])\n          )\n        );\n      }\n    }\n    var init_generators = __esm({\n      \"src/compiler/transformers/generators.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformModule(context) {\n      function getTransformModuleDelegate(moduleKind2) {\n        switch (moduleKind2) {\n          case 2:\n            return transformAMDModule;\n          case 3:\n            return transformUMDModule;\n          default:\n            return transformCommonJSModule;\n        }\n      }\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers,\n        startLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      const compilerOptions = context.getCompilerOptions();\n      const resolver = context.getEmitResolver();\n      const host = context.getEmitHost();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const moduleKind = getEmitModuleKind(compilerOptions);\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      const previousOnEmitNode = context.onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      context.onEmitNode = onEmitNode;\n      context.enableSubstitution(\n        210\n        /* CallExpression */\n      );\n      context.enableSubstitution(\n        212\n        /* TaggedTemplateExpression */\n      );\n      context.enableSubstitution(\n        79\n        /* Identifier */\n      );\n      context.enableSubstitution(\n        223\n        /* BinaryExpression */\n      );\n      context.enableSubstitution(\n        300\n        /* ShorthandPropertyAssignment */\n      );\n      context.enableEmitNotification(\n        308\n        /* SourceFile */\n      );\n      const moduleInfoMap = [];\n      const deferredExports = [];\n      let currentSourceFile;\n      let currentModuleInfo;\n      const noSubstitution = [];\n      let needUMDDynamicImportHelper;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 || isJsonSourceFile(node) && hasJsonModuleEmitEnabled(compilerOptions) && outFile(compilerOptions))) {\n          return node;\n        }\n        currentSourceFile = node;\n        currentModuleInfo = collectExternalModuleInfo(context, node, resolver, compilerOptions);\n        moduleInfoMap[getOriginalNodeId(node)] = currentModuleInfo;\n        const transformModule2 = getTransformModuleDelegate(moduleKind);\n        const updated = transformModule2(node);\n        currentSourceFile = void 0;\n        currentModuleInfo = void 0;\n        needUMDDynamicImportHelper = false;\n        return updated;\n      }\n      function shouldEmitUnderscoreUnderscoreESModule() {\n        if (!currentModuleInfo.exportEquals && isExternalModule(currentSourceFile)) {\n          return true;\n        }\n        return false;\n      }\n      function transformCommonJSModule(node) {\n        startLexicalEnvironment();\n        const statements = [];\n        const ensureUseStrict = getStrictOptionValue(compilerOptions, \"alwaysStrict\") || !compilerOptions.noImplicitUseStrict && isExternalModule(currentSourceFile);\n        const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict && !isJsonSourceFile(node), topLevelVisitor);\n        if (shouldEmitUnderscoreUnderscoreESModule()) {\n          append(statements, createUnderscoreUnderscoreESModule());\n        }\n        if (length(currentModuleInfo.exportedNames)) {\n          const chunkSize = 50;\n          for (let i = 0; i < currentModuleInfo.exportedNames.length; i += chunkSize) {\n            append(\n              statements,\n              factory2.createExpressionStatement(\n                reduceLeft(\n                  currentModuleInfo.exportedNames.slice(i, i + chunkSize),\n                  (prev, nextId) => factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier(\"exports\"), factory2.createIdentifier(idText(nextId))), prev),\n                  factory2.createVoidZero()\n                )\n              )\n            );\n          }\n        }\n        append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement));\n        addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset));\n        addExportEqualsIfNeeded(\n          statements,\n          /*emitAsReturn*/\n          false\n        );\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        const updated = factory2.updateSourceFile(node, setTextRange(factory2.createNodeArray(statements), node.statements));\n        addEmitHelpers(updated, context.readEmitHelpers());\n        return updated;\n      }\n      function transformAMDModule(node) {\n        const define = factory2.createIdentifier(\"define\");\n        const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions);\n        const jsonSourceFile = isJsonSourceFile(node) && node;\n        const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies(\n          node,\n          /*includeNonAmdDependencies*/\n          true\n        );\n        const updated = factory2.updateSourceFile(\n          node,\n          setTextRange(\n            factory2.createNodeArray([\n              factory2.createExpressionStatement(\n                factory2.createCallExpression(\n                  define,\n                  /*typeArguments*/\n                  void 0,\n                  [\n                    // Add the module name (if provided).\n                    ...moduleName ? [moduleName] : [],\n                    // Add the dependency array argument:\n                    //\n                    //     [\"require\", \"exports\", module1\", \"module2\", ...]\n                    factory2.createArrayLiteralExpression(jsonSourceFile ? emptyArray : [\n                      factory2.createStringLiteral(\"require\"),\n                      factory2.createStringLiteral(\"exports\"),\n                      ...aliasedModuleNames,\n                      ...unaliasedModuleNames\n                    ]),\n                    // Add the module body function argument:\n                    //\n                    //     function (require, exports, module1, module2) ...\n                    jsonSourceFile ? jsonSourceFile.statements.length ? jsonSourceFile.statements[0].expression : factory2.createObjectLiteralExpression() : factory2.createFunctionExpression(\n                      /*modifiers*/\n                      void 0,\n                      /*asteriskToken*/\n                      void 0,\n                      /*name*/\n                      void 0,\n                      /*typeParameters*/\n                      void 0,\n                      [\n                        factory2.createParameterDeclaration(\n                          /*modifiers*/\n                          void 0,\n                          /*dotDotDotToken*/\n                          void 0,\n                          \"require\"\n                        ),\n                        factory2.createParameterDeclaration(\n                          /*modifiers*/\n                          void 0,\n                          /*dotDotDotToken*/\n                          void 0,\n                          \"exports\"\n                        ),\n                        ...importAliasNames\n                      ],\n                      /*type*/\n                      void 0,\n                      transformAsynchronousModuleBody(node)\n                    )\n                  ]\n                )\n              )\n            ]),\n            /*location*/\n            node.statements\n          )\n        );\n        addEmitHelpers(updated, context.readEmitHelpers());\n        return updated;\n      }\n      function transformUMDModule(node) {\n        const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies(\n          node,\n          /*includeNonAmdDependencies*/\n          false\n        );\n        const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions);\n        const umdHeader = factory2.createFunctionExpression(\n          /*modifiers*/\n          void 0,\n          /*asteriskToken*/\n          void 0,\n          /*name*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          [factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            \"factory\"\n          )],\n          /*type*/\n          void 0,\n          setTextRange(\n            factory2.createBlock(\n              [\n                factory2.createIfStatement(\n                  factory2.createLogicalAnd(\n                    factory2.createTypeCheck(factory2.createIdentifier(\"module\"), \"object\"),\n                    factory2.createTypeCheck(factory2.createPropertyAccessExpression(factory2.createIdentifier(\"module\"), \"exports\"), \"object\")\n                  ),\n                  factory2.createBlock([\n                    factory2.createVariableStatement(\n                      /*modifiers*/\n                      void 0,\n                      [\n                        factory2.createVariableDeclaration(\n                          \"v\",\n                          /*exclamationToken*/\n                          void 0,\n                          /*type*/\n                          void 0,\n                          factory2.createCallExpression(\n                            factory2.createIdentifier(\"factory\"),\n                            /*typeArguments*/\n                            void 0,\n                            [\n                              factory2.createIdentifier(\"require\"),\n                              factory2.createIdentifier(\"exports\")\n                            ]\n                          )\n                        )\n                      ]\n                    ),\n                    setEmitFlags(\n                      factory2.createIfStatement(\n                        factory2.createStrictInequality(\n                          factory2.createIdentifier(\"v\"),\n                          factory2.createIdentifier(\"undefined\")\n                        ),\n                        factory2.createExpressionStatement(\n                          factory2.createAssignment(\n                            factory2.createPropertyAccessExpression(factory2.createIdentifier(\"module\"), \"exports\"),\n                            factory2.createIdentifier(\"v\")\n                          )\n                        )\n                      ),\n                      1\n                      /* SingleLine */\n                    )\n                  ]),\n                  factory2.createIfStatement(\n                    factory2.createLogicalAnd(\n                      factory2.createTypeCheck(factory2.createIdentifier(\"define\"), \"function\"),\n                      factory2.createPropertyAccessExpression(factory2.createIdentifier(\"define\"), \"amd\")\n                    ),\n                    factory2.createBlock([\n                      factory2.createExpressionStatement(\n                        factory2.createCallExpression(\n                          factory2.createIdentifier(\"define\"),\n                          /*typeArguments*/\n                          void 0,\n                          [\n                            // Add the module name (if provided).\n                            ...moduleName ? [moduleName] : [],\n                            factory2.createArrayLiteralExpression([\n                              factory2.createStringLiteral(\"require\"),\n                              factory2.createStringLiteral(\"exports\"),\n                              ...aliasedModuleNames,\n                              ...unaliasedModuleNames\n                            ]),\n                            factory2.createIdentifier(\"factory\")\n                          ]\n                        )\n                      )\n                    ])\n                  )\n                )\n              ],\n              /*multiLine*/\n              true\n            ),\n            /*location*/\n            void 0\n          )\n        );\n        const updated = factory2.updateSourceFile(\n          node,\n          setTextRange(\n            factory2.createNodeArray([\n              factory2.createExpressionStatement(\n                factory2.createCallExpression(\n                  umdHeader,\n                  /*typeArguments*/\n                  void 0,\n                  [\n                    // Add the module body function argument:\n                    //\n                    //     function (require, exports) ...\n                    factory2.createFunctionExpression(\n                      /*modifiers*/\n                      void 0,\n                      /*asteriskToken*/\n                      void 0,\n                      /*name*/\n                      void 0,\n                      /*typeParameters*/\n                      void 0,\n                      [\n                        factory2.createParameterDeclaration(\n                          /*modifiers*/\n                          void 0,\n                          /*dotDotDotToken*/\n                          void 0,\n                          \"require\"\n                        ),\n                        factory2.createParameterDeclaration(\n                          /*modifiers*/\n                          void 0,\n                          /*dotDotDotToken*/\n                          void 0,\n                          \"exports\"\n                        ),\n                        ...importAliasNames\n                      ],\n                      /*type*/\n                      void 0,\n                      transformAsynchronousModuleBody(node)\n                    )\n                  ]\n                )\n              )\n            ]),\n            /*location*/\n            node.statements\n          )\n        );\n        addEmitHelpers(updated, context.readEmitHelpers());\n        return updated;\n      }\n      function collectAsynchronousDependencies(node, includeNonAmdDependencies) {\n        const aliasedModuleNames = [];\n        const unaliasedModuleNames = [];\n        const importAliasNames = [];\n        for (const amdDependency of node.amdDependencies) {\n          if (amdDependency.name) {\n            aliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path));\n            importAliasNames.push(factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              amdDependency.name\n            ));\n          } else {\n            unaliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path));\n          }\n        }\n        for (const importNode of currentModuleInfo.externalImports) {\n          const externalModuleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions);\n          const importAliasName = getLocalNameForExternalImport(factory2, importNode, currentSourceFile);\n          if (externalModuleName) {\n            if (includeNonAmdDependencies && importAliasName) {\n              setEmitFlags(\n                importAliasName,\n                8\n                /* NoSubstitution */\n              );\n              aliasedModuleNames.push(externalModuleName);\n              importAliasNames.push(factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                importAliasName\n              ));\n            } else {\n              unaliasedModuleNames.push(externalModuleName);\n            }\n          }\n        }\n        return { aliasedModuleNames, unaliasedModuleNames, importAliasNames };\n      }\n      function getAMDImportExpressionForImport(node) {\n        if (isImportEqualsDeclaration(node) || isExportDeclaration(node) || !getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions)) {\n          return void 0;\n        }\n        const name = getLocalNameForExternalImport(factory2, node, currentSourceFile);\n        const expr = getHelperExpressionForImport(node, name);\n        if (expr === name) {\n          return void 0;\n        }\n        return factory2.createExpressionStatement(factory2.createAssignment(name, expr));\n      }\n      function transformAsynchronousModuleBody(node) {\n        startLexicalEnvironment();\n        const statements = [];\n        const statementOffset = factory2.copyPrologue(\n          node.statements,\n          statements,\n          /*ensureUseStrict*/\n          !compilerOptions.noImplicitUseStrict,\n          topLevelVisitor\n        );\n        if (shouldEmitUnderscoreUnderscoreESModule()) {\n          append(statements, createUnderscoreUnderscoreESModule());\n        }\n        if (length(currentModuleInfo.exportedNames)) {\n          append(statements, factory2.createExpressionStatement(reduceLeft(currentModuleInfo.exportedNames, (prev, nextId) => factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier(\"exports\"), factory2.createIdentifier(idText(nextId))), prev), factory2.createVoidZero())));\n        }\n        append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement));\n        if (moduleKind === 2) {\n          addRange(statements, mapDefined(currentModuleInfo.externalImports, getAMDImportExpressionForImport));\n        }\n        addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset));\n        addExportEqualsIfNeeded(\n          statements,\n          /*emitAsReturn*/\n          true\n        );\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        const body = factory2.createBlock(\n          statements,\n          /*multiLine*/\n          true\n        );\n        if (needUMDDynamicImportHelper) {\n          addEmitHelper(body, dynamicImportUMDHelper);\n        }\n        return body;\n      }\n      function addExportEqualsIfNeeded(statements, emitAsReturn) {\n        if (currentModuleInfo.exportEquals) {\n          const expressionResult = visitNode(currentModuleInfo.exportEquals.expression, visitor, isExpression);\n          if (expressionResult) {\n            if (emitAsReturn) {\n              const statement = factory2.createReturnStatement(expressionResult);\n              setTextRange(statement, currentModuleInfo.exportEquals);\n              setEmitFlags(\n                statement,\n                768 | 3072\n                /* NoComments */\n              );\n              statements.push(statement);\n            } else {\n              const statement = factory2.createExpressionStatement(\n                factory2.createAssignment(\n                  factory2.createPropertyAccessExpression(\n                    factory2.createIdentifier(\"module\"),\n                    \"exports\"\n                  ),\n                  expressionResult\n                )\n              );\n              setTextRange(statement, currentModuleInfo.exportEquals);\n              setEmitFlags(\n                statement,\n                3072\n                /* NoComments */\n              );\n              statements.push(statement);\n            }\n          }\n        }\n      }\n      function topLevelVisitor(node) {\n        switch (node.kind) {\n          case 269:\n            return visitImportDeclaration(node);\n          case 268:\n            return visitImportEqualsDeclaration(node);\n          case 275:\n            return visitExportDeclaration(node);\n          case 274:\n            return visitExportAssignment(node);\n          case 240:\n            return visitVariableStatement(node);\n          case 259:\n            return visitFunctionDeclaration(node);\n          case 260:\n            return visitClassDeclaration(node);\n          case 358:\n            return visitMergeDeclarationMarker(node);\n          case 359:\n            return visitEndOfDeclarationMarker(node);\n          default:\n            return visitor(node);\n        }\n      }\n      function visitorWorker(node, valueIsDiscarded) {\n        if (!(node.transformFlags & (8388608 | 4096 | 268435456))) {\n          return node;\n        }\n        switch (node.kind) {\n          case 245:\n            return visitForStatement(node);\n          case 241:\n            return visitExpressionStatement(node);\n          case 214:\n            return visitParenthesizedExpression(node, valueIsDiscarded);\n          case 356:\n            return visitPartiallyEmittedExpression(node, valueIsDiscarded);\n          case 210:\n            if (isImportCall(node) && currentSourceFile.impliedNodeFormat === void 0) {\n              return visitImportCallExpression(node);\n            }\n            break;\n          case 223:\n            if (isDestructuringAssignment(node)) {\n              return visitDestructuringAssignment(node, valueIsDiscarded);\n            }\n            break;\n          case 221:\n          case 222:\n            return visitPreOrPostfixUnaryExpression(node, valueIsDiscarded);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        return visitorWorker(\n          node,\n          /*valueIsDiscarded*/\n          false\n        );\n      }\n      function discardedValueVisitor(node) {\n        return visitorWorker(\n          node,\n          /*valueIsDiscarded*/\n          true\n        );\n      }\n      function destructuringNeedsFlattening(node) {\n        if (isObjectLiteralExpression(node)) {\n          for (const elem of node.properties) {\n            switch (elem.kind) {\n              case 299:\n                if (destructuringNeedsFlattening(elem.initializer)) {\n                  return true;\n                }\n                break;\n              case 300:\n                if (destructuringNeedsFlattening(elem.name)) {\n                  return true;\n                }\n                break;\n              case 301:\n                if (destructuringNeedsFlattening(elem.expression)) {\n                  return true;\n                }\n                break;\n              case 171:\n              case 174:\n              case 175:\n                return false;\n              default:\n                Debug2.assertNever(elem, \"Unhandled object member kind\");\n            }\n          }\n        } else if (isArrayLiteralExpression(node)) {\n          for (const elem of node.elements) {\n            if (isSpreadElement(elem)) {\n              if (destructuringNeedsFlattening(elem.expression)) {\n                return true;\n              }\n            } else if (destructuringNeedsFlattening(elem)) {\n              return true;\n            }\n          }\n        } else if (isIdentifier(node)) {\n          return length(getExports(node)) > (isExportName(node) ? 1 : 0);\n        }\n        return false;\n      }\n      function visitDestructuringAssignment(node, valueIsDiscarded) {\n        if (destructuringNeedsFlattening(node.left)) {\n          return flattenDestructuringAssignment(node, visitor, context, 0, !valueIsDiscarded, createAllExportExpressions);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitForStatement(node) {\n        return factory2.updateForStatement(\n          node,\n          visitNode(node.initializer, discardedValueVisitor, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, discardedValueVisitor, isExpression),\n          visitIterationBody(node.statement, visitor, context)\n        );\n      }\n      function visitExpressionStatement(node) {\n        return factory2.updateExpressionStatement(\n          node,\n          visitNode(node.expression, discardedValueVisitor, isExpression)\n        );\n      }\n      function visitParenthesizedExpression(node, valueIsDiscarded) {\n        return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n      }\n      function visitPartiallyEmittedExpression(node, valueIsDiscarded) {\n        return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n      }\n      function visitPreOrPostfixUnaryExpression(node, valueIsDiscarded) {\n        if ((node.operator === 45 || node.operator === 46) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) {\n          const exportedNames = getExports(node.operand);\n          if (exportedNames) {\n            let temp;\n            let expression = visitNode(node.operand, visitor, isExpression);\n            if (isPrefixUnaryExpression(node)) {\n              expression = factory2.updatePrefixUnaryExpression(node, expression);\n            } else {\n              expression = factory2.updatePostfixUnaryExpression(node, expression);\n              if (!valueIsDiscarded) {\n                temp = factory2.createTempVariable(hoistVariableDeclaration);\n                expression = factory2.createAssignment(temp, expression);\n                setTextRange(expression, node);\n              }\n              expression = factory2.createComma(expression, factory2.cloneNode(node.operand));\n              setTextRange(expression, node);\n            }\n            for (const exportName of exportedNames) {\n              noSubstitution[getNodeId(expression)] = true;\n              expression = createExportExpression(exportName, expression);\n              setTextRange(expression, node);\n            }\n            if (temp) {\n              noSubstitution[getNodeId(expression)] = true;\n              expression = factory2.createComma(expression, temp);\n              setTextRange(expression, node);\n            }\n            return expression;\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitImportCallExpression(node) {\n        if (moduleKind === 0 && languageVersion >= 7) {\n          return visitEachChild(node, visitor, context);\n        }\n        const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions);\n        const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression);\n        const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument;\n        const containsLexicalThis = !!(node.transformFlags & 16384);\n        switch (compilerOptions.module) {\n          case 2:\n            return createImportCallExpressionAMD(argument, containsLexicalThis);\n          case 3:\n            return createImportCallExpressionUMD(argument != null ? argument : factory2.createVoidZero(), containsLexicalThis);\n          case 1:\n          default:\n            return createImportCallExpressionCommonJS(argument);\n        }\n      }\n      function createImportCallExpressionUMD(arg, containsLexicalThis) {\n        needUMDDynamicImportHelper = true;\n        if (isSimpleCopiableExpression(arg)) {\n          const argClone = isGeneratedIdentifier(arg) ? arg : isStringLiteral(arg) ? factory2.createStringLiteralFromNode(arg) : setEmitFlags(\n            setTextRange(factory2.cloneNode(arg), arg),\n            3072\n            /* NoComments */\n          );\n          return factory2.createConditionalExpression(\n            /*condition*/\n            factory2.createIdentifier(\"__syncRequire\"),\n            /*questionToken*/\n            void 0,\n            /*whenTrue*/\n            createImportCallExpressionCommonJS(arg),\n            /*colonToken*/\n            void 0,\n            /*whenFalse*/\n            createImportCallExpressionAMD(argClone, containsLexicalThis)\n          );\n        } else {\n          const temp = factory2.createTempVariable(hoistVariableDeclaration);\n          return factory2.createComma(factory2.createAssignment(temp, arg), factory2.createConditionalExpression(\n            /*condition*/\n            factory2.createIdentifier(\"__syncRequire\"),\n            /*questionToken*/\n            void 0,\n            /*whenTrue*/\n            createImportCallExpressionCommonJS(\n              temp,\n              /* isInlineable */\n              true\n            ),\n            /*colonToken*/\n            void 0,\n            /*whenFalse*/\n            createImportCallExpressionAMD(temp, containsLexicalThis)\n          ));\n        }\n      }\n      function createImportCallExpressionAMD(arg, containsLexicalThis) {\n        const resolve2 = factory2.createUniqueName(\"resolve\");\n        const reject = factory2.createUniqueName(\"reject\");\n        const parameters = [\n          factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            /*name*/\n            resolve2\n          ),\n          factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            /*name*/\n            reject\n          )\n        ];\n        const body = factory2.createBlock([\n          factory2.createExpressionStatement(\n            factory2.createCallExpression(\n              factory2.createIdentifier(\"require\"),\n              /*typeArguments*/\n              void 0,\n              [factory2.createArrayLiteralExpression([arg || factory2.createOmittedExpression()]), resolve2, reject]\n            )\n          )\n        ]);\n        let func;\n        if (languageVersion >= 2) {\n          func = factory2.createArrowFunction(\n            /*modifiers*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            parameters,\n            /*type*/\n            void 0,\n            /*equalsGreaterThanToken*/\n            void 0,\n            body\n          );\n        } else {\n          func = factory2.createFunctionExpression(\n            /*modifiers*/\n            void 0,\n            /*asteriskToken*/\n            void 0,\n            /*name*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            parameters,\n            /*type*/\n            void 0,\n            body\n          );\n          if (containsLexicalThis) {\n            setEmitFlags(\n              func,\n              16\n              /* CapturesThis */\n            );\n          }\n        }\n        const promise = factory2.createNewExpression(\n          factory2.createIdentifier(\"Promise\"),\n          /*typeArguments*/\n          void 0,\n          [func]\n        );\n        if (getESModuleInterop(compilerOptions)) {\n          return factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(promise, factory2.createIdentifier(\"then\")),\n            /*typeArguments*/\n            void 0,\n            [emitHelpers().createImportStarCallbackHelper()]\n          );\n        }\n        return promise;\n      }\n      function createImportCallExpressionCommonJS(arg, isInlineable) {\n        const needSyncEval = arg && !isSimpleInlineableExpression(arg) && !isInlineable;\n        const promiseResolveCall = factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Promise\"), \"resolve\"),\n          /*typeArguments*/\n          void 0,\n          /*argumentsArray*/\n          needSyncEval ? languageVersion >= 2 ? [\n            factory2.createTemplateExpression(factory2.createTemplateHead(\"\"), [\n              factory2.createTemplateSpan(arg, factory2.createTemplateTail(\"\"))\n            ])\n          ] : [\n            factory2.createCallExpression(\n              factory2.createPropertyAccessExpression(factory2.createStringLiteral(\"\"), \"concat\"),\n              /*typeArguments*/\n              void 0,\n              [arg]\n            )\n          ] : []\n        );\n        let requireCall = factory2.createCallExpression(\n          factory2.createIdentifier(\"require\"),\n          /*typeArguments*/\n          void 0,\n          needSyncEval ? [factory2.createIdentifier(\"s\")] : arg ? [arg] : []\n        );\n        if (getESModuleInterop(compilerOptions)) {\n          requireCall = emitHelpers().createImportStarHelper(requireCall);\n        }\n        const parameters = needSyncEval ? [\n          factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            /*name*/\n            \"s\"\n          )\n        ] : [];\n        let func;\n        if (languageVersion >= 2) {\n          func = factory2.createArrowFunction(\n            /*modifiers*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            /*parameters*/\n            parameters,\n            /*type*/\n            void 0,\n            /*equalsGreaterThanToken*/\n            void 0,\n            requireCall\n          );\n        } else {\n          func = factory2.createFunctionExpression(\n            /*modifiers*/\n            void 0,\n            /*asteriskToken*/\n            void 0,\n            /*name*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            /*parameters*/\n            parameters,\n            /*type*/\n            void 0,\n            factory2.createBlock([factory2.createReturnStatement(requireCall)])\n          );\n        }\n        const downleveledImport = factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(promiseResolveCall, \"then\"),\n          /*typeArguments*/\n          void 0,\n          [func]\n        );\n        return downleveledImport;\n      }\n      function getHelperExpressionForExport(node, innerExpr) {\n        if (!getESModuleInterop(compilerOptions) || getInternalEmitFlags(node) & 2) {\n          return innerExpr;\n        }\n        if (getExportNeedsImportStarHelper(node)) {\n          return emitHelpers().createImportStarHelper(innerExpr);\n        }\n        return innerExpr;\n      }\n      function getHelperExpressionForImport(node, innerExpr) {\n        if (!getESModuleInterop(compilerOptions) || getInternalEmitFlags(node) & 2) {\n          return innerExpr;\n        }\n        if (getImportNeedsImportStarHelper(node)) {\n          return emitHelpers().createImportStarHelper(innerExpr);\n        }\n        if (getImportNeedsImportDefaultHelper(node)) {\n          return emitHelpers().createImportDefaultHelper(innerExpr);\n        }\n        return innerExpr;\n      }\n      function visitImportDeclaration(node) {\n        let statements;\n        const namespaceDeclaration = getNamespaceDeclarationNode(node);\n        if (moduleKind !== 2) {\n          if (!node.importClause) {\n            return setOriginalNode(setTextRange(factory2.createExpressionStatement(createRequireCall2(node)), node), node);\n          } else {\n            const variables = [];\n            if (namespaceDeclaration && !isDefaultImport(node)) {\n              variables.push(\n                factory2.createVariableDeclaration(\n                  factory2.cloneNode(namespaceDeclaration.name),\n                  /*exclamationToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  getHelperExpressionForImport(node, createRequireCall2(node))\n                )\n              );\n            } else {\n              variables.push(\n                factory2.createVariableDeclaration(\n                  factory2.getGeneratedNameForNode(node),\n                  /*exclamationToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  getHelperExpressionForImport(node, createRequireCall2(node))\n                )\n              );\n              if (namespaceDeclaration && isDefaultImport(node)) {\n                variables.push(\n                  factory2.createVariableDeclaration(\n                    factory2.cloneNode(namespaceDeclaration.name),\n                    /*exclamationToken*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    factory2.getGeneratedNameForNode(node)\n                  )\n                );\n              }\n            }\n            statements = append(\n              statements,\n              setOriginalNode(\n                setTextRange(\n                  factory2.createVariableStatement(\n                    /*modifiers*/\n                    void 0,\n                    factory2.createVariableDeclarationList(\n                      variables,\n                      languageVersion >= 2 ? 2 : 0\n                      /* None */\n                    )\n                  ),\n                  /*location*/\n                  node\n                ),\n                /*original*/\n                node\n              )\n            );\n          }\n        } else if (namespaceDeclaration && isDefaultImport(node)) {\n          statements = append(\n            statements,\n            factory2.createVariableStatement(\n              /*modifiers*/\n              void 0,\n              factory2.createVariableDeclarationList(\n                [\n                  setOriginalNode(\n                    setTextRange(\n                      factory2.createVariableDeclaration(\n                        factory2.cloneNode(namespaceDeclaration.name),\n                        /*exclamationToken*/\n                        void 0,\n                        /*type*/\n                        void 0,\n                        factory2.getGeneratedNameForNode(node)\n                      ),\n                      /*location*/\n                      node\n                    ),\n                    /*original*/\n                    node\n                  )\n                ],\n                languageVersion >= 2 ? 2 : 0\n                /* None */\n              )\n            )\n          );\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfImportDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfImportDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function createRequireCall2(importNode) {\n        const moduleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions);\n        const args = [];\n        if (moduleName) {\n          args.push(moduleName);\n        }\n        return factory2.createCallExpression(\n          factory2.createIdentifier(\"require\"),\n          /*typeArguments*/\n          void 0,\n          args\n        );\n      }\n      function visitImportEqualsDeclaration(node) {\n        Debug2.assert(isExternalModuleImportEqualsDeclaration(node), \"import= for internal module references should be handled in an earlier transformer.\");\n        let statements;\n        if (moduleKind !== 2) {\n          if (hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          )) {\n            statements = append(\n              statements,\n              setOriginalNode(\n                setTextRange(\n                  factory2.createExpressionStatement(\n                    createExportExpression(\n                      node.name,\n                      createRequireCall2(node)\n                    )\n                  ),\n                  node\n                ),\n                node\n              )\n            );\n          } else {\n            statements = append(\n              statements,\n              setOriginalNode(\n                setTextRange(\n                  factory2.createVariableStatement(\n                    /*modifiers*/\n                    void 0,\n                    factory2.createVariableDeclarationList(\n                      [\n                        factory2.createVariableDeclaration(\n                          factory2.cloneNode(node.name),\n                          /*exclamationToken*/\n                          void 0,\n                          /*type*/\n                          void 0,\n                          createRequireCall2(node)\n                        )\n                      ],\n                      /*flags*/\n                      languageVersion >= 2 ? 2 : 0\n                      /* None */\n                    )\n                  ),\n                  node\n                ),\n                node\n              )\n            );\n          }\n        } else {\n          if (hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          )) {\n            statements = append(\n              statements,\n              setOriginalNode(\n                setTextRange(\n                  factory2.createExpressionStatement(\n                    createExportExpression(factory2.getExportName(node), factory2.getLocalName(node))\n                  ),\n                  node\n                ),\n                node\n              )\n            );\n          }\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfImportEqualsDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfImportEqualsDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function visitExportDeclaration(node) {\n        if (!node.moduleSpecifier) {\n          return void 0;\n        }\n        const generatedName = factory2.getGeneratedNameForNode(node);\n        if (node.exportClause && isNamedExports(node.exportClause)) {\n          const statements = [];\n          if (moduleKind !== 2) {\n            statements.push(\n              setOriginalNode(\n                setTextRange(\n                  factory2.createVariableStatement(\n                    /*modifiers*/\n                    void 0,\n                    factory2.createVariableDeclarationList([\n                      factory2.createVariableDeclaration(\n                        generatedName,\n                        /*exclamationToken*/\n                        void 0,\n                        /*type*/\n                        void 0,\n                        createRequireCall2(node)\n                      )\n                    ])\n                  ),\n                  /*location*/\n                  node\n                ),\n                /* original */\n                node\n              )\n            );\n          }\n          for (const specifier of node.exportClause.elements) {\n            if (languageVersion === 0) {\n              statements.push(\n                setOriginalNode(\n                  setTextRange(\n                    factory2.createExpressionStatement(\n                      emitHelpers().createCreateBindingHelper(generatedName, factory2.createStringLiteralFromNode(specifier.propertyName || specifier.name), specifier.propertyName ? factory2.createStringLiteralFromNode(specifier.name) : void 0)\n                    ),\n                    specifier\n                  ),\n                  specifier\n                )\n              );\n            } else {\n              const exportNeedsImportDefault = !!getESModuleInterop(compilerOptions) && !(getInternalEmitFlags(node) & 2) && idText(specifier.propertyName || specifier.name) === \"default\";\n              const exportedValue = factory2.createPropertyAccessExpression(\n                exportNeedsImportDefault ? emitHelpers().createImportDefaultHelper(generatedName) : generatedName,\n                specifier.propertyName || specifier.name\n              );\n              statements.push(\n                setOriginalNode(\n                  setTextRange(\n                    factory2.createExpressionStatement(\n                      createExportExpression(\n                        factory2.getExportName(specifier),\n                        exportedValue,\n                        /* location */\n                        void 0,\n                        /* liveBinding */\n                        true\n                      )\n                    ),\n                    specifier\n                  ),\n                  specifier\n                )\n              );\n            }\n          }\n          return singleOrMany(statements);\n        } else if (node.exportClause) {\n          const statements = [];\n          statements.push(\n            setOriginalNode(\n              setTextRange(\n                factory2.createExpressionStatement(\n                  createExportExpression(\n                    factory2.cloneNode(node.exportClause.name),\n                    getHelperExpressionForExport(node, moduleKind !== 2 ? createRequireCall2(node) : isExportNamespaceAsDefaultDeclaration(node) ? generatedName : factory2.createIdentifier(idText(node.exportClause.name)))\n                  )\n                ),\n                node\n              ),\n              node\n            )\n          );\n          return singleOrMany(statements);\n        } else {\n          return setOriginalNode(\n            setTextRange(\n              factory2.createExpressionStatement(\n                emitHelpers().createExportStarHelper(moduleKind !== 2 ? createRequireCall2(node) : generatedName)\n              ),\n              node\n            ),\n            node\n          );\n        }\n      }\n      function visitExportAssignment(node) {\n        if (node.isExportEquals) {\n          return void 0;\n        }\n        let statements;\n        const original = node.original;\n        if (original && hasAssociatedEndOfDeclarationMarker(original)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportStatement(\n            deferredExports[id],\n            factory2.createIdentifier(\"default\"),\n            visitNode(node.expression, visitor, isExpression),\n            /*location*/\n            node,\n            /*allowComments*/\n            true\n          );\n        } else {\n          statements = appendExportStatement(\n            statements,\n            factory2.createIdentifier(\"default\"),\n            visitNode(node.expression, visitor, isExpression),\n            /*location*/\n            node,\n            /*allowComments*/\n            true\n          );\n        }\n        return singleOrMany(statements);\n      }\n      function visitFunctionDeclaration(node) {\n        let statements;\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          statements = append(\n            statements,\n            setOriginalNode(\n              setTextRange(\n                factory2.createFunctionDeclaration(\n                  visitNodes2(node.modifiers, modifierVisitor, isModifier),\n                  node.asteriskToken,\n                  factory2.getDeclarationName(\n                    node,\n                    /*allowComments*/\n                    true,\n                    /*allowSourceMaps*/\n                    true\n                  ),\n                  /*typeParameters*/\n                  void 0,\n                  visitNodes2(node.parameters, visitor, isParameter),\n                  /*type*/\n                  void 0,\n                  visitEachChild(node.body, visitor, context)\n                ),\n                /*location*/\n                node\n              ),\n              /*original*/\n              node\n            )\n          );\n        } else {\n          statements = append(statements, visitEachChild(node, visitor, context));\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfHoistedDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function visitClassDeclaration(node) {\n        let statements;\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          statements = append(\n            statements,\n            setOriginalNode(\n              setTextRange(\n                factory2.createClassDeclaration(\n                  visitNodes2(node.modifiers, modifierVisitor, isModifierLike),\n                  factory2.getDeclarationName(\n                    node,\n                    /*allowComments*/\n                    true,\n                    /*allowSourceMaps*/\n                    true\n                  ),\n                  /*typeParameters*/\n                  void 0,\n                  visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n                  visitNodes2(node.members, visitor, isClassElement)\n                ),\n                node\n              ),\n              node\n            )\n          );\n        } else {\n          statements = append(statements, visitEachChild(node, visitor, context));\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfHoistedDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function visitVariableStatement(node) {\n        let statements;\n        let variables;\n        let expressions;\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          let modifiers;\n          let removeCommentsOnExpressions = false;\n          for (const variable of node.declarationList.declarations) {\n            if (isIdentifier(variable.name) && isLocalName(variable.name)) {\n              if (!modifiers) {\n                modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n              }\n              if (variable.initializer) {\n                const updatedVariable = factory2.updateVariableDeclaration(\n                  variable,\n                  variable.name,\n                  /*exclamationToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  createExportExpression(\n                    variable.name,\n                    visitNode(variable.initializer, visitor, isExpression)\n                  )\n                );\n                variables = append(variables, updatedVariable);\n              } else {\n                variables = append(variables, variable);\n              }\n            } else if (variable.initializer) {\n              if (!isBindingPattern(variable.name) && (isArrowFunction(variable.initializer) || isFunctionExpression(variable.initializer) || isClassExpression(variable.initializer))) {\n                const expression = factory2.createAssignment(\n                  setTextRange(\n                    factory2.createPropertyAccessExpression(\n                      factory2.createIdentifier(\"exports\"),\n                      variable.name\n                    ),\n                    /*location*/\n                    variable.name\n                  ),\n                  factory2.createIdentifier(getTextOfIdentifierOrLiteral(variable.name))\n                );\n                const updatedVariable = factory2.createVariableDeclaration(\n                  variable.name,\n                  variable.exclamationToken,\n                  variable.type,\n                  visitNode(variable.initializer, visitor, isExpression)\n                );\n                variables = append(variables, updatedVariable);\n                expressions = append(expressions, expression);\n                removeCommentsOnExpressions = true;\n              } else {\n                expressions = append(expressions, transformInitializedVariable(variable));\n              }\n            }\n          }\n          if (variables) {\n            statements = append(statements, factory2.updateVariableStatement(node, modifiers, factory2.updateVariableDeclarationList(node.declarationList, variables)));\n          }\n          if (expressions) {\n            const statement = setOriginalNode(setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node), node);\n            if (removeCommentsOnExpressions) {\n              removeAllComments(statement);\n            }\n            statements = append(statements, statement);\n          }\n        } else {\n          statements = append(statements, visitEachChild(node, visitor, context));\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfVariableStatement(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function createAllExportExpressions(name, value, location) {\n        const exportedNames = getExports(name);\n        if (exportedNames) {\n          let expression = isExportName(name) ? value : factory2.createAssignment(name, value);\n          for (const exportName of exportedNames) {\n            setEmitFlags(\n              expression,\n              8\n              /* NoSubstitution */\n            );\n            expression = createExportExpression(\n              exportName,\n              expression,\n              /*location*/\n              location\n            );\n          }\n          return expression;\n        }\n        return factory2.createAssignment(name, value);\n      }\n      function transformInitializedVariable(node) {\n        if (isBindingPattern(node.name)) {\n          return flattenDestructuringAssignment(\n            visitNode(node, visitor, isInitializedVariable),\n            visitor,\n            context,\n            0,\n            /*needsValue*/\n            false,\n            createAllExportExpressions\n          );\n        } else {\n          return factory2.createAssignment(\n            setTextRange(\n              factory2.createPropertyAccessExpression(\n                factory2.createIdentifier(\"exports\"),\n                node.name\n              ),\n              /*location*/\n              node.name\n            ),\n            node.initializer ? visitNode(node.initializer, visitor, isExpression) : factory2.createVoidZero()\n          );\n        }\n      }\n      function visitMergeDeclarationMarker(node) {\n        if (hasAssociatedEndOfDeclarationMarker(node) && node.original.kind === 240) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node.original);\n        }\n        return node;\n      }\n      function hasAssociatedEndOfDeclarationMarker(node) {\n        return (getEmitFlags(node) & 8388608) !== 0;\n      }\n      function visitEndOfDeclarationMarker(node) {\n        const id = getOriginalNodeId(node);\n        const statements = deferredExports[id];\n        if (statements) {\n          delete deferredExports[id];\n          return append(statements, node);\n        }\n        return node;\n      }\n      function appendExportsOfImportDeclaration(statements, decl) {\n        if (currentModuleInfo.exportEquals) {\n          return statements;\n        }\n        const importClause = decl.importClause;\n        if (!importClause) {\n          return statements;\n        }\n        if (importClause.name) {\n          statements = appendExportsOfDeclaration(statements, importClause);\n        }\n        const namedBindings = importClause.namedBindings;\n        if (namedBindings) {\n          switch (namedBindings.kind) {\n            case 271:\n              statements = appendExportsOfDeclaration(statements, namedBindings);\n              break;\n            case 272:\n              for (const importBinding of namedBindings.elements) {\n                statements = appendExportsOfDeclaration(\n                  statements,\n                  importBinding,\n                  /* liveBinding */\n                  true\n                );\n              }\n              break;\n          }\n        }\n        return statements;\n      }\n      function appendExportsOfImportEqualsDeclaration(statements, decl) {\n        if (currentModuleInfo.exportEquals) {\n          return statements;\n        }\n        return appendExportsOfDeclaration(statements, decl);\n      }\n      function appendExportsOfVariableStatement(statements, node) {\n        if (currentModuleInfo.exportEquals) {\n          return statements;\n        }\n        for (const decl of node.declarationList.declarations) {\n          statements = appendExportsOfBindingElement(statements, decl);\n        }\n        return statements;\n      }\n      function appendExportsOfBindingElement(statements, decl) {\n        if (currentModuleInfo.exportEquals) {\n          return statements;\n        }\n        if (isBindingPattern(decl.name)) {\n          for (const element of decl.name.elements) {\n            if (!isOmittedExpression(element)) {\n              statements = appendExportsOfBindingElement(statements, element);\n            }\n          }\n        } else if (!isGeneratedIdentifier(decl.name)) {\n          statements = appendExportsOfDeclaration(statements, decl);\n        }\n        return statements;\n      }\n      function appendExportsOfHoistedDeclaration(statements, decl) {\n        if (currentModuleInfo.exportEquals) {\n          return statements;\n        }\n        if (hasSyntacticModifier(\n          decl,\n          1\n          /* Export */\n        )) {\n          const exportName = hasSyntacticModifier(\n            decl,\n            1024\n            /* Default */\n          ) ? factory2.createIdentifier(\"default\") : factory2.getDeclarationName(decl);\n          statements = appendExportStatement(\n            statements,\n            exportName,\n            factory2.getLocalName(decl),\n            /*location*/\n            decl\n          );\n        }\n        if (decl.name) {\n          statements = appendExportsOfDeclaration(statements, decl);\n        }\n        return statements;\n      }\n      function appendExportsOfDeclaration(statements, decl, liveBinding) {\n        const name = factory2.getDeclarationName(decl);\n        const exportSpecifiers = currentModuleInfo.exportSpecifiers.get(idText(name));\n        if (exportSpecifiers) {\n          for (const exportSpecifier of exportSpecifiers) {\n            statements = appendExportStatement(\n              statements,\n              exportSpecifier.name,\n              name,\n              /*location*/\n              exportSpecifier.name,\n              /* allowComments */\n              void 0,\n              liveBinding\n            );\n          }\n        }\n        return statements;\n      }\n      function appendExportStatement(statements, exportName, expression, location, allowComments, liveBinding) {\n        statements = append(statements, createExportStatement(exportName, expression, location, allowComments, liveBinding));\n        return statements;\n      }\n      function createUnderscoreUnderscoreESModule() {\n        let statement;\n        if (languageVersion === 0) {\n          statement = factory2.createExpressionStatement(\n            createExportExpression(\n              factory2.createIdentifier(\"__esModule\"),\n              factory2.createTrue()\n            )\n          );\n        } else {\n          statement = factory2.createExpressionStatement(\n            factory2.createCallExpression(\n              factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Object\"), \"defineProperty\"),\n              /*typeArguments*/\n              void 0,\n              [\n                factory2.createIdentifier(\"exports\"),\n                factory2.createStringLiteral(\"__esModule\"),\n                factory2.createObjectLiteralExpression([\n                  factory2.createPropertyAssignment(\"value\", factory2.createTrue())\n                ])\n              ]\n            )\n          );\n        }\n        setEmitFlags(\n          statement,\n          2097152\n          /* CustomPrologue */\n        );\n        return statement;\n      }\n      function createExportStatement(name, value, location, allowComments, liveBinding) {\n        const statement = setTextRange(factory2.createExpressionStatement(createExportExpression(\n          name,\n          value,\n          /* location */\n          void 0,\n          liveBinding\n        )), location);\n        startOnNewLine(statement);\n        if (!allowComments) {\n          setEmitFlags(\n            statement,\n            3072\n            /* NoComments */\n          );\n        }\n        return statement;\n      }\n      function createExportExpression(name, value, location, liveBinding) {\n        return setTextRange(\n          liveBinding && languageVersion !== 0 ? factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(\n              factory2.createIdentifier(\"Object\"),\n              \"defineProperty\"\n            ),\n            /*typeArguments*/\n            void 0,\n            [\n              factory2.createIdentifier(\"exports\"),\n              factory2.createStringLiteralFromNode(name),\n              factory2.createObjectLiteralExpression([\n                factory2.createPropertyAssignment(\"enumerable\", factory2.createTrue()),\n                factory2.createPropertyAssignment(\"get\", factory2.createFunctionExpression(\n                  /*modifiers*/\n                  void 0,\n                  /*asteriskToken*/\n                  void 0,\n                  /*name*/\n                  void 0,\n                  /*typeParameters*/\n                  void 0,\n                  /*parameters*/\n                  [],\n                  /*type*/\n                  void 0,\n                  factory2.createBlock([factory2.createReturnStatement(value)])\n                ))\n              ])\n            ]\n          ) : factory2.createAssignment(\n            factory2.createPropertyAccessExpression(\n              factory2.createIdentifier(\"exports\"),\n              factory2.cloneNode(name)\n            ),\n            value\n          ),\n          location\n        );\n      }\n      function modifierVisitor(node) {\n        switch (node.kind) {\n          case 93:\n          case 88:\n            return void 0;\n        }\n        return node;\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (node.kind === 308) {\n          currentSourceFile = node;\n          currentModuleInfo = moduleInfoMap[getOriginalNodeId(currentSourceFile)];\n          previousOnEmitNode(hint, node, emitCallback);\n          currentSourceFile = void 0;\n          currentModuleInfo = void 0;\n        } else {\n          previousOnEmitNode(hint, node, emitCallback);\n        }\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (node.id && noSubstitution[node.id]) {\n          return node;\n        }\n        if (hint === 1) {\n          return substituteExpression(node);\n        } else if (isShorthandPropertyAssignment(node)) {\n          return substituteShorthandPropertyAssignment(node);\n        }\n        return node;\n      }\n      function substituteShorthandPropertyAssignment(node) {\n        const name = node.name;\n        const exportedOrImportedName = substituteExpressionIdentifier(name);\n        if (exportedOrImportedName !== name) {\n          if (node.objectAssignmentInitializer) {\n            const initializer = factory2.createAssignment(exportedOrImportedName, node.objectAssignmentInitializer);\n            return setTextRange(factory2.createPropertyAssignment(name, initializer), node);\n          }\n          return setTextRange(factory2.createPropertyAssignment(name, exportedOrImportedName), node);\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return substituteExpressionIdentifier(node);\n          case 210:\n            return substituteCallExpression(node);\n          case 212:\n            return substituteTaggedTemplateExpression(node);\n          case 223:\n            return substituteBinaryExpression(node);\n        }\n        return node;\n      }\n      function substituteCallExpression(node) {\n        if (isIdentifier(node.expression)) {\n          const expression = substituteExpressionIdentifier(node.expression);\n          noSubstitution[getNodeId(expression)] = true;\n          if (!isIdentifier(expression) && !(getEmitFlags(node.expression) & 8192)) {\n            return addInternalEmitFlags(\n              factory2.updateCallExpression(\n                node,\n                expression,\n                /*typeArguments*/\n                void 0,\n                node.arguments\n              ),\n              16\n              /* IndirectCall */\n            );\n          }\n        }\n        return node;\n      }\n      function substituteTaggedTemplateExpression(node) {\n        if (isIdentifier(node.tag)) {\n          const tag = substituteExpressionIdentifier(node.tag);\n          noSubstitution[getNodeId(tag)] = true;\n          if (!isIdentifier(tag) && !(getEmitFlags(node.tag) & 8192)) {\n            return addInternalEmitFlags(\n              factory2.updateTaggedTemplateExpression(\n                node,\n                tag,\n                /*typeArguments*/\n                void 0,\n                node.template\n              ),\n              16\n              /* IndirectCall */\n            );\n          }\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        var _a22, _b3;\n        if (getEmitFlags(node) & 8192) {\n          const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile);\n          if (externalHelpersModuleName) {\n            return factory2.createPropertyAccessExpression(externalHelpersModuleName, node);\n          }\n          return node;\n        } else if (!(isGeneratedIdentifier(node) && !(node.emitNode.autoGenerate.flags & 64)) && !isLocalName(node)) {\n          const exportContainer = resolver.getReferencedExportContainer(node, isExportName(node));\n          if (exportContainer && exportContainer.kind === 308) {\n            return setTextRange(\n              factory2.createPropertyAccessExpression(\n                factory2.createIdentifier(\"exports\"),\n                factory2.cloneNode(node)\n              ),\n              /*location*/\n              node\n            );\n          }\n          const importDeclaration = resolver.getReferencedImportDeclaration(node);\n          if (importDeclaration) {\n            if (isImportClause(importDeclaration)) {\n              return setTextRange(\n                factory2.createPropertyAccessExpression(\n                  factory2.getGeneratedNameForNode(importDeclaration.parent),\n                  factory2.createIdentifier(\"default\")\n                ),\n                /*location*/\n                node\n              );\n            } else if (isImportSpecifier(importDeclaration)) {\n              const name = importDeclaration.propertyName || importDeclaration.name;\n              return setTextRange(\n                factory2.createPropertyAccessExpression(\n                  factory2.getGeneratedNameForNode(((_b3 = (_a22 = importDeclaration.parent) == null ? void 0 : _a22.parent) == null ? void 0 : _b3.parent) || importDeclaration),\n                  factory2.cloneNode(name)\n                ),\n                /*location*/\n                node\n              );\n            }\n          }\n        }\n        return node;\n      }\n      function substituteBinaryExpression(node) {\n        if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && !isGeneratedIdentifier(node.left) && !isLocalName(node.left) && !isDeclarationNameOfEnumOrNamespace(node.left)) {\n          const exportedNames = getExports(node.left);\n          if (exportedNames) {\n            let expression = node;\n            for (const exportName of exportedNames) {\n              noSubstitution[getNodeId(expression)] = true;\n              expression = createExportExpression(\n                exportName,\n                expression,\n                /*location*/\n                node\n              );\n            }\n            return expression;\n          }\n        }\n        return node;\n      }\n      function getExports(name) {\n        if (!isGeneratedIdentifier(name)) {\n          const valueDeclaration = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name);\n          if (valueDeclaration) {\n            return currentModuleInfo && currentModuleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)];\n          }\n        }\n      }\n    }\n    var dynamicImportUMDHelper;\n    var init_module = __esm({\n      \"src/compiler/transformers/module/module.ts\"() {\n        \"use strict\";\n        init_ts2();\n        dynamicImportUMDHelper = {\n          name: \"typescript:dynamicimport-sync-require\",\n          scoped: true,\n          text: `\n            var __syncRequire = typeof module === \"object\" && typeof module.exports === \"object\";`\n        };\n      }\n    });\n    function transformSystemModule(context) {\n      const {\n        factory: factory2,\n        startLexicalEnvironment,\n        endLexicalEnvironment,\n        hoistVariableDeclaration\n      } = context;\n      const compilerOptions = context.getCompilerOptions();\n      const resolver = context.getEmitResolver();\n      const host = context.getEmitHost();\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      const previousOnEmitNode = context.onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      context.onEmitNode = onEmitNode;\n      context.enableSubstitution(\n        79\n        /* Identifier */\n      );\n      context.enableSubstitution(\n        300\n        /* ShorthandPropertyAssignment */\n      );\n      context.enableSubstitution(\n        223\n        /* BinaryExpression */\n      );\n      context.enableSubstitution(\n        233\n        /* MetaProperty */\n      );\n      context.enableEmitNotification(\n        308\n        /* SourceFile */\n      );\n      const moduleInfoMap = [];\n      const deferredExports = [];\n      const exportFunctionsMap = [];\n      const noSubstitutionMap = [];\n      const contextObjectMap = [];\n      let currentSourceFile;\n      let moduleInfo;\n      let exportFunction;\n      let contextObject;\n      let hoistedStatements;\n      let enclosingBlockScopedContainer;\n      let noSubstitution;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608)) {\n          return node;\n        }\n        const id = getOriginalNodeId(node);\n        currentSourceFile = node;\n        enclosingBlockScopedContainer = node;\n        moduleInfo = moduleInfoMap[id] = collectExternalModuleInfo(context, node, resolver, compilerOptions);\n        exportFunction = factory2.createUniqueName(\"exports\");\n        exportFunctionsMap[id] = exportFunction;\n        contextObject = contextObjectMap[id] = factory2.createUniqueName(\"context\");\n        const dependencyGroups = collectDependencyGroups(moduleInfo.externalImports);\n        const moduleBodyBlock = createSystemModuleBody(node, dependencyGroups);\n        const moduleBodyFunction = factory2.createFunctionExpression(\n          /*modifiers*/\n          void 0,\n          /*asteriskToken*/\n          void 0,\n          /*name*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          [\n            factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              exportFunction\n            ),\n            factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              contextObject\n            )\n          ],\n          /*type*/\n          void 0,\n          moduleBodyBlock\n        );\n        const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions);\n        const dependencies = factory2.createArrayLiteralExpression(map(dependencyGroups, (dependencyGroup) => dependencyGroup.name));\n        const updated = setEmitFlags(\n          factory2.updateSourceFile(\n            node,\n            setTextRange(\n              factory2.createNodeArray([\n                factory2.createExpressionStatement(\n                  factory2.createCallExpression(\n                    factory2.createPropertyAccessExpression(factory2.createIdentifier(\"System\"), \"register\"),\n                    /*typeArguments*/\n                    void 0,\n                    moduleName ? [moduleName, dependencies, moduleBodyFunction] : [dependencies, moduleBodyFunction]\n                  )\n                )\n              ]),\n              node.statements\n            )\n          ),\n          2048\n          /* NoTrailingComments */\n        );\n        if (!outFile(compilerOptions)) {\n          moveEmitHelpers(updated, moduleBodyBlock, (helper) => !helper.scoped);\n        }\n        if (noSubstitution) {\n          noSubstitutionMap[id] = noSubstitution;\n          noSubstitution = void 0;\n        }\n        currentSourceFile = void 0;\n        moduleInfo = void 0;\n        exportFunction = void 0;\n        contextObject = void 0;\n        hoistedStatements = void 0;\n        enclosingBlockScopedContainer = void 0;\n        return updated;\n      }\n      function collectDependencyGroups(externalImports) {\n        const groupIndices = /* @__PURE__ */ new Map();\n        const dependencyGroups = [];\n        for (const externalImport of externalImports) {\n          const externalModuleName = getExternalModuleNameLiteral(factory2, externalImport, currentSourceFile, host, resolver, compilerOptions);\n          if (externalModuleName) {\n            const text = externalModuleName.text;\n            const groupIndex = groupIndices.get(text);\n            if (groupIndex !== void 0) {\n              dependencyGroups[groupIndex].externalImports.push(externalImport);\n            } else {\n              groupIndices.set(text, dependencyGroups.length);\n              dependencyGroups.push({\n                name: externalModuleName,\n                externalImports: [externalImport]\n              });\n            }\n          }\n        }\n        return dependencyGroups;\n      }\n      function createSystemModuleBody(node, dependencyGroups) {\n        const statements = [];\n        startLexicalEnvironment();\n        const ensureUseStrict = getStrictOptionValue(compilerOptions, \"alwaysStrict\") || !compilerOptions.noImplicitUseStrict && isExternalModule(currentSourceFile);\n        const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict, topLevelVisitor);\n        statements.push(\n          factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList([\n              factory2.createVariableDeclaration(\n                \"__moduleName\",\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                factory2.createLogicalAnd(\n                  contextObject,\n                  factory2.createPropertyAccessExpression(contextObject, \"id\")\n                )\n              )\n            ])\n          )\n        );\n        visitNode(moduleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement);\n        const executeStatements = visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset);\n        addRange(statements, hoistedStatements);\n        insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n        const exportStarFunction = addExportStarIfNeeded(statements);\n        const modifiers = node.transformFlags & 2097152 ? factory2.createModifiersFromModifierFlags(\n          512\n          /* Async */\n        ) : void 0;\n        const moduleObject = factory2.createObjectLiteralExpression(\n          [\n            factory2.createPropertyAssignment(\n              \"setters\",\n              createSettersArray(exportStarFunction, dependencyGroups)\n            ),\n            factory2.createPropertyAssignment(\n              \"execute\",\n              factory2.createFunctionExpression(\n                modifiers,\n                /*asteriskToken*/\n                void 0,\n                /*name*/\n                void 0,\n                /*typeParameters*/\n                void 0,\n                /*parameters*/\n                [],\n                /*type*/\n                void 0,\n                factory2.createBlock(\n                  executeStatements,\n                  /*multiLine*/\n                  true\n                )\n              )\n            )\n          ],\n          /*multiLine*/\n          true\n        );\n        statements.push(factory2.createReturnStatement(moduleObject));\n        return factory2.createBlock(\n          statements,\n          /*multiLine*/\n          true\n        );\n      }\n      function addExportStarIfNeeded(statements) {\n        if (!moduleInfo.hasExportStarsToExportValues) {\n          return;\n        }\n        if (!moduleInfo.exportedNames && moduleInfo.exportSpecifiers.size === 0) {\n          let hasExportDeclarationWithExportClause = false;\n          for (const externalImport of moduleInfo.externalImports) {\n            if (externalImport.kind === 275 && externalImport.exportClause) {\n              hasExportDeclarationWithExportClause = true;\n              break;\n            }\n          }\n          if (!hasExportDeclarationWithExportClause) {\n            const exportStarFunction2 = createExportStarFunction(\n              /*localNames*/\n              void 0\n            );\n            statements.push(exportStarFunction2);\n            return exportStarFunction2.name;\n          }\n        }\n        const exportedNames = [];\n        if (moduleInfo.exportedNames) {\n          for (const exportedLocalName of moduleInfo.exportedNames) {\n            if (exportedLocalName.escapedText === \"default\") {\n              continue;\n            }\n            exportedNames.push(\n              factory2.createPropertyAssignment(\n                factory2.createStringLiteralFromNode(exportedLocalName),\n                factory2.createTrue()\n              )\n            );\n          }\n        }\n        const exportedNamesStorageRef = factory2.createUniqueName(\"exportedNames\");\n        statements.push(\n          factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList([\n              factory2.createVariableDeclaration(\n                exportedNamesStorageRef,\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                factory2.createObjectLiteralExpression(\n                  exportedNames,\n                  /*multiline*/\n                  true\n                )\n              )\n            ])\n          )\n        );\n        const exportStarFunction = createExportStarFunction(exportedNamesStorageRef);\n        statements.push(exportStarFunction);\n        return exportStarFunction.name;\n      }\n      function createExportStarFunction(localNames) {\n        const exportStarFunction = factory2.createUniqueName(\"exportStar\");\n        const m = factory2.createIdentifier(\"m\");\n        const n = factory2.createIdentifier(\"n\");\n        const exports = factory2.createIdentifier(\"exports\");\n        let condition = factory2.createStrictInequality(n, factory2.createStringLiteral(\"default\"));\n        if (localNames) {\n          condition = factory2.createLogicalAnd(\n            condition,\n            factory2.createLogicalNot(\n              factory2.createCallExpression(\n                factory2.createPropertyAccessExpression(localNames, \"hasOwnProperty\"),\n                /*typeArguments*/\n                void 0,\n                [n]\n              )\n            )\n          );\n        }\n        return factory2.createFunctionDeclaration(\n          /*modifiers*/\n          void 0,\n          /*asteriskToken*/\n          void 0,\n          exportStarFunction,\n          /*typeParameters*/\n          void 0,\n          [factory2.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            /*dotDotDotToken*/\n            void 0,\n            m\n          )],\n          /*type*/\n          void 0,\n          factory2.createBlock(\n            [\n              factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                factory2.createVariableDeclarationList([\n                  factory2.createVariableDeclaration(\n                    exports,\n                    /*exclamationToken*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    factory2.createObjectLiteralExpression([])\n                  )\n                ])\n              ),\n              factory2.createForInStatement(\n                factory2.createVariableDeclarationList([\n                  factory2.createVariableDeclaration(n)\n                ]),\n                m,\n                factory2.createBlock([\n                  setEmitFlags(\n                    factory2.createIfStatement(\n                      condition,\n                      factory2.createExpressionStatement(\n                        factory2.createAssignment(\n                          factory2.createElementAccessExpression(exports, n),\n                          factory2.createElementAccessExpression(m, n)\n                        )\n                      )\n                    ),\n                    1\n                    /* SingleLine */\n                  )\n                ])\n              ),\n              factory2.createExpressionStatement(\n                factory2.createCallExpression(\n                  exportFunction,\n                  /*typeArguments*/\n                  void 0,\n                  [exports]\n                )\n              )\n            ],\n            /*multiline*/\n            true\n          )\n        );\n      }\n      function createSettersArray(exportStarFunction, dependencyGroups) {\n        const setters = [];\n        for (const group2 of dependencyGroups) {\n          const localName = forEach(group2.externalImports, (i) => getLocalNameForExternalImport(factory2, i, currentSourceFile));\n          const parameterName = localName ? factory2.getGeneratedNameForNode(localName) : factory2.createUniqueName(\"\");\n          const statements = [];\n          for (const entry of group2.externalImports) {\n            const importVariableName = getLocalNameForExternalImport(factory2, entry, currentSourceFile);\n            switch (entry.kind) {\n              case 269:\n                if (!entry.importClause) {\n                  break;\n                }\n              case 268:\n                Debug2.assert(importVariableName !== void 0);\n                statements.push(\n                  factory2.createExpressionStatement(\n                    factory2.createAssignment(importVariableName, parameterName)\n                  )\n                );\n                if (hasSyntacticModifier(\n                  entry,\n                  1\n                  /* Export */\n                )) {\n                  statements.push(\n                    factory2.createExpressionStatement(\n                      factory2.createCallExpression(\n                        exportFunction,\n                        /*typeArguments*/\n                        void 0,\n                        [\n                          factory2.createStringLiteral(idText(importVariableName)),\n                          parameterName\n                        ]\n                      )\n                    )\n                  );\n                }\n                break;\n              case 275:\n                Debug2.assert(importVariableName !== void 0);\n                if (entry.exportClause) {\n                  if (isNamedExports(entry.exportClause)) {\n                    const properties = [];\n                    for (const e of entry.exportClause.elements) {\n                      properties.push(\n                        factory2.createPropertyAssignment(\n                          factory2.createStringLiteral(idText(e.name)),\n                          factory2.createElementAccessExpression(\n                            parameterName,\n                            factory2.createStringLiteral(idText(e.propertyName || e.name))\n                          )\n                        )\n                      );\n                    }\n                    statements.push(\n                      factory2.createExpressionStatement(\n                        factory2.createCallExpression(\n                          exportFunction,\n                          /*typeArguments*/\n                          void 0,\n                          [factory2.createObjectLiteralExpression(\n                            properties,\n                            /*multiline*/\n                            true\n                          )]\n                        )\n                      )\n                    );\n                  } else {\n                    statements.push(\n                      factory2.createExpressionStatement(\n                        factory2.createCallExpression(\n                          exportFunction,\n                          /*typeArguments*/\n                          void 0,\n                          [\n                            factory2.createStringLiteral(idText(entry.exportClause.name)),\n                            parameterName\n                          ]\n                        )\n                      )\n                    );\n                  }\n                } else {\n                  statements.push(\n                    factory2.createExpressionStatement(\n                      factory2.createCallExpression(\n                        exportStarFunction,\n                        /*typeArguments*/\n                        void 0,\n                        [parameterName]\n                      )\n                    )\n                  );\n                }\n                break;\n            }\n          }\n          setters.push(\n            factory2.createFunctionExpression(\n              /*modifiers*/\n              void 0,\n              /*asteriskToken*/\n              void 0,\n              /*name*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              [factory2.createParameterDeclaration(\n                /*modifiers*/\n                void 0,\n                /*dotDotDotToken*/\n                void 0,\n                parameterName\n              )],\n              /*type*/\n              void 0,\n              factory2.createBlock(\n                statements,\n                /*multiLine*/\n                true\n              )\n            )\n          );\n        }\n        return factory2.createArrayLiteralExpression(\n          setters,\n          /*multiLine*/\n          true\n        );\n      }\n      function topLevelVisitor(node) {\n        switch (node.kind) {\n          case 269:\n            return visitImportDeclaration(node);\n          case 268:\n            return visitImportEqualsDeclaration(node);\n          case 275:\n            return visitExportDeclaration(node);\n          case 274:\n            return visitExportAssignment(node);\n          default:\n            return topLevelNestedVisitor(node);\n        }\n      }\n      function visitImportDeclaration(node) {\n        let statements;\n        if (node.importClause) {\n          hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile));\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfImportDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfImportDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function visitExportDeclaration(node) {\n        Debug2.assertIsDefined(node);\n        return void 0;\n      }\n      function visitImportEqualsDeclaration(node) {\n        Debug2.assert(isExternalModuleImportEqualsDeclaration(node), \"import= for internal module references should be handled in an earlier transformer.\");\n        let statements;\n        hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile));\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfImportEqualsDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfImportEqualsDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function visitExportAssignment(node) {\n        if (node.isExportEquals) {\n          return void 0;\n        }\n        const expression = visitNode(node.expression, visitor, isExpression);\n        const original = node.original;\n        if (original && hasAssociatedEndOfDeclarationMarker(original)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportStatement(\n            deferredExports[id],\n            factory2.createIdentifier(\"default\"),\n            expression,\n            /*allowComments*/\n            true\n          );\n        } else {\n          return createExportStatement(\n            factory2.createIdentifier(\"default\"),\n            expression,\n            /*allowComments*/\n            true\n          );\n        }\n      }\n      function visitFunctionDeclaration(node) {\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          hoistedStatements = append(\n            hoistedStatements,\n            factory2.updateFunctionDeclaration(\n              node,\n              visitNodes2(node.modifiers, modifierVisitor, isModifierLike),\n              node.asteriskToken,\n              factory2.getDeclarationName(\n                node,\n                /*allowComments*/\n                true,\n                /*allowSourceMaps*/\n                true\n              ),\n              /*typeParameters*/\n              void 0,\n              visitNodes2(node.parameters, visitor, isParameter),\n              /*type*/\n              void 0,\n              visitNode(node.body, visitor, isBlock)\n            )\n          );\n        } else {\n          hoistedStatements = append(hoistedStatements, visitEachChild(node, visitor, context));\n        }\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n        } else {\n          hoistedStatements = appendExportsOfHoistedDeclaration(hoistedStatements, node);\n        }\n        return void 0;\n      }\n      function visitClassDeclaration(node) {\n        let statements;\n        const name = factory2.getLocalName(node);\n        hoistVariableDeclaration(name);\n        statements = append(\n          statements,\n          setTextRange(\n            factory2.createExpressionStatement(\n              factory2.createAssignment(\n                name,\n                setTextRange(\n                  factory2.createClassExpression(\n                    visitNodes2(node.modifiers, modifierVisitor, isModifierLike),\n                    node.name,\n                    /*typeParameters*/\n                    void 0,\n                    visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n                    visitNodes2(node.members, visitor, isClassElement)\n                  ),\n                  node\n                )\n              )\n            ),\n            node\n          )\n        );\n        if (hasAssociatedEndOfDeclarationMarker(node)) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n        } else {\n          statements = appendExportsOfHoistedDeclaration(statements, node);\n        }\n        return singleOrMany(statements);\n      }\n      function visitVariableStatement(node) {\n        if (!shouldHoistVariableDeclarationList(node.declarationList)) {\n          return visitNode(node, visitor, isStatement);\n        }\n        let expressions;\n        const isExportedDeclaration = hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        );\n        const isMarkedDeclaration = hasAssociatedEndOfDeclarationMarker(node);\n        for (const variable of node.declarationList.declarations) {\n          if (variable.initializer) {\n            expressions = append(expressions, transformInitializedVariable(variable, isExportedDeclaration && !isMarkedDeclaration));\n          } else {\n            hoistBindingElement(variable);\n          }\n        }\n        let statements;\n        if (expressions) {\n          statements = append(statements, setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node));\n        }\n        if (isMarkedDeclaration) {\n          const id = getOriginalNodeId(node);\n          deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node, isExportedDeclaration);\n        } else {\n          statements = appendExportsOfVariableStatement(\n            statements,\n            node,\n            /*exportSelf*/\n            false\n          );\n        }\n        return singleOrMany(statements);\n      }\n      function hoistBindingElement(node) {\n        if (isBindingPattern(node.name)) {\n          for (const element of node.name.elements) {\n            if (!isOmittedExpression(element)) {\n              hoistBindingElement(element);\n            }\n          }\n        } else {\n          hoistVariableDeclaration(factory2.cloneNode(node.name));\n        }\n      }\n      function shouldHoistVariableDeclarationList(node) {\n        return (getEmitFlags(node) & 4194304) === 0 && (enclosingBlockScopedContainer.kind === 308 || (getOriginalNode(node).flags & 3) === 0);\n      }\n      function transformInitializedVariable(node, isExportedDeclaration) {\n        const createAssignment = isExportedDeclaration ? createExportedVariableAssignment : createNonExportedVariableAssignment;\n        return isBindingPattern(node.name) ? flattenDestructuringAssignment(\n          node,\n          visitor,\n          context,\n          0,\n          /*needsValue*/\n          false,\n          createAssignment\n        ) : node.initializer ? createAssignment(node.name, visitNode(node.initializer, visitor, isExpression)) : node.name;\n      }\n      function createExportedVariableAssignment(name, value, location) {\n        return createVariableAssignment(\n          name,\n          value,\n          location,\n          /*isExportedDeclaration*/\n          true\n        );\n      }\n      function createNonExportedVariableAssignment(name, value, location) {\n        return createVariableAssignment(\n          name,\n          value,\n          location,\n          /*isExportedDeclaration*/\n          false\n        );\n      }\n      function createVariableAssignment(name, value, location, isExportedDeclaration) {\n        hoistVariableDeclaration(factory2.cloneNode(name));\n        return isExportedDeclaration ? createExportExpression(name, preventSubstitution(setTextRange(factory2.createAssignment(name, value), location))) : preventSubstitution(setTextRange(factory2.createAssignment(name, value), location));\n      }\n      function visitMergeDeclarationMarker(node) {\n        if (hasAssociatedEndOfDeclarationMarker(node) && node.original.kind === 240) {\n          const id = getOriginalNodeId(node);\n          const isExportedDeclaration = hasSyntacticModifier(\n            node.original,\n            1\n            /* Export */\n          );\n          deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node.original, isExportedDeclaration);\n        }\n        return node;\n      }\n      function hasAssociatedEndOfDeclarationMarker(node) {\n        return (getEmitFlags(node) & 8388608) !== 0;\n      }\n      function visitEndOfDeclarationMarker(node) {\n        const id = getOriginalNodeId(node);\n        const statements = deferredExports[id];\n        if (statements) {\n          delete deferredExports[id];\n          return append(statements, node);\n        } else {\n          const original = getOriginalNode(node);\n          if (isModuleOrEnumDeclaration(original)) {\n            return append(appendExportsOfDeclaration(statements, original), node);\n          }\n        }\n        return node;\n      }\n      function appendExportsOfImportDeclaration(statements, decl) {\n        if (moduleInfo.exportEquals) {\n          return statements;\n        }\n        const importClause = decl.importClause;\n        if (!importClause) {\n          return statements;\n        }\n        if (importClause.name) {\n          statements = appendExportsOfDeclaration(statements, importClause);\n        }\n        const namedBindings = importClause.namedBindings;\n        if (namedBindings) {\n          switch (namedBindings.kind) {\n            case 271:\n              statements = appendExportsOfDeclaration(statements, namedBindings);\n              break;\n            case 272:\n              for (const importBinding of namedBindings.elements) {\n                statements = appendExportsOfDeclaration(statements, importBinding);\n              }\n              break;\n          }\n        }\n        return statements;\n      }\n      function appendExportsOfImportEqualsDeclaration(statements, decl) {\n        if (moduleInfo.exportEquals) {\n          return statements;\n        }\n        return appendExportsOfDeclaration(statements, decl);\n      }\n      function appendExportsOfVariableStatement(statements, node, exportSelf) {\n        if (moduleInfo.exportEquals) {\n          return statements;\n        }\n        for (const decl of node.declarationList.declarations) {\n          if (decl.initializer || exportSelf) {\n            statements = appendExportsOfBindingElement(statements, decl, exportSelf);\n          }\n        }\n        return statements;\n      }\n      function appendExportsOfBindingElement(statements, decl, exportSelf) {\n        if (moduleInfo.exportEquals) {\n          return statements;\n        }\n        if (isBindingPattern(decl.name)) {\n          for (const element of decl.name.elements) {\n            if (!isOmittedExpression(element)) {\n              statements = appendExportsOfBindingElement(statements, element, exportSelf);\n            }\n          }\n        } else if (!isGeneratedIdentifier(decl.name)) {\n          let excludeName;\n          if (exportSelf) {\n            statements = appendExportStatement(statements, decl.name, factory2.getLocalName(decl));\n            excludeName = idText(decl.name);\n          }\n          statements = appendExportsOfDeclaration(statements, decl, excludeName);\n        }\n        return statements;\n      }\n      function appendExportsOfHoistedDeclaration(statements, decl) {\n        if (moduleInfo.exportEquals) {\n          return statements;\n        }\n        let excludeName;\n        if (hasSyntacticModifier(\n          decl,\n          1\n          /* Export */\n        )) {\n          const exportName = hasSyntacticModifier(\n            decl,\n            1024\n            /* Default */\n          ) ? factory2.createStringLiteral(\"default\") : decl.name;\n          statements = appendExportStatement(statements, exportName, factory2.getLocalName(decl));\n          excludeName = getTextOfIdentifierOrLiteral(exportName);\n        }\n        if (decl.name) {\n          statements = appendExportsOfDeclaration(statements, decl, excludeName);\n        }\n        return statements;\n      }\n      function appendExportsOfDeclaration(statements, decl, excludeName) {\n        if (moduleInfo.exportEquals) {\n          return statements;\n        }\n        const name = factory2.getDeclarationName(decl);\n        const exportSpecifiers = moduleInfo.exportSpecifiers.get(idText(name));\n        if (exportSpecifiers) {\n          for (const exportSpecifier of exportSpecifiers) {\n            if (exportSpecifier.name.escapedText !== excludeName) {\n              statements = appendExportStatement(statements, exportSpecifier.name, name);\n            }\n          }\n        }\n        return statements;\n      }\n      function appendExportStatement(statements, exportName, expression, allowComments) {\n        statements = append(statements, createExportStatement(exportName, expression, allowComments));\n        return statements;\n      }\n      function createExportStatement(name, value, allowComments) {\n        const statement = factory2.createExpressionStatement(createExportExpression(name, value));\n        startOnNewLine(statement);\n        if (!allowComments) {\n          setEmitFlags(\n            statement,\n            3072\n            /* NoComments */\n          );\n        }\n        return statement;\n      }\n      function createExportExpression(name, value) {\n        const exportName = isIdentifier(name) ? factory2.createStringLiteralFromNode(name) : name;\n        setEmitFlags(\n          value,\n          getEmitFlags(value) | 3072\n          /* NoComments */\n        );\n        return setCommentRange(factory2.createCallExpression(\n          exportFunction,\n          /*typeArguments*/\n          void 0,\n          [exportName, value]\n        ), value);\n      }\n      function topLevelNestedVisitor(node) {\n        switch (node.kind) {\n          case 240:\n            return visitVariableStatement(node);\n          case 259:\n            return visitFunctionDeclaration(node);\n          case 260:\n            return visitClassDeclaration(node);\n          case 245:\n            return visitForStatement(\n              node,\n              /*isTopLevel*/\n              true\n            );\n          case 246:\n            return visitForInStatement(node);\n          case 247:\n            return visitForOfStatement(node);\n          case 243:\n            return visitDoStatement(node);\n          case 244:\n            return visitWhileStatement(node);\n          case 253:\n            return visitLabeledStatement(node);\n          case 251:\n            return visitWithStatement(node);\n          case 252:\n            return visitSwitchStatement(node);\n          case 266:\n            return visitCaseBlock(node);\n          case 292:\n            return visitCaseClause(node);\n          case 293:\n            return visitDefaultClause(node);\n          case 255:\n            return visitTryStatement(node);\n          case 295:\n            return visitCatchClause(node);\n          case 238:\n            return visitBlock(node);\n          case 358:\n            return visitMergeDeclarationMarker(node);\n          case 359:\n            return visitEndOfDeclarationMarker(node);\n          default:\n            return visitor(node);\n        }\n      }\n      function visitForStatement(node, isTopLevel) {\n        const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n        enclosingBlockScopedContainer = node;\n        node = factory2.updateForStatement(\n          node,\n          visitNode(node.initializer, isTopLevel ? visitForInitializer : discardedValueVisitor, isForInitializer),\n          visitNode(node.condition, visitor, isExpression),\n          visitNode(node.incrementor, discardedValueVisitor, isExpression),\n          visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context)\n        );\n        enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n        return node;\n      }\n      function visitForInStatement(node) {\n        const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n        enclosingBlockScopedContainer = node;\n        node = factory2.updateForInStatement(\n          node,\n          visitForInitializer(node.initializer),\n          visitNode(node.expression, visitor, isExpression),\n          visitIterationBody(node.statement, topLevelNestedVisitor, context)\n        );\n        enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n        return node;\n      }\n      function visitForOfStatement(node) {\n        const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n        enclosingBlockScopedContainer = node;\n        node = factory2.updateForOfStatement(\n          node,\n          node.awaitModifier,\n          visitForInitializer(node.initializer),\n          visitNode(node.expression, visitor, isExpression),\n          visitIterationBody(node.statement, topLevelNestedVisitor, context)\n        );\n        enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n        return node;\n      }\n      function shouldHoistForInitializer(node) {\n        return isVariableDeclarationList(node) && shouldHoistVariableDeclarationList(node);\n      }\n      function visitForInitializer(node) {\n        if (shouldHoistForInitializer(node)) {\n          let expressions;\n          for (const variable of node.declarations) {\n            expressions = append(expressions, transformInitializedVariable(\n              variable,\n              /*isExportedDeclaration*/\n              false\n            ));\n            if (!variable.initializer) {\n              hoistBindingElement(variable);\n            }\n          }\n          return expressions ? factory2.inlineExpressions(expressions) : factory2.createOmittedExpression();\n        } else {\n          return visitNode(node, discardedValueVisitor, isForInitializer);\n        }\n      }\n      function visitDoStatement(node) {\n        return factory2.updateDoStatement(\n          node,\n          visitIterationBody(node.statement, topLevelNestedVisitor, context),\n          visitNode(node.expression, visitor, isExpression)\n        );\n      }\n      function visitWhileStatement(node) {\n        return factory2.updateWhileStatement(\n          node,\n          visitNode(node.expression, visitor, isExpression),\n          visitIterationBody(node.statement, topLevelNestedVisitor, context)\n        );\n      }\n      function visitLabeledStatement(node) {\n        return factory2.updateLabeledStatement(\n          node,\n          node.label,\n          Debug2.checkDefined(visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock))\n        );\n      }\n      function visitWithStatement(node) {\n        return factory2.updateWithStatement(\n          node,\n          visitNode(node.expression, visitor, isExpression),\n          Debug2.checkDefined(visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock))\n        );\n      }\n      function visitSwitchStatement(node) {\n        return factory2.updateSwitchStatement(\n          node,\n          visitNode(node.expression, visitor, isExpression),\n          Debug2.checkDefined(visitNode(node.caseBlock, topLevelNestedVisitor, isCaseBlock))\n        );\n      }\n      function visitCaseBlock(node) {\n        const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n        enclosingBlockScopedContainer = node;\n        node = factory2.updateCaseBlock(\n          node,\n          visitNodes2(node.clauses, topLevelNestedVisitor, isCaseOrDefaultClause)\n        );\n        enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n        return node;\n      }\n      function visitCaseClause(node) {\n        return factory2.updateCaseClause(\n          node,\n          visitNode(node.expression, visitor, isExpression),\n          visitNodes2(node.statements, topLevelNestedVisitor, isStatement)\n        );\n      }\n      function visitDefaultClause(node) {\n        return visitEachChild(node, topLevelNestedVisitor, context);\n      }\n      function visitTryStatement(node) {\n        return visitEachChild(node, topLevelNestedVisitor, context);\n      }\n      function visitCatchClause(node) {\n        const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n        enclosingBlockScopedContainer = node;\n        node = factory2.updateCatchClause(\n          node,\n          node.variableDeclaration,\n          Debug2.checkDefined(visitNode(node.block, topLevelNestedVisitor, isBlock))\n        );\n        enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n        return node;\n      }\n      function visitBlock(node) {\n        const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n        enclosingBlockScopedContainer = node;\n        node = visitEachChild(node, topLevelNestedVisitor, context);\n        enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n        return node;\n      }\n      function visitorWorker(node, valueIsDiscarded) {\n        if (!(node.transformFlags & (4096 | 8388608 | 268435456))) {\n          return node;\n        }\n        switch (node.kind) {\n          case 245:\n            return visitForStatement(\n              node,\n              /*isTopLevel*/\n              false\n            );\n          case 241:\n            return visitExpressionStatement(node);\n          case 214:\n            return visitParenthesizedExpression(node, valueIsDiscarded);\n          case 356:\n            return visitPartiallyEmittedExpression(node, valueIsDiscarded);\n          case 223:\n            if (isDestructuringAssignment(node)) {\n              return visitDestructuringAssignment(node, valueIsDiscarded);\n            }\n            break;\n          case 210:\n            if (isImportCall(node)) {\n              return visitImportCallExpression(node);\n            }\n            break;\n          case 221:\n          case 222:\n            return visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded);\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function visitor(node) {\n        return visitorWorker(\n          node,\n          /*valueIsDiscarded*/\n          false\n        );\n      }\n      function discardedValueVisitor(node) {\n        return visitorWorker(\n          node,\n          /*valueIsDiscarded*/\n          true\n        );\n      }\n      function visitExpressionStatement(node) {\n        return factory2.updateExpressionStatement(node, visitNode(node.expression, discardedValueVisitor, isExpression));\n      }\n      function visitParenthesizedExpression(node, valueIsDiscarded) {\n        return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n      }\n      function visitPartiallyEmittedExpression(node, valueIsDiscarded) {\n        return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n      }\n      function visitImportCallExpression(node) {\n        const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions);\n        const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor, isExpression);\n        const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument;\n        return factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(\n            contextObject,\n            factory2.createIdentifier(\"import\")\n          ),\n          /*typeArguments*/\n          void 0,\n          argument ? [argument] : []\n        );\n      }\n      function visitDestructuringAssignment(node, valueIsDiscarded) {\n        if (hasExportedReferenceInDestructuringTarget(node.left)) {\n          return flattenDestructuringAssignment(\n            node,\n            visitor,\n            context,\n            0,\n            !valueIsDiscarded\n          );\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function hasExportedReferenceInDestructuringTarget(node) {\n        if (isAssignmentExpression(\n          node,\n          /*excludeCompoundAssignment*/\n          true\n        )) {\n          return hasExportedReferenceInDestructuringTarget(node.left);\n        } else if (isSpreadElement(node)) {\n          return hasExportedReferenceInDestructuringTarget(node.expression);\n        } else if (isObjectLiteralExpression(node)) {\n          return some(node.properties, hasExportedReferenceInDestructuringTarget);\n        } else if (isArrayLiteralExpression(node)) {\n          return some(node.elements, hasExportedReferenceInDestructuringTarget);\n        } else if (isShorthandPropertyAssignment(node)) {\n          return hasExportedReferenceInDestructuringTarget(node.name);\n        } else if (isPropertyAssignment(node)) {\n          return hasExportedReferenceInDestructuringTarget(node.initializer);\n        } else if (isIdentifier(node)) {\n          const container = resolver.getReferencedExportContainer(node);\n          return container !== void 0 && container.kind === 308;\n        } else {\n          return false;\n        }\n      }\n      function visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded) {\n        if ((node.operator === 45 || node.operator === 46) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) {\n          const exportedNames = getExports(node.operand);\n          if (exportedNames) {\n            let temp;\n            let expression = visitNode(node.operand, visitor, isExpression);\n            if (isPrefixUnaryExpression(node)) {\n              expression = factory2.updatePrefixUnaryExpression(node, expression);\n            } else {\n              expression = factory2.updatePostfixUnaryExpression(node, expression);\n              if (!valueIsDiscarded) {\n                temp = factory2.createTempVariable(hoistVariableDeclaration);\n                expression = factory2.createAssignment(temp, expression);\n                setTextRange(expression, node);\n              }\n              expression = factory2.createComma(expression, factory2.cloneNode(node.operand));\n              setTextRange(expression, node);\n            }\n            for (const exportName of exportedNames) {\n              expression = createExportExpression(exportName, preventSubstitution(expression));\n            }\n            if (temp) {\n              expression = factory2.createComma(expression, temp);\n              setTextRange(expression, node);\n            }\n            return expression;\n          }\n        }\n        return visitEachChild(node, visitor, context);\n      }\n      function modifierVisitor(node) {\n        switch (node.kind) {\n          case 93:\n          case 88:\n            return void 0;\n        }\n        return node;\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (node.kind === 308) {\n          const id = getOriginalNodeId(node);\n          currentSourceFile = node;\n          moduleInfo = moduleInfoMap[id];\n          exportFunction = exportFunctionsMap[id];\n          noSubstitution = noSubstitutionMap[id];\n          contextObject = contextObjectMap[id];\n          if (noSubstitution) {\n            delete noSubstitutionMap[id];\n          }\n          previousOnEmitNode(hint, node, emitCallback);\n          currentSourceFile = void 0;\n          moduleInfo = void 0;\n          exportFunction = void 0;\n          contextObject = void 0;\n          noSubstitution = void 0;\n        } else {\n          previousOnEmitNode(hint, node, emitCallback);\n        }\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (isSubstitutionPrevented(node)) {\n          return node;\n        }\n        if (hint === 1) {\n          return substituteExpression(node);\n        } else if (hint === 4) {\n          return substituteUnspecified(node);\n        }\n        return node;\n      }\n      function substituteUnspecified(node) {\n        switch (node.kind) {\n          case 300:\n            return substituteShorthandPropertyAssignment(node);\n        }\n        return node;\n      }\n      function substituteShorthandPropertyAssignment(node) {\n        var _a22, _b3;\n        const name = node.name;\n        if (!isGeneratedIdentifier(name) && !isLocalName(name)) {\n          const importDeclaration = resolver.getReferencedImportDeclaration(name);\n          if (importDeclaration) {\n            if (isImportClause(importDeclaration)) {\n              return setTextRange(\n                factory2.createPropertyAssignment(\n                  factory2.cloneNode(name),\n                  factory2.createPropertyAccessExpression(\n                    factory2.getGeneratedNameForNode(importDeclaration.parent),\n                    factory2.createIdentifier(\"default\")\n                  )\n                ),\n                /*location*/\n                node\n              );\n            } else if (isImportSpecifier(importDeclaration)) {\n              return setTextRange(\n                factory2.createPropertyAssignment(\n                  factory2.cloneNode(name),\n                  factory2.createPropertyAccessExpression(\n                    factory2.getGeneratedNameForNode(((_b3 = (_a22 = importDeclaration.parent) == null ? void 0 : _a22.parent) == null ? void 0 : _b3.parent) || importDeclaration),\n                    factory2.cloneNode(importDeclaration.propertyName || importDeclaration.name)\n                  )\n                ),\n                /*location*/\n                node\n              );\n            }\n          }\n        }\n        return node;\n      }\n      function substituteExpression(node) {\n        switch (node.kind) {\n          case 79:\n            return substituteExpressionIdentifier(node);\n          case 223:\n            return substituteBinaryExpression(node);\n          case 233:\n            return substituteMetaProperty(node);\n        }\n        return node;\n      }\n      function substituteExpressionIdentifier(node) {\n        var _a22, _b3;\n        if (getEmitFlags(node) & 8192) {\n          const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile);\n          if (externalHelpersModuleName) {\n            return factory2.createPropertyAccessExpression(externalHelpersModuleName, node);\n          }\n          return node;\n        }\n        if (!isGeneratedIdentifier(node) && !isLocalName(node)) {\n          const importDeclaration = resolver.getReferencedImportDeclaration(node);\n          if (importDeclaration) {\n            if (isImportClause(importDeclaration)) {\n              return setTextRange(\n                factory2.createPropertyAccessExpression(\n                  factory2.getGeneratedNameForNode(importDeclaration.parent),\n                  factory2.createIdentifier(\"default\")\n                ),\n                /*location*/\n                node\n              );\n            } else if (isImportSpecifier(importDeclaration)) {\n              return setTextRange(\n                factory2.createPropertyAccessExpression(\n                  factory2.getGeneratedNameForNode(((_b3 = (_a22 = importDeclaration.parent) == null ? void 0 : _a22.parent) == null ? void 0 : _b3.parent) || importDeclaration),\n                  factory2.cloneNode(importDeclaration.propertyName || importDeclaration.name)\n                ),\n                /*location*/\n                node\n              );\n            }\n          }\n        }\n        return node;\n      }\n      function substituteBinaryExpression(node) {\n        if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && !isGeneratedIdentifier(node.left) && !isLocalName(node.left) && !isDeclarationNameOfEnumOrNamespace(node.left)) {\n          const exportedNames = getExports(node.left);\n          if (exportedNames) {\n            let expression = node;\n            for (const exportName of exportedNames) {\n              expression = createExportExpression(exportName, preventSubstitution(expression));\n            }\n            return expression;\n          }\n        }\n        return node;\n      }\n      function substituteMetaProperty(node) {\n        if (isImportMeta(node)) {\n          return factory2.createPropertyAccessExpression(contextObject, factory2.createIdentifier(\"meta\"));\n        }\n        return node;\n      }\n      function getExports(name) {\n        let exportedNames;\n        if (!isGeneratedIdentifier(name)) {\n          const valueDeclaration = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name);\n          if (valueDeclaration) {\n            const exportContainer = resolver.getReferencedExportContainer(\n              name,\n              /*prefixLocals*/\n              false\n            );\n            if (exportContainer && exportContainer.kind === 308) {\n              exportedNames = append(exportedNames, factory2.getDeclarationName(valueDeclaration));\n            }\n            exportedNames = addRange(exportedNames, moduleInfo && moduleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)]);\n          }\n        }\n        return exportedNames;\n      }\n      function preventSubstitution(node) {\n        if (noSubstitution === void 0)\n          noSubstitution = [];\n        noSubstitution[getNodeId(node)] = true;\n        return node;\n      }\n      function isSubstitutionPrevented(node) {\n        return noSubstitution && node.id && noSubstitution[node.id];\n      }\n    }\n    var init_system = __esm({\n      \"src/compiler/transformers/module/system.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformECMAScriptModule(context) {\n      const {\n        factory: factory2,\n        getEmitHelperFactory: emitHelpers\n      } = context;\n      const host = context.getEmitHost();\n      const resolver = context.getEmitResolver();\n      const compilerOptions = context.getCompilerOptions();\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const previousOnEmitNode = context.onEmitNode;\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      context.onEmitNode = onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      context.enableEmitNotification(\n        308\n        /* SourceFile */\n      );\n      context.enableSubstitution(\n        79\n        /* Identifier */\n      );\n      let helperNameSubstitutions;\n      let currentSourceFile;\n      let importRequireStatements;\n      return chainBundle(context, transformSourceFile);\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        if (isExternalModule(node) || getIsolatedModules(compilerOptions)) {\n          currentSourceFile = node;\n          importRequireStatements = void 0;\n          let result = updateExternalModule(node);\n          currentSourceFile = void 0;\n          if (importRequireStatements) {\n            result = factory2.updateSourceFile(\n              result,\n              setTextRange(factory2.createNodeArray(insertStatementsAfterCustomPrologue(result.statements.slice(), importRequireStatements)), result.statements)\n            );\n          }\n          if (!isExternalModule(node) || some(result.statements, isExternalModuleIndicator)) {\n            return result;\n          }\n          return factory2.updateSourceFile(\n            result,\n            setTextRange(factory2.createNodeArray([...result.statements, createEmptyExports(factory2)]), result.statements)\n          );\n        }\n        return node;\n      }\n      function updateExternalModule(node) {\n        const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(factory2, emitHelpers(), node, compilerOptions);\n        if (externalHelpersImportDeclaration) {\n          const statements = [];\n          const statementOffset = factory2.copyPrologue(node.statements, statements);\n          append(statements, externalHelpersImportDeclaration);\n          addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset));\n          return factory2.updateSourceFile(\n            node,\n            setTextRange(factory2.createNodeArray(statements), node.statements)\n          );\n        } else {\n          return visitEachChild(node, visitor, context);\n        }\n      }\n      function visitor(node) {\n        switch (node.kind) {\n          case 268:\n            return getEmitModuleKind(compilerOptions) >= 100 ? visitImportEqualsDeclaration(node) : void 0;\n          case 274:\n            return visitExportAssignment(node);\n          case 275:\n            const exportDecl = node;\n            return visitExportDeclaration(exportDecl);\n        }\n        return node;\n      }\n      function createRequireCall2(importNode) {\n        const moduleName = getExternalModuleNameLiteral(factory2, importNode, Debug2.checkDefined(currentSourceFile), host, resolver, compilerOptions);\n        const args = [];\n        if (moduleName) {\n          args.push(moduleName);\n        }\n        if (!importRequireStatements) {\n          const createRequireName = factory2.createUniqueName(\n            \"_createRequire\",\n            16 | 32\n            /* FileLevel */\n          );\n          const importStatement = factory2.createImportDeclaration(\n            /*modifiers*/\n            void 0,\n            factory2.createImportClause(\n              /*isTypeOnly*/\n              false,\n              /*name*/\n              void 0,\n              factory2.createNamedImports([\n                factory2.createImportSpecifier(\n                  /*isTypeOnly*/\n                  false,\n                  factory2.createIdentifier(\"createRequire\"),\n                  createRequireName\n                )\n              ])\n            ),\n            factory2.createStringLiteral(\"module\")\n          );\n          const requireHelperName = factory2.createUniqueName(\n            \"__require\",\n            16 | 32\n            /* FileLevel */\n          );\n          const requireStatement = factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList(\n              [\n                factory2.createVariableDeclaration(\n                  requireHelperName,\n                  /*exclamationToken*/\n                  void 0,\n                  /*type*/\n                  void 0,\n                  factory2.createCallExpression(\n                    factory2.cloneNode(createRequireName),\n                    /*typeArguments*/\n                    void 0,\n                    [\n                      factory2.createPropertyAccessExpression(factory2.createMetaProperty(100, factory2.createIdentifier(\"meta\")), factory2.createIdentifier(\"url\"))\n                    ]\n                  )\n                )\n              ],\n              /*flags*/\n              languageVersion >= 2 ? 2 : 0\n              /* None */\n            )\n          );\n          importRequireStatements = [importStatement, requireStatement];\n        }\n        const name = importRequireStatements[1].declarationList.declarations[0].name;\n        Debug2.assertNode(name, isIdentifier);\n        return factory2.createCallExpression(\n          factory2.cloneNode(name),\n          /*typeArguments*/\n          void 0,\n          args\n        );\n      }\n      function visitImportEqualsDeclaration(node) {\n        Debug2.assert(isExternalModuleImportEqualsDeclaration(node), \"import= for internal module references should be handled in an earlier transformer.\");\n        let statements;\n        statements = append(\n          statements,\n          setOriginalNode(\n            setTextRange(\n              factory2.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                factory2.createVariableDeclarationList(\n                  [\n                    factory2.createVariableDeclaration(\n                      factory2.cloneNode(node.name),\n                      /*exclamationToken*/\n                      void 0,\n                      /*type*/\n                      void 0,\n                      createRequireCall2(node)\n                    )\n                  ],\n                  /*flags*/\n                  languageVersion >= 2 ? 2 : 0\n                  /* None */\n                )\n              ),\n              node\n            ),\n            node\n          )\n        );\n        statements = appendExportsOfImportEqualsDeclaration(statements, node);\n        return singleOrMany(statements);\n      }\n      function appendExportsOfImportEqualsDeclaration(statements, node) {\n        if (hasSyntacticModifier(\n          node,\n          1\n          /* Export */\n        )) {\n          statements = append(statements, factory2.createExportDeclaration(\n            /*modifiers*/\n            void 0,\n            node.isTypeOnly,\n            factory2.createNamedExports([factory2.createExportSpecifier(\n              /*isTypeOnly*/\n              false,\n              /*propertyName*/\n              void 0,\n              idText(node.name)\n            )])\n          ));\n        }\n        return statements;\n      }\n      function visitExportAssignment(node) {\n        return node.isExportEquals ? void 0 : node;\n      }\n      function visitExportDeclaration(node) {\n        if (compilerOptions.module !== void 0 && compilerOptions.module > 5) {\n          return node;\n        }\n        if (!node.exportClause || !isNamespaceExport(node.exportClause) || !node.moduleSpecifier) {\n          return node;\n        }\n        const oldIdentifier = node.exportClause.name;\n        const synthName = factory2.getGeneratedNameForNode(oldIdentifier);\n        const importDecl = factory2.createImportDeclaration(\n          /*modifiers*/\n          void 0,\n          factory2.createImportClause(\n            /*isTypeOnly*/\n            false,\n            /*name*/\n            void 0,\n            factory2.createNamespaceImport(\n              synthName\n            )\n          ),\n          node.moduleSpecifier,\n          node.assertClause\n        );\n        setOriginalNode(importDecl, node.exportClause);\n        const exportDecl = isExportNamespaceAsDefaultDeclaration(node) ? factory2.createExportDefault(synthName) : factory2.createExportDeclaration(\n          /*modifiers*/\n          void 0,\n          /*isTypeOnly*/\n          false,\n          factory2.createNamedExports([factory2.createExportSpecifier(\n            /*isTypeOnly*/\n            false,\n            synthName,\n            oldIdentifier\n          )])\n        );\n        setOriginalNode(exportDecl, node);\n        return [importDecl, exportDecl];\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (isSourceFile(node)) {\n          if ((isExternalModule(node) || getIsolatedModules(compilerOptions)) && compilerOptions.importHelpers) {\n            helperNameSubstitutions = /* @__PURE__ */ new Map();\n          }\n          previousOnEmitNode(hint, node, emitCallback);\n          helperNameSubstitutions = void 0;\n        } else {\n          previousOnEmitNode(hint, node, emitCallback);\n        }\n      }\n      function onSubstituteNode(hint, node) {\n        node = previousOnSubstituteNode(hint, node);\n        if (helperNameSubstitutions && isIdentifier(node) && getEmitFlags(node) & 8192) {\n          return substituteHelperName(node);\n        }\n        return node;\n      }\n      function substituteHelperName(node) {\n        const name = idText(node);\n        let substitution = helperNameSubstitutions.get(name);\n        if (!substitution) {\n          helperNameSubstitutions.set(name, substitution = factory2.createUniqueName(\n            name,\n            16 | 32\n            /* FileLevel */\n          ));\n        }\n        return substitution;\n      }\n    }\n    var init_esnextAnd2015 = __esm({\n      \"src/compiler/transformers/module/esnextAnd2015.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function transformNodeModule(context) {\n      const previousOnSubstituteNode = context.onSubstituteNode;\n      const previousOnEmitNode = context.onEmitNode;\n      const esmTransform = transformECMAScriptModule(context);\n      const esmOnSubstituteNode = context.onSubstituteNode;\n      const esmOnEmitNode = context.onEmitNode;\n      context.onSubstituteNode = previousOnSubstituteNode;\n      context.onEmitNode = previousOnEmitNode;\n      const cjsTransform = transformModule(context);\n      const cjsOnSubstituteNode = context.onSubstituteNode;\n      const cjsOnEmitNode = context.onEmitNode;\n      context.onSubstituteNode = onSubstituteNode;\n      context.onEmitNode = onEmitNode;\n      context.enableSubstitution(\n        308\n        /* SourceFile */\n      );\n      context.enableEmitNotification(\n        308\n        /* SourceFile */\n      );\n      let currentSourceFile;\n      return transformSourceFileOrBundle;\n      function onSubstituteNode(hint, node) {\n        if (isSourceFile(node)) {\n          currentSourceFile = node;\n          return previousOnSubstituteNode(hint, node);\n        } else {\n          if (!currentSourceFile) {\n            return previousOnSubstituteNode(hint, node);\n          }\n          if (currentSourceFile.impliedNodeFormat === 99) {\n            return esmOnSubstituteNode(hint, node);\n          }\n          return cjsOnSubstituteNode(hint, node);\n        }\n      }\n      function onEmitNode(hint, node, emitCallback) {\n        if (isSourceFile(node)) {\n          currentSourceFile = node;\n        }\n        if (!currentSourceFile) {\n          return previousOnEmitNode(hint, node, emitCallback);\n        }\n        if (currentSourceFile.impliedNodeFormat === 99) {\n          return esmOnEmitNode(hint, node, emitCallback);\n        }\n        return cjsOnEmitNode(hint, node, emitCallback);\n      }\n      function getModuleTransformForFile(file) {\n        return file.impliedNodeFormat === 99 ? esmTransform : cjsTransform;\n      }\n      function transformSourceFile(node) {\n        if (node.isDeclarationFile) {\n          return node;\n        }\n        currentSourceFile = node;\n        const result = getModuleTransformForFile(node)(node);\n        currentSourceFile = void 0;\n        Debug2.assert(isSourceFile(result));\n        return result;\n      }\n      function transformSourceFileOrBundle(node) {\n        return node.kind === 308 ? transformSourceFile(node) : transformBundle(node);\n      }\n      function transformBundle(node) {\n        return context.factory.createBundle(map(node.sourceFiles, transformSourceFile), node.prepends);\n      }\n    }\n    var init_node = __esm({\n      \"src/compiler/transformers/module/node.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function canProduceDiagnostics(node) {\n      return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isJSDocTypeAlias(node);\n    }\n    function createGetSymbolAccessibilityDiagnosticForNodeName(node) {\n      if (isSetAccessor(node) || isGetAccessor(node)) {\n        return getAccessorNameVisibilityError;\n      } else if (isMethodSignature(node) || isMethodDeclaration(node)) {\n        return getMethodNameVisibilityError;\n      } else {\n        return createGetSymbolAccessibilityDiagnosticForNode(node);\n      }\n      function getAccessorNameVisibilityError(symbolAccessibilityResult) {\n        const diagnosticMessage = getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult);\n        return diagnosticMessage !== void 0 ? {\n          diagnosticMessage,\n          errorNode: node,\n          typeName: node.name\n        } : void 0;\n      }\n      function getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n        if (isStatic(node)) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;\n        } else if (node.parent.kind === 260) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1;\n        } else {\n          return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1;\n        }\n      }\n      function getMethodNameVisibilityError(symbolAccessibilityResult) {\n        const diagnosticMessage = getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult);\n        return diagnosticMessage !== void 0 ? {\n          diagnosticMessage,\n          errorNode: node,\n          typeName: node.name\n        } : void 0;\n      }\n      function getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n        if (isStatic(node)) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1;\n        } else if (node.parent.kind === 260) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1;\n        } else {\n          return symbolAccessibilityResult.errorModuleName ? Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1;\n        }\n      }\n    }\n    function createGetSymbolAccessibilityDiagnosticForNode(node) {\n      if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) {\n        return getVariableDeclarationTypeVisibilityError;\n      } else if (isSetAccessor(node) || isGetAccessor(node)) {\n        return getAccessorDeclarationTypeVisibilityError;\n      } else if (isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isIndexSignatureDeclaration(node)) {\n        return getReturnTypeVisibilityError;\n      } else if (isParameter(node)) {\n        if (isParameterPropertyDeclaration(node, node.parent) && hasSyntacticModifier(\n          node.parent,\n          8\n          /* Private */\n        )) {\n          return getVariableDeclarationTypeVisibilityError;\n        }\n        return getParameterDeclarationTypeVisibilityError;\n      } else if (isTypeParameterDeclaration(node)) {\n        return getTypeParameterConstraintVisibilityError;\n      } else if (isExpressionWithTypeArguments(node)) {\n        return getHeritageClauseVisibilityError;\n      } else if (isImportEqualsDeclaration(node)) {\n        return getImportEntityNameVisibilityError;\n      } else if (isTypeAliasDeclaration(node) || isJSDocTypeAlias(node)) {\n        return getTypeAliasDeclarationVisibilityError;\n      } else {\n        return Debug2.assertNever(node, `Attempted to set a declaration diagnostic context for unhandled node kind: ${Debug2.formatSyntaxKind(node.kind)}`);\n      }\n      function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n        if (node.kind === 257 || node.kind === 205) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;\n        } else if (node.kind === 169 || node.kind === 208 || node.kind === 168 || node.kind === 166 && hasSyntacticModifier(\n          node.parent,\n          8\n          /* Private */\n        )) {\n          if (isStatic(node)) {\n            return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;\n          } else if (node.parent.kind === 260 || node.kind === 166) {\n            return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1;\n          } else {\n            return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1;\n          }\n        }\n      }\n      function getVariableDeclarationTypeVisibilityError(symbolAccessibilityResult) {\n        const diagnosticMessage = getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult);\n        return diagnosticMessage !== void 0 ? {\n          diagnosticMessage,\n          errorNode: node,\n          typeName: node.name\n        } : void 0;\n      }\n      function getAccessorDeclarationTypeVisibilityError(symbolAccessibilityResult) {\n        let diagnosticMessage;\n        if (node.kind === 175) {\n          if (isStatic(node)) {\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1;\n          } else {\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1;\n          }\n        } else {\n          if (isStatic(node)) {\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1;\n          } else {\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;\n          }\n        }\n        return {\n          diagnosticMessage,\n          errorNode: node.name,\n          typeName: node.name\n        };\n      }\n      function getReturnTypeVisibilityError(symbolAccessibilityResult) {\n        let diagnosticMessage;\n        switch (node.kind) {\n          case 177:\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;\n            break;\n          case 176:\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;\n            break;\n          case 178:\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;\n            break;\n          case 171:\n          case 170:\n            if (isStatic(node)) {\n              diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0;\n            } else if (node.parent.kind === 260) {\n              diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0;\n            } else {\n              diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;\n            }\n            break;\n          case 259:\n            diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;\n            break;\n          default:\n            return Debug2.fail(\"This is unknown kind for signature: \" + node.kind);\n        }\n        return {\n          diagnosticMessage,\n          errorNode: node.name || node\n        };\n      }\n      function getParameterDeclarationTypeVisibilityError(symbolAccessibilityResult) {\n        const diagnosticMessage = getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult);\n        return diagnosticMessage !== void 0 ? {\n          diagnosticMessage,\n          errorNode: node,\n          typeName: node.name\n        } : void 0;\n      }\n      function getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n        switch (node.parent.kind) {\n          case 173:\n            return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;\n          case 177:\n          case 182:\n            return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;\n          case 176:\n            return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;\n          case 178:\n            return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;\n          case 171:\n          case 170:\n            if (isStatic(node.parent)) {\n              return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1;\n            } else if (node.parent.parent.kind === 260) {\n              return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1;\n            } else {\n              return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;\n            }\n          case 259:\n          case 181:\n            return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;\n          case 175:\n          case 174:\n            return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 ? Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;\n          default:\n            return Debug2.fail(`Unknown parent for parameter: ${Debug2.formatSyntaxKind(node.parent.kind)}`);\n        }\n      }\n      function getTypeParameterConstraintVisibilityError() {\n        let diagnosticMessage;\n        switch (node.parent.kind) {\n          case 260:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;\n            break;\n          case 261:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;\n            break;\n          case 197:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;\n            break;\n          case 182:\n          case 177:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;\n            break;\n          case 176:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;\n            break;\n          case 171:\n          case 170:\n            if (isStatic(node.parent)) {\n              diagnosticMessage = Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1;\n            } else if (node.parent.parent.kind === 260) {\n              diagnosticMessage = Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1;\n            } else {\n              diagnosticMessage = Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;\n            }\n            break;\n          case 181:\n          case 259:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;\n            break;\n          case 192:\n            diagnosticMessage = Diagnostics.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;\n            break;\n          case 262:\n            diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;\n            break;\n          default:\n            return Debug2.fail(\"This is unknown parent for type parameter: \" + node.parent.kind);\n        }\n        return {\n          diagnosticMessage,\n          errorNode: node,\n          typeName: node.name\n        };\n      }\n      function getHeritageClauseVisibilityError() {\n        let diagnosticMessage;\n        if (isClassDeclaration(node.parent.parent)) {\n          diagnosticMessage = isHeritageClause(node.parent) && node.parent.token === 117 ? Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1 : node.parent.parent.name ? Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1 : Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0;\n        } else {\n          diagnosticMessage = Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;\n        }\n        return {\n          diagnosticMessage,\n          errorNode: node,\n          typeName: getNameOfDeclaration(node.parent.parent)\n        };\n      }\n      function getImportEntityNameVisibilityError() {\n        return {\n          diagnosticMessage: Diagnostics.Import_declaration_0_is_using_private_name_1,\n          errorNode: node,\n          typeName: node.name\n        };\n      }\n      function getTypeAliasDeclarationVisibilityError(symbolAccessibilityResult) {\n        return {\n          diagnosticMessage: symbolAccessibilityResult.errorModuleName ? Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2 : Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,\n          errorNode: isJSDocTypeAlias(node) ? Debug2.checkDefined(node.typeExpression) : node.type,\n          typeName: isJSDocTypeAlias(node) ? getNameOfDeclaration(node) : node.name\n        };\n      }\n    }\n    var init_diagnostics = __esm({\n      \"src/compiler/transformers/declarations/diagnostics.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function getDeclarationDiagnostics(host, resolver, file) {\n      const compilerOptions = host.getCompilerOptions();\n      const result = transformNodes(\n        resolver,\n        host,\n        factory,\n        compilerOptions,\n        file ? [file] : filter(host.getSourceFiles(), isSourceFileNotJson),\n        [transformDeclarations],\n        /*allowDtsFiles*/\n        false\n      );\n      return result.diagnostics;\n    }\n    function hasInternalAnnotation(range, currentSourceFile) {\n      const comment = currentSourceFile.text.substring(range.pos, range.end);\n      return stringContains(comment, \"@internal\");\n    }\n    function isInternalDeclaration(node, currentSourceFile) {\n      const parseTreeNode = getParseTreeNode(node);\n      if (parseTreeNode && parseTreeNode.kind === 166) {\n        const paramIdx = parseTreeNode.parent.parameters.indexOf(parseTreeNode);\n        const previousSibling = paramIdx > 0 ? parseTreeNode.parent.parameters[paramIdx - 1] : void 0;\n        const text = currentSourceFile.text;\n        const commentRanges = previousSibling ? concatenate(\n          // to handle\n          // ... parameters, /** @internal */\n          // public param: string\n          getTrailingCommentRanges(text, skipTrivia(\n            text,\n            previousSibling.end + 1,\n            /* stopAfterLineBreak */\n            false,\n            /* stopAtComments */\n            true\n          )),\n          getLeadingCommentRanges(text, node.pos)\n        ) : getTrailingCommentRanges(text, skipTrivia(\n          text,\n          node.pos,\n          /* stopAfterLineBreak */\n          false,\n          /* stopAtComments */\n          true\n        ));\n        return commentRanges && commentRanges.length && hasInternalAnnotation(last(commentRanges), currentSourceFile);\n      }\n      const leadingCommentRanges = parseTreeNode && getLeadingCommentRangesOfNode(parseTreeNode, currentSourceFile);\n      return !!forEach(leadingCommentRanges, (range) => {\n        return hasInternalAnnotation(range, currentSourceFile);\n      });\n    }\n    function transformDeclarations(context) {\n      const throwDiagnostic = () => Debug2.fail(\"Diagnostic emitted without context\");\n      let getSymbolAccessibilityDiagnostic = throwDiagnostic;\n      let needsDeclare = true;\n      let isBundledEmit = false;\n      let resultHasExternalModuleIndicator = false;\n      let needsScopeFixMarker = false;\n      let resultHasScopeMarker = false;\n      let enclosingDeclaration;\n      let necessaryTypeReferences;\n      let lateMarkedStatements;\n      let lateStatementReplacementMap;\n      let suppressNewDiagnosticContexts;\n      let exportedModulesFromDeclarationEmit;\n      const { factory: factory2 } = context;\n      const host = context.getEmitHost();\n      const symbolTracker = {\n        trackSymbol,\n        reportInaccessibleThisError,\n        reportInaccessibleUniqueSymbolError,\n        reportCyclicStructureError,\n        reportPrivateInBaseOfClassExpression,\n        reportLikelyUnsafeImportRequiredError,\n        reportTruncationError,\n        moduleResolverHost: host,\n        trackReferencedAmbientModule,\n        trackExternalModuleSymbolOfImportTypeNode,\n        reportNonlocalAugmentation,\n        reportNonSerializableProperty,\n        reportImportTypeNodeResolutionModeOverride\n      };\n      let errorNameNode;\n      let errorFallbackNode;\n      let currentSourceFile;\n      let refs;\n      let libs2;\n      let emittedImports;\n      const resolver = context.getEmitResolver();\n      const options = context.getCompilerOptions();\n      const { noResolve, stripInternal } = options;\n      return transformRoot;\n      function recordTypeReferenceDirectivesIfNecessary(typeReferenceDirectives) {\n        if (!typeReferenceDirectives) {\n          return;\n        }\n        necessaryTypeReferences = necessaryTypeReferences || /* @__PURE__ */ new Set();\n        for (const ref of typeReferenceDirectives) {\n          necessaryTypeReferences.add(ref);\n        }\n      }\n      function trackReferencedAmbientModule(node, symbol) {\n        const directives = resolver.getTypeReferenceDirectivesForSymbol(\n          symbol,\n          67108863\n          /* All */\n        );\n        if (length(directives)) {\n          return recordTypeReferenceDirectivesIfNecessary(directives);\n        }\n        const container = getSourceFileOfNode(node);\n        refs.set(getOriginalNodeId(container), container);\n      }\n      function handleSymbolAccessibilityError(symbolAccessibilityResult) {\n        if (symbolAccessibilityResult.accessibility === 0) {\n          if (symbolAccessibilityResult && symbolAccessibilityResult.aliasesToMakeVisible) {\n            if (!lateMarkedStatements) {\n              lateMarkedStatements = symbolAccessibilityResult.aliasesToMakeVisible;\n            } else {\n              for (const ref of symbolAccessibilityResult.aliasesToMakeVisible) {\n                pushIfUnique(lateMarkedStatements, ref);\n              }\n            }\n          }\n        } else {\n          const errorInfo = getSymbolAccessibilityDiagnostic(symbolAccessibilityResult);\n          if (errorInfo) {\n            if (errorInfo.typeName) {\n              context.addDiagnostic(createDiagnosticForNode(\n                symbolAccessibilityResult.errorNode || errorInfo.errorNode,\n                errorInfo.diagnosticMessage,\n                getTextOfNode(errorInfo.typeName),\n                symbolAccessibilityResult.errorSymbolName,\n                symbolAccessibilityResult.errorModuleName\n              ));\n            } else {\n              context.addDiagnostic(createDiagnosticForNode(\n                symbolAccessibilityResult.errorNode || errorInfo.errorNode,\n                errorInfo.diagnosticMessage,\n                symbolAccessibilityResult.errorSymbolName,\n                symbolAccessibilityResult.errorModuleName\n              ));\n            }\n            return true;\n          }\n        }\n        return false;\n      }\n      function trackExternalModuleSymbolOfImportTypeNode(symbol) {\n        if (!isBundledEmit) {\n          (exportedModulesFromDeclarationEmit || (exportedModulesFromDeclarationEmit = [])).push(symbol);\n        }\n      }\n      function trackSymbol(symbol, enclosingDeclaration2, meaning) {\n        if (symbol.flags & 262144)\n          return false;\n        const issuedDiagnostic = handleSymbolAccessibilityError(resolver.isSymbolAccessible(\n          symbol,\n          enclosingDeclaration2,\n          meaning,\n          /*shouldComputeAliasesToMakeVisible*/\n          true\n        ));\n        recordTypeReferenceDirectivesIfNecessary(resolver.getTypeReferenceDirectivesForSymbol(symbol, meaning));\n        return issuedDiagnostic;\n      }\n      function reportPrivateInBaseOfClassExpression(propertyName) {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(\n            createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected, propertyName)\n          );\n        }\n      }\n      function errorDeclarationNameWithFallback() {\n        return errorNameNode ? declarationNameToString(errorNameNode) : errorFallbackNode && getNameOfDeclaration(errorFallbackNode) ? declarationNameToString(getNameOfDeclaration(errorFallbackNode)) : errorFallbackNode && isExportAssignment(errorFallbackNode) ? errorFallbackNode.isExportEquals ? \"export=\" : \"default\" : \"(Missing)\";\n      }\n      function reportInaccessibleUniqueSymbolError() {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(createDiagnosticForNode(\n            errorNameNode || errorFallbackNode,\n            Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,\n            errorDeclarationNameWithFallback(),\n            \"unique symbol\"\n          ));\n        }\n      }\n      function reportCyclicStructureError() {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(createDiagnosticForNode(\n            errorNameNode || errorFallbackNode,\n            Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,\n            errorDeclarationNameWithFallback()\n          ));\n        }\n      }\n      function reportInaccessibleThisError() {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(createDiagnosticForNode(\n            errorNameNode || errorFallbackNode,\n            Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,\n            errorDeclarationNameWithFallback(),\n            \"this\"\n          ));\n        }\n      }\n      function reportLikelyUnsafeImportRequiredError(specifier) {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(createDiagnosticForNode(\n            errorNameNode || errorFallbackNode,\n            Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,\n            errorDeclarationNameWithFallback(),\n            specifier\n          ));\n        }\n      }\n      function reportTruncationError() {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));\n        }\n      }\n      function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {\n        var _a22;\n        const primaryDeclaration = (_a22 = parentSymbol.declarations) == null ? void 0 : _a22.find((d) => getSourceFileOfNode(d) === containingFile);\n        const augmentingDeclarations = filter(symbol.declarations, (d) => getSourceFileOfNode(d) !== containingFile);\n        if (primaryDeclaration && augmentingDeclarations) {\n          for (const augmentations of augmentingDeclarations) {\n            context.addDiagnostic(addRelatedInfo(\n              createDiagnosticForNode(augmentations, Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),\n              createDiagnosticForNode(primaryDeclaration, Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)\n            ));\n          }\n        }\n      }\n      function reportNonSerializableProperty(propertyName) {\n        if (errorNameNode || errorFallbackNode) {\n          context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized, propertyName));\n        }\n      }\n      function reportImportTypeNodeResolutionModeOverride() {\n        if (!isNightly() && (errorNameNode || errorFallbackNode)) {\n          context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next));\n        }\n      }\n      function transformDeclarationsForJS(sourceFile, bundled) {\n        const oldDiag = getSymbolAccessibilityDiagnostic;\n        getSymbolAccessibilityDiagnostic = (s) => s.errorNode && canProduceDiagnostics(s.errorNode) ? createGetSymbolAccessibilityDiagnosticForNode(s.errorNode)(s) : {\n          diagnosticMessage: s.errorModuleName ? Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit : Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,\n          errorNode: s.errorNode || sourceFile\n        };\n        const result = resolver.getDeclarationStatementsForSourceFile(sourceFile, declarationEmitNodeBuilderFlags, symbolTracker, bundled);\n        getSymbolAccessibilityDiagnostic = oldDiag;\n        return result;\n      }\n      function transformRoot(node) {\n        if (node.kind === 308 && node.isDeclarationFile) {\n          return node;\n        }\n        if (node.kind === 309) {\n          isBundledEmit = true;\n          refs = /* @__PURE__ */ new Map();\n          libs2 = /* @__PURE__ */ new Map();\n          let hasNoDefaultLib = false;\n          const bundle = factory2.createBundle(map(\n            node.sourceFiles,\n            (sourceFile) => {\n              if (sourceFile.isDeclarationFile)\n                return void 0;\n              hasNoDefaultLib = hasNoDefaultLib || sourceFile.hasNoDefaultLib;\n              currentSourceFile = sourceFile;\n              enclosingDeclaration = sourceFile;\n              lateMarkedStatements = void 0;\n              suppressNewDiagnosticContexts = false;\n              lateStatementReplacementMap = /* @__PURE__ */ new Map();\n              getSymbolAccessibilityDiagnostic = throwDiagnostic;\n              needsScopeFixMarker = false;\n              resultHasScopeMarker = false;\n              collectReferences(sourceFile, refs);\n              collectLibs(sourceFile, libs2);\n              if (isExternalOrCommonJsModule(sourceFile) || isJsonSourceFile(sourceFile)) {\n                resultHasExternalModuleIndicator = false;\n                needsDeclare = false;\n                const statements = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(\n                  sourceFile,\n                  /*bundled*/\n                  true\n                )) : visitNodes2(sourceFile.statements, visitDeclarationStatements, isStatement);\n                const newFile = factory2.updateSourceFile(\n                  sourceFile,\n                  [factory2.createModuleDeclaration(\n                    [factory2.createModifier(\n                      136\n                      /* DeclareKeyword */\n                    )],\n                    factory2.createStringLiteral(getResolvedExternalModuleName(context.getEmitHost(), sourceFile)),\n                    factory2.createModuleBlock(setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), sourceFile.statements))\n                  )],\n                  /*isDeclarationFile*/\n                  true,\n                  /*referencedFiles*/\n                  [],\n                  /*typeReferences*/\n                  [],\n                  /*hasNoDefaultLib*/\n                  false,\n                  /*libReferences*/\n                  []\n                );\n                return newFile;\n              }\n              needsDeclare = true;\n              const updated2 = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile)) : visitNodes2(sourceFile.statements, visitDeclarationStatements, isStatement);\n              return factory2.updateSourceFile(\n                sourceFile,\n                transformAndReplaceLatePaintedStatements(updated2),\n                /*isDeclarationFile*/\n                true,\n                /*referencedFiles*/\n                [],\n                /*typeReferences*/\n                [],\n                /*hasNoDefaultLib*/\n                false,\n                /*libReferences*/\n                []\n              );\n            }\n          ), mapDefined(node.prepends, (prepend) => {\n            if (prepend.kind === 311) {\n              const sourceFile = createUnparsedSourceFile(prepend, \"dts\", stripInternal);\n              hasNoDefaultLib = hasNoDefaultLib || !!sourceFile.hasNoDefaultLib;\n              collectReferences(sourceFile, refs);\n              recordTypeReferenceDirectivesIfNecessary(map(sourceFile.typeReferenceDirectives, (ref) => [ref.fileName, ref.resolutionMode]));\n              collectLibs(sourceFile, libs2);\n              return sourceFile;\n            }\n            return prepend;\n          }));\n          bundle.syntheticFileReferences = [];\n          bundle.syntheticTypeReferences = getFileReferencesForUsedTypeReferences();\n          bundle.syntheticLibReferences = getLibReferences();\n          bundle.hasNoDefaultLib = hasNoDefaultLib;\n          const outputFilePath2 = getDirectoryPath(normalizeSlashes(getOutputPathsFor(\n            node,\n            host,\n            /*forceDtsPaths*/\n            true\n          ).declarationFilePath));\n          const referenceVisitor2 = mapReferencesIntoArray(bundle.syntheticFileReferences, outputFilePath2);\n          refs.forEach(referenceVisitor2);\n          return bundle;\n        }\n        needsDeclare = true;\n        needsScopeFixMarker = false;\n        resultHasScopeMarker = false;\n        enclosingDeclaration = node;\n        currentSourceFile = node;\n        getSymbolAccessibilityDiagnostic = throwDiagnostic;\n        isBundledEmit = false;\n        resultHasExternalModuleIndicator = false;\n        suppressNewDiagnosticContexts = false;\n        lateMarkedStatements = void 0;\n        lateStatementReplacementMap = /* @__PURE__ */ new Map();\n        necessaryTypeReferences = void 0;\n        refs = collectReferences(currentSourceFile, /* @__PURE__ */ new Map());\n        libs2 = collectLibs(currentSourceFile, /* @__PURE__ */ new Map());\n        const references = [];\n        const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor(\n          node,\n          host,\n          /*forceDtsPaths*/\n          true\n        ).declarationFilePath));\n        const referenceVisitor = mapReferencesIntoArray(references, outputFilePath);\n        let combinedStatements;\n        if (isSourceFileJS(currentSourceFile)) {\n          combinedStatements = factory2.createNodeArray(transformDeclarationsForJS(node));\n          refs.forEach(referenceVisitor);\n          emittedImports = filter(combinedStatements, isAnyImportSyntax);\n        } else {\n          const statements = visitNodes2(node.statements, visitDeclarationStatements, isStatement);\n          combinedStatements = setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), node.statements);\n          refs.forEach(referenceVisitor);\n          emittedImports = filter(combinedStatements, isAnyImportSyntax);\n          if (isExternalModule(node) && (!resultHasExternalModuleIndicator || needsScopeFixMarker && !resultHasScopeMarker)) {\n            combinedStatements = setTextRange(factory2.createNodeArray([...combinedStatements, createEmptyExports(factory2)]), combinedStatements);\n          }\n        }\n        const updated = factory2.updateSourceFile(\n          node,\n          combinedStatements,\n          /*isDeclarationFile*/\n          true,\n          references,\n          getFileReferencesForUsedTypeReferences(),\n          node.hasNoDefaultLib,\n          getLibReferences()\n        );\n        updated.exportedModulesFromDeclarationEmit = exportedModulesFromDeclarationEmit;\n        return updated;\n        function getLibReferences() {\n          return arrayFrom(libs2.keys(), (lib) => ({ fileName: lib, pos: -1, end: -1 }));\n        }\n        function getFileReferencesForUsedTypeReferences() {\n          return necessaryTypeReferences ? mapDefined(arrayFrom(necessaryTypeReferences.keys()), getFileReferenceForSpecifierModeTuple) : [];\n        }\n        function getFileReferenceForSpecifierModeTuple([typeName, mode]) {\n          if (emittedImports) {\n            for (const importStatement of emittedImports) {\n              if (isImportEqualsDeclaration(importStatement) && isExternalModuleReference(importStatement.moduleReference)) {\n                const expr = importStatement.moduleReference.expression;\n                if (isStringLiteralLike(expr) && expr.text === typeName) {\n                  return void 0;\n                }\n              } else if (isImportDeclaration(importStatement) && isStringLiteral(importStatement.moduleSpecifier) && importStatement.moduleSpecifier.text === typeName) {\n                return void 0;\n              }\n            }\n          }\n          return { fileName: typeName, pos: -1, end: -1, ...mode ? { resolutionMode: mode } : void 0 };\n        }\n        function mapReferencesIntoArray(references2, outputFilePath2) {\n          return (file) => {\n            let declFileName;\n            if (file.isDeclarationFile) {\n              declFileName = file.fileName;\n            } else {\n              if (isBundledEmit && contains(node.sourceFiles, file))\n                return;\n              const paths = getOutputPathsFor(\n                file,\n                host,\n                /*forceDtsPaths*/\n                true\n              );\n              declFileName = paths.declarationFilePath || paths.jsFilePath || file.fileName;\n            }\n            if (declFileName) {\n              const specifier = getModuleSpecifier(\n                options,\n                currentSourceFile,\n                toPath(outputFilePath2, host.getCurrentDirectory(), host.getCanonicalFileName),\n                toPath(declFileName, host.getCurrentDirectory(), host.getCanonicalFileName),\n                host\n              );\n              if (!pathIsRelative(specifier)) {\n                recordTypeReferenceDirectivesIfNecessary([[\n                  specifier,\n                  /*mode*/\n                  void 0\n                ]]);\n                return;\n              }\n              let fileName = getRelativePathToDirectoryOrUrl(\n                outputFilePath2,\n                declFileName,\n                host.getCurrentDirectory(),\n                host.getCanonicalFileName,\n                /*isAbsolutePathAnUrl*/\n                false\n              );\n              if (startsWith(fileName, \"./\") && hasExtension(fileName)) {\n                fileName = fileName.substring(2);\n              }\n              if (startsWith(fileName, \"node_modules/\") || pathContainsNodeModules(fileName)) {\n                return;\n              }\n              references2.push({ pos: -1, end: -1, fileName });\n            }\n          };\n        }\n      }\n      function collectReferences(sourceFile, ret) {\n        if (noResolve || !isUnparsedSource(sourceFile) && isSourceFileJS(sourceFile))\n          return ret;\n        forEach(sourceFile.referencedFiles, (f) => {\n          const elem = host.getSourceFileFromReference(sourceFile, f);\n          if (elem) {\n            ret.set(getOriginalNodeId(elem), elem);\n          }\n        });\n        return ret;\n      }\n      function collectLibs(sourceFile, ret) {\n        forEach(sourceFile.libReferenceDirectives, (ref) => {\n          const lib = host.getLibFileFromReference(ref);\n          if (lib) {\n            ret.set(toFileNameLowerCase(ref.fileName), true);\n          }\n        });\n        return ret;\n      }\n      function filterBindingPatternInitializersAndRenamings(name) {\n        if (name.kind === 79) {\n          return name;\n        } else {\n          if (name.kind === 204) {\n            return factory2.updateArrayBindingPattern(name, visitNodes2(name.elements, visitBindingElement, isArrayBindingElement));\n          } else {\n            return factory2.updateObjectBindingPattern(name, visitNodes2(name.elements, visitBindingElement, isBindingElement));\n          }\n        }\n        function visitBindingElement(elem) {\n          if (elem.kind === 229) {\n            return elem;\n          }\n          if (elem.propertyName && isIdentifier(elem.propertyName) && isIdentifier(elem.name) && !elem.symbol.isReferenced && !isIdentifierANonContextualKeyword(elem.propertyName)) {\n            return factory2.updateBindingElement(\n              elem,\n              elem.dotDotDotToken,\n              /* propertyName */\n              void 0,\n              elem.propertyName,\n              shouldPrintWithInitializer(elem) ? elem.initializer : void 0\n            );\n          }\n          return factory2.updateBindingElement(\n            elem,\n            elem.dotDotDotToken,\n            elem.propertyName,\n            filterBindingPatternInitializersAndRenamings(elem.name),\n            shouldPrintWithInitializer(elem) ? elem.initializer : void 0\n          );\n        }\n      }\n      function ensureParameter(p, modifierMask, type) {\n        let oldDiag;\n        if (!suppressNewDiagnosticContexts) {\n          oldDiag = getSymbolAccessibilityDiagnostic;\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p);\n        }\n        const newParam = factory2.updateParameterDeclaration(\n          p,\n          maskModifiers(p, modifierMask),\n          p.dotDotDotToken,\n          filterBindingPatternInitializersAndRenamings(p.name),\n          resolver.isOptionalParameter(p) ? p.questionToken || factory2.createToken(\n            57\n            /* QuestionToken */\n          ) : void 0,\n          ensureType(\n            p,\n            type || p.type,\n            /*ignorePrivate*/\n            true\n          ),\n          // Ignore private param props, since this type is going straight back into a param\n          ensureNoInitializer(p)\n        );\n        if (!suppressNewDiagnosticContexts) {\n          getSymbolAccessibilityDiagnostic = oldDiag;\n        }\n        return newParam;\n      }\n      function shouldPrintWithInitializer(node) {\n        return canHaveLiteralInitializer(node) && resolver.isLiteralConstDeclaration(getParseTreeNode(node));\n      }\n      function ensureNoInitializer(node) {\n        if (shouldPrintWithInitializer(node)) {\n          return resolver.createLiteralConstValue(getParseTreeNode(node), symbolTracker);\n        }\n        return void 0;\n      }\n      function ensureType(node, type, ignorePrivate) {\n        if (!ignorePrivate && hasEffectiveModifier(\n          node,\n          8\n          /* Private */\n        )) {\n          return;\n        }\n        if (shouldPrintWithInitializer(node)) {\n          return;\n        }\n        const shouldUseResolverType = node.kind === 166 && (resolver.isRequiredInitializedParameter(node) || resolver.isOptionalUninitializedParameterProperty(node));\n        if (type && !shouldUseResolverType) {\n          return visitNode(type, visitDeclarationSubtree, isTypeNode);\n        }\n        if (!getParseTreeNode(node)) {\n          return type ? visitNode(type, visitDeclarationSubtree, isTypeNode) : factory2.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          );\n        }\n        if (node.kind === 175) {\n          return factory2.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          );\n        }\n        errorNameNode = node.name;\n        let oldDiag;\n        if (!suppressNewDiagnosticContexts) {\n          oldDiag = getSymbolAccessibilityDiagnostic;\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(node);\n        }\n        if (node.kind === 257 || node.kind === 205) {\n          return cleanup(resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker));\n        }\n        if (node.kind === 166 || node.kind === 169 || node.kind === 168) {\n          if (isPropertySignature(node) || !node.initializer)\n            return cleanup(resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker, shouldUseResolverType));\n          return cleanup(resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker, shouldUseResolverType) || resolver.createTypeOfExpression(node.initializer, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker));\n        }\n        return cleanup(resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker));\n        function cleanup(returnValue) {\n          errorNameNode = void 0;\n          if (!suppressNewDiagnosticContexts) {\n            getSymbolAccessibilityDiagnostic = oldDiag;\n          }\n          return returnValue || factory2.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          );\n        }\n      }\n      function isDeclarationAndNotVisible(node) {\n        node = getParseTreeNode(node);\n        switch (node.kind) {\n          case 259:\n          case 264:\n          case 261:\n          case 260:\n          case 262:\n          case 263:\n            return !resolver.isDeclarationVisible(node);\n          case 257:\n            return !getBindingNameVisible(node);\n          case 268:\n          case 269:\n          case 275:\n          case 274:\n            return false;\n          case 172:\n            return true;\n        }\n        return false;\n      }\n      function shouldEmitFunctionProperties(input) {\n        var _a22;\n        if (input.body) {\n          return true;\n        }\n        const overloadSignatures = (_a22 = input.symbol.declarations) == null ? void 0 : _a22.filter((decl) => isFunctionDeclaration(decl) && !decl.body);\n        return !overloadSignatures || overloadSignatures.indexOf(input) === overloadSignatures.length - 1;\n      }\n      function getBindingNameVisible(elem) {\n        if (isOmittedExpression(elem)) {\n          return false;\n        }\n        if (isBindingPattern(elem.name)) {\n          return some(elem.name.elements, getBindingNameVisible);\n        } else {\n          return resolver.isDeclarationVisible(elem);\n        }\n      }\n      function updateParamsList(node, params, modifierMask) {\n        if (hasEffectiveModifier(\n          node,\n          8\n          /* Private */\n        )) {\n          return factory2.createNodeArray();\n        }\n        const newParams = map(params, (p) => ensureParameter(p, modifierMask));\n        if (!newParams) {\n          return factory2.createNodeArray();\n        }\n        return factory2.createNodeArray(newParams, params.hasTrailingComma);\n      }\n      function updateAccessorParamsList(input, isPrivate) {\n        let newParams;\n        if (!isPrivate) {\n          const thisParameter = getThisParameter(input);\n          if (thisParameter) {\n            newParams = [ensureParameter(thisParameter)];\n          }\n        }\n        if (isSetAccessorDeclaration(input)) {\n          let newValueParameter;\n          if (!isPrivate) {\n            const valueParameter = getSetAccessorValueParameter(input);\n            if (valueParameter) {\n              const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, resolver.getAllAccessorDeclarations(input));\n              newValueParameter = ensureParameter(\n                valueParameter,\n                /*modifierMask*/\n                void 0,\n                accessorType\n              );\n            }\n          }\n          if (!newValueParameter) {\n            newValueParameter = factory2.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              \"value\"\n            );\n          }\n          newParams = append(newParams, newValueParameter);\n        }\n        return factory2.createNodeArray(newParams || emptyArray);\n      }\n      function ensureTypeParams(node, params) {\n        return hasEffectiveModifier(\n          node,\n          8\n          /* Private */\n        ) ? void 0 : visitNodes2(params, visitDeclarationSubtree, isTypeParameterDeclaration);\n      }\n      function isEnclosingDeclaration(node) {\n        return isSourceFile(node) || isTypeAliasDeclaration(node) || isModuleDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionLike(node) || isIndexSignatureDeclaration(node) || isMappedTypeNode(node);\n      }\n      function checkEntityNameVisibility(entityName, enclosingDeclaration2) {\n        const visibilityResult = resolver.isEntityNameVisible(entityName, enclosingDeclaration2);\n        handleSymbolAccessibilityError(visibilityResult);\n        recordTypeReferenceDirectivesIfNecessary(resolver.getTypeReferenceDirectivesForEntityName(entityName));\n      }\n      function preserveJsDoc(updated, original) {\n        if (hasJSDocNodes(updated) && hasJSDocNodes(original)) {\n          updated.jsDoc = original.jsDoc;\n        }\n        return setCommentRange(updated, getCommentRange(original));\n      }\n      function rewriteModuleSpecifier(parent2, input) {\n        if (!input)\n          return void 0;\n        resultHasExternalModuleIndicator = resultHasExternalModuleIndicator || parent2.kind !== 264 && parent2.kind !== 202;\n        if (isStringLiteralLike(input)) {\n          if (isBundledEmit) {\n            const newName = getExternalModuleNameFromDeclaration(context.getEmitHost(), resolver, parent2);\n            if (newName) {\n              return factory2.createStringLiteral(newName);\n            }\n          } else {\n            const symbol = resolver.getSymbolOfExternalModuleSpecifier(input);\n            if (symbol) {\n              (exportedModulesFromDeclarationEmit || (exportedModulesFromDeclarationEmit = [])).push(symbol);\n            }\n          }\n        }\n        return input;\n      }\n      function transformImportEqualsDeclaration(decl) {\n        if (!resolver.isDeclarationVisible(decl))\n          return;\n        if (decl.moduleReference.kind === 280) {\n          const specifier = getExternalModuleImportEqualsDeclarationExpression(decl);\n          return factory2.updateImportEqualsDeclaration(\n            decl,\n            decl.modifiers,\n            decl.isTypeOnly,\n            decl.name,\n            factory2.updateExternalModuleReference(decl.moduleReference, rewriteModuleSpecifier(decl, specifier))\n          );\n        } else {\n          const oldDiag = getSymbolAccessibilityDiagnostic;\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(decl);\n          checkEntityNameVisibility(decl.moduleReference, enclosingDeclaration);\n          getSymbolAccessibilityDiagnostic = oldDiag;\n          return decl;\n        }\n      }\n      function transformImportDeclaration(decl) {\n        if (!decl.importClause) {\n          return factory2.updateImportDeclaration(\n            decl,\n            decl.modifiers,\n            decl.importClause,\n            rewriteModuleSpecifier(decl, decl.moduleSpecifier),\n            getResolutionModeOverrideForClauseInNightly(decl.assertClause)\n          );\n        }\n        const visibleDefaultBinding = decl.importClause && decl.importClause.name && resolver.isDeclarationVisible(decl.importClause) ? decl.importClause.name : void 0;\n        if (!decl.importClause.namedBindings) {\n          return visibleDefaultBinding && factory2.updateImportDeclaration(decl, decl.modifiers, factory2.updateImportClause(\n            decl.importClause,\n            decl.importClause.isTypeOnly,\n            visibleDefaultBinding,\n            /*namedBindings*/\n            void 0\n          ), rewriteModuleSpecifier(decl, decl.moduleSpecifier), getResolutionModeOverrideForClauseInNightly(decl.assertClause));\n        }\n        if (decl.importClause.namedBindings.kind === 271) {\n          const namedBindings = resolver.isDeclarationVisible(decl.importClause.namedBindings) ? decl.importClause.namedBindings : (\n            /*namedBindings*/\n            void 0\n          );\n          return visibleDefaultBinding || namedBindings ? factory2.updateImportDeclaration(decl, decl.modifiers, factory2.updateImportClause(\n            decl.importClause,\n            decl.importClause.isTypeOnly,\n            visibleDefaultBinding,\n            namedBindings\n          ), rewriteModuleSpecifier(decl, decl.moduleSpecifier), getResolutionModeOverrideForClauseInNightly(decl.assertClause)) : void 0;\n        }\n        const bindingList = mapDefined(decl.importClause.namedBindings.elements, (b) => resolver.isDeclarationVisible(b) ? b : void 0);\n        if (bindingList && bindingList.length || visibleDefaultBinding) {\n          return factory2.updateImportDeclaration(\n            decl,\n            decl.modifiers,\n            factory2.updateImportClause(\n              decl.importClause,\n              decl.importClause.isTypeOnly,\n              visibleDefaultBinding,\n              bindingList && bindingList.length ? factory2.updateNamedImports(decl.importClause.namedBindings, bindingList) : void 0\n            ),\n            rewriteModuleSpecifier(decl, decl.moduleSpecifier),\n            getResolutionModeOverrideForClauseInNightly(decl.assertClause)\n          );\n        }\n        if (resolver.isImportRequiredByAugmentation(decl)) {\n          return factory2.updateImportDeclaration(\n            decl,\n            decl.modifiers,\n            /*importClause*/\n            void 0,\n            rewriteModuleSpecifier(decl, decl.moduleSpecifier),\n            getResolutionModeOverrideForClauseInNightly(decl.assertClause)\n          );\n        }\n      }\n      function getResolutionModeOverrideForClauseInNightly(assertClause) {\n        const mode = getResolutionModeOverrideForClause(assertClause);\n        if (mode !== void 0) {\n          if (!isNightly()) {\n            context.addDiagnostic(createDiagnosticForNode(assertClause, Diagnostics.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next));\n          }\n          return assertClause;\n        }\n        return void 0;\n      }\n      function transformAndReplaceLatePaintedStatements(statements) {\n        while (length(lateMarkedStatements)) {\n          const i = lateMarkedStatements.shift();\n          if (!isLateVisibilityPaintedStatement(i)) {\n            return Debug2.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${Debug2.formatSyntaxKind(i.kind)}`);\n          }\n          const priorNeedsDeclare = needsDeclare;\n          needsDeclare = i.parent && isSourceFile(i.parent) && !(isExternalModule(i.parent) && isBundledEmit);\n          const result = transformTopLevelDeclaration(i);\n          needsDeclare = priorNeedsDeclare;\n          lateStatementReplacementMap.set(getOriginalNodeId(i), result);\n        }\n        return visitNodes2(statements, visitLateVisibilityMarkedStatements, isStatement);\n        function visitLateVisibilityMarkedStatements(statement) {\n          if (isLateVisibilityPaintedStatement(statement)) {\n            const key = getOriginalNodeId(statement);\n            if (lateStatementReplacementMap.has(key)) {\n              const result = lateStatementReplacementMap.get(key);\n              lateStatementReplacementMap.delete(key);\n              if (result) {\n                if (isArray(result) ? some(result, needsScopeMarker) : needsScopeMarker(result)) {\n                  needsScopeFixMarker = true;\n                }\n                if (isSourceFile(statement.parent) && (isArray(result) ? some(result, isExternalModuleIndicator) : isExternalModuleIndicator(result))) {\n                  resultHasExternalModuleIndicator = true;\n                }\n              }\n              return result;\n            }\n          }\n          return statement;\n        }\n      }\n      function visitDeclarationSubtree(input) {\n        if (shouldStripInternal(input))\n          return;\n        if (isDeclaration(input)) {\n          if (isDeclarationAndNotVisible(input))\n            return;\n          if (hasDynamicName(input) && !resolver.isLateBound(getParseTreeNode(input))) {\n            return;\n          }\n        }\n        if (isFunctionLike(input) && resolver.isImplementationOfOverload(input))\n          return;\n        if (isSemicolonClassElement(input))\n          return;\n        let previousEnclosingDeclaration;\n        if (isEnclosingDeclaration(input)) {\n          previousEnclosingDeclaration = enclosingDeclaration;\n          enclosingDeclaration = input;\n        }\n        const oldDiag = getSymbolAccessibilityDiagnostic;\n        const canProduceDiagnostic = canProduceDiagnostics(input);\n        const oldWithinObjectLiteralType = suppressNewDiagnosticContexts;\n        let shouldEnterSuppressNewDiagnosticsContextContext = (input.kind === 184 || input.kind === 197) && input.parent.kind !== 262;\n        if (isMethodDeclaration(input) || isMethodSignature(input)) {\n          if (hasEffectiveModifier(\n            input,\n            8\n            /* Private */\n          )) {\n            if (input.symbol && input.symbol.declarations && input.symbol.declarations[0] !== input)\n              return;\n            return cleanup(factory2.createPropertyDeclaration(\n              ensureModifiers(input),\n              input.name,\n              /*questionToken*/\n              void 0,\n              /*type*/\n              void 0,\n              /*initializer*/\n              void 0\n            ));\n          }\n        }\n        if (canProduceDiagnostic && !suppressNewDiagnosticContexts) {\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input);\n        }\n        if (isTypeQueryNode(input)) {\n          checkEntityNameVisibility(input.exprName, enclosingDeclaration);\n        }\n        if (shouldEnterSuppressNewDiagnosticsContextContext) {\n          suppressNewDiagnosticContexts = true;\n        }\n        if (isProcessedComponent(input)) {\n          switch (input.kind) {\n            case 230: {\n              if (isEntityName(input.expression) || isEntityNameExpression(input.expression)) {\n                checkEntityNameVisibility(input.expression, enclosingDeclaration);\n              }\n              const node = visitEachChild(input, visitDeclarationSubtree, context);\n              return cleanup(factory2.updateExpressionWithTypeArguments(node, node.expression, node.typeArguments));\n            }\n            case 180: {\n              checkEntityNameVisibility(input.typeName, enclosingDeclaration);\n              const node = visitEachChild(input, visitDeclarationSubtree, context);\n              return cleanup(factory2.updateTypeReferenceNode(node, node.typeName, node.typeArguments));\n            }\n            case 177:\n              return cleanup(factory2.updateConstructSignature(\n                input,\n                ensureTypeParams(input, input.typeParameters),\n                updateParamsList(input, input.parameters),\n                ensureType(input, input.type)\n              ));\n            case 173: {\n              const ctor = factory2.createConstructorDeclaration(\n                /*modifiers*/\n                ensureModifiers(input),\n                updateParamsList(\n                  input,\n                  input.parameters,\n                  0\n                  /* None */\n                ),\n                /*body*/\n                void 0\n              );\n              return cleanup(ctor);\n            }\n            case 171: {\n              if (isPrivateIdentifier(input.name)) {\n                return cleanup(\n                  /*returnValue*/\n                  void 0\n                );\n              }\n              const sig = factory2.createMethodDeclaration(\n                ensureModifiers(input),\n                /*asteriskToken*/\n                void 0,\n                input.name,\n                input.questionToken,\n                ensureTypeParams(input, input.typeParameters),\n                updateParamsList(input, input.parameters),\n                ensureType(input, input.type),\n                /*body*/\n                void 0\n              );\n              return cleanup(sig);\n            }\n            case 174: {\n              if (isPrivateIdentifier(input.name)) {\n                return cleanup(\n                  /*returnValue*/\n                  void 0\n                );\n              }\n              const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, resolver.getAllAccessorDeclarations(input));\n              return cleanup(factory2.updateGetAccessorDeclaration(\n                input,\n                ensureModifiers(input),\n                input.name,\n                updateAccessorParamsList(input, hasEffectiveModifier(\n                  input,\n                  8\n                  /* Private */\n                )),\n                ensureType(input, accessorType),\n                /*body*/\n                void 0\n              ));\n            }\n            case 175: {\n              if (isPrivateIdentifier(input.name)) {\n                return cleanup(\n                  /*returnValue*/\n                  void 0\n                );\n              }\n              return cleanup(factory2.updateSetAccessorDeclaration(\n                input,\n                ensureModifiers(input),\n                input.name,\n                updateAccessorParamsList(input, hasEffectiveModifier(\n                  input,\n                  8\n                  /* Private */\n                )),\n                /*body*/\n                void 0\n              ));\n            }\n            case 169:\n              if (isPrivateIdentifier(input.name)) {\n                return cleanup(\n                  /*returnValue*/\n                  void 0\n                );\n              }\n              return cleanup(factory2.updatePropertyDeclaration(\n                input,\n                ensureModifiers(input),\n                input.name,\n                input.questionToken,\n                ensureType(input, input.type),\n                ensureNoInitializer(input)\n              ));\n            case 168:\n              if (isPrivateIdentifier(input.name)) {\n                return cleanup(\n                  /*returnValue*/\n                  void 0\n                );\n              }\n              return cleanup(factory2.updatePropertySignature(\n                input,\n                ensureModifiers(input),\n                input.name,\n                input.questionToken,\n                ensureType(input, input.type)\n              ));\n            case 170: {\n              if (isPrivateIdentifier(input.name)) {\n                return cleanup(\n                  /*returnValue*/\n                  void 0\n                );\n              }\n              return cleanup(factory2.updateMethodSignature(\n                input,\n                ensureModifiers(input),\n                input.name,\n                input.questionToken,\n                ensureTypeParams(input, input.typeParameters),\n                updateParamsList(input, input.parameters),\n                ensureType(input, input.type)\n              ));\n            }\n            case 176: {\n              return cleanup(factory2.updateCallSignature(\n                input,\n                ensureTypeParams(input, input.typeParameters),\n                updateParamsList(input, input.parameters),\n                ensureType(input, input.type)\n              ));\n            }\n            case 178: {\n              return cleanup(factory2.updateIndexSignature(\n                input,\n                ensureModifiers(input),\n                updateParamsList(input, input.parameters),\n                visitNode(input.type, visitDeclarationSubtree, isTypeNode) || factory2.createKeywordTypeNode(\n                  131\n                  /* AnyKeyword */\n                )\n              ));\n            }\n            case 257: {\n              if (isBindingPattern(input.name)) {\n                return recreateBindingPattern(input.name);\n              }\n              shouldEnterSuppressNewDiagnosticsContextContext = true;\n              suppressNewDiagnosticContexts = true;\n              return cleanup(factory2.updateVariableDeclaration(\n                input,\n                input.name,\n                /*exclamationToken*/\n                void 0,\n                ensureType(input, input.type),\n                ensureNoInitializer(input)\n              ));\n            }\n            case 165: {\n              if (isPrivateMethodTypeParameter(input) && (input.default || input.constraint)) {\n                return cleanup(factory2.updateTypeParameterDeclaration(\n                  input,\n                  input.modifiers,\n                  input.name,\n                  /*constraint*/\n                  void 0,\n                  /*defaultType*/\n                  void 0\n                ));\n              }\n              return cleanup(visitEachChild(input, visitDeclarationSubtree, context));\n            }\n            case 191: {\n              const checkType = visitNode(input.checkType, visitDeclarationSubtree, isTypeNode);\n              const extendsType = visitNode(input.extendsType, visitDeclarationSubtree, isTypeNode);\n              const oldEnclosingDecl = enclosingDeclaration;\n              enclosingDeclaration = input.trueType;\n              const trueType = visitNode(input.trueType, visitDeclarationSubtree, isTypeNode);\n              enclosingDeclaration = oldEnclosingDecl;\n              const falseType = visitNode(input.falseType, visitDeclarationSubtree, isTypeNode);\n              Debug2.assert(checkType);\n              Debug2.assert(extendsType);\n              Debug2.assert(trueType);\n              Debug2.assert(falseType);\n              return cleanup(factory2.updateConditionalTypeNode(input, checkType, extendsType, trueType, falseType));\n            }\n            case 181: {\n              return cleanup(factory2.updateFunctionTypeNode(input, visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), updateParamsList(input, input.parameters), Debug2.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode))));\n            }\n            case 182: {\n              return cleanup(factory2.updateConstructorTypeNode(input, ensureModifiers(input), visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration), updateParamsList(input, input.parameters), Debug2.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode))));\n            }\n            case 202: {\n              if (!isLiteralImportTypeNode(input))\n                return cleanup(input);\n              return cleanup(factory2.updateImportTypeNode(\n                input,\n                factory2.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier(input, input.argument.literal)),\n                input.assertions,\n                input.qualifier,\n                visitNodes2(input.typeArguments, visitDeclarationSubtree, isTypeNode),\n                input.isTypeOf\n              ));\n            }\n            default:\n              Debug2.assertNever(input, `Attempted to process unhandled node kind: ${Debug2.formatSyntaxKind(input.kind)}`);\n          }\n        }\n        if (isTupleTypeNode(input) && getLineAndCharacterOfPosition(currentSourceFile, input.pos).line === getLineAndCharacterOfPosition(currentSourceFile, input.end).line) {\n          setEmitFlags(\n            input,\n            1\n            /* SingleLine */\n          );\n        }\n        return cleanup(visitEachChild(input, visitDeclarationSubtree, context));\n        function cleanup(returnValue) {\n          if (returnValue && canProduceDiagnostic && hasDynamicName(input)) {\n            checkName(input);\n          }\n          if (isEnclosingDeclaration(input)) {\n            enclosingDeclaration = previousEnclosingDeclaration;\n          }\n          if (canProduceDiagnostic && !suppressNewDiagnosticContexts) {\n            getSymbolAccessibilityDiagnostic = oldDiag;\n          }\n          if (shouldEnterSuppressNewDiagnosticsContextContext) {\n            suppressNewDiagnosticContexts = oldWithinObjectLiteralType;\n          }\n          if (returnValue === input) {\n            return returnValue;\n          }\n          return returnValue && setOriginalNode(preserveJsDoc(returnValue, input), input);\n        }\n      }\n      function isPrivateMethodTypeParameter(node) {\n        return node.parent.kind === 171 && hasEffectiveModifier(\n          node.parent,\n          8\n          /* Private */\n        );\n      }\n      function visitDeclarationStatements(input) {\n        if (!isPreservedDeclarationStatement(input)) {\n          return;\n        }\n        if (shouldStripInternal(input))\n          return;\n        switch (input.kind) {\n          case 275: {\n            if (isSourceFile(input.parent)) {\n              resultHasExternalModuleIndicator = true;\n            }\n            resultHasScopeMarker = true;\n            return factory2.updateExportDeclaration(\n              input,\n              input.modifiers,\n              input.isTypeOnly,\n              input.exportClause,\n              rewriteModuleSpecifier(input, input.moduleSpecifier),\n              getResolutionModeOverrideForClause(input.assertClause) ? input.assertClause : void 0\n            );\n          }\n          case 274: {\n            if (isSourceFile(input.parent)) {\n              resultHasExternalModuleIndicator = true;\n            }\n            resultHasScopeMarker = true;\n            if (input.expression.kind === 79) {\n              return input;\n            } else {\n              const newId = factory2.createUniqueName(\n                \"_default\",\n                16\n                /* Optimistic */\n              );\n              getSymbolAccessibilityDiagnostic = () => ({\n                diagnosticMessage: Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,\n                errorNode: input\n              });\n              errorFallbackNode = input;\n              const varDecl = factory2.createVariableDeclaration(\n                newId,\n                /*exclamationToken*/\n                void 0,\n                resolver.createTypeOfExpression(input.expression, input, declarationEmitNodeBuilderFlags, symbolTracker),\n                /*initializer*/\n                void 0\n              );\n              errorFallbackNode = void 0;\n              const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(\n                136\n                /* DeclareKeyword */\n              )] : [], factory2.createVariableDeclarationList(\n                [varDecl],\n                2\n                /* Const */\n              ));\n              preserveJsDoc(statement, input);\n              removeAllComments(input);\n              return [statement, factory2.updateExportAssignment(input, input.modifiers, newId)];\n            }\n          }\n        }\n        const result = transformTopLevelDeclaration(input);\n        lateStatementReplacementMap.set(getOriginalNodeId(input), result);\n        return input;\n      }\n      function stripExportModifiers(statement) {\n        if (isImportEqualsDeclaration(statement) || hasEffectiveModifier(\n          statement,\n          1024\n          /* Default */\n        ) || !canHaveModifiers(statement)) {\n          return statement;\n        }\n        const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(statement) & (258047 ^ 1));\n        return factory2.updateModifiers(statement, modifiers);\n      }\n      function transformTopLevelDeclaration(input) {\n        if (lateMarkedStatements) {\n          while (orderedRemoveItem(lateMarkedStatements, input))\n            ;\n        }\n        if (shouldStripInternal(input))\n          return;\n        switch (input.kind) {\n          case 268: {\n            return transformImportEqualsDeclaration(input);\n          }\n          case 269: {\n            return transformImportDeclaration(input);\n          }\n        }\n        if (isDeclaration(input) && isDeclarationAndNotVisible(input))\n          return;\n        if (isFunctionLike(input) && resolver.isImplementationOfOverload(input))\n          return;\n        let previousEnclosingDeclaration;\n        if (isEnclosingDeclaration(input)) {\n          previousEnclosingDeclaration = enclosingDeclaration;\n          enclosingDeclaration = input;\n        }\n        const canProdiceDiagnostic = canProduceDiagnostics(input);\n        const oldDiag = getSymbolAccessibilityDiagnostic;\n        if (canProdiceDiagnostic) {\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input);\n        }\n        const previousNeedsDeclare = needsDeclare;\n        switch (input.kind) {\n          case 262: {\n            needsDeclare = false;\n            const clean2 = cleanup(factory2.updateTypeAliasDeclaration(\n              input,\n              ensureModifiers(input),\n              input.name,\n              visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration),\n              Debug2.checkDefined(visitNode(input.type, visitDeclarationSubtree, isTypeNode))\n            ));\n            needsDeclare = previousNeedsDeclare;\n            return clean2;\n          }\n          case 261: {\n            return cleanup(factory2.updateInterfaceDeclaration(\n              input,\n              ensureModifiers(input),\n              input.name,\n              ensureTypeParams(input, input.typeParameters),\n              transformHeritageClauses(input.heritageClauses),\n              visitNodes2(input.members, visitDeclarationSubtree, isTypeElement)\n            ));\n          }\n          case 259: {\n            const clean2 = cleanup(factory2.updateFunctionDeclaration(\n              input,\n              ensureModifiers(input),\n              /*asteriskToken*/\n              void 0,\n              input.name,\n              ensureTypeParams(input, input.typeParameters),\n              updateParamsList(input, input.parameters),\n              ensureType(input, input.type),\n              /*body*/\n              void 0\n            ));\n            if (clean2 && resolver.isExpandoFunctionDeclaration(input) && shouldEmitFunctionProperties(input)) {\n              const props = resolver.getPropertiesOfContainerFunction(input);\n              const fakespace = parseNodeFactory.createModuleDeclaration(\n                /*modifiers*/\n                void 0,\n                clean2.name || factory2.createIdentifier(\"_default\"),\n                factory2.createModuleBlock([]),\n                16\n                /* Namespace */\n              );\n              setParent(fakespace, enclosingDeclaration);\n              fakespace.locals = createSymbolTable(props);\n              fakespace.symbol = props[0].parent;\n              const exportMappings = [];\n              let declarations = mapDefined(props, (p) => {\n                if (!p.valueDeclaration || !isPropertyAccessExpression(p.valueDeclaration)) {\n                  return void 0;\n                }\n                getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration);\n                const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, symbolTracker);\n                getSymbolAccessibilityDiagnostic = oldDiag;\n                const nameStr = unescapeLeadingUnderscores(p.escapedName);\n                const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr);\n                const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr);\n                if (isNonContextualKeywordName) {\n                  exportMappings.push([name, nameStr]);\n                }\n                const varDecl = factory2.createVariableDeclaration(\n                  name,\n                  /*exclamationToken*/\n                  void 0,\n                  type,\n                  /*initializer*/\n                  void 0\n                );\n                return factory2.createVariableStatement(isNonContextualKeywordName ? void 0 : [factory2.createToken(\n                  93\n                  /* ExportKeyword */\n                )], factory2.createVariableDeclarationList([varDecl]));\n              });\n              if (!exportMappings.length) {\n                declarations = mapDefined(declarations, (declaration) => factory2.updateModifiers(\n                  declaration,\n                  0\n                  /* None */\n                ));\n              } else {\n                declarations.push(factory2.createExportDeclaration(\n                  /*modifiers*/\n                  void 0,\n                  /*isTypeOnly*/\n                  false,\n                  factory2.createNamedExports(map(exportMappings, ([gen, exp]) => {\n                    return factory2.createExportSpecifier(\n                      /*isTypeOnly*/\n                      false,\n                      gen,\n                      exp\n                    );\n                  }))\n                ));\n              }\n              const namespaceDecl = factory2.createModuleDeclaration(\n                ensureModifiers(input),\n                input.name,\n                factory2.createModuleBlock(declarations),\n                16\n                /* Namespace */\n              );\n              if (!hasEffectiveModifier(\n                clean2,\n                1024\n                /* Default */\n              )) {\n                return [clean2, namespaceDecl];\n              }\n              const modifiers = factory2.createModifiersFromModifierFlags(\n                getEffectiveModifierFlags(clean2) & ~1025 | 2\n                /* Ambient */\n              );\n              const cleanDeclaration = factory2.updateFunctionDeclaration(\n                clean2,\n                modifiers,\n                /*asteriskToken*/\n                void 0,\n                clean2.name,\n                clean2.typeParameters,\n                clean2.parameters,\n                clean2.type,\n                /*body*/\n                void 0\n              );\n              const namespaceDeclaration = factory2.updateModuleDeclaration(\n                namespaceDecl,\n                modifiers,\n                namespaceDecl.name,\n                namespaceDecl.body\n              );\n              const exportDefaultDeclaration = factory2.createExportAssignment(\n                /*modifiers*/\n                void 0,\n                /*isExportEquals*/\n                false,\n                namespaceDecl.name\n              );\n              if (isSourceFile(input.parent)) {\n                resultHasExternalModuleIndicator = true;\n              }\n              resultHasScopeMarker = true;\n              return [cleanDeclaration, namespaceDeclaration, exportDefaultDeclaration];\n            } else {\n              return clean2;\n            }\n          }\n          case 264: {\n            needsDeclare = false;\n            const inner = input.body;\n            if (inner && inner.kind === 265) {\n              const oldNeedsScopeFix = needsScopeFixMarker;\n              const oldHasScopeFix = resultHasScopeMarker;\n              resultHasScopeMarker = false;\n              needsScopeFixMarker = false;\n              const statements = visitNodes2(inner.statements, visitDeclarationStatements, isStatement);\n              let lateStatements = transformAndReplaceLatePaintedStatements(statements);\n              if (input.flags & 16777216) {\n                needsScopeFixMarker = false;\n              }\n              if (!isGlobalScopeAugmentation(input) && !hasScopeMarker2(lateStatements) && !resultHasScopeMarker) {\n                if (needsScopeFixMarker) {\n                  lateStatements = factory2.createNodeArray([...lateStatements, createEmptyExports(factory2)]);\n                } else {\n                  lateStatements = visitNodes2(lateStatements, stripExportModifiers, isStatement);\n                }\n              }\n              const body = factory2.updateModuleBlock(inner, lateStatements);\n              needsDeclare = previousNeedsDeclare;\n              needsScopeFixMarker = oldNeedsScopeFix;\n              resultHasScopeMarker = oldHasScopeFix;\n              const mods = ensureModifiers(input);\n              return cleanup(factory2.updateModuleDeclaration(\n                input,\n                mods,\n                isExternalModuleAugmentation(input) ? rewriteModuleSpecifier(input, input.name) : input.name,\n                body\n              ));\n            } else {\n              needsDeclare = previousNeedsDeclare;\n              const mods = ensureModifiers(input);\n              needsDeclare = false;\n              visitNode(inner, visitDeclarationStatements);\n              const id = getOriginalNodeId(inner);\n              const body = lateStatementReplacementMap.get(id);\n              lateStatementReplacementMap.delete(id);\n              return cleanup(factory2.updateModuleDeclaration(\n                input,\n                mods,\n                input.name,\n                body\n              ));\n            }\n          }\n          case 260: {\n            errorNameNode = input.name;\n            errorFallbackNode = input;\n            const modifiers = factory2.createNodeArray(ensureModifiers(input));\n            const typeParameters = ensureTypeParams(input, input.typeParameters);\n            const ctor = getFirstConstructorWithBody(input);\n            let parameterProperties;\n            if (ctor) {\n              const oldDiag2 = getSymbolAccessibilityDiagnostic;\n              parameterProperties = compact(flatMap(ctor.parameters, (param) => {\n                if (!hasSyntacticModifier(\n                  param,\n                  16476\n                  /* ParameterPropertyModifier */\n                ) || shouldStripInternal(param))\n                  return;\n                getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(param);\n                if (param.name.kind === 79) {\n                  return preserveJsDoc(factory2.createPropertyDeclaration(\n                    ensureModifiers(param),\n                    param.name,\n                    param.questionToken,\n                    ensureType(param, param.type),\n                    ensureNoInitializer(param)\n                  ), param);\n                } else {\n                  return walkBindingPattern(param.name);\n                }\n                function walkBindingPattern(pattern) {\n                  let elems;\n                  for (const elem of pattern.elements) {\n                    if (isOmittedExpression(elem))\n                      continue;\n                    if (isBindingPattern(elem.name)) {\n                      elems = concatenate(elems, walkBindingPattern(elem.name));\n                    }\n                    elems = elems || [];\n                    elems.push(factory2.createPropertyDeclaration(\n                      ensureModifiers(param),\n                      elem.name,\n                      /*questionToken*/\n                      void 0,\n                      ensureType(\n                        elem,\n                        /*type*/\n                        void 0\n                      ),\n                      /*initializer*/\n                      void 0\n                    ));\n                  }\n                  return elems;\n                }\n              }));\n              getSymbolAccessibilityDiagnostic = oldDiag2;\n            }\n            const hasPrivateIdentifier = some(input.members, (member) => !!member.name && isPrivateIdentifier(member.name));\n            const privateIdentifier = hasPrivateIdentifier ? [\n              factory2.createPropertyDeclaration(\n                /*modifiers*/\n                void 0,\n                factory2.createPrivateIdentifier(\"#private\"),\n                /*questionToken*/\n                void 0,\n                /*type*/\n                void 0,\n                /*initializer*/\n                void 0\n              )\n            ] : void 0;\n            const memberNodes = concatenate(concatenate(privateIdentifier, parameterProperties), visitNodes2(input.members, visitDeclarationSubtree, isClassElement));\n            const members = factory2.createNodeArray(memberNodes);\n            const extendsClause = getEffectiveBaseTypeNode(input);\n            if (extendsClause && !isEntityNameExpression(extendsClause.expression) && extendsClause.expression.kind !== 104) {\n              const oldId = input.name ? unescapeLeadingUnderscores(input.name.escapedText) : \"default\";\n              const newId = factory2.createUniqueName(\n                `${oldId}_base`,\n                16\n                /* Optimistic */\n              );\n              getSymbolAccessibilityDiagnostic = () => ({\n                diagnosticMessage: Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,\n                errorNode: extendsClause,\n                typeName: input.name\n              });\n              const varDecl = factory2.createVariableDeclaration(\n                newId,\n                /*exclamationToken*/\n                void 0,\n                resolver.createTypeOfExpression(extendsClause.expression, input, declarationEmitNodeBuilderFlags, symbolTracker),\n                /*initializer*/\n                void 0\n              );\n              const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(\n                136\n                /* DeclareKeyword */\n              )] : [], factory2.createVariableDeclarationList(\n                [varDecl],\n                2\n                /* Const */\n              ));\n              const heritageClauses = factory2.createNodeArray(map(input.heritageClauses, (clause) => {\n                if (clause.token === 94) {\n                  const oldDiag2 = getSymbolAccessibilityDiagnostic;\n                  getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(clause.types[0]);\n                  const newClause = factory2.updateHeritageClause(clause, map(clause.types, (t) => factory2.updateExpressionWithTypeArguments(t, newId, visitNodes2(t.typeArguments, visitDeclarationSubtree, isTypeNode))));\n                  getSymbolAccessibilityDiagnostic = oldDiag2;\n                  return newClause;\n                }\n                return factory2.updateHeritageClause(clause, visitNodes2(factory2.createNodeArray(filter(\n                  clause.types,\n                  (t) => isEntityNameExpression(t.expression) || t.expression.kind === 104\n                  /* NullKeyword */\n                )), visitDeclarationSubtree, isExpressionWithTypeArguments));\n              }));\n              return [statement, cleanup(factory2.updateClassDeclaration(\n                input,\n                modifiers,\n                input.name,\n                typeParameters,\n                heritageClauses,\n                members\n              ))];\n            } else {\n              const heritageClauses = transformHeritageClauses(input.heritageClauses);\n              return cleanup(factory2.updateClassDeclaration(\n                input,\n                modifiers,\n                input.name,\n                typeParameters,\n                heritageClauses,\n                members\n              ));\n            }\n          }\n          case 240: {\n            return cleanup(transformVariableStatement(input));\n          }\n          case 263: {\n            return cleanup(factory2.updateEnumDeclaration(input, factory2.createNodeArray(ensureModifiers(input)), input.name, factory2.createNodeArray(mapDefined(input.members, (m) => {\n              if (shouldStripInternal(m))\n                return;\n              const constValue = resolver.getConstantValue(m);\n              return preserveJsDoc(factory2.updateEnumMember(m, m.name, constValue !== void 0 ? typeof constValue === \"string\" ? factory2.createStringLiteral(constValue) : factory2.createNumericLiteral(constValue) : void 0), m);\n            }))));\n          }\n        }\n        return Debug2.assertNever(input, `Unhandled top-level node in declaration emit: ${Debug2.formatSyntaxKind(input.kind)}`);\n        function cleanup(node) {\n          if (isEnclosingDeclaration(input)) {\n            enclosingDeclaration = previousEnclosingDeclaration;\n          }\n          if (canProdiceDiagnostic) {\n            getSymbolAccessibilityDiagnostic = oldDiag;\n          }\n          if (input.kind === 264) {\n            needsDeclare = previousNeedsDeclare;\n          }\n          if (node === input) {\n            return node;\n          }\n          errorFallbackNode = void 0;\n          errorNameNode = void 0;\n          return node && setOriginalNode(preserveJsDoc(node, input), input);\n        }\n      }\n      function transformVariableStatement(input) {\n        if (!forEach(input.declarationList.declarations, getBindingNameVisible))\n          return;\n        const nodes = visitNodes2(input.declarationList.declarations, visitDeclarationSubtree, isVariableDeclaration);\n        if (!length(nodes))\n          return;\n        return factory2.updateVariableStatement(input, factory2.createNodeArray(ensureModifiers(input)), factory2.updateVariableDeclarationList(input.declarationList, nodes));\n      }\n      function recreateBindingPattern(d) {\n        return flatten(mapDefined(d.elements, (e) => recreateBindingElement(e)));\n      }\n      function recreateBindingElement(e) {\n        if (e.kind === 229) {\n          return;\n        }\n        if (e.name) {\n          if (!getBindingNameVisible(e))\n            return;\n          if (isBindingPattern(e.name)) {\n            return recreateBindingPattern(e.name);\n          } else {\n            return factory2.createVariableDeclaration(\n              e.name,\n              /*exclamationToken*/\n              void 0,\n              ensureType(\n                e,\n                /*type*/\n                void 0\n              ),\n              /*initializer*/\n              void 0\n            );\n          }\n        }\n      }\n      function checkName(node) {\n        let oldDiag;\n        if (!suppressNewDiagnosticContexts) {\n          oldDiag = getSymbolAccessibilityDiagnostic;\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNodeName(node);\n        }\n        errorNameNode = node.name;\n        Debug2.assert(resolver.isLateBound(getParseTreeNode(node)));\n        const decl = node;\n        const entityName = decl.name.expression;\n        checkEntityNameVisibility(entityName, enclosingDeclaration);\n        if (!suppressNewDiagnosticContexts) {\n          getSymbolAccessibilityDiagnostic = oldDiag;\n        }\n        errorNameNode = void 0;\n      }\n      function shouldStripInternal(node) {\n        return !!stripInternal && !!node && isInternalDeclaration(node, currentSourceFile);\n      }\n      function isScopeMarker2(node) {\n        return isExportAssignment(node) || isExportDeclaration(node);\n      }\n      function hasScopeMarker2(statements) {\n        return some(statements, isScopeMarker2);\n      }\n      function ensureModifiers(node) {\n        const currentFlags = getEffectiveModifierFlags(node);\n        const newFlags = ensureModifierFlags(node);\n        if (currentFlags === newFlags) {\n          return visitArray(node.modifiers, (n) => tryCast(n, isModifier), isModifier);\n        }\n        return factory2.createModifiersFromModifierFlags(newFlags);\n      }\n      function ensureModifierFlags(node) {\n        let mask2 = 258047 ^ (4 | 512 | 16384);\n        let additions = needsDeclare && !isAlwaysType(node) ? 2 : 0;\n        const parentIsFile = node.parent.kind === 308;\n        if (!parentIsFile || isBundledEmit && parentIsFile && isExternalModule(node.parent)) {\n          mask2 ^= 2;\n          additions = 0;\n        }\n        return maskModifierFlags(node, mask2, additions);\n      }\n      function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) {\n        let accessorType = getTypeAnnotationFromAccessor(node);\n        if (!accessorType && node !== accessors.firstAccessor) {\n          accessorType = getTypeAnnotationFromAccessor(accessors.firstAccessor);\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.firstAccessor);\n        }\n        if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) {\n          accessorType = getTypeAnnotationFromAccessor(accessors.secondAccessor);\n          getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.secondAccessor);\n        }\n        return accessorType;\n      }\n      function transformHeritageClauses(nodes) {\n        return factory2.createNodeArray(filter(map(nodes, (clause) => factory2.updateHeritageClause(clause, visitNodes2(factory2.createNodeArray(filter(clause.types, (t) => {\n          return isEntityNameExpression(t.expression) || clause.token === 94 && t.expression.kind === 104;\n        })), visitDeclarationSubtree, isExpressionWithTypeArguments))), (clause) => clause.types && !!clause.types.length));\n      }\n    }\n    function isAlwaysType(node) {\n      if (node.kind === 261) {\n        return true;\n      }\n      return false;\n    }\n    function maskModifiers(node, modifierMask, modifierAdditions) {\n      return factory.createModifiersFromModifierFlags(maskModifierFlags(node, modifierMask, modifierAdditions));\n    }\n    function maskModifierFlags(node, modifierMask = 258047 ^ 4, modifierAdditions = 0) {\n      let flags = getEffectiveModifierFlags(node) & modifierMask | modifierAdditions;\n      if (flags & 1024 && !(flags & 1)) {\n        flags ^= 1;\n      }\n      if (flags & 1024 && flags & 2) {\n        flags ^= 2;\n      }\n      return flags;\n    }\n    function getTypeAnnotationFromAccessor(accessor) {\n      if (accessor) {\n        return accessor.kind === 174 ? accessor.type : accessor.parameters.length > 0 ? accessor.parameters[0].type : void 0;\n      }\n    }\n    function canHaveLiteralInitializer(node) {\n      switch (node.kind) {\n        case 169:\n        case 168:\n          return !hasEffectiveModifier(\n            node,\n            8\n            /* Private */\n          );\n        case 166:\n        case 257:\n          return true;\n      }\n      return false;\n    }\n    function isPreservedDeclarationStatement(node) {\n      switch (node.kind) {\n        case 259:\n        case 264:\n        case 268:\n        case 261:\n        case 260:\n        case 262:\n        case 263:\n        case 240:\n        case 269:\n        case 275:\n        case 274:\n          return true;\n      }\n      return false;\n    }\n    function isProcessedComponent(node) {\n      switch (node.kind) {\n        case 177:\n        case 173:\n        case 171:\n        case 174:\n        case 175:\n        case 169:\n        case 168:\n        case 170:\n        case 176:\n        case 178:\n        case 257:\n        case 165:\n        case 230:\n        case 180:\n        case 191:\n        case 181:\n        case 182:\n        case 202:\n          return true;\n      }\n      return false;\n    }\n    var declarationEmitNodeBuilderFlags;\n    var init_declarations = __esm({\n      \"src/compiler/transformers/declarations.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_moduleSpecifiers();\n        declarationEmitNodeBuilderFlags = 1024 | 2048 | 4096 | 8 | 524288 | 4 | 1;\n      }\n    });\n    function getModuleTransformer(moduleKind) {\n      switch (moduleKind) {\n        case 99:\n        case 7:\n        case 6:\n        case 5:\n          return transformECMAScriptModule;\n        case 4:\n          return transformSystemModule;\n        case 100:\n        case 199:\n          return transformNodeModule;\n        default:\n          return transformModule;\n      }\n    }\n    function getTransformers(compilerOptions, customTransformers, emitOnly) {\n      return {\n        scriptTransformers: getScriptTransformers(compilerOptions, customTransformers, emitOnly),\n        declarationTransformers: getDeclarationTransformers(customTransformers)\n      };\n    }\n    function getScriptTransformers(compilerOptions, customTransformers, emitOnly) {\n      if (emitOnly)\n        return emptyArray;\n      const languageVersion = getEmitScriptTarget(compilerOptions);\n      const moduleKind = getEmitModuleKind(compilerOptions);\n      const useDefineForClassFields = getUseDefineForClassFields(compilerOptions);\n      const transformers = [];\n      addRange(transformers, customTransformers && map(customTransformers.before, wrapScriptTransformerFactory));\n      transformers.push(transformTypeScript);\n      if (compilerOptions.experimentalDecorators) {\n        transformers.push(transformLegacyDecorators);\n      } else if (languageVersion < 99 || !useDefineForClassFields) {\n        transformers.push(transformESDecorators);\n      }\n      transformers.push(transformClassFields);\n      if (getJSXTransformEnabled(compilerOptions)) {\n        transformers.push(transformJsx);\n      }\n      if (languageVersion < 99) {\n        transformers.push(transformESNext);\n      }\n      if (languageVersion < 8) {\n        transformers.push(transformES2021);\n      }\n      if (languageVersion < 7) {\n        transformers.push(transformES2020);\n      }\n      if (languageVersion < 6) {\n        transformers.push(transformES2019);\n      }\n      if (languageVersion < 5) {\n        transformers.push(transformES2018);\n      }\n      if (languageVersion < 4) {\n        transformers.push(transformES2017);\n      }\n      if (languageVersion < 3) {\n        transformers.push(transformES2016);\n      }\n      if (languageVersion < 2) {\n        transformers.push(transformES2015);\n        transformers.push(transformGenerators);\n      }\n      transformers.push(getModuleTransformer(moduleKind));\n      if (languageVersion < 1) {\n        transformers.push(transformES5);\n      }\n      addRange(transformers, customTransformers && map(customTransformers.after, wrapScriptTransformerFactory));\n      return transformers;\n    }\n    function getDeclarationTransformers(customTransformers) {\n      const transformers = [];\n      transformers.push(transformDeclarations);\n      addRange(transformers, customTransformers && map(customTransformers.afterDeclarations, wrapDeclarationTransformerFactory));\n      return transformers;\n    }\n    function wrapCustomTransformer(transformer) {\n      return (node) => isBundle(node) ? transformer.transformBundle(node) : transformer.transformSourceFile(node);\n    }\n    function wrapCustomTransformerFactory(transformer, handleDefault) {\n      return (context) => {\n        const customTransformer = transformer(context);\n        return typeof customTransformer === \"function\" ? handleDefault(context, customTransformer) : wrapCustomTransformer(customTransformer);\n      };\n    }\n    function wrapScriptTransformerFactory(transformer) {\n      return wrapCustomTransformerFactory(transformer, chainBundle);\n    }\n    function wrapDeclarationTransformerFactory(transformer) {\n      return wrapCustomTransformerFactory(transformer, (_, node) => node);\n    }\n    function noEmitSubstitution(_hint, node) {\n      return node;\n    }\n    function noEmitNotification(hint, node, callback) {\n      callback(hint, node);\n    }\n    function transformNodes(resolver, host, factory2, options, nodes, transformers, allowDtsFiles) {\n      var _a22, _b3;\n      const enabledSyntaxKindFeatures = new Array(\n        361\n        /* Count */\n      );\n      let lexicalEnvironmentVariableDeclarations;\n      let lexicalEnvironmentFunctionDeclarations;\n      let lexicalEnvironmentStatements;\n      let lexicalEnvironmentFlags = 0;\n      let lexicalEnvironmentVariableDeclarationsStack = [];\n      let lexicalEnvironmentFunctionDeclarationsStack = [];\n      let lexicalEnvironmentStatementsStack = [];\n      let lexicalEnvironmentFlagsStack = [];\n      let lexicalEnvironmentStackOffset = 0;\n      let lexicalEnvironmentSuspended = false;\n      let blockScopedVariableDeclarationsStack = [];\n      let blockScopeStackOffset = 0;\n      let blockScopedVariableDeclarations;\n      let emitHelpers;\n      let onSubstituteNode = noEmitSubstitution;\n      let onEmitNode = noEmitNotification;\n      let state = 0;\n      const diagnostics = [];\n      const context = {\n        factory: factory2,\n        getCompilerOptions: () => options,\n        getEmitResolver: () => resolver,\n        // TODO: GH#18217\n        getEmitHost: () => host,\n        // TODO: GH#18217\n        getEmitHelperFactory: memoize(() => createEmitHelperFactory(context)),\n        startLexicalEnvironment,\n        suspendLexicalEnvironment,\n        resumeLexicalEnvironment,\n        endLexicalEnvironment,\n        setLexicalEnvironmentFlags,\n        getLexicalEnvironmentFlags,\n        hoistVariableDeclaration,\n        hoistFunctionDeclaration,\n        addInitializationStatement,\n        startBlockScope,\n        endBlockScope,\n        addBlockScopedVariable,\n        requestEmitHelper,\n        readEmitHelpers,\n        enableSubstitution,\n        enableEmitNotification,\n        isSubstitutionEnabled,\n        isEmitNotificationEnabled,\n        get onSubstituteNode() {\n          return onSubstituteNode;\n        },\n        set onSubstituteNode(value) {\n          Debug2.assert(state < 1, \"Cannot modify transformation hooks after initialization has completed.\");\n          Debug2.assert(value !== void 0, \"Value must not be 'undefined'\");\n          onSubstituteNode = value;\n        },\n        get onEmitNode() {\n          return onEmitNode;\n        },\n        set onEmitNode(value) {\n          Debug2.assert(state < 1, \"Cannot modify transformation hooks after initialization has completed.\");\n          Debug2.assert(value !== void 0, \"Value must not be 'undefined'\");\n          onEmitNode = value;\n        },\n        addDiagnostic(diag2) {\n          diagnostics.push(diag2);\n        }\n      };\n      for (const node of nodes) {\n        disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));\n      }\n      mark(\"beforeTransform\");\n      const transformersWithContext = transformers.map((t) => t(context));\n      const transformation = (node) => {\n        for (const transform2 of transformersWithContext) {\n          node = transform2(node);\n        }\n        return node;\n      };\n      state = 1;\n      const transformed = [];\n      for (const node of nodes) {\n        (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.Emit, \"transformNodes\", node.kind === 308 ? { path: node.path } : { kind: node.kind, pos: node.pos, end: node.end });\n        transformed.push((allowDtsFiles ? transformation : transformRoot)(node));\n        (_b3 = tracing) == null ? void 0 : _b3.pop();\n      }\n      state = 2;\n      mark(\"afterTransform\");\n      measure(\"transformTime\", \"beforeTransform\", \"afterTransform\");\n      return {\n        transformed,\n        substituteNode,\n        emitNodeWithNotification,\n        isEmitNotificationEnabled,\n        dispose: dispose2,\n        diagnostics\n      };\n      function transformRoot(node) {\n        return node && (!isSourceFile(node) || !node.isDeclarationFile) ? transformation(node) : node;\n      }\n      function enableSubstitution(kind) {\n        Debug2.assert(state < 2, \"Cannot modify the transformation context after transformation has completed.\");\n        enabledSyntaxKindFeatures[kind] |= 1;\n      }\n      function isSubstitutionEnabled(node) {\n        return (enabledSyntaxKindFeatures[node.kind] & 1) !== 0 && (getEmitFlags(node) & 8) === 0;\n      }\n      function substituteNode(hint, node) {\n        Debug2.assert(state < 3, \"Cannot substitute a node after the result is disposed.\");\n        return node && isSubstitutionEnabled(node) && onSubstituteNode(hint, node) || node;\n      }\n      function enableEmitNotification(kind) {\n        Debug2.assert(state < 2, \"Cannot modify the transformation context after transformation has completed.\");\n        enabledSyntaxKindFeatures[kind] |= 2;\n      }\n      function isEmitNotificationEnabled(node) {\n        return (enabledSyntaxKindFeatures[node.kind] & 2) !== 0 || (getEmitFlags(node) & 4) !== 0;\n      }\n      function emitNodeWithNotification(hint, node, emitCallback) {\n        Debug2.assert(state < 3, \"Cannot invoke TransformationResult callbacks after the result is disposed.\");\n        if (node) {\n          if (isEmitNotificationEnabled(node)) {\n            onEmitNode(hint, node, emitCallback);\n          } else {\n            emitCallback(hint, node);\n          }\n        }\n      }\n      function hoistVariableDeclaration(name) {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        const decl = setEmitFlags(\n          factory2.createVariableDeclaration(name),\n          128\n          /* NoNestedSourceMaps */\n        );\n        if (!lexicalEnvironmentVariableDeclarations) {\n          lexicalEnvironmentVariableDeclarations = [decl];\n        } else {\n          lexicalEnvironmentVariableDeclarations.push(decl);\n        }\n        if (lexicalEnvironmentFlags & 1) {\n          lexicalEnvironmentFlags |= 2;\n        }\n      }\n      function hoistFunctionDeclaration(func) {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        setEmitFlags(\n          func,\n          2097152\n          /* CustomPrologue */\n        );\n        if (!lexicalEnvironmentFunctionDeclarations) {\n          lexicalEnvironmentFunctionDeclarations = [func];\n        } else {\n          lexicalEnvironmentFunctionDeclarations.push(func);\n        }\n      }\n      function addInitializationStatement(node) {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        setEmitFlags(\n          node,\n          2097152\n          /* CustomPrologue */\n        );\n        if (!lexicalEnvironmentStatements) {\n          lexicalEnvironmentStatements = [node];\n        } else {\n          lexicalEnvironmentStatements.push(node);\n        }\n      }\n      function startLexicalEnvironment() {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        Debug2.assert(!lexicalEnvironmentSuspended, \"Lexical environment is suspended.\");\n        lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentVariableDeclarations;\n        lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFunctionDeclarations;\n        lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentStatements;\n        lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFlags;\n        lexicalEnvironmentStackOffset++;\n        lexicalEnvironmentVariableDeclarations = void 0;\n        lexicalEnvironmentFunctionDeclarations = void 0;\n        lexicalEnvironmentStatements = void 0;\n        lexicalEnvironmentFlags = 0;\n      }\n      function suspendLexicalEnvironment() {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        Debug2.assert(!lexicalEnvironmentSuspended, \"Lexical environment is already suspended.\");\n        lexicalEnvironmentSuspended = true;\n      }\n      function resumeLexicalEnvironment() {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        Debug2.assert(lexicalEnvironmentSuspended, \"Lexical environment is not suspended.\");\n        lexicalEnvironmentSuspended = false;\n      }\n      function endLexicalEnvironment() {\n        Debug2.assert(state > 0, \"Cannot modify the lexical environment during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the lexical environment after transformation has completed.\");\n        Debug2.assert(!lexicalEnvironmentSuspended, \"Lexical environment is suspended.\");\n        let statements;\n        if (lexicalEnvironmentVariableDeclarations || lexicalEnvironmentFunctionDeclarations || lexicalEnvironmentStatements) {\n          if (lexicalEnvironmentFunctionDeclarations) {\n            statements = [...lexicalEnvironmentFunctionDeclarations];\n          }\n          if (lexicalEnvironmentVariableDeclarations) {\n            const statement = factory2.createVariableStatement(\n              /*modifiers*/\n              void 0,\n              factory2.createVariableDeclarationList(lexicalEnvironmentVariableDeclarations)\n            );\n            setEmitFlags(\n              statement,\n              2097152\n              /* CustomPrologue */\n            );\n            if (!statements) {\n              statements = [statement];\n            } else {\n              statements.push(statement);\n            }\n          }\n          if (lexicalEnvironmentStatements) {\n            if (!statements) {\n              statements = [...lexicalEnvironmentStatements];\n            } else {\n              statements = [...statements, ...lexicalEnvironmentStatements];\n            }\n          }\n        }\n        lexicalEnvironmentStackOffset--;\n        lexicalEnvironmentVariableDeclarations = lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset];\n        lexicalEnvironmentFunctionDeclarations = lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset];\n        lexicalEnvironmentStatements = lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset];\n        lexicalEnvironmentFlags = lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset];\n        if (lexicalEnvironmentStackOffset === 0) {\n          lexicalEnvironmentVariableDeclarationsStack = [];\n          lexicalEnvironmentFunctionDeclarationsStack = [];\n          lexicalEnvironmentStatementsStack = [];\n          lexicalEnvironmentFlagsStack = [];\n        }\n        return statements;\n      }\n      function setLexicalEnvironmentFlags(flags, value) {\n        lexicalEnvironmentFlags = value ? lexicalEnvironmentFlags | flags : lexicalEnvironmentFlags & ~flags;\n      }\n      function getLexicalEnvironmentFlags() {\n        return lexicalEnvironmentFlags;\n      }\n      function startBlockScope() {\n        Debug2.assert(state > 0, \"Cannot start a block scope during initialization.\");\n        Debug2.assert(state < 2, \"Cannot start a block scope after transformation has completed.\");\n        blockScopedVariableDeclarationsStack[blockScopeStackOffset] = blockScopedVariableDeclarations;\n        blockScopeStackOffset++;\n        blockScopedVariableDeclarations = void 0;\n      }\n      function endBlockScope() {\n        Debug2.assert(state > 0, \"Cannot end a block scope during initialization.\");\n        Debug2.assert(state < 2, \"Cannot end a block scope after transformation has completed.\");\n        const statements = some(blockScopedVariableDeclarations) ? [\n          factory2.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory2.createVariableDeclarationList(\n              blockScopedVariableDeclarations.map((identifier) => factory2.createVariableDeclaration(identifier)),\n              1\n              /* Let */\n            )\n          )\n        ] : void 0;\n        blockScopeStackOffset--;\n        blockScopedVariableDeclarations = blockScopedVariableDeclarationsStack[blockScopeStackOffset];\n        if (blockScopeStackOffset === 0) {\n          blockScopedVariableDeclarationsStack = [];\n        }\n        return statements;\n      }\n      function addBlockScopedVariable(name) {\n        Debug2.assert(blockScopeStackOffset > 0, \"Cannot add a block scoped variable outside of an iteration body.\");\n        (blockScopedVariableDeclarations || (blockScopedVariableDeclarations = [])).push(name);\n      }\n      function requestEmitHelper(helper) {\n        Debug2.assert(state > 0, \"Cannot modify the transformation context during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the transformation context after transformation has completed.\");\n        Debug2.assert(!helper.scoped, \"Cannot request a scoped emit helper.\");\n        if (helper.dependencies) {\n          for (const h of helper.dependencies) {\n            requestEmitHelper(h);\n          }\n        }\n        emitHelpers = append(emitHelpers, helper);\n      }\n      function readEmitHelpers() {\n        Debug2.assert(state > 0, \"Cannot modify the transformation context during initialization.\");\n        Debug2.assert(state < 2, \"Cannot modify the transformation context after transformation has completed.\");\n        const helpers = emitHelpers;\n        emitHelpers = void 0;\n        return helpers;\n      }\n      function dispose2() {\n        if (state < 3) {\n          for (const node of nodes) {\n            disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));\n          }\n          lexicalEnvironmentVariableDeclarations = void 0;\n          lexicalEnvironmentVariableDeclarationsStack = void 0;\n          lexicalEnvironmentFunctionDeclarations = void 0;\n          lexicalEnvironmentFunctionDeclarationsStack = void 0;\n          onSubstituteNode = void 0;\n          onEmitNode = void 0;\n          emitHelpers = void 0;\n          state = 3;\n        }\n      }\n    }\n    var noTransformers, nullTransformationContext;\n    var init_transformer = __esm({\n      \"src/compiler/transformer.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_performance();\n        noTransformers = { scriptTransformers: emptyArray, declarationTransformers: emptyArray };\n        nullTransformationContext = {\n          factory,\n          // eslint-disable-line object-shorthand\n          getCompilerOptions: () => ({}),\n          getEmitResolver: notImplemented,\n          getEmitHost: notImplemented,\n          getEmitHelperFactory: notImplemented,\n          startLexicalEnvironment: noop,\n          resumeLexicalEnvironment: noop,\n          suspendLexicalEnvironment: noop,\n          endLexicalEnvironment: returnUndefined,\n          setLexicalEnvironmentFlags: noop,\n          getLexicalEnvironmentFlags: () => 0,\n          hoistVariableDeclaration: noop,\n          hoistFunctionDeclaration: noop,\n          addInitializationStatement: noop,\n          startBlockScope: noop,\n          endBlockScope: returnUndefined,\n          addBlockScopedVariable: noop,\n          requestEmitHelper: noop,\n          readEmitHelpers: notImplemented,\n          enableSubstitution: noop,\n          enableEmitNotification: noop,\n          isSubstitutionEnabled: notImplemented,\n          isEmitNotificationEnabled: notImplemented,\n          onSubstituteNode: noEmitSubstitution,\n          onEmitNode: noEmitNotification,\n          addDiagnostic: noop\n        };\n      }\n    });\n    function isBuildInfoFile(file) {\n      return fileExtensionIs(\n        file,\n        \".tsbuildinfo\"\n        /* TsBuildInfo */\n      );\n    }\n    function forEachEmittedFile(host, action, sourceFilesOrTargetSourceFile, forceDtsEmit = false, onlyBuildInfo, includeBuildInfo) {\n      const sourceFiles = isArray(sourceFilesOrTargetSourceFile) ? sourceFilesOrTargetSourceFile : getSourceFilesToEmit(host, sourceFilesOrTargetSourceFile, forceDtsEmit);\n      const options = host.getCompilerOptions();\n      if (outFile(options)) {\n        const prepends = host.getPrependNodes();\n        if (sourceFiles.length || prepends.length) {\n          const bundle = factory.createBundle(sourceFiles, prepends);\n          const result = action(getOutputPathsFor(bundle, host, forceDtsEmit), bundle);\n          if (result) {\n            return result;\n          }\n        }\n      } else {\n        if (!onlyBuildInfo) {\n          for (const sourceFile of sourceFiles) {\n            const result = action(getOutputPathsFor(sourceFile, host, forceDtsEmit), sourceFile);\n            if (result) {\n              return result;\n            }\n          }\n        }\n        if (includeBuildInfo) {\n          const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);\n          if (buildInfoPath)\n            return action(\n              { buildInfoPath },\n              /*sourceFileOrBundle*/\n              void 0\n            );\n        }\n      }\n    }\n    function getTsBuildInfoEmitOutputFilePath(options) {\n      const configFile = options.configFilePath;\n      if (!isIncrementalCompilation(options))\n        return void 0;\n      if (options.tsBuildInfoFile)\n        return options.tsBuildInfoFile;\n      const outPath = outFile(options);\n      let buildInfoExtensionLess;\n      if (outPath) {\n        buildInfoExtensionLess = removeFileExtension(outPath);\n      } else {\n        if (!configFile)\n          return void 0;\n        const configFileExtensionLess = removeFileExtension(configFile);\n        buildInfoExtensionLess = options.outDir ? options.rootDir ? resolvePath(options.outDir, getRelativePathFromDirectory(\n          options.rootDir,\n          configFileExtensionLess,\n          /*ignoreCase*/\n          true\n        )) : combinePaths(options.outDir, getBaseFileName(configFileExtensionLess)) : configFileExtensionLess;\n      }\n      return buildInfoExtensionLess + \".tsbuildinfo\";\n    }\n    function getOutputPathsForBundle(options, forceDtsPaths) {\n      const outPath = outFile(options);\n      const jsFilePath = options.emitDeclarationOnly ? void 0 : outPath;\n      const sourceMapFilePath = jsFilePath && getSourceMapFilePath(jsFilePath, options);\n      const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) ? removeFileExtension(outPath) + \".d.ts\" : void 0;\n      const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + \".map\" : void 0;\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);\n      return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath };\n    }\n    function getOutputPathsFor(sourceFile, host, forceDtsPaths) {\n      const options = host.getCompilerOptions();\n      if (sourceFile.kind === 309) {\n        return getOutputPathsForBundle(options, forceDtsPaths);\n      } else {\n        const ownOutputFilePath = getOwnEmitOutputFilePath(sourceFile.fileName, host, getOutputExtension(sourceFile.fileName, options));\n        const isJsonFile = isJsonSourceFile(sourceFile);\n        const isJsonEmittedToSameLocation = isJsonFile && comparePaths(sourceFile.fileName, ownOutputFilePath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0;\n        const jsFilePath = options.emitDeclarationOnly || isJsonEmittedToSameLocation ? void 0 : ownOutputFilePath;\n        const sourceMapFilePath = !jsFilePath || isJsonSourceFile(sourceFile) ? void 0 : getSourceMapFilePath(jsFilePath, options);\n        const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) && !isJsonFile ? getDeclarationEmitOutputFilePath(sourceFile.fileName, host) : void 0;\n        const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + \".map\" : void 0;\n        return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath: void 0 };\n      }\n    }\n    function getSourceMapFilePath(jsFilePath, options) {\n      return options.sourceMap && !options.inlineSourceMap ? jsFilePath + \".map\" : void 0;\n    }\n    function getOutputExtension(fileName, options) {\n      return fileExtensionIs(\n        fileName,\n        \".json\"\n        /* Json */\n      ) ? \".json\" : options.jsx === 1 && fileExtensionIsOneOf(fileName, [\n        \".jsx\",\n        \".tsx\"\n        /* Tsx */\n      ]) ? \".jsx\" : fileExtensionIsOneOf(fileName, [\n        \".mts\",\n        \".mjs\"\n        /* Mjs */\n      ]) ? \".mjs\" : fileExtensionIsOneOf(fileName, [\n        \".cts\",\n        \".cjs\"\n        /* Cjs */\n      ]) ? \".cjs\" : \".js\";\n    }\n    function getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, outputDir, getCommonSourceDirectory2) {\n      return outputDir ? resolvePath(\n        outputDir,\n        getRelativePathFromDirectory(getCommonSourceDirectory2 ? getCommonSourceDirectory2() : getCommonSourceDirectoryOfConfig(configFile, ignoreCase), inputFileName, ignoreCase)\n      ) : inputFileName;\n    }\n    function getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2) {\n      return changeExtension(\n        getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, configFile.options.declarationDir || configFile.options.outDir, getCommonSourceDirectory2),\n        getDeclarationEmitExtensionForPath(inputFileName)\n      );\n    }\n    function getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2) {\n      if (configFile.options.emitDeclarationOnly)\n        return void 0;\n      const isJsonFile = fileExtensionIs(\n        inputFileName,\n        \".json\"\n        /* Json */\n      );\n      const outputFileName = changeExtension(\n        getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, configFile.options.outDir, getCommonSourceDirectory2),\n        getOutputExtension(inputFileName, configFile.options)\n      );\n      return !isJsonFile || comparePaths(inputFileName, outputFileName, Debug2.checkDefined(configFile.options.configFilePath), ignoreCase) !== 0 ? outputFileName : void 0;\n    }\n    function createAddOutput() {\n      let outputs;\n      return { addOutput, getOutputs };\n      function addOutput(path) {\n        if (path) {\n          (outputs || (outputs = [])).push(path);\n        }\n      }\n      function getOutputs() {\n        return outputs || emptyArray;\n      }\n    }\n    function getSingleOutputFileNames(configFile, addOutput) {\n      const { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath } = getOutputPathsForBundle(\n        configFile.options,\n        /*forceDtsPaths*/\n        false\n      );\n      addOutput(jsFilePath);\n      addOutput(sourceMapFilePath);\n      addOutput(declarationFilePath);\n      addOutput(declarationMapPath);\n      addOutput(buildInfoPath);\n    }\n    function getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2) {\n      if (isDeclarationFileName(inputFileName))\n        return;\n      const js = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n      addOutput(js);\n      if (fileExtensionIs(\n        inputFileName,\n        \".json\"\n        /* Json */\n      ))\n        return;\n      if (js && configFile.options.sourceMap) {\n        addOutput(`${js}.map`);\n      }\n      if (getEmitDeclarations(configFile.options)) {\n        const dts = getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n        addOutput(dts);\n        if (configFile.options.declarationMap) {\n          addOutput(`${dts}.map`);\n        }\n      }\n    }\n    function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCanonicalFileName, checkSourceFilesBelongToPath) {\n      let commonSourceDirectory;\n      if (options.rootDir) {\n        commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory);\n        checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(options.rootDir);\n      } else if (options.composite && options.configFilePath) {\n        commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath));\n        checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(commonSourceDirectory);\n      } else {\n        commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles(), currentDirectory, getCanonicalFileName);\n      }\n      if (commonSourceDirectory && commonSourceDirectory[commonSourceDirectory.length - 1] !== directorySeparator) {\n        commonSourceDirectory += directorySeparator;\n      }\n      return commonSourceDirectory;\n    }\n    function getCommonSourceDirectoryOfConfig({ options, fileNames }, ignoreCase) {\n      return getCommonSourceDirectory(\n        options,\n        () => filter(fileNames, (file) => !(options.noEmitForJsFiles && fileExtensionIsOneOf(file, supportedJSExtensionsFlat)) && !isDeclarationFileName(file)),\n        getDirectoryPath(normalizeSlashes(Debug2.checkDefined(options.configFilePath))),\n        createGetCanonicalFileName(!ignoreCase)\n      );\n    }\n    function getAllProjectOutputs(configFile, ignoreCase) {\n      const { addOutput, getOutputs } = createAddOutput();\n      if (outFile(configFile.options)) {\n        getSingleOutputFileNames(configFile, addOutput);\n      } else {\n        const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase));\n        for (const inputFileName of configFile.fileNames) {\n          getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2);\n        }\n        addOutput(getTsBuildInfoEmitOutputFilePath(configFile.options));\n      }\n      return getOutputs();\n    }\n    function getOutputFileNames(commandLine, inputFileName, ignoreCase) {\n      inputFileName = normalizePath(inputFileName);\n      Debug2.assert(contains(commandLine.fileNames, inputFileName), `Expected fileName to be present in command line`);\n      const { addOutput, getOutputs } = createAddOutput();\n      if (outFile(commandLine.options)) {\n        getSingleOutputFileNames(commandLine, addOutput);\n      } else {\n        getOwnOutputFileNames(commandLine, inputFileName, ignoreCase, addOutput);\n      }\n      return getOutputs();\n    }\n    function getFirstProjectOutput(configFile, ignoreCase) {\n      if (outFile(configFile.options)) {\n        const { jsFilePath, declarationFilePath } = getOutputPathsForBundle(\n          configFile.options,\n          /*forceDtsPaths*/\n          false\n        );\n        return Debug2.checkDefined(jsFilePath || declarationFilePath, `project ${configFile.options.configFilePath} expected to have at least one output`);\n      }\n      const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase));\n      for (const inputFileName of configFile.fileNames) {\n        if (isDeclarationFileName(inputFileName))\n          continue;\n        const jsFilePath = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n        if (jsFilePath)\n          return jsFilePath;\n        if (fileExtensionIs(\n          inputFileName,\n          \".json\"\n          /* Json */\n        ))\n          continue;\n        if (getEmitDeclarations(configFile.options)) {\n          return getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n        }\n      }\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(configFile.options);\n      if (buildInfoPath)\n        return buildInfoPath;\n      return Debug2.fail(`project ${configFile.options.configFilePath} expected to have at least one output`);\n    }\n    function emitFiles(resolver, host, targetSourceFile, { scriptTransformers, declarationTransformers }, emitOnly, onlyBuildInfo, forceDtsEmit) {\n      var compilerOptions = host.getCompilerOptions();\n      var sourceMapDataList = compilerOptions.sourceMap || compilerOptions.inlineSourceMap || getAreDeclarationMapsEnabled(compilerOptions) ? [] : void 0;\n      var emittedFilesList = compilerOptions.listEmittedFiles ? [] : void 0;\n      var emitterDiagnostics = createDiagnosticCollection();\n      var newLine = getNewLineCharacter(compilerOptions);\n      var writer = createTextWriter(newLine);\n      var { enter, exit } = createTimer(\"printTime\", \"beforePrint\", \"afterPrint\");\n      var bundleBuildInfo;\n      var emitSkipped = false;\n      enter();\n      forEachEmittedFile(\n        host,\n        emitSourceFileOrBundle,\n        getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit),\n        forceDtsEmit,\n        onlyBuildInfo,\n        !targetSourceFile\n      );\n      exit();\n      return {\n        emitSkipped,\n        diagnostics: emitterDiagnostics.getDiagnostics(),\n        emittedFiles: emittedFilesList,\n        sourceMaps: sourceMapDataList\n      };\n      function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }, sourceFileOrBundle) {\n        var _a22, _b3, _c, _d, _e, _f;\n        let buildInfoDirectory;\n        if (buildInfoPath && sourceFileOrBundle && isBundle(sourceFileOrBundle)) {\n          buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n          bundleBuildInfo = {\n            commonSourceDirectory: relativeToBuildInfo(host.getCommonSourceDirectory()),\n            sourceFiles: sourceFileOrBundle.sourceFiles.map((file) => relativeToBuildInfo(getNormalizedAbsolutePath(file.fileName, host.getCurrentDirectory())))\n          };\n        }\n        (_a22 = tracing) == null ? void 0 : _a22.push(tracing.Phase.Emit, \"emitJsFileOrBundle\", { jsFilePath });\n        emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath, relativeToBuildInfo);\n        (_b3 = tracing) == null ? void 0 : _b3.pop();\n        (_c = tracing) == null ? void 0 : _c.push(tracing.Phase.Emit, \"emitDeclarationFileOrBundle\", { declarationFilePath });\n        emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath, relativeToBuildInfo);\n        (_d = tracing) == null ? void 0 : _d.pop();\n        (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Emit, \"emitBuildInfo\", { buildInfoPath });\n        emitBuildInfo(bundleBuildInfo, buildInfoPath);\n        (_f = tracing) == null ? void 0 : _f.pop();\n        if (!emitSkipped && emittedFilesList) {\n          if (!emitOnly) {\n            if (jsFilePath) {\n              emittedFilesList.push(jsFilePath);\n            }\n            if (sourceMapFilePath) {\n              emittedFilesList.push(sourceMapFilePath);\n            }\n            if (buildInfoPath) {\n              emittedFilesList.push(buildInfoPath);\n            }\n          }\n          if (emitOnly !== 0) {\n            if (declarationFilePath) {\n              emittedFilesList.push(declarationFilePath);\n            }\n            if (declarationMapPath) {\n              emittedFilesList.push(declarationMapPath);\n            }\n          }\n        }\n        function relativeToBuildInfo(path) {\n          return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, host.getCanonicalFileName));\n        }\n      }\n      function emitBuildInfo(bundle, buildInfoPath) {\n        if (!buildInfoPath || targetSourceFile || emitSkipped)\n          return;\n        if (host.isEmitBlocked(buildInfoPath)) {\n          emitSkipped = true;\n          return;\n        }\n        const buildInfo = host.getBuildInfo(bundle) || createBuildInfo(\n          /*program*/\n          void 0,\n          bundle\n        );\n        writeFile(\n          host,\n          emitterDiagnostics,\n          buildInfoPath,\n          getBuildInfoText(buildInfo),\n          /*writeByteOrderMark*/\n          false,\n          /*sourceFiles*/\n          void 0,\n          { buildInfo }\n        );\n      }\n      function emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath, relativeToBuildInfo) {\n        if (!sourceFileOrBundle || emitOnly || !jsFilePath) {\n          return;\n        }\n        if (host.isEmitBlocked(jsFilePath) || compilerOptions.noEmit) {\n          emitSkipped = true;\n          return;\n        }\n        const transform2 = transformNodes(\n          resolver,\n          host,\n          factory,\n          compilerOptions,\n          [sourceFileOrBundle],\n          scriptTransformers,\n          /*allowDtsFiles*/\n          false\n        );\n        const printerOptions = {\n          removeComments: compilerOptions.removeComments,\n          newLine: compilerOptions.newLine,\n          noEmitHelpers: compilerOptions.noEmitHelpers,\n          module: compilerOptions.module,\n          target: compilerOptions.target,\n          sourceMap: compilerOptions.sourceMap,\n          inlineSourceMap: compilerOptions.inlineSourceMap,\n          inlineSources: compilerOptions.inlineSources,\n          extendedDiagnostics: compilerOptions.extendedDiagnostics,\n          writeBundleFileInfo: !!bundleBuildInfo,\n          relativeToBuildInfo\n        };\n        const printer = createPrinter(printerOptions, {\n          // resolver hooks\n          hasGlobalName: resolver.hasGlobalName,\n          // transform hooks\n          onEmitNode: transform2.emitNodeWithNotification,\n          isEmitNotificationEnabled: transform2.isEmitNotificationEnabled,\n          substituteNode: transform2.substituteNode\n        });\n        Debug2.assert(transform2.transformed.length === 1, \"Should only see one output from the transform\");\n        printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform2, printer, compilerOptions);\n        transform2.dispose();\n        if (bundleBuildInfo)\n          bundleBuildInfo.js = printer.bundleFileInfo;\n      }\n      function emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath, relativeToBuildInfo) {\n        if (!sourceFileOrBundle || emitOnly === 0)\n          return;\n        if (!declarationFilePath) {\n          if (emitOnly || compilerOptions.emitDeclarationOnly)\n            emitSkipped = true;\n          return;\n        }\n        const sourceFiles = isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : sourceFileOrBundle.sourceFiles;\n        const filesForEmit = forceDtsEmit ? sourceFiles : filter(sourceFiles, isSourceFileNotJson);\n        const inputListOrBundle = outFile(compilerOptions) ? [factory.createBundle(filesForEmit, !isSourceFile(sourceFileOrBundle) ? sourceFileOrBundle.prepends : void 0)] : filesForEmit;\n        if (emitOnly && !getEmitDeclarations(compilerOptions)) {\n          filesForEmit.forEach(collectLinkedAliases);\n        }\n        const declarationTransform = transformNodes(\n          resolver,\n          host,\n          factory,\n          compilerOptions,\n          inputListOrBundle,\n          declarationTransformers,\n          /*allowDtsFiles*/\n          false\n        );\n        if (length(declarationTransform.diagnostics)) {\n          for (const diagnostic of declarationTransform.diagnostics) {\n            emitterDiagnostics.add(diagnostic);\n          }\n        }\n        const printerOptions = {\n          removeComments: compilerOptions.removeComments,\n          newLine: compilerOptions.newLine,\n          noEmitHelpers: true,\n          module: compilerOptions.module,\n          target: compilerOptions.target,\n          sourceMap: !forceDtsEmit && compilerOptions.declarationMap,\n          inlineSourceMap: compilerOptions.inlineSourceMap,\n          extendedDiagnostics: compilerOptions.extendedDiagnostics,\n          onlyPrintJsDocStyle: true,\n          writeBundleFileInfo: !!bundleBuildInfo,\n          recordInternalSection: !!bundleBuildInfo,\n          relativeToBuildInfo\n        };\n        const declarationPrinter = createPrinter(printerOptions, {\n          // resolver hooks\n          hasGlobalName: resolver.hasGlobalName,\n          // transform hooks\n          onEmitNode: declarationTransform.emitNodeWithNotification,\n          isEmitNotificationEnabled: declarationTransform.isEmitNotificationEnabled,\n          substituteNode: declarationTransform.substituteNode\n        });\n        const declBlocked = !!declarationTransform.diagnostics && !!declarationTransform.diagnostics.length || !!host.isEmitBlocked(declarationFilePath) || !!compilerOptions.noEmit;\n        emitSkipped = emitSkipped || declBlocked;\n        if (!declBlocked || forceDtsEmit) {\n          Debug2.assert(declarationTransform.transformed.length === 1, \"Should only see one output from the decl transform\");\n          printSourceFileOrBundle(\n            declarationFilePath,\n            declarationMapPath,\n            declarationTransform,\n            declarationPrinter,\n            {\n              sourceMap: printerOptions.sourceMap,\n              sourceRoot: compilerOptions.sourceRoot,\n              mapRoot: compilerOptions.mapRoot,\n              extendedDiagnostics: compilerOptions.extendedDiagnostics\n              // Explicitly do not passthru either `inline` option\n            }\n          );\n        }\n        declarationTransform.dispose();\n        if (bundleBuildInfo)\n          bundleBuildInfo.dts = declarationPrinter.bundleFileInfo;\n      }\n      function collectLinkedAliases(node) {\n        if (isExportAssignment(node)) {\n          if (node.expression.kind === 79) {\n            resolver.collectLinkedAliases(\n              node.expression,\n              /*setVisibility*/\n              true\n            );\n          }\n          return;\n        } else if (isExportSpecifier(node)) {\n          resolver.collectLinkedAliases(\n            node.propertyName || node.name,\n            /*setVisibility*/\n            true\n          );\n          return;\n        }\n        forEachChild(node, collectLinkedAliases);\n      }\n      function printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform2, printer, mapOptions) {\n        const sourceFileOrBundle = transform2.transformed[0];\n        const bundle = sourceFileOrBundle.kind === 309 ? sourceFileOrBundle : void 0;\n        const sourceFile = sourceFileOrBundle.kind === 308 ? sourceFileOrBundle : void 0;\n        const sourceFiles = bundle ? bundle.sourceFiles : [sourceFile];\n        let sourceMapGenerator;\n        if (shouldEmitSourceMaps(mapOptions, sourceFileOrBundle)) {\n          sourceMapGenerator = createSourceMapGenerator(\n            host,\n            getBaseFileName(normalizeSlashes(jsFilePath)),\n            getSourceRoot(mapOptions),\n            getSourceMapDirectory(mapOptions, jsFilePath, sourceFile),\n            mapOptions\n          );\n        }\n        if (bundle) {\n          printer.writeBundle(bundle, writer, sourceMapGenerator);\n        } else {\n          printer.writeFile(sourceFile, writer, sourceMapGenerator);\n        }\n        let sourceMapUrlPos;\n        if (sourceMapGenerator) {\n          if (sourceMapDataList) {\n            sourceMapDataList.push({\n              inputSourceFileNames: sourceMapGenerator.getSources(),\n              sourceMap: sourceMapGenerator.toJSON()\n            });\n          }\n          const sourceMappingURL = getSourceMappingURL(\n            mapOptions,\n            sourceMapGenerator,\n            jsFilePath,\n            sourceMapFilePath,\n            sourceFile\n          );\n          if (sourceMappingURL) {\n            if (!writer.isAtStartOfLine())\n              writer.rawWrite(newLine);\n            sourceMapUrlPos = writer.getTextPos();\n            writer.writeComment(`//# ${\"sourceMappingURL\"}=${sourceMappingURL}`);\n          }\n          if (sourceMapFilePath) {\n            const sourceMap = sourceMapGenerator.toString();\n            writeFile(\n              host,\n              emitterDiagnostics,\n              sourceMapFilePath,\n              sourceMap,\n              /*writeByteOrderMark*/\n              false,\n              sourceFiles\n            );\n            if (printer.bundleFileInfo)\n              printer.bundleFileInfo.mapHash = computeSignature(sourceMap, host);\n          }\n        } else {\n          writer.writeLine();\n        }\n        const text = writer.getText();\n        writeFile(host, emitterDiagnostics, jsFilePath, text, !!compilerOptions.emitBOM, sourceFiles, { sourceMapUrlPos, diagnostics: transform2.diagnostics });\n        if (printer.bundleFileInfo)\n          printer.bundleFileInfo.hash = computeSignature(text, host);\n        writer.clear();\n      }\n      function shouldEmitSourceMaps(mapOptions, sourceFileOrBundle) {\n        return (mapOptions.sourceMap || mapOptions.inlineSourceMap) && (sourceFileOrBundle.kind !== 308 || !fileExtensionIs(\n          sourceFileOrBundle.fileName,\n          \".json\"\n          /* Json */\n        ));\n      }\n      function getSourceRoot(mapOptions) {\n        const sourceRoot = normalizeSlashes(mapOptions.sourceRoot || \"\");\n        return sourceRoot ? ensureTrailingDirectorySeparator(sourceRoot) : sourceRoot;\n      }\n      function getSourceMapDirectory(mapOptions, filePath, sourceFile) {\n        if (mapOptions.sourceRoot)\n          return host.getCommonSourceDirectory();\n        if (mapOptions.mapRoot) {\n          let sourceMapDir = normalizeSlashes(mapOptions.mapRoot);\n          if (sourceFile) {\n            sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir));\n          }\n          if (getRootLength(sourceMapDir) === 0) {\n            sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir);\n          }\n          return sourceMapDir;\n        }\n        return getDirectoryPath(normalizePath(filePath));\n      }\n      function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) {\n        if (mapOptions.inlineSourceMap) {\n          const sourceMapText = sourceMapGenerator.toString();\n          const base64SourceMapText = base64encode(sys, sourceMapText);\n          return `data:application/json;base64,${base64SourceMapText}`;\n        }\n        const sourceMapFile = getBaseFileName(normalizeSlashes(Debug2.checkDefined(sourceMapFilePath)));\n        if (mapOptions.mapRoot) {\n          let sourceMapDir = normalizeSlashes(mapOptions.mapRoot);\n          if (sourceFile) {\n            sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir));\n          }\n          if (getRootLength(sourceMapDir) === 0) {\n            sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir);\n            return encodeURI(\n              getRelativePathToDirectoryOrUrl(\n                getDirectoryPath(normalizePath(filePath)),\n                // get the relative sourceMapDir path based on jsFilePath\n                combinePaths(sourceMapDir, sourceMapFile),\n                // this is where user expects to see sourceMap\n                host.getCurrentDirectory(),\n                host.getCanonicalFileName,\n                /*isAbsolutePathAnUrl*/\n                true\n              )\n            );\n          } else {\n            return encodeURI(combinePaths(sourceMapDir, sourceMapFile));\n          }\n        }\n        return encodeURI(sourceMapFile);\n      }\n    }\n    function createBuildInfo(program, bundle) {\n      const version2 = version;\n      return { bundle, program, version: version2 };\n    }\n    function getBuildInfoText(buildInfo) {\n      return JSON.stringify(buildInfo);\n    }\n    function getBuildInfo(buildInfoFile, buildInfoText) {\n      return readJsonOrUndefined(buildInfoFile, buildInfoText);\n    }\n    function createSourceFilesFromBundleBuildInfo(bundle, buildInfoDirectory, host) {\n      var _a22;\n      const jsBundle = Debug2.checkDefined(bundle.js);\n      const prologueMap = ((_a22 = jsBundle.sources) == null ? void 0 : _a22.prologues) && arrayToMap(jsBundle.sources.prologues, (prologueInfo) => prologueInfo.file);\n      return bundle.sourceFiles.map((fileName, index) => {\n        var _a32, _b3;\n        const prologueInfo = prologueMap == null ? void 0 : prologueMap.get(index);\n        const statements = prologueInfo == null ? void 0 : prologueInfo.directives.map((directive) => {\n          const literal = setTextRange(factory.createStringLiteral(directive.expression.text), directive.expression);\n          const statement = setTextRange(factory.createExpressionStatement(literal), directive);\n          setParent(literal, statement);\n          return statement;\n        });\n        const eofToken = factory.createToken(\n          1\n          /* EndOfFileToken */\n        );\n        const sourceFile = factory.createSourceFile(\n          statements != null ? statements : [],\n          eofToken,\n          0\n          /* None */\n        );\n        sourceFile.fileName = getRelativePathFromDirectory(\n          host.getCurrentDirectory(),\n          getNormalizedAbsolutePath(fileName, buildInfoDirectory),\n          !host.useCaseSensitiveFileNames()\n        );\n        sourceFile.text = (_a32 = prologueInfo == null ? void 0 : prologueInfo.text) != null ? _a32 : \"\";\n        setTextRangePosWidth(sourceFile, 0, (_b3 = prologueInfo == null ? void 0 : prologueInfo.text.length) != null ? _b3 : 0);\n        setEachParent(sourceFile.statements, sourceFile);\n        setTextRangePosWidth(eofToken, sourceFile.end, 0);\n        setParent(eofToken, sourceFile);\n        return sourceFile;\n      });\n    }\n    function emitUsingBuildInfo(config, host, getCommandLine, customTransformers) {\n      var _a22, _b3;\n      (_a22 = tracing) == null ? void 0 : _a22.push(\n        tracing.Phase.Emit,\n        \"emitUsingBuildInfo\",\n        {},\n        /*separateBeginAndEnd*/\n        true\n      );\n      ts_performance_exports.mark(\"beforeEmit\");\n      const result = emitUsingBuildInfoWorker(config, host, getCommandLine, customTransformers);\n      ts_performance_exports.mark(\"afterEmit\");\n      ts_performance_exports.measure(\"Emit\", \"beforeEmit\", \"afterEmit\");\n      (_b3 = tracing) == null ? void 0 : _b3.pop();\n      return result;\n    }\n    function emitUsingBuildInfoWorker(config, host, getCommandLine, customTransformers) {\n      const { buildInfoPath, jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath } = getOutputPathsForBundle(\n        config.options,\n        /*forceDtsPaths*/\n        false\n      );\n      const buildInfo = host.getBuildInfo(buildInfoPath, config.options.configFilePath);\n      if (!buildInfo)\n        return buildInfoPath;\n      if (!buildInfo.bundle || !buildInfo.bundle.js || declarationFilePath && !buildInfo.bundle.dts)\n        return buildInfoPath;\n      const jsFileText = host.readFile(Debug2.checkDefined(jsFilePath));\n      if (!jsFileText)\n        return jsFilePath;\n      if (computeSignature(jsFileText, host) !== buildInfo.bundle.js.hash)\n        return jsFilePath;\n      const sourceMapText = sourceMapFilePath && host.readFile(sourceMapFilePath);\n      if (sourceMapFilePath && !sourceMapText || config.options.inlineSourceMap)\n        return sourceMapFilePath || \"inline sourcemap decoding\";\n      if (sourceMapFilePath && computeSignature(sourceMapText, host) !== buildInfo.bundle.js.mapHash)\n        return sourceMapFilePath;\n      const declarationText = declarationFilePath && host.readFile(declarationFilePath);\n      if (declarationFilePath && !declarationText)\n        return declarationFilePath;\n      if (declarationFilePath && computeSignature(declarationText, host) !== buildInfo.bundle.dts.hash)\n        return declarationFilePath;\n      const declarationMapText = declarationMapPath && host.readFile(declarationMapPath);\n      if (declarationMapPath && !declarationMapText || config.options.inlineSourceMap)\n        return declarationMapPath || \"inline sourcemap decoding\";\n      if (declarationMapPath && computeSignature(declarationMapText, host) !== buildInfo.bundle.dts.mapHash)\n        return declarationMapPath;\n      const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n      const ownPrependInput = createInputFilesWithFileTexts(\n        jsFilePath,\n        jsFileText,\n        sourceMapFilePath,\n        sourceMapText,\n        declarationFilePath,\n        declarationText,\n        declarationMapPath,\n        declarationMapText,\n        buildInfoPath,\n        buildInfo,\n        /*onlyOwnText*/\n        true\n      );\n      const outputFiles = [];\n      const prependNodes = createPrependNodes(config.projectReferences, getCommandLine, (f) => host.readFile(f), host);\n      const sourceFilesForJsEmit = createSourceFilesFromBundleBuildInfo(buildInfo.bundle, buildInfoDirectory, host);\n      let changedDtsText;\n      let changedDtsData;\n      const emitHost = {\n        getPrependNodes: memoize(() => [...prependNodes, ownPrependInput]),\n        getCanonicalFileName: host.getCanonicalFileName,\n        getCommonSourceDirectory: () => getNormalizedAbsolutePath(buildInfo.bundle.commonSourceDirectory, buildInfoDirectory),\n        getCompilerOptions: () => config.options,\n        getCurrentDirectory: () => host.getCurrentDirectory(),\n        getSourceFile: returnUndefined,\n        getSourceFileByPath: returnUndefined,\n        getSourceFiles: () => sourceFilesForJsEmit,\n        getLibFileFromReference: notImplemented,\n        isSourceFileFromExternalLibrary: returnFalse,\n        getResolvedProjectReferenceToRedirect: returnUndefined,\n        getProjectReferenceRedirect: returnUndefined,\n        isSourceOfProjectReferenceRedirect: returnFalse,\n        writeFile: (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => {\n          switch (name) {\n            case jsFilePath:\n              if (jsFileText === text)\n                return;\n              break;\n            case sourceMapFilePath:\n              if (sourceMapText === text)\n                return;\n              break;\n            case buildInfoPath:\n              break;\n            case declarationFilePath:\n              if (declarationText === text)\n                return;\n              changedDtsText = text;\n              changedDtsData = data;\n              break;\n            case declarationMapPath:\n              if (declarationMapText === text)\n                return;\n              break;\n            default:\n              Debug2.fail(`Unexpected path: ${name}`);\n          }\n          outputFiles.push({ name, text, writeByteOrderMark, data });\n        },\n        isEmitBlocked: returnFalse,\n        readFile: (f) => host.readFile(f),\n        fileExists: (f) => host.fileExists(f),\n        useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),\n        getBuildInfo: (bundle) => {\n          const program = buildInfo.program;\n          if (program && changedDtsText !== void 0 && config.options.composite) {\n            program.outSignature = computeSignature(changedDtsText, host, changedDtsData);\n          }\n          const { js, dts, sourceFiles } = buildInfo.bundle;\n          bundle.js.sources = js.sources;\n          if (dts) {\n            bundle.dts.sources = dts.sources;\n          }\n          bundle.sourceFiles = sourceFiles;\n          return createBuildInfo(program, bundle);\n        },\n        getSourceFileFromReference: returnUndefined,\n        redirectTargetsMap: createMultiMap(),\n        getFileIncludeReasons: notImplemented,\n        createHash: maybeBind(host, host.createHash)\n      };\n      emitFiles(\n        notImplementedResolver,\n        emitHost,\n        /*targetSourceFile*/\n        void 0,\n        getTransformers(config.options, customTransformers)\n      );\n      return outputFiles;\n    }\n    function createPrinter(printerOptions = {}, handlers = {}) {\n      var {\n        hasGlobalName,\n        onEmitNode = noEmitNotification,\n        isEmitNotificationEnabled,\n        substituteNode = noEmitSubstitution,\n        onBeforeEmitNode,\n        onAfterEmitNode,\n        onBeforeEmitNodeArray,\n        onAfterEmitNodeArray,\n        onBeforeEmitToken,\n        onAfterEmitToken\n      } = handlers;\n      var extendedDiagnostics = !!printerOptions.extendedDiagnostics;\n      var newLine = getNewLineCharacter(printerOptions);\n      var moduleKind = getEmitModuleKind(printerOptions);\n      var bundledHelpers = /* @__PURE__ */ new Map();\n      var currentSourceFile;\n      var nodeIdToGeneratedName;\n      var nodeIdToGeneratedPrivateName;\n      var autoGeneratedIdToGeneratedName;\n      var generatedNames;\n      var formattedNameTempFlagsStack;\n      var formattedNameTempFlags;\n      var privateNameTempFlagsStack;\n      var privateNameTempFlags;\n      var tempFlagsStack;\n      var tempFlags;\n      var reservedNamesStack;\n      var reservedNames;\n      var reservedPrivateNamesStack;\n      var reservedPrivateNames;\n      var preserveSourceNewlines = printerOptions.preserveSourceNewlines;\n      var nextListElementPos;\n      var writer;\n      var ownWriter;\n      var write = writeBase;\n      var isOwnFileEmit;\n      var bundleFileInfo = printerOptions.writeBundleFileInfo ? { sections: [] } : void 0;\n      var relativeToBuildInfo = bundleFileInfo ? Debug2.checkDefined(printerOptions.relativeToBuildInfo) : void 0;\n      var recordInternalSection = printerOptions.recordInternalSection;\n      var sourceFileTextPos = 0;\n      var sourceFileTextKind = \"text\";\n      var sourceMapsDisabled = true;\n      var sourceMapGenerator;\n      var sourceMapSource;\n      var sourceMapSourceIndex = -1;\n      var mostRecentlyAddedSourceMapSource;\n      var mostRecentlyAddedSourceMapSourceIndex = -1;\n      var containerPos = -1;\n      var containerEnd = -1;\n      var declarationListContainerEnd = -1;\n      var currentLineMap;\n      var detachedCommentsInfo;\n      var hasWrittenComment = false;\n      var commentsDisabled = !!printerOptions.removeComments;\n      var lastSubstitution;\n      var currentParenthesizerRule;\n      var { enter: enterComment, exit: exitComment } = createTimerIf(extendedDiagnostics, \"commentTime\", \"beforeComment\", \"afterComment\");\n      var parenthesizer = factory.parenthesizer;\n      var typeArgumentParenthesizerRuleSelector = {\n        select: (index) => index === 0 ? parenthesizer.parenthesizeLeadingTypeArgument : void 0\n      };\n      var emitBinaryExpression = createEmitBinaryExpression();\n      reset2();\n      return {\n        // public API\n        printNode,\n        printList,\n        printFile,\n        printBundle,\n        // internal API\n        writeNode,\n        writeList,\n        writeFile: writeFile2,\n        writeBundle,\n        bundleFileInfo\n      };\n      function printNode(hint, node, sourceFile) {\n        switch (hint) {\n          case 0:\n            Debug2.assert(isSourceFile(node), \"Expected a SourceFile node.\");\n            break;\n          case 2:\n            Debug2.assert(isIdentifier(node), \"Expected an Identifier node.\");\n            break;\n          case 1:\n            Debug2.assert(isExpression(node), \"Expected an Expression node.\");\n            break;\n        }\n        switch (node.kind) {\n          case 308:\n            return printFile(node);\n          case 309:\n            return printBundle(node);\n          case 310:\n            return printUnparsedSource(node);\n        }\n        writeNode(hint, node, sourceFile, beginPrint());\n        return endPrint();\n      }\n      function printList(format, nodes, sourceFile) {\n        writeList(format, nodes, sourceFile, beginPrint());\n        return endPrint();\n      }\n      function printBundle(bundle) {\n        writeBundle(\n          bundle,\n          beginPrint(),\n          /*sourceMapEmitter*/\n          void 0\n        );\n        return endPrint();\n      }\n      function printFile(sourceFile) {\n        writeFile2(\n          sourceFile,\n          beginPrint(),\n          /*sourceMapEmitter*/\n          void 0\n        );\n        return endPrint();\n      }\n      function printUnparsedSource(unparsed) {\n        writeUnparsedSource(unparsed, beginPrint());\n        return endPrint();\n      }\n      function writeNode(hint, node, sourceFile, output) {\n        const previousWriter = writer;\n        setWriter(\n          output,\n          /*_sourceMapGenerator*/\n          void 0\n        );\n        print(hint, node, sourceFile);\n        reset2();\n        writer = previousWriter;\n      }\n      function writeList(format, nodes, sourceFile, output) {\n        const previousWriter = writer;\n        setWriter(\n          output,\n          /*_sourceMapGenerator*/\n          void 0\n        );\n        if (sourceFile) {\n          setSourceFile(sourceFile);\n        }\n        emitList(\n          /*parentNode*/\n          void 0,\n          nodes,\n          format\n        );\n        reset2();\n        writer = previousWriter;\n      }\n      function getTextPosWithWriteLine() {\n        return writer.getTextPosWithWriteLine ? writer.getTextPosWithWriteLine() : writer.getTextPos();\n      }\n      function updateOrPushBundleFileTextLike(pos, end, kind) {\n        const last2 = lastOrUndefined(bundleFileInfo.sections);\n        if (last2 && last2.kind === kind) {\n          last2.end = end;\n        } else {\n          bundleFileInfo.sections.push({ pos, end, kind });\n        }\n      }\n      function recordBundleFileInternalSectionStart(node) {\n        if (recordInternalSection && bundleFileInfo && currentSourceFile && (isDeclaration(node) || isVariableStatement(node)) && isInternalDeclaration(node, currentSourceFile) && sourceFileTextKind !== \"internal\") {\n          const prevSourceFileTextKind = sourceFileTextKind;\n          recordBundleFileTextLikeSection(writer.getTextPos());\n          sourceFileTextPos = getTextPosWithWriteLine();\n          sourceFileTextKind = \"internal\";\n          return prevSourceFileTextKind;\n        }\n        return void 0;\n      }\n      function recordBundleFileInternalSectionEnd(prevSourceFileTextKind) {\n        if (prevSourceFileTextKind) {\n          recordBundleFileTextLikeSection(writer.getTextPos());\n          sourceFileTextPos = getTextPosWithWriteLine();\n          sourceFileTextKind = prevSourceFileTextKind;\n        }\n      }\n      function recordBundleFileTextLikeSection(end) {\n        if (sourceFileTextPos < end) {\n          updateOrPushBundleFileTextLike(sourceFileTextPos, end, sourceFileTextKind);\n          return true;\n        }\n        return false;\n      }\n      function writeBundle(bundle, output, sourceMapGenerator2) {\n        isOwnFileEmit = false;\n        const previousWriter = writer;\n        setWriter(output, sourceMapGenerator2);\n        emitShebangIfNeeded(bundle);\n        emitPrologueDirectivesIfNeeded(bundle);\n        emitHelpers(bundle);\n        emitSyntheticTripleSlashReferencesIfNeeded(bundle);\n        for (const prepend of bundle.prepends) {\n          writeLine();\n          const pos = writer.getTextPos();\n          const savedSections = bundleFileInfo && bundleFileInfo.sections;\n          if (savedSections)\n            bundleFileInfo.sections = [];\n          print(\n            4,\n            prepend,\n            /*sourceFile*/\n            void 0\n          );\n          if (bundleFileInfo) {\n            const newSections = bundleFileInfo.sections;\n            bundleFileInfo.sections = savedSections;\n            if (prepend.oldFileOfCurrentEmit)\n              bundleFileInfo.sections.push(...newSections);\n            else {\n              newSections.forEach((section) => Debug2.assert(isBundleFileTextLike(section)));\n              bundleFileInfo.sections.push({\n                pos,\n                end: writer.getTextPos(),\n                kind: \"prepend\",\n                data: relativeToBuildInfo(prepend.fileName),\n                texts: newSections\n              });\n            }\n          }\n        }\n        sourceFileTextPos = getTextPosWithWriteLine();\n        for (const sourceFile of bundle.sourceFiles) {\n          print(0, sourceFile, sourceFile);\n        }\n        if (bundleFileInfo && bundle.sourceFiles.length) {\n          const end = writer.getTextPos();\n          if (recordBundleFileTextLikeSection(end)) {\n            const prologues = getPrologueDirectivesFromBundledSourceFiles(bundle);\n            if (prologues) {\n              if (!bundleFileInfo.sources)\n                bundleFileInfo.sources = {};\n              bundleFileInfo.sources.prologues = prologues;\n            }\n            const helpers = getHelpersFromBundledSourceFiles(bundle);\n            if (helpers) {\n              if (!bundleFileInfo.sources)\n                bundleFileInfo.sources = {};\n              bundleFileInfo.sources.helpers = helpers;\n            }\n          }\n        }\n        reset2();\n        writer = previousWriter;\n      }\n      function writeUnparsedSource(unparsed, output) {\n        const previousWriter = writer;\n        setWriter(\n          output,\n          /*_sourceMapGenerator*/\n          void 0\n        );\n        print(\n          4,\n          unparsed,\n          /*sourceFile*/\n          void 0\n        );\n        reset2();\n        writer = previousWriter;\n      }\n      function writeFile2(sourceFile, output, sourceMapGenerator2) {\n        isOwnFileEmit = true;\n        const previousWriter = writer;\n        setWriter(output, sourceMapGenerator2);\n        emitShebangIfNeeded(sourceFile);\n        emitPrologueDirectivesIfNeeded(sourceFile);\n        print(0, sourceFile, sourceFile);\n        reset2();\n        writer = previousWriter;\n      }\n      function beginPrint() {\n        return ownWriter || (ownWriter = createTextWriter(newLine));\n      }\n      function endPrint() {\n        const text = ownWriter.getText();\n        ownWriter.clear();\n        return text;\n      }\n      function print(hint, node, sourceFile) {\n        if (sourceFile) {\n          setSourceFile(sourceFile);\n        }\n        pipelineEmit(\n          hint,\n          node,\n          /*parenthesizerRule*/\n          void 0\n        );\n      }\n      function setSourceFile(sourceFile) {\n        currentSourceFile = sourceFile;\n        currentLineMap = void 0;\n        detachedCommentsInfo = void 0;\n        if (sourceFile) {\n          setSourceMapSource(sourceFile);\n        }\n      }\n      function setWriter(_writer, _sourceMapGenerator) {\n        if (_writer && printerOptions.omitTrailingSemicolon) {\n          _writer = getTrailingSemicolonDeferringWriter(_writer);\n        }\n        writer = _writer;\n        sourceMapGenerator = _sourceMapGenerator;\n        sourceMapsDisabled = !writer || !sourceMapGenerator;\n      }\n      function reset2() {\n        nodeIdToGeneratedName = [];\n        nodeIdToGeneratedPrivateName = [];\n        autoGeneratedIdToGeneratedName = [];\n        generatedNames = /* @__PURE__ */ new Set();\n        formattedNameTempFlagsStack = [];\n        formattedNameTempFlags = /* @__PURE__ */ new Map();\n        privateNameTempFlagsStack = [];\n        privateNameTempFlags = 0;\n        tempFlagsStack = [];\n        tempFlags = 0;\n        reservedNamesStack = [];\n        reservedNames = void 0;\n        reservedPrivateNamesStack = [];\n        reservedPrivateNames = void 0;\n        currentSourceFile = void 0;\n        currentLineMap = void 0;\n        detachedCommentsInfo = void 0;\n        setWriter(\n          /*output*/\n          void 0,\n          /*_sourceMapGenerator*/\n          void 0\n        );\n      }\n      function getCurrentLineMap() {\n        return currentLineMap || (currentLineMap = getLineStarts(Debug2.checkDefined(currentSourceFile)));\n      }\n      function emit(node, parenthesizerRule) {\n        if (node === void 0)\n          return;\n        const prevSourceFileTextKind = recordBundleFileInternalSectionStart(node);\n        pipelineEmit(4, node, parenthesizerRule);\n        recordBundleFileInternalSectionEnd(prevSourceFileTextKind);\n      }\n      function emitIdentifierName(node) {\n        if (node === void 0)\n          return;\n        pipelineEmit(\n          2,\n          node,\n          /*parenthesizerRule*/\n          void 0\n        );\n      }\n      function emitExpression(node, parenthesizerRule) {\n        if (node === void 0)\n          return;\n        pipelineEmit(1, node, parenthesizerRule);\n      }\n      function emitJsxAttributeValue(node) {\n        pipelineEmit(isStringLiteral(node) ? 6 : 4, node);\n      }\n      function beforeEmitNode(node) {\n        if (preserveSourceNewlines && getInternalEmitFlags(node) & 4) {\n          preserveSourceNewlines = false;\n        }\n      }\n      function afterEmitNode(savedPreserveSourceNewlines) {\n        preserveSourceNewlines = savedPreserveSourceNewlines;\n      }\n      function pipelineEmit(emitHint, node, parenthesizerRule) {\n        currentParenthesizerRule = parenthesizerRule;\n        const pipelinePhase = getPipelinePhase(0, emitHint, node);\n        pipelinePhase(emitHint, node);\n        currentParenthesizerRule = void 0;\n      }\n      function shouldEmitComments(node) {\n        return !commentsDisabled && !isSourceFile(node);\n      }\n      function shouldEmitSourceMaps(node) {\n        return !sourceMapsDisabled && !isSourceFile(node) && !isInJsonFile(node) && !isUnparsedSource(node) && !isUnparsedPrepend(node);\n      }\n      function getPipelinePhase(phase, emitHint, node) {\n        switch (phase) {\n          case 0:\n            if (onEmitNode !== noEmitNotification && (!isEmitNotificationEnabled || isEmitNotificationEnabled(node))) {\n              return pipelineEmitWithNotification;\n            }\n          case 1:\n            if (substituteNode !== noEmitSubstitution && (lastSubstitution = substituteNode(emitHint, node) || node) !== node) {\n              if (currentParenthesizerRule) {\n                lastSubstitution = currentParenthesizerRule(lastSubstitution);\n              }\n              return pipelineEmitWithSubstitution;\n            }\n          case 2:\n            if (shouldEmitComments(node)) {\n              return pipelineEmitWithComments;\n            }\n          case 3:\n            if (shouldEmitSourceMaps(node)) {\n              return pipelineEmitWithSourceMaps;\n            }\n          case 4:\n            return pipelineEmitWithHint;\n          default:\n            return Debug2.assertNever(phase);\n        }\n      }\n      function getNextPipelinePhase(currentPhase, emitHint, node) {\n        return getPipelinePhase(currentPhase + 1, emitHint, node);\n      }\n      function pipelineEmitWithNotification(hint, node) {\n        const pipelinePhase = getNextPipelinePhase(0, hint, node);\n        onEmitNode(hint, node, pipelinePhase);\n      }\n      function pipelineEmitWithHint(hint, node) {\n        onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node);\n        if (preserveSourceNewlines) {\n          const savedPreserveSourceNewlines = preserveSourceNewlines;\n          beforeEmitNode(node);\n          pipelineEmitWithHintWorker(hint, node);\n          afterEmitNode(savedPreserveSourceNewlines);\n        } else {\n          pipelineEmitWithHintWorker(hint, node);\n        }\n        onAfterEmitNode == null ? void 0 : onAfterEmitNode(node);\n        currentParenthesizerRule = void 0;\n      }\n      function pipelineEmitWithHintWorker(hint, node, allowSnippets = true) {\n        if (allowSnippets) {\n          const snippet = getSnippetElement(node);\n          if (snippet) {\n            return emitSnippetNode(hint, node, snippet);\n          }\n        }\n        if (hint === 0)\n          return emitSourceFile(cast(node, isSourceFile));\n        if (hint === 2)\n          return emitIdentifier(cast(node, isIdentifier));\n        if (hint === 6)\n          return emitLiteral(\n            cast(node, isStringLiteral),\n            /*jsxAttributeEscape*/\n            true\n          );\n        if (hint === 3)\n          return emitMappedTypeParameter(cast(node, isTypeParameterDeclaration));\n        if (hint === 5) {\n          Debug2.assertNode(node, isEmptyStatement);\n          return emitEmptyStatement(\n            /*isEmbeddedStatement*/\n            true\n          );\n        }\n        if (hint === 4) {\n          switch (node.kind) {\n            case 15:\n            case 16:\n            case 17:\n              return emitLiteral(\n                node,\n                /*jsxAttributeEscape*/\n                false\n              );\n            case 79:\n              return emitIdentifier(node);\n            case 80:\n              return emitPrivateIdentifier(node);\n            case 163:\n              return emitQualifiedName(node);\n            case 164:\n              return emitComputedPropertyName(node);\n            case 165:\n              return emitTypeParameter(node);\n            case 166:\n              return emitParameter(node);\n            case 167:\n              return emitDecorator(node);\n            case 168:\n              return emitPropertySignature(node);\n            case 169:\n              return emitPropertyDeclaration(node);\n            case 170:\n              return emitMethodSignature(node);\n            case 171:\n              return emitMethodDeclaration(node);\n            case 172:\n              return emitClassStaticBlockDeclaration(node);\n            case 173:\n              return emitConstructor(node);\n            case 174:\n            case 175:\n              return emitAccessorDeclaration(node);\n            case 176:\n              return emitCallSignature(node);\n            case 177:\n              return emitConstructSignature(node);\n            case 178:\n              return emitIndexSignature(node);\n            case 179:\n              return emitTypePredicate(node);\n            case 180:\n              return emitTypeReference(node);\n            case 181:\n              return emitFunctionType(node);\n            case 182:\n              return emitConstructorType(node);\n            case 183:\n              return emitTypeQuery(node);\n            case 184:\n              return emitTypeLiteral(node);\n            case 185:\n              return emitArrayType(node);\n            case 186:\n              return emitTupleType(node);\n            case 187:\n              return emitOptionalType(node);\n            case 189:\n              return emitUnionType(node);\n            case 190:\n              return emitIntersectionType(node);\n            case 191:\n              return emitConditionalType(node);\n            case 192:\n              return emitInferType(node);\n            case 193:\n              return emitParenthesizedType(node);\n            case 230:\n              return emitExpressionWithTypeArguments(node);\n            case 194:\n              return emitThisType();\n            case 195:\n              return emitTypeOperator(node);\n            case 196:\n              return emitIndexedAccessType(node);\n            case 197:\n              return emitMappedType(node);\n            case 198:\n              return emitLiteralType(node);\n            case 199:\n              return emitNamedTupleMember(node);\n            case 200:\n              return emitTemplateType(node);\n            case 201:\n              return emitTemplateTypeSpan(node);\n            case 202:\n              return emitImportTypeNode(node);\n            case 203:\n              return emitObjectBindingPattern(node);\n            case 204:\n              return emitArrayBindingPattern(node);\n            case 205:\n              return emitBindingElement(node);\n            case 236:\n              return emitTemplateSpan(node);\n            case 237:\n              return emitSemicolonClassElement();\n            case 238:\n              return emitBlock(node);\n            case 240:\n              return emitVariableStatement(node);\n            case 239:\n              return emitEmptyStatement(\n                /*isEmbeddedStatement*/\n                false\n              );\n            case 241:\n              return emitExpressionStatement(node);\n            case 242:\n              return emitIfStatement(node);\n            case 243:\n              return emitDoStatement(node);\n            case 244:\n              return emitWhileStatement(node);\n            case 245:\n              return emitForStatement(node);\n            case 246:\n              return emitForInStatement(node);\n            case 247:\n              return emitForOfStatement(node);\n            case 248:\n              return emitContinueStatement(node);\n            case 249:\n              return emitBreakStatement(node);\n            case 250:\n              return emitReturnStatement(node);\n            case 251:\n              return emitWithStatement(node);\n            case 252:\n              return emitSwitchStatement(node);\n            case 253:\n              return emitLabeledStatement(node);\n            case 254:\n              return emitThrowStatement(node);\n            case 255:\n              return emitTryStatement(node);\n            case 256:\n              return emitDebuggerStatement(node);\n            case 257:\n              return emitVariableDeclaration(node);\n            case 258:\n              return emitVariableDeclarationList(node);\n            case 259:\n              return emitFunctionDeclaration(node);\n            case 260:\n              return emitClassDeclaration(node);\n            case 261:\n              return emitInterfaceDeclaration(node);\n            case 262:\n              return emitTypeAliasDeclaration(node);\n            case 263:\n              return emitEnumDeclaration(node);\n            case 264:\n              return emitModuleDeclaration(node);\n            case 265:\n              return emitModuleBlock(node);\n            case 266:\n              return emitCaseBlock(node);\n            case 267:\n              return emitNamespaceExportDeclaration(node);\n            case 268:\n              return emitImportEqualsDeclaration(node);\n            case 269:\n              return emitImportDeclaration(node);\n            case 270:\n              return emitImportClause(node);\n            case 271:\n              return emitNamespaceImport(node);\n            case 277:\n              return emitNamespaceExport(node);\n            case 272:\n              return emitNamedImports(node);\n            case 273:\n              return emitImportSpecifier(node);\n            case 274:\n              return emitExportAssignment(node);\n            case 275:\n              return emitExportDeclaration(node);\n            case 276:\n              return emitNamedExports(node);\n            case 278:\n              return emitExportSpecifier(node);\n            case 296:\n              return emitAssertClause(node);\n            case 297:\n              return emitAssertEntry(node);\n            case 279:\n              return;\n            case 280:\n              return emitExternalModuleReference(node);\n            case 11:\n              return emitJsxText(node);\n            case 283:\n            case 286:\n              return emitJsxOpeningElementOrFragment(node);\n            case 284:\n            case 287:\n              return emitJsxClosingElementOrFragment(node);\n            case 288:\n              return emitJsxAttribute(node);\n            case 289:\n              return emitJsxAttributes(node);\n            case 290:\n              return emitJsxSpreadAttribute(node);\n            case 291:\n              return emitJsxExpression(node);\n            case 292:\n              return emitCaseClause(node);\n            case 293:\n              return emitDefaultClause(node);\n            case 294:\n              return emitHeritageClause(node);\n            case 295:\n              return emitCatchClause(node);\n            case 299:\n              return emitPropertyAssignment(node);\n            case 300:\n              return emitShorthandPropertyAssignment(node);\n            case 301:\n              return emitSpreadAssignment(node);\n            case 302:\n              return emitEnumMember(node);\n            case 303:\n              return writeUnparsedNode(node);\n            case 310:\n            case 304:\n              return emitUnparsedSourceOrPrepend(node);\n            case 305:\n            case 306:\n              return emitUnparsedTextLike(node);\n            case 307:\n              return emitUnparsedSyntheticReference(node);\n            case 308:\n              return emitSourceFile(node);\n            case 309:\n              return Debug2.fail(\"Bundles should be printed using printBundle\");\n            case 311:\n              return Debug2.fail(\"InputFiles should not be printed\");\n            case 312:\n              return emitJSDocTypeExpression(node);\n            case 313:\n              return emitJSDocNameReference(node);\n            case 315:\n              return writePunctuation(\"*\");\n            case 316:\n              return writePunctuation(\"?\");\n            case 317:\n              return emitJSDocNullableType(node);\n            case 318:\n              return emitJSDocNonNullableType(node);\n            case 319:\n              return emitJSDocOptionalType(node);\n            case 320:\n              return emitJSDocFunctionType(node);\n            case 188:\n            case 321:\n              return emitRestOrJSDocVariadicType(node);\n            case 322:\n              return;\n            case 323:\n              return emitJSDoc(node);\n            case 325:\n              return emitJSDocTypeLiteral(node);\n            case 326:\n              return emitJSDocSignature(node);\n            case 330:\n            case 335:\n            case 340:\n              return emitJSDocSimpleTag(node);\n            case 331:\n            case 332:\n              return emitJSDocHeritageTag(node);\n            case 333:\n            case 334:\n              return;\n            case 336:\n            case 337:\n            case 338:\n            case 339:\n              return;\n            case 341:\n              return emitJSDocCallbackTag(node);\n            case 342:\n              return emitJSDocOverloadTag(node);\n            case 344:\n            case 351:\n              return emitJSDocPropertyLikeTag(node);\n            case 343:\n            case 345:\n            case 346:\n            case 347:\n            case 352:\n            case 353:\n              return emitJSDocSimpleTypedTag(node);\n            case 348:\n              return emitJSDocTemplateTag(node);\n            case 349:\n              return emitJSDocTypedefTag(node);\n            case 350:\n              return emitJSDocSeeTag(node);\n            case 355:\n            case 359:\n            case 358:\n              return;\n          }\n          if (isExpression(node)) {\n            hint = 1;\n            if (substituteNode !== noEmitSubstitution) {\n              const substitute = substituteNode(hint, node) || node;\n              if (substitute !== node) {\n                node = substitute;\n                if (currentParenthesizerRule) {\n                  node = currentParenthesizerRule(node);\n                }\n              }\n            }\n          }\n        }\n        if (hint === 1) {\n          switch (node.kind) {\n            case 8:\n            case 9:\n              return emitNumericOrBigIntLiteral(node);\n            case 10:\n            case 13:\n            case 14:\n              return emitLiteral(\n                node,\n                /*jsxAttributeEscape*/\n                false\n              );\n            case 79:\n              return emitIdentifier(node);\n            case 80:\n              return emitPrivateIdentifier(node);\n            case 206:\n              return emitArrayLiteralExpression(node);\n            case 207:\n              return emitObjectLiteralExpression(node);\n            case 208:\n              return emitPropertyAccessExpression(node);\n            case 209:\n              return emitElementAccessExpression(node);\n            case 210:\n              return emitCallExpression(node);\n            case 211:\n              return emitNewExpression(node);\n            case 212:\n              return emitTaggedTemplateExpression(node);\n            case 213:\n              return emitTypeAssertionExpression(node);\n            case 214:\n              return emitParenthesizedExpression(node);\n            case 215:\n              return emitFunctionExpression(node);\n            case 216:\n              return emitArrowFunction(node);\n            case 217:\n              return emitDeleteExpression(node);\n            case 218:\n              return emitTypeOfExpression(node);\n            case 219:\n              return emitVoidExpression(node);\n            case 220:\n              return emitAwaitExpression(node);\n            case 221:\n              return emitPrefixUnaryExpression(node);\n            case 222:\n              return emitPostfixUnaryExpression(node);\n            case 223:\n              return emitBinaryExpression(node);\n            case 224:\n              return emitConditionalExpression(node);\n            case 225:\n              return emitTemplateExpression(node);\n            case 226:\n              return emitYieldExpression(node);\n            case 227:\n              return emitSpreadElement(node);\n            case 228:\n              return emitClassExpression(node);\n            case 229:\n              return;\n            case 231:\n              return emitAsExpression(node);\n            case 232:\n              return emitNonNullExpression(node);\n            case 230:\n              return emitExpressionWithTypeArguments(node);\n            case 235:\n              return emitSatisfiesExpression(node);\n            case 233:\n              return emitMetaProperty(node);\n            case 234:\n              return Debug2.fail(\"SyntheticExpression should never be printed.\");\n            case 279:\n              return;\n            case 281:\n              return emitJsxElement(node);\n            case 282:\n              return emitJsxSelfClosingElement(node);\n            case 285:\n              return emitJsxFragment(node);\n            case 354:\n              return Debug2.fail(\"SyntaxList should not be printed\");\n            case 355:\n              return;\n            case 356:\n              return emitPartiallyEmittedExpression(node);\n            case 357:\n              return emitCommaList(node);\n            case 358:\n            case 359:\n              return;\n            case 360:\n              return Debug2.fail(\"SyntheticReferenceExpression should not be printed\");\n          }\n        }\n        if (isKeyword(node.kind))\n          return writeTokenNode(node, writeKeyword);\n        if (isTokenKind(node.kind))\n          return writeTokenNode(node, writePunctuation);\n        Debug2.fail(`Unhandled SyntaxKind: ${Debug2.formatSyntaxKind(node.kind)}.`);\n      }\n      function emitMappedTypeParameter(node) {\n        emit(node.name);\n        writeSpace();\n        writeKeyword(\"in\");\n        writeSpace();\n        emit(node.constraint);\n      }\n      function pipelineEmitWithSubstitution(hint, node) {\n        const pipelinePhase = getNextPipelinePhase(1, hint, node);\n        Debug2.assertIsDefined(lastSubstitution);\n        node = lastSubstitution;\n        lastSubstitution = void 0;\n        pipelinePhase(hint, node);\n      }\n      function getHelpersFromBundledSourceFiles(bundle) {\n        let result;\n        if (moduleKind === 0 || printerOptions.noEmitHelpers) {\n          return void 0;\n        }\n        const bundledHelpers2 = /* @__PURE__ */ new Map();\n        for (const sourceFile of bundle.sourceFiles) {\n          const shouldSkip = getExternalHelpersModuleName(sourceFile) !== void 0;\n          const helpers = getSortedEmitHelpers(sourceFile);\n          if (!helpers)\n            continue;\n          for (const helper of helpers) {\n            if (!helper.scoped && !shouldSkip && !bundledHelpers2.get(helper.name)) {\n              bundledHelpers2.set(helper.name, true);\n              (result || (result = [])).push(helper.name);\n            }\n          }\n        }\n        return result;\n      }\n      function emitHelpers(node) {\n        let helpersEmitted = false;\n        const bundle = node.kind === 309 ? node : void 0;\n        if (bundle && moduleKind === 0) {\n          return;\n        }\n        const numPrepends = bundle ? bundle.prepends.length : 0;\n        const numNodes = bundle ? bundle.sourceFiles.length + numPrepends : 1;\n        for (let i = 0; i < numNodes; i++) {\n          const currentNode = bundle ? i < numPrepends ? bundle.prepends[i] : bundle.sourceFiles[i - numPrepends] : node;\n          const sourceFile = isSourceFile(currentNode) ? currentNode : isUnparsedSource(currentNode) ? void 0 : currentSourceFile;\n          const shouldSkip = printerOptions.noEmitHelpers || !!sourceFile && hasRecordedExternalHelpers(sourceFile);\n          const shouldBundle = (isSourceFile(currentNode) || isUnparsedSource(currentNode)) && !isOwnFileEmit;\n          const helpers = isUnparsedSource(currentNode) ? currentNode.helpers : getSortedEmitHelpers(currentNode);\n          if (helpers) {\n            for (const helper of helpers) {\n              if (!helper.scoped) {\n                if (shouldSkip)\n                  continue;\n                if (shouldBundle) {\n                  if (bundledHelpers.get(helper.name)) {\n                    continue;\n                  }\n                  bundledHelpers.set(helper.name, true);\n                }\n              } else if (bundle) {\n                continue;\n              }\n              const pos = getTextPosWithWriteLine();\n              if (typeof helper.text === \"string\") {\n                writeLines(helper.text);\n              } else {\n                writeLines(helper.text(makeFileLevelOptimisticUniqueName));\n              }\n              if (bundleFileInfo)\n                bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"emitHelpers\", data: helper.name });\n              helpersEmitted = true;\n            }\n          }\n        }\n        return helpersEmitted;\n      }\n      function getSortedEmitHelpers(node) {\n        const helpers = getEmitHelpers(node);\n        return helpers && stableSort(helpers, compareEmitHelpers);\n      }\n      function emitNumericOrBigIntLiteral(node) {\n        emitLiteral(\n          node,\n          /*jsxAttributeEscape*/\n          false\n        );\n      }\n      function emitLiteral(node, jsxAttributeEscape) {\n        const text = getLiteralTextOfNode(node, printerOptions.neverAsciiEscape, jsxAttributeEscape);\n        if ((printerOptions.sourceMap || printerOptions.inlineSourceMap) && (node.kind === 10 || isTemplateLiteralKind(node.kind))) {\n          writeLiteral(text);\n        } else {\n          writeStringLiteral(text);\n        }\n      }\n      function emitUnparsedSourceOrPrepend(unparsed) {\n        for (const text of unparsed.texts) {\n          writeLine();\n          emit(text);\n        }\n      }\n      function writeUnparsedNode(unparsed) {\n        writer.rawWrite(unparsed.parent.text.substring(unparsed.pos, unparsed.end));\n      }\n      function emitUnparsedTextLike(unparsed) {\n        const pos = getTextPosWithWriteLine();\n        writeUnparsedNode(unparsed);\n        if (bundleFileInfo) {\n          updateOrPushBundleFileTextLike(\n            pos,\n            writer.getTextPos(),\n            unparsed.kind === 305 ? \"text\" : \"internal\"\n            /* Internal */\n          );\n        }\n      }\n      function emitUnparsedSyntheticReference(unparsed) {\n        const pos = getTextPosWithWriteLine();\n        writeUnparsedNode(unparsed);\n        if (bundleFileInfo) {\n          const section = clone(unparsed.section);\n          section.pos = pos;\n          section.end = writer.getTextPos();\n          bundleFileInfo.sections.push(section);\n        }\n      }\n      function emitSnippetNode(hint, node, snippet) {\n        switch (snippet.kind) {\n          case 1:\n            emitPlaceholder(hint, node, snippet);\n            break;\n          case 0:\n            emitTabStop(hint, node, snippet);\n            break;\n        }\n      }\n      function emitPlaceholder(hint, node, snippet) {\n        nonEscapingWrite(`\\${${snippet.order}:`);\n        pipelineEmitWithHintWorker(\n          hint,\n          node,\n          /*allowSnippets*/\n          false\n        );\n        nonEscapingWrite(`}`);\n      }\n      function emitTabStop(hint, node, snippet) {\n        Debug2.assert(\n          node.kind === 239,\n          `A tab stop cannot be attached to a node of kind ${Debug2.formatSyntaxKind(node.kind)}.`\n        );\n        Debug2.assert(\n          hint !== 5,\n          `A tab stop cannot be attached to an embedded statement.`\n        );\n        nonEscapingWrite(`$${snippet.order}`);\n      }\n      function emitIdentifier(node) {\n        const writeText = node.symbol ? writeSymbol : write;\n        writeText(getTextOfNode2(\n          node,\n          /*includeTrivia*/\n          false\n        ), node.symbol);\n        emitList(\n          node,\n          getIdentifierTypeArguments(node),\n          53776\n          /* TypeParameters */\n        );\n      }\n      function emitPrivateIdentifier(node) {\n        write(getTextOfNode2(\n          node,\n          /*includeTrivia*/\n          false\n        ));\n      }\n      function emitQualifiedName(node) {\n        emitEntityName(node.left);\n        writePunctuation(\".\");\n        emit(node.right);\n      }\n      function emitEntityName(node) {\n        if (node.kind === 79) {\n          emitExpression(node);\n        } else {\n          emit(node);\n        }\n      }\n      function emitComputedPropertyName(node) {\n        const savedPrivateNameTempFlags = privateNameTempFlags;\n        const savedReservedMemberNames = reservedPrivateNames;\n        popPrivateNameGenerationScope();\n        writePunctuation(\"[\");\n        emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfComputedPropertyName);\n        writePunctuation(\"]\");\n        pushPrivateNameGenerationScope(savedPrivateNameTempFlags, savedReservedMemberNames);\n      }\n      function emitTypeParameter(node) {\n        emitModifierList(node, node.modifiers);\n        emit(node.name);\n        if (node.constraint) {\n          writeSpace();\n          writeKeyword(\"extends\");\n          writeSpace();\n          emit(node.constraint);\n        }\n        if (node.default) {\n          writeSpace();\n          writeOperator(\"=\");\n          writeSpace();\n          emit(node.default);\n        }\n      }\n      function emitParameter(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          true\n        );\n        emit(node.dotDotDotToken);\n        emitNodeWithWriter(node.name, writeParameter);\n        emit(node.questionToken);\n        if (node.parent && node.parent.kind === 320 && !node.name) {\n          emit(node.type);\n        } else {\n          emitTypeAnnotation(node.type);\n        }\n        emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name ? node.name.end : node.modifiers ? node.modifiers.end : node.pos, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitDecorator(decorator) {\n        writePunctuation(\"@\");\n        emitExpression(decorator.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n      }\n      function emitPropertySignature(node) {\n        emitModifierList(node, node.modifiers);\n        emitNodeWithWriter(node.name, writeProperty);\n        emit(node.questionToken);\n        emitTypeAnnotation(node.type);\n        writeTrailingSemicolon();\n      }\n      function emitPropertyDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          true\n        );\n        emit(node.name);\n        emit(node.questionToken);\n        emit(node.exclamationToken);\n        emitTypeAnnotation(node.type);\n        emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name.end, node);\n        writeTrailingSemicolon();\n      }\n      function emitMethodSignature(node) {\n        pushNameGenerationScope(node);\n        emitModifierList(node, node.modifiers);\n        emit(node.name);\n        emit(node.questionToken);\n        emitTypeParameters(node, node.typeParameters);\n        emitParameters(node, node.parameters);\n        emitTypeAnnotation(node.type);\n        writeTrailingSemicolon();\n        popNameGenerationScope(node);\n      }\n      function emitMethodDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          true\n        );\n        emit(node.asteriskToken);\n        emit(node.name);\n        emit(node.questionToken);\n        emitSignatureAndBody(node, emitSignatureHead);\n      }\n      function emitClassStaticBlockDeclaration(node) {\n        writeKeyword(\"static\");\n        emitBlockFunctionBody(node.body);\n      }\n      function emitConstructor(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        writeKeyword(\"constructor\");\n        emitSignatureAndBody(node, emitSignatureHead);\n      }\n      function emitAccessorDeclaration(node) {\n        const pos = emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          true\n        );\n        const token = node.kind === 174 ? 137 : 151;\n        emitTokenWithComment(token, pos, writeKeyword, node);\n        writeSpace();\n        emit(node.name);\n        emitSignatureAndBody(node, emitSignatureHead);\n      }\n      function emitCallSignature(node) {\n        pushNameGenerationScope(node);\n        emitTypeParameters(node, node.typeParameters);\n        emitParameters(node, node.parameters);\n        emitTypeAnnotation(node.type);\n        writeTrailingSemicolon();\n        popNameGenerationScope(node);\n      }\n      function emitConstructSignature(node) {\n        pushNameGenerationScope(node);\n        writeKeyword(\"new\");\n        writeSpace();\n        emitTypeParameters(node, node.typeParameters);\n        emitParameters(node, node.parameters);\n        emitTypeAnnotation(node.type);\n        writeTrailingSemicolon();\n        popNameGenerationScope(node);\n      }\n      function emitIndexSignature(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        emitParametersForIndexSignature(node, node.parameters);\n        emitTypeAnnotation(node.type);\n        writeTrailingSemicolon();\n      }\n      function emitTemplateTypeSpan(node) {\n        emit(node.type);\n        emit(node.literal);\n      }\n      function emitSemicolonClassElement() {\n        writeTrailingSemicolon();\n      }\n      function emitTypePredicate(node) {\n        if (node.assertsModifier) {\n          emit(node.assertsModifier);\n          writeSpace();\n        }\n        emit(node.parameterName);\n        if (node.type) {\n          writeSpace();\n          writeKeyword(\"is\");\n          writeSpace();\n          emit(node.type);\n        }\n      }\n      function emitTypeReference(node) {\n        emit(node.typeName);\n        emitTypeArguments(node, node.typeArguments);\n      }\n      function emitFunctionType(node) {\n        pushNameGenerationScope(node);\n        emitTypeParameters(node, node.typeParameters);\n        emitParametersForArrow(node, node.parameters);\n        writeSpace();\n        writePunctuation(\"=>\");\n        writeSpace();\n        emit(node.type);\n        popNameGenerationScope(node);\n      }\n      function emitJSDocFunctionType(node) {\n        writeKeyword(\"function\");\n        emitParameters(node, node.parameters);\n        writePunctuation(\":\");\n        emit(node.type);\n      }\n      function emitJSDocNullableType(node) {\n        writePunctuation(\"?\");\n        emit(node.type);\n      }\n      function emitJSDocNonNullableType(node) {\n        writePunctuation(\"!\");\n        emit(node.type);\n      }\n      function emitJSDocOptionalType(node) {\n        emit(node.type);\n        writePunctuation(\"=\");\n      }\n      function emitConstructorType(node) {\n        pushNameGenerationScope(node);\n        emitModifierList(node, node.modifiers);\n        writeKeyword(\"new\");\n        writeSpace();\n        emitTypeParameters(node, node.typeParameters);\n        emitParameters(node, node.parameters);\n        writeSpace();\n        writePunctuation(\"=>\");\n        writeSpace();\n        emit(node.type);\n        popNameGenerationScope(node);\n      }\n      function emitTypeQuery(node) {\n        writeKeyword(\"typeof\");\n        writeSpace();\n        emit(node.exprName);\n        emitTypeArguments(node, node.typeArguments);\n      }\n      function emitTypeLiteral(node) {\n        pushPrivateNameGenerationScope(\n          0,\n          /*newReservedMemberNames*/\n          void 0\n        );\n        writePunctuation(\"{\");\n        const flags = getEmitFlags(node) & 1 ? 768 : 32897;\n        emitList(\n          node,\n          node.members,\n          flags | 524288\n          /* NoSpaceIfEmpty */\n        );\n        writePunctuation(\"}\");\n        popPrivateNameGenerationScope();\n      }\n      function emitArrayType(node) {\n        emit(node.elementType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType);\n        writePunctuation(\"[\");\n        writePunctuation(\"]\");\n      }\n      function emitRestOrJSDocVariadicType(node) {\n        writePunctuation(\"...\");\n        emit(node.type);\n      }\n      function emitTupleType(node) {\n        emitTokenWithComment(22, node.pos, writePunctuation, node);\n        const flags = getEmitFlags(node) & 1 ? 528 : 657;\n        emitList(node, node.elements, flags | 524288, parenthesizer.parenthesizeElementTypeOfTupleType);\n        emitTokenWithComment(23, node.elements.end, writePunctuation, node);\n      }\n      function emitNamedTupleMember(node) {\n        emit(node.dotDotDotToken);\n        emit(node.name);\n        emit(node.questionToken);\n        emitTokenWithComment(58, node.name.end, writePunctuation, node);\n        writeSpace();\n        emit(node.type);\n      }\n      function emitOptionalType(node) {\n        emit(node.type, parenthesizer.parenthesizeTypeOfOptionalType);\n        writePunctuation(\"?\");\n      }\n      function emitUnionType(node) {\n        emitList(node, node.types, 516, parenthesizer.parenthesizeConstituentTypeOfUnionType);\n      }\n      function emitIntersectionType(node) {\n        emitList(node, node.types, 520, parenthesizer.parenthesizeConstituentTypeOfIntersectionType);\n      }\n      function emitConditionalType(node) {\n        emit(node.checkType, parenthesizer.parenthesizeCheckTypeOfConditionalType);\n        writeSpace();\n        writeKeyword(\"extends\");\n        writeSpace();\n        emit(node.extendsType, parenthesizer.parenthesizeExtendsTypeOfConditionalType);\n        writeSpace();\n        writePunctuation(\"?\");\n        writeSpace();\n        emit(node.trueType);\n        writeSpace();\n        writePunctuation(\":\");\n        writeSpace();\n        emit(node.falseType);\n      }\n      function emitInferType(node) {\n        writeKeyword(\"infer\");\n        writeSpace();\n        emit(node.typeParameter);\n      }\n      function emitParenthesizedType(node) {\n        writePunctuation(\"(\");\n        emit(node.type);\n        writePunctuation(\")\");\n      }\n      function emitThisType() {\n        writeKeyword(\"this\");\n      }\n      function emitTypeOperator(node) {\n        writeTokenText(node.operator, writeKeyword);\n        writeSpace();\n        const parenthesizerRule = node.operator === 146 ? parenthesizer.parenthesizeOperandOfReadonlyTypeOperator : parenthesizer.parenthesizeOperandOfTypeOperator;\n        emit(node.type, parenthesizerRule);\n      }\n      function emitIndexedAccessType(node) {\n        emit(node.objectType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType);\n        writePunctuation(\"[\");\n        emit(node.indexType);\n        writePunctuation(\"]\");\n      }\n      function emitMappedType(node) {\n        const emitFlags = getEmitFlags(node);\n        writePunctuation(\"{\");\n        if (emitFlags & 1) {\n          writeSpace();\n        } else {\n          writeLine();\n          increaseIndent();\n        }\n        if (node.readonlyToken) {\n          emit(node.readonlyToken);\n          if (node.readonlyToken.kind !== 146) {\n            writeKeyword(\"readonly\");\n          }\n          writeSpace();\n        }\n        writePunctuation(\"[\");\n        pipelineEmit(3, node.typeParameter);\n        if (node.nameType) {\n          writeSpace();\n          writeKeyword(\"as\");\n          writeSpace();\n          emit(node.nameType);\n        }\n        writePunctuation(\"]\");\n        if (node.questionToken) {\n          emit(node.questionToken);\n          if (node.questionToken.kind !== 57) {\n            writePunctuation(\"?\");\n          }\n        }\n        writePunctuation(\":\");\n        writeSpace();\n        emit(node.type);\n        writeTrailingSemicolon();\n        if (emitFlags & 1) {\n          writeSpace();\n        } else {\n          writeLine();\n          decreaseIndent();\n        }\n        emitList(\n          node,\n          node.members,\n          2\n          /* PreserveLines */\n        );\n        writePunctuation(\"}\");\n      }\n      function emitLiteralType(node) {\n        emitExpression(node.literal);\n      }\n      function emitTemplateType(node) {\n        emit(node.head);\n        emitList(\n          node,\n          node.templateSpans,\n          262144\n          /* TemplateExpressionSpans */\n        );\n      }\n      function emitImportTypeNode(node) {\n        if (node.isTypeOf) {\n          writeKeyword(\"typeof\");\n          writeSpace();\n        }\n        writeKeyword(\"import\");\n        writePunctuation(\"(\");\n        emit(node.argument);\n        if (node.assertions) {\n          writePunctuation(\",\");\n          writeSpace();\n          writePunctuation(\"{\");\n          writeSpace();\n          writeKeyword(\"assert\");\n          writePunctuation(\":\");\n          writeSpace();\n          const elements = node.assertions.assertClause.elements;\n          emitList(\n            node.assertions.assertClause,\n            elements,\n            526226\n            /* ImportClauseEntries */\n          );\n          writeSpace();\n          writePunctuation(\"}\");\n        }\n        writePunctuation(\")\");\n        if (node.qualifier) {\n          writePunctuation(\".\");\n          emit(node.qualifier);\n        }\n        emitTypeArguments(node, node.typeArguments);\n      }\n      function emitObjectBindingPattern(node) {\n        writePunctuation(\"{\");\n        emitList(\n          node,\n          node.elements,\n          525136\n          /* ObjectBindingPatternElements */\n        );\n        writePunctuation(\"}\");\n      }\n      function emitArrayBindingPattern(node) {\n        writePunctuation(\"[\");\n        emitList(\n          node,\n          node.elements,\n          524880\n          /* ArrayBindingPatternElements */\n        );\n        writePunctuation(\"]\");\n      }\n      function emitBindingElement(node) {\n        emit(node.dotDotDotToken);\n        if (node.propertyName) {\n          emit(node.propertyName);\n          writePunctuation(\":\");\n          writeSpace();\n        }\n        emit(node.name);\n        emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitArrayLiteralExpression(node) {\n        const elements = node.elements;\n        const preferNewLine = node.multiLine ? 65536 : 0;\n        emitExpressionList(node, elements, 8914 | preferNewLine, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitObjectLiteralExpression(node) {\n        pushPrivateNameGenerationScope(\n          0,\n          /*newReservedMemberNames*/\n          void 0\n        );\n        forEach(node.properties, generateMemberNames);\n        const indentedFlag = getEmitFlags(node) & 131072;\n        if (indentedFlag) {\n          increaseIndent();\n        }\n        const preferNewLine = node.multiLine ? 65536 : 0;\n        const allowTrailingComma = currentSourceFile && currentSourceFile.languageVersion >= 1 && !isJsonSourceFile(currentSourceFile) ? 64 : 0;\n        emitList(node, node.properties, 526226 | allowTrailingComma | preferNewLine);\n        if (indentedFlag) {\n          decreaseIndent();\n        }\n        popPrivateNameGenerationScope();\n      }\n      function emitPropertyAccessExpression(node) {\n        emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n        const token = node.questionDotToken || setTextRangePosEnd(factory.createToken(\n          24\n          /* DotToken */\n        ), node.expression.end, node.name.pos);\n        const linesBeforeDot = getLinesBetweenNodes(node, node.expression, token);\n        const linesAfterDot = getLinesBetweenNodes(node, token, node.name);\n        writeLinesAndIndent(\n          linesBeforeDot,\n          /*writeSpaceIfNotIndenting*/\n          false\n        );\n        const shouldEmitDotDot = token.kind !== 28 && mayNeedDotDotForPropertyAccess(node.expression) && !writer.hasTrailingComment() && !writer.hasTrailingWhitespace();\n        if (shouldEmitDotDot) {\n          writePunctuation(\".\");\n        }\n        if (node.questionDotToken) {\n          emit(token);\n        } else {\n          emitTokenWithComment(token.kind, node.expression.end, writePunctuation, node);\n        }\n        writeLinesAndIndent(\n          linesAfterDot,\n          /*writeSpaceIfNotIndenting*/\n          false\n        );\n        emit(node.name);\n        decreaseIndentIf(linesBeforeDot, linesAfterDot);\n      }\n      function mayNeedDotDotForPropertyAccess(expression) {\n        expression = skipPartiallyEmittedExpressions(expression);\n        if (isNumericLiteral(expression)) {\n          const text = getLiteralTextOfNode(\n            expression,\n            /*neverAsciiEscape*/\n            true,\n            /*jsxAttributeEscape*/\n            false\n          );\n          return !expression.numericLiteralFlags && !stringContains(text, tokenToString(\n            24\n            /* DotToken */\n          ));\n        } else if (isAccessExpression(expression)) {\n          const constantValue = getConstantValue(expression);\n          return typeof constantValue === \"number\" && isFinite(constantValue) && Math.floor(constantValue) === constantValue;\n        }\n      }\n      function emitElementAccessExpression(node) {\n        emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n        emit(node.questionDotToken);\n        emitTokenWithComment(22, node.expression.end, writePunctuation, node);\n        emitExpression(node.argumentExpression);\n        emitTokenWithComment(23, node.argumentExpression.end, writePunctuation, node);\n      }\n      function emitCallExpression(node) {\n        const indirectCall = getInternalEmitFlags(node) & 16;\n        if (indirectCall) {\n          writePunctuation(\"(\");\n          writeLiteral(\"0\");\n          writePunctuation(\",\");\n          writeSpace();\n        }\n        emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n        if (indirectCall) {\n          writePunctuation(\")\");\n        }\n        emit(node.questionDotToken);\n        emitTypeArguments(node, node.typeArguments);\n        emitExpressionList(node, node.arguments, 2576, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitNewExpression(node) {\n        emitTokenWithComment(103, node.pos, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfNew);\n        emitTypeArguments(node, node.typeArguments);\n        emitExpressionList(node, node.arguments, 18960, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitTaggedTemplateExpression(node) {\n        const indirectCall = getInternalEmitFlags(node) & 16;\n        if (indirectCall) {\n          writePunctuation(\"(\");\n          writeLiteral(\"0\");\n          writePunctuation(\",\");\n          writeSpace();\n        }\n        emitExpression(node.tag, parenthesizer.parenthesizeLeftSideOfAccess);\n        if (indirectCall) {\n          writePunctuation(\")\");\n        }\n        emitTypeArguments(node, node.typeArguments);\n        writeSpace();\n        emitExpression(node.template);\n      }\n      function emitTypeAssertionExpression(node) {\n        writePunctuation(\"<\");\n        emit(node.type);\n        writePunctuation(\">\");\n        emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n      }\n      function emitParenthesizedExpression(node) {\n        const openParenPos = emitTokenWithComment(20, node.pos, writePunctuation, node);\n        const indented = writeLineSeparatorsAndIndentBefore(node.expression, node);\n        emitExpression(\n          node.expression,\n          /*parenthesizerRules*/\n          void 0\n        );\n        writeLineSeparatorsAfter(node.expression, node);\n        decreaseIndentIf(indented);\n        emitTokenWithComment(21, node.expression ? node.expression.end : openParenPos, writePunctuation, node);\n      }\n      function emitFunctionExpression(node) {\n        generateNameIfNeeded(node.name);\n        emitFunctionDeclarationOrExpression(node);\n      }\n      function emitArrowFunction(node) {\n        emitModifierList(node, node.modifiers);\n        emitSignatureAndBody(node, emitArrowFunctionHead);\n      }\n      function emitArrowFunctionHead(node) {\n        emitTypeParameters(node, node.typeParameters);\n        emitParametersForArrow(node, node.parameters);\n        emitTypeAnnotation(node.type);\n        writeSpace();\n        emit(node.equalsGreaterThanToken);\n      }\n      function emitDeleteExpression(node) {\n        emitTokenWithComment(89, node.pos, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n      }\n      function emitTypeOfExpression(node) {\n        emitTokenWithComment(112, node.pos, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n      }\n      function emitVoidExpression(node) {\n        emitTokenWithComment(114, node.pos, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n      }\n      function emitAwaitExpression(node) {\n        emitTokenWithComment(133, node.pos, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n      }\n      function emitPrefixUnaryExpression(node) {\n        writeTokenText(node.operator, writeOperator);\n        if (shouldEmitWhitespaceBeforeOperand(node)) {\n          writeSpace();\n        }\n        emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPrefixUnary);\n      }\n      function shouldEmitWhitespaceBeforeOperand(node) {\n        const operand = node.operand;\n        return operand.kind === 221 && (node.operator === 39 && (operand.operator === 39 || operand.operator === 45) || node.operator === 40 && (operand.operator === 40 || operand.operator === 46));\n      }\n      function emitPostfixUnaryExpression(node) {\n        emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPostfixUnary);\n        writeTokenText(node.operator, writeOperator);\n      }\n      function createEmitBinaryExpression() {\n        return createBinaryExpressionTrampoline(\n          onEnter,\n          onLeft,\n          onOperator,\n          onRight,\n          onExit,\n          /*foldState*/\n          void 0\n        );\n        function onEnter(node, state) {\n          if (state) {\n            state.stackIndex++;\n            state.preserveSourceNewlinesStack[state.stackIndex] = preserveSourceNewlines;\n            state.containerPosStack[state.stackIndex] = containerPos;\n            state.containerEndStack[state.stackIndex] = containerEnd;\n            state.declarationListContainerEndStack[state.stackIndex] = declarationListContainerEnd;\n            const emitComments2 = state.shouldEmitCommentsStack[state.stackIndex] = shouldEmitComments(node);\n            const emitSourceMaps = state.shouldEmitSourceMapsStack[state.stackIndex] = shouldEmitSourceMaps(node);\n            onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node);\n            if (emitComments2)\n              emitCommentsBeforeNode(node);\n            if (emitSourceMaps)\n              emitSourceMapsBeforeNode(node);\n            beforeEmitNode(node);\n          } else {\n            state = {\n              stackIndex: 0,\n              preserveSourceNewlinesStack: [void 0],\n              containerPosStack: [-1],\n              containerEndStack: [-1],\n              declarationListContainerEndStack: [-1],\n              shouldEmitCommentsStack: [false],\n              shouldEmitSourceMapsStack: [false]\n            };\n          }\n          return state;\n        }\n        function onLeft(next, _workArea, parent2) {\n          return maybeEmitExpression(next, parent2, \"left\");\n        }\n        function onOperator(operatorToken, _state, node) {\n          const isCommaOperator = operatorToken.kind !== 27;\n          const linesBeforeOperator = getLinesBetweenNodes(node, node.left, operatorToken);\n          const linesAfterOperator = getLinesBetweenNodes(node, operatorToken, node.right);\n          writeLinesAndIndent(linesBeforeOperator, isCommaOperator);\n          emitLeadingCommentsOfPosition(operatorToken.pos);\n          writeTokenNode(operatorToken, operatorToken.kind === 101 ? writeKeyword : writeOperator);\n          emitTrailingCommentsOfPosition(\n            operatorToken.end,\n            /*prefixSpace*/\n            true\n          );\n          writeLinesAndIndent(\n            linesAfterOperator,\n            /*writeSpaceIfNotIndenting*/\n            true\n          );\n        }\n        function onRight(next, _workArea, parent2) {\n          return maybeEmitExpression(next, parent2, \"right\");\n        }\n        function onExit(node, state) {\n          const linesBeforeOperator = getLinesBetweenNodes(node, node.left, node.operatorToken);\n          const linesAfterOperator = getLinesBetweenNodes(node, node.operatorToken, node.right);\n          decreaseIndentIf(linesBeforeOperator, linesAfterOperator);\n          if (state.stackIndex > 0) {\n            const savedPreserveSourceNewlines = state.preserveSourceNewlinesStack[state.stackIndex];\n            const savedContainerPos = state.containerPosStack[state.stackIndex];\n            const savedContainerEnd = state.containerEndStack[state.stackIndex];\n            const savedDeclarationListContainerEnd = state.declarationListContainerEndStack[state.stackIndex];\n            const shouldEmitComments2 = state.shouldEmitCommentsStack[state.stackIndex];\n            const shouldEmitSourceMaps2 = state.shouldEmitSourceMapsStack[state.stackIndex];\n            afterEmitNode(savedPreserveSourceNewlines);\n            if (shouldEmitSourceMaps2)\n              emitSourceMapsAfterNode(node);\n            if (shouldEmitComments2)\n              emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n            onAfterEmitNode == null ? void 0 : onAfterEmitNode(node);\n            state.stackIndex--;\n          }\n        }\n        function maybeEmitExpression(next, parent2, side) {\n          const parenthesizerRule = side === \"left\" ? parenthesizer.getParenthesizeLeftSideOfBinaryForOperator(parent2.operatorToken.kind) : parenthesizer.getParenthesizeRightSideOfBinaryForOperator(parent2.operatorToken.kind);\n          let pipelinePhase = getPipelinePhase(0, 1, next);\n          if (pipelinePhase === pipelineEmitWithSubstitution) {\n            Debug2.assertIsDefined(lastSubstitution);\n            next = parenthesizerRule(cast(lastSubstitution, isExpression));\n            pipelinePhase = getNextPipelinePhase(1, 1, next);\n            lastSubstitution = void 0;\n          }\n          if (pipelinePhase === pipelineEmitWithComments || pipelinePhase === pipelineEmitWithSourceMaps || pipelinePhase === pipelineEmitWithHint) {\n            if (isBinaryExpression(next)) {\n              return next;\n            }\n          }\n          currentParenthesizerRule = parenthesizerRule;\n          pipelinePhase(1, next);\n        }\n      }\n      function emitConditionalExpression(node) {\n        const linesBeforeQuestion = getLinesBetweenNodes(node, node.condition, node.questionToken);\n        const linesAfterQuestion = getLinesBetweenNodes(node, node.questionToken, node.whenTrue);\n        const linesBeforeColon = getLinesBetweenNodes(node, node.whenTrue, node.colonToken);\n        const linesAfterColon = getLinesBetweenNodes(node, node.colonToken, node.whenFalse);\n        emitExpression(node.condition, parenthesizer.parenthesizeConditionOfConditionalExpression);\n        writeLinesAndIndent(\n          linesBeforeQuestion,\n          /*writeSpaceIfNotIndenting*/\n          true\n        );\n        emit(node.questionToken);\n        writeLinesAndIndent(\n          linesAfterQuestion,\n          /*writeSpaceIfNotIndenting*/\n          true\n        );\n        emitExpression(node.whenTrue, parenthesizer.parenthesizeBranchOfConditionalExpression);\n        decreaseIndentIf(linesBeforeQuestion, linesAfterQuestion);\n        writeLinesAndIndent(\n          linesBeforeColon,\n          /*writeSpaceIfNotIndenting*/\n          true\n        );\n        emit(node.colonToken);\n        writeLinesAndIndent(\n          linesAfterColon,\n          /*writeSpaceIfNotIndenting*/\n          true\n        );\n        emitExpression(node.whenFalse, parenthesizer.parenthesizeBranchOfConditionalExpression);\n        decreaseIndentIf(linesBeforeColon, linesAfterColon);\n      }\n      function emitTemplateExpression(node) {\n        emit(node.head);\n        emitList(\n          node,\n          node.templateSpans,\n          262144\n          /* TemplateExpressionSpans */\n        );\n      }\n      function emitYieldExpression(node) {\n        emitTokenWithComment(125, node.pos, writeKeyword, node);\n        emit(node.asteriskToken);\n        emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsiAndDisallowedComma);\n      }\n      function emitSpreadElement(node) {\n        emitTokenWithComment(25, node.pos, writePunctuation, node);\n        emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitClassExpression(node) {\n        generateNameIfNeeded(node.name);\n        emitClassDeclarationOrExpression(node);\n      }\n      function emitExpressionWithTypeArguments(node) {\n        emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n        emitTypeArguments(node, node.typeArguments);\n      }\n      function emitAsExpression(node) {\n        emitExpression(\n          node.expression,\n          /*parenthesizerRules*/\n          void 0\n        );\n        if (node.type) {\n          writeSpace();\n          writeKeyword(\"as\");\n          writeSpace();\n          emit(node.type);\n        }\n      }\n      function emitNonNullExpression(node) {\n        emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n        writeOperator(\"!\");\n      }\n      function emitSatisfiesExpression(node) {\n        emitExpression(\n          node.expression,\n          /*parenthesizerRules*/\n          void 0\n        );\n        if (node.type) {\n          writeSpace();\n          writeKeyword(\"satisfies\");\n          writeSpace();\n          emit(node.type);\n        }\n      }\n      function emitMetaProperty(node) {\n        writeToken(node.keywordToken, node.pos, writePunctuation);\n        writePunctuation(\".\");\n        emit(node.name);\n      }\n      function emitTemplateSpan(node) {\n        emitExpression(node.expression);\n        emit(node.literal);\n      }\n      function emitBlock(node) {\n        emitBlockStatements(\n          node,\n          /*forceSingleLine*/\n          !node.multiLine && isEmptyBlock(node)\n        );\n      }\n      function emitBlockStatements(node, forceSingleLine) {\n        emitTokenWithComment(\n          18,\n          node.pos,\n          writePunctuation,\n          /*contextNode*/\n          node\n        );\n        const format = forceSingleLine || getEmitFlags(node) & 1 ? 768 : 129;\n        emitList(node, node.statements, format);\n        emitTokenWithComment(\n          19,\n          node.statements.end,\n          writePunctuation,\n          /*contextNode*/\n          node,\n          /*indentLeading*/\n          !!(format & 1)\n        );\n      }\n      function emitVariableStatement(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        emit(node.declarationList);\n        writeTrailingSemicolon();\n      }\n      function emitEmptyStatement(isEmbeddedStatement) {\n        if (isEmbeddedStatement) {\n          writePunctuation(\";\");\n        } else {\n          writeTrailingSemicolon();\n        }\n      }\n      function emitExpressionStatement(node) {\n        emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfExpressionStatement);\n        if (!currentSourceFile || !isJsonSourceFile(currentSourceFile) || nodeIsSynthesized(node.expression)) {\n          writeTrailingSemicolon();\n        }\n      }\n      function emitIfStatement(node) {\n        const openParenPos = emitTokenWithComment(99, node.pos, writeKeyword, node);\n        writeSpace();\n        emitTokenWithComment(20, openParenPos, writePunctuation, node);\n        emitExpression(node.expression);\n        emitTokenWithComment(21, node.expression.end, writePunctuation, node);\n        emitEmbeddedStatement(node, node.thenStatement);\n        if (node.elseStatement) {\n          writeLineOrSpace(node, node.thenStatement, node.elseStatement);\n          emitTokenWithComment(91, node.thenStatement.end, writeKeyword, node);\n          if (node.elseStatement.kind === 242) {\n            writeSpace();\n            emit(node.elseStatement);\n          } else {\n            emitEmbeddedStatement(node, node.elseStatement);\n          }\n        }\n      }\n      function emitWhileClause(node, startPos) {\n        const openParenPos = emitTokenWithComment(115, startPos, writeKeyword, node);\n        writeSpace();\n        emitTokenWithComment(20, openParenPos, writePunctuation, node);\n        emitExpression(node.expression);\n        emitTokenWithComment(21, node.expression.end, writePunctuation, node);\n      }\n      function emitDoStatement(node) {\n        emitTokenWithComment(90, node.pos, writeKeyword, node);\n        emitEmbeddedStatement(node, node.statement);\n        if (isBlock(node.statement) && !preserveSourceNewlines) {\n          writeSpace();\n        } else {\n          writeLineOrSpace(node, node.statement, node.expression);\n        }\n        emitWhileClause(node, node.statement.end);\n        writeTrailingSemicolon();\n      }\n      function emitWhileStatement(node) {\n        emitWhileClause(node, node.pos);\n        emitEmbeddedStatement(node, node.statement);\n      }\n      function emitForStatement(node) {\n        const openParenPos = emitTokenWithComment(97, node.pos, writeKeyword, node);\n        writeSpace();\n        let pos = emitTokenWithComment(\n          20,\n          openParenPos,\n          writePunctuation,\n          /*contextNode*/\n          node\n        );\n        emitForBinding(node.initializer);\n        pos = emitTokenWithComment(26, node.initializer ? node.initializer.end : pos, writePunctuation, node);\n        emitExpressionWithLeadingSpace(node.condition);\n        pos = emitTokenWithComment(26, node.condition ? node.condition.end : pos, writePunctuation, node);\n        emitExpressionWithLeadingSpace(node.incrementor);\n        emitTokenWithComment(21, node.incrementor ? node.incrementor.end : pos, writePunctuation, node);\n        emitEmbeddedStatement(node, node.statement);\n      }\n      function emitForInStatement(node) {\n        const openParenPos = emitTokenWithComment(97, node.pos, writeKeyword, node);\n        writeSpace();\n        emitTokenWithComment(20, openParenPos, writePunctuation, node);\n        emitForBinding(node.initializer);\n        writeSpace();\n        emitTokenWithComment(101, node.initializer.end, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression);\n        emitTokenWithComment(21, node.expression.end, writePunctuation, node);\n        emitEmbeddedStatement(node, node.statement);\n      }\n      function emitForOfStatement(node) {\n        const openParenPos = emitTokenWithComment(97, node.pos, writeKeyword, node);\n        writeSpace();\n        emitWithTrailingSpace(node.awaitModifier);\n        emitTokenWithComment(20, openParenPos, writePunctuation, node);\n        emitForBinding(node.initializer);\n        writeSpace();\n        emitTokenWithComment(162, node.initializer.end, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression);\n        emitTokenWithComment(21, node.expression.end, writePunctuation, node);\n        emitEmbeddedStatement(node, node.statement);\n      }\n      function emitForBinding(node) {\n        if (node !== void 0) {\n          if (node.kind === 258) {\n            emit(node);\n          } else {\n            emitExpression(node);\n          }\n        }\n      }\n      function emitContinueStatement(node) {\n        emitTokenWithComment(86, node.pos, writeKeyword, node);\n        emitWithLeadingSpace(node.label);\n        writeTrailingSemicolon();\n      }\n      function emitBreakStatement(node) {\n        emitTokenWithComment(81, node.pos, writeKeyword, node);\n        emitWithLeadingSpace(node.label);\n        writeTrailingSemicolon();\n      }\n      function emitTokenWithComment(token, pos, writer2, contextNode, indentLeading) {\n        const node = getParseTreeNode(contextNode);\n        const isSimilarNode = node && node.kind === contextNode.kind;\n        const startPos = pos;\n        if (isSimilarNode && currentSourceFile) {\n          pos = skipTrivia(currentSourceFile.text, pos);\n        }\n        if (isSimilarNode && contextNode.pos !== startPos) {\n          const needsIndent = indentLeading && currentSourceFile && !positionsAreOnSameLine(startPos, pos, currentSourceFile);\n          if (needsIndent) {\n            increaseIndent();\n          }\n          emitLeadingCommentsOfPosition(startPos);\n          if (needsIndent) {\n            decreaseIndent();\n          }\n        }\n        pos = writeTokenText(token, writer2, pos);\n        if (isSimilarNode && contextNode.end !== pos) {\n          const isJsxExprContext = contextNode.kind === 291;\n          emitTrailingCommentsOfPosition(\n            pos,\n            /*prefixSpace*/\n            !isJsxExprContext,\n            /*forceNoNewline*/\n            isJsxExprContext\n          );\n        }\n        return pos;\n      }\n      function commentWillEmitNewLine(node) {\n        return node.kind === 2 || !!node.hasTrailingNewLine;\n      }\n      function willEmitLeadingNewLine(node) {\n        if (!currentSourceFile)\n          return false;\n        if (some(getLeadingCommentRanges(currentSourceFile.text, node.pos), commentWillEmitNewLine))\n          return true;\n        if (some(getSyntheticLeadingComments(node), commentWillEmitNewLine))\n          return true;\n        if (isPartiallyEmittedExpression(node)) {\n          if (node.pos !== node.expression.pos) {\n            if (some(getTrailingCommentRanges(currentSourceFile.text, node.expression.pos), commentWillEmitNewLine))\n              return true;\n          }\n          return willEmitLeadingNewLine(node.expression);\n        }\n        return false;\n      }\n      function parenthesizeExpressionForNoAsi(node) {\n        if (!commentsDisabled && isPartiallyEmittedExpression(node) && willEmitLeadingNewLine(node)) {\n          const parseNode = getParseTreeNode(node);\n          if (parseNode && isParenthesizedExpression(parseNode)) {\n            const parens = factory.createParenthesizedExpression(node.expression);\n            setOriginalNode(parens, node);\n            setTextRange(parens, parseNode);\n            return parens;\n          }\n          return factory.createParenthesizedExpression(node);\n        }\n        return node;\n      }\n      function parenthesizeExpressionForNoAsiAndDisallowedComma(node) {\n        return parenthesizeExpressionForNoAsi(parenthesizer.parenthesizeExpressionForDisallowedComma(node));\n      }\n      function emitReturnStatement(node) {\n        emitTokenWithComment(\n          105,\n          node.pos,\n          writeKeyword,\n          /*contextNode*/\n          node\n        );\n        emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi);\n        writeTrailingSemicolon();\n      }\n      function emitWithStatement(node) {\n        const openParenPos = emitTokenWithComment(116, node.pos, writeKeyword, node);\n        writeSpace();\n        emitTokenWithComment(20, openParenPos, writePunctuation, node);\n        emitExpression(node.expression);\n        emitTokenWithComment(21, node.expression.end, writePunctuation, node);\n        emitEmbeddedStatement(node, node.statement);\n      }\n      function emitSwitchStatement(node) {\n        const openParenPos = emitTokenWithComment(107, node.pos, writeKeyword, node);\n        writeSpace();\n        emitTokenWithComment(20, openParenPos, writePunctuation, node);\n        emitExpression(node.expression);\n        emitTokenWithComment(21, node.expression.end, writePunctuation, node);\n        writeSpace();\n        emit(node.caseBlock);\n      }\n      function emitLabeledStatement(node) {\n        emit(node.label);\n        emitTokenWithComment(58, node.label.end, writePunctuation, node);\n        writeSpace();\n        emit(node.statement);\n      }\n      function emitThrowStatement(node) {\n        emitTokenWithComment(109, node.pos, writeKeyword, node);\n        emitExpressionWithLeadingSpace(parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi);\n        writeTrailingSemicolon();\n      }\n      function emitTryStatement(node) {\n        emitTokenWithComment(111, node.pos, writeKeyword, node);\n        writeSpace();\n        emit(node.tryBlock);\n        if (node.catchClause) {\n          writeLineOrSpace(node, node.tryBlock, node.catchClause);\n          emit(node.catchClause);\n        }\n        if (node.finallyBlock) {\n          writeLineOrSpace(node, node.catchClause || node.tryBlock, node.finallyBlock);\n          emitTokenWithComment(96, (node.catchClause || node.tryBlock).end, writeKeyword, node);\n          writeSpace();\n          emit(node.finallyBlock);\n        }\n      }\n      function emitDebuggerStatement(node) {\n        writeToken(87, node.pos, writeKeyword);\n        writeTrailingSemicolon();\n      }\n      function emitVariableDeclaration(node) {\n        var _a22, _b3, _c, _d, _e;\n        emit(node.name);\n        emit(node.exclamationToken);\n        emitTypeAnnotation(node.type);\n        emitInitializer(node.initializer, (_e = (_d = (_a22 = node.type) == null ? void 0 : _a22.end) != null ? _d : (_c = (_b3 = node.name.emitNode) == null ? void 0 : _b3.typeNode) == null ? void 0 : _c.end) != null ? _e : node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitVariableDeclarationList(node) {\n        writeKeyword(isLet(node) ? \"let\" : isVarConst(node) ? \"const\" : \"var\");\n        writeSpace();\n        emitList(\n          node,\n          node.declarations,\n          528\n          /* VariableDeclarationList */\n        );\n      }\n      function emitFunctionDeclaration(node) {\n        emitFunctionDeclarationOrExpression(node);\n      }\n      function emitFunctionDeclarationOrExpression(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        writeKeyword(\"function\");\n        emit(node.asteriskToken);\n        writeSpace();\n        emitIdentifierName(node.name);\n        emitSignatureAndBody(node, emitSignatureHead);\n      }\n      function emitSignatureAndBody(node, emitSignatureHead2) {\n        const body = node.body;\n        if (body) {\n          if (isBlock(body)) {\n            const indentedFlag = getEmitFlags(node) & 131072;\n            if (indentedFlag) {\n              increaseIndent();\n            }\n            pushNameGenerationScope(node);\n            forEach(node.parameters, generateNames);\n            generateNames(node.body);\n            emitSignatureHead2(node);\n            emitBlockFunctionBody(body);\n            popNameGenerationScope(node);\n            if (indentedFlag) {\n              decreaseIndent();\n            }\n          } else {\n            emitSignatureHead2(node);\n            writeSpace();\n            emitExpression(body, parenthesizer.parenthesizeConciseBodyOfArrowFunction);\n          }\n        } else {\n          emitSignatureHead2(node);\n          writeTrailingSemicolon();\n        }\n      }\n      function emitSignatureHead(node) {\n        emitTypeParameters(node, node.typeParameters);\n        emitParameters(node, node.parameters);\n        emitTypeAnnotation(node.type);\n      }\n      function shouldEmitBlockFunctionBodyOnSingleLine(body) {\n        if (getEmitFlags(body) & 1) {\n          return true;\n        }\n        if (body.multiLine) {\n          return false;\n        }\n        if (!nodeIsSynthesized(body) && currentSourceFile && !rangeIsOnSingleLine(body, currentSourceFile)) {\n          return false;\n        }\n        if (getLeadingLineTerminatorCount(\n          body,\n          firstOrUndefined(body.statements),\n          2\n          /* PreserveLines */\n        ) || getClosingLineTerminatorCount(body, lastOrUndefined(body.statements), 2, body.statements)) {\n          return false;\n        }\n        let previousStatement;\n        for (const statement of body.statements) {\n          if (getSeparatingLineTerminatorCount(\n            previousStatement,\n            statement,\n            2\n            /* PreserveLines */\n          ) > 0) {\n            return false;\n          }\n          previousStatement = statement;\n        }\n        return true;\n      }\n      function emitBlockFunctionBody(body) {\n        onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(body);\n        writeSpace();\n        writePunctuation(\"{\");\n        increaseIndent();\n        const emitBlockFunctionBody2 = shouldEmitBlockFunctionBodyOnSingleLine(body) ? emitBlockFunctionBodyOnSingleLine : emitBlockFunctionBodyWorker;\n        emitBodyWithDetachedComments(body, body.statements, emitBlockFunctionBody2);\n        decreaseIndent();\n        writeToken(19, body.statements.end, writePunctuation, body);\n        onAfterEmitNode == null ? void 0 : onAfterEmitNode(body);\n      }\n      function emitBlockFunctionBodyOnSingleLine(body) {\n        emitBlockFunctionBodyWorker(\n          body,\n          /*emitBlockFunctionBodyOnSingleLine*/\n          true\n        );\n      }\n      function emitBlockFunctionBodyWorker(body, emitBlockFunctionBodyOnSingleLine2) {\n        const statementOffset = emitPrologueDirectives(body.statements);\n        const pos = writer.getTextPos();\n        emitHelpers(body);\n        if (statementOffset === 0 && pos === writer.getTextPos() && emitBlockFunctionBodyOnSingleLine2) {\n          decreaseIndent();\n          emitList(\n            body,\n            body.statements,\n            768\n            /* SingleLineFunctionBodyStatements */\n          );\n          increaseIndent();\n        } else {\n          emitList(\n            body,\n            body.statements,\n            1,\n            /*parenthesizerRule*/\n            void 0,\n            statementOffset\n          );\n        }\n      }\n      function emitClassDeclaration(node) {\n        emitClassDeclarationOrExpression(node);\n      }\n      function emitClassDeclarationOrExpression(node) {\n        pushPrivateNameGenerationScope(\n          0,\n          /*newReservedMemberNames*/\n          void 0\n        );\n        forEach(node.members, generateMemberNames);\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          true\n        );\n        emitTokenWithComment(84, moveRangePastModifiers(node).pos, writeKeyword, node);\n        if (node.name) {\n          writeSpace();\n          emitIdentifierName(node.name);\n        }\n        const indentedFlag = getEmitFlags(node) & 131072;\n        if (indentedFlag) {\n          increaseIndent();\n        }\n        emitTypeParameters(node, node.typeParameters);\n        emitList(\n          node,\n          node.heritageClauses,\n          0\n          /* ClassHeritageClauses */\n        );\n        writeSpace();\n        writePunctuation(\"{\");\n        emitList(\n          node,\n          node.members,\n          129\n          /* ClassMembers */\n        );\n        writePunctuation(\"}\");\n        if (indentedFlag) {\n          decreaseIndent();\n        }\n        popPrivateNameGenerationScope();\n      }\n      function emitInterfaceDeclaration(node) {\n        pushPrivateNameGenerationScope(\n          0,\n          /*newReservedMemberNames*/\n          void 0\n        );\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        writeKeyword(\"interface\");\n        writeSpace();\n        emit(node.name);\n        emitTypeParameters(node, node.typeParameters);\n        emitList(\n          node,\n          node.heritageClauses,\n          512\n          /* HeritageClauses */\n        );\n        writeSpace();\n        writePunctuation(\"{\");\n        emitList(\n          node,\n          node.members,\n          129\n          /* InterfaceMembers */\n        );\n        writePunctuation(\"}\");\n        popPrivateNameGenerationScope();\n      }\n      function emitTypeAliasDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        writeKeyword(\"type\");\n        writeSpace();\n        emit(node.name);\n        emitTypeParameters(node, node.typeParameters);\n        writeSpace();\n        writePunctuation(\"=\");\n        writeSpace();\n        emit(node.type);\n        writeTrailingSemicolon();\n      }\n      function emitEnumDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        writeKeyword(\"enum\");\n        writeSpace();\n        emit(node.name);\n        writeSpace();\n        writePunctuation(\"{\");\n        emitList(\n          node,\n          node.members,\n          145\n          /* EnumMembers */\n        );\n        writePunctuation(\"}\");\n      }\n      function emitModuleDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        if (~node.flags & 1024) {\n          writeKeyword(node.flags & 16 ? \"namespace\" : \"module\");\n          writeSpace();\n        }\n        emit(node.name);\n        let body = node.body;\n        if (!body)\n          return writeTrailingSemicolon();\n        while (body && isModuleDeclaration(body)) {\n          writePunctuation(\".\");\n          emit(body.name);\n          body = body.body;\n        }\n        writeSpace();\n        emit(body);\n      }\n      function emitModuleBlock(node) {\n        pushNameGenerationScope(node);\n        forEach(node.statements, generateNames);\n        emitBlockStatements(\n          node,\n          /*forceSingleLine*/\n          isEmptyBlock(node)\n        );\n        popNameGenerationScope(node);\n      }\n      function emitCaseBlock(node) {\n        emitTokenWithComment(18, node.pos, writePunctuation, node);\n        emitList(\n          node,\n          node.clauses,\n          129\n          /* CaseBlockClauses */\n        );\n        emitTokenWithComment(\n          19,\n          node.clauses.end,\n          writePunctuation,\n          node,\n          /*indentLeading*/\n          true\n        );\n      }\n      function emitImportEqualsDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        emitTokenWithComment(100, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node);\n        writeSpace();\n        if (node.isTypeOnly) {\n          emitTokenWithComment(154, node.pos, writeKeyword, node);\n          writeSpace();\n        }\n        emit(node.name);\n        writeSpace();\n        emitTokenWithComment(63, node.name.end, writePunctuation, node);\n        writeSpace();\n        emitModuleReference(node.moduleReference);\n        writeTrailingSemicolon();\n      }\n      function emitModuleReference(node) {\n        if (node.kind === 79) {\n          emitExpression(node);\n        } else {\n          emit(node);\n        }\n      }\n      function emitImportDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        emitTokenWithComment(100, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node);\n        writeSpace();\n        if (node.importClause) {\n          emit(node.importClause);\n          writeSpace();\n          emitTokenWithComment(158, node.importClause.end, writeKeyword, node);\n          writeSpace();\n        }\n        emitExpression(node.moduleSpecifier);\n        if (node.assertClause) {\n          emitWithLeadingSpace(node.assertClause);\n        }\n        writeTrailingSemicolon();\n      }\n      function emitImportClause(node) {\n        if (node.isTypeOnly) {\n          emitTokenWithComment(154, node.pos, writeKeyword, node);\n          writeSpace();\n        }\n        emit(node.name);\n        if (node.name && node.namedBindings) {\n          emitTokenWithComment(27, node.name.end, writePunctuation, node);\n          writeSpace();\n        }\n        emit(node.namedBindings);\n      }\n      function emitNamespaceImport(node) {\n        const asPos = emitTokenWithComment(41, node.pos, writePunctuation, node);\n        writeSpace();\n        emitTokenWithComment(128, asPos, writeKeyword, node);\n        writeSpace();\n        emit(node.name);\n      }\n      function emitNamedImports(node) {\n        emitNamedImportsOrExports(node);\n      }\n      function emitImportSpecifier(node) {\n        emitImportOrExportSpecifier(node);\n      }\n      function emitExportAssignment(node) {\n        const nextPos = emitTokenWithComment(93, node.pos, writeKeyword, node);\n        writeSpace();\n        if (node.isExportEquals) {\n          emitTokenWithComment(63, nextPos, writeOperator, node);\n        } else {\n          emitTokenWithComment(88, nextPos, writeKeyword, node);\n        }\n        writeSpace();\n        emitExpression(node.expression, node.isExportEquals ? parenthesizer.getParenthesizeRightSideOfBinaryForOperator(\n          63\n          /* EqualsToken */\n        ) : parenthesizer.parenthesizeExpressionOfExportDefault);\n        writeTrailingSemicolon();\n      }\n      function emitExportDeclaration(node) {\n        emitDecoratorsAndModifiers(\n          node,\n          node.modifiers,\n          /*allowDecorators*/\n          false\n        );\n        let nextPos = emitTokenWithComment(93, node.pos, writeKeyword, node);\n        writeSpace();\n        if (node.isTypeOnly) {\n          nextPos = emitTokenWithComment(154, nextPos, writeKeyword, node);\n          writeSpace();\n        }\n        if (node.exportClause) {\n          emit(node.exportClause);\n        } else {\n          nextPos = emitTokenWithComment(41, nextPos, writePunctuation, node);\n        }\n        if (node.moduleSpecifier) {\n          writeSpace();\n          const fromPos = node.exportClause ? node.exportClause.end : nextPos;\n          emitTokenWithComment(158, fromPos, writeKeyword, node);\n          writeSpace();\n          emitExpression(node.moduleSpecifier);\n        }\n        if (node.assertClause) {\n          emitWithLeadingSpace(node.assertClause);\n        }\n        writeTrailingSemicolon();\n      }\n      function emitAssertClause(node) {\n        emitTokenWithComment(130, node.pos, writeKeyword, node);\n        writeSpace();\n        const elements = node.elements;\n        emitList(\n          node,\n          elements,\n          526226\n          /* ImportClauseEntries */\n        );\n      }\n      function emitAssertEntry(node) {\n        emit(node.name);\n        writePunctuation(\":\");\n        writeSpace();\n        const value = node.value;\n        if ((getEmitFlags(value) & 1024) === 0) {\n          const commentRange = getCommentRange(value);\n          emitTrailingCommentsOfPosition(commentRange.pos);\n        }\n        emit(value);\n      }\n      function emitNamespaceExportDeclaration(node) {\n        let nextPos = emitTokenWithComment(93, node.pos, writeKeyword, node);\n        writeSpace();\n        nextPos = emitTokenWithComment(128, nextPos, writeKeyword, node);\n        writeSpace();\n        nextPos = emitTokenWithComment(143, nextPos, writeKeyword, node);\n        writeSpace();\n        emit(node.name);\n        writeTrailingSemicolon();\n      }\n      function emitNamespaceExport(node) {\n        const asPos = emitTokenWithComment(41, node.pos, writePunctuation, node);\n        writeSpace();\n        emitTokenWithComment(128, asPos, writeKeyword, node);\n        writeSpace();\n        emit(node.name);\n      }\n      function emitNamedExports(node) {\n        emitNamedImportsOrExports(node);\n      }\n      function emitExportSpecifier(node) {\n        emitImportOrExportSpecifier(node);\n      }\n      function emitNamedImportsOrExports(node) {\n        writePunctuation(\"{\");\n        emitList(\n          node,\n          node.elements,\n          525136\n          /* NamedImportsOrExportsElements */\n        );\n        writePunctuation(\"}\");\n      }\n      function emitImportOrExportSpecifier(node) {\n        if (node.isTypeOnly) {\n          writeKeyword(\"type\");\n          writeSpace();\n        }\n        if (node.propertyName) {\n          emit(node.propertyName);\n          writeSpace();\n          emitTokenWithComment(128, node.propertyName.end, writeKeyword, node);\n          writeSpace();\n        }\n        emit(node.name);\n      }\n      function emitExternalModuleReference(node) {\n        writeKeyword(\"require\");\n        writePunctuation(\"(\");\n        emitExpression(node.expression);\n        writePunctuation(\")\");\n      }\n      function emitJsxElement(node) {\n        emit(node.openingElement);\n        emitList(\n          node,\n          node.children,\n          262144\n          /* JsxElementOrFragmentChildren */\n        );\n        emit(node.closingElement);\n      }\n      function emitJsxSelfClosingElement(node) {\n        writePunctuation(\"<\");\n        emitJsxTagName(node.tagName);\n        emitTypeArguments(node, node.typeArguments);\n        writeSpace();\n        emit(node.attributes);\n        writePunctuation(\"/>\");\n      }\n      function emitJsxFragment(node) {\n        emit(node.openingFragment);\n        emitList(\n          node,\n          node.children,\n          262144\n          /* JsxElementOrFragmentChildren */\n        );\n        emit(node.closingFragment);\n      }\n      function emitJsxOpeningElementOrFragment(node) {\n        writePunctuation(\"<\");\n        if (isJsxOpeningElement(node)) {\n          const indented = writeLineSeparatorsAndIndentBefore(node.tagName, node);\n          emitJsxTagName(node.tagName);\n          emitTypeArguments(node, node.typeArguments);\n          if (node.attributes.properties && node.attributes.properties.length > 0) {\n            writeSpace();\n          }\n          emit(node.attributes);\n          writeLineSeparatorsAfter(node.attributes, node);\n          decreaseIndentIf(indented);\n        }\n        writePunctuation(\">\");\n      }\n      function emitJsxText(node) {\n        writer.writeLiteral(node.text);\n      }\n      function emitJsxClosingElementOrFragment(node) {\n        writePunctuation(\"</\");\n        if (isJsxClosingElement(node)) {\n          emitJsxTagName(node.tagName);\n        }\n        writePunctuation(\">\");\n      }\n      function emitJsxAttributes(node) {\n        emitList(\n          node,\n          node.properties,\n          262656\n          /* JsxElementAttributes */\n        );\n      }\n      function emitJsxAttribute(node) {\n        emit(node.name);\n        emitNodeWithPrefix(\"=\", writePunctuation, node.initializer, emitJsxAttributeValue);\n      }\n      function emitJsxSpreadAttribute(node) {\n        writePunctuation(\"{...\");\n        emitExpression(node.expression);\n        writePunctuation(\"}\");\n      }\n      function hasTrailingCommentsAtPosition(pos) {\n        let result = false;\n        forEachTrailingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || \"\", pos + 1, () => result = true);\n        return result;\n      }\n      function hasLeadingCommentsAtPosition(pos) {\n        let result = false;\n        forEachLeadingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || \"\", pos + 1, () => result = true);\n        return result;\n      }\n      function hasCommentsAtPosition(pos) {\n        return hasTrailingCommentsAtPosition(pos) || hasLeadingCommentsAtPosition(pos);\n      }\n      function emitJsxExpression(node) {\n        var _a22;\n        if (node.expression || !commentsDisabled && !nodeIsSynthesized(node) && hasCommentsAtPosition(node.pos)) {\n          const isMultiline = currentSourceFile && !nodeIsSynthesized(node) && getLineAndCharacterOfPosition(currentSourceFile, node.pos).line !== getLineAndCharacterOfPosition(currentSourceFile, node.end).line;\n          if (isMultiline) {\n            writer.increaseIndent();\n          }\n          const end = emitTokenWithComment(18, node.pos, writePunctuation, node);\n          emit(node.dotDotDotToken);\n          emitExpression(node.expression);\n          emitTokenWithComment(19, ((_a22 = node.expression) == null ? void 0 : _a22.end) || end, writePunctuation, node);\n          if (isMultiline) {\n            writer.decreaseIndent();\n          }\n        }\n      }\n      function emitJsxTagName(node) {\n        if (node.kind === 79) {\n          emitExpression(node);\n        } else {\n          emit(node);\n        }\n      }\n      function emitCaseClause(node) {\n        emitTokenWithComment(82, node.pos, writeKeyword, node);\n        writeSpace();\n        emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);\n        emitCaseOrDefaultClauseRest(node, node.statements, node.expression.end);\n      }\n      function emitDefaultClause(node) {\n        const pos = emitTokenWithComment(88, node.pos, writeKeyword, node);\n        emitCaseOrDefaultClauseRest(node, node.statements, pos);\n      }\n      function emitCaseOrDefaultClauseRest(parentNode, statements, colonPos) {\n        const emitAsSingleStatement = statements.length === 1 && // treat synthesized nodes as located on the same line for emit purposes\n        (!currentSourceFile || nodeIsSynthesized(parentNode) || nodeIsSynthesized(statements[0]) || rangeStartPositionsAreOnSameLine(parentNode, statements[0], currentSourceFile));\n        let format = 163969;\n        if (emitAsSingleStatement) {\n          writeToken(58, colonPos, writePunctuation, parentNode);\n          writeSpace();\n          format &= ~(1 | 128);\n        } else {\n          emitTokenWithComment(58, colonPos, writePunctuation, parentNode);\n        }\n        emitList(parentNode, statements, format);\n      }\n      function emitHeritageClause(node) {\n        writeSpace();\n        writeTokenText(node.token, writeKeyword);\n        writeSpace();\n        emitList(\n          node,\n          node.types,\n          528\n          /* HeritageClauseTypes */\n        );\n      }\n      function emitCatchClause(node) {\n        const openParenPos = emitTokenWithComment(83, node.pos, writeKeyword, node);\n        writeSpace();\n        if (node.variableDeclaration) {\n          emitTokenWithComment(20, openParenPos, writePunctuation, node);\n          emit(node.variableDeclaration);\n          emitTokenWithComment(21, node.variableDeclaration.end, writePunctuation, node);\n          writeSpace();\n        }\n        emit(node.block);\n      }\n      function emitPropertyAssignment(node) {\n        emit(node.name);\n        writePunctuation(\":\");\n        writeSpace();\n        const initializer = node.initializer;\n        if ((getEmitFlags(initializer) & 1024) === 0) {\n          const commentRange = getCommentRange(initializer);\n          emitTrailingCommentsOfPosition(commentRange.pos);\n        }\n        emitExpression(initializer, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitShorthandPropertyAssignment(node) {\n        emit(node.name);\n        if (node.objectAssignmentInitializer) {\n          writeSpace();\n          writePunctuation(\"=\");\n          writeSpace();\n          emitExpression(node.objectAssignmentInitializer, parenthesizer.parenthesizeExpressionForDisallowedComma);\n        }\n      }\n      function emitSpreadAssignment(node) {\n        if (node.expression) {\n          emitTokenWithComment(25, node.pos, writePunctuation, node);\n          emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);\n        }\n      }\n      function emitEnumMember(node) {\n        emit(node.name);\n        emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n      }\n      function emitJSDoc(node) {\n        write(\"/**\");\n        if (node.comment) {\n          const text = getTextOfJSDocComment(node.comment);\n          if (text) {\n            const lines = text.split(/\\r\\n?|\\n/g);\n            for (const line of lines) {\n              writeLine();\n              writeSpace();\n              writePunctuation(\"*\");\n              writeSpace();\n              write(line);\n            }\n          }\n        }\n        if (node.tags) {\n          if (node.tags.length === 1 && node.tags[0].kind === 347 && !node.comment) {\n            writeSpace();\n            emit(node.tags[0]);\n          } else {\n            emitList(\n              node,\n              node.tags,\n              33\n              /* JSDocComment */\n            );\n          }\n        }\n        writeSpace();\n        write(\"*/\");\n      }\n      function emitJSDocSimpleTypedTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        emitJSDocTypeExpression(tag.typeExpression);\n        emitJSDocComment(tag.comment);\n      }\n      function emitJSDocSeeTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        emit(tag.name);\n        emitJSDocComment(tag.comment);\n      }\n      function emitJSDocNameReference(node) {\n        writeSpace();\n        writePunctuation(\"{\");\n        emit(node.name);\n        writePunctuation(\"}\");\n      }\n      function emitJSDocHeritageTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        writeSpace();\n        writePunctuation(\"{\");\n        emit(tag.class);\n        writePunctuation(\"}\");\n        emitJSDocComment(tag.comment);\n      }\n      function emitJSDocTemplateTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        emitJSDocTypeExpression(tag.constraint);\n        writeSpace();\n        emitList(\n          tag,\n          tag.typeParameters,\n          528\n          /* CommaListElements */\n        );\n        emitJSDocComment(tag.comment);\n      }\n      function emitJSDocTypedefTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        if (tag.typeExpression) {\n          if (tag.typeExpression.kind === 312) {\n            emitJSDocTypeExpression(tag.typeExpression);\n          } else {\n            writeSpace();\n            writePunctuation(\"{\");\n            write(\"Object\");\n            if (tag.typeExpression.isArrayType) {\n              writePunctuation(\"[\");\n              writePunctuation(\"]\");\n            }\n            writePunctuation(\"}\");\n          }\n        }\n        if (tag.fullName) {\n          writeSpace();\n          emit(tag.fullName);\n        }\n        emitJSDocComment(tag.comment);\n        if (tag.typeExpression && tag.typeExpression.kind === 325) {\n          emitJSDocTypeLiteral(tag.typeExpression);\n        }\n      }\n      function emitJSDocCallbackTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        if (tag.name) {\n          writeSpace();\n          emit(tag.name);\n        }\n        emitJSDocComment(tag.comment);\n        emitJSDocSignature(tag.typeExpression);\n      }\n      function emitJSDocOverloadTag(tag) {\n        emitJSDocComment(tag.comment);\n        emitJSDocSignature(tag.typeExpression);\n      }\n      function emitJSDocSimpleTag(tag) {\n        emitJSDocTagName(tag.tagName);\n        emitJSDocComment(tag.comment);\n      }\n      function emitJSDocTypeLiteral(lit) {\n        emitList(\n          lit,\n          factory.createNodeArray(lit.jsDocPropertyTags),\n          33\n          /* JSDocComment */\n        );\n      }\n      function emitJSDocSignature(sig) {\n        if (sig.typeParameters) {\n          emitList(\n            sig,\n            factory.createNodeArray(sig.typeParameters),\n            33\n            /* JSDocComment */\n          );\n        }\n        if (sig.parameters) {\n          emitList(\n            sig,\n            factory.createNodeArray(sig.parameters),\n            33\n            /* JSDocComment */\n          );\n        }\n        if (sig.type) {\n          writeLine();\n          writeSpace();\n          writePunctuation(\"*\");\n          writeSpace();\n          emit(sig.type);\n        }\n      }\n      function emitJSDocPropertyLikeTag(param) {\n        emitJSDocTagName(param.tagName);\n        emitJSDocTypeExpression(param.typeExpression);\n        writeSpace();\n        if (param.isBracketed) {\n          writePunctuation(\"[\");\n        }\n        emit(param.name);\n        if (param.isBracketed) {\n          writePunctuation(\"]\");\n        }\n        emitJSDocComment(param.comment);\n      }\n      function emitJSDocTagName(tagName) {\n        writePunctuation(\"@\");\n        emit(tagName);\n      }\n      function emitJSDocComment(comment) {\n        const text = getTextOfJSDocComment(comment);\n        if (text) {\n          writeSpace();\n          write(text);\n        }\n      }\n      function emitJSDocTypeExpression(typeExpression) {\n        if (typeExpression) {\n          writeSpace();\n          writePunctuation(\"{\");\n          emit(typeExpression.type);\n          writePunctuation(\"}\");\n        }\n      }\n      function emitSourceFile(node) {\n        writeLine();\n        const statements = node.statements;\n        const shouldEmitDetachedComment = statements.length === 0 || !isPrologueDirective(statements[0]) || nodeIsSynthesized(statements[0]);\n        if (shouldEmitDetachedComment) {\n          emitBodyWithDetachedComments(node, statements, emitSourceFileWorker);\n          return;\n        }\n        emitSourceFileWorker(node);\n      }\n      function emitSyntheticTripleSlashReferencesIfNeeded(node) {\n        emitTripleSlashDirectives(!!node.hasNoDefaultLib, node.syntheticFileReferences || [], node.syntheticTypeReferences || [], node.syntheticLibReferences || []);\n        for (const prepend of node.prepends) {\n          if (isUnparsedSource(prepend) && prepend.syntheticReferences) {\n            for (const ref of prepend.syntheticReferences) {\n              emit(ref);\n              writeLine();\n            }\n          }\n        }\n      }\n      function emitTripleSlashDirectivesIfNeeded(node) {\n        if (node.isDeclarationFile)\n          emitTripleSlashDirectives(node.hasNoDefaultLib, node.referencedFiles, node.typeReferenceDirectives, node.libReferenceDirectives);\n      }\n      function emitTripleSlashDirectives(hasNoDefaultLib, files, types, libs2) {\n        if (hasNoDefaultLib) {\n          const pos = writer.getTextPos();\n          writeComment(`/// <reference no-default-lib=\"true\"/>`);\n          if (bundleFileInfo)\n            bundleFileInfo.sections.push({\n              pos,\n              end: writer.getTextPos(),\n              kind: \"no-default-lib\"\n              /* NoDefaultLib */\n            });\n          writeLine();\n        }\n        if (currentSourceFile && currentSourceFile.moduleName) {\n          writeComment(`/// <amd-module name=\"${currentSourceFile.moduleName}\" />`);\n          writeLine();\n        }\n        if (currentSourceFile && currentSourceFile.amdDependencies) {\n          for (const dep of currentSourceFile.amdDependencies) {\n            if (dep.name) {\n              writeComment(`/// <amd-dependency name=\"${dep.name}\" path=\"${dep.path}\" />`);\n            } else {\n              writeComment(`/// <amd-dependency path=\"${dep.path}\" />`);\n            }\n            writeLine();\n          }\n        }\n        for (const directive of files) {\n          const pos = writer.getTextPos();\n          writeComment(`/// <reference path=\"${directive.fileName}\" />`);\n          if (bundleFileInfo)\n            bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"reference\", data: directive.fileName });\n          writeLine();\n        }\n        for (const directive of types) {\n          const pos = writer.getTextPos();\n          const resolutionMode = directive.resolutionMode && directive.resolutionMode !== (currentSourceFile == null ? void 0 : currentSourceFile.impliedNodeFormat) ? `resolution-mode=\"${directive.resolutionMode === 99 ? \"import\" : \"require\"}\"` : \"\";\n          writeComment(`/// <reference types=\"${directive.fileName}\" ${resolutionMode}/>`);\n          if (bundleFileInfo)\n            bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: !directive.resolutionMode ? \"type\" : directive.resolutionMode === 99 ? \"type-import\" : \"type-require\", data: directive.fileName });\n          writeLine();\n        }\n        for (const directive of libs2) {\n          const pos = writer.getTextPos();\n          writeComment(`/// <reference lib=\"${directive.fileName}\" />`);\n          if (bundleFileInfo)\n            bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"lib\", data: directive.fileName });\n          writeLine();\n        }\n      }\n      function emitSourceFileWorker(node) {\n        const statements = node.statements;\n        pushNameGenerationScope(node);\n        forEach(node.statements, generateNames);\n        emitHelpers(node);\n        const index = findIndex(statements, (statement) => !isPrologueDirective(statement));\n        emitTripleSlashDirectivesIfNeeded(node);\n        emitList(\n          node,\n          statements,\n          1,\n          /*parenthesizerRule*/\n          void 0,\n          index === -1 ? statements.length : index\n        );\n        popNameGenerationScope(node);\n      }\n      function emitPartiallyEmittedExpression(node) {\n        const emitFlags = getEmitFlags(node);\n        if (!(emitFlags & 1024) && node.pos !== node.expression.pos) {\n          emitTrailingCommentsOfPosition(node.expression.pos);\n        }\n        emitExpression(node.expression);\n        if (!(emitFlags & 2048) && node.end !== node.expression.end) {\n          emitLeadingCommentsOfPosition(node.expression.end);\n        }\n      }\n      function emitCommaList(node) {\n        emitExpressionList(\n          node,\n          node.elements,\n          528,\n          /*parenthesizerRule*/\n          void 0\n        );\n      }\n      function emitPrologueDirectives(statements, sourceFile, seenPrologueDirectives, recordBundleFileSection) {\n        let needsToSetSourceFile = !!sourceFile;\n        for (let i = 0; i < statements.length; i++) {\n          const statement = statements[i];\n          if (isPrologueDirective(statement)) {\n            const shouldEmitPrologueDirective = seenPrologueDirectives ? !seenPrologueDirectives.has(statement.expression.text) : true;\n            if (shouldEmitPrologueDirective) {\n              if (needsToSetSourceFile) {\n                needsToSetSourceFile = false;\n                setSourceFile(sourceFile);\n              }\n              writeLine();\n              const pos = writer.getTextPos();\n              emit(statement);\n              if (recordBundleFileSection && bundleFileInfo)\n                bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"prologue\", data: statement.expression.text });\n              if (seenPrologueDirectives) {\n                seenPrologueDirectives.add(statement.expression.text);\n              }\n            }\n          } else {\n            return i;\n          }\n        }\n        return statements.length;\n      }\n      function emitUnparsedPrologues(prologues, seenPrologueDirectives) {\n        for (const prologue of prologues) {\n          if (!seenPrologueDirectives.has(prologue.data)) {\n            writeLine();\n            const pos = writer.getTextPos();\n            emit(prologue);\n            if (bundleFileInfo)\n              bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"prologue\", data: prologue.data });\n            if (seenPrologueDirectives) {\n              seenPrologueDirectives.add(prologue.data);\n            }\n          }\n        }\n      }\n      function emitPrologueDirectivesIfNeeded(sourceFileOrBundle) {\n        if (isSourceFile(sourceFileOrBundle)) {\n          emitPrologueDirectives(sourceFileOrBundle.statements, sourceFileOrBundle);\n        } else {\n          const seenPrologueDirectives = /* @__PURE__ */ new Set();\n          for (const prepend of sourceFileOrBundle.prepends) {\n            emitUnparsedPrologues(prepend.prologues, seenPrologueDirectives);\n          }\n          for (const sourceFile of sourceFileOrBundle.sourceFiles) {\n            emitPrologueDirectives(\n              sourceFile.statements,\n              sourceFile,\n              seenPrologueDirectives,\n              /*recordBundleFileSection*/\n              true\n            );\n          }\n          setSourceFile(void 0);\n        }\n      }\n      function getPrologueDirectivesFromBundledSourceFiles(bundle) {\n        const seenPrologueDirectives = /* @__PURE__ */ new Set();\n        let prologues;\n        for (let index = 0; index < bundle.sourceFiles.length; index++) {\n          const sourceFile = bundle.sourceFiles[index];\n          let directives;\n          let end = 0;\n          for (const statement of sourceFile.statements) {\n            if (!isPrologueDirective(statement))\n              break;\n            if (seenPrologueDirectives.has(statement.expression.text))\n              continue;\n            seenPrologueDirectives.add(statement.expression.text);\n            (directives || (directives = [])).push({\n              pos: statement.pos,\n              end: statement.end,\n              expression: {\n                pos: statement.expression.pos,\n                end: statement.expression.end,\n                text: statement.expression.text\n              }\n            });\n            end = end < statement.end ? statement.end : end;\n          }\n          if (directives)\n            (prologues || (prologues = [])).push({ file: index, text: sourceFile.text.substring(0, end), directives });\n        }\n        return prologues;\n      }\n      function emitShebangIfNeeded(sourceFileOrBundle) {\n        if (isSourceFile(sourceFileOrBundle) || isUnparsedSource(sourceFileOrBundle)) {\n          const shebang = getShebang(sourceFileOrBundle.text);\n          if (shebang) {\n            writeComment(shebang);\n            writeLine();\n            return true;\n          }\n        } else {\n          for (const prepend of sourceFileOrBundle.prepends) {\n            Debug2.assertNode(prepend, isUnparsedSource);\n            if (emitShebangIfNeeded(prepend)) {\n              return true;\n            }\n          }\n          for (const sourceFile of sourceFileOrBundle.sourceFiles) {\n            if (emitShebangIfNeeded(sourceFile)) {\n              return true;\n            }\n          }\n        }\n      }\n      function emitNodeWithWriter(node, writer2) {\n        if (!node)\n          return;\n        const savedWrite = write;\n        write = writer2;\n        emit(node);\n        write = savedWrite;\n      }\n      function emitDecoratorsAndModifiers(node, modifiers, allowDecorators) {\n        if (modifiers == null ? void 0 : modifiers.length) {\n          if (every(modifiers, isModifier)) {\n            return emitModifierList(node, modifiers);\n          }\n          if (every(modifiers, isDecorator)) {\n            if (allowDecorators) {\n              return emitDecoratorList(node, modifiers);\n            }\n            return node.pos;\n          }\n          onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(modifiers);\n          let lastMode;\n          let mode;\n          let start = 0;\n          let pos = 0;\n          let lastModifier;\n          while (start < modifiers.length) {\n            while (pos < modifiers.length) {\n              lastModifier = modifiers[pos];\n              mode = isDecorator(lastModifier) ? \"decorators\" : \"modifiers\";\n              if (lastMode === void 0) {\n                lastMode = mode;\n              } else if (mode !== lastMode) {\n                break;\n              }\n              pos++;\n            }\n            const textRange = { pos: -1, end: -1 };\n            if (start === 0)\n              textRange.pos = modifiers.pos;\n            if (pos === modifiers.length - 1)\n              textRange.end = modifiers.end;\n            if (lastMode === \"modifiers\" || allowDecorators) {\n              emitNodeListItems(\n                emit,\n                node,\n                modifiers,\n                lastMode === \"modifiers\" ? 2359808 : 2146305,\n                /*parenthesizerRule*/\n                void 0,\n                start,\n                pos - start,\n                /*hasTrailingComma*/\n                false,\n                textRange\n              );\n            }\n            start = pos;\n            lastMode = mode;\n            pos++;\n          }\n          onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(modifiers);\n          if (lastModifier && !positionIsSynthesized(lastModifier.end)) {\n            return lastModifier.end;\n          }\n        }\n        return node.pos;\n      }\n      function emitModifierList(node, modifiers) {\n        emitList(\n          node,\n          modifiers,\n          2359808\n          /* Modifiers */\n        );\n        const lastModifier = lastOrUndefined(modifiers);\n        return lastModifier && !positionIsSynthesized(lastModifier.end) ? lastModifier.end : node.pos;\n      }\n      function emitTypeAnnotation(node) {\n        if (node) {\n          writePunctuation(\":\");\n          writeSpace();\n          emit(node);\n        }\n      }\n      function emitInitializer(node, equalCommentStartPos, container, parenthesizerRule) {\n        if (node) {\n          writeSpace();\n          emitTokenWithComment(63, equalCommentStartPos, writeOperator, container);\n          writeSpace();\n          emitExpression(node, parenthesizerRule);\n        }\n      }\n      function emitNodeWithPrefix(prefix, prefixWriter, node, emit2) {\n        if (node) {\n          prefixWriter(prefix);\n          emit2(node);\n        }\n      }\n      function emitWithLeadingSpace(node) {\n        if (node) {\n          writeSpace();\n          emit(node);\n        }\n      }\n      function emitExpressionWithLeadingSpace(node, parenthesizerRule) {\n        if (node) {\n          writeSpace();\n          emitExpression(node, parenthesizerRule);\n        }\n      }\n      function emitWithTrailingSpace(node) {\n        if (node) {\n          emit(node);\n          writeSpace();\n        }\n      }\n      function emitEmbeddedStatement(parent2, node) {\n        if (isBlock(node) || getEmitFlags(parent2) & 1) {\n          writeSpace();\n          emit(node);\n        } else {\n          writeLine();\n          increaseIndent();\n          if (isEmptyStatement(node)) {\n            pipelineEmit(5, node);\n          } else {\n            emit(node);\n          }\n          decreaseIndent();\n        }\n      }\n      function emitDecoratorList(parentNode, decorators) {\n        emitList(\n          parentNode,\n          decorators,\n          2146305\n          /* Decorators */\n        );\n        const lastDecorator = lastOrUndefined(decorators);\n        return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? lastDecorator.end : parentNode.pos;\n      }\n      function emitTypeArguments(parentNode, typeArguments) {\n        emitList(parentNode, typeArguments, 53776, typeArgumentParenthesizerRuleSelector);\n      }\n      function emitTypeParameters(parentNode, typeParameters) {\n        if (isFunctionLike(parentNode) && parentNode.typeArguments) {\n          return emitTypeArguments(parentNode, parentNode.typeArguments);\n        }\n        emitList(\n          parentNode,\n          typeParameters,\n          53776\n          /* TypeParameters */\n        );\n      }\n      function emitParameters(parentNode, parameters) {\n        emitList(\n          parentNode,\n          parameters,\n          2576\n          /* Parameters */\n        );\n      }\n      function canEmitSimpleArrowHead(parentNode, parameters) {\n        const parameter = singleOrUndefined(parameters);\n        return parameter && parameter.pos === parentNode.pos && isArrowFunction(parentNode) && !parentNode.type && !some(parentNode.modifiers) && !some(parentNode.typeParameters) && !some(parameter.modifiers) && !parameter.dotDotDotToken && !parameter.questionToken && !parameter.type && !parameter.initializer && isIdentifier(parameter.name);\n      }\n      function emitParametersForArrow(parentNode, parameters) {\n        if (canEmitSimpleArrowHead(parentNode, parameters)) {\n          emitList(\n            parentNode,\n            parameters,\n            2576 & ~2048\n            /* Parenthesis */\n          );\n        } else {\n          emitParameters(parentNode, parameters);\n        }\n      }\n      function emitParametersForIndexSignature(parentNode, parameters) {\n        emitList(\n          parentNode,\n          parameters,\n          8848\n          /* IndexSignatureParameters */\n        );\n      }\n      function writeDelimiter(format) {\n        switch (format & 60) {\n          case 0:\n            break;\n          case 16:\n            writePunctuation(\",\");\n            break;\n          case 4:\n            writeSpace();\n            writePunctuation(\"|\");\n            break;\n          case 32:\n            writeSpace();\n            writePunctuation(\"*\");\n            writeSpace();\n            break;\n          case 8:\n            writeSpace();\n            writePunctuation(\"&\");\n            break;\n        }\n      }\n      function emitList(parentNode, children, format, parenthesizerRule, start, count) {\n        emitNodeList(\n          emit,\n          parentNode,\n          children,\n          format | (parentNode && getEmitFlags(parentNode) & 2 ? 65536 : 0),\n          parenthesizerRule,\n          start,\n          count\n        );\n      }\n      function emitExpressionList(parentNode, children, format, parenthesizerRule, start, count) {\n        emitNodeList(emitExpression, parentNode, children, format, parenthesizerRule, start, count);\n      }\n      function emitNodeList(emit2, parentNode, children, format, parenthesizerRule, start = 0, count = children ? children.length - start : 0) {\n        const isUndefined = children === void 0;\n        if (isUndefined && format & 16384) {\n          return;\n        }\n        const isEmpty = children === void 0 || start >= children.length || count === 0;\n        if (isEmpty && format & 32768) {\n          onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children);\n          onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children);\n          return;\n        }\n        if (format & 15360) {\n          writePunctuation(getOpeningBracket(format));\n          if (isEmpty && children) {\n            emitTrailingCommentsOfPosition(\n              children.pos,\n              /*prefixSpace*/\n              true\n            );\n          }\n        }\n        onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children);\n        if (isEmpty) {\n          if (format & 1 && !(preserveSourceNewlines && (!parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile)))) {\n            writeLine();\n          } else if (format & 256 && !(format & 524288)) {\n            writeSpace();\n          }\n        } else {\n          emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, children.hasTrailingComma, children);\n        }\n        onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children);\n        if (format & 15360) {\n          if (isEmpty && children) {\n            emitLeadingCommentsOfPosition(children.end);\n          }\n          writePunctuation(getClosingBracket(format));\n        }\n      }\n      function emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, hasTrailingComma, childrenTextRange) {\n        const mayEmitInterveningComments = (format & 262144) === 0;\n        let shouldEmitInterveningComments = mayEmitInterveningComments;\n        const leadingLineTerminatorCount = getLeadingLineTerminatorCount(parentNode, children[start], format);\n        if (leadingLineTerminatorCount) {\n          writeLine(leadingLineTerminatorCount);\n          shouldEmitInterveningComments = false;\n        } else if (format & 256) {\n          writeSpace();\n        }\n        if (format & 128) {\n          increaseIndent();\n        }\n        const emitListItem = getEmitListItem(emit2, parenthesizerRule);\n        let previousSibling;\n        let previousSourceFileTextKind;\n        let shouldDecreaseIndentAfterEmit = false;\n        for (let i = 0; i < count; i++) {\n          const child = children[start + i];\n          if (format & 32) {\n            writeLine();\n            writeDelimiter(format);\n          } else if (previousSibling) {\n            if (format & 60 && previousSibling.end !== (parentNode ? parentNode.end : -1)) {\n              const previousSiblingEmitFlags = getEmitFlags(previousSibling);\n              if (!(previousSiblingEmitFlags & 2048)) {\n                emitLeadingCommentsOfPosition(previousSibling.end);\n              }\n            }\n            writeDelimiter(format);\n            recordBundleFileInternalSectionEnd(previousSourceFileTextKind);\n            const separatingLineTerminatorCount = getSeparatingLineTerminatorCount(previousSibling, child, format);\n            if (separatingLineTerminatorCount > 0) {\n              if ((format & (3 | 128)) === 0) {\n                increaseIndent();\n                shouldDecreaseIndentAfterEmit = true;\n              }\n              writeLine(separatingLineTerminatorCount);\n              shouldEmitInterveningComments = false;\n            } else if (previousSibling && format & 512) {\n              writeSpace();\n            }\n          }\n          previousSourceFileTextKind = recordBundleFileInternalSectionStart(child);\n          if (shouldEmitInterveningComments) {\n            const commentRange = getCommentRange(child);\n            emitTrailingCommentsOfPosition(commentRange.pos);\n          } else {\n            shouldEmitInterveningComments = mayEmitInterveningComments;\n          }\n          nextListElementPos = child.pos;\n          emitListItem(child, emit2, parenthesizerRule, i);\n          if (shouldDecreaseIndentAfterEmit) {\n            decreaseIndent();\n            shouldDecreaseIndentAfterEmit = false;\n          }\n          previousSibling = child;\n        }\n        const emitFlags = previousSibling ? getEmitFlags(previousSibling) : 0;\n        const skipTrailingComments = commentsDisabled || !!(emitFlags & 2048);\n        const emitTrailingComma = hasTrailingComma && format & 64 && format & 16;\n        if (emitTrailingComma) {\n          if (previousSibling && !skipTrailingComments) {\n            emitTokenWithComment(27, previousSibling.end, writePunctuation, previousSibling);\n          } else {\n            writePunctuation(\",\");\n          }\n        }\n        if (previousSibling && (parentNode ? parentNode.end : -1) !== previousSibling.end && format & 60 && !skipTrailingComments) {\n          emitLeadingCommentsOfPosition(emitTrailingComma && (childrenTextRange == null ? void 0 : childrenTextRange.end) ? childrenTextRange.end : previousSibling.end);\n        }\n        if (format & 128) {\n          decreaseIndent();\n        }\n        recordBundleFileInternalSectionEnd(previousSourceFileTextKind);\n        const closingLineTerminatorCount = getClosingLineTerminatorCount(parentNode, children[start + count - 1], format, childrenTextRange);\n        if (closingLineTerminatorCount) {\n          writeLine(closingLineTerminatorCount);\n        } else if (format & (2097152 | 256)) {\n          writeSpace();\n        }\n      }\n      function writeLiteral(s) {\n        writer.writeLiteral(s);\n      }\n      function writeStringLiteral(s) {\n        writer.writeStringLiteral(s);\n      }\n      function writeBase(s) {\n        writer.write(s);\n      }\n      function writeSymbol(s, sym) {\n        writer.writeSymbol(s, sym);\n      }\n      function writePunctuation(s) {\n        writer.writePunctuation(s);\n      }\n      function writeTrailingSemicolon() {\n        writer.writeTrailingSemicolon(\";\");\n      }\n      function writeKeyword(s) {\n        writer.writeKeyword(s);\n      }\n      function writeOperator(s) {\n        writer.writeOperator(s);\n      }\n      function writeParameter(s) {\n        writer.writeParameter(s);\n      }\n      function writeComment(s) {\n        writer.writeComment(s);\n      }\n      function writeSpace() {\n        writer.writeSpace(\" \");\n      }\n      function writeProperty(s) {\n        writer.writeProperty(s);\n      }\n      function nonEscapingWrite(s) {\n        if (writer.nonEscapingWrite) {\n          writer.nonEscapingWrite(s);\n        } else {\n          writer.write(s);\n        }\n      }\n      function writeLine(count = 1) {\n        for (let i = 0; i < count; i++) {\n          writer.writeLine(i > 0);\n        }\n      }\n      function increaseIndent() {\n        writer.increaseIndent();\n      }\n      function decreaseIndent() {\n        writer.decreaseIndent();\n      }\n      function writeToken(token, pos, writer2, contextNode) {\n        return !sourceMapsDisabled ? emitTokenWithSourceMap(contextNode, token, writer2, pos, writeTokenText) : writeTokenText(token, writer2, pos);\n      }\n      function writeTokenNode(node, writer2) {\n        if (onBeforeEmitToken) {\n          onBeforeEmitToken(node);\n        }\n        writer2(tokenToString(node.kind));\n        if (onAfterEmitToken) {\n          onAfterEmitToken(node);\n        }\n      }\n      function writeTokenText(token, writer2, pos) {\n        const tokenString = tokenToString(token);\n        writer2(tokenString);\n        return pos < 0 ? pos : pos + tokenString.length;\n      }\n      function writeLineOrSpace(parentNode, prevChildNode, nextChildNode) {\n        if (getEmitFlags(parentNode) & 1) {\n          writeSpace();\n        } else if (preserveSourceNewlines) {\n          const lines = getLinesBetweenNodes(parentNode, prevChildNode, nextChildNode);\n          if (lines) {\n            writeLine(lines);\n          } else {\n            writeSpace();\n          }\n        } else {\n          writeLine();\n        }\n      }\n      function writeLines(text) {\n        const lines = text.split(/\\r\\n?|\\n/g);\n        const indentation = guessIndentation(lines);\n        for (const lineText of lines) {\n          const line = indentation ? lineText.slice(indentation) : lineText;\n          if (line.length) {\n            writeLine();\n            write(line);\n          }\n        }\n      }\n      function writeLinesAndIndent(lineCount, writeSpaceIfNotIndenting) {\n        if (lineCount) {\n          increaseIndent();\n          writeLine(lineCount);\n        } else if (writeSpaceIfNotIndenting) {\n          writeSpace();\n        }\n      }\n      function decreaseIndentIf(value1, value2) {\n        if (value1) {\n          decreaseIndent();\n        }\n        if (value2) {\n          decreaseIndent();\n        }\n      }\n      function getLeadingLineTerminatorCount(parentNode, firstChild, format) {\n        if (format & 2 || preserveSourceNewlines) {\n          if (format & 65536) {\n            return 1;\n          }\n          if (firstChild === void 0) {\n            return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1;\n          }\n          if (firstChild.pos === nextListElementPos) {\n            return 0;\n          }\n          if (firstChild.kind === 11) {\n            return 0;\n          }\n          if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(firstChild) && (!firstChild.parent || getOriginalNode(firstChild.parent) === getOriginalNode(parentNode))) {\n            if (preserveSourceNewlines) {\n              return getEffectiveLines(\n                (includeComments) => getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(\n                  firstChild.pos,\n                  parentNode.pos,\n                  currentSourceFile,\n                  includeComments\n                )\n              );\n            }\n            return rangeStartPositionsAreOnSameLine(parentNode, firstChild, currentSourceFile) ? 0 : 1;\n          }\n          if (synthesizedNodeStartsOnNewLine(firstChild, format)) {\n            return 1;\n          }\n        }\n        return format & 1 ? 1 : 0;\n      }\n      function getSeparatingLineTerminatorCount(previousNode, nextNode, format) {\n        if (format & 2 || preserveSourceNewlines) {\n          if (previousNode === void 0 || nextNode === void 0) {\n            return 0;\n          }\n          if (nextNode.kind === 11) {\n            return 0;\n          } else if (currentSourceFile && !nodeIsSynthesized(previousNode) && !nodeIsSynthesized(nextNode)) {\n            if (preserveSourceNewlines && siblingNodePositionsAreComparable(previousNode, nextNode)) {\n              return getEffectiveLines(\n                (includeComments) => getLinesBetweenRangeEndAndRangeStart(\n                  previousNode,\n                  nextNode,\n                  currentSourceFile,\n                  includeComments\n                )\n              );\n            } else if (!preserveSourceNewlines && originalNodesHaveSameParent(previousNode, nextNode)) {\n              return rangeEndIsOnSameLineAsRangeStart(previousNode, nextNode, currentSourceFile) ? 0 : 1;\n            }\n            return format & 65536 ? 1 : 0;\n          } else if (synthesizedNodeStartsOnNewLine(previousNode, format) || synthesizedNodeStartsOnNewLine(nextNode, format)) {\n            return 1;\n          }\n        } else if (getStartsOnNewLine(nextNode)) {\n          return 1;\n        }\n        return format & 1 ? 1 : 0;\n      }\n      function getClosingLineTerminatorCount(parentNode, lastChild, format, childrenTextRange) {\n        if (format & 2 || preserveSourceNewlines) {\n          if (format & 65536) {\n            return 1;\n          }\n          if (lastChild === void 0) {\n            return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1;\n          }\n          if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(lastChild) && (!lastChild.parent || lastChild.parent === parentNode)) {\n            if (preserveSourceNewlines) {\n              const end = childrenTextRange && !positionIsSynthesized(childrenTextRange.end) ? childrenTextRange.end : lastChild.end;\n              return getEffectiveLines(\n                (includeComments) => getLinesBetweenPositionAndNextNonWhitespaceCharacter(\n                  end,\n                  parentNode.end,\n                  currentSourceFile,\n                  includeComments\n                )\n              );\n            }\n            return rangeEndPositionsAreOnSameLine(parentNode, lastChild, currentSourceFile) ? 0 : 1;\n          }\n          if (synthesizedNodeStartsOnNewLine(lastChild, format)) {\n            return 1;\n          }\n        }\n        if (format & 1 && !(format & 131072)) {\n          return 1;\n        }\n        return 0;\n      }\n      function getEffectiveLines(getLineDifference) {\n        Debug2.assert(!!preserveSourceNewlines);\n        const lines = getLineDifference(\n          /*includeComments*/\n          true\n        );\n        if (lines === 0) {\n          return getLineDifference(\n            /*includeComments*/\n            false\n          );\n        }\n        return lines;\n      }\n      function writeLineSeparatorsAndIndentBefore(node, parent2) {\n        const leadingNewlines = preserveSourceNewlines && getLeadingLineTerminatorCount(\n          parent2,\n          node,\n          0\n          /* None */\n        );\n        if (leadingNewlines) {\n          writeLinesAndIndent(\n            leadingNewlines,\n            /*writeSpaceIfNotIndenting*/\n            false\n          );\n        }\n        return !!leadingNewlines;\n      }\n      function writeLineSeparatorsAfter(node, parent2) {\n        const trailingNewlines = preserveSourceNewlines && getClosingLineTerminatorCount(\n          parent2,\n          node,\n          0,\n          /*childrenTextRange*/\n          void 0\n        );\n        if (trailingNewlines) {\n          writeLine(trailingNewlines);\n        }\n      }\n      function synthesizedNodeStartsOnNewLine(node, format) {\n        if (nodeIsSynthesized(node)) {\n          const startsOnNewLine = getStartsOnNewLine(node);\n          if (startsOnNewLine === void 0) {\n            return (format & 65536) !== 0;\n          }\n          return startsOnNewLine;\n        }\n        return (format & 65536) !== 0;\n      }\n      function getLinesBetweenNodes(parent2, node1, node2) {\n        if (getEmitFlags(parent2) & 262144) {\n          return 0;\n        }\n        parent2 = skipSynthesizedParentheses(parent2);\n        node1 = skipSynthesizedParentheses(node1);\n        node2 = skipSynthesizedParentheses(node2);\n        if (getStartsOnNewLine(node2)) {\n          return 1;\n        }\n        if (currentSourceFile && !nodeIsSynthesized(parent2) && !nodeIsSynthesized(node1) && !nodeIsSynthesized(node2)) {\n          if (preserveSourceNewlines) {\n            return getEffectiveLines(\n              (includeComments) => getLinesBetweenRangeEndAndRangeStart(\n                node1,\n                node2,\n                currentSourceFile,\n                includeComments\n              )\n            );\n          }\n          return rangeEndIsOnSameLineAsRangeStart(node1, node2, currentSourceFile) ? 0 : 1;\n        }\n        return 0;\n      }\n      function isEmptyBlock(block) {\n        return block.statements.length === 0 && (!currentSourceFile || rangeEndIsOnSameLineAsRangeStart(block, block, currentSourceFile));\n      }\n      function skipSynthesizedParentheses(node) {\n        while (node.kind === 214 && nodeIsSynthesized(node)) {\n          node = node.expression;\n        }\n        return node;\n      }\n      function getTextOfNode2(node, includeTrivia) {\n        if (isGeneratedIdentifier(node) || isGeneratedPrivateIdentifier(node)) {\n          return generateName(node);\n        }\n        if (isStringLiteral(node) && node.textSourceNode) {\n          return getTextOfNode2(node.textSourceNode, includeTrivia);\n        }\n        const sourceFile = currentSourceFile;\n        const canUseSourceFile = !!sourceFile && !!node.parent && !nodeIsSynthesized(node);\n        if (isMemberName(node)) {\n          if (!canUseSourceFile || getSourceFileOfNode(node) !== getOriginalNode(sourceFile)) {\n            return idText(node);\n          }\n        } else {\n          Debug2.assertNode(node, isLiteralExpression);\n          if (!canUseSourceFile) {\n            return node.text;\n          }\n        }\n        return getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia);\n      }\n      function getLiteralTextOfNode(node, neverAsciiEscape, jsxAttributeEscape) {\n        if (node.kind === 10 && node.textSourceNode) {\n          const textSourceNode = node.textSourceNode;\n          if (isIdentifier(textSourceNode) || isPrivateIdentifier(textSourceNode) || isNumericLiteral(textSourceNode)) {\n            const text = isNumericLiteral(textSourceNode) ? textSourceNode.text : getTextOfNode2(textSourceNode);\n            return jsxAttributeEscape ? `\"${escapeJsxAttributeString(text)}\"` : neverAsciiEscape || getEmitFlags(node) & 33554432 ? `\"${escapeString(text)}\"` : `\"${escapeNonAsciiString(text)}\"`;\n          } else {\n            return getLiteralTextOfNode(textSourceNode, neverAsciiEscape, jsxAttributeEscape);\n          }\n        }\n        const flags = (neverAsciiEscape ? 1 : 0) | (jsxAttributeEscape ? 2 : 0) | (printerOptions.terminateUnterminatedLiterals ? 4 : 0) | (printerOptions.target && printerOptions.target === 99 ? 8 : 0);\n        return getLiteralText(node, currentSourceFile, flags);\n      }\n      function pushNameGenerationScope(node) {\n        if (node && getEmitFlags(node) & 1048576) {\n          return;\n        }\n        tempFlagsStack.push(tempFlags);\n        tempFlags = 0;\n        formattedNameTempFlagsStack.push(formattedNameTempFlags);\n        formattedNameTempFlags = void 0;\n        reservedNamesStack.push(reservedNames);\n      }\n      function popNameGenerationScope(node) {\n        if (node && getEmitFlags(node) & 1048576) {\n          return;\n        }\n        tempFlags = tempFlagsStack.pop();\n        formattedNameTempFlags = formattedNameTempFlagsStack.pop();\n        reservedNames = reservedNamesStack.pop();\n      }\n      function reserveNameInNestedScopes(name) {\n        if (!reservedNames || reservedNames === lastOrUndefined(reservedNamesStack)) {\n          reservedNames = /* @__PURE__ */ new Set();\n        }\n        reservedNames.add(name);\n      }\n      function pushPrivateNameGenerationScope(newPrivateNameTempFlags, newReservedMemberNames) {\n        privateNameTempFlagsStack.push(privateNameTempFlags);\n        privateNameTempFlags = newPrivateNameTempFlags;\n        reservedPrivateNamesStack.push(reservedNames);\n        reservedPrivateNames = newReservedMemberNames;\n      }\n      function popPrivateNameGenerationScope() {\n        privateNameTempFlags = privateNameTempFlagsStack.pop();\n        reservedPrivateNames = reservedPrivateNamesStack.pop();\n      }\n      function reservePrivateNameInNestedScopes(name) {\n        if (!reservedPrivateNames || reservedPrivateNames === lastOrUndefined(reservedPrivateNamesStack)) {\n          reservedPrivateNames = /* @__PURE__ */ new Set();\n        }\n        reservedPrivateNames.add(name);\n      }\n      function generateNames(node) {\n        if (!node)\n          return;\n        switch (node.kind) {\n          case 238:\n            forEach(node.statements, generateNames);\n            break;\n          case 253:\n          case 251:\n          case 243:\n          case 244:\n            generateNames(node.statement);\n            break;\n          case 242:\n            generateNames(node.thenStatement);\n            generateNames(node.elseStatement);\n            break;\n          case 245:\n          case 247:\n          case 246:\n            generateNames(node.initializer);\n            generateNames(node.statement);\n            break;\n          case 252:\n            generateNames(node.caseBlock);\n            break;\n          case 266:\n            forEach(node.clauses, generateNames);\n            break;\n          case 292:\n          case 293:\n            forEach(node.statements, generateNames);\n            break;\n          case 255:\n            generateNames(node.tryBlock);\n            generateNames(node.catchClause);\n            generateNames(node.finallyBlock);\n            break;\n          case 295:\n            generateNames(node.variableDeclaration);\n            generateNames(node.block);\n            break;\n          case 240:\n            generateNames(node.declarationList);\n            break;\n          case 258:\n            forEach(node.declarations, generateNames);\n            break;\n          case 257:\n          case 166:\n          case 205:\n          case 260:\n            generateNameIfNeeded(node.name);\n            break;\n          case 259:\n            generateNameIfNeeded(node.name);\n            if (getEmitFlags(node) & 1048576) {\n              forEach(node.parameters, generateNames);\n              generateNames(node.body);\n            }\n            break;\n          case 203:\n          case 204:\n            forEach(node.elements, generateNames);\n            break;\n          case 269:\n            generateNames(node.importClause);\n            break;\n          case 270:\n            generateNameIfNeeded(node.name);\n            generateNames(node.namedBindings);\n            break;\n          case 271:\n            generateNameIfNeeded(node.name);\n            break;\n          case 277:\n            generateNameIfNeeded(node.name);\n            break;\n          case 272:\n            forEach(node.elements, generateNames);\n            break;\n          case 273:\n            generateNameIfNeeded(node.propertyName || node.name);\n            break;\n        }\n      }\n      function generateMemberNames(node) {\n        if (!node)\n          return;\n        switch (node.kind) {\n          case 299:\n          case 300:\n          case 169:\n          case 171:\n          case 174:\n          case 175:\n            generateNameIfNeeded(node.name);\n            break;\n        }\n      }\n      function generateNameIfNeeded(name) {\n        if (name) {\n          if (isGeneratedIdentifier(name) || isGeneratedPrivateIdentifier(name)) {\n            generateName(name);\n          } else if (isBindingPattern(name)) {\n            generateNames(name);\n          }\n        }\n      }\n      function generateName(name) {\n        const autoGenerate = name.emitNode.autoGenerate;\n        if ((autoGenerate.flags & 7) === 4) {\n          return generateNameCached(getNodeForGeneratedName(name), isPrivateIdentifier(name), autoGenerate.flags, autoGenerate.prefix, autoGenerate.suffix);\n        } else {\n          const autoGenerateId = autoGenerate.id;\n          return autoGeneratedIdToGeneratedName[autoGenerateId] || (autoGeneratedIdToGeneratedName[autoGenerateId] = makeName(name));\n        }\n      }\n      function generateNameCached(node, privateName, flags, prefix, suffix) {\n        const nodeId = getNodeId(node);\n        const cache = privateName ? nodeIdToGeneratedPrivateName : nodeIdToGeneratedName;\n        return cache[nodeId] || (cache[nodeId] = generateNameForNode(node, privateName, flags != null ? flags : 0, formatGeneratedNamePart(prefix, generateName), formatGeneratedNamePart(suffix)));\n      }\n      function isUniqueName(name, privateName) {\n        return isFileLevelUniqueName2(name, privateName) && !isReservedName(name, privateName) && !generatedNames.has(name);\n      }\n      function isReservedName(name, privateName) {\n        return privateName ? !!(reservedPrivateNames == null ? void 0 : reservedPrivateNames.has(name)) : !!(reservedNames == null ? void 0 : reservedNames.has(name));\n      }\n      function isFileLevelUniqueName2(name, _isPrivate) {\n        return currentSourceFile ? isFileLevelUniqueName(currentSourceFile, name, hasGlobalName) : true;\n      }\n      function isUniqueLocalName(name, container) {\n        for (let node = container; node && isNodeDescendantOf(node, container); node = node.nextContainer) {\n          if (canHaveLocals(node) && node.locals) {\n            const local = node.locals.get(escapeLeadingUnderscores(name));\n            if (local && local.flags & (111551 | 1048576 | 2097152)) {\n              return false;\n            }\n          }\n        }\n        return true;\n      }\n      function getTempFlags(formattedNameKey) {\n        var _a22;\n        switch (formattedNameKey) {\n          case \"\":\n            return tempFlags;\n          case \"#\":\n            return privateNameTempFlags;\n          default:\n            return (_a22 = formattedNameTempFlags == null ? void 0 : formattedNameTempFlags.get(formattedNameKey)) != null ? _a22 : 0;\n        }\n      }\n      function setTempFlags(formattedNameKey, flags) {\n        switch (formattedNameKey) {\n          case \"\":\n            tempFlags = flags;\n            break;\n          case \"#\":\n            privateNameTempFlags = flags;\n            break;\n          default:\n            formattedNameTempFlags != null ? formattedNameTempFlags : formattedNameTempFlags = /* @__PURE__ */ new Map();\n            formattedNameTempFlags.set(formattedNameKey, flags);\n            break;\n        }\n      }\n      function makeTempVariableName(flags, reservedInNestedScopes, privateName, prefix, suffix) {\n        if (prefix.length > 0 && prefix.charCodeAt(0) === 35) {\n          prefix = prefix.slice(1);\n        }\n        const key = formatGeneratedName(privateName, prefix, \"\", suffix);\n        let tempFlags2 = getTempFlags(key);\n        if (flags && !(tempFlags2 & flags)) {\n          const name = flags === 268435456 ? \"_i\" : \"_n\";\n          const fullName = formatGeneratedName(privateName, prefix, name, suffix);\n          if (isUniqueName(fullName, privateName)) {\n            tempFlags2 |= flags;\n            if (privateName) {\n              reservePrivateNameInNestedScopes(fullName);\n            } else if (reservedInNestedScopes) {\n              reserveNameInNestedScopes(fullName);\n            }\n            setTempFlags(key, tempFlags2);\n            return fullName;\n          }\n        }\n        while (true) {\n          const count = tempFlags2 & 268435455;\n          tempFlags2++;\n          if (count !== 8 && count !== 13) {\n            const name = count < 26 ? \"_\" + String.fromCharCode(97 + count) : \"_\" + (count - 26);\n            const fullName = formatGeneratedName(privateName, prefix, name, suffix);\n            if (isUniqueName(fullName, privateName)) {\n              if (privateName) {\n                reservePrivateNameInNestedScopes(fullName);\n              } else if (reservedInNestedScopes) {\n                reserveNameInNestedScopes(fullName);\n              }\n              setTempFlags(key, tempFlags2);\n              return fullName;\n            }\n          }\n        }\n      }\n      function makeUniqueName2(baseName, checkFn = isUniqueName, optimistic, scoped, privateName, prefix, suffix) {\n        if (baseName.length > 0 && baseName.charCodeAt(0) === 35) {\n          baseName = baseName.slice(1);\n        }\n        if (prefix.length > 0 && prefix.charCodeAt(0) === 35) {\n          prefix = prefix.slice(1);\n        }\n        if (optimistic) {\n          const fullName = formatGeneratedName(privateName, prefix, baseName, suffix);\n          if (checkFn(fullName, privateName)) {\n            if (privateName) {\n              reservePrivateNameInNestedScopes(fullName);\n            } else if (scoped) {\n              reserveNameInNestedScopes(fullName);\n            } else {\n              generatedNames.add(fullName);\n            }\n            return fullName;\n          }\n        }\n        if (baseName.charCodeAt(baseName.length - 1) !== 95) {\n          baseName += \"_\";\n        }\n        let i = 1;\n        while (true) {\n          const fullName = formatGeneratedName(privateName, prefix, baseName + i, suffix);\n          if (checkFn(fullName, privateName)) {\n            if (privateName) {\n              reservePrivateNameInNestedScopes(fullName);\n            } else if (scoped) {\n              reserveNameInNestedScopes(fullName);\n            } else {\n              generatedNames.add(fullName);\n            }\n            return fullName;\n          }\n          i++;\n        }\n      }\n      function makeFileLevelOptimisticUniqueName(name) {\n        return makeUniqueName2(\n          name,\n          isFileLevelUniqueName2,\n          /*optimistic*/\n          true,\n          /*scoped*/\n          false,\n          /*privateName*/\n          false,\n          /*prefix*/\n          \"\",\n          /*suffix*/\n          \"\"\n        );\n      }\n      function generateNameForModuleOrEnum(node) {\n        const name = getTextOfNode2(node.name);\n        return isUniqueLocalName(name, tryCast(node, canHaveLocals)) ? name : makeUniqueName2(\n          name,\n          isUniqueName,\n          /*optimistic*/\n          false,\n          /*scoped*/\n          false,\n          /*privateName*/\n          false,\n          /*prefix*/\n          \"\",\n          /*suffix*/\n          \"\"\n        );\n      }\n      function generateNameForImportOrExportDeclaration(node) {\n        const expr = getExternalModuleName(node);\n        const baseName = isStringLiteral(expr) ? makeIdentifierFromModuleName(expr.text) : \"module\";\n        return makeUniqueName2(\n          baseName,\n          isUniqueName,\n          /*optimistic*/\n          false,\n          /*scoped*/\n          false,\n          /*privateName*/\n          false,\n          /*prefix*/\n          \"\",\n          /*suffix*/\n          \"\"\n        );\n      }\n      function generateNameForExportDefault() {\n        return makeUniqueName2(\n          \"default\",\n          isUniqueName,\n          /*optimistic*/\n          false,\n          /*scoped*/\n          false,\n          /*privateName*/\n          false,\n          /*prefix*/\n          \"\",\n          /*suffix*/\n          \"\"\n        );\n      }\n      function generateNameForClassExpression() {\n        return makeUniqueName2(\n          \"class\",\n          isUniqueName,\n          /*optimistic*/\n          false,\n          /*scoped*/\n          false,\n          /*privateName*/\n          false,\n          /*prefix*/\n          \"\",\n          /*suffix*/\n          \"\"\n        );\n      }\n      function generateNameForMethodOrAccessor(node, privateName, prefix, suffix) {\n        if (isIdentifier(node.name)) {\n          return generateNameCached(node.name, privateName);\n        }\n        return makeTempVariableName(\n          0,\n          /*reservedInNestedScopes*/\n          false,\n          privateName,\n          prefix,\n          suffix\n        );\n      }\n      function generateNameForNode(node, privateName, flags, prefix, suffix) {\n        switch (node.kind) {\n          case 79:\n          case 80:\n            return makeUniqueName2(\n              getTextOfNode2(node),\n              isUniqueName,\n              !!(flags & 16),\n              !!(flags & 8),\n              privateName,\n              prefix,\n              suffix\n            );\n          case 264:\n          case 263:\n            Debug2.assert(!prefix && !suffix && !privateName);\n            return generateNameForModuleOrEnum(node);\n          case 269:\n          case 275:\n            Debug2.assert(!prefix && !suffix && !privateName);\n            return generateNameForImportOrExportDeclaration(node);\n          case 259:\n          case 260: {\n            Debug2.assert(!prefix && !suffix && !privateName);\n            const name = node.name;\n            if (name && !isGeneratedIdentifier(name)) {\n              return generateNameForNode(\n                name,\n                /*privateName*/\n                false,\n                flags,\n                prefix,\n                suffix\n              );\n            }\n            return generateNameForExportDefault();\n          }\n          case 274:\n            Debug2.assert(!prefix && !suffix && !privateName);\n            return generateNameForExportDefault();\n          case 228:\n            Debug2.assert(!prefix && !suffix && !privateName);\n            return generateNameForClassExpression();\n          case 171:\n          case 174:\n          case 175:\n            return generateNameForMethodOrAccessor(node, privateName, prefix, suffix);\n          case 164:\n            return makeTempVariableName(\n              0,\n              /*reserveInNestedScopes*/\n              true,\n              privateName,\n              prefix,\n              suffix\n            );\n          default:\n            return makeTempVariableName(\n              0,\n              /*reserveInNestedScopes*/\n              false,\n              privateName,\n              prefix,\n              suffix\n            );\n        }\n      }\n      function makeName(name) {\n        const autoGenerate = name.emitNode.autoGenerate;\n        const prefix = formatGeneratedNamePart(autoGenerate.prefix, generateName);\n        const suffix = formatGeneratedNamePart(autoGenerate.suffix);\n        switch (autoGenerate.flags & 7) {\n          case 1:\n            return makeTempVariableName(0, !!(autoGenerate.flags & 8), isPrivateIdentifier(name), prefix, suffix);\n          case 2:\n            Debug2.assertNode(name, isIdentifier);\n            return makeTempVariableName(\n              268435456,\n              !!(autoGenerate.flags & 8),\n              /*privateName*/\n              false,\n              prefix,\n              suffix\n            );\n          case 3:\n            return makeUniqueName2(\n              idText(name),\n              autoGenerate.flags & 32 ? isFileLevelUniqueName2 : isUniqueName,\n              !!(autoGenerate.flags & 16),\n              !!(autoGenerate.flags & 8),\n              isPrivateIdentifier(name),\n              prefix,\n              suffix\n            );\n        }\n        return Debug2.fail(`Unsupported GeneratedIdentifierKind: ${Debug2.formatEnum(\n          autoGenerate.flags & 7,\n          GeneratedIdentifierFlags,\n          /*isFlags*/\n          true\n        )}.`);\n      }\n      function pipelineEmitWithComments(hint, node) {\n        const pipelinePhase = getNextPipelinePhase(2, hint, node);\n        const savedContainerPos = containerPos;\n        const savedContainerEnd = containerEnd;\n        const savedDeclarationListContainerEnd = declarationListContainerEnd;\n        emitCommentsBeforeNode(node);\n        pipelinePhase(hint, node);\n        emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n      }\n      function emitCommentsBeforeNode(node) {\n        const emitFlags = getEmitFlags(node);\n        const commentRange = getCommentRange(node);\n        emitLeadingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end);\n        if (emitFlags & 4096) {\n          commentsDisabled = true;\n        }\n      }\n      function emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) {\n        const emitFlags = getEmitFlags(node);\n        const commentRange = getCommentRange(node);\n        if (emitFlags & 4096) {\n          commentsDisabled = false;\n        }\n        emitTrailingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n        const typeNode = getTypeNode(node);\n        if (typeNode) {\n          emitTrailingCommentsOfNode(node, emitFlags, typeNode.pos, typeNode.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n        }\n      }\n      function emitLeadingCommentsOfNode(node, emitFlags, pos, end) {\n        enterComment();\n        hasWrittenComment = false;\n        const skipLeadingComments = pos < 0 || (emitFlags & 1024) !== 0 || node.kind === 11;\n        const skipTrailingComments = end < 0 || (emitFlags & 2048) !== 0 || node.kind === 11;\n        if ((pos > 0 || end > 0) && pos !== end) {\n          if (!skipLeadingComments) {\n            emitLeadingComments(\n              pos,\n              /*isEmittedNode*/\n              node.kind !== 355\n              /* NotEmittedStatement */\n            );\n          }\n          if (!skipLeadingComments || pos >= 0 && (emitFlags & 1024) !== 0) {\n            containerPos = pos;\n          }\n          if (!skipTrailingComments || end >= 0 && (emitFlags & 2048) !== 0) {\n            containerEnd = end;\n            if (node.kind === 258) {\n              declarationListContainerEnd = end;\n            }\n          }\n        }\n        forEach(getSyntheticLeadingComments(node), emitLeadingSynthesizedComment);\n        exitComment();\n      }\n      function emitTrailingCommentsOfNode(node, emitFlags, pos, end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) {\n        enterComment();\n        const skipTrailingComments = end < 0 || (emitFlags & 2048) !== 0 || node.kind === 11;\n        forEach(getSyntheticTrailingComments(node), emitTrailingSynthesizedComment);\n        if ((pos > 0 || end > 0) && pos !== end) {\n          containerPos = savedContainerPos;\n          containerEnd = savedContainerEnd;\n          declarationListContainerEnd = savedDeclarationListContainerEnd;\n          if (!skipTrailingComments && node.kind !== 355) {\n            emitTrailingComments(end);\n          }\n        }\n        exitComment();\n      }\n      function emitLeadingSynthesizedComment(comment) {\n        if (comment.hasLeadingNewline || comment.kind === 2) {\n          writer.writeLine();\n        }\n        writeSynthesizedComment(comment);\n        if (comment.hasTrailingNewLine || comment.kind === 2) {\n          writer.writeLine();\n        } else {\n          writer.writeSpace(\" \");\n        }\n      }\n      function emitTrailingSynthesizedComment(comment) {\n        if (!writer.isAtStartOfLine()) {\n          writer.writeSpace(\" \");\n        }\n        writeSynthesizedComment(comment);\n        if (comment.hasTrailingNewLine) {\n          writer.writeLine();\n        }\n      }\n      function writeSynthesizedComment(comment) {\n        const text = formatSynthesizedComment(comment);\n        const lineMap = comment.kind === 3 ? computeLineStarts(text) : void 0;\n        writeCommentRange(text, lineMap, writer, 0, text.length, newLine);\n      }\n      function formatSynthesizedComment(comment) {\n        return comment.kind === 3 ? `/*${comment.text}*/` : `//${comment.text}`;\n      }\n      function emitBodyWithDetachedComments(node, detachedRange, emitCallback) {\n        enterComment();\n        const { pos, end } = detachedRange;\n        const emitFlags = getEmitFlags(node);\n        const skipLeadingComments = pos < 0 || (emitFlags & 1024) !== 0;\n        const skipTrailingComments = commentsDisabled || end < 0 || (emitFlags & 2048) !== 0;\n        if (!skipLeadingComments) {\n          emitDetachedCommentsAndUpdateCommentsInfo(detachedRange);\n        }\n        exitComment();\n        if (emitFlags & 4096 && !commentsDisabled) {\n          commentsDisabled = true;\n          emitCallback(node);\n          commentsDisabled = false;\n        } else {\n          emitCallback(node);\n        }\n        enterComment();\n        if (!skipTrailingComments) {\n          emitLeadingComments(\n            detachedRange.end,\n            /*isEmittedNode*/\n            true\n          );\n          if (hasWrittenComment && !writer.isAtStartOfLine()) {\n            writer.writeLine();\n          }\n        }\n        exitComment();\n      }\n      function originalNodesHaveSameParent(nodeA, nodeB) {\n        nodeA = getOriginalNode(nodeA);\n        return nodeA.parent && nodeA.parent === getOriginalNode(nodeB).parent;\n      }\n      function siblingNodePositionsAreComparable(previousNode, nextNode) {\n        if (nextNode.pos < previousNode.end) {\n          return false;\n        }\n        previousNode = getOriginalNode(previousNode);\n        nextNode = getOriginalNode(nextNode);\n        const parent2 = previousNode.parent;\n        if (!parent2 || parent2 !== nextNode.parent) {\n          return false;\n        }\n        const parentNodeArray = getContainingNodeArray(previousNode);\n        const prevNodeIndex = parentNodeArray == null ? void 0 : parentNodeArray.indexOf(previousNode);\n        return prevNodeIndex !== void 0 && prevNodeIndex > -1 && parentNodeArray.indexOf(nextNode) === prevNodeIndex + 1;\n      }\n      function emitLeadingComments(pos, isEmittedNode) {\n        hasWrittenComment = false;\n        if (isEmittedNode) {\n          if (pos === 0 && (currentSourceFile == null ? void 0 : currentSourceFile.isDeclarationFile)) {\n            forEachLeadingCommentToEmit(pos, emitNonTripleSlashLeadingComment);\n          } else {\n            forEachLeadingCommentToEmit(pos, emitLeadingComment);\n          }\n        } else if (pos === 0) {\n          forEachLeadingCommentToEmit(pos, emitTripleSlashLeadingComment);\n        }\n      }\n      function emitTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {\n        if (isTripleSlashComment(commentPos, commentEnd)) {\n          emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos);\n        }\n      }\n      function emitNonTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {\n        if (!isTripleSlashComment(commentPos, commentEnd)) {\n          emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos);\n        }\n      }\n      function shouldWriteComment(text, pos) {\n        if (printerOptions.onlyPrintJsDocStyle) {\n          return isJSDocLikeText(text, pos) || isPinnedComment(text, pos);\n        }\n        return true;\n      }\n      function emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {\n        if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))\n          return;\n        if (!hasWrittenComment) {\n          emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(), writer, rangePos, commentPos);\n          hasWrittenComment = true;\n        }\n        emitPos(commentPos);\n        writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n        emitPos(commentEnd);\n        if (hasTrailingNewLine) {\n          writer.writeLine();\n        } else if (kind === 3) {\n          writer.writeSpace(\" \");\n        }\n      }\n      function emitLeadingCommentsOfPosition(pos) {\n        if (commentsDisabled || pos === -1) {\n          return;\n        }\n        emitLeadingComments(\n          pos,\n          /*isEmittedNode*/\n          true\n        );\n      }\n      function emitTrailingComments(pos) {\n        forEachTrailingCommentToEmit(pos, emitTrailingComment);\n      }\n      function emitTrailingComment(commentPos, commentEnd, _kind, hasTrailingNewLine) {\n        if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))\n          return;\n        if (!writer.isAtStartOfLine()) {\n          writer.writeSpace(\" \");\n        }\n        emitPos(commentPos);\n        writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n        emitPos(commentEnd);\n        if (hasTrailingNewLine) {\n          writer.writeLine();\n        }\n      }\n      function emitTrailingCommentsOfPosition(pos, prefixSpace, forceNoNewline) {\n        if (commentsDisabled) {\n          return;\n        }\n        enterComment();\n        forEachTrailingCommentToEmit(pos, prefixSpace ? emitTrailingComment : forceNoNewline ? emitTrailingCommentOfPositionNoNewline : emitTrailingCommentOfPosition);\n        exitComment();\n      }\n      function emitTrailingCommentOfPositionNoNewline(commentPos, commentEnd, kind) {\n        if (!currentSourceFile)\n          return;\n        emitPos(commentPos);\n        writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n        emitPos(commentEnd);\n        if (kind === 2) {\n          writer.writeLine();\n        }\n      }\n      function emitTrailingCommentOfPosition(commentPos, commentEnd, _kind, hasTrailingNewLine) {\n        if (!currentSourceFile)\n          return;\n        emitPos(commentPos);\n        writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n        emitPos(commentEnd);\n        if (hasTrailingNewLine) {\n          writer.writeLine();\n        } else {\n          writer.writeSpace(\" \");\n        }\n      }\n      function forEachLeadingCommentToEmit(pos, cb) {\n        if (currentSourceFile && (containerPos === -1 || pos !== containerPos)) {\n          if (hasDetachedComments(pos)) {\n            forEachLeadingCommentWithoutDetachedComments(cb);\n          } else {\n            forEachLeadingCommentRange(\n              currentSourceFile.text,\n              pos,\n              cb,\n              /*state*/\n              pos\n            );\n          }\n        }\n      }\n      function forEachTrailingCommentToEmit(end, cb) {\n        if (currentSourceFile && (containerEnd === -1 || end !== containerEnd && end !== declarationListContainerEnd)) {\n          forEachTrailingCommentRange(currentSourceFile.text, end, cb);\n        }\n      }\n      function hasDetachedComments(pos) {\n        return detachedCommentsInfo !== void 0 && last(detachedCommentsInfo).nodePos === pos;\n      }\n      function forEachLeadingCommentWithoutDetachedComments(cb) {\n        if (!currentSourceFile)\n          return;\n        const pos = last(detachedCommentsInfo).detachedCommentEndPos;\n        if (detachedCommentsInfo.length - 1) {\n          detachedCommentsInfo.pop();\n        } else {\n          detachedCommentsInfo = void 0;\n        }\n        forEachLeadingCommentRange(\n          currentSourceFile.text,\n          pos,\n          cb,\n          /*state*/\n          pos\n        );\n      }\n      function emitDetachedCommentsAndUpdateCommentsInfo(range) {\n        const currentDetachedCommentInfo = currentSourceFile && emitDetachedComments(currentSourceFile.text, getCurrentLineMap(), writer, emitComment, range, newLine, commentsDisabled);\n        if (currentDetachedCommentInfo) {\n          if (detachedCommentsInfo) {\n            detachedCommentsInfo.push(currentDetachedCommentInfo);\n          } else {\n            detachedCommentsInfo = [currentDetachedCommentInfo];\n          }\n        }\n      }\n      function emitComment(text, lineMap, writer2, commentPos, commentEnd, newLine2) {\n        if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))\n          return;\n        emitPos(commentPos);\n        writeCommentRange(text, lineMap, writer2, commentPos, commentEnd, newLine2);\n        emitPos(commentEnd);\n      }\n      function isTripleSlashComment(commentPos, commentEnd) {\n        return !!currentSourceFile && isRecognizedTripleSlashComment(currentSourceFile.text, commentPos, commentEnd);\n      }\n      function getParsedSourceMap(node) {\n        if (node.parsedSourceMap === void 0 && node.sourceMapText !== void 0) {\n          node.parsedSourceMap = tryParseRawSourceMap(node.sourceMapText) || false;\n        }\n        return node.parsedSourceMap || void 0;\n      }\n      function pipelineEmitWithSourceMaps(hint, node) {\n        const pipelinePhase = getNextPipelinePhase(3, hint, node);\n        emitSourceMapsBeforeNode(node);\n        pipelinePhase(hint, node);\n        emitSourceMapsAfterNode(node);\n      }\n      function emitSourceMapsBeforeNode(node) {\n        const emitFlags = getEmitFlags(node);\n        const sourceMapRange = getSourceMapRange(node);\n        if (isUnparsedNode(node)) {\n          Debug2.assertIsDefined(node.parent, \"UnparsedNodes must have parent pointers\");\n          const parsed = getParsedSourceMap(node.parent);\n          if (parsed && sourceMapGenerator) {\n            sourceMapGenerator.appendSourceMap(\n              writer.getLine(),\n              writer.getColumn(),\n              parsed,\n              node.parent.sourceMapPath,\n              node.parent.getLineAndCharacterOfPosition(node.pos),\n              node.parent.getLineAndCharacterOfPosition(node.end)\n            );\n          }\n        } else {\n          const source = sourceMapRange.source || sourceMapSource;\n          if (node.kind !== 355 && (emitFlags & 32) === 0 && sourceMapRange.pos >= 0) {\n            emitSourcePos(sourceMapRange.source || sourceMapSource, skipSourceTrivia(source, sourceMapRange.pos));\n          }\n          if (emitFlags & 128) {\n            sourceMapsDisabled = true;\n          }\n        }\n      }\n      function emitSourceMapsAfterNode(node) {\n        const emitFlags = getEmitFlags(node);\n        const sourceMapRange = getSourceMapRange(node);\n        if (!isUnparsedNode(node)) {\n          if (emitFlags & 128) {\n            sourceMapsDisabled = false;\n          }\n          if (node.kind !== 355 && (emitFlags & 64) === 0 && sourceMapRange.end >= 0) {\n            emitSourcePos(sourceMapRange.source || sourceMapSource, sourceMapRange.end);\n          }\n        }\n      }\n      function skipSourceTrivia(source, pos) {\n        return source.skipTrivia ? source.skipTrivia(pos) : skipTrivia(source.text, pos);\n      }\n      function emitPos(pos) {\n        if (sourceMapsDisabled || positionIsSynthesized(pos) || isJsonSourceMapSource(sourceMapSource)) {\n          return;\n        }\n        const { line: sourceLine, character: sourceCharacter } = getLineAndCharacterOfPosition(sourceMapSource, pos);\n        sourceMapGenerator.addMapping(\n          writer.getLine(),\n          writer.getColumn(),\n          sourceMapSourceIndex,\n          sourceLine,\n          sourceCharacter,\n          /*nameIndex*/\n          void 0\n        );\n      }\n      function emitSourcePos(source, pos) {\n        if (source !== sourceMapSource) {\n          const savedSourceMapSource = sourceMapSource;\n          const savedSourceMapSourceIndex = sourceMapSourceIndex;\n          setSourceMapSource(source);\n          emitPos(pos);\n          resetSourceMapSource(savedSourceMapSource, savedSourceMapSourceIndex);\n        } else {\n          emitPos(pos);\n        }\n      }\n      function emitTokenWithSourceMap(node, token, writer2, tokenPos, emitCallback) {\n        if (sourceMapsDisabled || node && isInJsonFile(node)) {\n          return emitCallback(token, writer2, tokenPos);\n        }\n        const emitNode = node && node.emitNode;\n        const emitFlags = emitNode && emitNode.flags || 0;\n        const range = emitNode && emitNode.tokenSourceMapRanges && emitNode.tokenSourceMapRanges[token];\n        const source = range && range.source || sourceMapSource;\n        tokenPos = skipSourceTrivia(source, range ? range.pos : tokenPos);\n        if ((emitFlags & 256) === 0 && tokenPos >= 0) {\n          emitSourcePos(source, tokenPos);\n        }\n        tokenPos = emitCallback(token, writer2, tokenPos);\n        if (range)\n          tokenPos = range.end;\n        if ((emitFlags & 512) === 0 && tokenPos >= 0) {\n          emitSourcePos(source, tokenPos);\n        }\n        return tokenPos;\n      }\n      function setSourceMapSource(source) {\n        if (sourceMapsDisabled) {\n          return;\n        }\n        sourceMapSource = source;\n        if (source === mostRecentlyAddedSourceMapSource) {\n          sourceMapSourceIndex = mostRecentlyAddedSourceMapSourceIndex;\n          return;\n        }\n        if (isJsonSourceMapSource(source)) {\n          return;\n        }\n        sourceMapSourceIndex = sourceMapGenerator.addSource(source.fileName);\n        if (printerOptions.inlineSources) {\n          sourceMapGenerator.setSourceContent(sourceMapSourceIndex, source.text);\n        }\n        mostRecentlyAddedSourceMapSource = source;\n        mostRecentlyAddedSourceMapSourceIndex = sourceMapSourceIndex;\n      }\n      function resetSourceMapSource(source, sourceIndex) {\n        sourceMapSource = source;\n        sourceMapSourceIndex = sourceIndex;\n      }\n      function isJsonSourceMapSource(sourceFile) {\n        return fileExtensionIs(\n          sourceFile.fileName,\n          \".json\"\n          /* Json */\n        );\n      }\n    }\n    function createBracketsMap() {\n      const brackets2 = [];\n      brackets2[\n        1024\n        /* Braces */\n      ] = [\"{\", \"}\"];\n      brackets2[\n        2048\n        /* Parenthesis */\n      ] = [\"(\", \")\"];\n      brackets2[\n        4096\n        /* AngleBrackets */\n      ] = [\"<\", \">\"];\n      brackets2[\n        8192\n        /* SquareBrackets */\n      ] = [\"[\", \"]\"];\n      return brackets2;\n    }\n    function getOpeningBracket(format) {\n      return brackets[\n        format & 15360\n        /* BracketsMask */\n      ][0];\n    }\n    function getClosingBracket(format) {\n      return brackets[\n        format & 15360\n        /* BracketsMask */\n      ][1];\n    }\n    function emitListItemNoParenthesizer(node, emit, _parenthesizerRule, _index) {\n      emit(node);\n    }\n    function emitListItemWithParenthesizerRuleSelector(node, emit, parenthesizerRuleSelector, index) {\n      emit(node, parenthesizerRuleSelector.select(index));\n    }\n    function emitListItemWithParenthesizerRule(node, emit, parenthesizerRule, _index) {\n      emit(node, parenthesizerRule);\n    }\n    function getEmitListItem(emit, parenthesizerRule) {\n      return emit.length === 1 ? emitListItemNoParenthesizer : typeof parenthesizerRule === \"object\" ? emitListItemWithParenthesizerRuleSelector : emitListItemWithParenthesizerRule;\n    }\n    var brackets, notImplementedResolver, createPrinterWithDefaults, createPrinterWithRemoveComments, createPrinterWithRemoveCommentsNeverAsciiEscape, createPrinterWithRemoveCommentsOmitTrailingSemicolon;\n    var init_emitter = __esm({\n      \"src/compiler/emitter.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        init_ts_performance();\n        brackets = createBracketsMap();\n        notImplementedResolver = {\n          hasGlobalName: notImplemented,\n          getReferencedExportContainer: notImplemented,\n          getReferencedImportDeclaration: notImplemented,\n          getReferencedDeclarationWithCollidingName: notImplemented,\n          isDeclarationWithCollidingName: notImplemented,\n          isValueAliasDeclaration: notImplemented,\n          isReferencedAliasDeclaration: notImplemented,\n          isTopLevelValueImportEqualsWithEntityName: notImplemented,\n          getNodeCheckFlags: notImplemented,\n          isDeclarationVisible: notImplemented,\n          isLateBound: (_node) => false,\n          collectLinkedAliases: notImplemented,\n          isImplementationOfOverload: notImplemented,\n          isRequiredInitializedParameter: notImplemented,\n          isOptionalUninitializedParameterProperty: notImplemented,\n          isExpandoFunctionDeclaration: notImplemented,\n          getPropertiesOfContainerFunction: notImplemented,\n          createTypeOfDeclaration: notImplemented,\n          createReturnTypeOfSignatureDeclaration: notImplemented,\n          createTypeOfExpression: notImplemented,\n          createLiteralConstValue: notImplemented,\n          isSymbolAccessible: notImplemented,\n          isEntityNameVisible: notImplemented,\n          // Returns the constant value this property access resolves to: notImplemented, or 'undefined' for a non-constant\n          getConstantValue: notImplemented,\n          getReferencedValueDeclaration: notImplemented,\n          getTypeReferenceSerializationKind: notImplemented,\n          isOptionalParameter: notImplemented,\n          moduleExportsSomeValue: notImplemented,\n          isArgumentsLocalBinding: notImplemented,\n          getExternalModuleFileFromDeclaration: notImplemented,\n          getTypeReferenceDirectivesForEntityName: notImplemented,\n          getTypeReferenceDirectivesForSymbol: notImplemented,\n          isLiteralConstDeclaration: notImplemented,\n          getJsxFactoryEntity: notImplemented,\n          getJsxFragmentFactoryEntity: notImplemented,\n          getAllAccessorDeclarations: notImplemented,\n          getSymbolOfExternalModuleSpecifier: notImplemented,\n          isBindingCapturedByNode: notImplemented,\n          getDeclarationStatementsForSourceFile: notImplemented,\n          isImportRequiredByAugmentation: notImplemented\n        };\n        createPrinterWithDefaults = /* @__PURE__ */ memoize(() => createPrinter({}));\n        createPrinterWithRemoveComments = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true }));\n        createPrinterWithRemoveCommentsNeverAsciiEscape = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, neverAsciiEscape: true }));\n        createPrinterWithRemoveCommentsOmitTrailingSemicolon = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, omitTrailingSemicolon: true }));\n      }\n    });\n    function createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames) {\n      if (!host.getDirectories || !host.readDirectory) {\n        return void 0;\n      }\n      const cachedReadDirectoryResult = /* @__PURE__ */ new Map();\n      const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      return {\n        useCaseSensitiveFileNames,\n        fileExists,\n        readFile: (path, encoding) => host.readFile(path, encoding),\n        directoryExists: host.directoryExists && directoryExists,\n        getDirectories,\n        readDirectory,\n        createDirectory: host.createDirectory && createDirectory,\n        writeFile: host.writeFile && writeFile2,\n        addOrDeleteFileOrDirectory,\n        addOrDeleteFile,\n        clearCache,\n        realpath: host.realpath && realpath\n      };\n      function toPath3(fileName) {\n        return toPath(fileName, currentDirectory, getCanonicalFileName);\n      }\n      function getCachedFileSystemEntries(rootDirPath) {\n        return cachedReadDirectoryResult.get(ensureTrailingDirectorySeparator(rootDirPath));\n      }\n      function getCachedFileSystemEntriesForBaseDir(path) {\n        const entries = getCachedFileSystemEntries(getDirectoryPath(path));\n        if (!entries) {\n          return entries;\n        }\n        if (!entries.sortedAndCanonicalizedFiles) {\n          entries.sortedAndCanonicalizedFiles = entries.files.map(getCanonicalFileName).sort();\n          entries.sortedAndCanonicalizedDirectories = entries.directories.map(getCanonicalFileName).sort();\n        }\n        return entries;\n      }\n      function getBaseNameOfFileName(fileName) {\n        return getBaseFileName(normalizePath(fileName));\n      }\n      function createCachedFileSystemEntries(rootDir, rootDirPath) {\n        var _a22;\n        if (!host.realpath || ensureTrailingDirectorySeparator(toPath3(host.realpath(rootDir))) === rootDirPath) {\n          const resultFromHost = {\n            files: map(host.readDirectory(\n              rootDir,\n              /*extensions*/\n              void 0,\n              /*exclude*/\n              void 0,\n              /*include*/\n              [\"*.*\"]\n            ), getBaseNameOfFileName) || [],\n            directories: host.getDirectories(rootDir) || []\n          };\n          cachedReadDirectoryResult.set(ensureTrailingDirectorySeparator(rootDirPath), resultFromHost);\n          return resultFromHost;\n        }\n        if ((_a22 = host.directoryExists) == null ? void 0 : _a22.call(host, rootDir)) {\n          cachedReadDirectoryResult.set(rootDirPath, false);\n          return false;\n        }\n        return void 0;\n      }\n      function tryReadDirectory2(rootDir, rootDirPath) {\n        rootDirPath = ensureTrailingDirectorySeparator(rootDirPath);\n        const cachedResult = getCachedFileSystemEntries(rootDirPath);\n        if (cachedResult) {\n          return cachedResult;\n        }\n        try {\n          return createCachedFileSystemEntries(rootDir, rootDirPath);\n        } catch (_e) {\n          Debug2.assert(!cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(rootDirPath)));\n          return void 0;\n        }\n      }\n      function hasEntry(entries, name) {\n        const index = binarySearch(entries, name, identity2, compareStringsCaseSensitive);\n        return index >= 0;\n      }\n      function writeFile2(fileName, data, writeByteOrderMark) {\n        const path = toPath3(fileName);\n        const result = getCachedFileSystemEntriesForBaseDir(path);\n        if (result) {\n          updateFilesOfFileSystemEntry(\n            result,\n            getBaseNameOfFileName(fileName),\n            /*fileExists*/\n            true\n          );\n        }\n        return host.writeFile(fileName, data, writeByteOrderMark);\n      }\n      function fileExists(fileName) {\n        const path = toPath3(fileName);\n        const result = getCachedFileSystemEntriesForBaseDir(path);\n        return result && hasEntry(result.sortedAndCanonicalizedFiles, getCanonicalFileName(getBaseNameOfFileName(fileName))) || host.fileExists(fileName);\n      }\n      function directoryExists(dirPath) {\n        const path = toPath3(dirPath);\n        return cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(path)) || host.directoryExists(dirPath);\n      }\n      function createDirectory(dirPath) {\n        const path = toPath3(dirPath);\n        const result = getCachedFileSystemEntriesForBaseDir(path);\n        if (result) {\n          const baseName = getBaseNameOfFileName(dirPath);\n          const canonicalizedBaseName = getCanonicalFileName(baseName);\n          const canonicalizedDirectories = result.sortedAndCanonicalizedDirectories;\n          if (insertSorted(canonicalizedDirectories, canonicalizedBaseName, compareStringsCaseSensitive)) {\n            result.directories.push(baseName);\n          }\n        }\n        host.createDirectory(dirPath);\n      }\n      function getDirectories(rootDir) {\n        const rootDirPath = toPath3(rootDir);\n        const result = tryReadDirectory2(rootDir, rootDirPath);\n        if (result) {\n          return result.directories.slice();\n        }\n        return host.getDirectories(rootDir);\n      }\n      function readDirectory(rootDir, extensions, excludes, includes, depth) {\n        const rootDirPath = toPath3(rootDir);\n        const rootResult = tryReadDirectory2(rootDir, rootDirPath);\n        let rootSymLinkResult;\n        if (rootResult !== void 0) {\n          return matchFiles(rootDir, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath);\n        }\n        return host.readDirectory(rootDir, extensions, excludes, includes, depth);\n        function getFileSystemEntries(dir) {\n          const path = toPath3(dir);\n          if (path === rootDirPath) {\n            return rootResult || getFileSystemEntriesFromHost(dir, path);\n          }\n          const result = tryReadDirectory2(dir, path);\n          return result !== void 0 ? result || getFileSystemEntriesFromHost(dir, path) : emptyFileSystemEntries;\n        }\n        function getFileSystemEntriesFromHost(dir, path) {\n          if (rootSymLinkResult && path === rootDirPath)\n            return rootSymLinkResult;\n          const result = {\n            files: map(host.readDirectory(\n              dir,\n              /*extensions*/\n              void 0,\n              /*exclude*/\n              void 0,\n              /*include*/\n              [\"*.*\"]\n            ), getBaseNameOfFileName) || emptyArray,\n            directories: host.getDirectories(dir) || emptyArray\n          };\n          if (path === rootDirPath)\n            rootSymLinkResult = result;\n          return result;\n        }\n      }\n      function realpath(s) {\n        return host.realpath ? host.realpath(s) : s;\n      }\n      function addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath) {\n        const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath);\n        if (existingResult !== void 0) {\n          clearCache();\n          return void 0;\n        }\n        const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath);\n        if (!parentResult) {\n          return void 0;\n        }\n        if (!host.directoryExists) {\n          clearCache();\n          return void 0;\n        }\n        const baseName = getBaseNameOfFileName(fileOrDirectory);\n        const fsQueryResult = {\n          fileExists: host.fileExists(fileOrDirectoryPath),\n          directoryExists: host.directoryExists(fileOrDirectoryPath)\n        };\n        if (fsQueryResult.directoryExists || hasEntry(parentResult.sortedAndCanonicalizedDirectories, getCanonicalFileName(baseName))) {\n          clearCache();\n        } else {\n          updateFilesOfFileSystemEntry(parentResult, baseName, fsQueryResult.fileExists);\n        }\n        return fsQueryResult;\n      }\n      function addOrDeleteFile(fileName, filePath, eventKind) {\n        if (eventKind === 1) {\n          return;\n        }\n        const parentResult = getCachedFileSystemEntriesForBaseDir(filePath);\n        if (parentResult) {\n          updateFilesOfFileSystemEntry(\n            parentResult,\n            getBaseNameOfFileName(fileName),\n            eventKind === 0\n            /* Created */\n          );\n        }\n      }\n      function updateFilesOfFileSystemEntry(parentResult, baseName, fileExists2) {\n        const canonicalizedFiles = parentResult.sortedAndCanonicalizedFiles;\n        const canonicalizedBaseName = getCanonicalFileName(baseName);\n        if (fileExists2) {\n          if (insertSorted(canonicalizedFiles, canonicalizedBaseName, compareStringsCaseSensitive)) {\n            parentResult.files.push(baseName);\n          }\n        } else {\n          const sortedIndex = binarySearch(canonicalizedFiles, canonicalizedBaseName, identity2, compareStringsCaseSensitive);\n          if (sortedIndex >= 0) {\n            canonicalizedFiles.splice(sortedIndex, 1);\n            const unsortedIndex = parentResult.files.findIndex((entry) => getCanonicalFileName(entry) === canonicalizedBaseName);\n            parentResult.files.splice(unsortedIndex, 1);\n          }\n        }\n      }\n      function clearCache() {\n        cachedReadDirectoryResult.clear();\n      }\n    }\n    function updateSharedExtendedConfigFileWatcher(projectPath, options, extendedConfigFilesMap, createExtendedConfigFileWatch, toPath3) {\n      var _a22;\n      const extendedConfigs = arrayToMap(((_a22 = options == null ? void 0 : options.configFile) == null ? void 0 : _a22.extendedSourceFiles) || emptyArray, toPath3);\n      extendedConfigFilesMap.forEach((watcher, extendedConfigFilePath) => {\n        if (!extendedConfigs.has(extendedConfigFilePath)) {\n          watcher.projects.delete(projectPath);\n          watcher.close();\n        }\n      });\n      extendedConfigs.forEach((extendedConfigFileName, extendedConfigFilePath) => {\n        const existing = extendedConfigFilesMap.get(extendedConfigFilePath);\n        if (existing) {\n          existing.projects.add(projectPath);\n        } else {\n          extendedConfigFilesMap.set(extendedConfigFilePath, {\n            projects: /* @__PURE__ */ new Set([projectPath]),\n            watcher: createExtendedConfigFileWatch(extendedConfigFileName, extendedConfigFilePath),\n            close: () => {\n              const existing2 = extendedConfigFilesMap.get(extendedConfigFilePath);\n              if (!existing2 || existing2.projects.size !== 0)\n                return;\n              existing2.watcher.close();\n              extendedConfigFilesMap.delete(extendedConfigFilePath);\n            }\n          });\n        }\n      });\n    }\n    function clearSharedExtendedConfigFileWatcher(projectPath, extendedConfigFilesMap) {\n      extendedConfigFilesMap.forEach((watcher) => {\n        if (watcher.projects.delete(projectPath))\n          watcher.close();\n      });\n    }\n    function cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3) {\n      if (!extendedConfigCache.delete(extendedConfigFilePath))\n        return;\n      extendedConfigCache.forEach(({ extendedResult }, key) => {\n        var _a22;\n        if ((_a22 = extendedResult.extendedSourceFiles) == null ? void 0 : _a22.some((extendedFile) => toPath3(extendedFile) === extendedConfigFilePath)) {\n          cleanExtendedConfigCache(extendedConfigCache, key, toPath3);\n        }\n      });\n    }\n    function updatePackageJsonWatch(lookups, packageJsonWatches, createPackageJsonWatch) {\n      const newMap = new Map(lookups);\n      mutateMap(\n        packageJsonWatches,\n        newMap,\n        {\n          createNewValue: createPackageJsonWatch,\n          onDeleteValue: closeFileWatcher\n        }\n      );\n    }\n    function updateMissingFilePathsWatch(program, missingFileWatches, createMissingFileWatch) {\n      const missingFilePaths = program.getMissingFilePaths();\n      const newMissingFilePathMap = arrayToMap(missingFilePaths, identity2, returnTrue);\n      mutateMap(\n        missingFileWatches,\n        newMissingFilePathMap,\n        {\n          // Watch the missing files\n          createNewValue: createMissingFileWatch,\n          // Files that are no longer missing (e.g. because they are no longer required)\n          // should no longer be watched.\n          onDeleteValue: closeFileWatcher\n        }\n      );\n    }\n    function updateWatchingWildcardDirectories(existingWatchedForWildcards, wildcardDirectories, watchDirectory) {\n      mutateMap(\n        existingWatchedForWildcards,\n        wildcardDirectories,\n        {\n          // Create new watch and recursive info\n          createNewValue: createWildcardDirectoryWatcher,\n          // Close existing watch thats not needed any more\n          onDeleteValue: closeFileWatcherOf,\n          // Close existing watch that doesnt match in the flags\n          onExistingValue: updateWildcardDirectoryWatcher\n        }\n      );\n      function createWildcardDirectoryWatcher(directory, flags) {\n        return {\n          watcher: watchDirectory(directory, flags),\n          flags\n        };\n      }\n      function updateWildcardDirectoryWatcher(existingWatcher, flags, directory) {\n        if (existingWatcher.flags === flags) {\n          return;\n        }\n        existingWatcher.watcher.close();\n        existingWatchedForWildcards.set(directory, createWildcardDirectoryWatcher(directory, flags));\n      }\n    }\n    function isIgnoredFileFromWildCardWatching({\n      watchedDirPath,\n      fileOrDirectory,\n      fileOrDirectoryPath,\n      configFileName,\n      options,\n      program,\n      extraFileExtensions,\n      currentDirectory,\n      useCaseSensitiveFileNames,\n      writeLog,\n      toPath: toPath3\n    }) {\n      const newPath = removeIgnoredPath(fileOrDirectoryPath);\n      if (!newPath) {\n        writeLog(`Project: ${configFileName} Detected ignored path: ${fileOrDirectory}`);\n        return true;\n      }\n      fileOrDirectoryPath = newPath;\n      if (fileOrDirectoryPath === watchedDirPath)\n        return false;\n      if (hasExtension(fileOrDirectoryPath) && !isSupportedSourceFileName(fileOrDirectory, options, extraFileExtensions)) {\n        writeLog(`Project: ${configFileName} Detected file add/remove of non supported extension: ${fileOrDirectory}`);\n        return true;\n      }\n      if (isExcludedFile(fileOrDirectory, options.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames, currentDirectory)) {\n        writeLog(`Project: ${configFileName} Detected excluded file: ${fileOrDirectory}`);\n        return true;\n      }\n      if (!program)\n        return false;\n      if (outFile(options) || options.outDir)\n        return false;\n      if (isDeclarationFileName(fileOrDirectoryPath)) {\n        if (options.declarationDir)\n          return false;\n      } else if (!fileExtensionIsOneOf(fileOrDirectoryPath, supportedJSExtensionsFlat)) {\n        return false;\n      }\n      const filePathWithoutExtension = removeFileExtension(fileOrDirectoryPath);\n      const realProgram = isArray(program) ? void 0 : isBuilderProgram(program) ? program.getProgramOrUndefined() : program;\n      const builderProgram = !realProgram && !isArray(program) ? program : void 0;\n      if (hasSourceFile(\n        filePathWithoutExtension + \".ts\"\n        /* Ts */\n      ) || hasSourceFile(\n        filePathWithoutExtension + \".tsx\"\n        /* Tsx */\n      )) {\n        writeLog(`Project: ${configFileName} Detected output file: ${fileOrDirectory}`);\n        return true;\n      }\n      return false;\n      function hasSourceFile(file) {\n        return realProgram ? !!realProgram.getSourceFileByPath(file) : builderProgram ? builderProgram.getState().fileInfos.has(file) : !!find(program, (rootFile) => toPath3(rootFile) === file);\n      }\n    }\n    function isBuilderProgram(program) {\n      return !!program.getState;\n    }\n    function isEmittedFileOfProgram(program, file) {\n      if (!program) {\n        return false;\n      }\n      return program.isEmittedFile(file);\n    }\n    function getWatchFactory(host, watchLogLevel, log, getDetailWatchInfo) {\n      setSysLog(watchLogLevel === 2 ? log : noop);\n      const plainInvokeFactory = {\n        watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInterval, options),\n        watchDirectory: (directory, callback, flags, options) => host.watchDirectory(directory, callback, (flags & 1) !== 0, options)\n      };\n      const triggerInvokingFactory = watchLogLevel !== 0 ? {\n        watchFile: createTriggerLoggingAddWatch(\"watchFile\"),\n        watchDirectory: createTriggerLoggingAddWatch(\"watchDirectory\")\n      } : void 0;\n      const factory2 = watchLogLevel === 2 ? {\n        watchFile: createFileWatcherWithLogging,\n        watchDirectory: createDirectoryWatcherWithLogging\n      } : triggerInvokingFactory || plainInvokeFactory;\n      const excludeWatcherFactory = watchLogLevel === 2 ? createExcludeWatcherWithLogging : returnNoopFileWatcher;\n      return {\n        watchFile: createExcludeHandlingAddWatch(\"watchFile\"),\n        watchDirectory: createExcludeHandlingAddWatch(\"watchDirectory\")\n      };\n      function createExcludeHandlingAddWatch(key) {\n        return (file, cb, flags, options, detailInfo1, detailInfo2) => {\n          var _a22;\n          return !matchesExclude(file, key === \"watchFile\" ? options == null ? void 0 : options.excludeFiles : options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames(), ((_a22 = host.getCurrentDirectory) == null ? void 0 : _a22.call(host)) || \"\") ? factory2[key].call(\n            /*thisArgs*/\n            void 0,\n            file,\n            cb,\n            flags,\n            options,\n            detailInfo1,\n            detailInfo2\n          ) : excludeWatcherFactory(file, flags, options, detailInfo1, detailInfo2);\n        };\n      }\n      function useCaseSensitiveFileNames() {\n        return typeof host.useCaseSensitiveFileNames === \"boolean\" ? host.useCaseSensitiveFileNames : host.useCaseSensitiveFileNames();\n      }\n      function createExcludeWatcherWithLogging(file, flags, options, detailInfo1, detailInfo2) {\n        log(`ExcludeWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`);\n        return {\n          close: () => log(`ExcludeWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`)\n        };\n      }\n      function createFileWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {\n        log(`FileWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`);\n        const watcher = triggerInvokingFactory.watchFile(file, cb, flags, options, detailInfo1, detailInfo2);\n        return {\n          close: () => {\n            log(`FileWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`);\n            watcher.close();\n          }\n        };\n      }\n      function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {\n        const watchInfo = `DirectoryWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`;\n        log(watchInfo);\n        const start = timestamp();\n        const watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2);\n        const elapsed = timestamp() - start;\n        log(`Elapsed:: ${elapsed}ms ${watchInfo}`);\n        return {\n          close: () => {\n            const watchInfo2 = `DirectoryWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`;\n            log(watchInfo2);\n            const start2 = timestamp();\n            watcher.close();\n            const elapsed2 = timestamp() - start2;\n            log(`Elapsed:: ${elapsed2}ms ${watchInfo2}`);\n          }\n        };\n      }\n      function createTriggerLoggingAddWatch(key) {\n        return (file, cb, flags, options, detailInfo1, detailInfo2) => plainInvokeFactory[key].call(\n          /*thisArgs*/\n          void 0,\n          file,\n          (...args) => {\n            const triggerredInfo = `${key === \"watchFile\" ? \"FileWatcher\" : \"DirectoryWatcher\"}:: Triggered with ${args[0]} ${args[1] !== void 0 ? args[1] : \"\"}:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`;\n            log(triggerredInfo);\n            const start = timestamp();\n            cb.call(\n              /*thisArg*/\n              void 0,\n              ...args\n            );\n            const elapsed = timestamp() - start;\n            log(`Elapsed:: ${elapsed}ms ${triggerredInfo}`);\n          },\n          flags,\n          options,\n          detailInfo1,\n          detailInfo2\n        );\n      }\n      function getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo2) {\n        return `WatchInfo: ${file} ${flags} ${JSON.stringify(options)} ${getDetailWatchInfo2 ? getDetailWatchInfo2(detailInfo1, detailInfo2) : detailInfo2 === void 0 ? detailInfo1 : `${detailInfo1} ${detailInfo2}`}`;\n      }\n    }\n    function getFallbackOptions(options) {\n      const fallbackPolling = options == null ? void 0 : options.fallbackPolling;\n      return {\n        watchFile: fallbackPolling !== void 0 ? fallbackPolling : 1\n        /* PriorityPollingInterval */\n      };\n    }\n    function closeFileWatcherOf(objWithWatcher) {\n      objWithWatcher.watcher.close();\n    }\n    var ConfigFileProgramReloadLevel, WatchLogLevel;\n    var init_watchUtilities = __esm({\n      \"src/compiler/watchUtilities.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        ConfigFileProgramReloadLevel = /* @__PURE__ */ ((ConfigFileProgramReloadLevel2) => {\n          ConfigFileProgramReloadLevel2[ConfigFileProgramReloadLevel2[\"None\"] = 0] = \"None\";\n          ConfigFileProgramReloadLevel2[ConfigFileProgramReloadLevel2[\"Partial\"] = 1] = \"Partial\";\n          ConfigFileProgramReloadLevel2[ConfigFileProgramReloadLevel2[\"Full\"] = 2] = \"Full\";\n          return ConfigFileProgramReloadLevel2;\n        })(ConfigFileProgramReloadLevel || {});\n        WatchLogLevel = /* @__PURE__ */ ((WatchLogLevel2) => {\n          WatchLogLevel2[WatchLogLevel2[\"None\"] = 0] = \"None\";\n          WatchLogLevel2[WatchLogLevel2[\"TriggerOnly\"] = 1] = \"TriggerOnly\";\n          WatchLogLevel2[WatchLogLevel2[\"Verbose\"] = 2] = \"Verbose\";\n          return WatchLogLevel2;\n        })(WatchLogLevel || {});\n      }\n    });\n    function findConfigFile(searchPath, fileExists, configName = \"tsconfig.json\") {\n      return forEachAncestorDirectory(searchPath, (ancestor) => {\n        const fileName = combinePaths(ancestor, configName);\n        return fileExists(fileName) ? fileName : void 0;\n      });\n    }\n    function resolveTripleslashReference(moduleName, containingFile) {\n      const basePath = getDirectoryPath(containingFile);\n      const referencedFileName = isRootedDiskPath(moduleName) ? moduleName : combinePaths(basePath, moduleName);\n      return normalizePath(referencedFileName);\n    }\n    function computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, getCanonicalFileName) {\n      let commonPathComponents;\n      const failed = forEach(fileNames, (sourceFile) => {\n        const sourcePathComponents = getNormalizedPathComponents(sourceFile, currentDirectory);\n        sourcePathComponents.pop();\n        if (!commonPathComponents) {\n          commonPathComponents = sourcePathComponents;\n          return;\n        }\n        const n = Math.min(commonPathComponents.length, sourcePathComponents.length);\n        for (let i = 0; i < n; i++) {\n          if (getCanonicalFileName(commonPathComponents[i]) !== getCanonicalFileName(sourcePathComponents[i])) {\n            if (i === 0) {\n              return true;\n            }\n            commonPathComponents.length = i;\n            break;\n          }\n        }\n        if (sourcePathComponents.length < commonPathComponents.length) {\n          commonPathComponents.length = sourcePathComponents.length;\n        }\n      });\n      if (failed) {\n        return \"\";\n      }\n      if (!commonPathComponents) {\n        return currentDirectory;\n      }\n      return getPathFromPathComponents(commonPathComponents);\n    }\n    function createCompilerHost(options, setParentNodes) {\n      return createCompilerHostWorker(options, setParentNodes);\n    }\n    function createGetSourceFile(readFile, getCompilerOptions, setParentNodes) {\n      return (fileName, languageVersionOrOptions, onError) => {\n        let text;\n        try {\n          mark(\"beforeIORead\");\n          text = readFile(fileName, getCompilerOptions().charset);\n          mark(\"afterIORead\");\n          measure(\"I/O Read\", \"beforeIORead\", \"afterIORead\");\n        } catch (e) {\n          if (onError) {\n            onError(e.message);\n          }\n          text = \"\";\n        }\n        return text !== void 0 ? createSourceFile(fileName, text, languageVersionOrOptions, setParentNodes) : void 0;\n      };\n    }\n    function createWriteFileMeasuringIO(actualWriteFile, createDirectory, directoryExists) {\n      return (fileName, data, writeByteOrderMark, onError) => {\n        try {\n          mark(\"beforeIOWrite\");\n          writeFileEnsuringDirectories(\n            fileName,\n            data,\n            writeByteOrderMark,\n            actualWriteFile,\n            createDirectory,\n            directoryExists\n          );\n          mark(\"afterIOWrite\");\n          measure(\"I/O Write\", \"beforeIOWrite\", \"afterIOWrite\");\n        } catch (e) {\n          if (onError) {\n            onError(e.message);\n          }\n        }\n      };\n    }\n    function createCompilerHostWorker(options, setParentNodes, system = sys) {\n      const existingDirectories = /* @__PURE__ */ new Map();\n      const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames);\n      function directoryExists(directoryPath) {\n        if (existingDirectories.has(directoryPath)) {\n          return true;\n        }\n        if ((compilerHost.directoryExists || system.directoryExists)(directoryPath)) {\n          existingDirectories.set(directoryPath, true);\n          return true;\n        }\n        return false;\n      }\n      function getDefaultLibLocation() {\n        return getDirectoryPath(normalizePath(system.getExecutingFilePath()));\n      }\n      const newLine = getNewLineCharacter(options);\n      const realpath = system.realpath && ((path) => system.realpath(path));\n      const compilerHost = {\n        getSourceFile: createGetSourceFile((fileName) => compilerHost.readFile(fileName), () => options, setParentNodes),\n        getDefaultLibLocation,\n        getDefaultLibFileName: (options2) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options2)),\n        writeFile: createWriteFileMeasuringIO(\n          (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark),\n          (path) => (compilerHost.createDirectory || system.createDirectory)(path),\n          (path) => directoryExists(path)\n        ),\n        getCurrentDirectory: memoize(() => system.getCurrentDirectory()),\n        useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames,\n        getCanonicalFileName,\n        getNewLine: () => newLine,\n        fileExists: (fileName) => system.fileExists(fileName),\n        readFile: (fileName) => system.readFile(fileName),\n        trace: (s) => system.write(s + newLine),\n        directoryExists: (directoryName) => system.directoryExists(directoryName),\n        getEnvironmentVariable: (name) => system.getEnvironmentVariable ? system.getEnvironmentVariable(name) : \"\",\n        getDirectories: (path) => system.getDirectories(path),\n        realpath,\n        readDirectory: (path, extensions, include, exclude, depth) => system.readDirectory(path, extensions, include, exclude, depth),\n        createDirectory: (d) => system.createDirectory(d),\n        createHash: maybeBind(system, system.createHash)\n      };\n      return compilerHost;\n    }\n    function changeCompilerHostLikeToUseCache(host, toPath3, getSourceFile) {\n      const originalReadFile = host.readFile;\n      const originalFileExists = host.fileExists;\n      const originalDirectoryExists = host.directoryExists;\n      const originalCreateDirectory = host.createDirectory;\n      const originalWriteFile = host.writeFile;\n      const readFileCache = /* @__PURE__ */ new Map();\n      const fileExistsCache = /* @__PURE__ */ new Map();\n      const directoryExistsCache = /* @__PURE__ */ new Map();\n      const sourceFileCache = /* @__PURE__ */ new Map();\n      const readFileWithCache = (fileName) => {\n        const key = toPath3(fileName);\n        const value = readFileCache.get(key);\n        if (value !== void 0)\n          return value !== false ? value : void 0;\n        return setReadFileCache(key, fileName);\n      };\n      const setReadFileCache = (key, fileName) => {\n        const newValue = originalReadFile.call(host, fileName);\n        readFileCache.set(key, newValue !== void 0 ? newValue : false);\n        return newValue;\n      };\n      host.readFile = (fileName) => {\n        const key = toPath3(fileName);\n        const value = readFileCache.get(key);\n        if (value !== void 0)\n          return value !== false ? value : void 0;\n        if (!fileExtensionIs(\n          fileName,\n          \".json\"\n          /* Json */\n        ) && !isBuildInfoFile(fileName)) {\n          return originalReadFile.call(host, fileName);\n        }\n        return setReadFileCache(key, fileName);\n      };\n      const getSourceFileWithCache = getSourceFile ? (fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) => {\n        const key = toPath3(fileName);\n        const impliedNodeFormat = typeof languageVersionOrOptions === \"object\" ? languageVersionOrOptions.impliedNodeFormat : void 0;\n        const forImpliedNodeFormat = sourceFileCache.get(impliedNodeFormat);\n        const value = forImpliedNodeFormat == null ? void 0 : forImpliedNodeFormat.get(key);\n        if (value)\n          return value;\n        const sourceFile = getSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile);\n        if (sourceFile && (isDeclarationFileName(fileName) || fileExtensionIs(\n          fileName,\n          \".json\"\n          /* Json */\n        ))) {\n          sourceFileCache.set(impliedNodeFormat, (forImpliedNodeFormat || /* @__PURE__ */ new Map()).set(key, sourceFile));\n        }\n        return sourceFile;\n      } : void 0;\n      host.fileExists = (fileName) => {\n        const key = toPath3(fileName);\n        const value = fileExistsCache.get(key);\n        if (value !== void 0)\n          return value;\n        const newValue = originalFileExists.call(host, fileName);\n        fileExistsCache.set(key, !!newValue);\n        return newValue;\n      };\n      if (originalWriteFile) {\n        host.writeFile = (fileName, data, ...rest) => {\n          const key = toPath3(fileName);\n          fileExistsCache.delete(key);\n          const value = readFileCache.get(key);\n          if (value !== void 0 && value !== data) {\n            readFileCache.delete(key);\n            sourceFileCache.forEach((map2) => map2.delete(key));\n          } else if (getSourceFileWithCache) {\n            sourceFileCache.forEach((map2) => {\n              const sourceFile = map2.get(key);\n              if (sourceFile && sourceFile.text !== data) {\n                map2.delete(key);\n              }\n            });\n          }\n          originalWriteFile.call(host, fileName, data, ...rest);\n        };\n      }\n      if (originalDirectoryExists) {\n        host.directoryExists = (directory) => {\n          const key = toPath3(directory);\n          const value = directoryExistsCache.get(key);\n          if (value !== void 0)\n            return value;\n          const newValue = originalDirectoryExists.call(host, directory);\n          directoryExistsCache.set(key, !!newValue);\n          return newValue;\n        };\n        if (originalCreateDirectory) {\n          host.createDirectory = (directory) => {\n            const key = toPath3(directory);\n            directoryExistsCache.delete(key);\n            originalCreateDirectory.call(host, directory);\n          };\n        }\n      }\n      return {\n        originalReadFile,\n        originalFileExists,\n        originalDirectoryExists,\n        originalCreateDirectory,\n        originalWriteFile,\n        getSourceFileWithCache,\n        readFileWithCache\n      };\n    }\n    function getPreEmitDiagnostics(program, sourceFile, cancellationToken) {\n      let diagnostics;\n      diagnostics = addRange(diagnostics, program.getConfigFileParsingDiagnostics());\n      diagnostics = addRange(diagnostics, program.getOptionsDiagnostics(cancellationToken));\n      diagnostics = addRange(diagnostics, program.getSyntacticDiagnostics(sourceFile, cancellationToken));\n      diagnostics = addRange(diagnostics, program.getGlobalDiagnostics(cancellationToken));\n      diagnostics = addRange(diagnostics, program.getSemanticDiagnostics(sourceFile, cancellationToken));\n      if (getEmitDeclarations(program.getCompilerOptions())) {\n        diagnostics = addRange(diagnostics, program.getDeclarationDiagnostics(sourceFile, cancellationToken));\n      }\n      return sortAndDeduplicateDiagnostics(diagnostics || emptyArray);\n    }\n    function formatDiagnostics(diagnostics, host) {\n      let output = \"\";\n      for (const diagnostic of diagnostics) {\n        output += formatDiagnostic(diagnostic, host);\n      }\n      return output;\n    }\n    function formatDiagnostic(diagnostic, host) {\n      const errorMessage = `${diagnosticCategoryName(diagnostic)} TS${diagnostic.code}: ${flattenDiagnosticMessageText2(diagnostic.messageText, host.getNewLine())}${host.getNewLine()}`;\n      if (diagnostic.file) {\n        const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);\n        const fileName = diagnostic.file.fileName;\n        const relativeFileName = convertToRelativePath(fileName, host.getCurrentDirectory(), (fileName2) => host.getCanonicalFileName(fileName2));\n        return `${relativeFileName}(${line + 1},${character + 1}): ` + errorMessage;\n      }\n      return errorMessage;\n    }\n    function getCategoryFormat(category) {\n      switch (category) {\n        case 1:\n          return \"\\x1B[91m\";\n        case 0:\n          return \"\\x1B[93m\";\n        case 2:\n          return Debug2.fail(\"Should never get an Info diagnostic on the command line.\");\n        case 3:\n          return \"\\x1B[94m\";\n      }\n    }\n    function formatColorAndReset(text, formatStyle) {\n      return formatStyle + text + resetEscapeSequence;\n    }\n    function formatCodeSpan(file, start, length2, indent2, squiggleColor, host) {\n      const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start);\n      const { line: lastLine, character: lastLineChar } = getLineAndCharacterOfPosition(file, start + length2);\n      const lastLineInFile = getLineAndCharacterOfPosition(file, file.text.length).line;\n      const hasMoreThanFiveLines = lastLine - firstLine >= 4;\n      let gutterWidth = (lastLine + 1 + \"\").length;\n      if (hasMoreThanFiveLines) {\n        gutterWidth = Math.max(ellipsis.length, gutterWidth);\n      }\n      let context = \"\";\n      for (let i = firstLine; i <= lastLine; i++) {\n        context += host.getNewLine();\n        if (hasMoreThanFiveLines && firstLine + 1 < i && i < lastLine - 1) {\n          context += indent2 + formatColorAndReset(padLeft(ellipsis, gutterWidth), gutterStyleSequence) + gutterSeparator + host.getNewLine();\n          i = lastLine - 1;\n        }\n        const lineStart = getPositionOfLineAndCharacter(file, i, 0);\n        const lineEnd = i < lastLineInFile ? getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.length;\n        let lineContent = file.text.slice(lineStart, lineEnd);\n        lineContent = trimStringEnd(lineContent);\n        lineContent = lineContent.replace(/\\t/g, \" \");\n        context += indent2 + formatColorAndReset(padLeft(i + 1 + \"\", gutterWidth), gutterStyleSequence) + gutterSeparator;\n        context += lineContent + host.getNewLine();\n        context += indent2 + formatColorAndReset(padLeft(\"\", gutterWidth), gutterStyleSequence) + gutterSeparator;\n        context += squiggleColor;\n        if (i === firstLine) {\n          const lastCharForLine = i === lastLine ? lastLineChar : void 0;\n          context += lineContent.slice(0, firstLineChar).replace(/\\S/g, \" \");\n          context += lineContent.slice(firstLineChar, lastCharForLine).replace(/./g, \"~\");\n        } else if (i === lastLine) {\n          context += lineContent.slice(0, lastLineChar).replace(/./g, \"~\");\n        } else {\n          context += lineContent.replace(/./g, \"~\");\n        }\n        context += resetEscapeSequence;\n      }\n      return context;\n    }\n    function formatLocation(file, start, host, color = formatColorAndReset) {\n      const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start);\n      const relativeFileName = host ? convertToRelativePath(file.fileName, host.getCurrentDirectory(), (fileName) => host.getCanonicalFileName(fileName)) : file.fileName;\n      let output = \"\";\n      output += color(\n        relativeFileName,\n        \"\\x1B[96m\"\n        /* Cyan */\n      );\n      output += \":\";\n      output += color(\n        `${firstLine + 1}`,\n        \"\\x1B[93m\"\n        /* Yellow */\n      );\n      output += \":\";\n      output += color(\n        `${firstLineChar + 1}`,\n        \"\\x1B[93m\"\n        /* Yellow */\n      );\n      return output;\n    }\n    function formatDiagnosticsWithColorAndContext(diagnostics, host) {\n      let output = \"\";\n      for (const diagnostic of diagnostics) {\n        if (diagnostic.file) {\n          const { file, start } = diagnostic;\n          output += formatLocation(file, start, host);\n          output += \" - \";\n        }\n        output += formatColorAndReset(diagnosticCategoryName(diagnostic), getCategoryFormat(diagnostic.category));\n        output += formatColorAndReset(\n          ` TS${diagnostic.code}: `,\n          \"\\x1B[90m\"\n          /* Grey */\n        );\n        output += flattenDiagnosticMessageText2(diagnostic.messageText, host.getNewLine());\n        if (diagnostic.file) {\n          output += host.getNewLine();\n          output += formatCodeSpan(diagnostic.file, diagnostic.start, diagnostic.length, \"\", getCategoryFormat(diagnostic.category), host);\n        }\n        if (diagnostic.relatedInformation) {\n          output += host.getNewLine();\n          for (const { file, start, length: length2, messageText } of diagnostic.relatedInformation) {\n            if (file) {\n              output += host.getNewLine();\n              output += halfIndent + formatLocation(file, start, host);\n              output += formatCodeSpan(file, start, length2, indent, \"\\x1B[96m\", host);\n            }\n            output += host.getNewLine();\n            output += indent + flattenDiagnosticMessageText2(messageText, host.getNewLine());\n          }\n        }\n        output += host.getNewLine();\n      }\n      return output;\n    }\n    function flattenDiagnosticMessageText2(diag2, newLine, indent2 = 0) {\n      if (isString2(diag2)) {\n        return diag2;\n      } else if (diag2 === void 0) {\n        return \"\";\n      }\n      let result = \"\";\n      if (indent2) {\n        result += newLine;\n        for (let i = 0; i < indent2; i++) {\n          result += \"  \";\n        }\n      }\n      result += diag2.messageText;\n      indent2++;\n      if (diag2.next) {\n        for (const kid of diag2.next) {\n          result += flattenDiagnosticMessageText2(kid, newLine, indent2);\n        }\n      }\n      return result;\n    }\n    function getModeForFileReference(ref, containingFileMode) {\n      return (isString2(ref) ? containingFileMode : ref.resolutionMode) || containingFileMode;\n    }\n    function getModeForResolutionAtIndex(file, index) {\n      if (file.impliedNodeFormat === void 0)\n        return void 0;\n      return getModeForUsageLocation(file, getModuleNameStringLiteralAt(file, index));\n    }\n    function isExclusivelyTypeOnlyImportOrExport(decl) {\n      var _a22;\n      if (isExportDeclaration(decl)) {\n        return decl.isTypeOnly;\n      }\n      if ((_a22 = decl.importClause) == null ? void 0 : _a22.isTypeOnly) {\n        return true;\n      }\n      return false;\n    }\n    function getModeForUsageLocation(file, usage) {\n      var _a22, _b3;\n      if (file.impliedNodeFormat === void 0)\n        return void 0;\n      if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent)) {\n        const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent);\n        if (isTypeOnly) {\n          const override = getResolutionModeOverrideForClause(usage.parent.assertClause);\n          if (override) {\n            return override;\n          }\n        }\n      }\n      if (usage.parent.parent && isImportTypeNode(usage.parent.parent)) {\n        const override = getResolutionModeOverrideForClause((_a22 = usage.parent.parent.assertions) == null ? void 0 : _a22.assertClause);\n        if (override) {\n          return override;\n        }\n      }\n      if (file.impliedNodeFormat !== 99) {\n        return isImportCall(walkUpParenthesizedExpressions(usage.parent)) ? 99 : 1;\n      }\n      const exprParentParent = (_b3 = walkUpParenthesizedExpressions(usage.parent)) == null ? void 0 : _b3.parent;\n      return exprParentParent && isImportEqualsDeclaration(exprParentParent) ? 1 : 99;\n    }\n    function getResolutionModeOverrideForClause(clause, grammarErrorOnNode) {\n      if (!clause)\n        return void 0;\n      if (length(clause.elements) !== 1) {\n        grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(clause, Diagnostics.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require);\n        return void 0;\n      }\n      const elem = clause.elements[0];\n      if (!isStringLiteralLike(elem.name))\n        return void 0;\n      if (elem.name.text !== \"resolution-mode\") {\n        grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(elem.name, Diagnostics.resolution_mode_is_the_only_valid_key_for_type_import_assertions);\n        return void 0;\n      }\n      if (!isStringLiteralLike(elem.value))\n        return void 0;\n      if (elem.value.text !== \"import\" && elem.value.text !== \"require\") {\n        grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(elem.value, Diagnostics.resolution_mode_should_be_either_require_or_import);\n        return void 0;\n      }\n      return elem.value.text === \"import\" ? 99 : 1;\n    }\n    function getModuleResolutionName(literal) {\n      return literal.text;\n    }\n    function createModuleResolutionLoader(containingFile, redirectedReference, options, host, cache) {\n      return {\n        nameAndMode: moduleResolutionNameAndModeGetter,\n        resolve: (moduleName, resolutionMode) => resolveModuleName(\n          moduleName,\n          containingFile,\n          options,\n          host,\n          cache,\n          redirectedReference,\n          resolutionMode\n        )\n      };\n    }\n    function getTypeReferenceResolutionName(entry) {\n      return !isString2(entry) ? toFileNameLowerCase(entry.fileName) : entry;\n    }\n    function createTypeReferenceResolutionLoader(containingFile, redirectedReference, options, host, cache) {\n      return {\n        nameAndMode: typeReferenceResolutionNameAndModeGetter,\n        resolve: (typeRef, resoluionMode) => resolveTypeReferenceDirective(\n          typeRef,\n          containingFile,\n          options,\n          host,\n          redirectedReference,\n          cache,\n          resoluionMode\n        )\n      };\n    }\n    function loadWithModeAwareCache(entries, containingFile, redirectedReference, options, containingSourceFile, host, resolutionCache, createLoader) {\n      if (entries.length === 0)\n        return emptyArray;\n      const resolutions = [];\n      const cache = /* @__PURE__ */ new Map();\n      const loader = createLoader(containingFile, redirectedReference, options, host, resolutionCache);\n      for (const entry of entries) {\n        const name = loader.nameAndMode.getName(entry);\n        const mode = loader.nameAndMode.getMode(entry, containingSourceFile);\n        const key = createModeAwareCacheKey(name, mode);\n        let result = cache.get(key);\n        if (!result) {\n          cache.set(key, result = loader.resolve(name, mode));\n        }\n        resolutions.push(result);\n      }\n      return resolutions;\n    }\n    function forEachResolvedProjectReference(resolvedProjectReferences, cb) {\n      return forEachProjectReference(\n        /*projectReferences*/\n        void 0,\n        resolvedProjectReferences,\n        (resolvedRef, parent2) => resolvedRef && cb(resolvedRef, parent2)\n      );\n    }\n    function forEachProjectReference(projectReferences, resolvedProjectReferences, cbResolvedRef, cbRef) {\n      let seenResolvedRefs;\n      return worker(\n        projectReferences,\n        resolvedProjectReferences,\n        /*parent*/\n        void 0\n      );\n      function worker(projectReferences2, resolvedProjectReferences2, parent2) {\n        if (cbRef) {\n          const result = cbRef(projectReferences2, parent2);\n          if (result)\n            return result;\n        }\n        return forEach(resolvedProjectReferences2, (resolvedRef, index) => {\n          if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) {\n            return void 0;\n          }\n          const result = cbResolvedRef(resolvedRef, parent2, index);\n          if (result || !resolvedRef)\n            return result;\n          (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path);\n          return worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef);\n        });\n      }\n    }\n    function isReferencedFile(reason) {\n      switch (reason == null ? void 0 : reason.kind) {\n        case 3:\n        case 4:\n        case 5:\n        case 7:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isReferenceFileLocation(location) {\n      return location.pos !== void 0;\n    }\n    function getReferencedFileLocation(getSourceFileByPath, ref) {\n      var _a22, _b3, _c, _d, _e, _f;\n      const file = Debug2.checkDefined(getSourceFileByPath(ref.file));\n      const { kind, index } = ref;\n      let pos, end, packageId, resolutionMode;\n      switch (kind) {\n        case 3:\n          const importLiteral = getModuleNameStringLiteralAt(file, index);\n          packageId = (_c = (_b3 = (_a22 = file.resolvedModules) == null ? void 0 : _a22.get(importLiteral.text, getModeForResolutionAtIndex(file, index))) == null ? void 0 : _b3.resolvedModule) == null ? void 0 : _c.packageId;\n          if (importLiteral.pos === -1)\n            return { file, packageId, text: importLiteral.text };\n          pos = skipTrivia(file.text, importLiteral.pos);\n          end = importLiteral.end;\n          break;\n        case 4:\n          ({ pos, end } = file.referencedFiles[index]);\n          break;\n        case 5:\n          ({ pos, end, resolutionMode } = file.typeReferenceDirectives[index]);\n          packageId = (_f = (_e = (_d = file.resolvedTypeReferenceDirectiveNames) == null ? void 0 : _d.get(toFileNameLowerCase(file.typeReferenceDirectives[index].fileName), resolutionMode || file.impliedNodeFormat)) == null ? void 0 : _e.resolvedTypeReferenceDirective) == null ? void 0 : _f.packageId;\n          break;\n        case 7:\n          ({ pos, end } = file.libReferenceDirectives[index]);\n          break;\n        default:\n          return Debug2.assertNever(kind);\n      }\n      return { file, pos, end, packageId };\n    }\n    function isProgramUptoDate(program, rootFileNames, newOptions, getSourceVersion, fileExists, hasInvalidatedResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences) {\n      if (!program || (hasChangedAutomaticTypeDirectiveNames == null ? void 0 : hasChangedAutomaticTypeDirectiveNames()))\n        return false;\n      if (!arrayIsEqualTo(program.getRootFileNames(), rootFileNames))\n        return false;\n      let seenResolvedRefs;\n      if (!arrayIsEqualTo(program.getProjectReferences(), projectReferences, projectReferenceUptoDate))\n        return false;\n      if (program.getSourceFiles().some(sourceFileNotUptoDate))\n        return false;\n      if (program.getMissingFilePaths().some(fileExists))\n        return false;\n      const currentOptions = program.getCompilerOptions();\n      if (!compareDataObjects(currentOptions, newOptions))\n        return false;\n      if (currentOptions.configFile && newOptions.configFile)\n        return currentOptions.configFile.text === newOptions.configFile.text;\n      return true;\n      function sourceFileNotUptoDate(sourceFile) {\n        return !sourceFileVersionUptoDate(sourceFile) || hasInvalidatedResolutions(sourceFile.path);\n      }\n      function sourceFileVersionUptoDate(sourceFile) {\n        return sourceFile.version === getSourceVersion(sourceFile.resolvedPath, sourceFile.fileName);\n      }\n      function projectReferenceUptoDate(oldRef, newRef, index) {\n        return projectReferenceIsEqualTo(oldRef, newRef) && resolvedProjectReferenceUptoDate(program.getResolvedProjectReferences()[index], oldRef);\n      }\n      function resolvedProjectReferenceUptoDate(oldResolvedRef, oldRef) {\n        if (oldResolvedRef) {\n          if (contains(seenResolvedRefs, oldResolvedRef))\n            return true;\n          const refPath2 = resolveProjectReferencePath(oldRef);\n          const newParsedCommandLine = getParsedCommandLine(refPath2);\n          if (!newParsedCommandLine)\n            return false;\n          if (oldResolvedRef.commandLine.options.configFile !== newParsedCommandLine.options.configFile)\n            return false;\n          if (!arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newParsedCommandLine.fileNames))\n            return false;\n          (seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef);\n          return !forEach(oldResolvedRef.references, (childResolvedRef, index) => !resolvedProjectReferenceUptoDate(childResolvedRef, oldResolvedRef.commandLine.projectReferences[index]));\n        }\n        const refPath = resolveProjectReferencePath(oldRef);\n        return !getParsedCommandLine(refPath);\n      }\n    }\n    function getConfigFileParsingDiagnostics(configFileParseResult) {\n      return configFileParseResult.options.configFile ? [...configFileParseResult.options.configFile.parseDiagnostics, ...configFileParseResult.errors] : configFileParseResult.errors;\n    }\n    function getImpliedNodeFormatForFile(fileName, packageJsonInfoCache, host, options) {\n      const result = getImpliedNodeFormatForFileWorker(fileName, packageJsonInfoCache, host, options);\n      return typeof result === \"object\" ? result.impliedNodeFormat : result;\n    }\n    function getImpliedNodeFormatForFileWorker(fileName, packageJsonInfoCache, host, options) {\n      switch (getEmitModuleResolutionKind(options)) {\n        case 3:\n        case 99:\n          return fileExtensionIsOneOf(fileName, [\n            \".d.mts\",\n            \".mts\",\n            \".mjs\"\n            /* Mjs */\n          ]) ? 99 : fileExtensionIsOneOf(fileName, [\n            \".d.cts\",\n            \".cts\",\n            \".cjs\"\n            /* Cjs */\n          ]) ? 1 : fileExtensionIsOneOf(fileName, [\n            \".d.ts\",\n            \".ts\",\n            \".tsx\",\n            \".js\",\n            \".jsx\"\n            /* Jsx */\n          ]) ? lookupFromPackageJson() : void 0;\n        default:\n          return void 0;\n      }\n      function lookupFromPackageJson() {\n        const state = getTemporaryModuleResolutionState(packageJsonInfoCache, host, options);\n        const packageJsonLocations = [];\n        state.failedLookupLocations = packageJsonLocations;\n        state.affectingLocations = packageJsonLocations;\n        const packageJsonScope = getPackageScopeForPath(fileName, state);\n        const impliedNodeFormat = (packageJsonScope == null ? void 0 : packageJsonScope.contents.packageJsonContent.type) === \"module\" ? 99 : 1;\n        return { impliedNodeFormat, packageJsonLocations, packageJsonScope };\n      }\n    }\n    function shouldProgramCreateNewSourceFiles(program, newOptions) {\n      if (!program)\n        return false;\n      return optionsHaveChanges(program.getCompilerOptions(), newOptions, sourceFileAffectingCompilerOptions);\n    }\n    function createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnostics, typeScriptVersion3) {\n      return {\n        rootNames,\n        options,\n        host,\n        oldProgram,\n        configFileParsingDiagnostics,\n        typeScriptVersion: typeScriptVersion3\n      };\n    }\n    function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {\n      var _a22, _b3, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;\n      const createProgramOptions = isArray(rootNamesOrOptions) ? createCreateProgramOptions(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : rootNamesOrOptions;\n      const { rootNames, options, configFileParsingDiagnostics, projectReferences, typeScriptVersion: typeScriptVersion3 } = createProgramOptions;\n      let { oldProgram } = createProgramOptions;\n      const reportInvalidIgnoreDeprecations = memoize(() => createOptionValueDiagnostic(\"ignoreDeprecations\", Diagnostics.Invalid_value_for_ignoreDeprecations));\n      let processingDefaultLibFiles;\n      let processingOtherFiles;\n      let files;\n      let symlinks;\n      let commonSourceDirectory;\n      let typeChecker;\n      let classifiableNames;\n      const ambientModuleNameToUnmodifiedFileName = /* @__PURE__ */ new Map();\n      let fileReasons = createMultiMap();\n      const cachedBindAndCheckDiagnosticsForFile = {};\n      const cachedDeclarationDiagnosticsForFile = {};\n      let resolvedTypeReferenceDirectives = createModeAwareCache();\n      let fileProcessingDiagnostics;\n      let automaticTypeDirectiveNames;\n      let automaticTypeDirectiveResolutions;\n      const maxNodeModuleJsDepth = typeof options.maxNodeModuleJsDepth === \"number\" ? options.maxNodeModuleJsDepth : 0;\n      let currentNodeModulesDepth = 0;\n      const modulesWithElidedImports = /* @__PURE__ */ new Map();\n      const sourceFilesFoundSearchingNodeModules = /* @__PURE__ */ new Map();\n      (_a22 = tracing) == null ? void 0 : _a22.push(\n        tracing.Phase.Program,\n        \"createProgram\",\n        { configFilePath: options.configFilePath, rootDir: options.rootDir },\n        /*separateBeginAndEnd*/\n        true\n      );\n      mark(\"beforeProgram\");\n      const host = createProgramOptions.host || createCompilerHost(options);\n      const configParsingHost = parseConfigHostFromCompilerHostLike(host);\n      let skipDefaultLib = options.noLib;\n      const getDefaultLibraryFileName = memoize(() => host.getDefaultLibFileName(options));\n      const defaultLibraryPath = host.getDefaultLibLocation ? host.getDefaultLibLocation() : getDirectoryPath(getDefaultLibraryFileName());\n      const programDiagnostics = createDiagnosticCollection();\n      const currentDirectory = host.getCurrentDirectory();\n      const supportedExtensions = getSupportedExtensions(options);\n      const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions);\n      const hasEmitBlockingDiagnostics = /* @__PURE__ */ new Map();\n      let _compilerOptionsObjectLiteralSyntax;\n      let moduleResolutionCache;\n      let actualResolveModuleNamesWorker;\n      const hasInvalidatedResolutions = host.hasInvalidatedResolutions || returnFalse;\n      if (host.resolveModuleNameLiterals) {\n        actualResolveModuleNamesWorker = host.resolveModuleNameLiterals.bind(host);\n        moduleResolutionCache = (_b3 = host.getModuleResolutionCache) == null ? void 0 : _b3.call(host);\n      } else if (host.resolveModuleNames) {\n        actualResolveModuleNamesWorker = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile, reusedNames) => host.resolveModuleNames(\n          moduleNames.map(getModuleResolutionName),\n          containingFile,\n          reusedNames == null ? void 0 : reusedNames.map(getModuleResolutionName),\n          redirectedReference,\n          options2,\n          containingSourceFile\n        ).map(\n          (resolved) => resolved ? resolved.extension !== void 0 ? { resolvedModule: resolved } : (\n            // An older host may have omitted extension, in which case we should infer it from the file extension of resolvedFileName.\n            { resolvedModule: { ...resolved, extension: extensionFromPath(resolved.resolvedFileName) } }\n          ) : emptyResolution\n        );\n        moduleResolutionCache = (_c = host.getModuleResolutionCache) == null ? void 0 : _c.call(host);\n      } else {\n        moduleResolutionCache = createModuleResolutionCache(currentDirectory, getCanonicalFileName, options);\n        actualResolveModuleNamesWorker = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache(\n          moduleNames,\n          containingFile,\n          redirectedReference,\n          options2,\n          containingSourceFile,\n          host,\n          moduleResolutionCache,\n          createModuleResolutionLoader\n        );\n      }\n      let actualResolveTypeReferenceDirectiveNamesWorker;\n      if (host.resolveTypeReferenceDirectiveReferences) {\n        actualResolveTypeReferenceDirectiveNamesWorker = host.resolveTypeReferenceDirectiveReferences.bind(host);\n      } else if (host.resolveTypeReferenceDirectives) {\n        actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => host.resolveTypeReferenceDirectives(\n          typeDirectiveNames.map(getTypeReferenceResolutionName),\n          containingFile,\n          redirectedReference,\n          options2,\n          containingSourceFile == null ? void 0 : containingSourceFile.impliedNodeFormat\n        ).map((resolvedTypeReferenceDirective) => ({ resolvedTypeReferenceDirective }));\n      } else {\n        const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache(\n          currentDirectory,\n          getCanonicalFileName,\n          /*options*/\n          void 0,\n          moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache()\n        );\n        actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache(\n          typeDirectiveNames,\n          containingFile,\n          redirectedReference,\n          options2,\n          containingSourceFile,\n          host,\n          typeReferenceDirectiveResolutionCache,\n          createTypeReferenceResolutionLoader\n        );\n      }\n      const packageIdToSourceFile = /* @__PURE__ */ new Map();\n      let sourceFileToPackageName = /* @__PURE__ */ new Map();\n      let redirectTargetsMap = createMultiMap();\n      let usesUriStyleNodeCoreModules = false;\n      const filesByName = /* @__PURE__ */ new Map();\n      let missingFilePaths;\n      const filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? /* @__PURE__ */ new Map() : void 0;\n      let resolvedProjectReferences;\n      let projectReferenceRedirects;\n      let mapFromFileToProjectReferenceRedirects;\n      let mapFromToProjectReferenceRedirectSource;\n      const useSourceOfProjectReferenceRedirect = !!((_d = host.useSourceOfProjectReferenceRedirect) == null ? void 0 : _d.call(host)) && !options.disableSourceOfProjectReferenceRedirect;\n      const { onProgramCreateComplete, fileExists, directoryExists } = updateHostForUseSourceOfProjectReferenceRedirect({\n        compilerHost: host,\n        getSymlinkCache,\n        useSourceOfProjectReferenceRedirect,\n        toPath: toPath3,\n        getResolvedProjectReferences,\n        getSourceOfProjectReferenceRedirect,\n        forEachResolvedProjectReference: forEachResolvedProjectReference2\n      });\n      const readFile = host.readFile.bind(host);\n      (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Program, \"shouldProgramCreateNewSourceFiles\", { hasOldProgram: !!oldProgram });\n      const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options);\n      (_f = tracing) == null ? void 0 : _f.pop();\n      let structureIsReused;\n      (_g = tracing) == null ? void 0 : _g.push(tracing.Phase.Program, \"tryReuseStructureFromOldProgram\", {});\n      structureIsReused = tryReuseStructureFromOldProgram();\n      (_h = tracing) == null ? void 0 : _h.pop();\n      if (structureIsReused !== 2) {\n        processingDefaultLibFiles = [];\n        processingOtherFiles = [];\n        if (projectReferences) {\n          if (!resolvedProjectReferences) {\n            resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile);\n          }\n          if (rootNames.length) {\n            resolvedProjectReferences == null ? void 0 : resolvedProjectReferences.forEach((parsedRef, index) => {\n              if (!parsedRef)\n                return;\n              const out = outFile(parsedRef.commandLine.options);\n              if (useSourceOfProjectReferenceRedirect) {\n                if (out || getEmitModuleKind(parsedRef.commandLine.options) === 0) {\n                  for (const fileName of parsedRef.commandLine.fileNames) {\n                    processProjectReferenceFile(fileName, { kind: 1, index });\n                  }\n                }\n              } else {\n                if (out) {\n                  processProjectReferenceFile(changeExtension(out, \".d.ts\"), { kind: 2, index });\n                } else if (getEmitModuleKind(parsedRef.commandLine.options) === 0) {\n                  const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(parsedRef.commandLine, !host.useCaseSensitiveFileNames()));\n                  for (const fileName of parsedRef.commandLine.fileNames) {\n                    if (!isDeclarationFileName(fileName) && !fileExtensionIs(\n                      fileName,\n                      \".json\"\n                      /* Json */\n                    )) {\n                      processProjectReferenceFile(getOutputDeclarationFileName(fileName, parsedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3), { kind: 2, index });\n                    }\n                  }\n                }\n              }\n            });\n          }\n        }\n        (_i = tracing) == null ? void 0 : _i.push(tracing.Phase.Program, \"processRootFiles\", { count: rootNames.length });\n        forEach(rootNames, (name, index) => processRootFile(\n          name,\n          /*isDefaultLib*/\n          false,\n          /*ignoreNoDefaultLib*/\n          false,\n          { kind: 0, index }\n        ));\n        (_j = tracing) == null ? void 0 : _j.pop();\n        automaticTypeDirectiveNames != null ? automaticTypeDirectiveNames : automaticTypeDirectiveNames = rootNames.length ? getAutomaticTypeDirectiveNames(options, host) : emptyArray;\n        automaticTypeDirectiveResolutions = createModeAwareCache();\n        if (automaticTypeDirectiveNames.length) {\n          (_k = tracing) == null ? void 0 : _k.push(tracing.Phase.Program, \"processTypeReferences\", { count: automaticTypeDirectiveNames.length });\n          const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory();\n          const containingFilename = combinePaths(containingDirectory, inferredTypesContainingFile);\n          const resolutions = resolveTypeReferenceDirectiveNamesReusingOldState(automaticTypeDirectiveNames, containingFilename);\n          for (let i = 0; i < automaticTypeDirectiveNames.length; i++) {\n            automaticTypeDirectiveResolutions.set(\n              automaticTypeDirectiveNames[i],\n              /*mode*/\n              void 0,\n              resolutions[i]\n            );\n            processTypeReferenceDirective(\n              automaticTypeDirectiveNames[i],\n              /*mode*/\n              void 0,\n              resolutions[i],\n              {\n                kind: 8,\n                typeReference: automaticTypeDirectiveNames[i],\n                packageId: (_m = (_l = resolutions[i]) == null ? void 0 : _l.resolvedTypeReferenceDirective) == null ? void 0 : _m.packageId\n              }\n            );\n          }\n          (_n = tracing) == null ? void 0 : _n.pop();\n        }\n        if (rootNames.length && !skipDefaultLib) {\n          const defaultLibraryFileName = getDefaultLibraryFileName();\n          if (!options.lib && defaultLibraryFileName) {\n            processRootFile(\n              defaultLibraryFileName,\n              /*isDefaultLib*/\n              true,\n              /*ignoreNoDefaultLib*/\n              false,\n              {\n                kind: 6\n                /* LibFile */\n              }\n            );\n          } else {\n            forEach(options.lib, (libFileName, index) => {\n              processRootFile(\n                pathForLibFile(libFileName),\n                /*isDefaultLib*/\n                true,\n                /*ignoreNoDefaultLib*/\n                false,\n                { kind: 6, index }\n              );\n            });\n          }\n        }\n        missingFilePaths = arrayFrom(mapDefinedIterator(filesByName.entries(), ([path, file]) => file === void 0 ? path : void 0));\n        files = stableSort(processingDefaultLibFiles, compareDefaultLibFiles).concat(processingOtherFiles);\n        processingDefaultLibFiles = void 0;\n        processingOtherFiles = void 0;\n      }\n      Debug2.assert(!!missingFilePaths);\n      if (oldProgram && host.onReleaseOldSourceFile) {\n        const oldSourceFiles = oldProgram.getSourceFiles();\n        for (const oldSourceFile of oldSourceFiles) {\n          const newFile = getSourceFileByPath(oldSourceFile.resolvedPath);\n          if (shouldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFormat || // old file wasn't redirect but new file is\n          oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path) {\n            host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(oldSourceFile.path));\n          }\n        }\n        if (!host.getParsedCommandLine) {\n          oldProgram.forEachResolvedProjectReference((resolvedProjectReference) => {\n            if (!getResolvedProjectReferenceByPath(resolvedProjectReference.sourceFile.path)) {\n              host.onReleaseOldSourceFile(\n                resolvedProjectReference.sourceFile,\n                oldProgram.getCompilerOptions(),\n                /*hasSourceFileByPath*/\n                false\n              );\n            }\n          });\n        }\n      }\n      if (oldProgram && host.onReleaseParsedCommandLine) {\n        forEachProjectReference(\n          oldProgram.getProjectReferences(),\n          oldProgram.getResolvedProjectReferences(),\n          (oldResolvedRef, parent2, index) => {\n            const oldReference = (parent2 == null ? void 0 : parent2.commandLine.projectReferences[index]) || oldProgram.getProjectReferences()[index];\n            const oldRefPath = resolveProjectReferencePath(oldReference);\n            if (!(projectReferenceRedirects == null ? void 0 : projectReferenceRedirects.has(toPath3(oldRefPath)))) {\n              host.onReleaseParsedCommandLine(oldRefPath, oldResolvedRef, oldProgram.getCompilerOptions());\n            }\n          }\n        );\n      }\n      oldProgram = void 0;\n      const program = {\n        getRootFileNames: () => rootNames,\n        getSourceFile,\n        getSourceFileByPath,\n        getSourceFiles: () => files,\n        getMissingFilePaths: () => missingFilePaths,\n        // TODO: GH#18217\n        getModuleResolutionCache: () => moduleResolutionCache,\n        getFilesByNameMap: () => filesByName,\n        getCompilerOptions: () => options,\n        getSyntacticDiagnostics,\n        getOptionsDiagnostics,\n        getGlobalDiagnostics,\n        getSemanticDiagnostics,\n        getCachedSemanticDiagnostics,\n        getSuggestionDiagnostics,\n        getDeclarationDiagnostics: getDeclarationDiagnostics2,\n        getBindAndCheckDiagnostics,\n        getProgramDiagnostics,\n        getTypeChecker,\n        getClassifiableNames,\n        getCommonSourceDirectory: getCommonSourceDirectory2,\n        emit,\n        getCurrentDirectory: () => currentDirectory,\n        getNodeCount: () => getTypeChecker().getNodeCount(),\n        getIdentifierCount: () => getTypeChecker().getIdentifierCount(),\n        getSymbolCount: () => getTypeChecker().getSymbolCount(),\n        getTypeCount: () => getTypeChecker().getTypeCount(),\n        getInstantiationCount: () => getTypeChecker().getInstantiationCount(),\n        getRelationCacheSizes: () => getTypeChecker().getRelationCacheSizes(),\n        getFileProcessingDiagnostics: () => fileProcessingDiagnostics,\n        getResolvedTypeReferenceDirectives: () => resolvedTypeReferenceDirectives,\n        getAutomaticTypeDirectiveNames: () => automaticTypeDirectiveNames,\n        getAutomaticTypeDirectiveResolutions: () => automaticTypeDirectiveResolutions,\n        isSourceFileFromExternalLibrary,\n        isSourceFileDefaultLibrary,\n        getSourceFileFromReference,\n        getLibFileFromReference,\n        sourceFileToPackageName,\n        redirectTargetsMap,\n        usesUriStyleNodeCoreModules,\n        isEmittedFile,\n        getConfigFileParsingDiagnostics: getConfigFileParsingDiagnostics2,\n        getProjectReferences,\n        getResolvedProjectReferences,\n        getProjectReferenceRedirect,\n        getResolvedProjectReferenceToRedirect,\n        getResolvedProjectReferenceByPath,\n        forEachResolvedProjectReference: forEachResolvedProjectReference2,\n        isSourceOfProjectReferenceRedirect,\n        emitBuildInfo,\n        fileExists,\n        readFile,\n        directoryExists,\n        getSymlinkCache,\n        realpath: (_o = host.realpath) == null ? void 0 : _o.bind(host),\n        useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),\n        getCanonicalFileName,\n        getFileIncludeReasons: () => fileReasons,\n        structureIsReused,\n        writeFile: writeFile2\n      };\n      onProgramCreateComplete();\n      fileProcessingDiagnostics == null ? void 0 : fileProcessingDiagnostics.forEach((diagnostic) => {\n        switch (diagnostic.kind) {\n          case 1:\n            return programDiagnostics.add(createDiagnosticExplainingFile(diagnostic.file && getSourceFileByPath(diagnostic.file), diagnostic.fileProcessingReason, diagnostic.diagnostic, diagnostic.args || emptyArray));\n          case 0:\n            const { file, pos, end } = getReferencedFileLocation(getSourceFileByPath, diagnostic.reason);\n            return programDiagnostics.add(createFileDiagnostic(file, Debug2.checkDefined(pos), Debug2.checkDefined(end) - pos, diagnostic.diagnostic, ...diagnostic.args || emptyArray));\n          case 2:\n            return diagnostic.diagnostics.forEach((d) => programDiagnostics.add(d));\n          default:\n            Debug2.assertNever(diagnostic);\n        }\n      });\n      verifyCompilerOptions();\n      mark(\"afterProgram\");\n      measure(\"Program\", \"beforeProgram\", \"afterProgram\");\n      (_p = tracing) == null ? void 0 : _p.pop();\n      return program;\n      function addResolutionDiagnostics(resolution) {\n        var _a32;\n        if (!((_a32 = resolution.resolutionDiagnostics) == null ? void 0 : _a32.length))\n          return;\n        (fileProcessingDiagnostics != null ? fileProcessingDiagnostics : fileProcessingDiagnostics = []).push({\n          kind: 2,\n          diagnostics: resolution.resolutionDiagnostics\n        });\n      }\n      function addResolutionDiagnosticsFromResolutionOrCache(containingFile, name, resolution, mode) {\n        if (host.resolveModuleNameLiterals || !host.resolveModuleNames)\n          return addResolutionDiagnostics(resolution);\n        if (!moduleResolutionCache || isExternalModuleNameRelative(name))\n          return;\n        const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory);\n        const containingDir = getDirectoryPath(containingFileName);\n        const redirectedReference = getRedirectReferenceForResolution(containingFile);\n        const fromCache = moduleResolutionCache.getFromNonRelativeNameCache(name, mode, containingDir, redirectedReference);\n        if (fromCache)\n          addResolutionDiagnostics(fromCache);\n      }\n      function resolveModuleNamesWorker(moduleNames, containingFile, reusedNames) {\n        var _a32, _b22;\n        if (!moduleNames.length)\n          return emptyArray;\n        const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory);\n        const redirectedReference = getRedirectReferenceForResolution(containingFile);\n        (_a32 = tracing) == null ? void 0 : _a32.push(tracing.Phase.Program, \"resolveModuleNamesWorker\", { containingFileName });\n        mark(\"beforeResolveModule\");\n        const result = actualResolveModuleNamesWorker(moduleNames, containingFileName, redirectedReference, options, containingFile, reusedNames);\n        mark(\"afterResolveModule\");\n        measure(\"ResolveModule\", \"beforeResolveModule\", \"afterResolveModule\");\n        (_b22 = tracing) == null ? void 0 : _b22.pop();\n        return result;\n      }\n      function resolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFile, reusedNames) {\n        var _a32, _b22;\n        if (!typeDirectiveNames.length)\n          return [];\n        const containingSourceFile = !isString2(containingFile) ? containingFile : void 0;\n        const containingFileName = !isString2(containingFile) ? getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory) : containingFile;\n        const redirectedReference = containingSourceFile && getRedirectReferenceForResolution(containingSourceFile);\n        (_a32 = tracing) == null ? void 0 : _a32.push(tracing.Phase.Program, \"resolveTypeReferenceDirectiveNamesWorker\", { containingFileName });\n        mark(\"beforeResolveTypeReference\");\n        const result = actualResolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFileName, redirectedReference, options, containingSourceFile, reusedNames);\n        mark(\"afterResolveTypeReference\");\n        measure(\"ResolveTypeReference\", \"beforeResolveTypeReference\", \"afterResolveTypeReference\");\n        (_b22 = tracing) == null ? void 0 : _b22.pop();\n        return result;\n      }\n      function getRedirectReferenceForResolution(file) {\n        const redirect = getResolvedProjectReferenceToRedirect(file.originalFileName);\n        if (redirect || !isDeclarationFileName(file.originalFileName))\n          return redirect;\n        const resultFromDts = getRedirectReferenceForResolutionFromSourceOfProject(file.path);\n        if (resultFromDts)\n          return resultFromDts;\n        if (!host.realpath || !options.preserveSymlinks || !stringContains(file.originalFileName, nodeModulesPathPart))\n          return void 0;\n        const realDeclarationPath = toPath3(host.realpath(file.originalFileName));\n        return realDeclarationPath === file.path ? void 0 : getRedirectReferenceForResolutionFromSourceOfProject(realDeclarationPath);\n      }\n      function getRedirectReferenceForResolutionFromSourceOfProject(filePath) {\n        const source = getSourceOfProjectReferenceRedirect(filePath);\n        if (isString2(source))\n          return getResolvedProjectReferenceToRedirect(source);\n        if (!source)\n          return void 0;\n        return forEachResolvedProjectReference2((resolvedRef) => {\n          const out = outFile(resolvedRef.commandLine.options);\n          if (!out)\n            return void 0;\n          return toPath3(out) === filePath ? resolvedRef : void 0;\n        });\n      }\n      function compareDefaultLibFiles(a, b) {\n        return compareValues(getDefaultLibFilePriority(a), getDefaultLibFilePriority(b));\n      }\n      function getDefaultLibFilePriority(a) {\n        if (containsPath(\n          defaultLibraryPath,\n          a.fileName,\n          /*ignoreCase*/\n          false\n        )) {\n          const basename2 = getBaseFileName(a.fileName);\n          if (basename2 === \"lib.d.ts\" || basename2 === \"lib.es6.d.ts\")\n            return 0;\n          const name = removeSuffix(removePrefix(basename2, \"lib.\"), \".d.ts\");\n          const index = libs.indexOf(name);\n          if (index !== -1)\n            return index + 1;\n        }\n        return libs.length + 2;\n      }\n      function toPath3(fileName) {\n        return toPath(fileName, currentDirectory, getCanonicalFileName);\n      }\n      function getCommonSourceDirectory2() {\n        if (commonSourceDirectory === void 0) {\n          const emittedFiles = filter(files, (file) => sourceFileMayBeEmitted(file, program));\n          commonSourceDirectory = getCommonSourceDirectory(\n            options,\n            () => mapDefined(emittedFiles, (file) => file.isDeclarationFile ? void 0 : file.fileName),\n            currentDirectory,\n            getCanonicalFileName,\n            (commonSourceDirectory2) => checkSourceFilesBelongToPath(emittedFiles, commonSourceDirectory2)\n          );\n        }\n        return commonSourceDirectory;\n      }\n      function getClassifiableNames() {\n        var _a32;\n        if (!classifiableNames) {\n          getTypeChecker();\n          classifiableNames = /* @__PURE__ */ new Set();\n          for (const sourceFile of files) {\n            (_a32 = sourceFile.classifiableNames) == null ? void 0 : _a32.forEach((value) => classifiableNames.add(value));\n          }\n        }\n        return classifiableNames;\n      }\n      function resolveModuleNamesReusingOldState(moduleNames, file) {\n        var _a32;\n        if (structureIsReused === 0 && !file.ambientModuleNames.length) {\n          return resolveModuleNamesWorker(\n            moduleNames,\n            file,\n            /*reusedNames*/\n            void 0\n          );\n        }\n        const oldSourceFile = oldProgram && oldProgram.getSourceFile(file.fileName);\n        if (oldSourceFile !== file && file.resolvedModules) {\n          const result2 = [];\n          for (const moduleName of moduleNames) {\n            const resolvedModule = file.resolvedModules.get(moduleName.text, getModeForUsageLocation(file, moduleName));\n            result2.push(resolvedModule);\n          }\n          return result2;\n        }\n        let unknownModuleNames;\n        let result;\n        let reusedNames;\n        const predictedToResolveToAmbientModuleMarker = emptyResolution;\n        for (let i = 0; i < moduleNames.length; i++) {\n          const moduleName = moduleNames[i];\n          if (file === oldSourceFile && !hasInvalidatedResolutions(oldSourceFile.path)) {\n            const mode = getModeForUsageLocation(file, moduleName);\n            const oldResolution = (_a32 = oldSourceFile.resolvedModules) == null ? void 0 : _a32.get(moduleName.text, mode);\n            if (oldResolution == null ? void 0 : oldResolution.resolvedModule) {\n              if (isTraceEnabled(options, host)) {\n                trace(\n                  host,\n                  oldResolution.resolvedModule.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,\n                  moduleName.text,\n                  getNormalizedAbsolutePath(file.originalFileName, currentDirectory),\n                  oldResolution.resolvedModule.resolvedFileName,\n                  oldResolution.resolvedModule.packageId && packageIdToString(oldResolution.resolvedModule.packageId)\n                );\n              }\n              (result != null ? result : result = new Array(moduleNames.length))[i] = oldResolution;\n              (reusedNames != null ? reusedNames : reusedNames = []).push(moduleName);\n              continue;\n            }\n          }\n          let resolvesToAmbientModuleInNonModifiedFile = false;\n          if (contains(file.ambientModuleNames, moduleName.text)) {\n            resolvesToAmbientModuleInNonModifiedFile = true;\n            if (isTraceEnabled(options, host)) {\n              trace(host, Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, moduleName.text, getNormalizedAbsolutePath(file.originalFileName, currentDirectory));\n            }\n          } else {\n            resolvesToAmbientModuleInNonModifiedFile = moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName);\n          }\n          if (resolvesToAmbientModuleInNonModifiedFile) {\n            (result || (result = new Array(moduleNames.length)))[i] = predictedToResolveToAmbientModuleMarker;\n          } else {\n            (unknownModuleNames != null ? unknownModuleNames : unknownModuleNames = []).push(moduleName);\n          }\n        }\n        const resolutions = unknownModuleNames && unknownModuleNames.length ? resolveModuleNamesWorker(unknownModuleNames, file, reusedNames) : emptyArray;\n        if (!result) {\n          Debug2.assert(resolutions.length === moduleNames.length);\n          return resolutions;\n        }\n        let j = 0;\n        for (let i = 0; i < result.length; i++) {\n          if (!result[i]) {\n            result[i] = resolutions[j];\n            j++;\n          }\n        }\n        Debug2.assert(j === resolutions.length);\n        return result;\n        function moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName) {\n          const resolutionToFile = getResolvedModule(oldSourceFile, moduleName.text, getModeForUsageLocation(file, moduleName));\n          const resolvedFile = resolutionToFile && oldProgram.getSourceFile(resolutionToFile.resolvedFileName);\n          if (resolutionToFile && resolvedFile) {\n            return false;\n          }\n          const unmodifiedFile = ambientModuleNameToUnmodifiedFileName.get(moduleName.text);\n          if (!unmodifiedFile) {\n            return false;\n          }\n          if (isTraceEnabled(options, host)) {\n            trace(host, Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified, moduleName.text, unmodifiedFile);\n          }\n          return true;\n        }\n      }\n      function resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectiveNames, containingFile) {\n        var _a32;\n        if (structureIsReused === 0) {\n          return resolveTypeReferenceDirectiveNamesWorker(\n            typeDirectiveNames,\n            containingFile,\n            /*resuedNames*/\n            void 0\n          );\n        }\n        const oldSourceFile = !isString2(containingFile) ? oldProgram && oldProgram.getSourceFile(containingFile.fileName) : void 0;\n        if (!isString2(containingFile)) {\n          if (oldSourceFile !== containingFile && containingFile.resolvedTypeReferenceDirectiveNames) {\n            const result2 = [];\n            for (const typeDirectiveName of typeDirectiveNames) {\n              const resolvedTypeReferenceDirective = containingFile.resolvedTypeReferenceDirectiveNames.get(getTypeReferenceResolutionName(typeDirectiveName), getModeForFileReference(typeDirectiveName, containingFile.impliedNodeFormat));\n              result2.push(resolvedTypeReferenceDirective);\n            }\n            return result2;\n          }\n        }\n        let unknownTypeReferenceDirectiveNames;\n        let result;\n        let reusedNames;\n        const containingSourceFile = !isString2(containingFile) ? containingFile : void 0;\n        const canReuseResolutions = !isString2(containingFile) ? containingFile === oldSourceFile && !hasInvalidatedResolutions(oldSourceFile.path) : !hasInvalidatedResolutions(toPath3(containingFile));\n        for (let i = 0; i < typeDirectiveNames.length; i++) {\n          const entry = typeDirectiveNames[i];\n          if (canReuseResolutions) {\n            const typeDirectiveName = getTypeReferenceResolutionName(entry);\n            const mode = getModeForFileReference(entry, containingSourceFile == null ? void 0 : containingSourceFile.impliedNodeFormat);\n            const oldResolution = (_a32 = !isString2(containingFile) ? oldSourceFile == null ? void 0 : oldSourceFile.resolvedTypeReferenceDirectiveNames : oldProgram == null ? void 0 : oldProgram.getAutomaticTypeDirectiveResolutions()) == null ? void 0 : _a32.get(typeDirectiveName, mode);\n            if (oldResolution == null ? void 0 : oldResolution.resolvedTypeReferenceDirective) {\n              if (isTraceEnabled(options, host)) {\n                trace(\n                  host,\n                  oldResolution.resolvedTypeReferenceDirective.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2,\n                  typeDirectiveName,\n                  !isString2(containingFile) ? getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory) : containingFile,\n                  oldResolution.resolvedTypeReferenceDirective.resolvedFileName,\n                  oldResolution.resolvedTypeReferenceDirective.packageId && packageIdToString(oldResolution.resolvedTypeReferenceDirective.packageId)\n                );\n              }\n              (result != null ? result : result = new Array(typeDirectiveNames.length))[i] = oldResolution;\n              (reusedNames != null ? reusedNames : reusedNames = []).push(entry);\n              continue;\n            }\n          }\n          (unknownTypeReferenceDirectiveNames != null ? unknownTypeReferenceDirectiveNames : unknownTypeReferenceDirectiveNames = []).push(entry);\n        }\n        if (!unknownTypeReferenceDirectiveNames)\n          return result || emptyArray;\n        const resolutions = resolveTypeReferenceDirectiveNamesWorker(\n          unknownTypeReferenceDirectiveNames,\n          containingFile,\n          reusedNames\n        );\n        if (!result) {\n          Debug2.assert(resolutions.length === typeDirectiveNames.length);\n          return resolutions;\n        }\n        let j = 0;\n        for (let i = 0; i < result.length; i++) {\n          if (!result[i]) {\n            result[i] = resolutions[j];\n            j++;\n          }\n        }\n        Debug2.assert(j === resolutions.length);\n        return result;\n      }\n      function canReuseProjectReferences() {\n        return !forEachProjectReference(\n          oldProgram.getProjectReferences(),\n          oldProgram.getResolvedProjectReferences(),\n          (oldResolvedRef, parent2, index) => {\n            const newRef = (parent2 ? parent2.commandLine.projectReferences : projectReferences)[index];\n            const newResolvedRef = parseProjectReferenceConfigFile(newRef);\n            if (oldResolvedRef) {\n              return !newResolvedRef || newResolvedRef.sourceFile !== oldResolvedRef.sourceFile || !arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newResolvedRef.commandLine.fileNames);\n            } else {\n              return newResolvedRef !== void 0;\n            }\n          },\n          (oldProjectReferences, parent2) => {\n            const newReferences = parent2 ? getResolvedProjectReferenceByPath(parent2.sourceFile.path).commandLine.projectReferences : projectReferences;\n            return !arrayIsEqualTo(oldProjectReferences, newReferences, projectReferenceIsEqualTo);\n          }\n        );\n      }\n      function tryReuseStructureFromOldProgram() {\n        var _a32;\n        if (!oldProgram) {\n          return 0;\n        }\n        const oldOptions = oldProgram.getCompilerOptions();\n        if (changesAffectModuleResolution(oldOptions, options)) {\n          return 0;\n        }\n        const oldRootNames = oldProgram.getRootFileNames();\n        if (!arrayIsEqualTo(oldRootNames, rootNames)) {\n          return 0;\n        }\n        if (!canReuseProjectReferences()) {\n          return 0;\n        }\n        if (projectReferences) {\n          resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile);\n        }\n        const newSourceFiles = [];\n        const modifiedSourceFiles = [];\n        structureIsReused = 2;\n        if (oldProgram.getMissingFilePaths().some((missingFilePath) => host.fileExists(missingFilePath))) {\n          return 0;\n        }\n        const oldSourceFiles = oldProgram.getSourceFiles();\n        let SeenPackageName;\n        ((SeenPackageName2) => {\n          SeenPackageName2[SeenPackageName2[\"Exists\"] = 0] = \"Exists\";\n          SeenPackageName2[SeenPackageName2[\"Modified\"] = 1] = \"Modified\";\n        })(SeenPackageName || (SeenPackageName = {}));\n        const seenPackageNames = /* @__PURE__ */ new Map();\n        for (const oldSourceFile of oldSourceFiles) {\n          const sourceFileOptions = getCreateSourceFileOptions(oldSourceFile.fileName, moduleResolutionCache, host, options);\n          let newSourceFile = host.getSourceFileByPath ? host.getSourceFileByPath(\n            oldSourceFile.fileName,\n            oldSourceFile.resolvedPath,\n            sourceFileOptions,\n            /*onError*/\n            void 0,\n            shouldCreateNewSourceFile || sourceFileOptions.impliedNodeFormat !== oldSourceFile.impliedNodeFormat\n          ) : host.getSourceFile(\n            oldSourceFile.fileName,\n            sourceFileOptions,\n            /*onError*/\n            void 0,\n            shouldCreateNewSourceFile || sourceFileOptions.impliedNodeFormat !== oldSourceFile.impliedNodeFormat\n          );\n          if (!newSourceFile) {\n            return 0;\n          }\n          newSourceFile.packageJsonLocations = ((_a32 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a32.length) ? sourceFileOptions.packageJsonLocations : void 0;\n          newSourceFile.packageJsonScope = sourceFileOptions.packageJsonScope;\n          Debug2.assert(!newSourceFile.redirectInfo, \"Host should not return a redirect source file from `getSourceFile`\");\n          let fileChanged;\n          if (oldSourceFile.redirectInfo) {\n            if (newSourceFile !== oldSourceFile.redirectInfo.unredirected) {\n              return 0;\n            }\n            fileChanged = false;\n            newSourceFile = oldSourceFile;\n          } else if (oldProgram.redirectTargetsMap.has(oldSourceFile.path)) {\n            if (newSourceFile !== oldSourceFile) {\n              return 0;\n            }\n            fileChanged = false;\n          } else {\n            fileChanged = newSourceFile !== oldSourceFile;\n          }\n          newSourceFile.path = oldSourceFile.path;\n          newSourceFile.originalFileName = oldSourceFile.originalFileName;\n          newSourceFile.resolvedPath = oldSourceFile.resolvedPath;\n          newSourceFile.fileName = oldSourceFile.fileName;\n          const packageName = oldProgram.sourceFileToPackageName.get(oldSourceFile.path);\n          if (packageName !== void 0) {\n            const prevKind = seenPackageNames.get(packageName);\n            const newKind = fileChanged ? 1 : 0;\n            if (prevKind !== void 0 && newKind === 1 || prevKind === 1) {\n              return 0;\n            }\n            seenPackageNames.set(packageName, newKind);\n          }\n          if (fileChanged) {\n            if (oldSourceFile.impliedNodeFormat !== newSourceFile.impliedNodeFormat) {\n              structureIsReused = 1;\n            } else if (!arrayIsEqualTo(oldSourceFile.libReferenceDirectives, newSourceFile.libReferenceDirectives, fileReferenceIsEqualTo)) {\n              structureIsReused = 1;\n            } else if (oldSourceFile.hasNoDefaultLib !== newSourceFile.hasNoDefaultLib) {\n              structureIsReused = 1;\n            } else if (!arrayIsEqualTo(oldSourceFile.referencedFiles, newSourceFile.referencedFiles, fileReferenceIsEqualTo)) {\n              structureIsReused = 1;\n            } else {\n              collectExternalModuleReferences(newSourceFile);\n              if (!arrayIsEqualTo(oldSourceFile.imports, newSourceFile.imports, moduleNameIsEqualTo)) {\n                structureIsReused = 1;\n              } else if (!arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, moduleNameIsEqualTo)) {\n                structureIsReused = 1;\n              } else if ((oldSourceFile.flags & 6291456) !== (newSourceFile.flags & 6291456)) {\n                structureIsReused = 1;\n              } else if (!arrayIsEqualTo(oldSourceFile.typeReferenceDirectives, newSourceFile.typeReferenceDirectives, fileReferenceIsEqualTo)) {\n                structureIsReused = 1;\n              }\n            }\n            modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile });\n          } else if (hasInvalidatedResolutions(oldSourceFile.path)) {\n            structureIsReused = 1;\n            modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile });\n          }\n          newSourceFiles.push(newSourceFile);\n        }\n        if (structureIsReused !== 2) {\n          return structureIsReused;\n        }\n        const modifiedFiles = modifiedSourceFiles.map((f) => f.oldFile);\n        for (const oldFile of oldSourceFiles) {\n          if (!contains(modifiedFiles, oldFile)) {\n            for (const moduleName of oldFile.ambientModuleNames) {\n              ambientModuleNameToUnmodifiedFileName.set(moduleName, oldFile.fileName);\n            }\n          }\n        }\n        for (const { oldFile: oldSourceFile, newFile: newSourceFile } of modifiedSourceFiles) {\n          const moduleNames = getModuleNames(newSourceFile);\n          const resolutions = resolveModuleNamesReusingOldState(moduleNames, newSourceFile);\n          const resolutionsChanged = hasChangesInResolutions(moduleNames, newSourceFile, resolutions, oldSourceFile.resolvedModules, moduleResolutionIsEqualTo, moduleResolutionNameAndModeGetter);\n          if (resolutionsChanged) {\n            structureIsReused = 1;\n            newSourceFile.resolvedModules = zipToModeAwareCache(newSourceFile, moduleNames, resolutions, moduleResolutionNameAndModeGetter);\n          } else {\n            newSourceFile.resolvedModules = oldSourceFile.resolvedModules;\n          }\n          const typesReferenceDirectives = newSourceFile.typeReferenceDirectives;\n          const typeReferenceResolutions = resolveTypeReferenceDirectiveNamesReusingOldState(typesReferenceDirectives, newSourceFile);\n          const typeReferenceResolutionsChanged = hasChangesInResolutions(typesReferenceDirectives, newSourceFile, typeReferenceResolutions, oldSourceFile.resolvedTypeReferenceDirectiveNames, typeDirectiveIsEqualTo, typeReferenceResolutionNameAndModeGetter);\n          if (typeReferenceResolutionsChanged) {\n            structureIsReused = 1;\n            newSourceFile.resolvedTypeReferenceDirectiveNames = zipToModeAwareCache(newSourceFile, typesReferenceDirectives, typeReferenceResolutions, typeReferenceResolutionNameAndModeGetter);\n          } else {\n            newSourceFile.resolvedTypeReferenceDirectiveNames = oldSourceFile.resolvedTypeReferenceDirectiveNames;\n          }\n        }\n        if (structureIsReused !== 2) {\n          return structureIsReused;\n        }\n        if (changesAffectingProgramStructure(oldOptions, options)) {\n          return 1;\n        }\n        if (host.hasChangedAutomaticTypeDirectiveNames) {\n          if (host.hasChangedAutomaticTypeDirectiveNames())\n            return 1;\n        } else {\n          automaticTypeDirectiveNames = getAutomaticTypeDirectiveNames(options, host);\n          if (!arrayIsEqualTo(oldProgram.getAutomaticTypeDirectiveNames(), automaticTypeDirectiveNames))\n            return 1;\n        }\n        missingFilePaths = oldProgram.getMissingFilePaths();\n        Debug2.assert(newSourceFiles.length === oldProgram.getSourceFiles().length);\n        for (const newSourceFile of newSourceFiles) {\n          filesByName.set(newSourceFile.path, newSourceFile);\n        }\n        const oldFilesByNameMap = oldProgram.getFilesByNameMap();\n        oldFilesByNameMap.forEach((oldFile, path) => {\n          if (!oldFile) {\n            filesByName.set(path, oldFile);\n            return;\n          }\n          if (oldFile.path === path) {\n            if (oldProgram.isSourceFileFromExternalLibrary(oldFile)) {\n              sourceFilesFoundSearchingNodeModules.set(oldFile.path, true);\n            }\n            return;\n          }\n          filesByName.set(path, filesByName.get(oldFile.path));\n        });\n        files = newSourceFiles;\n        fileReasons = oldProgram.getFileIncludeReasons();\n        fileProcessingDiagnostics = oldProgram.getFileProcessingDiagnostics();\n        resolvedTypeReferenceDirectives = oldProgram.getResolvedTypeReferenceDirectives();\n        automaticTypeDirectiveNames = oldProgram.getAutomaticTypeDirectiveNames();\n        automaticTypeDirectiveResolutions = oldProgram.getAutomaticTypeDirectiveResolutions();\n        sourceFileToPackageName = oldProgram.sourceFileToPackageName;\n        redirectTargetsMap = oldProgram.redirectTargetsMap;\n        usesUriStyleNodeCoreModules = oldProgram.usesUriStyleNodeCoreModules;\n        return 2;\n      }\n      function getEmitHost(writeFileCallback) {\n        return {\n          getPrependNodes,\n          getCanonicalFileName,\n          getCommonSourceDirectory: program.getCommonSourceDirectory,\n          getCompilerOptions: program.getCompilerOptions,\n          getCurrentDirectory: () => currentDirectory,\n          getSourceFile: program.getSourceFile,\n          getSourceFileByPath: program.getSourceFileByPath,\n          getSourceFiles: program.getSourceFiles,\n          getLibFileFromReference: program.getLibFileFromReference,\n          isSourceFileFromExternalLibrary,\n          getResolvedProjectReferenceToRedirect,\n          getProjectReferenceRedirect,\n          isSourceOfProjectReferenceRedirect,\n          getSymlinkCache,\n          writeFile: writeFileCallback || writeFile2,\n          isEmitBlocked,\n          readFile: (f) => host.readFile(f),\n          fileExists: (f) => {\n            const path = toPath3(f);\n            if (getSourceFileByPath(path))\n              return true;\n            if (contains(missingFilePaths, path))\n              return false;\n            return host.fileExists(f);\n          },\n          useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),\n          getBuildInfo: (bundle) => {\n            var _a32;\n            return (_a32 = program.getBuildInfo) == null ? void 0 : _a32.call(program, bundle);\n          },\n          getSourceFileFromReference: (file, ref) => program.getSourceFileFromReference(file, ref),\n          redirectTargetsMap,\n          getFileIncludeReasons: program.getFileIncludeReasons,\n          createHash: maybeBind(host, host.createHash)\n        };\n      }\n      function writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data) {\n        host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n      }\n      function emitBuildInfo(writeFileCallback) {\n        var _a32, _b22;\n        Debug2.assert(!outFile(options));\n        (_a32 = tracing) == null ? void 0 : _a32.push(\n          tracing.Phase.Emit,\n          \"emitBuildInfo\",\n          {},\n          /*separateBeginAndEnd*/\n          true\n        );\n        mark(\"beforeEmit\");\n        const emitResult = emitFiles(\n          notImplementedResolver,\n          getEmitHost(writeFileCallback),\n          /*targetSourceFile*/\n          void 0,\n          /*transformers*/\n          noTransformers,\n          /*emitOnlyDtsFiles*/\n          false,\n          /*onlyBuildInfo*/\n          true\n        );\n        mark(\"afterEmit\");\n        measure(\"Emit\", \"beforeEmit\", \"afterEmit\");\n        (_b22 = tracing) == null ? void 0 : _b22.pop();\n        return emitResult;\n      }\n      function getResolvedProjectReferences() {\n        return resolvedProjectReferences;\n      }\n      function getProjectReferences() {\n        return projectReferences;\n      }\n      function getPrependNodes() {\n        return createPrependNodes(\n          projectReferences,\n          (_ref, index) => {\n            var _a32;\n            return (_a32 = resolvedProjectReferences[index]) == null ? void 0 : _a32.commandLine;\n          },\n          (fileName) => {\n            const path = toPath3(fileName);\n            const sourceFile = getSourceFileByPath(path);\n            return sourceFile ? sourceFile.text : filesByName.has(path) ? void 0 : host.readFile(path);\n          },\n          host\n        );\n      }\n      function isSourceFileFromExternalLibrary(file) {\n        return !!sourceFilesFoundSearchingNodeModules.get(file.path);\n      }\n      function isSourceFileDefaultLibrary(file) {\n        if (!file.isDeclarationFile) {\n          return false;\n        }\n        if (file.hasNoDefaultLib) {\n          return true;\n        }\n        if (!options.noLib) {\n          return false;\n        }\n        const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStringsCaseInsensitive;\n        if (!options.lib) {\n          return equalityComparer(file.fileName, getDefaultLibraryFileName());\n        } else {\n          return some(options.lib, (libFileName) => equalityComparer(file.fileName, pathForLibFile(libFileName)));\n        }\n      }\n      function getTypeChecker() {\n        return typeChecker || (typeChecker = createTypeChecker(program));\n      }\n      function emit(sourceFile, writeFileCallback, cancellationToken, emitOnly, transformers, forceDtsEmit) {\n        var _a32, _b22;\n        (_a32 = tracing) == null ? void 0 : _a32.push(\n          tracing.Phase.Emit,\n          \"emit\",\n          { path: sourceFile == null ? void 0 : sourceFile.path },\n          /*separateBeginAndEnd*/\n          true\n        );\n        const result = runWithCancellationToken(() => emitWorker(program, sourceFile, writeFileCallback, cancellationToken, emitOnly, transformers, forceDtsEmit));\n        (_b22 = tracing) == null ? void 0 : _b22.pop();\n        return result;\n      }\n      function isEmitBlocked(emitFileName) {\n        return hasEmitBlockingDiagnostics.has(toPath3(emitFileName));\n      }\n      function emitWorker(program2, sourceFile, writeFileCallback, cancellationToken, emitOnly, customTransformers, forceDtsEmit) {\n        if (!forceDtsEmit) {\n          const result = handleNoEmitOptions(program2, sourceFile, writeFileCallback, cancellationToken);\n          if (result)\n            return result;\n        }\n        const emitResolver = getTypeChecker().getEmitResolver(outFile(options) ? void 0 : sourceFile, cancellationToken);\n        mark(\"beforeEmit\");\n        const emitResult = emitFiles(\n          emitResolver,\n          getEmitHost(writeFileCallback),\n          sourceFile,\n          getTransformers(options, customTransformers, emitOnly),\n          emitOnly,\n          /*onlyBuildInfo*/\n          false,\n          forceDtsEmit\n        );\n        mark(\"afterEmit\");\n        measure(\"Emit\", \"beforeEmit\", \"afterEmit\");\n        return emitResult;\n      }\n      function getSourceFile(fileName) {\n        return getSourceFileByPath(toPath3(fileName));\n      }\n      function getSourceFileByPath(path) {\n        return filesByName.get(path) || void 0;\n      }\n      function getDiagnosticsHelper(sourceFile, getDiagnostics2, cancellationToken) {\n        if (sourceFile) {\n          return sortAndDeduplicateDiagnostics(getDiagnostics2(sourceFile, cancellationToken));\n        }\n        return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => {\n          if (cancellationToken) {\n            cancellationToken.throwIfCancellationRequested();\n          }\n          return getDiagnostics2(sourceFile2, cancellationToken);\n        }));\n      }\n      function getSyntacticDiagnostics(sourceFile, cancellationToken) {\n        return getDiagnosticsHelper(sourceFile, getSyntacticDiagnosticsForFile, cancellationToken);\n      }\n      function getSemanticDiagnostics(sourceFile, cancellationToken) {\n        return getDiagnosticsHelper(sourceFile, getSemanticDiagnosticsForFile, cancellationToken);\n      }\n      function getCachedSemanticDiagnostics(sourceFile) {\n        var _a32;\n        return sourceFile ? (_a32 = cachedBindAndCheckDiagnosticsForFile.perFile) == null ? void 0 : _a32.get(sourceFile.path) : cachedBindAndCheckDiagnosticsForFile.allDiagnostics;\n      }\n      function getBindAndCheckDiagnostics(sourceFile, cancellationToken) {\n        return getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken);\n      }\n      function getProgramDiagnostics(sourceFile) {\n        var _a32;\n        if (skipTypeChecking(sourceFile, options, program)) {\n          return emptyArray;\n        }\n        const programDiagnosticsInFile = programDiagnostics.getDiagnostics(sourceFile.fileName);\n        if (!((_a32 = sourceFile.commentDirectives) == null ? void 0 : _a32.length)) {\n          return programDiagnosticsInFile;\n        }\n        return getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, programDiagnosticsInFile).diagnostics;\n      }\n      function getDeclarationDiagnostics2(sourceFile, cancellationToken) {\n        const options2 = program.getCompilerOptions();\n        if (!sourceFile || outFile(options2)) {\n          return getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);\n        } else {\n          return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken);\n        }\n      }\n      function getSyntacticDiagnosticsForFile(sourceFile) {\n        if (isSourceFileJS(sourceFile)) {\n          if (!sourceFile.additionalSyntacticDiagnostics) {\n            sourceFile.additionalSyntacticDiagnostics = getJSSyntacticDiagnosticsForFile(sourceFile);\n          }\n          return concatenate(sourceFile.additionalSyntacticDiagnostics, sourceFile.parseDiagnostics);\n        }\n        return sourceFile.parseDiagnostics;\n      }\n      function runWithCancellationToken(func) {\n        try {\n          return func();\n        } catch (e) {\n          if (e instanceof OperationCanceledException) {\n            typeChecker = void 0;\n          }\n          throw e;\n        }\n      }\n      function getSemanticDiagnosticsForFile(sourceFile, cancellationToken) {\n        return concatenate(\n          filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken), options),\n          getProgramDiagnostics(sourceFile)\n        );\n      }\n      function getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken) {\n        return getAndCacheDiagnostics(sourceFile, cancellationToken, cachedBindAndCheckDiagnosticsForFile, getBindAndCheckDiagnosticsForFileNoCache);\n      }\n      function getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken) {\n        return runWithCancellationToken(() => {\n          if (skipTypeChecking(sourceFile, options, program)) {\n            return emptyArray;\n          }\n          const typeChecker2 = getTypeChecker();\n          Debug2.assert(!!sourceFile.bindDiagnostics);\n          const isJs = sourceFile.scriptKind === 1 || sourceFile.scriptKind === 2;\n          const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options);\n          const isPlainJs = isPlainJsFile(sourceFile, options.checkJs);\n          const isTsNoCheck = !!sourceFile.checkJsDirective && sourceFile.checkJsDirective.enabled === false;\n          const includeBindAndCheckDiagnostics = !isTsNoCheck && (sourceFile.scriptKind === 3 || sourceFile.scriptKind === 4 || sourceFile.scriptKind === 5 || isPlainJs || isCheckJs || sourceFile.scriptKind === 7);\n          let bindDiagnostics = includeBindAndCheckDiagnostics ? sourceFile.bindDiagnostics : emptyArray;\n          let checkDiagnostics = includeBindAndCheckDiagnostics ? typeChecker2.getDiagnostics(sourceFile, cancellationToken) : emptyArray;\n          if (isPlainJs) {\n            bindDiagnostics = filter(bindDiagnostics, (d) => plainJSErrors.has(d.code));\n            checkDiagnostics = filter(checkDiagnostics, (d) => plainJSErrors.has(d.code));\n          }\n          return getMergedBindAndCheckDiagnostics(sourceFile, includeBindAndCheckDiagnostics && !isPlainJs, bindDiagnostics, checkDiagnostics, isCheckJs ? sourceFile.jsDocDiagnostics : void 0);\n        });\n      }\n      function getMergedBindAndCheckDiagnostics(sourceFile, includeBindAndCheckDiagnostics, ...allDiagnostics) {\n        var _a32;\n        const flatDiagnostics = flatten(allDiagnostics);\n        if (!includeBindAndCheckDiagnostics || !((_a32 = sourceFile.commentDirectives) == null ? void 0 : _a32.length)) {\n          return flatDiagnostics;\n        }\n        const { diagnostics, directives } = getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, flatDiagnostics);\n        for (const errorExpectation of directives.getUnusedExpectations()) {\n          diagnostics.push(createDiagnosticForRange(sourceFile, errorExpectation.range, Diagnostics.Unused_ts_expect_error_directive));\n        }\n        return diagnostics;\n      }\n      function getDiagnosticsWithPrecedingDirectives(sourceFile, commentDirectives, flatDiagnostics) {\n        const directives = createCommentDirectivesMap(sourceFile, commentDirectives);\n        const diagnostics = flatDiagnostics.filter((diagnostic) => markPrecedingCommentDirectiveLine(diagnostic, directives) === -1);\n        return { diagnostics, directives };\n      }\n      function getSuggestionDiagnostics(sourceFile, cancellationToken) {\n        return runWithCancellationToken(() => {\n          return getTypeChecker().getSuggestionDiagnostics(sourceFile, cancellationToken);\n        });\n      }\n      function markPrecedingCommentDirectiveLine(diagnostic, directives) {\n        const { file, start } = diagnostic;\n        if (!file) {\n          return -1;\n        }\n        const lineStarts = getLineStarts(file);\n        let line = computeLineAndCharacterOfPosition(lineStarts, start).line - 1;\n        while (line >= 0) {\n          if (directives.markUsed(line)) {\n            return line;\n          }\n          const lineText = file.text.slice(lineStarts[line], lineStarts[line + 1]).trim();\n          if (lineText !== \"\" && !/^(\\s*)\\/\\/(.*)$/.test(lineText)) {\n            return -1;\n          }\n          line--;\n        }\n        return -1;\n      }\n      function getJSSyntacticDiagnosticsForFile(sourceFile) {\n        return runWithCancellationToken(() => {\n          const diagnostics = [];\n          walk(sourceFile, sourceFile);\n          forEachChildRecursively(sourceFile, walk, walkArray);\n          return diagnostics;\n          function walk(node, parent2) {\n            switch (parent2.kind) {\n              case 166:\n              case 169:\n              case 171:\n                if (parent2.questionToken === node) {\n                  diagnostics.push(createDiagnosticForNode2(node, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, \"?\"));\n                  return \"skip\";\n                }\n              case 170:\n              case 173:\n              case 174:\n              case 175:\n              case 215:\n              case 259:\n              case 216:\n              case 257:\n                if (parent2.type === node) {\n                  diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));\n                  return \"skip\";\n                }\n            }\n            switch (node.kind) {\n              case 270:\n                if (node.isTypeOnly) {\n                  diagnostics.push(createDiagnosticForNode2(parent2, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, \"import type\"));\n                  return \"skip\";\n                }\n                break;\n              case 275:\n                if (node.isTypeOnly) {\n                  diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, \"export type\"));\n                  return \"skip\";\n                }\n                break;\n              case 273:\n              case 278:\n                if (node.isTypeOnly) {\n                  diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, isImportSpecifier(node) ? \"import...type\" : \"export...type\"));\n                  return \"skip\";\n                }\n                break;\n              case 268:\n                diagnostics.push(createDiagnosticForNode2(node, Diagnostics.import_can_only_be_used_in_TypeScript_files));\n                return \"skip\";\n              case 274:\n                if (node.isExportEquals) {\n                  diagnostics.push(createDiagnosticForNode2(node, Diagnostics.export_can_only_be_used_in_TypeScript_files));\n                  return \"skip\";\n                }\n                break;\n              case 294:\n                const heritageClause = node;\n                if (heritageClause.token === 117) {\n                  diagnostics.push(createDiagnosticForNode2(node, Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));\n                  return \"skip\";\n                }\n                break;\n              case 261:\n                const interfaceKeyword = tokenToString(\n                  118\n                  /* InterfaceKeyword */\n                );\n                Debug2.assertIsDefined(interfaceKeyword);\n                diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, interfaceKeyword));\n                return \"skip\";\n              case 264:\n                const moduleKeyword = node.flags & 16 ? tokenToString(\n                  143\n                  /* NamespaceKeyword */\n                ) : tokenToString(\n                  142\n                  /* ModuleKeyword */\n                );\n                Debug2.assertIsDefined(moduleKeyword);\n                diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, moduleKeyword));\n                return \"skip\";\n              case 262:\n                diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));\n                return \"skip\";\n              case 263:\n                const enumKeyword = Debug2.checkDefined(tokenToString(\n                  92\n                  /* EnumKeyword */\n                ));\n                diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, enumKeyword));\n                return \"skip\";\n              case 232:\n                diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));\n                return \"skip\";\n              case 231:\n                diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));\n                return \"skip\";\n              case 235:\n                diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files));\n                return \"skip\";\n              case 213:\n                Debug2.fail();\n            }\n          }\n          function walkArray(nodes, parent2) {\n            if (canHaveIllegalDecorators(parent2)) {\n              const decorator = find(parent2.modifiers, isDecorator);\n              if (decorator) {\n                diagnostics.push(createDiagnosticForNode2(decorator, Diagnostics.Decorators_are_not_valid_here));\n              }\n            } else if (canHaveDecorators(parent2) && parent2.modifiers) {\n              const decoratorIndex = findIndex(parent2.modifiers, isDecorator);\n              if (decoratorIndex >= 0) {\n                if (isParameter(parent2) && !options.experimentalDecorators) {\n                  diagnostics.push(createDiagnosticForNode2(parent2.modifiers[decoratorIndex], Diagnostics.Decorators_are_not_valid_here));\n                } else if (isClassDeclaration(parent2)) {\n                  const exportIndex = findIndex(parent2.modifiers, isExportModifier);\n                  if (exportIndex >= 0) {\n                    const defaultIndex = findIndex(parent2.modifiers, isDefaultModifier);\n                    if (decoratorIndex > exportIndex && defaultIndex >= 0 && decoratorIndex < defaultIndex) {\n                      diagnostics.push(createDiagnosticForNode2(parent2.modifiers[decoratorIndex], Diagnostics.Decorators_are_not_valid_here));\n                    } else if (exportIndex >= 0 && decoratorIndex < exportIndex) {\n                      const trailingDecoratorIndex = findIndex(parent2.modifiers, isDecorator, exportIndex);\n                      if (trailingDecoratorIndex >= 0) {\n                        diagnostics.push(addRelatedInfo(\n                          createDiagnosticForNode2(parent2.modifiers[trailingDecoratorIndex], Diagnostics.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),\n                          createDiagnosticForNode2(parent2.modifiers[decoratorIndex], Diagnostics.Decorator_used_before_export_here)\n                        ));\n                      }\n                    }\n                  }\n                }\n              }\n            }\n            switch (parent2.kind) {\n              case 260:\n              case 228:\n              case 171:\n              case 173:\n              case 174:\n              case 175:\n              case 215:\n              case 259:\n              case 216:\n                if (nodes === parent2.typeParameters) {\n                  diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));\n                  return \"skip\";\n                }\n              case 240:\n                if (nodes === parent2.modifiers) {\n                  checkModifiers(\n                    parent2.modifiers,\n                    parent2.kind === 240\n                    /* VariableStatement */\n                  );\n                  return \"skip\";\n                }\n                break;\n              case 169:\n                if (nodes === parent2.modifiers) {\n                  for (const modifier of nodes) {\n                    if (isModifier(modifier) && modifier.kind !== 124 && modifier.kind !== 127) {\n                      diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)));\n                    }\n                  }\n                  return \"skip\";\n                }\n                break;\n              case 166:\n                if (nodes === parent2.modifiers && some(nodes, isModifier)) {\n                  diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files));\n                  return \"skip\";\n                }\n                break;\n              case 210:\n              case 211:\n              case 230:\n              case 282:\n              case 283:\n              case 212:\n                if (nodes === parent2.typeArguments) {\n                  diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files));\n                  return \"skip\";\n                }\n                break;\n            }\n          }\n          function checkModifiers(modifiers, isConstValid) {\n            for (const modifier of modifiers) {\n              switch (modifier.kind) {\n                case 85:\n                  if (isConstValid) {\n                    continue;\n                  }\n                case 123:\n                case 121:\n                case 122:\n                case 146:\n                case 136:\n                case 126:\n                case 161:\n                case 101:\n                case 145:\n                  diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)));\n                  break;\n                case 124:\n                case 93:\n                case 88:\n                case 127:\n              }\n            }\n          }\n          function createDiagnosticForNodeArray2(nodes, message, arg0, arg1, arg2) {\n            const start = nodes.pos;\n            return createFileDiagnostic(sourceFile, start, nodes.end - start, message, arg0, arg1, arg2);\n          }\n          function createDiagnosticForNode2(node, message, arg0, arg1, arg2) {\n            return createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2);\n          }\n        });\n      }\n      function getDeclarationDiagnosticsWorker(sourceFile, cancellationToken) {\n        return getAndCacheDiagnostics(sourceFile, cancellationToken, cachedDeclarationDiagnosticsForFile, getDeclarationDiagnosticsForFileNoCache);\n      }\n      function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) {\n        return runWithCancellationToken(() => {\n          const resolver = getTypeChecker().getEmitResolver(sourceFile, cancellationToken);\n          return getDeclarationDiagnostics(getEmitHost(noop), resolver, sourceFile) || emptyArray;\n        });\n      }\n      function getAndCacheDiagnostics(sourceFile, cancellationToken, cache, getDiagnostics2) {\n        var _a32;\n        const cachedResult = sourceFile ? (_a32 = cache.perFile) == null ? void 0 : _a32.get(sourceFile.path) : cache.allDiagnostics;\n        if (cachedResult) {\n          return cachedResult;\n        }\n        const result = getDiagnostics2(sourceFile, cancellationToken);\n        if (sourceFile) {\n          (cache.perFile || (cache.perFile = /* @__PURE__ */ new Map())).set(sourceFile.path, result);\n        } else {\n          cache.allDiagnostics = result;\n        }\n        return result;\n      }\n      function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) {\n        return sourceFile.isDeclarationFile ? [] : getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);\n      }\n      function getOptionsDiagnostics() {\n        return sortAndDeduplicateDiagnostics(concatenate(\n          programDiagnostics.getGlobalDiagnostics(),\n          getOptionsDiagnosticsOfConfigFile()\n        ));\n      }\n      function getOptionsDiagnosticsOfConfigFile() {\n        if (!options.configFile)\n          return emptyArray;\n        let diagnostics = programDiagnostics.getDiagnostics(options.configFile.fileName);\n        forEachResolvedProjectReference2((resolvedRef) => {\n          diagnostics = concatenate(diagnostics, programDiagnostics.getDiagnostics(resolvedRef.sourceFile.fileName));\n        });\n        return diagnostics;\n      }\n      function getGlobalDiagnostics() {\n        return rootNames.length ? sortAndDeduplicateDiagnostics(getTypeChecker().getGlobalDiagnostics().slice()) : emptyArray;\n      }\n      function getConfigFileParsingDiagnostics2() {\n        return configFileParsingDiagnostics || emptyArray;\n      }\n      function processRootFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason) {\n        processSourceFile(\n          normalizePath(fileName),\n          isDefaultLib,\n          ignoreNoDefaultLib,\n          /*packageId*/\n          void 0,\n          reason\n        );\n      }\n      function fileReferenceIsEqualTo(a, b) {\n        return a.fileName === b.fileName;\n      }\n      function moduleNameIsEqualTo(a, b) {\n        return a.kind === 79 ? b.kind === 79 && a.escapedText === b.escapedText : b.kind === 10 && a.text === b.text;\n      }\n      function createSyntheticImport(text, file) {\n        const externalHelpersModuleReference = factory.createStringLiteral(text);\n        const importDecl = factory.createImportDeclaration(\n          /*modifiers*/\n          void 0,\n          /*importClause*/\n          void 0,\n          externalHelpersModuleReference,\n          /*assertClause*/\n          void 0\n        );\n        addInternalEmitFlags(\n          importDecl,\n          2\n          /* NeverApplyImportHelper */\n        );\n        setParent(externalHelpersModuleReference, importDecl);\n        setParent(importDecl, file);\n        externalHelpersModuleReference.flags &= ~8;\n        importDecl.flags &= ~8;\n        return externalHelpersModuleReference;\n      }\n      function collectExternalModuleReferences(file) {\n        if (file.imports) {\n          return;\n        }\n        const isJavaScriptFile = isSourceFileJS(file);\n        const isExternalModuleFile = isExternalModule(file);\n        let imports;\n        let moduleAugmentations;\n        let ambientModules;\n        if ((getIsolatedModules(options) || isExternalModuleFile) && !file.isDeclarationFile) {\n          if (options.importHelpers) {\n            imports = [createSyntheticImport(externalHelpersModuleNameText, file)];\n          }\n          const jsxImport = getJSXRuntimeImport(getJSXImplicitImportBase(options, file), options);\n          if (jsxImport) {\n            (imports || (imports = [])).push(createSyntheticImport(jsxImport, file));\n          }\n        }\n        for (const node of file.statements) {\n          collectModuleReferences(\n            node,\n            /*inAmbientModule*/\n            false\n          );\n        }\n        const shouldProcessRequires = isJavaScriptFile && getEmitModuleResolutionKind(options) !== 100;\n        if (file.flags & 2097152 || shouldProcessRequires) {\n          collectDynamicImportOrRequireCalls(file);\n        }\n        file.imports = imports || emptyArray;\n        file.moduleAugmentations = moduleAugmentations || emptyArray;\n        file.ambientModuleNames = ambientModules || emptyArray;\n        return;\n        function collectModuleReferences(node, inAmbientModule) {\n          if (isAnyImportOrReExport(node)) {\n            const moduleNameExpr = getExternalModuleName(node);\n            if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text && (!inAmbientModule || !isExternalModuleNameRelative(moduleNameExpr.text))) {\n              setParentRecursive(\n                node,\n                /*incremental*/\n                false\n              );\n              imports = append(imports, moduleNameExpr);\n              if (!usesUriStyleNodeCoreModules && currentNodeModulesDepth === 0 && !file.isDeclarationFile) {\n                usesUriStyleNodeCoreModules = startsWith(moduleNameExpr.text, \"node:\");\n              }\n            }\n          } else if (isModuleDeclaration(node)) {\n            if (isAmbientModule(node) && (inAmbientModule || hasSyntacticModifier(\n              node,\n              2\n              /* Ambient */\n            ) || file.isDeclarationFile)) {\n              node.name.parent = node;\n              const nameText = getTextOfIdentifierOrLiteral(node.name);\n              if (isExternalModuleFile || inAmbientModule && !isExternalModuleNameRelative(nameText)) {\n                (moduleAugmentations || (moduleAugmentations = [])).push(node.name);\n              } else if (!inAmbientModule) {\n                if (file.isDeclarationFile) {\n                  (ambientModules || (ambientModules = [])).push(nameText);\n                }\n                const body = node.body;\n                if (body) {\n                  for (const statement of body.statements) {\n                    collectModuleReferences(\n                      statement,\n                      /*inAmbientModule*/\n                      true\n                    );\n                  }\n                }\n              }\n            }\n          }\n        }\n        function collectDynamicImportOrRequireCalls(file2) {\n          const r = /import|require/g;\n          while (r.exec(file2.text) !== null) {\n            const node = getNodeAtPosition(file2, r.lastIndex);\n            if (shouldProcessRequires && isRequireCall(\n              node,\n              /*checkArgumentIsStringLiteralLike*/\n              true\n            )) {\n              setParentRecursive(\n                node,\n                /*incremental*/\n                false\n              );\n              imports = append(imports, node.arguments[0]);\n            } else if (isImportCall(node) && node.arguments.length >= 1 && isStringLiteralLike(node.arguments[0])) {\n              setParentRecursive(\n                node,\n                /*incremental*/\n                false\n              );\n              imports = append(imports, node.arguments[0]);\n            } else if (isLiteralImportTypeNode(node)) {\n              setParentRecursive(\n                node,\n                /*incremental*/\n                false\n              );\n              imports = append(imports, node.argument.literal);\n            }\n          }\n        }\n        function getNodeAtPosition(sourceFile, position) {\n          let current = sourceFile;\n          const getContainingChild = (child) => {\n            if (child.pos <= position && (position < child.end || position === child.end && child.kind === 1)) {\n              return child;\n            }\n          };\n          while (true) {\n            const child = isJavaScriptFile && hasJSDocNodes(current) && forEach(current.jsDoc, getContainingChild) || forEachChild(current, getContainingChild);\n            if (!child) {\n              return current;\n            }\n            current = child;\n          }\n        }\n      }\n      function getLibFileFromReference(ref) {\n        const libName = toFileNameLowerCase(ref.fileName);\n        const libFileName = libMap.get(libName);\n        if (libFileName) {\n          return getSourceFile(pathForLibFile(libFileName));\n        }\n      }\n      function getSourceFileFromReference(referencingFile, ref) {\n        return getSourceFileFromReferenceWorker(resolveTripleslashReference(ref.fileName, referencingFile.fileName), getSourceFile);\n      }\n      function getSourceFileFromReferenceWorker(fileName, getSourceFile2, fail, reason) {\n        if (hasExtension(fileName)) {\n          const canonicalFileName = host.getCanonicalFileName(fileName);\n          if (!options.allowNonTsExtensions && !forEach(flatten(supportedExtensionsWithJsonIfResolveJsonModule), (extension) => fileExtensionIs(canonicalFileName, extension))) {\n            if (fail) {\n              if (hasJSFileExtension(canonicalFileName)) {\n                fail(Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option, fileName);\n              } else {\n                fail(Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1, fileName, \"'\" + flatten(supportedExtensions).join(\"', '\") + \"'\");\n              }\n            }\n            return void 0;\n          }\n          const sourceFile = getSourceFile2(fileName);\n          if (fail) {\n            if (!sourceFile) {\n              const redirect = getProjectReferenceRedirect(fileName);\n              if (redirect) {\n                fail(Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, fileName);\n              } else {\n                fail(Diagnostics.File_0_not_found, fileName);\n              }\n            } else if (isReferencedFile(reason) && canonicalFileName === host.getCanonicalFileName(getSourceFileByPath(reason.file).fileName)) {\n              fail(Diagnostics.A_file_cannot_have_a_reference_to_itself);\n            }\n          }\n          return sourceFile;\n        } else {\n          const sourceFileNoExtension = options.allowNonTsExtensions && getSourceFile2(fileName);\n          if (sourceFileNoExtension)\n            return sourceFileNoExtension;\n          if (fail && options.allowNonTsExtensions) {\n            fail(Diagnostics.File_0_not_found, fileName);\n            return void 0;\n          }\n          const sourceFileWithAddedExtension = forEach(supportedExtensions[0], (extension) => getSourceFile2(fileName + extension));\n          if (fail && !sourceFileWithAddedExtension)\n            fail(Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1, fileName, \"'\" + flatten(supportedExtensions).join(\"', '\") + \"'\");\n          return sourceFileWithAddedExtension;\n        }\n      }\n      function processSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, packageId, reason) {\n        getSourceFileFromReferenceWorker(\n          fileName,\n          (fileName2) => findSourceFile(fileName2, isDefaultLib, ignoreNoDefaultLib, reason, packageId),\n          // TODO: GH#18217\n          (diagnostic, ...args) => addFilePreprocessingFileExplainingDiagnostic(\n            /*file*/\n            void 0,\n            reason,\n            diagnostic,\n            args\n          ),\n          reason\n        );\n      }\n      function processProjectReferenceFile(fileName, reason) {\n        return processSourceFile(\n          fileName,\n          /*isDefaultLib*/\n          false,\n          /*ignoreNoDefaultLib*/\n          false,\n          /*packageId*/\n          void 0,\n          reason\n        );\n      }\n      function reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason) {\n        const hasExistingReasonToReportErrorOn = !isReferencedFile(reason) && some(fileReasons.get(existingFile.path), isReferencedFile);\n        if (hasExistingReasonToReportErrorOn) {\n          addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing, [existingFile.fileName, fileName]);\n        } else {\n          addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing, [fileName, existingFile.fileName]);\n        }\n      }\n      function createRedirectedSourceFile(redirectTarget, unredirected, fileName, path, resolvedPath, originalFileName, sourceFileOptions) {\n        var _a32;\n        const redirect = parseNodeFactory.createRedirectedSourceFile({ redirectTarget, unredirected });\n        redirect.fileName = fileName;\n        redirect.path = path;\n        redirect.resolvedPath = resolvedPath;\n        redirect.originalFileName = originalFileName;\n        redirect.packageJsonLocations = ((_a32 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a32.length) ? sourceFileOptions.packageJsonLocations : void 0;\n        redirect.packageJsonScope = sourceFileOptions.packageJsonScope;\n        sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0);\n        return redirect;\n      }\n      function findSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) {\n        var _a32, _b22;\n        (_a32 = tracing) == null ? void 0 : _a32.push(tracing.Phase.Program, \"findSourceFile\", {\n          fileName,\n          isDefaultLib: isDefaultLib || void 0,\n          fileIncludeKind: FileIncludeKind[reason.kind]\n        });\n        const result = findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId);\n        (_b22 = tracing) == null ? void 0 : _b22.pop();\n        return result;\n      }\n      function getCreateSourceFileOptions(fileName, moduleResolutionCache2, host2, options2) {\n        const result = getImpliedNodeFormatForFileWorker(getNormalizedAbsolutePath(fileName, currentDirectory), moduleResolutionCache2 == null ? void 0 : moduleResolutionCache2.getPackageJsonInfoCache(), host2, options2);\n        const languageVersion = getEmitScriptTarget(options2);\n        const setExternalModuleIndicator2 = getSetExternalModuleIndicator(options2);\n        return typeof result === \"object\" ? { ...result, languageVersion, setExternalModuleIndicator: setExternalModuleIndicator2 } : { languageVersion, impliedNodeFormat: result, setExternalModuleIndicator: setExternalModuleIndicator2 };\n      }\n      function findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) {\n        var _a32, _b22;\n        const path = toPath3(fileName);\n        if (useSourceOfProjectReferenceRedirect) {\n          let source = getSourceOfProjectReferenceRedirect(path);\n          if (!source && host.realpath && options.preserveSymlinks && isDeclarationFileName(fileName) && stringContains(fileName, nodeModulesPathPart)) {\n            const realPath2 = toPath3(host.realpath(fileName));\n            if (realPath2 !== path)\n              source = getSourceOfProjectReferenceRedirect(realPath2);\n          }\n          if (source) {\n            const file2 = isString2(source) ? findSourceFile(source, isDefaultLib, ignoreNoDefaultLib, reason, packageId) : void 0;\n            if (file2)\n              addFileToFilesByName(\n                file2,\n                path,\n                /*redirectedPath*/\n                void 0\n              );\n            return file2;\n          }\n        }\n        const originalFileName = fileName;\n        if (filesByName.has(path)) {\n          const file2 = filesByName.get(path);\n          addFileIncludeReason(file2 || void 0, reason);\n          if (file2 && !(options.forceConsistentCasingInFileNames === false)) {\n            const checkedName = file2.fileName;\n            const isRedirect = toPath3(checkedName) !== toPath3(fileName);\n            if (isRedirect) {\n              fileName = getProjectReferenceRedirect(fileName) || fileName;\n            }\n            const checkedAbsolutePath = getNormalizedAbsolutePathWithoutRoot(checkedName, currentDirectory);\n            const inputAbsolutePath = getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory);\n            if (checkedAbsolutePath !== inputAbsolutePath) {\n              reportFileNamesDifferOnlyInCasingError(fileName, file2, reason);\n            }\n          }\n          if (file2 && sourceFilesFoundSearchingNodeModules.get(file2.path) && currentNodeModulesDepth === 0) {\n            sourceFilesFoundSearchingNodeModules.set(file2.path, false);\n            if (!options.noResolve) {\n              processReferencedFiles(file2, isDefaultLib);\n              processTypeReferenceDirectives(file2);\n            }\n            if (!options.noLib) {\n              processLibReferenceDirectives(file2);\n            }\n            modulesWithElidedImports.set(file2.path, false);\n            processImportedModules(file2);\n          } else if (file2 && modulesWithElidedImports.get(file2.path)) {\n            if (currentNodeModulesDepth < maxNodeModuleJsDepth) {\n              modulesWithElidedImports.set(file2.path, false);\n              processImportedModules(file2);\n            }\n          }\n          return file2 || void 0;\n        }\n        let redirectedPath;\n        if (isReferencedFile(reason) && !useSourceOfProjectReferenceRedirect) {\n          const redirectProject = getProjectReferenceRedirectProject(fileName);\n          if (redirectProject) {\n            if (outFile(redirectProject.commandLine.options)) {\n              return void 0;\n            }\n            const redirect = getProjectReferenceOutputName(redirectProject, fileName);\n            fileName = redirect;\n            redirectedPath = toPath3(redirect);\n          }\n        }\n        const sourceFileOptions = getCreateSourceFileOptions(fileName, moduleResolutionCache, host, options);\n        const file = host.getSourceFile(\n          fileName,\n          sourceFileOptions,\n          (hostErrorMessage) => addFilePreprocessingFileExplainingDiagnostic(\n            /*file*/\n            void 0,\n            reason,\n            Diagnostics.Cannot_read_file_0_Colon_1,\n            [fileName, hostErrorMessage]\n          ),\n          shouldCreateNewSourceFile || ((_a32 = oldProgram == null ? void 0 : oldProgram.getSourceFileByPath(toPath3(fileName))) == null ? void 0 : _a32.impliedNodeFormat) !== sourceFileOptions.impliedNodeFormat\n        );\n        if (packageId) {\n          const packageIdKey = packageIdToString(packageId);\n          const fileFromPackageId = packageIdToSourceFile.get(packageIdKey);\n          if (fileFromPackageId) {\n            const dupFile = createRedirectedSourceFile(fileFromPackageId, file, fileName, path, toPath3(fileName), originalFileName, sourceFileOptions);\n            redirectTargetsMap.add(fileFromPackageId.path, fileName);\n            addFileToFilesByName(dupFile, path, redirectedPath);\n            addFileIncludeReason(dupFile, reason);\n            sourceFileToPackageName.set(path, packageIdToPackageName(packageId));\n            processingOtherFiles.push(dupFile);\n            return dupFile;\n          } else if (file) {\n            packageIdToSourceFile.set(packageIdKey, file);\n            sourceFileToPackageName.set(path, packageIdToPackageName(packageId));\n          }\n        }\n        addFileToFilesByName(file, path, redirectedPath);\n        if (file) {\n          sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0);\n          file.fileName = fileName;\n          file.path = path;\n          file.resolvedPath = toPath3(fileName);\n          file.originalFileName = originalFileName;\n          file.packageJsonLocations = ((_b22 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _b22.length) ? sourceFileOptions.packageJsonLocations : void 0;\n          file.packageJsonScope = sourceFileOptions.packageJsonScope;\n          addFileIncludeReason(file, reason);\n          if (host.useCaseSensitiveFileNames()) {\n            const pathLowerCase = toFileNameLowerCase(path);\n            const existingFile = filesByNameIgnoreCase.get(pathLowerCase);\n            if (existingFile) {\n              reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason);\n            } else {\n              filesByNameIgnoreCase.set(pathLowerCase, file);\n            }\n          }\n          skipDefaultLib = skipDefaultLib || file.hasNoDefaultLib && !ignoreNoDefaultLib;\n          if (!options.noResolve) {\n            processReferencedFiles(file, isDefaultLib);\n            processTypeReferenceDirectives(file);\n          }\n          if (!options.noLib) {\n            processLibReferenceDirectives(file);\n          }\n          processImportedModules(file);\n          if (isDefaultLib) {\n            processingDefaultLibFiles.push(file);\n          } else {\n            processingOtherFiles.push(file);\n          }\n        }\n        return file;\n      }\n      function addFileIncludeReason(file, reason) {\n        if (file)\n          fileReasons.add(file.path, reason);\n      }\n      function addFileToFilesByName(file, path, redirectedPath) {\n        if (redirectedPath) {\n          filesByName.set(redirectedPath, file);\n          filesByName.set(path, file || false);\n        } else {\n          filesByName.set(path, file);\n        }\n      }\n      function getProjectReferenceRedirect(fileName) {\n        const referencedProject = getProjectReferenceRedirectProject(fileName);\n        return referencedProject && getProjectReferenceOutputName(referencedProject, fileName);\n      }\n      function getProjectReferenceRedirectProject(fileName) {\n        if (!resolvedProjectReferences || !resolvedProjectReferences.length || isDeclarationFileName(fileName) || fileExtensionIs(\n          fileName,\n          \".json\"\n          /* Json */\n        )) {\n          return void 0;\n        }\n        return getResolvedProjectReferenceToRedirect(fileName);\n      }\n      function getProjectReferenceOutputName(referencedProject, fileName) {\n        const out = outFile(referencedProject.commandLine.options);\n        return out ? changeExtension(\n          out,\n          \".d.ts\"\n          /* Dts */\n        ) : getOutputDeclarationFileName(fileName, referencedProject.commandLine, !host.useCaseSensitiveFileNames());\n      }\n      function getResolvedProjectReferenceToRedirect(fileName) {\n        if (mapFromFileToProjectReferenceRedirects === void 0) {\n          mapFromFileToProjectReferenceRedirects = /* @__PURE__ */ new Map();\n          forEachResolvedProjectReference2((referencedProject) => {\n            if (toPath3(options.configFilePath) !== referencedProject.sourceFile.path) {\n              referencedProject.commandLine.fileNames.forEach((f) => mapFromFileToProjectReferenceRedirects.set(toPath3(f), referencedProject.sourceFile.path));\n            }\n          });\n        }\n        const referencedProjectPath = mapFromFileToProjectReferenceRedirects.get(toPath3(fileName));\n        return referencedProjectPath && getResolvedProjectReferenceByPath(referencedProjectPath);\n      }\n      function forEachResolvedProjectReference2(cb) {\n        return forEachResolvedProjectReference(resolvedProjectReferences, cb);\n      }\n      function getSourceOfProjectReferenceRedirect(path) {\n        if (!isDeclarationFileName(path))\n          return void 0;\n        if (mapFromToProjectReferenceRedirectSource === void 0) {\n          mapFromToProjectReferenceRedirectSource = /* @__PURE__ */ new Map();\n          forEachResolvedProjectReference2((resolvedRef) => {\n            const out = outFile(resolvedRef.commandLine.options);\n            if (out) {\n              const outputDts = changeExtension(\n                out,\n                \".d.ts\"\n                /* Dts */\n              );\n              mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), true);\n            } else {\n              const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames()));\n              forEach(resolvedRef.commandLine.fileNames, (fileName) => {\n                if (!isDeclarationFileName(fileName) && !fileExtensionIs(\n                  fileName,\n                  \".json\"\n                  /* Json */\n                )) {\n                  const outputDts = getOutputDeclarationFileName(fileName, resolvedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3);\n                  mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), fileName);\n                }\n              });\n            }\n          });\n        }\n        return mapFromToProjectReferenceRedirectSource.get(path);\n      }\n      function isSourceOfProjectReferenceRedirect(fileName) {\n        return useSourceOfProjectReferenceRedirect && !!getResolvedProjectReferenceToRedirect(fileName);\n      }\n      function getResolvedProjectReferenceByPath(projectReferencePath) {\n        if (!projectReferenceRedirects) {\n          return void 0;\n        }\n        return projectReferenceRedirects.get(projectReferencePath) || void 0;\n      }\n      function processReferencedFiles(file, isDefaultLib) {\n        forEach(file.referencedFiles, (ref, index) => {\n          processSourceFile(\n            resolveTripleslashReference(ref.fileName, file.fileName),\n            isDefaultLib,\n            /*ignoreNoDefaultLib*/\n            false,\n            /*packageId*/\n            void 0,\n            { kind: 4, file: file.path, index }\n          );\n        });\n      }\n      function processTypeReferenceDirectives(file) {\n        const typeDirectives = file.typeReferenceDirectives;\n        if (!typeDirectives.length) {\n          file.resolvedTypeReferenceDirectiveNames = void 0;\n          return;\n        }\n        const resolutions = resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectives, file);\n        for (let index = 0; index < typeDirectives.length; index++) {\n          const ref = file.typeReferenceDirectives[index];\n          const resolvedTypeReferenceDirective = resolutions[index];\n          const fileName = toFileNameLowerCase(ref.fileName);\n          setResolvedTypeReferenceDirective(file, fileName, resolvedTypeReferenceDirective, getModeForFileReference(ref, file.impliedNodeFormat));\n          const mode = ref.resolutionMode || file.impliedNodeFormat;\n          if (mode && getEmitModuleResolutionKind(options) !== 3 && getEmitModuleResolutionKind(options) !== 99) {\n            (fileProcessingDiagnostics != null ? fileProcessingDiagnostics : fileProcessingDiagnostics = []).push({\n              kind: 2,\n              diagnostics: [\n                createDiagnosticForRange(file, ref, Diagnostics.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)\n              ]\n            });\n          }\n          processTypeReferenceDirective(fileName, mode, resolvedTypeReferenceDirective, { kind: 5, file: file.path, index });\n        }\n      }\n      function processTypeReferenceDirective(typeReferenceDirective, mode, resolution, reason) {\n        var _a32, _b22;\n        (_a32 = tracing) == null ? void 0 : _a32.push(tracing.Phase.Program, \"processTypeReferenceDirective\", { directive: typeReferenceDirective, hasResolved: !!resolution.resolvedTypeReferenceDirective, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : void 0 });\n        processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolution, reason);\n        (_b22 = tracing) == null ? void 0 : _b22.pop();\n      }\n      function processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolution, reason) {\n        var _a32;\n        addResolutionDiagnostics(resolution);\n        const previousResolution = (_a32 = resolvedTypeReferenceDirectives.get(typeReferenceDirective, mode)) == null ? void 0 : _a32.resolvedTypeReferenceDirective;\n        if (previousResolution && previousResolution.primary) {\n          return;\n        }\n        let saveResolution = true;\n        const { resolvedTypeReferenceDirective } = resolution;\n        if (resolvedTypeReferenceDirective) {\n          if (resolvedTypeReferenceDirective.isExternalLibraryImport)\n            currentNodeModulesDepth++;\n          if (resolvedTypeReferenceDirective.primary) {\n            processSourceFile(\n              resolvedTypeReferenceDirective.resolvedFileName,\n              /*isDefaultLib*/\n              false,\n              /*ignoreNoDefaultLib*/\n              false,\n              resolvedTypeReferenceDirective.packageId,\n              reason\n            );\n          } else {\n            if (previousResolution) {\n              if (resolvedTypeReferenceDirective.resolvedFileName !== previousResolution.resolvedFileName) {\n                const otherFileText = host.readFile(resolvedTypeReferenceDirective.resolvedFileName);\n                const existingFile = getSourceFile(previousResolution.resolvedFileName);\n                if (otherFileText !== existingFile.text) {\n                  addFilePreprocessingFileExplainingDiagnostic(\n                    existingFile,\n                    reason,\n                    Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,\n                    [typeReferenceDirective, resolvedTypeReferenceDirective.resolvedFileName, previousResolution.resolvedFileName]\n                  );\n                }\n              }\n              saveResolution = false;\n            } else {\n              processSourceFile(\n                resolvedTypeReferenceDirective.resolvedFileName,\n                /*isDefaultLib*/\n                false,\n                /*ignoreNoDefaultLib*/\n                false,\n                resolvedTypeReferenceDirective.packageId,\n                reason\n              );\n            }\n          }\n          if (resolvedTypeReferenceDirective.isExternalLibraryImport)\n            currentNodeModulesDepth--;\n        } else {\n          addFilePreprocessingFileExplainingDiagnostic(\n            /*file*/\n            void 0,\n            reason,\n            Diagnostics.Cannot_find_type_definition_file_for_0,\n            [typeReferenceDirective]\n          );\n        }\n        if (saveResolution) {\n          resolvedTypeReferenceDirectives.set(typeReferenceDirective, mode, resolution);\n        }\n      }\n      function pathForLibFile(libFileName) {\n        const components = libFileName.split(\".\");\n        let path = components[1];\n        let i = 2;\n        while (components[i] && components[i] !== \"d\") {\n          path += (i === 2 ? \"/\" : \"-\") + components[i];\n          i++;\n        }\n        const resolveFrom = combinePaths(currentDirectory, `__lib_node_modules_lookup_${libFileName}__.ts`);\n        const localOverrideModuleResult = resolveModuleName(\"@typescript/lib-\" + path, resolveFrom, {\n          moduleResolution: 2\n          /* Node10 */\n        }, host, moduleResolutionCache);\n        if (localOverrideModuleResult == null ? void 0 : localOverrideModuleResult.resolvedModule) {\n          return localOverrideModuleResult.resolvedModule.resolvedFileName;\n        }\n        return combinePaths(defaultLibraryPath, libFileName);\n      }\n      function processLibReferenceDirectives(file) {\n        forEach(file.libReferenceDirectives, (libReference, index) => {\n          const libName = toFileNameLowerCase(libReference.fileName);\n          const libFileName = libMap.get(libName);\n          if (libFileName) {\n            processRootFile(\n              pathForLibFile(libFileName),\n              /*isDefaultLib*/\n              true,\n              /*ignoreNoDefaultLib*/\n              true,\n              { kind: 7, file: file.path, index }\n            );\n          } else {\n            const unqualifiedLibName = removeSuffix(removePrefix(libName, \"lib.\"), \".d.ts\");\n            const suggestion = getSpellingSuggestion(unqualifiedLibName, libs, identity2);\n            const diagnostic = suggestion ? Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1 : Diagnostics.Cannot_find_lib_definition_for_0;\n            (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({\n              kind: 0,\n              reason: { kind: 7, file: file.path, index },\n              diagnostic,\n              args: [libName, suggestion]\n            });\n          }\n        });\n      }\n      function getCanonicalFileName(fileName) {\n        return host.getCanonicalFileName(fileName);\n      }\n      function processImportedModules(file) {\n        var _a32;\n        collectExternalModuleReferences(file);\n        if (file.imports.length || file.moduleAugmentations.length) {\n          const moduleNames = getModuleNames(file);\n          const resolutions = resolveModuleNamesReusingOldState(moduleNames, file);\n          Debug2.assert(resolutions.length === moduleNames.length);\n          const optionsForFile = (useSourceOfProjectReferenceRedirect ? (_a32 = getRedirectReferenceForResolution(file)) == null ? void 0 : _a32.commandLine.options : void 0) || options;\n          for (let index = 0; index < moduleNames.length; index++) {\n            const resolution = resolutions[index].resolvedModule;\n            const moduleName = moduleNames[index].text;\n            const mode = getModeForUsageLocation(file, moduleNames[index]);\n            setResolvedModule(file, moduleName, resolutions[index], mode);\n            addResolutionDiagnosticsFromResolutionOrCache(file, moduleName, resolutions[index], mode);\n            if (!resolution) {\n              continue;\n            }\n            const isFromNodeModulesSearch = resolution.isExternalLibraryImport;\n            const isJsFile = !resolutionExtensionIsTSOrJson(resolution.extension);\n            const isJsFileFromNodeModules = isFromNodeModulesSearch && isJsFile;\n            const resolvedFileName = resolution.resolvedFileName;\n            if (isFromNodeModulesSearch) {\n              currentNodeModulesDepth++;\n            }\n            const elideImport = isJsFileFromNodeModules && currentNodeModulesDepth > maxNodeModuleJsDepth;\n            const shouldAddFile = resolvedFileName && !getResolutionDiagnostic(optionsForFile, resolution, file) && !optionsForFile.noResolve && index < file.imports.length && !elideImport && !(isJsFile && !getAllowJSCompilerOption(optionsForFile)) && (isInJSFile(file.imports[index]) || !(file.imports[index].flags & 8388608));\n            if (elideImport) {\n              modulesWithElidedImports.set(file.path, true);\n            } else if (shouldAddFile) {\n              findSourceFile(\n                resolvedFileName,\n                /*isDefaultLib*/\n                false,\n                /*ignoreNoDefaultLib*/\n                false,\n                { kind: 3, file: file.path, index },\n                resolution.packageId\n              );\n            }\n            if (isFromNodeModulesSearch) {\n              currentNodeModulesDepth--;\n            }\n          }\n        } else {\n          file.resolvedModules = void 0;\n        }\n      }\n      function checkSourceFilesBelongToPath(sourceFiles, rootDirectory) {\n        let allFilesBelongToPath = true;\n        const absoluteRootDirectoryPath = host.getCanonicalFileName(getNormalizedAbsolutePath(rootDirectory, currentDirectory));\n        for (const sourceFile of sourceFiles) {\n          if (!sourceFile.isDeclarationFile) {\n            const absoluteSourceFilePath = host.getCanonicalFileName(getNormalizedAbsolutePath(sourceFile.fileName, currentDirectory));\n            if (absoluteSourceFilePath.indexOf(absoluteRootDirectoryPath) !== 0) {\n              addProgramDiagnosticExplainingFile(\n                sourceFile,\n                Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,\n                [sourceFile.fileName, rootDirectory]\n              );\n              allFilesBelongToPath = false;\n            }\n          }\n        }\n        return allFilesBelongToPath;\n      }\n      function parseProjectReferenceConfigFile(ref) {\n        if (!projectReferenceRedirects) {\n          projectReferenceRedirects = /* @__PURE__ */ new Map();\n        }\n        const refPath = resolveProjectReferencePath(ref);\n        const sourceFilePath = toPath3(refPath);\n        const fromCache = projectReferenceRedirects.get(sourceFilePath);\n        if (fromCache !== void 0) {\n          return fromCache || void 0;\n        }\n        let commandLine;\n        let sourceFile;\n        if (host.getParsedCommandLine) {\n          commandLine = host.getParsedCommandLine(refPath);\n          if (!commandLine) {\n            addFileToFilesByName(\n              /*sourceFile*/\n              void 0,\n              sourceFilePath,\n              /*redirectedPath*/\n              void 0\n            );\n            projectReferenceRedirects.set(sourceFilePath, false);\n            return void 0;\n          }\n          sourceFile = Debug2.checkDefined(commandLine.options.configFile);\n          Debug2.assert(!sourceFile.path || sourceFile.path === sourceFilePath);\n          addFileToFilesByName(\n            sourceFile,\n            sourceFilePath,\n            /*redirectedPath*/\n            void 0\n          );\n        } else {\n          const basePath = getNormalizedAbsolutePath(getDirectoryPath(refPath), host.getCurrentDirectory());\n          sourceFile = host.getSourceFile(\n            refPath,\n            100\n            /* JSON */\n          );\n          addFileToFilesByName(\n            sourceFile,\n            sourceFilePath,\n            /*redirectedPath*/\n            void 0\n          );\n          if (sourceFile === void 0) {\n            projectReferenceRedirects.set(sourceFilePath, false);\n            return void 0;\n          }\n          commandLine = parseJsonSourceFileConfigFileContent(\n            sourceFile,\n            configParsingHost,\n            basePath,\n            /*existingOptions*/\n            void 0,\n            refPath\n          );\n        }\n        sourceFile.fileName = refPath;\n        sourceFile.path = sourceFilePath;\n        sourceFile.resolvedPath = sourceFilePath;\n        sourceFile.originalFileName = refPath;\n        const resolvedRef = { commandLine, sourceFile };\n        projectReferenceRedirects.set(sourceFilePath, resolvedRef);\n        if (commandLine.projectReferences) {\n          resolvedRef.references = commandLine.projectReferences.map(parseProjectReferenceConfigFile);\n        }\n        return resolvedRef;\n      }\n      function verifyCompilerOptions() {\n        if (options.strictPropertyInitialization && !getStrictOptionValue(options, \"strictNullChecks\")) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"strictPropertyInitialization\", \"strictNullChecks\");\n        }\n        if (options.exactOptionalPropertyTypes && !getStrictOptionValue(options, \"strictNullChecks\")) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"exactOptionalPropertyTypes\", \"strictNullChecks\");\n        }\n        if (options.isolatedModules || options.verbatimModuleSyntax) {\n          if (options.out) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"out\", options.verbatimModuleSyntax ? \"verbatimModuleSyntax\" : \"isolatedModules\");\n          }\n          if (options.outFile) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"outFile\", options.verbatimModuleSyntax ? \"verbatimModuleSyntax\" : \"isolatedModules\");\n          }\n        }\n        if (options.inlineSourceMap) {\n          if (options.sourceMap) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"sourceMap\", \"inlineSourceMap\");\n          }\n          if (options.mapRoot) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"mapRoot\", \"inlineSourceMap\");\n          }\n        }\n        if (options.composite) {\n          if (options.declaration === false) {\n            createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_declaration_emit, \"declaration\");\n          }\n          if (options.incremental === false) {\n            createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_incremental_compilation, \"declaration\");\n          }\n        }\n        const outputFile = outFile(options);\n        if (options.tsBuildInfoFile) {\n          if (!isIncrementalCompilation(options)) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"tsBuildInfoFile\", \"incremental\", \"composite\");\n          }\n        } else if (options.incremental && !outputFile && !options.configFilePath) {\n          programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));\n        }\n        verifyDeprecatedCompilerOptions();\n        verifyProjectReferences();\n        if (options.composite) {\n          const rootPaths = new Set(rootNames.map(toPath3));\n          for (const file of files) {\n            if (sourceFileMayBeEmitted(file, program) && !rootPaths.has(file.path)) {\n              addProgramDiagnosticExplainingFile(\n                file,\n                Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,\n                [file.fileName, options.configFilePath || \"\"]\n              );\n            }\n          }\n        }\n        if (options.paths) {\n          for (const key in options.paths) {\n            if (!hasProperty(options.paths, key)) {\n              continue;\n            }\n            if (!hasZeroOrOneAsteriskCharacter(key)) {\n              createDiagnosticForOptionPaths(\n                /*onKey*/\n                true,\n                key,\n                Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,\n                key\n              );\n            }\n            if (isArray(options.paths[key])) {\n              const len = options.paths[key].length;\n              if (len === 0) {\n                createDiagnosticForOptionPaths(\n                  /*onKey*/\n                  false,\n                  key,\n                  Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,\n                  key\n                );\n              }\n              for (let i = 0; i < len; i++) {\n                const subst = options.paths[key][i];\n                const typeOfSubst = typeof subst;\n                if (typeOfSubst === \"string\") {\n                  if (!hasZeroOrOneAsteriskCharacter(subst)) {\n                    createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character, subst, key);\n                  }\n                  if (!options.baseUrl && !pathIsRelative(subst) && !pathIsAbsolute(subst)) {\n                    createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash);\n                  }\n                } else {\n                  createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2, subst, key, typeOfSubst);\n                }\n              }\n            } else {\n              createDiagnosticForOptionPaths(\n                /*onKey*/\n                false,\n                key,\n                Diagnostics.Substitutions_for_pattern_0_should_be_an_array,\n                key\n              );\n            }\n          }\n        }\n        if (!options.sourceMap && !options.inlineSourceMap) {\n          if (options.inlineSources) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, \"inlineSources\");\n          }\n          if (options.sourceRoot) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, \"sourceRoot\");\n          }\n        }\n        if (options.out && options.outFile) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"out\", \"outFile\");\n        }\n        if (options.mapRoot && !(options.sourceMap || options.declarationMap)) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"mapRoot\", \"sourceMap\", \"declarationMap\");\n        }\n        if (options.declarationDir) {\n          if (!getEmitDeclarations(options)) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"declarationDir\", \"declaration\", \"composite\");\n          }\n          if (outputFile) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"declarationDir\", options.out ? \"out\" : \"outFile\");\n          }\n        }\n        if (options.declarationMap && !getEmitDeclarations(options)) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"declarationMap\", \"declaration\", \"composite\");\n        }\n        if (options.lib && options.noLib) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"lib\", \"noLib\");\n        }\n        if (options.noImplicitUseStrict && getStrictOptionValue(options, \"alwaysStrict\")) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"noImplicitUseStrict\", \"alwaysStrict\");\n        }\n        const languageVersion = getEmitScriptTarget(options);\n        const firstNonAmbientExternalModuleSourceFile = find(files, (f) => isExternalModule(f) && !f.isDeclarationFile);\n        if (options.isolatedModules || options.verbatimModuleSyntax) {\n          if (options.module === 0 && languageVersion < 2 && options.isolatedModules) {\n            createDiagnosticForOptionName(Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher, \"isolatedModules\", \"target\");\n          }\n          if (options.preserveConstEnums === false) {\n            createDiagnosticForOptionName(Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled, options.verbatimModuleSyntax ? \"verbatimModuleSyntax\" : \"isolatedModules\", \"preserveConstEnums\");\n          }\n        } else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 && options.module === 0) {\n          const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === \"boolean\" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator);\n          programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none));\n        }\n        if (outputFile && !options.emitDeclarationOnly) {\n          if (options.module && !(options.module === 2 || options.module === 4)) {\n            createDiagnosticForOptionName(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, options.out ? \"out\" : \"outFile\", \"module\");\n          } else if (options.module === void 0 && firstNonAmbientExternalModuleSourceFile) {\n            const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === \"boolean\" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator);\n            programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system, options.out ? \"out\" : \"outFile\"));\n          }\n        }\n        if (getResolveJsonModule(options)) {\n          if (getEmitModuleResolutionKind(options) === 1) {\n            createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic, \"resolveJsonModule\");\n          } else if (!hasJsonModuleEmitEnabled(options)) {\n            createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext, \"resolveJsonModule\", \"module\");\n          }\n        }\n        if (options.outDir || // there is --outDir specified\n        options.rootDir || // there is --rootDir specified\n        options.sourceRoot || // there is --sourceRoot specified\n        options.mapRoot) {\n          const dir = getCommonSourceDirectory2();\n          if (options.outDir && dir === \"\" && files.some((file) => getRootLength(file.fileName) > 1)) {\n            createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, \"outDir\");\n          }\n        }\n        if (options.useDefineForClassFields && languageVersion === 0) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3, \"useDefineForClassFields\");\n        }\n        if (options.checkJs && !getAllowJSCompilerOption(options)) {\n          programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"checkJs\", \"allowJs\"));\n        }\n        if (options.emitDeclarationOnly) {\n          if (!getEmitDeclarations(options)) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"emitDeclarationOnly\", \"declaration\", \"composite\");\n          }\n          if (options.noEmit) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"emitDeclarationOnly\", \"noEmit\");\n          }\n        }\n        if (options.emitDecoratorMetadata && !options.experimentalDecorators) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"emitDecoratorMetadata\", \"experimentalDecorators\");\n        }\n        if (options.jsxFactory) {\n          if (options.reactNamespace) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"reactNamespace\", \"jsxFactory\");\n          }\n          if (options.jsx === 4 || options.jsx === 5) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"jsxFactory\", inverseJsxOptionMap.get(\"\" + options.jsx));\n          }\n          if (!parseIsolatedEntityName(options.jsxFactory, languageVersion)) {\n            createOptionValueDiagnostic(\"jsxFactory\", Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFactory);\n          }\n        } else if (options.reactNamespace && !isIdentifierText(options.reactNamespace, languageVersion)) {\n          createOptionValueDiagnostic(\"reactNamespace\", Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier, options.reactNamespace);\n        }\n        if (options.jsxFragmentFactory) {\n          if (!options.jsxFactory) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"jsxFragmentFactory\", \"jsxFactory\");\n          }\n          if (options.jsx === 4 || options.jsx === 5) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"jsxFragmentFactory\", inverseJsxOptionMap.get(\"\" + options.jsx));\n          }\n          if (!parseIsolatedEntityName(options.jsxFragmentFactory, languageVersion)) {\n            createOptionValueDiagnostic(\"jsxFragmentFactory\", Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFragmentFactory);\n          }\n        }\n        if (options.reactNamespace) {\n          if (options.jsx === 4 || options.jsx === 5) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"reactNamespace\", inverseJsxOptionMap.get(\"\" + options.jsx));\n          }\n        }\n        if (options.jsxImportSource) {\n          if (options.jsx === 2) {\n            createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"jsxImportSource\", inverseJsxOptionMap.get(\"\" + options.jsx));\n          }\n        }\n        if (options.preserveValueImports && getEmitModuleKind(options) < 5) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later, \"preserveValueImports\");\n        }\n        const moduleKind = getEmitModuleKind(options);\n        if (options.verbatimModuleSyntax) {\n          if (moduleKind === 2 || moduleKind === 3 || moduleKind === 4) {\n            createDiagnosticForOptionName(Diagnostics.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System, \"verbatimModuleSyntax\");\n          }\n          if (options.isolatedModules) {\n            createRedundantOptionDiagnostic(\"isolatedModules\", \"verbatimModuleSyntax\");\n          }\n          if (options.preserveValueImports) {\n            createRedundantOptionDiagnostic(\"preserveValueImports\", \"verbatimModuleSyntax\");\n          }\n          if (options.importsNotUsedAsValues) {\n            createRedundantOptionDiagnostic(\"importsNotUsedAsValues\", \"verbatimModuleSyntax\");\n          }\n        }\n        if (options.allowImportingTsExtensions && !(options.noEmit || options.emitDeclarationOnly)) {\n          createOptionValueDiagnostic(\"allowImportingTsExtensions\", Diagnostics.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);\n        }\n        const moduleResolution = getEmitModuleResolutionKind(options);\n        if (options.resolvePackageJsonExports && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, \"resolvePackageJsonExports\");\n        }\n        if (options.resolvePackageJsonImports && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, \"resolvePackageJsonImports\");\n        }\n        if (options.customConditions && !moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {\n          createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler, \"customConditions\");\n        }\n        if (moduleResolution === 100 && !emitModuleKindIsNonNodeESM(moduleKind)) {\n          createOptionValueDiagnostic(\"moduleResolution\", Diagnostics.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later, \"bundler\");\n        }\n        if (!options.noEmit && !options.suppressOutputPathCheck) {\n          const emitHost = getEmitHost();\n          const emitFilesSeen = /* @__PURE__ */ new Set();\n          forEachEmittedFile(emitHost, (emitFileNames) => {\n            if (!options.emitDeclarationOnly) {\n              verifyEmitFilePath(emitFileNames.jsFilePath, emitFilesSeen);\n            }\n            verifyEmitFilePath(emitFileNames.declarationFilePath, emitFilesSeen);\n          });\n        }\n        function verifyEmitFilePath(emitFileName, emitFilesSeen) {\n          if (emitFileName) {\n            const emitFilePath = toPath3(emitFileName);\n            if (filesByName.has(emitFilePath)) {\n              let chain;\n              if (!options.configFilePath) {\n                chain = chainDiagnosticMessages(\n                  /*details*/\n                  void 0,\n                  Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig\n                );\n              }\n              chain = chainDiagnosticMessages(chain, Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file, emitFileName);\n              blockEmittingOfFile(emitFileName, createCompilerDiagnosticFromMessageChain(chain));\n            }\n            const emitFileKey = !host.useCaseSensitiveFileNames() ? toFileNameLowerCase(emitFilePath) : emitFilePath;\n            if (emitFilesSeen.has(emitFileKey)) {\n              blockEmittingOfFile(emitFileName, createCompilerDiagnostic(Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files, emitFileName));\n            } else {\n              emitFilesSeen.add(emitFileKey);\n            }\n          }\n        }\n      }\n      function getIgnoreDeprecationsVersion() {\n        const ignoreDeprecations = options.ignoreDeprecations;\n        if (ignoreDeprecations) {\n          if (ignoreDeprecations === \"5.0\") {\n            return new Version(ignoreDeprecations);\n          }\n          reportInvalidIgnoreDeprecations();\n        }\n        return Version.zero;\n      }\n      function checkDeprecations(deprecatedIn, removedIn, createDiagnostic, fn) {\n        const deprecatedInVersion = new Version(deprecatedIn);\n        const removedInVersion = new Version(removedIn);\n        const typescriptVersion = new Version(typeScriptVersion3 || versionMajorMinor);\n        const ignoreDeprecationsVersion = getIgnoreDeprecationsVersion();\n        const mustBeRemoved = !(removedInVersion.compareTo(typescriptVersion) === 1);\n        const canBeSilenced = !mustBeRemoved && ignoreDeprecationsVersion.compareTo(deprecatedInVersion) === -1;\n        if (mustBeRemoved || canBeSilenced) {\n          fn((name, value, useInstead) => {\n            if (mustBeRemoved) {\n              if (value === void 0) {\n                createDiagnostic(name, value, useInstead, Diagnostics.Option_0_has_been_removed_Please_remove_it_from_your_configuration, name);\n              } else {\n                createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, name, value);\n              }\n            } else {\n              if (value === void 0) {\n                createDiagnostic(name, value, useInstead, Diagnostics.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, name, removedIn, deprecatedIn);\n              } else {\n                createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, name, value, removedIn, deprecatedIn);\n              }\n            }\n          });\n        }\n      }\n      function verifyDeprecatedCompilerOptions() {\n        function createDiagnostic(name, value, useInstead, message, arg0, arg1, arg2, arg3) {\n          if (useInstead) {\n            const details = chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.Use_0_instead,\n              useInstead\n            );\n            const chain = chainDiagnosticMessages(details, message, arg0, arg1, arg2, arg3);\n            createDiagnosticForOption(\n              /*onKey*/\n              !value,\n              name,\n              /*option2*/\n              void 0,\n              chain\n            );\n          } else {\n            createDiagnosticForOption(\n              /*onKey*/\n              !value,\n              name,\n              /*option2*/\n              void 0,\n              message,\n              arg0,\n              arg1,\n              arg2,\n              arg3\n            );\n          }\n        }\n        checkDeprecations(\"5.0\", \"5.5\", createDiagnostic, (createDeprecatedDiagnostic) => {\n          if (options.target === 0) {\n            createDeprecatedDiagnostic(\"target\", \"ES3\");\n          }\n          if (options.noImplicitUseStrict) {\n            createDeprecatedDiagnostic(\"noImplicitUseStrict\");\n          }\n          if (options.keyofStringsOnly) {\n            createDeprecatedDiagnostic(\"keyofStringsOnly\");\n          }\n          if (options.suppressExcessPropertyErrors) {\n            createDeprecatedDiagnostic(\"suppressExcessPropertyErrors\");\n          }\n          if (options.suppressImplicitAnyIndexErrors) {\n            createDeprecatedDiagnostic(\"suppressImplicitAnyIndexErrors\");\n          }\n          if (options.noStrictGenericChecks) {\n            createDeprecatedDiagnostic(\"noStrictGenericChecks\");\n          }\n          if (options.charset) {\n            createDeprecatedDiagnostic(\"charset\");\n          }\n          if (options.out) {\n            createDeprecatedDiagnostic(\n              \"out\",\n              /*value*/\n              void 0,\n              \"outFile\"\n            );\n          }\n          if (options.importsNotUsedAsValues) {\n            createDeprecatedDiagnostic(\n              \"importsNotUsedAsValues\",\n              /*value*/\n              void 0,\n              \"verbatimModuleSyntax\"\n            );\n          }\n          if (options.preserveValueImports) {\n            createDeprecatedDiagnostic(\n              \"preserveValueImports\",\n              /*value*/\n              void 0,\n              \"verbatimModuleSyntax\"\n            );\n          }\n        });\n      }\n      function verifyDeprecatedProjectReference(ref, parentFile, index) {\n        function createDiagnostic(_name, _value, _useInstead, message, arg0, arg1, arg2, arg3) {\n          createDiagnosticForReference(parentFile, index, message, arg0, arg1, arg2, arg3);\n        }\n        checkDeprecations(\"5.0\", \"5.5\", createDiagnostic, (createDeprecatedDiagnostic) => {\n          if (ref.prepend) {\n            createDeprecatedDiagnostic(\"prepend\");\n          }\n        });\n      }\n      function createDiagnosticExplainingFile(file, fileProcessingReason, diagnostic, args) {\n        var _a32;\n        let fileIncludeReasons;\n        let relatedInfo;\n        let locationReason = isReferencedFile(fileProcessingReason) ? fileProcessingReason : void 0;\n        if (file)\n          (_a32 = fileReasons.get(file.path)) == null ? void 0 : _a32.forEach(processReason);\n        if (fileProcessingReason)\n          processReason(fileProcessingReason);\n        if (locationReason && (fileIncludeReasons == null ? void 0 : fileIncludeReasons.length) === 1)\n          fileIncludeReasons = void 0;\n        const location = locationReason && getReferencedFileLocation(getSourceFileByPath, locationReason);\n        const fileIncludeReasonDetails = fileIncludeReasons && chainDiagnosticMessages(fileIncludeReasons, Diagnostics.The_file_is_in_the_program_because_Colon);\n        const redirectInfo = file && explainIfFileIsRedirectAndImpliedFormat(file);\n        const chain = chainDiagnosticMessages(redirectInfo ? fileIncludeReasonDetails ? [fileIncludeReasonDetails, ...redirectInfo] : redirectInfo : fileIncludeReasonDetails, diagnostic, ...args || emptyArray);\n        return location && isReferenceFileLocation(location) ? createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : createCompilerDiagnosticFromMessageChain(chain, relatedInfo);\n        function processReason(reason) {\n          (fileIncludeReasons || (fileIncludeReasons = [])).push(fileIncludeReasonToDiagnostics(program, reason));\n          if (!locationReason && isReferencedFile(reason)) {\n            locationReason = reason;\n          } else if (locationReason !== reason) {\n            relatedInfo = append(relatedInfo, fileIncludeReasonToRelatedInformation(reason));\n          }\n          if (reason === fileProcessingReason)\n            fileProcessingReason = void 0;\n        }\n      }\n      function addFilePreprocessingFileExplainingDiagnostic(file, fileProcessingReason, diagnostic, args) {\n        (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({\n          kind: 1,\n          file: file && file.path,\n          fileProcessingReason,\n          diagnostic,\n          args\n        });\n      }\n      function addProgramDiagnosticExplainingFile(file, diagnostic, args) {\n        programDiagnostics.add(createDiagnosticExplainingFile(\n          file,\n          /*fileProcessingReason*/\n          void 0,\n          diagnostic,\n          args\n        ));\n      }\n      function fileIncludeReasonToRelatedInformation(reason) {\n        if (isReferencedFile(reason)) {\n          const referenceLocation = getReferencedFileLocation(getSourceFileByPath, reason);\n          let message2;\n          switch (reason.kind) {\n            case 3:\n              message2 = Diagnostics.File_is_included_via_import_here;\n              break;\n            case 4:\n              message2 = Diagnostics.File_is_included_via_reference_here;\n              break;\n            case 5:\n              message2 = Diagnostics.File_is_included_via_type_library_reference_here;\n              break;\n            case 7:\n              message2 = Diagnostics.File_is_included_via_library_reference_here;\n              break;\n            default:\n              Debug2.assertNever(reason);\n          }\n          return isReferenceFileLocation(referenceLocation) ? createFileDiagnostic(\n            referenceLocation.file,\n            referenceLocation.pos,\n            referenceLocation.end - referenceLocation.pos,\n            message2\n          ) : void 0;\n        }\n        if (!options.configFile)\n          return void 0;\n        let configFileNode;\n        let message;\n        switch (reason.kind) {\n          case 0:\n            if (!options.configFile.configFileSpecs)\n              return void 0;\n            const fileName = getNormalizedAbsolutePath(rootNames[reason.index], currentDirectory);\n            const matchedByFiles = getMatchedFileSpec(program, fileName);\n            if (matchedByFiles) {\n              configFileNode = getTsConfigPropArrayElementValue(options.configFile, \"files\", matchedByFiles);\n              message = Diagnostics.File_is_matched_by_files_list_specified_here;\n              break;\n            }\n            const matchedByInclude = getMatchedIncludeSpec(program, fileName);\n            if (!matchedByInclude || !isString2(matchedByInclude))\n              return void 0;\n            configFileNode = getTsConfigPropArrayElementValue(options.configFile, \"include\", matchedByInclude);\n            message = Diagnostics.File_is_matched_by_include_pattern_specified_here;\n            break;\n          case 1:\n          case 2:\n            const referencedResolvedRef = Debug2.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]);\n            const referenceInfo = forEachProjectReference(\n              projectReferences,\n              resolvedProjectReferences,\n              (resolvedRef, parent2, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent2 == null ? void 0 : parent2.sourceFile) || options.configFile, index: index2 } : void 0\n            );\n            if (!referenceInfo)\n              return void 0;\n            const { sourceFile, index } = referenceInfo;\n            const referencesSyntax = firstDefined(\n              getTsConfigPropArray(sourceFile, \"references\"),\n              (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0\n            );\n            return referencesSyntax && referencesSyntax.elements.length > index ? createDiagnosticForNodeInSourceFile(\n              sourceFile,\n              referencesSyntax.elements[index],\n              reason.kind === 2 ? Diagnostics.File_is_output_from_referenced_project_specified_here : Diagnostics.File_is_source_from_referenced_project_specified_here\n            ) : void 0;\n          case 8:\n            if (!options.types)\n              return void 0;\n            configFileNode = getOptionsSyntaxByArrayElementValue(\"types\", reason.typeReference);\n            message = Diagnostics.File_is_entry_point_of_type_library_specified_here;\n            break;\n          case 6:\n            if (reason.index !== void 0) {\n              configFileNode = getOptionsSyntaxByArrayElementValue(\"lib\", options.lib[reason.index]);\n              message = Diagnostics.File_is_library_specified_here;\n              break;\n            }\n            const target = forEachEntry(targetOptionDeclaration.type, (value, key) => value === getEmitScriptTarget(options) ? key : void 0);\n            configFileNode = target ? getOptionsSyntaxByValue(\"target\", target) : void 0;\n            message = Diagnostics.File_is_default_library_for_target_specified_here;\n            break;\n          default:\n            Debug2.assertNever(reason);\n        }\n        return configFileNode && createDiagnosticForNodeInSourceFile(\n          options.configFile,\n          configFileNode,\n          message\n        );\n      }\n      function verifyProjectReferences() {\n        const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0;\n        forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent2, index) => {\n          const ref = (parent2 ? parent2.commandLine.projectReferences : projectReferences)[index];\n          const parentFile = parent2 && parent2.sourceFile;\n          verifyDeprecatedProjectReference(ref, parentFile, index);\n          if (!resolvedRef) {\n            createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path);\n            return;\n          }\n          const options2 = resolvedRef.commandLine.options;\n          if (!options2.composite || options2.noEmit) {\n            const inputs = parent2 ? parent2.commandLine.fileNames : rootNames;\n            if (inputs.length) {\n              if (!options2.composite)\n                createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path);\n              if (options2.noEmit)\n                createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path);\n            }\n          }\n          if (ref.prepend) {\n            const out = outFile(options2);\n            if (out) {\n              if (!host.fileExists(out)) {\n                createDiagnosticForReference(parentFile, index, Diagnostics.Output_file_0_from_project_1_does_not_exist, out, ref.path);\n              }\n            } else {\n              createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set, ref.path);\n            }\n          }\n          if (!parent2 && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) {\n            createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path);\n            hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true);\n          }\n        });\n      }\n      function createDiagnosticForOptionPathKeyValue(key, valueIndex, message, arg0, arg1, arg2) {\n        let needCompilerDiagnostic = true;\n        const pathsSyntax = getOptionPathsSyntax();\n        for (const pathProp of pathsSyntax) {\n          if (isObjectLiteralExpression(pathProp.initializer)) {\n            for (const keyProps of getPropertyAssignment(pathProp.initializer, key)) {\n              const initializer = keyProps.initializer;\n              if (isArrayLiteralExpression(initializer) && initializer.elements.length > valueIndex) {\n                programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, initializer.elements[valueIndex], message, arg0, arg1, arg2));\n                needCompilerDiagnostic = false;\n              }\n            }\n          }\n        }\n        if (needCompilerDiagnostic) {\n          programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1, arg2));\n        }\n      }\n      function createDiagnosticForOptionPaths(onKey, key, message, arg0) {\n        let needCompilerDiagnostic = true;\n        const pathsSyntax = getOptionPathsSyntax();\n        for (const pathProp of pathsSyntax) {\n          if (isObjectLiteralExpression(pathProp.initializer) && createOptionDiagnosticInObjectLiteralSyntax(\n            pathProp.initializer,\n            onKey,\n            key,\n            /*key2*/\n            void 0,\n            message,\n            arg0\n          )) {\n            needCompilerDiagnostic = false;\n          }\n        }\n        if (needCompilerDiagnostic) {\n          programDiagnostics.add(createCompilerDiagnostic(message, arg0));\n        }\n      }\n      function getOptionsSyntaxByName(name) {\n        const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n        return compilerOptionsObjectLiteralSyntax && getPropertyAssignment(compilerOptionsObjectLiteralSyntax, name);\n      }\n      function getOptionPathsSyntax() {\n        return getOptionsSyntaxByName(\"paths\") || emptyArray;\n      }\n      function getOptionsSyntaxByValue(name, value) {\n        const syntaxByName = getOptionsSyntaxByName(name);\n        return syntaxByName && firstDefined(syntaxByName, (property) => isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : void 0);\n      }\n      function getOptionsSyntaxByArrayElementValue(name, value) {\n        const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n        return compilerOptionsObjectLiteralSyntax && getPropertyArrayElementValue(compilerOptionsObjectLiteralSyntax, name, value);\n      }\n      function createDiagnosticForOptionName(message, option1, option2, option3) {\n        createDiagnosticForOption(\n          /*onKey*/\n          true,\n          option1,\n          option2,\n          message,\n          option1,\n          option2,\n          option3\n        );\n      }\n      function createOptionValueDiagnostic(option1, message, arg0, arg1) {\n        createDiagnosticForOption(\n          /*onKey*/\n          false,\n          option1,\n          /*option2*/\n          void 0,\n          message,\n          arg0,\n          arg1\n        );\n      }\n      function createDiagnosticForReference(sourceFile, index, message, arg0, arg1, arg2, arg3) {\n        const referencesSyntax = firstDefined(\n          getTsConfigPropArray(sourceFile || options.configFile, \"references\"),\n          (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0\n        );\n        if (referencesSyntax && referencesSyntax.elements.length > index) {\n          programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, arg0, arg1, arg2, arg3));\n        } else {\n          programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1, arg2, arg3));\n        }\n      }\n      function createDiagnosticForOption(onKey, option1, option2, message, arg0, arg1, arg2, arg3) {\n        const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n        const needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax || !createOptionDiagnosticInObjectLiteralSyntax(compilerOptionsObjectLiteralSyntax, onKey, option1, option2, message, arg0, arg1, arg2, arg3);\n        if (needCompilerDiagnostic) {\n          if (\"messageText\" in message) {\n            programDiagnostics.add(createCompilerDiagnosticFromMessageChain(message));\n          } else {\n            programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1, arg2, arg3));\n          }\n        }\n      }\n      function getCompilerOptionsObjectLiteralSyntax() {\n        if (_compilerOptionsObjectLiteralSyntax === void 0) {\n          _compilerOptionsObjectLiteralSyntax = false;\n          const jsonObjectLiteral = getTsConfigObjectLiteralExpression(options.configFile);\n          if (jsonObjectLiteral) {\n            for (const prop of getPropertyAssignment(jsonObjectLiteral, \"compilerOptions\")) {\n              if (isObjectLiteralExpression(prop.initializer)) {\n                _compilerOptionsObjectLiteralSyntax = prop.initializer;\n                break;\n              }\n            }\n          }\n        }\n        return _compilerOptionsObjectLiteralSyntax || void 0;\n      }\n      function createOptionDiagnosticInObjectLiteralSyntax(objectLiteral, onKey, key1, key2, message, arg0, arg1, arg2, arg3) {\n        const props = getPropertyAssignment(objectLiteral, key1, key2);\n        for (const prop of props) {\n          if (\"messageText\" in message) {\n            programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, onKey ? prop.name : prop.initializer, message));\n          } else {\n            programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, onKey ? prop.name : prop.initializer, message, arg0, arg1, arg2, arg3));\n          }\n        }\n        return !!props.length;\n      }\n      function createRedundantOptionDiagnostic(errorOnOption, redundantWithOption) {\n        const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n        if (compilerOptionsObjectLiteralSyntax) {\n          createOptionDiagnosticInObjectLiteralSyntax(\n            compilerOptionsObjectLiteralSyntax,\n            /*onKey*/\n            true,\n            errorOnOption,\n            /*key2*/\n            void 0,\n            Diagnostics.Option_0_is_redundant_and_cannot_be_specified_with_option_1,\n            errorOnOption,\n            redundantWithOption\n          );\n        } else {\n          createDiagnosticForOptionName(Diagnostics.Option_0_is_redundant_and_cannot_be_specified_with_option_1, errorOnOption, redundantWithOption);\n        }\n      }\n      function blockEmittingOfFile(emitFileName, diag2) {\n        hasEmitBlockingDiagnostics.set(toPath3(emitFileName), true);\n        programDiagnostics.add(diag2);\n      }\n      function isEmittedFile(file) {\n        if (options.noEmit) {\n          return false;\n        }\n        const filePath = toPath3(file);\n        if (getSourceFileByPath(filePath)) {\n          return false;\n        }\n        const out = outFile(options);\n        if (out) {\n          return isSameFile(filePath, out) || isSameFile(\n            filePath,\n            removeFileExtension(out) + \".d.ts\"\n            /* Dts */\n          );\n        }\n        if (options.declarationDir && containsPath(options.declarationDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames())) {\n          return true;\n        }\n        if (options.outDir) {\n          return containsPath(options.outDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames());\n        }\n        if (fileExtensionIsOneOf(filePath, supportedJSExtensionsFlat) || isDeclarationFileName(filePath)) {\n          const filePathWithoutExtension = removeFileExtension(filePath);\n          return !!getSourceFileByPath(\n            filePathWithoutExtension + \".ts\"\n            /* Ts */\n          ) || !!getSourceFileByPath(\n            filePathWithoutExtension + \".tsx\"\n            /* Tsx */\n          );\n        }\n        return false;\n      }\n      function isSameFile(file1, file2) {\n        return comparePaths(file1, file2, currentDirectory, !host.useCaseSensitiveFileNames()) === 0;\n      }\n      function getSymlinkCache() {\n        if (host.getSymlinkCache) {\n          return host.getSymlinkCache();\n        }\n        if (!symlinks) {\n          symlinks = createSymlinkCache(currentDirectory, getCanonicalFileName);\n        }\n        if (files && automaticTypeDirectiveResolutions && !symlinks.hasProcessedResolutions()) {\n          symlinks.setSymlinksFromResolutions(files, automaticTypeDirectiveResolutions);\n        }\n        return symlinks;\n      }\n    }\n    function updateHostForUseSourceOfProjectReferenceRedirect(host) {\n      let setOfDeclarationDirectories;\n      const originalFileExists = host.compilerHost.fileExists;\n      const originalDirectoryExists = host.compilerHost.directoryExists;\n      const originalGetDirectories = host.compilerHost.getDirectories;\n      const originalRealpath = host.compilerHost.realpath;\n      if (!host.useSourceOfProjectReferenceRedirect)\n        return { onProgramCreateComplete: noop, fileExists };\n      host.compilerHost.fileExists = fileExists;\n      let directoryExists;\n      if (originalDirectoryExists) {\n        directoryExists = host.compilerHost.directoryExists = (path) => {\n          if (originalDirectoryExists.call(host.compilerHost, path)) {\n            handleDirectoryCouldBeSymlink(path);\n            return true;\n          }\n          if (!host.getResolvedProjectReferences())\n            return false;\n          if (!setOfDeclarationDirectories) {\n            setOfDeclarationDirectories = /* @__PURE__ */ new Set();\n            host.forEachResolvedProjectReference((ref) => {\n              const out = outFile(ref.commandLine.options);\n              if (out) {\n                setOfDeclarationDirectories.add(getDirectoryPath(host.toPath(out)));\n              } else {\n                const declarationDir = ref.commandLine.options.declarationDir || ref.commandLine.options.outDir;\n                if (declarationDir) {\n                  setOfDeclarationDirectories.add(host.toPath(declarationDir));\n                }\n              }\n            });\n          }\n          return fileOrDirectoryExistsUsingSource(\n            path,\n            /*isFile*/\n            false\n          );\n        };\n      }\n      if (originalGetDirectories) {\n        host.compilerHost.getDirectories = (path) => !host.getResolvedProjectReferences() || originalDirectoryExists && originalDirectoryExists.call(host.compilerHost, path) ? originalGetDirectories.call(host.compilerHost, path) : [];\n      }\n      if (originalRealpath) {\n        host.compilerHost.realpath = (s) => {\n          var _a22;\n          return ((_a22 = host.getSymlinkCache().getSymlinkedFiles()) == null ? void 0 : _a22.get(host.toPath(s))) || originalRealpath.call(host.compilerHost, s);\n        };\n      }\n      return { onProgramCreateComplete, fileExists, directoryExists };\n      function onProgramCreateComplete() {\n        host.compilerHost.fileExists = originalFileExists;\n        host.compilerHost.directoryExists = originalDirectoryExists;\n        host.compilerHost.getDirectories = originalGetDirectories;\n      }\n      function fileExists(file) {\n        if (originalFileExists.call(host.compilerHost, file))\n          return true;\n        if (!host.getResolvedProjectReferences())\n          return false;\n        if (!isDeclarationFileName(file))\n          return false;\n        return fileOrDirectoryExistsUsingSource(\n          file,\n          /*isFile*/\n          true\n        );\n      }\n      function fileExistsIfProjectReferenceDts(file) {\n        const source = host.getSourceOfProjectReferenceRedirect(host.toPath(file));\n        return source !== void 0 ? isString2(source) ? originalFileExists.call(host.compilerHost, source) : true : void 0;\n      }\n      function directoryExistsIfProjectReferenceDeclDir(dir) {\n        const dirPath = host.toPath(dir);\n        const dirPathWithTrailingDirectorySeparator = `${dirPath}${directorySeparator}`;\n        return forEachKey(\n          setOfDeclarationDirectories,\n          (declDirPath) => dirPath === declDirPath || // Any parent directory of declaration dir\n          startsWith(declDirPath, dirPathWithTrailingDirectorySeparator) || // Any directory inside declaration dir\n          startsWith(dirPath, `${declDirPath}/`)\n        );\n      }\n      function handleDirectoryCouldBeSymlink(directory) {\n        var _a22;\n        if (!host.getResolvedProjectReferences() || containsIgnoredPath(directory))\n          return;\n        if (!originalRealpath || !stringContains(directory, nodeModulesPathPart))\n          return;\n        const symlinkCache = host.getSymlinkCache();\n        const directoryPath = ensureTrailingDirectorySeparator(host.toPath(directory));\n        if ((_a22 = symlinkCache.getSymlinkedDirectories()) == null ? void 0 : _a22.has(directoryPath))\n          return;\n        const real = normalizePath(originalRealpath.call(host.compilerHost, directory));\n        let realPath2;\n        if (real === directory || (realPath2 = ensureTrailingDirectorySeparator(host.toPath(real))) === directoryPath) {\n          symlinkCache.setSymlinkedDirectory(directoryPath, false);\n          return;\n        }\n        symlinkCache.setSymlinkedDirectory(directory, {\n          real: ensureTrailingDirectorySeparator(real),\n          realPath: realPath2\n        });\n      }\n      function fileOrDirectoryExistsUsingSource(fileOrDirectory, isFile) {\n        var _a22;\n        const fileOrDirectoryExistsUsingSource2 = isFile ? (file) => fileExistsIfProjectReferenceDts(file) : (dir) => directoryExistsIfProjectReferenceDeclDir(dir);\n        const result = fileOrDirectoryExistsUsingSource2(fileOrDirectory);\n        if (result !== void 0)\n          return result;\n        const symlinkCache = host.getSymlinkCache();\n        const symlinkedDirectories = symlinkCache.getSymlinkedDirectories();\n        if (!symlinkedDirectories)\n          return false;\n        const fileOrDirectoryPath = host.toPath(fileOrDirectory);\n        if (!stringContains(fileOrDirectoryPath, nodeModulesPathPart))\n          return false;\n        if (isFile && ((_a22 = symlinkCache.getSymlinkedFiles()) == null ? void 0 : _a22.has(fileOrDirectoryPath)))\n          return true;\n        return firstDefinedIterator(\n          symlinkedDirectories.entries(),\n          ([directoryPath, symlinkedDirectory]) => {\n            if (!symlinkedDirectory || !startsWith(fileOrDirectoryPath, directoryPath))\n              return void 0;\n            const result2 = fileOrDirectoryExistsUsingSource2(fileOrDirectoryPath.replace(directoryPath, symlinkedDirectory.realPath));\n            if (isFile && result2) {\n              const absolutePath = getNormalizedAbsolutePath(fileOrDirectory, host.compilerHost.getCurrentDirectory());\n              symlinkCache.setSymlinkedFile(\n                fileOrDirectoryPath,\n                `${symlinkedDirectory.real}${absolutePath.replace(new RegExp(directoryPath, \"i\"), \"\")}`\n              );\n            }\n            return result2;\n          }\n        ) || false;\n      }\n    }\n    function handleNoEmitOptions(program, sourceFile, writeFile2, cancellationToken) {\n      const options = program.getCompilerOptions();\n      if (options.noEmit) {\n        program.getSemanticDiagnostics(sourceFile, cancellationToken);\n        return sourceFile || outFile(options) ? emitSkippedWithNoDiagnostics : program.emitBuildInfo(writeFile2, cancellationToken);\n      }\n      if (!options.noEmitOnError)\n        return void 0;\n      let diagnostics = [\n        ...program.getOptionsDiagnostics(cancellationToken),\n        ...program.getSyntacticDiagnostics(sourceFile, cancellationToken),\n        ...program.getGlobalDiagnostics(cancellationToken),\n        ...program.getSemanticDiagnostics(sourceFile, cancellationToken)\n      ];\n      if (diagnostics.length === 0 && getEmitDeclarations(program.getCompilerOptions())) {\n        diagnostics = program.getDeclarationDiagnostics(\n          /*sourceFile*/\n          void 0,\n          cancellationToken\n        );\n      }\n      if (!diagnostics.length)\n        return void 0;\n      let emittedFiles;\n      if (!sourceFile && !outFile(options)) {\n        const emitResult = program.emitBuildInfo(writeFile2, cancellationToken);\n        if (emitResult.diagnostics)\n          diagnostics = [...diagnostics, ...emitResult.diagnostics];\n        emittedFiles = emitResult.emittedFiles;\n      }\n      return { diagnostics, sourceMaps: void 0, emittedFiles, emitSkipped: true };\n    }\n    function filterSemanticDiagnostics(diagnostic, option) {\n      return filter(diagnostic, (d) => !d.skippedOn || !option[d.skippedOn]);\n    }\n    function parseConfigHostFromCompilerHostLike(host, directoryStructureHost = host) {\n      return {\n        fileExists: (f) => directoryStructureHost.fileExists(f),\n        readDirectory(root, extensions, excludes, includes, depth) {\n          Debug2.assertIsDefined(directoryStructureHost.readDirectory, \"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'\");\n          return directoryStructureHost.readDirectory(root, extensions, excludes, includes, depth);\n        },\n        readFile: (f) => directoryStructureHost.readFile(f),\n        useCaseSensitiveFileNames: host.useCaseSensitiveFileNames(),\n        getCurrentDirectory: () => host.getCurrentDirectory(),\n        onUnRecoverableConfigFileDiagnostic: host.onUnRecoverableConfigFileDiagnostic || returnUndefined,\n        trace: host.trace ? (s) => host.trace(s) : void 0\n      };\n    }\n    function createPrependNodes(projectReferences, getCommandLine, readFile, host) {\n      if (!projectReferences)\n        return emptyArray;\n      let nodes;\n      for (let i = 0; i < projectReferences.length; i++) {\n        const ref = projectReferences[i];\n        const resolvedRefOpts = getCommandLine(ref, i);\n        if (ref.prepend && resolvedRefOpts && resolvedRefOpts.options) {\n          const out = outFile(resolvedRefOpts.options);\n          if (!out)\n            continue;\n          const { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath } = getOutputPathsForBundle(\n            resolvedRefOpts.options,\n            /*forceDtsPaths*/\n            true\n          );\n          const node = createInputFilesWithFilePaths(readFile, jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath, host, resolvedRefOpts.options);\n          (nodes || (nodes = [])).push(node);\n        }\n      }\n      return nodes || emptyArray;\n    }\n    function resolveProjectReferencePath(ref) {\n      return resolveConfigFileProjectName(ref.path);\n    }\n    function getResolutionDiagnostic(options, { extension }, { isDeclarationFile }) {\n      switch (extension) {\n        case \".ts\":\n        case \".d.ts\":\n        case \".mts\":\n        case \".d.mts\":\n        case \".cts\":\n        case \".d.cts\":\n          return void 0;\n        case \".tsx\":\n          return needJsx();\n        case \".jsx\":\n          return needJsx() || needAllowJs();\n        case \".js\":\n        case \".mjs\":\n        case \".cjs\":\n          return needAllowJs();\n        case \".json\":\n          return needResolveJsonModule();\n        default:\n          return needAllowArbitraryExtensions();\n      }\n      function needJsx() {\n        return options.jsx ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set;\n      }\n      function needAllowJs() {\n        return getAllowJSCompilerOption(options) || !getStrictOptionValue(options, \"noImplicitAny\") ? void 0 : Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type;\n      }\n      function needResolveJsonModule() {\n        return getResolveJsonModule(options) ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used;\n      }\n      function needAllowArbitraryExtensions() {\n        return isDeclarationFile || options.allowArbitraryExtensions ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set;\n      }\n    }\n    function getModuleNames({ imports, moduleAugmentations }) {\n      const res = imports.map((i) => i);\n      for (const aug of moduleAugmentations) {\n        if (aug.kind === 10) {\n          res.push(aug);\n        }\n      }\n      return res;\n    }\n    function getModuleNameStringLiteralAt({ imports, moduleAugmentations }, index) {\n      if (index < imports.length)\n        return imports[index];\n      let augIndex = imports.length;\n      for (const aug of moduleAugmentations) {\n        if (aug.kind === 10) {\n          if (index === augIndex)\n            return aug;\n          augIndex++;\n        }\n      }\n      Debug2.fail(\"should never ask for module name at index higher than possible module name\");\n    }\n    var ForegroundColorEscapeSequences, gutterStyleSequence, gutterSeparator, resetEscapeSequence, ellipsis, halfIndent, indent, emptyResolution, moduleResolutionNameAndModeGetter, typeReferenceResolutionNameAndModeGetter, inferredTypesContainingFile, plainJSErrors, emitSkippedWithNoDiagnostics;\n    var init_program = __esm({\n      \"src/compiler/program.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        init_ts_performance();\n        ForegroundColorEscapeSequences = /* @__PURE__ */ ((ForegroundColorEscapeSequences2) => {\n          ForegroundColorEscapeSequences2[\"Grey\"] = \"\\x1B[90m\";\n          ForegroundColorEscapeSequences2[\"Red\"] = \"\\x1B[91m\";\n          ForegroundColorEscapeSequences2[\"Yellow\"] = \"\\x1B[93m\";\n          ForegroundColorEscapeSequences2[\"Blue\"] = \"\\x1B[94m\";\n          ForegroundColorEscapeSequences2[\"Cyan\"] = \"\\x1B[96m\";\n          return ForegroundColorEscapeSequences2;\n        })(ForegroundColorEscapeSequences || {});\n        gutterStyleSequence = \"\\x1B[7m\";\n        gutterSeparator = \" \";\n        resetEscapeSequence = \"\\x1B[0m\";\n        ellipsis = \"...\";\n        halfIndent = \"  \";\n        indent = \"    \";\n        emptyResolution = {\n          resolvedModule: void 0,\n          resolvedTypeReferenceDirective: void 0\n        };\n        moduleResolutionNameAndModeGetter = {\n          getName: getModuleResolutionName,\n          getMode: (entry, file) => getModeForUsageLocation(file, entry)\n        };\n        typeReferenceResolutionNameAndModeGetter = {\n          getName: getTypeReferenceResolutionName,\n          getMode: (entry, file) => getModeForFileReference(entry, file == null ? void 0 : file.impliedNodeFormat)\n        };\n        inferredTypesContainingFile = \"__inferred type names__.ts\";\n        plainJSErrors = /* @__PURE__ */ new Set([\n          // binder errors\n          Diagnostics.Cannot_redeclare_block_scoped_variable_0.code,\n          Diagnostics.A_module_cannot_have_multiple_default_exports.code,\n          Diagnostics.Another_export_default_is_here.code,\n          Diagnostics.The_first_export_default_is_here.code,\n          Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,\n          Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,\n          Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,\n          Diagnostics.constructor_is_a_reserved_word.code,\n          Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,\n          Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,\n          Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,\n          Diagnostics.Invalid_use_of_0_in_strict_mode.code,\n          Diagnostics.A_label_is_not_allowed_here.code,\n          Diagnostics.Octal_literals_are_not_allowed_in_strict_mode.code,\n          Diagnostics.with_statements_are_not_allowed_in_strict_mode.code,\n          // grammar errors\n          Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,\n          Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,\n          Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name.code,\n          Diagnostics.A_class_member_cannot_have_the_0_keyword.code,\n          Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,\n          Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,\n          Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,\n          Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,\n          Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,\n          Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,\n          Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,\n          Diagnostics.A_destructuring_declaration_must_have_an_initializer.code,\n          Diagnostics.A_get_accessor_cannot_have_parameters.code,\n          Diagnostics.A_rest_element_cannot_contain_a_binding_pattern.code,\n          Diagnostics.A_rest_element_cannot_have_a_property_name.code,\n          Diagnostics.A_rest_element_cannot_have_an_initializer.code,\n          Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern.code,\n          Diagnostics.A_rest_parameter_cannot_have_an_initializer.code,\n          Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list.code,\n          Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,\n          Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block.code,\n          Diagnostics.A_set_accessor_cannot_have_rest_parameter.code,\n          Diagnostics.A_set_accessor_must_have_exactly_one_parameter.code,\n          Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,\n          Diagnostics.An_export_declaration_cannot_have_modifiers.code,\n          Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,\n          Diagnostics.An_import_declaration_cannot_have_modifiers.code,\n          Diagnostics.An_object_member_cannot_be_declared_optional.code,\n          Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element.code,\n          Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,\n          Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause.code,\n          Diagnostics.Catch_clause_variable_cannot_have_an_initializer.code,\n          Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,\n          Diagnostics.Classes_can_only_extend_a_single_class.code,\n          Diagnostics.Classes_may_not_have_a_field_named_constructor.code,\n          Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,\n          Diagnostics.Duplicate_label_0.code,\n          Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,\n          Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block.code,\n          Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,\n          Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,\n          Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,\n          Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,\n          Diagnostics.Jump_target_cannot_cross_function_boundary.code,\n          Diagnostics.Line_terminator_not_permitted_before_arrow.code,\n          Diagnostics.Modifiers_cannot_appear_here.code,\n          Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,\n          Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,\n          Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,\n          Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,\n          Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,\n          Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,\n          Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,\n          Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,\n          Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,\n          Diagnostics.Trailing_comma_not_allowed.code,\n          Diagnostics.Variable_declaration_list_cannot_be_empty.code,\n          Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses.code,\n          Diagnostics._0_expected.code,\n          Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,\n          Diagnostics._0_list_cannot_be_empty.code,\n          Diagnostics._0_modifier_already_seen.code,\n          Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration.code,\n          Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,\n          Diagnostics._0_modifier_cannot_appear_on_a_parameter.code,\n          Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,\n          Diagnostics._0_modifier_cannot_be_used_here.code,\n          Diagnostics._0_modifier_must_precede_1_modifier.code,\n          Diagnostics.const_declarations_can_only_be_declared_inside_a_block.code,\n          Diagnostics.const_declarations_must_be_initialized.code,\n          Diagnostics.extends_clause_already_seen.code,\n          Diagnostics.let_declarations_can_only_be_declared_inside_a_block.code,\n          Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,\n          Diagnostics.Class_constructor_may_not_be_a_generator.code,\n          Diagnostics.Class_constructor_may_not_be_an_accessor.code,\n          Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code\n        ]);\n        emitSkippedWithNoDiagnostics = { diagnostics: emptyArray, sourceMaps: void 0, emittedFiles: void 0, emitSkipped: true };\n      }\n    });\n    var init_builderStatePublic = __esm({\n      \"src/compiler/builderStatePublic.ts\"() {\n        \"use strict\";\n      }\n    });\n    function getFileEmitOutput(program, sourceFile, emitOnlyDtsFiles, cancellationToken, customTransformers, forceDtsEmit) {\n      const outputFiles = [];\n      const { emitSkipped, diagnostics } = program.emit(sourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers, forceDtsEmit);\n      return { outputFiles, emitSkipped, diagnostics };\n      function writeFile2(fileName, text, writeByteOrderMark) {\n        outputFiles.push({ name: fileName, writeByteOrderMark, text });\n      }\n    }\n    var BuilderState;\n    var init_builderState = __esm({\n      \"src/compiler/builderState.ts\"() {\n        \"use strict\";\n        init_ts2();\n        ((BuilderState2) => {\n          function createManyToManyPathMap() {\n            function create22(forward, reverse, deleted) {\n              const map2 = {\n                getKeys: (v) => reverse.get(v),\n                getValues: (k) => forward.get(k),\n                keys: () => forward.keys(),\n                deleteKey: (k) => {\n                  (deleted || (deleted = /* @__PURE__ */ new Set())).add(k);\n                  const set = forward.get(k);\n                  if (!set) {\n                    return false;\n                  }\n                  set.forEach((v) => deleteFromMultimap(reverse, v, k));\n                  forward.delete(k);\n                  return true;\n                },\n                set: (k, vSet) => {\n                  deleted == null ? void 0 : deleted.delete(k);\n                  const existingVSet = forward.get(k);\n                  forward.set(k, vSet);\n                  existingVSet == null ? void 0 : existingVSet.forEach((v) => {\n                    if (!vSet.has(v)) {\n                      deleteFromMultimap(reverse, v, k);\n                    }\n                  });\n                  vSet.forEach((v) => {\n                    if (!(existingVSet == null ? void 0 : existingVSet.has(v))) {\n                      addToMultimap(reverse, v, k);\n                    }\n                  });\n                  return map2;\n                }\n              };\n              return map2;\n            }\n            return create22(\n              /* @__PURE__ */ new Map(),\n              /* @__PURE__ */ new Map(),\n              /*deleted*/\n              void 0\n            );\n          }\n          BuilderState2.createManyToManyPathMap = createManyToManyPathMap;\n          function addToMultimap(map2, k, v) {\n            let set = map2.get(k);\n            if (!set) {\n              set = /* @__PURE__ */ new Set();\n              map2.set(k, set);\n            }\n            set.add(v);\n          }\n          function deleteFromMultimap(map2, k, v) {\n            const set = map2.get(k);\n            if (set == null ? void 0 : set.delete(v)) {\n              if (!set.size) {\n                map2.delete(k);\n              }\n              return true;\n            }\n            return false;\n          }\n          function getReferencedFilesFromImportedModuleSymbol(symbol) {\n            return mapDefined(symbol.declarations, (declaration) => {\n              var _a22;\n              return (_a22 = getSourceFileOfNode(declaration)) == null ? void 0 : _a22.resolvedPath;\n            });\n          }\n          function getReferencedFilesFromImportLiteral(checker, importName) {\n            const symbol = checker.getSymbolAtLocation(importName);\n            return symbol && getReferencedFilesFromImportedModuleSymbol(symbol);\n          }\n          function getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName) {\n            return toPath(program.getProjectReferenceRedirect(fileName) || fileName, sourceFileDirectory, getCanonicalFileName);\n          }\n          function getReferencedFiles(program, sourceFile, getCanonicalFileName) {\n            let referencedFiles;\n            if (sourceFile.imports && sourceFile.imports.length > 0) {\n              const checker = program.getTypeChecker();\n              for (const importName of sourceFile.imports) {\n                const declarationSourceFilePaths = getReferencedFilesFromImportLiteral(checker, importName);\n                declarationSourceFilePaths == null ? void 0 : declarationSourceFilePaths.forEach(addReferencedFile);\n              }\n            }\n            const sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath);\n            if (sourceFile.referencedFiles && sourceFile.referencedFiles.length > 0) {\n              for (const referencedFile of sourceFile.referencedFiles) {\n                const referencedPath = getReferencedFileFromFileName(program, referencedFile.fileName, sourceFileDirectory, getCanonicalFileName);\n                addReferencedFile(referencedPath);\n              }\n            }\n            if (sourceFile.resolvedTypeReferenceDirectiveNames) {\n              sourceFile.resolvedTypeReferenceDirectiveNames.forEach(({ resolvedTypeReferenceDirective }) => {\n                if (!resolvedTypeReferenceDirective) {\n                  return;\n                }\n                const fileName = resolvedTypeReferenceDirective.resolvedFileName;\n                const typeFilePath = getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName);\n                addReferencedFile(typeFilePath);\n              });\n            }\n            if (sourceFile.moduleAugmentations.length) {\n              const checker = program.getTypeChecker();\n              for (const moduleName of sourceFile.moduleAugmentations) {\n                if (!isStringLiteral(moduleName))\n                  continue;\n                const symbol = checker.getSymbolAtLocation(moduleName);\n                if (!symbol)\n                  continue;\n                addReferenceFromAmbientModule(symbol);\n              }\n            }\n            for (const ambientModule of program.getTypeChecker().getAmbientModules()) {\n              if (ambientModule.declarations && ambientModule.declarations.length > 1) {\n                addReferenceFromAmbientModule(ambientModule);\n              }\n            }\n            return referencedFiles;\n            function addReferenceFromAmbientModule(symbol) {\n              if (!symbol.declarations) {\n                return;\n              }\n              for (const declaration of symbol.declarations) {\n                const declarationSourceFile = getSourceFileOfNode(declaration);\n                if (declarationSourceFile && declarationSourceFile !== sourceFile) {\n                  addReferencedFile(declarationSourceFile.resolvedPath);\n                }\n              }\n            }\n            function addReferencedFile(referencedPath) {\n              (referencedFiles || (referencedFiles = /* @__PURE__ */ new Set())).add(referencedPath);\n            }\n          }\n          function canReuseOldState(newReferencedMap, oldState) {\n            return oldState && !oldState.referencedMap === !newReferencedMap;\n          }\n          BuilderState2.canReuseOldState = canReuseOldState;\n          function create2(newProgram, oldState, disableUseFileVersionAsSignature) {\n            var _a22, _b3, _c;\n            const fileInfos = /* @__PURE__ */ new Map();\n            const options = newProgram.getCompilerOptions();\n            const isOutFile = outFile(options);\n            const referencedMap = options.module !== 0 && !isOutFile ? createManyToManyPathMap() : void 0;\n            const exportedModulesMap = referencedMap ? createManyToManyPathMap() : void 0;\n            const useOldState = canReuseOldState(referencedMap, oldState);\n            newProgram.getTypeChecker();\n            for (const sourceFile of newProgram.getSourceFiles()) {\n              const version2 = Debug2.checkDefined(sourceFile.version, \"Program intended to be used with Builder should have source files with versions set\");\n              const oldUncommittedSignature = useOldState ? (_a22 = oldState.oldSignatures) == null ? void 0 : _a22.get(sourceFile.resolvedPath) : void 0;\n              const signature = oldUncommittedSignature === void 0 ? useOldState ? (_b3 = oldState.fileInfos.get(sourceFile.resolvedPath)) == null ? void 0 : _b3.signature : void 0 : oldUncommittedSignature || void 0;\n              if (referencedMap) {\n                const newReferences = getReferencedFiles(newProgram, sourceFile, newProgram.getCanonicalFileName);\n                if (newReferences) {\n                  referencedMap.set(sourceFile.resolvedPath, newReferences);\n                }\n                if (useOldState) {\n                  const oldUncommittedExportedModules = (_c = oldState.oldExportedModulesMap) == null ? void 0 : _c.get(sourceFile.resolvedPath);\n                  const exportedModules = oldUncommittedExportedModules === void 0 ? oldState.exportedModulesMap.getValues(sourceFile.resolvedPath) : oldUncommittedExportedModules || void 0;\n                  if (exportedModules) {\n                    exportedModulesMap.set(sourceFile.resolvedPath, exportedModules);\n                  }\n                }\n              }\n              fileInfos.set(sourceFile.resolvedPath, {\n                version: version2,\n                signature,\n                // No need to calculate affectsGlobalScope with --out since its not used at all\n                affectsGlobalScope: !isOutFile ? isFileAffectingGlobalScope(sourceFile) || void 0 : void 0,\n                impliedFormat: sourceFile.impliedNodeFormat\n              });\n            }\n            return {\n              fileInfos,\n              referencedMap,\n              exportedModulesMap,\n              useFileVersionAsSignature: !disableUseFileVersionAsSignature && !useOldState\n            };\n          }\n          BuilderState2.create = create2;\n          function releaseCache2(state) {\n            state.allFilesExcludingDefaultLibraryFile = void 0;\n            state.allFileNames = void 0;\n          }\n          BuilderState2.releaseCache = releaseCache2;\n          function getFilesAffectedBy(state, programOfThisState, path, cancellationToken, host) {\n            var _a22, _b3;\n            const result = getFilesAffectedByWithOldState(\n              state,\n              programOfThisState,\n              path,\n              cancellationToken,\n              host\n            );\n            (_a22 = state.oldSignatures) == null ? void 0 : _a22.clear();\n            (_b3 = state.oldExportedModulesMap) == null ? void 0 : _b3.clear();\n            return result;\n          }\n          BuilderState2.getFilesAffectedBy = getFilesAffectedBy;\n          function getFilesAffectedByWithOldState(state, programOfThisState, path, cancellationToken, host) {\n            const sourceFile = programOfThisState.getSourceFileByPath(path);\n            if (!sourceFile) {\n              return emptyArray;\n            }\n            if (!updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, host)) {\n              return [sourceFile];\n            }\n            return (state.referencedMap ? getFilesAffectedByUpdatedShapeWhenModuleEmit : getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(state, programOfThisState, sourceFile, cancellationToken, host);\n          }\n          BuilderState2.getFilesAffectedByWithOldState = getFilesAffectedByWithOldState;\n          function updateSignatureOfFile(state, signature, path) {\n            state.fileInfos.get(path).signature = signature;\n            (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = /* @__PURE__ */ new Set())).add(path);\n          }\n          BuilderState2.updateSignatureOfFile = updateSignatureOfFile;\n          function computeDtsSignature(programOfThisState, sourceFile, cancellationToken, host, onNewSignature) {\n            programOfThisState.emit(\n              sourceFile,\n              (fileName, text, _writeByteOrderMark, _onError, sourceFiles, data) => {\n                Debug2.assert(isDeclarationFileName(fileName), `File extension for signature expected to be dts: Got:: ${fileName}`);\n                onNewSignature(computeSignatureWithDiagnostics(\n                  programOfThisState,\n                  sourceFile,\n                  text,\n                  host,\n                  data\n                ), sourceFiles);\n              },\n              cancellationToken,\n              /*emitOnlyDtsFiles*/\n              true,\n              /*customTransformers*/\n              void 0,\n              /*forceDtsEmit*/\n              true\n            );\n          }\n          BuilderState2.computeDtsSignature = computeDtsSignature;\n          function updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, host, useFileVersionAsSignature = state.useFileVersionAsSignature) {\n            var _a22;\n            if ((_a22 = state.hasCalledUpdateShapeSignature) == null ? void 0 : _a22.has(sourceFile.resolvedPath))\n              return false;\n            const info = state.fileInfos.get(sourceFile.resolvedPath);\n            const prevSignature = info.signature;\n            let latestSignature;\n            if (!sourceFile.isDeclarationFile && !useFileVersionAsSignature) {\n              computeDtsSignature(programOfThisState, sourceFile, cancellationToken, host, (signature, sourceFiles) => {\n                latestSignature = signature;\n                if (latestSignature !== prevSignature) {\n                  updateExportedModules(state, sourceFile, sourceFiles[0].exportedModulesFromDeclarationEmit);\n                }\n              });\n            }\n            if (latestSignature === void 0) {\n              latestSignature = sourceFile.version;\n              if (state.exportedModulesMap && latestSignature !== prevSignature) {\n                (state.oldExportedModulesMap || (state.oldExportedModulesMap = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, state.exportedModulesMap.getValues(sourceFile.resolvedPath) || false);\n                const references = state.referencedMap ? state.referencedMap.getValues(sourceFile.resolvedPath) : void 0;\n                if (references) {\n                  state.exportedModulesMap.set(sourceFile.resolvedPath, references);\n                } else {\n                  state.exportedModulesMap.deleteKey(sourceFile.resolvedPath);\n                }\n              }\n            }\n            (state.oldSignatures || (state.oldSignatures = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, prevSignature || false);\n            (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = /* @__PURE__ */ new Set())).add(sourceFile.resolvedPath);\n            info.signature = latestSignature;\n            return latestSignature !== prevSignature;\n          }\n          BuilderState2.updateShapeSignature = updateShapeSignature;\n          function updateExportedModules(state, sourceFile, exportedModulesFromDeclarationEmit) {\n            if (!state.exportedModulesMap)\n              return;\n            (state.oldExportedModulesMap || (state.oldExportedModulesMap = /* @__PURE__ */ new Map())).set(sourceFile.resolvedPath, state.exportedModulesMap.getValues(sourceFile.resolvedPath) || false);\n            const exportedModules = getExportedModules(exportedModulesFromDeclarationEmit);\n            if (exportedModules) {\n              state.exportedModulesMap.set(sourceFile.resolvedPath, exportedModules);\n            } else {\n              state.exportedModulesMap.deleteKey(sourceFile.resolvedPath);\n            }\n          }\n          BuilderState2.updateExportedModules = updateExportedModules;\n          function getExportedModules(exportedModulesFromDeclarationEmit) {\n            let exportedModules;\n            exportedModulesFromDeclarationEmit == null ? void 0 : exportedModulesFromDeclarationEmit.forEach(\n              (symbol) => getReferencedFilesFromImportedModuleSymbol(symbol).forEach(\n                (path) => (exportedModules != null ? exportedModules : exportedModules = /* @__PURE__ */ new Set()).add(path)\n              )\n            );\n            return exportedModules;\n          }\n          BuilderState2.getExportedModules = getExportedModules;\n          function getAllDependencies(state, programOfThisState, sourceFile) {\n            const compilerOptions = programOfThisState.getCompilerOptions();\n            if (outFile(compilerOptions)) {\n              return getAllFileNames(state, programOfThisState);\n            }\n            if (!state.referencedMap || isFileAffectingGlobalScope(sourceFile)) {\n              return getAllFileNames(state, programOfThisState);\n            }\n            const seenMap = /* @__PURE__ */ new Set();\n            const queue = [sourceFile.resolvedPath];\n            while (queue.length) {\n              const path = queue.pop();\n              if (!seenMap.has(path)) {\n                seenMap.add(path);\n                const references = state.referencedMap.getValues(path);\n                if (references) {\n                  for (const key of references.keys()) {\n                    queue.push(key);\n                  }\n                }\n              }\n            }\n            return arrayFrom(mapDefinedIterator(seenMap.keys(), (path) => {\n              var _a22, _b3;\n              return (_b3 = (_a22 = programOfThisState.getSourceFileByPath(path)) == null ? void 0 : _a22.fileName) != null ? _b3 : path;\n            }));\n          }\n          BuilderState2.getAllDependencies = getAllDependencies;\n          function getAllFileNames(state, programOfThisState) {\n            if (!state.allFileNames) {\n              const sourceFiles = programOfThisState.getSourceFiles();\n              state.allFileNames = sourceFiles === emptyArray ? emptyArray : sourceFiles.map((file) => file.fileName);\n            }\n            return state.allFileNames;\n          }\n          function getReferencedByPaths(state, referencedFilePath) {\n            const keys = state.referencedMap.getKeys(referencedFilePath);\n            return keys ? arrayFrom(keys.keys()) : [];\n          }\n          BuilderState2.getReferencedByPaths = getReferencedByPaths;\n          function containsOnlyAmbientModules(sourceFile) {\n            for (const statement of sourceFile.statements) {\n              if (!isModuleWithStringLiteralName(statement)) {\n                return false;\n              }\n            }\n            return true;\n          }\n          function containsGlobalScopeAugmentation(sourceFile) {\n            return some(sourceFile.moduleAugmentations, (augmentation) => isGlobalScopeAugmentation(augmentation.parent));\n          }\n          function isFileAffectingGlobalScope(sourceFile) {\n            return containsGlobalScopeAugmentation(sourceFile) || !isExternalOrCommonJsModule(sourceFile) && !isJsonSourceFile(sourceFile) && !containsOnlyAmbientModules(sourceFile);\n          }\n          function getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, firstSourceFile) {\n            if (state.allFilesExcludingDefaultLibraryFile) {\n              return state.allFilesExcludingDefaultLibraryFile;\n            }\n            let result;\n            if (firstSourceFile)\n              addSourceFile(firstSourceFile);\n            for (const sourceFile of programOfThisState.getSourceFiles()) {\n              if (sourceFile !== firstSourceFile) {\n                addSourceFile(sourceFile);\n              }\n            }\n            state.allFilesExcludingDefaultLibraryFile = result || emptyArray;\n            return state.allFilesExcludingDefaultLibraryFile;\n            function addSourceFile(sourceFile) {\n              if (!programOfThisState.isSourceFileDefaultLibrary(sourceFile)) {\n                (result || (result = [])).push(sourceFile);\n              }\n            }\n          }\n          BuilderState2.getAllFilesExcludingDefaultLibraryFile = getAllFilesExcludingDefaultLibraryFile;\n          function getFilesAffectedByUpdatedShapeWhenNonModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape) {\n            const compilerOptions = programOfThisState.getCompilerOptions();\n            if (compilerOptions && outFile(compilerOptions)) {\n              return [sourceFileWithUpdatedShape];\n            }\n            return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape);\n          }\n          function getFilesAffectedByUpdatedShapeWhenModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape, cancellationToken, host) {\n            if (isFileAffectingGlobalScope(sourceFileWithUpdatedShape)) {\n              return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape);\n            }\n            const compilerOptions = programOfThisState.getCompilerOptions();\n            if (compilerOptions && (getIsolatedModules(compilerOptions) || outFile(compilerOptions))) {\n              return [sourceFileWithUpdatedShape];\n            }\n            const seenFileNamesMap = /* @__PURE__ */ new Map();\n            seenFileNamesMap.set(sourceFileWithUpdatedShape.resolvedPath, sourceFileWithUpdatedShape);\n            const queue = getReferencedByPaths(state, sourceFileWithUpdatedShape.resolvedPath);\n            while (queue.length > 0) {\n              const currentPath = queue.pop();\n              if (!seenFileNamesMap.has(currentPath)) {\n                const currentSourceFile = programOfThisState.getSourceFileByPath(currentPath);\n                seenFileNamesMap.set(currentPath, currentSourceFile);\n                if (currentSourceFile && updateShapeSignature(state, programOfThisState, currentSourceFile, cancellationToken, host)) {\n                  queue.push(...getReferencedByPaths(state, currentSourceFile.resolvedPath));\n                }\n              }\n            }\n            return arrayFrom(mapDefinedIterator(seenFileNamesMap.values(), (value) => value));\n          }\n        })(BuilderState || (BuilderState = {}));\n      }\n    });\n    function getBuilderFileEmit(options) {\n      let result = 1;\n      if (options.sourceMap)\n        result = result | 2;\n      if (options.inlineSourceMap)\n        result = result | 4;\n      if (getEmitDeclarations(options))\n        result = result | 8;\n      if (options.declarationMap)\n        result = result | 16;\n      if (options.emitDeclarationOnly)\n        result = result & 24;\n      return result;\n    }\n    function getPendingEmitKind(optionsOrEmitKind, oldOptionsOrEmitKind) {\n      const oldEmitKind = oldOptionsOrEmitKind && (isNumber(oldOptionsOrEmitKind) ? oldOptionsOrEmitKind : getBuilderFileEmit(oldOptionsOrEmitKind));\n      const emitKind = isNumber(optionsOrEmitKind) ? optionsOrEmitKind : getBuilderFileEmit(optionsOrEmitKind);\n      if (oldEmitKind === emitKind)\n        return 0;\n      if (!oldEmitKind || !emitKind)\n        return emitKind;\n      const diff = oldEmitKind ^ emitKind;\n      let result = 0;\n      if (diff & 7)\n        result = emitKind & 7;\n      if (diff & 24)\n        result = result | emitKind & 24;\n      return result;\n    }\n    function hasSameKeys(map1, map2) {\n      return map1 === map2 || map1 !== void 0 && map2 !== void 0 && map1.size === map2.size && !forEachKey(map1, (key) => !map2.has(key));\n    }\n    function createBuilderProgramState(newProgram, oldState) {\n      var _a22, _b3;\n      const state = BuilderState.create(\n        newProgram,\n        oldState,\n        /*disableUseFileVersionAsSignature*/\n        false\n      );\n      state.program = newProgram;\n      const compilerOptions = newProgram.getCompilerOptions();\n      state.compilerOptions = compilerOptions;\n      const outFilePath = outFile(compilerOptions);\n      if (!outFilePath) {\n        state.semanticDiagnosticsPerFile = /* @__PURE__ */ new Map();\n      } else if (compilerOptions.composite && (oldState == null ? void 0 : oldState.outSignature) && outFilePath === outFile(oldState == null ? void 0 : oldState.compilerOptions)) {\n        state.outSignature = oldState.outSignature && getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldState.outSignature);\n      }\n      state.changedFilesSet = /* @__PURE__ */ new Set();\n      state.latestChangedDtsFile = compilerOptions.composite ? oldState == null ? void 0 : oldState.latestChangedDtsFile : void 0;\n      const useOldState = BuilderState.canReuseOldState(state.referencedMap, oldState);\n      const oldCompilerOptions = useOldState ? oldState.compilerOptions : void 0;\n      const canCopySemanticDiagnostics = useOldState && oldState.semanticDiagnosticsPerFile && !!state.semanticDiagnosticsPerFile && !compilerOptionsAffectSemanticDiagnostics(compilerOptions, oldCompilerOptions);\n      const canCopyEmitSignatures = compilerOptions.composite && (oldState == null ? void 0 : oldState.emitSignatures) && !outFilePath && !compilerOptionsAffectDeclarationPath(compilerOptions, oldState.compilerOptions);\n      if (useOldState) {\n        (_a22 = oldState.changedFilesSet) == null ? void 0 : _a22.forEach((value) => state.changedFilesSet.add(value));\n        if (!outFilePath && ((_b3 = oldState.affectedFilesPendingEmit) == null ? void 0 : _b3.size)) {\n          state.affectedFilesPendingEmit = new Map(oldState.affectedFilesPendingEmit);\n          state.seenAffectedFiles = /* @__PURE__ */ new Set();\n        }\n        state.programEmitPending = oldState.programEmitPending;\n      } else {\n        state.buildInfoEmitPending = true;\n      }\n      const referencedMap = state.referencedMap;\n      const oldReferencedMap = useOldState ? oldState.referencedMap : void 0;\n      const copyDeclarationFileDiagnostics = canCopySemanticDiagnostics && !compilerOptions.skipLibCheck === !oldCompilerOptions.skipLibCheck;\n      const copyLibFileDiagnostics = copyDeclarationFileDiagnostics && !compilerOptions.skipDefaultLibCheck === !oldCompilerOptions.skipDefaultLibCheck;\n      state.fileInfos.forEach((info, sourceFilePath) => {\n        var _a32;\n        let oldInfo;\n        let newReferences;\n        if (!useOldState || // File wasn't present in old state\n        !(oldInfo = oldState.fileInfos.get(sourceFilePath)) || // versions dont match\n        oldInfo.version !== info.version || // Implied formats dont match\n        oldInfo.impliedFormat !== info.impliedFormat || // Referenced files changed\n        !hasSameKeys(newReferences = referencedMap && referencedMap.getValues(sourceFilePath), oldReferencedMap && oldReferencedMap.getValues(sourceFilePath)) || // Referenced file was deleted in the new program\n        newReferences && forEachKey(newReferences, (path) => !state.fileInfos.has(path) && oldState.fileInfos.has(path))) {\n          addFileToChangeSet(state, sourceFilePath);\n        } else if (canCopySemanticDiagnostics) {\n          const sourceFile = newProgram.getSourceFileByPath(sourceFilePath);\n          if (sourceFile.isDeclarationFile && !copyDeclarationFileDiagnostics)\n            return;\n          if (sourceFile.hasNoDefaultLib && !copyLibFileDiagnostics)\n            return;\n          const diagnostics = oldState.semanticDiagnosticsPerFile.get(sourceFilePath);\n          if (diagnostics) {\n            state.semanticDiagnosticsPerFile.set(sourceFilePath, oldState.hasReusableDiagnostic ? convertToDiagnostics(diagnostics, newProgram) : diagnostics);\n            if (!state.semanticDiagnosticsFromOldState) {\n              state.semanticDiagnosticsFromOldState = /* @__PURE__ */ new Set();\n            }\n            state.semanticDiagnosticsFromOldState.add(sourceFilePath);\n          }\n        }\n        if (canCopyEmitSignatures) {\n          const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath);\n          if (oldEmitSignature) {\n            ((_a32 = state.emitSignatures) != null ? _a32 : state.emitSignatures = /* @__PURE__ */ new Map()).set(sourceFilePath, getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldEmitSignature));\n          }\n        }\n      });\n      if (useOldState && forEachEntry(oldState.fileInfos, (info, sourceFilePath) => {\n        if (state.fileInfos.has(sourceFilePath))\n          return false;\n        if (outFilePath || info.affectsGlobalScope)\n          return true;\n        state.buildInfoEmitPending = true;\n        return false;\n      })) {\n        BuilderState.getAllFilesExcludingDefaultLibraryFile(\n          state,\n          newProgram,\n          /*firstSourceFile*/\n          void 0\n        ).forEach((file) => addFileToChangeSet(state, file.resolvedPath));\n      } else if (oldCompilerOptions) {\n        const pendingEmitKind = compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions) ? getBuilderFileEmit(compilerOptions) : getPendingEmitKind(compilerOptions, oldCompilerOptions);\n        if (pendingEmitKind !== 0) {\n          if (!outFilePath) {\n            newProgram.getSourceFiles().forEach((f) => {\n              if (!state.changedFilesSet.has(f.resolvedPath)) {\n                addToAffectedFilesPendingEmit(\n                  state,\n                  f.resolvedPath,\n                  pendingEmitKind\n                );\n              }\n            });\n            Debug2.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size);\n            state.seenAffectedFiles = state.seenAffectedFiles || /* @__PURE__ */ new Set();\n            state.buildInfoEmitPending = true;\n          } else {\n            state.programEmitPending = state.programEmitPending ? state.programEmitPending | pendingEmitKind : pendingEmitKind;\n          }\n        }\n      }\n      if (outFilePath && !state.changedFilesSet.size) {\n        if (useOldState)\n          state.bundle = oldState.bundle;\n        if (some(newProgram.getProjectReferences(), (ref) => !!ref.prepend))\n          state.programEmitPending = getBuilderFileEmit(compilerOptions);\n      }\n      return state;\n    }\n    function addFileToChangeSet(state, path) {\n      state.changedFilesSet.add(path);\n      state.buildInfoEmitPending = true;\n      state.programEmitPending = void 0;\n    }\n    function getEmitSignatureFromOldSignature(options, oldOptions, oldEmitSignature) {\n      return !!options.declarationMap === !!oldOptions.declarationMap ? (\n        // Use same format of signature\n        oldEmitSignature\n      ) : (\n        // Convert to different format\n        isString2(oldEmitSignature) ? [oldEmitSignature] : oldEmitSignature[0]\n      );\n    }\n    function convertToDiagnostics(diagnostics, newProgram) {\n      if (!diagnostics.length)\n        return emptyArray;\n      let buildInfoDirectory;\n      return diagnostics.map((diagnostic) => {\n        const result = convertToDiagnosticRelatedInformation(diagnostic, newProgram, toPath3);\n        result.reportsUnnecessary = diagnostic.reportsUnnecessary;\n        result.reportsDeprecated = diagnostic.reportDeprecated;\n        result.source = diagnostic.source;\n        result.skippedOn = diagnostic.skippedOn;\n        const { relatedInformation } = diagnostic;\n        result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => convertToDiagnosticRelatedInformation(r, newProgram, toPath3)) : [] : void 0;\n        return result;\n      });\n      function toPath3(path) {\n        buildInfoDirectory != null ? buildInfoDirectory : buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(newProgram.getCompilerOptions()), newProgram.getCurrentDirectory()));\n        return toPath(path, buildInfoDirectory, newProgram.getCanonicalFileName);\n      }\n    }\n    function convertToDiagnosticRelatedInformation(diagnostic, newProgram, toPath3) {\n      const { file } = diagnostic;\n      return {\n        ...diagnostic,\n        file: file ? newProgram.getSourceFileByPath(toPath3(file)) : void 0\n      };\n    }\n    function releaseCache(state) {\n      BuilderState.releaseCache(state);\n      state.program = void 0;\n    }\n    function backupBuilderProgramEmitState(state) {\n      const outFilePath = outFile(state.compilerOptions);\n      Debug2.assert(!state.changedFilesSet.size || outFilePath);\n      return {\n        affectedFilesPendingEmit: state.affectedFilesPendingEmit && new Map(state.affectedFilesPendingEmit),\n        seenEmittedFiles: state.seenEmittedFiles && new Map(state.seenEmittedFiles),\n        programEmitPending: state.programEmitPending,\n        emitSignatures: state.emitSignatures && new Map(state.emitSignatures),\n        outSignature: state.outSignature,\n        latestChangedDtsFile: state.latestChangedDtsFile,\n        hasChangedEmitSignature: state.hasChangedEmitSignature,\n        changedFilesSet: outFilePath ? new Set(state.changedFilesSet) : void 0\n      };\n    }\n    function restoreBuilderProgramEmitState(state, savedEmitState) {\n      state.affectedFilesPendingEmit = savedEmitState.affectedFilesPendingEmit;\n      state.seenEmittedFiles = savedEmitState.seenEmittedFiles;\n      state.programEmitPending = savedEmitState.programEmitPending;\n      state.emitSignatures = savedEmitState.emitSignatures;\n      state.outSignature = savedEmitState.outSignature;\n      state.latestChangedDtsFile = savedEmitState.latestChangedDtsFile;\n      state.hasChangedEmitSignature = savedEmitState.hasChangedEmitSignature;\n      if (savedEmitState.changedFilesSet)\n        state.changedFilesSet = savedEmitState.changedFilesSet;\n    }\n    function assertSourceFileOkWithoutNextAffectedCall(state, sourceFile) {\n      Debug2.assert(!sourceFile || !state.affectedFiles || state.affectedFiles[state.affectedFilesIndex - 1] !== sourceFile || !state.semanticDiagnosticsPerFile.has(sourceFile.resolvedPath));\n    }\n    function getNextAffectedFile(state, cancellationToken, host) {\n      var _a22, _b3;\n      while (true) {\n        const { affectedFiles } = state;\n        if (affectedFiles) {\n          const seenAffectedFiles = state.seenAffectedFiles;\n          let affectedFilesIndex = state.affectedFilesIndex;\n          while (affectedFilesIndex < affectedFiles.length) {\n            const affectedFile = affectedFiles[affectedFilesIndex];\n            if (!seenAffectedFiles.has(affectedFile.resolvedPath)) {\n              state.affectedFilesIndex = affectedFilesIndex;\n              addToAffectedFilesPendingEmit(state, affectedFile.resolvedPath, getBuilderFileEmit(state.compilerOptions));\n              handleDtsMayChangeOfAffectedFile(\n                state,\n                affectedFile,\n                cancellationToken,\n                host\n              );\n              return affectedFile;\n            }\n            affectedFilesIndex++;\n          }\n          state.changedFilesSet.delete(state.currentChangedFilePath);\n          state.currentChangedFilePath = void 0;\n          (_a22 = state.oldSignatures) == null ? void 0 : _a22.clear();\n          (_b3 = state.oldExportedModulesMap) == null ? void 0 : _b3.clear();\n          state.affectedFiles = void 0;\n        }\n        const nextKey = state.changedFilesSet.keys().next();\n        if (nextKey.done) {\n          return void 0;\n        }\n        const program = Debug2.checkDefined(state.program);\n        const compilerOptions = program.getCompilerOptions();\n        if (outFile(compilerOptions)) {\n          Debug2.assert(!state.semanticDiagnosticsPerFile);\n          return program;\n        }\n        state.affectedFiles = BuilderState.getFilesAffectedByWithOldState(\n          state,\n          program,\n          nextKey.value,\n          cancellationToken,\n          host\n        );\n        state.currentChangedFilePath = nextKey.value;\n        state.affectedFilesIndex = 0;\n        if (!state.seenAffectedFiles)\n          state.seenAffectedFiles = /* @__PURE__ */ new Set();\n      }\n    }\n    function clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles) {\n      var _a22;\n      if (!((_a22 = state.affectedFilesPendingEmit) == null ? void 0 : _a22.size))\n        return;\n      if (!emitOnlyDtsFiles)\n        return state.affectedFilesPendingEmit = void 0;\n      state.affectedFilesPendingEmit.forEach((emitKind, path) => {\n        const pending = emitKind & 7;\n        if (!pending)\n          state.affectedFilesPendingEmit.delete(path);\n        else\n          state.affectedFilesPendingEmit.set(path, pending);\n      });\n    }\n    function getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles) {\n      var _a22;\n      if (!((_a22 = state.affectedFilesPendingEmit) == null ? void 0 : _a22.size))\n        return void 0;\n      return forEachEntry(state.affectedFilesPendingEmit, (emitKind, path) => {\n        var _a32;\n        const affectedFile = state.program.getSourceFileByPath(path);\n        if (!affectedFile || !sourceFileMayBeEmitted(affectedFile, state.program)) {\n          state.affectedFilesPendingEmit.delete(path);\n          return void 0;\n        }\n        const seenKind = (_a32 = state.seenEmittedFiles) == null ? void 0 : _a32.get(affectedFile.resolvedPath);\n        let pendingKind = getPendingEmitKind(emitKind, seenKind);\n        if (emitOnlyDtsFiles)\n          pendingKind = pendingKind & 24;\n        if (pendingKind)\n          return { affectedFile, emitKind: pendingKind };\n      });\n    }\n    function removeDiagnosticsOfLibraryFiles(state) {\n      if (!state.cleanedDiagnosticsOfLibFiles) {\n        state.cleanedDiagnosticsOfLibFiles = true;\n        const program = Debug2.checkDefined(state.program);\n        const options = program.getCompilerOptions();\n        forEach(\n          program.getSourceFiles(),\n          (f) => program.isSourceFileDefaultLibrary(f) && !skipTypeChecking(f, options, program) && removeSemanticDiagnosticsOf(state, f.resolvedPath)\n        );\n      }\n    }\n    function handleDtsMayChangeOfAffectedFile(state, affectedFile, cancellationToken, host) {\n      removeSemanticDiagnosticsOf(state, affectedFile.resolvedPath);\n      if (state.allFilesExcludingDefaultLibraryFile === state.affectedFiles) {\n        removeDiagnosticsOfLibraryFiles(state);\n        BuilderState.updateShapeSignature(\n          state,\n          Debug2.checkDefined(state.program),\n          affectedFile,\n          cancellationToken,\n          host\n        );\n        return;\n      }\n      if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies)\n        return;\n      handleDtsMayChangeOfReferencingExportOfAffectedFile(\n        state,\n        affectedFile,\n        cancellationToken,\n        host\n      );\n    }\n    function handleDtsMayChangeOf(state, path, cancellationToken, host) {\n      removeSemanticDiagnosticsOf(state, path);\n      if (!state.changedFilesSet.has(path)) {\n        const program = Debug2.checkDefined(state.program);\n        const sourceFile = program.getSourceFileByPath(path);\n        if (sourceFile) {\n          BuilderState.updateShapeSignature(\n            state,\n            program,\n            sourceFile,\n            cancellationToken,\n            host,\n            /*useFileVersionAsSignature*/\n            true\n          );\n          if (getEmitDeclarations(state.compilerOptions)) {\n            addToAffectedFilesPendingEmit(\n              state,\n              path,\n              state.compilerOptions.declarationMap ? 24 : 8\n              /* Dts */\n            );\n          }\n        }\n      }\n    }\n    function removeSemanticDiagnosticsOf(state, path) {\n      if (!state.semanticDiagnosticsFromOldState) {\n        return true;\n      }\n      state.semanticDiagnosticsFromOldState.delete(path);\n      state.semanticDiagnosticsPerFile.delete(path);\n      return !state.semanticDiagnosticsFromOldState.size;\n    }\n    function isChangedSignature(state, path) {\n      const oldSignature = Debug2.checkDefined(state.oldSignatures).get(path) || void 0;\n      const newSignature = Debug2.checkDefined(state.fileInfos.get(path)).signature;\n      return newSignature !== oldSignature;\n    }\n    function handleDtsMayChangeOfGlobalScope(state, filePath, cancellationToken, host) {\n      var _a22;\n      if (!((_a22 = state.fileInfos.get(filePath)) == null ? void 0 : _a22.affectsGlobalScope))\n        return false;\n      BuilderState.getAllFilesExcludingDefaultLibraryFile(\n        state,\n        state.program,\n        /*firstSourceFile*/\n        void 0\n      ).forEach((file) => handleDtsMayChangeOf(\n        state,\n        file.resolvedPath,\n        cancellationToken,\n        host\n      ));\n      removeDiagnosticsOfLibraryFiles(state);\n      return true;\n    }\n    function handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, host) {\n      var _a22;\n      if (!state.exportedModulesMap || !state.changedFilesSet.has(affectedFile.resolvedPath))\n        return;\n      if (!isChangedSignature(state, affectedFile.resolvedPath))\n        return;\n      if (getIsolatedModules(state.compilerOptions)) {\n        const seenFileNamesMap = /* @__PURE__ */ new Map();\n        seenFileNamesMap.set(affectedFile.resolvedPath, true);\n        const queue = BuilderState.getReferencedByPaths(state, affectedFile.resolvedPath);\n        while (queue.length > 0) {\n          const currentPath = queue.pop();\n          if (!seenFileNamesMap.has(currentPath)) {\n            seenFileNamesMap.set(currentPath, true);\n            if (handleDtsMayChangeOfGlobalScope(state, currentPath, cancellationToken, host))\n              return;\n            handleDtsMayChangeOf(state, currentPath, cancellationToken, host);\n            if (isChangedSignature(state, currentPath)) {\n              const currentSourceFile = Debug2.checkDefined(state.program).getSourceFileByPath(currentPath);\n              queue.push(...BuilderState.getReferencedByPaths(state, currentSourceFile.resolvedPath));\n            }\n          }\n        }\n      }\n      const seenFileAndExportsOfFile = /* @__PURE__ */ new Set();\n      (_a22 = state.exportedModulesMap.getKeys(affectedFile.resolvedPath)) == null ? void 0 : _a22.forEach((exportedFromPath) => {\n        if (handleDtsMayChangeOfGlobalScope(state, exportedFromPath, cancellationToken, host))\n          return true;\n        const references = state.referencedMap.getKeys(exportedFromPath);\n        return references && forEachKey(\n          references,\n          (filePath) => handleDtsMayChangeOfFileAndExportsOfFile(\n            state,\n            filePath,\n            seenFileAndExportsOfFile,\n            cancellationToken,\n            host\n          )\n        );\n      });\n    }\n    function handleDtsMayChangeOfFileAndExportsOfFile(state, filePath, seenFileAndExportsOfFile, cancellationToken, host) {\n      var _a22, _b3;\n      if (!tryAddToSet(seenFileAndExportsOfFile, filePath))\n        return void 0;\n      if (handleDtsMayChangeOfGlobalScope(state, filePath, cancellationToken, host))\n        return true;\n      handleDtsMayChangeOf(state, filePath, cancellationToken, host);\n      (_a22 = state.exportedModulesMap.getKeys(filePath)) == null ? void 0 : _a22.forEach(\n        (exportedFromPath) => handleDtsMayChangeOfFileAndExportsOfFile(\n          state,\n          exportedFromPath,\n          seenFileAndExportsOfFile,\n          cancellationToken,\n          host\n        )\n      );\n      (_b3 = state.referencedMap.getKeys(filePath)) == null ? void 0 : _b3.forEach(\n        (referencingFilePath) => !seenFileAndExportsOfFile.has(referencingFilePath) && // Not already removed diagnostic file\n        handleDtsMayChangeOf(\n          // Dont add to seen since this is not yet done with the export removal\n          state,\n          referencingFilePath,\n          cancellationToken,\n          host\n        )\n      );\n      return void 0;\n    }\n    function getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken) {\n      return concatenate(\n        getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken),\n        Debug2.checkDefined(state.program).getProgramDiagnostics(sourceFile)\n      );\n    }\n    function getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken) {\n      const path = sourceFile.resolvedPath;\n      if (state.semanticDiagnosticsPerFile) {\n        const cachedDiagnostics = state.semanticDiagnosticsPerFile.get(path);\n        if (cachedDiagnostics) {\n          return filterSemanticDiagnostics(cachedDiagnostics, state.compilerOptions);\n        }\n      }\n      const diagnostics = Debug2.checkDefined(state.program).getBindAndCheckDiagnostics(sourceFile, cancellationToken);\n      if (state.semanticDiagnosticsPerFile) {\n        state.semanticDiagnosticsPerFile.set(path, diagnostics);\n      }\n      return filterSemanticDiagnostics(diagnostics, state.compilerOptions);\n    }\n    function isProgramBundleEmitBuildInfo(info) {\n      return !!outFile(info.options || {});\n    }\n    function getBuildInfo2(state, bundle) {\n      var _a22, _b3, _c;\n      const currentDirectory = Debug2.checkDefined(state.program).getCurrentDirectory();\n      const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions), currentDirectory));\n      const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : void 0;\n      const fileNames = [];\n      const fileNameToFileId = /* @__PURE__ */ new Map();\n      const root = [];\n      if (outFile(state.compilerOptions)) {\n        const fileInfos2 = arrayFrom(state.fileInfos.entries(), ([key, value]) => {\n          const fileId = toFileId(key);\n          tryAddRoot(key, fileId);\n          return value.impliedFormat ? { version: value.version, impliedFormat: value.impliedFormat, signature: void 0, affectsGlobalScope: void 0 } : value.version;\n        });\n        const program2 = {\n          fileNames,\n          fileInfos: fileInfos2,\n          root,\n          options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions),\n          outSignature: state.outSignature,\n          latestChangedDtsFile,\n          pendingEmit: !state.programEmitPending ? void 0 : (\n            // Pending is undefined or None is encoded as undefined\n            state.programEmitPending === getBuilderFileEmit(state.compilerOptions) ? false : (\n              // Pending emit is same as deteremined by compilerOptions\n              state.programEmitPending\n            )\n          )\n          // Actual value\n        };\n        const { js, dts, commonSourceDirectory, sourceFiles } = bundle;\n        state.bundle = bundle = {\n          commonSourceDirectory,\n          sourceFiles,\n          js: js || (!state.compilerOptions.emitDeclarationOnly ? (_a22 = state.bundle) == null ? void 0 : _a22.js : void 0),\n          dts: dts || (getEmitDeclarations(state.compilerOptions) ? (_b3 = state.bundle) == null ? void 0 : _b3.dts : void 0)\n        };\n        return createBuildInfo(program2, bundle);\n      }\n      let fileIdsList;\n      let fileNamesToFileIdListId;\n      let emitSignatures;\n      const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]) => {\n        var _a32, _b22;\n        const fileId = toFileId(key);\n        tryAddRoot(key, fileId);\n        Debug2.assert(fileNames[fileId - 1] === relativeToBuildInfo(key));\n        const oldSignature = (_a32 = state.oldSignatures) == null ? void 0 : _a32.get(key);\n        const actualSignature = oldSignature !== void 0 ? oldSignature || void 0 : value.signature;\n        if (state.compilerOptions.composite) {\n          const file = state.program.getSourceFileByPath(key);\n          if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program)) {\n            const emitSignature = (_b22 = state.emitSignatures) == null ? void 0 : _b22.get(key);\n            if (emitSignature !== actualSignature) {\n              (emitSignatures || (emitSignatures = [])).push(emitSignature === void 0 ? fileId : (\n                // There is no emit, encode as false\n                // fileId, signature: emptyArray if signature only differs in dtsMap option than our own compilerOptions otherwise EmitSignature\n                [fileId, !isString2(emitSignature) && emitSignature[0] === actualSignature ? emptyArray : emitSignature]\n              ));\n            }\n          }\n        }\n        return value.version === actualSignature ? value.affectsGlobalScope || value.impliedFormat ? (\n          // If file version is same as signature, dont serialize signature\n          { version: value.version, signature: void 0, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }\n        ) : (\n          // If file info only contains version and signature and both are same we can just write string\n          value.version\n        ) : actualSignature !== void 0 ? (\n          // If signature is not same as version, encode signature in the fileInfo\n          oldSignature === void 0 ? (\n            // If we havent computed signature, use fileInfo as is\n            value\n          ) : (\n            // Serialize fileInfo with new updated signature\n            { version: value.version, signature: actualSignature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }\n          )\n        ) : (\n          // Signature of the FileInfo is undefined, serialize it as false\n          { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }\n        );\n      });\n      let referencedMap;\n      if (state.referencedMap) {\n        referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map((key) => [\n          toFileId(key),\n          toFileIdListId(state.referencedMap.getValues(key))\n        ]);\n      }\n      let exportedModulesMap;\n      if (state.exportedModulesMap) {\n        exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), (key) => {\n          var _a32;\n          const oldValue = (_a32 = state.oldExportedModulesMap) == null ? void 0 : _a32.get(key);\n          if (oldValue === void 0)\n            return [toFileId(key), toFileIdListId(state.exportedModulesMap.getValues(key))];\n          if (oldValue)\n            return [toFileId(key), toFileIdListId(oldValue)];\n          return void 0;\n        });\n      }\n      let semanticDiagnosticsPerFile;\n      if (state.semanticDiagnosticsPerFile) {\n        for (const key of arrayFrom(state.semanticDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) {\n          const value = state.semanticDiagnosticsPerFile.get(key);\n          (semanticDiagnosticsPerFile || (semanticDiagnosticsPerFile = [])).push(\n            value.length ? [\n              toFileId(key),\n              convertToReusableDiagnostics(value, relativeToBuildInfo)\n            ] : toFileId(key)\n          );\n        }\n      }\n      let affectedFilesPendingEmit;\n      if ((_c = state.affectedFilesPendingEmit) == null ? void 0 : _c.size) {\n        const fullEmitForOptions = getBuilderFileEmit(state.compilerOptions);\n        const seenFiles = /* @__PURE__ */ new Set();\n        for (const path of arrayFrom(state.affectedFilesPendingEmit.keys()).sort(compareStringsCaseSensitive)) {\n          if (tryAddToSet(seenFiles, path)) {\n            const file = state.program.getSourceFileByPath(path);\n            if (!file || !sourceFileMayBeEmitted(file, state.program))\n              continue;\n            const fileId = toFileId(path), pendingEmit = state.affectedFilesPendingEmit.get(path);\n            (affectedFilesPendingEmit || (affectedFilesPendingEmit = [])).push(\n              pendingEmit === fullEmitForOptions ? fileId : (\n                // Pending full emit per options\n                pendingEmit === 8 ? [fileId] : (\n                  // Pending on Dts only\n                  [fileId, pendingEmit]\n                )\n              )\n              // Anything else\n            );\n          }\n        }\n      }\n      let changeFileSet;\n      if (state.changedFilesSet.size) {\n        for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) {\n          (changeFileSet || (changeFileSet = [])).push(toFileId(path));\n        }\n      }\n      const program = {\n        fileNames,\n        fileInfos,\n        root,\n        options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions),\n        fileIdsList,\n        referencedMap,\n        exportedModulesMap,\n        semanticDiagnosticsPerFile,\n        affectedFilesPendingEmit,\n        changeFileSet,\n        emitSignatures,\n        latestChangedDtsFile\n      };\n      return createBuildInfo(program, bundle);\n      function relativeToBuildInfoEnsuringAbsolutePath(path) {\n        return relativeToBuildInfo(getNormalizedAbsolutePath(path, currentDirectory));\n      }\n      function relativeToBuildInfo(path) {\n        return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, state.program.getCanonicalFileName));\n      }\n      function toFileId(path) {\n        let fileId = fileNameToFileId.get(path);\n        if (fileId === void 0) {\n          fileNames.push(relativeToBuildInfo(path));\n          fileNameToFileId.set(path, fileId = fileNames.length);\n        }\n        return fileId;\n      }\n      function toFileIdListId(set) {\n        const fileIds = arrayFrom(set.keys(), toFileId).sort(compareValues);\n        const key = fileIds.join();\n        let fileIdListId = fileNamesToFileIdListId == null ? void 0 : fileNamesToFileIdListId.get(key);\n        if (fileIdListId === void 0) {\n          (fileIdsList || (fileIdsList = [])).push(fileIds);\n          (fileNamesToFileIdListId || (fileNamesToFileIdListId = /* @__PURE__ */ new Map())).set(key, fileIdListId = fileIdsList.length);\n        }\n        return fileIdListId;\n      }\n      function tryAddRoot(path, fileId) {\n        const file = state.program.getSourceFile(path);\n        if (!state.program.getFileIncludeReasons().get(file.path).some(\n          (r) => r.kind === 0\n          /* RootFile */\n        ))\n          return;\n        if (!root.length)\n          return root.push(fileId);\n        const last2 = root[root.length - 1];\n        const isLastStartEnd = isArray(last2);\n        if (isLastStartEnd && last2[1] === fileId - 1)\n          return last2[1] = fileId;\n        if (isLastStartEnd || root.length === 1 || last2 !== fileId - 1)\n          return root.push(fileId);\n        const lastButOne = root[root.length - 2];\n        if (!isNumber(lastButOne) || lastButOne !== last2 - 1)\n          return root.push(fileId);\n        root[root.length - 2] = [lastButOne, fileId];\n        return root.length = root.length - 1;\n      }\n      function convertToProgramBuildInfoCompilerOptions(options) {\n        let result;\n        const { optionsNameMap } = getOptionsNameMap();\n        for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) {\n          const optionInfo = optionsNameMap.get(name.toLowerCase());\n          if (optionInfo == null ? void 0 : optionInfo.affectsBuildInfo) {\n            (result || (result = {}))[name] = convertToReusableCompilerOptionValue(\n              optionInfo,\n              options[name],\n              relativeToBuildInfoEnsuringAbsolutePath\n            );\n          }\n        }\n        return result;\n      }\n    }\n    function convertToReusableCompilerOptionValue(option, value, relativeToBuildInfo) {\n      if (option) {\n        Debug2.assert(option.type !== \"listOrElement\");\n        if (option.type === \"list\") {\n          const values = value;\n          if (option.element.isFilePath && values.length) {\n            return values.map(relativeToBuildInfo);\n          }\n        } else if (option.isFilePath) {\n          return relativeToBuildInfo(value);\n        }\n      }\n      return value;\n    }\n    function convertToReusableDiagnostics(diagnostics, relativeToBuildInfo) {\n      Debug2.assert(!!diagnostics.length);\n      return diagnostics.map((diagnostic) => {\n        const result = convertToReusableDiagnosticRelatedInformation(diagnostic, relativeToBuildInfo);\n        result.reportsUnnecessary = diagnostic.reportsUnnecessary;\n        result.reportDeprecated = diagnostic.reportsDeprecated;\n        result.source = diagnostic.source;\n        result.skippedOn = diagnostic.skippedOn;\n        const { relatedInformation } = diagnostic;\n        result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => convertToReusableDiagnosticRelatedInformation(r, relativeToBuildInfo)) : [] : void 0;\n        return result;\n      });\n    }\n    function convertToReusableDiagnosticRelatedInformation(diagnostic, relativeToBuildInfo) {\n      const { file } = diagnostic;\n      return {\n        ...diagnostic,\n        file: file ? relativeToBuildInfo(file.resolvedPath) : void 0\n      };\n    }\n    function getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n      let host;\n      let newProgram;\n      let oldProgram;\n      if (newProgramOrRootNames === void 0) {\n        Debug2.assert(hostOrOptions === void 0);\n        host = oldProgramOrHost;\n        oldProgram = configFileParsingDiagnosticsOrOldProgram;\n        Debug2.assert(!!oldProgram);\n        newProgram = oldProgram.getProgram();\n      } else if (isArray(newProgramOrRootNames)) {\n        oldProgram = configFileParsingDiagnosticsOrOldProgram;\n        newProgram = createProgram({\n          rootNames: newProgramOrRootNames,\n          options: hostOrOptions,\n          host: oldProgramOrHost,\n          oldProgram: oldProgram && oldProgram.getProgramOrUndefined(),\n          configFileParsingDiagnostics,\n          projectReferences\n        });\n        host = oldProgramOrHost;\n      } else {\n        newProgram = newProgramOrRootNames;\n        host = hostOrOptions;\n        oldProgram = oldProgramOrHost;\n        configFileParsingDiagnostics = configFileParsingDiagnosticsOrOldProgram;\n      }\n      return { host, newProgram, oldProgram, configFileParsingDiagnostics: configFileParsingDiagnostics || emptyArray };\n    }\n    function getTextHandlingSourceMapForSignature(text, data) {\n      return (data == null ? void 0 : data.sourceMapUrlPos) !== void 0 ? text.substring(0, data.sourceMapUrlPos) : text;\n    }\n    function computeSignatureWithDiagnostics(program, sourceFile, text, host, data) {\n      var _a22, _b3;\n      text = getTextHandlingSourceMapForSignature(text, data);\n      let sourceFileDirectory;\n      if ((_a22 = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a22.length) {\n        text += data.diagnostics.map(\n          (diagnostic) => `${locationInfo(diagnostic)}${DiagnosticCategory[diagnostic.category]}${diagnostic.code}: ${flattenDiagnosticMessageText22(diagnostic.messageText)}`\n        ).join(\"\\n\");\n      }\n      return ((_b3 = host.createHash) != null ? _b3 : generateDjb2Hash)(text);\n      function flattenDiagnosticMessageText22(diagnostic) {\n        return isString2(diagnostic) ? diagnostic : diagnostic === void 0 ? \"\" : !diagnostic.next ? diagnostic.messageText : diagnostic.messageText + diagnostic.next.map(flattenDiagnosticMessageText22).join(\"\\n\");\n      }\n      function locationInfo(diagnostic) {\n        if (diagnostic.file.resolvedPath === sourceFile.resolvedPath)\n          return `(${diagnostic.start},${diagnostic.length})`;\n        if (sourceFileDirectory === void 0)\n          sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath);\n        return `${ensurePathIsNonModuleName(getRelativePathFromDirectory(\n          sourceFileDirectory,\n          diagnostic.file.resolvedPath,\n          program.getCanonicalFileName\n        ))}(${diagnostic.start},${diagnostic.length})`;\n      }\n    }\n    function computeSignature(text, host, data) {\n      var _a22;\n      return ((_a22 = host.createHash) != null ? _a22 : generateDjb2Hash)(getTextHandlingSourceMapForSignature(text, data));\n    }\n    function createBuilderProgram(kind, { newProgram, host, oldProgram, configFileParsingDiagnostics }) {\n      let oldState = oldProgram && oldProgram.getState();\n      if (oldState && newProgram === oldState.program && configFileParsingDiagnostics === newProgram.getConfigFileParsingDiagnostics()) {\n        newProgram = void 0;\n        oldState = void 0;\n        return oldProgram;\n      }\n      const state = createBuilderProgramState(newProgram, oldState);\n      newProgram.getBuildInfo = (bundle) => getBuildInfo2(state, bundle);\n      newProgram = void 0;\n      oldProgram = void 0;\n      oldState = void 0;\n      const getState = () => state;\n      const builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics);\n      builderProgram.getState = getState;\n      builderProgram.saveEmitState = () => backupBuilderProgramEmitState(state);\n      builderProgram.restoreEmitState = (saved) => restoreBuilderProgramEmitState(state, saved);\n      builderProgram.hasChangedEmitSignature = () => !!state.hasChangedEmitSignature;\n      builderProgram.getAllDependencies = (sourceFile) => BuilderState.getAllDependencies(state, Debug2.checkDefined(state.program), sourceFile);\n      builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;\n      builderProgram.emit = emit;\n      builderProgram.releaseProgram = () => releaseCache(state);\n      if (kind === 0) {\n        builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile;\n      } else if (kind === 1) {\n        builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile;\n        builderProgram.emitNextAffectedFile = emitNextAffectedFile;\n        builderProgram.emitBuildInfo = emitBuildInfo;\n      } else {\n        notImplemented();\n      }\n      return builderProgram;\n      function emitBuildInfo(writeFile2, cancellationToken) {\n        if (state.buildInfoEmitPending) {\n          const result = Debug2.checkDefined(state.program).emitBuildInfo(writeFile2 || maybeBind(host, host.writeFile), cancellationToken);\n          state.buildInfoEmitPending = false;\n          return result;\n        }\n        return emitSkippedWithNoDiagnostics;\n      }\n      function emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n        var _a22, _b3, _c, _d, _e;\n        let affected = getNextAffectedFile(state, cancellationToken, host);\n        const programEmitKind = getBuilderFileEmit(state.compilerOptions);\n        let emitKind = emitOnlyDtsFiles ? programEmitKind & 24 : programEmitKind;\n        if (!affected) {\n          if (!outFile(state.compilerOptions)) {\n            const pendingAffectedFile = getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles);\n            if (!pendingAffectedFile) {\n              if (!state.buildInfoEmitPending)\n                return void 0;\n              const affected2 = state.program;\n              const result2 = affected2.emitBuildInfo(writeFile2 || maybeBind(host, host.writeFile), cancellationToken);\n              state.buildInfoEmitPending = false;\n              return { result: result2, affected: affected2 };\n            }\n            ({ affectedFile: affected, emitKind } = pendingAffectedFile);\n          } else {\n            if (!state.programEmitPending)\n              return void 0;\n            emitKind = state.programEmitPending;\n            if (emitOnlyDtsFiles)\n              emitKind = emitKind & 24;\n            if (!emitKind)\n              return void 0;\n            affected = state.program;\n          }\n        }\n        let emitOnly;\n        if (emitKind & 7)\n          emitOnly = 0;\n        if (emitKind & 24)\n          emitOnly = emitOnly === void 0 ? 1 : void 0;\n        if (affected === state.program) {\n          state.programEmitPending = state.changedFilesSet.size ? getPendingEmitKind(programEmitKind, emitKind) : state.programEmitPending ? getPendingEmitKind(state.programEmitPending, emitKind) : void 0;\n        }\n        const result = state.program.emit(\n          affected === state.program ? void 0 : affected,\n          getWriteFileCallback(writeFile2, customTransformers),\n          cancellationToken,\n          emitOnly,\n          customTransformers\n        );\n        if (affected !== state.program) {\n          const affectedSourceFile = affected;\n          state.seenAffectedFiles.add(affectedSourceFile.resolvedPath);\n          if (state.affectedFilesIndex !== void 0)\n            state.affectedFilesIndex++;\n          state.buildInfoEmitPending = true;\n          const existing = ((_a22 = state.seenEmittedFiles) == null ? void 0 : _a22.get(affectedSourceFile.resolvedPath)) || 0;\n          ((_b3 = state.seenEmittedFiles) != null ? _b3 : state.seenEmittedFiles = /* @__PURE__ */ new Map()).set(affectedSourceFile.resolvedPath, emitKind | existing);\n          const existingPending = ((_c = state.affectedFilesPendingEmit) == null ? void 0 : _c.get(affectedSourceFile.resolvedPath)) || programEmitKind;\n          const pendingKind = getPendingEmitKind(existingPending, emitKind | existing);\n          if (pendingKind)\n            ((_d = state.affectedFilesPendingEmit) != null ? _d : state.affectedFilesPendingEmit = /* @__PURE__ */ new Map()).set(affectedSourceFile.resolvedPath, pendingKind);\n          else\n            (_e = state.affectedFilesPendingEmit) == null ? void 0 : _e.delete(affectedSourceFile.resolvedPath);\n        } else {\n          state.changedFilesSet.clear();\n        }\n        return { result, affected };\n      }\n      function getWriteFileCallback(writeFile2, customTransformers) {\n        if (!getEmitDeclarations(state.compilerOptions))\n          return writeFile2 || maybeBind(host, host.writeFile);\n        return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => {\n          var _a22, _b3, _c, _d, _e, _f, _g;\n          if (isDeclarationFileName(fileName)) {\n            if (!outFile(state.compilerOptions)) {\n              Debug2.assert((sourceFiles == null ? void 0 : sourceFiles.length) === 1);\n              let emitSignature;\n              if (!customTransformers) {\n                const file = sourceFiles[0];\n                const info = state.fileInfos.get(file.resolvedPath);\n                if (info.signature === file.version) {\n                  const signature = computeSignatureWithDiagnostics(\n                    state.program,\n                    file,\n                    text,\n                    host,\n                    data\n                  );\n                  if (!((_a22 = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a22.length))\n                    emitSignature = signature;\n                  if (signature !== file.version) {\n                    if (host.storeFilesChangingSignatureDuringEmit)\n                      ((_b3 = state.filesChangingSignature) != null ? _b3 : state.filesChangingSignature = /* @__PURE__ */ new Set()).add(file.resolvedPath);\n                    if (state.exportedModulesMap)\n                      BuilderState.updateExportedModules(state, file, file.exportedModulesFromDeclarationEmit);\n                    if (state.affectedFiles) {\n                      const existing = (_c = state.oldSignatures) == null ? void 0 : _c.get(file.resolvedPath);\n                      if (existing === void 0)\n                        ((_d = state.oldSignatures) != null ? _d : state.oldSignatures = /* @__PURE__ */ new Map()).set(file.resolvedPath, info.signature || false);\n                      info.signature = signature;\n                    } else {\n                      info.signature = signature;\n                      (_e = state.oldExportedModulesMap) == null ? void 0 : _e.clear();\n                    }\n                  }\n                }\n              }\n              if (state.compilerOptions.composite) {\n                const filePath = sourceFiles[0].resolvedPath;\n                emitSignature = handleNewSignature((_f = state.emitSignatures) == null ? void 0 : _f.get(filePath), emitSignature);\n                if (!emitSignature)\n                  return;\n                ((_g = state.emitSignatures) != null ? _g : state.emitSignatures = /* @__PURE__ */ new Map()).set(filePath, emitSignature);\n              }\n            } else if (state.compilerOptions.composite) {\n              const newSignature = handleNewSignature(\n                state.outSignature,\n                /*newSignature*/\n                void 0\n              );\n              if (!newSignature)\n                return;\n              state.outSignature = newSignature;\n            }\n          }\n          if (writeFile2)\n            writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n          else if (host.writeFile)\n            host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n          else\n            state.program.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n          function handleNewSignature(oldSignatureFormat, newSignature) {\n            const oldSignature = !oldSignatureFormat || isString2(oldSignatureFormat) ? oldSignatureFormat : oldSignatureFormat[0];\n            newSignature != null ? newSignature : newSignature = computeSignature(text, host, data);\n            if (newSignature === oldSignature) {\n              if (oldSignatureFormat === oldSignature)\n                return void 0;\n              else if (data)\n                data.differsOnlyInMap = true;\n              else\n                data = { differsOnlyInMap: true };\n            } else {\n              state.hasChangedEmitSignature = true;\n              state.latestChangedDtsFile = fileName;\n            }\n            return newSignature;\n          }\n        };\n      }\n      function emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n        if (kind === 1) {\n          assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile);\n        }\n        const result = handleNoEmitOptions(builderProgram, targetSourceFile, writeFile2, cancellationToken);\n        if (result)\n          return result;\n        if (!targetSourceFile) {\n          if (kind === 1) {\n            let sourceMaps = [];\n            let emitSkipped = false;\n            let diagnostics;\n            let emittedFiles = [];\n            let affectedEmitResult;\n            while (affectedEmitResult = emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers)) {\n              emitSkipped = emitSkipped || affectedEmitResult.result.emitSkipped;\n              diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics);\n              emittedFiles = addRange(emittedFiles, affectedEmitResult.result.emittedFiles);\n              sourceMaps = addRange(sourceMaps, affectedEmitResult.result.sourceMaps);\n            }\n            return {\n              emitSkipped,\n              diagnostics: diagnostics || emptyArray,\n              emittedFiles,\n              sourceMaps\n            };\n          } else {\n            clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles);\n          }\n        }\n        return Debug2.checkDefined(state.program).emit(\n          targetSourceFile,\n          getWriteFileCallback(writeFile2, customTransformers),\n          cancellationToken,\n          emitOnlyDtsFiles,\n          customTransformers\n        );\n      }\n      function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) {\n        while (true) {\n          const affected = getNextAffectedFile(state, cancellationToken, host);\n          let result;\n          if (!affected)\n            return void 0;\n          else if (affected !== state.program) {\n            const affectedSourceFile = affected;\n            if (!ignoreSourceFile || !ignoreSourceFile(affectedSourceFile)) {\n              result = getSemanticDiagnosticsOfFile(state, affectedSourceFile, cancellationToken);\n            }\n            state.seenAffectedFiles.add(affectedSourceFile.resolvedPath);\n            state.affectedFilesIndex++;\n            state.buildInfoEmitPending = true;\n            if (!result)\n              continue;\n          } else {\n            result = state.program.getSemanticDiagnostics(\n              /*targetSourceFile*/\n              void 0,\n              cancellationToken\n            );\n            state.changedFilesSet.clear();\n            state.programEmitPending = getBuilderFileEmit(state.compilerOptions);\n          }\n          return { result, affected };\n        }\n      }\n      function getSemanticDiagnostics(sourceFile, cancellationToken) {\n        assertSourceFileOkWithoutNextAffectedCall(state, sourceFile);\n        const compilerOptions = Debug2.checkDefined(state.program).getCompilerOptions();\n        if (outFile(compilerOptions)) {\n          Debug2.assert(!state.semanticDiagnosticsPerFile);\n          return Debug2.checkDefined(state.program).getSemanticDiagnostics(sourceFile, cancellationToken);\n        }\n        if (sourceFile) {\n          return getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken);\n        }\n        while (getSemanticDiagnosticsOfNextAffectedFile(cancellationToken)) {\n        }\n        let diagnostics;\n        for (const sourceFile2 of Debug2.checkDefined(state.program).getSourceFiles()) {\n          diagnostics = addRange(diagnostics, getSemanticDiagnosticsOfFile(state, sourceFile2, cancellationToken));\n        }\n        return diagnostics || emptyArray;\n      }\n    }\n    function addToAffectedFilesPendingEmit(state, affectedFilePendingEmit, kind) {\n      var _a22, _b3;\n      const existingKind = ((_a22 = state.affectedFilesPendingEmit) == null ? void 0 : _a22.get(affectedFilePendingEmit)) || 0;\n      ((_b3 = state.affectedFilesPendingEmit) != null ? _b3 : state.affectedFilesPendingEmit = /* @__PURE__ */ new Map()).set(affectedFilePendingEmit, existingKind | kind);\n    }\n    function toBuilderStateFileInfoForMultiEmit(fileInfo) {\n      return isString2(fileInfo) ? { version: fileInfo, signature: fileInfo, affectsGlobalScope: void 0, impliedFormat: void 0 } : isString2(fileInfo.signature) ? fileInfo : { version: fileInfo.version, signature: fileInfo.signature === false ? void 0 : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat };\n    }\n    function toBuilderFileEmit(value, fullEmitForOptions) {\n      return isNumber(value) ? fullEmitForOptions : value[1] || 8;\n    }\n    function toProgramEmitPending(value, options) {\n      return !value ? getBuilderFileEmit(options || {}) : value;\n    }\n    function createBuilderProgramUsingProgramBuildInfo(buildInfo, buildInfoPath, host) {\n      var _a22, _b3, _c, _d;\n      const program = buildInfo.program;\n      const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n      const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n      let state;\n      const filePaths = (_a22 = program.fileNames) == null ? void 0 : _a22.map(toPath3);\n      let filePathsSetList;\n      const latestChangedDtsFile = program.latestChangedDtsFile ? toAbsolutePath(program.latestChangedDtsFile) : void 0;\n      if (isProgramBundleEmitBuildInfo(program)) {\n        const fileInfos = /* @__PURE__ */ new Map();\n        program.fileInfos.forEach((fileInfo, index) => {\n          const path = toFilePath(index + 1);\n          fileInfos.set(path, isString2(fileInfo) ? { version: fileInfo, signature: void 0, affectsGlobalScope: void 0, impliedFormat: void 0 } : fileInfo);\n        });\n        state = {\n          fileInfos,\n          compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {},\n          latestChangedDtsFile,\n          outSignature: program.outSignature,\n          programEmitPending: program.pendingEmit === void 0 ? void 0 : toProgramEmitPending(program.pendingEmit, program.options),\n          bundle: buildInfo.bundle\n        };\n      } else {\n        filePathsSetList = (_b3 = program.fileIdsList) == null ? void 0 : _b3.map((fileIds) => new Set(fileIds.map(toFilePath)));\n        const fileInfos = /* @__PURE__ */ new Map();\n        const emitSignatures = ((_c = program.options) == null ? void 0 : _c.composite) && !outFile(program.options) ? /* @__PURE__ */ new Map() : void 0;\n        program.fileInfos.forEach((fileInfo, index) => {\n          const path = toFilePath(index + 1);\n          const stateFileInfo = toBuilderStateFileInfoForMultiEmit(fileInfo);\n          fileInfos.set(path, stateFileInfo);\n          if (emitSignatures && stateFileInfo.signature)\n            emitSignatures.set(path, stateFileInfo.signature);\n        });\n        (_d = program.emitSignatures) == null ? void 0 : _d.forEach((value) => {\n          if (isNumber(value))\n            emitSignatures.delete(toFilePath(value));\n          else {\n            const key = toFilePath(value[0]);\n            emitSignatures.set(\n              key,\n              !isString2(value[1]) && !value[1].length ? (\n                // File signature is emit signature but differs in map\n                [emitSignatures.get(key)]\n              ) : value[1]\n            );\n          }\n        });\n        const fullEmitForOptions = program.affectedFilesPendingEmit ? getBuilderFileEmit(program.options || {}) : void 0;\n        state = {\n          fileInfos,\n          compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {},\n          referencedMap: toManyToManyPathMap(program.referencedMap),\n          exportedModulesMap: toManyToManyPathMap(program.exportedModulesMap),\n          semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagnosticsPerFile, (value) => toFilePath(isNumber(value) ? value : value[0]), (value) => isNumber(value) ? emptyArray : value[1]),\n          hasReusableDiagnostic: true,\n          affectedFilesPendingEmit: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, (value) => toFilePath(isNumber(value) ? value : value[0]), (value) => toBuilderFileEmit(value, fullEmitForOptions)),\n          changedFilesSet: new Set(map(program.changeFileSet, toFilePath)),\n          latestChangedDtsFile,\n          emitSignatures: (emitSignatures == null ? void 0 : emitSignatures.size) ? emitSignatures : void 0\n        };\n      }\n      return {\n        getState: () => state,\n        saveEmitState: noop,\n        restoreEmitState: noop,\n        getProgram: notImplemented,\n        getProgramOrUndefined: returnUndefined,\n        releaseProgram: noop,\n        getCompilerOptions: () => state.compilerOptions,\n        getSourceFile: notImplemented,\n        getSourceFiles: notImplemented,\n        getOptionsDiagnostics: notImplemented,\n        getGlobalDiagnostics: notImplemented,\n        getConfigFileParsingDiagnostics: notImplemented,\n        getSyntacticDiagnostics: notImplemented,\n        getDeclarationDiagnostics: notImplemented,\n        getSemanticDiagnostics: notImplemented,\n        emit: notImplemented,\n        getAllDependencies: notImplemented,\n        getCurrentDirectory: notImplemented,\n        emitNextAffectedFile: notImplemented,\n        getSemanticDiagnosticsOfNextAffectedFile: notImplemented,\n        emitBuildInfo: notImplemented,\n        close: noop,\n        hasChangedEmitSignature: returnFalse\n      };\n      function toPath3(path) {\n        return toPath(path, buildInfoDirectory, getCanonicalFileName);\n      }\n      function toAbsolutePath(path) {\n        return getNormalizedAbsolutePath(path, buildInfoDirectory);\n      }\n      function toFilePath(fileId) {\n        return filePaths[fileId - 1];\n      }\n      function toFilePathsSet(fileIdsListId) {\n        return filePathsSetList[fileIdsListId - 1];\n      }\n      function toManyToManyPathMap(referenceMap) {\n        if (!referenceMap) {\n          return void 0;\n        }\n        const map2 = BuilderState.createManyToManyPathMap();\n        referenceMap.forEach(\n          ([fileId, fileIdListId]) => map2.set(toFilePath(fileId), toFilePathsSet(fileIdListId))\n        );\n        return map2;\n      }\n    }\n    function getBuildInfoFileVersionMap(program, buildInfoPath, host) {\n      const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n      const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n      const fileInfos = /* @__PURE__ */ new Map();\n      let rootIndex = 0;\n      const roots = [];\n      program.fileInfos.forEach((fileInfo, index) => {\n        const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName);\n        const version2 = isString2(fileInfo) ? fileInfo : fileInfo.version;\n        fileInfos.set(path, version2);\n        if (rootIndex < program.root.length) {\n          const current = program.root[rootIndex];\n          const fileId = index + 1;\n          if (isArray(current)) {\n            if (current[0] <= fileId && fileId <= current[1]) {\n              roots.push(path);\n              if (current[1] === fileId)\n                rootIndex++;\n            }\n          } else if (current === fileId) {\n            roots.push(path);\n            rootIndex++;\n          }\n        }\n      });\n      return { fileInfos, roots };\n    }\n    function createRedirectedBuilderProgram(getState, configFileParsingDiagnostics) {\n      return {\n        getState: notImplemented,\n        saveEmitState: noop,\n        restoreEmitState: noop,\n        getProgram,\n        getProgramOrUndefined: () => getState().program,\n        releaseProgram: () => getState().program = void 0,\n        getCompilerOptions: () => getState().compilerOptions,\n        getSourceFile: (fileName) => getProgram().getSourceFile(fileName),\n        getSourceFiles: () => getProgram().getSourceFiles(),\n        getOptionsDiagnostics: (cancellationToken) => getProgram().getOptionsDiagnostics(cancellationToken),\n        getGlobalDiagnostics: (cancellationToken) => getProgram().getGlobalDiagnostics(cancellationToken),\n        getConfigFileParsingDiagnostics: () => configFileParsingDiagnostics,\n        getSyntacticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSyntacticDiagnostics(sourceFile, cancellationToken),\n        getDeclarationDiagnostics: (sourceFile, cancellationToken) => getProgram().getDeclarationDiagnostics(sourceFile, cancellationToken),\n        getSemanticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSemanticDiagnostics(sourceFile, cancellationToken),\n        emit: (sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers) => getProgram().emit(sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers),\n        emitBuildInfo: (writeFile2, cancellationToken) => getProgram().emitBuildInfo(writeFile2, cancellationToken),\n        getAllDependencies: notImplemented,\n        getCurrentDirectory: () => getProgram().getCurrentDirectory(),\n        close: noop\n      };\n      function getProgram() {\n        return Debug2.checkDefined(getState().program);\n      }\n    }\n    var BuilderFileEmit, BuilderProgramKind;\n    var init_builder = __esm({\n      \"src/compiler/builder.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        BuilderFileEmit = /* @__PURE__ */ ((BuilderFileEmit2) => {\n          BuilderFileEmit2[BuilderFileEmit2[\"None\"] = 0] = \"None\";\n          BuilderFileEmit2[BuilderFileEmit2[\"Js\"] = 1] = \"Js\";\n          BuilderFileEmit2[BuilderFileEmit2[\"JsMap\"] = 2] = \"JsMap\";\n          BuilderFileEmit2[BuilderFileEmit2[\"JsInlineMap\"] = 4] = \"JsInlineMap\";\n          BuilderFileEmit2[BuilderFileEmit2[\"Dts\"] = 8] = \"Dts\";\n          BuilderFileEmit2[BuilderFileEmit2[\"DtsMap\"] = 16] = \"DtsMap\";\n          BuilderFileEmit2[BuilderFileEmit2[\"AllJs\"] = 7] = \"AllJs\";\n          BuilderFileEmit2[BuilderFileEmit2[\"AllDts\"] = 24] = \"AllDts\";\n          BuilderFileEmit2[BuilderFileEmit2[\"All\"] = 31] = \"All\";\n          return BuilderFileEmit2;\n        })(BuilderFileEmit || {});\n        BuilderProgramKind = /* @__PURE__ */ ((BuilderProgramKind2) => {\n          BuilderProgramKind2[BuilderProgramKind2[\"SemanticDiagnosticsBuilderProgram\"] = 0] = \"SemanticDiagnosticsBuilderProgram\";\n          BuilderProgramKind2[BuilderProgramKind2[\"EmitAndSemanticDiagnosticsBuilderProgram\"] = 1] = \"EmitAndSemanticDiagnosticsBuilderProgram\";\n          return BuilderProgramKind2;\n        })(BuilderProgramKind || {});\n      }\n    });\n    function createSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n      return createBuilderProgram(0, getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences));\n    }\n    function createEmitAndSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n      return createBuilderProgram(1, getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences));\n    }\n    function createAbstractBuilder(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n      const { newProgram, configFileParsingDiagnostics: newConfigFileParsingDiagnostics } = getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences);\n      return createRedirectedBuilderProgram(() => ({ program: newProgram, compilerOptions: newProgram.getCompilerOptions() }), newConfigFileParsingDiagnostics);\n    }\n    var init_builderPublic = __esm({\n      \"src/compiler/builderPublic.ts\"() {\n        \"use strict\";\n        init_ts2();\n      }\n    });\n    function removeIgnoredPath(path) {\n      if (endsWith(path, \"/node_modules/.staging\")) {\n        return removeSuffix(path, \"/.staging\");\n      }\n      return some(ignoredPaths, (searchPath) => stringContains(path, searchPath)) ? void 0 : path;\n    }\n    function canWatchDirectoryOrFile(dirPath) {\n      const rootLength = getRootLength(dirPath);\n      if (dirPath.length === rootLength) {\n        return false;\n      }\n      let nextDirectorySeparator = dirPath.indexOf(directorySeparator, rootLength);\n      if (nextDirectorySeparator === -1) {\n        return false;\n      }\n      let pathPartForUserCheck = dirPath.substring(rootLength, nextDirectorySeparator + 1);\n      const isNonDirectorySeparatorRoot = rootLength > 1 || dirPath.charCodeAt(0) !== 47;\n      if (isNonDirectorySeparatorRoot && dirPath.search(/[a-zA-Z]:/) !== 0 && // Non dos style paths\n      pathPartForUserCheck.search(/[a-zA-Z]\\$\\//) === 0) {\n        nextDirectorySeparator = dirPath.indexOf(directorySeparator, nextDirectorySeparator + 1);\n        if (nextDirectorySeparator === -1) {\n          return false;\n        }\n        pathPartForUserCheck = dirPath.substring(rootLength + pathPartForUserCheck.length, nextDirectorySeparator + 1);\n      }\n      if (isNonDirectorySeparatorRoot && pathPartForUserCheck.search(/users\\//i) !== 0) {\n        return true;\n      }\n      for (let searchIndex = nextDirectorySeparator + 1, searchLevels = 2; searchLevels > 0; searchLevels--) {\n        searchIndex = dirPath.indexOf(directorySeparator, searchIndex) + 1;\n        if (searchIndex === 0) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function createResolutionCache(resolutionHost, rootDirForResolution, logChangesWhenResolvingModule) {\n      let filesWithChangedSetOfUnresolvedImports;\n      let filesWithInvalidatedResolutions;\n      let filesWithInvalidatedNonRelativeUnresolvedImports;\n      const nonRelativeExternalModuleResolutions = createMultiMap();\n      const resolutionsWithFailedLookups = /* @__PURE__ */ new Set();\n      const resolutionsWithOnlyAffectingLocations = /* @__PURE__ */ new Set();\n      const resolvedFileToResolution = /* @__PURE__ */ new Map();\n      const impliedFormatPackageJsons = /* @__PURE__ */ new Map();\n      let hasChangedAutomaticTypeDirectiveNames = false;\n      let affectingPathChecksForFile;\n      let affectingPathChecks;\n      let failedLookupChecks;\n      let startsWithPathChecks;\n      let isInDirectoryChecks;\n      const getCurrentDirectory = memoize(() => resolutionHost.getCurrentDirectory());\n      const cachedDirectoryStructureHost = resolutionHost.getCachedDirectoryStructureHost();\n      const resolvedModuleNames = /* @__PURE__ */ new Map();\n      const moduleResolutionCache = createModuleResolutionCache(\n        getCurrentDirectory(),\n        resolutionHost.getCanonicalFileName,\n        resolutionHost.getCompilationSettings()\n      );\n      const resolvedTypeReferenceDirectives = /* @__PURE__ */ new Map();\n      const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache(\n        getCurrentDirectory(),\n        resolutionHost.getCanonicalFileName,\n        resolutionHost.getCompilationSettings(),\n        moduleResolutionCache.getPackageJsonInfoCache()\n      );\n      const failedLookupDefaultExtensions = [\n        \".ts\",\n        \".tsx\",\n        \".js\",\n        \".jsx\",\n        \".json\"\n        /* Json */\n      ];\n      const customFailedLookupPaths = /* @__PURE__ */ new Map();\n      const directoryWatchesOfFailedLookups = /* @__PURE__ */ new Map();\n      const fileWatchesOfAffectingLocations = /* @__PURE__ */ new Map();\n      const rootDir = rootDirForResolution && removeTrailingDirectorySeparator(getNormalizedAbsolutePath(rootDirForResolution, getCurrentDirectory()));\n      const rootPath = rootDir && resolutionHost.toPath(rootDir);\n      const rootSplitLength = rootPath !== void 0 ? rootPath.split(directorySeparator).length : 0;\n      const typeRootsWatches = /* @__PURE__ */ new Map();\n      return {\n        getModuleResolutionCache: () => moduleResolutionCache,\n        startRecordingFilesWithChangedResolutions,\n        finishRecordingFilesWithChangedResolutions,\n        // perDirectoryResolvedModuleNames and perDirectoryResolvedTypeReferenceDirectives could be non empty if there was exception during program update\n        // (between startCachingPerDirectoryResolution and finishCachingPerDirectoryResolution)\n        startCachingPerDirectoryResolution,\n        finishCachingPerDirectoryResolution,\n        resolveModuleNameLiterals,\n        resolveTypeReferenceDirectiveReferences,\n        resolveSingleModuleNameWithoutWatching,\n        removeResolutionsFromProjectReferenceRedirects,\n        removeResolutionsOfFile,\n        hasChangedAutomaticTypeDirectiveNames: () => hasChangedAutomaticTypeDirectiveNames,\n        invalidateResolutionOfFile,\n        invalidateResolutionsOfFailedLookupLocations,\n        setFilesWithInvalidatedNonRelativeUnresolvedImports,\n        createHasInvalidatedResolutions,\n        isFileWithInvalidatedNonRelativeUnresolvedImports,\n        updateTypeRootsWatch,\n        closeTypeRootsWatch,\n        clear: clear2\n      };\n      function getResolvedModule2(resolution) {\n        return resolution.resolvedModule;\n      }\n      function getResolvedTypeReferenceDirective2(resolution) {\n        return resolution.resolvedTypeReferenceDirective;\n      }\n      function isInDirectoryPath(dir, file) {\n        if (dir === void 0 || file.length <= dir.length) {\n          return false;\n        }\n        return startsWith(file, dir) && file[dir.length] === directorySeparator;\n      }\n      function clear2() {\n        clearMap(directoryWatchesOfFailedLookups, closeFileWatcherOf);\n        clearMap(fileWatchesOfAffectingLocations, closeFileWatcherOf);\n        customFailedLookupPaths.clear();\n        nonRelativeExternalModuleResolutions.clear();\n        closeTypeRootsWatch();\n        resolvedModuleNames.clear();\n        resolvedTypeReferenceDirectives.clear();\n        resolvedFileToResolution.clear();\n        resolutionsWithFailedLookups.clear();\n        resolutionsWithOnlyAffectingLocations.clear();\n        failedLookupChecks = void 0;\n        startsWithPathChecks = void 0;\n        isInDirectoryChecks = void 0;\n        affectingPathChecks = void 0;\n        affectingPathChecksForFile = void 0;\n        moduleResolutionCache.clear();\n        typeReferenceDirectiveResolutionCache.clear();\n        moduleResolutionCache.update(resolutionHost.getCompilationSettings());\n        typeReferenceDirectiveResolutionCache.update(resolutionHost.getCompilationSettings());\n        impliedFormatPackageJsons.clear();\n        hasChangedAutomaticTypeDirectiveNames = false;\n      }\n      function startRecordingFilesWithChangedResolutions() {\n        filesWithChangedSetOfUnresolvedImports = [];\n      }\n      function finishRecordingFilesWithChangedResolutions() {\n        const collected = filesWithChangedSetOfUnresolvedImports;\n        filesWithChangedSetOfUnresolvedImports = void 0;\n        return collected;\n      }\n      function isFileWithInvalidatedNonRelativeUnresolvedImports(path) {\n        if (!filesWithInvalidatedNonRelativeUnresolvedImports) {\n          return false;\n        }\n        const value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);\n        return !!value && !!value.length;\n      }\n      function createHasInvalidatedResolutions(customHasInvalidatedResolutions) {\n        invalidateResolutionsOfFailedLookupLocations();\n        const collected = filesWithInvalidatedResolutions;\n        filesWithInvalidatedResolutions = void 0;\n        return (path) => customHasInvalidatedResolutions(path) || !!(collected == null ? void 0 : collected.has(path)) || isFileWithInvalidatedNonRelativeUnresolvedImports(path);\n      }\n      function startCachingPerDirectoryResolution() {\n        moduleResolutionCache.clearAllExceptPackageJsonInfoCache();\n        typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache();\n        nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);\n        nonRelativeExternalModuleResolutions.clear();\n      }\n      function finishCachingPerDirectoryResolution(newProgram, oldProgram) {\n        filesWithInvalidatedNonRelativeUnresolvedImports = void 0;\n        nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);\n        nonRelativeExternalModuleResolutions.clear();\n        if (newProgram !== oldProgram) {\n          newProgram == null ? void 0 : newProgram.getSourceFiles().forEach((newFile) => {\n            var _a22, _b3, _c;\n            const expected = isExternalOrCommonJsModule(newFile) ? (_b3 = (_a22 = newFile.packageJsonLocations) == null ? void 0 : _a22.length) != null ? _b3 : 0 : 0;\n            const existing = (_c = impliedFormatPackageJsons.get(newFile.path)) != null ? _c : emptyArray;\n            for (let i = existing.length; i < expected; i++) {\n              createFileWatcherOfAffectingLocation(\n                newFile.packageJsonLocations[i],\n                /*forResolution*/\n                false\n              );\n            }\n            if (existing.length > expected) {\n              for (let i = expected; i < existing.length; i++) {\n                fileWatchesOfAffectingLocations.get(existing[i]).files--;\n              }\n            }\n            if (expected)\n              impliedFormatPackageJsons.set(newFile.path, newFile.packageJsonLocations);\n            else\n              impliedFormatPackageJsons.delete(newFile.path);\n          });\n          impliedFormatPackageJsons.forEach((existing, path) => {\n            if (!(newProgram == null ? void 0 : newProgram.getSourceFileByPath(path))) {\n              existing.forEach((location) => fileWatchesOfAffectingLocations.get(location).files--);\n              impliedFormatPackageJsons.delete(path);\n            }\n          });\n        }\n        directoryWatchesOfFailedLookups.forEach((watcher, path) => {\n          if (watcher.refCount === 0) {\n            directoryWatchesOfFailedLookups.delete(path);\n            watcher.watcher.close();\n          }\n        });\n        fileWatchesOfAffectingLocations.forEach((watcher, path) => {\n          if (watcher.files === 0 && watcher.resolutions === 0) {\n            fileWatchesOfAffectingLocations.delete(path);\n            watcher.watcher.close();\n          }\n        });\n        hasChangedAutomaticTypeDirectiveNames = false;\n      }\n      function resolveModuleName2(moduleName, containingFile, compilerOptions, redirectedReference, mode) {\n        var _a22;\n        const host = ((_a22 = resolutionHost.getCompilerHost) == null ? void 0 : _a22.call(resolutionHost)) || resolutionHost;\n        const primaryResult = resolveModuleName(moduleName, containingFile, compilerOptions, host, moduleResolutionCache, redirectedReference, mode);\n        if (!resolutionHost.getGlobalCache) {\n          return primaryResult;\n        }\n        const globalCache = resolutionHost.getGlobalCache();\n        if (globalCache !== void 0 && !isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) {\n          const { resolvedModule, failedLookupLocations, affectingLocations, resolutionDiagnostics } = loadModuleFromGlobalCache(\n            Debug2.checkDefined(resolutionHost.globalCacheResolutionModuleName)(moduleName),\n            resolutionHost.projectName,\n            compilerOptions,\n            host,\n            globalCache,\n            moduleResolutionCache\n          );\n          if (resolvedModule) {\n            primaryResult.resolvedModule = resolvedModule;\n            primaryResult.failedLookupLocations = updateResolutionField(primaryResult.failedLookupLocations, failedLookupLocations);\n            primaryResult.affectingLocations = updateResolutionField(primaryResult.affectingLocations, affectingLocations);\n            primaryResult.resolutionDiagnostics = updateResolutionField(primaryResult.resolutionDiagnostics, resolutionDiagnostics);\n            return primaryResult;\n          }\n        }\n        return primaryResult;\n      }\n      function createModuleResolutionLoader2(containingFile, redirectedReference, options) {\n        return {\n          nameAndMode: moduleResolutionNameAndModeGetter,\n          resolve: (moduleName, resoluionMode) => resolveModuleName2(\n            moduleName,\n            containingFile,\n            options,\n            redirectedReference,\n            resoluionMode\n          )\n        };\n      }\n      function resolveNamesWithLocalCache({\n        entries,\n        containingFile,\n        containingSourceFile,\n        redirectedReference,\n        options,\n        perFileCache,\n        reusedNames,\n        loader,\n        getResolutionWithResolvedFileName,\n        shouldRetryResolution,\n        logChanges\n      }) {\n        var _a22;\n        const path = resolutionHost.toPath(containingFile);\n        const resolutionsInFile = perFileCache.get(path) || perFileCache.set(path, createModeAwareCache()).get(path);\n        const resolvedModules = [];\n        const hasInvalidatedNonRelativeUnresolvedImport = logChanges && isFileWithInvalidatedNonRelativeUnresolvedImports(path);\n        const program = resolutionHost.getCurrentProgram();\n        const oldRedirect = program && program.getResolvedProjectReferenceToRedirect(containingFile);\n        const unmatchedRedirects = oldRedirect ? !redirectedReference || redirectedReference.sourceFile.path !== oldRedirect.sourceFile.path : !!redirectedReference;\n        const seenNamesInFile = createModeAwareCache();\n        for (const entry of entries) {\n          const name = loader.nameAndMode.getName(entry);\n          const mode = loader.nameAndMode.getMode(entry, containingSourceFile);\n          let resolution = resolutionsInFile.get(name, mode);\n          if (!seenNamesInFile.has(name, mode) && unmatchedRedirects || !resolution || resolution.isInvalidated || // If the name is unresolved import that was invalidated, recalculate\n          hasInvalidatedNonRelativeUnresolvedImport && !isExternalModuleNameRelative(name) && shouldRetryResolution(resolution)) {\n            const existingResolution = resolution;\n            resolution = loader.resolve(name, mode);\n            if (resolutionHost.onDiscoveredSymlink && resolutionIsSymlink(resolution)) {\n              resolutionHost.onDiscoveredSymlink();\n            }\n            resolutionsInFile.set(name, mode, resolution);\n            watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);\n            if (existingResolution) {\n              stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);\n            }\n            if (logChanges && filesWithChangedSetOfUnresolvedImports && !resolutionIsEqualTo(existingResolution, resolution)) {\n              filesWithChangedSetOfUnresolvedImports.push(path);\n              logChanges = false;\n            }\n          } else {\n            const host = ((_a22 = resolutionHost.getCompilerHost) == null ? void 0 : _a22.call(resolutionHost)) || resolutionHost;\n            if (isTraceEnabled(options, host) && !seenNamesInFile.has(name, mode)) {\n              const resolved = getResolutionWithResolvedFileName(resolution);\n              trace(\n                host,\n                perFileCache === resolvedModuleNames ? (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved : (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,\n                name,\n                containingFile,\n                resolved == null ? void 0 : resolved.resolvedFileName,\n                (resolved == null ? void 0 : resolved.packageId) && packageIdToString(resolved.packageId)\n              );\n            }\n          }\n          Debug2.assert(resolution !== void 0 && !resolution.isInvalidated);\n          seenNamesInFile.set(name, mode, true);\n          resolvedModules.push(resolution);\n        }\n        reusedNames == null ? void 0 : reusedNames.forEach((entry) => seenNamesInFile.set(\n          loader.nameAndMode.getName(entry),\n          loader.nameAndMode.getMode(entry, containingSourceFile),\n          true\n        ));\n        if (resolutionsInFile.size() !== seenNamesInFile.size()) {\n          resolutionsInFile.forEach((resolution, name, mode) => {\n            if (!seenNamesInFile.has(name, mode)) {\n              stopWatchFailedLookupLocationOfResolution(resolution, path, getResolutionWithResolvedFileName);\n              resolutionsInFile.delete(name, mode);\n            }\n          });\n        }\n        return resolvedModules;\n        function resolutionIsEqualTo(oldResolution, newResolution) {\n          if (oldResolution === newResolution) {\n            return true;\n          }\n          if (!oldResolution || !newResolution) {\n            return false;\n          }\n          const oldResult = getResolutionWithResolvedFileName(oldResolution);\n          const newResult = getResolutionWithResolvedFileName(newResolution);\n          if (oldResult === newResult) {\n            return true;\n          }\n          if (!oldResult || !newResult) {\n            return false;\n          }\n          return oldResult.resolvedFileName === newResult.resolvedFileName;\n        }\n      }\n      function resolveTypeReferenceDirectiveReferences(typeDirectiveReferences, containingFile, redirectedReference, options, containingSourceFile, reusedNames) {\n        var _a22;\n        return resolveNamesWithLocalCache({\n          entries: typeDirectiveReferences,\n          containingFile,\n          containingSourceFile,\n          redirectedReference,\n          options,\n          reusedNames,\n          perFileCache: resolvedTypeReferenceDirectives,\n          loader: createTypeReferenceResolutionLoader(\n            containingFile,\n            redirectedReference,\n            options,\n            ((_a22 = resolutionHost.getCompilerHost) == null ? void 0 : _a22.call(resolutionHost)) || resolutionHost,\n            typeReferenceDirectiveResolutionCache\n          ),\n          getResolutionWithResolvedFileName: getResolvedTypeReferenceDirective2,\n          shouldRetryResolution: (resolution) => resolution.resolvedTypeReferenceDirective === void 0\n        });\n      }\n      function resolveModuleNameLiterals(moduleLiterals, containingFile, redirectedReference, options, containingSourceFile, reusedNames) {\n        return resolveNamesWithLocalCache({\n          entries: moduleLiterals,\n          containingFile,\n          containingSourceFile,\n          redirectedReference,\n          options,\n          reusedNames,\n          perFileCache: resolvedModuleNames,\n          loader: createModuleResolutionLoader2(\n            containingFile,\n            redirectedReference,\n            options\n          ),\n          getResolutionWithResolvedFileName: getResolvedModule2,\n          shouldRetryResolution: (resolution) => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension),\n          logChanges: logChangesWhenResolvingModule\n        });\n      }\n      function resolveSingleModuleNameWithoutWatching(moduleName, containingFile) {\n        const path = resolutionHost.toPath(containingFile);\n        const resolutionsInFile = resolvedModuleNames.get(path);\n        const resolution = resolutionsInFile == null ? void 0 : resolutionsInFile.get(\n          moduleName,\n          /*mode*/\n          void 0\n        );\n        if (resolution && !resolution.isInvalidated)\n          return resolution;\n        return resolveModuleName2(moduleName, containingFile, resolutionHost.getCompilationSettings());\n      }\n      function isNodeModulesAtTypesDirectory(dirPath) {\n        return endsWith(dirPath, \"/node_modules/@types\");\n      }\n      function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath) {\n        if (isInDirectoryPath(rootPath, failedLookupLocationPath)) {\n          failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory());\n          const failedLookupPathSplit = failedLookupLocationPath.split(directorySeparator);\n          const failedLookupSplit = failedLookupLocation.split(directorySeparator);\n          Debug2.assert(failedLookupSplit.length === failedLookupPathSplit.length, `FailedLookup: ${failedLookupLocation} failedLookupLocationPath: ${failedLookupLocationPath}`);\n          if (failedLookupPathSplit.length > rootSplitLength + 1) {\n            return {\n              dir: failedLookupSplit.slice(0, rootSplitLength + 1).join(directorySeparator),\n              dirPath: failedLookupPathSplit.slice(0, rootSplitLength + 1).join(directorySeparator)\n            };\n          } else {\n            return {\n              dir: rootDir,\n              dirPath: rootPath,\n              nonRecursive: false\n            };\n          }\n        }\n        return getDirectoryToWatchFromFailedLookupLocationDirectory(\n          getDirectoryPath(getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory())),\n          getDirectoryPath(failedLookupLocationPath)\n        );\n      }\n      function getDirectoryToWatchFromFailedLookupLocationDirectory(dir, dirPath) {\n        while (pathContainsNodeModules(dirPath)) {\n          dir = getDirectoryPath(dir);\n          dirPath = getDirectoryPath(dirPath);\n        }\n        if (isNodeModulesDirectory(dirPath)) {\n          return canWatchDirectoryOrFile(getDirectoryPath(dirPath)) ? { dir, dirPath } : void 0;\n        }\n        let nonRecursive = true;\n        let subDirectoryPath, subDirectory;\n        if (rootPath !== void 0) {\n          while (!isInDirectoryPath(dirPath, rootPath)) {\n            const parentPath = getDirectoryPath(dirPath);\n            if (parentPath === dirPath) {\n              break;\n            }\n            nonRecursive = false;\n            subDirectoryPath = dirPath;\n            subDirectory = dir;\n            dirPath = parentPath;\n            dir = getDirectoryPath(dir);\n          }\n        }\n        return canWatchDirectoryOrFile(dirPath) ? { dir: subDirectory || dir, dirPath: subDirectoryPath || dirPath, nonRecursive } : void 0;\n      }\n      function isPathWithDefaultFailedLookupExtension(path) {\n        return fileExtensionIsOneOf(path, failedLookupDefaultExtensions);\n      }\n      function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {\n        var _a22, _b3;\n        if (resolution.refCount) {\n          resolution.refCount++;\n          Debug2.assertIsDefined(resolution.files);\n        } else {\n          resolution.refCount = 1;\n          Debug2.assert(!((_a22 = resolution.files) == null ? void 0 : _a22.size));\n          if (isExternalModuleNameRelative(name)) {\n            watchFailedLookupLocationOfResolution(resolution);\n          } else {\n            nonRelativeExternalModuleResolutions.add(name, resolution);\n          }\n          const resolved = getResolutionWithResolvedFileName(resolution);\n          if (resolved && resolved.resolvedFileName) {\n            const key = resolutionHost.toPath(resolved.resolvedFileName);\n            let resolutions = resolvedFileToResolution.get(key);\n            if (!resolutions)\n              resolvedFileToResolution.set(key, resolutions = /* @__PURE__ */ new Set());\n            resolutions.add(resolution);\n          }\n        }\n        ((_b3 = resolution.files) != null ? _b3 : resolution.files = /* @__PURE__ */ new Set()).add(filePath);\n      }\n      function watchFailedLookupLocationOfResolution(resolution) {\n        Debug2.assert(!!resolution.refCount);\n        const { failedLookupLocations, affectingLocations } = resolution;\n        if (!(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !(affectingLocations == null ? void 0 : affectingLocations.length))\n          return;\n        if (failedLookupLocations == null ? void 0 : failedLookupLocations.length)\n          resolutionsWithFailedLookups.add(resolution);\n        let setAtRoot = false;\n        if (failedLookupLocations) {\n          for (const failedLookupLocation of failedLookupLocations) {\n            const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);\n            const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);\n            if (toWatch) {\n              const { dir, dirPath, nonRecursive } = toWatch;\n              if (!isPathWithDefaultFailedLookupExtension(failedLookupLocationPath)) {\n                const refCount = customFailedLookupPaths.get(failedLookupLocationPath) || 0;\n                customFailedLookupPaths.set(failedLookupLocationPath, refCount + 1);\n              }\n              if (dirPath === rootPath) {\n                Debug2.assert(!nonRecursive);\n                setAtRoot = true;\n              } else {\n                setDirectoryWatcher(dir, dirPath, nonRecursive);\n              }\n            }\n          }\n          if (setAtRoot) {\n            setDirectoryWatcher(\n              rootDir,\n              rootPath,\n              /*nonRecursive*/\n              true\n            );\n          }\n        }\n        watchAffectingLocationsOfResolution(resolution, !(failedLookupLocations == null ? void 0 : failedLookupLocations.length));\n      }\n      function watchAffectingLocationsOfResolution(resolution, addToResolutionsWithOnlyAffectingLocations) {\n        Debug2.assert(!!resolution.refCount);\n        const { affectingLocations } = resolution;\n        if (!(affectingLocations == null ? void 0 : affectingLocations.length))\n          return;\n        if (addToResolutionsWithOnlyAffectingLocations)\n          resolutionsWithOnlyAffectingLocations.add(resolution);\n        for (const affectingLocation of affectingLocations) {\n          createFileWatcherOfAffectingLocation(\n            affectingLocation,\n            /*forResolution*/\n            true\n          );\n        }\n      }\n      function createFileWatcherOfAffectingLocation(affectingLocation, forResolution) {\n        const fileWatcher = fileWatchesOfAffectingLocations.get(affectingLocation);\n        if (fileWatcher) {\n          if (forResolution)\n            fileWatcher.resolutions++;\n          else\n            fileWatcher.files++;\n          return;\n        }\n        let locationToWatch = affectingLocation;\n        if (resolutionHost.realpath) {\n          locationToWatch = resolutionHost.realpath(affectingLocation);\n          if (affectingLocation !== locationToWatch) {\n            const fileWatcher2 = fileWatchesOfAffectingLocations.get(locationToWatch);\n            if (fileWatcher2) {\n              if (forResolution)\n                fileWatcher2.resolutions++;\n              else\n                fileWatcher2.files++;\n              fileWatcher2.paths.add(affectingLocation);\n              fileWatchesOfAffectingLocations.set(affectingLocation, fileWatcher2);\n              return;\n            }\n          }\n        }\n        const paths = /* @__PURE__ */ new Set();\n        paths.add(locationToWatch);\n        let actualWatcher = canWatchDirectoryOrFile(resolutionHost.toPath(locationToWatch)) ? resolutionHost.watchAffectingFileLocation(locationToWatch, (fileName, eventKind) => {\n          cachedDirectoryStructureHost == null ? void 0 : cachedDirectoryStructureHost.addOrDeleteFile(fileName, resolutionHost.toPath(locationToWatch), eventKind);\n          const packageJsonMap = moduleResolutionCache.getPackageJsonInfoCache().getInternalMap();\n          paths.forEach((path) => {\n            if (watcher.resolutions)\n              (affectingPathChecks != null ? affectingPathChecks : affectingPathChecks = /* @__PURE__ */ new Set()).add(path);\n            if (watcher.files)\n              (affectingPathChecksForFile != null ? affectingPathChecksForFile : affectingPathChecksForFile = /* @__PURE__ */ new Set()).add(path);\n            packageJsonMap == null ? void 0 : packageJsonMap.delete(resolutionHost.toPath(path));\n          });\n          resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations();\n        }) : noopFileWatcher;\n        const watcher = {\n          watcher: actualWatcher !== noopFileWatcher ? {\n            close: () => {\n              actualWatcher.close();\n              actualWatcher = noopFileWatcher;\n            }\n          } : actualWatcher,\n          resolutions: forResolution ? 1 : 0,\n          files: forResolution ? 0 : 1,\n          paths\n        };\n        fileWatchesOfAffectingLocations.set(locationToWatch, watcher);\n        if (affectingLocation !== locationToWatch) {\n          fileWatchesOfAffectingLocations.set(affectingLocation, watcher);\n          paths.add(affectingLocation);\n        }\n      }\n      function watchFailedLookupLocationOfNonRelativeModuleResolutions(resolutions, name) {\n        const program = resolutionHost.getCurrentProgram();\n        if (!program || !program.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(name)) {\n          resolutions.forEach(watchFailedLookupLocationOfResolution);\n        } else {\n          resolutions.forEach((resolution) => watchAffectingLocationsOfResolution(\n            resolution,\n            /*addToResolutionWithOnlyAffectingLocations*/\n            true\n          ));\n        }\n      }\n      function setDirectoryWatcher(dir, dirPath, nonRecursive) {\n        const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath);\n        if (dirWatcher) {\n          Debug2.assert(!!nonRecursive === !!dirWatcher.nonRecursive);\n          dirWatcher.refCount++;\n        } else {\n          directoryWatchesOfFailedLookups.set(dirPath, { watcher: createDirectoryWatcher(dir, dirPath, nonRecursive), refCount: 1, nonRecursive });\n        }\n      }\n      function stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName) {\n        Debug2.checkDefined(resolution.files).delete(filePath);\n        resolution.refCount--;\n        if (resolution.refCount) {\n          return;\n        }\n        const resolved = getResolutionWithResolvedFileName(resolution);\n        if (resolved && resolved.resolvedFileName) {\n          const key = resolutionHost.toPath(resolved.resolvedFileName);\n          const resolutions = resolvedFileToResolution.get(key);\n          if ((resolutions == null ? void 0 : resolutions.delete(resolution)) && !resolutions.size)\n            resolvedFileToResolution.delete(key);\n        }\n        const { failedLookupLocations, affectingLocations } = resolution;\n        if (resolutionsWithFailedLookups.delete(resolution)) {\n          let removeAtRoot = false;\n          for (const failedLookupLocation of failedLookupLocations) {\n            const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);\n            const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);\n            if (toWatch) {\n              const { dirPath } = toWatch;\n              const refCount = customFailedLookupPaths.get(failedLookupLocationPath);\n              if (refCount) {\n                if (refCount === 1) {\n                  customFailedLookupPaths.delete(failedLookupLocationPath);\n                } else {\n                  Debug2.assert(refCount > 1);\n                  customFailedLookupPaths.set(failedLookupLocationPath, refCount - 1);\n                }\n              }\n              if (dirPath === rootPath) {\n                removeAtRoot = true;\n              } else {\n                removeDirectoryWatcher(dirPath);\n              }\n            }\n          }\n          if (removeAtRoot) {\n            removeDirectoryWatcher(rootPath);\n          }\n        } else if (affectingLocations == null ? void 0 : affectingLocations.length) {\n          resolutionsWithOnlyAffectingLocations.delete(resolution);\n        }\n        if (affectingLocations) {\n          for (const affectingLocation of affectingLocations) {\n            const watcher = fileWatchesOfAffectingLocations.get(affectingLocation);\n            watcher.resolutions--;\n          }\n        }\n      }\n      function removeDirectoryWatcher(dirPath) {\n        const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath);\n        dirWatcher.refCount--;\n      }\n      function createDirectoryWatcher(directory, dirPath, nonRecursive) {\n        return resolutionHost.watchDirectoryOfFailedLookupLocation(\n          directory,\n          (fileOrDirectory) => {\n            const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory);\n            if (cachedDirectoryStructureHost) {\n              cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n            }\n            scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath);\n          },\n          nonRecursive ? 0 : 1\n          /* Recursive */\n        );\n      }\n      function removeResolutionsOfFileFromCache(cache, filePath, getResolutionWithResolvedFileName) {\n        const resolutions = cache.get(filePath);\n        if (resolutions) {\n          resolutions.forEach((resolution) => stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName));\n          cache.delete(filePath);\n        }\n      }\n      function removeResolutionsFromProjectReferenceRedirects(filePath) {\n        if (!fileExtensionIs(\n          filePath,\n          \".json\"\n          /* Json */\n        ))\n          return;\n        const program = resolutionHost.getCurrentProgram();\n        if (!program)\n          return;\n        const resolvedProjectReference = program.getResolvedProjectReferenceByPath(filePath);\n        if (!resolvedProjectReference)\n          return;\n        resolvedProjectReference.commandLine.fileNames.forEach((f) => removeResolutionsOfFile(resolutionHost.toPath(f)));\n      }\n      function removeResolutionsOfFile(filePath) {\n        removeResolutionsOfFileFromCache(resolvedModuleNames, filePath, getResolvedModule2);\n        removeResolutionsOfFileFromCache(resolvedTypeReferenceDirectives, filePath, getResolvedTypeReferenceDirective2);\n      }\n      function invalidateResolutions(resolutions, canInvalidate) {\n        if (!resolutions)\n          return false;\n        let invalidated = false;\n        resolutions.forEach((resolution) => {\n          if (resolution.isInvalidated || !canInvalidate(resolution))\n            return;\n          resolution.isInvalidated = invalidated = true;\n          for (const containingFilePath of Debug2.checkDefined(resolution.files)) {\n            (filesWithInvalidatedResolutions != null ? filesWithInvalidatedResolutions : filesWithInvalidatedResolutions = /* @__PURE__ */ new Set()).add(containingFilePath);\n            hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames || endsWith(containingFilePath, inferredTypesContainingFile);\n          }\n        });\n        return invalidated;\n      }\n      function invalidateResolutionOfFile(filePath) {\n        removeResolutionsOfFile(filePath);\n        const prevHasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames;\n        if (invalidateResolutions(resolvedFileToResolution.get(filePath), returnTrue) && hasChangedAutomaticTypeDirectiveNames && !prevHasChangedAutomaticTypeDirectiveNames) {\n          resolutionHost.onChangedAutomaticTypeDirectiveNames();\n        }\n      }\n      function setFilesWithInvalidatedNonRelativeUnresolvedImports(filesMap) {\n        Debug2.assert(filesWithInvalidatedNonRelativeUnresolvedImports === filesMap || filesWithInvalidatedNonRelativeUnresolvedImports === void 0);\n        filesWithInvalidatedNonRelativeUnresolvedImports = filesMap;\n      }\n      function scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, isCreatingWatchedDirectory) {\n        if (isCreatingWatchedDirectory) {\n          (isInDirectoryChecks || (isInDirectoryChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath);\n        } else {\n          const updatedPath = removeIgnoredPath(fileOrDirectoryPath);\n          if (!updatedPath)\n            return false;\n          fileOrDirectoryPath = updatedPath;\n          if (resolutionHost.fileIsOpen(fileOrDirectoryPath)) {\n            return false;\n          }\n          const dirOfFileOrDirectory = getDirectoryPath(fileOrDirectoryPath);\n          if (isNodeModulesAtTypesDirectory(fileOrDirectoryPath) || isNodeModulesDirectory(fileOrDirectoryPath) || isNodeModulesAtTypesDirectory(dirOfFileOrDirectory) || isNodeModulesDirectory(dirOfFileOrDirectory)) {\n            (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath);\n            (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath);\n          } else {\n            if (!isPathWithDefaultFailedLookupExtension(fileOrDirectoryPath) && !customFailedLookupPaths.has(fileOrDirectoryPath)) {\n              return false;\n            }\n            if (isEmittedFileOfProgram(resolutionHost.getCurrentProgram(), fileOrDirectoryPath)) {\n              return false;\n            }\n            (failedLookupChecks || (failedLookupChecks = /* @__PURE__ */ new Set())).add(fileOrDirectoryPath);\n            const packagePath = parseNodeModuleFromPath(fileOrDirectoryPath);\n            if (packagePath)\n              (startsWithPathChecks || (startsWithPathChecks = /* @__PURE__ */ new Set())).add(packagePath);\n          }\n        }\n        resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations();\n      }\n      function invalidateResolutionsOfFailedLookupLocations() {\n        var _a22;\n        let invalidated = false;\n        if (affectingPathChecksForFile) {\n          (_a22 = resolutionHost.getCurrentProgram()) == null ? void 0 : _a22.getSourceFiles().forEach((f) => {\n            if (some(f.packageJsonLocations, (location) => affectingPathChecksForFile.has(location))) {\n              (filesWithInvalidatedResolutions != null ? filesWithInvalidatedResolutions : filesWithInvalidatedResolutions = /* @__PURE__ */ new Set()).add(f.path);\n              invalidated = true;\n            }\n          });\n          affectingPathChecksForFile = void 0;\n        }\n        if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks && !affectingPathChecks) {\n          return invalidated;\n        }\n        invalidated = invalidateResolutions(resolutionsWithFailedLookups, canInvalidateFailedLookupResolution) || invalidated;\n        const packageJsonMap = moduleResolutionCache.getPackageJsonInfoCache().getInternalMap();\n        if (packageJsonMap && (failedLookupChecks || startsWithPathChecks || isInDirectoryChecks)) {\n          packageJsonMap.forEach((_value, path) => isInvalidatedFailedLookup(path) ? packageJsonMap.delete(path) : void 0);\n        }\n        failedLookupChecks = void 0;\n        startsWithPathChecks = void 0;\n        isInDirectoryChecks = void 0;\n        invalidated = invalidateResolutions(resolutionsWithOnlyAffectingLocations, canInvalidatedFailedLookupResolutionWithAffectingLocation) || invalidated;\n        affectingPathChecks = void 0;\n        return invalidated;\n      }\n      function canInvalidateFailedLookupResolution(resolution) {\n        var _a22;\n        if (canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution))\n          return true;\n        if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks)\n          return false;\n        return (_a22 = resolution.failedLookupLocations) == null ? void 0 : _a22.some((location) => isInvalidatedFailedLookup(resolutionHost.toPath(location)));\n      }\n      function isInvalidatedFailedLookup(locationPath) {\n        return (failedLookupChecks == null ? void 0 : failedLookupChecks.has(locationPath)) || firstDefinedIterator((startsWithPathChecks == null ? void 0 : startsWithPathChecks.keys()) || [], (fileOrDirectoryPath) => startsWith(locationPath, fileOrDirectoryPath) ? true : void 0) || firstDefinedIterator((isInDirectoryChecks == null ? void 0 : isInDirectoryChecks.keys()) || [], (fileOrDirectoryPath) => isInDirectoryPath(fileOrDirectoryPath, locationPath) ? true : void 0);\n      }\n      function canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution) {\n        var _a22;\n        return !!affectingPathChecks && ((_a22 = resolution.affectingLocations) == null ? void 0 : _a22.some((location) => affectingPathChecks.has(location)));\n      }\n      function closeTypeRootsWatch() {\n        clearMap(typeRootsWatches, closeFileWatcher);\n      }\n      function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath) {\n        if (isInDirectoryPath(rootPath, typeRootPath)) {\n          return rootPath;\n        }\n        const toWatch = getDirectoryToWatchFromFailedLookupLocationDirectory(typeRoot, typeRootPath);\n        return toWatch && directoryWatchesOfFailedLookups.has(toWatch.dirPath) ? toWatch.dirPath : void 0;\n      }\n      function createTypeRootsWatch(typeRootPath, typeRoot) {\n        return resolutionHost.watchTypeRootsDirectory(\n          typeRoot,\n          (fileOrDirectory) => {\n            const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory);\n            if (cachedDirectoryStructureHost) {\n              cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n            }\n            hasChangedAutomaticTypeDirectiveNames = true;\n            resolutionHost.onChangedAutomaticTypeDirectiveNames();\n            const dirPath = getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath);\n            if (dirPath) {\n              scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath);\n            }\n          },\n          1\n          /* Recursive */\n        );\n      }\n      function updateTypeRootsWatch() {\n        const options = resolutionHost.getCompilationSettings();\n        if (options.types) {\n          closeTypeRootsWatch();\n          return;\n        }\n        const typeRoots = getEffectiveTypeRoots(options, { directoryExists: directoryExistsForTypeRootWatch, getCurrentDirectory });\n        if (typeRoots) {\n          mutateMap(\n            typeRootsWatches,\n            arrayToMap(typeRoots, (tr) => resolutionHost.toPath(tr)),\n            {\n              createNewValue: createTypeRootsWatch,\n              onDeleteValue: closeFileWatcher\n            }\n          );\n        } else {\n          closeTypeRootsWatch();\n        }\n      }\n      function directoryExistsForTypeRootWatch(nodeTypesDirectory) {\n        const dir = getDirectoryPath(getDirectoryPath(nodeTypesDirectory));\n        const dirPath = resolutionHost.toPath(dir);\n        return dirPath === rootPath || canWatchDirectoryOrFile(dirPath);\n      }\n    }\n    function resolutionIsSymlink(resolution) {\n      var _a22, _b3;\n      return !!(((_a22 = resolution.resolvedModule) == null ? void 0 : _a22.originalPath) || ((_b3 = resolution.resolvedTypeReferenceDirective) == null ? void 0 : _b3.originalPath));\n    }\n    var init_resolutionCache = __esm({\n      \"src/compiler/resolutionCache.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n      }\n    });\n    function createDiagnosticReporter(system, pretty) {\n      const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : {\n        getCurrentDirectory: () => system.getCurrentDirectory(),\n        getNewLine: () => system.newLine,\n        getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames)\n      };\n      if (!pretty) {\n        return (diagnostic) => system.write(formatDiagnostic(diagnostic, host));\n      }\n      const diagnostics = new Array(1);\n      return (diagnostic) => {\n        diagnostics[0] = diagnostic;\n        system.write(formatDiagnosticsWithColorAndContext(diagnostics, host) + host.getNewLine());\n        diagnostics[0] = void 0;\n      };\n    }\n    function clearScreenIfNotWatchingForFileChanges(system, diagnostic, options) {\n      if (system.clearScreen && !options.preserveWatchOutput && !options.extendedDiagnostics && !options.diagnostics && contains(screenStartingMessageCodes, diagnostic.code)) {\n        system.clearScreen();\n        return true;\n      }\n      return false;\n    }\n    function getPlainDiagnosticFollowingNewLines(diagnostic, newLine) {\n      return contains(screenStartingMessageCodes, diagnostic.code) ? newLine + newLine : newLine;\n    }\n    function getLocaleTimeString(system) {\n      return !system.now ? (/* @__PURE__ */ new Date()).toLocaleTimeString() : (\n        // On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.\n        // This branch is solely for testing, so just switch it to a normal space for baseline stability.\n        // See:\n        //     - https://github.com/nodejs/node/issues/45171\n        //     - https://github.com/nodejs/node/issues/45753\n        system.now().toLocaleTimeString(\"en-US\", { timeZone: \"UTC\" }).replace(\"\\u202F\", \" \")\n      );\n    }\n    function createWatchStatusReporter(system, pretty) {\n      return pretty ? (diagnostic, newLine, options) => {\n        clearScreenIfNotWatchingForFileChanges(system, diagnostic, options);\n        let output = `[${formatColorAndReset(\n          getLocaleTimeString(system),\n          \"\\x1B[90m\"\n          /* Grey */\n        )}] `;\n        output += `${flattenDiagnosticMessageText2(diagnostic.messageText, system.newLine)}${newLine + newLine}`;\n        system.write(output);\n      } : (diagnostic, newLine, options) => {\n        let output = \"\";\n        if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) {\n          output += newLine;\n        }\n        output += `${getLocaleTimeString(system)} - `;\n        output += `${flattenDiagnosticMessageText2(diagnostic.messageText, system.newLine)}${getPlainDiagnosticFollowingNewLines(diagnostic, newLine)}`;\n        system.write(output);\n      };\n    }\n    function parseConfigFileWithSystem(configFileName, optionsToExtend, extendedConfigCache, watchOptionsToExtend, system, reportDiagnostic) {\n      const host = system;\n      host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic);\n      const result = getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend);\n      host.onUnRecoverableConfigFileDiagnostic = void 0;\n      return result;\n    }\n    function getErrorCountForSummary(diagnostics) {\n      return countWhere2(\n        diagnostics,\n        (diagnostic) => diagnostic.category === 1\n        /* Error */\n      );\n    }\n    function getFilesInErrorForSummary(diagnostics) {\n      const filesInError = filter(\n        diagnostics,\n        (diagnostic) => diagnostic.category === 1\n        /* Error */\n      ).map(\n        (errorDiagnostic) => {\n          if (errorDiagnostic.file === void 0)\n            return;\n          return `${errorDiagnostic.file.fileName}`;\n        }\n      );\n      return filesInError.map((fileName) => {\n        if (fileName === void 0) {\n          return void 0;\n        }\n        const diagnosticForFileName = find(\n          diagnostics,\n          (diagnostic) => diagnostic.file !== void 0 && diagnostic.file.fileName === fileName\n        );\n        if (diagnosticForFileName !== void 0) {\n          const { line } = getLineAndCharacterOfPosition(diagnosticForFileName.file, diagnosticForFileName.start);\n          return {\n            fileName,\n            line: line + 1\n          };\n        }\n      });\n    }\n    function getWatchErrorSummaryDiagnosticMessage(errorCount) {\n      return errorCount === 1 ? Diagnostics.Found_1_error_Watching_for_file_changes : Diagnostics.Found_0_errors_Watching_for_file_changes;\n    }\n    function prettyPathForFileError(error, cwd2) {\n      const line = formatColorAndReset(\n        \":\" + error.line,\n        \"\\x1B[90m\"\n        /* Grey */\n      );\n      if (pathIsAbsolute(error.fileName) && pathIsAbsolute(cwd2)) {\n        return getRelativePathFromDirectory(\n          cwd2,\n          error.fileName,\n          /* ignoreCase */\n          false\n        ) + line;\n      }\n      return error.fileName + line;\n    }\n    function getErrorSummaryText(errorCount, filesInError, newLine, host) {\n      if (errorCount === 0)\n        return \"\";\n      const nonNilFiles = filesInError.filter((fileInError) => fileInError !== void 0);\n      const distinctFileNamesWithLines = nonNilFiles.map((fileInError) => `${fileInError.fileName}:${fileInError.line}`).filter((value, index, self2) => self2.indexOf(value) === index);\n      const firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory());\n      const d = errorCount === 1 ? createCompilerDiagnostic(\n        filesInError[0] !== void 0 ? Diagnostics.Found_1_error_in_1 : Diagnostics.Found_1_error,\n        errorCount,\n        firstFileReference\n      ) : createCompilerDiagnostic(\n        distinctFileNamesWithLines.length === 0 ? Diagnostics.Found_0_errors : distinctFileNamesWithLines.length === 1 ? Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1 : Diagnostics.Found_0_errors_in_1_files,\n        errorCount,\n        distinctFileNamesWithLines.length === 1 ? firstFileReference : distinctFileNamesWithLines.length\n      );\n      const suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : \"\";\n      return `${newLine}${flattenDiagnosticMessageText2(d.messageText, newLine)}${newLine}${newLine}${suffix}`;\n    }\n    function createTabularErrorsDisplay(filesInError, host) {\n      const distinctFiles = filesInError.filter((value, index, self2) => index === self2.findIndex((file) => (file == null ? void 0 : file.fileName) === (value == null ? void 0 : value.fileName)));\n      if (distinctFiles.length === 0)\n        return \"\";\n      const numberLength = (num) => Math.log(num) * Math.LOG10E + 1;\n      const fileToErrorCount = distinctFiles.map((file) => [file, countWhere2(filesInError, (fileInError) => fileInError.fileName === file.fileName)]);\n      const maxErrors = fileToErrorCount.reduce((acc, value) => Math.max(acc, value[1] || 0), 0);\n      const headerRow = Diagnostics.Errors_Files.message;\n      const leftColumnHeadingLength = headerRow.split(\" \")[0].length;\n      const leftPaddingGoal = Math.max(leftColumnHeadingLength, numberLength(maxErrors));\n      const headerPadding = Math.max(numberLength(maxErrors) - leftColumnHeadingLength, 0);\n      let tabularData = \"\";\n      tabularData += \" \".repeat(headerPadding) + headerRow + \"\\n\";\n      fileToErrorCount.forEach((row) => {\n        const [file, errorCount] = row;\n        const errorCountDigitsLength = Math.log(errorCount) * Math.LOG10E + 1 | 0;\n        const leftPadding = errorCountDigitsLength < leftPaddingGoal ? \" \".repeat(leftPaddingGoal - errorCountDigitsLength) : \"\";\n        const fileRef = prettyPathForFileError(file, host.getCurrentDirectory());\n        tabularData += `${leftPadding}${errorCount}  ${fileRef}\n`;\n      });\n      return tabularData;\n    }\n    function isBuilderProgram2(program) {\n      return !!program.getState;\n    }\n    function listFiles(program, write) {\n      const options = program.getCompilerOptions();\n      if (options.explainFiles) {\n        explainFiles(isBuilderProgram2(program) ? program.getProgram() : program, write);\n      } else if (options.listFiles || options.listFilesOnly) {\n        forEach(program.getSourceFiles(), (file) => {\n          write(file.fileName);\n        });\n      }\n    }\n    function explainFiles(program, write) {\n      var _a22, _b3;\n      const reasons = program.getFileIncludeReasons();\n      const relativeFileName = (fileName) => convertToRelativePath(fileName, program.getCurrentDirectory(), program.getCanonicalFileName);\n      for (const file of program.getSourceFiles()) {\n        write(`${toFileName(file, relativeFileName)}`);\n        (_a22 = reasons.get(file.path)) == null ? void 0 : _a22.forEach((reason) => write(`  ${fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText}`));\n        (_b3 = explainIfFileIsRedirectAndImpliedFormat(file, relativeFileName)) == null ? void 0 : _b3.forEach((d) => write(`  ${d.messageText}`));\n      }\n    }\n    function explainIfFileIsRedirectAndImpliedFormat(file, fileNameConvertor) {\n      var _a22;\n      let result;\n      if (file.path !== file.resolvedPath) {\n        (result != null ? result : result = []).push(chainDiagnosticMessages(\n          /*details*/\n          void 0,\n          Diagnostics.File_is_output_of_project_reference_source_0,\n          toFileName(file.originalFileName, fileNameConvertor)\n        ));\n      }\n      if (file.redirectInfo) {\n        (result != null ? result : result = []).push(chainDiagnosticMessages(\n          /*details*/\n          void 0,\n          Diagnostics.File_redirects_to_file_0,\n          toFileName(file.redirectInfo.redirectTarget, fileNameConvertor)\n        ));\n      }\n      if (isExternalOrCommonJsModule(file)) {\n        switch (file.impliedNodeFormat) {\n          case 99:\n            if (file.packageJsonScope) {\n              (result != null ? result : result = []).push(chainDiagnosticMessages(\n                /*details*/\n                void 0,\n                Diagnostics.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,\n                toFileName(last(file.packageJsonLocations), fileNameConvertor)\n              ));\n            }\n            break;\n          case 1:\n            if (file.packageJsonScope) {\n              (result != null ? result : result = []).push(chainDiagnosticMessages(\n                /*details*/\n                void 0,\n                file.packageJsonScope.contents.packageJsonContent.type ? Diagnostics.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module : Diagnostics.File_is_CommonJS_module_because_0_does_not_have_field_type,\n                toFileName(last(file.packageJsonLocations), fileNameConvertor)\n              ));\n            } else if ((_a22 = file.packageJsonLocations) == null ? void 0 : _a22.length) {\n              (result != null ? result : result = []).push(chainDiagnosticMessages(\n                /*details*/\n                void 0,\n                Diagnostics.File_is_CommonJS_module_because_package_json_was_not_found\n              ));\n            }\n            break;\n        }\n      }\n      return result;\n    }\n    function getMatchedFileSpec(program, fileName) {\n      var _a22;\n      const configFile = program.getCompilerOptions().configFile;\n      if (!((_a22 = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a22.validatedFilesSpec))\n        return void 0;\n      const filePath = program.getCanonicalFileName(fileName);\n      const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory()));\n      return find(configFile.configFileSpecs.validatedFilesSpec, (fileSpec) => program.getCanonicalFileName(getNormalizedAbsolutePath(fileSpec, basePath)) === filePath);\n    }\n    function getMatchedIncludeSpec(program, fileName) {\n      var _a22, _b3;\n      const configFile = program.getCompilerOptions().configFile;\n      if (!((_a22 = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a22.validatedIncludeSpecs))\n        return void 0;\n      if (configFile.configFileSpecs.isDefaultIncludeSpec)\n        return true;\n      const isJsonFile = fileExtensionIs(\n        fileName,\n        \".json\"\n        /* Json */\n      );\n      const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory()));\n      const useCaseSensitiveFileNames = program.useCaseSensitiveFileNames();\n      return find((_b3 = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _b3.validatedIncludeSpecs, (includeSpec) => {\n        if (isJsonFile && !endsWith(\n          includeSpec,\n          \".json\"\n          /* Json */\n        ))\n          return false;\n        const pattern = getPatternFromSpec(includeSpec, basePath, \"files\");\n        return !!pattern && getRegexFromPattern(`(${pattern})$`, useCaseSensitiveFileNames).test(fileName);\n      });\n    }\n    function fileIncludeReasonToDiagnostics(program, reason, fileNameConvertor) {\n      var _a22, _b3;\n      const options = program.getCompilerOptions();\n      if (isReferencedFile(reason)) {\n        const referenceLocation = getReferencedFileLocation((path) => program.getSourceFileByPath(path), reason);\n        const referenceText = isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : `\"${referenceLocation.text}\"`;\n        let message;\n        Debug2.assert(isReferenceFileLocation(referenceLocation) || reason.kind === 3, \"Only synthetic references are imports\");\n        switch (reason.kind) {\n          case 3:\n            if (isReferenceFileLocation(referenceLocation)) {\n              message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2 : Diagnostics.Imported_via_0_from_file_1;\n            } else if (referenceLocation.text === externalHelpersModuleNameText) {\n              message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions : Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions;\n            } else {\n              message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions : Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;\n            }\n            break;\n          case 4:\n            Debug2.assert(!referenceLocation.packageId);\n            message = Diagnostics.Referenced_via_0_from_file_1;\n            break;\n          case 5:\n            message = referenceLocation.packageId ? Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2 : Diagnostics.Type_library_referenced_via_0_from_file_1;\n            break;\n          case 7:\n            Debug2.assert(!referenceLocation.packageId);\n            message = Diagnostics.Library_referenced_via_0_from_file_1;\n            break;\n          default:\n            Debug2.assertNever(reason);\n        }\n        return chainDiagnosticMessages(\n          /*details*/\n          void 0,\n          message,\n          referenceText,\n          toFileName(referenceLocation.file, fileNameConvertor),\n          referenceLocation.packageId && packageIdToString(referenceLocation.packageId)\n        );\n      }\n      switch (reason.kind) {\n        case 0:\n          if (!((_a22 = options.configFile) == null ? void 0 : _a22.configFileSpecs))\n            return chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.Root_file_specified_for_compilation\n            );\n          const fileName = getNormalizedAbsolutePath(program.getRootFileNames()[reason.index], program.getCurrentDirectory());\n          const matchedByFiles = getMatchedFileSpec(program, fileName);\n          if (matchedByFiles)\n            return chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.Part_of_files_list_in_tsconfig_json\n            );\n          const matchedByInclude = getMatchedIncludeSpec(program, fileName);\n          return isString2(matchedByInclude) ? chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            Diagnostics.Matched_by_include_pattern_0_in_1,\n            matchedByInclude,\n            toFileName(options.configFile, fileNameConvertor)\n          ) : (\n            // Could be additional files specified as roots or matched by default include\n            chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              matchedByInclude ? Diagnostics.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk : Diagnostics.Root_file_specified_for_compilation\n            )\n          );\n        case 1:\n        case 2:\n          const isOutput = reason.kind === 2;\n          const referencedResolvedRef = Debug2.checkDefined((_b3 = program.getResolvedProjectReferences()) == null ? void 0 : _b3[reason.index]);\n          return chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            outFile(options) ? isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_1_specified : Diagnostics.Source_from_referenced_project_0_included_because_1_specified : isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none : Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none,\n            toFileName(referencedResolvedRef.sourceFile.fileName, fileNameConvertor),\n            options.outFile ? \"--outFile\" : \"--out\"\n          );\n        case 8:\n          return chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            options.types ? reason.packageId ? Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1 : Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions : reason.packageId ? Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1 : Diagnostics.Entry_point_for_implicit_type_library_0,\n            reason.typeReference,\n            reason.packageId && packageIdToString(reason.packageId)\n          );\n        case 6:\n          if (reason.index !== void 0)\n            return chainDiagnosticMessages(\n              /*details*/\n              void 0,\n              Diagnostics.Library_0_specified_in_compilerOptions,\n              options.lib[reason.index]\n            );\n          const target = forEachEntry(targetOptionDeclaration.type, (value, key) => value === getEmitScriptTarget(options) ? key : void 0);\n          return chainDiagnosticMessages(\n            /*details*/\n            void 0,\n            target ? Diagnostics.Default_library_for_target_0 : Diagnostics.Default_library,\n            target\n          );\n        default:\n          Debug2.assertNever(reason);\n      }\n    }\n    function toFileName(file, fileNameConvertor) {\n      const fileName = isString2(file) ? file : file.fileName;\n      return fileNameConvertor ? fileNameConvertor(fileName) : fileName;\n    }\n    function emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n      const isListFilesOnly = !!program.getCompilerOptions().listFilesOnly;\n      const allDiagnostics = program.getConfigFileParsingDiagnostics().slice();\n      const configFileParsingDiagnosticsLength = allDiagnostics.length;\n      addRange(allDiagnostics, program.getSyntacticDiagnostics(\n        /*sourceFile*/\n        void 0,\n        cancellationToken\n      ));\n      if (allDiagnostics.length === configFileParsingDiagnosticsLength) {\n        addRange(allDiagnostics, program.getOptionsDiagnostics(cancellationToken));\n        if (!isListFilesOnly) {\n          addRange(allDiagnostics, program.getGlobalDiagnostics(cancellationToken));\n          if (allDiagnostics.length === configFileParsingDiagnosticsLength) {\n            addRange(allDiagnostics, program.getSemanticDiagnostics(\n              /*sourceFile*/\n              void 0,\n              cancellationToken\n            ));\n          }\n        }\n      }\n      const emitResult = isListFilesOnly ? { emitSkipped: true, diagnostics: emptyArray } : program.emit(\n        /*targetSourceFile*/\n        void 0,\n        writeFile2,\n        cancellationToken,\n        emitOnlyDtsFiles,\n        customTransformers\n      );\n      const { emittedFiles, diagnostics: emitDiagnostics } = emitResult;\n      addRange(allDiagnostics, emitDiagnostics);\n      const diagnostics = sortAndDeduplicateDiagnostics(allDiagnostics);\n      diagnostics.forEach(reportDiagnostic);\n      if (write) {\n        const currentDir = program.getCurrentDirectory();\n        forEach(emittedFiles, (file) => {\n          const filepath = getNormalizedAbsolutePath(file, currentDir);\n          write(`TSFILE: ${filepath}`);\n        });\n        listFiles(program, write);\n      }\n      if (reportSummary) {\n        reportSummary(getErrorCountForSummary(diagnostics), getFilesInErrorForSummary(diagnostics));\n      }\n      return {\n        emitResult,\n        diagnostics\n      };\n    }\n    function emitFilesAndReportErrorsAndGetExitStatus(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n      const { emitResult, diagnostics } = emitFilesAndReportErrors(\n        program,\n        reportDiagnostic,\n        write,\n        reportSummary,\n        writeFile2,\n        cancellationToken,\n        emitOnlyDtsFiles,\n        customTransformers\n      );\n      if (emitResult.emitSkipped && diagnostics.length > 0) {\n        return 1;\n      } else if (diagnostics.length > 0) {\n        return 2;\n      }\n      return 0;\n    }\n    function createWatchHost(system = sys, reportWatchStatus2) {\n      const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter(system);\n      return {\n        onWatchStatusChange,\n        watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher,\n        watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher,\n        setTimeout: maybeBind(system, system.setTimeout) || noop,\n        clearTimeout: maybeBind(system, system.clearTimeout) || noop\n      };\n    }\n    function createWatchFactory(host, options) {\n      const watchLogLevel = host.trace ? options.extendedDiagnostics ? 2 : options.diagnostics ? 1 : 0 : 0;\n      const writeLog = watchLogLevel !== 0 ? (s) => host.trace(s) : noop;\n      const result = getWatchFactory(host, watchLogLevel, writeLog);\n      result.writeLog = writeLog;\n      return result;\n    }\n    function createCompilerHostFromProgramHost(host, getCompilerOptions, directoryStructureHost = host) {\n      const useCaseSensitiveFileNames = host.useCaseSensitiveFileNames();\n      const compilerHost = {\n        getSourceFile: createGetSourceFile(\n          (fileName, encoding) => !encoding ? compilerHost.readFile(fileName) : host.readFile(fileName, encoding),\n          getCompilerOptions,\n          /*setParentNodes*/\n          void 0\n        ),\n        getDefaultLibLocation: maybeBind(host, host.getDefaultLibLocation),\n        getDefaultLibFileName: (options) => host.getDefaultLibFileName(options),\n        writeFile: createWriteFileMeasuringIO(\n          (path, data, writeByteOrderMark) => host.writeFile(path, data, writeByteOrderMark),\n          (path) => host.createDirectory(path),\n          (path) => host.directoryExists(path)\n        ),\n        getCurrentDirectory: memoize(() => host.getCurrentDirectory()),\n        useCaseSensitiveFileNames: () => useCaseSensitiveFileNames,\n        getCanonicalFileName: createGetCanonicalFileName(useCaseSensitiveFileNames),\n        getNewLine: () => getNewLineCharacter(getCompilerOptions()),\n        fileExists: (f) => host.fileExists(f),\n        readFile: (f) => host.readFile(f),\n        trace: maybeBind(host, host.trace),\n        directoryExists: maybeBind(directoryStructureHost, directoryStructureHost.directoryExists),\n        getDirectories: maybeBind(directoryStructureHost, directoryStructureHost.getDirectories),\n        realpath: maybeBind(host, host.realpath),\n        getEnvironmentVariable: maybeBind(host, host.getEnvironmentVariable) || (() => \"\"),\n        createHash: maybeBind(host, host.createHash),\n        readDirectory: maybeBind(host, host.readDirectory),\n        storeFilesChangingSignatureDuringEmit: host.storeFilesChangingSignatureDuringEmit\n      };\n      return compilerHost;\n    }\n    function getSourceFileVersionAsHashFromText(host, text) {\n      if (text.match(sourceMapCommentRegExpDontCareLineStart)) {\n        let lineEnd = text.length;\n        let lineStart = lineEnd;\n        for (let pos = lineEnd - 1; pos >= 0; pos--) {\n          const ch = text.charCodeAt(pos);\n          switch (ch) {\n            case 10:\n              if (pos && text.charCodeAt(pos - 1) === 13) {\n                pos--;\n              }\n            case 13:\n              break;\n            default:\n              if (ch < 127 || !isLineBreak(ch)) {\n                lineStart = pos;\n                continue;\n              }\n              break;\n          }\n          const line = text.substring(lineStart, lineEnd);\n          if (line.match(sourceMapCommentRegExp)) {\n            text = text.substring(0, lineStart);\n            break;\n          } else if (!line.match(whitespaceOrMapCommentRegExp)) {\n            break;\n          }\n          lineEnd = lineStart;\n        }\n      }\n      return (host.createHash || generateDjb2Hash)(text);\n    }\n    function setGetSourceFileAsHashVersioned(compilerHost) {\n      const originalGetSourceFile = compilerHost.getSourceFile;\n      compilerHost.getSourceFile = (...args) => {\n        const result = originalGetSourceFile.call(compilerHost, ...args);\n        if (result) {\n          result.version = getSourceFileVersionAsHashFromText(compilerHost, result.text);\n        }\n        return result;\n      };\n    }\n    function createProgramHost(system, createProgram2) {\n      const getDefaultLibLocation = memoize(() => getDirectoryPath(normalizePath(system.getExecutingFilePath())));\n      return {\n        useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames,\n        getNewLine: () => system.newLine,\n        getCurrentDirectory: memoize(() => system.getCurrentDirectory()),\n        getDefaultLibLocation,\n        getDefaultLibFileName: (options) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options)),\n        fileExists: (path) => system.fileExists(path),\n        readFile: (path, encoding) => system.readFile(path, encoding),\n        directoryExists: (path) => system.directoryExists(path),\n        getDirectories: (path) => system.getDirectories(path),\n        readDirectory: (path, extensions, exclude, include, depth) => system.readDirectory(path, extensions, exclude, include, depth),\n        realpath: maybeBind(system, system.realpath),\n        getEnvironmentVariable: maybeBind(system, system.getEnvironmentVariable),\n        trace: (s) => system.write(s + system.newLine),\n        createDirectory: (path) => system.createDirectory(path),\n        writeFile: (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark),\n        createHash: maybeBind(system, system.createHash),\n        createProgram: createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram,\n        storeFilesChangingSignatureDuringEmit: system.storeFilesChangingSignatureDuringEmit,\n        now: maybeBind(system, system.now)\n      };\n    }\n    function createWatchCompilerHost(system = sys, createProgram2, reportDiagnostic, reportWatchStatus2) {\n      const write = (s) => system.write(s + system.newLine);\n      const result = createProgramHost(system, createProgram2);\n      copyProperties(result, createWatchHost(system, reportWatchStatus2));\n      result.afterProgramCreate = (builderProgram) => {\n        const compilerOptions = builderProgram.getCompilerOptions();\n        const newLine = getNewLineCharacter(compilerOptions);\n        emitFilesAndReportErrors(\n          builderProgram,\n          reportDiagnostic,\n          write,\n          (errorCount) => result.onWatchStatusChange(\n            createCompilerDiagnostic(getWatchErrorSummaryDiagnosticMessage(errorCount), errorCount),\n            newLine,\n            compilerOptions,\n            errorCount\n          )\n        );\n      };\n      return result;\n    }\n    function reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic) {\n      reportDiagnostic(diagnostic);\n      system.exit(\n        1\n        /* DiagnosticsPresent_OutputsSkipped */\n      );\n    }\n    function createWatchCompilerHostOfConfigFile({\n      configFileName,\n      optionsToExtend,\n      watchOptionsToExtend,\n      extraFileExtensions,\n      system,\n      createProgram: createProgram2,\n      reportDiagnostic,\n      reportWatchStatus: reportWatchStatus2\n    }) {\n      const diagnosticReporter = reportDiagnostic || createDiagnosticReporter(system);\n      const host = createWatchCompilerHost(system, createProgram2, diagnosticReporter, reportWatchStatus2);\n      host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, diagnosticReporter, diagnostic);\n      host.configFileName = configFileName;\n      host.optionsToExtend = optionsToExtend;\n      host.watchOptionsToExtend = watchOptionsToExtend;\n      host.extraFileExtensions = extraFileExtensions;\n      return host;\n    }\n    function createWatchCompilerHostOfFilesAndCompilerOptions({\n      rootFiles,\n      options,\n      watchOptions,\n      projectReferences,\n      system,\n      createProgram: createProgram2,\n      reportDiagnostic,\n      reportWatchStatus: reportWatchStatus2\n    }) {\n      const host = createWatchCompilerHost(system, createProgram2, reportDiagnostic || createDiagnosticReporter(system), reportWatchStatus2);\n      host.rootFiles = rootFiles;\n      host.options = options;\n      host.watchOptions = watchOptions;\n      host.projectReferences = projectReferences;\n      return host;\n    }\n    function performIncrementalCompilation(input) {\n      const system = input.system || sys;\n      const host = input.host || (input.host = createIncrementalCompilerHost(input.options, system));\n      const builderProgram = createIncrementalProgram(input);\n      const exitStatus = emitFilesAndReportErrorsAndGetExitStatus(\n        builderProgram,\n        input.reportDiagnostic || createDiagnosticReporter(system),\n        (s) => host.trace && host.trace(s),\n        input.reportErrorSummary || input.options.pretty ? (errorCount, filesInError) => system.write(getErrorSummaryText(errorCount, filesInError, system.newLine, host)) : void 0\n      );\n      if (input.afterProgramEmitAndDiagnostics)\n        input.afterProgramEmitAndDiagnostics(builderProgram);\n      return exitStatus;\n    }\n    var sysFormatDiagnosticsHost, screenStartingMessageCodes, noopFileWatcher, returnNoopFileWatcher, WatchType;\n    var init_watch = __esm({\n      \"src/compiler/watch.ts\"() {\n        \"use strict\";\n        init_ts2();\n        sysFormatDiagnosticsHost = sys ? {\n          getCurrentDirectory: () => sys.getCurrentDirectory(),\n          getNewLine: () => sys.newLine,\n          getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames)\n        } : void 0;\n        screenStartingMessageCodes = [\n          Diagnostics.Starting_compilation_in_watch_mode.code,\n          Diagnostics.File_change_detected_Starting_incremental_compilation.code\n        ];\n        noopFileWatcher = { close: noop };\n        returnNoopFileWatcher = () => noopFileWatcher;\n        WatchType = {\n          ConfigFile: \"Config file\",\n          ExtendedConfigFile: \"Extended config file\",\n          SourceFile: \"Source file\",\n          MissingFile: \"Missing file\",\n          WildcardDirectory: \"Wild card directory\",\n          FailedLookupLocations: \"Failed Lookup Locations\",\n          AffectingFileLocation: \"File location affecting resolution\",\n          TypeRoots: \"Type roots\",\n          ConfigFileOfReferencedProject: \"Config file of referened project\",\n          ExtendedConfigOfReferencedProject: \"Extended config file of referenced project\",\n          WildcardDirectoryOfReferencedProject: \"Wild card directory of referenced project\",\n          PackageJson: \"package.json file\",\n          ClosedScriptInfo: \"Closed Script info\",\n          ConfigFileForInferredRoot: \"Config file for the inferred project root\",\n          NodeModules: \"node_modules for closed script infos and package.jsons affecting module specifier cache\",\n          MissingSourceMapFile: \"Missing source map file\",\n          NoopConfigFileForInferredRoot: \"Noop Config file for the inferred project root\",\n          MissingGeneratedFile: \"Missing generated file\",\n          NodeModulesForModuleSpecifierCache: \"node_modules for module specifier cache invalidation\"\n        };\n      }\n    });\n    function readBuilderProgram(compilerOptions, host) {\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions);\n      if (!buildInfoPath)\n        return void 0;\n      let buildInfo;\n      if (host.getBuildInfo) {\n        buildInfo = host.getBuildInfo(buildInfoPath, compilerOptions.configFilePath);\n      } else {\n        const content = host.readFile(buildInfoPath);\n        if (!content)\n          return void 0;\n        buildInfo = getBuildInfo(buildInfoPath, content);\n      }\n      if (!buildInfo || buildInfo.version !== version || !buildInfo.program)\n        return void 0;\n      return createBuilderProgramUsingProgramBuildInfo(buildInfo, buildInfoPath, host);\n    }\n    function createIncrementalCompilerHost(options, system = sys) {\n      const host = createCompilerHostWorker(\n        options,\n        /*setParentNodes*/\n        void 0,\n        system\n      );\n      host.createHash = maybeBind(system, system.createHash);\n      host.storeFilesChangingSignatureDuringEmit = system.storeFilesChangingSignatureDuringEmit;\n      setGetSourceFileAsHashVersioned(host);\n      changeCompilerHostLikeToUseCache(host, (fileName) => toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName));\n      return host;\n    }\n    function createIncrementalProgram({\n      rootNames,\n      options,\n      configFileParsingDiagnostics,\n      projectReferences,\n      host,\n      createProgram: createProgram2\n    }) {\n      host = host || createIncrementalCompilerHost(options);\n      createProgram2 = createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram;\n      const oldProgram = readBuilderProgram(options, host);\n      return createProgram2(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectReferences);\n    }\n    function createWatchCompilerHost2(rootFilesOrConfigFileName, options, system, createProgram2, reportDiagnostic, reportWatchStatus2, projectReferencesOrWatchOptionsToExtend, watchOptionsOrExtraFileExtensions) {\n      if (isArray(rootFilesOrConfigFileName)) {\n        return createWatchCompilerHostOfFilesAndCompilerOptions({\n          rootFiles: rootFilesOrConfigFileName,\n          options,\n          watchOptions: watchOptionsOrExtraFileExtensions,\n          projectReferences: projectReferencesOrWatchOptionsToExtend,\n          system,\n          createProgram: createProgram2,\n          reportDiagnostic,\n          reportWatchStatus: reportWatchStatus2\n        });\n      } else {\n        return createWatchCompilerHostOfConfigFile({\n          configFileName: rootFilesOrConfigFileName,\n          optionsToExtend: options,\n          watchOptionsToExtend: projectReferencesOrWatchOptionsToExtend,\n          extraFileExtensions: watchOptionsOrExtraFileExtensions,\n          system,\n          createProgram: createProgram2,\n          reportDiagnostic,\n          reportWatchStatus: reportWatchStatus2\n        });\n      }\n    }\n    function createWatchProgram(host) {\n      let builderProgram;\n      let reloadLevel;\n      let missingFilesMap;\n      let watchedWildcardDirectories;\n      let timerToUpdateProgram;\n      let timerToInvalidateFailedLookupResolutions;\n      let parsedConfigs;\n      let sharedExtendedConfigFileWatchers;\n      let extendedConfigCache = host.extendedConfigCache;\n      let reportFileChangeDetectedOnCreateProgram = false;\n      const sourceFilesCache = /* @__PURE__ */ new Map();\n      let missingFilePathsRequestedForRelease;\n      let hasChangedCompilerOptions = false;\n      const useCaseSensitiveFileNames = host.useCaseSensitiveFileNames();\n      const currentDirectory = host.getCurrentDirectory();\n      const { configFileName, optionsToExtend: optionsToExtendForConfigFile = {}, watchOptionsToExtend, extraFileExtensions, createProgram: createProgram2 } = host;\n      let { rootFiles: rootFileNames, options: compilerOptions, watchOptions, projectReferences } = host;\n      let wildcardDirectories;\n      let configFileParsingDiagnostics;\n      let canConfigFileJsonReportNoInputFiles = false;\n      let hasChangedConfigFileParsingErrors = false;\n      const cachedDirectoryStructureHost = configFileName === void 0 ? void 0 : createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames);\n      const directoryStructureHost = cachedDirectoryStructureHost || host;\n      const parseConfigFileHost = parseConfigHostFromCompilerHostLike(host, directoryStructureHost);\n      let newLine = updateNewLine();\n      if (configFileName && host.configFileParsingResult) {\n        setConfigFileParsingResult(host.configFileParsingResult);\n        newLine = updateNewLine();\n      }\n      reportWatchDiagnostic(Diagnostics.Starting_compilation_in_watch_mode);\n      if (configFileName && !host.configFileParsingResult) {\n        newLine = getNewLineCharacter(optionsToExtendForConfigFile);\n        Debug2.assert(!rootFileNames);\n        parseConfigFile2();\n        newLine = updateNewLine();\n      }\n      Debug2.assert(compilerOptions);\n      Debug2.assert(rootFileNames);\n      const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(host, compilerOptions);\n      const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      writeLog(`Current directory: ${currentDirectory} CaseSensitiveFileNames: ${useCaseSensitiveFileNames}`);\n      let configFileWatcher;\n      if (configFileName) {\n        configFileWatcher = watchFile2(configFileName, scheduleProgramReload, 2e3, watchOptions, WatchType.ConfigFile);\n      }\n      const compilerHost = createCompilerHostFromProgramHost(host, () => compilerOptions, directoryStructureHost);\n      setGetSourceFileAsHashVersioned(compilerHost);\n      const getNewSourceFile = compilerHost.getSourceFile;\n      compilerHost.getSourceFile = (fileName, ...args) => getVersionedSourceFileByPath(fileName, toPath3(fileName), ...args);\n      compilerHost.getSourceFileByPath = getVersionedSourceFileByPath;\n      compilerHost.getNewLine = () => newLine;\n      compilerHost.fileExists = fileExists;\n      compilerHost.onReleaseOldSourceFile = onReleaseOldSourceFile;\n      compilerHost.onReleaseParsedCommandLine = onReleaseParsedCommandLine;\n      compilerHost.toPath = toPath3;\n      compilerHost.getCompilationSettings = () => compilerOptions;\n      compilerHost.useSourceOfProjectReferenceRedirect = maybeBind(host, host.useSourceOfProjectReferenceRedirect);\n      compilerHost.watchDirectoryOfFailedLookupLocation = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.FailedLookupLocations);\n      compilerHost.watchAffectingFileLocation = (file, cb) => watchFile2(file, cb, 2e3, watchOptions, WatchType.AffectingFileLocation);\n      compilerHost.watchTypeRootsDirectory = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.TypeRoots);\n      compilerHost.getCachedDirectoryStructureHost = () => cachedDirectoryStructureHost;\n      compilerHost.scheduleInvalidateResolutionsOfFailedLookupLocations = scheduleInvalidateResolutionsOfFailedLookupLocations;\n      compilerHost.onInvalidatedResolution = scheduleProgramUpdate;\n      compilerHost.onChangedAutomaticTypeDirectiveNames = scheduleProgramUpdate;\n      compilerHost.fileIsOpen = returnFalse;\n      compilerHost.getCurrentProgram = getCurrentProgram;\n      compilerHost.writeLog = writeLog;\n      compilerHost.getParsedCommandLine = getParsedCommandLine;\n      const resolutionCache = createResolutionCache(\n        compilerHost,\n        configFileName ? getDirectoryPath(getNormalizedAbsolutePath(configFileName, currentDirectory)) : currentDirectory,\n        /*logChangesWhenResolvingModule*/\n        false\n      );\n      compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals);\n      compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames);\n      if (!compilerHost.resolveModuleNameLiterals && !compilerHost.resolveModuleNames) {\n        compilerHost.resolveModuleNameLiterals = resolutionCache.resolveModuleNameLiterals.bind(resolutionCache);\n      }\n      compilerHost.resolveTypeReferenceDirectiveReferences = maybeBind(host, host.resolveTypeReferenceDirectiveReferences);\n      compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives);\n      if (!compilerHost.resolveTypeReferenceDirectiveReferences && !compilerHost.resolveTypeReferenceDirectives) {\n        compilerHost.resolveTypeReferenceDirectiveReferences = resolutionCache.resolveTypeReferenceDirectiveReferences.bind(resolutionCache);\n      }\n      compilerHost.getModuleResolutionCache = host.resolveModuleNameLiterals || host.resolveModuleNames ? maybeBind(host, host.getModuleResolutionCache) : () => resolutionCache.getModuleResolutionCache();\n      const userProvidedResolution = !!host.resolveModuleNameLiterals || !!host.resolveTypeReferenceDirectiveReferences || !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;\n      const customHasInvalidatedResolutions = userProvidedResolution ? maybeBind(host, host.hasInvalidatedResolutions) || returnTrue : returnFalse;\n      builderProgram = readBuilderProgram(compilerOptions, compilerHost);\n      synchronizeProgram();\n      watchConfigFileWildCardDirectories();\n      if (configFileName)\n        updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile);\n      return configFileName ? { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, close } : { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, updateRootFileNames, close };\n      function close() {\n        clearInvalidateResolutionsOfFailedLookupLocations();\n        resolutionCache.clear();\n        clearMap(sourceFilesCache, (value) => {\n          if (value && value.fileWatcher) {\n            value.fileWatcher.close();\n            value.fileWatcher = void 0;\n          }\n        });\n        if (configFileWatcher) {\n          configFileWatcher.close();\n          configFileWatcher = void 0;\n        }\n        extendedConfigCache == null ? void 0 : extendedConfigCache.clear();\n        extendedConfigCache = void 0;\n        if (sharedExtendedConfigFileWatchers) {\n          clearMap(sharedExtendedConfigFileWatchers, closeFileWatcherOf);\n          sharedExtendedConfigFileWatchers = void 0;\n        }\n        if (watchedWildcardDirectories) {\n          clearMap(watchedWildcardDirectories, closeFileWatcherOf);\n          watchedWildcardDirectories = void 0;\n        }\n        if (missingFilesMap) {\n          clearMap(missingFilesMap, closeFileWatcher);\n          missingFilesMap = void 0;\n        }\n        if (parsedConfigs) {\n          clearMap(parsedConfigs, (config) => {\n            var _a22;\n            (_a22 = config.watcher) == null ? void 0 : _a22.close();\n            config.watcher = void 0;\n            if (config.watchedDirectories)\n              clearMap(config.watchedDirectories, closeFileWatcherOf);\n            config.watchedDirectories = void 0;\n          });\n          parsedConfigs = void 0;\n        }\n      }\n      function getCurrentBuilderProgram() {\n        return builderProgram;\n      }\n      function getCurrentProgram() {\n        return builderProgram && builderProgram.getProgramOrUndefined();\n      }\n      function synchronizeProgram() {\n        writeLog(`Synchronizing program`);\n        Debug2.assert(compilerOptions);\n        Debug2.assert(rootFileNames);\n        clearInvalidateResolutionsOfFailedLookupLocations();\n        const program = getCurrentBuilderProgram();\n        if (hasChangedCompilerOptions) {\n          newLine = updateNewLine();\n          if (program && changesAffectModuleResolution(program.getCompilerOptions(), compilerOptions)) {\n            resolutionCache.clear();\n          }\n        }\n        const hasInvalidatedResolutions = resolutionCache.createHasInvalidatedResolutions(customHasInvalidatedResolutions);\n        const {\n          originalReadFile,\n          originalFileExists,\n          originalDirectoryExists,\n          originalCreateDirectory,\n          originalWriteFile,\n          readFileWithCache\n        } = changeCompilerHostLikeToUseCache(compilerHost, toPath3);\n        if (isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, (path) => getSourceVersion(path, readFileWithCache), (fileName) => compilerHost.fileExists(fileName), hasInvalidatedResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {\n          if (hasChangedConfigFileParsingErrors) {\n            if (reportFileChangeDetectedOnCreateProgram) {\n              reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);\n            }\n            builderProgram = createProgram2(\n              /*rootNames*/\n              void 0,\n              /*options*/\n              void 0,\n              compilerHost,\n              builderProgram,\n              configFileParsingDiagnostics,\n              projectReferences\n            );\n            hasChangedConfigFileParsingErrors = false;\n          }\n        } else {\n          if (reportFileChangeDetectedOnCreateProgram) {\n            reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);\n          }\n          createNewProgram(hasInvalidatedResolutions);\n        }\n        reportFileChangeDetectedOnCreateProgram = false;\n        if (host.afterProgramCreate && program !== builderProgram) {\n          host.afterProgramCreate(builderProgram);\n        }\n        compilerHost.readFile = originalReadFile;\n        compilerHost.fileExists = originalFileExists;\n        compilerHost.directoryExists = originalDirectoryExists;\n        compilerHost.createDirectory = originalCreateDirectory;\n        compilerHost.writeFile = originalWriteFile;\n        return builderProgram;\n      }\n      function createNewProgram(hasInvalidatedResolutions) {\n        writeLog(\"CreatingProgramWith::\");\n        writeLog(`  roots: ${JSON.stringify(rootFileNames)}`);\n        writeLog(`  options: ${JSON.stringify(compilerOptions)}`);\n        if (projectReferences)\n          writeLog(`  projectReferences: ${JSON.stringify(projectReferences)}`);\n        const needsUpdateInTypeRootWatch = hasChangedCompilerOptions || !getCurrentProgram();\n        hasChangedCompilerOptions = false;\n        hasChangedConfigFileParsingErrors = false;\n        resolutionCache.startCachingPerDirectoryResolution();\n        compilerHost.hasInvalidatedResolutions = hasInvalidatedResolutions;\n        compilerHost.hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames;\n        const oldProgram = getCurrentProgram();\n        builderProgram = createProgram2(rootFileNames, compilerOptions, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences);\n        resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram);\n        updateMissingFilePathsWatch(builderProgram.getProgram(), missingFilesMap || (missingFilesMap = /* @__PURE__ */ new Map()), watchMissingFilePath);\n        if (needsUpdateInTypeRootWatch) {\n          resolutionCache.updateTypeRootsWatch();\n        }\n        if (missingFilePathsRequestedForRelease) {\n          for (const missingFilePath of missingFilePathsRequestedForRelease) {\n            if (!missingFilesMap.has(missingFilePath)) {\n              sourceFilesCache.delete(missingFilePath);\n            }\n          }\n          missingFilePathsRequestedForRelease = void 0;\n        }\n      }\n      function updateRootFileNames(files) {\n        Debug2.assert(!configFileName, \"Cannot update root file names with config file watch mode\");\n        rootFileNames = files;\n        scheduleProgramUpdate();\n      }\n      function updateNewLine() {\n        return getNewLineCharacter(compilerOptions || optionsToExtendForConfigFile);\n      }\n      function toPath3(fileName) {\n        return toPath(fileName, currentDirectory, getCanonicalFileName);\n      }\n      function isFileMissingOnHost(hostSourceFile) {\n        return typeof hostSourceFile === \"boolean\";\n      }\n      function isFilePresenceUnknownOnHost(hostSourceFile) {\n        return typeof hostSourceFile.version === \"boolean\";\n      }\n      function fileExists(fileName) {\n        const path = toPath3(fileName);\n        if (isFileMissingOnHost(sourceFilesCache.get(path))) {\n          return false;\n        }\n        return directoryStructureHost.fileExists(fileName);\n      }\n      function getVersionedSourceFileByPath(fileName, path, languageVersionOrOptions, onError, shouldCreateNewSourceFile) {\n        const hostSourceFile = sourceFilesCache.get(path);\n        if (isFileMissingOnHost(hostSourceFile)) {\n          return void 0;\n        }\n        if (hostSourceFile === void 0 || shouldCreateNewSourceFile || isFilePresenceUnknownOnHost(hostSourceFile)) {\n          const sourceFile = getNewSourceFile(fileName, languageVersionOrOptions, onError);\n          if (hostSourceFile) {\n            if (sourceFile) {\n              hostSourceFile.sourceFile = sourceFile;\n              hostSourceFile.version = sourceFile.version;\n              if (!hostSourceFile.fileWatcher) {\n                hostSourceFile.fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250, watchOptions, WatchType.SourceFile);\n              }\n            } else {\n              if (hostSourceFile.fileWatcher) {\n                hostSourceFile.fileWatcher.close();\n              }\n              sourceFilesCache.set(path, false);\n            }\n          } else {\n            if (sourceFile) {\n              const fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250, watchOptions, WatchType.SourceFile);\n              sourceFilesCache.set(path, { sourceFile, version: sourceFile.version, fileWatcher });\n            } else {\n              sourceFilesCache.set(path, false);\n            }\n          }\n          return sourceFile;\n        }\n        return hostSourceFile.sourceFile;\n      }\n      function nextSourceFileVersion(path) {\n        const hostSourceFile = sourceFilesCache.get(path);\n        if (hostSourceFile !== void 0) {\n          if (isFileMissingOnHost(hostSourceFile)) {\n            sourceFilesCache.set(path, { version: false });\n          } else {\n            hostSourceFile.version = false;\n          }\n        }\n      }\n      function getSourceVersion(path, readFileWithCache) {\n        const hostSourceFile = sourceFilesCache.get(path);\n        if (!hostSourceFile)\n          return void 0;\n        if (hostSourceFile.version)\n          return hostSourceFile.version;\n        const text = readFileWithCache(path);\n        return text !== void 0 ? getSourceFileVersionAsHashFromText(compilerHost, text) : void 0;\n      }\n      function onReleaseOldSourceFile(oldSourceFile, _oldOptions, hasSourceFileByPath) {\n        const hostSourceFileInfo = sourceFilesCache.get(oldSourceFile.resolvedPath);\n        if (hostSourceFileInfo !== void 0) {\n          if (isFileMissingOnHost(hostSourceFileInfo)) {\n            (missingFilePathsRequestedForRelease || (missingFilePathsRequestedForRelease = [])).push(oldSourceFile.path);\n          } else if (hostSourceFileInfo.sourceFile === oldSourceFile) {\n            if (hostSourceFileInfo.fileWatcher) {\n              hostSourceFileInfo.fileWatcher.close();\n            }\n            sourceFilesCache.delete(oldSourceFile.resolvedPath);\n            if (!hasSourceFileByPath) {\n              resolutionCache.removeResolutionsOfFile(oldSourceFile.path);\n            }\n          }\n        }\n      }\n      function reportWatchDiagnostic(message) {\n        if (host.onWatchStatusChange) {\n          host.onWatchStatusChange(createCompilerDiagnostic(message), newLine, compilerOptions || optionsToExtendForConfigFile);\n        }\n      }\n      function hasChangedAutomaticTypeDirectiveNames() {\n        return resolutionCache.hasChangedAutomaticTypeDirectiveNames();\n      }\n      function clearInvalidateResolutionsOfFailedLookupLocations() {\n        if (!timerToInvalidateFailedLookupResolutions)\n          return false;\n        host.clearTimeout(timerToInvalidateFailedLookupResolutions);\n        timerToInvalidateFailedLookupResolutions = void 0;\n        return true;\n      }\n      function scheduleInvalidateResolutionsOfFailedLookupLocations() {\n        if (!host.setTimeout || !host.clearTimeout) {\n          return resolutionCache.invalidateResolutionsOfFailedLookupLocations();\n        }\n        const pending = clearInvalidateResolutionsOfFailedLookupLocations();\n        writeLog(`Scheduling invalidateFailedLookup${pending ? \", Cancelled earlier one\" : \"\"}`);\n        timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250);\n      }\n      function invalidateResolutionsOfFailedLookup() {\n        timerToInvalidateFailedLookupResolutions = void 0;\n        if (resolutionCache.invalidateResolutionsOfFailedLookupLocations()) {\n          scheduleProgramUpdate();\n        }\n      }\n      function scheduleProgramUpdate() {\n        if (!host.setTimeout || !host.clearTimeout) {\n          return;\n        }\n        if (timerToUpdateProgram) {\n          host.clearTimeout(timerToUpdateProgram);\n        }\n        writeLog(\"Scheduling update\");\n        timerToUpdateProgram = host.setTimeout(updateProgramWithWatchStatus, 250);\n      }\n      function scheduleProgramReload() {\n        Debug2.assert(!!configFileName);\n        reloadLevel = 2;\n        scheduleProgramUpdate();\n      }\n      function updateProgramWithWatchStatus() {\n        timerToUpdateProgram = void 0;\n        reportFileChangeDetectedOnCreateProgram = true;\n        updateProgram();\n      }\n      function updateProgram() {\n        switch (reloadLevel) {\n          case 1:\n            perfLogger.logStartUpdateProgram(\"PartialConfigReload\");\n            reloadFileNamesFromConfigFile();\n            break;\n          case 2:\n            perfLogger.logStartUpdateProgram(\"FullConfigReload\");\n            reloadConfigFile();\n            break;\n          default:\n            perfLogger.logStartUpdateProgram(\"SynchronizeProgram\");\n            synchronizeProgram();\n            break;\n        }\n        perfLogger.logStopUpdateProgram(\"Done\");\n        return getCurrentBuilderProgram();\n      }\n      function reloadFileNamesFromConfigFile() {\n        writeLog(\"Reloading new file names and options\");\n        Debug2.assert(compilerOptions);\n        Debug2.assert(configFileName);\n        reloadLevel = 0;\n        rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions);\n        if (updateErrorForNoInputFiles(rootFileNames, getNormalizedAbsolutePath(configFileName, currentDirectory), compilerOptions.configFile.configFileSpecs, configFileParsingDiagnostics, canConfigFileJsonReportNoInputFiles)) {\n          hasChangedConfigFileParsingErrors = true;\n        }\n        synchronizeProgram();\n      }\n      function reloadConfigFile() {\n        Debug2.assert(configFileName);\n        writeLog(`Reloading config file: ${configFileName}`);\n        reloadLevel = 0;\n        if (cachedDirectoryStructureHost) {\n          cachedDirectoryStructureHost.clearCache();\n        }\n        parseConfigFile2();\n        hasChangedCompilerOptions = true;\n        synchronizeProgram();\n        watchConfigFileWildCardDirectories();\n        updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile);\n      }\n      function parseConfigFile2() {\n        Debug2.assert(configFileName);\n        setConfigFileParsingResult(getParsedCommandLineOfConfigFile(\n          configFileName,\n          optionsToExtendForConfigFile,\n          parseConfigFileHost,\n          extendedConfigCache || (extendedConfigCache = /* @__PURE__ */ new Map()),\n          watchOptionsToExtend,\n          extraFileExtensions\n        ));\n      }\n      function setConfigFileParsingResult(configFileParseResult) {\n        rootFileNames = configFileParseResult.fileNames;\n        compilerOptions = configFileParseResult.options;\n        watchOptions = configFileParseResult.watchOptions;\n        projectReferences = configFileParseResult.projectReferences;\n        wildcardDirectories = configFileParseResult.wildcardDirectories;\n        configFileParsingDiagnostics = getConfigFileParsingDiagnostics(configFileParseResult).slice();\n        canConfigFileJsonReportNoInputFiles = canJsonReportNoInputFiles(configFileParseResult.raw);\n        hasChangedConfigFileParsingErrors = true;\n      }\n      function getParsedCommandLine(configFileName2) {\n        const configPath = toPath3(configFileName2);\n        let config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath);\n        if (config) {\n          if (!config.reloadLevel)\n            return config.parsedCommandLine;\n          if (config.parsedCommandLine && config.reloadLevel === 1 && !host.getParsedCommandLine) {\n            writeLog(\"Reloading new file names and options\");\n            Debug2.assert(compilerOptions);\n            const fileNames = getFileNamesFromConfigSpecs(\n              config.parsedCommandLine.options.configFile.configFileSpecs,\n              getNormalizedAbsolutePath(getDirectoryPath(configFileName2), currentDirectory),\n              compilerOptions,\n              parseConfigFileHost\n            );\n            config.parsedCommandLine = { ...config.parsedCommandLine, fileNames };\n            config.reloadLevel = void 0;\n            return config.parsedCommandLine;\n          }\n        }\n        writeLog(`Loading config file: ${configFileName2}`);\n        const parsedCommandLine = host.getParsedCommandLine ? host.getParsedCommandLine(configFileName2) : getParsedCommandLineFromConfigFileHost(configFileName2);\n        if (config) {\n          config.parsedCommandLine = parsedCommandLine;\n          config.reloadLevel = void 0;\n        } else {\n          (parsedConfigs || (parsedConfigs = /* @__PURE__ */ new Map())).set(configPath, config = { parsedCommandLine });\n        }\n        watchReferencedProject(configFileName2, configPath, config);\n        return parsedCommandLine;\n      }\n      function getParsedCommandLineFromConfigFileHost(configFileName2) {\n        const onUnRecoverableConfigFileDiagnostic = parseConfigFileHost.onUnRecoverableConfigFileDiagnostic;\n        parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop;\n        const parsedCommandLine = getParsedCommandLineOfConfigFile(\n          configFileName2,\n          /*optionsToExtend*/\n          void 0,\n          parseConfigFileHost,\n          extendedConfigCache || (extendedConfigCache = /* @__PURE__ */ new Map()),\n          watchOptionsToExtend\n        );\n        parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = onUnRecoverableConfigFileDiagnostic;\n        return parsedCommandLine;\n      }\n      function onReleaseParsedCommandLine(fileName) {\n        var _a22;\n        const path = toPath3(fileName);\n        const config = parsedConfigs == null ? void 0 : parsedConfigs.get(path);\n        if (!config)\n          return;\n        parsedConfigs.delete(path);\n        if (config.watchedDirectories)\n          clearMap(config.watchedDirectories, closeFileWatcherOf);\n        (_a22 = config.watcher) == null ? void 0 : _a22.close();\n        clearSharedExtendedConfigFileWatcher(path, sharedExtendedConfigFileWatchers);\n      }\n      function watchFilePath(path, file, callback, pollingInterval, options, watchType) {\n        return watchFile2(file, (fileName, eventKind) => callback(fileName, eventKind, path), pollingInterval, options, watchType);\n      }\n      function onSourceFileChange(fileName, eventKind, path) {\n        updateCachedSystemWithFile(fileName, path, eventKind);\n        if (eventKind === 2 && sourceFilesCache.has(path)) {\n          resolutionCache.invalidateResolutionOfFile(path);\n        }\n        nextSourceFileVersion(path);\n        scheduleProgramUpdate();\n      }\n      function updateCachedSystemWithFile(fileName, path, eventKind) {\n        if (cachedDirectoryStructureHost) {\n          cachedDirectoryStructureHost.addOrDeleteFile(fileName, path, eventKind);\n        }\n      }\n      function watchMissingFilePath(missingFilePath) {\n        return (parsedConfigs == null ? void 0 : parsedConfigs.has(missingFilePath)) ? noopFileWatcher : watchFilePath(missingFilePath, missingFilePath, onMissingFileChange, 500, watchOptions, WatchType.MissingFile);\n      }\n      function onMissingFileChange(fileName, eventKind, missingFilePath) {\n        updateCachedSystemWithFile(fileName, missingFilePath, eventKind);\n        if (eventKind === 0 && missingFilesMap.has(missingFilePath)) {\n          missingFilesMap.get(missingFilePath).close();\n          missingFilesMap.delete(missingFilePath);\n          nextSourceFileVersion(missingFilePath);\n          scheduleProgramUpdate();\n        }\n      }\n      function watchConfigFileWildCardDirectories() {\n        if (wildcardDirectories) {\n          updateWatchingWildcardDirectories(\n            watchedWildcardDirectories || (watchedWildcardDirectories = /* @__PURE__ */ new Map()),\n            new Map(Object.entries(wildcardDirectories)),\n            watchWildcardDirectory\n          );\n        } else if (watchedWildcardDirectories) {\n          clearMap(watchedWildcardDirectories, closeFileWatcherOf);\n        }\n      }\n      function watchWildcardDirectory(directory, flags) {\n        return watchDirectory(\n          directory,\n          (fileOrDirectory) => {\n            Debug2.assert(configFileName);\n            Debug2.assert(compilerOptions);\n            const fileOrDirectoryPath = toPath3(fileOrDirectory);\n            if (cachedDirectoryStructureHost) {\n              cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n            }\n            nextSourceFileVersion(fileOrDirectoryPath);\n            if (isIgnoredFileFromWildCardWatching({\n              watchedDirPath: toPath3(directory),\n              fileOrDirectory,\n              fileOrDirectoryPath,\n              configFileName,\n              extraFileExtensions,\n              options: compilerOptions,\n              program: getCurrentBuilderProgram() || rootFileNames,\n              currentDirectory,\n              useCaseSensitiveFileNames,\n              writeLog,\n              toPath: toPath3\n            }))\n              return;\n            if (reloadLevel !== 2) {\n              reloadLevel = 1;\n              scheduleProgramUpdate();\n            }\n          },\n          flags,\n          watchOptions,\n          WatchType.WildcardDirectory\n        );\n      }\n      function updateExtendedConfigFilesWatches(forProjectPath, options, watchOptions2, watchType) {\n        Debug2.assert(configFileName);\n        updateSharedExtendedConfigFileWatcher(\n          forProjectPath,\n          options,\n          sharedExtendedConfigFileWatchers || (sharedExtendedConfigFileWatchers = /* @__PURE__ */ new Map()),\n          (extendedConfigFileName, extendedConfigFilePath) => watchFile2(\n            extendedConfigFileName,\n            (_fileName, eventKind) => {\n              var _a22;\n              updateCachedSystemWithFile(extendedConfigFileName, extendedConfigFilePath, eventKind);\n              if (extendedConfigCache)\n                cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3);\n              const projects = (_a22 = sharedExtendedConfigFileWatchers.get(extendedConfigFilePath)) == null ? void 0 : _a22.projects;\n              if (!(projects == null ? void 0 : projects.size))\n                return;\n              projects.forEach((projectPath) => {\n                if (toPath3(configFileName) === projectPath) {\n                  reloadLevel = 2;\n                } else {\n                  const config = parsedConfigs == null ? void 0 : parsedConfigs.get(projectPath);\n                  if (config)\n                    config.reloadLevel = 2;\n                  resolutionCache.removeResolutionsFromProjectReferenceRedirects(projectPath);\n                }\n                scheduleProgramUpdate();\n              });\n            },\n            2e3,\n            watchOptions2,\n            watchType\n          ),\n          toPath3\n        );\n      }\n      function watchReferencedProject(configFileName2, configPath, commandLine) {\n        var _a22, _b3, _c, _d, _e;\n        commandLine.watcher || (commandLine.watcher = watchFile2(\n          configFileName2,\n          (_fileName, eventKind) => {\n            updateCachedSystemWithFile(configFileName2, configPath, eventKind);\n            const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath);\n            if (config)\n              config.reloadLevel = 2;\n            resolutionCache.removeResolutionsFromProjectReferenceRedirects(configPath);\n            scheduleProgramUpdate();\n          },\n          2e3,\n          ((_a22 = commandLine.parsedCommandLine) == null ? void 0 : _a22.watchOptions) || watchOptions,\n          WatchType.ConfigFileOfReferencedProject\n        ));\n        if ((_b3 = commandLine.parsedCommandLine) == null ? void 0 : _b3.wildcardDirectories) {\n          updateWatchingWildcardDirectories(\n            commandLine.watchedDirectories || (commandLine.watchedDirectories = /* @__PURE__ */ new Map()),\n            new Map(Object.entries((_c = commandLine.parsedCommandLine) == null ? void 0 : _c.wildcardDirectories)),\n            (directory, flags) => {\n              var _a32;\n              return watchDirectory(\n                directory,\n                (fileOrDirectory) => {\n                  const fileOrDirectoryPath = toPath3(fileOrDirectory);\n                  if (cachedDirectoryStructureHost) {\n                    cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n                  }\n                  nextSourceFileVersion(fileOrDirectoryPath);\n                  const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath);\n                  if (!(config == null ? void 0 : config.parsedCommandLine))\n                    return;\n                  if (isIgnoredFileFromWildCardWatching({\n                    watchedDirPath: toPath3(directory),\n                    fileOrDirectory,\n                    fileOrDirectoryPath,\n                    configFileName: configFileName2,\n                    options: config.parsedCommandLine.options,\n                    program: config.parsedCommandLine.fileNames,\n                    currentDirectory,\n                    useCaseSensitiveFileNames,\n                    writeLog,\n                    toPath: toPath3\n                  }))\n                    return;\n                  if (config.reloadLevel !== 2) {\n                    config.reloadLevel = 1;\n                    scheduleProgramUpdate();\n                  }\n                },\n                flags,\n                ((_a32 = commandLine.parsedCommandLine) == null ? void 0 : _a32.watchOptions) || watchOptions,\n                WatchType.WildcardDirectoryOfReferencedProject\n              );\n            }\n          );\n        } else if (commandLine.watchedDirectories) {\n          clearMap(commandLine.watchedDirectories, closeFileWatcherOf);\n          commandLine.watchedDirectories = void 0;\n        }\n        updateExtendedConfigFilesWatches(\n          configPath,\n          (_d = commandLine.parsedCommandLine) == null ? void 0 : _d.options,\n          ((_e = commandLine.parsedCommandLine) == null ? void 0 : _e.watchOptions) || watchOptions,\n          WatchType.ExtendedConfigOfReferencedProject\n        );\n      }\n    }\n    var init_watchPublic = __esm({\n      \"src/compiler/watchPublic.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n      }\n    });\n    function resolveConfigFileProjectName(project) {\n      if (fileExtensionIs(\n        project,\n        \".json\"\n        /* Json */\n      )) {\n        return project;\n      }\n      return combinePaths(project, \"tsconfig.json\");\n    }\n    var UpToDateStatusType;\n    var init_tsbuild = __esm({\n      \"src/compiler/tsbuild.ts\"() {\n        \"use strict\";\n        init_ts2();\n        UpToDateStatusType = /* @__PURE__ */ ((UpToDateStatusType2) => {\n          UpToDateStatusType2[UpToDateStatusType2[\"Unbuildable\"] = 0] = \"Unbuildable\";\n          UpToDateStatusType2[UpToDateStatusType2[\"UpToDate\"] = 1] = \"UpToDate\";\n          UpToDateStatusType2[UpToDateStatusType2[\"UpToDateWithUpstreamTypes\"] = 2] = \"UpToDateWithUpstreamTypes\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateWithPrepend\"] = 3] = \"OutOfDateWithPrepend\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutputMissing\"] = 4] = \"OutputMissing\";\n          UpToDateStatusType2[UpToDateStatusType2[\"ErrorReadingFile\"] = 5] = \"ErrorReadingFile\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateWithSelf\"] = 6] = \"OutOfDateWithSelf\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateWithUpstream\"] = 7] = \"OutOfDateWithUpstream\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateBuildInfo\"] = 8] = \"OutOfDateBuildInfo\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateOptions\"] = 9] = \"OutOfDateOptions\";\n          UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateRoots\"] = 10] = \"OutOfDateRoots\";\n          UpToDateStatusType2[UpToDateStatusType2[\"UpstreamOutOfDate\"] = 11] = \"UpstreamOutOfDate\";\n          UpToDateStatusType2[UpToDateStatusType2[\"UpstreamBlocked\"] = 12] = \"UpstreamBlocked\";\n          UpToDateStatusType2[UpToDateStatusType2[\"ComputingUpstream\"] = 13] = \"ComputingUpstream\";\n          UpToDateStatusType2[UpToDateStatusType2[\"TsVersionOutputOfDate\"] = 14] = \"TsVersionOutputOfDate\";\n          UpToDateStatusType2[UpToDateStatusType2[\"UpToDateWithInputFileText\"] = 15] = \"UpToDateWithInputFileText\";\n          UpToDateStatusType2[UpToDateStatusType2[\"ContainerOnly\"] = 16] = \"ContainerOnly\";\n          UpToDateStatusType2[UpToDateStatusType2[\"ForceBuild\"] = 17] = \"ForceBuild\";\n          return UpToDateStatusType2;\n        })(UpToDateStatusType || {});\n      }\n    });\n    function getOrCreateValueFromConfigFileMap(configFileMap, resolved, createT) {\n      const existingValue = configFileMap.get(resolved);\n      let newValue;\n      if (!existingValue) {\n        newValue = createT();\n        configFileMap.set(resolved, newValue);\n      }\n      return existingValue || newValue;\n    }\n    function getOrCreateValueMapFromConfigFileMap(configFileMap, resolved) {\n      return getOrCreateValueFromConfigFileMap(configFileMap, resolved, () => /* @__PURE__ */ new Map());\n    }\n    function getCurrentTime(host) {\n      return host.now ? host.now() : /* @__PURE__ */ new Date();\n    }\n    function isCircularBuildOrder(buildOrder) {\n      return !!buildOrder && !!buildOrder.buildOrder;\n    }\n    function getBuildOrderFromAnyBuildOrder(anyBuildOrder) {\n      return isCircularBuildOrder(anyBuildOrder) ? anyBuildOrder.buildOrder : anyBuildOrder;\n    }\n    function createBuilderStatusReporter(system, pretty) {\n      return (diagnostic) => {\n        let output = pretty ? `[${formatColorAndReset(\n          getLocaleTimeString(system),\n          \"\\x1B[90m\"\n          /* Grey */\n        )}] ` : `${getLocaleTimeString(system)} - `;\n        output += `${flattenDiagnosticMessageText2(diagnostic.messageText, system.newLine)}${system.newLine + system.newLine}`;\n        system.write(output);\n      };\n    }\n    function createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus) {\n      const host = createProgramHost(system, createProgram2);\n      host.getModifiedTime = system.getModifiedTime ? (path) => system.getModifiedTime(path) : returnUndefined;\n      host.setModifiedTime = system.setModifiedTime ? (path, date) => system.setModifiedTime(path, date) : noop;\n      host.deleteFile = system.deleteFile ? (path) => system.deleteFile(path) : noop;\n      host.reportDiagnostic = reportDiagnostic || createDiagnosticReporter(system);\n      host.reportSolutionBuilderStatus = reportSolutionBuilderStatus || createBuilderStatusReporter(system);\n      host.now = maybeBind(system, system.now);\n      return host;\n    }\n    function createSolutionBuilderHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) {\n      const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus);\n      host.reportErrorSummary = reportErrorSummary2;\n      return host;\n    }\n    function createSolutionBuilderWithWatchHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) {\n      const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus);\n      const watchHost = createWatchHost(system, reportWatchStatus2);\n      copyProperties(host, watchHost);\n      return host;\n    }\n    function getCompilerOptionsOfBuildOptions(buildOptions) {\n      const result = {};\n      commonOptionsWithBuild.forEach((option) => {\n        if (hasProperty(buildOptions, option.name))\n          result[option.name] = buildOptions[option.name];\n      });\n      return result;\n    }\n    function createSolutionBuilder(host, rootNames, defaultOptions) {\n      return createSolutionBuilderWorker(\n        /*watch*/\n        false,\n        host,\n        rootNames,\n        defaultOptions\n      );\n    }\n    function createSolutionBuilderWithWatch(host, rootNames, defaultOptions, baseWatchOptions) {\n      return createSolutionBuilderWorker(\n        /*watch*/\n        true,\n        host,\n        rootNames,\n        defaultOptions,\n        baseWatchOptions\n      );\n    }\n    function createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) {\n      const host = hostOrHostWithWatch;\n      const hostWithWatch = hostOrHostWithWatch;\n      const baseCompilerOptions = getCompilerOptionsOfBuildOptions(options);\n      const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions);\n      setGetSourceFileAsHashVersioned(compilerHost);\n      compilerHost.getParsedCommandLine = (fileName) => parseConfigFile(state, fileName, toResolvedConfigFilePath(state, fileName));\n      compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals);\n      compilerHost.resolveTypeReferenceDirectiveReferences = maybeBind(host, host.resolveTypeReferenceDirectiveReferences);\n      compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames);\n      compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives);\n      compilerHost.getModuleResolutionCache = maybeBind(host, host.getModuleResolutionCache);\n      let moduleResolutionCache, typeReferenceDirectiveResolutionCache;\n      if (!compilerHost.resolveModuleNameLiterals && !compilerHost.resolveModuleNames) {\n        moduleResolutionCache = createModuleResolutionCache(compilerHost.getCurrentDirectory(), compilerHost.getCanonicalFileName);\n        compilerHost.resolveModuleNameLiterals = (moduleNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache(\n          moduleNames,\n          containingFile,\n          redirectedReference,\n          options2,\n          containingSourceFile,\n          host,\n          moduleResolutionCache,\n          createModuleResolutionLoader\n        );\n        compilerHost.getModuleResolutionCache = () => moduleResolutionCache;\n      }\n      if (!compilerHost.resolveTypeReferenceDirectiveReferences && !compilerHost.resolveTypeReferenceDirectives) {\n        typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache(\n          compilerHost.getCurrentDirectory(),\n          compilerHost.getCanonicalFileName,\n          /*options*/\n          void 0,\n          moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache()\n        );\n        compilerHost.resolveTypeReferenceDirectiveReferences = (typeDirectiveNames, containingFile, redirectedReference, options2, containingSourceFile) => loadWithModeAwareCache(\n          typeDirectiveNames,\n          containingFile,\n          redirectedReference,\n          options2,\n          containingSourceFile,\n          host,\n          typeReferenceDirectiveResolutionCache,\n          createTypeReferenceResolutionLoader\n        );\n      }\n      compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo3(\n        state,\n        fileName,\n        toResolvedConfigFilePath(state, configFilePath),\n        /*modifiedTime*/\n        void 0\n      );\n      const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options);\n      const state = {\n        host,\n        hostWithWatch,\n        parseConfigFileHost: parseConfigHostFromCompilerHostLike(host),\n        write: maybeBind(host, host.trace),\n        // State of solution\n        options,\n        baseCompilerOptions,\n        rootNames,\n        baseWatchOptions,\n        resolvedConfigFilePaths: /* @__PURE__ */ new Map(),\n        configFileCache: /* @__PURE__ */ new Map(),\n        projectStatus: /* @__PURE__ */ new Map(),\n        extendedConfigCache: /* @__PURE__ */ new Map(),\n        buildInfoCache: /* @__PURE__ */ new Map(),\n        outputTimeStamps: /* @__PURE__ */ new Map(),\n        builderPrograms: /* @__PURE__ */ new Map(),\n        diagnostics: /* @__PURE__ */ new Map(),\n        projectPendingBuild: /* @__PURE__ */ new Map(),\n        projectErrorsReported: /* @__PURE__ */ new Map(),\n        compilerHost,\n        moduleResolutionCache,\n        typeReferenceDirectiveResolutionCache,\n        // Mutable state\n        buildOrder: void 0,\n        readFileWithCache: (f) => host.readFile(f),\n        projectCompilerOptions: baseCompilerOptions,\n        cache: void 0,\n        allProjectBuildPending: true,\n        needsSummary: true,\n        watchAllProjectsPending: watch,\n        // Watch state\n        watch,\n        allWatchedWildcardDirectories: /* @__PURE__ */ new Map(),\n        allWatchedInputFiles: /* @__PURE__ */ new Map(),\n        allWatchedConfigFiles: /* @__PURE__ */ new Map(),\n        allWatchedExtendedConfigFiles: /* @__PURE__ */ new Map(),\n        allWatchedPackageJsonFiles: /* @__PURE__ */ new Map(),\n        filesWatched: /* @__PURE__ */ new Map(),\n        lastCachedPackageJsonLookups: /* @__PURE__ */ new Map(),\n        timerToBuildInvalidatedProject: void 0,\n        reportFileChangeDetected: false,\n        watchFile: watchFile2,\n        watchDirectory,\n        writeLog\n      };\n      return state;\n    }\n    function toPath2(state, fileName) {\n      return toPath(fileName, state.compilerHost.getCurrentDirectory(), state.compilerHost.getCanonicalFileName);\n    }\n    function toResolvedConfigFilePath(state, fileName) {\n      const { resolvedConfigFilePaths } = state;\n      const path = resolvedConfigFilePaths.get(fileName);\n      if (path !== void 0)\n        return path;\n      const resolvedPath = toPath2(state, fileName);\n      resolvedConfigFilePaths.set(fileName, resolvedPath);\n      return resolvedPath;\n    }\n    function isParsedCommandLine(entry) {\n      return !!entry.options;\n    }\n    function getCachedParsedConfigFile(state, configFilePath) {\n      const value = state.configFileCache.get(configFilePath);\n      return value && isParsedCommandLine(value) ? value : void 0;\n    }\n    function parseConfigFile(state, configFileName, configFilePath) {\n      const { configFileCache } = state;\n      const value = configFileCache.get(configFilePath);\n      if (value) {\n        return isParsedCommandLine(value) ? value : void 0;\n      }\n      mark(\"SolutionBuilder::beforeConfigFileParsing\");\n      let diagnostic;\n      const { parseConfigFileHost, baseCompilerOptions, baseWatchOptions, extendedConfigCache, host } = state;\n      let parsed;\n      if (host.getParsedCommandLine) {\n        parsed = host.getParsedCommandLine(configFileName);\n        if (!parsed)\n          diagnostic = createCompilerDiagnostic(Diagnostics.File_0_not_found, configFileName);\n      } else {\n        parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = (d) => diagnostic = d;\n        parsed = getParsedCommandLineOfConfigFile(configFileName, baseCompilerOptions, parseConfigFileHost, extendedConfigCache, baseWatchOptions);\n        parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop;\n      }\n      configFileCache.set(configFilePath, parsed || diagnostic);\n      mark(\"SolutionBuilder::afterConfigFileParsing\");\n      measure(\"SolutionBuilder::Config file parsing\", \"SolutionBuilder::beforeConfigFileParsing\", \"SolutionBuilder::afterConfigFileParsing\");\n      return parsed;\n    }\n    function resolveProjectName(state, name) {\n      return resolveConfigFileProjectName(resolvePath(state.compilerHost.getCurrentDirectory(), name));\n    }\n    function createBuildOrder(state, roots) {\n      const temporaryMarks = /* @__PURE__ */ new Map();\n      const permanentMarks = /* @__PURE__ */ new Map();\n      const circularityReportStack = [];\n      let buildOrder;\n      let circularDiagnostics;\n      for (const root of roots) {\n        visit(root);\n      }\n      return circularDiagnostics ? { buildOrder: buildOrder || emptyArray, circularDiagnostics } : buildOrder || emptyArray;\n      function visit(configFileName, inCircularContext) {\n        const projPath = toResolvedConfigFilePath(state, configFileName);\n        if (permanentMarks.has(projPath))\n          return;\n        if (temporaryMarks.has(projPath)) {\n          if (!inCircularContext) {\n            (circularDiagnostics || (circularDiagnostics = [])).push(\n              createCompilerDiagnostic(\n                Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,\n                circularityReportStack.join(\"\\r\\n\")\n              )\n            );\n          }\n          return;\n        }\n        temporaryMarks.set(projPath, true);\n        circularityReportStack.push(configFileName);\n        const parsed = parseConfigFile(state, configFileName, projPath);\n        if (parsed && parsed.projectReferences) {\n          for (const ref of parsed.projectReferences) {\n            const resolvedRefPath = resolveProjectName(state, ref.path);\n            visit(resolvedRefPath, inCircularContext || ref.circular);\n          }\n        }\n        circularityReportStack.pop();\n        permanentMarks.set(projPath, true);\n        (buildOrder || (buildOrder = [])).push(configFileName);\n      }\n    }\n    function getBuildOrder(state) {\n      return state.buildOrder || createStateBuildOrder(state);\n    }\n    function createStateBuildOrder(state) {\n      const buildOrder = createBuildOrder(state, state.rootNames.map((f) => resolveProjectName(state, f)));\n      state.resolvedConfigFilePaths.clear();\n      const currentProjects = new Map(\n        getBuildOrderFromAnyBuildOrder(buildOrder).map(\n          (resolved) => [toResolvedConfigFilePath(state, resolved), true]\n        )\n      );\n      const noopOnDelete = { onDeleteValue: noop };\n      mutateMapSkippingNewValues(state.configFileCache, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.projectStatus, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.builderPrograms, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.diagnostics, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.projectErrorsReported, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.buildInfoCache, currentProjects, noopOnDelete);\n      mutateMapSkippingNewValues(state.outputTimeStamps, currentProjects, noopOnDelete);\n      if (state.watch) {\n        mutateMapSkippingNewValues(\n          state.allWatchedConfigFiles,\n          currentProjects,\n          { onDeleteValue: closeFileWatcher }\n        );\n        state.allWatchedExtendedConfigFiles.forEach((watcher) => {\n          watcher.projects.forEach((project) => {\n            if (!currentProjects.has(project)) {\n              watcher.projects.delete(project);\n            }\n          });\n          watcher.close();\n        });\n        mutateMapSkippingNewValues(\n          state.allWatchedWildcardDirectories,\n          currentProjects,\n          { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcherOf) }\n        );\n        mutateMapSkippingNewValues(\n          state.allWatchedInputFiles,\n          currentProjects,\n          { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) }\n        );\n        mutateMapSkippingNewValues(\n          state.allWatchedPackageJsonFiles,\n          currentProjects,\n          { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) }\n        );\n      }\n      return state.buildOrder = buildOrder;\n    }\n    function getBuildOrderFor(state, project, onlyReferences) {\n      const resolvedProject = project && resolveProjectName(state, project);\n      const buildOrderFromState = getBuildOrder(state);\n      if (isCircularBuildOrder(buildOrderFromState))\n        return buildOrderFromState;\n      if (resolvedProject) {\n        const projectPath = toResolvedConfigFilePath(state, resolvedProject);\n        const projectIndex = findIndex(\n          buildOrderFromState,\n          (configFileName) => toResolvedConfigFilePath(state, configFileName) === projectPath\n        );\n        if (projectIndex === -1)\n          return void 0;\n      }\n      const buildOrder = resolvedProject ? createBuildOrder(state, [resolvedProject]) : buildOrderFromState;\n      Debug2.assert(!isCircularBuildOrder(buildOrder));\n      Debug2.assert(!onlyReferences || resolvedProject !== void 0);\n      Debug2.assert(!onlyReferences || buildOrder[buildOrder.length - 1] === resolvedProject);\n      return onlyReferences ? buildOrder.slice(0, buildOrder.length - 1) : buildOrder;\n    }\n    function enableCache(state) {\n      if (state.cache) {\n        disableCache(state);\n      }\n      const { compilerHost, host } = state;\n      const originalReadFileWithCache = state.readFileWithCache;\n      const originalGetSourceFile = compilerHost.getSourceFile;\n      const {\n        originalReadFile,\n        originalFileExists,\n        originalDirectoryExists,\n        originalCreateDirectory,\n        originalWriteFile,\n        getSourceFileWithCache,\n        readFileWithCache\n      } = changeCompilerHostLikeToUseCache(\n        host,\n        (fileName) => toPath2(state, fileName),\n        (...args) => originalGetSourceFile.call(compilerHost, ...args)\n      );\n      state.readFileWithCache = readFileWithCache;\n      compilerHost.getSourceFile = getSourceFileWithCache;\n      state.cache = {\n        originalReadFile,\n        originalFileExists,\n        originalDirectoryExists,\n        originalCreateDirectory,\n        originalWriteFile,\n        originalReadFileWithCache,\n        originalGetSourceFile\n      };\n    }\n    function disableCache(state) {\n      if (!state.cache)\n        return;\n      const { cache, host, compilerHost, extendedConfigCache, moduleResolutionCache, typeReferenceDirectiveResolutionCache } = state;\n      host.readFile = cache.originalReadFile;\n      host.fileExists = cache.originalFileExists;\n      host.directoryExists = cache.originalDirectoryExists;\n      host.createDirectory = cache.originalCreateDirectory;\n      host.writeFile = cache.originalWriteFile;\n      compilerHost.getSourceFile = cache.originalGetSourceFile;\n      state.readFileWithCache = cache.originalReadFileWithCache;\n      extendedConfigCache.clear();\n      moduleResolutionCache == null ? void 0 : moduleResolutionCache.clear();\n      typeReferenceDirectiveResolutionCache == null ? void 0 : typeReferenceDirectiveResolutionCache.clear();\n      state.cache = void 0;\n    }\n    function clearProjectStatus(state, resolved) {\n      state.projectStatus.delete(resolved);\n      state.diagnostics.delete(resolved);\n    }\n    function addProjToQueue({ projectPendingBuild }, proj, reloadLevel) {\n      const value = projectPendingBuild.get(proj);\n      if (value === void 0) {\n        projectPendingBuild.set(proj, reloadLevel);\n      } else if (value < reloadLevel) {\n        projectPendingBuild.set(proj, reloadLevel);\n      }\n    }\n    function setupInitialBuild(state, cancellationToken) {\n      if (!state.allProjectBuildPending)\n        return;\n      state.allProjectBuildPending = false;\n      if (state.options.watch)\n        reportWatchStatus(state, Diagnostics.Starting_compilation_in_watch_mode);\n      enableCache(state);\n      const buildOrder = getBuildOrderFromAnyBuildOrder(getBuildOrder(state));\n      buildOrder.forEach(\n        (configFileName) => state.projectPendingBuild.set(\n          toResolvedConfigFilePath(state, configFileName),\n          0\n          /* None */\n        )\n      );\n      if (cancellationToken) {\n        cancellationToken.throwIfCancellationRequested();\n      }\n    }\n    function doneInvalidatedProject(state, projectPath) {\n      state.projectPendingBuild.delete(projectPath);\n      return state.diagnostics.has(projectPath) ? 1 : 0;\n    }\n    function createUpdateOutputFileStampsProject(state, project, projectPath, config, buildOrder) {\n      let updateOutputFileStampsPending = true;\n      return {\n        kind: 2,\n        project,\n        projectPath,\n        buildOrder,\n        getCompilerOptions: () => config.options,\n        getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(),\n        updateOutputFileStatmps: () => {\n          updateOutputTimestamps(state, config, projectPath);\n          updateOutputFileStampsPending = false;\n        },\n        done: () => {\n          if (updateOutputFileStampsPending) {\n            updateOutputTimestamps(state, config, projectPath);\n          }\n          mark(\"SolutionBuilder::Timestamps only updates\");\n          return doneInvalidatedProject(state, projectPath);\n        }\n      };\n    }\n    function createBuildOrUpdateInvalidedProject(kind, state, project, projectPath, projectIndex, config, buildOrder) {\n      let step = kind === 0 ? 0 : 4;\n      let program;\n      let buildResult;\n      let invalidatedProjectOfBundle;\n      return kind === 0 ? {\n        kind,\n        project,\n        projectPath,\n        buildOrder,\n        getCompilerOptions: () => config.options,\n        getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(),\n        getBuilderProgram: () => withProgramOrUndefined(identity2),\n        getProgram: () => withProgramOrUndefined(\n          (program2) => program2.getProgramOrUndefined()\n        ),\n        getSourceFile: (fileName) => withProgramOrUndefined(\n          (program2) => program2.getSourceFile(fileName)\n        ),\n        getSourceFiles: () => withProgramOrEmptyArray(\n          (program2) => program2.getSourceFiles()\n        ),\n        getOptionsDiagnostics: (cancellationToken) => withProgramOrEmptyArray(\n          (program2) => program2.getOptionsDiagnostics(cancellationToken)\n        ),\n        getGlobalDiagnostics: (cancellationToken) => withProgramOrEmptyArray(\n          (program2) => program2.getGlobalDiagnostics(cancellationToken)\n        ),\n        getConfigFileParsingDiagnostics: () => withProgramOrEmptyArray(\n          (program2) => program2.getConfigFileParsingDiagnostics()\n        ),\n        getSyntacticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray(\n          (program2) => program2.getSyntacticDiagnostics(sourceFile, cancellationToken)\n        ),\n        getAllDependencies: (sourceFile) => withProgramOrEmptyArray(\n          (program2) => program2.getAllDependencies(sourceFile)\n        ),\n        getSemanticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray(\n          (program2) => program2.getSemanticDiagnostics(sourceFile, cancellationToken)\n        ),\n        getSemanticDiagnosticsOfNextAffectedFile: (cancellationToken, ignoreSourceFile) => withProgramOrUndefined(\n          (program2) => program2.getSemanticDiagnosticsOfNextAffectedFile && program2.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile)\n        ),\n        emit: (targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) => {\n          if (targetSourceFile || emitOnlyDtsFiles) {\n            return withProgramOrUndefined(\n              (program2) => {\n                var _a22, _b3;\n                return program2.emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b3 = (_a22 = state.host).getCustomTransformers) == null ? void 0 : _b3.call(_a22, project)));\n              }\n            );\n          }\n          executeSteps(2, cancellationToken);\n          if (step === 5) {\n            return emitBuildInfo(writeFile2, cancellationToken);\n          }\n          if (step !== 3)\n            return void 0;\n          return emit(writeFile2, cancellationToken, customTransformers);\n        },\n        done\n      } : {\n        kind,\n        project,\n        projectPath,\n        buildOrder,\n        getCompilerOptions: () => config.options,\n        getCurrentDirectory: () => state.compilerHost.getCurrentDirectory(),\n        emit: (writeFile2, customTransformers) => {\n          if (step !== 4)\n            return invalidatedProjectOfBundle;\n          return emitBundle(writeFile2, customTransformers);\n        },\n        done\n      };\n      function done(cancellationToken, writeFile2, customTransformers) {\n        executeSteps(8, cancellationToken, writeFile2, customTransformers);\n        if (kind === 0)\n          mark(\"SolutionBuilder::Projects built\");\n        else\n          mark(\"SolutionBuilder::Bundles updated\");\n        return doneInvalidatedProject(state, projectPath);\n      }\n      function withProgramOrUndefined(action) {\n        executeSteps(\n          0\n          /* CreateProgram */\n        );\n        return program && action(program);\n      }\n      function withProgramOrEmptyArray(action) {\n        return withProgramOrUndefined(action) || emptyArray;\n      }\n      function createProgram2() {\n        var _a22, _b3;\n        Debug2.assert(program === void 0);\n        if (state.options.dry) {\n          reportStatus(state, Diagnostics.A_non_dry_build_would_build_project_0, project);\n          buildResult = 1;\n          step = 7;\n          return;\n        }\n        if (state.options.verbose)\n          reportStatus(state, Diagnostics.Building_project_0, project);\n        if (config.fileNames.length === 0) {\n          reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n          buildResult = 0;\n          step = 7;\n          return;\n        }\n        const { host, compilerHost } = state;\n        state.projectCompilerOptions = config.options;\n        (_a22 = state.moduleResolutionCache) == null ? void 0 : _a22.update(config.options);\n        (_b3 = state.typeReferenceDirectiveResolutionCache) == null ? void 0 : _b3.update(config.options);\n        program = host.createProgram(\n          config.fileNames,\n          config.options,\n          compilerHost,\n          getOldProgram(state, projectPath, config),\n          getConfigFileParsingDiagnostics(config),\n          config.projectReferences\n        );\n        if (state.watch) {\n          state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && map(\n            state.moduleResolutionCache.getPackageJsonInfoCache().entries(),\n            ([path, data]) => [state.host.realpath && data ? toPath2(state, state.host.realpath(path)) : path, data]\n          ));\n          state.builderPrograms.set(projectPath, program);\n        }\n        step++;\n      }\n      function handleDiagnostics(diagnostics, errorFlags, errorType) {\n        if (diagnostics.length) {\n          ({ buildResult, step } = buildErrors(\n            state,\n            projectPath,\n            program,\n            config,\n            diagnostics,\n            errorFlags,\n            errorType\n          ));\n        } else {\n          step++;\n        }\n      }\n      function getSyntaxDiagnostics(cancellationToken) {\n        Debug2.assertIsDefined(program);\n        handleDiagnostics(\n          [\n            ...program.getConfigFileParsingDiagnostics(),\n            ...program.getOptionsDiagnostics(cancellationToken),\n            ...program.getGlobalDiagnostics(cancellationToken),\n            ...program.getSyntacticDiagnostics(\n              /*sourceFile*/\n              void 0,\n              cancellationToken\n            )\n          ],\n          8,\n          \"Syntactic\"\n        );\n      }\n      function getSemanticDiagnostics(cancellationToken) {\n        handleDiagnostics(\n          Debug2.checkDefined(program).getSemanticDiagnostics(\n            /*sourceFile*/\n            void 0,\n            cancellationToken\n          ),\n          16,\n          \"Semantic\"\n        );\n      }\n      function emit(writeFileCallback, cancellationToken, customTransformers) {\n        var _a22, _b3, _c;\n        Debug2.assertIsDefined(program);\n        Debug2.assert(\n          step === 3\n          /* Emit */\n        );\n        const saved = program.saveEmitState();\n        let declDiagnostics;\n        const reportDeclarationDiagnostics = (d) => (declDiagnostics || (declDiagnostics = [])).push(d);\n        const outputFiles = [];\n        const { emitResult } = emitFilesAndReportErrors(\n          program,\n          reportDeclarationDiagnostics,\n          /*write*/\n          void 0,\n          /*reportSummary*/\n          void 0,\n          (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => outputFiles.push({ name, text, writeByteOrderMark, data }),\n          cancellationToken,\n          /*emitOnlyDts*/\n          false,\n          customTransformers || ((_b3 = (_a22 = state.host).getCustomTransformers) == null ? void 0 : _b3.call(_a22, project))\n        );\n        if (declDiagnostics) {\n          program.restoreEmitState(saved);\n          ({ buildResult, step } = buildErrors(\n            state,\n            projectPath,\n            program,\n            config,\n            declDiagnostics,\n            32,\n            \"Declaration file\"\n          ));\n          return {\n            emitSkipped: true,\n            diagnostics: emitResult.diagnostics\n          };\n        }\n        const { host, compilerHost } = state;\n        const resultFlags = ((_c = program.hasChangedEmitSignature) == null ? void 0 : _c.call(program)) ? 0 : 2;\n        const emitterDiagnostics = createDiagnosticCollection();\n        const emittedOutputs = /* @__PURE__ */ new Map();\n        const options = program.getCompilerOptions();\n        const isIncremental = isIncrementalCompilation(options);\n        let outputTimeStampMap;\n        let now;\n        outputFiles.forEach(({ name, text, writeByteOrderMark, data }) => {\n          const path = toPath2(state, name);\n          emittedOutputs.set(toPath2(state, name), name);\n          if (data == null ? void 0 : data.buildInfo)\n            setBuildInfo(state, data.buildInfo, projectPath, options, resultFlags);\n          const modifiedTime = (data == null ? void 0 : data.differsOnlyInMap) ? getModifiedTime(state.host, name) : void 0;\n          writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark);\n          if (data == null ? void 0 : data.differsOnlyInMap)\n            state.host.setModifiedTime(name, modifiedTime);\n          else if (!isIncremental && state.watch) {\n            (outputTimeStampMap || (outputTimeStampMap = getOutputTimeStampMap(state, projectPath))).set(path, now || (now = getCurrentTime(state.host)));\n          }\n        });\n        finishEmit(\n          emitterDiagnostics,\n          emittedOutputs,\n          outputFiles.length ? outputFiles[0].name : getFirstProjectOutput(config, !host.useCaseSensitiveFileNames()),\n          resultFlags\n        );\n        return emitResult;\n      }\n      function emitBuildInfo(writeFileCallback, cancellationToken) {\n        Debug2.assertIsDefined(program);\n        Debug2.assert(\n          step === 5\n          /* EmitBuildInfo */\n        );\n        const emitResult = program.emitBuildInfo((name, text, writeByteOrderMark, onError, sourceFiles, data) => {\n          if (data == null ? void 0 : data.buildInfo)\n            setBuildInfo(\n              state,\n              data.buildInfo,\n              projectPath,\n              program.getCompilerOptions(),\n              2\n              /* DeclarationOutputUnchanged */\n            );\n          if (writeFileCallback)\n            writeFileCallback(name, text, writeByteOrderMark, onError, sourceFiles, data);\n          else\n            state.compilerHost.writeFile(name, text, writeByteOrderMark, onError, sourceFiles, data);\n        }, cancellationToken);\n        if (emitResult.diagnostics.length) {\n          reportErrors(state, emitResult.diagnostics);\n          state.diagnostics.set(projectPath, [...state.diagnostics.get(projectPath), ...emitResult.diagnostics]);\n          buildResult = 64 & buildResult;\n        }\n        if (emitResult.emittedFiles && state.write) {\n          emitResult.emittedFiles.forEach((name) => listEmittedFile(state, config, name));\n        }\n        afterProgramDone(state, program, config);\n        step = 7;\n        return emitResult;\n      }\n      function finishEmit(emitterDiagnostics, emittedOutputs, oldestOutputFileName, resultFlags) {\n        const emitDiagnostics = emitterDiagnostics.getDiagnostics();\n        if (emitDiagnostics.length) {\n          ({ buildResult, step } = buildErrors(\n            state,\n            projectPath,\n            program,\n            config,\n            emitDiagnostics,\n            64,\n            \"Emit\"\n          ));\n          return emitDiagnostics;\n        }\n        if (state.write) {\n          emittedOutputs.forEach((name) => listEmittedFile(state, config, name));\n        }\n        updateOutputTimestampsWorker(state, config, projectPath, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs);\n        state.diagnostics.delete(projectPath);\n        state.projectStatus.set(projectPath, {\n          type: 1,\n          oldestOutputFileName\n        });\n        afterProgramDone(state, program, config);\n        step = 7;\n        buildResult = resultFlags;\n        return emitDiagnostics;\n      }\n      function emitBundle(writeFileCallback, customTransformers) {\n        var _a22, _b3, _c, _d;\n        Debug2.assert(\n          kind === 1\n          /* UpdateBundle */\n        );\n        if (state.options.dry) {\n          reportStatus(state, Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);\n          buildResult = 1;\n          step = 7;\n          return void 0;\n        }\n        if (state.options.verbose)\n          reportStatus(state, Diagnostics.Updating_output_of_project_0, project);\n        const { compilerHost } = state;\n        state.projectCompilerOptions = config.options;\n        (_b3 = (_a22 = state.host).beforeEmitBundle) == null ? void 0 : _b3.call(_a22, config);\n        const outputFiles = emitUsingBuildInfo(\n          config,\n          compilerHost,\n          (ref) => {\n            const refName = resolveProjectName(state, ref.path);\n            return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));\n          },\n          customTransformers || ((_d = (_c = state.host).getCustomTransformers) == null ? void 0 : _d.call(_c, project))\n        );\n        if (isString2(outputFiles)) {\n          reportStatus(state, Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));\n          step = 6;\n          return invalidatedProjectOfBundle = createBuildOrUpdateInvalidedProject(\n            0,\n            state,\n            project,\n            projectPath,\n            projectIndex,\n            config,\n            buildOrder\n          );\n        }\n        Debug2.assert(!!outputFiles.length);\n        const emitterDiagnostics = createDiagnosticCollection();\n        const emittedOutputs = /* @__PURE__ */ new Map();\n        let resultFlags = 2;\n        const existingBuildInfo = state.buildInfoCache.get(projectPath).buildInfo || void 0;\n        outputFiles.forEach(({ name, text, writeByteOrderMark, data }) => {\n          var _a32, _b22;\n          emittedOutputs.set(toPath2(state, name), name);\n          if (data == null ? void 0 : data.buildInfo) {\n            if (((_a32 = data.buildInfo.program) == null ? void 0 : _a32.outSignature) !== ((_b22 = existingBuildInfo == null ? void 0 : existingBuildInfo.program) == null ? void 0 : _b22.outSignature)) {\n              resultFlags &= ~2;\n            }\n            setBuildInfo(state, data.buildInfo, projectPath, config.options, resultFlags);\n          }\n          writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark);\n        });\n        const emitDiagnostics = finishEmit(\n          emitterDiagnostics,\n          emittedOutputs,\n          outputFiles[0].name,\n          resultFlags\n        );\n        return { emitSkipped: false, diagnostics: emitDiagnostics };\n      }\n      function executeSteps(till, cancellationToken, writeFile2, customTransformers) {\n        while (step <= till && step < 8) {\n          const currentStep = step;\n          switch (step) {\n            case 0:\n              createProgram2();\n              break;\n            case 1:\n              getSyntaxDiagnostics(cancellationToken);\n              break;\n            case 2:\n              getSemanticDiagnostics(cancellationToken);\n              break;\n            case 3:\n              emit(writeFile2, cancellationToken, customTransformers);\n              break;\n            case 5:\n              emitBuildInfo(writeFile2, cancellationToken);\n              break;\n            case 4:\n              emitBundle(writeFile2, customTransformers);\n              break;\n            case 6:\n              Debug2.checkDefined(invalidatedProjectOfBundle).done(cancellationToken, writeFile2, customTransformers);\n              step = 8;\n              break;\n            case 7:\n              queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug2.checkDefined(buildResult));\n              step++;\n              break;\n            case 8:\n            default:\n              assertType(step);\n          }\n          Debug2.assert(step > currentStep);\n        }\n      }\n    }\n    function needsBuild({ options }, status, config) {\n      if (status.type !== 3 || options.force)\n        return true;\n      return config.fileNames.length === 0 || !!getConfigFileParsingDiagnostics(config).length || !isIncrementalCompilation(config.options);\n    }\n    function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {\n      if (!state.projectPendingBuild.size)\n        return void 0;\n      if (isCircularBuildOrder(buildOrder))\n        return void 0;\n      const { options, projectPendingBuild } = state;\n      for (let projectIndex = 0; projectIndex < buildOrder.length; projectIndex++) {\n        const project = buildOrder[projectIndex];\n        const projectPath = toResolvedConfigFilePath(state, project);\n        const reloadLevel = state.projectPendingBuild.get(projectPath);\n        if (reloadLevel === void 0)\n          continue;\n        if (reportQueue) {\n          reportQueue = false;\n          reportBuildQueue(state, buildOrder);\n        }\n        const config = parseConfigFile(state, project, projectPath);\n        if (!config) {\n          reportParseConfigFileDiagnostic(state, projectPath);\n          projectPendingBuild.delete(projectPath);\n          continue;\n        }\n        if (reloadLevel === 2) {\n          watchConfigFile(state, project, projectPath, config);\n          watchExtendedConfigFiles(state, projectPath, config);\n          watchWildCardDirectories(state, project, projectPath, config);\n          watchInputFiles(state, project, projectPath, config);\n          watchPackageJsonFiles(state, project, projectPath, config);\n        } else if (reloadLevel === 1) {\n          config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile.configFileSpecs, getDirectoryPath(project), config.options, state.parseConfigFileHost);\n          updateErrorForNoInputFiles(config.fileNames, project, config.options.configFile.configFileSpecs, config.errors, canJsonReportNoInputFiles(config.raw));\n          watchInputFiles(state, project, projectPath, config);\n          watchPackageJsonFiles(state, project, projectPath, config);\n        }\n        const status = getUpToDateStatus(state, config, projectPath);\n        if (!options.force) {\n          if (status.type === 1) {\n            verboseReportProjectStatus(state, project, status);\n            reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n            projectPendingBuild.delete(projectPath);\n            if (options.dry) {\n              reportStatus(state, Diagnostics.Project_0_is_up_to_date, project);\n            }\n            continue;\n          }\n          if (status.type === 2 || status.type === 15) {\n            reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n            return {\n              kind: 2,\n              status,\n              project,\n              projectPath,\n              projectIndex,\n              config\n            };\n          }\n        }\n        if (status.type === 12) {\n          verboseReportProjectStatus(state, project, status);\n          reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n          projectPendingBuild.delete(projectPath);\n          if (options.verbose) {\n            reportStatus(\n              state,\n              status.upstreamProjectBlocked ? Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,\n              project,\n              status.upstreamProjectName\n            );\n          }\n          continue;\n        }\n        if (status.type === 16) {\n          verboseReportProjectStatus(state, project, status);\n          reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n          projectPendingBuild.delete(projectPath);\n          continue;\n        }\n        return {\n          kind: needsBuild(state, status, config) ? 0 : 1,\n          status,\n          project,\n          projectPath,\n          projectIndex,\n          config\n        };\n      }\n      return void 0;\n    }\n    function createInvalidatedProjectWithInfo(state, info, buildOrder) {\n      verboseReportProjectStatus(state, info.project, info.status);\n      return info.kind !== 2 ? createBuildOrUpdateInvalidedProject(\n        info.kind,\n        state,\n        info.project,\n        info.projectPath,\n        info.projectIndex,\n        info.config,\n        buildOrder\n      ) : createUpdateOutputFileStampsProject(\n        state,\n        info.project,\n        info.projectPath,\n        info.config,\n        buildOrder\n      );\n    }\n    function getNextInvalidatedProject(state, buildOrder, reportQueue) {\n      const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue);\n      if (!info)\n        return info;\n      return createInvalidatedProjectWithInfo(state, info, buildOrder);\n    }\n    function listEmittedFile({ write }, proj, file) {\n      if (write && proj.options.listEmittedFiles) {\n        write(`TSFILE: ${file}`);\n      }\n    }\n    function getOldProgram({ options, builderPrograms, compilerHost }, proj, parsed) {\n      if (options.force)\n        return void 0;\n      const value = builderPrograms.get(proj);\n      if (value)\n        return value;\n      return readBuilderProgram(parsed.options, compilerHost);\n    }\n    function afterProgramDone(state, program, config) {\n      if (program) {\n        if (state.write)\n          listFiles(program, state.write);\n        if (state.host.afterProgramEmitAndDiagnostics) {\n          state.host.afterProgramEmitAndDiagnostics(program);\n        }\n        program.releaseProgram();\n      } else if (state.host.afterEmitBundle) {\n        state.host.afterEmitBundle(config);\n      }\n      state.projectCompilerOptions = state.baseCompilerOptions;\n    }\n    function buildErrors(state, resolvedPath, program, config, diagnostics, buildResult, errorType) {\n      const canEmitBuildInfo = program && !outFile(program.getCompilerOptions());\n      reportAndStoreErrors(state, resolvedPath, diagnostics);\n      state.projectStatus.set(resolvedPath, { type: 0, reason: `${errorType} errors` });\n      if (canEmitBuildInfo)\n        return {\n          buildResult,\n          step: 5\n          /* EmitBuildInfo */\n        };\n      afterProgramDone(state, program, config);\n      return {\n        buildResult,\n        step: 7\n        /* QueueReferencingProjects */\n      };\n    }\n    function isFileWatcherWithModifiedTime(value) {\n      return !!value.watcher;\n    }\n    function getModifiedTime2(state, fileName) {\n      const path = toPath2(state, fileName);\n      const existing = state.filesWatched.get(path);\n      if (state.watch && !!existing) {\n        if (!isFileWatcherWithModifiedTime(existing))\n          return existing;\n        if (existing.modifiedTime)\n          return existing.modifiedTime;\n      }\n      const result = getModifiedTime(state.host, fileName);\n      if (state.watch) {\n        if (existing)\n          existing.modifiedTime = result;\n        else\n          state.filesWatched.set(path, result);\n      }\n      return result;\n    }\n    function watchFile(state, file, callback, pollingInterval, options, watchType, project) {\n      const path = toPath2(state, file);\n      const existing = state.filesWatched.get(path);\n      if (existing && isFileWatcherWithModifiedTime(existing)) {\n        existing.callbacks.push(callback);\n      } else {\n        const watcher = state.watchFile(\n          file,\n          (fileName, eventKind, modifiedTime) => {\n            const existing2 = Debug2.checkDefined(state.filesWatched.get(path));\n            Debug2.assert(isFileWatcherWithModifiedTime(existing2));\n            existing2.modifiedTime = modifiedTime;\n            existing2.callbacks.forEach((cb) => cb(fileName, eventKind, modifiedTime));\n          },\n          pollingInterval,\n          options,\n          watchType,\n          project\n        );\n        state.filesWatched.set(path, { callbacks: [callback], watcher, modifiedTime: existing });\n      }\n      return {\n        close: () => {\n          const existing2 = Debug2.checkDefined(state.filesWatched.get(path));\n          Debug2.assert(isFileWatcherWithModifiedTime(existing2));\n          if (existing2.callbacks.length === 1) {\n            state.filesWatched.delete(path);\n            closeFileWatcherOf(existing2);\n          } else {\n            unorderedRemoveItem(existing2.callbacks, callback);\n          }\n        }\n      };\n    }\n    function getOutputTimeStampMap(state, resolvedConfigFilePath) {\n      if (!state.watch)\n        return void 0;\n      let result = state.outputTimeStamps.get(resolvedConfigFilePath);\n      if (!result)\n        state.outputTimeStamps.set(resolvedConfigFilePath, result = /* @__PURE__ */ new Map());\n      return result;\n    }\n    function setBuildInfo(state, buildInfo, resolvedConfigPath, options, resultFlags) {\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);\n      const existing = getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath);\n      const modifiedTime = getCurrentTime(state.host);\n      if (existing) {\n        existing.buildInfo = buildInfo;\n        existing.modifiedTime = modifiedTime;\n        if (!(resultFlags & 2))\n          existing.latestChangedDtsTime = modifiedTime;\n      } else {\n        state.buildInfoCache.set(resolvedConfigPath, {\n          path: toPath2(state, buildInfoPath),\n          buildInfo,\n          modifiedTime,\n          latestChangedDtsTime: resultFlags & 2 ? void 0 : modifiedTime\n        });\n      }\n    }\n    function getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath) {\n      const path = toPath2(state, buildInfoPath);\n      const existing = state.buildInfoCache.get(resolvedConfigPath);\n      return (existing == null ? void 0 : existing.path) === path ? existing : void 0;\n    }\n    function getBuildInfo3(state, buildInfoPath, resolvedConfigPath, modifiedTime) {\n      const path = toPath2(state, buildInfoPath);\n      const existing = state.buildInfoCache.get(resolvedConfigPath);\n      if (existing !== void 0 && existing.path === path) {\n        return existing.buildInfo || void 0;\n      }\n      const value = state.readFileWithCache(buildInfoPath);\n      const buildInfo = value ? getBuildInfo(buildInfoPath, value) : void 0;\n      state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime });\n      return buildInfo;\n    }\n    function checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName) {\n      const tsconfigTime = getModifiedTime2(state, configFile);\n      if (oldestOutputFileTime < tsconfigTime) {\n        return {\n          type: 6,\n          outOfDateOutputFileName: oldestOutputFileName,\n          newerInputFileName: configFile\n        };\n      }\n    }\n    function getUpToDateStatusWorker(state, project, resolvedPath) {\n      var _a22, _b3;\n      if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) {\n        return {\n          type: 16\n          /* ContainerOnly */\n        };\n      }\n      let referenceStatuses;\n      const force = !!state.options.force;\n      if (project.projectReferences) {\n        state.projectStatus.set(resolvedPath, {\n          type: 13\n          /* ComputingUpstream */\n        });\n        for (const ref of project.projectReferences) {\n          const resolvedRef = resolveProjectReferencePath(ref);\n          const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef);\n          const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath);\n          const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath);\n          if (refStatus.type === 13 || refStatus.type === 16) {\n            continue;\n          }\n          if (refStatus.type === 0 || refStatus.type === 12) {\n            return {\n              type: 12,\n              upstreamProjectName: ref.path,\n              upstreamProjectBlocked: refStatus.type === 12\n              /* UpstreamBlocked */\n            };\n          }\n          if (refStatus.type !== 1) {\n            return {\n              type: 11,\n              upstreamProjectName: ref.path\n            };\n          }\n          if (!force)\n            (referenceStatuses || (referenceStatuses = [])).push({ ref, refStatus, resolvedRefPath, resolvedConfig });\n        }\n      }\n      if (force)\n        return {\n          type: 17\n          /* ForceBuild */\n        };\n      const { host } = state;\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);\n      let oldestOutputFileName;\n      let oldestOutputFileTime = maximumDate;\n      let buildInfoTime;\n      let buildInfoProgram;\n      let buildInfoVersionMap;\n      if (buildInfoPath) {\n        const buildInfoCacheEntry2 = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath);\n        buildInfoTime = (buildInfoCacheEntry2 == null ? void 0 : buildInfoCacheEntry2.modifiedTime) || getModifiedTime(host, buildInfoPath);\n        if (buildInfoTime === missingFileModifiedTime) {\n          if (!buildInfoCacheEntry2) {\n            state.buildInfoCache.set(resolvedPath, {\n              path: toPath2(state, buildInfoPath),\n              buildInfo: false,\n              modifiedTime: buildInfoTime\n            });\n          }\n          return {\n            type: 4,\n            missingOutputFileName: buildInfoPath\n          };\n        }\n        const buildInfo = getBuildInfo3(state, buildInfoPath, resolvedPath, buildInfoTime);\n        if (!buildInfo) {\n          return {\n            type: 5,\n            fileName: buildInfoPath\n          };\n        }\n        if ((buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) {\n          return {\n            type: 14,\n            version: buildInfo.version\n          };\n        }\n        if (buildInfo.program) {\n          if (((_a22 = buildInfo.program.changeFileSet) == null ? void 0 : _a22.length) || (!project.options.noEmit ? (_b3 = buildInfo.program.affectedFilesPendingEmit) == null ? void 0 : _b3.length : some(buildInfo.program.semanticDiagnosticsPerFile, isArray))) {\n            return {\n              type: 8,\n              buildInfoFile: buildInfoPath\n            };\n          }\n          if (!project.options.noEmit && getPendingEmitKind(project.options, buildInfo.program.options || {})) {\n            return {\n              type: 9,\n              buildInfoFile: buildInfoPath\n            };\n          }\n          buildInfoProgram = buildInfo.program;\n        }\n        oldestOutputFileTime = buildInfoTime;\n        oldestOutputFileName = buildInfoPath;\n      }\n      let newestInputFileName = void 0;\n      let newestInputFileTime = minimumDate;\n      let pseudoInputUpToDate = false;\n      const seenRoots = /* @__PURE__ */ new Set();\n      for (const inputFile of project.fileNames) {\n        const inputTime = getModifiedTime2(state, inputFile);\n        if (inputTime === missingFileModifiedTime) {\n          return {\n            type: 0,\n            reason: `${inputFile} does not exist`\n          };\n        }\n        if (buildInfoTime && buildInfoTime < inputTime) {\n          let version2;\n          let currentVersion;\n          if (buildInfoProgram) {\n            if (!buildInfoVersionMap)\n              buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath, host);\n            version2 = buildInfoVersionMap.fileInfos.get(toPath2(state, inputFile));\n            const text = version2 ? state.readFileWithCache(inputFile) : void 0;\n            currentVersion = text !== void 0 ? getSourceFileVersionAsHashFromText(host, text) : void 0;\n            if (version2 && version2 === currentVersion)\n              pseudoInputUpToDate = true;\n          }\n          if (!version2 || version2 !== currentVersion) {\n            return {\n              type: 6,\n              outOfDateOutputFileName: buildInfoPath,\n              newerInputFileName: inputFile\n            };\n          }\n        }\n        if (inputTime > newestInputFileTime) {\n          newestInputFileName = inputFile;\n          newestInputFileTime = inputTime;\n        }\n        if (buildInfoProgram)\n          seenRoots.add(toPath2(state, inputFile));\n      }\n      if (buildInfoProgram) {\n        if (!buildInfoVersionMap)\n          buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath, host);\n        for (const existingRoot of buildInfoVersionMap.roots) {\n          if (!seenRoots.has(existingRoot)) {\n            return {\n              type: 10,\n              buildInfoFile: buildInfoPath,\n              inputFile: existingRoot\n            };\n          }\n        }\n      }\n      if (!buildInfoPath) {\n        const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames());\n        const outputTimeStampMap = getOutputTimeStampMap(state, resolvedPath);\n        for (const output of outputs) {\n          const path = toPath2(state, output);\n          let outputTime = outputTimeStampMap == null ? void 0 : outputTimeStampMap.get(path);\n          if (!outputTime) {\n            outputTime = getModifiedTime(state.host, output);\n            outputTimeStampMap == null ? void 0 : outputTimeStampMap.set(path, outputTime);\n          }\n          if (outputTime === missingFileModifiedTime) {\n            return {\n              type: 4,\n              missingOutputFileName: output\n            };\n          }\n          if (outputTime < newestInputFileTime) {\n            return {\n              type: 6,\n              outOfDateOutputFileName: output,\n              newerInputFileName: newestInputFileName\n            };\n          }\n          if (outputTime < oldestOutputFileTime) {\n            oldestOutputFileTime = outputTime;\n            oldestOutputFileName = output;\n          }\n        }\n      }\n      const buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);\n      let pseudoUpToDate = false;\n      let usesPrepend = false;\n      let upstreamChangedProject;\n      if (referenceStatuses) {\n        for (const { ref, refStatus, resolvedConfig, resolvedRefPath } of referenceStatuses) {\n          usesPrepend = usesPrepend || !!ref.prepend;\n          if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) {\n            continue;\n          }\n          if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {\n            return {\n              type: 7,\n              outOfDateOutputFileName: buildInfoPath,\n              newerProjectName: ref.path\n            };\n          }\n          const newestDeclarationFileContentChangedTime = getLatestChangedDtsTime(state, resolvedConfig.options, resolvedRefPath);\n          if (newestDeclarationFileContentChangedTime && newestDeclarationFileContentChangedTime <= oldestOutputFileTime) {\n            pseudoUpToDate = true;\n            upstreamChangedProject = ref.path;\n            continue;\n          }\n          Debug2.assert(oldestOutputFileName !== void 0, \"Should have an oldest output filename here\");\n          return {\n            type: 7,\n            outOfDateOutputFileName: oldestOutputFileName,\n            newerProjectName: ref.path\n          };\n        }\n      }\n      const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath, oldestOutputFileTime, oldestOutputFileName);\n      if (configStatus)\n        return configStatus;\n      const extendedConfigStatus = forEach(project.options.configFile.extendedSourceFiles || emptyArray, (configFile) => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName));\n      if (extendedConfigStatus)\n        return extendedConfigStatus;\n      const dependentPackageFileStatus = forEach(\n        state.lastCachedPackageJsonLookups.get(resolvedPath) || emptyArray,\n        ([path]) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName)\n      );\n      if (dependentPackageFileStatus)\n        return dependentPackageFileStatus;\n      if (usesPrepend && pseudoUpToDate) {\n        return {\n          type: 3,\n          outOfDateOutputFileName: oldestOutputFileName,\n          newerProjectName: upstreamChangedProject\n        };\n      }\n      return {\n        type: pseudoUpToDate ? 2 : pseudoInputUpToDate ? 15 : 1,\n        newestInputFileTime,\n        newestInputFileName,\n        oldestOutputFileName\n      };\n    }\n    function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {\n      const refBuildInfo = state.buildInfoCache.get(resolvedRefPath);\n      return refBuildInfo.path === buildInfoCacheEntry.path;\n    }\n    function getUpToDateStatus(state, project, resolvedPath) {\n      if (project === void 0) {\n        return { type: 0, reason: \"File deleted mid-build\" };\n      }\n      const prior = state.projectStatus.get(resolvedPath);\n      if (prior !== void 0) {\n        return prior;\n      }\n      mark(\"SolutionBuilder::beforeUpToDateCheck\");\n      const actual = getUpToDateStatusWorker(state, project, resolvedPath);\n      mark(\"SolutionBuilder::afterUpToDateCheck\");\n      measure(\"SolutionBuilder::Up-to-date check\", \"SolutionBuilder::beforeUpToDateCheck\", \"SolutionBuilder::afterUpToDateCheck\");\n      state.projectStatus.set(resolvedPath, actual);\n      return actual;\n    }\n    function updateOutputTimestampsWorker(state, proj, projectPath, verboseMessage, skipOutputs) {\n      if (proj.options.noEmit)\n        return;\n      let now;\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options);\n      if (buildInfoPath) {\n        if (!(skipOutputs == null ? void 0 : skipOutputs.has(toPath2(state, buildInfoPath)))) {\n          if (!!state.options.verbose)\n            reportStatus(state, verboseMessage, proj.options.configFilePath);\n          state.host.setModifiedTime(buildInfoPath, now = getCurrentTime(state.host));\n          getBuildInfoCacheEntry(state, buildInfoPath, projectPath).modifiedTime = now;\n        }\n        state.outputTimeStamps.delete(projectPath);\n        return;\n      }\n      const { host } = state;\n      const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames());\n      const outputTimeStampMap = getOutputTimeStampMap(state, projectPath);\n      const modifiedOutputs = outputTimeStampMap ? /* @__PURE__ */ new Set() : void 0;\n      if (!skipOutputs || outputs.length !== skipOutputs.size) {\n        let reportVerbose = !!state.options.verbose;\n        for (const file of outputs) {\n          const path = toPath2(state, file);\n          if (skipOutputs == null ? void 0 : skipOutputs.has(path))\n            continue;\n          if (reportVerbose) {\n            reportVerbose = false;\n            reportStatus(state, verboseMessage, proj.options.configFilePath);\n          }\n          host.setModifiedTime(file, now || (now = getCurrentTime(state.host)));\n          if (outputTimeStampMap) {\n            outputTimeStampMap.set(path, now);\n            modifiedOutputs.add(path);\n          }\n        }\n      }\n      outputTimeStampMap == null ? void 0 : outputTimeStampMap.forEach((_value, key) => {\n        if (!(skipOutputs == null ? void 0 : skipOutputs.has(key)) && !modifiedOutputs.has(key))\n          outputTimeStampMap.delete(key);\n      });\n    }\n    function getLatestChangedDtsTime(state, options, resolvedConfigPath) {\n      if (!options.composite)\n        return void 0;\n      const entry = Debug2.checkDefined(state.buildInfoCache.get(resolvedConfigPath));\n      if (entry.latestChangedDtsTime !== void 0)\n        return entry.latestChangedDtsTime || void 0;\n      const latestChangedDtsTime = entry.buildInfo && entry.buildInfo.program && entry.buildInfo.program.latestChangedDtsFile ? state.host.getModifiedTime(getNormalizedAbsolutePath(entry.buildInfo.program.latestChangedDtsFile, getDirectoryPath(entry.path))) : void 0;\n      entry.latestChangedDtsTime = latestChangedDtsTime || false;\n      return latestChangedDtsTime;\n    }\n    function updateOutputTimestamps(state, proj, resolvedPath) {\n      if (state.options.dry) {\n        return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath);\n      }\n      updateOutputTimestampsWorker(state, proj, resolvedPath, Diagnostics.Updating_output_timestamps_of_project_0);\n      state.projectStatus.set(resolvedPath, {\n        type: 1,\n        oldestOutputFileName: getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames())\n      });\n    }\n    function queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) {\n      if (buildResult & 124)\n        return;\n      if (!config.options.composite)\n        return;\n      for (let index = projectIndex + 1; index < buildOrder.length; index++) {\n        const nextProject = buildOrder[index];\n        const nextProjectPath = toResolvedConfigFilePath(state, nextProject);\n        if (state.projectPendingBuild.has(nextProjectPath))\n          continue;\n        const nextProjectConfig = parseConfigFile(state, nextProject, nextProjectPath);\n        if (!nextProjectConfig || !nextProjectConfig.projectReferences)\n          continue;\n        for (const ref of nextProjectConfig.projectReferences) {\n          const resolvedRefPath = resolveProjectName(state, ref.path);\n          if (toResolvedConfigFilePath(state, resolvedRefPath) !== projectPath)\n            continue;\n          const status = state.projectStatus.get(nextProjectPath);\n          if (status) {\n            switch (status.type) {\n              case 1:\n                if (buildResult & 2) {\n                  if (ref.prepend) {\n                    state.projectStatus.set(nextProjectPath, {\n                      type: 3,\n                      outOfDateOutputFileName: status.oldestOutputFileName,\n                      newerProjectName: project\n                    });\n                  } else {\n                    status.type = 2;\n                  }\n                  break;\n                }\n              case 15:\n              case 2:\n              case 3:\n                if (!(buildResult & 2)) {\n                  state.projectStatus.set(nextProjectPath, {\n                    type: 7,\n                    outOfDateOutputFileName: status.type === 3 ? status.outOfDateOutputFileName : status.oldestOutputFileName,\n                    newerProjectName: project\n                  });\n                }\n                break;\n              case 12:\n                if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) {\n                  clearProjectStatus(state, nextProjectPath);\n                }\n                break;\n            }\n          }\n          addProjToQueue(\n            state,\n            nextProjectPath,\n            0\n            /* None */\n          );\n          break;\n        }\n      }\n    }\n    function build(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) {\n      mark(\"SolutionBuilder::beforeBuild\");\n      const result = buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences);\n      mark(\"SolutionBuilder::afterBuild\");\n      measure(\"SolutionBuilder::Build\", \"SolutionBuilder::beforeBuild\", \"SolutionBuilder::afterBuild\");\n      return result;\n    }\n    function buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) {\n      const buildOrder = getBuildOrderFor(state, project, onlyReferences);\n      if (!buildOrder)\n        return 3;\n      setupInitialBuild(state, cancellationToken);\n      let reportQueue = true;\n      let successfulProjects = 0;\n      while (true) {\n        const invalidatedProject = getNextInvalidatedProject(state, buildOrder, reportQueue);\n        if (!invalidatedProject)\n          break;\n        reportQueue = false;\n        invalidatedProject.done(cancellationToken, writeFile2, getCustomTransformers == null ? void 0 : getCustomTransformers(invalidatedProject.project));\n        if (!state.diagnostics.has(invalidatedProject.projectPath))\n          successfulProjects++;\n      }\n      disableCache(state);\n      reportErrorSummary(state, buildOrder);\n      startWatching(state, buildOrder);\n      return isCircularBuildOrder(buildOrder) ? 4 : !buildOrder.some((p) => state.diagnostics.has(toResolvedConfigFilePath(state, p))) ? 0 : successfulProjects ? 2 : 1;\n    }\n    function clean(state, project, onlyReferences) {\n      mark(\"SolutionBuilder::beforeClean\");\n      const result = cleanWorker(state, project, onlyReferences);\n      mark(\"SolutionBuilder::afterClean\");\n      measure(\"SolutionBuilder::Clean\", \"SolutionBuilder::beforeClean\", \"SolutionBuilder::afterClean\");\n      return result;\n    }\n    function cleanWorker(state, project, onlyReferences) {\n      const buildOrder = getBuildOrderFor(state, project, onlyReferences);\n      if (!buildOrder)\n        return 3;\n      if (isCircularBuildOrder(buildOrder)) {\n        reportErrors(state, buildOrder.circularDiagnostics);\n        return 4;\n      }\n      const { options, host } = state;\n      const filesToDelete = options.dry ? [] : void 0;\n      for (const proj of buildOrder) {\n        const resolvedPath = toResolvedConfigFilePath(state, proj);\n        const parsed = parseConfigFile(state, proj, resolvedPath);\n        if (parsed === void 0) {\n          reportParseConfigFileDiagnostic(state, resolvedPath);\n          continue;\n        }\n        const outputs = getAllProjectOutputs(parsed, !host.useCaseSensitiveFileNames());\n        if (!outputs.length)\n          continue;\n        const inputFileNames = new Set(parsed.fileNames.map((f) => toPath2(state, f)));\n        for (const output of outputs) {\n          if (inputFileNames.has(toPath2(state, output)))\n            continue;\n          if (host.fileExists(output)) {\n            if (filesToDelete) {\n              filesToDelete.push(output);\n            } else {\n              host.deleteFile(output);\n              invalidateProject(\n                state,\n                resolvedPath,\n                0\n                /* None */\n              );\n            }\n          }\n        }\n      }\n      if (filesToDelete) {\n        reportStatus(state, Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map((f) => `\\r\n * ${f}`).join(\"\"));\n      }\n      return 0;\n    }\n    function invalidateProject(state, resolved, reloadLevel) {\n      if (state.host.getParsedCommandLine && reloadLevel === 1) {\n        reloadLevel = 2;\n      }\n      if (reloadLevel === 2) {\n        state.configFileCache.delete(resolved);\n        state.buildOrder = void 0;\n      }\n      state.needsSummary = true;\n      clearProjectStatus(state, resolved);\n      addProjToQueue(state, resolved, reloadLevel);\n      enableCache(state);\n    }\n    function invalidateProjectAndScheduleBuilds(state, resolvedPath, reloadLevel) {\n      state.reportFileChangeDetected = true;\n      invalidateProject(state, resolvedPath, reloadLevel);\n      scheduleBuildInvalidatedProject(\n        state,\n        250,\n        /*changeDetected*/\n        true\n      );\n    }\n    function scheduleBuildInvalidatedProject(state, time, changeDetected) {\n      const { hostWithWatch } = state;\n      if (!hostWithWatch.setTimeout || !hostWithWatch.clearTimeout) {\n        return;\n      }\n      if (state.timerToBuildInvalidatedProject) {\n        hostWithWatch.clearTimeout(state.timerToBuildInvalidatedProject);\n      }\n      state.timerToBuildInvalidatedProject = hostWithWatch.setTimeout(buildNextInvalidatedProject, time, state, changeDetected);\n    }\n    function buildNextInvalidatedProject(state, changeDetected) {\n      mark(\"SolutionBuilder::beforeBuild\");\n      const buildOrder = buildNextInvalidatedProjectWorker(state, changeDetected);\n      mark(\"SolutionBuilder::afterBuild\");\n      measure(\"SolutionBuilder::Build\", \"SolutionBuilder::beforeBuild\", \"SolutionBuilder::afterBuild\");\n      if (buildOrder)\n        reportErrorSummary(state, buildOrder);\n    }\n    function buildNextInvalidatedProjectWorker(state, changeDetected) {\n      state.timerToBuildInvalidatedProject = void 0;\n      if (state.reportFileChangeDetected) {\n        state.reportFileChangeDetected = false;\n        state.projectErrorsReported.clear();\n        reportWatchStatus(state, Diagnostics.File_change_detected_Starting_incremental_compilation);\n      }\n      let projectsBuilt = 0;\n      const buildOrder = getBuildOrder(state);\n      const invalidatedProject = getNextInvalidatedProject(\n        state,\n        buildOrder,\n        /*reportQueue*/\n        false\n      );\n      if (invalidatedProject) {\n        invalidatedProject.done();\n        projectsBuilt++;\n        while (state.projectPendingBuild.size) {\n          if (state.timerToBuildInvalidatedProject)\n            return;\n          const info = getNextInvalidatedProjectCreateInfo(\n            state,\n            buildOrder,\n            /*reportQueue*/\n            false\n          );\n          if (!info)\n            break;\n          if (info.kind !== 2 && (changeDetected || projectsBuilt === 5)) {\n            scheduleBuildInvalidatedProject(\n              state,\n              100,\n              /*changeDetected*/\n              false\n            );\n            return;\n          }\n          const project = createInvalidatedProjectWithInfo(state, info, buildOrder);\n          project.done();\n          if (info.kind !== 2)\n            projectsBuilt++;\n        }\n      }\n      disableCache(state);\n      return buildOrder;\n    }\n    function watchConfigFile(state, resolved, resolvedPath, parsed) {\n      if (!state.watch || state.allWatchedConfigFiles.has(resolvedPath))\n        return;\n      state.allWatchedConfigFiles.set(resolvedPath, watchFile(\n        state,\n        resolved,\n        () => invalidateProjectAndScheduleBuilds(\n          state,\n          resolvedPath,\n          2\n          /* Full */\n        ),\n        2e3,\n        parsed == null ? void 0 : parsed.watchOptions,\n        WatchType.ConfigFile,\n        resolved\n      ));\n    }\n    function watchExtendedConfigFiles(state, resolvedPath, parsed) {\n      updateSharedExtendedConfigFileWatcher(\n        resolvedPath,\n        parsed == null ? void 0 : parsed.options,\n        state.allWatchedExtendedConfigFiles,\n        (extendedConfigFileName, extendedConfigFilePath) => watchFile(\n          state,\n          extendedConfigFileName,\n          () => {\n            var _a22;\n            return (_a22 = state.allWatchedExtendedConfigFiles.get(extendedConfigFilePath)) == null ? void 0 : _a22.projects.forEach((projectConfigFilePath) => invalidateProjectAndScheduleBuilds(\n              state,\n              projectConfigFilePath,\n              2\n              /* Full */\n            ));\n          },\n          2e3,\n          parsed == null ? void 0 : parsed.watchOptions,\n          WatchType.ExtendedConfigFile\n        ),\n        (fileName) => toPath2(state, fileName)\n      );\n    }\n    function watchWildCardDirectories(state, resolved, resolvedPath, parsed) {\n      if (!state.watch)\n        return;\n      updateWatchingWildcardDirectories(\n        getOrCreateValueMapFromConfigFileMap(state.allWatchedWildcardDirectories, resolvedPath),\n        new Map(Object.entries(parsed.wildcardDirectories)),\n        (dir, flags) => state.watchDirectory(\n          dir,\n          (fileOrDirectory) => {\n            var _a22;\n            if (isIgnoredFileFromWildCardWatching({\n              watchedDirPath: toPath2(state, dir),\n              fileOrDirectory,\n              fileOrDirectoryPath: toPath2(state, fileOrDirectory),\n              configFileName: resolved,\n              currentDirectory: state.compilerHost.getCurrentDirectory(),\n              options: parsed.options,\n              program: state.builderPrograms.get(resolvedPath) || ((_a22 = getCachedParsedConfigFile(state, resolvedPath)) == null ? void 0 : _a22.fileNames),\n              useCaseSensitiveFileNames: state.parseConfigFileHost.useCaseSensitiveFileNames,\n              writeLog: (s) => state.writeLog(s),\n              toPath: (fileName) => toPath2(state, fileName)\n            }))\n              return;\n            invalidateProjectAndScheduleBuilds(\n              state,\n              resolvedPath,\n              1\n              /* Partial */\n            );\n          },\n          flags,\n          parsed == null ? void 0 : parsed.watchOptions,\n          WatchType.WildcardDirectory,\n          resolved\n        )\n      );\n    }\n    function watchInputFiles(state, resolved, resolvedPath, parsed) {\n      if (!state.watch)\n        return;\n      mutateMap(\n        getOrCreateValueMapFromConfigFileMap(state.allWatchedInputFiles, resolvedPath),\n        arrayToMap(parsed.fileNames, (fileName) => toPath2(state, fileName)),\n        {\n          createNewValue: (_path, input) => watchFile(\n            state,\n            input,\n            () => invalidateProjectAndScheduleBuilds(\n              state,\n              resolvedPath,\n              0\n              /* None */\n            ),\n            250,\n            parsed == null ? void 0 : parsed.watchOptions,\n            WatchType.SourceFile,\n            resolved\n          ),\n          onDeleteValue: closeFileWatcher\n        }\n      );\n    }\n    function watchPackageJsonFiles(state, resolved, resolvedPath, parsed) {\n      if (!state.watch || !state.lastCachedPackageJsonLookups)\n        return;\n      mutateMap(\n        getOrCreateValueMapFromConfigFileMap(state.allWatchedPackageJsonFiles, resolvedPath),\n        new Map(state.lastCachedPackageJsonLookups.get(resolvedPath)),\n        {\n          createNewValue: (path, _input) => watchFile(\n            state,\n            path,\n            () => invalidateProjectAndScheduleBuilds(\n              state,\n              resolvedPath,\n              0\n              /* None */\n            ),\n            2e3,\n            parsed == null ? void 0 : parsed.watchOptions,\n            WatchType.PackageJson,\n            resolved\n          ),\n          onDeleteValue: closeFileWatcher\n        }\n      );\n    }\n    function startWatching(state, buildOrder) {\n      if (!state.watchAllProjectsPending)\n        return;\n      mark(\"SolutionBuilder::beforeWatcherCreation\");\n      state.watchAllProjectsPending = false;\n      for (const resolved of getBuildOrderFromAnyBuildOrder(buildOrder)) {\n        const resolvedPath = toResolvedConfigFilePath(state, resolved);\n        const cfg = parseConfigFile(state, resolved, resolvedPath);\n        watchConfigFile(state, resolved, resolvedPath, cfg);\n        watchExtendedConfigFiles(state, resolvedPath, cfg);\n        if (cfg) {\n          watchWildCardDirectories(state, resolved, resolvedPath, cfg);\n          watchInputFiles(state, resolved, resolvedPath, cfg);\n          watchPackageJsonFiles(state, resolved, resolvedPath, cfg);\n        }\n      }\n      mark(\"SolutionBuilder::afterWatcherCreation\");\n      measure(\"SolutionBuilder::Watcher creation\", \"SolutionBuilder::beforeWatcherCreation\", \"SolutionBuilder::afterWatcherCreation\");\n    }\n    function stopWatching(state) {\n      clearMap(state.allWatchedConfigFiles, closeFileWatcher);\n      clearMap(state.allWatchedExtendedConfigFiles, closeFileWatcherOf);\n      clearMap(state.allWatchedWildcardDirectories, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcherOf));\n      clearMap(state.allWatchedInputFiles, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcher));\n      clearMap(state.allWatchedPackageJsonFiles, (watchedPacageJsonFiles) => clearMap(watchedPacageJsonFiles, closeFileWatcher));\n    }\n    function createSolutionBuilderWorker(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) {\n      const state = createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions);\n      return {\n        build: (project, cancellationToken, writeFile2, getCustomTransformers) => build(state, project, cancellationToken, writeFile2, getCustomTransformers),\n        clean: (project) => clean(state, project),\n        buildReferences: (project, cancellationToken, writeFile2, getCustomTransformers) => build(\n          state,\n          project,\n          cancellationToken,\n          writeFile2,\n          getCustomTransformers,\n          /*onlyReferences*/\n          true\n        ),\n        cleanReferences: (project) => clean(\n          state,\n          project,\n          /*onlyReferences*/\n          true\n        ),\n        getNextInvalidatedProject: (cancellationToken) => {\n          setupInitialBuild(state, cancellationToken);\n          return getNextInvalidatedProject(\n            state,\n            getBuildOrder(state),\n            /*reportQueue*/\n            false\n          );\n        },\n        getBuildOrder: () => getBuildOrder(state),\n        getUpToDateStatusOfProject: (project) => {\n          const configFileName = resolveProjectName(state, project);\n          const configFilePath = toResolvedConfigFilePath(state, configFileName);\n          return getUpToDateStatus(state, parseConfigFile(state, configFileName, configFilePath), configFilePath);\n        },\n        invalidateProject: (configFilePath, reloadLevel) => invalidateProject(\n          state,\n          configFilePath,\n          reloadLevel || 0\n          /* None */\n        ),\n        close: () => stopWatching(state)\n      };\n    }\n    function relName(state, path) {\n      return convertToRelativePath(path, state.compilerHost.getCurrentDirectory(), state.compilerHost.getCanonicalFileName);\n    }\n    function reportStatus(state, message, ...args) {\n      state.host.reportSolutionBuilderStatus(createCompilerDiagnostic(message, ...args));\n    }\n    function reportWatchStatus(state, message, ...args) {\n      var _a22, _b3;\n      (_b3 = (_a22 = state.hostWithWatch).onWatchStatusChange) == null ? void 0 : _b3.call(_a22, createCompilerDiagnostic(message, ...args), state.host.getNewLine(), state.baseCompilerOptions);\n    }\n    function reportErrors({ host }, errors) {\n      errors.forEach((err) => host.reportDiagnostic(err));\n    }\n    function reportAndStoreErrors(state, proj, errors) {\n      reportErrors(state, errors);\n      state.projectErrorsReported.set(proj, true);\n      if (errors.length) {\n        state.diagnostics.set(proj, errors);\n      }\n    }\n    function reportParseConfigFileDiagnostic(state, proj) {\n      reportAndStoreErrors(state, proj, [state.configFileCache.get(proj)]);\n    }\n    function reportErrorSummary(state, buildOrder) {\n      if (!state.needsSummary)\n        return;\n      state.needsSummary = false;\n      const canReportSummary = state.watch || !!state.host.reportErrorSummary;\n      const { diagnostics } = state;\n      let totalErrors = 0;\n      let filesInError = [];\n      if (isCircularBuildOrder(buildOrder)) {\n        reportBuildQueue(state, buildOrder.buildOrder);\n        reportErrors(state, buildOrder.circularDiagnostics);\n        if (canReportSummary)\n          totalErrors += getErrorCountForSummary(buildOrder.circularDiagnostics);\n        if (canReportSummary)\n          filesInError = [...filesInError, ...getFilesInErrorForSummary(buildOrder.circularDiagnostics)];\n      } else {\n        buildOrder.forEach((project) => {\n          const projectPath = toResolvedConfigFilePath(state, project);\n          if (!state.projectErrorsReported.has(projectPath)) {\n            reportErrors(state, diagnostics.get(projectPath) || emptyArray);\n          }\n        });\n        if (canReportSummary)\n          diagnostics.forEach((singleProjectErrors) => totalErrors += getErrorCountForSummary(singleProjectErrors));\n        if (canReportSummary)\n          diagnostics.forEach((singleProjectErrors) => [...filesInError, ...getFilesInErrorForSummary(singleProjectErrors)]);\n      }\n      if (state.watch) {\n        reportWatchStatus(state, getWatchErrorSummaryDiagnosticMessage(totalErrors), totalErrors);\n      } else if (state.host.reportErrorSummary) {\n        state.host.reportErrorSummary(totalErrors, filesInError);\n      }\n    }\n    function reportBuildQueue(state, buildQueue) {\n      if (state.options.verbose) {\n        reportStatus(state, Diagnostics.Projects_in_this_build_Colon_0, buildQueue.map((s) => \"\\r\\n    * \" + relName(state, s)).join(\"\"));\n      }\n    }\n    function reportUpToDateStatus(state, configFileName, status) {\n      switch (status.type) {\n        case 6:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,\n            relName(state, configFileName),\n            relName(state, status.outOfDateOutputFileName),\n            relName(state, status.newerInputFileName)\n          );\n        case 7:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,\n            relName(state, configFileName),\n            relName(state, status.outOfDateOutputFileName),\n            relName(state, status.newerProjectName)\n          );\n        case 4:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,\n            relName(state, configFileName),\n            relName(state, status.missingOutputFileName)\n          );\n        case 5:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_there_was_error_reading_file_1,\n            relName(state, configFileName),\n            relName(state, status.fileName)\n          );\n        case 8:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,\n            relName(state, configFileName),\n            relName(state, status.buildInfoFile)\n          );\n        case 9:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,\n            relName(state, configFileName),\n            relName(state, status.buildInfoFile)\n          );\n        case 10:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,\n            relName(state, configFileName),\n            relName(state, status.buildInfoFile),\n            relName(state, status.inputFile)\n          );\n        case 1:\n          if (status.newestInputFileTime !== void 0) {\n            return reportStatus(\n              state,\n              Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,\n              relName(state, configFileName),\n              relName(state, status.newestInputFileName || \"\"),\n              relName(state, status.oldestOutputFileName || \"\")\n            );\n          }\n          break;\n        case 3:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,\n            relName(state, configFileName),\n            relName(state, status.newerProjectName)\n          );\n        case 2:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,\n            relName(state, configFileName)\n          );\n        case 15:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,\n            relName(state, configFileName)\n          );\n        case 11:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,\n            relName(state, configFileName),\n            relName(state, status.upstreamProjectName)\n          );\n        case 12:\n          return reportStatus(\n            state,\n            status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,\n            relName(state, configFileName),\n            relName(state, status.upstreamProjectName)\n          );\n        case 0:\n          return reportStatus(\n            state,\n            Diagnostics.Failed_to_parse_file_0_Colon_1,\n            relName(state, configFileName),\n            status.reason\n          );\n        case 14:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,\n            relName(state, configFileName),\n            status.version,\n            version\n          );\n        case 17:\n          return reportStatus(\n            state,\n            Diagnostics.Project_0_is_being_forcibly_rebuilt,\n            relName(state, configFileName)\n          );\n        case 16:\n        case 13:\n          break;\n        default:\n          assertType(status);\n      }\n    }\n    function verboseReportProjectStatus(state, configFileName, status) {\n      if (state.options.verbose) {\n        reportUpToDateStatus(state, configFileName, status);\n      }\n    }\n    var minimumDate, maximumDate, InvalidatedProjectKind;\n    var init_tsbuildPublic = __esm({\n      \"src/compiler/tsbuildPublic.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts2();\n        init_ts_performance();\n        minimumDate = /* @__PURE__ */ new Date(-864e13);\n        maximumDate = /* @__PURE__ */ new Date(864e13);\n        InvalidatedProjectKind = /* @__PURE__ */ ((InvalidatedProjectKind2) => {\n          InvalidatedProjectKind2[InvalidatedProjectKind2[\"Build\"] = 0] = \"Build\";\n          InvalidatedProjectKind2[InvalidatedProjectKind2[\"UpdateBundle\"] = 1] = \"UpdateBundle\";\n          InvalidatedProjectKind2[InvalidatedProjectKind2[\"UpdateOutputFileStamps\"] = 2] = \"UpdateOutputFileStamps\";\n          return InvalidatedProjectKind2;\n        })(InvalidatedProjectKind || {});\n      }\n    });\n    var init_ts2 = __esm({\n      \"src/compiler/_namespaces/ts.ts\"() {\n        \"use strict\";\n        init_corePublic();\n        init_core();\n        init_debug();\n        init_semver();\n        init_performanceCore();\n        init_perfLogger();\n        init_tracing();\n        init_types();\n        init_sys();\n        init_path();\n        init_diagnosticInformationMap_generated();\n        init_scanner();\n        init_utilitiesPublic();\n        init_utilities();\n        init_baseNodeFactory();\n        init_parenthesizerRules();\n        init_nodeConverters();\n        init_nodeFactory();\n        init_emitNode();\n        init_emitHelpers();\n        init_nodeTests();\n        init_utilities2();\n        init_utilitiesPublic2();\n        init_parser();\n        init_commandLineParser();\n        init_moduleNameResolver();\n        init_binder();\n        init_symbolWalker();\n        init_checker();\n        init_visitorPublic();\n        init_sourcemap();\n        init_utilities3();\n        init_destructuring();\n        init_taggedTemplate();\n        init_ts();\n        init_classFields();\n        init_typeSerializer();\n        init_legacyDecorators();\n        init_esDecorators();\n        init_es2017();\n        init_es2018();\n        init_es2019();\n        init_es2020();\n        init_es2021();\n        init_esnext();\n        init_jsx();\n        init_es2016();\n        init_es2015();\n        init_es5();\n        init_generators();\n        init_module();\n        init_system();\n        init_esnextAnd2015();\n        init_node();\n        init_diagnostics();\n        init_declarations();\n        init_transformer();\n        init_emitter();\n        init_watchUtilities();\n        init_program();\n        init_builderStatePublic();\n        init_builderState();\n        init_builder();\n        init_builderPublic();\n        init_resolutionCache();\n        init_watch();\n        init_watchPublic();\n        init_tsbuild();\n        init_tsbuildPublic();\n        init_ts_moduleSpecifiers();\n        init_ts_performance();\n      }\n    });\n    function isTypingUpToDate(cachedTyping, availableTypingVersions) {\n      const availableVersion = new Version(getProperty(availableTypingVersions, `ts${versionMajorMinor}`) || getProperty(availableTypingVersions, \"latest\"));\n      return availableVersion.compareTo(cachedTyping.version) <= 0;\n    }\n    function nonRelativeModuleNameForTypingCache(moduleName) {\n      return nodeCoreModules.has(moduleName) ? \"node\" : moduleName;\n    }\n    function loadSafeList(host, safeListPath) {\n      const result = readConfigFile(safeListPath, (path) => host.readFile(path));\n      return new Map(Object.entries(result.config));\n    }\n    function loadTypesMap(host, typesMapPath) {\n      var _a22;\n      const result = readConfigFile(typesMapPath, (path) => host.readFile(path));\n      if ((_a22 = result.config) == null ? void 0 : _a22.simpleMap) {\n        return new Map(Object.entries(result.config.simpleMap));\n      }\n      return void 0;\n    }\n    function discoverTypings(host, log, fileNames, projectRootPath, safeList, packageNameToTypingLocation, typeAcquisition, unresolvedImports, typesRegistry, compilerOptions) {\n      if (!typeAcquisition || !typeAcquisition.enable) {\n        return { cachedTypingPaths: [], newTypingNames: [], filesToWatch: [] };\n      }\n      const inferredTypings = /* @__PURE__ */ new Map();\n      fileNames = mapDefined(fileNames, (fileName) => {\n        const path = normalizePath(fileName);\n        if (hasJSFileExtension(path)) {\n          return path;\n        }\n      });\n      const filesToWatch = [];\n      if (typeAcquisition.include)\n        addInferredTypings(typeAcquisition.include, \"Explicitly included types\");\n      const exclude = typeAcquisition.exclude || [];\n      if (!compilerOptions.types) {\n        const possibleSearchDirs = new Set(fileNames.map(getDirectoryPath));\n        possibleSearchDirs.add(projectRootPath);\n        possibleSearchDirs.forEach((searchDir) => {\n          getTypingNames(searchDir, \"bower.json\", \"bower_components\", filesToWatch);\n          getTypingNames(searchDir, \"package.json\", \"node_modules\", filesToWatch);\n        });\n      }\n      if (!typeAcquisition.disableFilenameBasedTypeAcquisition) {\n        getTypingNamesFromSourceFileNames(fileNames);\n      }\n      if (unresolvedImports) {\n        const module2 = deduplicate(\n          unresolvedImports.map(nonRelativeModuleNameForTypingCache),\n          equateStringsCaseSensitive,\n          compareStringsCaseSensitive\n        );\n        addInferredTypings(module2, \"Inferred typings from unresolved imports\");\n      }\n      packageNameToTypingLocation.forEach((typing, name) => {\n        const registryEntry = typesRegistry.get(name);\n        if (inferredTypings.has(name) && inferredTypings.get(name) === void 0 && registryEntry !== void 0 && isTypingUpToDate(typing, registryEntry)) {\n          inferredTypings.set(name, typing.typingLocation);\n        }\n      });\n      for (const excludeTypingName of exclude) {\n        const didDelete = inferredTypings.delete(excludeTypingName);\n        if (didDelete && log)\n          log(`Typing for ${excludeTypingName} is in exclude list, will be ignored.`);\n      }\n      const newTypingNames = [];\n      const cachedTypingPaths = [];\n      inferredTypings.forEach((inferred, typing) => {\n        if (inferred !== void 0) {\n          cachedTypingPaths.push(inferred);\n        } else {\n          newTypingNames.push(typing);\n        }\n      });\n      const result = { cachedTypingPaths, newTypingNames, filesToWatch };\n      if (log)\n        log(`Result: ${JSON.stringify(result)}`);\n      return result;\n      function addInferredTyping(typingName) {\n        if (!inferredTypings.has(typingName)) {\n          inferredTypings.set(typingName, void 0);\n        }\n      }\n      function addInferredTypings(typingNames, message) {\n        if (log)\n          log(`${message}: ${JSON.stringify(typingNames)}`);\n        forEach(typingNames, addInferredTyping);\n      }\n      function getTypingNames(projectRootPath2, manifestName, modulesDirName, filesToWatch2) {\n        const manifestPath = combinePaths(projectRootPath2, manifestName);\n        let manifest;\n        let manifestTypingNames;\n        if (host.fileExists(manifestPath)) {\n          filesToWatch2.push(manifestPath);\n          manifest = readConfigFile(manifestPath, (path) => host.readFile(path)).config;\n          manifestTypingNames = flatMap([manifest.dependencies, manifest.devDependencies, manifest.optionalDependencies, manifest.peerDependencies], getOwnKeys);\n          addInferredTypings(manifestTypingNames, `Typing names in '${manifestPath}' dependencies`);\n        }\n        const packagesFolderPath = combinePaths(projectRootPath2, modulesDirName);\n        filesToWatch2.push(packagesFolderPath);\n        if (!host.directoryExists(packagesFolderPath)) {\n          return;\n        }\n        const packageNames = [];\n        const dependencyManifestNames = manifestTypingNames ? manifestTypingNames.map((typingName) => combinePaths(packagesFolderPath, typingName, manifestName)) : host.readDirectory(\n          packagesFolderPath,\n          [\n            \".json\"\n            /* Json */\n          ],\n          /*excludes*/\n          void 0,\n          /*includes*/\n          void 0,\n          /*depth*/\n          3\n        ).filter((manifestPath2) => {\n          if (getBaseFileName(manifestPath2) !== manifestName) {\n            return false;\n          }\n          const pathComponents2 = getPathComponents(normalizePath(manifestPath2));\n          const isScoped = pathComponents2[pathComponents2.length - 3][0] === \"@\";\n          return isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 4]) === modulesDirName || // `node_modules/@foo/bar`\n          !isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 3]) === modulesDirName;\n        });\n        if (log)\n          log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);\n        for (const manifestPath2 of dependencyManifestNames) {\n          const normalizedFileName = normalizePath(manifestPath2);\n          const result2 = readConfigFile(normalizedFileName, (path) => host.readFile(path));\n          const manifest2 = result2.config;\n          if (!manifest2.name) {\n            continue;\n          }\n          const ownTypes = manifest2.types || manifest2.typings;\n          if (ownTypes) {\n            const absolutePath = getNormalizedAbsolutePath(ownTypes, getDirectoryPath(normalizedFileName));\n            if (host.fileExists(absolutePath)) {\n              if (log)\n                log(`    Package '${manifest2.name}' provides its own types.`);\n              inferredTypings.set(manifest2.name, absolutePath);\n            } else {\n              if (log)\n                log(`    Package '${manifest2.name}' provides its own types but they are missing.`);\n            }\n          } else {\n            packageNames.push(manifest2.name);\n          }\n        }\n        addInferredTypings(packageNames, \"    Found package names\");\n      }\n      function getTypingNamesFromSourceFileNames(fileNames2) {\n        const fromFileNames = mapDefined(fileNames2, (j) => {\n          if (!hasJSFileExtension(j))\n            return void 0;\n          const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j)));\n          const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);\n          return safeList.get(cleanedTypingName);\n        });\n        if (fromFileNames.length) {\n          addInferredTypings(fromFileNames, \"Inferred typings from file names\");\n        }\n        const hasJsxFile = some(fileNames2, (f) => fileExtensionIs(\n          f,\n          \".jsx\"\n          /* Jsx */\n        ));\n        if (hasJsxFile) {\n          if (log)\n            log(`Inferred 'react' typings due to presence of '.jsx' extension`);\n          addInferredTyping(\"react\");\n        }\n      }\n    }\n    function validatePackageName(packageName) {\n      return validatePackageNameWorker(\n        packageName,\n        /*supportScopedPackage*/\n        true\n      );\n    }\n    function validatePackageNameWorker(packageName, supportScopedPackage) {\n      if (!packageName) {\n        return 1;\n      }\n      if (packageName.length > maxPackageNameLength) {\n        return 2;\n      }\n      if (packageName.charCodeAt(0) === 46) {\n        return 3;\n      }\n      if (packageName.charCodeAt(0) === 95) {\n        return 4;\n      }\n      if (supportScopedPackage) {\n        const matches = /^@([^/]+)\\/([^/]+)$/.exec(packageName);\n        if (matches) {\n          const scopeResult = validatePackageNameWorker(\n            matches[1],\n            /*supportScopedPackage*/\n            false\n          );\n          if (scopeResult !== 0) {\n            return { name: matches[1], isScopeName: true, result: scopeResult };\n          }\n          const packageResult = validatePackageNameWorker(\n            matches[2],\n            /*supportScopedPackage*/\n            false\n          );\n          if (packageResult !== 0) {\n            return { name: matches[2], isScopeName: false, result: packageResult };\n          }\n          return 0;\n        }\n      }\n      if (encodeURIComponent(packageName) !== packageName) {\n        return 5;\n      }\n      return 0;\n    }\n    function renderPackageNameValidationFailure(result, typing) {\n      return typeof result === \"object\" ? renderPackageNameValidationFailureWorker(typing, result.result, result.name, result.isScopeName) : renderPackageNameValidationFailureWorker(\n        typing,\n        result,\n        typing,\n        /*isScopeName*/\n        false\n      );\n    }\n    function renderPackageNameValidationFailureWorker(typing, result, name, isScopeName) {\n      const kind = isScopeName ? \"Scope\" : \"Package\";\n      switch (result) {\n        case 1:\n          return `'${typing}':: ${kind} name '${name}' cannot be empty`;\n        case 2:\n          return `'${typing}':: ${kind} name '${name}' should be less than ${maxPackageNameLength} characters`;\n        case 3:\n          return `'${typing}':: ${kind} name '${name}' cannot start with '.'`;\n        case 4:\n          return `'${typing}':: ${kind} name '${name}' cannot start with '_'`;\n        case 5:\n          return `'${typing}':: ${kind} name '${name}' contains non URI safe characters`;\n        case 0:\n          return Debug2.fail();\n        default:\n          throw Debug2.assertNever(result);\n      }\n    }\n    var unprefixedNodeCoreModuleList, prefixedNodeCoreModuleList, nodeCoreModuleList, nodeCoreModules, NameValidationResult, maxPackageNameLength;\n    var init_jsTyping = __esm({\n      \"src/jsTyping/jsTyping.ts\"() {\n        \"use strict\";\n        init_ts3();\n        unprefixedNodeCoreModuleList = [\n          \"assert\",\n          \"assert/strict\",\n          \"async_hooks\",\n          \"buffer\",\n          \"child_process\",\n          \"cluster\",\n          \"console\",\n          \"constants\",\n          \"crypto\",\n          \"dgram\",\n          \"diagnostics_channel\",\n          \"dns\",\n          \"dns/promises\",\n          \"domain\",\n          \"events\",\n          \"fs\",\n          \"fs/promises\",\n          \"http\",\n          \"https\",\n          \"http2\",\n          \"inspector\",\n          \"module\",\n          \"net\",\n          \"os\",\n          \"path\",\n          \"perf_hooks\",\n          \"process\",\n          \"punycode\",\n          \"querystring\",\n          \"readline\",\n          \"repl\",\n          \"stream\",\n          \"stream/promises\",\n          \"string_decoder\",\n          \"timers\",\n          \"timers/promises\",\n          \"tls\",\n          \"trace_events\",\n          \"tty\",\n          \"url\",\n          \"util\",\n          \"util/types\",\n          \"v8\",\n          \"vm\",\n          \"wasi\",\n          \"worker_threads\",\n          \"zlib\"\n        ];\n        prefixedNodeCoreModuleList = unprefixedNodeCoreModuleList.map((name) => `node:${name}`);\n        nodeCoreModuleList = [...unprefixedNodeCoreModuleList, ...prefixedNodeCoreModuleList];\n        nodeCoreModules = new Set(nodeCoreModuleList);\n        NameValidationResult = /* @__PURE__ */ ((NameValidationResult2) => {\n          NameValidationResult2[NameValidationResult2[\"Ok\"] = 0] = \"Ok\";\n          NameValidationResult2[NameValidationResult2[\"EmptyName\"] = 1] = \"EmptyName\";\n          NameValidationResult2[NameValidationResult2[\"NameTooLong\"] = 2] = \"NameTooLong\";\n          NameValidationResult2[NameValidationResult2[\"NameStartsWithDot\"] = 3] = \"NameStartsWithDot\";\n          NameValidationResult2[NameValidationResult2[\"NameStartsWithUnderscore\"] = 4] = \"NameStartsWithUnderscore\";\n          NameValidationResult2[NameValidationResult2[\"NameContainsNonURISafeCharacters\"] = 5] = \"NameContainsNonURISafeCharacters\";\n          return NameValidationResult2;\n        })(NameValidationResult || {});\n        maxPackageNameLength = 214;\n      }\n    });\n    var ts_JsTyping_exports = {};\n    __export2(ts_JsTyping_exports, {\n      NameValidationResult: () => NameValidationResult,\n      discoverTypings: () => discoverTypings,\n      isTypingUpToDate: () => isTypingUpToDate,\n      loadSafeList: () => loadSafeList,\n      loadTypesMap: () => loadTypesMap,\n      nodeCoreModuleList: () => nodeCoreModuleList,\n      nodeCoreModules: () => nodeCoreModules,\n      nonRelativeModuleNameForTypingCache: () => nonRelativeModuleNameForTypingCache,\n      prefixedNodeCoreModuleList: () => prefixedNodeCoreModuleList,\n      renderPackageNameValidationFailure: () => renderPackageNameValidationFailure,\n      validatePackageName: () => validatePackageName\n    });\n    var init_ts_JsTyping = __esm({\n      \"src/jsTyping/_namespaces/ts.JsTyping.ts\"() {\n        \"use strict\";\n        init_jsTyping();\n      }\n    });\n    function hasArgument(argumentName) {\n      return sys.args.indexOf(argumentName) >= 0;\n    }\n    function findArgument(argumentName) {\n      const index = sys.args.indexOf(argumentName);\n      return index >= 0 && index < sys.args.length - 1 ? sys.args[index + 1] : void 0;\n    }\n    function nowString() {\n      const d = /* @__PURE__ */ new Date();\n      return `${padLeft(d.getHours().toString(), 2, \"0\")}:${padLeft(d.getMinutes().toString(), 2, \"0\")}:${padLeft(d.getSeconds().toString(), 2, \"0\")}.${padLeft(d.getMilliseconds().toString(), 3, \"0\")}`;\n    }\n    var ActionSet, ActionInvalidate, ActionPackageInstalled, EventTypesRegistry, EventBeginInstallTypes, EventEndInstallTypes, EventInitializationFailed, Arguments;\n    var init_shared = __esm({\n      \"src/jsTyping/shared.ts\"() {\n        \"use strict\";\n        init_ts3();\n        ActionSet = \"action::set\";\n        ActionInvalidate = \"action::invalidate\";\n        ActionPackageInstalled = \"action::packageInstalled\";\n        EventTypesRegistry = \"event::typesRegistry\";\n        EventBeginInstallTypes = \"event::beginInstallTypes\";\n        EventEndInstallTypes = \"event::endInstallTypes\";\n        EventInitializationFailed = \"event::initializationFailed\";\n        ((Arguments2) => {\n          Arguments2.GlobalCacheLocation = \"--globalTypingsCacheLocation\";\n          Arguments2.LogFile = \"--logFile\";\n          Arguments2.EnableTelemetry = \"--enableTelemetry\";\n          Arguments2.TypingSafeListLocation = \"--typingSafeListLocation\";\n          Arguments2.TypesMapLocation = \"--typesMapLocation\";\n          Arguments2.NpmLocation = \"--npmLocation\";\n          Arguments2.ValidateDefaultNpmLocation = \"--validateDefaultNpmLocation\";\n        })(Arguments || (Arguments = {}));\n      }\n    });\n    var init_types2 = __esm({\n      \"src/jsTyping/types.ts\"() {\n        \"use strict\";\n      }\n    });\n    var ts_server_exports = {};\n    __export2(ts_server_exports, {\n      ActionInvalidate: () => ActionInvalidate,\n      ActionPackageInstalled: () => ActionPackageInstalled,\n      ActionSet: () => ActionSet,\n      Arguments: () => Arguments,\n      EventBeginInstallTypes: () => EventBeginInstallTypes,\n      EventEndInstallTypes: () => EventEndInstallTypes,\n      EventInitializationFailed: () => EventInitializationFailed,\n      EventTypesRegistry: () => EventTypesRegistry,\n      findArgument: () => findArgument,\n      hasArgument: () => hasArgument,\n      nowString: () => nowString\n    });\n    var init_ts_server = __esm({\n      \"src/jsTyping/_namespaces/ts.server.ts\"() {\n        \"use strict\";\n        init_shared();\n        init_types2();\n      }\n    });\n    var init_ts3 = __esm({\n      \"src/jsTyping/_namespaces/ts.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts_JsTyping();\n        init_ts_server();\n      }\n    });\n    function getDefaultFormatCodeSettings(newLineCharacter) {\n      return {\n        indentSize: 4,\n        tabSize: 4,\n        newLineCharacter: newLineCharacter || \"\\n\",\n        convertTabsToSpaces: true,\n        indentStyle: 2,\n        insertSpaceAfterConstructor: false,\n        insertSpaceAfterCommaDelimiter: true,\n        insertSpaceAfterSemicolonInForStatements: true,\n        insertSpaceBeforeAndAfterBinaryOperators: true,\n        insertSpaceAfterKeywordsInControlFlowStatements: true,\n        insertSpaceAfterFunctionKeywordForAnonymousFunctions: false,\n        insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: false,\n        insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: false,\n        insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: true,\n        insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: false,\n        insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces: false,\n        insertSpaceBeforeFunctionParenthesis: false,\n        placeOpenBraceOnNewLineForFunctions: false,\n        placeOpenBraceOnNewLineForControlBlocks: false,\n        semicolons: \"ignore\",\n        trimTrailingWhitespace: true\n      };\n    }\n    var ScriptSnapshot, PackageJsonDependencyGroup, PackageJsonAutoImportPreference, LanguageServiceMode, emptyOptions, SemanticClassificationFormat, OrganizeImportsMode, CompletionTriggerKind2, InlayHintKind3, HighlightSpanKind, IndentStyle2, SemicolonPreference, testFormatSettings, SymbolDisplayPartKind, CompletionInfoFlags, OutliningSpanKind, OutputFileType, EndOfLineState2, TokenClass2, ScriptElementKind, ScriptElementKindModifier, ClassificationTypeNames, ClassificationType;\n    var init_types3 = __esm({\n      \"src/services/types.ts\"() {\n        \"use strict\";\n        ((ScriptSnapshot2) => {\n          class StringScriptSnapshot {\n            constructor(text) {\n              this.text = text;\n            }\n            getText(start, end) {\n              return start === 0 && end === this.text.length ? this.text : this.text.substring(start, end);\n            }\n            getLength() {\n              return this.text.length;\n            }\n            getChangeRange() {\n              return void 0;\n            }\n          }\n          function fromString(text) {\n            return new StringScriptSnapshot(text);\n          }\n          ScriptSnapshot2.fromString = fromString;\n        })(ScriptSnapshot || (ScriptSnapshot = {}));\n        PackageJsonDependencyGroup = /* @__PURE__ */ ((PackageJsonDependencyGroup2) => {\n          PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"Dependencies\"] = 1] = \"Dependencies\";\n          PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"DevDependencies\"] = 2] = \"DevDependencies\";\n          PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"PeerDependencies\"] = 4] = \"PeerDependencies\";\n          PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"OptionalDependencies\"] = 8] = \"OptionalDependencies\";\n          PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"All\"] = 15] = \"All\";\n          return PackageJsonDependencyGroup2;\n        })(PackageJsonDependencyGroup || {});\n        PackageJsonAutoImportPreference = /* @__PURE__ */ ((PackageJsonAutoImportPreference2) => {\n          PackageJsonAutoImportPreference2[PackageJsonAutoImportPreference2[\"Off\"] = 0] = \"Off\";\n          PackageJsonAutoImportPreference2[PackageJsonAutoImportPreference2[\"On\"] = 1] = \"On\";\n          PackageJsonAutoImportPreference2[PackageJsonAutoImportPreference2[\"Auto\"] = 2] = \"Auto\";\n          return PackageJsonAutoImportPreference2;\n        })(PackageJsonAutoImportPreference || {});\n        LanguageServiceMode = /* @__PURE__ */ ((LanguageServiceMode2) => {\n          LanguageServiceMode2[LanguageServiceMode2[\"Semantic\"] = 0] = \"Semantic\";\n          LanguageServiceMode2[LanguageServiceMode2[\"PartialSemantic\"] = 1] = \"PartialSemantic\";\n          LanguageServiceMode2[LanguageServiceMode2[\"Syntactic\"] = 2] = \"Syntactic\";\n          return LanguageServiceMode2;\n        })(LanguageServiceMode || {});\n        emptyOptions = {};\n        SemanticClassificationFormat = /* @__PURE__ */ ((SemanticClassificationFormat3) => {\n          SemanticClassificationFormat3[\"Original\"] = \"original\";\n          SemanticClassificationFormat3[\"TwentyTwenty\"] = \"2020\";\n          return SemanticClassificationFormat3;\n        })(SemanticClassificationFormat || {});\n        OrganizeImportsMode = /* @__PURE__ */ ((OrganizeImportsMode2) => {\n          OrganizeImportsMode2[\"All\"] = \"All\";\n          OrganizeImportsMode2[\"SortAndCombine\"] = \"SortAndCombine\";\n          OrganizeImportsMode2[\"RemoveUnused\"] = \"RemoveUnused\";\n          return OrganizeImportsMode2;\n        })(OrganizeImportsMode || {});\n        CompletionTriggerKind2 = /* @__PURE__ */ ((CompletionTriggerKind22) => {\n          CompletionTriggerKind22[CompletionTriggerKind22[\"Invoked\"] = 1] = \"Invoked\";\n          CompletionTriggerKind22[CompletionTriggerKind22[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n          CompletionTriggerKind22[CompletionTriggerKind22[\"TriggerForIncompleteCompletions\"] = 3] = \"TriggerForIncompleteCompletions\";\n          return CompletionTriggerKind22;\n        })(CompletionTriggerKind2 || {});\n        InlayHintKind3 = /* @__PURE__ */ ((InlayHintKind22) => {\n          InlayHintKind22[\"Type\"] = \"Type\";\n          InlayHintKind22[\"Parameter\"] = \"Parameter\";\n          InlayHintKind22[\"Enum\"] = \"Enum\";\n          return InlayHintKind22;\n        })(InlayHintKind3 || {});\n        HighlightSpanKind = /* @__PURE__ */ ((HighlightSpanKind2) => {\n          HighlightSpanKind2[\"none\"] = \"none\";\n          HighlightSpanKind2[\"definition\"] = \"definition\";\n          HighlightSpanKind2[\"reference\"] = \"reference\";\n          HighlightSpanKind2[\"writtenReference\"] = \"writtenReference\";\n          return HighlightSpanKind2;\n        })(HighlightSpanKind || {});\n        IndentStyle2 = /* @__PURE__ */ ((IndentStyle22) => {\n          IndentStyle22[IndentStyle22[\"None\"] = 0] = \"None\";\n          IndentStyle22[IndentStyle22[\"Block\"] = 1] = \"Block\";\n          IndentStyle22[IndentStyle22[\"Smart\"] = 2] = \"Smart\";\n          return IndentStyle22;\n        })(IndentStyle2 || {});\n        SemicolonPreference = /* @__PURE__ */ ((SemicolonPreference2) => {\n          SemicolonPreference2[\"Ignore\"] = \"ignore\";\n          SemicolonPreference2[\"Insert\"] = \"insert\";\n          SemicolonPreference2[\"Remove\"] = \"remove\";\n          return SemicolonPreference2;\n        })(SemicolonPreference || {});\n        testFormatSettings = getDefaultFormatCodeSettings(\"\\n\");\n        SymbolDisplayPartKind = /* @__PURE__ */ ((SymbolDisplayPartKind2) => {\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"aliasName\"] = 0] = \"aliasName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"className\"] = 1] = \"className\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"enumName\"] = 2] = \"enumName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"fieldName\"] = 3] = \"fieldName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"interfaceName\"] = 4] = \"interfaceName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"keyword\"] = 5] = \"keyword\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"lineBreak\"] = 6] = \"lineBreak\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"numericLiteral\"] = 7] = \"numericLiteral\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"stringLiteral\"] = 8] = \"stringLiteral\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"localName\"] = 9] = \"localName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"methodName\"] = 10] = \"methodName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"moduleName\"] = 11] = \"moduleName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"operator\"] = 12] = \"operator\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"parameterName\"] = 13] = \"parameterName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"propertyName\"] = 14] = \"propertyName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"punctuation\"] = 15] = \"punctuation\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"space\"] = 16] = \"space\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"text\"] = 17] = \"text\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"typeParameterName\"] = 18] = \"typeParameterName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"enumMemberName\"] = 19] = \"enumMemberName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"functionName\"] = 20] = \"functionName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"regularExpressionLiteral\"] = 21] = \"regularExpressionLiteral\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"link\"] = 22] = \"link\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"linkName\"] = 23] = \"linkName\";\n          SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"linkText\"] = 24] = \"linkText\";\n          return SymbolDisplayPartKind2;\n        })(SymbolDisplayPartKind || {});\n        CompletionInfoFlags = /* @__PURE__ */ ((CompletionInfoFlags2) => {\n          CompletionInfoFlags2[CompletionInfoFlags2[\"None\"] = 0] = \"None\";\n          CompletionInfoFlags2[CompletionInfoFlags2[\"MayIncludeAutoImports\"] = 1] = \"MayIncludeAutoImports\";\n          CompletionInfoFlags2[CompletionInfoFlags2[\"IsImportStatementCompletion\"] = 2] = \"IsImportStatementCompletion\";\n          CompletionInfoFlags2[CompletionInfoFlags2[\"IsContinuation\"] = 4] = \"IsContinuation\";\n          CompletionInfoFlags2[CompletionInfoFlags2[\"ResolvedModuleSpecifiers\"] = 8] = \"ResolvedModuleSpecifiers\";\n          CompletionInfoFlags2[CompletionInfoFlags2[\"ResolvedModuleSpecifiersBeyondLimit\"] = 16] = \"ResolvedModuleSpecifiersBeyondLimit\";\n          CompletionInfoFlags2[CompletionInfoFlags2[\"MayIncludeMethodSnippets\"] = 32] = \"MayIncludeMethodSnippets\";\n          return CompletionInfoFlags2;\n        })(CompletionInfoFlags || {});\n        OutliningSpanKind = /* @__PURE__ */ ((OutliningSpanKind2) => {\n          OutliningSpanKind2[\"Comment\"] = \"comment\";\n          OutliningSpanKind2[\"Region\"] = \"region\";\n          OutliningSpanKind2[\"Code\"] = \"code\";\n          OutliningSpanKind2[\"Imports\"] = \"imports\";\n          return OutliningSpanKind2;\n        })(OutliningSpanKind || {});\n        OutputFileType = /* @__PURE__ */ ((OutputFileType2) => {\n          OutputFileType2[OutputFileType2[\"JavaScript\"] = 0] = \"JavaScript\";\n          OutputFileType2[OutputFileType2[\"SourceMap\"] = 1] = \"SourceMap\";\n          OutputFileType2[OutputFileType2[\"Declaration\"] = 2] = \"Declaration\";\n          return OutputFileType2;\n        })(OutputFileType || {});\n        EndOfLineState2 = /* @__PURE__ */ ((EndOfLineState3) => {\n          EndOfLineState3[EndOfLineState3[\"None\"] = 0] = \"None\";\n          EndOfLineState3[EndOfLineState3[\"InMultiLineCommentTrivia\"] = 1] = \"InMultiLineCommentTrivia\";\n          EndOfLineState3[EndOfLineState3[\"InSingleQuoteStringLiteral\"] = 2] = \"InSingleQuoteStringLiteral\";\n          EndOfLineState3[EndOfLineState3[\"InDoubleQuoteStringLiteral\"] = 3] = \"InDoubleQuoteStringLiteral\";\n          EndOfLineState3[EndOfLineState3[\"InTemplateHeadOrNoSubstitutionTemplate\"] = 4] = \"InTemplateHeadOrNoSubstitutionTemplate\";\n          EndOfLineState3[EndOfLineState3[\"InTemplateMiddleOrTail\"] = 5] = \"InTemplateMiddleOrTail\";\n          EndOfLineState3[EndOfLineState3[\"InTemplateSubstitutionPosition\"] = 6] = \"InTemplateSubstitutionPosition\";\n          return EndOfLineState3;\n        })(EndOfLineState2 || {});\n        TokenClass2 = /* @__PURE__ */ ((TokenClass22) => {\n          TokenClass22[TokenClass22[\"Punctuation\"] = 0] = \"Punctuation\";\n          TokenClass22[TokenClass22[\"Keyword\"] = 1] = \"Keyword\";\n          TokenClass22[TokenClass22[\"Operator\"] = 2] = \"Operator\";\n          TokenClass22[TokenClass22[\"Comment\"] = 3] = \"Comment\";\n          TokenClass22[TokenClass22[\"Whitespace\"] = 4] = \"Whitespace\";\n          TokenClass22[TokenClass22[\"Identifier\"] = 5] = \"Identifier\";\n          TokenClass22[TokenClass22[\"NumberLiteral\"] = 6] = \"NumberLiteral\";\n          TokenClass22[TokenClass22[\"BigIntLiteral\"] = 7] = \"BigIntLiteral\";\n          TokenClass22[TokenClass22[\"StringLiteral\"] = 8] = \"StringLiteral\";\n          TokenClass22[TokenClass22[\"RegExpLiteral\"] = 9] = \"RegExpLiteral\";\n          return TokenClass22;\n        })(TokenClass2 || {});\n        ScriptElementKind = /* @__PURE__ */ ((ScriptElementKind2) => {\n          ScriptElementKind2[\"unknown\"] = \"\";\n          ScriptElementKind2[\"warning\"] = \"warning\";\n          ScriptElementKind2[\"keyword\"] = \"keyword\";\n          ScriptElementKind2[\"scriptElement\"] = \"script\";\n          ScriptElementKind2[\"moduleElement\"] = \"module\";\n          ScriptElementKind2[\"classElement\"] = \"class\";\n          ScriptElementKind2[\"localClassElement\"] = \"local class\";\n          ScriptElementKind2[\"interfaceElement\"] = \"interface\";\n          ScriptElementKind2[\"typeElement\"] = \"type\";\n          ScriptElementKind2[\"enumElement\"] = \"enum\";\n          ScriptElementKind2[\"enumMemberElement\"] = \"enum member\";\n          ScriptElementKind2[\"variableElement\"] = \"var\";\n          ScriptElementKind2[\"localVariableElement\"] = \"local var\";\n          ScriptElementKind2[\"functionElement\"] = \"function\";\n          ScriptElementKind2[\"localFunctionElement\"] = \"local function\";\n          ScriptElementKind2[\"memberFunctionElement\"] = \"method\";\n          ScriptElementKind2[\"memberGetAccessorElement\"] = \"getter\";\n          ScriptElementKind2[\"memberSetAccessorElement\"] = \"setter\";\n          ScriptElementKind2[\"memberVariableElement\"] = \"property\";\n          ScriptElementKind2[\"memberAccessorVariableElement\"] = \"accessor\";\n          ScriptElementKind2[\"constructorImplementationElement\"] = \"constructor\";\n          ScriptElementKind2[\"callSignatureElement\"] = \"call\";\n          ScriptElementKind2[\"indexSignatureElement\"] = \"index\";\n          ScriptElementKind2[\"constructSignatureElement\"] = \"construct\";\n          ScriptElementKind2[\"parameterElement\"] = \"parameter\";\n          ScriptElementKind2[\"typeParameterElement\"] = \"type parameter\";\n          ScriptElementKind2[\"primitiveType\"] = \"primitive type\";\n          ScriptElementKind2[\"label\"] = \"label\";\n          ScriptElementKind2[\"alias\"] = \"alias\";\n          ScriptElementKind2[\"constElement\"] = \"const\";\n          ScriptElementKind2[\"letElement\"] = \"let\";\n          ScriptElementKind2[\"directory\"] = \"directory\";\n          ScriptElementKind2[\"externalModuleName\"] = \"external module name\";\n          ScriptElementKind2[\"jsxAttribute\"] = \"JSX attribute\";\n          ScriptElementKind2[\"string\"] = \"string\";\n          ScriptElementKind2[\"link\"] = \"link\";\n          ScriptElementKind2[\"linkName\"] = \"link name\";\n          ScriptElementKind2[\"linkText\"] = \"link text\";\n          return ScriptElementKind2;\n        })(ScriptElementKind || {});\n        ScriptElementKindModifier = /* @__PURE__ */ ((ScriptElementKindModifier2) => {\n          ScriptElementKindModifier2[\"none\"] = \"\";\n          ScriptElementKindModifier2[\"publicMemberModifier\"] = \"public\";\n          ScriptElementKindModifier2[\"privateMemberModifier\"] = \"private\";\n          ScriptElementKindModifier2[\"protectedMemberModifier\"] = \"protected\";\n          ScriptElementKindModifier2[\"exportedModifier\"] = \"export\";\n          ScriptElementKindModifier2[\"ambientModifier\"] = \"declare\";\n          ScriptElementKindModifier2[\"staticModifier\"] = \"static\";\n          ScriptElementKindModifier2[\"abstractModifier\"] = \"abstract\";\n          ScriptElementKindModifier2[\"optionalModifier\"] = \"optional\";\n          ScriptElementKindModifier2[\"deprecatedModifier\"] = \"deprecated\";\n          ScriptElementKindModifier2[\"dtsModifier\"] = \".d.ts\";\n          ScriptElementKindModifier2[\"tsModifier\"] = \".ts\";\n          ScriptElementKindModifier2[\"tsxModifier\"] = \".tsx\";\n          ScriptElementKindModifier2[\"jsModifier\"] = \".js\";\n          ScriptElementKindModifier2[\"jsxModifier\"] = \".jsx\";\n          ScriptElementKindModifier2[\"jsonModifier\"] = \".json\";\n          ScriptElementKindModifier2[\"dmtsModifier\"] = \".d.mts\";\n          ScriptElementKindModifier2[\"mtsModifier\"] = \".mts\";\n          ScriptElementKindModifier2[\"mjsModifier\"] = \".mjs\";\n          ScriptElementKindModifier2[\"dctsModifier\"] = \".d.cts\";\n          ScriptElementKindModifier2[\"ctsModifier\"] = \".cts\";\n          ScriptElementKindModifier2[\"cjsModifier\"] = \".cjs\";\n          return ScriptElementKindModifier2;\n        })(ScriptElementKindModifier || {});\n        ClassificationTypeNames = /* @__PURE__ */ ((ClassificationTypeNames2) => {\n          ClassificationTypeNames2[\"comment\"] = \"comment\";\n          ClassificationTypeNames2[\"identifier\"] = \"identifier\";\n          ClassificationTypeNames2[\"keyword\"] = \"keyword\";\n          ClassificationTypeNames2[\"numericLiteral\"] = \"number\";\n          ClassificationTypeNames2[\"bigintLiteral\"] = \"bigint\";\n          ClassificationTypeNames2[\"operator\"] = \"operator\";\n          ClassificationTypeNames2[\"stringLiteral\"] = \"string\";\n          ClassificationTypeNames2[\"whiteSpace\"] = \"whitespace\";\n          ClassificationTypeNames2[\"text\"] = \"text\";\n          ClassificationTypeNames2[\"punctuation\"] = \"punctuation\";\n          ClassificationTypeNames2[\"className\"] = \"class name\";\n          ClassificationTypeNames2[\"enumName\"] = \"enum name\";\n          ClassificationTypeNames2[\"interfaceName\"] = \"interface name\";\n          ClassificationTypeNames2[\"moduleName\"] = \"module name\";\n          ClassificationTypeNames2[\"typeParameterName\"] = \"type parameter name\";\n          ClassificationTypeNames2[\"typeAliasName\"] = \"type alias name\";\n          ClassificationTypeNames2[\"parameterName\"] = \"parameter name\";\n          ClassificationTypeNames2[\"docCommentTagName\"] = \"doc comment tag name\";\n          ClassificationTypeNames2[\"jsxOpenTagName\"] = \"jsx open tag name\";\n          ClassificationTypeNames2[\"jsxCloseTagName\"] = \"jsx close tag name\";\n          ClassificationTypeNames2[\"jsxSelfClosingTagName\"] = \"jsx self closing tag name\";\n          ClassificationTypeNames2[\"jsxAttribute\"] = \"jsx attribute\";\n          ClassificationTypeNames2[\"jsxText\"] = \"jsx text\";\n          ClassificationTypeNames2[\"jsxAttributeStringLiteralValue\"] = \"jsx attribute string literal value\";\n          return ClassificationTypeNames2;\n        })(ClassificationTypeNames || {});\n        ClassificationType = /* @__PURE__ */ ((ClassificationType2) => {\n          ClassificationType2[ClassificationType2[\"comment\"] = 1] = \"comment\";\n          ClassificationType2[ClassificationType2[\"identifier\"] = 2] = \"identifier\";\n          ClassificationType2[ClassificationType2[\"keyword\"] = 3] = \"keyword\";\n          ClassificationType2[ClassificationType2[\"numericLiteral\"] = 4] = \"numericLiteral\";\n          ClassificationType2[ClassificationType2[\"operator\"] = 5] = \"operator\";\n          ClassificationType2[ClassificationType2[\"stringLiteral\"] = 6] = \"stringLiteral\";\n          ClassificationType2[ClassificationType2[\"regularExpressionLiteral\"] = 7] = \"regularExpressionLiteral\";\n          ClassificationType2[ClassificationType2[\"whiteSpace\"] = 8] = \"whiteSpace\";\n          ClassificationType2[ClassificationType2[\"text\"] = 9] = \"text\";\n          ClassificationType2[ClassificationType2[\"punctuation\"] = 10] = \"punctuation\";\n          ClassificationType2[ClassificationType2[\"className\"] = 11] = \"className\";\n          ClassificationType2[ClassificationType2[\"enumName\"] = 12] = \"enumName\";\n          ClassificationType2[ClassificationType2[\"interfaceName\"] = 13] = \"interfaceName\";\n          ClassificationType2[ClassificationType2[\"moduleName\"] = 14] = \"moduleName\";\n          ClassificationType2[ClassificationType2[\"typeParameterName\"] = 15] = \"typeParameterName\";\n          ClassificationType2[ClassificationType2[\"typeAliasName\"] = 16] = \"typeAliasName\";\n          ClassificationType2[ClassificationType2[\"parameterName\"] = 17] = \"parameterName\";\n          ClassificationType2[ClassificationType2[\"docCommentTagName\"] = 18] = \"docCommentTagName\";\n          ClassificationType2[ClassificationType2[\"jsxOpenTagName\"] = 19] = \"jsxOpenTagName\";\n          ClassificationType2[ClassificationType2[\"jsxCloseTagName\"] = 20] = \"jsxCloseTagName\";\n          ClassificationType2[ClassificationType2[\"jsxSelfClosingTagName\"] = 21] = \"jsxSelfClosingTagName\";\n          ClassificationType2[ClassificationType2[\"jsxAttribute\"] = 22] = \"jsxAttribute\";\n          ClassificationType2[ClassificationType2[\"jsxText\"] = 23] = \"jsxText\";\n          ClassificationType2[ClassificationType2[\"jsxAttributeStringLiteralValue\"] = 24] = \"jsxAttributeStringLiteralValue\";\n          ClassificationType2[ClassificationType2[\"bigintLiteral\"] = 25] = \"bigintLiteral\";\n          return ClassificationType2;\n        })(ClassificationType || {});\n      }\n    });\n    function getMeaningFromDeclaration(node) {\n      switch (node.kind) {\n        case 257:\n          return isInJSFile(node) && getJSDocEnumTag(node) ? 7 : 1;\n        case 166:\n        case 205:\n        case 169:\n        case 168:\n        case 299:\n        case 300:\n        case 171:\n        case 170:\n        case 173:\n        case 174:\n        case 175:\n        case 259:\n        case 215:\n        case 216:\n        case 295:\n        case 288:\n          return 1;\n        case 165:\n        case 261:\n        case 262:\n        case 184:\n          return 2;\n        case 349:\n          return node.name === void 0 ? 1 | 2 : 2;\n        case 302:\n        case 260:\n          return 1 | 2;\n        case 264:\n          if (isAmbientModule(node)) {\n            return 4 | 1;\n          } else if (getModuleInstanceState(node) === 1) {\n            return 4 | 1;\n          } else {\n            return 4;\n          }\n        case 263:\n        case 272:\n        case 273:\n        case 268:\n        case 269:\n        case 274:\n        case 275:\n          return 7;\n        case 308:\n          return 4 | 1;\n      }\n      return 7;\n    }\n    function getMeaningFromLocation(node) {\n      node = getAdjustedReferenceLocation(node);\n      const parent2 = node.parent;\n      if (node.kind === 308) {\n        return 1;\n      } else if (isExportAssignment(parent2) || isExportSpecifier(parent2) || isExternalModuleReference(parent2) || isImportSpecifier(parent2) || isImportClause(parent2) || isImportEqualsDeclaration(parent2) && node === parent2.name) {\n        return 7;\n      } else if (isInRightSideOfInternalImportEqualsDeclaration(node)) {\n        return getMeaningFromRightHandSideOfImportEquals(node);\n      } else if (isDeclarationName(node)) {\n        return getMeaningFromDeclaration(parent2);\n      } else if (isEntityName(node) && findAncestor(node, or(isJSDocNameReference, isJSDocLinkLike, isJSDocMemberName))) {\n        return 7;\n      } else if (isTypeReference(node)) {\n        return 2;\n      } else if (isNamespaceReference(node)) {\n        return 4;\n      } else if (isTypeParameterDeclaration(parent2)) {\n        Debug2.assert(isJSDocTemplateTag(parent2.parent));\n        return 2;\n      } else if (isLiteralTypeNode(parent2)) {\n        return 2 | 1;\n      } else {\n        return 1;\n      }\n    }\n    function getMeaningFromRightHandSideOfImportEquals(node) {\n      const name = node.kind === 163 ? node : isQualifiedName(node.parent) && node.parent.right === node ? node.parent : void 0;\n      return name && name.parent.kind === 268 ? 7 : 4;\n    }\n    function isInRightSideOfInternalImportEqualsDeclaration(node) {\n      while (node.parent.kind === 163) {\n        node = node.parent;\n      }\n      return isInternalModuleImportEqualsDeclaration(node.parent) && node.parent.moduleReference === node;\n    }\n    function isNamespaceReference(node) {\n      return isQualifiedNameNamespaceReference(node) || isPropertyAccessNamespaceReference(node);\n    }\n    function isQualifiedNameNamespaceReference(node) {\n      let root = node;\n      let isLastClause = true;\n      if (root.parent.kind === 163) {\n        while (root.parent && root.parent.kind === 163) {\n          root = root.parent;\n        }\n        isLastClause = root.right === node;\n      }\n      return root.parent.kind === 180 && !isLastClause;\n    }\n    function isPropertyAccessNamespaceReference(node) {\n      let root = node;\n      let isLastClause = true;\n      if (root.parent.kind === 208) {\n        while (root.parent && root.parent.kind === 208) {\n          root = root.parent;\n        }\n        isLastClause = root.name === node;\n      }\n      if (!isLastClause && root.parent.kind === 230 && root.parent.parent.kind === 294) {\n        const decl = root.parent.parent.parent;\n        return decl.kind === 260 && root.parent.parent.token === 117 || decl.kind === 261 && root.parent.parent.token === 94;\n      }\n      return false;\n    }\n    function isTypeReference(node) {\n      if (isRightSideOfQualifiedNameOrPropertyAccess(node)) {\n        node = node.parent;\n      }\n      switch (node.kind) {\n        case 108:\n          return !isExpressionNode(node);\n        case 194:\n          return true;\n      }\n      switch (node.parent.kind) {\n        case 180:\n          return true;\n        case 202:\n          return !node.parent.isTypeOf;\n        case 230:\n          return isPartOfTypeNode(node.parent);\n      }\n      return false;\n    }\n    function isCallExpressionTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n      return isCalleeWorker(node, isCallExpression, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n    }\n    function isNewExpressionTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n      return isCalleeWorker(node, isNewExpression, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n    }\n    function isCallOrNewExpressionTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n      return isCalleeWorker(node, isCallOrNewExpression, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n    }\n    function isTaggedTemplateTag(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n      return isCalleeWorker(node, isTaggedTemplateExpression, selectTagOfTaggedTemplateExpression, includeElementAccess, skipPastOuterExpressions);\n    }\n    function isDecoratorTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n      return isCalleeWorker(node, isDecorator, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n    }\n    function isJsxOpeningLikeElementTagName(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n      return isCalleeWorker(node, isJsxOpeningLikeElement, selectTagNameOfJsxOpeningLikeElement, includeElementAccess, skipPastOuterExpressions);\n    }\n    function selectExpressionOfCallOrNewExpressionOrDecorator(node) {\n      return node.expression;\n    }\n    function selectTagOfTaggedTemplateExpression(node) {\n      return node.tag;\n    }\n    function selectTagNameOfJsxOpeningLikeElement(node) {\n      return node.tagName;\n    }\n    function isCalleeWorker(node, pred, calleeSelector, includeElementAccess, skipPastOuterExpressions) {\n      let target = includeElementAccess ? climbPastPropertyOrElementAccess(node) : climbPastPropertyAccess(node);\n      if (skipPastOuterExpressions) {\n        target = skipOuterExpressions(target);\n      }\n      return !!target && !!target.parent && pred(target.parent) && calleeSelector(target.parent) === target;\n    }\n    function climbPastPropertyAccess(node) {\n      return isRightSideOfPropertyAccess(node) ? node.parent : node;\n    }\n    function climbPastPropertyOrElementAccess(node) {\n      return isRightSideOfPropertyAccess(node) || isArgumentExpressionOfElementAccess(node) ? node.parent : node;\n    }\n    function getTargetLabel(referenceNode, labelName) {\n      while (referenceNode) {\n        if (referenceNode.kind === 253 && referenceNode.label.escapedText === labelName) {\n          return referenceNode.label;\n        }\n        referenceNode = referenceNode.parent;\n      }\n      return void 0;\n    }\n    function hasPropertyAccessExpressionWithName(node, funcName) {\n      if (!isPropertyAccessExpression(node.expression)) {\n        return false;\n      }\n      return node.expression.name.text === funcName;\n    }\n    function isJumpStatementTarget(node) {\n      var _a22;\n      return isIdentifier(node) && ((_a22 = tryCast(node.parent, isBreakOrContinueStatement)) == null ? void 0 : _a22.label) === node;\n    }\n    function isLabelOfLabeledStatement(node) {\n      var _a22;\n      return isIdentifier(node) && ((_a22 = tryCast(node.parent, isLabeledStatement)) == null ? void 0 : _a22.label) === node;\n    }\n    function isLabelName(node) {\n      return isLabelOfLabeledStatement(node) || isJumpStatementTarget(node);\n    }\n    function isTagName(node) {\n      var _a22;\n      return ((_a22 = tryCast(node.parent, isJSDocTag)) == null ? void 0 : _a22.tagName) === node;\n    }\n    function isRightSideOfQualifiedName(node) {\n      var _a22;\n      return ((_a22 = tryCast(node.parent, isQualifiedName)) == null ? void 0 : _a22.right) === node;\n    }\n    function isRightSideOfPropertyAccess(node) {\n      var _a22;\n      return ((_a22 = tryCast(node.parent, isPropertyAccessExpression)) == null ? void 0 : _a22.name) === node;\n    }\n    function isArgumentExpressionOfElementAccess(node) {\n      var _a22;\n      return ((_a22 = tryCast(node.parent, isElementAccessExpression)) == null ? void 0 : _a22.argumentExpression) === node;\n    }\n    function isNameOfModuleDeclaration(node) {\n      var _a22;\n      return ((_a22 = tryCast(node.parent, isModuleDeclaration)) == null ? void 0 : _a22.name) === node;\n    }\n    function isNameOfFunctionDeclaration(node) {\n      var _a22;\n      return isIdentifier(node) && ((_a22 = tryCast(node.parent, isFunctionLike)) == null ? void 0 : _a22.name) === node;\n    }\n    function isLiteralNameOfPropertyDeclarationOrIndexAccess(node) {\n      switch (node.parent.kind) {\n        case 169:\n        case 168:\n        case 299:\n        case 302:\n        case 171:\n        case 170:\n        case 174:\n        case 175:\n        case 264:\n          return getNameOfDeclaration(node.parent) === node;\n        case 209:\n          return node.parent.argumentExpression === node;\n        case 164:\n          return true;\n        case 198:\n          return node.parent.parent.kind === 196;\n        default:\n          return false;\n      }\n    }\n    function isExpressionOfExternalModuleImportEqualsDeclaration(node) {\n      return isExternalModuleImportEqualsDeclaration(node.parent.parent) && getExternalModuleImportEqualsDeclarationExpression(node.parent.parent) === node;\n    }\n    function getContainerNode(node) {\n      if (isJSDocTypeAlias(node)) {\n        node = node.parent.parent;\n      }\n      while (true) {\n        node = node.parent;\n        if (!node) {\n          return void 0;\n        }\n        switch (node.kind) {\n          case 308:\n          case 171:\n          case 170:\n          case 259:\n          case 215:\n          case 174:\n          case 175:\n          case 260:\n          case 261:\n          case 263:\n          case 264:\n            return node;\n        }\n      }\n    }\n    function getNodeKind(node) {\n      switch (node.kind) {\n        case 308:\n          return isExternalModule(node) ? \"module\" : \"script\";\n        case 264:\n          return \"module\";\n        case 260:\n        case 228:\n          return \"class\";\n        case 261:\n          return \"interface\";\n        case 262:\n        case 341:\n        case 349:\n          return \"type\";\n        case 263:\n          return \"enum\";\n        case 257:\n          return getKindOfVariableDeclaration(node);\n        case 205:\n          return getKindOfVariableDeclaration(getRootDeclaration(node));\n        case 216:\n        case 259:\n        case 215:\n          return \"function\";\n        case 174:\n          return \"getter\";\n        case 175:\n          return \"setter\";\n        case 171:\n        case 170:\n          return \"method\";\n        case 299:\n          const { initializer } = node;\n          return isFunctionLike(initializer) ? \"method\" : \"property\";\n        case 169:\n        case 168:\n        case 300:\n        case 301:\n          return \"property\";\n        case 178:\n          return \"index\";\n        case 177:\n          return \"construct\";\n        case 176:\n          return \"call\";\n        case 173:\n        case 172:\n          return \"constructor\";\n        case 165:\n          return \"type parameter\";\n        case 302:\n          return \"enum member\";\n        case 166:\n          return hasSyntacticModifier(\n            node,\n            16476\n            /* ParameterPropertyModifier */\n          ) ? \"property\" : \"parameter\";\n        case 268:\n        case 273:\n        case 278:\n        case 271:\n        case 277:\n          return \"alias\";\n        case 223:\n          const kind = getAssignmentDeclarationKind(node);\n          const { right } = node;\n          switch (kind) {\n            case 7:\n            case 8:\n            case 9:\n            case 0:\n              return \"\";\n            case 1:\n            case 2:\n              const rightKind = getNodeKind(right);\n              return rightKind === \"\" ? \"const\" : rightKind;\n            case 3:\n              return isFunctionExpression(right) ? \"method\" : \"property\";\n            case 4:\n              return \"property\";\n            case 5:\n              return isFunctionExpression(right) ? \"method\" : \"property\";\n            case 6:\n              return \"local class\";\n            default: {\n              assertType(kind);\n              return \"\";\n            }\n          }\n        case 79:\n          return isImportClause(node.parent) ? \"alias\" : \"\";\n        case 274:\n          const scriptKind = getNodeKind(node.expression);\n          return scriptKind === \"\" ? \"const\" : scriptKind;\n        default:\n          return \"\";\n      }\n      function getKindOfVariableDeclaration(v) {\n        return isVarConst(v) ? \"const\" : isLet(v) ? \"let\" : \"var\";\n      }\n    }\n    function isThis(node) {\n      switch (node.kind) {\n        case 108:\n          return true;\n        case 79:\n          return identifierIsThisKeyword(node) && node.parent.kind === 166;\n        default:\n          return false;\n      }\n    }\n    function getLineStartPositionForPosition(position, sourceFile) {\n      const lineStarts = getLineStarts(sourceFile);\n      const line = sourceFile.getLineAndCharacterOfPosition(position).line;\n      return lineStarts[line];\n    }\n    function rangeContainsRange(r1, r2) {\n      return startEndContainsRange(r1.pos, r1.end, r2);\n    }\n    function rangeContainsRangeExclusive(r1, r2) {\n      return rangeContainsPositionExclusive(r1, r2.pos) && rangeContainsPositionExclusive(r1, r2.end);\n    }\n    function rangeContainsPosition(r, pos) {\n      return r.pos <= pos && pos <= r.end;\n    }\n    function rangeContainsPositionExclusive(r, pos) {\n      return r.pos < pos && pos < r.end;\n    }\n    function startEndContainsRange(start, end, range) {\n      return start <= range.pos && end >= range.end;\n    }\n    function rangeContainsStartEnd(range, start, end) {\n      return range.pos <= start && range.end >= end;\n    }\n    function rangeOverlapsWithStartEnd(r1, start, end) {\n      return startEndOverlapsWithStartEnd(r1.pos, r1.end, start, end);\n    }\n    function nodeOverlapsWithStartEnd(node, sourceFile, start, end) {\n      return startEndOverlapsWithStartEnd(node.getStart(sourceFile), node.end, start, end);\n    }\n    function startEndOverlapsWithStartEnd(start1, end1, start2, end2) {\n      const start = Math.max(start1, start2);\n      const end = Math.min(end1, end2);\n      return start < end;\n    }\n    function positionBelongsToNode(candidate, position, sourceFile) {\n      Debug2.assert(candidate.pos <= position);\n      return position < candidate.end || !isCompletedNode(candidate, sourceFile);\n    }\n    function isCompletedNode(n, sourceFile) {\n      if (n === void 0 || nodeIsMissing(n)) {\n        return false;\n      }\n      switch (n.kind) {\n        case 260:\n        case 261:\n        case 263:\n        case 207:\n        case 203:\n        case 184:\n        case 238:\n        case 265:\n        case 266:\n        case 272:\n        case 276:\n          return nodeEndsWith(n, 19, sourceFile);\n        case 295:\n          return isCompletedNode(n.block, sourceFile);\n        case 211:\n          if (!n.arguments) {\n            return true;\n          }\n        case 210:\n        case 214:\n        case 193:\n          return nodeEndsWith(n, 21, sourceFile);\n        case 181:\n        case 182:\n          return isCompletedNode(n.type, sourceFile);\n        case 173:\n        case 174:\n        case 175:\n        case 259:\n        case 215:\n        case 171:\n        case 170:\n        case 177:\n        case 176:\n        case 216:\n          if (n.body) {\n            return isCompletedNode(n.body, sourceFile);\n          }\n          if (n.type) {\n            return isCompletedNode(n.type, sourceFile);\n          }\n          return hasChildOfKind(n, 21, sourceFile);\n        case 264:\n          return !!n.body && isCompletedNode(n.body, sourceFile);\n        case 242:\n          if (n.elseStatement) {\n            return isCompletedNode(n.elseStatement, sourceFile);\n          }\n          return isCompletedNode(n.thenStatement, sourceFile);\n        case 241:\n          return isCompletedNode(n.expression, sourceFile) || hasChildOfKind(n, 26, sourceFile);\n        case 206:\n        case 204:\n        case 209:\n        case 164:\n        case 186:\n          return nodeEndsWith(n, 23, sourceFile);\n        case 178:\n          if (n.type) {\n            return isCompletedNode(n.type, sourceFile);\n          }\n          return hasChildOfKind(n, 23, sourceFile);\n        case 292:\n        case 293:\n          return false;\n        case 245:\n        case 246:\n        case 247:\n        case 244:\n          return isCompletedNode(n.statement, sourceFile);\n        case 243:\n          return hasChildOfKind(n, 115, sourceFile) ? nodeEndsWith(n, 21, sourceFile) : isCompletedNode(n.statement, sourceFile);\n        case 183:\n          return isCompletedNode(n.exprName, sourceFile);\n        case 218:\n        case 217:\n        case 219:\n        case 226:\n        case 227:\n          const unaryWordExpression = n;\n          return isCompletedNode(unaryWordExpression.expression, sourceFile);\n        case 212:\n          return isCompletedNode(n.template, sourceFile);\n        case 225:\n          const lastSpan = lastOrUndefined(n.templateSpans);\n          return isCompletedNode(lastSpan, sourceFile);\n        case 236:\n          return nodeIsPresent(n.literal);\n        case 275:\n        case 269:\n          return nodeIsPresent(n.moduleSpecifier);\n        case 221:\n          return isCompletedNode(n.operand, sourceFile);\n        case 223:\n          return isCompletedNode(n.right, sourceFile);\n        case 224:\n          return isCompletedNode(n.whenFalse, sourceFile);\n        default:\n          return true;\n      }\n    }\n    function nodeEndsWith(n, expectedLastToken, sourceFile) {\n      const children = n.getChildren(sourceFile);\n      if (children.length) {\n        const lastChild = last(children);\n        if (lastChild.kind === expectedLastToken) {\n          return true;\n        } else if (lastChild.kind === 26 && children.length !== 1) {\n          return children[children.length - 2].kind === expectedLastToken;\n        }\n      }\n      return false;\n    }\n    function findListItemInfo(node) {\n      const list = findContainingList(node);\n      if (!list) {\n        return void 0;\n      }\n      const children = list.getChildren();\n      const listItemIndex = indexOfNode(children, node);\n      return {\n        listItemIndex,\n        list\n      };\n    }\n    function hasChildOfKind(n, kind, sourceFile) {\n      return !!findChildOfKind(n, kind, sourceFile);\n    }\n    function findChildOfKind(n, kind, sourceFile) {\n      return find(n.getChildren(sourceFile), (c) => c.kind === kind);\n    }\n    function findContainingList(node) {\n      const syntaxList = find(node.parent.getChildren(), (c) => isSyntaxList(c) && rangeContainsRange(c, node));\n      Debug2.assert(!syntaxList || contains(syntaxList.getChildren(), node));\n      return syntaxList;\n    }\n    function isDefaultModifier2(node) {\n      return node.kind === 88;\n    }\n    function isClassKeyword(node) {\n      return node.kind === 84;\n    }\n    function isFunctionKeyword(node) {\n      return node.kind === 98;\n    }\n    function getAdjustedLocationForClass(node) {\n      if (isNamedDeclaration(node)) {\n        return node.name;\n      }\n      if (isClassDeclaration(node)) {\n        const defaultModifier = node.modifiers && find(node.modifiers, isDefaultModifier2);\n        if (defaultModifier)\n          return defaultModifier;\n      }\n      if (isClassExpression(node)) {\n        const classKeyword = find(node.getChildren(), isClassKeyword);\n        if (classKeyword)\n          return classKeyword;\n      }\n    }\n    function getAdjustedLocationForFunction(node) {\n      if (isNamedDeclaration(node)) {\n        return node.name;\n      }\n      if (isFunctionDeclaration(node)) {\n        const defaultModifier = find(node.modifiers, isDefaultModifier2);\n        if (defaultModifier)\n          return defaultModifier;\n      }\n      if (isFunctionExpression(node)) {\n        const functionKeyword = find(node.getChildren(), isFunctionKeyword);\n        if (functionKeyword)\n          return functionKeyword;\n      }\n    }\n    function getAncestorTypeNode(node) {\n      let lastTypeNode;\n      findAncestor(node, (a) => {\n        if (isTypeNode(a)) {\n          lastTypeNode = a;\n        }\n        return !isQualifiedName(a.parent) && !isTypeNode(a.parent) && !isTypeElement(a.parent);\n      });\n      return lastTypeNode;\n    }\n    function getContextualTypeFromParentOrAncestorTypeNode(node, checker) {\n      if (node.flags & (8388608 & ~262144))\n        return void 0;\n      const contextualType = getContextualTypeFromParent(node, checker);\n      if (contextualType)\n        return contextualType;\n      const ancestorTypeNode = getAncestorTypeNode(node);\n      return ancestorTypeNode && checker.getTypeAtLocation(ancestorTypeNode);\n    }\n    function getAdjustedLocationForDeclaration(node, forRename) {\n      if (!forRename) {\n        switch (node.kind) {\n          case 260:\n          case 228:\n            return getAdjustedLocationForClass(node);\n          case 259:\n          case 215:\n            return getAdjustedLocationForFunction(node);\n          case 173:\n            return node;\n        }\n      }\n      if (isNamedDeclaration(node)) {\n        return node.name;\n      }\n    }\n    function getAdjustedLocationForImportDeclaration(node, forRename) {\n      if (node.importClause) {\n        if (node.importClause.name && node.importClause.namedBindings) {\n          return;\n        }\n        if (node.importClause.name) {\n          return node.importClause.name;\n        }\n        if (node.importClause.namedBindings) {\n          if (isNamedImports(node.importClause.namedBindings)) {\n            const onlyBinding = singleOrUndefined(node.importClause.namedBindings.elements);\n            if (!onlyBinding) {\n              return;\n            }\n            return onlyBinding.name;\n          } else if (isNamespaceImport(node.importClause.namedBindings)) {\n            return node.importClause.namedBindings.name;\n          }\n        }\n      }\n      if (!forRename) {\n        return node.moduleSpecifier;\n      }\n    }\n    function getAdjustedLocationForExportDeclaration(node, forRename) {\n      if (node.exportClause) {\n        if (isNamedExports(node.exportClause)) {\n          const onlyBinding = singleOrUndefined(node.exportClause.elements);\n          if (!onlyBinding) {\n            return;\n          }\n          return node.exportClause.elements[0].name;\n        } else if (isNamespaceExport(node.exportClause)) {\n          return node.exportClause.name;\n        }\n      }\n      if (!forRename) {\n        return node.moduleSpecifier;\n      }\n    }\n    function getAdjustedLocationForHeritageClause(node) {\n      if (node.types.length === 1) {\n        return node.types[0].expression;\n      }\n    }\n    function getAdjustedLocation(node, forRename) {\n      const { parent: parent2 } = node;\n      if (isModifier(node) && (forRename || node.kind !== 88) ? canHaveModifiers(parent2) && contains(parent2.modifiers, node) : node.kind === 84 ? isClassDeclaration(parent2) || isClassExpression(node) : node.kind === 98 ? isFunctionDeclaration(parent2) || isFunctionExpression(node) : node.kind === 118 ? isInterfaceDeclaration(parent2) : node.kind === 92 ? isEnumDeclaration(parent2) : node.kind === 154 ? isTypeAliasDeclaration(parent2) : node.kind === 143 || node.kind === 142 ? isModuleDeclaration(parent2) : node.kind === 100 ? isImportEqualsDeclaration(parent2) : node.kind === 137 ? isGetAccessorDeclaration(parent2) : node.kind === 151 && isSetAccessorDeclaration(parent2)) {\n        const location = getAdjustedLocationForDeclaration(parent2, forRename);\n        if (location) {\n          return location;\n        }\n      }\n      if ((node.kind === 113 || node.kind === 85 || node.kind === 119) && isVariableDeclarationList(parent2) && parent2.declarations.length === 1) {\n        const decl = parent2.declarations[0];\n        if (isIdentifier(decl.name)) {\n          return decl.name;\n        }\n      }\n      if (node.kind === 154) {\n        if (isImportClause(parent2) && parent2.isTypeOnly) {\n          const location = getAdjustedLocationForImportDeclaration(parent2.parent, forRename);\n          if (location) {\n            return location;\n          }\n        }\n        if (isExportDeclaration(parent2) && parent2.isTypeOnly) {\n          const location = getAdjustedLocationForExportDeclaration(parent2, forRename);\n          if (location) {\n            return location;\n          }\n        }\n      }\n      if (node.kind === 128) {\n        if (isImportSpecifier(parent2) && parent2.propertyName || isExportSpecifier(parent2) && parent2.propertyName || isNamespaceImport(parent2) || isNamespaceExport(parent2)) {\n          return parent2.name;\n        }\n        if (isExportDeclaration(parent2) && parent2.exportClause && isNamespaceExport(parent2.exportClause)) {\n          return parent2.exportClause.name;\n        }\n      }\n      if (node.kind === 100 && isImportDeclaration(parent2)) {\n        const location = getAdjustedLocationForImportDeclaration(parent2, forRename);\n        if (location) {\n          return location;\n        }\n      }\n      if (node.kind === 93) {\n        if (isExportDeclaration(parent2)) {\n          const location = getAdjustedLocationForExportDeclaration(parent2, forRename);\n          if (location) {\n            return location;\n          }\n        }\n        if (isExportAssignment(parent2)) {\n          return skipOuterExpressions(parent2.expression);\n        }\n      }\n      if (node.kind === 147 && isExternalModuleReference(parent2)) {\n        return parent2.expression;\n      }\n      if (node.kind === 158 && (isImportDeclaration(parent2) || isExportDeclaration(parent2)) && parent2.moduleSpecifier) {\n        return parent2.moduleSpecifier;\n      }\n      if ((node.kind === 94 || node.kind === 117) && isHeritageClause(parent2) && parent2.token === node.kind) {\n        const location = getAdjustedLocationForHeritageClause(parent2);\n        if (location) {\n          return location;\n        }\n      }\n      if (node.kind === 94) {\n        if (isTypeParameterDeclaration(parent2) && parent2.constraint && isTypeReferenceNode(parent2.constraint)) {\n          return parent2.constraint.typeName;\n        }\n        if (isConditionalTypeNode(parent2) && isTypeReferenceNode(parent2.extendsType)) {\n          return parent2.extendsType.typeName;\n        }\n      }\n      if (node.kind === 138 && isInferTypeNode(parent2)) {\n        return parent2.typeParameter.name;\n      }\n      if (node.kind === 101 && isTypeParameterDeclaration(parent2) && isMappedTypeNode(parent2.parent)) {\n        return parent2.name;\n      }\n      if (node.kind === 141 && isTypeOperatorNode(parent2) && parent2.operator === 141 && isTypeReferenceNode(parent2.type)) {\n        return parent2.type.typeName;\n      }\n      if (node.kind === 146 && isTypeOperatorNode(parent2) && parent2.operator === 146 && isArrayTypeNode(parent2.type) && isTypeReferenceNode(parent2.type.elementType)) {\n        return parent2.type.elementType.typeName;\n      }\n      if (!forRename) {\n        if (node.kind === 103 && isNewExpression(parent2) || node.kind === 114 && isVoidExpression(parent2) || node.kind === 112 && isTypeOfExpression(parent2) || node.kind === 133 && isAwaitExpression(parent2) || node.kind === 125 && isYieldExpression(parent2) || node.kind === 89 && isDeleteExpression(parent2)) {\n          if (parent2.expression) {\n            return skipOuterExpressions(parent2.expression);\n          }\n        }\n        if ((node.kind === 101 || node.kind === 102) && isBinaryExpression(parent2) && parent2.operatorToken === node) {\n          return skipOuterExpressions(parent2.right);\n        }\n        if (node.kind === 128 && isAsExpression(parent2) && isTypeReferenceNode(parent2.type)) {\n          return parent2.type.typeName;\n        }\n        if (node.kind === 101 && isForInStatement(parent2) || node.kind === 162 && isForOfStatement(parent2)) {\n          return skipOuterExpressions(parent2.expression);\n        }\n      }\n      return node;\n    }\n    function getAdjustedReferenceLocation(node) {\n      return getAdjustedLocation(\n        node,\n        /*forRename*/\n        false\n      );\n    }\n    function getAdjustedRenameLocation(node) {\n      return getAdjustedLocation(\n        node,\n        /*forRename*/\n        true\n      );\n    }\n    function getTouchingPropertyName(sourceFile, position) {\n      return getTouchingToken(sourceFile, position, (n) => isPropertyNameLiteral(n) || isKeyword(n.kind) || isPrivateIdentifier(n));\n    }\n    function getTouchingToken(sourceFile, position, includePrecedingTokenAtEndPosition) {\n      return getTokenAtPositionWorker(\n        sourceFile,\n        position,\n        /*allowPositionInLeadingTrivia*/\n        false,\n        includePrecedingTokenAtEndPosition,\n        /*includeEndPosition*/\n        false\n      );\n    }\n    function getTokenAtPosition(sourceFile, position) {\n      return getTokenAtPositionWorker(\n        sourceFile,\n        position,\n        /*allowPositionInLeadingTrivia*/\n        true,\n        /*includePrecedingTokenAtEndPosition*/\n        void 0,\n        /*includeEndPosition*/\n        false\n      );\n    }\n    function getTokenAtPositionWorker(sourceFile, position, allowPositionInLeadingTrivia, includePrecedingTokenAtEndPosition, includeEndPosition) {\n      let current = sourceFile;\n      let foundToken;\n      outer:\n        while (true) {\n          const children = current.getChildren(sourceFile);\n          const i = binarySearchKey(children, position, (_, i2) => i2, (middle, _) => {\n            const end = children[middle].getEnd();\n            if (end < position) {\n              return -1;\n            }\n            const start = allowPositionInLeadingTrivia ? children[middle].getFullStart() : children[middle].getStart(\n              sourceFile,\n              /*includeJsDoc*/\n              true\n            );\n            if (start > position) {\n              return 1;\n            }\n            if (nodeContainsPosition(children[middle], start, end)) {\n              if (children[middle - 1]) {\n                if (nodeContainsPosition(children[middle - 1])) {\n                  return 1;\n                }\n              }\n              return 0;\n            }\n            if (includePrecedingTokenAtEndPosition && start === position && children[middle - 1] && children[middle - 1].getEnd() === position && nodeContainsPosition(children[middle - 1])) {\n              return 1;\n            }\n            return -1;\n          });\n          if (foundToken) {\n            return foundToken;\n          }\n          if (i >= 0 && children[i]) {\n            current = children[i];\n            continue outer;\n          }\n          return current;\n        }\n      function nodeContainsPosition(node, start, end) {\n        end != null ? end : end = node.getEnd();\n        if (end < position) {\n          return false;\n        }\n        start != null ? start : start = allowPositionInLeadingTrivia ? node.getFullStart() : node.getStart(\n          sourceFile,\n          /*includeJsDoc*/\n          true\n        );\n        if (start > position) {\n          return false;\n        }\n        if (position < end || position === end && (node.kind === 1 || includeEndPosition)) {\n          return true;\n        } else if (includePrecedingTokenAtEndPosition && end === position) {\n          const previousToken = findPrecedingToken(position, sourceFile, node);\n          if (previousToken && includePrecedingTokenAtEndPosition(previousToken)) {\n            foundToken = previousToken;\n            return true;\n          }\n        }\n        return false;\n      }\n    }\n    function findFirstNonJsxWhitespaceToken(sourceFile, position) {\n      let tokenAtPosition = getTokenAtPosition(sourceFile, position);\n      while (isWhiteSpaceOnlyJsxText(tokenAtPosition)) {\n        const nextToken = findNextToken(tokenAtPosition, tokenAtPosition.parent, sourceFile);\n        if (!nextToken)\n          return;\n        tokenAtPosition = nextToken;\n      }\n      return tokenAtPosition;\n    }\n    function findTokenOnLeftOfPosition(file, position) {\n      const tokenAtPosition = getTokenAtPosition(file, position);\n      if (isToken(tokenAtPosition) && position > tokenAtPosition.getStart(file) && position < tokenAtPosition.getEnd()) {\n        return tokenAtPosition;\n      }\n      return findPrecedingToken(position, file);\n    }\n    function findNextToken(previousToken, parent2, sourceFile) {\n      return find2(parent2);\n      function find2(n) {\n        if (isToken(n) && n.pos === previousToken.end) {\n          return n;\n        }\n        return firstDefined(n.getChildren(sourceFile), (child) => {\n          const shouldDiveInChildNode = (\n            // previous token is enclosed somewhere in the child\n            child.pos <= previousToken.pos && child.end > previousToken.end || // previous token ends exactly at the beginning of child\n            child.pos === previousToken.end\n          );\n          return shouldDiveInChildNode && nodeHasTokens(child, sourceFile) ? find2(child) : void 0;\n        });\n      }\n    }\n    function findPrecedingToken(position, sourceFile, startNode2, excludeJsdoc) {\n      const result = find2(startNode2 || sourceFile);\n      Debug2.assert(!(result && isWhiteSpaceOnlyJsxText(result)));\n      return result;\n      function find2(n) {\n        if (isNonWhitespaceToken(n) && n.kind !== 1) {\n          return n;\n        }\n        const children = n.getChildren(sourceFile);\n        const i = binarySearchKey(children, position, (_, i2) => i2, (middle, _) => {\n          if (position < children[middle].end) {\n            if (!children[middle - 1] || position >= children[middle - 1].end) {\n              return 0;\n            }\n            return 1;\n          }\n          return -1;\n        });\n        if (i >= 0 && children[i]) {\n          const child = children[i];\n          if (position < child.end) {\n            const start = child.getStart(\n              sourceFile,\n              /*includeJsDoc*/\n              !excludeJsdoc\n            );\n            const lookInPreviousChild = start >= position || // cursor in the leading trivia\n            !nodeHasTokens(child, sourceFile) || isWhiteSpaceOnlyJsxText(child);\n            if (lookInPreviousChild) {\n              const candidate2 = findRightmostChildNodeWithTokens(\n                children,\n                /*exclusiveStartPosition*/\n                i,\n                sourceFile,\n                n.kind\n              );\n              return candidate2 && findRightmostToken(candidate2, sourceFile);\n            } else {\n              return find2(child);\n            }\n          }\n        }\n        Debug2.assert(startNode2 !== void 0 || n.kind === 308 || n.kind === 1 || isJSDocCommentContainingNode(n));\n        const candidate = findRightmostChildNodeWithTokens(\n          children,\n          /*exclusiveStartPosition*/\n          children.length,\n          sourceFile,\n          n.kind\n        );\n        return candidate && findRightmostToken(candidate, sourceFile);\n      }\n    }\n    function isNonWhitespaceToken(n) {\n      return isToken(n) && !isWhiteSpaceOnlyJsxText(n);\n    }\n    function findRightmostToken(n, sourceFile) {\n      if (isNonWhitespaceToken(n)) {\n        return n;\n      }\n      const children = n.getChildren(sourceFile);\n      if (children.length === 0) {\n        return n;\n      }\n      const candidate = findRightmostChildNodeWithTokens(\n        children,\n        /*exclusiveStartPosition*/\n        children.length,\n        sourceFile,\n        n.kind\n      );\n      return candidate && findRightmostToken(candidate, sourceFile);\n    }\n    function findRightmostChildNodeWithTokens(children, exclusiveStartPosition, sourceFile, parentKind) {\n      for (let i = exclusiveStartPosition - 1; i >= 0; i--) {\n        const child = children[i];\n        if (isWhiteSpaceOnlyJsxText(child)) {\n          if (i === 0 && (parentKind === 11 || parentKind === 282)) {\n            Debug2.fail(\"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`\");\n          }\n        } else if (nodeHasTokens(children[i], sourceFile)) {\n          return children[i];\n        }\n      }\n    }\n    function isInString(sourceFile, position, previousToken = findPrecedingToken(position, sourceFile)) {\n      if (previousToken && isStringTextContainingNode(previousToken)) {\n        const start = previousToken.getStart(sourceFile);\n        const end = previousToken.getEnd();\n        if (start < position && position < end) {\n          return true;\n        }\n        if (position === end) {\n          return !!previousToken.isUnterminated;\n        }\n      }\n      return false;\n    }\n    function isInsideJsxElementOrAttribute(sourceFile, position) {\n      const token = getTokenAtPosition(sourceFile, position);\n      if (!token) {\n        return false;\n      }\n      if (token.kind === 11) {\n        return true;\n      }\n      if (token.kind === 29 && token.parent.kind === 11) {\n        return true;\n      }\n      if (token.kind === 29 && token.parent.kind === 291) {\n        return true;\n      }\n      if (token && token.kind === 19 && token.parent.kind === 291) {\n        return true;\n      }\n      if (token.kind === 29 && token.parent.kind === 284) {\n        return true;\n      }\n      return false;\n    }\n    function isWhiteSpaceOnlyJsxText(node) {\n      return isJsxText(node) && node.containsOnlyTriviaWhiteSpaces;\n    }\n    function isInTemplateString(sourceFile, position) {\n      const token = getTokenAtPosition(sourceFile, position);\n      return isTemplateLiteralKind(token.kind) && position > token.getStart(sourceFile);\n    }\n    function isInJSXText(sourceFile, position) {\n      const token = getTokenAtPosition(sourceFile, position);\n      if (isJsxText(token)) {\n        return true;\n      }\n      if (token.kind === 18 && isJsxExpression(token.parent) && isJsxElement(token.parent.parent)) {\n        return true;\n      }\n      if (token.kind === 29 && isJsxOpeningLikeElement(token.parent) && isJsxElement(token.parent.parent)) {\n        return true;\n      }\n      return false;\n    }\n    function isInsideJsxElement(sourceFile, position) {\n      function isInsideJsxElementTraversal(node) {\n        while (node) {\n          if (node.kind >= 282 && node.kind <= 291 || node.kind === 11 || node.kind === 29 || node.kind === 31 || node.kind === 79 || node.kind === 19 || node.kind === 18 || node.kind === 43) {\n            node = node.parent;\n          } else if (node.kind === 281) {\n            if (position > node.getStart(sourceFile))\n              return true;\n            node = node.parent;\n          } else {\n            return false;\n          }\n        }\n        return false;\n      }\n      return isInsideJsxElementTraversal(getTokenAtPosition(sourceFile, position));\n    }\n    function findPrecedingMatchingToken(token, matchingTokenKind, sourceFile) {\n      const closeTokenText = tokenToString(token.kind);\n      const matchingTokenText = tokenToString(matchingTokenKind);\n      const tokenFullStart = token.getFullStart();\n      const bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart);\n      if (bestGuessIndex === -1) {\n        return void 0;\n      }\n      if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) {\n        const nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);\n        if (nodeAtGuess && nodeAtGuess.kind === matchingTokenKind) {\n          return nodeAtGuess;\n        }\n      }\n      const tokenKind = token.kind;\n      let remainingMatchingTokens = 0;\n      while (true) {\n        const preceding = findPrecedingToken(token.getFullStart(), sourceFile);\n        if (!preceding) {\n          return void 0;\n        }\n        token = preceding;\n        if (token.kind === matchingTokenKind) {\n          if (remainingMatchingTokens === 0) {\n            return token;\n          }\n          remainingMatchingTokens--;\n        } else if (token.kind === tokenKind) {\n          remainingMatchingTokens++;\n        }\n      }\n    }\n    function removeOptionality(type, isOptionalExpression, isOptionalChain2) {\n      return isOptionalExpression ? type.getNonNullableType() : isOptionalChain2 ? type.getNonOptionalType() : type;\n    }\n    function isPossiblyTypeArgumentPosition(token, sourceFile, checker) {\n      const info = getPossibleTypeArgumentsInfo(token, sourceFile);\n      return info !== void 0 && (isPartOfTypeNode(info.called) || getPossibleGenericSignatures(info.called, info.nTypeArguments, checker).length !== 0 || isPossiblyTypeArgumentPosition(info.called, sourceFile, checker));\n    }\n    function getPossibleGenericSignatures(called, typeArgumentCount, checker) {\n      let type = checker.getTypeAtLocation(called);\n      if (isOptionalChain(called.parent)) {\n        type = removeOptionality(\n          type,\n          isOptionalChainRoot(called.parent),\n          /*isOptionalChain*/\n          true\n        );\n      }\n      const signatures = isNewExpression(called.parent) ? type.getConstructSignatures() : type.getCallSignatures();\n      return signatures.filter((candidate) => !!candidate.typeParameters && candidate.typeParameters.length >= typeArgumentCount);\n    }\n    function getPossibleTypeArgumentsInfo(tokenIn, sourceFile) {\n      if (sourceFile.text.lastIndexOf(\"<\", tokenIn ? tokenIn.pos : sourceFile.text.length) === -1) {\n        return void 0;\n      }\n      let token = tokenIn;\n      let remainingLessThanTokens = 0;\n      let nTypeArguments = 0;\n      while (token) {\n        switch (token.kind) {\n          case 29:\n            token = findPrecedingToken(token.getFullStart(), sourceFile);\n            if (token && token.kind === 28) {\n              token = findPrecedingToken(token.getFullStart(), sourceFile);\n            }\n            if (!token || !isIdentifier(token))\n              return void 0;\n            if (!remainingLessThanTokens) {\n              return isDeclarationName(token) ? void 0 : { called: token, nTypeArguments };\n            }\n            remainingLessThanTokens--;\n            break;\n          case 49:\n            remainingLessThanTokens = 3;\n            break;\n          case 48:\n            remainingLessThanTokens = 2;\n            break;\n          case 31:\n            remainingLessThanTokens++;\n            break;\n          case 19:\n            token = findPrecedingMatchingToken(token, 18, sourceFile);\n            if (!token)\n              return void 0;\n            break;\n          case 21:\n            token = findPrecedingMatchingToken(token, 20, sourceFile);\n            if (!token)\n              return void 0;\n            break;\n          case 23:\n            token = findPrecedingMatchingToken(token, 22, sourceFile);\n            if (!token)\n              return void 0;\n            break;\n          case 27:\n            nTypeArguments++;\n            break;\n          case 38:\n          case 79:\n          case 10:\n          case 8:\n          case 9:\n          case 110:\n          case 95:\n          case 112:\n          case 94:\n          case 141:\n          case 24:\n          case 51:\n          case 57:\n          case 58:\n            break;\n          default:\n            if (isTypeNode(token)) {\n              break;\n            }\n            return void 0;\n        }\n        token = findPrecedingToken(token.getFullStart(), sourceFile);\n      }\n      return void 0;\n    }\n    function isInComment(sourceFile, position, tokenAtPosition) {\n      return ts_formatting_exports.getRangeOfEnclosingComment(\n        sourceFile,\n        position,\n        /*precedingToken*/\n        void 0,\n        tokenAtPosition\n      );\n    }\n    function hasDocComment(sourceFile, position) {\n      const token = getTokenAtPosition(sourceFile, position);\n      return !!findAncestor(token, isJSDoc);\n    }\n    function nodeHasTokens(n, sourceFile) {\n      return n.kind === 1 ? !!n.jsDoc : n.getWidth(sourceFile) !== 0;\n    }\n    function getNodeModifiers(node, excludeFlags = 0) {\n      const result = [];\n      const flags = isDeclaration(node) ? getCombinedNodeFlagsAlwaysIncludeJSDoc(node) & ~excludeFlags : 0;\n      if (flags & 8)\n        result.push(\n          \"private\"\n          /* privateMemberModifier */\n        );\n      if (flags & 16)\n        result.push(\n          \"protected\"\n          /* protectedMemberModifier */\n        );\n      if (flags & 4)\n        result.push(\n          \"public\"\n          /* publicMemberModifier */\n        );\n      if (flags & 32 || isClassStaticBlockDeclaration(node))\n        result.push(\n          \"static\"\n          /* staticModifier */\n        );\n      if (flags & 256)\n        result.push(\n          \"abstract\"\n          /* abstractModifier */\n        );\n      if (flags & 1)\n        result.push(\n          \"export\"\n          /* exportedModifier */\n        );\n      if (flags & 8192)\n        result.push(\n          \"deprecated\"\n          /* deprecatedModifier */\n        );\n      if (node.flags & 16777216)\n        result.push(\n          \"declare\"\n          /* ambientModifier */\n        );\n      if (node.kind === 274)\n        result.push(\n          \"export\"\n          /* exportedModifier */\n        );\n      return result.length > 0 ? result.join(\",\") : \"\";\n    }\n    function getTypeArgumentOrTypeParameterList(node) {\n      if (node.kind === 180 || node.kind === 210) {\n        return node.typeArguments;\n      }\n      if (isFunctionLike(node) || node.kind === 260 || node.kind === 261) {\n        return node.typeParameters;\n      }\n      return void 0;\n    }\n    function isComment(kind) {\n      return kind === 2 || kind === 3;\n    }\n    function isStringOrRegularExpressionOrTemplateLiteral(kind) {\n      if (kind === 10 || kind === 13 || isTemplateLiteralKind(kind)) {\n        return true;\n      }\n      return false;\n    }\n    function isStringAndEmptyAnonymousObjectIntersection(type) {\n      if (!type.isIntersection()) {\n        return false;\n      }\n      const { types, checker } = type;\n      return types.length === 2 && types[0].flags & 4 && checker.isEmptyAnonymousObjectType(types[1]);\n    }\n    function isPunctuation(kind) {\n      return 18 <= kind && kind <= 78;\n    }\n    function isInsideTemplateLiteral(node, position, sourceFile) {\n      return isTemplateLiteralKind(node.kind) && (node.getStart(sourceFile) < position && position < node.end) || !!node.isUnterminated && position === node.end;\n    }\n    function isAccessibilityModifier(kind) {\n      switch (kind) {\n        case 123:\n        case 121:\n        case 122:\n          return true;\n      }\n      return false;\n    }\n    function cloneCompilerOptions(options) {\n      const result = clone(options);\n      setConfigFileInOptions(result, options && options.configFile);\n      return result;\n    }\n    function isArrayLiteralOrObjectLiteralDestructuringPattern(node) {\n      if (node.kind === 206 || node.kind === 207) {\n        if (node.parent.kind === 223 && node.parent.left === node && node.parent.operatorToken.kind === 63) {\n          return true;\n        }\n        if (node.parent.kind === 247 && node.parent.initializer === node) {\n          return true;\n        }\n        if (isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent.kind === 299 ? node.parent.parent : node.parent)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function isInReferenceComment(sourceFile, position) {\n      return isInReferenceCommentWorker(\n        sourceFile,\n        position,\n        /*shouldBeReference*/\n        true\n      );\n    }\n    function isInNonReferenceComment(sourceFile, position) {\n      return isInReferenceCommentWorker(\n        sourceFile,\n        position,\n        /*shouldBeReference*/\n        false\n      );\n    }\n    function isInReferenceCommentWorker(sourceFile, position, shouldBeReference) {\n      const range = isInComment(\n        sourceFile,\n        position,\n        /*tokenAtPosition*/\n        void 0\n      );\n      return !!range && shouldBeReference === tripleSlashDirectivePrefixRegex.test(sourceFile.text.substring(range.pos, range.end));\n    }\n    function getReplacementSpanForContextToken(contextToken) {\n      if (!contextToken)\n        return void 0;\n      switch (contextToken.kind) {\n        case 10:\n        case 14:\n          return createTextSpanFromStringLiteralLikeContent(contextToken);\n        default:\n          return createTextSpanFromNode(contextToken);\n      }\n    }\n    function createTextSpanFromNode(node, sourceFile, endNode2) {\n      return createTextSpanFromBounds(node.getStart(sourceFile), (endNode2 || node).getEnd());\n    }\n    function createTextSpanFromStringLiteralLikeContent(node) {\n      if (node.isUnterminated)\n        return void 0;\n      return createTextSpanFromBounds(node.getStart() + 1, node.getEnd() - 1);\n    }\n    function createTextRangeFromNode(node, sourceFile) {\n      return createRange(node.getStart(sourceFile), node.end);\n    }\n    function createTextSpanFromRange(range) {\n      return createTextSpanFromBounds(range.pos, range.end);\n    }\n    function createTextRangeFromSpan(span) {\n      return createRange(span.start, span.start + span.length);\n    }\n    function createTextChangeFromStartLength(start, length2, newText) {\n      return createTextChange(createTextSpan(start, length2), newText);\n    }\n    function createTextChange(span, newText) {\n      return { span, newText };\n    }\n    function isTypeKeyword(kind) {\n      return contains(typeKeywords, kind);\n    }\n    function isTypeKeywordToken(node) {\n      return node.kind === 154;\n    }\n    function isTypeKeywordTokenOrIdentifier(node) {\n      return isTypeKeywordToken(node) || isIdentifier(node) && node.text === \"type\";\n    }\n    function isExternalModuleSymbol(moduleSymbol) {\n      return !!(moduleSymbol.flags & 1536) && moduleSymbol.name.charCodeAt(0) === 34;\n    }\n    function nodeSeenTracker() {\n      const seen = [];\n      return (node) => {\n        const id = getNodeId(node);\n        return !seen[id] && (seen[id] = true);\n      };\n    }\n    function getSnapshotText(snap) {\n      return snap.getText(0, snap.getLength());\n    }\n    function repeatString(str, count) {\n      let result = \"\";\n      for (let i = 0; i < count; i++) {\n        result += str;\n      }\n      return result;\n    }\n    function skipConstraint(type) {\n      return type.isTypeParameter() ? type.getConstraint() || type : type;\n    }\n    function getNameFromPropertyName(name) {\n      return name.kind === 164 ? isStringOrNumericLiteralLike(name.expression) ? name.expression.text : void 0 : isPrivateIdentifier(name) ? idText(name) : getTextOfIdentifierOrLiteral(name);\n    }\n    function programContainsModules(program) {\n      return program.getSourceFiles().some((s) => !s.isDeclarationFile && !program.isSourceFileFromExternalLibrary(s) && !!(s.externalModuleIndicator || s.commonJsModuleIndicator));\n    }\n    function programContainsEsModules(program) {\n      return program.getSourceFiles().some((s) => !s.isDeclarationFile && !program.isSourceFileFromExternalLibrary(s) && !!s.externalModuleIndicator);\n    }\n    function compilerOptionsIndicateEsModules(compilerOptions) {\n      return !!compilerOptions.module || getEmitScriptTarget(compilerOptions) >= 2 || !!compilerOptions.noEmit;\n    }\n    function createModuleSpecifierResolutionHost(program, host) {\n      return {\n        fileExists: (fileName) => program.fileExists(fileName),\n        getCurrentDirectory: () => host.getCurrentDirectory(),\n        readFile: maybeBind(host, host.readFile),\n        useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames),\n        getSymlinkCache: maybeBind(host, host.getSymlinkCache) || program.getSymlinkCache,\n        getModuleSpecifierCache: maybeBind(host, host.getModuleSpecifierCache),\n        getPackageJsonInfoCache: () => {\n          var _a22;\n          return (_a22 = program.getModuleResolutionCache()) == null ? void 0 : _a22.getPackageJsonInfoCache();\n        },\n        getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation),\n        redirectTargetsMap: program.redirectTargetsMap,\n        getProjectReferenceRedirect: (fileName) => program.getProjectReferenceRedirect(fileName),\n        isSourceOfProjectReferenceRedirect: (fileName) => program.isSourceOfProjectReferenceRedirect(fileName),\n        getNearestAncestorDirectoryWithPackageJson: maybeBind(host, host.getNearestAncestorDirectoryWithPackageJson),\n        getFileIncludeReasons: () => program.getFileIncludeReasons()\n      };\n    }\n    function getModuleSpecifierResolverHost(program, host) {\n      return {\n        ...createModuleSpecifierResolutionHost(program, host),\n        getCommonSourceDirectory: () => program.getCommonSourceDirectory()\n      };\n    }\n    function moduleResolutionUsesNodeModules(moduleResolution) {\n      return moduleResolution === 2 || moduleResolution >= 3 && moduleResolution <= 99 || moduleResolution === 100;\n    }\n    function makeImportIfNecessary(defaultImport, namedImports, moduleSpecifier, quotePreference) {\n      return defaultImport || namedImports && namedImports.length ? makeImport(defaultImport, namedImports, moduleSpecifier, quotePreference) : void 0;\n    }\n    function makeImport(defaultImport, namedImports, moduleSpecifier, quotePreference, isTypeOnly) {\n      return factory.createImportDeclaration(\n        /*modifiers*/\n        void 0,\n        defaultImport || namedImports ? factory.createImportClause(!!isTypeOnly, defaultImport, namedImports && namedImports.length ? factory.createNamedImports(namedImports) : void 0) : void 0,\n        typeof moduleSpecifier === \"string\" ? makeStringLiteral(moduleSpecifier, quotePreference) : moduleSpecifier,\n        /*assertClause*/\n        void 0\n      );\n    }\n    function makeStringLiteral(text, quotePreference) {\n      return factory.createStringLiteral(\n        text,\n        quotePreference === 0\n        /* Single */\n      );\n    }\n    function quotePreferenceFromString(str, sourceFile) {\n      return isStringDoubleQuoted(str, sourceFile) ? 1 : 0;\n    }\n    function getQuotePreference(sourceFile, preferences) {\n      if (preferences.quotePreference && preferences.quotePreference !== \"auto\") {\n        return preferences.quotePreference === \"single\" ? 0 : 1;\n      } else {\n        const firstModuleSpecifier = sourceFile.imports && find(sourceFile.imports, (n) => isStringLiteral(n) && !nodeIsSynthesized(n.parent));\n        return firstModuleSpecifier ? quotePreferenceFromString(firstModuleSpecifier, sourceFile) : 1;\n      }\n    }\n    function getQuoteFromPreference(qp) {\n      switch (qp) {\n        case 0:\n          return \"'\";\n        case 1:\n          return '\"';\n        default:\n          return Debug2.assertNever(qp);\n      }\n    }\n    function symbolNameNoDefault(symbol) {\n      const escaped = symbolEscapedNameNoDefault(symbol);\n      return escaped === void 0 ? void 0 : unescapeLeadingUnderscores(escaped);\n    }\n    function symbolEscapedNameNoDefault(symbol) {\n      if (symbol.escapedName !== \"default\") {\n        return symbol.escapedName;\n      }\n      return firstDefined(symbol.declarations, (decl) => {\n        const name = getNameOfDeclaration(decl);\n        return name && name.kind === 79 ? name.escapedText : void 0;\n      });\n    }\n    function isModuleSpecifierLike(node) {\n      return isStringLiteralLike(node) && (isExternalModuleReference(node.parent) || isImportDeclaration(node.parent) || isRequireCall(\n        node.parent,\n        /*requireStringLiteralLikeArgument*/\n        false\n      ) && node.parent.arguments[0] === node || isImportCall(node.parent) && node.parent.arguments[0] === node);\n    }\n    function isObjectBindingElementWithoutPropertyName(bindingElement) {\n      return isBindingElement(bindingElement) && isObjectBindingPattern(bindingElement.parent) && isIdentifier(bindingElement.name) && !bindingElement.propertyName;\n    }\n    function getPropertySymbolFromBindingElement(checker, bindingElement) {\n      const typeOfPattern = checker.getTypeAtLocation(bindingElement.parent);\n      return typeOfPattern && checker.getPropertyOfType(typeOfPattern, bindingElement.name.text);\n    }\n    function getParentNodeInSpan(node, file, span) {\n      if (!node)\n        return void 0;\n      while (node.parent) {\n        if (isSourceFile(node.parent) || !spanContainsNode(span, node.parent, file)) {\n          return node;\n        }\n        node = node.parent;\n      }\n    }\n    function spanContainsNode(span, node, file) {\n      return textSpanContainsPosition(span, node.getStart(file)) && node.getEnd() <= textSpanEnd(span);\n    }\n    function findModifier(node, kind) {\n      return canHaveModifiers(node) ? find(node.modifiers, (m) => m.kind === kind) : void 0;\n    }\n    function insertImports(changes, sourceFile, imports, blankLineBetween, preferences) {\n      const decl = isArray(imports) ? imports[0] : imports;\n      const importKindPredicate = decl.kind === 240 ? isRequireVariableStatement : isAnyImportSyntax;\n      const existingImportStatements = filter(sourceFile.statements, importKindPredicate);\n      let sortKind = isArray(imports) ? ts_OrganizeImports_exports.detectImportDeclarationSorting(imports, preferences) : 3;\n      const comparer = ts_OrganizeImports_exports.getOrganizeImportsComparer(\n        preferences,\n        sortKind === 2\n        /* CaseInsensitive */\n      );\n      const sortedNewImports = isArray(imports) ? stableSort(imports, (a, b) => ts_OrganizeImports_exports.compareImportsOrRequireStatements(a, b, comparer)) : [imports];\n      if (!existingImportStatements.length) {\n        changes.insertNodesAtTopOfFile(sourceFile, sortedNewImports, blankLineBetween);\n      } else if (existingImportStatements && (sortKind = ts_OrganizeImports_exports.detectImportDeclarationSorting(existingImportStatements, preferences))) {\n        const comparer2 = ts_OrganizeImports_exports.getOrganizeImportsComparer(\n          preferences,\n          sortKind === 2\n          /* CaseInsensitive */\n        );\n        for (const newImport of sortedNewImports) {\n          const insertionIndex = ts_OrganizeImports_exports.getImportDeclarationInsertionIndex(existingImportStatements, newImport, comparer2);\n          if (insertionIndex === 0) {\n            const options = existingImportStatements[0] === sourceFile.statements[0] ? { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude } : {};\n            changes.insertNodeBefore(\n              sourceFile,\n              existingImportStatements[0],\n              newImport,\n              /*blankLineBetween*/\n              false,\n              options\n            );\n          } else {\n            const prevImport = existingImportStatements[insertionIndex - 1];\n            changes.insertNodeAfter(sourceFile, prevImport, newImport);\n          }\n        }\n      } else {\n        const lastExistingImport = lastOrUndefined(existingImportStatements);\n        if (lastExistingImport) {\n          changes.insertNodesAfter(sourceFile, lastExistingImport, sortedNewImports);\n        } else {\n          changes.insertNodesAtTopOfFile(sourceFile, sortedNewImports, blankLineBetween);\n        }\n      }\n    }\n    function getTypeKeywordOfTypeOnlyImport(importClause, sourceFile) {\n      Debug2.assert(importClause.isTypeOnly);\n      return cast(importClause.getChildAt(0, sourceFile), isTypeKeywordToken);\n    }\n    function textSpansEqual(a, b) {\n      return !!a && !!b && a.start === b.start && a.length === b.length;\n    }\n    function documentSpansEqual(a, b) {\n      return a.fileName === b.fileName && textSpansEqual(a.textSpan, b.textSpan);\n    }\n    function forEachUnique(array, callback) {\n      if (array) {\n        for (let i = 0; i < array.length; i++) {\n          if (array.indexOf(array[i]) === i) {\n            const result = callback(array[i], i);\n            if (result) {\n              return result;\n            }\n          }\n        }\n      }\n      return void 0;\n    }\n    function isTextWhiteSpaceLike(text, startPos, endPos) {\n      for (let i = startPos; i < endPos; i++) {\n        if (!isWhiteSpaceLike(text.charCodeAt(i))) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function getMappedLocation(location, sourceMapper, fileExists) {\n      const mapsTo = sourceMapper.tryGetSourcePosition(location);\n      return mapsTo && (!fileExists || fileExists(normalizePath(mapsTo.fileName)) ? mapsTo : void 0);\n    }\n    function getMappedDocumentSpan(documentSpan, sourceMapper, fileExists) {\n      const { fileName, textSpan } = documentSpan;\n      const newPosition = getMappedLocation({ fileName, pos: textSpan.start }, sourceMapper, fileExists);\n      if (!newPosition)\n        return void 0;\n      const newEndPosition = getMappedLocation({ fileName, pos: textSpan.start + textSpan.length }, sourceMapper, fileExists);\n      const newLength = newEndPosition ? newEndPosition.pos - newPosition.pos : textSpan.length;\n      return {\n        fileName: newPosition.fileName,\n        textSpan: {\n          start: newPosition.pos,\n          length: newLength\n        },\n        originalFileName: documentSpan.fileName,\n        originalTextSpan: documentSpan.textSpan,\n        contextSpan: getMappedContextSpan(documentSpan, sourceMapper, fileExists),\n        originalContextSpan: documentSpan.contextSpan\n      };\n    }\n    function getMappedContextSpan(documentSpan, sourceMapper, fileExists) {\n      const contextSpanStart = documentSpan.contextSpan && getMappedLocation(\n        { fileName: documentSpan.fileName, pos: documentSpan.contextSpan.start },\n        sourceMapper,\n        fileExists\n      );\n      const contextSpanEnd = documentSpan.contextSpan && getMappedLocation(\n        { fileName: documentSpan.fileName, pos: documentSpan.contextSpan.start + documentSpan.contextSpan.length },\n        sourceMapper,\n        fileExists\n      );\n      return contextSpanStart && contextSpanEnd ? { start: contextSpanStart.pos, length: contextSpanEnd.pos - contextSpanStart.pos } : void 0;\n    }\n    function isFirstDeclarationOfSymbolParameter(symbol) {\n      const declaration = symbol.declarations ? firstOrUndefined(symbol.declarations) : void 0;\n      return !!findAncestor(declaration, (n) => isParameter(n) ? true : isBindingElement(n) || isObjectBindingPattern(n) || isArrayBindingPattern(n) ? false : \"quit\");\n    }\n    function getDisplayPartWriter() {\n      const absoluteMaximumLength = defaultMaximumTruncationLength * 10;\n      let displayParts;\n      let lineStart;\n      let indent2;\n      let length2;\n      resetWriter();\n      const unknownWrite = (text) => writeKind(\n        text,\n        17\n        /* text */\n      );\n      return {\n        displayParts: () => {\n          const finalText = displayParts.length && displayParts[displayParts.length - 1].text;\n          if (length2 > absoluteMaximumLength && finalText && finalText !== \"...\") {\n            if (!isWhiteSpaceLike(finalText.charCodeAt(finalText.length - 1))) {\n              displayParts.push(displayPart(\n                \" \",\n                16\n                /* space */\n              ));\n            }\n            displayParts.push(displayPart(\n              \"...\",\n              15\n              /* punctuation */\n            ));\n          }\n          return displayParts;\n        },\n        writeKeyword: (text) => writeKind(\n          text,\n          5\n          /* keyword */\n        ),\n        writeOperator: (text) => writeKind(\n          text,\n          12\n          /* operator */\n        ),\n        writePunctuation: (text) => writeKind(\n          text,\n          15\n          /* punctuation */\n        ),\n        writeTrailingSemicolon: (text) => writeKind(\n          text,\n          15\n          /* punctuation */\n        ),\n        writeSpace: (text) => writeKind(\n          text,\n          16\n          /* space */\n        ),\n        writeStringLiteral: (text) => writeKind(\n          text,\n          8\n          /* stringLiteral */\n        ),\n        writeParameter: (text) => writeKind(\n          text,\n          13\n          /* parameterName */\n        ),\n        writeProperty: (text) => writeKind(\n          text,\n          14\n          /* propertyName */\n        ),\n        writeLiteral: (text) => writeKind(\n          text,\n          8\n          /* stringLiteral */\n        ),\n        writeSymbol,\n        writeLine,\n        write: unknownWrite,\n        writeComment: unknownWrite,\n        getText: () => \"\",\n        getTextPos: () => 0,\n        getColumn: () => 0,\n        getLine: () => 0,\n        isAtStartOfLine: () => false,\n        hasTrailingWhitespace: () => false,\n        hasTrailingComment: () => false,\n        rawWrite: notImplemented,\n        getIndent: () => indent2,\n        increaseIndent: () => {\n          indent2++;\n        },\n        decreaseIndent: () => {\n          indent2--;\n        },\n        clear: resetWriter\n      };\n      function writeIndent() {\n        if (length2 > absoluteMaximumLength)\n          return;\n        if (lineStart) {\n          const indentString = getIndentString(indent2);\n          if (indentString) {\n            length2 += indentString.length;\n            displayParts.push(displayPart(\n              indentString,\n              16\n              /* space */\n            ));\n          }\n          lineStart = false;\n        }\n      }\n      function writeKind(text, kind) {\n        if (length2 > absoluteMaximumLength)\n          return;\n        writeIndent();\n        length2 += text.length;\n        displayParts.push(displayPart(text, kind));\n      }\n      function writeSymbol(text, symbol) {\n        if (length2 > absoluteMaximumLength)\n          return;\n        writeIndent();\n        length2 += text.length;\n        displayParts.push(symbolPart(text, symbol));\n      }\n      function writeLine() {\n        if (length2 > absoluteMaximumLength)\n          return;\n        length2 += 1;\n        displayParts.push(lineBreakPart());\n        lineStart = true;\n      }\n      function resetWriter() {\n        displayParts = [];\n        lineStart = true;\n        indent2 = 0;\n        length2 = 0;\n      }\n    }\n    function symbolPart(text, symbol) {\n      return displayPart(text, displayPartKind(symbol));\n      function displayPartKind(symbol2) {\n        const flags = symbol2.flags;\n        if (flags & 3) {\n          return isFirstDeclarationOfSymbolParameter(symbol2) ? 13 : 9;\n        }\n        if (flags & 4)\n          return 14;\n        if (flags & 32768)\n          return 14;\n        if (flags & 65536)\n          return 14;\n        if (flags & 8)\n          return 19;\n        if (flags & 16)\n          return 20;\n        if (flags & 32)\n          return 1;\n        if (flags & 64)\n          return 4;\n        if (flags & 384)\n          return 2;\n        if (flags & 1536)\n          return 11;\n        if (flags & 8192)\n          return 10;\n        if (flags & 262144)\n          return 18;\n        if (flags & 524288)\n          return 0;\n        if (flags & 2097152)\n          return 0;\n        return 17;\n      }\n    }\n    function displayPart(text, kind) {\n      return { text, kind: SymbolDisplayPartKind[kind] };\n    }\n    function spacePart() {\n      return displayPart(\n        \" \",\n        16\n        /* space */\n      );\n    }\n    function keywordPart(kind) {\n      return displayPart(\n        tokenToString(kind),\n        5\n        /* keyword */\n      );\n    }\n    function punctuationPart(kind) {\n      return displayPart(\n        tokenToString(kind),\n        15\n        /* punctuation */\n      );\n    }\n    function operatorPart(kind) {\n      return displayPart(\n        tokenToString(kind),\n        12\n        /* operator */\n      );\n    }\n    function parameterNamePart(text) {\n      return displayPart(\n        text,\n        13\n        /* parameterName */\n      );\n    }\n    function propertyNamePart(text) {\n      return displayPart(\n        text,\n        14\n        /* propertyName */\n      );\n    }\n    function textOrKeywordPart(text) {\n      const kind = stringToToken(text);\n      return kind === void 0 ? textPart(text) : keywordPart(kind);\n    }\n    function textPart(text) {\n      return displayPart(\n        text,\n        17\n        /* text */\n      );\n    }\n    function typeAliasNamePart(text) {\n      return displayPart(\n        text,\n        0\n        /* aliasName */\n      );\n    }\n    function typeParameterNamePart(text) {\n      return displayPart(\n        text,\n        18\n        /* typeParameterName */\n      );\n    }\n    function linkTextPart(text) {\n      return displayPart(\n        text,\n        24\n        /* linkText */\n      );\n    }\n    function linkNamePart(text, target) {\n      return {\n        text,\n        kind: SymbolDisplayPartKind[\n          23\n          /* linkName */\n        ],\n        target: {\n          fileName: getSourceFileOfNode(target).fileName,\n          textSpan: createTextSpanFromNode(target)\n        }\n      };\n    }\n    function linkPart(text) {\n      return displayPart(\n        text,\n        22\n        /* link */\n      );\n    }\n    function buildLinkParts(link, checker) {\n      var _a22;\n      const prefix = isJSDocLink(link) ? \"link\" : isJSDocLinkCode(link) ? \"linkcode\" : \"linkplain\";\n      const parts = [linkPart(`{@${prefix} `)];\n      if (!link.name) {\n        if (link.text) {\n          parts.push(linkTextPart(link.text));\n        }\n      } else {\n        const symbol = checker == null ? void 0 : checker.getSymbolAtLocation(link.name);\n        const suffix = findLinkNameEnd(link.text);\n        const name = getTextOfNode(link.name) + link.text.slice(0, suffix);\n        const text = skipSeparatorFromLinkText(link.text.slice(suffix));\n        const decl = (symbol == null ? void 0 : symbol.valueDeclaration) || ((_a22 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a22[0]);\n        if (decl) {\n          parts.push(linkNamePart(name, decl));\n          if (text)\n            parts.push(linkTextPart(text));\n        } else {\n          parts.push(linkTextPart(name + (suffix ? \"\" : \" \") + text));\n        }\n      }\n      parts.push(linkPart(\"}\"));\n      return parts;\n    }\n    function skipSeparatorFromLinkText(text) {\n      let pos = 0;\n      if (text.charCodeAt(pos++) === 124) {\n        while (pos < text.length && text.charCodeAt(pos) === 32)\n          pos++;\n        return text.slice(pos);\n      }\n      return text;\n    }\n    function findLinkNameEnd(text) {\n      let pos = text.indexOf(\"://\");\n      if (pos === 0) {\n        while (pos < text.length && text.charCodeAt(pos) !== 124)\n          pos++;\n        return pos;\n      }\n      if (text.indexOf(\"()\") === 0)\n        return 2;\n      if (text.charAt(0) === \"<\") {\n        let brackets2 = 0;\n        let i = 0;\n        while (i < text.length) {\n          if (text[i] === \"<\")\n            brackets2++;\n          if (text[i] === \">\")\n            brackets2--;\n          i++;\n          if (!brackets2)\n            return i;\n        }\n      }\n      return 0;\n    }\n    function getNewLineOrDefaultFromHost(host, formatSettings) {\n      var _a22;\n      return (formatSettings == null ? void 0 : formatSettings.newLineCharacter) || ((_a22 = host.getNewLine) == null ? void 0 : _a22.call(host)) || lineFeed2;\n    }\n    function lineBreakPart() {\n      return displayPart(\n        \"\\n\",\n        6\n        /* lineBreak */\n      );\n    }\n    function mapToDisplayParts(writeDisplayParts) {\n      try {\n        writeDisplayParts(displayPartWriter);\n        return displayPartWriter.displayParts();\n      } finally {\n        displayPartWriter.clear();\n      }\n    }\n    function typeToDisplayParts(typechecker, type, enclosingDeclaration, flags = 0) {\n      return mapToDisplayParts((writer) => {\n        typechecker.writeType(type, enclosingDeclaration, flags | 1024 | 16384, writer);\n      });\n    }\n    function symbolToDisplayParts(typeChecker, symbol, enclosingDeclaration, meaning, flags = 0) {\n      return mapToDisplayParts((writer) => {\n        typeChecker.writeSymbol(symbol, enclosingDeclaration, meaning, flags | 8, writer);\n      });\n    }\n    function signatureToDisplayParts(typechecker, signature, enclosingDeclaration, flags = 0) {\n      flags |= 16384 | 1024 | 32 | 8192;\n      return mapToDisplayParts((writer) => {\n        typechecker.writeSignature(\n          signature,\n          enclosingDeclaration,\n          flags,\n          /*signatureKind*/\n          void 0,\n          writer\n        );\n      });\n    }\n    function nodeToDisplayParts(node, enclosingDeclaration) {\n      const file = enclosingDeclaration.getSourceFile();\n      return mapToDisplayParts((writer) => {\n        const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon();\n        printer.writeNode(4, node, file, writer);\n      });\n    }\n    function isImportOrExportSpecifierName(location) {\n      return !!location.parent && isImportOrExportSpecifier(location.parent) && location.parent.propertyName === location;\n    }\n    function getScriptKind(fileName, host) {\n      return ensureScriptKind(fileName, host.getScriptKind && host.getScriptKind(fileName));\n    }\n    function getSymbolTarget(symbol, checker) {\n      let next = symbol;\n      while (isAliasSymbol(next) || isTransientSymbol(next) && next.links.target) {\n        if (isTransientSymbol(next) && next.links.target) {\n          next = next.links.target;\n        } else {\n          next = skipAlias(next, checker);\n        }\n      }\n      return next;\n    }\n    function isAliasSymbol(symbol) {\n      return (symbol.flags & 2097152) !== 0;\n    }\n    function getUniqueSymbolId(symbol, checker) {\n      return getSymbolId(skipAlias(symbol, checker));\n    }\n    function getFirstNonSpaceCharacterPosition(text, position) {\n      while (isWhiteSpaceLike(text.charCodeAt(position))) {\n        position += 1;\n      }\n      return position;\n    }\n    function getPrecedingNonSpaceCharacterPosition(text, position) {\n      while (position > -1 && isWhiteSpaceSingleLine(text.charCodeAt(position))) {\n        position -= 1;\n      }\n      return position + 1;\n    }\n    function getSynthesizedDeepClone(node, includeTrivia = true) {\n      const clone2 = node && getSynthesizedDeepCloneWorker(node);\n      if (clone2 && !includeTrivia)\n        suppressLeadingAndTrailingTrivia(clone2);\n      return clone2;\n    }\n    function getSynthesizedDeepCloneWithReplacements(node, includeTrivia, replaceNode) {\n      let clone2 = replaceNode(node);\n      if (clone2) {\n        setOriginalNode(clone2, node);\n      } else {\n        clone2 = getSynthesizedDeepCloneWorker(node, replaceNode);\n      }\n      if (clone2 && !includeTrivia)\n        suppressLeadingAndTrailingTrivia(clone2);\n      return clone2;\n    }\n    function getSynthesizedDeepCloneWorker(node, replaceNode) {\n      const nodeClone = replaceNode ? (n) => getSynthesizedDeepCloneWithReplacements(\n        n,\n        /*includeTrivia*/\n        true,\n        replaceNode\n      ) : getSynthesizedDeepClone;\n      const nodesClone = replaceNode ? (ns) => ns && getSynthesizedDeepClonesWithReplacements(\n        ns,\n        /*includeTrivia*/\n        true,\n        replaceNode\n      ) : (ns) => ns && getSynthesizedDeepClones(ns);\n      const visited = visitEachChild(node, nodeClone, nullTransformationContext, nodesClone, nodeClone);\n      if (visited === node) {\n        const clone2 = isStringLiteral(node) ? setOriginalNode(factory.createStringLiteralFromNode(node), node) : isNumericLiteral(node) ? setOriginalNode(factory.createNumericLiteral(node.text, node.numericLiteralFlags), node) : factory.cloneNode(node);\n        return setTextRange(clone2, node);\n      }\n      visited.parent = void 0;\n      return visited;\n    }\n    function getSynthesizedDeepClones(nodes, includeTrivia = true) {\n      return nodes && factory.createNodeArray(nodes.map((n) => getSynthesizedDeepClone(n, includeTrivia)), nodes.hasTrailingComma);\n    }\n    function getSynthesizedDeepClonesWithReplacements(nodes, includeTrivia, replaceNode) {\n      return factory.createNodeArray(nodes.map((n) => getSynthesizedDeepCloneWithReplacements(n, includeTrivia, replaceNode)), nodes.hasTrailingComma);\n    }\n    function suppressLeadingAndTrailingTrivia(node) {\n      suppressLeadingTrivia(node);\n      suppressTrailingTrivia(node);\n    }\n    function suppressLeadingTrivia(node) {\n      addEmitFlagsRecursively(node, 1024, getFirstChild);\n    }\n    function suppressTrailingTrivia(node) {\n      addEmitFlagsRecursively(node, 2048, getLastChild);\n    }\n    function copyComments(sourceNode, targetNode) {\n      const sourceFile = sourceNode.getSourceFile();\n      const text = sourceFile.text;\n      if (hasLeadingLineBreak(sourceNode, text)) {\n        copyLeadingComments(sourceNode, targetNode, sourceFile);\n      } else {\n        copyTrailingAsLeadingComments(sourceNode, targetNode, sourceFile);\n      }\n      copyTrailingComments(sourceNode, targetNode, sourceFile);\n    }\n    function hasLeadingLineBreak(node, text) {\n      const start = node.getFullStart();\n      const end = node.getStart();\n      for (let i = start; i < end; i++) {\n        if (text.charCodeAt(i) === 10)\n          return true;\n      }\n      return false;\n    }\n    function addEmitFlagsRecursively(node, flag, getChild) {\n      addEmitFlags(node, flag);\n      const child = getChild(node);\n      if (child)\n        addEmitFlagsRecursively(child, flag, getChild);\n    }\n    function getFirstChild(node) {\n      return node.forEachChild((child) => child);\n    }\n    function getUniqueName(baseName, sourceFile) {\n      let nameText = baseName;\n      for (let i = 1; !isFileLevelUniqueName(sourceFile, nameText); i++) {\n        nameText = `${baseName}_${i}`;\n      }\n      return nameText;\n    }\n    function getRenameLocation(edits, renameFilename, name, preferLastLocation) {\n      let delta = 0;\n      let lastPos = -1;\n      for (const { fileName, textChanges: textChanges2 } of edits) {\n        Debug2.assert(fileName === renameFilename);\n        for (const change of textChanges2) {\n          const { span, newText } = change;\n          const index = indexInTextChange(newText, escapeString(name));\n          if (index !== -1) {\n            lastPos = span.start + delta + index;\n            if (!preferLastLocation) {\n              return lastPos;\n            }\n          }\n          delta += newText.length - span.length;\n        }\n      }\n      Debug2.assert(preferLastLocation);\n      Debug2.assert(lastPos >= 0);\n      return lastPos;\n    }\n    function copyLeadingComments(sourceNode, targetNode, sourceFile, commentKind, hasTrailingNewLine) {\n      forEachLeadingCommentRange(sourceFile.text, sourceNode.pos, getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, addSyntheticLeadingComment));\n    }\n    function copyTrailingComments(sourceNode, targetNode, sourceFile, commentKind, hasTrailingNewLine) {\n      forEachTrailingCommentRange(sourceFile.text, sourceNode.end, getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, addSyntheticTrailingComment));\n    }\n    function copyTrailingAsLeadingComments(sourceNode, targetNode, sourceFile, commentKind, hasTrailingNewLine) {\n      forEachTrailingCommentRange(sourceFile.text, sourceNode.pos, getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, addSyntheticLeadingComment));\n    }\n    function getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, cb) {\n      return (pos, end, kind, htnl) => {\n        if (kind === 3) {\n          pos += 2;\n          end -= 2;\n        } else {\n          pos += 2;\n        }\n        cb(targetNode, commentKind || kind, sourceFile.text.slice(pos, end), hasTrailingNewLine !== void 0 ? hasTrailingNewLine : htnl);\n      };\n    }\n    function indexInTextChange(change, name) {\n      if (startsWith(change, name))\n        return 0;\n      let idx = change.indexOf(\" \" + name);\n      if (idx === -1)\n        idx = change.indexOf(\".\" + name);\n      if (idx === -1)\n        idx = change.indexOf('\"' + name);\n      return idx === -1 ? -1 : idx + 1;\n    }\n    function needsParentheses(expression) {\n      return isBinaryExpression(expression) && expression.operatorToken.kind === 27 || isObjectLiteralExpression(expression) || isAsExpression(expression) && isObjectLiteralExpression(expression.expression);\n    }\n    function getContextualTypeFromParent(node, checker, contextFlags) {\n      const parent2 = walkUpParenthesizedExpressions(node.parent);\n      switch (parent2.kind) {\n        case 211:\n          return checker.getContextualType(parent2, contextFlags);\n        case 223: {\n          const { left, operatorToken, right } = parent2;\n          return isEqualityOperatorKind(operatorToken.kind) ? checker.getTypeAtLocation(node === right ? left : right) : checker.getContextualType(node, contextFlags);\n        }\n        case 292:\n          return getSwitchedType(parent2, checker);\n        default:\n          return checker.getContextualType(node, contextFlags);\n      }\n    }\n    function quote(sourceFile, preferences, text) {\n      const quotePreference = getQuotePreference(sourceFile, preferences);\n      const quoted = JSON.stringify(text);\n      return quotePreference === 0 ? `'${stripQuotes(quoted).replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"')}'` : quoted;\n    }\n    function isEqualityOperatorKind(kind) {\n      switch (kind) {\n        case 36:\n        case 34:\n        case 37:\n        case 35:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isStringLiteralOrTemplate(node) {\n      switch (node.kind) {\n        case 10:\n        case 14:\n        case 225:\n        case 212:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function hasIndexSignature(type) {\n      return !!type.getStringIndexType() || !!type.getNumberIndexType();\n    }\n    function getSwitchedType(caseClause, checker) {\n      return checker.getTypeAtLocation(caseClause.parent.parent.expression);\n    }\n    function getTypeNodeIfAccessible(type, enclosingScope, program, host) {\n      const checker = program.getTypeChecker();\n      let typeIsAccessible = true;\n      const notAccessible = () => typeIsAccessible = false;\n      const res = checker.typeToTypeNode(type, enclosingScope, 1, {\n        trackSymbol: (symbol, declaration, meaning) => {\n          typeIsAccessible = typeIsAccessible && checker.isSymbolAccessible(\n            symbol,\n            declaration,\n            meaning,\n            /*shouldComputeAliasToMarkVisible*/\n            false\n          ).accessibility === 0;\n          return !typeIsAccessible;\n        },\n        reportInaccessibleThisError: notAccessible,\n        reportPrivateInBaseOfClassExpression: notAccessible,\n        reportInaccessibleUniqueSymbolError: notAccessible,\n        moduleResolverHost: getModuleSpecifierResolverHost(program, host)\n      });\n      return typeIsAccessible ? res : void 0;\n    }\n    function syntaxRequiresTrailingCommaOrSemicolonOrASI(kind) {\n      return kind === 176 || kind === 177 || kind === 178 || kind === 168 || kind === 170;\n    }\n    function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(kind) {\n      return kind === 259 || kind === 173 || kind === 171 || kind === 174 || kind === 175;\n    }\n    function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(kind) {\n      return kind === 264;\n    }\n    function syntaxRequiresTrailingSemicolonOrASI(kind) {\n      return kind === 240 || kind === 241 || kind === 243 || kind === 248 || kind === 249 || kind === 250 || kind === 254 || kind === 256 || kind === 169 || kind === 262 || kind === 269 || kind === 268 || kind === 275 || kind === 267 || kind === 274;\n    }\n    function nodeIsASICandidate(node, sourceFile) {\n      const lastToken = node.getLastToken(sourceFile);\n      if (lastToken && lastToken.kind === 26) {\n        return false;\n      }\n      if (syntaxRequiresTrailingCommaOrSemicolonOrASI(node.kind)) {\n        if (lastToken && lastToken.kind === 27) {\n          return false;\n        }\n      } else if (syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(node.kind)) {\n        const lastChild = last(node.getChildren(sourceFile));\n        if (lastChild && isModuleBlock(lastChild)) {\n          return false;\n        }\n      } else if (syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(node.kind)) {\n        const lastChild = last(node.getChildren(sourceFile));\n        if (lastChild && isFunctionBlock(lastChild)) {\n          return false;\n        }\n      } else if (!syntaxRequiresTrailingSemicolonOrASI(node.kind)) {\n        return false;\n      }\n      if (node.kind === 243) {\n        return true;\n      }\n      const topNode = findAncestor(node, (ancestor) => !ancestor.parent);\n      const nextToken = findNextToken(node, topNode, sourceFile);\n      if (!nextToken || nextToken.kind === 19) {\n        return true;\n      }\n      const startLine = sourceFile.getLineAndCharacterOfPosition(node.getEnd()).line;\n      const endLine = sourceFile.getLineAndCharacterOfPosition(nextToken.getStart(sourceFile)).line;\n      return startLine !== endLine;\n    }\n    function positionIsASICandidate(pos, context, sourceFile) {\n      const contextAncestor = findAncestor(context, (ancestor) => {\n        if (ancestor.end !== pos) {\n          return \"quit\";\n        }\n        return syntaxMayBeASICandidate(ancestor.kind);\n      });\n      return !!contextAncestor && nodeIsASICandidate(contextAncestor, sourceFile);\n    }\n    function probablyUsesSemicolons(sourceFile) {\n      let withSemicolon = 0;\n      let withoutSemicolon = 0;\n      const nStatementsToObserve = 5;\n      forEachChild(sourceFile, function visit(node) {\n        if (syntaxRequiresTrailingSemicolonOrASI(node.kind)) {\n          const lastToken = node.getLastToken(sourceFile);\n          if ((lastToken == null ? void 0 : lastToken.kind) === 26) {\n            withSemicolon++;\n          } else {\n            withoutSemicolon++;\n          }\n        } else if (syntaxRequiresTrailingCommaOrSemicolonOrASI(node.kind)) {\n          const lastToken = node.getLastToken(sourceFile);\n          if ((lastToken == null ? void 0 : lastToken.kind) === 26) {\n            withSemicolon++;\n          } else if (lastToken && lastToken.kind !== 27) {\n            const lastTokenLine = getLineAndCharacterOfPosition(sourceFile, lastToken.getStart(sourceFile)).line;\n            const nextTokenLine = getLineAndCharacterOfPosition(sourceFile, getSpanOfTokenAtPosition(sourceFile, lastToken.end).start).line;\n            if (lastTokenLine !== nextTokenLine) {\n              withoutSemicolon++;\n            }\n          }\n        }\n        if (withSemicolon + withoutSemicolon >= nStatementsToObserve) {\n          return true;\n        }\n        return forEachChild(node, visit);\n      });\n      if (withSemicolon === 0 && withoutSemicolon <= 1) {\n        return true;\n      }\n      return withSemicolon / withoutSemicolon > 1 / nStatementsToObserve;\n    }\n    function tryGetDirectories(host, directoryName) {\n      return tryIOAndConsumeErrors(host, host.getDirectories, directoryName) || [];\n    }\n    function tryReadDirectory(host, path, extensions, exclude, include) {\n      return tryIOAndConsumeErrors(host, host.readDirectory, path, extensions, exclude, include) || emptyArray;\n    }\n    function tryFileExists(host, path) {\n      return tryIOAndConsumeErrors(host, host.fileExists, path);\n    }\n    function tryDirectoryExists(host, path) {\n      return tryAndIgnoreErrors(() => directoryProbablyExists(path, host)) || false;\n    }\n    function tryAndIgnoreErrors(cb) {\n      try {\n        return cb();\n      } catch (e) {\n        return void 0;\n      }\n    }\n    function tryIOAndConsumeErrors(host, toApply, ...args) {\n      return tryAndIgnoreErrors(() => toApply && toApply.apply(host, args));\n    }\n    function findPackageJsons(startDirectory, host, stopDirectory) {\n      const paths = [];\n      forEachAncestorDirectory(startDirectory, (ancestor) => {\n        if (ancestor === stopDirectory) {\n          return true;\n        }\n        const currentConfigPath = combinePaths(ancestor, \"package.json\");\n        if (tryFileExists(host, currentConfigPath)) {\n          paths.push(currentConfigPath);\n        }\n      });\n      return paths;\n    }\n    function findPackageJson(directory, host) {\n      let packageJson;\n      forEachAncestorDirectory(directory, (ancestor) => {\n        if (ancestor === \"node_modules\")\n          return true;\n        packageJson = findConfigFile(ancestor, (f) => tryFileExists(host, f), \"package.json\");\n        if (packageJson) {\n          return true;\n        }\n      });\n      return packageJson;\n    }\n    function getPackageJsonsVisibleToFile(fileName, host) {\n      if (!host.fileExists) {\n        return [];\n      }\n      const packageJsons = [];\n      forEachAncestorDirectory(getDirectoryPath(fileName), (ancestor) => {\n        const packageJsonFileName = combinePaths(ancestor, \"package.json\");\n        if (host.fileExists(packageJsonFileName)) {\n          const info = createPackageJsonInfo(packageJsonFileName, host);\n          if (info) {\n            packageJsons.push(info);\n          }\n        }\n      });\n      return packageJsons;\n    }\n    function createPackageJsonInfo(fileName, host) {\n      if (!host.readFile) {\n        return void 0;\n      }\n      const dependencyKeys = [\"dependencies\", \"devDependencies\", \"optionalDependencies\", \"peerDependencies\"];\n      const stringContent = host.readFile(fileName) || \"\";\n      const content = tryParseJson(stringContent);\n      const info = {};\n      if (content) {\n        for (const key of dependencyKeys) {\n          const dependencies = content[key];\n          if (!dependencies) {\n            continue;\n          }\n          const dependencyMap = /* @__PURE__ */ new Map();\n          for (const packageName in dependencies) {\n            dependencyMap.set(packageName, dependencies[packageName]);\n          }\n          info[key] = dependencyMap;\n        }\n      }\n      const dependencyGroups = [\n        [1, info.dependencies],\n        [2, info.devDependencies],\n        [8, info.optionalDependencies],\n        [4, info.peerDependencies]\n      ];\n      return {\n        ...info,\n        parseable: !!content,\n        fileName,\n        get,\n        has(dependencyName, inGroups) {\n          return !!get(dependencyName, inGroups);\n        }\n      };\n      function get(dependencyName, inGroups = 15) {\n        for (const [group2, deps] of dependencyGroups) {\n          if (deps && inGroups & group2) {\n            const dep = deps.get(dependencyName);\n            if (dep !== void 0) {\n              return dep;\n            }\n          }\n        }\n      }\n    }\n    function createPackageJsonImportFilter(fromFile, preferences, host) {\n      const packageJsons = (host.getPackageJsonsVisibleToFile && host.getPackageJsonsVisibleToFile(fromFile.fileName) || getPackageJsonsVisibleToFile(fromFile.fileName, host)).filter((p) => p.parseable);\n      let usesNodeCoreModules;\n      let ambientModuleCache;\n      let sourceFileCache;\n      return {\n        allowsImportingAmbientModule,\n        allowsImportingSourceFile,\n        allowsImportingSpecifier\n      };\n      function moduleSpecifierIsCoveredByPackageJson(specifier) {\n        const packageName = getNodeModuleRootSpecifier(specifier);\n        for (const packageJson of packageJsons) {\n          if (packageJson.has(packageName) || packageJson.has(getTypesPackageName(packageName))) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost) {\n        if (!packageJsons.length || !moduleSymbol.valueDeclaration) {\n          return true;\n        }\n        if (!ambientModuleCache) {\n          ambientModuleCache = /* @__PURE__ */ new Map();\n        } else {\n          const cached = ambientModuleCache.get(moduleSymbol);\n          if (cached !== void 0) {\n            return cached;\n          }\n        }\n        const declaredModuleSpecifier = stripQuotes(moduleSymbol.getName());\n        if (isAllowedCoreNodeModulesImport(declaredModuleSpecifier)) {\n          ambientModuleCache.set(moduleSymbol, true);\n          return true;\n        }\n        const declaringSourceFile = moduleSymbol.valueDeclaration.getSourceFile();\n        const declaringNodeModuleName = getNodeModulesPackageNameFromFileName(declaringSourceFile.fileName, moduleSpecifierResolutionHost);\n        if (typeof declaringNodeModuleName === \"undefined\") {\n          ambientModuleCache.set(moduleSymbol, true);\n          return true;\n        }\n        const result = moduleSpecifierIsCoveredByPackageJson(declaringNodeModuleName) || moduleSpecifierIsCoveredByPackageJson(declaredModuleSpecifier);\n        ambientModuleCache.set(moduleSymbol, result);\n        return result;\n      }\n      function allowsImportingSourceFile(sourceFile, moduleSpecifierResolutionHost) {\n        if (!packageJsons.length) {\n          return true;\n        }\n        if (!sourceFileCache) {\n          sourceFileCache = /* @__PURE__ */ new Map();\n        } else {\n          const cached = sourceFileCache.get(sourceFile);\n          if (cached !== void 0) {\n            return cached;\n          }\n        }\n        const moduleSpecifier = getNodeModulesPackageNameFromFileName(sourceFile.fileName, moduleSpecifierResolutionHost);\n        if (!moduleSpecifier) {\n          sourceFileCache.set(sourceFile, true);\n          return true;\n        }\n        const result = moduleSpecifierIsCoveredByPackageJson(moduleSpecifier);\n        sourceFileCache.set(sourceFile, result);\n        return result;\n      }\n      function allowsImportingSpecifier(moduleSpecifier) {\n        if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {\n          return true;\n        }\n        if (pathIsRelative(moduleSpecifier) || isRootedDiskPath(moduleSpecifier)) {\n          return true;\n        }\n        return moduleSpecifierIsCoveredByPackageJson(moduleSpecifier);\n      }\n      function isAllowedCoreNodeModulesImport(moduleSpecifier) {\n        if (isSourceFileJS(fromFile) && ts_JsTyping_exports.nodeCoreModules.has(moduleSpecifier)) {\n          if (usesNodeCoreModules === void 0) {\n            usesNodeCoreModules = consumesNodeCoreModules(fromFile);\n          }\n          if (usesNodeCoreModules) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function getNodeModulesPackageNameFromFileName(importedFileName, moduleSpecifierResolutionHost) {\n        if (!stringContains(importedFileName, \"node_modules\")) {\n          return void 0;\n        }\n        const specifier = ts_moduleSpecifiers_exports.getNodeModulesPackageName(\n          host.getCompilationSettings(),\n          fromFile,\n          importedFileName,\n          moduleSpecifierResolutionHost,\n          preferences\n        );\n        if (!specifier) {\n          return void 0;\n        }\n        if (!pathIsRelative(specifier) && !isRootedDiskPath(specifier)) {\n          return getNodeModuleRootSpecifier(specifier);\n        }\n      }\n      function getNodeModuleRootSpecifier(fullSpecifier) {\n        const components = getPathComponents(getPackageNameFromTypesPackageName(fullSpecifier)).slice(1);\n        if (startsWith(components[0], \"@\")) {\n          return `${components[0]}/${components[1]}`;\n        }\n        return components[0];\n      }\n    }\n    function tryParseJson(text) {\n      try {\n        return JSON.parse(text);\n      } catch (e) {\n        return void 0;\n      }\n    }\n    function consumesNodeCoreModules(sourceFile) {\n      return some(sourceFile.imports, ({ text }) => ts_JsTyping_exports.nodeCoreModules.has(text));\n    }\n    function isInsideNodeModules(fileOrDirectory) {\n      return contains(getPathComponents(fileOrDirectory), \"node_modules\");\n    }\n    function isDiagnosticWithLocation(diagnostic) {\n      return diagnostic.file !== void 0 && diagnostic.start !== void 0 && diagnostic.length !== void 0;\n    }\n    function findDiagnosticForNode(node, sortedFileDiagnostics) {\n      const span = createTextSpanFromNode(node);\n      const index = binarySearchKey(sortedFileDiagnostics, span, identity2, compareTextSpans);\n      if (index >= 0) {\n        const diagnostic = sortedFileDiagnostics[index];\n        Debug2.assertEqual(diagnostic.file, node.getSourceFile(), \"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile\");\n        return cast(diagnostic, isDiagnosticWithLocation);\n      }\n    }\n    function getDiagnosticsWithinSpan(span, sortedFileDiagnostics) {\n      var _a22;\n      let index = binarySearchKey(sortedFileDiagnostics, span.start, (diag2) => diag2.start, compareValues);\n      if (index < 0) {\n        index = ~index;\n      }\n      while (((_a22 = sortedFileDiagnostics[index - 1]) == null ? void 0 : _a22.start) === span.start) {\n        index--;\n      }\n      const result = [];\n      const end = textSpanEnd(span);\n      while (true) {\n        const diagnostic = tryCast(sortedFileDiagnostics[index], isDiagnosticWithLocation);\n        if (!diagnostic || diagnostic.start > end) {\n          break;\n        }\n        if (textSpanContainsTextSpan(span, diagnostic)) {\n          result.push(diagnostic);\n        }\n        index++;\n      }\n      return result;\n    }\n    function getRefactorContextSpan({ startPosition, endPosition }) {\n      return createTextSpanFromBounds(startPosition, endPosition === void 0 ? startPosition : endPosition);\n    }\n    function getFixableErrorSpanExpression(sourceFile, span) {\n      const token = getTokenAtPosition(sourceFile, span.start);\n      const expression = findAncestor(token, (node) => {\n        if (node.getStart(sourceFile) < span.start || node.getEnd() > textSpanEnd(span)) {\n          return \"quit\";\n        }\n        return isExpression(node) && textSpansEqual(span, createTextSpanFromNode(node, sourceFile));\n      });\n      return expression;\n    }\n    function mapOneOrMany(valueOrArray, f, resultSelector = identity2) {\n      return valueOrArray ? isArray(valueOrArray) ? resultSelector(map(valueOrArray, f)) : f(valueOrArray, 0) : void 0;\n    }\n    function firstOrOnly(valueOrArray) {\n      return isArray(valueOrArray) ? first(valueOrArray) : valueOrArray;\n    }\n    function getNamesForExportedSymbol(symbol, scriptTarget) {\n      if (needsNameFromDeclaration(symbol)) {\n        const fromDeclaration = getDefaultLikeExportNameFromDeclaration(symbol);\n        if (fromDeclaration)\n          return fromDeclaration;\n        const fileNameCase = ts_codefix_exports.moduleSymbolToValidIdentifier(\n          getSymbolParentOrFail(symbol),\n          scriptTarget,\n          /*preferCapitalized*/\n          false\n        );\n        const capitalized = ts_codefix_exports.moduleSymbolToValidIdentifier(\n          getSymbolParentOrFail(symbol),\n          scriptTarget,\n          /*preferCapitalized*/\n          true\n        );\n        if (fileNameCase === capitalized)\n          return fileNameCase;\n        return [fileNameCase, capitalized];\n      }\n      return symbol.name;\n    }\n    function getNameForExportedSymbol(symbol, scriptTarget, preferCapitalized) {\n      if (needsNameFromDeclaration(symbol)) {\n        return getDefaultLikeExportNameFromDeclaration(symbol) || ts_codefix_exports.moduleSymbolToValidIdentifier(getSymbolParentOrFail(symbol), scriptTarget, !!preferCapitalized);\n      }\n      return symbol.name;\n    }\n    function needsNameFromDeclaration(symbol) {\n      return !(symbol.flags & 33554432) && (symbol.escapedName === \"export=\" || symbol.escapedName === \"default\");\n    }\n    function getDefaultLikeExportNameFromDeclaration(symbol) {\n      return firstDefined(\n        symbol.declarations,\n        (d) => {\n          var _a22, _b3;\n          return isExportAssignment(d) ? (_a22 = tryCast(skipOuterExpressions(d.expression), isIdentifier)) == null ? void 0 : _a22.text : (_b3 = tryCast(getNameOfDeclaration(d), isIdentifier)) == null ? void 0 : _b3.text;\n        }\n      );\n    }\n    function getSymbolParentOrFail(symbol) {\n      var _a22;\n      return Debug2.checkDefined(\n        symbol.parent,\n        `Symbol parent was undefined. Flags: ${Debug2.formatSymbolFlags(symbol.flags)}. Declarations: ${(_a22 = symbol.declarations) == null ? void 0 : _a22.map((d) => {\n          const kind = Debug2.formatSyntaxKind(d.kind);\n          const inJS = isInJSFile(d);\n          const { expression } = d;\n          return (inJS ? \"[JS]\" : \"\") + kind + (expression ? ` (expression: ${Debug2.formatSyntaxKind(expression.kind)})` : \"\");\n        }).join(\", \")}.`\n      );\n    }\n    function stringContainsAt(haystack, needle, startIndex) {\n      const needleLength = needle.length;\n      if (needleLength + startIndex > haystack.length) {\n        return false;\n      }\n      for (let i = 0; i < needleLength; i++) {\n        if (needle.charCodeAt(i) !== haystack.charCodeAt(i + startIndex))\n          return false;\n      }\n      return true;\n    }\n    function startsWithUnderscore(name) {\n      return name.charCodeAt(0) === 95;\n    }\n    function isGlobalDeclaration(declaration) {\n      return !isNonGlobalDeclaration(declaration);\n    }\n    function isNonGlobalDeclaration(declaration) {\n      const sourceFile = declaration.getSourceFile();\n      if (!sourceFile.externalModuleIndicator && !sourceFile.commonJsModuleIndicator) {\n        return false;\n      }\n      return isInJSFile(declaration) || !findAncestor(declaration, (d) => isModuleDeclaration(d) && isGlobalScopeAugmentation(d));\n    }\n    function isDeprecatedDeclaration(decl) {\n      return !!(getCombinedNodeFlagsAlwaysIncludeJSDoc(decl) & 8192);\n    }\n    function shouldUseUriStyleNodeCoreModules(file, program) {\n      const decisionFromFile = firstDefined(file.imports, (node) => {\n        if (ts_JsTyping_exports.nodeCoreModules.has(node.text)) {\n          return startsWith(node.text, \"node:\");\n        }\n      });\n      return decisionFromFile != null ? decisionFromFile : program.usesUriStyleNodeCoreModules;\n    }\n    function getNewLineKind(newLineCharacter) {\n      return newLineCharacter === \"\\n\" ? 1 : 0;\n    }\n    function diagnosticToString(diag2) {\n      return isArray(diag2) ? formatStringFromArgs(getLocaleSpecificMessage(diag2[0]), diag2.slice(1)) : getLocaleSpecificMessage(diag2);\n    }\n    function getFormatCodeSettingsForWriting({ options }, sourceFile) {\n      const shouldAutoDetectSemicolonPreference = !options.semicolons || options.semicolons === \"ignore\";\n      const shouldRemoveSemicolons = options.semicolons === \"remove\" || shouldAutoDetectSemicolonPreference && !probablyUsesSemicolons(sourceFile);\n      return {\n        ...options,\n        semicolons: shouldRemoveSemicolons ? \"remove\" : \"ignore\"\n        /* Ignore */\n      };\n    }\n    function jsxModeNeedsExplicitImport(jsx) {\n      return jsx === 2 || jsx === 3;\n    }\n    function isSourceFileFromLibrary(program, node) {\n      return program.isSourceFileFromExternalLibrary(node) || program.isSourceFileDefaultLibrary(node);\n    }\n    function newCaseClauseTracker(checker, clauses) {\n      const existingStrings = /* @__PURE__ */ new Set();\n      const existingNumbers = /* @__PURE__ */ new Set();\n      const existingBigInts = /* @__PURE__ */ new Set();\n      for (const clause of clauses) {\n        if (!isDefaultClause(clause)) {\n          const expression = skipParentheses(clause.expression);\n          if (isLiteralExpression(expression)) {\n            switch (expression.kind) {\n              case 14:\n              case 10:\n                existingStrings.add(expression.text);\n                break;\n              case 8:\n                existingNumbers.add(parseInt(expression.text));\n                break;\n              case 9:\n                const parsedBigInt = parseBigInt(endsWith(expression.text, \"n\") ? expression.text.slice(0, -1) : expression.text);\n                if (parsedBigInt) {\n                  existingBigInts.add(pseudoBigIntToString(parsedBigInt));\n                }\n                break;\n            }\n          } else {\n            const symbol = checker.getSymbolAtLocation(clause.expression);\n            if (symbol && symbol.valueDeclaration && isEnumMember(symbol.valueDeclaration)) {\n              const enumValue = checker.getConstantValue(symbol.valueDeclaration);\n              if (enumValue !== void 0) {\n                addValue(enumValue);\n              }\n            }\n          }\n        }\n      }\n      return {\n        addValue,\n        hasValue\n      };\n      function addValue(value) {\n        switch (typeof value) {\n          case \"string\":\n            existingStrings.add(value);\n            break;\n          case \"number\":\n            existingNumbers.add(value);\n        }\n      }\n      function hasValue(value) {\n        switch (typeof value) {\n          case \"string\":\n            return existingStrings.has(value);\n          case \"number\":\n            return existingNumbers.has(value);\n          case \"object\":\n            return existingBigInts.has(pseudoBigIntToString(value));\n        }\n      }\n    }\n    var scanner, SemanticMeaning, tripleSlashDirectivePrefixRegex, typeKeywords, QuotePreference, displayPartWriter, lineFeed2, ANONYMOUS, syntaxMayBeASICandidate;\n    var init_utilities4 = __esm({\n      \"src/services/utilities.ts\"() {\n        \"use strict\";\n        init_ts4();\n        scanner = createScanner(\n          99,\n          /*skipTrivia*/\n          true\n        );\n        SemanticMeaning = /* @__PURE__ */ ((SemanticMeaning3) => {\n          SemanticMeaning3[SemanticMeaning3[\"None\"] = 0] = \"None\";\n          SemanticMeaning3[SemanticMeaning3[\"Value\"] = 1] = \"Value\";\n          SemanticMeaning3[SemanticMeaning3[\"Type\"] = 2] = \"Type\";\n          SemanticMeaning3[SemanticMeaning3[\"Namespace\"] = 4] = \"Namespace\";\n          SemanticMeaning3[SemanticMeaning3[\"All\"] = 7] = \"All\";\n          return SemanticMeaning3;\n        })(SemanticMeaning || {});\n        tripleSlashDirectivePrefixRegex = /^\\/\\/\\/\\s*</;\n        typeKeywords = [\n          131,\n          129,\n          160,\n          134,\n          95,\n          138,\n          141,\n          144,\n          104,\n          148,\n          149,\n          146,\n          152,\n          153,\n          110,\n          114,\n          155,\n          156,\n          157\n          /* UnknownKeyword */\n        ];\n        QuotePreference = /* @__PURE__ */ ((QuotePreference5) => {\n          QuotePreference5[QuotePreference5[\"Single\"] = 0] = \"Single\";\n          QuotePreference5[QuotePreference5[\"Double\"] = 1] = \"Double\";\n          return QuotePreference5;\n        })(QuotePreference || {});\n        displayPartWriter = getDisplayPartWriter();\n        lineFeed2 = \"\\n\";\n        ANONYMOUS = \"anonymous function\";\n        syntaxMayBeASICandidate = or(\n          syntaxRequiresTrailingCommaOrSemicolonOrASI,\n          syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,\n          syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,\n          syntaxRequiresTrailingSemicolonOrASI\n        );\n      }\n    });\n    function createCacheableExportInfoMap(host) {\n      let exportInfoId = 1;\n      const exportInfo = createMultiMap();\n      const symbols = /* @__PURE__ */ new Map();\n      const packages = /* @__PURE__ */ new Map();\n      let usableByFileName;\n      const cache = {\n        isUsableByFile: (importingFile) => importingFile === usableByFileName,\n        isEmpty: () => !exportInfo.size,\n        clear: () => {\n          exportInfo.clear();\n          symbols.clear();\n          usableByFileName = void 0;\n        },\n        add: (importingFile, symbol, symbolTableKey, moduleSymbol, moduleFile, exportKind, isFromPackageJson, checker) => {\n          if (importingFile !== usableByFileName) {\n            cache.clear();\n            usableByFileName = importingFile;\n          }\n          let packageName;\n          if (moduleFile) {\n            const nodeModulesPathParts = getNodeModulePathParts(moduleFile.fileName);\n            if (nodeModulesPathParts) {\n              const { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex } = nodeModulesPathParts;\n              packageName = unmangleScopedPackageName(getPackageNameFromTypesPackageName(moduleFile.fileName.substring(topLevelPackageNameIndex + 1, packageRootIndex)));\n              if (startsWith(importingFile, moduleFile.path.substring(0, topLevelNodeModulesIndex))) {\n                const prevDeepestNodeModulesPath = packages.get(packageName);\n                const nodeModulesPath = moduleFile.fileName.substring(0, topLevelPackageNameIndex + 1);\n                if (prevDeepestNodeModulesPath) {\n                  const prevDeepestNodeModulesIndex = prevDeepestNodeModulesPath.indexOf(nodeModulesPathPart);\n                  if (topLevelNodeModulesIndex > prevDeepestNodeModulesIndex) {\n                    packages.set(packageName, nodeModulesPath);\n                  }\n                } else {\n                  packages.set(packageName, nodeModulesPath);\n                }\n              }\n            }\n          }\n          const isDefault = exportKind === 1;\n          const namedSymbol = isDefault && getLocalSymbolForExportDefault(symbol) || symbol;\n          const names = exportKind === 0 || isExternalModuleSymbol(namedSymbol) ? unescapeLeadingUnderscores(symbolTableKey) : getNamesForExportedSymbol(\n            namedSymbol,\n            /*scriptTarget*/\n            void 0\n          );\n          const symbolName2 = typeof names === \"string\" ? names : names[0];\n          const capitalizedSymbolName = typeof names === \"string\" ? void 0 : names[1];\n          const moduleName = stripQuotes(moduleSymbol.name);\n          const id = exportInfoId++;\n          const target = skipAlias(symbol, checker);\n          const storedSymbol = symbol.flags & 33554432 ? void 0 : symbol;\n          const storedModuleSymbol = moduleSymbol.flags & 33554432 ? void 0 : moduleSymbol;\n          if (!storedSymbol || !storedModuleSymbol)\n            symbols.set(id, [symbol, moduleSymbol]);\n          exportInfo.add(key(symbolName2, symbol, isExternalModuleNameRelative(moduleName) ? void 0 : moduleName, checker), {\n            id,\n            symbolTableKey,\n            symbolName: symbolName2,\n            capitalizedSymbolName,\n            moduleName,\n            moduleFile,\n            moduleFileName: moduleFile == null ? void 0 : moduleFile.fileName,\n            packageName,\n            exportKind,\n            targetFlags: target.flags,\n            isFromPackageJson,\n            symbol: storedSymbol,\n            moduleSymbol: storedModuleSymbol\n          });\n        },\n        get: (importingFile, key2) => {\n          if (importingFile !== usableByFileName)\n            return;\n          const result = exportInfo.get(key2);\n          return result == null ? void 0 : result.map(rehydrateCachedInfo);\n        },\n        search: (importingFile, preferCapitalized, matches, action) => {\n          if (importingFile !== usableByFileName)\n            return;\n          return forEachEntry(exportInfo, (info, key2) => {\n            const { symbolName: symbolName2, ambientModuleName } = parseKey(key2);\n            const name = preferCapitalized && info[0].capitalizedSymbolName || symbolName2;\n            if (matches(name, info[0].targetFlags)) {\n              const rehydrated = info.map(rehydrateCachedInfo);\n              const filtered = rehydrated.filter((r, i) => isNotShadowedByDeeperNodeModulesPackage(r, info[i].packageName));\n              if (filtered.length) {\n                const res = action(filtered, name, !!ambientModuleName, key2);\n                if (res !== void 0)\n                  return res;\n              }\n            }\n          });\n        },\n        releaseSymbols: () => {\n          symbols.clear();\n        },\n        onFileChanged: (oldSourceFile, newSourceFile, typeAcquisitionEnabled) => {\n          if (fileIsGlobalOnly(oldSourceFile) && fileIsGlobalOnly(newSourceFile)) {\n            return false;\n          }\n          if (usableByFileName && usableByFileName !== newSourceFile.path || // If ATA is enabled, auto-imports uses existing imports to guess whether you want auto-imports from node.\n          // Adding or removing imports from node could change the outcome of that guess, so could change the suggestions list.\n          typeAcquisitionEnabled && consumesNodeCoreModules(oldSourceFile) !== consumesNodeCoreModules(newSourceFile) || // Module agumentation and ambient module changes can add or remove exports available to be auto-imported.\n          // Changes elsewhere in the file can change the *type* of an export in a module augmentation,\n          // but type info is gathered in getCompletionEntryDetails, which doesn’t use the cache.\n          !arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations) || !ambientModuleDeclarationsAreEqual(oldSourceFile, newSourceFile)) {\n            cache.clear();\n            return true;\n          }\n          usableByFileName = newSourceFile.path;\n          return false;\n        }\n      };\n      if (Debug2.isDebugging) {\n        Object.defineProperty(cache, \"__cache\", { get: () => exportInfo });\n      }\n      return cache;\n      function rehydrateCachedInfo(info) {\n        if (info.symbol && info.moduleSymbol)\n          return info;\n        const { id, exportKind, targetFlags, isFromPackageJson, moduleFileName } = info;\n        const [cachedSymbol, cachedModuleSymbol] = symbols.get(id) || emptyArray;\n        if (cachedSymbol && cachedModuleSymbol) {\n          return {\n            symbol: cachedSymbol,\n            moduleSymbol: cachedModuleSymbol,\n            moduleFileName,\n            exportKind,\n            targetFlags,\n            isFromPackageJson\n          };\n        }\n        const checker = (isFromPackageJson ? host.getPackageJsonAutoImportProvider() : host.getCurrentProgram()).getTypeChecker();\n        const moduleSymbol = info.moduleSymbol || cachedModuleSymbol || Debug2.checkDefined(info.moduleFile ? checker.getMergedSymbol(info.moduleFile.symbol) : checker.tryFindAmbientModule(info.moduleName));\n        const symbol = info.symbol || cachedSymbol || Debug2.checkDefined(\n          exportKind === 2 ? checker.resolveExternalModuleSymbol(moduleSymbol) : checker.tryGetMemberInModuleExportsAndProperties(unescapeLeadingUnderscores(info.symbolTableKey), moduleSymbol),\n          `Could not find symbol '${info.symbolName}' by key '${info.symbolTableKey}' in module ${moduleSymbol.name}`\n        );\n        symbols.set(id, [symbol, moduleSymbol]);\n        return {\n          symbol,\n          moduleSymbol,\n          moduleFileName,\n          exportKind,\n          targetFlags,\n          isFromPackageJson\n        };\n      }\n      function key(importedName, symbol, ambientModuleName, checker) {\n        const moduleKey = ambientModuleName || \"\";\n        return `${importedName}|${getSymbolId(skipAlias(symbol, checker))}|${moduleKey}`;\n      }\n      function parseKey(key2) {\n        const symbolName2 = key2.substring(0, key2.indexOf(\"|\"));\n        const moduleKey = key2.substring(key2.lastIndexOf(\"|\") + 1);\n        const ambientModuleName = moduleKey === \"\" ? void 0 : moduleKey;\n        return { symbolName: symbolName2, ambientModuleName };\n      }\n      function fileIsGlobalOnly(file) {\n        return !file.commonJsModuleIndicator && !file.externalModuleIndicator && !file.moduleAugmentations && !file.ambientModuleNames;\n      }\n      function ambientModuleDeclarationsAreEqual(oldSourceFile, newSourceFile) {\n        if (!arrayIsEqualTo(oldSourceFile.ambientModuleNames, newSourceFile.ambientModuleNames)) {\n          return false;\n        }\n        let oldFileStatementIndex = -1;\n        let newFileStatementIndex = -1;\n        for (const ambientModuleName of newSourceFile.ambientModuleNames) {\n          const isMatchingModuleDeclaration = (node) => isNonGlobalAmbientModule(node) && node.name.text === ambientModuleName;\n          oldFileStatementIndex = findIndex(oldSourceFile.statements, isMatchingModuleDeclaration, oldFileStatementIndex + 1);\n          newFileStatementIndex = findIndex(newSourceFile.statements, isMatchingModuleDeclaration, newFileStatementIndex + 1);\n          if (oldSourceFile.statements[oldFileStatementIndex] !== newSourceFile.statements[newFileStatementIndex]) {\n            return false;\n          }\n        }\n        return true;\n      }\n      function isNotShadowedByDeeperNodeModulesPackage(info, packageName) {\n        if (!packageName || !info.moduleFileName)\n          return true;\n        const typingsCacheLocation = host.getGlobalTypingsCacheLocation();\n        if (typingsCacheLocation && startsWith(info.moduleFileName, typingsCacheLocation))\n          return true;\n        const packageDeepestNodeModulesPath = packages.get(packageName);\n        return !packageDeepestNodeModulesPath || startsWith(info.moduleFileName, packageDeepestNodeModulesPath);\n      }\n    }\n    function isImportableFile(program, from, to, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) {\n      var _a22;\n      if (from === to)\n        return false;\n      const cachedResult = moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.get(from.path, to.path, preferences, {});\n      if ((cachedResult == null ? void 0 : cachedResult.isBlockedByPackageJsonDependencies) !== void 0) {\n        return !cachedResult.isBlockedByPackageJsonDependencies;\n      }\n      const getCanonicalFileName = hostGetCanonicalFileName(moduleSpecifierResolutionHost);\n      const globalTypingsCache = (_a22 = moduleSpecifierResolutionHost.getGlobalTypingsCacheLocation) == null ? void 0 : _a22.call(moduleSpecifierResolutionHost);\n      const hasImportablePath = !!ts_moduleSpecifiers_exports.forEachFileNameOfModule(\n        from.fileName,\n        to.fileName,\n        moduleSpecifierResolutionHost,\n        /*preferSymlinks*/\n        false,\n        (toPath3) => {\n          const toFile = program.getSourceFile(toPath3);\n          return (toFile === to || !toFile) && isImportablePath(from.fileName, toPath3, getCanonicalFileName, globalTypingsCache);\n        }\n      );\n      if (packageJsonFilter) {\n        const isAutoImportable = hasImportablePath && packageJsonFilter.allowsImportingSourceFile(to, moduleSpecifierResolutionHost);\n        moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.setBlockedByPackageJsonDependencies(from.path, to.path, preferences, {}, !isAutoImportable);\n        return isAutoImportable;\n      }\n      return hasImportablePath;\n    }\n    function isImportablePath(fromPath, toPath3, getCanonicalFileName, globalCachePath) {\n      const toNodeModules = forEachAncestorDirectory(toPath3, (ancestor) => getBaseFileName(ancestor) === \"node_modules\" ? ancestor : void 0);\n      const toNodeModulesParent = toNodeModules && getDirectoryPath(getCanonicalFileName(toNodeModules));\n      return toNodeModulesParent === void 0 || startsWith(getCanonicalFileName(fromPath), toNodeModulesParent) || !!globalCachePath && startsWith(getCanonicalFileName(globalCachePath), toNodeModulesParent);\n    }\n    function forEachExternalModuleToImportFrom(program, host, preferences, useAutoImportProvider, cb) {\n      var _a22, _b3;\n      const useCaseSensitiveFileNames = hostUsesCaseSensitiveFileNames(host);\n      const excludePatterns = preferences.autoImportFileExcludePatterns && mapDefined(preferences.autoImportFileExcludePatterns, (spec) => {\n        const pattern = getPatternFromSpec(spec, \"\", \"exclude\");\n        return pattern ? getRegexFromPattern(pattern, useCaseSensitiveFileNames) : void 0;\n      });\n      forEachExternalModule(program.getTypeChecker(), program.getSourceFiles(), excludePatterns, (module2, file) => cb(\n        module2,\n        file,\n        program,\n        /*isFromPackageJson*/\n        false\n      ));\n      const autoImportProvider = useAutoImportProvider && ((_a22 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a22.call(host));\n      if (autoImportProvider) {\n        const start = timestamp();\n        const checker = program.getTypeChecker();\n        forEachExternalModule(autoImportProvider.getTypeChecker(), autoImportProvider.getSourceFiles(), excludePatterns, (module2, file) => {\n          if (file && !program.getSourceFile(file.fileName) || !file && !checker.resolveName(\n            module2.name,\n            /*location*/\n            void 0,\n            1536,\n            /*excludeGlobals*/\n            false\n          )) {\n            cb(\n              module2,\n              file,\n              autoImportProvider,\n              /*isFromPackageJson*/\n              true\n            );\n          }\n        });\n        (_b3 = host.log) == null ? void 0 : _b3.call(host, `forEachExternalModuleToImportFrom autoImportProvider: ${timestamp() - start}`);\n      }\n    }\n    function forEachExternalModule(checker, allSourceFiles, excludePatterns, cb) {\n      var _a22;\n      const isExcluded = excludePatterns && ((fileName) => excludePatterns.some((p) => p.test(fileName)));\n      for (const ambient of checker.getAmbientModules()) {\n        if (!stringContains(ambient.name, \"*\") && !(excludePatterns && ((_a22 = ambient.declarations) == null ? void 0 : _a22.every((d) => isExcluded(d.getSourceFile().fileName))))) {\n          cb(\n            ambient,\n            /*sourceFile*/\n            void 0\n          );\n        }\n      }\n      for (const sourceFile of allSourceFiles) {\n        if (isExternalOrCommonJsModule(sourceFile) && !(isExcluded == null ? void 0 : isExcluded(sourceFile.fileName))) {\n          cb(checker.getMergedSymbol(sourceFile.symbol), sourceFile);\n        }\n      }\n    }\n    function getExportInfoMap(importingFile, host, program, preferences, cancellationToken) {\n      var _a22, _b3, _c, _d, _e;\n      const start = timestamp();\n      (_a22 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a22.call(host);\n      const cache = ((_b3 = host.getCachedExportInfoMap) == null ? void 0 : _b3.call(host)) || createCacheableExportInfoMap({\n        getCurrentProgram: () => program,\n        getPackageJsonAutoImportProvider: () => {\n          var _a32;\n          return (_a32 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a32.call(host);\n        },\n        getGlobalTypingsCacheLocation: () => {\n          var _a32;\n          return (_a32 = host.getGlobalTypingsCacheLocation) == null ? void 0 : _a32.call(host);\n        }\n      });\n      if (cache.isUsableByFile(importingFile.path)) {\n        (_c = host.log) == null ? void 0 : _c.call(host, \"getExportInfoMap: cache hit\");\n        return cache;\n      }\n      (_d = host.log) == null ? void 0 : _d.call(host, \"getExportInfoMap: cache miss or empty; calculating new results\");\n      const compilerOptions = program.getCompilerOptions();\n      let moduleCount = 0;\n      try {\n        forEachExternalModuleToImportFrom(\n          program,\n          host,\n          preferences,\n          /*useAutoImportProvider*/\n          true,\n          (moduleSymbol, moduleFile, program2, isFromPackageJson) => {\n            if (++moduleCount % 100 === 0)\n              cancellationToken == null ? void 0 : cancellationToken.throwIfCancellationRequested();\n            const seenExports = /* @__PURE__ */ new Map();\n            const checker = program2.getTypeChecker();\n            const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions);\n            if (defaultInfo && isImportableSymbol(defaultInfo.symbol, checker)) {\n              cache.add(\n                importingFile.path,\n                defaultInfo.symbol,\n                defaultInfo.exportKind === 1 ? \"default\" : \"export=\",\n                moduleSymbol,\n                moduleFile,\n                defaultInfo.exportKind,\n                isFromPackageJson,\n                checker\n              );\n            }\n            checker.forEachExportAndPropertyOfModule(moduleSymbol, (exported, key) => {\n              if (exported !== (defaultInfo == null ? void 0 : defaultInfo.symbol) && isImportableSymbol(exported, checker) && addToSeen(seenExports, key)) {\n                cache.add(\n                  importingFile.path,\n                  exported,\n                  key,\n                  moduleSymbol,\n                  moduleFile,\n                  0,\n                  isFromPackageJson,\n                  checker\n                );\n              }\n            });\n          }\n        );\n      } catch (err) {\n        cache.clear();\n        throw err;\n      }\n      (_e = host.log) == null ? void 0 : _e.call(host, `getExportInfoMap: done in ${timestamp() - start} ms`);\n      return cache;\n    }\n    function getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions) {\n      const exported = getDefaultLikeExportWorker(moduleSymbol, checker);\n      if (!exported)\n        return void 0;\n      const { symbol, exportKind } = exported;\n      const info = getDefaultExportInfoWorker(symbol, checker, compilerOptions);\n      return info && { symbol, exportKind, ...info };\n    }\n    function isImportableSymbol(symbol, checker) {\n      return !checker.isUndefinedSymbol(symbol) && !checker.isUnknownSymbol(symbol) && !isKnownSymbol(symbol) && !isPrivateIdentifierSymbol(symbol);\n    }\n    function getDefaultLikeExportWorker(moduleSymbol, checker) {\n      const exportEquals = checker.resolveExternalModuleSymbol(moduleSymbol);\n      if (exportEquals !== moduleSymbol)\n        return {\n          symbol: exportEquals,\n          exportKind: 2\n          /* ExportEquals */\n        };\n      const defaultExport = checker.tryGetMemberInModuleExports(\"default\", moduleSymbol);\n      if (defaultExport)\n        return {\n          symbol: defaultExport,\n          exportKind: 1\n          /* Default */\n        };\n    }\n    function getDefaultExportInfoWorker(defaultExport, checker, compilerOptions) {\n      const localSymbol = getLocalSymbolForExportDefault(defaultExport);\n      if (localSymbol)\n        return { resolvedSymbol: localSymbol, name: localSymbol.name };\n      const name = getNameForExportDefault(defaultExport);\n      if (name !== void 0)\n        return { resolvedSymbol: defaultExport, name };\n      if (defaultExport.flags & 2097152) {\n        const aliased = checker.getImmediateAliasedSymbol(defaultExport);\n        if (aliased && aliased.parent) {\n          return getDefaultExportInfoWorker(aliased, checker, compilerOptions);\n        }\n      }\n      if (defaultExport.escapedName !== \"default\" && defaultExport.escapedName !== \"export=\") {\n        return { resolvedSymbol: defaultExport, name: defaultExport.getName() };\n      }\n      return { resolvedSymbol: defaultExport, name: getNameForExportedSymbol(defaultExport, compilerOptions.target) };\n    }\n    function getNameForExportDefault(symbol) {\n      return symbol.declarations && firstDefined(symbol.declarations, (declaration) => {\n        var _a22;\n        if (isExportAssignment(declaration)) {\n          return (_a22 = tryCast(skipOuterExpressions(declaration.expression), isIdentifier)) == null ? void 0 : _a22.text;\n        } else if (isExportSpecifier(declaration)) {\n          Debug2.assert(declaration.name.text === \"default\", \"Expected the specifier to be a default export\");\n          return declaration.propertyName && declaration.propertyName.text;\n        }\n      });\n    }\n    var ImportKind, ExportKind;\n    var init_exportInfoMap = __esm({\n      \"src/services/exportInfoMap.ts\"() {\n        \"use strict\";\n        init_ts4();\n        ImportKind = /* @__PURE__ */ ((ImportKind2) => {\n          ImportKind2[ImportKind2[\"Named\"] = 0] = \"Named\";\n          ImportKind2[ImportKind2[\"Default\"] = 1] = \"Default\";\n          ImportKind2[ImportKind2[\"Namespace\"] = 2] = \"Namespace\";\n          ImportKind2[ImportKind2[\"CommonJS\"] = 3] = \"CommonJS\";\n          return ImportKind2;\n        })(ImportKind || {});\n        ExportKind = /* @__PURE__ */ ((ExportKind3) => {\n          ExportKind3[ExportKind3[\"Named\"] = 0] = \"Named\";\n          ExportKind3[ExportKind3[\"Default\"] = 1] = \"Default\";\n          ExportKind3[ExportKind3[\"ExportEquals\"] = 2] = \"ExportEquals\";\n          ExportKind3[ExportKind3[\"UMD\"] = 3] = \"UMD\";\n          return ExportKind3;\n        })(ExportKind || {});\n      }\n    });\n    function createClassifier2() {\n      const scanner2 = createScanner(\n        99,\n        /*skipTrivia*/\n        false\n      );\n      function getClassificationsForLine(text, lexState, syntacticClassifierAbsent) {\n        return convertClassificationsToResult(getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent), text);\n      }\n      function getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent) {\n        let token = 0;\n        let lastNonTriviaToken = 0;\n        const templateStack = [];\n        const { prefix, pushTemplate } = getPrefixFromLexState(lexState);\n        text = prefix + text;\n        const offset = prefix.length;\n        if (pushTemplate) {\n          templateStack.push(\n            15\n            /* TemplateHead */\n          );\n        }\n        scanner2.setText(text);\n        let endOfLineState = 0;\n        const spans = [];\n        let angleBracketStack = 0;\n        do {\n          token = scanner2.scan();\n          if (!isTrivia(token)) {\n            handleToken();\n            lastNonTriviaToken = token;\n          }\n          const end = scanner2.getTextPos();\n          pushEncodedClassification(scanner2.getTokenPos(), end, offset, classFromKind(token), spans);\n          if (end >= text.length) {\n            const end2 = getNewEndOfLineState(scanner2, token, lastOrUndefined(templateStack));\n            if (end2 !== void 0) {\n              endOfLineState = end2;\n            }\n          }\n        } while (token !== 1);\n        function handleToken() {\n          switch (token) {\n            case 43:\n            case 68:\n              if (!noRegexTable[lastNonTriviaToken] && scanner2.reScanSlashToken() === 13) {\n                token = 13;\n              }\n              break;\n            case 29:\n              if (lastNonTriviaToken === 79) {\n                angleBracketStack++;\n              }\n              break;\n            case 31:\n              if (angleBracketStack > 0) {\n                angleBracketStack--;\n              }\n              break;\n            case 131:\n            case 152:\n            case 148:\n            case 134:\n            case 153:\n              if (angleBracketStack > 0 && !syntacticClassifierAbsent) {\n                token = 79;\n              }\n              break;\n            case 15:\n              templateStack.push(token);\n              break;\n            case 18:\n              if (templateStack.length > 0) {\n                templateStack.push(token);\n              }\n              break;\n            case 19:\n              if (templateStack.length > 0) {\n                const lastTemplateStackToken = lastOrUndefined(templateStack);\n                if (lastTemplateStackToken === 15) {\n                  token = scanner2.reScanTemplateToken(\n                    /* isTaggedTemplate */\n                    false\n                  );\n                  if (token === 17) {\n                    templateStack.pop();\n                  } else {\n                    Debug2.assertEqual(token, 16, \"Should have been a template middle.\");\n                  }\n                } else {\n                  Debug2.assertEqual(lastTemplateStackToken, 18, \"Should have been an open brace\");\n                  templateStack.pop();\n                }\n              }\n              break;\n            default:\n              if (!isKeyword(token)) {\n                break;\n              }\n              if (lastNonTriviaToken === 24) {\n                token = 79;\n              } else if (isKeyword(lastNonTriviaToken) && isKeyword(token) && !canFollow(lastNonTriviaToken, token)) {\n                token = 79;\n              }\n          }\n        }\n        return { endOfLineState, spans };\n      }\n      return { getClassificationsForLine, getEncodedLexicalClassifications };\n    }\n    function getNewEndOfLineState(scanner2, token, lastOnTemplateStack) {\n      switch (token) {\n        case 10: {\n          if (!scanner2.isUnterminated())\n            return void 0;\n          const tokenText = scanner2.getTokenText();\n          const lastCharIndex = tokenText.length - 1;\n          let numBackslashes = 0;\n          while (tokenText.charCodeAt(lastCharIndex - numBackslashes) === 92) {\n            numBackslashes++;\n          }\n          if ((numBackslashes & 1) === 0)\n            return void 0;\n          return tokenText.charCodeAt(0) === 34 ? 3 : 2;\n        }\n        case 3:\n          return scanner2.isUnterminated() ? 1 : void 0;\n        default:\n          if (isTemplateLiteralKind(token)) {\n            if (!scanner2.isUnterminated()) {\n              return void 0;\n            }\n            switch (token) {\n              case 17:\n                return 5;\n              case 14:\n                return 4;\n              default:\n                return Debug2.fail(\"Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #\" + token);\n            }\n          }\n          return lastOnTemplateStack === 15 ? 6 : void 0;\n      }\n    }\n    function pushEncodedClassification(start, end, offset, classification, result) {\n      if (classification === 8) {\n        return;\n      }\n      if (start === 0 && offset > 0) {\n        start += offset;\n      }\n      const length2 = end - start;\n      if (length2 > 0) {\n        result.push(start - offset, length2, classification);\n      }\n    }\n    function convertClassificationsToResult(classifications, text) {\n      const entries = [];\n      const dense = classifications.spans;\n      let lastEnd = 0;\n      for (let i = 0; i < dense.length; i += 3) {\n        const start = dense[i];\n        const length2 = dense[i + 1];\n        const type = dense[i + 2];\n        if (lastEnd >= 0) {\n          const whitespaceLength2 = start - lastEnd;\n          if (whitespaceLength2 > 0) {\n            entries.push({\n              length: whitespaceLength2,\n              classification: 4\n              /* Whitespace */\n            });\n          }\n        }\n        entries.push({ length: length2, classification: convertClassification(type) });\n        lastEnd = start + length2;\n      }\n      const whitespaceLength = text.length - lastEnd;\n      if (whitespaceLength > 0) {\n        entries.push({\n          length: whitespaceLength,\n          classification: 4\n          /* Whitespace */\n        });\n      }\n      return { entries, finalLexState: classifications.endOfLineState };\n    }\n    function convertClassification(type) {\n      switch (type) {\n        case 1:\n          return 3;\n        case 3:\n          return 1;\n        case 4:\n          return 6;\n        case 25:\n          return 7;\n        case 5:\n          return 2;\n        case 6:\n          return 8;\n        case 8:\n          return 4;\n        case 10:\n          return 0;\n        case 2:\n        case 11:\n        case 12:\n        case 13:\n        case 14:\n        case 15:\n        case 16:\n        case 9:\n        case 17:\n          return 5;\n        default:\n          return void 0;\n      }\n    }\n    function canFollow(keyword1, keyword2) {\n      if (!isAccessibilityModifier(keyword1)) {\n        return true;\n      }\n      switch (keyword2) {\n        case 137:\n        case 151:\n        case 135:\n        case 124:\n        case 127:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function getPrefixFromLexState(lexState) {\n      switch (lexState) {\n        case 3:\n          return { prefix: '\"\\\\\\n' };\n        case 2:\n          return { prefix: \"'\\\\\\n\" };\n        case 1:\n          return { prefix: \"/*\\n\" };\n        case 4:\n          return { prefix: \"`\\n\" };\n        case 5:\n          return { prefix: \"}\\n\", pushTemplate: true };\n        case 6:\n          return { prefix: \"\", pushTemplate: true };\n        case 0:\n          return { prefix: \"\" };\n        default:\n          return Debug2.assertNever(lexState);\n      }\n    }\n    function isBinaryExpressionOperatorToken(token) {\n      switch (token) {\n        case 41:\n        case 43:\n        case 44:\n        case 39:\n        case 40:\n        case 47:\n        case 48:\n        case 49:\n        case 29:\n        case 31:\n        case 32:\n        case 33:\n        case 102:\n        case 101:\n        case 128:\n        case 150:\n        case 34:\n        case 35:\n        case 36:\n        case 37:\n        case 50:\n        case 52:\n        case 51:\n        case 55:\n        case 56:\n        case 74:\n        case 73:\n        case 78:\n        case 70:\n        case 71:\n        case 72:\n        case 64:\n        case 65:\n        case 66:\n        case 68:\n        case 69:\n        case 63:\n        case 27:\n        case 60:\n        case 75:\n        case 76:\n        case 77:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isPrefixUnaryExpressionOperatorToken(token) {\n      switch (token) {\n        case 39:\n        case 40:\n        case 54:\n        case 53:\n        case 45:\n        case 46:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function classFromKind(token) {\n      if (isKeyword(token)) {\n        return 3;\n      } else if (isBinaryExpressionOperatorToken(token) || isPrefixUnaryExpressionOperatorToken(token)) {\n        return 5;\n      } else if (token >= 18 && token <= 78) {\n        return 10;\n      }\n      switch (token) {\n        case 8:\n          return 4;\n        case 9:\n          return 25;\n        case 10:\n          return 6;\n        case 13:\n          return 7;\n        case 7:\n        case 3:\n        case 2:\n          return 1;\n        case 5:\n        case 4:\n          return 8;\n        case 79:\n        default:\n          if (isTemplateLiteralKind(token)) {\n            return 6;\n          }\n          return 2;\n      }\n    }\n    function getSemanticClassifications(typeChecker, cancellationToken, sourceFile, classifiableNames, span) {\n      return convertClassificationsToSpans(getEncodedSemanticClassifications(typeChecker, cancellationToken, sourceFile, classifiableNames, span));\n    }\n    function checkForClassificationCancellation(cancellationToken, kind) {\n      switch (kind) {\n        case 264:\n        case 260:\n        case 261:\n        case 259:\n        case 228:\n        case 215:\n        case 216:\n          cancellationToken.throwIfCancellationRequested();\n      }\n    }\n    function getEncodedSemanticClassifications(typeChecker, cancellationToken, sourceFile, classifiableNames, span) {\n      const spans = [];\n      sourceFile.forEachChild(function cb(node) {\n        if (!node || !textSpanIntersectsWith(span, node.pos, node.getFullWidth())) {\n          return;\n        }\n        checkForClassificationCancellation(cancellationToken, node.kind);\n        if (isIdentifier(node) && !nodeIsMissing(node) && classifiableNames.has(node.escapedText)) {\n          const symbol = typeChecker.getSymbolAtLocation(node);\n          const type = symbol && classifySymbol(symbol, getMeaningFromLocation(node), typeChecker);\n          if (type) {\n            pushClassification(node.getStart(sourceFile), node.getEnd(), type);\n          }\n        }\n        node.forEachChild(cb);\n      });\n      return {\n        spans,\n        endOfLineState: 0\n        /* None */\n      };\n      function pushClassification(start, end, type) {\n        const length2 = end - start;\n        Debug2.assert(length2 > 0, `Classification had non-positive length of ${length2}`);\n        spans.push(start);\n        spans.push(length2);\n        spans.push(type);\n      }\n    }\n    function classifySymbol(symbol, meaningAtPosition, checker) {\n      const flags = symbol.getFlags();\n      if ((flags & 2885600) === 0) {\n        return void 0;\n      } else if (flags & 32) {\n        return 11;\n      } else if (flags & 384) {\n        return 12;\n      } else if (flags & 524288) {\n        return 16;\n      } else if (flags & 1536) {\n        return meaningAtPosition & 4 || meaningAtPosition & 1 && hasValueSideModule(symbol) ? 14 : void 0;\n      } else if (flags & 2097152) {\n        return classifySymbol(checker.getAliasedSymbol(symbol), meaningAtPosition, checker);\n      } else if (meaningAtPosition & 2) {\n        return flags & 64 ? 13 : flags & 262144 ? 15 : void 0;\n      } else {\n        return void 0;\n      }\n    }\n    function hasValueSideModule(symbol) {\n      return some(\n        symbol.declarations,\n        (declaration) => isModuleDeclaration(declaration) && getModuleInstanceState(declaration) === 1\n        /* Instantiated */\n      );\n    }\n    function getClassificationTypeName(type) {\n      switch (type) {\n        case 1:\n          return \"comment\";\n        case 2:\n          return \"identifier\";\n        case 3:\n          return \"keyword\";\n        case 4:\n          return \"number\";\n        case 25:\n          return \"bigint\";\n        case 5:\n          return \"operator\";\n        case 6:\n          return \"string\";\n        case 8:\n          return \"whitespace\";\n        case 9:\n          return \"text\";\n        case 10:\n          return \"punctuation\";\n        case 11:\n          return \"class name\";\n        case 12:\n          return \"enum name\";\n        case 13:\n          return \"interface name\";\n        case 14:\n          return \"module name\";\n        case 15:\n          return \"type parameter name\";\n        case 16:\n          return \"type alias name\";\n        case 17:\n          return \"parameter name\";\n        case 18:\n          return \"doc comment tag name\";\n        case 19:\n          return \"jsx open tag name\";\n        case 20:\n          return \"jsx close tag name\";\n        case 21:\n          return \"jsx self closing tag name\";\n        case 22:\n          return \"jsx attribute\";\n        case 23:\n          return \"jsx text\";\n        case 24:\n          return \"jsx attribute string literal value\";\n        default:\n          return void 0;\n      }\n    }\n    function convertClassificationsToSpans(classifications) {\n      Debug2.assert(classifications.spans.length % 3 === 0);\n      const dense = classifications.spans;\n      const result = [];\n      for (let i = 0; i < dense.length; i += 3) {\n        result.push({\n          textSpan: createTextSpan(dense[i], dense[i + 1]),\n          classificationType: getClassificationTypeName(dense[i + 2])\n        });\n      }\n      return result;\n    }\n    function getSyntacticClassifications(cancellationToken, sourceFile, span) {\n      return convertClassificationsToSpans(getEncodedSyntacticClassifications(cancellationToken, sourceFile, span));\n    }\n    function getEncodedSyntacticClassifications(cancellationToken, sourceFile, span) {\n      const spanStart = span.start;\n      const spanLength = span.length;\n      const triviaScanner = createScanner(\n        99,\n        /*skipTrivia*/\n        false,\n        sourceFile.languageVariant,\n        sourceFile.text\n      );\n      const mergeConflictScanner = createScanner(\n        99,\n        /*skipTrivia*/\n        false,\n        sourceFile.languageVariant,\n        sourceFile.text\n      );\n      const result = [];\n      processElement(sourceFile);\n      return {\n        spans: result,\n        endOfLineState: 0\n        /* None */\n      };\n      function pushClassification(start, length2, type) {\n        result.push(start);\n        result.push(length2);\n        result.push(type);\n      }\n      function classifyLeadingTriviaAndGetTokenStart(token) {\n        triviaScanner.setTextPos(token.pos);\n        while (true) {\n          const start = triviaScanner.getTextPos();\n          if (!couldStartTrivia(sourceFile.text, start)) {\n            return start;\n          }\n          const kind = triviaScanner.scan();\n          const end = triviaScanner.getTextPos();\n          const width = end - start;\n          if (!isTrivia(kind)) {\n            return start;\n          }\n          switch (kind) {\n            case 4:\n            case 5:\n              continue;\n            case 2:\n            case 3:\n              classifyComment(token, kind, start, width);\n              triviaScanner.setTextPos(end);\n              continue;\n            case 7:\n              const text = sourceFile.text;\n              const ch = text.charCodeAt(start);\n              if (ch === 60 || ch === 62) {\n                pushClassification(\n                  start,\n                  width,\n                  1\n                  /* comment */\n                );\n                continue;\n              }\n              Debug2.assert(\n                ch === 124 || ch === 61\n                /* equals */\n              );\n              classifyDisabledMergeCode(text, start, end);\n              break;\n            case 6:\n              break;\n            default:\n              Debug2.assertNever(kind);\n          }\n        }\n      }\n      function classifyComment(token, kind, start, width) {\n        if (kind === 3) {\n          const docCommentAndDiagnostics = parseIsolatedJSDocComment(sourceFile.text, start, width);\n          if (docCommentAndDiagnostics && docCommentAndDiagnostics.jsDoc) {\n            setParent(docCommentAndDiagnostics.jsDoc, token);\n            classifyJSDocComment(docCommentAndDiagnostics.jsDoc);\n            return;\n          }\n        } else if (kind === 2) {\n          if (tryClassifyTripleSlashComment(start, width)) {\n            return;\n          }\n        }\n        pushCommentRange(start, width);\n      }\n      function pushCommentRange(start, width) {\n        pushClassification(\n          start,\n          width,\n          1\n          /* comment */\n        );\n      }\n      function classifyJSDocComment(docComment) {\n        var _a22, _b3, _c, _d, _e, _f, _g, _h;\n        let pos = docComment.pos;\n        if (docComment.tags) {\n          for (const tag of docComment.tags) {\n            if (tag.pos !== pos) {\n              pushCommentRange(pos, tag.pos - pos);\n            }\n            pushClassification(\n              tag.pos,\n              1,\n              10\n              /* punctuation */\n            );\n            pushClassification(\n              tag.tagName.pos,\n              tag.tagName.end - tag.tagName.pos,\n              18\n              /* docCommentTagName */\n            );\n            pos = tag.tagName.end;\n            let commentStart = tag.tagName.end;\n            switch (tag.kind) {\n              case 344:\n                const param = tag;\n                processJSDocParameterTag(param);\n                commentStart = param.isNameFirst && ((_a22 = param.typeExpression) == null ? void 0 : _a22.end) || param.name.end;\n                break;\n              case 351:\n                const prop = tag;\n                commentStart = prop.isNameFirst && ((_b3 = prop.typeExpression) == null ? void 0 : _b3.end) || prop.name.end;\n                break;\n              case 348:\n                processJSDocTemplateTag(tag);\n                pos = tag.end;\n                commentStart = tag.typeParameters.end;\n                break;\n              case 349:\n                const type = tag;\n                commentStart = ((_c = type.typeExpression) == null ? void 0 : _c.kind) === 312 && ((_d = type.fullName) == null ? void 0 : _d.end) || ((_e = type.typeExpression) == null ? void 0 : _e.end) || commentStart;\n                break;\n              case 341:\n                commentStart = tag.typeExpression.end;\n                break;\n              case 347:\n                processElement(tag.typeExpression);\n                pos = tag.end;\n                commentStart = tag.typeExpression.end;\n                break;\n              case 346:\n              case 343:\n                commentStart = tag.typeExpression.end;\n                break;\n              case 345:\n                processElement(tag.typeExpression);\n                pos = tag.end;\n                commentStart = ((_f = tag.typeExpression) == null ? void 0 : _f.end) || commentStart;\n                break;\n              case 350:\n                commentStart = ((_g = tag.name) == null ? void 0 : _g.end) || commentStart;\n                break;\n              case 331:\n              case 332:\n                commentStart = tag.class.end;\n                break;\n              case 352:\n                processElement(tag.typeExpression);\n                pos = tag.end;\n                commentStart = ((_h = tag.typeExpression) == null ? void 0 : _h.end) || commentStart;\n                break;\n            }\n            if (typeof tag.comment === \"object\") {\n              pushCommentRange(tag.comment.pos, tag.comment.end - tag.comment.pos);\n            } else if (typeof tag.comment === \"string\") {\n              pushCommentRange(commentStart, tag.end - commentStart);\n            }\n          }\n        }\n        if (pos !== docComment.end) {\n          pushCommentRange(pos, docComment.end - pos);\n        }\n        return;\n        function processJSDocParameterTag(tag) {\n          if (tag.isNameFirst) {\n            pushCommentRange(pos, tag.name.pos - pos);\n            pushClassification(\n              tag.name.pos,\n              tag.name.end - tag.name.pos,\n              17\n              /* parameterName */\n            );\n            pos = tag.name.end;\n          }\n          if (tag.typeExpression) {\n            pushCommentRange(pos, tag.typeExpression.pos - pos);\n            processElement(tag.typeExpression);\n            pos = tag.typeExpression.end;\n          }\n          if (!tag.isNameFirst) {\n            pushCommentRange(pos, tag.name.pos - pos);\n            pushClassification(\n              tag.name.pos,\n              tag.name.end - tag.name.pos,\n              17\n              /* parameterName */\n            );\n            pos = tag.name.end;\n          }\n        }\n      }\n      function tryClassifyTripleSlashComment(start, width) {\n        const tripleSlashXMLCommentRegEx = /^(\\/\\/\\/\\s*)(<)(?:(\\S+)((?:[^/]|\\/[^>])*)(\\/>)?)?/im;\n        const attributeRegex = /(\\s)(\\S+)(\\s*)(=)(\\s*)('[^']+'|\"[^\"]+\")/img;\n        const text = sourceFile.text.substr(start, width);\n        const match = tripleSlashXMLCommentRegEx.exec(text);\n        if (!match) {\n          return false;\n        }\n        if (!match[3] || !(match[3] in commentPragmas)) {\n          return false;\n        }\n        let pos = start;\n        pushCommentRange(pos, match[1].length);\n        pos += match[1].length;\n        pushClassification(\n          pos,\n          match[2].length,\n          10\n          /* punctuation */\n        );\n        pos += match[2].length;\n        pushClassification(\n          pos,\n          match[3].length,\n          21\n          /* jsxSelfClosingTagName */\n        );\n        pos += match[3].length;\n        const attrText = match[4];\n        let attrPos = pos;\n        while (true) {\n          const attrMatch = attributeRegex.exec(attrText);\n          if (!attrMatch) {\n            break;\n          }\n          const newAttrPos = pos + attrMatch.index + attrMatch[1].length;\n          if (newAttrPos > attrPos) {\n            pushCommentRange(attrPos, newAttrPos - attrPos);\n            attrPos = newAttrPos;\n          }\n          pushClassification(\n            attrPos,\n            attrMatch[2].length,\n            22\n            /* jsxAttribute */\n          );\n          attrPos += attrMatch[2].length;\n          if (attrMatch[3].length) {\n            pushCommentRange(attrPos, attrMatch[3].length);\n            attrPos += attrMatch[3].length;\n          }\n          pushClassification(\n            attrPos,\n            attrMatch[4].length,\n            5\n            /* operator */\n          );\n          attrPos += attrMatch[4].length;\n          if (attrMatch[5].length) {\n            pushCommentRange(attrPos, attrMatch[5].length);\n            attrPos += attrMatch[5].length;\n          }\n          pushClassification(\n            attrPos,\n            attrMatch[6].length,\n            24\n            /* jsxAttributeStringLiteralValue */\n          );\n          attrPos += attrMatch[6].length;\n        }\n        pos += match[4].length;\n        if (pos > attrPos) {\n          pushCommentRange(attrPos, pos - attrPos);\n        }\n        if (match[5]) {\n          pushClassification(\n            pos,\n            match[5].length,\n            10\n            /* punctuation */\n          );\n          pos += match[5].length;\n        }\n        const end = start + width;\n        if (pos < end) {\n          pushCommentRange(pos, end - pos);\n        }\n        return true;\n      }\n      function processJSDocTemplateTag(tag) {\n        for (const child of tag.getChildren()) {\n          processElement(child);\n        }\n      }\n      function classifyDisabledMergeCode(text, start, end) {\n        let i;\n        for (i = start; i < end; i++) {\n          if (isLineBreak(text.charCodeAt(i))) {\n            break;\n          }\n        }\n        pushClassification(\n          start,\n          i - start,\n          1\n          /* comment */\n        );\n        mergeConflictScanner.setTextPos(i);\n        while (mergeConflictScanner.getTextPos() < end) {\n          classifyDisabledCodeToken();\n        }\n      }\n      function classifyDisabledCodeToken() {\n        const start = mergeConflictScanner.getTextPos();\n        const tokenKind = mergeConflictScanner.scan();\n        const end = mergeConflictScanner.getTextPos();\n        const type = classifyTokenType(tokenKind);\n        if (type) {\n          pushClassification(start, end - start, type);\n        }\n      }\n      function tryClassifyNode(node) {\n        if (isJSDoc(node)) {\n          return true;\n        }\n        if (nodeIsMissing(node)) {\n          return true;\n        }\n        const classifiedElementName = tryClassifyJsxElementName(node);\n        if (!isToken(node) && node.kind !== 11 && classifiedElementName === void 0) {\n          return false;\n        }\n        const tokenStart = node.kind === 11 ? node.pos : classifyLeadingTriviaAndGetTokenStart(node);\n        const tokenWidth = node.end - tokenStart;\n        Debug2.assert(tokenWidth >= 0);\n        if (tokenWidth > 0) {\n          const type = classifiedElementName || classifyTokenType(node.kind, node);\n          if (type) {\n            pushClassification(tokenStart, tokenWidth, type);\n          }\n        }\n        return true;\n      }\n      function tryClassifyJsxElementName(token) {\n        switch (token.parent && token.parent.kind) {\n          case 283:\n            if (token.parent.tagName === token) {\n              return 19;\n            }\n            break;\n          case 284:\n            if (token.parent.tagName === token) {\n              return 20;\n            }\n            break;\n          case 282:\n            if (token.parent.tagName === token) {\n              return 21;\n            }\n            break;\n          case 288:\n            if (token.parent.name === token) {\n              return 22;\n            }\n            break;\n        }\n        return void 0;\n      }\n      function classifyTokenType(tokenKind, token) {\n        if (isKeyword(tokenKind)) {\n          return 3;\n        }\n        if (tokenKind === 29 || tokenKind === 31) {\n          if (token && getTypeArgumentOrTypeParameterList(token.parent)) {\n            return 10;\n          }\n        }\n        if (isPunctuation(tokenKind)) {\n          if (token) {\n            const parent2 = token.parent;\n            if (tokenKind === 63) {\n              if (parent2.kind === 257 || parent2.kind === 169 || parent2.kind === 166 || parent2.kind === 288) {\n                return 5;\n              }\n            }\n            if (parent2.kind === 223 || parent2.kind === 221 || parent2.kind === 222 || parent2.kind === 224) {\n              return 5;\n            }\n          }\n          return 10;\n        } else if (tokenKind === 8) {\n          return 4;\n        } else if (tokenKind === 9) {\n          return 25;\n        } else if (tokenKind === 10) {\n          return token && token.parent.kind === 288 ? 24 : 6;\n        } else if (tokenKind === 13) {\n          return 6;\n        } else if (isTemplateLiteralKind(tokenKind)) {\n          return 6;\n        } else if (tokenKind === 11) {\n          return 23;\n        } else if (tokenKind === 79) {\n          if (token) {\n            switch (token.parent.kind) {\n              case 260:\n                if (token.parent.name === token) {\n                  return 11;\n                }\n                return;\n              case 165:\n                if (token.parent.name === token) {\n                  return 15;\n                }\n                return;\n              case 261:\n                if (token.parent.name === token) {\n                  return 13;\n                }\n                return;\n              case 263:\n                if (token.parent.name === token) {\n                  return 12;\n                }\n                return;\n              case 264:\n                if (token.parent.name === token) {\n                  return 14;\n                }\n                return;\n              case 166:\n                if (token.parent.name === token) {\n                  return isThisIdentifier(token) ? 3 : 17;\n                }\n                return;\n            }\n            if (isConstTypeReference(token.parent)) {\n              return 3;\n            }\n          }\n          return 2;\n        }\n      }\n      function processElement(element) {\n        if (!element) {\n          return;\n        }\n        if (decodedTextSpanIntersectsWith(spanStart, spanLength, element.pos, element.getFullWidth())) {\n          checkForClassificationCancellation(cancellationToken, element.kind);\n          for (const child of element.getChildren(sourceFile)) {\n            if (!tryClassifyNode(child)) {\n              processElement(child);\n            }\n          }\n        }\n      }\n    }\n    var noRegexTable;\n    var init_classifier = __esm({\n      \"src/services/classifier.ts\"() {\n        \"use strict\";\n        init_ts4();\n        noRegexTable = arrayToNumericMap([\n          79,\n          10,\n          8,\n          9,\n          13,\n          108,\n          45,\n          46,\n          21,\n          23,\n          19,\n          110,\n          95\n          /* FalseKeyword */\n        ], (token) => token, () => true);\n      }\n    });\n    var DocumentHighlights;\n    var init_documentHighlights = __esm({\n      \"src/services/documentHighlights.ts\"() {\n        \"use strict\";\n        init_ts4();\n        ((DocumentHighlights2) => {\n          function getDocumentHighlights(program, cancellationToken, sourceFile, position, sourceFilesToSearch) {\n            const node = getTouchingPropertyName(sourceFile, position);\n            if (node.parent && (isJsxOpeningElement(node.parent) && node.parent.tagName === node || isJsxClosingElement(node.parent))) {\n              const { openingElement, closingElement } = node.parent.parent;\n              const highlightSpans = [openingElement, closingElement].map(({ tagName }) => getHighlightSpanForNode(tagName, sourceFile));\n              return [{ fileName: sourceFile.fileName, highlightSpans }];\n            }\n            return getSemanticDocumentHighlights(position, node, program, cancellationToken, sourceFilesToSearch) || getSyntacticDocumentHighlights(node, sourceFile);\n          }\n          DocumentHighlights2.getDocumentHighlights = getDocumentHighlights;\n          function getHighlightSpanForNode(node, sourceFile) {\n            return {\n              fileName: sourceFile.fileName,\n              textSpan: createTextSpanFromNode(node, sourceFile),\n              kind: \"none\"\n              /* none */\n            };\n          }\n          function getSemanticDocumentHighlights(position, node, program, cancellationToken, sourceFilesToSearch) {\n            const sourceFilesSet = new Set(sourceFilesToSearch.map((f) => f.fileName));\n            const referenceEntries = ts_FindAllReferences_exports.getReferenceEntriesForNode(\n              position,\n              node,\n              program,\n              sourceFilesToSearch,\n              cancellationToken,\n              /*options*/\n              void 0,\n              sourceFilesSet\n            );\n            if (!referenceEntries)\n              return void 0;\n            const map2 = arrayToMultiMap(referenceEntries.map(ts_FindAllReferences_exports.toHighlightSpan), (e) => e.fileName, (e) => e.span);\n            const getCanonicalFileName = createGetCanonicalFileName(program.useCaseSensitiveFileNames());\n            return arrayFrom(mapDefinedIterator(map2.entries(), ([fileName, highlightSpans]) => {\n              if (!sourceFilesSet.has(fileName)) {\n                if (!program.redirectTargetsMap.has(toPath(fileName, program.getCurrentDirectory(), getCanonicalFileName))) {\n                  return void 0;\n                }\n                const redirectTarget = program.getSourceFile(fileName);\n                const redirect = find(sourceFilesToSearch, (f) => !!f.redirectInfo && f.redirectInfo.redirectTarget === redirectTarget);\n                fileName = redirect.fileName;\n                Debug2.assert(sourceFilesSet.has(fileName));\n              }\n              return { fileName, highlightSpans };\n            }));\n          }\n          function getSyntacticDocumentHighlights(node, sourceFile) {\n            const highlightSpans = getHighlightSpans(node, sourceFile);\n            return highlightSpans && [{ fileName: sourceFile.fileName, highlightSpans }];\n          }\n          function getHighlightSpans(node, sourceFile) {\n            switch (node.kind) {\n              case 99:\n              case 91:\n                return isIfStatement(node.parent) ? getIfElseOccurrences(node.parent, sourceFile) : void 0;\n              case 105:\n                return useParent(node.parent, isReturnStatement, getReturnOccurrences);\n              case 109:\n                return useParent(node.parent, isThrowStatement, getThrowOccurrences);\n              case 111:\n              case 83:\n              case 96:\n                const tryStatement = node.kind === 83 ? node.parent.parent : node.parent;\n                return useParent(tryStatement, isTryStatement, getTryCatchFinallyOccurrences);\n              case 107:\n                return useParent(node.parent, isSwitchStatement, getSwitchCaseDefaultOccurrences);\n              case 82:\n              case 88: {\n                if (isDefaultClause(node.parent) || isCaseClause(node.parent)) {\n                  return useParent(node.parent.parent.parent, isSwitchStatement, getSwitchCaseDefaultOccurrences);\n                }\n                return void 0;\n              }\n              case 81:\n              case 86:\n                return useParent(node.parent, isBreakOrContinueStatement, getBreakOrContinueStatementOccurrences);\n              case 97:\n              case 115:\n              case 90:\n                return useParent(node.parent, (n) => isIterationStatement(\n                  n,\n                  /*lookInLabeledStatements*/\n                  true\n                ), getLoopBreakContinueOccurrences);\n              case 135:\n                return getFromAllDeclarations(isConstructorDeclaration, [\n                  135\n                  /* ConstructorKeyword */\n                ]);\n              case 137:\n              case 151:\n                return getFromAllDeclarations(isAccessor, [\n                  137,\n                  151\n                  /* SetKeyword */\n                ]);\n              case 133:\n                return useParent(node.parent, isAwaitExpression, getAsyncAndAwaitOccurrences);\n              case 132:\n                return highlightSpans(getAsyncAndAwaitOccurrences(node));\n              case 125:\n                return highlightSpans(getYieldOccurrences(node));\n              case 101:\n                return void 0;\n              default:\n                return isModifierKind(node.kind) && (isDeclaration(node.parent) || isVariableStatement(node.parent)) ? highlightSpans(getModifierOccurrences(node.kind, node.parent)) : void 0;\n            }\n            function getFromAllDeclarations(nodeTest, keywords) {\n              return useParent(node.parent, nodeTest, (decl) => {\n                var _a22;\n                return mapDefined((_a22 = tryCast(decl, canHaveSymbol)) == null ? void 0 : _a22.symbol.declarations, (d) => nodeTest(d) ? find(d.getChildren(sourceFile), (c) => contains(keywords, c.kind)) : void 0);\n              });\n            }\n            function useParent(node2, nodeTest, getNodes4) {\n              return nodeTest(node2) ? highlightSpans(getNodes4(node2, sourceFile)) : void 0;\n            }\n            function highlightSpans(nodes) {\n              return nodes && nodes.map((node2) => getHighlightSpanForNode(node2, sourceFile));\n            }\n          }\n          function aggregateOwnedThrowStatements(node) {\n            if (isThrowStatement(node)) {\n              return [node];\n            } else if (isTryStatement(node)) {\n              return concatenate(\n                node.catchClause ? aggregateOwnedThrowStatements(node.catchClause) : node.tryBlock && aggregateOwnedThrowStatements(node.tryBlock),\n                node.finallyBlock && aggregateOwnedThrowStatements(node.finallyBlock)\n              );\n            }\n            return isFunctionLike(node) ? void 0 : flatMapChildren(node, aggregateOwnedThrowStatements);\n          }\n          function getThrowStatementOwner(throwStatement) {\n            let child = throwStatement;\n            while (child.parent) {\n              const parent2 = child.parent;\n              if (isFunctionBlock(parent2) || parent2.kind === 308) {\n                return parent2;\n              }\n              if (isTryStatement(parent2) && parent2.tryBlock === child && parent2.catchClause) {\n                return child;\n              }\n              child = parent2;\n            }\n            return void 0;\n          }\n          function aggregateAllBreakAndContinueStatements(node) {\n            return isBreakOrContinueStatement(node) ? [node] : isFunctionLike(node) ? void 0 : flatMapChildren(node, aggregateAllBreakAndContinueStatements);\n          }\n          function flatMapChildren(node, cb) {\n            const result = [];\n            node.forEachChild((child) => {\n              const value = cb(child);\n              if (value !== void 0) {\n                result.push(...toArray(value));\n              }\n            });\n            return result;\n          }\n          function ownsBreakOrContinueStatement(owner, statement) {\n            const actualOwner = getBreakOrContinueOwner(statement);\n            return !!actualOwner && actualOwner === owner;\n          }\n          function getBreakOrContinueOwner(statement) {\n            return findAncestor(statement, (node) => {\n              switch (node.kind) {\n                case 252:\n                  if (statement.kind === 248) {\n                    return false;\n                  }\n                case 245:\n                case 246:\n                case 247:\n                case 244:\n                case 243:\n                  return !statement.label || isLabeledBy(node, statement.label.escapedText);\n                default:\n                  return isFunctionLike(node) && \"quit\";\n              }\n            });\n          }\n          function getModifierOccurrences(modifier, declaration) {\n            return mapDefined(getNodesToSearchForModifier(declaration, modifierToFlag(modifier)), (node) => findModifier(node, modifier));\n          }\n          function getNodesToSearchForModifier(declaration, modifierFlag) {\n            const container = declaration.parent;\n            switch (container.kind) {\n              case 265:\n              case 308:\n              case 238:\n              case 292:\n              case 293:\n                if (modifierFlag & 256 && isClassDeclaration(declaration)) {\n                  return [...declaration.members, declaration];\n                } else {\n                  return container.statements;\n                }\n              case 173:\n              case 171:\n              case 259:\n                return [...container.parameters, ...isClassLike(container.parent) ? container.parent.members : []];\n              case 260:\n              case 228:\n              case 261:\n              case 184:\n                const nodes = container.members;\n                if (modifierFlag & (28 | 64)) {\n                  const constructor = find(container.members, isConstructorDeclaration);\n                  if (constructor) {\n                    return [...nodes, ...constructor.parameters];\n                  }\n                } else if (modifierFlag & 256) {\n                  return [...nodes, container];\n                }\n                return nodes;\n              case 207:\n                return void 0;\n              default:\n                Debug2.assertNever(container, \"Invalid container kind.\");\n            }\n          }\n          function pushKeywordIf(keywordList, token, ...expected) {\n            if (token && contains(expected, token.kind)) {\n              keywordList.push(token);\n              return true;\n            }\n            return false;\n          }\n          function getLoopBreakContinueOccurrences(loopNode) {\n            const keywords = [];\n            if (pushKeywordIf(\n              keywords,\n              loopNode.getFirstToken(),\n              97,\n              115,\n              90\n              /* DoKeyword */\n            )) {\n              if (loopNode.kind === 243) {\n                const loopTokens = loopNode.getChildren();\n                for (let i = loopTokens.length - 1; i >= 0; i--) {\n                  if (pushKeywordIf(\n                    keywords,\n                    loopTokens[i],\n                    115\n                    /* WhileKeyword */\n                  )) {\n                    break;\n                  }\n                }\n              }\n            }\n            forEach(aggregateAllBreakAndContinueStatements(loopNode.statement), (statement) => {\n              if (ownsBreakOrContinueStatement(loopNode, statement)) {\n                pushKeywordIf(\n                  keywords,\n                  statement.getFirstToken(),\n                  81,\n                  86\n                  /* ContinueKeyword */\n                );\n              }\n            });\n            return keywords;\n          }\n          function getBreakOrContinueStatementOccurrences(breakOrContinueStatement) {\n            const owner = getBreakOrContinueOwner(breakOrContinueStatement);\n            if (owner) {\n              switch (owner.kind) {\n                case 245:\n                case 246:\n                case 247:\n                case 243:\n                case 244:\n                  return getLoopBreakContinueOccurrences(owner);\n                case 252:\n                  return getSwitchCaseDefaultOccurrences(owner);\n              }\n            }\n            return void 0;\n          }\n          function getSwitchCaseDefaultOccurrences(switchStatement) {\n            const keywords = [];\n            pushKeywordIf(\n              keywords,\n              switchStatement.getFirstToken(),\n              107\n              /* SwitchKeyword */\n            );\n            forEach(switchStatement.caseBlock.clauses, (clause) => {\n              pushKeywordIf(\n                keywords,\n                clause.getFirstToken(),\n                82,\n                88\n                /* DefaultKeyword */\n              );\n              forEach(aggregateAllBreakAndContinueStatements(clause), (statement) => {\n                if (ownsBreakOrContinueStatement(switchStatement, statement)) {\n                  pushKeywordIf(\n                    keywords,\n                    statement.getFirstToken(),\n                    81\n                    /* BreakKeyword */\n                  );\n                }\n              });\n            });\n            return keywords;\n          }\n          function getTryCatchFinallyOccurrences(tryStatement, sourceFile) {\n            const keywords = [];\n            pushKeywordIf(\n              keywords,\n              tryStatement.getFirstToken(),\n              111\n              /* TryKeyword */\n            );\n            if (tryStatement.catchClause) {\n              pushKeywordIf(\n                keywords,\n                tryStatement.catchClause.getFirstToken(),\n                83\n                /* CatchKeyword */\n              );\n            }\n            if (tryStatement.finallyBlock) {\n              const finallyKeyword = findChildOfKind(tryStatement, 96, sourceFile);\n              pushKeywordIf(\n                keywords,\n                finallyKeyword,\n                96\n                /* FinallyKeyword */\n              );\n            }\n            return keywords;\n          }\n          function getThrowOccurrences(throwStatement, sourceFile) {\n            const owner = getThrowStatementOwner(throwStatement);\n            if (!owner) {\n              return void 0;\n            }\n            const keywords = [];\n            forEach(aggregateOwnedThrowStatements(owner), (throwStatement2) => {\n              keywords.push(findChildOfKind(throwStatement2, 109, sourceFile));\n            });\n            if (isFunctionBlock(owner)) {\n              forEachReturnStatement(owner, (returnStatement) => {\n                keywords.push(findChildOfKind(returnStatement, 105, sourceFile));\n              });\n            }\n            return keywords;\n          }\n          function getReturnOccurrences(returnStatement, sourceFile) {\n            const func = getContainingFunction(returnStatement);\n            if (!func) {\n              return void 0;\n            }\n            const keywords = [];\n            forEachReturnStatement(cast(func.body, isBlock), (returnStatement2) => {\n              keywords.push(findChildOfKind(returnStatement2, 105, sourceFile));\n            });\n            forEach(aggregateOwnedThrowStatements(func.body), (throwStatement) => {\n              keywords.push(findChildOfKind(throwStatement, 109, sourceFile));\n            });\n            return keywords;\n          }\n          function getAsyncAndAwaitOccurrences(node) {\n            const func = getContainingFunction(node);\n            if (!func) {\n              return void 0;\n            }\n            const keywords = [];\n            if (func.modifiers) {\n              func.modifiers.forEach((modifier) => {\n                pushKeywordIf(\n                  keywords,\n                  modifier,\n                  132\n                  /* AsyncKeyword */\n                );\n              });\n            }\n            forEachChild(func, (child) => {\n              traverseWithoutCrossingFunction(child, (node2) => {\n                if (isAwaitExpression(node2)) {\n                  pushKeywordIf(\n                    keywords,\n                    node2.getFirstToken(),\n                    133\n                    /* AwaitKeyword */\n                  );\n                }\n              });\n            });\n            return keywords;\n          }\n          function getYieldOccurrences(node) {\n            const func = getContainingFunction(node);\n            if (!func) {\n              return void 0;\n            }\n            const keywords = [];\n            forEachChild(func, (child) => {\n              traverseWithoutCrossingFunction(child, (node2) => {\n                if (isYieldExpression(node2)) {\n                  pushKeywordIf(\n                    keywords,\n                    node2.getFirstToken(),\n                    125\n                    /* YieldKeyword */\n                  );\n                }\n              });\n            });\n            return keywords;\n          }\n          function traverseWithoutCrossingFunction(node, cb) {\n            cb(node);\n            if (!isFunctionLike(node) && !isClassLike(node) && !isInterfaceDeclaration(node) && !isModuleDeclaration(node) && !isTypeAliasDeclaration(node) && !isTypeNode(node)) {\n              forEachChild(node, (child) => traverseWithoutCrossingFunction(child, cb));\n            }\n          }\n          function getIfElseOccurrences(ifStatement, sourceFile) {\n            const keywords = getIfElseKeywords(ifStatement, sourceFile);\n            const result = [];\n            for (let i = 0; i < keywords.length; i++) {\n              if (keywords[i].kind === 91 && i < keywords.length - 1) {\n                const elseKeyword = keywords[i];\n                const ifKeyword = keywords[i + 1];\n                let shouldCombineElseAndIf = true;\n                for (let j = ifKeyword.getStart(sourceFile) - 1; j >= elseKeyword.end; j--) {\n                  if (!isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(j))) {\n                    shouldCombineElseAndIf = false;\n                    break;\n                  }\n                }\n                if (shouldCombineElseAndIf) {\n                  result.push({\n                    fileName: sourceFile.fileName,\n                    textSpan: createTextSpanFromBounds(elseKeyword.getStart(), ifKeyword.end),\n                    kind: \"reference\"\n                    /* reference */\n                  });\n                  i++;\n                  continue;\n                }\n              }\n              result.push(getHighlightSpanForNode(keywords[i], sourceFile));\n            }\n            return result;\n          }\n          function getIfElseKeywords(ifStatement, sourceFile) {\n            const keywords = [];\n            while (isIfStatement(ifStatement.parent) && ifStatement.parent.elseStatement === ifStatement) {\n              ifStatement = ifStatement.parent;\n            }\n            while (true) {\n              const children = ifStatement.getChildren(sourceFile);\n              pushKeywordIf(\n                keywords,\n                children[0],\n                99\n                /* IfKeyword */\n              );\n              for (let i = children.length - 1; i >= 0; i--) {\n                if (pushKeywordIf(\n                  keywords,\n                  children[i],\n                  91\n                  /* ElseKeyword */\n                )) {\n                  break;\n                }\n              }\n              if (!ifStatement.elseStatement || !isIfStatement(ifStatement.elseStatement)) {\n                break;\n              }\n              ifStatement = ifStatement.elseStatement;\n            }\n            return keywords;\n          }\n          function isLabeledBy(node, labelName) {\n            return !!findAncestor(node.parent, (owner) => !isLabeledStatement(owner) ? \"quit\" : owner.label.escapedText === labelName);\n          }\n        })(DocumentHighlights || (DocumentHighlights = {}));\n      }\n    });\n    function isDocumentRegistryEntry(entry) {\n      return !!entry.sourceFile;\n    }\n    function createDocumentRegistry(useCaseSensitiveFileNames, currentDirectory) {\n      return createDocumentRegistryInternal(useCaseSensitiveFileNames, currentDirectory);\n    }\n    function createDocumentRegistryInternal(useCaseSensitiveFileNames, currentDirectory = \"\", externalCache) {\n      const buckets = /* @__PURE__ */ new Map();\n      const getCanonicalFileName = createGetCanonicalFileName(!!useCaseSensitiveFileNames);\n      function reportStats() {\n        const bucketInfoArray = arrayFrom(buckets.keys()).filter((name) => name && name.charAt(0) === \"_\").map((name) => {\n          const entries = buckets.get(name);\n          const sourceFiles = [];\n          entries.forEach((entry, name2) => {\n            if (isDocumentRegistryEntry(entry)) {\n              sourceFiles.push({\n                name: name2,\n                scriptKind: entry.sourceFile.scriptKind,\n                refCount: entry.languageServiceRefCount\n              });\n            } else {\n              entry.forEach((value, scriptKind) => sourceFiles.push({ name: name2, scriptKind, refCount: value.languageServiceRefCount }));\n            }\n          });\n          sourceFiles.sort((x, y) => y.refCount - x.refCount);\n          return {\n            bucket: name,\n            sourceFiles\n          };\n        });\n        return JSON.stringify(bucketInfoArray, void 0, 2);\n      }\n      function getCompilationSettings(settingsOrHost) {\n        if (typeof settingsOrHost.getCompilationSettings === \"function\") {\n          return settingsOrHost.getCompilationSettings();\n        }\n        return settingsOrHost;\n      }\n      function acquireDocument(fileName, compilationSettings, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n        const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n        const key = getKeyForCompilationSettings(getCompilationSettings(compilationSettings));\n        return acquireDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions);\n      }\n      function acquireDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n        return acquireOrUpdateDocument(\n          fileName,\n          path,\n          compilationSettings,\n          key,\n          scriptSnapshot,\n          version2,\n          /*acquiring*/\n          true,\n          scriptKind,\n          languageVersionOrOptions\n        );\n      }\n      function updateDocument(fileName, compilationSettings, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n        const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n        const key = getKeyForCompilationSettings(getCompilationSettings(compilationSettings));\n        return updateDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions);\n      }\n      function updateDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n        return acquireOrUpdateDocument(\n          fileName,\n          path,\n          getCompilationSettings(compilationSettings),\n          key,\n          scriptSnapshot,\n          version2,\n          /*acquiring*/\n          false,\n          scriptKind,\n          languageVersionOrOptions\n        );\n      }\n      function getDocumentRegistryEntry(bucketEntry, scriptKind) {\n        const entry = isDocumentRegistryEntry(bucketEntry) ? bucketEntry : bucketEntry.get(Debug2.checkDefined(scriptKind, \"If there are more than one scriptKind's for same document the scriptKind should be provided\"));\n        Debug2.assert(scriptKind === void 0 || !entry || entry.sourceFile.scriptKind === scriptKind, `Script kind should match provided ScriptKind:${scriptKind} and sourceFile.scriptKind: ${entry == null ? void 0 : entry.sourceFile.scriptKind}, !entry: ${!entry}`);\n        return entry;\n      }\n      function acquireOrUpdateDocument(fileName, path, compilationSettingsOrHost, key, scriptSnapshot, version2, acquiring, scriptKind, languageVersionOrOptions) {\n        var _a22, _b3, _c, _d;\n        scriptKind = ensureScriptKind(fileName, scriptKind);\n        const compilationSettings = getCompilationSettings(compilationSettingsOrHost);\n        const host = compilationSettingsOrHost === compilationSettings ? void 0 : compilationSettingsOrHost;\n        const scriptTarget = scriptKind === 6 ? 100 : getEmitScriptTarget(compilationSettings);\n        const sourceFileOptions = typeof languageVersionOrOptions === \"object\" ? languageVersionOrOptions : {\n          languageVersion: scriptTarget,\n          impliedNodeFormat: host && getImpliedNodeFormatForFile(path, (_d = (_c = (_b3 = (_a22 = host.getCompilerHost) == null ? void 0 : _a22.call(host)) == null ? void 0 : _b3.getModuleResolutionCache) == null ? void 0 : _c.call(_b3)) == null ? void 0 : _d.getPackageJsonInfoCache(), host, compilationSettings),\n          setExternalModuleIndicator: getSetExternalModuleIndicator(compilationSettings)\n        };\n        sourceFileOptions.languageVersion = scriptTarget;\n        const oldBucketCount = buckets.size;\n        const keyWithMode = getDocumentRegistryBucketKeyWithMode(key, sourceFileOptions.impliedNodeFormat);\n        const bucket = getOrUpdate(buckets, keyWithMode, () => /* @__PURE__ */ new Map());\n        if (tracing) {\n          if (buckets.size > oldBucketCount) {\n            tracing.instant(tracing.Phase.Session, \"createdDocumentRegistryBucket\", { configFilePath: compilationSettings.configFilePath, key: keyWithMode });\n          }\n          const otherBucketKey = !isDeclarationFileName(path) && forEachEntry(buckets, (bucket2, bucketKey) => bucketKey !== keyWithMode && bucket2.has(path) && bucketKey);\n          if (otherBucketKey) {\n            tracing.instant(tracing.Phase.Session, \"documentRegistryBucketOverlap\", { path, key1: otherBucketKey, key2: keyWithMode });\n          }\n        }\n        const bucketEntry = bucket.get(path);\n        let entry = bucketEntry && getDocumentRegistryEntry(bucketEntry, scriptKind);\n        if (!entry && externalCache) {\n          const sourceFile = externalCache.getDocument(keyWithMode, path);\n          if (sourceFile) {\n            Debug2.assert(acquiring);\n            entry = {\n              sourceFile,\n              languageServiceRefCount: 0\n            };\n            setBucketEntry();\n          }\n        }\n        if (!entry) {\n          const sourceFile = createLanguageServiceSourceFile(\n            fileName,\n            scriptSnapshot,\n            sourceFileOptions,\n            version2,\n            /*setNodeParents*/\n            false,\n            scriptKind\n          );\n          if (externalCache) {\n            externalCache.setDocument(keyWithMode, path, sourceFile);\n          }\n          entry = {\n            sourceFile,\n            languageServiceRefCount: 1\n          };\n          setBucketEntry();\n        } else {\n          if (entry.sourceFile.version !== version2) {\n            entry.sourceFile = updateLanguageServiceSourceFile(\n              entry.sourceFile,\n              scriptSnapshot,\n              version2,\n              scriptSnapshot.getChangeRange(entry.sourceFile.scriptSnapshot)\n            );\n            if (externalCache) {\n              externalCache.setDocument(keyWithMode, path, entry.sourceFile);\n            }\n          }\n          if (acquiring) {\n            entry.languageServiceRefCount++;\n          }\n        }\n        Debug2.assert(entry.languageServiceRefCount !== 0);\n        return entry.sourceFile;\n        function setBucketEntry() {\n          if (!bucketEntry) {\n            bucket.set(path, entry);\n          } else if (isDocumentRegistryEntry(bucketEntry)) {\n            const scriptKindMap = /* @__PURE__ */ new Map();\n            scriptKindMap.set(bucketEntry.sourceFile.scriptKind, bucketEntry);\n            scriptKindMap.set(scriptKind, entry);\n            bucket.set(path, scriptKindMap);\n          } else {\n            bucketEntry.set(scriptKind, entry);\n          }\n        }\n      }\n      function releaseDocument(fileName, compilationSettings, scriptKind, impliedNodeFormat) {\n        const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n        const key = getKeyForCompilationSettings(compilationSettings);\n        return releaseDocumentWithKey(path, key, scriptKind, impliedNodeFormat);\n      }\n      function releaseDocumentWithKey(path, key, scriptKind, impliedNodeFormat) {\n        const bucket = Debug2.checkDefined(buckets.get(getDocumentRegistryBucketKeyWithMode(key, impliedNodeFormat)));\n        const bucketEntry = bucket.get(path);\n        const entry = getDocumentRegistryEntry(bucketEntry, scriptKind);\n        entry.languageServiceRefCount--;\n        Debug2.assert(entry.languageServiceRefCount >= 0);\n        if (entry.languageServiceRefCount === 0) {\n          if (isDocumentRegistryEntry(bucketEntry)) {\n            bucket.delete(path);\n          } else {\n            bucketEntry.delete(scriptKind);\n            if (bucketEntry.size === 1) {\n              bucket.set(path, firstDefinedIterator(bucketEntry.values(), identity2));\n            }\n          }\n        }\n      }\n      function getLanguageServiceRefCounts(path, scriptKind) {\n        return arrayFrom(buckets.entries(), ([key, bucket]) => {\n          const bucketEntry = bucket.get(path);\n          const entry = bucketEntry && getDocumentRegistryEntry(bucketEntry, scriptKind);\n          return [key, entry && entry.languageServiceRefCount];\n        });\n      }\n      return {\n        acquireDocument,\n        acquireDocumentWithKey,\n        updateDocument,\n        updateDocumentWithKey,\n        releaseDocument,\n        releaseDocumentWithKey,\n        getLanguageServiceRefCounts,\n        reportStats,\n        getKeyForCompilationSettings\n      };\n    }\n    function getKeyForCompilationSettings(settings) {\n      return getKeyForCompilerOptions(settings, sourceFileAffectingCompilerOptions);\n    }\n    function getDocumentRegistryBucketKeyWithMode(key, mode) {\n      return mode ? `${key}|${mode}` : key;\n    }\n    var init_documentRegistry = __esm({\n      \"src/services/documentRegistry.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    function getEditsForFileRename(program, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) {\n      const useCaseSensitiveFileNames = hostUsesCaseSensitiveFileNames(host);\n      const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      const oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper);\n      const newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper);\n      return ts_textChanges_exports.ChangeTracker.with({ host, formatContext, preferences }, (changeTracker) => {\n        updateTsconfigFiles(program, changeTracker, oldToNew, oldFileOrDirPath, newFileOrDirPath, host.getCurrentDirectory(), useCaseSensitiveFileNames);\n        updateImports(program, changeTracker, oldToNew, newToOld, host, getCanonicalFileName);\n      });\n    }\n    function getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper) {\n      const canonicalOldPath = getCanonicalFileName(oldFileOrDirPath);\n      return (path) => {\n        const originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 });\n        const updatedPath = getUpdatedPath(originalPath ? originalPath.fileName : path);\n        return originalPath ? updatedPath === void 0 ? void 0 : makeCorrespondingRelativeChange(originalPath.fileName, updatedPath, path, getCanonicalFileName) : updatedPath;\n      };\n      function getUpdatedPath(pathToUpdate) {\n        if (getCanonicalFileName(pathToUpdate) === canonicalOldPath)\n          return newFileOrDirPath;\n        const suffix = tryRemoveDirectoryPrefix(pathToUpdate, canonicalOldPath, getCanonicalFileName);\n        return suffix === void 0 ? void 0 : newFileOrDirPath + \"/\" + suffix;\n      }\n    }\n    function makeCorrespondingRelativeChange(a0, b0, a1, getCanonicalFileName) {\n      const rel = getRelativePathFromFile(a0, b0, getCanonicalFileName);\n      return combinePathsSafe(getDirectoryPath(a1), rel);\n    }\n    function updateTsconfigFiles(program, changeTracker, oldToNew, oldFileOrDirPath, newFileOrDirPath, currentDirectory, useCaseSensitiveFileNames) {\n      const { configFile } = program.getCompilerOptions();\n      if (!configFile)\n        return;\n      const configDir = getDirectoryPath(configFile.fileName);\n      const jsonObjectLiteral = getTsConfigObjectLiteralExpression(configFile);\n      if (!jsonObjectLiteral)\n        return;\n      forEachProperty(jsonObjectLiteral, (property, propertyName) => {\n        switch (propertyName) {\n          case \"files\":\n          case \"include\":\n          case \"exclude\": {\n            const foundExactMatch = updatePaths(property);\n            if (foundExactMatch || propertyName !== \"include\" || !isArrayLiteralExpression(property.initializer))\n              return;\n            const includes = mapDefined(property.initializer.elements, (e) => isStringLiteral(e) ? e.text : void 0);\n            if (includes.length === 0)\n              return;\n            const matchers = getFileMatcherPatterns(\n              configDir,\n              /*excludes*/\n              [],\n              includes,\n              useCaseSensitiveFileNames,\n              currentDirectory\n            );\n            if (getRegexFromPattern(Debug2.checkDefined(matchers.includeFilePattern), useCaseSensitiveFileNames).test(oldFileOrDirPath) && !getRegexFromPattern(Debug2.checkDefined(matchers.includeFilePattern), useCaseSensitiveFileNames).test(newFileOrDirPath)) {\n              changeTracker.insertNodeAfter(configFile, last(property.initializer.elements), factory.createStringLiteral(relativePath(newFileOrDirPath)));\n            }\n            return;\n          }\n          case \"compilerOptions\":\n            forEachProperty(property.initializer, (property2, propertyName2) => {\n              const option = getOptionFromName(propertyName2);\n              Debug2.assert((option == null ? void 0 : option.type) !== \"listOrElement\");\n              if (option && (option.isFilePath || option.type === \"list\" && option.element.isFilePath)) {\n                updatePaths(property2);\n              } else if (propertyName2 === \"paths\") {\n                forEachProperty(property2.initializer, (pathsProperty) => {\n                  if (!isArrayLiteralExpression(pathsProperty.initializer))\n                    return;\n                  for (const e of pathsProperty.initializer.elements) {\n                    tryUpdateString(e);\n                  }\n                });\n              }\n            });\n            return;\n        }\n      });\n      function updatePaths(property) {\n        const elements = isArrayLiteralExpression(property.initializer) ? property.initializer.elements : [property.initializer];\n        let foundExactMatch = false;\n        for (const element of elements) {\n          foundExactMatch = tryUpdateString(element) || foundExactMatch;\n        }\n        return foundExactMatch;\n      }\n      function tryUpdateString(element) {\n        if (!isStringLiteral(element))\n          return false;\n        const elementFileName = combinePathsSafe(configDir, element.text);\n        const updated = oldToNew(elementFileName);\n        if (updated !== void 0) {\n          changeTracker.replaceRangeWithText(configFile, createStringRange(element, configFile), relativePath(updated));\n          return true;\n        }\n        return false;\n      }\n      function relativePath(path) {\n        return getRelativePathFromDirectory(\n          configDir,\n          path,\n          /*ignoreCase*/\n          !useCaseSensitiveFileNames\n        );\n      }\n    }\n    function updateImports(program, changeTracker, oldToNew, newToOld, host, getCanonicalFileName) {\n      const allFiles = program.getSourceFiles();\n      for (const sourceFile of allFiles) {\n        const newFromOld = oldToNew(sourceFile.fileName);\n        const newImportFromPath = newFromOld != null ? newFromOld : sourceFile.fileName;\n        const newImportFromDirectory = getDirectoryPath(newImportFromPath);\n        const oldFromNew = newToOld(sourceFile.fileName);\n        const oldImportFromPath = oldFromNew || sourceFile.fileName;\n        const oldImportFromDirectory = getDirectoryPath(oldImportFromPath);\n        const importingSourceFileMoved = newFromOld !== void 0 || oldFromNew !== void 0;\n        updateImportsWorker(\n          sourceFile,\n          changeTracker,\n          (referenceText) => {\n            if (!pathIsRelative(referenceText))\n              return void 0;\n            const oldAbsolute = combinePathsSafe(oldImportFromDirectory, referenceText);\n            const newAbsolute = oldToNew(oldAbsolute);\n            return newAbsolute === void 0 ? void 0 : ensurePathIsNonModuleName(getRelativePathFromDirectory(newImportFromDirectory, newAbsolute, getCanonicalFileName));\n          },\n          (importLiteral) => {\n            const importedModuleSymbol = program.getTypeChecker().getSymbolAtLocation(importLiteral);\n            if ((importedModuleSymbol == null ? void 0 : importedModuleSymbol.declarations) && importedModuleSymbol.declarations.some((d) => isAmbientModule(d)))\n              return void 0;\n            const toImport = oldFromNew !== void 0 ? getSourceFileToImportFromResolved(\n              importLiteral,\n              resolveModuleName(importLiteral.text, oldImportFromPath, program.getCompilerOptions(), host),\n              oldToNew,\n              allFiles\n            ) : getSourceFileToImport(importedModuleSymbol, importLiteral, sourceFile, program, host, oldToNew);\n            return toImport !== void 0 && (toImport.updated || importingSourceFileMoved && pathIsRelative(importLiteral.text)) ? ts_moduleSpecifiers_exports.updateModuleSpecifier(program.getCompilerOptions(), sourceFile, getCanonicalFileName(newImportFromPath), toImport.newFileName, createModuleSpecifierResolutionHost(program, host), importLiteral.text) : void 0;\n          }\n        );\n      }\n    }\n    function combineNormal(pathA, pathB) {\n      return normalizePath(combinePaths(pathA, pathB));\n    }\n    function combinePathsSafe(pathA, pathB) {\n      return ensurePathIsNonModuleName(combineNormal(pathA, pathB));\n    }\n    function getSourceFileToImport(importedModuleSymbol, importLiteral, importingSourceFile, program, host, oldToNew) {\n      var _a22;\n      if (importedModuleSymbol) {\n        const oldFileName = find(importedModuleSymbol.declarations, isSourceFile).fileName;\n        const newFileName = oldToNew(oldFileName);\n        return newFileName === void 0 ? { newFileName: oldFileName, updated: false } : { newFileName, updated: true };\n      } else {\n        const mode = getModeForUsageLocation(importingSourceFile, importLiteral);\n        const resolved = host.resolveModuleNameLiterals || !host.resolveModuleNames ? (_a22 = importingSourceFile.resolvedModules) == null ? void 0 : _a22.get(importLiteral.text, mode) : host.getResolvedModuleWithFailedLookupLocationsFromCache && host.getResolvedModuleWithFailedLookupLocationsFromCache(importLiteral.text, importingSourceFile.fileName, mode);\n        return getSourceFileToImportFromResolved(importLiteral, resolved, oldToNew, program.getSourceFiles());\n      }\n    }\n    function getSourceFileToImportFromResolved(importLiteral, resolved, oldToNew, sourceFiles) {\n      if (!resolved)\n        return void 0;\n      if (resolved.resolvedModule) {\n        const result2 = tryChange(resolved.resolvedModule.resolvedFileName);\n        if (result2)\n          return result2;\n      }\n      const result = forEach(resolved.failedLookupLocations, tryChangeWithIgnoringPackageJsonExisting) || pathIsRelative(importLiteral.text) && forEach(resolved.failedLookupLocations, tryChangeWithIgnoringPackageJson);\n      if (result)\n        return result;\n      return resolved.resolvedModule && { newFileName: resolved.resolvedModule.resolvedFileName, updated: false };\n      function tryChangeWithIgnoringPackageJsonExisting(oldFileName) {\n        const newFileName = oldToNew(oldFileName);\n        return newFileName && find(sourceFiles, (src) => src.fileName === newFileName) ? tryChangeWithIgnoringPackageJson(oldFileName) : void 0;\n      }\n      function tryChangeWithIgnoringPackageJson(oldFileName) {\n        return !endsWith(oldFileName, \"/package.json\") ? tryChange(oldFileName) : void 0;\n      }\n      function tryChange(oldFileName) {\n        const newFileName = oldToNew(oldFileName);\n        return newFileName && { newFileName, updated: true };\n      }\n    }\n    function updateImportsWorker(sourceFile, changeTracker, updateRef, updateImport2) {\n      for (const ref of sourceFile.referencedFiles || emptyArray) {\n        const updated = updateRef(ref.fileName);\n        if (updated !== void 0 && updated !== sourceFile.text.slice(ref.pos, ref.end))\n          changeTracker.replaceRangeWithText(sourceFile, ref, updated);\n      }\n      for (const importStringLiteral of sourceFile.imports) {\n        const updated = updateImport2(importStringLiteral);\n        if (updated !== void 0 && updated !== importStringLiteral.text)\n          changeTracker.replaceRangeWithText(sourceFile, createStringRange(importStringLiteral, sourceFile), updated);\n      }\n    }\n    function createStringRange(node, sourceFile) {\n      return createRange(node.getStart(sourceFile) + 1, node.end - 1);\n    }\n    function forEachProperty(objectLiteral, cb) {\n      if (!isObjectLiteralExpression(objectLiteral))\n        return;\n      for (const property of objectLiteral.properties) {\n        if (isPropertyAssignment(property) && isStringLiteral(property.name)) {\n          cb(property, property.name.text);\n        }\n      }\n    }\n    var init_getEditsForFileRename = __esm({\n      \"src/services/getEditsForFileRename.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    function createPatternMatch(kind, isCaseSensitive) {\n      return {\n        kind,\n        isCaseSensitive\n      };\n    }\n    function createPatternMatcher(pattern) {\n      const stringToWordSpans = /* @__PURE__ */ new Map();\n      const dotSeparatedSegments = pattern.trim().split(\".\").map((p) => createSegment(p.trim()));\n      if (dotSeparatedSegments.some((segment) => !segment.subWordTextChunks.length))\n        return void 0;\n      return {\n        getFullMatch: (containers, candidate) => getFullMatch(containers, candidate, dotSeparatedSegments, stringToWordSpans),\n        getMatchForLastSegmentOfPattern: (candidate) => matchSegment(candidate, last(dotSeparatedSegments), stringToWordSpans),\n        patternContainsDots: dotSeparatedSegments.length > 1\n      };\n    }\n    function getFullMatch(candidateContainers, candidate, dotSeparatedSegments, stringToWordSpans) {\n      const candidateMatch = matchSegment(candidate, last(dotSeparatedSegments), stringToWordSpans);\n      if (!candidateMatch) {\n        return void 0;\n      }\n      if (dotSeparatedSegments.length - 1 > candidateContainers.length) {\n        return void 0;\n      }\n      let bestMatch;\n      for (let i = dotSeparatedSegments.length - 2, j = candidateContainers.length - 1; i >= 0; i -= 1, j -= 1) {\n        bestMatch = betterMatch(bestMatch, matchSegment(candidateContainers[j], dotSeparatedSegments[i], stringToWordSpans));\n      }\n      return bestMatch;\n    }\n    function getWordSpans(word, stringToWordSpans) {\n      let spans = stringToWordSpans.get(word);\n      if (!spans) {\n        stringToWordSpans.set(word, spans = breakIntoWordSpans(word));\n      }\n      return spans;\n    }\n    function matchTextChunk(candidate, chunk, stringToWordSpans) {\n      const index = indexOfIgnoringCase(candidate, chunk.textLowerCase);\n      if (index === 0) {\n        return createPatternMatch(\n          chunk.text.length === candidate.length ? 0 : 1,\n          /*isCaseSensitive:*/\n          startsWith(candidate, chunk.text)\n        );\n      }\n      if (chunk.isLowerCase) {\n        if (index === -1)\n          return void 0;\n        const wordSpans = getWordSpans(candidate, stringToWordSpans);\n        for (const span of wordSpans) {\n          if (partStartsWith(\n            candidate,\n            span,\n            chunk.text,\n            /*ignoreCase:*/\n            true\n          )) {\n            return createPatternMatch(\n              2,\n              /*isCaseSensitive:*/\n              partStartsWith(\n                candidate,\n                span,\n                chunk.text,\n                /*ignoreCase:*/\n                false\n              )\n            );\n          }\n        }\n        if (chunk.text.length < candidate.length && isUpperCaseLetter(candidate.charCodeAt(index))) {\n          return createPatternMatch(\n            2,\n            /*isCaseSensitive:*/\n            false\n          );\n        }\n      } else {\n        if (candidate.indexOf(chunk.text) > 0) {\n          return createPatternMatch(\n            2,\n            /*isCaseSensitive:*/\n            true\n          );\n        }\n        if (chunk.characterSpans.length > 0) {\n          const candidateParts = getWordSpans(candidate, stringToWordSpans);\n          const isCaseSensitive = tryCamelCaseMatch(\n            candidate,\n            candidateParts,\n            chunk,\n            /*ignoreCase:*/\n            false\n          ) ? true : tryCamelCaseMatch(\n            candidate,\n            candidateParts,\n            chunk,\n            /*ignoreCase:*/\n            true\n          ) ? false : void 0;\n          if (isCaseSensitive !== void 0) {\n            return createPatternMatch(3, isCaseSensitive);\n          }\n        }\n      }\n    }\n    function matchSegment(candidate, segment, stringToWordSpans) {\n      if (every2(\n        segment.totalTextChunk.text,\n        (ch) => ch !== 32 && ch !== 42\n        /* asterisk */\n      )) {\n        const match = matchTextChunk(candidate, segment.totalTextChunk, stringToWordSpans);\n        if (match)\n          return match;\n      }\n      const subWordTextChunks = segment.subWordTextChunks;\n      let bestMatch;\n      for (const subWordTextChunk of subWordTextChunks) {\n        bestMatch = betterMatch(bestMatch, matchTextChunk(candidate, subWordTextChunk, stringToWordSpans));\n      }\n      return bestMatch;\n    }\n    function betterMatch(a, b) {\n      return min([a, b], compareMatches);\n    }\n    function compareMatches(a, b) {\n      return a === void 0 ? 1 : b === void 0 ? -1 : compareValues(a.kind, b.kind) || compareBooleans(!a.isCaseSensitive, !b.isCaseSensitive);\n    }\n    function partStartsWith(candidate, candidateSpan, pattern, ignoreCase, patternSpan = { start: 0, length: pattern.length }) {\n      return patternSpan.length <= candidateSpan.length && everyInRange(0, patternSpan.length, (i) => equalChars(pattern.charCodeAt(patternSpan.start + i), candidate.charCodeAt(candidateSpan.start + i), ignoreCase));\n    }\n    function equalChars(ch1, ch2, ignoreCase) {\n      return ignoreCase ? toLowerCase2(ch1) === toLowerCase2(ch2) : ch1 === ch2;\n    }\n    function tryCamelCaseMatch(candidate, candidateParts, chunk, ignoreCase) {\n      const chunkCharacterSpans = chunk.characterSpans;\n      let currentCandidate = 0;\n      let currentChunkSpan = 0;\n      let firstMatch;\n      let contiguous;\n      while (true) {\n        if (currentChunkSpan === chunkCharacterSpans.length) {\n          return true;\n        } else if (currentCandidate === candidateParts.length) {\n          return false;\n        }\n        let candidatePart = candidateParts[currentCandidate];\n        let gotOneMatchThisCandidate = false;\n        for (; currentChunkSpan < chunkCharacterSpans.length; currentChunkSpan++) {\n          const chunkCharacterSpan = chunkCharacterSpans[currentChunkSpan];\n          if (gotOneMatchThisCandidate) {\n            if (!isUpperCaseLetter(chunk.text.charCodeAt(chunkCharacterSpans[currentChunkSpan - 1].start)) || !isUpperCaseLetter(chunk.text.charCodeAt(chunkCharacterSpans[currentChunkSpan].start))) {\n              break;\n            }\n          }\n          if (!partStartsWith(candidate, candidatePart, chunk.text, ignoreCase, chunkCharacterSpan)) {\n            break;\n          }\n          gotOneMatchThisCandidate = true;\n          firstMatch = firstMatch === void 0 ? currentCandidate : firstMatch;\n          contiguous = contiguous === void 0 ? true : contiguous;\n          candidatePart = createTextSpan(candidatePart.start + chunkCharacterSpan.length, candidatePart.length - chunkCharacterSpan.length);\n        }\n        if (!gotOneMatchThisCandidate && contiguous !== void 0) {\n          contiguous = false;\n        }\n        currentCandidate++;\n      }\n    }\n    function createSegment(text) {\n      return {\n        totalTextChunk: createTextChunk(text),\n        subWordTextChunks: breakPatternIntoTextChunks(text)\n      };\n    }\n    function isUpperCaseLetter(ch) {\n      if (ch >= 65 && ch <= 90) {\n        return true;\n      }\n      if (ch < 127 || !isUnicodeIdentifierStart(\n        ch,\n        99\n        /* Latest */\n      )) {\n        return false;\n      }\n      const str = String.fromCharCode(ch);\n      return str === str.toUpperCase();\n    }\n    function isLowerCaseLetter(ch) {\n      if (ch >= 97 && ch <= 122) {\n        return true;\n      }\n      if (ch < 127 || !isUnicodeIdentifierStart(\n        ch,\n        99\n        /* Latest */\n      )) {\n        return false;\n      }\n      const str = String.fromCharCode(ch);\n      return str === str.toLowerCase();\n    }\n    function indexOfIgnoringCase(str, value) {\n      const n = str.length - value.length;\n      for (let start = 0; start <= n; start++) {\n        if (every2(value, (valueChar, i) => toLowerCase2(str.charCodeAt(i + start)) === valueChar)) {\n          return start;\n        }\n      }\n      return -1;\n    }\n    function toLowerCase2(ch) {\n      if (ch >= 65 && ch <= 90) {\n        return 97 + (ch - 65);\n      }\n      if (ch < 127) {\n        return ch;\n      }\n      return String.fromCharCode(ch).toLowerCase().charCodeAt(0);\n    }\n    function isDigit2(ch) {\n      return ch >= 48 && ch <= 57;\n    }\n    function isWordChar2(ch) {\n      return isUpperCaseLetter(ch) || isLowerCaseLetter(ch) || isDigit2(ch) || ch === 95 || ch === 36;\n    }\n    function breakPatternIntoTextChunks(pattern) {\n      const result = [];\n      let wordStart = 0;\n      let wordLength = 0;\n      for (let i = 0; i < pattern.length; i++) {\n        const ch = pattern.charCodeAt(i);\n        if (isWordChar2(ch)) {\n          if (wordLength === 0) {\n            wordStart = i;\n          }\n          wordLength++;\n        } else {\n          if (wordLength > 0) {\n            result.push(createTextChunk(pattern.substr(wordStart, wordLength)));\n            wordLength = 0;\n          }\n        }\n      }\n      if (wordLength > 0) {\n        result.push(createTextChunk(pattern.substr(wordStart, wordLength)));\n      }\n      return result;\n    }\n    function createTextChunk(text) {\n      const textLowerCase = text.toLowerCase();\n      return {\n        text,\n        textLowerCase,\n        isLowerCase: text === textLowerCase,\n        characterSpans: breakIntoCharacterSpans(text)\n      };\n    }\n    function breakIntoCharacterSpans(identifier) {\n      return breakIntoSpans(\n        identifier,\n        /*word:*/\n        false\n      );\n    }\n    function breakIntoWordSpans(identifier) {\n      return breakIntoSpans(\n        identifier,\n        /*word:*/\n        true\n      );\n    }\n    function breakIntoSpans(identifier, word) {\n      const result = [];\n      let wordStart = 0;\n      for (let i = 1; i < identifier.length; i++) {\n        const lastIsDigit = isDigit2(identifier.charCodeAt(i - 1));\n        const currentIsDigit = isDigit2(identifier.charCodeAt(i));\n        const hasTransitionFromLowerToUpper = transitionFromLowerToUpper(identifier, word, i);\n        const hasTransitionFromUpperToLower = word && transitionFromUpperToLower(identifier, i, wordStart);\n        if (charIsPunctuation(identifier.charCodeAt(i - 1)) || charIsPunctuation(identifier.charCodeAt(i)) || lastIsDigit !== currentIsDigit || hasTransitionFromLowerToUpper || hasTransitionFromUpperToLower) {\n          if (!isAllPunctuation(identifier, wordStart, i)) {\n            result.push(createTextSpan(wordStart, i - wordStart));\n          }\n          wordStart = i;\n        }\n      }\n      if (!isAllPunctuation(identifier, wordStart, identifier.length)) {\n        result.push(createTextSpan(wordStart, identifier.length - wordStart));\n      }\n      return result;\n    }\n    function charIsPunctuation(ch) {\n      switch (ch) {\n        case 33:\n        case 34:\n        case 35:\n        case 37:\n        case 38:\n        case 39:\n        case 40:\n        case 41:\n        case 42:\n        case 44:\n        case 45:\n        case 46:\n        case 47:\n        case 58:\n        case 59:\n        case 63:\n        case 64:\n        case 91:\n        case 92:\n        case 93:\n        case 95:\n        case 123:\n        case 125:\n          return true;\n      }\n      return false;\n    }\n    function isAllPunctuation(identifier, start, end) {\n      return every2(identifier, (ch) => charIsPunctuation(ch) && ch !== 95, start, end);\n    }\n    function transitionFromUpperToLower(identifier, index, wordStart) {\n      return index !== wordStart && index + 1 < identifier.length && isUpperCaseLetter(identifier.charCodeAt(index)) && isLowerCaseLetter(identifier.charCodeAt(index + 1)) && every2(identifier, isUpperCaseLetter, wordStart, index);\n    }\n    function transitionFromLowerToUpper(identifier, word, index) {\n      const lastIsUpper = isUpperCaseLetter(identifier.charCodeAt(index - 1));\n      const currentIsUpper = isUpperCaseLetter(identifier.charCodeAt(index));\n      return currentIsUpper && (!word || !lastIsUpper);\n    }\n    function everyInRange(start, end, pred) {\n      for (let i = start; i < end; i++) {\n        if (!pred(i)) {\n          return false;\n        }\n      }\n      return true;\n    }\n    function every2(s, pred, start = 0, end = s.length) {\n      return everyInRange(start, end, (i) => pred(s.charCodeAt(i), i));\n    }\n    var PatternMatchKind;\n    var init_patternMatcher = __esm({\n      \"src/services/patternMatcher.ts\"() {\n        \"use strict\";\n        init_ts4();\n        PatternMatchKind = /* @__PURE__ */ ((PatternMatchKind2) => {\n          PatternMatchKind2[PatternMatchKind2[\"exact\"] = 0] = \"exact\";\n          PatternMatchKind2[PatternMatchKind2[\"prefix\"] = 1] = \"prefix\";\n          PatternMatchKind2[PatternMatchKind2[\"substring\"] = 2] = \"substring\";\n          PatternMatchKind2[PatternMatchKind2[\"camelCase\"] = 3] = \"camelCase\";\n          return PatternMatchKind2;\n        })(PatternMatchKind || {});\n      }\n    });\n    function preProcessFile(sourceText, readImportFiles = true, detectJavaScriptImports = false) {\n      const pragmaContext = {\n        languageVersion: 1,\n        // controls whether the token scanner considers unicode identifiers or not - shouldn't matter, since we're only using it for trivia\n        pragmas: void 0,\n        checkJsDirective: void 0,\n        referencedFiles: [],\n        typeReferenceDirectives: [],\n        libReferenceDirectives: [],\n        amdDependencies: [],\n        hasNoDefaultLib: void 0,\n        moduleName: void 0\n      };\n      const importedFiles = [];\n      let ambientExternalModules;\n      let lastToken;\n      let currentToken;\n      let braceNesting = 0;\n      let externalModule = false;\n      function nextToken() {\n        lastToken = currentToken;\n        currentToken = scanner.scan();\n        if (currentToken === 18) {\n          braceNesting++;\n        } else if (currentToken === 19) {\n          braceNesting--;\n        }\n        return currentToken;\n      }\n      function getFileReference() {\n        const fileName = scanner.getTokenValue();\n        const pos = scanner.getTokenPos();\n        return { fileName, pos, end: pos + fileName.length };\n      }\n      function recordAmbientExternalModule() {\n        if (!ambientExternalModules) {\n          ambientExternalModules = [];\n        }\n        ambientExternalModules.push({ ref: getFileReference(), depth: braceNesting });\n      }\n      function recordModuleName() {\n        importedFiles.push(getFileReference());\n        markAsExternalModuleIfTopLevel();\n      }\n      function markAsExternalModuleIfTopLevel() {\n        if (braceNesting === 0) {\n          externalModule = true;\n        }\n      }\n      function tryConsumeDeclare() {\n        let token = scanner.getToken();\n        if (token === 136) {\n          token = nextToken();\n          if (token === 142) {\n            token = nextToken();\n            if (token === 10) {\n              recordAmbientExternalModule();\n            }\n          }\n          return true;\n        }\n        return false;\n      }\n      function tryConsumeImport() {\n        if (lastToken === 24) {\n          return false;\n        }\n        let token = scanner.getToken();\n        if (token === 100) {\n          token = nextToken();\n          if (token === 20) {\n            token = nextToken();\n            if (token === 10 || token === 14) {\n              recordModuleName();\n              return true;\n            }\n          } else if (token === 10) {\n            recordModuleName();\n            return true;\n          } else {\n            if (token === 154) {\n              const skipTypeKeyword = scanner.lookAhead(() => {\n                const token2 = scanner.scan();\n                return token2 !== 158 && (token2 === 41 || token2 === 18 || token2 === 79 || isKeyword(token2));\n              });\n              if (skipTypeKeyword) {\n                token = nextToken();\n              }\n            }\n            if (token === 79 || isKeyword(token)) {\n              token = nextToken();\n              if (token === 158) {\n                token = nextToken();\n                if (token === 10) {\n                  recordModuleName();\n                  return true;\n                }\n              } else if (token === 63) {\n                if (tryConsumeRequireCall(\n                  /*skipCurrentToken*/\n                  true\n                )) {\n                  return true;\n                }\n              } else if (token === 27) {\n                token = nextToken();\n              } else {\n                return true;\n              }\n            }\n            if (token === 18) {\n              token = nextToken();\n              while (token !== 19 && token !== 1) {\n                token = nextToken();\n              }\n              if (token === 19) {\n                token = nextToken();\n                if (token === 158) {\n                  token = nextToken();\n                  if (token === 10) {\n                    recordModuleName();\n                  }\n                }\n              }\n            } else if (token === 41) {\n              token = nextToken();\n              if (token === 128) {\n                token = nextToken();\n                if (token === 79 || isKeyword(token)) {\n                  token = nextToken();\n                  if (token === 158) {\n                    token = nextToken();\n                    if (token === 10) {\n                      recordModuleName();\n                    }\n                  }\n                }\n              }\n            }\n          }\n          return true;\n        }\n        return false;\n      }\n      function tryConsumeExport() {\n        let token = scanner.getToken();\n        if (token === 93) {\n          markAsExternalModuleIfTopLevel();\n          token = nextToken();\n          if (token === 154) {\n            const skipTypeKeyword = scanner.lookAhead(() => {\n              const token2 = scanner.scan();\n              return token2 === 41 || token2 === 18;\n            });\n            if (skipTypeKeyword) {\n              token = nextToken();\n            }\n          }\n          if (token === 18) {\n            token = nextToken();\n            while (token !== 19 && token !== 1) {\n              token = nextToken();\n            }\n            if (token === 19) {\n              token = nextToken();\n              if (token === 158) {\n                token = nextToken();\n                if (token === 10) {\n                  recordModuleName();\n                }\n              }\n            }\n          } else if (token === 41) {\n            token = nextToken();\n            if (token === 158) {\n              token = nextToken();\n              if (token === 10) {\n                recordModuleName();\n              }\n            }\n          } else if (token === 100) {\n            token = nextToken();\n            if (token === 154) {\n              const skipTypeKeyword = scanner.lookAhead(() => {\n                const token2 = scanner.scan();\n                return token2 === 79 || isKeyword(token2);\n              });\n              if (skipTypeKeyword) {\n                token = nextToken();\n              }\n            }\n            if (token === 79 || isKeyword(token)) {\n              token = nextToken();\n              if (token === 63) {\n                if (tryConsumeRequireCall(\n                  /*skipCurrentToken*/\n                  true\n                )) {\n                  return true;\n                }\n              }\n            }\n          }\n          return true;\n        }\n        return false;\n      }\n      function tryConsumeRequireCall(skipCurrentToken, allowTemplateLiterals = false) {\n        let token = skipCurrentToken ? nextToken() : scanner.getToken();\n        if (token === 147) {\n          token = nextToken();\n          if (token === 20) {\n            token = nextToken();\n            if (token === 10 || allowTemplateLiterals && token === 14) {\n              recordModuleName();\n            }\n          }\n          return true;\n        }\n        return false;\n      }\n      function tryConsumeDefine() {\n        let token = scanner.getToken();\n        if (token === 79 && scanner.getTokenValue() === \"define\") {\n          token = nextToken();\n          if (token !== 20) {\n            return true;\n          }\n          token = nextToken();\n          if (token === 10 || token === 14) {\n            token = nextToken();\n            if (token === 27) {\n              token = nextToken();\n            } else {\n              return true;\n            }\n          }\n          if (token !== 22) {\n            return true;\n          }\n          token = nextToken();\n          while (token !== 23 && token !== 1) {\n            if (token === 10 || token === 14) {\n              recordModuleName();\n            }\n            token = nextToken();\n          }\n          return true;\n        }\n        return false;\n      }\n      function processImports() {\n        scanner.setText(sourceText);\n        nextToken();\n        while (true) {\n          if (scanner.getToken() === 1) {\n            break;\n          }\n          if (scanner.getToken() === 15) {\n            const stack = [scanner.getToken()];\n            loop:\n              while (length(stack)) {\n                const token = scanner.scan();\n                switch (token) {\n                  case 1:\n                    break loop;\n                  case 100:\n                    tryConsumeImport();\n                    break;\n                  case 15:\n                    stack.push(token);\n                    break;\n                  case 18:\n                    if (length(stack)) {\n                      stack.push(token);\n                    }\n                    break;\n                  case 19:\n                    if (length(stack)) {\n                      if (lastOrUndefined(stack) === 15) {\n                        if (scanner.reScanTemplateToken(\n                          /* isTaggedTemplate */\n                          false\n                        ) === 17) {\n                          stack.pop();\n                        }\n                      } else {\n                        stack.pop();\n                      }\n                    }\n                    break;\n                }\n              }\n            nextToken();\n          }\n          if (tryConsumeDeclare() || tryConsumeImport() || tryConsumeExport() || detectJavaScriptImports && (tryConsumeRequireCall(\n            /*skipCurrentToken*/\n            false,\n            /*allowTemplateLiterals*/\n            true\n          ) || tryConsumeDefine())) {\n            continue;\n          } else {\n            nextToken();\n          }\n        }\n        scanner.setText(void 0);\n      }\n      if (readImportFiles) {\n        processImports();\n      }\n      processCommentPragmas(pragmaContext, sourceText);\n      processPragmasIntoFields(pragmaContext, noop);\n      if (externalModule) {\n        if (ambientExternalModules) {\n          for (const decl of ambientExternalModules) {\n            importedFiles.push(decl.ref);\n          }\n        }\n        return { referencedFiles: pragmaContext.referencedFiles, typeReferenceDirectives: pragmaContext.typeReferenceDirectives, libReferenceDirectives: pragmaContext.libReferenceDirectives, importedFiles, isLibFile: !!pragmaContext.hasNoDefaultLib, ambientExternalModules: void 0 };\n      } else {\n        let ambientModuleNames;\n        if (ambientExternalModules) {\n          for (const decl of ambientExternalModules) {\n            if (decl.depth === 0) {\n              if (!ambientModuleNames) {\n                ambientModuleNames = [];\n              }\n              ambientModuleNames.push(decl.ref.fileName);\n            } else {\n              importedFiles.push(decl.ref);\n            }\n          }\n        }\n        return { referencedFiles: pragmaContext.referencedFiles, typeReferenceDirectives: pragmaContext.typeReferenceDirectives, libReferenceDirectives: pragmaContext.libReferenceDirectives, importedFiles, isLibFile: !!pragmaContext.hasNoDefaultLib, ambientExternalModules: ambientModuleNames };\n      }\n    }\n    var init_preProcess = __esm({\n      \"src/services/preProcess.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    function getSourceMapper(host) {\n      const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n      const currentDirectory = host.getCurrentDirectory();\n      const sourceFileLike = /* @__PURE__ */ new Map();\n      const documentPositionMappers = /* @__PURE__ */ new Map();\n      return { tryGetSourcePosition, tryGetGeneratedPosition, toLineColumnOffset, clearCache };\n      function toPath3(fileName) {\n        return toPath(fileName, currentDirectory, getCanonicalFileName);\n      }\n      function getDocumentPositionMapper2(generatedFileName, sourceFileName) {\n        const path = toPath3(generatedFileName);\n        const value = documentPositionMappers.get(path);\n        if (value)\n          return value;\n        let mapper;\n        if (host.getDocumentPositionMapper) {\n          mapper = host.getDocumentPositionMapper(generatedFileName, sourceFileName);\n        } else if (host.readFile) {\n          const file = getSourceFileLike(generatedFileName);\n          mapper = file && getDocumentPositionMapper(\n            { getSourceFileLike, getCanonicalFileName, log: (s) => host.log(s) },\n            generatedFileName,\n            getLineInfo(file.text, getLineStarts(file)),\n            (f) => !host.fileExists || host.fileExists(f) ? host.readFile(f) : void 0\n          );\n        }\n        documentPositionMappers.set(path, mapper || identitySourceMapConsumer);\n        return mapper || identitySourceMapConsumer;\n      }\n      function tryGetSourcePosition(info) {\n        if (!isDeclarationFileName(info.fileName))\n          return void 0;\n        const file = getSourceFile(info.fileName);\n        if (!file)\n          return void 0;\n        const newLoc = getDocumentPositionMapper2(info.fileName).getSourcePosition(info);\n        return !newLoc || newLoc === info ? void 0 : tryGetSourcePosition(newLoc) || newLoc;\n      }\n      function tryGetGeneratedPosition(info) {\n        if (isDeclarationFileName(info.fileName))\n          return void 0;\n        const sourceFile = getSourceFile(info.fileName);\n        if (!sourceFile)\n          return void 0;\n        const program = host.getProgram();\n        if (program.isSourceOfProjectReferenceRedirect(sourceFile.fileName)) {\n          return void 0;\n        }\n        const options = program.getCompilerOptions();\n        const outPath = outFile(options);\n        const declarationPath = outPath ? removeFileExtension(outPath) + \".d.ts\" : getDeclarationEmitOutputFilePathWorker(info.fileName, program.getCompilerOptions(), currentDirectory, program.getCommonSourceDirectory(), getCanonicalFileName);\n        if (declarationPath === void 0)\n          return void 0;\n        const newLoc = getDocumentPositionMapper2(declarationPath, info.fileName).getGeneratedPosition(info);\n        return newLoc === info ? void 0 : newLoc;\n      }\n      function getSourceFile(fileName) {\n        const program = host.getProgram();\n        if (!program)\n          return void 0;\n        const path = toPath3(fileName);\n        const file = program.getSourceFileByPath(path);\n        return file && file.resolvedPath === path ? file : void 0;\n      }\n      function getOrCreateSourceFileLike(fileName) {\n        const path = toPath3(fileName);\n        const fileFromCache = sourceFileLike.get(path);\n        if (fileFromCache !== void 0)\n          return fileFromCache ? fileFromCache : void 0;\n        if (!host.readFile || host.fileExists && !host.fileExists(path)) {\n          sourceFileLike.set(path, false);\n          return void 0;\n        }\n        const text = host.readFile(path);\n        const file = text ? createSourceFileLike(text) : false;\n        sourceFileLike.set(path, file);\n        return file ? file : void 0;\n      }\n      function getSourceFileLike(fileName) {\n        return !host.getSourceFileLike ? getSourceFile(fileName) || getOrCreateSourceFileLike(fileName) : host.getSourceFileLike(fileName);\n      }\n      function toLineColumnOffset(fileName, position) {\n        const file = getSourceFileLike(fileName);\n        return file.getLineAndCharacterOfPosition(position);\n      }\n      function clearCache() {\n        sourceFileLike.clear();\n        documentPositionMappers.clear();\n      }\n    }\n    function getDocumentPositionMapper(host, generatedFileName, generatedFileLineInfo, readMapFile) {\n      let mapFileName = tryGetSourceMappingURL(generatedFileLineInfo);\n      if (mapFileName) {\n        const match = base64UrlRegExp.exec(mapFileName);\n        if (match) {\n          if (match[1]) {\n            const base64Object = match[1];\n            return convertDocumentToSourceMapper(host, base64decode(sys, base64Object), generatedFileName);\n          }\n          mapFileName = void 0;\n        }\n      }\n      const possibleMapLocations = [];\n      if (mapFileName) {\n        possibleMapLocations.push(mapFileName);\n      }\n      possibleMapLocations.push(generatedFileName + \".map\");\n      const originalMapFileName = mapFileName && getNormalizedAbsolutePath(mapFileName, getDirectoryPath(generatedFileName));\n      for (const location of possibleMapLocations) {\n        const mapFileName2 = getNormalizedAbsolutePath(location, getDirectoryPath(generatedFileName));\n        const mapFileContents = readMapFile(mapFileName2, originalMapFileName);\n        if (isString2(mapFileContents)) {\n          return convertDocumentToSourceMapper(host, mapFileContents, mapFileName2);\n        }\n        if (mapFileContents !== void 0) {\n          return mapFileContents || void 0;\n        }\n      }\n      return void 0;\n    }\n    function convertDocumentToSourceMapper(host, contents, mapFileName) {\n      const map2 = tryParseRawSourceMap(contents);\n      if (!map2 || !map2.sources || !map2.file || !map2.mappings) {\n        return void 0;\n      }\n      if (map2.sourcesContent && map2.sourcesContent.some(isString2))\n        return void 0;\n      return createDocumentPositionMapper(host, map2, mapFileName);\n    }\n    function createSourceFileLike(text, lineMap) {\n      return {\n        text,\n        lineMap,\n        getLineAndCharacterOfPosition(pos) {\n          return computeLineAndCharacterOfPosition(getLineStarts(this), pos);\n        }\n      };\n    }\n    var base64UrlRegExp;\n    var init_sourcemaps = __esm({\n      \"src/services/sourcemaps.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts4();\n        base64UrlRegExp = /^data:(?:application\\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\\/=]+)$)?/;\n      }\n    });\n    function computeSuggestionDiagnostics(sourceFile, program, cancellationToken) {\n      program.getSemanticDiagnostics(sourceFile, cancellationToken);\n      const diags = [];\n      const checker = program.getTypeChecker();\n      const isCommonJSFile = sourceFile.impliedNodeFormat === 1 || fileExtensionIsOneOf(sourceFile.fileName, [\n        \".cts\",\n        \".cjs\"\n        /* Cjs */\n      ]);\n      if (!isCommonJSFile && sourceFile.commonJsModuleIndicator && (programContainsEsModules(program) || compilerOptionsIndicateEsModules(program.getCompilerOptions())) && containsTopLevelCommonjs(sourceFile)) {\n        diags.push(createDiagnosticForNode(getErrorNodeFromCommonJsIndicator(sourceFile.commonJsModuleIndicator), Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));\n      }\n      const isJsFile = isSourceFileJS(sourceFile);\n      visitedNestedConvertibleFunctions.clear();\n      check(sourceFile);\n      if (getAllowSyntheticDefaultImports(program.getCompilerOptions())) {\n        for (const moduleSpecifier of sourceFile.imports) {\n          const importNode = importFromModuleSpecifier(moduleSpecifier);\n          const name = importNameForConvertToDefaultImport(importNode);\n          if (!name)\n            continue;\n          const module2 = getResolvedModule(sourceFile, moduleSpecifier.text, getModeForUsageLocation(sourceFile, moduleSpecifier));\n          const resolvedFile = module2 && program.getSourceFile(module2.resolvedFileName);\n          if (resolvedFile && resolvedFile.externalModuleIndicator && resolvedFile.externalModuleIndicator !== true && isExportAssignment(resolvedFile.externalModuleIndicator) && resolvedFile.externalModuleIndicator.isExportEquals) {\n            diags.push(createDiagnosticForNode(name, Diagnostics.Import_may_be_converted_to_a_default_import));\n          }\n        }\n      }\n      addRange(diags, sourceFile.bindSuggestionDiagnostics);\n      addRange(diags, program.getSuggestionDiagnostics(sourceFile, cancellationToken));\n      return diags.sort((d1, d2) => d1.start - d2.start);\n      function check(node) {\n        if (isJsFile) {\n          if (canBeConvertedToClass(node, checker)) {\n            diags.push(createDiagnosticForNode(isVariableDeclaration(node.parent) ? node.parent.name : node, Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));\n          }\n        } else {\n          if (isVariableStatement(node) && node.parent === sourceFile && node.declarationList.flags & 2 && node.declarationList.declarations.length === 1) {\n            const init = node.declarationList.declarations[0].initializer;\n            if (init && isRequireCall(\n              init,\n              /*checkArgumentIsStringLiteralLike*/\n              true\n            )) {\n              diags.push(createDiagnosticForNode(init, Diagnostics.require_call_may_be_converted_to_an_import));\n            }\n          }\n          if (ts_codefix_exports.parameterShouldGetTypeFromJSDoc(node)) {\n            diags.push(createDiagnosticForNode(node.name || node, Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types));\n          }\n        }\n        if (canBeConvertedToAsync(node)) {\n          addConvertToAsyncFunctionDiagnostics(node, checker, diags);\n        }\n        node.forEachChild(check);\n      }\n    }\n    function containsTopLevelCommonjs(sourceFile) {\n      return sourceFile.statements.some((statement) => {\n        switch (statement.kind) {\n          case 240:\n            return statement.declarationList.declarations.some((decl) => !!decl.initializer && isRequireCall(\n              propertyAccessLeftHandSide(decl.initializer),\n              /*checkArgumentIsStringLiteralLike*/\n              true\n            ));\n          case 241: {\n            const { expression } = statement;\n            if (!isBinaryExpression(expression))\n              return isRequireCall(\n                expression,\n                /*checkArgumentIsStringLiteralLike*/\n                true\n              );\n            const kind = getAssignmentDeclarationKind(expression);\n            return kind === 1 || kind === 2;\n          }\n          default:\n            return false;\n        }\n      });\n    }\n    function propertyAccessLeftHandSide(node) {\n      return isPropertyAccessExpression(node) ? propertyAccessLeftHandSide(node.expression) : node;\n    }\n    function importNameForConvertToDefaultImport(node) {\n      switch (node.kind) {\n        case 269:\n          const { importClause, moduleSpecifier } = node;\n          return importClause && !importClause.name && importClause.namedBindings && importClause.namedBindings.kind === 271 && isStringLiteral(moduleSpecifier) ? importClause.namedBindings.name : void 0;\n        case 268:\n          return node.name;\n        default:\n          return void 0;\n      }\n    }\n    function addConvertToAsyncFunctionDiagnostics(node, checker, diags) {\n      if (isConvertibleFunction(node, checker) && !visitedNestedConvertibleFunctions.has(getKeyFromNode(node))) {\n        diags.push(createDiagnosticForNode(\n          !node.name && isVariableDeclaration(node.parent) && isIdentifier(node.parent.name) ? node.parent.name : node,\n          Diagnostics.This_may_be_converted_to_an_async_function\n        ));\n      }\n    }\n    function isConvertibleFunction(node, checker) {\n      return !isAsyncFunction(node) && node.body && isBlock(node.body) && hasReturnStatementWithPromiseHandler(node.body, checker) && returnsPromise(node, checker);\n    }\n    function returnsPromise(node, checker) {\n      const signature = checker.getSignatureFromDeclaration(node);\n      const returnType = signature ? checker.getReturnTypeOfSignature(signature) : void 0;\n      return !!returnType && !!checker.getPromisedTypeOfPromise(returnType);\n    }\n    function getErrorNodeFromCommonJsIndicator(commonJsModuleIndicator) {\n      return isBinaryExpression(commonJsModuleIndicator) ? commonJsModuleIndicator.left : commonJsModuleIndicator;\n    }\n    function hasReturnStatementWithPromiseHandler(body, checker) {\n      return !!forEachReturnStatement(body, (statement) => isReturnStatementWithFixablePromiseHandler(statement, checker));\n    }\n    function isReturnStatementWithFixablePromiseHandler(node, checker) {\n      return isReturnStatement(node) && !!node.expression && isFixablePromiseHandler(node.expression, checker);\n    }\n    function isFixablePromiseHandler(node, checker) {\n      if (!isPromiseHandler(node) || !hasSupportedNumberOfArguments(node) || !node.arguments.every((arg) => isFixablePromiseArgument(arg, checker))) {\n        return false;\n      }\n      let currentNode = node.expression.expression;\n      while (isPromiseHandler(currentNode) || isPropertyAccessExpression(currentNode)) {\n        if (isCallExpression(currentNode)) {\n          if (!hasSupportedNumberOfArguments(currentNode) || !currentNode.arguments.every((arg) => isFixablePromiseArgument(arg, checker))) {\n            return false;\n          }\n          currentNode = currentNode.expression.expression;\n        } else {\n          currentNode = currentNode.expression;\n        }\n      }\n      return true;\n    }\n    function isPromiseHandler(node) {\n      return isCallExpression(node) && (hasPropertyAccessExpressionWithName(node, \"then\") || hasPropertyAccessExpressionWithName(node, \"catch\") || hasPropertyAccessExpressionWithName(node, \"finally\"));\n    }\n    function hasSupportedNumberOfArguments(node) {\n      const name = node.expression.name.text;\n      const maxArguments = name === \"then\" ? 2 : name === \"catch\" ? 1 : name === \"finally\" ? 1 : 0;\n      if (node.arguments.length > maxArguments)\n        return false;\n      if (node.arguments.length < maxArguments)\n        return true;\n      return maxArguments === 1 || some(node.arguments, (arg) => {\n        return arg.kind === 104 || isIdentifier(arg) && arg.text === \"undefined\";\n      });\n    }\n    function isFixablePromiseArgument(arg, checker) {\n      switch (arg.kind) {\n        case 259:\n        case 215:\n          const functionFlags = getFunctionFlags(arg);\n          if (functionFlags & 1) {\n            return false;\n          }\n        case 216:\n          visitedNestedConvertibleFunctions.set(getKeyFromNode(arg), true);\n        case 104:\n          return true;\n        case 79:\n        case 208: {\n          const symbol = checker.getSymbolAtLocation(arg);\n          if (!symbol) {\n            return false;\n          }\n          return checker.isUndefinedSymbol(symbol) || some(skipAlias(symbol, checker).declarations, (d) => isFunctionLike(d) || hasInitializer(d) && !!d.initializer && isFunctionLike(d.initializer));\n        }\n        default:\n          return false;\n      }\n    }\n    function getKeyFromNode(exp) {\n      return `${exp.pos.toString()}:${exp.end.toString()}`;\n    }\n    function canBeConvertedToClass(node, checker) {\n      var _a22, _b3, _c, _d;\n      if (isFunctionExpression(node)) {\n        if (isVariableDeclaration(node.parent) && ((_a22 = node.symbol.members) == null ? void 0 : _a22.size)) {\n          return true;\n        }\n        const symbol = checker.getSymbolOfExpando(\n          node,\n          /*allowDeclaration*/\n          false\n        );\n        return !!(symbol && (((_b3 = symbol.exports) == null ? void 0 : _b3.size) || ((_c = symbol.members) == null ? void 0 : _c.size)));\n      }\n      if (isFunctionDeclaration(node)) {\n        return !!((_d = node.symbol.members) == null ? void 0 : _d.size);\n      }\n      return false;\n    }\n    function canBeConvertedToAsync(node) {\n      switch (node.kind) {\n        case 259:\n        case 171:\n        case 215:\n        case 216:\n          return true;\n        default:\n          return false;\n      }\n    }\n    var visitedNestedConvertibleFunctions;\n    var init_suggestionDiagnostics = __esm({\n      \"src/services/suggestionDiagnostics.ts\"() {\n        \"use strict\";\n        init_ts4();\n        visitedNestedConvertibleFunctions = /* @__PURE__ */ new Map();\n      }\n    });\n    function transpileModule(input, transpileOptions) {\n      const diagnostics = [];\n      const options = transpileOptions.compilerOptions ? fixupCompilerOptions(transpileOptions.compilerOptions, diagnostics) : {};\n      const defaultOptions = getDefaultCompilerOptions2();\n      for (const key in defaultOptions) {\n        if (hasProperty(defaultOptions, key) && options[key] === void 0) {\n          options[key] = defaultOptions[key];\n        }\n      }\n      for (const option of transpileOptionValueCompilerOptions) {\n        if (options.verbatimModuleSyntax && optionsRedundantWithVerbatimModuleSyntax.has(option.name)) {\n          continue;\n        }\n        options[option.name] = option.transpileOptionValue;\n      }\n      options.suppressOutputPathCheck = true;\n      options.allowNonTsExtensions = true;\n      const newLine = getNewLineCharacter(options);\n      const compilerHost = {\n        getSourceFile: (fileName) => fileName === normalizePath(inputFileName) ? sourceFile : void 0,\n        writeFile: (name, text) => {\n          if (fileExtensionIs(name, \".map\")) {\n            Debug2.assertEqual(sourceMapText, void 0, \"Unexpected multiple source map outputs, file:\", name);\n            sourceMapText = text;\n          } else {\n            Debug2.assertEqual(outputText, void 0, \"Unexpected multiple outputs, file:\", name);\n            outputText = text;\n          }\n        },\n        getDefaultLibFileName: () => \"lib.d.ts\",\n        useCaseSensitiveFileNames: () => false,\n        getCanonicalFileName: (fileName) => fileName,\n        getCurrentDirectory: () => \"\",\n        getNewLine: () => newLine,\n        fileExists: (fileName) => fileName === inputFileName,\n        readFile: () => \"\",\n        directoryExists: () => true,\n        getDirectories: () => []\n      };\n      const inputFileName = transpileOptions.fileName || (transpileOptions.compilerOptions && transpileOptions.compilerOptions.jsx ? \"module.tsx\" : \"module.ts\");\n      const sourceFile = createSourceFile(\n        inputFileName,\n        input,\n        {\n          languageVersion: getEmitScriptTarget(options),\n          impliedNodeFormat: getImpliedNodeFormatForFile(\n            toPath(inputFileName, \"\", compilerHost.getCanonicalFileName),\n            /*cache*/\n            void 0,\n            compilerHost,\n            options\n          ),\n          setExternalModuleIndicator: getSetExternalModuleIndicator(options)\n        }\n      );\n      if (transpileOptions.moduleName) {\n        sourceFile.moduleName = transpileOptions.moduleName;\n      }\n      if (transpileOptions.renamedDependencies) {\n        sourceFile.renamedDependencies = new Map(Object.entries(transpileOptions.renamedDependencies));\n      }\n      let outputText;\n      let sourceMapText;\n      const program = createProgram([inputFileName], options, compilerHost);\n      if (transpileOptions.reportDiagnostics) {\n        addRange(\n          /*to*/\n          diagnostics,\n          /*from*/\n          program.getSyntacticDiagnostics(sourceFile)\n        );\n        addRange(\n          /*to*/\n          diagnostics,\n          /*from*/\n          program.getOptionsDiagnostics()\n        );\n      }\n      program.emit(\n        /*targetSourceFile*/\n        void 0,\n        /*writeFile*/\n        void 0,\n        /*cancellationToken*/\n        void 0,\n        /*emitOnlyDtsFiles*/\n        void 0,\n        transpileOptions.transformers\n      );\n      if (outputText === void 0)\n        return Debug2.fail(\"Output generation failed\");\n      return { outputText, diagnostics, sourceMapText };\n    }\n    function transpile(input, compilerOptions, fileName, diagnostics, moduleName) {\n      const output = transpileModule(input, { compilerOptions, fileName, reportDiagnostics: !!diagnostics, moduleName });\n      addRange(diagnostics, output.diagnostics);\n      return output.outputText;\n    }\n    function fixupCompilerOptions(options, diagnostics) {\n      commandLineOptionsStringToEnum = commandLineOptionsStringToEnum || filter(optionDeclarations, (o) => typeof o.type === \"object\" && !forEachEntry(o.type, (v) => typeof v !== \"number\"));\n      options = cloneCompilerOptions(options);\n      for (const opt of commandLineOptionsStringToEnum) {\n        if (!hasProperty(options, opt.name)) {\n          continue;\n        }\n        const value = options[opt.name];\n        if (isString2(value)) {\n          options[opt.name] = parseCustomTypeOption(opt, value, diagnostics);\n        } else {\n          if (!forEachEntry(opt.type, (v) => v === value)) {\n            diagnostics.push(createCompilerDiagnosticForInvalidCustomType(opt));\n          }\n        }\n      }\n      return options;\n    }\n    var optionsRedundantWithVerbatimModuleSyntax, commandLineOptionsStringToEnum;\n    var init_transpile = __esm({\n      \"src/services/transpile.ts\"() {\n        \"use strict\";\n        init_ts4();\n        optionsRedundantWithVerbatimModuleSyntax = /* @__PURE__ */ new Set([\n          \"isolatedModules\",\n          \"preserveValueImports\",\n          \"importsNotUsedAsValues\"\n        ]);\n      }\n    });\n    function getNavigateToItems(sourceFiles, checker, cancellationToken, searchValue, maxResultCount, excludeDtsFiles) {\n      const patternMatcher = createPatternMatcher(searchValue);\n      if (!patternMatcher)\n        return emptyArray;\n      const rawItems = [];\n      for (const sourceFile of sourceFiles) {\n        cancellationToken.throwIfCancellationRequested();\n        if (excludeDtsFiles && sourceFile.isDeclarationFile) {\n          continue;\n        }\n        sourceFile.getNamedDeclarations().forEach((declarations, name) => {\n          getItemsFromNamedDeclaration(patternMatcher, name, declarations, checker, sourceFile.fileName, rawItems);\n        });\n      }\n      rawItems.sort(compareNavigateToItems);\n      return (maxResultCount === void 0 ? rawItems : rawItems.slice(0, maxResultCount)).map(createNavigateToItem);\n    }\n    function getItemsFromNamedDeclaration(patternMatcher, name, declarations, checker, fileName, rawItems) {\n      const match = patternMatcher.getMatchForLastSegmentOfPattern(name);\n      if (!match) {\n        return;\n      }\n      for (const declaration of declarations) {\n        if (!shouldKeepItem(declaration, checker))\n          continue;\n        if (patternMatcher.patternContainsDots) {\n          const fullMatch = patternMatcher.getFullMatch(getContainers(declaration), name);\n          if (fullMatch) {\n            rawItems.push({ name, fileName, matchKind: fullMatch.kind, isCaseSensitive: fullMatch.isCaseSensitive, declaration });\n          }\n        } else {\n          rawItems.push({ name, fileName, matchKind: match.kind, isCaseSensitive: match.isCaseSensitive, declaration });\n        }\n      }\n    }\n    function shouldKeepItem(declaration, checker) {\n      switch (declaration.kind) {\n        case 270:\n        case 273:\n        case 268:\n          const importer = checker.getSymbolAtLocation(declaration.name);\n          const imported = checker.getAliasedSymbol(importer);\n          return importer.escapedName !== imported.escapedName;\n        default:\n          return true;\n      }\n    }\n    function tryAddSingleDeclarationName(declaration, containers) {\n      const name = getNameOfDeclaration(declaration);\n      return !!name && (pushLiteral(name, containers) || name.kind === 164 && tryAddComputedPropertyName(name.expression, containers));\n    }\n    function tryAddComputedPropertyName(expression, containers) {\n      return pushLiteral(expression, containers) || isPropertyAccessExpression(expression) && (containers.push(expression.name.text), true) && tryAddComputedPropertyName(expression.expression, containers);\n    }\n    function pushLiteral(node, containers) {\n      return isPropertyNameLiteral(node) && (containers.push(getTextOfIdentifierOrLiteral(node)), true);\n    }\n    function getContainers(declaration) {\n      const containers = [];\n      const name = getNameOfDeclaration(declaration);\n      if (name && name.kind === 164 && !tryAddComputedPropertyName(name.expression, containers)) {\n        return emptyArray;\n      }\n      containers.shift();\n      let container = getContainerNode(declaration);\n      while (container) {\n        if (!tryAddSingleDeclarationName(container, containers)) {\n          return emptyArray;\n        }\n        container = getContainerNode(container);\n      }\n      return containers.reverse();\n    }\n    function compareNavigateToItems(i1, i2) {\n      return compareValues(i1.matchKind, i2.matchKind) || compareStringsCaseSensitiveUI(i1.name, i2.name);\n    }\n    function createNavigateToItem(rawItem) {\n      const declaration = rawItem.declaration;\n      const container = getContainerNode(declaration);\n      const containerName = container && getNameOfDeclaration(container);\n      return {\n        name: rawItem.name,\n        kind: getNodeKind(declaration),\n        kindModifiers: getNodeModifiers(declaration),\n        matchKind: PatternMatchKind[rawItem.matchKind],\n        isCaseSensitive: rawItem.isCaseSensitive,\n        fileName: rawItem.fileName,\n        textSpan: createTextSpanFromNode(declaration),\n        // TODO(jfreeman): What should be the containerName when the container has a computed name?\n        containerName: containerName ? containerName.text : \"\",\n        containerKind: containerName ? getNodeKind(container) : \"\"\n        /* unknown */\n      };\n    }\n    var init_navigateTo = __esm({\n      \"src/services/navigateTo.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    var ts_NavigateTo_exports = {};\n    __export2(ts_NavigateTo_exports, {\n      getNavigateToItems: () => getNavigateToItems\n    });\n    var init_ts_NavigateTo = __esm({\n      \"src/services/_namespaces/ts.NavigateTo.ts\"() {\n        \"use strict\";\n        init_navigateTo();\n      }\n    });\n    function getNavigationBarItems(sourceFile, cancellationToken) {\n      curCancellationToken = cancellationToken;\n      curSourceFile = sourceFile;\n      try {\n        return map(primaryNavBarMenuItems(rootNavigationBarNode(sourceFile)), convertToPrimaryNavBarMenuItem);\n      } finally {\n        reset();\n      }\n    }\n    function getNavigationTree(sourceFile, cancellationToken) {\n      curCancellationToken = cancellationToken;\n      curSourceFile = sourceFile;\n      try {\n        return convertToTree(rootNavigationBarNode(sourceFile));\n      } finally {\n        reset();\n      }\n    }\n    function reset() {\n      curSourceFile = void 0;\n      curCancellationToken = void 0;\n      parentsStack = [];\n      parent = void 0;\n      emptyChildItemArray = [];\n    }\n    function nodeText(node) {\n      return cleanText(node.getText(curSourceFile));\n    }\n    function navigationBarNodeKind(n) {\n      return n.node.kind;\n    }\n    function pushChild(parent2, child) {\n      if (parent2.children) {\n        parent2.children.push(child);\n      } else {\n        parent2.children = [child];\n      }\n    }\n    function rootNavigationBarNode(sourceFile) {\n      Debug2.assert(!parentsStack.length);\n      const root = { node: sourceFile, name: void 0, additionalNodes: void 0, parent: void 0, children: void 0, indent: 0 };\n      parent = root;\n      for (const statement of sourceFile.statements) {\n        addChildrenRecursively(statement);\n      }\n      endNode();\n      Debug2.assert(!parent && !parentsStack.length);\n      return root;\n    }\n    function addLeafNode(node, name) {\n      pushChild(parent, emptyNavigationBarNode(node, name));\n    }\n    function emptyNavigationBarNode(node, name) {\n      return {\n        node,\n        name: name || (isDeclaration(node) || isExpression(node) ? getNameOfDeclaration(node) : void 0),\n        additionalNodes: void 0,\n        parent,\n        children: void 0,\n        indent: parent.indent + 1\n      };\n    }\n    function addTrackedEs5Class(name) {\n      if (!trackedEs5Classes) {\n        trackedEs5Classes = /* @__PURE__ */ new Map();\n      }\n      trackedEs5Classes.set(name, true);\n    }\n    function endNestedNodes(depth) {\n      for (let i = 0; i < depth; i++)\n        endNode();\n    }\n    function startNestedNodes(targetNode, entityName) {\n      const names = [];\n      while (!isPropertyNameLiteral(entityName)) {\n        const name = getNameOrArgument(entityName);\n        const nameText = getElementOrPropertyAccessName(entityName);\n        entityName = entityName.expression;\n        if (nameText === \"prototype\" || isPrivateIdentifier(name))\n          continue;\n        names.push(name);\n      }\n      names.push(entityName);\n      for (let i = names.length - 1; i > 0; i--) {\n        const name = names[i];\n        startNode(targetNode, name);\n      }\n      return [names.length - 1, names[0]];\n    }\n    function startNode(node, name) {\n      const navNode = emptyNavigationBarNode(node, name);\n      pushChild(parent, navNode);\n      parentsStack.push(parent);\n      trackedEs5ClassesStack.push(trackedEs5Classes);\n      trackedEs5Classes = void 0;\n      parent = navNode;\n    }\n    function endNode() {\n      if (parent.children) {\n        mergeChildren(parent.children, parent);\n        sortChildren(parent.children);\n      }\n      parent = parentsStack.pop();\n      trackedEs5Classes = trackedEs5ClassesStack.pop();\n    }\n    function addNodeWithRecursiveChild(node, child, name) {\n      startNode(node, name);\n      addChildrenRecursively(child);\n      endNode();\n    }\n    function addNodeWithRecursiveInitializer(node) {\n      if (node.initializer && isFunctionOrClassExpression(node.initializer)) {\n        startNode(node);\n        forEachChild(node.initializer, addChildrenRecursively);\n        endNode();\n      } else {\n        addNodeWithRecursiveChild(node, node.initializer);\n      }\n    }\n    function hasNavigationBarName(node) {\n      return !hasDynamicName(node) || node.kind !== 223 && isPropertyAccessExpression(node.name.expression) && isIdentifier(node.name.expression.expression) && idText(node.name.expression.expression) === \"Symbol\";\n    }\n    function addChildrenRecursively(node) {\n      curCancellationToken.throwIfCancellationRequested();\n      if (!node || isToken(node)) {\n        return;\n      }\n      switch (node.kind) {\n        case 173:\n          const ctr = node;\n          addNodeWithRecursiveChild(ctr, ctr.body);\n          for (const param of ctr.parameters) {\n            if (isParameterPropertyDeclaration(param, ctr)) {\n              addLeafNode(param);\n            }\n          }\n          break;\n        case 171:\n        case 174:\n        case 175:\n        case 170:\n          if (hasNavigationBarName(node)) {\n            addNodeWithRecursiveChild(node, node.body);\n          }\n          break;\n        case 169:\n          if (hasNavigationBarName(node)) {\n            addNodeWithRecursiveInitializer(node);\n          }\n          break;\n        case 168:\n          if (hasNavigationBarName(node)) {\n            addLeafNode(node);\n          }\n          break;\n        case 270:\n          const importClause = node;\n          if (importClause.name) {\n            addLeafNode(importClause.name);\n          }\n          const { namedBindings } = importClause;\n          if (namedBindings) {\n            if (namedBindings.kind === 271) {\n              addLeafNode(namedBindings);\n            } else {\n              for (const element of namedBindings.elements) {\n                addLeafNode(element);\n              }\n            }\n          }\n          break;\n        case 300:\n          addNodeWithRecursiveChild(node, node.name);\n          break;\n        case 301:\n          const { expression } = node;\n          isIdentifier(expression) ? addLeafNode(node, expression) : addLeafNode(node);\n          break;\n        case 205:\n        case 299:\n        case 257: {\n          const child = node;\n          if (isBindingPattern(child.name)) {\n            addChildrenRecursively(child.name);\n          } else {\n            addNodeWithRecursiveInitializer(child);\n          }\n          break;\n        }\n        case 259:\n          const nameNode = node.name;\n          if (nameNode && isIdentifier(nameNode)) {\n            addTrackedEs5Class(nameNode.text);\n          }\n          addNodeWithRecursiveChild(node, node.body);\n          break;\n        case 216:\n        case 215:\n          addNodeWithRecursiveChild(node, node.body);\n          break;\n        case 263:\n          startNode(node);\n          for (const member of node.members) {\n            if (!isComputedProperty(member)) {\n              addLeafNode(member);\n            }\n          }\n          endNode();\n          break;\n        case 260:\n        case 228:\n        case 261:\n          startNode(node);\n          for (const member of node.members) {\n            addChildrenRecursively(member);\n          }\n          endNode();\n          break;\n        case 264:\n          addNodeWithRecursiveChild(node, getInteriorModule(node).body);\n          break;\n        case 274: {\n          const expression2 = node.expression;\n          const child = isObjectLiteralExpression(expression2) || isCallExpression(expression2) ? expression2 : isArrowFunction(expression2) || isFunctionExpression(expression2) ? expression2.body : void 0;\n          if (child) {\n            startNode(node);\n            addChildrenRecursively(child);\n            endNode();\n          } else {\n            addLeafNode(node);\n          }\n          break;\n        }\n        case 278:\n        case 268:\n        case 178:\n        case 176:\n        case 177:\n        case 262:\n          addLeafNode(node);\n          break;\n        case 210:\n        case 223: {\n          const special = getAssignmentDeclarationKind(node);\n          switch (special) {\n            case 1:\n            case 2:\n              addNodeWithRecursiveChild(node, node.right);\n              return;\n            case 6:\n            case 3: {\n              const binaryExpression = node;\n              const assignmentTarget = binaryExpression.left;\n              const prototypeAccess = special === 3 ? assignmentTarget.expression : assignmentTarget;\n              let depth = 0;\n              let className;\n              if (isIdentifier(prototypeAccess.expression)) {\n                addTrackedEs5Class(prototypeAccess.expression.text);\n                className = prototypeAccess.expression;\n              } else {\n                [depth, className] = startNestedNodes(binaryExpression, prototypeAccess.expression);\n              }\n              if (special === 6) {\n                if (isObjectLiteralExpression(binaryExpression.right)) {\n                  if (binaryExpression.right.properties.length > 0) {\n                    startNode(binaryExpression, className);\n                    forEachChild(binaryExpression.right, addChildrenRecursively);\n                    endNode();\n                  }\n                }\n              } else if (isFunctionExpression(binaryExpression.right) || isArrowFunction(binaryExpression.right)) {\n                addNodeWithRecursiveChild(\n                  node,\n                  binaryExpression.right,\n                  className\n                );\n              } else {\n                startNode(binaryExpression, className);\n                addNodeWithRecursiveChild(node, binaryExpression.right, assignmentTarget.name);\n                endNode();\n              }\n              endNestedNodes(depth);\n              return;\n            }\n            case 7:\n            case 9: {\n              const defineCall = node;\n              const className = special === 7 ? defineCall.arguments[0] : defineCall.arguments[0].expression;\n              const memberName = defineCall.arguments[1];\n              const [depth, classNameIdentifier] = startNestedNodes(node, className);\n              startNode(node, classNameIdentifier);\n              startNode(node, setTextRange(factory.createIdentifier(memberName.text), memberName));\n              addChildrenRecursively(node.arguments[2]);\n              endNode();\n              endNode();\n              endNestedNodes(depth);\n              return;\n            }\n            case 5: {\n              const binaryExpression = node;\n              const assignmentTarget = binaryExpression.left;\n              const targetFunction = assignmentTarget.expression;\n              if (isIdentifier(targetFunction) && getElementOrPropertyAccessName(assignmentTarget) !== \"prototype\" && trackedEs5Classes && trackedEs5Classes.has(targetFunction.text)) {\n                if (isFunctionExpression(binaryExpression.right) || isArrowFunction(binaryExpression.right)) {\n                  addNodeWithRecursiveChild(node, binaryExpression.right, targetFunction);\n                } else if (isBindableStaticAccessExpression(assignmentTarget)) {\n                  startNode(binaryExpression, targetFunction);\n                  addNodeWithRecursiveChild(binaryExpression.left, binaryExpression.right, getNameOrArgument(assignmentTarget));\n                  endNode();\n                }\n                return;\n              }\n              break;\n            }\n            case 4:\n            case 0:\n            case 8:\n              break;\n            default:\n              Debug2.assertNever(special);\n          }\n        }\n        default:\n          if (hasJSDocNodes(node)) {\n            forEach(node.jsDoc, (jsDoc) => {\n              forEach(jsDoc.tags, (tag) => {\n                if (isJSDocTypeAlias(tag)) {\n                  addLeafNode(tag);\n                }\n              });\n            });\n          }\n          forEachChild(node, addChildrenRecursively);\n      }\n    }\n    function mergeChildren(children, node) {\n      const nameToItems = /* @__PURE__ */ new Map();\n      filterMutate(children, (child, index) => {\n        const declName = child.name || getNameOfDeclaration(child.node);\n        const name = declName && nodeText(declName);\n        if (!name) {\n          return true;\n        }\n        const itemsWithSameName = nameToItems.get(name);\n        if (!itemsWithSameName) {\n          nameToItems.set(name, child);\n          return true;\n        }\n        if (itemsWithSameName instanceof Array) {\n          for (const itemWithSameName of itemsWithSameName) {\n            if (tryMerge(itemWithSameName, child, index, node)) {\n              return false;\n            }\n          }\n          itemsWithSameName.push(child);\n          return true;\n        } else {\n          const itemWithSameName = itemsWithSameName;\n          if (tryMerge(itemWithSameName, child, index, node)) {\n            return false;\n          }\n          nameToItems.set(name, [itemWithSameName, child]);\n          return true;\n        }\n      });\n    }\n    function tryMergeEs5Class(a, b, bIndex, parent2) {\n      function isPossibleConstructor(node) {\n        return isFunctionExpression(node) || isFunctionDeclaration(node) || isVariableDeclaration(node);\n      }\n      const bAssignmentDeclarationKind = isBinaryExpression(b.node) || isCallExpression(b.node) ? getAssignmentDeclarationKind(b.node) : 0;\n      const aAssignmentDeclarationKind = isBinaryExpression(a.node) || isCallExpression(a.node) ? getAssignmentDeclarationKind(a.node) : 0;\n      if (isEs5ClassMember[bAssignmentDeclarationKind] && isEs5ClassMember[aAssignmentDeclarationKind] || isPossibleConstructor(a.node) && isEs5ClassMember[bAssignmentDeclarationKind] || isPossibleConstructor(b.node) && isEs5ClassMember[aAssignmentDeclarationKind] || isClassDeclaration(a.node) && isSynthesized(a.node) && isEs5ClassMember[bAssignmentDeclarationKind] || isClassDeclaration(b.node) && isEs5ClassMember[aAssignmentDeclarationKind] || isClassDeclaration(a.node) && isSynthesized(a.node) && isPossibleConstructor(b.node) || isClassDeclaration(b.node) && isPossibleConstructor(a.node) && isSynthesized(a.node)) {\n        let lastANode = a.additionalNodes && lastOrUndefined(a.additionalNodes) || a.node;\n        if (!isClassDeclaration(a.node) && !isClassDeclaration(b.node) || isPossibleConstructor(a.node) || isPossibleConstructor(b.node)) {\n          const ctorFunction = isPossibleConstructor(a.node) ? a.node : isPossibleConstructor(b.node) ? b.node : void 0;\n          if (ctorFunction !== void 0) {\n            const ctorNode = setTextRange(\n              factory.createConstructorDeclaration(\n                /* modifiers */\n                void 0,\n                [],\n                /* body */\n                void 0\n              ),\n              ctorFunction\n            );\n            const ctor = emptyNavigationBarNode(ctorNode);\n            ctor.indent = a.indent + 1;\n            ctor.children = a.node === ctorFunction ? a.children : b.children;\n            a.children = a.node === ctorFunction ? concatenate([ctor], b.children || [b]) : concatenate(a.children || [{ ...a }], [ctor]);\n          } else {\n            if (a.children || b.children) {\n              a.children = concatenate(a.children || [{ ...a }], b.children || [b]);\n              if (a.children) {\n                mergeChildren(a.children, a);\n                sortChildren(a.children);\n              }\n            }\n          }\n          lastANode = a.node = setTextRange(factory.createClassDeclaration(\n            /* modifiers */\n            void 0,\n            a.name || factory.createIdentifier(\"__class__\"),\n            /* typeParameters */\n            void 0,\n            /* heritageClauses */\n            void 0,\n            []\n          ), a.node);\n        } else {\n          a.children = concatenate(a.children, b.children);\n          if (a.children) {\n            mergeChildren(a.children, a);\n          }\n        }\n        const bNode = b.node;\n        if (parent2.children[bIndex - 1].node.end === lastANode.end) {\n          setTextRange(lastANode, { pos: lastANode.pos, end: bNode.end });\n        } else {\n          if (!a.additionalNodes)\n            a.additionalNodes = [];\n          a.additionalNodes.push(setTextRange(factory.createClassDeclaration(\n            /* modifiers */\n            void 0,\n            a.name || factory.createIdentifier(\"__class__\"),\n            /* typeParameters */\n            void 0,\n            /* heritageClauses */\n            void 0,\n            []\n          ), b.node));\n        }\n        return true;\n      }\n      return bAssignmentDeclarationKind === 0 ? false : true;\n    }\n    function tryMerge(a, b, bIndex, parent2) {\n      if (tryMergeEs5Class(a, b, bIndex, parent2)) {\n        return true;\n      }\n      if (shouldReallyMerge(a.node, b.node, parent2)) {\n        merge(a, b);\n        return true;\n      }\n      return false;\n    }\n    function shouldReallyMerge(a, b, parent2) {\n      if (a.kind !== b.kind || a.parent !== b.parent && !(isOwnChild(a, parent2) && isOwnChild(b, parent2))) {\n        return false;\n      }\n      switch (a.kind) {\n        case 169:\n        case 171:\n        case 174:\n        case 175:\n          return isStatic(a) === isStatic(b);\n        case 264:\n          return areSameModule(a, b) && getFullyQualifiedModuleName(a) === getFullyQualifiedModuleName(b);\n        default:\n          return true;\n      }\n    }\n    function isSynthesized(node) {\n      return !!(node.flags & 8);\n    }\n    function isOwnChild(n, parent2) {\n      const par = isModuleBlock(n.parent) ? n.parent.parent : n.parent;\n      return par === parent2.node || contains(parent2.additionalNodes, par);\n    }\n    function areSameModule(a, b) {\n      if (!a.body || !b.body) {\n        return a.body === b.body;\n      }\n      return a.body.kind === b.body.kind && (a.body.kind !== 264 || areSameModule(a.body, b.body));\n    }\n    function merge(target, source) {\n      target.additionalNodes = target.additionalNodes || [];\n      target.additionalNodes.push(source.node);\n      if (source.additionalNodes) {\n        target.additionalNodes.push(...source.additionalNodes);\n      }\n      target.children = concatenate(target.children, source.children);\n      if (target.children) {\n        mergeChildren(target.children, target);\n        sortChildren(target.children);\n      }\n    }\n    function sortChildren(children) {\n      children.sort(compareChildren);\n    }\n    function compareChildren(child1, child2) {\n      return compareStringsCaseSensitiveUI(tryGetName(child1.node), tryGetName(child2.node)) || compareValues(navigationBarNodeKind(child1), navigationBarNodeKind(child2));\n    }\n    function tryGetName(node) {\n      if (node.kind === 264) {\n        return getModuleName(node);\n      }\n      const declName = getNameOfDeclaration(node);\n      if (declName && isPropertyName(declName)) {\n        const propertyName = getPropertyNameForPropertyNameNode(declName);\n        return propertyName && unescapeLeadingUnderscores(propertyName);\n      }\n      switch (node.kind) {\n        case 215:\n        case 216:\n        case 228:\n          return getFunctionOrClassName(node);\n        default:\n          return void 0;\n      }\n    }\n    function getItemName(node, name) {\n      if (node.kind === 264) {\n        return cleanText(getModuleName(node));\n      }\n      if (name) {\n        const text = isIdentifier(name) ? name.text : isElementAccessExpression(name) ? `[${nodeText(name.argumentExpression)}]` : nodeText(name);\n        if (text.length > 0) {\n          return cleanText(text);\n        }\n      }\n      switch (node.kind) {\n        case 308:\n          const sourceFile = node;\n          return isExternalModule(sourceFile) ? `\"${escapeString(getBaseFileName(removeFileExtension(normalizePath(sourceFile.fileName))))}\"` : \"<global>\";\n        case 274:\n          return isExportAssignment(node) && node.isExportEquals ? \"export=\" : \"default\";\n        case 216:\n        case 259:\n        case 215:\n        case 260:\n        case 228:\n          if (getSyntacticModifierFlags(node) & 1024) {\n            return \"default\";\n          }\n          return getFunctionOrClassName(node);\n        case 173:\n          return \"constructor\";\n        case 177:\n          return \"new()\";\n        case 176:\n          return \"()\";\n        case 178:\n          return \"[]\";\n        default:\n          return \"<unknown>\";\n      }\n    }\n    function primaryNavBarMenuItems(root) {\n      const primaryNavBarMenuItems2 = [];\n      function recur(item) {\n        if (shouldAppearInPrimaryNavBarMenu(item)) {\n          primaryNavBarMenuItems2.push(item);\n          if (item.children) {\n            for (const child of item.children) {\n              recur(child);\n            }\n          }\n        }\n      }\n      recur(root);\n      return primaryNavBarMenuItems2;\n      function shouldAppearInPrimaryNavBarMenu(item) {\n        if (item.children) {\n          return true;\n        }\n        switch (navigationBarNodeKind(item)) {\n          case 260:\n          case 228:\n          case 263:\n          case 261:\n          case 264:\n          case 308:\n          case 262:\n          case 349:\n          case 341:\n            return true;\n          case 216:\n          case 259:\n          case 215:\n            return isTopLevelFunctionDeclaration(item);\n          default:\n            return false;\n        }\n        function isTopLevelFunctionDeclaration(item2) {\n          if (!item2.node.body) {\n            return false;\n          }\n          switch (navigationBarNodeKind(item2.parent)) {\n            case 265:\n            case 308:\n            case 171:\n            case 173:\n              return true;\n            default:\n              return false;\n          }\n        }\n      }\n    }\n    function convertToTree(n) {\n      return {\n        text: getItemName(n.node, n.name),\n        kind: getNodeKind(n.node),\n        kindModifiers: getModifiers2(n.node),\n        spans: getSpans(n),\n        nameSpan: n.name && getNodeSpan(n.name),\n        childItems: map(n.children, convertToTree)\n      };\n    }\n    function convertToPrimaryNavBarMenuItem(n) {\n      return {\n        text: getItemName(n.node, n.name),\n        kind: getNodeKind(n.node),\n        kindModifiers: getModifiers2(n.node),\n        spans: getSpans(n),\n        childItems: map(n.children, convertToSecondaryNavBarMenuItem) || emptyChildItemArray,\n        indent: n.indent,\n        bolded: false,\n        grayed: false\n      };\n      function convertToSecondaryNavBarMenuItem(n2) {\n        return {\n          text: getItemName(n2.node, n2.name),\n          kind: getNodeKind(n2.node),\n          kindModifiers: getNodeModifiers(n2.node),\n          spans: getSpans(n2),\n          childItems: emptyChildItemArray,\n          indent: 0,\n          bolded: false,\n          grayed: false\n        };\n      }\n    }\n    function getSpans(n) {\n      const spans = [getNodeSpan(n.node)];\n      if (n.additionalNodes) {\n        for (const node of n.additionalNodes) {\n          spans.push(getNodeSpan(node));\n        }\n      }\n      return spans;\n    }\n    function getModuleName(moduleDeclaration) {\n      if (isAmbientModule(moduleDeclaration)) {\n        return getTextOfNode(moduleDeclaration.name);\n      }\n      return getFullyQualifiedModuleName(moduleDeclaration);\n    }\n    function getFullyQualifiedModuleName(moduleDeclaration) {\n      const result = [getTextOfIdentifierOrLiteral(moduleDeclaration.name)];\n      while (moduleDeclaration.body && moduleDeclaration.body.kind === 264) {\n        moduleDeclaration = moduleDeclaration.body;\n        result.push(getTextOfIdentifierOrLiteral(moduleDeclaration.name));\n      }\n      return result.join(\".\");\n    }\n    function getInteriorModule(decl) {\n      return decl.body && isModuleDeclaration(decl.body) ? getInteriorModule(decl.body) : decl;\n    }\n    function isComputedProperty(member) {\n      return !member.name || member.name.kind === 164;\n    }\n    function getNodeSpan(node) {\n      return node.kind === 308 ? createTextSpanFromRange(node) : createTextSpanFromNode(node, curSourceFile);\n    }\n    function getModifiers2(node) {\n      if (node.parent && node.parent.kind === 257) {\n        node = node.parent;\n      }\n      return getNodeModifiers(node);\n    }\n    function getFunctionOrClassName(node) {\n      const { parent: parent2 } = node;\n      if (node.name && getFullWidth(node.name) > 0) {\n        return cleanText(declarationNameToString(node.name));\n      } else if (isVariableDeclaration(parent2)) {\n        return cleanText(declarationNameToString(parent2.name));\n      } else if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 63) {\n        return nodeText(parent2.left).replace(whiteSpaceRegex, \"\");\n      } else if (isPropertyAssignment(parent2)) {\n        return nodeText(parent2.name);\n      } else if (getSyntacticModifierFlags(node) & 1024) {\n        return \"default\";\n      } else if (isClassLike(node)) {\n        return \"<class>\";\n      } else if (isCallExpression(parent2)) {\n        let name = getCalledExpressionName(parent2.expression);\n        if (name !== void 0) {\n          name = cleanText(name);\n          if (name.length > maxLength) {\n            return `${name} callback`;\n          }\n          const args = cleanText(mapDefined(parent2.arguments, (a) => isStringLiteralLike(a) ? a.getText(curSourceFile) : void 0).join(\", \"));\n          return `${name}(${args}) callback`;\n        }\n      }\n      return \"<function>\";\n    }\n    function getCalledExpressionName(expr) {\n      if (isIdentifier(expr)) {\n        return expr.text;\n      } else if (isPropertyAccessExpression(expr)) {\n        const left = getCalledExpressionName(expr.expression);\n        const right = expr.name.text;\n        return left === void 0 ? right : `${left}.${right}`;\n      } else {\n        return void 0;\n      }\n    }\n    function isFunctionOrClassExpression(node) {\n      switch (node.kind) {\n        case 216:\n        case 215:\n        case 228:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function cleanText(text) {\n      text = text.length > maxLength ? text.substring(0, maxLength) + \"...\" : text;\n      return text.replace(/\\\\?(\\r?\\n|\\r|\\u2028|\\u2029)/g, \"\");\n    }\n    var whiteSpaceRegex, maxLength, curCancellationToken, curSourceFile, parentsStack, parent, trackedEs5ClassesStack, trackedEs5Classes, emptyChildItemArray, isEs5ClassMember;\n    var init_navigationBar = __esm({\n      \"src/services/navigationBar.ts\"() {\n        \"use strict\";\n        init_ts4();\n        whiteSpaceRegex = /\\s+/g;\n        maxLength = 150;\n        parentsStack = [];\n        trackedEs5ClassesStack = [];\n        emptyChildItemArray = [];\n        isEs5ClassMember = {\n          [\n            5\n            /* Property */\n          ]: true,\n          [\n            3\n            /* PrototypeProperty */\n          ]: true,\n          [\n            7\n            /* ObjectDefinePropertyValue */\n          ]: true,\n          [\n            9\n            /* ObjectDefinePrototypeProperty */\n          ]: true,\n          [\n            0\n            /* None */\n          ]: false,\n          [\n            1\n            /* ExportsProperty */\n          ]: false,\n          [\n            2\n            /* ModuleExports */\n          ]: false,\n          [\n            8\n            /* ObjectDefinePropertyExports */\n          ]: false,\n          [\n            6\n            /* Prototype */\n          ]: true,\n          [\n            4\n            /* ThisProperty */\n          ]: false\n        };\n      }\n    });\n    var ts_NavigationBar_exports = {};\n    __export2(ts_NavigationBar_exports, {\n      getNavigationBarItems: () => getNavigationBarItems,\n      getNavigationTree: () => getNavigationTree\n    });\n    var init_ts_NavigationBar = __esm({\n      \"src/services/_namespaces/ts.NavigationBar.ts\"() {\n        \"use strict\";\n        init_navigationBar();\n      }\n    });\n    function createNode(kind, pos, end, parent2) {\n      const node = isNodeKind(kind) ? new NodeObject(kind, pos, end) : kind === 79 ? new IdentifierObject(79, pos, end) : kind === 80 ? new PrivateIdentifierObject(80, pos, end) : new TokenObject(kind, pos, end);\n      node.parent = parent2;\n      node.flags = parent2.flags & 50720768;\n      return node;\n    }\n    function createChildren(node, sourceFile) {\n      if (!isNodeKind(node.kind)) {\n        return emptyArray;\n      }\n      const children = [];\n      if (isJSDocCommentContainingNode(node)) {\n        node.forEachChild((child) => {\n          children.push(child);\n        });\n        return children;\n      }\n      scanner.setText((sourceFile || node.getSourceFile()).text);\n      let pos = node.pos;\n      const processNode = (child) => {\n        addSyntheticNodes(children, pos, child.pos, node);\n        children.push(child);\n        pos = child.end;\n      };\n      const processNodes = (nodes) => {\n        addSyntheticNodes(children, pos, nodes.pos, node);\n        children.push(createSyntaxList(nodes, node));\n        pos = nodes.end;\n      };\n      forEach(node.jsDoc, processNode);\n      pos = node.pos;\n      node.forEachChild(processNode, processNodes);\n      addSyntheticNodes(children, pos, node.end, node);\n      scanner.setText(void 0);\n      return children;\n    }\n    function addSyntheticNodes(nodes, pos, end, parent2) {\n      scanner.setTextPos(pos);\n      while (pos < end) {\n        const token = scanner.scan();\n        const textPos = scanner.getTextPos();\n        if (textPos <= end) {\n          if (token === 79) {\n            if (hasTabstop(parent2)) {\n              continue;\n            }\n            Debug2.fail(`Did not expect ${Debug2.formatSyntaxKind(parent2.kind)} to have an Identifier in its trivia`);\n          }\n          nodes.push(createNode(token, pos, textPos, parent2));\n        }\n        pos = textPos;\n        if (token === 1) {\n          break;\n        }\n      }\n    }\n    function createSyntaxList(nodes, parent2) {\n      const list = createNode(354, nodes.pos, nodes.end, parent2);\n      list._children = [];\n      let pos = nodes.pos;\n      for (const node of nodes) {\n        addSyntheticNodes(list._children, pos, node.pos, parent2);\n        list._children.push(node);\n        pos = node.end;\n      }\n      addSyntheticNodes(list._children, pos, nodes.end, parent2);\n      return list;\n    }\n    function hasJSDocInheritDocTag(node) {\n      return getJSDocTags(node).some((tag) => tag.tagName.text === \"inheritDoc\" || tag.tagName.text === \"inheritdoc\");\n    }\n    function getJsDocTagsOfDeclarations(declarations, checker) {\n      if (!declarations)\n        return emptyArray;\n      let tags = ts_JsDoc_exports.getJsDocTagsFromDeclarations(declarations, checker);\n      if (checker && (tags.length === 0 || declarations.some(hasJSDocInheritDocTag))) {\n        const seenSymbols = /* @__PURE__ */ new Set();\n        for (const declaration of declarations) {\n          const inheritedTags = findBaseOfDeclaration(checker, declaration, (symbol) => {\n            var _a22;\n            if (!seenSymbols.has(symbol)) {\n              seenSymbols.add(symbol);\n              if (declaration.kind === 174 || declaration.kind === 175) {\n                return symbol.getContextualJsDocTags(declaration, checker);\n              }\n              return ((_a22 = symbol.declarations) == null ? void 0 : _a22.length) === 1 ? symbol.getJsDocTags() : void 0;\n            }\n          });\n          if (inheritedTags) {\n            tags = [...inheritedTags, ...tags];\n          }\n        }\n      }\n      return tags;\n    }\n    function getDocumentationComment(declarations, checker) {\n      if (!declarations)\n        return emptyArray;\n      let doc = ts_JsDoc_exports.getJsDocCommentsFromDeclarations(declarations, checker);\n      if (checker && (doc.length === 0 || declarations.some(hasJSDocInheritDocTag))) {\n        const seenSymbols = /* @__PURE__ */ new Set();\n        for (const declaration of declarations) {\n          const inheritedDocs = findBaseOfDeclaration(checker, declaration, (symbol) => {\n            if (!seenSymbols.has(symbol)) {\n              seenSymbols.add(symbol);\n              if (declaration.kind === 174 || declaration.kind === 175) {\n                return symbol.getContextualDocumentationComment(declaration, checker);\n              }\n              return symbol.getDocumentationComment(checker);\n            }\n          });\n          if (inheritedDocs)\n            doc = doc.length === 0 ? inheritedDocs.slice() : inheritedDocs.concat(lineBreakPart(), doc);\n        }\n      }\n      return doc;\n    }\n    function findBaseOfDeclaration(checker, declaration, cb) {\n      var _a22;\n      const classOrInterfaceDeclaration = ((_a22 = declaration.parent) == null ? void 0 : _a22.kind) === 173 ? declaration.parent.parent : declaration.parent;\n      if (!classOrInterfaceDeclaration)\n        return;\n      const isStaticMember = hasStaticModifier(declaration);\n      return firstDefined(getAllSuperTypeNodes(classOrInterfaceDeclaration), (superTypeNode) => {\n        const baseType = checker.getTypeAtLocation(superTypeNode);\n        const type = isStaticMember && baseType.symbol ? checker.getTypeOfSymbol(baseType.symbol) : baseType;\n        const symbol = checker.getPropertyOfType(type, declaration.symbol.name);\n        return symbol ? cb(symbol) : void 0;\n      });\n    }\n    function getServicesObjectAllocator() {\n      return {\n        getNodeConstructor: () => NodeObject,\n        getTokenConstructor: () => TokenObject,\n        getIdentifierConstructor: () => IdentifierObject,\n        getPrivateIdentifierConstructor: () => PrivateIdentifierObject,\n        getSourceFileConstructor: () => SourceFileObject,\n        getSymbolConstructor: () => SymbolObject,\n        getTypeConstructor: () => TypeObject,\n        getSignatureConstructor: () => SignatureObject,\n        getSourceMapSourceConstructor: () => SourceMapSourceObject\n      };\n    }\n    function toEditorSettings(optionsAsMap) {\n      let allPropertiesAreCamelCased = true;\n      for (const key in optionsAsMap) {\n        if (hasProperty(optionsAsMap, key) && !isCamelCase(key)) {\n          allPropertiesAreCamelCased = false;\n          break;\n        }\n      }\n      if (allPropertiesAreCamelCased) {\n        return optionsAsMap;\n      }\n      const settings = {};\n      for (const key in optionsAsMap) {\n        if (hasProperty(optionsAsMap, key)) {\n          const newKey = isCamelCase(key) ? key : key.charAt(0).toLowerCase() + key.substr(1);\n          settings[newKey] = optionsAsMap[key];\n        }\n      }\n      return settings;\n    }\n    function isCamelCase(s) {\n      return !s.length || s.charAt(0) === s.charAt(0).toLowerCase();\n    }\n    function displayPartsToString2(displayParts) {\n      if (displayParts) {\n        return map(displayParts, (displayPart2) => displayPart2.text).join(\"\");\n      }\n      return \"\";\n    }\n    function getDefaultCompilerOptions2() {\n      return {\n        target: 1,\n        jsx: 1\n        /* Preserve */\n      };\n    }\n    function getSupportedCodeFixes() {\n      return ts_codefix_exports.getSupportedErrorCodes();\n    }\n    function setSourceFileFields(sourceFile, scriptSnapshot, version2) {\n      sourceFile.version = version2;\n      sourceFile.scriptSnapshot = scriptSnapshot;\n    }\n    function createLanguageServiceSourceFile(fileName, scriptSnapshot, scriptTargetOrOptions, version2, setNodeParents, scriptKind) {\n      const sourceFile = createSourceFile(fileName, getSnapshotText(scriptSnapshot), scriptTargetOrOptions, setNodeParents, scriptKind);\n      setSourceFileFields(sourceFile, scriptSnapshot, version2);\n      return sourceFile;\n    }\n    function updateLanguageServiceSourceFile(sourceFile, scriptSnapshot, version2, textChangeRange, aggressiveChecks) {\n      if (textChangeRange) {\n        if (version2 !== sourceFile.version) {\n          let newText;\n          const prefix = textChangeRange.span.start !== 0 ? sourceFile.text.substr(0, textChangeRange.span.start) : \"\";\n          const suffix = textSpanEnd(textChangeRange.span) !== sourceFile.text.length ? sourceFile.text.substr(textSpanEnd(textChangeRange.span)) : \"\";\n          if (textChangeRange.newLength === 0) {\n            newText = prefix && suffix ? prefix + suffix : prefix || suffix;\n          } else {\n            const changedText = scriptSnapshot.getText(textChangeRange.span.start, textChangeRange.span.start + textChangeRange.newLength);\n            newText = prefix && suffix ? prefix + changedText + suffix : prefix ? prefix + changedText : changedText + suffix;\n          }\n          const newSourceFile = updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks);\n          setSourceFileFields(newSourceFile, scriptSnapshot, version2);\n          newSourceFile.nameTable = void 0;\n          if (sourceFile !== newSourceFile && sourceFile.scriptSnapshot) {\n            if (sourceFile.scriptSnapshot.dispose) {\n              sourceFile.scriptSnapshot.dispose();\n            }\n            sourceFile.scriptSnapshot = void 0;\n          }\n          return newSourceFile;\n        }\n      }\n      const options = {\n        languageVersion: sourceFile.languageVersion,\n        impliedNodeFormat: sourceFile.impliedNodeFormat,\n        setExternalModuleIndicator: sourceFile.setExternalModuleIndicator\n      };\n      return createLanguageServiceSourceFile(\n        sourceFile.fileName,\n        scriptSnapshot,\n        options,\n        version2,\n        /*setNodeParents*/\n        true,\n        sourceFile.scriptKind\n      );\n    }\n    function createLanguageService2(host, documentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory()), syntaxOnlyOrLanguageServiceMode) {\n      var _a22;\n      let languageServiceMode;\n      if (syntaxOnlyOrLanguageServiceMode === void 0) {\n        languageServiceMode = 0;\n      } else if (typeof syntaxOnlyOrLanguageServiceMode === \"boolean\") {\n        languageServiceMode = syntaxOnlyOrLanguageServiceMode ? 2 : 0;\n      } else {\n        languageServiceMode = syntaxOnlyOrLanguageServiceMode;\n      }\n      const syntaxTreeCache = new SyntaxTreeCache(host);\n      let program;\n      let lastProjectVersion;\n      let lastTypesRootVersion = 0;\n      const cancellationToken = host.getCancellationToken ? new CancellationTokenObject(host.getCancellationToken()) : NoopCancellationToken;\n      const currentDirectory = host.getCurrentDirectory();\n      maybeSetLocalizedDiagnosticMessages((_a22 = host.getLocalizedDiagnosticMessages) == null ? void 0 : _a22.bind(host));\n      function log(message) {\n        if (host.log) {\n          host.log(message);\n        }\n      }\n      const useCaseSensitiveFileNames = hostUsesCaseSensitiveFileNames(host);\n      const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n      const sourceMapper = getSourceMapper({\n        useCaseSensitiveFileNames: () => useCaseSensitiveFileNames,\n        getCurrentDirectory: () => currentDirectory,\n        getProgram,\n        fileExists: maybeBind(host, host.fileExists),\n        readFile: maybeBind(host, host.readFile),\n        getDocumentPositionMapper: maybeBind(host, host.getDocumentPositionMapper),\n        getSourceFileLike: maybeBind(host, host.getSourceFileLike),\n        log\n      });\n      function getValidSourceFile(fileName) {\n        const sourceFile = program.getSourceFile(fileName);\n        if (!sourceFile) {\n          const error = new Error(`Could not find source file: '${fileName}'.`);\n          error.ProgramFiles = program.getSourceFiles().map((f) => f.fileName);\n          throw error;\n        }\n        return sourceFile;\n      }\n      function synchronizeHostData() {\n        var _a32, _b3, _c;\n        Debug2.assert(\n          languageServiceMode !== 2\n          /* Syntactic */\n        );\n        if (host.getProjectVersion) {\n          const hostProjectVersion = host.getProjectVersion();\n          if (hostProjectVersion) {\n            if (lastProjectVersion === hostProjectVersion && !((_a32 = host.hasChangedAutomaticTypeDirectiveNames) == null ? void 0 : _a32.call(host))) {\n              return;\n            }\n            lastProjectVersion = hostProjectVersion;\n          }\n        }\n        const typeRootsVersion = host.getTypeRootsVersion ? host.getTypeRootsVersion() : 0;\n        if (lastTypesRootVersion !== typeRootsVersion) {\n          log(\"TypeRoots version has changed; provide new program\");\n          program = void 0;\n          lastTypesRootVersion = typeRootsVersion;\n        }\n        const rootFileNames = host.getScriptFileNames().slice();\n        const newSettings = host.getCompilationSettings() || getDefaultCompilerOptions2();\n        const hasInvalidatedResolutions = host.hasInvalidatedResolutions || returnFalse;\n        const hasChangedAutomaticTypeDirectiveNames = maybeBind(host, host.hasChangedAutomaticTypeDirectiveNames);\n        const projectReferences = (_b3 = host.getProjectReferences) == null ? void 0 : _b3.call(host);\n        let parsedCommandLines;\n        let compilerHost = {\n          getSourceFile: getOrCreateSourceFile,\n          getSourceFileByPath: getOrCreateSourceFileByPath,\n          getCancellationToken: () => cancellationToken,\n          getCanonicalFileName,\n          useCaseSensitiveFileNames: () => useCaseSensitiveFileNames,\n          getNewLine: () => getNewLineCharacter(newSettings),\n          getDefaultLibFileName: (options2) => host.getDefaultLibFileName(options2),\n          writeFile: noop,\n          getCurrentDirectory: () => currentDirectory,\n          fileExists: (fileName) => host.fileExists(fileName),\n          readFile: (fileName) => host.readFile && host.readFile(fileName),\n          getSymlinkCache: maybeBind(host, host.getSymlinkCache),\n          realpath: maybeBind(host, host.realpath),\n          directoryExists: (directoryName) => {\n            return directoryProbablyExists(directoryName, host);\n          },\n          getDirectories: (path) => {\n            return host.getDirectories ? host.getDirectories(path) : [];\n          },\n          readDirectory: (path, extensions, exclude, include, depth) => {\n            Debug2.checkDefined(host.readDirectory, \"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'\");\n            return host.readDirectory(path, extensions, exclude, include, depth);\n          },\n          onReleaseOldSourceFile,\n          onReleaseParsedCommandLine,\n          hasInvalidatedResolutions,\n          hasChangedAutomaticTypeDirectiveNames,\n          trace: maybeBind(host, host.trace),\n          resolveModuleNames: maybeBind(host, host.resolveModuleNames),\n          getModuleResolutionCache: maybeBind(host, host.getModuleResolutionCache),\n          createHash: maybeBind(host, host.createHash),\n          resolveTypeReferenceDirectives: maybeBind(host, host.resolveTypeReferenceDirectives),\n          resolveModuleNameLiterals: maybeBind(host, host.resolveModuleNameLiterals),\n          resolveTypeReferenceDirectiveReferences: maybeBind(host, host.resolveTypeReferenceDirectiveReferences),\n          useSourceOfProjectReferenceRedirect: maybeBind(host, host.useSourceOfProjectReferenceRedirect),\n          getParsedCommandLine\n        };\n        const originalGetSourceFile = compilerHost.getSourceFile;\n        const { getSourceFileWithCache } = changeCompilerHostLikeToUseCache(\n          compilerHost,\n          (fileName) => toPath(fileName, currentDirectory, getCanonicalFileName),\n          (...args) => originalGetSourceFile.call(compilerHost, ...args)\n        );\n        compilerHost.getSourceFile = getSourceFileWithCache;\n        (_c = host.setCompilerHost) == null ? void 0 : _c.call(host, compilerHost);\n        const parseConfigHost = {\n          useCaseSensitiveFileNames,\n          fileExists: (fileName) => compilerHost.fileExists(fileName),\n          readFile: (fileName) => compilerHost.readFile(fileName),\n          readDirectory: (...args) => compilerHost.readDirectory(...args),\n          trace: compilerHost.trace,\n          getCurrentDirectory: compilerHost.getCurrentDirectory,\n          onUnRecoverableConfigFileDiagnostic: noop\n        };\n        const documentRegistryBucketKey = documentRegistry.getKeyForCompilationSettings(newSettings);\n        if (isProgramUptoDate(program, rootFileNames, newSettings, (_path, fileName) => host.getScriptVersion(fileName), (fileName) => compilerHost.fileExists(fileName), hasInvalidatedResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {\n          return;\n        }\n        const options = {\n          rootNames: rootFileNames,\n          options: newSettings,\n          host: compilerHost,\n          oldProgram: program,\n          projectReferences\n        };\n        program = createProgram(options);\n        compilerHost = void 0;\n        parsedCommandLines = void 0;\n        sourceMapper.clearCache();\n        program.getTypeChecker();\n        return;\n        function getParsedCommandLine(fileName) {\n          const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n          const existing = parsedCommandLines == null ? void 0 : parsedCommandLines.get(path);\n          if (existing !== void 0)\n            return existing || void 0;\n          const result = host.getParsedCommandLine ? host.getParsedCommandLine(fileName) : getParsedCommandLineOfConfigFileUsingSourceFile(fileName);\n          (parsedCommandLines || (parsedCommandLines = /* @__PURE__ */ new Map())).set(path, result || false);\n          return result;\n        }\n        function getParsedCommandLineOfConfigFileUsingSourceFile(configFileName) {\n          const result = getOrCreateSourceFile(\n            configFileName,\n            100\n            /* JSON */\n          );\n          if (!result)\n            return void 0;\n          result.path = toPath(configFileName, currentDirectory, getCanonicalFileName);\n          result.resolvedPath = result.path;\n          result.originalFileName = result.fileName;\n          return parseJsonSourceFileConfigFileContent(\n            result,\n            parseConfigHost,\n            getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory),\n            /*optionsToExtend*/\n            void 0,\n            getNormalizedAbsolutePath(configFileName, currentDirectory)\n          );\n        }\n        function onReleaseParsedCommandLine(configFileName, oldResolvedRef, oldOptions) {\n          var _a42;\n          if (host.getParsedCommandLine) {\n            (_a42 = host.onReleaseParsedCommandLine) == null ? void 0 : _a42.call(host, configFileName, oldResolvedRef, oldOptions);\n          } else if (oldResolvedRef) {\n            onReleaseOldSourceFile(oldResolvedRef.sourceFile, oldOptions);\n          }\n        }\n        function onReleaseOldSourceFile(oldSourceFile, oldOptions) {\n          const oldSettingsKey = documentRegistry.getKeyForCompilationSettings(oldOptions);\n          documentRegistry.releaseDocumentWithKey(oldSourceFile.resolvedPath, oldSettingsKey, oldSourceFile.scriptKind, oldSourceFile.impliedNodeFormat);\n        }\n        function getOrCreateSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) {\n          return getOrCreateSourceFileByPath(fileName, toPath(fileName, currentDirectory, getCanonicalFileName), languageVersionOrOptions, onError, shouldCreateNewSourceFile);\n        }\n        function getOrCreateSourceFileByPath(fileName, path, languageVersionOrOptions, _onError, shouldCreateNewSourceFile) {\n          Debug2.assert(compilerHost, \"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.\");\n          const scriptSnapshot = host.getScriptSnapshot(fileName);\n          if (!scriptSnapshot) {\n            return void 0;\n          }\n          const scriptKind = getScriptKind(fileName, host);\n          const scriptVersion = host.getScriptVersion(fileName);\n          if (!shouldCreateNewSourceFile) {\n            const oldSourceFile = program && program.getSourceFileByPath(path);\n            if (oldSourceFile) {\n              if (scriptKind === oldSourceFile.scriptKind) {\n                return documentRegistry.updateDocumentWithKey(fileName, path, host, documentRegistryBucketKey, scriptSnapshot, scriptVersion, scriptKind, languageVersionOrOptions);\n              } else {\n                documentRegistry.releaseDocumentWithKey(oldSourceFile.resolvedPath, documentRegistry.getKeyForCompilationSettings(program.getCompilerOptions()), oldSourceFile.scriptKind, oldSourceFile.impliedNodeFormat);\n              }\n            }\n          }\n          return documentRegistry.acquireDocumentWithKey(fileName, path, host, documentRegistryBucketKey, scriptSnapshot, scriptVersion, scriptKind, languageVersionOrOptions);\n        }\n      }\n      function getProgram() {\n        if (languageServiceMode === 2) {\n          Debug2.assert(program === void 0);\n          return void 0;\n        }\n        synchronizeHostData();\n        return program;\n      }\n      function getAutoImportProvider() {\n        var _a32;\n        return (_a32 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a32.call(host);\n      }\n      function updateIsDefinitionOfReferencedSymbols(referencedSymbols, knownSymbolSpans) {\n        const checker = program.getTypeChecker();\n        const symbol = getSymbolForProgram();\n        if (!symbol)\n          return false;\n        for (const referencedSymbol of referencedSymbols) {\n          for (const ref of referencedSymbol.references) {\n            const refNode = getNodeForSpan(ref);\n            Debug2.assertIsDefined(refNode);\n            if (knownSymbolSpans.has(ref) || ts_FindAllReferences_exports.isDeclarationOfSymbol(refNode, symbol)) {\n              knownSymbolSpans.add(ref);\n              ref.isDefinition = true;\n              const mappedSpan = getMappedDocumentSpan(ref, sourceMapper, maybeBind(host, host.fileExists));\n              if (mappedSpan) {\n                knownSymbolSpans.add(mappedSpan);\n              }\n            } else {\n              ref.isDefinition = false;\n            }\n          }\n        }\n        return true;\n        function getSymbolForProgram() {\n          for (const referencedSymbol of referencedSymbols) {\n            for (const ref of referencedSymbol.references) {\n              if (knownSymbolSpans.has(ref)) {\n                const refNode = getNodeForSpan(ref);\n                Debug2.assertIsDefined(refNode);\n                return checker.getSymbolAtLocation(refNode);\n              }\n              const mappedSpan = getMappedDocumentSpan(ref, sourceMapper, maybeBind(host, host.fileExists));\n              if (mappedSpan && knownSymbolSpans.has(mappedSpan)) {\n                const refNode = getNodeForSpan(mappedSpan);\n                if (refNode) {\n                  return checker.getSymbolAtLocation(refNode);\n                }\n              }\n            }\n          }\n          return void 0;\n        }\n        function getNodeForSpan(docSpan) {\n          const sourceFile = program.getSourceFile(docSpan.fileName);\n          if (!sourceFile)\n            return void 0;\n          const rawNode = getTouchingPropertyName(sourceFile, docSpan.textSpan.start);\n          const adjustedNode = ts_FindAllReferences_exports.Core.getAdjustedNode(rawNode, { use: ts_FindAllReferences_exports.FindReferencesUse.References });\n          return adjustedNode;\n        }\n      }\n      function cleanupSemanticCache() {\n        program = void 0;\n      }\n      function dispose2() {\n        if (program) {\n          const key = documentRegistry.getKeyForCompilationSettings(program.getCompilerOptions());\n          forEach(program.getSourceFiles(), (f) => documentRegistry.releaseDocumentWithKey(f.resolvedPath, key, f.scriptKind, f.impliedNodeFormat));\n          program = void 0;\n        }\n        host = void 0;\n      }\n      function getSyntacticDiagnostics(fileName) {\n        synchronizeHostData();\n        return program.getSyntacticDiagnostics(getValidSourceFile(fileName), cancellationToken).slice();\n      }\n      function getSemanticDiagnostics(fileName) {\n        synchronizeHostData();\n        const targetSourceFile = getValidSourceFile(fileName);\n        const semanticDiagnostics = program.getSemanticDiagnostics(targetSourceFile, cancellationToken);\n        if (!getEmitDeclarations(program.getCompilerOptions())) {\n          return semanticDiagnostics.slice();\n        }\n        const declarationDiagnostics = program.getDeclarationDiagnostics(targetSourceFile, cancellationToken);\n        return [...semanticDiagnostics, ...declarationDiagnostics];\n      }\n      function getSuggestionDiagnostics(fileName) {\n        synchronizeHostData();\n        return computeSuggestionDiagnostics(getValidSourceFile(fileName), program, cancellationToken);\n      }\n      function getCompilerOptionsDiagnostics() {\n        synchronizeHostData();\n        return [...program.getOptionsDiagnostics(cancellationToken), ...program.getGlobalDiagnostics(cancellationToken)];\n      }\n      function getCompletionsAtPosition2(fileName, position, options = emptyOptions, formattingSettings) {\n        const fullPreferences = {\n          ...identity2(options),\n          // avoid excess property check\n          includeCompletionsForModuleExports: options.includeCompletionsForModuleExports || options.includeExternalModuleExports,\n          includeCompletionsWithInsertText: options.includeCompletionsWithInsertText || options.includeInsertTextCompletions\n        };\n        synchronizeHostData();\n        return ts_Completions_exports.getCompletionsAtPosition(\n          host,\n          program,\n          log,\n          getValidSourceFile(fileName),\n          position,\n          fullPreferences,\n          options.triggerCharacter,\n          options.triggerKind,\n          cancellationToken,\n          formattingSettings && ts_formatting_exports.getFormatContext(formattingSettings, host),\n          options.includeSymbol\n        );\n      }\n      function getCompletionEntryDetails2(fileName, position, name, formattingOptions, source, preferences = emptyOptions, data) {\n        synchronizeHostData();\n        return ts_Completions_exports.getCompletionEntryDetails(\n          program,\n          log,\n          getValidSourceFile(fileName),\n          position,\n          { name, source, data },\n          host,\n          formattingOptions && ts_formatting_exports.getFormatContext(formattingOptions, host),\n          // TODO: GH#18217\n          preferences,\n          cancellationToken\n        );\n      }\n      function getCompletionEntrySymbol2(fileName, position, name, source, preferences = emptyOptions) {\n        synchronizeHostData();\n        return ts_Completions_exports.getCompletionEntrySymbol(program, log, getValidSourceFile(fileName), position, { name, source }, host, preferences);\n      }\n      function getQuickInfoAtPosition(fileName, position) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        const node = getTouchingPropertyName(sourceFile, position);\n        if (node === sourceFile) {\n          return void 0;\n        }\n        const typeChecker = program.getTypeChecker();\n        const nodeForQuickInfo = getNodeForQuickInfo(node);\n        const symbol = getSymbolAtLocationForQuickInfo(nodeForQuickInfo, typeChecker);\n        if (!symbol || typeChecker.isUnknownSymbol(symbol)) {\n          const type = shouldGetType(sourceFile, nodeForQuickInfo, position) ? typeChecker.getTypeAtLocation(nodeForQuickInfo) : void 0;\n          return type && {\n            kind: \"\",\n            kindModifiers: \"\",\n            textSpan: createTextSpanFromNode(nodeForQuickInfo, sourceFile),\n            displayParts: typeChecker.runWithCancellationToken(cancellationToken, (typeChecker2) => typeToDisplayParts(typeChecker2, type, getContainerNode(nodeForQuickInfo))),\n            documentation: type.symbol ? type.symbol.getDocumentationComment(typeChecker) : void 0,\n            tags: type.symbol ? type.symbol.getJsDocTags(typeChecker) : void 0\n          };\n        }\n        const { symbolKind, displayParts, documentation, tags } = typeChecker.runWithCancellationToken(\n          cancellationToken,\n          (typeChecker2) => ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker2, symbol, sourceFile, getContainerNode(nodeForQuickInfo), nodeForQuickInfo)\n        );\n        return {\n          kind: symbolKind,\n          kindModifiers: ts_SymbolDisplay_exports.getSymbolModifiers(typeChecker, symbol),\n          textSpan: createTextSpanFromNode(nodeForQuickInfo, sourceFile),\n          displayParts,\n          documentation,\n          tags\n        };\n      }\n      function getNodeForQuickInfo(node) {\n        if (isNewExpression(node.parent) && node.pos === node.parent.pos) {\n          return node.parent.expression;\n        }\n        if (isNamedTupleMember(node.parent) && node.pos === node.parent.pos) {\n          return node.parent;\n        }\n        if (isImportMeta(node.parent) && node.parent.name === node) {\n          return node.parent;\n        }\n        return node;\n      }\n      function shouldGetType(sourceFile, node, position) {\n        switch (node.kind) {\n          case 79:\n            return !isLabelName(node) && !isTagName(node) && !isConstTypeReference(node.parent);\n          case 208:\n          case 163:\n            return !isInComment(sourceFile, position);\n          case 108:\n          case 194:\n          case 106:\n          case 199:\n            return true;\n          case 233:\n            return isImportMeta(node);\n          default:\n            return false;\n        }\n      }\n      function getDefinitionAtPosition2(fileName, position, searchOtherFilesOnly, stopAtAlias) {\n        synchronizeHostData();\n        return ts_GoToDefinition_exports.getDefinitionAtPosition(program, getValidSourceFile(fileName), position, searchOtherFilesOnly, stopAtAlias);\n      }\n      function getDefinitionAndBoundSpan2(fileName, position) {\n        synchronizeHostData();\n        return ts_GoToDefinition_exports.getDefinitionAndBoundSpan(program, getValidSourceFile(fileName), position);\n      }\n      function getTypeDefinitionAtPosition2(fileName, position) {\n        synchronizeHostData();\n        return ts_GoToDefinition_exports.getTypeDefinitionAtPosition(program.getTypeChecker(), getValidSourceFile(fileName), position);\n      }\n      function getImplementationAtPosition(fileName, position) {\n        synchronizeHostData();\n        return ts_FindAllReferences_exports.getImplementationsAtPosition(program, cancellationToken, program.getSourceFiles(), getValidSourceFile(fileName), position);\n      }\n      function getOccurrencesAtPosition(fileName, position) {\n        return flatMap(\n          getDocumentHighlights(fileName, position, [fileName]),\n          (entry) => entry.highlightSpans.map((highlightSpan) => ({\n            fileName: entry.fileName,\n            textSpan: highlightSpan.textSpan,\n            isWriteAccess: highlightSpan.kind === \"writtenReference\",\n            ...highlightSpan.isInString && { isInString: true },\n            ...highlightSpan.contextSpan && { contextSpan: highlightSpan.contextSpan }\n          }))\n        );\n      }\n      function getDocumentHighlights(fileName, position, filesToSearch) {\n        const normalizedFileName = normalizePath(fileName);\n        Debug2.assert(filesToSearch.some((f) => normalizePath(f) === normalizedFileName));\n        synchronizeHostData();\n        const sourceFilesToSearch = mapDefined(filesToSearch, (fileName2) => program.getSourceFile(fileName2));\n        const sourceFile = getValidSourceFile(fileName);\n        return DocumentHighlights.getDocumentHighlights(program, cancellationToken, sourceFile, position, sourceFilesToSearch);\n      }\n      function findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        const node = getAdjustedRenameLocation(getTouchingPropertyName(sourceFile, position));\n        if (!ts_Rename_exports.nodeIsEligibleForRename(node))\n          return void 0;\n        if (isIdentifier(node) && (isJsxOpeningElement(node.parent) || isJsxClosingElement(node.parent)) && isIntrinsicJsxName(node.escapedText)) {\n          const { openingElement, closingElement } = node.parent.parent;\n          return [openingElement, closingElement].map((node2) => {\n            const textSpan = createTextSpanFromNode(node2.tagName, sourceFile);\n            return {\n              fileName: sourceFile.fileName,\n              textSpan,\n              ...ts_FindAllReferences_exports.toContextSpan(textSpan, sourceFile, node2.parent)\n            };\n          });\n        } else {\n          return getReferencesWorker(\n            node,\n            position,\n            { findInStrings, findInComments, providePrefixAndSuffixTextForRename, use: ts_FindAllReferences_exports.FindReferencesUse.Rename },\n            (entry, originalNode, checker) => ts_FindAllReferences_exports.toRenameLocation(entry, originalNode, checker, providePrefixAndSuffixTextForRename || false)\n          );\n        }\n      }\n      function getReferencesAtPosition(fileName, position) {\n        synchronizeHostData();\n        return getReferencesWorker(getTouchingPropertyName(getValidSourceFile(fileName), position), position, { use: ts_FindAllReferences_exports.FindReferencesUse.References }, ts_FindAllReferences_exports.toReferenceEntry);\n      }\n      function getReferencesWorker(node, position, options, cb) {\n        synchronizeHostData();\n        const sourceFiles = options && options.use === ts_FindAllReferences_exports.FindReferencesUse.Rename ? program.getSourceFiles().filter((sourceFile) => !program.isSourceFileDefaultLibrary(sourceFile)) : program.getSourceFiles();\n        return ts_FindAllReferences_exports.findReferenceOrRenameEntries(program, cancellationToken, sourceFiles, node, position, options, cb);\n      }\n      function findReferences(fileName, position) {\n        synchronizeHostData();\n        return ts_FindAllReferences_exports.findReferencedSymbols(program, cancellationToken, program.getSourceFiles(), getValidSourceFile(fileName), position);\n      }\n      function getFileReferences(fileName) {\n        synchronizeHostData();\n        return ts_FindAllReferences_exports.Core.getReferencesForFileName(fileName, program, program.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry);\n      }\n      function getNavigateToItems2(searchValue, maxResultCount, fileName, excludeDtsFiles = false) {\n        synchronizeHostData();\n        const sourceFiles = fileName ? [getValidSourceFile(fileName)] : program.getSourceFiles();\n        return getNavigateToItems(sourceFiles, program.getTypeChecker(), cancellationToken, searchValue, maxResultCount, excludeDtsFiles);\n      }\n      function getEmitOutput(fileName, emitOnlyDtsFiles, forceDtsEmit) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        const customTransformers = host.getCustomTransformers && host.getCustomTransformers();\n        return getFileEmitOutput(program, sourceFile, !!emitOnlyDtsFiles, cancellationToken, customTransformers, forceDtsEmit);\n      }\n      function getSignatureHelpItems2(fileName, position, { triggerReason } = emptyOptions) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        return ts_SignatureHelp_exports.getSignatureHelpItems(program, sourceFile, position, triggerReason, cancellationToken);\n      }\n      function getNonBoundSourceFile(fileName) {\n        return syntaxTreeCache.getCurrentSourceFile(fileName);\n      }\n      function getNameOrDottedNameSpan(fileName, startPos, _endPos) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const node = getTouchingPropertyName(sourceFile, startPos);\n        if (node === sourceFile) {\n          return void 0;\n        }\n        switch (node.kind) {\n          case 208:\n          case 163:\n          case 10:\n          case 95:\n          case 110:\n          case 104:\n          case 106:\n          case 108:\n          case 194:\n          case 79:\n            break;\n          default:\n            return void 0;\n        }\n        let nodeForStartPos = node;\n        while (true) {\n          if (isRightSideOfPropertyAccess(nodeForStartPos) || isRightSideOfQualifiedName(nodeForStartPos)) {\n            nodeForStartPos = nodeForStartPos.parent;\n          } else if (isNameOfModuleDeclaration(nodeForStartPos)) {\n            if (nodeForStartPos.parent.parent.kind === 264 && nodeForStartPos.parent.parent.body === nodeForStartPos.parent) {\n              nodeForStartPos = nodeForStartPos.parent.parent.name;\n            } else {\n              break;\n            }\n          } else {\n            break;\n          }\n        }\n        return createTextSpanFromBounds(nodeForStartPos.getStart(), node.getEnd());\n      }\n      function getBreakpointStatementAtPosition(fileName, position) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(sourceFile, position);\n      }\n      function getNavigationBarItems2(fileName) {\n        return getNavigationBarItems(syntaxTreeCache.getCurrentSourceFile(fileName), cancellationToken);\n      }\n      function getNavigationTree2(fileName) {\n        return getNavigationTree(syntaxTreeCache.getCurrentSourceFile(fileName), cancellationToken);\n      }\n      function getSemanticClassifications3(fileName, span, format) {\n        synchronizeHostData();\n        const responseFormat = format || \"original\";\n        if (responseFormat === \"2020\") {\n          return ts_classifier_exports.v2020.getSemanticClassifications(program, cancellationToken, getValidSourceFile(fileName), span);\n        } else {\n          return getSemanticClassifications(program.getTypeChecker(), cancellationToken, getValidSourceFile(fileName), program.getClassifiableNames(), span);\n        }\n      }\n      function getEncodedSemanticClassifications3(fileName, span, format) {\n        synchronizeHostData();\n        const responseFormat = format || \"original\";\n        if (responseFormat === \"original\") {\n          return getEncodedSemanticClassifications(program.getTypeChecker(), cancellationToken, getValidSourceFile(fileName), program.getClassifiableNames(), span);\n        } else {\n          return ts_classifier_exports.v2020.getEncodedSemanticClassifications(program, cancellationToken, getValidSourceFile(fileName), span);\n        }\n      }\n      function getSyntacticClassifications2(fileName, span) {\n        return getSyntacticClassifications(cancellationToken, syntaxTreeCache.getCurrentSourceFile(fileName), span);\n      }\n      function getEncodedSyntacticClassifications2(fileName, span) {\n        return getEncodedSyntacticClassifications(cancellationToken, syntaxTreeCache.getCurrentSourceFile(fileName), span);\n      }\n      function getOutliningSpans(fileName) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        return ts_OutliningElementsCollector_exports.collectElements(sourceFile, cancellationToken);\n      }\n      const braceMatching = new Map(Object.entries({\n        [\n          18\n          /* OpenBraceToken */\n        ]: 19,\n        [\n          20\n          /* OpenParenToken */\n        ]: 21,\n        [\n          22\n          /* OpenBracketToken */\n        ]: 23,\n        [\n          31\n          /* GreaterThanToken */\n        ]: 29\n        /* LessThanToken */\n      }));\n      braceMatching.forEach((value, key) => braceMatching.set(value.toString(), Number(key)));\n      function getBraceMatchingAtPosition(fileName, position) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const token = getTouchingToken(sourceFile, position);\n        const matchKind = token.getStart(sourceFile) === position ? braceMatching.get(token.kind.toString()) : void 0;\n        const match = matchKind && findChildOfKind(token.parent, matchKind, sourceFile);\n        return match ? [createTextSpanFromNode(token, sourceFile), createTextSpanFromNode(match, sourceFile)].sort((a, b) => a.start - b.start) : emptyArray;\n      }\n      function getIndentationAtPosition(fileName, position, editorOptions) {\n        let start = timestamp();\n        const settings = toEditorSettings(editorOptions);\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        log(\"getIndentationAtPosition: getCurrentSourceFile: \" + (timestamp() - start));\n        start = timestamp();\n        const result = ts_formatting_exports.SmartIndenter.getIndentation(position, sourceFile, settings);\n        log(\"getIndentationAtPosition: computeIndentation  : \" + (timestamp() - start));\n        return result;\n      }\n      function getFormattingEditsForRange(fileName, start, end, options) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        return ts_formatting_exports.formatSelection(start, end, sourceFile, ts_formatting_exports.getFormatContext(toEditorSettings(options), host));\n      }\n      function getFormattingEditsForDocument(fileName, options) {\n        return ts_formatting_exports.formatDocument(syntaxTreeCache.getCurrentSourceFile(fileName), ts_formatting_exports.getFormatContext(toEditorSettings(options), host));\n      }\n      function getFormattingEditsAfterKeystroke(fileName, position, key, options) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const formatContext = ts_formatting_exports.getFormatContext(toEditorSettings(options), host);\n        if (!isInComment(sourceFile, position)) {\n          switch (key) {\n            case \"{\":\n              return ts_formatting_exports.formatOnOpeningCurly(position, sourceFile, formatContext);\n            case \"}\":\n              return ts_formatting_exports.formatOnClosingCurly(position, sourceFile, formatContext);\n            case \";\":\n              return ts_formatting_exports.formatOnSemicolon(position, sourceFile, formatContext);\n            case \"\\n\":\n              return ts_formatting_exports.formatOnEnter(position, sourceFile, formatContext);\n          }\n        }\n        return [];\n      }\n      function getCodeFixesAtPosition(fileName, start, end, errorCodes63, formatOptions, preferences = emptyOptions) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        const span = createTextSpanFromBounds(start, end);\n        const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host);\n        return flatMap(deduplicate(errorCodes63, equateValues, compareValues), (errorCode) => {\n          cancellationToken.throwIfCancellationRequested();\n          return ts_codefix_exports.getFixes({ errorCode, sourceFile, span, program, host, cancellationToken, formatContext, preferences });\n        });\n      }\n      function getCombinedCodeFix(scope, fixId51, formatOptions, preferences = emptyOptions) {\n        synchronizeHostData();\n        Debug2.assert(scope.type === \"file\");\n        const sourceFile = getValidSourceFile(scope.fileName);\n        const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host);\n        return ts_codefix_exports.getAllFixes({ fixId: fixId51, sourceFile, program, host, cancellationToken, formatContext, preferences });\n      }\n      function organizeImports2(args, formatOptions, preferences = emptyOptions) {\n        var _a32;\n        synchronizeHostData();\n        Debug2.assert(args.type === \"file\");\n        const sourceFile = getValidSourceFile(args.fileName);\n        const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host);\n        const mode = (_a32 = args.mode) != null ? _a32 : args.skipDestructiveCodeActions ? \"SortAndCombine\" : \"All\";\n        return ts_OrganizeImports_exports.organizeImports(sourceFile, formatContext, host, program, preferences, mode);\n      }\n      function getEditsForFileRename2(oldFilePath, newFilePath, formatOptions, preferences = emptyOptions) {\n        return getEditsForFileRename(getProgram(), oldFilePath, newFilePath, host, ts_formatting_exports.getFormatContext(formatOptions, host), preferences, sourceMapper);\n      }\n      function applyCodeActionCommand(fileName, actionOrFormatSettingsOrUndefined) {\n        const action = typeof fileName === \"string\" ? actionOrFormatSettingsOrUndefined : fileName;\n        return isArray(action) ? Promise.all(action.map((a) => applySingleCodeActionCommand(a))) : applySingleCodeActionCommand(action);\n      }\n      function applySingleCodeActionCommand(action) {\n        const getPath = (path) => toPath(path, currentDirectory, getCanonicalFileName);\n        Debug2.assertEqual(action.type, \"install package\");\n        return host.installPackage ? host.installPackage({ fileName: getPath(action.file), packageName: action.packageName }) : Promise.reject(\"Host does not implement `installPackage`\");\n      }\n      function getDocCommentTemplateAtPosition2(fileName, position, options, formatOptions) {\n        const formatSettings = formatOptions ? ts_formatting_exports.getFormatContext(formatOptions, host).options : void 0;\n        return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(host, formatSettings), syntaxTreeCache.getCurrentSourceFile(fileName), position, options);\n      }\n      function isValidBraceCompletionAtPosition(fileName, position, openingBrace) {\n        if (openingBrace === 60) {\n          return false;\n        }\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        if (isInString(sourceFile, position)) {\n          return false;\n        }\n        if (isInsideJsxElementOrAttribute(sourceFile, position)) {\n          return openingBrace === 123;\n        }\n        if (isInTemplateString(sourceFile, position)) {\n          return false;\n        }\n        switch (openingBrace) {\n          case 39:\n          case 34:\n          case 96:\n            return !isInComment(sourceFile, position);\n        }\n        return true;\n      }\n      function getJsxClosingTagAtPosition(fileName, position) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const token = findPrecedingToken(position, sourceFile);\n        if (!token)\n          return void 0;\n        const element = token.kind === 31 && isJsxOpeningElement(token.parent) ? token.parent.parent : isJsxText(token) && isJsxElement(token.parent) ? token.parent : void 0;\n        if (element && isUnclosedTag(element)) {\n          return { newText: `</${element.openingElement.tagName.getText(sourceFile)}>` };\n        }\n        const fragment = token.kind === 31 && isJsxOpeningFragment(token.parent) ? token.parent.parent : isJsxText(token) && isJsxFragment(token.parent) ? token.parent : void 0;\n        if (fragment && isUnclosedFragment(fragment)) {\n          return { newText: \"</>\" };\n        }\n      }\n      function getLinesForRange(sourceFile, textRange) {\n        return {\n          lineStarts: sourceFile.getLineStarts(),\n          firstLine: sourceFile.getLineAndCharacterOfPosition(textRange.pos).line,\n          lastLine: sourceFile.getLineAndCharacterOfPosition(textRange.end).line\n        };\n      }\n      function toggleLineComment(fileName, textRange, insertComment) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const textChanges2 = [];\n        const { lineStarts, firstLine, lastLine } = getLinesForRange(sourceFile, textRange);\n        let isCommenting = insertComment || false;\n        let leftMostPosition = Number.MAX_VALUE;\n        const lineTextStarts = /* @__PURE__ */ new Map();\n        const firstNonWhitespaceCharacterRegex = new RegExp(/\\S/);\n        const isJsx = isInsideJsxElement(sourceFile, lineStarts[firstLine]);\n        const openComment = isJsx ? \"{/*\" : \"//\";\n        for (let i = firstLine; i <= lastLine; i++) {\n          const lineText = sourceFile.text.substring(lineStarts[i], sourceFile.getLineEndOfPosition(lineStarts[i]));\n          const regExec = firstNonWhitespaceCharacterRegex.exec(lineText);\n          if (regExec) {\n            leftMostPosition = Math.min(leftMostPosition, regExec.index);\n            lineTextStarts.set(i.toString(), regExec.index);\n            if (lineText.substr(regExec.index, openComment.length) !== openComment) {\n              isCommenting = insertComment === void 0 || insertComment;\n            }\n          }\n        }\n        for (let i = firstLine; i <= lastLine; i++) {\n          if (firstLine !== lastLine && lineStarts[i] === textRange.end) {\n            continue;\n          }\n          const lineTextStart = lineTextStarts.get(i.toString());\n          if (lineTextStart !== void 0) {\n            if (isJsx) {\n              textChanges2.push.apply(textChanges2, toggleMultilineComment(fileName, { pos: lineStarts[i] + leftMostPosition, end: sourceFile.getLineEndOfPosition(lineStarts[i]) }, isCommenting, isJsx));\n            } else if (isCommenting) {\n              textChanges2.push({\n                newText: openComment,\n                span: {\n                  length: 0,\n                  start: lineStarts[i] + leftMostPosition\n                }\n              });\n            } else if (sourceFile.text.substr(lineStarts[i] + lineTextStart, openComment.length) === openComment) {\n              textChanges2.push({\n                newText: \"\",\n                span: {\n                  length: openComment.length,\n                  start: lineStarts[i] + lineTextStart\n                }\n              });\n            }\n          }\n        }\n        return textChanges2;\n      }\n      function toggleMultilineComment(fileName, textRange, insertComment, isInsideJsx) {\n        var _a32;\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const textChanges2 = [];\n        const { text } = sourceFile;\n        let hasComment = false;\n        let isCommenting = insertComment || false;\n        const positions = [];\n        let { pos } = textRange;\n        const isJsx = isInsideJsx !== void 0 ? isInsideJsx : isInsideJsxElement(sourceFile, pos);\n        const openMultiline = isJsx ? \"{/*\" : \"/*\";\n        const closeMultiline = isJsx ? \"*/}\" : \"*/\";\n        const openMultilineRegex = isJsx ? \"\\\\{\\\\/\\\\*\" : \"\\\\/\\\\*\";\n        const closeMultilineRegex = isJsx ? \"\\\\*\\\\/\\\\}\" : \"\\\\*\\\\/\";\n        while (pos <= textRange.end) {\n          const offset = text.substr(pos, openMultiline.length) === openMultiline ? openMultiline.length : 0;\n          const commentRange = isInComment(sourceFile, pos + offset);\n          if (commentRange) {\n            if (isJsx) {\n              commentRange.pos--;\n              commentRange.end++;\n            }\n            positions.push(commentRange.pos);\n            if (commentRange.kind === 3) {\n              positions.push(commentRange.end);\n            }\n            hasComment = true;\n            pos = commentRange.end + 1;\n          } else {\n            const newPos = text.substring(pos, textRange.end).search(`(${openMultilineRegex})|(${closeMultilineRegex})`);\n            isCommenting = insertComment !== void 0 ? insertComment : isCommenting || !isTextWhiteSpaceLike(text, pos, newPos === -1 ? textRange.end : pos + newPos);\n            pos = newPos === -1 ? textRange.end + 1 : pos + newPos + closeMultiline.length;\n          }\n        }\n        if (isCommenting || !hasComment) {\n          if (((_a32 = isInComment(sourceFile, textRange.pos)) == null ? void 0 : _a32.kind) !== 2) {\n            insertSorted(positions, textRange.pos, compareValues);\n          }\n          insertSorted(positions, textRange.end, compareValues);\n          const firstPos = positions[0];\n          if (text.substr(firstPos, openMultiline.length) !== openMultiline) {\n            textChanges2.push({\n              newText: openMultiline,\n              span: {\n                length: 0,\n                start: firstPos\n              }\n            });\n          }\n          for (let i = 1; i < positions.length - 1; i++) {\n            if (text.substr(positions[i] - closeMultiline.length, closeMultiline.length) !== closeMultiline) {\n              textChanges2.push({\n                newText: closeMultiline,\n                span: {\n                  length: 0,\n                  start: positions[i]\n                }\n              });\n            }\n            if (text.substr(positions[i], openMultiline.length) !== openMultiline) {\n              textChanges2.push({\n                newText: openMultiline,\n                span: {\n                  length: 0,\n                  start: positions[i]\n                }\n              });\n            }\n          }\n          if (textChanges2.length % 2 !== 0) {\n            textChanges2.push({\n              newText: closeMultiline,\n              span: {\n                length: 0,\n                start: positions[positions.length - 1]\n              }\n            });\n          }\n        } else {\n          for (const pos2 of positions) {\n            const from = pos2 - closeMultiline.length > 0 ? pos2 - closeMultiline.length : 0;\n            const offset = text.substr(from, closeMultiline.length) === closeMultiline ? closeMultiline.length : 0;\n            textChanges2.push({\n              newText: \"\",\n              span: {\n                length: openMultiline.length,\n                start: pos2 - offset\n              }\n            });\n          }\n        }\n        return textChanges2;\n      }\n      function commentSelection(fileName, textRange) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const { firstLine, lastLine } = getLinesForRange(sourceFile, textRange);\n        return firstLine === lastLine && textRange.pos !== textRange.end ? toggleMultilineComment(\n          fileName,\n          textRange,\n          /*insertComment*/\n          true\n        ) : toggleLineComment(\n          fileName,\n          textRange,\n          /*insertComment*/\n          true\n        );\n      }\n      function uncommentSelection(fileName, textRange) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const textChanges2 = [];\n        const { pos } = textRange;\n        let { end } = textRange;\n        if (pos === end) {\n          end += isInsideJsxElement(sourceFile, pos) ? 2 : 1;\n        }\n        for (let i = pos; i <= end; i++) {\n          const commentRange = isInComment(sourceFile, i);\n          if (commentRange) {\n            switch (commentRange.kind) {\n              case 2:\n                textChanges2.push.apply(textChanges2, toggleLineComment(\n                  fileName,\n                  { end: commentRange.end, pos: commentRange.pos + 1 },\n                  /*insertComment*/\n                  false\n                ));\n                break;\n              case 3:\n                textChanges2.push.apply(textChanges2, toggleMultilineComment(\n                  fileName,\n                  { end: commentRange.end, pos: commentRange.pos + 1 },\n                  /*insertComment*/\n                  false\n                ));\n            }\n            i = commentRange.end + 1;\n          }\n        }\n        return textChanges2;\n      }\n      function isUnclosedTag({ openingElement, closingElement, parent: parent2 }) {\n        return !tagNamesAreEquivalent(openingElement.tagName, closingElement.tagName) || isJsxElement(parent2) && tagNamesAreEquivalent(openingElement.tagName, parent2.openingElement.tagName) && isUnclosedTag(parent2);\n      }\n      function isUnclosedFragment({ closingFragment, parent: parent2 }) {\n        return !!(closingFragment.flags & 131072) || isJsxFragment(parent2) && isUnclosedFragment(parent2);\n      }\n      function getSpanOfEnclosingComment(fileName, position, onlyMultiLine) {\n        const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n        const range = ts_formatting_exports.getRangeOfEnclosingComment(sourceFile, position);\n        return range && (!onlyMultiLine || range.kind === 3) ? createTextSpanFromRange(range) : void 0;\n      }\n      function getTodoComments(fileName, descriptors) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        cancellationToken.throwIfCancellationRequested();\n        const fileContents = sourceFile.text;\n        const result = [];\n        if (descriptors.length > 0 && !isNodeModulesFile(sourceFile.fileName)) {\n          const regExp = getTodoCommentsRegExp();\n          let matchArray;\n          while (matchArray = regExp.exec(fileContents)) {\n            cancellationToken.throwIfCancellationRequested();\n            const firstDescriptorCaptureIndex = 3;\n            Debug2.assert(matchArray.length === descriptors.length + firstDescriptorCaptureIndex);\n            const preamble = matchArray[1];\n            const matchPosition = matchArray.index + preamble.length;\n            if (!isInComment(sourceFile, matchPosition)) {\n              continue;\n            }\n            let descriptor;\n            for (let i = 0; i < descriptors.length; i++) {\n              if (matchArray[i + firstDescriptorCaptureIndex]) {\n                descriptor = descriptors[i];\n              }\n            }\n            if (descriptor === void 0)\n              return Debug2.fail();\n            if (isLetterOrDigit(fileContents.charCodeAt(matchPosition + descriptor.text.length))) {\n              continue;\n            }\n            const message = matchArray[2];\n            result.push({ descriptor, message, position: matchPosition });\n          }\n        }\n        return result;\n        function escapeRegExp(str) {\n          return str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, \"\\\\$&\");\n        }\n        function getTodoCommentsRegExp() {\n          const singleLineCommentStart = /(?:\\/\\/+\\s*)/.source;\n          const multiLineCommentStart = /(?:\\/\\*+\\s*)/.source;\n          const anyNumberOfSpacesAndAsterisksAtStartOfLine = /(?:^(?:\\s|\\*)*)/.source;\n          const preamble = \"(\" + anyNumberOfSpacesAndAsterisksAtStartOfLine + \"|\" + singleLineCommentStart + \"|\" + multiLineCommentStart + \")\";\n          const literals = \"(?:\" + map(descriptors, (d) => \"(\" + escapeRegExp(d.text) + \")\").join(\"|\") + \")\";\n          const endOfLineOrEndOfComment = /(?:$|\\*\\/)/.source;\n          const messageRemainder = /(?:.*?)/.source;\n          const messagePortion = \"(\" + literals + messageRemainder + \")\";\n          const regExpString = preamble + messagePortion + endOfLineOrEndOfComment;\n          return new RegExp(regExpString, \"gim\");\n        }\n        function isLetterOrDigit(char) {\n          return char >= 97 && char <= 122 || char >= 65 && char <= 90 || char >= 48 && char <= 57;\n        }\n        function isNodeModulesFile(path) {\n          return stringContains(path, \"/node_modules/\");\n        }\n      }\n      function getRenameInfo2(fileName, position, preferences) {\n        synchronizeHostData();\n        return ts_Rename_exports.getRenameInfo(program, getValidSourceFile(fileName), position, preferences || {});\n      }\n      function getRefactorContext(file, positionOrRange, preferences, formatOptions, triggerReason, kind) {\n        const [startPosition, endPosition] = typeof positionOrRange === \"number\" ? [positionOrRange, void 0] : [positionOrRange.pos, positionOrRange.end];\n        return {\n          file,\n          startPosition,\n          endPosition,\n          program: getProgram(),\n          host,\n          formatContext: ts_formatting_exports.getFormatContext(formatOptions, host),\n          // TODO: GH#18217\n          cancellationToken,\n          preferences,\n          triggerReason,\n          kind\n        };\n      }\n      function getInlayHintsContext(file, span, preferences) {\n        return {\n          file,\n          program: getProgram(),\n          host,\n          span,\n          preferences,\n          cancellationToken\n        };\n      }\n      function getSmartSelectionRange2(fileName, position) {\n        return ts_SmartSelectionRange_exports.getSmartSelectionRange(position, syntaxTreeCache.getCurrentSourceFile(fileName));\n      }\n      function getApplicableRefactors2(fileName, positionOrRange, preferences = emptyOptions, triggerReason, kind) {\n        synchronizeHostData();\n        const file = getValidSourceFile(fileName);\n        return ts_refactor_exports.getApplicableRefactors(getRefactorContext(file, positionOrRange, preferences, emptyOptions, triggerReason, kind));\n      }\n      function getEditsForRefactor2(fileName, formatOptions, positionOrRange, refactorName13, actionName2, preferences = emptyOptions) {\n        synchronizeHostData();\n        const file = getValidSourceFile(fileName);\n        return ts_refactor_exports.getEditsForRefactor(getRefactorContext(file, positionOrRange, preferences, formatOptions), refactorName13, actionName2);\n      }\n      function toLineColumnOffset(fileName, position) {\n        if (position === 0) {\n          return { line: 0, character: 0 };\n        }\n        return sourceMapper.toLineColumnOffset(fileName, position);\n      }\n      function prepareCallHierarchy(fileName, position) {\n        synchronizeHostData();\n        const declarations = ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(program, getTouchingPropertyName(getValidSourceFile(fileName), position));\n        return declarations && mapOneOrMany(declarations, (declaration) => ts_CallHierarchy_exports.createCallHierarchyItem(program, declaration));\n      }\n      function provideCallHierarchyIncomingCalls(fileName, position) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        const declaration = firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(program, position === 0 ? sourceFile : getTouchingPropertyName(sourceFile, position)));\n        return declaration ? ts_CallHierarchy_exports.getIncomingCalls(program, declaration, cancellationToken) : [];\n      }\n      function provideCallHierarchyOutgoingCalls(fileName, position) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        const declaration = firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(program, position === 0 ? sourceFile : getTouchingPropertyName(sourceFile, position)));\n        return declaration ? ts_CallHierarchy_exports.getOutgoingCalls(program, declaration) : [];\n      }\n      function provideInlayHints2(fileName, span, preferences = emptyOptions) {\n        synchronizeHostData();\n        const sourceFile = getValidSourceFile(fileName);\n        return ts_InlayHints_exports.provideInlayHints(getInlayHintsContext(sourceFile, span, preferences));\n      }\n      const ls = {\n        dispose: dispose2,\n        cleanupSemanticCache,\n        getSyntacticDiagnostics,\n        getSemanticDiagnostics,\n        getSuggestionDiagnostics,\n        getCompilerOptionsDiagnostics,\n        getSyntacticClassifications: getSyntacticClassifications2,\n        getSemanticClassifications: getSemanticClassifications3,\n        getEncodedSyntacticClassifications: getEncodedSyntacticClassifications2,\n        getEncodedSemanticClassifications: getEncodedSemanticClassifications3,\n        getCompletionsAtPosition: getCompletionsAtPosition2,\n        getCompletionEntryDetails: getCompletionEntryDetails2,\n        getCompletionEntrySymbol: getCompletionEntrySymbol2,\n        getSignatureHelpItems: getSignatureHelpItems2,\n        getQuickInfoAtPosition,\n        getDefinitionAtPosition: getDefinitionAtPosition2,\n        getDefinitionAndBoundSpan: getDefinitionAndBoundSpan2,\n        getImplementationAtPosition,\n        getTypeDefinitionAtPosition: getTypeDefinitionAtPosition2,\n        getReferencesAtPosition,\n        findReferences,\n        getFileReferences,\n        getOccurrencesAtPosition,\n        getDocumentHighlights,\n        getNameOrDottedNameSpan,\n        getBreakpointStatementAtPosition,\n        getNavigateToItems: getNavigateToItems2,\n        getRenameInfo: getRenameInfo2,\n        getSmartSelectionRange: getSmartSelectionRange2,\n        findRenameLocations,\n        getNavigationBarItems: getNavigationBarItems2,\n        getNavigationTree: getNavigationTree2,\n        getOutliningSpans,\n        getTodoComments,\n        getBraceMatchingAtPosition,\n        getIndentationAtPosition,\n        getFormattingEditsForRange,\n        getFormattingEditsForDocument,\n        getFormattingEditsAfterKeystroke,\n        getDocCommentTemplateAtPosition: getDocCommentTemplateAtPosition2,\n        isValidBraceCompletionAtPosition,\n        getJsxClosingTagAtPosition,\n        getSpanOfEnclosingComment,\n        getCodeFixesAtPosition,\n        getCombinedCodeFix,\n        applyCodeActionCommand,\n        organizeImports: organizeImports2,\n        getEditsForFileRename: getEditsForFileRename2,\n        getEmitOutput,\n        getNonBoundSourceFile,\n        getProgram,\n        getCurrentProgram: () => program,\n        getAutoImportProvider,\n        updateIsDefinitionOfReferencedSymbols,\n        getApplicableRefactors: getApplicableRefactors2,\n        getEditsForRefactor: getEditsForRefactor2,\n        toLineColumnOffset,\n        getSourceMapper: () => sourceMapper,\n        clearSourceMapperCache: () => sourceMapper.clearCache(),\n        prepareCallHierarchy,\n        provideCallHierarchyIncomingCalls,\n        provideCallHierarchyOutgoingCalls,\n        toggleLineComment,\n        toggleMultilineComment,\n        commentSelection,\n        uncommentSelection,\n        provideInlayHints: provideInlayHints2,\n        getSupportedCodeFixes\n      };\n      switch (languageServiceMode) {\n        case 0:\n          break;\n        case 1:\n          invalidOperationsInPartialSemanticMode.forEach(\n            (key) => ls[key] = () => {\n              throw new Error(`LanguageService Operation: ${key} not allowed in LanguageServiceMode.PartialSemantic`);\n            }\n          );\n          break;\n        case 2:\n          invalidOperationsInSyntacticMode.forEach(\n            (key) => ls[key] = () => {\n              throw new Error(`LanguageService Operation: ${key} not allowed in LanguageServiceMode.Syntactic`);\n            }\n          );\n          break;\n        default:\n          Debug2.assertNever(languageServiceMode);\n      }\n      return ls;\n    }\n    function getNameTable(sourceFile) {\n      if (!sourceFile.nameTable) {\n        initializeNameTable(sourceFile);\n      }\n      return sourceFile.nameTable;\n    }\n    function initializeNameTable(sourceFile) {\n      const nameTable = sourceFile.nameTable = /* @__PURE__ */ new Map();\n      sourceFile.forEachChild(function walk(node) {\n        if (isIdentifier(node) && !isTagName(node) && node.escapedText || isStringOrNumericLiteralLike(node) && literalIsName(node)) {\n          const text = getEscapedTextOfIdentifierOrLiteral(node);\n          nameTable.set(text, nameTable.get(text) === void 0 ? node.pos : -1);\n        } else if (isPrivateIdentifier(node)) {\n          const text = node.escapedText;\n          nameTable.set(text, nameTable.get(text) === void 0 ? node.pos : -1);\n        }\n        forEachChild(node, walk);\n        if (hasJSDocNodes(node)) {\n          for (const jsDoc of node.jsDoc) {\n            forEachChild(jsDoc, walk);\n          }\n        }\n      });\n    }\n    function literalIsName(node) {\n      return isDeclarationName(node) || node.parent.kind === 280 || isArgumentOfElementAccessExpression(node) || isLiteralComputedPropertyDeclarationName(node);\n    }\n    function getContainingObjectLiteralElement(node) {\n      const element = getContainingObjectLiteralElementWorker(node);\n      return element && (isObjectLiteralExpression(element.parent) || isJsxAttributes(element.parent)) ? element : void 0;\n    }\n    function getContainingObjectLiteralElementWorker(node) {\n      switch (node.kind) {\n        case 10:\n        case 14:\n        case 8:\n          if (node.parent.kind === 164) {\n            return isObjectLiteralElement(node.parent.parent) ? node.parent.parent : void 0;\n          }\n        case 79:\n          return isObjectLiteralElement(node.parent) && (node.parent.parent.kind === 207 || node.parent.parent.kind === 289) && node.parent.name === node ? node.parent : void 0;\n      }\n      return void 0;\n    }\n    function getSymbolAtLocationForQuickInfo(node, checker) {\n      const object = getContainingObjectLiteralElement(node);\n      if (object) {\n        const contextualType = checker.getContextualType(object.parent);\n        const properties = contextualType && getPropertySymbolsFromContextualType(\n          object,\n          checker,\n          contextualType,\n          /*unionSymbolOk*/\n          false\n        );\n        if (properties && properties.length === 1) {\n          return first(properties);\n        }\n      }\n      return checker.getSymbolAtLocation(node);\n    }\n    function getPropertySymbolsFromContextualType(node, checker, contextualType, unionSymbolOk) {\n      const name = getNameFromPropertyName(node.name);\n      if (!name)\n        return emptyArray;\n      if (!contextualType.isUnion()) {\n        const symbol = contextualType.getProperty(name);\n        return symbol ? [symbol] : emptyArray;\n      }\n      const discriminatedPropertySymbols = mapDefined(contextualType.types, (t) => (isObjectLiteralExpression(node.parent) || isJsxAttributes(node.parent)) && checker.isTypeInvalidDueToUnionDiscriminant(t, node.parent) ? void 0 : t.getProperty(name));\n      if (unionSymbolOk && (discriminatedPropertySymbols.length === 0 || discriminatedPropertySymbols.length === contextualType.types.length)) {\n        const symbol = contextualType.getProperty(name);\n        if (symbol)\n          return [symbol];\n      }\n      if (discriminatedPropertySymbols.length === 0) {\n        return mapDefined(contextualType.types, (t) => t.getProperty(name));\n      }\n      return discriminatedPropertySymbols;\n    }\n    function isArgumentOfElementAccessExpression(node) {\n      return node && node.parent && node.parent.kind === 209 && node.parent.argumentExpression === node;\n    }\n    function getDefaultLibFilePath(options) {\n      if (sys) {\n        return combinePaths(getDirectoryPath(normalizePath(sys.getExecutingFilePath())), getDefaultLibFileName(options));\n      }\n      throw new Error(\"getDefaultLibFilePath is only supported when consumed as a node module. \");\n    }\n    var servicesVersion, NodeObject, TokenOrIdentifierObject, SymbolObject, TokenObject, IdentifierObject, PrivateIdentifierObject, TypeObject, SignatureObject, SourceFileObject, SourceMapSourceObject, SyntaxTreeCache, NoopCancellationToken, CancellationTokenObject, ThrottledCancellationToken, invalidOperationsInPartialSemanticMode, invalidOperationsInSyntacticMode;\n    var init_services = __esm({\n      \"src/services/services.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts4();\n        init_ts_NavigateTo();\n        init_ts_NavigationBar();\n        servicesVersion = \"0.8\";\n        NodeObject = class {\n          constructor(kind, pos, end) {\n            this.pos = pos;\n            this.end = end;\n            this.flags = 0;\n            this.modifierFlagsCache = 0;\n            this.transformFlags = 0;\n            this.parent = void 0;\n            this.kind = kind;\n          }\n          assertHasRealPosition(message) {\n            Debug2.assert(!positionIsSynthesized(this.pos) && !positionIsSynthesized(this.end), message || \"Node must have a real position for this operation\");\n          }\n          getSourceFile() {\n            return getSourceFileOfNode(this);\n          }\n          getStart(sourceFile, includeJsDocComment) {\n            this.assertHasRealPosition();\n            return getTokenPosOfNode(this, sourceFile, includeJsDocComment);\n          }\n          getFullStart() {\n            this.assertHasRealPosition();\n            return this.pos;\n          }\n          getEnd() {\n            this.assertHasRealPosition();\n            return this.end;\n          }\n          getWidth(sourceFile) {\n            this.assertHasRealPosition();\n            return this.getEnd() - this.getStart(sourceFile);\n          }\n          getFullWidth() {\n            this.assertHasRealPosition();\n            return this.end - this.pos;\n          }\n          getLeadingTriviaWidth(sourceFile) {\n            this.assertHasRealPosition();\n            return this.getStart(sourceFile) - this.pos;\n          }\n          getFullText(sourceFile) {\n            this.assertHasRealPosition();\n            return (sourceFile || this.getSourceFile()).text.substring(this.pos, this.end);\n          }\n          getText(sourceFile) {\n            this.assertHasRealPosition();\n            if (!sourceFile) {\n              sourceFile = this.getSourceFile();\n            }\n            return sourceFile.text.substring(this.getStart(sourceFile), this.getEnd());\n          }\n          getChildCount(sourceFile) {\n            return this.getChildren(sourceFile).length;\n          }\n          getChildAt(index, sourceFile) {\n            return this.getChildren(sourceFile)[index];\n          }\n          getChildren(sourceFile) {\n            this.assertHasRealPosition(\"Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine\");\n            return this._children || (this._children = createChildren(this, sourceFile));\n          }\n          getFirstToken(sourceFile) {\n            this.assertHasRealPosition();\n            const children = this.getChildren(sourceFile);\n            if (!children.length) {\n              return void 0;\n            }\n            const child = find(\n              children,\n              (kid) => kid.kind < 312 || kid.kind > 353\n              /* LastJSDocNode */\n            );\n            return child.kind < 163 ? child : child.getFirstToken(sourceFile);\n          }\n          getLastToken(sourceFile) {\n            this.assertHasRealPosition();\n            const children = this.getChildren(sourceFile);\n            const child = lastOrUndefined(children);\n            if (!child) {\n              return void 0;\n            }\n            return child.kind < 163 ? child : child.getLastToken(sourceFile);\n          }\n          forEachChild(cbNode, cbNodeArray) {\n            return forEachChild(this, cbNode, cbNodeArray);\n          }\n        };\n        TokenOrIdentifierObject = class {\n          constructor(pos, end) {\n            this.pos = pos;\n            this.end = end;\n            this.flags = 0;\n            this.modifierFlagsCache = 0;\n            this.transformFlags = 0;\n            this.parent = void 0;\n          }\n          getSourceFile() {\n            return getSourceFileOfNode(this);\n          }\n          getStart(sourceFile, includeJsDocComment) {\n            return getTokenPosOfNode(this, sourceFile, includeJsDocComment);\n          }\n          getFullStart() {\n            return this.pos;\n          }\n          getEnd() {\n            return this.end;\n          }\n          getWidth(sourceFile) {\n            return this.getEnd() - this.getStart(sourceFile);\n          }\n          getFullWidth() {\n            return this.end - this.pos;\n          }\n          getLeadingTriviaWidth(sourceFile) {\n            return this.getStart(sourceFile) - this.pos;\n          }\n          getFullText(sourceFile) {\n            return (sourceFile || this.getSourceFile()).text.substring(this.pos, this.end);\n          }\n          getText(sourceFile) {\n            if (!sourceFile) {\n              sourceFile = this.getSourceFile();\n            }\n            return sourceFile.text.substring(this.getStart(sourceFile), this.getEnd());\n          }\n          getChildCount() {\n            return this.getChildren().length;\n          }\n          getChildAt(index) {\n            return this.getChildren()[index];\n          }\n          getChildren() {\n            return this.kind === 1 ? this.jsDoc || emptyArray : emptyArray;\n          }\n          getFirstToken() {\n            return void 0;\n          }\n          getLastToken() {\n            return void 0;\n          }\n          forEachChild() {\n            return void 0;\n          }\n        };\n        SymbolObject = class {\n          constructor(flags, name) {\n            this.id = 0;\n            this.mergeId = 0;\n            this.flags = flags;\n            this.escapedName = name;\n          }\n          getFlags() {\n            return this.flags;\n          }\n          get name() {\n            return symbolName(this);\n          }\n          getEscapedName() {\n            return this.escapedName;\n          }\n          getName() {\n            return this.name;\n          }\n          getDeclarations() {\n            return this.declarations;\n          }\n          getDocumentationComment(checker) {\n            if (!this.documentationComment) {\n              this.documentationComment = emptyArray;\n              if (!this.declarations && isTransientSymbol(this) && this.links.target && isTransientSymbol(this.links.target) && this.links.target.links.tupleLabelDeclaration) {\n                const labelDecl = this.links.target.links.tupleLabelDeclaration;\n                this.documentationComment = getDocumentationComment([labelDecl], checker);\n              } else {\n                this.documentationComment = getDocumentationComment(this.declarations, checker);\n              }\n            }\n            return this.documentationComment;\n          }\n          getContextualDocumentationComment(context, checker) {\n            if (context) {\n              if (isGetAccessor(context)) {\n                if (!this.contextualGetAccessorDocumentationComment) {\n                  this.contextualGetAccessorDocumentationComment = getDocumentationComment(filter(this.declarations, isGetAccessor), checker);\n                }\n                if (length(this.contextualGetAccessorDocumentationComment)) {\n                  return this.contextualGetAccessorDocumentationComment;\n                }\n              }\n              if (isSetAccessor(context)) {\n                if (!this.contextualSetAccessorDocumentationComment) {\n                  this.contextualSetAccessorDocumentationComment = getDocumentationComment(filter(this.declarations, isSetAccessor), checker);\n                }\n                if (length(this.contextualSetAccessorDocumentationComment)) {\n                  return this.contextualSetAccessorDocumentationComment;\n                }\n              }\n            }\n            return this.getDocumentationComment(checker);\n          }\n          getJsDocTags(checker) {\n            if (this.tags === void 0) {\n              this.tags = getJsDocTagsOfDeclarations(this.declarations, checker);\n            }\n            return this.tags;\n          }\n          getContextualJsDocTags(context, checker) {\n            if (context) {\n              if (isGetAccessor(context)) {\n                if (!this.contextualGetAccessorTags) {\n                  this.contextualGetAccessorTags = getJsDocTagsOfDeclarations(filter(this.declarations, isGetAccessor), checker);\n                }\n                if (length(this.contextualGetAccessorTags)) {\n                  return this.contextualGetAccessorTags;\n                }\n              }\n              if (isSetAccessor(context)) {\n                if (!this.contextualSetAccessorTags) {\n                  this.contextualSetAccessorTags = getJsDocTagsOfDeclarations(filter(this.declarations, isSetAccessor), checker);\n                }\n                if (length(this.contextualSetAccessorTags)) {\n                  return this.contextualSetAccessorTags;\n                }\n              }\n            }\n            return this.getJsDocTags(checker);\n          }\n        };\n        TokenObject = class extends TokenOrIdentifierObject {\n          constructor(kind, pos, end) {\n            super(pos, end);\n            this.kind = kind;\n          }\n        };\n        IdentifierObject = class extends TokenOrIdentifierObject {\n          constructor(_kind, pos, end) {\n            super(pos, end);\n            this.kind = 79;\n          }\n          get text() {\n            return idText(this);\n          }\n        };\n        IdentifierObject.prototype.kind = 79;\n        PrivateIdentifierObject = class extends TokenOrIdentifierObject {\n          constructor(_kind, pos, end) {\n            super(pos, end);\n            this.kind = 80;\n          }\n          get text() {\n            return idText(this);\n          }\n        };\n        PrivateIdentifierObject.prototype.kind = 80;\n        TypeObject = class {\n          constructor(checker, flags) {\n            this.checker = checker;\n            this.flags = flags;\n          }\n          getFlags() {\n            return this.flags;\n          }\n          getSymbol() {\n            return this.symbol;\n          }\n          getProperties() {\n            return this.checker.getPropertiesOfType(this);\n          }\n          getProperty(propertyName) {\n            return this.checker.getPropertyOfType(this, propertyName);\n          }\n          getApparentProperties() {\n            return this.checker.getAugmentedPropertiesOfType(this);\n          }\n          getCallSignatures() {\n            return this.checker.getSignaturesOfType(\n              this,\n              0\n              /* Call */\n            );\n          }\n          getConstructSignatures() {\n            return this.checker.getSignaturesOfType(\n              this,\n              1\n              /* Construct */\n            );\n          }\n          getStringIndexType() {\n            return this.checker.getIndexTypeOfType(\n              this,\n              0\n              /* String */\n            );\n          }\n          getNumberIndexType() {\n            return this.checker.getIndexTypeOfType(\n              this,\n              1\n              /* Number */\n            );\n          }\n          getBaseTypes() {\n            return this.isClassOrInterface() ? this.checker.getBaseTypes(this) : void 0;\n          }\n          isNullableType() {\n            return this.checker.isNullableType(this);\n          }\n          getNonNullableType() {\n            return this.checker.getNonNullableType(this);\n          }\n          getNonOptionalType() {\n            return this.checker.getNonOptionalType(this);\n          }\n          getConstraint() {\n            return this.checker.getBaseConstraintOfType(this);\n          }\n          getDefault() {\n            return this.checker.getDefaultFromTypeParameter(this);\n          }\n          isUnion() {\n            return !!(this.flags & 1048576);\n          }\n          isIntersection() {\n            return !!(this.flags & 2097152);\n          }\n          isUnionOrIntersection() {\n            return !!(this.flags & 3145728);\n          }\n          isLiteral() {\n            return !!(this.flags & (128 | 256 | 2048));\n          }\n          isStringLiteral() {\n            return !!(this.flags & 128);\n          }\n          isNumberLiteral() {\n            return !!(this.flags & 256);\n          }\n          isTypeParameter() {\n            return !!(this.flags & 262144);\n          }\n          isClassOrInterface() {\n            return !!(getObjectFlags(this) & 3);\n          }\n          isClass() {\n            return !!(getObjectFlags(this) & 1);\n          }\n          isIndexType() {\n            return !!(this.flags & 4194304);\n          }\n          /**\n           * This polyfills `referenceType.typeArguments` for API consumers\n           */\n          get typeArguments() {\n            if (getObjectFlags(this) & 4) {\n              return this.checker.getTypeArguments(this);\n            }\n            return void 0;\n          }\n        };\n        SignatureObject = class {\n          // same\n          constructor(checker, flags) {\n            this.checker = checker;\n            this.flags = flags;\n          }\n          getDeclaration() {\n            return this.declaration;\n          }\n          getTypeParameters() {\n            return this.typeParameters;\n          }\n          getParameters() {\n            return this.parameters;\n          }\n          getReturnType() {\n            return this.checker.getReturnTypeOfSignature(this);\n          }\n          getTypeParameterAtPosition(pos) {\n            const type = this.checker.getParameterType(this, pos);\n            if (type.isIndexType() && isThisTypeParameter(type.type)) {\n              const constraint = type.type.getConstraint();\n              if (constraint) {\n                return this.checker.getIndexType(constraint);\n              }\n            }\n            return type;\n          }\n          getDocumentationComment() {\n            return this.documentationComment || (this.documentationComment = getDocumentationComment(singleElementArray(this.declaration), this.checker));\n          }\n          getJsDocTags() {\n            return this.jsDocTags || (this.jsDocTags = getJsDocTagsOfDeclarations(singleElementArray(this.declaration), this.checker));\n          }\n        };\n        SourceFileObject = class extends NodeObject {\n          constructor(kind, pos, end) {\n            super(kind, pos, end);\n            this.kind = 308;\n          }\n          update(newText, textChangeRange) {\n            return updateSourceFile(this, newText, textChangeRange);\n          }\n          getLineAndCharacterOfPosition(position) {\n            return getLineAndCharacterOfPosition(this, position);\n          }\n          getLineStarts() {\n            return getLineStarts(this);\n          }\n          getPositionOfLineAndCharacter(line, character, allowEdits) {\n            return computePositionOfLineAndCharacter(getLineStarts(this), line, character, this.text, allowEdits);\n          }\n          getLineEndOfPosition(pos) {\n            const { line } = this.getLineAndCharacterOfPosition(pos);\n            const lineStarts = this.getLineStarts();\n            let lastCharPos;\n            if (line + 1 >= lineStarts.length) {\n              lastCharPos = this.getEnd();\n            }\n            if (!lastCharPos) {\n              lastCharPos = lineStarts[line + 1] - 1;\n            }\n            const fullText = this.getFullText();\n            return fullText[lastCharPos] === \"\\n\" && fullText[lastCharPos - 1] === \"\\r\" ? lastCharPos - 1 : lastCharPos;\n          }\n          getNamedDeclarations() {\n            if (!this.namedDeclarations) {\n              this.namedDeclarations = this.computeNamedDeclarations();\n            }\n            return this.namedDeclarations;\n          }\n          computeNamedDeclarations() {\n            const result = createMultiMap();\n            this.forEachChild(visit);\n            return result;\n            function addDeclaration(declaration) {\n              const name = getDeclarationName(declaration);\n              if (name) {\n                result.add(name, declaration);\n              }\n            }\n            function getDeclarations(name) {\n              let declarations = result.get(name);\n              if (!declarations) {\n                result.set(name, declarations = []);\n              }\n              return declarations;\n            }\n            function getDeclarationName(declaration) {\n              const name = getNonAssignedNameOfDeclaration(declaration);\n              return name && (isComputedPropertyName(name) && isPropertyAccessExpression(name.expression) ? name.expression.name.text : isPropertyName(name) ? getNameFromPropertyName(name) : void 0);\n            }\n            function visit(node) {\n              switch (node.kind) {\n                case 259:\n                case 215:\n                case 171:\n                case 170:\n                  const functionDeclaration = node;\n                  const declarationName = getDeclarationName(functionDeclaration);\n                  if (declarationName) {\n                    const declarations = getDeclarations(declarationName);\n                    const lastDeclaration = lastOrUndefined(declarations);\n                    if (lastDeclaration && functionDeclaration.parent === lastDeclaration.parent && functionDeclaration.symbol === lastDeclaration.symbol) {\n                      if (functionDeclaration.body && !lastDeclaration.body) {\n                        declarations[declarations.length - 1] = functionDeclaration;\n                      }\n                    } else {\n                      declarations.push(functionDeclaration);\n                    }\n                  }\n                  forEachChild(node, visit);\n                  break;\n                case 260:\n                case 228:\n                case 261:\n                case 262:\n                case 263:\n                case 264:\n                case 268:\n                case 278:\n                case 273:\n                case 270:\n                case 271:\n                case 174:\n                case 175:\n                case 184:\n                  addDeclaration(node);\n                  forEachChild(node, visit);\n                  break;\n                case 166:\n                  if (!hasSyntacticModifier(\n                    node,\n                    16476\n                    /* ParameterPropertyModifier */\n                  )) {\n                    break;\n                  }\n                case 257:\n                case 205: {\n                  const decl = node;\n                  if (isBindingPattern(decl.name)) {\n                    forEachChild(decl.name, visit);\n                    break;\n                  }\n                  if (decl.initializer) {\n                    visit(decl.initializer);\n                  }\n                }\n                case 302:\n                case 169:\n                case 168:\n                  addDeclaration(node);\n                  break;\n                case 275:\n                  const exportDeclaration = node;\n                  if (exportDeclaration.exportClause) {\n                    if (isNamedExports(exportDeclaration.exportClause)) {\n                      forEach(exportDeclaration.exportClause.elements, visit);\n                    } else {\n                      visit(exportDeclaration.exportClause.name);\n                    }\n                  }\n                  break;\n                case 269:\n                  const importClause = node.importClause;\n                  if (importClause) {\n                    if (importClause.name) {\n                      addDeclaration(importClause.name);\n                    }\n                    if (importClause.namedBindings) {\n                      if (importClause.namedBindings.kind === 271) {\n                        addDeclaration(importClause.namedBindings);\n                      } else {\n                        forEach(importClause.namedBindings.elements, visit);\n                      }\n                    }\n                  }\n                  break;\n                case 223:\n                  if (getAssignmentDeclarationKind(node) !== 0) {\n                    addDeclaration(node);\n                  }\n                default:\n                  forEachChild(node, visit);\n              }\n            }\n          }\n        };\n        SourceMapSourceObject = class {\n          constructor(fileName, text, skipTrivia2) {\n            this.fileName = fileName;\n            this.text = text;\n            this.skipTrivia = skipTrivia2;\n          }\n          getLineAndCharacterOfPosition(pos) {\n            return getLineAndCharacterOfPosition(this, pos);\n          }\n        };\n        SyntaxTreeCache = class {\n          constructor(host) {\n            this.host = host;\n          }\n          getCurrentSourceFile(fileName) {\n            var _a22, _b3, _c, _d, _e, _f, _g, _h;\n            const scriptSnapshot = this.host.getScriptSnapshot(fileName);\n            if (!scriptSnapshot) {\n              throw new Error(\"Could not find file: '\" + fileName + \"'.\");\n            }\n            const scriptKind = getScriptKind(fileName, this.host);\n            const version2 = this.host.getScriptVersion(fileName);\n            let sourceFile;\n            if (this.currentFileName !== fileName) {\n              const options = {\n                languageVersion: 99,\n                impliedNodeFormat: getImpliedNodeFormatForFile(\n                  toPath(fileName, this.host.getCurrentDirectory(), ((_c = (_b3 = (_a22 = this.host).getCompilerHost) == null ? void 0 : _b3.call(_a22)) == null ? void 0 : _c.getCanonicalFileName) || hostGetCanonicalFileName(this.host)),\n                  (_h = (_g = (_f = (_e = (_d = this.host).getCompilerHost) == null ? void 0 : _e.call(_d)) == null ? void 0 : _f.getModuleResolutionCache) == null ? void 0 : _g.call(_f)) == null ? void 0 : _h.getPackageJsonInfoCache(),\n                  this.host,\n                  this.host.getCompilationSettings()\n                ),\n                setExternalModuleIndicator: getSetExternalModuleIndicator(this.host.getCompilationSettings())\n              };\n              sourceFile = createLanguageServiceSourceFile(\n                fileName,\n                scriptSnapshot,\n                options,\n                version2,\n                /*setNodeParents*/\n                true,\n                scriptKind\n              );\n            } else if (this.currentFileVersion !== version2) {\n              const editRange = scriptSnapshot.getChangeRange(this.currentFileScriptSnapshot);\n              sourceFile = updateLanguageServiceSourceFile(this.currentSourceFile, scriptSnapshot, version2, editRange);\n            }\n            if (sourceFile) {\n              this.currentFileVersion = version2;\n              this.currentFileName = fileName;\n              this.currentFileScriptSnapshot = scriptSnapshot;\n              this.currentSourceFile = sourceFile;\n            }\n            return this.currentSourceFile;\n          }\n        };\n        NoopCancellationToken = {\n          isCancellationRequested: returnFalse,\n          throwIfCancellationRequested: noop\n        };\n        CancellationTokenObject = class {\n          constructor(cancellationToken) {\n            this.cancellationToken = cancellationToken;\n          }\n          isCancellationRequested() {\n            return this.cancellationToken.isCancellationRequested();\n          }\n          throwIfCancellationRequested() {\n            var _a22;\n            if (this.isCancellationRequested()) {\n              (_a22 = tracing) == null ? void 0 : _a22.instant(tracing.Phase.Session, \"cancellationThrown\", { kind: \"CancellationTokenObject\" });\n              throw new OperationCanceledException();\n            }\n          }\n        };\n        ThrottledCancellationToken = class {\n          constructor(hostCancellationToken, throttleWaitMilliseconds = 20) {\n            this.hostCancellationToken = hostCancellationToken;\n            this.throttleWaitMilliseconds = throttleWaitMilliseconds;\n            this.lastCancellationCheckTime = 0;\n          }\n          isCancellationRequested() {\n            const time = timestamp();\n            const duration = Math.abs(time - this.lastCancellationCheckTime);\n            if (duration >= this.throttleWaitMilliseconds) {\n              this.lastCancellationCheckTime = time;\n              return this.hostCancellationToken.isCancellationRequested();\n            }\n            return false;\n          }\n          throwIfCancellationRequested() {\n            var _a22;\n            if (this.isCancellationRequested()) {\n              (_a22 = tracing) == null ? void 0 : _a22.instant(tracing.Phase.Session, \"cancellationThrown\", { kind: \"ThrottledCancellationToken\" });\n              throw new OperationCanceledException();\n            }\n          }\n        };\n        invalidOperationsInPartialSemanticMode = [\n          \"getSemanticDiagnostics\",\n          \"getSuggestionDiagnostics\",\n          \"getCompilerOptionsDiagnostics\",\n          \"getSemanticClassifications\",\n          \"getEncodedSemanticClassifications\",\n          \"getCodeFixesAtPosition\",\n          \"getCombinedCodeFix\",\n          \"applyCodeActionCommand\",\n          \"organizeImports\",\n          \"getEditsForFileRename\",\n          \"getEmitOutput\",\n          \"getApplicableRefactors\",\n          \"getEditsForRefactor\",\n          \"prepareCallHierarchy\",\n          \"provideCallHierarchyIncomingCalls\",\n          \"provideCallHierarchyOutgoingCalls\",\n          \"provideInlayHints\",\n          \"getSupportedCodeFixes\"\n        ];\n        invalidOperationsInSyntacticMode = [\n          ...invalidOperationsInPartialSemanticMode,\n          \"getCompletionsAtPosition\",\n          \"getCompletionEntryDetails\",\n          \"getCompletionEntrySymbol\",\n          \"getSignatureHelpItems\",\n          \"getQuickInfoAtPosition\",\n          \"getDefinitionAtPosition\",\n          \"getDefinitionAndBoundSpan\",\n          \"getImplementationAtPosition\",\n          \"getTypeDefinitionAtPosition\",\n          \"getReferencesAtPosition\",\n          \"findReferences\",\n          \"getOccurrencesAtPosition\",\n          \"getDocumentHighlights\",\n          \"getNavigateToItems\",\n          \"getRenameInfo\",\n          \"findRenameLocations\",\n          \"getApplicableRefactors\"\n        ];\n        setObjectAllocator(getServicesObjectAllocator());\n      }\n    });\n    function transform(source, transformers, compilerOptions) {\n      const diagnostics = [];\n      compilerOptions = fixupCompilerOptions(compilerOptions, diagnostics);\n      const nodes = isArray(source) ? source : [source];\n      const result = transformNodes(\n        /*resolver*/\n        void 0,\n        /*emitHost*/\n        void 0,\n        factory,\n        compilerOptions,\n        nodes,\n        transformers,\n        /*allowDtsFiles*/\n        true\n      );\n      result.diagnostics = concatenate(result.diagnostics, diagnostics);\n      return result;\n    }\n    var init_transform = __esm({\n      \"src/services/transform.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    function logInternalError(logger, err) {\n      if (logger) {\n        logger.log(\"*INTERNAL ERROR* - Exception in typescript services: \" + err.message);\n      }\n    }\n    function simpleForwardCall(logger, actionDescription2, action, logPerformance) {\n      let start;\n      if (logPerformance) {\n        logger.log(actionDescription2);\n        start = timestamp();\n      }\n      const result = action();\n      if (logPerformance) {\n        const end = timestamp();\n        logger.log(`${actionDescription2} completed in ${end - start} msec`);\n        if (isString2(result)) {\n          let str = result;\n          if (str.length > 128) {\n            str = str.substring(0, 128) + \"...\";\n          }\n          logger.log(`  result.length=${str.length}, result='${JSON.stringify(str)}'`);\n        }\n      }\n      return result;\n    }\n    function forwardJSONCall(logger, actionDescription2, action, logPerformance) {\n      return forwardCall(\n        logger,\n        actionDescription2,\n        /*returnJson*/\n        true,\n        action,\n        logPerformance\n      );\n    }\n    function forwardCall(logger, actionDescription2, returnJson, action, logPerformance) {\n      try {\n        const result = simpleForwardCall(logger, actionDescription2, action, logPerformance);\n        return returnJson ? JSON.stringify({ result }) : result;\n      } catch (err) {\n        if (err instanceof OperationCanceledException) {\n          return JSON.stringify({ canceled: true });\n        }\n        logInternalError(logger, err);\n        err.description = actionDescription2;\n        return JSON.stringify({ error: err });\n      }\n    }\n    function realizeDiagnostics(diagnostics, newLine) {\n      return diagnostics.map((d) => realizeDiagnostic(d, newLine));\n    }\n    function realizeDiagnostic(diagnostic, newLine) {\n      return {\n        message: flattenDiagnosticMessageText2(diagnostic.messageText, newLine),\n        start: diagnostic.start,\n        // TODO: GH#18217\n        length: diagnostic.length,\n        // TODO: GH#18217\n        category: diagnosticCategoryName(diagnostic),\n        code: diagnostic.code,\n        reportsUnnecessary: diagnostic.reportsUnnecessary,\n        reportsDeprecated: diagnostic.reportsDeprecated\n      };\n    }\n    function convertClassifications(classifications) {\n      return { spans: classifications.spans.join(\",\"), endOfLineState: classifications.endOfLineState };\n    }\n    var debugObjectHost, ScriptSnapshotShimAdapter, LanguageServiceShimHostAdapter, CoreServicesShimHostAdapter, ShimBase, LanguageServiceShimObject, ClassifierShimObject, CoreServicesShimObject, TypeScriptServicesFactory;\n    var init_shims = __esm({\n      \"src/services/shims.ts\"() {\n        \"use strict\";\n        init_ts4();\n        debugObjectHost = /* @__PURE__ */ function() {\n          return this;\n        }();\n        ScriptSnapshotShimAdapter = class {\n          constructor(scriptSnapshotShim) {\n            this.scriptSnapshotShim = scriptSnapshotShim;\n          }\n          getText(start, end) {\n            return this.scriptSnapshotShim.getText(start, end);\n          }\n          getLength() {\n            return this.scriptSnapshotShim.getLength();\n          }\n          getChangeRange(oldSnapshot) {\n            const oldSnapshotShim = oldSnapshot;\n            const encoded = this.scriptSnapshotShim.getChangeRange(oldSnapshotShim.scriptSnapshotShim);\n            if (encoded === null) {\n              return null;\n            }\n            const decoded = JSON.parse(encoded);\n            return createTextChangeRange(\n              createTextSpan(decoded.span.start, decoded.span.length),\n              decoded.newLength\n            );\n          }\n          dispose() {\n            if (\"dispose\" in this.scriptSnapshotShim) {\n              this.scriptSnapshotShim.dispose();\n            }\n          }\n        };\n        LanguageServiceShimHostAdapter = class {\n          constructor(shimHost) {\n            this.shimHost = shimHost;\n            this.loggingEnabled = false;\n            this.tracingEnabled = false;\n            if (\"getModuleResolutionsForFile\" in this.shimHost) {\n              this.resolveModuleNames = (moduleNames, containingFile) => {\n                const resolutionsInFile = JSON.parse(this.shimHost.getModuleResolutionsForFile(containingFile));\n                return map(moduleNames, (name) => {\n                  const result = getProperty(resolutionsInFile, name);\n                  return result ? { resolvedFileName: result, extension: extensionFromPath(result), isExternalLibraryImport: false } : void 0;\n                });\n              };\n            }\n            if (\"directoryExists\" in this.shimHost) {\n              this.directoryExists = (directoryName) => this.shimHost.directoryExists(directoryName);\n            }\n            if (\"getTypeReferenceDirectiveResolutionsForFile\" in this.shimHost) {\n              this.resolveTypeReferenceDirectives = (typeDirectiveNames, containingFile) => {\n                const typeDirectivesForFile = JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(containingFile));\n                return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString2(name) ? name : toFileNameLowerCase(name.fileName)));\n              };\n            }\n          }\n          log(s) {\n            if (this.loggingEnabled) {\n              this.shimHost.log(s);\n            }\n          }\n          trace(s) {\n            if (this.tracingEnabled) {\n              this.shimHost.trace(s);\n            }\n          }\n          error(s) {\n            this.shimHost.error(s);\n          }\n          getProjectVersion() {\n            if (!this.shimHost.getProjectVersion) {\n              return void 0;\n            }\n            return this.shimHost.getProjectVersion();\n          }\n          getTypeRootsVersion() {\n            if (!this.shimHost.getTypeRootsVersion) {\n              return 0;\n            }\n            return this.shimHost.getTypeRootsVersion();\n          }\n          useCaseSensitiveFileNames() {\n            return this.shimHost.useCaseSensitiveFileNames ? this.shimHost.useCaseSensitiveFileNames() : false;\n          }\n          getCompilationSettings() {\n            const settingsJson = this.shimHost.getCompilationSettings();\n            if (settingsJson === null || settingsJson === \"\") {\n              throw Error(\"LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings\");\n            }\n            const compilerOptions = JSON.parse(settingsJson);\n            compilerOptions.allowNonTsExtensions = true;\n            return compilerOptions;\n          }\n          getScriptFileNames() {\n            const encoded = this.shimHost.getScriptFileNames();\n            return JSON.parse(encoded);\n          }\n          getScriptSnapshot(fileName) {\n            const scriptSnapshot = this.shimHost.getScriptSnapshot(fileName);\n            return scriptSnapshot && new ScriptSnapshotShimAdapter(scriptSnapshot);\n          }\n          getScriptKind(fileName) {\n            if (\"getScriptKind\" in this.shimHost) {\n              return this.shimHost.getScriptKind(fileName);\n            } else {\n              return 0;\n            }\n          }\n          getScriptVersion(fileName) {\n            return this.shimHost.getScriptVersion(fileName);\n          }\n          getLocalizedDiagnosticMessages() {\n            const diagnosticMessagesJson = this.shimHost.getLocalizedDiagnosticMessages();\n            if (diagnosticMessagesJson === null || diagnosticMessagesJson === \"\") {\n              return null;\n            }\n            try {\n              return JSON.parse(diagnosticMessagesJson);\n            } catch (e) {\n              this.log(e.description || \"diagnosticMessages.generated.json has invalid JSON format\");\n              return null;\n            }\n          }\n          getCancellationToken() {\n            const hostCancellationToken = this.shimHost.getCancellationToken();\n            return new ThrottledCancellationToken(hostCancellationToken);\n          }\n          getCurrentDirectory() {\n            return this.shimHost.getCurrentDirectory();\n          }\n          getDirectories(path) {\n            return JSON.parse(this.shimHost.getDirectories(path));\n          }\n          getDefaultLibFileName(options) {\n            return this.shimHost.getDefaultLibFileName(JSON.stringify(options));\n          }\n          readDirectory(path, extensions, exclude, include, depth) {\n            const pattern = getFileMatcherPatterns(\n              path,\n              exclude,\n              include,\n              this.shimHost.useCaseSensitiveFileNames(),\n              this.shimHost.getCurrentDirectory()\n            );\n            return JSON.parse(this.shimHost.readDirectory(\n              path,\n              JSON.stringify(extensions),\n              JSON.stringify(pattern.basePaths),\n              pattern.excludePattern,\n              pattern.includeFilePattern,\n              pattern.includeDirectoryPattern,\n              depth\n            ));\n          }\n          readFile(path, encoding) {\n            return this.shimHost.readFile(path, encoding);\n          }\n          fileExists(path) {\n            return this.shimHost.fileExists(path);\n          }\n        };\n        CoreServicesShimHostAdapter = class {\n          constructor(shimHost) {\n            this.shimHost = shimHost;\n            this.useCaseSensitiveFileNames = this.shimHost.useCaseSensitiveFileNames ? this.shimHost.useCaseSensitiveFileNames() : false;\n            if (\"directoryExists\" in this.shimHost) {\n              this.directoryExists = (directoryName) => this.shimHost.directoryExists(directoryName);\n            } else {\n              this.directoryExists = void 0;\n            }\n            if (\"realpath\" in this.shimHost) {\n              this.realpath = (path) => this.shimHost.realpath(path);\n            } else {\n              this.realpath = void 0;\n            }\n          }\n          readDirectory(rootDir, extensions, exclude, include, depth) {\n            const pattern = getFileMatcherPatterns(\n              rootDir,\n              exclude,\n              include,\n              this.shimHost.useCaseSensitiveFileNames(),\n              this.shimHost.getCurrentDirectory()\n            );\n            return JSON.parse(this.shimHost.readDirectory(\n              rootDir,\n              JSON.stringify(extensions),\n              JSON.stringify(pattern.basePaths),\n              pattern.excludePattern,\n              pattern.includeFilePattern,\n              pattern.includeDirectoryPattern,\n              depth\n            ));\n          }\n          fileExists(fileName) {\n            return this.shimHost.fileExists(fileName);\n          }\n          readFile(fileName) {\n            return this.shimHost.readFile(fileName);\n          }\n          getDirectories(path) {\n            return JSON.parse(this.shimHost.getDirectories(path));\n          }\n        };\n        ShimBase = class {\n          constructor(factory2) {\n            this.factory = factory2;\n            factory2.registerShim(this);\n          }\n          dispose(_dummy) {\n            this.factory.unregisterShim(this);\n          }\n        };\n        LanguageServiceShimObject = class extends ShimBase {\n          constructor(factory2, host, languageService) {\n            super(factory2);\n            this.host = host;\n            this.languageService = languageService;\n            this.logPerformance = false;\n            this.logger = this.host;\n          }\n          forwardJSONCall(actionDescription2, action) {\n            return forwardJSONCall(this.logger, actionDescription2, action, this.logPerformance);\n          }\n          /// DISPOSE\n          /**\n           * Ensure (almost) deterministic release of internal Javascript resources when\n           * some external native objects holds onto us (e.g. Com/Interop).\n           */\n          dispose(dummy) {\n            this.logger.log(\"dispose()\");\n            this.languageService.dispose();\n            this.languageService = null;\n            if (debugObjectHost && debugObjectHost.CollectGarbage) {\n              debugObjectHost.CollectGarbage();\n              this.logger.log(\"CollectGarbage()\");\n            }\n            this.logger = null;\n            super.dispose(dummy);\n          }\n          /// REFRESH\n          /**\n           * Update the list of scripts known to the compiler\n           */\n          refresh(throwOnError) {\n            this.forwardJSONCall(\n              `refresh(${throwOnError})`,\n              () => null\n              // eslint-disable-line no-null/no-null\n            );\n          }\n          cleanupSemanticCache() {\n            this.forwardJSONCall(\n              \"cleanupSemanticCache()\",\n              () => {\n                this.languageService.cleanupSemanticCache();\n                return null;\n              }\n            );\n          }\n          realizeDiagnostics(diagnostics) {\n            const newLine = getNewLineOrDefaultFromHost(\n              this.host,\n              /*formatSettings*/\n              void 0\n            );\n            return realizeDiagnostics(diagnostics, newLine);\n          }\n          getSyntacticClassifications(fileName, start, length2) {\n            return this.forwardJSONCall(\n              `getSyntacticClassifications('${fileName}', ${start}, ${length2})`,\n              () => this.languageService.getSyntacticClassifications(fileName, createTextSpan(start, length2))\n            );\n          }\n          getSemanticClassifications(fileName, start, length2) {\n            return this.forwardJSONCall(\n              `getSemanticClassifications('${fileName}', ${start}, ${length2})`,\n              () => this.languageService.getSemanticClassifications(fileName, createTextSpan(start, length2))\n            );\n          }\n          getEncodedSyntacticClassifications(fileName, start, length2) {\n            return this.forwardJSONCall(\n              `getEncodedSyntacticClassifications('${fileName}', ${start}, ${length2})`,\n              // directly serialize the spans out to a string.  This is much faster to decode\n              // on the managed side versus a full JSON array.\n              () => convertClassifications(this.languageService.getEncodedSyntacticClassifications(fileName, createTextSpan(start, length2)))\n            );\n          }\n          getEncodedSemanticClassifications(fileName, start, length2) {\n            return this.forwardJSONCall(\n              `getEncodedSemanticClassifications('${fileName}', ${start}, ${length2})`,\n              // directly serialize the spans out to a string.  This is much faster to decode\n              // on the managed side versus a full JSON array.\n              () => convertClassifications(this.languageService.getEncodedSemanticClassifications(fileName, createTextSpan(start, length2)))\n            );\n          }\n          getSyntacticDiagnostics(fileName) {\n            return this.forwardJSONCall(\n              `getSyntacticDiagnostics('${fileName}')`,\n              () => {\n                const diagnostics = this.languageService.getSyntacticDiagnostics(fileName);\n                return this.realizeDiagnostics(diagnostics);\n              }\n            );\n          }\n          getSemanticDiagnostics(fileName) {\n            return this.forwardJSONCall(\n              `getSemanticDiagnostics('${fileName}')`,\n              () => {\n                const diagnostics = this.languageService.getSemanticDiagnostics(fileName);\n                return this.realizeDiagnostics(diagnostics);\n              }\n            );\n          }\n          getSuggestionDiagnostics(fileName) {\n            return this.forwardJSONCall(`getSuggestionDiagnostics('${fileName}')`, () => this.realizeDiagnostics(this.languageService.getSuggestionDiagnostics(fileName)));\n          }\n          getCompilerOptionsDiagnostics() {\n            return this.forwardJSONCall(\n              \"getCompilerOptionsDiagnostics()\",\n              () => {\n                const diagnostics = this.languageService.getCompilerOptionsDiagnostics();\n                return this.realizeDiagnostics(diagnostics);\n              }\n            );\n          }\n          /// QUICKINFO\n          /**\n           * Computes a string representation of the type at the requested position\n           * in the active file.\n           */\n          getQuickInfoAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getQuickInfoAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getQuickInfoAtPosition(fileName, position)\n            );\n          }\n          /// NAMEORDOTTEDNAMESPAN\n          /**\n           * Computes span information of the name or dotted name at the requested position\n           * in the active file.\n           */\n          getNameOrDottedNameSpan(fileName, startPos, endPos) {\n            return this.forwardJSONCall(\n              `getNameOrDottedNameSpan('${fileName}', ${startPos}, ${endPos})`,\n              () => this.languageService.getNameOrDottedNameSpan(fileName, startPos, endPos)\n            );\n          }\n          /**\n           * STATEMENTSPAN\n           * Computes span information of statement at the requested position in the active file.\n           */\n          getBreakpointStatementAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getBreakpointStatementAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getBreakpointStatementAtPosition(fileName, position)\n            );\n          }\n          /// SIGNATUREHELP\n          getSignatureHelpItems(fileName, position, options) {\n            return this.forwardJSONCall(\n              `getSignatureHelpItems('${fileName}', ${position})`,\n              () => this.languageService.getSignatureHelpItems(fileName, position, options)\n            );\n          }\n          /// GOTO DEFINITION\n          /**\n           * Computes the definition location and file for the symbol\n           * at the requested position.\n           */\n          getDefinitionAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getDefinitionAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getDefinitionAtPosition(fileName, position)\n            );\n          }\n          /**\n           * Computes the definition location and file for the symbol\n           * at the requested position.\n           */\n          getDefinitionAndBoundSpan(fileName, position) {\n            return this.forwardJSONCall(\n              `getDefinitionAndBoundSpan('${fileName}', ${position})`,\n              () => this.languageService.getDefinitionAndBoundSpan(fileName, position)\n            );\n          }\n          /// GOTO Type\n          /**\n           * Computes the definition location of the type of the symbol\n           * at the requested position.\n           */\n          getTypeDefinitionAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getTypeDefinitionAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getTypeDefinitionAtPosition(fileName, position)\n            );\n          }\n          /// GOTO Implementation\n          /**\n           * Computes the implementation location of the symbol\n           * at the requested position.\n           */\n          getImplementationAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getImplementationAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getImplementationAtPosition(fileName, position)\n            );\n          }\n          getRenameInfo(fileName, position, preferences) {\n            return this.forwardJSONCall(\n              `getRenameInfo('${fileName}', ${position})`,\n              () => this.languageService.getRenameInfo(fileName, position, preferences)\n            );\n          }\n          getSmartSelectionRange(fileName, position) {\n            return this.forwardJSONCall(\n              `getSmartSelectionRange('${fileName}', ${position})`,\n              () => this.languageService.getSmartSelectionRange(fileName, position)\n            );\n          }\n          findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename) {\n            return this.forwardJSONCall(\n              `findRenameLocations('${fileName}', ${position}, ${findInStrings}, ${findInComments}, ${providePrefixAndSuffixTextForRename})`,\n              () => this.languageService.findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename)\n            );\n          }\n          /// GET BRACE MATCHING\n          getBraceMatchingAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getBraceMatchingAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getBraceMatchingAtPosition(fileName, position)\n            );\n          }\n          isValidBraceCompletionAtPosition(fileName, position, openingBrace) {\n            return this.forwardJSONCall(\n              `isValidBraceCompletionAtPosition('${fileName}', ${position}, ${openingBrace})`,\n              () => this.languageService.isValidBraceCompletionAtPosition(fileName, position, openingBrace)\n            );\n          }\n          getSpanOfEnclosingComment(fileName, position, onlyMultiLine) {\n            return this.forwardJSONCall(\n              `getSpanOfEnclosingComment('${fileName}', ${position})`,\n              () => this.languageService.getSpanOfEnclosingComment(fileName, position, onlyMultiLine)\n            );\n          }\n          /// GET SMART INDENT\n          getIndentationAtPosition(fileName, position, options) {\n            return this.forwardJSONCall(\n              `getIndentationAtPosition('${fileName}', ${position})`,\n              () => {\n                const localOptions = JSON.parse(options);\n                return this.languageService.getIndentationAtPosition(fileName, position, localOptions);\n              }\n            );\n          }\n          /// GET REFERENCES\n          getReferencesAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getReferencesAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getReferencesAtPosition(fileName, position)\n            );\n          }\n          findReferences(fileName, position) {\n            return this.forwardJSONCall(\n              `findReferences('${fileName}', ${position})`,\n              () => this.languageService.findReferences(fileName, position)\n            );\n          }\n          getFileReferences(fileName) {\n            return this.forwardJSONCall(\n              `getFileReferences('${fileName})`,\n              () => this.languageService.getFileReferences(fileName)\n            );\n          }\n          getOccurrencesAtPosition(fileName, position) {\n            return this.forwardJSONCall(\n              `getOccurrencesAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getOccurrencesAtPosition(fileName, position)\n            );\n          }\n          getDocumentHighlights(fileName, position, filesToSearch) {\n            return this.forwardJSONCall(\n              `getDocumentHighlights('${fileName}', ${position})`,\n              () => {\n                const results = this.languageService.getDocumentHighlights(fileName, position, JSON.parse(filesToSearch));\n                const normalizedName = toFileNameLowerCase(normalizeSlashes(fileName));\n                return filter(results, (r) => toFileNameLowerCase(normalizeSlashes(r.fileName)) === normalizedName);\n              }\n            );\n          }\n          /// COMPLETION LISTS\n          /**\n           * Get a string based representation of the completions\n           * to provide at the given source position and providing a member completion\n           * list if requested.\n           */\n          getCompletionsAtPosition(fileName, position, preferences, formattingSettings) {\n            return this.forwardJSONCall(\n              `getCompletionsAtPosition('${fileName}', ${position}, ${preferences}, ${formattingSettings})`,\n              () => this.languageService.getCompletionsAtPosition(fileName, position, preferences, formattingSettings)\n            );\n          }\n          /** Get a string based representation of a completion list entry details */\n          getCompletionEntryDetails(fileName, position, entryName, formatOptions, source, preferences, data) {\n            return this.forwardJSONCall(\n              `getCompletionEntryDetails('${fileName}', ${position}, '${entryName}')`,\n              () => {\n                const localOptions = formatOptions === void 0 ? void 0 : JSON.parse(formatOptions);\n                return this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source, preferences, data);\n              }\n            );\n          }\n          getFormattingEditsForRange(fileName, start, end, options) {\n            return this.forwardJSONCall(\n              `getFormattingEditsForRange('${fileName}', ${start}, ${end})`,\n              () => {\n                const localOptions = JSON.parse(options);\n                return this.languageService.getFormattingEditsForRange(fileName, start, end, localOptions);\n              }\n            );\n          }\n          getFormattingEditsForDocument(fileName, options) {\n            return this.forwardJSONCall(\n              `getFormattingEditsForDocument('${fileName}')`,\n              () => {\n                const localOptions = JSON.parse(options);\n                return this.languageService.getFormattingEditsForDocument(fileName, localOptions);\n              }\n            );\n          }\n          getFormattingEditsAfterKeystroke(fileName, position, key, options) {\n            return this.forwardJSONCall(\n              `getFormattingEditsAfterKeystroke('${fileName}', ${position}, '${key}')`,\n              () => {\n                const localOptions = JSON.parse(options);\n                return this.languageService.getFormattingEditsAfterKeystroke(fileName, position, key, localOptions);\n              }\n            );\n          }\n          getDocCommentTemplateAtPosition(fileName, position, options, formatOptions) {\n            return this.forwardJSONCall(\n              `getDocCommentTemplateAtPosition('${fileName}', ${position})`,\n              () => this.languageService.getDocCommentTemplateAtPosition(fileName, position, options, formatOptions)\n            );\n          }\n          /// NAVIGATE TO\n          /** Return a list of symbols that are interesting to navigate to */\n          getNavigateToItems(searchValue, maxResultCount, fileName) {\n            return this.forwardJSONCall(\n              `getNavigateToItems('${searchValue}', ${maxResultCount}, ${fileName})`,\n              () => this.languageService.getNavigateToItems(searchValue, maxResultCount, fileName)\n            );\n          }\n          getNavigationBarItems(fileName) {\n            return this.forwardJSONCall(\n              `getNavigationBarItems('${fileName}')`,\n              () => this.languageService.getNavigationBarItems(fileName)\n            );\n          }\n          getNavigationTree(fileName) {\n            return this.forwardJSONCall(\n              `getNavigationTree('${fileName}')`,\n              () => this.languageService.getNavigationTree(fileName)\n            );\n          }\n          getOutliningSpans(fileName) {\n            return this.forwardJSONCall(\n              `getOutliningSpans('${fileName}')`,\n              () => this.languageService.getOutliningSpans(fileName)\n            );\n          }\n          getTodoComments(fileName, descriptors) {\n            return this.forwardJSONCall(\n              `getTodoComments('${fileName}')`,\n              () => this.languageService.getTodoComments(fileName, JSON.parse(descriptors))\n            );\n          }\n          /// CALL HIERARCHY\n          prepareCallHierarchy(fileName, position) {\n            return this.forwardJSONCall(\n              `prepareCallHierarchy('${fileName}', ${position})`,\n              () => this.languageService.prepareCallHierarchy(fileName, position)\n            );\n          }\n          provideCallHierarchyIncomingCalls(fileName, position) {\n            return this.forwardJSONCall(\n              `provideCallHierarchyIncomingCalls('${fileName}', ${position})`,\n              () => this.languageService.provideCallHierarchyIncomingCalls(fileName, position)\n            );\n          }\n          provideCallHierarchyOutgoingCalls(fileName, position) {\n            return this.forwardJSONCall(\n              `provideCallHierarchyOutgoingCalls('${fileName}', ${position})`,\n              () => this.languageService.provideCallHierarchyOutgoingCalls(fileName, position)\n            );\n          }\n          provideInlayHints(fileName, span, preference) {\n            return this.forwardJSONCall(\n              `provideInlayHints('${fileName}', '${JSON.stringify(span)}', ${JSON.stringify(preference)})`,\n              () => this.languageService.provideInlayHints(fileName, span, preference)\n            );\n          }\n          /// Emit\n          getEmitOutput(fileName) {\n            return this.forwardJSONCall(\n              `getEmitOutput('${fileName}')`,\n              () => {\n                const { diagnostics, ...rest } = this.languageService.getEmitOutput(fileName);\n                return { ...rest, diagnostics: this.realizeDiagnostics(diagnostics) };\n              }\n            );\n          }\n          getEmitOutputObject(fileName) {\n            return forwardCall(\n              this.logger,\n              `getEmitOutput('${fileName}')`,\n              /*returnJson*/\n              false,\n              () => this.languageService.getEmitOutput(fileName),\n              this.logPerformance\n            );\n          }\n          toggleLineComment(fileName, textRange) {\n            return this.forwardJSONCall(\n              `toggleLineComment('${fileName}', '${JSON.stringify(textRange)}')`,\n              () => this.languageService.toggleLineComment(fileName, textRange)\n            );\n          }\n          toggleMultilineComment(fileName, textRange) {\n            return this.forwardJSONCall(\n              `toggleMultilineComment('${fileName}', '${JSON.stringify(textRange)}')`,\n              () => this.languageService.toggleMultilineComment(fileName, textRange)\n            );\n          }\n          commentSelection(fileName, textRange) {\n            return this.forwardJSONCall(\n              `commentSelection('${fileName}', '${JSON.stringify(textRange)}')`,\n              () => this.languageService.commentSelection(fileName, textRange)\n            );\n          }\n          uncommentSelection(fileName, textRange) {\n            return this.forwardJSONCall(\n              `uncommentSelection('${fileName}', '${JSON.stringify(textRange)}')`,\n              () => this.languageService.uncommentSelection(fileName, textRange)\n            );\n          }\n        };\n        ClassifierShimObject = class extends ShimBase {\n          constructor(factory2, logger) {\n            super(factory2);\n            this.logger = logger;\n            this.logPerformance = false;\n            this.classifier = createClassifier2();\n          }\n          getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent = false) {\n            return forwardJSONCall(\n              this.logger,\n              \"getEncodedLexicalClassifications\",\n              () => convertClassifications(this.classifier.getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent)),\n              this.logPerformance\n            );\n          }\n          /// COLORIZATION\n          getClassificationsForLine(text, lexState, classifyKeywordsInGenerics = false) {\n            const classification = this.classifier.getClassificationsForLine(text, lexState, classifyKeywordsInGenerics);\n            let result = \"\";\n            for (const item of classification.entries) {\n              result += item.length + \"\\n\";\n              result += item.classification + \"\\n\";\n            }\n            result += classification.finalLexState;\n            return result;\n          }\n        };\n        CoreServicesShimObject = class extends ShimBase {\n          constructor(factory2, logger, host) {\n            super(factory2);\n            this.logger = logger;\n            this.host = host;\n            this.logPerformance = false;\n          }\n          forwardJSONCall(actionDescription2, action) {\n            return forwardJSONCall(this.logger, actionDescription2, action, this.logPerformance);\n          }\n          resolveModuleName(fileName, moduleName, compilerOptionsJson) {\n            return this.forwardJSONCall(`resolveModuleName('${fileName}')`, () => {\n              const compilerOptions = JSON.parse(compilerOptionsJson);\n              const result = resolveModuleName(moduleName, normalizeSlashes(fileName), compilerOptions, this.host);\n              let resolvedFileName = result.resolvedModule ? result.resolvedModule.resolvedFileName : void 0;\n              if (result.resolvedModule && result.resolvedModule.extension !== \".ts\" && result.resolvedModule.extension !== \".tsx\" && result.resolvedModule.extension !== \".d.ts\") {\n                resolvedFileName = void 0;\n              }\n              return {\n                resolvedFileName,\n                failedLookupLocations: result.failedLookupLocations,\n                affectingLocations: result.affectingLocations\n              };\n            });\n          }\n          resolveTypeReferenceDirective(fileName, typeReferenceDirective, compilerOptionsJson) {\n            return this.forwardJSONCall(`resolveTypeReferenceDirective(${fileName})`, () => {\n              const compilerOptions = JSON.parse(compilerOptionsJson);\n              const result = resolveTypeReferenceDirective(typeReferenceDirective, normalizeSlashes(fileName), compilerOptions, this.host);\n              return {\n                resolvedFileName: result.resolvedTypeReferenceDirective ? result.resolvedTypeReferenceDirective.resolvedFileName : void 0,\n                primary: result.resolvedTypeReferenceDirective ? result.resolvedTypeReferenceDirective.primary : true,\n                failedLookupLocations: result.failedLookupLocations\n              };\n            });\n          }\n          getPreProcessedFileInfo(fileName, sourceTextSnapshot) {\n            return this.forwardJSONCall(\n              `getPreProcessedFileInfo('${fileName}')`,\n              () => {\n                const result = preProcessFile(\n                  getSnapshotText(sourceTextSnapshot),\n                  /* readImportFiles */\n                  true,\n                  /* detectJavaScriptImports */\n                  true\n                );\n                return {\n                  referencedFiles: this.convertFileReferences(result.referencedFiles),\n                  importedFiles: this.convertFileReferences(result.importedFiles),\n                  ambientExternalModules: result.ambientExternalModules,\n                  isLibFile: result.isLibFile,\n                  typeReferenceDirectives: this.convertFileReferences(result.typeReferenceDirectives),\n                  libReferenceDirectives: this.convertFileReferences(result.libReferenceDirectives)\n                };\n              }\n            );\n          }\n          getAutomaticTypeDirectiveNames(compilerOptionsJson) {\n            return this.forwardJSONCall(\n              `getAutomaticTypeDirectiveNames('${compilerOptionsJson}')`,\n              () => {\n                const compilerOptions = JSON.parse(compilerOptionsJson);\n                return getAutomaticTypeDirectiveNames(compilerOptions, this.host);\n              }\n            );\n          }\n          convertFileReferences(refs) {\n            if (!refs) {\n              return void 0;\n            }\n            const result = [];\n            for (const ref of refs) {\n              result.push({\n                path: normalizeSlashes(ref.fileName),\n                position: ref.pos,\n                length: ref.end - ref.pos\n              });\n            }\n            return result;\n          }\n          getTSConfigFileInfo(fileName, sourceTextSnapshot) {\n            return this.forwardJSONCall(\n              `getTSConfigFileInfo('${fileName}')`,\n              () => {\n                const result = parseJsonText(fileName, getSnapshotText(sourceTextSnapshot));\n                const normalizedFileName = normalizeSlashes(fileName);\n                const configFile = parseJsonSourceFileConfigFileContent(\n                  result,\n                  this.host,\n                  getDirectoryPath(normalizedFileName),\n                  /*existingOptions*/\n                  {},\n                  normalizedFileName\n                );\n                return {\n                  options: configFile.options,\n                  typeAcquisition: configFile.typeAcquisition,\n                  files: configFile.fileNames,\n                  raw: configFile.raw,\n                  errors: realizeDiagnostics([...result.parseDiagnostics, ...configFile.errors], \"\\r\\n\")\n                };\n              }\n            );\n          }\n          getDefaultCompilationSettings() {\n            return this.forwardJSONCall(\n              \"getDefaultCompilationSettings()\",\n              () => getDefaultCompilerOptions2()\n            );\n          }\n          discoverTypings(discoverTypingsJson) {\n            const getCanonicalFileName = createGetCanonicalFileName(\n              /*useCaseSensitivefileNames:*/\n              false\n            );\n            return this.forwardJSONCall(\"discoverTypings()\", () => {\n              const info = JSON.parse(discoverTypingsJson);\n              if (this.safeList === void 0) {\n                this.safeList = ts_JsTyping_exports.loadSafeList(this.host, toPath(info.safeListPath, info.safeListPath, getCanonicalFileName));\n              }\n              return ts_JsTyping_exports.discoverTypings(\n                this.host,\n                (msg) => this.logger.log(msg),\n                info.fileNames,\n                toPath(info.projectRootPath, info.projectRootPath, getCanonicalFileName),\n                this.safeList,\n                info.packageNameToTypingLocation,\n                info.typeAcquisition,\n                info.unresolvedImports,\n                info.typesRegistry,\n                emptyOptions\n              );\n            });\n          }\n        };\n        TypeScriptServicesFactory = class {\n          constructor() {\n            this._shims = [];\n          }\n          /*\n           * Returns script API version.\n           */\n          getServicesVersion() {\n            return servicesVersion;\n          }\n          createLanguageServiceShim(host) {\n            try {\n              if (this.documentRegistry === void 0) {\n                this.documentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory());\n              }\n              const hostAdapter = new LanguageServiceShimHostAdapter(host);\n              const languageService = createLanguageService2(\n                hostAdapter,\n                this.documentRegistry,\n                /*syntaxOnly*/\n                false\n              );\n              return new LanguageServiceShimObject(this, host, languageService);\n            } catch (err) {\n              logInternalError(host, err);\n              throw err;\n            }\n          }\n          createClassifierShim(logger) {\n            try {\n              return new ClassifierShimObject(this, logger);\n            } catch (err) {\n              logInternalError(logger, err);\n              throw err;\n            }\n          }\n          createCoreServicesShim(host) {\n            try {\n              const adapter = new CoreServicesShimHostAdapter(host);\n              return new CoreServicesShimObject(this, host, adapter);\n            } catch (err) {\n              logInternalError(host, err);\n              throw err;\n            }\n          }\n          close() {\n            clear(this._shims);\n            this.documentRegistry = void 0;\n          }\n          registerShim(shim) {\n            this._shims.push(shim);\n          }\n          unregisterShim(shim) {\n            for (let i = 0; i < this._shims.length; i++) {\n              if (this._shims[i] === shim) {\n                delete this._shims[i];\n                return;\n              }\n            }\n            throw new Error(\"Invalid operation\");\n          }\n        };\n      }\n    });\n    function spanInSourceFileAtLocation(sourceFile, position) {\n      if (sourceFile.isDeclarationFile) {\n        return void 0;\n      }\n      let tokenAtLocation = getTokenAtPosition(sourceFile, position);\n      const lineOfPosition = sourceFile.getLineAndCharacterOfPosition(position).line;\n      if (sourceFile.getLineAndCharacterOfPosition(tokenAtLocation.getStart(sourceFile)).line > lineOfPosition) {\n        const preceding = findPrecedingToken(tokenAtLocation.pos, sourceFile);\n        if (!preceding || sourceFile.getLineAndCharacterOfPosition(preceding.getEnd()).line !== lineOfPosition) {\n          return void 0;\n        }\n        tokenAtLocation = preceding;\n      }\n      if (tokenAtLocation.flags & 16777216) {\n        return void 0;\n      }\n      return spanInNode(tokenAtLocation);\n      function textSpan(startNode2, endNode2) {\n        const lastDecorator = canHaveDecorators(startNode2) ? findLast(startNode2.modifiers, isDecorator) : void 0;\n        const start = lastDecorator ? skipTrivia(sourceFile.text, lastDecorator.end) : startNode2.getStart(sourceFile);\n        return createTextSpanFromBounds(start, (endNode2 || startNode2).getEnd());\n      }\n      function textSpanEndingAtNextToken(startNode2, previousTokenToFindNextEndToken) {\n        return textSpan(startNode2, findNextToken(previousTokenToFindNextEndToken, previousTokenToFindNextEndToken.parent, sourceFile));\n      }\n      function spanInNodeIfStartsOnSameLine(node, otherwiseOnNode) {\n        if (node && lineOfPosition === sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line) {\n          return spanInNode(node);\n        }\n        return spanInNode(otherwiseOnNode);\n      }\n      function spanInNodeArray(nodeArray, node, match) {\n        if (nodeArray) {\n          const index = nodeArray.indexOf(node);\n          if (index >= 0) {\n            let start = index;\n            let end = index + 1;\n            while (start > 0 && match(nodeArray[start - 1]))\n              start--;\n            while (end < nodeArray.length && match(nodeArray[end]))\n              end++;\n            return createTextSpanFromBounds(skipTrivia(sourceFile.text, nodeArray[start].pos), nodeArray[end - 1].end);\n          }\n        }\n        return textSpan(node);\n      }\n      function spanInPreviousNode(node) {\n        return spanInNode(findPrecedingToken(node.pos, sourceFile));\n      }\n      function spanInNextNode(node) {\n        return spanInNode(findNextToken(node, node.parent, sourceFile));\n      }\n      function spanInNode(node) {\n        if (node) {\n          const { parent: parent2 } = node;\n          switch (node.kind) {\n            case 240:\n              return spanInVariableDeclaration(node.declarationList.declarations[0]);\n            case 257:\n            case 169:\n            case 168:\n              return spanInVariableDeclaration(node);\n            case 166:\n              return spanInParameterDeclaration(node);\n            case 259:\n            case 171:\n            case 170:\n            case 174:\n            case 175:\n            case 173:\n            case 215:\n            case 216:\n              return spanInFunctionDeclaration(node);\n            case 238:\n              if (isFunctionBlock(node)) {\n                return spanInFunctionBlock(node);\n              }\n            case 265:\n              return spanInBlock(node);\n            case 295:\n              return spanInBlock(node.block);\n            case 241:\n              return textSpan(node.expression);\n            case 250:\n              return textSpan(node.getChildAt(0), node.expression);\n            case 244:\n              return textSpanEndingAtNextToken(node, node.expression);\n            case 243:\n              return spanInNode(node.statement);\n            case 256:\n              return textSpan(node.getChildAt(0));\n            case 242:\n              return textSpanEndingAtNextToken(node, node.expression);\n            case 253:\n              return spanInNode(node.statement);\n            case 249:\n            case 248:\n              return textSpan(node.getChildAt(0), node.label);\n            case 245:\n              return spanInForStatement(node);\n            case 246:\n              return textSpanEndingAtNextToken(node, node.expression);\n            case 247:\n              return spanInInitializerOfForLike(node);\n            case 252:\n              return textSpanEndingAtNextToken(node, node.expression);\n            case 292:\n            case 293:\n              return spanInNode(node.statements[0]);\n            case 255:\n              return spanInBlock(node.tryBlock);\n            case 254:\n              return textSpan(node, node.expression);\n            case 274:\n              return textSpan(node, node.expression);\n            case 268:\n              return textSpan(node, node.moduleReference);\n            case 269:\n              return textSpan(node, node.moduleSpecifier);\n            case 275:\n              return textSpan(node, node.moduleSpecifier);\n            case 264:\n              if (getModuleInstanceState(node) !== 1) {\n                return void 0;\n              }\n            case 260:\n            case 263:\n            case 302:\n            case 205:\n              return textSpan(node);\n            case 251:\n              return spanInNode(node.statement);\n            case 167:\n              return spanInNodeArray(parent2.modifiers, node, isDecorator);\n            case 203:\n            case 204:\n              return spanInBindingPattern(node);\n            case 261:\n            case 262:\n              return void 0;\n            case 26:\n            case 1:\n              return spanInNodeIfStartsOnSameLine(findPrecedingToken(node.pos, sourceFile));\n            case 27:\n              return spanInPreviousNode(node);\n            case 18:\n              return spanInOpenBraceToken(node);\n            case 19:\n              return spanInCloseBraceToken(node);\n            case 23:\n              return spanInCloseBracketToken(node);\n            case 20:\n              return spanInOpenParenToken(node);\n            case 21:\n              return spanInCloseParenToken(node);\n            case 58:\n              return spanInColonToken(node);\n            case 31:\n            case 29:\n              return spanInGreaterThanOrLessThanToken(node);\n            case 115:\n              return spanInWhileKeyword(node);\n            case 91:\n            case 83:\n            case 96:\n              return spanInNextNode(node);\n            case 162:\n              return spanInOfKeyword(node);\n            default:\n              if (isArrayLiteralOrObjectLiteralDestructuringPattern(node)) {\n                return spanInArrayLiteralOrObjectLiteralDestructuringPattern(node);\n              }\n              if ((node.kind === 79 || node.kind === 227 || node.kind === 299 || node.kind === 300) && isArrayLiteralOrObjectLiteralDestructuringPattern(parent2)) {\n                return textSpan(node);\n              }\n              if (node.kind === 223) {\n                const { left, operatorToken } = node;\n                if (isArrayLiteralOrObjectLiteralDestructuringPattern(left)) {\n                  return spanInArrayLiteralOrObjectLiteralDestructuringPattern(\n                    left\n                  );\n                }\n                if (operatorToken.kind === 63 && isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent)) {\n                  return textSpan(node);\n                }\n                if (operatorToken.kind === 27) {\n                  return spanInNode(left);\n                }\n              }\n              if (isExpressionNode(node)) {\n                switch (parent2.kind) {\n                  case 243:\n                    return spanInPreviousNode(node);\n                  case 167:\n                    return spanInNode(node.parent);\n                  case 245:\n                  case 247:\n                    return textSpan(node);\n                  case 223:\n                    if (node.parent.operatorToken.kind === 27) {\n                      return textSpan(node);\n                    }\n                    break;\n                  case 216:\n                    if (node.parent.body === node) {\n                      return textSpan(node);\n                    }\n                    break;\n                }\n              }\n              switch (node.parent.kind) {\n                case 299:\n                  if (node.parent.name === node && !isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent.parent)) {\n                    return spanInNode(node.parent.initializer);\n                  }\n                  break;\n                case 213:\n                  if (node.parent.type === node) {\n                    return spanInNextNode(node.parent.type);\n                  }\n                  break;\n                case 257:\n                case 166: {\n                  const { initializer, type } = node.parent;\n                  if (initializer === node || type === node || isAssignmentOperator(node.kind)) {\n                    return spanInPreviousNode(node);\n                  }\n                  break;\n                }\n                case 223: {\n                  const { left } = node.parent;\n                  if (isArrayLiteralOrObjectLiteralDestructuringPattern(left) && node !== left) {\n                    return spanInPreviousNode(node);\n                  }\n                  break;\n                }\n                default:\n                  if (isFunctionLike(node.parent) && node.parent.type === node) {\n                    return spanInPreviousNode(node);\n                  }\n              }\n              return spanInNode(node.parent);\n          }\n        }\n        function textSpanFromVariableDeclaration(variableDeclaration) {\n          if (isVariableDeclarationList(variableDeclaration.parent) && variableDeclaration.parent.declarations[0] === variableDeclaration) {\n            return textSpan(findPrecedingToken(variableDeclaration.pos, sourceFile, variableDeclaration.parent), variableDeclaration);\n          } else {\n            return textSpan(variableDeclaration);\n          }\n        }\n        function spanInVariableDeclaration(variableDeclaration) {\n          if (variableDeclaration.parent.parent.kind === 246) {\n            return spanInNode(variableDeclaration.parent.parent);\n          }\n          const parent2 = variableDeclaration.parent;\n          if (isBindingPattern(variableDeclaration.name)) {\n            return spanInBindingPattern(variableDeclaration.name);\n          }\n          if (hasOnlyExpressionInitializer(variableDeclaration) && variableDeclaration.initializer || hasSyntacticModifier(\n            variableDeclaration,\n            1\n            /* Export */\n          ) || parent2.parent.kind === 247) {\n            return textSpanFromVariableDeclaration(variableDeclaration);\n          }\n          if (isVariableDeclarationList(variableDeclaration.parent) && variableDeclaration.parent.declarations[0] !== variableDeclaration) {\n            return spanInNode(findPrecedingToken(variableDeclaration.pos, sourceFile, variableDeclaration.parent));\n          }\n        }\n        function canHaveSpanInParameterDeclaration(parameter) {\n          return !!parameter.initializer || parameter.dotDotDotToken !== void 0 || hasSyntacticModifier(\n            parameter,\n            4 | 8\n            /* Private */\n          );\n        }\n        function spanInParameterDeclaration(parameter) {\n          if (isBindingPattern(parameter.name)) {\n            return spanInBindingPattern(parameter.name);\n          } else if (canHaveSpanInParameterDeclaration(parameter)) {\n            return textSpan(parameter);\n          } else {\n            const functionDeclaration = parameter.parent;\n            const indexOfParameter = functionDeclaration.parameters.indexOf(parameter);\n            Debug2.assert(indexOfParameter !== -1);\n            if (indexOfParameter !== 0) {\n              return spanInParameterDeclaration(functionDeclaration.parameters[indexOfParameter - 1]);\n            } else {\n              return spanInNode(functionDeclaration.body);\n            }\n          }\n        }\n        function canFunctionHaveSpanInWholeDeclaration(functionDeclaration) {\n          return hasSyntacticModifier(\n            functionDeclaration,\n            1\n            /* Export */\n          ) || functionDeclaration.parent.kind === 260 && functionDeclaration.kind !== 173;\n        }\n        function spanInFunctionDeclaration(functionDeclaration) {\n          if (!functionDeclaration.body) {\n            return void 0;\n          }\n          if (canFunctionHaveSpanInWholeDeclaration(functionDeclaration)) {\n            return textSpan(functionDeclaration);\n          }\n          return spanInNode(functionDeclaration.body);\n        }\n        function spanInFunctionBlock(block) {\n          const nodeForSpanInBlock = block.statements.length ? block.statements[0] : block.getLastToken();\n          if (canFunctionHaveSpanInWholeDeclaration(block.parent)) {\n            return spanInNodeIfStartsOnSameLine(block.parent, nodeForSpanInBlock);\n          }\n          return spanInNode(nodeForSpanInBlock);\n        }\n        function spanInBlock(block) {\n          switch (block.parent.kind) {\n            case 264:\n              if (getModuleInstanceState(block.parent) !== 1) {\n                return void 0;\n              }\n            case 244:\n            case 242:\n            case 246:\n              return spanInNodeIfStartsOnSameLine(block.parent, block.statements[0]);\n            case 245:\n            case 247:\n              return spanInNodeIfStartsOnSameLine(findPrecedingToken(block.pos, sourceFile, block.parent), block.statements[0]);\n          }\n          return spanInNode(block.statements[0]);\n        }\n        function spanInInitializerOfForLike(forLikeStatement) {\n          if (forLikeStatement.initializer.kind === 258) {\n            const variableDeclarationList = forLikeStatement.initializer;\n            if (variableDeclarationList.declarations.length > 0) {\n              return spanInNode(variableDeclarationList.declarations[0]);\n            }\n          } else {\n            return spanInNode(forLikeStatement.initializer);\n          }\n        }\n        function spanInForStatement(forStatement) {\n          if (forStatement.initializer) {\n            return spanInInitializerOfForLike(forStatement);\n          }\n          if (forStatement.condition) {\n            return textSpan(forStatement.condition);\n          }\n          if (forStatement.incrementor) {\n            return textSpan(forStatement.incrementor);\n          }\n        }\n        function spanInBindingPattern(bindingPattern) {\n          const firstBindingElement = forEach(\n            bindingPattern.elements,\n            (element) => element.kind !== 229 ? element : void 0\n          );\n          if (firstBindingElement) {\n            return spanInNode(firstBindingElement);\n          }\n          if (bindingPattern.parent.kind === 205) {\n            return textSpan(bindingPattern.parent);\n          }\n          return textSpanFromVariableDeclaration(bindingPattern.parent);\n        }\n        function spanInArrayLiteralOrObjectLiteralDestructuringPattern(node2) {\n          Debug2.assert(\n            node2.kind !== 204 && node2.kind !== 203\n            /* ObjectBindingPattern */\n          );\n          const elements = node2.kind === 206 ? node2.elements : node2.properties;\n          const firstBindingElement = forEach(\n            elements,\n            (element) => element.kind !== 229 ? element : void 0\n          );\n          if (firstBindingElement) {\n            return spanInNode(firstBindingElement);\n          }\n          return textSpan(node2.parent.kind === 223 ? node2.parent : node2);\n        }\n        function spanInOpenBraceToken(node2) {\n          switch (node2.parent.kind) {\n            case 263:\n              const enumDeclaration = node2.parent;\n              return spanInNodeIfStartsOnSameLine(findPrecedingToken(node2.pos, sourceFile, node2.parent), enumDeclaration.members.length ? enumDeclaration.members[0] : enumDeclaration.getLastToken(sourceFile));\n            case 260:\n              const classDeclaration = node2.parent;\n              return spanInNodeIfStartsOnSameLine(findPrecedingToken(node2.pos, sourceFile, node2.parent), classDeclaration.members.length ? classDeclaration.members[0] : classDeclaration.getLastToken(sourceFile));\n            case 266:\n              return spanInNodeIfStartsOnSameLine(node2.parent.parent, node2.parent.clauses[0]);\n          }\n          return spanInNode(node2.parent);\n        }\n        function spanInCloseBraceToken(node2) {\n          switch (node2.parent.kind) {\n            case 265:\n              if (getModuleInstanceState(node2.parent.parent) !== 1) {\n                return void 0;\n              }\n            case 263:\n            case 260:\n              return textSpan(node2);\n            case 238:\n              if (isFunctionBlock(node2.parent)) {\n                return textSpan(node2);\n              }\n            case 295:\n              return spanInNode(lastOrUndefined(node2.parent.statements));\n            case 266:\n              const caseBlock = node2.parent;\n              const lastClause = lastOrUndefined(caseBlock.clauses);\n              if (lastClause) {\n                return spanInNode(lastOrUndefined(lastClause.statements));\n              }\n              return void 0;\n            case 203:\n              const bindingPattern = node2.parent;\n              return spanInNode(lastOrUndefined(bindingPattern.elements) || bindingPattern);\n            default:\n              if (isArrayLiteralOrObjectLiteralDestructuringPattern(node2.parent)) {\n                const objectLiteral = node2.parent;\n                return textSpan(lastOrUndefined(objectLiteral.properties) || objectLiteral);\n              }\n              return spanInNode(node2.parent);\n          }\n        }\n        function spanInCloseBracketToken(node2) {\n          switch (node2.parent.kind) {\n            case 204:\n              const bindingPattern = node2.parent;\n              return textSpan(lastOrUndefined(bindingPattern.elements) || bindingPattern);\n            default:\n              if (isArrayLiteralOrObjectLiteralDestructuringPattern(node2.parent)) {\n                const arrayLiteral = node2.parent;\n                return textSpan(lastOrUndefined(arrayLiteral.elements) || arrayLiteral);\n              }\n              return spanInNode(node2.parent);\n          }\n        }\n        function spanInOpenParenToken(node2) {\n          if (node2.parent.kind === 243 || // Go to while keyword and do action instead\n          node2.parent.kind === 210 || node2.parent.kind === 211) {\n            return spanInPreviousNode(node2);\n          }\n          if (node2.parent.kind === 214) {\n            return spanInNextNode(node2);\n          }\n          return spanInNode(node2.parent);\n        }\n        function spanInCloseParenToken(node2) {\n          switch (node2.parent.kind) {\n            case 215:\n            case 259:\n            case 216:\n            case 171:\n            case 170:\n            case 174:\n            case 175:\n            case 173:\n            case 244:\n            case 243:\n            case 245:\n            case 247:\n            case 210:\n            case 211:\n            case 214:\n              return spanInPreviousNode(node2);\n            default:\n              return spanInNode(node2.parent);\n          }\n        }\n        function spanInColonToken(node2) {\n          if (isFunctionLike(node2.parent) || node2.parent.kind === 299 || node2.parent.kind === 166) {\n            return spanInPreviousNode(node2);\n          }\n          return spanInNode(node2.parent);\n        }\n        function spanInGreaterThanOrLessThanToken(node2) {\n          if (node2.parent.kind === 213) {\n            return spanInNextNode(node2);\n          }\n          return spanInNode(node2.parent);\n        }\n        function spanInWhileKeyword(node2) {\n          if (node2.parent.kind === 243) {\n            return textSpanEndingAtNextToken(node2, node2.parent.expression);\n          }\n          return spanInNode(node2.parent);\n        }\n        function spanInOfKeyword(node2) {\n          if (node2.parent.kind === 247) {\n            return spanInNextNode(node2);\n          }\n          return spanInNode(node2.parent);\n        }\n      }\n    }\n    var init_breakpoints = __esm({\n      \"src/services/breakpoints.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    var ts_BreakpointResolver_exports = {};\n    __export2(ts_BreakpointResolver_exports, {\n      spanInSourceFileAtLocation: () => spanInSourceFileAtLocation\n    });\n    var init_ts_BreakpointResolver = __esm({\n      \"src/services/_namespaces/ts.BreakpointResolver.ts\"() {\n        \"use strict\";\n        init_breakpoints();\n      }\n    });\n    function isNamedExpression(node) {\n      return (isFunctionExpression(node) || isClassExpression(node)) && isNamedDeclaration(node);\n    }\n    function isConstNamedExpression(node) {\n      return (isFunctionExpression(node) || isArrowFunction(node) || isClassExpression(node)) && isVariableDeclaration(node.parent) && node === node.parent.initializer && isIdentifier(node.parent.name) && !!(getCombinedNodeFlags(node.parent) & 2);\n    }\n    function isPossibleCallHierarchyDeclaration(node) {\n      return isSourceFile(node) || isModuleDeclaration(node) || isFunctionDeclaration(node) || isFunctionExpression(node) || isClassDeclaration(node) || isClassExpression(node) || isClassStaticBlockDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isGetAccessorDeclaration(node) || isSetAccessorDeclaration(node);\n    }\n    function isValidCallHierarchyDeclaration(node) {\n      return isSourceFile(node) || isModuleDeclaration(node) && isIdentifier(node.name) || isFunctionDeclaration(node) || isClassDeclaration(node) || isClassStaticBlockDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isGetAccessorDeclaration(node) || isSetAccessorDeclaration(node) || isNamedExpression(node) || isConstNamedExpression(node);\n    }\n    function getCallHierarchyDeclarationReferenceNode(node) {\n      if (isSourceFile(node))\n        return node;\n      if (isNamedDeclaration(node))\n        return node.name;\n      if (isConstNamedExpression(node))\n        return node.parent.name;\n      return Debug2.checkDefined(node.modifiers && find(node.modifiers, isDefaultModifier3));\n    }\n    function isDefaultModifier3(node) {\n      return node.kind === 88;\n    }\n    function getSymbolOfCallHierarchyDeclaration(typeChecker, node) {\n      const location = getCallHierarchyDeclarationReferenceNode(node);\n      return location && typeChecker.getSymbolAtLocation(location);\n    }\n    function getCallHierarchyItemName(program, node) {\n      if (isSourceFile(node)) {\n        return { text: node.fileName, pos: 0, end: 0 };\n      }\n      if ((isFunctionDeclaration(node) || isClassDeclaration(node)) && !isNamedDeclaration(node)) {\n        const defaultModifier = node.modifiers && find(node.modifiers, isDefaultModifier3);\n        if (defaultModifier) {\n          return { text: \"default\", pos: defaultModifier.getStart(), end: defaultModifier.getEnd() };\n        }\n      }\n      if (isClassStaticBlockDeclaration(node)) {\n        const sourceFile = node.getSourceFile();\n        const pos = skipTrivia(sourceFile.text, moveRangePastModifiers(node).pos);\n        const end = pos + 6;\n        const typeChecker = program.getTypeChecker();\n        const symbol = typeChecker.getSymbolAtLocation(node.parent);\n        const prefix = symbol ? `${typeChecker.symbolToString(symbol, node.parent)} ` : \"\";\n        return { text: `${prefix}static {}`, pos, end };\n      }\n      const declName = isConstNamedExpression(node) ? node.parent.name : Debug2.checkDefined(getNameOfDeclaration(node), \"Expected call hierarchy item to have a name\");\n      let text = isIdentifier(declName) ? idText(declName) : isStringOrNumericLiteralLike(declName) ? declName.text : isComputedPropertyName(declName) ? isStringOrNumericLiteralLike(declName.expression) ? declName.expression.text : void 0 : void 0;\n      if (text === void 0) {\n        const typeChecker = program.getTypeChecker();\n        const symbol = typeChecker.getSymbolAtLocation(declName);\n        if (symbol) {\n          text = typeChecker.symbolToString(symbol, node);\n        }\n      }\n      if (text === void 0) {\n        const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon();\n        text = usingSingleLineStringWriter((writer) => printer.writeNode(4, node, node.getSourceFile(), writer));\n      }\n      return { text, pos: declName.getStart(), end: declName.getEnd() };\n    }\n    function getCallHierarchItemContainerName(node) {\n      var _a22, _b3;\n      if (isConstNamedExpression(node)) {\n        if (isModuleBlock(node.parent.parent.parent.parent) && isIdentifier(node.parent.parent.parent.parent.parent.name)) {\n          return node.parent.parent.parent.parent.parent.name.getText();\n        }\n        return;\n      }\n      switch (node.kind) {\n        case 174:\n        case 175:\n        case 171:\n          if (node.parent.kind === 207) {\n            return (_a22 = getAssignedName(node.parent)) == null ? void 0 : _a22.getText();\n          }\n          return (_b3 = getNameOfDeclaration(node.parent)) == null ? void 0 : _b3.getText();\n        case 259:\n        case 260:\n        case 264:\n          if (isModuleBlock(node.parent) && isIdentifier(node.parent.parent.name)) {\n            return node.parent.parent.name.getText();\n          }\n      }\n    }\n    function findImplementation(typeChecker, node) {\n      if (node.body) {\n        return node;\n      }\n      if (isConstructorDeclaration(node)) {\n        return getFirstConstructorWithBody(node.parent);\n      }\n      if (isFunctionDeclaration(node) || isMethodDeclaration(node)) {\n        const symbol = getSymbolOfCallHierarchyDeclaration(typeChecker, node);\n        if (symbol && symbol.valueDeclaration && isFunctionLikeDeclaration(symbol.valueDeclaration) && symbol.valueDeclaration.body) {\n          return symbol.valueDeclaration;\n        }\n        return void 0;\n      }\n      return node;\n    }\n    function findAllInitialDeclarations(typeChecker, node) {\n      const symbol = getSymbolOfCallHierarchyDeclaration(typeChecker, node);\n      let declarations;\n      if (symbol && symbol.declarations) {\n        const indices = indicesOf(symbol.declarations);\n        const keys = map(symbol.declarations, (decl) => ({ file: decl.getSourceFile().fileName, pos: decl.pos }));\n        indices.sort((a, b) => compareStringsCaseSensitive(keys[a].file, keys[b].file) || keys[a].pos - keys[b].pos);\n        const sortedDeclarations = map(indices, (i) => symbol.declarations[i]);\n        let lastDecl;\n        for (const decl of sortedDeclarations) {\n          if (isValidCallHierarchyDeclaration(decl)) {\n            if (!lastDecl || lastDecl.parent !== decl.parent || lastDecl.end !== decl.pos) {\n              declarations = append(declarations, decl);\n            }\n            lastDecl = decl;\n          }\n        }\n      }\n      return declarations;\n    }\n    function findImplementationOrAllInitialDeclarations(typeChecker, node) {\n      var _a22, _b3, _c;\n      if (isClassStaticBlockDeclaration(node)) {\n        return node;\n      }\n      if (isFunctionLikeDeclaration(node)) {\n        return (_b3 = (_a22 = findImplementation(typeChecker, node)) != null ? _a22 : findAllInitialDeclarations(typeChecker, node)) != null ? _b3 : node;\n      }\n      return (_c = findAllInitialDeclarations(typeChecker, node)) != null ? _c : node;\n    }\n    function resolveCallHierarchyDeclaration(program, location) {\n      const typeChecker = program.getTypeChecker();\n      let followingSymbol = false;\n      while (true) {\n        if (isValidCallHierarchyDeclaration(location)) {\n          return findImplementationOrAllInitialDeclarations(typeChecker, location);\n        }\n        if (isPossibleCallHierarchyDeclaration(location)) {\n          const ancestor = findAncestor(location, isValidCallHierarchyDeclaration);\n          return ancestor && findImplementationOrAllInitialDeclarations(typeChecker, ancestor);\n        }\n        if (isDeclarationName(location)) {\n          if (isValidCallHierarchyDeclaration(location.parent)) {\n            return findImplementationOrAllInitialDeclarations(typeChecker, location.parent);\n          }\n          if (isPossibleCallHierarchyDeclaration(location.parent)) {\n            const ancestor = findAncestor(location.parent, isValidCallHierarchyDeclaration);\n            return ancestor && findImplementationOrAllInitialDeclarations(typeChecker, ancestor);\n          }\n          if (isVariableDeclaration(location.parent) && location.parent.initializer && isConstNamedExpression(location.parent.initializer)) {\n            return location.parent.initializer;\n          }\n          return void 0;\n        }\n        if (isConstructorDeclaration(location)) {\n          if (isValidCallHierarchyDeclaration(location.parent)) {\n            return location.parent;\n          }\n          return void 0;\n        }\n        if (location.kind === 124 && isClassStaticBlockDeclaration(location.parent)) {\n          location = location.parent;\n          continue;\n        }\n        if (isVariableDeclaration(location) && location.initializer && isConstNamedExpression(location.initializer)) {\n          return location.initializer;\n        }\n        if (!followingSymbol) {\n          let symbol = typeChecker.getSymbolAtLocation(location);\n          if (symbol) {\n            if (symbol.flags & 2097152) {\n              symbol = typeChecker.getAliasedSymbol(symbol);\n            }\n            if (symbol.valueDeclaration) {\n              followingSymbol = true;\n              location = symbol.valueDeclaration;\n              continue;\n            }\n          }\n        }\n        return void 0;\n      }\n    }\n    function createCallHierarchyItem(program, node) {\n      const sourceFile = node.getSourceFile();\n      const name = getCallHierarchyItemName(program, node);\n      const containerName = getCallHierarchItemContainerName(node);\n      const kind = getNodeKind(node);\n      const kindModifiers = getNodeModifiers(node);\n      const span = createTextSpanFromBounds(skipTrivia(\n        sourceFile.text,\n        node.getFullStart(),\n        /*stopAfterLineBreak*/\n        false,\n        /*stopAtComments*/\n        true\n      ), node.getEnd());\n      const selectionSpan = createTextSpanFromBounds(name.pos, name.end);\n      return { file: sourceFile.fileName, kind, kindModifiers, name: name.text, containerName, span, selectionSpan };\n    }\n    function isDefined(x) {\n      return x !== void 0;\n    }\n    function convertEntryToCallSite(entry) {\n      if (entry.kind === ts_FindAllReferences_exports.EntryKind.Node) {\n        const { node } = entry;\n        if (isCallOrNewExpressionTarget(\n          node,\n          /*includeElementAccess*/\n          true,\n          /*skipPastOuterExpressions*/\n          true\n        ) || isTaggedTemplateTag(\n          node,\n          /*includeElementAccess*/\n          true,\n          /*skipPastOuterExpressions*/\n          true\n        ) || isDecoratorTarget(\n          node,\n          /*includeElementAccess*/\n          true,\n          /*skipPastOuterExpressions*/\n          true\n        ) || isJsxOpeningLikeElementTagName(\n          node,\n          /*includeElementAccess*/\n          true,\n          /*skipPastOuterExpressions*/\n          true\n        ) || isRightSideOfPropertyAccess(node) || isArgumentExpressionOfElementAccess(node)) {\n          const sourceFile = node.getSourceFile();\n          const ancestor = findAncestor(node, isValidCallHierarchyDeclaration) || sourceFile;\n          return { declaration: ancestor, range: createTextRangeFromNode(node, sourceFile) };\n        }\n      }\n    }\n    function getCallSiteGroupKey(entry) {\n      return getNodeId(entry.declaration);\n    }\n    function createCallHierarchyIncomingCall(from, fromSpans) {\n      return { from, fromSpans };\n    }\n    function convertCallSiteGroupToIncomingCall(program, entries) {\n      return createCallHierarchyIncomingCall(createCallHierarchyItem(program, entries[0].declaration), map(entries, (entry) => createTextSpanFromRange(entry.range)));\n    }\n    function getIncomingCalls(program, declaration, cancellationToken) {\n      if (isSourceFile(declaration) || isModuleDeclaration(declaration) || isClassStaticBlockDeclaration(declaration)) {\n        return [];\n      }\n      const location = getCallHierarchyDeclarationReferenceNode(declaration);\n      const calls = filter(ts_FindAllReferences_exports.findReferenceOrRenameEntries(\n        program,\n        cancellationToken,\n        program.getSourceFiles(),\n        location,\n        /*position*/\n        0,\n        { use: ts_FindAllReferences_exports.FindReferencesUse.References },\n        convertEntryToCallSite\n      ), isDefined);\n      return calls ? group(calls, getCallSiteGroupKey, (entries) => convertCallSiteGroupToIncomingCall(program, entries)) : [];\n    }\n    function createCallSiteCollector(program, callSites) {\n      function recordCallSite(node) {\n        const target = isTaggedTemplateExpression(node) ? node.tag : isJsxOpeningLikeElement(node) ? node.tagName : isAccessExpression(node) ? node : isClassStaticBlockDeclaration(node) ? node : node.expression;\n        const declaration = resolveCallHierarchyDeclaration(program, target);\n        if (declaration) {\n          const range = createTextRangeFromNode(target, node.getSourceFile());\n          if (isArray(declaration)) {\n            for (const decl of declaration) {\n              callSites.push({ declaration: decl, range });\n            }\n          } else {\n            callSites.push({ declaration, range });\n          }\n        }\n      }\n      function collect(node) {\n        if (!node)\n          return;\n        if (node.flags & 16777216) {\n          return;\n        }\n        if (isValidCallHierarchyDeclaration(node)) {\n          if (isClassLike(node)) {\n            for (const member of node.members) {\n              if (member.name && isComputedPropertyName(member.name)) {\n                collect(member.name.expression);\n              }\n            }\n          }\n          return;\n        }\n        switch (node.kind) {\n          case 79:\n          case 268:\n          case 269:\n          case 275:\n          case 261:\n          case 262:\n            return;\n          case 172:\n            recordCallSite(node);\n            return;\n          case 213:\n          case 231:\n            collect(node.expression);\n            return;\n          case 257:\n          case 166:\n            collect(node.name);\n            collect(node.initializer);\n            return;\n          case 210:\n            recordCallSite(node);\n            collect(node.expression);\n            forEach(node.arguments, collect);\n            return;\n          case 211:\n            recordCallSite(node);\n            collect(node.expression);\n            forEach(node.arguments, collect);\n            return;\n          case 212:\n            recordCallSite(node);\n            collect(node.tag);\n            collect(node.template);\n            return;\n          case 283:\n          case 282:\n            recordCallSite(node);\n            collect(node.tagName);\n            collect(node.attributes);\n            return;\n          case 167:\n            recordCallSite(node);\n            collect(node.expression);\n            return;\n          case 208:\n          case 209:\n            recordCallSite(node);\n            forEachChild(node, collect);\n            break;\n          case 235:\n            collect(node.expression);\n            return;\n        }\n        if (isPartOfTypeNode(node)) {\n          return;\n        }\n        forEachChild(node, collect);\n      }\n      return collect;\n    }\n    function collectCallSitesOfSourceFile(node, collect) {\n      forEach(node.statements, collect);\n    }\n    function collectCallSitesOfModuleDeclaration(node, collect) {\n      if (!hasSyntacticModifier(\n        node,\n        2\n        /* Ambient */\n      ) && node.body && isModuleBlock(node.body)) {\n        forEach(node.body.statements, collect);\n      }\n    }\n    function collectCallSitesOfFunctionLikeDeclaration(typeChecker, node, collect) {\n      const implementation = findImplementation(typeChecker, node);\n      if (implementation) {\n        forEach(implementation.parameters, collect);\n        collect(implementation.body);\n      }\n    }\n    function collectCallSitesOfClassStaticBlockDeclaration(node, collect) {\n      collect(node.body);\n    }\n    function collectCallSitesOfClassLikeDeclaration(node, collect) {\n      forEach(node.modifiers, collect);\n      const heritage = getClassExtendsHeritageElement(node);\n      if (heritage) {\n        collect(heritage.expression);\n      }\n      for (const member of node.members) {\n        if (canHaveModifiers(member)) {\n          forEach(member.modifiers, collect);\n        }\n        if (isPropertyDeclaration(member)) {\n          collect(member.initializer);\n        } else if (isConstructorDeclaration(member) && member.body) {\n          forEach(member.parameters, collect);\n          collect(member.body);\n        } else if (isClassStaticBlockDeclaration(member)) {\n          collect(member);\n        }\n      }\n    }\n    function collectCallSites(program, node) {\n      const callSites = [];\n      const collect = createCallSiteCollector(program, callSites);\n      switch (node.kind) {\n        case 308:\n          collectCallSitesOfSourceFile(node, collect);\n          break;\n        case 264:\n          collectCallSitesOfModuleDeclaration(node, collect);\n          break;\n        case 259:\n        case 215:\n        case 216:\n        case 171:\n        case 174:\n        case 175:\n          collectCallSitesOfFunctionLikeDeclaration(program.getTypeChecker(), node, collect);\n          break;\n        case 260:\n        case 228:\n          collectCallSitesOfClassLikeDeclaration(node, collect);\n          break;\n        case 172:\n          collectCallSitesOfClassStaticBlockDeclaration(node, collect);\n          break;\n        default:\n          Debug2.assertNever(node);\n      }\n      return callSites;\n    }\n    function createCallHierarchyOutgoingCall(to, fromSpans) {\n      return { to, fromSpans };\n    }\n    function convertCallSiteGroupToOutgoingCall(program, entries) {\n      return createCallHierarchyOutgoingCall(createCallHierarchyItem(program, entries[0].declaration), map(entries, (entry) => createTextSpanFromRange(entry.range)));\n    }\n    function getOutgoingCalls(program, declaration) {\n      if (declaration.flags & 16777216 || isMethodSignature(declaration)) {\n        return [];\n      }\n      return group(collectCallSites(program, declaration), getCallSiteGroupKey, (entries) => convertCallSiteGroupToOutgoingCall(program, entries));\n    }\n    var init_callHierarchy = __esm({\n      \"src/services/callHierarchy.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    var ts_CallHierarchy_exports = {};\n    __export2(ts_CallHierarchy_exports, {\n      createCallHierarchyItem: () => createCallHierarchyItem,\n      getIncomingCalls: () => getIncomingCalls,\n      getOutgoingCalls: () => getOutgoingCalls,\n      resolveCallHierarchyDeclaration: () => resolveCallHierarchyDeclaration\n    });\n    var init_ts_CallHierarchy = __esm({\n      \"src/services/_namespaces/ts.CallHierarchy.ts\"() {\n        \"use strict\";\n        init_callHierarchy();\n      }\n    });\n    function getSemanticClassifications2(program, cancellationToken, sourceFile, span) {\n      const classifications = getEncodedSemanticClassifications2(program, cancellationToken, sourceFile, span);\n      Debug2.assert(classifications.spans.length % 3 === 0);\n      const dense = classifications.spans;\n      const result = [];\n      for (let i = 0; i < dense.length; i += 3) {\n        result.push({\n          textSpan: createTextSpan(dense[i], dense[i + 1]),\n          classificationType: dense[i + 2]\n        });\n      }\n      return result;\n    }\n    function getEncodedSemanticClassifications2(program, cancellationToken, sourceFile, span) {\n      return {\n        spans: getSemanticTokens(program, sourceFile, span, cancellationToken),\n        endOfLineState: 0\n        /* None */\n      };\n    }\n    function getSemanticTokens(program, sourceFile, span, cancellationToken) {\n      const resultTokens = [];\n      const collector = (node, typeIdx, modifierSet) => {\n        resultTokens.push(node.getStart(sourceFile), node.getWidth(sourceFile), (typeIdx + 1 << 8) + modifierSet);\n      };\n      if (program && sourceFile) {\n        collectTokens(program, sourceFile, span, collector, cancellationToken);\n      }\n      return resultTokens;\n    }\n    function collectTokens(program, sourceFile, span, collector, cancellationToken) {\n      const typeChecker = program.getTypeChecker();\n      let inJSXElement = false;\n      function visit(node) {\n        switch (node.kind) {\n          case 264:\n          case 260:\n          case 261:\n          case 259:\n          case 228:\n          case 215:\n          case 216:\n            cancellationToken.throwIfCancellationRequested();\n        }\n        if (!node || !textSpanIntersectsWith(span, node.pos, node.getFullWidth()) || node.getFullWidth() === 0) {\n          return;\n        }\n        const prevInJSXElement = inJSXElement;\n        if (isJsxElement(node) || isJsxSelfClosingElement(node)) {\n          inJSXElement = true;\n        }\n        if (isJsxExpression(node)) {\n          inJSXElement = false;\n        }\n        if (isIdentifier(node) && !inJSXElement && !inImportClause(node) && !isInfinityOrNaNString(node.escapedText)) {\n          let symbol = typeChecker.getSymbolAtLocation(node);\n          if (symbol) {\n            if (symbol.flags & 2097152) {\n              symbol = typeChecker.getAliasedSymbol(symbol);\n            }\n            let typeIdx = classifySymbol2(symbol, getMeaningFromLocation(node));\n            if (typeIdx !== void 0) {\n              let modifierSet = 0;\n              if (node.parent) {\n                const parentIsDeclaration = isBindingElement(node.parent) || tokenFromDeclarationMapping.get(node.parent.kind) === typeIdx;\n                if (parentIsDeclaration && node.parent.name === node) {\n                  modifierSet = 1 << 0;\n                }\n              }\n              if (typeIdx === 6 && isRightSideOfQualifiedNameOrPropertyAccess2(node)) {\n                typeIdx = 9;\n              }\n              typeIdx = reclassifyByType(typeChecker, node, typeIdx);\n              const decl = symbol.valueDeclaration;\n              if (decl) {\n                const modifiers = getCombinedModifierFlags(decl);\n                const nodeFlags = getCombinedNodeFlags(decl);\n                if (modifiers & 32) {\n                  modifierSet |= 1 << 1;\n                }\n                if (modifiers & 512) {\n                  modifierSet |= 1 << 2;\n                }\n                if (typeIdx !== 0 && typeIdx !== 2) {\n                  if (modifiers & 64 || nodeFlags & 2 || symbol.getFlags() & 8) {\n                    modifierSet |= 1 << 3;\n                  }\n                }\n                if ((typeIdx === 7 || typeIdx === 10) && isLocalDeclaration(decl, sourceFile)) {\n                  modifierSet |= 1 << 5;\n                }\n                if (program.isSourceFileDefaultLibrary(decl.getSourceFile())) {\n                  modifierSet |= 1 << 4;\n                }\n              } else if (symbol.declarations && symbol.declarations.some((d) => program.isSourceFileDefaultLibrary(d.getSourceFile()))) {\n                modifierSet |= 1 << 4;\n              }\n              collector(node, typeIdx, modifierSet);\n            }\n          }\n        }\n        forEachChild(node, visit);\n        inJSXElement = prevInJSXElement;\n      }\n      visit(sourceFile);\n    }\n    function classifySymbol2(symbol, meaning) {\n      const flags = symbol.getFlags();\n      if (flags & 32) {\n        return 0;\n      } else if (flags & 384) {\n        return 1;\n      } else if (flags & 524288) {\n        return 5;\n      } else if (flags & 64) {\n        if (meaning & 2) {\n          return 2;\n        }\n      } else if (flags & 262144) {\n        return 4;\n      }\n      let decl = symbol.valueDeclaration || symbol.declarations && symbol.declarations[0];\n      if (decl && isBindingElement(decl)) {\n        decl = getDeclarationForBindingElement(decl);\n      }\n      return decl && tokenFromDeclarationMapping.get(decl.kind);\n    }\n    function reclassifyByType(typeChecker, node, typeIdx) {\n      if (typeIdx === 7 || typeIdx === 9 || typeIdx === 6) {\n        const type = typeChecker.getTypeAtLocation(node);\n        if (type) {\n          const test = (condition) => {\n            return condition(type) || type.isUnion() && type.types.some(condition);\n          };\n          if (typeIdx !== 6 && test((t) => t.getConstructSignatures().length > 0)) {\n            return 0;\n          }\n          if (test((t) => t.getCallSignatures().length > 0) && !test((t) => t.getProperties().length > 0) || isExpressionInCallExpression(node)) {\n            return typeIdx === 9 ? 11 : 10;\n          }\n        }\n      }\n      return typeIdx;\n    }\n    function isLocalDeclaration(decl, sourceFile) {\n      if (isBindingElement(decl)) {\n        decl = getDeclarationForBindingElement(decl);\n      }\n      if (isVariableDeclaration(decl)) {\n        return (!isSourceFile(decl.parent.parent.parent) || isCatchClause(decl.parent)) && decl.getSourceFile() === sourceFile;\n      } else if (isFunctionDeclaration(decl)) {\n        return !isSourceFile(decl.parent) && decl.getSourceFile() === sourceFile;\n      }\n      return false;\n    }\n    function getDeclarationForBindingElement(element) {\n      while (true) {\n        if (isBindingElement(element.parent.parent)) {\n          element = element.parent.parent;\n        } else {\n          return element.parent.parent;\n        }\n      }\n    }\n    function inImportClause(node) {\n      const parent2 = node.parent;\n      return parent2 && (isImportClause(parent2) || isImportSpecifier(parent2) || isNamespaceImport(parent2));\n    }\n    function isExpressionInCallExpression(node) {\n      while (isRightSideOfQualifiedNameOrPropertyAccess2(node)) {\n        node = node.parent;\n      }\n      return isCallExpression(node.parent) && node.parent.expression === node;\n    }\n    function isRightSideOfQualifiedNameOrPropertyAccess2(node) {\n      return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node;\n    }\n    var TokenEncodingConsts, TokenType, TokenModifier, tokenFromDeclarationMapping;\n    var init_classifier2020 = __esm({\n      \"src/services/classifier2020.ts\"() {\n        \"use strict\";\n        init_ts4();\n        TokenEncodingConsts = /* @__PURE__ */ ((TokenEncodingConsts2) => {\n          TokenEncodingConsts2[TokenEncodingConsts2[\"typeOffset\"] = 8] = \"typeOffset\";\n          TokenEncodingConsts2[TokenEncodingConsts2[\"modifierMask\"] = 255] = \"modifierMask\";\n          return TokenEncodingConsts2;\n        })(TokenEncodingConsts || {});\n        TokenType = /* @__PURE__ */ ((TokenType2) => {\n          TokenType2[TokenType2[\"class\"] = 0] = \"class\";\n          TokenType2[TokenType2[\"enum\"] = 1] = \"enum\";\n          TokenType2[TokenType2[\"interface\"] = 2] = \"interface\";\n          TokenType2[TokenType2[\"namespace\"] = 3] = \"namespace\";\n          TokenType2[TokenType2[\"typeParameter\"] = 4] = \"typeParameter\";\n          TokenType2[TokenType2[\"type\"] = 5] = \"type\";\n          TokenType2[TokenType2[\"parameter\"] = 6] = \"parameter\";\n          TokenType2[TokenType2[\"variable\"] = 7] = \"variable\";\n          TokenType2[TokenType2[\"enumMember\"] = 8] = \"enumMember\";\n          TokenType2[TokenType2[\"property\"] = 9] = \"property\";\n          TokenType2[TokenType2[\"function\"] = 10] = \"function\";\n          TokenType2[TokenType2[\"member\"] = 11] = \"member\";\n          return TokenType2;\n        })(TokenType || {});\n        TokenModifier = /* @__PURE__ */ ((TokenModifier2) => {\n          TokenModifier2[TokenModifier2[\"declaration\"] = 0] = \"declaration\";\n          TokenModifier2[TokenModifier2[\"static\"] = 1] = \"static\";\n          TokenModifier2[TokenModifier2[\"async\"] = 2] = \"async\";\n          TokenModifier2[TokenModifier2[\"readonly\"] = 3] = \"readonly\";\n          TokenModifier2[TokenModifier2[\"defaultLibrary\"] = 4] = \"defaultLibrary\";\n          TokenModifier2[TokenModifier2[\"local\"] = 5] = \"local\";\n          return TokenModifier2;\n        })(TokenModifier || {});\n        tokenFromDeclarationMapping = /* @__PURE__ */ new Map([\n          [\n            257,\n            7\n            /* variable */\n          ],\n          [\n            166,\n            6\n            /* parameter */\n          ],\n          [\n            169,\n            9\n            /* property */\n          ],\n          [\n            264,\n            3\n            /* namespace */\n          ],\n          [\n            263,\n            1\n            /* enum */\n          ],\n          [\n            302,\n            8\n            /* enumMember */\n          ],\n          [\n            260,\n            0\n            /* class */\n          ],\n          [\n            171,\n            11\n            /* member */\n          ],\n          [\n            259,\n            10\n            /* function */\n          ],\n          [\n            215,\n            10\n            /* function */\n          ],\n          [\n            170,\n            11\n            /* member */\n          ],\n          [\n            174,\n            9\n            /* property */\n          ],\n          [\n            175,\n            9\n            /* property */\n          ],\n          [\n            168,\n            9\n            /* property */\n          ],\n          [\n            261,\n            2\n            /* interface */\n          ],\n          [\n            262,\n            5\n            /* type */\n          ],\n          [\n            165,\n            4\n            /* typeParameter */\n          ],\n          [\n            299,\n            9\n            /* property */\n          ],\n          [\n            300,\n            9\n            /* property */\n          ]\n        ]);\n      }\n    });\n    var ts_classifier_v2020_exports = {};\n    __export2(ts_classifier_v2020_exports, {\n      TokenEncodingConsts: () => TokenEncodingConsts,\n      TokenModifier: () => TokenModifier,\n      TokenType: () => TokenType,\n      getEncodedSemanticClassifications: () => getEncodedSemanticClassifications2,\n      getSemanticClassifications: () => getSemanticClassifications2\n    });\n    var init_ts_classifier_v2020 = __esm({\n      \"src/services/_namespaces/ts.classifier.v2020.ts\"() {\n        \"use strict\";\n        init_classifier2020();\n      }\n    });\n    var ts_classifier_exports = {};\n    __export2(ts_classifier_exports, {\n      v2020: () => ts_classifier_v2020_exports\n    });\n    var init_ts_classifier = __esm({\n      \"src/services/_namespaces/ts.classifier.ts\"() {\n        \"use strict\";\n        init_ts_classifier_v2020();\n      }\n    });\n    function createCodeFixActionWithoutFixAll(fixName8, changes, description2) {\n      return createCodeFixActionWorker(\n        fixName8,\n        diagnosticToString(description2),\n        changes,\n        /*fixId*/\n        void 0,\n        /*fixAllDescription*/\n        void 0\n      );\n    }\n    function createCodeFixAction(fixName8, changes, description2, fixId51, fixAllDescription, command) {\n      return createCodeFixActionWorker(fixName8, diagnosticToString(description2), changes, fixId51, diagnosticToString(fixAllDescription), command);\n    }\n    function createCodeFixActionMaybeFixAll(fixName8, changes, description2, fixId51, fixAllDescription, command) {\n      return createCodeFixActionWorker(fixName8, diagnosticToString(description2), changes, fixId51, fixAllDescription && diagnosticToString(fixAllDescription), command);\n    }\n    function createCodeFixActionWorker(fixName8, description2, changes, fixId51, fixAllDescription, command) {\n      return { fixName: fixName8, description: description2, changes, fixId: fixId51, fixAllDescription, commands: command ? [command] : void 0 };\n    }\n    function registerCodeFix(reg) {\n      for (const error of reg.errorCodes) {\n        errorCodeToFixes.add(String(error), reg);\n      }\n      if (reg.fixIds) {\n        for (const fixId51 of reg.fixIds) {\n          Debug2.assert(!fixIdToRegistration.has(fixId51));\n          fixIdToRegistration.set(fixId51, reg);\n        }\n      }\n    }\n    function getSupportedErrorCodes() {\n      return arrayFrom(errorCodeToFixes.keys());\n    }\n    function removeFixIdIfFixAllUnavailable(registration, diagnostics) {\n      const { errorCodes: errorCodes63 } = registration;\n      let maybeFixableDiagnostics = 0;\n      for (const diag2 of diagnostics) {\n        if (contains(errorCodes63, diag2.code))\n          maybeFixableDiagnostics++;\n        if (maybeFixableDiagnostics > 1)\n          break;\n      }\n      const fixAllUnavailable = maybeFixableDiagnostics < 2;\n      return ({ fixId: fixId51, fixAllDescription, ...action }) => {\n        return fixAllUnavailable ? action : { ...action, fixId: fixId51, fixAllDescription };\n      };\n    }\n    function getFixes(context) {\n      const diagnostics = getDiagnostics(context);\n      const registrations = errorCodeToFixes.get(String(context.errorCode));\n      return flatMap(registrations, (f) => map(f.getCodeActions(context), removeFixIdIfFixAllUnavailable(f, diagnostics)));\n    }\n    function getAllFixes(context) {\n      return fixIdToRegistration.get(cast(context.fixId, isString2)).getAllCodeActions(context);\n    }\n    function createCombinedCodeActions(changes, commands) {\n      return { changes, commands };\n    }\n    function createFileTextChanges(fileName, textChanges2) {\n      return { fileName, textChanges: textChanges2 };\n    }\n    function codeFixAll(context, errorCodes63, use) {\n      const commands = [];\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => eachDiagnostic(context, errorCodes63, (diag2) => use(t, diag2, commands)));\n      return createCombinedCodeActions(changes, commands.length === 0 ? void 0 : commands);\n    }\n    function eachDiagnostic(context, errorCodes63, cb) {\n      for (const diag2 of getDiagnostics(context)) {\n        if (contains(errorCodes63, diag2.code)) {\n          cb(diag2);\n        }\n      }\n    }\n    function getDiagnostics({ program, sourceFile, cancellationToken }) {\n      return [\n        ...program.getSemanticDiagnostics(sourceFile, cancellationToken),\n        ...program.getSyntacticDiagnostics(sourceFile, cancellationToken),\n        ...computeSuggestionDiagnostics(sourceFile, program, cancellationToken)\n      ];\n    }\n    var errorCodeToFixes, fixIdToRegistration;\n    var init_codeFixProvider = __esm({\n      \"src/services/codeFixProvider.ts\"() {\n        \"use strict\";\n        init_ts4();\n        errorCodeToFixes = createMultiMap();\n        fixIdToRegistration = /* @__PURE__ */ new Map();\n      }\n    });\n    function makeChange(changeTracker, sourceFile, assertion) {\n      const replacement = isAsExpression(assertion) ? factory.createAsExpression(assertion.expression, factory.createKeywordTypeNode(\n        157\n        /* UnknownKeyword */\n      )) : factory.createTypeAssertion(factory.createKeywordTypeNode(\n        157\n        /* UnknownKeyword */\n      ), assertion.expression);\n      changeTracker.replaceNode(sourceFile, assertion.expression, replacement);\n    }\n    function getAssertion(sourceFile, pos) {\n      if (isInJSFile(sourceFile))\n        return void 0;\n      return findAncestor(getTokenAtPosition(sourceFile, pos), (n) => isAsExpression(n) || isTypeAssertionExpression(n));\n    }\n    var fixId, errorCodes;\n    var init_addConvertToUnknownForNonOverlappingTypes = __esm({\n      \"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId = \"addConvertToUnknownForNonOverlappingTypes\";\n        errorCodes = [Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];\n        registerCodeFix({\n          errorCodes,\n          getCodeActions: function getCodeActionsToAddConvertToUnknownForNonOverlappingTypes(context) {\n            const assertion = getAssertion(context.sourceFile, context.span.start);\n            if (assertion === void 0)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange(t, context.sourceFile, assertion));\n            return [createCodeFixAction(fixId, changes, Diagnostics.Add_unknown_conversion_for_non_overlapping_types, fixId, Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)];\n          },\n          fixIds: [fixId],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes, (changes, diag2) => {\n            const assertion = getAssertion(diag2.file, diag2.start);\n            if (assertion) {\n              makeChange(changes, diag2.file, assertion);\n            }\n          })\n        });\n      }\n    });\n    var init_addEmptyExportDeclaration = __esm({\n      \"src/services/codefixes/addEmptyExportDeclaration.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        registerCodeFix({\n          errorCodes: [\n            Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,\n            Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code\n          ],\n          getCodeActions: function getCodeActionsToAddEmptyExportDeclaration(context) {\n            const { sourceFile } = context;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n              const exportDeclaration = factory.createExportDeclaration(\n                /*modifiers*/\n                void 0,\n                /*isTypeOnly*/\n                false,\n                factory.createNamedExports([]),\n                /*moduleSpecifier*/\n                void 0\n              );\n              changes2.insertNodeAtEndOfScope(sourceFile, sourceFile, exportDeclaration);\n            });\n            return [createCodeFixActionWithoutFixAll(\"addEmptyExportDeclaration\", changes, Diagnostics.Add_export_to_make_this_file_into_a_module)];\n          }\n        });\n      }\n    });\n    function getFix(context, decl, trackChanges, fixedDeclarations) {\n      const changes = trackChanges((t) => makeChange2(t, context.sourceFile, decl, fixedDeclarations));\n      return createCodeFixAction(fixId2, changes, Diagnostics.Add_async_modifier_to_containing_function, fixId2, Diagnostics.Add_all_missing_async_modifiers);\n    }\n    function makeChange2(changeTracker, sourceFile, insertionSite, fixedDeclarations) {\n      if (fixedDeclarations) {\n        if (fixedDeclarations.has(getNodeId(insertionSite))) {\n          return;\n        }\n      }\n      fixedDeclarations == null ? void 0 : fixedDeclarations.add(getNodeId(insertionSite));\n      const cloneWithModifier = factory.updateModifiers(\n        getSynthesizedDeepClone(\n          insertionSite,\n          /*includeTrivia*/\n          true\n        ),\n        factory.createNodeArray(factory.createModifiersFromModifierFlags(\n          getSyntacticModifierFlags(insertionSite) | 512\n          /* Async */\n        ))\n      );\n      changeTracker.replaceNode(\n        sourceFile,\n        insertionSite,\n        cloneWithModifier\n      );\n    }\n    function getFixableErrorSpanDeclaration(sourceFile, span) {\n      if (!span)\n        return void 0;\n      const token = getTokenAtPosition(sourceFile, span.start);\n      const decl = findAncestor(token, (node) => {\n        if (node.getStart(sourceFile) < span.start || node.getEnd() > textSpanEnd(span)) {\n          return \"quit\";\n        }\n        return (isArrowFunction(node) || isMethodDeclaration(node) || isFunctionExpression(node) || isFunctionDeclaration(node)) && textSpansEqual(span, createTextSpanFromNode(node, sourceFile));\n      });\n      return decl;\n    }\n    function getIsMatchingAsyncError(span, errorCode) {\n      return ({ start, length: length2, relatedInformation, code }) => isNumber(start) && isNumber(length2) && textSpansEqual({ start, length: length2 }, span) && code === errorCode && !!relatedInformation && some(relatedInformation, (related) => related.code === Diagnostics.Did_you_mean_to_mark_this_function_as_async.code);\n    }\n    var fixId2, errorCodes2;\n    var init_addMissingAsync = __esm({\n      \"src/services/codefixes/addMissingAsync.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId2 = \"addMissingAsync\";\n        errorCodes2 = [\n          Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n          Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n          Diagnostics.Type_0_is_not_comparable_to_type_1.code\n        ];\n        registerCodeFix({\n          fixIds: [fixId2],\n          errorCodes: errorCodes2,\n          getCodeActions: function getCodeActionsToAddMissingAsync(context) {\n            const { sourceFile, errorCode, cancellationToken, program, span } = context;\n            const diagnostic = find(program.getTypeChecker().getDiagnostics(sourceFile, cancellationToken), getIsMatchingAsyncError(span, errorCode));\n            const directSpan = diagnostic && diagnostic.relatedInformation && find(diagnostic.relatedInformation, (r) => r.code === Diagnostics.Did_you_mean_to_mark_this_function_as_async.code);\n            const decl = getFixableErrorSpanDeclaration(sourceFile, directSpan);\n            if (!decl) {\n              return;\n            }\n            const trackChanges = (cb) => ts_textChanges_exports.ChangeTracker.with(context, cb);\n            return [getFix(context, decl, trackChanges)];\n          },\n          getAllCodeActions: (context) => {\n            const { sourceFile } = context;\n            const fixedDeclarations = /* @__PURE__ */ new Set();\n            return codeFixAll(context, errorCodes2, (t, diagnostic) => {\n              const span = diagnostic.relatedInformation && find(diagnostic.relatedInformation, (r) => r.code === Diagnostics.Did_you_mean_to_mark_this_function_as_async.code);\n              const decl = getFixableErrorSpanDeclaration(sourceFile, span);\n              if (!decl) {\n                return;\n              }\n              const trackChanges = (cb) => (cb(t), []);\n              return getFix(context, decl, trackChanges, fixedDeclarations);\n            });\n          }\n        });\n      }\n    });\n    function getAwaitErrorSpanExpression(sourceFile, errorCode, span, cancellationToken, program) {\n      const expression = getFixableErrorSpanExpression(sourceFile, span);\n      return expression && isMissingAwaitError(sourceFile, errorCode, span, cancellationToken, program) && isInsideAwaitableBody(expression) ? expression : void 0;\n    }\n    function getDeclarationSiteFix(context, expression, errorCode, checker, trackChanges, fixedDeclarations) {\n      const { sourceFile, program, cancellationToken } = context;\n      const awaitableInitializers = findAwaitableInitializers(expression, sourceFile, cancellationToken, program, checker);\n      if (awaitableInitializers) {\n        const initializerChanges = trackChanges((t) => {\n          forEach(awaitableInitializers.initializers, ({ expression: expression2 }) => makeChange3(t, errorCode, sourceFile, checker, expression2, fixedDeclarations));\n          if (fixedDeclarations && awaitableInitializers.needsSecondPassForFixAll) {\n            makeChange3(t, errorCode, sourceFile, checker, expression, fixedDeclarations);\n          }\n        });\n        return createCodeFixActionWithoutFixAll(\n          \"addMissingAwaitToInitializer\",\n          initializerChanges,\n          awaitableInitializers.initializers.length === 1 ? [Diagnostics.Add_await_to_initializer_for_0, awaitableInitializers.initializers[0].declarationSymbol.name] : Diagnostics.Add_await_to_initializers\n        );\n      }\n    }\n    function getUseSiteFix(context, expression, errorCode, checker, trackChanges, fixedDeclarations) {\n      const changes = trackChanges((t) => makeChange3(t, errorCode, context.sourceFile, checker, expression, fixedDeclarations));\n      return createCodeFixAction(fixId3, changes, Diagnostics.Add_await, fixId3, Diagnostics.Fix_all_expressions_possibly_missing_await);\n    }\n    function isMissingAwaitError(sourceFile, errorCode, span, cancellationToken, program) {\n      const checker = program.getTypeChecker();\n      const diagnostics = checker.getDiagnostics(sourceFile, cancellationToken);\n      return some(diagnostics, ({ start, length: length2, relatedInformation, code }) => isNumber(start) && isNumber(length2) && textSpansEqual({ start, length: length2 }, span) && code === errorCode && !!relatedInformation && some(relatedInformation, (related) => related.code === Diagnostics.Did_you_forget_to_use_await.code));\n    }\n    function findAwaitableInitializers(expression, sourceFile, cancellationToken, program, checker) {\n      const identifiers = getIdentifiersFromErrorSpanExpression(expression, checker);\n      if (!identifiers) {\n        return;\n      }\n      let isCompleteFix = identifiers.isCompleteFix;\n      let initializers;\n      for (const identifier of identifiers.identifiers) {\n        const symbol = checker.getSymbolAtLocation(identifier);\n        if (!symbol) {\n          continue;\n        }\n        const declaration = tryCast(symbol.valueDeclaration, isVariableDeclaration);\n        const variableName = declaration && tryCast(declaration.name, isIdentifier);\n        const variableStatement = getAncestor(\n          declaration,\n          240\n          /* VariableStatement */\n        );\n        if (!declaration || !variableStatement || declaration.type || !declaration.initializer || variableStatement.getSourceFile() !== sourceFile || hasSyntacticModifier(\n          variableStatement,\n          1\n          /* Export */\n        ) || !variableName || !isInsideAwaitableBody(declaration.initializer)) {\n          isCompleteFix = false;\n          continue;\n        }\n        const diagnostics = program.getSemanticDiagnostics(sourceFile, cancellationToken);\n        const isUsedElsewhere = ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(variableName, checker, sourceFile, (reference) => {\n          return identifier !== reference && !symbolReferenceIsAlsoMissingAwait(reference, diagnostics, sourceFile, checker);\n        });\n        if (isUsedElsewhere) {\n          isCompleteFix = false;\n          continue;\n        }\n        (initializers || (initializers = [])).push({\n          expression: declaration.initializer,\n          declarationSymbol: symbol\n        });\n      }\n      return initializers && {\n        initializers,\n        needsSecondPassForFixAll: !isCompleteFix\n      };\n    }\n    function getIdentifiersFromErrorSpanExpression(expression, checker) {\n      if (isPropertyAccessExpression(expression.parent) && isIdentifier(expression.parent.expression)) {\n        return { identifiers: [expression.parent.expression], isCompleteFix: true };\n      }\n      if (isIdentifier(expression)) {\n        return { identifiers: [expression], isCompleteFix: true };\n      }\n      if (isBinaryExpression(expression)) {\n        let sides;\n        let isCompleteFix = true;\n        for (const side of [expression.left, expression.right]) {\n          const type = checker.getTypeAtLocation(side);\n          if (checker.getPromisedTypeOfPromise(type)) {\n            if (!isIdentifier(side)) {\n              isCompleteFix = false;\n              continue;\n            }\n            (sides || (sides = [])).push(side);\n          }\n        }\n        return sides && { identifiers: sides, isCompleteFix };\n      }\n    }\n    function symbolReferenceIsAlsoMissingAwait(reference, diagnostics, sourceFile, checker) {\n      const errorNode = isPropertyAccessExpression(reference.parent) ? reference.parent.name : isBinaryExpression(reference.parent) ? reference.parent : reference;\n      const diagnostic = find(diagnostics, (diagnostic2) => diagnostic2.start === errorNode.getStart(sourceFile) && diagnostic2.start + diagnostic2.length === errorNode.getEnd());\n      return diagnostic && contains(errorCodes3, diagnostic.code) || // A Promise is usually not correct in a binary expression (it’s not valid\n      // in an arithmetic expression and an equality comparison seems unusual),\n      // but if the other side of the binary expression has an error, the side\n      // is typed `any` which will squash the error that would identify this\n      // Promise as an invalid operand. So if the whole binary expression is\n      // typed `any` as a result, there is a strong likelihood that this Promise\n      // is accidentally missing `await`.\n      checker.getTypeAtLocation(errorNode).flags & 1;\n    }\n    function isInsideAwaitableBody(node) {\n      return node.kind & 32768 || !!findAncestor(node, (ancestor) => ancestor.parent && isArrowFunction(ancestor.parent) && ancestor.parent.body === ancestor || isBlock(ancestor) && (ancestor.parent.kind === 259 || ancestor.parent.kind === 215 || ancestor.parent.kind === 216 || ancestor.parent.kind === 171));\n    }\n    function makeChange3(changeTracker, errorCode, sourceFile, checker, insertionSite, fixedDeclarations) {\n      if (isForOfStatement(insertionSite.parent) && !insertionSite.parent.awaitModifier) {\n        const exprType = checker.getTypeAtLocation(insertionSite);\n        const asyncIter = checker.getAsyncIterableType();\n        if (asyncIter && checker.isTypeAssignableTo(exprType, asyncIter)) {\n          const forOf = insertionSite.parent;\n          changeTracker.replaceNode(sourceFile, forOf, factory.updateForOfStatement(forOf, factory.createToken(\n            133\n            /* AwaitKeyword */\n          ), forOf.initializer, forOf.expression, forOf.statement));\n          return;\n        }\n      }\n      if (isBinaryExpression(insertionSite)) {\n        for (const side of [insertionSite.left, insertionSite.right]) {\n          if (fixedDeclarations && isIdentifier(side)) {\n            const symbol = checker.getSymbolAtLocation(side);\n            if (symbol && fixedDeclarations.has(getSymbolId(symbol))) {\n              continue;\n            }\n          }\n          const type = checker.getTypeAtLocation(side);\n          const newNode = checker.getPromisedTypeOfPromise(type) ? factory.createAwaitExpression(side) : side;\n          changeTracker.replaceNode(sourceFile, side, newNode);\n        }\n      } else if (errorCode === propertyAccessCode && isPropertyAccessExpression(insertionSite.parent)) {\n        if (fixedDeclarations && isIdentifier(insertionSite.parent.expression)) {\n          const symbol = checker.getSymbolAtLocation(insertionSite.parent.expression);\n          if (symbol && fixedDeclarations.has(getSymbolId(symbol))) {\n            return;\n          }\n        }\n        changeTracker.replaceNode(\n          sourceFile,\n          insertionSite.parent.expression,\n          factory.createParenthesizedExpression(factory.createAwaitExpression(insertionSite.parent.expression))\n        );\n        insertLeadingSemicolonIfNeeded(changeTracker, insertionSite.parent.expression, sourceFile);\n      } else if (contains(callableConstructableErrorCodes, errorCode) && isCallOrNewExpression(insertionSite.parent)) {\n        if (fixedDeclarations && isIdentifier(insertionSite)) {\n          const symbol = checker.getSymbolAtLocation(insertionSite);\n          if (symbol && fixedDeclarations.has(getSymbolId(symbol))) {\n            return;\n          }\n        }\n        changeTracker.replaceNode(sourceFile, insertionSite, factory.createParenthesizedExpression(factory.createAwaitExpression(insertionSite)));\n        insertLeadingSemicolonIfNeeded(changeTracker, insertionSite, sourceFile);\n      } else {\n        if (fixedDeclarations && isVariableDeclaration(insertionSite.parent) && isIdentifier(insertionSite.parent.name)) {\n          const symbol = checker.getSymbolAtLocation(insertionSite.parent.name);\n          if (symbol && !tryAddToSet(fixedDeclarations, getSymbolId(symbol))) {\n            return;\n          }\n        }\n        changeTracker.replaceNode(sourceFile, insertionSite, factory.createAwaitExpression(insertionSite));\n      }\n    }\n    function insertLeadingSemicolonIfNeeded(changeTracker, beforeNode, sourceFile) {\n      const precedingToken = findPrecedingToken(beforeNode.pos, sourceFile);\n      if (precedingToken && positionIsASICandidate(precedingToken.end, precedingToken.parent, sourceFile)) {\n        changeTracker.insertText(sourceFile, beforeNode.getStart(sourceFile), \";\");\n      }\n    }\n    var fixId3, propertyAccessCode, callableConstructableErrorCodes, errorCodes3;\n    var init_addMissingAwait = __esm({\n      \"src/services/codefixes/addMissingAwait.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId3 = \"addMissingAwait\";\n        propertyAccessCode = Diagnostics.Property_0_does_not_exist_on_type_1.code;\n        callableConstructableErrorCodes = [\n          Diagnostics.This_expression_is_not_callable.code,\n          Diagnostics.This_expression_is_not_constructable.code\n        ];\n        errorCodes3 = [\n          Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,\n          Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,\n          Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,\n          Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,\n          Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,\n          Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,\n          Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,\n          Diagnostics.Type_0_is_not_an_array_type.code,\n          Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,\n          Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,\n          Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,\n          Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,\n          Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,\n          Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,\n          Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n          propertyAccessCode,\n          ...callableConstructableErrorCodes\n        ];\n        registerCodeFix({\n          fixIds: [fixId3],\n          errorCodes: errorCodes3,\n          getCodeActions: function getCodeActionsToAddMissingAwait(context) {\n            const { sourceFile, errorCode, span, cancellationToken, program } = context;\n            const expression = getAwaitErrorSpanExpression(sourceFile, errorCode, span, cancellationToken, program);\n            if (!expression) {\n              return;\n            }\n            const checker = context.program.getTypeChecker();\n            const trackChanges = (cb) => ts_textChanges_exports.ChangeTracker.with(context, cb);\n            return compact([\n              getDeclarationSiteFix(context, expression, errorCode, checker, trackChanges),\n              getUseSiteFix(context, expression, errorCode, checker, trackChanges)\n            ]);\n          },\n          getAllCodeActions: (context) => {\n            const { sourceFile, program, cancellationToken } = context;\n            const checker = context.program.getTypeChecker();\n            const fixedDeclarations = /* @__PURE__ */ new Set();\n            return codeFixAll(context, errorCodes3, (t, diagnostic) => {\n              const expression = getAwaitErrorSpanExpression(sourceFile, diagnostic.code, diagnostic, cancellationToken, program);\n              if (!expression) {\n                return;\n              }\n              const trackChanges = (cb) => (cb(t), []);\n              return getDeclarationSiteFix(context, expression, diagnostic.code, checker, trackChanges, fixedDeclarations) || getUseSiteFix(context, expression, diagnostic.code, checker, trackChanges, fixedDeclarations);\n            });\n          }\n        });\n      }\n    });\n    function makeChange4(changeTracker, sourceFile, pos, program, fixedNodes) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      const forInitializer = findAncestor(\n        token,\n        (node) => isForInOrOfStatement(node.parent) ? node.parent.initializer === node : isPossiblyPartOfDestructuring(node) ? false : \"quit\"\n      );\n      if (forInitializer)\n        return applyChange(changeTracker, forInitializer, sourceFile, fixedNodes);\n      const parent2 = token.parent;\n      if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 63 && isExpressionStatement(parent2.parent)) {\n        return applyChange(changeTracker, token, sourceFile, fixedNodes);\n      }\n      if (isArrayLiteralExpression(parent2)) {\n        const checker = program.getTypeChecker();\n        if (!every(parent2.elements, (element) => arrayElementCouldBeVariableDeclaration(element, checker))) {\n          return;\n        }\n        return applyChange(changeTracker, parent2, sourceFile, fixedNodes);\n      }\n      const commaExpression = findAncestor(\n        token,\n        (node) => isExpressionStatement(node.parent) ? true : isPossiblyPartOfCommaSeperatedInitializer(node) ? false : \"quit\"\n      );\n      if (commaExpression) {\n        const checker = program.getTypeChecker();\n        if (!expressionCouldBeVariableDeclaration(commaExpression, checker)) {\n          return;\n        }\n        return applyChange(changeTracker, commaExpression, sourceFile, fixedNodes);\n      }\n    }\n    function applyChange(changeTracker, initializer, sourceFile, fixedNodes) {\n      if (!fixedNodes || tryAddToSet(fixedNodes, initializer)) {\n        changeTracker.insertModifierBefore(sourceFile, 85, initializer);\n      }\n    }\n    function isPossiblyPartOfDestructuring(node) {\n      switch (node.kind) {\n        case 79:\n        case 206:\n        case 207:\n        case 299:\n        case 300:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function arrayElementCouldBeVariableDeclaration(expression, checker) {\n      const identifier = isIdentifier(expression) ? expression : isAssignmentExpression(\n        expression,\n        /*excludeCompoundAssignment*/\n        true\n      ) && isIdentifier(expression.left) ? expression.left : void 0;\n      return !!identifier && !checker.getSymbolAtLocation(identifier);\n    }\n    function isPossiblyPartOfCommaSeperatedInitializer(node) {\n      switch (node.kind) {\n        case 79:\n        case 223:\n        case 27:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function expressionCouldBeVariableDeclaration(expression, checker) {\n      if (!isBinaryExpression(expression)) {\n        return false;\n      }\n      if (expression.operatorToken.kind === 27) {\n        return every([expression.left, expression.right], (expression2) => expressionCouldBeVariableDeclaration(expression2, checker));\n      }\n      return expression.operatorToken.kind === 63 && isIdentifier(expression.left) && !checker.getSymbolAtLocation(expression.left);\n    }\n    var fixId4, errorCodes4;\n    var init_addMissingConst = __esm({\n      \"src/services/codefixes/addMissingConst.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId4 = \"addMissingConst\";\n        errorCodes4 = [\n          Diagnostics.Cannot_find_name_0.code,\n          Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes4,\n          getCodeActions: function getCodeActionsToAddMissingConst(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange4(t, context.sourceFile, context.span.start, context.program));\n            if (changes.length > 0) {\n              return [createCodeFixAction(fixId4, changes, Diagnostics.Add_const_to_unresolved_variable, fixId4, Diagnostics.Add_const_to_all_unresolved_variables)];\n            }\n          },\n          fixIds: [fixId4],\n          getAllCodeActions: (context) => {\n            const fixedNodes = /* @__PURE__ */ new Set();\n            return codeFixAll(context, errorCodes4, (changes, diag2) => makeChange4(changes, diag2.file, diag2.start, context.program, fixedNodes));\n          }\n        });\n      }\n    });\n    function makeChange5(changeTracker, sourceFile, pos, fixedNodes) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (!isIdentifier(token)) {\n        return;\n      }\n      const declaration = token.parent;\n      if (declaration.kind === 169 && (!fixedNodes || tryAddToSet(fixedNodes, declaration))) {\n        changeTracker.insertModifierBefore(sourceFile, 136, declaration);\n      }\n    }\n    var fixId5, errorCodes5;\n    var init_addMissingDeclareProperty = __esm({\n      \"src/services/codefixes/addMissingDeclareProperty.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId5 = \"addMissingDeclareProperty\";\n        errorCodes5 = [\n          Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes5,\n          getCodeActions: function getCodeActionsToAddMissingDeclareOnProperty(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange5(t, context.sourceFile, context.span.start));\n            if (changes.length > 0) {\n              return [createCodeFixAction(fixId5, changes, Diagnostics.Prefix_with_declare, fixId5, Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)];\n            }\n          },\n          fixIds: [fixId5],\n          getAllCodeActions: (context) => {\n            const fixedNodes = /* @__PURE__ */ new Set();\n            return codeFixAll(context, errorCodes5, (changes, diag2) => makeChange5(changes, diag2.file, diag2.start, fixedNodes));\n          }\n        });\n      }\n    });\n    function makeChange6(changeTracker, sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      const decorator = findAncestor(token, isDecorator);\n      Debug2.assert(!!decorator, \"Expected position to be owned by a decorator.\");\n      const replacement = factory.createCallExpression(\n        decorator.expression,\n        /*typeArguments*/\n        void 0,\n        /*argumentsArray*/\n        void 0\n      );\n      changeTracker.replaceNode(sourceFile, decorator.expression, replacement);\n    }\n    var fixId6, errorCodes6;\n    var init_addMissingInvocationForDecorator = __esm({\n      \"src/services/codefixes/addMissingInvocationForDecorator.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId6 = \"addMissingInvocationForDecorator\";\n        errorCodes6 = [Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];\n        registerCodeFix({\n          errorCodes: errorCodes6,\n          getCodeActions: function getCodeActionsToAddMissingInvocationForDecorator(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange6(t, context.sourceFile, context.span.start));\n            return [createCodeFixAction(fixId6, changes, Diagnostics.Call_decorator_expression, fixId6, Diagnostics.Add_to_all_uncalled_decorators)];\n          },\n          fixIds: [fixId6],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes6, (changes, diag2) => makeChange6(changes, diag2.file, diag2.start))\n        });\n      }\n    });\n    function makeChange7(changeTracker, sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      const param = token.parent;\n      if (!isParameter(param)) {\n        return Debug2.fail(\"Tried to add a parameter name to a non-parameter: \" + Debug2.formatSyntaxKind(token.kind));\n      }\n      const i = param.parent.parameters.indexOf(param);\n      Debug2.assert(!param.type, \"Tried to add a parameter name to a parameter that already had one.\");\n      Debug2.assert(i > -1, \"Parameter not found in parent parameter list.\");\n      const typeNode = factory.createTypeReferenceNode(\n        param.name,\n        /*typeArguments*/\n        void 0\n      );\n      const replacement = factory.createParameterDeclaration(\n        param.modifiers,\n        param.dotDotDotToken,\n        \"arg\" + i,\n        param.questionToken,\n        param.dotDotDotToken ? factory.createArrayTypeNode(typeNode) : typeNode,\n        param.initializer\n      );\n      changeTracker.replaceNode(sourceFile, param, replacement);\n    }\n    var fixId7, errorCodes7;\n    var init_addNameToNamelessParameter = __esm({\n      \"src/services/codefixes/addNameToNamelessParameter.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId7 = \"addNameToNamelessParameter\";\n        errorCodes7 = [Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];\n        registerCodeFix({\n          errorCodes: errorCodes7,\n          getCodeActions: function getCodeActionsToAddNameToNamelessParameter(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange7(t, context.sourceFile, context.span.start));\n            return [createCodeFixAction(fixId7, changes, Diagnostics.Add_parameter_name, fixId7, Diagnostics.Add_names_to_all_parameters_without_names)];\n          },\n          fixIds: [fixId7],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes7, (changes, diag2) => makeChange7(changes, diag2.file, diag2.start))\n        });\n      }\n    });\n    function getPropertiesToAdd(file, span, checker) {\n      var _a22, _b3;\n      const sourceTarget = getSourceTarget(getFixableErrorSpanExpression(file, span), checker);\n      if (!sourceTarget) {\n        return emptyArray;\n      }\n      const { source: sourceNode, target: targetNode } = sourceTarget;\n      const target = shouldUseParentTypeOfProperty(sourceNode, targetNode, checker) ? checker.getTypeAtLocation(targetNode.expression) : checker.getTypeAtLocation(targetNode);\n      if ((_b3 = (_a22 = target.symbol) == null ? void 0 : _a22.declarations) == null ? void 0 : _b3.some((d) => getSourceFileOfNode(d).fileName.match(/\\.d\\.ts$/))) {\n        return emptyArray;\n      }\n      return checker.getExactOptionalProperties(target);\n    }\n    function shouldUseParentTypeOfProperty(sourceNode, targetNode, checker) {\n      return isPropertyAccessExpression(targetNode) && !!checker.getExactOptionalProperties(checker.getTypeAtLocation(targetNode.expression)).length && checker.getTypeAtLocation(sourceNode) === checker.getUndefinedType();\n    }\n    function getSourceTarget(errorNode, checker) {\n      var _a22;\n      if (!errorNode) {\n        return void 0;\n      } else if (isBinaryExpression(errorNode.parent) && errorNode.parent.operatorToken.kind === 63) {\n        return { source: errorNode.parent.right, target: errorNode.parent.left };\n      } else if (isVariableDeclaration(errorNode.parent) && errorNode.parent.initializer) {\n        return { source: errorNode.parent.initializer, target: errorNode.parent.name };\n      } else if (isCallExpression(errorNode.parent)) {\n        const n = checker.getSymbolAtLocation(errorNode.parent.expression);\n        if (!(n == null ? void 0 : n.valueDeclaration) || !isFunctionLikeKind(n.valueDeclaration.kind))\n          return void 0;\n        if (!isExpression(errorNode))\n          return void 0;\n        const i = errorNode.parent.arguments.indexOf(errorNode);\n        if (i === -1)\n          return void 0;\n        const name = n.valueDeclaration.parameters[i].name;\n        if (isIdentifier(name))\n          return { source: errorNode, target: name };\n      } else if (isPropertyAssignment(errorNode.parent) && isIdentifier(errorNode.parent.name) || isShorthandPropertyAssignment(errorNode.parent)) {\n        const parentTarget = getSourceTarget(errorNode.parent.parent, checker);\n        if (!parentTarget)\n          return void 0;\n        const prop = checker.getPropertyOfType(checker.getTypeAtLocation(parentTarget.target), errorNode.parent.name.text);\n        const declaration = (_a22 = prop == null ? void 0 : prop.declarations) == null ? void 0 : _a22[0];\n        if (!declaration)\n          return void 0;\n        return {\n          source: isPropertyAssignment(errorNode.parent) ? errorNode.parent.initializer : errorNode.parent.name,\n          target: declaration\n        };\n      }\n      return void 0;\n    }\n    function addUndefinedToOptionalProperty(changes, toAdd) {\n      for (const add of toAdd) {\n        const d = add.valueDeclaration;\n        if (d && (isPropertySignature(d) || isPropertyDeclaration(d)) && d.type) {\n          const t = factory.createUnionTypeNode([\n            ...d.type.kind === 189 ? d.type.types : [d.type],\n            factory.createTypeReferenceNode(\"undefined\")\n          ]);\n          changes.replaceNode(d.getSourceFile(), d.type, t);\n        }\n      }\n    }\n    var addOptionalPropertyUndefined, errorCodes8;\n    var init_addOptionalPropertyUndefined = __esm({\n      \"src/services/codefixes/addOptionalPropertyUndefined.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        addOptionalPropertyUndefined = \"addOptionalPropertyUndefined\";\n        errorCodes8 = [\n          Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,\n          Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,\n          Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes8,\n          getCodeActions(context) {\n            const typeChecker = context.program.getTypeChecker();\n            const toAdd = getPropertiesToAdd(context.sourceFile, context.span, typeChecker);\n            if (!toAdd.length) {\n              return void 0;\n            }\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addUndefinedToOptionalProperty(t, toAdd));\n            return [createCodeFixActionWithoutFixAll(addOptionalPropertyUndefined, changes, Diagnostics.Add_undefined_to_optional_property_type)];\n          },\n          fixIds: [addOptionalPropertyUndefined]\n        });\n      }\n    });\n    function getDeclaration(file, pos) {\n      const name = getTokenAtPosition(file, pos);\n      return tryCast(isParameter(name.parent) ? name.parent.parent : name.parent, parameterShouldGetTypeFromJSDoc);\n    }\n    function parameterShouldGetTypeFromJSDoc(node) {\n      return isDeclarationWithType(node) && hasUsableJSDoc(node);\n    }\n    function hasUsableJSDoc(decl) {\n      return isFunctionLikeDeclaration(decl) ? decl.parameters.some(hasUsableJSDoc) || !decl.type && !!getJSDocReturnType(decl) : !decl.type && !!getJSDocType(decl);\n    }\n    function doChange(changes, sourceFile, decl) {\n      if (isFunctionLikeDeclaration(decl) && (getJSDocReturnType(decl) || decl.parameters.some((p) => !!getJSDocType(p)))) {\n        if (!decl.typeParameters) {\n          const typeParameters = getJSDocTypeParameterDeclarations(decl);\n          if (typeParameters.length)\n            changes.insertTypeParameters(sourceFile, decl, typeParameters);\n        }\n        const needParens = isArrowFunction(decl) && !findChildOfKind(decl, 20, sourceFile);\n        if (needParens)\n          changes.insertNodeBefore(sourceFile, first(decl.parameters), factory.createToken(\n            20\n            /* OpenParenToken */\n          ));\n        for (const param of decl.parameters) {\n          if (!param.type) {\n            const paramType = getJSDocType(param);\n            if (paramType)\n              changes.tryInsertTypeAnnotation(sourceFile, param, visitNode(paramType, transformJSDocType, isTypeNode));\n          }\n        }\n        if (needParens)\n          changes.insertNodeAfter(sourceFile, last(decl.parameters), factory.createToken(\n            21\n            /* CloseParenToken */\n          ));\n        if (!decl.type) {\n          const returnType = getJSDocReturnType(decl);\n          if (returnType)\n            changes.tryInsertTypeAnnotation(sourceFile, decl, visitNode(returnType, transformJSDocType, isTypeNode));\n        }\n      } else {\n        const jsdocType = Debug2.checkDefined(getJSDocType(decl), \"A JSDocType for this declaration should exist\");\n        Debug2.assert(!decl.type, \"The JSDocType decl should have a type\");\n        changes.tryInsertTypeAnnotation(sourceFile, decl, visitNode(jsdocType, transformJSDocType, isTypeNode));\n      }\n    }\n    function isDeclarationWithType(node) {\n      return isFunctionLikeDeclaration(node) || node.kind === 257 || node.kind === 168 || node.kind === 169;\n    }\n    function transformJSDocType(node) {\n      switch (node.kind) {\n        case 315:\n        case 316:\n          return factory.createTypeReferenceNode(\"any\", emptyArray);\n        case 319:\n          return transformJSDocOptionalType(node);\n        case 318:\n          return transformJSDocType(node.type);\n        case 317:\n          return transformJSDocNullableType(node);\n        case 321:\n          return transformJSDocVariadicType(node);\n        case 320:\n          return transformJSDocFunctionType(node);\n        case 180:\n          return transformJSDocTypeReference(node);\n        case 325:\n          return transformJSDocTypeLiteral(node);\n        default:\n          const visited = visitEachChild(node, transformJSDocType, nullTransformationContext);\n          setEmitFlags(\n            visited,\n            1\n            /* SingleLine */\n          );\n          return visited;\n      }\n    }\n    function transformJSDocTypeLiteral(node) {\n      const typeNode = factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (tag) => factory.createPropertySignature(\n        /*modifiers*/\n        void 0,\n        isIdentifier(tag.name) ? tag.name : tag.name.right,\n        isOptionalJSDocPropertyLikeTag(tag) ? factory.createToken(\n          57\n          /* QuestionToken */\n        ) : void 0,\n        tag.typeExpression && visitNode(tag.typeExpression.type, transformJSDocType, isTypeNode) || factory.createKeywordTypeNode(\n          131\n          /* AnyKeyword */\n        )\n      )));\n      setEmitFlags(\n        typeNode,\n        1\n        /* SingleLine */\n      );\n      return typeNode;\n    }\n    function transformJSDocOptionalType(node) {\n      return factory.createUnionTypeNode([visitNode(node.type, transformJSDocType, isTypeNode), factory.createTypeReferenceNode(\"undefined\", emptyArray)]);\n    }\n    function transformJSDocNullableType(node) {\n      return factory.createUnionTypeNode([visitNode(node.type, transformJSDocType, isTypeNode), factory.createTypeReferenceNode(\"null\", emptyArray)]);\n    }\n    function transformJSDocVariadicType(node) {\n      return factory.createArrayTypeNode(visitNode(node.type, transformJSDocType, isTypeNode));\n    }\n    function transformJSDocFunctionType(node) {\n      var _a22;\n      return factory.createFunctionTypeNode(emptyArray, node.parameters.map(transformJSDocParameter), (_a22 = node.type) != null ? _a22 : factory.createKeywordTypeNode(\n        131\n        /* AnyKeyword */\n      ));\n    }\n    function transformJSDocParameter(node) {\n      const index = node.parent.parameters.indexOf(node);\n      const isRest = node.type.kind === 321 && index === node.parent.parameters.length - 1;\n      const name = node.name || (isRest ? \"rest\" : \"arg\" + index);\n      const dotdotdot = isRest ? factory.createToken(\n        25\n        /* DotDotDotToken */\n      ) : node.dotDotDotToken;\n      return factory.createParameterDeclaration(node.modifiers, dotdotdot, name, node.questionToken, visitNode(node.type, transformJSDocType, isTypeNode), node.initializer);\n    }\n    function transformJSDocTypeReference(node) {\n      let name = node.typeName;\n      let args = node.typeArguments;\n      if (isIdentifier(node.typeName)) {\n        if (isJSDocIndexSignature(node)) {\n          return transformJSDocIndexSignature(node);\n        }\n        let text = node.typeName.text;\n        switch (node.typeName.text) {\n          case \"String\":\n          case \"Boolean\":\n          case \"Object\":\n          case \"Number\":\n            text = text.toLowerCase();\n            break;\n          case \"array\":\n          case \"date\":\n          case \"promise\":\n            text = text[0].toUpperCase() + text.slice(1);\n            break;\n        }\n        name = factory.createIdentifier(text);\n        if ((text === \"Array\" || text === \"Promise\") && !node.typeArguments) {\n          args = factory.createNodeArray([factory.createTypeReferenceNode(\"any\", emptyArray)]);\n        } else {\n          args = visitNodes2(node.typeArguments, transformJSDocType, isTypeNode);\n        }\n      }\n      return factory.createTypeReferenceNode(name, args);\n    }\n    function transformJSDocIndexSignature(node) {\n      const index = factory.createParameterDeclaration(\n        /*modifiers*/\n        void 0,\n        /*dotDotDotToken*/\n        void 0,\n        node.typeArguments[0].kind === 148 ? \"n\" : \"s\",\n        /*questionToken*/\n        void 0,\n        factory.createTypeReferenceNode(node.typeArguments[0].kind === 148 ? \"number\" : \"string\", []),\n        /*initializer*/\n        void 0\n      );\n      const indexSignature = factory.createTypeLiteralNode([factory.createIndexSignature(\n        /*modifiers*/\n        void 0,\n        [index],\n        node.typeArguments[1]\n      )]);\n      setEmitFlags(\n        indexSignature,\n        1\n        /* SingleLine */\n      );\n      return indexSignature;\n    }\n    var fixId8, errorCodes9;\n    var init_annotateWithTypeFromJSDoc = __esm({\n      \"src/services/codefixes/annotateWithTypeFromJSDoc.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId8 = \"annotateWithTypeFromJSDoc\";\n        errorCodes9 = [Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];\n        registerCodeFix({\n          errorCodes: errorCodes9,\n          getCodeActions(context) {\n            const decl = getDeclaration(context.sourceFile, context.span.start);\n            if (!decl)\n              return;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange(t, context.sourceFile, decl));\n            return [createCodeFixAction(fixId8, changes, Diagnostics.Annotate_with_type_from_JSDoc, fixId8, Diagnostics.Annotate_everything_with_types_from_JSDoc)];\n          },\n          fixIds: [fixId8],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes9, (changes, diag2) => {\n            const decl = getDeclaration(diag2.file, diag2.start);\n            if (decl)\n              doChange(changes, diag2.file, decl);\n          })\n        });\n      }\n    });\n    function doChange2(changes, sourceFile, position, checker, preferences, compilerOptions) {\n      const ctorSymbol = checker.getSymbolAtLocation(getTokenAtPosition(sourceFile, position));\n      if (!ctorSymbol || !ctorSymbol.valueDeclaration || !(ctorSymbol.flags & (16 | 3))) {\n        return void 0;\n      }\n      const ctorDeclaration = ctorSymbol.valueDeclaration;\n      if (isFunctionDeclaration(ctorDeclaration) || isFunctionExpression(ctorDeclaration)) {\n        changes.replaceNode(sourceFile, ctorDeclaration, createClassFromFunction(ctorDeclaration));\n      } else if (isVariableDeclaration(ctorDeclaration)) {\n        const classDeclaration = createClassFromVariableDeclaration(ctorDeclaration);\n        if (!classDeclaration) {\n          return void 0;\n        }\n        const ancestor = ctorDeclaration.parent.parent;\n        if (isVariableDeclarationList(ctorDeclaration.parent) && ctorDeclaration.parent.declarations.length > 1) {\n          changes.delete(sourceFile, ctorDeclaration);\n          changes.insertNodeAfter(sourceFile, ancestor, classDeclaration);\n        } else {\n          changes.replaceNode(sourceFile, ancestor, classDeclaration);\n        }\n      }\n      function createClassElementsFromSymbol(symbol) {\n        const memberElements = [];\n        if (symbol.exports) {\n          symbol.exports.forEach((member) => {\n            if (member.name === \"prototype\" && member.declarations) {\n              const firstDeclaration = member.declarations[0];\n              if (member.declarations.length === 1 && isPropertyAccessExpression(firstDeclaration) && isBinaryExpression(firstDeclaration.parent) && firstDeclaration.parent.operatorToken.kind === 63 && isObjectLiteralExpression(firstDeclaration.parent.right)) {\n                const prototypes = firstDeclaration.parent.right;\n                createClassElement(\n                  prototypes.symbol,\n                  /** modifiers */\n                  void 0,\n                  memberElements\n                );\n              }\n            } else {\n              createClassElement(member, [factory.createToken(\n                124\n                /* StaticKeyword */\n              )], memberElements);\n            }\n          });\n        }\n        if (symbol.members) {\n          symbol.members.forEach((member, key) => {\n            var _a22, _b3, _c, _d;\n            if (key === \"constructor\" && member.valueDeclaration) {\n              const prototypeAssignment = (_d = (_c = (_b3 = (_a22 = symbol.exports) == null ? void 0 : _a22.get(\"prototype\")) == null ? void 0 : _b3.declarations) == null ? void 0 : _c[0]) == null ? void 0 : _d.parent;\n              if (prototypeAssignment && isBinaryExpression(prototypeAssignment) && isObjectLiteralExpression(prototypeAssignment.right) && some(prototypeAssignment.right.properties, isConstructorAssignment)) {\n              } else {\n                changes.delete(sourceFile, member.valueDeclaration.parent);\n              }\n              return;\n            }\n            createClassElement(\n              member,\n              /*modifiers*/\n              void 0,\n              memberElements\n            );\n          });\n        }\n        return memberElements;\n        function shouldConvertDeclaration(_target, source) {\n          if (isAccessExpression(_target)) {\n            if (isPropertyAccessExpression(_target) && isConstructorAssignment(_target))\n              return true;\n            return isFunctionLike(source);\n          } else {\n            return every(_target.properties, (property) => {\n              if (isMethodDeclaration(property) || isGetOrSetAccessorDeclaration(property))\n                return true;\n              if (isPropertyAssignment(property) && isFunctionExpression(property.initializer) && !!property.name)\n                return true;\n              if (isConstructorAssignment(property))\n                return true;\n              return false;\n            });\n          }\n        }\n        function createClassElement(symbol2, modifiers, members) {\n          if (!(symbol2.flags & 8192) && !(symbol2.flags & 4096)) {\n            return;\n          }\n          const memberDeclaration = symbol2.valueDeclaration;\n          const assignmentBinaryExpression = memberDeclaration.parent;\n          const assignmentExpr = assignmentBinaryExpression.right;\n          if (!shouldConvertDeclaration(memberDeclaration, assignmentExpr)) {\n            return;\n          }\n          if (some(members, (m) => {\n            const name = getNameOfDeclaration(m);\n            if (name && isIdentifier(name) && idText(name) === symbolName(symbol2)) {\n              return true;\n            }\n            return false;\n          })) {\n            return;\n          }\n          const nodeToDelete = assignmentBinaryExpression.parent && assignmentBinaryExpression.parent.kind === 241 ? assignmentBinaryExpression.parent : assignmentBinaryExpression;\n          changes.delete(sourceFile, nodeToDelete);\n          if (!assignmentExpr) {\n            members.push(factory.createPropertyDeclaration(\n              modifiers,\n              symbol2.name,\n              /*questionToken*/\n              void 0,\n              /*type*/\n              void 0,\n              /*initializer*/\n              void 0\n            ));\n            return;\n          }\n          if (isAccessExpression(memberDeclaration) && (isFunctionExpression(assignmentExpr) || isArrowFunction(assignmentExpr))) {\n            const quotePreference = getQuotePreference(sourceFile, preferences);\n            const name = tryGetPropertyName(memberDeclaration, compilerOptions, quotePreference);\n            if (name) {\n              createFunctionLikeExpressionMember(members, assignmentExpr, name);\n            }\n            return;\n          } else if (isObjectLiteralExpression(assignmentExpr)) {\n            forEach(\n              assignmentExpr.properties,\n              (property) => {\n                if (isMethodDeclaration(property) || isGetOrSetAccessorDeclaration(property)) {\n                  members.push(property);\n                }\n                if (isPropertyAssignment(property) && isFunctionExpression(property.initializer)) {\n                  createFunctionLikeExpressionMember(members, property.initializer, property.name);\n                }\n                if (isConstructorAssignment(property))\n                  return;\n                return;\n              }\n            );\n            return;\n          } else {\n            if (isSourceFileJS(sourceFile))\n              return;\n            if (!isPropertyAccessExpression(memberDeclaration))\n              return;\n            const prop = factory.createPropertyDeclaration(\n              modifiers,\n              memberDeclaration.name,\n              /*questionToken*/\n              void 0,\n              /*type*/\n              void 0,\n              assignmentExpr\n            );\n            copyLeadingComments(assignmentBinaryExpression.parent, prop, sourceFile);\n            members.push(prop);\n            return;\n          }\n          function createFunctionLikeExpressionMember(members2, expression, name) {\n            if (isFunctionExpression(expression))\n              return createFunctionExpressionMember(members2, expression, name);\n            else\n              return createArrowFunctionExpressionMember(members2, expression, name);\n          }\n          function createFunctionExpressionMember(members2, functionExpression, name) {\n            const fullModifiers = concatenate(modifiers, getModifierKindFromSource(\n              functionExpression,\n              132\n              /* AsyncKeyword */\n            ));\n            const method = factory.createMethodDeclaration(\n              fullModifiers,\n              /*asteriskToken*/\n              void 0,\n              name,\n              /*questionToken*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              functionExpression.parameters,\n              /*type*/\n              void 0,\n              functionExpression.body\n            );\n            copyLeadingComments(assignmentBinaryExpression, method, sourceFile);\n            members2.push(method);\n            return;\n          }\n          function createArrowFunctionExpressionMember(members2, arrowFunction, name) {\n            const arrowFunctionBody = arrowFunction.body;\n            let bodyBlock;\n            if (arrowFunctionBody.kind === 238) {\n              bodyBlock = arrowFunctionBody;\n            } else {\n              bodyBlock = factory.createBlock([factory.createReturnStatement(arrowFunctionBody)]);\n            }\n            const fullModifiers = concatenate(modifiers, getModifierKindFromSource(\n              arrowFunction,\n              132\n              /* AsyncKeyword */\n            ));\n            const method = factory.createMethodDeclaration(\n              fullModifiers,\n              /*asteriskToken*/\n              void 0,\n              name,\n              /*questionToken*/\n              void 0,\n              /*typeParameters*/\n              void 0,\n              arrowFunction.parameters,\n              /*type*/\n              void 0,\n              bodyBlock\n            );\n            copyLeadingComments(assignmentBinaryExpression, method, sourceFile);\n            members2.push(method);\n          }\n        }\n      }\n      function createClassFromVariableDeclaration(node) {\n        const initializer = node.initializer;\n        if (!initializer || !isFunctionExpression(initializer) || !isIdentifier(node.name)) {\n          return void 0;\n        }\n        const memberElements = createClassElementsFromSymbol(node.symbol);\n        if (initializer.body) {\n          memberElements.unshift(factory.createConstructorDeclaration(\n            /*modifiers*/\n            void 0,\n            initializer.parameters,\n            initializer.body\n          ));\n        }\n        const modifiers = getModifierKindFromSource(\n          node.parent.parent,\n          93\n          /* ExportKeyword */\n        );\n        const cls = factory.createClassDeclaration(\n          modifiers,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          /*heritageClauses*/\n          void 0,\n          memberElements\n        );\n        return cls;\n      }\n      function createClassFromFunction(node) {\n        const memberElements = createClassElementsFromSymbol(ctorSymbol);\n        if (node.body) {\n          memberElements.unshift(factory.createConstructorDeclaration(\n            /*modifiers*/\n            void 0,\n            node.parameters,\n            node.body\n          ));\n        }\n        const modifiers = getModifierKindFromSource(\n          node,\n          93\n          /* ExportKeyword */\n        );\n        const cls = factory.createClassDeclaration(\n          modifiers,\n          node.name,\n          /*typeParameters*/\n          void 0,\n          /*heritageClauses*/\n          void 0,\n          memberElements\n        );\n        return cls;\n      }\n    }\n    function getModifierKindFromSource(source, kind) {\n      return canHaveModifiers(source) ? filter(source.modifiers, (modifier) => modifier.kind === kind) : void 0;\n    }\n    function isConstructorAssignment(x) {\n      if (!x.name)\n        return false;\n      if (isIdentifier(x.name) && x.name.text === \"constructor\")\n        return true;\n      return false;\n    }\n    function tryGetPropertyName(node, compilerOptions, quotePreference) {\n      if (isPropertyAccessExpression(node)) {\n        return node.name;\n      }\n      const propName = node.argumentExpression;\n      if (isNumericLiteral(propName)) {\n        return propName;\n      }\n      if (isStringLiteralLike(propName)) {\n        return isIdentifierText(propName.text, getEmitScriptTarget(compilerOptions)) ? factory.createIdentifier(propName.text) : isNoSubstitutionTemplateLiteral(propName) ? factory.createStringLiteral(\n          propName.text,\n          quotePreference === 0\n          /* Single */\n        ) : propName;\n      }\n      return void 0;\n    }\n    var fixId9, errorCodes10;\n    var init_convertFunctionToEs6Class = __esm({\n      \"src/services/codefixes/convertFunctionToEs6Class.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId9 = \"convertFunctionToEs6Class\";\n        errorCodes10 = [Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];\n        registerCodeFix({\n          errorCodes: errorCodes10,\n          getCodeActions(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange2(t, context.sourceFile, context.span.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions()));\n            return [createCodeFixAction(fixId9, changes, Diagnostics.Convert_function_to_an_ES2015_class, fixId9, Diagnostics.Convert_all_constructor_functions_to_classes)];\n          },\n          fixIds: [fixId9],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes10, (changes, err) => doChange2(changes, err.file, err.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions()))\n        });\n      }\n    });\n    function convertToAsyncFunction(changes, sourceFile, position, checker) {\n      const tokenAtPosition = getTokenAtPosition(sourceFile, position);\n      let functionToConvert;\n      if (isIdentifier(tokenAtPosition) && isVariableDeclaration(tokenAtPosition.parent) && tokenAtPosition.parent.initializer && isFunctionLikeDeclaration(tokenAtPosition.parent.initializer)) {\n        functionToConvert = tokenAtPosition.parent.initializer;\n      } else {\n        functionToConvert = tryCast(getContainingFunction(getTokenAtPosition(sourceFile, position)), canBeConvertedToAsync);\n      }\n      if (!functionToConvert) {\n        return;\n      }\n      const synthNamesMap = /* @__PURE__ */ new Map();\n      const isInJavascript = isInJSFile(functionToConvert);\n      const setOfExpressionsToReturn = getAllPromiseExpressionsToReturn(functionToConvert, checker);\n      const functionToConvertRenamed = renameCollidingVarNames(functionToConvert, checker, synthNamesMap);\n      if (!returnsPromise(functionToConvertRenamed, checker)) {\n        return;\n      }\n      const returnStatements = functionToConvertRenamed.body && isBlock(functionToConvertRenamed.body) ? getReturnStatementsWithPromiseHandlers(functionToConvertRenamed.body, checker) : emptyArray;\n      const transformer = { checker, synthNamesMap, setOfExpressionsToReturn, isInJSFile: isInJavascript };\n      if (!returnStatements.length) {\n        return;\n      }\n      const pos = skipTrivia(sourceFile.text, moveRangePastModifiers(functionToConvert).pos);\n      changes.insertModifierAt(sourceFile, pos, 132, { suffix: \" \" });\n      for (const returnStatement of returnStatements) {\n        forEachChild(returnStatement, function visit(node) {\n          if (isCallExpression(node)) {\n            const newNodes = transformExpression(\n              node,\n              node,\n              transformer,\n              /*hasContinuation*/\n              false\n            );\n            if (hasFailed()) {\n              return true;\n            }\n            changes.replaceNodeWithNodes(sourceFile, returnStatement, newNodes);\n          } else if (!isFunctionLike(node)) {\n            forEachChild(node, visit);\n            if (hasFailed()) {\n              return true;\n            }\n          }\n        });\n        if (hasFailed()) {\n          return;\n        }\n      }\n    }\n    function getReturnStatementsWithPromiseHandlers(body, checker) {\n      const res = [];\n      forEachReturnStatement(body, (ret) => {\n        if (isReturnStatementWithFixablePromiseHandler(ret, checker))\n          res.push(ret);\n      });\n      return res;\n    }\n    function getAllPromiseExpressionsToReturn(func, checker) {\n      if (!func.body) {\n        return /* @__PURE__ */ new Set();\n      }\n      const setOfExpressionsToReturn = /* @__PURE__ */ new Set();\n      forEachChild(func.body, function visit(node) {\n        if (isPromiseReturningCallExpression(node, checker, \"then\")) {\n          setOfExpressionsToReturn.add(getNodeId(node));\n          forEach(node.arguments, visit);\n        } else if (isPromiseReturningCallExpression(node, checker, \"catch\") || isPromiseReturningCallExpression(node, checker, \"finally\")) {\n          setOfExpressionsToReturn.add(getNodeId(node));\n          forEachChild(node, visit);\n        } else if (isPromiseTypedExpression(node, checker)) {\n          setOfExpressionsToReturn.add(getNodeId(node));\n        } else {\n          forEachChild(node, visit);\n        }\n      });\n      return setOfExpressionsToReturn;\n    }\n    function isPromiseReturningCallExpression(node, checker, name) {\n      if (!isCallExpression(node))\n        return false;\n      const isExpressionOfName = hasPropertyAccessExpressionWithName(node, name);\n      const nodeType = isExpressionOfName && checker.getTypeAtLocation(node);\n      return !!(nodeType && checker.getPromisedTypeOfPromise(nodeType));\n    }\n    function isReferenceToType(type, target) {\n      return (getObjectFlags(type) & 4) !== 0 && type.target === target;\n    }\n    function getExplicitPromisedTypeOfPromiseReturningCallExpression(node, callback, checker) {\n      if (node.expression.name.escapedText === \"finally\") {\n        return void 0;\n      }\n      const promiseType = checker.getTypeAtLocation(node.expression.expression);\n      if (isReferenceToType(promiseType, checker.getPromiseType()) || isReferenceToType(promiseType, checker.getPromiseLikeType())) {\n        if (node.expression.name.escapedText === \"then\") {\n          if (callback === elementAt(node.arguments, 0)) {\n            return elementAt(node.typeArguments, 0);\n          } else if (callback === elementAt(node.arguments, 1)) {\n            return elementAt(node.typeArguments, 1);\n          }\n        } else {\n          return elementAt(node.typeArguments, 0);\n        }\n      }\n    }\n    function isPromiseTypedExpression(node, checker) {\n      if (!isExpression(node))\n        return false;\n      return !!checker.getPromisedTypeOfPromise(checker.getTypeAtLocation(node));\n    }\n    function renameCollidingVarNames(nodeToRename, checker, synthNamesMap) {\n      const identsToRenameMap = /* @__PURE__ */ new Map();\n      const collidingSymbolMap = createMultiMap();\n      forEachChild(nodeToRename, function visit(node) {\n        if (!isIdentifier(node)) {\n          forEachChild(node, visit);\n          return;\n        }\n        const symbol = checker.getSymbolAtLocation(node);\n        if (symbol) {\n          const type = checker.getTypeAtLocation(node);\n          const lastCallSignature = getLastCallSignature(type, checker);\n          const symbolIdString = getSymbolId(symbol).toString();\n          if (lastCallSignature && !isParameter(node.parent) && !isFunctionLikeDeclaration(node.parent) && !synthNamesMap.has(symbolIdString)) {\n            const firstParameter = firstOrUndefined(lastCallSignature.parameters);\n            const ident = (firstParameter == null ? void 0 : firstParameter.valueDeclaration) && isParameter(firstParameter.valueDeclaration) && tryCast(firstParameter.valueDeclaration.name, isIdentifier) || factory.createUniqueName(\n              \"result\",\n              16\n              /* Optimistic */\n            );\n            const synthName = getNewNameIfConflict(ident, collidingSymbolMap);\n            synthNamesMap.set(symbolIdString, synthName);\n            collidingSymbolMap.add(ident.text, symbol);\n          } else if (node.parent && (isParameter(node.parent) || isVariableDeclaration(node.parent) || isBindingElement(node.parent))) {\n            const originalName = node.text;\n            const collidingSymbols = collidingSymbolMap.get(originalName);\n            if (collidingSymbols && collidingSymbols.some((prevSymbol) => prevSymbol !== symbol)) {\n              const newName = getNewNameIfConflict(node, collidingSymbolMap);\n              identsToRenameMap.set(symbolIdString, newName.identifier);\n              synthNamesMap.set(symbolIdString, newName);\n              collidingSymbolMap.add(originalName, symbol);\n            } else {\n              const identifier = getSynthesizedDeepClone(node);\n              synthNamesMap.set(symbolIdString, createSynthIdentifier(identifier));\n              collidingSymbolMap.add(originalName, symbol);\n            }\n          }\n        }\n      });\n      return getSynthesizedDeepCloneWithReplacements(\n        nodeToRename,\n        /*includeTrivia*/\n        true,\n        (original) => {\n          if (isBindingElement(original) && isIdentifier(original.name) && isObjectBindingPattern(original.parent)) {\n            const symbol = checker.getSymbolAtLocation(original.name);\n            const renameInfo = symbol && identsToRenameMap.get(String(getSymbolId(symbol)));\n            if (renameInfo && renameInfo.text !== (original.name || original.propertyName).getText()) {\n              return factory.createBindingElement(\n                original.dotDotDotToken,\n                original.propertyName || original.name,\n                renameInfo,\n                original.initializer\n              );\n            }\n          } else if (isIdentifier(original)) {\n            const symbol = checker.getSymbolAtLocation(original);\n            const renameInfo = symbol && identsToRenameMap.get(String(getSymbolId(symbol)));\n            if (renameInfo) {\n              return factory.createIdentifier(renameInfo.text);\n            }\n          }\n        }\n      );\n    }\n    function getNewNameIfConflict(name, originalNames) {\n      const numVarsSameName = (originalNames.get(name.text) || emptyArray).length;\n      const identifier = numVarsSameName === 0 ? name : factory.createIdentifier(name.text + \"_\" + numVarsSameName);\n      return createSynthIdentifier(identifier);\n    }\n    function hasFailed() {\n      return !codeActionSucceeded;\n    }\n    function silentFail() {\n      codeActionSucceeded = false;\n      return emptyArray;\n    }\n    function transformExpression(returnContextNode, node, transformer, hasContinuation, continuationArgName) {\n      if (isPromiseReturningCallExpression(node, transformer.checker, \"then\")) {\n        return transformThen(node, elementAt(node.arguments, 0), elementAt(node.arguments, 1), transformer, hasContinuation, continuationArgName);\n      }\n      if (isPromiseReturningCallExpression(node, transformer.checker, \"catch\")) {\n        return transformCatch(node, elementAt(node.arguments, 0), transformer, hasContinuation, continuationArgName);\n      }\n      if (isPromiseReturningCallExpression(node, transformer.checker, \"finally\")) {\n        return transformFinally(node, elementAt(node.arguments, 0), transformer, hasContinuation, continuationArgName);\n      }\n      if (isPropertyAccessExpression(node)) {\n        return transformExpression(returnContextNode, node.expression, transformer, hasContinuation, continuationArgName);\n      }\n      const nodeType = transformer.checker.getTypeAtLocation(node);\n      if (nodeType && transformer.checker.getPromisedTypeOfPromise(nodeType)) {\n        Debug2.assertNode(getOriginalNode(node).parent, isPropertyAccessExpression);\n        return transformPromiseExpressionOfPropertyAccess(returnContextNode, node, transformer, hasContinuation, continuationArgName);\n      }\n      return silentFail();\n    }\n    function isNullOrUndefined2({ checker }, node) {\n      if (node.kind === 104)\n        return true;\n      if (isIdentifier(node) && !isGeneratedIdentifier(node) && idText(node) === \"undefined\") {\n        const symbol = checker.getSymbolAtLocation(node);\n        return !symbol || checker.isUndefinedSymbol(symbol);\n      }\n      return false;\n    }\n    function createUniqueSynthName(prevArgName) {\n      const renamedPrevArg = factory.createUniqueName(\n        prevArgName.identifier.text,\n        16\n        /* Optimistic */\n      );\n      return createSynthIdentifier(renamedPrevArg);\n    }\n    function getPossibleNameForVarDecl(node, transformer, continuationArgName) {\n      let possibleNameForVarDecl;\n      if (continuationArgName && !shouldReturn(node, transformer)) {\n        if (isSynthIdentifier(continuationArgName)) {\n          possibleNameForVarDecl = continuationArgName;\n          transformer.synthNamesMap.forEach((val, key) => {\n            if (val.identifier.text === continuationArgName.identifier.text) {\n              const newSynthName = createUniqueSynthName(continuationArgName);\n              transformer.synthNamesMap.set(key, newSynthName);\n            }\n          });\n        } else {\n          possibleNameForVarDecl = createSynthIdentifier(factory.createUniqueName(\n            \"result\",\n            16\n            /* Optimistic */\n          ), continuationArgName.types);\n        }\n        declareSynthIdentifier(possibleNameForVarDecl);\n      }\n      return possibleNameForVarDecl;\n    }\n    function finishCatchOrFinallyTransform(node, transformer, tryStatement, possibleNameForVarDecl, continuationArgName) {\n      const statements = [];\n      let varDeclIdentifier;\n      if (possibleNameForVarDecl && !shouldReturn(node, transformer)) {\n        varDeclIdentifier = getSynthesizedDeepClone(declareSynthIdentifier(possibleNameForVarDecl));\n        const typeArray = possibleNameForVarDecl.types;\n        const unionType = transformer.checker.getUnionType(\n          typeArray,\n          2\n          /* Subtype */\n        );\n        const unionTypeNode = transformer.isInJSFile ? void 0 : transformer.checker.typeToTypeNode(\n          unionType,\n          /*enclosingDeclaration*/\n          void 0,\n          /*flags*/\n          void 0\n        );\n        const varDecl = [factory.createVariableDeclaration(\n          varDeclIdentifier,\n          /*exclamationToken*/\n          void 0,\n          unionTypeNode\n        )];\n        const varDeclList = factory.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory.createVariableDeclarationList(\n            varDecl,\n            1\n            /* Let */\n          )\n        );\n        statements.push(varDeclList);\n      }\n      statements.push(tryStatement);\n      if (continuationArgName && varDeclIdentifier && isSynthBindingPattern(continuationArgName)) {\n        statements.push(factory.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory.createVariableDeclarationList(\n            [\n              factory.createVariableDeclaration(\n                getSynthesizedDeepClone(declareSynthBindingPattern(continuationArgName)),\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                void 0,\n                varDeclIdentifier\n              )\n            ],\n            2\n            /* Const */\n          )\n        ));\n      }\n      return statements;\n    }\n    function transformFinally(node, onFinally, transformer, hasContinuation, continuationArgName) {\n      if (!onFinally || isNullOrUndefined2(transformer, onFinally)) {\n        return transformExpression(\n          /* returnContextNode */\n          node,\n          node.expression.expression,\n          transformer,\n          hasContinuation,\n          continuationArgName\n        );\n      }\n      const possibleNameForVarDecl = getPossibleNameForVarDecl(node, transformer, continuationArgName);\n      const inlinedLeftHandSide = transformExpression(\n        /*returnContextNode*/\n        node,\n        node.expression.expression,\n        transformer,\n        /*hasContinuation*/\n        true,\n        possibleNameForVarDecl\n      );\n      if (hasFailed())\n        return silentFail();\n      const inlinedCallback = transformCallbackArgument(\n        onFinally,\n        hasContinuation,\n        /*continuationArgName*/\n        void 0,\n        /*argName*/\n        void 0,\n        node,\n        transformer\n      );\n      if (hasFailed())\n        return silentFail();\n      const tryBlock = factory.createBlock(inlinedLeftHandSide);\n      const finallyBlock = factory.createBlock(inlinedCallback);\n      const tryStatement = factory.createTryStatement(\n        tryBlock,\n        /*catchClause*/\n        void 0,\n        finallyBlock\n      );\n      return finishCatchOrFinallyTransform(node, transformer, tryStatement, possibleNameForVarDecl, continuationArgName);\n    }\n    function transformCatch(node, onRejected, transformer, hasContinuation, continuationArgName) {\n      if (!onRejected || isNullOrUndefined2(transformer, onRejected)) {\n        return transformExpression(\n          /* returnContextNode */\n          node,\n          node.expression.expression,\n          transformer,\n          hasContinuation,\n          continuationArgName\n        );\n      }\n      const inputArgName = getArgBindingName(onRejected, transformer);\n      const possibleNameForVarDecl = getPossibleNameForVarDecl(node, transformer, continuationArgName);\n      const inlinedLeftHandSide = transformExpression(\n        /*returnContextNode*/\n        node,\n        node.expression.expression,\n        transformer,\n        /*hasContinuation*/\n        true,\n        possibleNameForVarDecl\n      );\n      if (hasFailed())\n        return silentFail();\n      const inlinedCallback = transformCallbackArgument(onRejected, hasContinuation, possibleNameForVarDecl, inputArgName, node, transformer);\n      if (hasFailed())\n        return silentFail();\n      const tryBlock = factory.createBlock(inlinedLeftHandSide);\n      const catchClause = factory.createCatchClause(inputArgName && getSynthesizedDeepClone(declareSynthBindingName(inputArgName)), factory.createBlock(inlinedCallback));\n      const tryStatement = factory.createTryStatement(\n        tryBlock,\n        catchClause,\n        /*finallyBlock*/\n        void 0\n      );\n      return finishCatchOrFinallyTransform(node, transformer, tryStatement, possibleNameForVarDecl, continuationArgName);\n    }\n    function transformThen(node, onFulfilled, onRejected, transformer, hasContinuation, continuationArgName) {\n      if (!onFulfilled || isNullOrUndefined2(transformer, onFulfilled)) {\n        return transformCatch(node, onRejected, transformer, hasContinuation, continuationArgName);\n      }\n      if (onRejected && !isNullOrUndefined2(transformer, onRejected)) {\n        return silentFail();\n      }\n      const inputArgName = getArgBindingName(onFulfilled, transformer);\n      const inlinedLeftHandSide = transformExpression(\n        node.expression.expression,\n        node.expression.expression,\n        transformer,\n        /*hasContinuation*/\n        true,\n        inputArgName\n      );\n      if (hasFailed())\n        return silentFail();\n      const inlinedCallback = transformCallbackArgument(onFulfilled, hasContinuation, continuationArgName, inputArgName, node, transformer);\n      if (hasFailed())\n        return silentFail();\n      return concatenate(inlinedLeftHandSide, inlinedCallback);\n    }\n    function transformPromiseExpressionOfPropertyAccess(returnContextNode, node, transformer, hasContinuation, continuationArgName) {\n      if (shouldReturn(returnContextNode, transformer)) {\n        let returnValue = getSynthesizedDeepClone(node);\n        if (hasContinuation) {\n          returnValue = factory.createAwaitExpression(returnValue);\n        }\n        return [factory.createReturnStatement(returnValue)];\n      }\n      return createVariableOrAssignmentOrExpressionStatement(\n        continuationArgName,\n        factory.createAwaitExpression(node),\n        /*typeAnnotation*/\n        void 0\n      );\n    }\n    function createVariableOrAssignmentOrExpressionStatement(variableName, rightHandSide, typeAnnotation) {\n      if (!variableName || isEmptyBindingName(variableName)) {\n        return [factory.createExpressionStatement(rightHandSide)];\n      }\n      if (isSynthIdentifier(variableName) && variableName.hasBeenDeclared) {\n        return [factory.createExpressionStatement(factory.createAssignment(getSynthesizedDeepClone(referenceSynthIdentifier(variableName)), rightHandSide))];\n      }\n      return [\n        factory.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory.createVariableDeclarationList(\n            [\n              factory.createVariableDeclaration(\n                getSynthesizedDeepClone(declareSynthBindingName(variableName)),\n                /*exclamationToken*/\n                void 0,\n                typeAnnotation,\n                rightHandSide\n              )\n            ],\n            2\n            /* Const */\n          )\n        )\n      ];\n    }\n    function maybeAnnotateAndReturn(expressionToReturn, typeAnnotation) {\n      if (typeAnnotation && expressionToReturn) {\n        const name = factory.createUniqueName(\n          \"result\",\n          16\n          /* Optimistic */\n        );\n        return [\n          ...createVariableOrAssignmentOrExpressionStatement(createSynthIdentifier(name), expressionToReturn, typeAnnotation),\n          factory.createReturnStatement(name)\n        ];\n      }\n      return [factory.createReturnStatement(expressionToReturn)];\n    }\n    function transformCallbackArgument(func, hasContinuation, continuationArgName, inputArgName, parent2, transformer) {\n      var _a22;\n      switch (func.kind) {\n        case 104:\n          break;\n        case 208:\n        case 79:\n          if (!inputArgName) {\n            break;\n          }\n          const synthCall = factory.createCallExpression(\n            getSynthesizedDeepClone(func),\n            /*typeArguments*/\n            void 0,\n            isSynthIdentifier(inputArgName) ? [referenceSynthIdentifier(inputArgName)] : []\n          );\n          if (shouldReturn(parent2, transformer)) {\n            return maybeAnnotateAndReturn(synthCall, getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker));\n          }\n          const type = transformer.checker.getTypeAtLocation(func);\n          const callSignatures = transformer.checker.getSignaturesOfType(\n            type,\n            0\n            /* Call */\n          );\n          if (!callSignatures.length) {\n            return silentFail();\n          }\n          const returnType = callSignatures[0].getReturnType();\n          const varDeclOrAssignment = createVariableOrAssignmentOrExpressionStatement(continuationArgName, factory.createAwaitExpression(synthCall), getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker));\n          if (continuationArgName) {\n            continuationArgName.types.push(transformer.checker.getAwaitedType(returnType) || returnType);\n          }\n          return varDeclOrAssignment;\n        case 215:\n        case 216: {\n          const funcBody = func.body;\n          const returnType2 = (_a22 = getLastCallSignature(transformer.checker.getTypeAtLocation(func), transformer.checker)) == null ? void 0 : _a22.getReturnType();\n          if (isBlock(funcBody)) {\n            let refactoredStmts = [];\n            let seenReturnStatement = false;\n            for (const statement of funcBody.statements) {\n              if (isReturnStatement(statement)) {\n                seenReturnStatement = true;\n                if (isReturnStatementWithFixablePromiseHandler(statement, transformer.checker)) {\n                  refactoredStmts = refactoredStmts.concat(transformReturnStatementWithFixablePromiseHandler(transformer, statement, hasContinuation, continuationArgName));\n                } else {\n                  const possiblyAwaitedRightHandSide = returnType2 && statement.expression ? getPossiblyAwaitedRightHandSide(transformer.checker, returnType2, statement.expression) : statement.expression;\n                  refactoredStmts.push(...maybeAnnotateAndReturn(possiblyAwaitedRightHandSide, getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker)));\n                }\n              } else if (hasContinuation && forEachReturnStatement(statement, returnTrue)) {\n                return silentFail();\n              } else {\n                refactoredStmts.push(statement);\n              }\n            }\n            return shouldReturn(parent2, transformer) ? refactoredStmts.map((s) => getSynthesizedDeepClone(s)) : removeReturns(\n              refactoredStmts,\n              continuationArgName,\n              transformer,\n              seenReturnStatement\n            );\n          } else {\n            const inlinedStatements = isFixablePromiseHandler(funcBody, transformer.checker) ? transformReturnStatementWithFixablePromiseHandler(transformer, factory.createReturnStatement(funcBody), hasContinuation, continuationArgName) : emptyArray;\n            if (inlinedStatements.length > 0) {\n              return inlinedStatements;\n            }\n            if (returnType2) {\n              const possiblyAwaitedRightHandSide = getPossiblyAwaitedRightHandSide(transformer.checker, returnType2, funcBody);\n              if (!shouldReturn(parent2, transformer)) {\n                const transformedStatement = createVariableOrAssignmentOrExpressionStatement(\n                  continuationArgName,\n                  possiblyAwaitedRightHandSide,\n                  /*typeAnnotation*/\n                  void 0\n                );\n                if (continuationArgName) {\n                  continuationArgName.types.push(transformer.checker.getAwaitedType(returnType2) || returnType2);\n                }\n                return transformedStatement;\n              } else {\n                return maybeAnnotateAndReturn(possiblyAwaitedRightHandSide, getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker));\n              }\n            } else {\n              return silentFail();\n            }\n          }\n        }\n        default:\n          return silentFail();\n      }\n      return emptyArray;\n    }\n    function getPossiblyAwaitedRightHandSide(checker, type, expr) {\n      const rightHandSide = getSynthesizedDeepClone(expr);\n      return !!checker.getPromisedTypeOfPromise(type) ? factory.createAwaitExpression(rightHandSide) : rightHandSide;\n    }\n    function getLastCallSignature(type, checker) {\n      const callSignatures = checker.getSignaturesOfType(\n        type,\n        0\n        /* Call */\n      );\n      return lastOrUndefined(callSignatures);\n    }\n    function removeReturns(stmts, prevArgName, transformer, seenReturnStatement) {\n      const ret = [];\n      for (const stmt of stmts) {\n        if (isReturnStatement(stmt)) {\n          if (stmt.expression) {\n            const possiblyAwaitedExpression = isPromiseTypedExpression(stmt.expression, transformer.checker) ? factory.createAwaitExpression(stmt.expression) : stmt.expression;\n            if (prevArgName === void 0) {\n              ret.push(factory.createExpressionStatement(possiblyAwaitedExpression));\n            } else if (isSynthIdentifier(prevArgName) && prevArgName.hasBeenDeclared) {\n              ret.push(factory.createExpressionStatement(factory.createAssignment(referenceSynthIdentifier(prevArgName), possiblyAwaitedExpression)));\n            } else {\n              ret.push(factory.createVariableStatement(\n                /*modifiers*/\n                void 0,\n                factory.createVariableDeclarationList(\n                  [factory.createVariableDeclaration(\n                    declareSynthBindingName(prevArgName),\n                    /*exclamationToken*/\n                    void 0,\n                    /*type*/\n                    void 0,\n                    possiblyAwaitedExpression\n                  )],\n                  2\n                  /* Const */\n                )\n              ));\n            }\n          }\n        } else {\n          ret.push(getSynthesizedDeepClone(stmt));\n        }\n      }\n      if (!seenReturnStatement && prevArgName !== void 0) {\n        ret.push(factory.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory.createVariableDeclarationList(\n            [factory.createVariableDeclaration(\n              declareSynthBindingName(prevArgName),\n              /*exclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              factory.createIdentifier(\"undefined\")\n            )],\n            2\n            /* Const */\n          )\n        ));\n      }\n      return ret;\n    }\n    function transformReturnStatementWithFixablePromiseHandler(transformer, innerRetStmt, hasContinuation, continuationArgName) {\n      let innerCbBody = [];\n      forEachChild(innerRetStmt, function visit(node) {\n        if (isCallExpression(node)) {\n          const temp = transformExpression(node, node, transformer, hasContinuation, continuationArgName);\n          innerCbBody = innerCbBody.concat(temp);\n          if (innerCbBody.length > 0) {\n            return;\n          }\n        } else if (!isFunctionLike(node)) {\n          forEachChild(node, visit);\n        }\n      });\n      return innerCbBody;\n    }\n    function getArgBindingName(funcNode, transformer) {\n      const types = [];\n      let name;\n      if (isFunctionLikeDeclaration(funcNode)) {\n        if (funcNode.parameters.length > 0) {\n          const param = funcNode.parameters[0].name;\n          name = getMappedBindingNameOrDefault(param);\n        }\n      } else if (isIdentifier(funcNode)) {\n        name = getMapEntryOrDefault(funcNode);\n      } else if (isPropertyAccessExpression(funcNode) && isIdentifier(funcNode.name)) {\n        name = getMapEntryOrDefault(funcNode.name);\n      }\n      if (!name || \"identifier\" in name && name.identifier.text === \"undefined\") {\n        return void 0;\n      }\n      return name;\n      function getMappedBindingNameOrDefault(bindingName) {\n        if (isIdentifier(bindingName))\n          return getMapEntryOrDefault(bindingName);\n        const elements = flatMap(bindingName.elements, (element) => {\n          if (isOmittedExpression(element))\n            return [];\n          return [getMappedBindingNameOrDefault(element.name)];\n        });\n        return createSynthBindingPattern(bindingName, elements);\n      }\n      function getMapEntryOrDefault(identifier) {\n        const originalNode = getOriginalNode2(identifier);\n        const symbol = getSymbol2(originalNode);\n        if (!symbol) {\n          return createSynthIdentifier(identifier, types);\n        }\n        const mapEntry = transformer.synthNamesMap.get(getSymbolId(symbol).toString());\n        return mapEntry || createSynthIdentifier(identifier, types);\n      }\n      function getSymbol2(node) {\n        var _a22, _b3;\n        return (_b3 = (_a22 = tryCast(node, canHaveSymbol)) == null ? void 0 : _a22.symbol) != null ? _b3 : transformer.checker.getSymbolAtLocation(node);\n      }\n      function getOriginalNode2(node) {\n        return node.original ? node.original : node;\n      }\n    }\n    function isEmptyBindingName(bindingName) {\n      if (!bindingName) {\n        return true;\n      }\n      if (isSynthIdentifier(bindingName)) {\n        return !bindingName.identifier.text;\n      }\n      return every(bindingName.elements, isEmptyBindingName);\n    }\n    function createSynthIdentifier(identifier, types = []) {\n      return { kind: 0, identifier, types, hasBeenDeclared: false, hasBeenReferenced: false };\n    }\n    function createSynthBindingPattern(bindingPattern, elements = emptyArray, types = []) {\n      return { kind: 1, bindingPattern, elements, types };\n    }\n    function referenceSynthIdentifier(synthId) {\n      synthId.hasBeenReferenced = true;\n      return synthId.identifier;\n    }\n    function declareSynthBindingName(synthName) {\n      return isSynthIdentifier(synthName) ? declareSynthIdentifier(synthName) : declareSynthBindingPattern(synthName);\n    }\n    function declareSynthBindingPattern(synthPattern) {\n      for (const element of synthPattern.elements) {\n        declareSynthBindingName(element);\n      }\n      return synthPattern.bindingPattern;\n    }\n    function declareSynthIdentifier(synthId) {\n      synthId.hasBeenDeclared = true;\n      return synthId.identifier;\n    }\n    function isSynthIdentifier(bindingName) {\n      return bindingName.kind === 0;\n    }\n    function isSynthBindingPattern(bindingName) {\n      return bindingName.kind === 1;\n    }\n    function shouldReturn(expression, transformer) {\n      return !!expression.original && transformer.setOfExpressionsToReturn.has(getNodeId(expression.original));\n    }\n    var fixId10, errorCodes11, codeActionSucceeded;\n    var init_convertToAsyncFunction = __esm({\n      \"src/services/codefixes/convertToAsyncFunction.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId10 = \"convertToAsyncFunction\";\n        errorCodes11 = [Diagnostics.This_may_be_converted_to_an_async_function.code];\n        codeActionSucceeded = true;\n        registerCodeFix({\n          errorCodes: errorCodes11,\n          getCodeActions(context) {\n            codeActionSucceeded = true;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => convertToAsyncFunction(t, context.sourceFile, context.span.start, context.program.getTypeChecker()));\n            return codeActionSucceeded ? [createCodeFixAction(fixId10, changes, Diagnostics.Convert_to_async_function, fixId10, Diagnostics.Convert_all_to_async_functions)] : [];\n          },\n          fixIds: [fixId10],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes11, (changes, err) => convertToAsyncFunction(changes, err.file, err.start, context.program.getTypeChecker()))\n        });\n      }\n    });\n    function fixImportOfModuleExports(importingFile, exportingFile, changes, quotePreference) {\n      for (const moduleSpecifier of importingFile.imports) {\n        const imported = getResolvedModule(importingFile, moduleSpecifier.text, getModeForUsageLocation(importingFile, moduleSpecifier));\n        if (!imported || imported.resolvedFileName !== exportingFile.fileName) {\n          continue;\n        }\n        const importNode = importFromModuleSpecifier(moduleSpecifier);\n        switch (importNode.kind) {\n          case 268:\n            changes.replaceNode(importingFile, importNode, makeImport(\n              importNode.name,\n              /*namedImports*/\n              void 0,\n              moduleSpecifier,\n              quotePreference\n            ));\n            break;\n          case 210:\n            if (isRequireCall(\n              importNode,\n              /*checkArgumentIsStringLiteralLike*/\n              false\n            )) {\n              changes.replaceNode(importingFile, importNode, factory.createPropertyAccessExpression(getSynthesizedDeepClone(importNode), \"default\"));\n            }\n            break;\n        }\n      }\n    }\n    function convertFileToEsModule(sourceFile, checker, changes, target, quotePreference) {\n      const identifiers = { original: collectFreeIdentifiers(sourceFile), additional: /* @__PURE__ */ new Set() };\n      const exports = collectExportRenames(sourceFile, checker, identifiers);\n      convertExportsAccesses(sourceFile, exports, changes);\n      let moduleExportsChangedToDefault = false;\n      let useSitesToUnqualify;\n      for (const statement of filter(sourceFile.statements, isVariableStatement)) {\n        const newUseSites = convertVariableStatement(sourceFile, statement, changes, checker, identifiers, target, quotePreference);\n        if (newUseSites) {\n          copyEntries(newUseSites, useSitesToUnqualify != null ? useSitesToUnqualify : useSitesToUnqualify = /* @__PURE__ */ new Map());\n        }\n      }\n      for (const statement of filter(sourceFile.statements, (s) => !isVariableStatement(s))) {\n        const moduleExportsChanged = convertStatement(sourceFile, statement, checker, changes, identifiers, target, exports, useSitesToUnqualify, quotePreference);\n        moduleExportsChangedToDefault = moduleExportsChangedToDefault || moduleExportsChanged;\n      }\n      useSitesToUnqualify == null ? void 0 : useSitesToUnqualify.forEach((replacement, original) => {\n        changes.replaceNode(sourceFile, original, replacement);\n      });\n      return moduleExportsChangedToDefault;\n    }\n    function collectExportRenames(sourceFile, checker, identifiers) {\n      const res = /* @__PURE__ */ new Map();\n      forEachExportReference(sourceFile, (node) => {\n        const { text } = node.name;\n        if (!res.has(text) && (isIdentifierANonContextualKeyword(node.name) || checker.resolveName(\n          text,\n          node,\n          111551,\n          /*excludeGlobals*/\n          true\n        ))) {\n          res.set(text, makeUniqueName(`_${text}`, identifiers));\n        }\n      });\n      return res;\n    }\n    function convertExportsAccesses(sourceFile, exports, changes) {\n      forEachExportReference(sourceFile, (node, isAssignmentLhs) => {\n        if (isAssignmentLhs) {\n          return;\n        }\n        const { text } = node.name;\n        changes.replaceNode(sourceFile, node, factory.createIdentifier(exports.get(text) || text));\n      });\n    }\n    function forEachExportReference(sourceFile, cb) {\n      sourceFile.forEachChild(function recur(node) {\n        if (isPropertyAccessExpression(node) && isExportsOrModuleExportsOrAlias(sourceFile, node.expression) && isIdentifier(node.name)) {\n          const { parent: parent2 } = node;\n          cb(\n            node,\n            isBinaryExpression(parent2) && parent2.left === node && parent2.operatorToken.kind === 63\n            /* EqualsToken */\n          );\n        }\n        node.forEachChild(recur);\n      });\n    }\n    function convertStatement(sourceFile, statement, checker, changes, identifiers, target, exports, useSitesToUnqualify, quotePreference) {\n      switch (statement.kind) {\n        case 240:\n          convertVariableStatement(sourceFile, statement, changes, checker, identifiers, target, quotePreference);\n          return false;\n        case 241: {\n          const { expression } = statement;\n          switch (expression.kind) {\n            case 210: {\n              if (isRequireCall(\n                expression,\n                /*checkArgumentIsStringLiteralLike*/\n                true\n              )) {\n                changes.replaceNode(sourceFile, statement, makeImport(\n                  /*name*/\n                  void 0,\n                  /*namedImports*/\n                  void 0,\n                  expression.arguments[0],\n                  quotePreference\n                ));\n              }\n              return false;\n            }\n            case 223: {\n              const { operatorToken } = expression;\n              return operatorToken.kind === 63 && convertAssignment(sourceFile, checker, expression, changes, exports, useSitesToUnqualify);\n            }\n          }\n        }\n        default:\n          return false;\n      }\n    }\n    function convertVariableStatement(sourceFile, statement, changes, checker, identifiers, target, quotePreference) {\n      const { declarationList } = statement;\n      let foundImport = false;\n      const converted = map(declarationList.declarations, (decl) => {\n        const { name, initializer } = decl;\n        if (initializer) {\n          if (isExportsOrModuleExportsOrAlias(sourceFile, initializer)) {\n            foundImport = true;\n            return convertedImports([]);\n          } else if (isRequireCall(\n            initializer,\n            /*checkArgumentIsStringLiteralLike*/\n            true\n          )) {\n            foundImport = true;\n            return convertSingleImport(name, initializer.arguments[0], checker, identifiers, target, quotePreference);\n          } else if (isPropertyAccessExpression(initializer) && isRequireCall(\n            initializer.expression,\n            /*checkArgumentIsStringLiteralLike*/\n            true\n          )) {\n            foundImport = true;\n            return convertPropertyAccessImport(name, initializer.name.text, initializer.expression.arguments[0], identifiers, quotePreference);\n          }\n        }\n        return convertedImports([factory.createVariableStatement(\n          /*modifiers*/\n          void 0,\n          factory.createVariableDeclarationList([decl], declarationList.flags)\n        )]);\n      });\n      if (foundImport) {\n        changes.replaceNodeWithNodes(sourceFile, statement, flatMap(converted, (c) => c.newImports));\n        let combinedUseSites;\n        forEach(converted, (c) => {\n          if (c.useSitesToUnqualify) {\n            copyEntries(c.useSitesToUnqualify, combinedUseSites != null ? combinedUseSites : combinedUseSites = /* @__PURE__ */ new Map());\n          }\n        });\n        return combinedUseSites;\n      }\n    }\n    function convertPropertyAccessImport(name, propertyName, moduleSpecifier, identifiers, quotePreference) {\n      switch (name.kind) {\n        case 203:\n        case 204: {\n          const tmp = makeUniqueName(propertyName, identifiers);\n          return convertedImports([\n            makeSingleImport(tmp, propertyName, moduleSpecifier, quotePreference),\n            makeConst(\n              /*modifiers*/\n              void 0,\n              name,\n              factory.createIdentifier(tmp)\n            )\n          ]);\n        }\n        case 79:\n          return convertedImports([makeSingleImport(name.text, propertyName, moduleSpecifier, quotePreference)]);\n        default:\n          return Debug2.assertNever(name, `Convert to ES module got invalid syntax form ${name.kind}`);\n      }\n    }\n    function convertAssignment(sourceFile, checker, assignment, changes, exports, useSitesToUnqualify) {\n      const { left, right } = assignment;\n      if (!isPropertyAccessExpression(left)) {\n        return false;\n      }\n      if (isExportsOrModuleExportsOrAlias(sourceFile, left)) {\n        if (isExportsOrModuleExportsOrAlias(sourceFile, right)) {\n          changes.delete(sourceFile, assignment.parent);\n        } else {\n          const replacement = isObjectLiteralExpression(right) ? tryChangeModuleExportsObject(right, useSitesToUnqualify) : isRequireCall(\n            right,\n            /*checkArgumentIsStringLiteralLike*/\n            true\n          ) ? convertReExportAll(right.arguments[0], checker) : void 0;\n          if (replacement) {\n            changes.replaceNodeWithNodes(sourceFile, assignment.parent, replacement[0]);\n            return replacement[1];\n          } else {\n            changes.replaceRangeWithText(sourceFile, createRange(left.getStart(sourceFile), right.pos), \"export default\");\n            return true;\n          }\n        }\n      } else if (isExportsOrModuleExportsOrAlias(sourceFile, left.expression)) {\n        convertNamedExport(sourceFile, assignment, changes, exports);\n      }\n      return false;\n    }\n    function tryChangeModuleExportsObject(object, useSitesToUnqualify) {\n      const statements = mapAllOrFail(object.properties, (prop) => {\n        switch (prop.kind) {\n          case 174:\n          case 175:\n          case 300:\n          case 301:\n            return void 0;\n          case 299:\n            return !isIdentifier(prop.name) ? void 0 : convertExportsDotXEquals_replaceNode(prop.name.text, prop.initializer, useSitesToUnqualify);\n          case 171:\n            return !isIdentifier(prop.name) ? void 0 : functionExpressionToDeclaration(prop.name.text, [factory.createToken(\n              93\n              /* ExportKeyword */\n            )], prop, useSitesToUnqualify);\n          default:\n            Debug2.assertNever(prop, `Convert to ES6 got invalid prop kind ${prop.kind}`);\n        }\n      });\n      return statements && [statements, false];\n    }\n    function convertNamedExport(sourceFile, assignment, changes, exports) {\n      const { text } = assignment.left.name;\n      const rename = exports.get(text);\n      if (rename !== void 0) {\n        const newNodes = [\n          makeConst(\n            /*modifiers*/\n            void 0,\n            rename,\n            assignment.right\n          ),\n          makeExportDeclaration([factory.createExportSpecifier(\n            /*isTypeOnly*/\n            false,\n            rename,\n            text\n          )])\n        ];\n        changes.replaceNodeWithNodes(sourceFile, assignment.parent, newNodes);\n      } else {\n        convertExportsPropertyAssignment(assignment, sourceFile, changes);\n      }\n    }\n    function convertReExportAll(reExported, checker) {\n      const moduleSpecifier = reExported.text;\n      const moduleSymbol = checker.getSymbolAtLocation(reExported);\n      const exports = moduleSymbol ? moduleSymbol.exports : emptyMap;\n      return exports.has(\n        \"export=\"\n        /* ExportEquals */\n      ) ? [[reExportDefault(moduleSpecifier)], true] : !exports.has(\n        \"default\"\n        /* Default */\n      ) ? [[reExportStar(moduleSpecifier)], false] : (\n        // If there's some non-default export, must include both `export *` and `export default`.\n        exports.size > 1 ? [[reExportStar(moduleSpecifier), reExportDefault(moduleSpecifier)], true] : [[reExportDefault(moduleSpecifier)], true]\n      );\n    }\n    function reExportStar(moduleSpecifier) {\n      return makeExportDeclaration(\n        /*exportClause*/\n        void 0,\n        moduleSpecifier\n      );\n    }\n    function reExportDefault(moduleSpecifier) {\n      return makeExportDeclaration([factory.createExportSpecifier(\n        /*isTypeOnly*/\n        false,\n        /*propertyName*/\n        void 0,\n        \"default\"\n      )], moduleSpecifier);\n    }\n    function convertExportsPropertyAssignment({ left, right, parent: parent2 }, sourceFile, changes) {\n      const name = left.name.text;\n      if ((isFunctionExpression(right) || isArrowFunction(right) || isClassExpression(right)) && (!right.name || right.name.text === name)) {\n        changes.replaceRange(sourceFile, { pos: left.getStart(sourceFile), end: right.getStart(sourceFile) }, factory.createToken(\n          93\n          /* ExportKeyword */\n        ), { suffix: \" \" });\n        if (!right.name)\n          changes.insertName(sourceFile, right, name);\n        const semi = findChildOfKind(parent2, 26, sourceFile);\n        if (semi)\n          changes.delete(sourceFile, semi);\n      } else {\n        changes.replaceNodeRangeWithNodes(\n          sourceFile,\n          left.expression,\n          findChildOfKind(left, 24, sourceFile),\n          [factory.createToken(\n            93\n            /* ExportKeyword */\n          ), factory.createToken(\n            85\n            /* ConstKeyword */\n          )],\n          { joiner: \" \", suffix: \" \" }\n        );\n      }\n    }\n    function convertExportsDotXEquals_replaceNode(name, exported, useSitesToUnqualify) {\n      const modifiers = [factory.createToken(\n        93\n        /* ExportKeyword */\n      )];\n      switch (exported.kind) {\n        case 215: {\n          const { name: expressionName } = exported;\n          if (expressionName && expressionName.text !== name) {\n            return exportConst();\n          }\n        }\n        case 216:\n          return functionExpressionToDeclaration(name, modifiers, exported, useSitesToUnqualify);\n        case 228:\n          return classExpressionToDeclaration(name, modifiers, exported, useSitesToUnqualify);\n        default:\n          return exportConst();\n      }\n      function exportConst() {\n        return makeConst(modifiers, factory.createIdentifier(name), replaceImportUseSites(exported, useSitesToUnqualify));\n      }\n    }\n    function replaceImportUseSites(nodeOrNodes, useSitesToUnqualify) {\n      if (!useSitesToUnqualify || !some(arrayFrom(useSitesToUnqualify.keys()), (original) => rangeContainsRange(nodeOrNodes, original))) {\n        return nodeOrNodes;\n      }\n      return isArray(nodeOrNodes) ? getSynthesizedDeepClonesWithReplacements(\n        nodeOrNodes,\n        /*includeTrivia*/\n        true,\n        replaceNode\n      ) : getSynthesizedDeepCloneWithReplacements(\n        nodeOrNodes,\n        /*includeTrivia*/\n        true,\n        replaceNode\n      );\n      function replaceNode(original) {\n        if (original.kind === 208) {\n          const replacement = useSitesToUnqualify.get(original);\n          useSitesToUnqualify.delete(original);\n          return replacement;\n        }\n      }\n    }\n    function convertSingleImport(name, moduleSpecifier, checker, identifiers, target, quotePreference) {\n      switch (name.kind) {\n        case 203: {\n          const importSpecifiers = mapAllOrFail(name.elements, (e) => e.dotDotDotToken || e.initializer || e.propertyName && !isIdentifier(e.propertyName) || !isIdentifier(e.name) ? void 0 : makeImportSpecifier(e.propertyName && e.propertyName.text, e.name.text));\n          if (importSpecifiers) {\n            return convertedImports([makeImport(\n              /*name*/\n              void 0,\n              importSpecifiers,\n              moduleSpecifier,\n              quotePreference\n            )]);\n          }\n        }\n        case 204: {\n          const tmp = makeUniqueName(moduleSpecifierToValidIdentifier(moduleSpecifier.text, target), identifiers);\n          return convertedImports([\n            makeImport(\n              factory.createIdentifier(tmp),\n              /*namedImports*/\n              void 0,\n              moduleSpecifier,\n              quotePreference\n            ),\n            makeConst(\n              /*modifiers*/\n              void 0,\n              getSynthesizedDeepClone(name),\n              factory.createIdentifier(tmp)\n            )\n          ]);\n        }\n        case 79:\n          return convertSingleIdentifierImport(name, moduleSpecifier, checker, identifiers, quotePreference);\n        default:\n          return Debug2.assertNever(name, `Convert to ES module got invalid name kind ${name.kind}`);\n      }\n    }\n    function convertSingleIdentifierImport(name, moduleSpecifier, checker, identifiers, quotePreference) {\n      const nameSymbol = checker.getSymbolAtLocation(name);\n      const namedBindingsNames = /* @__PURE__ */ new Map();\n      let needDefaultImport = false;\n      let useSitesToUnqualify;\n      for (const use of identifiers.original.get(name.text)) {\n        if (checker.getSymbolAtLocation(use) !== nameSymbol || use === name) {\n          continue;\n        }\n        const { parent: parent2 } = use;\n        if (isPropertyAccessExpression(parent2)) {\n          const { name: { text: propertyName } } = parent2;\n          if (propertyName === \"default\") {\n            needDefaultImport = true;\n            const importDefaultName = use.getText();\n            (useSitesToUnqualify != null ? useSitesToUnqualify : useSitesToUnqualify = /* @__PURE__ */ new Map()).set(parent2, factory.createIdentifier(importDefaultName));\n          } else {\n            Debug2.assert(parent2.expression === use, \"Didn't expect expression === use\");\n            let idName = namedBindingsNames.get(propertyName);\n            if (idName === void 0) {\n              idName = makeUniqueName(propertyName, identifiers);\n              namedBindingsNames.set(propertyName, idName);\n            }\n            (useSitesToUnqualify != null ? useSitesToUnqualify : useSitesToUnqualify = /* @__PURE__ */ new Map()).set(parent2, factory.createIdentifier(idName));\n          }\n        } else {\n          needDefaultImport = true;\n        }\n      }\n      const namedBindings = namedBindingsNames.size === 0 ? void 0 : arrayFrom(mapIterator(namedBindingsNames.entries(), ([propertyName, idName]) => factory.createImportSpecifier(\n        /*isTypeOnly*/\n        false,\n        propertyName === idName ? void 0 : factory.createIdentifier(propertyName),\n        factory.createIdentifier(idName)\n      )));\n      if (!namedBindings) {\n        needDefaultImport = true;\n      }\n      return convertedImports(\n        [makeImport(needDefaultImport ? getSynthesizedDeepClone(name) : void 0, namedBindings, moduleSpecifier, quotePreference)],\n        useSitesToUnqualify\n      );\n    }\n    function makeUniqueName(name, identifiers) {\n      while (identifiers.original.has(name) || identifiers.additional.has(name)) {\n        name = `_${name}`;\n      }\n      identifiers.additional.add(name);\n      return name;\n    }\n    function collectFreeIdentifiers(file) {\n      const map2 = createMultiMap();\n      forEachFreeIdentifier(file, (id) => map2.add(id.text, id));\n      return map2;\n    }\n    function forEachFreeIdentifier(node, cb) {\n      if (isIdentifier(node) && isFreeIdentifier(node))\n        cb(node);\n      node.forEachChild((child) => forEachFreeIdentifier(child, cb));\n    }\n    function isFreeIdentifier(node) {\n      const { parent: parent2 } = node;\n      switch (parent2.kind) {\n        case 208:\n          return parent2.name !== node;\n        case 205:\n          return parent2.propertyName !== node;\n        case 273:\n          return parent2.propertyName !== node;\n        default:\n          return true;\n      }\n    }\n    function functionExpressionToDeclaration(name, additionalModifiers, fn, useSitesToUnqualify) {\n      return factory.createFunctionDeclaration(\n        concatenate(additionalModifiers, getSynthesizedDeepClones(fn.modifiers)),\n        getSynthesizedDeepClone(fn.asteriskToken),\n        name,\n        getSynthesizedDeepClones(fn.typeParameters),\n        getSynthesizedDeepClones(fn.parameters),\n        getSynthesizedDeepClone(fn.type),\n        factory.converters.convertToFunctionBlock(replaceImportUseSites(fn.body, useSitesToUnqualify))\n      );\n    }\n    function classExpressionToDeclaration(name, additionalModifiers, cls, useSitesToUnqualify) {\n      return factory.createClassDeclaration(\n        concatenate(additionalModifiers, getSynthesizedDeepClones(cls.modifiers)),\n        name,\n        getSynthesizedDeepClones(cls.typeParameters),\n        getSynthesizedDeepClones(cls.heritageClauses),\n        replaceImportUseSites(cls.members, useSitesToUnqualify)\n      );\n    }\n    function makeSingleImport(localName, propertyName, moduleSpecifier, quotePreference) {\n      return propertyName === \"default\" ? makeImport(\n        factory.createIdentifier(localName),\n        /*namedImports*/\n        void 0,\n        moduleSpecifier,\n        quotePreference\n      ) : makeImport(\n        /*name*/\n        void 0,\n        [makeImportSpecifier(propertyName, localName)],\n        moduleSpecifier,\n        quotePreference\n      );\n    }\n    function makeImportSpecifier(propertyName, name) {\n      return factory.createImportSpecifier(\n        /*isTypeOnly*/\n        false,\n        propertyName !== void 0 && propertyName !== name ? factory.createIdentifier(propertyName) : void 0,\n        factory.createIdentifier(name)\n      );\n    }\n    function makeConst(modifiers, name, init) {\n      return factory.createVariableStatement(\n        modifiers,\n        factory.createVariableDeclarationList(\n          [factory.createVariableDeclaration(\n            name,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            init\n          )],\n          2\n          /* Const */\n        )\n      );\n    }\n    function makeExportDeclaration(exportSpecifiers, moduleSpecifier) {\n      return factory.createExportDeclaration(\n        /*modifiers*/\n        void 0,\n        /*isTypeOnly*/\n        false,\n        exportSpecifiers && factory.createNamedExports(exportSpecifiers),\n        moduleSpecifier === void 0 ? void 0 : factory.createStringLiteral(moduleSpecifier)\n      );\n    }\n    function convertedImports(newImports, useSitesToUnqualify) {\n      return {\n        newImports,\n        useSitesToUnqualify\n      };\n    }\n    var init_convertToEsModule = __esm({\n      \"src/services/codefixes/convertToEsModule.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        registerCodeFix({\n          errorCodes: [Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],\n          getCodeActions(context) {\n            const { sourceFile, program, preferences } = context;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n              const moduleExportsChangedToDefault = convertFileToEsModule(sourceFile, program.getTypeChecker(), changes2, getEmitScriptTarget(program.getCompilerOptions()), getQuotePreference(sourceFile, preferences));\n              if (moduleExportsChangedToDefault) {\n                for (const importingFile of program.getSourceFiles()) {\n                  fixImportOfModuleExports(importingFile, sourceFile, changes2, getQuotePreference(importingFile, preferences));\n                }\n              }\n            });\n            return [createCodeFixActionWithoutFixAll(\"convertToEsModule\", changes, Diagnostics.Convert_to_ES_module)];\n          }\n        });\n      }\n    });\n    function getQualifiedName(sourceFile, pos) {\n      const qualifiedName = findAncestor(getTokenAtPosition(sourceFile, pos), isQualifiedName);\n      Debug2.assert(!!qualifiedName, \"Expected position to be owned by a qualified name.\");\n      return isIdentifier(qualifiedName.left) ? qualifiedName : void 0;\n    }\n    function doChange3(changeTracker, sourceFile, qualifiedName) {\n      const rightText = qualifiedName.right.text;\n      const replacement = factory.createIndexedAccessTypeNode(\n        factory.createTypeReferenceNode(\n          qualifiedName.left,\n          /*typeArguments*/\n          void 0\n        ),\n        factory.createLiteralTypeNode(factory.createStringLiteral(rightText))\n      );\n      changeTracker.replaceNode(sourceFile, qualifiedName, replacement);\n    }\n    var fixId11, errorCodes12;\n    var init_correctQualifiedNameToIndexedAccessType = __esm({\n      \"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId11 = \"correctQualifiedNameToIndexedAccessType\";\n        errorCodes12 = [Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];\n        registerCodeFix({\n          errorCodes: errorCodes12,\n          getCodeActions(context) {\n            const qualifiedName = getQualifiedName(context.sourceFile, context.span.start);\n            if (!qualifiedName)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange3(t, context.sourceFile, qualifiedName));\n            const newText = `${qualifiedName.left.text}[\"${qualifiedName.right.text}\"]`;\n            return [createCodeFixAction(fixId11, changes, [Diagnostics.Rewrite_as_the_indexed_access_type_0, newText], fixId11, Diagnostics.Rewrite_all_as_indexed_access_types)];\n          },\n          fixIds: [fixId11],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes12, (changes, diag2) => {\n            const q = getQualifiedName(diag2.file, diag2.start);\n            if (q) {\n              doChange3(changes, diag2.file, q);\n            }\n          })\n        });\n      }\n    });\n    function getExportSpecifierForDiagnosticSpan(span, sourceFile) {\n      return tryCast(getTokenAtPosition(sourceFile, span.start).parent, isExportSpecifier);\n    }\n    function fixSingleExportDeclaration(changes, exportSpecifier, context) {\n      if (!exportSpecifier) {\n        return;\n      }\n      const exportClause = exportSpecifier.parent;\n      const exportDeclaration = exportClause.parent;\n      const typeExportSpecifiers = getTypeExportSpecifiers(exportSpecifier, context);\n      if (typeExportSpecifiers.length === exportClause.elements.length) {\n        changes.insertModifierBefore(context.sourceFile, 154, exportClause);\n      } else {\n        const valueExportDeclaration = factory.updateExportDeclaration(\n          exportDeclaration,\n          exportDeclaration.modifiers,\n          /*isTypeOnly*/\n          false,\n          factory.updateNamedExports(exportClause, filter(exportClause.elements, (e) => !contains(typeExportSpecifiers, e))),\n          exportDeclaration.moduleSpecifier,\n          /*assertClause*/\n          void 0\n        );\n        const typeExportDeclaration = factory.createExportDeclaration(\n          /*modifiers*/\n          void 0,\n          /*isTypeOnly*/\n          true,\n          factory.createNamedExports(typeExportSpecifiers),\n          exportDeclaration.moduleSpecifier,\n          /*assertClause*/\n          void 0\n        );\n        changes.replaceNode(context.sourceFile, exportDeclaration, valueExportDeclaration, {\n          leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll,\n          trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude\n        });\n        changes.insertNodeAfter(context.sourceFile, exportDeclaration, typeExportDeclaration);\n      }\n    }\n    function getTypeExportSpecifiers(originExportSpecifier, context) {\n      const exportClause = originExportSpecifier.parent;\n      if (exportClause.elements.length === 1) {\n        return exportClause.elements;\n      }\n      const diagnostics = getDiagnosticsWithinSpan(\n        createTextSpanFromNode(exportClause),\n        context.program.getSemanticDiagnostics(context.sourceFile, context.cancellationToken)\n      );\n      return filter(exportClause.elements, (element) => {\n        var _a22;\n        return element === originExportSpecifier || ((_a22 = findDiagnosticForNode(element, diagnostics)) == null ? void 0 : _a22.code) === errorCodes13[0];\n      });\n    }\n    var errorCodes13, fixId12;\n    var init_convertToTypeOnlyExport = __esm({\n      \"src/services/codefixes/convertToTypeOnlyExport.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        errorCodes13 = [Diagnostics.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code];\n        fixId12 = \"convertToTypeOnlyExport\";\n        registerCodeFix({\n          errorCodes: errorCodes13,\n          getCodeActions: function getCodeActionsToConvertToTypeOnlyExport(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => fixSingleExportDeclaration(t, getExportSpecifierForDiagnosticSpan(context.span, context.sourceFile), context));\n            if (changes.length) {\n              return [createCodeFixAction(fixId12, changes, Diagnostics.Convert_to_type_only_export, fixId12, Diagnostics.Convert_all_re_exported_types_to_type_only_exports)];\n            }\n          },\n          fixIds: [fixId12],\n          getAllCodeActions: function getAllCodeActionsToConvertToTypeOnlyExport(context) {\n            const fixedExportDeclarations = /* @__PURE__ */ new Map();\n            return codeFixAll(context, errorCodes13, (changes, diag2) => {\n              const exportSpecifier = getExportSpecifierForDiagnosticSpan(diag2, context.sourceFile);\n              if (exportSpecifier && addToSeen(fixedExportDeclarations, getNodeId(exportSpecifier.parent.parent))) {\n                fixSingleExportDeclaration(changes, exportSpecifier, context);\n              }\n            });\n          }\n        });\n      }\n    });\n    function getDeclaration2(sourceFile, pos) {\n      const { parent: parent2 } = getTokenAtPosition(sourceFile, pos);\n      return isImportSpecifier(parent2) || isImportDeclaration(parent2) && parent2.importClause ? parent2 : void 0;\n    }\n    function doChange4(changes, sourceFile, declaration) {\n      if (isImportSpecifier(declaration)) {\n        changes.replaceNode(sourceFile, declaration, factory.updateImportSpecifier(\n          declaration,\n          /*isTypeOnly*/\n          true,\n          declaration.propertyName,\n          declaration.name\n        ));\n      } else {\n        const importClause = declaration.importClause;\n        if (importClause.name && importClause.namedBindings) {\n          changes.replaceNodeWithNodes(sourceFile, declaration, [\n            factory.createImportDeclaration(\n              getSynthesizedDeepClones(\n                declaration.modifiers,\n                /*includeTrivia*/\n                true\n              ),\n              factory.createImportClause(\n                /*isTypeOnly*/\n                true,\n                getSynthesizedDeepClone(\n                  importClause.name,\n                  /*includeTrivia*/\n                  true\n                ),\n                /*namedBindings*/\n                void 0\n              ),\n              getSynthesizedDeepClone(\n                declaration.moduleSpecifier,\n                /*includeTrivia*/\n                true\n              ),\n              getSynthesizedDeepClone(\n                declaration.assertClause,\n                /*includeTrivia*/\n                true\n              )\n            ),\n            factory.createImportDeclaration(\n              getSynthesizedDeepClones(\n                declaration.modifiers,\n                /*includeTrivia*/\n                true\n              ),\n              factory.createImportClause(\n                /*isTypeOnly*/\n                true,\n                /*name*/\n                void 0,\n                getSynthesizedDeepClone(\n                  importClause.namedBindings,\n                  /*includeTrivia*/\n                  true\n                )\n              ),\n              getSynthesizedDeepClone(\n                declaration.moduleSpecifier,\n                /*includeTrivia*/\n                true\n              ),\n              getSynthesizedDeepClone(\n                declaration.assertClause,\n                /*includeTrivia*/\n                true\n              )\n            )\n          ]);\n        } else {\n          const importDeclaration = factory.updateImportDeclaration(\n            declaration,\n            declaration.modifiers,\n            factory.updateImportClause(\n              importClause,\n              /*isTypeOnly*/\n              true,\n              importClause.name,\n              importClause.namedBindings\n            ),\n            declaration.moduleSpecifier,\n            declaration.assertClause\n          );\n          changes.replaceNode(sourceFile, declaration, importDeclaration);\n        }\n      }\n    }\n    var errorCodes14, fixId13;\n    var init_convertToTypeOnlyImport = __esm({\n      \"src/services/codefixes/convertToTypeOnlyImport.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        errorCodes14 = [\n          Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,\n          Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code\n        ];\n        fixId13 = \"convertToTypeOnlyImport\";\n        registerCodeFix({\n          errorCodes: errorCodes14,\n          getCodeActions: function getCodeActionsToConvertToTypeOnlyImport(context) {\n            const declaration = getDeclaration2(context.sourceFile, context.span.start);\n            if (declaration) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange4(t, context.sourceFile, declaration));\n              return [createCodeFixAction(fixId13, changes, Diagnostics.Convert_to_type_only_import, fixId13, Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)];\n            }\n            return void 0;\n          },\n          fixIds: [fixId13],\n          getAllCodeActions: function getAllCodeActionsToConvertToTypeOnlyImport(context) {\n            return codeFixAll(context, errorCodes14, (changes, diag2) => {\n              const declaration = getDeclaration2(diag2.file, diag2.start);\n              if (declaration) {\n                doChange4(changes, diag2.file, declaration);\n              }\n            });\n          }\n        });\n      }\n    });\n    function getInfo2(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (isIdentifier(token)) {\n        const propertySignature = cast(token.parent.parent, isPropertySignature);\n        const propertyName = token.getText(sourceFile);\n        return {\n          container: cast(propertySignature.parent, isTypeLiteralNode),\n          typeNode: propertySignature.type,\n          constraint: propertyName,\n          name: propertyName === \"K\" ? \"P\" : \"K\"\n        };\n      }\n      return void 0;\n    }\n    function doChange5(changes, sourceFile, { container, typeNode, constraint, name }) {\n      changes.replaceNode(sourceFile, container, factory.createMappedTypeNode(\n        /*readonlyToken*/\n        void 0,\n        factory.createTypeParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          name,\n          factory.createTypeReferenceNode(constraint)\n        ),\n        /*nameType*/\n        void 0,\n        /*questionToken*/\n        void 0,\n        typeNode,\n        /*members*/\n        void 0\n      ));\n    }\n    var fixId14, errorCodes15;\n    var init_convertLiteralTypeToMappedType = __esm({\n      \"src/services/codefixes/convertLiteralTypeToMappedType.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId14 = \"convertLiteralTypeToMappedType\";\n        errorCodes15 = [Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];\n        registerCodeFix({\n          errorCodes: errorCodes15,\n          getCodeActions: function getCodeActionsToConvertLiteralTypeToMappedType(context) {\n            const { sourceFile, span } = context;\n            const info = getInfo2(sourceFile, span.start);\n            if (!info) {\n              return void 0;\n            }\n            const { name, constraint } = info;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange5(t, sourceFile, info));\n            return [createCodeFixAction(fixId14, changes, [Diagnostics.Convert_0_to_1_in_0, constraint, name], fixId14, Diagnostics.Convert_all_type_literals_to_mapped_type)];\n          },\n          fixIds: [fixId14],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes15, (changes, diag2) => {\n            const info = getInfo2(diag2.file, diag2.start);\n            if (info) {\n              doChange5(changes, diag2.file, info);\n            }\n          })\n        });\n      }\n    });\n    function getClass(sourceFile, pos) {\n      return Debug2.checkDefined(getContainingClass(getTokenAtPosition(sourceFile, pos)), \"There should be a containing class\");\n    }\n    function symbolPointsToNonPrivateMember(symbol) {\n      return !symbol.valueDeclaration || !(getEffectiveModifierFlags(symbol.valueDeclaration) & 8);\n    }\n    function addMissingDeclarations(context, implementedTypeNode, sourceFile, classDeclaration, changeTracker, preferences) {\n      const checker = context.program.getTypeChecker();\n      const maybeHeritageClauseSymbol = getHeritageClauseSymbolTable(classDeclaration, checker);\n      const implementedType = checker.getTypeAtLocation(implementedTypeNode);\n      const implementedTypeSymbols = checker.getPropertiesOfType(implementedType);\n      const nonPrivateAndNotExistedInHeritageClauseMembers = implementedTypeSymbols.filter(and(symbolPointsToNonPrivateMember, (symbol) => !maybeHeritageClauseSymbol.has(symbol.escapedName)));\n      const classType = checker.getTypeAtLocation(classDeclaration);\n      const constructor = find(classDeclaration.members, (m) => isConstructorDeclaration(m));\n      if (!classType.getNumberIndexType()) {\n        createMissingIndexSignatureDeclaration(\n          implementedType,\n          1\n          /* Number */\n        );\n      }\n      if (!classType.getStringIndexType()) {\n        createMissingIndexSignatureDeclaration(\n          implementedType,\n          0\n          /* String */\n        );\n      }\n      const importAdder = createImportAdder(sourceFile, context.program, preferences, context.host);\n      createMissingMemberNodes(classDeclaration, nonPrivateAndNotExistedInHeritageClauseMembers, sourceFile, context, preferences, importAdder, (member) => insertInterfaceMemberNode(sourceFile, classDeclaration, member));\n      importAdder.writeFixes(changeTracker);\n      function createMissingIndexSignatureDeclaration(type, kind) {\n        const indexInfoOfKind = checker.getIndexInfoOfType(type, kind);\n        if (indexInfoOfKind) {\n          insertInterfaceMemberNode(sourceFile, classDeclaration, checker.indexInfoToIndexSignatureDeclaration(\n            indexInfoOfKind,\n            classDeclaration,\n            /*flags*/\n            void 0,\n            getNoopSymbolTrackerWithResolver(context)\n          ));\n        }\n      }\n      function insertInterfaceMemberNode(sourceFile2, cls, newElement) {\n        if (constructor) {\n          changeTracker.insertNodeAfter(sourceFile2, constructor, newElement);\n        } else {\n          changeTracker.insertMemberAtStart(sourceFile2, cls, newElement);\n        }\n      }\n    }\n    function getHeritageClauseSymbolTable(classDeclaration, checker) {\n      const heritageClauseNode = getEffectiveBaseTypeNode(classDeclaration);\n      if (!heritageClauseNode)\n        return createSymbolTable();\n      const heritageClauseType = checker.getTypeAtLocation(heritageClauseNode);\n      const heritageClauseTypeSymbols = checker.getPropertiesOfType(heritageClauseType);\n      return createSymbolTable(heritageClauseTypeSymbols.filter(symbolPointsToNonPrivateMember));\n    }\n    var errorCodes16, fixId15;\n    var init_fixClassIncorrectlyImplementsInterface = __esm({\n      \"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        errorCodes16 = [\n          Diagnostics.Class_0_incorrectly_implements_interface_1.code,\n          Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code\n        ];\n        fixId15 = \"fixClassIncorrectlyImplementsInterface\";\n        registerCodeFix({\n          errorCodes: errorCodes16,\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const classDeclaration = getClass(sourceFile, span.start);\n            return mapDefined(getEffectiveImplementsTypeNodes(classDeclaration), (implementedTypeNode) => {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingDeclarations(context, implementedTypeNode, sourceFile, classDeclaration, t, context.preferences));\n              return changes.length === 0 ? void 0 : createCodeFixAction(fixId15, changes, [Diagnostics.Implement_interface_0, implementedTypeNode.getText(sourceFile)], fixId15, Diagnostics.Implement_all_unimplemented_interfaces);\n            });\n          },\n          fixIds: [fixId15],\n          getAllCodeActions(context) {\n            const seenClassDeclarations = /* @__PURE__ */ new Map();\n            return codeFixAll(context, errorCodes16, (changes, diag2) => {\n              const classDeclaration = getClass(diag2.file, diag2.start);\n              if (addToSeen(seenClassDeclarations, getNodeId(classDeclaration))) {\n                for (const implementedTypeNode of getEffectiveImplementsTypeNodes(classDeclaration)) {\n                  addMissingDeclarations(context, implementedTypeNode, diag2.file, classDeclaration, changes, context.preferences);\n                }\n              }\n            });\n          }\n        });\n      }\n    });\n    function createImportAdder(sourceFile, program, preferences, host, cancellationToken) {\n      return createImportAdderWorker(\n        sourceFile,\n        program,\n        /*useAutoImportProvider*/\n        false,\n        preferences,\n        host,\n        cancellationToken\n      );\n    }\n    function createImportAdderWorker(sourceFile, program, useAutoImportProvider, preferences, host, cancellationToken) {\n      const compilerOptions = program.getCompilerOptions();\n      const addToNamespace = [];\n      const importType = [];\n      const addToExisting = /* @__PURE__ */ new Map();\n      const newImports = /* @__PURE__ */ new Map();\n      return { addImportFromDiagnostic, addImportFromExportedSymbol, writeFixes, hasFixes };\n      function addImportFromDiagnostic(diagnostic, context) {\n        const info = getFixInfos(context, diagnostic.code, diagnostic.start, useAutoImportProvider);\n        if (!info || !info.length)\n          return;\n        addImport(first(info));\n      }\n      function addImportFromExportedSymbol(exportedSymbol, isValidTypeOnlyUseSite) {\n        const moduleSymbol = Debug2.checkDefined(exportedSymbol.parent);\n        const symbolName2 = getNameForExportedSymbol(exportedSymbol, getEmitScriptTarget(compilerOptions));\n        const checker = program.getTypeChecker();\n        const symbol = checker.getMergedSymbol(skipAlias(exportedSymbol, checker));\n        const exportInfo = getAllExportInfoForSymbol(\n          sourceFile,\n          symbol,\n          symbolName2,\n          moduleSymbol,\n          /*isJsxTagName*/\n          false,\n          program,\n          host,\n          preferences,\n          cancellationToken\n        );\n        const useRequire = shouldUseRequire(sourceFile, program);\n        const fix = getImportFixForSymbol(\n          sourceFile,\n          Debug2.checkDefined(exportInfo),\n          program,\n          /*position*/\n          void 0,\n          !!isValidTypeOnlyUseSite,\n          useRequire,\n          host,\n          preferences\n        );\n        if (fix) {\n          addImport({ fix, symbolName: symbolName2, errorIdentifierText: void 0 });\n        }\n      }\n      function addImport(info) {\n        var _a22, _b3;\n        const { fix, symbolName: symbolName2 } = info;\n        switch (fix.kind) {\n          case 0:\n            addToNamespace.push(fix);\n            break;\n          case 1:\n            importType.push(fix);\n            break;\n          case 2: {\n            const { importClauseOrBindingPattern, importKind, addAsTypeOnly } = fix;\n            const key = String(getNodeId(importClauseOrBindingPattern));\n            let entry = addToExisting.get(key);\n            if (!entry) {\n              addToExisting.set(key, entry = { importClauseOrBindingPattern, defaultImport: void 0, namedImports: /* @__PURE__ */ new Map() });\n            }\n            if (importKind === 0) {\n              const prevValue = entry == null ? void 0 : entry.namedImports.get(symbolName2);\n              entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly));\n            } else {\n              Debug2.assert(entry.defaultImport === void 0 || entry.defaultImport.name === symbolName2, \"(Add to Existing) Default import should be missing or match symbolName\");\n              entry.defaultImport = {\n                name: symbolName2,\n                addAsTypeOnly: reduceAddAsTypeOnlyValues((_a22 = entry.defaultImport) == null ? void 0 : _a22.addAsTypeOnly, addAsTypeOnly)\n              };\n            }\n            break;\n          }\n          case 3: {\n            const { moduleSpecifier, importKind, useRequire, addAsTypeOnly } = fix;\n            const entry = getNewImportEntry(moduleSpecifier, importKind, useRequire, addAsTypeOnly);\n            Debug2.assert(entry.useRequire === useRequire, \"(Add new) Tried to add an `import` and a `require` for the same module\");\n            switch (importKind) {\n              case 1:\n                Debug2.assert(entry.defaultImport === void 0 || entry.defaultImport.name === symbolName2, \"(Add new) Default import should be missing or match symbolName\");\n                entry.defaultImport = { name: symbolName2, addAsTypeOnly: reduceAddAsTypeOnlyValues((_b3 = entry.defaultImport) == null ? void 0 : _b3.addAsTypeOnly, addAsTypeOnly) };\n                break;\n              case 0:\n                const prevValue = (entry.namedImports || (entry.namedImports = /* @__PURE__ */ new Map())).get(symbolName2);\n                entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly));\n                break;\n              case 3:\n              case 2:\n                Debug2.assert(entry.namespaceLikeImport === void 0 || entry.namespaceLikeImport.name === symbolName2, \"Namespacelike import shoudl be missing or match symbolName\");\n                entry.namespaceLikeImport = { importKind, name: symbolName2, addAsTypeOnly };\n                break;\n            }\n            break;\n          }\n          case 4:\n            break;\n          default:\n            Debug2.assertNever(fix, `fix wasn't never - got kind ${fix.kind}`);\n        }\n        function reduceAddAsTypeOnlyValues(prevValue, newValue) {\n          return Math.max(prevValue != null ? prevValue : 0, newValue);\n        }\n        function getNewImportEntry(moduleSpecifier, importKind, useRequire, addAsTypeOnly) {\n          const typeOnlyKey = newImportsKey(\n            moduleSpecifier,\n            /*topLevelTypeOnly*/\n            true\n          );\n          const nonTypeOnlyKey = newImportsKey(\n            moduleSpecifier,\n            /*topLevelTypeOnly*/\n            false\n          );\n          const typeOnlyEntry = newImports.get(typeOnlyKey);\n          const nonTypeOnlyEntry = newImports.get(nonTypeOnlyKey);\n          const newEntry = {\n            defaultImport: void 0,\n            namedImports: void 0,\n            namespaceLikeImport: void 0,\n            useRequire\n          };\n          if (importKind === 1 && addAsTypeOnly === 2) {\n            if (typeOnlyEntry)\n              return typeOnlyEntry;\n            newImports.set(typeOnlyKey, newEntry);\n            return newEntry;\n          }\n          if (addAsTypeOnly === 1 && (typeOnlyEntry || nonTypeOnlyEntry)) {\n            return typeOnlyEntry || nonTypeOnlyEntry;\n          }\n          if (nonTypeOnlyEntry) {\n            return nonTypeOnlyEntry;\n          }\n          newImports.set(nonTypeOnlyKey, newEntry);\n          return newEntry;\n        }\n        function newImportsKey(moduleSpecifier, topLevelTypeOnly) {\n          return `${topLevelTypeOnly ? 1 : 0}|${moduleSpecifier}`;\n        }\n      }\n      function writeFixes(changeTracker) {\n        const quotePreference = getQuotePreference(sourceFile, preferences);\n        for (const fix of addToNamespace) {\n          addNamespaceQualifier(changeTracker, sourceFile, fix);\n        }\n        for (const fix of importType) {\n          addImportType(changeTracker, sourceFile, fix, quotePreference);\n        }\n        addToExisting.forEach(({ importClauseOrBindingPattern, defaultImport, namedImports }) => {\n          doAddExistingFix(\n            changeTracker,\n            sourceFile,\n            importClauseOrBindingPattern,\n            defaultImport,\n            arrayFrom(namedImports.entries(), ([name, addAsTypeOnly]) => ({ addAsTypeOnly, name })),\n            compilerOptions,\n            preferences\n          );\n        });\n        let newDeclarations;\n        newImports.forEach(({ useRequire, defaultImport, namedImports, namespaceLikeImport }, key) => {\n          const moduleSpecifier = key.slice(2);\n          const getDeclarations = useRequire ? getNewRequires : getNewImports;\n          const declarations = getDeclarations(\n            moduleSpecifier,\n            quotePreference,\n            defaultImport,\n            namedImports && arrayFrom(namedImports.entries(), ([name, addAsTypeOnly]) => ({ addAsTypeOnly, name })),\n            namespaceLikeImport,\n            compilerOptions\n          );\n          newDeclarations = combine(newDeclarations, declarations);\n        });\n        if (newDeclarations) {\n          insertImports(\n            changeTracker,\n            sourceFile,\n            newDeclarations,\n            /*blankLineBetween*/\n            true,\n            preferences\n          );\n        }\n      }\n      function hasFixes() {\n        return addToNamespace.length > 0 || importType.length > 0 || addToExisting.size > 0 || newImports.size > 0;\n      }\n    }\n    function createImportSpecifierResolver(importingFile, program, host, preferences) {\n      const packageJsonImportFilter = createPackageJsonImportFilter(importingFile, preferences, host);\n      const importMap = createExistingImportMap(program.getTypeChecker(), importingFile, program.getCompilerOptions());\n      return { getModuleSpecifierForBestExportInfo };\n      function getModuleSpecifierForBestExportInfo(exportInfo, position, isValidTypeOnlyUseSite, fromCacheOnly) {\n        const { fixes, computedWithoutCacheCount } = getImportFixes(\n          exportInfo,\n          position,\n          isValidTypeOnlyUseSite,\n          /*useRequire*/\n          false,\n          program,\n          importingFile,\n          host,\n          preferences,\n          importMap,\n          fromCacheOnly\n        );\n        const result = getBestFix(fixes, importingFile, program, packageJsonImportFilter, host);\n        return result && { ...result, computedWithoutCacheCount };\n      }\n    }\n    function getImportCompletionAction(targetSymbol, moduleSymbol, exportMapKey, sourceFile, symbolName2, isJsxTagName, host, program, formatContext, position, preferences, cancellationToken) {\n      const compilerOptions = program.getCompilerOptions();\n      let exportInfos;\n      if (exportMapKey) {\n        exportInfos = getExportInfoMap(sourceFile, host, program, preferences, cancellationToken).get(sourceFile.path, exportMapKey);\n        Debug2.assertIsDefined(exportInfos, \"Some exportInfo should match the specified exportMapKey\");\n      } else {\n        exportInfos = pathIsBareSpecifier(stripQuotes(moduleSymbol.name)) ? [getSingleExportInfoForSymbol(targetSymbol, symbolName2, moduleSymbol, program, host)] : getAllExportInfoForSymbol(sourceFile, targetSymbol, symbolName2, moduleSymbol, isJsxTagName, program, host, preferences, cancellationToken);\n        Debug2.assertIsDefined(exportInfos, \"Some exportInfo should match the specified symbol / moduleSymbol\");\n      }\n      const useRequire = shouldUseRequire(sourceFile, program);\n      const isValidTypeOnlyUseSite = isValidTypeOnlyAliasUseSite(getTokenAtPosition(sourceFile, position));\n      const fix = Debug2.checkDefined(getImportFixForSymbol(sourceFile, exportInfos, program, position, isValidTypeOnlyUseSite, useRequire, host, preferences));\n      return {\n        moduleSpecifier: fix.moduleSpecifier,\n        codeAction: codeFixActionToCodeAction(codeActionForFix(\n          { host, formatContext, preferences },\n          sourceFile,\n          symbolName2,\n          fix,\n          /*includeSymbolNameInDescription*/\n          false,\n          compilerOptions,\n          preferences\n        ))\n      };\n    }\n    function getPromoteTypeOnlyCompletionAction(sourceFile, symbolToken, program, host, formatContext, preferences) {\n      const compilerOptions = program.getCompilerOptions();\n      const symbolName2 = single(getSymbolNamesToImport(sourceFile, program.getTypeChecker(), symbolToken, compilerOptions));\n      const fix = getTypeOnlyPromotionFix(sourceFile, symbolToken, symbolName2, program);\n      const includeSymbolNameInDescription = symbolName2 !== symbolToken.text;\n      return fix && codeFixActionToCodeAction(codeActionForFix({ host, formatContext, preferences }, sourceFile, symbolName2, fix, includeSymbolNameInDescription, compilerOptions, preferences));\n    }\n    function getImportFixForSymbol(sourceFile, exportInfos, program, position, isValidTypeOnlyUseSite, useRequire, host, preferences) {\n      const packageJsonImportFilter = createPackageJsonImportFilter(sourceFile, preferences, host);\n      return getBestFix(getImportFixes(exportInfos, position, isValidTypeOnlyUseSite, useRequire, program, sourceFile, host, preferences).fixes, sourceFile, program, packageJsonImportFilter, host);\n    }\n    function codeFixActionToCodeAction({ description: description2, changes, commands }) {\n      return { description: description2, changes, commands };\n    }\n    function getAllExportInfoForSymbol(importingFile, symbol, symbolName2, moduleSymbol, preferCapitalized, program, host, preferences, cancellationToken) {\n      const getChecker = createGetChecker(program, host);\n      return getExportInfoMap(importingFile, host, program, preferences, cancellationToken).search(importingFile.path, preferCapitalized, (name) => name === symbolName2, (info) => {\n        if (skipAlias(info[0].symbol, getChecker(info[0].isFromPackageJson)) === symbol && info.some((i) => i.moduleSymbol === moduleSymbol || i.symbol.parent === moduleSymbol)) {\n          return info;\n        }\n      });\n    }\n    function getSingleExportInfoForSymbol(symbol, symbolName2, moduleSymbol, program, host) {\n      var _a22, _b3;\n      const compilerOptions = program.getCompilerOptions();\n      const mainProgramInfo = getInfoWithChecker(\n        program.getTypeChecker(),\n        /*isFromPackageJson*/\n        false\n      );\n      if (mainProgramInfo) {\n        return mainProgramInfo;\n      }\n      const autoImportProvider = (_b3 = (_a22 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a22.call(host)) == null ? void 0 : _b3.getTypeChecker();\n      return Debug2.checkDefined(autoImportProvider && getInfoWithChecker(\n        autoImportProvider,\n        /*isFromPackageJson*/\n        true\n      ), `Could not find symbol in specified module for code actions`);\n      function getInfoWithChecker(checker, isFromPackageJson) {\n        const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions);\n        if (defaultInfo && skipAlias(defaultInfo.symbol, checker) === symbol) {\n          return { symbol: defaultInfo.symbol, moduleSymbol, moduleFileName: void 0, exportKind: defaultInfo.exportKind, targetFlags: skipAlias(symbol, checker).flags, isFromPackageJson };\n        }\n        const named = checker.tryGetMemberInModuleExportsAndProperties(symbolName2, moduleSymbol);\n        if (named && skipAlias(named, checker) === symbol) {\n          return { symbol: named, moduleSymbol, moduleFileName: void 0, exportKind: 0, targetFlags: skipAlias(symbol, checker).flags, isFromPackageJson };\n        }\n      }\n    }\n    function getImportFixes(exportInfos, usagePosition, isValidTypeOnlyUseSite, useRequire, program, sourceFile, host, preferences, importMap = createExistingImportMap(program.getTypeChecker(), sourceFile, program.getCompilerOptions()), fromCacheOnly) {\n      const checker = program.getTypeChecker();\n      const existingImports = flatMap(exportInfos, importMap.getImportsForExportInfo);\n      const useNamespace = usagePosition !== void 0 && tryUseExistingNamespaceImport(existingImports, usagePosition);\n      const addToExisting = tryAddToExistingImport(existingImports, isValidTypeOnlyUseSite, checker, program.getCompilerOptions());\n      if (addToExisting) {\n        return {\n          computedWithoutCacheCount: 0,\n          fixes: [...useNamespace ? [useNamespace] : emptyArray, addToExisting]\n        };\n      }\n      const { fixes, computedWithoutCacheCount = 0 } = getFixesForAddImport(\n        exportInfos,\n        existingImports,\n        program,\n        sourceFile,\n        usagePosition,\n        isValidTypeOnlyUseSite,\n        useRequire,\n        host,\n        preferences,\n        fromCacheOnly\n      );\n      return {\n        computedWithoutCacheCount,\n        fixes: [...useNamespace ? [useNamespace] : emptyArray, ...fixes]\n      };\n    }\n    function tryUseExistingNamespaceImport(existingImports, position) {\n      return firstDefined(existingImports, ({ declaration, importKind }) => {\n        var _a22;\n        if (importKind !== 0)\n          return void 0;\n        const namespacePrefix = getNamespaceLikeImportText(declaration);\n        const moduleSpecifier = namespacePrefix && ((_a22 = tryGetModuleSpecifierFromDeclaration(declaration)) == null ? void 0 : _a22.text);\n        if (moduleSpecifier) {\n          return { kind: 0, namespacePrefix, usagePosition: position, moduleSpecifier };\n        }\n      });\n    }\n    function getNamespaceLikeImportText(declaration) {\n      var _a22, _b3, _c;\n      switch (declaration.kind) {\n        case 257:\n          return (_a22 = tryCast(declaration.name, isIdentifier)) == null ? void 0 : _a22.text;\n        case 268:\n          return declaration.name.text;\n        case 269:\n          return (_c = tryCast((_b3 = declaration.importClause) == null ? void 0 : _b3.namedBindings, isNamespaceImport)) == null ? void 0 : _c.name.text;\n        default:\n          return Debug2.assertNever(declaration);\n      }\n    }\n    function getAddAsTypeOnly(isValidTypeOnlyUseSite, isForNewImportDeclaration, symbol, targetFlags, checker, compilerOptions) {\n      if (!isValidTypeOnlyUseSite) {\n        return 4;\n      }\n      if (isForNewImportDeclaration && compilerOptions.importsNotUsedAsValues === 2) {\n        return 2;\n      }\n      if (importNameElisionDisabled(compilerOptions) && (!(targetFlags & 111551) || !!checker.getTypeOnlyAliasDeclaration(symbol))) {\n        return 2;\n      }\n      return 1;\n    }\n    function tryAddToExistingImport(existingImports, isValidTypeOnlyUseSite, checker, compilerOptions) {\n      return firstDefined(existingImports, ({ declaration, importKind, symbol, targetFlags }) => {\n        if (importKind === 3 || importKind === 2 || declaration.kind === 268) {\n          return void 0;\n        }\n        if (declaration.kind === 257) {\n          return (importKind === 0 || importKind === 1) && declaration.name.kind === 203 ? {\n            kind: 2,\n            importClauseOrBindingPattern: declaration.name,\n            importKind,\n            moduleSpecifier: declaration.initializer.arguments[0].text,\n            addAsTypeOnly: 4\n            /* NotAllowed */\n          } : void 0;\n        }\n        const { importClause } = declaration;\n        if (!importClause || !isStringLiteralLike(declaration.moduleSpecifier))\n          return void 0;\n        const { name, namedBindings } = importClause;\n        if (importClause.isTypeOnly && !(importKind === 0 && namedBindings))\n          return void 0;\n        const addAsTypeOnly = getAddAsTypeOnly(\n          isValidTypeOnlyUseSite,\n          /*isForNewImportDeclaration*/\n          false,\n          symbol,\n          targetFlags,\n          checker,\n          compilerOptions\n        );\n        if (importKind === 1 && (name || // Cannot add a default import to a declaration that already has one\n        addAsTypeOnly === 2 && namedBindings))\n          return void 0;\n        if (importKind === 0 && (namedBindings == null ? void 0 : namedBindings.kind) === 271)\n          return void 0;\n        return {\n          kind: 2,\n          importClauseOrBindingPattern: importClause,\n          importKind,\n          moduleSpecifier: declaration.moduleSpecifier.text,\n          addAsTypeOnly\n        };\n      });\n    }\n    function createExistingImportMap(checker, importingFile, compilerOptions) {\n      let importMap;\n      for (const moduleSpecifier of importingFile.imports) {\n        const i = importFromModuleSpecifier(moduleSpecifier);\n        if (isVariableDeclarationInitializedToRequire(i.parent)) {\n          const moduleSymbol = checker.resolveExternalModuleName(moduleSpecifier);\n          if (moduleSymbol) {\n            (importMap || (importMap = createMultiMap())).add(getSymbolId(moduleSymbol), i.parent);\n          }\n        } else if (i.kind === 269 || i.kind === 268) {\n          const moduleSymbol = checker.getSymbolAtLocation(moduleSpecifier);\n          if (moduleSymbol) {\n            (importMap || (importMap = createMultiMap())).add(getSymbolId(moduleSymbol), i);\n          }\n        }\n      }\n      return {\n        getImportsForExportInfo: ({ moduleSymbol, exportKind, targetFlags, symbol }) => {\n          if (!(targetFlags & 111551) && isSourceFileJS(importingFile))\n            return emptyArray;\n          const matchingDeclarations = importMap == null ? void 0 : importMap.get(getSymbolId(moduleSymbol));\n          if (!matchingDeclarations)\n            return emptyArray;\n          const importKind = getImportKind(importingFile, exportKind, compilerOptions);\n          return matchingDeclarations.map((declaration) => ({ declaration, importKind, symbol, targetFlags }));\n        }\n      };\n    }\n    function shouldUseRequire(sourceFile, program) {\n      if (!isSourceFileJS(sourceFile)) {\n        return false;\n      }\n      if (sourceFile.commonJsModuleIndicator && !sourceFile.externalModuleIndicator)\n        return true;\n      if (sourceFile.externalModuleIndicator && !sourceFile.commonJsModuleIndicator)\n        return false;\n      const compilerOptions = program.getCompilerOptions();\n      if (compilerOptions.configFile) {\n        return getEmitModuleKind(compilerOptions) < 5;\n      }\n      for (const otherFile of program.getSourceFiles()) {\n        if (otherFile === sourceFile || !isSourceFileJS(otherFile) || program.isSourceFileFromExternalLibrary(otherFile))\n          continue;\n        if (otherFile.commonJsModuleIndicator && !otherFile.externalModuleIndicator)\n          return true;\n        if (otherFile.externalModuleIndicator && !otherFile.commonJsModuleIndicator)\n          return false;\n      }\n      return true;\n    }\n    function createGetChecker(program, host) {\n      return memoizeOne((isFromPackageJson) => isFromPackageJson ? host.getPackageJsonAutoImportProvider().getTypeChecker() : program.getTypeChecker());\n    }\n    function getNewImportFixes(program, sourceFile, usagePosition, isValidTypeOnlyUseSite, useRequire, exportInfo, host, preferences, fromCacheOnly) {\n      const isJs = isSourceFileJS(sourceFile);\n      const compilerOptions = program.getCompilerOptions();\n      const moduleSpecifierResolutionHost = createModuleSpecifierResolutionHost(program, host);\n      const getChecker = createGetChecker(program, host);\n      const moduleResolution = getEmitModuleResolutionKind(compilerOptions);\n      const rejectNodeModulesRelativePaths = moduleResolutionUsesNodeModules(moduleResolution);\n      const getModuleSpecifiers2 = fromCacheOnly ? (moduleSymbol) => ({ moduleSpecifiers: ts_moduleSpecifiers_exports.tryGetModuleSpecifiersFromCache(moduleSymbol, sourceFile, moduleSpecifierResolutionHost, preferences), computedWithoutCache: false }) : (moduleSymbol, checker) => ts_moduleSpecifiers_exports.getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions, sourceFile, moduleSpecifierResolutionHost, preferences);\n      let computedWithoutCacheCount = 0;\n      const fixes = flatMap(exportInfo, (exportInfo2, i) => {\n        const checker = getChecker(exportInfo2.isFromPackageJson);\n        const { computedWithoutCache, moduleSpecifiers } = getModuleSpecifiers2(exportInfo2.moduleSymbol, checker);\n        const importedSymbolHasValueMeaning = !!(exportInfo2.targetFlags & 111551);\n        const addAsTypeOnly = getAddAsTypeOnly(\n          isValidTypeOnlyUseSite,\n          /*isForNewImportDeclaration*/\n          true,\n          exportInfo2.symbol,\n          exportInfo2.targetFlags,\n          checker,\n          compilerOptions\n        );\n        computedWithoutCacheCount += computedWithoutCache ? 1 : 0;\n        return mapDefined(moduleSpecifiers, (moduleSpecifier) => {\n          var _a22;\n          if (rejectNodeModulesRelativePaths && pathContainsNodeModules(moduleSpecifier)) {\n            return void 0;\n          }\n          if (!importedSymbolHasValueMeaning && isJs && usagePosition !== void 0) {\n            return { kind: 1, moduleSpecifier, usagePosition, exportInfo: exportInfo2, isReExport: i > 0 };\n          }\n          const importKind = getImportKind(sourceFile, exportInfo2.exportKind, compilerOptions);\n          let qualification;\n          if (usagePosition !== void 0 && importKind === 3 && exportInfo2.exportKind === 0) {\n            const exportEquals = checker.resolveExternalModuleSymbol(exportInfo2.moduleSymbol);\n            let namespacePrefix;\n            if (exportEquals !== exportInfo2.moduleSymbol) {\n              namespacePrefix = (_a22 = getDefaultExportInfoWorker(exportEquals, checker, compilerOptions)) == null ? void 0 : _a22.name;\n            }\n            namespacePrefix || (namespacePrefix = moduleSymbolToValidIdentifier(\n              exportInfo2.moduleSymbol,\n              getEmitScriptTarget(compilerOptions),\n              /*forceCapitalize*/\n              false\n            ));\n            qualification = { namespacePrefix, usagePosition };\n          }\n          return {\n            kind: 3,\n            moduleSpecifier,\n            importKind,\n            useRequire,\n            addAsTypeOnly,\n            exportInfo: exportInfo2,\n            isReExport: i > 0,\n            qualification\n          };\n        });\n      });\n      return { computedWithoutCacheCount, fixes };\n    }\n    function getFixesForAddImport(exportInfos, existingImports, program, sourceFile, usagePosition, isValidTypeOnlyUseSite, useRequire, host, preferences, fromCacheOnly) {\n      const existingDeclaration = firstDefined(existingImports, (info) => newImportInfoFromExistingSpecifier(info, isValidTypeOnlyUseSite, useRequire, program.getTypeChecker(), program.getCompilerOptions()));\n      return existingDeclaration ? { fixes: [existingDeclaration] } : getNewImportFixes(program, sourceFile, usagePosition, isValidTypeOnlyUseSite, useRequire, exportInfos, host, preferences, fromCacheOnly);\n    }\n    function newImportInfoFromExistingSpecifier({ declaration, importKind, symbol, targetFlags }, isValidTypeOnlyUseSite, useRequire, checker, compilerOptions) {\n      var _a22;\n      const moduleSpecifier = (_a22 = tryGetModuleSpecifierFromDeclaration(declaration)) == null ? void 0 : _a22.text;\n      if (moduleSpecifier) {\n        const addAsTypeOnly = useRequire ? 4 : getAddAsTypeOnly(\n          isValidTypeOnlyUseSite,\n          /*isForNewImportDeclaration*/\n          true,\n          symbol,\n          targetFlags,\n          checker,\n          compilerOptions\n        );\n        return { kind: 3, moduleSpecifier, importKind, addAsTypeOnly, useRequire };\n      }\n    }\n    function getFixInfos(context, errorCode, pos, useAutoImportProvider) {\n      const symbolToken = getTokenAtPosition(context.sourceFile, pos);\n      let info;\n      if (errorCode === Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code) {\n        info = getFixesInfoForUMDImport(context, symbolToken);\n      } else if (!isIdentifier(symbolToken)) {\n        return void 0;\n      } else if (errorCode === Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code) {\n        const symbolName2 = single(getSymbolNamesToImport(context.sourceFile, context.program.getTypeChecker(), symbolToken, context.program.getCompilerOptions()));\n        const fix = getTypeOnlyPromotionFix(context.sourceFile, symbolToken, symbolName2, context.program);\n        return fix && [{ fix, symbolName: symbolName2, errorIdentifierText: symbolToken.text }];\n      } else {\n        info = getFixesInfoForNonUMDImport(context, symbolToken, useAutoImportProvider);\n      }\n      const packageJsonImportFilter = createPackageJsonImportFilter(context.sourceFile, context.preferences, context.host);\n      return info && sortFixInfo(info, context.sourceFile, context.program, packageJsonImportFilter, context.host);\n    }\n    function sortFixInfo(fixes, sourceFile, program, packageJsonImportFilter, host) {\n      const _toPath = (fileName) => toPath(fileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host));\n      return sort(fixes, (a, b) => compareBooleans(!!a.isJsxNamespaceFix, !!b.isJsxNamespaceFix) || compareValues(a.fix.kind, b.fix.kind) || compareModuleSpecifiers(a.fix, b.fix, sourceFile, program, packageJsonImportFilter.allowsImportingSpecifier, _toPath));\n    }\n    function getBestFix(fixes, sourceFile, program, packageJsonImportFilter, host) {\n      if (!some(fixes))\n        return;\n      if (fixes[0].kind === 0 || fixes[0].kind === 2) {\n        return fixes[0];\n      }\n      return fixes.reduce(\n        (best, fix) => (\n          // Takes true branch of conditional if `fix` is better than `best`\n          compareModuleSpecifiers(\n            fix,\n            best,\n            sourceFile,\n            program,\n            packageJsonImportFilter.allowsImportingSpecifier,\n            (fileName) => toPath(fileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host))\n          ) === -1 ? fix : best\n        )\n      );\n    }\n    function compareModuleSpecifiers(a, b, importingFile, program, allowsImportingSpecifier, toPath3) {\n      if (a.kind !== 0 && b.kind !== 0) {\n        return compareBooleans(allowsImportingSpecifier(b.moduleSpecifier), allowsImportingSpecifier(a.moduleSpecifier)) || compareNodeCoreModuleSpecifiers(a.moduleSpecifier, b.moduleSpecifier, importingFile, program) || compareBooleans(\n          isFixPossiblyReExportingImportingFile(a, importingFile, program.getCompilerOptions(), toPath3),\n          isFixPossiblyReExportingImportingFile(b, importingFile, program.getCompilerOptions(), toPath3)\n        ) || compareNumberOfDirectorySeparators(a.moduleSpecifier, b.moduleSpecifier);\n      }\n      return 0;\n    }\n    function isFixPossiblyReExportingImportingFile(fix, importingFile, compilerOptions, toPath3) {\n      var _a22;\n      if (fix.isReExport && ((_a22 = fix.exportInfo) == null ? void 0 : _a22.moduleFileName) && getEmitModuleResolutionKind(compilerOptions) === 2 && isIndexFileName(fix.exportInfo.moduleFileName)) {\n        const reExportDir = toPath3(getDirectoryPath(fix.exportInfo.moduleFileName));\n        return startsWith(importingFile.path, reExportDir);\n      }\n      return false;\n    }\n    function isIndexFileName(fileName) {\n      return getBaseFileName(\n        fileName,\n        [\".js\", \".jsx\", \".d.ts\", \".ts\", \".tsx\"],\n        /*ignoreCase*/\n        true\n      ) === \"index\";\n    }\n    function compareNodeCoreModuleSpecifiers(a, b, importingFile, program) {\n      if (startsWith(a, \"node:\") && !startsWith(b, \"node:\"))\n        return shouldUseUriStyleNodeCoreModules(importingFile, program) ? -1 : 1;\n      if (startsWith(b, \"node:\") && !startsWith(a, \"node:\"))\n        return shouldUseUriStyleNodeCoreModules(importingFile, program) ? 1 : -1;\n      return 0;\n    }\n    function getFixesInfoForUMDImport({ sourceFile, program, host, preferences }, token) {\n      const checker = program.getTypeChecker();\n      const umdSymbol = getUmdSymbol(token, checker);\n      if (!umdSymbol)\n        return void 0;\n      const symbol = checker.getAliasedSymbol(umdSymbol);\n      const symbolName2 = umdSymbol.name;\n      const exportInfo = [{ symbol: umdSymbol, moduleSymbol: symbol, moduleFileName: void 0, exportKind: 3, targetFlags: symbol.flags, isFromPackageJson: false }];\n      const useRequire = shouldUseRequire(sourceFile, program);\n      const fixes = getImportFixes(\n        exportInfo,\n        /*usagePosition*/\n        void 0,\n        /*isValidTypeOnlyUseSite*/\n        false,\n        useRequire,\n        program,\n        sourceFile,\n        host,\n        preferences\n      ).fixes;\n      return fixes.map((fix) => {\n        var _a22;\n        return { fix, symbolName: symbolName2, errorIdentifierText: (_a22 = tryCast(token, isIdentifier)) == null ? void 0 : _a22.text };\n      });\n    }\n    function getUmdSymbol(token, checker) {\n      const umdSymbol = isIdentifier(token) ? checker.getSymbolAtLocation(token) : void 0;\n      if (isUMDExportSymbol(umdSymbol))\n        return umdSymbol;\n      const { parent: parent2 } = token;\n      if (isJsxOpeningLikeElement(parent2) && parent2.tagName === token || isJsxOpeningFragment(parent2)) {\n        const parentSymbol = checker.resolveName(\n          checker.getJsxNamespace(parent2),\n          isJsxOpeningLikeElement(parent2) ? token : parent2,\n          111551,\n          /*excludeGlobals*/\n          false\n        );\n        if (isUMDExportSymbol(parentSymbol)) {\n          return parentSymbol;\n        }\n      }\n      return void 0;\n    }\n    function getImportKind(importingFile, exportKind, compilerOptions, forceImportKeyword) {\n      if (compilerOptions.verbatimModuleSyntax && (getEmitModuleKind(compilerOptions) === 1 || importingFile.impliedNodeFormat === 1)) {\n        return 3;\n      }\n      switch (exportKind) {\n        case 0:\n          return 0;\n        case 1:\n          return 1;\n        case 2:\n          return getExportEqualsImportKind(importingFile, compilerOptions, !!forceImportKeyword);\n        case 3:\n          return getUmdImportKind(importingFile, compilerOptions, !!forceImportKeyword);\n        default:\n          return Debug2.assertNever(exportKind);\n      }\n    }\n    function getUmdImportKind(importingFile, compilerOptions, forceImportKeyword) {\n      if (getAllowSyntheticDefaultImports(compilerOptions)) {\n        return 1;\n      }\n      const moduleKind = getEmitModuleKind(compilerOptions);\n      switch (moduleKind) {\n        case 2:\n        case 1:\n        case 3:\n          if (isInJSFile(importingFile)) {\n            return isExternalModule(importingFile) || forceImportKeyword ? 2 : 3;\n          }\n          return 3;\n        case 4:\n        case 5:\n        case 6:\n        case 7:\n        case 99:\n        case 0:\n          return 2;\n        case 100:\n        case 199:\n          return importingFile.impliedNodeFormat === 99 ? 2 : 3;\n        default:\n          return Debug2.assertNever(moduleKind, `Unexpected moduleKind ${moduleKind}`);\n      }\n    }\n    function getFixesInfoForNonUMDImport({ sourceFile, program, cancellationToken, host, preferences }, symbolToken, useAutoImportProvider) {\n      const checker = program.getTypeChecker();\n      const compilerOptions = program.getCompilerOptions();\n      return flatMap(getSymbolNamesToImport(sourceFile, checker, symbolToken, compilerOptions), (symbolName2) => {\n        if (symbolName2 === \"default\") {\n          return void 0;\n        }\n        const isValidTypeOnlyUseSite = isValidTypeOnlyAliasUseSite(symbolToken);\n        const useRequire = shouldUseRequire(sourceFile, program);\n        const exportInfo = getExportInfos(symbolName2, isJSXTagName(symbolToken), getMeaningFromLocation(symbolToken), cancellationToken, sourceFile, program, useAutoImportProvider, host, preferences);\n        return arrayFrom(\n          flatMapIterator(exportInfo.values(), (exportInfos) => getImportFixes(exportInfos, symbolToken.getStart(sourceFile), isValidTypeOnlyUseSite, useRequire, program, sourceFile, host, preferences).fixes),\n          (fix) => ({ fix, symbolName: symbolName2, errorIdentifierText: symbolToken.text, isJsxNamespaceFix: symbolName2 !== symbolToken.text })\n        );\n      });\n    }\n    function getTypeOnlyPromotionFix(sourceFile, symbolToken, symbolName2, program) {\n      const checker = program.getTypeChecker();\n      const symbol = checker.resolveName(\n        symbolName2,\n        symbolToken,\n        111551,\n        /*excludeGlobals*/\n        true\n      );\n      if (!symbol)\n        return void 0;\n      const typeOnlyAliasDeclaration = checker.getTypeOnlyAliasDeclaration(symbol);\n      if (!typeOnlyAliasDeclaration || getSourceFileOfNode(typeOnlyAliasDeclaration) !== sourceFile)\n        return void 0;\n      return { kind: 4, typeOnlyAliasDeclaration };\n    }\n    function getSymbolNamesToImport(sourceFile, checker, symbolToken, compilerOptions) {\n      const parent2 = symbolToken.parent;\n      if ((isJsxOpeningLikeElement(parent2) || isJsxClosingElement(parent2)) && parent2.tagName === symbolToken && jsxModeNeedsExplicitImport(compilerOptions.jsx)) {\n        const jsxNamespace = checker.getJsxNamespace(sourceFile);\n        if (needsJsxNamespaceFix(jsxNamespace, symbolToken, checker)) {\n          const needsComponentNameFix = !isIntrinsicJsxName(symbolToken.text) && !checker.resolveName(\n            symbolToken.text,\n            symbolToken,\n            111551,\n            /*excludeGlobals*/\n            false\n          );\n          return needsComponentNameFix ? [symbolToken.text, jsxNamespace] : [jsxNamespace];\n        }\n      }\n      return [symbolToken.text];\n    }\n    function needsJsxNamespaceFix(jsxNamespace, symbolToken, checker) {\n      if (isIntrinsicJsxName(symbolToken.text))\n        return true;\n      const namespaceSymbol = checker.resolveName(\n        jsxNamespace,\n        symbolToken,\n        111551,\n        /*excludeGlobals*/\n        true\n      );\n      return !namespaceSymbol || some(namespaceSymbol.declarations, isTypeOnlyImportOrExportDeclaration) && !(namespaceSymbol.flags & 111551);\n    }\n    function getExportInfos(symbolName2, isJsxTagName, currentTokenMeaning, cancellationToken, fromFile, program, useAutoImportProvider, host, preferences) {\n      var _a22;\n      const originalSymbolToExportInfos = createMultiMap();\n      const packageJsonFilter = createPackageJsonImportFilter(fromFile, preferences, host);\n      const moduleSpecifierCache = (_a22 = host.getModuleSpecifierCache) == null ? void 0 : _a22.call(host);\n      const getModuleSpecifierResolutionHost = memoizeOne((isFromPackageJson) => {\n        return createModuleSpecifierResolutionHost(isFromPackageJson ? host.getPackageJsonAutoImportProvider() : program, host);\n      });\n      function addSymbol(moduleSymbol, toFile, exportedSymbol, exportKind, program2, isFromPackageJson) {\n        const moduleSpecifierResolutionHost = getModuleSpecifierResolutionHost(isFromPackageJson);\n        if (toFile && isImportableFile(program2, fromFile, toFile, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) || !toFile && packageJsonFilter.allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost)) {\n          const checker = program2.getTypeChecker();\n          originalSymbolToExportInfos.add(getUniqueSymbolId(exportedSymbol, checker).toString(), { symbol: exportedSymbol, moduleSymbol, moduleFileName: toFile == null ? void 0 : toFile.fileName, exportKind, targetFlags: skipAlias(exportedSymbol, checker).flags, isFromPackageJson });\n        }\n      }\n      forEachExternalModuleToImportFrom(program, host, preferences, useAutoImportProvider, (moduleSymbol, sourceFile, program2, isFromPackageJson) => {\n        const checker = program2.getTypeChecker();\n        cancellationToken.throwIfCancellationRequested();\n        const compilerOptions = program2.getCompilerOptions();\n        const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions);\n        if (defaultInfo && (defaultInfo.name === symbolName2 || moduleSymbolToValidIdentifier(moduleSymbol, getEmitScriptTarget(compilerOptions), isJsxTagName) === symbolName2) && symbolHasMeaning(defaultInfo.resolvedSymbol, currentTokenMeaning)) {\n          addSymbol(moduleSymbol, sourceFile, defaultInfo.symbol, defaultInfo.exportKind, program2, isFromPackageJson);\n        }\n        const exportSymbolWithIdenticalName = checker.tryGetMemberInModuleExportsAndProperties(symbolName2, moduleSymbol);\n        if (exportSymbolWithIdenticalName && symbolHasMeaning(exportSymbolWithIdenticalName, currentTokenMeaning)) {\n          addSymbol(moduleSymbol, sourceFile, exportSymbolWithIdenticalName, 0, program2, isFromPackageJson);\n        }\n      });\n      return originalSymbolToExportInfos;\n    }\n    function getExportEqualsImportKind(importingFile, compilerOptions, forceImportKeyword) {\n      const allowSyntheticDefaults = getAllowSyntheticDefaultImports(compilerOptions);\n      const isJS = isInJSFile(importingFile);\n      if (!isJS && getEmitModuleKind(compilerOptions) >= 5) {\n        return allowSyntheticDefaults ? 1 : 2;\n      }\n      if (isJS) {\n        return isExternalModule(importingFile) || forceImportKeyword ? allowSyntheticDefaults ? 1 : 2 : 3;\n      }\n      for (const statement of importingFile.statements) {\n        if (isImportEqualsDeclaration(statement) && !nodeIsMissing(statement.moduleReference)) {\n          return 3;\n        }\n      }\n      return allowSyntheticDefaults ? 1 : 3;\n    }\n    function codeActionForFix(context, sourceFile, symbolName2, fix, includeSymbolNameInDescription, compilerOptions, preferences) {\n      let diag2;\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (tracker) => {\n        diag2 = codeActionForFixWorker(tracker, sourceFile, symbolName2, fix, includeSymbolNameInDescription, compilerOptions, preferences);\n      });\n      return createCodeFixAction(importFixName, changes, diag2, importFixId, Diagnostics.Add_all_missing_imports);\n    }\n    function codeActionForFixWorker(changes, sourceFile, symbolName2, fix, includeSymbolNameInDescription, compilerOptions, preferences) {\n      const quotePreference = getQuotePreference(sourceFile, preferences);\n      switch (fix.kind) {\n        case 0:\n          addNamespaceQualifier(changes, sourceFile, fix);\n          return [Diagnostics.Change_0_to_1, symbolName2, `${fix.namespacePrefix}.${symbolName2}`];\n        case 1:\n          addImportType(changes, sourceFile, fix, quotePreference);\n          return [Diagnostics.Change_0_to_1, symbolName2, getImportTypePrefix(fix.moduleSpecifier, quotePreference) + symbolName2];\n        case 2: {\n          const { importClauseOrBindingPattern, importKind, addAsTypeOnly, moduleSpecifier } = fix;\n          doAddExistingFix(\n            changes,\n            sourceFile,\n            importClauseOrBindingPattern,\n            importKind === 1 ? { name: symbolName2, addAsTypeOnly } : void 0,\n            importKind === 0 ? [{ name: symbolName2, addAsTypeOnly }] : emptyArray,\n            compilerOptions,\n            preferences\n          );\n          const moduleSpecifierWithoutQuotes = stripQuotes(moduleSpecifier);\n          return includeSymbolNameInDescription ? [Diagnostics.Import_0_from_1, symbolName2, moduleSpecifierWithoutQuotes] : [Diagnostics.Update_import_from_0, moduleSpecifierWithoutQuotes];\n        }\n        case 3: {\n          const { importKind, moduleSpecifier, addAsTypeOnly, useRequire, qualification } = fix;\n          const getDeclarations = useRequire ? getNewRequires : getNewImports;\n          const defaultImport = importKind === 1 ? { name: symbolName2, addAsTypeOnly } : void 0;\n          const namedImports = importKind === 0 ? [{ name: symbolName2, addAsTypeOnly }] : void 0;\n          const namespaceLikeImport = importKind === 2 || importKind === 3 ? { importKind, name: (qualification == null ? void 0 : qualification.namespacePrefix) || symbolName2, addAsTypeOnly } : void 0;\n          insertImports(\n            changes,\n            sourceFile,\n            getDeclarations(\n              moduleSpecifier,\n              quotePreference,\n              defaultImport,\n              namedImports,\n              namespaceLikeImport,\n              compilerOptions\n            ),\n            /*blankLineBetween*/\n            true,\n            preferences\n          );\n          if (qualification) {\n            addNamespaceQualifier(changes, sourceFile, qualification);\n          }\n          return includeSymbolNameInDescription ? [Diagnostics.Import_0_from_1, symbolName2, moduleSpecifier] : [Diagnostics.Add_import_from_0, moduleSpecifier];\n        }\n        case 4: {\n          const { typeOnlyAliasDeclaration } = fix;\n          const promotedDeclaration = promoteFromTypeOnly(changes, typeOnlyAliasDeclaration, compilerOptions, sourceFile, preferences);\n          return promotedDeclaration.kind === 273 ? [Diagnostics.Remove_type_from_import_of_0_from_1, symbolName2, getModuleSpecifierText(promotedDeclaration.parent.parent)] : [Diagnostics.Remove_type_from_import_declaration_from_0, getModuleSpecifierText(promotedDeclaration)];\n        }\n        default:\n          return Debug2.assertNever(fix, `Unexpected fix kind ${fix.kind}`);\n      }\n    }\n    function getModuleSpecifierText(promotedDeclaration) {\n      var _a22, _b3;\n      return promotedDeclaration.kind === 268 ? ((_b3 = tryCast((_a22 = tryCast(promotedDeclaration.moduleReference, isExternalModuleReference)) == null ? void 0 : _a22.expression, isStringLiteralLike)) == null ? void 0 : _b3.text) || promotedDeclaration.moduleReference.getText() : cast(promotedDeclaration.parent.moduleSpecifier, isStringLiteral).text;\n    }\n    function promoteFromTypeOnly(changes, aliasDeclaration, compilerOptions, sourceFile, preferences) {\n      const convertExistingToTypeOnly = importNameElisionDisabled(compilerOptions);\n      switch (aliasDeclaration.kind) {\n        case 273:\n          if (aliasDeclaration.isTypeOnly) {\n            const sortKind = ts_OrganizeImports_exports.detectImportSpecifierSorting(aliasDeclaration.parent.elements, preferences);\n            if (aliasDeclaration.parent.elements.length > 1 && sortKind) {\n              changes.delete(sourceFile, aliasDeclaration);\n              const newSpecifier = factory.updateImportSpecifier(\n                aliasDeclaration,\n                /*isTypeOnly*/\n                false,\n                aliasDeclaration.propertyName,\n                aliasDeclaration.name\n              );\n              const comparer = ts_OrganizeImports_exports.getOrganizeImportsComparer(\n                preferences,\n                sortKind === 2\n                /* CaseInsensitive */\n              );\n              const insertionIndex = ts_OrganizeImports_exports.getImportSpecifierInsertionIndex(aliasDeclaration.parent.elements, newSpecifier, comparer);\n              changes.insertImportSpecifierAtIndex(sourceFile, newSpecifier, aliasDeclaration.parent, insertionIndex);\n            } else {\n              changes.deleteRange(sourceFile, aliasDeclaration.getFirstToken());\n            }\n            return aliasDeclaration;\n          } else {\n            Debug2.assert(aliasDeclaration.parent.parent.isTypeOnly);\n            promoteImportClause(aliasDeclaration.parent.parent);\n            return aliasDeclaration.parent.parent;\n          }\n        case 270:\n          promoteImportClause(aliasDeclaration);\n          return aliasDeclaration;\n        case 271:\n          promoteImportClause(aliasDeclaration.parent);\n          return aliasDeclaration.parent;\n        case 268:\n          changes.deleteRange(sourceFile, aliasDeclaration.getChildAt(1));\n          return aliasDeclaration;\n        default:\n          Debug2.failBadSyntaxKind(aliasDeclaration);\n      }\n      function promoteImportClause(importClause) {\n        changes.delete(sourceFile, getTypeKeywordOfTypeOnlyImport(importClause, sourceFile));\n        if (convertExistingToTypeOnly) {\n          const namedImports = tryCast(importClause.namedBindings, isNamedImports);\n          if (namedImports && namedImports.elements.length > 1) {\n            if (ts_OrganizeImports_exports.detectImportSpecifierSorting(namedImports.elements, preferences) && aliasDeclaration.kind === 273 && namedImports.elements.indexOf(aliasDeclaration) !== 0) {\n              changes.delete(sourceFile, aliasDeclaration);\n              changes.insertImportSpecifierAtIndex(sourceFile, aliasDeclaration, namedImports, 0);\n            }\n            for (const element of namedImports.elements) {\n              if (element !== aliasDeclaration && !element.isTypeOnly) {\n                changes.insertModifierBefore(sourceFile, 154, element);\n              }\n            }\n          }\n        }\n      }\n    }\n    function doAddExistingFix(changes, sourceFile, clause, defaultImport, namedImports, compilerOptions, preferences) {\n      var _a22;\n      if (clause.kind === 203) {\n        if (defaultImport) {\n          addElementToBindingPattern(clause, defaultImport.name, \"default\");\n        }\n        for (const specifier of namedImports) {\n          addElementToBindingPattern(\n            clause,\n            specifier.name,\n            /*propertyName*/\n            void 0\n          );\n        }\n        return;\n      }\n      const promoteFromTypeOnly2 = clause.isTypeOnly && some(\n        [defaultImport, ...namedImports],\n        (i) => (i == null ? void 0 : i.addAsTypeOnly) === 4\n        /* NotAllowed */\n      );\n      const existingSpecifiers = clause.namedBindings && ((_a22 = tryCast(clause.namedBindings, isNamedImports)) == null ? void 0 : _a22.elements);\n      const convertExistingToTypeOnly = promoteFromTypeOnly2 && importNameElisionDisabled(compilerOptions);\n      if (defaultImport) {\n        Debug2.assert(!clause.name, \"Cannot add a default import to an import clause that already has one\");\n        changes.insertNodeAt(sourceFile, clause.getStart(sourceFile), factory.createIdentifier(defaultImport.name), { suffix: \", \" });\n      }\n      if (namedImports.length) {\n        let ignoreCaseForSorting;\n        if (typeof preferences.organizeImportsIgnoreCase === \"boolean\") {\n          ignoreCaseForSorting = preferences.organizeImportsIgnoreCase;\n        } else if (existingSpecifiers) {\n          const targetImportSorting = ts_OrganizeImports_exports.detectImportSpecifierSorting(existingSpecifiers, preferences);\n          if (targetImportSorting !== 3) {\n            ignoreCaseForSorting = targetImportSorting === 2;\n          }\n        }\n        if (ignoreCaseForSorting === void 0) {\n          ignoreCaseForSorting = ts_OrganizeImports_exports.detectSorting(sourceFile, preferences) === 2;\n        }\n        const comparer = ts_OrganizeImports_exports.getOrganizeImportsComparer(preferences, ignoreCaseForSorting);\n        const newSpecifiers = stableSort(\n          namedImports.map((namedImport) => factory.createImportSpecifier(\n            (!clause.isTypeOnly || promoteFromTypeOnly2) && needsTypeOnly(namedImport),\n            /*propertyName*/\n            void 0,\n            factory.createIdentifier(namedImport.name)\n          )),\n          (s1, s2) => ts_OrganizeImports_exports.compareImportOrExportSpecifiers(s1, s2, comparer)\n        );\n        const specifierSort = (existingSpecifiers == null ? void 0 : existingSpecifiers.length) && ts_OrganizeImports_exports.detectImportSpecifierSorting(existingSpecifiers, preferences);\n        if (specifierSort && !(ignoreCaseForSorting && specifierSort === 1)) {\n          for (const spec of newSpecifiers) {\n            const insertionIndex = convertExistingToTypeOnly && !spec.isTypeOnly ? 0 : ts_OrganizeImports_exports.getImportSpecifierInsertionIndex(existingSpecifiers, spec, comparer);\n            changes.insertImportSpecifierAtIndex(sourceFile, spec, clause.namedBindings, insertionIndex);\n          }\n        } else if (existingSpecifiers == null ? void 0 : existingSpecifiers.length) {\n          for (const spec of newSpecifiers) {\n            changes.insertNodeInListAfter(sourceFile, last(existingSpecifiers), spec, existingSpecifiers);\n          }\n        } else {\n          if (newSpecifiers.length) {\n            const namedImports2 = factory.createNamedImports(newSpecifiers);\n            if (clause.namedBindings) {\n              changes.replaceNode(sourceFile, clause.namedBindings, namedImports2);\n            } else {\n              changes.insertNodeAfter(sourceFile, Debug2.checkDefined(clause.name, \"Import clause must have either named imports or a default import\"), namedImports2);\n            }\n          }\n        }\n      }\n      if (promoteFromTypeOnly2) {\n        changes.delete(sourceFile, getTypeKeywordOfTypeOnlyImport(clause, sourceFile));\n        if (convertExistingToTypeOnly && existingSpecifiers) {\n          for (const specifier of existingSpecifiers) {\n            changes.insertModifierBefore(sourceFile, 154, specifier);\n          }\n        }\n      }\n      function addElementToBindingPattern(bindingPattern, name, propertyName) {\n        const element = factory.createBindingElement(\n          /*dotDotDotToken*/\n          void 0,\n          propertyName,\n          name\n        );\n        if (bindingPattern.elements.length) {\n          changes.insertNodeInListAfter(sourceFile, last(bindingPattern.elements), element);\n        } else {\n          changes.replaceNode(sourceFile, bindingPattern, factory.createObjectBindingPattern([element]));\n        }\n      }\n    }\n    function addNamespaceQualifier(changes, sourceFile, { namespacePrefix, usagePosition }) {\n      changes.insertText(sourceFile, usagePosition, namespacePrefix + \".\");\n    }\n    function addImportType(changes, sourceFile, { moduleSpecifier, usagePosition: position }, quotePreference) {\n      changes.insertText(sourceFile, position, getImportTypePrefix(moduleSpecifier, quotePreference));\n    }\n    function getImportTypePrefix(moduleSpecifier, quotePreference) {\n      const quote2 = getQuoteFromPreference(quotePreference);\n      return `import(${quote2}${moduleSpecifier}${quote2}).`;\n    }\n    function needsTypeOnly({ addAsTypeOnly }) {\n      return addAsTypeOnly === 2;\n    }\n    function getNewImports(moduleSpecifier, quotePreference, defaultImport, namedImports, namespaceLikeImport, compilerOptions) {\n      const quotedModuleSpecifier = makeStringLiteral(moduleSpecifier, quotePreference);\n      let statements;\n      if (defaultImport !== void 0 || (namedImports == null ? void 0 : namedImports.length)) {\n        const topLevelTypeOnly = (!defaultImport || needsTypeOnly(defaultImport)) && every(namedImports, needsTypeOnly) || compilerOptions.verbatimModuleSyntax && (defaultImport == null ? void 0 : defaultImport.addAsTypeOnly) !== 4 && !some(\n          namedImports,\n          (i) => i.addAsTypeOnly === 4\n          /* NotAllowed */\n        );\n        statements = combine(statements, makeImport(\n          defaultImport && factory.createIdentifier(defaultImport.name),\n          namedImports == null ? void 0 : namedImports.map(({ addAsTypeOnly, name }) => factory.createImportSpecifier(\n            !topLevelTypeOnly && addAsTypeOnly === 2,\n            /*propertyName*/\n            void 0,\n            factory.createIdentifier(name)\n          )),\n          moduleSpecifier,\n          quotePreference,\n          topLevelTypeOnly\n        ));\n      }\n      if (namespaceLikeImport) {\n        const declaration = namespaceLikeImport.importKind === 3 ? factory.createImportEqualsDeclaration(\n          /*modifiers*/\n          void 0,\n          needsTypeOnly(namespaceLikeImport),\n          factory.createIdentifier(namespaceLikeImport.name),\n          factory.createExternalModuleReference(quotedModuleSpecifier)\n        ) : factory.createImportDeclaration(\n          /*modifiers*/\n          void 0,\n          factory.createImportClause(\n            needsTypeOnly(namespaceLikeImport),\n            /*name*/\n            void 0,\n            factory.createNamespaceImport(factory.createIdentifier(namespaceLikeImport.name))\n          ),\n          quotedModuleSpecifier,\n          /*assertClause*/\n          void 0\n        );\n        statements = combine(statements, declaration);\n      }\n      return Debug2.checkDefined(statements);\n    }\n    function getNewRequires(moduleSpecifier, quotePreference, defaultImport, namedImports, namespaceLikeImport) {\n      const quotedModuleSpecifier = makeStringLiteral(moduleSpecifier, quotePreference);\n      let statements;\n      if (defaultImport || (namedImports == null ? void 0 : namedImports.length)) {\n        const bindingElements = (namedImports == null ? void 0 : namedImports.map(({ name }) => factory.createBindingElement(\n          /*dotDotDotToken*/\n          void 0,\n          /*propertyName*/\n          void 0,\n          name\n        ))) || [];\n        if (defaultImport) {\n          bindingElements.unshift(factory.createBindingElement(\n            /*dotDotDotToken*/\n            void 0,\n            \"default\",\n            defaultImport.name\n          ));\n        }\n        const declaration = createConstEqualsRequireDeclaration(factory.createObjectBindingPattern(bindingElements), quotedModuleSpecifier);\n        statements = combine(statements, declaration);\n      }\n      if (namespaceLikeImport) {\n        const declaration = createConstEqualsRequireDeclaration(namespaceLikeImport.name, quotedModuleSpecifier);\n        statements = combine(statements, declaration);\n      }\n      return Debug2.checkDefined(statements);\n    }\n    function createConstEqualsRequireDeclaration(name, quotedModuleSpecifier) {\n      return factory.createVariableStatement(\n        /*modifiers*/\n        void 0,\n        factory.createVariableDeclarationList(\n          [\n            factory.createVariableDeclaration(\n              typeof name === \"string\" ? factory.createIdentifier(name) : name,\n              /*exclamationToken*/\n              void 0,\n              /*type*/\n              void 0,\n              factory.createCallExpression(\n                factory.createIdentifier(\"require\"),\n                /*typeArguments*/\n                void 0,\n                [quotedModuleSpecifier]\n              )\n            )\n          ],\n          2\n          /* Const */\n        )\n      );\n    }\n    function symbolHasMeaning({ declarations }, meaning) {\n      return some(declarations, (decl) => !!(getMeaningFromDeclaration(decl) & meaning));\n    }\n    function moduleSymbolToValidIdentifier(moduleSymbol, target, forceCapitalize) {\n      return moduleSpecifierToValidIdentifier(removeFileExtension(stripQuotes(moduleSymbol.name)), target, forceCapitalize);\n    }\n    function moduleSpecifierToValidIdentifier(moduleSpecifier, target, forceCapitalize) {\n      const baseName = getBaseFileName(removeSuffix(moduleSpecifier, \"/index\"));\n      let res = \"\";\n      let lastCharWasValid = true;\n      const firstCharCode = baseName.charCodeAt(0);\n      if (isIdentifierStart(firstCharCode, target)) {\n        res += String.fromCharCode(firstCharCode);\n        if (forceCapitalize) {\n          res = res.toUpperCase();\n        }\n      } else {\n        lastCharWasValid = false;\n      }\n      for (let i = 1; i < baseName.length; i++) {\n        const ch = baseName.charCodeAt(i);\n        const isValid = isIdentifierPart(ch, target);\n        if (isValid) {\n          let char = String.fromCharCode(ch);\n          if (!lastCharWasValid) {\n            char = char.toUpperCase();\n          }\n          res += char;\n        }\n        lastCharWasValid = isValid;\n      }\n      return !isStringANonContextualKeyword(res) ? res || \"_\" : `_${res}`;\n    }\n    var importFixName, importFixId, errorCodes17;\n    var init_importFixes = __esm({\n      \"src/services/codefixes/importFixes.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        importFixName = \"import\";\n        importFixId = \"fixMissingImport\";\n        errorCodes17 = [\n          Diagnostics.Cannot_find_name_0.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,\n          Diagnostics.Cannot_find_namespace_0.code,\n          Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,\n          Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,\n          Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,\n          Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes17,\n          getCodeActions(context) {\n            const { errorCode, preferences, sourceFile, span, program } = context;\n            const info = getFixInfos(\n              context,\n              errorCode,\n              span.start,\n              /*useAutoImportProvider*/\n              true\n            );\n            if (!info)\n              return void 0;\n            return info.map(({ fix, symbolName: symbolName2, errorIdentifierText }) => codeActionForFix(\n              context,\n              sourceFile,\n              symbolName2,\n              fix,\n              /*includeSymbolNameInDescription*/\n              symbolName2 !== errorIdentifierText,\n              program.getCompilerOptions(),\n              preferences\n            ));\n          },\n          fixIds: [importFixId],\n          getAllCodeActions: (context) => {\n            const { sourceFile, program, preferences, host, cancellationToken } = context;\n            const importAdder = createImportAdderWorker(\n              sourceFile,\n              program,\n              /*useAutoImportProvider*/\n              true,\n              preferences,\n              host,\n              cancellationToken\n            );\n            eachDiagnostic(context, errorCodes17, (diag2) => importAdder.addImportFromDiagnostic(diag2, context));\n            return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, importAdder.writeFixes));\n          }\n        });\n      }\n    });\n    function getInfo3(program, sourceFile, span) {\n      const diag2 = find(program.getSemanticDiagnostics(sourceFile), (diag3) => diag3.start === span.start && diag3.length === span.length);\n      if (diag2 === void 0 || diag2.relatedInformation === void 0)\n        return;\n      const related = find(diag2.relatedInformation, (related2) => related2.code === Diagnostics.This_type_parameter_might_need_an_extends_0_constraint.code);\n      if (related === void 0 || related.file === void 0 || related.start === void 0 || related.length === void 0)\n        return;\n      let declaration = findAncestorMatchingSpan(related.file, createTextSpan(related.start, related.length));\n      if (declaration === void 0)\n        return;\n      if (isIdentifier(declaration) && isTypeParameterDeclaration(declaration.parent)) {\n        declaration = declaration.parent;\n      }\n      if (isTypeParameterDeclaration(declaration)) {\n        if (isMappedTypeNode(declaration.parent))\n          return;\n        const token = getTokenAtPosition(sourceFile, span.start);\n        const checker = program.getTypeChecker();\n        const constraint = tryGetConstraintType(checker, token) || tryGetConstraintFromDiagnosticMessage(related.messageText);\n        return { constraint, declaration, token };\n      }\n      return void 0;\n    }\n    function addMissingConstraint(changes, program, preferences, host, sourceFile, info) {\n      const { declaration, constraint } = info;\n      const checker = program.getTypeChecker();\n      if (isString2(constraint)) {\n        changes.insertText(sourceFile, declaration.name.end, ` extends ${constraint}`);\n      } else {\n        const scriptTarget = getEmitScriptTarget(program.getCompilerOptions());\n        const tracker = getNoopSymbolTrackerWithResolver({ program, host });\n        const importAdder = createImportAdder(sourceFile, program, preferences, host);\n        const typeNode = typeToAutoImportableTypeNode(\n          checker,\n          importAdder,\n          constraint,\n          /*contextNode*/\n          void 0,\n          scriptTarget,\n          /*flags*/\n          void 0,\n          tracker\n        );\n        if (typeNode) {\n          changes.replaceNode(sourceFile, declaration, factory.updateTypeParameterDeclaration(\n            declaration,\n            /*modifiers*/\n            void 0,\n            declaration.name,\n            typeNode,\n            declaration.default\n          ));\n          importAdder.writeFixes(changes);\n        }\n      }\n    }\n    function tryGetConstraintFromDiagnosticMessage(messageText) {\n      const [_, constraint] = flattenDiagnosticMessageText2(messageText, \"\\n\", 0).match(/`extends (.*)`/) || [];\n      return constraint;\n    }\n    function tryGetConstraintType(checker, node) {\n      if (isTypeNode(node.parent)) {\n        return checker.getTypeArgumentConstraint(node.parent);\n      }\n      const contextualType = isExpression(node) ? checker.getContextualType(node) : void 0;\n      return contextualType || checker.getTypeAtLocation(node);\n    }\n    var fixId16, errorCodes18;\n    var init_fixAddMissingConstraint = __esm({\n      \"src/services/codefixes/fixAddMissingConstraint.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId16 = \"addMissingConstraint\";\n        errorCodes18 = [\n          // We want errors this could be attached to:\n          // Diagnostics.This_type_parameter_probably_needs_an_extends_0_constraint\n          Diagnostics.Type_0_is_not_comparable_to_type_1.code,\n          Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,\n          Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,\n          Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n          Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,\n          Diagnostics.Property_0_is_incompatible_with_index_signature.code,\n          Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,\n          Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes18,\n          getCodeActions(context) {\n            const { sourceFile, span, program, preferences, host } = context;\n            const info = getInfo3(program, sourceFile, span);\n            if (info === void 0)\n              return;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingConstraint(t, program, preferences, host, sourceFile, info));\n            return [createCodeFixAction(fixId16, changes, Diagnostics.Add_extends_constraint, fixId16, Diagnostics.Add_extends_constraint_to_all_type_parameters)];\n          },\n          fixIds: [fixId16],\n          getAllCodeActions: (context) => {\n            const { program, preferences, host } = context;\n            const seen = /* @__PURE__ */ new Map();\n            return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n              eachDiagnostic(context, errorCodes18, (diag2) => {\n                const info = getInfo3(program, diag2.file, createTextSpan(diag2.start, diag2.length));\n                if (info) {\n                  if (addToSeen(seen, getNodeId(info.declaration))) {\n                    return addMissingConstraint(changes, program, preferences, host, diag2.file, info);\n                  }\n                }\n                return void 0;\n              });\n            }));\n          }\n        });\n      }\n    });\n    function dispatchChanges(changeTracker, context, errorCode, pos) {\n      switch (errorCode) {\n        case Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:\n        case Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:\n        case Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:\n        case Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:\n        case Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:\n          return doAddOverrideModifierChange(changeTracker, context.sourceFile, pos);\n        case Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:\n        case Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:\n        case Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:\n        case Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:\n          return doRemoveOverrideModifierChange(changeTracker, context.sourceFile, pos);\n        default:\n          Debug2.fail(\"Unexpected error code: \" + errorCode);\n      }\n    }\n    function doAddOverrideModifierChange(changeTracker, sourceFile, pos) {\n      const classElement = findContainerClassElementLike(sourceFile, pos);\n      if (isSourceFileJS(sourceFile)) {\n        changeTracker.addJSDocTags(sourceFile, classElement, [factory.createJSDocOverrideTag(factory.createIdentifier(\"override\"))]);\n        return;\n      }\n      const modifiers = classElement.modifiers || emptyArray;\n      const staticModifier = find(modifiers, isStaticModifier);\n      const abstractModifier = find(modifiers, isAbstractModifier);\n      const accessibilityModifier = find(modifiers, (m) => isAccessibilityModifier(m.kind));\n      const lastDecorator = findLast(modifiers, isDecorator);\n      const modifierPos = abstractModifier ? abstractModifier.end : staticModifier ? staticModifier.end : accessibilityModifier ? accessibilityModifier.end : lastDecorator ? skipTrivia(sourceFile.text, lastDecorator.end) : classElement.getStart(sourceFile);\n      const options = accessibilityModifier || staticModifier || abstractModifier ? { prefix: \" \" } : { suffix: \" \" };\n      changeTracker.insertModifierAt(sourceFile, modifierPos, 161, options);\n    }\n    function doRemoveOverrideModifierChange(changeTracker, sourceFile, pos) {\n      const classElement = findContainerClassElementLike(sourceFile, pos);\n      if (isSourceFileJS(sourceFile)) {\n        changeTracker.filterJSDocTags(sourceFile, classElement, not(isJSDocOverrideTag));\n        return;\n      }\n      const overrideModifier = find(classElement.modifiers, isOverrideModifier);\n      Debug2.assertIsDefined(overrideModifier);\n      changeTracker.deleteModifier(sourceFile, overrideModifier);\n    }\n    function isClassElementLikeHasJSDoc(node) {\n      switch (node.kind) {\n        case 173:\n        case 169:\n        case 171:\n        case 174:\n        case 175:\n          return true;\n        case 166:\n          return isParameterPropertyDeclaration(node, node.parent);\n        default:\n          return false;\n      }\n    }\n    function findContainerClassElementLike(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      const classElement = findAncestor(token, (node) => {\n        if (isClassLike(node))\n          return \"quit\";\n        return isClassElementLikeHasJSDoc(node);\n      });\n      Debug2.assert(classElement && isClassElementLikeHasJSDoc(classElement));\n      return classElement;\n    }\n    var fixName, fixAddOverrideId, fixRemoveOverrideId, errorCodes19, errorCodeFixIdMap;\n    var init_fixOverrideModifier = __esm({\n      \"src/services/codefixes/fixOverrideModifier.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName = \"fixOverrideModifier\";\n        fixAddOverrideId = \"fixAddOverrideModifier\";\n        fixRemoveOverrideId = \"fixRemoveOverrideModifier\";\n        errorCodes19 = [\n          Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,\n          Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,\n          Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,\n          Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,\n          Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,\n          Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,\n          Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,\n          Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,\n          Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code\n        ];\n        errorCodeFixIdMap = {\n          // case #1:\n          [Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]: {\n            descriptions: Diagnostics.Add_override_modifier,\n            fixId: fixAddOverrideId,\n            fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n          },\n          [Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]: {\n            descriptions: Diagnostics.Add_override_modifier,\n            fixId: fixAddOverrideId,\n            fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n          },\n          // case #2:\n          [Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]: {\n            descriptions: Diagnostics.Remove_override_modifier,\n            fixId: fixRemoveOverrideId,\n            fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n          },\n          [Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]: {\n            descriptions: Diagnostics.Remove_override_modifier,\n            fixId: fixRemoveOverrideId,\n            fixAllDescriptions: Diagnostics.Remove_override_modifier\n          },\n          // case #3:\n          [Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]: {\n            descriptions: Diagnostics.Add_override_modifier,\n            fixId: fixAddOverrideId,\n            fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n          },\n          [Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]: {\n            descriptions: Diagnostics.Add_override_modifier,\n            fixId: fixAddOverrideId,\n            fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n          },\n          // case #4:\n          [Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]: {\n            descriptions: Diagnostics.Add_override_modifier,\n            fixId: fixAddOverrideId,\n            fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n          },\n          // case #5:\n          [Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]: {\n            descriptions: Diagnostics.Remove_override_modifier,\n            fixId: fixRemoveOverrideId,\n            fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n          },\n          [Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]: {\n            descriptions: Diagnostics.Remove_override_modifier,\n            fixId: fixRemoveOverrideId,\n            fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n          }\n        };\n        registerCodeFix({\n          errorCodes: errorCodes19,\n          getCodeActions: function getCodeActionsToFixOverrideModifierIssues(context) {\n            const { errorCode, span } = context;\n            const info = errorCodeFixIdMap[errorCode];\n            if (!info)\n              return emptyArray;\n            const { descriptions, fixId: fixId51, fixAllDescriptions } = info;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => dispatchChanges(changes2, context, errorCode, span.start));\n            return [\n              createCodeFixActionMaybeFixAll(fixName, changes, descriptions, fixId51, fixAllDescriptions)\n            ];\n          },\n          fixIds: [fixName, fixAddOverrideId, fixRemoveOverrideId],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes19, (changes, diag2) => {\n            const { code, start } = diag2;\n            const info = errorCodeFixIdMap[code];\n            if (!info || info.fixId !== context.fixId) {\n              return;\n            }\n            dispatchChanges(changes, context, code, start);\n          })\n        });\n      }\n    });\n    function doChange6(changes, sourceFile, node, preferences) {\n      const quotePreference = getQuotePreference(sourceFile, preferences);\n      const argumentsExpression = factory.createStringLiteral(\n        node.name.text,\n        quotePreference === 0\n        /* Single */\n      );\n      changes.replaceNode(\n        sourceFile,\n        node,\n        isPropertyAccessChain(node) ? factory.createElementAccessChain(node.expression, node.questionDotToken, argumentsExpression) : factory.createElementAccessExpression(node.expression, argumentsExpression)\n      );\n    }\n    function getPropertyAccessExpression(sourceFile, pos) {\n      return cast(getTokenAtPosition(sourceFile, pos).parent, isPropertyAccessExpression);\n    }\n    var fixId17, errorCodes20;\n    var init_fixNoPropertyAccessFromIndexSignature = __esm({\n      \"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId17 = \"fixNoPropertyAccessFromIndexSignature\";\n        errorCodes20 = [\n          Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes20,\n          fixIds: [fixId17],\n          getCodeActions(context) {\n            const { sourceFile, span, preferences } = context;\n            const property = getPropertyAccessExpression(sourceFile, span.start);\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange6(t, context.sourceFile, property, preferences));\n            return [createCodeFixAction(fixId17, changes, [Diagnostics.Use_element_access_for_0, property.name.text], fixId17, Diagnostics.Use_element_access_for_all_undeclared_properties)];\n          },\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes20, (changes, diag2) => doChange6(changes, diag2.file, getPropertyAccessExpression(diag2.file, diag2.start), context.preferences))\n        });\n      }\n    });\n    function doChange7(changes, sourceFile, pos, checker) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (!isThis(token))\n        return void 0;\n      const fn = getThisContainer(\n        token,\n        /*includeArrowFunctions*/\n        false,\n        /*includeClassComputedPropertyName*/\n        false\n      );\n      if (!isFunctionDeclaration(fn) && !isFunctionExpression(fn))\n        return void 0;\n      if (!isSourceFile(getThisContainer(\n        fn,\n        /*includeArrowFunctions*/\n        false,\n        /*includeClassComputedPropertyName*/\n        false\n      ))) {\n        const fnKeyword = Debug2.checkDefined(findChildOfKind(fn, 98, sourceFile));\n        const { name } = fn;\n        const body = Debug2.checkDefined(fn.body);\n        if (isFunctionExpression(fn)) {\n          if (name && ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(name, checker, sourceFile, body)) {\n            return void 0;\n          }\n          changes.delete(sourceFile, fnKeyword);\n          if (name) {\n            changes.delete(sourceFile, name);\n          }\n          changes.insertText(sourceFile, body.pos, \" =>\");\n          return [Diagnostics.Convert_function_expression_0_to_arrow_function, name ? name.text : ANONYMOUS];\n        } else {\n          changes.replaceNode(sourceFile, fnKeyword, factory.createToken(\n            85\n            /* ConstKeyword */\n          ));\n          changes.insertText(sourceFile, name.end, \" = \");\n          changes.insertText(sourceFile, body.pos, \" =>\");\n          return [Diagnostics.Convert_function_declaration_0_to_arrow_function, name.text];\n        }\n      }\n    }\n    var fixId18, errorCodes21;\n    var init_fixImplicitThis = __esm({\n      \"src/services/codefixes/fixImplicitThis.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId18 = \"fixImplicitThis\";\n        errorCodes21 = [Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];\n        registerCodeFix({\n          errorCodes: errorCodes21,\n          getCodeActions: function getCodeActionsToFixImplicitThis(context) {\n            const { sourceFile, program, span } = context;\n            let diagnostic;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n              diagnostic = doChange7(t, sourceFile, span.start, program.getTypeChecker());\n            });\n            return diagnostic ? [createCodeFixAction(fixId18, changes, diagnostic, fixId18, Diagnostics.Fix_all_implicit_this_errors)] : emptyArray;\n          },\n          fixIds: [fixId18],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes21, (changes, diag2) => {\n            doChange7(changes, diag2.file, diag2.start, context.program.getTypeChecker());\n          })\n        });\n      }\n    });\n    function getInfo4(sourceFile, pos, program) {\n      var _a22;\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (isIdentifier(token)) {\n        const importDeclaration = findAncestor(token, isImportDeclaration);\n        if (importDeclaration === void 0)\n          return void 0;\n        const moduleSpecifier = isStringLiteral(importDeclaration.moduleSpecifier) ? importDeclaration.moduleSpecifier.text : void 0;\n        if (moduleSpecifier === void 0)\n          return void 0;\n        const resolvedModule = getResolvedModule(\n          sourceFile,\n          moduleSpecifier,\n          /*mode*/\n          void 0\n        );\n        if (resolvedModule === void 0)\n          return void 0;\n        const moduleSourceFile = program.getSourceFile(resolvedModule.resolvedFileName);\n        if (moduleSourceFile === void 0 || isSourceFileFromLibrary(program, moduleSourceFile))\n          return void 0;\n        const moduleSymbol = moduleSourceFile.symbol;\n        const locals = (_a22 = tryCast(moduleSymbol.valueDeclaration, canHaveLocals)) == null ? void 0 : _a22.locals;\n        if (locals === void 0)\n          return void 0;\n        const localSymbol = locals.get(token.escapedText);\n        if (localSymbol === void 0)\n          return void 0;\n        const node = getNodeOfSymbol(localSymbol);\n        if (node === void 0)\n          return void 0;\n        const exportName = { node: token, isTypeOnly: isTypeDeclaration(node) };\n        return { exportName, node, moduleSourceFile, moduleSpecifier };\n      }\n      return void 0;\n    }\n    function doChange8(changes, program, { exportName, node, moduleSourceFile }) {\n      const exportDeclaration = tryGetExportDeclaration(moduleSourceFile, exportName.isTypeOnly);\n      if (exportDeclaration) {\n        updateExport(changes, program, moduleSourceFile, exportDeclaration, [exportName]);\n      } else if (canHaveExportModifier(node)) {\n        changes.insertExportModifier(moduleSourceFile, node);\n      } else {\n        createExport(changes, program, moduleSourceFile, [exportName]);\n      }\n    }\n    function doChanges(changes, program, sourceFile, moduleExports, node) {\n      if (length(moduleExports)) {\n        if (node) {\n          updateExport(changes, program, sourceFile, node, moduleExports);\n        } else {\n          createExport(changes, program, sourceFile, moduleExports);\n        }\n      }\n    }\n    function tryGetExportDeclaration(sourceFile, isTypeOnly) {\n      const predicate = (node) => isExportDeclaration(node) && (isTypeOnly && node.isTypeOnly || !node.isTypeOnly);\n      return findLast(sourceFile.statements, predicate);\n    }\n    function updateExport(changes, program, sourceFile, node, names) {\n      const namedExports = node.exportClause && isNamedExports(node.exportClause) ? node.exportClause.elements : factory.createNodeArray([]);\n      const allowTypeModifier = !node.isTypeOnly && !!(getIsolatedModules(program.getCompilerOptions()) || find(namedExports, (e) => e.isTypeOnly));\n      changes.replaceNode(\n        sourceFile,\n        node,\n        factory.updateExportDeclaration(\n          node,\n          node.modifiers,\n          node.isTypeOnly,\n          factory.createNamedExports(\n            factory.createNodeArray(\n              [...namedExports, ...createExportSpecifiers(names, allowTypeModifier)],\n              /*hasTrailingComma*/\n              namedExports.hasTrailingComma\n            )\n          ),\n          node.moduleSpecifier,\n          node.assertClause\n        )\n      );\n    }\n    function createExport(changes, program, sourceFile, names) {\n      changes.insertNodeAtEndOfScope(\n        sourceFile,\n        sourceFile,\n        factory.createExportDeclaration(\n          /*modifiers*/\n          void 0,\n          /*isTypeOnly*/\n          false,\n          factory.createNamedExports(createExportSpecifiers(\n            names,\n            /*allowTypeModifier*/\n            getIsolatedModules(program.getCompilerOptions())\n          )),\n          /*moduleSpecifier*/\n          void 0,\n          /*assertClause*/\n          void 0\n        )\n      );\n    }\n    function createExportSpecifiers(names, allowTypeModifier) {\n      return factory.createNodeArray(map(names, (n) => factory.createExportSpecifier(\n        allowTypeModifier && n.isTypeOnly,\n        /*propertyName*/\n        void 0,\n        n.node\n      )));\n    }\n    function getNodeOfSymbol(symbol) {\n      if (symbol.valueDeclaration === void 0) {\n        return firstOrUndefined(symbol.declarations);\n      }\n      const declaration = symbol.valueDeclaration;\n      const variableStatement = isVariableDeclaration(declaration) ? tryCast(declaration.parent.parent, isVariableStatement) : void 0;\n      return variableStatement && length(variableStatement.declarationList.declarations) === 1 ? variableStatement : declaration;\n    }\n    var fixId19, errorCodes22;\n    var init_fixImportNonExportedMember = __esm({\n      \"src/services/codefixes/fixImportNonExportedMember.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId19 = \"fixImportNonExportedMember\";\n        errorCodes22 = [\n          Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes22,\n          fixIds: [fixId19],\n          getCodeActions(context) {\n            const { sourceFile, span, program } = context;\n            const info = getInfo4(sourceFile, span.start, program);\n            if (info === void 0)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange8(t, program, info));\n            return [createCodeFixAction(fixId19, changes, [Diagnostics.Export_0_from_module_1, info.exportName.node.text, info.moduleSpecifier], fixId19, Diagnostics.Export_all_referenced_locals)];\n          },\n          getAllCodeActions(context) {\n            const { program } = context;\n            return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n              const exports = /* @__PURE__ */ new Map();\n              eachDiagnostic(context, errorCodes22, (diag2) => {\n                const info = getInfo4(diag2.file, diag2.start, program);\n                if (info === void 0)\n                  return void 0;\n                const { exportName, node, moduleSourceFile } = info;\n                if (tryGetExportDeclaration(moduleSourceFile, exportName.isTypeOnly) === void 0 && canHaveExportModifier(node)) {\n                  changes.insertExportModifier(moduleSourceFile, node);\n                } else {\n                  const moduleExports = exports.get(moduleSourceFile) || { typeOnlyExports: [], exports: [] };\n                  if (exportName.isTypeOnly) {\n                    moduleExports.typeOnlyExports.push(exportName);\n                  } else {\n                    moduleExports.exports.push(exportName);\n                  }\n                  exports.set(moduleSourceFile, moduleExports);\n                }\n              });\n              exports.forEach((moduleExports, moduleSourceFile) => {\n                const exportDeclaration = tryGetExportDeclaration(\n                  moduleSourceFile,\n                  /*isTypeOnly*/\n                  true\n                );\n                if (exportDeclaration && exportDeclaration.isTypeOnly) {\n                  doChanges(changes, program, moduleSourceFile, moduleExports.typeOnlyExports, exportDeclaration);\n                  doChanges(changes, program, moduleSourceFile, moduleExports.exports, tryGetExportDeclaration(\n                    moduleSourceFile,\n                    /*isTypeOnly*/\n                    false\n                  ));\n                } else {\n                  doChanges(changes, program, moduleSourceFile, [...moduleExports.exports, ...moduleExports.typeOnlyExports], exportDeclaration);\n                }\n              });\n            }));\n          }\n        });\n      }\n    });\n    function getNamedTupleMember(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      return findAncestor(\n        token,\n        (t) => t.kind === 199\n        /* NamedTupleMember */\n      );\n    }\n    function doChange9(changes, sourceFile, namedTupleMember) {\n      if (!namedTupleMember) {\n        return;\n      }\n      let unwrappedType = namedTupleMember.type;\n      let sawOptional = false;\n      let sawRest = false;\n      while (unwrappedType.kind === 187 || unwrappedType.kind === 188 || unwrappedType.kind === 193) {\n        if (unwrappedType.kind === 187) {\n          sawOptional = true;\n        } else if (unwrappedType.kind === 188) {\n          sawRest = true;\n        }\n        unwrappedType = unwrappedType.type;\n      }\n      const updated = factory.updateNamedTupleMember(\n        namedTupleMember,\n        namedTupleMember.dotDotDotToken || (sawRest ? factory.createToken(\n          25\n          /* DotDotDotToken */\n        ) : void 0),\n        namedTupleMember.name,\n        namedTupleMember.questionToken || (sawOptional ? factory.createToken(\n          57\n          /* QuestionToken */\n        ) : void 0),\n        unwrappedType\n      );\n      if (updated === namedTupleMember) {\n        return;\n      }\n      changes.replaceNode(sourceFile, namedTupleMember, updated);\n    }\n    var fixId20, errorCodes23;\n    var init_fixIncorrectNamedTupleSyntax = __esm({\n      \"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId20 = \"fixIncorrectNamedTupleSyntax\";\n        errorCodes23 = [\n          Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,\n          Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes23,\n          getCodeActions: function getCodeActionsToFixIncorrectNamedTupleSyntax(context) {\n            const { sourceFile, span } = context;\n            const namedTupleMember = getNamedTupleMember(sourceFile, span.start);\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange9(t, sourceFile, namedTupleMember));\n            return [createCodeFixAction(fixId20, changes, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels, fixId20, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)];\n          },\n          fixIds: [fixId20]\n        });\n      }\n    });\n    function getInfo5(sourceFile, pos, context, errorCode) {\n      const node = getTokenAtPosition(sourceFile, pos);\n      const parent2 = node.parent;\n      if ((errorCode === Diagnostics.No_overload_matches_this_call.code || errorCode === Diagnostics.Type_0_is_not_assignable_to_type_1.code) && !isJsxAttribute(parent2))\n        return void 0;\n      const checker = context.program.getTypeChecker();\n      let suggestedSymbol;\n      if (isPropertyAccessExpression(parent2) && parent2.name === node) {\n        Debug2.assert(isMemberName(node), \"Expected an identifier for spelling (property access)\");\n        let containingType = checker.getTypeAtLocation(parent2.expression);\n        if (parent2.flags & 32) {\n          containingType = checker.getNonNullableType(containingType);\n        }\n        suggestedSymbol = checker.getSuggestedSymbolForNonexistentProperty(node, containingType);\n      } else if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 101 && parent2.left === node && isPrivateIdentifier(node)) {\n        const receiverType = checker.getTypeAtLocation(parent2.right);\n        suggestedSymbol = checker.getSuggestedSymbolForNonexistentProperty(node, receiverType);\n      } else if (isQualifiedName(parent2) && parent2.right === node) {\n        const symbol = checker.getSymbolAtLocation(parent2.left);\n        if (symbol && symbol.flags & 1536) {\n          suggestedSymbol = checker.getSuggestedSymbolForNonexistentModule(parent2.right, symbol);\n        }\n      } else if (isImportSpecifier(parent2) && parent2.name === node) {\n        Debug2.assertNode(node, isIdentifier, \"Expected an identifier for spelling (import)\");\n        const importDeclaration = findAncestor(node, isImportDeclaration);\n        const resolvedSourceFile = getResolvedSourceFileFromImportDeclaration(sourceFile, context, importDeclaration);\n        if (resolvedSourceFile && resolvedSourceFile.symbol) {\n          suggestedSymbol = checker.getSuggestedSymbolForNonexistentModule(node, resolvedSourceFile.symbol);\n        }\n      } else if (isJsxAttribute(parent2) && parent2.name === node) {\n        Debug2.assertNode(node, isIdentifier, \"Expected an identifier for JSX attribute\");\n        const tag = findAncestor(node, isJsxOpeningLikeElement);\n        const props = checker.getContextualTypeForArgumentAtIndex(tag, 0);\n        suggestedSymbol = checker.getSuggestedSymbolForNonexistentJSXAttribute(node, props);\n      } else if (hasSyntacticModifier(\n        parent2,\n        16384\n        /* Override */\n      ) && isClassElement(parent2) && parent2.name === node) {\n        const baseDeclaration = findAncestor(node, isClassLike);\n        const baseTypeNode = baseDeclaration ? getEffectiveBaseTypeNode(baseDeclaration) : void 0;\n        const baseType = baseTypeNode ? checker.getTypeAtLocation(baseTypeNode) : void 0;\n        if (baseType) {\n          suggestedSymbol = checker.getSuggestedSymbolForNonexistentClassMember(getTextOfNode(node), baseType);\n        }\n      } else {\n        const meaning = getMeaningFromLocation(node);\n        const name = getTextOfNode(node);\n        Debug2.assert(name !== void 0, \"name should be defined\");\n        suggestedSymbol = checker.getSuggestedSymbolForNonexistentSymbol(node, name, convertSemanticMeaningToSymbolFlags(meaning));\n      }\n      return suggestedSymbol === void 0 ? void 0 : { node, suggestedSymbol };\n    }\n    function doChange10(changes, sourceFile, node, suggestedSymbol, target) {\n      const suggestion = symbolName(suggestedSymbol);\n      if (!isIdentifierText(suggestion, target) && isPropertyAccessExpression(node.parent)) {\n        const valDecl = suggestedSymbol.valueDeclaration;\n        if (valDecl && isNamedDeclaration(valDecl) && isPrivateIdentifier(valDecl.name)) {\n          changes.replaceNode(sourceFile, node, factory.createIdentifier(suggestion));\n        } else {\n          changes.replaceNode(sourceFile, node.parent, factory.createElementAccessExpression(node.parent.expression, factory.createStringLiteral(suggestion)));\n        }\n      } else {\n        changes.replaceNode(sourceFile, node, factory.createIdentifier(suggestion));\n      }\n    }\n    function convertSemanticMeaningToSymbolFlags(meaning) {\n      let flags = 0;\n      if (meaning & 4) {\n        flags |= 1920;\n      }\n      if (meaning & 2) {\n        flags |= 788968;\n      }\n      if (meaning & 1) {\n        flags |= 111551;\n      }\n      return flags;\n    }\n    function getResolvedSourceFileFromImportDeclaration(sourceFile, context, importDeclaration) {\n      if (!importDeclaration || !isStringLiteralLike(importDeclaration.moduleSpecifier))\n        return void 0;\n      const resolvedModule = getResolvedModule(sourceFile, importDeclaration.moduleSpecifier.text, getModeForUsageLocation(sourceFile, importDeclaration.moduleSpecifier));\n      if (!resolvedModule)\n        return void 0;\n      return context.program.getSourceFile(resolvedModule.resolvedFileName);\n    }\n    var fixId21, errorCodes24;\n    var init_fixSpelling = __esm({\n      \"src/services/codefixes/fixSpelling.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId21 = \"fixSpelling\";\n        errorCodes24 = [\n          Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,\n          Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,\n          Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,\n          Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,\n          Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,\n          Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,\n          Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,\n          // for JSX class components\n          Diagnostics.No_overload_matches_this_call.code,\n          // for JSX FC\n          Diagnostics.Type_0_is_not_assignable_to_type_1.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes24,\n          getCodeActions(context) {\n            const { sourceFile, errorCode } = context;\n            const info = getInfo5(sourceFile, context.span.start, context, errorCode);\n            if (!info)\n              return void 0;\n            const { node, suggestedSymbol } = info;\n            const target = getEmitScriptTarget(context.host.getCompilationSettings());\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange10(t, sourceFile, node, suggestedSymbol, target));\n            return [createCodeFixAction(\"spelling\", changes, [Diagnostics.Change_spelling_to_0, symbolName(suggestedSymbol)], fixId21, Diagnostics.Fix_all_detected_spelling_errors)];\n          },\n          fixIds: [fixId21],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes24, (changes, diag2) => {\n            const info = getInfo5(diag2.file, diag2.start, context, diag2.code);\n            const target = getEmitScriptTarget(context.host.getCompilationSettings());\n            if (info)\n              doChange10(changes, context.sourceFile, info.node, info.suggestedSymbol, target);\n          })\n        });\n      }\n    });\n    function createObjectTypeFromLabeledExpression(checker, label, expression) {\n      const member = checker.createSymbol(4, label.escapedText);\n      member.links.type = checker.getTypeAtLocation(expression);\n      const members = createSymbolTable([member]);\n      return checker.createAnonymousType(\n        /*symbol*/\n        void 0,\n        members,\n        [],\n        [],\n        []\n      );\n    }\n    function getFixInfo(checker, declaration, expectType, isFunctionType) {\n      if (!declaration.body || !isBlock(declaration.body) || length(declaration.body.statements) !== 1)\n        return void 0;\n      const firstStatement = first(declaration.body.statements);\n      if (isExpressionStatement(firstStatement) && checkFixedAssignableTo(checker, declaration, checker.getTypeAtLocation(firstStatement.expression), expectType, isFunctionType)) {\n        return {\n          declaration,\n          kind: 0,\n          expression: firstStatement.expression,\n          statement: firstStatement,\n          commentSource: firstStatement.expression\n        };\n      } else if (isLabeledStatement(firstStatement) && isExpressionStatement(firstStatement.statement)) {\n        const node = factory.createObjectLiteralExpression([factory.createPropertyAssignment(firstStatement.label, firstStatement.statement.expression)]);\n        const nodeType = createObjectTypeFromLabeledExpression(checker, firstStatement.label, firstStatement.statement.expression);\n        if (checkFixedAssignableTo(checker, declaration, nodeType, expectType, isFunctionType)) {\n          return isArrowFunction(declaration) ? {\n            declaration,\n            kind: 1,\n            expression: node,\n            statement: firstStatement,\n            commentSource: firstStatement.statement.expression\n          } : {\n            declaration,\n            kind: 0,\n            expression: node,\n            statement: firstStatement,\n            commentSource: firstStatement.statement.expression\n          };\n        }\n      } else if (isBlock(firstStatement) && length(firstStatement.statements) === 1) {\n        const firstBlockStatement = first(firstStatement.statements);\n        if (isLabeledStatement(firstBlockStatement) && isExpressionStatement(firstBlockStatement.statement)) {\n          const node = factory.createObjectLiteralExpression([factory.createPropertyAssignment(firstBlockStatement.label, firstBlockStatement.statement.expression)]);\n          const nodeType = createObjectTypeFromLabeledExpression(checker, firstBlockStatement.label, firstBlockStatement.statement.expression);\n          if (checkFixedAssignableTo(checker, declaration, nodeType, expectType, isFunctionType)) {\n            return {\n              declaration,\n              kind: 0,\n              expression: node,\n              statement: firstStatement,\n              commentSource: firstBlockStatement\n            };\n          }\n        }\n      }\n      return void 0;\n    }\n    function checkFixedAssignableTo(checker, declaration, exprType, type, isFunctionType) {\n      if (isFunctionType) {\n        const sig = checker.getSignatureFromDeclaration(declaration);\n        if (sig) {\n          if (hasSyntacticModifier(\n            declaration,\n            512\n            /* Async */\n          )) {\n            exprType = checker.createPromiseType(exprType);\n          }\n          const newSig = checker.createSignature(\n            declaration,\n            sig.typeParameters,\n            sig.thisParameter,\n            sig.parameters,\n            exprType,\n            /*typePredicate*/\n            void 0,\n            sig.minArgumentCount,\n            sig.flags\n          );\n          exprType = checker.createAnonymousType(\n            /*symbol*/\n            void 0,\n            createSymbolTable(),\n            [newSig],\n            [],\n            []\n          );\n        } else {\n          exprType = checker.getAnyType();\n        }\n      }\n      return checker.isTypeAssignableTo(exprType, type);\n    }\n    function getInfo6(checker, sourceFile, position, errorCode) {\n      const node = getTokenAtPosition(sourceFile, position);\n      if (!node.parent)\n        return void 0;\n      const declaration = findAncestor(node.parent, isFunctionLikeDeclaration);\n      switch (errorCode) {\n        case Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:\n          if (!declaration || !declaration.body || !declaration.type || !rangeContainsRange(declaration.type, node))\n            return void 0;\n          return getFixInfo(\n            checker,\n            declaration,\n            checker.getTypeFromTypeNode(declaration.type),\n            /* isFunctionType */\n            false\n          );\n        case Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:\n          if (!declaration || !isCallExpression(declaration.parent) || !declaration.body)\n            return void 0;\n          const pos = declaration.parent.arguments.indexOf(declaration);\n          const type = checker.getContextualTypeForArgumentAtIndex(declaration.parent, pos);\n          if (!type)\n            return void 0;\n          return getFixInfo(\n            checker,\n            declaration,\n            type,\n            /* isFunctionType */\n            true\n          );\n        case Diagnostics.Type_0_is_not_assignable_to_type_1.code:\n          if (!isDeclarationName(node) || !isVariableLike(node.parent) && !isJsxAttribute(node.parent))\n            return void 0;\n          const initializer = getVariableLikeInitializer(node.parent);\n          if (!initializer || !isFunctionLikeDeclaration(initializer) || !initializer.body)\n            return void 0;\n          return getFixInfo(\n            checker,\n            initializer,\n            checker.getTypeAtLocation(node.parent),\n            /* isFunctionType */\n            true\n          );\n      }\n      return void 0;\n    }\n    function getVariableLikeInitializer(declaration) {\n      switch (declaration.kind) {\n        case 257:\n        case 166:\n        case 205:\n        case 169:\n        case 299:\n          return declaration.initializer;\n        case 288:\n          return declaration.initializer && (isJsxExpression(declaration.initializer) ? declaration.initializer.expression : void 0);\n        case 300:\n        case 168:\n        case 302:\n        case 351:\n        case 344:\n          return void 0;\n      }\n    }\n    function addReturnStatement(changes, sourceFile, expression, statement) {\n      suppressLeadingAndTrailingTrivia(expression);\n      const probablyNeedSemi = probablyUsesSemicolons(sourceFile);\n      changes.replaceNode(sourceFile, statement, factory.createReturnStatement(expression), {\n        leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude,\n        suffix: probablyNeedSemi ? \";\" : void 0\n      });\n    }\n    function removeBlockBodyBrace(changes, sourceFile, declaration, expression, commentSource, withParen) {\n      const newBody = withParen || needsParentheses(expression) ? factory.createParenthesizedExpression(expression) : expression;\n      suppressLeadingAndTrailingTrivia(commentSource);\n      copyComments(commentSource, newBody);\n      changes.replaceNode(sourceFile, declaration.body, newBody);\n    }\n    function wrapBlockWithParen(changes, sourceFile, declaration, expression) {\n      changes.replaceNode(sourceFile, declaration.body, factory.createParenthesizedExpression(expression));\n    }\n    function getActionForfixAddReturnStatement(context, expression, statement) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addReturnStatement(t, context.sourceFile, expression, statement));\n      return createCodeFixAction(fixId22, changes, Diagnostics.Add_a_return_statement, fixIdAddReturnStatement, Diagnostics.Add_all_missing_return_statement);\n    }\n    function getActionForFixRemoveBracesFromArrowFunctionBody(context, declaration, expression, commentSource) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => removeBlockBodyBrace(\n        t,\n        context.sourceFile,\n        declaration,\n        expression,\n        commentSource,\n        /* withParen */\n        false\n      ));\n      return createCodeFixAction(fixId22, changes, Diagnostics.Remove_braces_from_arrow_function_body, fixRemoveBracesFromArrowFunctionBody, Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues);\n    }\n    function getActionForfixWrapTheBlockWithParen(context, declaration, expression) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => wrapBlockWithParen(t, context.sourceFile, declaration, expression));\n      return createCodeFixAction(fixId22, changes, Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal, fixIdWrapTheBlockWithParen, Diagnostics.Wrap_all_object_literal_with_parentheses);\n    }\n    var fixId22, fixIdAddReturnStatement, fixRemoveBracesFromArrowFunctionBody, fixIdWrapTheBlockWithParen, errorCodes25;\n    var init_returnValueCorrect = __esm({\n      \"src/services/codefixes/returnValueCorrect.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId22 = \"returnValueCorrect\";\n        fixIdAddReturnStatement = \"fixAddReturnStatement\";\n        fixRemoveBracesFromArrowFunctionBody = \"fixRemoveBracesFromArrowFunctionBody\";\n        fixIdWrapTheBlockWithParen = \"fixWrapTheBlockWithParen\";\n        errorCodes25 = [\n          Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,\n          Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n          Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes25,\n          fixIds: [fixIdAddReturnStatement, fixRemoveBracesFromArrowFunctionBody, fixIdWrapTheBlockWithParen],\n          getCodeActions: function getCodeActionsToCorrectReturnValue(context) {\n            const { program, sourceFile, span: { start }, errorCode } = context;\n            const info = getInfo6(program.getTypeChecker(), sourceFile, start, errorCode);\n            if (!info)\n              return void 0;\n            if (info.kind === 0) {\n              return append(\n                [getActionForfixAddReturnStatement(context, info.expression, info.statement)],\n                isArrowFunction(info.declaration) ? getActionForFixRemoveBracesFromArrowFunctionBody(context, info.declaration, info.expression, info.commentSource) : void 0\n              );\n            } else {\n              return [getActionForfixWrapTheBlockWithParen(context, info.declaration, info.expression)];\n            }\n          },\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes25, (changes, diag2) => {\n            const info = getInfo6(context.program.getTypeChecker(), diag2.file, diag2.start, diag2.code);\n            if (!info)\n              return void 0;\n            switch (context.fixId) {\n              case fixIdAddReturnStatement:\n                addReturnStatement(changes, diag2.file, info.expression, info.statement);\n                break;\n              case fixRemoveBracesFromArrowFunctionBody:\n                if (!isArrowFunction(info.declaration))\n                  return void 0;\n                removeBlockBodyBrace(\n                  changes,\n                  diag2.file,\n                  info.declaration,\n                  info.expression,\n                  info.commentSource,\n                  /* withParen */\n                  false\n                );\n                break;\n              case fixIdWrapTheBlockWithParen:\n                if (!isArrowFunction(info.declaration))\n                  return void 0;\n                wrapBlockWithParen(changes, diag2.file, info.declaration, info.expression);\n                break;\n              default:\n                Debug2.fail(JSON.stringify(context.fixId));\n            }\n          })\n        });\n      }\n    });\n    function getInfo7(sourceFile, tokenPos, errorCode, checker, program) {\n      var _a22;\n      const token = getTokenAtPosition(sourceFile, tokenPos);\n      const parent2 = token.parent;\n      if (errorCode === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code) {\n        if (!(token.kind === 18 && isObjectLiteralExpression(parent2) && isCallExpression(parent2.parent)))\n          return void 0;\n        const argIndex = findIndex(parent2.parent.arguments, (arg) => arg === parent2);\n        if (argIndex < 0)\n          return void 0;\n        const signature = checker.getResolvedSignature(parent2.parent);\n        if (!(signature && signature.declaration && signature.parameters[argIndex]))\n          return void 0;\n        const param = signature.parameters[argIndex].valueDeclaration;\n        if (!(param && isParameter(param) && isIdentifier(param.name)))\n          return void 0;\n        const properties = arrayFrom(checker.getUnmatchedProperties(\n          checker.getTypeAtLocation(parent2),\n          checker.getParameterType(signature, argIndex),\n          /* requireOptionalProperties */\n          false,\n          /* matchDiscriminantProperties */\n          false\n        ));\n        if (!length(properties))\n          return void 0;\n        return { kind: 3, token: param.name, properties, parentDeclaration: parent2 };\n      }\n      if (!isMemberName(token))\n        return void 0;\n      if (isIdentifier(token) && hasInitializer(parent2) && parent2.initializer && isObjectLiteralExpression(parent2.initializer)) {\n        const properties = arrayFrom(checker.getUnmatchedProperties(\n          checker.getTypeAtLocation(parent2.initializer),\n          checker.getTypeAtLocation(token),\n          /* requireOptionalProperties */\n          false,\n          /* matchDiscriminantProperties */\n          false\n        ));\n        if (!length(properties))\n          return void 0;\n        return { kind: 3, token, properties, parentDeclaration: parent2.initializer };\n      }\n      if (isIdentifier(token) && isJsxOpeningLikeElement(token.parent)) {\n        const target = getEmitScriptTarget(program.getCompilerOptions());\n        const attributes = getUnmatchedAttributes(checker, target, token.parent);\n        if (!length(attributes))\n          return void 0;\n        return { kind: 4, token, attributes, parentDeclaration: token.parent };\n      }\n      if (isIdentifier(token)) {\n        const type = (_a22 = checker.getContextualType(token)) == null ? void 0 : _a22.getNonNullableType();\n        if (type && getObjectFlags(type) & 16) {\n          const signature = firstOrUndefined(checker.getSignaturesOfType(\n            type,\n            0\n            /* Call */\n          ));\n          if (signature === void 0)\n            return void 0;\n          return { kind: 5, token, signature, sourceFile, parentDeclaration: findScope(token) };\n        }\n        if (isCallExpression(parent2) && parent2.expression === token) {\n          return { kind: 2, token, call: parent2, sourceFile, modifierFlags: 0, parentDeclaration: findScope(token) };\n        }\n      }\n      if (!isPropertyAccessExpression(parent2))\n        return void 0;\n      const leftExpressionType = skipConstraint(checker.getTypeAtLocation(parent2.expression));\n      const symbol = leftExpressionType.symbol;\n      if (!symbol || !symbol.declarations)\n        return void 0;\n      if (isIdentifier(token) && isCallExpression(parent2.parent)) {\n        const moduleDeclaration = find(symbol.declarations, isModuleDeclaration);\n        const moduleDeclarationSourceFile = moduleDeclaration == null ? void 0 : moduleDeclaration.getSourceFile();\n        if (moduleDeclaration && moduleDeclarationSourceFile && !isSourceFileFromLibrary(program, moduleDeclarationSourceFile)) {\n          return { kind: 2, token, call: parent2.parent, sourceFile, modifierFlags: 1, parentDeclaration: moduleDeclaration };\n        }\n        const moduleSourceFile = find(symbol.declarations, isSourceFile);\n        if (sourceFile.commonJsModuleIndicator)\n          return void 0;\n        if (moduleSourceFile && !isSourceFileFromLibrary(program, moduleSourceFile)) {\n          return { kind: 2, token, call: parent2.parent, sourceFile: moduleSourceFile, modifierFlags: 1, parentDeclaration: moduleSourceFile };\n        }\n      }\n      const classDeclaration = find(symbol.declarations, isClassLike);\n      if (!classDeclaration && isPrivateIdentifier(token))\n        return void 0;\n      const declaration = classDeclaration || find(symbol.declarations, (d) => isInterfaceDeclaration(d) || isTypeLiteralNode(d));\n      if (declaration && !isSourceFileFromLibrary(program, declaration.getSourceFile())) {\n        const makeStatic = !isTypeLiteralNode(declaration) && (leftExpressionType.target || leftExpressionType) !== checker.getDeclaredTypeOfSymbol(symbol);\n        if (makeStatic && (isPrivateIdentifier(token) || isInterfaceDeclaration(declaration)))\n          return void 0;\n        const declSourceFile = declaration.getSourceFile();\n        const modifierFlags = isTypeLiteralNode(declaration) ? 0 : (makeStatic ? 32 : 0) | (startsWithUnderscore(token.text) ? 8 : 0);\n        const isJSFile = isSourceFileJS(declSourceFile);\n        const call = tryCast(parent2.parent, isCallExpression);\n        return { kind: 0, token, call, modifierFlags, parentDeclaration: declaration, declSourceFile, isJSFile };\n      }\n      const enumDeclaration = find(symbol.declarations, isEnumDeclaration);\n      if (enumDeclaration && !(leftExpressionType.flags & 1056) && !isPrivateIdentifier(token) && !isSourceFileFromLibrary(program, enumDeclaration.getSourceFile())) {\n        return { kind: 1, token, parentDeclaration: enumDeclaration };\n      }\n      return void 0;\n    }\n    function getActionsForMissingMemberDeclaration(context, info) {\n      return info.isJSFile ? singleElementArray(createActionForAddMissingMemberInJavascriptFile(context, info)) : createActionsForAddMissingMemberInTypeScriptFile(context, info);\n    }\n    function createActionForAddMissingMemberInJavascriptFile(context, { parentDeclaration, declSourceFile, modifierFlags, token }) {\n      if (isInterfaceDeclaration(parentDeclaration) || isTypeLiteralNode(parentDeclaration)) {\n        return void 0;\n      }\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingMemberInJs(t, declSourceFile, parentDeclaration, token, !!(modifierFlags & 32)));\n      if (changes.length === 0) {\n        return void 0;\n      }\n      const diagnostic = modifierFlags & 32 ? Diagnostics.Initialize_static_property_0 : isPrivateIdentifier(token) ? Diagnostics.Declare_a_private_field_named_0 : Diagnostics.Initialize_property_0_in_the_constructor;\n      return createCodeFixAction(fixMissingMember, changes, [diagnostic, token.text], fixMissingMember, Diagnostics.Add_all_missing_members);\n    }\n    function addMissingMemberInJs(changeTracker, sourceFile, classDeclaration, token, makeStatic) {\n      const tokenName = token.text;\n      if (makeStatic) {\n        if (classDeclaration.kind === 228) {\n          return;\n        }\n        const className = classDeclaration.name.getText();\n        const staticInitialization = initializePropertyToUndefined(factory.createIdentifier(className), tokenName);\n        changeTracker.insertNodeAfter(sourceFile, classDeclaration, staticInitialization);\n      } else if (isPrivateIdentifier(token)) {\n        const property = factory.createPropertyDeclaration(\n          /*modifiers*/\n          void 0,\n          tokenName,\n          /*questionToken*/\n          void 0,\n          /*type*/\n          void 0,\n          /*initializer*/\n          void 0\n        );\n        const lastProp = getNodeToInsertPropertyAfter(classDeclaration);\n        if (lastProp) {\n          changeTracker.insertNodeAfter(sourceFile, lastProp, property);\n        } else {\n          changeTracker.insertMemberAtStart(sourceFile, classDeclaration, property);\n        }\n      } else {\n        const classConstructor = getFirstConstructorWithBody(classDeclaration);\n        if (!classConstructor) {\n          return;\n        }\n        const propertyInitialization = initializePropertyToUndefined(factory.createThis(), tokenName);\n        changeTracker.insertNodeAtConstructorEnd(sourceFile, classConstructor, propertyInitialization);\n      }\n    }\n    function initializePropertyToUndefined(obj, propertyName) {\n      return factory.createExpressionStatement(factory.createAssignment(factory.createPropertyAccessExpression(obj, propertyName), createUndefined()));\n    }\n    function createActionsForAddMissingMemberInTypeScriptFile(context, { parentDeclaration, declSourceFile, modifierFlags, token }) {\n      const memberName = token.text;\n      const isStatic2 = modifierFlags & 32;\n      const typeNode = getTypeNode2(context.program.getTypeChecker(), parentDeclaration, token);\n      const addPropertyDeclarationChanges = (modifierFlags2) => ts_textChanges_exports.ChangeTracker.with(context, (t) => addPropertyDeclaration(t, declSourceFile, parentDeclaration, memberName, typeNode, modifierFlags2));\n      const actions2 = [createCodeFixAction(fixMissingMember, addPropertyDeclarationChanges(\n        modifierFlags & 32\n        /* Static */\n      ), [isStatic2 ? Diagnostics.Declare_static_property_0 : Diagnostics.Declare_property_0, memberName], fixMissingMember, Diagnostics.Add_all_missing_members)];\n      if (isStatic2 || isPrivateIdentifier(token)) {\n        return actions2;\n      }\n      if (modifierFlags & 8) {\n        actions2.unshift(createCodeFixActionWithoutFixAll(fixMissingMember, addPropertyDeclarationChanges(\n          8\n          /* Private */\n        ), [Diagnostics.Declare_private_property_0, memberName]));\n      }\n      actions2.push(createAddIndexSignatureAction(context, declSourceFile, parentDeclaration, token.text, typeNode));\n      return actions2;\n    }\n    function getTypeNode2(checker, node, token) {\n      let typeNode;\n      if (token.parent.parent.kind === 223) {\n        const binaryExpression = token.parent.parent;\n        const otherExpression = token.parent === binaryExpression.left ? binaryExpression.right : binaryExpression.left;\n        const widenedType = checker.getWidenedType(checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(otherExpression)));\n        typeNode = checker.typeToTypeNode(\n          widenedType,\n          node,\n          1\n          /* NoTruncation */\n        );\n      } else {\n        const contextualType = checker.getContextualType(token.parent);\n        typeNode = contextualType ? checker.typeToTypeNode(\n          contextualType,\n          /*enclosingDeclaration*/\n          void 0,\n          1\n          /* NoTruncation */\n        ) : void 0;\n      }\n      return typeNode || factory.createKeywordTypeNode(\n        131\n        /* AnyKeyword */\n      );\n    }\n    function addPropertyDeclaration(changeTracker, sourceFile, node, tokenName, typeNode, modifierFlags) {\n      const modifiers = modifierFlags ? factory.createNodeArray(factory.createModifiersFromModifierFlags(modifierFlags)) : void 0;\n      const property = isClassLike(node) ? factory.createPropertyDeclaration(\n        modifiers,\n        tokenName,\n        /*questionToken*/\n        void 0,\n        typeNode,\n        /*initializer*/\n        void 0\n      ) : factory.createPropertySignature(\n        /*modifiers*/\n        void 0,\n        tokenName,\n        /*questionToken*/\n        void 0,\n        typeNode\n      );\n      const lastProp = getNodeToInsertPropertyAfter(node);\n      if (lastProp) {\n        changeTracker.insertNodeAfter(sourceFile, lastProp, property);\n      } else {\n        changeTracker.insertMemberAtStart(sourceFile, node, property);\n      }\n    }\n    function getNodeToInsertPropertyAfter(node) {\n      let res;\n      for (const member of node.members) {\n        if (!isPropertyDeclaration(member))\n          break;\n        res = member;\n      }\n      return res;\n    }\n    function createAddIndexSignatureAction(context, sourceFile, node, tokenName, typeNode) {\n      const stringTypeNode = factory.createKeywordTypeNode(\n        152\n        /* StringKeyword */\n      );\n      const indexingParameter = factory.createParameterDeclaration(\n        /*modifiers*/\n        void 0,\n        /*dotDotDotToken*/\n        void 0,\n        \"x\",\n        /*questionToken*/\n        void 0,\n        stringTypeNode,\n        /*initializer*/\n        void 0\n      );\n      const indexSignature = factory.createIndexSignature(\n        /*modifiers*/\n        void 0,\n        [indexingParameter],\n        typeNode\n      );\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.insertMemberAtStart(sourceFile, node, indexSignature));\n      return createCodeFixActionWithoutFixAll(fixMissingMember, changes, [Diagnostics.Add_index_signature_for_property_0, tokenName]);\n    }\n    function getActionsForMissingMethodDeclaration(context, info) {\n      const { parentDeclaration, declSourceFile, modifierFlags, token, call } = info;\n      if (call === void 0) {\n        return void 0;\n      }\n      if (isPrivateIdentifier(token)) {\n        return void 0;\n      }\n      const methodName = token.text;\n      const addMethodDeclarationChanges = (modifierFlags2) => ts_textChanges_exports.ChangeTracker.with(context, (t) => addMethodDeclaration(context, t, call, token, modifierFlags2, parentDeclaration, declSourceFile));\n      const actions2 = [createCodeFixAction(fixMissingMember, addMethodDeclarationChanges(\n        modifierFlags & 32\n        /* Static */\n      ), [modifierFlags & 32 ? Diagnostics.Declare_static_method_0 : Diagnostics.Declare_method_0, methodName], fixMissingMember, Diagnostics.Add_all_missing_members)];\n      if (modifierFlags & 8) {\n        actions2.unshift(createCodeFixActionWithoutFixAll(fixMissingMember, addMethodDeclarationChanges(\n          8\n          /* Private */\n        ), [Diagnostics.Declare_private_method_0, methodName]));\n      }\n      return actions2;\n    }\n    function addMethodDeclaration(context, changes, callExpression, name, modifierFlags, parentDeclaration, sourceFile) {\n      const importAdder = createImportAdder(sourceFile, context.program, context.preferences, context.host);\n      const kind = isClassLike(parentDeclaration) ? 171 : 170;\n      const signatureDeclaration = createSignatureDeclarationFromCallExpression(kind, context, importAdder, callExpression, name, modifierFlags, parentDeclaration);\n      const containingMethodDeclaration = tryGetContainingMethodDeclaration(parentDeclaration, callExpression);\n      if (containingMethodDeclaration) {\n        changes.insertNodeAfter(sourceFile, containingMethodDeclaration, signatureDeclaration);\n      } else {\n        changes.insertMemberAtStart(sourceFile, parentDeclaration, signatureDeclaration);\n      }\n      importAdder.writeFixes(changes);\n    }\n    function addEnumMemberDeclaration(changes, checker, { token, parentDeclaration }) {\n      const hasStringInitializer = some(parentDeclaration.members, (member) => {\n        const type = checker.getTypeAtLocation(member);\n        return !!(type && type.flags & 402653316);\n      });\n      const enumMember = factory.createEnumMember(token, hasStringInitializer ? factory.createStringLiteral(token.text) : void 0);\n      changes.replaceNode(parentDeclaration.getSourceFile(), parentDeclaration, factory.updateEnumDeclaration(\n        parentDeclaration,\n        parentDeclaration.modifiers,\n        parentDeclaration.name,\n        concatenate(parentDeclaration.members, singleElementArray(enumMember))\n      ), {\n        leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll,\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude\n      });\n    }\n    function addFunctionDeclaration(changes, context, info) {\n      const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n      const importAdder = createImportAdder(context.sourceFile, context.program, context.preferences, context.host);\n      const functionDeclaration = info.kind === 2 ? createSignatureDeclarationFromCallExpression(259, context, importAdder, info.call, idText(info.token), info.modifierFlags, info.parentDeclaration) : createSignatureDeclarationFromSignature(\n        259,\n        context,\n        quotePreference,\n        info.signature,\n        createStubbedBody(Diagnostics.Function_not_implemented.message, quotePreference),\n        info.token,\n        /*modifiers*/\n        void 0,\n        /*optional*/\n        void 0,\n        /*enclosingDeclaration*/\n        void 0,\n        importAdder\n      );\n      if (functionDeclaration === void 0) {\n        Debug2.fail(\"fixMissingFunctionDeclaration codefix got unexpected error.\");\n      }\n      isReturnStatement(info.parentDeclaration) ? changes.insertNodeBefore(\n        info.sourceFile,\n        info.parentDeclaration,\n        functionDeclaration,\n        /*blankLineBetween*/\n        true\n      ) : changes.insertNodeAtEndOfScope(info.sourceFile, info.parentDeclaration, functionDeclaration);\n      importAdder.writeFixes(changes);\n    }\n    function addJsxAttributes(changes, context, info) {\n      const importAdder = createImportAdder(context.sourceFile, context.program, context.preferences, context.host);\n      const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n      const checker = context.program.getTypeChecker();\n      const jsxAttributesNode = info.parentDeclaration.attributes;\n      const hasSpreadAttribute = some(jsxAttributesNode.properties, isJsxSpreadAttribute);\n      const attrs = map(info.attributes, (attr) => {\n        const value = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(attr), info.parentDeclaration);\n        const name = factory.createIdentifier(attr.name);\n        const jsxAttribute = factory.createJsxAttribute(name, factory.createJsxExpression(\n          /*dotDotDotToken*/\n          void 0,\n          value\n        ));\n        setParent(name, jsxAttribute);\n        return jsxAttribute;\n      });\n      const jsxAttributes = factory.createJsxAttributes(hasSpreadAttribute ? [...attrs, ...jsxAttributesNode.properties] : [...jsxAttributesNode.properties, ...attrs]);\n      const options = { prefix: jsxAttributesNode.pos === jsxAttributesNode.end ? \" \" : void 0 };\n      changes.replaceNode(context.sourceFile, jsxAttributesNode, jsxAttributes, options);\n      importAdder.writeFixes(changes);\n    }\n    function addObjectLiteralProperties(changes, context, info) {\n      const importAdder = createImportAdder(context.sourceFile, context.program, context.preferences, context.host);\n      const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n      const target = getEmitScriptTarget(context.program.getCompilerOptions());\n      const checker = context.program.getTypeChecker();\n      const props = map(info.properties, (prop) => {\n        const initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), info.parentDeclaration);\n        return factory.createPropertyAssignment(createPropertyNameFromSymbol(prop, target, quotePreference, checker), initializer);\n      });\n      const options = {\n        leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude,\n        indentation: info.indentation\n      };\n      changes.replaceNode(context.sourceFile, info.parentDeclaration, factory.createObjectLiteralExpression(\n        [...info.parentDeclaration.properties, ...props],\n        /*multiLine*/\n        true\n      ), options);\n      importAdder.writeFixes(changes);\n    }\n    function tryGetValueFromType(context, checker, importAdder, quotePreference, type, enclosingDeclaration) {\n      if (type.flags & 3) {\n        return createUndefined();\n      }\n      if (type.flags & (4 | 134217728)) {\n        return factory.createStringLiteral(\n          \"\",\n          /* isSingleQuote */\n          quotePreference === 0\n          /* Single */\n        );\n      }\n      if (type.flags & 8) {\n        return factory.createNumericLiteral(0);\n      }\n      if (type.flags & 64) {\n        return factory.createBigIntLiteral(\"0n\");\n      }\n      if (type.flags & 16) {\n        return factory.createFalse();\n      }\n      if (type.flags & 1056) {\n        const enumMember = type.symbol.exports ? firstOrUndefinedIterator(type.symbol.exports.values()) : type.symbol;\n        const name = checker.symbolToExpression(\n          type.symbol.parent ? type.symbol.parent : type.symbol,\n          111551,\n          /*enclosingDeclaration*/\n          void 0,\n          /*flags*/\n          void 0\n        );\n        return enumMember === void 0 || name === void 0 ? factory.createNumericLiteral(0) : factory.createPropertyAccessExpression(name, checker.symbolToString(enumMember));\n      }\n      if (type.flags & 256) {\n        return factory.createNumericLiteral(type.value);\n      }\n      if (type.flags & 2048) {\n        return factory.createBigIntLiteral(type.value);\n      }\n      if (type.flags & 128) {\n        return factory.createStringLiteral(\n          type.value,\n          /* isSingleQuote */\n          quotePreference === 0\n          /* Single */\n        );\n      }\n      if (type.flags & 512) {\n        return type === checker.getFalseType() || type === checker.getFalseType(\n          /*fresh*/\n          true\n        ) ? factory.createFalse() : factory.createTrue();\n      }\n      if (type.flags & 65536) {\n        return factory.createNull();\n      }\n      if (type.flags & 1048576) {\n        const expression = firstDefined(type.types, (t) => tryGetValueFromType(context, checker, importAdder, quotePreference, t, enclosingDeclaration));\n        return expression != null ? expression : createUndefined();\n      }\n      if (checker.isArrayLikeType(type)) {\n        return factory.createArrayLiteralExpression();\n      }\n      if (isObjectLiteralType(type)) {\n        const props = map(checker.getPropertiesOfType(type), (prop) => {\n          const initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), enclosingDeclaration);\n          return factory.createPropertyAssignment(prop.name, initializer);\n        });\n        return factory.createObjectLiteralExpression(\n          props,\n          /*multiLine*/\n          true\n        );\n      }\n      if (getObjectFlags(type) & 16) {\n        const decl = find(type.symbol.declarations || emptyArray, or(isFunctionTypeNode, isMethodSignature, isMethodDeclaration));\n        if (decl === void 0)\n          return createUndefined();\n        const signature = checker.getSignaturesOfType(\n          type,\n          0\n          /* Call */\n        );\n        if (signature === void 0)\n          return createUndefined();\n        const func = createSignatureDeclarationFromSignature(\n          215,\n          context,\n          quotePreference,\n          signature[0],\n          createStubbedBody(Diagnostics.Function_not_implemented.message, quotePreference),\n          /*name*/\n          void 0,\n          /*modifiers*/\n          void 0,\n          /*optional*/\n          void 0,\n          /*enclosingDeclaration*/\n          enclosingDeclaration,\n          importAdder\n        );\n        return func != null ? func : createUndefined();\n      }\n      if (getObjectFlags(type) & 1) {\n        const classDeclaration = getClassLikeDeclarationOfSymbol(type.symbol);\n        if (classDeclaration === void 0 || hasAbstractModifier(classDeclaration))\n          return createUndefined();\n        const constructorDeclaration = getFirstConstructorWithBody(classDeclaration);\n        if (constructorDeclaration && length(constructorDeclaration.parameters))\n          return createUndefined();\n        return factory.createNewExpression(\n          factory.createIdentifier(type.symbol.name),\n          /*typeArguments*/\n          void 0,\n          /*argumentsArray*/\n          void 0\n        );\n      }\n      return createUndefined();\n    }\n    function createUndefined() {\n      return factory.createIdentifier(\"undefined\");\n    }\n    function isObjectLiteralType(type) {\n      return type.flags & 524288 && (getObjectFlags(type) & 128 || type.symbol && tryCast(singleOrUndefined(type.symbol.declarations), isTypeLiteralNode));\n    }\n    function getUnmatchedAttributes(checker, target, source) {\n      const attrsType = checker.getContextualType(source.attributes);\n      if (attrsType === void 0)\n        return emptyArray;\n      const targetProps = attrsType.getProperties();\n      if (!length(targetProps))\n        return emptyArray;\n      const seenNames = /* @__PURE__ */ new Set();\n      for (const sourceProp of source.attributes.properties) {\n        if (isJsxAttribute(sourceProp)) {\n          seenNames.add(sourceProp.name.escapedText);\n        }\n        if (isJsxSpreadAttribute(sourceProp)) {\n          const type = checker.getTypeAtLocation(sourceProp.expression);\n          for (const prop of type.getProperties()) {\n            seenNames.add(prop.escapedName);\n          }\n        }\n      }\n      return filter(targetProps, (targetProp) => isIdentifierText(\n        targetProp.name,\n        target,\n        1\n        /* JSX */\n      ) && !(targetProp.flags & 16777216 || getCheckFlags(targetProp) & 48 || seenNames.has(targetProp.escapedName)));\n    }\n    function tryGetContainingMethodDeclaration(node, callExpression) {\n      if (isTypeLiteralNode(node)) {\n        return void 0;\n      }\n      const declaration = findAncestor(callExpression, (n) => isMethodDeclaration(n) || isConstructorDeclaration(n));\n      return declaration && declaration.parent === node ? declaration : void 0;\n    }\n    function createPropertyNameFromSymbol(symbol, target, quotePreference, checker) {\n      if (isTransientSymbol(symbol)) {\n        const prop = checker.symbolToNode(\n          symbol,\n          111551,\n          /*enclosingDeclaration*/\n          void 0,\n          1073741824\n          /* WriteComputedProps */\n        );\n        if (prop && isComputedPropertyName(prop))\n          return prop;\n      }\n      return createPropertyNameNodeForIdentifierOrLiteral(\n        symbol.name,\n        target,\n        quotePreference === 0\n        /* Single */\n      );\n    }\n    function findScope(node) {\n      if (findAncestor(node, isJsxExpression)) {\n        const returnStatement = findAncestor(node.parent, isReturnStatement);\n        if (returnStatement)\n          return returnStatement;\n      }\n      return getSourceFileOfNode(node);\n    }\n    var fixMissingMember, fixMissingProperties, fixMissingAttributes, fixMissingFunctionDeclaration, errorCodes26;\n    var init_fixAddMissingMember = __esm({\n      \"src/services/codefixes/fixAddMissingMember.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixMissingMember = \"fixMissingMember\";\n        fixMissingProperties = \"fixMissingProperties\";\n        fixMissingAttributes = \"fixMissingAttributes\";\n        fixMissingFunctionDeclaration = \"fixMissingFunctionDeclaration\";\n        errorCodes26 = [\n          Diagnostics.Property_0_does_not_exist_on_type_1.code,\n          Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,\n          Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,\n          Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,\n          Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,\n          Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n          Diagnostics.Cannot_find_name_0.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes26,\n          getCodeActions(context) {\n            const typeChecker = context.program.getTypeChecker();\n            const info = getInfo7(context.sourceFile, context.span.start, context.errorCode, typeChecker, context.program);\n            if (!info) {\n              return void 0;\n            }\n            if (info.kind === 3) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addObjectLiteralProperties(t, context, info));\n              return [createCodeFixAction(fixMissingProperties, changes, Diagnostics.Add_missing_properties, fixMissingProperties, Diagnostics.Add_all_missing_properties)];\n            }\n            if (info.kind === 4) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addJsxAttributes(t, context, info));\n              return [createCodeFixAction(fixMissingAttributes, changes, Diagnostics.Add_missing_attributes, fixMissingAttributes, Diagnostics.Add_all_missing_attributes)];\n            }\n            if (info.kind === 2 || info.kind === 5) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addFunctionDeclaration(t, context, info));\n              return [createCodeFixAction(fixMissingFunctionDeclaration, changes, [Diagnostics.Add_missing_function_declaration_0, info.token.text], fixMissingFunctionDeclaration, Diagnostics.Add_all_missing_function_declarations)];\n            }\n            if (info.kind === 1) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addEnumMemberDeclaration(t, context.program.getTypeChecker(), info));\n              return [createCodeFixAction(fixMissingMember, changes, [Diagnostics.Add_missing_enum_member_0, info.token.text], fixMissingMember, Diagnostics.Add_all_missing_members)];\n            }\n            return concatenate(getActionsForMissingMethodDeclaration(context, info), getActionsForMissingMemberDeclaration(context, info));\n          },\n          fixIds: [fixMissingMember, fixMissingFunctionDeclaration, fixMissingProperties, fixMissingAttributes],\n          getAllCodeActions: (context) => {\n            const { program, fixId: fixId51 } = context;\n            const checker = program.getTypeChecker();\n            const seen = /* @__PURE__ */ new Map();\n            const typeDeclToMembers = /* @__PURE__ */ new Map();\n            return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n              eachDiagnostic(context, errorCodes26, (diag2) => {\n                const info = getInfo7(diag2.file, diag2.start, diag2.code, checker, context.program);\n                if (!info || !addToSeen(seen, getNodeId(info.parentDeclaration) + \"#\" + info.token.text)) {\n                  return;\n                }\n                if (fixId51 === fixMissingFunctionDeclaration && (info.kind === 2 || info.kind === 5)) {\n                  addFunctionDeclaration(changes, context, info);\n                } else if (fixId51 === fixMissingProperties && info.kind === 3) {\n                  addObjectLiteralProperties(changes, context, info);\n                } else if (fixId51 === fixMissingAttributes && info.kind === 4) {\n                  addJsxAttributes(changes, context, info);\n                } else {\n                  if (info.kind === 1) {\n                    addEnumMemberDeclaration(changes, checker, info);\n                  }\n                  if (info.kind === 0) {\n                    const { parentDeclaration, token } = info;\n                    const infos = getOrUpdate(typeDeclToMembers, parentDeclaration, () => []);\n                    if (!infos.some((i) => i.token.text === token.text)) {\n                      infos.push(info);\n                    }\n                  }\n                }\n              });\n              typeDeclToMembers.forEach((infos, declaration) => {\n                const supers = isTypeLiteralNode(declaration) ? void 0 : getAllSupers(declaration, checker);\n                for (const info of infos) {\n                  if (supers == null ? void 0 : supers.some((superClassOrInterface) => {\n                    const superInfos = typeDeclToMembers.get(superClassOrInterface);\n                    return !!superInfos && superInfos.some(({ token: token2 }) => token2.text === info.token.text);\n                  }))\n                    continue;\n                  const { parentDeclaration, declSourceFile, modifierFlags, token, call, isJSFile } = info;\n                  if (call && !isPrivateIdentifier(token)) {\n                    addMethodDeclaration(context, changes, call, token, modifierFlags & 32, parentDeclaration, declSourceFile);\n                  } else {\n                    if (isJSFile && !isInterfaceDeclaration(parentDeclaration) && !isTypeLiteralNode(parentDeclaration)) {\n                      addMissingMemberInJs(changes, declSourceFile, parentDeclaration, token, !!(modifierFlags & 32));\n                    } else {\n                      const typeNode = getTypeNode2(checker, parentDeclaration, token);\n                      addPropertyDeclaration(\n                        changes,\n                        declSourceFile,\n                        parentDeclaration,\n                        token.text,\n                        typeNode,\n                        modifierFlags & 32\n                        /* Static */\n                      );\n                    }\n                  }\n                }\n              });\n            }));\n          }\n        });\n      }\n    });\n    function addMissingNewOperator(changes, sourceFile, span) {\n      const call = cast(findAncestorMatchingSpan2(sourceFile, span), isCallExpression);\n      const newExpression = factory.createNewExpression(call.expression, call.typeArguments, call.arguments);\n      changes.replaceNode(sourceFile, call, newExpression);\n    }\n    function findAncestorMatchingSpan2(sourceFile, span) {\n      let token = getTokenAtPosition(sourceFile, span.start);\n      const end = textSpanEnd(span);\n      while (token.end < end) {\n        token = token.parent;\n      }\n      return token;\n    }\n    var fixId23, errorCodes27;\n    var init_fixAddMissingNewOperator = __esm({\n      \"src/services/codefixes/fixAddMissingNewOperator.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId23 = \"addMissingNewOperator\";\n        errorCodes27 = [Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];\n        registerCodeFix({\n          errorCodes: errorCodes27,\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingNewOperator(t, sourceFile, span));\n            return [createCodeFixAction(fixId23, changes, Diagnostics.Add_missing_new_operator_to_call, fixId23, Diagnostics.Add_missing_new_operator_to_all_calls)];\n          },\n          fixIds: [fixId23],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes27, (changes, diag2) => addMissingNewOperator(changes, context.sourceFile, diag2))\n        });\n      }\n    });\n    function getInstallCommand(fileName, packageName) {\n      return { type: \"install package\", file: fileName, packageName };\n    }\n    function tryGetImportedPackageName(sourceFile, pos) {\n      const moduleSpecifierText = tryCast(getTokenAtPosition(sourceFile, pos), isStringLiteral);\n      if (!moduleSpecifierText)\n        return void 0;\n      const moduleName = moduleSpecifierText.text;\n      const { packageName } = parsePackageName(moduleName);\n      return isExternalModuleNameRelative(packageName) ? void 0 : packageName;\n    }\n    function getTypesPackageNameToInstall(packageName, host, diagCode) {\n      var _a22;\n      return diagCode === errorCodeCannotFindModule ? ts_JsTyping_exports.nodeCoreModules.has(packageName) ? \"@types/node\" : void 0 : ((_a22 = host.isKnownTypesPackageName) == null ? void 0 : _a22.call(host, packageName)) ? getTypesPackageName(packageName) : void 0;\n    }\n    var fixName2, fixIdInstallTypesPackage, errorCodeCannotFindModule, errorCodes28;\n    var init_fixCannotFindModule = __esm({\n      \"src/services/codefixes/fixCannotFindModule.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName2 = \"fixCannotFindModule\";\n        fixIdInstallTypesPackage = \"installTypesPackage\";\n        errorCodeCannotFindModule = Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code;\n        errorCodes28 = [\n          errorCodeCannotFindModule,\n          Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes28,\n          getCodeActions: function getCodeActionsToFixNotFoundModule(context) {\n            const { host, sourceFile, span: { start } } = context;\n            const packageName = tryGetImportedPackageName(sourceFile, start);\n            if (packageName === void 0)\n              return void 0;\n            const typesPackageName = getTypesPackageNameToInstall(packageName, host, context.errorCode);\n            return typesPackageName === void 0 ? [] : [createCodeFixAction(\n              fixName2,\n              /*changes*/\n              [],\n              [Diagnostics.Install_0, typesPackageName],\n              fixIdInstallTypesPackage,\n              Diagnostics.Install_all_missing_types_packages,\n              getInstallCommand(sourceFile.fileName, typesPackageName)\n            )];\n          },\n          fixIds: [fixIdInstallTypesPackage],\n          getAllCodeActions: (context) => {\n            return codeFixAll(context, errorCodes28, (_changes, diag2, commands) => {\n              const packageName = tryGetImportedPackageName(diag2.file, diag2.start);\n              if (packageName === void 0)\n                return void 0;\n              switch (context.fixId) {\n                case fixIdInstallTypesPackage: {\n                  const pkg = getTypesPackageNameToInstall(packageName, context.host, diag2.code);\n                  if (pkg) {\n                    commands.push(getInstallCommand(diag2.file.fileName, pkg));\n                  }\n                  break;\n                }\n                default:\n                  Debug2.fail(`Bad fixId: ${context.fixId}`);\n              }\n            });\n          }\n        });\n      }\n    });\n    function getClass2(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      return cast(token.parent, isClassLike);\n    }\n    function addMissingMembers(classDeclaration, sourceFile, context, changeTracker, preferences) {\n      const extendsNode = getEffectiveBaseTypeNode(classDeclaration);\n      const checker = context.program.getTypeChecker();\n      const instantiatedExtendsType = checker.getTypeAtLocation(extendsNode);\n      const abstractAndNonPrivateExtendsSymbols = checker.getPropertiesOfType(instantiatedExtendsType).filter(symbolPointsToNonPrivateAndAbstractMember);\n      const importAdder = createImportAdder(sourceFile, context.program, preferences, context.host);\n      createMissingMemberNodes(classDeclaration, abstractAndNonPrivateExtendsSymbols, sourceFile, context, preferences, importAdder, (member) => changeTracker.insertMemberAtStart(sourceFile, classDeclaration, member));\n      importAdder.writeFixes(changeTracker);\n    }\n    function symbolPointsToNonPrivateAndAbstractMember(symbol) {\n      const flags = getSyntacticModifierFlags(first(symbol.getDeclarations()));\n      return !(flags & 8) && !!(flags & 256);\n    }\n    var errorCodes29, fixId24;\n    var init_fixClassDoesntImplementInheritedAbstractMember = __esm({\n      \"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        errorCodes29 = [\n          Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,\n          Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code\n        ];\n        fixId24 = \"fixClassDoesntImplementInheritedAbstractMember\";\n        registerCodeFix({\n          errorCodes: errorCodes29,\n          getCodeActions: function getCodeActionsToFixClassNotImplementingInheritedMembers(context) {\n            const { sourceFile, span } = context;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingMembers(getClass2(sourceFile, span.start), sourceFile, context, t, context.preferences));\n            return changes.length === 0 ? void 0 : [createCodeFixAction(fixId24, changes, Diagnostics.Implement_inherited_abstract_class, fixId24, Diagnostics.Implement_all_inherited_abstract_classes)];\n          },\n          fixIds: [fixId24],\n          getAllCodeActions: function getAllCodeActionsToFixClassDoesntImplementInheritedAbstractMember(context) {\n            const seenClassDeclarations = /* @__PURE__ */ new Map();\n            return codeFixAll(context, errorCodes29, (changes, diag2) => {\n              const classDeclaration = getClass2(diag2.file, diag2.start);\n              if (addToSeen(seenClassDeclarations, getNodeId(classDeclaration))) {\n                addMissingMembers(classDeclaration, context.sourceFile, context, changes, context.preferences);\n              }\n            });\n          }\n        });\n      }\n    });\n    function doChange11(changes, sourceFile, constructor, superCall) {\n      changes.insertNodeAtConstructorStart(sourceFile, constructor, superCall);\n      changes.delete(sourceFile, superCall);\n    }\n    function getNodes(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (token.kind !== 108)\n        return void 0;\n      const constructor = getContainingFunction(token);\n      const superCall = findSuperCall(constructor.body);\n      return superCall && !superCall.expression.arguments.some((arg) => isPropertyAccessExpression(arg) && arg.expression === token) ? { constructor, superCall } : void 0;\n    }\n    function findSuperCall(n) {\n      return isExpressionStatement(n) && isSuperCall(n.expression) ? n : isFunctionLike(n) ? void 0 : forEachChild(n, findSuperCall);\n    }\n    var fixId25, errorCodes30;\n    var init_fixClassSuperMustPrecedeThisAccess = __esm({\n      \"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId25 = \"classSuperMustPrecedeThisAccess\";\n        errorCodes30 = [Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];\n        registerCodeFix({\n          errorCodes: errorCodes30,\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const nodes = getNodes(sourceFile, span.start);\n            if (!nodes)\n              return void 0;\n            const { constructor, superCall } = nodes;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange11(t, sourceFile, constructor, superCall));\n            return [createCodeFixAction(fixId25, changes, Diagnostics.Make_super_call_the_first_statement_in_the_constructor, fixId25, Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)];\n          },\n          fixIds: [fixId25],\n          getAllCodeActions(context) {\n            const { sourceFile } = context;\n            const seenClasses = /* @__PURE__ */ new Map();\n            return codeFixAll(context, errorCodes30, (changes, diag2) => {\n              const nodes = getNodes(diag2.file, diag2.start);\n              if (!nodes)\n                return;\n              const { constructor, superCall } = nodes;\n              if (addToSeen(seenClasses, getNodeId(constructor.parent))) {\n                doChange11(changes, sourceFile, constructor, superCall);\n              }\n            });\n          }\n        });\n      }\n    });\n    function getNode(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      Debug2.assert(isConstructorDeclaration(token.parent), \"token should be at the constructor declaration\");\n      return token.parent;\n    }\n    function doChange12(changes, sourceFile, ctr) {\n      const superCall = factory.createExpressionStatement(factory.createCallExpression(\n        factory.createSuper(),\n        /*typeArguments*/\n        void 0,\n        /*argumentsArray*/\n        emptyArray\n      ));\n      changes.insertNodeAtConstructorStart(sourceFile, ctr, superCall);\n    }\n    var fixId26, errorCodes31;\n    var init_fixConstructorForDerivedNeedSuperCall = __esm({\n      \"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId26 = \"constructorForDerivedNeedSuperCall\";\n        errorCodes31 = [Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];\n        registerCodeFix({\n          errorCodes: errorCodes31,\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const ctr = getNode(sourceFile, span.start);\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange12(t, sourceFile, ctr));\n            return [createCodeFixAction(fixId26, changes, Diagnostics.Add_missing_super_call, fixId26, Diagnostics.Add_all_missing_super_calls)];\n          },\n          fixIds: [fixId26],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes31, (changes, diag2) => doChange12(changes, context.sourceFile, getNode(diag2.file, diag2.start)))\n        });\n      }\n    });\n    function doChange13(changeTracker, configFile) {\n      setJsonCompilerOptionValue(changeTracker, configFile, \"jsx\", factory.createStringLiteral(\"react\"));\n    }\n    var fixID, errorCodes32;\n    var init_fixEnableJsxFlag = __esm({\n      \"src/services/codefixes/fixEnableJsxFlag.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixID = \"fixEnableJsxFlag\";\n        errorCodes32 = [Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];\n        registerCodeFix({\n          errorCodes: errorCodes32,\n          getCodeActions: function getCodeActionsToFixEnableJsxFlag(context) {\n            const { configFile } = context.program.getCompilerOptions();\n            if (configFile === void 0) {\n              return void 0;\n            }\n            const changes = ts_textChanges_exports.ChangeTracker.with(\n              context,\n              (changeTracker) => doChange13(changeTracker, configFile)\n            );\n            return [\n              createCodeFixActionWithoutFixAll(fixID, changes, Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)\n            ];\n          },\n          fixIds: [fixID],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes32, (changes) => {\n            const { configFile } = context.program.getCompilerOptions();\n            if (configFile === void 0) {\n              return void 0;\n            }\n            doChange13(changes, configFile);\n          })\n        });\n      }\n    });\n    function getInfo8(program, sourceFile, span) {\n      const diag2 = find(program.getSemanticDiagnostics(sourceFile), (diag3) => diag3.start === span.start && diag3.length === span.length);\n      if (diag2 === void 0 || diag2.relatedInformation === void 0)\n        return;\n      const related = find(diag2.relatedInformation, (related2) => related2.code === Diagnostics.Did_you_mean_0.code);\n      if (related === void 0 || related.file === void 0 || related.start === void 0 || related.length === void 0)\n        return;\n      const token = findAncestorMatchingSpan(related.file, createTextSpan(related.start, related.length));\n      if (token === void 0)\n        return;\n      if (isExpression(token) && isBinaryExpression(token.parent)) {\n        return { suggestion: getSuggestion(related.messageText), expression: token.parent, arg: token };\n      }\n      return void 0;\n    }\n    function doChange14(changes, sourceFile, arg, expression) {\n      const callExpression = factory.createCallExpression(\n        factory.createPropertyAccessExpression(factory.createIdentifier(\"Number\"), factory.createIdentifier(\"isNaN\")),\n        /*typeArguments*/\n        void 0,\n        [arg]\n      );\n      const operator = expression.operatorToken.kind;\n      changes.replaceNode(\n        sourceFile,\n        expression,\n        operator === 37 || operator === 35 ? factory.createPrefixUnaryExpression(53, callExpression) : callExpression\n      );\n    }\n    function getSuggestion(messageText) {\n      const [_, suggestion] = flattenDiagnosticMessageText2(messageText, \"\\n\", 0).match(/\\'(.*)\\'/) || [];\n      return suggestion;\n    }\n    var fixId27, errorCodes33;\n    var init_fixNaNEquality = __esm({\n      \"src/services/codefixes/fixNaNEquality.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId27 = \"fixNaNEquality\";\n        errorCodes33 = [\n          Diagnostics.This_condition_will_always_return_0.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes33,\n          getCodeActions(context) {\n            const { sourceFile, span, program } = context;\n            const info = getInfo8(program, sourceFile, span);\n            if (info === void 0)\n              return;\n            const { suggestion, expression, arg } = info;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange14(t, sourceFile, arg, expression));\n            return [createCodeFixAction(fixId27, changes, [Diagnostics.Use_0, suggestion], fixId27, Diagnostics.Use_Number_isNaN_in_all_conditions)];\n          },\n          fixIds: [fixId27],\n          getAllCodeActions: (context) => {\n            return codeFixAll(context, errorCodes33, (changes, diag2) => {\n              const info = getInfo8(context.program, diag2.file, createTextSpan(diag2.start, diag2.length));\n              if (info) {\n                doChange14(changes, diag2.file, info.arg, info.expression);\n              }\n            });\n          }\n        });\n      }\n    });\n    var init_fixModuleAndTargetOptions = __esm({\n      \"src/services/codefixes/fixModuleAndTargetOptions.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        registerCodeFix({\n          errorCodes: [\n            Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,\n            Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code\n          ],\n          getCodeActions: function getCodeActionsToFixModuleAndTarget(context) {\n            const compilerOptions = context.program.getCompilerOptions();\n            const { configFile } = compilerOptions;\n            if (configFile === void 0) {\n              return void 0;\n            }\n            const codeFixes = [];\n            const moduleKind = getEmitModuleKind(compilerOptions);\n            const moduleOutOfRange = moduleKind >= 5 && moduleKind < 99;\n            if (moduleOutOfRange) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n                setJsonCompilerOptionValue(changes2, configFile, \"module\", factory.createStringLiteral(\"esnext\"));\n              });\n              codeFixes.push(createCodeFixActionWithoutFixAll(\"fixModuleOption\", changes, [Diagnostics.Set_the_module_option_in_your_configuration_file_to_0, \"esnext\"]));\n            }\n            const target = getEmitScriptTarget(compilerOptions);\n            const targetOutOfRange = target < 4 || target > 99;\n            if (targetOutOfRange) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (tracker) => {\n                const configObject = getTsConfigObjectLiteralExpression(configFile);\n                if (!configObject)\n                  return;\n                const options = [[\"target\", factory.createStringLiteral(\"es2017\")]];\n                if (moduleKind === 1) {\n                  options.push([\"module\", factory.createStringLiteral(\"commonjs\")]);\n                }\n                setJsonCompilerOptionValues(tracker, configFile, options);\n              });\n              codeFixes.push(createCodeFixActionWithoutFixAll(\"fixTargetOption\", changes, [Diagnostics.Set_the_target_option_in_your_configuration_file_to_0, \"es2017\"]));\n            }\n            return codeFixes.length ? codeFixes : void 0;\n          }\n        });\n      }\n    });\n    function doChange15(changes, sourceFile, node) {\n      changes.replaceNode(sourceFile, node, factory.createPropertyAssignment(node.name, node.objectAssignmentInitializer));\n    }\n    function getProperty2(sourceFile, pos) {\n      return cast(getTokenAtPosition(sourceFile, pos).parent, isShorthandPropertyAssignment);\n    }\n    var fixId28, errorCodes34;\n    var init_fixPropertyAssignment = __esm({\n      \"src/services/codefixes/fixPropertyAssignment.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId28 = \"fixPropertyAssignment\";\n        errorCodes34 = [\n          Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes34,\n          fixIds: [fixId28],\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const property = getProperty2(sourceFile, span.start);\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange15(t, context.sourceFile, property));\n            return [createCodeFixAction(fixId28, changes, [Diagnostics.Change_0_to_1, \"=\", \":\"], fixId28, [Diagnostics.Switch_each_misused_0_to_1, \"=\", \":\"])];\n          },\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes34, (changes, diag2) => doChange15(changes, diag2.file, getProperty2(diag2.file, diag2.start)))\n        });\n      }\n    });\n    function getNodes2(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      const heritageClauses = getContainingClass(token).heritageClauses;\n      const extendsToken = heritageClauses[0].getFirstToken();\n      return extendsToken.kind === 94 ? { extendsToken, heritageClauses } : void 0;\n    }\n    function doChanges2(changes, sourceFile, extendsToken, heritageClauses) {\n      changes.replaceNode(sourceFile, extendsToken, factory.createToken(\n        117\n        /* ImplementsKeyword */\n      ));\n      if (heritageClauses.length === 2 && heritageClauses[0].token === 94 && heritageClauses[1].token === 117) {\n        const implementsToken = heritageClauses[1].getFirstToken();\n        const implementsFullStart = implementsToken.getFullStart();\n        changes.replaceRange(sourceFile, { pos: implementsFullStart, end: implementsFullStart }, factory.createToken(\n          27\n          /* CommaToken */\n        ));\n        const text = sourceFile.text;\n        let end = implementsToken.end;\n        while (end < text.length && isWhiteSpaceSingleLine(text.charCodeAt(end))) {\n          end++;\n        }\n        changes.deleteRange(sourceFile, { pos: implementsToken.getStart(), end });\n      }\n    }\n    var fixId29, errorCodes35;\n    var init_fixExtendsInterfaceBecomesImplements = __esm({\n      \"src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId29 = \"extendsInterfaceBecomesImplements\";\n        errorCodes35 = [Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];\n        registerCodeFix({\n          errorCodes: errorCodes35,\n          getCodeActions(context) {\n            const { sourceFile } = context;\n            const nodes = getNodes2(sourceFile, context.span.start);\n            if (!nodes)\n              return void 0;\n            const { extendsToken, heritageClauses } = nodes;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChanges2(t, sourceFile, extendsToken, heritageClauses));\n            return [createCodeFixAction(fixId29, changes, Diagnostics.Change_extends_to_implements, fixId29, Diagnostics.Change_all_extended_interfaces_to_implements)];\n          },\n          fixIds: [fixId29],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes35, (changes, diag2) => {\n            const nodes = getNodes2(diag2.file, diag2.start);\n            if (nodes)\n              doChanges2(changes, diag2.file, nodes.extendsToken, nodes.heritageClauses);\n          })\n        });\n      }\n    });\n    function getInfo9(sourceFile, pos, diagCode) {\n      const node = getTokenAtPosition(sourceFile, pos);\n      if (isIdentifier(node) || isPrivateIdentifier(node)) {\n        return { node, className: diagCode === didYouMeanStaticMemberCode ? getContainingClass(node).name.text : void 0 };\n      }\n    }\n    function doChange16(changes, sourceFile, { node, className }) {\n      suppressLeadingAndTrailingTrivia(node);\n      changes.replaceNode(sourceFile, node, factory.createPropertyAccessExpression(className ? factory.createIdentifier(className) : factory.createThis(), node));\n    }\n    var fixId30, didYouMeanStaticMemberCode, errorCodes36;\n    var init_fixForgottenThisPropertyAccess = __esm({\n      \"src/services/codefixes/fixForgottenThisPropertyAccess.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId30 = \"forgottenThisPropertyAccess\";\n        didYouMeanStaticMemberCode = Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code;\n        errorCodes36 = [\n          Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,\n          Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,\n          didYouMeanStaticMemberCode\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes36,\n          getCodeActions(context) {\n            const { sourceFile } = context;\n            const info = getInfo9(sourceFile, context.span.start, context.errorCode);\n            if (!info) {\n              return void 0;\n            }\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange16(t, sourceFile, info));\n            return [createCodeFixAction(fixId30, changes, [Diagnostics.Add_0_to_unresolved_variable, info.className || \"this\"], fixId30, Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)];\n          },\n          fixIds: [fixId30],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes36, (changes, diag2) => {\n            const info = getInfo9(diag2.file, diag2.start, diag2.code);\n            if (info)\n              doChange16(changes, context.sourceFile, info);\n          })\n        });\n      }\n    });\n    function isValidCharacter(character) {\n      return hasProperty(htmlEntity, character);\n    }\n    function doChange17(changes, preferences, sourceFile, start, useHtmlEntity) {\n      const character = sourceFile.getText()[start];\n      if (!isValidCharacter(character)) {\n        return;\n      }\n      const replacement = useHtmlEntity ? htmlEntity[character] : `{${quote(sourceFile, preferences, character)}}`;\n      changes.replaceRangeWithText(sourceFile, { pos: start, end: start + 1 }, replacement);\n    }\n    var fixIdExpression, fixIdHtmlEntity, errorCodes37, htmlEntity;\n    var init_fixInvalidJsxCharacters = __esm({\n      \"src/services/codefixes/fixInvalidJsxCharacters.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixIdExpression = \"fixInvalidJsxCharacters_expression\";\n        fixIdHtmlEntity = \"fixInvalidJsxCharacters_htmlEntity\";\n        errorCodes37 = [\n          Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,\n          Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes37,\n          fixIds: [fixIdExpression, fixIdHtmlEntity],\n          getCodeActions(context) {\n            const { sourceFile, preferences, span } = context;\n            const changeToExpression = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange17(\n              t,\n              preferences,\n              sourceFile,\n              span.start,\n              /* useHtmlEntity */\n              false\n            ));\n            const changeToHtmlEntity = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange17(\n              t,\n              preferences,\n              sourceFile,\n              span.start,\n              /* useHtmlEntity */\n              true\n            ));\n            return [\n              createCodeFixAction(fixIdExpression, changeToExpression, Diagnostics.Wrap_invalid_character_in_an_expression_container, fixIdExpression, Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),\n              createCodeFixAction(fixIdHtmlEntity, changeToHtmlEntity, Diagnostics.Convert_invalid_character_to_its_html_entity_code, fixIdHtmlEntity, Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)\n            ];\n          },\n          getAllCodeActions(context) {\n            return codeFixAll(context, errorCodes37, (changes, diagnostic) => doChange17(changes, context.preferences, diagnostic.file, diagnostic.start, context.fixId === fixIdHtmlEntity));\n          }\n        });\n        htmlEntity = {\n          \">\": \"&gt;\",\n          \"}\": \"&rbrace;\"\n        };\n      }\n    });\n    function getDeleteAction(context, { name, jsDocHost, jsDocParameterTag }) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (changeTracker) => changeTracker.filterJSDocTags(context.sourceFile, jsDocHost, (t) => t !== jsDocParameterTag));\n      return createCodeFixAction(\n        deleteUnmatchedParameter,\n        changes,\n        [Diagnostics.Delete_unused_param_tag_0, name.getText(context.sourceFile)],\n        deleteUnmatchedParameter,\n        Diagnostics.Delete_all_unused_param_tags\n      );\n    }\n    function getRenameAction(context, { name, jsDocHost, signature, jsDocParameterTag }) {\n      if (!length(signature.parameters))\n        return void 0;\n      const sourceFile = context.sourceFile;\n      const tags = getJSDocTags(signature);\n      const names = /* @__PURE__ */ new Set();\n      for (const tag of tags) {\n        if (isJSDocParameterTag(tag) && isIdentifier(tag.name)) {\n          names.add(tag.name.escapedText);\n        }\n      }\n      const parameterName = firstDefined(signature.parameters, (p) => isIdentifier(p.name) && !names.has(p.name.escapedText) ? p.name.getText(sourceFile) : void 0);\n      if (parameterName === void 0)\n        return void 0;\n      const newJSDocParameterTag = factory.updateJSDocParameterTag(\n        jsDocParameterTag,\n        jsDocParameterTag.tagName,\n        factory.createIdentifier(parameterName),\n        jsDocParameterTag.isBracketed,\n        jsDocParameterTag.typeExpression,\n        jsDocParameterTag.isNameFirst,\n        jsDocParameterTag.comment\n      );\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (changeTracker) => changeTracker.replaceJSDocComment(sourceFile, jsDocHost, map(tags, (t) => t === jsDocParameterTag ? newJSDocParameterTag : t)));\n      return createCodeFixActionWithoutFixAll(renameUnmatchedParameter, changes, [Diagnostics.Rename_param_tag_name_0_to_1, name.getText(sourceFile), parameterName]);\n    }\n    function getInfo10(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (token.parent && isJSDocParameterTag(token.parent) && isIdentifier(token.parent.name)) {\n        const jsDocParameterTag = token.parent;\n        const jsDocHost = getJSDocHost(jsDocParameterTag);\n        const signature = getHostSignatureFromJSDoc(jsDocParameterTag);\n        if (jsDocHost && signature) {\n          return { jsDocHost, signature, name: token.parent.name, jsDocParameterTag };\n        }\n      }\n      return void 0;\n    }\n    var deleteUnmatchedParameter, renameUnmatchedParameter, errorCodes38;\n    var init_fixUnmatchedParameter = __esm({\n      \"src/services/codefixes/fixUnmatchedParameter.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        deleteUnmatchedParameter = \"deleteUnmatchedParameter\";\n        renameUnmatchedParameter = \"renameUnmatchedParameter\";\n        errorCodes38 = [\n          Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code\n        ];\n        registerCodeFix({\n          fixIds: [deleteUnmatchedParameter, renameUnmatchedParameter],\n          errorCodes: errorCodes38,\n          getCodeActions: function getCodeActionsToFixUnmatchedParameter(context) {\n            const { sourceFile, span } = context;\n            const actions2 = [];\n            const info = getInfo10(sourceFile, span.start);\n            if (info) {\n              append(actions2, getDeleteAction(context, info));\n              append(actions2, getRenameAction(context, info));\n              return actions2;\n            }\n            return void 0;\n          },\n          getAllCodeActions: function getAllCodeActionsToFixUnmatchedParameter(context) {\n            const tagsToSignature = /* @__PURE__ */ new Map();\n            return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n              eachDiagnostic(context, errorCodes38, ({ file, start }) => {\n                const info = getInfo10(file, start);\n                if (info) {\n                  tagsToSignature.set(info.signature, append(tagsToSignature.get(info.signature), info.jsDocParameterTag));\n                }\n              });\n              tagsToSignature.forEach((tags, signature) => {\n                if (context.fixId === deleteUnmatchedParameter) {\n                  const tagsSet = new Set(tags);\n                  changes.filterJSDocTags(signature.getSourceFile(), signature, (t) => !tagsSet.has(t));\n                }\n              });\n            }));\n          }\n        });\n      }\n    });\n    function getImportDeclaration(sourceFile, program, start) {\n      const identifier = tryCast(getTokenAtPosition(sourceFile, start), isIdentifier);\n      if (!identifier || identifier.parent.kind !== 180)\n        return;\n      const checker = program.getTypeChecker();\n      const symbol = checker.getSymbolAtLocation(identifier);\n      return find((symbol == null ? void 0 : symbol.declarations) || emptyArray, or(isImportClause, isImportSpecifier, isImportEqualsDeclaration));\n    }\n    function doTypeOnlyImportChange(changes, sourceFile, importDeclaration, program) {\n      if (importDeclaration.kind === 268) {\n        changes.insertModifierBefore(sourceFile, 154, importDeclaration.name);\n        return;\n      }\n      const importClause = importDeclaration.kind === 270 ? importDeclaration : importDeclaration.parent.parent;\n      if (importClause.name && importClause.namedBindings) {\n        return;\n      }\n      const checker = program.getTypeChecker();\n      const importsValue = !!forEachImportClauseDeclaration(importClause, (decl) => {\n        if (skipAlias(decl.symbol, checker).flags & 111551)\n          return true;\n      });\n      if (importsValue) {\n        return;\n      }\n      changes.insertModifierBefore(sourceFile, 154, importClause);\n    }\n    function doNamespaceImportChange(changes, sourceFile, importDeclaration, program) {\n      ts_refactor_exports.doChangeNamedToNamespaceOrDefault(sourceFile, program, changes, importDeclaration.parent);\n    }\n    var fixId31, errorCodes39;\n    var init_fixUnreferenceableDecoratorMetadata = __esm({\n      \"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId31 = \"fixUnreferenceableDecoratorMetadata\";\n        errorCodes39 = [Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code];\n        registerCodeFix({\n          errorCodes: errorCodes39,\n          getCodeActions: (context) => {\n            const importDeclaration = getImportDeclaration(context.sourceFile, context.program, context.span.start);\n            if (!importDeclaration)\n              return;\n            const namespaceChanges = ts_textChanges_exports.ChangeTracker.with(context, (t) => importDeclaration.kind === 273 && doNamespaceImportChange(t, context.sourceFile, importDeclaration, context.program));\n            const typeOnlyChanges = ts_textChanges_exports.ChangeTracker.with(context, (t) => doTypeOnlyImportChange(t, context.sourceFile, importDeclaration, context.program));\n            let actions2;\n            if (namespaceChanges.length) {\n              actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId31, namespaceChanges, Diagnostics.Convert_named_imports_to_namespace_import));\n            }\n            if (typeOnlyChanges.length) {\n              actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId31, typeOnlyChanges, Diagnostics.Convert_to_type_only_import));\n            }\n            return actions2;\n          },\n          fixIds: [fixId31]\n        });\n      }\n    });\n    function changeInferToUnknown(changes, sourceFile, token) {\n      changes.replaceNode(sourceFile, token.parent, factory.createKeywordTypeNode(\n        157\n        /* UnknownKeyword */\n      ));\n    }\n    function createDeleteFix(changes, diag2) {\n      return createCodeFixAction(fixName3, changes, diag2, fixIdDelete, Diagnostics.Delete_all_unused_declarations);\n    }\n    function deleteTypeParameters(changes, sourceFile, token) {\n      changes.delete(sourceFile, Debug2.checkDefined(cast(token.parent, isDeclarationWithTypeParameterChildren).typeParameters, \"The type parameter to delete should exist\"));\n    }\n    function isImport(token) {\n      return token.kind === 100 || token.kind === 79 && (token.parent.kind === 273 || token.parent.kind === 270);\n    }\n    function tryGetFullImport(token) {\n      return token.kind === 100 ? tryCast(token.parent, isImportDeclaration) : void 0;\n    }\n    function canDeleteEntireVariableStatement(sourceFile, token) {\n      return isVariableDeclarationList(token.parent) && first(token.parent.getChildren(sourceFile)) === token;\n    }\n    function deleteEntireVariableStatement(changes, sourceFile, node) {\n      changes.delete(sourceFile, node.parent.kind === 240 ? node.parent : node);\n    }\n    function deleteDestructuringElements(changes, sourceFile, node) {\n      forEach(node.elements, (n) => changes.delete(sourceFile, n));\n    }\n    function tryPrefixDeclaration(changes, errorCode, sourceFile, token) {\n      if (errorCode === Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)\n        return;\n      if (token.kind === 138) {\n        token = cast(token.parent, isInferTypeNode).typeParameter.name;\n      }\n      if (isIdentifier(token) && canPrefix(token)) {\n        changes.replaceNode(sourceFile, token, factory.createIdentifier(`_${token.text}`));\n        if (isParameter(token.parent)) {\n          getJSDocParameterTags(token.parent).forEach((tag) => {\n            if (isIdentifier(tag.name)) {\n              changes.replaceNode(sourceFile, tag.name, factory.createIdentifier(`_${tag.name.text}`));\n            }\n          });\n        }\n      }\n    }\n    function canPrefix(token) {\n      switch (token.parent.kind) {\n        case 166:\n        case 165:\n          return true;\n        case 257: {\n          const varDecl = token.parent;\n          switch (varDecl.parent.parent.kind) {\n            case 247:\n            case 246:\n              return true;\n          }\n        }\n      }\n      return false;\n    }\n    function tryDeleteDeclaration(sourceFile, token, changes, checker, sourceFiles, program, cancellationToken, isFixAll) {\n      tryDeleteDeclarationWorker(token, changes, sourceFile, checker, sourceFiles, program, cancellationToken, isFixAll);\n      if (isIdentifier(token)) {\n        ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(token, checker, sourceFile, (ref) => {\n          if (isPropertyAccessExpression(ref.parent) && ref.parent.name === ref)\n            ref = ref.parent;\n          if (!isFixAll && mayDeleteExpression(ref)) {\n            changes.delete(sourceFile, ref.parent.parent);\n          }\n        });\n      }\n    }\n    function tryDeleteDeclarationWorker(token, changes, sourceFile, checker, sourceFiles, program, cancellationToken, isFixAll) {\n      const { parent: parent2 } = token;\n      if (isParameter(parent2)) {\n        tryDeleteParameter(changes, sourceFile, parent2, checker, sourceFiles, program, cancellationToken, isFixAll);\n      } else if (!(isFixAll && isIdentifier(token) && ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(token, checker, sourceFile))) {\n        const node = isImportClause(parent2) ? token : isComputedPropertyName(parent2) ? parent2.parent : parent2;\n        Debug2.assert(node !== sourceFile, \"should not delete whole source file\");\n        changes.delete(sourceFile, node);\n      }\n    }\n    function tryDeleteParameter(changes, sourceFile, parameter, checker, sourceFiles, program, cancellationToken, isFixAll = false) {\n      if (mayDeleteParameter(checker, sourceFile, parameter, sourceFiles, program, cancellationToken, isFixAll)) {\n        if (parameter.modifiers && parameter.modifiers.length > 0 && (!isIdentifier(parameter.name) || ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(parameter.name, checker, sourceFile))) {\n          for (const modifier of parameter.modifiers) {\n            if (isModifier(modifier)) {\n              changes.deleteModifier(sourceFile, modifier);\n            }\n          }\n        } else if (!parameter.initializer && isNotProvidedArguments(parameter, checker, sourceFiles)) {\n          changes.delete(sourceFile, parameter);\n        }\n      }\n    }\n    function isNotProvidedArguments(parameter, checker, sourceFiles) {\n      const index = parameter.parent.parameters.indexOf(parameter);\n      return !ts_FindAllReferences_exports.Core.someSignatureUsage(parameter.parent, sourceFiles, checker, (_, call) => !call || call.arguments.length > index);\n    }\n    function mayDeleteParameter(checker, sourceFile, parameter, sourceFiles, program, cancellationToken, isFixAll) {\n      const { parent: parent2 } = parameter;\n      switch (parent2.kind) {\n        case 171:\n        case 173:\n          const index = parent2.parameters.indexOf(parameter);\n          const referent = isMethodDeclaration(parent2) ? parent2.name : parent2;\n          const entries = ts_FindAllReferences_exports.Core.getReferencedSymbolsForNode(parent2.pos, referent, program, sourceFiles, cancellationToken);\n          if (entries) {\n            for (const entry of entries) {\n              for (const reference of entry.references) {\n                if (reference.kind === ts_FindAllReferences_exports.EntryKind.Node) {\n                  const isSuperCall2 = isSuperKeyword(reference.node) && isCallExpression(reference.node.parent) && reference.node.parent.arguments.length > index;\n                  const isSuperMethodCall = isPropertyAccessExpression(reference.node.parent) && isSuperKeyword(reference.node.parent.expression) && isCallExpression(reference.node.parent.parent) && reference.node.parent.parent.arguments.length > index;\n                  const isOverriddenMethod = (isMethodDeclaration(reference.node.parent) || isMethodSignature(reference.node.parent)) && reference.node.parent !== parameter.parent && reference.node.parent.parameters.length > index;\n                  if (isSuperCall2 || isSuperMethodCall || isOverriddenMethod)\n                    return false;\n                }\n              }\n            }\n          }\n          return true;\n        case 259: {\n          if (parent2.name && isCallbackLike(checker, sourceFile, parent2.name)) {\n            return isLastParameter(parent2, parameter, isFixAll);\n          }\n          return true;\n        }\n        case 215:\n        case 216:\n          return isLastParameter(parent2, parameter, isFixAll);\n        case 175:\n          return false;\n        case 174:\n          return true;\n        default:\n          return Debug2.failBadSyntaxKind(parent2);\n      }\n    }\n    function isCallbackLike(checker, sourceFile, name) {\n      return !!ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(name, checker, sourceFile, (reference) => isIdentifier(reference) && isCallExpression(reference.parent) && reference.parent.arguments.indexOf(reference) >= 0);\n    }\n    function isLastParameter(func, parameter, isFixAll) {\n      const parameters = func.parameters;\n      const index = parameters.indexOf(parameter);\n      Debug2.assert(index !== -1, \"The parameter should already be in the list\");\n      return isFixAll ? parameters.slice(index + 1).every((p) => isIdentifier(p.name) && !p.symbol.isReferenced) : index === parameters.length - 1;\n    }\n    function mayDeleteExpression(node) {\n      return (isBinaryExpression(node.parent) && node.parent.left === node || (isPostfixUnaryExpression(node.parent) || isPrefixUnaryExpression(node.parent)) && node.parent.operand === node) && isExpressionStatement(node.parent.parent);\n    }\n    var fixName3, fixIdPrefix, fixIdDelete, fixIdDeleteImports, fixIdInfer, errorCodes40;\n    var init_fixUnusedIdentifier = __esm({\n      \"src/services/codefixes/fixUnusedIdentifier.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName3 = \"unusedIdentifier\";\n        fixIdPrefix = \"unusedIdentifier_prefix\";\n        fixIdDelete = \"unusedIdentifier_delete\";\n        fixIdDeleteImports = \"unusedIdentifier_deleteImports\";\n        fixIdInfer = \"unusedIdentifier_infer\";\n        errorCodes40 = [\n          Diagnostics._0_is_declared_but_its_value_is_never_read.code,\n          Diagnostics._0_is_declared_but_never_used.code,\n          Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,\n          Diagnostics.All_imports_in_import_declaration_are_unused.code,\n          Diagnostics.All_destructured_elements_are_unused.code,\n          Diagnostics.All_variables_are_unused.code,\n          Diagnostics.All_type_parameters_are_unused.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes40,\n          getCodeActions(context) {\n            const { errorCode, sourceFile, program, cancellationToken } = context;\n            const checker = program.getTypeChecker();\n            const sourceFiles = program.getSourceFiles();\n            const token = getTokenAtPosition(sourceFile, context.span.start);\n            if (isJSDocTemplateTag(token)) {\n              return [createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => t.delete(sourceFile, token)), Diagnostics.Remove_template_tag)];\n            }\n            if (token.kind === 29) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => deleteTypeParameters(t, sourceFile, token));\n              return [createDeleteFix(changes, Diagnostics.Remove_type_parameters)];\n            }\n            const importDecl = tryGetFullImport(token);\n            if (importDecl) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.delete(sourceFile, importDecl));\n              return [createCodeFixAction(fixName3, changes, [Diagnostics.Remove_import_from_0, showModuleSpecifier(importDecl)], fixIdDeleteImports, Diagnostics.Delete_all_unused_imports)];\n            } else if (isImport(token)) {\n              const deletion = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryDeleteDeclaration(\n                sourceFile,\n                token,\n                t,\n                checker,\n                sourceFiles,\n                program,\n                cancellationToken,\n                /*isFixAll*/\n                false\n              ));\n              if (deletion.length) {\n                return [createCodeFixAction(fixName3, deletion, [Diagnostics.Remove_unused_declaration_for_Colon_0, token.getText(sourceFile)], fixIdDeleteImports, Diagnostics.Delete_all_unused_imports)];\n              }\n            }\n            if (isObjectBindingPattern(token.parent) || isArrayBindingPattern(token.parent)) {\n              if (isParameter(token.parent.parent)) {\n                const elements = token.parent.elements;\n                const diagnostic = [\n                  elements.length > 1 ? Diagnostics.Remove_unused_declarations_for_Colon_0 : Diagnostics.Remove_unused_declaration_for_Colon_0,\n                  map(elements, (e) => e.getText(sourceFile)).join(\", \")\n                ];\n                return [\n                  createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => deleteDestructuringElements(t, sourceFile, token.parent)), diagnostic)\n                ];\n              }\n              return [\n                createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => t.delete(sourceFile, token.parent.parent)), Diagnostics.Remove_unused_destructuring_declaration)\n              ];\n            }\n            if (canDeleteEntireVariableStatement(sourceFile, token)) {\n              return [\n                createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => deleteEntireVariableStatement(t, sourceFile, token.parent)), Diagnostics.Remove_variable_statement)\n              ];\n            }\n            const result = [];\n            if (token.kind === 138) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => changeInferToUnknown(t, sourceFile, token));\n              const name = cast(token.parent, isInferTypeNode).typeParameter.name.text;\n              result.push(createCodeFixAction(fixName3, changes, [Diagnostics.Replace_infer_0_with_unknown, name], fixIdInfer, Diagnostics.Replace_all_unused_infer_with_unknown));\n            } else {\n              const deletion = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryDeleteDeclaration(\n                sourceFile,\n                token,\n                t,\n                checker,\n                sourceFiles,\n                program,\n                cancellationToken,\n                /*isFixAll*/\n                false\n              ));\n              if (deletion.length) {\n                const name = isComputedPropertyName(token.parent) ? token.parent : token;\n                result.push(createDeleteFix(deletion, [Diagnostics.Remove_unused_declaration_for_Colon_0, name.getText(sourceFile)]));\n              }\n            }\n            const prefix = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryPrefixDeclaration(t, errorCode, sourceFile, token));\n            if (prefix.length) {\n              result.push(createCodeFixAction(fixName3, prefix, [Diagnostics.Prefix_0_with_an_underscore, token.getText(sourceFile)], fixIdPrefix, Diagnostics.Prefix_all_unused_declarations_with_where_possible));\n            }\n            return result;\n          },\n          fixIds: [fixIdPrefix, fixIdDelete, fixIdDeleteImports, fixIdInfer],\n          getAllCodeActions: (context) => {\n            const { sourceFile, program, cancellationToken } = context;\n            const checker = program.getTypeChecker();\n            const sourceFiles = program.getSourceFiles();\n            return codeFixAll(context, errorCodes40, (changes, diag2) => {\n              const token = getTokenAtPosition(sourceFile, diag2.start);\n              switch (context.fixId) {\n                case fixIdPrefix:\n                  tryPrefixDeclaration(changes, diag2.code, sourceFile, token);\n                  break;\n                case fixIdDeleteImports: {\n                  const importDecl = tryGetFullImport(token);\n                  if (importDecl) {\n                    changes.delete(sourceFile, importDecl);\n                  } else if (isImport(token)) {\n                    tryDeleteDeclaration(\n                      sourceFile,\n                      token,\n                      changes,\n                      checker,\n                      sourceFiles,\n                      program,\n                      cancellationToken,\n                      /*isFixAll*/\n                      true\n                    );\n                  }\n                  break;\n                }\n                case fixIdDelete: {\n                  if (token.kind === 138 || isImport(token)) {\n                    break;\n                  } else if (isJSDocTemplateTag(token)) {\n                    changes.delete(sourceFile, token);\n                  } else if (token.kind === 29) {\n                    deleteTypeParameters(changes, sourceFile, token);\n                  } else if (isObjectBindingPattern(token.parent)) {\n                    if (token.parent.parent.initializer) {\n                      break;\n                    } else if (!isParameter(token.parent.parent) || isNotProvidedArguments(token.parent.parent, checker, sourceFiles)) {\n                      changes.delete(sourceFile, token.parent.parent);\n                    }\n                  } else if (isArrayBindingPattern(token.parent.parent) && token.parent.parent.parent.initializer) {\n                    break;\n                  } else if (canDeleteEntireVariableStatement(sourceFile, token)) {\n                    deleteEntireVariableStatement(changes, sourceFile, token.parent);\n                  } else {\n                    tryDeleteDeclaration(\n                      sourceFile,\n                      token,\n                      changes,\n                      checker,\n                      sourceFiles,\n                      program,\n                      cancellationToken,\n                      /*isFixAll*/\n                      true\n                    );\n                  }\n                  break;\n                }\n                case fixIdInfer:\n                  if (token.kind === 138) {\n                    changeInferToUnknown(changes, sourceFile, token);\n                  }\n                  break;\n                default:\n                  Debug2.fail(JSON.stringify(context.fixId));\n              }\n            });\n          }\n        });\n      }\n    });\n    function doChange18(changes, sourceFile, start, length2, errorCode) {\n      const token = getTokenAtPosition(sourceFile, start);\n      const statement = findAncestor(token, isStatement);\n      if (statement.getStart(sourceFile) !== token.getStart(sourceFile)) {\n        const logData = JSON.stringify({\n          statementKind: Debug2.formatSyntaxKind(statement.kind),\n          tokenKind: Debug2.formatSyntaxKind(token.kind),\n          errorCode,\n          start,\n          length: length2\n        });\n        Debug2.fail(\"Token and statement should start at the same point. \" + logData);\n      }\n      const container = (isBlock(statement.parent) ? statement.parent : statement).parent;\n      if (!isBlock(statement.parent) || statement === first(statement.parent.statements)) {\n        switch (container.kind) {\n          case 242:\n            if (container.elseStatement) {\n              if (isBlock(statement.parent)) {\n                break;\n              } else {\n                changes.replaceNode(sourceFile, statement, factory.createBlock(emptyArray));\n              }\n              return;\n            }\n          case 244:\n          case 245:\n            changes.delete(sourceFile, container);\n            return;\n        }\n      }\n      if (isBlock(statement.parent)) {\n        const end = start + length2;\n        const lastStatement = Debug2.checkDefined(lastWhere(sliceAfter(statement.parent.statements, statement), (s) => s.pos < end), \"Some statement should be last\");\n        changes.deleteNodeRange(sourceFile, statement, lastStatement);\n      } else {\n        changes.delete(sourceFile, statement);\n      }\n    }\n    function lastWhere(a, pred) {\n      let last2;\n      for (const value of a) {\n        if (!pred(value))\n          break;\n        last2 = value;\n      }\n      return last2;\n    }\n    var fixId32, errorCodes41;\n    var init_fixUnreachableCode = __esm({\n      \"src/services/codefixes/fixUnreachableCode.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId32 = \"fixUnreachableCode\";\n        errorCodes41 = [Diagnostics.Unreachable_code_detected.code];\n        registerCodeFix({\n          errorCodes: errorCodes41,\n          getCodeActions(context) {\n            const syntacticDiagnostics = context.program.getSyntacticDiagnostics(context.sourceFile, context.cancellationToken);\n            if (syntacticDiagnostics.length)\n              return;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange18(t, context.sourceFile, context.span.start, context.span.length, context.errorCode));\n            return [createCodeFixAction(fixId32, changes, Diagnostics.Remove_unreachable_code, fixId32, Diagnostics.Remove_all_unreachable_code)];\n          },\n          fixIds: [fixId32],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes41, (changes, diag2) => doChange18(changes, diag2.file, diag2.start, diag2.length, diag2.code))\n        });\n      }\n    });\n    function doChange19(changes, sourceFile, start) {\n      const token = getTokenAtPosition(sourceFile, start);\n      const labeledStatement = cast(token.parent, isLabeledStatement);\n      const pos = token.getStart(sourceFile);\n      const statementPos = labeledStatement.statement.getStart(sourceFile);\n      const end = positionsAreOnSameLine(pos, statementPos, sourceFile) ? statementPos : skipTrivia(\n        sourceFile.text,\n        findChildOfKind(labeledStatement, 58, sourceFile).end,\n        /*stopAfterLineBreak*/\n        true\n      );\n      changes.deleteRange(sourceFile, { pos, end });\n    }\n    var fixId33, errorCodes42;\n    var init_fixUnusedLabel = __esm({\n      \"src/services/codefixes/fixUnusedLabel.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId33 = \"fixUnusedLabel\";\n        errorCodes42 = [Diagnostics.Unused_label.code];\n        registerCodeFix({\n          errorCodes: errorCodes42,\n          getCodeActions(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange19(t, context.sourceFile, context.span.start));\n            return [createCodeFixAction(fixId33, changes, Diagnostics.Remove_unused_label, fixId33, Diagnostics.Remove_all_unused_labels)];\n          },\n          fixIds: [fixId33],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes42, (changes, diag2) => doChange19(changes, diag2.file, diag2.start))\n        });\n      }\n    });\n    function doChange20(changes, sourceFile, oldTypeNode, newType, checker) {\n      changes.replaceNode(sourceFile, oldTypeNode, checker.typeToTypeNode(\n        newType,\n        /*enclosingDeclaration*/\n        oldTypeNode,\n        /*flags*/\n        void 0\n      ));\n    }\n    function getInfo11(sourceFile, pos, checker) {\n      const decl = findAncestor(getTokenAtPosition(sourceFile, pos), isTypeContainer);\n      const typeNode = decl && decl.type;\n      return typeNode && { typeNode, type: getType(checker, typeNode) };\n    }\n    function isTypeContainer(node) {\n      switch (node.kind) {\n        case 231:\n        case 176:\n        case 177:\n        case 259:\n        case 174:\n        case 178:\n        case 197:\n        case 171:\n        case 170:\n        case 166:\n        case 169:\n        case 168:\n        case 175:\n        case 262:\n        case 213:\n        case 257:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function getType(checker, node) {\n      if (isJSDocNullableType(node)) {\n        const type = checker.getTypeFromTypeNode(node.type);\n        if (type === checker.getNeverType() || type === checker.getVoidType()) {\n          return type;\n        }\n        return checker.getUnionType(\n          append([type, checker.getUndefinedType()], node.postfix ? void 0 : checker.getNullType())\n        );\n      }\n      return checker.getTypeFromTypeNode(node);\n    }\n    var fixIdPlain, fixIdNullable, errorCodes43;\n    var init_fixJSDocTypes = __esm({\n      \"src/services/codefixes/fixJSDocTypes.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixIdPlain = \"fixJSDocTypes_plain\";\n        fixIdNullable = \"fixJSDocTypes_nullable\";\n        errorCodes43 = [\n          Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code,\n          Diagnostics._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,\n          Diagnostics._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes43,\n          getCodeActions(context) {\n            const { sourceFile } = context;\n            const checker = context.program.getTypeChecker();\n            const info = getInfo11(sourceFile, context.span.start, checker);\n            if (!info)\n              return void 0;\n            const { typeNode, type } = info;\n            const original = typeNode.getText(sourceFile);\n            const actions2 = [fix(type, fixIdPlain, Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];\n            if (typeNode.kind === 317) {\n              actions2.push(fix(type, fixIdNullable, Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types));\n            }\n            return actions2;\n            function fix(type2, fixId51, fixAllDescription) {\n              const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange20(t, sourceFile, typeNode, type2, checker));\n              return createCodeFixAction(\"jdocTypes\", changes, [Diagnostics.Change_0_to_1, original, checker.typeToString(type2)], fixId51, fixAllDescription);\n            }\n          },\n          fixIds: [fixIdPlain, fixIdNullable],\n          getAllCodeActions(context) {\n            const { fixId: fixId51, program, sourceFile } = context;\n            const checker = program.getTypeChecker();\n            return codeFixAll(context, errorCodes43, (changes, err) => {\n              const info = getInfo11(err.file, err.start, checker);\n              if (!info)\n                return;\n              const { typeNode, type } = info;\n              const fixedType = typeNode.kind === 317 && fixId51 === fixIdNullable ? checker.getNullableType(\n                type,\n                32768\n                /* Undefined */\n              ) : type;\n              doChange20(changes, sourceFile, typeNode, fixedType, checker);\n            });\n          }\n        });\n      }\n    });\n    function doChange21(changes, sourceFile, name) {\n      changes.replaceNodeWithText(sourceFile, name, `${name.text}()`);\n    }\n    function getCallName(sourceFile, start) {\n      const token = getTokenAtPosition(sourceFile, start);\n      if (isPropertyAccessExpression(token.parent)) {\n        let current = token.parent;\n        while (isPropertyAccessExpression(current.parent)) {\n          current = current.parent;\n        }\n        return current.name;\n      }\n      if (isIdentifier(token)) {\n        return token;\n      }\n      return void 0;\n    }\n    var fixId34, errorCodes44;\n    var init_fixMissingCallParentheses = __esm({\n      \"src/services/codefixes/fixMissingCallParentheses.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId34 = \"fixMissingCallParentheses\";\n        errorCodes44 = [\n          Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes44,\n          fixIds: [fixId34],\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const callName = getCallName(sourceFile, span.start);\n            if (!callName)\n              return;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange21(t, context.sourceFile, callName));\n            return [createCodeFixAction(fixId34, changes, Diagnostics.Add_missing_call_parentheses, fixId34, Diagnostics.Add_all_missing_call_parentheses)];\n          },\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes44, (changes, diag2) => {\n            const callName = getCallName(diag2.file, diag2.start);\n            if (callName)\n              doChange21(changes, diag2.file, callName);\n          })\n        });\n      }\n    });\n    function getReturnType(expr) {\n      if (expr.type) {\n        return expr.type;\n      }\n      if (isVariableDeclaration(expr.parent) && expr.parent.type && isFunctionTypeNode(expr.parent.type)) {\n        return expr.parent.type.type;\n      }\n    }\n    function getNodes3(sourceFile, start) {\n      const token = getTokenAtPosition(sourceFile, start);\n      const containingFunction = getContainingFunction(token);\n      if (!containingFunction) {\n        return;\n      }\n      let insertBefore;\n      switch (containingFunction.kind) {\n        case 171:\n          insertBefore = containingFunction.name;\n          break;\n        case 259:\n        case 215:\n          insertBefore = findChildOfKind(containingFunction, 98, sourceFile);\n          break;\n        case 216:\n          const kind = containingFunction.typeParameters ? 29 : 20;\n          insertBefore = findChildOfKind(containingFunction, kind, sourceFile) || first(containingFunction.parameters);\n          break;\n        default:\n          return;\n      }\n      return insertBefore && {\n        insertBefore,\n        returnType: getReturnType(containingFunction)\n      };\n    }\n    function doChange22(changes, sourceFile, { insertBefore, returnType }) {\n      if (returnType) {\n        const entityName = getEntityNameFromTypeNode(returnType);\n        if (!entityName || entityName.kind !== 79 || entityName.text !== \"Promise\") {\n          changes.replaceNode(sourceFile, returnType, factory.createTypeReferenceNode(\"Promise\", factory.createNodeArray([returnType])));\n        }\n      }\n      changes.insertModifierBefore(sourceFile, 132, insertBefore);\n    }\n    var fixId35, errorCodes45;\n    var init_fixAwaitInSyncFunction = __esm({\n      \"src/services/codefixes/fixAwaitInSyncFunction.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId35 = \"fixAwaitInSyncFunction\";\n        errorCodes45 = [\n          Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,\n          Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,\n          Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes45,\n          getCodeActions(context) {\n            const { sourceFile, span } = context;\n            const nodes = getNodes3(sourceFile, span.start);\n            if (!nodes)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange22(t, sourceFile, nodes));\n            return [createCodeFixAction(fixId35, changes, Diagnostics.Add_async_modifier_to_containing_function, fixId35, Diagnostics.Add_all_missing_async_modifiers)];\n          },\n          fixIds: [fixId35],\n          getAllCodeActions: function getAllCodeActionsToFixAwaitInSyncFunction(context) {\n            const seen = /* @__PURE__ */ new Map();\n            return codeFixAll(context, errorCodes45, (changes, diag2) => {\n              const nodes = getNodes3(diag2.file, diag2.start);\n              if (!nodes || !addToSeen(seen, getNodeId(nodes.insertBefore)))\n                return;\n              doChange22(changes, context.sourceFile, nodes);\n            });\n          }\n        });\n      }\n    });\n    function doChange23(file, start, length2, code, context) {\n      let startPosition;\n      let endPosition;\n      if (code === Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code) {\n        startPosition = start;\n        endPosition = start + length2;\n      } else if (code === Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code) {\n        const checker = context.program.getTypeChecker();\n        const node = getTokenAtPosition(file, start).parent;\n        Debug2.assert(isAccessor(node), \"error span of fixPropertyOverrideAccessor should only be on an accessor\");\n        const containingClass = node.parent;\n        Debug2.assert(isClassLike(containingClass), \"erroneous accessors should only be inside classes\");\n        const base = singleOrUndefined(getAllSupers(containingClass, checker));\n        if (!base)\n          return [];\n        const name = unescapeLeadingUnderscores(getTextOfPropertyName(node.name));\n        const baseProp = checker.getPropertyOfType(checker.getTypeAtLocation(base), name);\n        if (!baseProp || !baseProp.valueDeclaration)\n          return [];\n        startPosition = baseProp.valueDeclaration.pos;\n        endPosition = baseProp.valueDeclaration.end;\n        file = getSourceFileOfNode(baseProp.valueDeclaration);\n      } else {\n        Debug2.fail(\"fixPropertyOverrideAccessor codefix got unexpected error code \" + code);\n      }\n      return generateAccessorFromProperty(file, context.program, startPosition, endPosition, context, Diagnostics.Generate_get_and_set_accessors.message);\n    }\n    var errorCodes46, fixId36;\n    var init_fixPropertyOverrideAccessor = __esm({\n      \"src/services/codefixes/fixPropertyOverrideAccessor.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        errorCodes46 = [\n          Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,\n          Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code\n        ];\n        fixId36 = \"fixPropertyOverrideAccessor\";\n        registerCodeFix({\n          errorCodes: errorCodes46,\n          getCodeActions(context) {\n            const edits = doChange23(context.sourceFile, context.span.start, context.span.length, context.errorCode, context);\n            if (edits) {\n              return [createCodeFixAction(fixId36, edits, Diagnostics.Generate_get_and_set_accessors, fixId36, Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)];\n            }\n          },\n          fixIds: [fixId36],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes46, (changes, diag2) => {\n            const edits = doChange23(diag2.file, diag2.start, diag2.length, diag2.code, context);\n            if (edits) {\n              for (const edit of edits) {\n                changes.pushRaw(context.sourceFile, edit);\n              }\n            }\n          })\n        });\n      }\n    });\n    function getDiagnostic(errorCode, token) {\n      switch (errorCode) {\n        case Diagnostics.Parameter_0_implicitly_has_an_1_type.code:\n        case Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return isSetAccessorDeclaration(getContainingFunction(token)) ? Diagnostics.Infer_type_of_0_from_usage : Diagnostics.Infer_parameter_types_from_usage;\n        case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:\n        case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics.Infer_parameter_types_from_usage;\n        case Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:\n          return Diagnostics.Infer_this_type_of_0_from_usage;\n        default:\n          return Diagnostics.Infer_type_of_0_from_usage;\n      }\n    }\n    function mapSuggestionDiagnostic(errorCode) {\n      switch (errorCode) {\n        case Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;\n        case Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics.Variable_0_implicitly_has_an_1_type.code;\n        case Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics.Parameter_0_implicitly_has_an_1_type.code;\n        case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;\n        case Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:\n          return Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;\n        case Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;\n        case Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:\n          return Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;\n        case Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n          return Diagnostics.Member_0_implicitly_has_an_1_type.code;\n      }\n      return errorCode;\n    }\n    function doChange24(changes, sourceFile, token, errorCode, program, cancellationToken, markSeen, host, preferences) {\n      if (!isParameterPropertyModifier(token.kind) && token.kind !== 79 && token.kind !== 25 && token.kind !== 108) {\n        return void 0;\n      }\n      const { parent: parent2 } = token;\n      const importAdder = createImportAdder(sourceFile, program, preferences, host);\n      errorCode = mapSuggestionDiagnostic(errorCode);\n      switch (errorCode) {\n        case Diagnostics.Member_0_implicitly_has_an_1_type.code:\n        case Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:\n          if (isVariableDeclaration(parent2) && markSeen(parent2) || isPropertyDeclaration(parent2) || isPropertySignature(parent2)) {\n            annotateVariableDeclaration(changes, importAdder, sourceFile, parent2, program, host, cancellationToken);\n            importAdder.writeFixes(changes);\n            return parent2;\n          }\n          if (isPropertyAccessExpression(parent2)) {\n            const type = inferTypeForVariableFromUsage(parent2.name, program, cancellationToken);\n            const typeNode = getTypeNodeIfAccessible(type, parent2, program, host);\n            if (typeNode) {\n              const typeTag = factory.createJSDocTypeTag(\n                /*tagName*/\n                void 0,\n                factory.createJSDocTypeExpression(typeNode),\n                /*comment*/\n                void 0\n              );\n              changes.addJSDocTags(sourceFile, cast(parent2.parent.parent, isExpressionStatement), [typeTag]);\n            }\n            importAdder.writeFixes(changes);\n            return parent2;\n          }\n          return void 0;\n        case Diagnostics.Variable_0_implicitly_has_an_1_type.code: {\n          const symbol = program.getTypeChecker().getSymbolAtLocation(token);\n          if (symbol && symbol.valueDeclaration && isVariableDeclaration(symbol.valueDeclaration) && markSeen(symbol.valueDeclaration)) {\n            annotateVariableDeclaration(changes, importAdder, getSourceFileOfNode(symbol.valueDeclaration), symbol.valueDeclaration, program, host, cancellationToken);\n            importAdder.writeFixes(changes);\n            return symbol.valueDeclaration;\n          }\n          return void 0;\n        }\n      }\n      const containingFunction = getContainingFunction(token);\n      if (containingFunction === void 0) {\n        return void 0;\n      }\n      let declaration;\n      switch (errorCode) {\n        case Diagnostics.Parameter_0_implicitly_has_an_1_type.code:\n          if (isSetAccessorDeclaration(containingFunction)) {\n            annotateSetAccessor(changes, importAdder, sourceFile, containingFunction, program, host, cancellationToken);\n            declaration = containingFunction;\n            break;\n          }\n        case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:\n          if (markSeen(containingFunction)) {\n            const param = cast(parent2, isParameter);\n            annotateParameters(changes, importAdder, sourceFile, param, containingFunction, program, host, cancellationToken);\n            declaration = param;\n          }\n          break;\n        case Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:\n        case Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:\n          if (isGetAccessorDeclaration(containingFunction) && isIdentifier(containingFunction.name)) {\n            annotate(changes, importAdder, sourceFile, containingFunction, inferTypeForVariableFromUsage(containingFunction.name, program, cancellationToken), program, host);\n            declaration = containingFunction;\n          }\n          break;\n        case Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:\n          if (isSetAccessorDeclaration(containingFunction)) {\n            annotateSetAccessor(changes, importAdder, sourceFile, containingFunction, program, host, cancellationToken);\n            declaration = containingFunction;\n          }\n          break;\n        case Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:\n          if (ts_textChanges_exports.isThisTypeAnnotatable(containingFunction) && markSeen(containingFunction)) {\n            annotateThis(changes, sourceFile, containingFunction, program, host, cancellationToken);\n            declaration = containingFunction;\n          }\n          break;\n        default:\n          return Debug2.fail(String(errorCode));\n      }\n      importAdder.writeFixes(changes);\n      return declaration;\n    }\n    function annotateVariableDeclaration(changes, importAdder, sourceFile, declaration, program, host, cancellationToken) {\n      if (isIdentifier(declaration.name)) {\n        annotate(changes, importAdder, sourceFile, declaration, inferTypeForVariableFromUsage(declaration.name, program, cancellationToken), program, host);\n      }\n    }\n    function annotateParameters(changes, importAdder, sourceFile, parameterDeclaration, containingFunction, program, host, cancellationToken) {\n      if (!isIdentifier(parameterDeclaration.name)) {\n        return;\n      }\n      const parameterInferences = inferTypeForParametersFromUsage(containingFunction, sourceFile, program, cancellationToken);\n      Debug2.assert(containingFunction.parameters.length === parameterInferences.length, \"Parameter count and inference count should match\");\n      if (isInJSFile(containingFunction)) {\n        annotateJSDocParameters(changes, sourceFile, parameterInferences, program, host);\n      } else {\n        const needParens = isArrowFunction(containingFunction) && !findChildOfKind(containingFunction, 20, sourceFile);\n        if (needParens)\n          changes.insertNodeBefore(sourceFile, first(containingFunction.parameters), factory.createToken(\n            20\n            /* OpenParenToken */\n          ));\n        for (const { declaration, type } of parameterInferences) {\n          if (declaration && !declaration.type && !declaration.initializer) {\n            annotate(changes, importAdder, sourceFile, declaration, type, program, host);\n          }\n        }\n        if (needParens)\n          changes.insertNodeAfter(sourceFile, last(containingFunction.parameters), factory.createToken(\n            21\n            /* CloseParenToken */\n          ));\n      }\n    }\n    function annotateThis(changes, sourceFile, containingFunction, program, host, cancellationToken) {\n      const references = getFunctionReferences(containingFunction, sourceFile, program, cancellationToken);\n      if (!references || !references.length) {\n        return;\n      }\n      const thisInference = inferTypeFromReferences(program, references, cancellationToken).thisParameter();\n      const typeNode = getTypeNodeIfAccessible(thisInference, containingFunction, program, host);\n      if (!typeNode) {\n        return;\n      }\n      if (isInJSFile(containingFunction)) {\n        annotateJSDocThis(changes, sourceFile, containingFunction, typeNode);\n      } else {\n        changes.tryInsertThisTypeAnnotation(sourceFile, containingFunction, typeNode);\n      }\n    }\n    function annotateJSDocThis(changes, sourceFile, containingFunction, typeNode) {\n      changes.addJSDocTags(sourceFile, containingFunction, [\n        factory.createJSDocThisTag(\n          /*tagName*/\n          void 0,\n          factory.createJSDocTypeExpression(typeNode)\n        )\n      ]);\n    }\n    function annotateSetAccessor(changes, importAdder, sourceFile, setAccessorDeclaration, program, host, cancellationToken) {\n      const param = firstOrUndefined(setAccessorDeclaration.parameters);\n      if (param && isIdentifier(setAccessorDeclaration.name) && isIdentifier(param.name)) {\n        let type = inferTypeForVariableFromUsage(setAccessorDeclaration.name, program, cancellationToken);\n        if (type === program.getTypeChecker().getAnyType()) {\n          type = inferTypeForVariableFromUsage(param.name, program, cancellationToken);\n        }\n        if (isInJSFile(setAccessorDeclaration)) {\n          annotateJSDocParameters(changes, sourceFile, [{ declaration: param, type }], program, host);\n        } else {\n          annotate(changes, importAdder, sourceFile, param, type, program, host);\n        }\n      }\n    }\n    function annotate(changes, importAdder, sourceFile, declaration, type, program, host) {\n      const typeNode = getTypeNodeIfAccessible(type, declaration, program, host);\n      if (typeNode) {\n        if (isInJSFile(sourceFile) && declaration.kind !== 168) {\n          const parent2 = isVariableDeclaration(declaration) ? tryCast(declaration.parent.parent, isVariableStatement) : declaration;\n          if (!parent2) {\n            return;\n          }\n          const typeExpression = factory.createJSDocTypeExpression(typeNode);\n          const typeTag = isGetAccessorDeclaration(declaration) ? factory.createJSDocReturnTag(\n            /*tagName*/\n            void 0,\n            typeExpression,\n            /*comment*/\n            void 0\n          ) : factory.createJSDocTypeTag(\n            /*tagName*/\n            void 0,\n            typeExpression,\n            /*comment*/\n            void 0\n          );\n          changes.addJSDocTags(sourceFile, parent2, [typeTag]);\n        } else if (!tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, getEmitScriptTarget(program.getCompilerOptions()))) {\n          changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode);\n        }\n      }\n    }\n    function tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, scriptTarget) {\n      const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);\n      if (importableReference && changes.tryInsertTypeAnnotation(sourceFile, declaration, importableReference.typeNode)) {\n        forEach(importableReference.symbols, (s) => importAdder.addImportFromExportedSymbol(\n          s,\n          /*usageIsTypeOnly*/\n          true\n        ));\n        return true;\n      }\n      return false;\n    }\n    function annotateJSDocParameters(changes, sourceFile, parameterInferences, program, host) {\n      const signature = parameterInferences.length && parameterInferences[0].declaration.parent;\n      if (!signature) {\n        return;\n      }\n      const inferences = mapDefined(parameterInferences, (inference) => {\n        const param = inference.declaration;\n        if (param.initializer || getJSDocType(param) || !isIdentifier(param.name)) {\n          return;\n        }\n        const typeNode = inference.type && getTypeNodeIfAccessible(inference.type, param, program, host);\n        if (typeNode) {\n          const name = factory.cloneNode(param.name);\n          setEmitFlags(\n            name,\n            3072 | 4096\n            /* NoNestedComments */\n          );\n          return { name: factory.cloneNode(param.name), param, isOptional: !!inference.isOptional, typeNode };\n        }\n      });\n      if (!inferences.length) {\n        return;\n      }\n      if (isArrowFunction(signature) || isFunctionExpression(signature)) {\n        const needParens = isArrowFunction(signature) && !findChildOfKind(signature, 20, sourceFile);\n        if (needParens) {\n          changes.insertNodeBefore(sourceFile, first(signature.parameters), factory.createToken(\n            20\n            /* OpenParenToken */\n          ));\n        }\n        forEach(inferences, ({ typeNode, param }) => {\n          const typeTag = factory.createJSDocTypeTag(\n            /*tagName*/\n            void 0,\n            factory.createJSDocTypeExpression(typeNode)\n          );\n          const jsDoc = factory.createJSDocComment(\n            /*comment*/\n            void 0,\n            [typeTag]\n          );\n          changes.insertNodeAt(sourceFile, param.getStart(sourceFile), jsDoc, { suffix: \" \" });\n        });\n        if (needParens) {\n          changes.insertNodeAfter(sourceFile, last(signature.parameters), factory.createToken(\n            21\n            /* CloseParenToken */\n          ));\n        }\n      } else {\n        const paramTags = map(inferences, ({ name, typeNode, isOptional }) => factory.createJSDocParameterTag(\n          /*tagName*/\n          void 0,\n          name,\n          /*isBracketed*/\n          !!isOptional,\n          factory.createJSDocTypeExpression(typeNode),\n          /* isNameFirst */\n          false,\n          /*comment*/\n          void 0\n        ));\n        changes.addJSDocTags(sourceFile, signature, paramTags);\n      }\n    }\n    function getReferences(token, program, cancellationToken) {\n      return mapDefined(ts_FindAllReferences_exports.getReferenceEntriesForNode(-1, token, program, program.getSourceFiles(), cancellationToken), (entry) => entry.kind !== ts_FindAllReferences_exports.EntryKind.Span ? tryCast(entry.node, isIdentifier) : void 0);\n    }\n    function inferTypeForVariableFromUsage(token, program, cancellationToken) {\n      const references = getReferences(token, program, cancellationToken);\n      return inferTypeFromReferences(program, references, cancellationToken).single();\n    }\n    function inferTypeForParametersFromUsage(func, sourceFile, program, cancellationToken) {\n      const references = getFunctionReferences(func, sourceFile, program, cancellationToken);\n      return references && inferTypeFromReferences(program, references, cancellationToken).parameters(func) || func.parameters.map((p) => ({\n        declaration: p,\n        type: isIdentifier(p.name) ? inferTypeForVariableFromUsage(p.name, program, cancellationToken) : program.getTypeChecker().getAnyType()\n      }));\n    }\n    function getFunctionReferences(containingFunction, sourceFile, program, cancellationToken) {\n      let searchToken;\n      switch (containingFunction.kind) {\n        case 173:\n          searchToken = findChildOfKind(containingFunction, 135, sourceFile);\n          break;\n        case 216:\n        case 215:\n          const parent2 = containingFunction.parent;\n          searchToken = (isVariableDeclaration(parent2) || isPropertyDeclaration(parent2)) && isIdentifier(parent2.name) ? parent2.name : containingFunction.name;\n          break;\n        case 259:\n        case 171:\n        case 170:\n          searchToken = containingFunction.name;\n          break;\n      }\n      if (!searchToken) {\n        return void 0;\n      }\n      return getReferences(searchToken, program, cancellationToken);\n    }\n    function inferTypeFromReferences(program, references, cancellationToken) {\n      const checker = program.getTypeChecker();\n      const builtinConstructors = {\n        string: () => checker.getStringType(),\n        number: () => checker.getNumberType(),\n        Array: (t) => checker.createArrayType(t),\n        Promise: (t) => checker.createPromiseType(t)\n      };\n      const builtins = [\n        checker.getStringType(),\n        checker.getNumberType(),\n        checker.createArrayType(checker.getAnyType()),\n        checker.createPromiseType(checker.getAnyType())\n      ];\n      return {\n        single: single2,\n        parameters,\n        thisParameter\n      };\n      function createEmptyUsage() {\n        return {\n          isNumber: void 0,\n          isString: void 0,\n          isNumberOrString: void 0,\n          candidateTypes: void 0,\n          properties: void 0,\n          calls: void 0,\n          constructs: void 0,\n          numberIndex: void 0,\n          stringIndex: void 0,\n          candidateThisTypes: void 0,\n          inferredTypes: void 0\n        };\n      }\n      function combineUsages(usages) {\n        const combinedProperties = /* @__PURE__ */ new Map();\n        for (const u of usages) {\n          if (u.properties) {\n            u.properties.forEach((p, name) => {\n              if (!combinedProperties.has(name)) {\n                combinedProperties.set(name, []);\n              }\n              combinedProperties.get(name).push(p);\n            });\n          }\n        }\n        const properties = /* @__PURE__ */ new Map();\n        combinedProperties.forEach((ps, name) => {\n          properties.set(name, combineUsages(ps));\n        });\n        return {\n          isNumber: usages.some((u) => u.isNumber),\n          isString: usages.some((u) => u.isString),\n          isNumberOrString: usages.some((u) => u.isNumberOrString),\n          candidateTypes: flatMap(usages, (u) => u.candidateTypes),\n          properties,\n          calls: flatMap(usages, (u) => u.calls),\n          constructs: flatMap(usages, (u) => u.constructs),\n          numberIndex: forEach(usages, (u) => u.numberIndex),\n          stringIndex: forEach(usages, (u) => u.stringIndex),\n          candidateThisTypes: flatMap(usages, (u) => u.candidateThisTypes),\n          inferredTypes: void 0\n          // clear type cache\n        };\n      }\n      function single2() {\n        return combineTypes(inferTypesFromReferencesSingle(references));\n      }\n      function parameters(declaration) {\n        if (references.length === 0 || !declaration.parameters) {\n          return void 0;\n        }\n        const usage = createEmptyUsage();\n        for (const reference of references) {\n          cancellationToken.throwIfCancellationRequested();\n          calculateUsageOfNode(reference, usage);\n        }\n        const calls = [...usage.constructs || [], ...usage.calls || []];\n        return declaration.parameters.map((parameter, parameterIndex) => {\n          const types = [];\n          const isRest = isRestParameter(parameter);\n          let isOptional = false;\n          for (const call of calls) {\n            if (call.argumentTypes.length <= parameterIndex) {\n              isOptional = isInJSFile(declaration);\n              types.push(checker.getUndefinedType());\n            } else if (isRest) {\n              for (let i = parameterIndex; i < call.argumentTypes.length; i++) {\n                types.push(checker.getBaseTypeOfLiteralType(call.argumentTypes[i]));\n              }\n            } else {\n              types.push(checker.getBaseTypeOfLiteralType(call.argumentTypes[parameterIndex]));\n            }\n          }\n          if (isIdentifier(parameter.name)) {\n            const inferred = inferTypesFromReferencesSingle(getReferences(parameter.name, program, cancellationToken));\n            types.push(...isRest ? mapDefined(inferred, checker.getElementTypeOfArrayType) : inferred);\n          }\n          const type = combineTypes(types);\n          return {\n            type: isRest ? checker.createArrayType(type) : type,\n            isOptional: isOptional && !isRest,\n            declaration: parameter\n          };\n        });\n      }\n      function thisParameter() {\n        const usage = createEmptyUsage();\n        for (const reference of references) {\n          cancellationToken.throwIfCancellationRequested();\n          calculateUsageOfNode(reference, usage);\n        }\n        return combineTypes(usage.candidateThisTypes || emptyArray);\n      }\n      function inferTypesFromReferencesSingle(references2) {\n        const usage = createEmptyUsage();\n        for (const reference of references2) {\n          cancellationToken.throwIfCancellationRequested();\n          calculateUsageOfNode(reference, usage);\n        }\n        return inferTypes(usage);\n      }\n      function calculateUsageOfNode(node, usage) {\n        while (isRightSideOfQualifiedNameOrPropertyAccess(node)) {\n          node = node.parent;\n        }\n        switch (node.parent.kind) {\n          case 241:\n            inferTypeFromExpressionStatement(node, usage);\n            break;\n          case 222:\n            usage.isNumber = true;\n            break;\n          case 221:\n            inferTypeFromPrefixUnaryExpression(node.parent, usage);\n            break;\n          case 223:\n            inferTypeFromBinaryExpression(node, node.parent, usage);\n            break;\n          case 292:\n          case 293:\n            inferTypeFromSwitchStatementLabel(node.parent, usage);\n            break;\n          case 210:\n          case 211:\n            if (node.parent.expression === node) {\n              inferTypeFromCallExpression(node.parent, usage);\n            } else {\n              inferTypeFromContextualType(node, usage);\n            }\n            break;\n          case 208:\n            inferTypeFromPropertyAccessExpression(node.parent, usage);\n            break;\n          case 209:\n            inferTypeFromPropertyElementExpression(node.parent, node, usage);\n            break;\n          case 299:\n          case 300:\n            inferTypeFromPropertyAssignment(node.parent, usage);\n            break;\n          case 169:\n            inferTypeFromPropertyDeclaration(node.parent, usage);\n            break;\n          case 257: {\n            const { name, initializer } = node.parent;\n            if (node === name) {\n              if (initializer) {\n                addCandidateType(usage, checker.getTypeAtLocation(initializer));\n              }\n              break;\n            }\n          }\n          default:\n            return inferTypeFromContextualType(node, usage);\n        }\n      }\n      function inferTypeFromContextualType(node, usage) {\n        if (isExpressionNode(node)) {\n          addCandidateType(usage, checker.getContextualType(node));\n        }\n      }\n      function inferTypeFromExpressionStatement(node, usage) {\n        addCandidateType(usage, isCallExpression(node) ? checker.getVoidType() : checker.getAnyType());\n      }\n      function inferTypeFromPrefixUnaryExpression(node, usage) {\n        switch (node.operator) {\n          case 45:\n          case 46:\n          case 40:\n          case 54:\n            usage.isNumber = true;\n            break;\n          case 39:\n            usage.isNumberOrString = true;\n            break;\n        }\n      }\n      function inferTypeFromBinaryExpression(node, parent2, usage) {\n        switch (parent2.operatorToken.kind) {\n          case 42:\n          case 41:\n          case 43:\n          case 44:\n          case 47:\n          case 48:\n          case 49:\n          case 50:\n          case 51:\n          case 52:\n          case 65:\n          case 67:\n          case 66:\n          case 68:\n          case 69:\n          case 73:\n          case 74:\n          case 78:\n          case 70:\n          case 72:\n          case 71:\n          case 40:\n          case 29:\n          case 32:\n          case 31:\n          case 33:\n            const operandType = checker.getTypeAtLocation(parent2.left === node ? parent2.right : parent2.left);\n            if (operandType.flags & 1056) {\n              addCandidateType(usage, operandType);\n            } else {\n              usage.isNumber = true;\n            }\n            break;\n          case 64:\n          case 39:\n            const otherOperandType = checker.getTypeAtLocation(parent2.left === node ? parent2.right : parent2.left);\n            if (otherOperandType.flags & 1056) {\n              addCandidateType(usage, otherOperandType);\n            } else if (otherOperandType.flags & 296) {\n              usage.isNumber = true;\n            } else if (otherOperandType.flags & 402653316) {\n              usage.isString = true;\n            } else if (otherOperandType.flags & 1) {\n            } else {\n              usage.isNumberOrString = true;\n            }\n            break;\n          case 63:\n          case 34:\n          case 36:\n          case 37:\n          case 35:\n            addCandidateType(usage, checker.getTypeAtLocation(parent2.left === node ? parent2.right : parent2.left));\n            break;\n          case 101:\n            if (node === parent2.left) {\n              usage.isString = true;\n            }\n            break;\n          case 56:\n          case 60:\n            if (node === parent2.left && (node.parent.parent.kind === 257 || isAssignmentExpression(\n              node.parent.parent,\n              /*excludeCompoundAssignment*/\n              true\n            ))) {\n              addCandidateType(usage, checker.getTypeAtLocation(parent2.right));\n            }\n            break;\n          case 55:\n          case 27:\n          case 102:\n            break;\n        }\n      }\n      function inferTypeFromSwitchStatementLabel(parent2, usage) {\n        addCandidateType(usage, checker.getTypeAtLocation(parent2.parent.parent.expression));\n      }\n      function inferTypeFromCallExpression(parent2, usage) {\n        const call = {\n          argumentTypes: [],\n          return_: createEmptyUsage()\n        };\n        if (parent2.arguments) {\n          for (const argument of parent2.arguments) {\n            call.argumentTypes.push(checker.getTypeAtLocation(argument));\n          }\n        }\n        calculateUsageOfNode(parent2, call.return_);\n        if (parent2.kind === 210) {\n          (usage.calls || (usage.calls = [])).push(call);\n        } else {\n          (usage.constructs || (usage.constructs = [])).push(call);\n        }\n      }\n      function inferTypeFromPropertyAccessExpression(parent2, usage) {\n        const name = escapeLeadingUnderscores(parent2.name.text);\n        if (!usage.properties) {\n          usage.properties = /* @__PURE__ */ new Map();\n        }\n        const propertyUsage = usage.properties.get(name) || createEmptyUsage();\n        calculateUsageOfNode(parent2, propertyUsage);\n        usage.properties.set(name, propertyUsage);\n      }\n      function inferTypeFromPropertyElementExpression(parent2, node, usage) {\n        if (node === parent2.argumentExpression) {\n          usage.isNumberOrString = true;\n          return;\n        } else {\n          const indexType = checker.getTypeAtLocation(parent2.argumentExpression);\n          const indexUsage = createEmptyUsage();\n          calculateUsageOfNode(parent2, indexUsage);\n          if (indexType.flags & 296) {\n            usage.numberIndex = indexUsage;\n          } else {\n            usage.stringIndex = indexUsage;\n          }\n        }\n      }\n      function inferTypeFromPropertyAssignment(assignment, usage) {\n        const nodeWithRealType = isVariableDeclaration(assignment.parent.parent) ? assignment.parent.parent : assignment.parent;\n        addCandidateThisType(usage, checker.getTypeAtLocation(nodeWithRealType));\n      }\n      function inferTypeFromPropertyDeclaration(declaration, usage) {\n        addCandidateThisType(usage, checker.getTypeAtLocation(declaration.parent));\n      }\n      function removeLowPriorityInferences(inferences, priorities) {\n        const toRemove = [];\n        for (const i of inferences) {\n          for (const { high, low } of priorities) {\n            if (high(i)) {\n              Debug2.assert(!low(i), \"Priority can't have both low and high\");\n              toRemove.push(low);\n            }\n          }\n        }\n        return inferences.filter((i) => toRemove.every((f) => !f(i)));\n      }\n      function combineFromUsage(usage) {\n        return combineTypes(inferTypes(usage));\n      }\n      function combineTypes(inferences) {\n        if (!inferences.length)\n          return checker.getAnyType();\n        const stringNumber = checker.getUnionType([checker.getStringType(), checker.getNumberType()]);\n        const priorities = [\n          {\n            high: (t) => t === checker.getStringType() || t === checker.getNumberType(),\n            low: (t) => t === stringNumber\n          },\n          {\n            high: (t) => !(t.flags & (1 | 16384)),\n            low: (t) => !!(t.flags & (1 | 16384))\n          },\n          {\n            high: (t) => !(t.flags & (98304 | 1 | 16384)) && !(getObjectFlags(t) & 16),\n            low: (t) => !!(getObjectFlags(t) & 16)\n          }\n        ];\n        let good = removeLowPriorityInferences(inferences, priorities);\n        const anons = good.filter(\n          (i) => getObjectFlags(i) & 16\n          /* Anonymous */\n        );\n        if (anons.length) {\n          good = good.filter((i) => !(getObjectFlags(i) & 16));\n          good.push(combineAnonymousTypes(anons));\n        }\n        return checker.getWidenedType(checker.getUnionType(\n          good.map(checker.getBaseTypeOfLiteralType),\n          2\n          /* Subtype */\n        ));\n      }\n      function combineAnonymousTypes(anons) {\n        if (anons.length === 1) {\n          return anons[0];\n        }\n        const calls = [];\n        const constructs = [];\n        const stringIndices = [];\n        const numberIndices = [];\n        let stringIndexReadonly = false;\n        let numberIndexReadonly = false;\n        const props = createMultiMap();\n        for (const anon2 of anons) {\n          for (const p of checker.getPropertiesOfType(anon2)) {\n            props.add(p.name, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());\n          }\n          calls.push(...checker.getSignaturesOfType(\n            anon2,\n            0\n            /* Call */\n          ));\n          constructs.push(...checker.getSignaturesOfType(\n            anon2,\n            1\n            /* Construct */\n          ));\n          const stringIndexInfo = checker.getIndexInfoOfType(\n            anon2,\n            0\n            /* String */\n          );\n          if (stringIndexInfo) {\n            stringIndices.push(stringIndexInfo.type);\n            stringIndexReadonly = stringIndexReadonly || stringIndexInfo.isReadonly;\n          }\n          const numberIndexInfo = checker.getIndexInfoOfType(\n            anon2,\n            1\n            /* Number */\n          );\n          if (numberIndexInfo) {\n            numberIndices.push(numberIndexInfo.type);\n            numberIndexReadonly = numberIndexReadonly || numberIndexInfo.isReadonly;\n          }\n        }\n        const members = mapEntries(props, (name, types) => {\n          const isOptional = types.length < anons.length ? 16777216 : 0;\n          const s = checker.createSymbol(4 | isOptional, name);\n          s.links.type = checker.getUnionType(types);\n          return [name, s];\n        });\n        const indexInfos = [];\n        if (stringIndices.length)\n          indexInfos.push(checker.createIndexInfo(checker.getStringType(), checker.getUnionType(stringIndices), stringIndexReadonly));\n        if (numberIndices.length)\n          indexInfos.push(checker.createIndexInfo(checker.getNumberType(), checker.getUnionType(numberIndices), numberIndexReadonly));\n        return checker.createAnonymousType(\n          anons[0].symbol,\n          members,\n          calls,\n          constructs,\n          indexInfos\n        );\n      }\n      function inferTypes(usage) {\n        var _a22, _b3, _c;\n        const types = [];\n        if (usage.isNumber) {\n          types.push(checker.getNumberType());\n        }\n        if (usage.isString) {\n          types.push(checker.getStringType());\n        }\n        if (usage.isNumberOrString) {\n          types.push(checker.getUnionType([checker.getStringType(), checker.getNumberType()]));\n        }\n        if (usage.numberIndex) {\n          types.push(checker.createArrayType(combineFromUsage(usage.numberIndex)));\n        }\n        if (((_a22 = usage.properties) == null ? void 0 : _a22.size) || ((_b3 = usage.constructs) == null ? void 0 : _b3.length) || usage.stringIndex) {\n          types.push(inferStructuralType(usage));\n        }\n        const candidateTypes = (usage.candidateTypes || []).map((t) => checker.getBaseTypeOfLiteralType(t));\n        const callsType = ((_c = usage.calls) == null ? void 0 : _c.length) ? inferStructuralType(usage) : void 0;\n        if (callsType && candidateTypes) {\n          types.push(checker.getUnionType(\n            [callsType, ...candidateTypes],\n            2\n            /* Subtype */\n          ));\n        } else {\n          if (callsType) {\n            types.push(callsType);\n          }\n          if (length(candidateTypes)) {\n            types.push(...candidateTypes);\n          }\n        }\n        types.push(...inferNamedTypesFromProperties(usage));\n        return types;\n      }\n      function inferStructuralType(usage) {\n        const members = /* @__PURE__ */ new Map();\n        if (usage.properties) {\n          usage.properties.forEach((u, name) => {\n            const symbol = checker.createSymbol(4, name);\n            symbol.links.type = combineFromUsage(u);\n            members.set(name, symbol);\n          });\n        }\n        const callSignatures = usage.calls ? [getSignatureFromCalls(usage.calls)] : [];\n        const constructSignatures = usage.constructs ? [getSignatureFromCalls(usage.constructs)] : [];\n        const indexInfos = usage.stringIndex ? [checker.createIndexInfo(\n          checker.getStringType(),\n          combineFromUsage(usage.stringIndex),\n          /*isReadonly*/\n          false\n        )] : [];\n        return checker.createAnonymousType(\n          /*symbol*/\n          void 0,\n          members,\n          callSignatures,\n          constructSignatures,\n          indexInfos\n        );\n      }\n      function inferNamedTypesFromProperties(usage) {\n        if (!usage.properties || !usage.properties.size)\n          return [];\n        const types = builtins.filter((t) => allPropertiesAreAssignableToUsage(t, usage));\n        if (0 < types.length && types.length < 3) {\n          return types.map((t) => inferInstantiationFromUsage(t, usage));\n        }\n        return [];\n      }\n      function allPropertiesAreAssignableToUsage(type, usage) {\n        if (!usage.properties)\n          return false;\n        return !forEachEntry(usage.properties, (propUsage, name) => {\n          const source = checker.getTypeOfPropertyOfType(type, name);\n          if (!source) {\n            return true;\n          }\n          if (propUsage.calls) {\n            const sigs = checker.getSignaturesOfType(\n              source,\n              0\n              /* Call */\n            );\n            return !sigs.length || !checker.isTypeAssignableTo(source, getFunctionFromCalls(propUsage.calls));\n          } else {\n            return !checker.isTypeAssignableTo(source, combineFromUsage(propUsage));\n          }\n        });\n      }\n      function inferInstantiationFromUsage(type, usage) {\n        if (!(getObjectFlags(type) & 4) || !usage.properties) {\n          return type;\n        }\n        const generic = type.target;\n        const singleTypeParameter = singleOrUndefined(generic.typeParameters);\n        if (!singleTypeParameter)\n          return type;\n        const types = [];\n        usage.properties.forEach((propUsage, name) => {\n          const genericPropertyType = checker.getTypeOfPropertyOfType(generic, name);\n          Debug2.assert(!!genericPropertyType, \"generic should have all the properties of its reference.\");\n          types.push(...inferTypeParameters(genericPropertyType, combineFromUsage(propUsage), singleTypeParameter));\n        });\n        return builtinConstructors[type.symbol.escapedName](combineTypes(types));\n      }\n      function inferTypeParameters(genericType, usageType, typeParameter) {\n        if (genericType === typeParameter) {\n          return [usageType];\n        } else if (genericType.flags & 3145728) {\n          return flatMap(genericType.types, (t) => inferTypeParameters(t, usageType, typeParameter));\n        } else if (getObjectFlags(genericType) & 4 && getObjectFlags(usageType) & 4) {\n          const genericArgs = checker.getTypeArguments(genericType);\n          const usageArgs = checker.getTypeArguments(usageType);\n          const types = [];\n          if (genericArgs && usageArgs) {\n            for (let i = 0; i < genericArgs.length; i++) {\n              if (usageArgs[i]) {\n                types.push(...inferTypeParameters(genericArgs[i], usageArgs[i], typeParameter));\n              }\n            }\n          }\n          return types;\n        }\n        const genericSigs = checker.getSignaturesOfType(\n          genericType,\n          0\n          /* Call */\n        );\n        const usageSigs = checker.getSignaturesOfType(\n          usageType,\n          0\n          /* Call */\n        );\n        if (genericSigs.length === 1 && usageSigs.length === 1) {\n          return inferFromSignatures(genericSigs[0], usageSigs[0], typeParameter);\n        }\n        return [];\n      }\n      function inferFromSignatures(genericSig, usageSig, typeParameter) {\n        var _a22;\n        const types = [];\n        for (let i = 0; i < genericSig.parameters.length; i++) {\n          const genericParam = genericSig.parameters[i];\n          const usageParam = usageSig.parameters[i];\n          const isRest = genericSig.declaration && isRestParameter(genericSig.declaration.parameters[i]);\n          if (!usageParam) {\n            break;\n          }\n          let genericParamType = genericParam.valueDeclaration ? checker.getTypeOfSymbolAtLocation(genericParam, genericParam.valueDeclaration) : checker.getAnyType();\n          const elementType = isRest && checker.getElementTypeOfArrayType(genericParamType);\n          if (elementType) {\n            genericParamType = elementType;\n          }\n          const targetType = ((_a22 = tryCast(usageParam, isTransientSymbol)) == null ? void 0 : _a22.links.type) || (usageParam.valueDeclaration ? checker.getTypeOfSymbolAtLocation(usageParam, usageParam.valueDeclaration) : checker.getAnyType());\n          types.push(...inferTypeParameters(genericParamType, targetType, typeParameter));\n        }\n        const genericReturn = checker.getReturnTypeOfSignature(genericSig);\n        const usageReturn = checker.getReturnTypeOfSignature(usageSig);\n        types.push(...inferTypeParameters(genericReturn, usageReturn, typeParameter));\n        return types;\n      }\n      function getFunctionFromCalls(calls) {\n        return checker.createAnonymousType(\n          /*symbol*/\n          void 0,\n          createSymbolTable(),\n          [getSignatureFromCalls(calls)],\n          emptyArray,\n          emptyArray\n        );\n      }\n      function getSignatureFromCalls(calls) {\n        const parameters2 = [];\n        const length2 = Math.max(...calls.map((c) => c.argumentTypes.length));\n        for (let i = 0; i < length2; i++) {\n          const symbol = checker.createSymbol(1, escapeLeadingUnderscores(`arg${i}`));\n          symbol.links.type = combineTypes(calls.map((call) => call.argumentTypes[i] || checker.getUndefinedType()));\n          if (calls.some((call) => call.argumentTypes[i] === void 0)) {\n            symbol.flags |= 16777216;\n          }\n          parameters2.push(symbol);\n        }\n        const returnType = combineFromUsage(combineUsages(calls.map((call) => call.return_)));\n        return checker.createSignature(\n          /*declaration*/\n          void 0,\n          /*typeParameters*/\n          void 0,\n          /*thisParameter*/\n          void 0,\n          parameters2,\n          returnType,\n          /*typePredicate*/\n          void 0,\n          length2,\n          0\n          /* None */\n        );\n      }\n      function addCandidateType(usage, type) {\n        if (type && !(type.flags & 1) && !(type.flags & 131072)) {\n          (usage.candidateTypes || (usage.candidateTypes = [])).push(type);\n        }\n      }\n      function addCandidateThisType(usage, type) {\n        if (type && !(type.flags & 1) && !(type.flags & 131072)) {\n          (usage.candidateThisTypes || (usage.candidateThisTypes = [])).push(type);\n        }\n      }\n    }\n    var fixId37, errorCodes47;\n    var init_inferFromUsage = __esm({\n      \"src/services/codefixes/inferFromUsage.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId37 = \"inferFromUsage\";\n        errorCodes47 = [\n          // Variable declarations\n          Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,\n          // Variable uses\n          Diagnostics.Variable_0_implicitly_has_an_1_type.code,\n          // Parameter declarations\n          Diagnostics.Parameter_0_implicitly_has_an_1_type.code,\n          Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,\n          // Get Accessor declarations\n          Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,\n          Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,\n          // Set Accessor declarations\n          Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,\n          // Property declarations\n          Diagnostics.Member_0_implicitly_has_an_1_type.code,\n          //// Suggestions\n          // Variable declarations\n          Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,\n          // Variable uses\n          Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,\n          // Parameter declarations\n          Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,\n          Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,\n          // Get Accessor declarations\n          Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,\n          Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,\n          // Set Accessor declarations\n          Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,\n          // Property declarations\n          Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,\n          // Function expressions and declarations\n          Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes47,\n          getCodeActions(context) {\n            const { sourceFile, program, span: { start }, errorCode, cancellationToken, host, preferences } = context;\n            const token = getTokenAtPosition(sourceFile, start);\n            let declaration;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n              declaration = doChange24(\n                changes2,\n                sourceFile,\n                token,\n                errorCode,\n                program,\n                cancellationToken,\n                /*markSeen*/\n                returnTrue,\n                host,\n                preferences\n              );\n            });\n            const name = declaration && getNameOfDeclaration(declaration);\n            return !name || changes.length === 0 ? void 0 : [createCodeFixAction(fixId37, changes, [getDiagnostic(errorCode, token), getTextOfNode(name)], fixId37, Diagnostics.Infer_all_types_from_usage)];\n          },\n          fixIds: [fixId37],\n          getAllCodeActions(context) {\n            const { sourceFile, program, cancellationToken, host, preferences } = context;\n            const markSeen = nodeSeenTracker();\n            return codeFixAll(context, errorCodes47, (changes, err) => {\n              doChange24(changes, sourceFile, getTokenAtPosition(err.file, err.start), err.code, program, cancellationToken, markSeen, host, preferences);\n            });\n          }\n        });\n      }\n    });\n    function getInfo12(sourceFile, checker, pos) {\n      if (isInJSFile(sourceFile)) {\n        return void 0;\n      }\n      const token = getTokenAtPosition(sourceFile, pos);\n      const func = findAncestor(token, isFunctionLikeDeclaration);\n      const returnTypeNode = func == null ? void 0 : func.type;\n      if (!returnTypeNode) {\n        return void 0;\n      }\n      const returnType = checker.getTypeFromTypeNode(returnTypeNode);\n      const promisedType = checker.getAwaitedType(returnType) || checker.getVoidType();\n      const promisedTypeNode = checker.typeToTypeNode(\n        promisedType,\n        /*enclosingDeclaration*/\n        returnTypeNode,\n        /*flags*/\n        void 0\n      );\n      if (promisedTypeNode) {\n        return { returnTypeNode, returnType, promisedTypeNode, promisedType };\n      }\n    }\n    function doChange25(changes, sourceFile, returnTypeNode, promisedTypeNode) {\n      changes.replaceNode(sourceFile, returnTypeNode, factory.createTypeReferenceNode(\"Promise\", [promisedTypeNode]));\n    }\n    var fixId38, errorCodes48;\n    var init_fixReturnTypeInAsyncFunction = __esm({\n      \"src/services/codefixes/fixReturnTypeInAsyncFunction.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId38 = \"fixReturnTypeInAsyncFunction\";\n        errorCodes48 = [\n          Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes48,\n          fixIds: [fixId38],\n          getCodeActions: function getCodeActionsToFixReturnTypeInAsyncFunction(context) {\n            const { sourceFile, program, span } = context;\n            const checker = program.getTypeChecker();\n            const info = getInfo12(sourceFile, program.getTypeChecker(), span.start);\n            if (!info) {\n              return void 0;\n            }\n            const { returnTypeNode, returnType, promisedTypeNode, promisedType } = info;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange25(t, sourceFile, returnTypeNode, promisedTypeNode));\n            return [createCodeFixAction(\n              fixId38,\n              changes,\n              [\n                Diagnostics.Replace_0_with_Promise_1,\n                checker.typeToString(returnType),\n                checker.typeToString(promisedType)\n              ],\n              fixId38,\n              Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions\n            )];\n          },\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes48, (changes, diag2) => {\n            const info = getInfo12(diag2.file, context.program.getTypeChecker(), diag2.start);\n            if (info) {\n              doChange25(changes, diag2.file, info.returnTypeNode, info.promisedTypeNode);\n            }\n          })\n        });\n      }\n    });\n    function makeChange8(changes, sourceFile, position, seenLines) {\n      const { line: lineNumber } = getLineAndCharacterOfPosition(sourceFile, position);\n      if (!seenLines || tryAddToSet(seenLines, lineNumber)) {\n        changes.insertCommentBeforeLine(sourceFile, lineNumber, position, \" @ts-ignore\");\n      }\n    }\n    var fixName4, fixId39, errorCodes49;\n    var init_disableJsDiagnostics = __esm({\n      \"src/services/codefixes/disableJsDiagnostics.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName4 = \"disableJsDiagnostics\";\n        fixId39 = \"disableJsDiagnostics\";\n        errorCodes49 = mapDefined(Object.keys(Diagnostics), (key) => {\n          const diag2 = Diagnostics[key];\n          return diag2.category === 1 ? diag2.code : void 0;\n        });\n        registerCodeFix({\n          errorCodes: errorCodes49,\n          getCodeActions: function getCodeActionsToDisableJsDiagnostics(context) {\n            const { sourceFile, program, span, host, formatContext } = context;\n            if (!isInJSFile(sourceFile) || !isCheckJsEnabledForFile(sourceFile, program.getCompilerOptions())) {\n              return void 0;\n            }\n            const newLineCharacter = sourceFile.checkJsDirective ? \"\" : getNewLineOrDefaultFromHost(host, formatContext.options);\n            const fixes = [\n              // fixId unnecessary because adding `// @ts-nocheck` even once will ignore every error in the file.\n              createCodeFixActionWithoutFixAll(\n                fixName4,\n                [createFileTextChanges(sourceFile.fileName, [\n                  createTextChange(sourceFile.checkJsDirective ? createTextSpanFromBounds(sourceFile.checkJsDirective.pos, sourceFile.checkJsDirective.end) : createTextSpan(0, 0), `// @ts-nocheck${newLineCharacter}`)\n                ])],\n                Diagnostics.Disable_checking_for_this_file\n              )\n            ];\n            if (ts_textChanges_exports.isValidLocationToAddComment(sourceFile, span.start)) {\n              fixes.unshift(createCodeFixAction(fixName4, ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange8(t, sourceFile, span.start)), Diagnostics.Ignore_this_error_message, fixId39, Diagnostics.Add_ts_ignore_to_all_error_messages));\n            }\n            return fixes;\n          },\n          fixIds: [fixId39],\n          getAllCodeActions: (context) => {\n            const seenLines = /* @__PURE__ */ new Set();\n            return codeFixAll(context, errorCodes49, (changes, diag2) => {\n              if (ts_textChanges_exports.isValidLocationToAddComment(diag2.file, diag2.start)) {\n                makeChange8(changes, diag2.file, diag2.start, seenLines);\n              }\n            });\n          }\n        });\n      }\n    });\n    function createMissingMemberNodes(classDeclaration, possiblyMissingSymbols, sourceFile, context, preferences, importAdder, addClassElement) {\n      const classMembers = classDeclaration.symbol.members;\n      for (const symbol of possiblyMissingSymbols) {\n        if (!classMembers.has(symbol.escapedName)) {\n          addNewNodeForMemberSymbol(\n            symbol,\n            classDeclaration,\n            sourceFile,\n            context,\n            preferences,\n            importAdder,\n            addClassElement,\n            /* body */\n            void 0\n          );\n        }\n      }\n    }\n    function getNoopSymbolTrackerWithResolver(context) {\n      return {\n        trackSymbol: () => false,\n        moduleResolverHost: getModuleSpecifierResolverHost(context.program, context.host)\n      };\n    }\n    function addNewNodeForMemberSymbol(symbol, enclosingDeclaration, sourceFile, context, preferences, importAdder, addClassElement, body, preserveOptional = 3, isAmbient = false) {\n      var _a22;\n      const declarations = symbol.getDeclarations();\n      const declaration = declarations == null ? void 0 : declarations[0];\n      const checker = context.program.getTypeChecker();\n      const scriptTarget = getEmitScriptTarget(context.program.getCompilerOptions());\n      const kind = (_a22 = declaration == null ? void 0 : declaration.kind) != null ? _a22 : 168;\n      const declarationName = getSynthesizedDeepClone(\n        getNameOfDeclaration(declaration),\n        /*includeTrivia*/\n        false\n      );\n      const effectiveModifierFlags = declaration ? getEffectiveModifierFlags(declaration) : 0;\n      let modifierFlags = effectiveModifierFlags & 4 ? 4 : effectiveModifierFlags & 16 ? 16 : 0;\n      if (declaration && isAutoAccessorPropertyDeclaration(declaration)) {\n        modifierFlags |= 128;\n      }\n      const modifiers = createModifiers();\n      const type = checker.getWidenedType(checker.getTypeOfSymbolAtLocation(symbol, enclosingDeclaration));\n      const optional = !!(symbol.flags & 16777216);\n      const ambient = !!(enclosingDeclaration.flags & 16777216) || isAmbient;\n      const quotePreference = getQuotePreference(sourceFile, preferences);\n      switch (kind) {\n        case 168:\n        case 169:\n          const flags = quotePreference === 0 ? 268435456 : void 0;\n          let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, flags, getNoopSymbolTrackerWithResolver(context));\n          if (importAdder) {\n            const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);\n            if (importableReference) {\n              typeNode = importableReference.typeNode;\n              importSymbols(importAdder, importableReference.symbols);\n            }\n          }\n          addClassElement(factory.createPropertyDeclaration(\n            modifiers,\n            declaration ? createName(declarationName) : symbol.getName(),\n            optional && preserveOptional & 2 ? factory.createToken(\n              57\n              /* QuestionToken */\n            ) : void 0,\n            typeNode,\n            /*initializer*/\n            void 0\n          ));\n          break;\n        case 174:\n        case 175: {\n          Debug2.assertIsDefined(declarations);\n          let typeNode2 = checker.typeToTypeNode(\n            type,\n            enclosingDeclaration,\n            /*flags*/\n            void 0,\n            getNoopSymbolTrackerWithResolver(context)\n          );\n          const allAccessors = getAllAccessorDeclarations(declarations, declaration);\n          const orderedAccessors = allAccessors.secondAccessor ? [allAccessors.firstAccessor, allAccessors.secondAccessor] : [allAccessors.firstAccessor];\n          if (importAdder) {\n            const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode2, scriptTarget);\n            if (importableReference) {\n              typeNode2 = importableReference.typeNode;\n              importSymbols(importAdder, importableReference.symbols);\n            }\n          }\n          for (const accessor of orderedAccessors) {\n            if (isGetAccessorDeclaration(accessor)) {\n              addClassElement(factory.createGetAccessorDeclaration(\n                modifiers,\n                createName(declarationName),\n                emptyArray,\n                createTypeNode(typeNode2),\n                createBody(body, quotePreference, ambient)\n              ));\n            } else {\n              Debug2.assertNode(accessor, isSetAccessorDeclaration, \"The counterpart to a getter should be a setter\");\n              const parameter = getSetAccessorValueParameter(accessor);\n              const parameterName = parameter && isIdentifier(parameter.name) ? idText(parameter.name) : void 0;\n              addClassElement(factory.createSetAccessorDeclaration(\n                modifiers,\n                createName(declarationName),\n                createDummyParameters(\n                  1,\n                  [parameterName],\n                  [createTypeNode(typeNode2)],\n                  1,\n                  /*inJs*/\n                  false\n                ),\n                createBody(body, quotePreference, ambient)\n              ));\n            }\n          }\n          break;\n        }\n        case 170:\n        case 171:\n          Debug2.assertIsDefined(declarations);\n          const signatures = type.isUnion() ? flatMap(type.types, (t) => t.getCallSignatures()) : type.getCallSignatures();\n          if (!some(signatures)) {\n            break;\n          }\n          if (declarations.length === 1) {\n            Debug2.assert(signatures.length === 1, \"One declaration implies one signature\");\n            const signature = signatures[0];\n            outputMethod(quotePreference, signature, modifiers, createName(declarationName), createBody(body, quotePreference, ambient));\n            break;\n          }\n          for (const signature of signatures) {\n            outputMethod(quotePreference, signature, modifiers, createName(declarationName));\n          }\n          if (!ambient) {\n            if (declarations.length > signatures.length) {\n              const signature = checker.getSignatureFromDeclaration(declarations[declarations.length - 1]);\n              outputMethod(quotePreference, signature, modifiers, createName(declarationName), createBody(body, quotePreference));\n            } else {\n              Debug2.assert(declarations.length === signatures.length, \"Declarations and signatures should match count\");\n              addClassElement(createMethodImplementingSignatures(checker, context, enclosingDeclaration, signatures, createName(declarationName), optional && !!(preserveOptional & 1), modifiers, quotePreference, body));\n            }\n          }\n          break;\n      }\n      function outputMethod(quotePreference2, signature, modifiers2, name, body2) {\n        const method = createSignatureDeclarationFromSignature(171, context, quotePreference2, signature, body2, name, modifiers2, optional && !!(preserveOptional & 1), enclosingDeclaration, importAdder);\n        if (method)\n          addClassElement(method);\n      }\n      function createModifiers() {\n        let modifiers2;\n        if (modifierFlags) {\n          modifiers2 = combine(modifiers2, factory.createModifiersFromModifierFlags(modifierFlags));\n        }\n        if (shouldAddOverrideKeyword()) {\n          modifiers2 = append(modifiers2, factory.createToken(\n            161\n            /* OverrideKeyword */\n          ));\n        }\n        return modifiers2 && factory.createNodeArray(modifiers2);\n      }\n      function shouldAddOverrideKeyword() {\n        return !!(context.program.getCompilerOptions().noImplicitOverride && declaration && hasAbstractModifier(declaration));\n      }\n      function createName(node) {\n        if (isIdentifier(node) && node.escapedText === \"constructor\") {\n          return factory.createComputedPropertyName(factory.createStringLiteral(\n            idText(node),\n            quotePreference === 0\n            /* Single */\n          ));\n        }\n        return getSynthesizedDeepClone(\n          node,\n          /*includeTrivia*/\n          false\n        );\n      }\n      function createBody(block, quotePreference2, ambient2) {\n        return ambient2 ? void 0 : getSynthesizedDeepClone(\n          block,\n          /*includeTrivia*/\n          false\n        ) || createStubbedMethodBody(quotePreference2);\n      }\n      function createTypeNode(typeNode) {\n        return getSynthesizedDeepClone(\n          typeNode,\n          /*includeTrivia*/\n          false\n        );\n      }\n    }\n    function createSignatureDeclarationFromSignature(kind, context, quotePreference, signature, body, name, modifiers, optional, enclosingDeclaration, importAdder) {\n      const program = context.program;\n      const checker = program.getTypeChecker();\n      const scriptTarget = getEmitScriptTarget(program.getCompilerOptions());\n      const isJs = isInJSFile(enclosingDeclaration);\n      const flags = 1 | 256 | 524288 | (quotePreference === 0 ? 268435456 : 0);\n      const signatureDeclaration = checker.signatureToSignatureDeclaration(signature, kind, enclosingDeclaration, flags, getNoopSymbolTrackerWithResolver(context));\n      if (!signatureDeclaration) {\n        return void 0;\n      }\n      let typeParameters = isJs ? void 0 : signatureDeclaration.typeParameters;\n      let parameters = signatureDeclaration.parameters;\n      let type = isJs ? void 0 : signatureDeclaration.type;\n      if (importAdder) {\n        if (typeParameters) {\n          const newTypeParameters = sameMap(typeParameters, (typeParameterDecl) => {\n            let constraint = typeParameterDecl.constraint;\n            let defaultType = typeParameterDecl.default;\n            if (constraint) {\n              const importableReference = tryGetAutoImportableReferenceFromTypeNode(constraint, scriptTarget);\n              if (importableReference) {\n                constraint = importableReference.typeNode;\n                importSymbols(importAdder, importableReference.symbols);\n              }\n            }\n            if (defaultType) {\n              const importableReference = tryGetAutoImportableReferenceFromTypeNode(defaultType, scriptTarget);\n              if (importableReference) {\n                defaultType = importableReference.typeNode;\n                importSymbols(importAdder, importableReference.symbols);\n              }\n            }\n            return factory.updateTypeParameterDeclaration(\n              typeParameterDecl,\n              typeParameterDecl.modifiers,\n              typeParameterDecl.name,\n              constraint,\n              defaultType\n            );\n          });\n          if (typeParameters !== newTypeParameters) {\n            typeParameters = setTextRange(factory.createNodeArray(newTypeParameters, typeParameters.hasTrailingComma), typeParameters);\n          }\n        }\n        const newParameters = sameMap(parameters, (parameterDecl) => {\n          let type2 = isJs ? void 0 : parameterDecl.type;\n          if (type2) {\n            const importableReference = tryGetAutoImportableReferenceFromTypeNode(type2, scriptTarget);\n            if (importableReference) {\n              type2 = importableReference.typeNode;\n              importSymbols(importAdder, importableReference.symbols);\n            }\n          }\n          return factory.updateParameterDeclaration(\n            parameterDecl,\n            parameterDecl.modifiers,\n            parameterDecl.dotDotDotToken,\n            parameterDecl.name,\n            isJs ? void 0 : parameterDecl.questionToken,\n            type2,\n            parameterDecl.initializer\n          );\n        });\n        if (parameters !== newParameters) {\n          parameters = setTextRange(factory.createNodeArray(newParameters, parameters.hasTrailingComma), parameters);\n        }\n        if (type) {\n          const importableReference = tryGetAutoImportableReferenceFromTypeNode(type, scriptTarget);\n          if (importableReference) {\n            type = importableReference.typeNode;\n            importSymbols(importAdder, importableReference.symbols);\n          }\n        }\n      }\n      const questionToken = optional ? factory.createToken(\n        57\n        /* QuestionToken */\n      ) : void 0;\n      const asteriskToken = signatureDeclaration.asteriskToken;\n      if (isFunctionExpression(signatureDeclaration)) {\n        return factory.updateFunctionExpression(signatureDeclaration, modifiers, signatureDeclaration.asteriskToken, tryCast(name, isIdentifier), typeParameters, parameters, type, body != null ? body : signatureDeclaration.body);\n      }\n      if (isArrowFunction(signatureDeclaration)) {\n        return factory.updateArrowFunction(signatureDeclaration, modifiers, typeParameters, parameters, type, signatureDeclaration.equalsGreaterThanToken, body != null ? body : signatureDeclaration.body);\n      }\n      if (isMethodDeclaration(signatureDeclaration)) {\n        return factory.updateMethodDeclaration(signatureDeclaration, modifiers, asteriskToken, name != null ? name : factory.createIdentifier(\"\"), questionToken, typeParameters, parameters, type, body);\n      }\n      if (isFunctionDeclaration(signatureDeclaration)) {\n        return factory.updateFunctionDeclaration(signatureDeclaration, modifiers, signatureDeclaration.asteriskToken, tryCast(name, isIdentifier), typeParameters, parameters, type, body != null ? body : signatureDeclaration.body);\n      }\n      return void 0;\n    }\n    function createSignatureDeclarationFromCallExpression(kind, context, importAdder, call, name, modifierFlags, contextNode) {\n      const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n      const scriptTarget = getEmitScriptTarget(context.program.getCompilerOptions());\n      const tracker = getNoopSymbolTrackerWithResolver(context);\n      const checker = context.program.getTypeChecker();\n      const isJs = isInJSFile(contextNode);\n      const { typeArguments, arguments: args, parent: parent2 } = call;\n      const contextualType = isJs ? void 0 : checker.getContextualType(call);\n      const names = map(args, (arg) => isIdentifier(arg) ? arg.text : isPropertyAccessExpression(arg) && isIdentifier(arg.name) ? arg.name.text : void 0);\n      const instanceTypes = isJs ? [] : map(args, (arg) => checker.getTypeAtLocation(arg));\n      const { argumentTypeNodes, argumentTypeParameters } = getArgumentTypesAndTypeParameters(\n        checker,\n        importAdder,\n        instanceTypes,\n        contextNode,\n        scriptTarget,\n        /*flags*/\n        void 0,\n        tracker\n      );\n      const modifiers = modifierFlags ? factory.createNodeArray(factory.createModifiersFromModifierFlags(modifierFlags)) : void 0;\n      const asteriskToken = isYieldExpression(parent2) ? factory.createToken(\n        41\n        /* AsteriskToken */\n      ) : void 0;\n      const typeParameters = isJs ? void 0 : createTypeParametersForArguments(checker, argumentTypeParameters, typeArguments);\n      const parameters = createDummyParameters(\n        args.length,\n        names,\n        argumentTypeNodes,\n        /*minArgumentCount*/\n        void 0,\n        isJs\n      );\n      const type = isJs || contextualType === void 0 ? void 0 : checker.typeToTypeNode(\n        contextualType,\n        contextNode,\n        /*flags*/\n        void 0,\n        tracker\n      );\n      switch (kind) {\n        case 171:\n          return factory.createMethodDeclaration(\n            modifiers,\n            asteriskToken,\n            name,\n            /*questionToken*/\n            void 0,\n            typeParameters,\n            parameters,\n            type,\n            createStubbedMethodBody(quotePreference)\n          );\n        case 170:\n          return factory.createMethodSignature(\n            modifiers,\n            name,\n            /*questionToken*/\n            void 0,\n            typeParameters,\n            parameters,\n            type === void 0 ? factory.createKeywordTypeNode(\n              157\n              /* UnknownKeyword */\n            ) : type\n          );\n        case 259:\n          return factory.createFunctionDeclaration(\n            modifiers,\n            asteriskToken,\n            name,\n            typeParameters,\n            parameters,\n            type,\n            createStubbedBody(Diagnostics.Function_not_implemented.message, quotePreference)\n          );\n        default:\n          Debug2.fail(\"Unexpected kind\");\n      }\n    }\n    function createTypeParametersForArguments(checker, argumentTypeParameters, typeArguments) {\n      const usedNames = new Set(argumentTypeParameters.map((pair) => pair[0]));\n      const constraintsByName = new Map(argumentTypeParameters);\n      if (typeArguments) {\n        const typeArgumentsWithNewTypes = typeArguments.filter((typeArgument) => !argumentTypeParameters.some((pair) => {\n          var _a22;\n          return checker.getTypeAtLocation(typeArgument) === ((_a22 = pair[1]) == null ? void 0 : _a22.argumentType);\n        }));\n        const targetSize = usedNames.size + typeArgumentsWithNewTypes.length;\n        for (let i = 0; usedNames.size < targetSize; i += 1) {\n          usedNames.add(createTypeParameterName(i));\n        }\n      }\n      return arrayFrom(\n        usedNames.values(),\n        (usedName) => {\n          var _a22;\n          return factory.createTypeParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            usedName,\n            (_a22 = constraintsByName.get(usedName)) == null ? void 0 : _a22.constraint\n          );\n        }\n      );\n    }\n    function createTypeParameterName(index) {\n      return 84 + index <= 90 ? String.fromCharCode(84 + index) : `T${index}`;\n    }\n    function typeToAutoImportableTypeNode(checker, importAdder, type, contextNode, scriptTarget, flags, tracker) {\n      let typeNode = checker.typeToTypeNode(type, contextNode, flags, tracker);\n      if (typeNode && isImportTypeNode(typeNode)) {\n        const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);\n        if (importableReference) {\n          importSymbols(importAdder, importableReference.symbols);\n          typeNode = importableReference.typeNode;\n        }\n      }\n      return getSynthesizedDeepClone(typeNode);\n    }\n    function typeContainsTypeParameter(type) {\n      if (type.isUnionOrIntersection()) {\n        return type.types.some(typeContainsTypeParameter);\n      }\n      return type.flags & 262144;\n    }\n    function getArgumentTypesAndTypeParameters(checker, importAdder, instanceTypes, contextNode, scriptTarget, flags, tracker) {\n      const argumentTypeNodes = [];\n      const argumentTypeParameters = /* @__PURE__ */ new Map();\n      for (let i = 0; i < instanceTypes.length; i += 1) {\n        const instanceType = instanceTypes[i];\n        if (instanceType.isUnionOrIntersection() && instanceType.types.some(typeContainsTypeParameter)) {\n          const synthesizedTypeParameterName = createTypeParameterName(i);\n          argumentTypeNodes.push(factory.createTypeReferenceNode(synthesizedTypeParameterName));\n          argumentTypeParameters.set(synthesizedTypeParameterName, void 0);\n          continue;\n        }\n        const widenedInstanceType = checker.getBaseTypeOfLiteralType(instanceType);\n        const argumentTypeNode = typeToAutoImportableTypeNode(checker, importAdder, widenedInstanceType, contextNode, scriptTarget, flags, tracker);\n        if (!argumentTypeNode) {\n          continue;\n        }\n        argumentTypeNodes.push(argumentTypeNode);\n        const argumentTypeParameter = getFirstTypeParameterName(instanceType);\n        const instanceTypeConstraint = instanceType.isTypeParameter() && instanceType.constraint && !isAnonymousObjectConstraintType(instanceType.constraint) ? typeToAutoImportableTypeNode(checker, importAdder, instanceType.constraint, contextNode, scriptTarget, flags, tracker) : void 0;\n        if (argumentTypeParameter) {\n          argumentTypeParameters.set(argumentTypeParameter, { argumentType: instanceType, constraint: instanceTypeConstraint });\n        }\n      }\n      return { argumentTypeNodes, argumentTypeParameters: arrayFrom(argumentTypeParameters.entries()) };\n    }\n    function isAnonymousObjectConstraintType(type) {\n      return type.flags & 524288 && type.objectFlags === 16;\n    }\n    function getFirstTypeParameterName(type) {\n      var _a22;\n      if (type.flags & (1048576 | 2097152)) {\n        for (const subType of type.types) {\n          const subTypeName = getFirstTypeParameterName(subType);\n          if (subTypeName) {\n            return subTypeName;\n          }\n        }\n      }\n      return type.flags & 262144 ? (_a22 = type.getSymbol()) == null ? void 0 : _a22.getName() : void 0;\n    }\n    function createDummyParameters(argCount, names, types, minArgumentCount, inJs) {\n      const parameters = [];\n      const parameterNameCounts = /* @__PURE__ */ new Map();\n      for (let i = 0; i < argCount; i++) {\n        const parameterName = (names == null ? void 0 : names[i]) || `arg${i}`;\n        const parameterNameCount = parameterNameCounts.get(parameterName);\n        parameterNameCounts.set(parameterName, (parameterNameCount || 0) + 1);\n        const newParameter = factory.createParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          /*dotDotDotToken*/\n          void 0,\n          /*name*/\n          parameterName + (parameterNameCount || \"\"),\n          /*questionToken*/\n          minArgumentCount !== void 0 && i >= minArgumentCount ? factory.createToken(\n            57\n            /* QuestionToken */\n          ) : void 0,\n          /*type*/\n          inJs ? void 0 : (types == null ? void 0 : types[i]) || factory.createKeywordTypeNode(\n            157\n            /* UnknownKeyword */\n          ),\n          /*initializer*/\n          void 0\n        );\n        parameters.push(newParameter);\n      }\n      return parameters;\n    }\n    function createMethodImplementingSignatures(checker, context, enclosingDeclaration, signatures, name, optional, modifiers, quotePreference, body) {\n      let maxArgsSignature = signatures[0];\n      let minArgumentCount = signatures[0].minArgumentCount;\n      let someSigHasRestParameter = false;\n      for (const sig of signatures) {\n        minArgumentCount = Math.min(sig.minArgumentCount, minArgumentCount);\n        if (signatureHasRestParameter(sig)) {\n          someSigHasRestParameter = true;\n        }\n        if (sig.parameters.length >= maxArgsSignature.parameters.length && (!signatureHasRestParameter(sig) || signatureHasRestParameter(maxArgsSignature))) {\n          maxArgsSignature = sig;\n        }\n      }\n      const maxNonRestArgs = maxArgsSignature.parameters.length - (signatureHasRestParameter(maxArgsSignature) ? 1 : 0);\n      const maxArgsParameterSymbolNames = maxArgsSignature.parameters.map((symbol) => symbol.name);\n      const parameters = createDummyParameters(\n        maxNonRestArgs,\n        maxArgsParameterSymbolNames,\n        /* types */\n        void 0,\n        minArgumentCount,\n        /*inJs*/\n        false\n      );\n      if (someSigHasRestParameter) {\n        const restParameter = factory.createParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          factory.createToken(\n            25\n            /* DotDotDotToken */\n          ),\n          maxArgsParameterSymbolNames[maxNonRestArgs] || \"rest\",\n          /*questionToken*/\n          maxNonRestArgs >= minArgumentCount ? factory.createToken(\n            57\n            /* QuestionToken */\n          ) : void 0,\n          factory.createArrayTypeNode(factory.createKeywordTypeNode(\n            157\n            /* UnknownKeyword */\n          )),\n          /*initializer*/\n          void 0\n        );\n        parameters.push(restParameter);\n      }\n      return createStubbedMethod(\n        modifiers,\n        name,\n        optional,\n        /*typeParameters*/\n        void 0,\n        parameters,\n        getReturnTypeFromSignatures(signatures, checker, context, enclosingDeclaration),\n        quotePreference,\n        body\n      );\n    }\n    function getReturnTypeFromSignatures(signatures, checker, context, enclosingDeclaration) {\n      if (length(signatures)) {\n        const type = checker.getUnionType(map(signatures, checker.getReturnTypeOfSignature));\n        return checker.typeToTypeNode(type, enclosingDeclaration, 1, getNoopSymbolTrackerWithResolver(context));\n      }\n    }\n    function createStubbedMethod(modifiers, name, optional, typeParameters, parameters, returnType, quotePreference, body) {\n      return factory.createMethodDeclaration(\n        modifiers,\n        /*asteriskToken*/\n        void 0,\n        name,\n        optional ? factory.createToken(\n          57\n          /* QuestionToken */\n        ) : void 0,\n        typeParameters,\n        parameters,\n        returnType,\n        body || createStubbedMethodBody(quotePreference)\n      );\n    }\n    function createStubbedMethodBody(quotePreference) {\n      return createStubbedBody(Diagnostics.Method_not_implemented.message, quotePreference);\n    }\n    function createStubbedBody(text, quotePreference) {\n      return factory.createBlock(\n        [factory.createThrowStatement(\n          factory.createNewExpression(\n            factory.createIdentifier(\"Error\"),\n            /*typeArguments*/\n            void 0,\n            // TODO Handle auto quote preference.\n            [factory.createStringLiteral(\n              text,\n              /*isSingleQuote*/\n              quotePreference === 0\n              /* Single */\n            )]\n          )\n        )],\n        /*multiline*/\n        true\n      );\n    }\n    function setJsonCompilerOptionValues(changeTracker, configFile, options) {\n      const tsconfigObjectLiteral = getTsConfigObjectLiteralExpression(configFile);\n      if (!tsconfigObjectLiteral)\n        return void 0;\n      const compilerOptionsProperty = findJsonProperty(tsconfigObjectLiteral, \"compilerOptions\");\n      if (compilerOptionsProperty === void 0) {\n        changeTracker.insertNodeAtObjectStart(configFile, tsconfigObjectLiteral, createJsonPropertyAssignment(\n          \"compilerOptions\",\n          factory.createObjectLiteralExpression(\n            options.map(([optionName, optionValue]) => createJsonPropertyAssignment(optionName, optionValue)),\n            /*multiLine*/\n            true\n          )\n        ));\n        return;\n      }\n      const compilerOptions = compilerOptionsProperty.initializer;\n      if (!isObjectLiteralExpression(compilerOptions)) {\n        return;\n      }\n      for (const [optionName, optionValue] of options) {\n        const optionProperty = findJsonProperty(compilerOptions, optionName);\n        if (optionProperty === void 0) {\n          changeTracker.insertNodeAtObjectStart(configFile, compilerOptions, createJsonPropertyAssignment(optionName, optionValue));\n        } else {\n          changeTracker.replaceNode(configFile, optionProperty.initializer, optionValue);\n        }\n      }\n    }\n    function setJsonCompilerOptionValue(changeTracker, configFile, optionName, optionValue) {\n      setJsonCompilerOptionValues(changeTracker, configFile, [[optionName, optionValue]]);\n    }\n    function createJsonPropertyAssignment(name, initializer) {\n      return factory.createPropertyAssignment(factory.createStringLiteral(name), initializer);\n    }\n    function findJsonProperty(obj, name) {\n      return find(obj.properties, (p) => isPropertyAssignment(p) && !!p.name && isStringLiteral(p.name) && p.name.text === name);\n    }\n    function tryGetAutoImportableReferenceFromTypeNode(importTypeNode, scriptTarget) {\n      let symbols;\n      const typeNode = visitNode(importTypeNode, visit, isTypeNode);\n      if (symbols && typeNode) {\n        return { typeNode, symbols };\n      }\n      function visit(node) {\n        if (isLiteralImportTypeNode(node) && node.qualifier) {\n          const firstIdentifier = getFirstIdentifier(node.qualifier);\n          const name = getNameForExportedSymbol(firstIdentifier.symbol, scriptTarget);\n          const qualifier = name !== firstIdentifier.text ? replaceFirstIdentifierOfEntityName(node.qualifier, factory.createIdentifier(name)) : node.qualifier;\n          symbols = append(symbols, firstIdentifier.symbol);\n          const typeArguments = visitNodes2(node.typeArguments, visit, isTypeNode);\n          return factory.createTypeReferenceNode(qualifier, typeArguments);\n        }\n        return visitEachChild(node, visit, nullTransformationContext);\n      }\n    }\n    function replaceFirstIdentifierOfEntityName(name, newIdentifier) {\n      if (name.kind === 79) {\n        return newIdentifier;\n      }\n      return factory.createQualifiedName(replaceFirstIdentifierOfEntityName(name.left, newIdentifier), name.right);\n    }\n    function importSymbols(importAdder, symbols) {\n      symbols.forEach((s) => importAdder.addImportFromExportedSymbol(\n        s,\n        /*isValidTypeOnlyUseSite*/\n        true\n      ));\n    }\n    function findAncestorMatchingSpan(sourceFile, span) {\n      const end = textSpanEnd(span);\n      let token = getTokenAtPosition(sourceFile, span.start);\n      while (token.end < end) {\n        token = token.parent;\n      }\n      return token;\n    }\n    var PreserveOptionalFlags;\n    var init_helpers = __esm({\n      \"src/services/codefixes/helpers.ts\"() {\n        \"use strict\";\n        init_ts4();\n        PreserveOptionalFlags = /* @__PURE__ */ ((PreserveOptionalFlags2) => {\n          PreserveOptionalFlags2[PreserveOptionalFlags2[\"Method\"] = 1] = \"Method\";\n          PreserveOptionalFlags2[PreserveOptionalFlags2[\"Property\"] = 2] = \"Property\";\n          PreserveOptionalFlags2[PreserveOptionalFlags2[\"All\"] = 3] = \"All\";\n          return PreserveOptionalFlags2;\n        })(PreserveOptionalFlags || {});\n      }\n    });\n    function generateAccessorFromProperty(file, program, start, end, context, _actionName) {\n      const fieldInfo = getAccessorConvertiblePropertyAtPosition(file, program, start, end);\n      if (!fieldInfo || ts_refactor_exports.isRefactorErrorInfo(fieldInfo))\n        return void 0;\n      const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext(context);\n      const { isStatic: isStatic2, isReadonly, fieldName, accessorName, originalName, type, container, declaration } = fieldInfo;\n      suppressLeadingAndTrailingTrivia(fieldName);\n      suppressLeadingAndTrailingTrivia(accessorName);\n      suppressLeadingAndTrailingTrivia(declaration);\n      suppressLeadingAndTrailingTrivia(container);\n      let accessorModifiers;\n      let fieldModifiers;\n      if (isClassLike(container)) {\n        const modifierFlags = getEffectiveModifierFlags(declaration);\n        if (isSourceFileJS(file)) {\n          const modifiers = factory.createModifiersFromModifierFlags(modifierFlags);\n          accessorModifiers = modifiers;\n          fieldModifiers = modifiers;\n        } else {\n          accessorModifiers = factory.createModifiersFromModifierFlags(prepareModifierFlagsForAccessor(modifierFlags));\n          fieldModifiers = factory.createModifiersFromModifierFlags(prepareModifierFlagsForField(modifierFlags));\n        }\n        if (canHaveDecorators(declaration)) {\n          fieldModifiers = concatenate(getDecorators(declaration), fieldModifiers);\n        }\n      }\n      updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, fieldModifiers);\n      const getAccessor = generateGetAccessor(fieldName, accessorName, type, accessorModifiers, isStatic2, container);\n      suppressLeadingAndTrailingTrivia(getAccessor);\n      insertAccessor(changeTracker, file, getAccessor, declaration, container);\n      if (isReadonly) {\n        const constructor = getFirstConstructorWithBody(container);\n        if (constructor) {\n          updateReadonlyPropertyInitializerStatementConstructor(changeTracker, file, constructor, fieldName.text, originalName);\n        }\n      } else {\n        const setAccessor = generateSetAccessor(fieldName, accessorName, type, accessorModifiers, isStatic2, container);\n        suppressLeadingAndTrailingTrivia(setAccessor);\n        insertAccessor(changeTracker, file, setAccessor, declaration, container);\n      }\n      return changeTracker.getChanges();\n    }\n    function isConvertibleName(name) {\n      return isIdentifier(name) || isStringLiteral(name);\n    }\n    function isAcceptedDeclaration(node) {\n      return isParameterPropertyDeclaration(node, node.parent) || isPropertyDeclaration(node) || isPropertyAssignment(node);\n    }\n    function createPropertyName(name, originalName) {\n      return isIdentifier(originalName) ? factory.createIdentifier(name) : factory.createStringLiteral(name);\n    }\n    function createAccessorAccessExpression(fieldName, isStatic2, container) {\n      const leftHead = isStatic2 ? container.name : factory.createThis();\n      return isIdentifier(fieldName) ? factory.createPropertyAccessExpression(leftHead, fieldName) : factory.createElementAccessExpression(leftHead, factory.createStringLiteralFromNode(fieldName));\n    }\n    function prepareModifierFlagsForAccessor(modifierFlags) {\n      modifierFlags &= ~64;\n      modifierFlags &= ~8;\n      if (!(modifierFlags & 16)) {\n        modifierFlags |= 4;\n      }\n      return modifierFlags;\n    }\n    function prepareModifierFlagsForField(modifierFlags) {\n      modifierFlags &= ~4;\n      modifierFlags &= ~16;\n      modifierFlags |= 8;\n      return modifierFlags;\n    }\n    function getAccessorConvertiblePropertyAtPosition(file, program, start, end, considerEmptySpans = true) {\n      const node = getTokenAtPosition(file, start);\n      const cursorRequest = start === end && considerEmptySpans;\n      const declaration = findAncestor(node.parent, isAcceptedDeclaration);\n      const meaning = 28 | 32 | 64;\n      if (!declaration || !(nodeOverlapsWithStartEnd(declaration.name, file, start, end) || cursorRequest)) {\n        return {\n          error: getLocaleSpecificMessage(Diagnostics.Could_not_find_property_for_which_to_generate_accessor)\n        };\n      }\n      if (!isConvertibleName(declaration.name)) {\n        return {\n          error: getLocaleSpecificMessage(Diagnostics.Name_is_not_valid)\n        };\n      }\n      if ((getEffectiveModifierFlags(declaration) & 126975 | meaning) !== meaning) {\n        return {\n          error: getLocaleSpecificMessage(Diagnostics.Can_only_convert_property_with_modifier)\n        };\n      }\n      const name = declaration.name.text;\n      const startWithUnderscore = startsWithUnderscore(name);\n      const fieldName = createPropertyName(startWithUnderscore ? name : getUniqueName(`_${name}`, file), declaration.name);\n      const accessorName = createPropertyName(startWithUnderscore ? getUniqueName(name.substring(1), file) : name, declaration.name);\n      return {\n        isStatic: hasStaticModifier(declaration),\n        isReadonly: hasEffectiveReadonlyModifier(declaration),\n        type: getDeclarationType(declaration, program),\n        container: declaration.kind === 166 ? declaration.parent.parent : declaration.parent,\n        originalName: declaration.name.text,\n        declaration,\n        fieldName,\n        accessorName,\n        renameAccessor: startWithUnderscore\n      };\n    }\n    function generateGetAccessor(fieldName, accessorName, type, modifiers, isStatic2, container) {\n      return factory.createGetAccessorDeclaration(\n        modifiers,\n        accessorName,\n        [],\n        type,\n        factory.createBlock(\n          [\n            factory.createReturnStatement(\n              createAccessorAccessExpression(fieldName, isStatic2, container)\n            )\n          ],\n          /*multiLine*/\n          true\n        )\n      );\n    }\n    function generateSetAccessor(fieldName, accessorName, type, modifiers, isStatic2, container) {\n      return factory.createSetAccessorDeclaration(\n        modifiers,\n        accessorName,\n        [factory.createParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          /*dotDotDotToken*/\n          void 0,\n          factory.createIdentifier(\"value\"),\n          /*questionToken*/\n          void 0,\n          type\n        )],\n        factory.createBlock(\n          [\n            factory.createExpressionStatement(\n              factory.createAssignment(\n                createAccessorAccessExpression(fieldName, isStatic2, container),\n                factory.createIdentifier(\"value\")\n              )\n            )\n          ],\n          /*multiLine*/\n          true\n        )\n      );\n    }\n    function updatePropertyDeclaration(changeTracker, file, declaration, type, fieldName, modifiers) {\n      const property = factory.updatePropertyDeclaration(\n        declaration,\n        modifiers,\n        fieldName,\n        declaration.questionToken || declaration.exclamationToken,\n        type,\n        declaration.initializer\n      );\n      changeTracker.replaceNode(file, declaration, property);\n    }\n    function updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName) {\n      let assignment = factory.updatePropertyAssignment(declaration, fieldName, declaration.initializer);\n      if (assignment.modifiers || assignment.questionToken || assignment.exclamationToken) {\n        if (assignment === declaration)\n          assignment = factory.cloneNode(assignment);\n        assignment.modifiers = void 0;\n        assignment.questionToken = void 0;\n        assignment.exclamationToken = void 0;\n      }\n      changeTracker.replacePropertyAssignment(file, declaration, assignment);\n    }\n    function updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, modifiers) {\n      if (isPropertyDeclaration(declaration)) {\n        updatePropertyDeclaration(changeTracker, file, declaration, type, fieldName, modifiers);\n      } else if (isPropertyAssignment(declaration)) {\n        updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName);\n      } else {\n        changeTracker.replaceNode(\n          file,\n          declaration,\n          factory.updateParameterDeclaration(declaration, modifiers, declaration.dotDotDotToken, cast(fieldName, isIdentifier), declaration.questionToken, declaration.type, declaration.initializer)\n        );\n      }\n    }\n    function insertAccessor(changeTracker, file, accessor, declaration, container) {\n      isParameterPropertyDeclaration(declaration, declaration.parent) ? changeTracker.insertMemberAtStart(file, container, accessor) : isPropertyAssignment(declaration) ? changeTracker.insertNodeAfterComma(file, declaration, accessor) : changeTracker.insertNodeAfter(file, declaration, accessor);\n    }\n    function updateReadonlyPropertyInitializerStatementConstructor(changeTracker, file, constructor, fieldName, originalName) {\n      if (!constructor.body)\n        return;\n      constructor.body.forEachChild(function recur(node) {\n        if (isElementAccessExpression(node) && node.expression.kind === 108 && isStringLiteral(node.argumentExpression) && node.argumentExpression.text === originalName && isWriteAccess(node)) {\n          changeTracker.replaceNode(file, node.argumentExpression, factory.createStringLiteral(fieldName));\n        }\n        if (isPropertyAccessExpression(node) && node.expression.kind === 108 && node.name.text === originalName && isWriteAccess(node)) {\n          changeTracker.replaceNode(file, node.name, factory.createIdentifier(fieldName));\n        }\n        if (!isFunctionLike(node) && !isClassLike(node)) {\n          node.forEachChild(recur);\n        }\n      });\n    }\n    function getDeclarationType(declaration, program) {\n      const typeNode = getTypeAnnotationNode(declaration);\n      if (isPropertyDeclaration(declaration) && typeNode && declaration.questionToken) {\n        const typeChecker = program.getTypeChecker();\n        const type = typeChecker.getTypeFromTypeNode(typeNode);\n        if (!typeChecker.isTypeAssignableTo(typeChecker.getUndefinedType(), type)) {\n          const types = isUnionTypeNode(typeNode) ? typeNode.types : [typeNode];\n          return factory.createUnionTypeNode([...types, factory.createKeywordTypeNode(\n            155\n            /* UndefinedKeyword */\n          )]);\n        }\n      }\n      return typeNode;\n    }\n    function getAllSupers(decl, checker) {\n      const res = [];\n      while (decl) {\n        const superElement = getClassExtendsHeritageElement(decl);\n        const superSymbol = superElement && checker.getSymbolAtLocation(superElement.expression);\n        if (!superSymbol)\n          break;\n        const symbol = superSymbol.flags & 2097152 ? checker.getAliasedSymbol(superSymbol) : superSymbol;\n        const superDecl = symbol.declarations && find(symbol.declarations, isClassLike);\n        if (!superDecl)\n          break;\n        res.push(superDecl);\n        decl = superDecl;\n      }\n      return res;\n    }\n    var init_generateAccessors = __esm({\n      \"src/services/codefixes/generateAccessors.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    function getCodeFixesForImportDeclaration(context, node) {\n      const sourceFile = getSourceFileOfNode(node);\n      const namespace = getNamespaceDeclarationNode(node);\n      const opts = context.program.getCompilerOptions();\n      const variations = [];\n      variations.push(createAction(context, sourceFile, node, makeImport(\n        namespace.name,\n        /*namedImports*/\n        void 0,\n        node.moduleSpecifier,\n        getQuotePreference(sourceFile, context.preferences)\n      )));\n      if (getEmitModuleKind(opts) === 1) {\n        variations.push(createAction(context, sourceFile, node, factory.createImportEqualsDeclaration(\n          /*modifiers*/\n          void 0,\n          /*isTypeOnly*/\n          false,\n          namespace.name,\n          factory.createExternalModuleReference(node.moduleSpecifier)\n        )));\n      }\n      return variations;\n    }\n    function createAction(context, sourceFile, node, replacement) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(sourceFile, node, replacement));\n      return createCodeFixActionWithoutFixAll(fixName5, changes, [Diagnostics.Replace_import_with_0, changes[0].textChanges[0].newText]);\n    }\n    function getActionsForUsageOfInvalidImport(context) {\n      const sourceFile = context.sourceFile;\n      const targetKind = Diagnostics.This_expression_is_not_callable.code === context.errorCode ? 210 : 211;\n      const node = findAncestor(getTokenAtPosition(sourceFile, context.span.start), (a) => a.kind === targetKind);\n      if (!node) {\n        return [];\n      }\n      const expr = node.expression;\n      return getImportCodeFixesForExpression(context, expr);\n    }\n    function getActionsForInvalidImportLocation(context) {\n      const sourceFile = context.sourceFile;\n      const node = findAncestor(getTokenAtPosition(sourceFile, context.span.start), (a) => a.getStart() === context.span.start && a.getEnd() === context.span.start + context.span.length);\n      if (!node) {\n        return [];\n      }\n      return getImportCodeFixesForExpression(context, node);\n    }\n    function getImportCodeFixesForExpression(context, expr) {\n      const type = context.program.getTypeChecker().getTypeAtLocation(expr);\n      if (!(type.symbol && isTransientSymbol(type.symbol) && type.symbol.links.originatingImport)) {\n        return [];\n      }\n      const fixes = [];\n      const relatedImport = type.symbol.links.originatingImport;\n      if (!isImportCall(relatedImport)) {\n        addRange(fixes, getCodeFixesForImportDeclaration(context, relatedImport));\n      }\n      if (isExpression(expr) && !(isNamedDeclaration(expr.parent) && expr.parent.name === expr)) {\n        const sourceFile = context.sourceFile;\n        const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(sourceFile, expr, factory.createPropertyAccessExpression(expr, \"default\"), {}));\n        fixes.push(createCodeFixActionWithoutFixAll(fixName5, changes, Diagnostics.Use_synthetic_default_member));\n      }\n      return fixes;\n    }\n    var fixName5;\n    var init_fixInvalidImportSyntax = __esm({\n      \"src/services/codefixes/fixInvalidImportSyntax.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName5 = \"invalidImportSyntax\";\n        registerCodeFix({\n          errorCodes: [\n            Diagnostics.This_expression_is_not_callable.code,\n            Diagnostics.This_expression_is_not_constructable.code\n          ],\n          getCodeActions: getActionsForUsageOfInvalidImport\n        });\n        registerCodeFix({\n          errorCodes: [\n            // The following error codes cover pretty much all assignability errors that could involve an expression\n            Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n            Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,\n            Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n            Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,\n            Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,\n            Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,\n            Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3.code,\n            Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,\n            Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,\n            Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,\n            Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code\n          ],\n          getCodeActions: getActionsForInvalidImportLocation\n        });\n      }\n    });\n    function getInfo13(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      if (isIdentifier(token) && isPropertyDeclaration(token.parent)) {\n        const type = getEffectiveTypeAnnotationNode(token.parent);\n        if (type) {\n          return { type, prop: token.parent, isJs: isInJSFile(token.parent) };\n        }\n      }\n      return void 0;\n    }\n    function getActionForAddMissingDefiniteAssignmentAssertion(context, info) {\n      if (info.isJs)\n        return void 0;\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addDefiniteAssignmentAssertion(t, context.sourceFile, info.prop));\n      return createCodeFixAction(fixName6, changes, [Diagnostics.Add_definite_assignment_assertion_to_property_0, info.prop.getText()], fixIdAddDefiniteAssignmentAssertions, Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties);\n    }\n    function addDefiniteAssignmentAssertion(changeTracker, propertyDeclarationSourceFile, propertyDeclaration) {\n      suppressLeadingAndTrailingTrivia(propertyDeclaration);\n      const property = factory.updatePropertyDeclaration(\n        propertyDeclaration,\n        propertyDeclaration.modifiers,\n        propertyDeclaration.name,\n        factory.createToken(\n          53\n          /* ExclamationToken */\n        ),\n        propertyDeclaration.type,\n        propertyDeclaration.initializer\n      );\n      changeTracker.replaceNode(propertyDeclarationSourceFile, propertyDeclaration, property);\n    }\n    function getActionForAddMissingUndefinedType(context, info) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addUndefinedType(t, context.sourceFile, info));\n      return createCodeFixAction(fixName6, changes, [Diagnostics.Add_undefined_type_to_property_0, info.prop.name.getText()], fixIdAddUndefinedType, Diagnostics.Add_undefined_type_to_all_uninitialized_properties);\n    }\n    function addUndefinedType(changeTracker, sourceFile, info) {\n      const undefinedTypeNode = factory.createKeywordTypeNode(\n        155\n        /* UndefinedKeyword */\n      );\n      const types = isUnionTypeNode(info.type) ? info.type.types.concat(undefinedTypeNode) : [info.type, undefinedTypeNode];\n      const unionTypeNode = factory.createUnionTypeNode(types);\n      if (info.isJs) {\n        changeTracker.addJSDocTags(sourceFile, info.prop, [factory.createJSDocTypeTag(\n          /*tagName*/\n          void 0,\n          factory.createJSDocTypeExpression(unionTypeNode)\n        )]);\n      } else {\n        changeTracker.replaceNode(sourceFile, info.type, unionTypeNode);\n      }\n    }\n    function getActionForAddMissingInitializer(context, info) {\n      if (info.isJs)\n        return void 0;\n      const checker = context.program.getTypeChecker();\n      const initializer = getInitializer(checker, info.prop);\n      if (!initializer)\n        return void 0;\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addInitializer(t, context.sourceFile, info.prop, initializer));\n      return createCodeFixAction(fixName6, changes, [Diagnostics.Add_initializer_to_property_0, info.prop.name.getText()], fixIdAddInitializer, Diagnostics.Add_initializers_to_all_uninitialized_properties);\n    }\n    function addInitializer(changeTracker, propertyDeclarationSourceFile, propertyDeclaration, initializer) {\n      suppressLeadingAndTrailingTrivia(propertyDeclaration);\n      const property = factory.updatePropertyDeclaration(\n        propertyDeclaration,\n        propertyDeclaration.modifiers,\n        propertyDeclaration.name,\n        propertyDeclaration.questionToken,\n        propertyDeclaration.type,\n        initializer\n      );\n      changeTracker.replaceNode(propertyDeclarationSourceFile, propertyDeclaration, property);\n    }\n    function getInitializer(checker, propertyDeclaration) {\n      return getDefaultValueFromType(checker, checker.getTypeFromTypeNode(propertyDeclaration.type));\n    }\n    function getDefaultValueFromType(checker, type) {\n      if (type.flags & 512) {\n        return type === checker.getFalseType() || type === checker.getFalseType(\n          /*fresh*/\n          true\n        ) ? factory.createFalse() : factory.createTrue();\n      } else if (type.isStringLiteral()) {\n        return factory.createStringLiteral(type.value);\n      } else if (type.isNumberLiteral()) {\n        return factory.createNumericLiteral(type.value);\n      } else if (type.flags & 2048) {\n        return factory.createBigIntLiteral(type.value);\n      } else if (type.isUnion()) {\n        return firstDefined(type.types, (t) => getDefaultValueFromType(checker, t));\n      } else if (type.isClass()) {\n        const classDeclaration = getClassLikeDeclarationOfSymbol(type.symbol);\n        if (!classDeclaration || hasSyntacticModifier(\n          classDeclaration,\n          256\n          /* Abstract */\n        ))\n          return void 0;\n        const constructorDeclaration = getFirstConstructorWithBody(classDeclaration);\n        if (constructorDeclaration && constructorDeclaration.parameters.length)\n          return void 0;\n        return factory.createNewExpression(\n          factory.createIdentifier(type.symbol.name),\n          /*typeArguments*/\n          void 0,\n          /*argumentsArray*/\n          void 0\n        );\n      } else if (checker.isArrayLikeType(type)) {\n        return factory.createArrayLiteralExpression();\n      }\n      return void 0;\n    }\n    var fixName6, fixIdAddDefiniteAssignmentAssertions, fixIdAddUndefinedType, fixIdAddInitializer, errorCodes50;\n    var init_fixStrictClassInitialization = __esm({\n      \"src/services/codefixes/fixStrictClassInitialization.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName6 = \"strictClassInitialization\";\n        fixIdAddDefiniteAssignmentAssertions = \"addMissingPropertyDefiniteAssignmentAssertions\";\n        fixIdAddUndefinedType = \"addMissingPropertyUndefinedType\";\n        fixIdAddInitializer = \"addMissingPropertyInitializer\";\n        errorCodes50 = [Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];\n        registerCodeFix({\n          errorCodes: errorCodes50,\n          getCodeActions: function getCodeActionsForStrictClassInitializationErrors(context) {\n            const info = getInfo13(context.sourceFile, context.span.start);\n            if (!info)\n              return;\n            const result = [];\n            append(result, getActionForAddMissingUndefinedType(context, info));\n            append(result, getActionForAddMissingDefiniteAssignmentAssertion(context, info));\n            append(result, getActionForAddMissingInitializer(context, info));\n            return result;\n          },\n          fixIds: [fixIdAddDefiniteAssignmentAssertions, fixIdAddUndefinedType, fixIdAddInitializer],\n          getAllCodeActions: (context) => {\n            return codeFixAll(context, errorCodes50, (changes, diag2) => {\n              const info = getInfo13(diag2.file, diag2.start);\n              if (!info)\n                return;\n              switch (context.fixId) {\n                case fixIdAddDefiniteAssignmentAssertions:\n                  addDefiniteAssignmentAssertion(changes, diag2.file, info.prop);\n                  break;\n                case fixIdAddUndefinedType:\n                  addUndefinedType(changes, diag2.file, info);\n                  break;\n                case fixIdAddInitializer:\n                  const checker = context.program.getTypeChecker();\n                  const initializer = getInitializer(checker, info.prop);\n                  if (!initializer)\n                    return;\n                  addInitializer(changes, diag2.file, info.prop, initializer);\n                  break;\n                default:\n                  Debug2.fail(JSON.stringify(context.fixId));\n              }\n            });\n          }\n        });\n      }\n    });\n    function doChange26(changes, sourceFile, info) {\n      const { allowSyntheticDefaults, defaultImportName, namedImports, statement, required } = info;\n      changes.replaceNode(sourceFile, statement, defaultImportName && !allowSyntheticDefaults ? factory.createImportEqualsDeclaration(\n        /*modifiers*/\n        void 0,\n        /*isTypeOnly*/\n        false,\n        defaultImportName,\n        factory.createExternalModuleReference(required)\n      ) : factory.createImportDeclaration(\n        /*modifiers*/\n        void 0,\n        factory.createImportClause(\n          /*isTypeOnly*/\n          false,\n          defaultImportName,\n          namedImports\n        ),\n        required,\n        /*assertClause*/\n        void 0\n      ));\n    }\n    function getInfo14(sourceFile, program, pos) {\n      const { parent: parent2 } = getTokenAtPosition(sourceFile, pos);\n      if (!isRequireCall(\n        parent2,\n        /*checkArgumentIsStringLiteralLike*/\n        true\n      )) {\n        throw Debug2.failBadSyntaxKind(parent2);\n      }\n      const decl = cast(parent2.parent, isVariableDeclaration);\n      const defaultImportName = tryCast(decl.name, isIdentifier);\n      const namedImports = isObjectBindingPattern(decl.name) ? tryCreateNamedImportsFromObjectBindingPattern(decl.name) : void 0;\n      if (defaultImportName || namedImports) {\n        return {\n          allowSyntheticDefaults: getAllowSyntheticDefaultImports(program.getCompilerOptions()),\n          defaultImportName,\n          namedImports,\n          statement: cast(decl.parent.parent, isVariableStatement),\n          required: first(parent2.arguments)\n        };\n      }\n    }\n    function tryCreateNamedImportsFromObjectBindingPattern(node) {\n      const importSpecifiers = [];\n      for (const element of node.elements) {\n        if (!isIdentifier(element.name) || element.initializer) {\n          return void 0;\n        }\n        importSpecifiers.push(factory.createImportSpecifier(\n          /*isTypeOnly*/\n          false,\n          tryCast(element.propertyName, isIdentifier),\n          element.name\n        ));\n      }\n      if (importSpecifiers.length) {\n        return factory.createNamedImports(importSpecifiers);\n      }\n    }\n    var fixId40, errorCodes51;\n    var init_requireInTs = __esm({\n      \"src/services/codefixes/requireInTs.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId40 = \"requireInTs\";\n        errorCodes51 = [Diagnostics.require_call_may_be_converted_to_an_import.code];\n        registerCodeFix({\n          errorCodes: errorCodes51,\n          getCodeActions(context) {\n            const info = getInfo14(context.sourceFile, context.program, context.span.start);\n            if (!info) {\n              return void 0;\n            }\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange26(t, context.sourceFile, info));\n            return [createCodeFixAction(fixId40, changes, Diagnostics.Convert_require_to_import, fixId40, Diagnostics.Convert_all_require_to_import)];\n          },\n          fixIds: [fixId40],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes51, (changes, diag2) => {\n            const info = getInfo14(diag2.file, context.program, diag2.start);\n            if (info) {\n              doChange26(changes, context.sourceFile, info);\n            }\n          })\n        });\n      }\n    });\n    function getInfo15(sourceFile, pos) {\n      const name = getTokenAtPosition(sourceFile, pos);\n      if (!isIdentifier(name))\n        return void 0;\n      const { parent: parent2 } = name;\n      if (isImportEqualsDeclaration(parent2) && isExternalModuleReference(parent2.moduleReference)) {\n        return { importNode: parent2, name, moduleSpecifier: parent2.moduleReference.expression };\n      } else if (isNamespaceImport(parent2)) {\n        const importNode = parent2.parent.parent;\n        return { importNode, name, moduleSpecifier: importNode.moduleSpecifier };\n      }\n    }\n    function doChange27(changes, sourceFile, info, preferences) {\n      changes.replaceNode(sourceFile, info.importNode, makeImport(\n        info.name,\n        /*namedImports*/\n        void 0,\n        info.moduleSpecifier,\n        getQuotePreference(sourceFile, preferences)\n      ));\n    }\n    var fixId41, errorCodes52;\n    var init_useDefaultImport = __esm({\n      \"src/services/codefixes/useDefaultImport.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId41 = \"useDefaultImport\";\n        errorCodes52 = [Diagnostics.Import_may_be_converted_to_a_default_import.code];\n        registerCodeFix({\n          errorCodes: errorCodes52,\n          getCodeActions(context) {\n            const { sourceFile, span: { start } } = context;\n            const info = getInfo15(sourceFile, start);\n            if (!info)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange27(t, sourceFile, info, context.preferences));\n            return [createCodeFixAction(fixId41, changes, Diagnostics.Convert_to_default_import, fixId41, Diagnostics.Convert_all_to_default_imports)];\n          },\n          fixIds: [fixId41],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes52, (changes, diag2) => {\n            const info = getInfo15(diag2.file, diag2.start);\n            if (info)\n              doChange27(changes, diag2.file, info, context.preferences);\n          })\n        });\n      }\n    });\n    function makeChange9(changeTracker, sourceFile, span) {\n      const numericLiteral = tryCast(getTokenAtPosition(sourceFile, span.start), isNumericLiteral);\n      if (!numericLiteral) {\n        return;\n      }\n      const newText = numericLiteral.getText(sourceFile) + \"n\";\n      changeTracker.replaceNode(sourceFile, numericLiteral, factory.createBigIntLiteral(newText));\n    }\n    var fixId42, errorCodes53;\n    var init_useBigintLiteral = __esm({\n      \"src/services/codefixes/useBigintLiteral.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId42 = \"useBigintLiteral\";\n        errorCodes53 = [\n          Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes53,\n          getCodeActions: function getCodeActionsToUseBigintLiteral(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange9(t, context.sourceFile, context.span));\n            if (changes.length > 0) {\n              return [createCodeFixAction(fixId42, changes, Diagnostics.Convert_to_a_bigint_numeric_literal, fixId42, Diagnostics.Convert_all_to_bigint_numeric_literals)];\n            }\n          },\n          fixIds: [fixId42],\n          getAllCodeActions: (context) => {\n            return codeFixAll(context, errorCodes53, (changes, diag2) => makeChange9(changes, diag2.file, diag2));\n          }\n        });\n      }\n    });\n    function getImportTypeNode(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      Debug2.assert(token.kind === 100, \"This token should be an ImportKeyword\");\n      Debug2.assert(token.parent.kind === 202, \"Token parent should be an ImportType\");\n      return token.parent;\n    }\n    function doChange28(changes, sourceFile, importType) {\n      const newTypeNode = factory.updateImportTypeNode(\n        importType,\n        importType.argument,\n        importType.assertions,\n        importType.qualifier,\n        importType.typeArguments,\n        /* isTypeOf */\n        true\n      );\n      changes.replaceNode(sourceFile, importType, newTypeNode);\n    }\n    var fixIdAddMissingTypeof, fixId43, errorCodes54;\n    var init_fixAddModuleReferTypeMissingTypeof = __esm({\n      \"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixIdAddMissingTypeof = \"fixAddModuleReferTypeMissingTypeof\";\n        fixId43 = fixIdAddMissingTypeof;\n        errorCodes54 = [Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];\n        registerCodeFix({\n          errorCodes: errorCodes54,\n          getCodeActions: function getCodeActionsToAddMissingTypeof(context) {\n            const { sourceFile, span } = context;\n            const importType = getImportTypeNode(sourceFile, span.start);\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange28(t, sourceFile, importType));\n            return [createCodeFixAction(fixId43, changes, Diagnostics.Add_missing_typeof, fixId43, Diagnostics.Add_missing_typeof)];\n          },\n          fixIds: [fixId43],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes54, (changes, diag2) => doChange28(changes, context.sourceFile, getImportTypeNode(diag2.file, diag2.start)))\n        });\n      }\n    });\n    function findNodeToFix(sourceFile, pos) {\n      const lessThanToken = getTokenAtPosition(sourceFile, pos);\n      const firstJsxElementOrOpenElement = lessThanToken.parent;\n      let binaryExpr = firstJsxElementOrOpenElement.parent;\n      if (!isBinaryExpression(binaryExpr)) {\n        binaryExpr = binaryExpr.parent;\n        if (!isBinaryExpression(binaryExpr))\n          return void 0;\n      }\n      if (!nodeIsMissing(binaryExpr.operatorToken))\n        return void 0;\n      return binaryExpr;\n    }\n    function doChange29(changeTracker, sf, node) {\n      const jsx = flattenInvalidBinaryExpr(node);\n      if (jsx)\n        changeTracker.replaceNode(sf, node, factory.createJsxFragment(factory.createJsxOpeningFragment(), jsx, factory.createJsxJsxClosingFragment()));\n    }\n    function flattenInvalidBinaryExpr(node) {\n      const children = [];\n      let current = node;\n      while (true) {\n        if (isBinaryExpression(current) && nodeIsMissing(current.operatorToken) && current.operatorToken.kind === 27) {\n          children.push(current.left);\n          if (isJsxChild(current.right)) {\n            children.push(current.right);\n            return children;\n          } else if (isBinaryExpression(current.right)) {\n            current = current.right;\n            continue;\n          } else\n            return void 0;\n        } else\n          return void 0;\n      }\n    }\n    var fixID2, errorCodes55;\n    var init_wrapJsxInFragment = __esm({\n      \"src/services/codefixes/wrapJsxInFragment.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixID2 = \"wrapJsxInFragment\";\n        errorCodes55 = [Diagnostics.JSX_expressions_must_have_one_parent_element.code];\n        registerCodeFix({\n          errorCodes: errorCodes55,\n          getCodeActions: function getCodeActionsToWrapJsxInFragment(context) {\n            const { sourceFile, span } = context;\n            const node = findNodeToFix(sourceFile, span.start);\n            if (!node)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange29(t, sourceFile, node));\n            return [createCodeFixAction(fixID2, changes, Diagnostics.Wrap_in_JSX_fragment, fixID2, Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)];\n          },\n          fixIds: [fixID2],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes55, (changes, diag2) => {\n            const node = findNodeToFix(context.sourceFile, diag2.start);\n            if (!node)\n              return void 0;\n            doChange29(changes, context.sourceFile, node);\n          })\n        });\n      }\n    });\n    function getInfo16(sourceFile, pos) {\n      const token = getTokenAtPosition(sourceFile, pos);\n      const indexSignature = tryCast(token.parent.parent, isIndexSignatureDeclaration);\n      if (!indexSignature)\n        return void 0;\n      const container = isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : tryCast(indexSignature.parent.parent, isTypeAliasDeclaration);\n      if (!container)\n        return void 0;\n      return { indexSignature, container };\n    }\n    function createTypeAliasFromInterface(declaration, type) {\n      return factory.createTypeAliasDeclaration(declaration.modifiers, declaration.name, declaration.typeParameters, type);\n    }\n    function doChange30(changes, sourceFile, { indexSignature, container }) {\n      const members = isInterfaceDeclaration(container) ? container.members : container.type.members;\n      const otherMembers = members.filter((member) => !isIndexSignatureDeclaration(member));\n      const parameter = first(indexSignature.parameters);\n      const mappedTypeParameter = factory.createTypeParameterDeclaration(\n        /*modifiers*/\n        void 0,\n        cast(parameter.name, isIdentifier),\n        parameter.type\n      );\n      const mappedIntersectionType = factory.createMappedTypeNode(\n        hasEffectiveReadonlyModifier(indexSignature) ? factory.createModifier(\n          146\n          /* ReadonlyKeyword */\n        ) : void 0,\n        mappedTypeParameter,\n        /*nameType*/\n        void 0,\n        indexSignature.questionToken,\n        indexSignature.type,\n        /*members*/\n        void 0\n      );\n      const intersectionType = factory.createIntersectionTypeNode([\n        ...getAllSuperTypeNodes(container),\n        mappedIntersectionType,\n        ...otherMembers.length ? [factory.createTypeLiteralNode(otherMembers)] : emptyArray\n      ]);\n      changes.replaceNode(sourceFile, container, createTypeAliasFromInterface(container, intersectionType));\n    }\n    var fixId44, errorCodes56;\n    var init_convertToMappedObjectType = __esm({\n      \"src/services/codefixes/convertToMappedObjectType.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId44 = \"fixConvertToMappedObjectType\";\n        errorCodes56 = [Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];\n        registerCodeFix({\n          errorCodes: errorCodes56,\n          getCodeActions: function getCodeActionsToConvertToMappedTypeObject(context) {\n            const { sourceFile, span } = context;\n            const info = getInfo16(sourceFile, span.start);\n            if (!info)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange30(t, sourceFile, info));\n            const name = idText(info.container.name);\n            return [createCodeFixAction(fixId44, changes, [Diagnostics.Convert_0_to_mapped_object_type, name], fixId44, [Diagnostics.Convert_0_to_mapped_object_type, name])];\n          },\n          fixIds: [fixId44],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes56, (changes, diag2) => {\n            const info = getInfo16(diag2.file, diag2.start);\n            if (info)\n              doChange30(changes, diag2.file, info);\n          })\n        });\n      }\n    });\n    var fixId45, errorCodes57;\n    var init_removeAccidentalCallParentheses = __esm({\n      \"src/services/codefixes/removeAccidentalCallParentheses.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId45 = \"removeAccidentalCallParentheses\";\n        errorCodes57 = [\n          Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes57,\n          getCodeActions(context) {\n            const callExpression = findAncestor(getTokenAtPosition(context.sourceFile, context.span.start), isCallExpression);\n            if (!callExpression) {\n              return void 0;\n            }\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n              t.deleteRange(context.sourceFile, { pos: callExpression.expression.end, end: callExpression.end });\n            });\n            return [createCodeFixActionWithoutFixAll(fixId45, changes, Diagnostics.Remove_parentheses)];\n          },\n          fixIds: [fixId45]\n        });\n      }\n    });\n    function makeChange10(changeTracker, sourceFile, span) {\n      const awaitKeyword = tryCast(\n        getTokenAtPosition(sourceFile, span.start),\n        (node) => node.kind === 133\n        /* AwaitKeyword */\n      );\n      const awaitExpression = awaitKeyword && tryCast(awaitKeyword.parent, isAwaitExpression);\n      if (!awaitExpression) {\n        return;\n      }\n      let expressionToReplace = awaitExpression;\n      const hasSurroundingParens = isParenthesizedExpression(awaitExpression.parent);\n      if (hasSurroundingParens) {\n        const leftMostExpression = getLeftmostExpression(\n          awaitExpression.expression,\n          /*stopAtCallExpressions*/\n          false\n        );\n        if (isIdentifier(leftMostExpression)) {\n          const precedingToken = findPrecedingToken(awaitExpression.parent.pos, sourceFile);\n          if (precedingToken && precedingToken.kind !== 103) {\n            expressionToReplace = awaitExpression.parent;\n          }\n        }\n      }\n      changeTracker.replaceNode(sourceFile, expressionToReplace, awaitExpression.expression);\n    }\n    var fixId46, errorCodes58;\n    var init_removeUnnecessaryAwait = __esm({\n      \"src/services/codefixes/removeUnnecessaryAwait.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId46 = \"removeUnnecessaryAwait\";\n        errorCodes58 = [\n          Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes58,\n          getCodeActions: function getCodeActionsToRemoveUnnecessaryAwait(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange10(t, context.sourceFile, context.span));\n            if (changes.length > 0) {\n              return [createCodeFixAction(fixId46, changes, Diagnostics.Remove_unnecessary_await, fixId46, Diagnostics.Remove_all_unnecessary_uses_of_await)];\n            }\n          },\n          fixIds: [fixId46],\n          getAllCodeActions: (context) => {\n            return codeFixAll(context, errorCodes58, (changes, diag2) => makeChange10(changes, diag2.file, diag2));\n          }\n        });\n      }\n    });\n    function getImportDeclaration2(sourceFile, span) {\n      return findAncestor(getTokenAtPosition(sourceFile, span.start), isImportDeclaration);\n    }\n    function splitTypeOnlyImport(changes, importDeclaration, context) {\n      if (!importDeclaration) {\n        return;\n      }\n      const importClause = Debug2.checkDefined(importDeclaration.importClause);\n      changes.replaceNode(context.sourceFile, importDeclaration, factory.updateImportDeclaration(\n        importDeclaration,\n        importDeclaration.modifiers,\n        factory.updateImportClause(\n          importClause,\n          importClause.isTypeOnly,\n          importClause.name,\n          /*namedBindings*/\n          void 0\n        ),\n        importDeclaration.moduleSpecifier,\n        importDeclaration.assertClause\n      ));\n      changes.insertNodeAfter(context.sourceFile, importDeclaration, factory.createImportDeclaration(\n        /*modifiers*/\n        void 0,\n        factory.updateImportClause(\n          importClause,\n          importClause.isTypeOnly,\n          /*name*/\n          void 0,\n          importClause.namedBindings\n        ),\n        importDeclaration.moduleSpecifier,\n        importDeclaration.assertClause\n      ));\n    }\n    var errorCodes59, fixId47;\n    var init_splitTypeOnlyImport = __esm({\n      \"src/services/codefixes/splitTypeOnlyImport.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        errorCodes59 = [Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];\n        fixId47 = \"splitTypeOnlyImport\";\n        registerCodeFix({\n          errorCodes: errorCodes59,\n          fixIds: [fixId47],\n          getCodeActions: function getCodeActionsToSplitTypeOnlyImport(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n              return splitTypeOnlyImport(t, getImportDeclaration2(context.sourceFile, context.span), context);\n            });\n            if (changes.length) {\n              return [createCodeFixAction(fixId47, changes, Diagnostics.Split_into_two_separate_import_declarations, fixId47, Diagnostics.Split_all_invalid_type_only_imports)];\n            }\n          },\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes59, (changes, error) => {\n            splitTypeOnlyImport(changes, getImportDeclaration2(context.sourceFile, error), context);\n          })\n        });\n      }\n    });\n    function getInfo17(sourceFile, pos, program) {\n      var _a22;\n      const checker = program.getTypeChecker();\n      const symbol = checker.getSymbolAtLocation(getTokenAtPosition(sourceFile, pos));\n      if (symbol === void 0)\n        return;\n      const declaration = tryCast((_a22 = symbol == null ? void 0 : symbol.valueDeclaration) == null ? void 0 : _a22.parent, isVariableDeclarationList);\n      if (declaration === void 0)\n        return;\n      const constToken = findChildOfKind(declaration, 85, sourceFile);\n      if (constToken === void 0)\n        return;\n      return { symbol, token: constToken };\n    }\n    function doChange31(changes, sourceFile, token) {\n      changes.replaceNode(sourceFile, token, factory.createToken(\n        119\n        /* LetKeyword */\n      ));\n    }\n    var fixId48, errorCodes60;\n    var init_convertConstToLet = __esm({\n      \"src/services/codefixes/convertConstToLet.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId48 = \"fixConvertConstToLet\";\n        errorCodes60 = [Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];\n        registerCodeFix({\n          errorCodes: errorCodes60,\n          getCodeActions: function getCodeActionsToConvertConstToLet(context) {\n            const { sourceFile, span, program } = context;\n            const info = getInfo17(sourceFile, span.start, program);\n            if (info === void 0)\n              return;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange31(t, sourceFile, info.token));\n            return [createCodeFixActionMaybeFixAll(fixId48, changes, Diagnostics.Convert_const_to_let, fixId48, Diagnostics.Convert_all_const_to_let)];\n          },\n          getAllCodeActions: (context) => {\n            const { program } = context;\n            const seen = /* @__PURE__ */ new Map();\n            return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n              eachDiagnostic(context, errorCodes60, (diag2) => {\n                const info = getInfo17(diag2.file, diag2.start, program);\n                if (info) {\n                  if (addToSeen(seen, getSymbolId(info.symbol))) {\n                    return doChange31(changes, diag2.file, info.token);\n                  }\n                }\n                return void 0;\n              });\n            }));\n          },\n          fixIds: [fixId48]\n        });\n      }\n    });\n    function getInfo18(sourceFile, pos, _) {\n      const node = getTokenAtPosition(sourceFile, pos);\n      return node.kind === 26 && node.parent && (isObjectLiteralExpression(node.parent) || isArrayLiteralExpression(node.parent)) ? { node } : void 0;\n    }\n    function doChange32(changes, sourceFile, { node }) {\n      const newNode = factory.createToken(\n        27\n        /* CommaToken */\n      );\n      changes.replaceNode(sourceFile, node, newNode);\n    }\n    var fixId49, expectedErrorCode, errorCodes61;\n    var init_fixExpectedComma = __esm({\n      \"src/services/codefixes/fixExpectedComma.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixId49 = \"fixExpectedComma\";\n        expectedErrorCode = Diagnostics._0_expected.code;\n        errorCodes61 = [expectedErrorCode];\n        registerCodeFix({\n          errorCodes: errorCodes61,\n          getCodeActions(context) {\n            const { sourceFile } = context;\n            const info = getInfo18(sourceFile, context.span.start, context.errorCode);\n            if (!info)\n              return void 0;\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange32(t, sourceFile, info));\n            return [createCodeFixAction(\n              fixId49,\n              changes,\n              [Diagnostics.Change_0_to_1, \";\", \",\"],\n              fixId49,\n              [Diagnostics.Change_0_to_1, \";\", \",\"]\n            )];\n          },\n          fixIds: [fixId49],\n          getAllCodeActions: (context) => codeFixAll(context, errorCodes61, (changes, diag2) => {\n            const info = getInfo18(diag2.file, diag2.start, diag2.code);\n            if (info)\n              doChange32(changes, context.sourceFile, info);\n          })\n        });\n      }\n    });\n    function makeChange11(changes, sourceFile, span, program, seen) {\n      const node = getTokenAtPosition(sourceFile, span.start);\n      if (!isIdentifier(node) || !isCallExpression(node.parent) || node.parent.expression !== node || node.parent.arguments.length !== 0)\n        return;\n      const checker = program.getTypeChecker();\n      const symbol = checker.getSymbolAtLocation(node);\n      const decl = symbol == null ? void 0 : symbol.valueDeclaration;\n      if (!decl || !isParameter(decl) || !isNewExpression(decl.parent.parent))\n        return;\n      if (seen == null ? void 0 : seen.has(decl))\n        return;\n      seen == null ? void 0 : seen.add(decl);\n      const typeArguments = getEffectiveTypeArguments(decl.parent.parent);\n      if (some(typeArguments)) {\n        const typeArgument = typeArguments[0];\n        const needsParens = !isUnionTypeNode(typeArgument) && !isParenthesizedTypeNode(typeArgument) && isParenthesizedTypeNode(factory.createUnionTypeNode([typeArgument, factory.createKeywordTypeNode(\n          114\n          /* VoidKeyword */\n        )]).types[0]);\n        if (needsParens) {\n          changes.insertText(sourceFile, typeArgument.pos, \"(\");\n        }\n        changes.insertText(sourceFile, typeArgument.end, needsParens ? \") | void\" : \" | void\");\n      } else {\n        const signature = checker.getResolvedSignature(node.parent);\n        const parameter = signature == null ? void 0 : signature.parameters[0];\n        const parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent);\n        if (isInJSFile(decl)) {\n          if (!parameterType || parameterType.flags & 3) {\n            changes.insertText(sourceFile, decl.parent.parent.end, `)`);\n            changes.insertText(sourceFile, skipTrivia(sourceFile.text, decl.parent.parent.pos), `/** @type {Promise<void>} */(`);\n          }\n        } else {\n          if (!parameterType || parameterType.flags & 2) {\n            changes.insertText(sourceFile, decl.parent.parent.expression.end, \"<void>\");\n          }\n        }\n      }\n    }\n    function getEffectiveTypeArguments(node) {\n      var _a22;\n      if (isInJSFile(node)) {\n        if (isParenthesizedExpression(node.parent)) {\n          const jsDocType = (_a22 = getJSDocTypeTag(node.parent)) == null ? void 0 : _a22.typeExpression.type;\n          if (jsDocType && isTypeReferenceNode(jsDocType) && isIdentifier(jsDocType.typeName) && idText(jsDocType.typeName) === \"Promise\") {\n            return jsDocType.typeArguments;\n          }\n        }\n      } else {\n        return node.typeArguments;\n      }\n    }\n    var fixName7, fixId50, errorCodes62;\n    var init_fixAddVoidToPromise = __esm({\n      \"src/services/codefixes/fixAddVoidToPromise.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_codefix();\n        fixName7 = \"addVoidToPromise\";\n        fixId50 = \"addVoidToPromise\";\n        errorCodes62 = [\n          Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,\n          Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code\n        ];\n        registerCodeFix({\n          errorCodes: errorCodes62,\n          fixIds: [fixId50],\n          getCodeActions(context) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange11(t, context.sourceFile, context.span, context.program));\n            if (changes.length > 0) {\n              return [createCodeFixAction(fixName7, changes, Diagnostics.Add_void_to_Promise_resolved_without_a_value, fixId50, Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)];\n            }\n          },\n          getAllCodeActions(context) {\n            return codeFixAll(context, errorCodes62, (changes, diag2) => makeChange11(changes, diag2.file, diag2, context.program, /* @__PURE__ */ new Set()));\n          }\n        });\n      }\n    });\n    var ts_codefix_exports = {};\n    __export2(ts_codefix_exports, {\n      PreserveOptionalFlags: () => PreserveOptionalFlags,\n      addNewNodeForMemberSymbol: () => addNewNodeForMemberSymbol,\n      codeFixAll: () => codeFixAll,\n      createCodeFixAction: () => createCodeFixAction,\n      createCodeFixActionMaybeFixAll: () => createCodeFixActionMaybeFixAll,\n      createCodeFixActionWithoutFixAll: () => createCodeFixActionWithoutFixAll,\n      createCombinedCodeActions: () => createCombinedCodeActions,\n      createFileTextChanges: () => createFileTextChanges,\n      createImportAdder: () => createImportAdder,\n      createImportSpecifierResolver: () => createImportSpecifierResolver,\n      createJsonPropertyAssignment: () => createJsonPropertyAssignment,\n      createMissingMemberNodes: () => createMissingMemberNodes,\n      createSignatureDeclarationFromCallExpression: () => createSignatureDeclarationFromCallExpression,\n      createSignatureDeclarationFromSignature: () => createSignatureDeclarationFromSignature,\n      createStubbedBody: () => createStubbedBody,\n      eachDiagnostic: () => eachDiagnostic,\n      findAncestorMatchingSpan: () => findAncestorMatchingSpan,\n      findJsonProperty: () => findJsonProperty,\n      generateAccessorFromProperty: () => generateAccessorFromProperty,\n      getAccessorConvertiblePropertyAtPosition: () => getAccessorConvertiblePropertyAtPosition,\n      getAllFixes: () => getAllFixes,\n      getAllSupers: () => getAllSupers,\n      getArgumentTypesAndTypeParameters: () => getArgumentTypesAndTypeParameters,\n      getFixes: () => getFixes,\n      getImportCompletionAction: () => getImportCompletionAction,\n      getImportKind: () => getImportKind,\n      getNoopSymbolTrackerWithResolver: () => getNoopSymbolTrackerWithResolver,\n      getPromoteTypeOnlyCompletionAction: () => getPromoteTypeOnlyCompletionAction,\n      getSupportedErrorCodes: () => getSupportedErrorCodes,\n      importFixName: () => importFixName,\n      importSymbols: () => importSymbols,\n      moduleSpecifierToValidIdentifier: () => moduleSpecifierToValidIdentifier,\n      moduleSymbolToValidIdentifier: () => moduleSymbolToValidIdentifier,\n      parameterShouldGetTypeFromJSDoc: () => parameterShouldGetTypeFromJSDoc,\n      registerCodeFix: () => registerCodeFix,\n      setJsonCompilerOptionValue: () => setJsonCompilerOptionValue,\n      setJsonCompilerOptionValues: () => setJsonCompilerOptionValues,\n      tryGetAutoImportableReferenceFromTypeNode: () => tryGetAutoImportableReferenceFromTypeNode,\n      typeToAutoImportableTypeNode: () => typeToAutoImportableTypeNode\n    });\n    var init_ts_codefix = __esm({\n      \"src/services/_namespaces/ts.codefix.ts\"() {\n        \"use strict\";\n        init_codeFixProvider();\n        init_addConvertToUnknownForNonOverlappingTypes();\n        init_addEmptyExportDeclaration();\n        init_addMissingAsync();\n        init_addMissingAwait();\n        init_addMissingConst();\n        init_addMissingDeclareProperty();\n        init_addMissingInvocationForDecorator();\n        init_addNameToNamelessParameter();\n        init_addOptionalPropertyUndefined();\n        init_annotateWithTypeFromJSDoc();\n        init_convertFunctionToEs6Class();\n        init_convertToAsyncFunction();\n        init_convertToEsModule();\n        init_correctQualifiedNameToIndexedAccessType();\n        init_convertToTypeOnlyExport();\n        init_convertToTypeOnlyImport();\n        init_convertLiteralTypeToMappedType();\n        init_fixClassIncorrectlyImplementsInterface();\n        init_importFixes();\n        init_fixAddMissingConstraint();\n        init_fixOverrideModifier();\n        init_fixNoPropertyAccessFromIndexSignature();\n        init_fixImplicitThis();\n        init_fixImportNonExportedMember();\n        init_fixIncorrectNamedTupleSyntax();\n        init_fixSpelling();\n        init_returnValueCorrect();\n        init_fixAddMissingMember();\n        init_fixAddMissingNewOperator();\n        init_fixCannotFindModule();\n        init_fixClassDoesntImplementInheritedAbstractMember();\n        init_fixClassSuperMustPrecedeThisAccess();\n        init_fixConstructorForDerivedNeedSuperCall();\n        init_fixEnableJsxFlag();\n        init_fixNaNEquality();\n        init_fixModuleAndTargetOptions();\n        init_fixPropertyAssignment();\n        init_fixExtendsInterfaceBecomesImplements();\n        init_fixForgottenThisPropertyAccess();\n        init_fixInvalidJsxCharacters();\n        init_fixUnmatchedParameter();\n        init_fixUnreferenceableDecoratorMetadata();\n        init_fixUnusedIdentifier();\n        init_fixUnreachableCode();\n        init_fixUnusedLabel();\n        init_fixJSDocTypes();\n        init_fixMissingCallParentheses();\n        init_fixAwaitInSyncFunction();\n        init_fixPropertyOverrideAccessor();\n        init_inferFromUsage();\n        init_fixReturnTypeInAsyncFunction();\n        init_disableJsDiagnostics();\n        init_helpers();\n        init_generateAccessors();\n        init_fixInvalidImportSyntax();\n        init_fixStrictClassInitialization();\n        init_requireInTs();\n        init_useDefaultImport();\n        init_useBigintLiteral();\n        init_fixAddModuleReferTypeMissingTypeof();\n        init_wrapJsxInFragment();\n        init_convertToMappedObjectType();\n        init_removeAccidentalCallParentheses();\n        init_removeUnnecessaryAwait();\n        init_splitTypeOnlyImport();\n        init_convertConstToLet();\n        init_fixExpectedComma();\n        init_fixAddVoidToPromise();\n      }\n    });\n    function originIsThisType(origin) {\n      return !!(origin.kind & 1);\n    }\n    function originIsSymbolMember(origin) {\n      return !!(origin.kind & 2);\n    }\n    function originIsExport(origin) {\n      return !!(origin && origin.kind & 4);\n    }\n    function originIsResolvedExport(origin) {\n      return !!(origin && origin.kind === 32);\n    }\n    function originIncludesSymbolName(origin) {\n      return originIsExport(origin) || originIsResolvedExport(origin) || originIsComputedPropertyName(origin);\n    }\n    function originIsPackageJsonImport(origin) {\n      return (originIsExport(origin) || originIsResolvedExport(origin)) && !!origin.isFromPackageJson;\n    }\n    function originIsPromise(origin) {\n      return !!(origin.kind & 8);\n    }\n    function originIsNullableMember(origin) {\n      return !!(origin.kind & 16);\n    }\n    function originIsTypeOnlyAlias(origin) {\n      return !!(origin && origin.kind & 64);\n    }\n    function originIsObjectLiteralMethod(origin) {\n      return !!(origin && origin.kind & 128);\n    }\n    function originIsIgnore(origin) {\n      return !!(origin && origin.kind & 256);\n    }\n    function originIsComputedPropertyName(origin) {\n      return !!(origin && origin.kind & 512);\n    }\n    function resolvingModuleSpecifiers(logPrefix, host, resolver, program, position, preferences, isForImportStatementCompletion, isValidTypeOnlyUseSite, cb) {\n      var _a22, _b3, _c;\n      const start = timestamp();\n      const needsFullResolution = isForImportStatementCompletion || moduleResolutionSupportsPackageJsonExportsAndImports(getEmitModuleResolutionKind(program.getCompilerOptions()));\n      let skippedAny = false;\n      let ambientCount = 0;\n      let resolvedCount = 0;\n      let resolvedFromCacheCount = 0;\n      let cacheAttemptCount = 0;\n      const result = cb({\n        tryResolve,\n        skippedAny: () => skippedAny,\n        resolvedAny: () => resolvedCount > 0,\n        resolvedBeyondLimit: () => resolvedCount > moduleSpecifierResolutionLimit\n      });\n      const hitRateMessage = cacheAttemptCount ? ` (${(resolvedFromCacheCount / cacheAttemptCount * 100).toFixed(1)}% hit rate)` : \"\";\n      (_a22 = host.log) == null ? void 0 : _a22.call(host, `${logPrefix}: resolved ${resolvedCount} module specifiers, plus ${ambientCount} ambient and ${resolvedFromCacheCount} from cache${hitRateMessage}`);\n      (_b3 = host.log) == null ? void 0 : _b3.call(host, `${logPrefix}: response is ${skippedAny ? \"incomplete\" : \"complete\"}`);\n      (_c = host.log) == null ? void 0 : _c.call(host, `${logPrefix}: ${timestamp() - start}`);\n      return result;\n      function tryResolve(exportInfo, isFromAmbientModule) {\n        if (isFromAmbientModule) {\n          const result3 = resolver.getModuleSpecifierForBestExportInfo(exportInfo, position, isValidTypeOnlyUseSite);\n          if (result3) {\n            ambientCount++;\n          }\n          return result3 || \"failed\";\n        }\n        const shouldResolveModuleSpecifier = needsFullResolution || preferences.allowIncompleteCompletions && resolvedCount < moduleSpecifierResolutionLimit;\n        const shouldGetModuleSpecifierFromCache = !shouldResolveModuleSpecifier && preferences.allowIncompleteCompletions && cacheAttemptCount < moduleSpecifierResolutionCacheAttemptLimit;\n        const result2 = shouldResolveModuleSpecifier || shouldGetModuleSpecifierFromCache ? resolver.getModuleSpecifierForBestExportInfo(exportInfo, position, isValidTypeOnlyUseSite, shouldGetModuleSpecifierFromCache) : void 0;\n        if (!shouldResolveModuleSpecifier && !shouldGetModuleSpecifierFromCache || shouldGetModuleSpecifierFromCache && !result2) {\n          skippedAny = true;\n        }\n        resolvedCount += (result2 == null ? void 0 : result2.computedWithoutCacheCount) || 0;\n        resolvedFromCacheCount += exportInfo.length - ((result2 == null ? void 0 : result2.computedWithoutCacheCount) || 0);\n        if (shouldGetModuleSpecifierFromCache) {\n          cacheAttemptCount++;\n        }\n        return result2 || (needsFullResolution ? \"failed\" : \"skipped\");\n      }\n    }\n    function getCompletionsAtPosition(host, program, log, sourceFile, position, preferences, triggerCharacter, completionKind, cancellationToken, formatContext, includeSymbol = false) {\n      var _a22;\n      const { previousToken } = getRelevantTokens(position, sourceFile);\n      if (triggerCharacter && !isInString(sourceFile, position, previousToken) && !isValidTrigger(sourceFile, triggerCharacter, previousToken, position)) {\n        return void 0;\n      }\n      if (triggerCharacter === \" \") {\n        if (preferences.includeCompletionsForImportStatements && preferences.includeCompletionsWithInsertText) {\n          return { isGlobalCompletion: true, isMemberCompletion: false, isNewIdentifierLocation: true, isIncomplete: true, entries: [] };\n        }\n        return void 0;\n      }\n      const compilerOptions = program.getCompilerOptions();\n      const incompleteCompletionsCache = preferences.allowIncompleteCompletions ? (_a22 = host.getIncompleteCompletionsCache) == null ? void 0 : _a22.call(host) : void 0;\n      if (incompleteCompletionsCache && completionKind === 3 && previousToken && isIdentifier(previousToken)) {\n        const incompleteContinuation = continuePreviousIncompleteResponse(incompleteCompletionsCache, sourceFile, previousToken, program, host, preferences, cancellationToken, position);\n        if (incompleteContinuation) {\n          return incompleteContinuation;\n        }\n      } else {\n        incompleteCompletionsCache == null ? void 0 : incompleteCompletionsCache.clear();\n      }\n      const stringCompletions = ts_Completions_StringCompletions_exports.getStringLiteralCompletions(sourceFile, position, previousToken, compilerOptions, host, program, log, preferences, includeSymbol);\n      if (stringCompletions) {\n        return stringCompletions;\n      }\n      if (previousToken && isBreakOrContinueStatement(previousToken.parent) && (previousToken.kind === 81 || previousToken.kind === 86 || previousToken.kind === 79)) {\n        return getLabelCompletionAtPosition(previousToken.parent);\n      }\n      const completionData = getCompletionData(\n        program,\n        log,\n        sourceFile,\n        compilerOptions,\n        position,\n        preferences,\n        /*detailsEntryId*/\n        void 0,\n        host,\n        formatContext,\n        cancellationToken\n      );\n      if (!completionData) {\n        return void 0;\n      }\n      switch (completionData.kind) {\n        case 0:\n          const response = completionInfoFromData(sourceFile, host, program, compilerOptions, log, completionData, preferences, formatContext, position, includeSymbol);\n          if (response == null ? void 0 : response.isIncomplete) {\n            incompleteCompletionsCache == null ? void 0 : incompleteCompletionsCache.set(response);\n          }\n          return response;\n        case 1:\n          return jsdocCompletionInfo(ts_JsDoc_exports.getJSDocTagNameCompletions());\n        case 2:\n          return jsdocCompletionInfo(ts_JsDoc_exports.getJSDocTagCompletions());\n        case 3:\n          return jsdocCompletionInfo(ts_JsDoc_exports.getJSDocParameterNameCompletions(completionData.tag));\n        case 4:\n          return specificKeywordCompletionInfo(completionData.keywordCompletions, completionData.isNewIdentifierLocation);\n        default:\n          return Debug2.assertNever(completionData);\n      }\n    }\n    function compareCompletionEntries(entryInArray, entryToInsert) {\n      var _a22, _b3;\n      let result = compareStringsCaseSensitiveUI(entryInArray.sortText, entryToInsert.sortText);\n      if (result === 0) {\n        result = compareStringsCaseSensitiveUI(entryInArray.name, entryToInsert.name);\n      }\n      if (result === 0 && ((_a22 = entryInArray.data) == null ? void 0 : _a22.moduleSpecifier) && ((_b3 = entryToInsert.data) == null ? void 0 : _b3.moduleSpecifier)) {\n        result = compareNumberOfDirectorySeparators(\n          entryInArray.data.moduleSpecifier,\n          entryToInsert.data.moduleSpecifier\n        );\n      }\n      if (result === 0) {\n        return -1;\n      }\n      return result;\n    }\n    function completionEntryDataIsResolved(data) {\n      return !!(data == null ? void 0 : data.moduleSpecifier);\n    }\n    function continuePreviousIncompleteResponse(cache, file, location, program, host, preferences, cancellationToken, position) {\n      const previousResponse = cache.get();\n      if (!previousResponse)\n        return void 0;\n      const touchNode = getTouchingPropertyName(file, position);\n      const lowerCaseTokenText = location.text.toLowerCase();\n      const exportMap = getExportInfoMap(file, host, program, preferences, cancellationToken);\n      const newEntries = resolvingModuleSpecifiers(\n        \"continuePreviousIncompleteResponse\",\n        host,\n        ts_codefix_exports.createImportSpecifierResolver(file, program, host, preferences),\n        program,\n        location.getStart(),\n        preferences,\n        /*isForImportStatementCompletion*/\n        false,\n        isValidTypeOnlyAliasUseSite(location),\n        (context) => {\n          const entries = mapDefined(previousResponse.entries, (entry) => {\n            var _a22;\n            if (!entry.hasAction || !entry.source || !entry.data || completionEntryDataIsResolved(entry.data)) {\n              return entry;\n            }\n            if (!charactersFuzzyMatchInString(entry.name, lowerCaseTokenText)) {\n              return void 0;\n            }\n            const { origin } = Debug2.checkDefined(getAutoImportSymbolFromCompletionEntryData(entry.name, entry.data, program, host));\n            const info = exportMap.get(file.path, entry.data.exportMapKey);\n            const result = info && context.tryResolve(info, !isExternalModuleNameRelative(stripQuotes(origin.moduleSymbol.name)));\n            if (result === \"skipped\")\n              return entry;\n            if (!result || result === \"failed\") {\n              (_a22 = host.log) == null ? void 0 : _a22.call(host, `Unexpected failure resolving auto import for '${entry.name}' from '${entry.source}'`);\n              return void 0;\n            }\n            const newOrigin = {\n              ...origin,\n              kind: 32,\n              moduleSpecifier: result.moduleSpecifier\n            };\n            entry.data = originToCompletionEntryData(newOrigin);\n            entry.source = getSourceFromOrigin(newOrigin);\n            entry.sourceDisplay = [textPart(newOrigin.moduleSpecifier)];\n            return entry;\n          });\n          if (!context.skippedAny()) {\n            previousResponse.isIncomplete = void 0;\n          }\n          return entries;\n        }\n      );\n      previousResponse.entries = newEntries;\n      previousResponse.flags = (previousResponse.flags || 0) | 4;\n      previousResponse.optionalReplacementSpan = getOptionalReplacementSpan(touchNode);\n      return previousResponse;\n    }\n    function jsdocCompletionInfo(entries) {\n      return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries };\n    }\n    function keywordToCompletionEntry(keyword) {\n      return {\n        name: tokenToString(keyword),\n        kind: \"keyword\",\n        kindModifiers: \"\",\n        sortText: SortText.GlobalsOrKeywords\n      };\n    }\n    function specificKeywordCompletionInfo(entries, isNewIdentifierLocation) {\n      return {\n        isGlobalCompletion: false,\n        isMemberCompletion: false,\n        isNewIdentifierLocation,\n        entries: entries.slice()\n      };\n    }\n    function keywordCompletionData(keywordFilters, filterOutTsOnlyKeywords, isNewIdentifierLocation) {\n      return {\n        kind: 4,\n        keywordCompletions: getKeywordCompletions(keywordFilters, filterOutTsOnlyKeywords),\n        isNewIdentifierLocation\n      };\n    }\n    function keywordFiltersFromSyntaxKind(keywordCompletion) {\n      switch (keywordCompletion) {\n        case 154:\n          return 8;\n        default:\n          Debug2.fail(\"Unknown mapping from SyntaxKind to KeywordCompletionFilters\");\n      }\n    }\n    function getOptionalReplacementSpan(location) {\n      return (location == null ? void 0 : location.kind) === 79 ? createTextSpanFromNode(location) : void 0;\n    }\n    function completionInfoFromData(sourceFile, host, program, compilerOptions, log, completionData, preferences, formatContext, position, includeSymbol) {\n      const {\n        symbols,\n        contextToken,\n        completionKind,\n        isInSnippetScope,\n        isNewIdentifierLocation,\n        location,\n        propertyAccessToConvert,\n        keywordFilters,\n        symbolToOriginInfoMap,\n        recommendedCompletion,\n        isJsxInitializer,\n        isTypeOnlyLocation,\n        isJsxIdentifierExpected,\n        isRightOfOpenTag,\n        isRightOfDotOrQuestionDot,\n        importStatementCompletion,\n        insideJsDocTagTypeExpression,\n        symbolToSortTextMap,\n        hasUnresolvedAutoImports\n      } = completionData;\n      let literals = completionData.literals;\n      const checker = program.getTypeChecker();\n      if (getLanguageVariant(sourceFile.scriptKind) === 1) {\n        const completionInfo = getJsxClosingTagCompletion(location, sourceFile);\n        if (completionInfo) {\n          return completionInfo;\n        }\n      }\n      const caseClause = findAncestor(contextToken, isCaseClause);\n      if (caseClause && (isCaseKeyword(contextToken) || isNodeDescendantOf(contextToken, caseClause.expression))) {\n        const tracker = newCaseClauseTracker(checker, caseClause.parent.clauses);\n        literals = literals.filter((literal) => !tracker.hasValue(literal));\n        symbols.forEach((symbol, i) => {\n          if (symbol.valueDeclaration && isEnumMember(symbol.valueDeclaration)) {\n            const value = checker.getConstantValue(symbol.valueDeclaration);\n            if (value !== void 0 && tracker.hasValue(value)) {\n              symbolToOriginInfoMap[i] = {\n                kind: 256\n                /* Ignore */\n              };\n            }\n          }\n        });\n      }\n      const entries = createSortedArray();\n      const isChecked = isCheckedFile(sourceFile, compilerOptions);\n      if (isChecked && !isNewIdentifierLocation && (!symbols || symbols.length === 0) && keywordFilters === 0) {\n        return void 0;\n      }\n      const uniqueNames = getCompletionEntriesFromSymbols(\n        symbols,\n        entries,\n        /*replacementToken*/\n        void 0,\n        contextToken,\n        location,\n        position,\n        sourceFile,\n        host,\n        program,\n        getEmitScriptTarget(compilerOptions),\n        log,\n        completionKind,\n        preferences,\n        compilerOptions,\n        formatContext,\n        isTypeOnlyLocation,\n        propertyAccessToConvert,\n        isJsxIdentifierExpected,\n        isJsxInitializer,\n        importStatementCompletion,\n        recommendedCompletion,\n        symbolToOriginInfoMap,\n        symbolToSortTextMap,\n        isJsxIdentifierExpected,\n        isRightOfOpenTag,\n        includeSymbol\n      );\n      if (keywordFilters !== 0) {\n        for (const keywordEntry of getKeywordCompletions(keywordFilters, !insideJsDocTagTypeExpression && isSourceFileJS(sourceFile))) {\n          if (isTypeOnlyLocation && isTypeKeyword(stringToToken(keywordEntry.name)) || !uniqueNames.has(keywordEntry.name)) {\n            uniqueNames.add(keywordEntry.name);\n            insertSorted(\n              entries,\n              keywordEntry,\n              compareCompletionEntries,\n              /*allowDuplicates*/\n              true\n            );\n          }\n        }\n      }\n      for (const keywordEntry of getContextualKeywords(contextToken, position)) {\n        if (!uniqueNames.has(keywordEntry.name)) {\n          uniqueNames.add(keywordEntry.name);\n          insertSorted(\n            entries,\n            keywordEntry,\n            compareCompletionEntries,\n            /*allowDuplicates*/\n            true\n          );\n        }\n      }\n      for (const literal of literals) {\n        const literalEntry = createCompletionEntryForLiteral(sourceFile, preferences, literal);\n        uniqueNames.add(literalEntry.name);\n        insertSorted(\n          entries,\n          literalEntry,\n          compareCompletionEntries,\n          /*allowDuplicates*/\n          true\n        );\n      }\n      if (!isChecked) {\n        getJSCompletionEntries(sourceFile, location.pos, uniqueNames, getEmitScriptTarget(compilerOptions), entries);\n      }\n      let caseBlock;\n      if (preferences.includeCompletionsWithInsertText && contextToken && !isRightOfOpenTag && !isRightOfDotOrQuestionDot && (caseBlock = findAncestor(contextToken, isCaseBlock))) {\n        const cases = getExhaustiveCaseSnippets(caseBlock, sourceFile, preferences, compilerOptions, host, program, formatContext);\n        if (cases) {\n          entries.push(cases.entry);\n        }\n      }\n      return {\n        flags: completionData.flags,\n        isGlobalCompletion: isInSnippetScope,\n        isIncomplete: preferences.allowIncompleteCompletions && hasUnresolvedAutoImports ? true : void 0,\n        isMemberCompletion: isMemberCompletionKind(completionKind),\n        isNewIdentifierLocation,\n        optionalReplacementSpan: getOptionalReplacementSpan(location),\n        entries\n      };\n    }\n    function isCheckedFile(sourceFile, compilerOptions) {\n      return !isSourceFileJS(sourceFile) || !!isCheckJsEnabledForFile(sourceFile, compilerOptions);\n    }\n    function getExhaustiveCaseSnippets(caseBlock, sourceFile, preferences, options, host, program, formatContext) {\n      const clauses = caseBlock.clauses;\n      const checker = program.getTypeChecker();\n      const switchType = checker.getTypeAtLocation(caseBlock.parent.expression);\n      if (switchType && switchType.isUnion() && every(switchType.types, (type) => type.isLiteral())) {\n        const tracker = newCaseClauseTracker(checker, clauses);\n        const target = getEmitScriptTarget(options);\n        const quotePreference = getQuotePreference(sourceFile, preferences);\n        const importAdder = ts_codefix_exports.createImportAdder(sourceFile, program, preferences, host);\n        const elements = [];\n        for (const type of switchType.types) {\n          if (type.flags & 1024) {\n            Debug2.assert(type.symbol, \"An enum member type should have a symbol\");\n            Debug2.assert(type.symbol.parent, \"An enum member type should have a parent symbol (the enum symbol)\");\n            const enumValue = type.symbol.valueDeclaration && checker.getConstantValue(type.symbol.valueDeclaration);\n            if (enumValue !== void 0) {\n              if (tracker.hasValue(enumValue)) {\n                continue;\n              }\n              tracker.addValue(enumValue);\n            }\n            const typeNode = ts_codefix_exports.typeToAutoImportableTypeNode(checker, importAdder, type, caseBlock, target);\n            if (!typeNode) {\n              return void 0;\n            }\n            const expr = typeNodeToExpression(typeNode, target, quotePreference);\n            if (!expr) {\n              return void 0;\n            }\n            elements.push(expr);\n          } else if (!tracker.hasValue(type.value)) {\n            switch (typeof type.value) {\n              case \"object\":\n                elements.push(type.value.negative ? factory.createPrefixUnaryExpression(40, factory.createBigIntLiteral({ negative: false, base10Value: type.value.base10Value })) : factory.createBigIntLiteral(type.value));\n                break;\n              case \"number\":\n                elements.push(type.value < 0 ? factory.createPrefixUnaryExpression(40, factory.createNumericLiteral(-type.value)) : factory.createNumericLiteral(type.value));\n                break;\n              case \"string\":\n                elements.push(factory.createStringLiteral(\n                  type.value,\n                  quotePreference === 0\n                  /* Single */\n                ));\n                break;\n            }\n          }\n        }\n        if (elements.length === 0) {\n          return void 0;\n        }\n        const newClauses = map(elements, (element) => factory.createCaseClause(element, []));\n        const newLineChar = getNewLineOrDefaultFromHost(host, formatContext == null ? void 0 : formatContext.options);\n        const printer = createSnippetPrinter({\n          removeComments: true,\n          module: options.module,\n          target: options.target,\n          newLine: getNewLineKind(newLineChar)\n        });\n        const printNode = formatContext ? (node) => printer.printAndFormatNode(4, node, sourceFile, formatContext) : (node) => printer.printNode(4, node, sourceFile);\n        const insertText = map(newClauses, (clause, i) => {\n          if (preferences.includeCompletionsWithSnippetText) {\n            return `${printNode(clause)}$${i + 1}`;\n          }\n          return `${printNode(clause)}`;\n        }).join(newLineChar);\n        const firstClause = printer.printNode(4, newClauses[0], sourceFile);\n        return {\n          entry: {\n            name: `${firstClause} ...`,\n            kind: \"\",\n            sortText: SortText.GlobalsOrKeywords,\n            insertText,\n            hasAction: importAdder.hasFixes() || void 0,\n            source: \"SwitchCases/\",\n            isSnippet: preferences.includeCompletionsWithSnippetText ? true : void 0\n          },\n          importAdder\n        };\n      }\n      return void 0;\n    }\n    function typeNodeToExpression(typeNode, languageVersion, quotePreference) {\n      switch (typeNode.kind) {\n        case 180:\n          const typeName = typeNode.typeName;\n          return entityNameToExpression(typeName, languageVersion, quotePreference);\n        case 196:\n          const objectExpression = typeNodeToExpression(typeNode.objectType, languageVersion, quotePreference);\n          const indexExpression = typeNodeToExpression(typeNode.indexType, languageVersion, quotePreference);\n          return objectExpression && indexExpression && factory.createElementAccessExpression(objectExpression, indexExpression);\n        case 198:\n          const literal = typeNode.literal;\n          switch (literal.kind) {\n            case 10:\n              return factory.createStringLiteral(\n                literal.text,\n                quotePreference === 0\n                /* Single */\n              );\n            case 8:\n              return factory.createNumericLiteral(literal.text, literal.numericLiteralFlags);\n          }\n          return void 0;\n        case 193:\n          const exp = typeNodeToExpression(typeNode.type, languageVersion, quotePreference);\n          return exp && (isIdentifier(exp) ? exp : factory.createParenthesizedExpression(exp));\n        case 183:\n          return entityNameToExpression(typeNode.exprName, languageVersion, quotePreference);\n        case 202:\n          Debug2.fail(`We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.`);\n      }\n      return void 0;\n    }\n    function entityNameToExpression(entityName, languageVersion, quotePreference) {\n      if (isIdentifier(entityName)) {\n        return entityName;\n      }\n      const unescapedName = unescapeLeadingUnderscores(entityName.right.escapedText);\n      if (canUsePropertyAccess(unescapedName, languageVersion)) {\n        return factory.createPropertyAccessExpression(\n          entityNameToExpression(entityName.left, languageVersion, quotePreference),\n          unescapedName\n        );\n      } else {\n        return factory.createElementAccessExpression(\n          entityNameToExpression(entityName.left, languageVersion, quotePreference),\n          factory.createStringLiteral(\n            unescapedName,\n            quotePreference === 0\n            /* Single */\n          )\n        );\n      }\n    }\n    function isMemberCompletionKind(kind) {\n      switch (kind) {\n        case 0:\n        case 3:\n        case 2:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function getJsxClosingTagCompletion(location, sourceFile) {\n      const jsxClosingElement = findAncestor(location, (node) => {\n        switch (node.kind) {\n          case 284:\n            return true;\n          case 43:\n          case 31:\n          case 79:\n          case 208:\n            return false;\n          default:\n            return \"quit\";\n        }\n      });\n      if (jsxClosingElement) {\n        const hasClosingAngleBracket = !!findChildOfKind(jsxClosingElement, 31, sourceFile);\n        const tagName = jsxClosingElement.parent.openingElement.tagName;\n        const closingTag = tagName.getText(sourceFile);\n        const fullClosingTag = closingTag + (hasClosingAngleBracket ? \"\" : \">\");\n        const replacementSpan = createTextSpanFromNode(jsxClosingElement.tagName);\n        const entry = {\n          name: fullClosingTag,\n          kind: \"class\",\n          kindModifiers: void 0,\n          sortText: SortText.LocationPriority\n        };\n        return { isGlobalCompletion: false, isMemberCompletion: true, isNewIdentifierLocation: false, optionalReplacementSpan: replacementSpan, entries: [entry] };\n      }\n      return;\n    }\n    function getJSCompletionEntries(sourceFile, position, uniqueNames, target, entries) {\n      getNameTable(sourceFile).forEach((pos, name) => {\n        if (pos === position) {\n          return;\n        }\n        const realName = unescapeLeadingUnderscores(name);\n        if (!uniqueNames.has(realName) && isIdentifierText(realName, target)) {\n          uniqueNames.add(realName);\n          insertSorted(entries, {\n            name: realName,\n            kind: \"warning\",\n            kindModifiers: \"\",\n            sortText: SortText.JavascriptIdentifiers,\n            isFromUncheckedFile: true\n          }, compareCompletionEntries);\n        }\n      });\n    }\n    function completionNameForLiteral(sourceFile, preferences, literal) {\n      return typeof literal === \"object\" ? pseudoBigIntToString(literal) + \"n\" : isString2(literal) ? quote(sourceFile, preferences, literal) : JSON.stringify(literal);\n    }\n    function createCompletionEntryForLiteral(sourceFile, preferences, literal) {\n      return { name: completionNameForLiteral(sourceFile, preferences, literal), kind: \"string\", kindModifiers: \"\", sortText: SortText.LocationPriority };\n    }\n    function createCompletionEntry(symbol, sortText, replacementToken, contextToken, location, position, sourceFile, host, program, name, needsConvertPropertyAccess, origin, recommendedCompletion, propertyAccessToConvert, isJsxInitializer, importStatementCompletion, useSemicolons, options, preferences, completionKind, formatContext, isJsxIdentifierExpected, isRightOfOpenTag, includeSymbol) {\n      let insertText;\n      let replacementSpan = getReplacementSpanForContextToken(replacementToken);\n      let data;\n      let isSnippet;\n      let source = getSourceFromOrigin(origin);\n      let sourceDisplay;\n      let hasAction;\n      let labelDetails;\n      const typeChecker = program.getTypeChecker();\n      const insertQuestionDot = origin && originIsNullableMember(origin);\n      const useBraces = origin && originIsSymbolMember(origin) || needsConvertPropertyAccess;\n      if (origin && originIsThisType(origin)) {\n        insertText = needsConvertPropertyAccess ? `this${insertQuestionDot ? \"?.\" : \"\"}[${quotePropertyName(sourceFile, preferences, name)}]` : `this${insertQuestionDot ? \"?.\" : \".\"}${name}`;\n      } else if ((useBraces || insertQuestionDot) && propertyAccessToConvert) {\n        insertText = useBraces ? needsConvertPropertyAccess ? `[${quotePropertyName(sourceFile, preferences, name)}]` : `[${name}]` : name;\n        if (insertQuestionDot || propertyAccessToConvert.questionDotToken) {\n          insertText = `?.${insertText}`;\n        }\n        const dot = findChildOfKind(propertyAccessToConvert, 24, sourceFile) || findChildOfKind(propertyAccessToConvert, 28, sourceFile);\n        if (!dot) {\n          return void 0;\n        }\n        const end = startsWith(name, propertyAccessToConvert.name.text) ? propertyAccessToConvert.name.end : dot.end;\n        replacementSpan = createTextSpanFromBounds(dot.getStart(sourceFile), end);\n      }\n      if (isJsxInitializer) {\n        if (insertText === void 0)\n          insertText = name;\n        insertText = `{${insertText}}`;\n        if (typeof isJsxInitializer !== \"boolean\") {\n          replacementSpan = createTextSpanFromNode(isJsxInitializer, sourceFile);\n        }\n      }\n      if (origin && originIsPromise(origin) && propertyAccessToConvert) {\n        if (insertText === void 0)\n          insertText = name;\n        const precedingToken = findPrecedingToken(propertyAccessToConvert.pos, sourceFile);\n        let awaitText = \"\";\n        if (precedingToken && positionIsASICandidate(precedingToken.end, precedingToken.parent, sourceFile)) {\n          awaitText = \";\";\n        }\n        awaitText += `(await ${propertyAccessToConvert.expression.getText()})`;\n        insertText = needsConvertPropertyAccess ? `${awaitText}${insertText}` : `${awaitText}${insertQuestionDot ? \"?.\" : \".\"}${insertText}`;\n        const isInAwaitExpression = tryCast(propertyAccessToConvert.parent, isAwaitExpression);\n        const wrapNode = isInAwaitExpression ? propertyAccessToConvert.parent : propertyAccessToConvert.expression;\n        replacementSpan = createTextSpanFromBounds(wrapNode.getStart(sourceFile), propertyAccessToConvert.end);\n      }\n      if (originIsResolvedExport(origin)) {\n        sourceDisplay = [textPart(origin.moduleSpecifier)];\n        if (importStatementCompletion) {\n          ({ insertText, replacementSpan } = getInsertTextAndReplacementSpanForImportCompletion(name, importStatementCompletion, origin, useSemicolons, sourceFile, options, preferences));\n          isSnippet = preferences.includeCompletionsWithSnippetText ? true : void 0;\n        }\n      }\n      if ((origin == null ? void 0 : origin.kind) === 64) {\n        hasAction = true;\n      }\n      if (preferences.includeCompletionsWithClassMemberSnippets && preferences.includeCompletionsWithInsertText && completionKind === 3 && isClassLikeMemberCompletion(symbol, location, sourceFile)) {\n        let importAdder;\n        ({ insertText, isSnippet, importAdder, replacementSpan } = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, position, contextToken, formatContext));\n        sortText = SortText.ClassMemberSnippets;\n        if (importAdder == null ? void 0 : importAdder.hasFixes()) {\n          hasAction = true;\n          source = \"ClassMemberSnippet/\";\n        }\n      }\n      if (origin && originIsObjectLiteralMethod(origin)) {\n        ({ insertText, isSnippet, labelDetails } = origin);\n        if (!preferences.useLabelDetailsInCompletionEntries) {\n          name = name + labelDetails.detail;\n          labelDetails = void 0;\n        }\n        source = \"ObjectLiteralMethodSnippet/\";\n        sortText = SortText.SortBelow(sortText);\n      }\n      if (isJsxIdentifierExpected && !isRightOfOpenTag && preferences.includeCompletionsWithSnippetText && preferences.jsxAttributeCompletionStyle && preferences.jsxAttributeCompletionStyle !== \"none\" && !(isJsxAttribute(location.parent) && location.parent.initializer)) {\n        let useBraces2 = preferences.jsxAttributeCompletionStyle === \"braces\";\n        const type = typeChecker.getTypeOfSymbolAtLocation(symbol, location);\n        if (preferences.jsxAttributeCompletionStyle === \"auto\" && !(type.flags & 528) && !(type.flags & 1048576 && find(type.types, (type2) => !!(type2.flags & 528)))) {\n          if (type.flags & 402653316 || type.flags & 1048576 && every(type.types, (type2) => !!(type2.flags & (402653316 | 32768) || isStringAndEmptyAnonymousObjectIntersection(type2)))) {\n            insertText = `${escapeSnippetText(name)}=${quote(sourceFile, preferences, \"$1\")}`;\n            isSnippet = true;\n          } else {\n            useBraces2 = true;\n          }\n        }\n        if (useBraces2) {\n          insertText = `${escapeSnippetText(name)}={$1}`;\n          isSnippet = true;\n        }\n      }\n      if (insertText !== void 0 && !preferences.includeCompletionsWithInsertText) {\n        return void 0;\n      }\n      if (originIsExport(origin) || originIsResolvedExport(origin)) {\n        data = originToCompletionEntryData(origin);\n        hasAction = !importStatementCompletion;\n      }\n      return {\n        name,\n        kind: ts_SymbolDisplay_exports.getSymbolKind(typeChecker, symbol, location),\n        kindModifiers: ts_SymbolDisplay_exports.getSymbolModifiers(typeChecker, symbol),\n        sortText,\n        source,\n        hasAction: hasAction ? true : void 0,\n        isRecommended: isRecommendedCompletionMatch(symbol, recommendedCompletion, typeChecker) || void 0,\n        insertText,\n        replacementSpan,\n        sourceDisplay,\n        labelDetails,\n        isSnippet,\n        isPackageJsonImport: originIsPackageJsonImport(origin) || void 0,\n        isImportStatementCompletion: !!importStatementCompletion || void 0,\n        data,\n        ...includeSymbol ? { symbol } : void 0\n      };\n    }\n    function isClassLikeMemberCompletion(symbol, location, sourceFile) {\n      if (isInJSFile(location)) {\n        return false;\n      }\n      const memberFlags = 106500 & 900095;\n      return !!(symbol.flags & memberFlags) && (isClassLike(location) || location.parent && location.parent.parent && isClassElement(location.parent) && location === location.parent.name && location.parent.getLastToken(sourceFile) === location.parent.name && isClassLike(location.parent.parent) || location.parent && isSyntaxList(location) && isClassLike(location.parent));\n    }\n    function getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, position, contextToken, formatContext) {\n      const classLikeDeclaration = findAncestor(location, isClassLike);\n      if (!classLikeDeclaration) {\n        return { insertText: name };\n      }\n      let isSnippet;\n      let replacementSpan;\n      let insertText = name;\n      const checker = program.getTypeChecker();\n      const sourceFile = location.getSourceFile();\n      const printer = createSnippetPrinter({\n        removeComments: true,\n        module: options.module,\n        target: options.target,\n        omitTrailingSemicolon: false,\n        newLine: getNewLineKind(getNewLineOrDefaultFromHost(host, formatContext == null ? void 0 : formatContext.options))\n      });\n      const importAdder = ts_codefix_exports.createImportAdder(sourceFile, program, preferences, host);\n      let body;\n      if (preferences.includeCompletionsWithSnippetText) {\n        isSnippet = true;\n        const emptyStmt = factory.createEmptyStatement();\n        body = factory.createBlock(\n          [emptyStmt],\n          /* multiline */\n          true\n        );\n        setSnippetElement(emptyStmt, { kind: 0, order: 0 });\n      } else {\n        body = factory.createBlock(\n          [],\n          /* multiline */\n          true\n        );\n      }\n      let modifiers = 0;\n      const { modifiers: presentModifiers, span: modifiersSpan } = getPresentModifiers(contextToken, sourceFile, position);\n      const isAbstract = !!(presentModifiers & 256);\n      const completionNodes = [];\n      ts_codefix_exports.addNewNodeForMemberSymbol(\n        symbol,\n        classLikeDeclaration,\n        sourceFile,\n        { program, host },\n        preferences,\n        importAdder,\n        // `addNewNodeForMemberSymbol` calls this callback function for each new member node\n        // it adds for the given member symbol.\n        // We store these member nodes in the `completionNodes` array.\n        // Note: there might be:\n        //  - No nodes if `addNewNodeForMemberSymbol` cannot figure out a node for the member;\n        //  - One node;\n        //  - More than one node if the member is overloaded (e.g. a method with overload signatures).\n        (node) => {\n          let requiredModifiers = 0;\n          if (isAbstract) {\n            requiredModifiers |= 256;\n          }\n          if (isClassElement(node) && checker.getMemberOverrideModifierStatus(classLikeDeclaration, node, symbol) === 1) {\n            requiredModifiers |= 16384;\n          }\n          if (!completionNodes.length) {\n            modifiers = node.modifierFlagsCache | requiredModifiers | presentModifiers;\n          }\n          node = factory.updateModifiers(node, modifiers);\n          completionNodes.push(node);\n        },\n        body,\n        ts_codefix_exports.PreserveOptionalFlags.Property,\n        isAbstract\n      );\n      if (completionNodes.length) {\n        const format = 1 | 131072;\n        replacementSpan = modifiersSpan;\n        if (formatContext) {\n          insertText = printer.printAndFormatSnippetList(\n            format,\n            factory.createNodeArray(completionNodes),\n            sourceFile,\n            formatContext\n          );\n        } else {\n          insertText = printer.printSnippetList(\n            format,\n            factory.createNodeArray(completionNodes),\n            sourceFile\n          );\n        }\n      }\n      return { insertText, isSnippet, importAdder, replacementSpan };\n    }\n    function getPresentModifiers(contextToken, sourceFile, position) {\n      if (!contextToken || getLineAndCharacterOfPosition(sourceFile, position).line > getLineAndCharacterOfPosition(sourceFile, contextToken.getEnd()).line) {\n        return {\n          modifiers: 0\n          /* None */\n        };\n      }\n      let modifiers = 0;\n      let span;\n      let contextMod;\n      if (contextMod = isModifierLike2(contextToken)) {\n        modifiers |= modifierToFlag(contextMod);\n        span = createTextSpanFromNode(contextToken);\n      }\n      if (isPropertyDeclaration(contextToken.parent)) {\n        modifiers |= modifiersToFlags(contextToken.parent.modifiers) & 126975;\n        span = createTextSpanFromNode(contextToken.parent);\n      }\n      return { modifiers, span };\n    }\n    function isModifierLike2(node) {\n      if (isModifier(node)) {\n        return node.kind;\n      }\n      if (isIdentifier(node)) {\n        const originalKeywordKind = identifierToKeywordKind(node);\n        if (originalKeywordKind && isModifierKind(originalKeywordKind)) {\n          return originalKeywordKind;\n        }\n      }\n      return void 0;\n    }\n    function getEntryForObjectLiteralMethodCompletion(symbol, name, enclosingDeclaration, program, host, options, preferences, formatContext) {\n      const isSnippet = preferences.includeCompletionsWithSnippetText || void 0;\n      let insertText = name;\n      const sourceFile = enclosingDeclaration.getSourceFile();\n      const method = createObjectLiteralMethod(symbol, enclosingDeclaration, sourceFile, program, host, preferences);\n      if (!method) {\n        return void 0;\n      }\n      const printer = createSnippetPrinter({\n        removeComments: true,\n        module: options.module,\n        target: options.target,\n        omitTrailingSemicolon: false,\n        newLine: getNewLineKind(getNewLineOrDefaultFromHost(host, formatContext == null ? void 0 : formatContext.options))\n      });\n      if (formatContext) {\n        insertText = printer.printAndFormatSnippetList(16 | 64, factory.createNodeArray(\n          [method],\n          /*hasTrailingComma*/\n          true\n        ), sourceFile, formatContext);\n      } else {\n        insertText = printer.printSnippetList(16 | 64, factory.createNodeArray(\n          [method],\n          /*hasTrailingComma*/\n          true\n        ), sourceFile);\n      }\n      const signaturePrinter = createPrinter({\n        removeComments: true,\n        module: options.module,\n        target: options.target,\n        omitTrailingSemicolon: true\n      });\n      const methodSignature = factory.createMethodSignature(\n        /*modifiers*/\n        void 0,\n        /*name*/\n        \"\",\n        method.questionToken,\n        method.typeParameters,\n        method.parameters,\n        method.type\n      );\n      const labelDetails = { detail: signaturePrinter.printNode(4, methodSignature, sourceFile) };\n      return { isSnippet, insertText, labelDetails };\n    }\n    function createObjectLiteralMethod(symbol, enclosingDeclaration, sourceFile, program, host, preferences) {\n      const declarations = symbol.getDeclarations();\n      if (!(declarations && declarations.length)) {\n        return void 0;\n      }\n      const checker = program.getTypeChecker();\n      const declaration = declarations[0];\n      const name = getSynthesizedDeepClone(\n        getNameOfDeclaration(declaration),\n        /*includeTrivia*/\n        false\n      );\n      const type = checker.getWidenedType(checker.getTypeOfSymbolAtLocation(symbol, enclosingDeclaration));\n      const quotePreference = getQuotePreference(sourceFile, preferences);\n      const builderFlags = 33554432 | (quotePreference === 0 ? 268435456 : 0);\n      switch (declaration.kind) {\n        case 168:\n        case 169:\n        case 170:\n        case 171: {\n          let effectiveType = type.flags & 1048576 && type.types.length < 10 ? checker.getUnionType(\n            type.types,\n            2\n            /* Subtype */\n          ) : type;\n          if (effectiveType.flags & 1048576) {\n            const functionTypes = filter(effectiveType.types, (type2) => checker.getSignaturesOfType(\n              type2,\n              0\n              /* Call */\n            ).length > 0);\n            if (functionTypes.length === 1) {\n              effectiveType = functionTypes[0];\n            } else {\n              return void 0;\n            }\n          }\n          const signatures = checker.getSignaturesOfType(\n            effectiveType,\n            0\n            /* Call */\n          );\n          if (signatures.length !== 1) {\n            return void 0;\n          }\n          const typeNode = checker.typeToTypeNode(effectiveType, enclosingDeclaration, builderFlags, ts_codefix_exports.getNoopSymbolTrackerWithResolver({ program, host }));\n          if (!typeNode || !isFunctionTypeNode(typeNode)) {\n            return void 0;\n          }\n          let body;\n          if (preferences.includeCompletionsWithSnippetText) {\n            const emptyStmt = factory.createEmptyStatement();\n            body = factory.createBlock(\n              [emptyStmt],\n              /* multiline */\n              true\n            );\n            setSnippetElement(emptyStmt, { kind: 0, order: 0 });\n          } else {\n            body = factory.createBlock(\n              [],\n              /* multiline */\n              true\n            );\n          }\n          const parameters = typeNode.parameters.map((typedParam) => factory.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            typedParam.dotDotDotToken,\n            typedParam.name,\n            /*questionToken*/\n            void 0,\n            /*type*/\n            void 0,\n            typedParam.initializer\n          ));\n          return factory.createMethodDeclaration(\n            /*modifiers*/\n            void 0,\n            /*asteriskToken*/\n            void 0,\n            name,\n            /*questionToken*/\n            void 0,\n            /*typeParameters*/\n            void 0,\n            parameters,\n            /*type*/\n            void 0,\n            body\n          );\n        }\n        default:\n          return void 0;\n      }\n    }\n    function createSnippetPrinter(printerOptions) {\n      let escapes;\n      const baseWriter = ts_textChanges_exports.createWriter(getNewLineCharacter(printerOptions));\n      const printer = createPrinter(printerOptions, baseWriter);\n      const writer = {\n        ...baseWriter,\n        write: (s) => escapingWrite(s, () => baseWriter.write(s)),\n        nonEscapingWrite: baseWriter.write,\n        writeLiteral: (s) => escapingWrite(s, () => baseWriter.writeLiteral(s)),\n        writeStringLiteral: (s) => escapingWrite(s, () => baseWriter.writeStringLiteral(s)),\n        writeSymbol: (s, symbol) => escapingWrite(s, () => baseWriter.writeSymbol(s, symbol)),\n        writeParameter: (s) => escapingWrite(s, () => baseWriter.writeParameter(s)),\n        writeComment: (s) => escapingWrite(s, () => baseWriter.writeComment(s)),\n        writeProperty: (s) => escapingWrite(s, () => baseWriter.writeProperty(s))\n      };\n      return {\n        printSnippetList,\n        printAndFormatSnippetList,\n        printNode,\n        printAndFormatNode\n      };\n      function escapingWrite(s, write) {\n        const escaped = escapeSnippetText(s);\n        if (escaped !== s) {\n          const start = baseWriter.getTextPos();\n          write();\n          const end = baseWriter.getTextPos();\n          escapes = append(escapes || (escapes = []), { newText: escaped, span: { start, length: end - start } });\n        } else {\n          write();\n        }\n      }\n      function printSnippetList(format, list, sourceFile) {\n        const unescaped = printUnescapedSnippetList(format, list, sourceFile);\n        return escapes ? ts_textChanges_exports.applyChanges(unescaped, escapes) : unescaped;\n      }\n      function printUnescapedSnippetList(format, list, sourceFile) {\n        escapes = void 0;\n        writer.clear();\n        printer.writeList(format, list, sourceFile, writer);\n        return writer.getText();\n      }\n      function printAndFormatSnippetList(format, list, sourceFile, formatContext) {\n        const syntheticFile = {\n          text: printUnescapedSnippetList(\n            format,\n            list,\n            sourceFile\n          ),\n          getLineAndCharacterOfPosition(pos) {\n            return getLineAndCharacterOfPosition(this, pos);\n          }\n        };\n        const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile);\n        const changes = flatMap(list, (node) => {\n          const nodeWithPos = ts_textChanges_exports.assignPositionsToNode(node);\n          return ts_formatting_exports.formatNodeGivenIndentation(\n            nodeWithPos,\n            syntheticFile,\n            sourceFile.languageVariant,\n            /* indentation */\n            0,\n            /* delta */\n            0,\n            { ...formatContext, options: formatOptions }\n          );\n        });\n        const allChanges = escapes ? stableSort(concatenate(changes, escapes), (a, b) => compareTextSpans(a.span, b.span)) : changes;\n        return ts_textChanges_exports.applyChanges(syntheticFile.text, allChanges);\n      }\n      function printNode(hint, node, sourceFile) {\n        const unescaped = printUnescapedNode(hint, node, sourceFile);\n        return escapes ? ts_textChanges_exports.applyChanges(unescaped, escapes) : unescaped;\n      }\n      function printUnescapedNode(hint, node, sourceFile) {\n        escapes = void 0;\n        writer.clear();\n        printer.writeNode(hint, node, sourceFile, writer);\n        return writer.getText();\n      }\n      function printAndFormatNode(hint, node, sourceFile, formatContext) {\n        const syntheticFile = {\n          text: printUnescapedNode(\n            hint,\n            node,\n            sourceFile\n          ),\n          getLineAndCharacterOfPosition(pos) {\n            return getLineAndCharacterOfPosition(this, pos);\n          }\n        };\n        const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile);\n        const nodeWithPos = ts_textChanges_exports.assignPositionsToNode(node);\n        const changes = ts_formatting_exports.formatNodeGivenIndentation(\n          nodeWithPos,\n          syntheticFile,\n          sourceFile.languageVariant,\n          /* indentation */\n          0,\n          /* delta */\n          0,\n          { ...formatContext, options: formatOptions }\n        );\n        const allChanges = escapes ? stableSort(concatenate(changes, escapes), (a, b) => compareTextSpans(a.span, b.span)) : changes;\n        return ts_textChanges_exports.applyChanges(syntheticFile.text, allChanges);\n      }\n    }\n    function originToCompletionEntryData(origin) {\n      const ambientModuleName = origin.fileName ? void 0 : stripQuotes(origin.moduleSymbol.name);\n      const isPackageJsonImport = origin.isFromPackageJson ? true : void 0;\n      if (originIsResolvedExport(origin)) {\n        const resolvedData = {\n          exportName: origin.exportName,\n          exportMapKey: origin.exportMapKey,\n          moduleSpecifier: origin.moduleSpecifier,\n          ambientModuleName,\n          fileName: origin.fileName,\n          isPackageJsonImport\n        };\n        return resolvedData;\n      }\n      const unresolvedData = {\n        exportName: origin.exportName,\n        exportMapKey: origin.exportMapKey,\n        fileName: origin.fileName,\n        ambientModuleName: origin.fileName ? void 0 : stripQuotes(origin.moduleSymbol.name),\n        isPackageJsonImport: origin.isFromPackageJson ? true : void 0\n      };\n      return unresolvedData;\n    }\n    function completionEntryDataToSymbolOriginInfo(data, completionName, moduleSymbol) {\n      const isDefaultExport = data.exportName === \"default\";\n      const isFromPackageJson = !!data.isPackageJsonImport;\n      if (completionEntryDataIsResolved(data)) {\n        const resolvedOrigin = {\n          kind: 32,\n          exportName: data.exportName,\n          exportMapKey: data.exportMapKey,\n          moduleSpecifier: data.moduleSpecifier,\n          symbolName: completionName,\n          fileName: data.fileName,\n          moduleSymbol,\n          isDefaultExport,\n          isFromPackageJson\n        };\n        return resolvedOrigin;\n      }\n      const unresolvedOrigin = {\n        kind: 4,\n        exportName: data.exportName,\n        exportMapKey: data.exportMapKey,\n        symbolName: completionName,\n        fileName: data.fileName,\n        moduleSymbol,\n        isDefaultExport,\n        isFromPackageJson\n      };\n      return unresolvedOrigin;\n    }\n    function getInsertTextAndReplacementSpanForImportCompletion(name, importStatementCompletion, origin, useSemicolons, sourceFile, options, preferences) {\n      const replacementSpan = importStatementCompletion.replacementSpan;\n      const quotedModuleSpecifier = quote(sourceFile, preferences, escapeSnippetText(origin.moduleSpecifier));\n      const exportKind = origin.isDefaultExport ? 1 : origin.exportName === \"export=\" ? 2 : 0;\n      const tabStop = preferences.includeCompletionsWithSnippetText ? \"$1\" : \"\";\n      const importKind = ts_codefix_exports.getImportKind(\n        sourceFile,\n        exportKind,\n        options,\n        /*forceImportKeyword*/\n        true\n      );\n      const isImportSpecifierTypeOnly = importStatementCompletion.couldBeTypeOnlyImportSpecifier;\n      const topLevelTypeOnlyText = importStatementCompletion.isTopLevelTypeOnly ? ` ${tokenToString(\n        154\n        /* TypeKeyword */\n      )} ` : \" \";\n      const importSpecifierTypeOnlyText = isImportSpecifierTypeOnly ? `${tokenToString(\n        154\n        /* TypeKeyword */\n      )} ` : \"\";\n      const suffix = useSemicolons ? \";\" : \"\";\n      switch (importKind) {\n        case 3:\n          return { replacementSpan, insertText: `import${topLevelTypeOnlyText}${escapeSnippetText(name)}${tabStop} = require(${quotedModuleSpecifier})${suffix}` };\n        case 1:\n          return { replacementSpan, insertText: `import${topLevelTypeOnlyText}${escapeSnippetText(name)}${tabStop} from ${quotedModuleSpecifier}${suffix}` };\n        case 2:\n          return { replacementSpan, insertText: `import${topLevelTypeOnlyText}* as ${escapeSnippetText(name)} from ${quotedModuleSpecifier}${suffix}` };\n        case 0:\n          return { replacementSpan, insertText: `import${topLevelTypeOnlyText}{ ${importSpecifierTypeOnlyText}${escapeSnippetText(name)}${tabStop} } from ${quotedModuleSpecifier}${suffix}` };\n      }\n    }\n    function quotePropertyName(sourceFile, preferences, name) {\n      if (/^\\d+$/.test(name)) {\n        return name;\n      }\n      return quote(sourceFile, preferences, name);\n    }\n    function isRecommendedCompletionMatch(localSymbol, recommendedCompletion, checker) {\n      return localSymbol === recommendedCompletion || !!(localSymbol.flags & 1048576) && checker.getExportSymbolOfSymbol(localSymbol) === recommendedCompletion;\n    }\n    function getSourceFromOrigin(origin) {\n      if (originIsExport(origin)) {\n        return stripQuotes(origin.moduleSymbol.name);\n      }\n      if (originIsResolvedExport(origin)) {\n        return origin.moduleSpecifier;\n      }\n      if ((origin == null ? void 0 : origin.kind) === 1) {\n        return \"ThisProperty/\";\n      }\n      if ((origin == null ? void 0 : origin.kind) === 64) {\n        return \"TypeOnlyAlias/\";\n      }\n    }\n    function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, contextToken, location, position, sourceFile, host, program, target, log, kind, preferences, compilerOptions, formatContext, isTypeOnlyLocation, propertyAccessToConvert, jsxIdentifierExpected, isJsxInitializer, importStatementCompletion, recommendedCompletion, symbolToOriginInfoMap, symbolToSortTextMap, isJsxIdentifierExpected, isRightOfOpenTag, includeSymbol = false) {\n      var _a22;\n      const start = timestamp();\n      const variableDeclaration = getVariableDeclaration(location);\n      const useSemicolons = probablyUsesSemicolons(sourceFile);\n      const typeChecker = program.getTypeChecker();\n      const uniques = /* @__PURE__ */ new Map();\n      for (let i = 0; i < symbols.length; i++) {\n        const symbol = symbols[i];\n        const origin = symbolToOriginInfoMap == null ? void 0 : symbolToOriginInfoMap[i];\n        const info = getCompletionEntryDisplayNameForSymbol(symbol, target, origin, kind, !!jsxIdentifierExpected);\n        if (!info || uniques.get(info.name) && (!origin || !originIsObjectLiteralMethod(origin)) || kind === 1 && symbolToSortTextMap && !shouldIncludeSymbol(symbol, symbolToSortTextMap)) {\n          continue;\n        }\n        const { name, needsConvertPropertyAccess } = info;\n        const originalSortText = (_a22 = symbolToSortTextMap == null ? void 0 : symbolToSortTextMap[getSymbolId(symbol)]) != null ? _a22 : SortText.LocationPriority;\n        const sortText = isDeprecated(symbol, typeChecker) ? SortText.Deprecated(originalSortText) : originalSortText;\n        const entry = createCompletionEntry(\n          symbol,\n          sortText,\n          replacementToken,\n          contextToken,\n          location,\n          position,\n          sourceFile,\n          host,\n          program,\n          name,\n          needsConvertPropertyAccess,\n          origin,\n          recommendedCompletion,\n          propertyAccessToConvert,\n          isJsxInitializer,\n          importStatementCompletion,\n          useSemicolons,\n          compilerOptions,\n          preferences,\n          kind,\n          formatContext,\n          isJsxIdentifierExpected,\n          isRightOfOpenTag,\n          includeSymbol\n        );\n        if (!entry) {\n          continue;\n        }\n        const shouldShadowLaterSymbols = (!origin || originIsTypeOnlyAlias(origin)) && !(symbol.parent === void 0 && !some(symbol.declarations, (d) => d.getSourceFile() === location.getSourceFile()));\n        uniques.set(name, shouldShadowLaterSymbols);\n        insertSorted(\n          entries,\n          entry,\n          compareCompletionEntries,\n          /*allowDuplicates*/\n          true\n        );\n      }\n      log(\"getCompletionsAtPosition: getCompletionEntriesFromSymbols: \" + (timestamp() - start));\n      return {\n        has: (name) => uniques.has(name),\n        add: (name) => uniques.set(name, true)\n      };\n      function shouldIncludeSymbol(symbol, symbolToSortTextMap2) {\n        let allFlags = symbol.flags;\n        if (!isSourceFile(location)) {\n          if (isExportAssignment(location.parent)) {\n            return true;\n          }\n          if (variableDeclaration && symbol.valueDeclaration === variableDeclaration) {\n            return false;\n          }\n          const symbolOrigin = skipAlias(symbol, typeChecker);\n          if (!!sourceFile.externalModuleIndicator && !compilerOptions.allowUmdGlobalAccess && symbolToSortTextMap2[getSymbolId(symbol)] === SortText.GlobalsOrKeywords && (symbolToSortTextMap2[getSymbolId(symbolOrigin)] === SortText.AutoImportSuggestions || symbolToSortTextMap2[getSymbolId(symbolOrigin)] === SortText.LocationPriority)) {\n            return false;\n          }\n          allFlags |= getCombinedLocalAndExportSymbolFlags(symbolOrigin);\n          if (isInRightSideOfInternalImportEqualsDeclaration(location)) {\n            return !!(allFlags & 1920);\n          }\n          if (isTypeOnlyLocation) {\n            return symbolCanBeReferencedAtTypeLocation(symbol, typeChecker);\n          }\n        }\n        return !!(allFlags & 111551);\n      }\n    }\n    function getLabelCompletionAtPosition(node) {\n      const entries = getLabelStatementCompletions(node);\n      if (entries.length) {\n        return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries };\n      }\n    }\n    function getLabelStatementCompletions(node) {\n      const entries = [];\n      const uniques = /* @__PURE__ */ new Map();\n      let current = node;\n      while (current) {\n        if (isFunctionLike(current)) {\n          break;\n        }\n        if (isLabeledStatement(current)) {\n          const name = current.label.text;\n          if (!uniques.has(name)) {\n            uniques.set(name, true);\n            entries.push({\n              name,\n              kindModifiers: \"\",\n              kind: \"label\",\n              sortText: SortText.LocationPriority\n            });\n          }\n        }\n        current = current.parent;\n      }\n      return entries;\n    }\n    function getSymbolCompletionFromEntryId(program, log, sourceFile, position, entryId, host, preferences) {\n      if (entryId.source === \"SwitchCases/\") {\n        return { type: \"cases\" };\n      }\n      if (entryId.data) {\n        const autoImport = getAutoImportSymbolFromCompletionEntryData(entryId.name, entryId.data, program, host);\n        if (autoImport) {\n          const { contextToken: contextToken2, previousToken: previousToken2 } = getRelevantTokens(position, sourceFile);\n          return {\n            type: \"symbol\",\n            symbol: autoImport.symbol,\n            location: getTouchingPropertyName(sourceFile, position),\n            previousToken: previousToken2,\n            contextToken: contextToken2,\n            isJsxInitializer: false,\n            isTypeOnlyLocation: false,\n            origin: autoImport.origin\n          };\n        }\n      }\n      const compilerOptions = program.getCompilerOptions();\n      const completionData = getCompletionData(\n        program,\n        log,\n        sourceFile,\n        compilerOptions,\n        position,\n        { includeCompletionsForModuleExports: true, includeCompletionsWithInsertText: true },\n        entryId,\n        host,\n        /*formatContext*/\n        void 0\n      );\n      if (!completionData) {\n        return { type: \"none\" };\n      }\n      if (completionData.kind !== 0) {\n        return { type: \"request\", request: completionData };\n      }\n      const { symbols, literals, location, completionKind, symbolToOriginInfoMap, contextToken, previousToken, isJsxInitializer, isTypeOnlyLocation } = completionData;\n      const literal = find(literals, (l) => completionNameForLiteral(sourceFile, preferences, l) === entryId.name);\n      if (literal !== void 0)\n        return { type: \"literal\", literal };\n      return firstDefined(symbols, (symbol, index) => {\n        const origin = symbolToOriginInfoMap[index];\n        const info = getCompletionEntryDisplayNameForSymbol(symbol, getEmitScriptTarget(compilerOptions), origin, completionKind, completionData.isJsxIdentifierExpected);\n        return info && info.name === entryId.name && (entryId.source === \"ClassMemberSnippet/\" && symbol.flags & 106500 || entryId.source === \"ObjectLiteralMethodSnippet/\" && symbol.flags & (4 | 8192) || getSourceFromOrigin(origin) === entryId.source) ? { type: \"symbol\", symbol, location, origin, contextToken, previousToken, isJsxInitializer, isTypeOnlyLocation } : void 0;\n      }) || { type: \"none\" };\n    }\n    function getCompletionEntryDetails(program, log, sourceFile, position, entryId, host, formatContext, preferences, cancellationToken) {\n      const typeChecker = program.getTypeChecker();\n      const compilerOptions = program.getCompilerOptions();\n      const { name, source, data } = entryId;\n      const { previousToken, contextToken } = getRelevantTokens(position, sourceFile);\n      if (isInString(sourceFile, position, previousToken)) {\n        return ts_Completions_StringCompletions_exports.getStringLiteralCompletionDetails(name, sourceFile, position, previousToken, typeChecker, compilerOptions, host, cancellationToken, preferences);\n      }\n      const symbolCompletion = getSymbolCompletionFromEntryId(program, log, sourceFile, position, entryId, host, preferences);\n      switch (symbolCompletion.type) {\n        case \"request\": {\n          const { request } = symbolCompletion;\n          switch (request.kind) {\n            case 1:\n              return ts_JsDoc_exports.getJSDocTagNameCompletionDetails(name);\n            case 2:\n              return ts_JsDoc_exports.getJSDocTagCompletionDetails(name);\n            case 3:\n              return ts_JsDoc_exports.getJSDocParameterNameCompletionDetails(name);\n            case 4:\n              return some(request.keywordCompletions, (c) => c.name === name) ? createSimpleDetails(\n                name,\n                \"keyword\",\n                5\n                /* keyword */\n              ) : void 0;\n            default:\n              return Debug2.assertNever(request);\n          }\n        }\n        case \"symbol\": {\n          const { symbol, location, contextToken: contextToken2, origin, previousToken: previousToken2 } = symbolCompletion;\n          const { codeActions, sourceDisplay } = getCompletionEntryCodeActionsAndSourceDisplay(name, location, contextToken2, origin, symbol, program, host, compilerOptions, sourceFile, position, previousToken2, formatContext, preferences, data, source, cancellationToken);\n          const symbolName2 = originIsComputedPropertyName(origin) ? origin.symbolName : symbol.name;\n          return createCompletionDetailsForSymbol(symbol, symbolName2, typeChecker, sourceFile, location, cancellationToken, codeActions, sourceDisplay);\n        }\n        case \"literal\": {\n          const { literal } = symbolCompletion;\n          return createSimpleDetails(\n            completionNameForLiteral(sourceFile, preferences, literal),\n            \"string\",\n            typeof literal === \"string\" ? 8 : 7\n            /* numericLiteral */\n          );\n        }\n        case \"cases\": {\n          const { entry, importAdder } = getExhaustiveCaseSnippets(\n            contextToken.parent,\n            sourceFile,\n            preferences,\n            program.getCompilerOptions(),\n            host,\n            program,\n            /*formatContext*/\n            void 0\n          );\n          if (importAdder.hasFixes()) {\n            const changes = ts_textChanges_exports.ChangeTracker.with(\n              { host, formatContext, preferences },\n              importAdder.writeFixes\n            );\n            return {\n              name: entry.name,\n              kind: \"\",\n              kindModifiers: \"\",\n              displayParts: [],\n              sourceDisplay: void 0,\n              codeActions: [{\n                changes,\n                description: diagnosticToString([Diagnostics.Includes_imports_of_types_referenced_by_0, name])\n              }]\n            };\n          }\n          return {\n            name: entry.name,\n            kind: \"\",\n            kindModifiers: \"\",\n            displayParts: [],\n            sourceDisplay: void 0\n          };\n        }\n        case \"none\":\n          return allKeywordsCompletions().some((c) => c.name === name) ? createSimpleDetails(\n            name,\n            \"keyword\",\n            5\n            /* keyword */\n          ) : void 0;\n        default:\n          Debug2.assertNever(symbolCompletion);\n      }\n    }\n    function createSimpleDetails(name, kind, kind2) {\n      return createCompletionDetails(name, \"\", kind, [displayPart(name, kind2)]);\n    }\n    function createCompletionDetailsForSymbol(symbol, name, checker, sourceFile, location, cancellationToken, codeActions, sourceDisplay) {\n      const { displayParts, documentation, symbolKind, tags } = checker.runWithCancellationToken(\n        cancellationToken,\n        (checker2) => ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(\n          checker2,\n          symbol,\n          sourceFile,\n          location,\n          location,\n          7\n          /* All */\n        )\n      );\n      return createCompletionDetails(name, ts_SymbolDisplay_exports.getSymbolModifiers(checker, symbol), symbolKind, displayParts, documentation, tags, codeActions, sourceDisplay);\n    }\n    function createCompletionDetails(name, kindModifiers, kind, displayParts, documentation, tags, codeActions, source) {\n      return { name, kindModifiers, kind, displayParts, documentation, tags, codeActions, source, sourceDisplay: source };\n    }\n    function getCompletionEntryCodeActionsAndSourceDisplay(name, location, contextToken, origin, symbol, program, host, compilerOptions, sourceFile, position, previousToken, formatContext, preferences, data, source, cancellationToken) {\n      if (data == null ? void 0 : data.moduleSpecifier) {\n        if (previousToken && getImportStatementCompletionInfo(contextToken || previousToken).replacementSpan) {\n          return { codeActions: void 0, sourceDisplay: [textPart(data.moduleSpecifier)] };\n        }\n      }\n      if (source === \"ClassMemberSnippet/\") {\n        const { importAdder } = getEntryForMemberCompletion(\n          host,\n          program,\n          compilerOptions,\n          preferences,\n          name,\n          symbol,\n          location,\n          position,\n          contextToken,\n          formatContext\n        );\n        if (importAdder) {\n          const changes = ts_textChanges_exports.ChangeTracker.with(\n            { host, formatContext, preferences },\n            importAdder.writeFixes\n          );\n          return {\n            sourceDisplay: void 0,\n            codeActions: [{\n              changes,\n              description: diagnosticToString([Diagnostics.Includes_imports_of_types_referenced_by_0, name])\n            }]\n          };\n        }\n      }\n      if (originIsTypeOnlyAlias(origin)) {\n        const codeAction2 = ts_codefix_exports.getPromoteTypeOnlyCompletionAction(\n          sourceFile,\n          origin.declaration.name,\n          program,\n          host,\n          formatContext,\n          preferences\n        );\n        Debug2.assertIsDefined(codeAction2, \"Expected to have a code action for promoting type-only alias\");\n        return { codeActions: [codeAction2], sourceDisplay: void 0 };\n      }\n      if (!origin || !(originIsExport(origin) || originIsResolvedExport(origin))) {\n        return { codeActions: void 0, sourceDisplay: void 0 };\n      }\n      const checker = origin.isFromPackageJson ? host.getPackageJsonAutoImportProvider().getTypeChecker() : program.getTypeChecker();\n      const { moduleSymbol } = origin;\n      const targetSymbol = checker.getMergedSymbol(skipAlias(symbol.exportSymbol || symbol, checker));\n      const isJsxOpeningTagName = (contextToken == null ? void 0 : contextToken.kind) === 29 && isJsxOpeningLikeElement(contextToken.parent);\n      const { moduleSpecifier, codeAction } = ts_codefix_exports.getImportCompletionAction(\n        targetSymbol,\n        moduleSymbol,\n        data == null ? void 0 : data.exportMapKey,\n        sourceFile,\n        name,\n        isJsxOpeningTagName,\n        host,\n        program,\n        formatContext,\n        previousToken && isIdentifier(previousToken) ? previousToken.getStart(sourceFile) : position,\n        preferences,\n        cancellationToken\n      );\n      Debug2.assert(!(data == null ? void 0 : data.moduleSpecifier) || moduleSpecifier === data.moduleSpecifier);\n      return { sourceDisplay: [textPart(moduleSpecifier)], codeActions: [codeAction] };\n    }\n    function getCompletionEntrySymbol(program, log, sourceFile, position, entryId, host, preferences) {\n      const completion = getSymbolCompletionFromEntryId(program, log, sourceFile, position, entryId, host, preferences);\n      return completion.type === \"symbol\" ? completion.symbol : void 0;\n    }\n    function getRecommendedCompletion(previousToken, contextualType, checker) {\n      return firstDefined(contextualType && (contextualType.isUnion() ? contextualType.types : [contextualType]), (type) => {\n        const symbol = type && type.symbol;\n        return symbol && (symbol.flags & (8 | 384 | 32) && !isAbstractConstructorSymbol(symbol)) ? getFirstSymbolInChain(symbol, previousToken, checker) : void 0;\n      });\n    }\n    function getContextualType(previousToken, position, sourceFile, checker) {\n      const { parent: parent2 } = previousToken;\n      switch (previousToken.kind) {\n        case 79:\n          return getContextualTypeFromParent(previousToken, checker);\n        case 63:\n          switch (parent2.kind) {\n            case 257:\n              return checker.getContextualType(parent2.initializer);\n            case 223:\n              return checker.getTypeAtLocation(parent2.left);\n            case 288:\n              return checker.getContextualTypeForJsxAttribute(parent2);\n            default:\n              return void 0;\n          }\n        case 103:\n          return checker.getContextualType(parent2);\n        case 82:\n          const caseClause = tryCast(parent2, isCaseClause);\n          return caseClause ? getSwitchedType(caseClause, checker) : void 0;\n        case 18:\n          return isJsxExpression(parent2) && !isJsxElement(parent2.parent) && !isJsxFragment(parent2.parent) ? checker.getContextualTypeForJsxAttribute(parent2.parent) : void 0;\n        default:\n          const argInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(previousToken, position, sourceFile);\n          return argInfo ? (\n            // At `,`, treat this as the next argument after the comma.\n            checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex + (previousToken.kind === 27 ? 1 : 0))\n          ) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? (\n            // completion at `x ===/**/` should be for the right side\n            checker.getTypeAtLocation(parent2.left)\n          ) : checker.getContextualType(previousToken);\n      }\n    }\n    function getFirstSymbolInChain(symbol, enclosingDeclaration, checker) {\n      const chain = checker.getAccessibleSymbolChain(\n        symbol,\n        enclosingDeclaration,\n        /*meaning*/\n        67108863,\n        /*useOnlyExternalAliasing*/\n        false\n      );\n      if (chain)\n        return first(chain);\n      return symbol.parent && (isModuleSymbol(symbol.parent) ? symbol : getFirstSymbolInChain(symbol.parent, enclosingDeclaration, checker));\n    }\n    function isModuleSymbol(symbol) {\n      var _a22;\n      return !!((_a22 = symbol.declarations) == null ? void 0 : _a22.some(\n        (d) => d.kind === 308\n        /* SourceFile */\n      ));\n    }\n    function getCompletionData(program, log, sourceFile, compilerOptions, position, preferences, detailsEntryId, host, formatContext, cancellationToken) {\n      const typeChecker = program.getTypeChecker();\n      const inCheckedFile = isCheckedFile(sourceFile, compilerOptions);\n      let start = timestamp();\n      let currentToken = getTokenAtPosition(sourceFile, position);\n      log(\"getCompletionData: Get current token: \" + (timestamp() - start));\n      start = timestamp();\n      const insideComment = isInComment(sourceFile, position, currentToken);\n      log(\"getCompletionData: Is inside comment: \" + (timestamp() - start));\n      let insideJsDocTagTypeExpression = false;\n      let isInSnippetScope = false;\n      if (insideComment) {\n        if (hasDocComment(sourceFile, position)) {\n          if (sourceFile.text.charCodeAt(position - 1) === 64) {\n            return {\n              kind: 1\n              /* JsDocTagName */\n            };\n          } else {\n            const lineStart = getLineStartPositionForPosition(position, sourceFile);\n            if (!/[^\\*|\\s(/)]/.test(sourceFile.text.substring(lineStart, position))) {\n              return {\n                kind: 2\n                /* JsDocTag */\n              };\n            }\n          }\n        }\n        const tag = getJsDocTagAtPosition(currentToken, position);\n        if (tag) {\n          if (tag.tagName.pos <= position && position <= tag.tagName.end) {\n            return {\n              kind: 1\n              /* JsDocTagName */\n            };\n          }\n          const typeExpression = tryGetTypeExpressionFromTag(tag);\n          if (typeExpression) {\n            currentToken = getTokenAtPosition(sourceFile, position);\n            if (!currentToken || !isDeclarationName(currentToken) && (currentToken.parent.kind !== 351 || currentToken.parent.name !== currentToken)) {\n              insideJsDocTagTypeExpression = isCurrentlyEditingNode(typeExpression);\n            }\n          }\n          if (!insideJsDocTagTypeExpression && isJSDocParameterTag(tag) && (nodeIsMissing(tag.name) || tag.name.pos <= position && position <= tag.name.end)) {\n            return { kind: 3, tag };\n          }\n        }\n        if (!insideJsDocTagTypeExpression) {\n          log(\"Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.\");\n          return void 0;\n        }\n      }\n      start = timestamp();\n      const isJsOnlyLocation = !insideJsDocTagTypeExpression && isSourceFileJS(sourceFile);\n      const tokens = getRelevantTokens(position, sourceFile);\n      const previousToken = tokens.previousToken;\n      let contextToken = tokens.contextToken;\n      log(\"getCompletionData: Get previous token: \" + (timestamp() - start));\n      let node = currentToken;\n      let propertyAccessToConvert;\n      let isRightOfDot = false;\n      let isRightOfQuestionDot = false;\n      let isRightOfOpenTag = false;\n      let isStartingCloseTag = false;\n      let isJsxInitializer = false;\n      let isJsxIdentifierExpected = false;\n      let importStatementCompletion;\n      let location = getTouchingPropertyName(sourceFile, position);\n      let keywordFilters = 0;\n      let isNewIdentifierLocation = false;\n      let flags = 0;\n      if (contextToken) {\n        const importStatementCompletionInfo = getImportStatementCompletionInfo(contextToken);\n        if (importStatementCompletionInfo.keywordCompletion) {\n          if (importStatementCompletionInfo.isKeywordOnlyCompletion) {\n            return {\n              kind: 4,\n              keywordCompletions: [keywordToCompletionEntry(importStatementCompletionInfo.keywordCompletion)],\n              isNewIdentifierLocation: importStatementCompletionInfo.isNewIdentifierLocation\n            };\n          }\n          keywordFilters = keywordFiltersFromSyntaxKind(importStatementCompletionInfo.keywordCompletion);\n        }\n        if (importStatementCompletionInfo.replacementSpan && preferences.includeCompletionsForImportStatements && preferences.includeCompletionsWithInsertText) {\n          flags |= 2;\n          importStatementCompletion = importStatementCompletionInfo;\n          isNewIdentifierLocation = importStatementCompletionInfo.isNewIdentifierLocation;\n        }\n        if (!importStatementCompletionInfo.replacementSpan && isCompletionListBlocker(contextToken)) {\n          log(\"Returning an empty list because completion was requested in an invalid position.\");\n          return keywordFilters ? keywordCompletionData(keywordFilters, isJsOnlyLocation, isNewIdentifierDefinitionLocation()) : void 0;\n        }\n        let parent2 = contextToken.parent;\n        if (contextToken.kind === 24 || contextToken.kind === 28) {\n          isRightOfDot = contextToken.kind === 24;\n          isRightOfQuestionDot = contextToken.kind === 28;\n          switch (parent2.kind) {\n            case 208:\n              propertyAccessToConvert = parent2;\n              node = propertyAccessToConvert.expression;\n              const leftmostAccessExpression = getLeftmostAccessExpression(propertyAccessToConvert);\n              if (nodeIsMissing(leftmostAccessExpression) || (isCallExpression(node) || isFunctionLike(node)) && node.end === contextToken.pos && node.getChildCount(sourceFile) && last(node.getChildren(sourceFile)).kind !== 21) {\n                return void 0;\n              }\n              break;\n            case 163:\n              node = parent2.left;\n              break;\n            case 264:\n              node = parent2.name;\n              break;\n            case 202:\n              node = parent2;\n              break;\n            case 233:\n              node = parent2.getFirstToken(sourceFile);\n              Debug2.assert(\n                node.kind === 100 || node.kind === 103\n                /* NewKeyword */\n              );\n              break;\n            default:\n              return void 0;\n          }\n        } else if (!importStatementCompletion) {\n          if (parent2 && parent2.kind === 208) {\n            contextToken = parent2;\n            parent2 = parent2.parent;\n          }\n          if (currentToken.parent === location) {\n            switch (currentToken.kind) {\n              case 31:\n                if (currentToken.parent.kind === 281 || currentToken.parent.kind === 283) {\n                  location = currentToken;\n                }\n                break;\n              case 43:\n                if (currentToken.parent.kind === 282) {\n                  location = currentToken;\n                }\n                break;\n            }\n          }\n          switch (parent2.kind) {\n            case 284:\n              if (contextToken.kind === 43) {\n                isStartingCloseTag = true;\n                location = contextToken;\n              }\n              break;\n            case 223:\n              if (!binaryExpressionMayBeOpenTag(parent2)) {\n                break;\n              }\n            case 282:\n            case 281:\n            case 283:\n              isJsxIdentifierExpected = true;\n              if (contextToken.kind === 29) {\n                isRightOfOpenTag = true;\n                location = contextToken;\n              }\n              break;\n            case 291:\n            case 290:\n              if (previousToken.kind === 19 || previousToken.kind === 79 && previousToken.parent.kind === 288) {\n                isJsxIdentifierExpected = true;\n              }\n              break;\n            case 288:\n              if (parent2.initializer === previousToken && previousToken.end < position) {\n                isJsxIdentifierExpected = true;\n                break;\n              }\n              switch (previousToken.kind) {\n                case 63:\n                  isJsxInitializer = true;\n                  break;\n                case 79:\n                  isJsxIdentifierExpected = true;\n                  if (parent2 !== previousToken.parent && !parent2.initializer && findChildOfKind(parent2, 63, sourceFile)) {\n                    isJsxInitializer = previousToken;\n                  }\n              }\n              break;\n          }\n        }\n      }\n      const semanticStart = timestamp();\n      let completionKind = 5;\n      let isNonContextualObjectLiteral = false;\n      let hasUnresolvedAutoImports = false;\n      let symbols = [];\n      let importSpecifierResolver;\n      const symbolToOriginInfoMap = [];\n      const symbolToSortTextMap = [];\n      const seenPropertySymbols = /* @__PURE__ */ new Map();\n      const isTypeOnlyLocation = isTypeOnlyCompletion();\n      const getModuleSpecifierResolutionHost = memoizeOne((isFromPackageJson) => {\n        return createModuleSpecifierResolutionHost(isFromPackageJson ? host.getPackageJsonAutoImportProvider() : program, host);\n      });\n      if (isRightOfDot || isRightOfQuestionDot) {\n        getTypeScriptMemberSymbols();\n      } else if (isRightOfOpenTag) {\n        symbols = typeChecker.getJsxIntrinsicTagNamesAt(location);\n        Debug2.assertEachIsDefined(symbols, \"getJsxIntrinsicTagNames() should all be defined\");\n        tryGetGlobalSymbols();\n        completionKind = 1;\n        keywordFilters = 0;\n      } else if (isStartingCloseTag) {\n        const tagName = contextToken.parent.parent.openingElement.tagName;\n        const tagSymbol = typeChecker.getSymbolAtLocation(tagName);\n        if (tagSymbol) {\n          symbols = [tagSymbol];\n        }\n        completionKind = 1;\n        keywordFilters = 0;\n      } else {\n        if (!tryGetGlobalSymbols()) {\n          return keywordFilters ? keywordCompletionData(keywordFilters, isJsOnlyLocation, isNewIdentifierLocation) : void 0;\n        }\n      }\n      log(\"getCompletionData: Semantic work: \" + (timestamp() - semanticStart));\n      const contextualType = previousToken && getContextualType(previousToken, position, sourceFile, typeChecker);\n      const literals = mapDefined(\n        contextualType && (contextualType.isUnion() ? contextualType.types : [contextualType]),\n        (t) => t.isLiteral() && !(t.flags & 1024) ? t.value : void 0\n      );\n      const recommendedCompletion = previousToken && contextualType && getRecommendedCompletion(previousToken, contextualType, typeChecker);\n      return {\n        kind: 0,\n        symbols,\n        completionKind,\n        isInSnippetScope,\n        propertyAccessToConvert,\n        isNewIdentifierLocation,\n        location,\n        keywordFilters,\n        literals,\n        symbolToOriginInfoMap,\n        recommendedCompletion,\n        previousToken,\n        contextToken,\n        isJsxInitializer,\n        insideJsDocTagTypeExpression,\n        symbolToSortTextMap,\n        isTypeOnlyLocation,\n        isJsxIdentifierExpected,\n        isRightOfOpenTag,\n        isRightOfDotOrQuestionDot: isRightOfDot || isRightOfQuestionDot,\n        importStatementCompletion,\n        hasUnresolvedAutoImports,\n        flags\n      };\n      function isTagWithTypeExpression(tag) {\n        switch (tag.kind) {\n          case 344:\n          case 351:\n          case 345:\n          case 347:\n          case 349:\n          case 352:\n          case 353:\n            return true;\n          case 348:\n            return !!tag.constraint;\n          default:\n            return false;\n        }\n      }\n      function tryGetTypeExpressionFromTag(tag) {\n        if (isTagWithTypeExpression(tag)) {\n          const typeExpression = isJSDocTemplateTag(tag) ? tag.constraint : tag.typeExpression;\n          return typeExpression && typeExpression.kind === 312 ? typeExpression : void 0;\n        }\n        if (isJSDocAugmentsTag(tag) || isJSDocImplementsTag(tag)) {\n          return tag.class;\n        }\n        return void 0;\n      }\n      function getTypeScriptMemberSymbols() {\n        completionKind = 2;\n        const isImportType = isLiteralImportTypeNode(node);\n        const isTypeLocation = insideJsDocTagTypeExpression || isImportType && !node.isTypeOf || isPartOfTypeNode(node.parent) || isPossiblyTypeArgumentPosition(contextToken, sourceFile, typeChecker);\n        const isRhsOfImportDeclaration = isInRightSideOfInternalImportEqualsDeclaration(node);\n        if (isEntityName(node) || isImportType || isPropertyAccessExpression(node)) {\n          const isNamespaceName = isModuleDeclaration(node.parent);\n          if (isNamespaceName)\n            isNewIdentifierLocation = true;\n          let symbol = typeChecker.getSymbolAtLocation(node);\n          if (symbol) {\n            symbol = skipAlias(symbol, typeChecker);\n            if (symbol.flags & (1536 | 384)) {\n              const exportedSymbols = typeChecker.getExportsOfModule(symbol);\n              Debug2.assertEachIsDefined(exportedSymbols, \"getExportsOfModule() should all be defined\");\n              const isValidValueAccess = (symbol2) => typeChecker.isValidPropertyAccess(isImportType ? node : node.parent, symbol2.name);\n              const isValidTypeAccess = (symbol2) => symbolCanBeReferencedAtTypeLocation(symbol2, typeChecker);\n              const isValidAccess = isNamespaceName ? (symbol2) => {\n                var _a22;\n                return !!(symbol2.flags & 1920) && !((_a22 = symbol2.declarations) == null ? void 0 : _a22.every((d) => d.parent === node.parent));\n              } : isRhsOfImportDeclaration ? (\n                // Any kind is allowed when dotting off namespace in internal import equals declaration\n                (symbol2) => isValidTypeAccess(symbol2) || isValidValueAccess(symbol2)\n              ) : isTypeLocation ? isValidTypeAccess : isValidValueAccess;\n              for (const exportedSymbol of exportedSymbols) {\n                if (isValidAccess(exportedSymbol)) {\n                  symbols.push(exportedSymbol);\n                }\n              }\n              if (!isTypeLocation && symbol.declarations && symbol.declarations.some(\n                (d) => d.kind !== 308 && d.kind !== 264 && d.kind !== 263\n                /* EnumDeclaration */\n              )) {\n                let type = typeChecker.getTypeOfSymbolAtLocation(symbol, node).getNonOptionalType();\n                let insertQuestionDot = false;\n                if (type.isNullableType()) {\n                  const canCorrectToQuestionDot = isRightOfDot && !isRightOfQuestionDot && preferences.includeAutomaticOptionalChainCompletions !== false;\n                  if (canCorrectToQuestionDot || isRightOfQuestionDot) {\n                    type = type.getNonNullableType();\n                    if (canCorrectToQuestionDot) {\n                      insertQuestionDot = true;\n                    }\n                  }\n                }\n                addTypeProperties(type, !!(node.flags & 32768), insertQuestionDot);\n              }\n              return;\n            }\n          }\n        }\n        if (!isTypeLocation) {\n          typeChecker.tryGetThisTypeAt(\n            node,\n            /*includeGlobalThis*/\n            false\n          );\n          let type = typeChecker.getTypeAtLocation(node).getNonOptionalType();\n          let insertQuestionDot = false;\n          if (type.isNullableType()) {\n            const canCorrectToQuestionDot = isRightOfDot && !isRightOfQuestionDot && preferences.includeAutomaticOptionalChainCompletions !== false;\n            if (canCorrectToQuestionDot || isRightOfQuestionDot) {\n              type = type.getNonNullableType();\n              if (canCorrectToQuestionDot) {\n                insertQuestionDot = true;\n              }\n            }\n          }\n          addTypeProperties(type, !!(node.flags & 32768), insertQuestionDot);\n        }\n      }\n      function addTypeProperties(type, insertAwait, insertQuestionDot) {\n        isNewIdentifierLocation = !!type.getStringIndexType();\n        if (isRightOfQuestionDot && some(type.getCallSignatures())) {\n          isNewIdentifierLocation = true;\n        }\n        const propertyAccess = node.kind === 202 ? node : node.parent;\n        if (inCheckedFile) {\n          for (const symbol of type.getApparentProperties()) {\n            if (typeChecker.isValidPropertyAccessForCompletions(propertyAccess, type, symbol)) {\n              addPropertySymbol(\n                symbol,\n                /* insertAwait */\n                false,\n                insertQuestionDot\n              );\n            }\n          }\n        } else {\n          symbols.push(...filter(getPropertiesForCompletion(type, typeChecker), (s) => typeChecker.isValidPropertyAccessForCompletions(propertyAccess, type, s)));\n        }\n        if (insertAwait && preferences.includeCompletionsWithInsertText) {\n          const promiseType = typeChecker.getPromisedTypeOfPromise(type);\n          if (promiseType) {\n            for (const symbol of promiseType.getApparentProperties()) {\n              if (typeChecker.isValidPropertyAccessForCompletions(propertyAccess, promiseType, symbol)) {\n                addPropertySymbol(\n                  symbol,\n                  /* insertAwait */\n                  true,\n                  insertQuestionDot\n                );\n              }\n            }\n          }\n        }\n      }\n      function addPropertySymbol(symbol, insertAwait, insertQuestionDot) {\n        var _a22;\n        const computedPropertyName = firstDefined(symbol.declarations, (decl) => tryCast(getNameOfDeclaration(decl), isComputedPropertyName));\n        if (computedPropertyName) {\n          const leftMostName = getLeftMostName(computedPropertyName.expression);\n          const nameSymbol = leftMostName && typeChecker.getSymbolAtLocation(leftMostName);\n          const firstAccessibleSymbol = nameSymbol && getFirstSymbolInChain(nameSymbol, contextToken, typeChecker);\n          if (firstAccessibleSymbol && addToSeen(seenPropertySymbols, getSymbolId(firstAccessibleSymbol))) {\n            const index = symbols.length;\n            symbols.push(firstAccessibleSymbol);\n            const moduleSymbol = firstAccessibleSymbol.parent;\n            if (!moduleSymbol || !isExternalModuleSymbol(moduleSymbol) || typeChecker.tryGetMemberInModuleExportsAndProperties(firstAccessibleSymbol.name, moduleSymbol) !== firstAccessibleSymbol) {\n              symbolToOriginInfoMap[index] = { kind: getNullableSymbolOriginInfoKind(\n                2\n                /* SymbolMemberNoExport */\n              ) };\n            } else {\n              const fileName = isExternalModuleNameRelative(stripQuotes(moduleSymbol.name)) ? (_a22 = getSourceFileOfModule(moduleSymbol)) == null ? void 0 : _a22.fileName : void 0;\n              const { moduleSpecifier } = (importSpecifierResolver || (importSpecifierResolver = ts_codefix_exports.createImportSpecifierResolver(sourceFile, program, host, preferences))).getModuleSpecifierForBestExportInfo([{\n                exportKind: 0,\n                moduleFileName: fileName,\n                isFromPackageJson: false,\n                moduleSymbol,\n                symbol: firstAccessibleSymbol,\n                targetFlags: skipAlias(firstAccessibleSymbol, typeChecker).flags\n              }], position, isValidTypeOnlyAliasUseSite(location)) || {};\n              if (moduleSpecifier) {\n                const origin = {\n                  kind: getNullableSymbolOriginInfoKind(\n                    6\n                    /* SymbolMemberExport */\n                  ),\n                  moduleSymbol,\n                  isDefaultExport: false,\n                  symbolName: firstAccessibleSymbol.name,\n                  exportName: firstAccessibleSymbol.name,\n                  fileName,\n                  moduleSpecifier\n                };\n                symbolToOriginInfoMap[index] = origin;\n              }\n            }\n          } else if (preferences.includeCompletionsWithInsertText) {\n            addSymbolOriginInfo(symbol);\n            addSymbolSortInfo(symbol);\n            symbols.push(symbol);\n          }\n        } else {\n          addSymbolOriginInfo(symbol);\n          addSymbolSortInfo(symbol);\n          symbols.push(symbol);\n        }\n        function addSymbolSortInfo(symbol2) {\n          if (isStaticProperty(symbol2)) {\n            symbolToSortTextMap[getSymbolId(symbol2)] = SortText.LocalDeclarationPriority;\n          }\n        }\n        function addSymbolOriginInfo(symbol2) {\n          if (preferences.includeCompletionsWithInsertText) {\n            if (insertAwait && addToSeen(seenPropertySymbols, getSymbolId(symbol2))) {\n              symbolToOriginInfoMap[symbols.length] = { kind: getNullableSymbolOriginInfoKind(\n                8\n                /* Promise */\n              ) };\n            } else if (insertQuestionDot) {\n              symbolToOriginInfoMap[symbols.length] = {\n                kind: 16\n                /* Nullable */\n              };\n            }\n          }\n        }\n        function getNullableSymbolOriginInfoKind(kind) {\n          return insertQuestionDot ? kind | 16 : kind;\n        }\n      }\n      function getLeftMostName(e) {\n        return isIdentifier(e) ? e : isPropertyAccessExpression(e) ? getLeftMostName(e.expression) : void 0;\n      }\n      function tryGetGlobalSymbols() {\n        const result = tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols() || tryGetObjectLikeCompletionSymbols() || tryGetImportCompletionSymbols() || tryGetImportOrExportClauseCompletionSymbols() || tryGetLocalNamedExportCompletionSymbols() || tryGetConstructorCompletion() || tryGetClassLikeCompletionSymbols() || tryGetJsxCompletionSymbols() || (getGlobalCompletions(), 1);\n        return result === 1;\n      }\n      function tryGetConstructorCompletion() {\n        if (!tryGetConstructorLikeCompletionContainer(contextToken))\n          return 0;\n        completionKind = 5;\n        isNewIdentifierLocation = true;\n        keywordFilters = 4;\n        return 1;\n      }\n      function tryGetJsxCompletionSymbols() {\n        const jsxContainer = tryGetContainingJsxElement(contextToken);\n        const attrsType = jsxContainer && typeChecker.getContextualType(jsxContainer.attributes);\n        if (!attrsType)\n          return 0;\n        const completionsType = jsxContainer && typeChecker.getContextualType(\n          jsxContainer.attributes,\n          4\n          /* Completions */\n        );\n        symbols = concatenate(symbols, filterJsxAttributes(getPropertiesForObjectExpression(attrsType, completionsType, jsxContainer.attributes, typeChecker), jsxContainer.attributes.properties));\n        setSortTextToOptionalMember();\n        completionKind = 3;\n        isNewIdentifierLocation = false;\n        return 1;\n      }\n      function tryGetImportCompletionSymbols() {\n        if (!importStatementCompletion)\n          return 0;\n        isNewIdentifierLocation = true;\n        collectAutoImports();\n        return 1;\n      }\n      function getGlobalCompletions() {\n        keywordFilters = tryGetFunctionLikeBodyCompletionContainer(contextToken) ? 5 : 1;\n        completionKind = 1;\n        isNewIdentifierLocation = isNewIdentifierDefinitionLocation();\n        if (previousToken !== contextToken) {\n          Debug2.assert(!!previousToken, \"Expected 'contextToken' to be defined when different from 'previousToken'.\");\n        }\n        const adjustedPosition = previousToken !== contextToken ? previousToken.getStart() : position;\n        const scopeNode = getScopeNode(contextToken, adjustedPosition, sourceFile) || sourceFile;\n        isInSnippetScope = isSnippetScope(scopeNode);\n        const symbolMeanings = (isTypeOnlyLocation ? 0 : 111551) | 788968 | 1920 | 2097152;\n        const typeOnlyAliasNeedsPromotion = previousToken && !isValidTypeOnlyAliasUseSite(previousToken);\n        symbols = concatenate(symbols, typeChecker.getSymbolsInScope(scopeNode, symbolMeanings));\n        Debug2.assertEachIsDefined(symbols, \"getSymbolsInScope() should all be defined\");\n        for (let i = 0; i < symbols.length; i++) {\n          const symbol = symbols[i];\n          if (!typeChecker.isArgumentsSymbol(symbol) && !some(symbol.declarations, (d) => d.getSourceFile() === sourceFile)) {\n            symbolToSortTextMap[getSymbolId(symbol)] = SortText.GlobalsOrKeywords;\n          }\n          if (typeOnlyAliasNeedsPromotion && !(symbol.flags & 111551)) {\n            const typeOnlyAliasDeclaration = symbol.declarations && find(symbol.declarations, isTypeOnlyImportDeclaration);\n            if (typeOnlyAliasDeclaration) {\n              const origin = { kind: 64, declaration: typeOnlyAliasDeclaration };\n              symbolToOriginInfoMap[i] = origin;\n            }\n          }\n        }\n        if (preferences.includeCompletionsWithInsertText && scopeNode.kind !== 308) {\n          const thisType = typeChecker.tryGetThisTypeAt(\n            scopeNode,\n            /*includeGlobalThis*/\n            false,\n            isClassLike(scopeNode.parent) ? scopeNode : void 0\n          );\n          if (thisType && !isProbablyGlobalType(thisType, sourceFile, typeChecker)) {\n            for (const symbol of getPropertiesForCompletion(thisType, typeChecker)) {\n              symbolToOriginInfoMap[symbols.length] = {\n                kind: 1\n                /* ThisType */\n              };\n              symbols.push(symbol);\n              symbolToSortTextMap[getSymbolId(symbol)] = SortText.SuggestedClassMembers;\n            }\n          }\n        }\n        collectAutoImports();\n        if (isTypeOnlyLocation) {\n          keywordFilters = contextToken && isAssertionExpression(contextToken.parent) ? 6 : 7;\n        }\n      }\n      function shouldOfferImportCompletions() {\n        if (importStatementCompletion)\n          return true;\n        if (isNonContextualObjectLiteral)\n          return false;\n        if (!preferences.includeCompletionsForModuleExports)\n          return false;\n        if (sourceFile.externalModuleIndicator || sourceFile.commonJsModuleIndicator)\n          return true;\n        if (compilerOptionsIndicateEsModules(program.getCompilerOptions()))\n          return true;\n        return programContainsModules(program);\n      }\n      function isSnippetScope(scopeNode) {\n        switch (scopeNode.kind) {\n          case 308:\n          case 225:\n          case 291:\n          case 238:\n            return true;\n          default:\n            return isStatement(scopeNode);\n        }\n      }\n      function isTypeOnlyCompletion() {\n        return insideJsDocTagTypeExpression || !!importStatementCompletion && isTypeOnlyImportOrExportDeclaration(location.parent) || !isContextTokenValueLocation(contextToken) && (isPossiblyTypeArgumentPosition(contextToken, sourceFile, typeChecker) || isPartOfTypeNode(location) || isContextTokenTypeLocation(contextToken));\n      }\n      function isContextTokenValueLocation(contextToken2) {\n        return contextToken2 && (contextToken2.kind === 112 && (contextToken2.parent.kind === 183 || isTypeOfExpression(contextToken2.parent)) || contextToken2.kind === 129 && contextToken2.parent.kind === 179);\n      }\n      function isContextTokenTypeLocation(contextToken2) {\n        if (contextToken2) {\n          const parentKind = contextToken2.parent.kind;\n          switch (contextToken2.kind) {\n            case 58:\n              return parentKind === 169 || parentKind === 168 || parentKind === 166 || parentKind === 257 || isFunctionLikeKind(parentKind);\n            case 63:\n              return parentKind === 262;\n            case 128:\n              return parentKind === 231;\n            case 29:\n              return parentKind === 180 || parentKind === 213;\n            case 94:\n              return parentKind === 165;\n            case 150:\n              return parentKind === 235;\n          }\n        }\n        return false;\n      }\n      function collectAutoImports() {\n        var _a22, _b3;\n        if (!shouldOfferImportCompletions())\n          return;\n        Debug2.assert(!(detailsEntryId == null ? void 0 : detailsEntryId.data), \"Should not run 'collectAutoImports' when faster path is available via `data`\");\n        if (detailsEntryId && !detailsEntryId.source) {\n          return;\n        }\n        flags |= 1;\n        const isAfterTypeOnlyImportSpecifierModifier = previousToken === contextToken && importStatementCompletion;\n        const lowerCaseTokenText = isAfterTypeOnlyImportSpecifierModifier ? \"\" : previousToken && isIdentifier(previousToken) ? previousToken.text.toLowerCase() : \"\";\n        const moduleSpecifierCache = (_a22 = host.getModuleSpecifierCache) == null ? void 0 : _a22.call(host);\n        const exportInfo = getExportInfoMap(sourceFile, host, program, preferences, cancellationToken);\n        const packageJsonAutoImportProvider = (_b3 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _b3.call(host);\n        const packageJsonFilter = detailsEntryId ? void 0 : createPackageJsonImportFilter(sourceFile, preferences, host);\n        resolvingModuleSpecifiers(\n          \"collectAutoImports\",\n          host,\n          importSpecifierResolver || (importSpecifierResolver = ts_codefix_exports.createImportSpecifierResolver(sourceFile, program, host, preferences)),\n          program,\n          position,\n          preferences,\n          !!importStatementCompletion,\n          isValidTypeOnlyAliasUseSite(location),\n          (context) => {\n            exportInfo.search(\n              sourceFile.path,\n              /*preferCapitalized*/\n              isRightOfOpenTag,\n              (symbolName2, targetFlags) => {\n                if (!isIdentifierText(symbolName2, getEmitScriptTarget(host.getCompilationSettings())))\n                  return false;\n                if (!detailsEntryId && isStringANonContextualKeyword(symbolName2))\n                  return false;\n                if (!isTypeOnlyLocation && !importStatementCompletion && !(targetFlags & 111551))\n                  return false;\n                if (isTypeOnlyLocation && !(targetFlags & (1536 | 788968)))\n                  return false;\n                const firstChar = symbolName2.charCodeAt(0);\n                if (isRightOfOpenTag && (firstChar < 65 || firstChar > 90))\n                  return false;\n                if (detailsEntryId)\n                  return true;\n                return charactersFuzzyMatchInString(symbolName2, lowerCaseTokenText);\n              },\n              (info, symbolName2, isFromAmbientModule, exportMapKey) => {\n                if (detailsEntryId && !some(info, (i) => detailsEntryId.source === stripQuotes(i.moduleSymbol.name))) {\n                  return;\n                }\n                info = filter(info, isImportableExportInfo);\n                if (!info.length) {\n                  return;\n                }\n                const result = context.tryResolve(info, isFromAmbientModule) || {};\n                if (result === \"failed\")\n                  return;\n                let exportInfo2 = info[0], moduleSpecifier;\n                if (result !== \"skipped\") {\n                  ({ exportInfo: exportInfo2 = info[0], moduleSpecifier } = result);\n                }\n                const isDefaultExport = exportInfo2.exportKind === 1;\n                const symbol = isDefaultExport && getLocalSymbolForExportDefault(exportInfo2.symbol) || exportInfo2.symbol;\n                pushAutoImportSymbol(symbol, {\n                  kind: moduleSpecifier ? 32 : 4,\n                  moduleSpecifier,\n                  symbolName: symbolName2,\n                  exportMapKey,\n                  exportName: exportInfo2.exportKind === 2 ? \"export=\" : exportInfo2.symbol.name,\n                  fileName: exportInfo2.moduleFileName,\n                  isDefaultExport,\n                  moduleSymbol: exportInfo2.moduleSymbol,\n                  isFromPackageJson: exportInfo2.isFromPackageJson\n                });\n              }\n            );\n            hasUnresolvedAutoImports = context.skippedAny();\n            flags |= context.resolvedAny() ? 8 : 0;\n            flags |= context.resolvedBeyondLimit() ? 16 : 0;\n          }\n        );\n        function isImportableExportInfo(info) {\n          const moduleFile = tryCast(info.moduleSymbol.valueDeclaration, isSourceFile);\n          if (!moduleFile) {\n            const moduleName = stripQuotes(info.moduleSymbol.name);\n            if (ts_JsTyping_exports.nodeCoreModules.has(moduleName) && startsWith(moduleName, \"node:\") !== shouldUseUriStyleNodeCoreModules(sourceFile, program)) {\n              return false;\n            }\n            return packageJsonFilter ? packageJsonFilter.allowsImportingAmbientModule(info.moduleSymbol, getModuleSpecifierResolutionHost(info.isFromPackageJson)) : true;\n          }\n          return isImportableFile(\n            info.isFromPackageJson ? packageJsonAutoImportProvider : program,\n            sourceFile,\n            moduleFile,\n            preferences,\n            packageJsonFilter,\n            getModuleSpecifierResolutionHost(info.isFromPackageJson),\n            moduleSpecifierCache\n          );\n        }\n      }\n      function pushAutoImportSymbol(symbol, origin) {\n        const symbolId = getSymbolId(symbol);\n        if (symbolToSortTextMap[symbolId] === SortText.GlobalsOrKeywords) {\n          return;\n        }\n        symbolToOriginInfoMap[symbols.length] = origin;\n        symbolToSortTextMap[symbolId] = importStatementCompletion ? SortText.LocationPriority : SortText.AutoImportSuggestions;\n        symbols.push(symbol);\n      }\n      function collectObjectLiteralMethodSymbols(members, enclosingDeclaration) {\n        if (isInJSFile(location)) {\n          return;\n        }\n        members.forEach((member) => {\n          if (!isObjectLiteralMethodSymbol(member)) {\n            return;\n          }\n          const displayName = getCompletionEntryDisplayNameForSymbol(\n            member,\n            getEmitScriptTarget(compilerOptions),\n            /*origin*/\n            void 0,\n            0,\n            /*jsxIdentifierExpected*/\n            false\n          );\n          if (!displayName) {\n            return;\n          }\n          const { name } = displayName;\n          const entryProps = getEntryForObjectLiteralMethodCompletion(\n            member,\n            name,\n            enclosingDeclaration,\n            program,\n            host,\n            compilerOptions,\n            preferences,\n            formatContext\n          );\n          if (!entryProps) {\n            return;\n          }\n          const origin = { kind: 128, ...entryProps };\n          flags |= 32;\n          symbolToOriginInfoMap[symbols.length] = origin;\n          symbols.push(member);\n        });\n      }\n      function isObjectLiteralMethodSymbol(symbol) {\n        if (!(symbol.flags & (4 | 8192))) {\n          return false;\n        }\n        return true;\n      }\n      function getScopeNode(initialToken, position2, sourceFile2) {\n        let scope = initialToken;\n        while (scope && !positionBelongsToNode(scope, position2, sourceFile2)) {\n          scope = scope.parent;\n        }\n        return scope;\n      }\n      function isCompletionListBlocker(contextToken2) {\n        const start2 = timestamp();\n        const result = isInStringOrRegularExpressionOrTemplateLiteral(contextToken2) || isSolelyIdentifierDefinitionLocation(contextToken2) || isDotOfNumericLiteral(contextToken2) || isInJsxText(contextToken2) || isBigIntLiteral(contextToken2);\n        log(\"getCompletionsAtPosition: isCompletionListBlocker: \" + (timestamp() - start2));\n        return result;\n      }\n      function isInJsxText(contextToken2) {\n        if (contextToken2.kind === 11) {\n          return true;\n        }\n        if (contextToken2.kind === 31 && contextToken2.parent) {\n          if (location === contextToken2.parent && (location.kind === 283 || location.kind === 282)) {\n            return false;\n          }\n          if (contextToken2.parent.kind === 283) {\n            return location.parent.kind !== 283;\n          }\n          if (contextToken2.parent.kind === 284 || contextToken2.parent.kind === 282) {\n            return !!contextToken2.parent.parent && contextToken2.parent.parent.kind === 281;\n          }\n        }\n        return false;\n      }\n      function isNewIdentifierDefinitionLocation() {\n        if (contextToken) {\n          const containingNodeKind = contextToken.parent.kind;\n          const tokenKind = keywordForNode(contextToken);\n          switch (tokenKind) {\n            case 27:\n              return containingNodeKind === 210 || containingNodeKind === 173 || containingNodeKind === 211 || containingNodeKind === 206 || containingNodeKind === 223 || containingNodeKind === 181 || containingNodeKind === 207;\n            case 20:\n              return containingNodeKind === 210 || containingNodeKind === 173 || containingNodeKind === 211 || containingNodeKind === 214 || containingNodeKind === 193;\n            case 22:\n              return containingNodeKind === 206 || containingNodeKind === 178 || containingNodeKind === 164;\n            case 142:\n            case 143:\n            case 100:\n              return true;\n            case 24:\n              return containingNodeKind === 264;\n            case 18:\n              return containingNodeKind === 260 || containingNodeKind === 207;\n            case 63:\n              return containingNodeKind === 257 || containingNodeKind === 223;\n            case 15:\n              return containingNodeKind === 225;\n            case 16:\n              return containingNodeKind === 236;\n            case 132:\n              return containingNodeKind === 171 || containingNodeKind === 300;\n            case 41:\n              return containingNodeKind === 171;\n          }\n          if (isClassMemberCompletionKeyword(tokenKind)) {\n            return true;\n          }\n        }\n        return false;\n      }\n      function isInStringOrRegularExpressionOrTemplateLiteral(contextToken2) {\n        return (isRegularExpressionLiteral(contextToken2) || isStringTextContainingNode(contextToken2)) && (rangeContainsPositionExclusive(contextToken2, position) || position === contextToken2.end && (!!contextToken2.isUnterminated || isRegularExpressionLiteral(contextToken2)));\n      }\n      function tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols() {\n        const typeLiteralNode = tryGetTypeLiteralNode(contextToken);\n        if (!typeLiteralNode)\n          return 0;\n        const intersectionTypeNode = isIntersectionTypeNode(typeLiteralNode.parent) ? typeLiteralNode.parent : void 0;\n        const containerTypeNode = intersectionTypeNode || typeLiteralNode;\n        const containerExpectedType = getConstraintOfTypeArgumentProperty(containerTypeNode, typeChecker);\n        if (!containerExpectedType)\n          return 0;\n        const containerActualType = typeChecker.getTypeFromTypeNode(containerTypeNode);\n        const members = getPropertiesForCompletion(containerExpectedType, typeChecker);\n        const existingMembers = getPropertiesForCompletion(containerActualType, typeChecker);\n        const existingMemberEscapedNames = /* @__PURE__ */ new Set();\n        existingMembers.forEach((s) => existingMemberEscapedNames.add(s.escapedName));\n        symbols = concatenate(symbols, filter(members, (s) => !existingMemberEscapedNames.has(s.escapedName)));\n        completionKind = 0;\n        isNewIdentifierLocation = true;\n        return 1;\n      }\n      function tryGetObjectLikeCompletionSymbols() {\n        const symbolsStartIndex = symbols.length;\n        const objectLikeContainer = tryGetObjectLikeCompletionContainer(contextToken);\n        if (!objectLikeContainer)\n          return 0;\n        completionKind = 0;\n        let typeMembers;\n        let existingMembers;\n        if (objectLikeContainer.kind === 207) {\n          const instantiatedType = tryGetObjectLiteralContextualType(objectLikeContainer, typeChecker);\n          if (instantiatedType === void 0) {\n            if (objectLikeContainer.flags & 33554432) {\n              return 2;\n            }\n            isNonContextualObjectLiteral = true;\n            return 0;\n          }\n          const completionsType = typeChecker.getContextualType(\n            objectLikeContainer,\n            4\n            /* Completions */\n          );\n          const hasStringIndexType = (completionsType || instantiatedType).getStringIndexType();\n          const hasNumberIndextype = (completionsType || instantiatedType).getNumberIndexType();\n          isNewIdentifierLocation = !!hasStringIndexType || !!hasNumberIndextype;\n          typeMembers = getPropertiesForObjectExpression(instantiatedType, completionsType, objectLikeContainer, typeChecker);\n          existingMembers = objectLikeContainer.properties;\n          if (typeMembers.length === 0) {\n            if (!hasNumberIndextype) {\n              isNonContextualObjectLiteral = true;\n              return 0;\n            }\n          }\n        } else {\n          Debug2.assert(\n            objectLikeContainer.kind === 203\n            /* ObjectBindingPattern */\n          );\n          isNewIdentifierLocation = false;\n          const rootDeclaration = getRootDeclaration(objectLikeContainer.parent);\n          if (!isVariableLike(rootDeclaration))\n            return Debug2.fail(\"Root declaration is not variable-like.\");\n          let canGetType = hasInitializer(rootDeclaration) || !!getEffectiveTypeAnnotationNode(rootDeclaration) || rootDeclaration.parent.parent.kind === 247;\n          if (!canGetType && rootDeclaration.kind === 166) {\n            if (isExpression(rootDeclaration.parent)) {\n              canGetType = !!typeChecker.getContextualType(rootDeclaration.parent);\n            } else if (rootDeclaration.parent.kind === 171 || rootDeclaration.parent.kind === 175) {\n              canGetType = isExpression(rootDeclaration.parent.parent) && !!typeChecker.getContextualType(rootDeclaration.parent.parent);\n            }\n          }\n          if (canGetType) {\n            const typeForObject = typeChecker.getTypeAtLocation(objectLikeContainer);\n            if (!typeForObject)\n              return 2;\n            typeMembers = typeChecker.getPropertiesOfType(typeForObject).filter((propertySymbol) => {\n              return typeChecker.isPropertyAccessible(\n                objectLikeContainer,\n                /*isSuper*/\n                false,\n                /*writing*/\n                false,\n                typeForObject,\n                propertySymbol\n              );\n            });\n            existingMembers = objectLikeContainer.elements;\n          }\n        }\n        if (typeMembers && typeMembers.length > 0) {\n          const filteredMembers = filterObjectMembersList(typeMembers, Debug2.checkDefined(existingMembers));\n          symbols = concatenate(symbols, filteredMembers);\n          setSortTextToOptionalMember();\n          if (objectLikeContainer.kind === 207 && preferences.includeCompletionsWithObjectLiteralMethodSnippets && preferences.includeCompletionsWithInsertText) {\n            transformObjectLiteralMembersSortText(symbolsStartIndex);\n            collectObjectLiteralMethodSymbols(filteredMembers, objectLikeContainer);\n          }\n        }\n        return 1;\n      }\n      function tryGetImportOrExportClauseCompletionSymbols() {\n        if (!contextToken)\n          return 0;\n        const namedImportsOrExports = contextToken.kind === 18 || contextToken.kind === 27 ? tryCast(contextToken.parent, isNamedImportsOrExports) : isTypeKeywordTokenOrIdentifier(contextToken) ? tryCast(contextToken.parent.parent, isNamedImportsOrExports) : void 0;\n        if (!namedImportsOrExports)\n          return 0;\n        if (!isTypeKeywordTokenOrIdentifier(contextToken)) {\n          keywordFilters = 8;\n        }\n        const { moduleSpecifier } = namedImportsOrExports.kind === 272 ? namedImportsOrExports.parent.parent : namedImportsOrExports.parent;\n        if (!moduleSpecifier) {\n          isNewIdentifierLocation = true;\n          return namedImportsOrExports.kind === 272 ? 2 : 0;\n        }\n        const moduleSpecifierSymbol = typeChecker.getSymbolAtLocation(moduleSpecifier);\n        if (!moduleSpecifierSymbol) {\n          isNewIdentifierLocation = true;\n          return 2;\n        }\n        completionKind = 3;\n        isNewIdentifierLocation = false;\n        const exports = typeChecker.getExportsAndPropertiesOfModule(moduleSpecifierSymbol);\n        const existing = new Set(namedImportsOrExports.elements.filter((n) => !isCurrentlyEditingNode(n)).map((n) => (n.propertyName || n.name).escapedText));\n        const uniques = exports.filter((e) => e.escapedName !== \"default\" && !existing.has(e.escapedName));\n        symbols = concatenate(symbols, uniques);\n        if (!uniques.length) {\n          keywordFilters = 0;\n        }\n        return 1;\n      }\n      function tryGetLocalNamedExportCompletionSymbols() {\n        var _a22;\n        const namedExports = contextToken && (contextToken.kind === 18 || contextToken.kind === 27) ? tryCast(contextToken.parent, isNamedExports) : void 0;\n        if (!namedExports) {\n          return 0;\n        }\n        const localsContainer = findAncestor(namedExports, or(isSourceFile, isModuleDeclaration));\n        completionKind = 5;\n        isNewIdentifierLocation = false;\n        (_a22 = localsContainer.locals) == null ? void 0 : _a22.forEach((symbol, name) => {\n          var _a32, _b3;\n          symbols.push(symbol);\n          if ((_b3 = (_a32 = localsContainer.symbol) == null ? void 0 : _a32.exports) == null ? void 0 : _b3.has(name)) {\n            symbolToSortTextMap[getSymbolId(symbol)] = SortText.OptionalMember;\n          }\n        });\n        return 1;\n      }\n      function tryGetClassLikeCompletionSymbols() {\n        const decl = tryGetObjectTypeDeclarationCompletionContainer(sourceFile, contextToken, location, position);\n        if (!decl)\n          return 0;\n        completionKind = 3;\n        isNewIdentifierLocation = true;\n        keywordFilters = contextToken.kind === 41 ? 0 : isClassLike(decl) ? 2 : 3;\n        if (!isClassLike(decl))\n          return 1;\n        const classElement = contextToken.kind === 26 ? contextToken.parent.parent : contextToken.parent;\n        let classElementModifierFlags = isClassElement(classElement) ? getEffectiveModifierFlags(classElement) : 0;\n        if (contextToken.kind === 79 && !isCurrentlyEditingNode(contextToken)) {\n          switch (contextToken.getText()) {\n            case \"private\":\n              classElementModifierFlags = classElementModifierFlags | 8;\n              break;\n            case \"static\":\n              classElementModifierFlags = classElementModifierFlags | 32;\n              break;\n            case \"override\":\n              classElementModifierFlags = classElementModifierFlags | 16384;\n              break;\n          }\n        }\n        if (isClassStaticBlockDeclaration(classElement)) {\n          classElementModifierFlags |= 32;\n        }\n        if (!(classElementModifierFlags & 8)) {\n          const baseTypeNodes = isClassLike(decl) && classElementModifierFlags & 16384 ? singleElementArray(getEffectiveBaseTypeNode(decl)) : getAllSuperTypeNodes(decl);\n          const baseSymbols = flatMap(baseTypeNodes, (baseTypeNode) => {\n            const type = typeChecker.getTypeAtLocation(baseTypeNode);\n            return classElementModifierFlags & 32 ? (type == null ? void 0 : type.symbol) && typeChecker.getPropertiesOfType(typeChecker.getTypeOfSymbolAtLocation(type.symbol, decl)) : type && typeChecker.getPropertiesOfType(type);\n          });\n          symbols = concatenate(symbols, filterClassMembersList(baseSymbols, decl.members, classElementModifierFlags));\n          forEach(symbols, (symbol, index) => {\n            const declaration = symbol == null ? void 0 : symbol.valueDeclaration;\n            if (declaration && isClassElement(declaration) && declaration.name && isComputedPropertyName(declaration.name)) {\n              const origin = {\n                kind: 512,\n                symbolName: typeChecker.symbolToString(symbol)\n              };\n              symbolToOriginInfoMap[index] = origin;\n            }\n          });\n        }\n        return 1;\n      }\n      function isConstructorParameterCompletion(node2) {\n        return !!node2.parent && isParameter(node2.parent) && isConstructorDeclaration(node2.parent.parent) && (isParameterPropertyModifier(node2.kind) || isDeclarationName(node2));\n      }\n      function tryGetConstructorLikeCompletionContainer(contextToken2) {\n        if (contextToken2) {\n          const parent2 = contextToken2.parent;\n          switch (contextToken2.kind) {\n            case 20:\n            case 27:\n              return isConstructorDeclaration(contextToken2.parent) ? contextToken2.parent : void 0;\n            default:\n              if (isConstructorParameterCompletion(contextToken2)) {\n                return parent2.parent;\n              }\n          }\n        }\n        return void 0;\n      }\n      function tryGetFunctionLikeBodyCompletionContainer(contextToken2) {\n        if (contextToken2) {\n          let prev;\n          const container = findAncestor(contextToken2.parent, (node2) => {\n            if (isClassLike(node2)) {\n              return \"quit\";\n            }\n            if (isFunctionLikeDeclaration(node2) && prev === node2.body) {\n              return true;\n            }\n            prev = node2;\n            return false;\n          });\n          return container && container;\n        }\n      }\n      function tryGetContainingJsxElement(contextToken2) {\n        if (contextToken2) {\n          const parent2 = contextToken2.parent;\n          switch (contextToken2.kind) {\n            case 31:\n            case 30:\n            case 43:\n            case 79:\n            case 208:\n            case 289:\n            case 288:\n            case 290:\n              if (parent2 && (parent2.kind === 282 || parent2.kind === 283)) {\n                if (contextToken2.kind === 31) {\n                  const precedingToken = findPrecedingToken(\n                    contextToken2.pos,\n                    sourceFile,\n                    /*startNode*/\n                    void 0\n                  );\n                  if (!parent2.typeArguments || precedingToken && precedingToken.kind === 43)\n                    break;\n                }\n                return parent2;\n              } else if (parent2.kind === 288) {\n                return parent2.parent.parent;\n              }\n              break;\n            case 10:\n              if (parent2 && (parent2.kind === 288 || parent2.kind === 290)) {\n                return parent2.parent.parent;\n              }\n              break;\n            case 19:\n              if (parent2 && parent2.kind === 291 && parent2.parent && parent2.parent.kind === 288) {\n                return parent2.parent.parent.parent;\n              }\n              if (parent2 && parent2.kind === 290) {\n                return parent2.parent.parent;\n              }\n              break;\n          }\n        }\n        return void 0;\n      }\n      function isSolelyIdentifierDefinitionLocation(contextToken2) {\n        const parent2 = contextToken2.parent;\n        const containingNodeKind = parent2.kind;\n        switch (contextToken2.kind) {\n          case 27:\n            return containingNodeKind === 257 || isVariableDeclarationListButNotTypeArgument(contextToken2) || containingNodeKind === 240 || containingNodeKind === 263 || // enum a { foo, |\n            isFunctionLikeButNotConstructor(containingNodeKind) || containingNodeKind === 261 || // interface A<T, |\n            containingNodeKind === 204 || // var [x, y|\n            containingNodeKind === 262 || // type Map, K, |\n            // class A<T, |\n            // var C = class D<T, |\n            isClassLike(parent2) && !!parent2.typeParameters && parent2.typeParameters.end >= contextToken2.pos;\n          case 24:\n            return containingNodeKind === 204;\n          case 58:\n            return containingNodeKind === 205;\n          case 22:\n            return containingNodeKind === 204;\n          case 20:\n            return containingNodeKind === 295 || isFunctionLikeButNotConstructor(containingNodeKind);\n          case 18:\n            return containingNodeKind === 263;\n          case 29:\n            return containingNodeKind === 260 || // class A< |\n            containingNodeKind === 228 || // var C = class D< |\n            containingNodeKind === 261 || // interface A< |\n            containingNodeKind === 262 || // type List< |\n            isFunctionLikeKind(containingNodeKind);\n          case 124:\n            return containingNodeKind === 169 && !isClassLike(parent2.parent);\n          case 25:\n            return containingNodeKind === 166 || !!parent2.parent && parent2.parent.kind === 204;\n          case 123:\n          case 121:\n          case 122:\n            return containingNodeKind === 166 && !isConstructorDeclaration(parent2.parent);\n          case 128:\n            return containingNodeKind === 273 || containingNodeKind === 278 || containingNodeKind === 271;\n          case 137:\n          case 151:\n            return !isFromObjectTypeDeclaration(contextToken2);\n          case 79:\n            if (containingNodeKind === 273 && contextToken2 === parent2.name && contextToken2.text === \"type\") {\n              return false;\n            }\n            break;\n          case 84:\n          case 92:\n          case 118:\n          case 98:\n          case 113:\n          case 100:\n          case 119:\n          case 85:\n          case 138:\n            return true;\n          case 154:\n            return containingNodeKind !== 273;\n          case 41:\n            return isFunctionLike(contextToken2.parent) && !isMethodDeclaration(contextToken2.parent);\n        }\n        if (isClassMemberCompletionKeyword(keywordForNode(contextToken2)) && isFromObjectTypeDeclaration(contextToken2)) {\n          return false;\n        }\n        if (isConstructorParameterCompletion(contextToken2)) {\n          if (!isIdentifier(contextToken2) || isParameterPropertyModifier(keywordForNode(contextToken2)) || isCurrentlyEditingNode(contextToken2)) {\n            return false;\n          }\n        }\n        switch (keywordForNode(contextToken2)) {\n          case 126:\n          case 84:\n          case 85:\n          case 136:\n          case 92:\n          case 98:\n          case 118:\n          case 119:\n          case 121:\n          case 122:\n          case 123:\n          case 124:\n          case 113:\n            return true;\n          case 132:\n            return isPropertyDeclaration(contextToken2.parent);\n        }\n        const ancestorClassLike = findAncestor(contextToken2.parent, isClassLike);\n        if (ancestorClassLike && contextToken2 === previousToken && isPreviousPropertyDeclarationTerminated(contextToken2, position)) {\n          return false;\n        }\n        const ancestorPropertyDeclaraion = getAncestor(\n          contextToken2.parent,\n          169\n          /* PropertyDeclaration */\n        );\n        if (ancestorPropertyDeclaraion && contextToken2 !== previousToken && isClassLike(previousToken.parent.parent) && position <= previousToken.end) {\n          if (isPreviousPropertyDeclarationTerminated(contextToken2, previousToken.end)) {\n            return false;\n          } else if (contextToken2.kind !== 63 && (isInitializedProperty(ancestorPropertyDeclaraion) || hasType(ancestorPropertyDeclaraion))) {\n            return true;\n          }\n        }\n        return isDeclarationName(contextToken2) && !isShorthandPropertyAssignment(contextToken2.parent) && !isJsxAttribute(contextToken2.parent) && !(isClassLike(contextToken2.parent) && (contextToken2 !== previousToken || position > previousToken.end));\n      }\n      function isPreviousPropertyDeclarationTerminated(contextToken2, position2) {\n        return contextToken2.kind !== 63 && (contextToken2.kind === 26 || !positionsAreOnSameLine(contextToken2.end, position2, sourceFile));\n      }\n      function isFunctionLikeButNotConstructor(kind) {\n        return isFunctionLikeKind(kind) && kind !== 173;\n      }\n      function isDotOfNumericLiteral(contextToken2) {\n        if (contextToken2.kind === 8) {\n          const text = contextToken2.getFullText();\n          return text.charAt(text.length - 1) === \".\";\n        }\n        return false;\n      }\n      function isVariableDeclarationListButNotTypeArgument(node2) {\n        return node2.parent.kind === 258 && !isPossiblyTypeArgumentPosition(node2, sourceFile, typeChecker);\n      }\n      function filterObjectMembersList(contextualMemberSymbols, existingMembers) {\n        if (existingMembers.length === 0) {\n          return contextualMemberSymbols;\n        }\n        const membersDeclaredBySpreadAssignment = /* @__PURE__ */ new Set();\n        const existingMemberNames = /* @__PURE__ */ new Set();\n        for (const m of existingMembers) {\n          if (m.kind !== 299 && m.kind !== 300 && m.kind !== 205 && m.kind !== 171 && m.kind !== 174 && m.kind !== 175 && m.kind !== 301) {\n            continue;\n          }\n          if (isCurrentlyEditingNode(m)) {\n            continue;\n          }\n          let existingName;\n          if (isSpreadAssignment(m)) {\n            setMembersDeclaredBySpreadAssignment(m, membersDeclaredBySpreadAssignment);\n          } else if (isBindingElement(m) && m.propertyName) {\n            if (m.propertyName.kind === 79) {\n              existingName = m.propertyName.escapedText;\n            }\n          } else {\n            const name = getNameOfDeclaration(m);\n            existingName = name && isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : void 0;\n          }\n          if (existingName !== void 0) {\n            existingMemberNames.add(existingName);\n          }\n        }\n        const filteredSymbols = contextualMemberSymbols.filter((m) => !existingMemberNames.has(m.escapedName));\n        setSortTextToMemberDeclaredBySpreadAssignment(membersDeclaredBySpreadAssignment, filteredSymbols);\n        return filteredSymbols;\n      }\n      function setMembersDeclaredBySpreadAssignment(declaration, membersDeclaredBySpreadAssignment) {\n        const expression = declaration.expression;\n        const symbol = typeChecker.getSymbolAtLocation(expression);\n        const type = symbol && typeChecker.getTypeOfSymbolAtLocation(symbol, expression);\n        const properties = type && type.properties;\n        if (properties) {\n          properties.forEach((property) => {\n            membersDeclaredBySpreadAssignment.add(property.name);\n          });\n        }\n      }\n      function setSortTextToOptionalMember() {\n        symbols.forEach((m) => {\n          var _a22;\n          if (m.flags & 16777216) {\n            const symbolId = getSymbolId(m);\n            symbolToSortTextMap[symbolId] = (_a22 = symbolToSortTextMap[symbolId]) != null ? _a22 : SortText.OptionalMember;\n          }\n        });\n      }\n      function setSortTextToMemberDeclaredBySpreadAssignment(membersDeclaredBySpreadAssignment, contextualMemberSymbols) {\n        if (membersDeclaredBySpreadAssignment.size === 0) {\n          return;\n        }\n        for (const contextualMemberSymbol of contextualMemberSymbols) {\n          if (membersDeclaredBySpreadAssignment.has(contextualMemberSymbol.name)) {\n            symbolToSortTextMap[getSymbolId(contextualMemberSymbol)] = SortText.MemberDeclaredBySpreadAssignment;\n          }\n        }\n      }\n      function transformObjectLiteralMembersSortText(start2) {\n        var _a22;\n        for (let i = start2; i < symbols.length; i++) {\n          const symbol = symbols[i];\n          const symbolId = getSymbolId(symbol);\n          const origin = symbolToOriginInfoMap == null ? void 0 : symbolToOriginInfoMap[i];\n          const target = getEmitScriptTarget(compilerOptions);\n          const displayName = getCompletionEntryDisplayNameForSymbol(\n            symbol,\n            target,\n            origin,\n            0,\n            /*jsxIdentifierExpected*/\n            false\n          );\n          if (displayName) {\n            const originalSortText = (_a22 = symbolToSortTextMap[symbolId]) != null ? _a22 : SortText.LocationPriority;\n            const { name } = displayName;\n            symbolToSortTextMap[symbolId] = SortText.ObjectLiteralProperty(originalSortText, name);\n          }\n        }\n      }\n      function filterClassMembersList(baseSymbols, existingMembers, currentClassElementModifierFlags) {\n        const existingMemberNames = /* @__PURE__ */ new Set();\n        for (const m of existingMembers) {\n          if (m.kind !== 169 && m.kind !== 171 && m.kind !== 174 && m.kind !== 175) {\n            continue;\n          }\n          if (isCurrentlyEditingNode(m)) {\n            continue;\n          }\n          if (hasEffectiveModifier(\n            m,\n            8\n            /* Private */\n          )) {\n            continue;\n          }\n          if (isStatic(m) !== !!(currentClassElementModifierFlags & 32)) {\n            continue;\n          }\n          const existingName = getPropertyNameForPropertyNameNode(m.name);\n          if (existingName) {\n            existingMemberNames.add(existingName);\n          }\n        }\n        return baseSymbols.filter((propertySymbol) => !existingMemberNames.has(propertySymbol.escapedName) && !!propertySymbol.declarations && !(getDeclarationModifierFlagsFromSymbol(propertySymbol) & 8) && !(propertySymbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(propertySymbol.valueDeclaration)));\n      }\n      function filterJsxAttributes(symbols2, attributes) {\n        const seenNames = /* @__PURE__ */ new Set();\n        const membersDeclaredBySpreadAssignment = /* @__PURE__ */ new Set();\n        for (const attr of attributes) {\n          if (isCurrentlyEditingNode(attr)) {\n            continue;\n          }\n          if (attr.kind === 288) {\n            seenNames.add(attr.name.escapedText);\n          } else if (isJsxSpreadAttribute(attr)) {\n            setMembersDeclaredBySpreadAssignment(attr, membersDeclaredBySpreadAssignment);\n          }\n        }\n        const filteredSymbols = symbols2.filter((a) => !seenNames.has(a.escapedName));\n        setSortTextToMemberDeclaredBySpreadAssignment(membersDeclaredBySpreadAssignment, filteredSymbols);\n        return filteredSymbols;\n      }\n      function isCurrentlyEditingNode(node2) {\n        return node2.getStart(sourceFile) <= position && position <= node2.getEnd();\n      }\n    }\n    function tryGetObjectLikeCompletionContainer(contextToken) {\n      if (contextToken) {\n        const { parent: parent2 } = contextToken;\n        switch (contextToken.kind) {\n          case 18:\n          case 27:\n            if (isObjectLiteralExpression(parent2) || isObjectBindingPattern(parent2)) {\n              return parent2;\n            }\n            break;\n          case 41:\n            return isMethodDeclaration(parent2) ? tryCast(parent2.parent, isObjectLiteralExpression) : void 0;\n          case 79:\n            return contextToken.text === \"async\" && isShorthandPropertyAssignment(contextToken.parent) ? contextToken.parent.parent : void 0;\n        }\n      }\n      return void 0;\n    }\n    function getRelevantTokens(position, sourceFile) {\n      const previousToken = findPrecedingToken(position, sourceFile);\n      if (previousToken && position <= previousToken.end && (isMemberName(previousToken) || isKeyword(previousToken.kind))) {\n        const contextToken = findPrecedingToken(\n          previousToken.getFullStart(),\n          sourceFile,\n          /*startNode*/\n          void 0\n        );\n        return { contextToken, previousToken };\n      }\n      return { contextToken: previousToken, previousToken };\n    }\n    function getAutoImportSymbolFromCompletionEntryData(name, data, program, host) {\n      const containingProgram = data.isPackageJsonImport ? host.getPackageJsonAutoImportProvider() : program;\n      const checker = containingProgram.getTypeChecker();\n      const moduleSymbol = data.ambientModuleName ? checker.tryFindAmbientModule(data.ambientModuleName) : data.fileName ? checker.getMergedSymbol(Debug2.checkDefined(containingProgram.getSourceFile(data.fileName)).symbol) : void 0;\n      if (!moduleSymbol)\n        return void 0;\n      let symbol = data.exportName === \"export=\" ? checker.resolveExternalModuleSymbol(moduleSymbol) : checker.tryGetMemberInModuleExportsAndProperties(data.exportName, moduleSymbol);\n      if (!symbol)\n        return void 0;\n      const isDefaultExport = data.exportName === \"default\";\n      symbol = isDefaultExport && getLocalSymbolForExportDefault(symbol) || symbol;\n      return { symbol, origin: completionEntryDataToSymbolOriginInfo(data, name, moduleSymbol) };\n    }\n    function getCompletionEntryDisplayNameForSymbol(symbol, target, origin, kind, jsxIdentifierExpected) {\n      if (originIsIgnore(origin)) {\n        return void 0;\n      }\n      const name = originIncludesSymbolName(origin) ? origin.symbolName : symbol.name;\n      if (name === void 0 || symbol.flags & 1536 && isSingleOrDoubleQuote(name.charCodeAt(0)) || isKnownSymbol(symbol)) {\n        return void 0;\n      }\n      const validNameResult = { name, needsConvertPropertyAccess: false };\n      if (isIdentifierText(\n        name,\n        target,\n        jsxIdentifierExpected ? 1 : 0\n        /* Standard */\n      ) || symbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(symbol.valueDeclaration)) {\n        return validNameResult;\n      }\n      switch (kind) {\n        case 3:\n          return originIsComputedPropertyName(origin) ? { name: origin.symbolName, needsConvertPropertyAccess: false } : void 0;\n        case 0:\n          return { name: JSON.stringify(name), needsConvertPropertyAccess: false };\n        case 2:\n        case 1:\n          return name.charCodeAt(0) === 32 ? void 0 : { name, needsConvertPropertyAccess: true };\n        case 5:\n        case 4:\n          return validNameResult;\n        default:\n          Debug2.assertNever(kind);\n      }\n    }\n    function getKeywordCompletions(keywordFilter, filterOutTsOnlyKeywords) {\n      if (!filterOutTsOnlyKeywords)\n        return getTypescriptKeywordCompletions(keywordFilter);\n      const index = keywordFilter + 8 + 1;\n      return _keywordCompletions[index] || (_keywordCompletions[index] = getTypescriptKeywordCompletions(keywordFilter).filter((entry) => !isTypeScriptOnlyKeyword(stringToToken(entry.name))));\n    }\n    function getTypescriptKeywordCompletions(keywordFilter) {\n      return _keywordCompletions[keywordFilter] || (_keywordCompletions[keywordFilter] = allKeywordsCompletions().filter((entry) => {\n        const kind = stringToToken(entry.name);\n        switch (keywordFilter) {\n          case 0:\n            return false;\n          case 1:\n            return isFunctionLikeBodyKeyword(kind) || kind === 136 || kind === 142 || kind === 154 || kind === 143 || kind === 126 || isTypeKeyword(kind) && kind !== 155;\n          case 5:\n            return isFunctionLikeBodyKeyword(kind);\n          case 2:\n            return isClassMemberCompletionKeyword(kind);\n          case 3:\n            return isInterfaceOrTypeLiteralCompletionKeyword(kind);\n          case 4:\n            return isParameterPropertyModifier(kind);\n          case 6:\n            return isTypeKeyword(kind) || kind === 85;\n          case 7:\n            return isTypeKeyword(kind);\n          case 8:\n            return kind === 154;\n          default:\n            return Debug2.assertNever(keywordFilter);\n        }\n      }));\n    }\n    function isTypeScriptOnlyKeyword(kind) {\n      switch (kind) {\n        case 126:\n        case 131:\n        case 160:\n        case 134:\n        case 136:\n        case 92:\n        case 159:\n        case 117:\n        case 138:\n        case 118:\n        case 140:\n        case 141:\n        case 142:\n        case 143:\n        case 144:\n        case 148:\n        case 149:\n        case 161:\n        case 121:\n        case 122:\n        case 123:\n        case 146:\n        case 152:\n        case 153:\n        case 154:\n        case 156:\n        case 157:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isInterfaceOrTypeLiteralCompletionKeyword(kind) {\n      return kind === 146;\n    }\n    function isClassMemberCompletionKeyword(kind) {\n      switch (kind) {\n        case 126:\n        case 127:\n        case 135:\n        case 137:\n        case 151:\n        case 132:\n        case 136:\n        case 161:\n          return true;\n        default:\n          return isClassMemberModifier(kind);\n      }\n    }\n    function isFunctionLikeBodyKeyword(kind) {\n      return kind === 132 || kind === 133 || kind === 128 || kind === 150 || kind === 154 || !isContextualKeyword(kind) && !isClassMemberCompletionKeyword(kind);\n    }\n    function keywordForNode(node) {\n      var _a22;\n      return isIdentifier(node) ? (_a22 = identifierToKeywordKind(node)) != null ? _a22 : 0 : node.kind;\n    }\n    function getContextualKeywords(contextToken, position) {\n      const entries = [];\n      if (contextToken) {\n        const file = contextToken.getSourceFile();\n        const parent2 = contextToken.parent;\n        const tokenLine = file.getLineAndCharacterOfPosition(contextToken.end).line;\n        const currentLine = file.getLineAndCharacterOfPosition(position).line;\n        if ((isImportDeclaration(parent2) || isExportDeclaration(parent2) && parent2.moduleSpecifier) && contextToken === parent2.moduleSpecifier && tokenLine === currentLine) {\n          entries.push({\n            name: tokenToString(\n              130\n              /* AssertKeyword */\n            ),\n            kind: \"keyword\",\n            kindModifiers: \"\",\n            sortText: SortText.GlobalsOrKeywords\n          });\n        }\n      }\n      return entries;\n    }\n    function getJsDocTagAtPosition(node, position) {\n      return findAncestor(node, (n) => isJSDocTag(n) && rangeContainsPosition(n, position) ? true : isJSDoc(n) ? \"quit\" : false);\n    }\n    function getPropertiesForObjectExpression(contextualType, completionsType, obj, checker) {\n      const hasCompletionsType = completionsType && completionsType !== contextualType;\n      const type = hasCompletionsType && !(completionsType.flags & 3) ? checker.getUnionType([contextualType, completionsType]) : contextualType;\n      const properties = getApparentProperties(type, obj, checker);\n      return type.isClass() && containsNonPublicProperties(properties) ? [] : hasCompletionsType ? filter(properties, hasDeclarationOtherThanSelf) : properties;\n      function hasDeclarationOtherThanSelf(member) {\n        if (!length(member.declarations))\n          return true;\n        return some(member.declarations, (decl) => decl.parent !== obj);\n      }\n    }\n    function getApparentProperties(type, node, checker) {\n      if (!type.isUnion())\n        return type.getApparentProperties();\n      return checker.getAllPossiblePropertiesOfTypes(filter(type.types, (memberType) => !(memberType.flags & 134348796 || checker.isArrayLikeType(memberType) || checker.isTypeInvalidDueToUnionDiscriminant(memberType, node) || checker.typeHasCallOrConstructSignatures(memberType) || memberType.isClass() && containsNonPublicProperties(memberType.getApparentProperties()))));\n    }\n    function containsNonPublicProperties(props) {\n      return some(props, (p) => !!(getDeclarationModifierFlagsFromSymbol(p) & 24));\n    }\n    function getPropertiesForCompletion(type, checker) {\n      return type.isUnion() ? Debug2.checkEachDefined(checker.getAllPossiblePropertiesOfTypes(type.types), \"getAllPossiblePropertiesOfTypes() should all be defined\") : Debug2.checkEachDefined(type.getApparentProperties(), \"getApparentProperties() should all be defined\");\n    }\n    function tryGetObjectTypeDeclarationCompletionContainer(sourceFile, contextToken, location, position) {\n      var _a22;\n      switch (location.kind) {\n        case 354:\n          return tryCast(location.parent, isObjectTypeDeclaration);\n        case 1:\n          const cls = tryCast(lastOrUndefined(cast(location.parent, isSourceFile).statements), isObjectTypeDeclaration);\n          if (cls && !findChildOfKind(cls, 19, sourceFile)) {\n            return cls;\n          }\n          break;\n        case 79: {\n          const originalKeywordKind = identifierToKeywordKind(location);\n          if (originalKeywordKind) {\n            return void 0;\n          }\n          if (isPropertyDeclaration(location.parent) && location.parent.initializer === location) {\n            return void 0;\n          }\n          if (isFromObjectTypeDeclaration(location)) {\n            return findAncestor(location, isObjectTypeDeclaration);\n          }\n        }\n      }\n      if (!contextToken)\n        return void 0;\n      if (location.kind === 135 || isIdentifier(contextToken) && isPropertyDeclaration(contextToken.parent) && isClassLike(location)) {\n        return findAncestor(contextToken, isClassLike);\n      }\n      switch (contextToken.kind) {\n        case 63:\n          return void 0;\n        case 26:\n        case 19:\n          return isFromObjectTypeDeclaration(location) && location.parent.name === location ? location.parent.parent : tryCast(location, isObjectTypeDeclaration);\n        case 18:\n        case 27:\n          return tryCast(contextToken.parent, isObjectTypeDeclaration);\n        default:\n          if (isObjectTypeDeclaration(location)) {\n            if (getLineAndCharacterOfPosition(sourceFile, contextToken.getEnd()).line !== getLineAndCharacterOfPosition(sourceFile, position).line) {\n              return location;\n            }\n            const isValidKeyword = isClassLike(contextToken.parent.parent) ? isClassMemberCompletionKeyword : isInterfaceOrTypeLiteralCompletionKeyword;\n            return isValidKeyword(contextToken.kind) || contextToken.kind === 41 || isIdentifier(contextToken) && isValidKeyword(\n              (_a22 = identifierToKeywordKind(contextToken)) != null ? _a22 : 0\n              /* Unknown */\n            ) ? contextToken.parent.parent : void 0;\n          }\n          return void 0;\n      }\n    }\n    function tryGetTypeLiteralNode(node) {\n      if (!node)\n        return void 0;\n      const parent2 = node.parent;\n      switch (node.kind) {\n        case 18:\n          if (isTypeLiteralNode(parent2)) {\n            return parent2;\n          }\n          break;\n        case 26:\n        case 27:\n        case 79:\n          if (parent2.kind === 168 && isTypeLiteralNode(parent2.parent)) {\n            return parent2.parent;\n          }\n          break;\n      }\n      return void 0;\n    }\n    function getConstraintOfTypeArgumentProperty(node, checker) {\n      if (!node)\n        return void 0;\n      if (isTypeNode(node) && isTypeReferenceType(node.parent)) {\n        return checker.getTypeArgumentConstraint(node);\n      }\n      const t = getConstraintOfTypeArgumentProperty(node.parent, checker);\n      if (!t)\n        return void 0;\n      switch (node.kind) {\n        case 168:\n          return checker.getTypeOfPropertyOfContextualType(t, node.symbol.escapedName);\n        case 190:\n        case 184:\n        case 189:\n          return t;\n      }\n    }\n    function isFromObjectTypeDeclaration(node) {\n      return node.parent && isClassOrTypeElement(node.parent) && isObjectTypeDeclaration(node.parent.parent);\n    }\n    function isValidTrigger(sourceFile, triggerCharacter, contextToken, position) {\n      switch (triggerCharacter) {\n        case \".\":\n        case \"@\":\n          return true;\n        case '\"':\n        case \"'\":\n        case \"`\":\n          return !!contextToken && isStringLiteralOrTemplate(contextToken) && position === contextToken.getStart(sourceFile) + 1;\n        case \"#\":\n          return !!contextToken && isPrivateIdentifier(contextToken) && !!getContainingClass(contextToken);\n        case \"<\":\n          return !!contextToken && contextToken.kind === 29 && (!isBinaryExpression(contextToken.parent) || binaryExpressionMayBeOpenTag(contextToken.parent));\n        case \"/\":\n          return !!contextToken && (isStringLiteralLike(contextToken) ? !!tryGetImportFromModuleSpecifier(contextToken) : contextToken.kind === 43 && isJsxClosingElement(contextToken.parent));\n        case \" \":\n          return !!contextToken && isImportKeyword(contextToken) && contextToken.parent.kind === 308;\n        default:\n          return Debug2.assertNever(triggerCharacter);\n      }\n    }\n    function binaryExpressionMayBeOpenTag({ left }) {\n      return nodeIsMissing(left);\n    }\n    function isProbablyGlobalType(type, sourceFile, checker) {\n      const selfSymbol = checker.resolveName(\n        \"self\",\n        /*location*/\n        void 0,\n        111551,\n        /*excludeGlobals*/\n        false\n      );\n      if (selfSymbol && checker.getTypeOfSymbolAtLocation(selfSymbol, sourceFile) === type) {\n        return true;\n      }\n      const globalSymbol = checker.resolveName(\n        \"global\",\n        /*location*/\n        void 0,\n        111551,\n        /*excludeGlobals*/\n        false\n      );\n      if (globalSymbol && checker.getTypeOfSymbolAtLocation(globalSymbol, sourceFile) === type) {\n        return true;\n      }\n      const globalThisSymbol = checker.resolveName(\n        \"globalThis\",\n        /*location*/\n        void 0,\n        111551,\n        /*excludeGlobals*/\n        false\n      );\n      if (globalThisSymbol && checker.getTypeOfSymbolAtLocation(globalThisSymbol, sourceFile) === type) {\n        return true;\n      }\n      return false;\n    }\n    function isStaticProperty(symbol) {\n      return !!(symbol.valueDeclaration && getEffectiveModifierFlags(symbol.valueDeclaration) & 32 && isClassLike(symbol.valueDeclaration.parent));\n    }\n    function tryGetObjectLiteralContextualType(node, typeChecker) {\n      const type = typeChecker.getContextualType(node);\n      if (type) {\n        return type;\n      }\n      const parent2 = walkUpParenthesizedExpressions(node.parent);\n      if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 63 && node === parent2.left) {\n        return typeChecker.getTypeAtLocation(parent2);\n      }\n      if (isExpression(parent2)) {\n        return typeChecker.getContextualType(parent2);\n      }\n      return void 0;\n    }\n    function getImportStatementCompletionInfo(contextToken) {\n      var _a22, _b3, _c;\n      let keywordCompletion;\n      let isKeywordOnlyCompletion = false;\n      const candidate = getCandidate();\n      return {\n        isKeywordOnlyCompletion,\n        keywordCompletion,\n        isNewIdentifierLocation: !!(candidate || keywordCompletion === 154),\n        isTopLevelTypeOnly: !!((_b3 = (_a22 = tryCast(candidate, isImportDeclaration)) == null ? void 0 : _a22.importClause) == null ? void 0 : _b3.isTypeOnly) || !!((_c = tryCast(candidate, isImportEqualsDeclaration)) == null ? void 0 : _c.isTypeOnly),\n        couldBeTypeOnlyImportSpecifier: !!candidate && couldBeTypeOnlyImportSpecifier(candidate, contextToken),\n        replacementSpan: getSingleLineReplacementSpanForImportCompletionNode(candidate)\n      };\n      function getCandidate() {\n        const parent2 = contextToken.parent;\n        if (isImportEqualsDeclaration(parent2)) {\n          keywordCompletion = contextToken.kind === 154 ? void 0 : 154;\n          return isModuleSpecifierMissingOrEmpty(parent2.moduleReference) ? parent2 : void 0;\n        }\n        if (couldBeTypeOnlyImportSpecifier(parent2, contextToken) && canCompleteFromNamedBindings(parent2.parent)) {\n          return parent2;\n        }\n        if (isNamedImports(parent2) || isNamespaceImport(parent2)) {\n          if (!parent2.parent.isTypeOnly && (contextToken.kind === 18 || contextToken.kind === 100 || contextToken.kind === 27)) {\n            keywordCompletion = 154;\n          }\n          if (canCompleteFromNamedBindings(parent2)) {\n            if (contextToken.kind === 19 || contextToken.kind === 79) {\n              isKeywordOnlyCompletion = true;\n              keywordCompletion = 158;\n            } else {\n              return parent2.parent.parent;\n            }\n          }\n          return void 0;\n        }\n        if (isImportKeyword(contextToken) && isSourceFile(parent2)) {\n          keywordCompletion = 154;\n          return contextToken;\n        }\n        if (isImportKeyword(contextToken) && isImportDeclaration(parent2)) {\n          keywordCompletion = 154;\n          return isModuleSpecifierMissingOrEmpty(parent2.moduleSpecifier) ? parent2 : void 0;\n        }\n        return void 0;\n      }\n    }\n    function getSingleLineReplacementSpanForImportCompletionNode(node) {\n      var _a22, _b3, _c;\n      if (!node)\n        return void 0;\n      const top = (_a22 = findAncestor(node, or(isImportDeclaration, isImportEqualsDeclaration))) != null ? _a22 : node;\n      const sourceFile = top.getSourceFile();\n      if (rangeIsOnSingleLine(top, sourceFile)) {\n        return createTextSpanFromNode(top, sourceFile);\n      }\n      Debug2.assert(\n        top.kind !== 100 && top.kind !== 273\n        /* ImportSpecifier */\n      );\n      const potentialSplitPoint = top.kind === 269 ? (_c = getPotentiallyInvalidImportSpecifier((_b3 = top.importClause) == null ? void 0 : _b3.namedBindings)) != null ? _c : top.moduleSpecifier : top.moduleReference;\n      const withoutModuleSpecifier = {\n        pos: top.getFirstToken().getStart(),\n        end: potentialSplitPoint.pos\n      };\n      if (rangeIsOnSingleLine(withoutModuleSpecifier, sourceFile)) {\n        return createTextSpanFromRange(withoutModuleSpecifier);\n      }\n    }\n    function getPotentiallyInvalidImportSpecifier(namedBindings) {\n      var _a22;\n      return find(\n        (_a22 = tryCast(namedBindings, isNamedImports)) == null ? void 0 : _a22.elements,\n        (e) => {\n          var _a32;\n          return !e.propertyName && isStringANonContextualKeyword(e.name.text) && ((_a32 = findPrecedingToken(e.name.pos, namedBindings.getSourceFile(), namedBindings)) == null ? void 0 : _a32.kind) !== 27;\n        }\n      );\n    }\n    function couldBeTypeOnlyImportSpecifier(importSpecifier, contextToken) {\n      return isImportSpecifier(importSpecifier) && (importSpecifier.isTypeOnly || contextToken === importSpecifier.name && isTypeKeywordTokenOrIdentifier(contextToken));\n    }\n    function canCompleteFromNamedBindings(namedBindings) {\n      if (!isModuleSpecifierMissingOrEmpty(namedBindings.parent.parent.moduleSpecifier) || namedBindings.parent.name) {\n        return false;\n      }\n      if (isNamedImports(namedBindings)) {\n        const invalidNamedImport = getPotentiallyInvalidImportSpecifier(namedBindings);\n        const validImports = invalidNamedImport ? namedBindings.elements.indexOf(invalidNamedImport) : namedBindings.elements.length;\n        return validImports < 2;\n      }\n      return true;\n    }\n    function isModuleSpecifierMissingOrEmpty(specifier) {\n      var _a22;\n      if (nodeIsMissing(specifier))\n        return true;\n      return !((_a22 = tryCast(isExternalModuleReference(specifier) ? specifier.expression : specifier, isStringLiteralLike)) == null ? void 0 : _a22.text);\n    }\n    function getVariableDeclaration(property) {\n      const variableDeclaration = findAncestor(property, (node) => isFunctionBlock(node) || isArrowFunctionBody(node) || isBindingPattern(node) ? \"quit\" : isVariableDeclaration(node));\n      return variableDeclaration;\n    }\n    function isArrowFunctionBody(node) {\n      return node.parent && isArrowFunction(node.parent) && node.parent.body === node;\n    }\n    function symbolCanBeReferencedAtTypeLocation(symbol, checker, seenModules = /* @__PURE__ */ new Map()) {\n      return nonAliasCanBeReferencedAtTypeLocation(symbol) || nonAliasCanBeReferencedAtTypeLocation(skipAlias(symbol.exportSymbol || symbol, checker));\n      function nonAliasCanBeReferencedAtTypeLocation(symbol2) {\n        return !!(symbol2.flags & 788968) || checker.isUnknownSymbol(symbol2) || !!(symbol2.flags & 1536) && addToSeen(seenModules, getSymbolId(symbol2)) && checker.getExportsOfModule(symbol2).some((e) => symbolCanBeReferencedAtTypeLocation(e, checker, seenModules));\n      }\n    }\n    function isDeprecated(symbol, checker) {\n      const declarations = skipAlias(symbol, checker).declarations;\n      return !!length(declarations) && every(declarations, isDeprecatedDeclaration);\n    }\n    function charactersFuzzyMatchInString(identifierString, lowercaseCharacters) {\n      if (lowercaseCharacters.length === 0) {\n        return true;\n      }\n      let matchedFirstCharacter = false;\n      let prevChar;\n      let characterIndex = 0;\n      const len = identifierString.length;\n      for (let strIndex = 0; strIndex < len; strIndex++) {\n        const strChar = identifierString.charCodeAt(strIndex);\n        const testChar = lowercaseCharacters.charCodeAt(characterIndex);\n        if (strChar === testChar || strChar === toUpperCharCode(testChar)) {\n          matchedFirstCharacter || (matchedFirstCharacter = prevChar === void 0 || // Beginning of word\n          97 <= prevChar && prevChar <= 122 && 65 <= strChar && strChar <= 90 || // camelCase transition\n          prevChar === 95 && strChar !== 95);\n          if (matchedFirstCharacter) {\n            characterIndex++;\n          }\n          if (characterIndex === lowercaseCharacters.length) {\n            return true;\n          }\n        }\n        prevChar = strChar;\n      }\n      return false;\n    }\n    function toUpperCharCode(charCode) {\n      if (97 <= charCode && charCode <= 122) {\n        return charCode - 32;\n      }\n      return charCode;\n    }\n    var moduleSpecifierResolutionLimit, moduleSpecifierResolutionCacheAttemptLimit, SortText, CompletionSource, SymbolOriginInfoKind, CompletionKind, _keywordCompletions, allKeywordsCompletions;\n    var init_completions = __esm({\n      \"src/services/completions.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_Completions();\n        moduleSpecifierResolutionLimit = 100;\n        moduleSpecifierResolutionCacheAttemptLimit = 1e3;\n        SortText = {\n          // Presets\n          LocalDeclarationPriority: \"10\",\n          LocationPriority: \"11\",\n          OptionalMember: \"12\",\n          MemberDeclaredBySpreadAssignment: \"13\",\n          SuggestedClassMembers: \"14\",\n          GlobalsOrKeywords: \"15\",\n          AutoImportSuggestions: \"16\",\n          ClassMemberSnippets: \"17\",\n          JavascriptIdentifiers: \"18\",\n          // Transformations\n          Deprecated(sortText) {\n            return \"z\" + sortText;\n          },\n          ObjectLiteralProperty(presetSortText, symbolDisplayName) {\n            return `${presetSortText}\\0${symbolDisplayName}\\0`;\n          },\n          SortBelow(sortText) {\n            return sortText + \"1\";\n          }\n        };\n        CompletionSource = /* @__PURE__ */ ((CompletionSource2) => {\n          CompletionSource2[\"ThisProperty\"] = \"ThisProperty/\";\n          CompletionSource2[\"ClassMemberSnippet\"] = \"ClassMemberSnippet/\";\n          CompletionSource2[\"TypeOnlyAlias\"] = \"TypeOnlyAlias/\";\n          CompletionSource2[\"ObjectLiteralMethodSnippet\"] = \"ObjectLiteralMethodSnippet/\";\n          CompletionSource2[\"SwitchCases\"] = \"SwitchCases/\";\n          return CompletionSource2;\n        })(CompletionSource || {});\n        SymbolOriginInfoKind = /* @__PURE__ */ ((SymbolOriginInfoKind2) => {\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ThisType\"] = 1] = \"ThisType\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"SymbolMember\"] = 2] = \"SymbolMember\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Export\"] = 4] = \"Export\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Promise\"] = 8] = \"Promise\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Nullable\"] = 16] = \"Nullable\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ResolvedExport\"] = 32] = \"ResolvedExport\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"TypeOnlyAlias\"] = 64] = \"TypeOnlyAlias\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ObjectLiteralMethod\"] = 128] = \"ObjectLiteralMethod\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Ignore\"] = 256] = \"Ignore\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ComputedPropertyName\"] = 512] = \"ComputedPropertyName\";\n          SymbolOriginInfoKind2[\n            SymbolOriginInfoKind2[\"SymbolMemberNoExport\"] = 2\n            /* SymbolMember */\n          ] = \"SymbolMemberNoExport\";\n          SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"SymbolMemberExport\"] = 6] = \"SymbolMemberExport\";\n          return SymbolOriginInfoKind2;\n        })(SymbolOriginInfoKind || {});\n        CompletionKind = /* @__PURE__ */ ((CompletionKind2) => {\n          CompletionKind2[CompletionKind2[\"ObjectPropertyDeclaration\"] = 0] = \"ObjectPropertyDeclaration\";\n          CompletionKind2[CompletionKind2[\"Global\"] = 1] = \"Global\";\n          CompletionKind2[CompletionKind2[\"PropertyAccess\"] = 2] = \"PropertyAccess\";\n          CompletionKind2[CompletionKind2[\"MemberLike\"] = 3] = \"MemberLike\";\n          CompletionKind2[CompletionKind2[\"String\"] = 4] = \"String\";\n          CompletionKind2[CompletionKind2[\"None\"] = 5] = \"None\";\n          return CompletionKind2;\n        })(CompletionKind || {});\n        _keywordCompletions = [];\n        allKeywordsCompletions = memoize(() => {\n          const res = [];\n          for (let i = 81; i <= 162; i++) {\n            res.push({\n              name: tokenToString(i),\n              kind: \"keyword\",\n              kindModifiers: \"\",\n              sortText: SortText.GlobalsOrKeywords\n            });\n          }\n          return res;\n        });\n      }\n    });\n    function createNameAndKindSet() {\n      const map2 = /* @__PURE__ */ new Map();\n      function add(value) {\n        const existing = map2.get(value.name);\n        if (!existing || kindPrecedence[existing.kind] < kindPrecedence[value.kind]) {\n          map2.set(value.name, value);\n        }\n      }\n      return {\n        add,\n        has: map2.has.bind(map2),\n        values: map2.values.bind(map2)\n      };\n    }\n    function getStringLiteralCompletions(sourceFile, position, contextToken, options, host, program, log, preferences, includeSymbol) {\n      if (isInReferenceComment(sourceFile, position)) {\n        const entries = getTripleSlashReferenceCompletion(sourceFile, position, options, host);\n        return entries && convertPathCompletions(entries);\n      }\n      if (isInString(sourceFile, position, contextToken)) {\n        if (!contextToken || !isStringLiteralLike(contextToken))\n          return void 0;\n        const entries = getStringLiteralCompletionEntries(sourceFile, contextToken, position, program.getTypeChecker(), options, host, preferences);\n        return convertStringLiteralCompletions(entries, contextToken, sourceFile, host, program, log, options, preferences, position, includeSymbol);\n      }\n    }\n    function convertStringLiteralCompletions(completion, contextToken, sourceFile, host, program, log, options, preferences, position, includeSymbol) {\n      if (completion === void 0) {\n        return void 0;\n      }\n      const optionalReplacementSpan = createTextSpanFromStringLiteralLikeContent(contextToken);\n      switch (completion.kind) {\n        case 0:\n          return convertPathCompletions(completion.paths);\n        case 1: {\n          const entries = createSortedArray();\n          getCompletionEntriesFromSymbols(\n            completion.symbols,\n            entries,\n            contextToken,\n            contextToken,\n            sourceFile,\n            position,\n            sourceFile,\n            host,\n            program,\n            99,\n            log,\n            4,\n            preferences,\n            options,\n            /*formatContext*/\n            void 0,\n            /*isTypeOnlyLocation */\n            void 0,\n            /*propertyAccessToConvert*/\n            void 0,\n            /*jsxIdentifierExpected*/\n            void 0,\n            /*isJsxInitializer*/\n            void 0,\n            /*importStatementCompletion*/\n            void 0,\n            /*recommendedCompletion*/\n            void 0,\n            /*symbolToOriginInfoMap*/\n            void 0,\n            /*symbolToSortTextMap*/\n            void 0,\n            /*isJsxIdentifierExpected*/\n            void 0,\n            /*isRightOfOpenTag*/\n            void 0,\n            includeSymbol\n          );\n          return { isGlobalCompletion: false, isMemberCompletion: true, isNewIdentifierLocation: completion.hasIndexSignature, optionalReplacementSpan, entries };\n        }\n        case 2: {\n          const entries = completion.types.map((type) => ({\n            name: type.value,\n            kindModifiers: \"\",\n            kind: \"string\",\n            sortText: SortText.LocationPriority,\n            replacementSpan: getReplacementSpanForContextToken(contextToken)\n          }));\n          return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: completion.isNewIdentifier, optionalReplacementSpan, entries };\n        }\n        default:\n          return Debug2.assertNever(completion);\n      }\n    }\n    function getStringLiteralCompletionDetails(name, sourceFile, position, contextToken, checker, options, host, cancellationToken, preferences) {\n      if (!contextToken || !isStringLiteralLike(contextToken))\n        return void 0;\n      const completions = getStringLiteralCompletionEntries(sourceFile, contextToken, position, checker, options, host, preferences);\n      return completions && stringLiteralCompletionDetails(name, contextToken, completions, sourceFile, checker, cancellationToken);\n    }\n    function stringLiteralCompletionDetails(name, location, completion, sourceFile, checker, cancellationToken) {\n      switch (completion.kind) {\n        case 0: {\n          const match = find(completion.paths, (p) => p.name === name);\n          return match && createCompletionDetails(name, kindModifiersFromExtension(match.extension), match.kind, [textPart(name)]);\n        }\n        case 1: {\n          const match = find(completion.symbols, (s) => s.name === name);\n          return match && createCompletionDetailsForSymbol(match, match.name, checker, sourceFile, location, cancellationToken);\n        }\n        case 2:\n          return find(completion.types, (t) => t.value === name) ? createCompletionDetails(name, \"\", \"string\", [textPart(name)]) : void 0;\n        default:\n          return Debug2.assertNever(completion);\n      }\n    }\n    function convertPathCompletions(pathCompletions) {\n      const isGlobalCompletion = false;\n      const isNewIdentifierLocation = true;\n      const entries = pathCompletions.map(({ name, kind, span, extension }) => ({ name, kind, kindModifiers: kindModifiersFromExtension(extension), sortText: SortText.LocationPriority, replacementSpan: span }));\n      return { isGlobalCompletion, isMemberCompletion: false, isNewIdentifierLocation, entries };\n    }\n    function kindModifiersFromExtension(extension) {\n      switch (extension) {\n        case \".d.ts\":\n          return \".d.ts\";\n        case \".js\":\n          return \".js\";\n        case \".json\":\n          return \".json\";\n        case \".jsx\":\n          return \".jsx\";\n        case \".ts\":\n          return \".ts\";\n        case \".tsx\":\n          return \".tsx\";\n        case \".d.mts\":\n          return \".d.mts\";\n        case \".mjs\":\n          return \".mjs\";\n        case \".mts\":\n          return \".mts\";\n        case \".d.cts\":\n          return \".d.cts\";\n        case \".cjs\":\n          return \".cjs\";\n        case \".cts\":\n          return \".cts\";\n        case \".tsbuildinfo\":\n          return Debug2.fail(`Extension ${\".tsbuildinfo\"} is unsupported.`);\n        case void 0:\n          return \"\";\n        default:\n          return Debug2.assertNever(extension);\n      }\n    }\n    function getStringLiteralCompletionEntries(sourceFile, node, position, typeChecker, compilerOptions, host, preferences) {\n      const parent2 = walkUpParentheses(node.parent);\n      switch (parent2.kind) {\n        case 198: {\n          const grandParent = walkUpParentheses(parent2.parent);\n          switch (grandParent.kind) {\n            case 230:\n            case 180: {\n              const typeArgument = findAncestor(parent2, (n) => n.parent === grandParent);\n              if (typeArgument) {\n                return { kind: 2, types: getStringLiteralTypes(typeChecker.getTypeArgumentConstraint(typeArgument)), isNewIdentifier: false };\n              }\n              return void 0;\n            }\n            case 196:\n              const { indexType, objectType } = grandParent;\n              if (!rangeContainsPosition(indexType, position)) {\n                return void 0;\n              }\n              return stringLiteralCompletionsFromProperties(typeChecker.getTypeFromTypeNode(objectType));\n            case 202:\n              return { kind: 0, paths: getStringLiteralCompletionsFromModuleNames(sourceFile, node, compilerOptions, host, typeChecker, preferences) };\n            case 189: {\n              if (!isTypeReferenceNode(grandParent.parent)) {\n                return void 0;\n              }\n              const alreadyUsedTypes = getAlreadyUsedTypesInStringLiteralUnion(grandParent, parent2);\n              const types = getStringLiteralTypes(typeChecker.getTypeArgumentConstraint(grandParent)).filter((t) => !contains(alreadyUsedTypes, t.value));\n              return { kind: 2, types, isNewIdentifier: false };\n            }\n            default:\n              return void 0;\n          }\n        }\n        case 299:\n          if (isObjectLiteralExpression(parent2.parent) && parent2.name === node) {\n            return stringLiteralCompletionsForObjectLiteral(typeChecker, parent2.parent);\n          }\n          return fromContextualType() || fromContextualType(\n            0\n            /* None */\n          );\n        case 209: {\n          const { expression, argumentExpression } = parent2;\n          if (node === skipParentheses(argumentExpression)) {\n            return stringLiteralCompletionsFromProperties(typeChecker.getTypeAtLocation(expression));\n          }\n          return void 0;\n        }\n        case 210:\n        case 211:\n        case 288:\n          if (!isRequireCallArgument(node) && !isImportCall(parent2)) {\n            const argumentInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(parent2.kind === 288 ? parent2.parent : node, position, sourceFile);\n            return argumentInfo && getStringLiteralCompletionsFromSignature(argumentInfo.invocation, node, argumentInfo, typeChecker) || fromContextualType();\n          }\n        case 269:\n        case 275:\n        case 280:\n          return { kind: 0, paths: getStringLiteralCompletionsFromModuleNames(sourceFile, node, compilerOptions, host, typeChecker, preferences) };\n        case 292:\n          const tracker = newCaseClauseTracker(typeChecker, parent2.parent.clauses);\n          const contextualTypes = fromContextualType();\n          if (!contextualTypes) {\n            return;\n          }\n          const literals = contextualTypes.types.filter((literal) => !tracker.hasValue(literal.value));\n          return { kind: 2, types: literals, isNewIdentifier: false };\n        default:\n          return fromContextualType();\n      }\n      function fromContextualType(contextFlags = 4) {\n        const types = getStringLiteralTypes(getContextualTypeFromParent(node, typeChecker, contextFlags));\n        if (!types.length) {\n          return;\n        }\n        return { kind: 2, types, isNewIdentifier: false };\n      }\n    }\n    function walkUpParentheses(node) {\n      switch (node.kind) {\n        case 193:\n          return walkUpParenthesizedTypes(node);\n        case 214:\n          return walkUpParenthesizedExpressions(node);\n        default:\n          return node;\n      }\n    }\n    function getAlreadyUsedTypesInStringLiteralUnion(union, current) {\n      return mapDefined(union.types, (type) => type !== current && isLiteralTypeNode(type) && isStringLiteral(type.literal) ? type.literal.text : void 0);\n    }\n    function getStringLiteralCompletionsFromSignature(call, arg, argumentInfo, checker) {\n      let isNewIdentifier = false;\n      const uniques = /* @__PURE__ */ new Map();\n      const candidates = [];\n      const editingArgument = isJsxOpeningLikeElement(call) ? Debug2.checkDefined(findAncestor(arg.parent, isJsxAttribute)) : arg;\n      checker.getResolvedSignatureForStringLiteralCompletions(call, editingArgument, candidates);\n      const types = flatMap(candidates, (candidate) => {\n        if (!signatureHasRestParameter(candidate) && argumentInfo.argumentCount > candidate.parameters.length)\n          return;\n        let type = candidate.getTypeParameterAtPosition(argumentInfo.argumentIndex);\n        if (isJsxOpeningLikeElement(call)) {\n          const propType = checker.getTypeOfPropertyOfType(type, editingArgument.name.text);\n          if (propType) {\n            type = propType;\n          }\n        }\n        isNewIdentifier = isNewIdentifier || !!(type.flags & 4);\n        return getStringLiteralTypes(type, uniques);\n      });\n      return length(types) ? { kind: 2, types, isNewIdentifier } : void 0;\n    }\n    function stringLiteralCompletionsFromProperties(type) {\n      return type && {\n        kind: 1,\n        symbols: filter(type.getApparentProperties(), (prop) => !(prop.valueDeclaration && isPrivateIdentifierClassElementDeclaration(prop.valueDeclaration))),\n        hasIndexSignature: hasIndexSignature(type)\n      };\n    }\n    function stringLiteralCompletionsForObjectLiteral(checker, objectLiteralExpression) {\n      const contextualType = checker.getContextualType(objectLiteralExpression);\n      if (!contextualType)\n        return void 0;\n      const completionsType = checker.getContextualType(\n        objectLiteralExpression,\n        4\n        /* Completions */\n      );\n      const symbols = getPropertiesForObjectExpression(\n        contextualType,\n        completionsType,\n        objectLiteralExpression,\n        checker\n      );\n      return {\n        kind: 1,\n        symbols,\n        hasIndexSignature: hasIndexSignature(contextualType)\n      };\n    }\n    function getStringLiteralTypes(type, uniques = /* @__PURE__ */ new Map()) {\n      if (!type)\n        return emptyArray;\n      type = skipConstraint(type);\n      return type.isUnion() ? flatMap(type.types, (t) => getStringLiteralTypes(t, uniques)) : type.isStringLiteral() && !(type.flags & 1024) && addToSeen(uniques, type.value) ? [type] : emptyArray;\n    }\n    function nameAndKind(name, kind, extension) {\n      return { name, kind, extension };\n    }\n    function directoryResult(name) {\n      return nameAndKind(\n        name,\n        \"directory\",\n        /*extension*/\n        void 0\n      );\n    }\n    function addReplacementSpans(text, textStart, names) {\n      const span = getDirectoryFragmentTextSpan(text, textStart);\n      const wholeSpan = text.length === 0 ? void 0 : createTextSpan(textStart, text.length);\n      return names.map(({ name, kind, extension }) => Math.max(name.indexOf(directorySeparator), name.indexOf(altDirectorySeparator)) !== -1 ? { name, kind, extension, span: wholeSpan } : { name, kind, extension, span });\n    }\n    function getStringLiteralCompletionsFromModuleNames(sourceFile, node, compilerOptions, host, typeChecker, preferences) {\n      return addReplacementSpans(node.text, node.getStart(sourceFile) + 1, getStringLiteralCompletionsFromModuleNamesWorker(sourceFile, node, compilerOptions, host, typeChecker, preferences));\n    }\n    function getStringLiteralCompletionsFromModuleNamesWorker(sourceFile, node, compilerOptions, host, typeChecker, preferences) {\n      const literalValue = normalizeSlashes(node.text);\n      const mode = isStringLiteralLike(node) ? getModeForUsageLocation(sourceFile, node) : void 0;\n      const scriptPath = sourceFile.path;\n      const scriptDirectory = getDirectoryPath(scriptPath);\n      const extensionOptions = getExtensionOptions(compilerOptions, 1, sourceFile, typeChecker, preferences, mode);\n      return isPathRelativeToScript(literalValue) || !compilerOptions.baseUrl && (isRootedDiskPath(literalValue) || isUrl(literalValue)) ? getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, compilerOptions, host, scriptPath, extensionOptions) : getCompletionEntriesForNonRelativeModules(literalValue, scriptDirectory, mode, compilerOptions, host, extensionOptions, typeChecker);\n    }\n    function getExtensionOptions(compilerOptions, referenceKind, importingSourceFile, typeChecker, preferences, resolutionMode) {\n      return {\n        extensionsToSearch: flatten(getSupportedExtensionsForModuleResolution(compilerOptions, typeChecker)),\n        referenceKind,\n        importingSourceFile,\n        endingPreference: preferences == null ? void 0 : preferences.importModuleSpecifierEnding,\n        resolutionMode\n      };\n    }\n    function getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, compilerOptions, host, scriptPath, extensionOptions) {\n      if (compilerOptions.rootDirs) {\n        return getCompletionEntriesForDirectoryFragmentWithRootDirs(\n          compilerOptions.rootDirs,\n          literalValue,\n          scriptDirectory,\n          extensionOptions,\n          compilerOptions,\n          host,\n          scriptPath\n        );\n      } else {\n        return arrayFrom(getCompletionEntriesForDirectoryFragment(\n          literalValue,\n          scriptDirectory,\n          extensionOptions,\n          host,\n          /*moduleSpecifierIsRelative*/\n          false,\n          scriptPath\n        ).values());\n      }\n    }\n    function getSupportedExtensionsForModuleResolution(compilerOptions, typeChecker) {\n      const ambientModulesExtensions = !typeChecker ? [] : mapDefined(\n        typeChecker.getAmbientModules(),\n        (module2) => {\n          const name = module2.name.slice(1, -1);\n          if (!name.startsWith(\"*.\") || name.includes(\"/\"))\n            return;\n          return name.slice(1);\n        }\n      );\n      const extensions = [...getSupportedExtensions(compilerOptions), ambientModulesExtensions];\n      const moduleResolution = getEmitModuleResolutionKind(compilerOptions);\n      return moduleResolutionUsesNodeModules(moduleResolution) ? getSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions, extensions) : extensions;\n    }\n    function getBaseDirectoriesFromRootDirs(rootDirs, basePath, scriptDirectory, ignoreCase) {\n      rootDirs = rootDirs.map((rootDirectory) => normalizePath(isRootedDiskPath(rootDirectory) ? rootDirectory : combinePaths(basePath, rootDirectory)));\n      const relativeDirectory = firstDefined(rootDirs, (rootDirectory) => containsPath(rootDirectory, scriptDirectory, basePath, ignoreCase) ? scriptDirectory.substr(rootDirectory.length) : void 0);\n      return deduplicate(\n        [...rootDirs.map((rootDirectory) => combinePaths(rootDirectory, relativeDirectory)), scriptDirectory],\n        equateStringsCaseSensitive,\n        compareStringsCaseSensitive\n      );\n    }\n    function getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs, fragment, scriptDirectory, extensionOptions, compilerOptions, host, exclude) {\n      const basePath = compilerOptions.project || host.getCurrentDirectory();\n      const ignoreCase = !(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames());\n      const baseDirectories = getBaseDirectoriesFromRootDirs(rootDirs, basePath, scriptDirectory, ignoreCase);\n      return flatMap(baseDirectories, (baseDirectory) => arrayFrom(getCompletionEntriesForDirectoryFragment(\n        fragment,\n        baseDirectory,\n        extensionOptions,\n        host,\n        /*moduleSpecifierIsRelative*/\n        true,\n        exclude\n      ).values()));\n    }\n    function getCompletionEntriesForDirectoryFragment(fragment, scriptDirectory, extensionOptions, host, moduleSpecifierIsRelative, exclude, result = createNameAndKindSet()) {\n      var _a22;\n      if (fragment === void 0) {\n        fragment = \"\";\n      }\n      fragment = normalizeSlashes(fragment);\n      if (!hasTrailingDirectorySeparator(fragment)) {\n        fragment = getDirectoryPath(fragment);\n      }\n      if (fragment === \"\") {\n        fragment = \".\" + directorySeparator;\n      }\n      fragment = ensureTrailingDirectorySeparator(fragment);\n      const absolutePath = resolvePath(scriptDirectory, fragment);\n      const baseDirectory = hasTrailingDirectorySeparator(absolutePath) ? absolutePath : getDirectoryPath(absolutePath);\n      if (!moduleSpecifierIsRelative) {\n        const packageJsonPath = findPackageJson(baseDirectory, host);\n        if (packageJsonPath) {\n          const packageJson = readJson(packageJsonPath, host);\n          const typesVersions = packageJson.typesVersions;\n          if (typeof typesVersions === \"object\") {\n            const versionPaths = (_a22 = getPackageJsonTypesVersionsPaths(typesVersions)) == null ? void 0 : _a22.paths;\n            if (versionPaths) {\n              const packageDirectory = getDirectoryPath(packageJsonPath);\n              const pathInPackage = absolutePath.slice(ensureTrailingDirectorySeparator(packageDirectory).length);\n              if (addCompletionEntriesFromPaths(result, pathInPackage, packageDirectory, extensionOptions, host, versionPaths)) {\n                return result;\n              }\n            }\n          }\n        }\n      }\n      const ignoreCase = !(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames());\n      if (!tryDirectoryExists(host, baseDirectory))\n        return result;\n      const files = tryReadDirectory(\n        host,\n        baseDirectory,\n        extensionOptions.extensionsToSearch,\n        /*exclude*/\n        void 0,\n        /*include*/\n        [\"./*\"]\n      );\n      if (files) {\n        for (let filePath of files) {\n          filePath = normalizePath(filePath);\n          if (exclude && comparePaths(filePath, exclude, scriptDirectory, ignoreCase) === 0) {\n            continue;\n          }\n          const { name, extension } = getFilenameWithExtensionOption(getBaseFileName(filePath), host.getCompilationSettings(), extensionOptions);\n          result.add(nameAndKind(name, \"script\", extension));\n        }\n      }\n      const directories = tryGetDirectories(host, baseDirectory);\n      if (directories) {\n        for (const directory of directories) {\n          const directoryName = getBaseFileName(normalizePath(directory));\n          if (directoryName !== \"@types\") {\n            result.add(directoryResult(directoryName));\n          }\n        }\n      }\n      return result;\n    }\n    function getFilenameWithExtensionOption(name, compilerOptions, extensionOptions) {\n      const nonJsResult = ts_moduleSpecifiers_exports.tryGetRealFileNameForNonJsDeclarationFileName(name);\n      if (nonJsResult) {\n        return { name: nonJsResult, extension: tryGetExtensionFromPath2(nonJsResult) };\n      }\n      if (extensionOptions.referenceKind === 0) {\n        return { name, extension: tryGetExtensionFromPath2(name) };\n      }\n      const endingPreference = getModuleSpecifierEndingPreference(extensionOptions.endingPreference, extensionOptions.resolutionMode, compilerOptions, extensionOptions.importingSourceFile);\n      if (endingPreference === 3) {\n        if (fileExtensionIsOneOf(name, supportedTSImplementationExtensions)) {\n          return { name, extension: tryGetExtensionFromPath2(name) };\n        }\n        const outputExtension2 = ts_moduleSpecifiers_exports.tryGetJSExtensionForFile(name, compilerOptions);\n        return outputExtension2 ? { name: changeExtension(name, outputExtension2), extension: outputExtension2 } : { name, extension: tryGetExtensionFromPath2(name) };\n      }\n      if ((endingPreference === 0 || endingPreference === 1) && fileExtensionIsOneOf(name, [\n        \".js\",\n        \".jsx\",\n        \".ts\",\n        \".tsx\",\n        \".d.ts\"\n        /* Dts */\n      ])) {\n        return { name: removeFileExtension(name), extension: tryGetExtensionFromPath2(name) };\n      }\n      const outputExtension = ts_moduleSpecifiers_exports.tryGetJSExtensionForFile(name, compilerOptions);\n      return outputExtension ? { name: changeExtension(name, outputExtension), extension: outputExtension } : { name, extension: tryGetExtensionFromPath2(name) };\n    }\n    function addCompletionEntriesFromPaths(result, fragment, baseDirectory, extensionOptions, host, paths) {\n      const getPatternsForKey = (key) => paths[key];\n      const comparePaths2 = (a, b) => {\n        const patternA = tryParsePattern(a);\n        const patternB = tryParsePattern(b);\n        const lengthA = typeof patternA === \"object\" ? patternA.prefix.length : a.length;\n        const lengthB = typeof patternB === \"object\" ? patternB.prefix.length : b.length;\n        return compareValues(lengthB, lengthA);\n      };\n      return addCompletionEntriesFromPathsOrExports(result, fragment, baseDirectory, extensionOptions, host, getOwnKeys(paths), getPatternsForKey, comparePaths2);\n    }\n    function addCompletionEntriesFromPathsOrExports(result, fragment, baseDirectory, extensionOptions, host, keys, getPatternsForKey, comparePaths2) {\n      let pathResults = [];\n      let matchedPath;\n      for (const key of keys) {\n        if (key === \".\")\n          continue;\n        const keyWithoutLeadingDotSlash = key.replace(/^\\.\\//, \"\");\n        const patterns = getPatternsForKey(key);\n        if (patterns) {\n          const pathPattern = tryParsePattern(keyWithoutLeadingDotSlash);\n          if (!pathPattern)\n            continue;\n          const isMatch = typeof pathPattern === \"object\" && isPatternMatch(pathPattern, fragment);\n          const isLongestMatch = isMatch && (matchedPath === void 0 || comparePaths2(key, matchedPath) === -1);\n          if (isLongestMatch) {\n            matchedPath = key;\n            pathResults = pathResults.filter((r) => !r.matchedPattern);\n          }\n          if (typeof pathPattern === \"string\" || matchedPath === void 0 || comparePaths2(key, matchedPath) !== 1) {\n            pathResults.push({\n              matchedPattern: isMatch,\n              results: getCompletionsForPathMapping(keyWithoutLeadingDotSlash, patterns, fragment, baseDirectory, extensionOptions, host).map(({ name, kind, extension }) => nameAndKind(name, kind, extension))\n            });\n          }\n        }\n      }\n      pathResults.forEach((pathResult) => pathResult.results.forEach((r) => result.add(r)));\n      return matchedPath !== void 0;\n    }\n    function getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, compilerOptions, host, extensionOptions, typeChecker) {\n      const { baseUrl, paths } = compilerOptions;\n      const result = createNameAndKindSet();\n      const moduleResolution = getEmitModuleResolutionKind(compilerOptions);\n      if (baseUrl) {\n        const projectDir = compilerOptions.project || host.getCurrentDirectory();\n        const absolute = normalizePath(combinePaths(projectDir, baseUrl));\n        getCompletionEntriesForDirectoryFragment(\n          fragment,\n          absolute,\n          extensionOptions,\n          host,\n          /*moduleSpecifierIsRelative*/\n          false,\n          /*exclude*/\n          void 0,\n          result\n        );\n        if (paths) {\n          addCompletionEntriesFromPaths(result, fragment, absolute, extensionOptions, host, paths);\n        }\n      }\n      const fragmentDirectory = getFragmentDirectory(fragment);\n      for (const ambientName of getAmbientModuleCompletions(fragment, fragmentDirectory, typeChecker)) {\n        result.add(nameAndKind(\n          ambientName,\n          \"external module name\",\n          /*extension*/\n          void 0\n        ));\n      }\n      getCompletionEntriesFromTypings(host, compilerOptions, scriptPath, fragmentDirectory, extensionOptions, result);\n      if (moduleResolutionUsesNodeModules(moduleResolution)) {\n        let foundGlobal = false;\n        if (fragmentDirectory === void 0) {\n          for (const moduleName of enumerateNodeModulesVisibleToScript(host, scriptPath)) {\n            const moduleResult = nameAndKind(\n              moduleName,\n              \"external module name\",\n              /*extension*/\n              void 0\n            );\n            if (!result.has(moduleResult.name)) {\n              foundGlobal = true;\n              result.add(moduleResult);\n            }\n          }\n        }\n        if (!foundGlobal) {\n          let ancestorLookup = (ancestor) => {\n            const nodeModules = combinePaths(ancestor, \"node_modules\");\n            if (tryDirectoryExists(host, nodeModules)) {\n              getCompletionEntriesForDirectoryFragment(\n                fragment,\n                nodeModules,\n                extensionOptions,\n                host,\n                /*moduleSpecifierIsRelative*/\n                false,\n                /*exclude*/\n                void 0,\n                result\n              );\n            }\n          };\n          if (fragmentDirectory && getResolvePackageJsonExports(compilerOptions)) {\n            const nodeModulesDirectoryLookup = ancestorLookup;\n            ancestorLookup = (ancestor) => {\n              const components = getPathComponents(fragment);\n              components.shift();\n              let packagePath = components.shift();\n              if (!packagePath) {\n                return nodeModulesDirectoryLookup(ancestor);\n              }\n              if (startsWith(packagePath, \"@\")) {\n                const subName = components.shift();\n                if (!subName) {\n                  return nodeModulesDirectoryLookup(ancestor);\n                }\n                packagePath = combinePaths(packagePath, subName);\n              }\n              const packageDirectory = combinePaths(ancestor, \"node_modules\", packagePath);\n              const packageFile = combinePaths(packageDirectory, \"package.json\");\n              if (tryFileExists(host, packageFile)) {\n                const packageJson = readJson(packageFile, host);\n                const exports = packageJson.exports;\n                if (exports) {\n                  if (typeof exports !== \"object\" || exports === null) {\n                    return;\n                  }\n                  const keys = getOwnKeys(exports);\n                  const fragmentSubpath = components.join(\"/\") + (components.length && hasTrailingDirectorySeparator(fragment) ? \"/\" : \"\");\n                  const conditions = mode === 99 ? [\"node\", \"import\", \"types\"] : [\"node\", \"require\", \"types\"];\n                  addCompletionEntriesFromPathsOrExports(\n                    result,\n                    fragmentSubpath,\n                    packageDirectory,\n                    extensionOptions,\n                    host,\n                    keys,\n                    (key) => singleElementArray(getPatternFromFirstMatchingCondition(exports[key], conditions)),\n                    comparePatternKeys\n                  );\n                  return;\n                }\n              }\n              return nodeModulesDirectoryLookup(ancestor);\n            };\n          }\n          forEachAncestorDirectory(scriptPath, ancestorLookup);\n        }\n      }\n      return arrayFrom(result.values());\n    }\n    function getPatternFromFirstMatchingCondition(target, conditions) {\n      if (typeof target === \"string\") {\n        return target;\n      }\n      if (target && typeof target === \"object\" && !isArray(target)) {\n        for (const condition in target) {\n          if (condition === \"default\" || conditions.indexOf(condition) > -1 || isApplicableVersionedTypesKey(conditions, condition)) {\n            const pattern = target[condition];\n            return getPatternFromFirstMatchingCondition(pattern, conditions);\n          }\n        }\n      }\n    }\n    function getFragmentDirectory(fragment) {\n      return containsSlash(fragment) ? hasTrailingDirectorySeparator(fragment) ? fragment : getDirectoryPath(fragment) : void 0;\n    }\n    function getCompletionsForPathMapping(path, patterns, fragment, packageDirectory, extensionOptions, host) {\n      if (!endsWith(path, \"*\")) {\n        return !stringContains(path, \"*\") ? justPathMappingName(\n          path,\n          \"script\"\n          /* scriptElement */\n        ) : emptyArray;\n      }\n      const pathPrefix = path.slice(0, path.length - 1);\n      const remainingFragment = tryRemovePrefix(fragment, pathPrefix);\n      if (remainingFragment === void 0) {\n        const starIsFullPathComponent = path[path.length - 2] === \"/\";\n        return starIsFullPathComponent ? justPathMappingName(\n          pathPrefix,\n          \"directory\"\n          /* directory */\n        ) : flatMap(patterns, (pattern) => {\n          var _a22;\n          return (_a22 = getModulesForPathsPattern(\"\", packageDirectory, pattern, extensionOptions, host)) == null ? void 0 : _a22.map(({ name, ...rest }) => ({ name: pathPrefix + name, ...rest }));\n        });\n      }\n      return flatMap(patterns, (pattern) => getModulesForPathsPattern(remainingFragment, packageDirectory, pattern, extensionOptions, host));\n      function justPathMappingName(name, kind) {\n        return startsWith(name, fragment) ? [{ name: removeTrailingDirectorySeparator(name), kind, extension: void 0 }] : emptyArray;\n      }\n    }\n    function getModulesForPathsPattern(fragment, packageDirectory, pattern, extensionOptions, host) {\n      if (!host.readDirectory) {\n        return void 0;\n      }\n      const parsed = tryParsePattern(pattern);\n      if (parsed === void 0 || isString2(parsed)) {\n        return void 0;\n      }\n      const normalizedPrefix = resolvePath(parsed.prefix);\n      const normalizedPrefixDirectory = hasTrailingDirectorySeparator(parsed.prefix) ? normalizedPrefix : getDirectoryPath(normalizedPrefix);\n      const normalizedPrefixBase = hasTrailingDirectorySeparator(parsed.prefix) ? \"\" : getBaseFileName(normalizedPrefix);\n      const fragmentHasPath = containsSlash(fragment);\n      const fragmentDirectory = fragmentHasPath ? hasTrailingDirectorySeparator(fragment) ? fragment : getDirectoryPath(fragment) : void 0;\n      const expandedPrefixDirectory = fragmentHasPath ? combinePaths(normalizedPrefixDirectory, normalizedPrefixBase + fragmentDirectory) : normalizedPrefixDirectory;\n      const normalizedSuffix = normalizePath(parsed.suffix);\n      const baseDirectory = normalizePath(combinePaths(packageDirectory, expandedPrefixDirectory));\n      const completePrefix = fragmentHasPath ? baseDirectory : ensureTrailingDirectorySeparator(baseDirectory) + normalizedPrefixBase;\n      const includeGlob = normalizedSuffix ? \"**/*\" + normalizedSuffix : \"./*\";\n      const matches = mapDefined(tryReadDirectory(\n        host,\n        baseDirectory,\n        extensionOptions.extensionsToSearch,\n        /*exclude*/\n        void 0,\n        [includeGlob]\n      ), (match) => {\n        const trimmedWithPattern = trimPrefixAndSuffix(match);\n        if (trimmedWithPattern) {\n          if (containsSlash(trimmedWithPattern)) {\n            return directoryResult(getPathComponents(removeLeadingDirectorySeparator(trimmedWithPattern))[1]);\n          }\n          const { name, extension } = getFilenameWithExtensionOption(trimmedWithPattern, host.getCompilationSettings(), extensionOptions);\n          return nameAndKind(name, \"script\", extension);\n        }\n      });\n      const directories = normalizedSuffix ? emptyArray : mapDefined(tryGetDirectories(host, baseDirectory), (dir) => dir === \"node_modules\" ? void 0 : directoryResult(dir));\n      return [...matches, ...directories];\n      function trimPrefixAndSuffix(path) {\n        const inner = withoutStartAndEnd(normalizePath(path), completePrefix, normalizedSuffix);\n        return inner === void 0 ? void 0 : removeLeadingDirectorySeparator(inner);\n      }\n    }\n    function withoutStartAndEnd(s, start, end) {\n      return startsWith(s, start) && endsWith(s, end) ? s.slice(start.length, s.length - end.length) : void 0;\n    }\n    function removeLeadingDirectorySeparator(path) {\n      return path[0] === directorySeparator ? path.slice(1) : path;\n    }\n    function getAmbientModuleCompletions(fragment, fragmentDirectory, checker) {\n      const ambientModules = checker.getAmbientModules().map((sym) => stripQuotes(sym.name));\n      const nonRelativeModuleNames = ambientModules.filter((moduleName) => startsWith(moduleName, fragment) && moduleName.indexOf(\"*\") < 0);\n      if (fragmentDirectory !== void 0) {\n        const moduleNameWithSeparator = ensureTrailingDirectorySeparator(fragmentDirectory);\n        return nonRelativeModuleNames.map((nonRelativeModuleName) => removePrefix(nonRelativeModuleName, moduleNameWithSeparator));\n      }\n      return nonRelativeModuleNames;\n    }\n    function getTripleSlashReferenceCompletion(sourceFile, position, compilerOptions, host) {\n      const token = getTokenAtPosition(sourceFile, position);\n      const commentRanges = getLeadingCommentRanges(sourceFile.text, token.pos);\n      const range = commentRanges && find(commentRanges, (commentRange) => position >= commentRange.pos && position <= commentRange.end);\n      if (!range) {\n        return void 0;\n      }\n      const text = sourceFile.text.slice(range.pos, position);\n      const match = tripleSlashDirectiveFragmentRegex.exec(text);\n      if (!match) {\n        return void 0;\n      }\n      const [, prefix, kind, toComplete] = match;\n      const scriptPath = getDirectoryPath(sourceFile.path);\n      const names = kind === \"path\" ? getCompletionEntriesForDirectoryFragment(\n        toComplete,\n        scriptPath,\n        getExtensionOptions(compilerOptions, 0, sourceFile),\n        host,\n        /*moduleSpecifierIsRelative*/\n        true,\n        sourceFile.path\n      ) : kind === \"types\" ? getCompletionEntriesFromTypings(host, compilerOptions, scriptPath, getFragmentDirectory(toComplete), getExtensionOptions(compilerOptions, 1, sourceFile)) : Debug2.fail();\n      return addReplacementSpans(toComplete, range.pos + prefix.length, arrayFrom(names.values()));\n    }\n    function getCompletionEntriesFromTypings(host, options, scriptPath, fragmentDirectory, extensionOptions, result = createNameAndKindSet()) {\n      const seen = /* @__PURE__ */ new Map();\n      const typeRoots = tryAndIgnoreErrors(() => getEffectiveTypeRoots(options, host)) || emptyArray;\n      for (const root of typeRoots) {\n        getCompletionEntriesFromDirectories(root);\n      }\n      for (const packageJson of findPackageJsons(scriptPath, host)) {\n        const typesDir = combinePaths(getDirectoryPath(packageJson), \"node_modules/@types\");\n        getCompletionEntriesFromDirectories(typesDir);\n      }\n      return result;\n      function getCompletionEntriesFromDirectories(directory) {\n        if (!tryDirectoryExists(host, directory))\n          return;\n        for (const typeDirectoryName of tryGetDirectories(host, directory)) {\n          const packageName = unmangleScopedPackageName(typeDirectoryName);\n          if (options.types && !contains(options.types, packageName))\n            continue;\n          if (fragmentDirectory === void 0) {\n            if (!seen.has(packageName)) {\n              result.add(nameAndKind(\n                packageName,\n                \"external module name\",\n                /*extension*/\n                void 0\n              ));\n              seen.set(packageName, true);\n            }\n          } else {\n            const baseDirectory = combinePaths(directory, typeDirectoryName);\n            const remainingFragment = tryRemoveDirectoryPrefix(fragmentDirectory, packageName, hostGetCanonicalFileName(host));\n            if (remainingFragment !== void 0) {\n              getCompletionEntriesForDirectoryFragment(\n                remainingFragment,\n                baseDirectory,\n                extensionOptions,\n                host,\n                /*moduleSpecifierIsRelative*/\n                false,\n                /*exclude*/\n                void 0,\n                result\n              );\n            }\n          }\n        }\n      }\n    }\n    function enumerateNodeModulesVisibleToScript(host, scriptPath) {\n      if (!host.readFile || !host.fileExists)\n        return emptyArray;\n      const result = [];\n      for (const packageJson of findPackageJsons(scriptPath, host)) {\n        const contents = readJson(packageJson, host);\n        for (const key of nodeModulesDependencyKeys) {\n          const dependencies = contents[key];\n          if (!dependencies)\n            continue;\n          for (const dep in dependencies) {\n            if (hasProperty(dependencies, dep) && !startsWith(dep, \"@types/\")) {\n              result.push(dep);\n            }\n          }\n        }\n      }\n      return result;\n    }\n    function getDirectoryFragmentTextSpan(text, textStart) {\n      const index = Math.max(text.lastIndexOf(directorySeparator), text.lastIndexOf(altDirectorySeparator));\n      const offset = index !== -1 ? index + 1 : 0;\n      const length2 = text.length - offset;\n      return length2 === 0 || isIdentifierText(\n        text.substr(offset, length2),\n        99\n        /* ESNext */\n      ) ? void 0 : createTextSpan(textStart + offset, length2);\n    }\n    function isPathRelativeToScript(path) {\n      if (path && path.length >= 2 && path.charCodeAt(0) === 46) {\n        const slashIndex = path.length >= 3 && path.charCodeAt(1) === 46 ? 2 : 1;\n        const slashCharCode = path.charCodeAt(slashIndex);\n        return slashCharCode === 47 || slashCharCode === 92;\n      }\n      return false;\n    }\n    function containsSlash(fragment) {\n      return stringContains(fragment, directorySeparator);\n    }\n    function isRequireCallArgument(node) {\n      return isCallExpression(node.parent) && firstOrUndefined(node.parent.arguments) === node && isIdentifier(node.parent.expression) && node.parent.expression.escapedText === \"require\";\n    }\n    var kindPrecedence, tripleSlashDirectiveFragmentRegex, nodeModulesDependencyKeys;\n    var init_stringCompletions = __esm({\n      \"src/services/stringCompletions.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_Completions();\n        kindPrecedence = {\n          [\n            \"directory\"\n            /* directory */\n          ]: 0,\n          [\n            \"script\"\n            /* scriptElement */\n          ]: 1,\n          [\n            \"external module name\"\n            /* externalModuleName */\n          ]: 2\n        };\n        tripleSlashDirectiveFragmentRegex = /^(\\/\\/\\/\\s*<reference\\s+(path|types)\\s*=\\s*(?:'|\"))([^\\3\"]*)$/;\n        nodeModulesDependencyKeys = [\"dependencies\", \"devDependencies\", \"peerDependencies\", \"optionalDependencies\"];\n      }\n    });\n    var ts_Completions_StringCompletions_exports = {};\n    __export2(ts_Completions_StringCompletions_exports, {\n      getStringLiteralCompletionDetails: () => getStringLiteralCompletionDetails,\n      getStringLiteralCompletions: () => getStringLiteralCompletions\n    });\n    var init_ts_Completions_StringCompletions = __esm({\n      \"src/services/_namespaces/ts.Completions.StringCompletions.ts\"() {\n        \"use strict\";\n        init_stringCompletions();\n      }\n    });\n    var ts_Completions_exports = {};\n    __export2(ts_Completions_exports, {\n      CompletionKind: () => CompletionKind,\n      CompletionSource: () => CompletionSource,\n      SortText: () => SortText,\n      StringCompletions: () => ts_Completions_StringCompletions_exports,\n      SymbolOriginInfoKind: () => SymbolOriginInfoKind,\n      createCompletionDetails: () => createCompletionDetails,\n      createCompletionDetailsForSymbol: () => createCompletionDetailsForSymbol,\n      getCompletionEntriesFromSymbols: () => getCompletionEntriesFromSymbols,\n      getCompletionEntryDetails: () => getCompletionEntryDetails,\n      getCompletionEntrySymbol: () => getCompletionEntrySymbol,\n      getCompletionsAtPosition: () => getCompletionsAtPosition,\n      getPropertiesForObjectExpression: () => getPropertiesForObjectExpression,\n      moduleSpecifierResolutionCacheAttemptLimit: () => moduleSpecifierResolutionCacheAttemptLimit,\n      moduleSpecifierResolutionLimit: () => moduleSpecifierResolutionLimit\n    });\n    var init_ts_Completions = __esm({\n      \"src/services/_namespaces/ts.Completions.ts\"() {\n        \"use strict\";\n        init_completions();\n        init_ts_Completions_StringCompletions();\n      }\n    });\n    function createImportTracker(sourceFiles, sourceFilesSet, checker, cancellationToken) {\n      const allDirectImports = getDirectImportsMap(sourceFiles, checker, cancellationToken);\n      return (exportSymbol, exportInfo, isForRename) => {\n        const { directImports, indirectUsers } = getImportersForExport(sourceFiles, sourceFilesSet, allDirectImports, exportInfo, checker, cancellationToken);\n        return { indirectUsers, ...getSearchesFromDirectImports(directImports, exportSymbol, exportInfo.exportKind, checker, isForRename) };\n      };\n    }\n    function getImportersForExport(sourceFiles, sourceFilesSet, allDirectImports, { exportingModuleSymbol, exportKind }, checker, cancellationToken) {\n      const markSeenDirectImport = nodeSeenTracker();\n      const markSeenIndirectUser = nodeSeenTracker();\n      const directImports = [];\n      const isAvailableThroughGlobal = !!exportingModuleSymbol.globalExports;\n      const indirectUserDeclarations = isAvailableThroughGlobal ? void 0 : [];\n      handleDirectImports(exportingModuleSymbol);\n      return { directImports, indirectUsers: getIndirectUsers() };\n      function getIndirectUsers() {\n        if (isAvailableThroughGlobal) {\n          return sourceFiles;\n        }\n        if (exportingModuleSymbol.declarations) {\n          for (const decl of exportingModuleSymbol.declarations) {\n            if (isExternalModuleAugmentation(decl) && sourceFilesSet.has(decl.getSourceFile().fileName)) {\n              addIndirectUser(decl);\n            }\n          }\n        }\n        return indirectUserDeclarations.map(getSourceFileOfNode);\n      }\n      function handleDirectImports(exportingModuleSymbol2) {\n        const theseDirectImports = getDirectImports(exportingModuleSymbol2);\n        if (theseDirectImports) {\n          for (const direct of theseDirectImports) {\n            if (!markSeenDirectImport(direct)) {\n              continue;\n            }\n            if (cancellationToken)\n              cancellationToken.throwIfCancellationRequested();\n            switch (direct.kind) {\n              case 210:\n                if (isImportCall(direct)) {\n                  handleImportCall(direct);\n                  break;\n                }\n                if (!isAvailableThroughGlobal) {\n                  const parent2 = direct.parent;\n                  if (exportKind === 2 && parent2.kind === 257) {\n                    const { name } = parent2;\n                    if (name.kind === 79) {\n                      directImports.push(name);\n                      break;\n                    }\n                  }\n                }\n                break;\n              case 79:\n                break;\n              case 268:\n                handleNamespaceImport(\n                  direct,\n                  direct.name,\n                  hasSyntacticModifier(\n                    direct,\n                    1\n                    /* Export */\n                  ),\n                  /*alreadyAddedDirect*/\n                  false\n                );\n                break;\n              case 269:\n                directImports.push(direct);\n                const namedBindings = direct.importClause && direct.importClause.namedBindings;\n                if (namedBindings && namedBindings.kind === 271) {\n                  handleNamespaceImport(\n                    direct,\n                    namedBindings.name,\n                    /*isReExport*/\n                    false,\n                    /*alreadyAddedDirect*/\n                    true\n                  );\n                } else if (!isAvailableThroughGlobal && isDefaultImport(direct)) {\n                  addIndirectUser(getSourceFileLikeForImportDeclaration(direct));\n                }\n                break;\n              case 275:\n                if (!direct.exportClause) {\n                  handleDirectImports(getContainingModuleSymbol(direct, checker));\n                } else if (direct.exportClause.kind === 277) {\n                  addIndirectUser(\n                    getSourceFileLikeForImportDeclaration(direct),\n                    /** addTransitiveDependencies */\n                    true\n                  );\n                } else {\n                  directImports.push(direct);\n                }\n                break;\n              case 202:\n                if (!isAvailableThroughGlobal && direct.isTypeOf && !direct.qualifier && isExported2(direct)) {\n                  addIndirectUser(\n                    direct.getSourceFile(),\n                    /** addTransitiveDependencies */\n                    true\n                  );\n                }\n                directImports.push(direct);\n                break;\n              default:\n                Debug2.failBadSyntaxKind(direct, \"Unexpected import kind.\");\n            }\n          }\n        }\n      }\n      function handleImportCall(importCall) {\n        const top = findAncestor(importCall, isAmbientModuleDeclaration) || importCall.getSourceFile();\n        addIndirectUser(\n          top,\n          /** addTransitiveDependencies */\n          !!isExported2(\n            importCall,\n            /** stopAtAmbientModule */\n            true\n          )\n        );\n      }\n      function isExported2(node, stopAtAmbientModule = false) {\n        return findAncestor(node, (node2) => {\n          if (stopAtAmbientModule && isAmbientModuleDeclaration(node2))\n            return \"quit\";\n          return canHaveModifiers(node2) && some(node2.modifiers, isExportModifier);\n        });\n      }\n      function handleNamespaceImport(importDeclaration, name, isReExport, alreadyAddedDirect) {\n        if (exportKind === 2) {\n          if (!alreadyAddedDirect)\n            directImports.push(importDeclaration);\n        } else if (!isAvailableThroughGlobal) {\n          const sourceFileLike = getSourceFileLikeForImportDeclaration(importDeclaration);\n          Debug2.assert(\n            sourceFileLike.kind === 308 || sourceFileLike.kind === 264\n            /* ModuleDeclaration */\n          );\n          if (isReExport || findNamespaceReExports(sourceFileLike, name, checker)) {\n            addIndirectUser(\n              sourceFileLike,\n              /** addTransitiveDependencies */\n              true\n            );\n          } else {\n            addIndirectUser(sourceFileLike);\n          }\n        }\n      }\n      function addIndirectUser(sourceFileLike, addTransitiveDependencies = false) {\n        Debug2.assert(!isAvailableThroughGlobal);\n        const isNew = markSeenIndirectUser(sourceFileLike);\n        if (!isNew)\n          return;\n        indirectUserDeclarations.push(sourceFileLike);\n        if (!addTransitiveDependencies)\n          return;\n        const moduleSymbol = checker.getMergedSymbol(sourceFileLike.symbol);\n        if (!moduleSymbol)\n          return;\n        Debug2.assert(!!(moduleSymbol.flags & 1536));\n        const directImports2 = getDirectImports(moduleSymbol);\n        if (directImports2) {\n          for (const directImport of directImports2) {\n            if (!isImportTypeNode(directImport)) {\n              addIndirectUser(\n                getSourceFileLikeForImportDeclaration(directImport),\n                /** addTransitiveDependencies */\n                true\n              );\n            }\n          }\n        }\n      }\n      function getDirectImports(moduleSymbol) {\n        return allDirectImports.get(getSymbolId(moduleSymbol).toString());\n      }\n    }\n    function getSearchesFromDirectImports(directImports, exportSymbol, exportKind, checker, isForRename) {\n      const importSearches = [];\n      const singleReferences = [];\n      function addSearch(location, symbol) {\n        importSearches.push([location, symbol]);\n      }\n      if (directImports) {\n        for (const decl of directImports) {\n          handleImport(decl);\n        }\n      }\n      return { importSearches, singleReferences };\n      function handleImport(decl) {\n        if (decl.kind === 268) {\n          if (isExternalModuleImportEquals(decl)) {\n            handleNamespaceImportLike(decl.name);\n          }\n          return;\n        }\n        if (decl.kind === 79) {\n          handleNamespaceImportLike(decl);\n          return;\n        }\n        if (decl.kind === 202) {\n          if (decl.qualifier) {\n            const firstIdentifier = getFirstIdentifier(decl.qualifier);\n            if (firstIdentifier.escapedText === symbolName(exportSymbol)) {\n              singleReferences.push(firstIdentifier);\n            }\n          } else if (exportKind === 2) {\n            singleReferences.push(decl.argument.literal);\n          }\n          return;\n        }\n        if (decl.moduleSpecifier.kind !== 10) {\n          return;\n        }\n        if (decl.kind === 275) {\n          if (decl.exportClause && isNamedExports(decl.exportClause)) {\n            searchForNamedImport(decl.exportClause);\n          }\n          return;\n        }\n        const { name, namedBindings } = decl.importClause || { name: void 0, namedBindings: void 0 };\n        if (namedBindings) {\n          switch (namedBindings.kind) {\n            case 271:\n              handleNamespaceImportLike(namedBindings.name);\n              break;\n            case 272:\n              if (exportKind === 0 || exportKind === 1) {\n                searchForNamedImport(namedBindings);\n              }\n              break;\n            default:\n              Debug2.assertNever(namedBindings);\n          }\n        }\n        if (name && (exportKind === 1 || exportKind === 2) && (!isForRename || name.escapedText === symbolEscapedNameNoDefault(exportSymbol))) {\n          const defaultImportAlias = checker.getSymbolAtLocation(name);\n          addSearch(name, defaultImportAlias);\n        }\n      }\n      function handleNamespaceImportLike(importName) {\n        if (exportKind === 2 && (!isForRename || isNameMatch(importName.escapedText))) {\n          addSearch(importName, checker.getSymbolAtLocation(importName));\n        }\n      }\n      function searchForNamedImport(namedBindings) {\n        if (!namedBindings) {\n          return;\n        }\n        for (const element of namedBindings.elements) {\n          const { name, propertyName } = element;\n          if (!isNameMatch((propertyName || name).escapedText)) {\n            continue;\n          }\n          if (propertyName) {\n            singleReferences.push(propertyName);\n            if (!isForRename || name.escapedText === exportSymbol.escapedName) {\n              addSearch(name, checker.getSymbolAtLocation(name));\n            }\n          } else {\n            const localSymbol = element.kind === 278 && element.propertyName ? checker.getExportSpecifierLocalTargetSymbol(element) : checker.getSymbolAtLocation(name);\n            addSearch(name, localSymbol);\n          }\n        }\n      }\n      function isNameMatch(name) {\n        return name === exportSymbol.escapedName || exportKind !== 0 && name === \"default\";\n      }\n    }\n    function findNamespaceReExports(sourceFileLike, name, checker) {\n      const namespaceImportSymbol = checker.getSymbolAtLocation(name);\n      return !!forEachPossibleImportOrExportStatement(sourceFileLike, (statement) => {\n        if (!isExportDeclaration(statement))\n          return;\n        const { exportClause, moduleSpecifier } = statement;\n        return !moduleSpecifier && exportClause && isNamedExports(exportClause) && exportClause.elements.some((element) => checker.getExportSpecifierLocalTargetSymbol(element) === namespaceImportSymbol);\n      });\n    }\n    function findModuleReferences(program, sourceFiles, searchModuleSymbol) {\n      var _a22;\n      const refs = [];\n      const checker = program.getTypeChecker();\n      for (const referencingFile of sourceFiles) {\n        const searchSourceFile = searchModuleSymbol.valueDeclaration;\n        if ((searchSourceFile == null ? void 0 : searchSourceFile.kind) === 308) {\n          for (const ref of referencingFile.referencedFiles) {\n            if (program.getSourceFileFromReference(referencingFile, ref) === searchSourceFile) {\n              refs.push({ kind: \"reference\", referencingFile, ref });\n            }\n          }\n          for (const ref of referencingFile.typeReferenceDirectives) {\n            const referenced = (_a22 = program.getResolvedTypeReferenceDirectives().get(ref.fileName, ref.resolutionMode || referencingFile.impliedNodeFormat)) == null ? void 0 : _a22.resolvedTypeReferenceDirective;\n            if (referenced !== void 0 && referenced.resolvedFileName === searchSourceFile.fileName) {\n              refs.push({ kind: \"reference\", referencingFile, ref });\n            }\n          }\n        }\n        forEachImport(referencingFile, (_importDecl, moduleSpecifier) => {\n          const moduleSymbol = checker.getSymbolAtLocation(moduleSpecifier);\n          if (moduleSymbol === searchModuleSymbol) {\n            refs.push({ kind: \"import\", literal: moduleSpecifier });\n          }\n        });\n      }\n      return refs;\n    }\n    function getDirectImportsMap(sourceFiles, checker, cancellationToken) {\n      const map2 = /* @__PURE__ */ new Map();\n      for (const sourceFile of sourceFiles) {\n        if (cancellationToken)\n          cancellationToken.throwIfCancellationRequested();\n        forEachImport(sourceFile, (importDecl, moduleSpecifier) => {\n          const moduleSymbol = checker.getSymbolAtLocation(moduleSpecifier);\n          if (moduleSymbol) {\n            const id = getSymbolId(moduleSymbol).toString();\n            let imports = map2.get(id);\n            if (!imports) {\n              map2.set(id, imports = []);\n            }\n            imports.push(importDecl);\n          }\n        });\n      }\n      return map2;\n    }\n    function forEachPossibleImportOrExportStatement(sourceFileLike, action) {\n      return forEach(sourceFileLike.kind === 308 ? sourceFileLike.statements : sourceFileLike.body.statements, (statement) => (\n        // TODO: GH#18217\n        action(statement) || isAmbientModuleDeclaration(statement) && forEach(statement.body && statement.body.statements, action)\n      ));\n    }\n    function forEachImport(sourceFile, action) {\n      if (sourceFile.externalModuleIndicator || sourceFile.imports !== void 0) {\n        for (const i of sourceFile.imports) {\n          action(importFromModuleSpecifier(i), i);\n        }\n      } else {\n        forEachPossibleImportOrExportStatement(sourceFile, (statement) => {\n          switch (statement.kind) {\n            case 275:\n            case 269: {\n              const decl = statement;\n              if (decl.moduleSpecifier && isStringLiteral(decl.moduleSpecifier)) {\n                action(decl, decl.moduleSpecifier);\n              }\n              break;\n            }\n            case 268: {\n              const decl = statement;\n              if (isExternalModuleImportEquals(decl)) {\n                action(decl, decl.moduleReference.expression);\n              }\n              break;\n            }\n          }\n        });\n      }\n    }\n    function getImportOrExportSymbol(node, symbol, checker, comingFromExport) {\n      return comingFromExport ? getExport() : getExport() || getImport();\n      function getExport() {\n        var _a22;\n        const { parent: parent2 } = node;\n        const grandparent = parent2.parent;\n        if (symbol.exportSymbol) {\n          if (parent2.kind === 208) {\n            return ((_a22 = symbol.declarations) == null ? void 0 : _a22.some((d) => d === parent2)) && isBinaryExpression(grandparent) ? getSpecialPropertyExport(\n              grandparent,\n              /*useLhsSymbol*/\n              false\n            ) : void 0;\n          } else {\n            return exportInfo(symbol.exportSymbol, getExportKindForDeclaration(parent2));\n          }\n        } else {\n          const exportNode = getExportNode(parent2, node);\n          if (exportNode && hasSyntacticModifier(\n            exportNode,\n            1\n            /* Export */\n          )) {\n            if (isImportEqualsDeclaration(exportNode) && exportNode.moduleReference === node) {\n              if (comingFromExport) {\n                return void 0;\n              }\n              const lhsSymbol = checker.getSymbolAtLocation(exportNode.name);\n              return { kind: 0, symbol: lhsSymbol };\n            } else {\n              return exportInfo(symbol, getExportKindForDeclaration(exportNode));\n            }\n          } else if (isNamespaceExport(parent2)) {\n            return exportInfo(\n              symbol,\n              0\n              /* Named */\n            );\n          } else if (isExportAssignment(parent2)) {\n            return getExportAssignmentExport(parent2);\n          } else if (isExportAssignment(grandparent)) {\n            return getExportAssignmentExport(grandparent);\n          } else if (isBinaryExpression(parent2)) {\n            return getSpecialPropertyExport(\n              parent2,\n              /*useLhsSymbol*/\n              true\n            );\n          } else if (isBinaryExpression(grandparent)) {\n            return getSpecialPropertyExport(\n              grandparent,\n              /*useLhsSymbol*/\n              true\n            );\n          } else if (isJSDocTypedefTag(parent2) || isJSDocCallbackTag(parent2)) {\n            return exportInfo(\n              symbol,\n              0\n              /* Named */\n            );\n          }\n        }\n        function getExportAssignmentExport(ex) {\n          if (!ex.symbol.parent)\n            return void 0;\n          const exportKind = ex.isExportEquals ? 2 : 1;\n          return { kind: 1, symbol, exportInfo: { exportingModuleSymbol: ex.symbol.parent, exportKind } };\n        }\n        function getSpecialPropertyExport(node2, useLhsSymbol) {\n          let kind;\n          switch (getAssignmentDeclarationKind(node2)) {\n            case 1:\n              kind = 0;\n              break;\n            case 2:\n              kind = 2;\n              break;\n            default:\n              return void 0;\n          }\n          const sym = useLhsSymbol ? checker.getSymbolAtLocation(getNameOfAccessExpression(cast(node2.left, isAccessExpression))) : symbol;\n          return sym && exportInfo(sym, kind);\n        }\n      }\n      function getImport() {\n        const isImport3 = isNodeImport(node);\n        if (!isImport3)\n          return void 0;\n        let importedSymbol = checker.getImmediateAliasedSymbol(symbol);\n        if (!importedSymbol)\n          return void 0;\n        importedSymbol = skipExportSpecifierSymbol(importedSymbol, checker);\n        if (importedSymbol.escapedName === \"export=\") {\n          importedSymbol = getExportEqualsLocalSymbol(importedSymbol, checker);\n          if (importedSymbol === void 0)\n            return void 0;\n        }\n        const importedName = symbolEscapedNameNoDefault(importedSymbol);\n        if (importedName === void 0 || importedName === \"default\" || importedName === symbol.escapedName) {\n          return { kind: 0, symbol: importedSymbol };\n        }\n      }\n      function exportInfo(symbol2, kind) {\n        const exportInfo2 = getExportInfo(symbol2, kind, checker);\n        return exportInfo2 && { kind: 1, symbol: symbol2, exportInfo: exportInfo2 };\n      }\n      function getExportKindForDeclaration(node2) {\n        return hasSyntacticModifier(\n          node2,\n          1024\n          /* Default */\n        ) ? 1 : 0;\n      }\n    }\n    function getExportEqualsLocalSymbol(importedSymbol, checker) {\n      var _a22, _b3;\n      if (importedSymbol.flags & 2097152) {\n        return checker.getImmediateAliasedSymbol(importedSymbol);\n      }\n      const decl = Debug2.checkDefined(importedSymbol.valueDeclaration);\n      if (isExportAssignment(decl)) {\n        return (_a22 = tryCast(decl.expression, canHaveSymbol)) == null ? void 0 : _a22.symbol;\n      } else if (isBinaryExpression(decl)) {\n        return (_b3 = tryCast(decl.right, canHaveSymbol)) == null ? void 0 : _b3.symbol;\n      } else if (isSourceFile(decl)) {\n        return decl.symbol;\n      }\n      return void 0;\n    }\n    function getExportNode(parent2, node) {\n      const declaration = isVariableDeclaration(parent2) ? parent2 : isBindingElement(parent2) ? walkUpBindingElementsAndPatterns(parent2) : void 0;\n      if (declaration) {\n        return parent2.name !== node ? void 0 : isCatchClause(declaration.parent) ? void 0 : isVariableStatement(declaration.parent.parent) ? declaration.parent.parent : void 0;\n      } else {\n        return parent2;\n      }\n    }\n    function isNodeImport(node) {\n      const { parent: parent2 } = node;\n      switch (parent2.kind) {\n        case 268:\n          return parent2.name === node && isExternalModuleImportEquals(parent2);\n        case 273:\n          return !parent2.propertyName;\n        case 270:\n        case 271:\n          Debug2.assert(parent2.name === node);\n          return true;\n        case 205:\n          return isInJSFile(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(parent2.parent.parent);\n        default:\n          return false;\n      }\n    }\n    function getExportInfo(exportSymbol, exportKind, checker) {\n      const moduleSymbol = exportSymbol.parent;\n      if (!moduleSymbol)\n        return void 0;\n      const exportingModuleSymbol = checker.getMergedSymbol(moduleSymbol);\n      return isExternalModuleSymbol(exportingModuleSymbol) ? { exportingModuleSymbol, exportKind } : void 0;\n    }\n    function skipExportSpecifierSymbol(symbol, checker) {\n      if (symbol.declarations) {\n        for (const declaration of symbol.declarations) {\n          if (isExportSpecifier(declaration) && !declaration.propertyName && !declaration.parent.parent.moduleSpecifier) {\n            return checker.getExportSpecifierLocalTargetSymbol(declaration) || symbol;\n          } else if (isPropertyAccessExpression(declaration) && isModuleExportsAccessExpression(declaration.expression) && !isPrivateIdentifier(declaration.name)) {\n            return checker.getSymbolAtLocation(declaration);\n          } else if (isShorthandPropertyAssignment(declaration) && isBinaryExpression(declaration.parent.parent) && getAssignmentDeclarationKind(declaration.parent.parent) === 2) {\n            return checker.getExportSpecifierLocalTargetSymbol(declaration.name);\n          }\n        }\n      }\n      return symbol;\n    }\n    function getContainingModuleSymbol(importer, checker) {\n      return checker.getMergedSymbol(getSourceFileLikeForImportDeclaration(importer).symbol);\n    }\n    function getSourceFileLikeForImportDeclaration(node) {\n      if (node.kind === 210) {\n        return node.getSourceFile();\n      }\n      const { parent: parent2 } = node;\n      if (parent2.kind === 308) {\n        return parent2;\n      }\n      Debug2.assert(\n        parent2.kind === 265\n        /* ModuleBlock */\n      );\n      return cast(parent2.parent, isAmbientModuleDeclaration);\n    }\n    function isAmbientModuleDeclaration(node) {\n      return node.kind === 264 && node.name.kind === 10;\n    }\n    function isExternalModuleImportEquals(eq) {\n      return eq.moduleReference.kind === 280 && eq.moduleReference.expression.kind === 10;\n    }\n    var ExportKind2, ImportExport;\n    var init_importTracker = __esm({\n      \"src/services/importTracker.ts\"() {\n        \"use strict\";\n        init_ts4();\n        ExportKind2 = /* @__PURE__ */ ((ExportKind3) => {\n          ExportKind3[ExportKind3[\"Named\"] = 0] = \"Named\";\n          ExportKind3[ExportKind3[\"Default\"] = 1] = \"Default\";\n          ExportKind3[ExportKind3[\"ExportEquals\"] = 2] = \"ExportEquals\";\n          return ExportKind3;\n        })(ExportKind2 || {});\n        ImportExport = /* @__PURE__ */ ((ImportExport2) => {\n          ImportExport2[ImportExport2[\"Import\"] = 0] = \"Import\";\n          ImportExport2[ImportExport2[\"Export\"] = 1] = \"Export\";\n          return ImportExport2;\n        })(ImportExport || {});\n      }\n    });\n    function nodeEntry(node, kind = 1) {\n      return {\n        kind,\n        node: node.name || node,\n        context: getContextNodeForNodeEntry(node)\n      };\n    }\n    function isContextWithStartAndEndNode(node) {\n      return node && node.kind === void 0;\n    }\n    function getContextNodeForNodeEntry(node) {\n      if (isDeclaration(node)) {\n        return getContextNode(node);\n      }\n      if (!node.parent)\n        return void 0;\n      if (!isDeclaration(node.parent) && !isExportAssignment(node.parent)) {\n        if (isInJSFile(node)) {\n          const binaryExpression = isBinaryExpression(node.parent) ? node.parent : isAccessExpression(node.parent) && isBinaryExpression(node.parent.parent) && node.parent.parent.left === node.parent ? node.parent.parent : void 0;\n          if (binaryExpression && getAssignmentDeclarationKind(binaryExpression) !== 0) {\n            return getContextNode(binaryExpression);\n          }\n        }\n        if (isJsxOpeningElement(node.parent) || isJsxClosingElement(node.parent)) {\n          return node.parent.parent;\n        } else if (isJsxSelfClosingElement(node.parent) || isLabeledStatement(node.parent) || isBreakOrContinueStatement(node.parent)) {\n          return node.parent;\n        } else if (isStringLiteralLike(node)) {\n          const validImport = tryGetImportFromModuleSpecifier(node);\n          if (validImport) {\n            const declOrStatement = findAncestor(\n              validImport,\n              (node2) => isDeclaration(node2) || isStatement(node2) || isJSDocTag(node2)\n            );\n            return isDeclaration(declOrStatement) ? getContextNode(declOrStatement) : declOrStatement;\n          }\n        }\n        const propertyName = findAncestor(node, isComputedPropertyName);\n        return propertyName ? getContextNode(propertyName.parent) : void 0;\n      }\n      if (node.parent.name === node || // node is name of declaration, use parent\n      isConstructorDeclaration(node.parent) || isExportAssignment(node.parent) || // Property name of the import export specifier or binding pattern, use parent\n      (isImportOrExportSpecifier(node.parent) || isBindingElement(node.parent)) && node.parent.propertyName === node || // Is default export\n      node.kind === 88 && hasSyntacticModifier(\n        node.parent,\n        1025\n        /* ExportDefault */\n      )) {\n        return getContextNode(node.parent);\n      }\n      return void 0;\n    }\n    function getContextNode(node) {\n      if (!node)\n        return void 0;\n      switch (node.kind) {\n        case 257:\n          return !isVariableDeclarationList(node.parent) || node.parent.declarations.length !== 1 ? node : isVariableStatement(node.parent.parent) ? node.parent.parent : isForInOrOfStatement(node.parent.parent) ? getContextNode(node.parent.parent) : node.parent;\n        case 205:\n          return getContextNode(node.parent.parent);\n        case 273:\n          return node.parent.parent.parent;\n        case 278:\n        case 271:\n          return node.parent.parent;\n        case 270:\n        case 277:\n          return node.parent;\n        case 223:\n          return isExpressionStatement(node.parent) ? node.parent : node;\n        case 247:\n        case 246:\n          return {\n            start: node.initializer,\n            end: node.expression\n          };\n        case 299:\n        case 300:\n          return isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent) ? getContextNode(\n            findAncestor(\n              node.parent,\n              (node2) => isBinaryExpression(node2) || isForInOrOfStatement(node2)\n            )\n          ) : node;\n        default:\n          return node;\n      }\n    }\n    function toContextSpan(textSpan, sourceFile, context) {\n      if (!context)\n        return void 0;\n      const contextSpan = isContextWithStartAndEndNode(context) ? getTextSpan(context.start, sourceFile, context.end) : getTextSpan(context, sourceFile);\n      return contextSpan.start !== textSpan.start || contextSpan.length !== textSpan.length ? { contextSpan } : void 0;\n    }\n    function findReferencedSymbols(program, cancellationToken, sourceFiles, sourceFile, position) {\n      const node = getTouchingPropertyName(sourceFile, position);\n      const options = {\n        use: 1\n        /* References */\n      };\n      const referencedSymbols = Core.getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options);\n      const checker = program.getTypeChecker();\n      const adjustedNode = Core.getAdjustedNode(node, options);\n      const symbol = isDefinitionForReference(adjustedNode) ? checker.getSymbolAtLocation(adjustedNode) : void 0;\n      return !referencedSymbols || !referencedSymbols.length ? void 0 : mapDefined(referencedSymbols, ({ definition, references }) => (\n        // Only include referenced symbols that have a valid definition.\n        definition && {\n          definition: checker.runWithCancellationToken(cancellationToken, (checker2) => definitionToReferencedSymbolDefinitionInfo(definition, checker2, node)),\n          references: references.map((r) => toReferencedSymbolEntry(r, symbol))\n        }\n      ));\n    }\n    function isDefinitionForReference(node) {\n      return node.kind === 88 || !!getDeclarationFromName(node) || isLiteralComputedPropertyDeclarationName(node) || node.kind === 135 && isConstructorDeclaration(node.parent);\n    }\n    function getImplementationsAtPosition(program, cancellationToken, sourceFiles, sourceFile, position) {\n      const node = getTouchingPropertyName(sourceFile, position);\n      let referenceEntries;\n      const entries = getImplementationReferenceEntries(program, cancellationToken, sourceFiles, node, position);\n      if (node.parent.kind === 208 || node.parent.kind === 205 || node.parent.kind === 209 || node.kind === 106) {\n        referenceEntries = entries && [...entries];\n      } else if (entries) {\n        const queue = createQueue(entries);\n        const seenNodes = /* @__PURE__ */ new Map();\n        while (!queue.isEmpty()) {\n          const entry = queue.dequeue();\n          if (!addToSeen(seenNodes, getNodeId(entry.node))) {\n            continue;\n          }\n          referenceEntries = append(referenceEntries, entry);\n          const entries2 = getImplementationReferenceEntries(program, cancellationToken, sourceFiles, entry.node, entry.node.pos);\n          if (entries2) {\n            queue.enqueue(...entries2);\n          }\n        }\n      }\n      const checker = program.getTypeChecker();\n      return map(referenceEntries, (entry) => toImplementationLocation(entry, checker));\n    }\n    function getImplementationReferenceEntries(program, cancellationToken, sourceFiles, node, position) {\n      if (node.kind === 308) {\n        return void 0;\n      }\n      const checker = program.getTypeChecker();\n      if (node.parent.kind === 300) {\n        const result = [];\n        Core.getReferenceEntriesForShorthandPropertyAssignment(node, checker, (node2) => result.push(nodeEntry(node2)));\n        return result;\n      } else if (node.kind === 106 || isSuperProperty(node.parent)) {\n        const symbol = checker.getSymbolAtLocation(node);\n        return symbol.valueDeclaration && [nodeEntry(symbol.valueDeclaration)];\n      } else {\n        return getReferenceEntriesForNode(position, node, program, sourceFiles, cancellationToken, {\n          implementations: true,\n          use: 1\n          /* References */\n        });\n      }\n    }\n    function findReferenceOrRenameEntries(program, cancellationToken, sourceFiles, node, position, options, convertEntry) {\n      return map(flattenEntries(Core.getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options)), (entry) => convertEntry(entry, node, program.getTypeChecker()));\n    }\n    function getReferenceEntriesForNode(position, node, program, sourceFiles, cancellationToken, options = {}, sourceFilesSet = new Set(sourceFiles.map((f) => f.fileName))) {\n      return flattenEntries(Core.getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options, sourceFilesSet));\n    }\n    function flattenEntries(referenceSymbols) {\n      return referenceSymbols && flatMap(referenceSymbols, (r) => r.references);\n    }\n    function definitionToReferencedSymbolDefinitionInfo(def, checker, originalNode) {\n      const info = (() => {\n        switch (def.type) {\n          case 0: {\n            const { symbol } = def;\n            const { displayParts: displayParts2, kind: kind2 } = getDefinitionKindAndDisplayParts(symbol, checker, originalNode);\n            const name2 = displayParts2.map((p) => p.text).join(\"\");\n            const declaration = symbol.declarations && firstOrUndefined(symbol.declarations);\n            const node = declaration ? getNameOfDeclaration(declaration) || declaration : originalNode;\n            return {\n              ...getFileAndTextSpanFromNode(node),\n              name: name2,\n              kind: kind2,\n              displayParts: displayParts2,\n              context: getContextNode(declaration)\n            };\n          }\n          case 1: {\n            const { node } = def;\n            return { ...getFileAndTextSpanFromNode(node), name: node.text, kind: \"label\", displayParts: [displayPart(\n              node.text,\n              17\n              /* text */\n            )] };\n          }\n          case 2: {\n            const { node } = def;\n            const name2 = tokenToString(node.kind);\n            return { ...getFileAndTextSpanFromNode(node), name: name2, kind: \"keyword\", displayParts: [{\n              text: name2,\n              kind: \"keyword\"\n              /* keyword */\n            }] };\n          }\n          case 3: {\n            const { node } = def;\n            const symbol = checker.getSymbolAtLocation(node);\n            const displayParts2 = symbol && ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(\n              checker,\n              symbol,\n              node.getSourceFile(),\n              getContainerNode(node),\n              node\n            ).displayParts || [textPart(\"this\")];\n            return { ...getFileAndTextSpanFromNode(node), name: \"this\", kind: \"var\", displayParts: displayParts2 };\n          }\n          case 4: {\n            const { node } = def;\n            return {\n              ...getFileAndTextSpanFromNode(node),\n              name: node.text,\n              kind: \"var\",\n              displayParts: [displayPart(\n                getTextOfNode(node),\n                8\n                /* stringLiteral */\n              )]\n            };\n          }\n          case 5: {\n            return {\n              textSpan: createTextSpanFromRange(def.reference),\n              sourceFile: def.file,\n              name: def.reference.fileName,\n              kind: \"string\",\n              displayParts: [displayPart(\n                `\"${def.reference.fileName}\"`,\n                8\n                /* stringLiteral */\n              )]\n            };\n          }\n          default:\n            return Debug2.assertNever(def);\n        }\n      })();\n      const { sourceFile, textSpan, name, kind, displayParts, context } = info;\n      return {\n        containerKind: \"\",\n        containerName: \"\",\n        fileName: sourceFile.fileName,\n        kind,\n        name,\n        textSpan,\n        displayParts,\n        ...toContextSpan(textSpan, sourceFile, context)\n      };\n    }\n    function getFileAndTextSpanFromNode(node) {\n      const sourceFile = node.getSourceFile();\n      return {\n        sourceFile,\n        textSpan: getTextSpan(isComputedPropertyName(node) ? node.expression : node, sourceFile)\n      };\n    }\n    function getDefinitionKindAndDisplayParts(symbol, checker, node) {\n      const meaning = Core.getIntersectingMeaningFromDeclarations(node, symbol);\n      const enclosingDeclaration = symbol.declarations && firstOrUndefined(symbol.declarations) || node;\n      const { displayParts, symbolKind } = ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(checker, symbol, enclosingDeclaration.getSourceFile(), enclosingDeclaration, enclosingDeclaration, meaning);\n      return { displayParts, kind: symbolKind };\n    }\n    function toRenameLocation(entry, originalNode, checker, providePrefixAndSuffixText) {\n      return { ...entryToDocumentSpan(entry), ...providePrefixAndSuffixText && getPrefixAndSuffixText(entry, originalNode, checker) };\n    }\n    function toReferencedSymbolEntry(entry, symbol) {\n      const referenceEntry = toReferenceEntry(entry);\n      if (!symbol)\n        return referenceEntry;\n      return {\n        ...referenceEntry,\n        isDefinition: entry.kind !== 0 && isDeclarationOfSymbol(entry.node, symbol)\n      };\n    }\n    function toReferenceEntry(entry) {\n      const documentSpan = entryToDocumentSpan(entry);\n      if (entry.kind === 0) {\n        return { ...documentSpan, isWriteAccess: false };\n      }\n      const { kind, node } = entry;\n      return {\n        ...documentSpan,\n        isWriteAccess: isWriteAccessForReference(node),\n        isInString: kind === 2 ? true : void 0\n      };\n    }\n    function entryToDocumentSpan(entry) {\n      if (entry.kind === 0) {\n        return { textSpan: entry.textSpan, fileName: entry.fileName };\n      } else {\n        const sourceFile = entry.node.getSourceFile();\n        const textSpan = getTextSpan(entry.node, sourceFile);\n        return {\n          textSpan,\n          fileName: sourceFile.fileName,\n          ...toContextSpan(textSpan, sourceFile, entry.context)\n        };\n      }\n    }\n    function getPrefixAndSuffixText(entry, originalNode, checker) {\n      if (entry.kind !== 0 && isIdentifier(originalNode)) {\n        const { node, kind } = entry;\n        const parent2 = node.parent;\n        const name = originalNode.text;\n        const isShorthandAssignment = isShorthandPropertyAssignment(parent2);\n        if (isShorthandAssignment || isObjectBindingElementWithoutPropertyName(parent2) && parent2.name === node && parent2.dotDotDotToken === void 0) {\n          const prefixColon = { prefixText: name + \": \" };\n          const suffixColon = { suffixText: \": \" + name };\n          if (kind === 3) {\n            return prefixColon;\n          }\n          if (kind === 4) {\n            return suffixColon;\n          }\n          if (isShorthandAssignment) {\n            const grandParent = parent2.parent;\n            if (isObjectLiteralExpression(grandParent) && isBinaryExpression(grandParent.parent) && isModuleExportsAccessExpression(grandParent.parent.left)) {\n              return prefixColon;\n            }\n            return suffixColon;\n          } else {\n            return prefixColon;\n          }\n        } else if (isImportSpecifier(parent2) && !parent2.propertyName) {\n          const originalSymbol = isExportSpecifier(originalNode.parent) ? checker.getExportSpecifierLocalTargetSymbol(originalNode.parent) : checker.getSymbolAtLocation(originalNode);\n          return contains(originalSymbol.declarations, parent2) ? { prefixText: name + \" as \" } : emptyOptions;\n        } else if (isExportSpecifier(parent2) && !parent2.propertyName) {\n          return originalNode === entry.node || checker.getSymbolAtLocation(originalNode) === checker.getSymbolAtLocation(entry.node) ? { prefixText: name + \" as \" } : { suffixText: \" as \" + name };\n        }\n      }\n      return emptyOptions;\n    }\n    function toImplementationLocation(entry, checker) {\n      const documentSpan = entryToDocumentSpan(entry);\n      if (entry.kind !== 0) {\n        const { node } = entry;\n        return {\n          ...documentSpan,\n          ...implementationKindDisplayParts(node, checker)\n        };\n      } else {\n        return { ...documentSpan, kind: \"\", displayParts: [] };\n      }\n    }\n    function implementationKindDisplayParts(node, checker) {\n      const symbol = checker.getSymbolAtLocation(isDeclaration(node) && node.name ? node.name : node);\n      if (symbol) {\n        return getDefinitionKindAndDisplayParts(symbol, checker, node);\n      } else if (node.kind === 207) {\n        return {\n          kind: \"interface\",\n          displayParts: [punctuationPart(\n            20\n            /* OpenParenToken */\n          ), textPart(\"object literal\"), punctuationPart(\n            21\n            /* CloseParenToken */\n          )]\n        };\n      } else if (node.kind === 228) {\n        return {\n          kind: \"local class\",\n          displayParts: [punctuationPart(\n            20\n            /* OpenParenToken */\n          ), textPart(\"anonymous local class\"), punctuationPart(\n            21\n            /* CloseParenToken */\n          )]\n        };\n      } else {\n        return { kind: getNodeKind(node), displayParts: [] };\n      }\n    }\n    function toHighlightSpan(entry) {\n      const documentSpan = entryToDocumentSpan(entry);\n      if (entry.kind === 0) {\n        return {\n          fileName: documentSpan.fileName,\n          span: {\n            textSpan: documentSpan.textSpan,\n            kind: \"reference\"\n            /* reference */\n          }\n        };\n      }\n      const writeAccess = isWriteAccessForReference(entry.node);\n      const span = {\n        textSpan: documentSpan.textSpan,\n        kind: writeAccess ? \"writtenReference\" : \"reference\",\n        isInString: entry.kind === 2 ? true : void 0,\n        ...documentSpan.contextSpan && { contextSpan: documentSpan.contextSpan }\n      };\n      return { fileName: documentSpan.fileName, span };\n    }\n    function getTextSpan(node, sourceFile, endNode2) {\n      let start = node.getStart(sourceFile);\n      let end = (endNode2 || node).getEnd();\n      if (isStringLiteralLike(node) && end - start > 2) {\n        Debug2.assert(endNode2 === void 0);\n        start += 1;\n        end -= 1;\n      }\n      return createTextSpanFromBounds(start, end);\n    }\n    function getTextSpanOfEntry(entry) {\n      return entry.kind === 0 ? entry.textSpan : getTextSpan(entry.node, entry.node.getSourceFile());\n    }\n    function isWriteAccessForReference(node) {\n      const decl = getDeclarationFromName(node);\n      return !!decl && declarationIsWriteAccess(decl) || node.kind === 88 || isWriteAccess(node);\n    }\n    function isDeclarationOfSymbol(node, target) {\n      var _a22;\n      if (!target)\n        return false;\n      const source = getDeclarationFromName(node) || (node.kind === 88 ? node.parent : isLiteralComputedPropertyDeclarationName(node) ? node.parent.parent : node.kind === 135 && isConstructorDeclaration(node.parent) ? node.parent.parent : void 0);\n      const commonjsSource = source && isBinaryExpression(source) ? source.left : void 0;\n      return !!(source && ((_a22 = target.declarations) == null ? void 0 : _a22.some((d) => d === source || d === commonjsSource)));\n    }\n    function declarationIsWriteAccess(decl) {\n      if (!!(decl.flags & 16777216))\n        return true;\n      switch (decl.kind) {\n        case 223:\n        case 205:\n        case 260:\n        case 228:\n        case 88:\n        case 263:\n        case 302:\n        case 278:\n        case 270:\n        case 268:\n        case 273:\n        case 261:\n        case 341:\n        case 349:\n        case 288:\n        case 264:\n        case 267:\n        case 271:\n        case 277:\n        case 166:\n        case 300:\n        case 262:\n        case 165:\n          return true;\n        case 299:\n          return !isArrayLiteralOrObjectLiteralDestructuringPattern(decl.parent);\n        case 259:\n        case 215:\n        case 173:\n        case 171:\n        case 174:\n        case 175:\n          return !!decl.body;\n        case 257:\n        case 169:\n          return !!decl.initializer || isCatchClause(decl.parent);\n        case 170:\n        case 168:\n        case 351:\n        case 344:\n          return false;\n        default:\n          return Debug2.failBadSyntaxKind(decl);\n      }\n    }\n    var DefinitionKind, EntryKind, FindReferencesUse, Core;\n    var init_findAllReferences = __esm({\n      \"src/services/findAllReferences.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_FindAllReferences();\n        DefinitionKind = /* @__PURE__ */ ((DefinitionKind2) => {\n          DefinitionKind2[DefinitionKind2[\"Symbol\"] = 0] = \"Symbol\";\n          DefinitionKind2[DefinitionKind2[\"Label\"] = 1] = \"Label\";\n          DefinitionKind2[DefinitionKind2[\"Keyword\"] = 2] = \"Keyword\";\n          DefinitionKind2[DefinitionKind2[\"This\"] = 3] = \"This\";\n          DefinitionKind2[DefinitionKind2[\"String\"] = 4] = \"String\";\n          DefinitionKind2[DefinitionKind2[\"TripleSlashReference\"] = 5] = \"TripleSlashReference\";\n          return DefinitionKind2;\n        })(DefinitionKind || {});\n        EntryKind = /* @__PURE__ */ ((EntryKind2) => {\n          EntryKind2[EntryKind2[\"Span\"] = 0] = \"Span\";\n          EntryKind2[EntryKind2[\"Node\"] = 1] = \"Node\";\n          EntryKind2[EntryKind2[\"StringLiteral\"] = 2] = \"StringLiteral\";\n          EntryKind2[EntryKind2[\"SearchedLocalFoundProperty\"] = 3] = \"SearchedLocalFoundProperty\";\n          EntryKind2[EntryKind2[\"SearchedPropertyFoundLocal\"] = 4] = \"SearchedPropertyFoundLocal\";\n          return EntryKind2;\n        })(EntryKind || {});\n        FindReferencesUse = /* @__PURE__ */ ((FindReferencesUse2) => {\n          FindReferencesUse2[FindReferencesUse2[\"Other\"] = 0] = \"Other\";\n          FindReferencesUse2[FindReferencesUse2[\"References\"] = 1] = \"References\";\n          FindReferencesUse2[FindReferencesUse2[\"Rename\"] = 2] = \"Rename\";\n          return FindReferencesUse2;\n        })(FindReferencesUse || {});\n        ((Core2) => {\n          function getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options = {}, sourceFilesSet = new Set(sourceFiles.map((f) => f.fileName))) {\n            var _a22, _b3, _c;\n            node = getAdjustedNode(node, options);\n            if (isSourceFile(node)) {\n              const resolvedRef = ts_GoToDefinition_exports.getReferenceAtPosition(node, position, program);\n              if (!(resolvedRef == null ? void 0 : resolvedRef.file)) {\n                return void 0;\n              }\n              const moduleSymbol = program.getTypeChecker().getMergedSymbol(resolvedRef.file.symbol);\n              if (moduleSymbol) {\n                return getReferencedSymbolsForModule(\n                  program,\n                  moduleSymbol,\n                  /*excludeImportTypeOfExportEquals*/\n                  false,\n                  sourceFiles,\n                  sourceFilesSet\n                );\n              }\n              const fileIncludeReasons = program.getFileIncludeReasons();\n              if (!fileIncludeReasons) {\n                return void 0;\n              }\n              return [{\n                definition: { type: 5, reference: resolvedRef.reference, file: node },\n                references: getReferencesForNonModule(resolvedRef.file, fileIncludeReasons, program) || emptyArray\n              }];\n            }\n            if (!options.implementations) {\n              const special = getReferencedSymbolsSpecial(node, sourceFiles, cancellationToken);\n              if (special) {\n                return special;\n              }\n            }\n            const checker = program.getTypeChecker();\n            const symbol = checker.getSymbolAtLocation(isConstructorDeclaration(node) && node.parent.name || node);\n            if (!symbol) {\n              if (!options.implementations && isStringLiteralLike(node)) {\n                if (isModuleSpecifierLike(node)) {\n                  const fileIncludeReasons = program.getFileIncludeReasons();\n                  const referencedFileName = (_c = (_b3 = (_a22 = node.getSourceFile().resolvedModules) == null ? void 0 : _a22.get(node.text, getModeForUsageLocation(node.getSourceFile(), node))) == null ? void 0 : _b3.resolvedModule) == null ? void 0 : _c.resolvedFileName;\n                  const referencedFile = referencedFileName ? program.getSourceFile(referencedFileName) : void 0;\n                  if (referencedFile) {\n                    return [{ definition: { type: 4, node }, references: getReferencesForNonModule(referencedFile, fileIncludeReasons, program) || emptyArray }];\n                  }\n                }\n                return getReferencesForStringLiteral(node, sourceFiles, checker, cancellationToken);\n              }\n              return void 0;\n            }\n            if (symbol.escapedName === \"export=\") {\n              return getReferencedSymbolsForModule(\n                program,\n                symbol.parent,\n                /*excludeImportTypeOfExportEquals*/\n                false,\n                sourceFiles,\n                sourceFilesSet\n              );\n            }\n            const moduleReferences = getReferencedSymbolsForModuleIfDeclaredBySourceFile(symbol, program, sourceFiles, cancellationToken, options, sourceFilesSet);\n            if (moduleReferences && !(symbol.flags & 33554432)) {\n              return moduleReferences;\n            }\n            const aliasedSymbol = getMergedAliasedSymbolOfNamespaceExportDeclaration(node, symbol, checker);\n            const moduleReferencesOfExportTarget = aliasedSymbol && getReferencedSymbolsForModuleIfDeclaredBySourceFile(aliasedSymbol, program, sourceFiles, cancellationToken, options, sourceFilesSet);\n            const references = getReferencedSymbolsForSymbol(symbol, node, sourceFiles, sourceFilesSet, checker, cancellationToken, options);\n            return mergeReferences(program, moduleReferences, references, moduleReferencesOfExportTarget);\n          }\n          Core2.getReferencedSymbolsForNode = getReferencedSymbolsForNode;\n          function getAdjustedNode(node, options) {\n            if (options.use === 1) {\n              node = getAdjustedReferenceLocation(node);\n            } else if (options.use === 2) {\n              node = getAdjustedRenameLocation(node);\n            }\n            return node;\n          }\n          Core2.getAdjustedNode = getAdjustedNode;\n          function getReferencesForFileName(fileName, program, sourceFiles, sourceFilesSet = new Set(sourceFiles.map((f) => f.fileName))) {\n            var _a22, _b3;\n            const moduleSymbol = (_a22 = program.getSourceFile(fileName)) == null ? void 0 : _a22.symbol;\n            if (moduleSymbol) {\n              return ((_b3 = getReferencedSymbolsForModule(\n                program,\n                moduleSymbol,\n                /*excludeImportTypeOfExportEquals*/\n                false,\n                sourceFiles,\n                sourceFilesSet\n              )[0]) == null ? void 0 : _b3.references) || emptyArray;\n            }\n            const fileIncludeReasons = program.getFileIncludeReasons();\n            const referencedFile = program.getSourceFile(fileName);\n            return referencedFile && fileIncludeReasons && getReferencesForNonModule(referencedFile, fileIncludeReasons, program) || emptyArray;\n          }\n          Core2.getReferencesForFileName = getReferencesForFileName;\n          function getReferencesForNonModule(referencedFile, refFileMap, program) {\n            let entries;\n            const references = refFileMap.get(referencedFile.path) || emptyArray;\n            for (const ref of references) {\n              if (isReferencedFile(ref)) {\n                const referencingFile = program.getSourceFileByPath(ref.file);\n                const location = getReferencedFileLocation(program.getSourceFileByPath, ref);\n                if (isReferenceFileLocation(location)) {\n                  entries = append(entries, {\n                    kind: 0,\n                    fileName: referencingFile.fileName,\n                    textSpan: createTextSpanFromRange(location)\n                  });\n                }\n              }\n            }\n            return entries;\n          }\n          function getMergedAliasedSymbolOfNamespaceExportDeclaration(node, symbol, checker) {\n            if (node.parent && isNamespaceExportDeclaration(node.parent)) {\n              const aliasedSymbol = checker.getAliasedSymbol(symbol);\n              const targetSymbol = checker.getMergedSymbol(aliasedSymbol);\n              if (aliasedSymbol !== targetSymbol) {\n                return targetSymbol;\n              }\n            }\n            return void 0;\n          }\n          function getReferencedSymbolsForModuleIfDeclaredBySourceFile(symbol, program, sourceFiles, cancellationToken, options, sourceFilesSet) {\n            const moduleSourceFile = symbol.flags & 1536 && symbol.declarations && find(symbol.declarations, isSourceFile);\n            if (!moduleSourceFile)\n              return void 0;\n            const exportEquals = symbol.exports.get(\n              \"export=\"\n              /* ExportEquals */\n            );\n            const moduleReferences = getReferencedSymbolsForModule(program, symbol, !!exportEquals, sourceFiles, sourceFilesSet);\n            if (!exportEquals || !sourceFilesSet.has(moduleSourceFile.fileName))\n              return moduleReferences;\n            const checker = program.getTypeChecker();\n            symbol = skipAlias(exportEquals, checker);\n            return mergeReferences(program, moduleReferences, getReferencedSymbolsForSymbol(\n              symbol,\n              /*node*/\n              void 0,\n              sourceFiles,\n              sourceFilesSet,\n              checker,\n              cancellationToken,\n              options\n            ));\n          }\n          function mergeReferences(program, ...referencesToMerge) {\n            let result;\n            for (const references of referencesToMerge) {\n              if (!references || !references.length)\n                continue;\n              if (!result) {\n                result = references;\n                continue;\n              }\n              for (const entry of references) {\n                if (!entry.definition || entry.definition.type !== 0) {\n                  result.push(entry);\n                  continue;\n                }\n                const symbol = entry.definition.symbol;\n                const refIndex = findIndex(result, (ref) => !!ref.definition && ref.definition.type === 0 && ref.definition.symbol === symbol);\n                if (refIndex === -1) {\n                  result.push(entry);\n                  continue;\n                }\n                const reference = result[refIndex];\n                result[refIndex] = {\n                  definition: reference.definition,\n                  references: reference.references.concat(entry.references).sort((entry1, entry2) => {\n                    const entry1File = getSourceFileIndexOfEntry(program, entry1);\n                    const entry2File = getSourceFileIndexOfEntry(program, entry2);\n                    if (entry1File !== entry2File) {\n                      return compareValues(entry1File, entry2File);\n                    }\n                    const entry1Span = getTextSpanOfEntry(entry1);\n                    const entry2Span = getTextSpanOfEntry(entry2);\n                    return entry1Span.start !== entry2Span.start ? compareValues(entry1Span.start, entry2Span.start) : compareValues(entry1Span.length, entry2Span.length);\n                  })\n                };\n              }\n            }\n            return result;\n          }\n          function getSourceFileIndexOfEntry(program, entry) {\n            const sourceFile = entry.kind === 0 ? program.getSourceFile(entry.fileName) : entry.node.getSourceFile();\n            return program.getSourceFiles().indexOf(sourceFile);\n          }\n          function getReferencedSymbolsForModule(program, symbol, excludeImportTypeOfExportEquals, sourceFiles, sourceFilesSet) {\n            Debug2.assert(!!symbol.valueDeclaration);\n            const references = mapDefined(findModuleReferences(program, sourceFiles, symbol), (reference) => {\n              if (reference.kind === \"import\") {\n                const parent2 = reference.literal.parent;\n                if (isLiteralTypeNode(parent2)) {\n                  const importType = cast(parent2.parent, isImportTypeNode);\n                  if (excludeImportTypeOfExportEquals && !importType.qualifier) {\n                    return void 0;\n                  }\n                }\n                return nodeEntry(reference.literal);\n              } else {\n                return {\n                  kind: 0,\n                  fileName: reference.referencingFile.fileName,\n                  textSpan: createTextSpanFromRange(reference.ref)\n                };\n              }\n            });\n            if (symbol.declarations) {\n              for (const decl of symbol.declarations) {\n                switch (decl.kind) {\n                  case 308:\n                    break;\n                  case 264:\n                    if (sourceFilesSet.has(decl.getSourceFile().fileName)) {\n                      references.push(nodeEntry(decl.name));\n                    }\n                    break;\n                  default:\n                    Debug2.assert(!!(symbol.flags & 33554432), \"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.\");\n                }\n              }\n            }\n            const exported = symbol.exports.get(\n              \"export=\"\n              /* ExportEquals */\n            );\n            if (exported == null ? void 0 : exported.declarations) {\n              for (const decl of exported.declarations) {\n                const sourceFile = decl.getSourceFile();\n                if (sourceFilesSet.has(sourceFile.fileName)) {\n                  const node = isBinaryExpression(decl) && isPropertyAccessExpression(decl.left) ? decl.left.expression : isExportAssignment(decl) ? Debug2.checkDefined(findChildOfKind(decl, 93, sourceFile)) : getNameOfDeclaration(decl) || decl;\n                  references.push(nodeEntry(node));\n                }\n              }\n            }\n            return references.length ? [{ definition: { type: 0, symbol }, references }] : emptyArray;\n          }\n          function isReadonlyTypeOperator(node) {\n            return node.kind === 146 && isTypeOperatorNode(node.parent) && node.parent.operator === 146;\n          }\n          function getReferencedSymbolsSpecial(node, sourceFiles, cancellationToken) {\n            if (isTypeKeyword(node.kind)) {\n              if (node.kind === 114 && isVoidExpression(node.parent)) {\n                return void 0;\n              }\n              if (node.kind === 146 && !isReadonlyTypeOperator(node)) {\n                return void 0;\n              }\n              return getAllReferencesForKeyword(\n                sourceFiles,\n                node.kind,\n                cancellationToken,\n                node.kind === 146 ? isReadonlyTypeOperator : void 0\n              );\n            }\n            if (isImportMeta(node.parent) && node.parent.name === node) {\n              return getAllReferencesForImportMeta(sourceFiles, cancellationToken);\n            }\n            if (isStaticModifier(node) && isClassStaticBlockDeclaration(node.parent)) {\n              return [{ definition: { type: 2, node }, references: [nodeEntry(node)] }];\n            }\n            if (isJumpStatementTarget(node)) {\n              const labelDefinition = getTargetLabel(node.parent, node.text);\n              return labelDefinition && getLabelReferencesInNode(labelDefinition.parent, labelDefinition);\n            } else if (isLabelOfLabeledStatement(node)) {\n              return getLabelReferencesInNode(node.parent, node);\n            }\n            if (isThis(node)) {\n              return getReferencesForThisKeyword(node, sourceFiles, cancellationToken);\n            }\n            if (node.kind === 106) {\n              return getReferencesForSuperKeyword(node);\n            }\n            return void 0;\n          }\n          function getReferencedSymbolsForSymbol(originalSymbol, node, sourceFiles, sourceFilesSet, checker, cancellationToken, options) {\n            const symbol = node && skipPastExportOrImportSpecifierOrUnion(\n              originalSymbol,\n              node,\n              checker,\n              /*useLocalSymbolForExportSpecifier*/\n              !isForRenameWithPrefixAndSuffixText(options)\n            ) || originalSymbol;\n            const searchMeaning = node ? getIntersectingMeaningFromDeclarations(node, symbol) : 7;\n            const result = [];\n            const state = new State(sourceFiles, sourceFilesSet, node ? getSpecialSearchKind(node) : 0, checker, cancellationToken, searchMeaning, options, result);\n            const exportSpecifier = !isForRenameWithPrefixAndSuffixText(options) || !symbol.declarations ? void 0 : find(symbol.declarations, isExportSpecifier);\n            if (exportSpecifier) {\n              getReferencesAtExportSpecifier(\n                exportSpecifier.name,\n                symbol,\n                exportSpecifier,\n                state.createSearch(\n                  node,\n                  originalSymbol,\n                  /*comingFrom*/\n                  void 0\n                ),\n                state,\n                /*addReferencesHere*/\n                true,\n                /*alwaysGetReferences*/\n                true\n              );\n            } else if (node && node.kind === 88 && symbol.escapedName === \"default\" && symbol.parent) {\n              addReference(node, symbol, state);\n              searchForImportsOfExport(node, symbol, {\n                exportingModuleSymbol: symbol.parent,\n                exportKind: 1\n                /* Default */\n              }, state);\n            } else {\n              const search = state.createSearch(\n                node,\n                symbol,\n                /*comingFrom*/\n                void 0,\n                { allSearchSymbols: node ? populateSearchSymbolSet(symbol, node, checker, options.use === 2, !!options.providePrefixAndSuffixTextForRename, !!options.implementations) : [symbol] }\n              );\n              getReferencesInContainerOrFiles(symbol, state, search);\n            }\n            return result;\n          }\n          function getReferencesInContainerOrFiles(symbol, state, search) {\n            const scope = getSymbolScope(symbol);\n            if (scope) {\n              getReferencesInContainer(\n                scope,\n                scope.getSourceFile(),\n                search,\n                state,\n                /*addReferencesHere*/\n                !(isSourceFile(scope) && !contains(state.sourceFiles, scope))\n              );\n            } else {\n              for (const sourceFile of state.sourceFiles) {\n                state.cancellationToken.throwIfCancellationRequested();\n                searchForName(sourceFile, search, state);\n              }\n            }\n          }\n          function getSpecialSearchKind(node) {\n            switch (node.kind) {\n              case 173:\n              case 135:\n                return 1;\n              case 79:\n                if (isClassLike(node.parent)) {\n                  Debug2.assert(node.parent.name === node);\n                  return 2;\n                }\n              default:\n                return 0;\n            }\n          }\n          function skipPastExportOrImportSpecifierOrUnion(symbol, node, checker, useLocalSymbolForExportSpecifier) {\n            const { parent: parent2 } = node;\n            if (isExportSpecifier(parent2) && useLocalSymbolForExportSpecifier) {\n              return getLocalSymbolForExportSpecifier(node, symbol, parent2, checker);\n            }\n            return firstDefined(symbol.declarations, (decl) => {\n              if (!decl.parent) {\n                if (symbol.flags & 33554432)\n                  return void 0;\n                Debug2.fail(`Unexpected symbol at ${Debug2.formatSyntaxKind(node.kind)}: ${Debug2.formatSymbol(symbol)}`);\n              }\n              return isTypeLiteralNode(decl.parent) && isUnionTypeNode(decl.parent.parent) ? checker.getPropertyOfType(checker.getTypeFromTypeNode(decl.parent.parent), symbol.name) : void 0;\n            });\n          }\n          let SpecialSearchKind;\n          ((SpecialSearchKind2) => {\n            SpecialSearchKind2[SpecialSearchKind2[\"None\"] = 0] = \"None\";\n            SpecialSearchKind2[SpecialSearchKind2[\"Constructor\"] = 1] = \"Constructor\";\n            SpecialSearchKind2[SpecialSearchKind2[\"Class\"] = 2] = \"Class\";\n          })(SpecialSearchKind || (SpecialSearchKind = {}));\n          function getNonModuleSymbolOfMergedModuleSymbol(symbol) {\n            if (!(symbol.flags & (1536 | 33554432)))\n              return void 0;\n            const decl = symbol.declarations && find(symbol.declarations, (d) => !isSourceFile(d) && !isModuleDeclaration(d));\n            return decl && decl.symbol;\n          }\n          class State {\n            constructor(sourceFiles, sourceFilesSet, specialSearchKind, checker, cancellationToken, searchMeaning, options, result) {\n              this.sourceFiles = sourceFiles;\n              this.sourceFilesSet = sourceFilesSet;\n              this.specialSearchKind = specialSearchKind;\n              this.checker = checker;\n              this.cancellationToken = cancellationToken;\n              this.searchMeaning = searchMeaning;\n              this.options = options;\n              this.result = result;\n              this.inheritsFromCache = /* @__PURE__ */ new Map();\n              this.markSeenContainingTypeReference = nodeSeenTracker();\n              this.markSeenReExportRHS = nodeSeenTracker();\n              this.symbolIdToReferences = [];\n              this.sourceFileToSeenSymbols = [];\n            }\n            includesSourceFile(sourceFile) {\n              return this.sourceFilesSet.has(sourceFile.fileName);\n            }\n            /** Gets every place to look for references of an exported symbols. See `ImportsResult` in `importTracker.ts` for more documentation. */\n            getImportSearches(exportSymbol, exportInfo) {\n              if (!this.importTracker)\n                this.importTracker = createImportTracker(this.sourceFiles, this.sourceFilesSet, this.checker, this.cancellationToken);\n              return this.importTracker(\n                exportSymbol,\n                exportInfo,\n                this.options.use === 2\n                /* Rename */\n              );\n            }\n            /** @param allSearchSymbols set of additional symbols for use by `includes`. */\n            createSearch(location, symbol, comingFrom, searchOptions = {}) {\n              const {\n                text = stripQuotes(symbolName(getLocalSymbolForExportDefault(symbol) || getNonModuleSymbolOfMergedModuleSymbol(symbol) || symbol)),\n                allSearchSymbols = [symbol]\n              } = searchOptions;\n              const escapedText = escapeLeadingUnderscores(text);\n              const parents = this.options.implementations && location ? getParentSymbolsOfPropertyAccess(location, symbol, this.checker) : void 0;\n              return { symbol, comingFrom, text, escapedText, parents, allSearchSymbols, includes: (sym) => contains(allSearchSymbols, sym) };\n            }\n            /**\n             * Callback to add references for a particular searched symbol.\n             * This initializes a reference group, so only call this if you will add at least one reference.\n             */\n            referenceAdder(searchSymbol) {\n              const symbolId = getSymbolId(searchSymbol);\n              let references = this.symbolIdToReferences[symbolId];\n              if (!references) {\n                references = this.symbolIdToReferences[symbolId] = [];\n                this.result.push({ definition: { type: 0, symbol: searchSymbol }, references });\n              }\n              return (node, kind) => references.push(nodeEntry(node, kind));\n            }\n            /** Add a reference with no associated definition. */\n            addStringOrCommentReference(fileName, textSpan) {\n              this.result.push({\n                definition: void 0,\n                references: [{ kind: 0, fileName, textSpan }]\n              });\n            }\n            /** Returns `true` the first time we search for a symbol in a file and `false` afterwards. */\n            markSearchedSymbols(sourceFile, symbols) {\n              const sourceId = getNodeId(sourceFile);\n              const seenSymbols = this.sourceFileToSeenSymbols[sourceId] || (this.sourceFileToSeenSymbols[sourceId] = /* @__PURE__ */ new Set());\n              let anyNewSymbols = false;\n              for (const sym of symbols) {\n                anyNewSymbols = tryAddToSet(seenSymbols, getSymbolId(sym)) || anyNewSymbols;\n              }\n              return anyNewSymbols;\n            }\n          }\n          function searchForImportsOfExport(exportLocation, exportSymbol, exportInfo, state) {\n            const { importSearches, singleReferences, indirectUsers } = state.getImportSearches(exportSymbol, exportInfo);\n            if (singleReferences.length) {\n              const addRef = state.referenceAdder(exportSymbol);\n              for (const singleRef of singleReferences) {\n                if (shouldAddSingleReference(singleRef, state))\n                  addRef(singleRef);\n              }\n            }\n            for (const [importLocation, importSymbol] of importSearches) {\n              getReferencesInSourceFile(importLocation.getSourceFile(), state.createSearch(\n                importLocation,\n                importSymbol,\n                1\n                /* Export */\n              ), state);\n            }\n            if (indirectUsers.length) {\n              let indirectSearch;\n              switch (exportInfo.exportKind) {\n                case 0:\n                  indirectSearch = state.createSearch(\n                    exportLocation,\n                    exportSymbol,\n                    1\n                    /* Export */\n                  );\n                  break;\n                case 1:\n                  indirectSearch = state.options.use === 2 ? void 0 : state.createSearch(exportLocation, exportSymbol, 1, { text: \"default\" });\n                  break;\n                case 2:\n                  break;\n              }\n              if (indirectSearch) {\n                for (const indirectUser of indirectUsers) {\n                  searchForName(indirectUser, indirectSearch, state);\n                }\n              }\n            }\n          }\n          function eachExportReference(sourceFiles, checker, cancellationToken, exportSymbol, exportingModuleSymbol, exportName, isDefaultExport, cb) {\n            const importTracker = createImportTracker(sourceFiles, new Set(sourceFiles.map((f) => f.fileName)), checker, cancellationToken);\n            const { importSearches, indirectUsers, singleReferences } = importTracker(\n              exportSymbol,\n              { exportKind: isDefaultExport ? 1 : 0, exportingModuleSymbol },\n              /*isForRename*/\n              false\n            );\n            for (const [importLocation] of importSearches) {\n              cb(importLocation);\n            }\n            for (const singleReference of singleReferences) {\n              if (isIdentifier(singleReference) && isImportTypeNode(singleReference.parent)) {\n                cb(singleReference);\n              }\n            }\n            for (const indirectUser of indirectUsers) {\n              for (const node of getPossibleSymbolReferenceNodes(indirectUser, isDefaultExport ? \"default\" : exportName)) {\n                const symbol = checker.getSymbolAtLocation(node);\n                const hasExportAssignmentDeclaration = some(symbol == null ? void 0 : symbol.declarations, (d) => tryCast(d, isExportAssignment) ? true : false);\n                if (isIdentifier(node) && !isImportOrExportSpecifier(node.parent) && (symbol === exportSymbol || hasExportAssignmentDeclaration)) {\n                  cb(node);\n                }\n              }\n            }\n          }\n          Core2.eachExportReference = eachExportReference;\n          function shouldAddSingleReference(singleRef, state) {\n            if (!hasMatchingMeaning(singleRef, state))\n              return false;\n            if (state.options.use !== 2)\n              return true;\n            if (!isIdentifier(singleRef))\n              return false;\n            return !(isImportOrExportSpecifier(singleRef.parent) && singleRef.escapedText === \"default\");\n          }\n          function searchForImportedSymbol(symbol, state) {\n            if (!symbol.declarations)\n              return;\n            for (const declaration of symbol.declarations) {\n              const exportingFile = declaration.getSourceFile();\n              getReferencesInSourceFile(exportingFile, state.createSearch(\n                declaration,\n                symbol,\n                0\n                /* Import */\n              ), state, state.includesSourceFile(exportingFile));\n            }\n          }\n          function searchForName(sourceFile, search, state) {\n            if (getNameTable(sourceFile).get(search.escapedText) !== void 0) {\n              getReferencesInSourceFile(sourceFile, search, state);\n            }\n          }\n          function getPropertySymbolOfDestructuringAssignment(location, checker) {\n            return isArrayLiteralOrObjectLiteralDestructuringPattern(location.parent.parent) ? checker.getPropertySymbolOfDestructuringAssignment(location) : void 0;\n          }\n          function getSymbolScope(symbol) {\n            const { declarations, flags, parent: parent2, valueDeclaration } = symbol;\n            if (valueDeclaration && (valueDeclaration.kind === 215 || valueDeclaration.kind === 228)) {\n              return valueDeclaration;\n            }\n            if (!declarations) {\n              return void 0;\n            }\n            if (flags & (4 | 8192)) {\n              const privateDeclaration = find(declarations, (d) => hasEffectiveModifier(\n                d,\n                8\n                /* Private */\n              ) || isPrivateIdentifierClassElementDeclaration(d));\n              if (privateDeclaration) {\n                return getAncestor(\n                  privateDeclaration,\n                  260\n                  /* ClassDeclaration */\n                );\n              }\n              return void 0;\n            }\n            if (declarations.some(isObjectBindingElementWithoutPropertyName)) {\n              return void 0;\n            }\n            const exposedByParent = parent2 && !(symbol.flags & 262144);\n            if (exposedByParent && !(isExternalModuleSymbol(parent2) && !parent2.globalExports)) {\n              return void 0;\n            }\n            let scope;\n            for (const declaration of declarations) {\n              const container = getContainerNode(declaration);\n              if (scope && scope !== container) {\n                return void 0;\n              }\n              if (!container || container.kind === 308 && !isExternalOrCommonJsModule(container)) {\n                return void 0;\n              }\n              scope = container;\n              if (isFunctionExpression(scope)) {\n                let next;\n                while (next = getNextJSDocCommentLocation(scope)) {\n                  scope = next;\n                }\n              }\n            }\n            return exposedByParent ? scope.getSourceFile() : scope;\n          }\n          function isSymbolReferencedInFile(definition, checker, sourceFile, searchContainer = sourceFile) {\n            return eachSymbolReferenceInFile(definition, checker, sourceFile, () => true, searchContainer) || false;\n          }\n          Core2.isSymbolReferencedInFile = isSymbolReferencedInFile;\n          function eachSymbolReferenceInFile(definition, checker, sourceFile, cb, searchContainer = sourceFile) {\n            const symbol = isParameterPropertyDeclaration(definition.parent, definition.parent.parent) ? first(checker.getSymbolsOfParameterPropertyDeclaration(definition.parent, definition.text)) : checker.getSymbolAtLocation(definition);\n            if (!symbol)\n              return void 0;\n            for (const token of getPossibleSymbolReferenceNodes(sourceFile, symbol.name, searchContainer)) {\n              if (!isIdentifier(token) || token === definition || token.escapedText !== definition.escapedText)\n                continue;\n              const referenceSymbol = checker.getSymbolAtLocation(token);\n              if (referenceSymbol === symbol || checker.getShorthandAssignmentValueSymbol(token.parent) === symbol || isExportSpecifier(token.parent) && getLocalSymbolForExportSpecifier(token, referenceSymbol, token.parent, checker) === symbol) {\n                const res = cb(token);\n                if (res)\n                  return res;\n              }\n            }\n          }\n          Core2.eachSymbolReferenceInFile = eachSymbolReferenceInFile;\n          function getTopMostDeclarationNamesInFile(declarationName, sourceFile) {\n            const candidates = filter(getPossibleSymbolReferenceNodes(sourceFile, declarationName), (name) => !!getDeclarationFromName(name));\n            return candidates.reduce((topMost, decl) => {\n              const depth = getDepth(decl);\n              if (!some(topMost.declarationNames) || depth === topMost.depth) {\n                topMost.declarationNames.push(decl);\n                topMost.depth = depth;\n              } else if (depth < topMost.depth) {\n                topMost.declarationNames = [decl];\n                topMost.depth = depth;\n              }\n              return topMost;\n            }, { depth: Infinity, declarationNames: [] }).declarationNames;\n            function getDepth(declaration) {\n              let depth = 0;\n              while (declaration) {\n                declaration = getContainerNode(declaration);\n                depth++;\n              }\n              return depth;\n            }\n          }\n          Core2.getTopMostDeclarationNamesInFile = getTopMostDeclarationNamesInFile;\n          function someSignatureUsage(signature, sourceFiles, checker, cb) {\n            if (!signature.name || !isIdentifier(signature.name))\n              return false;\n            const symbol = Debug2.checkDefined(checker.getSymbolAtLocation(signature.name));\n            for (const sourceFile of sourceFiles) {\n              for (const name of getPossibleSymbolReferenceNodes(sourceFile, symbol.name)) {\n                if (!isIdentifier(name) || name === signature.name || name.escapedText !== signature.name.escapedText)\n                  continue;\n                const called = climbPastPropertyAccess(name);\n                const call = isCallExpression(called.parent) && called.parent.expression === called ? called.parent : void 0;\n                const referenceSymbol = checker.getSymbolAtLocation(name);\n                if (referenceSymbol && checker.getRootSymbols(referenceSymbol).some((s) => s === symbol)) {\n                  if (cb(name, call)) {\n                    return true;\n                  }\n                }\n              }\n            }\n            return false;\n          }\n          Core2.someSignatureUsage = someSignatureUsage;\n          function getPossibleSymbolReferenceNodes(sourceFile, symbolName2, container = sourceFile) {\n            return getPossibleSymbolReferencePositions(sourceFile, symbolName2, container).map((pos) => getTouchingPropertyName(sourceFile, pos));\n          }\n          function getPossibleSymbolReferencePositions(sourceFile, symbolName2, container = sourceFile) {\n            const positions = [];\n            if (!symbolName2 || !symbolName2.length) {\n              return positions;\n            }\n            const text = sourceFile.text;\n            const sourceLength = text.length;\n            const symbolNameLength = symbolName2.length;\n            let position = text.indexOf(symbolName2, container.pos);\n            while (position >= 0) {\n              if (position > container.end)\n                break;\n              const endPosition = position + symbolNameLength;\n              if ((position === 0 || !isIdentifierPart(\n                text.charCodeAt(position - 1),\n                99\n                /* Latest */\n              )) && (endPosition === sourceLength || !isIdentifierPart(\n                text.charCodeAt(endPosition),\n                99\n                /* Latest */\n              ))) {\n                positions.push(position);\n              }\n              position = text.indexOf(symbolName2, position + symbolNameLength + 1);\n            }\n            return positions;\n          }\n          function getLabelReferencesInNode(container, targetLabel) {\n            const sourceFile = container.getSourceFile();\n            const labelName = targetLabel.text;\n            const references = mapDefined(getPossibleSymbolReferenceNodes(sourceFile, labelName, container), (node) => (\n              // Only pick labels that are either the target label, or have a target that is the target label\n              node === targetLabel || isJumpStatementTarget(node) && getTargetLabel(node, labelName) === targetLabel ? nodeEntry(node) : void 0\n            ));\n            return [{ definition: { type: 1, node: targetLabel }, references }];\n          }\n          function isValidReferencePosition(node, searchSymbolName) {\n            switch (node.kind) {\n              case 80:\n                if (isJSDocMemberName(node.parent)) {\n                  return true;\n                }\n              case 79:\n                return node.text.length === searchSymbolName.length;\n              case 14:\n              case 10: {\n                const str = node;\n                return (isLiteralNameOfPropertyDeclarationOrIndexAccess(str) || isNameOfModuleDeclaration(node) || isExpressionOfExternalModuleImportEqualsDeclaration(node) || isCallExpression(node.parent) && isBindableObjectDefinePropertyCall(node.parent) && node.parent.arguments[1] === node) && str.text.length === searchSymbolName.length;\n              }\n              case 8:\n                return isLiteralNameOfPropertyDeclarationOrIndexAccess(node) && node.text.length === searchSymbolName.length;\n              case 88:\n                return \"default\".length === searchSymbolName.length;\n              default:\n                return false;\n            }\n          }\n          function getAllReferencesForImportMeta(sourceFiles, cancellationToken) {\n            const references = flatMap(sourceFiles, (sourceFile) => {\n              cancellationToken.throwIfCancellationRequested();\n              return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, \"meta\", sourceFile), (node) => {\n                const parent2 = node.parent;\n                if (isImportMeta(parent2)) {\n                  return nodeEntry(parent2);\n                }\n              });\n            });\n            return references.length ? [{ definition: { type: 2, node: references[0].node }, references }] : void 0;\n          }\n          function getAllReferencesForKeyword(sourceFiles, keywordKind, cancellationToken, filter2) {\n            const references = flatMap(sourceFiles, (sourceFile) => {\n              cancellationToken.throwIfCancellationRequested();\n              return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, tokenToString(keywordKind), sourceFile), (referenceLocation) => {\n                if (referenceLocation.kind === keywordKind && (!filter2 || filter2(referenceLocation))) {\n                  return nodeEntry(referenceLocation);\n                }\n              });\n            });\n            return references.length ? [{ definition: { type: 2, node: references[0].node }, references }] : void 0;\n          }\n          function getReferencesInSourceFile(sourceFile, search, state, addReferencesHere = true) {\n            state.cancellationToken.throwIfCancellationRequested();\n            return getReferencesInContainer(sourceFile, sourceFile, search, state, addReferencesHere);\n          }\n          function getReferencesInContainer(container, sourceFile, search, state, addReferencesHere) {\n            if (!state.markSearchedSymbols(sourceFile, search.allSearchSymbols)) {\n              return;\n            }\n            for (const position of getPossibleSymbolReferencePositions(sourceFile, search.text, container)) {\n              getReferencesAtLocation(sourceFile, position, search, state, addReferencesHere);\n            }\n          }\n          function hasMatchingMeaning(referenceLocation, state) {\n            return !!(getMeaningFromLocation(referenceLocation) & state.searchMeaning);\n          }\n          function getReferencesAtLocation(sourceFile, position, search, state, addReferencesHere) {\n            const referenceLocation = getTouchingPropertyName(sourceFile, position);\n            if (!isValidReferencePosition(referenceLocation, search.text)) {\n              if (!state.options.implementations && (state.options.findInStrings && isInString(sourceFile, position) || state.options.findInComments && isInNonReferenceComment(sourceFile, position))) {\n                state.addStringOrCommentReference(sourceFile.fileName, createTextSpan(position, search.text.length));\n              }\n              return;\n            }\n            if (!hasMatchingMeaning(referenceLocation, state))\n              return;\n            let referenceSymbol = state.checker.getSymbolAtLocation(referenceLocation);\n            if (!referenceSymbol) {\n              return;\n            }\n            const parent2 = referenceLocation.parent;\n            if (isImportSpecifier(parent2) && parent2.propertyName === referenceLocation) {\n              return;\n            }\n            if (isExportSpecifier(parent2)) {\n              Debug2.assert(\n                referenceLocation.kind === 79\n                /* Identifier */\n              );\n              getReferencesAtExportSpecifier(referenceLocation, referenceSymbol, parent2, search, state, addReferencesHere);\n              return;\n            }\n            const relatedSymbol = getRelatedSymbol(search, referenceSymbol, referenceLocation, state);\n            if (!relatedSymbol) {\n              getReferenceForShorthandProperty(referenceSymbol, search, state);\n              return;\n            }\n            switch (state.specialSearchKind) {\n              case 0:\n                if (addReferencesHere)\n                  addReference(referenceLocation, relatedSymbol, state);\n                break;\n              case 1:\n                addConstructorReferences(referenceLocation, sourceFile, search, state);\n                break;\n              case 2:\n                addClassStaticThisReferences(referenceLocation, search, state);\n                break;\n              default:\n                Debug2.assertNever(state.specialSearchKind);\n            }\n            if (isInJSFile(referenceLocation) && isBindingElement(referenceLocation.parent) && isVariableDeclarationInitializedToBareOrAccessedRequire(referenceLocation.parent.parent.parent)) {\n              referenceSymbol = referenceLocation.parent.symbol;\n              if (!referenceSymbol)\n                return;\n            }\n            getImportOrExportReferences(referenceLocation, referenceSymbol, search, state);\n          }\n          function getReferencesAtExportSpecifier(referenceLocation, referenceSymbol, exportSpecifier, search, state, addReferencesHere, alwaysGetReferences) {\n            Debug2.assert(!alwaysGetReferences || !!state.options.providePrefixAndSuffixTextForRename, \"If alwaysGetReferences is true, then prefix/suffix text must be enabled\");\n            const { parent: parent2, propertyName, name } = exportSpecifier;\n            const exportDeclaration = parent2.parent;\n            const localSymbol = getLocalSymbolForExportSpecifier(referenceLocation, referenceSymbol, exportSpecifier, state.checker);\n            if (!alwaysGetReferences && !search.includes(localSymbol)) {\n              return;\n            }\n            if (!propertyName) {\n              if (!(state.options.use === 2 && name.escapedText === \"default\")) {\n                addRef();\n              }\n            } else if (referenceLocation === propertyName) {\n              if (!exportDeclaration.moduleSpecifier) {\n                addRef();\n              }\n              if (addReferencesHere && state.options.use !== 2 && state.markSeenReExportRHS(name)) {\n                addReference(name, Debug2.checkDefined(exportSpecifier.symbol), state);\n              }\n            } else {\n              if (state.markSeenReExportRHS(referenceLocation)) {\n                addRef();\n              }\n            }\n            if (!isForRenameWithPrefixAndSuffixText(state.options) || alwaysGetReferences) {\n              const isDefaultExport = referenceLocation.escapedText === \"default\" || exportSpecifier.name.escapedText === \"default\";\n              const exportKind = isDefaultExport ? 1 : 0;\n              const exportSymbol = Debug2.checkDefined(exportSpecifier.symbol);\n              const exportInfo = getExportInfo(exportSymbol, exportKind, state.checker);\n              if (exportInfo) {\n                searchForImportsOfExport(referenceLocation, exportSymbol, exportInfo, state);\n              }\n            }\n            if (search.comingFrom !== 1 && exportDeclaration.moduleSpecifier && !propertyName && !isForRenameWithPrefixAndSuffixText(state.options)) {\n              const imported = state.checker.getExportSpecifierLocalTargetSymbol(exportSpecifier);\n              if (imported)\n                searchForImportedSymbol(imported, state);\n            }\n            function addRef() {\n              if (addReferencesHere)\n                addReference(referenceLocation, localSymbol, state);\n            }\n          }\n          function getLocalSymbolForExportSpecifier(referenceLocation, referenceSymbol, exportSpecifier, checker) {\n            return isExportSpecifierAlias(referenceLocation, exportSpecifier) && checker.getExportSpecifierLocalTargetSymbol(exportSpecifier) || referenceSymbol;\n          }\n          function isExportSpecifierAlias(referenceLocation, exportSpecifier) {\n            const { parent: parent2, propertyName, name } = exportSpecifier;\n            Debug2.assert(propertyName === referenceLocation || name === referenceLocation);\n            if (propertyName) {\n              return propertyName === referenceLocation;\n            } else {\n              return !parent2.parent.moduleSpecifier;\n            }\n          }\n          function getImportOrExportReferences(referenceLocation, referenceSymbol, search, state) {\n            const importOrExport = getImportOrExportSymbol(\n              referenceLocation,\n              referenceSymbol,\n              state.checker,\n              search.comingFrom === 1\n              /* Export */\n            );\n            if (!importOrExport)\n              return;\n            const { symbol } = importOrExport;\n            if (importOrExport.kind === 0) {\n              if (!isForRenameWithPrefixAndSuffixText(state.options)) {\n                searchForImportedSymbol(symbol, state);\n              }\n            } else {\n              searchForImportsOfExport(referenceLocation, symbol, importOrExport.exportInfo, state);\n            }\n          }\n          function getReferenceForShorthandProperty({ flags, valueDeclaration }, search, state) {\n            const shorthandValueSymbol = state.checker.getShorthandAssignmentValueSymbol(valueDeclaration);\n            const name = valueDeclaration && getNameOfDeclaration(valueDeclaration);\n            if (!(flags & 33554432) && name && search.includes(shorthandValueSymbol)) {\n              addReference(name, shorthandValueSymbol, state);\n            }\n          }\n          function addReference(referenceLocation, relatedSymbol, state) {\n            const { kind, symbol } = \"kind\" in relatedSymbol ? relatedSymbol : { kind: void 0, symbol: relatedSymbol };\n            if (state.options.use === 2 && referenceLocation.kind === 88) {\n              return;\n            }\n            const addRef = state.referenceAdder(symbol);\n            if (state.options.implementations) {\n              addImplementationReferences(referenceLocation, addRef, state);\n            } else {\n              addRef(referenceLocation, kind);\n            }\n          }\n          function addConstructorReferences(referenceLocation, sourceFile, search, state) {\n            if (isNewExpressionTarget(referenceLocation)) {\n              addReference(referenceLocation, search.symbol, state);\n            }\n            const pusher = () => state.referenceAdder(search.symbol);\n            if (isClassLike(referenceLocation.parent)) {\n              Debug2.assert(referenceLocation.kind === 88 || referenceLocation.parent.name === referenceLocation);\n              findOwnConstructorReferences(search.symbol, sourceFile, pusher());\n            } else {\n              const classExtending = tryGetClassByExtendingIdentifier(referenceLocation);\n              if (classExtending) {\n                findSuperConstructorAccesses(classExtending, pusher());\n                findInheritedConstructorReferences(classExtending, state);\n              }\n            }\n          }\n          function addClassStaticThisReferences(referenceLocation, search, state) {\n            addReference(referenceLocation, search.symbol, state);\n            const classLike = referenceLocation.parent;\n            if (state.options.use === 2 || !isClassLike(classLike))\n              return;\n            Debug2.assert(classLike.name === referenceLocation);\n            const addRef = state.referenceAdder(search.symbol);\n            for (const member of classLike.members) {\n              if (!(isMethodOrAccessor(member) && isStatic(member))) {\n                continue;\n              }\n              if (member.body) {\n                member.body.forEachChild(function cb(node) {\n                  if (node.kind === 108) {\n                    addRef(node);\n                  } else if (!isFunctionLike(node) && !isClassLike(node)) {\n                    node.forEachChild(cb);\n                  }\n                });\n              }\n            }\n          }\n          function findOwnConstructorReferences(classSymbol, sourceFile, addNode) {\n            const constructorSymbol = getClassConstructorSymbol(classSymbol);\n            if (constructorSymbol && constructorSymbol.declarations) {\n              for (const decl of constructorSymbol.declarations) {\n                const ctrKeyword = findChildOfKind(decl, 135, sourceFile);\n                Debug2.assert(decl.kind === 173 && !!ctrKeyword);\n                addNode(ctrKeyword);\n              }\n            }\n            if (classSymbol.exports) {\n              classSymbol.exports.forEach((member) => {\n                const decl = member.valueDeclaration;\n                if (decl && decl.kind === 171) {\n                  const body = decl.body;\n                  if (body) {\n                    forEachDescendantOfKind(body, 108, (thisKeyword) => {\n                      if (isNewExpressionTarget(thisKeyword)) {\n                        addNode(thisKeyword);\n                      }\n                    });\n                  }\n                }\n              });\n            }\n          }\n          function getClassConstructorSymbol(classSymbol) {\n            return classSymbol.members && classSymbol.members.get(\n              \"__constructor\"\n              /* Constructor */\n            );\n          }\n          function findSuperConstructorAccesses(classDeclaration, addNode) {\n            const constructor = getClassConstructorSymbol(classDeclaration.symbol);\n            if (!(constructor && constructor.declarations)) {\n              return;\n            }\n            for (const decl of constructor.declarations) {\n              Debug2.assert(\n                decl.kind === 173\n                /* Constructor */\n              );\n              const body = decl.body;\n              if (body) {\n                forEachDescendantOfKind(body, 106, (node) => {\n                  if (isCallExpressionTarget(node)) {\n                    addNode(node);\n                  }\n                });\n              }\n            }\n          }\n          function hasOwnConstructor(classDeclaration) {\n            return !!getClassConstructorSymbol(classDeclaration.symbol);\n          }\n          function findInheritedConstructorReferences(classDeclaration, state) {\n            if (hasOwnConstructor(classDeclaration))\n              return;\n            const classSymbol = classDeclaration.symbol;\n            const search = state.createSearch(\n              /*location*/\n              void 0,\n              classSymbol,\n              /*comingFrom*/\n              void 0\n            );\n            getReferencesInContainerOrFiles(classSymbol, state, search);\n          }\n          function addImplementationReferences(refNode, addReference2, state) {\n            if (isDeclarationName(refNode) && isImplementation(refNode.parent)) {\n              addReference2(refNode);\n              return;\n            }\n            if (refNode.kind !== 79) {\n              return;\n            }\n            if (refNode.parent.kind === 300) {\n              getReferenceEntriesForShorthandPropertyAssignment(refNode, state.checker, addReference2);\n            }\n            const containingClass = getContainingClassIfInHeritageClause(refNode);\n            if (containingClass) {\n              addReference2(containingClass);\n              return;\n            }\n            const typeNode = findAncestor(refNode, (a) => !isQualifiedName(a.parent) && !isTypeNode(a.parent) && !isTypeElement(a.parent));\n            const typeHavingNode = typeNode.parent;\n            if (hasType(typeHavingNode) && typeHavingNode.type === typeNode && state.markSeenContainingTypeReference(typeHavingNode)) {\n              if (hasInitializer(typeHavingNode)) {\n                addIfImplementation(typeHavingNode.initializer);\n              } else if (isFunctionLike(typeHavingNode) && typeHavingNode.body) {\n                const body = typeHavingNode.body;\n                if (body.kind === 238) {\n                  forEachReturnStatement(body, (returnStatement) => {\n                    if (returnStatement.expression)\n                      addIfImplementation(returnStatement.expression);\n                  });\n                } else {\n                  addIfImplementation(body);\n                }\n              } else if (isAssertionExpression(typeHavingNode)) {\n                addIfImplementation(typeHavingNode.expression);\n              }\n            }\n            function addIfImplementation(e) {\n              if (isImplementationExpression(e))\n                addReference2(e);\n            }\n          }\n          function getContainingClassIfInHeritageClause(node) {\n            return isIdentifier(node) || isPropertyAccessExpression(node) ? getContainingClassIfInHeritageClause(node.parent) : isExpressionWithTypeArguments(node) ? tryCast(node.parent.parent, isClassLike) : void 0;\n          }\n          function isImplementationExpression(node) {\n            switch (node.kind) {\n              case 214:\n                return isImplementationExpression(node.expression);\n              case 216:\n              case 215:\n              case 207:\n              case 228:\n              case 206:\n                return true;\n              default:\n                return false;\n            }\n          }\n          function explicitlyInheritsFrom(symbol, parent2, cachedResults, checker) {\n            if (symbol === parent2) {\n              return true;\n            }\n            const key = getSymbolId(symbol) + \",\" + getSymbolId(parent2);\n            const cached = cachedResults.get(key);\n            if (cached !== void 0) {\n              return cached;\n            }\n            cachedResults.set(key, false);\n            const inherits = !!symbol.declarations && symbol.declarations.some((declaration) => getAllSuperTypeNodes(declaration).some((typeReference) => {\n              const type = checker.getTypeAtLocation(typeReference);\n              return !!type && !!type.symbol && explicitlyInheritsFrom(type.symbol, parent2, cachedResults, checker);\n            }));\n            cachedResults.set(key, inherits);\n            return inherits;\n          }\n          function getReferencesForSuperKeyword(superKeyword) {\n            let searchSpaceNode = getSuperContainer(\n              superKeyword,\n              /*stopOnFunctions*/\n              false\n            );\n            if (!searchSpaceNode) {\n              return void 0;\n            }\n            let staticFlag = 32;\n            switch (searchSpaceNode.kind) {\n              case 169:\n              case 168:\n              case 171:\n              case 170:\n              case 173:\n              case 174:\n              case 175:\n                staticFlag &= getSyntacticModifierFlags(searchSpaceNode);\n                searchSpaceNode = searchSpaceNode.parent;\n                break;\n              default:\n                return void 0;\n            }\n            const sourceFile = searchSpaceNode.getSourceFile();\n            const references = mapDefined(getPossibleSymbolReferenceNodes(sourceFile, \"super\", searchSpaceNode), (node) => {\n              if (node.kind !== 106) {\n                return;\n              }\n              const container = getSuperContainer(\n                node,\n                /*stopOnFunctions*/\n                false\n              );\n              return container && isStatic(container) === !!staticFlag && container.parent.symbol === searchSpaceNode.symbol ? nodeEntry(node) : void 0;\n            });\n            return [{ definition: { type: 0, symbol: searchSpaceNode.symbol }, references }];\n          }\n          function isParameterName(node) {\n            return node.kind === 79 && node.parent.kind === 166 && node.parent.name === node;\n          }\n          function getReferencesForThisKeyword(thisOrSuperKeyword, sourceFiles, cancellationToken) {\n            let searchSpaceNode = getThisContainer(\n              thisOrSuperKeyword,\n              /* includeArrowFunctions */\n              false,\n              /*includeClassComputedPropertyName*/\n              false\n            );\n            let staticFlag = 32;\n            switch (searchSpaceNode.kind) {\n              case 171:\n              case 170:\n                if (isObjectLiteralMethod(searchSpaceNode)) {\n                  staticFlag &= getSyntacticModifierFlags(searchSpaceNode);\n                  searchSpaceNode = searchSpaceNode.parent;\n                  break;\n                }\n              case 169:\n              case 168:\n              case 173:\n              case 174:\n              case 175:\n                staticFlag &= getSyntacticModifierFlags(searchSpaceNode);\n                searchSpaceNode = searchSpaceNode.parent;\n                break;\n              case 308:\n                if (isExternalModule(searchSpaceNode) || isParameterName(thisOrSuperKeyword)) {\n                  return void 0;\n                }\n              case 259:\n              case 215:\n                break;\n              default:\n                return void 0;\n            }\n            const references = flatMap(searchSpaceNode.kind === 308 ? sourceFiles : [searchSpaceNode.getSourceFile()], (sourceFile) => {\n              cancellationToken.throwIfCancellationRequested();\n              return getPossibleSymbolReferenceNodes(sourceFile, \"this\", isSourceFile(searchSpaceNode) ? sourceFile : searchSpaceNode).filter((node) => {\n                if (!isThis(node)) {\n                  return false;\n                }\n                const container = getThisContainer(\n                  node,\n                  /* includeArrowFunctions */\n                  false,\n                  /*includeClassComputedPropertyName*/\n                  false\n                );\n                if (!canHaveSymbol(container))\n                  return false;\n                switch (searchSpaceNode.kind) {\n                  case 215:\n                  case 259:\n                    return searchSpaceNode.symbol === container.symbol;\n                  case 171:\n                  case 170:\n                    return isObjectLiteralMethod(searchSpaceNode) && searchSpaceNode.symbol === container.symbol;\n                  case 228:\n                  case 260:\n                  case 207:\n                    return container.parent && canHaveSymbol(container.parent) && searchSpaceNode.symbol === container.parent.symbol && isStatic(container) === !!staticFlag;\n                  case 308:\n                    return container.kind === 308 && !isExternalModule(container) && !isParameterName(node);\n                }\n              });\n            }).map((n) => nodeEntry(n));\n            const thisParameter = firstDefined(references, (r) => isParameter(r.node.parent) ? r.node : void 0);\n            return [{\n              definition: { type: 3, node: thisParameter || thisOrSuperKeyword },\n              references\n            }];\n          }\n          function getReferencesForStringLiteral(node, sourceFiles, checker, cancellationToken) {\n            const type = getContextualTypeFromParentOrAncestorTypeNode(node, checker);\n            const references = flatMap(sourceFiles, (sourceFile) => {\n              cancellationToken.throwIfCancellationRequested();\n              return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, node.text), (ref) => {\n                if (isStringLiteralLike(ref) && ref.text === node.text) {\n                  if (type) {\n                    const refType = getContextualTypeFromParentOrAncestorTypeNode(ref, checker);\n                    if (type !== checker.getStringType() && type === refType) {\n                      return nodeEntry(\n                        ref,\n                        2\n                        /* StringLiteral */\n                      );\n                    }\n                  } else {\n                    return isNoSubstitutionTemplateLiteral(ref) && !rangeIsOnSingleLine(ref, sourceFile) ? void 0 : nodeEntry(\n                      ref,\n                      2\n                      /* StringLiteral */\n                    );\n                  }\n                }\n              });\n            });\n            return [{\n              definition: { type: 4, node },\n              references\n            }];\n          }\n          function populateSearchSymbolSet(symbol, location, checker, isForRename, providePrefixAndSuffixText, implementations) {\n            const result = [];\n            forEachRelatedSymbol(\n              symbol,\n              location,\n              checker,\n              isForRename,\n              !(isForRename && providePrefixAndSuffixText),\n              (sym, root, base) => {\n                if (base) {\n                  if (isStaticSymbol(symbol) !== isStaticSymbol(base)) {\n                    base = void 0;\n                  }\n                }\n                result.push(base || root || sym);\n              },\n              // when try to find implementation, implementations is true, and not allowed to find base class\n              /*allowBaseTypes*/\n              () => !implementations\n            );\n            return result;\n          }\n          function forEachRelatedSymbol(symbol, location, checker, isForRenamePopulateSearchSymbolSet, onlyIncludeBindingElementAtReferenceLocation, cbSymbol, allowBaseTypes) {\n            const containingObjectLiteralElement = getContainingObjectLiteralElement(location);\n            if (containingObjectLiteralElement) {\n              const shorthandValueSymbol = checker.getShorthandAssignmentValueSymbol(location.parent);\n              if (shorthandValueSymbol && isForRenamePopulateSearchSymbolSet) {\n                return cbSymbol(\n                  shorthandValueSymbol,\n                  /*rootSymbol*/\n                  void 0,\n                  /*baseSymbol*/\n                  void 0,\n                  3\n                  /* SearchedLocalFoundProperty */\n                );\n              }\n              const contextualType = checker.getContextualType(containingObjectLiteralElement.parent);\n              const res2 = contextualType && firstDefined(\n                getPropertySymbolsFromContextualType(\n                  containingObjectLiteralElement,\n                  checker,\n                  contextualType,\n                  /*unionSymbolOk*/\n                  true\n                ),\n                (sym) => fromRoot(\n                  sym,\n                  4\n                  /* SearchedPropertyFoundLocal */\n                )\n              );\n              if (res2)\n                return res2;\n              const propertySymbol = getPropertySymbolOfDestructuringAssignment(location, checker);\n              const res1 = propertySymbol && cbSymbol(\n                propertySymbol,\n                /*rootSymbol*/\n                void 0,\n                /*baseSymbol*/\n                void 0,\n                4\n                /* SearchedPropertyFoundLocal */\n              );\n              if (res1)\n                return res1;\n              const res22 = shorthandValueSymbol && cbSymbol(\n                shorthandValueSymbol,\n                /*rootSymbol*/\n                void 0,\n                /*baseSymbol*/\n                void 0,\n                3\n                /* SearchedLocalFoundProperty */\n              );\n              if (res22)\n                return res22;\n            }\n            const aliasedSymbol = getMergedAliasedSymbolOfNamespaceExportDeclaration(location, symbol, checker);\n            if (aliasedSymbol) {\n              const res2 = cbSymbol(\n                aliasedSymbol,\n                /*rootSymbol*/\n                void 0,\n                /*baseSymbol*/\n                void 0,\n                1\n                /* Node */\n              );\n              if (res2)\n                return res2;\n            }\n            const res = fromRoot(symbol);\n            if (res)\n              return res;\n            if (symbol.valueDeclaration && isParameterPropertyDeclaration(symbol.valueDeclaration, symbol.valueDeclaration.parent)) {\n              const paramProps = checker.getSymbolsOfParameterPropertyDeclaration(cast(symbol.valueDeclaration, isParameter), symbol.name);\n              Debug2.assert(paramProps.length === 2 && !!(paramProps[0].flags & 1) && !!(paramProps[1].flags & 4));\n              return fromRoot(symbol.flags & 1 ? paramProps[1] : paramProps[0]);\n            }\n            const exportSpecifier = getDeclarationOfKind(\n              symbol,\n              278\n              /* ExportSpecifier */\n            );\n            if (!isForRenamePopulateSearchSymbolSet || exportSpecifier && !exportSpecifier.propertyName) {\n              const localSymbol = exportSpecifier && checker.getExportSpecifierLocalTargetSymbol(exportSpecifier);\n              if (localSymbol) {\n                const res2 = cbSymbol(\n                  localSymbol,\n                  /*rootSymbol*/\n                  void 0,\n                  /*baseSymbol*/\n                  void 0,\n                  1\n                  /* Node */\n                );\n                if (res2)\n                  return res2;\n              }\n            }\n            if (!isForRenamePopulateSearchSymbolSet) {\n              let bindingElementPropertySymbol;\n              if (onlyIncludeBindingElementAtReferenceLocation) {\n                bindingElementPropertySymbol = isObjectBindingElementWithoutPropertyName(location.parent) ? getPropertySymbolFromBindingElement(checker, location.parent) : void 0;\n              } else {\n                bindingElementPropertySymbol = getPropertySymbolOfObjectBindingPatternWithoutPropertyName(symbol, checker);\n              }\n              return bindingElementPropertySymbol && fromRoot(\n                bindingElementPropertySymbol,\n                4\n                /* SearchedPropertyFoundLocal */\n              );\n            }\n            Debug2.assert(isForRenamePopulateSearchSymbolSet);\n            const includeOriginalSymbolOfBindingElement = onlyIncludeBindingElementAtReferenceLocation;\n            if (includeOriginalSymbolOfBindingElement) {\n              const bindingElementPropertySymbol = getPropertySymbolOfObjectBindingPatternWithoutPropertyName(symbol, checker);\n              return bindingElementPropertySymbol && fromRoot(\n                bindingElementPropertySymbol,\n                4\n                /* SearchedPropertyFoundLocal */\n              );\n            }\n            function fromRoot(sym, kind) {\n              return firstDefined(checker.getRootSymbols(sym), (rootSymbol) => cbSymbol(\n                sym,\n                rootSymbol,\n                /*baseSymbol*/\n                void 0,\n                kind\n              ) || (rootSymbol.parent && rootSymbol.parent.flags & (32 | 64) && allowBaseTypes(rootSymbol) ? getPropertySymbolsFromBaseTypes(rootSymbol.parent, rootSymbol.name, checker, (base) => cbSymbol(sym, rootSymbol, base, kind)) : void 0));\n            }\n            function getPropertySymbolOfObjectBindingPatternWithoutPropertyName(symbol2, checker2) {\n              const bindingElement = getDeclarationOfKind(\n                symbol2,\n                205\n                /* BindingElement */\n              );\n              if (bindingElement && isObjectBindingElementWithoutPropertyName(bindingElement)) {\n                return getPropertySymbolFromBindingElement(checker2, bindingElement);\n              }\n            }\n          }\n          function getPropertySymbolsFromBaseTypes(symbol, propertyName, checker, cb) {\n            const seen = /* @__PURE__ */ new Map();\n            return recur(symbol);\n            function recur(symbol2) {\n              if (!(symbol2.flags & (32 | 64)) || !addToSeen(seen, getSymbolId(symbol2)))\n                return;\n              return firstDefined(symbol2.declarations, (declaration) => firstDefined(getAllSuperTypeNodes(declaration), (typeReference) => {\n                const type = checker.getTypeAtLocation(typeReference);\n                const propertySymbol = type && type.symbol && checker.getPropertyOfType(type, propertyName);\n                return type && propertySymbol && (firstDefined(checker.getRootSymbols(propertySymbol), cb) || recur(type.symbol));\n              }));\n            }\n          }\n          function isStaticSymbol(symbol) {\n            if (!symbol.valueDeclaration)\n              return false;\n            const modifierFlags = getEffectiveModifierFlags(symbol.valueDeclaration);\n            return !!(modifierFlags & 32);\n          }\n          function getRelatedSymbol(search, referenceSymbol, referenceLocation, state) {\n            const { checker } = state;\n            return forEachRelatedSymbol(\n              referenceSymbol,\n              referenceLocation,\n              checker,\n              /*isForRenamePopulateSearchSymbolSet*/\n              false,\n              /*onlyIncludeBindingElementAtReferenceLocation*/\n              state.options.use !== 2 || !!state.options.providePrefixAndSuffixTextForRename,\n              (sym, rootSymbol, baseSymbol, kind) => {\n                if (baseSymbol) {\n                  if (isStaticSymbol(referenceSymbol) !== isStaticSymbol(baseSymbol)) {\n                    baseSymbol = void 0;\n                  }\n                }\n                return search.includes(baseSymbol || rootSymbol || sym) ? { symbol: rootSymbol && !(getCheckFlags(sym) & 6) ? rootSymbol : sym, kind } : void 0;\n              },\n              /*allowBaseTypes*/\n              (rootSymbol) => !(search.parents && !search.parents.some((parent2) => explicitlyInheritsFrom(rootSymbol.parent, parent2, state.inheritsFromCache, checker)))\n            );\n          }\n          function getIntersectingMeaningFromDeclarations(node, symbol) {\n            let meaning = getMeaningFromLocation(node);\n            const { declarations } = symbol;\n            if (declarations) {\n              let lastIterationMeaning;\n              do {\n                lastIterationMeaning = meaning;\n                for (const declaration of declarations) {\n                  const declarationMeaning = getMeaningFromDeclaration(declaration);\n                  if (declarationMeaning & meaning) {\n                    meaning |= declarationMeaning;\n                  }\n                }\n              } while (meaning !== lastIterationMeaning);\n            }\n            return meaning;\n          }\n          Core2.getIntersectingMeaningFromDeclarations = getIntersectingMeaningFromDeclarations;\n          function isImplementation(node) {\n            return !!(node.flags & 16777216) ? !(isInterfaceDeclaration(node) || isTypeAliasDeclaration(node)) : isVariableLike(node) ? hasInitializer(node) : isFunctionLikeDeclaration(node) ? !!node.body : isClassLike(node) || isModuleOrEnumDeclaration(node);\n          }\n          function getReferenceEntriesForShorthandPropertyAssignment(node, checker, addReference2) {\n            const refSymbol = checker.getSymbolAtLocation(node);\n            const shorthandSymbol = checker.getShorthandAssignmentValueSymbol(refSymbol.valueDeclaration);\n            if (shorthandSymbol) {\n              for (const declaration of shorthandSymbol.getDeclarations()) {\n                if (getMeaningFromDeclaration(declaration) & 1) {\n                  addReference2(declaration);\n                }\n              }\n            }\n          }\n          Core2.getReferenceEntriesForShorthandPropertyAssignment = getReferenceEntriesForShorthandPropertyAssignment;\n          function forEachDescendantOfKind(node, kind, action) {\n            forEachChild(node, (child) => {\n              if (child.kind === kind) {\n                action(child);\n              }\n              forEachDescendantOfKind(child, kind, action);\n            });\n          }\n          function tryGetClassByExtendingIdentifier(node) {\n            return tryGetClassExtendingExpressionWithTypeArguments(climbPastPropertyAccess(node).parent);\n          }\n          function getParentSymbolsOfPropertyAccess(location, symbol, checker) {\n            const propertyAccessExpression = isRightSideOfPropertyAccess(location) ? location.parent : void 0;\n            const lhsType = propertyAccessExpression && checker.getTypeAtLocation(propertyAccessExpression.expression);\n            const res = mapDefined(lhsType && (lhsType.isUnionOrIntersection() ? lhsType.types : lhsType.symbol === symbol.parent ? void 0 : [lhsType]), (t) => t.symbol && t.symbol.flags & (32 | 64) ? t.symbol : void 0);\n            return res.length === 0 ? void 0 : res;\n          }\n          function isForRenameWithPrefixAndSuffixText(options) {\n            return options.use === 2 && options.providePrefixAndSuffixTextForRename;\n          }\n        })(Core || (Core = {}));\n      }\n    });\n    var ts_FindAllReferences_exports = {};\n    __export2(ts_FindAllReferences_exports, {\n      Core: () => Core,\n      DefinitionKind: () => DefinitionKind,\n      EntryKind: () => EntryKind,\n      ExportKind: () => ExportKind2,\n      FindReferencesUse: () => FindReferencesUse,\n      ImportExport: () => ImportExport,\n      createImportTracker: () => createImportTracker,\n      findModuleReferences: () => findModuleReferences,\n      findReferenceOrRenameEntries: () => findReferenceOrRenameEntries,\n      findReferencedSymbols: () => findReferencedSymbols,\n      getContextNode: () => getContextNode,\n      getExportInfo: () => getExportInfo,\n      getImplementationsAtPosition: () => getImplementationsAtPosition,\n      getImportOrExportSymbol: () => getImportOrExportSymbol,\n      getReferenceEntriesForNode: () => getReferenceEntriesForNode,\n      getTextSpanOfEntry: () => getTextSpanOfEntry,\n      isContextWithStartAndEndNode: () => isContextWithStartAndEndNode,\n      isDeclarationOfSymbol: () => isDeclarationOfSymbol,\n      nodeEntry: () => nodeEntry,\n      toContextSpan: () => toContextSpan,\n      toHighlightSpan: () => toHighlightSpan,\n      toReferenceEntry: () => toReferenceEntry,\n      toRenameLocation: () => toRenameLocation\n    });\n    var init_ts_FindAllReferences = __esm({\n      \"src/services/_namespaces/ts.FindAllReferences.ts\"() {\n        \"use strict\";\n        init_importTracker();\n        init_findAllReferences();\n      }\n    });\n    function getDefinitionAtPosition(program, sourceFile, position, searchOtherFilesOnly, stopAtAlias) {\n      var _a22, _b3;\n      const resolvedRef = getReferenceAtPosition(sourceFile, position, program);\n      const fileReferenceDefinition = resolvedRef && [getDefinitionInfoForFileReference(resolvedRef.reference.fileName, resolvedRef.fileName, resolvedRef.unverified)] || emptyArray;\n      if (resolvedRef == null ? void 0 : resolvedRef.file) {\n        return fileReferenceDefinition;\n      }\n      const node = getTouchingPropertyName(sourceFile, position);\n      if (node === sourceFile) {\n        return void 0;\n      }\n      const { parent: parent2 } = node;\n      const typeChecker = program.getTypeChecker();\n      if (node.kind === 161 || isIdentifier(node) && isJSDocOverrideTag(parent2) && parent2.tagName === node) {\n        return getDefinitionFromOverriddenMember(typeChecker, node) || emptyArray;\n      }\n      if (isJumpStatementTarget(node)) {\n        const label = getTargetLabel(node.parent, node.text);\n        return label ? [createDefinitionInfoFromName(\n          typeChecker,\n          label,\n          \"label\",\n          node.text,\n          /*containerName*/\n          void 0\n        )] : void 0;\n      }\n      if (node.kind === 105) {\n        const functionDeclaration = findAncestor(node.parent, (n) => isClassStaticBlockDeclaration(n) ? \"quit\" : isFunctionLikeDeclaration(n));\n        return functionDeclaration ? [createDefinitionFromSignatureDeclaration(typeChecker, functionDeclaration)] : void 0;\n      }\n      if (node.kind === 133) {\n        const functionDeclaration = findAncestor(node, (n) => isFunctionLikeDeclaration(n));\n        const isAsyncFunction2 = functionDeclaration && some(\n          functionDeclaration.modifiers,\n          (node2) => node2.kind === 132\n          /* AsyncKeyword */\n        );\n        return isAsyncFunction2 ? [createDefinitionFromSignatureDeclaration(typeChecker, functionDeclaration)] : void 0;\n      }\n      if (node.kind === 125) {\n        const functionDeclaration = findAncestor(node, (n) => isFunctionLikeDeclaration(n));\n        const isGeneratorFunction = functionDeclaration && functionDeclaration.asteriskToken;\n        return isGeneratorFunction ? [createDefinitionFromSignatureDeclaration(typeChecker, functionDeclaration)] : void 0;\n      }\n      if (isStaticModifier(node) && isClassStaticBlockDeclaration(node.parent)) {\n        const classDecl = node.parent.parent;\n        const { symbol: symbol2, failedAliasResolution: failedAliasResolution2 } = getSymbol(classDecl, typeChecker, stopAtAlias);\n        const staticBlocks = filter(classDecl.members, isClassStaticBlockDeclaration);\n        const containerName = symbol2 ? typeChecker.symbolToString(symbol2, classDecl) : \"\";\n        const sourceFile2 = node.getSourceFile();\n        return map(staticBlocks, (staticBlock) => {\n          let { pos } = moveRangePastModifiers(staticBlock);\n          pos = skipTrivia(sourceFile2.text, pos);\n          return createDefinitionInfoFromName(\n            typeChecker,\n            staticBlock,\n            \"constructor\",\n            \"static {}\",\n            containerName,\n            /*unverified*/\n            false,\n            failedAliasResolution2,\n            { start: pos, length: \"static\".length }\n          );\n        });\n      }\n      let { symbol, failedAliasResolution } = getSymbol(node, typeChecker, stopAtAlias);\n      let fallbackNode = node;\n      if (searchOtherFilesOnly && failedAliasResolution) {\n        const importDeclaration = forEach([node, ...(symbol == null ? void 0 : symbol.declarations) || emptyArray], (n) => findAncestor(n, isAnyImportOrBareOrAccessedRequire));\n        const moduleSpecifier = importDeclaration && tryGetModuleSpecifierFromDeclaration(importDeclaration);\n        if (moduleSpecifier) {\n          ({ symbol, failedAliasResolution } = getSymbol(moduleSpecifier, typeChecker, stopAtAlias));\n          fallbackNode = moduleSpecifier;\n        }\n      }\n      if (!symbol && isModuleSpecifierLike(fallbackNode)) {\n        const ref = (_b3 = (_a22 = sourceFile.resolvedModules) == null ? void 0 : _a22.get(fallbackNode.text, getModeForUsageLocation(sourceFile, fallbackNode))) == null ? void 0 : _b3.resolvedModule;\n        if (ref) {\n          return [{\n            name: fallbackNode.text,\n            fileName: ref.resolvedFileName,\n            containerName: void 0,\n            containerKind: void 0,\n            kind: \"script\",\n            textSpan: createTextSpan(0, 0),\n            failedAliasResolution,\n            isAmbient: isDeclarationFileName(ref.resolvedFileName),\n            unverified: fallbackNode !== node\n          }];\n        }\n      }\n      if (!symbol) {\n        return concatenate(fileReferenceDefinition, getDefinitionInfoForIndexSignatures(node, typeChecker));\n      }\n      if (searchOtherFilesOnly && every(symbol.declarations, (d) => d.getSourceFile().fileName === sourceFile.fileName))\n        return void 0;\n      const calledDeclaration = tryGetSignatureDeclaration(typeChecker, node);\n      if (calledDeclaration && !(isJsxOpeningLikeElement(node.parent) && isConstructorLike(calledDeclaration))) {\n        const sigInfo = createDefinitionFromSignatureDeclaration(typeChecker, calledDeclaration, failedAliasResolution);\n        if (typeChecker.getRootSymbols(symbol).some((s) => symbolMatchesSignature(s, calledDeclaration))) {\n          return [sigInfo];\n        } else {\n          const defs = getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, calledDeclaration) || emptyArray;\n          return node.kind === 106 ? [sigInfo, ...defs] : [...defs, sigInfo];\n        }\n      }\n      if (node.parent.kind === 300) {\n        const shorthandSymbol = typeChecker.getShorthandAssignmentValueSymbol(symbol.valueDeclaration);\n        const definitions = (shorthandSymbol == null ? void 0 : shorthandSymbol.declarations) ? shorthandSymbol.declarations.map((decl) => createDefinitionInfo(\n          decl,\n          typeChecker,\n          shorthandSymbol,\n          node,\n          /*unverified*/\n          false,\n          failedAliasResolution\n        )) : emptyArray;\n        return concatenate(definitions, getDefinitionFromObjectLiteralElement(typeChecker, node) || emptyArray);\n      }\n      if (isPropertyName(node) && isBindingElement(parent2) && isObjectBindingPattern(parent2.parent) && node === (parent2.propertyName || parent2.name)) {\n        const name = getNameFromPropertyName(node);\n        const type = typeChecker.getTypeAtLocation(parent2.parent);\n        return name === void 0 ? emptyArray : flatMap(type.isUnion() ? type.types : [type], (t) => {\n          const prop = t.getProperty(name);\n          return prop && getDefinitionFromSymbol(typeChecker, prop, node);\n        });\n      }\n      return concatenate(fileReferenceDefinition, getDefinitionFromObjectLiteralElement(typeChecker, node) || getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution));\n    }\n    function symbolMatchesSignature(s, calledDeclaration) {\n      var _a22;\n      return s === calledDeclaration.symbol || s === calledDeclaration.symbol.parent || isAssignmentExpression(calledDeclaration.parent) || !isCallLikeExpression(calledDeclaration.parent) && s === ((_a22 = tryCast(calledDeclaration.parent, canHaveSymbol)) == null ? void 0 : _a22.symbol);\n    }\n    function getDefinitionFromObjectLiteralElement(typeChecker, node) {\n      const element = getContainingObjectLiteralElement(node);\n      if (element) {\n        const contextualType = element && typeChecker.getContextualType(element.parent);\n        if (contextualType) {\n          return flatMap(getPropertySymbolsFromContextualType(\n            element,\n            typeChecker,\n            contextualType,\n            /*unionSymbolOk*/\n            false\n          ), (propertySymbol) => getDefinitionFromSymbol(typeChecker, propertySymbol, node));\n        }\n      }\n    }\n    function getDefinitionFromOverriddenMember(typeChecker, node) {\n      const classElement = findAncestor(node, isClassElement);\n      if (!(classElement && classElement.name))\n        return;\n      const baseDeclaration = findAncestor(classElement, isClassLike);\n      if (!baseDeclaration)\n        return;\n      const baseTypeNode = getEffectiveBaseTypeNode(baseDeclaration);\n      if (!baseTypeNode)\n        return;\n      const expression = skipParentheses(baseTypeNode.expression);\n      const base = isClassExpression(expression) ? expression.symbol : typeChecker.getSymbolAtLocation(expression);\n      if (!base)\n        return;\n      const name = unescapeLeadingUnderscores(getTextOfPropertyName(classElement.name));\n      const symbol = hasStaticModifier(classElement) ? typeChecker.getPropertyOfType(typeChecker.getTypeOfSymbol(base), name) : typeChecker.getPropertyOfType(typeChecker.getDeclaredTypeOfSymbol(base), name);\n      if (!symbol)\n        return;\n      return getDefinitionFromSymbol(typeChecker, symbol, node);\n    }\n    function getReferenceAtPosition(sourceFile, position, program) {\n      var _a22, _b3, _c, _d;\n      const referencePath = findReferenceInPosition(sourceFile.referencedFiles, position);\n      if (referencePath) {\n        const file = program.getSourceFileFromReference(sourceFile, referencePath);\n        return file && { reference: referencePath, fileName: file.fileName, file, unverified: false };\n      }\n      const typeReferenceDirective = findReferenceInPosition(sourceFile.typeReferenceDirectives, position);\n      if (typeReferenceDirective) {\n        const reference = (_a22 = program.getResolvedTypeReferenceDirectives().get(typeReferenceDirective.fileName, typeReferenceDirective.resolutionMode || sourceFile.impliedNodeFormat)) == null ? void 0 : _a22.resolvedTypeReferenceDirective;\n        const file = reference && program.getSourceFile(reference.resolvedFileName);\n        return file && { reference: typeReferenceDirective, fileName: file.fileName, file, unverified: false };\n      }\n      const libReferenceDirective = findReferenceInPosition(sourceFile.libReferenceDirectives, position);\n      if (libReferenceDirective) {\n        const file = program.getLibFileFromReference(libReferenceDirective);\n        return file && { reference: libReferenceDirective, fileName: file.fileName, file, unverified: false };\n      }\n      if ((_b3 = sourceFile.resolvedModules) == null ? void 0 : _b3.size()) {\n        const node = getTouchingToken(sourceFile, position);\n        if (isModuleSpecifierLike(node) && isExternalModuleNameRelative(node.text) && sourceFile.resolvedModules.has(node.text, getModeForUsageLocation(sourceFile, node))) {\n          const verifiedFileName = (_d = (_c = sourceFile.resolvedModules.get(node.text, getModeForUsageLocation(sourceFile, node))) == null ? void 0 : _c.resolvedModule) == null ? void 0 : _d.resolvedFileName;\n          const fileName = verifiedFileName || resolvePath(getDirectoryPath(sourceFile.fileName), node.text);\n          return {\n            file: program.getSourceFile(fileName),\n            fileName,\n            reference: {\n              pos: node.getStart(),\n              end: node.getEnd(),\n              fileName: node.text\n            },\n            unverified: !verifiedFileName\n          };\n        }\n      }\n      return void 0;\n    }\n    function getTypeDefinitionAtPosition(typeChecker, sourceFile, position) {\n      const node = getTouchingPropertyName(sourceFile, position);\n      if (node === sourceFile) {\n        return void 0;\n      }\n      if (isImportMeta(node.parent) && node.parent.name === node) {\n        return definitionFromType(\n          typeChecker.getTypeAtLocation(node.parent),\n          typeChecker,\n          node.parent,\n          /*failedAliasResolution*/\n          false\n        );\n      }\n      const { symbol, failedAliasResolution } = getSymbol(\n        node,\n        typeChecker,\n        /*stopAtAlias*/\n        false\n      );\n      if (!symbol)\n        return void 0;\n      const typeAtLocation = typeChecker.getTypeOfSymbolAtLocation(symbol, node);\n      const returnType = tryGetReturnTypeOfFunction(symbol, typeAtLocation, typeChecker);\n      const fromReturnType = returnType && definitionFromType(returnType, typeChecker, node, failedAliasResolution);\n      const typeDefinitions = fromReturnType && fromReturnType.length !== 0 ? fromReturnType : definitionFromType(typeAtLocation, typeChecker, node, failedAliasResolution);\n      return typeDefinitions.length ? typeDefinitions : !(symbol.flags & 111551) && symbol.flags & 788968 ? getDefinitionFromSymbol(typeChecker, skipAlias(symbol, typeChecker), node, failedAliasResolution) : void 0;\n    }\n    function definitionFromType(type, checker, node, failedAliasResolution) {\n      return flatMap(type.isUnion() && !(type.flags & 32) ? type.types : [type], (t) => t.symbol && getDefinitionFromSymbol(checker, t.symbol, node, failedAliasResolution));\n    }\n    function tryGetReturnTypeOfFunction(symbol, type, checker) {\n      if (type.symbol === symbol || // At `const f = () => {}`, the symbol is `f` and the type symbol is at `() => {}`\n      symbol.valueDeclaration && type.symbol && isVariableDeclaration(symbol.valueDeclaration) && symbol.valueDeclaration.initializer === type.symbol.valueDeclaration) {\n        const sigs = type.getCallSignatures();\n        if (sigs.length === 1)\n          return checker.getReturnTypeOfSignature(first(sigs));\n      }\n      return void 0;\n    }\n    function getDefinitionAndBoundSpan(program, sourceFile, position) {\n      const definitions = getDefinitionAtPosition(program, sourceFile, position);\n      if (!definitions || definitions.length === 0) {\n        return void 0;\n      }\n      const comment = findReferenceInPosition(sourceFile.referencedFiles, position) || findReferenceInPosition(sourceFile.typeReferenceDirectives, position) || findReferenceInPosition(sourceFile.libReferenceDirectives, position);\n      if (comment) {\n        return { definitions, textSpan: createTextSpanFromRange(comment) };\n      }\n      const node = getTouchingPropertyName(sourceFile, position);\n      const textSpan = createTextSpan(node.getStart(), node.getWidth());\n      return { definitions, textSpan };\n    }\n    function getDefinitionInfoForIndexSignatures(node, checker) {\n      return mapDefined(checker.getIndexInfosAtLocation(node), (info) => info.declaration && createDefinitionFromSignatureDeclaration(checker, info.declaration));\n    }\n    function getSymbol(node, checker, stopAtAlias) {\n      const symbol = checker.getSymbolAtLocation(node);\n      let failedAliasResolution = false;\n      if ((symbol == null ? void 0 : symbol.declarations) && symbol.flags & 2097152 && !stopAtAlias && shouldSkipAlias(node, symbol.declarations[0])) {\n        const aliased = checker.getAliasedSymbol(symbol);\n        if (aliased.declarations) {\n          return { symbol: aliased };\n        } else {\n          failedAliasResolution = true;\n        }\n      }\n      return { symbol, failedAliasResolution };\n    }\n    function shouldSkipAlias(node, declaration) {\n      if (node.kind !== 79) {\n        return false;\n      }\n      if (node.parent === declaration) {\n        return true;\n      }\n      if (declaration.kind === 271) {\n        return false;\n      }\n      return true;\n    }\n    function isExpandoDeclaration(node) {\n      if (!isAssignmentDeclaration(node))\n        return false;\n      const containingAssignment = findAncestor(node, (p) => {\n        if (isAssignmentExpression(p))\n          return true;\n        if (!isAssignmentDeclaration(p))\n          return \"quit\";\n        return false;\n      });\n      return !!containingAssignment && getAssignmentDeclarationKind(containingAssignment) === 5;\n    }\n    function getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, excludeDeclaration) {\n      const filteredDeclarations = filter(symbol.declarations, (d) => d !== excludeDeclaration);\n      const withoutExpandos = filter(filteredDeclarations, (d) => !isExpandoDeclaration(d));\n      const results = some(withoutExpandos) ? withoutExpandos : filteredDeclarations;\n      return getConstructSignatureDefinition() || getCallSignatureDefinition() || map(results, (declaration) => createDefinitionInfo(\n        declaration,\n        typeChecker,\n        symbol,\n        node,\n        /*unverified*/\n        false,\n        failedAliasResolution\n      ));\n      function getConstructSignatureDefinition() {\n        if (symbol.flags & 32 && !(symbol.flags & (16 | 3)) && (isNewExpressionTarget(node) || node.kind === 135)) {\n          const cls = find(filteredDeclarations, isClassLike) || Debug2.fail(\"Expected declaration to have at least one class-like declaration\");\n          return getSignatureDefinition(\n            cls.members,\n            /*selectConstructors*/\n            true\n          );\n        }\n      }\n      function getCallSignatureDefinition() {\n        return isCallOrNewExpressionTarget(node) || isNameOfFunctionDeclaration(node) ? getSignatureDefinition(\n          filteredDeclarations,\n          /*selectConstructors*/\n          false\n        ) : void 0;\n      }\n      function getSignatureDefinition(signatureDeclarations, selectConstructors) {\n        if (!signatureDeclarations) {\n          return void 0;\n        }\n        const declarations = signatureDeclarations.filter(selectConstructors ? isConstructorDeclaration : isFunctionLike);\n        const declarationsWithBody = declarations.filter((d) => !!d.body);\n        return declarations.length ? declarationsWithBody.length !== 0 ? declarationsWithBody.map((x) => createDefinitionInfo(x, typeChecker, symbol, node)) : [createDefinitionInfo(\n          last(declarations),\n          typeChecker,\n          symbol,\n          node,\n          /*unverified*/\n          false,\n          failedAliasResolution\n        )] : void 0;\n      }\n    }\n    function createDefinitionInfo(declaration, checker, symbol, node, unverified, failedAliasResolution) {\n      const symbolName2 = checker.symbolToString(symbol);\n      const symbolKind = ts_SymbolDisplay_exports.getSymbolKind(checker, symbol, node);\n      const containerName = symbol.parent ? checker.symbolToString(symbol.parent, node) : \"\";\n      return createDefinitionInfoFromName(checker, declaration, symbolKind, symbolName2, containerName, unverified, failedAliasResolution);\n    }\n    function createDefinitionInfoFromName(checker, declaration, symbolKind, symbolName2, containerName, unverified, failedAliasResolution, textSpan) {\n      const sourceFile = declaration.getSourceFile();\n      if (!textSpan) {\n        const name = getNameOfDeclaration(declaration) || declaration;\n        textSpan = createTextSpanFromNode(name, sourceFile);\n      }\n      return {\n        fileName: sourceFile.fileName,\n        textSpan,\n        kind: symbolKind,\n        name: symbolName2,\n        containerKind: void 0,\n        // TODO: GH#18217\n        containerName,\n        ...ts_FindAllReferences_exports.toContextSpan(\n          textSpan,\n          sourceFile,\n          ts_FindAllReferences_exports.getContextNode(declaration)\n        ),\n        isLocal: !isDefinitionVisible(checker, declaration),\n        isAmbient: !!(declaration.flags & 16777216),\n        unverified,\n        failedAliasResolution\n      };\n    }\n    function isDefinitionVisible(checker, declaration) {\n      if (checker.isDeclarationVisible(declaration))\n        return true;\n      if (!declaration.parent)\n        return false;\n      if (hasInitializer(declaration.parent) && declaration.parent.initializer === declaration)\n        return isDefinitionVisible(checker, declaration.parent);\n      switch (declaration.kind) {\n        case 169:\n        case 174:\n        case 175:\n        case 171:\n          if (hasEffectiveModifier(\n            declaration,\n            8\n            /* Private */\n          ))\n            return false;\n        case 173:\n        case 299:\n        case 300:\n        case 207:\n        case 228:\n        case 216:\n        case 215:\n          return isDefinitionVisible(checker, declaration.parent);\n        default:\n          return false;\n      }\n    }\n    function createDefinitionFromSignatureDeclaration(typeChecker, decl, failedAliasResolution) {\n      return createDefinitionInfo(\n        decl,\n        typeChecker,\n        decl.symbol,\n        decl,\n        /*unverified*/\n        false,\n        failedAliasResolution\n      );\n    }\n    function findReferenceInPosition(refs, pos) {\n      return find(refs, (ref) => textRangeContainsPositionInclusive(ref, pos));\n    }\n    function getDefinitionInfoForFileReference(name, targetFileName, unverified) {\n      return {\n        fileName: targetFileName,\n        textSpan: createTextSpanFromBounds(0, 0),\n        kind: \"script\",\n        name,\n        containerName: void 0,\n        containerKind: void 0,\n        // TODO: GH#18217\n        unverified\n      };\n    }\n    function getAncestorCallLikeExpression(node) {\n      const target = findAncestor(node, (n) => !isRightSideOfPropertyAccess(n));\n      const callLike = target == null ? void 0 : target.parent;\n      return callLike && isCallLikeExpression(callLike) && getInvokedExpression(callLike) === target ? callLike : void 0;\n    }\n    function tryGetSignatureDeclaration(typeChecker, node) {\n      const callLike = getAncestorCallLikeExpression(node);\n      const signature = callLike && typeChecker.getResolvedSignature(callLike);\n      return tryCast(signature && signature.declaration, (d) => isFunctionLike(d) && !isFunctionTypeNode(d));\n    }\n    function isConstructorLike(node) {\n      switch (node.kind) {\n        case 173:\n        case 182:\n        case 177:\n          return true;\n        default:\n          return false;\n      }\n    }\n    var init_goToDefinition = __esm({\n      \"src/services/goToDefinition.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    var ts_GoToDefinition_exports = {};\n    __export2(ts_GoToDefinition_exports, {\n      createDefinitionInfo: () => createDefinitionInfo,\n      findReferenceInPosition: () => findReferenceInPosition,\n      getDefinitionAndBoundSpan: () => getDefinitionAndBoundSpan,\n      getDefinitionAtPosition: () => getDefinitionAtPosition,\n      getReferenceAtPosition: () => getReferenceAtPosition,\n      getTypeDefinitionAtPosition: () => getTypeDefinitionAtPosition\n    });\n    var init_ts_GoToDefinition = __esm({\n      \"src/services/_namespaces/ts.GoToDefinition.ts\"() {\n        \"use strict\";\n        init_goToDefinition();\n      }\n    });\n    function shouldShowParameterNameHints(preferences) {\n      return preferences.includeInlayParameterNameHints === \"literals\" || preferences.includeInlayParameterNameHints === \"all\";\n    }\n    function shouldShowLiteralParameterNameHintsOnly(preferences) {\n      return preferences.includeInlayParameterNameHints === \"literals\";\n    }\n    function provideInlayHints(context) {\n      const { file, program, span, cancellationToken, preferences } = context;\n      const sourceFileText = file.text;\n      const compilerOptions = program.getCompilerOptions();\n      const checker = program.getTypeChecker();\n      const result = [];\n      visitor(file);\n      return result;\n      function visitor(node) {\n        if (!node || node.getFullWidth() === 0) {\n          return;\n        }\n        switch (node.kind) {\n          case 264:\n          case 260:\n          case 261:\n          case 259:\n          case 228:\n          case 215:\n          case 171:\n          case 216:\n            cancellationToken.throwIfCancellationRequested();\n        }\n        if (!textSpanIntersectsWith(span, node.pos, node.getFullWidth())) {\n          return;\n        }\n        if (isTypeNode(node) && !isExpressionWithTypeArguments(node)) {\n          return;\n        }\n        if (preferences.includeInlayVariableTypeHints && isVariableDeclaration(node)) {\n          visitVariableLikeDeclaration(node);\n        } else if (preferences.includeInlayPropertyDeclarationTypeHints && isPropertyDeclaration(node)) {\n          visitVariableLikeDeclaration(node);\n        } else if (preferences.includeInlayEnumMemberValueHints && isEnumMember(node)) {\n          visitEnumMember(node);\n        } else if (shouldShowParameterNameHints(preferences) && (isCallExpression(node) || isNewExpression(node))) {\n          visitCallOrNewExpression(node);\n        } else {\n          if (preferences.includeInlayFunctionParameterTypeHints && isFunctionLikeDeclaration(node) && hasContextSensitiveParameters(node)) {\n            visitFunctionLikeForParameterType(node);\n          }\n          if (preferences.includeInlayFunctionLikeReturnTypeHints && isSignatureSupportingReturnAnnotation(node)) {\n            visitFunctionDeclarationLikeForReturnType(node);\n          }\n        }\n        return forEachChild(node, visitor);\n      }\n      function isSignatureSupportingReturnAnnotation(node) {\n        return isArrowFunction(node) || isFunctionExpression(node) || isFunctionDeclaration(node) || isMethodDeclaration(node) || isGetAccessorDeclaration(node);\n      }\n      function addParameterHints(text, position, isFirstVariadicArgument) {\n        result.push({\n          text: `${isFirstVariadicArgument ? \"...\" : \"\"}${truncation(text, maxHintsLength)}:`,\n          position,\n          kind: \"Parameter\",\n          whitespaceAfter: true\n        });\n      }\n      function addTypeHints(text, position) {\n        result.push({\n          text: `: ${truncation(text, maxHintsLength)}`,\n          position,\n          kind: \"Type\",\n          whitespaceBefore: true\n        });\n      }\n      function addEnumMemberValueHints(text, position) {\n        result.push({\n          text: `= ${truncation(text, maxHintsLength)}`,\n          position,\n          kind: \"Enum\",\n          whitespaceBefore: true\n        });\n      }\n      function visitEnumMember(member) {\n        if (member.initializer) {\n          return;\n        }\n        const enumValue = checker.getConstantValue(member);\n        if (enumValue !== void 0) {\n          addEnumMemberValueHints(enumValue.toString(), member.end);\n        }\n      }\n      function isModuleReferenceType(type) {\n        return type.symbol && type.symbol.flags & 1536;\n      }\n      function visitVariableLikeDeclaration(decl) {\n        if (!decl.initializer || isBindingPattern(decl.name) || isVariableDeclaration(decl) && !isHintableDeclaration(decl)) {\n          return;\n        }\n        const effectiveTypeAnnotation = getEffectiveTypeAnnotationNode(decl);\n        if (effectiveTypeAnnotation) {\n          return;\n        }\n        const declarationType = checker.getTypeAtLocation(decl);\n        if (isModuleReferenceType(declarationType)) {\n          return;\n        }\n        const typeDisplayString = printTypeInSingleLine(declarationType);\n        if (typeDisplayString) {\n          const isVariableNameMatchesType = preferences.includeInlayVariableTypeHintsWhenTypeMatchesName === false && equateStringsCaseInsensitive(decl.name.getText(), typeDisplayString);\n          if (isVariableNameMatchesType) {\n            return;\n          }\n          addTypeHints(typeDisplayString, decl.name.end);\n        }\n      }\n      function visitCallOrNewExpression(expr) {\n        const args = expr.arguments;\n        if (!args || !args.length) {\n          return;\n        }\n        const candidates = [];\n        const signature = checker.getResolvedSignatureForSignatureHelp(expr, candidates);\n        if (!signature || !candidates.length) {\n          return;\n        }\n        for (let i = 0; i < args.length; ++i) {\n          const originalArg = args[i];\n          const arg = skipParentheses(originalArg);\n          if (shouldShowLiteralParameterNameHintsOnly(preferences) && !isHintableLiteral(arg)) {\n            continue;\n          }\n          const identifierNameInfo = checker.getParameterIdentifierNameAtPosition(signature, i);\n          if (identifierNameInfo) {\n            const [parameterName, isFirstVariadicArgument] = identifierNameInfo;\n            const isParameterNameNotSameAsArgument = preferences.includeInlayParameterNameHintsWhenArgumentMatchesName || !identifierOrAccessExpressionPostfixMatchesParameterName(arg, parameterName);\n            if (!isParameterNameNotSameAsArgument && !isFirstVariadicArgument) {\n              continue;\n            }\n            const name = unescapeLeadingUnderscores(parameterName);\n            if (leadingCommentsContainsParameterName(arg, name)) {\n              continue;\n            }\n            addParameterHints(name, originalArg.getStart(), isFirstVariadicArgument);\n          }\n        }\n      }\n      function identifierOrAccessExpressionPostfixMatchesParameterName(expr, parameterName) {\n        if (isIdentifier(expr)) {\n          return expr.text === parameterName;\n        }\n        if (isPropertyAccessExpression(expr)) {\n          return expr.name.text === parameterName;\n        }\n        return false;\n      }\n      function leadingCommentsContainsParameterName(node, name) {\n        if (!isIdentifierText(name, compilerOptions.target, getLanguageVariant(file.scriptKind))) {\n          return false;\n        }\n        const ranges = getLeadingCommentRanges(sourceFileText, node.pos);\n        if (!(ranges == null ? void 0 : ranges.length)) {\n          return false;\n        }\n        const regex = leadingParameterNameCommentRegexFactory(name);\n        return some(ranges, (range) => regex.test(sourceFileText.substring(range.pos, range.end)));\n      }\n      function isHintableLiteral(node) {\n        switch (node.kind) {\n          case 221: {\n            const operand = node.operand;\n            return isLiteralExpression(operand) || isIdentifier(operand) && isInfinityOrNaNString(operand.escapedText);\n          }\n          case 110:\n          case 95:\n          case 104:\n          case 14:\n          case 225:\n            return true;\n          case 79: {\n            const name = node.escapedText;\n            return isUndefined(name) || isInfinityOrNaNString(name);\n          }\n        }\n        return isLiteralExpression(node);\n      }\n      function visitFunctionDeclarationLikeForReturnType(decl) {\n        if (isArrowFunction(decl)) {\n          if (!findChildOfKind(decl, 20, file)) {\n            return;\n          }\n        }\n        const effectiveTypeAnnotation = getEffectiveReturnTypeNode(decl);\n        if (effectiveTypeAnnotation || !decl.body) {\n          return;\n        }\n        const signature = checker.getSignatureFromDeclaration(decl);\n        if (!signature) {\n          return;\n        }\n        const returnType = checker.getReturnTypeOfSignature(signature);\n        if (isModuleReferenceType(returnType)) {\n          return;\n        }\n        const typeDisplayString = printTypeInSingleLine(returnType);\n        if (!typeDisplayString) {\n          return;\n        }\n        addTypeHints(typeDisplayString, getTypeAnnotationPosition(decl));\n      }\n      function getTypeAnnotationPosition(decl) {\n        const closeParenToken = findChildOfKind(decl, 21, file);\n        if (closeParenToken) {\n          return closeParenToken.end;\n        }\n        return decl.parameters.end;\n      }\n      function visitFunctionLikeForParameterType(node) {\n        const signature = checker.getSignatureFromDeclaration(node);\n        if (!signature) {\n          return;\n        }\n        for (let i = 0; i < node.parameters.length && i < signature.parameters.length; ++i) {\n          const param = node.parameters[i];\n          if (!isHintableDeclaration(param)) {\n            continue;\n          }\n          const effectiveTypeAnnotation = getEffectiveTypeAnnotationNode(param);\n          if (effectiveTypeAnnotation) {\n            continue;\n          }\n          const typeDisplayString = getParameterDeclarationTypeDisplayString(signature.parameters[i]);\n          if (!typeDisplayString) {\n            continue;\n          }\n          addTypeHints(typeDisplayString, param.questionToken ? param.questionToken.end : param.name.end);\n        }\n      }\n      function getParameterDeclarationTypeDisplayString(symbol) {\n        const valueDeclaration = symbol.valueDeclaration;\n        if (!valueDeclaration || !isParameter(valueDeclaration)) {\n          return void 0;\n        }\n        const signatureParamType = checker.getTypeOfSymbolAtLocation(symbol, valueDeclaration);\n        if (isModuleReferenceType(signatureParamType)) {\n          return void 0;\n        }\n        return printTypeInSingleLine(signatureParamType);\n      }\n      function truncation(text, maxLength2) {\n        if (text.length > maxLength2) {\n          return text.substr(0, maxLength2 - \"...\".length) + \"...\";\n        }\n        return text;\n      }\n      function printTypeInSingleLine(type) {\n        const flags = 70221824 | 1048576 | 16384;\n        const printer = createPrinterWithRemoveComments();\n        return usingSingleLineStringWriter((writer) => {\n          const typeNode = checker.typeToTypeNode(\n            type,\n            /*enclosingDeclaration*/\n            void 0,\n            flags\n          );\n          Debug2.assertIsDefined(typeNode, \"should always get typenode\");\n          printer.writeNode(\n            4,\n            typeNode,\n            /*sourceFile*/\n            file,\n            writer\n          );\n        });\n      }\n      function isUndefined(name) {\n        return name === \"undefined\";\n      }\n      function isHintableDeclaration(node) {\n        if ((isParameterDeclaration(node) || isVariableDeclaration(node) && isVarConst(node)) && node.initializer) {\n          const initializer = skipParentheses(node.initializer);\n          return !(isHintableLiteral(initializer) || isNewExpression(initializer) || isObjectLiteralExpression(initializer) || isAssertionExpression(initializer));\n        }\n        return true;\n      }\n    }\n    var maxHintsLength, leadingParameterNameCommentRegexFactory;\n    var init_inlayHints = __esm({\n      \"src/services/inlayHints.ts\"() {\n        \"use strict\";\n        init_ts4();\n        maxHintsLength = 30;\n        leadingParameterNameCommentRegexFactory = (name) => {\n          return new RegExp(`^\\\\s?/\\\\*\\\\*?\\\\s?${name}\\\\s?\\\\*\\\\/\\\\s?$`);\n        };\n      }\n    });\n    var ts_InlayHints_exports = {};\n    __export2(ts_InlayHints_exports, {\n      provideInlayHints: () => provideInlayHints\n    });\n    var init_ts_InlayHints = __esm({\n      \"src/services/_namespaces/ts.InlayHints.ts\"() {\n        \"use strict\";\n        init_inlayHints();\n      }\n    });\n    function getJsDocCommentsFromDeclarations(declarations, checker) {\n      const parts = [];\n      forEachUnique(declarations, (declaration) => {\n        for (const jsdoc of getCommentHavingNodes(declaration)) {\n          const inheritDoc = isJSDoc(jsdoc) && jsdoc.tags && find(jsdoc.tags, (t) => t.kind === 330 && (t.tagName.escapedText === \"inheritDoc\" || t.tagName.escapedText === \"inheritdoc\"));\n          if (jsdoc.comment === void 0 && !inheritDoc || isJSDoc(jsdoc) && declaration.kind !== 349 && declaration.kind !== 341 && jsdoc.tags && jsdoc.tags.some(\n            (t) => t.kind === 349 || t.kind === 341\n            /* JSDocCallbackTag */\n          ) && !jsdoc.tags.some(\n            (t) => t.kind === 344 || t.kind === 345\n            /* JSDocReturnTag */\n          )) {\n            continue;\n          }\n          let newparts = jsdoc.comment ? getDisplayPartsFromComment(jsdoc.comment, checker) : [];\n          if (inheritDoc && inheritDoc.comment) {\n            newparts = newparts.concat(getDisplayPartsFromComment(inheritDoc.comment, checker));\n          }\n          if (!contains(parts, newparts, isIdenticalListOfDisplayParts)) {\n            parts.push(newparts);\n          }\n        }\n      });\n      return flatten(intersperse(parts, [lineBreakPart()]));\n    }\n    function isIdenticalListOfDisplayParts(parts1, parts2) {\n      return arraysEqual(parts1, parts2, (p1, p2) => p1.kind === p2.kind && p1.text === p2.text);\n    }\n    function getCommentHavingNodes(declaration) {\n      switch (declaration.kind) {\n        case 344:\n        case 351:\n          return [declaration];\n        case 341:\n        case 349:\n          return [declaration, declaration.parent];\n        default:\n          return getJSDocCommentsAndTags(declaration);\n      }\n    }\n    function getJsDocTagsFromDeclarations(declarations, checker) {\n      const infos = [];\n      forEachUnique(declarations, (declaration) => {\n        const tags = getJSDocTags(declaration);\n        if (tags.some(\n          (t) => t.kind === 349 || t.kind === 341\n          /* JSDocCallbackTag */\n        ) && !tags.some(\n          (t) => t.kind === 344 || t.kind === 345\n          /* JSDocReturnTag */\n        )) {\n          return;\n        }\n        for (const tag of tags) {\n          infos.push({ name: tag.tagName.text, text: getCommentDisplayParts(tag, checker) });\n        }\n      });\n      return infos;\n    }\n    function getDisplayPartsFromComment(comment, checker) {\n      if (typeof comment === \"string\") {\n        return [textPart(comment)];\n      }\n      return flatMap(\n        comment,\n        (node) => node.kind === 324 ? [textPart(node.text)] : buildLinkParts(node, checker)\n      );\n    }\n    function getCommentDisplayParts(tag, checker) {\n      const { comment, kind } = tag;\n      const namePart = getTagNameDisplayPart(kind);\n      switch (kind) {\n        case 352:\n          const typeExpression = tag.typeExpression;\n          return typeExpression ? withNode(typeExpression) : comment === void 0 ? void 0 : getDisplayPartsFromComment(comment, checker);\n        case 332:\n          return withNode(tag.class);\n        case 331:\n          return withNode(tag.class);\n        case 348:\n          const templateTag = tag;\n          const displayParts = [];\n          if (templateTag.constraint) {\n            displayParts.push(textPart(templateTag.constraint.getText()));\n          }\n          if (length(templateTag.typeParameters)) {\n            if (length(displayParts)) {\n              displayParts.push(spacePart());\n            }\n            const lastTypeParameter = templateTag.typeParameters[templateTag.typeParameters.length - 1];\n            forEach(templateTag.typeParameters, (tp) => {\n              displayParts.push(namePart(tp.getText()));\n              if (lastTypeParameter !== tp) {\n                displayParts.push(...[punctuationPart(\n                  27\n                  /* CommaToken */\n                ), spacePart()]);\n              }\n            });\n          }\n          if (comment) {\n            displayParts.push(...[spacePart(), ...getDisplayPartsFromComment(comment, checker)]);\n          }\n          return displayParts;\n        case 347:\n        case 353:\n          return withNode(tag.typeExpression);\n        case 349:\n        case 341:\n        case 351:\n        case 344:\n        case 350:\n          const { name } = tag;\n          return name ? withNode(name) : comment === void 0 ? void 0 : getDisplayPartsFromComment(comment, checker);\n        default:\n          return comment === void 0 ? void 0 : getDisplayPartsFromComment(comment, checker);\n      }\n      function withNode(node) {\n        return addComment(node.getText());\n      }\n      function addComment(s) {\n        if (comment) {\n          if (s.match(/^https?$/)) {\n            return [textPart(s), ...getDisplayPartsFromComment(comment, checker)];\n          } else {\n            return [namePart(s), spacePart(), ...getDisplayPartsFromComment(comment, checker)];\n          }\n        } else {\n          return [textPart(s)];\n        }\n      }\n    }\n    function getTagNameDisplayPart(kind) {\n      switch (kind) {\n        case 344:\n          return parameterNamePart;\n        case 351:\n          return propertyNamePart;\n        case 348:\n          return typeParameterNamePart;\n        case 349:\n        case 341:\n          return typeAliasNamePart;\n        default:\n          return textPart;\n      }\n    }\n    function getJSDocTagNameCompletions() {\n      return jsDocTagNameCompletionEntries || (jsDocTagNameCompletionEntries = map(jsDocTagNames, (tagName) => {\n        return {\n          name: tagName,\n          kind: \"keyword\",\n          kindModifiers: \"\",\n          sortText: ts_Completions_exports.SortText.LocationPriority\n        };\n      }));\n    }\n    function getJSDocTagCompletions() {\n      return jsDocTagCompletionEntries || (jsDocTagCompletionEntries = map(jsDocTagNames, (tagName) => {\n        return {\n          name: `@${tagName}`,\n          kind: \"keyword\",\n          kindModifiers: \"\",\n          sortText: ts_Completions_exports.SortText.LocationPriority\n        };\n      }));\n    }\n    function getJSDocTagCompletionDetails(name) {\n      return {\n        name,\n        kind: \"\",\n        // TODO: should have its own kind?\n        kindModifiers: \"\",\n        displayParts: [textPart(name)],\n        documentation: emptyArray,\n        tags: void 0,\n        codeActions: void 0\n      };\n    }\n    function getJSDocParameterNameCompletions(tag) {\n      if (!isIdentifier(tag.name)) {\n        return emptyArray;\n      }\n      const nameThusFar = tag.name.text;\n      const jsdoc = tag.parent;\n      const fn = jsdoc.parent;\n      if (!isFunctionLike(fn))\n        return [];\n      return mapDefined(fn.parameters, (param) => {\n        if (!isIdentifier(param.name))\n          return void 0;\n        const name = param.name.text;\n        if (jsdoc.tags.some((t) => t !== tag && isJSDocParameterTag(t) && isIdentifier(t.name) && t.name.escapedText === name) || nameThusFar !== void 0 && !startsWith(name, nameThusFar)) {\n          return void 0;\n        }\n        return { name, kind: \"parameter\", kindModifiers: \"\", sortText: ts_Completions_exports.SortText.LocationPriority };\n      });\n    }\n    function getJSDocParameterNameCompletionDetails(name) {\n      return {\n        name,\n        kind: \"parameter\",\n        kindModifiers: \"\",\n        displayParts: [textPart(name)],\n        documentation: emptyArray,\n        tags: void 0,\n        codeActions: void 0\n      };\n    }\n    function getDocCommentTemplateAtPosition(newLine, sourceFile, position, options) {\n      const tokenAtPos = getTokenAtPosition(sourceFile, position);\n      const existingDocComment = findAncestor(tokenAtPos, isJSDoc);\n      if (existingDocComment && (existingDocComment.comment !== void 0 || length(existingDocComment.tags))) {\n        return void 0;\n      }\n      const tokenStart = tokenAtPos.getStart(sourceFile);\n      if (!existingDocComment && tokenStart < position) {\n        return void 0;\n      }\n      const commentOwnerInfo = getCommentOwnerInfo(tokenAtPos, options);\n      if (!commentOwnerInfo) {\n        return void 0;\n      }\n      const { commentOwner, parameters, hasReturn: hasReturn2 } = commentOwnerInfo;\n      const commentOwnerJsDoc = hasJSDocNodes(commentOwner) && commentOwner.jsDoc ? commentOwner.jsDoc : void 0;\n      const lastJsDoc = lastOrUndefined(commentOwnerJsDoc);\n      if (commentOwner.getStart(sourceFile) < position || lastJsDoc && existingDocComment && lastJsDoc !== existingDocComment) {\n        return void 0;\n      }\n      const indentationStr = getIndentationStringAtPosition(sourceFile, position);\n      const isJavaScriptFile = hasJSFileExtension(sourceFile.fileName);\n      const tags = (parameters ? parameterDocComments(parameters || [], isJavaScriptFile, indentationStr, newLine) : \"\") + (hasReturn2 ? returnsDocComment(indentationStr, newLine) : \"\");\n      const openComment = \"/**\";\n      const closeComment = \" */\";\n      const hasTag = (commentOwnerJsDoc || []).some((jsDoc) => !!jsDoc.tags);\n      if (tags && !hasTag) {\n        const preamble = openComment + newLine + indentationStr + \" * \";\n        const endLine = tokenStart === position ? newLine + indentationStr : \"\";\n        const result = preamble + newLine + tags + indentationStr + closeComment + endLine;\n        return { newText: result, caretOffset: preamble.length };\n      }\n      return { newText: openComment + closeComment, caretOffset: 3 };\n    }\n    function getIndentationStringAtPosition(sourceFile, position) {\n      const { text } = sourceFile;\n      const lineStart = getLineStartPositionForPosition(position, sourceFile);\n      let pos = lineStart;\n      for (; pos <= position && isWhiteSpaceSingleLine(text.charCodeAt(pos)); pos++)\n        ;\n      return text.slice(lineStart, pos);\n    }\n    function parameterDocComments(parameters, isJavaScriptFile, indentationStr, newLine) {\n      return parameters.map(({ name, dotDotDotToken }, i) => {\n        const paramName = name.kind === 79 ? name.text : \"param\" + i;\n        const type = isJavaScriptFile ? dotDotDotToken ? \"{...any} \" : \"{any} \" : \"\";\n        return `${indentationStr} * @param ${type}${paramName}${newLine}`;\n      }).join(\"\");\n    }\n    function returnsDocComment(indentationStr, newLine) {\n      return `${indentationStr} * @returns${newLine}`;\n    }\n    function getCommentOwnerInfo(tokenAtPos, options) {\n      return forEachAncestor(tokenAtPos, (n) => getCommentOwnerInfoWorker(n, options));\n    }\n    function getCommentOwnerInfoWorker(commentOwner, options) {\n      switch (commentOwner.kind) {\n        case 259:\n        case 215:\n        case 171:\n        case 173:\n        case 170:\n        case 216:\n          const host = commentOwner;\n          return { commentOwner, parameters: host.parameters, hasReturn: hasReturn(host, options) };\n        case 299:\n          return getCommentOwnerInfoWorker(commentOwner.initializer, options);\n        case 260:\n        case 261:\n        case 263:\n        case 302:\n        case 262:\n          return { commentOwner };\n        case 168: {\n          const host2 = commentOwner;\n          return host2.type && isFunctionTypeNode(host2.type) ? { commentOwner, parameters: host2.type.parameters, hasReturn: hasReturn(host2.type, options) } : { commentOwner };\n        }\n        case 240: {\n          const varStatement = commentOwner;\n          const varDeclarations = varStatement.declarationList.declarations;\n          const host2 = varDeclarations.length === 1 && varDeclarations[0].initializer ? getRightHandSideOfAssignment(varDeclarations[0].initializer) : void 0;\n          return host2 ? { commentOwner, parameters: host2.parameters, hasReturn: hasReturn(host2, options) } : { commentOwner };\n        }\n        case 308:\n          return \"quit\";\n        case 264:\n          return commentOwner.parent.kind === 264 ? void 0 : { commentOwner };\n        case 241:\n          return getCommentOwnerInfoWorker(commentOwner.expression, options);\n        case 223: {\n          const be = commentOwner;\n          if (getAssignmentDeclarationKind(be) === 0) {\n            return \"quit\";\n          }\n          return isFunctionLike(be.right) ? { commentOwner, parameters: be.right.parameters, hasReturn: hasReturn(be.right, options) } : { commentOwner };\n        }\n        case 169:\n          const init = commentOwner.initializer;\n          if (init && (isFunctionExpression(init) || isArrowFunction(init))) {\n            return { commentOwner, parameters: init.parameters, hasReturn: hasReturn(init, options) };\n          }\n      }\n    }\n    function hasReturn(node, options) {\n      return !!(options == null ? void 0 : options.generateReturnInDocTemplate) && (isFunctionTypeNode(node) || isArrowFunction(node) && isExpression(node.body) || isFunctionLikeDeclaration(node) && node.body && isBlock(node.body) && !!forEachReturnStatement(node.body, (n) => n));\n    }\n    function getRightHandSideOfAssignment(rightHandSide) {\n      while (rightHandSide.kind === 214) {\n        rightHandSide = rightHandSide.expression;\n      }\n      switch (rightHandSide.kind) {\n        case 215:\n        case 216:\n          return rightHandSide;\n        case 228:\n          return find(rightHandSide.members, isConstructorDeclaration);\n      }\n    }\n    var jsDocTagNames, jsDocTagNameCompletionEntries, jsDocTagCompletionEntries, getJSDocTagNameCompletionDetails;\n    var init_jsDoc = __esm({\n      \"src/services/jsDoc.ts\"() {\n        \"use strict\";\n        init_ts4();\n        jsDocTagNames = [\n          \"abstract\",\n          \"access\",\n          \"alias\",\n          \"argument\",\n          \"async\",\n          \"augments\",\n          \"author\",\n          \"borrows\",\n          \"callback\",\n          \"class\",\n          \"classdesc\",\n          \"constant\",\n          \"constructor\",\n          \"constructs\",\n          \"copyright\",\n          \"default\",\n          \"deprecated\",\n          \"description\",\n          \"emits\",\n          \"enum\",\n          \"event\",\n          \"example\",\n          \"exports\",\n          \"extends\",\n          \"external\",\n          \"field\",\n          \"file\",\n          \"fileoverview\",\n          \"fires\",\n          \"function\",\n          \"generator\",\n          \"global\",\n          \"hideconstructor\",\n          \"host\",\n          \"ignore\",\n          \"implements\",\n          \"inheritdoc\",\n          \"inner\",\n          \"instance\",\n          \"interface\",\n          \"kind\",\n          \"lends\",\n          \"license\",\n          \"link\",\n          \"linkcode\",\n          \"linkplain\",\n          \"listens\",\n          \"member\",\n          \"memberof\",\n          \"method\",\n          \"mixes\",\n          \"module\",\n          \"name\",\n          \"namespace\",\n          \"overload\",\n          \"override\",\n          \"package\",\n          \"param\",\n          \"private\",\n          \"prop\",\n          \"property\",\n          \"protected\",\n          \"public\",\n          \"readonly\",\n          \"requires\",\n          \"returns\",\n          \"satisfies\",\n          \"see\",\n          \"since\",\n          \"static\",\n          \"summary\",\n          \"template\",\n          \"this\",\n          \"throws\",\n          \"todo\",\n          \"tutorial\",\n          \"type\",\n          \"typedef\",\n          \"var\",\n          \"variation\",\n          \"version\",\n          \"virtual\",\n          \"yields\"\n        ];\n        getJSDocTagNameCompletionDetails = getJSDocTagCompletionDetails;\n      }\n    });\n    var ts_JsDoc_exports = {};\n    __export2(ts_JsDoc_exports, {\n      getDocCommentTemplateAtPosition: () => getDocCommentTemplateAtPosition,\n      getJSDocParameterNameCompletionDetails: () => getJSDocParameterNameCompletionDetails,\n      getJSDocParameterNameCompletions: () => getJSDocParameterNameCompletions,\n      getJSDocTagCompletionDetails: () => getJSDocTagCompletionDetails,\n      getJSDocTagCompletions: () => getJSDocTagCompletions,\n      getJSDocTagNameCompletionDetails: () => getJSDocTagNameCompletionDetails,\n      getJSDocTagNameCompletions: () => getJSDocTagNameCompletions,\n      getJsDocCommentsFromDeclarations: () => getJsDocCommentsFromDeclarations,\n      getJsDocTagsFromDeclarations: () => getJsDocTagsFromDeclarations\n    });\n    var init_ts_JsDoc = __esm({\n      \"src/services/_namespaces/ts.JsDoc.ts\"() {\n        \"use strict\";\n        init_jsDoc();\n      }\n    });\n    function organizeImports(sourceFile, formatContext, host, program, preferences, mode) {\n      const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext({ host, formatContext, preferences });\n      const shouldSort = mode === \"SortAndCombine\" || mode === \"All\";\n      const shouldCombine = shouldSort;\n      const shouldRemove = mode === \"RemoveUnused\" || mode === \"All\";\n      const topLevelImportGroupDecls = groupImportsByNewlineContiguous(sourceFile, sourceFile.statements.filter(isImportDeclaration));\n      const comparer = getOrganizeImportsComparerWithDetection(preferences, shouldSort ? () => detectSortingWorker(topLevelImportGroupDecls, preferences) === 2 : void 0);\n      const processImportsOfSameModuleSpecifier = (importGroup) => {\n        if (shouldRemove)\n          importGroup = removeUnusedImports(importGroup, sourceFile, program);\n        if (shouldCombine)\n          importGroup = coalesceImportsWorker(importGroup, comparer, sourceFile);\n        if (shouldSort)\n          importGroup = stableSort(importGroup, (s1, s2) => compareImportsOrRequireStatements(s1, s2, comparer));\n        return importGroup;\n      };\n      topLevelImportGroupDecls.forEach((importGroupDecl) => organizeImportsWorker(importGroupDecl, processImportsOfSameModuleSpecifier));\n      if (mode !== \"RemoveUnused\") {\n        const topLevelExportDecls = sourceFile.statements.filter(isExportDeclaration);\n        organizeImportsWorker(topLevelExportDecls, (group2) => coalesceExportsWorker(group2, comparer));\n      }\n      for (const ambientModule of sourceFile.statements.filter(isAmbientModule)) {\n        if (!ambientModule.body)\n          continue;\n        const ambientModuleImportGroupDecls = groupImportsByNewlineContiguous(sourceFile, ambientModule.body.statements.filter(isImportDeclaration));\n        ambientModuleImportGroupDecls.forEach((importGroupDecl) => organizeImportsWorker(importGroupDecl, processImportsOfSameModuleSpecifier));\n        if (mode !== \"RemoveUnused\") {\n          const ambientModuleExportDecls = ambientModule.body.statements.filter(isExportDeclaration);\n          organizeImportsWorker(ambientModuleExportDecls, (group2) => coalesceExportsWorker(group2, comparer));\n        }\n      }\n      return changeTracker.getChanges();\n      function organizeImportsWorker(oldImportDecls, coalesce) {\n        if (length(oldImportDecls) === 0) {\n          return;\n        }\n        suppressLeadingTrivia(oldImportDecls[0]);\n        const oldImportGroups = shouldCombine ? group(oldImportDecls, (importDecl) => getExternalModuleName2(importDecl.moduleSpecifier)) : [oldImportDecls];\n        const sortedImportGroups = shouldSort ? stableSort(oldImportGroups, (group1, group2) => compareModuleSpecifiersWorker(group1[0].moduleSpecifier, group2[0].moduleSpecifier, comparer)) : oldImportGroups;\n        const newImportDecls = flatMap(sortedImportGroups, (importGroup) => getExternalModuleName2(importGroup[0].moduleSpecifier) ? coalesce(importGroup) : importGroup);\n        if (newImportDecls.length === 0) {\n          changeTracker.deleteNodes(\n            sourceFile,\n            oldImportDecls,\n            {\n              leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n              trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include\n            },\n            /*hasTrailingComment*/\n            true\n          );\n        } else {\n          const replaceOptions = {\n            leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n            // Leave header comment in place\n            trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include,\n            suffix: getNewLineOrDefaultFromHost(host, formatContext.options)\n          };\n          changeTracker.replaceNodeWithNodes(sourceFile, oldImportDecls[0], newImportDecls, replaceOptions);\n          const hasTrailingComment = changeTracker.nodeHasTrailingComment(sourceFile, oldImportDecls[0], replaceOptions);\n          changeTracker.deleteNodes(sourceFile, oldImportDecls.slice(1), {\n            trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include\n          }, hasTrailingComment);\n        }\n      }\n    }\n    function groupImportsByNewlineContiguous(sourceFile, importDecls) {\n      const scanner2 = createScanner(\n        sourceFile.languageVersion,\n        /*skipTrivia*/\n        false,\n        sourceFile.languageVariant\n      );\n      const groupImports = [];\n      let groupIndex = 0;\n      for (const topLevelImportDecl of importDecls) {\n        if (groupImports[groupIndex] && isNewGroup(sourceFile, topLevelImportDecl, scanner2)) {\n          groupIndex++;\n        }\n        if (!groupImports[groupIndex]) {\n          groupImports[groupIndex] = [];\n        }\n        groupImports[groupIndex].push(topLevelImportDecl);\n      }\n      return groupImports;\n    }\n    function isNewGroup(sourceFile, topLevelImportDecl, scanner2) {\n      const startPos = topLevelImportDecl.getFullStart();\n      const endPos = topLevelImportDecl.getStart();\n      scanner2.setText(sourceFile.text, startPos, endPos - startPos);\n      let numberOfNewLines = 0;\n      while (scanner2.getTokenPos() < endPos) {\n        const tokenKind = scanner2.scan();\n        if (tokenKind === 4) {\n          numberOfNewLines++;\n          if (numberOfNewLines >= 2) {\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n    function removeUnusedImports(oldImports, sourceFile, program) {\n      const typeChecker = program.getTypeChecker();\n      const compilerOptions = program.getCompilerOptions();\n      const jsxNamespace = typeChecker.getJsxNamespace(sourceFile);\n      const jsxFragmentFactory = typeChecker.getJsxFragmentFactory(sourceFile);\n      const jsxElementsPresent = !!(sourceFile.transformFlags & 2);\n      const usedImports = [];\n      for (const importDecl of oldImports) {\n        const { importClause, moduleSpecifier } = importDecl;\n        if (!importClause) {\n          usedImports.push(importDecl);\n          continue;\n        }\n        let { name, namedBindings } = importClause;\n        if (name && !isDeclarationUsed(name)) {\n          name = void 0;\n        }\n        if (namedBindings) {\n          if (isNamespaceImport(namedBindings)) {\n            if (!isDeclarationUsed(namedBindings.name)) {\n              namedBindings = void 0;\n            }\n          } else {\n            const newElements = namedBindings.elements.filter((e) => isDeclarationUsed(e.name));\n            if (newElements.length < namedBindings.elements.length) {\n              namedBindings = newElements.length ? factory.updateNamedImports(namedBindings, newElements) : void 0;\n            }\n          }\n        }\n        if (name || namedBindings) {\n          usedImports.push(updateImportDeclarationAndClause(importDecl, name, namedBindings));\n        } else if (hasModuleDeclarationMatchingSpecifier(sourceFile, moduleSpecifier)) {\n          if (sourceFile.isDeclarationFile) {\n            usedImports.push(factory.createImportDeclaration(\n              importDecl.modifiers,\n              /*importClause*/\n              void 0,\n              moduleSpecifier,\n              /*assertClause*/\n              void 0\n            ));\n          } else {\n            usedImports.push(importDecl);\n          }\n        }\n      }\n      return usedImports;\n      function isDeclarationUsed(identifier) {\n        return jsxElementsPresent && (identifier.text === jsxNamespace || jsxFragmentFactory && identifier.text === jsxFragmentFactory) && jsxModeNeedsExplicitImport(compilerOptions.jsx) || ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(identifier, typeChecker, sourceFile);\n      }\n    }\n    function hasModuleDeclarationMatchingSpecifier(sourceFile, moduleSpecifier) {\n      const moduleSpecifierText = isStringLiteral(moduleSpecifier) && moduleSpecifier.text;\n      return isString2(moduleSpecifierText) && some(sourceFile.moduleAugmentations, (moduleName) => isStringLiteral(moduleName) && moduleName.text === moduleSpecifierText);\n    }\n    function getExternalModuleName2(specifier) {\n      return specifier !== void 0 && isStringLiteralLike(specifier) ? specifier.text : void 0;\n    }\n    function coalesceImports(importGroup, ignoreCase, sourceFile) {\n      const comparer = getOrganizeImportsOrdinalStringComparer(ignoreCase);\n      return coalesceImportsWorker(importGroup, comparer, sourceFile);\n    }\n    function coalesceImportsWorker(importGroup, comparer, sourceFile) {\n      if (importGroup.length === 0) {\n        return importGroup;\n      }\n      const { importWithoutClause, typeOnlyImports, regularImports } = getCategorizedImports(importGroup);\n      const coalescedImports = [];\n      if (importWithoutClause) {\n        coalescedImports.push(importWithoutClause);\n      }\n      for (const group2 of [regularImports, typeOnlyImports]) {\n        const isTypeOnly = group2 === typeOnlyImports;\n        const { defaultImports, namespaceImports, namedImports } = group2;\n        if (!isTypeOnly && defaultImports.length === 1 && namespaceImports.length === 1 && namedImports.length === 0) {\n          const defaultImport = defaultImports[0];\n          coalescedImports.push(\n            updateImportDeclarationAndClause(defaultImport, defaultImport.importClause.name, namespaceImports[0].importClause.namedBindings)\n          );\n          continue;\n        }\n        const sortedNamespaceImports = stableSort(namespaceImports, (i1, i2) => comparer(i1.importClause.namedBindings.name.text, i2.importClause.namedBindings.name.text));\n        for (const namespaceImport of sortedNamespaceImports) {\n          coalescedImports.push(\n            updateImportDeclarationAndClause(\n              namespaceImport,\n              /*name*/\n              void 0,\n              namespaceImport.importClause.namedBindings\n            )\n          );\n        }\n        const firstDefaultImport = firstOrUndefined(defaultImports);\n        const firstNamedImport = firstOrUndefined(namedImports);\n        const importDecl = firstDefaultImport != null ? firstDefaultImport : firstNamedImport;\n        if (!importDecl) {\n          continue;\n        }\n        let newDefaultImport;\n        const newImportSpecifiers = [];\n        if (defaultImports.length === 1) {\n          newDefaultImport = defaultImports[0].importClause.name;\n        } else {\n          for (const defaultImport of defaultImports) {\n            newImportSpecifiers.push(\n              factory.createImportSpecifier(\n                /*isTypeOnly*/\n                false,\n                factory.createIdentifier(\"default\"),\n                defaultImport.importClause.name\n              )\n            );\n          }\n        }\n        newImportSpecifiers.push(...getNewImportSpecifiers(namedImports));\n        const sortedImportSpecifiers = factory.createNodeArray(\n          sortSpecifiers(newImportSpecifiers, comparer),\n          firstNamedImport == null ? void 0 : firstNamedImport.importClause.namedBindings.elements.hasTrailingComma\n        );\n        const newNamedImports = sortedImportSpecifiers.length === 0 ? newDefaultImport ? void 0 : factory.createNamedImports(emptyArray) : firstNamedImport ? factory.updateNamedImports(firstNamedImport.importClause.namedBindings, sortedImportSpecifiers) : factory.createNamedImports(sortedImportSpecifiers);\n        if (sourceFile && newNamedImports && (firstNamedImport == null ? void 0 : firstNamedImport.importClause.namedBindings) && !rangeIsOnSingleLine(firstNamedImport.importClause.namedBindings, sourceFile)) {\n          setEmitFlags(\n            newNamedImports,\n            2\n            /* MultiLine */\n          );\n        }\n        if (isTypeOnly && newDefaultImport && newNamedImports) {\n          coalescedImports.push(\n            updateImportDeclarationAndClause(\n              importDecl,\n              newDefaultImport,\n              /*namedBindings*/\n              void 0\n            )\n          );\n          coalescedImports.push(\n            updateImportDeclarationAndClause(\n              firstNamedImport != null ? firstNamedImport : importDecl,\n              /*name*/\n              void 0,\n              newNamedImports\n            )\n          );\n        } else {\n          coalescedImports.push(\n            updateImportDeclarationAndClause(importDecl, newDefaultImport, newNamedImports)\n          );\n        }\n      }\n      return coalescedImports;\n    }\n    function getCategorizedImports(importGroup) {\n      let importWithoutClause;\n      const typeOnlyImports = { defaultImports: [], namespaceImports: [], namedImports: [] };\n      const regularImports = { defaultImports: [], namespaceImports: [], namedImports: [] };\n      for (const importDeclaration of importGroup) {\n        if (importDeclaration.importClause === void 0) {\n          importWithoutClause = importWithoutClause || importDeclaration;\n          continue;\n        }\n        const group2 = importDeclaration.importClause.isTypeOnly ? typeOnlyImports : regularImports;\n        const { name, namedBindings } = importDeclaration.importClause;\n        if (name) {\n          group2.defaultImports.push(importDeclaration);\n        }\n        if (namedBindings) {\n          if (isNamespaceImport(namedBindings)) {\n            group2.namespaceImports.push(importDeclaration);\n          } else {\n            group2.namedImports.push(importDeclaration);\n          }\n        }\n      }\n      return {\n        importWithoutClause,\n        typeOnlyImports,\n        regularImports\n      };\n    }\n    function coalesceExports(exportGroup, ignoreCase) {\n      const comparer = getOrganizeImportsOrdinalStringComparer(ignoreCase);\n      return coalesceExportsWorker(exportGroup, comparer);\n    }\n    function coalesceExportsWorker(exportGroup, comparer) {\n      if (exportGroup.length === 0) {\n        return exportGroup;\n      }\n      const { exportWithoutClause, namedExports, typeOnlyExports } = getCategorizedExports(exportGroup);\n      const coalescedExports = [];\n      if (exportWithoutClause) {\n        coalescedExports.push(exportWithoutClause);\n      }\n      for (const exportGroup2 of [namedExports, typeOnlyExports]) {\n        if (exportGroup2.length === 0) {\n          continue;\n        }\n        const newExportSpecifiers = [];\n        newExportSpecifiers.push(...flatMap(exportGroup2, (i) => i.exportClause && isNamedExports(i.exportClause) ? i.exportClause.elements : emptyArray));\n        const sortedExportSpecifiers = sortSpecifiers(newExportSpecifiers, comparer);\n        const exportDecl = exportGroup2[0];\n        coalescedExports.push(\n          factory.updateExportDeclaration(\n            exportDecl,\n            exportDecl.modifiers,\n            exportDecl.isTypeOnly,\n            exportDecl.exportClause && (isNamedExports(exportDecl.exportClause) ? factory.updateNamedExports(exportDecl.exportClause, sortedExportSpecifiers) : factory.updateNamespaceExport(exportDecl.exportClause, exportDecl.exportClause.name)),\n            exportDecl.moduleSpecifier,\n            exportDecl.assertClause\n          )\n        );\n      }\n      return coalescedExports;\n      function getCategorizedExports(exportGroup2) {\n        let exportWithoutClause2;\n        const namedExports2 = [];\n        const typeOnlyExports2 = [];\n        for (const exportDeclaration of exportGroup2) {\n          if (exportDeclaration.exportClause === void 0) {\n            exportWithoutClause2 = exportWithoutClause2 || exportDeclaration;\n          } else if (exportDeclaration.isTypeOnly) {\n            typeOnlyExports2.push(exportDeclaration);\n          } else {\n            namedExports2.push(exportDeclaration);\n          }\n        }\n        return {\n          exportWithoutClause: exportWithoutClause2,\n          namedExports: namedExports2,\n          typeOnlyExports: typeOnlyExports2\n        };\n      }\n    }\n    function updateImportDeclarationAndClause(importDeclaration, name, namedBindings) {\n      return factory.updateImportDeclaration(\n        importDeclaration,\n        importDeclaration.modifiers,\n        factory.updateImportClause(importDeclaration.importClause, importDeclaration.importClause.isTypeOnly, name, namedBindings),\n        // TODO: GH#18217\n        importDeclaration.moduleSpecifier,\n        importDeclaration.assertClause\n      );\n    }\n    function sortSpecifiers(specifiers, comparer) {\n      return stableSort(specifiers, (s1, s2) => compareImportOrExportSpecifiers(s1, s2, comparer));\n    }\n    function compareImportOrExportSpecifiers(s1, s2, comparer) {\n      return compareBooleans(s1.isTypeOnly, s2.isTypeOnly) || comparer(s1.name.text, s2.name.text);\n    }\n    function compareModuleSpecifiers2(m1, m2, ignoreCase) {\n      const comparer = getOrganizeImportsOrdinalStringComparer(!!ignoreCase);\n      return compareModuleSpecifiersWorker(m1, m2, comparer);\n    }\n    function compareModuleSpecifiersWorker(m1, m2, comparer) {\n      const name1 = m1 === void 0 ? void 0 : getExternalModuleName2(m1);\n      const name2 = m2 === void 0 ? void 0 : getExternalModuleName2(m2);\n      return compareBooleans(name1 === void 0, name2 === void 0) || compareBooleans(isExternalModuleNameRelative(name1), isExternalModuleNameRelative(name2)) || // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n      comparer(name1, name2);\n    }\n    function getModuleSpecifierExpression(declaration) {\n      var _a22;\n      switch (declaration.kind) {\n        case 268:\n          return (_a22 = tryCast(declaration.moduleReference, isExternalModuleReference)) == null ? void 0 : _a22.expression;\n        case 269:\n          return declaration.moduleSpecifier;\n        case 240:\n          return declaration.declarationList.declarations[0].initializer.arguments[0];\n      }\n    }\n    function detectSorting(sourceFile, preferences) {\n      return detectSortingWorker(\n        groupImportsByNewlineContiguous(sourceFile, sourceFile.statements.filter(isImportDeclaration)),\n        preferences\n      );\n    }\n    function detectSortingWorker(importGroups, preferences) {\n      const collateCaseSensitive = getOrganizeImportsComparer(\n        preferences,\n        /*ignoreCase*/\n        false\n      );\n      const collateCaseInsensitive = getOrganizeImportsComparer(\n        preferences,\n        /*ignoreCase*/\n        true\n      );\n      let sortState = 3;\n      let seenUnsortedGroup = false;\n      for (const importGroup of importGroups) {\n        if (importGroup.length > 1) {\n          const moduleSpecifierSort = detectSortCaseSensitivity(\n            importGroup,\n            (i) => {\n              var _a22, _b3;\n              return (_b3 = (_a22 = tryCast(i.moduleSpecifier, isStringLiteral)) == null ? void 0 : _a22.text) != null ? _b3 : \"\";\n            },\n            collateCaseSensitive,\n            collateCaseInsensitive\n          );\n          if (moduleSpecifierSort) {\n            sortState &= moduleSpecifierSort;\n            seenUnsortedGroup = true;\n          }\n          if (!sortState) {\n            return sortState;\n          }\n        }\n        const declarationWithNamedImports = find(\n          importGroup,\n          (i) => {\n            var _a22, _b3;\n            return ((_b3 = tryCast((_a22 = i.importClause) == null ? void 0 : _a22.namedBindings, isNamedImports)) == null ? void 0 : _b3.elements.length) > 1;\n          }\n        );\n        if (declarationWithNamedImports) {\n          const namedImportSort = detectImportSpecifierSorting(declarationWithNamedImports.importClause.namedBindings.elements, preferences);\n          if (namedImportSort) {\n            sortState &= namedImportSort;\n            seenUnsortedGroup = true;\n          }\n          if (!sortState) {\n            return sortState;\n          }\n        }\n        if (sortState !== 3) {\n          return sortState;\n        }\n      }\n      return seenUnsortedGroup ? 0 : sortState;\n    }\n    function detectImportDeclarationSorting(imports, preferences) {\n      const collateCaseSensitive = getOrganizeImportsComparer(\n        preferences,\n        /*ignoreCase*/\n        false\n      );\n      const collateCaseInsensitive = getOrganizeImportsComparer(\n        preferences,\n        /*ignoreCase*/\n        true\n      );\n      return detectSortCaseSensitivity(\n        imports,\n        (s) => getExternalModuleName2(getModuleSpecifierExpression(s)) || \"\",\n        collateCaseSensitive,\n        collateCaseInsensitive\n      );\n    }\n    function getImportDeclarationInsertionIndex(sortedImports, newImport, comparer) {\n      const index = binarySearch(sortedImports, newImport, identity2, (a, b) => compareImportsOrRequireStatements(a, b, comparer));\n      return index < 0 ? ~index : index;\n    }\n    function getImportSpecifierInsertionIndex(sortedImports, newImport, comparer) {\n      const index = binarySearch(sortedImports, newImport, identity2, (s1, s2) => compareImportOrExportSpecifiers(s1, s2, comparer));\n      return index < 0 ? ~index : index;\n    }\n    function compareImportsOrRequireStatements(s1, s2, comparer) {\n      return compareModuleSpecifiersWorker(getModuleSpecifierExpression(s1), getModuleSpecifierExpression(s2), comparer) || compareImportKind(s1, s2);\n    }\n    function compareImportKind(s1, s2) {\n      return compareValues(getImportKindOrder(s1), getImportKindOrder(s2));\n    }\n    function getImportKindOrder(s1) {\n      var _a22;\n      switch (s1.kind) {\n        case 269:\n          if (!s1.importClause)\n            return 0;\n          if (s1.importClause.isTypeOnly)\n            return 1;\n          if (((_a22 = s1.importClause.namedBindings) == null ? void 0 : _a22.kind) === 271)\n            return 2;\n          if (s1.importClause.name)\n            return 3;\n          return 4;\n        case 268:\n          return 5;\n        case 240:\n          return 6;\n      }\n    }\n    function getNewImportSpecifiers(namedImports) {\n      return flatMap(\n        namedImports,\n        (namedImport) => map(\n          tryGetNamedBindingElements(namedImport),\n          (importSpecifier) => importSpecifier.name && importSpecifier.propertyName && importSpecifier.name.escapedText === importSpecifier.propertyName.escapedText ? factory.updateImportSpecifier(\n            importSpecifier,\n            importSpecifier.isTypeOnly,\n            /*propertyName*/\n            void 0,\n            importSpecifier.name\n          ) : importSpecifier\n        )\n      );\n    }\n    function tryGetNamedBindingElements(namedImport) {\n      var _a22;\n      return ((_a22 = namedImport.importClause) == null ? void 0 : _a22.namedBindings) && isNamedImports(namedImport.importClause.namedBindings) ? namedImport.importClause.namedBindings.elements : void 0;\n    }\n    function getOrganizeImportsOrdinalStringComparer(ignoreCase) {\n      return ignoreCase ? compareStringsCaseInsensitiveEslintCompatible : compareStringsCaseSensitive;\n    }\n    function getOrganizeImportsUnicodeStringComparer(ignoreCase, preferences) {\n      var _a22, _b3, _c;\n      const resolvedLocale = getOrganizeImportsLocale(preferences);\n      const caseFirst = (_a22 = preferences.organizeImportsCaseFirst) != null ? _a22 : false;\n      const numeric = (_b3 = preferences.organizeImportsNumericCollation) != null ? _b3 : false;\n      const accents = (_c = preferences.organizeImportsAccentCollation) != null ? _c : true;\n      const sensitivity = ignoreCase ? accents ? \"accent\" : \"base\" : accents ? \"variant\" : \"case\";\n      const collator = new Intl.Collator(resolvedLocale, {\n        usage: \"sort\",\n        caseFirst: caseFirst || \"false\",\n        sensitivity,\n        numeric\n      });\n      return collator.compare;\n    }\n    function getOrganizeImportsLocale(preferences) {\n      let locale = preferences.organizeImportsLocale;\n      if (locale === \"auto\")\n        locale = getUILocale();\n      if (locale === void 0)\n        locale = \"en\";\n      const supportedLocales = Intl.Collator.supportedLocalesOf(locale);\n      const resolvedLocale = supportedLocales.length ? supportedLocales[0] : \"en\";\n      return resolvedLocale;\n    }\n    function getOrganizeImportsComparer(preferences, ignoreCase) {\n      var _a22;\n      const collation = (_a22 = preferences.organizeImportsCollation) != null ? _a22 : \"ordinal\";\n      return collation === \"unicode\" ? getOrganizeImportsUnicodeStringComparer(ignoreCase, preferences) : getOrganizeImportsOrdinalStringComparer(ignoreCase);\n    }\n    function getOrganizeImportsComparerWithDetection(preferences, detectIgnoreCase) {\n      var _a22;\n      const ignoreCase = typeof preferences.organizeImportsIgnoreCase === \"boolean\" ? preferences.organizeImportsIgnoreCase : (_a22 = detectIgnoreCase == null ? void 0 : detectIgnoreCase()) != null ? _a22 : false;\n      return getOrganizeImportsComparer(preferences, ignoreCase);\n    }\n    var ImportSpecifierSortingCache, detectImportSpecifierSorting;\n    var init_organizeImports = __esm({\n      \"src/services/organizeImports.ts\"() {\n        \"use strict\";\n        init_ts4();\n        ImportSpecifierSortingCache = class {\n          has([specifiers, preferences]) {\n            if (this._lastPreferences !== preferences || !this._cache)\n              return false;\n            return this._cache.has(specifiers);\n          }\n          get([specifiers, preferences]) {\n            if (this._lastPreferences !== preferences || !this._cache)\n              return void 0;\n            return this._cache.get(specifiers);\n          }\n          set([specifiers, preferences], value) {\n            var _a22;\n            if (this._lastPreferences !== preferences) {\n              this._lastPreferences = preferences;\n              this._cache = void 0;\n            }\n            (_a22 = this._cache) != null ? _a22 : this._cache = /* @__PURE__ */ new WeakMap();\n            this._cache.set(specifiers, value);\n          }\n        };\n        detectImportSpecifierSorting = memoizeCached((specifiers, preferences) => {\n          if (!arrayIsSorted(specifiers, (s1, s2) => compareBooleans(s1.isTypeOnly, s2.isTypeOnly))) {\n            return 0;\n          }\n          const collateCaseSensitive = getOrganizeImportsComparer(\n            preferences,\n            /*ignoreCase*/\n            false\n          );\n          const collateCaseInsensitive = getOrganizeImportsComparer(\n            preferences,\n            /*ignoreCase*/\n            true\n          );\n          return detectSortCaseSensitivity(specifiers, (specifier) => specifier.name.text, collateCaseSensitive, collateCaseInsensitive);\n        }, new ImportSpecifierSortingCache());\n      }\n    });\n    var ts_OrganizeImports_exports = {};\n    __export2(ts_OrganizeImports_exports, {\n      coalesceExports: () => coalesceExports,\n      coalesceImports: () => coalesceImports,\n      compareImportOrExportSpecifiers: () => compareImportOrExportSpecifiers,\n      compareImportsOrRequireStatements: () => compareImportsOrRequireStatements,\n      compareModuleSpecifiers: () => compareModuleSpecifiers2,\n      detectImportDeclarationSorting: () => detectImportDeclarationSorting,\n      detectImportSpecifierSorting: () => detectImportSpecifierSorting,\n      detectSorting: () => detectSorting,\n      getImportDeclarationInsertionIndex: () => getImportDeclarationInsertionIndex,\n      getImportSpecifierInsertionIndex: () => getImportSpecifierInsertionIndex,\n      getOrganizeImportsComparer: () => getOrganizeImportsComparer,\n      organizeImports: () => organizeImports\n    });\n    var init_ts_OrganizeImports = __esm({\n      \"src/services/_namespaces/ts.OrganizeImports.ts\"() {\n        \"use strict\";\n        init_organizeImports();\n      }\n    });\n    function collectElements(sourceFile, cancellationToken) {\n      const res = [];\n      addNodeOutliningSpans(sourceFile, cancellationToken, res);\n      addRegionOutliningSpans(sourceFile, res);\n      return res.sort((span1, span2) => span1.textSpan.start - span2.textSpan.start);\n    }\n    function addNodeOutliningSpans(sourceFile, cancellationToken, out) {\n      let depthRemaining = 40;\n      let current = 0;\n      const statements = [...sourceFile.statements, sourceFile.endOfFileToken];\n      const n = statements.length;\n      while (current < n) {\n        while (current < n && !isAnyImportSyntax(statements[current])) {\n          visitNode3(statements[current]);\n          current++;\n        }\n        if (current === n)\n          break;\n        const firstImport = current;\n        while (current < n && isAnyImportSyntax(statements[current])) {\n          visitNode3(statements[current]);\n          current++;\n        }\n        const lastImport = current - 1;\n        if (lastImport !== firstImport) {\n          out.push(createOutliningSpanFromBounds(\n            findChildOfKind(statements[firstImport], 100, sourceFile).getStart(sourceFile),\n            statements[lastImport].getEnd(),\n            \"imports\"\n            /* Imports */\n          ));\n        }\n      }\n      function visitNode3(n2) {\n        var _a22;\n        if (depthRemaining === 0)\n          return;\n        cancellationToken.throwIfCancellationRequested();\n        if (isDeclaration(n2) || isVariableStatement(n2) || isReturnStatement(n2) || isCallOrNewExpression(n2) || n2.kind === 1) {\n          addOutliningForLeadingCommentsForNode(n2, sourceFile, cancellationToken, out);\n        }\n        if (isFunctionLike(n2) && isBinaryExpression(n2.parent) && isPropertyAccessExpression(n2.parent.left)) {\n          addOutliningForLeadingCommentsForNode(n2.parent.left, sourceFile, cancellationToken, out);\n        }\n        if (isBlock(n2) || isModuleBlock(n2)) {\n          addOutliningForLeadingCommentsForPos(n2.statements.end, sourceFile, cancellationToken, out);\n        }\n        if (isClassLike(n2) || isInterfaceDeclaration(n2)) {\n          addOutliningForLeadingCommentsForPos(n2.members.end, sourceFile, cancellationToken, out);\n        }\n        const span = getOutliningSpanForNode(n2, sourceFile);\n        if (span)\n          out.push(span);\n        depthRemaining--;\n        if (isCallExpression(n2)) {\n          depthRemaining++;\n          visitNode3(n2.expression);\n          depthRemaining--;\n          n2.arguments.forEach(visitNode3);\n          (_a22 = n2.typeArguments) == null ? void 0 : _a22.forEach(visitNode3);\n        } else if (isIfStatement(n2) && n2.elseStatement && isIfStatement(n2.elseStatement)) {\n          visitNode3(n2.expression);\n          visitNode3(n2.thenStatement);\n          depthRemaining++;\n          visitNode3(n2.elseStatement);\n          depthRemaining--;\n        } else {\n          n2.forEachChild(visitNode3);\n        }\n        depthRemaining++;\n      }\n    }\n    function addRegionOutliningSpans(sourceFile, out) {\n      const regions = [];\n      const lineStarts = sourceFile.getLineStarts();\n      for (const currentLineStart of lineStarts) {\n        const lineEnd = sourceFile.getLineEndOfPosition(currentLineStart);\n        const lineText = sourceFile.text.substring(currentLineStart, lineEnd);\n        const result = isRegionDelimiter(lineText);\n        if (!result || isInComment(sourceFile, currentLineStart)) {\n          continue;\n        }\n        if (!result[1]) {\n          const span = createTextSpanFromBounds(sourceFile.text.indexOf(\"//\", currentLineStart), lineEnd);\n          regions.push(createOutliningSpan(\n            span,\n            \"region\",\n            span,\n            /*autoCollapse*/\n            false,\n            result[2] || \"#region\"\n          ));\n        } else {\n          const region = regions.pop();\n          if (region) {\n            region.textSpan.length = lineEnd - region.textSpan.start;\n            region.hintSpan.length = lineEnd - region.textSpan.start;\n            out.push(region);\n          }\n        }\n      }\n    }\n    function isRegionDelimiter(lineText) {\n      lineText = trimStringStart(lineText);\n      if (!startsWith(lineText, \"//\")) {\n        return null;\n      }\n      lineText = trimString(lineText.slice(2));\n      return regionDelimiterRegExp.exec(lineText);\n    }\n    function addOutliningForLeadingCommentsForPos(pos, sourceFile, cancellationToken, out) {\n      const comments = getLeadingCommentRanges(sourceFile.text, pos);\n      if (!comments)\n        return;\n      let firstSingleLineCommentStart = -1;\n      let lastSingleLineCommentEnd = -1;\n      let singleLineCommentCount = 0;\n      const sourceText = sourceFile.getFullText();\n      for (const { kind, pos: pos2, end } of comments) {\n        cancellationToken.throwIfCancellationRequested();\n        switch (kind) {\n          case 2:\n            const commentText = sourceText.slice(pos2, end);\n            if (isRegionDelimiter(commentText)) {\n              combineAndAddMultipleSingleLineComments();\n              singleLineCommentCount = 0;\n              break;\n            }\n            if (singleLineCommentCount === 0) {\n              firstSingleLineCommentStart = pos2;\n            }\n            lastSingleLineCommentEnd = end;\n            singleLineCommentCount++;\n            break;\n          case 3:\n            combineAndAddMultipleSingleLineComments();\n            out.push(createOutliningSpanFromBounds(\n              pos2,\n              end,\n              \"comment\"\n              /* Comment */\n            ));\n            singleLineCommentCount = 0;\n            break;\n          default:\n            Debug2.assertNever(kind);\n        }\n      }\n      combineAndAddMultipleSingleLineComments();\n      function combineAndAddMultipleSingleLineComments() {\n        if (singleLineCommentCount > 1) {\n          out.push(createOutliningSpanFromBounds(\n            firstSingleLineCommentStart,\n            lastSingleLineCommentEnd,\n            \"comment\"\n            /* Comment */\n          ));\n        }\n      }\n    }\n    function addOutliningForLeadingCommentsForNode(n, sourceFile, cancellationToken, out) {\n      if (isJsxText(n))\n        return;\n      addOutliningForLeadingCommentsForPos(n.pos, sourceFile, cancellationToken, out);\n    }\n    function createOutliningSpanFromBounds(pos, end, kind) {\n      return createOutliningSpan(createTextSpanFromBounds(pos, end), kind);\n    }\n    function getOutliningSpanForNode(n, sourceFile) {\n      switch (n.kind) {\n        case 238:\n          if (isFunctionLike(n.parent)) {\n            return functionSpan(n.parent, n, sourceFile);\n          }\n          switch (n.parent.kind) {\n            case 243:\n            case 246:\n            case 247:\n            case 245:\n            case 242:\n            case 244:\n            case 251:\n            case 295:\n              return spanForNode(n.parent);\n            case 255:\n              const tryStatement = n.parent;\n              if (tryStatement.tryBlock === n) {\n                return spanForNode(n.parent);\n              } else if (tryStatement.finallyBlock === n) {\n                const node = findChildOfKind(tryStatement, 96, sourceFile);\n                if (node)\n                  return spanForNode(node);\n              }\n            default:\n              return createOutliningSpan(\n                createTextSpanFromNode(n, sourceFile),\n                \"code\"\n                /* Code */\n              );\n          }\n        case 265:\n          return spanForNode(n.parent);\n        case 260:\n        case 228:\n        case 261:\n        case 263:\n        case 266:\n        case 184:\n        case 203:\n          return spanForNode(n);\n        case 186:\n          return spanForNode(\n            n,\n            /*autoCollapse*/\n            false,\n            /*useFullStart*/\n            !isTupleTypeNode(n.parent),\n            22\n            /* OpenBracketToken */\n          );\n        case 292:\n        case 293:\n          return spanForNodeArray(n.statements);\n        case 207:\n          return spanForObjectOrArrayLiteral(n);\n        case 206:\n          return spanForObjectOrArrayLiteral(\n            n,\n            22\n            /* OpenBracketToken */\n          );\n        case 281:\n          return spanForJSXElement(n);\n        case 285:\n          return spanForJSXFragment(n);\n        case 282:\n        case 283:\n          return spanForJSXAttributes(n.attributes);\n        case 225:\n        case 14:\n          return spanForTemplateLiteral(n);\n        case 204:\n          return spanForNode(\n            n,\n            /*autoCollapse*/\n            false,\n            /*useFullStart*/\n            !isBindingElement(n.parent),\n            22\n            /* OpenBracketToken */\n          );\n        case 216:\n          return spanForArrowFunction(n);\n        case 210:\n          return spanForCallExpression(n);\n        case 214:\n          return spanForParenthesizedExpression(n);\n        case 272:\n        case 276:\n        case 296:\n          return spanForNamedImportsOrExportsOrAssertClause(n);\n      }\n      function spanForNamedImportsOrExportsOrAssertClause(node) {\n        if (!node.elements.length) {\n          return void 0;\n        }\n        const openToken = findChildOfKind(node, 18, sourceFile);\n        const closeToken = findChildOfKind(node, 19, sourceFile);\n        if (!openToken || !closeToken || positionsAreOnSameLine(openToken.pos, closeToken.pos, sourceFile)) {\n          return void 0;\n        }\n        return spanBetweenTokens(\n          openToken,\n          closeToken,\n          node,\n          sourceFile,\n          /*autoCollapse*/\n          false,\n          /*useFullStart*/\n          false\n        );\n      }\n      function spanForCallExpression(node) {\n        if (!node.arguments.length) {\n          return void 0;\n        }\n        const openToken = findChildOfKind(node, 20, sourceFile);\n        const closeToken = findChildOfKind(node, 21, sourceFile);\n        if (!openToken || !closeToken || positionsAreOnSameLine(openToken.pos, closeToken.pos, sourceFile)) {\n          return void 0;\n        }\n        return spanBetweenTokens(\n          openToken,\n          closeToken,\n          node,\n          sourceFile,\n          /*autoCollapse*/\n          false,\n          /*useFullStart*/\n          true\n        );\n      }\n      function spanForArrowFunction(node) {\n        if (isBlock(node.body) || isParenthesizedExpression(node.body) || positionsAreOnSameLine(node.body.getFullStart(), node.body.getEnd(), sourceFile)) {\n          return void 0;\n        }\n        const textSpan = createTextSpanFromBounds(node.body.getFullStart(), node.body.getEnd());\n        return createOutliningSpan(textSpan, \"code\", createTextSpanFromNode(node));\n      }\n      function spanForJSXElement(node) {\n        const textSpan = createTextSpanFromBounds(node.openingElement.getStart(sourceFile), node.closingElement.getEnd());\n        const tagName = node.openingElement.tagName.getText(sourceFile);\n        const bannerText = \"<\" + tagName + \">...</\" + tagName + \">\";\n        return createOutliningSpan(\n          textSpan,\n          \"code\",\n          textSpan,\n          /*autoCollapse*/\n          false,\n          bannerText\n        );\n      }\n      function spanForJSXFragment(node) {\n        const textSpan = createTextSpanFromBounds(node.openingFragment.getStart(sourceFile), node.closingFragment.getEnd());\n        const bannerText = \"<>...</>\";\n        return createOutliningSpan(\n          textSpan,\n          \"code\",\n          textSpan,\n          /*autoCollapse*/\n          false,\n          bannerText\n        );\n      }\n      function spanForJSXAttributes(node) {\n        if (node.properties.length === 0) {\n          return void 0;\n        }\n        return createOutliningSpanFromBounds(\n          node.getStart(sourceFile),\n          node.getEnd(),\n          \"code\"\n          /* Code */\n        );\n      }\n      function spanForTemplateLiteral(node) {\n        if (node.kind === 14 && node.text.length === 0) {\n          return void 0;\n        }\n        return createOutliningSpanFromBounds(\n          node.getStart(sourceFile),\n          node.getEnd(),\n          \"code\"\n          /* Code */\n        );\n      }\n      function spanForObjectOrArrayLiteral(node, open = 18) {\n        return spanForNode(\n          node,\n          /*autoCollapse*/\n          false,\n          /*useFullStart*/\n          !isArrayLiteralExpression(node.parent) && !isCallExpression(node.parent),\n          open\n        );\n      }\n      function spanForNode(hintSpanNode, autoCollapse = false, useFullStart = true, open = 18, close = open === 18 ? 19 : 23) {\n        const openToken = findChildOfKind(n, open, sourceFile);\n        const closeToken = findChildOfKind(n, close, sourceFile);\n        return openToken && closeToken && spanBetweenTokens(openToken, closeToken, hintSpanNode, sourceFile, autoCollapse, useFullStart);\n      }\n      function spanForNodeArray(nodeArray) {\n        return nodeArray.length ? createOutliningSpan(\n          createTextSpanFromRange(nodeArray),\n          \"code\"\n          /* Code */\n        ) : void 0;\n      }\n      function spanForParenthesizedExpression(node) {\n        if (positionsAreOnSameLine(node.getStart(), node.getEnd(), sourceFile))\n          return void 0;\n        const textSpan = createTextSpanFromBounds(node.getStart(), node.getEnd());\n        return createOutliningSpan(textSpan, \"code\", createTextSpanFromNode(node));\n      }\n    }\n    function functionSpan(node, body, sourceFile) {\n      const openToken = tryGetFunctionOpenToken(node, body, sourceFile);\n      const closeToken = findChildOfKind(body, 19, sourceFile);\n      return openToken && closeToken && spanBetweenTokens(\n        openToken,\n        closeToken,\n        node,\n        sourceFile,\n        /*autoCollapse*/\n        node.kind !== 216\n        /* ArrowFunction */\n      );\n    }\n    function spanBetweenTokens(openToken, closeToken, hintSpanNode, sourceFile, autoCollapse = false, useFullStart = true) {\n      const textSpan = createTextSpanFromBounds(useFullStart ? openToken.getFullStart() : openToken.getStart(sourceFile), closeToken.getEnd());\n      return createOutliningSpan(textSpan, \"code\", createTextSpanFromNode(hintSpanNode, sourceFile), autoCollapse);\n    }\n    function createOutliningSpan(textSpan, kind, hintSpan = textSpan, autoCollapse = false, bannerText = \"...\") {\n      return { textSpan, kind, hintSpan, bannerText, autoCollapse };\n    }\n    function tryGetFunctionOpenToken(node, body, sourceFile) {\n      if (isNodeArrayMultiLine(node.parameters, sourceFile)) {\n        const openParenToken = findChildOfKind(node, 20, sourceFile);\n        if (openParenToken) {\n          return openParenToken;\n        }\n      }\n      return findChildOfKind(body, 18, sourceFile);\n    }\n    var regionDelimiterRegExp;\n    var init_outliningElementsCollector = __esm({\n      \"src/services/outliningElementsCollector.ts\"() {\n        \"use strict\";\n        init_ts4();\n        regionDelimiterRegExp = /^#(end)?region(?:\\s+(.*))?(?:\\r)?$/;\n      }\n    });\n    var ts_OutliningElementsCollector_exports = {};\n    __export2(ts_OutliningElementsCollector_exports, {\n      collectElements: () => collectElements\n    });\n    var init_ts_OutliningElementsCollector = __esm({\n      \"src/services/_namespaces/ts.OutliningElementsCollector.ts\"() {\n        \"use strict\";\n        init_outliningElementsCollector();\n      }\n    });\n    function registerRefactor(name, refactor) {\n      refactors.set(name, refactor);\n    }\n    function getApplicableRefactors(context) {\n      return arrayFrom(flatMapIterator(refactors.values(), (refactor) => {\n        var _a22;\n        return context.cancellationToken && context.cancellationToken.isCancellationRequested() || !((_a22 = refactor.kinds) == null ? void 0 : _a22.some((kind) => refactorKindBeginsWith(kind, context.kind))) ? void 0 : refactor.getAvailableActions(context);\n      }));\n    }\n    function getEditsForRefactor(context, refactorName13, actionName2) {\n      const refactor = refactors.get(refactorName13);\n      return refactor && refactor.getEditsForAction(context, actionName2);\n    }\n    var refactors;\n    var init_refactorProvider = __esm({\n      \"src/services/refactorProvider.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactors = /* @__PURE__ */ new Map();\n      }\n    });\n    function getInfo19(context, considerPartialSpans = true) {\n      const { file, program } = context;\n      const span = getRefactorContextSpan(context);\n      const token = getTokenAtPosition(file, span.start);\n      const exportNode = !!(token.parent && getSyntacticModifierFlags(token.parent) & 1) && considerPartialSpans ? token.parent : getParentNodeInSpan(token, file, span);\n      if (!exportNode || !isSourceFile(exportNode.parent) && !(isModuleBlock(exportNode.parent) && isAmbientModule(exportNode.parent.parent))) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_export_statement) };\n      }\n      const checker = program.getTypeChecker();\n      const exportingModuleSymbol = getExportingModuleSymbol(exportNode.parent, checker);\n      const flags = getSyntacticModifierFlags(exportNode) || (isExportAssignment(exportNode) && !exportNode.isExportEquals ? 1025 : 0);\n      const wasDefault = !!(flags & 1024);\n      if (!(flags & 1) || !wasDefault && exportingModuleSymbol.exports.has(\n        \"default\"\n        /* Default */\n      )) {\n        return { error: getLocaleSpecificMessage(Diagnostics.This_file_already_has_a_default_export) };\n      }\n      const noSymbolError = (id) => isIdentifier(id) && checker.getSymbolAtLocation(id) ? void 0 : { error: getLocaleSpecificMessage(Diagnostics.Can_only_convert_named_export) };\n      switch (exportNode.kind) {\n        case 259:\n        case 260:\n        case 261:\n        case 263:\n        case 262:\n        case 264: {\n          const node = exportNode;\n          if (!node.name)\n            return void 0;\n          return noSymbolError(node.name) || { exportNode: node, exportName: node.name, wasDefault, exportingModuleSymbol };\n        }\n        case 240: {\n          const vs = exportNode;\n          if (!(vs.declarationList.flags & 2) || vs.declarationList.declarations.length !== 1) {\n            return void 0;\n          }\n          const decl = first(vs.declarationList.declarations);\n          if (!decl.initializer)\n            return void 0;\n          Debug2.assert(!wasDefault, \"Can't have a default flag here\");\n          return noSymbolError(decl.name) || { exportNode: vs, exportName: decl.name, wasDefault, exportingModuleSymbol };\n        }\n        case 274: {\n          const node = exportNode;\n          if (node.isExportEquals)\n            return void 0;\n          return noSymbolError(node.expression) || { exportNode: node, exportName: node.expression, wasDefault, exportingModuleSymbol };\n        }\n        default:\n          return void 0;\n      }\n    }\n    function doChange33(exportingSourceFile, program, info, changes, cancellationToken) {\n      changeExport(exportingSourceFile, info, changes, program.getTypeChecker());\n      changeImports(program, info, changes, cancellationToken);\n    }\n    function changeExport(exportingSourceFile, { wasDefault, exportNode, exportName }, changes, checker) {\n      if (wasDefault) {\n        if (isExportAssignment(exportNode) && !exportNode.isExportEquals) {\n          const exp = exportNode.expression;\n          const spec = makeExportSpecifier(exp.text, exp.text);\n          changes.replaceNode(exportingSourceFile, exportNode, factory.createExportDeclaration(\n            /*modifiers*/\n            void 0,\n            /*isTypeOnly*/\n            false,\n            factory.createNamedExports([spec])\n          ));\n        } else {\n          changes.delete(exportingSourceFile, Debug2.checkDefined(findModifier(\n            exportNode,\n            88\n            /* DefaultKeyword */\n          ), \"Should find a default keyword in modifier list\"));\n        }\n      } else {\n        const exportKeyword = Debug2.checkDefined(findModifier(\n          exportNode,\n          93\n          /* ExportKeyword */\n        ), \"Should find an export keyword in modifier list\");\n        switch (exportNode.kind) {\n          case 259:\n          case 260:\n          case 261:\n            changes.insertNodeAfter(exportingSourceFile, exportKeyword, factory.createToken(\n              88\n              /* DefaultKeyword */\n            ));\n            break;\n          case 240:\n            const decl = first(exportNode.declarationList.declarations);\n            if (!ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(exportName, checker, exportingSourceFile) && !decl.type) {\n              changes.replaceNode(exportingSourceFile, exportNode, factory.createExportDefault(Debug2.checkDefined(decl.initializer, \"Initializer was previously known to be present\")));\n              break;\n            }\n          case 263:\n          case 262:\n          case 264:\n            changes.deleteModifier(exportingSourceFile, exportKeyword);\n            changes.insertNodeAfter(exportingSourceFile, exportNode, factory.createExportDefault(factory.createIdentifier(exportName.text)));\n            break;\n          default:\n            Debug2.fail(`Unexpected exportNode kind ${exportNode.kind}`);\n        }\n      }\n    }\n    function changeImports(program, { wasDefault, exportName, exportingModuleSymbol }, changes, cancellationToken) {\n      const checker = program.getTypeChecker();\n      const exportSymbol = Debug2.checkDefined(checker.getSymbolAtLocation(exportName), \"Export name should resolve to a symbol\");\n      ts_FindAllReferences_exports.Core.eachExportReference(program.getSourceFiles(), checker, cancellationToken, exportSymbol, exportingModuleSymbol, exportName.text, wasDefault, (ref) => {\n        if (exportName === ref)\n          return;\n        const importingSourceFile = ref.getSourceFile();\n        if (wasDefault) {\n          changeDefaultToNamedImport(importingSourceFile, ref, changes, exportName.text);\n        } else {\n          changeNamedToDefaultImport(importingSourceFile, ref, changes);\n        }\n      });\n    }\n    function changeDefaultToNamedImport(importingSourceFile, ref, changes, exportName) {\n      const { parent: parent2 } = ref;\n      switch (parent2.kind) {\n        case 208:\n          changes.replaceNode(importingSourceFile, ref, factory.createIdentifier(exportName));\n          break;\n        case 273:\n        case 278: {\n          const spec = parent2;\n          changes.replaceNode(importingSourceFile, spec, makeImportSpecifier2(exportName, spec.name.text));\n          break;\n        }\n        case 270: {\n          const clause = parent2;\n          Debug2.assert(clause.name === ref, \"Import clause name should match provided ref\");\n          const spec = makeImportSpecifier2(exportName, ref.text);\n          const { namedBindings } = clause;\n          if (!namedBindings) {\n            changes.replaceNode(importingSourceFile, ref, factory.createNamedImports([spec]));\n          } else if (namedBindings.kind === 271) {\n            changes.deleteRange(importingSourceFile, { pos: ref.getStart(importingSourceFile), end: namedBindings.getStart(importingSourceFile) });\n            const quotePreference = isStringLiteral(clause.parent.moduleSpecifier) ? quotePreferenceFromString(clause.parent.moduleSpecifier, importingSourceFile) : 1;\n            const newImport = makeImport(\n              /*default*/\n              void 0,\n              [makeImportSpecifier2(exportName, ref.text)],\n              clause.parent.moduleSpecifier,\n              quotePreference\n            );\n            changes.insertNodeAfter(importingSourceFile, clause.parent, newImport);\n          } else {\n            changes.delete(importingSourceFile, ref);\n            changes.insertNodeAtEndOfList(importingSourceFile, namedBindings.elements, spec);\n          }\n          break;\n        }\n        case 202:\n          const importTypeNode = parent2;\n          changes.replaceNode(importingSourceFile, parent2, factory.createImportTypeNode(importTypeNode.argument, importTypeNode.assertions, factory.createIdentifier(exportName), importTypeNode.typeArguments, importTypeNode.isTypeOf));\n          break;\n        default:\n          Debug2.failBadSyntaxKind(parent2);\n      }\n    }\n    function changeNamedToDefaultImport(importingSourceFile, ref, changes) {\n      const parent2 = ref.parent;\n      switch (parent2.kind) {\n        case 208:\n          changes.replaceNode(importingSourceFile, ref, factory.createIdentifier(\"default\"));\n          break;\n        case 273: {\n          const defaultImport = factory.createIdentifier(parent2.name.text);\n          if (parent2.parent.elements.length === 1) {\n            changes.replaceNode(importingSourceFile, parent2.parent, defaultImport);\n          } else {\n            changes.delete(importingSourceFile, parent2);\n            changes.insertNodeBefore(importingSourceFile, parent2.parent, defaultImport);\n          }\n          break;\n        }\n        case 278: {\n          changes.replaceNode(importingSourceFile, parent2, makeExportSpecifier(\"default\", parent2.name.text));\n          break;\n        }\n        default:\n          Debug2.assertNever(parent2, `Unexpected parent kind ${parent2.kind}`);\n      }\n    }\n    function makeImportSpecifier2(propertyName, name) {\n      return factory.createImportSpecifier(\n        /*isTypeOnly*/\n        false,\n        propertyName === name ? void 0 : factory.createIdentifier(propertyName),\n        factory.createIdentifier(name)\n      );\n    }\n    function makeExportSpecifier(propertyName, name) {\n      return factory.createExportSpecifier(\n        /*isTypeOnly*/\n        false,\n        propertyName === name ? void 0 : factory.createIdentifier(propertyName),\n        factory.createIdentifier(name)\n      );\n    }\n    function getExportingModuleSymbol(parent2, checker) {\n      if (isSourceFile(parent2)) {\n        return parent2.symbol;\n      }\n      const symbol = parent2.parent.symbol;\n      if (symbol.valueDeclaration && isExternalModuleAugmentation(symbol.valueDeclaration)) {\n        return checker.getMergedSymbol(symbol);\n      }\n      return symbol;\n    }\n    var refactorName, defaultToNamedAction, namedToDefaultAction;\n    var init_convertExport = __esm({\n      \"src/services/refactors/convertExport.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName = \"Convert export\";\n        defaultToNamedAction = {\n          name: \"Convert default export to named export\",\n          description: Diagnostics.Convert_default_export_to_named_export.message,\n          kind: \"refactor.rewrite.export.named\"\n        };\n        namedToDefaultAction = {\n          name: \"Convert named export to default export\",\n          description: Diagnostics.Convert_named_export_to_default_export.message,\n          kind: \"refactor.rewrite.export.default\"\n        };\n        registerRefactor(refactorName, {\n          kinds: [\n            defaultToNamedAction.kind,\n            namedToDefaultAction.kind\n          ],\n          getAvailableActions: function getRefactorActionsToConvertBetweenNamedAndDefaultExports(context) {\n            const info = getInfo19(context, context.triggerReason === \"invoked\");\n            if (!info)\n              return emptyArray;\n            if (!isRefactorErrorInfo(info)) {\n              const action = info.wasDefault ? defaultToNamedAction : namedToDefaultAction;\n              return [{ name: refactorName, description: action.description, actions: [action] }];\n            }\n            if (context.preferences.provideRefactorNotApplicableReason) {\n              return [\n                { name: refactorName, description: Diagnostics.Convert_default_export_to_named_export.message, actions: [\n                  { ...defaultToNamedAction, notApplicableReason: info.error },\n                  { ...namedToDefaultAction, notApplicableReason: info.error }\n                ] }\n              ];\n            }\n            return emptyArray;\n          },\n          getEditsForAction: function getRefactorEditsToConvertBetweenNamedAndDefaultExports(context, actionName2) {\n            Debug2.assert(actionName2 === defaultToNamedAction.name || actionName2 === namedToDefaultAction.name, \"Unexpected action name\");\n            const info = getInfo19(context);\n            Debug2.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n            const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange33(context.file, context.program, info, t, context.cancellationToken));\n            return { edits, renameFilename: void 0, renameLocation: void 0 };\n          }\n        });\n      }\n    });\n    function getImportConversionInfo(context, considerPartialSpans = true) {\n      const { file } = context;\n      const span = getRefactorContextSpan(context);\n      const token = getTokenAtPosition(file, span.start);\n      const importDecl = considerPartialSpans ? findAncestor(token, isImportDeclaration) : getParentNodeInSpan(token, file, span);\n      if (!importDecl || !isImportDeclaration(importDecl))\n        return { error: \"Selection is not an import declaration.\" };\n      const end = span.start + span.length;\n      const nextToken = findNextToken(importDecl, importDecl.parent, file);\n      if (nextToken && end > nextToken.getStart())\n        return void 0;\n      const { importClause } = importDecl;\n      if (!importClause) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_import_clause) };\n      }\n      if (!importClause.namedBindings) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_namespace_import_or_named_imports) };\n      }\n      if (importClause.namedBindings.kind === 271) {\n        return { convertTo: 0, import: importClause.namedBindings };\n      }\n      const shouldUseDefault = getShouldUseDefault(context.program, importClause);\n      return shouldUseDefault ? { convertTo: 1, import: importClause.namedBindings } : { convertTo: 2, import: importClause.namedBindings };\n    }\n    function getShouldUseDefault(program, importClause) {\n      return getAllowSyntheticDefaultImports(program.getCompilerOptions()) && isExportEqualsModule(importClause.parent.moduleSpecifier, program.getTypeChecker());\n    }\n    function doChange34(sourceFile, program, changes, info) {\n      const checker = program.getTypeChecker();\n      if (info.convertTo === 0) {\n        doChangeNamespaceToNamed(sourceFile, checker, changes, info.import, getAllowSyntheticDefaultImports(program.getCompilerOptions()));\n      } else {\n        doChangeNamedToNamespaceOrDefault(\n          sourceFile,\n          program,\n          changes,\n          info.import,\n          info.convertTo === 1\n          /* Default */\n        );\n      }\n    }\n    function doChangeNamespaceToNamed(sourceFile, checker, changes, toConvert, allowSyntheticDefaultImports) {\n      let usedAsNamespaceOrDefault = false;\n      const nodesToReplace = [];\n      const conflictingNames = /* @__PURE__ */ new Map();\n      ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(toConvert.name, checker, sourceFile, (id) => {\n        if (!isPropertyAccessOrQualifiedName(id.parent)) {\n          usedAsNamespaceOrDefault = true;\n        } else {\n          const exportName = getRightOfPropertyAccessOrQualifiedName(id.parent).text;\n          if (checker.resolveName(\n            exportName,\n            id,\n            67108863,\n            /*excludeGlobals*/\n            true\n          )) {\n            conflictingNames.set(exportName, true);\n          }\n          Debug2.assert(getLeftOfPropertyAccessOrQualifiedName(id.parent) === id, \"Parent expression should match id\");\n          nodesToReplace.push(id.parent);\n        }\n      });\n      const exportNameToImportName = /* @__PURE__ */ new Map();\n      for (const propertyAccessOrQualifiedName of nodesToReplace) {\n        const exportName = getRightOfPropertyAccessOrQualifiedName(propertyAccessOrQualifiedName).text;\n        let importName = exportNameToImportName.get(exportName);\n        if (importName === void 0) {\n          exportNameToImportName.set(exportName, importName = conflictingNames.has(exportName) ? getUniqueName(exportName, sourceFile) : exportName);\n        }\n        changes.replaceNode(sourceFile, propertyAccessOrQualifiedName, factory.createIdentifier(importName));\n      }\n      const importSpecifiers = [];\n      exportNameToImportName.forEach((name, propertyName) => {\n        importSpecifiers.push(factory.createImportSpecifier(\n          /*isTypeOnly*/\n          false,\n          name === propertyName ? void 0 : factory.createIdentifier(propertyName),\n          factory.createIdentifier(name)\n        ));\n      });\n      const importDecl = toConvert.parent.parent;\n      if (usedAsNamespaceOrDefault && !allowSyntheticDefaultImports) {\n        changes.insertNodeAfter(sourceFile, importDecl, updateImport(\n          importDecl,\n          /*defaultImportName*/\n          void 0,\n          importSpecifiers\n        ));\n      } else {\n        changes.replaceNode(sourceFile, importDecl, updateImport(importDecl, usedAsNamespaceOrDefault ? factory.createIdentifier(toConvert.name.text) : void 0, importSpecifiers));\n      }\n    }\n    function getRightOfPropertyAccessOrQualifiedName(propertyAccessOrQualifiedName) {\n      return isPropertyAccessExpression(propertyAccessOrQualifiedName) ? propertyAccessOrQualifiedName.name : propertyAccessOrQualifiedName.right;\n    }\n    function getLeftOfPropertyAccessOrQualifiedName(propertyAccessOrQualifiedName) {\n      return isPropertyAccessExpression(propertyAccessOrQualifiedName) ? propertyAccessOrQualifiedName.expression : propertyAccessOrQualifiedName.left;\n    }\n    function doChangeNamedToNamespaceOrDefault(sourceFile, program, changes, toConvert, shouldUseDefault = getShouldUseDefault(program, toConvert.parent)) {\n      const checker = program.getTypeChecker();\n      const importDecl = toConvert.parent.parent;\n      const { moduleSpecifier } = importDecl;\n      const toConvertSymbols = /* @__PURE__ */ new Set();\n      toConvert.elements.forEach((namedImport) => {\n        const symbol = checker.getSymbolAtLocation(namedImport.name);\n        if (symbol) {\n          toConvertSymbols.add(symbol);\n        }\n      });\n      const preferredName = moduleSpecifier && isStringLiteral(moduleSpecifier) ? ts_codefix_exports.moduleSpecifierToValidIdentifier(\n        moduleSpecifier.text,\n        99\n        /* ESNext */\n      ) : \"module\";\n      function hasNamespaceNameConflict(namedImport) {\n        return !!ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(namedImport.name, checker, sourceFile, (id) => {\n          const symbol = checker.resolveName(\n            preferredName,\n            id,\n            67108863,\n            /*excludeGlobals*/\n            true\n          );\n          if (symbol) {\n            if (toConvertSymbols.has(symbol)) {\n              return isExportSpecifier(id.parent);\n            }\n            return true;\n          }\n          return false;\n        });\n      }\n      const namespaceNameConflicts = toConvert.elements.some(hasNamespaceNameConflict);\n      const namespaceImportName = namespaceNameConflicts ? getUniqueName(preferredName, sourceFile) : preferredName;\n      const neededNamedImports = /* @__PURE__ */ new Set();\n      for (const element of toConvert.elements) {\n        const propertyName = (element.propertyName || element.name).text;\n        ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(element.name, checker, sourceFile, (id) => {\n          const access = factory.createPropertyAccessExpression(factory.createIdentifier(namespaceImportName), propertyName);\n          if (isShorthandPropertyAssignment(id.parent)) {\n            changes.replaceNode(sourceFile, id.parent, factory.createPropertyAssignment(id.text, access));\n          } else if (isExportSpecifier(id.parent)) {\n            neededNamedImports.add(element);\n          } else {\n            changes.replaceNode(sourceFile, id, access);\n          }\n        });\n      }\n      changes.replaceNode(sourceFile, toConvert, shouldUseDefault ? factory.createIdentifier(namespaceImportName) : factory.createNamespaceImport(factory.createIdentifier(namespaceImportName)));\n      if (neededNamedImports.size) {\n        const newNamedImports = arrayFrom(neededNamedImports.values(), (element) => factory.createImportSpecifier(element.isTypeOnly, element.propertyName && factory.createIdentifier(element.propertyName.text), factory.createIdentifier(element.name.text)));\n        changes.insertNodeAfter(sourceFile, toConvert.parent.parent, updateImport(\n          importDecl,\n          /*defaultImportName*/\n          void 0,\n          newNamedImports\n        ));\n      }\n    }\n    function isExportEqualsModule(moduleSpecifier, checker) {\n      const externalModule = checker.resolveExternalModuleName(moduleSpecifier);\n      if (!externalModule)\n        return false;\n      const exportEquals = checker.resolveExternalModuleSymbol(externalModule);\n      return externalModule !== exportEquals;\n    }\n    function updateImport(old, defaultImportName, elements) {\n      return factory.createImportDeclaration(\n        /*modifiers*/\n        void 0,\n        factory.createImportClause(\n          /*isTypeOnly*/\n          false,\n          defaultImportName,\n          elements && elements.length ? factory.createNamedImports(elements) : void 0\n        ),\n        old.moduleSpecifier,\n        /*assertClause*/\n        void 0\n      );\n    }\n    var refactorName2, actions;\n    var init_convertImport = __esm({\n      \"src/services/refactors/convertImport.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName2 = \"Convert import\";\n        actions = {\n          [\n            0\n            /* Named */\n          ]: {\n            name: \"Convert namespace import to named imports\",\n            description: Diagnostics.Convert_namespace_import_to_named_imports.message,\n            kind: \"refactor.rewrite.import.named\"\n          },\n          [\n            2\n            /* Namespace */\n          ]: {\n            name: \"Convert named imports to namespace import\",\n            description: Diagnostics.Convert_named_imports_to_namespace_import.message,\n            kind: \"refactor.rewrite.import.namespace\"\n          },\n          [\n            1\n            /* Default */\n          ]: {\n            name: \"Convert named imports to default import\",\n            description: Diagnostics.Convert_named_imports_to_default_import.message,\n            kind: \"refactor.rewrite.import.default\"\n          }\n        };\n        registerRefactor(refactorName2, {\n          kinds: getOwnValues(actions).map((a) => a.kind),\n          getAvailableActions: function getRefactorActionsToConvertBetweenNamedAndNamespacedImports(context) {\n            const info = getImportConversionInfo(context, context.triggerReason === \"invoked\");\n            if (!info)\n              return emptyArray;\n            if (!isRefactorErrorInfo(info)) {\n              const action = actions[info.convertTo];\n              return [{ name: refactorName2, description: action.description, actions: [action] }];\n            }\n            if (context.preferences.provideRefactorNotApplicableReason) {\n              return getOwnValues(actions).map((action) => ({\n                name: refactorName2,\n                description: action.description,\n                actions: [{ ...action, notApplicableReason: info.error }]\n              }));\n            }\n            return emptyArray;\n          },\n          getEditsForAction: function getRefactorEditsToConvertBetweenNamedAndNamespacedImports(context, actionName2) {\n            Debug2.assert(some(getOwnValues(actions), (action) => action.name === actionName2), \"Unexpected action name\");\n            const info = getImportConversionInfo(context);\n            Debug2.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n            const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange34(context.file, context.program, t, info));\n            return { edits, renameFilename: void 0, renameLocation: void 0 };\n          }\n        });\n      }\n    });\n    function getRangeToExtract(context, considerEmptySpans = true) {\n      const { file, startPosition } = context;\n      const isJS = isSourceFileJS(file);\n      const current = getTokenAtPosition(file, startPosition);\n      const range = createTextRangeFromSpan(getRefactorContextSpan(context));\n      const cursorRequest = range.pos === range.end && considerEmptySpans;\n      const selection = findAncestor(current, (node) => node.parent && isTypeNode(node) && !rangeContainsSkipTrivia(range, node.parent, file) && (cursorRequest || nodeOverlapsWithStartEnd(current, file, range.pos, range.end)));\n      if (!selection || !isTypeNode(selection))\n        return { error: getLocaleSpecificMessage(Diagnostics.Selection_is_not_a_valid_type_node) };\n      const checker = context.program.getTypeChecker();\n      const enclosingNode = getEnclosingNode(selection, isJS);\n      if (enclosingNode === void 0)\n        return { error: getLocaleSpecificMessage(Diagnostics.No_type_could_be_extracted_from_this_type_node) };\n      const typeParameters = collectTypeParameters(checker, selection, enclosingNode, file);\n      if (!typeParameters)\n        return { error: getLocaleSpecificMessage(Diagnostics.No_type_could_be_extracted_from_this_type_node) };\n      const typeElements = flattenTypeLiteralNodeReference(checker, selection);\n      return { isJS, selection, enclosingNode, typeParameters, typeElements };\n    }\n    function flattenTypeLiteralNodeReference(checker, node) {\n      if (!node)\n        return void 0;\n      if (isIntersectionTypeNode(node)) {\n        const result = [];\n        const seen = /* @__PURE__ */ new Map();\n        for (const type of node.types) {\n          const flattenedTypeMembers = flattenTypeLiteralNodeReference(checker, type);\n          if (!flattenedTypeMembers || !flattenedTypeMembers.every((type2) => type2.name && addToSeen(seen, getNameFromPropertyName(type2.name)))) {\n            return void 0;\n          }\n          addRange(result, flattenedTypeMembers);\n        }\n        return result;\n      } else if (isParenthesizedTypeNode(node)) {\n        return flattenTypeLiteralNodeReference(checker, node.type);\n      } else if (isTypeLiteralNode(node)) {\n        return node.members;\n      }\n      return void 0;\n    }\n    function rangeContainsSkipTrivia(r1, node, file) {\n      return rangeContainsStartEnd(r1, skipTrivia(file.text, node.pos), node.end);\n    }\n    function collectTypeParameters(checker, selection, enclosingNode, file) {\n      const result = [];\n      return visitor(selection) ? void 0 : result;\n      function visitor(node) {\n        if (isTypeReferenceNode(node)) {\n          if (isIdentifier(node.typeName)) {\n            const typeName = node.typeName;\n            const symbol = checker.resolveName(\n              typeName.text,\n              typeName,\n              262144,\n              /* excludeGlobals */\n              true\n            );\n            for (const decl of (symbol == null ? void 0 : symbol.declarations) || emptyArray) {\n              if (isTypeParameterDeclaration(decl) && decl.getSourceFile() === file) {\n                if (decl.name.escapedText === typeName.escapedText && rangeContainsSkipTrivia(decl, selection, file)) {\n                  return true;\n                }\n                if (rangeContainsSkipTrivia(enclosingNode, decl, file) && !rangeContainsSkipTrivia(selection, decl, file)) {\n                  pushIfUnique(result, decl);\n                  break;\n                }\n              }\n            }\n          }\n        } else if (isInferTypeNode(node)) {\n          const conditionalTypeNode = findAncestor(node, (n) => isConditionalTypeNode(n) && rangeContainsSkipTrivia(n.extendsType, node, file));\n          if (!conditionalTypeNode || !rangeContainsSkipTrivia(selection, conditionalTypeNode, file)) {\n            return true;\n          }\n        } else if (isTypePredicateNode(node) || isThisTypeNode(node)) {\n          const functionLikeNode = findAncestor(node.parent, isFunctionLike);\n          if (functionLikeNode && functionLikeNode.type && rangeContainsSkipTrivia(functionLikeNode.type, node, file) && !rangeContainsSkipTrivia(selection, functionLikeNode, file)) {\n            return true;\n          }\n        } else if (isTypeQueryNode(node)) {\n          if (isIdentifier(node.exprName)) {\n            const symbol = checker.resolveName(\n              node.exprName.text,\n              node.exprName,\n              111551,\n              /* excludeGlobals */\n              false\n            );\n            if ((symbol == null ? void 0 : symbol.valueDeclaration) && rangeContainsSkipTrivia(enclosingNode, symbol.valueDeclaration, file) && !rangeContainsSkipTrivia(selection, symbol.valueDeclaration, file)) {\n              return true;\n            }\n          } else {\n            if (isThisIdentifier(node.exprName.left) && !rangeContainsSkipTrivia(selection, node.parent, file)) {\n              return true;\n            }\n          }\n        }\n        if (file && isTupleTypeNode(node) && getLineAndCharacterOfPosition(file, node.pos).line === getLineAndCharacterOfPosition(file, node.end).line) {\n          setEmitFlags(\n            node,\n            1\n            /* SingleLine */\n          );\n        }\n        return forEachChild(node, visitor);\n      }\n    }\n    function doTypeAliasChange(changes, file, name, info) {\n      const { enclosingNode, selection, typeParameters } = info;\n      const newTypeNode = factory.createTypeAliasDeclaration(\n        /* modifiers */\n        void 0,\n        name,\n        typeParameters.map((id) => factory.updateTypeParameterDeclaration(\n          id,\n          id.modifiers,\n          id.name,\n          id.constraint,\n          /* defaultType */\n          void 0\n        )),\n        selection\n      );\n      changes.insertNodeBefore(\n        file,\n        enclosingNode,\n        ignoreSourceNewlines(newTypeNode),\n        /* blankLineBetween */\n        true\n      );\n      changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map((id) => factory.createTypeReferenceNode(\n        id.name,\n        /* typeArguments */\n        void 0\n      ))), { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude, trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.ExcludeWhitespace });\n    }\n    function doInterfaceChange(changes, file, name, info) {\n      var _a22;\n      const { enclosingNode, selection, typeParameters, typeElements } = info;\n      const newTypeNode = factory.createInterfaceDeclaration(\n        /* modifiers */\n        void 0,\n        name,\n        typeParameters,\n        /* heritageClauses */\n        void 0,\n        typeElements\n      );\n      setTextRange(newTypeNode, (_a22 = typeElements[0]) == null ? void 0 : _a22.parent);\n      changes.insertNodeBefore(\n        file,\n        enclosingNode,\n        ignoreSourceNewlines(newTypeNode),\n        /* blankLineBetween */\n        true\n      );\n      changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map((id) => factory.createTypeReferenceNode(\n        id.name,\n        /* typeArguments */\n        void 0\n      ))), { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude, trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.ExcludeWhitespace });\n    }\n    function doTypedefChange(changes, context, file, name, info) {\n      var _a22;\n      const { enclosingNode, selection, typeParameters } = info;\n      setEmitFlags(\n        selection,\n        3072 | 4096\n        /* NoNestedComments */\n      );\n      const node = factory.createJSDocTypedefTag(\n        factory.createIdentifier(\"typedef\"),\n        factory.createJSDocTypeExpression(selection),\n        factory.createIdentifier(name)\n      );\n      const templates = [];\n      forEach(typeParameters, (typeParameter) => {\n        const constraint = getEffectiveConstraintOfTypeParameter(typeParameter);\n        const parameter = factory.createTypeParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          typeParameter.name\n        );\n        const template = factory.createJSDocTemplateTag(\n          factory.createIdentifier(\"template\"),\n          constraint && cast(constraint, isJSDocTypeExpression),\n          [parameter]\n        );\n        templates.push(template);\n      });\n      const jsDoc = factory.createJSDocComment(\n        /* comment */\n        void 0,\n        factory.createNodeArray(concatenate(templates, [node]))\n      );\n      if (isJSDoc(enclosingNode)) {\n        const pos = enclosingNode.getStart(file);\n        const newLineCharacter = getNewLineOrDefaultFromHost(context.host, (_a22 = context.formatContext) == null ? void 0 : _a22.options);\n        changes.insertNodeAt(file, enclosingNode.getStart(file), jsDoc, {\n          suffix: newLineCharacter + newLineCharacter + file.text.slice(getPrecedingNonSpaceCharacterPosition(file.text, pos - 1), pos)\n        });\n      } else {\n        changes.insertNodeBefore(\n          file,\n          enclosingNode,\n          jsDoc,\n          /* blankLineBetween */\n          true\n        );\n      }\n      changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map((id) => factory.createTypeReferenceNode(\n        id.name,\n        /* typeArguments */\n        void 0\n      ))));\n    }\n    function getEnclosingNode(node, isJS) {\n      return findAncestor(node, isStatement) || (isJS ? findAncestor(node, isJSDoc) : void 0);\n    }\n    var refactorName3, extractToTypeAliasAction, extractToInterfaceAction, extractToTypeDefAction;\n    var init_extractType = __esm({\n      \"src/services/refactors/extractType.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName3 = \"Extract type\";\n        extractToTypeAliasAction = {\n          name: \"Extract to type alias\",\n          description: getLocaleSpecificMessage(Diagnostics.Extract_to_type_alias),\n          kind: \"refactor.extract.type\"\n        };\n        extractToInterfaceAction = {\n          name: \"Extract to interface\",\n          description: getLocaleSpecificMessage(Diagnostics.Extract_to_interface),\n          kind: \"refactor.extract.interface\"\n        };\n        extractToTypeDefAction = {\n          name: \"Extract to typedef\",\n          description: getLocaleSpecificMessage(Diagnostics.Extract_to_typedef),\n          kind: \"refactor.extract.typedef\"\n        };\n        registerRefactor(refactorName3, {\n          kinds: [\n            extractToTypeAliasAction.kind,\n            extractToInterfaceAction.kind,\n            extractToTypeDefAction.kind\n          ],\n          getAvailableActions: function getRefactorActionsToExtractType(context) {\n            const info = getRangeToExtract(context, context.triggerReason === \"invoked\");\n            if (!info)\n              return emptyArray;\n            if (!isRefactorErrorInfo(info)) {\n              return [{\n                name: refactorName3,\n                description: getLocaleSpecificMessage(Diagnostics.Extract_type),\n                actions: info.isJS ? [extractToTypeDefAction] : append([extractToTypeAliasAction], info.typeElements && extractToInterfaceAction)\n              }];\n            }\n            if (context.preferences.provideRefactorNotApplicableReason) {\n              return [{\n                name: refactorName3,\n                description: getLocaleSpecificMessage(Diagnostics.Extract_type),\n                actions: [\n                  { ...extractToTypeDefAction, notApplicableReason: info.error },\n                  { ...extractToTypeAliasAction, notApplicableReason: info.error },\n                  { ...extractToInterfaceAction, notApplicableReason: info.error }\n                ]\n              }];\n            }\n            return emptyArray;\n          },\n          getEditsForAction: function getRefactorEditsToExtractType(context, actionName2) {\n            const { file } = context;\n            const info = getRangeToExtract(context);\n            Debug2.assert(info && !isRefactorErrorInfo(info), \"Expected to find a range to extract\");\n            const name = getUniqueName(\"NewType\", file);\n            const edits = ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n              switch (actionName2) {\n                case extractToTypeAliasAction.name:\n                  Debug2.assert(!info.isJS, \"Invalid actionName/JS combo\");\n                  return doTypeAliasChange(changes, file, name, info);\n                case extractToTypeDefAction.name:\n                  Debug2.assert(info.isJS, \"Invalid actionName/JS combo\");\n                  return doTypedefChange(changes, context, file, name, info);\n                case extractToInterfaceAction.name:\n                  Debug2.assert(!info.isJS && !!info.typeElements, \"Invalid actionName/JS combo\");\n                  return doInterfaceChange(changes, file, name, info);\n                default:\n                  Debug2.fail(\"Unexpected action name\");\n              }\n            });\n            const renameFilename = file.fileName;\n            const renameLocation = getRenameLocation(\n              edits,\n              renameFilename,\n              name,\n              /*preferLastLocation*/\n              false\n            );\n            return { edits, renameFilename, renameLocation };\n          }\n        });\n      }\n    });\n    function isRefactorErrorInfo(info) {\n      return info.error !== void 0;\n    }\n    function refactorKindBeginsWith(known, requested) {\n      if (!requested)\n        return true;\n      return known.substr(0, requested.length) === requested;\n    }\n    var init_helpers2 = __esm({\n      \"src/services/refactors/helpers.ts\"() {\n        \"use strict\";\n      }\n    });\n    function getRangeToMove(context) {\n      const { file } = context;\n      const range = createTextRangeFromSpan(getRefactorContextSpan(context));\n      const { statements } = file;\n      const startNodeIndex = findIndex(statements, (s) => s.end > range.pos);\n      if (startNodeIndex === -1)\n        return void 0;\n      const startStatement = statements[startNodeIndex];\n      if (isNamedDeclaration(startStatement) && startStatement.name && rangeContainsRange(startStatement.name, range)) {\n        return { toMove: [statements[startNodeIndex]], afterLast: statements[startNodeIndex + 1] };\n      }\n      if (range.pos > startStatement.getStart(file))\n        return void 0;\n      const afterEndNodeIndex = findIndex(statements, (s) => s.end > range.end, startNodeIndex);\n      if (afterEndNodeIndex !== -1 && (afterEndNodeIndex === 0 || statements[afterEndNodeIndex].getStart(file) < range.end))\n        return void 0;\n      return {\n        toMove: statements.slice(startNodeIndex, afterEndNodeIndex === -1 ? statements.length : afterEndNodeIndex),\n        afterLast: afterEndNodeIndex === -1 ? void 0 : statements[afterEndNodeIndex]\n      };\n    }\n    function doChange35(oldFile, program, toMove, changes, host, preferences) {\n      const checker = program.getTypeChecker();\n      const usage = getUsageInfo(oldFile, toMove.all, checker);\n      const currentDirectory = getDirectoryPath(oldFile.fileName);\n      const extension = extensionFromPath(oldFile.fileName);\n      const newFilename = combinePaths(\n        // new file is always placed in the same directory as the old file\n        currentDirectory,\n        // ensures the filename computed below isn't already taken\n        makeUniqueFilename(\n          // infers a name for the new file from the symbols being moved\n          inferNewFilename(usage.oldFileImportsFromNewFile, usage.movedSymbols),\n          extension,\n          currentDirectory,\n          host\n        )\n      ) + extension;\n      changes.createNewFile(oldFile, newFilename, getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, host, newFilename, preferences));\n      addNewFileToTsconfig(program, changes, oldFile.fileName, newFilename, hostGetCanonicalFileName(host));\n    }\n    function getStatementsToMove(context) {\n      const rangeToMove = getRangeToMove(context);\n      if (rangeToMove === void 0)\n        return void 0;\n      const all = [];\n      const ranges = [];\n      const { toMove, afterLast } = rangeToMove;\n      getRangesWhere(toMove, isAllowedStatementToMove, (start, afterEndIndex) => {\n        for (let i = start; i < afterEndIndex; i++)\n          all.push(toMove[i]);\n        ranges.push({ first: toMove[start], afterLast });\n      });\n      return all.length === 0 ? void 0 : { all, ranges };\n    }\n    function isAllowedStatementToMove(statement) {\n      return !isPureImport(statement) && !isPrologueDirective(statement);\n    }\n    function isPureImport(node) {\n      switch (node.kind) {\n        case 269:\n          return true;\n        case 268:\n          return !hasSyntacticModifier(\n            node,\n            1\n            /* Export */\n          );\n        case 240:\n          return node.declarationList.declarations.every((d) => !!d.initializer && isRequireCall(\n            d.initializer,\n            /*checkArgumentIsStringLiteralLike*/\n            true\n          ));\n        default:\n          return false;\n      }\n    }\n    function addNewFileToTsconfig(program, changes, oldFileName, newFileNameWithExtension, getCanonicalFileName) {\n      const cfg = program.getCompilerOptions().configFile;\n      if (!cfg)\n        return;\n      const newFileAbsolutePath = normalizePath(combinePaths(oldFileName, \"..\", newFileNameWithExtension));\n      const newFilePath = getRelativePathFromFile(cfg.fileName, newFileAbsolutePath, getCanonicalFileName);\n      const cfgObject = cfg.statements[0] && tryCast(cfg.statements[0].expression, isObjectLiteralExpression);\n      const filesProp = cfgObject && find(cfgObject.properties, (prop) => isPropertyAssignment(prop) && isStringLiteral(prop.name) && prop.name.text === \"files\");\n      if (filesProp && isArrayLiteralExpression(filesProp.initializer)) {\n        changes.insertNodeInListAfter(cfg, last(filesProp.initializer.elements), factory.createStringLiteral(newFilePath), filesProp.initializer.elements);\n      }\n    }\n    function getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, host, newFilename, preferences) {\n      const checker = program.getTypeChecker();\n      const prologueDirectives = takeWhile(oldFile.statements, isPrologueDirective);\n      if (oldFile.externalModuleIndicator === void 0 && oldFile.commonJsModuleIndicator === void 0 && usage.oldImportsNeededByNewFile.size() === 0) {\n        deleteMovedStatements(oldFile, toMove.ranges, changes);\n        return [...prologueDirectives, ...toMove.all];\n      }\n      const useEsModuleSyntax = !!oldFile.externalModuleIndicator;\n      const quotePreference = getQuotePreference(oldFile, preferences);\n      const importsFromNewFile = createOldFileImportsFromNewFile(oldFile, usage.oldFileImportsFromNewFile, newFilename, program, host, useEsModuleSyntax, quotePreference);\n      if (importsFromNewFile) {\n        insertImports(\n          changes,\n          oldFile,\n          importsFromNewFile,\n          /*blankLineBetween*/\n          true,\n          preferences\n        );\n      }\n      deleteUnusedOldImports(oldFile, toMove.all, changes, usage.unusedImportsFromOldFile, checker);\n      deleteMovedStatements(oldFile, toMove.ranges, changes);\n      updateImportsInOtherFiles(changes, program, host, oldFile, usage.movedSymbols, newFilename);\n      const imports = getNewFileImportsAndAddExportInOldFile(oldFile, usage.oldImportsNeededByNewFile, usage.newFileImportsFromOldFile, changes, checker, program, host, useEsModuleSyntax, quotePreference);\n      const body = addExports(oldFile, toMove.all, usage.oldFileImportsFromNewFile, useEsModuleSyntax);\n      if (imports.length && body.length) {\n        return [\n          ...prologueDirectives,\n          ...imports,\n          4,\n          ...body\n        ];\n      }\n      return [\n        ...prologueDirectives,\n        ...imports,\n        ...body\n      ];\n    }\n    function deleteMovedStatements(sourceFile, moved, changes) {\n      for (const { first: first2, afterLast } of moved) {\n        changes.deleteNodeRangeExcludingEnd(sourceFile, first2, afterLast);\n      }\n    }\n    function deleteUnusedOldImports(oldFile, toMove, changes, toDelete, checker) {\n      for (const statement of oldFile.statements) {\n        if (contains(toMove, statement))\n          continue;\n        forEachImportInStatement(statement, (i) => deleteUnusedImports(oldFile, i, changes, (name) => toDelete.has(checker.getSymbolAtLocation(name))));\n      }\n    }\n    function updateImportsInOtherFiles(changes, program, host, oldFile, movedSymbols, newFilename) {\n      const checker = program.getTypeChecker();\n      for (const sourceFile of program.getSourceFiles()) {\n        if (sourceFile === oldFile)\n          continue;\n        for (const statement of sourceFile.statements) {\n          forEachImportInStatement(statement, (importNode) => {\n            if (checker.getSymbolAtLocation(moduleSpecifierFromImport(importNode)) !== oldFile.symbol)\n              return;\n            const shouldMove = (name) => {\n              const symbol = isBindingElement(name.parent) ? getPropertySymbolFromBindingElement(checker, name.parent) : skipAlias(checker.getSymbolAtLocation(name), checker);\n              return !!symbol && movedSymbols.has(symbol);\n            };\n            deleteUnusedImports(sourceFile, importNode, changes, shouldMove);\n            const pathToNewFileWithExtension = resolvePath(getDirectoryPath(oldFile.path), newFilename);\n            const newModuleSpecifier = getModuleSpecifier(program.getCompilerOptions(), sourceFile, sourceFile.path, pathToNewFileWithExtension, createModuleSpecifierResolutionHost(program, host));\n            const newImportDeclaration = filterImport(importNode, factory.createStringLiteral(newModuleSpecifier), shouldMove);\n            if (newImportDeclaration)\n              changes.insertNodeAfter(sourceFile, statement, newImportDeclaration);\n            const ns = getNamespaceLikeImport(importNode);\n            if (ns)\n              updateNamespaceLikeImport(changes, sourceFile, checker, movedSymbols, newModuleSpecifier, ns, importNode);\n          });\n        }\n      }\n    }\n    function getNamespaceLikeImport(node) {\n      switch (node.kind) {\n        case 269:\n          return node.importClause && node.importClause.namedBindings && node.importClause.namedBindings.kind === 271 ? node.importClause.namedBindings.name : void 0;\n        case 268:\n          return node.name;\n        case 257:\n          return tryCast(node.name, isIdentifier);\n        default:\n          return Debug2.assertNever(node, `Unexpected node kind ${node.kind}`);\n      }\n    }\n    function updateNamespaceLikeImport(changes, sourceFile, checker, movedSymbols, newModuleSpecifier, oldImportId, oldImportNode) {\n      const preferredNewNamespaceName = ts_codefix_exports.moduleSpecifierToValidIdentifier(\n        newModuleSpecifier,\n        99\n        /* ESNext */\n      );\n      let needUniqueName = false;\n      const toChange = [];\n      ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(oldImportId, checker, sourceFile, (ref) => {\n        if (!isPropertyAccessExpression(ref.parent))\n          return;\n        needUniqueName = needUniqueName || !!checker.resolveName(\n          preferredNewNamespaceName,\n          ref,\n          67108863,\n          /*excludeGlobals*/\n          true\n        );\n        if (movedSymbols.has(checker.getSymbolAtLocation(ref.parent.name))) {\n          toChange.push(ref);\n        }\n      });\n      if (toChange.length) {\n        const newNamespaceName = needUniqueName ? getUniqueName(preferredNewNamespaceName, sourceFile) : preferredNewNamespaceName;\n        for (const ref of toChange) {\n          changes.replaceNode(sourceFile, ref, factory.createIdentifier(newNamespaceName));\n        }\n        changes.insertNodeAfter(sourceFile, oldImportNode, updateNamespaceLikeImportNode(oldImportNode, preferredNewNamespaceName, newModuleSpecifier));\n      }\n    }\n    function updateNamespaceLikeImportNode(node, newNamespaceName, newModuleSpecifier) {\n      const newNamespaceId = factory.createIdentifier(newNamespaceName);\n      const newModuleString = factory.createStringLiteral(newModuleSpecifier);\n      switch (node.kind) {\n        case 269:\n          return factory.createImportDeclaration(\n            /*modifiers*/\n            void 0,\n            factory.createImportClause(\n              /*isTypeOnly*/\n              false,\n              /*name*/\n              void 0,\n              factory.createNamespaceImport(newNamespaceId)\n            ),\n            newModuleString,\n            /*assertClause*/\n            void 0\n          );\n        case 268:\n          return factory.createImportEqualsDeclaration(\n            /*modifiers*/\n            void 0,\n            /*isTypeOnly*/\n            false,\n            newNamespaceId,\n            factory.createExternalModuleReference(newModuleString)\n          );\n        case 257:\n          return factory.createVariableDeclaration(\n            newNamespaceId,\n            /*exclamationToken*/\n            void 0,\n            /*type*/\n            void 0,\n            createRequireCall(newModuleString)\n          );\n        default:\n          return Debug2.assertNever(node, `Unexpected node kind ${node.kind}`);\n      }\n    }\n    function moduleSpecifierFromImport(i) {\n      return i.kind === 269 ? i.moduleSpecifier : i.kind === 268 ? i.moduleReference.expression : i.initializer.arguments[0];\n    }\n    function forEachImportInStatement(statement, cb) {\n      if (isImportDeclaration(statement)) {\n        if (isStringLiteral(statement.moduleSpecifier))\n          cb(statement);\n      } else if (isImportEqualsDeclaration(statement)) {\n        if (isExternalModuleReference(statement.moduleReference) && isStringLiteralLike(statement.moduleReference.expression)) {\n          cb(statement);\n        }\n      } else if (isVariableStatement(statement)) {\n        for (const decl of statement.declarationList.declarations) {\n          if (decl.initializer && isRequireCall(\n            decl.initializer,\n            /*checkArgumentIsStringLiteralLike*/\n            true\n          )) {\n            cb(decl);\n          }\n        }\n      }\n    }\n    function createOldFileImportsFromNewFile(sourceFile, newFileNeedExport, newFileNameWithExtension, program, host, useEs6Imports, quotePreference) {\n      let defaultImport;\n      const imports = [];\n      newFileNeedExport.forEach((symbol) => {\n        if (symbol.escapedName === \"default\") {\n          defaultImport = factory.createIdentifier(symbolNameNoDefault(symbol));\n        } else {\n          imports.push(symbol.name);\n        }\n      });\n      return makeImportOrRequire(sourceFile, defaultImport, imports, newFileNameWithExtension, program, host, useEs6Imports, quotePreference);\n    }\n    function makeImportOrRequire(sourceFile, defaultImport, imports, newFileNameWithExtension, program, host, useEs6Imports, quotePreference) {\n      const pathToNewFile = resolvePath(getDirectoryPath(sourceFile.path), newFileNameWithExtension);\n      const pathToNewFileWithCorrectExtension = getModuleSpecifier(program.getCompilerOptions(), sourceFile, sourceFile.path, pathToNewFile, createModuleSpecifierResolutionHost(program, host));\n      if (useEs6Imports) {\n        const specifiers = imports.map((i) => factory.createImportSpecifier(\n          /*isTypeOnly*/\n          false,\n          /*propertyName*/\n          void 0,\n          factory.createIdentifier(i)\n        ));\n        return makeImportIfNecessary(defaultImport, specifiers, pathToNewFileWithCorrectExtension, quotePreference);\n      } else {\n        Debug2.assert(!defaultImport, \"No default import should exist\");\n        const bindingElements = imports.map((i) => factory.createBindingElement(\n          /*dotDotDotToken*/\n          void 0,\n          /*propertyName*/\n          void 0,\n          i\n        ));\n        return bindingElements.length ? makeVariableStatement(\n          factory.createObjectBindingPattern(bindingElements),\n          /*type*/\n          void 0,\n          createRequireCall(factory.createStringLiteral(pathToNewFileWithCorrectExtension))\n        ) : void 0;\n      }\n    }\n    function makeVariableStatement(name, type, initializer, flags = 2) {\n      return factory.createVariableStatement(\n        /*modifiers*/\n        void 0,\n        factory.createVariableDeclarationList([factory.createVariableDeclaration(\n          name,\n          /*exclamationToken*/\n          void 0,\n          type,\n          initializer\n        )], flags)\n      );\n    }\n    function createRequireCall(moduleSpecifier) {\n      return factory.createCallExpression(\n        factory.createIdentifier(\"require\"),\n        /*typeArguments*/\n        void 0,\n        [moduleSpecifier]\n      );\n    }\n    function addExports(sourceFile, toMove, needExport, useEs6Exports) {\n      return flatMap(toMove, (statement) => {\n        if (isTopLevelDeclarationStatement(statement) && !isExported(sourceFile, statement, useEs6Exports) && forEachTopLevelDeclaration(statement, (d) => {\n          var _a22;\n          return needExport.has(Debug2.checkDefined((_a22 = tryCast(d, canHaveSymbol)) == null ? void 0 : _a22.symbol));\n        })) {\n          const exports = addExport(statement, useEs6Exports);\n          if (exports)\n            return exports;\n        }\n        return statement;\n      });\n    }\n    function deleteUnusedImports(sourceFile, importDecl, changes, isUnused) {\n      switch (importDecl.kind) {\n        case 269:\n          deleteUnusedImportsInDeclaration(sourceFile, importDecl, changes, isUnused);\n          break;\n        case 268:\n          if (isUnused(importDecl.name)) {\n            changes.delete(sourceFile, importDecl);\n          }\n          break;\n        case 257:\n          deleteUnusedImportsInVariableDeclaration(sourceFile, importDecl, changes, isUnused);\n          break;\n        default:\n          Debug2.assertNever(importDecl, `Unexpected import decl kind ${importDecl.kind}`);\n      }\n    }\n    function deleteUnusedImportsInDeclaration(sourceFile, importDecl, changes, isUnused) {\n      if (!importDecl.importClause)\n        return;\n      const { name, namedBindings } = importDecl.importClause;\n      const defaultUnused = !name || isUnused(name);\n      const namedBindingsUnused = !namedBindings || (namedBindings.kind === 271 ? isUnused(namedBindings.name) : namedBindings.elements.length !== 0 && namedBindings.elements.every((e) => isUnused(e.name)));\n      if (defaultUnused && namedBindingsUnused) {\n        changes.delete(sourceFile, importDecl);\n      } else {\n        if (name && defaultUnused) {\n          changes.delete(sourceFile, name);\n        }\n        if (namedBindings) {\n          if (namedBindingsUnused) {\n            changes.replaceNode(\n              sourceFile,\n              importDecl.importClause,\n              factory.updateImportClause(\n                importDecl.importClause,\n                importDecl.importClause.isTypeOnly,\n                name,\n                /*namedBindings*/\n                void 0\n              )\n            );\n          } else if (namedBindings.kind === 272) {\n            for (const element of namedBindings.elements) {\n              if (isUnused(element.name))\n                changes.delete(sourceFile, element);\n            }\n          }\n        }\n      }\n    }\n    function deleteUnusedImportsInVariableDeclaration(sourceFile, varDecl, changes, isUnused) {\n      const { name } = varDecl;\n      switch (name.kind) {\n        case 79:\n          if (isUnused(name)) {\n            if (varDecl.initializer && isRequireCall(\n              varDecl.initializer,\n              /*requireStringLiteralLikeArgument*/\n              true\n            )) {\n              changes.delete(\n                sourceFile,\n                isVariableDeclarationList(varDecl.parent) && length(varDecl.parent.declarations) === 1 ? varDecl.parent.parent : varDecl\n              );\n            } else {\n              changes.delete(sourceFile, name);\n            }\n          }\n          break;\n        case 204:\n          break;\n        case 203:\n          if (name.elements.every((e) => isIdentifier(e.name) && isUnused(e.name))) {\n            changes.delete(\n              sourceFile,\n              isVariableDeclarationList(varDecl.parent) && varDecl.parent.declarations.length === 1 ? varDecl.parent.parent : varDecl\n            );\n          } else {\n            for (const element of name.elements) {\n              if (isIdentifier(element.name) && isUnused(element.name)) {\n                changes.delete(sourceFile, element.name);\n              }\n            }\n          }\n          break;\n      }\n    }\n    function getNewFileImportsAndAddExportInOldFile(oldFile, importsToCopy, newFileImportsFromOldFile, changes, checker, program, host, useEsModuleSyntax, quotePreference) {\n      const copiedOldImports = [];\n      for (const oldStatement of oldFile.statements) {\n        forEachImportInStatement(oldStatement, (i) => {\n          append(copiedOldImports, filterImport(i, moduleSpecifierFromImport(i), (name) => importsToCopy.has(checker.getSymbolAtLocation(name))));\n        });\n      }\n      let oldFileDefault;\n      const oldFileNamedImports = [];\n      const markSeenTop = nodeSeenTracker();\n      newFileImportsFromOldFile.forEach((symbol) => {\n        if (!symbol.declarations) {\n          return;\n        }\n        for (const decl of symbol.declarations) {\n          if (!isTopLevelDeclaration(decl))\n            continue;\n          const name = nameOfTopLevelDeclaration(decl);\n          if (!name)\n            continue;\n          const top = getTopLevelDeclarationStatement(decl);\n          if (markSeenTop(top)) {\n            addExportToChanges(oldFile, top, name, changes, useEsModuleSyntax);\n          }\n          if (hasSyntacticModifier(\n            decl,\n            1024\n            /* Default */\n          )) {\n            oldFileDefault = name;\n          } else {\n            oldFileNamedImports.push(name.text);\n          }\n        }\n      });\n      append(copiedOldImports, makeImportOrRequire(oldFile, oldFileDefault, oldFileNamedImports, getBaseFileName(oldFile.fileName), program, host, useEsModuleSyntax, quotePreference));\n      return copiedOldImports;\n    }\n    function makeUniqueFilename(proposedFilename, extension, inDirectory, host) {\n      let newFilename = proposedFilename;\n      for (let i = 1; ; i++) {\n        const name = combinePaths(inDirectory, newFilename + extension);\n        if (!host.fileExists(name))\n          return newFilename;\n        newFilename = `${proposedFilename}.${i}`;\n      }\n    }\n    function inferNewFilename(importsFromNewFile, movedSymbols) {\n      return importsFromNewFile.forEachEntry(symbolNameNoDefault) || movedSymbols.forEachEntry(symbolNameNoDefault) || \"newFile\";\n    }\n    function getUsageInfo(oldFile, toMove, checker) {\n      const movedSymbols = new SymbolSet();\n      const oldImportsNeededByNewFile = new SymbolSet();\n      const newFileImportsFromOldFile = new SymbolSet();\n      const containsJsx = find(toMove, (statement) => !!(statement.transformFlags & 2));\n      const jsxNamespaceSymbol = getJsxNamespaceSymbol(containsJsx);\n      if (jsxNamespaceSymbol) {\n        oldImportsNeededByNewFile.add(jsxNamespaceSymbol);\n      }\n      for (const statement of toMove) {\n        forEachTopLevelDeclaration(statement, (decl) => {\n          movedSymbols.add(Debug2.checkDefined(isExpressionStatement(decl) ? checker.getSymbolAtLocation(decl.expression.left) : decl.symbol, \"Need a symbol here\"));\n        });\n      }\n      for (const statement of toMove) {\n        forEachReference(statement, checker, (symbol) => {\n          if (!symbol.declarations)\n            return;\n          for (const decl of symbol.declarations) {\n            if (isInImport(decl)) {\n              oldImportsNeededByNewFile.add(symbol);\n            } else if (isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol)) {\n              newFileImportsFromOldFile.add(symbol);\n            }\n          }\n        });\n      }\n      const unusedImportsFromOldFile = oldImportsNeededByNewFile.clone();\n      const oldFileImportsFromNewFile = new SymbolSet();\n      for (const statement of oldFile.statements) {\n        if (contains(toMove, statement))\n          continue;\n        if (jsxNamespaceSymbol && !!(statement.transformFlags & 2)) {\n          unusedImportsFromOldFile.delete(jsxNamespaceSymbol);\n        }\n        forEachReference(statement, checker, (symbol) => {\n          if (movedSymbols.has(symbol))\n            oldFileImportsFromNewFile.add(symbol);\n          unusedImportsFromOldFile.delete(symbol);\n        });\n      }\n      return { movedSymbols, newFileImportsFromOldFile, oldFileImportsFromNewFile, oldImportsNeededByNewFile, unusedImportsFromOldFile };\n      function getJsxNamespaceSymbol(containsJsx2) {\n        if (containsJsx2 === void 0) {\n          return void 0;\n        }\n        const jsxNamespace = checker.getJsxNamespace(containsJsx2);\n        const jsxNamespaceSymbol2 = checker.resolveName(\n          jsxNamespace,\n          containsJsx2,\n          1920,\n          /*excludeGlobals*/\n          true\n        );\n        return !!jsxNamespaceSymbol2 && some(jsxNamespaceSymbol2.declarations, isInImport) ? jsxNamespaceSymbol2 : void 0;\n      }\n    }\n    function isInImport(decl) {\n      switch (decl.kind) {\n        case 268:\n        case 273:\n        case 270:\n        case 271:\n          return true;\n        case 257:\n          return isVariableDeclarationInImport(decl);\n        case 205:\n          return isVariableDeclaration(decl.parent.parent) && isVariableDeclarationInImport(decl.parent.parent);\n        default:\n          return false;\n      }\n    }\n    function isVariableDeclarationInImport(decl) {\n      return isSourceFile(decl.parent.parent.parent) && !!decl.initializer && isRequireCall(\n        decl.initializer,\n        /*checkArgumentIsStringLiteralLike*/\n        true\n      );\n    }\n    function filterImport(i, moduleSpecifier, keep) {\n      switch (i.kind) {\n        case 269: {\n          const clause = i.importClause;\n          if (!clause)\n            return void 0;\n          const defaultImport = clause.name && keep(clause.name) ? clause.name : void 0;\n          const namedBindings = clause.namedBindings && filterNamedBindings(clause.namedBindings, keep);\n          return defaultImport || namedBindings ? factory.createImportDeclaration(\n            /*modifiers*/\n            void 0,\n            factory.createImportClause(clause.isTypeOnly, defaultImport, namedBindings),\n            moduleSpecifier,\n            /*assertClause*/\n            void 0\n          ) : void 0;\n        }\n        case 268:\n          return keep(i.name) ? i : void 0;\n        case 257: {\n          const name = filterBindingName(i.name, keep);\n          return name ? makeVariableStatement(name, i.type, createRequireCall(moduleSpecifier), i.parent.flags) : void 0;\n        }\n        default:\n          return Debug2.assertNever(i, `Unexpected import kind ${i.kind}`);\n      }\n    }\n    function filterNamedBindings(namedBindings, keep) {\n      if (namedBindings.kind === 271) {\n        return keep(namedBindings.name) ? namedBindings : void 0;\n      } else {\n        const newElements = namedBindings.elements.filter((e) => keep(e.name));\n        return newElements.length ? factory.createNamedImports(newElements) : void 0;\n      }\n    }\n    function filterBindingName(name, keep) {\n      switch (name.kind) {\n        case 79:\n          return keep(name) ? name : void 0;\n        case 204:\n          return name;\n        case 203: {\n          const newElements = name.elements.filter((prop) => prop.propertyName || !isIdentifier(prop.name) || keep(prop.name));\n          return newElements.length ? factory.createObjectBindingPattern(newElements) : void 0;\n        }\n      }\n    }\n    function forEachReference(node, checker, onReference) {\n      node.forEachChild(function cb(node2) {\n        if (isIdentifier(node2) && !isDeclarationName(node2)) {\n          const sym = checker.getSymbolAtLocation(node2);\n          if (sym)\n            onReference(sym);\n        } else {\n          node2.forEachChild(cb);\n        }\n      });\n    }\n    function isTopLevelDeclaration(node) {\n      return isNonVariableTopLevelDeclaration(node) && isSourceFile(node.parent) || isVariableDeclaration(node) && isSourceFile(node.parent.parent.parent);\n    }\n    function sourceFileOfTopLevelDeclaration(node) {\n      return isVariableDeclaration(node) ? node.parent.parent.parent : node.parent;\n    }\n    function isTopLevelDeclarationStatement(node) {\n      Debug2.assert(isSourceFile(node.parent), \"Node parent should be a SourceFile\");\n      return isNonVariableTopLevelDeclaration(node) || isVariableStatement(node);\n    }\n    function isNonVariableTopLevelDeclaration(node) {\n      switch (node.kind) {\n        case 259:\n        case 260:\n        case 264:\n        case 263:\n        case 262:\n        case 261:\n        case 268:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function forEachTopLevelDeclaration(statement, cb) {\n      switch (statement.kind) {\n        case 259:\n        case 260:\n        case 264:\n        case 263:\n        case 262:\n        case 261:\n        case 268:\n          return cb(statement);\n        case 240:\n          return firstDefined(statement.declarationList.declarations, (decl) => forEachTopLevelDeclarationInBindingName(decl.name, cb));\n        case 241: {\n          const { expression } = statement;\n          return isBinaryExpression(expression) && getAssignmentDeclarationKind(expression) === 1 ? cb(statement) : void 0;\n        }\n      }\n    }\n    function forEachTopLevelDeclarationInBindingName(name, cb) {\n      switch (name.kind) {\n        case 79:\n          return cb(cast(name.parent, (x) => isVariableDeclaration(x) || isBindingElement(x)));\n        case 204:\n        case 203:\n          return firstDefined(name.elements, (em) => isOmittedExpression(em) ? void 0 : forEachTopLevelDeclarationInBindingName(em.name, cb));\n        default:\n          return Debug2.assertNever(name, `Unexpected name kind ${name.kind}`);\n      }\n    }\n    function nameOfTopLevelDeclaration(d) {\n      return isExpressionStatement(d) ? tryCast(d.expression.left.name, isIdentifier) : tryCast(d.name, isIdentifier);\n    }\n    function getTopLevelDeclarationStatement(d) {\n      switch (d.kind) {\n        case 257:\n          return d.parent.parent;\n        case 205:\n          return getTopLevelDeclarationStatement(\n            cast(d.parent.parent, (p) => isVariableDeclaration(p) || isBindingElement(p))\n          );\n        default:\n          return d;\n      }\n    }\n    function addExportToChanges(sourceFile, decl, name, changes, useEs6Exports) {\n      if (isExported(sourceFile, decl, useEs6Exports, name))\n        return;\n      if (useEs6Exports) {\n        if (!isExpressionStatement(decl))\n          changes.insertExportModifier(sourceFile, decl);\n      } else {\n        const names = getNamesToExportInCommonJS(decl);\n        if (names.length !== 0)\n          changes.insertNodesAfter(sourceFile, decl, names.map(createExportAssignment));\n      }\n    }\n    function isExported(sourceFile, decl, useEs6Exports, name) {\n      var _a22;\n      if (useEs6Exports) {\n        return !isExpressionStatement(decl) && hasSyntacticModifier(\n          decl,\n          1\n          /* Export */\n        ) || !!(name && ((_a22 = sourceFile.symbol.exports) == null ? void 0 : _a22.has(name.escapedText)));\n      }\n      return !!sourceFile.symbol && !!sourceFile.symbol.exports && getNamesToExportInCommonJS(decl).some((name2) => sourceFile.symbol.exports.has(escapeLeadingUnderscores(name2)));\n    }\n    function addExport(decl, useEs6Exports) {\n      return useEs6Exports ? [addEs6Export(decl)] : addCommonjsExport(decl);\n    }\n    function addEs6Export(d) {\n      const modifiers = canHaveModifiers(d) ? concatenate([factory.createModifier(\n        93\n        /* ExportKeyword */\n      )], getModifiers(d)) : void 0;\n      switch (d.kind) {\n        case 259:\n          return factory.updateFunctionDeclaration(d, modifiers, d.asteriskToken, d.name, d.typeParameters, d.parameters, d.type, d.body);\n        case 260:\n          const decorators = canHaveDecorators(d) ? getDecorators(d) : void 0;\n          return factory.updateClassDeclaration(d, concatenate(decorators, modifiers), d.name, d.typeParameters, d.heritageClauses, d.members);\n        case 240:\n          return factory.updateVariableStatement(d, modifiers, d.declarationList);\n        case 264:\n          return factory.updateModuleDeclaration(d, modifiers, d.name, d.body);\n        case 263:\n          return factory.updateEnumDeclaration(d, modifiers, d.name, d.members);\n        case 262:\n          return factory.updateTypeAliasDeclaration(d, modifiers, d.name, d.typeParameters, d.type);\n        case 261:\n          return factory.updateInterfaceDeclaration(d, modifiers, d.name, d.typeParameters, d.heritageClauses, d.members);\n        case 268:\n          return factory.updateImportEqualsDeclaration(d, modifiers, d.isTypeOnly, d.name, d.moduleReference);\n        case 241:\n          return Debug2.fail();\n        default:\n          return Debug2.assertNever(d, `Unexpected declaration kind ${d.kind}`);\n      }\n    }\n    function addCommonjsExport(decl) {\n      return [decl, ...getNamesToExportInCommonJS(decl).map(createExportAssignment)];\n    }\n    function getNamesToExportInCommonJS(decl) {\n      switch (decl.kind) {\n        case 259:\n        case 260:\n          return [decl.name.text];\n        case 240:\n          return mapDefined(decl.declarationList.declarations, (d) => isIdentifier(d.name) ? d.name.text : void 0);\n        case 264:\n        case 263:\n        case 262:\n        case 261:\n        case 268:\n          return emptyArray;\n        case 241:\n          return Debug2.fail(\"Can't export an ExpressionStatement\");\n        default:\n          return Debug2.assertNever(decl, `Unexpected decl kind ${decl.kind}`);\n      }\n    }\n    function createExportAssignment(name) {\n      return factory.createExpressionStatement(\n        factory.createBinaryExpression(\n          factory.createPropertyAccessExpression(factory.createIdentifier(\"exports\"), factory.createIdentifier(name)),\n          63,\n          factory.createIdentifier(name)\n        )\n      );\n    }\n    var refactorName4, description, moveToNewFileAction, SymbolSet;\n    var init_moveToNewFile = __esm({\n      \"src/services/refactors/moveToNewFile.ts\"() {\n        \"use strict\";\n        init_moduleSpecifiers();\n        init_ts4();\n        init_ts_refactor();\n        refactorName4 = \"Move to a new file\";\n        description = getLocaleSpecificMessage(Diagnostics.Move_to_a_new_file);\n        moveToNewFileAction = {\n          name: refactorName4,\n          description,\n          kind: \"refactor.move.newFile\"\n        };\n        registerRefactor(refactorName4, {\n          kinds: [moveToNewFileAction.kind],\n          getAvailableActions: function getRefactorActionsToMoveToNewFile(context) {\n            const statements = getStatementsToMove(context);\n            if (context.preferences.allowTextChangesInNewFiles && statements) {\n              return [{ name: refactorName4, description, actions: [moveToNewFileAction] }];\n            }\n            if (context.preferences.provideRefactorNotApplicableReason) {\n              return [{\n                name: refactorName4,\n                description,\n                actions: [{ ...moveToNewFileAction, notApplicableReason: getLocaleSpecificMessage(Diagnostics.Selection_is_not_a_valid_statement_or_statements) }]\n              }];\n            }\n            return emptyArray;\n          },\n          getEditsForAction: function getRefactorEditsToMoveToNewFile(context, actionName2) {\n            Debug2.assert(actionName2 === refactorName4, \"Wrong refactor invoked\");\n            const statements = Debug2.checkDefined(getStatementsToMove(context));\n            const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange35(context.file, context.program, statements, t, context.host, context.preferences));\n            return { edits, renameFilename: void 0, renameLocation: void 0 };\n          }\n        });\n        SymbolSet = class {\n          constructor() {\n            this.map = /* @__PURE__ */ new Map();\n          }\n          add(symbol) {\n            this.map.set(String(getSymbolId(symbol)), symbol);\n          }\n          has(symbol) {\n            return this.map.has(String(getSymbolId(symbol)));\n          }\n          delete(symbol) {\n            this.map.delete(String(getSymbolId(symbol)));\n          }\n          forEach(cb) {\n            this.map.forEach(cb);\n          }\n          forEachEntry(cb) {\n            return forEachEntry(this.map, cb);\n          }\n          clone() {\n            const clone2 = new SymbolSet();\n            copyEntries(this.map, clone2.map);\n            return clone2;\n          }\n          size() {\n            return this.map.size;\n          }\n        };\n      }\n    });\n    function getRefactorActionsToConvertOverloadsToOneSignature(context) {\n      const { file, startPosition, program } = context;\n      const info = getConvertableOverloadListAtPosition(file, startPosition, program);\n      if (!info)\n        return emptyArray;\n      return [{\n        name: refactorName5,\n        description: refactorDescription,\n        actions: [functionOverloadAction]\n      }];\n    }\n    function getRefactorEditsToConvertOverloadsToOneSignature(context) {\n      const { file, startPosition, program } = context;\n      const signatureDecls = getConvertableOverloadListAtPosition(file, startPosition, program);\n      if (!signatureDecls)\n        return void 0;\n      const checker = program.getTypeChecker();\n      const lastDeclaration = signatureDecls[signatureDecls.length - 1];\n      let updated = lastDeclaration;\n      switch (lastDeclaration.kind) {\n        case 170: {\n          updated = factory.updateMethodSignature(\n            lastDeclaration,\n            lastDeclaration.modifiers,\n            lastDeclaration.name,\n            lastDeclaration.questionToken,\n            lastDeclaration.typeParameters,\n            getNewParametersForCombinedSignature(signatureDecls),\n            lastDeclaration.type\n          );\n          break;\n        }\n        case 171: {\n          updated = factory.updateMethodDeclaration(\n            lastDeclaration,\n            lastDeclaration.modifiers,\n            lastDeclaration.asteriskToken,\n            lastDeclaration.name,\n            lastDeclaration.questionToken,\n            lastDeclaration.typeParameters,\n            getNewParametersForCombinedSignature(signatureDecls),\n            lastDeclaration.type,\n            lastDeclaration.body\n          );\n          break;\n        }\n        case 176: {\n          updated = factory.updateCallSignature(\n            lastDeclaration,\n            lastDeclaration.typeParameters,\n            getNewParametersForCombinedSignature(signatureDecls),\n            lastDeclaration.type\n          );\n          break;\n        }\n        case 173: {\n          updated = factory.updateConstructorDeclaration(\n            lastDeclaration,\n            lastDeclaration.modifiers,\n            getNewParametersForCombinedSignature(signatureDecls),\n            lastDeclaration.body\n          );\n          break;\n        }\n        case 177: {\n          updated = factory.updateConstructSignature(\n            lastDeclaration,\n            lastDeclaration.typeParameters,\n            getNewParametersForCombinedSignature(signatureDecls),\n            lastDeclaration.type\n          );\n          break;\n        }\n        case 259: {\n          updated = factory.updateFunctionDeclaration(\n            lastDeclaration,\n            lastDeclaration.modifiers,\n            lastDeclaration.asteriskToken,\n            lastDeclaration.name,\n            lastDeclaration.typeParameters,\n            getNewParametersForCombinedSignature(signatureDecls),\n            lastDeclaration.type,\n            lastDeclaration.body\n          );\n          break;\n        }\n        default:\n          return Debug2.failBadSyntaxKind(lastDeclaration, \"Unhandled signature kind in overload list conversion refactoring\");\n      }\n      if (updated === lastDeclaration) {\n        return;\n      }\n      const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n        t.replaceNodeRange(file, signatureDecls[0], signatureDecls[signatureDecls.length - 1], updated);\n      });\n      return { renameFilename: void 0, renameLocation: void 0, edits };\n      function getNewParametersForCombinedSignature(signatureDeclarations) {\n        const lastSig = signatureDeclarations[signatureDeclarations.length - 1];\n        if (isFunctionLikeDeclaration(lastSig) && lastSig.body) {\n          signatureDeclarations = signatureDeclarations.slice(0, signatureDeclarations.length - 1);\n        }\n        return factory.createNodeArray([\n          factory.createParameterDeclaration(\n            /*modifiers*/\n            void 0,\n            factory.createToken(\n              25\n              /* DotDotDotToken */\n            ),\n            \"args\",\n            /*questionToken*/\n            void 0,\n            factory.createUnionTypeNode(map(signatureDeclarations, convertSignatureParametersToTuple))\n          )\n        ]);\n      }\n      function convertSignatureParametersToTuple(decl) {\n        const members = map(decl.parameters, convertParameterToNamedTupleMember);\n        return setEmitFlags(\n          factory.createTupleTypeNode(members),\n          some(members, (m) => !!length(getSyntheticLeadingComments(m))) ? 0 : 1\n          /* SingleLine */\n        );\n      }\n      function convertParameterToNamedTupleMember(p) {\n        Debug2.assert(isIdentifier(p.name));\n        const result = setTextRange(factory.createNamedTupleMember(\n          p.dotDotDotToken,\n          p.name,\n          p.questionToken,\n          p.type || factory.createKeywordTypeNode(\n            131\n            /* AnyKeyword */\n          )\n        ), p);\n        const parameterDocComment = p.symbol && p.symbol.getDocumentationComment(checker);\n        if (parameterDocComment) {\n          const newComment = displayPartsToString2(parameterDocComment);\n          if (newComment.length) {\n            setSyntheticLeadingComments(result, [{\n              text: `*\n${newComment.split(\"\\n\").map((c) => ` * ${c}`).join(\"\\n\")}\n `,\n              kind: 3,\n              pos: -1,\n              end: -1,\n              hasTrailingNewLine: true,\n              hasLeadingNewline: true\n            }]);\n          }\n        }\n        return result;\n      }\n    }\n    function isConvertableSignatureDeclaration(d) {\n      switch (d.kind) {\n        case 170:\n        case 171:\n        case 176:\n        case 173:\n        case 177:\n        case 259:\n          return true;\n      }\n      return false;\n    }\n    function getConvertableOverloadListAtPosition(file, startPosition, program) {\n      const node = getTokenAtPosition(file, startPosition);\n      const containingDecl = findAncestor(node, isConvertableSignatureDeclaration);\n      if (!containingDecl) {\n        return;\n      }\n      if (isFunctionLikeDeclaration(containingDecl) && containingDecl.body && rangeContainsPosition(containingDecl.body, startPosition)) {\n        return;\n      }\n      const checker = program.getTypeChecker();\n      const signatureSymbol = containingDecl.symbol;\n      if (!signatureSymbol) {\n        return;\n      }\n      const decls = signatureSymbol.declarations;\n      if (length(decls) <= 1) {\n        return;\n      }\n      if (!every(decls, (d) => getSourceFileOfNode(d) === file)) {\n        return;\n      }\n      if (!isConvertableSignatureDeclaration(decls[0])) {\n        return;\n      }\n      const kindOne = decls[0].kind;\n      if (!every(decls, (d) => d.kind === kindOne)) {\n        return;\n      }\n      const signatureDecls = decls;\n      if (some(signatureDecls, (d) => !!d.typeParameters || some(d.parameters, (p) => !!p.modifiers || !isIdentifier(p.name)))) {\n        return;\n      }\n      const signatures = mapDefined(signatureDecls, (d) => checker.getSignatureFromDeclaration(d));\n      if (length(signatures) !== length(decls)) {\n        return;\n      }\n      const returnOne = checker.getReturnTypeOfSignature(signatures[0]);\n      if (!every(signatures, (s) => checker.getReturnTypeOfSignature(s) === returnOne)) {\n        return;\n      }\n      return signatureDecls;\n    }\n    var refactorName5, refactorDescription, functionOverloadAction;\n    var init_convertOverloadListToSingleSignature = __esm({\n      \"src/services/refactors/convertOverloadListToSingleSignature.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName5 = \"Convert overload list to single signature\";\n        refactorDescription = Diagnostics.Convert_overload_list_to_single_signature.message;\n        functionOverloadAction = {\n          name: refactorName5,\n          description: refactorDescription,\n          kind: \"refactor.rewrite.function.overloadList\"\n        };\n        registerRefactor(refactorName5, {\n          kinds: [functionOverloadAction.kind],\n          getEditsForAction: getRefactorEditsToConvertOverloadsToOneSignature,\n          getAvailableActions: getRefactorActionsToConvertOverloadsToOneSignature\n        });\n      }\n    });\n    function getRefactorActionsToRemoveFunctionBraces(context) {\n      const { file, startPosition, triggerReason } = context;\n      const info = getConvertibleArrowFunctionAtPosition(file, startPosition, triggerReason === \"invoked\");\n      if (!info)\n        return emptyArray;\n      if (!isRefactorErrorInfo(info)) {\n        return [{\n          name: refactorName6,\n          description: refactorDescription2,\n          actions: [\n            info.addBraces ? addBracesAction : removeBracesAction\n          ]\n        }];\n      }\n      if (context.preferences.provideRefactorNotApplicableReason) {\n        return [{\n          name: refactorName6,\n          description: refactorDescription2,\n          actions: [\n            { ...addBracesAction, notApplicableReason: info.error },\n            { ...removeBracesAction, notApplicableReason: info.error }\n          ]\n        }];\n      }\n      return emptyArray;\n    }\n    function getRefactorEditsToRemoveFunctionBraces(context, actionName2) {\n      const { file, startPosition } = context;\n      const info = getConvertibleArrowFunctionAtPosition(file, startPosition);\n      Debug2.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n      const { expression, returnStatement, func } = info;\n      let body;\n      if (actionName2 === addBracesAction.name) {\n        const returnStatement2 = factory.createReturnStatement(expression);\n        body = factory.createBlock(\n          [returnStatement2],\n          /* multiLine */\n          true\n        );\n        copyLeadingComments(\n          expression,\n          returnStatement2,\n          file,\n          3,\n          /* hasTrailingNewLine */\n          true\n        );\n      } else if (actionName2 === removeBracesAction.name && returnStatement) {\n        const actualExpression = expression || factory.createVoidZero();\n        body = needsParentheses(actualExpression) ? factory.createParenthesizedExpression(actualExpression) : actualExpression;\n        copyTrailingAsLeadingComments(\n          returnStatement,\n          body,\n          file,\n          3,\n          /* hasTrailingNewLine */\n          false\n        );\n        copyLeadingComments(\n          returnStatement,\n          body,\n          file,\n          3,\n          /* hasTrailingNewLine */\n          false\n        );\n        copyTrailingComments(\n          returnStatement,\n          body,\n          file,\n          3,\n          /* hasTrailingNewLine */\n          false\n        );\n      } else {\n        Debug2.fail(\"invalid action\");\n      }\n      const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n        t.replaceNode(file, func.body, body);\n      });\n      return { renameFilename: void 0, renameLocation: void 0, edits };\n    }\n    function getConvertibleArrowFunctionAtPosition(file, startPosition, considerFunctionBodies = true, kind) {\n      const node = getTokenAtPosition(file, startPosition);\n      const func = getContainingFunction(node);\n      if (!func) {\n        return {\n          error: getLocaleSpecificMessage(Diagnostics.Could_not_find_a_containing_arrow_function)\n        };\n      }\n      if (!isArrowFunction(func)) {\n        return {\n          error: getLocaleSpecificMessage(Diagnostics.Containing_function_is_not_an_arrow_function)\n        };\n      }\n      if (!rangeContainsRange(func, node) || rangeContainsRange(func.body, node) && !considerFunctionBodies) {\n        return void 0;\n      }\n      if (refactorKindBeginsWith(addBracesAction.kind, kind) && isExpression(func.body)) {\n        return { func, addBraces: true, expression: func.body };\n      } else if (refactorKindBeginsWith(removeBracesAction.kind, kind) && isBlock(func.body) && func.body.statements.length === 1) {\n        const firstStatement = first(func.body.statements);\n        if (isReturnStatement(firstStatement)) {\n          return { func, addBraces: false, expression: firstStatement.expression, returnStatement: firstStatement };\n        }\n      }\n      return void 0;\n    }\n    var refactorName6, refactorDescription2, addBracesAction, removeBracesAction;\n    var init_addOrRemoveBracesToArrowFunction = __esm({\n      \"src/services/refactors/addOrRemoveBracesToArrowFunction.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName6 = \"Add or remove braces in an arrow function\";\n        refactorDescription2 = Diagnostics.Add_or_remove_braces_in_an_arrow_function.message;\n        addBracesAction = {\n          name: \"Add braces to arrow function\",\n          description: Diagnostics.Add_braces_to_arrow_function.message,\n          kind: \"refactor.rewrite.arrow.braces.add\"\n        };\n        removeBracesAction = {\n          name: \"Remove braces from arrow function\",\n          description: Diagnostics.Remove_braces_from_arrow_function.message,\n          kind: \"refactor.rewrite.arrow.braces.remove\"\n        };\n        registerRefactor(refactorName6, {\n          kinds: [removeBracesAction.kind],\n          getEditsForAction: getRefactorEditsToRemoveFunctionBraces,\n          getAvailableActions: getRefactorActionsToRemoveFunctionBraces\n        });\n      }\n    });\n    var ts_refactor_addOrRemoveBracesToArrowFunction_exports = {};\n    var init_ts_refactor_addOrRemoveBracesToArrowFunction = __esm({\n      \"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts\"() {\n        \"use strict\";\n        init_convertOverloadListToSingleSignature();\n        init_addOrRemoveBracesToArrowFunction();\n      }\n    });\n    function getRefactorActionsToConvertFunctionExpressions(context) {\n      const { file, startPosition, program, kind } = context;\n      const info = getFunctionInfo(file, startPosition, program);\n      if (!info)\n        return emptyArray;\n      const { selectedVariableDeclaration, func } = info;\n      const possibleActions = [];\n      const errors = [];\n      if (refactorKindBeginsWith(toNamedFunctionAction.kind, kind)) {\n        const error = selectedVariableDeclaration || isArrowFunction(func) && isVariableDeclaration(func.parent) ? void 0 : getLocaleSpecificMessage(Diagnostics.Could_not_convert_to_named_function);\n        if (error) {\n          errors.push({ ...toNamedFunctionAction, notApplicableReason: error });\n        } else {\n          possibleActions.push(toNamedFunctionAction);\n        }\n      }\n      if (refactorKindBeginsWith(toAnonymousFunctionAction.kind, kind)) {\n        const error = !selectedVariableDeclaration && isArrowFunction(func) ? void 0 : getLocaleSpecificMessage(Diagnostics.Could_not_convert_to_anonymous_function);\n        if (error) {\n          errors.push({ ...toAnonymousFunctionAction, notApplicableReason: error });\n        } else {\n          possibleActions.push(toAnonymousFunctionAction);\n        }\n      }\n      if (refactorKindBeginsWith(toArrowFunctionAction.kind, kind)) {\n        const error = isFunctionExpression(func) ? void 0 : getLocaleSpecificMessage(Diagnostics.Could_not_convert_to_arrow_function);\n        if (error) {\n          errors.push({ ...toArrowFunctionAction, notApplicableReason: error });\n        } else {\n          possibleActions.push(toArrowFunctionAction);\n        }\n      }\n      return [{\n        name: refactorName7,\n        description: refactorDescription3,\n        actions: possibleActions.length === 0 && context.preferences.provideRefactorNotApplicableReason ? errors : possibleActions\n      }];\n    }\n    function getRefactorEditsToConvertFunctionExpressions(context, actionName2) {\n      const { file, startPosition, program } = context;\n      const info = getFunctionInfo(file, startPosition, program);\n      if (!info)\n        return void 0;\n      const { func } = info;\n      const edits = [];\n      switch (actionName2) {\n        case toAnonymousFunctionAction.name:\n          edits.push(...getEditInfoForConvertToAnonymousFunction(context, func));\n          break;\n        case toNamedFunctionAction.name:\n          const variableInfo = getVariableInfo(func);\n          if (!variableInfo)\n            return void 0;\n          edits.push(...getEditInfoForConvertToNamedFunction(context, func, variableInfo));\n          break;\n        case toArrowFunctionAction.name:\n          if (!isFunctionExpression(func))\n            return void 0;\n          edits.push(...getEditInfoForConvertToArrowFunction(context, func));\n          break;\n        default:\n          return Debug2.fail(\"invalid action\");\n      }\n      return { renameFilename: void 0, renameLocation: void 0, edits };\n    }\n    function containingThis(node) {\n      let containsThis = false;\n      node.forEachChild(function checkThis(child) {\n        if (isThis(child)) {\n          containsThis = true;\n          return;\n        }\n        if (!isClassLike(child) && !isFunctionDeclaration(child) && !isFunctionExpression(child)) {\n          forEachChild(child, checkThis);\n        }\n      });\n      return containsThis;\n    }\n    function getFunctionInfo(file, startPosition, program) {\n      const token = getTokenAtPosition(file, startPosition);\n      const typeChecker = program.getTypeChecker();\n      const func = tryGetFunctionFromVariableDeclaration(file, typeChecker, token.parent);\n      if (func && !containingThis(func.body) && !typeChecker.containsArgumentsReference(func)) {\n        return { selectedVariableDeclaration: true, func };\n      }\n      const maybeFunc = getContainingFunction(token);\n      if (maybeFunc && (isFunctionExpression(maybeFunc) || isArrowFunction(maybeFunc)) && !rangeContainsRange(maybeFunc.body, token) && !containingThis(maybeFunc.body) && !typeChecker.containsArgumentsReference(maybeFunc)) {\n        if (isFunctionExpression(maybeFunc) && isFunctionReferencedInFile(file, typeChecker, maybeFunc))\n          return void 0;\n        return { selectedVariableDeclaration: false, func: maybeFunc };\n      }\n      return void 0;\n    }\n    function isSingleVariableDeclaration(parent2) {\n      return isVariableDeclaration(parent2) || isVariableDeclarationList(parent2) && parent2.declarations.length === 1;\n    }\n    function tryGetFunctionFromVariableDeclaration(sourceFile, typeChecker, parent2) {\n      if (!isSingleVariableDeclaration(parent2)) {\n        return void 0;\n      }\n      const variableDeclaration = isVariableDeclaration(parent2) ? parent2 : first(parent2.declarations);\n      const initializer = variableDeclaration.initializer;\n      if (initializer && (isArrowFunction(initializer) || isFunctionExpression(initializer) && !isFunctionReferencedInFile(sourceFile, typeChecker, initializer))) {\n        return initializer;\n      }\n      return void 0;\n    }\n    function convertToBlock(body) {\n      if (isExpression(body)) {\n        const returnStatement = factory.createReturnStatement(body);\n        const file = body.getSourceFile();\n        setTextRange(returnStatement, body);\n        suppressLeadingAndTrailingTrivia(returnStatement);\n        copyTrailingAsLeadingComments(\n          body,\n          returnStatement,\n          file,\n          /* commentKind */\n          void 0,\n          /* hasTrailingNewLine */\n          true\n        );\n        return factory.createBlock(\n          [returnStatement],\n          /* multiLine */\n          true\n        );\n      } else {\n        return body;\n      }\n    }\n    function getVariableInfo(func) {\n      const variableDeclaration = func.parent;\n      if (!isVariableDeclaration(variableDeclaration) || !isVariableDeclarationInVariableStatement(variableDeclaration))\n        return void 0;\n      const variableDeclarationList = variableDeclaration.parent;\n      const statement = variableDeclarationList.parent;\n      if (!isVariableDeclarationList(variableDeclarationList) || !isVariableStatement(statement) || !isIdentifier(variableDeclaration.name))\n        return void 0;\n      return { variableDeclaration, variableDeclarationList, statement, name: variableDeclaration.name };\n    }\n    function getEditInfoForConvertToAnonymousFunction(context, func) {\n      const { file } = context;\n      const body = convertToBlock(func.body);\n      const newNode = factory.createFunctionExpression(\n        func.modifiers,\n        func.asteriskToken,\n        /* name */\n        void 0,\n        func.typeParameters,\n        func.parameters,\n        func.type,\n        body\n      );\n      return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, func, newNode));\n    }\n    function getEditInfoForConvertToNamedFunction(context, func, variableInfo) {\n      const { file } = context;\n      const body = convertToBlock(func.body);\n      const { variableDeclaration, variableDeclarationList, statement, name } = variableInfo;\n      suppressLeadingTrivia(statement);\n      const modifiersFlags = getCombinedModifierFlags(variableDeclaration) & 1 | getEffectiveModifierFlags(func);\n      const modifiers = factory.createModifiersFromModifierFlags(modifiersFlags);\n      const newNode = factory.createFunctionDeclaration(length(modifiers) ? modifiers : void 0, func.asteriskToken, name, func.typeParameters, func.parameters, func.type, body);\n      if (variableDeclarationList.declarations.length === 1) {\n        return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, statement, newNode));\n      } else {\n        return ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n          t.delete(file, variableDeclaration);\n          t.insertNodeAfter(file, statement, newNode);\n        });\n      }\n    }\n    function getEditInfoForConvertToArrowFunction(context, func) {\n      const { file } = context;\n      const statements = func.body.statements;\n      const head = statements[0];\n      let body;\n      if (canBeConvertedToExpression(func.body, head)) {\n        body = head.expression;\n        suppressLeadingAndTrailingTrivia(body);\n        copyComments(head, body);\n      } else {\n        body = func.body;\n      }\n      const newNode = factory.createArrowFunction(func.modifiers, func.typeParameters, func.parameters, func.type, factory.createToken(\n        38\n        /* EqualsGreaterThanToken */\n      ), body);\n      return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, func, newNode));\n    }\n    function canBeConvertedToExpression(body, head) {\n      return body.statements.length === 1 && (isReturnStatement(head) && !!head.expression);\n    }\n    function isFunctionReferencedInFile(sourceFile, typeChecker, node) {\n      return !!node.name && ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(node.name, typeChecker, sourceFile);\n    }\n    var refactorName7, refactorDescription3, toAnonymousFunctionAction, toNamedFunctionAction, toArrowFunctionAction;\n    var init_convertArrowFunctionOrFunctionExpression = __esm({\n      \"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName7 = \"Convert arrow function or function expression\";\n        refactorDescription3 = getLocaleSpecificMessage(Diagnostics.Convert_arrow_function_or_function_expression);\n        toAnonymousFunctionAction = {\n          name: \"Convert to anonymous function\",\n          description: getLocaleSpecificMessage(Diagnostics.Convert_to_anonymous_function),\n          kind: \"refactor.rewrite.function.anonymous\"\n        };\n        toNamedFunctionAction = {\n          name: \"Convert to named function\",\n          description: getLocaleSpecificMessage(Diagnostics.Convert_to_named_function),\n          kind: \"refactor.rewrite.function.named\"\n        };\n        toArrowFunctionAction = {\n          name: \"Convert to arrow function\",\n          description: getLocaleSpecificMessage(Diagnostics.Convert_to_arrow_function),\n          kind: \"refactor.rewrite.function.arrow\"\n        };\n        registerRefactor(refactorName7, {\n          kinds: [\n            toAnonymousFunctionAction.kind,\n            toNamedFunctionAction.kind,\n            toArrowFunctionAction.kind\n          ],\n          getEditsForAction: getRefactorEditsToConvertFunctionExpressions,\n          getAvailableActions: getRefactorActionsToConvertFunctionExpressions\n        });\n      }\n    });\n    var ts_refactor_convertArrowFunctionOrFunctionExpression_exports = {};\n    var init_ts_refactor_convertArrowFunctionOrFunctionExpression = __esm({\n      \"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts\"() {\n        \"use strict\";\n        init_convertArrowFunctionOrFunctionExpression();\n      }\n    });\n    function getRefactorActionsToConvertParametersToDestructuredObject(context) {\n      const { file, startPosition } = context;\n      const isJSFile = isSourceFileJS(file);\n      if (isJSFile)\n        return emptyArray;\n      const functionDeclaration = getFunctionDeclarationAtPosition(file, startPosition, context.program.getTypeChecker());\n      if (!functionDeclaration)\n        return emptyArray;\n      return [{\n        name: refactorName8,\n        description: refactorDescription4,\n        actions: [toDestructuredAction]\n      }];\n    }\n    function getRefactorEditsToConvertParametersToDestructuredObject(context, actionName2) {\n      Debug2.assert(actionName2 === refactorName8, \"Unexpected action name\");\n      const { file, startPosition, program, cancellationToken, host } = context;\n      const functionDeclaration = getFunctionDeclarationAtPosition(file, startPosition, program.getTypeChecker());\n      if (!functionDeclaration || !cancellationToken)\n        return void 0;\n      const groupedReferences = getGroupedReferences(functionDeclaration, program, cancellationToken);\n      if (groupedReferences.valid) {\n        const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange36(file, program, host, t, functionDeclaration, groupedReferences));\n        return { renameFilename: void 0, renameLocation: void 0, edits };\n      }\n      return { edits: [] };\n    }\n    function doChange36(sourceFile, program, host, changes, functionDeclaration, groupedReferences) {\n      const signature = groupedReferences.signature;\n      const newFunctionDeclarationParams = map(createNewParameters(functionDeclaration, program, host), (param) => getSynthesizedDeepClone(param));\n      if (signature) {\n        const newSignatureParams = map(createNewParameters(signature, program, host), (param) => getSynthesizedDeepClone(param));\n        replaceParameters(signature, newSignatureParams);\n      }\n      replaceParameters(functionDeclaration, newFunctionDeclarationParams);\n      const functionCalls = sortAndDeduplicate(\n        groupedReferences.functionCalls,\n        /*comparer*/\n        (a, b) => compareValues(a.pos, b.pos)\n      );\n      for (const call of functionCalls) {\n        if (call.arguments && call.arguments.length) {\n          const newArgument = getSynthesizedDeepClone(\n            createNewArgument(functionDeclaration, call.arguments),\n            /*includeTrivia*/\n            true\n          );\n          changes.replaceNodeRange(\n            getSourceFileOfNode(call),\n            first(call.arguments),\n            last(call.arguments),\n            newArgument,\n            { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll, trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include }\n          );\n        }\n      }\n      function replaceParameters(declarationOrSignature, parameterDeclarations) {\n        changes.replaceNodeRangeWithNodes(\n          sourceFile,\n          first(declarationOrSignature.parameters),\n          last(declarationOrSignature.parameters),\n          parameterDeclarations,\n          {\n            joiner: \", \",\n            // indentation is set to 0 because otherwise the object parameter will be indented if there is a `this` parameter\n            indentation: 0,\n            leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll,\n            trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include\n          }\n        );\n      }\n    }\n    function getGroupedReferences(functionDeclaration, program, cancellationToken) {\n      const functionNames = getFunctionNames(functionDeclaration);\n      const classNames = isConstructorDeclaration(functionDeclaration) ? getClassNames(functionDeclaration) : [];\n      const names = deduplicate([...functionNames, ...classNames], equateValues);\n      const checker = program.getTypeChecker();\n      const references = flatMap(\n        names,\n        /*mapfn*/\n        (name) => ts_FindAllReferences_exports.getReferenceEntriesForNode(-1, name, program, program.getSourceFiles(), cancellationToken)\n      );\n      const groupedReferences = groupReferences(references);\n      if (!every(\n        groupedReferences.declarations,\n        /*callback*/\n        (decl) => contains(names, decl)\n      )) {\n        groupedReferences.valid = false;\n      }\n      return groupedReferences;\n      function groupReferences(referenceEntries) {\n        const classReferences = { accessExpressions: [], typeUsages: [] };\n        const groupedReferences2 = { functionCalls: [], declarations: [], classReferences, valid: true };\n        const functionSymbols = map(functionNames, getSymbolTargetAtLocation);\n        const classSymbols = map(classNames, getSymbolTargetAtLocation);\n        const isConstructor = isConstructorDeclaration(functionDeclaration);\n        const contextualSymbols = map(functionNames, (name) => getSymbolForContextualType(name, checker));\n        for (const entry of referenceEntries) {\n          if (entry.kind === ts_FindAllReferences_exports.EntryKind.Span) {\n            groupedReferences2.valid = false;\n            continue;\n          }\n          if (contains(contextualSymbols, getSymbolTargetAtLocation(entry.node))) {\n            if (isValidMethodSignature(entry.node.parent)) {\n              groupedReferences2.signature = entry.node.parent;\n              continue;\n            }\n            const call = entryToFunctionCall(entry);\n            if (call) {\n              groupedReferences2.functionCalls.push(call);\n              continue;\n            }\n          }\n          const contextualSymbol = getSymbolForContextualType(entry.node, checker);\n          if (contextualSymbol && contains(contextualSymbols, contextualSymbol)) {\n            const decl = entryToDeclaration(entry);\n            if (decl) {\n              groupedReferences2.declarations.push(decl);\n              continue;\n            }\n          }\n          if (contains(functionSymbols, getSymbolTargetAtLocation(entry.node)) || isNewExpressionTarget(entry.node)) {\n            const importOrExportReference = entryToImportOrExport(entry);\n            if (importOrExportReference) {\n              continue;\n            }\n            const decl = entryToDeclaration(entry);\n            if (decl) {\n              groupedReferences2.declarations.push(decl);\n              continue;\n            }\n            const call = entryToFunctionCall(entry);\n            if (call) {\n              groupedReferences2.functionCalls.push(call);\n              continue;\n            }\n          }\n          if (isConstructor && contains(classSymbols, getSymbolTargetAtLocation(entry.node))) {\n            const importOrExportReference = entryToImportOrExport(entry);\n            if (importOrExportReference) {\n              continue;\n            }\n            const decl = entryToDeclaration(entry);\n            if (decl) {\n              groupedReferences2.declarations.push(decl);\n              continue;\n            }\n            const accessExpression = entryToAccessExpression(entry);\n            if (accessExpression) {\n              classReferences.accessExpressions.push(accessExpression);\n              continue;\n            }\n            if (isClassDeclaration(functionDeclaration.parent)) {\n              const type = entryToType(entry);\n              if (type) {\n                classReferences.typeUsages.push(type);\n                continue;\n              }\n            }\n          }\n          groupedReferences2.valid = false;\n        }\n        return groupedReferences2;\n      }\n      function getSymbolTargetAtLocation(node) {\n        const symbol = checker.getSymbolAtLocation(node);\n        return symbol && getSymbolTarget(symbol, checker);\n      }\n    }\n    function getSymbolForContextualType(node, checker) {\n      const element = getContainingObjectLiteralElement(node);\n      if (element) {\n        const contextualType = checker.getContextualTypeForObjectLiteralElement(element);\n        const symbol = contextualType == null ? void 0 : contextualType.getSymbol();\n        if (symbol && !(getCheckFlags(symbol) & 6)) {\n          return symbol;\n        }\n      }\n    }\n    function entryToImportOrExport(entry) {\n      const node = entry.node;\n      if (isImportSpecifier(node.parent) || isImportClause(node.parent) || isImportEqualsDeclaration(node.parent) || isNamespaceImport(node.parent)) {\n        return node;\n      }\n      if (isExportSpecifier(node.parent) || isExportAssignment(node.parent)) {\n        return node;\n      }\n      return void 0;\n    }\n    function entryToDeclaration(entry) {\n      if (isDeclaration(entry.node.parent)) {\n        return entry.node;\n      }\n      return void 0;\n    }\n    function entryToFunctionCall(entry) {\n      if (entry.node.parent) {\n        const functionReference = entry.node;\n        const parent2 = functionReference.parent;\n        switch (parent2.kind) {\n          case 210:\n          case 211:\n            const callOrNewExpression = tryCast(parent2, isCallOrNewExpression);\n            if (callOrNewExpression && callOrNewExpression.expression === functionReference) {\n              return callOrNewExpression;\n            }\n            break;\n          case 208:\n            const propertyAccessExpression = tryCast(parent2, isPropertyAccessExpression);\n            if (propertyAccessExpression && propertyAccessExpression.parent && propertyAccessExpression.name === functionReference) {\n              const callOrNewExpression2 = tryCast(propertyAccessExpression.parent, isCallOrNewExpression);\n              if (callOrNewExpression2 && callOrNewExpression2.expression === propertyAccessExpression) {\n                return callOrNewExpression2;\n              }\n            }\n            break;\n          case 209:\n            const elementAccessExpression = tryCast(parent2, isElementAccessExpression);\n            if (elementAccessExpression && elementAccessExpression.parent && elementAccessExpression.argumentExpression === functionReference) {\n              const callOrNewExpression2 = tryCast(elementAccessExpression.parent, isCallOrNewExpression);\n              if (callOrNewExpression2 && callOrNewExpression2.expression === elementAccessExpression) {\n                return callOrNewExpression2;\n              }\n            }\n            break;\n        }\n      }\n      return void 0;\n    }\n    function entryToAccessExpression(entry) {\n      if (entry.node.parent) {\n        const reference = entry.node;\n        const parent2 = reference.parent;\n        switch (parent2.kind) {\n          case 208:\n            const propertyAccessExpression = tryCast(parent2, isPropertyAccessExpression);\n            if (propertyAccessExpression && propertyAccessExpression.expression === reference) {\n              return propertyAccessExpression;\n            }\n            break;\n          case 209:\n            const elementAccessExpression = tryCast(parent2, isElementAccessExpression);\n            if (elementAccessExpression && elementAccessExpression.expression === reference) {\n              return elementAccessExpression;\n            }\n            break;\n        }\n      }\n      return void 0;\n    }\n    function entryToType(entry) {\n      const reference = entry.node;\n      if (getMeaningFromLocation(reference) === 2 || isExpressionWithTypeArgumentsInClassExtendsClause(reference.parent)) {\n        return reference;\n      }\n      return void 0;\n    }\n    function getFunctionDeclarationAtPosition(file, startPosition, checker) {\n      const node = getTouchingToken(file, startPosition);\n      const functionDeclaration = getContainingFunctionDeclaration(node);\n      if (isTopLevelJSDoc(node))\n        return void 0;\n      if (functionDeclaration && isValidFunctionDeclaration(functionDeclaration, checker) && rangeContainsRange(functionDeclaration, node) && !(functionDeclaration.body && rangeContainsRange(functionDeclaration.body, node)))\n        return functionDeclaration;\n      return void 0;\n    }\n    function isTopLevelJSDoc(node) {\n      const containingJSDoc = findAncestor(node, isJSDocNode);\n      if (containingJSDoc) {\n        const containingNonJSDoc = findAncestor(containingJSDoc, (n) => !isJSDocNode(n));\n        return !!containingNonJSDoc && isFunctionLikeDeclaration(containingNonJSDoc);\n      }\n      return false;\n    }\n    function isValidMethodSignature(node) {\n      return isMethodSignature(node) && (isInterfaceDeclaration(node.parent) || isTypeLiteralNode(node.parent));\n    }\n    function isValidFunctionDeclaration(functionDeclaration, checker) {\n      var _a22;\n      if (!isValidParameterNodeArray(functionDeclaration.parameters, checker))\n        return false;\n      switch (functionDeclaration.kind) {\n        case 259:\n          return hasNameOrDefault(functionDeclaration) && isSingleImplementation(functionDeclaration, checker);\n        case 171:\n          if (isObjectLiteralExpression(functionDeclaration.parent)) {\n            const contextualSymbol = getSymbolForContextualType(functionDeclaration.name, checker);\n            return ((_a22 = contextualSymbol == null ? void 0 : contextualSymbol.declarations) == null ? void 0 : _a22.length) === 1 && isSingleImplementation(functionDeclaration, checker);\n          }\n          return isSingleImplementation(functionDeclaration, checker);\n        case 173:\n          if (isClassDeclaration(functionDeclaration.parent)) {\n            return hasNameOrDefault(functionDeclaration.parent) && isSingleImplementation(functionDeclaration, checker);\n          } else {\n            return isValidVariableDeclaration(functionDeclaration.parent.parent) && isSingleImplementation(functionDeclaration, checker);\n          }\n        case 215:\n        case 216:\n          return isValidVariableDeclaration(functionDeclaration.parent);\n      }\n      return false;\n    }\n    function isSingleImplementation(functionDeclaration, checker) {\n      return !!functionDeclaration.body && !checker.isImplementationOfOverload(functionDeclaration);\n    }\n    function hasNameOrDefault(functionOrClassDeclaration) {\n      if (!functionOrClassDeclaration.name) {\n        const defaultKeyword = findModifier(\n          functionOrClassDeclaration,\n          88\n          /* DefaultKeyword */\n        );\n        return !!defaultKeyword;\n      }\n      return true;\n    }\n    function isValidParameterNodeArray(parameters, checker) {\n      return getRefactorableParametersLength(parameters) >= minimumParameterLength && every(\n        parameters,\n        /*callback*/\n        (paramDecl) => isValidParameterDeclaration(paramDecl, checker)\n      );\n    }\n    function isValidParameterDeclaration(parameterDeclaration, checker) {\n      if (isRestParameter(parameterDeclaration)) {\n        const type = checker.getTypeAtLocation(parameterDeclaration);\n        if (!checker.isArrayType(type) && !checker.isTupleType(type))\n          return false;\n      }\n      return !parameterDeclaration.modifiers && isIdentifier(parameterDeclaration.name);\n    }\n    function isValidVariableDeclaration(node) {\n      return isVariableDeclaration(node) && isVarConst(node) && isIdentifier(node.name) && !node.type;\n    }\n    function hasThisParameter(parameters) {\n      return parameters.length > 0 && isThis(parameters[0].name);\n    }\n    function getRefactorableParametersLength(parameters) {\n      if (hasThisParameter(parameters)) {\n        return parameters.length - 1;\n      }\n      return parameters.length;\n    }\n    function getRefactorableParameters(parameters) {\n      if (hasThisParameter(parameters)) {\n        parameters = factory.createNodeArray(parameters.slice(1), parameters.hasTrailingComma);\n      }\n      return parameters;\n    }\n    function createPropertyOrShorthandAssignment(name, initializer) {\n      if (isIdentifier(initializer) && getTextOfIdentifierOrLiteral(initializer) === name) {\n        return factory.createShorthandPropertyAssignment(name);\n      }\n      return factory.createPropertyAssignment(name, initializer);\n    }\n    function createNewArgument(functionDeclaration, functionArguments) {\n      const parameters = getRefactorableParameters(functionDeclaration.parameters);\n      const hasRestParameter2 = isRestParameter(last(parameters));\n      const nonRestArguments = hasRestParameter2 ? functionArguments.slice(0, parameters.length - 1) : functionArguments;\n      const properties = map(nonRestArguments, (arg, i) => {\n        const parameterName = getParameterName(parameters[i]);\n        const property = createPropertyOrShorthandAssignment(parameterName, arg);\n        suppressLeadingAndTrailingTrivia(property.name);\n        if (isPropertyAssignment(property))\n          suppressLeadingAndTrailingTrivia(property.initializer);\n        copyComments(arg, property);\n        return property;\n      });\n      if (hasRestParameter2 && functionArguments.length >= parameters.length) {\n        const restArguments = functionArguments.slice(parameters.length - 1);\n        const restProperty = factory.createPropertyAssignment(getParameterName(last(parameters)), factory.createArrayLiteralExpression(restArguments));\n        properties.push(restProperty);\n      }\n      const objectLiteral = factory.createObjectLiteralExpression(\n        properties,\n        /*multiLine*/\n        false\n      );\n      return objectLiteral;\n    }\n    function createNewParameters(functionDeclaration, program, host) {\n      const checker = program.getTypeChecker();\n      const refactorableParameters = getRefactorableParameters(functionDeclaration.parameters);\n      const bindingElements = map(refactorableParameters, createBindingElementFromParameterDeclaration);\n      const objectParameterName = factory.createObjectBindingPattern(bindingElements);\n      const objectParameterType = createParameterTypeNode(refactorableParameters);\n      let objectInitializer;\n      if (every(refactorableParameters, isOptionalParameter)) {\n        objectInitializer = factory.createObjectLiteralExpression();\n      }\n      const objectParameter = factory.createParameterDeclaration(\n        /*modifiers*/\n        void 0,\n        /*dotDotDotToken*/\n        void 0,\n        objectParameterName,\n        /*questionToken*/\n        void 0,\n        objectParameterType,\n        objectInitializer\n      );\n      if (hasThisParameter(functionDeclaration.parameters)) {\n        const thisParameter = functionDeclaration.parameters[0];\n        const newThisParameter = factory.createParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          /*dotDotDotToken*/\n          void 0,\n          thisParameter.name,\n          /*questionToken*/\n          void 0,\n          thisParameter.type\n        );\n        suppressLeadingAndTrailingTrivia(newThisParameter.name);\n        copyComments(thisParameter.name, newThisParameter.name);\n        if (thisParameter.type) {\n          suppressLeadingAndTrailingTrivia(newThisParameter.type);\n          copyComments(thisParameter.type, newThisParameter.type);\n        }\n        return factory.createNodeArray([newThisParameter, objectParameter]);\n      }\n      return factory.createNodeArray([objectParameter]);\n      function createBindingElementFromParameterDeclaration(parameterDeclaration) {\n        const element = factory.createBindingElement(\n          /*dotDotDotToken*/\n          void 0,\n          /*propertyName*/\n          void 0,\n          getParameterName(parameterDeclaration),\n          isRestParameter(parameterDeclaration) && isOptionalParameter(parameterDeclaration) ? factory.createArrayLiteralExpression() : parameterDeclaration.initializer\n        );\n        suppressLeadingAndTrailingTrivia(element);\n        if (parameterDeclaration.initializer && element.initializer) {\n          copyComments(parameterDeclaration.initializer, element.initializer);\n        }\n        return element;\n      }\n      function createParameterTypeNode(parameters) {\n        const members = map(parameters, createPropertySignatureFromParameterDeclaration);\n        const typeNode = addEmitFlags(\n          factory.createTypeLiteralNode(members),\n          1\n          /* SingleLine */\n        );\n        return typeNode;\n      }\n      function createPropertySignatureFromParameterDeclaration(parameterDeclaration) {\n        let parameterType = parameterDeclaration.type;\n        if (!parameterType && (parameterDeclaration.initializer || isRestParameter(parameterDeclaration))) {\n          parameterType = getTypeNode3(parameterDeclaration);\n        }\n        const propertySignature = factory.createPropertySignature(\n          /*modifiers*/\n          void 0,\n          getParameterName(parameterDeclaration),\n          isOptionalParameter(parameterDeclaration) ? factory.createToken(\n            57\n            /* QuestionToken */\n          ) : parameterDeclaration.questionToken,\n          parameterType\n        );\n        suppressLeadingAndTrailingTrivia(propertySignature);\n        copyComments(parameterDeclaration.name, propertySignature.name);\n        if (parameterDeclaration.type && propertySignature.type) {\n          copyComments(parameterDeclaration.type, propertySignature.type);\n        }\n        return propertySignature;\n      }\n      function getTypeNode3(node) {\n        const type = checker.getTypeAtLocation(node);\n        return getTypeNodeIfAccessible(type, node, program, host);\n      }\n      function isOptionalParameter(parameterDeclaration) {\n        if (isRestParameter(parameterDeclaration)) {\n          const type = checker.getTypeAtLocation(parameterDeclaration);\n          return !checker.isTupleType(type);\n        }\n        return checker.isOptionalParameter(parameterDeclaration);\n      }\n    }\n    function getParameterName(paramDeclaration) {\n      return getTextOfIdentifierOrLiteral(paramDeclaration.name);\n    }\n    function getClassNames(constructorDeclaration) {\n      switch (constructorDeclaration.parent.kind) {\n        case 260:\n          const classDeclaration = constructorDeclaration.parent;\n          if (classDeclaration.name)\n            return [classDeclaration.name];\n          const defaultModifier = Debug2.checkDefined(\n            findModifier(\n              classDeclaration,\n              88\n              /* DefaultKeyword */\n            ),\n            \"Nameless class declaration should be a default export\"\n          );\n          return [defaultModifier];\n        case 228:\n          const classExpression = constructorDeclaration.parent;\n          const variableDeclaration = constructorDeclaration.parent.parent;\n          const className = classExpression.name;\n          if (className)\n            return [className, variableDeclaration.name];\n          return [variableDeclaration.name];\n      }\n    }\n    function getFunctionNames(functionDeclaration) {\n      switch (functionDeclaration.kind) {\n        case 259:\n          if (functionDeclaration.name)\n            return [functionDeclaration.name];\n          const defaultModifier = Debug2.checkDefined(\n            findModifier(\n              functionDeclaration,\n              88\n              /* DefaultKeyword */\n            ),\n            \"Nameless function declaration should be a default export\"\n          );\n          return [defaultModifier];\n        case 171:\n          return [functionDeclaration.name];\n        case 173:\n          const ctrKeyword = Debug2.checkDefined(\n            findChildOfKind(functionDeclaration, 135, functionDeclaration.getSourceFile()),\n            \"Constructor declaration should have constructor keyword\"\n          );\n          if (functionDeclaration.parent.kind === 228) {\n            const variableDeclaration = functionDeclaration.parent.parent;\n            return [variableDeclaration.name, ctrKeyword];\n          }\n          return [ctrKeyword];\n        case 216:\n          return [functionDeclaration.parent.name];\n        case 215:\n          if (functionDeclaration.name)\n            return [functionDeclaration.name, functionDeclaration.parent.name];\n          return [functionDeclaration.parent.name];\n        default:\n          return Debug2.assertNever(functionDeclaration, `Unexpected function declaration kind ${functionDeclaration.kind}`);\n      }\n    }\n    var refactorName8, minimumParameterLength, refactorDescription4, toDestructuredAction;\n    var init_convertParamsToDestructuredObject = __esm({\n      \"src/services/refactors/convertParamsToDestructuredObject.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName8 = \"Convert parameters to destructured object\";\n        minimumParameterLength = 1;\n        refactorDescription4 = getLocaleSpecificMessage(Diagnostics.Convert_parameters_to_destructured_object);\n        toDestructuredAction = {\n          name: refactorName8,\n          description: refactorDescription4,\n          kind: \"refactor.rewrite.parameters.toDestructured\"\n        };\n        registerRefactor(refactorName8, {\n          kinds: [toDestructuredAction.kind],\n          getEditsForAction: getRefactorEditsToConvertParametersToDestructuredObject,\n          getAvailableActions: getRefactorActionsToConvertParametersToDestructuredObject\n        });\n      }\n    });\n    var ts_refactor_convertParamsToDestructuredObject_exports = {};\n    var init_ts_refactor_convertParamsToDestructuredObject = __esm({\n      \"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts\"() {\n        \"use strict\";\n        init_convertParamsToDestructuredObject();\n      }\n    });\n    function getRefactorActionsToConvertToTemplateString(context) {\n      const { file, startPosition } = context;\n      const node = getNodeOrParentOfParentheses(file, startPosition);\n      const maybeBinary = getParentBinaryExpression(node);\n      const refactorInfo = { name: refactorName9, description: refactorDescription5, actions: [] };\n      if (isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {\n        refactorInfo.actions.push(convertStringAction);\n        return [refactorInfo];\n      } else if (context.preferences.provideRefactorNotApplicableReason) {\n        refactorInfo.actions.push({\n          ...convertStringAction,\n          notApplicableReason: getLocaleSpecificMessage(Diagnostics.Can_only_convert_string_concatenation)\n        });\n        return [refactorInfo];\n      }\n      return emptyArray;\n    }\n    function getNodeOrParentOfParentheses(file, startPosition) {\n      const node = getTokenAtPosition(file, startPosition);\n      const nestedBinary = getParentBinaryExpression(node);\n      const isNonStringBinary = !treeToArray(nestedBinary).isValidConcatenation;\n      if (isNonStringBinary && isParenthesizedExpression(nestedBinary.parent) && isBinaryExpression(nestedBinary.parent.parent)) {\n        return nestedBinary.parent.parent;\n      }\n      return node;\n    }\n    function getRefactorEditsToConvertToTemplateString(context, actionName2) {\n      const { file, startPosition } = context;\n      const node = getNodeOrParentOfParentheses(file, startPosition);\n      switch (actionName2) {\n        case refactorDescription5:\n          return { edits: getEditsForToTemplateLiteral(context, node) };\n        default:\n          return Debug2.fail(\"invalid action\");\n      }\n    }\n    function getEditsForToTemplateLiteral(context, node) {\n      const maybeBinary = getParentBinaryExpression(node);\n      const file = context.file;\n      const templateLiteral = nodesToTemplate(treeToArray(maybeBinary), file);\n      const trailingCommentRanges = getTrailingCommentRanges(file.text, maybeBinary.end);\n      if (trailingCommentRanges) {\n        const lastComment = trailingCommentRanges[trailingCommentRanges.length - 1];\n        const trailingRange = { pos: trailingCommentRanges[0].pos, end: lastComment.end };\n        return ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n          t.deleteRange(file, trailingRange);\n          t.replaceNode(file, maybeBinary, templateLiteral);\n        });\n      } else {\n        return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, maybeBinary, templateLiteral));\n      }\n    }\n    function isNotEqualsOperator(node) {\n      return node.operatorToken.kind !== 63;\n    }\n    function getParentBinaryExpression(expr) {\n      const container = findAncestor(expr.parent, (n) => {\n        switch (n.kind) {\n          case 208:\n          case 209:\n            return false;\n          case 225:\n          case 223:\n            return !(isBinaryExpression(n.parent) && isNotEqualsOperator(n.parent));\n          default:\n            return \"quit\";\n        }\n      });\n      return container || expr;\n    }\n    function treeToArray(current) {\n      const loop = (current2) => {\n        if (!isBinaryExpression(current2)) {\n          return {\n            nodes: [current2],\n            operators: [],\n            validOperators: true,\n            hasString: isStringLiteral(current2) || isNoSubstitutionTemplateLiteral(current2)\n          };\n        }\n        const { nodes: nodes2, operators: operators2, hasString: leftHasString, validOperators: leftOperatorValid } = loop(current2.left);\n        if (!(leftHasString || isStringLiteral(current2.right) || isTemplateExpression(current2.right))) {\n          return { nodes: [current2], operators: [], hasString: false, validOperators: true };\n        }\n        const currentOperatorValid = current2.operatorToken.kind === 39;\n        const validOperators2 = leftOperatorValid && currentOperatorValid;\n        nodes2.push(current2.right);\n        operators2.push(current2.operatorToken);\n        return { nodes: nodes2, operators: operators2, hasString: true, validOperators: validOperators2 };\n      };\n      const { nodes, operators, validOperators, hasString } = loop(current);\n      return { nodes, operators, isValidConcatenation: validOperators && hasString };\n    }\n    function escapeRawStringForTemplate(s) {\n      return s.replace(/\\\\.|[$`]/g, (m) => m[0] === \"\\\\\" ? m : \"\\\\\" + m);\n    }\n    function getRawTextOfTemplate(node) {\n      const rightShaving = isTemplateHead(node) || isTemplateMiddle(node) ? -2 : -1;\n      return getTextOfNode(node).slice(1, rightShaving);\n    }\n    function concatConsecutiveString(index, nodes) {\n      const indexes = [];\n      let text = \"\", rawText = \"\";\n      while (index < nodes.length) {\n        const node = nodes[index];\n        if (isStringLiteralLike(node)) {\n          text += node.text;\n          rawText += escapeRawStringForTemplate(getTextOfNode(node).slice(1, -1));\n          indexes.push(index);\n          index++;\n        } else if (isTemplateExpression(node)) {\n          text += node.head.text;\n          rawText += getRawTextOfTemplate(node.head);\n          break;\n        } else {\n          break;\n        }\n      }\n      return [index, text, rawText, indexes];\n    }\n    function nodesToTemplate({ nodes, operators }, file) {\n      const copyOperatorComments = copyTrailingOperatorComments(operators, file);\n      const copyCommentFromStringLiterals = copyCommentFromMultiNode(nodes, file, copyOperatorComments);\n      const [begin, headText, rawHeadText, headIndexes] = concatConsecutiveString(0, nodes);\n      if (begin === nodes.length) {\n        const noSubstitutionTemplateLiteral = factory.createNoSubstitutionTemplateLiteral(headText, rawHeadText);\n        copyCommentFromStringLiterals(headIndexes, noSubstitutionTemplateLiteral);\n        return noSubstitutionTemplateLiteral;\n      }\n      const templateSpans = [];\n      const templateHead = factory.createTemplateHead(headText, rawHeadText);\n      copyCommentFromStringLiterals(headIndexes, templateHead);\n      for (let i = begin; i < nodes.length; i++) {\n        const currentNode = getExpressionFromParenthesesOrExpression(nodes[i]);\n        copyOperatorComments(i, currentNode);\n        const [newIndex, subsequentText, rawSubsequentText, stringIndexes] = concatConsecutiveString(i + 1, nodes);\n        i = newIndex - 1;\n        const isLast = i === nodes.length - 1;\n        if (isTemplateExpression(currentNode)) {\n          const spans = map(currentNode.templateSpans, (span, index) => {\n            copyExpressionComments(span);\n            const isLastSpan = index === currentNode.templateSpans.length - 1;\n            const text = span.literal.text + (isLastSpan ? subsequentText : \"\");\n            const rawText = getRawTextOfTemplate(span.literal) + (isLastSpan ? rawSubsequentText : \"\");\n            return factory.createTemplateSpan(span.expression, isLast && isLastSpan ? factory.createTemplateTail(text, rawText) : factory.createTemplateMiddle(text, rawText));\n          });\n          templateSpans.push(...spans);\n        } else {\n          const templatePart = isLast ? factory.createTemplateTail(subsequentText, rawSubsequentText) : factory.createTemplateMiddle(subsequentText, rawSubsequentText);\n          copyCommentFromStringLiterals(stringIndexes, templatePart);\n          templateSpans.push(factory.createTemplateSpan(currentNode, templatePart));\n        }\n      }\n      return factory.createTemplateExpression(templateHead, templateSpans);\n    }\n    function copyExpressionComments(node) {\n      const file = node.getSourceFile();\n      copyTrailingComments(\n        node,\n        node.expression,\n        file,\n        3,\n        /* hasTrailingNewLine */\n        false\n      );\n      copyTrailingAsLeadingComments(\n        node.expression,\n        node.expression,\n        file,\n        3,\n        /* hasTrailingNewLine */\n        false\n      );\n    }\n    function getExpressionFromParenthesesOrExpression(node) {\n      if (isParenthesizedExpression(node)) {\n        copyExpressionComments(node);\n        node = node.expression;\n      }\n      return node;\n    }\n    var refactorName9, refactorDescription5, convertStringAction, copyTrailingOperatorComments, copyCommentFromMultiNode;\n    var init_convertStringOrTemplateLiteral = __esm({\n      \"src/services/refactors/convertStringOrTemplateLiteral.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName9 = \"Convert to template string\";\n        refactorDescription5 = getLocaleSpecificMessage(Diagnostics.Convert_to_template_string);\n        convertStringAction = {\n          name: refactorName9,\n          description: refactorDescription5,\n          kind: \"refactor.rewrite.string\"\n        };\n        registerRefactor(refactorName9, {\n          kinds: [convertStringAction.kind],\n          getEditsForAction: getRefactorEditsToConvertToTemplateString,\n          getAvailableActions: getRefactorActionsToConvertToTemplateString\n        });\n        copyTrailingOperatorComments = (operators, file) => (index, targetNode) => {\n          if (index < operators.length) {\n            copyTrailingComments(\n              operators[index],\n              targetNode,\n              file,\n              3,\n              /* hasTrailingNewLine */\n              false\n            );\n          }\n        };\n        copyCommentFromMultiNode = (nodes, file, copyOperatorComments) => (indexes, targetNode) => {\n          while (indexes.length > 0) {\n            const index = indexes.shift();\n            copyTrailingComments(\n              nodes[index],\n              targetNode,\n              file,\n              3,\n              /* hasTrailingNewLine */\n              false\n            );\n            copyOperatorComments(index, targetNode);\n          }\n        };\n      }\n    });\n    var ts_refactor_convertStringOrTemplateLiteral_exports = {};\n    var init_ts_refactor_convertStringOrTemplateLiteral = __esm({\n      \"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts\"() {\n        \"use strict\";\n        init_convertStringOrTemplateLiteral();\n      }\n    });\n    function getRefactorActionsToConvertToOptionalChain(context) {\n      const info = getInfo20(context, context.triggerReason === \"invoked\");\n      if (!info)\n        return emptyArray;\n      if (!isRefactorErrorInfo(info)) {\n        return [{\n          name: refactorName10,\n          description: convertToOptionalChainExpressionMessage,\n          actions: [toOptionalChainAction]\n        }];\n      }\n      if (context.preferences.provideRefactorNotApplicableReason) {\n        return [{\n          name: refactorName10,\n          description: convertToOptionalChainExpressionMessage,\n          actions: [{ ...toOptionalChainAction, notApplicableReason: info.error }]\n        }];\n      }\n      return emptyArray;\n    }\n    function getRefactorEditsToConvertToOptionalChain(context, actionName2) {\n      const info = getInfo20(context);\n      Debug2.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n      const edits = ts_textChanges_exports.ChangeTracker.with(\n        context,\n        (t) => doChange37(context.file, context.program.getTypeChecker(), t, info, actionName2)\n      );\n      return { edits, renameFilename: void 0, renameLocation: void 0 };\n    }\n    function isValidExpression(node) {\n      return isBinaryExpression(node) || isConditionalExpression(node);\n    }\n    function isValidStatement(node) {\n      return isExpressionStatement(node) || isReturnStatement(node) || isVariableStatement(node);\n    }\n    function isValidExpressionOrStatement(node) {\n      return isValidExpression(node) || isValidStatement(node);\n    }\n    function getInfo20(context, considerEmptySpans = true) {\n      const { file, program } = context;\n      const span = getRefactorContextSpan(context);\n      const forEmptySpan = span.length === 0;\n      if (forEmptySpan && !considerEmptySpans)\n        return void 0;\n      const startToken = getTokenAtPosition(file, span.start);\n      const endToken = findTokenOnLeftOfPosition(file, span.start + span.length);\n      const adjustedSpan = createTextSpanFromBounds(startToken.pos, endToken && endToken.end >= startToken.pos ? endToken.getEnd() : startToken.getEnd());\n      const parent2 = forEmptySpan ? getValidParentNodeOfEmptySpan(startToken) : getValidParentNodeContainingSpan(startToken, adjustedSpan);\n      const expression = parent2 && isValidExpressionOrStatement(parent2) ? getExpression(parent2) : void 0;\n      if (!expression)\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_convertible_access_expression) };\n      const checker = program.getTypeChecker();\n      return isConditionalExpression(expression) ? getConditionalInfo(expression, checker) : getBinaryInfo(expression);\n    }\n    function getConditionalInfo(expression, checker) {\n      const condition = expression.condition;\n      const finalExpression = getFinalExpressionInChain(expression.whenTrue);\n      if (!finalExpression || checker.isNullableType(checker.getTypeAtLocation(finalExpression))) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_convertible_access_expression) };\n      }\n      if ((isPropertyAccessExpression(condition) || isIdentifier(condition)) && getMatchingStart(condition, finalExpression.expression)) {\n        return { finalExpression, occurrences: [condition], expression };\n      } else if (isBinaryExpression(condition)) {\n        const occurrences = getOccurrencesInExpression(finalExpression.expression, condition);\n        return occurrences ? { finalExpression, occurrences, expression } : { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_matching_access_expressions) };\n      }\n    }\n    function getBinaryInfo(expression) {\n      if (expression.operatorToken.kind !== 55) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Can_only_convert_logical_AND_access_chains) };\n      }\n      const finalExpression = getFinalExpressionInChain(expression.right);\n      if (!finalExpression)\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_convertible_access_expression) };\n      const occurrences = getOccurrencesInExpression(finalExpression.expression, expression.left);\n      return occurrences ? { finalExpression, occurrences, expression } : { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_matching_access_expressions) };\n    }\n    function getOccurrencesInExpression(matchTo, expression) {\n      const occurrences = [];\n      while (isBinaryExpression(expression) && expression.operatorToken.kind === 55) {\n        const match = getMatchingStart(skipParentheses(matchTo), skipParentheses(expression.right));\n        if (!match) {\n          break;\n        }\n        occurrences.push(match);\n        matchTo = match;\n        expression = expression.left;\n      }\n      const finalMatch = getMatchingStart(matchTo, expression);\n      if (finalMatch) {\n        occurrences.push(finalMatch);\n      }\n      return occurrences.length > 0 ? occurrences : void 0;\n    }\n    function getMatchingStart(chain, subchain) {\n      if (!isIdentifier(subchain) && !isPropertyAccessExpression(subchain) && !isElementAccessExpression(subchain)) {\n        return void 0;\n      }\n      return chainStartsWith(chain, subchain) ? subchain : void 0;\n    }\n    function chainStartsWith(chain, subchain) {\n      while (isCallExpression(chain) || isPropertyAccessExpression(chain) || isElementAccessExpression(chain)) {\n        if (getTextOfChainNode(chain) === getTextOfChainNode(subchain))\n          break;\n        chain = chain.expression;\n      }\n      while (isPropertyAccessExpression(chain) && isPropertyAccessExpression(subchain) || isElementAccessExpression(chain) && isElementAccessExpression(subchain)) {\n        if (getTextOfChainNode(chain) !== getTextOfChainNode(subchain))\n          return false;\n        chain = chain.expression;\n        subchain = subchain.expression;\n      }\n      return isIdentifier(chain) && isIdentifier(subchain) && chain.getText() === subchain.getText();\n    }\n    function getTextOfChainNode(node) {\n      if (isIdentifier(node) || isStringOrNumericLiteralLike(node)) {\n        return node.getText();\n      }\n      if (isPropertyAccessExpression(node)) {\n        return getTextOfChainNode(node.name);\n      }\n      if (isElementAccessExpression(node)) {\n        return getTextOfChainNode(node.argumentExpression);\n      }\n      return void 0;\n    }\n    function getValidParentNodeContainingSpan(node, span) {\n      while (node.parent) {\n        if (isValidExpressionOrStatement(node) && span.length !== 0 && node.end >= span.start + span.length) {\n          return node;\n        }\n        node = node.parent;\n      }\n      return void 0;\n    }\n    function getValidParentNodeOfEmptySpan(node) {\n      while (node.parent) {\n        if (isValidExpressionOrStatement(node) && !isValidExpressionOrStatement(node.parent)) {\n          return node;\n        }\n        node = node.parent;\n      }\n      return void 0;\n    }\n    function getExpression(node) {\n      if (isValidExpression(node)) {\n        return node;\n      }\n      if (isVariableStatement(node)) {\n        const variable = getSingleVariableOfVariableStatement(node);\n        const initializer = variable == null ? void 0 : variable.initializer;\n        return initializer && isValidExpression(initializer) ? initializer : void 0;\n      }\n      return node.expression && isValidExpression(node.expression) ? node.expression : void 0;\n    }\n    function getFinalExpressionInChain(node) {\n      node = skipParentheses(node);\n      if (isBinaryExpression(node)) {\n        return getFinalExpressionInChain(node.left);\n      } else if ((isPropertyAccessExpression(node) || isElementAccessExpression(node) || isCallExpression(node)) && !isOptionalChain(node)) {\n        return node;\n      }\n      return void 0;\n    }\n    function convertOccurrences(checker, toConvert, occurrences) {\n      if (isPropertyAccessExpression(toConvert) || isElementAccessExpression(toConvert) || isCallExpression(toConvert)) {\n        const chain = convertOccurrences(checker, toConvert.expression, occurrences);\n        const lastOccurrence = occurrences.length > 0 ? occurrences[occurrences.length - 1] : void 0;\n        const isOccurrence = (lastOccurrence == null ? void 0 : lastOccurrence.getText()) === toConvert.expression.getText();\n        if (isOccurrence)\n          occurrences.pop();\n        if (isCallExpression(toConvert)) {\n          return isOccurrence ? factory.createCallChain(chain, factory.createToken(\n            28\n            /* QuestionDotToken */\n          ), toConvert.typeArguments, toConvert.arguments) : factory.createCallChain(chain, toConvert.questionDotToken, toConvert.typeArguments, toConvert.arguments);\n        } else if (isPropertyAccessExpression(toConvert)) {\n          return isOccurrence ? factory.createPropertyAccessChain(chain, factory.createToken(\n            28\n            /* QuestionDotToken */\n          ), toConvert.name) : factory.createPropertyAccessChain(chain, toConvert.questionDotToken, toConvert.name);\n        } else if (isElementAccessExpression(toConvert)) {\n          return isOccurrence ? factory.createElementAccessChain(chain, factory.createToken(\n            28\n            /* QuestionDotToken */\n          ), toConvert.argumentExpression) : factory.createElementAccessChain(chain, toConvert.questionDotToken, toConvert.argumentExpression);\n        }\n      }\n      return toConvert;\n    }\n    function doChange37(sourceFile, checker, changes, info, _actionName) {\n      const { finalExpression, occurrences, expression } = info;\n      const firstOccurrence = occurrences[occurrences.length - 1];\n      const convertedChain = convertOccurrences(checker, finalExpression, occurrences);\n      if (convertedChain && (isPropertyAccessExpression(convertedChain) || isElementAccessExpression(convertedChain) || isCallExpression(convertedChain))) {\n        if (isBinaryExpression(expression)) {\n          changes.replaceNodeRange(sourceFile, firstOccurrence, finalExpression, convertedChain);\n        } else if (isConditionalExpression(expression)) {\n          changes.replaceNode(\n            sourceFile,\n            expression,\n            factory.createBinaryExpression(convertedChain, factory.createToken(\n              60\n              /* QuestionQuestionToken */\n            ), expression.whenFalse)\n          );\n        }\n      }\n    }\n    var refactorName10, convertToOptionalChainExpressionMessage, toOptionalChainAction;\n    var init_convertToOptionalChainExpression = __esm({\n      \"src/services/refactors/convertToOptionalChainExpression.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName10 = \"Convert to optional chain expression\";\n        convertToOptionalChainExpressionMessage = getLocaleSpecificMessage(Diagnostics.Convert_to_optional_chain_expression);\n        toOptionalChainAction = {\n          name: refactorName10,\n          description: convertToOptionalChainExpressionMessage,\n          kind: \"refactor.rewrite.expression.optionalChain\"\n        };\n        registerRefactor(refactorName10, {\n          kinds: [toOptionalChainAction.kind],\n          getEditsForAction: getRefactorEditsToConvertToOptionalChain,\n          getAvailableActions: getRefactorActionsToConvertToOptionalChain\n        });\n      }\n    });\n    var ts_refactor_convertToOptionalChainExpression_exports = {};\n    var init_ts_refactor_convertToOptionalChainExpression = __esm({\n      \"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts\"() {\n        \"use strict\";\n        init_convertToOptionalChainExpression();\n      }\n    });\n    function getRefactorActionsToExtractSymbol(context) {\n      const requestedRefactor = context.kind;\n      const rangeToExtract = getRangeToExtract2(context.file, getRefactorContextSpan(context), context.triggerReason === \"invoked\");\n      const targetRange = rangeToExtract.targetRange;\n      if (targetRange === void 0) {\n        if (!rangeToExtract.errors || rangeToExtract.errors.length === 0 || !context.preferences.provideRefactorNotApplicableReason) {\n          return emptyArray;\n        }\n        const errors = [];\n        if (refactorKindBeginsWith(extractFunctionAction.kind, requestedRefactor)) {\n          errors.push({\n            name: refactorName11,\n            description: extractFunctionAction.description,\n            actions: [{ ...extractFunctionAction, notApplicableReason: getStringError(rangeToExtract.errors) }]\n          });\n        }\n        if (refactorKindBeginsWith(extractConstantAction.kind, requestedRefactor)) {\n          errors.push({\n            name: refactorName11,\n            description: extractConstantAction.description,\n            actions: [{ ...extractConstantAction, notApplicableReason: getStringError(rangeToExtract.errors) }]\n          });\n        }\n        return errors;\n      }\n      const extractions = getPossibleExtractions(targetRange, context);\n      if (extractions === void 0) {\n        return emptyArray;\n      }\n      const functionActions = [];\n      const usedFunctionNames = /* @__PURE__ */ new Map();\n      let innermostErrorFunctionAction;\n      const constantActions = [];\n      const usedConstantNames = /* @__PURE__ */ new Map();\n      let innermostErrorConstantAction;\n      let i = 0;\n      for (const { functionExtraction, constantExtraction } of extractions) {\n        if (refactorKindBeginsWith(extractFunctionAction.kind, requestedRefactor)) {\n          const description2 = functionExtraction.description;\n          if (functionExtraction.errors.length === 0) {\n            if (!usedFunctionNames.has(description2)) {\n              usedFunctionNames.set(description2, true);\n              functionActions.push({\n                description: description2,\n                name: `function_scope_${i}`,\n                kind: extractFunctionAction.kind\n              });\n            }\n          } else if (!innermostErrorFunctionAction) {\n            innermostErrorFunctionAction = {\n              description: description2,\n              name: `function_scope_${i}`,\n              notApplicableReason: getStringError(functionExtraction.errors),\n              kind: extractFunctionAction.kind\n            };\n          }\n        }\n        if (refactorKindBeginsWith(extractConstantAction.kind, requestedRefactor)) {\n          const description2 = constantExtraction.description;\n          if (constantExtraction.errors.length === 0) {\n            if (!usedConstantNames.has(description2)) {\n              usedConstantNames.set(description2, true);\n              constantActions.push({\n                description: description2,\n                name: `constant_scope_${i}`,\n                kind: extractConstantAction.kind\n              });\n            }\n          } else if (!innermostErrorConstantAction) {\n            innermostErrorConstantAction = {\n              description: description2,\n              name: `constant_scope_${i}`,\n              notApplicableReason: getStringError(constantExtraction.errors),\n              kind: extractConstantAction.kind\n            };\n          }\n        }\n        i++;\n      }\n      const infos = [];\n      if (functionActions.length) {\n        infos.push({\n          name: refactorName11,\n          description: getLocaleSpecificMessage(Diagnostics.Extract_function),\n          actions: functionActions\n        });\n      } else if (context.preferences.provideRefactorNotApplicableReason && innermostErrorFunctionAction) {\n        infos.push({\n          name: refactorName11,\n          description: getLocaleSpecificMessage(Diagnostics.Extract_function),\n          actions: [innermostErrorFunctionAction]\n        });\n      }\n      if (constantActions.length) {\n        infos.push({\n          name: refactorName11,\n          description: getLocaleSpecificMessage(Diagnostics.Extract_constant),\n          actions: constantActions\n        });\n      } else if (context.preferences.provideRefactorNotApplicableReason && innermostErrorConstantAction) {\n        infos.push({\n          name: refactorName11,\n          description: getLocaleSpecificMessage(Diagnostics.Extract_constant),\n          actions: [innermostErrorConstantAction]\n        });\n      }\n      return infos.length ? infos : emptyArray;\n      function getStringError(errors) {\n        let error = errors[0].messageText;\n        if (typeof error !== \"string\") {\n          error = error.messageText;\n        }\n        return error;\n      }\n    }\n    function getRefactorEditsToExtractSymbol(context, actionName2) {\n      const rangeToExtract = getRangeToExtract2(context.file, getRefactorContextSpan(context));\n      const targetRange = rangeToExtract.targetRange;\n      const parsedFunctionIndexMatch = /^function_scope_(\\d+)$/.exec(actionName2);\n      if (parsedFunctionIndexMatch) {\n        const index = +parsedFunctionIndexMatch[1];\n        Debug2.assert(isFinite(index), \"Expected to parse a finite number from the function scope index\");\n        return getFunctionExtractionAtIndex(targetRange, context, index);\n      }\n      const parsedConstantIndexMatch = /^constant_scope_(\\d+)$/.exec(actionName2);\n      if (parsedConstantIndexMatch) {\n        const index = +parsedConstantIndexMatch[1];\n        Debug2.assert(isFinite(index), \"Expected to parse a finite number from the constant scope index\");\n        return getConstantExtractionAtIndex(targetRange, context, index);\n      }\n      Debug2.fail(\"Unrecognized action name\");\n    }\n    function getRangeToExtract2(sourceFile, span, invoked = true) {\n      const { length: length2 } = span;\n      if (length2 === 0 && !invoked) {\n        return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractEmpty)] };\n      }\n      const cursorRequest = length2 === 0 && invoked;\n      const startToken = findFirstNonJsxWhitespaceToken(sourceFile, span.start);\n      const endToken = findTokenOnLeftOfPosition(sourceFile, textSpanEnd(span));\n      const adjustedSpan = startToken && endToken && invoked ? getAdjustedSpanFromNodes(startToken, endToken, sourceFile) : span;\n      const start = cursorRequest ? getExtractableParent(startToken) : getParentNodeInSpan(startToken, sourceFile, adjustedSpan);\n      const end = cursorRequest ? start : getParentNodeInSpan(endToken, sourceFile, adjustedSpan);\n      let rangeFacts = 0;\n      let thisNode;\n      if (!start || !end) {\n        return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n      }\n      if (start.flags & 8388608) {\n        return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractJSDoc)] };\n      }\n      if (start.parent !== end.parent) {\n        return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n      }\n      if (start !== end) {\n        if (!isBlockLike(start.parent)) {\n          return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n        }\n        const statements = [];\n        for (const statement of start.parent.statements) {\n          if (statement === start || statements.length) {\n            const errors2 = checkNode(statement);\n            if (errors2) {\n              return { errors: errors2 };\n            }\n            statements.push(statement);\n          }\n          if (statement === end) {\n            break;\n          }\n        }\n        if (!statements.length) {\n          return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n        }\n        return { targetRange: { range: statements, facts: rangeFacts, thisNode } };\n      }\n      if (isReturnStatement(start) && !start.expression) {\n        return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n      }\n      const node = refineNode(start);\n      const errors = checkRootNode(node) || checkNode(node);\n      if (errors) {\n        return { errors };\n      }\n      return { targetRange: { range: getStatementOrExpressionRange(node), facts: rangeFacts, thisNode } };\n      function refineNode(node2) {\n        if (isReturnStatement(node2)) {\n          if (node2.expression) {\n            return node2.expression;\n          }\n        } else if (isVariableStatement(node2) || isVariableDeclarationList(node2)) {\n          const declarations = isVariableStatement(node2) ? node2.declarationList.declarations : node2.declarations;\n          let numInitializers = 0;\n          let lastInitializer;\n          for (const declaration of declarations) {\n            if (declaration.initializer) {\n              numInitializers++;\n              lastInitializer = declaration.initializer;\n            }\n          }\n          if (numInitializers === 1) {\n            return lastInitializer;\n          }\n        } else if (isVariableDeclaration(node2)) {\n          if (node2.initializer) {\n            return node2.initializer;\n          }\n        }\n        return node2;\n      }\n      function checkRootNode(node2) {\n        if (isIdentifier(isExpressionStatement(node2) ? node2.expression : node2)) {\n          return [createDiagnosticForNode(node2, Messages.cannotExtractIdentifier)];\n        }\n        return void 0;\n      }\n      function checkForStaticContext(nodeToCheck, containingClass) {\n        let current = nodeToCheck;\n        while (current !== containingClass) {\n          if (current.kind === 169) {\n            if (isStatic(current)) {\n              rangeFacts |= 32;\n            }\n            break;\n          } else if (current.kind === 166) {\n            const ctorOrMethod = getContainingFunction(current);\n            if (ctorOrMethod.kind === 173) {\n              rangeFacts |= 32;\n            }\n            break;\n          } else if (current.kind === 171) {\n            if (isStatic(current)) {\n              rangeFacts |= 32;\n            }\n          }\n          current = current.parent;\n        }\n      }\n      function checkNode(nodeToCheck) {\n        let PermittedJumps;\n        ((PermittedJumps2) => {\n          PermittedJumps2[PermittedJumps2[\"None\"] = 0] = \"None\";\n          PermittedJumps2[PermittedJumps2[\"Break\"] = 1] = \"Break\";\n          PermittedJumps2[PermittedJumps2[\"Continue\"] = 2] = \"Continue\";\n          PermittedJumps2[PermittedJumps2[\"Return\"] = 4] = \"Return\";\n        })(PermittedJumps || (PermittedJumps = {}));\n        Debug2.assert(nodeToCheck.pos <= nodeToCheck.end, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)\");\n        Debug2.assert(!positionIsSynthesized(nodeToCheck.pos), \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)\");\n        if (!isStatement(nodeToCheck) && !(isExpressionNode(nodeToCheck) && isExtractableExpression(nodeToCheck)) && !isStringLiteralJsxAttribute(nodeToCheck)) {\n          return [createDiagnosticForNode(nodeToCheck, Messages.statementOrExpressionExpected)];\n        }\n        if (nodeToCheck.flags & 16777216) {\n          return [createDiagnosticForNode(nodeToCheck, Messages.cannotExtractAmbientBlock)];\n        }\n        const containingClass = getContainingClass(nodeToCheck);\n        if (containingClass) {\n          checkForStaticContext(nodeToCheck, containingClass);\n        }\n        let errors2;\n        let permittedJumps = 4;\n        let seenLabels;\n        visit(nodeToCheck);\n        if (rangeFacts & 8) {\n          const container = getThisContainer(\n            nodeToCheck,\n            /** includeArrowFunctions */\n            false,\n            /*includeClassComputedPropertyName*/\n            false\n          );\n          if (container.kind === 259 || container.kind === 171 && container.parent.kind === 207 || container.kind === 215) {\n            rangeFacts |= 16;\n          }\n        }\n        return errors2;\n        function visit(node2) {\n          if (errors2) {\n            return true;\n          }\n          if (isDeclaration(node2)) {\n            const declaringNode = node2.kind === 257 ? node2.parent.parent : node2;\n            if (hasSyntacticModifier(\n              declaringNode,\n              1\n              /* Export */\n            )) {\n              (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractExportedEntity));\n              return true;\n            }\n          }\n          switch (node2.kind) {\n            case 269:\n              (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractImport));\n              return true;\n            case 274:\n              (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractExportedEntity));\n              return true;\n            case 106:\n              if (node2.parent.kind === 210) {\n                const containingClass2 = getContainingClass(node2);\n                if (containingClass2 === void 0 || containingClass2.pos < span.start || containingClass2.end >= span.start + span.length) {\n                  (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractSuper));\n                  return true;\n                }\n              } else {\n                rangeFacts |= 8;\n                thisNode = node2;\n              }\n              break;\n            case 216:\n              forEachChild(node2, function check(n) {\n                if (isThis(n)) {\n                  rangeFacts |= 8;\n                  thisNode = node2;\n                } else if (isClassLike(n) || isFunctionLike(n) && !isArrowFunction(n)) {\n                  return false;\n                } else {\n                  forEachChild(n, check);\n                }\n              });\n            case 260:\n            case 259:\n              if (isSourceFile(node2.parent) && node2.parent.externalModuleIndicator === void 0) {\n                (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.functionWillNotBeVisibleInTheNewScope));\n              }\n            case 228:\n            case 215:\n            case 171:\n            case 173:\n            case 174:\n            case 175:\n              return false;\n          }\n          const savedPermittedJumps = permittedJumps;\n          switch (node2.kind) {\n            case 242:\n              permittedJumps &= ~4;\n              break;\n            case 255:\n              permittedJumps = 0;\n              break;\n            case 238:\n              if (node2.parent && node2.parent.kind === 255 && node2.parent.finallyBlock === node2) {\n                permittedJumps = 4;\n              }\n              break;\n            case 293:\n            case 292:\n              permittedJumps |= 1;\n              break;\n            default:\n              if (isIterationStatement(\n                node2,\n                /*lookInLabeledStatements*/\n                false\n              )) {\n                permittedJumps |= 1 | 2;\n              }\n              break;\n          }\n          switch (node2.kind) {\n            case 194:\n            case 108:\n              rangeFacts |= 8;\n              thisNode = node2;\n              break;\n            case 253: {\n              const label = node2.label;\n              (seenLabels || (seenLabels = [])).push(label.escapedText);\n              forEachChild(node2, visit);\n              seenLabels.pop();\n              break;\n            }\n            case 249:\n            case 248: {\n              const label = node2.label;\n              if (label) {\n                if (!contains(seenLabels, label.escapedText)) {\n                  (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange));\n                }\n              } else {\n                if (!(permittedJumps & (node2.kind === 249 ? 1 : 2))) {\n                  (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingConditionalBreakOrContinueStatements));\n                }\n              }\n              break;\n            }\n            case 220:\n              rangeFacts |= 4;\n              break;\n            case 226:\n              rangeFacts |= 2;\n              break;\n            case 250:\n              if (permittedJumps & 4) {\n                rangeFacts |= 1;\n              } else {\n                (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingConditionalReturnStatement));\n              }\n              break;\n            default:\n              forEachChild(node2, visit);\n              break;\n          }\n          permittedJumps = savedPermittedJumps;\n        }\n      }\n    }\n    function getAdjustedSpanFromNodes(startNode2, endNode2, sourceFile) {\n      const start = startNode2.getStart(sourceFile);\n      let end = endNode2.getEnd();\n      if (sourceFile.text.charCodeAt(end) === 59) {\n        end++;\n      }\n      return { start, length: end - start };\n    }\n    function getStatementOrExpressionRange(node) {\n      if (isStatement(node)) {\n        return [node];\n      }\n      if (isExpressionNode(node)) {\n        return isExpressionStatement(node.parent) ? [node.parent] : node;\n      }\n      if (isStringLiteralJsxAttribute(node)) {\n        return node;\n      }\n      return void 0;\n    }\n    function isScope(node) {\n      return isArrowFunction(node) ? isFunctionBody(node.body) : isFunctionLikeDeclaration(node) || isSourceFile(node) || isModuleBlock(node) || isClassLike(node);\n    }\n    function collectEnclosingScopes(range) {\n      let current = isReadonlyArray(range.range) ? first(range.range) : range.range;\n      if (range.facts & 8 && !(range.facts & 16)) {\n        const containingClass = getContainingClass(current);\n        if (containingClass) {\n          const containingFunction = findAncestor(current, isFunctionLikeDeclaration);\n          return containingFunction ? [containingFunction, containingClass] : [containingClass];\n        }\n      }\n      const scopes = [];\n      while (true) {\n        current = current.parent;\n        if (current.kind === 166) {\n          current = findAncestor(current, (parent2) => isFunctionLikeDeclaration(parent2)).parent;\n        }\n        if (isScope(current)) {\n          scopes.push(current);\n          if (current.kind === 308) {\n            return scopes;\n          }\n        }\n      }\n    }\n    function getFunctionExtractionAtIndex(targetRange, context, requestedChangesIndex) {\n      const { scopes, readsAndWrites: { target, usagesPerScope, functionErrorsPerScope, exposedVariableDeclarations } } = getPossibleExtractionsWorker(targetRange, context);\n      Debug2.assert(!functionErrorsPerScope[requestedChangesIndex].length, \"The extraction went missing? How?\");\n      context.cancellationToken.throwIfCancellationRequested();\n      return extractFunctionInScope(target, scopes[requestedChangesIndex], usagesPerScope[requestedChangesIndex], exposedVariableDeclarations, targetRange, context);\n    }\n    function getConstantExtractionAtIndex(targetRange, context, requestedChangesIndex) {\n      const { scopes, readsAndWrites: { target, usagesPerScope, constantErrorsPerScope, exposedVariableDeclarations } } = getPossibleExtractionsWorker(targetRange, context);\n      Debug2.assert(!constantErrorsPerScope[requestedChangesIndex].length, \"The extraction went missing? How?\");\n      Debug2.assert(exposedVariableDeclarations.length === 0, \"Extract constant accepted a range containing a variable declaration?\");\n      context.cancellationToken.throwIfCancellationRequested();\n      const expression = isExpression(target) ? target : target.statements[0].expression;\n      return extractConstantInScope(expression, scopes[requestedChangesIndex], usagesPerScope[requestedChangesIndex], targetRange.facts, context);\n    }\n    function getPossibleExtractions(targetRange, context) {\n      const { scopes, readsAndWrites: { functionErrorsPerScope, constantErrorsPerScope } } = getPossibleExtractionsWorker(targetRange, context);\n      const extractions = scopes.map((scope, i) => {\n        const functionDescriptionPart = getDescriptionForFunctionInScope(scope);\n        const constantDescriptionPart = getDescriptionForConstantInScope(scope);\n        const scopeDescription = isFunctionLikeDeclaration(scope) ? getDescriptionForFunctionLikeDeclaration(scope) : isClassLike(scope) ? getDescriptionForClassLikeDeclaration(scope) : getDescriptionForModuleLikeDeclaration(scope);\n        let functionDescription;\n        let constantDescription;\n        if (scopeDescription === 1) {\n          functionDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [functionDescriptionPart, \"global\"]);\n          constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [constantDescriptionPart, \"global\"]);\n        } else if (scopeDescription === 0) {\n          functionDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [functionDescriptionPart, \"module\"]);\n          constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [constantDescriptionPart, \"module\"]);\n        } else {\n          functionDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1), [functionDescriptionPart, scopeDescription]);\n          constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1), [constantDescriptionPart, scopeDescription]);\n        }\n        if (i === 0 && !isClassLike(scope)) {\n          constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_enclosing_scope), [constantDescriptionPart]);\n        }\n        return {\n          functionExtraction: {\n            description: functionDescription,\n            errors: functionErrorsPerScope[i]\n          },\n          constantExtraction: {\n            description: constantDescription,\n            errors: constantErrorsPerScope[i]\n          }\n        };\n      });\n      return extractions;\n    }\n    function getPossibleExtractionsWorker(targetRange, context) {\n      const { file: sourceFile } = context;\n      const scopes = collectEnclosingScopes(targetRange);\n      const enclosingTextRange = getEnclosingTextRange(targetRange, sourceFile);\n      const readsAndWrites = collectReadsAndWrites(\n        targetRange,\n        scopes,\n        enclosingTextRange,\n        sourceFile,\n        context.program.getTypeChecker(),\n        context.cancellationToken\n      );\n      return { scopes, readsAndWrites };\n    }\n    function getDescriptionForFunctionInScope(scope) {\n      return isFunctionLikeDeclaration(scope) ? \"inner function\" : isClassLike(scope) ? \"method\" : \"function\";\n    }\n    function getDescriptionForConstantInScope(scope) {\n      return isClassLike(scope) ? \"readonly field\" : \"constant\";\n    }\n    function getDescriptionForFunctionLikeDeclaration(scope) {\n      switch (scope.kind) {\n        case 173:\n          return \"constructor\";\n        case 215:\n        case 259:\n          return scope.name ? `function '${scope.name.text}'` : ANONYMOUS;\n        case 216:\n          return \"arrow function\";\n        case 171:\n          return `method '${scope.name.getText()}'`;\n        case 174:\n          return `'get ${scope.name.getText()}'`;\n        case 175:\n          return `'set ${scope.name.getText()}'`;\n        default:\n          throw Debug2.assertNever(scope, `Unexpected scope kind ${scope.kind}`);\n      }\n    }\n    function getDescriptionForClassLikeDeclaration(scope) {\n      return scope.kind === 260 ? scope.name ? `class '${scope.name.text}'` : \"anonymous class declaration\" : scope.name ? `class expression '${scope.name.text}'` : \"anonymous class expression\";\n    }\n    function getDescriptionForModuleLikeDeclaration(scope) {\n      return scope.kind === 265 ? `namespace '${scope.parent.name.getText()}'` : scope.externalModuleIndicator ? 0 : 1;\n    }\n    function extractFunctionInScope(node, scope, { usages: usagesInScope, typeParameterUsages, substitutions }, exposedVariableDeclarations, range, context) {\n      const checker = context.program.getTypeChecker();\n      const scriptTarget = getEmitScriptTarget(context.program.getCompilerOptions());\n      const importAdder = ts_codefix_exports.createImportAdder(context.file, context.program, context.preferences, context.host);\n      const file = scope.getSourceFile();\n      const functionNameText = getUniqueName(isClassLike(scope) ? \"newMethod\" : \"newFunction\", file);\n      const isJS = isInJSFile(scope);\n      const functionName = factory.createIdentifier(functionNameText);\n      let returnType;\n      const parameters = [];\n      const callArguments = [];\n      let writes;\n      usagesInScope.forEach((usage, name) => {\n        let typeNode;\n        if (!isJS) {\n          let type = checker.getTypeOfSymbolAtLocation(usage.symbol, usage.node);\n          type = checker.getBaseTypeOfLiteralType(type);\n          typeNode = ts_codefix_exports.typeToAutoImportableTypeNode(\n            checker,\n            importAdder,\n            type,\n            scope,\n            scriptTarget,\n            1\n            /* NoTruncation */\n          );\n        }\n        const paramDecl = factory.createParameterDeclaration(\n          /*modifiers*/\n          void 0,\n          /*dotDotDotToken*/\n          void 0,\n          /*name*/\n          name,\n          /*questionToken*/\n          void 0,\n          typeNode\n        );\n        parameters.push(paramDecl);\n        if (usage.usage === 2) {\n          (writes || (writes = [])).push(usage);\n        }\n        callArguments.push(factory.createIdentifier(name));\n      });\n      const typeParametersAndDeclarations = arrayFrom(typeParameterUsages.values(), (type) => ({ type, declaration: getFirstDeclaration(type) }));\n      const sortedTypeParametersAndDeclarations = typeParametersAndDeclarations.sort(compareTypesByDeclarationOrder);\n      const typeParameters = sortedTypeParametersAndDeclarations.length === 0 ? void 0 : sortedTypeParametersAndDeclarations.map((t) => t.declaration);\n      const callTypeArguments = typeParameters !== void 0 ? typeParameters.map((decl) => factory.createTypeReferenceNode(\n        decl.name,\n        /*typeArguments*/\n        void 0\n      )) : void 0;\n      if (isExpression(node) && !isJS) {\n        const contextualType = checker.getContextualType(node);\n        returnType = checker.typeToTypeNode(\n          contextualType,\n          scope,\n          1\n          /* NoTruncation */\n        );\n      }\n      const { body, returnValueProperty } = transformFunctionBody(node, exposedVariableDeclarations, writes, substitutions, !!(range.facts & 1));\n      suppressLeadingAndTrailingTrivia(body);\n      let newFunction;\n      const callThis = !!(range.facts & 16);\n      if (isClassLike(scope)) {\n        const modifiers = isJS ? [] : [factory.createModifier(\n          121\n          /* PrivateKeyword */\n        )];\n        if (range.facts & 32) {\n          modifiers.push(factory.createModifier(\n            124\n            /* StaticKeyword */\n          ));\n        }\n        if (range.facts & 4) {\n          modifiers.push(factory.createModifier(\n            132\n            /* AsyncKeyword */\n          ));\n        }\n        newFunction = factory.createMethodDeclaration(\n          modifiers.length ? modifiers : void 0,\n          range.facts & 2 ? factory.createToken(\n            41\n            /* AsteriskToken */\n          ) : void 0,\n          functionName,\n          /*questionToken*/\n          void 0,\n          typeParameters,\n          parameters,\n          returnType,\n          body\n        );\n      } else {\n        if (callThis) {\n          parameters.unshift(\n            factory.createParameterDeclaration(\n              /*modifiers*/\n              void 0,\n              /*dotDotDotToken*/\n              void 0,\n              /*name*/\n              \"this\",\n              /*questionToken*/\n              void 0,\n              checker.typeToTypeNode(\n                checker.getTypeAtLocation(range.thisNode),\n                scope,\n                1\n                /* NoTruncation */\n              ),\n              /*initializer*/\n              void 0\n            )\n          );\n        }\n        newFunction = factory.createFunctionDeclaration(\n          range.facts & 4 ? [factory.createToken(\n            132\n            /* AsyncKeyword */\n          )] : void 0,\n          range.facts & 2 ? factory.createToken(\n            41\n            /* AsteriskToken */\n          ) : void 0,\n          functionName,\n          typeParameters,\n          parameters,\n          returnType,\n          body\n        );\n      }\n      const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext(context);\n      const minInsertionPos = (isReadonlyArray(range.range) ? last(range.range) : range.range).end;\n      const nodeToInsertBefore = getNodeToInsertFunctionBefore(minInsertionPos, scope);\n      if (nodeToInsertBefore) {\n        changeTracker.insertNodeBefore(\n          context.file,\n          nodeToInsertBefore,\n          newFunction,\n          /*blankLineBetween*/\n          true\n        );\n      } else {\n        changeTracker.insertNodeAtEndOfScope(context.file, scope, newFunction);\n      }\n      importAdder.writeFixes(changeTracker);\n      const newNodes = [];\n      const called = getCalledExpression(scope, range, functionNameText);\n      if (callThis) {\n        callArguments.unshift(factory.createIdentifier(\"this\"));\n      }\n      let call = factory.createCallExpression(\n        callThis ? factory.createPropertyAccessExpression(\n          called,\n          \"call\"\n        ) : called,\n        callTypeArguments,\n        // Note that no attempt is made to take advantage of type argument inference\n        callArguments\n      );\n      if (range.facts & 2) {\n        call = factory.createYieldExpression(factory.createToken(\n          41\n          /* AsteriskToken */\n        ), call);\n      }\n      if (range.facts & 4) {\n        call = factory.createAwaitExpression(call);\n      }\n      if (isInJSXContent(node)) {\n        call = factory.createJsxExpression(\n          /*dotDotDotToken*/\n          void 0,\n          call\n        );\n      }\n      if (exposedVariableDeclarations.length && !writes) {\n        Debug2.assert(!returnValueProperty, \"Expected no returnValueProperty\");\n        Debug2.assert(!(range.facts & 1), \"Expected RangeFacts.HasReturn flag to be unset\");\n        if (exposedVariableDeclarations.length === 1) {\n          const variableDeclaration = exposedVariableDeclarations[0];\n          newNodes.push(factory.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory.createVariableDeclarationList(\n              [factory.createVariableDeclaration(\n                getSynthesizedDeepClone(variableDeclaration.name),\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                getSynthesizedDeepClone(variableDeclaration.type),\n                /*initializer*/\n                call\n              )],\n              variableDeclaration.parent.flags\n            )\n          ));\n        } else {\n          const bindingElements = [];\n          const typeElements = [];\n          let commonNodeFlags = exposedVariableDeclarations[0].parent.flags;\n          let sawExplicitType = false;\n          for (const variableDeclaration of exposedVariableDeclarations) {\n            bindingElements.push(factory.createBindingElement(\n              /*dotDotDotToken*/\n              void 0,\n              /*propertyName*/\n              void 0,\n              /*name*/\n              getSynthesizedDeepClone(variableDeclaration.name)\n            ));\n            const variableType = checker.typeToTypeNode(\n              checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(variableDeclaration)),\n              scope,\n              1\n              /* NoTruncation */\n            );\n            typeElements.push(factory.createPropertySignature(\n              /*modifiers*/\n              void 0,\n              /*name*/\n              variableDeclaration.symbol.name,\n              /*questionToken*/\n              void 0,\n              /*type*/\n              variableType\n            ));\n            sawExplicitType = sawExplicitType || variableDeclaration.type !== void 0;\n            commonNodeFlags = commonNodeFlags & variableDeclaration.parent.flags;\n          }\n          const typeLiteral = sawExplicitType ? factory.createTypeLiteralNode(typeElements) : void 0;\n          if (typeLiteral) {\n            setEmitFlags(\n              typeLiteral,\n              1\n              /* SingleLine */\n            );\n          }\n          newNodes.push(factory.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory.createVariableDeclarationList(\n              [factory.createVariableDeclaration(\n                factory.createObjectBindingPattern(bindingElements),\n                /*exclamationToken*/\n                void 0,\n                /*type*/\n                typeLiteral,\n                /*initializer*/\n                call\n              )],\n              commonNodeFlags\n            )\n          ));\n        }\n      } else if (exposedVariableDeclarations.length || writes) {\n        if (exposedVariableDeclarations.length) {\n          for (const variableDeclaration of exposedVariableDeclarations) {\n            let flags = variableDeclaration.parent.flags;\n            if (flags & 2) {\n              flags = flags & ~2 | 1;\n            }\n            newNodes.push(factory.createVariableStatement(\n              /*modifiers*/\n              void 0,\n              factory.createVariableDeclarationList(\n                [factory.createVariableDeclaration(\n                  variableDeclaration.symbol.name,\n                  /*exclamationToken*/\n                  void 0,\n                  getTypeDeepCloneUnionUndefined(variableDeclaration.type)\n                )],\n                flags\n              )\n            ));\n          }\n        }\n        if (returnValueProperty) {\n          newNodes.push(factory.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory.createVariableDeclarationList(\n              [factory.createVariableDeclaration(\n                returnValueProperty,\n                /*exclamationToken*/\n                void 0,\n                getTypeDeepCloneUnionUndefined(returnType)\n              )],\n              1\n              /* Let */\n            )\n          ));\n        }\n        const assignments = getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes);\n        if (returnValueProperty) {\n          assignments.unshift(factory.createShorthandPropertyAssignment(returnValueProperty));\n        }\n        if (assignments.length === 1) {\n          Debug2.assert(!returnValueProperty, \"Shouldn't have returnValueProperty here\");\n          newNodes.push(factory.createExpressionStatement(factory.createAssignment(assignments[0].name, call)));\n          if (range.facts & 1) {\n            newNodes.push(factory.createReturnStatement());\n          }\n        } else {\n          newNodes.push(factory.createExpressionStatement(factory.createAssignment(factory.createObjectLiteralExpression(assignments), call)));\n          if (returnValueProperty) {\n            newNodes.push(factory.createReturnStatement(factory.createIdentifier(returnValueProperty)));\n          }\n        }\n      } else {\n        if (range.facts & 1) {\n          newNodes.push(factory.createReturnStatement(call));\n        } else if (isReadonlyArray(range.range)) {\n          newNodes.push(factory.createExpressionStatement(call));\n        } else {\n          newNodes.push(call);\n        }\n      }\n      if (isReadonlyArray(range.range)) {\n        changeTracker.replaceNodeRangeWithNodes(context.file, first(range.range), last(range.range), newNodes);\n      } else {\n        changeTracker.replaceNodeWithNodes(context.file, range.range, newNodes);\n      }\n      const edits = changeTracker.getChanges();\n      const renameRange = isReadonlyArray(range.range) ? first(range.range) : range.range;\n      const renameFilename = renameRange.getSourceFile().fileName;\n      const renameLocation = getRenameLocation(\n        edits,\n        renameFilename,\n        functionNameText,\n        /*isDeclaredBeforeUse*/\n        false\n      );\n      return { renameFilename, renameLocation, edits };\n      function getTypeDeepCloneUnionUndefined(typeNode) {\n        if (typeNode === void 0) {\n          return void 0;\n        }\n        const clone2 = getSynthesizedDeepClone(typeNode);\n        let withoutParens = clone2;\n        while (isParenthesizedTypeNode(withoutParens)) {\n          withoutParens = withoutParens.type;\n        }\n        return isUnionTypeNode(withoutParens) && find(\n          withoutParens.types,\n          (t) => t.kind === 155\n          /* UndefinedKeyword */\n        ) ? clone2 : factory.createUnionTypeNode([clone2, factory.createKeywordTypeNode(\n          155\n          /* UndefinedKeyword */\n        )]);\n      }\n    }\n    function extractConstantInScope(node, scope, { substitutions }, rangeFacts, context) {\n      const checker = context.program.getTypeChecker();\n      const file = scope.getSourceFile();\n      const localNameText = isPropertyAccessExpression(node) && !isClassLike(scope) && !checker.resolveName(\n        node.name.text,\n        node,\n        111551,\n        /*excludeGlobals*/\n        false\n      ) && !isPrivateIdentifier(node.name) && !identifierToKeywordKind(node.name) ? node.name.text : getUniqueName(isClassLike(scope) ? \"newProperty\" : \"newLocal\", file);\n      const isJS = isInJSFile(scope);\n      let variableType = isJS || !checker.isContextSensitive(node) ? void 0 : checker.typeToTypeNode(\n        checker.getContextualType(node),\n        scope,\n        1\n        /* NoTruncation */\n      );\n      let initializer = transformConstantInitializer(skipParentheses(node), substitutions);\n      ({ variableType, initializer } = transformFunctionInitializerAndType(variableType, initializer));\n      suppressLeadingAndTrailingTrivia(initializer);\n      const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext(context);\n      if (isClassLike(scope)) {\n        Debug2.assert(!isJS, \"Cannot extract to a JS class\");\n        const modifiers = [];\n        modifiers.push(factory.createModifier(\n          121\n          /* PrivateKeyword */\n        ));\n        if (rangeFacts & 32) {\n          modifiers.push(factory.createModifier(\n            124\n            /* StaticKeyword */\n          ));\n        }\n        modifiers.push(factory.createModifier(\n          146\n          /* ReadonlyKeyword */\n        ));\n        const newVariable = factory.createPropertyDeclaration(\n          modifiers,\n          localNameText,\n          /*questionToken*/\n          void 0,\n          variableType,\n          initializer\n        );\n        let localReference = factory.createPropertyAccessExpression(\n          rangeFacts & 32 ? factory.createIdentifier(scope.name.getText()) : factory.createThis(),\n          factory.createIdentifier(localNameText)\n        );\n        if (isInJSXContent(node)) {\n          localReference = factory.createJsxExpression(\n            /*dotDotDotToken*/\n            void 0,\n            localReference\n          );\n        }\n        const maxInsertionPos = node.pos;\n        const nodeToInsertBefore = getNodeToInsertPropertyBefore(maxInsertionPos, scope);\n        changeTracker.insertNodeBefore(\n          context.file,\n          nodeToInsertBefore,\n          newVariable,\n          /*blankLineBetween*/\n          true\n        );\n        changeTracker.replaceNode(context.file, node, localReference);\n      } else {\n        const newVariableDeclaration = factory.createVariableDeclaration(\n          localNameText,\n          /*exclamationToken*/\n          void 0,\n          variableType,\n          initializer\n        );\n        const oldVariableDeclaration = getContainingVariableDeclarationIfInList(node, scope);\n        if (oldVariableDeclaration) {\n          changeTracker.insertNodeBefore(context.file, oldVariableDeclaration, newVariableDeclaration);\n          const localReference = factory.createIdentifier(localNameText);\n          changeTracker.replaceNode(context.file, node, localReference);\n        } else if (node.parent.kind === 241 && scope === findAncestor(node, isScope)) {\n          const newVariableStatement = factory.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory.createVariableDeclarationList(\n              [newVariableDeclaration],\n              2\n              /* Const */\n            )\n          );\n          changeTracker.replaceNode(context.file, node.parent, newVariableStatement);\n        } else {\n          const newVariableStatement = factory.createVariableStatement(\n            /*modifiers*/\n            void 0,\n            factory.createVariableDeclarationList(\n              [newVariableDeclaration],\n              2\n              /* Const */\n            )\n          );\n          const nodeToInsertBefore = getNodeToInsertConstantBefore(node, scope);\n          if (nodeToInsertBefore.pos === 0) {\n            changeTracker.insertNodeAtTopOfFile(\n              context.file,\n              newVariableStatement,\n              /*blankLineBetween*/\n              false\n            );\n          } else {\n            changeTracker.insertNodeBefore(\n              context.file,\n              nodeToInsertBefore,\n              newVariableStatement,\n              /*blankLineBetween*/\n              false\n            );\n          }\n          if (node.parent.kind === 241) {\n            changeTracker.delete(context.file, node.parent);\n          } else {\n            let localReference = factory.createIdentifier(localNameText);\n            if (isInJSXContent(node)) {\n              localReference = factory.createJsxExpression(\n                /*dotDotDotToken*/\n                void 0,\n                localReference\n              );\n            }\n            changeTracker.replaceNode(context.file, node, localReference);\n          }\n        }\n      }\n      const edits = changeTracker.getChanges();\n      const renameFilename = node.getSourceFile().fileName;\n      const renameLocation = getRenameLocation(\n        edits,\n        renameFilename,\n        localNameText,\n        /*isDeclaredBeforeUse*/\n        true\n      );\n      return { renameFilename, renameLocation, edits };\n      function transformFunctionInitializerAndType(variableType2, initializer2) {\n        if (variableType2 === void 0)\n          return { variableType: variableType2, initializer: initializer2 };\n        if (!isFunctionExpression(initializer2) && !isArrowFunction(initializer2) || !!initializer2.typeParameters)\n          return { variableType: variableType2, initializer: initializer2 };\n        const functionType = checker.getTypeAtLocation(node);\n        const functionSignature = singleOrUndefined(checker.getSignaturesOfType(\n          functionType,\n          0\n          /* Call */\n        ));\n        if (!functionSignature)\n          return { variableType: variableType2, initializer: initializer2 };\n        if (!!functionSignature.getTypeParameters())\n          return { variableType: variableType2, initializer: initializer2 };\n        const parameters = [];\n        let hasAny = false;\n        for (const p of initializer2.parameters) {\n          if (p.type) {\n            parameters.push(p);\n          } else {\n            const paramType = checker.getTypeAtLocation(p);\n            if (paramType === checker.getAnyType())\n              hasAny = true;\n            parameters.push(factory.updateParameterDeclaration(\n              p,\n              p.modifiers,\n              p.dotDotDotToken,\n              p.name,\n              p.questionToken,\n              p.type || checker.typeToTypeNode(\n                paramType,\n                scope,\n                1\n                /* NoTruncation */\n              ),\n              p.initializer\n            ));\n          }\n        }\n        if (hasAny)\n          return { variableType: variableType2, initializer: initializer2 };\n        variableType2 = void 0;\n        if (isArrowFunction(initializer2)) {\n          initializer2 = factory.updateArrowFunction(\n            initializer2,\n            canHaveModifiers(node) ? getModifiers(node) : void 0,\n            initializer2.typeParameters,\n            parameters,\n            initializer2.type || checker.typeToTypeNode(\n              functionSignature.getReturnType(),\n              scope,\n              1\n              /* NoTruncation */\n            ),\n            initializer2.equalsGreaterThanToken,\n            initializer2.body\n          );\n        } else {\n          if (functionSignature && !!functionSignature.thisParameter) {\n            const firstParameter = firstOrUndefined(parameters);\n            if (!firstParameter || isIdentifier(firstParameter.name) && firstParameter.name.escapedText !== \"this\") {\n              const thisType = checker.getTypeOfSymbolAtLocation(functionSignature.thisParameter, node);\n              parameters.splice(0, 0, factory.createParameterDeclaration(\n                /* modifiers */\n                void 0,\n                /* dotDotDotToken */\n                void 0,\n                \"this\",\n                /* questionToken */\n                void 0,\n                checker.typeToTypeNode(\n                  thisType,\n                  scope,\n                  1\n                  /* NoTruncation */\n                )\n              ));\n            }\n          }\n          initializer2 = factory.updateFunctionExpression(\n            initializer2,\n            canHaveModifiers(node) ? getModifiers(node) : void 0,\n            initializer2.asteriskToken,\n            initializer2.name,\n            initializer2.typeParameters,\n            parameters,\n            initializer2.type || checker.typeToTypeNode(\n              functionSignature.getReturnType(),\n              scope,\n              1\n              /* NoTruncation */\n            ),\n            initializer2.body\n          );\n        }\n        return { variableType: variableType2, initializer: initializer2 };\n      }\n    }\n    function getContainingVariableDeclarationIfInList(node, scope) {\n      let prevNode;\n      while (node !== void 0 && node !== scope) {\n        if (isVariableDeclaration(node) && node.initializer === prevNode && isVariableDeclarationList(node.parent) && node.parent.declarations.length > 1) {\n          return node;\n        }\n        prevNode = node;\n        node = node.parent;\n      }\n    }\n    function getFirstDeclaration(type) {\n      let firstDeclaration;\n      const symbol = type.symbol;\n      if (symbol && symbol.declarations) {\n        for (const declaration of symbol.declarations) {\n          if (firstDeclaration === void 0 || declaration.pos < firstDeclaration.pos) {\n            firstDeclaration = declaration;\n          }\n        }\n      }\n      return firstDeclaration;\n    }\n    function compareTypesByDeclarationOrder({ type: type1, declaration: declaration1 }, { type: type2, declaration: declaration2 }) {\n      return compareProperties(declaration1, declaration2, \"pos\", compareValues) || compareStringsCaseSensitive(\n        type1.symbol ? type1.symbol.getName() : \"\",\n        type2.symbol ? type2.symbol.getName() : \"\"\n      ) || compareValues(type1.id, type2.id);\n    }\n    function getCalledExpression(scope, range, functionNameText) {\n      const functionReference = factory.createIdentifier(functionNameText);\n      if (isClassLike(scope)) {\n        const lhs = range.facts & 32 ? factory.createIdentifier(scope.name.text) : factory.createThis();\n        return factory.createPropertyAccessExpression(lhs, functionReference);\n      } else {\n        return functionReference;\n      }\n    }\n    function transformFunctionBody(body, exposedVariableDeclarations, writes, substitutions, hasReturn2) {\n      const hasWritesOrVariableDeclarations = writes !== void 0 || exposedVariableDeclarations.length > 0;\n      if (isBlock(body) && !hasWritesOrVariableDeclarations && substitutions.size === 0) {\n        return { body: factory.createBlock(\n          body.statements,\n          /*multLine*/\n          true\n        ), returnValueProperty: void 0 };\n      }\n      let returnValueProperty;\n      let ignoreReturns = false;\n      const statements = factory.createNodeArray(isBlock(body) ? body.statements.slice(0) : [isStatement(body) ? body : factory.createReturnStatement(skipParentheses(body))]);\n      if (hasWritesOrVariableDeclarations || substitutions.size) {\n        const rewrittenStatements = visitNodes2(statements, visitor, isStatement).slice();\n        if (hasWritesOrVariableDeclarations && !hasReturn2 && isStatement(body)) {\n          const assignments = getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes);\n          if (assignments.length === 1) {\n            rewrittenStatements.push(factory.createReturnStatement(assignments[0].name));\n          } else {\n            rewrittenStatements.push(factory.createReturnStatement(factory.createObjectLiteralExpression(assignments)));\n          }\n        }\n        return { body: factory.createBlock(\n          rewrittenStatements,\n          /*multiLine*/\n          true\n        ), returnValueProperty };\n      } else {\n        return { body: factory.createBlock(\n          statements,\n          /*multiLine*/\n          true\n        ), returnValueProperty: void 0 };\n      }\n      function visitor(node) {\n        if (!ignoreReturns && isReturnStatement(node) && hasWritesOrVariableDeclarations) {\n          const assignments = getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes);\n          if (node.expression) {\n            if (!returnValueProperty) {\n              returnValueProperty = \"__return\";\n            }\n            assignments.unshift(factory.createPropertyAssignment(returnValueProperty, visitNode(node.expression, visitor, isExpression)));\n          }\n          if (assignments.length === 1) {\n            return factory.createReturnStatement(assignments[0].name);\n          } else {\n            return factory.createReturnStatement(factory.createObjectLiteralExpression(assignments));\n          }\n        } else {\n          const oldIgnoreReturns = ignoreReturns;\n          ignoreReturns = ignoreReturns || isFunctionLikeDeclaration(node) || isClassLike(node);\n          const substitution = substitutions.get(getNodeId(node).toString());\n          const result = substitution ? getSynthesizedDeepClone(substitution) : visitEachChild(node, visitor, nullTransformationContext);\n          ignoreReturns = oldIgnoreReturns;\n          return result;\n        }\n      }\n    }\n    function transformConstantInitializer(initializer, substitutions) {\n      return substitutions.size ? visitor(initializer) : initializer;\n      function visitor(node) {\n        const substitution = substitutions.get(getNodeId(node).toString());\n        return substitution ? getSynthesizedDeepClone(substitution) : visitEachChild(node, visitor, nullTransformationContext);\n      }\n    }\n    function getStatementsOrClassElements(scope) {\n      if (isFunctionLikeDeclaration(scope)) {\n        const body = scope.body;\n        if (isBlock(body)) {\n          return body.statements;\n        }\n      } else if (isModuleBlock(scope) || isSourceFile(scope)) {\n        return scope.statements;\n      } else if (isClassLike(scope)) {\n        return scope.members;\n      } else {\n        assertType(scope);\n      }\n      return emptyArray;\n    }\n    function getNodeToInsertFunctionBefore(minPos, scope) {\n      return find(getStatementsOrClassElements(scope), (child) => child.pos >= minPos && isFunctionLikeDeclaration(child) && !isConstructorDeclaration(child));\n    }\n    function getNodeToInsertPropertyBefore(maxPos, scope) {\n      const members = scope.members;\n      Debug2.assert(members.length > 0, \"Found no members\");\n      let prevMember;\n      let allProperties = true;\n      for (const member of members) {\n        if (member.pos > maxPos) {\n          return prevMember || members[0];\n        }\n        if (allProperties && !isPropertyDeclaration(member)) {\n          if (prevMember !== void 0) {\n            return member;\n          }\n          allProperties = false;\n        }\n        prevMember = member;\n      }\n      if (prevMember === void 0)\n        return Debug2.fail();\n      return prevMember;\n    }\n    function getNodeToInsertConstantBefore(node, scope) {\n      Debug2.assert(!isClassLike(scope));\n      let prevScope;\n      for (let curr = node; curr !== scope; curr = curr.parent) {\n        if (isScope(curr)) {\n          prevScope = curr;\n        }\n      }\n      for (let curr = (prevScope || node).parent; ; curr = curr.parent) {\n        if (isBlockLike(curr)) {\n          let prevStatement;\n          for (const statement of curr.statements) {\n            if (statement.pos > node.pos) {\n              break;\n            }\n            prevStatement = statement;\n          }\n          if (!prevStatement && isCaseClause(curr)) {\n            Debug2.assert(isSwitchStatement(curr.parent.parent), \"Grandparent isn't a switch statement\");\n            return curr.parent.parent;\n          }\n          return Debug2.checkDefined(prevStatement, \"prevStatement failed to get set\");\n        }\n        Debug2.assert(curr !== scope, \"Didn't encounter a block-like before encountering scope\");\n      }\n    }\n    function getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes) {\n      const variableAssignments = map(exposedVariableDeclarations, (v) => factory.createShorthandPropertyAssignment(v.symbol.name));\n      const writeAssignments = map(writes, (w) => factory.createShorthandPropertyAssignment(w.symbol.name));\n      return variableAssignments === void 0 ? writeAssignments : writeAssignments === void 0 ? variableAssignments : variableAssignments.concat(writeAssignments);\n    }\n    function isReadonlyArray(v) {\n      return isArray(v);\n    }\n    function getEnclosingTextRange(targetRange, sourceFile) {\n      return isReadonlyArray(targetRange.range) ? { pos: first(targetRange.range).getStart(sourceFile), end: last(targetRange.range).getEnd() } : targetRange.range;\n    }\n    function collectReadsAndWrites(targetRange, scopes, enclosingTextRange, sourceFile, checker, cancellationToken) {\n      const allTypeParameterUsages = /* @__PURE__ */ new Map();\n      const usagesPerScope = [];\n      const substitutionsPerScope = [];\n      const functionErrorsPerScope = [];\n      const constantErrorsPerScope = [];\n      const visibleDeclarationsInExtractedRange = [];\n      const exposedVariableSymbolSet = /* @__PURE__ */ new Map();\n      const exposedVariableDeclarations = [];\n      let firstExposedNonVariableDeclaration;\n      const expression = !isReadonlyArray(targetRange.range) ? targetRange.range : targetRange.range.length === 1 && isExpressionStatement(targetRange.range[0]) ? targetRange.range[0].expression : void 0;\n      let expressionDiagnostic;\n      if (expression === void 0) {\n        const statements = targetRange.range;\n        const start = first(statements).getStart();\n        const end = last(statements).end;\n        expressionDiagnostic = createFileDiagnostic(sourceFile, start, end - start, Messages.expressionExpected);\n      } else if (checker.getTypeAtLocation(expression).flags & (16384 | 131072)) {\n        expressionDiagnostic = createDiagnosticForNode(expression, Messages.uselessConstantType);\n      }\n      for (const scope of scopes) {\n        usagesPerScope.push({ usages: /* @__PURE__ */ new Map(), typeParameterUsages: /* @__PURE__ */ new Map(), substitutions: /* @__PURE__ */ new Map() });\n        substitutionsPerScope.push(/* @__PURE__ */ new Map());\n        functionErrorsPerScope.push([]);\n        const constantErrors = [];\n        if (expressionDiagnostic) {\n          constantErrors.push(expressionDiagnostic);\n        }\n        if (isClassLike(scope) && isInJSFile(scope)) {\n          constantErrors.push(createDiagnosticForNode(scope, Messages.cannotExtractToJSClass));\n        }\n        if (isArrowFunction(scope) && !isBlock(scope.body)) {\n          constantErrors.push(createDiagnosticForNode(scope, Messages.cannotExtractToExpressionArrowFunction));\n        }\n        constantErrorsPerScope.push(constantErrors);\n      }\n      const seenUsages = /* @__PURE__ */ new Map();\n      const target = isReadonlyArray(targetRange.range) ? factory.createBlock(targetRange.range) : targetRange.range;\n      const unmodifiedNode = isReadonlyArray(targetRange.range) ? first(targetRange.range) : targetRange.range;\n      const inGenericContext = isInGenericContext(unmodifiedNode);\n      collectUsages(target);\n      if (inGenericContext && !isReadonlyArray(targetRange.range) && !isJsxAttribute(targetRange.range)) {\n        const contextualType = checker.getContextualType(targetRange.range);\n        recordTypeParameterUsages(contextualType);\n      }\n      if (allTypeParameterUsages.size > 0) {\n        const seenTypeParameterUsages = /* @__PURE__ */ new Map();\n        let i = 0;\n        for (let curr = unmodifiedNode; curr !== void 0 && i < scopes.length; curr = curr.parent) {\n          if (curr === scopes[i]) {\n            seenTypeParameterUsages.forEach((typeParameter, id) => {\n              usagesPerScope[i].typeParameterUsages.set(id, typeParameter);\n            });\n            i++;\n          }\n          if (isDeclarationWithTypeParameters(curr)) {\n            for (const typeParameterDecl of getEffectiveTypeParameterDeclarations(curr)) {\n              const typeParameter = checker.getTypeAtLocation(typeParameterDecl);\n              if (allTypeParameterUsages.has(typeParameter.id.toString())) {\n                seenTypeParameterUsages.set(typeParameter.id.toString(), typeParameter);\n              }\n            }\n          }\n        }\n        Debug2.assert(i === scopes.length, \"Should have iterated all scopes\");\n      }\n      if (visibleDeclarationsInExtractedRange.length) {\n        const containingLexicalScopeOfExtraction = isBlockScope(scopes[0], scopes[0].parent) ? scopes[0] : getEnclosingBlockScopeContainer(scopes[0]);\n        forEachChild(containingLexicalScopeOfExtraction, checkForUsedDeclarations);\n      }\n      for (let i = 0; i < scopes.length; i++) {\n        const scopeUsages = usagesPerScope[i];\n        if (i > 0 && (scopeUsages.usages.size > 0 || scopeUsages.typeParameterUsages.size > 0)) {\n          const errorNode = isReadonlyArray(targetRange.range) ? targetRange.range[0] : targetRange.range;\n          constantErrorsPerScope[i].push(createDiagnosticForNode(errorNode, Messages.cannotAccessVariablesFromNestedScopes));\n        }\n        if (targetRange.facts & 16 && isClassLike(scopes[i])) {\n          functionErrorsPerScope[i].push(createDiagnosticForNode(targetRange.thisNode, Messages.cannotExtractFunctionsContainingThisToMethod));\n        }\n        let hasWrite = false;\n        let readonlyClassPropertyWrite;\n        usagesPerScope[i].usages.forEach((value) => {\n          if (value.usage === 2) {\n            hasWrite = true;\n            if (value.symbol.flags & 106500 && value.symbol.valueDeclaration && hasEffectiveModifier(\n              value.symbol.valueDeclaration,\n              64\n              /* Readonly */\n            )) {\n              readonlyClassPropertyWrite = value.symbol.valueDeclaration;\n            }\n          }\n        });\n        Debug2.assert(isReadonlyArray(targetRange.range) || exposedVariableDeclarations.length === 0, \"No variable declarations expected if something was extracted\");\n        if (hasWrite && !isReadonlyArray(targetRange.range)) {\n          const diag2 = createDiagnosticForNode(targetRange.range, Messages.cannotWriteInExpression);\n          functionErrorsPerScope[i].push(diag2);\n          constantErrorsPerScope[i].push(diag2);\n        } else if (readonlyClassPropertyWrite && i > 0) {\n          const diag2 = createDiagnosticForNode(readonlyClassPropertyWrite, Messages.cannotExtractReadonlyPropertyInitializerOutsideConstructor);\n          functionErrorsPerScope[i].push(diag2);\n          constantErrorsPerScope[i].push(diag2);\n        } else if (firstExposedNonVariableDeclaration) {\n          const diag2 = createDiagnosticForNode(firstExposedNonVariableDeclaration, Messages.cannotExtractExportedEntity);\n          functionErrorsPerScope[i].push(diag2);\n          constantErrorsPerScope[i].push(diag2);\n        }\n      }\n      return { target, usagesPerScope, functionErrorsPerScope, constantErrorsPerScope, exposedVariableDeclarations };\n      function isInGenericContext(node) {\n        return !!findAncestor(node, (n) => isDeclarationWithTypeParameters(n) && getEffectiveTypeParameterDeclarations(n).length !== 0);\n      }\n      function recordTypeParameterUsages(type) {\n        const symbolWalker = checker.getSymbolWalker(() => (cancellationToken.throwIfCancellationRequested(), true));\n        const { visitedTypes } = symbolWalker.walkType(type);\n        for (const visitedType of visitedTypes) {\n          if (visitedType.isTypeParameter()) {\n            allTypeParameterUsages.set(visitedType.id.toString(), visitedType);\n          }\n        }\n      }\n      function collectUsages(node, valueUsage = 1) {\n        if (inGenericContext) {\n          const type = checker.getTypeAtLocation(node);\n          recordTypeParameterUsages(type);\n        }\n        if (isDeclaration(node) && node.symbol) {\n          visibleDeclarationsInExtractedRange.push(node);\n        }\n        if (isAssignmentExpression(node)) {\n          collectUsages(\n            node.left,\n            2\n            /* Write */\n          );\n          collectUsages(node.right);\n        } else if (isUnaryExpressionWithWrite(node)) {\n          collectUsages(\n            node.operand,\n            2\n            /* Write */\n          );\n        } else if (isPropertyAccessExpression(node) || isElementAccessExpression(node)) {\n          forEachChild(node, collectUsages);\n        } else if (isIdentifier(node)) {\n          if (!node.parent) {\n            return;\n          }\n          if (isQualifiedName(node.parent) && node !== node.parent.left) {\n            return;\n          }\n          if (isPropertyAccessExpression(node.parent) && node !== node.parent.expression) {\n            return;\n          }\n          recordUsage(\n            node,\n            valueUsage,\n            /*isTypeNode*/\n            isPartOfTypeNode(node)\n          );\n        } else {\n          forEachChild(node, collectUsages);\n        }\n      }\n      function recordUsage(n, usage, isTypeNode2) {\n        const symbolId = recordUsagebySymbol(n, usage, isTypeNode2);\n        if (symbolId) {\n          for (let i = 0; i < scopes.length; i++) {\n            const substitution = substitutionsPerScope[i].get(symbolId);\n            if (substitution) {\n              usagesPerScope[i].substitutions.set(getNodeId(n).toString(), substitution);\n            }\n          }\n        }\n      }\n      function recordUsagebySymbol(identifier, usage, isTypeName) {\n        const symbol = getSymbolReferencedByIdentifier(identifier);\n        if (!symbol) {\n          return void 0;\n        }\n        const symbolId = getSymbolId(symbol).toString();\n        const lastUsage = seenUsages.get(symbolId);\n        if (lastUsage && lastUsage >= usage) {\n          return symbolId;\n        }\n        seenUsages.set(symbolId, usage);\n        if (lastUsage) {\n          for (const perScope of usagesPerScope) {\n            const prevEntry = perScope.usages.get(identifier.text);\n            if (prevEntry) {\n              perScope.usages.set(identifier.text, { usage, symbol, node: identifier });\n            }\n          }\n          return symbolId;\n        }\n        const decls = symbol.getDeclarations();\n        const declInFile = decls && find(decls, (d) => d.getSourceFile() === sourceFile);\n        if (!declInFile) {\n          return void 0;\n        }\n        if (rangeContainsStartEnd(enclosingTextRange, declInFile.getStart(), declInFile.end)) {\n          return void 0;\n        }\n        if (targetRange.facts & 2 && usage === 2) {\n          const diag2 = createDiagnosticForNode(identifier, Messages.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);\n          for (const errors of functionErrorsPerScope) {\n            errors.push(diag2);\n          }\n          for (const errors of constantErrorsPerScope) {\n            errors.push(diag2);\n          }\n        }\n        for (let i = 0; i < scopes.length; i++) {\n          const scope = scopes[i];\n          const resolvedSymbol = checker.resolveName(\n            symbol.name,\n            scope,\n            symbol.flags,\n            /*excludeGlobals*/\n            false\n          );\n          if (resolvedSymbol === symbol) {\n            continue;\n          }\n          if (!substitutionsPerScope[i].has(symbolId)) {\n            const substitution = tryReplaceWithQualifiedNameOrPropertyAccess(symbol.exportSymbol || symbol, scope, isTypeName);\n            if (substitution) {\n              substitutionsPerScope[i].set(symbolId, substitution);\n            } else if (isTypeName) {\n              if (!(symbol.flags & 262144)) {\n                const diag2 = createDiagnosticForNode(identifier, Messages.typeWillNotBeVisibleInTheNewScope);\n                functionErrorsPerScope[i].push(diag2);\n                constantErrorsPerScope[i].push(diag2);\n              }\n            } else {\n              usagesPerScope[i].usages.set(identifier.text, { usage, symbol, node: identifier });\n            }\n          }\n        }\n        return symbolId;\n      }\n      function checkForUsedDeclarations(node) {\n        if (node === targetRange.range || isReadonlyArray(targetRange.range) && targetRange.range.indexOf(node) >= 0) {\n          return;\n        }\n        const sym = isIdentifier(node) ? getSymbolReferencedByIdentifier(node) : checker.getSymbolAtLocation(node);\n        if (sym) {\n          const decl = find(visibleDeclarationsInExtractedRange, (d) => d.symbol === sym);\n          if (decl) {\n            if (isVariableDeclaration(decl)) {\n              const idString = decl.symbol.id.toString();\n              if (!exposedVariableSymbolSet.has(idString)) {\n                exposedVariableDeclarations.push(decl);\n                exposedVariableSymbolSet.set(idString, true);\n              }\n            } else {\n              firstExposedNonVariableDeclaration = firstExposedNonVariableDeclaration || decl;\n            }\n          }\n        }\n        forEachChild(node, checkForUsedDeclarations);\n      }\n      function getSymbolReferencedByIdentifier(identifier) {\n        return identifier.parent && isShorthandPropertyAssignment(identifier.parent) && identifier.parent.name === identifier ? checker.getShorthandAssignmentValueSymbol(identifier.parent) : checker.getSymbolAtLocation(identifier);\n      }\n      function tryReplaceWithQualifiedNameOrPropertyAccess(symbol, scopeDecl, isTypeNode2) {\n        if (!symbol) {\n          return void 0;\n        }\n        const decls = symbol.getDeclarations();\n        if (decls && decls.some((d) => d.parent === scopeDecl)) {\n          return factory.createIdentifier(symbol.name);\n        }\n        const prefix = tryReplaceWithQualifiedNameOrPropertyAccess(symbol.parent, scopeDecl, isTypeNode2);\n        if (prefix === void 0) {\n          return void 0;\n        }\n        return isTypeNode2 ? factory.createQualifiedName(prefix, factory.createIdentifier(symbol.name)) : factory.createPropertyAccessExpression(prefix, symbol.name);\n      }\n    }\n    function getExtractableParent(node) {\n      return findAncestor(node, (node2) => node2.parent && isExtractableExpression(node2) && !isBinaryExpression(node2.parent));\n    }\n    function isExtractableExpression(node) {\n      const { parent: parent2 } = node;\n      switch (parent2.kind) {\n        case 302:\n          return false;\n      }\n      switch (node.kind) {\n        case 10:\n          return parent2.kind !== 269 && parent2.kind !== 273;\n        case 227:\n        case 203:\n        case 205:\n          return false;\n        case 79:\n          return parent2.kind !== 205 && parent2.kind !== 273 && parent2.kind !== 278;\n      }\n      return true;\n    }\n    function isBlockLike(node) {\n      switch (node.kind) {\n        case 238:\n        case 308:\n        case 265:\n        case 292:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isInJSXContent(node) {\n      return isStringLiteralJsxAttribute(node) || (isJsxElement(node) || isJsxSelfClosingElement(node) || isJsxFragment(node)) && (isJsxElement(node.parent) || isJsxFragment(node.parent));\n    }\n    function isStringLiteralJsxAttribute(node) {\n      return isStringLiteral(node) && node.parent && isJsxAttribute(node.parent);\n    }\n    var refactorName11, extractConstantAction, extractFunctionAction, Messages, RangeFacts;\n    var init_extractSymbol = __esm({\n      \"src/services/refactors/extractSymbol.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName11 = \"Extract Symbol\";\n        extractConstantAction = {\n          name: \"Extract Constant\",\n          description: getLocaleSpecificMessage(Diagnostics.Extract_constant),\n          kind: \"refactor.extract.constant\"\n        };\n        extractFunctionAction = {\n          name: \"Extract Function\",\n          description: getLocaleSpecificMessage(Diagnostics.Extract_function),\n          kind: \"refactor.extract.function\"\n        };\n        registerRefactor(refactorName11, {\n          kinds: [\n            extractConstantAction.kind,\n            extractFunctionAction.kind\n          ],\n          getEditsForAction: getRefactorEditsToExtractSymbol,\n          getAvailableActions: getRefactorActionsToExtractSymbol\n        });\n        ((Messages2) => {\n          function createMessage(message) {\n            return { message, code: 0, category: 3, key: message };\n          }\n          Messages2.cannotExtractRange = createMessage(\"Cannot extract range.\");\n          Messages2.cannotExtractImport = createMessage(\"Cannot extract import statement.\");\n          Messages2.cannotExtractSuper = createMessage(\"Cannot extract super call.\");\n          Messages2.cannotExtractJSDoc = createMessage(\"Cannot extract JSDoc.\");\n          Messages2.cannotExtractEmpty = createMessage(\"Cannot extract empty range.\");\n          Messages2.expressionExpected = createMessage(\"expression expected.\");\n          Messages2.uselessConstantType = createMessage(\"No reason to extract constant of type.\");\n          Messages2.statementOrExpressionExpected = createMessage(\"Statement or expression expected.\");\n          Messages2.cannotExtractRangeContainingConditionalBreakOrContinueStatements = createMessage(\"Cannot extract range containing conditional break or continue statements.\");\n          Messages2.cannotExtractRangeContainingConditionalReturnStatement = createMessage(\"Cannot extract range containing conditional return statement.\");\n          Messages2.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange = createMessage(\"Cannot extract range containing labeled break or continue with target outside of the range.\");\n          Messages2.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators = createMessage(\"Cannot extract range containing writes to references located outside of the target range in generators.\");\n          Messages2.typeWillNotBeVisibleInTheNewScope = createMessage(\"Type will not visible in the new scope.\");\n          Messages2.functionWillNotBeVisibleInTheNewScope = createMessage(\"Function will not visible in the new scope.\");\n          Messages2.cannotExtractIdentifier = createMessage(\"Select more than a single identifier.\");\n          Messages2.cannotExtractExportedEntity = createMessage(\"Cannot extract exported declaration\");\n          Messages2.cannotWriteInExpression = createMessage(\"Cannot write back side-effects when extracting an expression\");\n          Messages2.cannotExtractReadonlyPropertyInitializerOutsideConstructor = createMessage(\"Cannot move initialization of read-only class property outside of the constructor\");\n          Messages2.cannotExtractAmbientBlock = createMessage(\"Cannot extract code from ambient contexts\");\n          Messages2.cannotAccessVariablesFromNestedScopes = createMessage(\"Cannot access variables from nested scopes\");\n          Messages2.cannotExtractToJSClass = createMessage(\"Cannot extract constant to a class scope in JS\");\n          Messages2.cannotExtractToExpressionArrowFunction = createMessage(\"Cannot extract constant to an arrow function without a block\");\n          Messages2.cannotExtractFunctionsContainingThisToMethod = createMessage(\"Cannot extract functions containing this to method\");\n        })(Messages || (Messages = {}));\n        RangeFacts = /* @__PURE__ */ ((RangeFacts2) => {\n          RangeFacts2[RangeFacts2[\"None\"] = 0] = \"None\";\n          RangeFacts2[RangeFacts2[\"HasReturn\"] = 1] = \"HasReturn\";\n          RangeFacts2[RangeFacts2[\"IsGenerator\"] = 2] = \"IsGenerator\";\n          RangeFacts2[RangeFacts2[\"IsAsyncFunction\"] = 4] = \"IsAsyncFunction\";\n          RangeFacts2[RangeFacts2[\"UsesThis\"] = 8] = \"UsesThis\";\n          RangeFacts2[RangeFacts2[\"UsesThisInFunction\"] = 16] = \"UsesThisInFunction\";\n          RangeFacts2[RangeFacts2[\"InStaticRegion\"] = 32] = \"InStaticRegion\";\n          return RangeFacts2;\n        })(RangeFacts || {});\n      }\n    });\n    var ts_refactor_extractSymbol_exports = {};\n    __export2(ts_refactor_extractSymbol_exports, {\n      Messages: () => Messages,\n      RangeFacts: () => RangeFacts,\n      getRangeToExtract: () => getRangeToExtract2,\n      getRefactorActionsToExtractSymbol: () => getRefactorActionsToExtractSymbol,\n      getRefactorEditsToExtractSymbol: () => getRefactorEditsToExtractSymbol\n    });\n    var init_ts_refactor_extractSymbol = __esm({\n      \"src/services/_namespaces/ts.refactor.extractSymbol.ts\"() {\n        \"use strict\";\n        init_extractSymbol();\n      }\n    });\n    var actionName, actionDescription, generateGetSetAction;\n    var init_generateGetAccessorAndSetAccessor = __esm({\n      \"src/services/refactors/generateGetAccessorAndSetAccessor.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        actionName = \"Generate 'get' and 'set' accessors\";\n        actionDescription = Diagnostics.Generate_get_and_set_accessors.message;\n        generateGetSetAction = {\n          name: actionName,\n          description: actionDescription,\n          kind: \"refactor.rewrite.property.generateAccessors\"\n        };\n        registerRefactor(actionName, {\n          kinds: [generateGetSetAction.kind],\n          getEditsForAction: function getRefactorActionsToGenerateGetAndSetAccessors(context, actionName2) {\n            if (!context.endPosition)\n              return void 0;\n            const info = ts_codefix_exports.getAccessorConvertiblePropertyAtPosition(context.file, context.program, context.startPosition, context.endPosition);\n            Debug2.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n            const edits = ts_codefix_exports.generateAccessorFromProperty(context.file, context.program, context.startPosition, context.endPosition, context, actionName2);\n            if (!edits)\n              return void 0;\n            const renameFilename = context.file.fileName;\n            const nameNeedRename = info.renameAccessor ? info.accessorName : info.fieldName;\n            const renameLocationOffset = isIdentifier(nameNeedRename) ? 0 : -1;\n            const renameLocation = renameLocationOffset + getRenameLocation(\n              edits,\n              renameFilename,\n              nameNeedRename.text,\n              /*preferLastLocation*/\n              isParameter(info.declaration)\n            );\n            return { renameFilename, renameLocation, edits };\n          },\n          getAvailableActions(context) {\n            if (!context.endPosition)\n              return emptyArray;\n            const info = ts_codefix_exports.getAccessorConvertiblePropertyAtPosition(context.file, context.program, context.startPosition, context.endPosition, context.triggerReason === \"invoked\");\n            if (!info)\n              return emptyArray;\n            if (!isRefactorErrorInfo(info)) {\n              return [{\n                name: actionName,\n                description: actionDescription,\n                actions: [generateGetSetAction]\n              }];\n            }\n            if (context.preferences.provideRefactorNotApplicableReason) {\n              return [{\n                name: actionName,\n                description: actionDescription,\n                actions: [{ ...generateGetSetAction, notApplicableReason: info.error }]\n              }];\n            }\n            return emptyArray;\n          }\n        });\n      }\n    });\n    var ts_refactor_generateGetAccessorAndSetAccessor_exports = {};\n    var init_ts_refactor_generateGetAccessorAndSetAccessor = __esm({\n      \"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts\"() {\n        \"use strict\";\n        init_generateGetAccessorAndSetAccessor();\n      }\n    });\n    function getRefactorEditsToInferReturnType(context) {\n      const info = getInfo21(context);\n      if (info && !isRefactorErrorInfo(info)) {\n        const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange38(context.file, t, info.declaration, info.returnTypeNode));\n        return { renameFilename: void 0, renameLocation: void 0, edits };\n      }\n      return void 0;\n    }\n    function getRefactorActionsToInferReturnType(context) {\n      const info = getInfo21(context);\n      if (!info)\n        return emptyArray;\n      if (!isRefactorErrorInfo(info)) {\n        return [{\n          name: refactorName12,\n          description: refactorDescription6,\n          actions: [inferReturnTypeAction]\n        }];\n      }\n      if (context.preferences.provideRefactorNotApplicableReason) {\n        return [{\n          name: refactorName12,\n          description: refactorDescription6,\n          actions: [{ ...inferReturnTypeAction, notApplicableReason: info.error }]\n        }];\n      }\n      return emptyArray;\n    }\n    function doChange38(sourceFile, changes, declaration, typeNode) {\n      const closeParen = findChildOfKind(declaration, 21, sourceFile);\n      const needParens = isArrowFunction(declaration) && closeParen === void 0;\n      const endNode2 = needParens ? first(declaration.parameters) : closeParen;\n      if (endNode2) {\n        if (needParens) {\n          changes.insertNodeBefore(sourceFile, endNode2, factory.createToken(\n            20\n            /* OpenParenToken */\n          ));\n          changes.insertNodeAfter(sourceFile, endNode2, factory.createToken(\n            21\n            /* CloseParenToken */\n          ));\n        }\n        changes.insertNodeAt(sourceFile, endNode2.end, typeNode, { prefix: \": \" });\n      }\n    }\n    function getInfo21(context) {\n      if (isInJSFile(context.file) || !refactorKindBeginsWith(inferReturnTypeAction.kind, context.kind))\n        return;\n      const token = getTokenAtPosition(context.file, context.startPosition);\n      const declaration = findAncestor(token, (n) => isBlock(n) || n.parent && isArrowFunction(n.parent) && (n.kind === 38 || n.parent.body === n) ? \"quit\" : isConvertibleDeclaration(n));\n      if (!declaration || !declaration.body || declaration.type) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Return_type_must_be_inferred_from_a_function) };\n      }\n      const typeChecker = context.program.getTypeChecker();\n      const returnType = tryGetReturnType(typeChecker, declaration);\n      if (!returnType) {\n        return { error: getLocaleSpecificMessage(Diagnostics.Could_not_determine_function_return_type) };\n      }\n      const returnTypeNode = typeChecker.typeToTypeNode(\n        returnType,\n        declaration,\n        1\n        /* NoTruncation */\n      );\n      if (returnTypeNode) {\n        return { declaration, returnTypeNode };\n      }\n    }\n    function isConvertibleDeclaration(node) {\n      switch (node.kind) {\n        case 259:\n        case 215:\n        case 216:\n        case 171:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function tryGetReturnType(typeChecker, node) {\n      if (typeChecker.isImplementationOfOverload(node)) {\n        const signatures = typeChecker.getTypeAtLocation(node).getCallSignatures();\n        if (signatures.length > 1) {\n          return typeChecker.getUnionType(mapDefined(signatures, (s) => s.getReturnType()));\n        }\n      }\n      const signature = typeChecker.getSignatureFromDeclaration(node);\n      if (signature) {\n        return typeChecker.getReturnTypeOfSignature(signature);\n      }\n    }\n    var refactorName12, refactorDescription6, inferReturnTypeAction;\n    var init_inferFunctionReturnType = __esm({\n      \"src/services/refactors/inferFunctionReturnType.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_refactor();\n        refactorName12 = \"Infer function return type\";\n        refactorDescription6 = Diagnostics.Infer_function_return_type.message;\n        inferReturnTypeAction = {\n          name: refactorName12,\n          description: refactorDescription6,\n          kind: \"refactor.rewrite.function.returnType\"\n        };\n        registerRefactor(refactorName12, {\n          kinds: [inferReturnTypeAction.kind],\n          getEditsForAction: getRefactorEditsToInferReturnType,\n          getAvailableActions: getRefactorActionsToInferReturnType\n        });\n      }\n    });\n    var ts_refactor_inferFunctionReturnType_exports = {};\n    var init_ts_refactor_inferFunctionReturnType = __esm({\n      \"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts\"() {\n        \"use strict\";\n        init_inferFunctionReturnType();\n      }\n    });\n    var ts_refactor_exports = {};\n    __export2(ts_refactor_exports, {\n      addOrRemoveBracesToArrowFunction: () => ts_refactor_addOrRemoveBracesToArrowFunction_exports,\n      convertArrowFunctionOrFunctionExpression: () => ts_refactor_convertArrowFunctionOrFunctionExpression_exports,\n      convertParamsToDestructuredObject: () => ts_refactor_convertParamsToDestructuredObject_exports,\n      convertStringOrTemplateLiteral: () => ts_refactor_convertStringOrTemplateLiteral_exports,\n      convertToOptionalChainExpression: () => ts_refactor_convertToOptionalChainExpression_exports,\n      doChangeNamedToNamespaceOrDefault: () => doChangeNamedToNamespaceOrDefault,\n      extractSymbol: () => ts_refactor_extractSymbol_exports,\n      generateGetAccessorAndSetAccessor: () => ts_refactor_generateGetAccessorAndSetAccessor_exports,\n      getApplicableRefactors: () => getApplicableRefactors,\n      getEditsForRefactor: () => getEditsForRefactor,\n      inferFunctionReturnType: () => ts_refactor_inferFunctionReturnType_exports,\n      isRefactorErrorInfo: () => isRefactorErrorInfo,\n      refactorKindBeginsWith: () => refactorKindBeginsWith,\n      registerRefactor: () => registerRefactor\n    });\n    var init_ts_refactor = __esm({\n      \"src/services/_namespaces/ts.refactor.ts\"() {\n        \"use strict\";\n        init_refactorProvider();\n        init_convertExport();\n        init_convertImport();\n        init_extractType();\n        init_helpers2();\n        init_moveToNewFile();\n        init_ts_refactor_addOrRemoveBracesToArrowFunction();\n        init_ts_refactor_convertArrowFunctionOrFunctionExpression();\n        init_ts_refactor_convertParamsToDestructuredObject();\n        init_ts_refactor_convertStringOrTemplateLiteral();\n        init_ts_refactor_convertToOptionalChainExpression();\n        init_ts_refactor_extractSymbol();\n        init_ts_refactor_generateGetAccessorAndSetAccessor();\n        init_ts_refactor_inferFunctionReturnType();\n      }\n    });\n    function getRenameInfo(program, sourceFile, position, preferences) {\n      const node = getAdjustedRenameLocation(getTouchingPropertyName(sourceFile, position));\n      if (nodeIsEligibleForRename(node)) {\n        const renameInfo = getRenameInfoForNode(node, program.getTypeChecker(), sourceFile, program, preferences);\n        if (renameInfo) {\n          return renameInfo;\n        }\n      }\n      return getRenameInfoError(Diagnostics.You_cannot_rename_this_element);\n    }\n    function getRenameInfoForNode(node, typeChecker, sourceFile, program, preferences) {\n      const symbol = typeChecker.getSymbolAtLocation(node);\n      if (!symbol) {\n        if (isStringLiteralLike(node)) {\n          const type = getContextualTypeFromParentOrAncestorTypeNode(node, typeChecker);\n          if (type && (type.flags & 128 || type.flags & 1048576 && every(type.types, (type2) => !!(type2.flags & 128)))) {\n            return getRenameInfoSuccess(node.text, node.text, \"string\", \"\", node, sourceFile);\n          }\n        } else if (isLabelName(node)) {\n          const name = getTextOfNode(node);\n          return getRenameInfoSuccess(name, name, \"label\", \"\", node, sourceFile);\n        }\n        return void 0;\n      }\n      const { declarations } = symbol;\n      if (!declarations || declarations.length === 0)\n        return;\n      if (declarations.some((declaration) => isDefinedInLibraryFile(program, declaration))) {\n        return getRenameInfoError(Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);\n      }\n      if (isIdentifier(node) && node.escapedText === \"default\" && symbol.parent && symbol.parent.flags & 1536) {\n        return void 0;\n      }\n      if (isStringLiteralLike(node) && tryGetImportFromModuleSpecifier(node)) {\n        return preferences.allowRenameOfImportPath ? getRenameInfoForModule(node, sourceFile, symbol) : void 0;\n      }\n      const wouldRenameNodeModules = wouldRenameInOtherNodeModules(sourceFile, symbol, typeChecker, preferences);\n      if (wouldRenameNodeModules) {\n        return getRenameInfoError(wouldRenameNodeModules);\n      }\n      const kind = ts_SymbolDisplay_exports.getSymbolKind(typeChecker, symbol, node);\n      const specifierName = isImportOrExportSpecifierName(node) || isStringOrNumericLiteralLike(node) && node.parent.kind === 164 ? stripQuotes(getTextOfIdentifierOrLiteral(node)) : void 0;\n      const displayName = specifierName || typeChecker.symbolToString(symbol);\n      const fullDisplayName = specifierName || typeChecker.getFullyQualifiedName(symbol);\n      return getRenameInfoSuccess(displayName, fullDisplayName, kind, ts_SymbolDisplay_exports.getSymbolModifiers(typeChecker, symbol), node, sourceFile);\n    }\n    function isDefinedInLibraryFile(program, declaration) {\n      const sourceFile = declaration.getSourceFile();\n      return program.isSourceFileDefaultLibrary(sourceFile) && fileExtensionIs(\n        sourceFile.fileName,\n        \".d.ts\"\n        /* Dts */\n      );\n    }\n    function wouldRenameInOtherNodeModules(originalFile, symbol, checker, preferences) {\n      if (!preferences.providePrefixAndSuffixTextForRename && symbol.flags & 2097152) {\n        const importSpecifier = symbol.declarations && find(symbol.declarations, (decl) => isImportSpecifier(decl));\n        if (importSpecifier && !importSpecifier.propertyName) {\n          symbol = checker.getAliasedSymbol(symbol);\n        }\n      }\n      const { declarations } = symbol;\n      if (!declarations) {\n        return void 0;\n      }\n      const originalPackage = getPackagePathComponents(originalFile.path);\n      if (originalPackage === void 0) {\n        if (some(declarations, (declaration) => isInsideNodeModules(declaration.getSourceFile().path))) {\n          return Diagnostics.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder;\n        } else {\n          return void 0;\n        }\n      }\n      for (const declaration of declarations) {\n        const declPackage = getPackagePathComponents(declaration.getSourceFile().path);\n        if (declPackage) {\n          const length2 = Math.min(originalPackage.length, declPackage.length);\n          for (let i = 0; i <= length2; i++) {\n            if (compareStringsCaseSensitive(originalPackage[i], declPackage[i]) !== 0) {\n              return Diagnostics.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder;\n            }\n          }\n        }\n      }\n      return void 0;\n    }\n    function getPackagePathComponents(filePath) {\n      const components = getPathComponents(filePath);\n      const nodeModulesIdx = components.lastIndexOf(\"node_modules\");\n      if (nodeModulesIdx === -1) {\n        return void 0;\n      }\n      return components.slice(0, nodeModulesIdx + 2);\n    }\n    function getRenameInfoForModule(node, sourceFile, moduleSymbol) {\n      if (!isExternalModuleNameRelative(node.text)) {\n        return getRenameInfoError(Diagnostics.You_cannot_rename_a_module_via_a_global_import);\n      }\n      const moduleSourceFile = moduleSymbol.declarations && find(moduleSymbol.declarations, isSourceFile);\n      if (!moduleSourceFile)\n        return void 0;\n      const withoutIndex = endsWith(node.text, \"/index\") || endsWith(node.text, \"/index.js\") ? void 0 : tryRemoveSuffix(removeFileExtension(moduleSourceFile.fileName), \"/index\");\n      const name = withoutIndex === void 0 ? moduleSourceFile.fileName : withoutIndex;\n      const kind = withoutIndex === void 0 ? \"module\" : \"directory\";\n      const indexAfterLastSlash = node.text.lastIndexOf(\"/\") + 1;\n      const triggerSpan = createTextSpan(node.getStart(sourceFile) + 1 + indexAfterLastSlash, node.text.length - indexAfterLastSlash);\n      return {\n        canRename: true,\n        fileToRename: name,\n        kind,\n        displayName: name,\n        fullDisplayName: name,\n        kindModifiers: \"\",\n        triggerSpan\n      };\n    }\n    function getRenameInfoSuccess(displayName, fullDisplayName, kind, kindModifiers, node, sourceFile) {\n      return {\n        canRename: true,\n        fileToRename: void 0,\n        kind,\n        displayName,\n        fullDisplayName,\n        kindModifiers,\n        triggerSpan: createTriggerSpanForNode(node, sourceFile)\n      };\n    }\n    function getRenameInfoError(diagnostic) {\n      return { canRename: false, localizedErrorMessage: getLocaleSpecificMessage(diagnostic) };\n    }\n    function createTriggerSpanForNode(node, sourceFile) {\n      let start = node.getStart(sourceFile);\n      let width = node.getWidth(sourceFile);\n      if (isStringLiteralLike(node)) {\n        start += 1;\n        width -= 2;\n      }\n      return createTextSpan(start, width);\n    }\n    function nodeIsEligibleForRename(node) {\n      switch (node.kind) {\n        case 79:\n        case 80:\n        case 10:\n        case 14:\n        case 108:\n          return true;\n        case 8:\n          return isLiteralNameOfPropertyDeclarationOrIndexAccess(node);\n        default:\n          return false;\n      }\n    }\n    var init_rename = __esm({\n      \"src/services/rename.ts\"() {\n        \"use strict\";\n        init_ts4();\n      }\n    });\n    var ts_Rename_exports = {};\n    __export2(ts_Rename_exports, {\n      getRenameInfo: () => getRenameInfo,\n      nodeIsEligibleForRename: () => nodeIsEligibleForRename\n    });\n    var init_ts_Rename = __esm({\n      \"src/services/_namespaces/ts.Rename.ts\"() {\n        \"use strict\";\n        init_rename();\n      }\n    });\n    function getSignatureHelpItems(program, sourceFile, position, triggerReason, cancellationToken) {\n      const typeChecker = program.getTypeChecker();\n      const startingToken = findTokenOnLeftOfPosition(sourceFile, position);\n      if (!startingToken) {\n        return void 0;\n      }\n      const onlyUseSyntacticOwners = !!triggerReason && triggerReason.kind === \"characterTyped\";\n      if (onlyUseSyntacticOwners && (isInString(sourceFile, position, startingToken) || isInComment(sourceFile, position))) {\n        return void 0;\n      }\n      const isManuallyInvoked = !!triggerReason && triggerReason.kind === \"invoked\";\n      const argumentInfo = getContainingArgumentInfo(startingToken, position, sourceFile, typeChecker, isManuallyInvoked);\n      if (!argumentInfo)\n        return void 0;\n      cancellationToken.throwIfCancellationRequested();\n      const candidateInfo = getCandidateOrTypeInfo(argumentInfo, typeChecker, sourceFile, startingToken, onlyUseSyntacticOwners);\n      cancellationToken.throwIfCancellationRequested();\n      if (!candidateInfo) {\n        return isSourceFileJS(sourceFile) ? createJSSignatureHelpItems(argumentInfo, program, cancellationToken) : void 0;\n      }\n      return typeChecker.runWithCancellationToken(cancellationToken, (typeChecker2) => candidateInfo.kind === 0 ? createSignatureHelpItems(candidateInfo.candidates, candidateInfo.resolvedSignature, argumentInfo, sourceFile, typeChecker2) : createTypeHelpItems(candidateInfo.symbol, argumentInfo, sourceFile, typeChecker2));\n    }\n    function getCandidateOrTypeInfo({ invocation, argumentCount }, checker, sourceFile, startingToken, onlyUseSyntacticOwners) {\n      switch (invocation.kind) {\n        case 0: {\n          if (onlyUseSyntacticOwners && !isSyntacticOwner(startingToken, invocation.node, sourceFile)) {\n            return void 0;\n          }\n          const candidates = [];\n          const resolvedSignature = checker.getResolvedSignatureForSignatureHelp(invocation.node, candidates, argumentCount);\n          return candidates.length === 0 ? void 0 : { kind: 0, candidates, resolvedSignature };\n        }\n        case 1: {\n          const { called } = invocation;\n          if (onlyUseSyntacticOwners && !containsPrecedingToken(startingToken, sourceFile, isIdentifier(called) ? called.parent : called)) {\n            return void 0;\n          }\n          const candidates = getPossibleGenericSignatures(called, argumentCount, checker);\n          if (candidates.length !== 0)\n            return { kind: 0, candidates, resolvedSignature: first(candidates) };\n          const symbol = checker.getSymbolAtLocation(called);\n          return symbol && { kind: 1, symbol };\n        }\n        case 2:\n          return { kind: 0, candidates: [invocation.signature], resolvedSignature: invocation.signature };\n        default:\n          return Debug2.assertNever(invocation);\n      }\n    }\n    function isSyntacticOwner(startingToken, node, sourceFile) {\n      if (!isCallOrNewExpression(node))\n        return false;\n      const invocationChildren = node.getChildren(sourceFile);\n      switch (startingToken.kind) {\n        case 20:\n          return contains(invocationChildren, startingToken);\n        case 27: {\n          const containingList = findContainingList(startingToken);\n          return !!containingList && contains(invocationChildren, containingList);\n        }\n        case 29:\n          return containsPrecedingToken(startingToken, sourceFile, node.expression);\n        default:\n          return false;\n      }\n    }\n    function createJSSignatureHelpItems(argumentInfo, program, cancellationToken) {\n      if (argumentInfo.invocation.kind === 2)\n        return void 0;\n      const expression = getExpressionFromInvocation(argumentInfo.invocation);\n      const name = isPropertyAccessExpression(expression) ? expression.name.text : void 0;\n      const typeChecker = program.getTypeChecker();\n      return name === void 0 ? void 0 : firstDefined(program.getSourceFiles(), (sourceFile) => firstDefined(sourceFile.getNamedDeclarations().get(name), (declaration) => {\n        const type = declaration.symbol && typeChecker.getTypeOfSymbolAtLocation(declaration.symbol, declaration);\n        const callSignatures = type && type.getCallSignatures();\n        if (callSignatures && callSignatures.length) {\n          return typeChecker.runWithCancellationToken(\n            cancellationToken,\n            (typeChecker2) => createSignatureHelpItems(\n              callSignatures,\n              callSignatures[0],\n              argumentInfo,\n              sourceFile,\n              typeChecker2,\n              /*useFullPrefix*/\n              true\n            )\n          );\n        }\n      }));\n    }\n    function containsPrecedingToken(startingToken, sourceFile, container) {\n      const pos = startingToken.getFullStart();\n      let currentParent = startingToken.parent;\n      while (currentParent) {\n        const precedingToken = findPrecedingToken(\n          pos,\n          sourceFile,\n          currentParent,\n          /*excludeJsdoc*/\n          true\n        );\n        if (precedingToken) {\n          return rangeContainsRange(container, precedingToken);\n        }\n        currentParent = currentParent.parent;\n      }\n      return Debug2.fail(\"Could not find preceding token\");\n    }\n    function getArgumentInfoForCompletions(node, position, sourceFile) {\n      const info = getImmediatelyContainingArgumentInfo(node, position, sourceFile);\n      return !info || info.isTypeParameterList || info.invocation.kind !== 0 ? void 0 : { invocation: info.invocation.node, argumentCount: info.argumentCount, argumentIndex: info.argumentIndex };\n    }\n    function getArgumentOrParameterListInfo(node, position, sourceFile) {\n      const info = getArgumentOrParameterListAndIndex(node, sourceFile);\n      if (!info)\n        return void 0;\n      const { list, argumentIndex } = info;\n      const argumentCount = getArgumentCount(\n        list,\n        /*ignoreTrailingComma*/\n        isInString(sourceFile, position, node)\n      );\n      if (argumentIndex !== 0) {\n        Debug2.assertLessThan(argumentIndex, argumentCount);\n      }\n      const argumentsSpan = getApplicableSpanForArguments(list, sourceFile);\n      return { list, argumentIndex, argumentCount, argumentsSpan };\n    }\n    function getArgumentOrParameterListAndIndex(node, sourceFile) {\n      if (node.kind === 29 || node.kind === 20) {\n        return { list: getChildListThatStartsWithOpenerToken(node.parent, node, sourceFile), argumentIndex: 0 };\n      } else {\n        const list = findContainingList(node);\n        return list && { list, argumentIndex: getArgumentIndex(list, node) };\n      }\n    }\n    function getImmediatelyContainingArgumentInfo(node, position, sourceFile) {\n      const { parent: parent2 } = node;\n      if (isCallOrNewExpression(parent2)) {\n        const invocation = parent2;\n        const info = getArgumentOrParameterListInfo(node, position, sourceFile);\n        if (!info)\n          return void 0;\n        const { list, argumentIndex, argumentCount, argumentsSpan } = info;\n        const isTypeParameterList = !!parent2.typeArguments && parent2.typeArguments.pos === list.pos;\n        return { isTypeParameterList, invocation: { kind: 0, node: invocation }, argumentsSpan, argumentIndex, argumentCount };\n      } else if (isNoSubstitutionTemplateLiteral(node) && isTaggedTemplateExpression(parent2)) {\n        if (isInsideTemplateLiteral(node, position, sourceFile)) {\n          return getArgumentListInfoForTemplate(\n            parent2,\n            /*argumentIndex*/\n            0,\n            sourceFile\n          );\n        }\n        return void 0;\n      } else if (isTemplateHead(node) && parent2.parent.kind === 212) {\n        const templateExpression = parent2;\n        const tagExpression = templateExpression.parent;\n        Debug2.assert(\n          templateExpression.kind === 225\n          /* TemplateExpression */\n        );\n        const argumentIndex = isInsideTemplateLiteral(node, position, sourceFile) ? 0 : 1;\n        return getArgumentListInfoForTemplate(tagExpression, argumentIndex, sourceFile);\n      } else if (isTemplateSpan(parent2) && isTaggedTemplateExpression(parent2.parent.parent)) {\n        const templateSpan = parent2;\n        const tagExpression = parent2.parent.parent;\n        if (isTemplateTail(node) && !isInsideTemplateLiteral(node, position, sourceFile)) {\n          return void 0;\n        }\n        const spanIndex = templateSpan.parent.templateSpans.indexOf(templateSpan);\n        const argumentIndex = getArgumentIndexForTemplatePiece(spanIndex, node, position, sourceFile);\n        return getArgumentListInfoForTemplate(tagExpression, argumentIndex, sourceFile);\n      } else if (isJsxOpeningLikeElement(parent2)) {\n        const attributeSpanStart = parent2.attributes.pos;\n        const attributeSpanEnd = skipTrivia(\n          sourceFile.text,\n          parent2.attributes.end,\n          /*stopAfterLineBreak*/\n          false\n        );\n        return {\n          isTypeParameterList: false,\n          invocation: { kind: 0, node: parent2 },\n          argumentsSpan: createTextSpan(attributeSpanStart, attributeSpanEnd - attributeSpanStart),\n          argumentIndex: 0,\n          argumentCount: 1\n        };\n      } else {\n        const typeArgInfo = getPossibleTypeArgumentsInfo(node, sourceFile);\n        if (typeArgInfo) {\n          const { called, nTypeArguments } = typeArgInfo;\n          const invocation = { kind: 1, called };\n          const argumentsSpan = createTextSpanFromBounds(called.getStart(sourceFile), node.end);\n          return { isTypeParameterList: true, invocation, argumentsSpan, argumentIndex: nTypeArguments, argumentCount: nTypeArguments + 1 };\n        }\n        return void 0;\n      }\n    }\n    function getImmediatelyContainingArgumentOrContextualParameterInfo(node, position, sourceFile, checker) {\n      return tryGetParameterInfo(node, position, sourceFile, checker) || getImmediatelyContainingArgumentInfo(node, position, sourceFile);\n    }\n    function getHighestBinary(b) {\n      return isBinaryExpression(b.parent) ? getHighestBinary(b.parent) : b;\n    }\n    function countBinaryExpressionParameters(b) {\n      return isBinaryExpression(b.left) ? countBinaryExpressionParameters(b.left) + 1 : 2;\n    }\n    function tryGetParameterInfo(startingToken, position, sourceFile, checker) {\n      const info = getContextualSignatureLocationInfo(startingToken, sourceFile, position, checker);\n      if (!info)\n        return void 0;\n      const { contextualType, argumentIndex, argumentCount, argumentsSpan } = info;\n      const nonNullableContextualType = contextualType.getNonNullableType();\n      const symbol = nonNullableContextualType.symbol;\n      if (symbol === void 0)\n        return void 0;\n      const signature = lastOrUndefined(nonNullableContextualType.getCallSignatures());\n      if (signature === void 0)\n        return void 0;\n      const invocation = { kind: 2, signature, node: startingToken, symbol: chooseBetterSymbol(symbol) };\n      return { isTypeParameterList: false, invocation, argumentsSpan, argumentIndex, argumentCount };\n    }\n    function getContextualSignatureLocationInfo(startingToken, sourceFile, position, checker) {\n      if (startingToken.kind !== 20 && startingToken.kind !== 27)\n        return void 0;\n      const { parent: parent2 } = startingToken;\n      switch (parent2.kind) {\n        case 214:\n        case 171:\n        case 215:\n        case 216:\n          const info = getArgumentOrParameterListInfo(startingToken, position, sourceFile);\n          if (!info)\n            return void 0;\n          const { argumentIndex, argumentCount, argumentsSpan } = info;\n          const contextualType = isMethodDeclaration(parent2) ? checker.getContextualTypeForObjectLiteralElement(parent2) : checker.getContextualType(parent2);\n          return contextualType && { contextualType, argumentIndex, argumentCount, argumentsSpan };\n        case 223: {\n          const highestBinary = getHighestBinary(parent2);\n          const contextualType2 = checker.getContextualType(highestBinary);\n          const argumentIndex2 = startingToken.kind === 20 ? 0 : countBinaryExpressionParameters(parent2) - 1;\n          const argumentCount2 = countBinaryExpressionParameters(highestBinary);\n          return contextualType2 && { contextualType: contextualType2, argumentIndex: argumentIndex2, argumentCount: argumentCount2, argumentsSpan: createTextSpanFromNode(parent2) };\n        }\n        default:\n          return void 0;\n      }\n    }\n    function chooseBetterSymbol(s) {\n      return s.name === \"__type\" ? firstDefined(s.declarations, (d) => {\n        var _a22;\n        return isFunctionTypeNode(d) ? (_a22 = tryCast(d.parent, canHaveSymbol)) == null ? void 0 : _a22.symbol : void 0;\n      }) || s : s;\n    }\n    function getArgumentIndex(argumentsList, node) {\n      let argumentIndex = 0;\n      for (const child of argumentsList.getChildren()) {\n        if (child === node) {\n          break;\n        }\n        if (child.kind !== 27) {\n          argumentIndex++;\n        }\n      }\n      return argumentIndex;\n    }\n    function getArgumentCount(argumentsList, ignoreTrailingComma) {\n      const listChildren = argumentsList.getChildren();\n      let argumentCount = countWhere2(\n        listChildren,\n        (arg) => arg.kind !== 27\n        /* CommaToken */\n      );\n      if (!ignoreTrailingComma && listChildren.length > 0 && last(listChildren).kind === 27) {\n        argumentCount++;\n      }\n      return argumentCount;\n    }\n    function getArgumentIndexForTemplatePiece(spanIndex, node, position, sourceFile) {\n      Debug2.assert(position >= node.getStart(), \"Assumed 'position' could not occur before node.\");\n      if (isTemplateLiteralToken(node)) {\n        if (isInsideTemplateLiteral(node, position, sourceFile)) {\n          return 0;\n        }\n        return spanIndex + 2;\n      }\n      return spanIndex + 1;\n    }\n    function getArgumentListInfoForTemplate(tagExpression, argumentIndex, sourceFile) {\n      const argumentCount = isNoSubstitutionTemplateLiteral(tagExpression.template) ? 1 : tagExpression.template.templateSpans.length + 1;\n      if (argumentIndex !== 0) {\n        Debug2.assertLessThan(argumentIndex, argumentCount);\n      }\n      return {\n        isTypeParameterList: false,\n        invocation: { kind: 0, node: tagExpression },\n        argumentsSpan: getApplicableSpanForTaggedTemplate(tagExpression, sourceFile),\n        argumentIndex,\n        argumentCount\n      };\n    }\n    function getApplicableSpanForArguments(argumentsList, sourceFile) {\n      const applicableSpanStart = argumentsList.getFullStart();\n      const applicableSpanEnd = skipTrivia(\n        sourceFile.text,\n        argumentsList.getEnd(),\n        /*stopAfterLineBreak*/\n        false\n      );\n      return createTextSpan(applicableSpanStart, applicableSpanEnd - applicableSpanStart);\n    }\n    function getApplicableSpanForTaggedTemplate(taggedTemplate, sourceFile) {\n      const template = taggedTemplate.template;\n      const applicableSpanStart = template.getStart();\n      let applicableSpanEnd = template.getEnd();\n      if (template.kind === 225) {\n        const lastSpan = last(template.templateSpans);\n        if (lastSpan.literal.getFullWidth() === 0) {\n          applicableSpanEnd = skipTrivia(\n            sourceFile.text,\n            applicableSpanEnd,\n            /*stopAfterLineBreak*/\n            false\n          );\n        }\n      }\n      return createTextSpan(applicableSpanStart, applicableSpanEnd - applicableSpanStart);\n    }\n    function getContainingArgumentInfo(node, position, sourceFile, checker, isManuallyInvoked) {\n      for (let n = node; !isSourceFile(n) && (isManuallyInvoked || !isBlock(n)); n = n.parent) {\n        Debug2.assert(rangeContainsRange(n.parent, n), \"Not a subspan\", () => `Child: ${Debug2.formatSyntaxKind(n.kind)}, parent: ${Debug2.formatSyntaxKind(n.parent.kind)}`);\n        const argumentInfo = getImmediatelyContainingArgumentOrContextualParameterInfo(n, position, sourceFile, checker);\n        if (argumentInfo) {\n          return argumentInfo;\n        }\n      }\n      return void 0;\n    }\n    function getChildListThatStartsWithOpenerToken(parent2, openerToken, sourceFile) {\n      const children = parent2.getChildren(sourceFile);\n      const indexOfOpenerToken = children.indexOf(openerToken);\n      Debug2.assert(indexOfOpenerToken >= 0 && children.length > indexOfOpenerToken + 1);\n      return children[indexOfOpenerToken + 1];\n    }\n    function getExpressionFromInvocation(invocation) {\n      return invocation.kind === 0 ? getInvokedExpression(invocation.node) : invocation.called;\n    }\n    function getEnclosingDeclarationFromInvocation(invocation) {\n      return invocation.kind === 0 ? invocation.node : invocation.kind === 1 ? invocation.called : invocation.node;\n    }\n    function createSignatureHelpItems(candidates, resolvedSignature, { isTypeParameterList, argumentCount, argumentsSpan: applicableSpan, invocation, argumentIndex }, sourceFile, typeChecker, useFullPrefix) {\n      var _a22;\n      const enclosingDeclaration = getEnclosingDeclarationFromInvocation(invocation);\n      const callTargetSymbol = invocation.kind === 2 ? invocation.symbol : typeChecker.getSymbolAtLocation(getExpressionFromInvocation(invocation)) || useFullPrefix && ((_a22 = resolvedSignature.declaration) == null ? void 0 : _a22.symbol);\n      const callTargetDisplayParts = callTargetSymbol ? symbolToDisplayParts(\n        typeChecker,\n        callTargetSymbol,\n        useFullPrefix ? sourceFile : void 0,\n        /*meaning*/\n        void 0\n      ) : emptyArray;\n      const items = map(candidates, (candidateSignature) => getSignatureHelpItem(candidateSignature, callTargetDisplayParts, isTypeParameterList, typeChecker, enclosingDeclaration, sourceFile));\n      if (argumentIndex !== 0) {\n        Debug2.assertLessThan(argumentIndex, argumentCount);\n      }\n      let selectedItemIndex = 0;\n      let itemsSeen = 0;\n      for (let i = 0; i < items.length; i++) {\n        const item = items[i];\n        if (candidates[i] === resolvedSignature) {\n          selectedItemIndex = itemsSeen;\n          if (item.length > 1) {\n            let count = 0;\n            for (const i2 of item) {\n              if (i2.isVariadic || i2.parameters.length >= argumentCount) {\n                selectedItemIndex = itemsSeen + count;\n                break;\n              }\n              count++;\n            }\n          }\n        }\n        itemsSeen += item.length;\n      }\n      Debug2.assert(selectedItemIndex !== -1);\n      const help = { items: flatMapToMutable(items, identity2), applicableSpan, selectedItemIndex, argumentIndex, argumentCount };\n      const selected = help.items[selectedItemIndex];\n      if (selected.isVariadic) {\n        const firstRest = findIndex(selected.parameters, (p) => !!p.isRest);\n        if (-1 < firstRest && firstRest < selected.parameters.length - 1) {\n          help.argumentIndex = selected.parameters.length;\n        } else {\n          help.argumentIndex = Math.min(help.argumentIndex, selected.parameters.length - 1);\n        }\n      }\n      return help;\n    }\n    function createTypeHelpItems(symbol, { argumentCount, argumentsSpan: applicableSpan, invocation, argumentIndex }, sourceFile, checker) {\n      const typeParameters = checker.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n      if (!typeParameters)\n        return void 0;\n      const items = [getTypeHelpItem(symbol, typeParameters, checker, getEnclosingDeclarationFromInvocation(invocation), sourceFile)];\n      return { items, applicableSpan, selectedItemIndex: 0, argumentIndex, argumentCount };\n    }\n    function getTypeHelpItem(symbol, typeParameters, checker, enclosingDeclaration, sourceFile) {\n      const typeSymbolDisplay = symbolToDisplayParts(checker, symbol);\n      const printer = createPrinterWithRemoveComments();\n      const parameters = typeParameters.map((t) => createSignatureHelpParameterForTypeParameter(t, checker, enclosingDeclaration, sourceFile, printer));\n      const documentation = symbol.getDocumentationComment(checker);\n      const tags = symbol.getJsDocTags(checker);\n      const prefixDisplayParts = [...typeSymbolDisplay, punctuationPart(\n        29\n        /* LessThanToken */\n      )];\n      return { isVariadic: false, prefixDisplayParts, suffixDisplayParts: [punctuationPart(\n        31\n        /* GreaterThanToken */\n      )], separatorDisplayParts, parameters, documentation, tags };\n    }\n    function getSignatureHelpItem(candidateSignature, callTargetDisplayParts, isTypeParameterList, checker, enclosingDeclaration, sourceFile) {\n      const infos = (isTypeParameterList ? itemInfoForTypeParameters : itemInfoForParameters)(candidateSignature, checker, enclosingDeclaration, sourceFile);\n      return map(infos, ({ isVariadic, parameters, prefix, suffix }) => {\n        const prefixDisplayParts = [...callTargetDisplayParts, ...prefix];\n        const suffixDisplayParts = [...suffix, ...returnTypeToDisplayParts(candidateSignature, enclosingDeclaration, checker)];\n        const documentation = candidateSignature.getDocumentationComment(checker);\n        const tags = candidateSignature.getJsDocTags();\n        return { isVariadic, prefixDisplayParts, suffixDisplayParts, separatorDisplayParts, parameters, documentation, tags };\n      });\n    }\n    function returnTypeToDisplayParts(candidateSignature, enclosingDeclaration, checker) {\n      return mapToDisplayParts((writer) => {\n        writer.writePunctuation(\":\");\n        writer.writeSpace(\" \");\n        const predicate = checker.getTypePredicateOfSignature(candidateSignature);\n        if (predicate) {\n          checker.writeTypePredicate(\n            predicate,\n            enclosingDeclaration,\n            /*flags*/\n            void 0,\n            writer\n          );\n        } else {\n          checker.writeType(\n            checker.getReturnTypeOfSignature(candidateSignature),\n            enclosingDeclaration,\n            /*flags*/\n            void 0,\n            writer\n          );\n        }\n      });\n    }\n    function itemInfoForTypeParameters(candidateSignature, checker, enclosingDeclaration, sourceFile) {\n      const typeParameters = (candidateSignature.target || candidateSignature).typeParameters;\n      const printer = createPrinterWithRemoveComments();\n      const parameters = (typeParameters || emptyArray).map((t) => createSignatureHelpParameterForTypeParameter(t, checker, enclosingDeclaration, sourceFile, printer));\n      const thisParameter = candidateSignature.thisParameter ? [checker.symbolToParameterDeclaration(candidateSignature.thisParameter, enclosingDeclaration, signatureHelpNodeBuilderFlags)] : [];\n      return checker.getExpandedParameters(candidateSignature).map((paramList) => {\n        const params = factory.createNodeArray([...thisParameter, ...map(paramList, (param) => checker.symbolToParameterDeclaration(param, enclosingDeclaration, signatureHelpNodeBuilderFlags))]);\n        const parameterParts = mapToDisplayParts((writer) => {\n          printer.writeList(2576, params, sourceFile, writer);\n        });\n        return { isVariadic: false, parameters, prefix: [punctuationPart(\n          29\n          /* LessThanToken */\n        )], suffix: [punctuationPart(\n          31\n          /* GreaterThanToken */\n        ), ...parameterParts] };\n      });\n    }\n    function itemInfoForParameters(candidateSignature, checker, enclosingDeclaration, sourceFile) {\n      const printer = createPrinterWithRemoveComments();\n      const typeParameterParts = mapToDisplayParts((writer) => {\n        if (candidateSignature.typeParameters && candidateSignature.typeParameters.length) {\n          const args = factory.createNodeArray(candidateSignature.typeParameters.map((p) => checker.typeParameterToDeclaration(p, enclosingDeclaration, signatureHelpNodeBuilderFlags)));\n          printer.writeList(53776, args, sourceFile, writer);\n        }\n      });\n      const lists = checker.getExpandedParameters(candidateSignature);\n      const isVariadic = !checker.hasEffectiveRestParameter(candidateSignature) ? (_) => false : lists.length === 1 ? (_) => true : (pList) => {\n        var _a22;\n        return !!(pList.length && ((_a22 = tryCast(pList[pList.length - 1], isTransientSymbol)) == null ? void 0 : _a22.links.checkFlags) & 32768);\n      };\n      return lists.map((parameterList) => ({\n        isVariadic: isVariadic(parameterList),\n        parameters: parameterList.map((p) => createSignatureHelpParameterForParameter(p, checker, enclosingDeclaration, sourceFile, printer)),\n        prefix: [...typeParameterParts, punctuationPart(\n          20\n          /* OpenParenToken */\n        )],\n        suffix: [punctuationPart(\n          21\n          /* CloseParenToken */\n        )]\n      }));\n    }\n    function createSignatureHelpParameterForParameter(parameter, checker, enclosingDeclaration, sourceFile, printer) {\n      const displayParts = mapToDisplayParts((writer) => {\n        const param = checker.symbolToParameterDeclaration(parameter, enclosingDeclaration, signatureHelpNodeBuilderFlags);\n        printer.writeNode(4, param, sourceFile, writer);\n      });\n      const isOptional = checker.isOptionalParameter(parameter.valueDeclaration);\n      const isRest = isTransientSymbol(parameter) && !!(parameter.links.checkFlags & 32768);\n      return { name: parameter.name, documentation: parameter.getDocumentationComment(checker), displayParts, isOptional, isRest };\n    }\n    function createSignatureHelpParameterForTypeParameter(typeParameter, checker, enclosingDeclaration, sourceFile, printer) {\n      const displayParts = mapToDisplayParts((writer) => {\n        const param = checker.typeParameterToDeclaration(typeParameter, enclosingDeclaration, signatureHelpNodeBuilderFlags);\n        printer.writeNode(4, param, sourceFile, writer);\n      });\n      return { name: typeParameter.symbol.name, documentation: typeParameter.symbol.getDocumentationComment(checker), displayParts, isOptional: false, isRest: false };\n    }\n    var signatureHelpNodeBuilderFlags, separatorDisplayParts;\n    var init_signatureHelp = __esm({\n      \"src/services/signatureHelp.ts\"() {\n        \"use strict\";\n        init_ts4();\n        signatureHelpNodeBuilderFlags = 8192 | 70221824 | 16384;\n        separatorDisplayParts = [punctuationPart(\n          27\n          /* CommaToken */\n        ), spacePart()];\n      }\n    });\n    var ts_SignatureHelp_exports = {};\n    __export2(ts_SignatureHelp_exports, {\n      getArgumentInfoForCompletions: () => getArgumentInfoForCompletions,\n      getSignatureHelpItems: () => getSignatureHelpItems\n    });\n    var init_ts_SignatureHelp = __esm({\n      \"src/services/_namespaces/ts.SignatureHelp.ts\"() {\n        \"use strict\";\n        init_signatureHelp();\n      }\n    });\n    function getSmartSelectionRange(pos, sourceFile) {\n      var _a22, _b3;\n      let selectionRange = {\n        textSpan: createTextSpanFromBounds(sourceFile.getFullStart(), sourceFile.getEnd())\n      };\n      let parentNode = sourceFile;\n      outer:\n        while (true) {\n          const children = getSelectionChildren(parentNode);\n          if (!children.length)\n            break;\n          for (let i = 0; i < children.length; i++) {\n            const prevNode = children[i - 1];\n            const node = children[i];\n            const nextNode = children[i + 1];\n            if (getTokenPosOfNode(\n              node,\n              sourceFile,\n              /*includeJsDoc*/\n              true\n            ) > pos) {\n              break outer;\n            }\n            const comment = singleOrUndefined(getTrailingCommentRanges(sourceFile.text, node.end));\n            if (comment && comment.kind === 2) {\n              pushSelectionCommentRange(comment.pos, comment.end);\n            }\n            if (positionShouldSnapToNode(sourceFile, pos, node)) {\n              if (isFunctionBody(node) && isFunctionLikeDeclaration(parentNode) && !positionsAreOnSameLine(node.getStart(sourceFile), node.getEnd(), sourceFile)) {\n                pushSelectionRange(node.getStart(sourceFile), node.getEnd());\n              }\n              if (isBlock(node) || isTemplateSpan(node) || isTemplateHead(node) || isTemplateTail(node) || prevNode && isTemplateHead(prevNode) || isVariableDeclarationList(node) && isVariableStatement(parentNode) || isSyntaxList(node) && isVariableDeclarationList(parentNode) || isVariableDeclaration(node) && isSyntaxList(parentNode) && children.length === 1 || isJSDocTypeExpression(node) || isJSDocSignature(node) || isJSDocTypeLiteral(node)) {\n                parentNode = node;\n                break;\n              }\n              if (isTemplateSpan(parentNode) && nextNode && isTemplateMiddleOrTemplateTail(nextNode)) {\n                const start2 = node.getFullStart() - \"${\".length;\n                const end2 = nextNode.getStart() + \"}\".length;\n                pushSelectionRange(start2, end2);\n              }\n              const isBetweenMultiLineBookends = isSyntaxList(node) && isListOpener(prevNode) && isListCloser(nextNode) && !positionsAreOnSameLine(prevNode.getStart(), nextNode.getStart(), sourceFile);\n              let start = isBetweenMultiLineBookends ? prevNode.getEnd() : node.getStart();\n              const end = isBetweenMultiLineBookends ? nextNode.getStart() : getEndPos(sourceFile, node);\n              if (hasJSDocNodes(node) && ((_a22 = node.jsDoc) == null ? void 0 : _a22.length)) {\n                pushSelectionRange(first(node.jsDoc).getStart(), end);\n              }\n              if (isSyntaxList(node)) {\n                const firstChild = node.getChildren()[0];\n                if (firstChild && hasJSDocNodes(firstChild) && ((_b3 = firstChild.jsDoc) == null ? void 0 : _b3.length) && firstChild.getStart() !== node.pos) {\n                  start = Math.min(start, first(firstChild.jsDoc).getStart());\n                }\n              }\n              pushSelectionRange(start, end);\n              if (isStringLiteral(node) || isTemplateLiteral(node)) {\n                pushSelectionRange(start + 1, end - 1);\n              }\n              parentNode = node;\n              break;\n            }\n            if (i === children.length - 1) {\n              break outer;\n            }\n          }\n        }\n      return selectionRange;\n      function pushSelectionRange(start, end) {\n        if (start !== end) {\n          const textSpan = createTextSpanFromBounds(start, end);\n          if (!selectionRange || // Skip ranges that are identical to the parent\n          !textSpansEqual(textSpan, selectionRange.textSpan) && // Skip ranges that don’t contain the original position\n          textSpanIntersectsWithPosition(textSpan, pos)) {\n            selectionRange = { textSpan, ...selectionRange && { parent: selectionRange } };\n          }\n        }\n      }\n      function pushSelectionCommentRange(start, end) {\n        pushSelectionRange(start, end);\n        let pos2 = start;\n        while (sourceFile.text.charCodeAt(pos2) === 47) {\n          pos2++;\n        }\n        pushSelectionRange(pos2, end);\n      }\n    }\n    function positionShouldSnapToNode(sourceFile, pos, node) {\n      Debug2.assert(node.pos <= pos);\n      if (pos < node.end) {\n        return true;\n      }\n      const nodeEnd = node.getEnd();\n      if (nodeEnd === pos) {\n        return getTouchingPropertyName(sourceFile, pos).pos < node.end;\n      }\n      return false;\n    }\n    function getSelectionChildren(node) {\n      var _a22;\n      if (isSourceFile(node)) {\n        return groupChildren(node.getChildAt(0).getChildren(), isImport2);\n      }\n      if (isMappedTypeNode(node)) {\n        const [openBraceToken, ...children] = node.getChildren();\n        const closeBraceToken = Debug2.checkDefined(children.pop());\n        Debug2.assertEqual(\n          openBraceToken.kind,\n          18\n          /* OpenBraceToken */\n        );\n        Debug2.assertEqual(\n          closeBraceToken.kind,\n          19\n          /* CloseBraceToken */\n        );\n        const groupedWithPlusMinusTokens = groupChildren(\n          children,\n          (child) => child === node.readonlyToken || child.kind === 146 || child === node.questionToken || child.kind === 57\n          /* QuestionToken */\n        );\n        const groupedWithBrackets = groupChildren(\n          groupedWithPlusMinusTokens,\n          ({ kind }) => kind === 22 || kind === 165 || kind === 23\n          /* CloseBracketToken */\n        );\n        return [\n          openBraceToken,\n          // Pivot on `:`\n          createSyntaxList2(splitChildren(\n            groupedWithBrackets,\n            ({ kind }) => kind === 58\n            /* ColonToken */\n          )),\n          closeBraceToken\n        ];\n      }\n      if (isPropertySignature(node)) {\n        const children = groupChildren(node.getChildren(), (child) => child === node.name || contains(node.modifiers, child));\n        const firstJSDocChild = ((_a22 = children[0]) == null ? void 0 : _a22.kind) === 323 ? children[0] : void 0;\n        const withJSDocSeparated = firstJSDocChild ? children.slice(1) : children;\n        const splittedChildren = splitChildren(\n          withJSDocSeparated,\n          ({ kind }) => kind === 58\n          /* ColonToken */\n        );\n        return firstJSDocChild ? [firstJSDocChild, createSyntaxList2(splittedChildren)] : splittedChildren;\n      }\n      if (isParameter(node)) {\n        const groupedDotDotDotAndName = groupChildren(node.getChildren(), (child) => child === node.dotDotDotToken || child === node.name);\n        const groupedWithQuestionToken = groupChildren(groupedDotDotDotAndName, (child) => child === groupedDotDotDotAndName[0] || child === node.questionToken);\n        return splitChildren(\n          groupedWithQuestionToken,\n          ({ kind }) => kind === 63\n          /* EqualsToken */\n        );\n      }\n      if (isBindingElement(node)) {\n        return splitChildren(\n          node.getChildren(),\n          ({ kind }) => kind === 63\n          /* EqualsToken */\n        );\n      }\n      return node.getChildren();\n    }\n    function groupChildren(children, groupOn) {\n      const result = [];\n      let group2;\n      for (const child of children) {\n        if (groupOn(child)) {\n          group2 = group2 || [];\n          group2.push(child);\n        } else {\n          if (group2) {\n            result.push(createSyntaxList2(group2));\n            group2 = void 0;\n          }\n          result.push(child);\n        }\n      }\n      if (group2) {\n        result.push(createSyntaxList2(group2));\n      }\n      return result;\n    }\n    function splitChildren(children, pivotOn, separateTrailingSemicolon = true) {\n      if (children.length < 2) {\n        return children;\n      }\n      const splitTokenIndex = findIndex(children, pivotOn);\n      if (splitTokenIndex === -1) {\n        return children;\n      }\n      const leftChildren = children.slice(0, splitTokenIndex);\n      const splitToken = children[splitTokenIndex];\n      const lastToken = last(children);\n      const separateLastToken = separateTrailingSemicolon && lastToken.kind === 26;\n      const rightChildren = children.slice(splitTokenIndex + 1, separateLastToken ? children.length - 1 : void 0);\n      const result = compact([\n        leftChildren.length ? createSyntaxList2(leftChildren) : void 0,\n        splitToken,\n        rightChildren.length ? createSyntaxList2(rightChildren) : void 0\n      ]);\n      return separateLastToken ? result.concat(lastToken) : result;\n    }\n    function createSyntaxList2(children) {\n      Debug2.assertGreaterThanOrEqual(children.length, 1);\n      return setTextRangePosEnd(parseNodeFactory.createSyntaxList(children), children[0].pos, last(children).end);\n    }\n    function isListOpener(token) {\n      const kind = token && token.kind;\n      return kind === 18 || kind === 22 || kind === 20 || kind === 283;\n    }\n    function isListCloser(token) {\n      const kind = token && token.kind;\n      return kind === 19 || kind === 23 || kind === 21 || kind === 284;\n    }\n    function getEndPos(sourceFile, node) {\n      switch (node.kind) {\n        case 344:\n        case 341:\n        case 351:\n        case 349:\n        case 346:\n          return sourceFile.getLineEndOfPosition(node.getStart());\n        default:\n          return node.getEnd();\n      }\n    }\n    var isImport2;\n    var init_smartSelection = __esm({\n      \"src/services/smartSelection.ts\"() {\n        \"use strict\";\n        init_ts4();\n        isImport2 = or(isImportDeclaration, isImportEqualsDeclaration);\n      }\n    });\n    var ts_SmartSelectionRange_exports = {};\n    __export2(ts_SmartSelectionRange_exports, {\n      getSmartSelectionRange: () => getSmartSelectionRange\n    });\n    var init_ts_SmartSelectionRange = __esm({\n      \"src/services/_namespaces/ts.SmartSelectionRange.ts\"() {\n        \"use strict\";\n        init_smartSelection();\n      }\n    });\n    function getSymbolKind(typeChecker, symbol, location) {\n      const result = getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker, symbol, location);\n      if (result !== \"\") {\n        return result;\n      }\n      const flags = getCombinedLocalAndExportSymbolFlags(symbol);\n      if (flags & 32) {\n        return getDeclarationOfKind(\n          symbol,\n          228\n          /* ClassExpression */\n        ) ? \"local class\" : \"class\";\n      }\n      if (flags & 384)\n        return \"enum\";\n      if (flags & 524288)\n        return \"type\";\n      if (flags & 64)\n        return \"interface\";\n      if (flags & 262144)\n        return \"type parameter\";\n      if (flags & 8)\n        return \"enum member\";\n      if (flags & 2097152)\n        return \"alias\";\n      if (flags & 1536)\n        return \"module\";\n      return result;\n    }\n    function getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker, symbol, location) {\n      const roots = typeChecker.getRootSymbols(symbol);\n      if (roots.length === 1 && first(roots).flags & 8192 && typeChecker.getTypeOfSymbolAtLocation(symbol, location).getNonNullableType().getCallSignatures().length !== 0) {\n        return \"method\";\n      }\n      if (typeChecker.isUndefinedSymbol(symbol)) {\n        return \"var\";\n      }\n      if (typeChecker.isArgumentsSymbol(symbol)) {\n        return \"local var\";\n      }\n      if (location.kind === 108 && isExpression(location) || isThisInTypeQuery(location)) {\n        return \"parameter\";\n      }\n      const flags = getCombinedLocalAndExportSymbolFlags(symbol);\n      if (flags & 3) {\n        if (isFirstDeclarationOfSymbolParameter(symbol)) {\n          return \"parameter\";\n        } else if (symbol.valueDeclaration && isVarConst(symbol.valueDeclaration)) {\n          return \"const\";\n        } else if (forEach(symbol.declarations, isLet)) {\n          return \"let\";\n        }\n        return isLocalVariableOrFunction(symbol) ? \"local var\" : \"var\";\n      }\n      if (flags & 16)\n        return isLocalVariableOrFunction(symbol) ? \"local function\" : \"function\";\n      if (flags & 32768)\n        return \"getter\";\n      if (flags & 65536)\n        return \"setter\";\n      if (flags & 8192)\n        return \"method\";\n      if (flags & 16384)\n        return \"constructor\";\n      if (flags & 131072)\n        return \"index\";\n      if (flags & 4) {\n        if (flags & 33554432 && symbol.links.checkFlags & 6) {\n          const unionPropertyKind = forEach(typeChecker.getRootSymbols(symbol), (rootSymbol) => {\n            const rootSymbolFlags = rootSymbol.getFlags();\n            if (rootSymbolFlags & (98308 | 3)) {\n              return \"property\";\n            }\n          });\n          if (!unionPropertyKind) {\n            const typeOfUnionProperty = typeChecker.getTypeOfSymbolAtLocation(symbol, location);\n            if (typeOfUnionProperty.getCallSignatures().length) {\n              return \"method\";\n            }\n            return \"property\";\n          }\n          return unionPropertyKind;\n        }\n        return \"property\";\n      }\n      return \"\";\n    }\n    function getNormalizedSymbolModifiers(symbol) {\n      if (symbol.declarations && symbol.declarations.length) {\n        const [declaration, ...declarations] = symbol.declarations;\n        const excludeFlags = length(declarations) && isDeprecatedDeclaration(declaration) && some(declarations, (d) => !isDeprecatedDeclaration(d)) ? 8192 : 0;\n        const modifiers = getNodeModifiers(declaration, excludeFlags);\n        if (modifiers) {\n          return modifiers.split(\",\");\n        }\n      }\n      return [];\n    }\n    function getSymbolModifiers(typeChecker, symbol) {\n      if (!symbol) {\n        return \"\";\n      }\n      const modifiers = new Set(getNormalizedSymbolModifiers(symbol));\n      if (symbol.flags & 2097152) {\n        const resolvedSymbol = typeChecker.getAliasedSymbol(symbol);\n        if (resolvedSymbol !== symbol) {\n          forEach(getNormalizedSymbolModifiers(resolvedSymbol), (modifier) => {\n            modifiers.add(modifier);\n          });\n        }\n      }\n      if (symbol.flags & 16777216) {\n        modifiers.add(\n          \"optional\"\n          /* optionalModifier */\n        );\n      }\n      return modifiers.size > 0 ? arrayFrom(modifiers.values()).join(\",\") : \"\";\n    }\n    function getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker, symbol, sourceFile, enclosingDeclaration, location, semanticMeaning = getMeaningFromLocation(location), alias) {\n      var _a22;\n      const displayParts = [];\n      let documentation = [];\n      let tags = [];\n      const symbolFlags = getCombinedLocalAndExportSymbolFlags(symbol);\n      let symbolKind = semanticMeaning & 1 ? getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker, symbol, location) : \"\";\n      let hasAddedSymbolInfo = false;\n      const isThisExpression = location.kind === 108 && isInExpressionContext(location) || isThisInTypeQuery(location);\n      let type;\n      let documentationFromAlias;\n      let tagsFromAlias;\n      let hasMultipleSignatures = false;\n      if (location.kind === 108 && !isThisExpression) {\n        return { displayParts: [keywordPart(\n          108\n          /* ThisKeyword */\n        )], documentation: [], symbolKind: \"primitive type\", tags: void 0 };\n      }\n      if (symbolKind !== \"\" || symbolFlags & 32 || symbolFlags & 2097152) {\n        if (symbolKind === \"getter\" || symbolKind === \"setter\") {\n          const declaration = find(symbol.declarations, (declaration2) => declaration2.name === location);\n          if (declaration) {\n            switch (declaration.kind) {\n              case 174:\n                symbolKind = \"getter\";\n                break;\n              case 175:\n                symbolKind = \"setter\";\n                break;\n              case 169:\n                symbolKind = \"accessor\";\n                break;\n              default:\n                Debug2.assertNever(declaration);\n            }\n          } else {\n            symbolKind = \"property\";\n          }\n        }\n        let signature;\n        type = isThisExpression ? typeChecker.getTypeAtLocation(location) : typeChecker.getTypeOfSymbolAtLocation(symbol, location);\n        if (location.parent && location.parent.kind === 208) {\n          const right = location.parent.name;\n          if (right === location || right && right.getFullWidth() === 0) {\n            location = location.parent;\n          }\n        }\n        let callExpressionLike;\n        if (isCallOrNewExpression(location)) {\n          callExpressionLike = location;\n        } else if (isCallExpressionTarget(location) || isNewExpressionTarget(location)) {\n          callExpressionLike = location.parent;\n        } else if (location.parent && (isJsxOpeningLikeElement(location.parent) || isTaggedTemplateExpression(location.parent)) && isFunctionLike(symbol.valueDeclaration)) {\n          callExpressionLike = location.parent;\n        }\n        if (callExpressionLike) {\n          signature = typeChecker.getResolvedSignature(callExpressionLike);\n          const useConstructSignatures = callExpressionLike.kind === 211 || isCallExpression(callExpressionLike) && callExpressionLike.expression.kind === 106;\n          const allSignatures = useConstructSignatures ? type.getConstructSignatures() : type.getCallSignatures();\n          if (signature && !contains(allSignatures, signature.target) && !contains(allSignatures, signature)) {\n            signature = allSignatures.length ? allSignatures[0] : void 0;\n          }\n          if (signature) {\n            if (useConstructSignatures && symbolFlags & 32) {\n              symbolKind = \"constructor\";\n              addPrefixForAnyFunctionOrVar(type.symbol, symbolKind);\n            } else if (symbolFlags & 2097152) {\n              symbolKind = \"alias\";\n              pushSymbolKind(symbolKind);\n              displayParts.push(spacePart());\n              if (useConstructSignatures) {\n                if (signature.flags & 4) {\n                  displayParts.push(keywordPart(\n                    126\n                    /* AbstractKeyword */\n                  ));\n                  displayParts.push(spacePart());\n                }\n                displayParts.push(keywordPart(\n                  103\n                  /* NewKeyword */\n                ));\n                displayParts.push(spacePart());\n              }\n              addFullSymbolName(symbol);\n            } else {\n              addPrefixForAnyFunctionOrVar(symbol, symbolKind);\n            }\n            switch (symbolKind) {\n              case \"JSX attribute\":\n              case \"property\":\n              case \"var\":\n              case \"const\":\n              case \"let\":\n              case \"parameter\":\n              case \"local var\":\n                displayParts.push(punctuationPart(\n                  58\n                  /* ColonToken */\n                ));\n                displayParts.push(spacePart());\n                if (!(getObjectFlags(type) & 16) && type.symbol) {\n                  addRange(displayParts, symbolToDisplayParts(\n                    typeChecker,\n                    type.symbol,\n                    enclosingDeclaration,\n                    /*meaning*/\n                    void 0,\n                    4 | 1\n                    /* WriteTypeParametersOrArguments */\n                  ));\n                  displayParts.push(lineBreakPart());\n                }\n                if (useConstructSignatures) {\n                  if (signature.flags & 4) {\n                    displayParts.push(keywordPart(\n                      126\n                      /* AbstractKeyword */\n                    ));\n                    displayParts.push(spacePart());\n                  }\n                  displayParts.push(keywordPart(\n                    103\n                    /* NewKeyword */\n                  ));\n                  displayParts.push(spacePart());\n                }\n                addSignatureDisplayParts(\n                  signature,\n                  allSignatures,\n                  262144\n                  /* WriteArrowStyleSignature */\n                );\n                break;\n              default:\n                addSignatureDisplayParts(signature, allSignatures);\n            }\n            hasAddedSymbolInfo = true;\n            hasMultipleSignatures = allSignatures.length > 1;\n          }\n        } else if (isNameOfFunctionDeclaration(location) && !(symbolFlags & 98304) || // name of function declaration\n        location.kind === 135 && location.parent.kind === 173) {\n          const functionDeclaration = location.parent;\n          const locationIsSymbolDeclaration = symbol.declarations && find(symbol.declarations, (declaration) => declaration === (location.kind === 135 ? functionDeclaration.parent : functionDeclaration));\n          if (locationIsSymbolDeclaration) {\n            const allSignatures = functionDeclaration.kind === 173 ? type.getNonNullableType().getConstructSignatures() : type.getNonNullableType().getCallSignatures();\n            if (!typeChecker.isImplementationOfOverload(functionDeclaration)) {\n              signature = typeChecker.getSignatureFromDeclaration(functionDeclaration);\n            } else {\n              signature = allSignatures[0];\n            }\n            if (functionDeclaration.kind === 173) {\n              symbolKind = \"constructor\";\n              addPrefixForAnyFunctionOrVar(type.symbol, symbolKind);\n            } else {\n              addPrefixForAnyFunctionOrVar(functionDeclaration.kind === 176 && !(type.symbol.flags & 2048 || type.symbol.flags & 4096) ? type.symbol : symbol, symbolKind);\n            }\n            if (signature) {\n              addSignatureDisplayParts(signature, allSignatures);\n            }\n            hasAddedSymbolInfo = true;\n            hasMultipleSignatures = allSignatures.length > 1;\n          }\n        }\n      }\n      if (symbolFlags & 32 && !hasAddedSymbolInfo && !isThisExpression) {\n        addAliasPrefixIfNecessary();\n        if (getDeclarationOfKind(\n          symbol,\n          228\n          /* ClassExpression */\n        )) {\n          pushSymbolKind(\n            \"local class\"\n            /* localClassElement */\n          );\n        } else {\n          displayParts.push(keywordPart(\n            84\n            /* ClassKeyword */\n          ));\n        }\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n        writeTypeParametersOfSymbol(symbol, sourceFile);\n      }\n      if (symbolFlags & 64 && semanticMeaning & 2) {\n        prefixNextMeaning();\n        displayParts.push(keywordPart(\n          118\n          /* InterfaceKeyword */\n        ));\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n        writeTypeParametersOfSymbol(symbol, sourceFile);\n      }\n      if (symbolFlags & 524288 && semanticMeaning & 2) {\n        prefixNextMeaning();\n        displayParts.push(keywordPart(\n          154\n          /* TypeKeyword */\n        ));\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n        writeTypeParametersOfSymbol(symbol, sourceFile);\n        displayParts.push(spacePart());\n        displayParts.push(operatorPart(\n          63\n          /* EqualsToken */\n        ));\n        displayParts.push(spacePart());\n        addRange(displayParts, typeToDisplayParts(\n          typeChecker,\n          isConstTypeReference(location.parent) ? typeChecker.getTypeAtLocation(location.parent) : typeChecker.getDeclaredTypeOfSymbol(symbol),\n          enclosingDeclaration,\n          8388608\n          /* InTypeAlias */\n        ));\n      }\n      if (symbolFlags & 384) {\n        prefixNextMeaning();\n        if (some(symbol.declarations, (d) => isEnumDeclaration(d) && isEnumConst(d))) {\n          displayParts.push(keywordPart(\n            85\n            /* ConstKeyword */\n          ));\n          displayParts.push(spacePart());\n        }\n        displayParts.push(keywordPart(\n          92\n          /* EnumKeyword */\n        ));\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n      }\n      if (symbolFlags & 1536 && !isThisExpression) {\n        prefixNextMeaning();\n        const declaration = getDeclarationOfKind(\n          symbol,\n          264\n          /* ModuleDeclaration */\n        );\n        const isNamespace = declaration && declaration.name && declaration.name.kind === 79;\n        displayParts.push(keywordPart(\n          isNamespace ? 143 : 142\n          /* ModuleKeyword */\n        ));\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n      }\n      if (symbolFlags & 262144 && semanticMeaning & 2) {\n        prefixNextMeaning();\n        displayParts.push(punctuationPart(\n          20\n          /* OpenParenToken */\n        ));\n        displayParts.push(textPart(\"type parameter\"));\n        displayParts.push(punctuationPart(\n          21\n          /* CloseParenToken */\n        ));\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n        if (symbol.parent) {\n          addInPrefix();\n          addFullSymbolName(symbol.parent, enclosingDeclaration);\n          writeTypeParametersOfSymbol(symbol.parent, enclosingDeclaration);\n        } else {\n          const decl = getDeclarationOfKind(\n            symbol,\n            165\n            /* TypeParameter */\n          );\n          if (decl === void 0)\n            return Debug2.fail();\n          const declaration = decl.parent;\n          if (declaration) {\n            if (isFunctionLike(declaration)) {\n              addInPrefix();\n              const signature = typeChecker.getSignatureFromDeclaration(declaration);\n              if (declaration.kind === 177) {\n                displayParts.push(keywordPart(\n                  103\n                  /* NewKeyword */\n                ));\n                displayParts.push(spacePart());\n              } else if (declaration.kind !== 176 && declaration.name) {\n                addFullSymbolName(declaration.symbol);\n              }\n              addRange(displayParts, signatureToDisplayParts(\n                typeChecker,\n                signature,\n                sourceFile,\n                32\n                /* WriteTypeArgumentsOfSignature */\n              ));\n            } else if (isTypeAliasDeclaration(declaration)) {\n              addInPrefix();\n              displayParts.push(keywordPart(\n                154\n                /* TypeKeyword */\n              ));\n              displayParts.push(spacePart());\n              addFullSymbolName(declaration.symbol);\n              writeTypeParametersOfSymbol(declaration.symbol, sourceFile);\n            }\n          }\n        }\n      }\n      if (symbolFlags & 8) {\n        symbolKind = \"enum member\";\n        addPrefixForAnyFunctionOrVar(symbol, \"enum member\");\n        const declaration = (_a22 = symbol.declarations) == null ? void 0 : _a22[0];\n        if ((declaration == null ? void 0 : declaration.kind) === 302) {\n          const constantValue = typeChecker.getConstantValue(declaration);\n          if (constantValue !== void 0) {\n            displayParts.push(spacePart());\n            displayParts.push(operatorPart(\n              63\n              /* EqualsToken */\n            ));\n            displayParts.push(spacePart());\n            displayParts.push(displayPart(\n              getTextOfConstantValue(constantValue),\n              typeof constantValue === \"number\" ? 7 : 8\n              /* stringLiteral */\n            ));\n          }\n        }\n      }\n      if (symbol.flags & 2097152) {\n        prefixNextMeaning();\n        if (!hasAddedSymbolInfo) {\n          const resolvedSymbol = typeChecker.getAliasedSymbol(symbol);\n          if (resolvedSymbol !== symbol && resolvedSymbol.declarations && resolvedSymbol.declarations.length > 0) {\n            const resolvedNode = resolvedSymbol.declarations[0];\n            const declarationName = getNameOfDeclaration(resolvedNode);\n            if (declarationName) {\n              const isExternalModuleDeclaration = isModuleWithStringLiteralName(resolvedNode) && hasSyntacticModifier(\n                resolvedNode,\n                2\n                /* Ambient */\n              );\n              const shouldUseAliasName = symbol.name !== \"default\" && !isExternalModuleDeclaration;\n              const resolvedInfo = getSymbolDisplayPartsDocumentationAndSymbolKind(\n                typeChecker,\n                resolvedSymbol,\n                getSourceFileOfNode(resolvedNode),\n                resolvedNode,\n                declarationName,\n                semanticMeaning,\n                shouldUseAliasName ? symbol : resolvedSymbol\n              );\n              displayParts.push(...resolvedInfo.displayParts);\n              displayParts.push(lineBreakPart());\n              documentationFromAlias = resolvedInfo.documentation;\n              tagsFromAlias = resolvedInfo.tags;\n            } else {\n              documentationFromAlias = resolvedSymbol.getContextualDocumentationComment(resolvedNode, typeChecker);\n              tagsFromAlias = resolvedSymbol.getJsDocTags(typeChecker);\n            }\n          }\n        }\n        if (symbol.declarations) {\n          switch (symbol.declarations[0].kind) {\n            case 267:\n              displayParts.push(keywordPart(\n                93\n                /* ExportKeyword */\n              ));\n              displayParts.push(spacePart());\n              displayParts.push(keywordPart(\n                143\n                /* NamespaceKeyword */\n              ));\n              break;\n            case 274:\n              displayParts.push(keywordPart(\n                93\n                /* ExportKeyword */\n              ));\n              displayParts.push(spacePart());\n              displayParts.push(keywordPart(\n                symbol.declarations[0].isExportEquals ? 63 : 88\n                /* DefaultKeyword */\n              ));\n              break;\n            case 278:\n              displayParts.push(keywordPart(\n                93\n                /* ExportKeyword */\n              ));\n              break;\n            default:\n              displayParts.push(keywordPart(\n                100\n                /* ImportKeyword */\n              ));\n          }\n        }\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol);\n        forEach(symbol.declarations, (declaration) => {\n          if (declaration.kind === 268) {\n            const importEqualsDeclaration = declaration;\n            if (isExternalModuleImportEqualsDeclaration(importEqualsDeclaration)) {\n              displayParts.push(spacePart());\n              displayParts.push(operatorPart(\n                63\n                /* EqualsToken */\n              ));\n              displayParts.push(spacePart());\n              displayParts.push(keywordPart(\n                147\n                /* RequireKeyword */\n              ));\n              displayParts.push(punctuationPart(\n                20\n                /* OpenParenToken */\n              ));\n              displayParts.push(displayPart(\n                getTextOfNode(getExternalModuleImportEqualsDeclarationExpression(importEqualsDeclaration)),\n                8\n                /* stringLiteral */\n              ));\n              displayParts.push(punctuationPart(\n                21\n                /* CloseParenToken */\n              ));\n            } else {\n              const internalAliasSymbol = typeChecker.getSymbolAtLocation(importEqualsDeclaration.moduleReference);\n              if (internalAliasSymbol) {\n                displayParts.push(spacePart());\n                displayParts.push(operatorPart(\n                  63\n                  /* EqualsToken */\n                ));\n                displayParts.push(spacePart());\n                addFullSymbolName(internalAliasSymbol, enclosingDeclaration);\n              }\n            }\n            return true;\n          }\n        });\n      }\n      if (!hasAddedSymbolInfo) {\n        if (symbolKind !== \"\") {\n          if (type) {\n            if (isThisExpression) {\n              prefixNextMeaning();\n              displayParts.push(keywordPart(\n                108\n                /* ThisKeyword */\n              ));\n            } else {\n              addPrefixForAnyFunctionOrVar(symbol, symbolKind);\n            }\n            if (symbolKind === \"property\" || symbolKind === \"accessor\" || symbolKind === \"getter\" || symbolKind === \"setter\" || symbolKind === \"JSX attribute\" || symbolFlags & 3 || symbolKind === \"local var\" || symbolKind === \"index\" || isThisExpression) {\n              displayParts.push(punctuationPart(\n                58\n                /* ColonToken */\n              ));\n              displayParts.push(spacePart());\n              if (type.symbol && type.symbol.flags & 262144 && symbolKind !== \"index\") {\n                const typeParameterParts = mapToDisplayParts((writer) => {\n                  const param = typeChecker.typeParameterToDeclaration(type, enclosingDeclaration, symbolDisplayNodeBuilderFlags);\n                  getPrinter().writeNode(4, param, getSourceFileOfNode(getParseTreeNode(enclosingDeclaration)), writer);\n                });\n                addRange(displayParts, typeParameterParts);\n              } else {\n                addRange(displayParts, typeToDisplayParts(typeChecker, type, enclosingDeclaration));\n              }\n              if (isTransientSymbol(symbol) && symbol.links.target && isTransientSymbol(symbol.links.target) && symbol.links.target.links.tupleLabelDeclaration) {\n                const labelDecl = symbol.links.target.links.tupleLabelDeclaration;\n                Debug2.assertNode(labelDecl.name, isIdentifier);\n                displayParts.push(spacePart());\n                displayParts.push(punctuationPart(\n                  20\n                  /* OpenParenToken */\n                ));\n                displayParts.push(textPart(idText(labelDecl.name)));\n                displayParts.push(punctuationPart(\n                  21\n                  /* CloseParenToken */\n                ));\n              }\n            } else if (symbolFlags & 16 || symbolFlags & 8192 || symbolFlags & 16384 || symbolFlags & 131072 || symbolFlags & 98304 || symbolKind === \"method\") {\n              const allSignatures = type.getNonNullableType().getCallSignatures();\n              if (allSignatures.length) {\n                addSignatureDisplayParts(allSignatures[0], allSignatures);\n                hasMultipleSignatures = allSignatures.length > 1;\n              }\n            }\n          }\n        } else {\n          symbolKind = getSymbolKind(typeChecker, symbol, location);\n        }\n      }\n      if (documentation.length === 0 && !hasMultipleSignatures) {\n        documentation = symbol.getContextualDocumentationComment(enclosingDeclaration, typeChecker);\n      }\n      if (documentation.length === 0 && symbolFlags & 4) {\n        if (symbol.parent && symbol.declarations && forEach(\n          symbol.parent.declarations,\n          (declaration) => declaration.kind === 308\n          /* SourceFile */\n        )) {\n          for (const declaration of symbol.declarations) {\n            if (!declaration.parent || declaration.parent.kind !== 223) {\n              continue;\n            }\n            const rhsSymbol = typeChecker.getSymbolAtLocation(declaration.parent.right);\n            if (!rhsSymbol) {\n              continue;\n            }\n            documentation = rhsSymbol.getDocumentationComment(typeChecker);\n            tags = rhsSymbol.getJsDocTags(typeChecker);\n            if (documentation.length > 0) {\n              break;\n            }\n          }\n        }\n      }\n      if (documentation.length === 0 && isIdentifier(location) && symbol.valueDeclaration && isBindingElement(symbol.valueDeclaration)) {\n        const declaration = symbol.valueDeclaration;\n        const parent2 = declaration.parent;\n        if (isIdentifier(declaration.name) && isObjectBindingPattern(parent2)) {\n          const name = getTextOfIdentifierOrLiteral(declaration.name);\n          const objectType = typeChecker.getTypeAtLocation(parent2);\n          documentation = firstDefined(objectType.isUnion() ? objectType.types : [objectType], (t) => {\n            const prop = t.getProperty(name);\n            return prop ? prop.getDocumentationComment(typeChecker) : void 0;\n          }) || emptyArray;\n        }\n      }\n      if (tags.length === 0 && !hasMultipleSignatures) {\n        tags = symbol.getContextualJsDocTags(enclosingDeclaration, typeChecker);\n      }\n      if (documentation.length === 0 && documentationFromAlias) {\n        documentation = documentationFromAlias;\n      }\n      if (tags.length === 0 && tagsFromAlias) {\n        tags = tagsFromAlias;\n      }\n      return { displayParts, documentation, symbolKind, tags: tags.length === 0 ? void 0 : tags };\n      function getPrinter() {\n        return createPrinterWithRemoveComments();\n      }\n      function prefixNextMeaning() {\n        if (displayParts.length) {\n          displayParts.push(lineBreakPart());\n        }\n        addAliasPrefixIfNecessary();\n      }\n      function addAliasPrefixIfNecessary() {\n        if (alias) {\n          pushSymbolKind(\n            \"alias\"\n            /* alias */\n          );\n          displayParts.push(spacePart());\n        }\n      }\n      function addInPrefix() {\n        displayParts.push(spacePart());\n        displayParts.push(keywordPart(\n          101\n          /* InKeyword */\n        ));\n        displayParts.push(spacePart());\n      }\n      function addFullSymbolName(symbolToDisplay, enclosingDeclaration2) {\n        let indexInfos;\n        if (alias && symbolToDisplay === symbol) {\n          symbolToDisplay = alias;\n        }\n        if (symbolKind === \"index\") {\n          indexInfos = typeChecker.getIndexInfosOfIndexSymbol(symbolToDisplay);\n        }\n        let fullSymbolDisplayParts = [];\n        if (symbolToDisplay.flags & 131072 && indexInfos) {\n          if (symbolToDisplay.parent) {\n            fullSymbolDisplayParts = symbolToDisplayParts(typeChecker, symbolToDisplay.parent);\n          }\n          fullSymbolDisplayParts.push(punctuationPart(\n            22\n            /* OpenBracketToken */\n          ));\n          indexInfos.forEach((info, i) => {\n            fullSymbolDisplayParts.push(...typeToDisplayParts(typeChecker, info.keyType));\n            if (i !== indexInfos.length - 1) {\n              fullSymbolDisplayParts.push(spacePart());\n              fullSymbolDisplayParts.push(punctuationPart(\n                51\n                /* BarToken */\n              ));\n              fullSymbolDisplayParts.push(spacePart());\n            }\n          });\n          fullSymbolDisplayParts.push(punctuationPart(\n            23\n            /* CloseBracketToken */\n          ));\n        } else {\n          fullSymbolDisplayParts = symbolToDisplayParts(\n            typeChecker,\n            symbolToDisplay,\n            enclosingDeclaration2 || sourceFile,\n            /*meaning*/\n            void 0,\n            1 | 2 | 4\n            /* AllowAnyNodeKind */\n          );\n        }\n        addRange(displayParts, fullSymbolDisplayParts);\n        if (symbol.flags & 16777216) {\n          displayParts.push(punctuationPart(\n            57\n            /* QuestionToken */\n          ));\n        }\n      }\n      function addPrefixForAnyFunctionOrVar(symbol2, symbolKind2) {\n        prefixNextMeaning();\n        if (symbolKind2) {\n          pushSymbolKind(symbolKind2);\n          if (symbol2 && !some(symbol2.declarations, (d) => isArrowFunction(d) || (isFunctionExpression(d) || isClassExpression(d)) && !d.name)) {\n            displayParts.push(spacePart());\n            addFullSymbolName(symbol2);\n          }\n        }\n      }\n      function pushSymbolKind(symbolKind2) {\n        switch (symbolKind2) {\n          case \"var\":\n          case \"function\":\n          case \"let\":\n          case \"const\":\n          case \"constructor\":\n            displayParts.push(textOrKeywordPart(symbolKind2));\n            return;\n          default:\n            displayParts.push(punctuationPart(\n              20\n              /* OpenParenToken */\n            ));\n            displayParts.push(textOrKeywordPart(symbolKind2));\n            displayParts.push(punctuationPart(\n              21\n              /* CloseParenToken */\n            ));\n            return;\n        }\n      }\n      function addSignatureDisplayParts(signature, allSignatures, flags = 0) {\n        addRange(displayParts, signatureToDisplayParts(\n          typeChecker,\n          signature,\n          enclosingDeclaration,\n          flags | 32\n          /* WriteTypeArgumentsOfSignature */\n        ));\n        if (allSignatures.length > 1) {\n          displayParts.push(spacePart());\n          displayParts.push(punctuationPart(\n            20\n            /* OpenParenToken */\n          ));\n          displayParts.push(operatorPart(\n            39\n            /* PlusToken */\n          ));\n          displayParts.push(displayPart(\n            (allSignatures.length - 1).toString(),\n            7\n            /* numericLiteral */\n          ));\n          displayParts.push(spacePart());\n          displayParts.push(textPart(allSignatures.length === 2 ? \"overload\" : \"overloads\"));\n          displayParts.push(punctuationPart(\n            21\n            /* CloseParenToken */\n          ));\n        }\n        documentation = signature.getDocumentationComment(typeChecker);\n        tags = signature.getJsDocTags();\n        if (allSignatures.length > 1 && documentation.length === 0 && tags.length === 0) {\n          documentation = allSignatures[0].getDocumentationComment(typeChecker);\n          tags = allSignatures[0].getJsDocTags().filter((tag) => tag.name !== \"deprecated\");\n        }\n      }\n      function writeTypeParametersOfSymbol(symbol2, enclosingDeclaration2) {\n        const typeParameterParts = mapToDisplayParts((writer) => {\n          const params = typeChecker.symbolToTypeParameterDeclarations(symbol2, enclosingDeclaration2, symbolDisplayNodeBuilderFlags);\n          getPrinter().writeList(53776, params, getSourceFileOfNode(getParseTreeNode(enclosingDeclaration2)), writer);\n        });\n        addRange(displayParts, typeParameterParts);\n      }\n    }\n    function isLocalVariableOrFunction(symbol) {\n      if (symbol.parent) {\n        return false;\n      }\n      return forEach(symbol.declarations, (declaration) => {\n        if (declaration.kind === 215) {\n          return true;\n        }\n        if (declaration.kind !== 257 && declaration.kind !== 259) {\n          return false;\n        }\n        for (let parent2 = declaration.parent; !isFunctionBlock(parent2); parent2 = parent2.parent) {\n          if (parent2.kind === 308 || parent2.kind === 265) {\n            return false;\n          }\n        }\n        return true;\n      });\n    }\n    var symbolDisplayNodeBuilderFlags;\n    var init_symbolDisplay = __esm({\n      \"src/services/symbolDisplay.ts\"() {\n        \"use strict\";\n        init_ts4();\n        symbolDisplayNodeBuilderFlags = 8192 | 70221824 | 16384;\n      }\n    });\n    var ts_SymbolDisplay_exports = {};\n    __export2(ts_SymbolDisplay_exports, {\n      getSymbolDisplayPartsDocumentationAndSymbolKind: () => getSymbolDisplayPartsDocumentationAndSymbolKind,\n      getSymbolKind: () => getSymbolKind,\n      getSymbolModifiers: () => getSymbolModifiers\n    });\n    var init_ts_SymbolDisplay = __esm({\n      \"src/services/_namespaces/ts.SymbolDisplay.ts\"() {\n        \"use strict\";\n        init_symbolDisplay();\n      }\n    });\n    function getPos2(n) {\n      const result = n.__pos;\n      Debug2.assert(typeof result === \"number\");\n      return result;\n    }\n    function setPos(n, pos) {\n      Debug2.assert(typeof pos === \"number\");\n      n.__pos = pos;\n    }\n    function getEnd(n) {\n      const result = n.__end;\n      Debug2.assert(typeof result === \"number\");\n      return result;\n    }\n    function setEnd(n, end) {\n      Debug2.assert(typeof end === \"number\");\n      n.__end = end;\n    }\n    function skipWhitespacesAndLineBreaks(text, start) {\n      return skipTrivia(\n        text,\n        start,\n        /*stopAfterLineBreak*/\n        false,\n        /*stopAtComments*/\n        true\n      );\n    }\n    function hasCommentsBeforeLineBreak(text, start) {\n      let i = start;\n      while (i < text.length) {\n        const ch = text.charCodeAt(i);\n        if (isWhiteSpaceSingleLine(ch)) {\n          i++;\n          continue;\n        }\n        return ch === 47;\n      }\n      return false;\n    }\n    function getAdjustedRange(sourceFile, startNode2, endNode2, options) {\n      return { pos: getAdjustedStartPosition(sourceFile, startNode2, options), end: getAdjustedEndPosition(sourceFile, endNode2, options) };\n    }\n    function getAdjustedStartPosition(sourceFile, node, options, hasTrailingComment = false) {\n      var _a22, _b3;\n      const { leadingTriviaOption } = options;\n      if (leadingTriviaOption === 0) {\n        return node.getStart(sourceFile);\n      }\n      if (leadingTriviaOption === 3) {\n        const startPos = node.getStart(sourceFile);\n        const pos = getLineStartPositionForPosition(startPos, sourceFile);\n        return rangeContainsPosition(node, pos) ? pos : startPos;\n      }\n      if (leadingTriviaOption === 2) {\n        const JSDocComments = getJSDocCommentRanges(node, sourceFile.text);\n        if (JSDocComments == null ? void 0 : JSDocComments.length) {\n          return getLineStartPositionForPosition(JSDocComments[0].pos, sourceFile);\n        }\n      }\n      const fullStart = node.getFullStart();\n      const start = node.getStart(sourceFile);\n      if (fullStart === start) {\n        return start;\n      }\n      const fullStartLine = getLineStartPositionForPosition(fullStart, sourceFile);\n      const startLine = getLineStartPositionForPosition(start, sourceFile);\n      if (startLine === fullStartLine) {\n        return leadingTriviaOption === 1 ? fullStart : start;\n      }\n      if (hasTrailingComment) {\n        const comment = ((_a22 = getLeadingCommentRanges(sourceFile.text, fullStart)) == null ? void 0 : _a22[0]) || ((_b3 = getTrailingCommentRanges(sourceFile.text, fullStart)) == null ? void 0 : _b3[0]);\n        if (comment) {\n          return skipTrivia(\n            sourceFile.text,\n            comment.end,\n            /*stopAfterLineBreak*/\n            true,\n            /*stopAtComments*/\n            true\n          );\n        }\n      }\n      const nextLineStart = fullStart > 0 ? 1 : 0;\n      let adjustedStartPosition = getStartPositionOfLine(getLineOfLocalPosition(sourceFile, fullStartLine) + nextLineStart, sourceFile);\n      adjustedStartPosition = skipWhitespacesAndLineBreaks(sourceFile.text, adjustedStartPosition);\n      return getStartPositionOfLine(getLineOfLocalPosition(sourceFile, adjustedStartPosition), sourceFile);\n    }\n    function getEndPositionOfMultilineTrailingComment(sourceFile, node, options) {\n      const { end } = node;\n      const { trailingTriviaOption } = options;\n      if (trailingTriviaOption === 2) {\n        const comments = getTrailingCommentRanges(sourceFile.text, end);\n        if (comments) {\n          const nodeEndLine = getLineOfLocalPosition(sourceFile, node.end);\n          for (const comment of comments) {\n            if (comment.kind === 2 || getLineOfLocalPosition(sourceFile, comment.pos) > nodeEndLine) {\n              break;\n            }\n            const commentEndLine = getLineOfLocalPosition(sourceFile, comment.end);\n            if (commentEndLine > nodeEndLine) {\n              return skipTrivia(\n                sourceFile.text,\n                comment.end,\n                /*stopAfterLineBreak*/\n                true,\n                /*stopAtComments*/\n                true\n              );\n            }\n          }\n        }\n      }\n      return void 0;\n    }\n    function getAdjustedEndPosition(sourceFile, node, options) {\n      var _a22;\n      const { end } = node;\n      const { trailingTriviaOption } = options;\n      if (trailingTriviaOption === 0) {\n        return end;\n      }\n      if (trailingTriviaOption === 1) {\n        const comments = concatenate(getTrailingCommentRanges(sourceFile.text, end), getLeadingCommentRanges(sourceFile.text, end));\n        const realEnd = (_a22 = comments == null ? void 0 : comments[comments.length - 1]) == null ? void 0 : _a22.end;\n        if (realEnd) {\n          return realEnd;\n        }\n        return end;\n      }\n      const multilineEndPosition = getEndPositionOfMultilineTrailingComment(sourceFile, node, options);\n      if (multilineEndPosition) {\n        return multilineEndPosition;\n      }\n      const newEnd = skipTrivia(\n        sourceFile.text,\n        end,\n        /*stopAfterLineBreak*/\n        true\n      );\n      return newEnd !== end && (trailingTriviaOption === 2 || isLineBreak(sourceFile.text.charCodeAt(newEnd - 1))) ? newEnd : end;\n    }\n    function isSeparator(node, candidate) {\n      return !!candidate && !!node.parent && (candidate.kind === 27 || candidate.kind === 26 && node.parent.kind === 207);\n    }\n    function isThisTypeAnnotatable(containingFunction) {\n      return isFunctionExpression(containingFunction) || isFunctionDeclaration(containingFunction);\n    }\n    function updateJSDocHost(parent2) {\n      if (parent2.kind !== 216) {\n        return parent2;\n      }\n      const jsDocNode = parent2.parent.kind === 169 ? parent2.parent : parent2.parent.parent;\n      jsDocNode.jsDoc = parent2.jsDoc;\n      return jsDocNode;\n    }\n    function tryMergeJsdocTags(oldTag, newTag) {\n      if (oldTag.kind !== newTag.kind) {\n        return void 0;\n      }\n      switch (oldTag.kind) {\n        case 344: {\n          const oldParam = oldTag;\n          const newParam = newTag;\n          return isIdentifier(oldParam.name) && isIdentifier(newParam.name) && oldParam.name.escapedText === newParam.name.escapedText ? factory.createJSDocParameterTag(\n            /*tagName*/\n            void 0,\n            newParam.name,\n            /*isBracketed*/\n            false,\n            newParam.typeExpression,\n            newParam.isNameFirst,\n            oldParam.comment\n          ) : void 0;\n        }\n        case 345:\n          return factory.createJSDocReturnTag(\n            /*tagName*/\n            void 0,\n            newTag.typeExpression,\n            oldTag.comment\n          );\n        case 347:\n          return factory.createJSDocTypeTag(\n            /*tagName*/\n            void 0,\n            newTag.typeExpression,\n            oldTag.comment\n          );\n      }\n    }\n    function startPositionToDeleteNodeInList(sourceFile, node) {\n      return skipTrivia(\n        sourceFile.text,\n        getAdjustedStartPosition(sourceFile, node, {\n          leadingTriviaOption: 1\n          /* IncludeAll */\n        }),\n        /*stopAfterLineBreak*/\n        false,\n        /*stopAtComments*/\n        true\n      );\n    }\n    function endPositionToDeleteNodeInList(sourceFile, node, prevNode, nextNode) {\n      const end = startPositionToDeleteNodeInList(sourceFile, nextNode);\n      if (prevNode === void 0 || positionsAreOnSameLine(getAdjustedEndPosition(sourceFile, node, {}), end, sourceFile)) {\n        return end;\n      }\n      const token = findPrecedingToken(nextNode.getStart(sourceFile), sourceFile);\n      if (isSeparator(node, token)) {\n        const prevToken = findPrecedingToken(node.getStart(sourceFile), sourceFile);\n        if (isSeparator(prevNode, prevToken)) {\n          const pos = skipTrivia(\n            sourceFile.text,\n            token.getEnd(),\n            /*stopAfterLineBreak*/\n            true,\n            /*stopAtComments*/\n            true\n          );\n          if (positionsAreOnSameLine(prevToken.getStart(sourceFile), token.getStart(sourceFile), sourceFile)) {\n            return isLineBreak(sourceFile.text.charCodeAt(pos - 1)) ? pos - 1 : pos;\n          }\n          if (isLineBreak(sourceFile.text.charCodeAt(pos))) {\n            return pos;\n          }\n        }\n      }\n      return end;\n    }\n    function getClassOrObjectBraceEnds(cls, sourceFile) {\n      const open = findChildOfKind(cls, 18, sourceFile);\n      const close = findChildOfKind(cls, 19, sourceFile);\n      return [open == null ? void 0 : open.end, close == null ? void 0 : close.end];\n    }\n    function getMembersOrProperties(node) {\n      return isObjectLiteralExpression(node) ? node.properties : node.members;\n    }\n    function getNewFileText(statements, scriptKind, newLineCharacter, formatContext) {\n      return changesToText.newFileChangesWorker(\n        /*oldFile*/\n        void 0,\n        scriptKind,\n        statements,\n        newLineCharacter,\n        formatContext\n      );\n    }\n    function applyChanges(text, changes) {\n      for (let i = changes.length - 1; i >= 0; i--) {\n        const { span, newText } = changes[i];\n        text = `${text.substring(0, span.start)}${newText}${text.substring(textSpanEnd(span))}`;\n      }\n      return text;\n    }\n    function isTrivia2(s) {\n      return skipTrivia(s, 0) === s.length;\n    }\n    function assignPositionsToNode(node) {\n      const visited = visitEachChild(node, assignPositionsToNode, textChangesTransformationContext, assignPositionsToNodeArray, assignPositionsToNode);\n      const newNode = nodeIsSynthesized(visited) ? visited : Object.create(visited);\n      setTextRangePosEnd(newNode, getPos2(node), getEnd(node));\n      return newNode;\n    }\n    function assignPositionsToNodeArray(nodes, visitor, test, start, count) {\n      const visited = visitNodes2(nodes, visitor, test, start, count);\n      if (!visited) {\n        return visited;\n      }\n      Debug2.assert(nodes);\n      const nodeArray = visited === nodes ? factory.createNodeArray(visited.slice(0)) : visited;\n      setTextRangePosEnd(nodeArray, getPos2(nodes), getEnd(nodes));\n      return nodeArray;\n    }\n    function createWriter(newLine) {\n      let lastNonTriviaPosition = 0;\n      const writer = createTextWriter(newLine);\n      const onBeforeEmitNode = (node) => {\n        if (node) {\n          setPos(node, lastNonTriviaPosition);\n        }\n      };\n      const onAfterEmitNode = (node) => {\n        if (node) {\n          setEnd(node, lastNonTriviaPosition);\n        }\n      };\n      const onBeforeEmitNodeArray = (nodes) => {\n        if (nodes) {\n          setPos(nodes, lastNonTriviaPosition);\n        }\n      };\n      const onAfterEmitNodeArray = (nodes) => {\n        if (nodes) {\n          setEnd(nodes, lastNonTriviaPosition);\n        }\n      };\n      const onBeforeEmitToken = (node) => {\n        if (node) {\n          setPos(node, lastNonTriviaPosition);\n        }\n      };\n      const onAfterEmitToken = (node) => {\n        if (node) {\n          setEnd(node, lastNonTriviaPosition);\n        }\n      };\n      function setLastNonTriviaPosition(s, force) {\n        if (force || !isTrivia2(s)) {\n          lastNonTriviaPosition = writer.getTextPos();\n          let i = 0;\n          while (isWhiteSpaceLike(s.charCodeAt(s.length - i - 1))) {\n            i++;\n          }\n          lastNonTriviaPosition -= i;\n        }\n      }\n      function write(s) {\n        writer.write(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeComment(s) {\n        writer.writeComment(s);\n      }\n      function writeKeyword(s) {\n        writer.writeKeyword(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeOperator(s) {\n        writer.writeOperator(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writePunctuation(s) {\n        writer.writePunctuation(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeTrailingSemicolon(s) {\n        writer.writeTrailingSemicolon(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeParameter(s) {\n        writer.writeParameter(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeProperty(s) {\n        writer.writeProperty(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeSpace(s) {\n        writer.writeSpace(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeStringLiteral(s) {\n        writer.writeStringLiteral(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeSymbol(s, sym) {\n        writer.writeSymbol(s, sym);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeLine(force) {\n        writer.writeLine(force);\n      }\n      function increaseIndent() {\n        writer.increaseIndent();\n      }\n      function decreaseIndent() {\n        writer.decreaseIndent();\n      }\n      function getText() {\n        return writer.getText();\n      }\n      function rawWrite(s) {\n        writer.rawWrite(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          false\n        );\n      }\n      function writeLiteral(s) {\n        writer.writeLiteral(s);\n        setLastNonTriviaPosition(\n          s,\n          /*force*/\n          true\n        );\n      }\n      function getTextPos() {\n        return writer.getTextPos();\n      }\n      function getLine() {\n        return writer.getLine();\n      }\n      function getColumn() {\n        return writer.getColumn();\n      }\n      function getIndent() {\n        return writer.getIndent();\n      }\n      function isAtStartOfLine() {\n        return writer.isAtStartOfLine();\n      }\n      function clear2() {\n        writer.clear();\n        lastNonTriviaPosition = 0;\n      }\n      return {\n        onBeforeEmitNode,\n        onAfterEmitNode,\n        onBeforeEmitNodeArray,\n        onAfterEmitNodeArray,\n        onBeforeEmitToken,\n        onAfterEmitToken,\n        write,\n        writeComment,\n        writeKeyword,\n        writeOperator,\n        writePunctuation,\n        writeTrailingSemicolon,\n        writeParameter,\n        writeProperty,\n        writeSpace,\n        writeStringLiteral,\n        writeSymbol,\n        writeLine,\n        increaseIndent,\n        decreaseIndent,\n        getText,\n        rawWrite,\n        writeLiteral,\n        getTextPos,\n        getLine,\n        getColumn,\n        getIndent,\n        isAtStartOfLine,\n        hasTrailingComment: () => writer.hasTrailingComment(),\n        hasTrailingWhitespace: () => writer.hasTrailingWhitespace(),\n        clear: clear2\n      };\n    }\n    function getInsertionPositionAtSourceFileTop(sourceFile) {\n      let lastPrologue;\n      for (const node of sourceFile.statements) {\n        if (isPrologueDirective(node)) {\n          lastPrologue = node;\n        } else {\n          break;\n        }\n      }\n      let position = 0;\n      const text = sourceFile.text;\n      if (lastPrologue) {\n        position = lastPrologue.end;\n        advancePastLineBreak();\n        return position;\n      }\n      const shebang = getShebang(text);\n      if (shebang !== void 0) {\n        position = shebang.length;\n        advancePastLineBreak();\n      }\n      const ranges = getLeadingCommentRanges(text, position);\n      if (!ranges)\n        return position;\n      let lastComment;\n      let firstNodeLine;\n      for (const range of ranges) {\n        if (range.kind === 3) {\n          if (isPinnedComment(text, range.pos)) {\n            lastComment = { range, pinnedOrTripleSlash: true };\n            continue;\n          }\n        } else if (isRecognizedTripleSlashComment(text, range.pos, range.end)) {\n          lastComment = { range, pinnedOrTripleSlash: true };\n          continue;\n        }\n        if (lastComment) {\n          if (lastComment.pinnedOrTripleSlash)\n            break;\n          const commentLine = sourceFile.getLineAndCharacterOfPosition(range.pos).line;\n          const lastCommentEndLine = sourceFile.getLineAndCharacterOfPosition(lastComment.range.end).line;\n          if (commentLine >= lastCommentEndLine + 2)\n            break;\n        }\n        if (sourceFile.statements.length) {\n          if (firstNodeLine === void 0)\n            firstNodeLine = sourceFile.getLineAndCharacterOfPosition(sourceFile.statements[0].getStart()).line;\n          const commentEndLine = sourceFile.getLineAndCharacterOfPosition(range.end).line;\n          if (firstNodeLine < commentEndLine + 2)\n            break;\n        }\n        lastComment = { range, pinnedOrTripleSlash: false };\n      }\n      if (lastComment) {\n        position = lastComment.range.end;\n        advancePastLineBreak();\n      }\n      return position;\n      function advancePastLineBreak() {\n        if (position < text.length) {\n          const charCode = text.charCodeAt(position);\n          if (isLineBreak(charCode)) {\n            position++;\n            if (position < text.length && charCode === 13 && text.charCodeAt(position) === 10) {\n              position++;\n            }\n          }\n        }\n      }\n    }\n    function isValidLocationToAddComment(sourceFile, position) {\n      return !isInComment(sourceFile, position) && !isInString(sourceFile, position) && !isInTemplateString(sourceFile, position) && !isInJSXText(sourceFile, position);\n    }\n    function needSemicolonBetween(a, b) {\n      return (isPropertySignature(a) || isPropertyDeclaration(a)) && isClassOrTypeElement(b) && b.name.kind === 164 || isStatementButNotDeclaration(a) && isStatementButNotDeclaration(b);\n    }\n    function deleteNode(changes, sourceFile, node, options = {\n      leadingTriviaOption: 1\n      /* IncludeAll */\n    }) {\n      const startPosition = getAdjustedStartPosition(sourceFile, node, options);\n      const endPosition = getAdjustedEndPosition(sourceFile, node, options);\n      changes.deleteRange(sourceFile, { pos: startPosition, end: endPosition });\n    }\n    function deleteNodeInList(changes, deletedNodesInLists, sourceFile, node) {\n      const containingList = Debug2.checkDefined(ts_formatting_exports.SmartIndenter.getContainingList(node, sourceFile));\n      const index = indexOfNode(containingList, node);\n      Debug2.assert(index !== -1);\n      if (containingList.length === 1) {\n        deleteNode(changes, sourceFile, node);\n        return;\n      }\n      Debug2.assert(!deletedNodesInLists.has(node), \"Deleting a node twice\");\n      deletedNodesInLists.add(node);\n      changes.deleteRange(sourceFile, {\n        pos: startPositionToDeleteNodeInList(sourceFile, node),\n        end: index === containingList.length - 1 ? getAdjustedEndPosition(sourceFile, node, {}) : endPositionToDeleteNodeInList(sourceFile, node, containingList[index - 1], containingList[index + 1])\n      });\n    }\n    var LeadingTriviaOption, TrailingTriviaOption, useNonAdjustedPositions, ChangeTracker, changesToText, textChangesTransformationContext, deleteDeclaration;\n    var init_textChanges = __esm({\n      \"src/services/textChanges.ts\"() {\n        \"use strict\";\n        init_ts4();\n        LeadingTriviaOption = /* @__PURE__ */ ((LeadingTriviaOption2) => {\n          LeadingTriviaOption2[LeadingTriviaOption2[\"Exclude\"] = 0] = \"Exclude\";\n          LeadingTriviaOption2[LeadingTriviaOption2[\"IncludeAll\"] = 1] = \"IncludeAll\";\n          LeadingTriviaOption2[LeadingTriviaOption2[\"JSDoc\"] = 2] = \"JSDoc\";\n          LeadingTriviaOption2[LeadingTriviaOption2[\"StartLine\"] = 3] = \"StartLine\";\n          return LeadingTriviaOption2;\n        })(LeadingTriviaOption || {});\n        TrailingTriviaOption = /* @__PURE__ */ ((TrailingTriviaOption2) => {\n          TrailingTriviaOption2[TrailingTriviaOption2[\"Exclude\"] = 0] = \"Exclude\";\n          TrailingTriviaOption2[TrailingTriviaOption2[\"ExcludeWhitespace\"] = 1] = \"ExcludeWhitespace\";\n          TrailingTriviaOption2[TrailingTriviaOption2[\"Include\"] = 2] = \"Include\";\n          return TrailingTriviaOption2;\n        })(TrailingTriviaOption || {});\n        useNonAdjustedPositions = {\n          leadingTriviaOption: 0,\n          trailingTriviaOption: 0\n          /* Exclude */\n        };\n        ChangeTracker = class {\n          /** Public for tests only. Other callers should use `ChangeTracker.with`. */\n          constructor(newLineCharacter, formatContext) {\n            this.newLineCharacter = newLineCharacter;\n            this.formatContext = formatContext;\n            this.changes = [];\n            this.newFiles = [];\n            this.classesWithNodesInsertedAtStart = /* @__PURE__ */ new Map();\n            this.deletedNodes = [];\n          }\n          static fromContext(context) {\n            return new ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);\n          }\n          static with(context, cb) {\n            const tracker = ChangeTracker.fromContext(context);\n            cb(tracker);\n            return tracker.getChanges();\n          }\n          pushRaw(sourceFile, change) {\n            Debug2.assertEqual(sourceFile.fileName, change.fileName);\n            for (const c of change.textChanges) {\n              this.changes.push({\n                kind: 3,\n                sourceFile,\n                text: c.newText,\n                range: createTextRangeFromSpan(c.span)\n              });\n            }\n          }\n          deleteRange(sourceFile, range) {\n            this.changes.push({ kind: 0, sourceFile, range });\n          }\n          delete(sourceFile, node) {\n            this.deletedNodes.push({ sourceFile, node });\n          }\n          /** Stop! Consider using `delete` instead, which has logic for deleting nodes from delimited lists. */\n          deleteNode(sourceFile, node, options = {\n            leadingTriviaOption: 1\n            /* IncludeAll */\n          }) {\n            this.deleteRange(sourceFile, getAdjustedRange(sourceFile, node, node, options));\n          }\n          deleteNodes(sourceFile, nodes, options = {\n            leadingTriviaOption: 1\n            /* IncludeAll */\n          }, hasTrailingComment) {\n            for (const node of nodes) {\n              const pos = getAdjustedStartPosition(sourceFile, node, options, hasTrailingComment);\n              const end = getAdjustedEndPosition(sourceFile, node, options);\n              this.deleteRange(sourceFile, { pos, end });\n              hasTrailingComment = !!getEndPositionOfMultilineTrailingComment(sourceFile, node, options);\n            }\n          }\n          deleteModifier(sourceFile, modifier) {\n            this.deleteRange(sourceFile, { pos: modifier.getStart(sourceFile), end: skipTrivia(\n              sourceFile.text,\n              modifier.end,\n              /*stopAfterLineBreak*/\n              true\n            ) });\n          }\n          deleteNodeRange(sourceFile, startNode2, endNode2, options = {\n            leadingTriviaOption: 1\n            /* IncludeAll */\n          }) {\n            const startPosition = getAdjustedStartPosition(sourceFile, startNode2, options);\n            const endPosition = getAdjustedEndPosition(sourceFile, endNode2, options);\n            this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });\n          }\n          deleteNodeRangeExcludingEnd(sourceFile, startNode2, afterEndNode, options = {\n            leadingTriviaOption: 1\n            /* IncludeAll */\n          }) {\n            const startPosition = getAdjustedStartPosition(sourceFile, startNode2, options);\n            const endPosition = afterEndNode === void 0 ? sourceFile.text.length : getAdjustedStartPosition(sourceFile, afterEndNode, options);\n            this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });\n          }\n          replaceRange(sourceFile, range, newNode, options = {}) {\n            this.changes.push({ kind: 1, sourceFile, range, options, node: newNode });\n          }\n          replaceNode(sourceFile, oldNode, newNode, options = useNonAdjustedPositions) {\n            this.replaceRange(sourceFile, getAdjustedRange(sourceFile, oldNode, oldNode, options), newNode, options);\n          }\n          replaceNodeRange(sourceFile, startNode2, endNode2, newNode, options = useNonAdjustedPositions) {\n            this.replaceRange(sourceFile, getAdjustedRange(sourceFile, startNode2, endNode2, options), newNode, options);\n          }\n          replaceRangeWithNodes(sourceFile, range, newNodes, options = {}) {\n            this.changes.push({ kind: 2, sourceFile, range, options, nodes: newNodes });\n          }\n          replaceNodeWithNodes(sourceFile, oldNode, newNodes, options = useNonAdjustedPositions) {\n            this.replaceRangeWithNodes(sourceFile, getAdjustedRange(sourceFile, oldNode, oldNode, options), newNodes, options);\n          }\n          replaceNodeWithText(sourceFile, oldNode, text) {\n            this.replaceRangeWithText(sourceFile, getAdjustedRange(sourceFile, oldNode, oldNode, useNonAdjustedPositions), text);\n          }\n          replaceNodeRangeWithNodes(sourceFile, startNode2, endNode2, newNodes, options = useNonAdjustedPositions) {\n            this.replaceRangeWithNodes(sourceFile, getAdjustedRange(sourceFile, startNode2, endNode2, options), newNodes, options);\n          }\n          nodeHasTrailingComment(sourceFile, oldNode, configurableEnd = useNonAdjustedPositions) {\n            return !!getEndPositionOfMultilineTrailingComment(sourceFile, oldNode, configurableEnd);\n          }\n          nextCommaToken(sourceFile, node) {\n            const next = findNextToken(node, node.parent, sourceFile);\n            return next && next.kind === 27 ? next : void 0;\n          }\n          replacePropertyAssignment(sourceFile, oldNode, newNode) {\n            const suffix = this.nextCommaToken(sourceFile, oldNode) ? \"\" : \",\" + this.newLineCharacter;\n            this.replaceNode(sourceFile, oldNode, newNode, { suffix });\n          }\n          insertNodeAt(sourceFile, pos, newNode, options = {}) {\n            this.replaceRange(sourceFile, createRange(pos), newNode, options);\n          }\n          insertNodesAt(sourceFile, pos, newNodes, options = {}) {\n            this.replaceRangeWithNodes(sourceFile, createRange(pos), newNodes, options);\n          }\n          insertNodeAtTopOfFile(sourceFile, newNode, blankLineBetween) {\n            this.insertAtTopOfFile(sourceFile, newNode, blankLineBetween);\n          }\n          insertNodesAtTopOfFile(sourceFile, newNodes, blankLineBetween) {\n            this.insertAtTopOfFile(sourceFile, newNodes, blankLineBetween);\n          }\n          insertAtTopOfFile(sourceFile, insert, blankLineBetween) {\n            const pos = getInsertionPositionAtSourceFileTop(sourceFile);\n            const options = {\n              prefix: pos === 0 ? void 0 : this.newLineCharacter,\n              suffix: (isLineBreak(sourceFile.text.charCodeAt(pos)) ? \"\" : this.newLineCharacter) + (blankLineBetween ? this.newLineCharacter : \"\")\n            };\n            if (isArray(insert)) {\n              this.insertNodesAt(sourceFile, pos, insert, options);\n            } else {\n              this.insertNodeAt(sourceFile, pos, insert, options);\n            }\n          }\n          insertFirstParameter(sourceFile, parameters, newParam) {\n            const p0 = firstOrUndefined(parameters);\n            if (p0) {\n              this.insertNodeBefore(sourceFile, p0, newParam);\n            } else {\n              this.insertNodeAt(sourceFile, parameters.pos, newParam);\n            }\n          }\n          insertNodeBefore(sourceFile, before, newNode, blankLineBetween = false, options = {}) {\n            this.insertNodeAt(sourceFile, getAdjustedStartPosition(sourceFile, before, options), newNode, this.getOptionsForInsertNodeBefore(before, newNode, blankLineBetween));\n          }\n          insertModifierAt(sourceFile, pos, modifier, options = {}) {\n            this.insertNodeAt(sourceFile, pos, factory.createToken(modifier), options);\n          }\n          insertModifierBefore(sourceFile, modifier, before) {\n            return this.insertModifierAt(sourceFile, before.getStart(sourceFile), modifier, { suffix: \" \" });\n          }\n          insertCommentBeforeLine(sourceFile, lineNumber, position, commentText) {\n            const lineStartPosition = getStartPositionOfLine(lineNumber, sourceFile);\n            const startPosition = getFirstNonSpaceCharacterPosition(sourceFile.text, lineStartPosition);\n            const insertAtLineStart = isValidLocationToAddComment(sourceFile, startPosition);\n            const token = getTouchingToken(sourceFile, insertAtLineStart ? startPosition : position);\n            const indent2 = sourceFile.text.slice(lineStartPosition, startPosition);\n            const text = `${insertAtLineStart ? \"\" : this.newLineCharacter}//${commentText}${this.newLineCharacter}${indent2}`;\n            this.insertText(sourceFile, token.getStart(sourceFile), text);\n          }\n          insertJsdocCommentBefore(sourceFile, node, tag) {\n            const fnStart = node.getStart(sourceFile);\n            if (node.jsDoc) {\n              for (const jsdoc of node.jsDoc) {\n                this.deleteRange(sourceFile, {\n                  pos: getLineStartPositionForPosition(jsdoc.getStart(sourceFile), sourceFile),\n                  end: getAdjustedEndPosition(\n                    sourceFile,\n                    jsdoc,\n                    /*options*/\n                    {}\n                  )\n                });\n              }\n            }\n            const startPosition = getPrecedingNonSpaceCharacterPosition(sourceFile.text, fnStart - 1);\n            const indent2 = sourceFile.text.slice(startPosition, fnStart);\n            this.insertNodeAt(sourceFile, fnStart, tag, { suffix: this.newLineCharacter + indent2 });\n          }\n          createJSDocText(sourceFile, node) {\n            const comments = flatMap(node.jsDoc, (jsDoc2) => isString2(jsDoc2.comment) ? factory.createJSDocText(jsDoc2.comment) : jsDoc2.comment);\n            const jsDoc = singleOrUndefined(node.jsDoc);\n            return jsDoc && positionsAreOnSameLine(jsDoc.pos, jsDoc.end, sourceFile) && length(comments) === 0 ? void 0 : factory.createNodeArray(intersperse(comments, factory.createJSDocText(\"\\n\")));\n          }\n          replaceJSDocComment(sourceFile, node, tags) {\n            this.insertJsdocCommentBefore(sourceFile, updateJSDocHost(node), factory.createJSDocComment(this.createJSDocText(sourceFile, node), factory.createNodeArray(tags)));\n          }\n          addJSDocTags(sourceFile, parent2, newTags) {\n            const oldTags = flatMapToMutable(parent2.jsDoc, (j) => j.tags);\n            const unmergedNewTags = newTags.filter((newTag) => !oldTags.some((tag, i) => {\n              const merged = tryMergeJsdocTags(tag, newTag);\n              if (merged)\n                oldTags[i] = merged;\n              return !!merged;\n            }));\n            this.replaceJSDocComment(sourceFile, parent2, [...oldTags, ...unmergedNewTags]);\n          }\n          filterJSDocTags(sourceFile, parent2, predicate) {\n            this.replaceJSDocComment(sourceFile, parent2, filter(flatMapToMutable(parent2.jsDoc, (j) => j.tags), predicate));\n          }\n          replaceRangeWithText(sourceFile, range, text) {\n            this.changes.push({ kind: 3, sourceFile, range, text });\n          }\n          insertText(sourceFile, pos, text) {\n            this.replaceRangeWithText(sourceFile, createRange(pos), text);\n          }\n          /** Prefer this over replacing a node with another that has a type annotation, as it avoids reformatting the other parts of the node. */\n          tryInsertTypeAnnotation(sourceFile, node, type) {\n            var _a22;\n            let endNode2;\n            if (isFunctionLike(node)) {\n              endNode2 = findChildOfKind(node, 21, sourceFile);\n              if (!endNode2) {\n                if (!isArrowFunction(node))\n                  return false;\n                endNode2 = first(node.parameters);\n              }\n            } else {\n              endNode2 = (_a22 = node.kind === 257 ? node.exclamationToken : node.questionToken) != null ? _a22 : node.name;\n            }\n            this.insertNodeAt(sourceFile, endNode2.end, type, { prefix: \": \" });\n            return true;\n          }\n          tryInsertThisTypeAnnotation(sourceFile, node, type) {\n            const start = findChildOfKind(node, 20, sourceFile).getStart(sourceFile) + 1;\n            const suffix = node.parameters.length ? \", \" : \"\";\n            this.insertNodeAt(sourceFile, start, type, { prefix: \"this: \", suffix });\n          }\n          insertTypeParameters(sourceFile, node, typeParameters) {\n            const start = (findChildOfKind(node, 20, sourceFile) || first(node.parameters)).getStart(sourceFile);\n            this.insertNodesAt(sourceFile, start, typeParameters, { prefix: \"<\", suffix: \">\", joiner: \", \" });\n          }\n          getOptionsForInsertNodeBefore(before, inserted, blankLineBetween) {\n            if (isStatement(before) || isClassElement(before)) {\n              return { suffix: blankLineBetween ? this.newLineCharacter + this.newLineCharacter : this.newLineCharacter };\n            } else if (isVariableDeclaration(before)) {\n              return { suffix: \", \" };\n            } else if (isParameter(before)) {\n              return isParameter(inserted) ? { suffix: \", \" } : {};\n            } else if (isStringLiteral(before) && isImportDeclaration(before.parent) || isNamedImports(before)) {\n              return { suffix: \", \" };\n            } else if (isImportSpecifier(before)) {\n              return { suffix: \",\" + (blankLineBetween ? this.newLineCharacter : \" \") };\n            }\n            return Debug2.failBadSyntaxKind(before);\n          }\n          insertNodeAtConstructorStart(sourceFile, ctr, newStatement) {\n            const firstStatement = firstOrUndefined(ctr.body.statements);\n            if (!firstStatement || !ctr.body.multiLine) {\n              this.replaceConstructorBody(sourceFile, ctr, [newStatement, ...ctr.body.statements]);\n            } else {\n              this.insertNodeBefore(sourceFile, firstStatement, newStatement);\n            }\n          }\n          insertNodeAtConstructorStartAfterSuperCall(sourceFile, ctr, newStatement) {\n            const superCallStatement = find(ctr.body.statements, (stmt) => isExpressionStatement(stmt) && isSuperCall(stmt.expression));\n            if (!superCallStatement || !ctr.body.multiLine) {\n              this.replaceConstructorBody(sourceFile, ctr, [...ctr.body.statements, newStatement]);\n            } else {\n              this.insertNodeAfter(sourceFile, superCallStatement, newStatement);\n            }\n          }\n          insertNodeAtConstructorEnd(sourceFile, ctr, newStatement) {\n            const lastStatement = lastOrUndefined(ctr.body.statements);\n            if (!lastStatement || !ctr.body.multiLine) {\n              this.replaceConstructorBody(sourceFile, ctr, [...ctr.body.statements, newStatement]);\n            } else {\n              this.insertNodeAfter(sourceFile, lastStatement, newStatement);\n            }\n          }\n          replaceConstructorBody(sourceFile, ctr, statements) {\n            this.replaceNode(sourceFile, ctr.body, factory.createBlock(\n              statements,\n              /*multiLine*/\n              true\n            ));\n          }\n          insertNodeAtEndOfScope(sourceFile, scope, newNode) {\n            const pos = getAdjustedStartPosition(sourceFile, scope.getLastToken(), {});\n            this.insertNodeAt(sourceFile, pos, newNode, {\n              prefix: isLineBreak(sourceFile.text.charCodeAt(scope.getLastToken().pos)) ? this.newLineCharacter : this.newLineCharacter + this.newLineCharacter,\n              suffix: this.newLineCharacter\n            });\n          }\n          insertMemberAtStart(sourceFile, node, newElement) {\n            this.insertNodeAtStartWorker(sourceFile, node, newElement);\n          }\n          insertNodeAtObjectStart(sourceFile, obj, newElement) {\n            this.insertNodeAtStartWorker(sourceFile, obj, newElement);\n          }\n          insertNodeAtStartWorker(sourceFile, node, newElement) {\n            var _a22;\n            const indentation = (_a22 = this.guessIndentationFromExistingMembers(sourceFile, node)) != null ? _a22 : this.computeIndentationForNewMember(sourceFile, node);\n            this.insertNodeAt(sourceFile, getMembersOrProperties(node).pos, newElement, this.getInsertNodeAtStartInsertOptions(sourceFile, node, indentation));\n          }\n          /**\n           * Tries to guess the indentation from the existing members of a class/interface/object. All members must be on\n           * new lines and must share the same indentation.\n           */\n          guessIndentationFromExistingMembers(sourceFile, node) {\n            let indentation;\n            let lastRange = node;\n            for (const member of getMembersOrProperties(node)) {\n              if (rangeStartPositionsAreOnSameLine(lastRange, member, sourceFile)) {\n                return void 0;\n              }\n              const memberStart = member.getStart(sourceFile);\n              const memberIndentation = ts_formatting_exports.SmartIndenter.findFirstNonWhitespaceColumn(getLineStartPositionForPosition(memberStart, sourceFile), memberStart, sourceFile, this.formatContext.options);\n              if (indentation === void 0) {\n                indentation = memberIndentation;\n              } else if (memberIndentation !== indentation) {\n                return void 0;\n              }\n              lastRange = member;\n            }\n            return indentation;\n          }\n          computeIndentationForNewMember(sourceFile, node) {\n            var _a22;\n            const nodeStart = node.getStart(sourceFile);\n            return ts_formatting_exports.SmartIndenter.findFirstNonWhitespaceColumn(getLineStartPositionForPosition(nodeStart, sourceFile), nodeStart, sourceFile, this.formatContext.options) + ((_a22 = this.formatContext.options.indentSize) != null ? _a22 : 4);\n          }\n          getInsertNodeAtStartInsertOptions(sourceFile, node, indentation) {\n            const members = getMembersOrProperties(node);\n            const isEmpty = members.length === 0;\n            const isFirstInsertion = addToSeen(this.classesWithNodesInsertedAtStart, getNodeId(node), { node, sourceFile });\n            const insertTrailingComma = isObjectLiteralExpression(node) && (!isJsonSourceFile(sourceFile) || !isEmpty);\n            const insertLeadingComma = isObjectLiteralExpression(node) && isJsonSourceFile(sourceFile) && isEmpty && !isFirstInsertion;\n            return {\n              indentation,\n              prefix: (insertLeadingComma ? \",\" : \"\") + this.newLineCharacter,\n              suffix: insertTrailingComma ? \",\" : isInterfaceDeclaration(node) && isEmpty ? \";\" : \"\"\n            };\n          }\n          insertNodeAfterComma(sourceFile, after, newNode) {\n            const endPosition = this.insertNodeAfterWorker(sourceFile, this.nextCommaToken(sourceFile, after) || after, newNode);\n            this.insertNodeAt(sourceFile, endPosition, newNode, this.getInsertNodeAfterOptions(sourceFile, after));\n          }\n          insertNodeAfter(sourceFile, after, newNode) {\n            const endPosition = this.insertNodeAfterWorker(sourceFile, after, newNode);\n            this.insertNodeAt(sourceFile, endPosition, newNode, this.getInsertNodeAfterOptions(sourceFile, after));\n          }\n          insertNodeAtEndOfList(sourceFile, list, newNode) {\n            this.insertNodeAt(sourceFile, list.end, newNode, { prefix: \", \" });\n          }\n          insertNodesAfter(sourceFile, after, newNodes) {\n            const endPosition = this.insertNodeAfterWorker(sourceFile, after, first(newNodes));\n            this.insertNodesAt(sourceFile, endPosition, newNodes, this.getInsertNodeAfterOptions(sourceFile, after));\n          }\n          insertNodeAfterWorker(sourceFile, after, newNode) {\n            if (needSemicolonBetween(after, newNode)) {\n              if (sourceFile.text.charCodeAt(after.end - 1) !== 59) {\n                this.replaceRange(sourceFile, createRange(after.end), factory.createToken(\n                  26\n                  /* SemicolonToken */\n                ));\n              }\n            }\n            const endPosition = getAdjustedEndPosition(sourceFile, after, {});\n            return endPosition;\n          }\n          getInsertNodeAfterOptions(sourceFile, after) {\n            const options = this.getInsertNodeAfterOptionsWorker(after);\n            return {\n              ...options,\n              prefix: after.end === sourceFile.end && isStatement(after) ? options.prefix ? `\n${options.prefix}` : \"\\n\" : options.prefix\n            };\n          }\n          getInsertNodeAfterOptionsWorker(node) {\n            switch (node.kind) {\n              case 260:\n              case 264:\n                return { prefix: this.newLineCharacter, suffix: this.newLineCharacter };\n              case 257:\n              case 10:\n              case 79:\n                return { prefix: \", \" };\n              case 299:\n                return { suffix: \",\" + this.newLineCharacter };\n              case 93:\n                return { prefix: \" \" };\n              case 166:\n                return {};\n              default:\n                Debug2.assert(isStatement(node) || isClassOrTypeElement(node));\n                return { suffix: this.newLineCharacter };\n            }\n          }\n          insertName(sourceFile, node, name) {\n            Debug2.assert(!node.name);\n            if (node.kind === 216) {\n              const arrow = findChildOfKind(node, 38, sourceFile);\n              const lparen = findChildOfKind(node, 20, sourceFile);\n              if (lparen) {\n                this.insertNodesAt(sourceFile, lparen.getStart(sourceFile), [factory.createToken(\n                  98\n                  /* FunctionKeyword */\n                ), factory.createIdentifier(name)], { joiner: \" \" });\n                deleteNode(this, sourceFile, arrow);\n              } else {\n                this.insertText(sourceFile, first(node.parameters).getStart(sourceFile), `function ${name}(`);\n                this.replaceRange(sourceFile, arrow, factory.createToken(\n                  21\n                  /* CloseParenToken */\n                ));\n              }\n              if (node.body.kind !== 238) {\n                this.insertNodesAt(sourceFile, node.body.getStart(sourceFile), [factory.createToken(\n                  18\n                  /* OpenBraceToken */\n                ), factory.createToken(\n                  105\n                  /* ReturnKeyword */\n                )], { joiner: \" \", suffix: \" \" });\n                this.insertNodesAt(sourceFile, node.body.end, [factory.createToken(\n                  26\n                  /* SemicolonToken */\n                ), factory.createToken(\n                  19\n                  /* CloseBraceToken */\n                )], { joiner: \" \" });\n              }\n            } else {\n              const pos = findChildOfKind(node, node.kind === 215 ? 98 : 84, sourceFile).end;\n              this.insertNodeAt(sourceFile, pos, factory.createIdentifier(name), { prefix: \" \" });\n            }\n          }\n          insertExportModifier(sourceFile, node) {\n            this.insertText(sourceFile, node.getStart(sourceFile), \"export \");\n          }\n          insertImportSpecifierAtIndex(sourceFile, importSpecifier, namedImports, index) {\n            const prevSpecifier = namedImports.elements[index - 1];\n            if (prevSpecifier) {\n              this.insertNodeInListAfter(sourceFile, prevSpecifier, importSpecifier);\n            } else {\n              this.insertNodeBefore(\n                sourceFile,\n                namedImports.elements[0],\n                importSpecifier,\n                !positionsAreOnSameLine(namedImports.elements[0].getStart(), namedImports.parent.parent.getStart(), sourceFile)\n              );\n            }\n          }\n          /**\n           * This function should be used to insert nodes in lists when nodes don't carry separators as the part of the node range,\n           * i.e. arguments in arguments lists, parameters in parameter lists etc.\n           * Note that separators are part of the node in statements and class elements.\n           */\n          insertNodeInListAfter(sourceFile, after, newNode, containingList = ts_formatting_exports.SmartIndenter.getContainingList(after, sourceFile)) {\n            if (!containingList) {\n              Debug2.fail(\"node is not a list element\");\n              return;\n            }\n            const index = indexOfNode(containingList, after);\n            if (index < 0) {\n              return;\n            }\n            const end = after.getEnd();\n            if (index !== containingList.length - 1) {\n              const nextToken = getTokenAtPosition(sourceFile, after.end);\n              if (nextToken && isSeparator(after, nextToken)) {\n                const nextNode = containingList[index + 1];\n                const startPos = skipWhitespacesAndLineBreaks(sourceFile.text, nextNode.getFullStart());\n                const suffix = `${tokenToString(nextToken.kind)}${sourceFile.text.substring(nextToken.end, startPos)}`;\n                this.insertNodesAt(sourceFile, startPos, [newNode], { suffix });\n              }\n            } else {\n              const afterStart = after.getStart(sourceFile);\n              const afterStartLinePosition = getLineStartPositionForPosition(afterStart, sourceFile);\n              let separator;\n              let multilineList = false;\n              if (containingList.length === 1) {\n                separator = 27;\n              } else {\n                const tokenBeforeInsertPosition = findPrecedingToken(after.pos, sourceFile);\n                separator = isSeparator(after, tokenBeforeInsertPosition) ? tokenBeforeInsertPosition.kind : 27;\n                const afterMinusOneStartLinePosition = getLineStartPositionForPosition(containingList[index - 1].getStart(sourceFile), sourceFile);\n                multilineList = afterMinusOneStartLinePosition !== afterStartLinePosition;\n              }\n              if (hasCommentsBeforeLineBreak(sourceFile.text, after.end)) {\n                multilineList = true;\n              }\n              if (multilineList) {\n                this.replaceRange(sourceFile, createRange(end), factory.createToken(separator));\n                const indentation = ts_formatting_exports.SmartIndenter.findFirstNonWhitespaceColumn(afterStartLinePosition, afterStart, sourceFile, this.formatContext.options);\n                let insertPos = skipTrivia(\n                  sourceFile.text,\n                  end,\n                  /*stopAfterLineBreak*/\n                  true,\n                  /*stopAtComments*/\n                  false\n                );\n                while (insertPos !== end && isLineBreak(sourceFile.text.charCodeAt(insertPos - 1))) {\n                  insertPos--;\n                }\n                this.replaceRange(sourceFile, createRange(insertPos), newNode, { indentation, prefix: this.newLineCharacter });\n              } else {\n                this.replaceRange(sourceFile, createRange(end), newNode, { prefix: `${tokenToString(separator)} ` });\n              }\n            }\n          }\n          parenthesizeExpression(sourceFile, expression) {\n            this.replaceRange(sourceFile, rangeOfNode(expression), factory.createParenthesizedExpression(expression));\n          }\n          finishClassesWithNodesInsertedAtStart() {\n            this.classesWithNodesInsertedAtStart.forEach(({ node, sourceFile }) => {\n              const [openBraceEnd, closeBraceEnd] = getClassOrObjectBraceEnds(node, sourceFile);\n              if (openBraceEnd !== void 0 && closeBraceEnd !== void 0) {\n                const isEmpty = getMembersOrProperties(node).length === 0;\n                const isSingleLine = positionsAreOnSameLine(openBraceEnd, closeBraceEnd, sourceFile);\n                if (isEmpty && isSingleLine && openBraceEnd !== closeBraceEnd - 1) {\n                  this.deleteRange(sourceFile, createRange(openBraceEnd, closeBraceEnd - 1));\n                }\n                if (isSingleLine) {\n                  this.insertText(sourceFile, closeBraceEnd - 1, this.newLineCharacter);\n                }\n              }\n            });\n          }\n          finishDeleteDeclarations() {\n            const deletedNodesInLists = /* @__PURE__ */ new Set();\n            for (const { sourceFile, node } of this.deletedNodes) {\n              if (!this.deletedNodes.some((d) => d.sourceFile === sourceFile && rangeContainsRangeExclusive(d.node, node))) {\n                if (isArray(node)) {\n                  this.deleteRange(sourceFile, rangeOfTypeParameters(sourceFile, node));\n                } else {\n                  deleteDeclaration.deleteDeclaration(this, deletedNodesInLists, sourceFile, node);\n                }\n              }\n            }\n            deletedNodesInLists.forEach((node) => {\n              const sourceFile = node.getSourceFile();\n              const list = ts_formatting_exports.SmartIndenter.getContainingList(node, sourceFile);\n              if (node !== last(list))\n                return;\n              const lastNonDeletedIndex = findLastIndex(list, (n) => !deletedNodesInLists.has(n), list.length - 2);\n              if (lastNonDeletedIndex !== -1) {\n                this.deleteRange(sourceFile, { pos: list[lastNonDeletedIndex].end, end: startPositionToDeleteNodeInList(sourceFile, list[lastNonDeletedIndex + 1]) });\n              }\n            });\n          }\n          /**\n           * Note: after calling this, the TextChanges object must be discarded!\n           * @param validate only for tests\n           *    The reason we must validate as part of this method is that `getNonFormattedText` changes the node's positions,\n           *    so we can only call this once and can't get the non-formatted text separately.\n           */\n          getChanges(validate) {\n            this.finishDeleteDeclarations();\n            this.finishClassesWithNodesInsertedAtStart();\n            const changes = changesToText.getTextChangesFromChanges(this.changes, this.newLineCharacter, this.formatContext, validate);\n            for (const { oldFile, fileName, statements } of this.newFiles) {\n              changes.push(changesToText.newFileChanges(oldFile, fileName, statements, this.newLineCharacter, this.formatContext));\n            }\n            return changes;\n          }\n          createNewFile(oldFile, fileName, statements) {\n            this.newFiles.push({ oldFile, fileName, statements });\n          }\n        };\n        ((changesToText2) => {\n          function getTextChangesFromChanges(changes, newLineCharacter, formatContext, validate) {\n            return mapDefined(group(changes, (c) => c.sourceFile.path), (changesInFile) => {\n              const sourceFile = changesInFile[0].sourceFile;\n              const normalized = stableSort(changesInFile, (a, b) => a.range.pos - b.range.pos || a.range.end - b.range.end);\n              for (let i = 0; i < normalized.length - 1; i++) {\n                Debug2.assert(normalized[i].range.end <= normalized[i + 1].range.pos, \"Changes overlap\", () => `${JSON.stringify(normalized[i].range)} and ${JSON.stringify(normalized[i + 1].range)}`);\n              }\n              const textChanges2 = mapDefined(normalized, (c) => {\n                const span = createTextSpanFromRange(c.range);\n                const newText = computeNewText(c, sourceFile, newLineCharacter, formatContext, validate);\n                if (span.length === newText.length && stringContainsAt(sourceFile.text, newText, span.start)) {\n                  return void 0;\n                }\n                return createTextChange(span, newText);\n              });\n              return textChanges2.length > 0 ? { fileName: sourceFile.fileName, textChanges: textChanges2 } : void 0;\n            });\n          }\n          changesToText2.getTextChangesFromChanges = getTextChangesFromChanges;\n          function newFileChanges(oldFile, fileName, statements, newLineCharacter, formatContext) {\n            const text = newFileChangesWorker(oldFile, getScriptKindFromFileName(fileName), statements, newLineCharacter, formatContext);\n            return { fileName, textChanges: [createTextChange(createTextSpan(0, 0), text)], isNewFile: true };\n          }\n          changesToText2.newFileChanges = newFileChanges;\n          function newFileChangesWorker(oldFile, scriptKind, statements, newLineCharacter, formatContext) {\n            const nonFormattedText = statements.map((s) => s === 4 ? \"\" : getNonformattedText(s, oldFile, newLineCharacter).text).join(newLineCharacter);\n            const sourceFile = createSourceFile(\n              \"any file name\",\n              nonFormattedText,\n              99,\n              /*setParentNodes*/\n              true,\n              scriptKind\n            );\n            const changes = ts_formatting_exports.formatDocument(sourceFile, formatContext);\n            return applyChanges(nonFormattedText, changes) + newLineCharacter;\n          }\n          changesToText2.newFileChangesWorker = newFileChangesWorker;\n          function computeNewText(change, sourceFile, newLineCharacter, formatContext, validate) {\n            var _a22;\n            if (change.kind === 0) {\n              return \"\";\n            }\n            if (change.kind === 3) {\n              return change.text;\n            }\n            const { options = {}, range: { pos } } = change;\n            const format = (n) => getFormattedTextOfNode(n, sourceFile, pos, options, newLineCharacter, formatContext, validate);\n            const text = change.kind === 2 ? change.nodes.map((n) => removeSuffix(format(n), newLineCharacter)).join(((_a22 = change.options) == null ? void 0 : _a22.joiner) || newLineCharacter) : format(change.node);\n            const noIndent = options.indentation !== void 0 || getLineStartPositionForPosition(pos, sourceFile) === pos ? text : text.replace(/^\\s+/, \"\");\n            return (options.prefix || \"\") + noIndent + (!options.suffix || endsWith(noIndent, options.suffix) ? \"\" : options.suffix);\n          }\n          function getFormattedTextOfNode(nodeIn, sourceFile, pos, { indentation, prefix, delta }, newLineCharacter, formatContext, validate) {\n            const { node, text } = getNonformattedText(nodeIn, sourceFile, newLineCharacter);\n            if (validate)\n              validate(node, text);\n            const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile);\n            const initialIndentation = indentation !== void 0 ? indentation : ts_formatting_exports.SmartIndenter.getIndentation(pos, sourceFile, formatOptions, prefix === newLineCharacter || getLineStartPositionForPosition(pos, sourceFile) === pos);\n            if (delta === void 0) {\n              delta = ts_formatting_exports.SmartIndenter.shouldIndentChildNode(formatOptions, nodeIn) ? formatOptions.indentSize || 0 : 0;\n            }\n            const file = {\n              text,\n              getLineAndCharacterOfPosition(pos2) {\n                return getLineAndCharacterOfPosition(this, pos2);\n              }\n            };\n            const changes = ts_formatting_exports.formatNodeGivenIndentation(node, file, sourceFile.languageVariant, initialIndentation, delta, { ...formatContext, options: formatOptions });\n            return applyChanges(text, changes);\n          }\n          function getNonformattedText(node, sourceFile, newLineCharacter) {\n            const writer = createWriter(newLineCharacter);\n            const newLine = getNewLineKind(newLineCharacter);\n            createPrinter({\n              newLine,\n              neverAsciiEscape: true,\n              preserveSourceNewlines: true,\n              terminateUnterminatedLiterals: true\n            }, writer).writeNode(4, node, sourceFile, writer);\n            return { text: writer.getText(), node: assignPositionsToNode(node) };\n          }\n          changesToText2.getNonformattedText = getNonformattedText;\n        })(changesToText || (changesToText = {}));\n        textChangesTransformationContext = {\n          ...nullTransformationContext,\n          factory: createNodeFactory(\n            nullTransformationContext.factory.flags | 1,\n            nullTransformationContext.factory.baseFactory\n          )\n        };\n        ((_deleteDeclaration) => {\n          function deleteDeclaration2(changes, deletedNodesInLists, sourceFile, node) {\n            switch (node.kind) {\n              case 166: {\n                const oldFunction = node.parent;\n                if (isArrowFunction(oldFunction) && oldFunction.parameters.length === 1 && !findChildOfKind(oldFunction, 20, sourceFile)) {\n                  changes.replaceNodeWithText(sourceFile, node, \"()\");\n                } else {\n                  deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n                }\n                break;\n              }\n              case 269:\n              case 268:\n                const isFirstImport = sourceFile.imports.length && node === first(sourceFile.imports).parent || node === find(sourceFile.statements, isAnyImportSyntax);\n                deleteNode(changes, sourceFile, node, {\n                  leadingTriviaOption: isFirstImport ? 0 : hasJSDocNodes(node) ? 2 : 3\n                  /* StartLine */\n                });\n                break;\n              case 205:\n                const pattern = node.parent;\n                const preserveComma = pattern.kind === 204 && node !== last(pattern.elements);\n                if (preserveComma) {\n                  deleteNode(changes, sourceFile, node);\n                } else {\n                  deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n                }\n                break;\n              case 257:\n                deleteVariableDeclaration(changes, deletedNodesInLists, sourceFile, node);\n                break;\n              case 165:\n                deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n                break;\n              case 273:\n                const namedImports = node.parent;\n                if (namedImports.elements.length === 1) {\n                  deleteImportBinding(changes, sourceFile, namedImports);\n                } else {\n                  deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n                }\n                break;\n              case 271:\n                deleteImportBinding(changes, sourceFile, node);\n                break;\n              case 26:\n                deleteNode(changes, sourceFile, node, {\n                  trailingTriviaOption: 0\n                  /* Exclude */\n                });\n                break;\n              case 98:\n                deleteNode(changes, sourceFile, node, {\n                  leadingTriviaOption: 0\n                  /* Exclude */\n                });\n                break;\n              case 260:\n              case 259:\n                deleteNode(changes, sourceFile, node, {\n                  leadingTriviaOption: hasJSDocNodes(node) ? 2 : 3\n                  /* StartLine */\n                });\n                break;\n              default:\n                if (!node.parent) {\n                  deleteNode(changes, sourceFile, node);\n                } else if (isImportClause(node.parent) && node.parent.name === node) {\n                  deleteDefaultImport(changes, sourceFile, node.parent);\n                } else if (isCallExpression(node.parent) && contains(node.parent.arguments, node)) {\n                  deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n                } else {\n                  deleteNode(changes, sourceFile, node);\n                }\n            }\n          }\n          _deleteDeclaration.deleteDeclaration = deleteDeclaration2;\n          function deleteDefaultImport(changes, sourceFile, importClause) {\n            if (!importClause.namedBindings) {\n              deleteNode(changes, sourceFile, importClause.parent);\n            } else {\n              const start = importClause.name.getStart(sourceFile);\n              const nextToken = getTokenAtPosition(sourceFile, importClause.name.end);\n              if (nextToken && nextToken.kind === 27) {\n                const end = skipTrivia(\n                  sourceFile.text,\n                  nextToken.end,\n                  /*stopAfterLineBreaks*/\n                  false,\n                  /*stopAtComments*/\n                  true\n                );\n                changes.deleteRange(sourceFile, { pos: start, end });\n              } else {\n                deleteNode(changes, sourceFile, importClause.name);\n              }\n            }\n          }\n          function deleteImportBinding(changes, sourceFile, node) {\n            if (node.parent.name) {\n              const previousToken = Debug2.checkDefined(getTokenAtPosition(sourceFile, node.pos - 1));\n              changes.deleteRange(sourceFile, { pos: previousToken.getStart(sourceFile), end: node.end });\n            } else {\n              const importDecl = getAncestor(\n                node,\n                269\n                /* ImportDeclaration */\n              );\n              deleteNode(changes, sourceFile, importDecl);\n            }\n          }\n          function deleteVariableDeclaration(changes, deletedNodesInLists, sourceFile, node) {\n            const { parent: parent2 } = node;\n            if (parent2.kind === 295) {\n              changes.deleteNodeRange(sourceFile, findChildOfKind(parent2, 20, sourceFile), findChildOfKind(parent2, 21, sourceFile));\n              return;\n            }\n            if (parent2.declarations.length !== 1) {\n              deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n              return;\n            }\n            const gp = parent2.parent;\n            switch (gp.kind) {\n              case 247:\n              case 246:\n                changes.replaceNode(sourceFile, node, factory.createObjectLiteralExpression());\n                break;\n              case 245:\n                deleteNode(changes, sourceFile, parent2);\n                break;\n              case 240:\n                deleteNode(changes, sourceFile, gp, {\n                  leadingTriviaOption: hasJSDocNodes(gp) ? 2 : 3\n                  /* StartLine */\n                });\n                break;\n              default:\n                Debug2.assertNever(gp);\n            }\n          }\n        })(deleteDeclaration || (deleteDeclaration = {}));\n      }\n    });\n    var ts_textChanges_exports = {};\n    __export2(ts_textChanges_exports, {\n      ChangeTracker: () => ChangeTracker,\n      LeadingTriviaOption: () => LeadingTriviaOption,\n      TrailingTriviaOption: () => TrailingTriviaOption,\n      applyChanges: () => applyChanges,\n      assignPositionsToNode: () => assignPositionsToNode,\n      createWriter: () => createWriter,\n      deleteNode: () => deleteNode,\n      getNewFileText: () => getNewFileText,\n      isThisTypeAnnotatable: () => isThisTypeAnnotatable,\n      isValidLocationToAddComment: () => isValidLocationToAddComment\n    });\n    var init_ts_textChanges = __esm({\n      \"src/services/_namespaces/ts.textChanges.ts\"() {\n        \"use strict\";\n        init_textChanges();\n      }\n    });\n    var FormattingRequestKind, FormattingContext;\n    var init_formattingContext = __esm({\n      \"src/services/formatting/formattingContext.ts\"() {\n        \"use strict\";\n        init_ts4();\n        FormattingRequestKind = /* @__PURE__ */ ((FormattingRequestKind2) => {\n          FormattingRequestKind2[FormattingRequestKind2[\"FormatDocument\"] = 0] = \"FormatDocument\";\n          FormattingRequestKind2[FormattingRequestKind2[\"FormatSelection\"] = 1] = \"FormatSelection\";\n          FormattingRequestKind2[FormattingRequestKind2[\"FormatOnEnter\"] = 2] = \"FormatOnEnter\";\n          FormattingRequestKind2[FormattingRequestKind2[\"FormatOnSemicolon\"] = 3] = \"FormatOnSemicolon\";\n          FormattingRequestKind2[FormattingRequestKind2[\"FormatOnOpeningCurlyBrace\"] = 4] = \"FormatOnOpeningCurlyBrace\";\n          FormattingRequestKind2[FormattingRequestKind2[\"FormatOnClosingCurlyBrace\"] = 5] = \"FormatOnClosingCurlyBrace\";\n          return FormattingRequestKind2;\n        })(FormattingRequestKind || {});\n        FormattingContext = class {\n          constructor(sourceFile, formattingRequestKind, options) {\n            this.sourceFile = sourceFile;\n            this.formattingRequestKind = formattingRequestKind;\n            this.options = options;\n          }\n          updateContext(currentRange, currentTokenParent, nextRange, nextTokenParent, commonParent) {\n            this.currentTokenSpan = Debug2.checkDefined(currentRange);\n            this.currentTokenParent = Debug2.checkDefined(currentTokenParent);\n            this.nextTokenSpan = Debug2.checkDefined(nextRange);\n            this.nextTokenParent = Debug2.checkDefined(nextTokenParent);\n            this.contextNode = Debug2.checkDefined(commonParent);\n            this.contextNodeAllOnSameLine = void 0;\n            this.nextNodeAllOnSameLine = void 0;\n            this.tokensAreOnSameLine = void 0;\n            this.contextNodeBlockIsOnOneLine = void 0;\n            this.nextNodeBlockIsOnOneLine = void 0;\n          }\n          ContextNodeAllOnSameLine() {\n            if (this.contextNodeAllOnSameLine === void 0) {\n              this.contextNodeAllOnSameLine = this.NodeIsOnOneLine(this.contextNode);\n            }\n            return this.contextNodeAllOnSameLine;\n          }\n          NextNodeAllOnSameLine() {\n            if (this.nextNodeAllOnSameLine === void 0) {\n              this.nextNodeAllOnSameLine = this.NodeIsOnOneLine(this.nextTokenParent);\n            }\n            return this.nextNodeAllOnSameLine;\n          }\n          TokensAreOnSameLine() {\n            if (this.tokensAreOnSameLine === void 0) {\n              const startLine = this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line;\n              const endLine = this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;\n              this.tokensAreOnSameLine = startLine === endLine;\n            }\n            return this.tokensAreOnSameLine;\n          }\n          ContextNodeBlockIsOnOneLine() {\n            if (this.contextNodeBlockIsOnOneLine === void 0) {\n              this.contextNodeBlockIsOnOneLine = this.BlockIsOnOneLine(this.contextNode);\n            }\n            return this.contextNodeBlockIsOnOneLine;\n          }\n          NextNodeBlockIsOnOneLine() {\n            if (this.nextNodeBlockIsOnOneLine === void 0) {\n              this.nextNodeBlockIsOnOneLine = this.BlockIsOnOneLine(this.nextTokenParent);\n            }\n            return this.nextNodeBlockIsOnOneLine;\n          }\n          NodeIsOnOneLine(node) {\n            const startLine = this.sourceFile.getLineAndCharacterOfPosition(node.getStart(this.sourceFile)).line;\n            const endLine = this.sourceFile.getLineAndCharacterOfPosition(node.getEnd()).line;\n            return startLine === endLine;\n          }\n          BlockIsOnOneLine(node) {\n            const openBrace = findChildOfKind(node, 18, this.sourceFile);\n            const closeBrace = findChildOfKind(node, 19, this.sourceFile);\n            if (openBrace && closeBrace) {\n              const startLine = this.sourceFile.getLineAndCharacterOfPosition(openBrace.getEnd()).line;\n              const endLine = this.sourceFile.getLineAndCharacterOfPosition(closeBrace.getStart(this.sourceFile)).line;\n              return startLine === endLine;\n            }\n            return false;\n          }\n        };\n      }\n    });\n    function getFormattingScanner(text, languageVariant, startPos, endPos, cb) {\n      const scanner2 = languageVariant === 1 ? jsxScanner : standardScanner;\n      scanner2.setText(text);\n      scanner2.setTextPos(startPos);\n      let wasNewLine = true;\n      let leadingTrivia;\n      let trailingTrivia;\n      let savedPos;\n      let lastScanAction;\n      let lastTokenInfo;\n      const res = cb({\n        advance,\n        readTokenInfo,\n        readEOFTokenRange,\n        isOnToken,\n        isOnEOF,\n        getCurrentLeadingTrivia: () => leadingTrivia,\n        lastTrailingTriviaWasNewLine: () => wasNewLine,\n        skipToEndOf,\n        skipToStartOf,\n        getStartPos: () => {\n          var _a22;\n          return (_a22 = lastTokenInfo == null ? void 0 : lastTokenInfo.token.pos) != null ? _a22 : scanner2.getTokenPos();\n        }\n      });\n      lastTokenInfo = void 0;\n      scanner2.setText(void 0);\n      return res;\n      function advance() {\n        lastTokenInfo = void 0;\n        const isStarted = scanner2.getStartPos() !== startPos;\n        if (isStarted) {\n          wasNewLine = !!trailingTrivia && last(trailingTrivia).kind === 4;\n        } else {\n          scanner2.scan();\n        }\n        leadingTrivia = void 0;\n        trailingTrivia = void 0;\n        let pos = scanner2.getStartPos();\n        while (pos < endPos) {\n          const t = scanner2.getToken();\n          if (!isTrivia(t)) {\n            break;\n          }\n          scanner2.scan();\n          const item = {\n            pos,\n            end: scanner2.getStartPos(),\n            kind: t\n          };\n          pos = scanner2.getStartPos();\n          leadingTrivia = append(leadingTrivia, item);\n        }\n        savedPos = scanner2.getStartPos();\n      }\n      function shouldRescanGreaterThanToken(node) {\n        switch (node.kind) {\n          case 33:\n          case 71:\n          case 72:\n          case 49:\n          case 48:\n            return true;\n        }\n        return false;\n      }\n      function shouldRescanJsxIdentifier(node) {\n        if (node.parent) {\n          switch (node.parent.kind) {\n            case 288:\n            case 283:\n            case 284:\n            case 282:\n              return isKeyword(node.kind) || node.kind === 79;\n          }\n        }\n        return false;\n      }\n      function shouldRescanJsxText(node) {\n        return isJsxText(node) || isJsxElement(node) && (lastTokenInfo == null ? void 0 : lastTokenInfo.token.kind) === 11;\n      }\n      function shouldRescanSlashToken(container) {\n        return container.kind === 13;\n      }\n      function shouldRescanTemplateToken(container) {\n        return container.kind === 16 || container.kind === 17;\n      }\n      function shouldRescanJsxAttributeValue(node) {\n        return node.parent && isJsxAttribute(node.parent) && node.parent.initializer === node;\n      }\n      function startsWithSlashToken(t) {\n        return t === 43 || t === 68;\n      }\n      function readTokenInfo(n) {\n        Debug2.assert(isOnToken());\n        const expectedScanAction = shouldRescanGreaterThanToken(n) ? 1 : shouldRescanSlashToken(n) ? 2 : shouldRescanTemplateToken(n) ? 3 : shouldRescanJsxIdentifier(n) ? 4 : shouldRescanJsxText(n) ? 5 : shouldRescanJsxAttributeValue(n) ? 6 : 0;\n        if (lastTokenInfo && expectedScanAction === lastScanAction) {\n          return fixTokenKind(lastTokenInfo, n);\n        }\n        if (scanner2.getStartPos() !== savedPos) {\n          Debug2.assert(lastTokenInfo !== void 0);\n          scanner2.setTextPos(savedPos);\n          scanner2.scan();\n        }\n        let currentToken = getNextToken(n, expectedScanAction);\n        const token = createTextRangeWithKind(\n          scanner2.getStartPos(),\n          scanner2.getTextPos(),\n          currentToken\n        );\n        if (trailingTrivia) {\n          trailingTrivia = void 0;\n        }\n        while (scanner2.getStartPos() < endPos) {\n          currentToken = scanner2.scan();\n          if (!isTrivia(currentToken)) {\n            break;\n          }\n          const trivia = createTextRangeWithKind(\n            scanner2.getStartPos(),\n            scanner2.getTextPos(),\n            currentToken\n          );\n          if (!trailingTrivia) {\n            trailingTrivia = [];\n          }\n          trailingTrivia.push(trivia);\n          if (currentToken === 4) {\n            scanner2.scan();\n            break;\n          }\n        }\n        lastTokenInfo = { leadingTrivia, trailingTrivia, token };\n        return fixTokenKind(lastTokenInfo, n);\n      }\n      function getNextToken(n, expectedScanAction) {\n        const token = scanner2.getToken();\n        lastScanAction = 0;\n        switch (expectedScanAction) {\n          case 1:\n            if (token === 31) {\n              lastScanAction = 1;\n              const newToken = scanner2.reScanGreaterToken();\n              Debug2.assert(n.kind === newToken);\n              return newToken;\n            }\n            break;\n          case 2:\n            if (startsWithSlashToken(token)) {\n              lastScanAction = 2;\n              const newToken = scanner2.reScanSlashToken();\n              Debug2.assert(n.kind === newToken);\n              return newToken;\n            }\n            break;\n          case 3:\n            if (token === 19) {\n              lastScanAction = 3;\n              return scanner2.reScanTemplateToken(\n                /* isTaggedTemplate */\n                false\n              );\n            }\n            break;\n          case 4:\n            lastScanAction = 4;\n            return scanner2.scanJsxIdentifier();\n          case 5:\n            lastScanAction = 5;\n            return scanner2.reScanJsxToken(\n              /* allowMultilineJsxText */\n              false\n            );\n          case 6:\n            lastScanAction = 6;\n            return scanner2.reScanJsxAttributeValue();\n          case 0:\n            break;\n          default:\n            Debug2.assertNever(expectedScanAction);\n        }\n        return token;\n      }\n      function readEOFTokenRange() {\n        Debug2.assert(isOnEOF());\n        return createTextRangeWithKind(\n          scanner2.getStartPos(),\n          scanner2.getTextPos(),\n          1\n          /* EndOfFileToken */\n        );\n      }\n      function isOnToken() {\n        const current = lastTokenInfo ? lastTokenInfo.token.kind : scanner2.getToken();\n        return current !== 1 && !isTrivia(current);\n      }\n      function isOnEOF() {\n        const current = lastTokenInfo ? lastTokenInfo.token.kind : scanner2.getToken();\n        return current === 1;\n      }\n      function fixTokenKind(tokenInfo, container) {\n        if (isToken(container) && tokenInfo.token.kind !== container.kind) {\n          tokenInfo.token.kind = container.kind;\n        }\n        return tokenInfo;\n      }\n      function skipToEndOf(node) {\n        scanner2.setTextPos(node.end);\n        savedPos = scanner2.getStartPos();\n        lastScanAction = void 0;\n        lastTokenInfo = void 0;\n        wasNewLine = false;\n        leadingTrivia = void 0;\n        trailingTrivia = void 0;\n      }\n      function skipToStartOf(node) {\n        scanner2.setTextPos(node.pos);\n        savedPos = scanner2.getStartPos();\n        lastScanAction = void 0;\n        lastTokenInfo = void 0;\n        wasNewLine = false;\n        leadingTrivia = void 0;\n        trailingTrivia = void 0;\n      }\n    }\n    var standardScanner, jsxScanner;\n    var init_formattingScanner = __esm({\n      \"src/services/formatting/formattingScanner.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_formatting();\n        standardScanner = createScanner(\n          99,\n          /*skipTrivia*/\n          false,\n          0\n          /* Standard */\n        );\n        jsxScanner = createScanner(\n          99,\n          /*skipTrivia*/\n          false,\n          1\n          /* JSX */\n        );\n      }\n    });\n    var anyContext, RuleAction, RuleFlags;\n    var init_rule = __esm({\n      \"src/services/formatting/rule.ts\"() {\n        \"use strict\";\n        init_ts4();\n        anyContext = emptyArray;\n        RuleAction = /* @__PURE__ */ ((RuleAction2) => {\n          RuleAction2[RuleAction2[\"None\"] = 0] = \"None\";\n          RuleAction2[RuleAction2[\"StopProcessingSpaceActions\"] = 1] = \"StopProcessingSpaceActions\";\n          RuleAction2[RuleAction2[\"StopProcessingTokenActions\"] = 2] = \"StopProcessingTokenActions\";\n          RuleAction2[RuleAction2[\"InsertSpace\"] = 4] = \"InsertSpace\";\n          RuleAction2[RuleAction2[\"InsertNewLine\"] = 8] = \"InsertNewLine\";\n          RuleAction2[RuleAction2[\"DeleteSpace\"] = 16] = \"DeleteSpace\";\n          RuleAction2[RuleAction2[\"DeleteToken\"] = 32] = \"DeleteToken\";\n          RuleAction2[RuleAction2[\"InsertTrailingSemicolon\"] = 64] = \"InsertTrailingSemicolon\";\n          RuleAction2[RuleAction2[\"StopAction\"] = 3] = \"StopAction\";\n          RuleAction2[RuleAction2[\"ModifySpaceAction\"] = 28] = \"ModifySpaceAction\";\n          RuleAction2[RuleAction2[\"ModifyTokenAction\"] = 96] = \"ModifyTokenAction\";\n          return RuleAction2;\n        })(RuleAction || {});\n        RuleFlags = /* @__PURE__ */ ((RuleFlags2) => {\n          RuleFlags2[RuleFlags2[\"None\"] = 0] = \"None\";\n          RuleFlags2[RuleFlags2[\"CanDeleteNewLines\"] = 1] = \"CanDeleteNewLines\";\n          return RuleFlags2;\n        })(RuleFlags || {});\n      }\n    });\n    function getAllRules() {\n      const allTokens = [];\n      for (let token = 0; token <= 162; token++) {\n        if (token !== 1) {\n          allTokens.push(token);\n        }\n      }\n      function anyTokenExcept(...tokens) {\n        return { tokens: allTokens.filter((t) => !tokens.some((t2) => t2 === t)), isSpecific: false };\n      }\n      const anyToken = { tokens: allTokens, isSpecific: false };\n      const anyTokenIncludingMultilineComments = tokenRangeFrom([\n        ...allTokens,\n        3\n        /* MultiLineCommentTrivia */\n      ]);\n      const anyTokenIncludingEOF = tokenRangeFrom([\n        ...allTokens,\n        1\n        /* EndOfFileToken */\n      ]);\n      const keywords = tokenRangeFromRange(\n        81,\n        162\n        /* LastKeyword */\n      );\n      const binaryOperators = tokenRangeFromRange(\n        29,\n        78\n        /* LastBinaryOperator */\n      );\n      const binaryKeywordOperators = [\n        101,\n        102,\n        162,\n        128,\n        140,\n        150\n        /* SatisfiesKeyword */\n      ];\n      const unaryPrefixOperators = [\n        45,\n        46,\n        54,\n        53\n        /* ExclamationToken */\n      ];\n      const unaryPrefixExpressions = [\n        8,\n        9,\n        79,\n        20,\n        22,\n        18,\n        108,\n        103\n        /* NewKeyword */\n      ];\n      const unaryPreincrementExpressions = [\n        79,\n        20,\n        108,\n        103\n        /* NewKeyword */\n      ];\n      const unaryPostincrementExpressions = [\n        79,\n        21,\n        23,\n        103\n        /* NewKeyword */\n      ];\n      const unaryPredecrementExpressions = [\n        79,\n        20,\n        108,\n        103\n        /* NewKeyword */\n      ];\n      const unaryPostdecrementExpressions = [\n        79,\n        21,\n        23,\n        103\n        /* NewKeyword */\n      ];\n      const comments = [\n        2,\n        3\n        /* MultiLineCommentTrivia */\n      ];\n      const typeNames = [79, ...typeKeywords];\n      const functionOpenBraceLeftTokenRange = anyTokenIncludingMultilineComments;\n      const typeScriptOpenBraceLeftTokenRange = tokenRangeFrom([\n        79,\n        3,\n        84,\n        93,\n        100\n        /* ImportKeyword */\n      ]);\n      const controlOpenBraceLeftTokenRange = tokenRangeFrom([\n        21,\n        3,\n        90,\n        111,\n        96,\n        91\n        /* ElseKeyword */\n      ]);\n      const highPriorityCommonRules = [\n        // Leave comments alone\n        rule(\n          \"IgnoreBeforeComment\",\n          anyToken,\n          comments,\n          anyContext,\n          1\n          /* StopProcessingSpaceActions */\n        ),\n        rule(\n          \"IgnoreAfterLineComment\",\n          2,\n          anyToken,\n          anyContext,\n          1\n          /* StopProcessingSpaceActions */\n        ),\n        rule(\n          \"NotSpaceBeforeColon\",\n          anyToken,\n          58,\n          [isNonJsxSameLineTokenContext, isNotBinaryOpContext, isNotTypeAnnotationContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceAfterColon\",\n          58,\n          anyToken,\n          [isNonJsxSameLineTokenContext, isNotBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeQuestionMark\",\n          anyToken,\n          57,\n          [isNonJsxSameLineTokenContext, isNotBinaryOpContext, isNotTypeAnnotationContext],\n          16\n          /* DeleteSpace */\n        ),\n        // insert space after '?' only when it is used in conditional operator\n        rule(\n          \"SpaceAfterQuestionMarkInConditionalOperator\",\n          57,\n          anyToken,\n          [isNonJsxSameLineTokenContext, isConditionalOperatorContext],\n          4\n          /* InsertSpace */\n        ),\n        // in other cases there should be no space between '?' and next token\n        rule(\n          \"NoSpaceAfterQuestionMark\",\n          57,\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeDot\",\n          anyToken,\n          [\n            24,\n            28\n            /* QuestionDotToken */\n          ],\n          [isNonJsxSameLineTokenContext, isNotPropertyAccessOnIntegerLiteral],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterDot\",\n          [\n            24,\n            28\n            /* QuestionDotToken */\n          ],\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenImportParenInImportType\",\n          100,\n          20,\n          [isNonJsxSameLineTokenContext, isImportTypeContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Special handling of unary operators.\n        // Prefix operators generally shouldn't have a space between\n        // them and their target unary expression.\n        rule(\n          \"NoSpaceAfterUnaryPrefixOperator\",\n          unaryPrefixOperators,\n          unaryPrefixExpressions,\n          [isNonJsxSameLineTokenContext, isNotBinaryOpContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterUnaryPreincrementOperator\",\n          45,\n          unaryPreincrementExpressions,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterUnaryPredecrementOperator\",\n          46,\n          unaryPredecrementExpressions,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeUnaryPostincrementOperator\",\n          unaryPostincrementExpressions,\n          45,\n          [isNonJsxSameLineTokenContext, isNotStatementConditionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeUnaryPostdecrementOperator\",\n          unaryPostdecrementExpressions,\n          46,\n          [isNonJsxSameLineTokenContext, isNotStatementConditionContext],\n          16\n          /* DeleteSpace */\n        ),\n        // More unary operator special-casing.\n        // DevDiv 181814: Be careful when removing leading whitespace\n        // around unary operators.  Examples:\n        //      1 - -2  --X--> 1--2\n        //      a + ++b --X--> a+++b\n        rule(\n          \"SpaceAfterPostincrementWhenFollowedByAdd\",\n          45,\n          39,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterAddWhenFollowedByUnaryPlus\",\n          39,\n          39,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterAddWhenFollowedByPreincrement\",\n          39,\n          45,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterPostdecrementWhenFollowedBySubtract\",\n          46,\n          40,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterSubtractWhenFollowedByUnaryMinus\",\n          40,\n          40,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterSubtractWhenFollowedByPredecrement\",\n          40,\n          46,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterCloseBrace\",\n          19,\n          [\n            27,\n            26\n            /* SemicolonToken */\n          ],\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // For functions and control block place } on a new line [multi-line rule]\n        rule(\n          \"NewLineBeforeCloseBraceInBlockContext\",\n          anyTokenIncludingMultilineComments,\n          19,\n          [isMultilineBlockContext],\n          8\n          /* InsertNewLine */\n        ),\n        // Space/new line after }.\n        rule(\n          \"SpaceAfterCloseBrace\",\n          19,\n          anyTokenExcept(\n            21\n            /* CloseParenToken */\n          ),\n          [isNonJsxSameLineTokenContext, isAfterCodeBlockContext],\n          4\n          /* InsertSpace */\n        ),\n        // Special case for (}, else) and (}, while) since else & while tokens are not part of the tree which makes SpaceAfterCloseBrace rule not applied\n        // Also should not apply to })\n        rule(\n          \"SpaceBetweenCloseBraceAndElse\",\n          19,\n          91,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBetweenCloseBraceAndWhile\",\n          19,\n          115,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenEmptyBraceBrackets\",\n          18,\n          19,\n          [isNonJsxSameLineTokenContext, isObjectContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Add a space after control dec context if the next character is an open bracket ex: 'if (false)[a, b] = [1, 2];' -> 'if (false) [a, b] = [1, 2];'\n        rule(\n          \"SpaceAfterConditionalClosingParen\",\n          21,\n          22,\n          [isControlDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenFunctionKeywordAndStar\",\n          98,\n          41,\n          [isFunctionDeclarationOrFunctionExpressionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceAfterStarInGeneratorDeclaration\",\n          41,\n          79,\n          [isFunctionDeclarationOrFunctionExpressionContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterFunctionInFuncDecl\",\n          98,\n          anyToken,\n          [isFunctionDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        // Insert new line after { and before } in multi-line contexts.\n        rule(\n          \"NewLineAfterOpenBraceInBlockContext\",\n          18,\n          anyToken,\n          [isMultilineBlockContext],\n          8\n          /* InsertNewLine */\n        ),\n        // For get/set members, we check for (identifier,identifier) since get/set don't have tokens and they are represented as just an identifier token.\n        // Though, we do extra check on the context to make sure we are dealing with get/set node. Example:\n        //      get x() {}\n        //      set x(val) {}\n        rule(\n          \"SpaceAfterGetSetInMember\",\n          [\n            137,\n            151\n            /* SetKeyword */\n          ],\n          79,\n          [isFunctionDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenYieldKeywordAndStar\",\n          125,\n          41,\n          [isNonJsxSameLineTokenContext, isYieldOrYieldStarWithOperand],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceBetweenYieldOrYieldStarAndOperand\",\n          [\n            125,\n            41\n            /* AsteriskToken */\n          ],\n          anyToken,\n          [isNonJsxSameLineTokenContext, isYieldOrYieldStarWithOperand],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenReturnAndSemicolon\",\n          105,\n          26,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceAfterCertainKeywords\",\n          [\n            113,\n            109,\n            103,\n            89,\n            105,\n            112,\n            133\n            /* AwaitKeyword */\n          ],\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterLetConstInVariableDeclaration\",\n          [\n            119,\n            85\n            /* ConstKeyword */\n          ],\n          anyToken,\n          [isNonJsxSameLineTokenContext, isStartOfVariableDeclarationList],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeOpenParenInFuncCall\",\n          anyToken,\n          20,\n          [isNonJsxSameLineTokenContext, isFunctionCallOrNewContext, isPreviousTokenNotComma],\n          16\n          /* DeleteSpace */\n        ),\n        // Special case for binary operators (that are keywords). For these we have to add a space and shouldn't follow any user options.\n        rule(\n          \"SpaceBeforeBinaryKeywordOperator\",\n          anyToken,\n          binaryKeywordOperators,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterBinaryKeywordOperator\",\n          binaryKeywordOperators,\n          anyToken,\n          [isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterVoidOperator\",\n          114,\n          anyToken,\n          [isNonJsxSameLineTokenContext, isVoidOpContext],\n          4\n          /* InsertSpace */\n        ),\n        // Async-await\n        rule(\n          \"SpaceBetweenAsyncAndOpenParen\",\n          132,\n          20,\n          [isArrowFunctionContext, isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBetweenAsyncAndFunctionKeyword\",\n          132,\n          [\n            98,\n            79\n            /* Identifier */\n          ],\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        // Template string\n        rule(\n          \"NoSpaceBetweenTagAndTemplateString\",\n          [\n            79,\n            21\n            /* CloseParenToken */\n          ],\n          [\n            14,\n            15\n            /* TemplateHead */\n          ],\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // JSX opening elements\n        rule(\n          \"SpaceBeforeJsxAttribute\",\n          anyToken,\n          79,\n          [isNextTokenParentJsxAttribute, isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBeforeSlashInJsxOpeningElement\",\n          anyToken,\n          43,\n          [isJsxSelfClosingElementContext, isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeGreaterThanTokenInJsxOpeningElement\",\n          43,\n          31,\n          [isJsxSelfClosingElementContext, isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeEqualInJsxAttribute\",\n          anyToken,\n          63,\n          [isJsxAttributeContext, isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterEqualInJsxAttribute\",\n          63,\n          anyToken,\n          [isJsxAttributeContext, isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // TypeScript-specific rules\n        // Use of module as a function call. e.g.: import m2 = module(\"m2\");\n        rule(\n          \"NoSpaceAfterModuleImport\",\n          [\n            142,\n            147\n            /* RequireKeyword */\n          ],\n          20,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Add a space around certain TypeScript keywords\n        rule(\n          \"SpaceAfterCertainTypeScriptKeywords\",\n          [\n            126,\n            127,\n            84,\n            136,\n            88,\n            92,\n            93,\n            94,\n            137,\n            117,\n            100,\n            118,\n            142,\n            143,\n            121,\n            123,\n            122,\n            146,\n            151,\n            124,\n            154,\n            158,\n            141,\n            138\n            /* InferKeyword */\n          ],\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBeforeCertainTypeScriptKeywords\",\n          anyToken,\n          [\n            94,\n            117,\n            158\n            /* FromKeyword */\n          ],\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        // Treat string literals in module names as identifiers, and add a space between the literal and the opening Brace braces, e.g.: module \"m2\" {\n        rule(\n          \"SpaceAfterModuleName\",\n          10,\n          18,\n          [isModuleDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        // Lambda expressions\n        rule(\n          \"SpaceBeforeArrow\",\n          anyToken,\n          38,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterArrow\",\n          38,\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        // Optional parameters and let args\n        rule(\n          \"NoSpaceAfterEllipsis\",\n          25,\n          79,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterOptionalParameters\",\n          57,\n          [\n            21,\n            27\n            /* CommaToken */\n          ],\n          [isNonJsxSameLineTokenContext, isNotBinaryOpContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Remove spaces in empty interface literals. e.g.: x: {}\n        rule(\n          \"NoSpaceBetweenEmptyInterfaceBraceBrackets\",\n          18,\n          19,\n          [isNonJsxSameLineTokenContext, isObjectTypeContext],\n          16\n          /* DeleteSpace */\n        ),\n        // generics and type assertions\n        rule(\n          \"NoSpaceBeforeOpenAngularBracket\",\n          typeNames,\n          29,\n          [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenCloseParenAndAngularBracket\",\n          21,\n          29,\n          [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterOpenAngularBracket\",\n          29,\n          anyToken,\n          [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeCloseAngularBracket\",\n          anyToken,\n          31,\n          [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterCloseAngularBracket\",\n          31,\n          [\n            20,\n            22,\n            31,\n            27\n            /* CommaToken */\n          ],\n          [\n            isNonJsxSameLineTokenContext,\n            isTypeArgumentOrParameterOrAssertionContext,\n            isNotFunctionDeclContext,\n            isNonTypeAssertionContext\n          ],\n          16\n          /* DeleteSpace */\n        ),\n        // decorators\n        rule(\n          \"SpaceBeforeAt\",\n          [\n            21,\n            79\n            /* Identifier */\n          ],\n          59,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterAt\",\n          59,\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after @ in decorator\n        rule(\n          \"SpaceAfterDecorator\",\n          anyToken,\n          [\n            126,\n            79,\n            93,\n            88,\n            84,\n            124,\n            123,\n            121,\n            122,\n            137,\n            151,\n            22,\n            41\n            /* AsteriskToken */\n          ],\n          [isEndOfDecoratorContextOnSameLine],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeNonNullAssertionOperator\",\n          anyToken,\n          53,\n          [isNonJsxSameLineTokenContext, isNonNullAssertionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterNewKeywordOnConstructorSignature\",\n          103,\n          20,\n          [isNonJsxSameLineTokenContext, isConstructorSignatureContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceLessThanAndNonJSXTypeAnnotation\",\n          29,\n          29,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        )\n      ];\n      const userConfigurableRules = [\n        // Treat constructor as an identifier in a function declaration, and remove spaces between constructor and following left parentheses\n        rule(\n          \"SpaceAfterConstructor\",\n          135,\n          20,\n          [isOptionEnabled(\"insertSpaceAfterConstructor\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterConstructor\",\n          135,\n          20,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterConstructor\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceAfterComma\",\n          27,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterCommaDelimiter\"), isNonJsxSameLineTokenContext, isNonJsxElementOrFragmentContext, isNextTokenNotCloseBracket, isNextTokenNotCloseParen],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterComma\",\n          27,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterCommaDelimiter\"), isNonJsxSameLineTokenContext, isNonJsxElementOrFragmentContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after function keyword for anonymous functions\n        rule(\n          \"SpaceAfterAnonymousFunctionKeyword\",\n          [\n            98,\n            41\n            /* AsteriskToken */\n          ],\n          20,\n          [isOptionEnabled(\"insertSpaceAfterFunctionKeywordForAnonymousFunctions\"), isFunctionDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterAnonymousFunctionKeyword\",\n          [\n            98,\n            41\n            /* AsteriskToken */\n          ],\n          20,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterFunctionKeywordForAnonymousFunctions\"), isFunctionDeclContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after keywords in control flow statements\n        rule(\n          \"SpaceAfterKeywordInControl\",\n          keywords,\n          20,\n          [isOptionEnabled(\"insertSpaceAfterKeywordsInControlFlowStatements\"), isControlDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterKeywordInControl\",\n          keywords,\n          20,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterKeywordsInControlFlowStatements\"), isControlDeclContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after opening and before closing nonempty parenthesis\n        rule(\n          \"SpaceAfterOpenParen\",\n          20,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBeforeCloseParen\",\n          anyToken,\n          21,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBetweenOpenParens\",\n          20,\n          20,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenParens\",\n          20,\n          21,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterOpenParen\",\n          20,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeCloseParen\",\n          anyToken,\n          21,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after opening and before closing nonempty brackets\n        rule(\n          \"SpaceAfterOpenBracket\",\n          22,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBeforeCloseBracket\",\n          anyToken,\n          23,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenBrackets\",\n          22,\n          23,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterOpenBracket\",\n          22,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeCloseBracket\",\n          anyToken,\n          23,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert a space after { and before } in single-line contexts, but remove space from empty object literals {}.\n        rule(\n          \"SpaceAfterOpenBrace\",\n          18,\n          anyToken,\n          [isOptionEnabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isBraceWrappedContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBeforeCloseBrace\",\n          anyToken,\n          19,\n          [isOptionEnabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isBraceWrappedContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenEmptyBraceBrackets\",\n          18,\n          19,\n          [isNonJsxSameLineTokenContext, isObjectContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterOpenBrace\",\n          18,\n          anyToken,\n          [isOptionDisabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeCloseBrace\",\n          anyToken,\n          19,\n          [isOptionDisabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert a space after opening and before closing empty brace brackets\n        rule(\n          \"SpaceBetweenEmptyBraceBrackets\",\n          18,\n          19,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces\")],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBetweenEmptyBraceBrackets\",\n          18,\n          19,\n          [isOptionDisabled(\"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after opening and before closing template string braces\n        rule(\n          \"SpaceAfterTemplateHeadAndMiddle\",\n          [\n            15,\n            16\n            /* TemplateMiddle */\n          ],\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxTextContext],\n          4,\n          1\n          /* CanDeleteNewLines */\n        ),\n        rule(\n          \"SpaceBeforeTemplateMiddleAndTail\",\n          anyToken,\n          [\n            16,\n            17\n            /* TemplateTail */\n          ],\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterTemplateHeadAndMiddle\",\n          [\n            15,\n            16\n            /* TemplateMiddle */\n          ],\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxTextContext],\n          16,\n          1\n          /* CanDeleteNewLines */\n        ),\n        rule(\n          \"NoSpaceBeforeTemplateMiddleAndTail\",\n          anyToken,\n          [\n            16,\n            17\n            /* TemplateTail */\n          ],\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // No space after { and before } in JSX expression\n        rule(\n          \"SpaceAfterOpenBraceInJsxExpression\",\n          18,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceBeforeCloseBraceInJsxExpression\",\n          anyToken,\n          19,\n          [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterOpenBraceInJsxExpression\",\n          18,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeCloseBraceInJsxExpression\",\n          anyToken,\n          19,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space after semicolon in for statement\n        rule(\n          \"SpaceAfterSemicolonInFor\",\n          26,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterSemicolonInForStatements\"), isNonJsxSameLineTokenContext, isForContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterSemicolonInFor\",\n          26,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterSemicolonInForStatements\"), isNonJsxSameLineTokenContext, isForContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Insert space before and after binary operators\n        rule(\n          \"SpaceBeforeBinaryOperator\",\n          anyToken,\n          binaryOperators,\n          [isOptionEnabled(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"SpaceAfterBinaryOperator\",\n          binaryOperators,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeBinaryOperator\",\n          anyToken,\n          binaryOperators,\n          [isOptionDisabledOrUndefined(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterBinaryOperator\",\n          binaryOperators,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceBeforeOpenParenInFuncDecl\",\n          anyToken,\n          20,\n          [isOptionEnabled(\"insertSpaceBeforeFunctionParenthesis\"), isNonJsxSameLineTokenContext, isFunctionDeclContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeOpenParenInFuncDecl\",\n          anyToken,\n          20,\n          [isOptionDisabledOrUndefined(\"insertSpaceBeforeFunctionParenthesis\"), isNonJsxSameLineTokenContext, isFunctionDeclContext],\n          16\n          /* DeleteSpace */\n        ),\n        // Open Brace braces after control block\n        rule(\n          \"NewLineBeforeOpenBraceInControl\",\n          controlOpenBraceLeftTokenRange,\n          18,\n          [isOptionEnabled(\"placeOpenBraceOnNewLineForControlBlocks\"), isControlDeclContext, isBeforeMultilineBlockContext],\n          8,\n          1\n          /* CanDeleteNewLines */\n        ),\n        // Open Brace braces after function\n        // TypeScript: Function can have return types, which can be made of tons of different token kinds\n        rule(\n          \"NewLineBeforeOpenBraceInFunction\",\n          functionOpenBraceLeftTokenRange,\n          18,\n          [isOptionEnabled(\"placeOpenBraceOnNewLineForFunctions\"), isFunctionDeclContext, isBeforeMultilineBlockContext],\n          8,\n          1\n          /* CanDeleteNewLines */\n        ),\n        // Open Brace braces after TypeScript module/class/interface\n        rule(\n          \"NewLineBeforeOpenBraceInTypeScriptDeclWithBlock\",\n          typeScriptOpenBraceLeftTokenRange,\n          18,\n          [isOptionEnabled(\"placeOpenBraceOnNewLineForFunctions\"), isTypeScriptDeclWithBlockContext, isBeforeMultilineBlockContext],\n          8,\n          1\n          /* CanDeleteNewLines */\n        ),\n        rule(\n          \"SpaceAfterTypeAssertion\",\n          31,\n          anyToken,\n          [isOptionEnabled(\"insertSpaceAfterTypeAssertion\"), isNonJsxSameLineTokenContext, isTypeAssertionContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceAfterTypeAssertion\",\n          31,\n          anyToken,\n          [isOptionDisabledOrUndefined(\"insertSpaceAfterTypeAssertion\"), isNonJsxSameLineTokenContext, isTypeAssertionContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceBeforeTypeAnnotation\",\n          anyToken,\n          [\n            57,\n            58\n            /* ColonToken */\n          ],\n          [isOptionEnabled(\"insertSpaceBeforeTypeAnnotation\"), isNonJsxSameLineTokenContext, isTypeAnnotationContext],\n          4\n          /* InsertSpace */\n        ),\n        rule(\n          \"NoSpaceBeforeTypeAnnotation\",\n          anyToken,\n          [\n            57,\n            58\n            /* ColonToken */\n          ],\n          [isOptionDisabledOrUndefined(\"insertSpaceBeforeTypeAnnotation\"), isNonJsxSameLineTokenContext, isTypeAnnotationContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoOptionalSemicolon\",\n          26,\n          anyTokenIncludingEOF,\n          [optionEquals(\n            \"semicolons\",\n            \"remove\"\n            /* Remove */\n          ), isSemicolonDeletionContext],\n          32\n          /* DeleteToken */\n        ),\n        rule(\n          \"OptionalSemicolon\",\n          anyToken,\n          anyTokenIncludingEOF,\n          [optionEquals(\n            \"semicolons\",\n            \"insert\"\n            /* Insert */\n          ), isSemicolonInsertionContext],\n          64\n          /* InsertTrailingSemicolon */\n        )\n      ];\n      const lowPriorityCommonRules = [\n        // Space after keyword but not before ; or : or ?\n        rule(\n          \"NoSpaceBeforeSemicolon\",\n          anyToken,\n          26,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceBeforeOpenBraceInControl\",\n          controlOpenBraceLeftTokenRange,\n          18,\n          [isOptionDisabledOrUndefinedOrTokensOnSameLine(\"placeOpenBraceOnNewLineForControlBlocks\"), isControlDeclContext, isNotFormatOnEnter, isSameLineTokenOrBeforeBlockContext],\n          4,\n          1\n          /* CanDeleteNewLines */\n        ),\n        rule(\n          \"SpaceBeforeOpenBraceInFunction\",\n          functionOpenBraceLeftTokenRange,\n          18,\n          [isOptionDisabledOrUndefinedOrTokensOnSameLine(\"placeOpenBraceOnNewLineForFunctions\"), isFunctionDeclContext, isBeforeBlockContext, isNotFormatOnEnter, isSameLineTokenOrBeforeBlockContext],\n          4,\n          1\n          /* CanDeleteNewLines */\n        ),\n        rule(\n          \"SpaceBeforeOpenBraceInTypeScriptDeclWithBlock\",\n          typeScriptOpenBraceLeftTokenRange,\n          18,\n          [isOptionDisabledOrUndefinedOrTokensOnSameLine(\"placeOpenBraceOnNewLineForFunctions\"), isTypeScriptDeclWithBlockContext, isNotFormatOnEnter, isSameLineTokenOrBeforeBlockContext],\n          4,\n          1\n          /* CanDeleteNewLines */\n        ),\n        rule(\n          \"NoSpaceBeforeComma\",\n          anyToken,\n          27,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        // No space before and after indexer `x[]`\n        rule(\n          \"NoSpaceBeforeOpenBracket\",\n          anyTokenExcept(\n            132,\n            82\n            /* CaseKeyword */\n          ),\n          22,\n          [isNonJsxSameLineTokenContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"NoSpaceAfterCloseBracket\",\n          23,\n          anyToken,\n          [isNonJsxSameLineTokenContext, isNotBeforeBlockInFunctionDeclarationContext],\n          16\n          /* DeleteSpace */\n        ),\n        rule(\n          \"SpaceAfterSemicolon\",\n          26,\n          anyToken,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        // Remove extra space between for and await\n        rule(\n          \"SpaceBetweenForAndAwaitKeyword\",\n          97,\n          133,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        ),\n        // Add a space between statements. All keywords except (do,else,case) has open/close parens after them.\n        // So, we have a rule to add a space for [),Any], [do,Any], [else,Any], and [case,Any]\n        rule(\n          \"SpaceBetweenStatements\",\n          [\n            21,\n            90,\n            91,\n            82\n            /* CaseKeyword */\n          ],\n          anyToken,\n          [isNonJsxSameLineTokenContext, isNonJsxElementOrFragmentContext, isNotForContext],\n          4\n          /* InsertSpace */\n        ),\n        // This low-pri rule takes care of \"try {\", \"catch {\" and \"finally {\" in case the rule SpaceBeforeOpenBraceInControl didn't execute on FormatOnEnter.\n        rule(\n          \"SpaceAfterTryCatchFinally\",\n          [\n            111,\n            83,\n            96\n            /* FinallyKeyword */\n          ],\n          18,\n          [isNonJsxSameLineTokenContext],\n          4\n          /* InsertSpace */\n        )\n      ];\n      return [\n        ...highPriorityCommonRules,\n        ...userConfigurableRules,\n        ...lowPriorityCommonRules\n      ];\n    }\n    function rule(debugName, left, right, context, action, flags = 0) {\n      return { leftTokenRange: toTokenRange(left), rightTokenRange: toTokenRange(right), rule: { debugName, context, action, flags } };\n    }\n    function tokenRangeFrom(tokens) {\n      return { tokens, isSpecific: true };\n    }\n    function toTokenRange(arg) {\n      return typeof arg === \"number\" ? tokenRangeFrom([arg]) : isArray(arg) ? tokenRangeFrom(arg) : arg;\n    }\n    function tokenRangeFromRange(from, to, except = []) {\n      const tokens = [];\n      for (let token = from; token <= to; token++) {\n        if (!contains(except, token)) {\n          tokens.push(token);\n        }\n      }\n      return tokenRangeFrom(tokens);\n    }\n    function optionEquals(optionName, optionValue) {\n      return (context) => context.options && context.options[optionName] === optionValue;\n    }\n    function isOptionEnabled(optionName) {\n      return (context) => context.options && hasProperty(context.options, optionName) && !!context.options[optionName];\n    }\n    function isOptionDisabled(optionName) {\n      return (context) => context.options && hasProperty(context.options, optionName) && !context.options[optionName];\n    }\n    function isOptionDisabledOrUndefined(optionName) {\n      return (context) => !context.options || !hasProperty(context.options, optionName) || !context.options[optionName];\n    }\n    function isOptionDisabledOrUndefinedOrTokensOnSameLine(optionName) {\n      return (context) => !context.options || !hasProperty(context.options, optionName) || !context.options[optionName] || context.TokensAreOnSameLine();\n    }\n    function isOptionEnabledOrUndefined(optionName) {\n      return (context) => !context.options || !hasProperty(context.options, optionName) || !!context.options[optionName];\n    }\n    function isForContext(context) {\n      return context.contextNode.kind === 245;\n    }\n    function isNotForContext(context) {\n      return !isForContext(context);\n    }\n    function isBinaryOpContext(context) {\n      switch (context.contextNode.kind) {\n        case 223:\n          return context.contextNode.operatorToken.kind !== 27;\n        case 224:\n        case 191:\n        case 231:\n        case 278:\n        case 273:\n        case 179:\n        case 189:\n        case 190:\n        case 235:\n          return true;\n        case 205:\n        case 262:\n        case 268:\n        case 274:\n        case 257:\n        case 166:\n        case 302:\n        case 169:\n        case 168:\n          return context.currentTokenSpan.kind === 63 || context.nextTokenSpan.kind === 63;\n        case 246:\n        case 165:\n          return context.currentTokenSpan.kind === 101 || context.nextTokenSpan.kind === 101 || context.currentTokenSpan.kind === 63 || context.nextTokenSpan.kind === 63;\n        case 247:\n          return context.currentTokenSpan.kind === 162 || context.nextTokenSpan.kind === 162;\n      }\n      return false;\n    }\n    function isNotBinaryOpContext(context) {\n      return !isBinaryOpContext(context);\n    }\n    function isNotTypeAnnotationContext(context) {\n      return !isTypeAnnotationContext(context);\n    }\n    function isTypeAnnotationContext(context) {\n      const contextKind = context.contextNode.kind;\n      return contextKind === 169 || contextKind === 168 || contextKind === 166 || contextKind === 257 || isFunctionLikeKind(contextKind);\n    }\n    function isConditionalOperatorContext(context) {\n      return context.contextNode.kind === 224 || context.contextNode.kind === 191;\n    }\n    function isSameLineTokenOrBeforeBlockContext(context) {\n      return context.TokensAreOnSameLine() || isBeforeBlockContext(context);\n    }\n    function isBraceWrappedContext(context) {\n      return context.contextNode.kind === 203 || context.contextNode.kind === 197 || isSingleLineBlockContext(context);\n    }\n    function isBeforeMultilineBlockContext(context) {\n      return isBeforeBlockContext(context) && !(context.NextNodeAllOnSameLine() || context.NextNodeBlockIsOnOneLine());\n    }\n    function isMultilineBlockContext(context) {\n      return isBlockContext(context) && !(context.ContextNodeAllOnSameLine() || context.ContextNodeBlockIsOnOneLine());\n    }\n    function isSingleLineBlockContext(context) {\n      return isBlockContext(context) && (context.ContextNodeAllOnSameLine() || context.ContextNodeBlockIsOnOneLine());\n    }\n    function isBlockContext(context) {\n      return nodeIsBlockContext(context.contextNode);\n    }\n    function isBeforeBlockContext(context) {\n      return nodeIsBlockContext(context.nextTokenParent);\n    }\n    function nodeIsBlockContext(node) {\n      if (nodeIsTypeScriptDeclWithBlockContext(node)) {\n        return true;\n      }\n      switch (node.kind) {\n        case 238:\n        case 266:\n        case 207:\n        case 265:\n          return true;\n      }\n      return false;\n    }\n    function isFunctionDeclContext(context) {\n      switch (context.contextNode.kind) {\n        case 259:\n        case 171:\n        case 170:\n        case 174:\n        case 175:\n        case 176:\n        case 215:\n        case 173:\n        case 216:\n        case 261:\n          return true;\n      }\n      return false;\n    }\n    function isNotFunctionDeclContext(context) {\n      return !isFunctionDeclContext(context);\n    }\n    function isFunctionDeclarationOrFunctionExpressionContext(context) {\n      return context.contextNode.kind === 259 || context.contextNode.kind === 215;\n    }\n    function isTypeScriptDeclWithBlockContext(context) {\n      return nodeIsTypeScriptDeclWithBlockContext(context.contextNode);\n    }\n    function nodeIsTypeScriptDeclWithBlockContext(node) {\n      switch (node.kind) {\n        case 260:\n        case 228:\n        case 261:\n        case 263:\n        case 184:\n        case 264:\n        case 275:\n        case 276:\n        case 269:\n        case 272:\n          return true;\n      }\n      return false;\n    }\n    function isAfterCodeBlockContext(context) {\n      switch (context.currentTokenParent.kind) {\n        case 260:\n        case 264:\n        case 263:\n        case 295:\n        case 265:\n        case 252:\n          return true;\n        case 238: {\n          const blockParent = context.currentTokenParent.parent;\n          if (!blockParent || blockParent.kind !== 216 && blockParent.kind !== 215) {\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n    function isControlDeclContext(context) {\n      switch (context.contextNode.kind) {\n        case 242:\n        case 252:\n        case 245:\n        case 246:\n        case 247:\n        case 244:\n        case 255:\n        case 243:\n        case 251:\n        case 295:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isObjectContext(context) {\n      return context.contextNode.kind === 207;\n    }\n    function isFunctionCallContext(context) {\n      return context.contextNode.kind === 210;\n    }\n    function isNewContext(context) {\n      return context.contextNode.kind === 211;\n    }\n    function isFunctionCallOrNewContext(context) {\n      return isFunctionCallContext(context) || isNewContext(context);\n    }\n    function isPreviousTokenNotComma(context) {\n      return context.currentTokenSpan.kind !== 27;\n    }\n    function isNextTokenNotCloseBracket(context) {\n      return context.nextTokenSpan.kind !== 23;\n    }\n    function isNextTokenNotCloseParen(context) {\n      return context.nextTokenSpan.kind !== 21;\n    }\n    function isArrowFunctionContext(context) {\n      return context.contextNode.kind === 216;\n    }\n    function isImportTypeContext(context) {\n      return context.contextNode.kind === 202;\n    }\n    function isNonJsxSameLineTokenContext(context) {\n      return context.TokensAreOnSameLine() && context.contextNode.kind !== 11;\n    }\n    function isNonJsxTextContext(context) {\n      return context.contextNode.kind !== 11;\n    }\n    function isNonJsxElementOrFragmentContext(context) {\n      return context.contextNode.kind !== 281 && context.contextNode.kind !== 285;\n    }\n    function isJsxExpressionContext(context) {\n      return context.contextNode.kind === 291 || context.contextNode.kind === 290;\n    }\n    function isNextTokenParentJsxAttribute(context) {\n      return context.nextTokenParent.kind === 288;\n    }\n    function isJsxAttributeContext(context) {\n      return context.contextNode.kind === 288;\n    }\n    function isJsxSelfClosingElementContext(context) {\n      return context.contextNode.kind === 282;\n    }\n    function isNotBeforeBlockInFunctionDeclarationContext(context) {\n      return !isFunctionDeclContext(context) && !isBeforeBlockContext(context);\n    }\n    function isEndOfDecoratorContextOnSameLine(context) {\n      return context.TokensAreOnSameLine() && hasDecorators(context.contextNode) && nodeIsInDecoratorContext(context.currentTokenParent) && !nodeIsInDecoratorContext(context.nextTokenParent);\n    }\n    function nodeIsInDecoratorContext(node) {\n      while (node && isExpression(node)) {\n        node = node.parent;\n      }\n      return node && node.kind === 167;\n    }\n    function isStartOfVariableDeclarationList(context) {\n      return context.currentTokenParent.kind === 258 && context.currentTokenParent.getStart(context.sourceFile) === context.currentTokenSpan.pos;\n    }\n    function isNotFormatOnEnter(context) {\n      return context.formattingRequestKind !== 2;\n    }\n    function isModuleDeclContext(context) {\n      return context.contextNode.kind === 264;\n    }\n    function isObjectTypeContext(context) {\n      return context.contextNode.kind === 184;\n    }\n    function isConstructorSignatureContext(context) {\n      return context.contextNode.kind === 177;\n    }\n    function isTypeArgumentOrParameterOrAssertion(token, parent2) {\n      if (token.kind !== 29 && token.kind !== 31) {\n        return false;\n      }\n      switch (parent2.kind) {\n        case 180:\n        case 213:\n        case 262:\n        case 260:\n        case 228:\n        case 261:\n        case 259:\n        case 215:\n        case 216:\n        case 171:\n        case 170:\n        case 176:\n        case 177:\n        case 210:\n        case 211:\n        case 230:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isTypeArgumentOrParameterOrAssertionContext(context) {\n      return isTypeArgumentOrParameterOrAssertion(context.currentTokenSpan, context.currentTokenParent) || isTypeArgumentOrParameterOrAssertion(context.nextTokenSpan, context.nextTokenParent);\n    }\n    function isTypeAssertionContext(context) {\n      return context.contextNode.kind === 213;\n    }\n    function isNonTypeAssertionContext(context) {\n      return !isTypeAssertionContext(context);\n    }\n    function isVoidOpContext(context) {\n      return context.currentTokenSpan.kind === 114 && context.currentTokenParent.kind === 219;\n    }\n    function isYieldOrYieldStarWithOperand(context) {\n      return context.contextNode.kind === 226 && context.contextNode.expression !== void 0;\n    }\n    function isNonNullAssertionContext(context) {\n      return context.contextNode.kind === 232;\n    }\n    function isNotStatementConditionContext(context) {\n      return !isStatementConditionContext(context);\n    }\n    function isStatementConditionContext(context) {\n      switch (context.contextNode.kind) {\n        case 242:\n        case 245:\n        case 246:\n        case 247:\n        case 243:\n        case 244:\n          return true;\n        default:\n          return false;\n      }\n    }\n    function isSemicolonDeletionContext(context) {\n      let nextTokenKind = context.nextTokenSpan.kind;\n      let nextTokenStart = context.nextTokenSpan.pos;\n      if (isTrivia(nextTokenKind)) {\n        const nextRealToken = context.nextTokenParent === context.currentTokenParent ? findNextToken(\n          context.currentTokenParent,\n          findAncestor(context.currentTokenParent, (a) => !a.parent),\n          context.sourceFile\n        ) : context.nextTokenParent.getFirstToken(context.sourceFile);\n        if (!nextRealToken) {\n          return true;\n        }\n        nextTokenKind = nextRealToken.kind;\n        nextTokenStart = nextRealToken.getStart(context.sourceFile);\n      }\n      const startLine = context.sourceFile.getLineAndCharacterOfPosition(context.currentTokenSpan.pos).line;\n      const endLine = context.sourceFile.getLineAndCharacterOfPosition(nextTokenStart).line;\n      if (startLine === endLine) {\n        return nextTokenKind === 19 || nextTokenKind === 1;\n      }\n      if (nextTokenKind === 237 || nextTokenKind === 26) {\n        return false;\n      }\n      if (context.contextNode.kind === 261 || context.contextNode.kind === 262) {\n        return !isPropertySignature(context.currentTokenParent) || !!context.currentTokenParent.type || nextTokenKind !== 20;\n      }\n      if (isPropertyDeclaration(context.currentTokenParent)) {\n        return !context.currentTokenParent.initializer;\n      }\n      return context.currentTokenParent.kind !== 245 && context.currentTokenParent.kind !== 239 && context.currentTokenParent.kind !== 237 && nextTokenKind !== 22 && nextTokenKind !== 20 && nextTokenKind !== 39 && nextTokenKind !== 40 && nextTokenKind !== 43 && nextTokenKind !== 13 && nextTokenKind !== 27 && nextTokenKind !== 225 && nextTokenKind !== 15 && nextTokenKind !== 14 && nextTokenKind !== 24;\n    }\n    function isSemicolonInsertionContext(context) {\n      return positionIsASICandidate(context.currentTokenSpan.end, context.currentTokenParent, context.sourceFile);\n    }\n    function isNotPropertyAccessOnIntegerLiteral(context) {\n      return !isPropertyAccessExpression(context.contextNode) || !isNumericLiteral(context.contextNode.expression) || context.contextNode.expression.getText().indexOf(\".\") !== -1;\n    }\n    var init_rules = __esm({\n      \"src/services/formatting/rules.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_formatting();\n      }\n    });\n    function getFormatContext(options, host) {\n      return { options, getRules: getRulesMap(), host };\n    }\n    function getRulesMap() {\n      if (rulesMapCache === void 0) {\n        rulesMapCache = createRulesMap(getAllRules());\n      }\n      return rulesMapCache;\n    }\n    function getRuleActionExclusion(ruleAction) {\n      let mask2 = 0;\n      if (ruleAction & 1) {\n        mask2 |= 28;\n      }\n      if (ruleAction & 2) {\n        mask2 |= 96;\n      }\n      if (ruleAction & 28) {\n        mask2 |= 28;\n      }\n      if (ruleAction & 96) {\n        mask2 |= 96;\n      }\n      return mask2;\n    }\n    function createRulesMap(rules) {\n      const map2 = buildMap(rules);\n      return (context) => {\n        const bucket = map2[getRuleBucketIndex(context.currentTokenSpan.kind, context.nextTokenSpan.kind)];\n        if (bucket) {\n          const rules2 = [];\n          let ruleActionMask = 0;\n          for (const rule2 of bucket) {\n            const acceptRuleActions = ~getRuleActionExclusion(ruleActionMask);\n            if (rule2.action & acceptRuleActions && every(rule2.context, (c) => c(context))) {\n              rules2.push(rule2);\n              ruleActionMask |= rule2.action;\n            }\n          }\n          if (rules2.length) {\n            return rules2;\n          }\n        }\n      };\n    }\n    function buildMap(rules) {\n      const map2 = new Array(mapRowLength * mapRowLength);\n      const rulesBucketConstructionStateList = new Array(map2.length);\n      for (const rule2 of rules) {\n        const specificRule = rule2.leftTokenRange.isSpecific && rule2.rightTokenRange.isSpecific;\n        for (const left of rule2.leftTokenRange.tokens) {\n          for (const right of rule2.rightTokenRange.tokens) {\n            const index = getRuleBucketIndex(left, right);\n            let rulesBucket = map2[index];\n            if (rulesBucket === void 0) {\n              rulesBucket = map2[index] = [];\n            }\n            addRule(rulesBucket, rule2.rule, specificRule, rulesBucketConstructionStateList, index);\n          }\n        }\n      }\n      return map2;\n    }\n    function getRuleBucketIndex(row, column) {\n      Debug2.assert(row <= 162 && column <= 162, \"Must compute formatting context from tokens\");\n      return row * mapRowLength + column;\n    }\n    function addRule(rules, rule2, specificTokens, constructionState, rulesBucketIndex) {\n      const position = rule2.action & 3 ? specificTokens ? 0 : RulesPosition.StopRulesAny : rule2.context !== anyContext ? specificTokens ? RulesPosition.ContextRulesSpecific : RulesPosition.ContextRulesAny : specificTokens ? RulesPosition.NoContextRulesSpecific : RulesPosition.NoContextRulesAny;\n      const state = constructionState[rulesBucketIndex] || 0;\n      rules.splice(getInsertionIndex(state, position), 0, rule2);\n      constructionState[rulesBucketIndex] = increaseInsertionIndex(state, position);\n    }\n    function getInsertionIndex(indexBitmap, maskPosition) {\n      let index = 0;\n      for (let pos = 0; pos <= maskPosition; pos += maskBitSize) {\n        index += indexBitmap & mask;\n        indexBitmap >>= maskBitSize;\n      }\n      return index;\n    }\n    function increaseInsertionIndex(indexBitmap, maskPosition) {\n      const value = (indexBitmap >> maskPosition & mask) + 1;\n      Debug2.assert((value & mask) === value, \"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.\");\n      return indexBitmap & ~(mask << maskPosition) | value << maskPosition;\n    }\n    var rulesMapCache, maskBitSize, mask, mapRowLength, RulesPosition;\n    var init_rulesMap = __esm({\n      \"src/services/formatting/rulesMap.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_formatting();\n        maskBitSize = 5;\n        mask = 31;\n        mapRowLength = 162 + 1;\n        RulesPosition = ((RulesPosition2) => {\n          RulesPosition2[RulesPosition2[\"StopRulesSpecific\"] = 0] = \"StopRulesSpecific\";\n          RulesPosition2[RulesPosition2[\"StopRulesAny\"] = maskBitSize * 1] = \"StopRulesAny\";\n          RulesPosition2[RulesPosition2[\"ContextRulesSpecific\"] = maskBitSize * 2] = \"ContextRulesSpecific\";\n          RulesPosition2[RulesPosition2[\"ContextRulesAny\"] = maskBitSize * 3] = \"ContextRulesAny\";\n          RulesPosition2[RulesPosition2[\"NoContextRulesSpecific\"] = maskBitSize * 4] = \"NoContextRulesSpecific\";\n          RulesPosition2[RulesPosition2[\"NoContextRulesAny\"] = maskBitSize * 5] = \"NoContextRulesAny\";\n          return RulesPosition2;\n        })(RulesPosition || {});\n      }\n    });\n    function createTextRangeWithKind(pos, end, kind) {\n      const textRangeWithKind = { pos, end, kind };\n      if (Debug2.isDebugging) {\n        Object.defineProperty(textRangeWithKind, \"__debugKind\", {\n          get: () => Debug2.formatSyntaxKind(kind)\n        });\n      }\n      return textRangeWithKind;\n    }\n    function formatOnEnter(position, sourceFile, formatContext) {\n      const line = sourceFile.getLineAndCharacterOfPosition(position).line;\n      if (line === 0) {\n        return [];\n      }\n      let endOfFormatSpan = getEndLinePosition(line, sourceFile);\n      while (isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(endOfFormatSpan))) {\n        endOfFormatSpan--;\n      }\n      if (isLineBreak(sourceFile.text.charCodeAt(endOfFormatSpan))) {\n        endOfFormatSpan--;\n      }\n      const span = {\n        // get start position for the previous line\n        pos: getStartPositionOfLine(line - 1, sourceFile),\n        // end value is exclusive so add 1 to the result\n        end: endOfFormatSpan + 1\n      };\n      return formatSpan(\n        span,\n        sourceFile,\n        formatContext,\n        2\n        /* FormatOnEnter */\n      );\n    }\n    function formatOnSemicolon(position, sourceFile, formatContext) {\n      const semicolon = findImmediatelyPrecedingTokenOfKind(position, 26, sourceFile);\n      return formatNodeLines(\n        findOutermostNodeWithinListLevel(semicolon),\n        sourceFile,\n        formatContext,\n        3\n        /* FormatOnSemicolon */\n      );\n    }\n    function formatOnOpeningCurly(position, sourceFile, formatContext) {\n      const openingCurly = findImmediatelyPrecedingTokenOfKind(position, 18, sourceFile);\n      if (!openingCurly) {\n        return [];\n      }\n      const curlyBraceRange = openingCurly.parent;\n      const outermostNode = findOutermostNodeWithinListLevel(curlyBraceRange);\n      const textRange = {\n        pos: getLineStartPositionForPosition(outermostNode.getStart(sourceFile), sourceFile),\n        // TODO: GH#18217\n        end: position\n      };\n      return formatSpan(\n        textRange,\n        sourceFile,\n        formatContext,\n        4\n        /* FormatOnOpeningCurlyBrace */\n      );\n    }\n    function formatOnClosingCurly(position, sourceFile, formatContext) {\n      const precedingToken = findImmediatelyPrecedingTokenOfKind(position, 19, sourceFile);\n      return formatNodeLines(\n        findOutermostNodeWithinListLevel(precedingToken),\n        sourceFile,\n        formatContext,\n        5\n        /* FormatOnClosingCurlyBrace */\n      );\n    }\n    function formatDocument(sourceFile, formatContext) {\n      const span = {\n        pos: 0,\n        end: sourceFile.text.length\n      };\n      return formatSpan(\n        span,\n        sourceFile,\n        formatContext,\n        0\n        /* FormatDocument */\n      );\n    }\n    function formatSelection(start, end, sourceFile, formatContext) {\n      const span = {\n        pos: getLineStartPositionForPosition(start, sourceFile),\n        end\n      };\n      return formatSpan(\n        span,\n        sourceFile,\n        formatContext,\n        1\n        /* FormatSelection */\n      );\n    }\n    function findImmediatelyPrecedingTokenOfKind(end, expectedTokenKind, sourceFile) {\n      const precedingToken = findPrecedingToken(end, sourceFile);\n      return precedingToken && precedingToken.kind === expectedTokenKind && end === precedingToken.getEnd() ? precedingToken : void 0;\n    }\n    function findOutermostNodeWithinListLevel(node) {\n      let current = node;\n      while (current && current.parent && current.parent.end === node.end && !isListElement(current.parent, current)) {\n        current = current.parent;\n      }\n      return current;\n    }\n    function isListElement(parent2, node) {\n      switch (parent2.kind) {\n        case 260:\n        case 261:\n          return rangeContainsRange(parent2.members, node);\n        case 264:\n          const body = parent2.body;\n          return !!body && body.kind === 265 && rangeContainsRange(body.statements, node);\n        case 308:\n        case 238:\n        case 265:\n          return rangeContainsRange(parent2.statements, node);\n        case 295:\n          return rangeContainsRange(parent2.block.statements, node);\n      }\n      return false;\n    }\n    function findEnclosingNode(range, sourceFile) {\n      return find2(sourceFile);\n      function find2(n) {\n        const candidate = forEachChild(n, (c) => startEndContainsRange(c.getStart(sourceFile), c.end, range) && c);\n        if (candidate) {\n          const result = find2(candidate);\n          if (result) {\n            return result;\n          }\n        }\n        return n;\n      }\n    }\n    function prepareRangeContainsErrorFunction(errors, originalRange) {\n      if (!errors.length) {\n        return rangeHasNoErrors;\n      }\n      const sorted = errors.filter((d) => rangeOverlapsWithStartEnd(originalRange, d.start, d.start + d.length)).sort((e1, e2) => e1.start - e2.start);\n      if (!sorted.length) {\n        return rangeHasNoErrors;\n      }\n      let index = 0;\n      return (r) => {\n        while (true) {\n          if (index >= sorted.length) {\n            return false;\n          }\n          const error = sorted[index];\n          if (r.end <= error.start) {\n            return false;\n          }\n          if (startEndOverlapsWithStartEnd(r.pos, r.end, error.start, error.start + error.length)) {\n            return true;\n          }\n          index++;\n        }\n      };\n      function rangeHasNoErrors() {\n        return false;\n      }\n    }\n    function getScanStartPosition(enclosingNode, originalRange, sourceFile) {\n      const start = enclosingNode.getStart(sourceFile);\n      if (start === originalRange.pos && enclosingNode.end === originalRange.end) {\n        return start;\n      }\n      const precedingToken = findPrecedingToken(originalRange.pos, sourceFile);\n      if (!precedingToken) {\n        return enclosingNode.pos;\n      }\n      if (precedingToken.end >= originalRange.pos) {\n        return enclosingNode.pos;\n      }\n      return precedingToken.end;\n    }\n    function getOwnOrInheritedDelta(n, options, sourceFile) {\n      let previousLine = -1;\n      let child;\n      while (n) {\n        const line = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile)).line;\n        if (previousLine !== -1 && line !== previousLine) {\n          break;\n        }\n        if (SmartIndenter.shouldIndentChildNode(options, n, child, sourceFile)) {\n          return options.indentSize;\n        }\n        previousLine = line;\n        child = n;\n        n = n.parent;\n      }\n      return 0;\n    }\n    function formatNodeGivenIndentation(node, sourceFileLike, languageVariant, initialIndentation, delta, formatContext) {\n      const range = { pos: node.pos, end: node.end };\n      return getFormattingScanner(sourceFileLike.text, languageVariant, range.pos, range.end, (scanner2) => formatSpanWorker(\n        range,\n        node,\n        initialIndentation,\n        delta,\n        scanner2,\n        formatContext,\n        1,\n        (_) => false,\n        // assume that node does not have any errors\n        sourceFileLike\n      ));\n    }\n    function formatNodeLines(node, sourceFile, formatContext, requestKind) {\n      if (!node) {\n        return [];\n      }\n      const span = {\n        pos: getLineStartPositionForPosition(node.getStart(sourceFile), sourceFile),\n        end: node.end\n      };\n      return formatSpan(span, sourceFile, formatContext, requestKind);\n    }\n    function formatSpan(originalRange, sourceFile, formatContext, requestKind) {\n      const enclosingNode = findEnclosingNode(originalRange, sourceFile);\n      return getFormattingScanner(\n        sourceFile.text,\n        sourceFile.languageVariant,\n        getScanStartPosition(enclosingNode, originalRange, sourceFile),\n        originalRange.end,\n        (scanner2) => formatSpanWorker(\n          originalRange,\n          enclosingNode,\n          SmartIndenter.getIndentationForNode(enclosingNode, originalRange, sourceFile, formatContext.options),\n          getOwnOrInheritedDelta(enclosingNode, formatContext.options, sourceFile),\n          scanner2,\n          formatContext,\n          requestKind,\n          prepareRangeContainsErrorFunction(sourceFile.parseDiagnostics, originalRange),\n          sourceFile\n        )\n      );\n    }\n    function formatSpanWorker(originalRange, enclosingNode, initialIndentation, delta, formattingScanner, { options, getRules, host }, requestKind, rangeContainsError, sourceFile) {\n      var _a22;\n      const formattingContext = new FormattingContext(sourceFile, requestKind, options);\n      let previousRangeTriviaEnd;\n      let previousRange;\n      let previousParent;\n      let previousRangeStartLine;\n      let lastIndentedLine;\n      let indentationOnLastIndentedLine = -1;\n      const edits = [];\n      formattingScanner.advance();\n      if (formattingScanner.isOnToken()) {\n        const startLine = sourceFile.getLineAndCharacterOfPosition(enclosingNode.getStart(sourceFile)).line;\n        let undecoratedStartLine = startLine;\n        if (hasDecorators(enclosingNode)) {\n          undecoratedStartLine = sourceFile.getLineAndCharacterOfPosition(getNonDecoratorTokenPosOfNode(enclosingNode, sourceFile)).line;\n        }\n        processNode(enclosingNode, enclosingNode, startLine, undecoratedStartLine, initialIndentation, delta);\n      }\n      if (!formattingScanner.isOnToken()) {\n        const indentation = SmartIndenter.nodeWillIndentChild(\n          options,\n          enclosingNode,\n          /*child*/\n          void 0,\n          sourceFile,\n          /*indentByDefault*/\n          false\n        ) ? initialIndentation + options.indentSize : initialIndentation;\n        const leadingTrivia = formattingScanner.getCurrentLeadingTrivia();\n        if (leadingTrivia) {\n          indentTriviaItems(\n            leadingTrivia,\n            indentation,\n            /*indentNextTokenOrTrivia*/\n            false,\n            (item) => processRange(\n              item,\n              sourceFile.getLineAndCharacterOfPosition(item.pos),\n              enclosingNode,\n              enclosingNode,\n              /*dynamicIndentation*/\n              void 0\n            )\n          );\n          if (options.trimTrailingWhitespace !== false) {\n            trimTrailingWhitespacesForRemainingRange(leadingTrivia);\n          }\n        }\n      }\n      if (previousRange && formattingScanner.getStartPos() >= originalRange.end) {\n        const tokenInfo = formattingScanner.isOnEOF() ? formattingScanner.readEOFTokenRange() : formattingScanner.isOnToken() ? formattingScanner.readTokenInfo(enclosingNode).token : void 0;\n        if (tokenInfo && tokenInfo.pos === previousRangeTriviaEnd) {\n          const parent2 = ((_a22 = findPrecedingToken(tokenInfo.end, sourceFile, enclosingNode)) == null ? void 0 : _a22.parent) || previousParent;\n          processPair(\n            tokenInfo,\n            sourceFile.getLineAndCharacterOfPosition(tokenInfo.pos).line,\n            parent2,\n            previousRange,\n            previousRangeStartLine,\n            previousParent,\n            parent2,\n            /*dynamicIndentation*/\n            void 0\n          );\n        }\n      }\n      return edits;\n      function tryComputeIndentationForListItem(startPos, endPos, parentStartLine, range, inheritedIndentation) {\n        if (rangeOverlapsWithStartEnd(range, startPos, endPos) || rangeContainsStartEnd(range, startPos, endPos)) {\n          if (inheritedIndentation !== -1) {\n            return inheritedIndentation;\n          }\n        } else {\n          const startLine = sourceFile.getLineAndCharacterOfPosition(startPos).line;\n          const startLinePosition = getLineStartPositionForPosition(startPos, sourceFile);\n          const column = SmartIndenter.findFirstNonWhitespaceColumn(startLinePosition, startPos, sourceFile, options);\n          if (startLine !== parentStartLine || startPos === column) {\n            const baseIndentSize = SmartIndenter.getBaseIndentation(options);\n            return baseIndentSize > column ? baseIndentSize : column;\n          }\n        }\n        return -1;\n      }\n      function computeIndentation(node, startLine, inheritedIndentation, parent2, parentDynamicIndentation, effectiveParentStartLine) {\n        const delta2 = SmartIndenter.shouldIndentChildNode(options, node) ? options.indentSize : 0;\n        if (effectiveParentStartLine === startLine) {\n          return {\n            indentation: startLine === lastIndentedLine ? indentationOnLastIndentedLine : parentDynamicIndentation.getIndentation(),\n            delta: Math.min(options.indentSize, parentDynamicIndentation.getDelta(node) + delta2)\n          };\n        } else if (inheritedIndentation === -1) {\n          if (node.kind === 20 && startLine === lastIndentedLine) {\n            return { indentation: indentationOnLastIndentedLine, delta: parentDynamicIndentation.getDelta(node) };\n          } else if (SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(parent2, node, startLine, sourceFile) || SmartIndenter.childIsUnindentedBranchOfConditionalExpression(parent2, node, startLine, sourceFile) || SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(parent2, node, startLine, sourceFile)) {\n            return { indentation: parentDynamicIndentation.getIndentation(), delta: delta2 };\n          } else {\n            return { indentation: parentDynamicIndentation.getIndentation() + parentDynamicIndentation.getDelta(node), delta: delta2 };\n          }\n        } else {\n          return { indentation: inheritedIndentation, delta: delta2 };\n        }\n      }\n      function getFirstNonDecoratorTokenOfNode(node) {\n        if (canHaveModifiers(node)) {\n          const modifier = find(node.modifiers, isModifier, findIndex(node.modifiers, isDecorator));\n          if (modifier)\n            return modifier.kind;\n        }\n        switch (node.kind) {\n          case 260:\n            return 84;\n          case 261:\n            return 118;\n          case 259:\n            return 98;\n          case 263:\n            return 263;\n          case 174:\n            return 137;\n          case 175:\n            return 151;\n          case 171:\n            if (node.asteriskToken) {\n              return 41;\n            }\n          case 169:\n          case 166:\n            const name = getNameOfDeclaration(node);\n            if (name) {\n              return name.kind;\n            }\n        }\n      }\n      function getDynamicIndentation(node, nodeStartLine, indentation, delta2) {\n        return {\n          getIndentationForComment: (kind, tokenIndentation, container) => {\n            switch (kind) {\n              case 19:\n              case 23:\n              case 21:\n                return indentation + getDelta(container);\n            }\n            return tokenIndentation !== -1 ? tokenIndentation : indentation;\n          },\n          // if list end token is LessThanToken '>' then its delta should be explicitly suppressed\n          // so that LessThanToken as a binary operator can still be indented.\n          // foo.then\n          //     <\n          //         number,\n          //         string,\n          //     >();\n          // vs\n          // var a = xValue\n          //     > yValue;\n          getIndentationForToken: (line, kind, container, suppressDelta) => !suppressDelta && shouldAddDelta(line, kind, container) ? indentation + getDelta(container) : indentation,\n          getIndentation: () => indentation,\n          getDelta,\n          recomputeIndentation: (lineAdded, parent2) => {\n            if (SmartIndenter.shouldIndentChildNode(options, parent2, node, sourceFile)) {\n              indentation += lineAdded ? options.indentSize : -options.indentSize;\n              delta2 = SmartIndenter.shouldIndentChildNode(options, node) ? options.indentSize : 0;\n            }\n          }\n        };\n        function shouldAddDelta(line, kind, container) {\n          switch (kind) {\n            case 18:\n            case 19:\n            case 21:\n            case 91:\n            case 115:\n            case 59:\n              return false;\n            case 43:\n            case 31:\n              switch (container.kind) {\n                case 283:\n                case 284:\n                case 282:\n                  return false;\n              }\n              break;\n            case 22:\n            case 23:\n              if (container.kind !== 197) {\n                return false;\n              }\n              break;\n          }\n          return nodeStartLine !== line && !(hasDecorators(node) && kind === getFirstNonDecoratorTokenOfNode(node));\n        }\n        function getDelta(child) {\n          return SmartIndenter.nodeWillIndentChild(\n            options,\n            node,\n            child,\n            sourceFile,\n            /*indentByDefault*/\n            true\n          ) ? delta2 : 0;\n        }\n      }\n      function processNode(node, contextNode, nodeStartLine, undecoratedNodeStartLine, indentation, delta2) {\n        if (!rangeOverlapsWithStartEnd(originalRange, node.getStart(sourceFile), node.getEnd())) {\n          return;\n        }\n        const nodeDynamicIndentation = getDynamicIndentation(node, nodeStartLine, indentation, delta2);\n        let childContextNode = contextNode;\n        forEachChild(\n          node,\n          (child) => {\n            processChildNode(\n              child,\n              /*inheritedIndentation*/\n              -1,\n              node,\n              nodeDynamicIndentation,\n              nodeStartLine,\n              undecoratedNodeStartLine,\n              /*isListItem*/\n              false\n            );\n          },\n          (nodes) => {\n            processChildNodes(nodes, node, nodeStartLine, nodeDynamicIndentation);\n          }\n        );\n        while (formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n          const tokenInfo = formattingScanner.readTokenInfo(node);\n          if (tokenInfo.token.end > Math.min(node.end, originalRange.end)) {\n            break;\n          }\n          consumeTokenAndAdvanceScanner(tokenInfo, node, nodeDynamicIndentation, node);\n        }\n        function processChildNode(child, inheritedIndentation, parent2, parentDynamicIndentation, parentStartLine, undecoratedParentStartLine, isListItem, isFirstListItem) {\n          Debug2.assert(!nodeIsSynthesized(child));\n          if (nodeIsMissing(child) || isGrammarError(parent2, child)) {\n            return inheritedIndentation;\n          }\n          const childStartPos = child.getStart(sourceFile);\n          const childStartLine = sourceFile.getLineAndCharacterOfPosition(childStartPos).line;\n          let undecoratedChildStartLine = childStartLine;\n          if (hasDecorators(child)) {\n            undecoratedChildStartLine = sourceFile.getLineAndCharacterOfPosition(getNonDecoratorTokenPosOfNode(child, sourceFile)).line;\n          }\n          let childIndentationAmount = -1;\n          if (isListItem && rangeContainsRange(originalRange, parent2)) {\n            childIndentationAmount = tryComputeIndentationForListItem(childStartPos, child.end, parentStartLine, originalRange, inheritedIndentation);\n            if (childIndentationAmount !== -1) {\n              inheritedIndentation = childIndentationAmount;\n            }\n          }\n          if (!rangeOverlapsWithStartEnd(originalRange, child.pos, child.end)) {\n            if (child.end < originalRange.pos) {\n              formattingScanner.skipToEndOf(child);\n            }\n            return inheritedIndentation;\n          }\n          if (child.getFullWidth() === 0) {\n            return inheritedIndentation;\n          }\n          while (formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n            const tokenInfo = formattingScanner.readTokenInfo(node);\n            if (tokenInfo.token.end > originalRange.end) {\n              return inheritedIndentation;\n            }\n            if (tokenInfo.token.end > childStartPos) {\n              if (tokenInfo.token.pos > childStartPos) {\n                formattingScanner.skipToStartOf(child);\n              }\n              break;\n            }\n            consumeTokenAndAdvanceScanner(tokenInfo, node, parentDynamicIndentation, node);\n          }\n          if (!formattingScanner.isOnToken() || formattingScanner.getStartPos() >= originalRange.end) {\n            return inheritedIndentation;\n          }\n          if (isToken(child)) {\n            const tokenInfo = formattingScanner.readTokenInfo(child);\n            if (child.kind !== 11) {\n              Debug2.assert(tokenInfo.token.end === child.end, \"Token end is child end\");\n              consumeTokenAndAdvanceScanner(tokenInfo, node, parentDynamicIndentation, child);\n              return inheritedIndentation;\n            }\n          }\n          const effectiveParentStartLine = child.kind === 167 ? childStartLine : undecoratedParentStartLine;\n          const childIndentation = computeIndentation(child, childStartLine, childIndentationAmount, node, parentDynamicIndentation, effectiveParentStartLine);\n          processNode(child, childContextNode, childStartLine, undecoratedChildStartLine, childIndentation.indentation, childIndentation.delta);\n          childContextNode = node;\n          if (isFirstListItem && parent2.kind === 206 && inheritedIndentation === -1) {\n            inheritedIndentation = childIndentation.indentation;\n          }\n          return inheritedIndentation;\n        }\n        function processChildNodes(nodes, parent2, parentStartLine, parentDynamicIndentation) {\n          Debug2.assert(isNodeArray(nodes));\n          Debug2.assert(!nodeIsSynthesized(nodes));\n          const listStartToken = getOpenTokenForList(parent2, nodes);\n          let listDynamicIndentation = parentDynamicIndentation;\n          let startLine = parentStartLine;\n          if (!rangeOverlapsWithStartEnd(originalRange, nodes.pos, nodes.end)) {\n            if (nodes.end < originalRange.pos) {\n              formattingScanner.skipToEndOf(nodes);\n            }\n            return;\n          }\n          if (listStartToken !== 0) {\n            while (formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n              const tokenInfo = formattingScanner.readTokenInfo(parent2);\n              if (tokenInfo.token.end > nodes.pos) {\n                break;\n              } else if (tokenInfo.token.kind === listStartToken) {\n                startLine = sourceFile.getLineAndCharacterOfPosition(tokenInfo.token.pos).line;\n                consumeTokenAndAdvanceScanner(tokenInfo, parent2, parentDynamicIndentation, parent2);\n                let indentationOnListStartToken;\n                if (indentationOnLastIndentedLine !== -1) {\n                  indentationOnListStartToken = indentationOnLastIndentedLine;\n                } else {\n                  const startLinePosition = getLineStartPositionForPosition(tokenInfo.token.pos, sourceFile);\n                  indentationOnListStartToken = SmartIndenter.findFirstNonWhitespaceColumn(startLinePosition, tokenInfo.token.pos, sourceFile, options);\n                }\n                listDynamicIndentation = getDynamicIndentation(parent2, parentStartLine, indentationOnListStartToken, options.indentSize);\n              } else {\n                consumeTokenAndAdvanceScanner(tokenInfo, parent2, parentDynamicIndentation, parent2);\n              }\n            }\n          }\n          let inheritedIndentation = -1;\n          for (let i = 0; i < nodes.length; i++) {\n            const child = nodes[i];\n            inheritedIndentation = processChildNode(\n              child,\n              inheritedIndentation,\n              node,\n              listDynamicIndentation,\n              startLine,\n              startLine,\n              /*isListItem*/\n              true,\n              /*isFirstListItem*/\n              i === 0\n            );\n          }\n          const listEndToken = getCloseTokenForOpenToken(listStartToken);\n          if (listEndToken !== 0 && formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n            let tokenInfo = formattingScanner.readTokenInfo(parent2);\n            if (tokenInfo.token.kind === 27) {\n              consumeTokenAndAdvanceScanner(tokenInfo, parent2, listDynamicIndentation, parent2);\n              tokenInfo = formattingScanner.isOnToken() ? formattingScanner.readTokenInfo(parent2) : void 0;\n            }\n            if (tokenInfo && tokenInfo.token.kind === listEndToken && rangeContainsRange(parent2, tokenInfo.token)) {\n              consumeTokenAndAdvanceScanner(\n                tokenInfo,\n                parent2,\n                listDynamicIndentation,\n                parent2,\n                /*isListEndToken*/\n                true\n              );\n            }\n          }\n        }\n        function consumeTokenAndAdvanceScanner(currentTokenInfo, parent2, dynamicIndentation, container, isListEndToken) {\n          Debug2.assert(rangeContainsRange(parent2, currentTokenInfo.token));\n          const lastTriviaWasNewLine = formattingScanner.lastTrailingTriviaWasNewLine();\n          let indentToken = false;\n          if (currentTokenInfo.leadingTrivia) {\n            processTrivia(currentTokenInfo.leadingTrivia, parent2, childContextNode, dynamicIndentation);\n          }\n          let lineAction = 0;\n          const isTokenInRange = rangeContainsRange(originalRange, currentTokenInfo.token);\n          const tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos);\n          if (isTokenInRange) {\n            const rangeHasError = rangeContainsError(currentTokenInfo.token);\n            const savePreviousRange = previousRange;\n            lineAction = processRange(currentTokenInfo.token, tokenStart, parent2, childContextNode, dynamicIndentation);\n            if (!rangeHasError) {\n              if (lineAction === 0) {\n                const prevEndLine = savePreviousRange && sourceFile.getLineAndCharacterOfPosition(savePreviousRange.end).line;\n                indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;\n              } else {\n                indentToken = lineAction === 1;\n              }\n            }\n          }\n          if (currentTokenInfo.trailingTrivia) {\n            previousRangeTriviaEnd = last(currentTokenInfo.trailingTrivia).end;\n            processTrivia(currentTokenInfo.trailingTrivia, parent2, childContextNode, dynamicIndentation);\n          }\n          if (indentToken) {\n            const tokenIndentation = isTokenInRange && !rangeContainsError(currentTokenInfo.token) ? dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container, !!isListEndToken) : -1;\n            let indentNextTokenOrTrivia = true;\n            if (currentTokenInfo.leadingTrivia) {\n              const commentIndentation = dynamicIndentation.getIndentationForComment(currentTokenInfo.token.kind, tokenIndentation, container);\n              indentNextTokenOrTrivia = indentTriviaItems(\n                currentTokenInfo.leadingTrivia,\n                commentIndentation,\n                indentNextTokenOrTrivia,\n                (item) => insertIndentation(\n                  item.pos,\n                  commentIndentation,\n                  /*lineAdded*/\n                  false\n                )\n              );\n            }\n            if (tokenIndentation !== -1 && indentNextTokenOrTrivia) {\n              insertIndentation(\n                currentTokenInfo.token.pos,\n                tokenIndentation,\n                lineAction === 1\n                /* LineAdded */\n              );\n              lastIndentedLine = tokenStart.line;\n              indentationOnLastIndentedLine = tokenIndentation;\n            }\n          }\n          formattingScanner.advance();\n          childContextNode = parent2;\n        }\n      }\n      function indentTriviaItems(trivia, commentIndentation, indentNextTokenOrTrivia, indentSingleLine) {\n        for (const triviaItem of trivia) {\n          const triviaInRange = rangeContainsRange(originalRange, triviaItem);\n          switch (triviaItem.kind) {\n            case 3:\n              if (triviaInRange) {\n                indentMultilineComment(\n                  triviaItem,\n                  commentIndentation,\n                  /*firstLineIsIndented*/\n                  !indentNextTokenOrTrivia\n                );\n              }\n              indentNextTokenOrTrivia = false;\n              break;\n            case 2:\n              if (indentNextTokenOrTrivia && triviaInRange) {\n                indentSingleLine(triviaItem);\n              }\n              indentNextTokenOrTrivia = false;\n              break;\n            case 4:\n              indentNextTokenOrTrivia = true;\n              break;\n          }\n        }\n        return indentNextTokenOrTrivia;\n      }\n      function processTrivia(trivia, parent2, contextNode, dynamicIndentation) {\n        for (const triviaItem of trivia) {\n          if (isComment(triviaItem.kind) && rangeContainsRange(originalRange, triviaItem)) {\n            const triviaItemStart = sourceFile.getLineAndCharacterOfPosition(triviaItem.pos);\n            processRange(triviaItem, triviaItemStart, parent2, contextNode, dynamicIndentation);\n          }\n        }\n      }\n      function processRange(range, rangeStart, parent2, contextNode, dynamicIndentation) {\n        const rangeHasError = rangeContainsError(range);\n        let lineAction = 0;\n        if (!rangeHasError) {\n          if (!previousRange) {\n            const originalStart = sourceFile.getLineAndCharacterOfPosition(originalRange.pos);\n            trimTrailingWhitespacesForLines(originalStart.line, rangeStart.line);\n          } else {\n            lineAction = processPair(range, rangeStart.line, parent2, previousRange, previousRangeStartLine, previousParent, contextNode, dynamicIndentation);\n          }\n        }\n        previousRange = range;\n        previousRangeTriviaEnd = range.end;\n        previousParent = parent2;\n        previousRangeStartLine = rangeStart.line;\n        return lineAction;\n      }\n      function processPair(currentItem, currentStartLine, currentParent, previousItem, previousStartLine, previousParent2, contextNode, dynamicIndentation) {\n        formattingContext.updateContext(previousItem, previousParent2, currentItem, currentParent, contextNode);\n        const rules = getRules(formattingContext);\n        let trimTrailingWhitespaces = formattingContext.options.trimTrailingWhitespace !== false;\n        let lineAction = 0;\n        if (rules) {\n          forEachRight(rules, (rule2) => {\n            lineAction = applyRuleEdits(rule2, previousItem, previousStartLine, currentItem, currentStartLine);\n            if (dynamicIndentation) {\n              switch (lineAction) {\n                case 2:\n                  if (currentParent.getStart(sourceFile) === currentItem.pos) {\n                    dynamicIndentation.recomputeIndentation(\n                      /*lineAddedByFormatting*/\n                      false,\n                      contextNode\n                    );\n                  }\n                  break;\n                case 1:\n                  if (currentParent.getStart(sourceFile) === currentItem.pos) {\n                    dynamicIndentation.recomputeIndentation(\n                      /*lineAddedByFormatting*/\n                      true,\n                      contextNode\n                    );\n                  }\n                  break;\n                default:\n                  Debug2.assert(\n                    lineAction === 0\n                    /* None */\n                  );\n              }\n            }\n            trimTrailingWhitespaces = trimTrailingWhitespaces && !(rule2.action & 16) && rule2.flags !== 1;\n          });\n        } else {\n          trimTrailingWhitespaces = trimTrailingWhitespaces && currentItem.kind !== 1;\n        }\n        if (currentStartLine !== previousStartLine && trimTrailingWhitespaces) {\n          trimTrailingWhitespacesForLines(previousStartLine, currentStartLine, previousItem);\n        }\n        return lineAction;\n      }\n      function insertIndentation(pos, indentation, lineAdded) {\n        const indentationString = getIndentationString(indentation, options);\n        if (lineAdded) {\n          recordReplace(pos, 0, indentationString);\n        } else {\n          const tokenStart = sourceFile.getLineAndCharacterOfPosition(pos);\n          const startLinePosition = getStartPositionOfLine(tokenStart.line, sourceFile);\n          if (indentation !== characterToColumn(startLinePosition, tokenStart.character) || indentationIsDifferent(indentationString, startLinePosition)) {\n            recordReplace(startLinePosition, tokenStart.character, indentationString);\n          }\n        }\n      }\n      function characterToColumn(startLinePosition, characterInLine) {\n        let column = 0;\n        for (let i = 0; i < characterInLine; i++) {\n          if (sourceFile.text.charCodeAt(startLinePosition + i) === 9) {\n            column += options.tabSize - column % options.tabSize;\n          } else {\n            column++;\n          }\n        }\n        return column;\n      }\n      function indentationIsDifferent(indentationString, startLinePosition) {\n        return indentationString !== sourceFile.text.substr(startLinePosition, indentationString.length);\n      }\n      function indentMultilineComment(commentRange, indentation, firstLineIsIndented, indentFinalLine = true) {\n        let startLine = sourceFile.getLineAndCharacterOfPosition(commentRange.pos).line;\n        const endLine = sourceFile.getLineAndCharacterOfPosition(commentRange.end).line;\n        if (startLine === endLine) {\n          if (!firstLineIsIndented) {\n            insertIndentation(\n              commentRange.pos,\n              indentation,\n              /*lineAdded*/\n              false\n            );\n          }\n          return;\n        }\n        const parts = [];\n        let startPos = commentRange.pos;\n        for (let line = startLine; line < endLine; line++) {\n          const endOfLine = getEndLinePosition(line, sourceFile);\n          parts.push({ pos: startPos, end: endOfLine });\n          startPos = getStartPositionOfLine(line + 1, sourceFile);\n        }\n        if (indentFinalLine) {\n          parts.push({ pos: startPos, end: commentRange.end });\n        }\n        if (parts.length === 0)\n          return;\n        const startLinePos = getStartPositionOfLine(startLine, sourceFile);\n        const nonWhitespaceColumnInFirstPart = SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(startLinePos, parts[0].pos, sourceFile, options);\n        let startIndex = 0;\n        if (firstLineIsIndented) {\n          startIndex = 1;\n          startLine++;\n        }\n        const delta2 = indentation - nonWhitespaceColumnInFirstPart.column;\n        for (let i = startIndex; i < parts.length; i++, startLine++) {\n          const startLinePos2 = getStartPositionOfLine(startLine, sourceFile);\n          const nonWhitespaceCharacterAndColumn = i === 0 ? nonWhitespaceColumnInFirstPart : SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(parts[i].pos, parts[i].end, sourceFile, options);\n          const newIndentation = nonWhitespaceCharacterAndColumn.column + delta2;\n          if (newIndentation > 0) {\n            const indentationString = getIndentationString(newIndentation, options);\n            recordReplace(startLinePos2, nonWhitespaceCharacterAndColumn.character, indentationString);\n          } else {\n            recordDelete(startLinePos2, nonWhitespaceCharacterAndColumn.character);\n          }\n        }\n      }\n      function trimTrailingWhitespacesForLines(line1, line2, range) {\n        for (let line = line1; line < line2; line++) {\n          const lineStartPosition = getStartPositionOfLine(line, sourceFile);\n          const lineEndPosition = getEndLinePosition(line, sourceFile);\n          if (range && (isComment(range.kind) || isStringOrRegularExpressionOrTemplateLiteral(range.kind)) && range.pos <= lineEndPosition && range.end > lineEndPosition) {\n            continue;\n          }\n          const whitespaceStart = getTrailingWhitespaceStartPosition(lineStartPosition, lineEndPosition);\n          if (whitespaceStart !== -1) {\n            Debug2.assert(whitespaceStart === lineStartPosition || !isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(whitespaceStart - 1)));\n            recordDelete(whitespaceStart, lineEndPosition + 1 - whitespaceStart);\n          }\n        }\n      }\n      function getTrailingWhitespaceStartPosition(start, end) {\n        let pos = end;\n        while (pos >= start && isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(pos))) {\n          pos--;\n        }\n        if (pos !== end) {\n          return pos + 1;\n        }\n        return -1;\n      }\n      function trimTrailingWhitespacesForRemainingRange(trivias) {\n        let startPos = previousRange ? previousRange.end : originalRange.pos;\n        for (const trivia of trivias) {\n          if (isComment(trivia.kind)) {\n            if (startPos < trivia.pos) {\n              trimTrailingWitespacesForPositions(startPos, trivia.pos - 1, previousRange);\n            }\n            startPos = trivia.end + 1;\n          }\n        }\n        if (startPos < originalRange.end) {\n          trimTrailingWitespacesForPositions(startPos, originalRange.end, previousRange);\n        }\n      }\n      function trimTrailingWitespacesForPositions(startPos, endPos, previousRange2) {\n        const startLine = sourceFile.getLineAndCharacterOfPosition(startPos).line;\n        const endLine = sourceFile.getLineAndCharacterOfPosition(endPos).line;\n        trimTrailingWhitespacesForLines(startLine, endLine + 1, previousRange2);\n      }\n      function recordDelete(start, len) {\n        if (len) {\n          edits.push(createTextChangeFromStartLength(start, len, \"\"));\n        }\n      }\n      function recordReplace(start, len, newText) {\n        if (len || newText) {\n          edits.push(createTextChangeFromStartLength(start, len, newText));\n        }\n      }\n      function recordInsert(start, text) {\n        if (text) {\n          edits.push(createTextChangeFromStartLength(start, 0, text));\n        }\n      }\n      function applyRuleEdits(rule2, previousRange2, previousStartLine, currentRange, currentStartLine) {\n        const onLaterLine = currentStartLine !== previousStartLine;\n        switch (rule2.action) {\n          case 1:\n            return 0;\n          case 16:\n            if (previousRange2.end !== currentRange.pos) {\n              recordDelete(previousRange2.end, currentRange.pos - previousRange2.end);\n              return onLaterLine ? 2 : 0;\n            }\n            break;\n          case 32:\n            recordDelete(previousRange2.pos, previousRange2.end - previousRange2.pos);\n            break;\n          case 8:\n            if (rule2.flags !== 1 && previousStartLine !== currentStartLine) {\n              return 0;\n            }\n            const lineDelta = currentStartLine - previousStartLine;\n            if (lineDelta !== 1) {\n              recordReplace(previousRange2.end, currentRange.pos - previousRange2.end, getNewLineOrDefaultFromHost(host, options));\n              return onLaterLine ? 0 : 1;\n            }\n            break;\n          case 4:\n            if (rule2.flags !== 1 && previousStartLine !== currentStartLine) {\n              return 0;\n            }\n            const posDelta = currentRange.pos - previousRange2.end;\n            if (posDelta !== 1 || sourceFile.text.charCodeAt(previousRange2.end) !== 32) {\n              recordReplace(previousRange2.end, currentRange.pos - previousRange2.end, \" \");\n              return onLaterLine ? 2 : 0;\n            }\n            break;\n          case 64:\n            recordInsert(previousRange2.end, \";\");\n        }\n        return 0;\n      }\n    }\n    function getRangeOfEnclosingComment(sourceFile, position, precedingToken, tokenAtPosition = getTokenAtPosition(sourceFile, position)) {\n      const jsdoc = findAncestor(tokenAtPosition, isJSDoc);\n      if (jsdoc)\n        tokenAtPosition = jsdoc.parent;\n      const tokenStart = tokenAtPosition.getStart(sourceFile);\n      if (tokenStart <= position && position < tokenAtPosition.getEnd()) {\n        return void 0;\n      }\n      precedingToken = precedingToken === null ? void 0 : precedingToken === void 0 ? findPrecedingToken(position, sourceFile) : precedingToken;\n      const trailingRangesOfPreviousToken = precedingToken && getTrailingCommentRanges(sourceFile.text, precedingToken.end);\n      const leadingCommentRangesOfNextToken = getLeadingCommentRangesOfNode(tokenAtPosition, sourceFile);\n      const commentRanges = concatenate(trailingRangesOfPreviousToken, leadingCommentRangesOfNextToken);\n      return commentRanges && find(commentRanges, (range) => rangeContainsPositionExclusive(range, position) || // The end marker of a single-line comment does not include the newline character.\n      // With caret at `^`, in the following case, we are inside a comment (^ denotes the cursor position):\n      //\n      //    // asdf   ^\\n\n      //\n      // But for closed multi-line comments, we don't want to be inside the comment in the following case:\n      //\n      //    /* asdf */^\n      //\n      // However, unterminated multi-line comments *do* contain their end.\n      //\n      // Internally, we represent the end of the comment at the newline and closing '/', respectively.\n      //\n      position === range.end && (range.kind === 2 || position === sourceFile.getFullWidth()));\n    }\n    function getOpenTokenForList(node, list) {\n      switch (node.kind) {\n        case 173:\n        case 259:\n        case 215:\n        case 171:\n        case 170:\n        case 216:\n        case 176:\n        case 177:\n        case 181:\n        case 182:\n        case 174:\n        case 175:\n          if (node.typeParameters === list) {\n            return 29;\n          } else if (node.parameters === list) {\n            return 20;\n          }\n          break;\n        case 210:\n        case 211:\n          if (node.typeArguments === list) {\n            return 29;\n          } else if (node.arguments === list) {\n            return 20;\n          }\n          break;\n        case 260:\n        case 228:\n        case 261:\n        case 262:\n          if (node.typeParameters === list) {\n            return 29;\n          }\n          break;\n        case 180:\n        case 212:\n        case 183:\n        case 230:\n        case 202:\n          if (node.typeArguments === list) {\n            return 29;\n          }\n          break;\n        case 184:\n          return 18;\n      }\n      return 0;\n    }\n    function getCloseTokenForOpenToken(kind) {\n      switch (kind) {\n        case 20:\n          return 21;\n        case 29:\n          return 31;\n        case 18:\n          return 19;\n      }\n      return 0;\n    }\n    function getIndentationString(indentation, options) {\n      const resetInternedStrings = !internedSizes || (internedSizes.tabSize !== options.tabSize || internedSizes.indentSize !== options.indentSize);\n      if (resetInternedStrings) {\n        internedSizes = { tabSize: options.tabSize, indentSize: options.indentSize };\n        internedTabsIndentation = internedSpacesIndentation = void 0;\n      }\n      if (!options.convertTabsToSpaces) {\n        const tabs = Math.floor(indentation / options.tabSize);\n        const spaces = indentation - tabs * options.tabSize;\n        let tabString;\n        if (!internedTabsIndentation) {\n          internedTabsIndentation = [];\n        }\n        if (internedTabsIndentation[tabs] === void 0) {\n          internedTabsIndentation[tabs] = tabString = repeatString(\"\t\", tabs);\n        } else {\n          tabString = internedTabsIndentation[tabs];\n        }\n        return spaces ? tabString + repeatString(\" \", spaces) : tabString;\n      } else {\n        let spacesString;\n        const quotient = Math.floor(indentation / options.indentSize);\n        const remainder = indentation % options.indentSize;\n        if (!internedSpacesIndentation) {\n          internedSpacesIndentation = [];\n        }\n        if (internedSpacesIndentation[quotient] === void 0) {\n          spacesString = repeatString(\" \", options.indentSize * quotient);\n          internedSpacesIndentation[quotient] = spacesString;\n        } else {\n          spacesString = internedSpacesIndentation[quotient];\n        }\n        return remainder ? spacesString + repeatString(\" \", remainder) : spacesString;\n      }\n    }\n    var internedSizes, internedTabsIndentation, internedSpacesIndentation;\n    var init_formatting = __esm({\n      \"src/services/formatting/formatting.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_formatting();\n      }\n    });\n    var SmartIndenter;\n    var init_smartIndenter = __esm({\n      \"src/services/formatting/smartIndenter.ts\"() {\n        \"use strict\";\n        init_ts4();\n        init_ts_formatting();\n        ((SmartIndenter2) => {\n          let Value;\n          ((Value2) => {\n            Value2[Value2[\"Unknown\"] = -1] = \"Unknown\";\n          })(Value || (Value = {}));\n          function getIndentation2(position, sourceFile, options, assumeNewLineBeforeCloseBrace = false) {\n            if (position > sourceFile.text.length) {\n              return getBaseIndentation(options);\n            }\n            if (options.indentStyle === 0) {\n              return 0;\n            }\n            const precedingToken = findPrecedingToken(\n              position,\n              sourceFile,\n              /*startNode*/\n              void 0,\n              /*excludeJsdoc*/\n              true\n            );\n            const enclosingCommentRange = getRangeOfEnclosingComment(sourceFile, position, precedingToken || null);\n            if (enclosingCommentRange && enclosingCommentRange.kind === 3) {\n              return getCommentIndent(sourceFile, position, options, enclosingCommentRange);\n            }\n            if (!precedingToken) {\n              return getBaseIndentation(options);\n            }\n            const precedingTokenIsLiteral = isStringOrRegularExpressionOrTemplateLiteral(precedingToken.kind);\n            if (precedingTokenIsLiteral && precedingToken.getStart(sourceFile) <= position && position < precedingToken.end) {\n              return 0;\n            }\n            const lineAtPosition = sourceFile.getLineAndCharacterOfPosition(position).line;\n            const currentToken = getTokenAtPosition(sourceFile, position);\n            const isObjectLiteral = currentToken.kind === 18 && currentToken.parent.kind === 207;\n            if (options.indentStyle === 1 || isObjectLiteral) {\n              return getBlockIndent(sourceFile, position, options);\n            }\n            if (precedingToken.kind === 27 && precedingToken.parent.kind !== 223) {\n              const actualIndentation = getActualIndentationForListItemBeforeComma(precedingToken, sourceFile, options);\n              if (actualIndentation !== -1) {\n                return actualIndentation;\n              }\n            }\n            const containerList = getListByPosition(position, precedingToken.parent, sourceFile);\n            if (containerList && !rangeContainsRange(containerList, precedingToken)) {\n              const useTheSameBaseIndentation = [\n                215,\n                216\n                /* ArrowFunction */\n              ].indexOf(currentToken.parent.kind) !== -1;\n              const indentSize = useTheSameBaseIndentation ? 0 : options.indentSize;\n              return getActualIndentationForListStartLine(containerList, sourceFile, options) + indentSize;\n            }\n            return getSmartIndent(sourceFile, position, precedingToken, lineAtPosition, assumeNewLineBeforeCloseBrace, options);\n          }\n          SmartIndenter2.getIndentation = getIndentation2;\n          function getCommentIndent(sourceFile, position, options, enclosingCommentRange) {\n            const previousLine = getLineAndCharacterOfPosition(sourceFile, position).line - 1;\n            const commentStartLine = getLineAndCharacterOfPosition(sourceFile, enclosingCommentRange.pos).line;\n            Debug2.assert(commentStartLine >= 0);\n            if (previousLine <= commentStartLine) {\n              return findFirstNonWhitespaceColumn(getStartPositionOfLine(commentStartLine, sourceFile), position, sourceFile, options);\n            }\n            const startPositionOfLine = getStartPositionOfLine(previousLine, sourceFile);\n            const { column, character } = findFirstNonWhitespaceCharacterAndColumn(startPositionOfLine, position, sourceFile, options);\n            if (column === 0) {\n              return column;\n            }\n            const firstNonWhitespaceCharacterCode = sourceFile.text.charCodeAt(startPositionOfLine + character);\n            return firstNonWhitespaceCharacterCode === 42 ? column - 1 : column;\n          }\n          function getBlockIndent(sourceFile, position, options) {\n            let current = position;\n            while (current > 0) {\n              const char = sourceFile.text.charCodeAt(current);\n              if (!isWhiteSpaceLike(char)) {\n                break;\n              }\n              current--;\n            }\n            const lineStart = getLineStartPositionForPosition(current, sourceFile);\n            return findFirstNonWhitespaceColumn(lineStart, current, sourceFile, options);\n          }\n          function getSmartIndent(sourceFile, position, precedingToken, lineAtPosition, assumeNewLineBeforeCloseBrace, options) {\n            let previous;\n            let current = precedingToken;\n            while (current) {\n              if (positionBelongsToNode(current, position, sourceFile) && shouldIndentChildNode(\n                options,\n                current,\n                previous,\n                sourceFile,\n                /*isNextChild*/\n                true\n              )) {\n                const currentStart = getStartLineAndCharacterForNode(current, sourceFile);\n                const nextTokenKind = nextTokenIsCurlyBraceOnSameLineAsCursor(precedingToken, current, lineAtPosition, sourceFile);\n                const indentationDelta = nextTokenKind !== 0 ? assumeNewLineBeforeCloseBrace && nextTokenKind === 2 ? options.indentSize : 0 : lineAtPosition !== currentStart.line ? options.indentSize : 0;\n                return getIndentationForNodeWorker(\n                  current,\n                  currentStart,\n                  /*ignoreActualIndentationRange*/\n                  void 0,\n                  indentationDelta,\n                  sourceFile,\n                  /*isNextChild*/\n                  true,\n                  options\n                );\n              }\n              const actualIndentation = getActualIndentationForListItem(\n                current,\n                sourceFile,\n                options,\n                /*listIndentsChild*/\n                true\n              );\n              if (actualIndentation !== -1) {\n                return actualIndentation;\n              }\n              previous = current;\n              current = current.parent;\n            }\n            return getBaseIndentation(options);\n          }\n          function getIndentationForNode(n, ignoreActualIndentationRange, sourceFile, options) {\n            const start = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile));\n            return getIndentationForNodeWorker(\n              n,\n              start,\n              ignoreActualIndentationRange,\n              /*indentationDelta*/\n              0,\n              sourceFile,\n              /*isNextChild*/\n              false,\n              options\n            );\n          }\n          SmartIndenter2.getIndentationForNode = getIndentationForNode;\n          function getBaseIndentation(options) {\n            return options.baseIndentSize || 0;\n          }\n          SmartIndenter2.getBaseIndentation = getBaseIndentation;\n          function getIndentationForNodeWorker(current, currentStart, ignoreActualIndentationRange, indentationDelta, sourceFile, isNextChild, options) {\n            var _a22;\n            let parent2 = current.parent;\n            while (parent2) {\n              let useActualIndentation = true;\n              if (ignoreActualIndentationRange) {\n                const start = current.getStart(sourceFile);\n                useActualIndentation = start < ignoreActualIndentationRange.pos || start > ignoreActualIndentationRange.end;\n              }\n              const containingListOrParentStart = getContainingListOrParentStart(parent2, current, sourceFile);\n              const parentAndChildShareLine = containingListOrParentStart.line === currentStart.line || childStartsOnTheSameLineWithElseInIfStatement(parent2, current, currentStart.line, sourceFile);\n              if (useActualIndentation) {\n                const firstListChild = (_a22 = getContainingList(current, sourceFile)) == null ? void 0 : _a22[0];\n                const listIndentsChild = !!firstListChild && getStartLineAndCharacterForNode(firstListChild, sourceFile).line > containingListOrParentStart.line;\n                let actualIndentation = getActualIndentationForListItem(current, sourceFile, options, listIndentsChild);\n                if (actualIndentation !== -1) {\n                  return actualIndentation + indentationDelta;\n                }\n                actualIndentation = getActualIndentationForNode(current, parent2, currentStart, parentAndChildShareLine, sourceFile, options);\n                if (actualIndentation !== -1) {\n                  return actualIndentation + indentationDelta;\n                }\n              }\n              if (shouldIndentChildNode(options, parent2, current, sourceFile, isNextChild) && !parentAndChildShareLine) {\n                indentationDelta += options.indentSize;\n              }\n              const useTrueStart = isArgumentAndStartLineOverlapsExpressionBeingCalled(parent2, current, currentStart.line, sourceFile);\n              current = parent2;\n              parent2 = current.parent;\n              currentStart = useTrueStart ? sourceFile.getLineAndCharacterOfPosition(current.getStart(sourceFile)) : containingListOrParentStart;\n            }\n            return indentationDelta + getBaseIndentation(options);\n          }\n          function getContainingListOrParentStart(parent2, child, sourceFile) {\n            const containingList = getContainingList(child, sourceFile);\n            const startPos = containingList ? containingList.pos : parent2.getStart(sourceFile);\n            return sourceFile.getLineAndCharacterOfPosition(startPos);\n          }\n          function getActualIndentationForListItemBeforeComma(commaToken, sourceFile, options) {\n            const commaItemInfo = findListItemInfo(commaToken);\n            if (commaItemInfo && commaItemInfo.listItemIndex > 0) {\n              return deriveActualIndentationFromList(commaItemInfo.list.getChildren(), commaItemInfo.listItemIndex - 1, sourceFile, options);\n            } else {\n              return -1;\n            }\n          }\n          function getActualIndentationForNode(current, parent2, currentLineAndChar, parentAndChildShareLine, sourceFile, options) {\n            const useActualIndentation = (isDeclaration(current) || isStatementButNotDeclaration(current)) && (parent2.kind === 308 || !parentAndChildShareLine);\n            if (!useActualIndentation) {\n              return -1;\n            }\n            return findColumnForFirstNonWhitespaceCharacterInLine(currentLineAndChar, sourceFile, options);\n          }\n          let NextTokenKind;\n          ((NextTokenKind2) => {\n            NextTokenKind2[NextTokenKind2[\"Unknown\"] = 0] = \"Unknown\";\n            NextTokenKind2[NextTokenKind2[\"OpenBrace\"] = 1] = \"OpenBrace\";\n            NextTokenKind2[NextTokenKind2[\"CloseBrace\"] = 2] = \"CloseBrace\";\n          })(NextTokenKind || (NextTokenKind = {}));\n          function nextTokenIsCurlyBraceOnSameLineAsCursor(precedingToken, current, lineAtPosition, sourceFile) {\n            const nextToken = findNextToken(precedingToken, current, sourceFile);\n            if (!nextToken) {\n              return 0;\n            }\n            if (nextToken.kind === 18) {\n              return 1;\n            } else if (nextToken.kind === 19) {\n              const nextTokenStartLine = getStartLineAndCharacterForNode(nextToken, sourceFile).line;\n              return lineAtPosition === nextTokenStartLine ? 2 : 0;\n            }\n            return 0;\n          }\n          function getStartLineAndCharacterForNode(n, sourceFile) {\n            return sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile));\n          }\n          function isArgumentAndStartLineOverlapsExpressionBeingCalled(parent2, child, childStartLine, sourceFile) {\n            if (!(isCallExpression(parent2) && contains(parent2.arguments, child))) {\n              return false;\n            }\n            const expressionOfCallExpressionEnd = parent2.expression.getEnd();\n            const expressionOfCallExpressionEndLine = getLineAndCharacterOfPosition(sourceFile, expressionOfCallExpressionEnd).line;\n            return expressionOfCallExpressionEndLine === childStartLine;\n          }\n          SmartIndenter2.isArgumentAndStartLineOverlapsExpressionBeingCalled = isArgumentAndStartLineOverlapsExpressionBeingCalled;\n          function childStartsOnTheSameLineWithElseInIfStatement(parent2, child, childStartLine, sourceFile) {\n            if (parent2.kind === 242 && parent2.elseStatement === child) {\n              const elseKeyword = findChildOfKind(parent2, 91, sourceFile);\n              Debug2.assert(elseKeyword !== void 0);\n              const elseKeywordStartLine = getStartLineAndCharacterForNode(elseKeyword, sourceFile).line;\n              return elseKeywordStartLine === childStartLine;\n            }\n            return false;\n          }\n          SmartIndenter2.childStartsOnTheSameLineWithElseInIfStatement = childStartsOnTheSameLineWithElseInIfStatement;\n          function childIsUnindentedBranchOfConditionalExpression(parent2, child, childStartLine, sourceFile) {\n            if (isConditionalExpression(parent2) && (child === parent2.whenTrue || child === parent2.whenFalse)) {\n              const conditionEndLine = getLineAndCharacterOfPosition(sourceFile, parent2.condition.end).line;\n              if (child === parent2.whenTrue) {\n                return childStartLine === conditionEndLine;\n              } else {\n                const trueStartLine = getStartLineAndCharacterForNode(parent2.whenTrue, sourceFile).line;\n                const trueEndLine = getLineAndCharacterOfPosition(sourceFile, parent2.whenTrue.end).line;\n                return conditionEndLine === trueStartLine && trueEndLine === childStartLine;\n              }\n            }\n            return false;\n          }\n          SmartIndenter2.childIsUnindentedBranchOfConditionalExpression = childIsUnindentedBranchOfConditionalExpression;\n          function argumentStartsOnSameLineAsPreviousArgument(parent2, child, childStartLine, sourceFile) {\n            if (isCallOrNewExpression(parent2)) {\n              if (!parent2.arguments)\n                return false;\n              const currentNode = find(parent2.arguments, (arg) => arg.pos === child.pos);\n              if (!currentNode)\n                return false;\n              const currentIndex = parent2.arguments.indexOf(currentNode);\n              if (currentIndex === 0)\n                return false;\n              const previousNode = parent2.arguments[currentIndex - 1];\n              const lineOfPreviousNode = getLineAndCharacterOfPosition(sourceFile, previousNode.getEnd()).line;\n              if (childStartLine === lineOfPreviousNode) {\n                return true;\n              }\n            }\n            return false;\n          }\n          SmartIndenter2.argumentStartsOnSameLineAsPreviousArgument = argumentStartsOnSameLineAsPreviousArgument;\n          function getContainingList(node, sourceFile) {\n            return node.parent && getListByRange(node.getStart(sourceFile), node.getEnd(), node.parent, sourceFile);\n          }\n          SmartIndenter2.getContainingList = getContainingList;\n          function getListByPosition(pos, node, sourceFile) {\n            return node && getListByRange(pos, pos, node, sourceFile);\n          }\n          function getListByRange(start, end, node, sourceFile) {\n            switch (node.kind) {\n              case 180:\n                return getList(node.typeArguments);\n              case 207:\n                return getList(node.properties);\n              case 206:\n                return getList(node.elements);\n              case 184:\n                return getList(node.members);\n              case 259:\n              case 215:\n              case 216:\n              case 171:\n              case 170:\n              case 176:\n              case 173:\n              case 182:\n              case 177:\n                return getList(node.typeParameters) || getList(node.parameters);\n              case 174:\n                return getList(node.parameters);\n              case 260:\n              case 228:\n              case 261:\n              case 262:\n              case 348:\n                return getList(node.typeParameters);\n              case 211:\n              case 210:\n                return getList(node.typeArguments) || getList(node.arguments);\n              case 258:\n                return getList(node.declarations);\n              case 272:\n              case 276:\n                return getList(node.elements);\n              case 203:\n              case 204:\n                return getList(node.elements);\n            }\n            function getList(list) {\n              return list && rangeContainsStartEnd(getVisualListRange(node, list, sourceFile), start, end) ? list : void 0;\n            }\n          }\n          function getVisualListRange(node, list, sourceFile) {\n            const children = node.getChildren(sourceFile);\n            for (let i = 1; i < children.length - 1; i++) {\n              if (children[i].pos === list.pos && children[i].end === list.end) {\n                return { pos: children[i - 1].end, end: children[i + 1].getStart(sourceFile) };\n              }\n            }\n            return list;\n          }\n          function getActualIndentationForListStartLine(list, sourceFile, options) {\n            if (!list) {\n              return -1;\n            }\n            return findColumnForFirstNonWhitespaceCharacterInLine(sourceFile.getLineAndCharacterOfPosition(list.pos), sourceFile, options);\n          }\n          function getActualIndentationForListItem(node, sourceFile, options, listIndentsChild) {\n            if (node.parent && node.parent.kind === 258) {\n              return -1;\n            }\n            const containingList = getContainingList(node, sourceFile);\n            if (containingList) {\n              const index = containingList.indexOf(node);\n              if (index !== -1) {\n                const result = deriveActualIndentationFromList(containingList, index, sourceFile, options);\n                if (result !== -1) {\n                  return result;\n                }\n              }\n              return getActualIndentationForListStartLine(containingList, sourceFile, options) + (listIndentsChild ? options.indentSize : 0);\n            }\n            return -1;\n          }\n          function deriveActualIndentationFromList(list, index, sourceFile, options) {\n            Debug2.assert(index >= 0 && index < list.length);\n            const node = list[index];\n            let lineAndCharacter = getStartLineAndCharacterForNode(node, sourceFile);\n            for (let i = index - 1; i >= 0; i--) {\n              if (list[i].kind === 27) {\n                continue;\n              }\n              const prevEndLine = sourceFile.getLineAndCharacterOfPosition(list[i].end).line;\n              if (prevEndLine !== lineAndCharacter.line) {\n                return findColumnForFirstNonWhitespaceCharacterInLine(lineAndCharacter, sourceFile, options);\n              }\n              lineAndCharacter = getStartLineAndCharacterForNode(list[i], sourceFile);\n            }\n            return -1;\n          }\n          function findColumnForFirstNonWhitespaceCharacterInLine(lineAndCharacter, sourceFile, options) {\n            const lineStart = sourceFile.getPositionOfLineAndCharacter(lineAndCharacter.line, 0);\n            return findFirstNonWhitespaceColumn(lineStart, lineStart + lineAndCharacter.character, sourceFile, options);\n          }\n          function findFirstNonWhitespaceCharacterAndColumn(startPos, endPos, sourceFile, options) {\n            let character = 0;\n            let column = 0;\n            for (let pos = startPos; pos < endPos; pos++) {\n              const ch = sourceFile.text.charCodeAt(pos);\n              if (!isWhiteSpaceSingleLine(ch)) {\n                break;\n              }\n              if (ch === 9) {\n                column += options.tabSize + column % options.tabSize;\n              } else {\n                column++;\n              }\n              character++;\n            }\n            return { column, character };\n          }\n          SmartIndenter2.findFirstNonWhitespaceCharacterAndColumn = findFirstNonWhitespaceCharacterAndColumn;\n          function findFirstNonWhitespaceColumn(startPos, endPos, sourceFile, options) {\n            return findFirstNonWhitespaceCharacterAndColumn(startPos, endPos, sourceFile, options).column;\n          }\n          SmartIndenter2.findFirstNonWhitespaceColumn = findFirstNonWhitespaceColumn;\n          function nodeWillIndentChild(settings, parent2, child, sourceFile, indentByDefault) {\n            const childKind = child ? child.kind : 0;\n            switch (parent2.kind) {\n              case 241:\n              case 260:\n              case 228:\n              case 261:\n              case 263:\n              case 262:\n              case 206:\n              case 238:\n              case 265:\n              case 207:\n              case 184:\n              case 197:\n              case 186:\n              case 266:\n              case 293:\n              case 292:\n              case 214:\n              case 208:\n              case 210:\n              case 211:\n              case 240:\n              case 274:\n              case 250:\n              case 224:\n              case 204:\n              case 203:\n              case 283:\n              case 286:\n              case 282:\n              case 291:\n              case 170:\n              case 176:\n              case 177:\n              case 166:\n              case 181:\n              case 182:\n              case 193:\n              case 212:\n              case 220:\n              case 276:\n              case 272:\n              case 278:\n              case 273:\n              case 169:\n                return true;\n              case 257:\n              case 299:\n              case 223:\n                if (!settings.indentMultiLineObjectLiteralBeginningOnBlankLine && sourceFile && childKind === 207) {\n                  return rangeIsOnOneLine(sourceFile, child);\n                }\n                if (parent2.kind === 223 && sourceFile && child && childKind === 281) {\n                  const parentStartLine = sourceFile.getLineAndCharacterOfPosition(skipTrivia(sourceFile.text, parent2.pos)).line;\n                  const childStartLine = sourceFile.getLineAndCharacterOfPosition(skipTrivia(sourceFile.text, child.pos)).line;\n                  return parentStartLine !== childStartLine;\n                }\n                if (parent2.kind !== 223) {\n                  return true;\n                }\n                break;\n              case 243:\n              case 244:\n              case 246:\n              case 247:\n              case 245:\n              case 242:\n              case 259:\n              case 215:\n              case 171:\n              case 173:\n              case 174:\n              case 175:\n                return childKind !== 238;\n              case 216:\n                if (sourceFile && childKind === 214) {\n                  return rangeIsOnOneLine(sourceFile, child);\n                }\n                return childKind !== 238;\n              case 275:\n                return childKind !== 276;\n              case 269:\n                return childKind !== 270 || !!child.namedBindings && child.namedBindings.kind !== 272;\n              case 281:\n                return childKind !== 284;\n              case 285:\n                return childKind !== 287;\n              case 190:\n              case 189:\n                if (childKind === 184 || childKind === 186) {\n                  return false;\n                }\n                break;\n            }\n            return indentByDefault;\n          }\n          SmartIndenter2.nodeWillIndentChild = nodeWillIndentChild;\n          function isControlFlowEndingStatement(kind, parent2) {\n            switch (kind) {\n              case 250:\n              case 254:\n              case 248:\n              case 249:\n                return parent2.kind !== 238;\n              default:\n                return false;\n            }\n          }\n          function shouldIndentChildNode(settings, parent2, child, sourceFile, isNextChild = false) {\n            return nodeWillIndentChild(\n              settings,\n              parent2,\n              child,\n              sourceFile,\n              /*indentByDefault*/\n              false\n            ) && !(isNextChild && child && isControlFlowEndingStatement(child.kind, parent2));\n          }\n          SmartIndenter2.shouldIndentChildNode = shouldIndentChildNode;\n          function rangeIsOnOneLine(sourceFile, range) {\n            const rangeStart = skipTrivia(sourceFile.text, range.pos);\n            const startLine = sourceFile.getLineAndCharacterOfPosition(rangeStart).line;\n            const endLine = sourceFile.getLineAndCharacterOfPosition(range.end).line;\n            return startLine === endLine;\n          }\n        })(SmartIndenter || (SmartIndenter = {}));\n      }\n    });\n    var ts_formatting_exports = {};\n    __export2(ts_formatting_exports, {\n      FormattingContext: () => FormattingContext,\n      FormattingRequestKind: () => FormattingRequestKind,\n      RuleAction: () => RuleAction,\n      RuleFlags: () => RuleFlags,\n      SmartIndenter: () => SmartIndenter,\n      anyContext: () => anyContext,\n      createTextRangeWithKind: () => createTextRangeWithKind,\n      formatDocument: () => formatDocument,\n      formatNodeGivenIndentation: () => formatNodeGivenIndentation,\n      formatOnClosingCurly: () => formatOnClosingCurly,\n      formatOnEnter: () => formatOnEnter,\n      formatOnOpeningCurly: () => formatOnOpeningCurly,\n      formatOnSemicolon: () => formatOnSemicolon,\n      formatSelection: () => formatSelection,\n      getAllRules: () => getAllRules,\n      getFormatContext: () => getFormatContext,\n      getFormattingScanner: () => getFormattingScanner,\n      getIndentationString: () => getIndentationString,\n      getRangeOfEnclosingComment: () => getRangeOfEnclosingComment\n    });\n    var init_ts_formatting = __esm({\n      \"src/services/_namespaces/ts.formatting.ts\"() {\n        \"use strict\";\n        init_formattingContext();\n        init_formattingScanner();\n        init_rule();\n        init_rules();\n        init_rulesMap();\n        init_formatting();\n        init_smartIndenter();\n      }\n    });\n    var init_ts4 = __esm({\n      \"src/services/_namespaces/ts.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts3();\n        init_types3();\n        init_utilities4();\n        init_exportInfoMap();\n        init_classifier();\n        init_documentHighlights();\n        init_documentRegistry();\n        init_getEditsForFileRename();\n        init_patternMatcher();\n        init_preProcess();\n        init_sourcemaps();\n        init_suggestionDiagnostics();\n        init_transpile();\n        init_services();\n        init_transform();\n        init_shims();\n        init_ts_BreakpointResolver();\n        init_ts_CallHierarchy();\n        init_ts_classifier();\n        init_ts_codefix();\n        init_ts_Completions();\n        init_ts_FindAllReferences();\n        init_ts_GoToDefinition();\n        init_ts_InlayHints();\n        init_ts_JsDoc();\n        init_ts_NavigateTo();\n        init_ts_NavigationBar();\n        init_ts_OrganizeImports();\n        init_ts_OutliningElementsCollector();\n        init_ts_refactor();\n        init_ts_Rename();\n        init_ts_SignatureHelp();\n        init_ts_SmartSelectionRange();\n        init_ts_SymbolDisplay();\n        init_ts_textChanges();\n        init_ts_formatting();\n      }\n    });\n    function getTypeScriptVersion() {\n      return typeScriptVersion2 != null ? typeScriptVersion2 : typeScriptVersion2 = new Version(version);\n    }\n    function formatDeprecationMessage(name, error, errorAfter, since, message) {\n      let deprecationMessage = error ? \"DeprecationError: \" : \"DeprecationWarning: \";\n      deprecationMessage += `'${name}' `;\n      deprecationMessage += since ? `has been deprecated since v${since}` : \"is deprecated\";\n      deprecationMessage += error ? \" and can no longer be used.\" : errorAfter ? ` and will no longer be usable after v${errorAfter}.` : \".\";\n      deprecationMessage += message ? ` ${formatStringFromArgs(message, [name], 0)}` : \"\";\n      return deprecationMessage;\n    }\n    function createErrorDeprecation(name, errorAfter, since, message) {\n      const deprecationMessage = formatDeprecationMessage(\n        name,\n        /*error*/\n        true,\n        errorAfter,\n        since,\n        message\n      );\n      return () => {\n        throw new TypeError(deprecationMessage);\n      };\n    }\n    function createWarningDeprecation(name, errorAfter, since, message) {\n      let hasWrittenDeprecation = false;\n      return () => {\n        if (enableDeprecationWarnings && !hasWrittenDeprecation) {\n          Debug2.log.warn(formatDeprecationMessage(\n            name,\n            /*error*/\n            false,\n            errorAfter,\n            since,\n            message\n          ));\n          hasWrittenDeprecation = true;\n        }\n      };\n    }\n    function createDeprecation(name, options = {}) {\n      var _a22, _b3;\n      const version2 = typeof options.typeScriptVersion === \"string\" ? new Version(options.typeScriptVersion) : (_a22 = options.typeScriptVersion) != null ? _a22 : getTypeScriptVersion();\n      const errorAfter = typeof options.errorAfter === \"string\" ? new Version(options.errorAfter) : options.errorAfter;\n      const warnAfter = typeof options.warnAfter === \"string\" ? new Version(options.warnAfter) : options.warnAfter;\n      const since = typeof options.since === \"string\" ? new Version(options.since) : (_b3 = options.since) != null ? _b3 : warnAfter;\n      const error = options.error || errorAfter && version2.compareTo(errorAfter) >= 0;\n      const warn = !warnAfter || version2.compareTo(warnAfter) >= 0;\n      return error ? createErrorDeprecation(name, errorAfter, since, options.message) : warn ? createWarningDeprecation(name, errorAfter, since, options.message) : noop;\n    }\n    function wrapFunction(deprecation, func) {\n      return function() {\n        deprecation();\n        return func.apply(this, arguments);\n      };\n    }\n    function deprecate(func, options) {\n      var _a22;\n      const deprecation = createDeprecation((_a22 = options == null ? void 0 : options.name) != null ? _a22 : Debug2.getFunctionName(func), options);\n      return wrapFunction(deprecation, func);\n    }\n    var enableDeprecationWarnings, typeScriptVersion2;\n    var init_deprecate = __esm({\n      \"src/deprecatedCompat/deprecate.ts\"() {\n        \"use strict\";\n        init_ts5();\n        enableDeprecationWarnings = true;\n      }\n    });\n    function createOverload(name, overloads, binder2, deprecations) {\n      Object.defineProperty(call, \"name\", { ...Object.getOwnPropertyDescriptor(call, \"name\"), value: name });\n      if (deprecations) {\n        for (const key of Object.keys(deprecations)) {\n          const index = +key;\n          if (!isNaN(index) && hasProperty(overloads, `${index}`)) {\n            overloads[index] = deprecate(overloads[index], { ...deprecations[index], name });\n          }\n        }\n      }\n      const bind = createBinder2(overloads, binder2);\n      return call;\n      function call(...args) {\n        const index = bind(args);\n        const fn = index !== void 0 ? overloads[index] : void 0;\n        if (typeof fn === \"function\") {\n          return fn(...args);\n        }\n        throw new TypeError(\"Invalid arguments\");\n      }\n    }\n    function createBinder2(overloads, binder2) {\n      return (args) => {\n        for (let i = 0; hasProperty(overloads, `${i}`) && hasProperty(binder2, `${i}`); i++) {\n          const fn = binder2[i];\n          if (fn(args)) {\n            return i;\n          }\n        }\n      };\n    }\n    function buildOverload(name) {\n      return {\n        overload: (overloads) => ({\n          bind: (binder2) => ({\n            finish: () => createOverload(name, overloads, binder2),\n            deprecate: (deprecations) => ({\n              finish: () => createOverload(name, overloads, binder2, deprecations)\n            })\n          })\n        })\n      };\n    }\n    var init_deprecations = __esm({\n      \"src/deprecatedCompat/deprecations.ts\"() {\n        \"use strict\";\n        init_ts5();\n        init_deprecate();\n      }\n    });\n    var init_identifierProperties = __esm({\n      \"src/deprecatedCompat/5.0/identifierProperties.ts\"() {\n        \"use strict\";\n        init_ts5();\n        init_deprecate();\n        addObjectAllocatorPatcher((objectAllocator2) => {\n          const Identifier73 = objectAllocator2.getIdentifierConstructor();\n          if (!hasProperty(Identifier73.prototype, \"originalKeywordKind\")) {\n            Object.defineProperty(Identifier73.prototype, \"originalKeywordKind\", {\n              get: deprecate(function() {\n                return identifierToKeywordKind(this);\n              }, {\n                name: \"originalKeywordKind\",\n                since: \"5.0\",\n                warnAfter: \"5.1\",\n                errorAfter: \"5.2\",\n                message: \"Use 'identifierToKeywordKind(identifier)' instead.\"\n              })\n            });\n          }\n          if (!hasProperty(Identifier73.prototype, \"isInJSDocNamespace\")) {\n            Object.defineProperty(Identifier73.prototype, \"isInJSDocNamespace\", {\n              get: deprecate(function() {\n                return this.flags & 2048 ? true : void 0;\n              }, {\n                name: \"isInJSDocNamespace\",\n                since: \"5.0\",\n                warnAfter: \"5.1\",\n                errorAfter: \"5.2\",\n                message: \"Use '.parent' or the surrounding context to determine this instead.\"\n              })\n            });\n          }\n        });\n      }\n    });\n    var init_ts5 = __esm({\n      \"src/deprecatedCompat/_namespaces/ts.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_deprecations();\n        init_identifierProperties();\n      }\n    });\n    var ts_exports3 = {};\n    __export2(ts_exports3, {\n      ANONYMOUS: () => ANONYMOUS,\n      AccessFlags: () => AccessFlags,\n      AssertionLevel: () => AssertionLevel,\n      AssignmentDeclarationKind: () => AssignmentDeclarationKind,\n      AssignmentKind: () => AssignmentKind,\n      Associativity: () => Associativity,\n      BreakpointResolver: () => ts_BreakpointResolver_exports,\n      BuilderFileEmit: () => BuilderFileEmit,\n      BuilderProgramKind: () => BuilderProgramKind,\n      BuilderState: () => BuilderState,\n      BundleFileSectionKind: () => BundleFileSectionKind,\n      CallHierarchy: () => ts_CallHierarchy_exports,\n      CharacterCodes: () => CharacterCodes,\n      CheckFlags: () => CheckFlags,\n      CheckMode: () => CheckMode,\n      ClassificationType: () => ClassificationType,\n      ClassificationTypeNames: () => ClassificationTypeNames,\n      CommentDirectiveType: () => CommentDirectiveType,\n      Comparison: () => Comparison,\n      CompletionInfoFlags: () => CompletionInfoFlags,\n      CompletionTriggerKind: () => CompletionTriggerKind2,\n      Completions: () => ts_Completions_exports,\n      ConfigFileProgramReloadLevel: () => ConfigFileProgramReloadLevel,\n      ContextFlags: () => ContextFlags,\n      CoreServicesShimHostAdapter: () => CoreServicesShimHostAdapter,\n      Debug: () => Debug2,\n      DiagnosticCategory: () => DiagnosticCategory,\n      Diagnostics: () => Diagnostics,\n      DocumentHighlights: () => DocumentHighlights,\n      ElementFlags: () => ElementFlags,\n      EmitFlags: () => EmitFlags,\n      EmitHint: () => EmitHint,\n      EmitOnly: () => EmitOnly,\n      EndOfLineState: () => EndOfLineState2,\n      EnumKind: () => EnumKind,\n      ExitStatus: () => ExitStatus,\n      ExportKind: () => ExportKind,\n      Extension: () => Extension,\n      ExternalEmitHelpers: () => ExternalEmitHelpers,\n      FileIncludeKind: () => FileIncludeKind,\n      FilePreprocessingDiagnosticsKind: () => FilePreprocessingDiagnosticsKind,\n      FileSystemEntryKind: () => FileSystemEntryKind,\n      FileWatcherEventKind: () => FileWatcherEventKind,\n      FindAllReferences: () => ts_FindAllReferences_exports,\n      FlattenLevel: () => FlattenLevel,\n      FlowFlags: () => FlowFlags,\n      ForegroundColorEscapeSequences: () => ForegroundColorEscapeSequences,\n      FunctionFlags: () => FunctionFlags,\n      GeneratedIdentifierFlags: () => GeneratedIdentifierFlags,\n      GetLiteralTextFlags: () => GetLiteralTextFlags,\n      GoToDefinition: () => ts_GoToDefinition_exports,\n      HighlightSpanKind: () => HighlightSpanKind,\n      ImportKind: () => ImportKind,\n      ImportsNotUsedAsValues: () => ImportsNotUsedAsValues,\n      IndentStyle: () => IndentStyle2,\n      IndexKind: () => IndexKind,\n      InferenceFlags: () => InferenceFlags,\n      InferencePriority: () => InferencePriority,\n      InlayHintKind: () => InlayHintKind3,\n      InlayHints: () => ts_InlayHints_exports,\n      InternalEmitFlags: () => InternalEmitFlags,\n      InternalSymbolName: () => InternalSymbolName,\n      InvalidatedProjectKind: () => InvalidatedProjectKind,\n      JsDoc: () => ts_JsDoc_exports,\n      JsTyping: () => ts_JsTyping_exports,\n      JsxEmit: () => JsxEmit,\n      JsxFlags: () => JsxFlags,\n      JsxReferenceKind: () => JsxReferenceKind,\n      LanguageServiceMode: () => LanguageServiceMode,\n      LanguageServiceShimHostAdapter: () => LanguageServiceShimHostAdapter,\n      LanguageVariant: () => LanguageVariant,\n      LexicalEnvironmentFlags: () => LexicalEnvironmentFlags,\n      ListFormat: () => ListFormat,\n      LogLevel: () => LogLevel,\n      MemberOverrideStatus: () => MemberOverrideStatus,\n      ModifierFlags: () => ModifierFlags,\n      ModuleDetectionKind: () => ModuleDetectionKind,\n      ModuleInstanceState: () => ModuleInstanceState,\n      ModuleKind: () => ModuleKind,\n      ModuleResolutionKind: () => ModuleResolutionKind,\n      ModuleSpecifierEnding: () => ModuleSpecifierEnding,\n      NavigateTo: () => ts_NavigateTo_exports,\n      NavigationBar: () => ts_NavigationBar_exports,\n      NewLineKind: () => NewLineKind,\n      NodeBuilderFlags: () => NodeBuilderFlags,\n      NodeCheckFlags: () => NodeCheckFlags,\n      NodeFactoryFlags: () => NodeFactoryFlags,\n      NodeFlags: () => NodeFlags,\n      NodeResolutionFeatures: () => NodeResolutionFeatures,\n      ObjectFlags: () => ObjectFlags,\n      OperationCanceledException: () => OperationCanceledException,\n      OperatorPrecedence: () => OperatorPrecedence,\n      OrganizeImports: () => ts_OrganizeImports_exports,\n      OrganizeImportsMode: () => OrganizeImportsMode,\n      OuterExpressionKinds: () => OuterExpressionKinds,\n      OutliningElementsCollector: () => ts_OutliningElementsCollector_exports,\n      OutliningSpanKind: () => OutliningSpanKind,\n      OutputFileType: () => OutputFileType,\n      PackageJsonAutoImportPreference: () => PackageJsonAutoImportPreference,\n      PackageJsonDependencyGroup: () => PackageJsonDependencyGroup,\n      PatternMatchKind: () => PatternMatchKind,\n      PollingInterval: () => PollingInterval,\n      PollingWatchKind: () => PollingWatchKind,\n      PragmaKindFlags: () => PragmaKindFlags,\n      PrivateIdentifierKind: () => PrivateIdentifierKind,\n      ProcessLevel: () => ProcessLevel,\n      QuotePreference: () => QuotePreference,\n      RelationComparisonResult: () => RelationComparisonResult,\n      Rename: () => ts_Rename_exports,\n      ScriptElementKind: () => ScriptElementKind,\n      ScriptElementKindModifier: () => ScriptElementKindModifier,\n      ScriptKind: () => ScriptKind2,\n      ScriptSnapshot: () => ScriptSnapshot,\n      ScriptTarget: () => ScriptTarget2,\n      SemanticClassificationFormat: () => SemanticClassificationFormat,\n      SemanticMeaning: () => SemanticMeaning,\n      SemicolonPreference: () => SemicolonPreference,\n      SignatureCheckMode: () => SignatureCheckMode,\n      SignatureFlags: () => SignatureFlags,\n      SignatureHelp: () => ts_SignatureHelp_exports,\n      SignatureKind: () => SignatureKind,\n      SmartSelectionRange: () => ts_SmartSelectionRange_exports,\n      SnippetKind: () => SnippetKind,\n      SortKind: () => SortKind,\n      StructureIsReused: () => StructureIsReused,\n      SymbolAccessibility: () => SymbolAccessibility,\n      SymbolDisplay: () => ts_SymbolDisplay_exports,\n      SymbolDisplayPartKind: () => SymbolDisplayPartKind,\n      SymbolFlags: () => SymbolFlags,\n      SymbolFormatFlags: () => SymbolFormatFlags,\n      SyntaxKind: () => SyntaxKind,\n      SyntheticSymbolKind: () => SyntheticSymbolKind,\n      Ternary: () => Ternary,\n      ThrottledCancellationToken: () => ThrottledCancellationToken,\n      TokenClass: () => TokenClass2,\n      TokenFlags: () => TokenFlags,\n      TransformFlags: () => TransformFlags,\n      TypeFacts: () => TypeFacts,\n      TypeFlags: () => TypeFlags,\n      TypeFormatFlags: () => TypeFormatFlags,\n      TypeMapKind: () => TypeMapKind,\n      TypePredicateKind: () => TypePredicateKind,\n      TypeReferenceSerializationKind: () => TypeReferenceSerializationKind,\n      TypeScriptServicesFactory: () => TypeScriptServicesFactory,\n      UnionReduction: () => UnionReduction,\n      UpToDateStatusType: () => UpToDateStatusType,\n      VarianceFlags: () => VarianceFlags,\n      Version: () => Version,\n      VersionRange: () => VersionRange,\n      WatchDirectoryFlags: () => WatchDirectoryFlags,\n      WatchDirectoryKind: () => WatchDirectoryKind,\n      WatchFileKind: () => WatchFileKind,\n      WatchLogLevel: () => WatchLogLevel,\n      WatchType: () => WatchType,\n      accessPrivateIdentifier: () => accessPrivateIdentifier,\n      addEmitFlags: () => addEmitFlags,\n      addEmitHelper: () => addEmitHelper,\n      addEmitHelpers: () => addEmitHelpers,\n      addInternalEmitFlags: () => addInternalEmitFlags,\n      addNodeFactoryPatcher: () => addNodeFactoryPatcher,\n      addObjectAllocatorPatcher: () => addObjectAllocatorPatcher,\n      addRange: () => addRange,\n      addRelatedInfo: () => addRelatedInfo,\n      addSyntheticLeadingComment: () => addSyntheticLeadingComment,\n      addSyntheticTrailingComment: () => addSyntheticTrailingComment,\n      addToSeen: () => addToSeen,\n      advancedAsyncSuperHelper: () => advancedAsyncSuperHelper,\n      affectsDeclarationPathOptionDeclarations: () => affectsDeclarationPathOptionDeclarations,\n      affectsEmitOptionDeclarations: () => affectsEmitOptionDeclarations,\n      allKeysStartWithDot: () => allKeysStartWithDot,\n      altDirectorySeparator: () => altDirectorySeparator,\n      and: () => and,\n      append: () => append,\n      appendIfUnique: () => appendIfUnique,\n      arrayFrom: () => arrayFrom,\n      arrayIsEqualTo: () => arrayIsEqualTo,\n      arrayIsHomogeneous: () => arrayIsHomogeneous,\n      arrayIsSorted: () => arrayIsSorted,\n      arrayOf: () => arrayOf,\n      arrayReverseIterator: () => arrayReverseIterator,\n      arrayToMap: () => arrayToMap,\n      arrayToMultiMap: () => arrayToMultiMap,\n      arrayToNumericMap: () => arrayToNumericMap,\n      arraysEqual: () => arraysEqual,\n      assertType: () => assertType,\n      assign: () => assign,\n      assignHelper: () => assignHelper,\n      asyncDelegator: () => asyncDelegator,\n      asyncGeneratorHelper: () => asyncGeneratorHelper,\n      asyncSuperHelper: () => asyncSuperHelper,\n      asyncValues: () => asyncValues,\n      attachFileToDiagnostics: () => attachFileToDiagnostics,\n      awaitHelper: () => awaitHelper,\n      awaiterHelper: () => awaiterHelper,\n      base64decode: () => base64decode,\n      base64encode: () => base64encode,\n      binarySearch: () => binarySearch,\n      binarySearchKey: () => binarySearchKey,\n      bindSourceFile: () => bindSourceFile,\n      breakIntoCharacterSpans: () => breakIntoCharacterSpans,\n      breakIntoWordSpans: () => breakIntoWordSpans,\n      buildLinkParts: () => buildLinkParts,\n      buildOpts: () => buildOpts,\n      buildOverload: () => buildOverload,\n      bundlerModuleNameResolver: () => bundlerModuleNameResolver,\n      canBeConvertedToAsync: () => canBeConvertedToAsync,\n      canHaveDecorators: () => canHaveDecorators,\n      canHaveExportModifier: () => canHaveExportModifier,\n      canHaveFlowNode: () => canHaveFlowNode,\n      canHaveIllegalDecorators: () => canHaveIllegalDecorators,\n      canHaveIllegalModifiers: () => canHaveIllegalModifiers,\n      canHaveIllegalType: () => canHaveIllegalType,\n      canHaveIllegalTypeParameters: () => canHaveIllegalTypeParameters,\n      canHaveJSDoc: () => canHaveJSDoc,\n      canHaveLocals: () => canHaveLocals,\n      canHaveModifiers: () => canHaveModifiers,\n      canHaveSymbol: () => canHaveSymbol,\n      canJsonReportNoInputFiles: () => canJsonReportNoInputFiles,\n      canProduceDiagnostics: () => canProduceDiagnostics,\n      canUsePropertyAccess: () => canUsePropertyAccess,\n      canWatchDirectoryOrFile: () => canWatchDirectoryOrFile,\n      cartesianProduct: () => cartesianProduct,\n      cast: () => cast,\n      chainBundle: () => chainBundle,\n      chainDiagnosticMessages: () => chainDiagnosticMessages,\n      changeAnyExtension: () => changeAnyExtension,\n      changeCompilerHostLikeToUseCache: () => changeCompilerHostLikeToUseCache,\n      changeExtension: () => changeExtension,\n      changesAffectModuleResolution: () => changesAffectModuleResolution,\n      changesAffectingProgramStructure: () => changesAffectingProgramStructure,\n      childIsDecorated: () => childIsDecorated,\n      classElementOrClassElementParameterIsDecorated: () => classElementOrClassElementParameterIsDecorated,\n      classOrConstructorParameterIsDecorated: () => classOrConstructorParameterIsDecorated,\n      classPrivateFieldGetHelper: () => classPrivateFieldGetHelper,\n      classPrivateFieldInHelper: () => classPrivateFieldInHelper,\n      classPrivateFieldSetHelper: () => classPrivateFieldSetHelper,\n      classicNameResolver: () => classicNameResolver,\n      classifier: () => ts_classifier_exports,\n      cleanExtendedConfigCache: () => cleanExtendedConfigCache,\n      clear: () => clear,\n      clearMap: () => clearMap,\n      clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,\n      climbPastPropertyAccess: () => climbPastPropertyAccess,\n      climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,\n      clone: () => clone,\n      cloneCompilerOptions: () => cloneCompilerOptions,\n      closeFileWatcher: () => closeFileWatcher,\n      closeFileWatcherOf: () => closeFileWatcherOf,\n      codefix: () => ts_codefix_exports,\n      collapseTextChangeRangesAcrossMultipleVersions: () => collapseTextChangeRangesAcrossMultipleVersions,\n      collectExternalModuleInfo: () => collectExternalModuleInfo,\n      combine: () => combine,\n      combinePaths: () => combinePaths,\n      commentPragmas: () => commentPragmas,\n      commonOptionsWithBuild: () => commonOptionsWithBuild,\n      commonPackageFolders: () => commonPackageFolders,\n      compact: () => compact,\n      compareBooleans: () => compareBooleans,\n      compareDataObjects: () => compareDataObjects,\n      compareDiagnostics: () => compareDiagnostics,\n      compareDiagnosticsSkipRelatedInformation: () => compareDiagnosticsSkipRelatedInformation,\n      compareEmitHelpers: () => compareEmitHelpers,\n      compareNumberOfDirectorySeparators: () => compareNumberOfDirectorySeparators,\n      comparePaths: () => comparePaths,\n      comparePathsCaseInsensitive: () => comparePathsCaseInsensitive,\n      comparePathsCaseSensitive: () => comparePathsCaseSensitive,\n      comparePatternKeys: () => comparePatternKeys,\n      compareProperties: () => compareProperties,\n      compareStringsCaseInsensitive: () => compareStringsCaseInsensitive,\n      compareStringsCaseInsensitiveEslintCompatible: () => compareStringsCaseInsensitiveEslintCompatible,\n      compareStringsCaseSensitive: () => compareStringsCaseSensitive,\n      compareStringsCaseSensitiveUI: () => compareStringsCaseSensitiveUI,\n      compareTextSpans: () => compareTextSpans,\n      compareValues: () => compareValues,\n      compileOnSaveCommandLineOption: () => compileOnSaveCommandLineOption,\n      compilerOptionsAffectDeclarationPath: () => compilerOptionsAffectDeclarationPath,\n      compilerOptionsAffectEmit: () => compilerOptionsAffectEmit,\n      compilerOptionsAffectSemanticDiagnostics: () => compilerOptionsAffectSemanticDiagnostics,\n      compilerOptionsDidYouMeanDiagnostics: () => compilerOptionsDidYouMeanDiagnostics,\n      compilerOptionsIndicateEsModules: () => compilerOptionsIndicateEsModules,\n      compose: () => compose,\n      computeCommonSourceDirectoryOfFilenames: () => computeCommonSourceDirectoryOfFilenames,\n      computeLineAndCharacterOfPosition: () => computeLineAndCharacterOfPosition,\n      computeLineOfPosition: () => computeLineOfPosition,\n      computeLineStarts: () => computeLineStarts,\n      computePositionOfLineAndCharacter: () => computePositionOfLineAndCharacter,\n      computeSignature: () => computeSignature,\n      computeSignatureWithDiagnostics: () => computeSignatureWithDiagnostics,\n      computeSuggestionDiagnostics: () => computeSuggestionDiagnostics,\n      concatenate: () => concatenate,\n      concatenateDiagnosticMessageChains: () => concatenateDiagnosticMessageChains,\n      consumesNodeCoreModules: () => consumesNodeCoreModules,\n      contains: () => contains,\n      containsIgnoredPath: () => containsIgnoredPath,\n      containsObjectRestOrSpread: () => containsObjectRestOrSpread,\n      containsParseError: () => containsParseError,\n      containsPath: () => containsPath,\n      convertCompilerOptionsForTelemetry: () => convertCompilerOptionsForTelemetry,\n      convertCompilerOptionsFromJson: () => convertCompilerOptionsFromJson,\n      convertJsonOption: () => convertJsonOption,\n      convertToBase64: () => convertToBase64,\n      convertToObject: () => convertToObject,\n      convertToObjectWorker: () => convertToObjectWorker,\n      convertToOptionsWithAbsolutePaths: () => convertToOptionsWithAbsolutePaths,\n      convertToRelativePath: () => convertToRelativePath,\n      convertToTSConfig: () => convertToTSConfig,\n      convertTypeAcquisitionFromJson: () => convertTypeAcquisitionFromJson,\n      copyComments: () => copyComments,\n      copyEntries: () => copyEntries,\n      copyLeadingComments: () => copyLeadingComments,\n      copyProperties: () => copyProperties,\n      copyTrailingAsLeadingComments: () => copyTrailingAsLeadingComments,\n      copyTrailingComments: () => copyTrailingComments,\n      couldStartTrivia: () => couldStartTrivia,\n      countWhere: () => countWhere2,\n      createAbstractBuilder: () => createAbstractBuilder,\n      createAccessorPropertyBackingField: () => createAccessorPropertyBackingField,\n      createAccessorPropertyGetRedirector: () => createAccessorPropertyGetRedirector,\n      createAccessorPropertySetRedirector: () => createAccessorPropertySetRedirector,\n      createBaseNodeFactory: () => createBaseNodeFactory,\n      createBinaryExpressionTrampoline: () => createBinaryExpressionTrampoline,\n      createBindingHelper: () => createBindingHelper,\n      createBuildInfo: () => createBuildInfo,\n      createBuilderProgram: () => createBuilderProgram,\n      createBuilderProgramUsingProgramBuildInfo: () => createBuilderProgramUsingProgramBuildInfo,\n      createBuilderStatusReporter: () => createBuilderStatusReporter,\n      createCacheWithRedirects: () => createCacheWithRedirects,\n      createCacheableExportInfoMap: () => createCacheableExportInfoMap,\n      createCachedDirectoryStructureHost: () => createCachedDirectoryStructureHost,\n      createClassifier: () => createClassifier2,\n      createCommentDirectivesMap: () => createCommentDirectivesMap,\n      createCompilerDiagnostic: () => createCompilerDiagnostic,\n      createCompilerDiagnosticForInvalidCustomType: () => createCompilerDiagnosticForInvalidCustomType,\n      createCompilerDiagnosticFromMessageChain: () => createCompilerDiagnosticFromMessageChain,\n      createCompilerHost: () => createCompilerHost,\n      createCompilerHostFromProgramHost: () => createCompilerHostFromProgramHost,\n      createCompilerHostWorker: () => createCompilerHostWorker,\n      createDetachedDiagnostic: () => createDetachedDiagnostic,\n      createDiagnosticCollection: () => createDiagnosticCollection,\n      createDiagnosticForFileFromMessageChain: () => createDiagnosticForFileFromMessageChain,\n      createDiagnosticForNode: () => createDiagnosticForNode,\n      createDiagnosticForNodeArray: () => createDiagnosticForNodeArray,\n      createDiagnosticForNodeArrayFromMessageChain: () => createDiagnosticForNodeArrayFromMessageChain,\n      createDiagnosticForNodeFromMessageChain: () => createDiagnosticForNodeFromMessageChain,\n      createDiagnosticForNodeInSourceFile: () => createDiagnosticForNodeInSourceFile,\n      createDiagnosticForRange: () => createDiagnosticForRange,\n      createDiagnosticMessageChainFromDiagnostic: () => createDiagnosticMessageChainFromDiagnostic,\n      createDiagnosticReporter: () => createDiagnosticReporter,\n      createDocumentPositionMapper: () => createDocumentPositionMapper,\n      createDocumentRegistry: () => createDocumentRegistry,\n      createDocumentRegistryInternal: () => createDocumentRegistryInternal,\n      createEmitAndSemanticDiagnosticsBuilderProgram: () => createEmitAndSemanticDiagnosticsBuilderProgram,\n      createEmitHelperFactory: () => createEmitHelperFactory,\n      createEmptyExports: () => createEmptyExports,\n      createExpressionForJsxElement: () => createExpressionForJsxElement,\n      createExpressionForJsxFragment: () => createExpressionForJsxFragment,\n      createExpressionForObjectLiteralElementLike: () => createExpressionForObjectLiteralElementLike,\n      createExpressionForPropertyName: () => createExpressionForPropertyName,\n      createExpressionFromEntityName: () => createExpressionFromEntityName,\n      createExternalHelpersImportDeclarationIfNeeded: () => createExternalHelpersImportDeclarationIfNeeded,\n      createFileDiagnostic: () => createFileDiagnostic,\n      createFileDiagnosticFromMessageChain: () => createFileDiagnosticFromMessageChain,\n      createForOfBindingStatement: () => createForOfBindingStatement,\n      createGetCanonicalFileName: () => createGetCanonicalFileName,\n      createGetSourceFile: () => createGetSourceFile,\n      createGetSymbolAccessibilityDiagnosticForNode: () => createGetSymbolAccessibilityDiagnosticForNode,\n      createGetSymbolAccessibilityDiagnosticForNodeName: () => createGetSymbolAccessibilityDiagnosticForNodeName,\n      createGetSymbolWalker: () => createGetSymbolWalker,\n      createIncrementalCompilerHost: () => createIncrementalCompilerHost,\n      createIncrementalProgram: () => createIncrementalProgram,\n      createInputFiles: () => createInputFiles,\n      createInputFilesWithFilePaths: () => createInputFilesWithFilePaths,\n      createInputFilesWithFileTexts: () => createInputFilesWithFileTexts,\n      createJsxFactoryExpression: () => createJsxFactoryExpression,\n      createLanguageService: () => createLanguageService2,\n      createLanguageServiceSourceFile: () => createLanguageServiceSourceFile,\n      createMemberAccessForPropertyName: () => createMemberAccessForPropertyName,\n      createModeAwareCache: () => createModeAwareCache,\n      createModeAwareCacheKey: () => createModeAwareCacheKey,\n      createModuleResolutionCache: () => createModuleResolutionCache,\n      createModuleResolutionLoader: () => createModuleResolutionLoader,\n      createModuleSpecifierResolutionHost: () => createModuleSpecifierResolutionHost,\n      createMultiMap: () => createMultiMap,\n      createNodeConverters: () => createNodeConverters,\n      createNodeFactory: () => createNodeFactory,\n      createOptionNameMap: () => createOptionNameMap,\n      createOverload: () => createOverload,\n      createPackageJsonImportFilter: () => createPackageJsonImportFilter,\n      createPackageJsonInfo: () => createPackageJsonInfo,\n      createParenthesizerRules: () => createParenthesizerRules,\n      createPatternMatcher: () => createPatternMatcher,\n      createPrependNodes: () => createPrependNodes,\n      createPrinter: () => createPrinter,\n      createPrinterWithDefaults: () => createPrinterWithDefaults,\n      createPrinterWithRemoveComments: () => createPrinterWithRemoveComments,\n      createPrinterWithRemoveCommentsNeverAsciiEscape: () => createPrinterWithRemoveCommentsNeverAsciiEscape,\n      createPrinterWithRemoveCommentsOmitTrailingSemicolon: () => createPrinterWithRemoveCommentsOmitTrailingSemicolon,\n      createProgram: () => createProgram,\n      createProgramHost: () => createProgramHost,\n      createPropertyNameNodeForIdentifierOrLiteral: () => createPropertyNameNodeForIdentifierOrLiteral,\n      createQueue: () => createQueue,\n      createRange: () => createRange,\n      createRedirectedBuilderProgram: () => createRedirectedBuilderProgram,\n      createResolutionCache: () => createResolutionCache,\n      createRuntimeTypeSerializer: () => createRuntimeTypeSerializer,\n      createScanner: () => createScanner,\n      createSemanticDiagnosticsBuilderProgram: () => createSemanticDiagnosticsBuilderProgram,\n      createSet: () => createSet,\n      createSolutionBuilder: () => createSolutionBuilder,\n      createSolutionBuilderHost: () => createSolutionBuilderHost,\n      createSolutionBuilderWithWatch: () => createSolutionBuilderWithWatch,\n      createSolutionBuilderWithWatchHost: () => createSolutionBuilderWithWatchHost,\n      createSortedArray: () => createSortedArray,\n      createSourceFile: () => createSourceFile,\n      createSourceMapGenerator: () => createSourceMapGenerator,\n      createSourceMapSource: () => createSourceMapSource,\n      createSuperAccessVariableStatement: () => createSuperAccessVariableStatement,\n      createSymbolTable: () => createSymbolTable,\n      createSymlinkCache: () => createSymlinkCache,\n      createSystemWatchFunctions: () => createSystemWatchFunctions,\n      createTextChange: () => createTextChange,\n      createTextChangeFromStartLength: () => createTextChangeFromStartLength,\n      createTextChangeRange: () => createTextChangeRange,\n      createTextRangeFromNode: () => createTextRangeFromNode,\n      createTextRangeFromSpan: () => createTextRangeFromSpan,\n      createTextSpan: () => createTextSpan,\n      createTextSpanFromBounds: () => createTextSpanFromBounds,\n      createTextSpanFromNode: () => createTextSpanFromNode,\n      createTextSpanFromRange: () => createTextSpanFromRange,\n      createTextSpanFromStringLiteralLikeContent: () => createTextSpanFromStringLiteralLikeContent,\n      createTextWriter: () => createTextWriter,\n      createTokenRange: () => createTokenRange,\n      createTypeChecker: () => createTypeChecker,\n      createTypeReferenceDirectiveResolutionCache: () => createTypeReferenceDirectiveResolutionCache,\n      createTypeReferenceResolutionLoader: () => createTypeReferenceResolutionLoader,\n      createUnderscoreEscapedMultiMap: () => createUnderscoreEscapedMultiMap,\n      createUnparsedSourceFile: () => createUnparsedSourceFile,\n      createWatchCompilerHost: () => createWatchCompilerHost2,\n      createWatchCompilerHostOfConfigFile: () => createWatchCompilerHostOfConfigFile,\n      createWatchCompilerHostOfFilesAndCompilerOptions: () => createWatchCompilerHostOfFilesAndCompilerOptions,\n      createWatchFactory: () => createWatchFactory,\n      createWatchHost: () => createWatchHost,\n      createWatchProgram: () => createWatchProgram,\n      createWatchStatusReporter: () => createWatchStatusReporter,\n      createWriteFileMeasuringIO: () => createWriteFileMeasuringIO,\n      declarationNameToString: () => declarationNameToString,\n      decodeMappings: () => decodeMappings,\n      decodedTextSpanIntersectsWith: () => decodedTextSpanIntersectsWith,\n      decorateHelper: () => decorateHelper,\n      deduplicate: () => deduplicate,\n      defaultIncludeSpec: () => defaultIncludeSpec,\n      defaultInitCompilerOptions: () => defaultInitCompilerOptions,\n      defaultMaximumTruncationLength: () => defaultMaximumTruncationLength,\n      detectSortCaseSensitivity: () => detectSortCaseSensitivity,\n      diagnosticCategoryName: () => diagnosticCategoryName,\n      diagnosticToString: () => diagnosticToString,\n      directoryProbablyExists: () => directoryProbablyExists,\n      directorySeparator: () => directorySeparator,\n      displayPart: () => displayPart,\n      displayPartsToString: () => displayPartsToString2,\n      disposeEmitNodes: () => disposeEmitNodes,\n      documentSpansEqual: () => documentSpansEqual,\n      dumpTracingLegend: () => dumpTracingLegend,\n      elementAt: () => elementAt,\n      elideNodes: () => elideNodes,\n      emitComments: () => emitComments,\n      emitDetachedComments: () => emitDetachedComments,\n      emitFiles: () => emitFiles,\n      emitFilesAndReportErrors: () => emitFilesAndReportErrors,\n      emitFilesAndReportErrorsAndGetExitStatus: () => emitFilesAndReportErrorsAndGetExitStatus,\n      emitModuleKindIsNonNodeESM: () => emitModuleKindIsNonNodeESM,\n      emitNewLineBeforeLeadingCommentOfPosition: () => emitNewLineBeforeLeadingCommentOfPosition,\n      emitNewLineBeforeLeadingComments: () => emitNewLineBeforeLeadingComments,\n      emitNewLineBeforeLeadingCommentsOfPosition: () => emitNewLineBeforeLeadingCommentsOfPosition,\n      emitSkippedWithNoDiagnostics: () => emitSkippedWithNoDiagnostics,\n      emitUsingBuildInfo: () => emitUsingBuildInfo,\n      emptyArray: () => emptyArray,\n      emptyFileSystemEntries: () => emptyFileSystemEntries,\n      emptyMap: () => emptyMap,\n      emptyOptions: () => emptyOptions,\n      emptySet: () => emptySet,\n      endsWith: () => endsWith,\n      ensurePathIsNonModuleName: () => ensurePathIsNonModuleName,\n      ensureScriptKind: () => ensureScriptKind,\n      ensureTrailingDirectorySeparator: () => ensureTrailingDirectorySeparator,\n      entityNameToString: () => entityNameToString,\n      enumerateInsertsAndDeletes: () => enumerateInsertsAndDeletes,\n      equalOwnProperties: () => equalOwnProperties,\n      equateStringsCaseInsensitive: () => equateStringsCaseInsensitive,\n      equateStringsCaseSensitive: () => equateStringsCaseSensitive,\n      equateValues: () => equateValues,\n      esDecorateHelper: () => esDecorateHelper,\n      escapeJsxAttributeString: () => escapeJsxAttributeString,\n      escapeLeadingUnderscores: () => escapeLeadingUnderscores,\n      escapeNonAsciiString: () => escapeNonAsciiString,\n      escapeSnippetText: () => escapeSnippetText,\n      escapeString: () => escapeString,\n      every: () => every,\n      expandPreOrPostfixIncrementOrDecrementExpression: () => expandPreOrPostfixIncrementOrDecrementExpression,\n      explainFiles: () => explainFiles,\n      explainIfFileIsRedirectAndImpliedFormat: () => explainIfFileIsRedirectAndImpliedFormat,\n      exportAssignmentIsAlias: () => exportAssignmentIsAlias,\n      exportStarHelper: () => exportStarHelper,\n      expressionResultIsUnused: () => expressionResultIsUnused,\n      extend: () => extend,\n      extendsHelper: () => extendsHelper,\n      extensionFromPath: () => extensionFromPath,\n      extensionIsTS: () => extensionIsTS,\n      externalHelpersModuleNameText: () => externalHelpersModuleNameText,\n      factory: () => factory,\n      fileExtensionIs: () => fileExtensionIs,\n      fileExtensionIsOneOf: () => fileExtensionIsOneOf,\n      fileIncludeReasonToDiagnostics: () => fileIncludeReasonToDiagnostics,\n      filter: () => filter,\n      filterMutate: () => filterMutate,\n      filterSemanticDiagnostics: () => filterSemanticDiagnostics,\n      find: () => find,\n      findAncestor: () => findAncestor,\n      findBestPatternMatch: () => findBestPatternMatch,\n      findChildOfKind: () => findChildOfKind,\n      findComputedPropertyNameCacheAssignment: () => findComputedPropertyNameCacheAssignment,\n      findConfigFile: () => findConfigFile,\n      findContainingList: () => findContainingList,\n      findDiagnosticForNode: () => findDiagnosticForNode,\n      findFirstNonJsxWhitespaceToken: () => findFirstNonJsxWhitespaceToken,\n      findIndex: () => findIndex,\n      findLast: () => findLast,\n      findLastIndex: () => findLastIndex,\n      findListItemInfo: () => findListItemInfo,\n      findMap: () => findMap,\n      findModifier: () => findModifier,\n      findNextToken: () => findNextToken,\n      findPackageJson: () => findPackageJson,\n      findPackageJsons: () => findPackageJsons,\n      findPrecedingMatchingToken: () => findPrecedingMatchingToken,\n      findPrecedingToken: () => findPrecedingToken,\n      findSuperStatementIndex: () => findSuperStatementIndex,\n      findTokenOnLeftOfPosition: () => findTokenOnLeftOfPosition,\n      findUseStrictPrologue: () => findUseStrictPrologue,\n      first: () => first,\n      firstDefined: () => firstDefined,\n      firstDefinedIterator: () => firstDefinedIterator,\n      firstIterator: () => firstIterator,\n      firstOrOnly: () => firstOrOnly,\n      firstOrUndefined: () => firstOrUndefined,\n      firstOrUndefinedIterator: () => firstOrUndefinedIterator,\n      fixupCompilerOptions: () => fixupCompilerOptions,\n      flatMap: () => flatMap,\n      flatMapIterator: () => flatMapIterator,\n      flatMapToMutable: () => flatMapToMutable,\n      flatten: () => flatten,\n      flattenCommaList: () => flattenCommaList,\n      flattenDestructuringAssignment: () => flattenDestructuringAssignment,\n      flattenDestructuringBinding: () => flattenDestructuringBinding,\n      flattenDiagnosticMessageText: () => flattenDiagnosticMessageText2,\n      forEach: () => forEach,\n      forEachAncestor: () => forEachAncestor,\n      forEachAncestorDirectory: () => forEachAncestorDirectory,\n      forEachChild: () => forEachChild,\n      forEachChildRecursively: () => forEachChildRecursively,\n      forEachEmittedFile: () => forEachEmittedFile,\n      forEachEnclosingBlockScopeContainer: () => forEachEnclosingBlockScopeContainer,\n      forEachEntry: () => forEachEntry,\n      forEachExternalModuleToImportFrom: () => forEachExternalModuleToImportFrom,\n      forEachImportClauseDeclaration: () => forEachImportClauseDeclaration,\n      forEachKey: () => forEachKey,\n      forEachLeadingCommentRange: () => forEachLeadingCommentRange,\n      forEachNameInAccessChainWalkingLeft: () => forEachNameInAccessChainWalkingLeft,\n      forEachResolvedProjectReference: () => forEachResolvedProjectReference,\n      forEachReturnStatement: () => forEachReturnStatement,\n      forEachRight: () => forEachRight,\n      forEachTrailingCommentRange: () => forEachTrailingCommentRange,\n      forEachUnique: () => forEachUnique,\n      forEachYieldExpression: () => forEachYieldExpression,\n      forSomeAncestorDirectory: () => forSomeAncestorDirectory,\n      formatColorAndReset: () => formatColorAndReset,\n      formatDiagnostic: () => formatDiagnostic,\n      formatDiagnostics: () => formatDiagnostics,\n      formatDiagnosticsWithColorAndContext: () => formatDiagnosticsWithColorAndContext,\n      formatGeneratedName: () => formatGeneratedName,\n      formatGeneratedNamePart: () => formatGeneratedNamePart,\n      formatLocation: () => formatLocation,\n      formatMessage: () => formatMessage,\n      formatStringFromArgs: () => formatStringFromArgs,\n      formatting: () => ts_formatting_exports,\n      fullTripleSlashAMDReferencePathRegEx: () => fullTripleSlashAMDReferencePathRegEx,\n      fullTripleSlashReferencePathRegEx: () => fullTripleSlashReferencePathRegEx,\n      generateDjb2Hash: () => generateDjb2Hash,\n      generateTSConfig: () => generateTSConfig,\n      generatorHelper: () => generatorHelper,\n      getAdjustedReferenceLocation: () => getAdjustedReferenceLocation,\n      getAdjustedRenameLocation: () => getAdjustedRenameLocation,\n      getAliasDeclarationFromName: () => getAliasDeclarationFromName,\n      getAllAccessorDeclarations: () => getAllAccessorDeclarations,\n      getAllDecoratorsOfClass: () => getAllDecoratorsOfClass,\n      getAllDecoratorsOfClassElement: () => getAllDecoratorsOfClassElement,\n      getAllJSDocTags: () => getAllJSDocTags,\n      getAllJSDocTagsOfKind: () => getAllJSDocTagsOfKind,\n      getAllKeys: () => getAllKeys,\n      getAllProjectOutputs: () => getAllProjectOutputs,\n      getAllSuperTypeNodes: () => getAllSuperTypeNodes,\n      getAllUnscopedEmitHelpers: () => getAllUnscopedEmitHelpers,\n      getAllowJSCompilerOption: () => getAllowJSCompilerOption,\n      getAllowSyntheticDefaultImports: () => getAllowSyntheticDefaultImports,\n      getAncestor: () => getAncestor,\n      getAnyExtensionFromPath: () => getAnyExtensionFromPath,\n      getAreDeclarationMapsEnabled: () => getAreDeclarationMapsEnabled,\n      getAssignedExpandoInitializer: () => getAssignedExpandoInitializer,\n      getAssignedName: () => getAssignedName,\n      getAssignmentDeclarationKind: () => getAssignmentDeclarationKind,\n      getAssignmentDeclarationPropertyAccessKind: () => getAssignmentDeclarationPropertyAccessKind,\n      getAssignmentTargetKind: () => getAssignmentTargetKind,\n      getAutomaticTypeDirectiveNames: () => getAutomaticTypeDirectiveNames,\n      getBaseFileName: () => getBaseFileName,\n      getBinaryOperatorPrecedence: () => getBinaryOperatorPrecedence,\n      getBuildInfo: () => getBuildInfo,\n      getBuildInfoFileVersionMap: () => getBuildInfoFileVersionMap,\n      getBuildInfoText: () => getBuildInfoText,\n      getBuildOrderFromAnyBuildOrder: () => getBuildOrderFromAnyBuildOrder,\n      getBuilderCreationParameters: () => getBuilderCreationParameters,\n      getBuilderFileEmit: () => getBuilderFileEmit,\n      getCheckFlags: () => getCheckFlags,\n      getClassExtendsHeritageElement: () => getClassExtendsHeritageElement,\n      getClassLikeDeclarationOfSymbol: () => getClassLikeDeclarationOfSymbol,\n      getCombinedLocalAndExportSymbolFlags: () => getCombinedLocalAndExportSymbolFlags,\n      getCombinedModifierFlags: () => getCombinedModifierFlags,\n      getCombinedNodeFlags: () => getCombinedNodeFlags,\n      getCombinedNodeFlagsAlwaysIncludeJSDoc: () => getCombinedNodeFlagsAlwaysIncludeJSDoc,\n      getCommentRange: () => getCommentRange,\n      getCommonSourceDirectory: () => getCommonSourceDirectory,\n      getCommonSourceDirectoryOfConfig: () => getCommonSourceDirectoryOfConfig,\n      getCompilerOptionValue: () => getCompilerOptionValue,\n      getCompilerOptionsDiffValue: () => getCompilerOptionsDiffValue,\n      getConditions: () => getConditions,\n      getConfigFileParsingDiagnostics: () => getConfigFileParsingDiagnostics,\n      getConstantValue: () => getConstantValue,\n      getContainerNode: () => getContainerNode,\n      getContainingClass: () => getContainingClass,\n      getContainingClassStaticBlock: () => getContainingClassStaticBlock,\n      getContainingFunction: () => getContainingFunction,\n      getContainingFunctionDeclaration: () => getContainingFunctionDeclaration,\n      getContainingFunctionOrClassStaticBlock: () => getContainingFunctionOrClassStaticBlock,\n      getContainingNodeArray: () => getContainingNodeArray,\n      getContainingObjectLiteralElement: () => getContainingObjectLiteralElement,\n      getContextualTypeFromParent: () => getContextualTypeFromParent,\n      getContextualTypeFromParentOrAncestorTypeNode: () => getContextualTypeFromParentOrAncestorTypeNode,\n      getCurrentTime: () => getCurrentTime,\n      getDeclarationDiagnostics: () => getDeclarationDiagnostics,\n      getDeclarationEmitExtensionForPath: () => getDeclarationEmitExtensionForPath,\n      getDeclarationEmitOutputFilePath: () => getDeclarationEmitOutputFilePath,\n      getDeclarationEmitOutputFilePathWorker: () => getDeclarationEmitOutputFilePathWorker,\n      getDeclarationFromName: () => getDeclarationFromName,\n      getDeclarationModifierFlagsFromSymbol: () => getDeclarationModifierFlagsFromSymbol,\n      getDeclarationOfKind: () => getDeclarationOfKind,\n      getDeclarationsOfKind: () => getDeclarationsOfKind,\n      getDeclaredExpandoInitializer: () => getDeclaredExpandoInitializer,\n      getDecorators: () => getDecorators,\n      getDefaultCompilerOptions: () => getDefaultCompilerOptions2,\n      getDefaultExportInfoWorker: () => getDefaultExportInfoWorker,\n      getDefaultFormatCodeSettings: () => getDefaultFormatCodeSettings,\n      getDefaultLibFileName: () => getDefaultLibFileName,\n      getDefaultLibFilePath: () => getDefaultLibFilePath,\n      getDefaultLikeExportInfo: () => getDefaultLikeExportInfo,\n      getDiagnosticText: () => getDiagnosticText,\n      getDiagnosticsWithinSpan: () => getDiagnosticsWithinSpan,\n      getDirectoryPath: () => getDirectoryPath,\n      getDocumentPositionMapper: () => getDocumentPositionMapper,\n      getESModuleInterop: () => getESModuleInterop,\n      getEditsForFileRename: () => getEditsForFileRename,\n      getEffectiveBaseTypeNode: () => getEffectiveBaseTypeNode,\n      getEffectiveConstraintOfTypeParameter: () => getEffectiveConstraintOfTypeParameter,\n      getEffectiveContainerForJSDocTemplateTag: () => getEffectiveContainerForJSDocTemplateTag,\n      getEffectiveImplementsTypeNodes: () => getEffectiveImplementsTypeNodes,\n      getEffectiveInitializer: () => getEffectiveInitializer,\n      getEffectiveJSDocHost: () => getEffectiveJSDocHost,\n      getEffectiveModifierFlags: () => getEffectiveModifierFlags,\n      getEffectiveModifierFlagsAlwaysIncludeJSDoc: () => getEffectiveModifierFlagsAlwaysIncludeJSDoc,\n      getEffectiveModifierFlagsNoCache: () => getEffectiveModifierFlagsNoCache,\n      getEffectiveReturnTypeNode: () => getEffectiveReturnTypeNode,\n      getEffectiveSetAccessorTypeAnnotationNode: () => getEffectiveSetAccessorTypeAnnotationNode,\n      getEffectiveTypeAnnotationNode: () => getEffectiveTypeAnnotationNode,\n      getEffectiveTypeParameterDeclarations: () => getEffectiveTypeParameterDeclarations,\n      getEffectiveTypeRoots: () => getEffectiveTypeRoots,\n      getElementOrPropertyAccessArgumentExpressionOrName: () => getElementOrPropertyAccessArgumentExpressionOrName,\n      getElementOrPropertyAccessName: () => getElementOrPropertyAccessName,\n      getElementsOfBindingOrAssignmentPattern: () => getElementsOfBindingOrAssignmentPattern,\n      getEmitDeclarations: () => getEmitDeclarations,\n      getEmitFlags: () => getEmitFlags,\n      getEmitHelpers: () => getEmitHelpers,\n      getEmitModuleDetectionKind: () => getEmitModuleDetectionKind,\n      getEmitModuleKind: () => getEmitModuleKind,\n      getEmitModuleResolutionKind: () => getEmitModuleResolutionKind,\n      getEmitScriptTarget: () => getEmitScriptTarget,\n      getEnclosingBlockScopeContainer: () => getEnclosingBlockScopeContainer,\n      getEncodedSemanticClassifications: () => getEncodedSemanticClassifications,\n      getEncodedSyntacticClassifications: () => getEncodedSyntacticClassifications,\n      getEndLinePosition: () => getEndLinePosition,\n      getEntityNameFromTypeNode: () => getEntityNameFromTypeNode,\n      getEntrypointsFromPackageJsonInfo: () => getEntrypointsFromPackageJsonInfo,\n      getErrorCountForSummary: () => getErrorCountForSummary,\n      getErrorSpanForNode: () => getErrorSpanForNode,\n      getErrorSummaryText: () => getErrorSummaryText,\n      getEscapedTextOfIdentifierOrLiteral: () => getEscapedTextOfIdentifierOrLiteral,\n      getExpandoInitializer: () => getExpandoInitializer,\n      getExportAssignmentExpression: () => getExportAssignmentExpression,\n      getExportInfoMap: () => getExportInfoMap,\n      getExportNeedsImportStarHelper: () => getExportNeedsImportStarHelper,\n      getExpressionAssociativity: () => getExpressionAssociativity,\n      getExpressionPrecedence: () => getExpressionPrecedence,\n      getExternalHelpersModuleName: () => getExternalHelpersModuleName,\n      getExternalModuleImportEqualsDeclarationExpression: () => getExternalModuleImportEqualsDeclarationExpression,\n      getExternalModuleName: () => getExternalModuleName,\n      getExternalModuleNameFromDeclaration: () => getExternalModuleNameFromDeclaration,\n      getExternalModuleNameFromPath: () => getExternalModuleNameFromPath,\n      getExternalModuleNameLiteral: () => getExternalModuleNameLiteral,\n      getExternalModuleRequireArgument: () => getExternalModuleRequireArgument,\n      getFallbackOptions: () => getFallbackOptions,\n      getFileEmitOutput: () => getFileEmitOutput,\n      getFileMatcherPatterns: () => getFileMatcherPatterns,\n      getFileNamesFromConfigSpecs: () => getFileNamesFromConfigSpecs,\n      getFileWatcherEventKind: () => getFileWatcherEventKind,\n      getFilesInErrorForSummary: () => getFilesInErrorForSummary,\n      getFirstConstructorWithBody: () => getFirstConstructorWithBody,\n      getFirstIdentifier: () => getFirstIdentifier,\n      getFirstNonSpaceCharacterPosition: () => getFirstNonSpaceCharacterPosition,\n      getFirstProjectOutput: () => getFirstProjectOutput,\n      getFixableErrorSpanExpression: () => getFixableErrorSpanExpression,\n      getFormatCodeSettingsForWriting: () => getFormatCodeSettingsForWriting,\n      getFullWidth: () => getFullWidth,\n      getFunctionFlags: () => getFunctionFlags,\n      getHeritageClause: () => getHeritageClause,\n      getHostSignatureFromJSDoc: () => getHostSignatureFromJSDoc,\n      getIdentifierAutoGenerate: () => getIdentifierAutoGenerate,\n      getIdentifierGeneratedImportReference: () => getIdentifierGeneratedImportReference,\n      getIdentifierTypeArguments: () => getIdentifierTypeArguments,\n      getImmediatelyInvokedFunctionExpression: () => getImmediatelyInvokedFunctionExpression,\n      getImpliedNodeFormatForFile: () => getImpliedNodeFormatForFile,\n      getImpliedNodeFormatForFileWorker: () => getImpliedNodeFormatForFileWorker,\n      getImportNeedsImportDefaultHelper: () => getImportNeedsImportDefaultHelper,\n      getImportNeedsImportStarHelper: () => getImportNeedsImportStarHelper,\n      getIndentSize: () => getIndentSize,\n      getIndentString: () => getIndentString,\n      getInitializedVariables: () => getInitializedVariables,\n      getInitializerOfBinaryExpression: () => getInitializerOfBinaryExpression,\n      getInitializerOfBindingOrAssignmentElement: () => getInitializerOfBindingOrAssignmentElement,\n      getInterfaceBaseTypeNodes: () => getInterfaceBaseTypeNodes,\n      getInternalEmitFlags: () => getInternalEmitFlags,\n      getInvokedExpression: () => getInvokedExpression,\n      getIsolatedModules: () => getIsolatedModules,\n      getJSDocAugmentsTag: () => getJSDocAugmentsTag,\n      getJSDocClassTag: () => getJSDocClassTag,\n      getJSDocCommentRanges: () => getJSDocCommentRanges,\n      getJSDocCommentsAndTags: () => getJSDocCommentsAndTags,\n      getJSDocDeprecatedTag: () => getJSDocDeprecatedTag,\n      getJSDocDeprecatedTagNoCache: () => getJSDocDeprecatedTagNoCache,\n      getJSDocEnumTag: () => getJSDocEnumTag,\n      getJSDocHost: () => getJSDocHost,\n      getJSDocImplementsTags: () => getJSDocImplementsTags,\n      getJSDocOverrideTagNoCache: () => getJSDocOverrideTagNoCache,\n      getJSDocParameterTags: () => getJSDocParameterTags,\n      getJSDocParameterTagsNoCache: () => getJSDocParameterTagsNoCache,\n      getJSDocPrivateTag: () => getJSDocPrivateTag,\n      getJSDocPrivateTagNoCache: () => getJSDocPrivateTagNoCache,\n      getJSDocProtectedTag: () => getJSDocProtectedTag,\n      getJSDocProtectedTagNoCache: () => getJSDocProtectedTagNoCache,\n      getJSDocPublicTag: () => getJSDocPublicTag,\n      getJSDocPublicTagNoCache: () => getJSDocPublicTagNoCache,\n      getJSDocReadonlyTag: () => getJSDocReadonlyTag,\n      getJSDocReadonlyTagNoCache: () => getJSDocReadonlyTagNoCache,\n      getJSDocReturnTag: () => getJSDocReturnTag,\n      getJSDocReturnType: () => getJSDocReturnType,\n      getJSDocRoot: () => getJSDocRoot,\n      getJSDocSatisfiesExpressionType: () => getJSDocSatisfiesExpressionType,\n      getJSDocSatisfiesTag: () => getJSDocSatisfiesTag,\n      getJSDocTags: () => getJSDocTags,\n      getJSDocTagsNoCache: () => getJSDocTagsNoCache,\n      getJSDocTemplateTag: () => getJSDocTemplateTag,\n      getJSDocThisTag: () => getJSDocThisTag,\n      getJSDocType: () => getJSDocType,\n      getJSDocTypeAliasName: () => getJSDocTypeAliasName,\n      getJSDocTypeAssertionType: () => getJSDocTypeAssertionType,\n      getJSDocTypeParameterDeclarations: () => getJSDocTypeParameterDeclarations,\n      getJSDocTypeParameterTags: () => getJSDocTypeParameterTags,\n      getJSDocTypeParameterTagsNoCache: () => getJSDocTypeParameterTagsNoCache,\n      getJSDocTypeTag: () => getJSDocTypeTag,\n      getJSXImplicitImportBase: () => getJSXImplicitImportBase,\n      getJSXRuntimeImport: () => getJSXRuntimeImport,\n      getJSXTransformEnabled: () => getJSXTransformEnabled,\n      getKeyForCompilerOptions: () => getKeyForCompilerOptions,\n      getLanguageVariant: () => getLanguageVariant,\n      getLastChild: () => getLastChild,\n      getLeadingCommentRanges: () => getLeadingCommentRanges,\n      getLeadingCommentRangesOfNode: () => getLeadingCommentRangesOfNode,\n      getLeftmostAccessExpression: () => getLeftmostAccessExpression,\n      getLeftmostExpression: () => getLeftmostExpression,\n      getLineAndCharacterOfPosition: () => getLineAndCharacterOfPosition,\n      getLineInfo: () => getLineInfo,\n      getLineOfLocalPosition: () => getLineOfLocalPosition,\n      getLineOfLocalPositionFromLineMap: () => getLineOfLocalPositionFromLineMap,\n      getLineStartPositionForPosition: () => getLineStartPositionForPosition,\n      getLineStarts: () => getLineStarts,\n      getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => getLinesBetweenPositionAndNextNonWhitespaceCharacter,\n      getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter: () => getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter,\n      getLinesBetweenPositions: () => getLinesBetweenPositions,\n      getLinesBetweenRangeEndAndRangeStart: () => getLinesBetweenRangeEndAndRangeStart,\n      getLinesBetweenRangeEndPositions: () => getLinesBetweenRangeEndPositions,\n      getLiteralText: () => getLiteralText,\n      getLocalNameForExternalImport: () => getLocalNameForExternalImport,\n      getLocalSymbolForExportDefault: () => getLocalSymbolForExportDefault,\n      getLocaleSpecificMessage: () => getLocaleSpecificMessage,\n      getLocaleTimeString: () => getLocaleTimeString,\n      getMappedContextSpan: () => getMappedContextSpan,\n      getMappedDocumentSpan: () => getMappedDocumentSpan,\n      getMappedLocation: () => getMappedLocation,\n      getMatchedFileSpec: () => getMatchedFileSpec,\n      getMatchedIncludeSpec: () => getMatchedIncludeSpec,\n      getMeaningFromDeclaration: () => getMeaningFromDeclaration,\n      getMeaningFromLocation: () => getMeaningFromLocation,\n      getMembersOfDeclaration: () => getMembersOfDeclaration,\n      getModeForFileReference: () => getModeForFileReference,\n      getModeForResolutionAtIndex: () => getModeForResolutionAtIndex,\n      getModeForUsageLocation: () => getModeForUsageLocation,\n      getModifiedTime: () => getModifiedTime,\n      getModifiers: () => getModifiers,\n      getModuleInstanceState: () => getModuleInstanceState,\n      getModuleNameStringLiteralAt: () => getModuleNameStringLiteralAt,\n      getModuleSpecifierEndingPreference: () => getModuleSpecifierEndingPreference,\n      getModuleSpecifierResolverHost: () => getModuleSpecifierResolverHost,\n      getNameForExportedSymbol: () => getNameForExportedSymbol,\n      getNameFromIndexInfo: () => getNameFromIndexInfo,\n      getNameFromPropertyName: () => getNameFromPropertyName,\n      getNameOfAccessExpression: () => getNameOfAccessExpression,\n      getNameOfCompilerOptionValue: () => getNameOfCompilerOptionValue,\n      getNameOfDeclaration: () => getNameOfDeclaration,\n      getNameOfExpando: () => getNameOfExpando,\n      getNameOfJSDocTypedef: () => getNameOfJSDocTypedef,\n      getNameOrArgument: () => getNameOrArgument,\n      getNameTable: () => getNameTable,\n      getNamesForExportedSymbol: () => getNamesForExportedSymbol,\n      getNamespaceDeclarationNode: () => getNamespaceDeclarationNode,\n      getNewLineCharacter: () => getNewLineCharacter,\n      getNewLineKind: () => getNewLineKind,\n      getNewLineOrDefaultFromHost: () => getNewLineOrDefaultFromHost,\n      getNewTargetContainer: () => getNewTargetContainer,\n      getNextJSDocCommentLocation: () => getNextJSDocCommentLocation,\n      getNodeForGeneratedName: () => getNodeForGeneratedName,\n      getNodeId: () => getNodeId,\n      getNodeKind: () => getNodeKind,\n      getNodeModifiers: () => getNodeModifiers,\n      getNodeModulePathParts: () => getNodeModulePathParts,\n      getNonAssignedNameOfDeclaration: () => getNonAssignedNameOfDeclaration,\n      getNonAssignmentOperatorForCompoundAssignment: () => getNonAssignmentOperatorForCompoundAssignment,\n      getNonAugmentationDeclaration: () => getNonAugmentationDeclaration,\n      getNonDecoratorTokenPosOfNode: () => getNonDecoratorTokenPosOfNode,\n      getNormalizedAbsolutePath: () => getNormalizedAbsolutePath,\n      getNormalizedAbsolutePathWithoutRoot: () => getNormalizedAbsolutePathWithoutRoot,\n      getNormalizedPathComponents: () => getNormalizedPathComponents,\n      getObjectFlags: () => getObjectFlags,\n      getOperator: () => getOperator,\n      getOperatorAssociativity: () => getOperatorAssociativity,\n      getOperatorPrecedence: () => getOperatorPrecedence,\n      getOptionFromName: () => getOptionFromName,\n      getOptionsNameMap: () => getOptionsNameMap,\n      getOrCreateEmitNode: () => getOrCreateEmitNode,\n      getOrCreateExternalHelpersModuleNameIfNeeded: () => getOrCreateExternalHelpersModuleNameIfNeeded,\n      getOrUpdate: () => getOrUpdate,\n      getOriginalNode: () => getOriginalNode,\n      getOriginalNodeId: () => getOriginalNodeId,\n      getOriginalSourceFile: () => getOriginalSourceFile,\n      getOutputDeclarationFileName: () => getOutputDeclarationFileName,\n      getOutputExtension: () => getOutputExtension,\n      getOutputFileNames: () => getOutputFileNames,\n      getOutputPathsFor: () => getOutputPathsFor,\n      getOutputPathsForBundle: () => getOutputPathsForBundle,\n      getOwnEmitOutputFilePath: () => getOwnEmitOutputFilePath,\n      getOwnKeys: () => getOwnKeys,\n      getOwnValues: () => getOwnValues,\n      getPackageJsonInfo: () => getPackageJsonInfo,\n      getPackageJsonTypesVersionsPaths: () => getPackageJsonTypesVersionsPaths,\n      getPackageJsonsVisibleToFile: () => getPackageJsonsVisibleToFile,\n      getPackageNameFromTypesPackageName: () => getPackageNameFromTypesPackageName,\n      getPackageScopeForPath: () => getPackageScopeForPath,\n      getParameterSymbolFromJSDoc: () => getParameterSymbolFromJSDoc,\n      getParameterTypeNode: () => getParameterTypeNode,\n      getParentNodeInSpan: () => getParentNodeInSpan,\n      getParseTreeNode: () => getParseTreeNode,\n      getParsedCommandLineOfConfigFile: () => getParsedCommandLineOfConfigFile,\n      getPathComponents: () => getPathComponents,\n      getPathComponentsRelativeTo: () => getPathComponentsRelativeTo,\n      getPathFromPathComponents: () => getPathFromPathComponents,\n      getPathUpdater: () => getPathUpdater,\n      getPathsBasePath: () => getPathsBasePath,\n      getPatternFromSpec: () => getPatternFromSpec,\n      getPendingEmitKind: () => getPendingEmitKind,\n      getPositionOfLineAndCharacter: () => getPositionOfLineAndCharacter,\n      getPossibleGenericSignatures: () => getPossibleGenericSignatures,\n      getPossibleOriginalInputExtensionForExtension: () => getPossibleOriginalInputExtensionForExtension,\n      getPossibleTypeArgumentsInfo: () => getPossibleTypeArgumentsInfo,\n      getPreEmitDiagnostics: () => getPreEmitDiagnostics,\n      getPrecedingNonSpaceCharacterPosition: () => getPrecedingNonSpaceCharacterPosition,\n      getPrivateIdentifier: () => getPrivateIdentifier,\n      getProperties: () => getProperties,\n      getProperty: () => getProperty,\n      getPropertyArrayElementValue: () => getPropertyArrayElementValue,\n      getPropertyAssignment: () => getPropertyAssignment,\n      getPropertyAssignmentAliasLikeExpression: () => getPropertyAssignmentAliasLikeExpression,\n      getPropertyNameForPropertyNameNode: () => getPropertyNameForPropertyNameNode,\n      getPropertyNameForUniqueESSymbol: () => getPropertyNameForUniqueESSymbol,\n      getPropertyNameOfBindingOrAssignmentElement: () => getPropertyNameOfBindingOrAssignmentElement,\n      getPropertySymbolFromBindingElement: () => getPropertySymbolFromBindingElement,\n      getPropertySymbolsFromContextualType: () => getPropertySymbolsFromContextualType,\n      getQuoteFromPreference: () => getQuoteFromPreference,\n      getQuotePreference: () => getQuotePreference,\n      getRangesWhere: () => getRangesWhere,\n      getRefactorContextSpan: () => getRefactorContextSpan,\n      getReferencedFileLocation: () => getReferencedFileLocation,\n      getRegexFromPattern: () => getRegexFromPattern,\n      getRegularExpressionForWildcard: () => getRegularExpressionForWildcard,\n      getRegularExpressionsForWildcards: () => getRegularExpressionsForWildcards,\n      getRelativePathFromDirectory: () => getRelativePathFromDirectory,\n      getRelativePathFromFile: () => getRelativePathFromFile,\n      getRelativePathToDirectoryOrUrl: () => getRelativePathToDirectoryOrUrl,\n      getRenameLocation: () => getRenameLocation,\n      getReplacementSpanForContextToken: () => getReplacementSpanForContextToken,\n      getResolutionDiagnostic: () => getResolutionDiagnostic,\n      getResolutionModeOverrideForClause: () => getResolutionModeOverrideForClause,\n      getResolveJsonModule: () => getResolveJsonModule,\n      getResolvePackageJsonExports: () => getResolvePackageJsonExports,\n      getResolvePackageJsonImports: () => getResolvePackageJsonImports,\n      getResolvedExternalModuleName: () => getResolvedExternalModuleName,\n      getResolvedModule: () => getResolvedModule,\n      getResolvedTypeReferenceDirective: () => getResolvedTypeReferenceDirective,\n      getRestIndicatorOfBindingOrAssignmentElement: () => getRestIndicatorOfBindingOrAssignmentElement,\n      getRestParameterElementType: () => getRestParameterElementType,\n      getRightMostAssignedExpression: () => getRightMostAssignedExpression,\n      getRootDeclaration: () => getRootDeclaration,\n      getRootLength: () => getRootLength,\n      getScriptKind: () => getScriptKind,\n      getScriptKindFromFileName: () => getScriptKindFromFileName,\n      getScriptTargetFeatures: () => getScriptTargetFeatures,\n      getSelectedEffectiveModifierFlags: () => getSelectedEffectiveModifierFlags,\n      getSelectedSyntacticModifierFlags: () => getSelectedSyntacticModifierFlags,\n      getSemanticClassifications: () => getSemanticClassifications,\n      getSemanticJsxChildren: () => getSemanticJsxChildren,\n      getSetAccessorTypeAnnotationNode: () => getSetAccessorTypeAnnotationNode,\n      getSetAccessorValueParameter: () => getSetAccessorValueParameter,\n      getSetExternalModuleIndicator: () => getSetExternalModuleIndicator,\n      getShebang: () => getShebang,\n      getSingleInitializerOfVariableStatementOrPropertyDeclaration: () => getSingleInitializerOfVariableStatementOrPropertyDeclaration,\n      getSingleVariableOfVariableStatement: () => getSingleVariableOfVariableStatement,\n      getSnapshotText: () => getSnapshotText,\n      getSnippetElement: () => getSnippetElement,\n      getSourceFileOfModule: () => getSourceFileOfModule,\n      getSourceFileOfNode: () => getSourceFileOfNode,\n      getSourceFilePathInNewDir: () => getSourceFilePathInNewDir,\n      getSourceFilePathInNewDirWorker: () => getSourceFilePathInNewDirWorker,\n      getSourceFileVersionAsHashFromText: () => getSourceFileVersionAsHashFromText,\n      getSourceFilesToEmit: () => getSourceFilesToEmit,\n      getSourceMapRange: () => getSourceMapRange,\n      getSourceMapper: () => getSourceMapper,\n      getSourceTextOfNodeFromSourceFile: () => getSourceTextOfNodeFromSourceFile,\n      getSpanOfTokenAtPosition: () => getSpanOfTokenAtPosition,\n      getSpellingSuggestion: () => getSpellingSuggestion,\n      getStartPositionOfLine: () => getStartPositionOfLine,\n      getStartPositionOfRange: () => getStartPositionOfRange,\n      getStartsOnNewLine: () => getStartsOnNewLine,\n      getStaticPropertiesAndClassStaticBlock: () => getStaticPropertiesAndClassStaticBlock,\n      getStrictOptionValue: () => getStrictOptionValue,\n      getStringComparer: () => getStringComparer,\n      getSuperCallFromStatement: () => getSuperCallFromStatement,\n      getSuperContainer: () => getSuperContainer,\n      getSupportedCodeFixes: () => getSupportedCodeFixes,\n      getSupportedExtensions: () => getSupportedExtensions,\n      getSupportedExtensionsWithJsonIfResolveJsonModule: () => getSupportedExtensionsWithJsonIfResolveJsonModule,\n      getSwitchedType: () => getSwitchedType,\n      getSymbolId: () => getSymbolId,\n      getSymbolNameForPrivateIdentifier: () => getSymbolNameForPrivateIdentifier,\n      getSymbolTarget: () => getSymbolTarget,\n      getSyntacticClassifications: () => getSyntacticClassifications,\n      getSyntacticModifierFlags: () => getSyntacticModifierFlags,\n      getSyntacticModifierFlagsNoCache: () => getSyntacticModifierFlagsNoCache,\n      getSynthesizedDeepClone: () => getSynthesizedDeepClone,\n      getSynthesizedDeepCloneWithReplacements: () => getSynthesizedDeepCloneWithReplacements,\n      getSynthesizedDeepClones: () => getSynthesizedDeepClones,\n      getSynthesizedDeepClonesWithReplacements: () => getSynthesizedDeepClonesWithReplacements,\n      getSyntheticLeadingComments: () => getSyntheticLeadingComments,\n      getSyntheticTrailingComments: () => getSyntheticTrailingComments,\n      getTargetLabel: () => getTargetLabel,\n      getTargetOfBindingOrAssignmentElement: () => getTargetOfBindingOrAssignmentElement,\n      getTemporaryModuleResolutionState: () => getTemporaryModuleResolutionState,\n      getTextOfConstantValue: () => getTextOfConstantValue,\n      getTextOfIdentifierOrLiteral: () => getTextOfIdentifierOrLiteral,\n      getTextOfJSDocComment: () => getTextOfJSDocComment,\n      getTextOfNode: () => getTextOfNode,\n      getTextOfNodeFromSourceText: () => getTextOfNodeFromSourceText,\n      getTextOfPropertyName: () => getTextOfPropertyName,\n      getThisContainer: () => getThisContainer,\n      getThisParameter: () => getThisParameter,\n      getTokenAtPosition: () => getTokenAtPosition,\n      getTokenPosOfNode: () => getTokenPosOfNode,\n      getTokenSourceMapRange: () => getTokenSourceMapRange,\n      getTouchingPropertyName: () => getTouchingPropertyName,\n      getTouchingToken: () => getTouchingToken,\n      getTrailingCommentRanges: () => getTrailingCommentRanges,\n      getTrailingSemicolonDeferringWriter: () => getTrailingSemicolonDeferringWriter,\n      getTransformFlagsSubtreeExclusions: () => getTransformFlagsSubtreeExclusions,\n      getTransformers: () => getTransformers,\n      getTsBuildInfoEmitOutputFilePath: () => getTsBuildInfoEmitOutputFilePath,\n      getTsConfigObjectLiteralExpression: () => getTsConfigObjectLiteralExpression,\n      getTsConfigPropArray: () => getTsConfigPropArray,\n      getTsConfigPropArrayElementValue: () => getTsConfigPropArrayElementValue,\n      getTypeAnnotationNode: () => getTypeAnnotationNode,\n      getTypeArgumentOrTypeParameterList: () => getTypeArgumentOrTypeParameterList,\n      getTypeKeywordOfTypeOnlyImport: () => getTypeKeywordOfTypeOnlyImport,\n      getTypeNode: () => getTypeNode,\n      getTypeNodeIfAccessible: () => getTypeNodeIfAccessible,\n      getTypeParameterFromJsDoc: () => getTypeParameterFromJsDoc,\n      getTypeParameterOwner: () => getTypeParameterOwner,\n      getTypesPackageName: () => getTypesPackageName,\n      getUILocale: () => getUILocale,\n      getUniqueName: () => getUniqueName,\n      getUniqueSymbolId: () => getUniqueSymbolId,\n      getUseDefineForClassFields: () => getUseDefineForClassFields,\n      getWatchErrorSummaryDiagnosticMessage: () => getWatchErrorSummaryDiagnosticMessage,\n      getWatchFactory: () => getWatchFactory,\n      group: () => group,\n      groupBy: () => groupBy,\n      guessIndentation: () => guessIndentation,\n      handleNoEmitOptions: () => handleNoEmitOptions,\n      hasAbstractModifier: () => hasAbstractModifier,\n      hasAccessorModifier: () => hasAccessorModifier,\n      hasAmbientModifier: () => hasAmbientModifier,\n      hasChangesInResolutions: () => hasChangesInResolutions,\n      hasChildOfKind: () => hasChildOfKind,\n      hasContextSensitiveParameters: () => hasContextSensitiveParameters,\n      hasDecorators: () => hasDecorators,\n      hasDocComment: () => hasDocComment,\n      hasDynamicName: () => hasDynamicName,\n      hasEffectiveModifier: () => hasEffectiveModifier,\n      hasEffectiveModifiers: () => hasEffectiveModifiers,\n      hasEffectiveReadonlyModifier: () => hasEffectiveReadonlyModifier,\n      hasExtension: () => hasExtension,\n      hasIndexSignature: () => hasIndexSignature,\n      hasInitializer: () => hasInitializer,\n      hasInvalidEscape: () => hasInvalidEscape,\n      hasJSDocNodes: () => hasJSDocNodes,\n      hasJSDocParameterTags: () => hasJSDocParameterTags,\n      hasJSFileExtension: () => hasJSFileExtension,\n      hasJsonModuleEmitEnabled: () => hasJsonModuleEmitEnabled,\n      hasOnlyExpressionInitializer: () => hasOnlyExpressionInitializer,\n      hasOverrideModifier: () => hasOverrideModifier,\n      hasPossibleExternalModuleReference: () => hasPossibleExternalModuleReference,\n      hasProperty: () => hasProperty,\n      hasPropertyAccessExpressionWithName: () => hasPropertyAccessExpressionWithName,\n      hasQuestionToken: () => hasQuestionToken,\n      hasRecordedExternalHelpers: () => hasRecordedExternalHelpers,\n      hasRestParameter: () => hasRestParameter,\n      hasScopeMarker: () => hasScopeMarker,\n      hasStaticModifier: () => hasStaticModifier,\n      hasSyntacticModifier: () => hasSyntacticModifier,\n      hasSyntacticModifiers: () => hasSyntacticModifiers,\n      hasTSFileExtension: () => hasTSFileExtension,\n      hasTabstop: () => hasTabstop,\n      hasTrailingDirectorySeparator: () => hasTrailingDirectorySeparator,\n      hasType: () => hasType,\n      hasTypeArguments: () => hasTypeArguments,\n      hasZeroOrOneAsteriskCharacter: () => hasZeroOrOneAsteriskCharacter,\n      helperString: () => helperString,\n      hostGetCanonicalFileName: () => hostGetCanonicalFileName,\n      hostUsesCaseSensitiveFileNames: () => hostUsesCaseSensitiveFileNames,\n      idText: () => idText,\n      identifierIsThisKeyword: () => identifierIsThisKeyword,\n      identifierToKeywordKind: () => identifierToKeywordKind,\n      identity: () => identity2,\n      identitySourceMapConsumer: () => identitySourceMapConsumer,\n      ignoreSourceNewlines: () => ignoreSourceNewlines,\n      ignoredPaths: () => ignoredPaths,\n      importDefaultHelper: () => importDefaultHelper,\n      importFromModuleSpecifier: () => importFromModuleSpecifier,\n      importNameElisionDisabled: () => importNameElisionDisabled,\n      importStarHelper: () => importStarHelper,\n      indexOfAnyCharCode: () => indexOfAnyCharCode,\n      indexOfNode: () => indexOfNode,\n      indicesOf: () => indicesOf,\n      inferredTypesContainingFile: () => inferredTypesContainingFile,\n      insertImports: () => insertImports,\n      insertLeadingStatement: () => insertLeadingStatement,\n      insertSorted: () => insertSorted,\n      insertStatementAfterCustomPrologue: () => insertStatementAfterCustomPrologue,\n      insertStatementAfterStandardPrologue: () => insertStatementAfterStandardPrologue,\n      insertStatementsAfterCustomPrologue: () => insertStatementsAfterCustomPrologue,\n      insertStatementsAfterStandardPrologue: () => insertStatementsAfterStandardPrologue,\n      intersperse: () => intersperse,\n      introducesArgumentsExoticObject: () => introducesArgumentsExoticObject,\n      inverseJsxOptionMap: () => inverseJsxOptionMap,\n      isAbstractConstructorSymbol: () => isAbstractConstructorSymbol,\n      isAbstractModifier: () => isAbstractModifier,\n      isAccessExpression: () => isAccessExpression,\n      isAccessibilityModifier: () => isAccessibilityModifier,\n      isAccessor: () => isAccessor,\n      isAccessorModifier: () => isAccessorModifier,\n      isAliasSymbolDeclaration: () => isAliasSymbolDeclaration,\n      isAliasableExpression: () => isAliasableExpression,\n      isAmbientModule: () => isAmbientModule,\n      isAmbientPropertyDeclaration: () => isAmbientPropertyDeclaration,\n      isAnonymousFunctionDefinition: () => isAnonymousFunctionDefinition,\n      isAnyDirectorySeparator: () => isAnyDirectorySeparator,\n      isAnyImportOrBareOrAccessedRequire: () => isAnyImportOrBareOrAccessedRequire,\n      isAnyImportOrReExport: () => isAnyImportOrReExport,\n      isAnyImportSyntax: () => isAnyImportSyntax,\n      isAnySupportedFileExtension: () => isAnySupportedFileExtension,\n      isApplicableVersionedTypesKey: () => isApplicableVersionedTypesKey,\n      isArgumentExpressionOfElementAccess: () => isArgumentExpressionOfElementAccess,\n      isArray: () => isArray,\n      isArrayBindingElement: () => isArrayBindingElement,\n      isArrayBindingOrAssignmentElement: () => isArrayBindingOrAssignmentElement,\n      isArrayBindingOrAssignmentPattern: () => isArrayBindingOrAssignmentPattern,\n      isArrayBindingPattern: () => isArrayBindingPattern,\n      isArrayLiteralExpression: () => isArrayLiteralExpression,\n      isArrayLiteralOrObjectLiteralDestructuringPattern: () => isArrayLiteralOrObjectLiteralDestructuringPattern,\n      isArrayTypeNode: () => isArrayTypeNode,\n      isArrowFunction: () => isArrowFunction,\n      isAsExpression: () => isAsExpression,\n      isAssertClause: () => isAssertClause,\n      isAssertEntry: () => isAssertEntry,\n      isAssertionExpression: () => isAssertionExpression,\n      isAssertionKey: () => isAssertionKey,\n      isAssertsKeyword: () => isAssertsKeyword,\n      isAssignmentDeclaration: () => isAssignmentDeclaration,\n      isAssignmentExpression: () => isAssignmentExpression,\n      isAssignmentOperator: () => isAssignmentOperator,\n      isAssignmentPattern: () => isAssignmentPattern,\n      isAssignmentTarget: () => isAssignmentTarget,\n      isAsteriskToken: () => isAsteriskToken,\n      isAsyncFunction: () => isAsyncFunction,\n      isAsyncModifier: () => isAsyncModifier,\n      isAutoAccessorPropertyDeclaration: () => isAutoAccessorPropertyDeclaration,\n      isAwaitExpression: () => isAwaitExpression,\n      isAwaitKeyword: () => isAwaitKeyword,\n      isBigIntLiteral: () => isBigIntLiteral,\n      isBinaryExpression: () => isBinaryExpression,\n      isBinaryOperatorToken: () => isBinaryOperatorToken,\n      isBindableObjectDefinePropertyCall: () => isBindableObjectDefinePropertyCall,\n      isBindableStaticAccessExpression: () => isBindableStaticAccessExpression,\n      isBindableStaticElementAccessExpression: () => isBindableStaticElementAccessExpression,\n      isBindableStaticNameExpression: () => isBindableStaticNameExpression,\n      isBindingElement: () => isBindingElement,\n      isBindingElementOfBareOrAccessedRequire: () => isBindingElementOfBareOrAccessedRequire,\n      isBindingName: () => isBindingName,\n      isBindingOrAssignmentElement: () => isBindingOrAssignmentElement,\n      isBindingOrAssignmentPattern: () => isBindingOrAssignmentPattern,\n      isBindingPattern: () => isBindingPattern,\n      isBlock: () => isBlock,\n      isBlockOrCatchScoped: () => isBlockOrCatchScoped,\n      isBlockScope: () => isBlockScope,\n      isBlockScopedContainerTopLevel: () => isBlockScopedContainerTopLevel,\n      isBooleanLiteral: () => isBooleanLiteral,\n      isBreakOrContinueStatement: () => isBreakOrContinueStatement,\n      isBreakStatement: () => isBreakStatement,\n      isBuildInfoFile: () => isBuildInfoFile,\n      isBuilderProgram: () => isBuilderProgram2,\n      isBundle: () => isBundle,\n      isBundleFileTextLike: () => isBundleFileTextLike,\n      isCallChain: () => isCallChain,\n      isCallExpression: () => isCallExpression,\n      isCallExpressionTarget: () => isCallExpressionTarget,\n      isCallLikeExpression: () => isCallLikeExpression,\n      isCallOrNewExpression: () => isCallOrNewExpression,\n      isCallOrNewExpressionTarget: () => isCallOrNewExpressionTarget,\n      isCallSignatureDeclaration: () => isCallSignatureDeclaration,\n      isCallToHelper: () => isCallToHelper,\n      isCaseBlock: () => isCaseBlock,\n      isCaseClause: () => isCaseClause,\n      isCaseKeyword: () => isCaseKeyword,\n      isCaseOrDefaultClause: () => isCaseOrDefaultClause,\n      isCatchClause: () => isCatchClause,\n      isCatchClauseVariableDeclaration: () => isCatchClauseVariableDeclaration,\n      isCatchClauseVariableDeclarationOrBindingElement: () => isCatchClauseVariableDeclarationOrBindingElement,\n      isCheckJsEnabledForFile: () => isCheckJsEnabledForFile,\n      isChildOfNodeWithKind: () => isChildOfNodeWithKind,\n      isCircularBuildOrder: () => isCircularBuildOrder,\n      isClassDeclaration: () => isClassDeclaration,\n      isClassElement: () => isClassElement,\n      isClassExpression: () => isClassExpression,\n      isClassLike: () => isClassLike,\n      isClassMemberModifier: () => isClassMemberModifier,\n      isClassOrTypeElement: () => isClassOrTypeElement,\n      isClassStaticBlockDeclaration: () => isClassStaticBlockDeclaration,\n      isCollapsedRange: () => isCollapsedRange,\n      isColonToken: () => isColonToken,\n      isCommaExpression: () => isCommaExpression,\n      isCommaListExpression: () => isCommaListExpression,\n      isCommaSequence: () => isCommaSequence,\n      isCommaToken: () => isCommaToken,\n      isComment: () => isComment,\n      isCommonJsExportPropertyAssignment: () => isCommonJsExportPropertyAssignment,\n      isCommonJsExportedExpression: () => isCommonJsExportedExpression,\n      isCompoundAssignment: () => isCompoundAssignment,\n      isComputedNonLiteralName: () => isComputedNonLiteralName,\n      isComputedPropertyName: () => isComputedPropertyName,\n      isConciseBody: () => isConciseBody,\n      isConditionalExpression: () => isConditionalExpression,\n      isConditionalTypeNode: () => isConditionalTypeNode,\n      isConstTypeReference: () => isConstTypeReference,\n      isConstructSignatureDeclaration: () => isConstructSignatureDeclaration,\n      isConstructorDeclaration: () => isConstructorDeclaration,\n      isConstructorTypeNode: () => isConstructorTypeNode,\n      isContextualKeyword: () => isContextualKeyword,\n      isContinueStatement: () => isContinueStatement,\n      isCustomPrologue: () => isCustomPrologue,\n      isDebuggerStatement: () => isDebuggerStatement,\n      isDeclaration: () => isDeclaration,\n      isDeclarationBindingElement: () => isDeclarationBindingElement,\n      isDeclarationFileName: () => isDeclarationFileName,\n      isDeclarationName: () => isDeclarationName,\n      isDeclarationNameOfEnumOrNamespace: () => isDeclarationNameOfEnumOrNamespace,\n      isDeclarationReadonly: () => isDeclarationReadonly,\n      isDeclarationStatement: () => isDeclarationStatement,\n      isDeclarationWithTypeParameterChildren: () => isDeclarationWithTypeParameterChildren,\n      isDeclarationWithTypeParameters: () => isDeclarationWithTypeParameters,\n      isDecorator: () => isDecorator,\n      isDecoratorTarget: () => isDecoratorTarget,\n      isDefaultClause: () => isDefaultClause,\n      isDefaultImport: () => isDefaultImport,\n      isDefaultModifier: () => isDefaultModifier,\n      isDefaultedExpandoInitializer: () => isDefaultedExpandoInitializer,\n      isDeleteExpression: () => isDeleteExpression,\n      isDeleteTarget: () => isDeleteTarget,\n      isDeprecatedDeclaration: () => isDeprecatedDeclaration,\n      isDestructuringAssignment: () => isDestructuringAssignment,\n      isDiagnosticWithLocation: () => isDiagnosticWithLocation,\n      isDiskPathRoot: () => isDiskPathRoot,\n      isDoStatement: () => isDoStatement,\n      isDotDotDotToken: () => isDotDotDotToken,\n      isDottedName: () => isDottedName,\n      isDynamicName: () => isDynamicName,\n      isESSymbolIdentifier: () => isESSymbolIdentifier,\n      isEffectiveExternalModule: () => isEffectiveExternalModule,\n      isEffectiveModuleDeclaration: () => isEffectiveModuleDeclaration,\n      isEffectiveStrictModeSourceFile: () => isEffectiveStrictModeSourceFile,\n      isElementAccessChain: () => isElementAccessChain,\n      isElementAccessExpression: () => isElementAccessExpression,\n      isEmittedFileOfProgram: () => isEmittedFileOfProgram,\n      isEmptyArrayLiteral: () => isEmptyArrayLiteral,\n      isEmptyBindingElement: () => isEmptyBindingElement,\n      isEmptyBindingPattern: () => isEmptyBindingPattern,\n      isEmptyObjectLiteral: () => isEmptyObjectLiteral,\n      isEmptyStatement: () => isEmptyStatement,\n      isEmptyStringLiteral: () => isEmptyStringLiteral,\n      isEndOfDeclarationMarker: () => isEndOfDeclarationMarker,\n      isEntityName: () => isEntityName,\n      isEntityNameExpression: () => isEntityNameExpression,\n      isEnumConst: () => isEnumConst,\n      isEnumDeclaration: () => isEnumDeclaration,\n      isEnumMember: () => isEnumMember,\n      isEqualityOperatorKind: () => isEqualityOperatorKind,\n      isEqualsGreaterThanToken: () => isEqualsGreaterThanToken,\n      isExclamationToken: () => isExclamationToken,\n      isExcludedFile: () => isExcludedFile,\n      isExclusivelyTypeOnlyImportOrExport: () => isExclusivelyTypeOnlyImportOrExport,\n      isExportAssignment: () => isExportAssignment,\n      isExportDeclaration: () => isExportDeclaration,\n      isExportModifier: () => isExportModifier,\n      isExportName: () => isExportName,\n      isExportNamespaceAsDefaultDeclaration: () => isExportNamespaceAsDefaultDeclaration,\n      isExportOrDefaultModifier: () => isExportOrDefaultModifier,\n      isExportSpecifier: () => isExportSpecifier,\n      isExportsIdentifier: () => isExportsIdentifier,\n      isExportsOrModuleExportsOrAlias: () => isExportsOrModuleExportsOrAlias,\n      isExpression: () => isExpression,\n      isExpressionNode: () => isExpressionNode,\n      isExpressionOfExternalModuleImportEqualsDeclaration: () => isExpressionOfExternalModuleImportEqualsDeclaration,\n      isExpressionOfOptionalChainRoot: () => isExpressionOfOptionalChainRoot,\n      isExpressionStatement: () => isExpressionStatement,\n      isExpressionWithTypeArguments: () => isExpressionWithTypeArguments,\n      isExpressionWithTypeArgumentsInClassExtendsClause: () => isExpressionWithTypeArgumentsInClassExtendsClause,\n      isExternalModule: () => isExternalModule,\n      isExternalModuleAugmentation: () => isExternalModuleAugmentation,\n      isExternalModuleImportEqualsDeclaration: () => isExternalModuleImportEqualsDeclaration,\n      isExternalModuleIndicator: () => isExternalModuleIndicator,\n      isExternalModuleNameRelative: () => isExternalModuleNameRelative,\n      isExternalModuleReference: () => isExternalModuleReference,\n      isExternalModuleSymbol: () => isExternalModuleSymbol,\n      isExternalOrCommonJsModule: () => isExternalOrCommonJsModule,\n      isFileLevelUniqueName: () => isFileLevelUniqueName,\n      isFileProbablyExternalModule: () => isFileProbablyExternalModule,\n      isFirstDeclarationOfSymbolParameter: () => isFirstDeclarationOfSymbolParameter,\n      isFixablePromiseHandler: () => isFixablePromiseHandler,\n      isForInOrOfStatement: () => isForInOrOfStatement,\n      isForInStatement: () => isForInStatement,\n      isForInitializer: () => isForInitializer,\n      isForOfStatement: () => isForOfStatement,\n      isForStatement: () => isForStatement,\n      isFunctionBlock: () => isFunctionBlock,\n      isFunctionBody: () => isFunctionBody,\n      isFunctionDeclaration: () => isFunctionDeclaration,\n      isFunctionExpression: () => isFunctionExpression,\n      isFunctionExpressionOrArrowFunction: () => isFunctionExpressionOrArrowFunction,\n      isFunctionLike: () => isFunctionLike,\n      isFunctionLikeDeclaration: () => isFunctionLikeDeclaration,\n      isFunctionLikeKind: () => isFunctionLikeKind,\n      isFunctionLikeOrClassStaticBlockDeclaration: () => isFunctionLikeOrClassStaticBlockDeclaration,\n      isFunctionOrConstructorTypeNode: () => isFunctionOrConstructorTypeNode,\n      isFunctionOrModuleBlock: () => isFunctionOrModuleBlock,\n      isFunctionSymbol: () => isFunctionSymbol,\n      isFunctionTypeNode: () => isFunctionTypeNode,\n      isFutureReservedKeyword: () => isFutureReservedKeyword,\n      isGeneratedIdentifier: () => isGeneratedIdentifier,\n      isGeneratedPrivateIdentifier: () => isGeneratedPrivateIdentifier,\n      isGetAccessor: () => isGetAccessor,\n      isGetAccessorDeclaration: () => isGetAccessorDeclaration,\n      isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,\n      isGlobalDeclaration: () => isGlobalDeclaration,\n      isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,\n      isGrammarError: () => isGrammarError,\n      isHeritageClause: () => isHeritageClause,\n      isHoistedFunction: () => isHoistedFunction,\n      isHoistedVariableStatement: () => isHoistedVariableStatement,\n      isIdentifier: () => isIdentifier,\n      isIdentifierANonContextualKeyword: () => isIdentifierANonContextualKeyword,\n      isIdentifierName: () => isIdentifierName,\n      isIdentifierOrThisTypeNode: () => isIdentifierOrThisTypeNode,\n      isIdentifierPart: () => isIdentifierPart,\n      isIdentifierStart: () => isIdentifierStart,\n      isIdentifierText: () => isIdentifierText,\n      isIdentifierTypePredicate: () => isIdentifierTypePredicate,\n      isIdentifierTypeReference: () => isIdentifierTypeReference,\n      isIfStatement: () => isIfStatement,\n      isIgnoredFileFromWildCardWatching: () => isIgnoredFileFromWildCardWatching,\n      isImplicitGlob: () => isImplicitGlob,\n      isImportCall: () => isImportCall,\n      isImportClause: () => isImportClause,\n      isImportDeclaration: () => isImportDeclaration,\n      isImportEqualsDeclaration: () => isImportEqualsDeclaration,\n      isImportKeyword: () => isImportKeyword,\n      isImportMeta: () => isImportMeta,\n      isImportOrExportSpecifier: () => isImportOrExportSpecifier,\n      isImportOrExportSpecifierName: () => isImportOrExportSpecifierName,\n      isImportSpecifier: () => isImportSpecifier,\n      isImportTypeAssertionContainer: () => isImportTypeAssertionContainer,\n      isImportTypeNode: () => isImportTypeNode,\n      isImportableFile: () => isImportableFile,\n      isInComment: () => isInComment,\n      isInExpressionContext: () => isInExpressionContext,\n      isInJSDoc: () => isInJSDoc,\n      isInJSFile: () => isInJSFile,\n      isInJSXText: () => isInJSXText,\n      isInJsonFile: () => isInJsonFile,\n      isInNonReferenceComment: () => isInNonReferenceComment,\n      isInReferenceComment: () => isInReferenceComment,\n      isInRightSideOfInternalImportEqualsDeclaration: () => isInRightSideOfInternalImportEqualsDeclaration,\n      isInString: () => isInString,\n      isInTemplateString: () => isInTemplateString,\n      isInTopLevelContext: () => isInTopLevelContext,\n      isIncrementalCompilation: () => isIncrementalCompilation,\n      isIndexSignatureDeclaration: () => isIndexSignatureDeclaration,\n      isIndexedAccessTypeNode: () => isIndexedAccessTypeNode,\n      isInferTypeNode: () => isInferTypeNode,\n      isInfinityOrNaNString: () => isInfinityOrNaNString,\n      isInitializedProperty: () => isInitializedProperty,\n      isInitializedVariable: () => isInitializedVariable,\n      isInsideJsxElement: () => isInsideJsxElement,\n      isInsideJsxElementOrAttribute: () => isInsideJsxElementOrAttribute,\n      isInsideNodeModules: () => isInsideNodeModules,\n      isInsideTemplateLiteral: () => isInsideTemplateLiteral,\n      isInstantiatedModule: () => isInstantiatedModule,\n      isInterfaceDeclaration: () => isInterfaceDeclaration,\n      isInternalDeclaration: () => isInternalDeclaration,\n      isInternalModuleImportEqualsDeclaration: () => isInternalModuleImportEqualsDeclaration,\n      isInternalName: () => isInternalName,\n      isIntersectionTypeNode: () => isIntersectionTypeNode,\n      isIntrinsicJsxName: () => isIntrinsicJsxName,\n      isIterationStatement: () => isIterationStatement,\n      isJSDoc: () => isJSDoc,\n      isJSDocAllType: () => isJSDocAllType,\n      isJSDocAugmentsTag: () => isJSDocAugmentsTag,\n      isJSDocAuthorTag: () => isJSDocAuthorTag,\n      isJSDocCallbackTag: () => isJSDocCallbackTag,\n      isJSDocClassTag: () => isJSDocClassTag,\n      isJSDocCommentContainingNode: () => isJSDocCommentContainingNode,\n      isJSDocConstructSignature: () => isJSDocConstructSignature,\n      isJSDocDeprecatedTag: () => isJSDocDeprecatedTag,\n      isJSDocEnumTag: () => isJSDocEnumTag,\n      isJSDocFunctionType: () => isJSDocFunctionType,\n      isJSDocImplementsTag: () => isJSDocImplementsTag,\n      isJSDocIndexSignature: () => isJSDocIndexSignature,\n      isJSDocLikeText: () => isJSDocLikeText,\n      isJSDocLink: () => isJSDocLink,\n      isJSDocLinkCode: () => isJSDocLinkCode,\n      isJSDocLinkLike: () => isJSDocLinkLike,\n      isJSDocLinkPlain: () => isJSDocLinkPlain,\n      isJSDocMemberName: () => isJSDocMemberName,\n      isJSDocNameReference: () => isJSDocNameReference,\n      isJSDocNamepathType: () => isJSDocNamepathType,\n      isJSDocNamespaceBody: () => isJSDocNamespaceBody,\n      isJSDocNode: () => isJSDocNode,\n      isJSDocNonNullableType: () => isJSDocNonNullableType,\n      isJSDocNullableType: () => isJSDocNullableType,\n      isJSDocOptionalParameter: () => isJSDocOptionalParameter,\n      isJSDocOptionalType: () => isJSDocOptionalType,\n      isJSDocOverloadTag: () => isJSDocOverloadTag,\n      isJSDocOverrideTag: () => isJSDocOverrideTag,\n      isJSDocParameterTag: () => isJSDocParameterTag,\n      isJSDocPrivateTag: () => isJSDocPrivateTag,\n      isJSDocPropertyLikeTag: () => isJSDocPropertyLikeTag,\n      isJSDocPropertyTag: () => isJSDocPropertyTag,\n      isJSDocProtectedTag: () => isJSDocProtectedTag,\n      isJSDocPublicTag: () => isJSDocPublicTag,\n      isJSDocReadonlyTag: () => isJSDocReadonlyTag,\n      isJSDocReturnTag: () => isJSDocReturnTag,\n      isJSDocSatisfiesExpression: () => isJSDocSatisfiesExpression,\n      isJSDocSatisfiesTag: () => isJSDocSatisfiesTag,\n      isJSDocSeeTag: () => isJSDocSeeTag,\n      isJSDocSignature: () => isJSDocSignature,\n      isJSDocTag: () => isJSDocTag,\n      isJSDocTemplateTag: () => isJSDocTemplateTag,\n      isJSDocThisTag: () => isJSDocThisTag,\n      isJSDocThrowsTag: () => isJSDocThrowsTag,\n      isJSDocTypeAlias: () => isJSDocTypeAlias,\n      isJSDocTypeAssertion: () => isJSDocTypeAssertion,\n      isJSDocTypeExpression: () => isJSDocTypeExpression,\n      isJSDocTypeLiteral: () => isJSDocTypeLiteral,\n      isJSDocTypeTag: () => isJSDocTypeTag,\n      isJSDocTypedefTag: () => isJSDocTypedefTag,\n      isJSDocUnknownTag: () => isJSDocUnknownTag,\n      isJSDocUnknownType: () => isJSDocUnknownType,\n      isJSDocVariadicType: () => isJSDocVariadicType,\n      isJSXTagName: () => isJSXTagName,\n      isJsonEqual: () => isJsonEqual,\n      isJsonSourceFile: () => isJsonSourceFile,\n      isJsxAttribute: () => isJsxAttribute,\n      isJsxAttributeLike: () => isJsxAttributeLike,\n      isJsxAttributes: () => isJsxAttributes,\n      isJsxChild: () => isJsxChild,\n      isJsxClosingElement: () => isJsxClosingElement,\n      isJsxClosingFragment: () => isJsxClosingFragment,\n      isJsxElement: () => isJsxElement,\n      isJsxExpression: () => isJsxExpression,\n      isJsxFragment: () => isJsxFragment,\n      isJsxOpeningElement: () => isJsxOpeningElement,\n      isJsxOpeningFragment: () => isJsxOpeningFragment,\n      isJsxOpeningLikeElement: () => isJsxOpeningLikeElement,\n      isJsxOpeningLikeElementTagName: () => isJsxOpeningLikeElementTagName,\n      isJsxSelfClosingElement: () => isJsxSelfClosingElement,\n      isJsxSpreadAttribute: () => isJsxSpreadAttribute,\n      isJsxTagNameExpression: () => isJsxTagNameExpression,\n      isJsxText: () => isJsxText,\n      isJumpStatementTarget: () => isJumpStatementTarget,\n      isKeyword: () => isKeyword,\n      isKnownSymbol: () => isKnownSymbol,\n      isLabelName: () => isLabelName,\n      isLabelOfLabeledStatement: () => isLabelOfLabeledStatement,\n      isLabeledStatement: () => isLabeledStatement,\n      isLateVisibilityPaintedStatement: () => isLateVisibilityPaintedStatement,\n      isLeftHandSideExpression: () => isLeftHandSideExpression,\n      isLeftHandSideOfAssignment: () => isLeftHandSideOfAssignment,\n      isLet: () => isLet,\n      isLineBreak: () => isLineBreak,\n      isLiteralComputedPropertyDeclarationName: () => isLiteralComputedPropertyDeclarationName,\n      isLiteralExpression: () => isLiteralExpression,\n      isLiteralExpressionOfObject: () => isLiteralExpressionOfObject,\n      isLiteralImportTypeNode: () => isLiteralImportTypeNode,\n      isLiteralKind: () => isLiteralKind,\n      isLiteralLikeAccess: () => isLiteralLikeAccess,\n      isLiteralLikeElementAccess: () => isLiteralLikeElementAccess,\n      isLiteralNameOfPropertyDeclarationOrIndexAccess: () => isLiteralNameOfPropertyDeclarationOrIndexAccess,\n      isLiteralTypeLikeExpression: () => isLiteralTypeLikeExpression,\n      isLiteralTypeLiteral: () => isLiteralTypeLiteral,\n      isLiteralTypeNode: () => isLiteralTypeNode,\n      isLocalName: () => isLocalName,\n      isLogicalOperator: () => isLogicalOperator,\n      isLogicalOrCoalescingAssignmentExpression: () => isLogicalOrCoalescingAssignmentExpression,\n      isLogicalOrCoalescingAssignmentOperator: () => isLogicalOrCoalescingAssignmentOperator,\n      isLogicalOrCoalescingBinaryExpression: () => isLogicalOrCoalescingBinaryExpression,\n      isLogicalOrCoalescingBinaryOperator: () => isLogicalOrCoalescingBinaryOperator,\n      isMappedTypeNode: () => isMappedTypeNode,\n      isMemberName: () => isMemberName,\n      isMergeDeclarationMarker: () => isMergeDeclarationMarker,\n      isMetaProperty: () => isMetaProperty,\n      isMethodDeclaration: () => isMethodDeclaration,\n      isMethodOrAccessor: () => isMethodOrAccessor,\n      isMethodSignature: () => isMethodSignature,\n      isMinusToken: () => isMinusToken,\n      isMissingDeclaration: () => isMissingDeclaration,\n      isModifier: () => isModifier,\n      isModifierKind: () => isModifierKind,\n      isModifierLike: () => isModifierLike,\n      isModuleAugmentationExternal: () => isModuleAugmentationExternal,\n      isModuleBlock: () => isModuleBlock,\n      isModuleBody: () => isModuleBody,\n      isModuleDeclaration: () => isModuleDeclaration,\n      isModuleExportsAccessExpression: () => isModuleExportsAccessExpression,\n      isModuleIdentifier: () => isModuleIdentifier,\n      isModuleName: () => isModuleName,\n      isModuleOrEnumDeclaration: () => isModuleOrEnumDeclaration,\n      isModuleReference: () => isModuleReference,\n      isModuleSpecifierLike: () => isModuleSpecifierLike,\n      isModuleWithStringLiteralName: () => isModuleWithStringLiteralName,\n      isNameOfFunctionDeclaration: () => isNameOfFunctionDeclaration,\n      isNameOfModuleDeclaration: () => isNameOfModuleDeclaration,\n      isNamedClassElement: () => isNamedClassElement,\n      isNamedDeclaration: () => isNamedDeclaration,\n      isNamedEvaluation: () => isNamedEvaluation,\n      isNamedEvaluationSource: () => isNamedEvaluationSource,\n      isNamedExportBindings: () => isNamedExportBindings,\n      isNamedExports: () => isNamedExports,\n      isNamedImportBindings: () => isNamedImportBindings,\n      isNamedImports: () => isNamedImports,\n      isNamedImportsOrExports: () => isNamedImportsOrExports,\n      isNamedTupleMember: () => isNamedTupleMember,\n      isNamespaceBody: () => isNamespaceBody,\n      isNamespaceExport: () => isNamespaceExport,\n      isNamespaceExportDeclaration: () => isNamespaceExportDeclaration,\n      isNamespaceImport: () => isNamespaceImport,\n      isNamespaceReexportDeclaration: () => isNamespaceReexportDeclaration,\n      isNewExpression: () => isNewExpression,\n      isNewExpressionTarget: () => isNewExpressionTarget,\n      isNightly: () => isNightly,\n      isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral,\n      isNode: () => isNode,\n      isNodeArray: () => isNodeArray,\n      isNodeArrayMultiLine: () => isNodeArrayMultiLine,\n      isNodeDescendantOf: () => isNodeDescendantOf,\n      isNodeKind: () => isNodeKind,\n      isNodeLikeSystem: () => isNodeLikeSystem,\n      isNodeModulesDirectory: () => isNodeModulesDirectory,\n      isNodeWithPossibleHoistedDeclaration: () => isNodeWithPossibleHoistedDeclaration,\n      isNonContextualKeyword: () => isNonContextualKeyword,\n      isNonExportDefaultModifier: () => isNonExportDefaultModifier,\n      isNonGlobalAmbientModule: () => isNonGlobalAmbientModule,\n      isNonGlobalDeclaration: () => isNonGlobalDeclaration,\n      isNonNullAccess: () => isNonNullAccess,\n      isNonNullChain: () => isNonNullChain,\n      isNonNullExpression: () => isNonNullExpression,\n      isNonStaticMethodOrAccessorWithPrivateName: () => isNonStaticMethodOrAccessorWithPrivateName,\n      isNotEmittedOrPartiallyEmittedNode: () => isNotEmittedOrPartiallyEmittedNode,\n      isNotEmittedStatement: () => isNotEmittedStatement,\n      isNullishCoalesce: () => isNullishCoalesce,\n      isNumber: () => isNumber,\n      isNumericLiteral: () => isNumericLiteral,\n      isNumericLiteralName: () => isNumericLiteralName,\n      isObjectBindingElementWithoutPropertyName: () => isObjectBindingElementWithoutPropertyName,\n      isObjectBindingOrAssignmentElement: () => isObjectBindingOrAssignmentElement,\n      isObjectBindingOrAssignmentPattern: () => isObjectBindingOrAssignmentPattern,\n      isObjectBindingPattern: () => isObjectBindingPattern,\n      isObjectLiteralElement: () => isObjectLiteralElement,\n      isObjectLiteralElementLike: () => isObjectLiteralElementLike,\n      isObjectLiteralExpression: () => isObjectLiteralExpression,\n      isObjectLiteralMethod: () => isObjectLiteralMethod,\n      isObjectLiteralOrClassExpressionMethodOrAccessor: () => isObjectLiteralOrClassExpressionMethodOrAccessor,\n      isObjectTypeDeclaration: () => isObjectTypeDeclaration,\n      isOctalDigit: () => isOctalDigit,\n      isOmittedExpression: () => isOmittedExpression,\n      isOptionalChain: () => isOptionalChain,\n      isOptionalChainRoot: () => isOptionalChainRoot,\n      isOptionalDeclaration: () => isOptionalDeclaration,\n      isOptionalJSDocPropertyLikeTag: () => isOptionalJSDocPropertyLikeTag,\n      isOptionalTypeNode: () => isOptionalTypeNode,\n      isOuterExpression: () => isOuterExpression,\n      isOutermostOptionalChain: () => isOutermostOptionalChain,\n      isOverrideModifier: () => isOverrideModifier,\n      isPackedArrayLiteral: () => isPackedArrayLiteral,\n      isParameter: () => isParameter,\n      isParameterDeclaration: () => isParameterDeclaration,\n      isParameterOrCatchClauseVariable: () => isParameterOrCatchClauseVariable,\n      isParameterPropertyDeclaration: () => isParameterPropertyDeclaration,\n      isParameterPropertyModifier: () => isParameterPropertyModifier,\n      isParenthesizedExpression: () => isParenthesizedExpression,\n      isParenthesizedTypeNode: () => isParenthesizedTypeNode,\n      isParseTreeNode: () => isParseTreeNode,\n      isPartOfTypeNode: () => isPartOfTypeNode,\n      isPartOfTypeQuery: () => isPartOfTypeQuery,\n      isPartiallyEmittedExpression: () => isPartiallyEmittedExpression,\n      isPatternMatch: () => isPatternMatch,\n      isPinnedComment: () => isPinnedComment,\n      isPlainJsFile: () => isPlainJsFile,\n      isPlusToken: () => isPlusToken,\n      isPossiblyTypeArgumentPosition: () => isPossiblyTypeArgumentPosition,\n      isPostfixUnaryExpression: () => isPostfixUnaryExpression,\n      isPrefixUnaryExpression: () => isPrefixUnaryExpression,\n      isPrivateIdentifier: () => isPrivateIdentifier,\n      isPrivateIdentifierClassElementDeclaration: () => isPrivateIdentifierClassElementDeclaration,\n      isPrivateIdentifierPropertyAccessExpression: () => isPrivateIdentifierPropertyAccessExpression,\n      isPrivateIdentifierSymbol: () => isPrivateIdentifierSymbol,\n      isProgramBundleEmitBuildInfo: () => isProgramBundleEmitBuildInfo,\n      isProgramUptoDate: () => isProgramUptoDate,\n      isPrologueDirective: () => isPrologueDirective,\n      isPropertyAccessChain: () => isPropertyAccessChain,\n      isPropertyAccessEntityNameExpression: () => isPropertyAccessEntityNameExpression,\n      isPropertyAccessExpression: () => isPropertyAccessExpression,\n      isPropertyAccessOrQualifiedName: () => isPropertyAccessOrQualifiedName,\n      isPropertyAccessOrQualifiedNameOrImportTypeNode: () => isPropertyAccessOrQualifiedNameOrImportTypeNode,\n      isPropertyAssignment: () => isPropertyAssignment,\n      isPropertyDeclaration: () => isPropertyDeclaration,\n      isPropertyName: () => isPropertyName,\n      isPropertyNameLiteral: () => isPropertyNameLiteral,\n      isPropertySignature: () => isPropertySignature,\n      isProtoSetter: () => isProtoSetter,\n      isPrototypeAccess: () => isPrototypeAccess,\n      isPrototypePropertyAssignment: () => isPrototypePropertyAssignment,\n      isPunctuation: () => isPunctuation,\n      isPushOrUnshiftIdentifier: () => isPushOrUnshiftIdentifier,\n      isQualifiedName: () => isQualifiedName,\n      isQuestionDotToken: () => isQuestionDotToken,\n      isQuestionOrExclamationToken: () => isQuestionOrExclamationToken,\n      isQuestionOrPlusOrMinusToken: () => isQuestionOrPlusOrMinusToken,\n      isQuestionToken: () => isQuestionToken,\n      isRawSourceMap: () => isRawSourceMap,\n      isReadonlyKeyword: () => isReadonlyKeyword,\n      isReadonlyKeywordOrPlusOrMinusToken: () => isReadonlyKeywordOrPlusOrMinusToken,\n      isRecognizedTripleSlashComment: () => isRecognizedTripleSlashComment,\n      isReferenceFileLocation: () => isReferenceFileLocation,\n      isReferencedFile: () => isReferencedFile,\n      isRegularExpressionLiteral: () => isRegularExpressionLiteral,\n      isRequireCall: () => isRequireCall,\n      isRequireVariableStatement: () => isRequireVariableStatement,\n      isRestParameter: () => isRestParameter,\n      isRestTypeNode: () => isRestTypeNode,\n      isReturnStatement: () => isReturnStatement,\n      isReturnStatementWithFixablePromiseHandler: () => isReturnStatementWithFixablePromiseHandler,\n      isRightSideOfAccessExpression: () => isRightSideOfAccessExpression,\n      isRightSideOfPropertyAccess: () => isRightSideOfPropertyAccess,\n      isRightSideOfQualifiedName: () => isRightSideOfQualifiedName,\n      isRightSideOfQualifiedNameOrPropertyAccess: () => isRightSideOfQualifiedNameOrPropertyAccess,\n      isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName: () => isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName,\n      isRootedDiskPath: () => isRootedDiskPath,\n      isSameEntityName: () => isSameEntityName,\n      isSatisfiesExpression: () => isSatisfiesExpression,\n      isScopeMarker: () => isScopeMarker,\n      isSemicolonClassElement: () => isSemicolonClassElement,\n      isSetAccessor: () => isSetAccessor,\n      isSetAccessorDeclaration: () => isSetAccessorDeclaration,\n      isShebangTrivia: () => isShebangTrivia,\n      isShorthandAmbientModuleSymbol: () => isShorthandAmbientModuleSymbol,\n      isShorthandPropertyAssignment: () => isShorthandPropertyAssignment,\n      isSignedNumericLiteral: () => isSignedNumericLiteral,\n      isSimpleCopiableExpression: () => isSimpleCopiableExpression,\n      isSimpleInlineableExpression: () => isSimpleInlineableExpression,\n      isSingleOrDoubleQuote: () => isSingleOrDoubleQuote,\n      isSourceFile: () => isSourceFile,\n      isSourceFileFromLibrary: () => isSourceFileFromLibrary,\n      isSourceFileJS: () => isSourceFileJS,\n      isSourceFileNotJS: () => isSourceFileNotJS,\n      isSourceFileNotJson: () => isSourceFileNotJson,\n      isSourceMapping: () => isSourceMapping,\n      isSpecialPropertyDeclaration: () => isSpecialPropertyDeclaration,\n      isSpreadAssignment: () => isSpreadAssignment,\n      isSpreadElement: () => isSpreadElement,\n      isStatement: () => isStatement,\n      isStatementButNotDeclaration: () => isStatementButNotDeclaration,\n      isStatementOrBlock: () => isStatementOrBlock,\n      isStatementWithLocals: () => isStatementWithLocals,\n      isStatic: () => isStatic,\n      isStaticModifier: () => isStaticModifier,\n      isString: () => isString2,\n      isStringAKeyword: () => isStringAKeyword,\n      isStringANonContextualKeyword: () => isStringANonContextualKeyword,\n      isStringAndEmptyAnonymousObjectIntersection: () => isStringAndEmptyAnonymousObjectIntersection,\n      isStringDoubleQuoted: () => isStringDoubleQuoted,\n      isStringLiteral: () => isStringLiteral,\n      isStringLiteralLike: () => isStringLiteralLike,\n      isStringLiteralOrJsxExpression: () => isStringLiteralOrJsxExpression,\n      isStringLiteralOrTemplate: () => isStringLiteralOrTemplate,\n      isStringOrNumericLiteralLike: () => isStringOrNumericLiteralLike,\n      isStringOrRegularExpressionOrTemplateLiteral: () => isStringOrRegularExpressionOrTemplateLiteral,\n      isStringTextContainingNode: () => isStringTextContainingNode,\n      isSuperCall: () => isSuperCall,\n      isSuperKeyword: () => isSuperKeyword,\n      isSuperOrSuperProperty: () => isSuperOrSuperProperty,\n      isSuperProperty: () => isSuperProperty,\n      isSupportedSourceFileName: () => isSupportedSourceFileName,\n      isSwitchStatement: () => isSwitchStatement,\n      isSyntaxList: () => isSyntaxList,\n      isSyntheticExpression: () => isSyntheticExpression,\n      isSyntheticReference: () => isSyntheticReference,\n      isTagName: () => isTagName,\n      isTaggedTemplateExpression: () => isTaggedTemplateExpression,\n      isTaggedTemplateTag: () => isTaggedTemplateTag,\n      isTemplateExpression: () => isTemplateExpression,\n      isTemplateHead: () => isTemplateHead,\n      isTemplateLiteral: () => isTemplateLiteral,\n      isTemplateLiteralKind: () => isTemplateLiteralKind,\n      isTemplateLiteralToken: () => isTemplateLiteralToken,\n      isTemplateLiteralTypeNode: () => isTemplateLiteralTypeNode,\n      isTemplateLiteralTypeSpan: () => isTemplateLiteralTypeSpan,\n      isTemplateMiddle: () => isTemplateMiddle,\n      isTemplateMiddleOrTemplateTail: () => isTemplateMiddleOrTemplateTail,\n      isTemplateSpan: () => isTemplateSpan,\n      isTemplateTail: () => isTemplateTail,\n      isTextWhiteSpaceLike: () => isTextWhiteSpaceLike,\n      isThis: () => isThis,\n      isThisContainerOrFunctionBlock: () => isThisContainerOrFunctionBlock,\n      isThisIdentifier: () => isThisIdentifier,\n      isThisInTypeQuery: () => isThisInTypeQuery,\n      isThisInitializedDeclaration: () => isThisInitializedDeclaration,\n      isThisInitializedObjectBindingExpression: () => isThisInitializedObjectBindingExpression,\n      isThisProperty: () => isThisProperty,\n      isThisTypeNode: () => isThisTypeNode,\n      isThisTypeParameter: () => isThisTypeParameter,\n      isThisTypePredicate: () => isThisTypePredicate,\n      isThrowStatement: () => isThrowStatement,\n      isToken: () => isToken,\n      isTokenKind: () => isTokenKind,\n      isTraceEnabled: () => isTraceEnabled,\n      isTransientSymbol: () => isTransientSymbol,\n      isTrivia: () => isTrivia,\n      isTryStatement: () => isTryStatement,\n      isTupleTypeNode: () => isTupleTypeNode,\n      isTypeAlias: () => isTypeAlias,\n      isTypeAliasDeclaration: () => isTypeAliasDeclaration,\n      isTypeAssertionExpression: () => isTypeAssertionExpression,\n      isTypeDeclaration: () => isTypeDeclaration,\n      isTypeElement: () => isTypeElement,\n      isTypeKeyword: () => isTypeKeyword,\n      isTypeKeywordToken: () => isTypeKeywordToken,\n      isTypeKeywordTokenOrIdentifier: () => isTypeKeywordTokenOrIdentifier,\n      isTypeLiteralNode: () => isTypeLiteralNode,\n      isTypeNode: () => isTypeNode,\n      isTypeNodeKind: () => isTypeNodeKind,\n      isTypeOfExpression: () => isTypeOfExpression,\n      isTypeOnlyExportDeclaration: () => isTypeOnlyExportDeclaration,\n      isTypeOnlyImportDeclaration: () => isTypeOnlyImportDeclaration,\n      isTypeOnlyImportOrExportDeclaration: () => isTypeOnlyImportOrExportDeclaration,\n      isTypeOperatorNode: () => isTypeOperatorNode,\n      isTypeParameterDeclaration: () => isTypeParameterDeclaration,\n      isTypePredicateNode: () => isTypePredicateNode,\n      isTypeQueryNode: () => isTypeQueryNode,\n      isTypeReferenceNode: () => isTypeReferenceNode,\n      isTypeReferenceType: () => isTypeReferenceType,\n      isUMDExportSymbol: () => isUMDExportSymbol,\n      isUnaryExpression: () => isUnaryExpression,\n      isUnaryExpressionWithWrite: () => isUnaryExpressionWithWrite,\n      isUnicodeIdentifierStart: () => isUnicodeIdentifierStart,\n      isUnionTypeNode: () => isUnionTypeNode,\n      isUnparsedNode: () => isUnparsedNode,\n      isUnparsedPrepend: () => isUnparsedPrepend,\n      isUnparsedSource: () => isUnparsedSource,\n      isUnparsedTextLike: () => isUnparsedTextLike,\n      isUrl: () => isUrl,\n      isValidBigIntString: () => isValidBigIntString,\n      isValidESSymbolDeclaration: () => isValidESSymbolDeclaration,\n      isValidTypeOnlyAliasUseSite: () => isValidTypeOnlyAliasUseSite,\n      isValueSignatureDeclaration: () => isValueSignatureDeclaration,\n      isVarConst: () => isVarConst,\n      isVariableDeclaration: () => isVariableDeclaration,\n      isVariableDeclarationInVariableStatement: () => isVariableDeclarationInVariableStatement,\n      isVariableDeclarationInitializedToBareOrAccessedRequire: () => isVariableDeclarationInitializedToBareOrAccessedRequire,\n      isVariableDeclarationInitializedToRequire: () => isVariableDeclarationInitializedToRequire,\n      isVariableDeclarationList: () => isVariableDeclarationList,\n      isVariableLike: () => isVariableLike,\n      isVariableLikeOrAccessor: () => isVariableLikeOrAccessor,\n      isVariableStatement: () => isVariableStatement,\n      isVoidExpression: () => isVoidExpression,\n      isWatchSet: () => isWatchSet,\n      isWhileStatement: () => isWhileStatement,\n      isWhiteSpaceLike: () => isWhiteSpaceLike,\n      isWhiteSpaceSingleLine: () => isWhiteSpaceSingleLine,\n      isWithStatement: () => isWithStatement,\n      isWriteAccess: () => isWriteAccess,\n      isWriteOnlyAccess: () => isWriteOnlyAccess,\n      isYieldExpression: () => isYieldExpression,\n      jsxModeNeedsExplicitImport: () => jsxModeNeedsExplicitImport,\n      keywordPart: () => keywordPart,\n      last: () => last,\n      lastOrUndefined: () => lastOrUndefined,\n      length: () => length,\n      libMap: () => libMap,\n      libs: () => libs,\n      lineBreakPart: () => lineBreakPart,\n      linkNamePart: () => linkNamePart,\n      linkPart: () => linkPart,\n      linkTextPart: () => linkTextPart,\n      listFiles: () => listFiles,\n      loadModuleFromGlobalCache: () => loadModuleFromGlobalCache,\n      loadWithModeAwareCache: () => loadWithModeAwareCache,\n      makeIdentifierFromModuleName: () => makeIdentifierFromModuleName,\n      makeImport: () => makeImport,\n      makeImportIfNecessary: () => makeImportIfNecessary,\n      makeStringLiteral: () => makeStringLiteral,\n      mangleScopedPackageName: () => mangleScopedPackageName,\n      map: () => map,\n      mapAllOrFail: () => mapAllOrFail,\n      mapDefined: () => mapDefined,\n      mapDefinedEntries: () => mapDefinedEntries,\n      mapDefinedIterator: () => mapDefinedIterator,\n      mapEntries: () => mapEntries,\n      mapIterator: () => mapIterator,\n      mapOneOrMany: () => mapOneOrMany,\n      mapToDisplayParts: () => mapToDisplayParts,\n      matchFiles: () => matchFiles,\n      matchPatternOrExact: () => matchPatternOrExact,\n      matchedText: () => matchedText,\n      matchesExclude: () => matchesExclude,\n      maybeBind: () => maybeBind,\n      maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages,\n      memoize: () => memoize,\n      memoizeCached: () => memoizeCached,\n      memoizeOne: () => memoizeOne,\n      memoizeWeak: () => memoizeWeak,\n      metadataHelper: () => metadataHelper,\n      min: () => min,\n      minAndMax: () => minAndMax,\n      missingFileModifiedTime: () => missingFileModifiedTime,\n      modifierToFlag: () => modifierToFlag,\n      modifiersToFlags: () => modifiersToFlags,\n      moduleOptionDeclaration: () => moduleOptionDeclaration,\n      moduleResolutionIsEqualTo: () => moduleResolutionIsEqualTo,\n      moduleResolutionNameAndModeGetter: () => moduleResolutionNameAndModeGetter,\n      moduleResolutionOptionDeclarations: () => moduleResolutionOptionDeclarations,\n      moduleResolutionSupportsPackageJsonExportsAndImports: () => moduleResolutionSupportsPackageJsonExportsAndImports,\n      moduleResolutionUsesNodeModules: () => moduleResolutionUsesNodeModules,\n      moduleSpecifiers: () => ts_moduleSpecifiers_exports,\n      moveEmitHelpers: () => moveEmitHelpers,\n      moveRangeEnd: () => moveRangeEnd,\n      moveRangePastDecorators: () => moveRangePastDecorators,\n      moveRangePastModifiers: () => moveRangePastModifiers,\n      moveRangePos: () => moveRangePos,\n      moveSyntheticComments: () => moveSyntheticComments,\n      mutateMap: () => mutateMap,\n      mutateMapSkippingNewValues: () => mutateMapSkippingNewValues,\n      needsParentheses: () => needsParentheses,\n      needsScopeMarker: () => needsScopeMarker,\n      newCaseClauseTracker: () => newCaseClauseTracker,\n      newPrivateEnvironment: () => newPrivateEnvironment,\n      noEmitNotification: () => noEmitNotification,\n      noEmitSubstitution: () => noEmitSubstitution,\n      noTransformers: () => noTransformers,\n      noTruncationMaximumTruncationLength: () => noTruncationMaximumTruncationLength,\n      nodeCanBeDecorated: () => nodeCanBeDecorated,\n      nodeHasName: () => nodeHasName,\n      nodeIsDecorated: () => nodeIsDecorated,\n      nodeIsMissing: () => nodeIsMissing,\n      nodeIsPresent: () => nodeIsPresent,\n      nodeIsSynthesized: () => nodeIsSynthesized,\n      nodeModuleNameResolver: () => nodeModuleNameResolver,\n      nodeModulesPathPart: () => nodeModulesPathPart,\n      nodeNextJsonConfigResolver: () => nodeNextJsonConfigResolver,\n      nodeOrChildIsDecorated: () => nodeOrChildIsDecorated,\n      nodeOverlapsWithStartEnd: () => nodeOverlapsWithStartEnd,\n      nodePosToString: () => nodePosToString,\n      nodeSeenTracker: () => nodeSeenTracker,\n      nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,\n      nodeToDisplayParts: () => nodeToDisplayParts,\n      noop: () => noop,\n      noopFileWatcher: () => noopFileWatcher,\n      noopPush: () => noopPush,\n      normalizePath: () => normalizePath,\n      normalizeSlashes: () => normalizeSlashes,\n      not: () => not,\n      notImplemented: () => notImplemented,\n      notImplementedResolver: () => notImplementedResolver,\n      nullNodeConverters: () => nullNodeConverters,\n      nullParenthesizerRules: () => nullParenthesizerRules,\n      nullTransformationContext: () => nullTransformationContext,\n      objectAllocator: () => objectAllocator,\n      operatorPart: () => operatorPart,\n      optionDeclarations: () => optionDeclarations,\n      optionMapToObject: () => optionMapToObject,\n      optionsAffectingProgramStructure: () => optionsAffectingProgramStructure,\n      optionsForBuild: () => optionsForBuild,\n      optionsForWatch: () => optionsForWatch,\n      optionsHaveChanges: () => optionsHaveChanges,\n      optionsHaveModuleResolutionChanges: () => optionsHaveModuleResolutionChanges,\n      or: () => or,\n      orderedRemoveItem: () => orderedRemoveItem,\n      orderedRemoveItemAt: () => orderedRemoveItemAt,\n      outFile: () => outFile,\n      packageIdToPackageName: () => packageIdToPackageName,\n      packageIdToString: () => packageIdToString,\n      padLeft: () => padLeft,\n      padRight: () => padRight,\n      paramHelper: () => paramHelper,\n      parameterIsThisKeyword: () => parameterIsThisKeyword,\n      parameterNamePart: () => parameterNamePart,\n      parseBaseNodeFactory: () => parseBaseNodeFactory,\n      parseBigInt: () => parseBigInt,\n      parseBuildCommand: () => parseBuildCommand,\n      parseCommandLine: () => parseCommandLine,\n      parseCommandLineWorker: () => parseCommandLineWorker,\n      parseConfigFileTextToJson: () => parseConfigFileTextToJson,\n      parseConfigFileWithSystem: () => parseConfigFileWithSystem,\n      parseConfigHostFromCompilerHostLike: () => parseConfigHostFromCompilerHostLike,\n      parseCustomTypeOption: () => parseCustomTypeOption,\n      parseIsolatedEntityName: () => parseIsolatedEntityName,\n      parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,\n      parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,\n      parseJsonConfigFileContent: () => parseJsonConfigFileContent,\n      parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent,\n      parseJsonText: () => parseJsonText,\n      parseListTypeOption: () => parseListTypeOption,\n      parseNodeFactory: () => parseNodeFactory,\n      parseNodeModuleFromPath: () => parseNodeModuleFromPath,\n      parsePackageName: () => parsePackageName,\n      parsePseudoBigInt: () => parsePseudoBigInt,\n      parseValidBigInt: () => parseValidBigInt,\n      patchWriteFileEnsuringDirectory: () => patchWriteFileEnsuringDirectory,\n      pathContainsNodeModules: () => pathContainsNodeModules,\n      pathIsAbsolute: () => pathIsAbsolute,\n      pathIsBareSpecifier: () => pathIsBareSpecifier,\n      pathIsRelative: () => pathIsRelative,\n      patternText: () => patternText,\n      perfLogger: () => perfLogger,\n      performIncrementalCompilation: () => performIncrementalCompilation,\n      performance: () => ts_performance_exports,\n      plainJSErrors: () => plainJSErrors,\n      positionBelongsToNode: () => positionBelongsToNode,\n      positionIsASICandidate: () => positionIsASICandidate,\n      positionIsSynthesized: () => positionIsSynthesized,\n      positionsAreOnSameLine: () => positionsAreOnSameLine,\n      preProcessFile: () => preProcessFile,\n      probablyUsesSemicolons: () => probablyUsesSemicolons,\n      processCommentPragmas: () => processCommentPragmas,\n      processPragmasIntoFields: () => processPragmasIntoFields,\n      processTaggedTemplateExpression: () => processTaggedTemplateExpression,\n      programContainsEsModules: () => programContainsEsModules,\n      programContainsModules: () => programContainsModules,\n      projectReferenceIsEqualTo: () => projectReferenceIsEqualTo,\n      propKeyHelper: () => propKeyHelper,\n      propertyNamePart: () => propertyNamePart,\n      pseudoBigIntToString: () => pseudoBigIntToString,\n      punctuationPart: () => punctuationPart,\n      pushIfUnique: () => pushIfUnique,\n      quote: () => quote,\n      quotePreferenceFromString: () => quotePreferenceFromString,\n      rangeContainsPosition: () => rangeContainsPosition,\n      rangeContainsPositionExclusive: () => rangeContainsPositionExclusive,\n      rangeContainsRange: () => rangeContainsRange,\n      rangeContainsRangeExclusive: () => rangeContainsRangeExclusive,\n      rangeContainsStartEnd: () => rangeContainsStartEnd,\n      rangeEndIsOnSameLineAsRangeStart: () => rangeEndIsOnSameLineAsRangeStart,\n      rangeEndPositionsAreOnSameLine: () => rangeEndPositionsAreOnSameLine,\n      rangeEquals: () => rangeEquals,\n      rangeIsOnSingleLine: () => rangeIsOnSingleLine,\n      rangeOfNode: () => rangeOfNode,\n      rangeOfTypeParameters: () => rangeOfTypeParameters,\n      rangeOverlapsWithStartEnd: () => rangeOverlapsWithStartEnd,\n      rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,\n      rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,\n      readBuilderProgram: () => readBuilderProgram,\n      readConfigFile: () => readConfigFile,\n      readHelper: () => readHelper,\n      readJson: () => readJson,\n      readJsonConfigFile: () => readJsonConfigFile,\n      readJsonOrUndefined: () => readJsonOrUndefined,\n      realizeDiagnostics: () => realizeDiagnostics,\n      reduceEachLeadingCommentRange: () => reduceEachLeadingCommentRange,\n      reduceEachTrailingCommentRange: () => reduceEachTrailingCommentRange,\n      reduceLeft: () => reduceLeft,\n      reduceLeftIterator: () => reduceLeftIterator,\n      reducePathComponents: () => reducePathComponents,\n      refactor: () => ts_refactor_exports,\n      regExpEscape: () => regExpEscape,\n      relativeComplement: () => relativeComplement,\n      removeAllComments: () => removeAllComments,\n      removeEmitHelper: () => removeEmitHelper,\n      removeExtension: () => removeExtension,\n      removeFileExtension: () => removeFileExtension,\n      removeIgnoredPath: () => removeIgnoredPath,\n      removeMinAndVersionNumbers: () => removeMinAndVersionNumbers,\n      removeOptionality: () => removeOptionality,\n      removePrefix: () => removePrefix,\n      removeSuffix: () => removeSuffix,\n      removeTrailingDirectorySeparator: () => removeTrailingDirectorySeparator,\n      repeatString: () => repeatString,\n      replaceElement: () => replaceElement,\n      resolutionExtensionIsTSOrJson: () => resolutionExtensionIsTSOrJson,\n      resolveConfigFileProjectName: () => resolveConfigFileProjectName,\n      resolveJSModule: () => resolveJSModule,\n      resolveModuleName: () => resolveModuleName,\n      resolveModuleNameFromCache: () => resolveModuleNameFromCache,\n      resolvePackageNameToPackageJson: () => resolvePackageNameToPackageJson,\n      resolvePath: () => resolvePath,\n      resolveProjectReferencePath: () => resolveProjectReferencePath,\n      resolveTripleslashReference: () => resolveTripleslashReference,\n      resolveTypeReferenceDirective: () => resolveTypeReferenceDirective,\n      resolvingEmptyArray: () => resolvingEmptyArray,\n      restHelper: () => restHelper,\n      returnFalse: () => returnFalse,\n      returnNoopFileWatcher: () => returnNoopFileWatcher,\n      returnTrue: () => returnTrue,\n      returnUndefined: () => returnUndefined,\n      returnsPromise: () => returnsPromise,\n      runInitializersHelper: () => runInitializersHelper,\n      sameFlatMap: () => sameFlatMap,\n      sameMap: () => sameMap,\n      sameMapping: () => sameMapping,\n      scanShebangTrivia: () => scanShebangTrivia,\n      scanTokenAtPosition: () => scanTokenAtPosition,\n      scanner: () => scanner,\n      screenStartingMessageCodes: () => screenStartingMessageCodes,\n      semanticDiagnosticsOptionDeclarations: () => semanticDiagnosticsOptionDeclarations,\n      serializeCompilerOptions: () => serializeCompilerOptions,\n      server: () => ts_server_exports,\n      servicesVersion: () => servicesVersion,\n      setCommentRange: () => setCommentRange,\n      setConfigFileInOptions: () => setConfigFileInOptions,\n      setConstantValue: () => setConstantValue,\n      setEachParent: () => setEachParent,\n      setEmitFlags: () => setEmitFlags,\n      setFunctionNameHelper: () => setFunctionNameHelper,\n      setGetSourceFileAsHashVersioned: () => setGetSourceFileAsHashVersioned,\n      setIdentifierAutoGenerate: () => setIdentifierAutoGenerate,\n      setIdentifierGeneratedImportReference: () => setIdentifierGeneratedImportReference,\n      setIdentifierTypeArguments: () => setIdentifierTypeArguments,\n      setInternalEmitFlags: () => setInternalEmitFlags,\n      setLocalizedDiagnosticMessages: () => setLocalizedDiagnosticMessages,\n      setModuleDefaultHelper: () => setModuleDefaultHelper,\n      setNodeFlags: () => setNodeFlags,\n      setObjectAllocator: () => setObjectAllocator,\n      setOriginalNode: () => setOriginalNode,\n      setParent: () => setParent,\n      setParentRecursive: () => setParentRecursive,\n      setPrivateIdentifier: () => setPrivateIdentifier,\n      setResolvedModule: () => setResolvedModule,\n      setResolvedTypeReferenceDirective: () => setResolvedTypeReferenceDirective,\n      setSnippetElement: () => setSnippetElement,\n      setSourceMapRange: () => setSourceMapRange,\n      setStackTraceLimit: () => setStackTraceLimit,\n      setStartsOnNewLine: () => setStartsOnNewLine,\n      setSyntheticLeadingComments: () => setSyntheticLeadingComments,\n      setSyntheticTrailingComments: () => setSyntheticTrailingComments,\n      setSys: () => setSys,\n      setSysLog: () => setSysLog,\n      setTextRange: () => setTextRange,\n      setTextRangeEnd: () => setTextRangeEnd,\n      setTextRangePos: () => setTextRangePos,\n      setTextRangePosEnd: () => setTextRangePosEnd,\n      setTextRangePosWidth: () => setTextRangePosWidth,\n      setTokenSourceMapRange: () => setTokenSourceMapRange,\n      setTypeNode: () => setTypeNode,\n      setUILocale: () => setUILocale,\n      setValueDeclaration: () => setValueDeclaration,\n      shouldAllowImportingTsExtension: () => shouldAllowImportingTsExtension,\n      shouldPreserveConstEnums: () => shouldPreserveConstEnums,\n      shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules,\n      showModuleSpecifier: () => showModuleSpecifier,\n      signatureHasLiteralTypes: () => signatureHasLiteralTypes,\n      signatureHasRestParameter: () => signatureHasRestParameter,\n      signatureToDisplayParts: () => signatureToDisplayParts,\n      single: () => single,\n      singleElementArray: () => singleElementArray,\n      singleIterator: () => singleIterator,\n      singleOrMany: () => singleOrMany,\n      singleOrUndefined: () => singleOrUndefined,\n      skipAlias: () => skipAlias,\n      skipAssertions: () => skipAssertions,\n      skipConstraint: () => skipConstraint,\n      skipOuterExpressions: () => skipOuterExpressions,\n      skipParentheses: () => skipParentheses,\n      skipPartiallyEmittedExpressions: () => skipPartiallyEmittedExpressions,\n      skipTrivia: () => skipTrivia,\n      skipTypeChecking: () => skipTypeChecking,\n      skipTypeParentheses: () => skipTypeParentheses,\n      skipWhile: () => skipWhile,\n      sliceAfter: () => sliceAfter,\n      some: () => some,\n      sort: () => sort,\n      sortAndDeduplicate: () => sortAndDeduplicate,\n      sortAndDeduplicateDiagnostics: () => sortAndDeduplicateDiagnostics,\n      sourceFileAffectingCompilerOptions: () => sourceFileAffectingCompilerOptions,\n      sourceFileMayBeEmitted: () => sourceFileMayBeEmitted,\n      sourceMapCommentRegExp: () => sourceMapCommentRegExp,\n      sourceMapCommentRegExpDontCareLineStart: () => sourceMapCommentRegExpDontCareLineStart,\n      spacePart: () => spacePart,\n      spanMap: () => spanMap,\n      spreadArrayHelper: () => spreadArrayHelper,\n      stableSort: () => stableSort,\n      startEndContainsRange: () => startEndContainsRange,\n      startEndOverlapsWithStartEnd: () => startEndOverlapsWithStartEnd,\n      startOnNewLine: () => startOnNewLine,\n      startTracing: () => startTracing,\n      startsWith: () => startsWith,\n      startsWithDirectory: () => startsWithDirectory,\n      startsWithUnderscore: () => startsWithUnderscore,\n      startsWithUseStrict: () => startsWithUseStrict,\n      stringContains: () => stringContains,\n      stringContainsAt: () => stringContainsAt,\n      stringToToken: () => stringToToken,\n      stripQuotes: () => stripQuotes,\n      supportedDeclarationExtensions: () => supportedDeclarationExtensions,\n      supportedJSExtensions: () => supportedJSExtensions,\n      supportedJSExtensionsFlat: () => supportedJSExtensionsFlat,\n      supportedLocaleDirectories: () => supportedLocaleDirectories,\n      supportedTSExtensions: () => supportedTSExtensions,\n      supportedTSExtensionsFlat: () => supportedTSExtensionsFlat,\n      supportedTSImplementationExtensions: () => supportedTSImplementationExtensions,\n      suppressLeadingAndTrailingTrivia: () => suppressLeadingAndTrailingTrivia,\n      suppressLeadingTrivia: () => suppressLeadingTrivia,\n      suppressTrailingTrivia: () => suppressTrailingTrivia,\n      symbolEscapedNameNoDefault: () => symbolEscapedNameNoDefault,\n      symbolName: () => symbolName,\n      symbolNameNoDefault: () => symbolNameNoDefault,\n      symbolPart: () => symbolPart,\n      symbolToDisplayParts: () => symbolToDisplayParts,\n      syntaxMayBeASICandidate: () => syntaxMayBeASICandidate,\n      syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI,\n      sys: () => sys,\n      sysLog: () => sysLog,\n      tagNamesAreEquivalent: () => tagNamesAreEquivalent,\n      takeWhile: () => takeWhile,\n      targetOptionDeclaration: () => targetOptionDeclaration,\n      templateObjectHelper: () => templateObjectHelper,\n      testFormatSettings: () => testFormatSettings,\n      textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged,\n      textChangeRangeNewSpan: () => textChangeRangeNewSpan,\n      textChanges: () => ts_textChanges_exports,\n      textOrKeywordPart: () => textOrKeywordPart,\n      textPart: () => textPart,\n      textRangeContainsPositionInclusive: () => textRangeContainsPositionInclusive,\n      textSpanContainsPosition: () => textSpanContainsPosition,\n      textSpanContainsTextSpan: () => textSpanContainsTextSpan,\n      textSpanEnd: () => textSpanEnd,\n      textSpanIntersection: () => textSpanIntersection,\n      textSpanIntersectsWith: () => textSpanIntersectsWith,\n      textSpanIntersectsWithPosition: () => textSpanIntersectsWithPosition,\n      textSpanIntersectsWithTextSpan: () => textSpanIntersectsWithTextSpan,\n      textSpanIsEmpty: () => textSpanIsEmpty,\n      textSpanOverlap: () => textSpanOverlap,\n      textSpanOverlapsWith: () => textSpanOverlapsWith,\n      textSpansEqual: () => textSpansEqual,\n      textToKeywordObj: () => textToKeywordObj,\n      timestamp: () => timestamp,\n      toArray: () => toArray,\n      toBuilderFileEmit: () => toBuilderFileEmit,\n      toBuilderStateFileInfoForMultiEmit: () => toBuilderStateFileInfoForMultiEmit,\n      toEditorSettings: () => toEditorSettings,\n      toFileNameLowerCase: () => toFileNameLowerCase,\n      toLowerCase: () => toLowerCase,\n      toPath: () => toPath,\n      toProgramEmitPending: () => toProgramEmitPending,\n      tokenIsIdentifierOrKeyword: () => tokenIsIdentifierOrKeyword,\n      tokenIsIdentifierOrKeywordOrGreaterThan: () => tokenIsIdentifierOrKeywordOrGreaterThan,\n      tokenToString: () => tokenToString,\n      trace: () => trace,\n      tracing: () => tracing,\n      tracingEnabled: () => tracingEnabled,\n      transform: () => transform,\n      transformClassFields: () => transformClassFields,\n      transformDeclarations: () => transformDeclarations,\n      transformECMAScriptModule: () => transformECMAScriptModule,\n      transformES2015: () => transformES2015,\n      transformES2016: () => transformES2016,\n      transformES2017: () => transformES2017,\n      transformES2018: () => transformES2018,\n      transformES2019: () => transformES2019,\n      transformES2020: () => transformES2020,\n      transformES2021: () => transformES2021,\n      transformES5: () => transformES5,\n      transformESDecorators: () => transformESDecorators,\n      transformESNext: () => transformESNext,\n      transformGenerators: () => transformGenerators,\n      transformJsx: () => transformJsx,\n      transformLegacyDecorators: () => transformLegacyDecorators,\n      transformModule: () => transformModule,\n      transformNodeModule: () => transformNodeModule,\n      transformNodes: () => transformNodes,\n      transformSystemModule: () => transformSystemModule,\n      transformTypeScript: () => transformTypeScript,\n      transpile: () => transpile,\n      transpileModule: () => transpileModule,\n      transpileOptionValueCompilerOptions: () => transpileOptionValueCompilerOptions,\n      trimString: () => trimString,\n      trimStringEnd: () => trimStringEnd,\n      trimStringStart: () => trimStringStart,\n      tryAddToSet: () => tryAddToSet,\n      tryAndIgnoreErrors: () => tryAndIgnoreErrors,\n      tryCast: () => tryCast,\n      tryDirectoryExists: () => tryDirectoryExists,\n      tryExtractTSExtension: () => tryExtractTSExtension,\n      tryFileExists: () => tryFileExists,\n      tryGetClassExtendingExpressionWithTypeArguments: () => tryGetClassExtendingExpressionWithTypeArguments,\n      tryGetClassImplementingOrExtendingExpressionWithTypeArguments: () => tryGetClassImplementingOrExtendingExpressionWithTypeArguments,\n      tryGetDirectories: () => tryGetDirectories,\n      tryGetExtensionFromPath: () => tryGetExtensionFromPath2,\n      tryGetImportFromModuleSpecifier: () => tryGetImportFromModuleSpecifier,\n      tryGetJSDocSatisfiesTypeNode: () => tryGetJSDocSatisfiesTypeNode,\n      tryGetModuleNameFromFile: () => tryGetModuleNameFromFile,\n      tryGetModuleSpecifierFromDeclaration: () => tryGetModuleSpecifierFromDeclaration,\n      tryGetNativePerformanceHooks: () => tryGetNativePerformanceHooks,\n      tryGetPropertyAccessOrIdentifierToString: () => tryGetPropertyAccessOrIdentifierToString,\n      tryGetPropertyNameOfBindingOrAssignmentElement: () => tryGetPropertyNameOfBindingOrAssignmentElement,\n      tryGetSourceMappingURL: () => tryGetSourceMappingURL,\n      tryGetTextOfPropertyName: () => tryGetTextOfPropertyName,\n      tryIOAndConsumeErrors: () => tryIOAndConsumeErrors,\n      tryParsePattern: () => tryParsePattern,\n      tryParsePatterns: () => tryParsePatterns,\n      tryParseRawSourceMap: () => tryParseRawSourceMap,\n      tryReadDirectory: () => tryReadDirectory,\n      tryReadFile: () => tryReadFile,\n      tryRemoveDirectoryPrefix: () => tryRemoveDirectoryPrefix,\n      tryRemoveExtension: () => tryRemoveExtension,\n      tryRemovePrefix: () => tryRemovePrefix,\n      tryRemoveSuffix: () => tryRemoveSuffix,\n      typeAcquisitionDeclarations: () => typeAcquisitionDeclarations,\n      typeAliasNamePart: () => typeAliasNamePart,\n      typeDirectiveIsEqualTo: () => typeDirectiveIsEqualTo,\n      typeKeywords: () => typeKeywords,\n      typeParameterNamePart: () => typeParameterNamePart,\n      typeReferenceResolutionNameAndModeGetter: () => typeReferenceResolutionNameAndModeGetter,\n      typeToDisplayParts: () => typeToDisplayParts,\n      unchangedPollThresholds: () => unchangedPollThresholds,\n      unchangedTextChangeRange: () => unchangedTextChangeRange,\n      unescapeLeadingUnderscores: () => unescapeLeadingUnderscores,\n      unmangleScopedPackageName: () => unmangleScopedPackageName,\n      unorderedRemoveItem: () => unorderedRemoveItem,\n      unorderedRemoveItemAt: () => unorderedRemoveItemAt,\n      unreachableCodeIsError: () => unreachableCodeIsError,\n      unusedLabelIsError: () => unusedLabelIsError,\n      unwrapInnermostStatementOfLabel: () => unwrapInnermostStatementOfLabel,\n      updateErrorForNoInputFiles: () => updateErrorForNoInputFiles,\n      updateLanguageServiceSourceFile: () => updateLanguageServiceSourceFile,\n      updateMissingFilePathsWatch: () => updateMissingFilePathsWatch,\n      updatePackageJsonWatch: () => updatePackageJsonWatch,\n      updateResolutionField: () => updateResolutionField,\n      updateSharedExtendedConfigFileWatcher: () => updateSharedExtendedConfigFileWatcher,\n      updateSourceFile: () => updateSourceFile,\n      updateWatchingWildcardDirectories: () => updateWatchingWildcardDirectories,\n      usesExtensionsOnImports: () => usesExtensionsOnImports,\n      usingSingleLineStringWriter: () => usingSingleLineStringWriter,\n      utf16EncodeAsString: () => utf16EncodeAsString,\n      validateLocaleAndSetLanguage: () => validateLocaleAndSetLanguage,\n      valuesHelper: () => valuesHelper,\n      version: () => version,\n      versionMajorMinor: () => versionMajorMinor,\n      visitArray: () => visitArray,\n      visitCommaListElements: () => visitCommaListElements,\n      visitEachChild: () => visitEachChild,\n      visitFunctionBody: () => visitFunctionBody,\n      visitIterationBody: () => visitIterationBody,\n      visitLexicalEnvironment: () => visitLexicalEnvironment,\n      visitNode: () => visitNode,\n      visitNodes: () => visitNodes2,\n      visitParameterList: () => visitParameterList,\n      walkUpBindingElementsAndPatterns: () => walkUpBindingElementsAndPatterns,\n      walkUpLexicalEnvironments: () => walkUpLexicalEnvironments,\n      walkUpOuterExpressions: () => walkUpOuterExpressions,\n      walkUpParenthesizedExpressions: () => walkUpParenthesizedExpressions,\n      walkUpParenthesizedTypes: () => walkUpParenthesizedTypes,\n      walkUpParenthesizedTypesAndGetParentAndChild: () => walkUpParenthesizedTypesAndGetParentAndChild,\n      whitespaceOrMapCommentRegExp: () => whitespaceOrMapCommentRegExp,\n      writeCommentRange: () => writeCommentRange,\n      writeFile: () => writeFile,\n      writeFileEnsuringDirectories: () => writeFileEnsuringDirectories,\n      zipToModeAwareCache: () => zipToModeAwareCache,\n      zipWith: () => zipWith\n    });\n    var init_ts6 = __esm({\n      \"src/typescript/_namespaces/ts.ts\"() {\n        \"use strict\";\n        init_ts2();\n        init_ts3();\n        init_ts4();\n        init_ts5();\n      }\n    });\n    var require_typescript = __commonJS({\n      \"src/typescript/typescript.ts\"(exports, module2) {\n        init_ts6();\n        init_ts6();\n        if (typeof console !== \"undefined\") {\n          Debug2.loggingHost = {\n            log(level, s) {\n              switch (level) {\n                case 1:\n                  return console.error(s);\n                case 2:\n                  return console.warn(s);\n                case 3:\n                  return console.log(s);\n                case 4:\n                  return console.log(s);\n              }\n            }\n          };\n        }\n        module2.exports = ts_exports3;\n      }\n    });\n    return require_typescript();\n  })();\n  if (typeof module !== \"undefined\" && module.exports) {\n    module.exports = ts;\n  }\n  var createClassifier = ts.createClassifier;\n  var createLanguageService = ts.createLanguageService;\n  var displayPartsToString = ts.displayPartsToString;\n  var EndOfLineState = ts.EndOfLineState;\n  var flattenDiagnosticMessageText = ts.flattenDiagnosticMessageText;\n  var IndentStyle = ts.IndentStyle;\n  var ScriptKind = ts.ScriptKind;\n  var ScriptTarget = ts.ScriptTarget;\n  var TokenClass = ts.TokenClass;\n  var typescript = ts;\n  var libFileMap = {};\n  libFileMap[\"lib.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es5\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n';\n  libFileMap[\"lib.decorators.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/**\\n * The decorator context types provided to class element decorators.\\n */\\ntype ClassMemberDecoratorContext =\\n    | ClassMethodDecoratorContext\\n    | ClassGetterDecoratorContext\\n    | ClassSetterDecoratorContext\\n    | ClassFieldDecoratorContext\\n    | ClassAccessorDecoratorContext\\n    ;\\n\\n/**\\n * The decorator context types provided to any decorator.\\n */\\ntype DecoratorContext =\\n    | ClassDecoratorContext\\n    | ClassMemberDecoratorContext\\n    ;\\n\\n/**\\n * Context provided to a class decorator.\\n * @template Class The type of the decorated class associated with this context.\\n */\\ninterface ClassDecoratorContext<\\n    Class extends abstract new (...args: any) => any = abstract new (...args: any) => any,\\n> {\\n    /** The kind of element that was decorated. */\\n    readonly kind: \"class\";\\n\\n    /** The name of the decorated class. */\\n    readonly name: string | undefined;\\n\\n    /**\\n     * Adds a callback to be invoked after the class definition has been finalized.\\n     *\\n     * @example\\n     * ```ts\\n     * function customElement(name: string): ClassDecoratorFunction {\\n     *   return (target, context) => {\\n     *     context.addInitializer(function () {\\n     *       customElements.define(name, this);\\n     *     });\\n     *   }\\n     * }\\n     *\\n     * @customElement(\"my-element\")\\n     * class MyElement {}\\n     * ```\\n     */\\n    addInitializer(initializer: (this: Class) => void): void;\\n}\\n\\n/**\\n * Context provided to a class method decorator.\\n * @template This The type on which the class element will be defined. For a static class element, this will be\\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\\n * @template Value The type of the decorated class method.\\n */\\ninterface ClassMethodDecoratorContext<\\n    This = unknown,\\n    Value extends (this: This, ...args: any) => any = (this: This, ...args: any) => any,\\n> {\\n    /** The kind of class element that was decorated. */\\n    readonly kind: \"method\";\\n\\n    /** The name of the decorated class element. */\\n    readonly name: string | symbol;\\n\\n    /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\\n    readonly static: boolean;\\n\\n    /** A value indicating whether the class element has a private name. */\\n    readonly private: boolean;\\n\\n    /** An object that can be used to access the current value of the class element at runtime. */\\n    readonly access: {\\n        /**\\n         * Determines whether an object has a property with the same name as the decorated element.\\n         */\\n        has(object: This): boolean;\\n        /**\\n         * Gets the current value of the method from the provided object.\\n         *\\n         * @example\\n         * let fn = context.access.get(instance);\\n         */\\n        get(object: This): Value;\\n    };\\n\\n    /**\\n     * Adds a callback to be invoked either before static initializers are run (when\\n     * decorating a `static` element), or before instance initializers are run (when\\n     * decorating a non-`static` element).\\n     *\\n     * @example\\n     * ```ts\\n     * const bound: ClassMethodDecoratorFunction = (value, context) {\\n     *   if (context.private) throw new TypeError(\"Not supported on private methods.\");\\n     *   context.addInitializer(function () {\\n     *     this[context.name] = this[context.name].bind(this);\\n     *   });\\n     * }\\n     *\\n     * class C {\\n     *   message = \"Hello\";\\n     *\\n     *   @bound\\n     *   m() {\\n     *     console.log(this.message);\\n     *   }\\n     * }\\n     * ```\\n     */\\n    addInitializer(initializer: (this: This) => void): void;\\n}\\n\\n/**\\n * Context provided to a class getter decorator.\\n * @template This The type on which the class element will be defined. For a static class element, this will be\\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\\n * @template Value The property type of the decorated class getter.\\n */\\ninterface ClassGetterDecoratorContext<\\n    This = unknown,\\n    Value = unknown,\\n> {\\n    /** The kind of class element that was decorated. */\\n    readonly kind: \"getter\";\\n\\n    /** The name of the decorated class element. */\\n    readonly name: string | symbol;\\n\\n    /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\\n    readonly static: boolean;\\n\\n    /** A value indicating whether the class element has a private name. */\\n    readonly private: boolean;\\n\\n    /** An object that can be used to access the current value of the class element at runtime. */\\n    readonly access: {\\n        /**\\n         * Determines whether an object has a property with the same name as the decorated element.\\n         */\\n        has(object: This): boolean;\\n        /**\\n         * Invokes the getter on the provided object.\\n         *\\n         * @example\\n         * let value = context.access.get(instance);\\n         */\\n        get(object: This): Value;\\n    };\\n\\n    /**\\n     * Adds a callback to be invoked either before static initializers are run (when\\n     * decorating a `static` element), or before instance initializers are run (when\\n     * decorating a non-`static` element).\\n     */\\n    addInitializer(initializer: (this: This) => void): void;\\n}\\n\\n/**\\n * Context provided to a class setter decorator.\\n * @template This The type on which the class element will be defined. For a static class element, this will be\\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\\n * @template Value The type of the decorated class setter.\\n */\\ninterface ClassSetterDecoratorContext<\\n    This = unknown,\\n    Value = unknown,\\n> {\\n    /** The kind of class element that was decorated. */\\n    readonly kind: \"setter\";\\n\\n    /** The name of the decorated class element. */\\n    readonly name: string | symbol;\\n\\n    /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\\n    readonly static: boolean;\\n\\n    /** A value indicating whether the class element has a private name. */\\n    readonly private: boolean;\\n\\n    /** An object that can be used to access the current value of the class element at runtime. */\\n    readonly access: {\\n        /**\\n         * Determines whether an object has a property with the same name as the decorated element.\\n         */\\n        has(object: This): boolean;\\n        /**\\n         * Invokes the setter on the provided object.\\n         *\\n         * @example\\n         * context.access.set(instance, value);\\n         */\\n        set(object: This, value: Value): void;\\n    };\\n\\n    /**\\n     * Adds a callback to be invoked either before static initializers are run (when\\n     * decorating a `static` element), or before instance initializers are run (when\\n     * decorating a non-`static` element).\\n     */\\n    addInitializer(initializer: (this: This) => void): void;\\n}\\n\\n/**\\n * Context provided to a class `accessor` field decorator.\\n * @template This The type on which the class element will be defined. For a static class element, this will be\\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\\n * @template Value The type of decorated class field.\\n */\\ninterface ClassAccessorDecoratorContext<\\n    This = unknown,\\n    Value = unknown,\\n> {\\n    /** The kind of class element that was decorated. */\\n    readonly kind: \"accessor\";\\n\\n    /** The name of the decorated class element. */\\n    readonly name: string | symbol;\\n\\n    /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\\n    readonly static: boolean;\\n\\n    /** A value indicating whether the class element has a private name. */\\n    readonly private: boolean;\\n\\n    /** An object that can be used to access the current value of the class element at runtime. */\\n    readonly access: {\\n        /**\\n         * Determines whether an object has a property with the same name as the decorated element.\\n         */\\n        has(object: This): boolean;\\n\\n        /**\\n         * Invokes the getter on the provided object.\\n         *\\n         * @example\\n         * let value = context.access.get(instance);\\n         */\\n        get(object: This): Value;\\n\\n        /**\\n         * Invokes the setter on the provided object.\\n         *\\n         * @example\\n         * context.access.set(instance, value);\\n         */\\n        set(object: This, value: Value): void;\\n    };\\n\\n    /**\\n     * Adds a callback to be invoked either before static initializers are run (when\\n     * decorating a `static` element), or before instance initializers are run (when\\n     * decorating a non-`static` element).\\n     */\\n    addInitializer(initializer: (this: This) => void): void;\\n}\\n\\n/**\\n * Describes the target provided to class `accessor` field decorators.\\n * @template This The `this` type to which the target applies.\\n * @template Value The property type for the class `accessor` field.\\n */\\ninterface ClassAccessorDecoratorTarget<This, Value> {\\n    /**\\n     * Invokes the getter that was defined prior to decorator application.\\n     *\\n     * @example\\n     * let value = target.get.call(instance);\\n     */\\n    get(this: This): Value;\\n\\n    /**\\n     * Invokes the setter that was defined prior to decorator application.\\n     *\\n     * @example\\n     * target.set.call(instance, value);\\n     */\\n    set(this: This, value: Value): void;\\n}\\n\\n/**\\n * Describes the allowed return value from a class `accessor` field decorator.\\n * @template This The `this` type to which the target applies.\\n * @template Value The property type for the class `accessor` field.\\n */\\ninterface ClassAccessorDecoratorResult<This, Value> {\\n    /**\\n     * An optional replacement getter function. If not provided, the existing getter function is used instead.\\n     */\\n    get?(this: This): Value;\\n\\n    /**\\n     * An optional replacement setter function. If not provided, the existing setter function is used instead.\\n     */\\n    set?(this: This, value: Value): void;\\n\\n    /**\\n     * An optional initializer mutator that is invoked when the underlying field initializer is evaluated.\\n     * @param value The incoming initializer value.\\n     * @returns The replacement initializer value.\\n     */\\n    init?(this: This, value: Value): Value;\\n}\\n\\n/**\\n * Context provided to a class field decorator.\\n * @template This The type on which the class element will be defined. For a static class element, this will be\\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\\n * @template Value The type of the decorated class field.\\n */\\ninterface ClassFieldDecoratorContext<\\n    This = unknown,\\n    Value = unknown,\\n> {\\n    /** The kind of class element that was decorated. */\\n    readonly kind: \"field\";\\n\\n    /** The name of the decorated class element. */\\n    readonly name: string | symbol;\\n\\n    /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\\n    readonly static: boolean;\\n\\n    /** A value indicating whether the class element has a private name. */\\n    readonly private: boolean;\\n\\n    /** An object that can be used to access the current value of the class element at runtime. */\\n    readonly access: {\\n        /**\\n         * Determines whether an object has a property with the same name as the decorated element.\\n         */\\n        has(object: This): boolean;\\n\\n        /**\\n         * Gets the value of the field on the provided object.\\n         */\\n        get(object: This): Value;\\n\\n        /**\\n         * Sets the value of the field on the provided object.\\n         */\\n        set(object: This, value: Value): void;\\n    };\\n\\n    /**\\n     * Adds a callback to be invoked either before static initializers are run (when\\n     * decorating a `static` element), or before instance initializers are run (when\\n     * decorating a non-`static` element).\\n     */\\n    addInitializer(initializer: (this: This) => void): void;\\n}\\n';\n  libFileMap[\"lib.decorators.legacy.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;\\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\\ndeclare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;\\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\\n';\n  libFileMap[\"lib.dom.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/////////////////////////////\n/// Window APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n    once?: boolean;\n    passive?: boolean;\n    signal?: AbortSignal;\n}\n\ninterface AesCbcParams extends Algorithm {\n    iv: BufferSource;\n}\n\ninterface AesCtrParams extends Algorithm {\n    counter: BufferSource;\n    length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n    length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n    additionalData?: BufferSource;\n    iv: BufferSource;\n    tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n    length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n    length: number;\n}\n\ninterface Algorithm {\n    name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n    fftSize?: number;\n    maxDecibels?: number;\n    minDecibels?: number;\n    smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n    animationName?: string;\n    elapsedTime?: number;\n    pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n    currentTime?: CSSNumberish | null;\n    timelineTime?: CSSNumberish | null;\n}\n\ninterface AssignedNodesOptions {\n    flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n    length: number;\n    numberOfChannels?: number;\n    sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n    buffer?: AudioBuffer | null;\n    detune?: number;\n    loop?: boolean;\n    loopEnd?: number;\n    loopStart?: number;\n    playbackRate?: number;\n}\n\ninterface AudioConfiguration {\n    bitrate?: number;\n    channels?: string;\n    contentType: string;\n    samplerate?: number;\n    spatialRendering?: boolean;\n}\n\ninterface AudioContextOptions {\n    latencyHint?: AudioContextLatencyCategory | number;\n    sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n    channelCount?: number;\n    channelCountMode?: ChannelCountMode;\n    channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n    inputBuffer: AudioBuffer;\n    outputBuffer: AudioBuffer;\n    playbackTime: number;\n}\n\ninterface AudioTimestamp {\n    contextTime?: number;\n    performanceTime?: DOMHighResTimeStamp;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n    numberOfInputs?: number;\n    numberOfOutputs?: number;\n    outputChannelCount?: number[];\n    parameterData?: Record<string, number>;\n    processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n    appid?: string;\n    credProps?: boolean;\n    hmacCreateSecret?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n    appid?: boolean;\n    credProps?: CredentialPropertiesOutput;\n    hmacCreateSecret?: boolean;\n}\n\ninterface AuthenticatorSelectionCriteria {\n    authenticatorAttachment?: AuthenticatorAttachment;\n    requireResidentKey?: boolean;\n    residentKey?: ResidentKeyRequirement;\n    userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n    Q?: number;\n    detune?: number;\n    frequency?: number;\n    gain?: number;\n    type?: BiquadFilterType;\n}\n\ninterface BlobEventInit {\n    data: Blob;\n    timecode?: DOMHighResTimeStamp;\n}\n\ninterface BlobPropertyBag {\n    endings?: EndingType;\n    type?: string;\n}\n\ninterface CSSStyleSheetInit {\n    baseURL?: string;\n    disabled?: boolean;\n    media?: MediaList | string;\n}\n\ninterface CacheQueryOptions {\n    ignoreMethod?: boolean;\n    ignoreSearch?: boolean;\n    ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n    alpha?: boolean;\n    colorSpace?: PredefinedColorSpace;\n    desynchronized?: boolean;\n    willReadFrequently?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n    numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n    numberOfOutputs?: number;\n}\n\ninterface CheckVisibilityOptions {\n    checkOpacity?: boolean;\n    checkVisibilityCSS?: boolean;\n}\n\ninterface ClientQueryOptions {\n    includeUncontrolled?: boolean;\n    type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n    clipboardData?: DataTransfer | null;\n}\n\ninterface ClipboardItemOptions {\n    presentationStyle?: PresentationStyle;\n}\n\ninterface CloseEventInit extends EventInit {\n    code?: number;\n    reason?: string;\n    wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n    data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n    activeDuration?: CSSNumberish;\n    currentIteration?: number | null;\n    endTime?: CSSNumberish;\n    localTime?: CSSNumberish | null;\n    progress?: number | null;\n    startTime?: CSSNumberish;\n}\n\ninterface ComputedKeyframe {\n    composite: CompositeOperationOrAuto;\n    computedOffset: number;\n    easing: string;\n    offset: number | null;\n    [property: string]: string | number | null | undefined;\n}\n\ninterface ConstantSourceOptions {\n    offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n    exact?: boolean;\n    ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n    exact?: string | string[];\n    ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n    exact?: number;\n    ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n    exact?: number;\n    ideal?: number;\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n    buffer?: AudioBuffer | null;\n    disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n    publicKey?: PublicKeyCredentialCreationOptions;\n    signal?: AbortSignal;\n}\n\ninterface CredentialPropertiesOutput {\n    rk?: boolean;\n}\n\ninterface CredentialRequestOptions {\n    mediation?: CredentialMediationRequirement;\n    publicKey?: PublicKeyCredentialRequestOptions;\n    signal?: AbortSignal;\n}\n\ninterface CryptoKeyPair {\n    privateKey: CryptoKey;\n    publicKey: CryptoKey;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n    detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n    a?: number;\n    b?: number;\n    c?: number;\n    d?: number;\n    e?: number;\n    f?: number;\n    m11?: number;\n    m12?: number;\n    m21?: number;\n    m22?: number;\n    m41?: number;\n    m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n    is2D?: boolean;\n    m13?: number;\n    m14?: number;\n    m23?: number;\n    m24?: number;\n    m31?: number;\n    m32?: number;\n    m33?: number;\n    m34?: number;\n    m43?: number;\n    m44?: number;\n}\n\ninterface DOMPointInit {\n    w?: number;\n    x?: number;\n    y?: number;\n    z?: number;\n}\n\ninterface DOMQuadInit {\n    p1?: DOMPointInit;\n    p2?: DOMPointInit;\n    p3?: DOMPointInit;\n    p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n    height?: number;\n    width?: number;\n    x?: number;\n    y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n    delayTime?: number;\n    maxDelayTime?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n    x?: number | null;\n    y?: number | null;\n    z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n    acceleration?: DeviceMotionEventAccelerationInit;\n    accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n    interval?: number;\n    rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n    alpha?: number | null;\n    beta?: number | null;\n    gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n    absolute?: boolean;\n    alpha?: number | null;\n    beta?: number | null;\n    gamma?: number | null;\n}\n\ninterface DisplayMediaStreamOptions {\n    audio?: boolean | MediaTrackConstraints;\n    video?: boolean | MediaTrackConstraints;\n}\n\ninterface DocumentTimelineOptions {\n    originTime?: DOMHighResTimeStamp;\n}\n\ninterface DoubleRange {\n    max?: number;\n    min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n    dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n    attack?: number;\n    knee?: number;\n    ratio?: number;\n    release?: number;\n    threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n    namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n    namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n    namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n    public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n    delay?: number;\n    direction?: PlaybackDirection;\n    duration?: number | string;\n    easing?: string;\n    endDelay?: number;\n    fill?: FillMode;\n    iterationStart?: number;\n    iterations?: number;\n    playbackRate?: number;\n}\n\ninterface ElementCreationOptions {\n    is?: string;\n}\n\ninterface ElementDefinitionOptions {\n    extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n    colno?: number;\n    error?: any;\n    filename?: string;\n    lineno?: number;\n    message?: string;\n}\n\ninterface EventInit {\n    bubbles?: boolean;\n    cancelable?: boolean;\n    composed?: boolean;\n}\n\ninterface EventListenerOptions {\n    capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n    altKey?: boolean;\n    ctrlKey?: boolean;\n    metaKey?: boolean;\n    modifierAltGraph?: boolean;\n    modifierCapsLock?: boolean;\n    modifierFn?: boolean;\n    modifierFnLock?: boolean;\n    modifierHyper?: boolean;\n    modifierNumLock?: boolean;\n    modifierScrollLock?: boolean;\n    modifierSuper?: boolean;\n    modifierSymbol?: boolean;\n    modifierSymbolLock?: boolean;\n    shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n    withCredentials?: boolean;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n    lastModified?: number;\n}\n\ninterface FileSystemFlags {\n    create?: boolean;\n    exclusive?: boolean;\n}\n\ninterface FileSystemGetDirectoryOptions {\n    create?: boolean;\n}\n\ninterface FileSystemGetFileOptions {\n    create?: boolean;\n}\n\ninterface FileSystemRemoveOptions {\n    recursive?: boolean;\n}\n\ninterface FocusEventInit extends UIEventInit {\n    relatedTarget?: EventTarget | null;\n}\n\ninterface FocusOptions {\n    preventScroll?: boolean;\n}\n\ninterface FontFaceDescriptors {\n    ascentOverride?: string;\n    descentOverride?: string;\n    display?: FontDisplay;\n    featureSettings?: string;\n    lineGapOverride?: string;\n    stretch?: string;\n    style?: string;\n    unicodeRange?: string;\n    variant?: string;\n    weight?: string;\n}\n\ninterface FontFaceSetLoadEventInit extends EventInit {\n    fontfaces?: FontFace[];\n}\n\ninterface FormDataEventInit extends EventInit {\n    formData: FormData;\n}\n\ninterface FullscreenOptions {\n    navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n    gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n    gamepad: Gamepad;\n}\n\ninterface GetAnimationsOptions {\n    subtree?: boolean;\n}\n\ninterface GetNotificationOptions {\n    tag?: string;\n}\n\ninterface GetRootNodeOptions {\n    composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n    newURL?: string;\n    oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    info: BufferSource;\n    salt: BufferSource;\n}\n\ninterface HmacImportParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n    hash: KeyAlgorithm;\n    length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    length?: number;\n}\n\ninterface IDBDatabaseInfo {\n    name?: string;\n    version?: number;\n}\n\ninterface IDBIndexParameters {\n    multiEntry?: boolean;\n    unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n    autoIncrement?: boolean;\n    keyPath?: string | string[] | null;\n}\n\ninterface IDBTransactionOptions {\n    durability?: IDBTransactionDurability;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n    newVersion?: number | null;\n    oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n    feedback: number[];\n    feedforward: number[];\n}\n\ninterface IdleRequestOptions {\n    timeout?: number;\n}\n\ninterface ImageBitmapOptions {\n    colorSpaceConversion?: ColorSpaceConversion;\n    imageOrientation?: ImageOrientation;\n    premultiplyAlpha?: PremultiplyAlpha;\n    resizeHeight?: number;\n    resizeQuality?: ResizeQuality;\n    resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n    alpha?: boolean;\n}\n\ninterface ImageDataSettings {\n    colorSpace?: PredefinedColorSpace;\n}\n\ninterface ImageEncodeOptions {\n    quality?: number;\n    type?: string;\n}\n\ninterface ImportMeta {\n    url: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n    data?: string | null;\n    dataTransfer?: DataTransfer | null;\n    inputType?: string;\n    isComposing?: boolean;\n    targetRanges?: StaticRange[];\n}\n\ninterface IntersectionObserverEntryInit {\n    boundingClientRect: DOMRectInit;\n    intersectionRatio: number;\n    intersectionRect: DOMRectInit;\n    isIntersecting: boolean;\n    rootBounds: DOMRectInit | null;\n    target: Element;\n    time: DOMHighResTimeStamp;\n}\n\ninterface IntersectionObserverInit {\n    root?: Element | Document | null;\n    rootMargin?: string;\n    threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n    alg?: string;\n    crv?: string;\n    d?: string;\n    dp?: string;\n    dq?: string;\n    e?: string;\n    ext?: boolean;\n    k?: string;\n    key_ops?: string[];\n    kty?: string;\n    n?: string;\n    oth?: RsaOtherPrimesInfo[];\n    p?: string;\n    q?: string;\n    qi?: string;\n    use?: string;\n    x?: string;\n    y?: string;\n}\n\ninterface KeyAlgorithm {\n    name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n    /** @deprecated */\n    charCode?: number;\n    code?: string;\n    isComposing?: boolean;\n    key?: string;\n    /** @deprecated */\n    keyCode?: number;\n    location?: number;\n    repeat?: boolean;\n}\n\ninterface Keyframe {\n    composite?: CompositeOperationOrAuto;\n    easing?: string;\n    offset?: number | null;\n    [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n    id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n    composite?: CompositeOperation;\n    iterationComposite?: IterationCompositeOperation;\n    pseudoElement?: string | null;\n}\n\ninterface LockInfo {\n    clientId?: string;\n    mode?: LockMode;\n    name?: string;\n}\n\ninterface LockManagerSnapshot {\n    held?: LockInfo[];\n    pending?: LockInfo[];\n}\n\ninterface LockOptions {\n    ifAvailable?: boolean;\n    mode?: LockMode;\n    signal?: AbortSignal;\n    steal?: boolean;\n}\n\ninterface MIDIConnectionEventInit extends EventInit {\n    port?: MIDIPort;\n}\n\ninterface MIDIMessageEventInit extends EventInit {\n    data?: Uint8Array;\n}\n\ninterface MIDIOptions {\n    software?: boolean;\n    sysex?: boolean;\n}\n\ninterface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {\n    configuration?: MediaDecodingConfiguration;\n}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n    configuration?: MediaEncodingConfiguration;\n}\n\ninterface MediaCapabilitiesInfo {\n    powerEfficient: boolean;\n    smooth: boolean;\n    supported: boolean;\n}\n\ninterface MediaConfiguration {\n    audio?: AudioConfiguration;\n    video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n    type: MediaDecodingType;\n}\n\ninterface MediaElementAudioSourceOptions {\n    mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncodingConfiguration extends MediaConfiguration {\n    type: MediaEncodingType;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n    initData?: ArrayBuffer | null;\n    initDataType?: string;\n}\n\ninterface MediaImage {\n    sizes?: string;\n    src: string;\n    type?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n    message: ArrayBuffer;\n    messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n    audioCapabilities?: MediaKeySystemMediaCapability[];\n    distinctiveIdentifier?: MediaKeysRequirement;\n    initDataTypes?: string[];\n    label?: string;\n    persistentState?: MediaKeysRequirement;\n    sessionTypes?: string[];\n    videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n    contentType?: string;\n    encryptionScheme?: string | null;\n    robustness?: string;\n}\n\ninterface MediaMetadataInit {\n    album?: string;\n    artist?: string;\n    artwork?: MediaImage[];\n    title?: string;\n}\n\ninterface MediaPositionState {\n    duration?: number;\n    playbackRate?: number;\n    position?: number;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n    matches?: boolean;\n    media?: string;\n}\n\ninterface MediaRecorderOptions {\n    audioBitsPerSecond?: number;\n    bitsPerSecond?: number;\n    mimeType?: string;\n    videoBitsPerSecond?: number;\n}\n\ninterface MediaSessionActionDetails {\n    action: MediaSessionAction;\n    fastSeek?: boolean;\n    seekOffset?: number;\n    seekTime?: number;\n}\n\ninterface MediaStreamAudioSourceOptions {\n    mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n    audio?: boolean | MediaTrackConstraints;\n    peerIdentity?: string;\n    preferCurrentTab?: boolean;\n    video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n    track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n    aspectRatio?: DoubleRange;\n    autoGainControl?: boolean[];\n    channelCount?: ULongRange;\n    deviceId?: string;\n    displaySurface?: string;\n    echoCancellation?: boolean[];\n    facingMode?: string[];\n    frameRate?: DoubleRange;\n    groupId?: string;\n    height?: ULongRange;\n    noiseSuppression?: boolean[];\n    sampleRate?: ULongRange;\n    sampleSize?: ULongRange;\n    width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n    aspectRatio?: ConstrainDouble;\n    autoGainControl?: ConstrainBoolean;\n    channelCount?: ConstrainULong;\n    deviceId?: ConstrainDOMString;\n    displaySurface?: ConstrainDOMString;\n    echoCancellation?: ConstrainBoolean;\n    facingMode?: ConstrainDOMString;\n    frameRate?: ConstrainDouble;\n    groupId?: ConstrainDOMString;\n    height?: ConstrainULong;\n    noiseSuppression?: ConstrainBoolean;\n    sampleRate?: ConstrainULong;\n    sampleSize?: ConstrainULong;\n    width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n    advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n    aspectRatio?: number;\n    autoGainControl?: boolean;\n    channelCount?: number;\n    deviceId?: string;\n    displaySurface?: string;\n    echoCancellation?: boolean;\n    facingMode?: string;\n    frameRate?: number;\n    groupId?: string;\n    height?: number;\n    noiseSuppression?: boolean;\n    sampleRate?: number;\n    sampleSize?: number;\n    width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n    aspectRatio?: boolean;\n    autoGainControl?: boolean;\n    channelCount?: boolean;\n    deviceId?: boolean;\n    displaySurface?: boolean;\n    echoCancellation?: boolean;\n    facingMode?: boolean;\n    frameRate?: boolean;\n    groupId?: boolean;\n    height?: boolean;\n    noiseSuppression?: boolean;\n    sampleRate?: boolean;\n    sampleSize?: boolean;\n    width?: boolean;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n    data?: T;\n    lastEventId?: string;\n    origin?: string;\n    ports?: MessagePort[];\n    source?: MessageEventSource | null;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n    button?: number;\n    buttons?: number;\n    clientX?: number;\n    clientY?: number;\n    movementX?: number;\n    movementY?: number;\n    relatedTarget?: EventTarget | null;\n    screenX?: number;\n    screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n    cacheName?: string;\n}\n\ninterface MutationObserverInit {\n    /** Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */\n    attributeFilter?: string[];\n    /** Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */\n    attributeOldValue?: boolean;\n    /** Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */\n    attributes?: boolean;\n    /** Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */\n    characterData?: boolean;\n    /** Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */\n    characterDataOldValue?: boolean;\n    /** Set to true if mutations to target's children are to be observed. */\n    childList?: boolean;\n    /** Set to true if mutations to not just target, but also target's descendants are to be observed. */\n    subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n    enabled?: boolean;\n    headerValue?: string;\n}\n\ninterface NotificationAction {\n    action: string;\n    icon?: string;\n    title: string;\n}\n\ninterface NotificationOptions {\n    actions?: NotificationAction[];\n    badge?: string;\n    body?: string;\n    data?: any;\n    dir?: NotificationDirection;\n    icon?: string;\n    image?: string;\n    lang?: string;\n    renotify?: boolean;\n    requireInteraction?: boolean;\n    silent?: boolean;\n    tag?: string;\n    timestamp?: EpochTimeStamp;\n    vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n    renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n    length: number;\n    numberOfChannels?: number;\n    sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n    delay?: number;\n    direction?: PlaybackDirection;\n    duration?: number | string;\n    easing?: string;\n    endDelay?: number;\n    fill?: FillMode;\n    iterationStart?: number;\n    iterations?: number;\n    playbackRate?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n    detune?: number;\n    frequency?: number;\n    periodicWave?: PeriodicWave;\n    type?: OscillatorType;\n}\n\ninterface PageTransitionEventInit extends EventInit {\n    persisted?: boolean;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n    coneInnerAngle?: number;\n    coneOuterAngle?: number;\n    coneOuterGain?: number;\n    distanceModel?: DistanceModelType;\n    maxDistance?: number;\n    orientationX?: number;\n    orientationY?: number;\n    orientationZ?: number;\n    panningModel?: PanningModelType;\n    positionX?: number;\n    positionY?: number;\n    positionZ?: number;\n    refDistance?: number;\n    rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n    currency: string;\n    value: string;\n}\n\ninterface PaymentDetailsBase {\n    displayItems?: PaymentItem[];\n    modifiers?: PaymentDetailsModifier[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n    id?: string;\n    total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n    additionalDisplayItems?: PaymentItem[];\n    data?: any;\n    supportedMethods: string;\n    total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n    paymentMethodErrors?: any;\n    total?: PaymentItem;\n}\n\ninterface PaymentItem {\n    amount: PaymentCurrencyAmount;\n    label: string;\n    pending?: boolean;\n}\n\ninterface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit {\n    methodDetails?: any;\n    methodName?: string;\n}\n\ninterface PaymentMethodData {\n    data?: any;\n    supportedMethods: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentValidationErrors {\n    error?: string;\n    paymentMethod?: any;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    iterations: number;\n    salt: BufferSource;\n}\n\ninterface PerformanceMarkOptions {\n    detail?: any;\n    startTime?: DOMHighResTimeStamp;\n}\n\ninterface PerformanceMeasureOptions {\n    detail?: any;\n    duration?: DOMHighResTimeStamp;\n    end?: string | DOMHighResTimeStamp;\n    start?: string | DOMHighResTimeStamp;\n}\n\ninterface PerformanceObserverInit {\n    buffered?: boolean;\n    entryTypes?: string[];\n    type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n    disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n    imag?: number[] | Float32Array;\n    real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n    name: PermissionName;\n}\n\ninterface PictureInPictureEventInit extends EventInit {\n    pictureInPictureWindow: PictureInPictureWindow;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n    coalescedEvents?: PointerEvent[];\n    height?: number;\n    isPrimary?: boolean;\n    pointerId?: number;\n    pointerType?: string;\n    predictedEvents?: PointerEvent[];\n    pressure?: number;\n    tangentialPressure?: number;\n    tiltX?: number;\n    tiltY?: number;\n    twist?: number;\n    width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n    state?: any;\n}\n\ninterface PositionOptions {\n    enableHighAccuracy?: boolean;\n    maximumAge?: number;\n    timeout?: number;\n}\n\ninterface ProgressEventInit extends EventInit {\n    lengthComputable?: boolean;\n    loaded?: number;\n    total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n    promise: Promise<any>;\n    reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n    composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n    easing?: string | string[];\n    offset?: number | (number | null)[];\n    [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n    attestation?: AttestationConveyancePreference;\n    authenticatorSelection?: AuthenticatorSelectionCriteria;\n    challenge: BufferSource;\n    excludeCredentials?: PublicKeyCredentialDescriptor[];\n    extensions?: AuthenticationExtensionsClientInputs;\n    pubKeyCredParams: PublicKeyCredentialParameters[];\n    rp: PublicKeyCredentialRpEntity;\n    timeout?: number;\n    user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n    id: BufferSource;\n    transports?: AuthenticatorTransport[];\n    type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n    name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n    alg: COSEAlgorithmIdentifier;\n    type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n    allowCredentials?: PublicKeyCredentialDescriptor[];\n    challenge: BufferSource;\n    extensions?: AuthenticationExtensionsClientInputs;\n    rpId?: string;\n    timeout?: number;\n    userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n    id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n    displayName: string;\n    id: BufferSource;\n}\n\ninterface PushSubscriptionJSON {\n    endpoint?: string;\n    expirationTime?: EpochTimeStamp | null;\n    keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n    applicationServerKey?: BufferSource | string | null;\n    userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n    highWaterMark?: number;\n    size?: QueuingStrategySize<T>;\n}\n\ninterface QueuingStrategyInit {\n    /**\n     * Creates a new ByteLengthQueuingStrategy with the provided high water mark.\n     *\n     * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw.\n     */\n    highWaterMark: number;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n    expires?: number;\n}\n\ninterface RTCConfiguration {\n    bundlePolicy?: RTCBundlePolicy;\n    certificates?: RTCCertificate[];\n    iceCandidatePoolSize?: number;\n    iceServers?: RTCIceServer[];\n    iceTransportPolicy?: RTCIceTransportPolicy;\n    rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n    tone?: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n    channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n    id?: number;\n    maxPacketLifeTime?: number;\n    maxRetransmits?: number;\n    negotiated?: boolean;\n    ordered?: boolean;\n    protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n    algorithm?: string;\n    value?: string;\n}\n\ninterface RTCEncodedAudioFrameMetadata {\n    contributingSources?: number[];\n    synchronizationSource?: number;\n}\n\ninterface RTCEncodedVideoFrameMetadata {\n    contributingSources?: number[];\n    dependencies?: number[];\n    frameId?: number;\n    height?: number;\n    spatialIndex?: number;\n    synchronizationSource?: number;\n    temporalIndex?: number;\n    width?: number;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n    error: RTCError;\n}\n\ninterface RTCErrorInit {\n    errorDetail: RTCErrorDetailType;\n    httpRequestStatusCode?: number;\n    receivedAlert?: number;\n    sctpCauseCode?: number;\n    sdpLineNumber?: number;\n    sentAlert?: number;\n}\n\ninterface RTCIceCandidateInit {\n    candidate?: string;\n    sdpMLineIndex?: number | null;\n    sdpMid?: string | null;\n    usernameFragment?: string | null;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n    availableIncomingBitrate?: number;\n    availableOutgoingBitrate?: number;\n    bytesReceived?: number;\n    bytesSent?: number;\n    currentRoundTripTime?: number;\n    lastPacketReceivedTimestamp?: DOMHighResTimeStamp;\n    lastPacketSentTimestamp?: DOMHighResTimeStamp;\n    localCandidateId: string;\n    nominated?: boolean;\n    remoteCandidateId: string;\n    requestsReceived?: number;\n    requestsSent?: number;\n    responsesReceived?: number;\n    responsesSent?: number;\n    state: RTCStatsIceCandidatePairState;\n    totalRoundTripTime?: number;\n    transportId: string;\n}\n\ninterface RTCIceServer {\n    credential?: string;\n    urls: string | string[];\n    username?: string;\n}\n\ninterface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {\n    audioLevel?: number;\n    bytesReceived?: number;\n    concealedSamples?: number;\n    concealmentEvents?: number;\n    decoderImplementation?: string;\n    estimatedPlayoutTimestamp?: DOMHighResTimeStamp;\n    fecPacketsDiscarded?: number;\n    fecPacketsReceived?: number;\n    firCount?: number;\n    frameHeight?: number;\n    frameWidth?: number;\n    framesDecoded?: number;\n    framesDropped?: number;\n    framesPerSecond?: number;\n    framesReceived?: number;\n    headerBytesReceived?: number;\n    insertedSamplesForDeceleration?: number;\n    jitterBufferDelay?: number;\n    jitterBufferEmittedCount?: number;\n    keyFramesDecoded?: number;\n    kind: string;\n    lastPacketReceivedTimestamp?: DOMHighResTimeStamp;\n    nackCount?: number;\n    packetsDiscarded?: number;\n    pliCount?: number;\n    qpSum?: number;\n    remoteId?: string;\n    removedSamplesForAcceleration?: number;\n    silentConcealedSamples?: number;\n    totalAudioEnergy?: number;\n    totalDecodeTime?: number;\n    totalInterFrameDelay?: number;\n    totalProcessingDelay?: number;\n    totalSamplesDuration?: number;\n    totalSamplesReceived?: number;\n    totalSquaredInterFrameDelay?: number;\n}\n\ninterface RTCLocalSessionDescriptionInit {\n    sdp?: string;\n    type?: RTCSdpType;\n}\n\ninterface RTCOfferAnswerOptions {\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n    iceRestart?: boolean;\n    offerToReceiveAudio?: boolean;\n    offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {\n    firCount?: number;\n    frameHeight?: number;\n    frameWidth?: number;\n    framesEncoded?: number;\n    framesPerSecond?: number;\n    framesSent?: number;\n    headerBytesSent?: number;\n    hugeFramesSent?: number;\n    keyFramesEncoded?: number;\n    mediaSourceId?: string;\n    nackCount?: number;\n    pliCount?: number;\n    qpSum?: number;\n    qualityLimitationResolutionChanges?: number;\n    remoteId?: string;\n    retransmittedBytesSent?: number;\n    retransmittedPacketsSent?: number;\n    rid?: string;\n    targetBitrate?: number;\n    totalEncodeTime?: number;\n    totalEncodedBytesTarget?: number;\n    totalPacketSendDelay?: number;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n    address?: string | null;\n    errorCode: number;\n    errorText?: string;\n    port?: number | null;\n    url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n    candidate?: RTCIceCandidate | null;\n    url?: string | null;\n}\n\ninterface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {\n    jitter?: number;\n    packetsLost?: number;\n    packetsReceived?: number;\n}\n\ninterface RTCRtcpParameters {\n    cname?: string;\n    reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n    codecs: RTCRtpCodecCapability[];\n    headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n    channels?: number;\n    clockRate: number;\n    mimeType: string;\n    sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n    channels?: number;\n    clockRate: number;\n    mimeType: string;\n    payloadType: number;\n    sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n    rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n    audioLevel?: number;\n    rtpTimestamp: number;\n    source: number;\n    timestamp: DOMHighResTimeStamp;\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n    active?: boolean;\n    maxBitrate?: number;\n    maxFramerate?: number;\n    networkPriority?: RTCPriorityType;\n    priority?: RTCPriorityType;\n    scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n    uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n    encrypted?: boolean;\n    id: number;\n    uri: string;\n}\n\ninterface RTCRtpParameters {\n    codecs: RTCRtpCodecParameters[];\n    headerExtensions: RTCRtpHeaderExtensionParameters[];\n    rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n    degradationPreference?: RTCDegradationPreference;\n    encodings: RTCRtpEncodingParameters[];\n    transactionId: string;\n}\n\ninterface RTCRtpStreamStats extends RTCStats {\n    codecId?: string;\n    kind: string;\n    ssrc: number;\n    transportId?: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n}\n\ninterface RTCRtpTransceiverInit {\n    direction?: RTCRtpTransceiverDirection;\n    sendEncodings?: RTCRtpEncodingParameters[];\n    streams?: MediaStream[];\n}\n\ninterface RTCSentRtpStreamStats extends RTCRtpStreamStats {\n    bytesSent?: number;\n    packetsSent?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n    sdp?: string;\n    type: RTCSdpType;\n}\n\ninterface RTCStats {\n    id: string;\n    timestamp: DOMHighResTimeStamp;\n    type: RTCStatsType;\n}\n\ninterface RTCTrackEventInit extends EventInit {\n    receiver: RTCRtpReceiver;\n    streams?: MediaStream[];\n    track: MediaStreamTrack;\n    transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n    bytesReceived?: number;\n    bytesSent?: number;\n    dtlsCipher?: string;\n    dtlsState: RTCDtlsTransportState;\n    localCertificateId?: string;\n    remoteCertificateId?: string;\n    selectedCandidatePairId?: string;\n    srtpCipher?: string;\n    tlsVersion?: string;\n}\n\ninterface ReadableStreamGetReaderOptions {\n    /**\n     * Creates a ReadableStreamBYOBReader and locks the stream to the new reader.\n     *\n     * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle \"bring your own buffer\" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.\n     */\n    mode?: ReadableStreamReaderMode;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n    done: true;\n    value?: T;\n}\n\ninterface ReadableStreamReadValueResult<T> {\n    done: false;\n    value: T;\n}\n\ninterface ReadableWritablePair<R = any, W = any> {\n    readable: ReadableStream<R>;\n    /**\n     * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.\n     *\n     * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n     */\n    writable: WritableStream<W>;\n}\n\ninterface RegistrationOptions {\n    scope?: string;\n    type?: WorkerType;\n    updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n    /** A BodyInit object or null to set request's body. */\n    body?: BodyInit | null;\n    /** A string indicating how the request will interact with the browser's cache to set request's cache. */\n    cache?: RequestCache;\n    /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */\n    credentials?: RequestCredentials;\n    /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */\n    headers?: HeadersInit;\n    /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */\n    integrity?: string;\n    /** A boolean to set request's keepalive. */\n    keepalive?: boolean;\n    /** A string to set request's method. */\n    method?: string;\n    /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */\n    mode?: RequestMode;\n    /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */\n    redirect?: RequestRedirect;\n    /** A string whose value is a same-origin URL, \"about:client\", or the empty string, to set request's referrer. */\n    referrer?: string;\n    /** A referrer policy to set request's referrerPolicy. */\n    referrerPolicy?: ReferrerPolicy;\n    /** An AbortSignal to set request's signal. */\n    signal?: AbortSignal | null;\n    /** Can only be null. Used to disassociate request from any Window. */\n    window?: null;\n}\n\ninterface ResizeObserverOptions {\n    box?: ResizeObserverBoxOptions;\n}\n\ninterface ResponseInit {\n    headers?: HeadersInit;\n    status?: number;\n    statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n    hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n    hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n    modulusLength: number;\n    publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n    modulusLength: number;\n    publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n    label?: BufferSource;\n}\n\ninterface RsaOtherPrimesInfo {\n    d?: string;\n    r?: string;\n    t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n    saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n    clipped?: boolean;\n    fill?: boolean;\n    markers?: boolean;\n    stroke?: boolean;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n    block?: ScrollLogicalPosition;\n    inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n    behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n    left?: number;\n    top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n    blockedURI?: string;\n    columnNumber?: number;\n    disposition: SecurityPolicyViolationEventDisposition;\n    documentURI: string;\n    effectiveDirective: string;\n    lineNumber?: number;\n    originalPolicy: string;\n    referrer?: string;\n    sample?: string;\n    sourceFile?: string;\n    statusCode: number;\n    violatedDirective: string;\n}\n\ninterface ShadowRootInit {\n    delegatesFocus?: boolean;\n    mode: ShadowRootMode;\n    slotAssignment?: SlotAssignmentMode;\n}\n\ninterface ShareData {\n    files?: File[];\n    text?: string;\n    title?: string;\n    url?: string;\n}\n\ninterface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {\n    error: SpeechSynthesisErrorCode;\n}\n\ninterface SpeechSynthesisEventInit extends EventInit {\n    charIndex?: number;\n    charLength?: number;\n    elapsedTime?: number;\n    name?: string;\n    utterance: SpeechSynthesisUtterance;\n}\n\ninterface StaticRangeInit {\n    endContainer: Node;\n    endOffset: number;\n    startContainer: Node;\n    startOffset: number;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n    pan?: number;\n}\n\ninterface StorageEstimate {\n    quota?: number;\n    usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n    key?: string | null;\n    newValue?: string | null;\n    oldValue?: string | null;\n    storageArea?: Storage | null;\n    url?: string;\n}\n\ninterface StreamPipeOptions {\n    preventAbort?: boolean;\n    preventCancel?: boolean;\n    /**\n     * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.\n     *\n     * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n     *\n     * Errors and closures of the source and destination streams propagate as follows:\n     *\n     * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination.\n     *\n     * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source.\n     *\n     * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error.\n     *\n     * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source.\n     *\n     * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.\n     */\n    preventClose?: boolean;\n    signal?: AbortSignal;\n}\n\ninterface StructuredSerializeOptions {\n    transfer?: Transferable[];\n}\n\ninterface SubmitEventInit extends EventInit {\n    submitter?: HTMLElement | null;\n}\n\ninterface TextDecodeOptions {\n    stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n    fatal?: boolean;\n    ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n    read?: number;\n    written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n    changedTouches?: Touch[];\n    targetTouches?: Touch[];\n    touches?: Touch[];\n}\n\ninterface TouchInit {\n    altitudeAngle?: number;\n    azimuthAngle?: number;\n    clientX?: number;\n    clientY?: number;\n    force?: number;\n    identifier: number;\n    pageX?: number;\n    pageY?: number;\n    radiusX?: number;\n    radiusY?: number;\n    rotationAngle?: number;\n    screenX?: number;\n    screenY?: number;\n    target: EventTarget;\n    touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n    track?: TextTrack | null;\n}\n\ninterface Transformer<I = any, O = any> {\n    flush?: TransformerFlushCallback<O>;\n    readableType?: undefined;\n    start?: TransformerStartCallback<O>;\n    transform?: TransformerTransformCallback<I, O>;\n    writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n    elapsedTime?: number;\n    propertyName?: string;\n    pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n    detail?: number;\n    view?: Window | null;\n    /** @deprecated */\n    which?: number;\n}\n\ninterface ULongRange {\n    max?: number;\n    min?: number;\n}\n\ninterface UnderlyingByteSource {\n    autoAllocateChunkSize?: number;\n    cancel?: UnderlyingSourceCancelCallback;\n    pull?: (controller: ReadableByteStreamController) => void | PromiseLike<void>;\n    start?: (controller: ReadableByteStreamController) => any;\n    type: \"bytes\";\n}\n\ninterface UnderlyingDefaultSource<R = any> {\n    cancel?: UnderlyingSourceCancelCallback;\n    pull?: (controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>;\n    start?: (controller: ReadableStreamDefaultController<R>) => any;\n    type?: undefined;\n}\n\ninterface UnderlyingSink<W = any> {\n    abort?: UnderlyingSinkAbortCallback;\n    close?: UnderlyingSinkCloseCallback;\n    start?: UnderlyingSinkStartCallback;\n    type?: undefined;\n    write?: UnderlyingSinkWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n    autoAllocateChunkSize?: number;\n    cancel?: UnderlyingSourceCancelCallback;\n    pull?: UnderlyingSourcePullCallback<R>;\n    start?: UnderlyingSourceStartCallback<R>;\n    type?: ReadableStreamType;\n}\n\ninterface ValidityStateFlags {\n    badInput?: boolean;\n    customError?: boolean;\n    patternMismatch?: boolean;\n    rangeOverflow?: boolean;\n    rangeUnderflow?: boolean;\n    stepMismatch?: boolean;\n    tooLong?: boolean;\n    tooShort?: boolean;\n    typeMismatch?: boolean;\n    valueMissing?: boolean;\n}\n\ninterface VideoColorSpaceInit {\n    fullRange?: boolean | null;\n    matrix?: VideoMatrixCoefficients | null;\n    primaries?: VideoColorPrimaries | null;\n    transfer?: VideoTransferCharacteristics | null;\n}\n\ninterface VideoConfiguration {\n    bitrate: number;\n    colorGamut?: ColorGamut;\n    contentType: string;\n    framerate: number;\n    hdrMetadataType?: HdrMetadataType;\n    height: number;\n    scalabilityMode?: string;\n    transferFunction?: TransferFunction;\n    width: number;\n}\n\ninterface VideoFrameCallbackMetadata {\n    captureTime?: DOMHighResTimeStamp;\n    expectedDisplayTime: DOMHighResTimeStamp;\n    height: number;\n    mediaTime: number;\n    presentationTime: DOMHighResTimeStamp;\n    presentedFrames: number;\n    processingDuration?: number;\n    receiveTime?: DOMHighResTimeStamp;\n    rtpTimestamp?: number;\n    width: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n    curve?: number[] | Float32Array;\n    oversample?: OverSampleType;\n}\n\ninterface WebGLContextAttributes {\n    alpha?: boolean;\n    antialias?: boolean;\n    depth?: boolean;\n    desynchronized?: boolean;\n    failIfMajorPerformanceCaveat?: boolean;\n    powerPreference?: WebGLPowerPreference;\n    premultipliedAlpha?: boolean;\n    preserveDrawingBuffer?: boolean;\n    stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n    statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n    deltaMode?: number;\n    deltaX?: number;\n    deltaY?: number;\n    deltaZ?: number;\n}\n\ninterface WindowPostMessageOptions extends StructuredSerializeOptions {\n    targetOrigin?: string;\n}\n\ninterface WorkerOptions {\n    credentials?: RequestCredentials;\n    name?: string;\n    type?: WorkerType;\n}\n\ninterface WorkletOptions {\n    credentials?: RequestCredentials;\n}\n\ntype NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; };\n\ndeclare var NodeFilter: {\n    readonly FILTER_ACCEPT: 1;\n    readonly FILTER_REJECT: 2;\n    readonly FILTER_SKIP: 3;\n    readonly SHOW_ALL: 0xFFFFFFFF;\n    readonly SHOW_ELEMENT: 0x1;\n    readonly SHOW_ATTRIBUTE: 0x2;\n    readonly SHOW_TEXT: 0x4;\n    readonly SHOW_CDATA_SECTION: 0x8;\n    readonly SHOW_ENTITY_REFERENCE: 0x10;\n    readonly SHOW_ENTITY: 0x20;\n    readonly SHOW_PROCESSING_INSTRUCTION: 0x40;\n    readonly SHOW_COMMENT: 0x80;\n    readonly SHOW_DOCUMENT: 0x100;\n    readonly SHOW_DOCUMENT_TYPE: 0x200;\n    readonly SHOW_DOCUMENT_FRAGMENT: 0x400;\n    readonly SHOW_NOTATION: 0x800;\n};\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n    drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n    drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n    vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE;\n}\n\ninterface ARIAMixin {\n    ariaAtomic: string | null;\n    ariaAutoComplete: string | null;\n    ariaBusy: string | null;\n    ariaChecked: string | null;\n    ariaColCount: string | null;\n    ariaColIndex: string | null;\n    ariaColSpan: string | null;\n    ariaCurrent: string | null;\n    ariaDisabled: string | null;\n    ariaExpanded: string | null;\n    ariaHasPopup: string | null;\n    ariaHidden: string | null;\n    ariaInvalid: string | null;\n    ariaKeyShortcuts: string | null;\n    ariaLabel: string | null;\n    ariaLevel: string | null;\n    ariaLive: string | null;\n    ariaModal: string | null;\n    ariaMultiLine: string | null;\n    ariaMultiSelectable: string | null;\n    ariaOrientation: string | null;\n    ariaPlaceholder: string | null;\n    ariaPosInSet: string | null;\n    ariaPressed: string | null;\n    ariaReadOnly: string | null;\n    ariaRequired: string | null;\n    ariaRoleDescription: string | null;\n    ariaRowCount: string | null;\n    ariaRowIndex: string | null;\n    ariaRowSpan: string | null;\n    ariaSelected: string | null;\n    ariaSetSize: string | null;\n    ariaSort: string | null;\n    ariaValueMax: string | null;\n    ariaValueMin: string | null;\n    ariaValueNow: string | null;\n    ariaValueText: string | null;\n    role: string | null;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n    /** Returns the AbortSignal object associated with this object. */\n    readonly signal: AbortSignal;\n    /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */\n    abort(reason?: any): void;\n}\n\ndeclare var AbortController: {\n    prototype: AbortController;\n    new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n    \"abort\": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n    /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */\n    readonly aborted: boolean;\n    onabort: ((this: AbortSignal, ev: Event) => any) | null;\n    readonly reason: any;\n    throwIfAborted(): void;\n    addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n    prototype: AbortSignal;\n    new(): AbortSignal;\n    abort(reason?: any): AbortSignal;\n    timeout(milliseconds: number): AbortSignal;\n};\n\ninterface AbstractRange {\n    /** Returns true if range is collapsed, and false otherwise. */\n    readonly collapsed: boolean;\n    /** Returns range's end node. */\n    readonly endContainer: Node;\n    /** Returns range's end offset. */\n    readonly endOffset: number;\n    /** Returns range's start node. */\n    readonly startContainer: Node;\n    /** Returns range's start offset. */\n    readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n    prototype: AbstractRange;\n    new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n    \"error\": ErrorEvent;\n}\n\ninterface AbstractWorker {\n    onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n    addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */\ninterface AnalyserNode extends AudioNode {\n    fftSize: number;\n    readonly frequencyBinCount: number;\n    maxDecibels: number;\n    minDecibels: number;\n    smoothingTimeConstant: number;\n    getByteFrequencyData(array: Uint8Array): void;\n    getByteTimeDomainData(array: Uint8Array): void;\n    getFloatFrequencyData(array: Float32Array): void;\n    getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n    prototype: AnalyserNode;\n    new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n    animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n    getAnimations(options?: GetAnimationsOptions): Animation[];\n}\n\ninterface AnimationEventMap {\n    \"cancel\": AnimationPlaybackEvent;\n    \"finish\": AnimationPlaybackEvent;\n    \"remove\": Event;\n}\n\ninterface Animation extends EventTarget {\n    currentTime: CSSNumberish | null;\n    effect: AnimationEffect | null;\n    readonly finished: Promise<Animation>;\n    id: string;\n    oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n    onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n    onremove: ((this: Animation, ev: Event) => any) | null;\n    readonly pending: boolean;\n    readonly playState: AnimationPlayState;\n    playbackRate: number;\n    readonly ready: Promise<Animation>;\n    readonly replaceState: AnimationReplaceState;\n    startTime: CSSNumberish | null;\n    timeline: AnimationTimeline | null;\n    cancel(): void;\n    commitStyles(): void;\n    finish(): void;\n    pause(): void;\n    persist(): void;\n    play(): void;\n    reverse(): void;\n    updatePlaybackRate(playbackRate: number): void;\n    addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n    prototype: Animation;\n    new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n    getComputedTiming(): ComputedEffectTiming;\n    getTiming(): EffectTiming;\n    updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n    prototype: AnimationEffect;\n    new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n    readonly animationName: string;\n    readonly elapsedTime: number;\n    readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n    prototype: AnimationEvent;\n    new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n    cancelAnimationFrame(handle: number): void;\n    requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n    readonly currentTime: CSSNumberish | null;\n    readonly timelineTime: CSSNumberish | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n    prototype: AnimationPlaybackEvent;\n    new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n    readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n    prototype: AnimationTimeline;\n    new(): AnimationTimeline;\n};\n\n/** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */\ninterface Attr extends Node {\n    readonly localName: string;\n    readonly name: string;\n    readonly namespaceURI: string | null;\n    readonly ownerDocument: Document;\n    readonly ownerElement: Element | null;\n    readonly prefix: string | null;\n    /** @deprecated */\n    readonly specified: boolean;\n    value: string;\n}\n\ndeclare var Attr: {\n    prototype: Attr;\n    new(): Attr;\n};\n\n/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */\ninterface AudioBuffer {\n    readonly duration: number;\n    readonly length: number;\n    readonly numberOfChannels: number;\n    readonly sampleRate: number;\n    copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void;\n    copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void;\n    getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n    prototype: AudioBuffer;\n    new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n    buffer: AudioBuffer | null;\n    readonly detune: AudioParam;\n    loop: boolean;\n    loopEnd: number;\n    loopStart: number;\n    readonly playbackRate: AudioParam;\n    start(when?: number, offset?: number, duration?: number): void;\n    addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n    prototype: AudioBufferSourceNode;\n    new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n    readonly baseLatency: number;\n    readonly outputLatency: number;\n    close(): Promise<void>;\n    createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n    createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n    createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n    getOutputTimestamp(): AudioTimestamp;\n    resume(): Promise<void>;\n    suspend(): Promise<void>;\n    addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n    prototype: AudioContext;\n    new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */\ninterface AudioDestinationNode extends AudioNode {\n    readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n    prototype: AudioDestinationNode;\n    new(): AudioDestinationNode;\n};\n\n/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */\ninterface AudioListener {\n    readonly forwardX: AudioParam;\n    readonly forwardY: AudioParam;\n    readonly forwardZ: AudioParam;\n    readonly positionX: AudioParam;\n    readonly positionY: AudioParam;\n    readonly positionZ: AudioParam;\n    readonly upX: AudioParam;\n    readonly upY: AudioParam;\n    readonly upZ: AudioParam;\n    /** @deprecated */\n    setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n    /** @deprecated */\n    setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n    prototype: AudioListener;\n    new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n    channelCount: number;\n    channelCountMode: ChannelCountMode;\n    channelInterpretation: ChannelInterpretation;\n    readonly context: BaseAudioContext;\n    readonly numberOfInputs: number;\n    readonly numberOfOutputs: number;\n    connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n    connect(destinationParam: AudioParam, output?: number): void;\n    disconnect(): void;\n    disconnect(output: number): void;\n    disconnect(destinationNode: AudioNode): void;\n    disconnect(destinationNode: AudioNode, output: number): void;\n    disconnect(destinationNode: AudioNode, output: number, input: number): void;\n    disconnect(destinationParam: AudioParam): void;\n    disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n    prototype: AudioNode;\n    new(): AudioNode;\n};\n\n/** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n    automationRate: AutomationRate;\n    readonly defaultValue: number;\n    readonly maxValue: number;\n    readonly minValue: number;\n    value: number;\n    cancelAndHoldAtTime(cancelTime: number): AudioParam;\n    cancelScheduledValues(cancelTime: number): AudioParam;\n    exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n    linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n    setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n    setValueAtTime(value: number, startTime: number): AudioParam;\n    setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n    prototype: AudioParam;\n    new(): AudioParam;\n};\n\ninterface AudioParamMap {\n    forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n    prototype: AudioParamMap;\n    new(): AudioParamMap;\n};\n\n/**\n * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed.\n * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet.\n */\ninterface AudioProcessingEvent extends Event {\n    /** @deprecated */\n    readonly inputBuffer: AudioBuffer;\n    /** @deprecated */\n    readonly outputBuffer: AudioBuffer;\n    /** @deprecated */\n    readonly playbackTime: number;\n}\n\n/** @deprecated */\ndeclare var AudioProcessingEvent: {\n    prototype: AudioProcessingEvent;\n    new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n    \"ended\": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n    onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n    start(when?: number): void;\n    stop(when?: number): void;\n    addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n    prototype: AudioScheduledSourceNode;\n    new(): AudioScheduledSourceNode;\n};\n\n/** Available only in secure contexts. */\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n    prototype: AudioWorklet;\n    new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n    \"processorerror\": Event;\n}\n\n/** Available only in secure contexts. */\ninterface AudioWorkletNode extends AudioNode {\n    onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null;\n    readonly parameters: AudioParamMap;\n    readonly port: MessagePort;\n    addEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioWorkletNode: {\n    prototype: AudioWorkletNode;\n    new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode;\n};\n\n/** Available only in secure contexts. */\ninterface AuthenticatorAssertionResponse extends AuthenticatorResponse {\n    readonly authenticatorData: ArrayBuffer;\n    readonly signature: ArrayBuffer;\n    readonly userHandle: ArrayBuffer | null;\n}\n\ndeclare var AuthenticatorAssertionResponse: {\n    prototype: AuthenticatorAssertionResponse;\n    new(): AuthenticatorAssertionResponse;\n};\n\n/** Available only in secure contexts. */\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n    readonly attestationObject: ArrayBuffer;\n    getAuthenticatorData(): ArrayBuffer;\n    getPublicKey(): ArrayBuffer | null;\n    getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;\n    getTransports(): string[];\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n    prototype: AuthenticatorAttestationResponse;\n    new(): AuthenticatorAttestationResponse;\n};\n\n/** Available only in secure contexts. */\ninterface AuthenticatorResponse {\n    readonly clientDataJSON: ArrayBuffer;\n}\n\ndeclare var AuthenticatorResponse: {\n    prototype: AuthenticatorResponse;\n    new(): AuthenticatorResponse;\n};\n\ninterface BarProp {\n    readonly visible: boolean;\n}\n\ndeclare var BarProp: {\n    prototype: BarProp;\n    new(): BarProp;\n};\n\ninterface BaseAudioContextEventMap {\n    \"statechange\": Event;\n}\n\ninterface BaseAudioContext extends EventTarget {\n    /** Available only in secure contexts. */\n    readonly audioWorklet: AudioWorklet;\n    readonly currentTime: number;\n    readonly destination: AudioDestinationNode;\n    readonly listener: AudioListener;\n    onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;\n    readonly sampleRate: number;\n    readonly state: AudioContextState;\n    createAnalyser(): AnalyserNode;\n    createBiquadFilter(): BiquadFilterNode;\n    createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\n    createBufferSource(): AudioBufferSourceNode;\n    createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\n    createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\n    createConstantSource(): ConstantSourceNode;\n    createConvolver(): ConvolverNode;\n    createDelay(maxDelayTime?: number): DelayNode;\n    createDynamicsCompressor(): DynamicsCompressorNode;\n    createGain(): GainNode;\n    createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;\n    createOscillator(): OscillatorNode;\n    createPanner(): PannerNode;\n    createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;\n    /** @deprecated */\n    createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\n    createStereoPanner(): StereoPannerNode;\n    createWaveShaper(): WaveShaperNode;\n    decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise<AudioBuffer>;\n    addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BaseAudioContext: {\n    prototype: BaseAudioContext;\n    new(): BaseAudioContext;\n};\n\n/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */\ninterface BeforeUnloadEvent extends Event {\n    returnValue: any;\n}\n\ndeclare var BeforeUnloadEvent: {\n    prototype: BeforeUnloadEvent;\n    new(): BeforeUnloadEvent;\n};\n\n/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */\ninterface BiquadFilterNode extends AudioNode {\n    readonly Q: AudioParam;\n    readonly detune: AudioParam;\n    readonly frequency: AudioParam;\n    readonly gain: AudioParam;\n    type: BiquadFilterType;\n    getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var BiquadFilterNode: {\n    prototype: BiquadFilterNode;\n    new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;\n};\n\n/** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */\ninterface Blob {\n    readonly size: number;\n    readonly type: string;\n    arrayBuffer(): Promise<ArrayBuffer>;\n    slice(start?: number, end?: number, contentType?: string): Blob;\n    stream(): ReadableStream<Uint8Array>;\n    text(): Promise<string>;\n}\n\ndeclare var Blob: {\n    prototype: Blob;\n    new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface BlobEvent extends Event {\n    readonly data: Blob;\n    readonly timecode: DOMHighResTimeStamp;\n}\n\ndeclare var BlobEvent: {\n    prototype: BlobEvent;\n    new(type: string, eventInitDict: BlobEventInit): BlobEvent;\n};\n\ninterface Body {\n    readonly body: ReadableStream<Uint8Array> | null;\n    readonly bodyUsed: boolean;\n    arrayBuffer(): Promise<ArrayBuffer>;\n    blob(): Promise<Blob>;\n    formData(): Promise<FormData>;\n    json(): Promise<any>;\n    text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n    /** Returns the channel name (as passed to the constructor). */\n    readonly name: string;\n    onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n    /** Closes the BroadcastChannel object, opening it up to garbage collection. */\n    close(): void;\n    /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */\n    postMessage(message: any): void;\n    addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n    prototype: BroadcastChannel;\n    new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides\\xA0a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n    readonly highWaterMark: number;\n    readonly size: QueuingStrategySize<ArrayBufferView>;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n    prototype: ByteLengthQueuingStrategy;\n    new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don\\u2019t need escaping as they normally do when inside a CDATA section. */\ninterface CDATASection extends Text {\n}\n\ndeclare var CDATASection: {\n    prototype: CDATASection;\n    new(): CDATASection;\n};\n\ninterface CSSAnimation extends Animation {\n    readonly animationName: string;\n    addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CSSAnimation: {\n    prototype: CSSAnimation;\n    new(): CSSAnimation;\n};\n\n/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */\ninterface CSSConditionRule extends CSSGroupingRule {\n    readonly conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n    prototype: CSSConditionRule;\n    new(): CSSConditionRule;\n};\n\ninterface CSSContainerRule extends CSSConditionRule {\n}\n\ndeclare var CSSContainerRule: {\n    prototype: CSSContainerRule;\n    new(): CSSContainerRule;\n};\n\ninterface CSSCounterStyleRule extends CSSRule {\n    additiveSymbols: string;\n    fallback: string;\n    name: string;\n    negative: string;\n    pad: string;\n    prefix: string;\n    range: string;\n    speakAs: string;\n    suffix: string;\n    symbols: string;\n    system: string;\n}\n\ndeclare var CSSCounterStyleRule: {\n    prototype: CSSCounterStyleRule;\n    new(): CSSCounterStyleRule;\n};\n\ninterface CSSFontFaceRule extends CSSRule {\n    readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSFontFaceRule: {\n    prototype: CSSFontFaceRule;\n    new(): CSSFontFaceRule;\n};\n\ninterface CSSFontFeatureValuesRule extends CSSRule {\n    fontFamily: string;\n}\n\ndeclare var CSSFontFeatureValuesRule: {\n    prototype: CSSFontFeatureValuesRule;\n    new(): CSSFontFeatureValuesRule;\n};\n\ninterface CSSFontPaletteValuesRule extends CSSRule {\n    readonly basePalette: string;\n    readonly fontFamily: string;\n    readonly name: string;\n    readonly overrideColors: string;\n}\n\ndeclare var CSSFontPaletteValuesRule: {\n    prototype: CSSFontPaletteValuesRule;\n    new(): CSSFontPaletteValuesRule;\n};\n\n/** Any CSS at-rule that contains other rules nested within it. */\ninterface CSSGroupingRule extends CSSRule {\n    readonly cssRules: CSSRuleList;\n    deleteRule(index: number): void;\n    insertRule(rule: string, index?: number): number;\n}\n\ndeclare var CSSGroupingRule: {\n    prototype: CSSGroupingRule;\n    new(): CSSGroupingRule;\n};\n\ninterface CSSImportRule extends CSSRule {\n    readonly href: string;\n    readonly layerName: string | null;\n    readonly media: MediaList;\n    readonly styleSheet: CSSStyleSheet;\n}\n\ndeclare var CSSImportRule: {\n    prototype: CSSImportRule;\n    new(): CSSImportRule;\n};\n\n/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */\ninterface CSSKeyframeRule extends CSSRule {\n    keyText: string;\n    readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSKeyframeRule: {\n    prototype: CSSKeyframeRule;\n    new(): CSSKeyframeRule;\n};\n\n/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */\ninterface CSSKeyframesRule extends CSSRule {\n    readonly cssRules: CSSRuleList;\n    name: string;\n    appendRule(rule: string): void;\n    deleteRule(select: string): void;\n    findRule(select: string): CSSKeyframeRule | null;\n    [index: number]: CSSKeyframeRule;\n}\n\ndeclare var CSSKeyframesRule: {\n    prototype: CSSKeyframesRule;\n    new(): CSSKeyframesRule;\n};\n\ninterface CSSLayerBlockRule extends CSSGroupingRule {\n    readonly name: string;\n}\n\ndeclare var CSSLayerBlockRule: {\n    prototype: CSSLayerBlockRule;\n    new(): CSSLayerBlockRule;\n};\n\ninterface CSSLayerStatementRule extends CSSRule {\n    readonly nameList: ReadonlyArray<string>;\n}\n\ndeclare var CSSLayerStatementRule: {\n    prototype: CSSLayerStatementRule;\n    new(): CSSLayerStatementRule;\n};\n\n/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */\ninterface CSSMediaRule extends CSSConditionRule {\n    readonly media: MediaList;\n}\n\ndeclare var CSSMediaRule: {\n    prototype: CSSMediaRule;\n    new(): CSSMediaRule;\n};\n\n/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */\ninterface CSSNamespaceRule extends CSSRule {\n    readonly namespaceURI: string;\n    readonly prefix: string;\n}\n\ndeclare var CSSNamespaceRule: {\n    prototype: CSSNamespaceRule;\n    new(): CSSNamespaceRule;\n};\n\n/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */\ninterface CSSPageRule extends CSSGroupingRule {\n    selectorText: string;\n    readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSPageRule: {\n    prototype: CSSPageRule;\n    new(): CSSPageRule;\n};\n\n/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */\ninterface CSSRule {\n    cssText: string;\n    readonly parentRule: CSSRule | null;\n    readonly parentStyleSheet: CSSStyleSheet | null;\n    /** @deprecated */\n    readonly type: number;\n    readonly STYLE_RULE: 1;\n    readonly CHARSET_RULE: 2;\n    readonly IMPORT_RULE: 3;\n    readonly MEDIA_RULE: 4;\n    readonly FONT_FACE_RULE: 5;\n    readonly PAGE_RULE: 6;\n    readonly NAMESPACE_RULE: 10;\n    readonly KEYFRAMES_RULE: 7;\n    readonly KEYFRAME_RULE: 8;\n    readonly SUPPORTS_RULE: 12;\n}\n\ndeclare var CSSRule: {\n    prototype: CSSRule;\n    new(): CSSRule;\n    readonly STYLE_RULE: 1;\n    readonly CHARSET_RULE: 2;\n    readonly IMPORT_RULE: 3;\n    readonly MEDIA_RULE: 4;\n    readonly FONT_FACE_RULE: 5;\n    readonly PAGE_RULE: 6;\n    readonly NAMESPACE_RULE: 10;\n    readonly KEYFRAMES_RULE: 7;\n    readonly KEYFRAME_RULE: 8;\n    readonly SUPPORTS_RULE: 12;\n};\n\n/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */\ninterface CSSRuleList {\n    readonly length: number;\n    item(index: number): CSSRule | null;\n    [index: number]: CSSRule;\n}\n\ndeclare var CSSRuleList: {\n    prototype: CSSRuleList;\n    new(): CSSRuleList;\n};\n\n/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */\ninterface CSSStyleDeclaration {\n    accentColor: string;\n    alignContent: string;\n    alignItems: string;\n    alignSelf: string;\n    alignmentBaseline: string;\n    all: string;\n    animation: string;\n    animationDelay: string;\n    animationDirection: string;\n    animationDuration: string;\n    animationFillMode: string;\n    animationIterationCount: string;\n    animationName: string;\n    animationPlayState: string;\n    animationTimingFunction: string;\n    appearance: string;\n    aspectRatio: string;\n    backdropFilter: string;\n    backfaceVisibility: string;\n    background: string;\n    backgroundAttachment: string;\n    backgroundBlendMode: string;\n    backgroundClip: string;\n    backgroundColor: string;\n    backgroundImage: string;\n    backgroundOrigin: string;\n    backgroundPosition: string;\n    backgroundPositionX: string;\n    backgroundPositionY: string;\n    backgroundRepeat: string;\n    backgroundSize: string;\n    baselineShift: string;\n    blockSize: string;\n    border: string;\n    borderBlock: string;\n    borderBlockColor: string;\n    borderBlockEnd: string;\n    borderBlockEndColor: string;\n    borderBlockEndStyle: string;\n    borderBlockEndWidth: string;\n    borderBlockStart: string;\n    borderBlockStartColor: string;\n    borderBlockStartStyle: string;\n    borderBlockStartWidth: string;\n    borderBlockStyle: string;\n    borderBlockWidth: string;\n    borderBottom: string;\n    borderBottomColor: string;\n    borderBottomLeftRadius: string;\n    borderBottomRightRadius: string;\n    borderBottomStyle: string;\n    borderBottomWidth: string;\n    borderCollapse: string;\n    borderColor: string;\n    borderEndEndRadius: string;\n    borderEndStartRadius: string;\n    borderImage: string;\n    borderImageOutset: string;\n    borderImageRepeat: string;\n    borderImageSlice: string;\n    borderImageSource: string;\n    borderImageWidth: string;\n    borderInline: string;\n    borderInlineColor: string;\n    borderInlineEnd: string;\n    borderInlineEndColor: string;\n    borderInlineEndStyle: string;\n    borderInlineEndWidth: string;\n    borderInlineStart: string;\n    borderInlineStartColor: string;\n    borderInlineStartStyle: string;\n    borderInlineStartWidth: string;\n    borderInlineStyle: string;\n    borderInlineWidth: string;\n    borderLeft: string;\n    borderLeftColor: string;\n    borderLeftStyle: string;\n    borderLeftWidth: string;\n    borderRadius: string;\n    borderRight: string;\n    borderRightColor: string;\n    borderRightStyle: string;\n    borderRightWidth: string;\n    borderSpacing: string;\n    borderStartEndRadius: string;\n    borderStartStartRadius: string;\n    borderStyle: string;\n    borderTop: string;\n    borderTopColor: string;\n    borderTopLeftRadius: string;\n    borderTopRightRadius: string;\n    borderTopStyle: string;\n    borderTopWidth: string;\n    borderWidth: string;\n    bottom: string;\n    boxShadow: string;\n    boxSizing: string;\n    breakAfter: string;\n    breakBefore: string;\n    breakInside: string;\n    captionSide: string;\n    caretColor: string;\n    clear: string;\n    /** @deprecated */\n    clip: string;\n    clipPath: string;\n    clipRule: string;\n    color: string;\n    colorInterpolation: string;\n    colorInterpolationFilters: string;\n    colorScheme: string;\n    columnCount: string;\n    columnFill: string;\n    columnGap: string;\n    columnRule: string;\n    columnRuleColor: string;\n    columnRuleStyle: string;\n    columnRuleWidth: string;\n    columnSpan: string;\n    columnWidth: string;\n    columns: string;\n    contain: string;\n    containIntrinsicBlockSize: string;\n    containIntrinsicHeight: string;\n    containIntrinsicInlineSize: string;\n    containIntrinsicSize: string;\n    containIntrinsicWidth: string;\n    container: string;\n    containerName: string;\n    containerType: string;\n    content: string;\n    contentVisibility: string;\n    counterIncrement: string;\n    counterReset: string;\n    counterSet: string;\n    cssFloat: string;\n    cssText: string;\n    cursor: string;\n    direction: string;\n    display: string;\n    dominantBaseline: string;\n    emptyCells: string;\n    fill: string;\n    fillOpacity: string;\n    fillRule: string;\n    filter: string;\n    flex: string;\n    flexBasis: string;\n    flexDirection: string;\n    flexFlow: string;\n    flexGrow: string;\n    flexShrink: string;\n    flexWrap: string;\n    float: string;\n    floodColor: string;\n    floodOpacity: string;\n    font: string;\n    fontFamily: string;\n    fontFeatureSettings: string;\n    fontKerning: string;\n    fontOpticalSizing: string;\n    fontPalette: string;\n    fontSize: string;\n    fontSizeAdjust: string;\n    fontStretch: string;\n    fontStyle: string;\n    fontSynthesis: string;\n    fontVariant: string;\n    fontVariantAlternates: string;\n    fontVariantCaps: string;\n    fontVariantEastAsian: string;\n    fontVariantLigatures: string;\n    fontVariantNumeric: string;\n    fontVariantPosition: string;\n    fontVariationSettings: string;\n    fontWeight: string;\n    gap: string;\n    grid: string;\n    gridArea: string;\n    gridAutoColumns: string;\n    gridAutoFlow: string;\n    gridAutoRows: string;\n    gridColumn: string;\n    gridColumnEnd: string;\n    /** @deprecated This is a legacy alias of \\`columnGap\\`. */\n    gridColumnGap: string;\n    gridColumnStart: string;\n    /** @deprecated This is a legacy alias of \\`gap\\`. */\n    gridGap: string;\n    gridRow: string;\n    gridRowEnd: string;\n    /** @deprecated This is a legacy alias of \\`rowGap\\`. */\n    gridRowGap: string;\n    gridRowStart: string;\n    gridTemplate: string;\n    gridTemplateAreas: string;\n    gridTemplateColumns: string;\n    gridTemplateRows: string;\n    height: string;\n    hyphenateCharacter: string;\n    hyphens: string;\n    /** @deprecated */\n    imageOrientation: string;\n    imageRendering: string;\n    inlineSize: string;\n    inset: string;\n    insetBlock: string;\n    insetBlockEnd: string;\n    insetBlockStart: string;\n    insetInline: string;\n    insetInlineEnd: string;\n    insetInlineStart: string;\n    isolation: string;\n    justifyContent: string;\n    justifyItems: string;\n    justifySelf: string;\n    left: string;\n    readonly length: number;\n    letterSpacing: string;\n    lightingColor: string;\n    lineBreak: string;\n    lineHeight: string;\n    listStyle: string;\n    listStyleImage: string;\n    listStylePosition: string;\n    listStyleType: string;\n    margin: string;\n    marginBlock: string;\n    marginBlockEnd: string;\n    marginBlockStart: string;\n    marginBottom: string;\n    marginInline: string;\n    marginInlineEnd: string;\n    marginInlineStart: string;\n    marginLeft: string;\n    marginRight: string;\n    marginTop: string;\n    marker: string;\n    markerEnd: string;\n    markerMid: string;\n    markerStart: string;\n    mask: string;\n    maskClip: string;\n    maskComposite: string;\n    maskImage: string;\n    maskMode: string;\n    maskOrigin: string;\n    maskPosition: string;\n    maskRepeat: string;\n    maskSize: string;\n    maskType: string;\n    mathStyle: string;\n    maxBlockSize: string;\n    maxHeight: string;\n    maxInlineSize: string;\n    maxWidth: string;\n    minBlockSize: string;\n    minHeight: string;\n    minInlineSize: string;\n    minWidth: string;\n    mixBlendMode: string;\n    objectFit: string;\n    objectPosition: string;\n    offset: string;\n    offsetDistance: string;\n    offsetPath: string;\n    offsetRotate: string;\n    opacity: string;\n    order: string;\n    orphans: string;\n    outline: string;\n    outlineColor: string;\n    outlineOffset: string;\n    outlineStyle: string;\n    outlineWidth: string;\n    overflow: string;\n    overflowAnchor: string;\n    overflowClipMargin: string;\n    overflowWrap: string;\n    overflowX: string;\n    overflowY: string;\n    overscrollBehavior: string;\n    overscrollBehaviorBlock: string;\n    overscrollBehaviorInline: string;\n    overscrollBehaviorX: string;\n    overscrollBehaviorY: string;\n    padding: string;\n    paddingBlock: string;\n    paddingBlockEnd: string;\n    paddingBlockStart: string;\n    paddingBottom: string;\n    paddingInline: string;\n    paddingInlineEnd: string;\n    paddingInlineStart: string;\n    paddingLeft: string;\n    paddingRight: string;\n    paddingTop: string;\n    pageBreakAfter: string;\n    pageBreakBefore: string;\n    pageBreakInside: string;\n    paintOrder: string;\n    readonly parentRule: CSSRule | null;\n    perspective: string;\n    perspectiveOrigin: string;\n    placeContent: string;\n    placeItems: string;\n    placeSelf: string;\n    pointerEvents: string;\n    position: string;\n    printColorAdjust: string;\n    quotes: string;\n    resize: string;\n    right: string;\n    rotate: string;\n    rowGap: string;\n    rubyPosition: string;\n    scale: string;\n    scrollBehavior: string;\n    scrollMargin: string;\n    scrollMarginBlock: string;\n    scrollMarginBlockEnd: string;\n    scrollMarginBlockStart: string;\n    scrollMarginBottom: string;\n    scrollMarginInline: string;\n    scrollMarginInlineEnd: string;\n    scrollMarginInlineStart: string;\n    scrollMarginLeft: string;\n    scrollMarginRight: string;\n    scrollMarginTop: string;\n    scrollPadding: string;\n    scrollPaddingBlock: string;\n    scrollPaddingBlockEnd: string;\n    scrollPaddingBlockStart: string;\n    scrollPaddingBottom: string;\n    scrollPaddingInline: string;\n    scrollPaddingInlineEnd: string;\n    scrollPaddingInlineStart: string;\n    scrollPaddingLeft: string;\n    scrollPaddingRight: string;\n    scrollPaddingTop: string;\n    scrollSnapAlign: string;\n    scrollSnapStop: string;\n    scrollSnapType: string;\n    scrollbarGutter: string;\n    shapeImageThreshold: string;\n    shapeMargin: string;\n    shapeOutside: string;\n    shapeRendering: string;\n    stopColor: string;\n    stopOpacity: string;\n    stroke: string;\n    strokeDasharray: string;\n    strokeDashoffset: string;\n    strokeLinecap: string;\n    strokeLinejoin: string;\n    strokeMiterlimit: string;\n    strokeOpacity: string;\n    strokeWidth: string;\n    tabSize: string;\n    tableLayout: string;\n    textAlign: string;\n    textAlignLast: string;\n    textAnchor: string;\n    textCombineUpright: string;\n    textDecoration: string;\n    textDecorationColor: string;\n    textDecorationLine: string;\n    textDecorationSkipInk: string;\n    textDecorationStyle: string;\n    textDecorationThickness: string;\n    textEmphasis: string;\n    textEmphasisColor: string;\n    textEmphasisPosition: string;\n    textEmphasisStyle: string;\n    textIndent: string;\n    textOrientation: string;\n    textOverflow: string;\n    textRendering: string;\n    textShadow: string;\n    textTransform: string;\n    textUnderlineOffset: string;\n    textUnderlinePosition: string;\n    top: string;\n    touchAction: string;\n    transform: string;\n    transformBox: string;\n    transformOrigin: string;\n    transformStyle: string;\n    transition: string;\n    transitionDelay: string;\n    transitionDuration: string;\n    transitionProperty: string;\n    transitionTimingFunction: string;\n    translate: string;\n    unicodeBidi: string;\n    userSelect: string;\n    verticalAlign: string;\n    visibility: string;\n    /** @deprecated This is a legacy alias of \\`alignContent\\`. */\n    webkitAlignContent: string;\n    /** @deprecated This is a legacy alias of \\`alignItems\\`. */\n    webkitAlignItems: string;\n    /** @deprecated This is a legacy alias of \\`alignSelf\\`. */\n    webkitAlignSelf: string;\n    /** @deprecated This is a legacy alias of \\`animation\\`. */\n    webkitAnimation: string;\n    /** @deprecated This is a legacy alias of \\`animationDelay\\`. */\n    webkitAnimationDelay: string;\n    /** @deprecated This is a legacy alias of \\`animationDirection\\`. */\n    webkitAnimationDirection: string;\n    /** @deprecated This is a legacy alias of \\`animationDuration\\`. */\n    webkitAnimationDuration: string;\n    /** @deprecated This is a legacy alias of \\`animationFillMode\\`. */\n    webkitAnimationFillMode: string;\n    /** @deprecated This is a legacy alias of \\`animationIterationCount\\`. */\n    webkitAnimationIterationCount: string;\n    /** @deprecated This is a legacy alias of \\`animationName\\`. */\n    webkitAnimationName: string;\n    /** @deprecated This is a legacy alias of \\`animationPlayState\\`. */\n    webkitAnimationPlayState: string;\n    /** @deprecated This is a legacy alias of \\`animationTimingFunction\\`. */\n    webkitAnimationTimingFunction: string;\n    /** @deprecated This is a legacy alias of \\`appearance\\`. */\n    webkitAppearance: string;\n    /** @deprecated This is a legacy alias of \\`backfaceVisibility\\`. */\n    webkitBackfaceVisibility: string;\n    /** @deprecated This is a legacy alias of \\`backgroundClip\\`. */\n    webkitBackgroundClip: string;\n    /** @deprecated This is a legacy alias of \\`backgroundOrigin\\`. */\n    webkitBackgroundOrigin: string;\n    /** @deprecated This is a legacy alias of \\`backgroundSize\\`. */\n    webkitBackgroundSize: string;\n    /** @deprecated This is a legacy alias of \\`borderBottomLeftRadius\\`. */\n    webkitBorderBottomLeftRadius: string;\n    /** @deprecated This is a legacy alias of \\`borderBottomRightRadius\\`. */\n    webkitBorderBottomRightRadius: string;\n    /** @deprecated This is a legacy alias of \\`borderRadius\\`. */\n    webkitBorderRadius: string;\n    /** @deprecated This is a legacy alias of \\`borderTopLeftRadius\\`. */\n    webkitBorderTopLeftRadius: string;\n    /** @deprecated This is a legacy alias of \\`borderTopRightRadius\\`. */\n    webkitBorderTopRightRadius: string;\n    /** @deprecated This is a legacy alias of \\`boxAlign\\`. */\n    webkitBoxAlign: string;\n    /** @deprecated This is a legacy alias of \\`boxFlex\\`. */\n    webkitBoxFlex: string;\n    /** @deprecated This is a legacy alias of \\`boxOrdinalGroup\\`. */\n    webkitBoxOrdinalGroup: string;\n    /** @deprecated This is a legacy alias of \\`boxOrient\\`. */\n    webkitBoxOrient: string;\n    /** @deprecated This is a legacy alias of \\`boxPack\\`. */\n    webkitBoxPack: string;\n    /** @deprecated This is a legacy alias of \\`boxShadow\\`. */\n    webkitBoxShadow: string;\n    /** @deprecated This is a legacy alias of \\`boxSizing\\`. */\n    webkitBoxSizing: string;\n    /** @deprecated This is a legacy alias of \\`filter\\`. */\n    webkitFilter: string;\n    /** @deprecated This is a legacy alias of \\`flex\\`. */\n    webkitFlex: string;\n    /** @deprecated This is a legacy alias of \\`flexBasis\\`. */\n    webkitFlexBasis: string;\n    /** @deprecated This is a legacy alias of \\`flexDirection\\`. */\n    webkitFlexDirection: string;\n    /** @deprecated This is a legacy alias of \\`flexFlow\\`. */\n    webkitFlexFlow: string;\n    /** @deprecated This is a legacy alias of \\`flexGrow\\`. */\n    webkitFlexGrow: string;\n    /** @deprecated This is a legacy alias of \\`flexShrink\\`. */\n    webkitFlexShrink: string;\n    /** @deprecated This is a legacy alias of \\`flexWrap\\`. */\n    webkitFlexWrap: string;\n    /** @deprecated This is a legacy alias of \\`justifyContent\\`. */\n    webkitJustifyContent: string;\n    webkitLineClamp: string;\n    /** @deprecated This is a legacy alias of \\`mask\\`. */\n    webkitMask: string;\n    /** @deprecated This is a legacy alias of \\`maskBorder\\`. */\n    webkitMaskBoxImage: string;\n    /** @deprecated This is a legacy alias of \\`maskBorderOutset\\`. */\n    webkitMaskBoxImageOutset: string;\n    /** @deprecated This is a legacy alias of \\`maskBorderRepeat\\`. */\n    webkitMaskBoxImageRepeat: string;\n    /** @deprecated This is a legacy alias of \\`maskBorderSlice\\`. */\n    webkitMaskBoxImageSlice: string;\n    /** @deprecated This is a legacy alias of \\`maskBorderSource\\`. */\n    webkitMaskBoxImageSource: string;\n    /** @deprecated This is a legacy alias of \\`maskBorderWidth\\`. */\n    webkitMaskBoxImageWidth: string;\n    /** @deprecated This is a legacy alias of \\`maskClip\\`. */\n    webkitMaskClip: string;\n    webkitMaskComposite: string;\n    /** @deprecated This is a legacy alias of \\`maskImage\\`. */\n    webkitMaskImage: string;\n    /** @deprecated This is a legacy alias of \\`maskOrigin\\`. */\n    webkitMaskOrigin: string;\n    /** @deprecated This is a legacy alias of \\`maskPosition\\`. */\n    webkitMaskPosition: string;\n    /** @deprecated This is a legacy alias of \\`maskRepeat\\`. */\n    webkitMaskRepeat: string;\n    /** @deprecated This is a legacy alias of \\`maskSize\\`. */\n    webkitMaskSize: string;\n    /** @deprecated This is a legacy alias of \\`order\\`. */\n    webkitOrder: string;\n    /** @deprecated This is a legacy alias of \\`perspective\\`. */\n    webkitPerspective: string;\n    /** @deprecated This is a legacy alias of \\`perspectiveOrigin\\`. */\n    webkitPerspectiveOrigin: string;\n    webkitTextFillColor: string;\n    /** @deprecated This is a legacy alias of \\`textSizeAdjust\\`. */\n    webkitTextSizeAdjust: string;\n    webkitTextStroke: string;\n    webkitTextStrokeColor: string;\n    webkitTextStrokeWidth: string;\n    /** @deprecated This is a legacy alias of \\`transform\\`. */\n    webkitTransform: string;\n    /** @deprecated This is a legacy alias of \\`transformOrigin\\`. */\n    webkitTransformOrigin: string;\n    /** @deprecated This is a legacy alias of \\`transformStyle\\`. */\n    webkitTransformStyle: string;\n    /** @deprecated This is a legacy alias of \\`transition\\`. */\n    webkitTransition: string;\n    /** @deprecated This is a legacy alias of \\`transitionDelay\\`. */\n    webkitTransitionDelay: string;\n    /** @deprecated This is a legacy alias of \\`transitionDuration\\`. */\n    webkitTransitionDuration: string;\n    /** @deprecated This is a legacy alias of \\`transitionProperty\\`. */\n    webkitTransitionProperty: string;\n    /** @deprecated This is a legacy alias of \\`transitionTimingFunction\\`. */\n    webkitTransitionTimingFunction: string;\n    /** @deprecated This is a legacy alias of \\`userSelect\\`. */\n    webkitUserSelect: string;\n    whiteSpace: string;\n    widows: string;\n    width: string;\n    willChange: string;\n    wordBreak: string;\n    wordSpacing: string;\n    /** @deprecated */\n    wordWrap: string;\n    writingMode: string;\n    zIndex: string;\n    getPropertyPriority(property: string): string;\n    getPropertyValue(property: string): string;\n    item(index: number): string;\n    removeProperty(property: string): string;\n    setProperty(property: string, value: string | null, priority?: string): void;\n    [index: number]: string;\n}\n\ndeclare var CSSStyleDeclaration: {\n    prototype: CSSStyleDeclaration;\n    new(): CSSStyleDeclaration;\n};\n\n/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */\ninterface CSSStyleRule extends CSSRule {\n    selectorText: string;\n    readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSStyleRule: {\n    prototype: CSSStyleRule;\n    new(): CSSStyleRule;\n};\n\n/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */\ninterface CSSStyleSheet extends StyleSheet {\n    readonly cssRules: CSSRuleList;\n    readonly ownerRule: CSSRule | null;\n    /** @deprecated */\n    readonly rules: CSSRuleList;\n    /** @deprecated */\n    addRule(selector?: string, style?: string, index?: number): number;\n    deleteRule(index: number): void;\n    insertRule(rule: string, index?: number): number;\n    /** @deprecated */\n    removeRule(index?: number): void;\n    replace(text: string): Promise<CSSStyleSheet>;\n    replaceSync(text: string): void;\n}\n\ndeclare var CSSStyleSheet: {\n    prototype: CSSStyleSheet;\n    new(options?: CSSStyleSheetInit): CSSStyleSheet;\n};\n\n/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */\ninterface CSSSupportsRule extends CSSConditionRule {\n}\n\ndeclare var CSSSupportsRule: {\n    prototype: CSSSupportsRule;\n    new(): CSSSupportsRule;\n};\n\ninterface CSSTransition extends Animation {\n    readonly transitionProperty: string;\n    addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CSSTransition: {\n    prototype: CSSTransition;\n    new(): CSSTransition;\n};\n\n/**\n * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.\n * Available only in secure contexts.\n */\ninterface Cache {\n    add(request: RequestInfo | URL): Promise<void>;\n    addAll(requests: RequestInfo[]): Promise<void>;\n    delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;\n    keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n    match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;\n    matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n    put(request: RequestInfo | URL, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n    prototype: Cache;\n    new(): Cache;\n};\n\n/**\n * The storage for Cache objects.\n * Available only in secure contexts.\n */\ninterface CacheStorage {\n    delete(cacheName: string): Promise<boolean>;\n    has(cacheName: string): Promise<boolean>;\n    keys(): Promise<string[]>;\n    match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n    open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n    prototype: CacheStorage;\n    new(): CacheStorage;\n};\n\ninterface CanvasCaptureMediaStreamTrack extends MediaStreamTrack {\n    readonly canvas: HTMLCanvasElement;\n    requestFrame(): void;\n    addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CanvasCaptureMediaStreamTrack: {\n    prototype: CanvasCaptureMediaStreamTrack;\n    new(): CanvasCaptureMediaStreamTrack;\n};\n\ninterface CanvasCompositing {\n    globalAlpha: number;\n    globalCompositeOperation: GlobalCompositeOperation;\n}\n\ninterface CanvasDrawImage {\n    drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n    drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n    drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n    beginPath(): void;\n    clip(fillRule?: CanvasFillRule): void;\n    clip(path: Path2D, fillRule?: CanvasFillRule): void;\n    fill(fillRule?: CanvasFillRule): void;\n    fill(path: Path2D, fillRule?: CanvasFillRule): void;\n    isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n    isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n    isPointInStroke(x: number, y: number): boolean;\n    isPointInStroke(path: Path2D, x: number, y: number): boolean;\n    stroke(): void;\n    stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n    fillStyle: string | CanvasGradient | CanvasPattern;\n    strokeStyle: string | CanvasGradient | CanvasPattern;\n    createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;\n    createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n    createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n    createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n    filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n    /**\n     * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.\n     *\n     * Throws an \"IndexSizeError\" DOMException if the offset is out of range. Throws a \"SyntaxError\" DOMException if the color cannot be parsed.\n     */\n    addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n    prototype: CanvasGradient;\n    new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n    createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n    createImageData(imagedata: ImageData): ImageData;\n    getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n    putImageData(imagedata: ImageData, dx: number, dy: number): void;\n    putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n    imageSmoothingEnabled: boolean;\n    imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n    arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n    arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n    bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n    closePath(): void;\n    ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n    lineTo(x: number, y: number): void;\n    moveTo(x: number, y: number): void;\n    quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n    rect(x: number, y: number, w: number, h: number): void;\n    roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;\n}\n\ninterface CanvasPathDrawingStyles {\n    lineCap: CanvasLineCap;\n    lineDashOffset: number;\n    lineJoin: CanvasLineJoin;\n    lineWidth: number;\n    miterLimit: number;\n    getLineDash(): number[];\n    setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n    /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */\n    setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n    prototype: CanvasPattern;\n    new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n    clearRect(x: number, y: number, w: number, h: number): void;\n    fillRect(x: number, y: number, w: number, h: number): void;\n    strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\n/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects. */\ninterface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {\n    readonly canvas: HTMLCanvasElement;\n    getContextAttributes(): CanvasRenderingContext2DSettings;\n}\n\ndeclare var CanvasRenderingContext2D: {\n    prototype: CanvasRenderingContext2D;\n    new(): CanvasRenderingContext2D;\n};\n\ninterface CanvasShadowStyles {\n    shadowBlur: number;\n    shadowColor: string;\n    shadowOffsetX: number;\n    shadowOffsetY: number;\n}\n\ninterface CanvasState {\n    restore(): void;\n    save(): void;\n}\n\ninterface CanvasText {\n    fillText(text: string, x: number, y: number, maxWidth?: number): void;\n    measureText(text: string): TextMetrics;\n    strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n    direction: CanvasDirection;\n    font: string;\n    fontKerning: CanvasFontKerning;\n    textAlign: CanvasTextAlign;\n    textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n    getTransform(): DOMMatrix;\n    resetTransform(): void;\n    rotate(angle: number): void;\n    scale(x: number, y: number): void;\n    setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n    setTransform(transform?: DOMMatrix2DInit): void;\n    transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n    translate(x: number, y: number): void;\n}\n\ninterface CanvasUserInterface {\n    drawFocusIfNeeded(element: Element): void;\n    drawFocusIfNeeded(path: Path2D, element: Element): void;\n}\n\n/** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */\ninterface ChannelMergerNode extends AudioNode {\n}\n\ndeclare var ChannelMergerNode: {\n    prototype: ChannelMergerNode;\n    new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;\n};\n\n/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */\ninterface ChannelSplitterNode extends AudioNode {\n}\n\ndeclare var ChannelSplitterNode: {\n    prototype: ChannelSplitterNode;\n    new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;\n};\n\n/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */\ninterface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {\n    data: string;\n    readonly length: number;\n    readonly ownerDocument: Document;\n    appendData(data: string): void;\n    deleteData(offset: number, count: number): void;\n    insertData(offset: number, data: string): void;\n    replaceData(offset: number, count: number, data: string): void;\n    substringData(offset: number, count: number): string;\n}\n\ndeclare var CharacterData: {\n    prototype: CharacterData;\n    new(): CharacterData;\n};\n\ninterface ChildNode extends Node {\n    /**\n     * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.\n     *\n     * Throws a \"HierarchyRequestError\" DOMException if the constraints of the node tree are violated.\n     */\n    after(...nodes: (Node | string)[]): void;\n    /**\n     * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.\n     *\n     * Throws a \"HierarchyRequestError\" DOMException if the constraints of the node tree are violated.\n     */\n    before(...nodes: (Node | string)[]): void;\n    /** Removes node. */\n    remove(): void;\n    /**\n     * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.\n     *\n     * Throws a \"HierarchyRequestError\" DOMException if the constraints of the node tree are violated.\n     */\n    replaceWith(...nodes: (Node | string)[]): void;\n}\n\n/** @deprecated */\ninterface ClientRect extends DOMRect {\n}\n\n/** Available only in secure contexts. */\ninterface Clipboard extends EventTarget {\n    read(): Promise<ClipboardItems>;\n    readText(): Promise<string>;\n    write(data: ClipboardItems): Promise<void>;\n    writeText(data: string): Promise<void>;\n}\n\ndeclare var Clipboard: {\n    prototype: Clipboard;\n    new(): Clipboard;\n};\n\n/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */\ninterface ClipboardEvent extends Event {\n    readonly clipboardData: DataTransfer | null;\n}\n\ndeclare var ClipboardEvent: {\n    prototype: ClipboardEvent;\n    new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\n};\n\n/** Available only in secure contexts. */\ninterface ClipboardItem {\n    readonly presentationStyle: PresentationStyle;\n    readonly types: ReadonlyArray<string>;\n    getType(type: string): Promise<Blob>;\n}\n\ndeclare var ClipboardItem: {\n    prototype: ClipboardItem;\n    new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;\n};\n\n/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */\ninterface CloseEvent extends Event {\n    /** Returns the WebSocket connection close code provided by the server. */\n    readonly code: number;\n    /** Returns the WebSocket connection close reason provided by the server. */\n    readonly reason: string;\n    /** Returns true if the connection closed cleanly; false otherwise. */\n    readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n    prototype: CloseEvent;\n    new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */\ninterface Comment extends CharacterData {\n}\n\ndeclare var Comment: {\n    prototype: Comment;\n    new(data?: string): Comment;\n};\n\n/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */\ninterface CompositionEvent extends UIEvent {\n    readonly data: string;\n    /** @deprecated */\n    initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void;\n}\n\ndeclare var CompositionEvent: {\n    prototype: CompositionEvent;\n    new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;\n};\n\ninterface ConstantSourceNode extends AudioScheduledSourceNode {\n    readonly offset: AudioParam;\n    addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ConstantSourceNode: {\n    prototype: ConstantSourceNode;\n    new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode;\n};\n\n/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */\ninterface ConvolverNode extends AudioNode {\n    buffer: AudioBuffer | null;\n    normalize: boolean;\n}\n\ndeclare var ConvolverNode: {\n    prototype: ConvolverNode;\n    new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;\n};\n\n/** This Streams API interface provides\\xA0a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n    readonly highWaterMark: number;\n    readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n    prototype: CountQueuingStrategy;\n    new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\n/** Available only in secure contexts. */\ninterface Credential {\n    readonly id: string;\n    readonly type: string;\n}\n\ndeclare var Credential: {\n    prototype: Credential;\n    new(): Credential;\n};\n\n/** Available only in secure contexts. */\ninterface CredentialsContainer {\n    create(options?: CredentialCreationOptions): Promise<Credential | null>;\n    get(options?: CredentialRequestOptions): Promise<Credential | null>;\n    preventSilentAccess(): Promise<void>;\n    store(credential: Credential): Promise<Credential>;\n}\n\ndeclare var CredentialsContainer: {\n    prototype: CredentialsContainer;\n    new(): CredentialsContainer;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n    /** Available only in secure contexts. */\n    readonly subtle: SubtleCrypto;\n    getRandomValues<T extends ArrayBufferView | null>(array: T): T;\n    /** Available only in secure contexts. */\n    randomUUID(): \\`\\${string}-\\${string}-\\${string}-\\${string}-\\${string}\\`;\n}\n\ndeclare var Crypto: {\n    prototype: Crypto;\n    new(): Crypto;\n};\n\n/**\n * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.\n * Available only in secure contexts.\n */\ninterface CryptoKey {\n    readonly algorithm: KeyAlgorithm;\n    readonly extractable: boolean;\n    readonly type: KeyType;\n    readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n    prototype: CryptoKey;\n    new(): CryptoKey;\n};\n\ninterface CustomElementRegistry {\n    define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;\n    get(name: string): CustomElementConstructor | undefined;\n    upgrade(root: Node): void;\n    whenDefined(name: string): Promise<CustomElementConstructor>;\n}\n\ndeclare var CustomElementRegistry: {\n    prototype: CustomElementRegistry;\n    new(): CustomElementRegistry;\n};\n\ninterface CustomEvent<T = any> extends Event {\n    /** Returns any custom data event was created with. Typically used for synthetic events. */\n    readonly detail: T;\n    /** @deprecated */\n    initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;\n}\n\ndeclare var CustomEvent: {\n    prototype: CustomEvent;\n    new<T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException extends Error {\n    /** @deprecated */\n    readonly code: number;\n    readonly message: string;\n    readonly name: string;\n    readonly INDEX_SIZE_ERR: 1;\n    readonly DOMSTRING_SIZE_ERR: 2;\n    readonly HIERARCHY_REQUEST_ERR: 3;\n    readonly WRONG_DOCUMENT_ERR: 4;\n    readonly INVALID_CHARACTER_ERR: 5;\n    readonly NO_DATA_ALLOWED_ERR: 6;\n    readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n    readonly NOT_FOUND_ERR: 8;\n    readonly NOT_SUPPORTED_ERR: 9;\n    readonly INUSE_ATTRIBUTE_ERR: 10;\n    readonly INVALID_STATE_ERR: 11;\n    readonly SYNTAX_ERR: 12;\n    readonly INVALID_MODIFICATION_ERR: 13;\n    readonly NAMESPACE_ERR: 14;\n    readonly INVALID_ACCESS_ERR: 15;\n    readonly VALIDATION_ERR: 16;\n    readonly TYPE_MISMATCH_ERR: 17;\n    readonly SECURITY_ERR: 18;\n    readonly NETWORK_ERR: 19;\n    readonly ABORT_ERR: 20;\n    readonly URL_MISMATCH_ERR: 21;\n    readonly QUOTA_EXCEEDED_ERR: 22;\n    readonly TIMEOUT_ERR: 23;\n    readonly INVALID_NODE_TYPE_ERR: 24;\n    readonly DATA_CLONE_ERR: 25;\n}\n\ndeclare var DOMException: {\n    prototype: DOMException;\n    new(message?: string, name?: string): DOMException;\n    readonly INDEX_SIZE_ERR: 1;\n    readonly DOMSTRING_SIZE_ERR: 2;\n    readonly HIERARCHY_REQUEST_ERR: 3;\n    readonly WRONG_DOCUMENT_ERR: 4;\n    readonly INVALID_CHARACTER_ERR: 5;\n    readonly NO_DATA_ALLOWED_ERR: 6;\n    readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n    readonly NOT_FOUND_ERR: 8;\n    readonly NOT_SUPPORTED_ERR: 9;\n    readonly INUSE_ATTRIBUTE_ERR: 10;\n    readonly INVALID_STATE_ERR: 11;\n    readonly SYNTAX_ERR: 12;\n    readonly INVALID_MODIFICATION_ERR: 13;\n    readonly NAMESPACE_ERR: 14;\n    readonly INVALID_ACCESS_ERR: 15;\n    readonly VALIDATION_ERR: 16;\n    readonly TYPE_MISMATCH_ERR: 17;\n    readonly SECURITY_ERR: 18;\n    readonly NETWORK_ERR: 19;\n    readonly ABORT_ERR: 20;\n    readonly URL_MISMATCH_ERR: 21;\n    readonly QUOTA_EXCEEDED_ERR: 22;\n    readonly TIMEOUT_ERR: 23;\n    readonly INVALID_NODE_TYPE_ERR: 24;\n    readonly DATA_CLONE_ERR: 25;\n};\n\n/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */\ninterface DOMImplementation {\n    createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;\n    createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;\n    createHTMLDocument(title?: string): Document;\n    /** @deprecated */\n    hasFeature(...args: any[]): true;\n}\n\ndeclare var DOMImplementation: {\n    prototype: DOMImplementation;\n    new(): DOMImplementation;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n    a: number;\n    b: number;\n    c: number;\n    d: number;\n    e: number;\n    f: number;\n    m11: number;\n    m12: number;\n    m13: number;\n    m14: number;\n    m21: number;\n    m22: number;\n    m23: number;\n    m24: number;\n    m31: number;\n    m32: number;\n    m33: number;\n    m34: number;\n    m41: number;\n    m42: number;\n    m43: number;\n    m44: number;\n    invertSelf(): DOMMatrix;\n    multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n    preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n    rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n    rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n    rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n    scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    setMatrixValue(transformList: string): DOMMatrix;\n    skewXSelf(sx?: number): DOMMatrix;\n    skewYSelf(sy?: number): DOMMatrix;\n    translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n    prototype: DOMMatrix;\n    new(init?: string | number[]): DOMMatrix;\n    fromFloat32Array(array32: Float32Array): DOMMatrix;\n    fromFloat64Array(array64: Float64Array): DOMMatrix;\n    fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ntype SVGMatrix = DOMMatrix;\ndeclare var SVGMatrix: typeof DOMMatrix;\n\ntype WebKitCSSMatrix = DOMMatrix;\ndeclare var WebKitCSSMatrix: typeof DOMMatrix;\n\ninterface DOMMatrixReadOnly {\n    readonly a: number;\n    readonly b: number;\n    readonly c: number;\n    readonly d: number;\n    readonly e: number;\n    readonly f: number;\n    readonly is2D: boolean;\n    readonly isIdentity: boolean;\n    readonly m11: number;\n    readonly m12: number;\n    readonly m13: number;\n    readonly m14: number;\n    readonly m21: number;\n    readonly m22: number;\n    readonly m23: number;\n    readonly m24: number;\n    readonly m31: number;\n    readonly m32: number;\n    readonly m33: number;\n    readonly m34: number;\n    readonly m41: number;\n    readonly m42: number;\n    readonly m43: number;\n    readonly m44: number;\n    flipX(): DOMMatrix;\n    flipY(): DOMMatrix;\n    inverse(): DOMMatrix;\n    multiply(other?: DOMMatrixInit): DOMMatrix;\n    rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n    rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n    rotateFromVector(x?: number, y?: number): DOMMatrix;\n    scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    /** @deprecated */\n    scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n    skewX(sx?: number): DOMMatrix;\n    skewY(sy?: number): DOMMatrix;\n    toFloat32Array(): Float32Array;\n    toFloat64Array(): Float64Array;\n    toJSON(): any;\n    transformPoint(point?: DOMPointInit): DOMPoint;\n    translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n    toString(): string;\n}\n\ndeclare var DOMMatrixReadOnly: {\n    prototype: DOMMatrixReadOnly;\n    new(init?: string | number[]): DOMMatrixReadOnly;\n    fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n    fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n    fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n    toString(): string;\n};\n\n/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */\ninterface DOMParser {\n    /**\n     * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be \"text/html\" (which will invoke the HTML parser), or any of \"text/xml\", \"application/xml\", \"application/xhtml+xml\", or \"image/svg+xml\" (which will invoke the XML parser).\n     *\n     * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error.\n     *\n     * Note that script elements are not evaluated during parsing, and the resulting document's encoding will always be UTF-8.\n     *\n     * Values other than the above for type will cause a TypeError exception to be thrown.\n     */\n    parseFromString(string: string, type: DOMParserSupportedType): Document;\n}\n\ndeclare var DOMParser: {\n    prototype: DOMParser;\n    new(): DOMParser;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n    w: number;\n    x: number;\n    y: number;\n    z: number;\n}\n\ndeclare var DOMPoint: {\n    prototype: DOMPoint;\n    new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n    fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ntype SVGPoint = DOMPoint;\ndeclare var SVGPoint: typeof DOMPoint;\n\ninterface DOMPointReadOnly {\n    readonly w: number;\n    readonly x: number;\n    readonly y: number;\n    readonly z: number;\n    matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n    toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n    prototype: DOMPointReadOnly;\n    new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n    fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n    readonly p1: DOMPoint;\n    readonly p2: DOMPoint;\n    readonly p3: DOMPoint;\n    readonly p4: DOMPoint;\n    getBounds(): DOMRect;\n    toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n    prototype: DOMQuad;\n    new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n    fromQuad(other?: DOMQuadInit): DOMQuad;\n    fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n    height: number;\n    width: number;\n    x: number;\n    y: number;\n}\n\ndeclare var DOMRect: {\n    prototype: DOMRect;\n    new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n    fromRect(other?: DOMRectInit): DOMRect;\n};\n\ntype SVGRect = DOMRect;\ndeclare var SVGRect: typeof DOMRect;\n\ninterface DOMRectList {\n    readonly length: number;\n    item(index: number): DOMRect | null;\n    [index: number]: DOMRect;\n}\n\ndeclare var DOMRectList: {\n    prototype: DOMRectList;\n    new(): DOMRectList;\n};\n\ninterface DOMRectReadOnly {\n    readonly bottom: number;\n    readonly height: number;\n    readonly left: number;\n    readonly right: number;\n    readonly top: number;\n    readonly width: number;\n    readonly x: number;\n    readonly y: number;\n    toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n    prototype: DOMRectReadOnly;\n    new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n    fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n    /** Returns the number of strings in strings. */\n    readonly length: number;\n    /** Returns true if strings contains string, and false otherwise. */\n    contains(string: string): boolean;\n    /** Returns the string with index index from strings. */\n    item(index: number): string | null;\n    [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n    prototype: DOMStringList;\n    new(): DOMStringList;\n};\n\n/** Used by the dataset\\xA0HTML\\xA0attribute to represent data for custom attributes added to elements. */\ninterface DOMStringMap {\n    [name: string]: string | undefined;\n}\n\ndeclare var DOMStringMap: {\n    prototype: DOMStringMap;\n    new(): DOMStringMap;\n};\n\n/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */\ninterface DOMTokenList {\n    /** Returns the number of tokens. */\n    readonly length: number;\n    /**\n     * Returns the associated set as string.\n     *\n     * Can be set, to change the associated attribute.\n     */\n    value: string;\n    toString(): string;\n    /**\n     * Adds all arguments passed, except those already present.\n     *\n     * Throws a \"SyntaxError\" DOMException if one of the arguments is the empty string.\n     *\n     * Throws an \"InvalidCharacterError\" DOMException if one of the arguments contains any ASCII whitespace.\n     */\n    add(...tokens: string[]): void;\n    /** Returns true if token is present, and false otherwise. */\n    contains(token: string): boolean;\n    /** Returns the token with index index. */\n    item(index: number): string | null;\n    /**\n     * Removes arguments passed, if they are present.\n     *\n     * Throws a \"SyntaxError\" DOMException if one of the arguments is the empty string.\n     *\n     * Throws an \"InvalidCharacterError\" DOMException if one of the arguments contains any ASCII whitespace.\n     */\n    remove(...tokens: string[]): void;\n    /**\n     * Replaces token with newToken.\n     *\n     * Returns true if token was replaced with newToken, and false otherwise.\n     *\n     * Throws a \"SyntaxError\" DOMException if one of the arguments is the empty string.\n     *\n     * Throws an \"InvalidCharacterError\" DOMException if one of the arguments contains any ASCII whitespace.\n     */\n    replace(token: string, newToken: string): boolean;\n    /**\n     * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise.\n     *\n     * Throws a TypeError if the associated attribute has no supported tokens defined.\n     */\n    supports(token: string): boolean;\n    /**\n     * If force is not given, \"toggles\" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()).\n     *\n     * Returns true if token is now present, and false otherwise.\n     *\n     * Throws a \"SyntaxError\" DOMException if token is empty.\n     *\n     * Throws an \"InvalidCharacterError\" DOMException if token contains any spaces.\n     */\n    toggle(token: string, force?: boolean): boolean;\n    forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void;\n    [index: number]: string;\n}\n\ndeclare var DOMTokenList: {\n    prototype: DOMTokenList;\n    new(): DOMTokenList;\n};\n\n/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */\ninterface DataTransfer {\n    /**\n     * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail.\n     *\n     * Can be set, to change the selected operation.\n     *\n     * The possible values are \"none\", \"copy\", \"link\", and \"move\".\n     */\n    dropEffect: \"none\" | \"copy\" | \"link\" | \"move\";\n    /**\n     * Returns the kinds of operations that are to be allowed.\n     *\n     * Can be set (during the dragstart event), to change the allowed operations.\n     *\n     * The possible values are \"none\", \"copy\", \"copyLink\", \"copyMove\", \"link\", \"linkMove\", \"move\", \"all\", and \"uninitialized\",\n     */\n    effectAllowed: \"none\" | \"copy\" | \"copyLink\" | \"copyMove\" | \"link\" | \"linkMove\" | \"move\" | \"all\" | \"uninitialized\";\n    /** Returns a FileList of the files being dragged, if any. */\n    readonly files: FileList;\n    /** Returns a DataTransferItemList object, with the drag data. */\n    readonly items: DataTransferItemList;\n    /** Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string \"Files\". */\n    readonly types: ReadonlyArray<string>;\n    /** Removes the data of the specified formats. Removes all data if the argument is omitted. */\n    clearData(format?: string): void;\n    /** Returns the specified data. If there is no such data, returns the empty string. */\n    getData(format: string): string;\n    /** Adds the specified data. */\n    setData(format: string, data: string): void;\n    /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */\n    setDragImage(image: Element, x: number, y: number): void;\n}\n\ndeclare var DataTransfer: {\n    prototype: DataTransfer;\n    new(): DataTransfer;\n};\n\n/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */\ninterface DataTransferItem {\n    /** Returns the drag data item kind, one of: \"string\", \"file\". */\n    readonly kind: string;\n    /** Returns the drag data item type string. */\n    readonly type: string;\n    /** Returns a File object, if the drag data item kind is File. */\n    getAsFile(): File | null;\n    /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */\n    getAsString(callback: FunctionStringCallback | null): void;\n    webkitGetAsEntry(): FileSystemEntry | null;\n}\n\ndeclare var DataTransferItem: {\n    prototype: DataTransferItem;\n    new(): DataTransferItem;\n};\n\n/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */\ninterface DataTransferItemList {\n    /** Returns the number of items in the drag data store. */\n    readonly length: number;\n    /** Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. */\n    add(data: string, type: string): DataTransferItem | null;\n    add(data: File): DataTransferItem | null;\n    /** Removes all the entries in the drag data store. */\n    clear(): void;\n    /** Removes the indexth entry in the drag data store. */\n    remove(index: number): void;\n    [index: number]: DataTransferItem;\n}\n\ndeclare var DataTransferItemList: {\n    prototype: DataTransferItemList;\n    new(): DataTransferItemList;\n};\n\n/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */\ninterface DelayNode extends AudioNode {\n    readonly delayTime: AudioParam;\n}\n\ndeclare var DelayNode: {\n    prototype: DelayNode;\n    new(context: BaseAudioContext, options?: DelayOptions): DelayNode;\n};\n\n/**\n * The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation.\n * Available only in secure contexts.\n */\ninterface DeviceMotionEvent extends Event {\n    readonly acceleration: DeviceMotionEventAcceleration | null;\n    readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;\n    readonly interval: number;\n    readonly rotationRate: DeviceMotionEventRotationRate | null;\n}\n\ndeclare var DeviceMotionEvent: {\n    prototype: DeviceMotionEvent;\n    new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;\n};\n\n/** Available only in secure contexts. */\ninterface DeviceMotionEventAcceleration {\n    readonly x: number | null;\n    readonly y: number | null;\n    readonly z: number | null;\n}\n\n/** Available only in secure contexts. */\ninterface DeviceMotionEventRotationRate {\n    readonly alpha: number | null;\n    readonly beta: number | null;\n    readonly gamma: number | null;\n}\n\n/**\n * The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.\n * Available only in secure contexts.\n */\ninterface DeviceOrientationEvent extends Event {\n    readonly absolute: boolean;\n    readonly alpha: number | null;\n    readonly beta: number | null;\n    readonly gamma: number | null;\n}\n\ndeclare var DeviceOrientationEvent: {\n    prototype: DeviceOrientationEvent;\n    new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;\n};\n\ninterface DocumentEventMap extends GlobalEventHandlersEventMap {\n    \"DOMContentLoaded\": Event;\n    \"fullscreenchange\": Event;\n    \"fullscreenerror\": Event;\n    \"pointerlockchange\": Event;\n    \"pointerlockerror\": Event;\n    \"readystatechange\": Event;\n    \"visibilitychange\": Event;\n}\n\n/** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */\ninterface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n    /** Sets or gets the URL for the current document. */\n    readonly URL: string;\n    /**\n     * Sets or gets the color of all active links in the document.\n     * @deprecated\n     */\n    alinkColor: string;\n    /**\n     * Returns a reference to the collection of elements contained by the object.\n     * @deprecated\n     */\n    readonly all: HTMLAllCollection;\n    /**\n     * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\n     * @deprecated\n     */\n    readonly anchors: HTMLCollectionOf<HTMLAnchorElement>;\n    /**\n     * Retrieves a collection of all applet objects in the document.\n     * @deprecated\n     */\n    readonly applets: HTMLCollection;\n    /**\n     * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\n     * @deprecated\n     */\n    bgColor: string;\n    /** Specifies the beginning and end of the document body. */\n    body: HTMLElement;\n    /** Returns document's encoding. */\n    readonly characterSet: string;\n    /**\n     * Gets or sets the character set used to encode the object.\n     * @deprecated This is a legacy alias of \\`characterSet\\`.\n     */\n    readonly charset: string;\n    /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */\n    readonly compatMode: string;\n    /** Returns document's content type. */\n    readonly contentType: string;\n    /**\n     * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.\n     *\n     * Can be set, to add a new cookie to the element's set of HTTP cookies.\n     *\n     * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a \"SecurityError\" DOMException will be thrown on getting and setting.\n     */\n    cookie: string;\n    /**\n     * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.\n     *\n     * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.\n     */\n    readonly currentScript: HTMLOrSVGScriptElement | null;\n    /** Returns the Window object of the active document. */\n    readonly defaultView: (WindowProxy & typeof globalThis) | null;\n    /** Sets or gets a value that indicates whether the document can be edited. */\n    designMode: string;\n    /** Sets or retrieves a value that indicates the reading order of the object. */\n    dir: string;\n    /** Gets an object representing the document type declaration associated with the current document. */\n    readonly doctype: DocumentType | null;\n    /** Gets a reference to the root node of the document. */\n    readonly documentElement: HTMLElement;\n    /** Returns document's URL. */\n    readonly documentURI: string;\n    /**\n     * Sets or gets the security domain of the document.\n     * @deprecated\n     */\n    domain: string;\n    /** Retrieves a collection of all embed objects in the document. */\n    readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;\n    /**\n     * Sets or gets the foreground (text) color of the document.\n     * @deprecated\n     */\n    fgColor: string;\n    /** Retrieves a collection, in source order, of all form objects in the document. */\n    readonly forms: HTMLCollectionOf<HTMLFormElement>;\n    /** @deprecated */\n    readonly fullscreen: boolean;\n    /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */\n    readonly fullscreenEnabled: boolean;\n    /** Returns the head element. */\n    readonly head: HTMLHeadElement;\n    readonly hidden: boolean;\n    /** Retrieves a collection, in source order, of img objects in the document. */\n    readonly images: HTMLCollectionOf<HTMLImageElement>;\n    /** Gets the implementation object of the current document. */\n    readonly implementation: DOMImplementation;\n    /**\n     * Returns the character encoding used to create the webpage that is loaded into the document object.\n     * @deprecated This is a legacy alias of \\`characterSet\\`.\n     */\n    readonly inputEncoding: string;\n    /** Gets the date that the page was last modified, if the page supplies one. */\n    readonly lastModified: string;\n    /**\n     * Sets or gets the color of the document links.\n     * @deprecated\n     */\n    linkColor: string;\n    /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */\n    readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;\n    /** Contains information about the current URL. */\n    get location(): Location;\n    set location(href: string | Location);\n    onfullscreenchange: ((this: Document, ev: Event) => any) | null;\n    onfullscreenerror: ((this: Document, ev: Event) => any) | null;\n    onpointerlockchange: ((this: Document, ev: Event) => any) | null;\n    onpointerlockerror: ((this: Document, ev: Event) => any) | null;\n    /**\n     * Fires when the state of the object has changed.\n     * @param ev The event\n     */\n    onreadystatechange: ((this: Document, ev: Event) => any) | null;\n    onvisibilitychange: ((this: Document, ev: Event) => any) | null;\n    readonly ownerDocument: null;\n    readonly pictureInPictureEnabled: boolean;\n    /** Return an HTMLCollection of the embed elements in the Document. */\n    readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;\n    /** Retrieves a value that indicates the current state of the object. */\n    readonly readyState: DocumentReadyState;\n    /** Gets the URL of the location that referred the user to the current page. */\n    readonly referrer: string;\n    /** @deprecated */\n    readonly rootElement: SVGSVGElement | null;\n    /** Retrieves a collection of all script objects in the document. */\n    readonly scripts: HTMLCollectionOf<HTMLScriptElement>;\n    readonly scrollingElement: Element | null;\n    readonly timeline: DocumentTimeline;\n    /** Contains the title of the document. */\n    title: string;\n    readonly visibilityState: DocumentVisibilityState;\n    /**\n     * Sets or gets the color of the links that the user has visited.\n     * @deprecated\n     */\n    vlinkColor: string;\n    /**\n     * Moves node from another document and returns it.\n     *\n     * If node is a document, throws a \"NotSupportedError\" DOMException or, if node is a shadow root, throws a \"HierarchyRequestError\" DOMException.\n     */\n    adoptNode<T extends Node>(node: T): T;\n    /** @deprecated */\n    captureEvents(): void;\n    /** @deprecated */\n    caretRangeFromPoint(x: number, y: number): Range | null;\n    /** @deprecated */\n    clear(): void;\n    /** Closes an output stream and forces the sent data to display. */\n    close(): void;\n    /**\n     * Creates an attribute object with a specified name.\n     * @param name String that sets the attribute object's name.\n     */\n    createAttribute(localName: string): Attr;\n    createAttributeNS(namespace: string | null, qualifiedName: string): Attr;\n    /** Returns a CDATASection node whose data is data. */\n    createCDATASection(data: string): CDATASection;\n    /**\n     * Creates a comment object with the specified data.\n     * @param data Sets the comment object's data.\n     */\n    createComment(data: string): Comment;\n    /** Creates a new document. */\n    createDocumentFragment(): DocumentFragment;\n    /**\n     * Creates an instance of the element for the specified tag.\n     * @param tagName The name of an element.\n     */\n    createElement<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];\n    /** @deprecated */\n    createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];\n    createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;\n    /**\n     * Returns an element with namespace namespace. Its namespace prefix will be everything before \":\" (U+003E) in qualifiedName or null. Its local name will be everything after \":\" (U+003E) in qualifiedName or qualifiedName.\n     *\n     * If localName does not match the Name production an \"InvalidCharacterError\" DOMException will be thrown.\n     *\n     * If one of the following conditions is true a \"NamespaceError\" DOMException will be thrown:\n     *\n     * localName does not match the QName production.\n     * Namespace prefix is not null and namespace is the empty string.\n     * Namespace prefix is \"xml\" and namespace is not the XML namespace.\n     * qualifiedName or namespace prefix is \"xmlns\" and namespace is not the XMLNS namespace.\n     * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is \"xmlns\".\n     *\n     * When supplied, options's is can be used to create a customized built-in element.\n     */\n    createElementNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", qualifiedName: string): HTMLElement;\n    createElementNS<K extends keyof SVGElementTagNameMap>(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: K): SVGElementTagNameMap[K];\n    createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: string): SVGElement;\n    createElementNS<K extends keyof MathMLElementTagNameMap>(namespaceURI: \"http://www.w3.org/1998/Math/MathML\", qualifiedName: K): MathMLElementTagNameMap[K];\n    createElementNS(namespaceURI: \"http://www.w3.org/1998/Math/MathML\", qualifiedName: string): MathMLElement;\n    createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;\n    createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;\n    createEvent(eventInterface: \"AnimationEvent\"): AnimationEvent;\n    createEvent(eventInterface: \"AnimationPlaybackEvent\"): AnimationPlaybackEvent;\n    createEvent(eventInterface: \"AudioProcessingEvent\"): AudioProcessingEvent;\n    createEvent(eventInterface: \"BeforeUnloadEvent\"): BeforeUnloadEvent;\n    createEvent(eventInterface: \"BlobEvent\"): BlobEvent;\n    createEvent(eventInterface: \"ClipboardEvent\"): ClipboardEvent;\n    createEvent(eventInterface: \"CloseEvent\"): CloseEvent;\n    createEvent(eventInterface: \"CompositionEvent\"): CompositionEvent;\n    createEvent(eventInterface: \"CustomEvent\"): CustomEvent;\n    createEvent(eventInterface: \"DeviceMotionEvent\"): DeviceMotionEvent;\n    createEvent(eventInterface: \"DeviceOrientationEvent\"): DeviceOrientationEvent;\n    createEvent(eventInterface: \"DragEvent\"): DragEvent;\n    createEvent(eventInterface: \"ErrorEvent\"): ErrorEvent;\n    createEvent(eventInterface: \"Event\"): Event;\n    createEvent(eventInterface: \"Events\"): Event;\n    createEvent(eventInterface: \"FocusEvent\"): FocusEvent;\n    createEvent(eventInterface: \"FontFaceSetLoadEvent\"): FontFaceSetLoadEvent;\n    createEvent(eventInterface: \"FormDataEvent\"): FormDataEvent;\n    createEvent(eventInterface: \"GamepadEvent\"): GamepadEvent;\n    createEvent(eventInterface: \"HashChangeEvent\"): HashChangeEvent;\n    createEvent(eventInterface: \"IDBVersionChangeEvent\"): IDBVersionChangeEvent;\n    createEvent(eventInterface: \"InputEvent\"): InputEvent;\n    createEvent(eventInterface: \"KeyboardEvent\"): KeyboardEvent;\n    createEvent(eventInterface: \"MIDIConnectionEvent\"): MIDIConnectionEvent;\n    createEvent(eventInterface: \"MIDIMessageEvent\"): MIDIMessageEvent;\n    createEvent(eventInterface: \"MediaEncryptedEvent\"): MediaEncryptedEvent;\n    createEvent(eventInterface: \"MediaKeyMessageEvent\"): MediaKeyMessageEvent;\n    createEvent(eventInterface: \"MediaQueryListEvent\"): MediaQueryListEvent;\n    createEvent(eventInterface: \"MediaStreamTrackEvent\"): MediaStreamTrackEvent;\n    createEvent(eventInterface: \"MessageEvent\"): MessageEvent;\n    createEvent(eventInterface: \"MouseEvent\"): MouseEvent;\n    createEvent(eventInterface: \"MouseEvents\"): MouseEvent;\n    createEvent(eventInterface: \"MutationEvent\"): MutationEvent;\n    createEvent(eventInterface: \"MutationEvents\"): MutationEvent;\n    createEvent(eventInterface: \"OfflineAudioCompletionEvent\"): OfflineAudioCompletionEvent;\n    createEvent(eventInterface: \"PageTransitionEvent\"): PageTransitionEvent;\n    createEvent(eventInterface: \"PaymentMethodChangeEvent\"): PaymentMethodChangeEvent;\n    createEvent(eventInterface: \"PaymentRequestUpdateEvent\"): PaymentRequestUpdateEvent;\n    createEvent(eventInterface: \"PictureInPictureEvent\"): PictureInPictureEvent;\n    createEvent(eventInterface: \"PointerEvent\"): PointerEvent;\n    createEvent(eventInterface: \"PopStateEvent\"): PopStateEvent;\n    createEvent(eventInterface: \"ProgressEvent\"): ProgressEvent;\n    createEvent(eventInterface: \"PromiseRejectionEvent\"): PromiseRejectionEvent;\n    createEvent(eventInterface: \"RTCDTMFToneChangeEvent\"): RTCDTMFToneChangeEvent;\n    createEvent(eventInterface: \"RTCDataChannelEvent\"): RTCDataChannelEvent;\n    createEvent(eventInterface: \"RTCErrorEvent\"): RTCErrorEvent;\n    createEvent(eventInterface: \"RTCPeerConnectionIceErrorEvent\"): RTCPeerConnectionIceErrorEvent;\n    createEvent(eventInterface: \"RTCPeerConnectionIceEvent\"): RTCPeerConnectionIceEvent;\n    createEvent(eventInterface: \"RTCTrackEvent\"): RTCTrackEvent;\n    createEvent(eventInterface: \"SecurityPolicyViolationEvent\"): SecurityPolicyViolationEvent;\n    createEvent(eventInterface: \"SpeechSynthesisErrorEvent\"): SpeechSynthesisErrorEvent;\n    createEvent(eventInterface: \"SpeechSynthesisEvent\"): SpeechSynthesisEvent;\n    createEvent(eventInterface: \"StorageEvent\"): StorageEvent;\n    createEvent(eventInterface: \"SubmitEvent\"): SubmitEvent;\n    createEvent(eventInterface: \"TouchEvent\"): TouchEvent;\n    createEvent(eventInterface: \"TrackEvent\"): TrackEvent;\n    createEvent(eventInterface: \"TransitionEvent\"): TransitionEvent;\n    createEvent(eventInterface: \"UIEvent\"): UIEvent;\n    createEvent(eventInterface: \"UIEvents\"): UIEvent;\n    createEvent(eventInterface: \"WebGLContextEvent\"): WebGLContextEvent;\n    createEvent(eventInterface: \"WheelEvent\"): WheelEvent;\n    createEvent(eventInterface: string): Event;\n    /**\n     * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n     * @param root The root element or node to start traversing on.\n     * @param whatToShow The type of nodes or elements to appear in the node list\n     * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\n     */\n    createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;\n    /** Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an \"InvalidCharacterError\" DOMException will be thrown. If data contains \"?>\" an \"InvalidCharacterError\" DOMException will be thrown. */\n    createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n    /**  Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */\n    createRange(): Range;\n    /**\n     * Creates a text string from the specified value.\n     * @param data String that specifies the nodeValue property of the text node.\n     */\n    createTextNode(data: string): Text;\n    /**\n     * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\n     * @param root The root element or node to start traversing on.\n     * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\n     * @param filter A custom NodeFilter function to use.\n     */\n    createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker;\n    /**\n     * Executes a command on the current document, current selection, or the given range.\n     * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\n     * @param showUI Display the user interface, defaults to false.\n     * @param value Value to assign.\n     * @deprecated\n     */\n    execCommand(commandId: string, showUI?: boolean, value?: string): boolean;\n    /** Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. */\n    exitFullscreen(): Promise<void>;\n    exitPictureInPicture(): Promise<void>;\n    exitPointerLock(): void;\n    /**\n     * Returns a reference to the first object with the specified value of the ID attribute.\n     * @param elementId String that specifies the ID value.\n     */\n    getElementById(elementId: string): HTMLElement | null;\n    /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */\n    getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n    /**\n     * Gets a collection of objects based on the value of the NAME or ID attribute.\n     * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\n     */\n    getElementsByName(elementName: string): NodeListOf<HTMLElement>;\n    /**\n     * Retrieves a collection of objects based on the specified element name.\n     * @param name Specifies the name of an element.\n     */\n    getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n    getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n    getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;\n    /** @deprecated */\n    getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;\n    getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n    /**\n     * If namespace and localName are \"*\" returns a HTMLCollection of all descendant elements.\n     *\n     * If only namespace is \"*\" returns a HTMLCollection of all descendant elements whose local name is localName.\n     *\n     * If only localName is \"*\" returns a HTMLCollection of all descendant elements whose namespace is namespace.\n     *\n     * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.\n     */\n    getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf<HTMLElement>;\n    getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf<SVGElement>;\n    getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1998/Math/MathML\", localName: string): HTMLCollectionOf<MathMLElement>;\n    getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;\n    /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */\n    getSelection(): Selection | null;\n    /** Gets a value indicating whether the object currently has focus. */\n    hasFocus(): boolean;\n    hasStorageAccess(): Promise<boolean>;\n    /**\n     * Returns a copy of node. If deep is true, the copy also includes the node's descendants.\n     *\n     * If node is a document or a shadow root, throws a \"NotSupportedError\" DOMException.\n     */\n    importNode<T extends Node>(node: T, deep?: boolean): T;\n    /**\n     * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\n     * @param url Specifies a MIME type for the document.\n     * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\n     * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\n     * @param replace Specifies whether the existing entry for the document is replaced in the history list.\n     */\n    open(unused1?: string, unused2?: string): Document;\n    open(url: string | URL, name: string, features: string): WindowProxy | null;\n    /**\n     * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\n     * @param commandId Specifies a command identifier.\n     * @deprecated\n     */\n    queryCommandEnabled(commandId: string): boolean;\n    /**\n     * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\n     * @param commandId String that specifies a command identifier.\n     * @deprecated\n     */\n    queryCommandIndeterm(commandId: string): boolean;\n    /**\n     * Returns a Boolean value that indicates the current state of the command.\n     * @param commandId String that specifies a command identifier.\n     * @deprecated\n     */\n    queryCommandState(commandId: string): boolean;\n    /**\n     * Returns a Boolean value that indicates whether the current command is supported on the current range.\n     * @param commandId Specifies a command identifier.\n     * @deprecated\n     */\n    queryCommandSupported(commandId: string): boolean;\n    /**\n     * Returns the current value of the document, range, or current selection for the given command.\n     * @param commandId String that specifies a command identifier.\n     * @deprecated\n     */\n    queryCommandValue(commandId: string): string;\n    /** @deprecated */\n    releaseEvents(): void;\n    requestStorageAccess(): Promise<void>;\n    /**\n     * Writes one or more HTML expressions to a document in the specified window.\n     * @param content Specifies the text and HTML tags to write.\n     */\n    write(...text: string[]): void;\n    /**\n     * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\n     * @param content The text and HTML tags to write.\n     */\n    writeln(...text: string[]): void;\n    addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Document: {\n    prototype: Document;\n    new(): Document;\n};\n\n/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */\ninterface DocumentFragment extends Node, NonElementParentNode, ParentNode {\n    readonly ownerDocument: Document;\n    getElementById(elementId: string): HTMLElement | null;\n}\n\ndeclare var DocumentFragment: {\n    prototype: DocumentFragment;\n    new(): DocumentFragment;\n};\n\ninterface DocumentOrShadowRoot {\n    /**\n     * Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document.\n     *\n     * For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.\n     *\n     * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.\n     */\n    readonly activeElement: Element | null;\n    adoptedStyleSheets: CSSStyleSheet[];\n    /** Returns document's fullscreen element. */\n    readonly fullscreenElement: Element | null;\n    readonly pictureInPictureElement: Element | null;\n    readonly pointerLockElement: Element | null;\n    /** Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */\n    readonly styleSheets: StyleSheetList;\n    /**\n     * Returns the element for the specified x coordinate and the specified y coordinate.\n     * @param x The x-offset\n     * @param y The y-offset\n     */\n    elementFromPoint(x: number, y: number): Element | null;\n    elementsFromPoint(x: number, y: number): Element[];\n    getAnimations(): Animation[];\n}\n\ninterface DocumentTimeline extends AnimationTimeline {\n}\n\ndeclare var DocumentTimeline: {\n    prototype: DocumentTimeline;\n    new(options?: DocumentTimelineOptions): DocumentTimeline;\n};\n\n/** A Node containing a doctype. */\ninterface DocumentType extends Node, ChildNode {\n    readonly name: string;\n    readonly ownerDocument: Document;\n    readonly publicId: string;\n    readonly systemId: string;\n}\n\ndeclare var DocumentType: {\n    prototype: DocumentType;\n    new(): DocumentType;\n};\n\n/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */\ninterface DragEvent extends MouseEvent {\n    /** Returns the DataTransfer object for the event. */\n    readonly dataTransfer: DataTransfer | null;\n}\n\ndeclare var DragEvent: {\n    prototype: DragEvent;\n    new(type: string, eventInitDict?: DragEventInit): DragEvent;\n};\n\n/** Inherits properties from its parent, AudioNode. */\ninterface DynamicsCompressorNode extends AudioNode {\n    readonly attack: AudioParam;\n    readonly knee: AudioParam;\n    readonly ratio: AudioParam;\n    readonly reduction: number;\n    readonly release: AudioParam;\n    readonly threshold: AudioParam;\n}\n\ndeclare var DynamicsCompressorNode: {\n    prototype: DynamicsCompressorNode;\n    new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode;\n};\n\ninterface EXT_blend_minmax {\n    readonly MIN_EXT: 0x8007;\n    readonly MAX_EXT: 0x8008;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n    readonly RGBA16F_EXT: 0x881A;\n    readonly RGB16F_EXT: 0x881B;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n    readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\n}\n\ninterface EXT_float_blend {\n}\n\n/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n    readonly SRGB_EXT: 0x8C40;\n    readonly SRGB_ALPHA_EXT: 0x8C42;\n    readonly SRGB8_ALPHA8_EXT: 0x8C43;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_bptc {\n    readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;\n    readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;\n    readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 0x8E8E;\n    readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;\n}\n\ninterface EXT_texture_compression_rgtc {\n    readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;\n    readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;\n    readonly COMPRESSED_RED_GREEN_RGTC2_EXT: 0x8DBD;\n    readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: 0x8DBE;\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n    readonly TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE;\n    readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;\n}\n\ninterface EXT_texture_norm16 {\n    readonly R16_EXT: 0x822A;\n    readonly RG16_EXT: 0x822C;\n    readonly RGB16_EXT: 0x8054;\n    readonly RGBA16_EXT: 0x805B;\n    readonly R16_SNORM_EXT: 0x8F98;\n    readonly RG16_SNORM_EXT: 0x8F99;\n    readonly RGB16_SNORM_EXT: 0x8F9A;\n    readonly RGBA16_SNORM_EXT: 0x8F9B;\n}\n\ninterface ElementEventMap {\n    \"fullscreenchange\": Event;\n    \"fullscreenerror\": Event;\n}\n\n/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */\ninterface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {\n    readonly attributes: NamedNodeMap;\n    /** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */\n    readonly classList: DOMTokenList;\n    /** Returns the value of element's class content attribute. Can be set to change it. */\n    className: string;\n    readonly clientHeight: number;\n    readonly clientLeft: number;\n    readonly clientTop: number;\n    readonly clientWidth: number;\n    /** Returns the value of element's id content attribute. Can be set to change it. */\n    id: string;\n    /** Returns the local name. */\n    readonly localName: string;\n    /** Returns the namespace. */\n    readonly namespaceURI: string | null;\n    onfullscreenchange: ((this: Element, ev: Event) => any) | null;\n    onfullscreenerror: ((this: Element, ev: Event) => any) | null;\n    outerHTML: string;\n    readonly ownerDocument: Document;\n    readonly part: DOMTokenList;\n    /** Returns the namespace prefix. */\n    readonly prefix: string | null;\n    readonly scrollHeight: number;\n    scrollLeft: number;\n    scrollTop: number;\n    readonly scrollWidth: number;\n    /** Returns element's shadow root, if any, and if shadow root's mode is \"open\", and null otherwise. */\n    readonly shadowRoot: ShadowRoot | null;\n    /** Returns the value of element's slot content attribute. Can be set to change it. */\n    slot: string;\n    /** Returns the HTML-uppercased qualified name. */\n    readonly tagName: string;\n    /** Creates a shadow root for element and returns it. */\n    attachShadow(init: ShadowRootInit): ShadowRoot;\n    checkVisibility(options?: CheckVisibilityOptions): boolean;\n    /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */\n    closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;\n    closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;\n    closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;\n    closest<E extends Element = Element>(selectors: string): E | null;\n    /** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */\n    getAttribute(qualifiedName: string): string | null;\n    /** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */\n    getAttributeNS(namespace: string | null, localName: string): string | null;\n    /** Returns the qualified names of all element's attributes. Can contain duplicates. */\n    getAttributeNames(): string[];\n    getAttributeNode(qualifiedName: string): Attr | null;\n    getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;\n    getBoundingClientRect(): DOMRect;\n    getClientRects(): DOMRectList;\n    /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */\n    getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n    getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n    getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n    getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;\n    /** @deprecated */\n    getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;\n    getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n    getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf<HTMLElement>;\n    getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf<SVGElement>;\n    getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1998/Math/MathML\", localName: string): HTMLCollectionOf<MathMLElement>;\n    getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;\n    /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */\n    hasAttribute(qualifiedName: string): boolean;\n    /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */\n    hasAttributeNS(namespace: string | null, localName: string): boolean;\n    /** Returns true if element has attributes, and false otherwise. */\n    hasAttributes(): boolean;\n    hasPointerCapture(pointerId: number): boolean;\n    insertAdjacentElement(where: InsertPosition, element: Element): Element | null;\n    insertAdjacentHTML(position: InsertPosition, text: string): void;\n    insertAdjacentText(where: InsertPosition, data: string): void;\n    /** Returns true if matching selectors against element's root yields element, and false otherwise. */\n    matches(selectors: string): boolean;\n    releasePointerCapture(pointerId: number): void;\n    /** Removes element's first attribute whose qualified name is qualifiedName. */\n    removeAttribute(qualifiedName: string): void;\n    /** Removes element's attribute whose namespace is namespace and local name is localName. */\n    removeAttributeNS(namespace: string | null, localName: string): void;\n    removeAttributeNode(attr: Attr): Attr;\n    /**\n     * Displays element fullscreen and resolves promise when done.\n     *\n     * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to \"show\", navigation simplicity is preferred over screen space, and if set to \"hide\", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value \"auto\" indicates no application preference.\n     */\n    requestFullscreen(options?: FullscreenOptions): Promise<void>;\n    requestPointerLock(): void;\n    scroll(options?: ScrollToOptions): void;\n    scroll(x: number, y: number): void;\n    scrollBy(options?: ScrollToOptions): void;\n    scrollBy(x: number, y: number): void;\n    scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;\n    scrollTo(options?: ScrollToOptions): void;\n    scrollTo(x: number, y: number): void;\n    /** Sets the value of element's first attribute whose qualified name is qualifiedName to value. */\n    setAttribute(qualifiedName: string, value: string): void;\n    /** Sets the value of element's attribute whose namespace is namespace and local name is localName to value. */\n    setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;\n    setAttributeNode(attr: Attr): Attr | null;\n    setAttributeNodeNS(attr: Attr): Attr | null;\n    setPointerCapture(pointerId: number): void;\n    /**\n     * If force is not given, \"toggles\" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.\n     *\n     * Returns true if qualifiedName is now present, and false otherwise.\n     */\n    toggleAttribute(qualifiedName: string, force?: boolean): boolean;\n    /** @deprecated This is a legacy alias of \\`matches\\`. */\n    webkitMatchesSelector(selectors: string): boolean;\n    addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Element: {\n    prototype: Element;\n    new(): Element;\n};\n\ninterface ElementCSSInlineStyle {\n    readonly style: CSSStyleDeclaration;\n}\n\ninterface ElementContentEditable {\n    contentEditable: string;\n    enterKeyHint: string;\n    inputMode: string;\n    readonly isContentEditable: boolean;\n}\n\ninterface ElementInternals extends ARIAMixin {\n    /** Returns the form owner of internals's target element. */\n    readonly form: HTMLFormElement | null;\n    /** Returns a NodeList of all the label elements that internals's target element is associated with. */\n    readonly labels: NodeList;\n    /** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */\n    readonly shadowRoot: ShadowRoot | null;\n    /** Returns the error message that would be shown to the user if internals's target element was to be checked for validity. */\n    readonly validationMessage: string;\n    /** Returns the ValidityState object for internals's target element. */\n    readonly validity: ValidityState;\n    /** Returns true if internals's target element will be validated when the form is submitted; false otherwise. */\n    readonly willValidate: boolean;\n    /** Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case. */\n    checkValidity(): boolean;\n    /** Returns true if internals's target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user. */\n    reportValidity(): boolean;\n    /**\n     * Sets both the state and submission value of internals's target element to value.\n     *\n     * If value is null, the element won't participate in form submission.\n     */\n    setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;\n    /** Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's validation message to message. If anchor is specified, the user agent might use it to indicate problems with the constraints of internals's target element when the form owner is validated interactively or reportValidity() is called. */\n    setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;\n}\n\ndeclare var ElementInternals: {\n    prototype: ElementInternals;\n    new(): ElementInternals;\n};\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n    readonly colno: number;\n    readonly error: any;\n    readonly filename: string;\n    readonly lineno: number;\n    readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n    prototype: ErrorEvent;\n    new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n    /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */\n    readonly bubbles: boolean;\n    /** @deprecated */\n    cancelBubble: boolean;\n    /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */\n    readonly cancelable: boolean;\n    /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */\n    readonly composed: boolean;\n    /** Returns the object whose event listener's callback is currently being invoked. */\n    readonly currentTarget: EventTarget | null;\n    /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */\n    readonly defaultPrevented: boolean;\n    /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */\n    readonly eventPhase: number;\n    /** Returns true if event was dispatched by the user agent, and false otherwise. */\n    readonly isTrusted: boolean;\n    /** @deprecated */\n    returnValue: boolean;\n    /** @deprecated */\n    readonly srcElement: EventTarget | null;\n    /** Returns the object to which event is dispatched (its target). */\n    readonly target: EventTarget | null;\n    /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */\n    readonly timeStamp: DOMHighResTimeStamp;\n    /** Returns the type of event, e.g. \"click\", \"hashchange\", or \"submit\". */\n    readonly type: string;\n    /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is \"closed\" that are not reachable from event's currentTarget. */\n    composedPath(): EventTarget[];\n    /** @deprecated */\n    initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n    /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */\n    preventDefault(): void;\n    /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */\n    stopImmediatePropagation(): void;\n    /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */\n    stopPropagation(): void;\n    readonly NONE: 0;\n    readonly CAPTURING_PHASE: 1;\n    readonly AT_TARGET: 2;\n    readonly BUBBLING_PHASE: 3;\n}\n\ndeclare var Event: {\n    prototype: Event;\n    new(type: string, eventInitDict?: EventInit): Event;\n    readonly NONE: 0;\n    readonly CAPTURING_PHASE: 1;\n    readonly AT_TARGET: 2;\n    readonly BUBBLING_PHASE: 3;\n};\n\ninterface EventCounts {\n    forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;\n}\n\ndeclare var EventCounts: {\n    prototype: EventCounts;\n    new(): EventCounts;\n};\n\ninterface EventListener {\n    (evt: Event): void;\n}\n\ninterface EventListenerObject {\n    handleEvent(object: Event): void;\n}\n\ninterface EventSourceEventMap {\n    \"error\": Event;\n    \"message\": MessageEvent;\n    \"open\": Event;\n}\n\ninterface EventSource extends EventTarget {\n    onerror: ((this: EventSource, ev: Event) => any) | null;\n    onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n    onopen: ((this: EventSource, ev: Event) => any) | null;\n    /** Returns the state of this EventSource object's connection. It can have the values described below. */\n    readonly readyState: number;\n    /** Returns the URL providing the event stream. */\n    readonly url: string;\n    /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to \"include\", and false otherwise. */\n    readonly withCredentials: boolean;\n    /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */\n    close(): void;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSED: 2;\n    addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n    prototype: EventSource;\n    new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSED: 2;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n    /**\n     * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.\n     *\n     * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.\n     *\n     * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.\n     *\n     * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in \\xA7 2.8 Observing event listeners.\n     *\n     * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.\n     *\n     * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.\n     *\n     * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.\n     */\n    addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n    /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */\n    dispatchEvent(event: Event): boolean;\n    /** Removes the event listener in target's event listener list with the same type, callback, and options. */\n    removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n    prototype: EventTarget;\n    new(): EventTarget;\n};\n\n/** @deprecated */\ninterface External {\n    /** @deprecated */\n    AddSearchProvider(): void;\n    /** @deprecated */\n    IsSearchProviderInstalled(): void;\n}\n\n/** @deprecated */\ndeclare var External: {\n    prototype: External;\n    new(): External;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n    readonly lastModified: number;\n    readonly name: string;\n    readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n    prototype: File;\n    new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type=\"file\"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */\ninterface FileList {\n    readonly length: number;\n    item(index: number): File | null;\n    [index: number]: File;\n}\n\ndeclare var FileList: {\n    prototype: FileList;\n    new(): FileList;\n};\n\ninterface FileReaderEventMap {\n    \"abort\": ProgressEvent<FileReader>;\n    \"error\": ProgressEvent<FileReader>;\n    \"load\": ProgressEvent<FileReader>;\n    \"loadend\": ProgressEvent<FileReader>;\n    \"loadstart\": ProgressEvent<FileReader>;\n    \"progress\": ProgressEvent<FileReader>;\n}\n\n/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */\ninterface FileReader extends EventTarget {\n    readonly error: DOMException | null;\n    onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;\n    readonly result: string | ArrayBuffer | null;\n    abort(): void;\n    readAsArrayBuffer(blob: Blob): void;\n    readAsBinaryString(blob: Blob): void;\n    readAsDataURL(blob: Blob): void;\n    readAsText(blob: Blob, encoding?: string): void;\n    readonly EMPTY: 0;\n    readonly LOADING: 1;\n    readonly DONE: 2;\n    addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n    prototype: FileReader;\n    new(): FileReader;\n    readonly EMPTY: 0;\n    readonly LOADING: 1;\n    readonly DONE: 2;\n};\n\ninterface FileSystem {\n    readonly name: string;\n    readonly root: FileSystemDirectoryEntry;\n}\n\ndeclare var FileSystem: {\n    prototype: FileSystem;\n    new(): FileSystem;\n};\n\ninterface FileSystemDirectoryEntry extends FileSystemEntry {\n    createReader(): FileSystemDirectoryReader;\n    getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n    getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemDirectoryEntry: {\n    prototype: FileSystemDirectoryEntry;\n    new(): FileSystemDirectoryEntry;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemDirectoryHandle extends FileSystemHandle {\n    readonly kind: \"directory\";\n    getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;\n    getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;\n    removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;\n    resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;\n}\n\ndeclare var FileSystemDirectoryHandle: {\n    prototype: FileSystemDirectoryHandle;\n    new(): FileSystemDirectoryHandle;\n};\n\ninterface FileSystemDirectoryReader {\n    readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemDirectoryReader: {\n    prototype: FileSystemDirectoryReader;\n    new(): FileSystemDirectoryReader;\n};\n\ninterface FileSystemEntry {\n    readonly filesystem: FileSystem;\n    readonly fullPath: string;\n    readonly isDirectory: boolean;\n    readonly isFile: boolean;\n    readonly name: string;\n    getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemEntry: {\n    prototype: FileSystemEntry;\n    new(): FileSystemEntry;\n};\n\ninterface FileSystemFileEntry extends FileSystemEntry {\n    file(successCallback: FileCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemFileEntry: {\n    prototype: FileSystemFileEntry;\n    new(): FileSystemFileEntry;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemFileHandle extends FileSystemHandle {\n    readonly kind: \"file\";\n    getFile(): Promise<File>;\n}\n\ndeclare var FileSystemFileHandle: {\n    prototype: FileSystemFileHandle;\n    new(): FileSystemFileHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemHandle {\n    readonly kind: FileSystemHandleKind;\n    readonly name: string;\n    isSameEntry(other: FileSystemHandle): Promise<boolean>;\n}\n\ndeclare var FileSystemHandle: {\n    prototype: FileSystemHandle;\n    new(): FileSystemHandle;\n};\n\n/** Focus-related events like focus, blur, focusin, or focusout. */\ninterface FocusEvent extends UIEvent {\n    readonly relatedTarget: EventTarget | null;\n}\n\ndeclare var FocusEvent: {\n    prototype: FocusEvent;\n    new(type: string, eventInitDict?: FocusEventInit): FocusEvent;\n};\n\ninterface FontFace {\n    ascentOverride: string;\n    descentOverride: string;\n    display: FontDisplay;\n    family: string;\n    featureSettings: string;\n    lineGapOverride: string;\n    readonly loaded: Promise<FontFace>;\n    readonly status: FontFaceLoadStatus;\n    stretch: string;\n    style: string;\n    unicodeRange: string;\n    variant: string;\n    weight: string;\n    load(): Promise<FontFace>;\n}\n\ndeclare var FontFace: {\n    prototype: FontFace;\n    new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n    \"loading\": Event;\n    \"loadingdone\": Event;\n    \"loadingerror\": Event;\n}\n\ninterface FontFaceSet extends EventTarget {\n    onloading: ((this: FontFaceSet, ev: Event) => any) | null;\n    onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;\n    onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;\n    readonly ready: Promise<FontFaceSet>;\n    readonly status: FontFaceSetLoadStatus;\n    check(font: string, text?: string): boolean;\n    load(font: string, text?: string): Promise<FontFace[]>;\n    forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;\n    addEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FontFaceSet: {\n    prototype: FontFaceSet;\n    new(initialFaces: FontFace[]): FontFaceSet;\n};\n\ninterface FontFaceSetLoadEvent extends Event {\n    readonly fontfaces: ReadonlyArray<FontFace>;\n}\n\ndeclare var FontFaceSetLoadEvent: {\n    prototype: FontFaceSetLoadEvent;\n    new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent;\n};\n\ninterface FontFaceSource {\n    readonly fonts: FontFaceSet;\n}\n\n/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to \"multipart/form-data\". */\ninterface FormData {\n    append(name: string, value: string | Blob, fileName?: string): void;\n    delete(name: string): void;\n    get(name: string): FormDataEntryValue | null;\n    getAll(name: string): FormDataEntryValue[];\n    has(name: string): boolean;\n    set(name: string, value: string | Blob, fileName?: string): void;\n    forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n    prototype: FormData;\n    new(form?: HTMLFormElement): FormData;\n};\n\ninterface FormDataEvent extends Event {\n    /** Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. */\n    readonly formData: FormData;\n}\n\ndeclare var FormDataEvent: {\n    prototype: FormDataEvent;\n    new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;\n};\n\n/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */\ninterface GainNode extends AudioNode {\n    readonly gain: AudioParam;\n}\n\ndeclare var GainNode: {\n    prototype: GainNode;\n    new(context: BaseAudioContext, options?: GainOptions): GainNode;\n};\n\n/**\n * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.\n * Available only in secure contexts.\n */\ninterface Gamepad {\n    readonly axes: ReadonlyArray<number>;\n    readonly buttons: ReadonlyArray<GamepadButton>;\n    readonly connected: boolean;\n    readonly hapticActuators: ReadonlyArray<GamepadHapticActuator>;\n    readonly id: string;\n    readonly index: number;\n    readonly mapping: GamepadMappingType;\n    readonly timestamp: DOMHighResTimeStamp;\n}\n\ndeclare var Gamepad: {\n    prototype: Gamepad;\n    new(): Gamepad;\n};\n\n/**\n * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.\n * Available only in secure contexts.\n */\ninterface GamepadButton {\n    readonly pressed: boolean;\n    readonly touched: boolean;\n    readonly value: number;\n}\n\ndeclare var GamepadButton: {\n    prototype: GamepadButton;\n    new(): GamepadButton;\n};\n\n/**\n * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.\n * Available only in secure contexts.\n */\ninterface GamepadEvent extends Event {\n    readonly gamepad: Gamepad;\n}\n\ndeclare var GamepadEvent: {\n    prototype: GamepadEvent;\n    new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;\n};\n\n/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */\ninterface GamepadHapticActuator {\n    readonly type: GamepadHapticActuatorType;\n}\n\ndeclare var GamepadHapticActuator: {\n    prototype: GamepadHapticActuator;\n    new(): GamepadHapticActuator;\n};\n\ninterface GenericTransformStream {\n    readonly readable: ReadableStream;\n    readonly writable: WritableStream;\n}\n\n/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */\ninterface Geolocation {\n    clearWatch(watchId: number): void;\n    getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void;\n    watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number;\n}\n\ndeclare var Geolocation: {\n    prototype: Geolocation;\n    new(): Geolocation;\n};\n\n/** Available only in secure contexts. */\ninterface GeolocationCoordinates {\n    readonly accuracy: number;\n    readonly altitude: number | null;\n    readonly altitudeAccuracy: number | null;\n    readonly heading: number | null;\n    readonly latitude: number;\n    readonly longitude: number;\n    readonly speed: number | null;\n}\n\ndeclare var GeolocationCoordinates: {\n    prototype: GeolocationCoordinates;\n    new(): GeolocationCoordinates;\n};\n\n/** Available only in secure contexts. */\ninterface GeolocationPosition {\n    readonly coords: GeolocationCoordinates;\n    readonly timestamp: EpochTimeStamp;\n}\n\ndeclare var GeolocationPosition: {\n    prototype: GeolocationPosition;\n    new(): GeolocationPosition;\n};\n\ninterface GeolocationPositionError {\n    readonly code: number;\n    readonly message: string;\n    readonly PERMISSION_DENIED: 1;\n    readonly POSITION_UNAVAILABLE: 2;\n    readonly TIMEOUT: 3;\n}\n\ndeclare var GeolocationPositionError: {\n    prototype: GeolocationPositionError;\n    new(): GeolocationPositionError;\n    readonly PERMISSION_DENIED: 1;\n    readonly POSITION_UNAVAILABLE: 2;\n    readonly TIMEOUT: 3;\n};\n\ninterface GlobalEventHandlersEventMap {\n    \"abort\": UIEvent;\n    \"animationcancel\": AnimationEvent;\n    \"animationend\": AnimationEvent;\n    \"animationiteration\": AnimationEvent;\n    \"animationstart\": AnimationEvent;\n    \"auxclick\": MouseEvent;\n    \"beforeinput\": InputEvent;\n    \"blur\": FocusEvent;\n    \"cancel\": Event;\n    \"canplay\": Event;\n    \"canplaythrough\": Event;\n    \"change\": Event;\n    \"click\": MouseEvent;\n    \"close\": Event;\n    \"compositionend\": CompositionEvent;\n    \"compositionstart\": CompositionEvent;\n    \"compositionupdate\": CompositionEvent;\n    \"contextmenu\": MouseEvent;\n    \"copy\": ClipboardEvent;\n    \"cuechange\": Event;\n    \"cut\": ClipboardEvent;\n    \"dblclick\": MouseEvent;\n    \"drag\": DragEvent;\n    \"dragend\": DragEvent;\n    \"dragenter\": DragEvent;\n    \"dragleave\": DragEvent;\n    \"dragover\": DragEvent;\n    \"dragstart\": DragEvent;\n    \"drop\": DragEvent;\n    \"durationchange\": Event;\n    \"emptied\": Event;\n    \"ended\": Event;\n    \"error\": ErrorEvent;\n    \"focus\": FocusEvent;\n    \"focusin\": FocusEvent;\n    \"focusout\": FocusEvent;\n    \"formdata\": FormDataEvent;\n    \"gotpointercapture\": PointerEvent;\n    \"input\": Event;\n    \"invalid\": Event;\n    \"keydown\": KeyboardEvent;\n    \"keypress\": KeyboardEvent;\n    \"keyup\": KeyboardEvent;\n    \"load\": Event;\n    \"loadeddata\": Event;\n    \"loadedmetadata\": Event;\n    \"loadstart\": Event;\n    \"lostpointercapture\": PointerEvent;\n    \"mousedown\": MouseEvent;\n    \"mouseenter\": MouseEvent;\n    \"mouseleave\": MouseEvent;\n    \"mousemove\": MouseEvent;\n    \"mouseout\": MouseEvent;\n    \"mouseover\": MouseEvent;\n    \"mouseup\": MouseEvent;\n    \"paste\": ClipboardEvent;\n    \"pause\": Event;\n    \"play\": Event;\n    \"playing\": Event;\n    \"pointercancel\": PointerEvent;\n    \"pointerdown\": PointerEvent;\n    \"pointerenter\": PointerEvent;\n    \"pointerleave\": PointerEvent;\n    \"pointermove\": PointerEvent;\n    \"pointerout\": PointerEvent;\n    \"pointerover\": PointerEvent;\n    \"pointerup\": PointerEvent;\n    \"progress\": ProgressEvent;\n    \"ratechange\": Event;\n    \"reset\": Event;\n    \"resize\": UIEvent;\n    \"scroll\": Event;\n    \"securitypolicyviolation\": SecurityPolicyViolationEvent;\n    \"seeked\": Event;\n    \"seeking\": Event;\n    \"select\": Event;\n    \"selectionchange\": Event;\n    \"selectstart\": Event;\n    \"slotchange\": Event;\n    \"stalled\": Event;\n    \"submit\": SubmitEvent;\n    \"suspend\": Event;\n    \"timeupdate\": Event;\n    \"toggle\": Event;\n    \"touchcancel\": TouchEvent;\n    \"touchend\": TouchEvent;\n    \"touchmove\": TouchEvent;\n    \"touchstart\": TouchEvent;\n    \"transitioncancel\": TransitionEvent;\n    \"transitionend\": TransitionEvent;\n    \"transitionrun\": TransitionEvent;\n    \"transitionstart\": TransitionEvent;\n    \"volumechange\": Event;\n    \"waiting\": Event;\n    \"webkitanimationend\": Event;\n    \"webkitanimationiteration\": Event;\n    \"webkitanimationstart\": Event;\n    \"webkittransitionend\": Event;\n    \"wheel\": WheelEvent;\n}\n\ninterface GlobalEventHandlers {\n    /**\n     * Fires when the user aborts the download.\n     * @param ev The event.\n     */\n    onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n    onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n    onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n    onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n    onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n    onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;\n    /**\n     * Fires when the object loses the input focus.\n     * @param ev The focus event.\n     */\n    onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n    oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when playback is possible, but would require further buffering.\n     * @param ev The event.\n     */\n    oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when the contents of the object or selection have changed.\n     * @param ev The event.\n     */\n    onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when the user clicks the left mouse button on the object\n     * @param ev The mouse event.\n     */\n    onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n     * @param ev The mouse event.\n     */\n    oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n    oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n    /**\n     * Fires when the user double-clicks the object.\n     * @param ev The mouse event.\n     */\n    ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    /**\n     * Fires on the source object continuously during a drag operation.\n     * @param ev The event.\n     */\n    ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    /**\n     * Fires on the source object when the user releases the mouse at the close of a drag operation.\n     * @param ev The event.\n     */\n    ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    /**\n     * Fires on the target element when the user drags the object to a valid drop target.\n     * @param ev The drag event.\n     */\n    ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    /**\n     * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n     * @param ev The drag event.\n     */\n    ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    /**\n     * Fires on the target element continuously while the user drags the object over a valid drop target.\n     * @param ev The event.\n     */\n    ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    /**\n     * Fires on the source object when the user starts to drag a text selection or selected object.\n     * @param ev The event.\n     */\n    ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n    /**\n     * Occurs when the duration attribute is updated.\n     * @param ev The event.\n     */\n    ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the media element is reset to its initial state.\n     * @param ev The event.\n     */\n    onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the end of playback is reached.\n     * @param ev The event\n     */\n    onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when an error occurs during object loading.\n     * @param ev The event.\n     */\n    onerror: OnErrorEventHandler;\n    /**\n     * Fires when the object receives focus.\n     * @param ev The event.\n     */\n    onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n    onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;\n    ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when the user presses a key.\n     * @param ev The keyboard event\n     */\n    onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n    /**\n     * Fires when the user presses an alphanumeric key.\n     * @param ev The event.\n     * @deprecated\n     */\n    onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n    /**\n     * Fires when the user releases a key.\n     * @param ev The keyboard event\n     */\n    onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n    /**\n     * Fires immediately after the browser loads the object.\n     * @param ev The event.\n     */\n    onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when media data is loaded at the current playback position.\n     * @param ev The event.\n     */\n    onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the duration and dimensions of the media have been determined.\n     * @param ev The event.\n     */\n    onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when Internet Explorer begins looking for media data.\n     * @param ev The event.\n     */\n    onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    /**\n     * Fires when the user clicks the object with either mouse button.\n     * @param ev The mouse event.\n     */\n    onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    /**\n     * Fires when the user moves the mouse over the object.\n     * @param ev The mouse event.\n     */\n    onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    /**\n     * Fires when the user moves the mouse pointer outside the boundaries of the object.\n     * @param ev The mouse event.\n     */\n    onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    /**\n     * Fires when the user moves the mouse pointer into the object.\n     * @param ev The mouse event.\n     */\n    onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    /**\n     * Fires when the user releases a mouse button while the mouse is over the object.\n     * @param ev The mouse event.\n     */\n    onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n    onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n    /**\n     * Occurs when playback is paused.\n     * @param ev The event.\n     */\n    onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the play method is requested.\n     * @param ev The event.\n     */\n    onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the audio or video has started playing.\n     * @param ev The event.\n     */\n    onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n    /**\n     * Occurs to indicate progress while downloading media data.\n     * @param ev The event.\n     */\n    onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;\n    /**\n     * Occurs when the playback rate is increased or decreased.\n     * @param ev The event.\n     */\n    onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when the user resets a form.\n     * @param ev The event.\n     */\n    onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n    /**\n     * Fires when the user repositions the scroll box in the scroll bar on the object.\n     * @param ev The event.\n     */\n    onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;\n    /**\n     * Occurs when the seek operation ends.\n     * @param ev The event.\n     */\n    onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the current playback position is moved.\n     * @param ev The event.\n     */\n    onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Fires when the current selection changes.\n     * @param ev The event.\n     */\n    onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when the download has stopped.\n     * @param ev The event.\n     */\n    onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;\n    /**\n     * Occurs if the load operation has been intentionally halted.\n     * @param ev The event.\n     */\n    onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs to indicate the current playback position.\n     * @param ev The event.\n     */\n    ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n    ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n    ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n    ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n    ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n    ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n    ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n    ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n    /**\n     * Occurs when the volume is changed, or playback is muted or unmuted.\n     * @param ev The event.\n     */\n    onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /**\n     * Occurs when playback stops because the next frame of a video resource is not available.\n     * @param ev The event.\n     */\n    onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /** @deprecated This is a legacy alias of \\`onanimationend\\`. */\n    onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /** @deprecated This is a legacy alias of \\`onanimationiteration\\`. */\n    onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /** @deprecated This is a legacy alias of \\`onanimationstart\\`. */\n    onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    /** @deprecated This is a legacy alias of \\`ontransitionend\\`. */\n    onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n    onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;\n    addEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface HTMLAllCollection {\n    /** Returns the number of elements in the collection. */\n    readonly length: number;\n    /** Returns the item with index index from the collection (determined by tree order). */\n    item(nameOrIndex?: string): HTMLCollection | Element | null;\n    /**\n     * Returns the item with ID or name name from the collection.\n     *\n     * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.\n     *\n     * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute.\n     */\n    namedItem(name: string): HTMLCollection | Element | null;\n    [index: number]: Element;\n}\n\ndeclare var HTMLAllCollection: {\n    prototype: HTMLAllCollection;\n    new(): HTMLAllCollection;\n};\n\n/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */\ninterface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {\n    /**\n     * Sets or retrieves the character set used to encode the object.\n     * @deprecated\n     */\n    charset: string;\n    /**\n     * Sets or retrieves the coordinates of the object.\n     * @deprecated\n     */\n    coords: string;\n    download: string;\n    /** Sets or retrieves the language code of the object. */\n    hreflang: string;\n    /**\n     * Sets or retrieves the shape of the object.\n     * @deprecated\n     */\n    name: string;\n    ping: string;\n    referrerPolicy: string;\n    /** Sets or retrieves the relationship between the object and the destination of the link. */\n    rel: string;\n    readonly relList: DOMTokenList;\n    /**\n     * Sets or retrieves the relationship between the object and the destination of the link.\n     * @deprecated\n     */\n    rev: string;\n    /**\n     * Sets or retrieves the shape of the object.\n     * @deprecated\n     */\n    shape: string;\n    /** Sets or retrieves the window or frame at which to target content. */\n    target: string;\n    /** Retrieves or sets the text of the object as a string. */\n    text: string;\n    type: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAnchorElement: {\n    prototype: HTMLAnchorElement;\n    new(): HTMLAnchorElement;\n};\n\n/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements. */\ninterface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {\n    /** Sets or retrieves a text alternative to the graphic. */\n    alt: string;\n    /** Sets or retrieves the coordinates of the object. */\n    coords: string;\n    download: string;\n    /**\n     * Sets or gets whether clicks in this region cause action.\n     * @deprecated\n     */\n    noHref: boolean;\n    ping: string;\n    referrerPolicy: string;\n    rel: string;\n    readonly relList: DOMTokenList;\n    /** Sets or retrieves the shape of the object. */\n    shape: string;\n    /** Sets or retrieves the window or frame at which to target content. */\n    target: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAreaElement: {\n    prototype: HTMLAreaElement;\n    new(): HTMLAreaElement;\n};\n\n/** Provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface. */\ninterface HTMLAudioElement extends HTMLMediaElement {\n    addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAudioElement: {\n    prototype: HTMLAudioElement;\n    new(): HTMLAudioElement;\n};\n\n/** A HTML line break element (<br>). It inherits from HTMLElement. */\ninterface HTMLBRElement extends HTMLElement {\n    /**\n     * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\n     * @deprecated\n     */\n    clear: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBRElement: {\n    prototype: HTMLBRElement;\n    new(): HTMLBRElement;\n};\n\n/** Contains the base URI\\xA0for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. */\ninterface HTMLBaseElement extends HTMLElement {\n    /** Gets or sets the baseline URL on which relative links are based. */\n    href: string;\n    /** Sets or retrieves the window or frame at which to target content. */\n    target: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseElement: {\n    prototype: HTMLBaseElement;\n    new(): HTMLBaseElement;\n};\n\ninterface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n}\n\n/** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */\ninterface HTMLBodyElement extends HTMLElement, WindowEventHandlers {\n    /** @deprecated */\n    aLink: string;\n    /** @deprecated */\n    background: string;\n    /** @deprecated */\n    bgColor: string;\n    /** @deprecated */\n    link: string;\n    /** @deprecated */\n    text: string;\n    /** @deprecated */\n    vLink: string;\n    addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBodyElement: {\n    prototype: HTMLBodyElement;\n    new(): HTMLBodyElement;\n};\n\n/** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements. */\ninterface HTMLButtonElement extends HTMLElement {\n    disabled: boolean;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */\n    formAction: string;\n    /** Used to override the encoding (formEnctype attribute) specified on the form element. */\n    formEnctype: string;\n    /** Overrides the submit method attribute previously specified on a form element. */\n    formMethod: string;\n    /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option. */\n    formNoValidate: boolean;\n    /** Overrides the target attribute on a form element. */\n    formTarget: string;\n    readonly labels: NodeListOf<HTMLLabelElement>;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    /** Gets the classification and default behavior of the button. */\n    type: string;\n    /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting. */\n    readonly validationMessage: string;\n    /** Returns a  ValidityState object that represents the validity states of an element. */\n    readonly validity: ValidityState;\n    /** Sets or retrieves the default or selected value of the control. */\n    value: string;\n    /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n    readonly willValidate: boolean;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    reportValidity(): boolean;\n    /**\n     * Sets a custom error message that is displayed when a form is submitted.\n     * @param error Sets a custom error message that is displayed when a form is submitted.\n     */\n    setCustomValidity(error: string): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLButtonElement: {\n    prototype: HTMLButtonElement;\n    new(): HTMLButtonElement;\n};\n\n/** Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface. */\ninterface HTMLCanvasElement extends HTMLElement {\n    /** Gets or sets the height of a canvas element on a document. */\n    height: number;\n    /** Gets or sets the width of a canvas element on a document. */\n    width: number;\n    captureStream(frameRequestRate?: number): MediaStream;\n    /**\n     * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\n     * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\n     */\n    getContext(contextId: \"2d\", options?: CanvasRenderingContext2DSettings): CanvasRenderingContext2D | null;\n    getContext(contextId: \"bitmaprenderer\", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n    getContext(contextId: \"webgl\", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n    getContext(contextId: \"webgl2\", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n    getContext(contextId: string, options?: any): RenderingContext | null;\n    toBlob(callback: BlobCallback, type?: string, quality?: any): void;\n    /**\n     * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\n     * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\n     */\n    toDataURL(type?: string, quality?: any): string;\n    transferControlToOffscreen(): OffscreenCanvas;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLCanvasElement: {\n    prototype: HTMLCanvasElement;\n    new(): HTMLCanvasElement;\n};\n\n/** A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list. */\ninterface HTMLCollectionBase {\n    /** Sets or retrieves the number of objects in a collection. */\n    readonly length: number;\n    /** Retrieves an object from various collections. */\n    item(index: number): Element | null;\n    [index: number]: Element;\n}\n\ninterface HTMLCollection extends HTMLCollectionBase {\n    /** Retrieves a select object or an object from an options collection. */\n    namedItem(name: string): Element | null;\n}\n\ndeclare var HTMLCollection: {\n    prototype: HTMLCollection;\n    new(): HTMLCollection;\n};\n\ninterface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {\n    item(index: number): T | null;\n    namedItem(name: string): T | null;\n    [index: number]: T;\n}\n\n/** Provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements. */\ninterface HTMLDListElement extends HTMLElement {\n    /** @deprecated */\n    compact: boolean;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDListElement: {\n    prototype: HTMLDListElement;\n    new(): HTMLDListElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements. */\ninterface HTMLDataElement extends HTMLElement {\n    value: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataElement: {\n    prototype: HTMLDataElement;\n    new(): HTMLDataElement;\n};\n\n/** Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content. */\ninterface HTMLDataListElement extends HTMLElement {\n    /** Returns an HTMLCollection of the option elements of the datalist element. */\n    readonly options: HTMLCollectionOf<HTMLOptionElement>;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataListElement: {\n    prototype: HTMLDataListElement;\n    new(): HTMLDataListElement;\n};\n\ninterface HTMLDetailsElement extends HTMLElement {\n    open: boolean;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDetailsElement: {\n    prototype: HTMLDetailsElement;\n    new(): HTMLDetailsElement;\n};\n\ninterface HTMLDialogElement extends HTMLElement {\n    open: boolean;\n    returnValue: string;\n    /**\n     * Closes the dialog element.\n     *\n     * The argument, if provided, provides a return value.\n     */\n    close(returnValue?: string): void;\n    /** Displays the dialog element. */\n    show(): void;\n    showModal(): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDialogElement: {\n    prototype: HTMLDialogElement;\n    new(): HTMLDialogElement;\n};\n\n/** @deprecated */\ninterface HTMLDirectoryElement extends HTMLElement {\n    /** @deprecated */\n    compact: boolean;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLDirectoryElement: {\n    prototype: HTMLDirectoryElement;\n    new(): HTMLDirectoryElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements. */\ninterface HTMLDivElement extends HTMLElement {\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDivElement: {\n    prototype: HTMLDivElement;\n    new(): HTMLDivElement;\n};\n\n/** @deprecated use Document */\ninterface HTMLDocument extends Document {\n    addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLDocument: {\n    prototype: HTMLDocument;\n    new(): HTMLDocument;\n};\n\ninterface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {\n}\n\n/** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */\ninterface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n    accessKey: string;\n    readonly accessKeyLabel: string;\n    autocapitalize: string;\n    dir: string;\n    draggable: boolean;\n    hidden: boolean;\n    inert: boolean;\n    innerText: string;\n    lang: string;\n    readonly offsetHeight: number;\n    readonly offsetLeft: number;\n    readonly offsetParent: Element | null;\n    readonly offsetTop: number;\n    readonly offsetWidth: number;\n    outerText: string;\n    spellcheck: boolean;\n    title: string;\n    translate: boolean;\n    attachInternals(): ElementInternals;\n    click(): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLElement: {\n    prototype: HTMLElement;\n    new(): HTMLElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements. */\ninterface HTMLEmbedElement extends HTMLElement {\n    /** @deprecated */\n    align: string;\n    /** Sets or retrieves the height of the object. */\n    height: string;\n    /**\n     * Sets or retrieves the name of the object.\n     * @deprecated\n     */\n    name: string;\n    /** Sets or retrieves a URL to be loaded by the object. */\n    src: string;\n    type: string;\n    /** Sets or retrieves the width of the object. */\n    width: string;\n    getSVGDocument(): Document | null;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLEmbedElement: {\n    prototype: HTMLEmbedElement;\n    new(): HTMLEmbedElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements. */\ninterface HTMLFieldSetElement extends HTMLElement {\n    disabled: boolean;\n    /** Returns an HTMLCollection of the form controls in the element. */\n    readonly elements: HTMLCollection;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    name: string;\n    /** Returns the string \"fieldset\". */\n    readonly type: string;\n    /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting. */\n    readonly validationMessage: string;\n    /** Returns a  ValidityState object that represents the validity states of an element. */\n    readonly validity: ValidityState;\n    /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n    readonly willValidate: boolean;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    reportValidity(): boolean;\n    /**\n     * Sets a custom error message that is displayed when a form is submitted.\n     * @param error Sets a custom error message that is displayed when a form is submitted.\n     */\n    setCustomValidity(error: string): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFieldSetElement: {\n    prototype: HTMLFieldSetElement;\n    new(): HTMLFieldSetElement;\n};\n\n/**\n * Implements the document object model (DOM) representation of the font element. The HTML Font Element <font> defines the font size, font face and color of text.\n * @deprecated\n */\ninterface HTMLFontElement extends HTMLElement {\n    /** @deprecated */\n    color: string;\n    /**\n     * Sets or retrieves the current typeface family.\n     * @deprecated\n     */\n    face: string;\n    /** @deprecated */\n    size: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLFontElement: {\n    prototype: HTMLFontElement;\n    new(): HTMLFontElement;\n};\n\n/** A collection of HTML form control elements.  */\ninterface HTMLFormControlsCollection extends HTMLCollectionBase {\n    /**\n     * Returns the item with ID or name name from the collection.\n     *\n     * If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.\n     */\n    namedItem(name: string): RadioNodeList | Element | null;\n}\n\ndeclare var HTMLFormControlsCollection: {\n    prototype: HTMLFormControlsCollection;\n    new(): HTMLFormControlsCollection;\n};\n\n/** A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements. */\ninterface HTMLFormElement extends HTMLElement {\n    /** Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form. */\n    acceptCharset: string;\n    /** Sets or retrieves the URL to which the form content is sent for processing. */\n    action: string;\n    /** Specifies whether autocomplete is applied to an editable text field. */\n    autocomplete: string;\n    /** Retrieves a collection, in source order, of all controls in a given form. */\n    readonly elements: HTMLFormControlsCollection;\n    /** Sets or retrieves the MIME encoding for the form. */\n    encoding: string;\n    /** Sets or retrieves the encoding type for the form. */\n    enctype: string;\n    /** Sets or retrieves the number of objects in a collection. */\n    readonly length: number;\n    /** Sets or retrieves how to send the form data to the server. */\n    method: string;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    /** Designates a form that is not validated when submitted. */\n    noValidate: boolean;\n    rel: string;\n    readonly relList: DOMTokenList;\n    /** Sets or retrieves the window or frame at which to target content. */\n    target: string;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    reportValidity(): boolean;\n    requestSubmit(submitter?: HTMLElement | null): void;\n    /** Fires when the user resets a form. */\n    reset(): void;\n    /** Fires when a FORM is about to be submitted. */\n    submit(): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n    [index: number]: Element;\n    [name: string]: any;\n}\n\ndeclare var HTMLFormElement: {\n    prototype: HTMLFormElement;\n    new(): HTMLFormElement;\n};\n\n/** @deprecated */\ninterface HTMLFrameElement extends HTMLElement {\n    /**\n     * Retrieves the document object of the page or frame.\n     * @deprecated\n     */\n    readonly contentDocument: Document | null;\n    /**\n     * Retrieves the object of the specified.\n     * @deprecated\n     */\n    readonly contentWindow: WindowProxy | null;\n    /**\n     * Sets or retrieves whether to display a border for the frame.\n     * @deprecated\n     */\n    frameBorder: string;\n    /**\n     * Sets or retrieves a URI to a long description of the object.\n     * @deprecated\n     */\n    longDesc: string;\n    /**\n     * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n     * @deprecated\n     */\n    marginHeight: string;\n    /**\n     * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n     * @deprecated\n     */\n    marginWidth: string;\n    /**\n     * Sets or retrieves the frame name.\n     * @deprecated\n     */\n    name: string;\n    /**\n     * Sets or retrieves whether the user can resize the frame.\n     * @deprecated\n     */\n    noResize: boolean;\n    /**\n     * Sets or retrieves whether the frame can be scrolled.\n     * @deprecated\n     */\n    scrolling: string;\n    /**\n     * Sets or retrieves a URL to be loaded by the object.\n     * @deprecated\n     */\n    src: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLFrameElement: {\n    prototype: HTMLFrameElement;\n    new(): HTMLFrameElement;\n};\n\ninterface HTMLFrameSetElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n}\n\n/**\n * Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements.\n * @deprecated\n */\ninterface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers {\n    /**\n     * Sets or retrieves the frame widths of the object.\n     * @deprecated\n     */\n    cols: string;\n    /**\n     * Sets or retrieves the frame heights of the object.\n     * @deprecated\n     */\n    rows: string;\n    addEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLFrameSetElement: {\n    prototype: HTMLFrameSetElement;\n    new(): HTMLFrameSetElement;\n};\n\n/** Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements. */\ninterface HTMLHRElement extends HTMLElement {\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    /** @deprecated */\n    color: string;\n    /**\n     * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\n     * @deprecated\n     */\n    noShade: boolean;\n    /** @deprecated */\n    size: string;\n    /**\n     * Sets or retrieves the width of the object.\n     * @deprecated\n     */\n    width: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHRElement: {\n    prototype: HTMLHRElement;\n    new(): HTMLHRElement;\n};\n\n/** Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLHeadElement extends HTMLElement {\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadElement: {\n    prototype: HTMLHeadElement;\n    new(): HTMLHeadElement;\n};\n\n/** The different heading elements. It inherits methods and properties from the HTMLElement interface. */\ninterface HTMLHeadingElement extends HTMLElement {\n    /**\n     * Sets or retrieves a value that indicates the table alignment.\n     * @deprecated\n     */\n    align: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadingElement: {\n    prototype: HTMLHeadingElement;\n    new(): HTMLHeadingElement;\n};\n\n/** Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface. */\ninterface HTMLHtmlElement extends HTMLElement {\n    /**\n     * Sets or retrieves the DTD version that governs the current document.\n     * @deprecated\n     */\n    version: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHtmlElement: {\n    prototype: HTMLHtmlElement;\n    new(): HTMLHtmlElement;\n};\n\ninterface HTMLHyperlinkElementUtils {\n    /**\n     * Returns the hyperlink's URL's fragment (includes leading \"#\" if non-empty).\n     *\n     * Can be set, to change the URL's fragment (ignores leading \"#\").\n     */\n    hash: string;\n    /**\n     * Returns the hyperlink's URL's host and port (if different from the default port for the scheme).\n     *\n     * Can be set, to change the URL's host and port.\n     */\n    host: string;\n    /**\n     * Returns the hyperlink's URL's host.\n     *\n     * Can be set, to change the URL's host.\n     */\n    hostname: string;\n    /**\n     * Returns the hyperlink's URL.\n     *\n     * Can be set, to change the URL.\n     */\n    href: string;\n    toString(): string;\n    /** Returns the hyperlink's URL's origin. */\n    readonly origin: string;\n    /**\n     * Returns the hyperlink's URL's password.\n     *\n     * Can be set, to change the URL's password.\n     */\n    password: string;\n    /**\n     * Returns the hyperlink's URL's path.\n     *\n     * Can be set, to change the URL's path.\n     */\n    pathname: string;\n    /**\n     * Returns the hyperlink's URL's port.\n     *\n     * Can be set, to change the URL's port.\n     */\n    port: string;\n    /**\n     * Returns the hyperlink's URL's scheme.\n     *\n     * Can be set, to change the URL's scheme.\n     */\n    protocol: string;\n    /**\n     * Returns the hyperlink's URL's query (includes leading \"?\" if non-empty).\n     *\n     * Can be set, to change the URL's query (ignores leading \"?\").\n     */\n    search: string;\n    /**\n     * Returns the hyperlink's URL's username.\n     *\n     * Can be set, to change the URL's username.\n     */\n    username: string;\n}\n\n/** Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements. */\ninterface HTMLIFrameElement extends HTMLElement {\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    allow: string;\n    allowFullscreen: boolean;\n    /** Retrieves the document object of the page or frame. */\n    readonly contentDocument: Document | null;\n    /** Retrieves the object of the specified. */\n    readonly contentWindow: WindowProxy | null;\n    /**\n     * Sets or retrieves whether to display a border for the frame.\n     * @deprecated\n     */\n    frameBorder: string;\n    /** Sets or retrieves the height of the object. */\n    height: string;\n    /**\n     * Sets or retrieves a URI to a long description of the object.\n     * @deprecated\n     */\n    longDesc: string;\n    /**\n     * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n     * @deprecated\n     */\n    marginHeight: string;\n    /**\n     * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n     * @deprecated\n     */\n    marginWidth: string;\n    /** Sets or retrieves the frame name. */\n    name: string;\n    referrerPolicy: ReferrerPolicy;\n    readonly sandbox: DOMTokenList;\n    /**\n     * Sets or retrieves whether the frame can be scrolled.\n     * @deprecated\n     */\n    scrolling: string;\n    /** Sets or retrieves a URL to be loaded by the object. */\n    src: string;\n    /** Sets or retrives the content of the page that is to contain. */\n    srcdoc: string;\n    /** Sets or retrieves the width of the object. */\n    width: string;\n    getSVGDocument(): Document | null;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLIFrameElement: {\n    prototype: HTMLIFrameElement;\n    new(): HTMLIFrameElement;\n};\n\n/** Provides special properties and methods for manipulating <img> elements. */\ninterface HTMLImageElement extends HTMLElement {\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    /** Sets or retrieves a text alternative to the graphic. */\n    alt: string;\n    /**\n     * Specifies the properties of a border drawn around an object.\n     * @deprecated\n     */\n    border: string;\n    /** Retrieves whether the object is fully loaded. */\n    readonly complete: boolean;\n    crossOrigin: string | null;\n    readonly currentSrc: string;\n    decoding: \"async\" | \"sync\" | \"auto\";\n    /** Sets or retrieves the height of the object. */\n    height: number;\n    /**\n     * Sets or retrieves the width of the border to draw around the object.\n     * @deprecated\n     */\n    hspace: number;\n    /** Sets or retrieves whether the image is a server-side image map. */\n    isMap: boolean;\n    /** Sets or retrieves the policy for loading image elements that are outside the viewport. */\n    loading: \"eager\" | \"lazy\";\n    /**\n     * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\n     * @deprecated\n     */\n    longDesc: string;\n    /** @deprecated */\n    lowsrc: string;\n    /**\n     * Sets or retrieves the name of the object.\n     * @deprecated\n     */\n    name: string;\n    /** The original height of the image resource before sizing. */\n    readonly naturalHeight: number;\n    /** The original width of the image resource before sizing. */\n    readonly naturalWidth: number;\n    referrerPolicy: string;\n    sizes: string;\n    /** The address or URL of the a media resource that is to be considered. */\n    src: string;\n    srcset: string;\n    /** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. */\n    useMap: string;\n    /**\n     * Sets or retrieves the vertical margin for the object.\n     * @deprecated\n     */\n    vspace: number;\n    /** Sets or retrieves the width of the object. */\n    width: number;\n    readonly x: number;\n    readonly y: number;\n    decode(): Promise<void>;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLImageElement: {\n    prototype: HTMLImageElement;\n    new(): HTMLImageElement;\n};\n\n/** Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements. */\ninterface HTMLInputElement extends HTMLElement {\n    /** Sets or retrieves a comma-separated list of content types. */\n    accept: string;\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    /** Sets or retrieves a text alternative to the graphic. */\n    alt: string;\n    /** Specifies whether autocomplete is applied to an editable text field. */\n    autocomplete: string;\n    capture: string;\n    /** Sets or retrieves the state of the check box or radio button. */\n    checked: boolean;\n    /** Sets or retrieves the state of the check box or radio button. */\n    defaultChecked: boolean;\n    /** Sets or retrieves the initial contents of the object. */\n    defaultValue: string;\n    dirName: string;\n    disabled: boolean;\n    /** Returns a FileList object on a file type input object. */\n    files: FileList | null;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */\n    formAction: string;\n    /** Used to override the encoding (formEnctype attribute) specified on the form element. */\n    formEnctype: string;\n    /** Overrides the submit method attribute previously specified on a form element. */\n    formMethod: string;\n    /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option. */\n    formNoValidate: boolean;\n    /** Overrides the target attribute on a form element. */\n    formTarget: string;\n    /** Sets or retrieves the height of the object. */\n    height: number;\n    /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */\n    indeterminate: boolean;\n    readonly labels: NodeListOf<HTMLLabelElement> | null;\n    /** Specifies the ID of a pre-defined datalist of options for an input element. */\n    readonly list: HTMLDataListElement | null;\n    /** Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */\n    max: string;\n    /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */\n    maxLength: number;\n    /** Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field. */\n    min: string;\n    minLength: number;\n    /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */\n    multiple: boolean;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    /** Gets or sets a string containing a regular expression that the user's input must match. */\n    pattern: string;\n    /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */\n    placeholder: string;\n    readOnly: boolean;\n    /** When present, marks an element that can't be submitted without a value. */\n    required: boolean;\n    selectionDirection: \"forward\" | \"backward\" | \"none\" | null;\n    /** Gets or sets the end position or offset of a text selection. */\n    selectionEnd: number | null;\n    /** Gets or sets the starting position or offset of a text selection. */\n    selectionStart: number | null;\n    size: number;\n    /** The address or URL of the a media resource that is to be considered. */\n    src: string;\n    /** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */\n    step: string;\n    /** Returns the content type of the object. */\n    type: string;\n    /**\n     * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n     * @deprecated\n     */\n    useMap: string;\n    /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting. */\n    readonly validationMessage: string;\n    /** Returns a  ValidityState object that represents the validity states of an element. */\n    readonly validity: ValidityState;\n    /** Returns the value of the data at the cursor's current position. */\n    value: string;\n    /** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an \"InvalidStateError\" DOMException if the control isn't date- or time-based. */\n    valueAsDate: Date | null;\n    /** Returns the input field value as a number. */\n    valueAsNumber: number;\n    readonly webkitEntries: ReadonlyArray<FileSystemEntry>;\n    webkitdirectory: boolean;\n    /** Sets or retrieves the width of the object. */\n    width: number;\n    /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n    readonly willValidate: boolean;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    reportValidity(): boolean;\n    /** Makes the selection equal to the current object. */\n    select(): void;\n    /**\n     * Sets a custom error message that is displayed when a form is submitted.\n     * @param error Sets a custom error message that is displayed when a form is submitted.\n     */\n    setCustomValidity(error: string): void;\n    setRangeText(replacement: string): void;\n    setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n    /**\n     * Sets the start and end positions of a selection in a text field.\n     * @param start The offset into the text field for the start of the selection.\n     * @param end The offset into the text field for the end of the selection.\n     * @param direction The direction in which the selection is performed.\n     */\n    setSelectionRange(start: number | null, end: number | null, direction?: \"forward\" | \"backward\" | \"none\"): void;\n    showPicker(): void;\n    /**\n     * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\n     * @param n Value to decrement the value by.\n     */\n    stepDown(n?: number): void;\n    /**\n     * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\n     * @param n Value to increment the value by.\n     */\n    stepUp(n?: number): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLInputElement: {\n    prototype: HTMLInputElement;\n    new(): HTMLInputElement;\n};\n\n/** Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements. */\ninterface HTMLLIElement extends HTMLElement {\n    /** @deprecated */\n    type: string;\n    /** Sets or retrieves the value of a list item. */\n    value: number;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLIElement: {\n    prototype: HTMLLIElement;\n    new(): HTMLLIElement;\n};\n\n/** Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface. */\ninterface HTMLLabelElement extends HTMLElement {\n    /** Returns the form control that is associated with this element. */\n    readonly control: HTMLElement | null;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    /** Sets or retrieves the object to which the given label object is assigned. */\n    htmlFor: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLabelElement: {\n    prototype: HTMLLabelElement;\n    new(): HTMLLabelElement;\n};\n\n/** The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface. */\ninterface HTMLLegendElement extends HTMLElement {\n    /** @deprecated */\n    align: string;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLegendElement: {\n    prototype: HTMLLegendElement;\n    new(): HTMLLegendElement;\n};\n\n/** Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLLinkElement extends HTMLElement, LinkStyle {\n    as: string;\n    /**\n     * Sets or retrieves the character set used to encode the object.\n     * @deprecated\n     */\n    charset: string;\n    crossOrigin: string | null;\n    disabled: boolean;\n    /** Sets or retrieves a destination URL or an anchor point. */\n    href: string;\n    /** Sets or retrieves the language code of the object. */\n    hreflang: string;\n    imageSizes: string;\n    imageSrcset: string;\n    integrity: string;\n    /** Sets or retrieves the media type. */\n    media: string;\n    referrerPolicy: string;\n    /** Sets or retrieves the relationship between the object and the destination of the link. */\n    rel: string;\n    readonly relList: DOMTokenList;\n    /**\n     * Sets or retrieves the relationship between the object and the destination of the link.\n     * @deprecated\n     */\n    rev: string;\n    readonly sizes: DOMTokenList;\n    /**\n     * Sets or retrieves the window or frame at which to target content.\n     * @deprecated\n     */\n    target: string;\n    /** Sets or retrieves the MIME type of the object. */\n    type: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLinkElement: {\n    prototype: HTMLLinkElement;\n    new(): HTMLLinkElement;\n};\n\n/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements. */\ninterface HTMLMapElement extends HTMLElement {\n    /** Retrieves a collection of the area objects defined for the given map object. */\n    readonly areas: HTMLCollection;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMapElement: {\n    prototype: HTMLMapElement;\n    new(): HTMLMapElement;\n};\n\n/**\n * Provides methods to manipulate <marquee> elements.\n * @deprecated\n */\ninterface HTMLMarqueeElement extends HTMLElement {\n    /** @deprecated */\n    behavior: string;\n    /** @deprecated */\n    bgColor: string;\n    /** @deprecated */\n    direction: string;\n    /** @deprecated */\n    height: string;\n    /** @deprecated */\n    hspace: number;\n    /** @deprecated */\n    loop: number;\n    /** @deprecated */\n    scrollAmount: number;\n    /** @deprecated */\n    scrollDelay: number;\n    /** @deprecated */\n    trueSpeed: boolean;\n    /** @deprecated */\n    vspace: number;\n    /** @deprecated */\n    width: string;\n    /** @deprecated */\n    start(): void;\n    /** @deprecated */\n    stop(): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLMarqueeElement: {\n    prototype: HTMLMarqueeElement;\n    new(): HTMLMarqueeElement;\n};\n\ninterface HTMLMediaElementEventMap extends HTMLElementEventMap {\n    \"encrypted\": MediaEncryptedEvent;\n    \"waitingforkey\": Event;\n}\n\n/** Adds to HTMLElement the properties and methods needed to support basic media-related capabilities\\xA0that are\\xA0common to audio and video. */\ninterface HTMLMediaElement extends HTMLElement {\n    /** Gets or sets a value that indicates whether to start playing the media automatically. */\n    autoplay: boolean;\n    /** Gets a collection of buffered time ranges. */\n    readonly buffered: TimeRanges;\n    /** Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player). */\n    controls: boolean;\n    crossOrigin: string | null;\n    /** Gets the address or URL of the current media resource that is selected by IHTMLMediaElement. */\n    readonly currentSrc: string;\n    /** Gets or sets the current playback position, in seconds. */\n    currentTime: number;\n    defaultMuted: boolean;\n    /** Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource. */\n    defaultPlaybackRate: number;\n    disableRemotePlayback: boolean;\n    /** Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming. */\n    readonly duration: number;\n    /** Gets information about whether the playback has ended or not. */\n    readonly ended: boolean;\n    /** Returns an object representing the current error state of the audio or video element. */\n    readonly error: MediaError | null;\n    /** Gets or sets a flag to specify whether playback should restart after it completes. */\n    loop: boolean;\n    /** Available only in secure contexts. */\n    readonly mediaKeys: MediaKeys | null;\n    /** Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. */\n    muted: boolean;\n    /** Gets the current network activity for the element. */\n    readonly networkState: number;\n    onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;\n    onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;\n    /** Gets a flag that specifies whether playback is paused. */\n    readonly paused: boolean;\n    /** Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. */\n    playbackRate: number;\n    /** Gets TimeRanges for the current media resource that has been played. */\n    readonly played: TimeRanges;\n    /** Gets or sets a value indicating what data should be preloaded, if any. */\n    preload: \"none\" | \"metadata\" | \"auto\" | \"\";\n    preservesPitch: boolean;\n    readonly readyState: number;\n    readonly remote: RemotePlayback;\n    /** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */\n    readonly seekable: TimeRanges;\n    /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */\n    readonly seeking: boolean;\n    /** The address or URL of the a media resource that is to be considered. */\n    src: string;\n    srcObject: MediaProvider | null;\n    readonly textTracks: TextTrackList;\n    /** Gets or sets the volume level for audio portions of the media element. */\n    volume: number;\n    addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;\n    /** Returns a string that specifies whether the client can play a given media resource type. */\n    canPlayType(type: string): CanPlayTypeResult;\n    fastSeek(time: number): void;\n    /** Resets the audio or video object and loads a new media resource. */\n    load(): void;\n    /** Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not. */\n    pause(): void;\n    /** Loads and starts playback of a media resource. */\n    play(): Promise<void>;\n    /** Available only in secure contexts. */\n    setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;\n    readonly NETWORK_EMPTY: 0;\n    readonly NETWORK_IDLE: 1;\n    readonly NETWORK_LOADING: 2;\n    readonly NETWORK_NO_SOURCE: 3;\n    readonly HAVE_NOTHING: 0;\n    readonly HAVE_METADATA: 1;\n    readonly HAVE_CURRENT_DATA: 2;\n    readonly HAVE_FUTURE_DATA: 3;\n    readonly HAVE_ENOUGH_DATA: 4;\n    addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMediaElement: {\n    prototype: HTMLMediaElement;\n    new(): HTMLMediaElement;\n    readonly NETWORK_EMPTY: 0;\n    readonly NETWORK_IDLE: 1;\n    readonly NETWORK_LOADING: 2;\n    readonly NETWORK_NO_SOURCE: 3;\n    readonly HAVE_NOTHING: 0;\n    readonly HAVE_METADATA: 1;\n    readonly HAVE_CURRENT_DATA: 2;\n    readonly HAVE_FUTURE_DATA: 3;\n    readonly HAVE_ENOUGH_DATA: 4;\n};\n\ninterface HTMLMenuElement extends HTMLElement {\n    /** @deprecated */\n    compact: boolean;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMenuElement: {\n    prototype: HTMLMenuElement;\n    new(): HTMLMenuElement;\n};\n\n/** Contains descriptive metadata about a document. It\\xA0inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLMetaElement extends HTMLElement {\n    /** Gets or sets meta-information to associate with httpEquiv or name. */\n    content: string;\n    /** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */\n    httpEquiv: string;\n    media: string;\n    /** Sets or retrieves the value specified in the content attribute of the meta object. */\n    name: string;\n    /**\n     * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\n     * @deprecated\n     */\n    scheme: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMetaElement: {\n    prototype: HTMLMetaElement;\n    new(): HTMLMetaElement;\n};\n\n/** The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements. */\ninterface HTMLMeterElement extends HTMLElement {\n    high: number;\n    readonly labels: NodeListOf<HTMLLabelElement>;\n    low: number;\n    max: number;\n    min: number;\n    optimum: number;\n    value: number;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMeterElement: {\n    prototype: HTMLMeterElement;\n    new(): HTMLMeterElement;\n};\n\n/** Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>. */\ninterface HTMLModElement extends HTMLElement {\n    /** Sets or retrieves reference information about the object. */\n    cite: string;\n    /** Sets or retrieves the date and time of a modification to the object. */\n    dateTime: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLModElement: {\n    prototype: HTMLModElement;\n    new(): HTMLModElement;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements. */\ninterface HTMLOListElement extends HTMLElement {\n    /** @deprecated */\n    compact: boolean;\n    reversed: boolean;\n    /** The starting number. */\n    start: number;\n    type: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOListElement: {\n    prototype: HTMLOListElement;\n    new(): HTMLOListElement;\n};\n\n/** Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources. */\ninterface HTMLObjectElement extends HTMLElement {\n    /** @deprecated */\n    align: string;\n    /**\n     * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\n     * @deprecated\n     */\n    archive: string;\n    /** @deprecated */\n    border: string;\n    /**\n     * Sets or retrieves the URL of the file containing the compiled Java class.\n     * @deprecated\n     */\n    code: string;\n    /**\n     * Sets or retrieves the URL of the component.\n     * @deprecated\n     */\n    codeBase: string;\n    /**\n     * Sets or retrieves the Internet media type for the code associated with the object.\n     * @deprecated\n     */\n    codeType: string;\n    /** Retrieves the document object of the page or frame. */\n    readonly contentDocument: Document | null;\n    readonly contentWindow: WindowProxy | null;\n    /** Sets or retrieves the URL that references the data of the object. */\n    data: string;\n    /** @deprecated */\n    declare: boolean;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    /** Sets or retrieves the height of the object. */\n    height: string;\n    /** @deprecated */\n    hspace: number;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    /**\n     * Sets or retrieves a message to be displayed while an object is loading.\n     * @deprecated\n     */\n    standby: string;\n    /** Sets or retrieves the MIME type of the object. */\n    type: string;\n    /** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. */\n    useMap: string;\n    /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting. */\n    readonly validationMessage: string;\n    /** Returns a  ValidityState object that represents the validity states of an element. */\n    readonly validity: ValidityState;\n    /** @deprecated */\n    vspace: number;\n    /** Sets or retrieves the width of the object. */\n    width: string;\n    /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n    readonly willValidate: boolean;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    getSVGDocument(): Document | null;\n    reportValidity(): boolean;\n    /**\n     * Sets a custom error message that is displayed when a form is submitted.\n     * @param error Sets a custom error message that is displayed when a form is submitted.\n     */\n    setCustomValidity(error: string): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLObjectElement: {\n    prototype: HTMLObjectElement;\n    new(): HTMLObjectElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements. */\ninterface HTMLOptGroupElement extends HTMLElement {\n    disabled: boolean;\n    /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */\n    label: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptGroupElement: {\n    prototype: HTMLOptGroupElement;\n    new(): HTMLOptGroupElement;\n};\n\n/** <option> elements and inherits all classes and methods of the HTMLElement interface. */\ninterface HTMLOptionElement extends HTMLElement {\n    /** Sets or retrieves the status of an option. */\n    defaultSelected: boolean;\n    disabled: boolean;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    /** Sets or retrieves the ordinal position of an option in a list box. */\n    readonly index: number;\n    /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */\n    label: string;\n    /** Sets or retrieves whether the option in the list box is the default item. */\n    selected: boolean;\n    /** Sets or retrieves the text string specified by the option tag. */\n    text: string;\n    /** Sets or retrieves the value which is returned to the server when the form control is submitted. */\n    value: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptionElement: {\n    prototype: HTMLOptionElement;\n    new(): HTMLOptionElement;\n};\n\n/** HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the \"options\" property of select. */\ninterface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {\n    /**\n     * Returns the number of elements in the collection.\n     *\n     * When set to a smaller number, truncates the number of option elements in the corresponding container.\n     *\n     * When set to a greater number, adds new blank option elements to that container.\n     */\n    length: number;\n    /**\n     * Returns the index of the first selected item, if any, or \\u22121 if there is no selected item.\n     *\n     * Can be set, to change the selection.\n     */\n    selectedIndex: number;\n    /**\n     * Inserts element before the node given by before.\n     *\n     * The before argument can be a number, in which case element is inserted before the item with that number, or an element from the collection, in which case element is inserted before that element.\n     *\n     * If before is omitted, null, or a number out of range, then element will be added at the end of the list.\n     *\n     * This method will throw a \"HierarchyRequestError\" DOMException if element is an ancestor of the element into which it is to be inserted.\n     */\n    add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n    /** Removes the item with index index from the collection. */\n    remove(index: number): void;\n}\n\ndeclare var HTMLOptionsCollection: {\n    prototype: HTMLOptionsCollection;\n    new(): HTMLOptionsCollection;\n};\n\ninterface HTMLOrSVGElement {\n    autofocus: boolean;\n    readonly dataset: DOMStringMap;\n    nonce?: string;\n    tabIndex: number;\n    blur(): void;\n    focus(options?: FocusOptions): void;\n}\n\n/** Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements. */\ninterface HTMLOutputElement extends HTMLElement {\n    defaultValue: string;\n    readonly form: HTMLFormElement | null;\n    readonly htmlFor: DOMTokenList;\n    readonly labels: NodeListOf<HTMLLabelElement>;\n    name: string;\n    /** Returns the string \"output\". */\n    readonly type: string;\n    readonly validationMessage: string;\n    readonly validity: ValidityState;\n    /**\n     * Returns the element's current value.\n     *\n     * Can be set, to change the value.\n     */\n    value: string;\n    readonly willValidate: boolean;\n    checkValidity(): boolean;\n    reportValidity(): boolean;\n    setCustomValidity(error: string): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOutputElement: {\n    prototype: HTMLOutputElement;\n    new(): HTMLOutputElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements. */\ninterface HTMLParagraphElement extends HTMLElement {\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParagraphElement: {\n    prototype: HTMLParagraphElement;\n    new(): HTMLParagraphElement;\n};\n\n/**\n * Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element.\n * @deprecated\n */\ninterface HTMLParamElement extends HTMLElement {\n    /**\n     * Sets or retrieves the name of an input parameter for an element.\n     * @deprecated\n     */\n    name: string;\n    /**\n     * Sets or retrieves the content type of the resource designated by the value attribute.\n     * @deprecated\n     */\n    type: string;\n    /**\n     * Sets or retrieves the value of an input parameter for an element.\n     * @deprecated\n     */\n    value: string;\n    /**\n     * Sets or retrieves the data type of the value attribute.\n     * @deprecated\n     */\n    valueType: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var HTMLParamElement: {\n    prototype: HTMLParamElement;\n    new(): HTMLParamElement;\n};\n\n/** A <picture> HTML element. It doesn't implement specific properties or methods. */\ninterface HTMLPictureElement extends HTMLElement {\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPictureElement: {\n    prototype: HTMLPictureElement;\n    new(): HTMLPictureElement;\n};\n\n/** Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>). */\ninterface HTMLPreElement extends HTMLElement {\n    /**\n     * Sets or gets a value that you can use to implement your own width functionality for the object.\n     * @deprecated\n     */\n    width: number;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPreElement: {\n    prototype: HTMLPreElement;\n    new(): HTMLPreElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements. */\ninterface HTMLProgressElement extends HTMLElement {\n    readonly labels: NodeListOf<HTMLLabelElement>;\n    /** Defines the maximum, or \"done\" value for a progress element. */\n    max: number;\n    /** Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar). */\n    readonly position: number;\n    /** Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value. */\n    value: number;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLProgressElement: {\n    prototype: HTMLProgressElement;\n    new(): HTMLProgressElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element. */\ninterface HTMLQuoteElement extends HTMLElement {\n    /** Sets or retrieves reference information about the object. */\n    cite: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLQuoteElement: {\n    prototype: HTMLQuoteElement;\n    new(): HTMLQuoteElement;\n};\n\n/** HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface). */\ninterface HTMLScriptElement extends HTMLElement {\n    async: boolean;\n    /**\n     * Sets or retrieves the character set used to encode the object.\n     * @deprecated\n     */\n    charset: string;\n    crossOrigin: string | null;\n    /** Sets or retrieves the status of the script. */\n    defer: boolean;\n    /**\n     * Sets or retrieves the event for which the script is written.\n     * @deprecated\n     */\n    event: string;\n    /**\n     * Sets or retrieves the object that is bound to the event script.\n     * @deprecated\n     */\n    htmlFor: string;\n    integrity: string;\n    noModule: boolean;\n    referrerPolicy: string;\n    /** Retrieves the URL to an external file that contains the source code or data. */\n    src: string;\n    /** Retrieves or sets the text of the object as a string. */\n    text: string;\n    /** Sets or retrieves the MIME type for the associated scripting engine. */\n    type: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLScriptElement: {\n    prototype: HTMLScriptElement;\n    new(): HTMLScriptElement;\n    supports(type: string): boolean;\n};\n\n/** A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. */\ninterface HTMLSelectElement extends HTMLElement {\n    autocomplete: string;\n    disabled: boolean;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    readonly labels: NodeListOf<HTMLLabelElement>;\n    /** Sets or retrieves the number of objects in a collection. */\n    length: number;\n    /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */\n    multiple: boolean;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    /** Returns an HTMLOptionsCollection of the list of options. */\n    readonly options: HTMLOptionsCollection;\n    /** When present, marks an element that can't be submitted without a value. */\n    required: boolean;\n    /** Sets or retrieves the index of the selected option in a select object. */\n    selectedIndex: number;\n    readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;\n    /** Sets or retrieves the number of rows in the list box. */\n    size: number;\n    /** Retrieves the type of select control based on the value of the MULTIPLE attribute. */\n    readonly type: string;\n    /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting. */\n    readonly validationMessage: string;\n    /** Returns a  ValidityState object that represents the validity states of an element. */\n    readonly validity: ValidityState;\n    /** Sets or retrieves the value which is returned to the server when the form control is submitted. */\n    value: string;\n    /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n    readonly willValidate: boolean;\n    /**\n     * Adds an element to the areas, controlRange, or options collection.\n     * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\n     * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\n     */\n    add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    /**\n     * Retrieves a select object or an object from an options collection.\n     * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\n     * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\n     */\n    item(index: number): HTMLOptionElement | null;\n    /**\n     * Retrieves a select object or an object from an options collection.\n     * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\n     */\n    namedItem(name: string): HTMLOptionElement | null;\n    /**\n     * Removes an element from the collection.\n     * @param index Number that specifies the zero-based index of the element to remove from the collection.\n     */\n    remove(): void;\n    remove(index: number): void;\n    reportValidity(): boolean;\n    /**\n     * Sets a custom error message that is displayed when a form is submitted.\n     * @param error Sets a custom error message that is displayed when a form is submitted.\n     */\n    setCustomValidity(error: string): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n    [name: number]: HTMLOptionElement | HTMLOptGroupElement;\n}\n\ndeclare var HTMLSelectElement: {\n    prototype: HTMLSelectElement;\n    new(): HTMLSelectElement;\n};\n\ninterface HTMLSlotElement extends HTMLElement {\n    name: string;\n    assign(...nodes: (Element | Text)[]): void;\n    assignedElements(options?: AssignedNodesOptions): Element[];\n    assignedNodes(options?: AssignedNodesOptions): Node[];\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSlotElement: {\n    prototype: HTMLSlotElement;\n    new(): HTMLSlotElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */\ninterface HTMLSourceElement extends HTMLElement {\n    height: number;\n    /** Gets or sets the intended media type of the media source. */\n    media: string;\n    sizes: string;\n    /** The address or URL of the a media resource that is to be considered. */\n    src: string;\n    srcset: string;\n    /** Gets or sets the MIME type of a media resource. */\n    type: string;\n    width: number;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSourceElement: {\n    prototype: HTMLSourceElement;\n    new(): HTMLSourceElement;\n};\n\n/** A <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLSpanElement extends HTMLElement {\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSpanElement: {\n    prototype: HTMLSpanElement;\n    new(): HTMLSpanElement;\n};\n\n/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */\ninterface HTMLStyleElement extends HTMLElement, LinkStyle {\n    /** Enables or disables the style sheet. */\n    disabled: boolean;\n    /** Sets or retrieves the media type. */\n    media: string;\n    /**\n     * Retrieves the CSS language in which the style sheet is written.\n     * @deprecated\n     */\n    type: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLStyleElement: {\n    prototype: HTMLStyleElement;\n    new(): HTMLStyleElement;\n};\n\n/** Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements. */\ninterface HTMLTableCaptionElement extends HTMLElement {\n    /**\n     * Sets or retrieves the alignment of the caption or legend.\n     * @deprecated\n     */\n    align: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCaptionElement: {\n    prototype: HTMLTableCaptionElement;\n    new(): HTMLTableCaptionElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. */\ninterface HTMLTableCellElement extends HTMLElement {\n    /** Sets or retrieves abbreviated text for the object. */\n    abbr: string;\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    /**\n     * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\n     * @deprecated\n     */\n    axis: string;\n    /** @deprecated */\n    bgColor: string;\n    /** Retrieves the position of the object in the cells collection of a row. */\n    readonly cellIndex: number;\n    /** @deprecated */\n    ch: string;\n    /** @deprecated */\n    chOff: string;\n    /** Sets or retrieves the number columns in the table that the object should span. */\n    colSpan: number;\n    /** Sets or retrieves a list of header cells that provide information for the object. */\n    headers: string;\n    /**\n     * Sets or retrieves the height of the object.\n     * @deprecated\n     */\n    height: string;\n    /**\n     * Sets or retrieves whether the browser automatically performs wordwrap.\n     * @deprecated\n     */\n    noWrap: boolean;\n    /** Sets or retrieves how many rows in a table the cell should span. */\n    rowSpan: number;\n    /** Sets or retrieves the group of cells in a table to which the object's information applies. */\n    scope: string;\n    /** @deprecated */\n    vAlign: string;\n    /**\n     * Sets or retrieves the width of the object.\n     * @deprecated\n     */\n    width: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCellElement: {\n    prototype: HTMLTableCellElement;\n    new(): HTMLTableCellElement;\n};\n\n/** Provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements. */\ninterface HTMLTableColElement extends HTMLElement {\n    /**\n     * Sets or retrieves the alignment of the object relative to the display or table.\n     * @deprecated\n     */\n    align: string;\n    /** @deprecated */\n    ch: string;\n    /** @deprecated */\n    chOff: string;\n    /** Sets or retrieves the number of columns in the group. */\n    span: number;\n    /** @deprecated */\n    vAlign: string;\n    /**\n     * Sets or retrieves the width of the object.\n     * @deprecated\n     */\n    width: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableColElement: {\n    prototype: HTMLTableColElement;\n    new(): HTMLTableColElement;\n};\n\n/** @deprecated prefer HTMLTableCellElement */\ninterface HTMLTableDataCellElement extends HTMLTableCellElement {\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document. */\ninterface HTMLTableElement extends HTMLElement {\n    /**\n     * Sets or retrieves a value that indicates the table alignment.\n     * @deprecated\n     */\n    align: string;\n    /** @deprecated */\n    bgColor: string;\n    /**\n     * Sets or retrieves the width of the border to draw around the object.\n     * @deprecated\n     */\n    border: string;\n    /** Retrieves the caption object of a table. */\n    caption: HTMLTableCaptionElement | null;\n    /**\n     * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\n     * @deprecated\n     */\n    cellPadding: string;\n    /**\n     * Sets or retrieves the amount of space between cells in a table.\n     * @deprecated\n     */\n    cellSpacing: string;\n    /**\n     * Sets or retrieves the way the border frame around the table is displayed.\n     * @deprecated\n     */\n    frame: string;\n    /** Sets or retrieves the number of horizontal rows contained in the object. */\n    readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n    /**\n     * Sets or retrieves which dividing lines (inner borders) are displayed.\n     * @deprecated\n     */\n    rules: string;\n    /**\n     * Sets or retrieves a description and/or structure of the object.\n     * @deprecated\n     */\n    summary: string;\n    /** Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. */\n    readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;\n    /** Retrieves the tFoot object of the table. */\n    tFoot: HTMLTableSectionElement | null;\n    /** Retrieves the tHead object of the table. */\n    tHead: HTMLTableSectionElement | null;\n    /**\n     * Sets or retrieves the width of the object.\n     * @deprecated\n     */\n    width: string;\n    /** Creates an empty caption element in the table. */\n    createCaption(): HTMLTableCaptionElement;\n    /** Creates an empty tBody element in the table. */\n    createTBody(): HTMLTableSectionElement;\n    /** Creates an empty tFoot element in the table. */\n    createTFoot(): HTMLTableSectionElement;\n    /** Returns the tHead element object if successful, or null otherwise. */\n    createTHead(): HTMLTableSectionElement;\n    /** Deletes the caption element and its contents from the table. */\n    deleteCaption(): void;\n    /**\n     * Removes the specified row (tr) from the element and from the rows collection.\n     * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n     */\n    deleteRow(index: number): void;\n    /** Deletes the tFoot element and its contents from the table. */\n    deleteTFoot(): void;\n    /** Deletes the tHead element and its contents from the table. */\n    deleteTHead(): void;\n    /**\n     * Creates a new row (tr) in the table, and adds the row to the rows collection.\n     * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n     */\n    insertRow(index?: number): HTMLTableRowElement;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableElement: {\n    prototype: HTMLTableElement;\n    new(): HTMLTableElement;\n};\n\n/** @deprecated prefer HTMLTableCellElement */\ninterface HTMLTableHeaderCellElement extends HTMLTableCellElement {\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. */\ninterface HTMLTableRowElement extends HTMLElement {\n    /**\n     * Sets or retrieves how the object is aligned with adjacent text.\n     * @deprecated\n     */\n    align: string;\n    /** @deprecated */\n    bgColor: string;\n    /** Retrieves a collection of all cells in the table row. */\n    readonly cells: HTMLCollectionOf<HTMLTableCellElement>;\n    /** @deprecated */\n    ch: string;\n    /** @deprecated */\n    chOff: string;\n    /** Retrieves the position of the object in the rows collection for the table. */\n    readonly rowIndex: number;\n    /** Retrieves the position of the object in the collection. */\n    readonly sectionRowIndex: number;\n    /** @deprecated */\n    vAlign: string;\n    /**\n     * Removes the specified cell from the table row, as well as from the cells collection.\n     * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\n     */\n    deleteCell(index: number): void;\n    /**\n     * Creates a new cell in the table row, and adds the cell to the cells collection.\n     * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\n     */\n    insertCell(index?: number): HTMLTableCellElement;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableRowElement: {\n    prototype: HTMLTableRowElement;\n    new(): HTMLTableRowElement;\n};\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table. */\ninterface HTMLTableSectionElement extends HTMLElement {\n    /**\n     * Sets or retrieves a value that indicates the table alignment.\n     * @deprecated\n     */\n    align: string;\n    /** @deprecated */\n    ch: string;\n    /** @deprecated */\n    chOff: string;\n    /** Sets or retrieves the number of horizontal rows contained in the object. */\n    readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n    /** @deprecated */\n    vAlign: string;\n    /**\n     * Removes the specified row (tr) from the element and from the rows collection.\n     * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n     */\n    deleteRow(index: number): void;\n    /**\n     * Creates a new row (tr) in the table, and adds the row to the rows collection.\n     * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n     */\n    insertRow(index?: number): HTMLTableRowElement;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableSectionElement: {\n    prototype: HTMLTableSectionElement;\n    new(): HTMLTableSectionElement;\n};\n\n/** Enables access to the contents of an HTML <template> element. */\ninterface HTMLTemplateElement extends HTMLElement {\n    /** Returns the template contents (a DocumentFragment). */\n    readonly content: DocumentFragment;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTemplateElement: {\n    prototype: HTMLTemplateElement;\n    new(): HTMLTemplateElement;\n};\n\n/** Provides special properties and methods for manipulating the layout and presentation of <textarea> elements. */\ninterface HTMLTextAreaElement extends HTMLElement {\n    autocomplete: string;\n    /** Sets or retrieves the width of the object. */\n    cols: number;\n    /** Sets or retrieves the initial contents of the object. */\n    defaultValue: string;\n    dirName: string;\n    disabled: boolean;\n    /** Retrieves a reference to the form that the object is embedded in. */\n    readonly form: HTMLFormElement | null;\n    readonly labels: NodeListOf<HTMLLabelElement>;\n    /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */\n    maxLength: number;\n    minLength: number;\n    /** Sets or retrieves the name of the object. */\n    name: string;\n    /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */\n    placeholder: string;\n    /** Sets or retrieves the value indicated whether the content of the object is read-only. */\n    readOnly: boolean;\n    /** When present, marks an element that can't be submitted without a value. */\n    required: boolean;\n    /** Sets or retrieves the number of horizontal rows contained in the object. */\n    rows: number;\n    selectionDirection: \"forward\" | \"backward\" | \"none\";\n    /** Gets or sets the end position or offset of a text selection. */\n    selectionEnd: number;\n    /** Gets or sets the starting position or offset of a text selection. */\n    selectionStart: number;\n    readonly textLength: number;\n    /** Retrieves the type of control. */\n    readonly type: string;\n    /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting. */\n    readonly validationMessage: string;\n    /** Returns a  ValidityState object that represents the validity states of an element. */\n    readonly validity: ValidityState;\n    /** Retrieves or sets the text in the entry field of the textArea element. */\n    value: string;\n    /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n    readonly willValidate: boolean;\n    /** Sets or retrieves how to handle wordwrapping in the object. */\n    wrap: string;\n    /** Returns whether a form will validate when it is submitted, without having to submit it. */\n    checkValidity(): boolean;\n    reportValidity(): boolean;\n    /** Highlights the input area of a form element. */\n    select(): void;\n    /**\n     * Sets a custom error message that is displayed when a form is submitted.\n     * @param error Sets a custom error message that is displayed when a form is submitted.\n     */\n    setCustomValidity(error: string): void;\n    setRangeText(replacement: string): void;\n    setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n    /**\n     * Sets the start and end positions of a selection in a text field.\n     * @param start The offset into the text field for the start of the selection.\n     * @param end The offset into the text field for the end of the selection.\n     * @param direction The direction in which the selection is performed.\n     */\n    setSelectionRange(start: number | null, end: number | null, direction?: \"forward\" | \"backward\" | \"none\"): void;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTextAreaElement: {\n    prototype: HTMLTextAreaElement;\n    new(): HTMLTextAreaElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements. */\ninterface HTMLTimeElement extends HTMLElement {\n    dateTime: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTimeElement: {\n    prototype: HTMLTimeElement;\n    new(): HTMLTimeElement;\n};\n\n/** Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLTitleElement extends HTMLElement {\n    /** Retrieves or sets the text of the object as a string. */\n    text: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTitleElement: {\n    prototype: HTMLTitleElement;\n    new(): HTMLTitleElement;\n};\n\n/** The HTMLTrackElement */\ninterface HTMLTrackElement extends HTMLElement {\n    default: boolean;\n    kind: string;\n    label: string;\n    readonly readyState: number;\n    src: string;\n    srclang: string;\n    /** Returns the TextTrack object corresponding to the text track of the track element. */\n    readonly track: TextTrack;\n    readonly NONE: 0;\n    readonly LOADING: 1;\n    readonly LOADED: 2;\n    readonly ERROR: 3;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTrackElement: {\n    prototype: HTMLTrackElement;\n    new(): HTMLTrackElement;\n    readonly NONE: 0;\n    readonly LOADING: 1;\n    readonly LOADED: 2;\n    readonly ERROR: 3;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements. */\ninterface HTMLUListElement extends HTMLElement {\n    /** @deprecated */\n    compact: boolean;\n    /** @deprecated */\n    type: string;\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUListElement: {\n    prototype: HTMLUListElement;\n    new(): HTMLUListElement;\n};\n\n/** An invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLUnknownElement extends HTMLElement {\n    addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUnknownElement: {\n    prototype: HTMLUnknownElement;\n    new(): HTMLUnknownElement;\n};\n\ninterface HTMLVideoElementEventMap extends HTMLMediaElementEventMap {\n    \"enterpictureinpicture\": Event;\n    \"leavepictureinpicture\": Event;\n}\n\n/** Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement. */\ninterface HTMLVideoElement extends HTMLMediaElement {\n    disablePictureInPicture: boolean;\n    /** Gets or sets the height of the video element. */\n    height: number;\n    onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;\n    onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;\n    /** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins. */\n    playsInline: boolean;\n    /** Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. */\n    poster: string;\n    /** Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. */\n    readonly videoHeight: number;\n    /** Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. */\n    readonly videoWidth: number;\n    /** Gets or sets the width of the video element. */\n    width: number;\n    cancelVideoFrameCallback(handle: number): void;\n    getVideoPlaybackQuality(): VideoPlaybackQuality;\n    requestPictureInPicture(): Promise<PictureInPictureWindow>;\n    requestVideoFrameCallback(callback: VideoFrameRequestCallback): number;\n    addEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLVideoElement: {\n    prototype: HTMLVideoElement;\n    new(): HTMLVideoElement;\n};\n\n/** Events that fire when the fragment identifier of the URL has changed. */\ninterface HashChangeEvent extends Event {\n    /** Returns the URL of the session history entry that is now current. */\n    readonly newURL: string;\n    /** Returns the URL of the session history entry that was previously current. */\n    readonly oldURL: string;\n}\n\ndeclare var HashChangeEvent: {\n    prototype: HashChangeEvent;\n    new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;\n};\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists\\xA0of zero or more name and value pairs. \\xA0You can add to this using methods like append() (see Examples.)\\xA0In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n    append(name: string, value: string): void;\n    delete(name: string): void;\n    get(name: string): string | null;\n    has(name: string): boolean;\n    set(name: string, value: string): void;\n    forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n    prototype: Headers;\n    new(init?: HeadersInit): Headers;\n};\n\n/** Allows\\xA0manipulation of\\xA0the browser session history, that is the pages visited in the tab or frame that the current page is loaded in. */\ninterface History {\n    readonly length: number;\n    scrollRestoration: ScrollRestoration;\n    readonly state: any;\n    back(): void;\n    forward(): void;\n    go(delta?: number): void;\n    pushState(data: any, unused: string, url?: string | URL | null): void;\n    replaceState(data: any, unused: string, url?: string | URL | null): void;\n}\n\ndeclare var History: {\n    prototype: History;\n    new(): History;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n    /** Returns the direction (\"next\", \"nextunique\", \"prev\" or \"prevunique\") of the cursor. */\n    readonly direction: IDBCursorDirection;\n    /** Returns the key of the cursor. Throws a \"InvalidStateError\" DOMException if the cursor is advancing or is finished. */\n    readonly key: IDBValidKey;\n    /** Returns the effective key of the cursor. Throws a \"InvalidStateError\" DOMException if the cursor is advancing or is finished. */\n    readonly primaryKey: IDBValidKey;\n    readonly request: IDBRequest;\n    /** Returns the IDBObjectStore or IDBIndex the cursor was opened from. */\n    readonly source: IDBObjectStore | IDBIndex;\n    /** Advances the cursor through the next count records in range. */\n    advance(count: number): void;\n    /** Advances the cursor to the next record in range. */\n    continue(key?: IDBValidKey): void;\n    /** Advances the cursor to the next record in range matching or after key and primaryKey. Throws an \"InvalidAccessError\" DOMException if the source is not an index. */\n    continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n    /**\n     * Delete the record pointed at by the cursor with a new value.\n     *\n     * If successful, request's result will be undefined.\n     */\n    delete(): IDBRequest<undefined>;\n    /**\n     * Updated the record pointed at by the cursor with a new value.\n     *\n     * Throws a \"DataError\" DOMException if the effective object store uses in-line keys and the key would have changed.\n     *\n     * If successful, request's result will be the record's key.\n     */\n    update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n    prototype: IDBCursor;\n    new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n    /** Returns the cursor's current value. */\n    readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n    prototype: IDBCursorWithValue;\n    new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n    \"abort\": Event;\n    \"close\": Event;\n    \"error\": Event;\n    \"versionchange\": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n    /** Returns the name of the database. */\n    readonly name: string;\n    /** Returns a list of the names of object stores in the database. */\n    readonly objectStoreNames: DOMStringList;\n    onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n    onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n    onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n    onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n    /** Returns the version of the database. */\n    readonly version: number;\n    /** Closes the connection once all running transactions have finished. */\n    close(): void;\n    /**\n     * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n     *\n     * Throws a \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;\n    /**\n     * Deletes the object store with the given name.\n     *\n     * Throws a \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    deleteObjectStore(name: string): void;\n    /** Returns a new transaction with the given mode (\"readonly\" or \"readwrite\") and scope which can be a single object store name or an array of names. */\n    transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;\n    addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n    prototype: IDBDatabase;\n    new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n    /**\n     * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n     *\n     * Throws a \"DataError\" DOMException if either input is not a valid key.\n     */\n    cmp(first: any, second: any): number;\n    databases(): Promise<IDBDatabaseInfo[]>;\n    /** Attempts to delete the named database. If the database already exists and there are open connections that don't close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request's result will be null. */\n    deleteDatabase(name: string): IDBOpenDBRequest;\n    /** Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection. */\n    open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n    prototype: IDBFactory;\n    new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n    readonly keyPath: string | string[];\n    readonly multiEntry: boolean;\n    /** Returns the name of the index. */\n    name: string;\n    /** Returns the IDBObjectStore the index belongs to. */\n    readonly objectStore: IDBObjectStore;\n    readonly unique: boolean;\n    /**\n     * Retrieves the number of records matching the given key or key range in query.\n     *\n     * If successful, request's result will be the count.\n     */\n    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n    /**\n     * Retrieves the value of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the value, or undefined if there was no matching record.\n     */\n    get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n    /**\n     * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the values.\n     */\n    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n    /**\n     * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the keys.\n     */\n    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n    /**\n     * Retrieves the key of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the key, or undefined if there was no matching record.\n     */\n    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n    /**\n     * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n     *\n     * If successful, request's result will be an IDBCursorWithValue, or null if there were no matching records.\n     */\n    openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n    /**\n     * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n     *\n     * If successful, request's result will be an IDBCursor, or null if there were no matching records.\n     */\n    openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n    prototype: IDBIndex;\n    new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n    /** Returns lower bound, or undefined if none. */\n    readonly lower: any;\n    /** Returns true if the lower open flag is set, and false otherwise. */\n    readonly lowerOpen: boolean;\n    /** Returns upper bound, or undefined if none. */\n    readonly upper: any;\n    /** Returns true if the upper open flag is set, and false otherwise. */\n    readonly upperOpen: boolean;\n    /** Returns true if key is included in the range, and false otherwise. */\n    includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n    prototype: IDBKeyRange;\n    new(): IDBKeyRange;\n    /** Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range. */\n    bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n    /** Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range. */\n    lowerBound(lower: any, open?: boolean): IDBKeyRange;\n    /** Returns a new IDBKeyRange spanning only key. */\n    only(value: any): IDBKeyRange;\n    /** Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range. */\n    upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex\\xA0inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our\\xA0To-do Notifications\\xA0app (view example live.) */\ninterface IDBObjectStore {\n    /** Returns true if the store has a key generator, and false otherwise. */\n    readonly autoIncrement: boolean;\n    /** Returns a list of the names of indexes in the store. */\n    readonly indexNames: DOMStringList;\n    /** Returns the key path of the store, or null if none. */\n    readonly keyPath: string | string[];\n    /** Returns the name of the store. */\n    name: string;\n    /** Returns the associated transaction. */\n    readonly transaction: IDBTransaction;\n    /**\n     * Adds or updates a record in store with the given value and key.\n     *\n     * If the store uses in-line keys and key is specified a \"DataError\" DOMException will be thrown.\n     *\n     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a \"ConstraintError\" DOMException.\n     *\n     * If successful, request's result will be the record's key.\n     */\n    add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n    /**\n     * Deletes all records in store.\n     *\n     * If successful, request's result will be undefined.\n     */\n    clear(): IDBRequest<undefined>;\n    /**\n     * Retrieves the number of records matching the given key or key range in query.\n     *\n     * If successful, request's result will be the count.\n     */\n    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n    /**\n     * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a \"ConstraintError\" DOMException.\n     *\n     * Throws an \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n    /**\n     * Deletes records in store with the given key or in the given key range in query.\n     *\n     * If successful, request's result will be undefined.\n     */\n    delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n    /**\n     * Deletes the index in store with the given name.\n     *\n     * Throws an \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    deleteIndex(name: string): void;\n    /**\n     * Retrieves the value of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the value, or undefined if there was no matching record.\n     */\n    get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n    /**\n     * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the values.\n     */\n    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n    /**\n     * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the keys.\n     */\n    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n    /**\n     * Retrieves the key of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the key, or undefined if there was no matching record.\n     */\n    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n    index(name: string): IDBIndex;\n    /**\n     * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n     *\n     * If successful, request's result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n     */\n    openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n    /**\n     * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n     *\n     * If successful, request's result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n     */\n    openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n    /**\n     * Adds or updates a record in store with the given value and key.\n     *\n     * If the store uses in-line keys and key is specified a \"DataError\" DOMException will be thrown.\n     *\n     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a \"ConstraintError\" DOMException.\n     *\n     * If successful, request's result will be the record's key.\n     */\n    put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n    prototype: IDBObjectStore;\n    new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n    \"blocked\": IDBVersionChangeEvent;\n    \"upgradeneeded\": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n    onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n    onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n    addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n    prototype: IDBOpenDBRequest;\n    new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n    \"error\": Event;\n    \"success\": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n    /** When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a \"InvalidStateError\" DOMException if the request is still pending. */\n    readonly error: DOMException | null;\n    onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n    onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n    /** Returns \"pending\" until a request is complete, then returns \"done\". */\n    readonly readyState: IDBRequestReadyState;\n    /** When a request is completed, returns the result, or undefined if the request failed. Throws a \"InvalidStateError\" DOMException if the request is still pending. */\n    readonly result: T;\n    /** Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request. */\n    readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n    /** Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise. */\n    readonly transaction: IDBTransaction | null;\n    addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n    prototype: IDBRequest;\n    new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n    \"abort\": Event;\n    \"complete\": Event;\n    \"error\": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n    /** Returns the transaction's connection. */\n    readonly db: IDBDatabase;\n    readonly durability: IDBTransactionDurability;\n    /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */\n    readonly error: DOMException | null;\n    /** Returns the mode the transaction was created with (\"readonly\" or \"readwrite\"), or \"versionchange\" for an upgrade transaction. */\n    readonly mode: IDBTransactionMode;\n    /** Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. */\n    readonly objectStoreNames: DOMStringList;\n    onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n    oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n    onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n    /** Aborts the transaction. All pending requests will fail with a \"AbortError\" DOMException and all changes made to the database will be reverted. */\n    abort(): void;\n    commit(): void;\n    /** Returns an IDBObjectStore in the transaction's scope. */\n    objectStore(name: string): IDBObjectStore;\n    addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n    prototype: IDBTransaction;\n    new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n    readonly newVersion: number | null;\n    readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n    prototype: IDBVersionChangeEvent;\n    new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\n/** The\\xA0IIRFilterNode\\xA0interface of the\\xA0Web Audio API\\xA0is a AudioNode processor which implements a general infinite impulse response (IIR)\\xA0 filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed. */\ninterface IIRFilterNode extends AudioNode {\n    getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var IIRFilterNode: {\n    prototype: IIRFilterNode;\n    new(context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode;\n};\n\ninterface IdleDeadline {\n    readonly didTimeout: boolean;\n    timeRemaining(): DOMHighResTimeStamp;\n}\n\ndeclare var IdleDeadline: {\n    prototype: IdleDeadline;\n    new(): IdleDeadline;\n};\n\ninterface ImageBitmap {\n    /** Returns the intrinsic height of the image, in CSS pixels. */\n    readonly height: number;\n    /** Returns the intrinsic width of the image, in CSS pixels. */\n    readonly width: number;\n    /** Releases imageBitmap's underlying bitmap data. */\n    close(): void;\n}\n\ndeclare var ImageBitmap: {\n    prototype: ImageBitmap;\n    new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n    /** Returns the canvas element that the context is bound to. */\n    readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n    /** Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. */\n    transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n    prototype: ImageBitmapRenderingContext;\n    new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n    readonly colorSpace: PredefinedColorSpace;\n    /** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */\n    readonly data: Uint8ClampedArray;\n    /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\n    readonly height: number;\n    /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\n    readonly width: number;\n}\n\ndeclare var ImageData: {\n    prototype: ImageData;\n    new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n    new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;\n};\n\ninterface InnerHTML {\n    innerHTML: string;\n}\n\n/** Available only in secure contexts. */\ninterface InputDeviceInfo extends MediaDeviceInfo {\n}\n\ndeclare var InputDeviceInfo: {\n    prototype: InputDeviceInfo;\n    new(): InputDeviceInfo;\n};\n\ninterface InputEvent extends UIEvent {\n    readonly data: string | null;\n    readonly dataTransfer: DataTransfer | null;\n    readonly inputType: string;\n    readonly isComposing: boolean;\n    getTargetRanges(): StaticRange[];\n}\n\ndeclare var InputEvent: {\n    prototype: InputEvent;\n    new(type: string, eventInitDict?: InputEventInit): InputEvent;\n};\n\n/** provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport. */\ninterface IntersectionObserver {\n    readonly root: Element | Document | null;\n    readonly rootMargin: string;\n    readonly thresholds: ReadonlyArray<number>;\n    disconnect(): void;\n    observe(target: Element): void;\n    takeRecords(): IntersectionObserverEntry[];\n    unobserve(target: Element): void;\n}\n\ndeclare var IntersectionObserver: {\n    prototype: IntersectionObserver;\n    new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver;\n};\n\n/** This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition. */\ninterface IntersectionObserverEntry {\n    readonly boundingClientRect: DOMRectReadOnly;\n    readonly intersectionRatio: number;\n    readonly intersectionRect: DOMRectReadOnly;\n    readonly isIntersecting: boolean;\n    readonly rootBounds: DOMRectReadOnly | null;\n    readonly target: Element;\n    readonly time: DOMHighResTimeStamp;\n}\n\ndeclare var IntersectionObserverEntry: {\n    prototype: IntersectionObserverEntry;\n    new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;\n};\n\ninterface KHR_parallel_shader_compile {\n    readonly COMPLETION_STATUS_KHR: 0x91B1;\n}\n\n/** KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard. */\ninterface KeyboardEvent extends UIEvent {\n    readonly altKey: boolean;\n    /** @deprecated */\n    readonly charCode: number;\n    readonly code: string;\n    readonly ctrlKey: boolean;\n    readonly isComposing: boolean;\n    readonly key: string;\n    /** @deprecated */\n    readonly keyCode: number;\n    readonly location: number;\n    readonly metaKey: boolean;\n    readonly repeat: boolean;\n    readonly shiftKey: boolean;\n    getModifierState(keyArg: string): boolean;\n    /** @deprecated */\n    initKeyboardEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, keyArg?: string, locationArg?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): void;\n    readonly DOM_KEY_LOCATION_STANDARD: 0x00;\n    readonly DOM_KEY_LOCATION_LEFT: 0x01;\n    readonly DOM_KEY_LOCATION_RIGHT: 0x02;\n    readonly DOM_KEY_LOCATION_NUMPAD: 0x03;\n}\n\ndeclare var KeyboardEvent: {\n    prototype: KeyboardEvent;\n    new(type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\n    readonly DOM_KEY_LOCATION_STANDARD: 0x00;\n    readonly DOM_KEY_LOCATION_LEFT: 0x01;\n    readonly DOM_KEY_LOCATION_RIGHT: 0x02;\n    readonly DOM_KEY_LOCATION_NUMPAD: 0x03;\n};\n\ninterface KeyframeEffect extends AnimationEffect {\n    composite: CompositeOperation;\n    iterationComposite: IterationCompositeOperation;\n    pseudoElement: string | null;\n    target: Element | null;\n    getKeyframes(): ComputedKeyframe[];\n    setKeyframes(keyframes: Keyframe[] | PropertyIndexedKeyframes | null): void;\n}\n\ndeclare var KeyframeEffect: {\n    prototype: KeyframeEffect;\n    new(target: Element | null, keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeEffectOptions): KeyframeEffect;\n    new(source: KeyframeEffect): KeyframeEffect;\n};\n\ninterface LinkStyle {\n    readonly sheet: CSSStyleSheet | null;\n}\n\n/** The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively. */\ninterface Location {\n    /** Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context. */\n    readonly ancestorOrigins: DOMStringList;\n    /**\n     * Returns the Location object's URL's fragment (includes leading \"#\" if non-empty).\n     *\n     * Can be set, to navigate to the same URL with a changed fragment (ignores leading \"#\").\n     */\n    hash: string;\n    /**\n     * Returns the Location object's URL's host and port (if different from the default port for the scheme).\n     *\n     * Can be set, to navigate to the same URL with a changed host and port.\n     */\n    host: string;\n    /**\n     * Returns the Location object's URL's host.\n     *\n     * Can be set, to navigate to the same URL with a changed host.\n     */\n    hostname: string;\n    /**\n     * Returns the Location object's URL.\n     *\n     * Can be set, to navigate to the given URL.\n     */\n    href: string;\n    toString(): string;\n    /** Returns the Location object's URL's origin. */\n    readonly origin: string;\n    /**\n     * Returns the Location object's URL's path.\n     *\n     * Can be set, to navigate to the same URL with a changed path.\n     */\n    pathname: string;\n    /**\n     * Returns the Location object's URL's port.\n     *\n     * Can be set, to navigate to the same URL with a changed port.\n     */\n    port: string;\n    /**\n     * Returns the Location object's URL's scheme.\n     *\n     * Can be set, to navigate to the same URL with a changed scheme.\n     */\n    protocol: string;\n    /**\n     * Returns the Location object's URL's query (includes leading \"?\" if non-empty).\n     *\n     * Can be set, to navigate to the same URL with a changed query (ignores leading \"?\").\n     */\n    search: string;\n    /** Navigates to the given URL. */\n    assign(url: string | URL): void;\n    /** Reloads the current page. */\n    reload(): void;\n    /** Removes the current page from the session history and navigates to the given URL. */\n    replace(url: string | URL): void;\n}\n\ndeclare var Location: {\n    prototype: Location;\n    new(): Location;\n};\n\n/** Available only in secure contexts. */\ninterface Lock {\n    readonly mode: LockMode;\n    readonly name: string;\n}\n\ndeclare var Lock: {\n    prototype: Lock;\n    new(): Lock;\n};\n\n/** Available only in secure contexts. */\ninterface LockManager {\n    query(): Promise<LockManagerSnapshot>;\n    request(name: string, callback: LockGrantedCallback): Promise<any>;\n    request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;\n}\n\ndeclare var LockManager: {\n    prototype: LockManager;\n    new(): LockManager;\n};\n\ninterface MIDIAccessEventMap {\n    \"statechange\": Event;\n}\n\n/** Available only in secure contexts. */\ninterface MIDIAccess extends EventTarget {\n    readonly inputs: MIDIInputMap;\n    onstatechange: ((this: MIDIAccess, ev: Event) => any) | null;\n    readonly outputs: MIDIOutputMap;\n    readonly sysexEnabled: boolean;\n    addEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIAccess: {\n    prototype: MIDIAccess;\n    new(): MIDIAccess;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIConnectionEvent extends Event {\n    readonly port: MIDIPort;\n}\n\ndeclare var MIDIConnectionEvent: {\n    prototype: MIDIConnectionEvent;\n    new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;\n};\n\ninterface MIDIInputEventMap extends MIDIPortEventMap {\n    \"midimessage\": Event;\n}\n\n/** Available only in secure contexts. */\ninterface MIDIInput extends MIDIPort {\n    onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;\n    addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIInput: {\n    prototype: MIDIInput;\n    new(): MIDIInput;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIInputMap {\n    forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;\n}\n\ndeclare var MIDIInputMap: {\n    prototype: MIDIInputMap;\n    new(): MIDIInputMap;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIMessageEvent extends Event {\n    readonly data: Uint8Array;\n}\n\ndeclare var MIDIMessageEvent: {\n    prototype: MIDIMessageEvent;\n    new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIOutput extends MIDIPort {\n    send(data: number[], timestamp?: DOMHighResTimeStamp): void;\n    addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIOutput: {\n    prototype: MIDIOutput;\n    new(): MIDIOutput;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIOutputMap {\n    forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;\n}\n\ndeclare var MIDIOutputMap: {\n    prototype: MIDIOutputMap;\n    new(): MIDIOutputMap;\n};\n\ninterface MIDIPortEventMap {\n    \"statechange\": Event;\n}\n\n/** Available only in secure contexts. */\ninterface MIDIPort extends EventTarget {\n    readonly connection: MIDIPortConnectionState;\n    readonly id: string;\n    readonly manufacturer: string | null;\n    readonly name: string | null;\n    onstatechange: ((this: MIDIPort, ev: Event) => any) | null;\n    readonly state: MIDIPortDeviceState;\n    readonly type: MIDIPortType;\n    readonly version: string | null;\n    close(): Promise<MIDIPort>;\n    open(): Promise<MIDIPort>;\n    addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIPort: {\n    prototype: MIDIPort;\n    new(): MIDIPort;\n};\n\ninterface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {\n}\n\ninterface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {\n    addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MathMLElement: {\n    prototype: MathMLElement;\n    new(): MathMLElement;\n};\n\ninterface MediaCapabilities {\n    decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;\n    encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;\n}\n\ndeclare var MediaCapabilities: {\n    prototype: MediaCapabilities;\n    new(): MediaCapabilities;\n};\n\n/**\n * The MediaDevicesInfo interface contains information that describes a single media input or output device.\n * Available only in secure contexts.\n */\ninterface MediaDeviceInfo {\n    readonly deviceId: string;\n    readonly groupId: string;\n    readonly kind: MediaDeviceKind;\n    readonly label: string;\n    toJSON(): any;\n}\n\ndeclare var MediaDeviceInfo: {\n    prototype: MediaDeviceInfo;\n    new(): MediaDeviceInfo;\n};\n\ninterface MediaDevicesEventMap {\n    \"devicechange\": Event;\n}\n\n/**\n * Provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data.\n * Available only in secure contexts.\n */\ninterface MediaDevices extends EventTarget {\n    ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;\n    enumerateDevices(): Promise<MediaDeviceInfo[]>;\n    getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;\n    getSupportedConstraints(): MediaTrackSupportedConstraints;\n    getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;\n    addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaDevices: {\n    prototype: MediaDevices;\n    new(): MediaDevices;\n};\n\n/** A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio. */\ninterface MediaElementAudioSourceNode extends AudioNode {\n    readonly mediaElement: HTMLMediaElement;\n}\n\ndeclare var MediaElementAudioSourceNode: {\n    prototype: MediaElementAudioSourceNode;\n    new(context: AudioContext, options: MediaElementAudioSourceOptions): MediaElementAudioSourceNode;\n};\n\ninterface MediaEncryptedEvent extends Event {\n    readonly initData: ArrayBuffer | null;\n    readonly initDataType: string;\n}\n\ndeclare var MediaEncryptedEvent: {\n    prototype: MediaEncryptedEvent;\n    new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent;\n};\n\n/** An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>. */\ninterface MediaError {\n    readonly code: number;\n    readonly message: string;\n    readonly MEDIA_ERR_ABORTED: 1;\n    readonly MEDIA_ERR_NETWORK: 2;\n    readonly MEDIA_ERR_DECODE: 3;\n    readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4;\n}\n\ndeclare var MediaError: {\n    prototype: MediaError;\n    new(): MediaError;\n    readonly MEDIA_ERR_ABORTED: 1;\n    readonly MEDIA_ERR_NETWORK: 2;\n    readonly MEDIA_ERR_DECODE: 3;\n    readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4;\n};\n\n/**\n * This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session.\n * Available only in secure contexts.\n */\ninterface MediaKeyMessageEvent extends Event {\n    readonly message: ArrayBuffer;\n    readonly messageType: MediaKeyMessageType;\n}\n\ndeclare var MediaKeyMessageEvent: {\n    prototype: MediaKeyMessageEvent;\n    new(type: string, eventInitDict: MediaKeyMessageEventInit): MediaKeyMessageEvent;\n};\n\ninterface MediaKeySessionEventMap {\n    \"keystatuseschange\": Event;\n    \"message\": MediaKeyMessageEvent;\n}\n\n/**\n * This EncryptedMediaExtensions API interface represents a\\xA0context for message exchange with a content decryption module (CDM).\n * Available only in secure contexts.\n */\ninterface MediaKeySession extends EventTarget {\n    readonly closed: Promise<MediaKeySessionClosedReason>;\n    readonly expiration: number;\n    readonly keyStatuses: MediaKeyStatusMap;\n    onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;\n    onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent) => any) | null;\n    readonly sessionId: string;\n    close(): Promise<void>;\n    generateRequest(initDataType: string, initData: BufferSource): Promise<void>;\n    load(sessionId: string): Promise<boolean>;\n    remove(): Promise<void>;\n    update(response: BufferSource): Promise<void>;\n    addEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaKeySession: {\n    prototype: MediaKeySession;\n    new(): MediaKeySession;\n};\n\n/**\n * This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs.\n * Available only in secure contexts.\n */\ninterface MediaKeyStatusMap {\n    readonly size: number;\n    get(keyId: BufferSource): MediaKeyStatus | undefined;\n    has(keyId: BufferSource): boolean;\n    forEach(callbackfn: (value: MediaKeyStatus, key: BufferSource, parent: MediaKeyStatusMap) => void, thisArg?: any): void;\n}\n\ndeclare var MediaKeyStatusMap: {\n    prototype: MediaKeyStatusMap;\n    new(): MediaKeyStatusMap;\n};\n\n/**\n * This EncryptedMediaExtensions API interface provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method.\n * Available only in secure contexts.\n */\ninterface MediaKeySystemAccess {\n    readonly keySystem: string;\n    createMediaKeys(): Promise<MediaKeys>;\n    getConfiguration(): MediaKeySystemConfiguration;\n}\n\ndeclare var MediaKeySystemAccess: {\n    prototype: MediaKeySystemAccess;\n    new(): MediaKeySystemAccess;\n};\n\n/**\n * This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.\n * Available only in secure contexts.\n */\ninterface MediaKeys {\n    createSession(sessionType?: MediaKeySessionType): MediaKeySession;\n    setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;\n}\n\ndeclare var MediaKeys: {\n    prototype: MediaKeys;\n    new(): MediaKeys;\n};\n\ninterface MediaList {\n    readonly length: number;\n    mediaText: string;\n    toString(): string;\n    appendMedium(medium: string): void;\n    deleteMedium(medium: string): void;\n    item(index: number): string | null;\n    [index: number]: string;\n}\n\ndeclare var MediaList: {\n    prototype: MediaList;\n    new(): MediaList;\n};\n\ninterface MediaMetadata {\n    album: string;\n    artist: string;\n    artwork: ReadonlyArray<MediaImage>;\n    title: string;\n}\n\ndeclare var MediaMetadata: {\n    prototype: MediaMetadata;\n    new(init?: MediaMetadataInit): MediaMetadata;\n};\n\ninterface MediaQueryListEventMap {\n    \"change\": MediaQueryListEvent;\n}\n\n/** Stores information on a media query applied to a document, and handles sending notifications to listeners when the media query state change (i.e. when the media query test starts or stops evaluating to true). */\ninterface MediaQueryList extends EventTarget {\n    readonly matches: boolean;\n    readonly media: string;\n    onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;\n    /** @deprecated */\n    addListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n    /** @deprecated */\n    removeListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n    addEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaQueryList: {\n    prototype: MediaQueryList;\n    new(): MediaQueryList;\n};\n\ninterface MediaQueryListEvent extends Event {\n    readonly matches: boolean;\n    readonly media: string;\n}\n\ndeclare var MediaQueryListEvent: {\n    prototype: MediaQueryListEvent;\n    new(type: string, eventInitDict?: MediaQueryListEventInit): MediaQueryListEvent;\n};\n\ninterface MediaRecorderEventMap {\n    \"dataavailable\": BlobEvent;\n    \"error\": Event;\n    \"pause\": Event;\n    \"resume\": Event;\n    \"start\": Event;\n    \"stop\": Event;\n}\n\ninterface MediaRecorder extends EventTarget {\n    readonly audioBitsPerSecond: number;\n    readonly mimeType: string;\n    ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;\n    onerror: ((this: MediaRecorder, ev: Event) => any) | null;\n    onpause: ((this: MediaRecorder, ev: Event) => any) | null;\n    onresume: ((this: MediaRecorder, ev: Event) => any) | null;\n    onstart: ((this: MediaRecorder, ev: Event) => any) | null;\n    onstop: ((this: MediaRecorder, ev: Event) => any) | null;\n    readonly state: RecordingState;\n    readonly stream: MediaStream;\n    readonly videoBitsPerSecond: number;\n    pause(): void;\n    requestData(): void;\n    resume(): void;\n    start(timeslice?: number): void;\n    stop(): void;\n    addEventListener<K extends keyof MediaRecorderEventMap>(type: K, listener: (this: MediaRecorder, ev: MediaRecorderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaRecorderEventMap>(type: K, listener: (this: MediaRecorder, ev: MediaRecorderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaRecorder: {\n    prototype: MediaRecorder;\n    new(stream: MediaStream, options?: MediaRecorderOptions): MediaRecorder;\n    isTypeSupported(type: string): boolean;\n};\n\ninterface MediaSession {\n    metadata: MediaMetadata | null;\n    playbackState: MediaSessionPlaybackState;\n    setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void;\n    setPositionState(state?: MediaPositionState): void;\n}\n\ndeclare var MediaSession: {\n    prototype: MediaSession;\n    new(): MediaSession;\n};\n\ninterface MediaSourceEventMap {\n    \"sourceclose\": Event;\n    \"sourceended\": Event;\n    \"sourceopen\": Event;\n}\n\n/** This Media Source Extensions API interface represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent. */\ninterface MediaSource extends EventTarget {\n    readonly activeSourceBuffers: SourceBufferList;\n    duration: number;\n    onsourceclose: ((this: MediaSource, ev: Event) => any) | null;\n    onsourceended: ((this: MediaSource, ev: Event) => any) | null;\n    onsourceopen: ((this: MediaSource, ev: Event) => any) | null;\n    readonly readyState: ReadyState;\n    readonly sourceBuffers: SourceBufferList;\n    addSourceBuffer(type: string): SourceBuffer;\n    clearLiveSeekableRange(): void;\n    endOfStream(error?: EndOfStreamError): void;\n    removeSourceBuffer(sourceBuffer: SourceBuffer): void;\n    setLiveSeekableRange(start: number, end: number): void;\n    addEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaSource: {\n    prototype: MediaSource;\n    new(): MediaSource;\n    isTypeSupported(type: string): boolean;\n};\n\ninterface MediaStreamEventMap {\n    \"addtrack\": MediaStreamTrackEvent;\n    \"removetrack\": MediaStreamTrackEvent;\n}\n\n/** A stream of media content. A stream consists of several tracks such as\\xA0video or audio tracks. Each track is specified as an instance of MediaStreamTrack. */\ninterface MediaStream extends EventTarget {\n    readonly active: boolean;\n    readonly id: string;\n    onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n    onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n    addTrack(track: MediaStreamTrack): void;\n    clone(): MediaStream;\n    getAudioTracks(): MediaStreamTrack[];\n    getTrackById(trackId: string): MediaStreamTrack | null;\n    getTracks(): MediaStreamTrack[];\n    getVideoTracks(): MediaStreamTrack[];\n    removeTrack(track: MediaStreamTrack): void;\n    addEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStream: {\n    prototype: MediaStream;\n    new(): MediaStream;\n    new(stream: MediaStream): MediaStream;\n    new(tracks: MediaStreamTrack[]): MediaStream;\n};\n\ninterface MediaStreamAudioDestinationNode extends AudioNode {\n    readonly stream: MediaStream;\n}\n\ndeclare var MediaStreamAudioDestinationNode: {\n    prototype: MediaStreamAudioDestinationNode;\n    new(context: AudioContext, options?: AudioNodeOptions): MediaStreamAudioDestinationNode;\n};\n\n/** A type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs. */\ninterface MediaStreamAudioSourceNode extends AudioNode {\n    readonly mediaStream: MediaStream;\n}\n\ndeclare var MediaStreamAudioSourceNode: {\n    prototype: MediaStreamAudioSourceNode;\n    new(context: AudioContext, options: MediaStreamAudioSourceOptions): MediaStreamAudioSourceNode;\n};\n\ninterface MediaStreamTrackEventMap {\n    \"ended\": Event;\n    \"mute\": Event;\n    \"unmute\": Event;\n}\n\n/** A single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well. */\ninterface MediaStreamTrack extends EventTarget {\n    contentHint: string;\n    enabled: boolean;\n    readonly id: string;\n    readonly kind: string;\n    readonly label: string;\n    readonly muted: boolean;\n    onended: ((this: MediaStreamTrack, ev: Event) => any) | null;\n    onmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n    onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n    readonly readyState: MediaStreamTrackState;\n    applyConstraints(constraints?: MediaTrackConstraints): Promise<void>;\n    clone(): MediaStreamTrack;\n    getCapabilities(): MediaTrackCapabilities;\n    getConstraints(): MediaTrackConstraints;\n    getSettings(): MediaTrackSettings;\n    stop(): void;\n    addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStreamTrack: {\n    prototype: MediaStreamTrack;\n    new(): MediaStreamTrack;\n};\n\n/** Events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur. */\ninterface MediaStreamTrackEvent extends Event {\n    readonly track: MediaStreamTrack;\n}\n\ndeclare var MediaStreamTrackEvent: {\n    prototype: MediaStreamTrackEvent;\n    new(type: string, eventInitDict: MediaStreamTrackEventInit): MediaStreamTrackEvent;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n    /** Returns the first MessagePort object. */\n    readonly port1: MessagePort;\n    /** Returns the second MessagePort object. */\n    readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n    prototype: MessageChannel;\n    new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n    /** Returns the data of the message. */\n    readonly data: T;\n    /** Returns the last event ID string, for server-sent events. */\n    readonly lastEventId: string;\n    /** Returns the origin of the message, for server-sent events and cross-document messaging. */\n    readonly origin: string;\n    /** Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging. */\n    readonly ports: ReadonlyArray<MessagePort>;\n    /** Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects. */\n    readonly source: MessageEventSource | null;\n    /** @deprecated */\n    initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;\n}\n\ndeclare var MessageEvent: {\n    prototype: MessageEvent;\n    new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n    onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n    /** Disconnects the port, so that it is no longer active. */\n    close(): void;\n    /**\n     * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n     *\n     * Throws a \"DataCloneError\" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n     */\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    /** Begins dispatching messages received on the port. */\n    start(): void;\n    addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n    prototype: MessagePort;\n    new(): MessagePort;\n};\n\n/**\n * Provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.\n * @deprecated\n */\ninterface MimeType {\n    /**\n     * Returns the MIME type's description.\n     * @deprecated\n     */\n    readonly description: string;\n    /**\n     * Returns the Plugin object that implements this MIME type.\n     * @deprecated\n     */\n    readonly enabledPlugin: Plugin;\n    /**\n     * Returns the MIME type's typical file extensions, in a comma-separated list.\n     * @deprecated\n     */\n    readonly suffixes: string;\n    /**\n     * Returns the MIME type.\n     * @deprecated\n     */\n    readonly type: string;\n}\n\n/** @deprecated */\ndeclare var MimeType: {\n    prototype: MimeType;\n    new(): MimeType;\n};\n\n/**\n * Returns an array of MimeType instances, each of which contains information\\xA0about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes.\n * @deprecated\n */\ninterface MimeTypeArray {\n    /** @deprecated */\n    readonly length: number;\n    /** @deprecated */\n    item(index: number): MimeType | null;\n    /** @deprecated */\n    namedItem(name: string): MimeType | null;\n    [index: number]: MimeType;\n}\n\n/** @deprecated */\ndeclare var MimeTypeArray: {\n    prototype: MimeTypeArray;\n    new(): MimeTypeArray;\n};\n\n/** Events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown. */\ninterface MouseEvent extends UIEvent {\n    readonly altKey: boolean;\n    readonly button: number;\n    readonly buttons: number;\n    readonly clientX: number;\n    readonly clientY: number;\n    readonly ctrlKey: boolean;\n    readonly metaKey: boolean;\n    readonly movementX: number;\n    readonly movementY: number;\n    readonly offsetX: number;\n    readonly offsetY: number;\n    readonly pageX: number;\n    readonly pageY: number;\n    readonly relatedTarget: EventTarget | null;\n    readonly screenX: number;\n    readonly screenY: number;\n    readonly shiftKey: boolean;\n    readonly x: number;\n    readonly y: number;\n    getModifierState(keyArg: string): boolean;\n    /** @deprecated */\n    initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void;\n}\n\ndeclare var MouseEvent: {\n    prototype: MouseEvent;\n    new(type: string, eventInitDict?: MouseEventInit): MouseEvent;\n};\n\n/**\n * Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.\n * @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.\n */\ninterface MutationEvent extends Event {\n    /** @deprecated */\n    readonly attrChange: number;\n    /** @deprecated */\n    readonly attrName: string;\n    /** @deprecated */\n    readonly newValue: string;\n    /** @deprecated */\n    readonly prevValue: string;\n    /** @deprecated */\n    readonly relatedNode: Node | null;\n    /** @deprecated */\n    initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;\n    readonly MODIFICATION: 1;\n    readonly ADDITION: 2;\n    readonly REMOVAL: 3;\n}\n\n/** @deprecated */\ndeclare var MutationEvent: {\n    prototype: MutationEvent;\n    new(): MutationEvent;\n    readonly MODIFICATION: 1;\n    readonly ADDITION: 2;\n    readonly REMOVAL: 3;\n};\n\n/** Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. */\ninterface MutationObserver {\n    /** Stops observer from observing any mutations. Until the observe() method is used again, observer's callback will not be invoked. */\n    disconnect(): void;\n    /**\n     * Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).\n     *\n     * The options argument allows for setting mutation observation options via object members.\n     */\n    observe(target: Node, options?: MutationObserverInit): void;\n    /** Empties the record queue and returns what was in there. */\n    takeRecords(): MutationRecord[];\n}\n\ndeclare var MutationObserver: {\n    prototype: MutationObserver;\n    new(callback: MutationCallback): MutationObserver;\n};\n\n/** A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback. */\ninterface MutationRecord {\n    /** Return the nodes added and removed respectively. */\n    readonly addedNodes: NodeList;\n    /** Returns the local name of the changed attribute, and null otherwise. */\n    readonly attributeName: string | null;\n    /** Returns the namespace of the changed attribute, and null otherwise. */\n    readonly attributeNamespace: string | null;\n    /** Return the previous and next sibling respectively of the added or removed nodes, and null otherwise. */\n    readonly nextSibling: Node | null;\n    /** The return value depends on type. For \"attributes\", it is the value of the changed attribute before the change. For \"characterData\", it is the data of the changed node before the change. For \"childList\", it is null. */\n    readonly oldValue: string | null;\n    /** Return the previous and next sibling respectively of the added or removed nodes, and null otherwise. */\n    readonly previousSibling: Node | null;\n    /** Return the nodes added and removed respectively. */\n    readonly removedNodes: NodeList;\n    /** Returns the node the mutation affected, depending on the type. For \"attributes\", it is the element whose attribute changed. For \"characterData\", it is the CharacterData node. For \"childList\", it is the node whose children changed. */\n    readonly target: Node;\n    /** Returns \"attributes\" if it was an attribute mutation. \"characterData\" if it was a mutation to a CharacterData node. And \"childList\" if it was a mutation to the tree of nodes. */\n    readonly type: MutationRecordType;\n}\n\ndeclare var MutationRecord: {\n    prototype: MutationRecord;\n    new(): MutationRecord;\n};\n\n/** A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array. */\ninterface NamedNodeMap {\n    readonly length: number;\n    getNamedItem(qualifiedName: string): Attr | null;\n    getNamedItemNS(namespace: string | null, localName: string): Attr | null;\n    item(index: number): Attr | null;\n    removeNamedItem(qualifiedName: string): Attr;\n    removeNamedItemNS(namespace: string | null, localName: string): Attr;\n    setNamedItem(attr: Attr): Attr | null;\n    setNamedItemNS(attr: Attr): Attr | null;\n    [index: number]: Attr;\n}\n\ndeclare var NamedNodeMap: {\n    prototype: NamedNodeMap;\n    new(): NamedNodeMap;\n};\n\n/** Available only in secure contexts. */\ninterface NavigationPreloadManager {\n    disable(): Promise<void>;\n    enable(): Promise<void>;\n    getState(): Promise<NavigationPreloadState>;\n    setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n    prototype: NavigationPreloadManager;\n    new(): NavigationPreloadManager;\n};\n\n/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */\ninterface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {\n    /** Available only in secure contexts. */\n    readonly clipboard: Clipboard;\n    /** Available only in secure contexts. */\n    readonly credentials: CredentialsContainer;\n    readonly doNotTrack: string | null;\n    readonly geolocation: Geolocation;\n    readonly maxTouchPoints: number;\n    readonly mediaCapabilities: MediaCapabilities;\n    /** Available only in secure contexts. */\n    readonly mediaDevices: MediaDevices;\n    readonly mediaSession: MediaSession;\n    readonly permissions: Permissions;\n    /** Available only in secure contexts. */\n    readonly serviceWorker: ServiceWorkerContainer;\n    /** Available only in secure contexts. */\n    canShare(data?: ShareData): boolean;\n    getGamepads(): (Gamepad | null)[];\n    /** Available only in secure contexts. */\n    requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;\n    /** Available only in secure contexts. */\n    requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;\n    sendBeacon(url: string | URL, data?: BodyInit | null): boolean;\n    /** Available only in secure contexts. */\n    share(data?: ShareData): Promise<void>;\n    vibrate(pattern: VibratePattern): boolean;\n}\n\ndeclare var Navigator: {\n    prototype: Navigator;\n    new(): Navigator;\n};\n\ninterface NavigatorAutomationInformation {\n    readonly webdriver: boolean;\n}\n\ninterface NavigatorConcurrentHardware {\n    readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorContentUtils {\n    /** Available only in secure contexts. */\n    registerProtocolHandler(scheme: string, url: string | URL): void;\n}\n\ninterface NavigatorCookies {\n    readonly cookieEnabled: boolean;\n}\n\ninterface NavigatorID {\n    /** @deprecated */\n    readonly appCodeName: string;\n    /** @deprecated */\n    readonly appName: string;\n    /** @deprecated */\n    readonly appVersion: string;\n    /** @deprecated */\n    readonly platform: string;\n    /** @deprecated */\n    readonly product: string;\n    /** @deprecated */\n    readonly productSub: string;\n    readonly userAgent: string;\n    /** @deprecated */\n    readonly vendor: string;\n    /** @deprecated */\n    readonly vendorSub: string;\n}\n\ninterface NavigatorLanguage {\n    readonly language: string;\n    readonly languages: ReadonlyArray<string>;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorLocks {\n    readonly locks: LockManager;\n}\n\ninterface NavigatorOnLine {\n    readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n    /** @deprecated */\n    readonly mimeTypes: MimeTypeArray;\n    readonly pdfViewerEnabled: boolean;\n    /** @deprecated */\n    readonly plugins: PluginArray;\n    /** @deprecated */\n    javaEnabled(): boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorStorage {\n    readonly storage: StorageManager;\n}\n\n/** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */\ninterface Node extends EventTarget {\n    /** Returns node's node document's document base URL. */\n    readonly baseURI: string;\n    /** Returns the children. */\n    readonly childNodes: NodeListOf<ChildNode>;\n    /** Returns the first child. */\n    readonly firstChild: ChildNode | null;\n    /** Returns true if node is connected and false otherwise. */\n    readonly isConnected: boolean;\n    /** Returns the last child. */\n    readonly lastChild: ChildNode | null;\n    /** Returns the next sibling. */\n    readonly nextSibling: ChildNode | null;\n    /** Returns a string appropriate for the type of node. */\n    readonly nodeName: string;\n    /** Returns the type of node. */\n    readonly nodeType: number;\n    nodeValue: string | null;\n    /** Returns the node document. Returns null for documents. */\n    readonly ownerDocument: Document | null;\n    /** Returns the parent element. */\n    readonly parentElement: HTMLElement | null;\n    /** Returns the parent. */\n    readonly parentNode: ParentNode | null;\n    /** Returns the previous sibling. */\n    readonly previousSibling: ChildNode | null;\n    textContent: string | null;\n    appendChild<T extends Node>(node: T): T;\n    /** Returns a copy of node. If deep is true, the copy also includes the node's descendants. */\n    cloneNode(deep?: boolean): Node;\n    /** Returns a bitmask indicating the position of other relative to node. */\n    compareDocumentPosition(other: Node): number;\n    /** Returns true if other is an inclusive descendant of node, and false otherwise. */\n    contains(other: Node | null): boolean;\n    /** Returns node's root. */\n    getRootNode(options?: GetRootNodeOptions): Node;\n    /** Returns whether node has children. */\n    hasChildNodes(): boolean;\n    insertBefore<T extends Node>(node: T, child: Node | null): T;\n    isDefaultNamespace(namespace: string | null): boolean;\n    /** Returns whether node and otherNode have the same properties. */\n    isEqualNode(otherNode: Node | null): boolean;\n    isSameNode(otherNode: Node | null): boolean;\n    lookupNamespaceURI(prefix: string | null): string | null;\n    lookupPrefix(namespace: string | null): string | null;\n    /** Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. */\n    normalize(): void;\n    removeChild<T extends Node>(child: T): T;\n    replaceChild<T extends Node>(node: Node, child: T): T;\n    /** node is an element. */\n    readonly ELEMENT_NODE: 1;\n    readonly ATTRIBUTE_NODE: 2;\n    /** node is a Text node. */\n    readonly TEXT_NODE: 3;\n    /** node is a CDATASection node. */\n    readonly CDATA_SECTION_NODE: 4;\n    readonly ENTITY_REFERENCE_NODE: 5;\n    readonly ENTITY_NODE: 6;\n    /** node is a ProcessingInstruction node. */\n    readonly PROCESSING_INSTRUCTION_NODE: 7;\n    /** node is a Comment node. */\n    readonly COMMENT_NODE: 8;\n    /** node is a document. */\n    readonly DOCUMENT_NODE: 9;\n    /** node is a doctype. */\n    readonly DOCUMENT_TYPE_NODE: 10;\n    /** node is a DocumentFragment node. */\n    readonly DOCUMENT_FRAGMENT_NODE: 11;\n    readonly NOTATION_NODE: 12;\n    /** Set when node and other are not in the same tree. */\n    readonly DOCUMENT_POSITION_DISCONNECTED: 0x01;\n    /** Set when other is preceding node. */\n    readonly DOCUMENT_POSITION_PRECEDING: 0x02;\n    /** Set when other is following node. */\n    readonly DOCUMENT_POSITION_FOLLOWING: 0x04;\n    /** Set when other is an ancestor of node. */\n    readonly DOCUMENT_POSITION_CONTAINS: 0x08;\n    /** Set when other is a descendant of node. */\n    readonly DOCUMENT_POSITION_CONTAINED_BY: 0x10;\n    readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20;\n}\n\ndeclare var Node: {\n    prototype: Node;\n    new(): Node;\n    /** node is an element. */\n    readonly ELEMENT_NODE: 1;\n    readonly ATTRIBUTE_NODE: 2;\n    /** node is a Text node. */\n    readonly TEXT_NODE: 3;\n    /** node is a CDATASection node. */\n    readonly CDATA_SECTION_NODE: 4;\n    readonly ENTITY_REFERENCE_NODE: 5;\n    readonly ENTITY_NODE: 6;\n    /** node is a ProcessingInstruction node. */\n    readonly PROCESSING_INSTRUCTION_NODE: 7;\n    /** node is a Comment node. */\n    readonly COMMENT_NODE: 8;\n    /** node is a document. */\n    readonly DOCUMENT_NODE: 9;\n    /** node is a doctype. */\n    readonly DOCUMENT_TYPE_NODE: 10;\n    /** node is a DocumentFragment node. */\n    readonly DOCUMENT_FRAGMENT_NODE: 11;\n    readonly NOTATION_NODE: 12;\n    /** Set when node and other are not in the same tree. */\n    readonly DOCUMENT_POSITION_DISCONNECTED: 0x01;\n    /** Set when other is preceding node. */\n    readonly DOCUMENT_POSITION_PRECEDING: 0x02;\n    /** Set when other is following node. */\n    readonly DOCUMENT_POSITION_FOLLOWING: 0x04;\n    /** Set when other is an ancestor of node. */\n    readonly DOCUMENT_POSITION_CONTAINS: 0x08;\n    /** Set when other is a descendant of node. */\n    readonly DOCUMENT_POSITION_CONTAINED_BY: 0x10;\n    readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20;\n};\n\n/** An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order. */\ninterface NodeIterator {\n    readonly filter: NodeFilter | null;\n    readonly pointerBeforeReferenceNode: boolean;\n    readonly referenceNode: Node;\n    readonly root: Node;\n    readonly whatToShow: number;\n    /** @deprecated */\n    detach(): void;\n    nextNode(): Node | null;\n    previousNode(): Node | null;\n}\n\ndeclare var NodeIterator: {\n    prototype: NodeIterator;\n    new(): NodeIterator;\n};\n\n/** NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). */\ninterface NodeList {\n    /** Returns the number of nodes in the collection. */\n    readonly length: number;\n    /** Returns the node with index index from the collection. The nodes are sorted in tree order. */\n    item(index: number): Node | null;\n    /**\n     * Performs the specified action for each node in an list.\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n     */\n    forEach(callbackfn: (value: Node, key: number, parent: NodeList) => void, thisArg?: any): void;\n    [index: number]: Node;\n}\n\ndeclare var NodeList: {\n    prototype: NodeList;\n    new(): NodeList;\n};\n\ninterface NodeListOf<TNode extends Node> extends NodeList {\n    item(index: number): TNode;\n    /**\n     * Performs the specified action for each node in an list.\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n     */\n    forEach(callbackfn: (value: TNode, key: number, parent: NodeListOf<TNode>) => void, thisArg?: any): void;\n    [index: number]: TNode;\n}\n\ninterface NonDocumentTypeChildNode {\n    /** Returns the first following sibling that is an element, and null otherwise. */\n    readonly nextElementSibling: Element | null;\n    /** Returns the first preceding sibling that is an element, and null otherwise. */\n    readonly previousElementSibling: Element | null;\n}\n\ninterface NonElementParentNode {\n    /** Returns the first element within node's descendants whose ID is elementId. */\n    getElementById(elementId: string): Element | null;\n}\n\ninterface NotificationEventMap {\n    \"click\": Event;\n    \"close\": Event;\n    \"error\": Event;\n    \"show\": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n    readonly body: string;\n    readonly data: any;\n    readonly dir: NotificationDirection;\n    readonly icon: string;\n    readonly lang: string;\n    onclick: ((this: Notification, ev: Event) => any) | null;\n    onclose: ((this: Notification, ev: Event) => any) | null;\n    onerror: ((this: Notification, ev: Event) => any) | null;\n    onshow: ((this: Notification, ev: Event) => any) | null;\n    readonly tag: string;\n    readonly title: string;\n    close(): void;\n    addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n    prototype: Notification;\n    new(title: string, options?: NotificationOptions): Notification;\n    readonly permission: NotificationPermission;\n    requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;\n};\n\ninterface OES_draw_buffers_indexed {\n    blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;\n    blendEquationiOES(buf: GLuint, mode: GLenum): void;\n    blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n    blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;\n    colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;\n    disableiOES(target: GLenum, index: GLuint): void;\n    enableiOES(target: GLenum, index: GLuint): void;\n}\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\ninterface OES_fbo_render_mipmap {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: 0x8B8B;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n    readonly HALF_FLOAT_OES: 0x8D61;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n    bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n    createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n    deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n    isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n    readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;\n}\n\ninterface OVR_multiview2 {\n    framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: 0x9630;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: 0x9632;\n    readonly MAX_VIEWS_OVR: 0x9631;\n    readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: 0x9633;\n}\n\n/** The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface. */\ninterface OfflineAudioCompletionEvent extends Event {\n    readonly renderedBuffer: AudioBuffer;\n}\n\ndeclare var OfflineAudioCompletionEvent: {\n    prototype: OfflineAudioCompletionEvent;\n    new(type: string, eventInitDict: OfflineAudioCompletionEventInit): OfflineAudioCompletionEvent;\n};\n\ninterface OfflineAudioContextEventMap extends BaseAudioContextEventMap {\n    \"complete\": OfflineAudioCompletionEvent;\n}\n\n/** An AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer. */\ninterface OfflineAudioContext extends BaseAudioContext {\n    readonly length: number;\n    oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;\n    resume(): Promise<void>;\n    startRendering(): Promise<AudioBuffer>;\n    suspend(suspendTime: number): Promise<void>;\n    addEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OfflineAudioContext: {\n    prototype: OfflineAudioContext;\n    new(contextOptions: OfflineAudioContextOptions): OfflineAudioContext;\n    new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;\n};\n\ninterface OffscreenCanvasEventMap {\n    \"contextlost\": Event;\n    \"contextrestored\": Event;\n}\n\ninterface OffscreenCanvas extends EventTarget {\n    /**\n     * These attributes return the dimensions of the OffscreenCanvas object's bitmap.\n     *\n     * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n     */\n    height: number;\n    oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;\n    oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;\n    /**\n     * These attributes return the dimensions of the OffscreenCanvas object's bitmap.\n     *\n     * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n     */\n    width: number;\n    /**\n     * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n     *\n     * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of \"image/png\"; that type is also used if the requested type isn't supported. If the image format supports variable quality (such as \"image/jpeg\"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n     */\n    convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n    /**\n     * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: \"2d\", \"bitmaprenderer\", \"webgl\", or \"webgl2\". options is handled by that API.\n     *\n     * This specification defines the \"2d\" context below, which is similar but distinct from the \"2d\" context that is created from a canvas element. The WebGL specifications define the \"webgl\" and \"webgl2\" contexts. [WEBGL]\n     *\n     * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a \"2d\" context after getting a \"webgl\" context).\n     */\n    getContext(contextId: \"2d\", options?: any): OffscreenCanvasRenderingContext2D | null;\n    getContext(contextId: \"bitmaprenderer\", options?: any): ImageBitmapRenderingContext | null;\n    getContext(contextId: \"webgl\", options?: any): WebGLRenderingContext | null;\n    getContext(contextId: \"webgl2\", options?: any): WebGL2RenderingContext | null;\n    getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n    /** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */\n    transferToImageBitmap(): ImageBitmap;\n    addEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OffscreenCanvas: {\n    prototype: OffscreenCanvas;\n    new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n    readonly canvas: OffscreenCanvas;\n    commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n    prototype: OffscreenCanvasRenderingContext2D;\n    new(): OffscreenCanvasRenderingContext2D;\n};\n\n/** The OscillatorNode\\xA0interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency\\xA0of a given wave to be created\\u2014in effect, a constant tone. */\ninterface OscillatorNode extends AudioScheduledSourceNode {\n    readonly detune: AudioParam;\n    readonly frequency: AudioParam;\n    type: OscillatorType;\n    setPeriodicWave(periodicWave: PeriodicWave): void;\n    addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OscillatorNode: {\n    prototype: OscillatorNode;\n    new(context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode;\n};\n\ninterface OverconstrainedError extends Error {\n    readonly constraint: string;\n}\n\ndeclare var OverconstrainedError: {\n    prototype: OverconstrainedError;\n    new(constraint: string, message?: string): OverconstrainedError;\n};\n\n/** The PageTransitionEvent is fired when a document is being loaded or unloaded. */\ninterface PageTransitionEvent extends Event {\n    /**\n     * For the pageshow event, returns false if the page is newly being loaded (and the load event will fire). Otherwise, returns true.\n     *\n     * For the pagehide event, returns false if the page is going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to make the page unsalvageable) the page might be reused if the user navigates back to this page.\n     *\n     * Things that can cause the page to be unsalvageable include:\n     *\n     * The user agent decided to not keep the Document alive in a session history entry after unload\n     * Having iframes that are not salvageable\n     * Active WebSocket objects\n     * Aborting a Document\n     */\n    readonly persisted: boolean;\n}\n\ndeclare var PageTransitionEvent: {\n    prototype: PageTransitionEvent;\n    new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;\n};\n\n/** A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels); you can't have panning effects without at least two audio channels! */\ninterface PannerNode extends AudioNode {\n    coneInnerAngle: number;\n    coneOuterAngle: number;\n    coneOuterGain: number;\n    distanceModel: DistanceModelType;\n    maxDistance: number;\n    readonly orientationX: AudioParam;\n    readonly orientationY: AudioParam;\n    readonly orientationZ: AudioParam;\n    panningModel: PanningModelType;\n    readonly positionX: AudioParam;\n    readonly positionY: AudioParam;\n    readonly positionZ: AudioParam;\n    refDistance: number;\n    rolloffFactor: number;\n    /** @deprecated */\n    setOrientation(x: number, y: number, z: number): void;\n    /** @deprecated */\n    setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var PannerNode: {\n    prototype: PannerNode;\n    new(context: BaseAudioContext, options?: PannerOptions): PannerNode;\n};\n\ninterface ParentNode extends Node {\n    readonly childElementCount: number;\n    /** Returns the child elements. */\n    readonly children: HTMLCollection;\n    /** Returns the first child that is an element, and null otherwise. */\n    readonly firstElementChild: Element | null;\n    /** Returns the last child that is an element, and null otherwise. */\n    readonly lastElementChild: Element | null;\n    /**\n     * Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.\n     *\n     * Throws a \"HierarchyRequestError\" DOMException if the constraints of the node tree are violated.\n     */\n    append(...nodes: (Node | string)[]): void;\n    /**\n     * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.\n     *\n     * Throws a \"HierarchyRequestError\" DOMException if the constraints of the node tree are violated.\n     */\n    prepend(...nodes: (Node | string)[]): void;\n    /** Returns the first element that is a descendant of node that matches selectors. */\n    querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;\n    querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;\n    querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;\n    /** @deprecated */\n    querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;\n    querySelector<E extends Element = Element>(selectors: string): E | null;\n    /** Returns all element descendants of node that match selectors. */\n    querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;\n    querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;\n    querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;\n    /** @deprecated */\n    querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;\n    querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;\n    /**\n     * Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.\n     *\n     * Throws a \"HierarchyRequestError\" DOMException if the constraints of the node tree are violated.\n     */\n    replaceChildren(...nodes: (Node | string)[]): void;\n}\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n    /** Adds to the path the path given by the argument. */\n    addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n    prototype: Path2D;\n    new(path?: Path2D | string): Path2D;\n};\n\n/** Available only in secure contexts. */\ninterface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent {\n    readonly methodDetails: any;\n    readonly methodName: string;\n}\n\ndeclare var PaymentMethodChangeEvent: {\n    prototype: PaymentMethodChangeEvent;\n    new(type: string, eventInitDict?: PaymentMethodChangeEventInit): PaymentMethodChangeEvent;\n};\n\ninterface PaymentRequestEventMap {\n    \"paymentmethodchange\": Event;\n}\n\n/**\n * This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user.\n * Available only in secure contexts.\n */\ninterface PaymentRequest extends EventTarget {\n    readonly id: string;\n    onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null;\n    abort(): Promise<void>;\n    canMakePayment(): Promise<boolean>;\n    show(detailsPromise?: PaymentDetailsUpdate | PromiseLike<PaymentDetailsUpdate>): Promise<PaymentResponse>;\n    addEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PaymentRequest: {\n    prototype: PaymentRequest;\n    new(methodData: PaymentMethodData[], details: PaymentDetailsInit): PaymentRequest;\n};\n\n/**\n * This Payment Request API interface enables a web page to update the details of a PaymentRequest in response to a user action.\n * Available only in secure contexts.\n */\ninterface PaymentRequestUpdateEvent extends Event {\n    updateWith(detailsPromise: PaymentDetailsUpdate | PromiseLike<PaymentDetailsUpdate>): void;\n}\n\ndeclare var PaymentRequestUpdateEvent: {\n    prototype: PaymentRequestUpdateEvent;\n    new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;\n};\n\n/**\n * This Payment Request API interface is returned after a user selects a payment method and approves a payment request.\n * Available only in secure contexts.\n */\ninterface PaymentResponse extends EventTarget {\n    readonly details: any;\n    readonly methodName: string;\n    readonly requestId: string;\n    complete(result?: PaymentComplete): Promise<void>;\n    retry(errorFields?: PaymentValidationErrors): Promise<void>;\n    toJSON(): any;\n}\n\ndeclare var PaymentResponse: {\n    prototype: PaymentResponse;\n    new(): PaymentResponse;\n};\n\ninterface PerformanceEventMap {\n    \"resourcetimingbufferfull\": Event;\n}\n\n/** Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n    readonly eventCounts: EventCounts;\n    /** @deprecated */\n    readonly navigation: PerformanceNavigation;\n    onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n    readonly timeOrigin: DOMHighResTimeStamp;\n    /** @deprecated */\n    readonly timing: PerformanceTiming;\n    clearMarks(markName?: string): void;\n    clearMeasures(measureName?: string): void;\n    clearResourceTimings(): void;\n    getEntries(): PerformanceEntryList;\n    getEntriesByName(name: string, type?: string): PerformanceEntryList;\n    getEntriesByType(type: string): PerformanceEntryList;\n    mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n    measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;\n    now(): DOMHighResTimeStamp;\n    setResourceTimingBufferSize(maxSize: number): void;\n    toJSON(): any;\n    addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n    prototype: Performance;\n    new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n    readonly duration: DOMHighResTimeStamp;\n    readonly entryType: string;\n    readonly name: string;\n    readonly startTime: DOMHighResTimeStamp;\n    toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n    prototype: PerformanceEntry;\n    new(): PerformanceEntry;\n};\n\ninterface PerformanceEventTiming extends PerformanceEntry {\n    readonly cancelable: boolean;\n    readonly processingEnd: DOMHighResTimeStamp;\n    readonly processingStart: DOMHighResTimeStamp;\n    readonly target: Node | null;\n    toJSON(): any;\n}\n\ndeclare var PerformanceEventTiming: {\n    prototype: PerformanceEventTiming;\n    new(): PerformanceEventTiming;\n};\n\n/** PerformanceMark\\xA0is an abstract interface for PerformanceEntry objects with an entryType of \"mark\". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n    readonly detail: any;\n}\n\ndeclare var PerformanceMark: {\n    prototype: PerformanceMark;\n    new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of \"measure\". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n    readonly detail: any;\n}\n\ndeclare var PerformanceMeasure: {\n    prototype: PerformanceMeasure;\n    new(): PerformanceMeasure;\n};\n\n/**\n * The legacy PerformanceNavigation interface represents information about how the navigation to the current document was done.\n * @deprecated This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.\n */\ninterface PerformanceNavigation {\n    /** @deprecated */\n    readonly redirectCount: number;\n    /** @deprecated */\n    readonly type: number;\n    /** @deprecated */\n    toJSON(): any;\n    readonly TYPE_NAVIGATE: 0;\n    readonly TYPE_RELOAD: 1;\n    readonly TYPE_BACK_FORWARD: 2;\n    readonly TYPE_RESERVED: 255;\n}\n\n/** @deprecated */\ndeclare var PerformanceNavigation: {\n    prototype: PerformanceNavigation;\n    new(): PerformanceNavigation;\n    readonly TYPE_NAVIGATE: 0;\n    readonly TYPE_RELOAD: 1;\n    readonly TYPE_BACK_FORWARD: 2;\n    readonly TYPE_RESERVED: 255;\n};\n\n/** Provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document. */\ninterface PerformanceNavigationTiming extends PerformanceResourceTiming {\n    readonly domComplete: DOMHighResTimeStamp;\n    readonly domContentLoadedEventEnd: DOMHighResTimeStamp;\n    readonly domContentLoadedEventStart: DOMHighResTimeStamp;\n    readonly domInteractive: DOMHighResTimeStamp;\n    readonly loadEventEnd: DOMHighResTimeStamp;\n    readonly loadEventStart: DOMHighResTimeStamp;\n    readonly redirectCount: number;\n    readonly type: NavigationTimingType;\n    readonly unloadEventEnd: DOMHighResTimeStamp;\n    readonly unloadEventStart: DOMHighResTimeStamp;\n    toJSON(): any;\n}\n\ndeclare var PerformanceNavigationTiming: {\n    prototype: PerformanceNavigationTiming;\n    new(): PerformanceNavigationTiming;\n};\n\ninterface PerformanceObserver {\n    disconnect(): void;\n    observe(options?: PerformanceObserverInit): void;\n    takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n    prototype: PerformanceObserver;\n    new(callback: PerformanceObserverCallback): PerformanceObserver;\n    readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n    getEntries(): PerformanceEntryList;\n    getEntriesByName(name: string, type?: string): PerformanceEntryList;\n    getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n    prototype: PerformanceObserverEntryList;\n    new(): PerformanceObserverEntryList;\n};\n\ninterface PerformancePaintTiming extends PerformanceEntry {\n}\n\ndeclare var PerformancePaintTiming: {\n    prototype: PerformancePaintTiming;\n    new(): PerformancePaintTiming;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n    readonly connectEnd: DOMHighResTimeStamp;\n    readonly connectStart: DOMHighResTimeStamp;\n    readonly decodedBodySize: number;\n    readonly domainLookupEnd: DOMHighResTimeStamp;\n    readonly domainLookupStart: DOMHighResTimeStamp;\n    readonly encodedBodySize: number;\n    readonly fetchStart: DOMHighResTimeStamp;\n    readonly initiatorType: string;\n    readonly nextHopProtocol: string;\n    readonly redirectEnd: DOMHighResTimeStamp;\n    readonly redirectStart: DOMHighResTimeStamp;\n    readonly requestStart: DOMHighResTimeStamp;\n    readonly responseEnd: DOMHighResTimeStamp;\n    readonly responseStart: DOMHighResTimeStamp;\n    readonly secureConnectionStart: DOMHighResTimeStamp;\n    readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;\n    readonly transferSize: number;\n    readonly workerStart: DOMHighResTimeStamp;\n    toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n    prototype: PerformanceResourceTiming;\n    new(): PerformanceResourceTiming;\n};\n\ninterface PerformanceServerTiming {\n    readonly description: string;\n    readonly duration: DOMHighResTimeStamp;\n    readonly name: string;\n    toJSON(): any;\n}\n\ndeclare var PerformanceServerTiming: {\n    prototype: PerformanceServerTiming;\n    new(): PerformanceServerTiming;\n};\n\n/**\n * A legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing property.\n * @deprecated This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.\n */\ninterface PerformanceTiming {\n    /** @deprecated */\n    readonly connectEnd: number;\n    /** @deprecated */\n    readonly connectStart: number;\n    /** @deprecated */\n    readonly domComplete: number;\n    /** @deprecated */\n    readonly domContentLoadedEventEnd: number;\n    /** @deprecated */\n    readonly domContentLoadedEventStart: number;\n    /** @deprecated */\n    readonly domInteractive: number;\n    /** @deprecated */\n    readonly domLoading: number;\n    /** @deprecated */\n    readonly domainLookupEnd: number;\n    /** @deprecated */\n    readonly domainLookupStart: number;\n    /** @deprecated */\n    readonly fetchStart: number;\n    /** @deprecated */\n    readonly loadEventEnd: number;\n    /** @deprecated */\n    readonly loadEventStart: number;\n    /** @deprecated */\n    readonly navigationStart: number;\n    /** @deprecated */\n    readonly redirectEnd: number;\n    /** @deprecated */\n    readonly redirectStart: number;\n    /** @deprecated */\n    readonly requestStart: number;\n    /** @deprecated */\n    readonly responseEnd: number;\n    /** @deprecated */\n    readonly responseStart: number;\n    /** @deprecated */\n    readonly secureConnectionStart: number;\n    /** @deprecated */\n    readonly unloadEventEnd: number;\n    /** @deprecated */\n    readonly unloadEventStart: number;\n    /** @deprecated */\n    toJSON(): any;\n}\n\n/** @deprecated */\ndeclare var PerformanceTiming: {\n    prototype: PerformanceTiming;\n    new(): PerformanceTiming;\n};\n\n/** PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave(). */\ninterface PeriodicWave {\n}\n\ndeclare var PeriodicWave: {\n    prototype: PeriodicWave;\n    new(context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave;\n};\n\ninterface PermissionStatusEventMap {\n    \"change\": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n    readonly name: string;\n    onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n    readonly state: PermissionState;\n    addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n    prototype: PermissionStatus;\n    new(): PermissionStatus;\n};\n\ninterface Permissions {\n    query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n    prototype: Permissions;\n    new(): Permissions;\n};\n\ninterface PictureInPictureEvent extends Event {\n    readonly pictureInPictureWindow: PictureInPictureWindow;\n}\n\ndeclare var PictureInPictureEvent: {\n    prototype: PictureInPictureEvent;\n    new(type: string, eventInitDict: PictureInPictureEventInit): PictureInPictureEvent;\n};\n\ninterface PictureInPictureWindowEventMap {\n    \"resize\": Event;\n}\n\ninterface PictureInPictureWindow extends EventTarget {\n    readonly height: number;\n    onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null;\n    readonly width: number;\n    addEventListener<K extends keyof PictureInPictureWindowEventMap>(type: K, listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof PictureInPictureWindowEventMap>(type: K, listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PictureInPictureWindow: {\n    prototype: PictureInPictureWindow;\n    new(): PictureInPictureWindow;\n};\n\n/**\n * Provides information about a browser plugin.\n * @deprecated\n */\ninterface Plugin {\n    /**\n     * Returns the plugin's description.\n     * @deprecated\n     */\n    readonly description: string;\n    /**\n     * Returns the plugin library's filename, if applicable on the current platform.\n     * @deprecated\n     */\n    readonly filename: string;\n    /**\n     * Returns the number of MIME types, represented by MimeType objects, supported by the plugin.\n     * @deprecated\n     */\n    readonly length: number;\n    /**\n     * Returns the plugin's name.\n     * @deprecated\n     */\n    readonly name: string;\n    /**\n     * Returns the specified MimeType object.\n     * @deprecated\n     */\n    item(index: number): MimeType | null;\n    /** @deprecated */\n    namedItem(name: string): MimeType | null;\n    [index: number]: MimeType;\n}\n\n/** @deprecated */\ndeclare var Plugin: {\n    prototype: Plugin;\n    new(): Plugin;\n};\n\n/**\n * Used to store a list of Plugin objects describing the available plugins; it's returned by the window.navigator.plugins\\xA0property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem(\"name\") methods.\n * @deprecated\n */\ninterface PluginArray {\n    /** @deprecated */\n    readonly length: number;\n    /** @deprecated */\n    item(index: number): Plugin | null;\n    /** @deprecated */\n    namedItem(name: string): Plugin | null;\n    /** @deprecated */\n    refresh(): void;\n    [index: number]: Plugin;\n}\n\n/** @deprecated */\ndeclare var PluginArray: {\n    prototype: PluginArray;\n    new(): PluginArray;\n};\n\n/** The state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc. */\ninterface PointerEvent extends MouseEvent {\n    readonly height: number;\n    readonly isPrimary: boolean;\n    readonly pointerId: number;\n    readonly pointerType: string;\n    readonly pressure: number;\n    readonly tangentialPressure: number;\n    readonly tiltX: number;\n    readonly tiltY: number;\n    readonly twist: number;\n    readonly width: number;\n    /** Available only in secure contexts. */\n    getCoalescedEvents(): PointerEvent[];\n    getPredictedEvents(): PointerEvent[];\n}\n\ndeclare var PointerEvent: {\n    prototype: PointerEvent;\n    new(type: string, eventInitDict?: PointerEventInit): PointerEvent;\n};\n\n/** PopStateEvent is an event handler for the popstate event on the window. */\ninterface PopStateEvent extends Event {\n    /** Returns a copy of the information that was provided to pushState() or replaceState(). */\n    readonly state: any;\n}\n\ndeclare var PopStateEvent: {\n    prototype: PopStateEvent;\n    new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;\n};\n\n/** A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don't recognize them. */\ninterface ProcessingInstruction extends CharacterData, LinkStyle {\n    readonly ownerDocument: Document;\n    readonly target: string;\n}\n\ndeclare var ProcessingInstruction: {\n    prototype: ProcessingInstruction;\n    new(): ProcessingInstruction;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n    readonly lengthComputable: boolean;\n    readonly loaded: number;\n    readonly target: T | null;\n    readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n    prototype: ProgressEvent;\n    new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n    readonly promise: Promise<any>;\n    readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n    prototype: PromiseRejectionEvent;\n    new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/** Available only in secure contexts. */\ninterface PublicKeyCredential extends Credential {\n    readonly authenticatorAttachment: string | null;\n    readonly rawId: ArrayBuffer;\n    readonly response: AuthenticatorResponse;\n    getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n}\n\ndeclare var PublicKeyCredential: {\n    prototype: PublicKeyCredential;\n    new(): PublicKeyCredential;\n    isConditionalMediationAvailable(): Promise<boolean>;\n    isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;\n};\n\n/**\n * This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications.\n * Available only in secure contexts.\n */\ninterface PushManager {\n    getSubscription(): Promise<PushSubscription | null>;\n    permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;\n    subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n    prototype: PushManager;\n    new(): PushManager;\n    readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/**\n * This Push API interface provides a subcription's URL endpoint and allows unsubscription from a push service.\n * Available only in secure contexts.\n */\ninterface PushSubscription {\n    readonly endpoint: string;\n    readonly expirationTime: EpochTimeStamp | null;\n    readonly options: PushSubscriptionOptions;\n    getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n    toJSON(): PushSubscriptionJSON;\n    unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n    prototype: PushSubscription;\n    new(): PushSubscription;\n};\n\n/** Available only in secure contexts. */\ninterface PushSubscriptionOptions {\n    readonly applicationServerKey: ArrayBuffer | null;\n    readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n    prototype: PushSubscriptionOptions;\n    new(): PushSubscriptionOptions;\n};\n\ninterface RTCCertificate {\n    readonly expires: EpochTimeStamp;\n    getFingerprints(): RTCDtlsFingerprint[];\n}\n\ndeclare var RTCCertificate: {\n    prototype: RTCCertificate;\n    new(): RTCCertificate;\n};\n\ninterface RTCDTMFSenderEventMap {\n    \"tonechange\": RTCDTMFToneChangeEvent;\n}\n\ninterface RTCDTMFSender extends EventTarget {\n    readonly canInsertDTMF: boolean;\n    ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n    readonly toneBuffer: string;\n    insertDTMF(tones: string, duration?: number, interToneGap?: number): void;\n    addEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDTMFSender: {\n    prototype: RTCDTMFSender;\n    new(): RTCDTMFSender;\n};\n\n/** Events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event. */\ninterface RTCDTMFToneChangeEvent extends Event {\n    readonly tone: string;\n}\n\ndeclare var RTCDTMFToneChangeEvent: {\n    prototype: RTCDTMFToneChangeEvent;\n    new(type: string, eventInitDict?: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent;\n};\n\ninterface RTCDataChannelEventMap {\n    \"bufferedamountlow\": Event;\n    \"close\": Event;\n    \"closing\": Event;\n    \"error\": Event;\n    \"message\": MessageEvent;\n    \"open\": Event;\n}\n\ninterface RTCDataChannel extends EventTarget {\n    binaryType: BinaryType;\n    readonly bufferedAmount: number;\n    bufferedAmountLowThreshold: number;\n    readonly id: number | null;\n    readonly label: string;\n    readonly maxPacketLifeTime: number | null;\n    readonly maxRetransmits: number | null;\n    readonly negotiated: boolean;\n    onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;\n    onclose: ((this: RTCDataChannel, ev: Event) => any) | null;\n    onclosing: ((this: RTCDataChannel, ev: Event) => any) | null;\n    onerror: ((this: RTCDataChannel, ev: Event) => any) | null;\n    onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;\n    onopen: ((this: RTCDataChannel, ev: Event) => any) | null;\n    readonly ordered: boolean;\n    readonly protocol: string;\n    readonly readyState: RTCDataChannelState;\n    close(): void;\n    send(data: string): void;\n    send(data: Blob): void;\n    send(data: ArrayBuffer): void;\n    send(data: ArrayBufferView): void;\n    addEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDataChannel: {\n    prototype: RTCDataChannel;\n    new(): RTCDataChannel;\n};\n\ninterface RTCDataChannelEvent extends Event {\n    readonly channel: RTCDataChannel;\n}\n\ndeclare var RTCDataChannelEvent: {\n    prototype: RTCDataChannelEvent;\n    new(type: string, eventInitDict: RTCDataChannelEventInit): RTCDataChannelEvent;\n};\n\ninterface RTCDtlsTransportEventMap {\n    \"error\": Event;\n    \"statechange\": Event;\n}\n\ninterface RTCDtlsTransport extends EventTarget {\n    readonly iceTransport: RTCIceTransport;\n    onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n    onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n    readonly state: RTCDtlsTransportState;\n    getRemoteCertificates(): ArrayBuffer[];\n    addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDtlsTransport: {\n    prototype: RTCDtlsTransport;\n    new(): RTCDtlsTransport;\n};\n\ninterface RTCEncodedAudioFrame {\n    data: ArrayBuffer;\n    readonly timestamp: number;\n    getMetadata(): RTCEncodedAudioFrameMetadata;\n}\n\ndeclare var RTCEncodedAudioFrame: {\n    prototype: RTCEncodedAudioFrame;\n    new(): RTCEncodedAudioFrame;\n};\n\ninterface RTCEncodedVideoFrame {\n    data: ArrayBuffer;\n    readonly timestamp: number;\n    readonly type: RTCEncodedVideoFrameType;\n    getMetadata(): RTCEncodedVideoFrameMetadata;\n}\n\ndeclare var RTCEncodedVideoFrame: {\n    prototype: RTCEncodedVideoFrame;\n    new(): RTCEncodedVideoFrame;\n};\n\ninterface RTCError extends DOMException {\n    readonly errorDetail: RTCErrorDetailType;\n    readonly receivedAlert: number | null;\n    readonly sctpCauseCode: number | null;\n    readonly sdpLineNumber: number | null;\n    readonly sentAlert: number | null;\n}\n\ndeclare var RTCError: {\n    prototype: RTCError;\n    new(init: RTCErrorInit, message?: string): RTCError;\n};\n\ninterface RTCErrorEvent extends Event {\n    readonly error: RTCError;\n}\n\ndeclare var RTCErrorEvent: {\n    prototype: RTCErrorEvent;\n    new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent;\n};\n\n/** The RTCIceCandidate interface\\u2014part of the WebRTC API\\u2014represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection. */\ninterface RTCIceCandidate {\n    readonly address: string | null;\n    readonly candidate: string;\n    readonly component: RTCIceComponent | null;\n    readonly foundation: string | null;\n    readonly port: number | null;\n    readonly priority: number | null;\n    readonly protocol: RTCIceProtocol | null;\n    readonly relatedAddress: string | null;\n    readonly relatedPort: number | null;\n    readonly sdpMLineIndex: number | null;\n    readonly sdpMid: string | null;\n    readonly tcpType: RTCIceTcpCandidateType | null;\n    readonly type: RTCIceCandidateType | null;\n    readonly usernameFragment: string | null;\n    toJSON(): RTCIceCandidateInit;\n}\n\ndeclare var RTCIceCandidate: {\n    prototype: RTCIceCandidate;\n    new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;\n};\n\ninterface RTCIceTransportEventMap {\n    \"gatheringstatechange\": Event;\n    \"statechange\": Event;\n}\n\n/** Provides access to information about the ICE transport layer over which the data is being sent and received. */\ninterface RTCIceTransport extends EventTarget {\n    readonly gatheringState: RTCIceGathererState;\n    ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n    onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n    readonly state: RTCIceTransportState;\n    addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCIceTransport: {\n    prototype: RTCIceTransport;\n    new(): RTCIceTransport;\n};\n\ninterface RTCPeerConnectionEventMap {\n    \"connectionstatechange\": Event;\n    \"datachannel\": RTCDataChannelEvent;\n    \"icecandidate\": RTCPeerConnectionIceEvent;\n    \"icecandidateerror\": Event;\n    \"iceconnectionstatechange\": Event;\n    \"icegatheringstatechange\": Event;\n    \"negotiationneeded\": Event;\n    \"signalingstatechange\": Event;\n    \"track\": RTCTrackEvent;\n}\n\n/** A WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed. */\ninterface RTCPeerConnection extends EventTarget {\n    readonly canTrickleIceCandidates: boolean | null;\n    readonly connectionState: RTCPeerConnectionState;\n    readonly currentLocalDescription: RTCSessionDescription | null;\n    readonly currentRemoteDescription: RTCSessionDescription | null;\n    readonly iceConnectionState: RTCIceConnectionState;\n    readonly iceGatheringState: RTCIceGatheringState;\n    readonly localDescription: RTCSessionDescription | null;\n    onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n    ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;\n    onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;\n    onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null;\n    oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n    onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n    onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;\n    onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n    ontrack: ((this: RTCPeerConnection, ev: RTCTrackEvent) => any) | null;\n    readonly pendingLocalDescription: RTCSessionDescription | null;\n    readonly pendingRemoteDescription: RTCSessionDescription | null;\n    readonly remoteDescription: RTCSessionDescription | null;\n    readonly sctp: RTCSctpTransport | null;\n    readonly signalingState: RTCSignalingState;\n    addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;\n    /** @deprecated */\n    addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n    addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;\n    addTransceiver(trackOrKind: MediaStreamTrack | string, init?: RTCRtpTransceiverInit): RTCRtpTransceiver;\n    close(): void;\n    createAnswer(options?: RTCAnswerOptions): Promise<RTCSessionDescriptionInit>;\n    /** @deprecated */\n    createAnswer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n    createDataChannel(label: string, dataChannelDict?: RTCDataChannelInit): RTCDataChannel;\n    createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n    /** @deprecated */\n    createOffer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise<void>;\n    getConfiguration(): RTCConfiguration;\n    getReceivers(): RTCRtpReceiver[];\n    getSenders(): RTCRtpSender[];\n    getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>;\n    getTransceivers(): RTCRtpTransceiver[];\n    removeTrack(sender: RTCRtpSender): void;\n    restartIce(): void;\n    setConfiguration(configuration?: RTCConfiguration): void;\n    setLocalDescription(description?: RTCLocalSessionDescriptionInit): Promise<void>;\n    /** @deprecated */\n    setLocalDescription(description: RTCLocalSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n    setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>;\n    /** @deprecated */\n    setRemoteDescription(description: RTCSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n    addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCPeerConnection: {\n    prototype: RTCPeerConnection;\n    new(configuration?: RTCConfiguration): RTCPeerConnection;\n    generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;\n};\n\ninterface RTCPeerConnectionIceErrorEvent extends Event {\n    readonly address: string | null;\n    readonly errorCode: number;\n    readonly errorText: string;\n    readonly port: number | null;\n    readonly url: string;\n}\n\ndeclare var RTCPeerConnectionIceErrorEvent: {\n    prototype: RTCPeerConnectionIceErrorEvent;\n    new(type: string, eventInitDict: RTCPeerConnectionIceErrorEventInit): RTCPeerConnectionIceErrorEvent;\n};\n\n/** Events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection. Only one event is of this type: icecandidate. */\ninterface RTCPeerConnectionIceEvent extends Event {\n    readonly candidate: RTCIceCandidate | null;\n}\n\ndeclare var RTCPeerConnectionIceEvent: {\n    prototype: RTCPeerConnectionIceEvent;\n    new(type: string, eventInitDict?: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent;\n};\n\n/** This WebRTC API interface manages the reception and decoding of data for a\\xA0MediaStreamTrack on an\\xA0RTCPeerConnection. */\ninterface RTCRtpReceiver {\n    readonly track: MediaStreamTrack;\n    readonly transport: RTCDtlsTransport | null;\n    getContributingSources(): RTCRtpContributingSource[];\n    getParameters(): RTCRtpReceiveParameters;\n    getStats(): Promise<RTCStatsReport>;\n    getSynchronizationSources(): RTCRtpSynchronizationSource[];\n}\n\ndeclare var RTCRtpReceiver: {\n    prototype: RTCRtpReceiver;\n    new(): RTCRtpReceiver;\n    getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\n/** Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. */\ninterface RTCRtpSender {\n    readonly dtmf: RTCDTMFSender | null;\n    readonly track: MediaStreamTrack | null;\n    readonly transport: RTCDtlsTransport | null;\n    getParameters(): RTCRtpSendParameters;\n    getStats(): Promise<RTCStatsReport>;\n    replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;\n    setParameters(parameters: RTCRtpSendParameters): Promise<void>;\n    setStreams(...streams: MediaStream[]): void;\n}\n\ndeclare var RTCRtpSender: {\n    prototype: RTCRtpSender;\n    new(): RTCRtpSender;\n    getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\ninterface RTCRtpTransceiver {\n    readonly currentDirection: RTCRtpTransceiverDirection | null;\n    direction: RTCRtpTransceiverDirection;\n    readonly mid: string | null;\n    readonly receiver: RTCRtpReceiver;\n    readonly sender: RTCRtpSender;\n    setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;\n    stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n    prototype: RTCRtpTransceiver;\n    new(): RTCRtpTransceiver;\n};\n\ninterface RTCSctpTransportEventMap {\n    \"statechange\": Event;\n}\n\ninterface RTCSctpTransport extends EventTarget {\n    readonly maxChannels: number | null;\n    readonly maxMessageSize: number;\n    onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;\n    readonly state: RTCSctpTransportState;\n    readonly transport: RTCDtlsTransport;\n    addEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCSctpTransport: {\n    prototype: RTCSctpTransport;\n    new(): RTCSctpTransport;\n};\n\n/** One end of a connection\\u2014or potential connection\\u2014and how it's configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. */\ninterface RTCSessionDescription {\n    readonly sdp: string;\n    readonly type: RTCSdpType;\n    toJSON(): any;\n}\n\ndeclare var RTCSessionDescription: {\n    prototype: RTCSessionDescription;\n    new(descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription;\n};\n\ninterface RTCStatsReport {\n    forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void;\n}\n\ndeclare var RTCStatsReport: {\n    prototype: RTCStatsReport;\n    new(): RTCStatsReport;\n};\n\ninterface RTCTrackEvent extends Event {\n    readonly receiver: RTCRtpReceiver;\n    readonly streams: ReadonlyArray<MediaStream>;\n    readonly track: MediaStreamTrack;\n    readonly transceiver: RTCRtpTransceiver;\n}\n\ndeclare var RTCTrackEvent: {\n    prototype: RTCTrackEvent;\n    new(type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent;\n};\n\ninterface RadioNodeList extends NodeList {\n    value: string;\n}\n\ndeclare var RadioNodeList: {\n    prototype: RadioNodeList;\n    new(): RadioNodeList;\n};\n\n/** A fragment of a document that can contain nodes and parts of text nodes. */\ninterface Range extends AbstractRange {\n    /** Returns the node, furthest away from the document, that is an ancestor of both range's start node and end node. */\n    readonly commonAncestorContainer: Node;\n    cloneContents(): DocumentFragment;\n    cloneRange(): Range;\n    collapse(toStart?: boolean): void;\n    compareBoundaryPoints(how: number, sourceRange: Range): number;\n    /** Returns \\u22121 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range. */\n    comparePoint(node: Node, offset: number): number;\n    createContextualFragment(fragment: string): DocumentFragment;\n    deleteContents(): void;\n    detach(): void;\n    extractContents(): DocumentFragment;\n    getBoundingClientRect(): DOMRect;\n    getClientRects(): DOMRectList;\n    insertNode(node: Node): void;\n    /** Returns whether range intersects node. */\n    intersectsNode(node: Node): boolean;\n    isPointInRange(node: Node, offset: number): boolean;\n    selectNode(node: Node): void;\n    selectNodeContents(node: Node): void;\n    setEnd(node: Node, offset: number): void;\n    setEndAfter(node: Node): void;\n    setEndBefore(node: Node): void;\n    setStart(node: Node, offset: number): void;\n    setStartAfter(node: Node): void;\n    setStartBefore(node: Node): void;\n    surroundContents(newParent: Node): void;\n    toString(): string;\n    readonly START_TO_START: 0;\n    readonly START_TO_END: 1;\n    readonly END_TO_END: 2;\n    readonly END_TO_START: 3;\n}\n\ndeclare var Range: {\n    prototype: Range;\n    new(): Range;\n    readonly START_TO_START: 0;\n    readonly START_TO_END: 1;\n    readonly END_TO_END: 2;\n    readonly END_TO_START: 3;\n    toString(): string;\n};\n\ninterface ReadableByteStreamController {\n    readonly byobRequest: ReadableStreamBYOBRequest | null;\n    readonly desiredSize: number | null;\n    close(): void;\n    enqueue(chunk: ArrayBufferView): void;\n    error(e?: any): void;\n}\n\ndeclare var ReadableByteStreamController: {\n    prototype: ReadableByteStreamController;\n    new(): ReadableByteStreamController;\n};\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n    readonly locked: boolean;\n    cancel(reason?: any): Promise<void>;\n    getReader(options: { mode: \"byob\" }): ReadableStreamBYOBReader;\n    getReader(): ReadableStreamDefaultReader<R>;\n    getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;\n    pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;\n    pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;\n    tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n    prototype: ReadableStream;\n    new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;\n    new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n    new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader extends ReadableStreamGenericReader {\n    read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n    releaseLock(): void;\n}\n\ndeclare var ReadableStreamBYOBReader: {\n    prototype: ReadableStreamBYOBReader;\n    new(stream: ReadableStream): ReadableStreamBYOBReader;\n};\n\ninterface ReadableStreamBYOBRequest {\n    readonly view: ArrayBufferView | null;\n    respond(bytesWritten: number): void;\n    respondWithNewView(view: ArrayBufferView): void;\n}\n\ndeclare var ReadableStreamBYOBRequest: {\n    prototype: ReadableStreamBYOBRequest;\n    new(): ReadableStreamBYOBRequest;\n};\n\ninterface ReadableStreamDefaultController<R = any> {\n    readonly desiredSize: number | null;\n    close(): void;\n    enqueue(chunk?: R): void;\n    error(e?: any): void;\n}\n\ndeclare var ReadableStreamDefaultController: {\n    prototype: ReadableStreamDefaultController;\n    new(): ReadableStreamDefaultController;\n};\n\ninterface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {\n    read(): Promise<ReadableStreamReadResult<R>>;\n    releaseLock(): void;\n}\n\ndeclare var ReadableStreamDefaultReader: {\n    prototype: ReadableStreamDefaultReader;\n    new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;\n};\n\ninterface ReadableStreamGenericReader {\n    readonly closed: Promise<undefined>;\n    cancel(reason?: any): Promise<void>;\n}\n\ninterface RemotePlaybackEventMap {\n    \"connect\": Event;\n    \"connecting\": Event;\n    \"disconnect\": Event;\n}\n\ninterface RemotePlayback extends EventTarget {\n    onconnect: ((this: RemotePlayback, ev: Event) => any) | null;\n    onconnecting: ((this: RemotePlayback, ev: Event) => any) | null;\n    ondisconnect: ((this: RemotePlayback, ev: Event) => any) | null;\n    readonly state: RemotePlaybackState;\n    cancelWatchAvailability(id?: number): Promise<void>;\n    prompt(): Promise<void>;\n    watchAvailability(callback: RemotePlaybackAvailabilityCallback): Promise<number>;\n    addEventListener<K extends keyof RemotePlaybackEventMap>(type: K, listener: (this: RemotePlayback, ev: RemotePlaybackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof RemotePlaybackEventMap>(type: K, listener: (this: RemotePlayback, ev: RemotePlaybackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RemotePlayback: {\n    prototype: RemotePlayback;\n    new(): RemotePlayback;\n};\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n    /** Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching. */\n    readonly cache: RequestCache;\n    /** Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. */\n    readonly credentials: RequestCredentials;\n    /** Returns the kind of resource requested by request, e.g., \"document\" or \"script\". */\n    readonly destination: RequestDestination;\n    /** Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the \"Host\" header. */\n    readonly headers: Headers;\n    /** Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI] */\n    readonly integrity: string;\n    /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */\n    readonly keepalive: boolean;\n    /** Returns request's HTTP method, which is \"GET\" by default. */\n    readonly method: string;\n    /** Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs. */\n    readonly mode: RequestMode;\n    /** Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default. */\n    readonly redirect: RequestRedirect;\n    /** Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and \"about:client\" when defaulting to the global's default. This is used during fetching to determine the value of the \\`Referer\\` header of the request being made. */\n    readonly referrer: string;\n    /** Returns the referrer policy associated with request. This is used during fetching to compute the value of the request's referrer. */\n    readonly referrerPolicy: ReferrerPolicy;\n    /** Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler. */\n    readonly signal: AbortSignal;\n    /** Returns the URL of request as a string. */\n    readonly url: string;\n    clone(): Request;\n}\n\ndeclare var Request: {\n    prototype: Request;\n    new(input: RequestInfo | URL, init?: RequestInit): Request;\n};\n\ninterface ResizeObserver {\n    disconnect(): void;\n    observe(target: Element, options?: ResizeObserverOptions): void;\n    unobserve(target: Element): void;\n}\n\ndeclare var ResizeObserver: {\n    prototype: ResizeObserver;\n    new(callback: ResizeObserverCallback): ResizeObserver;\n};\n\ninterface ResizeObserverEntry {\n    readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;\n    readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;\n    readonly contentRect: DOMRectReadOnly;\n    readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;\n    readonly target: Element;\n}\n\ndeclare var ResizeObserverEntry: {\n    prototype: ResizeObserverEntry;\n    new(): ResizeObserverEntry;\n};\n\ninterface ResizeObserverSize {\n    readonly blockSize: number;\n    readonly inlineSize: number;\n}\n\ndeclare var ResizeObserverSize: {\n    prototype: ResizeObserverSize;\n    new(): ResizeObserverSize;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n    readonly headers: Headers;\n    readonly ok: boolean;\n    readonly redirected: boolean;\n    readonly status: number;\n    readonly statusText: string;\n    readonly type: ResponseType;\n    readonly url: string;\n    clone(): Response;\n}\n\ndeclare var Response: {\n    prototype: Response;\n    new(body?: BodyInit | null, init?: ResponseInit): Response;\n    error(): Response;\n    redirect(url: string | URL, status?: number): Response;\n};\n\n/** Provides access to the properties of <a> element, as well as methods to manipulate them. */\ninterface SVGAElement extends SVGGraphicsElement, SVGURIReference {\n    rel: string;\n    readonly relList: DOMTokenList;\n    readonly target: SVGAnimatedString;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAElement: {\n    prototype: SVGAElement;\n    new(): SVGAElement;\n};\n\n/** Used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only. */\ninterface SVGAngle {\n    readonly unitType: number;\n    value: number;\n    valueAsString: string;\n    valueInSpecifiedUnits: number;\n    convertToSpecifiedUnits(unitType: number): void;\n    newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n    readonly SVG_ANGLETYPE_UNKNOWN: 0;\n    readonly SVG_ANGLETYPE_UNSPECIFIED: 1;\n    readonly SVG_ANGLETYPE_DEG: 2;\n    readonly SVG_ANGLETYPE_RAD: 3;\n    readonly SVG_ANGLETYPE_GRAD: 4;\n}\n\ndeclare var SVGAngle: {\n    prototype: SVGAngle;\n    new(): SVGAngle;\n    readonly SVG_ANGLETYPE_UNKNOWN: 0;\n    readonly SVG_ANGLETYPE_UNSPECIFIED: 1;\n    readonly SVG_ANGLETYPE_DEG: 2;\n    readonly SVG_ANGLETYPE_RAD: 3;\n    readonly SVG_ANGLETYPE_GRAD: 4;\n};\n\ninterface SVGAnimateElement extends SVGAnimationElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateElement: {\n    prototype: SVGAnimateElement;\n    new(): SVGAnimateElement;\n};\n\ninterface SVGAnimateMotionElement extends SVGAnimationElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateMotionElement: {\n    prototype: SVGAnimateMotionElement;\n    new(): SVGAnimateMotionElement;\n};\n\ninterface SVGAnimateTransformElement extends SVGAnimationElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateTransformElement: {\n    prototype: SVGAnimateTransformElement;\n    new(): SVGAnimateTransformElement;\n};\n\n/** Used for attributes of basic type <angle> which can be animated. */\ninterface SVGAnimatedAngle {\n    readonly animVal: SVGAngle;\n    readonly baseVal: SVGAngle;\n}\n\ndeclare var SVGAnimatedAngle: {\n    prototype: SVGAnimatedAngle;\n    new(): SVGAnimatedAngle;\n};\n\n/** Used for attributes of type boolean which can be animated. */\ninterface SVGAnimatedBoolean {\n    readonly animVal: boolean;\n    baseVal: boolean;\n}\n\ndeclare var SVGAnimatedBoolean: {\n    prototype: SVGAnimatedBoolean;\n    new(): SVGAnimatedBoolean;\n};\n\n/** Used for attributes whose value must be a constant from a particular enumeration and which can be animated. */\ninterface SVGAnimatedEnumeration {\n    readonly animVal: number;\n    baseVal: number;\n}\n\ndeclare var SVGAnimatedEnumeration: {\n    prototype: SVGAnimatedEnumeration;\n    new(): SVGAnimatedEnumeration;\n};\n\n/** Used for attributes of basic type <integer> which can be animated. */\ninterface SVGAnimatedInteger {\n    readonly animVal: number;\n    baseVal: number;\n}\n\ndeclare var SVGAnimatedInteger: {\n    prototype: SVGAnimatedInteger;\n    new(): SVGAnimatedInteger;\n};\n\n/** Used for attributes of basic type <length> which can be animated. */\ninterface SVGAnimatedLength {\n    readonly animVal: SVGLength;\n    readonly baseVal: SVGLength;\n}\n\ndeclare var SVGAnimatedLength: {\n    prototype: SVGAnimatedLength;\n    new(): SVGAnimatedLength;\n};\n\n/** Used for attributes of type SVGLengthList which can be animated. */\ninterface SVGAnimatedLengthList {\n    readonly animVal: SVGLengthList;\n    readonly baseVal: SVGLengthList;\n}\n\ndeclare var SVGAnimatedLengthList: {\n    prototype: SVGAnimatedLengthList;\n    new(): SVGAnimatedLengthList;\n};\n\n/** Used for attributes of basic type <Number> which can be animated. */\ninterface SVGAnimatedNumber {\n    readonly animVal: number;\n    baseVal: number;\n}\n\ndeclare var SVGAnimatedNumber: {\n    prototype: SVGAnimatedNumber;\n    new(): SVGAnimatedNumber;\n};\n\n/** The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedNumberList {\n    readonly animVal: SVGNumberList;\n    readonly baseVal: SVGNumberList;\n}\n\ndeclare var SVGAnimatedNumberList: {\n    prototype: SVGAnimatedNumberList;\n    new(): SVGAnimatedNumberList;\n};\n\ninterface SVGAnimatedPoints {\n    readonly animatedPoints: SVGPointList;\n    readonly points: SVGPointList;\n}\n\n/** Used for attributes of type SVGPreserveAspectRatio which can be animated. */\ninterface SVGAnimatedPreserveAspectRatio {\n    readonly animVal: SVGPreserveAspectRatio;\n    readonly baseVal: SVGPreserveAspectRatio;\n}\n\ndeclare var SVGAnimatedPreserveAspectRatio: {\n    prototype: SVGAnimatedPreserveAspectRatio;\n    new(): SVGAnimatedPreserveAspectRatio;\n};\n\n/** Used for attributes of basic SVGRect which can be animated. */\ninterface SVGAnimatedRect {\n    readonly animVal: DOMRectReadOnly;\n    readonly baseVal: DOMRect;\n}\n\ndeclare var SVGAnimatedRect: {\n    prototype: SVGAnimatedRect;\n    new(): SVGAnimatedRect;\n};\n\n/** The SVGAnimatedString\\xA0interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared\\xA0inside this. */\ninterface SVGAnimatedString {\n    readonly animVal: string;\n    baseVal: string;\n}\n\ndeclare var SVGAnimatedString: {\n    prototype: SVGAnimatedString;\n    new(): SVGAnimatedString;\n};\n\n/** Used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedTransformList {\n    readonly animVal: SVGTransformList;\n    readonly baseVal: SVGTransformList;\n}\n\ndeclare var SVGAnimatedTransformList: {\n    prototype: SVGAnimatedTransformList;\n    new(): SVGAnimatedTransformList;\n};\n\ninterface SVGAnimationElement extends SVGElement, SVGTests {\n    readonly targetElement: SVGElement | null;\n    beginElement(): void;\n    beginElementAt(offset: number): void;\n    endElement(): void;\n    endElementAt(offset: number): void;\n    getCurrentTime(): number;\n    getSimpleDuration(): number;\n    getStartTime(): number;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimationElement: {\n    prototype: SVGAnimationElement;\n    new(): SVGAnimationElement;\n};\n\n/** An interface for the <circle> element. The circle element is defined by the cx and cy attributes that denote the coordinates of the centre of the circle. */\ninterface SVGCircleElement extends SVGGeometryElement {\n    readonly cx: SVGAnimatedLength;\n    readonly cy: SVGAnimatedLength;\n    readonly r: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGCircleElement: {\n    prototype: SVGCircleElement;\n    new(): SVGCircleElement;\n};\n\n/** Provides access to the properties of <clipPath> elements, as well as methods to manipulate them. */\ninterface SVGClipPathElement extends SVGElement {\n    readonly clipPathUnits: SVGAnimatedEnumeration;\n    readonly transform: SVGAnimatedTransformList;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGClipPathElement: {\n    prototype: SVGClipPathElement;\n    new(): SVGClipPathElement;\n};\n\n/** A base interface used by the component transfer function interfaces. */\ninterface SVGComponentTransferFunctionElement extends SVGElement {\n    readonly amplitude: SVGAnimatedNumber;\n    readonly exponent: SVGAnimatedNumber;\n    readonly intercept: SVGAnimatedNumber;\n    readonly offset: SVGAnimatedNumber;\n    readonly slope: SVGAnimatedNumber;\n    readonly tableValues: SVGAnimatedNumberList;\n    readonly type: SVGAnimatedEnumeration;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: 2;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: 3;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: 4;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: 5;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGComponentTransferFunctionElement: {\n    prototype: SVGComponentTransferFunctionElement;\n    new(): SVGComponentTransferFunctionElement;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: 2;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: 3;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: 4;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: 5;\n};\n\n/** Corresponds to the <defs> element. */\ninterface SVGDefsElement extends SVGGraphicsElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDefsElement: {\n    prototype: SVGDefsElement;\n    new(): SVGDefsElement;\n};\n\n/** Corresponds to the <desc> element. */\ninterface SVGDescElement extends SVGElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDescElement: {\n    prototype: SVGDescElement;\n    new(): SVGDescElement;\n};\n\ninterface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {\n}\n\n/** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */\ninterface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {\n    /** @deprecated */\n    readonly className: any;\n    readonly ownerSVGElement: SVGSVGElement | null;\n    readonly viewportElement: SVGElement | null;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGElement: {\n    prototype: SVGElement;\n    new(): SVGElement;\n};\n\n/** Provides access to the properties of <ellipse> elements. */\ninterface SVGEllipseElement extends SVGGeometryElement {\n    readonly cx: SVGAnimatedLength;\n    readonly cy: SVGAnimatedLength;\n    readonly rx: SVGAnimatedLength;\n    readonly ry: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGEllipseElement: {\n    prototype: SVGEllipseElement;\n    new(): SVGEllipseElement;\n};\n\n/** Corresponds to the <feBlend> element. */\ninterface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly in2: SVGAnimatedString;\n    readonly mode: SVGAnimatedEnumeration;\n    readonly SVG_FEBLEND_MODE_UNKNOWN: 0;\n    readonly SVG_FEBLEND_MODE_NORMAL: 1;\n    readonly SVG_FEBLEND_MODE_MULTIPLY: 2;\n    readonly SVG_FEBLEND_MODE_SCREEN: 3;\n    readonly SVG_FEBLEND_MODE_DARKEN: 4;\n    readonly SVG_FEBLEND_MODE_LIGHTEN: 5;\n    readonly SVG_FEBLEND_MODE_OVERLAY: 6;\n    readonly SVG_FEBLEND_MODE_COLOR_DODGE: 7;\n    readonly SVG_FEBLEND_MODE_COLOR_BURN: 8;\n    readonly SVG_FEBLEND_MODE_HARD_LIGHT: 9;\n    readonly SVG_FEBLEND_MODE_SOFT_LIGHT: 10;\n    readonly SVG_FEBLEND_MODE_DIFFERENCE: 11;\n    readonly SVG_FEBLEND_MODE_EXCLUSION: 12;\n    readonly SVG_FEBLEND_MODE_HUE: 13;\n    readonly SVG_FEBLEND_MODE_SATURATION: 14;\n    readonly SVG_FEBLEND_MODE_COLOR: 15;\n    readonly SVG_FEBLEND_MODE_LUMINOSITY: 16;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEBlendElement: {\n    prototype: SVGFEBlendElement;\n    new(): SVGFEBlendElement;\n    readonly SVG_FEBLEND_MODE_UNKNOWN: 0;\n    readonly SVG_FEBLEND_MODE_NORMAL: 1;\n    readonly SVG_FEBLEND_MODE_MULTIPLY: 2;\n    readonly SVG_FEBLEND_MODE_SCREEN: 3;\n    readonly SVG_FEBLEND_MODE_DARKEN: 4;\n    readonly SVG_FEBLEND_MODE_LIGHTEN: 5;\n    readonly SVG_FEBLEND_MODE_OVERLAY: 6;\n    readonly SVG_FEBLEND_MODE_COLOR_DODGE: 7;\n    readonly SVG_FEBLEND_MODE_COLOR_BURN: 8;\n    readonly SVG_FEBLEND_MODE_HARD_LIGHT: 9;\n    readonly SVG_FEBLEND_MODE_SOFT_LIGHT: 10;\n    readonly SVG_FEBLEND_MODE_DIFFERENCE: 11;\n    readonly SVG_FEBLEND_MODE_EXCLUSION: 12;\n    readonly SVG_FEBLEND_MODE_HUE: 13;\n    readonly SVG_FEBLEND_MODE_SATURATION: 14;\n    readonly SVG_FEBLEND_MODE_COLOR: 15;\n    readonly SVG_FEBLEND_MODE_LUMINOSITY: 16;\n};\n\n/** Corresponds to the <feColorMatrix> element. */\ninterface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly type: SVGAnimatedEnumeration;\n    readonly values: SVGAnimatedNumberList;\n    readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0;\n    readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;\n    readonly SVG_FECOLORMATRIX_TYPE_SATURATE: 2;\n    readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: 3;\n    readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEColorMatrixElement: {\n    prototype: SVGFEColorMatrixElement;\n    new(): SVGFEColorMatrixElement;\n    readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0;\n    readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;\n    readonly SVG_FECOLORMATRIX_TYPE_SATURATE: 2;\n    readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: 3;\n    readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4;\n};\n\n/** Corresponds to the <feComponentTransfer> element. */\ninterface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEComponentTransferElement: {\n    prototype: SVGFEComponentTransferElement;\n    new(): SVGFEComponentTransferElement;\n};\n\n/** Corresponds to the <feComposite> element. */\ninterface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly in2: SVGAnimatedString;\n    readonly k1: SVGAnimatedNumber;\n    readonly k2: SVGAnimatedNumber;\n    readonly k3: SVGAnimatedNumber;\n    readonly k4: SVGAnimatedNumber;\n    readonly operator: SVGAnimatedEnumeration;\n    readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: 0;\n    readonly SVG_FECOMPOSITE_OPERATOR_OVER: 1;\n    readonly SVG_FECOMPOSITE_OPERATOR_IN: 2;\n    readonly SVG_FECOMPOSITE_OPERATOR_OUT: 3;\n    readonly SVG_FECOMPOSITE_OPERATOR_ATOP: 4;\n    readonly SVG_FECOMPOSITE_OPERATOR_XOR: 5;\n    readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFECompositeElement: {\n    prototype: SVGFECompositeElement;\n    new(): SVGFECompositeElement;\n    readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: 0;\n    readonly SVG_FECOMPOSITE_OPERATOR_OVER: 1;\n    readonly SVG_FECOMPOSITE_OPERATOR_IN: 2;\n    readonly SVG_FECOMPOSITE_OPERATOR_OUT: 3;\n    readonly SVG_FECOMPOSITE_OPERATOR_ATOP: 4;\n    readonly SVG_FECOMPOSITE_OPERATOR_XOR: 5;\n    readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6;\n};\n\n/** Corresponds to the <feConvolveMatrix> element. */\ninterface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly bias: SVGAnimatedNumber;\n    readonly divisor: SVGAnimatedNumber;\n    readonly edgeMode: SVGAnimatedEnumeration;\n    readonly in1: SVGAnimatedString;\n    readonly kernelMatrix: SVGAnimatedNumberList;\n    readonly kernelUnitLengthX: SVGAnimatedNumber;\n    readonly kernelUnitLengthY: SVGAnimatedNumber;\n    readonly orderX: SVGAnimatedInteger;\n    readonly orderY: SVGAnimatedInteger;\n    readonly preserveAlpha: SVGAnimatedBoolean;\n    readonly targetX: SVGAnimatedInteger;\n    readonly targetY: SVGAnimatedInteger;\n    readonly SVG_EDGEMODE_UNKNOWN: 0;\n    readonly SVG_EDGEMODE_DUPLICATE: 1;\n    readonly SVG_EDGEMODE_WRAP: 2;\n    readonly SVG_EDGEMODE_NONE: 3;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEConvolveMatrixElement: {\n    prototype: SVGFEConvolveMatrixElement;\n    new(): SVGFEConvolveMatrixElement;\n    readonly SVG_EDGEMODE_UNKNOWN: 0;\n    readonly SVG_EDGEMODE_DUPLICATE: 1;\n    readonly SVG_EDGEMODE_WRAP: 2;\n    readonly SVG_EDGEMODE_NONE: 3;\n};\n\n/** Corresponds to the <feDiffuseLighting> element. */\ninterface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly diffuseConstant: SVGAnimatedNumber;\n    readonly in1: SVGAnimatedString;\n    readonly kernelUnitLengthX: SVGAnimatedNumber;\n    readonly kernelUnitLengthY: SVGAnimatedNumber;\n    readonly surfaceScale: SVGAnimatedNumber;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDiffuseLightingElement: {\n    prototype: SVGFEDiffuseLightingElement;\n    new(): SVGFEDiffuseLightingElement;\n};\n\n/** Corresponds to the <feDisplacementMap> element. */\ninterface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly in2: SVGAnimatedString;\n    readonly scale: SVGAnimatedNumber;\n    readonly xChannelSelector: SVGAnimatedEnumeration;\n    readonly yChannelSelector: SVGAnimatedEnumeration;\n    readonly SVG_CHANNEL_UNKNOWN: 0;\n    readonly SVG_CHANNEL_R: 1;\n    readonly SVG_CHANNEL_G: 2;\n    readonly SVG_CHANNEL_B: 3;\n    readonly SVG_CHANNEL_A: 4;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDisplacementMapElement: {\n    prototype: SVGFEDisplacementMapElement;\n    new(): SVGFEDisplacementMapElement;\n    readonly SVG_CHANNEL_UNKNOWN: 0;\n    readonly SVG_CHANNEL_R: 1;\n    readonly SVG_CHANNEL_G: 2;\n    readonly SVG_CHANNEL_B: 3;\n    readonly SVG_CHANNEL_A: 4;\n};\n\n/** Corresponds to the <feDistantLight> element. */\ninterface SVGFEDistantLightElement extends SVGElement {\n    readonly azimuth: SVGAnimatedNumber;\n    readonly elevation: SVGAnimatedNumber;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDistantLightElement: {\n    prototype: SVGFEDistantLightElement;\n    new(): SVGFEDistantLightElement;\n};\n\ninterface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly dx: SVGAnimatedNumber;\n    readonly dy: SVGAnimatedNumber;\n    readonly in1: SVGAnimatedString;\n    readonly stdDeviationX: SVGAnimatedNumber;\n    readonly stdDeviationY: SVGAnimatedNumber;\n    setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDropShadowElement: {\n    prototype: SVGFEDropShadowElement;\n    new(): SVGFEDropShadowElement;\n};\n\n/** Corresponds to the <feFlood> element. */\ninterface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFloodElement: {\n    prototype: SVGFEFloodElement;\n    new(): SVGFEFloodElement;\n};\n\n/** Corresponds to the <feFuncA> element. */\ninterface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncAElement: {\n    prototype: SVGFEFuncAElement;\n    new(): SVGFEFuncAElement;\n};\n\n/** Corresponds to the <feFuncB> element. */\ninterface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncBElement: {\n    prototype: SVGFEFuncBElement;\n    new(): SVGFEFuncBElement;\n};\n\n/** Corresponds to the <feFuncG> element. */\ninterface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncGElement: {\n    prototype: SVGFEFuncGElement;\n    new(): SVGFEFuncGElement;\n};\n\n/** Corresponds to the <feFuncR> element. */\ninterface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncRElement: {\n    prototype: SVGFEFuncRElement;\n    new(): SVGFEFuncRElement;\n};\n\n/** Corresponds to the <feGaussianBlur> element. */\ninterface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly stdDeviationX: SVGAnimatedNumber;\n    readonly stdDeviationY: SVGAnimatedNumber;\n    setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEGaussianBlurElement: {\n    prototype: SVGFEGaussianBlurElement;\n    new(): SVGFEGaussianBlurElement;\n};\n\n/** Corresponds to the <feImage> element. */\ninterface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference {\n    readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEImageElement: {\n    prototype: SVGFEImageElement;\n    new(): SVGFEImageElement;\n};\n\n/** Corresponds to the <feMerge> element. */\ninterface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeElement: {\n    prototype: SVGFEMergeElement;\n    new(): SVGFEMergeElement;\n};\n\n/** Corresponds to the <feMergeNode> element. */\ninterface SVGFEMergeNodeElement extends SVGElement {\n    readonly in1: SVGAnimatedString;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeNodeElement: {\n    prototype: SVGFEMergeNodeElement;\n    new(): SVGFEMergeNodeElement;\n};\n\n/** Corresponds to the <feMorphology> element. */\ninterface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly operator: SVGAnimatedEnumeration;\n    readonly radiusX: SVGAnimatedNumber;\n    readonly radiusY: SVGAnimatedNumber;\n    readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0;\n    readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;\n    readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMorphologyElement: {\n    prototype: SVGFEMorphologyElement;\n    new(): SVGFEMorphologyElement;\n    readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0;\n    readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;\n    readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2;\n};\n\n/** Corresponds to the <feOffset> element. */\ninterface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly dx: SVGAnimatedNumber;\n    readonly dy: SVGAnimatedNumber;\n    readonly in1: SVGAnimatedString;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEOffsetElement: {\n    prototype: SVGFEOffsetElement;\n    new(): SVGFEOffsetElement;\n};\n\n/** Corresponds to the <fePointLight> element. */\ninterface SVGFEPointLightElement extends SVGElement {\n    readonly x: SVGAnimatedNumber;\n    readonly y: SVGAnimatedNumber;\n    readonly z: SVGAnimatedNumber;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEPointLightElement: {\n    prototype: SVGFEPointLightElement;\n    new(): SVGFEPointLightElement;\n};\n\n/** Corresponds to the <feSpecularLighting> element. */\ninterface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    readonly kernelUnitLengthX: SVGAnimatedNumber;\n    readonly kernelUnitLengthY: SVGAnimatedNumber;\n    readonly specularConstant: SVGAnimatedNumber;\n    readonly specularExponent: SVGAnimatedNumber;\n    readonly surfaceScale: SVGAnimatedNumber;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpecularLightingElement: {\n    prototype: SVGFESpecularLightingElement;\n    new(): SVGFESpecularLightingElement;\n};\n\n/** Corresponds to the <feSpotLight> element. */\ninterface SVGFESpotLightElement extends SVGElement {\n    readonly limitingConeAngle: SVGAnimatedNumber;\n    readonly pointsAtX: SVGAnimatedNumber;\n    readonly pointsAtY: SVGAnimatedNumber;\n    readonly pointsAtZ: SVGAnimatedNumber;\n    readonly specularExponent: SVGAnimatedNumber;\n    readonly x: SVGAnimatedNumber;\n    readonly y: SVGAnimatedNumber;\n    readonly z: SVGAnimatedNumber;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpotLightElement: {\n    prototype: SVGFESpotLightElement;\n    new(): SVGFESpotLightElement;\n};\n\n/** Corresponds to the <feTile> element. */\ninterface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly in1: SVGAnimatedString;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETileElement: {\n    prototype: SVGFETileElement;\n    new(): SVGFETileElement;\n};\n\n/** Corresponds to the <feTurbulence> element. */\ninterface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n    readonly baseFrequencyX: SVGAnimatedNumber;\n    readonly baseFrequencyY: SVGAnimatedNumber;\n    readonly numOctaves: SVGAnimatedInteger;\n    readonly seed: SVGAnimatedNumber;\n    readonly stitchTiles: SVGAnimatedEnumeration;\n    readonly type: SVGAnimatedEnumeration;\n    readonly SVG_TURBULENCE_TYPE_UNKNOWN: 0;\n    readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: 1;\n    readonly SVG_TURBULENCE_TYPE_TURBULENCE: 2;\n    readonly SVG_STITCHTYPE_UNKNOWN: 0;\n    readonly SVG_STITCHTYPE_STITCH: 1;\n    readonly SVG_STITCHTYPE_NOSTITCH: 2;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETurbulenceElement: {\n    prototype: SVGFETurbulenceElement;\n    new(): SVGFETurbulenceElement;\n    readonly SVG_TURBULENCE_TYPE_UNKNOWN: 0;\n    readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: 1;\n    readonly SVG_TURBULENCE_TYPE_TURBULENCE: 2;\n    readonly SVG_STITCHTYPE_UNKNOWN: 0;\n    readonly SVG_STITCHTYPE_STITCH: 1;\n    readonly SVG_STITCHTYPE_NOSTITCH: 2;\n};\n\n/** Provides access to the properties of <filter> elements, as well as methods to manipulate them. */\ninterface SVGFilterElement extends SVGElement, SVGURIReference {\n    readonly filterUnits: SVGAnimatedEnumeration;\n    readonly height: SVGAnimatedLength;\n    readonly primitiveUnits: SVGAnimatedEnumeration;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFilterElement: {\n    prototype: SVGFilterElement;\n    new(): SVGFilterElement;\n};\n\ninterface SVGFilterPrimitiveStandardAttributes {\n    readonly height: SVGAnimatedLength;\n    readonly result: SVGAnimatedString;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n}\n\ninterface SVGFitToViewBox {\n    readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n    readonly viewBox: SVGAnimatedRect;\n}\n\n/** Provides access to the properties of <foreignObject> elements, as well as methods to manipulate them. */\ninterface SVGForeignObjectElement extends SVGGraphicsElement {\n    readonly height: SVGAnimatedLength;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGForeignObjectElement: {\n    prototype: SVGForeignObjectElement;\n    new(): SVGForeignObjectElement;\n};\n\n/** Corresponds to the <g> element. */\ninterface SVGGElement extends SVGGraphicsElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGElement: {\n    prototype: SVGGElement;\n    new(): SVGGElement;\n};\n\ninterface SVGGeometryElement extends SVGGraphicsElement {\n    readonly pathLength: SVGAnimatedNumber;\n    getPointAtLength(distance: number): DOMPoint;\n    getTotalLength(): number;\n    isPointInFill(point?: DOMPointInit): boolean;\n    isPointInStroke(point?: DOMPointInit): boolean;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGeometryElement: {\n    prototype: SVGGeometryElement;\n    new(): SVGGeometryElement;\n};\n\n/** The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement. */\ninterface SVGGradientElement extends SVGElement, SVGURIReference {\n    readonly gradientTransform: SVGAnimatedTransformList;\n    readonly gradientUnits: SVGAnimatedEnumeration;\n    readonly spreadMethod: SVGAnimatedEnumeration;\n    readonly SVG_SPREADMETHOD_UNKNOWN: 0;\n    readonly SVG_SPREADMETHOD_PAD: 1;\n    readonly SVG_SPREADMETHOD_REFLECT: 2;\n    readonly SVG_SPREADMETHOD_REPEAT: 3;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGradientElement: {\n    prototype: SVGGradientElement;\n    new(): SVGGradientElement;\n    readonly SVG_SPREADMETHOD_UNKNOWN: 0;\n    readonly SVG_SPREADMETHOD_PAD: 1;\n    readonly SVG_SPREADMETHOD_REFLECT: 2;\n    readonly SVG_SPREADMETHOD_REPEAT: 3;\n};\n\n/** SVG elements whose primary purpose is to directly render graphics into a group. */\ninterface SVGGraphicsElement extends SVGElement, SVGTests {\n    readonly transform: SVGAnimatedTransformList;\n    getBBox(options?: SVGBoundingBoxOptions): DOMRect;\n    getCTM(): DOMMatrix | null;\n    getScreenCTM(): DOMMatrix | null;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGraphicsElement: {\n    prototype: SVGGraphicsElement;\n    new(): SVGGraphicsElement;\n};\n\n/** Corresponds to the <image> element. */\ninterface SVGImageElement extends SVGGraphicsElement, SVGURIReference {\n    readonly height: SVGAnimatedLength;\n    readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGImageElement: {\n    prototype: SVGImageElement;\n    new(): SVGImageElement;\n};\n\n/** Correspond to the <length> basic data type. */\ninterface SVGLength {\n    readonly unitType: number;\n    value: number;\n    valueAsString: string;\n    valueInSpecifiedUnits: number;\n    convertToSpecifiedUnits(unitType: number): void;\n    newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n    readonly SVG_LENGTHTYPE_UNKNOWN: 0;\n    readonly SVG_LENGTHTYPE_NUMBER: 1;\n    readonly SVG_LENGTHTYPE_PERCENTAGE: 2;\n    readonly SVG_LENGTHTYPE_EMS: 3;\n    readonly SVG_LENGTHTYPE_EXS: 4;\n    readonly SVG_LENGTHTYPE_PX: 5;\n    readonly SVG_LENGTHTYPE_CM: 6;\n    readonly SVG_LENGTHTYPE_MM: 7;\n    readonly SVG_LENGTHTYPE_IN: 8;\n    readonly SVG_LENGTHTYPE_PT: 9;\n    readonly SVG_LENGTHTYPE_PC: 10;\n}\n\ndeclare var SVGLength: {\n    prototype: SVGLength;\n    new(): SVGLength;\n    readonly SVG_LENGTHTYPE_UNKNOWN: 0;\n    readonly SVG_LENGTHTYPE_NUMBER: 1;\n    readonly SVG_LENGTHTYPE_PERCENTAGE: 2;\n    readonly SVG_LENGTHTYPE_EMS: 3;\n    readonly SVG_LENGTHTYPE_EXS: 4;\n    readonly SVG_LENGTHTYPE_PX: 5;\n    readonly SVG_LENGTHTYPE_CM: 6;\n    readonly SVG_LENGTHTYPE_MM: 7;\n    readonly SVG_LENGTHTYPE_IN: 8;\n    readonly SVG_LENGTHTYPE_PT: 9;\n    readonly SVG_LENGTHTYPE_PC: 10;\n};\n\n/** The SVGLengthList defines a list of SVGLength objects. */\ninterface SVGLengthList {\n    readonly length: number;\n    readonly numberOfItems: number;\n    appendItem(newItem: SVGLength): SVGLength;\n    clear(): void;\n    getItem(index: number): SVGLength;\n    initialize(newItem: SVGLength): SVGLength;\n    insertItemBefore(newItem: SVGLength, index: number): SVGLength;\n    removeItem(index: number): SVGLength;\n    replaceItem(newItem: SVGLength, index: number): SVGLength;\n    [index: number]: SVGLength;\n}\n\ndeclare var SVGLengthList: {\n    prototype: SVGLengthList;\n    new(): SVGLengthList;\n};\n\n/** Provides access to the properties of <line> elements, as well as methods to manipulate them. */\ninterface SVGLineElement extends SVGGeometryElement {\n    readonly x1: SVGAnimatedLength;\n    readonly x2: SVGAnimatedLength;\n    readonly y1: SVGAnimatedLength;\n    readonly y2: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLineElement: {\n    prototype: SVGLineElement;\n    new(): SVGLineElement;\n};\n\n/** Corresponds to the <linearGradient> element. */\ninterface SVGLinearGradientElement extends SVGGradientElement {\n    readonly x1: SVGAnimatedLength;\n    readonly x2: SVGAnimatedLength;\n    readonly y1: SVGAnimatedLength;\n    readonly y2: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLinearGradientElement: {\n    prototype: SVGLinearGradientElement;\n    new(): SVGLinearGradientElement;\n};\n\ninterface SVGMPathElement extends SVGElement, SVGURIReference {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMPathElement: {\n    prototype: SVGMPathElement;\n    new(): SVGMPathElement;\n};\n\ninterface SVGMarkerElement extends SVGElement, SVGFitToViewBox {\n    readonly markerHeight: SVGAnimatedLength;\n    readonly markerUnits: SVGAnimatedEnumeration;\n    readonly markerWidth: SVGAnimatedLength;\n    readonly orientAngle: SVGAnimatedAngle;\n    readonly orientType: SVGAnimatedEnumeration;\n    readonly refX: SVGAnimatedLength;\n    readonly refY: SVGAnimatedLength;\n    setOrientToAngle(angle: SVGAngle): void;\n    setOrientToAuto(): void;\n    readonly SVG_MARKERUNITS_UNKNOWN: 0;\n    readonly SVG_MARKERUNITS_USERSPACEONUSE: 1;\n    readonly SVG_MARKERUNITS_STROKEWIDTH: 2;\n    readonly SVG_MARKER_ORIENT_UNKNOWN: 0;\n    readonly SVG_MARKER_ORIENT_AUTO: 1;\n    readonly SVG_MARKER_ORIENT_ANGLE: 2;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMarkerElement: {\n    prototype: SVGMarkerElement;\n    new(): SVGMarkerElement;\n    readonly SVG_MARKERUNITS_UNKNOWN: 0;\n    readonly SVG_MARKERUNITS_USERSPACEONUSE: 1;\n    readonly SVG_MARKERUNITS_STROKEWIDTH: 2;\n    readonly SVG_MARKER_ORIENT_UNKNOWN: 0;\n    readonly SVG_MARKER_ORIENT_AUTO: 1;\n    readonly SVG_MARKER_ORIENT_ANGLE: 2;\n};\n\n/** Provides access to the properties of <mask> elements, as well as methods to manipulate them. */\ninterface SVGMaskElement extends SVGElement {\n    readonly height: SVGAnimatedLength;\n    readonly maskContentUnits: SVGAnimatedEnumeration;\n    readonly maskUnits: SVGAnimatedEnumeration;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMaskElement: {\n    prototype: SVGMaskElement;\n    new(): SVGMaskElement;\n};\n\n/** Corresponds to the <metadata> element. */\ninterface SVGMetadataElement extends SVGElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMetadataElement: {\n    prototype: SVGMetadataElement;\n    new(): SVGMetadataElement;\n};\n\n/** Corresponds to the <number> basic data type. */\ninterface SVGNumber {\n    value: number;\n}\n\ndeclare var SVGNumber: {\n    prototype: SVGNumber;\n    new(): SVGNumber;\n};\n\n/** The SVGNumberList defines a list of SVGNumber objects. */\ninterface SVGNumberList {\n    readonly length: number;\n    readonly numberOfItems: number;\n    appendItem(newItem: SVGNumber): SVGNumber;\n    clear(): void;\n    getItem(index: number): SVGNumber;\n    initialize(newItem: SVGNumber): SVGNumber;\n    insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;\n    removeItem(index: number): SVGNumber;\n    replaceItem(newItem: SVGNumber, index: number): SVGNumber;\n    [index: number]: SVGNumber;\n}\n\ndeclare var SVGNumberList: {\n    prototype: SVGNumberList;\n    new(): SVGNumberList;\n};\n\n/** Corresponds to the <path> element. */\ninterface SVGPathElement extends SVGGeometryElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPathElement: {\n    prototype: SVGPathElement;\n    new(): SVGPathElement;\n};\n\n/** Corresponds to the <pattern> element. */\ninterface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {\n    readonly height: SVGAnimatedLength;\n    readonly patternContentUnits: SVGAnimatedEnumeration;\n    readonly patternTransform: SVGAnimatedTransformList;\n    readonly patternUnits: SVGAnimatedEnumeration;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPatternElement: {\n    prototype: SVGPatternElement;\n    new(): SVGPatternElement;\n};\n\ninterface SVGPointList {\n    readonly length: number;\n    readonly numberOfItems: number;\n    appendItem(newItem: DOMPoint): DOMPoint;\n    clear(): void;\n    getItem(index: number): DOMPoint;\n    initialize(newItem: DOMPoint): DOMPoint;\n    insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;\n    removeItem(index: number): DOMPoint;\n    replaceItem(newItem: DOMPoint, index: number): DOMPoint;\n    [index: number]: DOMPoint;\n}\n\ndeclare var SVGPointList: {\n    prototype: SVGPointList;\n    new(): SVGPointList;\n};\n\n/** Provides access to the properties of <polygon> elements, as well as methods to manipulate them. */\ninterface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolygonElement: {\n    prototype: SVGPolygonElement;\n    new(): SVGPolygonElement;\n};\n\n/** Provides access to the properties of <polyline> elements, as well as methods to manipulate them. */\ninterface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolylineElement: {\n    prototype: SVGPolylineElement;\n    new(): SVGPolylineElement;\n};\n\n/** Corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements. */\ninterface SVGPreserveAspectRatio {\n    align: number;\n    meetOrSlice: number;\n    readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0;\n    readonly SVG_PRESERVEASPECTRATIO_NONE: 1;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: 2;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMID: 5;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: 6;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: 7;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: 8;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10;\n    readonly SVG_MEETORSLICE_UNKNOWN: 0;\n    readonly SVG_MEETORSLICE_MEET: 1;\n    readonly SVG_MEETORSLICE_SLICE: 2;\n}\n\ndeclare var SVGPreserveAspectRatio: {\n    prototype: SVGPreserveAspectRatio;\n    new(): SVGPreserveAspectRatio;\n    readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0;\n    readonly SVG_PRESERVEASPECTRATIO_NONE: 1;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: 2;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMID: 5;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: 6;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: 7;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: 8;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10;\n    readonly SVG_MEETORSLICE_UNKNOWN: 0;\n    readonly SVG_MEETORSLICE_MEET: 1;\n    readonly SVG_MEETORSLICE_SLICE: 2;\n};\n\n/** Corresponds to the <RadialGradient> element. */\ninterface SVGRadialGradientElement extends SVGGradientElement {\n    readonly cx: SVGAnimatedLength;\n    readonly cy: SVGAnimatedLength;\n    readonly fr: SVGAnimatedLength;\n    readonly fx: SVGAnimatedLength;\n    readonly fy: SVGAnimatedLength;\n    readonly r: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRadialGradientElement: {\n    prototype: SVGRadialGradientElement;\n    new(): SVGRadialGradientElement;\n};\n\n/** Provides access to the properties of <rect> elements, as well as methods to manipulate them. */\ninterface SVGRectElement extends SVGGeometryElement {\n    readonly height: SVGAnimatedLength;\n    readonly rx: SVGAnimatedLength;\n    readonly ry: SVGAnimatedLength;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRectElement: {\n    prototype: SVGRectElement;\n    new(): SVGRectElement;\n};\n\ninterface SVGSVGElementEventMap extends SVGElementEventMap, WindowEventHandlersEventMap {\n}\n\n/** Provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices. */\ninterface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEventHandlers {\n    currentScale: number;\n    readonly currentTranslate: DOMPointReadOnly;\n    readonly height: SVGAnimatedLength;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    animationsPaused(): boolean;\n    checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): boolean;\n    checkIntersection(element: SVGElement, rect: DOMRectReadOnly): boolean;\n    createSVGAngle(): SVGAngle;\n    createSVGLength(): SVGLength;\n    createSVGMatrix(): DOMMatrix;\n    createSVGNumber(): SVGNumber;\n    createSVGPoint(): DOMPoint;\n    createSVGRect(): DOMRect;\n    createSVGTransform(): SVGTransform;\n    createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;\n    deselectAll(): void;\n    /** @deprecated */\n    forceRedraw(): void;\n    getCurrentTime(): number;\n    getElementById(elementId: string): Element;\n    getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n    getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n    pauseAnimations(): void;\n    setCurrentTime(seconds: number): void;\n    /** @deprecated */\n    suspendRedraw(maxWaitMilliseconds: number): number;\n    unpauseAnimations(): void;\n    /** @deprecated */\n    unsuspendRedraw(suspendHandleID: number): void;\n    /** @deprecated */\n    unsuspendRedrawAll(): void;\n    addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSVGElement: {\n    prototype: SVGSVGElement;\n    new(): SVGSVGElement;\n};\n\n/** Corresponds to the SVG <script> element. */\ninterface SVGScriptElement extends SVGElement, SVGURIReference {\n    type: string;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGScriptElement: {\n    prototype: SVGScriptElement;\n    new(): SVGScriptElement;\n};\n\ninterface SVGSetElement extends SVGAnimationElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSetElement: {\n    prototype: SVGSetElement;\n    new(): SVGSetElement;\n};\n\n/** Corresponds to the <stop> element. */\ninterface SVGStopElement extends SVGElement {\n    readonly offset: SVGAnimatedNumber;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStopElement: {\n    prototype: SVGStopElement;\n    new(): SVGStopElement;\n};\n\n/** The SVGStringList defines a list of DOMString objects. */\ninterface SVGStringList {\n    readonly length: number;\n    readonly numberOfItems: number;\n    appendItem(newItem: string): string;\n    clear(): void;\n    getItem(index: number): string;\n    initialize(newItem: string): string;\n    insertItemBefore(newItem: string, index: number): string;\n    removeItem(index: number): string;\n    replaceItem(newItem: string, index: number): string;\n    [index: number]: string;\n}\n\ndeclare var SVGStringList: {\n    prototype: SVGStringList;\n    new(): SVGStringList;\n};\n\n/** Corresponds to the SVG <style> element. */\ninterface SVGStyleElement extends SVGElement, LinkStyle {\n    disabled: boolean;\n    media: string;\n    title: string;\n    /** @deprecated */\n    type: string;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStyleElement: {\n    prototype: SVGStyleElement;\n    new(): SVGStyleElement;\n};\n\n/** Corresponds to the <switch> element. */\ninterface SVGSwitchElement extends SVGGraphicsElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSwitchElement: {\n    prototype: SVGSwitchElement;\n    new(): SVGSwitchElement;\n};\n\n/** Corresponds to the <symbol> element. */\ninterface SVGSymbolElement extends SVGElement, SVGFitToViewBox {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSymbolElement: {\n    prototype: SVGSymbolElement;\n    new(): SVGSymbolElement;\n};\n\n/** A <tspan> element. */\ninterface SVGTSpanElement extends SVGTextPositioningElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTSpanElement: {\n    prototype: SVGTSpanElement;\n    new(): SVGTSpanElement;\n};\n\ninterface SVGTests {\n    readonly requiredExtensions: SVGStringList;\n    readonly systemLanguage: SVGStringList;\n}\n\n/** Implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement. */\ninterface SVGTextContentElement extends SVGGraphicsElement {\n    readonly lengthAdjust: SVGAnimatedEnumeration;\n    readonly textLength: SVGAnimatedLength;\n    getCharNumAtPosition(point?: DOMPointInit): number;\n    getComputedTextLength(): number;\n    getEndPositionOfChar(charnum: number): DOMPoint;\n    getExtentOfChar(charnum: number): DOMRect;\n    getNumberOfChars(): number;\n    getRotationOfChar(charnum: number): number;\n    getStartPositionOfChar(charnum: number): DOMPoint;\n    getSubStringLength(charnum: number, nchars: number): number;\n    /** @deprecated */\n    selectSubString(charnum: number, nchars: number): void;\n    readonly LENGTHADJUST_UNKNOWN: 0;\n    readonly LENGTHADJUST_SPACING: 1;\n    readonly LENGTHADJUST_SPACINGANDGLYPHS: 2;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextContentElement: {\n    prototype: SVGTextContentElement;\n    new(): SVGTextContentElement;\n    readonly LENGTHADJUST_UNKNOWN: 0;\n    readonly LENGTHADJUST_SPACING: 1;\n    readonly LENGTHADJUST_SPACINGANDGLYPHS: 2;\n};\n\n/** Corresponds to the <text> elements. */\ninterface SVGTextElement extends SVGTextPositioningElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextElement: {\n    prototype: SVGTextElement;\n    new(): SVGTextElement;\n};\n\n/** Corresponds to the <textPath> element. */\ninterface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {\n    readonly method: SVGAnimatedEnumeration;\n    readonly spacing: SVGAnimatedEnumeration;\n    readonly startOffset: SVGAnimatedLength;\n    readonly TEXTPATH_METHODTYPE_UNKNOWN: 0;\n    readonly TEXTPATH_METHODTYPE_ALIGN: 1;\n    readonly TEXTPATH_METHODTYPE_STRETCH: 2;\n    readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;\n    readonly TEXTPATH_SPACINGTYPE_AUTO: 1;\n    readonly TEXTPATH_SPACINGTYPE_EXACT: 2;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPathElement: {\n    prototype: SVGTextPathElement;\n    new(): SVGTextPathElement;\n    readonly TEXTPATH_METHODTYPE_UNKNOWN: 0;\n    readonly TEXTPATH_METHODTYPE_ALIGN: 1;\n    readonly TEXTPATH_METHODTYPE_STRETCH: 2;\n    readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;\n    readonly TEXTPATH_SPACINGTYPE_AUTO: 1;\n    readonly TEXTPATH_SPACINGTYPE_EXACT: 2;\n};\n\n/** Implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement. */\ninterface SVGTextPositioningElement extends SVGTextContentElement {\n    readonly dx: SVGAnimatedLengthList;\n    readonly dy: SVGAnimatedLengthList;\n    readonly rotate: SVGAnimatedNumberList;\n    readonly x: SVGAnimatedLengthList;\n    readonly y: SVGAnimatedLengthList;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPositioningElement: {\n    prototype: SVGTextPositioningElement;\n    new(): SVGTextPositioningElement;\n};\n\n/** Corresponds to the <title> element. */\ninterface SVGTitleElement extends SVGElement {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTitleElement: {\n    prototype: SVGTitleElement;\n    new(): SVGTitleElement;\n};\n\n/** SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(\\u2026) or matrix(\\u2026)) within a transform attribute. */\ninterface SVGTransform {\n    readonly angle: number;\n    readonly matrix: DOMMatrix;\n    readonly type: number;\n    setMatrix(matrix?: DOMMatrix2DInit): void;\n    setRotate(angle: number, cx: number, cy: number): void;\n    setScale(sx: number, sy: number): void;\n    setSkewX(angle: number): void;\n    setSkewY(angle: number): void;\n    setTranslate(tx: number, ty: number): void;\n    readonly SVG_TRANSFORM_UNKNOWN: 0;\n    readonly SVG_TRANSFORM_MATRIX: 1;\n    readonly SVG_TRANSFORM_TRANSLATE: 2;\n    readonly SVG_TRANSFORM_SCALE: 3;\n    readonly SVG_TRANSFORM_ROTATE: 4;\n    readonly SVG_TRANSFORM_SKEWX: 5;\n    readonly SVG_TRANSFORM_SKEWY: 6;\n}\n\ndeclare var SVGTransform: {\n    prototype: SVGTransform;\n    new(): SVGTransform;\n    readonly SVG_TRANSFORM_UNKNOWN: 0;\n    readonly SVG_TRANSFORM_MATRIX: 1;\n    readonly SVG_TRANSFORM_TRANSLATE: 2;\n    readonly SVG_TRANSFORM_SCALE: 3;\n    readonly SVG_TRANSFORM_ROTATE: 4;\n    readonly SVG_TRANSFORM_SKEWX: 5;\n    readonly SVG_TRANSFORM_SKEWY: 6;\n};\n\n/** The SVGTransformList defines a list of SVGTransform objects. */\ninterface SVGTransformList {\n    readonly length: number;\n    readonly numberOfItems: number;\n    appendItem(newItem: SVGTransform): SVGTransform;\n    clear(): void;\n    consolidate(): SVGTransform | null;\n    createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;\n    getItem(index: number): SVGTransform;\n    initialize(newItem: SVGTransform): SVGTransform;\n    insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;\n    removeItem(index: number): SVGTransform;\n    replaceItem(newItem: SVGTransform, index: number): SVGTransform;\n    [index: number]: SVGTransform;\n}\n\ndeclare var SVGTransformList: {\n    prototype: SVGTransformList;\n    new(): SVGTransformList;\n};\n\ninterface SVGURIReference {\n    readonly href: SVGAnimatedString;\n}\n\n/** A commonly used set of constants used for reflecting gradientUnits, patternContentUnits and other similar attributes. */\ninterface SVGUnitTypes {\n    readonly SVG_UNIT_TYPE_UNKNOWN: 0;\n    readonly SVG_UNIT_TYPE_USERSPACEONUSE: 1;\n    readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2;\n}\n\ndeclare var SVGUnitTypes: {\n    prototype: SVGUnitTypes;\n    new(): SVGUnitTypes;\n    readonly SVG_UNIT_TYPE_UNKNOWN: 0;\n    readonly SVG_UNIT_TYPE_USERSPACEONUSE: 1;\n    readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2;\n};\n\n/** Corresponds to the <use> element. */\ninterface SVGUseElement extends SVGGraphicsElement, SVGURIReference {\n    readonly height: SVGAnimatedLength;\n    readonly width: SVGAnimatedLength;\n    readonly x: SVGAnimatedLength;\n    readonly y: SVGAnimatedLength;\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGUseElement: {\n    prototype: SVGUseElement;\n    new(): SVGUseElement;\n};\n\n/** Provides access to the properties of <view> elements, as well as methods to manipulate them. */\ninterface SVGViewElement extends SVGElement, SVGFitToViewBox {\n    addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGViewElement: {\n    prototype: SVGViewElement;\n    new(): SVGViewElement;\n};\n\n/** A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. */\ninterface Screen {\n    readonly availHeight: number;\n    readonly availWidth: number;\n    readonly colorDepth: number;\n    readonly height: number;\n    readonly orientation: ScreenOrientation;\n    readonly pixelDepth: number;\n    readonly width: number;\n}\n\ndeclare var Screen: {\n    prototype: Screen;\n    new(): Screen;\n};\n\ninterface ScreenOrientationEventMap {\n    \"change\": Event;\n}\n\ninterface ScreenOrientation extends EventTarget {\n    readonly angle: number;\n    onchange: ((this: ScreenOrientation, ev: Event) => any) | null;\n    readonly type: OrientationType;\n    lock(orientation: OrientationLockType): Promise<void>;\n    unlock(): void;\n    addEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ScreenOrientation: {\n    prototype: ScreenOrientation;\n    new(): ScreenOrientation;\n};\n\ninterface ScriptProcessorNodeEventMap {\n    \"audioprocess\": AudioProcessingEvent;\n}\n\n/**\n * Allows the generation, processing, or analyzing of audio using JavaScript.\n * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and was replaced by AudioWorklet (see AudioWorkletNode).\n */\ninterface ScriptProcessorNode extends AudioNode {\n    /** @deprecated */\n    readonly bufferSize: number;\n    /** @deprecated */\n    onaudioprocess: ((this: ScriptProcessorNode, ev: AudioProcessingEvent) => any) | null;\n    addEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** @deprecated */\ndeclare var ScriptProcessorNode: {\n    prototype: ScriptProcessorNode;\n    new(): ScriptProcessorNode;\n};\n\n/** Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated. */\ninterface SecurityPolicyViolationEvent extends Event {\n    readonly blockedURI: string;\n    readonly columnNumber: number;\n    readonly disposition: SecurityPolicyViolationEventDisposition;\n    readonly documentURI: string;\n    readonly effectiveDirective: string;\n    readonly lineNumber: number;\n    readonly originalPolicy: string;\n    readonly referrer: string;\n    readonly sample: string;\n    readonly sourceFile: string;\n    readonly statusCode: number;\n    readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n    prototype: SecurityPolicyViolationEvent;\n    new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\n/** A Selection object\\xA0represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or\\xA0modification, call Window.getSelection(). */\ninterface Selection {\n    readonly anchorNode: Node | null;\n    readonly anchorOffset: number;\n    readonly focusNode: Node | null;\n    readonly focusOffset: number;\n    readonly isCollapsed: boolean;\n    readonly rangeCount: number;\n    readonly type: string;\n    addRange(range: Range): void;\n    collapse(node: Node | null, offset?: number): void;\n    collapseToEnd(): void;\n    collapseToStart(): void;\n    containsNode(node: Node, allowPartialContainment?: boolean): boolean;\n    deleteFromDocument(): void;\n    empty(): void;\n    extend(node: Node, offset?: number): void;\n    getRangeAt(index: number): Range;\n    modify(alter?: string, direction?: string, granularity?: string): void;\n    removeAllRanges(): void;\n    removeRange(range: Range): void;\n    selectAllChildren(node: Node): void;\n    setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;\n    setPosition(node: Node | null, offset?: number): void;\n    toString(): string;\n}\n\ndeclare var Selection: {\n    prototype: Selection;\n    new(): Selection;\n    toString(): string;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n    \"statechange\": Event;\n}\n\n/**\n * This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object.\n * Available only in secure contexts.\n */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n    onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n    readonly scriptURL: string;\n    readonly state: ServiceWorkerState;\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n    prototype: ServiceWorker;\n    new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n    \"controllerchange\": Event;\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/**\n * The\\xA0ServiceWorkerContainer\\xA0interface of the\\xA0ServiceWorker API\\xA0provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.\n * Available only in secure contexts.\n */\ninterface ServiceWorkerContainer extends EventTarget {\n    readonly controller: ServiceWorker | null;\n    oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n    onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n    readonly ready: Promise<ServiceWorkerRegistration>;\n    getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;\n    getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n    register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n    startMessages(): void;\n    addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n    prototype: ServiceWorkerContainer;\n    new(): ServiceWorkerContainer;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n    \"updatefound\": Event;\n}\n\n/**\n * This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin.\n * Available only in secure contexts.\n */\ninterface ServiceWorkerRegistration extends EventTarget {\n    readonly active: ServiceWorker | null;\n    readonly installing: ServiceWorker | null;\n    readonly navigationPreload: NavigationPreloadManager;\n    onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n    readonly pushManager: PushManager;\n    readonly scope: string;\n    readonly updateViaCache: ServiceWorkerUpdateViaCache;\n    readonly waiting: ServiceWorker | null;\n    getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n    showNotification(title: string, options?: NotificationOptions): Promise<void>;\n    unregister(): Promise<boolean>;\n    update(): Promise<void>;\n    addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n    prototype: ServiceWorkerRegistration;\n    new(): ServiceWorkerRegistration;\n};\n\ninterface ShadowRootEventMap {\n    \"slotchange\": Event;\n}\n\ninterface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {\n    readonly delegatesFocus: boolean;\n    readonly host: Element;\n    readonly mode: ShadowRootMode;\n    onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;\n    readonly slotAssignment: SlotAssignmentMode;\n    /** Throws a \"NotSupportedError\" DOMException if context object is a shadow root. */\n    addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ShadowRoot: {\n    prototype: ShadowRoot;\n    new(): ShadowRoot;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n    /** Returns sharedWorker's MessagePort object which can be used to communicate with the global environment. */\n    readonly port: MessagePort;\n    addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n    prototype: SharedWorker;\n    new(scriptURL: string | URL, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface Slottable {\n    readonly assignedSlot: HTMLSlotElement | null;\n}\n\ninterface SourceBufferEventMap {\n    \"abort\": Event;\n    \"error\": Event;\n    \"update\": Event;\n    \"updateend\": Event;\n    \"updatestart\": Event;\n}\n\n/** A chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource\\xA0object. This can be made up of one or several media segments. */\ninterface SourceBuffer extends EventTarget {\n    appendWindowEnd: number;\n    appendWindowStart: number;\n    readonly buffered: TimeRanges;\n    mode: AppendMode;\n    onabort: ((this: SourceBuffer, ev: Event) => any) | null;\n    onerror: ((this: SourceBuffer, ev: Event) => any) | null;\n    onupdate: ((this: SourceBuffer, ev: Event) => any) | null;\n    onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;\n    onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;\n    timestampOffset: number;\n    readonly updating: boolean;\n    abort(): void;\n    appendBuffer(data: BufferSource): void;\n    changeType(type: string): void;\n    remove(start: number, end: number): void;\n    addEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SourceBuffer: {\n    prototype: SourceBuffer;\n    new(): SourceBuffer;\n};\n\ninterface SourceBufferListEventMap {\n    \"addsourcebuffer\": Event;\n    \"removesourcebuffer\": Event;\n}\n\n/** A simple container list for multiple SourceBuffer objects. */\ninterface SourceBufferList extends EventTarget {\n    readonly length: number;\n    onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n    onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n    addEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n    [index: number]: SourceBuffer;\n}\n\ndeclare var SourceBufferList: {\n    prototype: SourceBufferList;\n    new(): SourceBufferList;\n};\n\ninterface SpeechRecognitionAlternative {\n    readonly confidence: number;\n    readonly transcript: string;\n}\n\ndeclare var SpeechRecognitionAlternative: {\n    prototype: SpeechRecognitionAlternative;\n    new(): SpeechRecognitionAlternative;\n};\n\ninterface SpeechRecognitionResult {\n    readonly isFinal: boolean;\n    readonly length: number;\n    item(index: number): SpeechRecognitionAlternative;\n    [index: number]: SpeechRecognitionAlternative;\n}\n\ndeclare var SpeechRecognitionResult: {\n    prototype: SpeechRecognitionResult;\n    new(): SpeechRecognitionResult;\n};\n\ninterface SpeechRecognitionResultList {\n    readonly length: number;\n    item(index: number): SpeechRecognitionResult;\n    [index: number]: SpeechRecognitionResult;\n}\n\ndeclare var SpeechRecognitionResultList: {\n    prototype: SpeechRecognitionResultList;\n    new(): SpeechRecognitionResultList;\n};\n\ninterface SpeechSynthesisEventMap {\n    \"voiceschanged\": Event;\n}\n\n/** This Web Speech API interface is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides. */\ninterface SpeechSynthesis extends EventTarget {\n    onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;\n    readonly paused: boolean;\n    readonly pending: boolean;\n    readonly speaking: boolean;\n    cancel(): void;\n    getVoices(): SpeechSynthesisVoice[];\n    pause(): void;\n    resume(): void;\n    speak(utterance: SpeechSynthesisUtterance): void;\n    addEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesis: {\n    prototype: SpeechSynthesis;\n    new(): SpeechSynthesis;\n};\n\ninterface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {\n    readonly error: SpeechSynthesisErrorCode;\n}\n\ndeclare var SpeechSynthesisErrorEvent: {\n    prototype: SpeechSynthesisErrorEvent;\n    new(type: string, eventInitDict: SpeechSynthesisErrorEventInit): SpeechSynthesisErrorEvent;\n};\n\n/** This Web Speech API interface contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service. */\ninterface SpeechSynthesisEvent extends Event {\n    readonly charIndex: number;\n    readonly charLength: number;\n    readonly elapsedTime: number;\n    readonly name: string;\n    readonly utterance: SpeechSynthesisUtterance;\n}\n\ndeclare var SpeechSynthesisEvent: {\n    prototype: SpeechSynthesisEvent;\n    new(type: string, eventInitDict: SpeechSynthesisEventInit): SpeechSynthesisEvent;\n};\n\ninterface SpeechSynthesisUtteranceEventMap {\n    \"boundary\": SpeechSynthesisEvent;\n    \"end\": SpeechSynthesisEvent;\n    \"error\": SpeechSynthesisErrorEvent;\n    \"mark\": SpeechSynthesisEvent;\n    \"pause\": SpeechSynthesisEvent;\n    \"resume\": SpeechSynthesisEvent;\n    \"start\": SpeechSynthesisEvent;\n}\n\n/** This Web Speech API interface represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.) */\ninterface SpeechSynthesisUtterance extends EventTarget {\n    lang: string;\n    onboundary: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n    onend: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n    onerror: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisErrorEvent) => any) | null;\n    onmark: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n    onpause: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n    onresume: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n    onstart: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n    pitch: number;\n    rate: number;\n    text: string;\n    voice: SpeechSynthesisVoice | null;\n    volume: number;\n    addEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesisUtterance: {\n    prototype: SpeechSynthesisUtterance;\n    new(text?: string): SpeechSynthesisUtterance;\n};\n\n/** This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI. */\ninterface SpeechSynthesisVoice {\n    readonly default: boolean;\n    readonly lang: string;\n    readonly localService: boolean;\n    readonly name: string;\n    readonly voiceURI: string;\n}\n\ndeclare var SpeechSynthesisVoice: {\n    prototype: SpeechSynthesisVoice;\n    new(): SpeechSynthesisVoice;\n};\n\ninterface StaticRange extends AbstractRange {\n}\n\ndeclare var StaticRange: {\n    prototype: StaticRange;\n    new(init: StaticRangeInit): StaticRange;\n};\n\n/** The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode. */\ninterface StereoPannerNode extends AudioNode {\n    readonly pan: AudioParam;\n}\n\ndeclare var StereoPannerNode: {\n    prototype: StereoPannerNode;\n    new(context: BaseAudioContext, options?: StereoPannerOptions): StereoPannerNode;\n};\n\n/** This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. */\ninterface Storage {\n    /** Returns the number of key/value pairs. */\n    readonly length: number;\n    /**\n     * Removes all key/value pairs, if there are any.\n     *\n     * Dispatches a storage event on Window objects holding an equivalent Storage object.\n     */\n    clear(): void;\n    /** Returns the current value associated with the given key, or null if the given key does not exist. */\n    getItem(key: string): string | null;\n    /** Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs. */\n    key(index: number): string | null;\n    /**\n     * Removes the key/value pair with the given key, if a key/value pair with the given key exists.\n     *\n     * Dispatches a storage event on Window objects holding an equivalent Storage object.\n     */\n    removeItem(key: string): void;\n    /**\n     * Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.\n     *\n     * Throws a \"QuotaExceededError\" DOMException exception if the new value couldn't be set. (Setting could fail if, e.g., the user has disabled storage for the site, or if the quota has been exceeded.)\n     *\n     * Dispatches a storage event on Window objects holding an equivalent Storage object.\n     */\n    setItem(key: string, value: string): void;\n    [name: string]: any;\n}\n\ndeclare var Storage: {\n    prototype: Storage;\n    new(): Storage;\n};\n\n/** A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document. */\ninterface StorageEvent extends Event {\n    /** Returns the key of the storage item being changed. */\n    readonly key: string | null;\n    /** Returns the new value of the key of the storage item whose value is being changed. */\n    readonly newValue: string | null;\n    /** Returns the old value of the key of the storage item whose value is being changed. */\n    readonly oldValue: string | null;\n    /** Returns the Storage object that was affected. */\n    readonly storageArea: Storage | null;\n    /** Returns the URL of the document whose storage item changed. */\n    readonly url: string;\n    /** @deprecated */\n    initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;\n}\n\ndeclare var StorageEvent: {\n    prototype: StorageEvent;\n    new(type: string, eventInitDict?: StorageEventInit): StorageEvent;\n};\n\n/** Available only in secure contexts. */\ninterface StorageManager {\n    estimate(): Promise<StorageEstimate>;\n    getDirectory(): Promise<FileSystemDirectoryHandle>;\n    persist(): Promise<boolean>;\n    persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n    prototype: StorageManager;\n    new(): StorageManager;\n};\n\n/** @deprecated */\ninterface StyleMedia {\n    type: string;\n    matchMedium(mediaquery: string): boolean;\n}\n\n/** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */\ninterface StyleSheet {\n    disabled: boolean;\n    readonly href: string | null;\n    readonly media: MediaList;\n    readonly ownerNode: Element | ProcessingInstruction | null;\n    readonly parentStyleSheet: CSSStyleSheet | null;\n    readonly title: string | null;\n    readonly type: string;\n}\n\ndeclare var StyleSheet: {\n    prototype: StyleSheet;\n    new(): StyleSheet;\n};\n\n/** A list of StyleSheet. */\ninterface StyleSheetList {\n    readonly length: number;\n    item(index: number): CSSStyleSheet | null;\n    [index: number]: CSSStyleSheet;\n}\n\ndeclare var StyleSheetList: {\n    prototype: StyleSheetList;\n    new(): StyleSheetList;\n};\n\ninterface SubmitEvent extends Event {\n    /** Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button. */\n    readonly submitter: HTMLElement | null;\n}\n\ndeclare var SubmitEvent: {\n    prototype: SubmitEvent;\n    new(type: string, eventInitDict?: SubmitEventInit): SubmitEvent;\n};\n\n/**\n * This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).\n * Available only in secure contexts.\n */\ninterface SubtleCrypto {\n    decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n    deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n    deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n    digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;\n    encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n    exportKey(format: \"jwk\", key: CryptoKey): Promise<JsonWebKey>;\n    exportKey(format: Exclude<KeyFormat, \"jwk\">, key: CryptoKey): Promise<ArrayBuffer>;\n    generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\n    generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n    importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\n    importKey(format: Exclude<KeyFormat, \"jwk\">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n    sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n    unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n    verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise<boolean>;\n    wrapKey(format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n    prototype: SubtleCrypto;\n    new(): SubtleCrypto;\n};\n\n/** The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children. */\ninterface Text extends CharacterData, Slottable {\n    /** Returns the combined data of all direct Text node siblings. */\n    readonly wholeText: string;\n    /** Splits data at the given offset and returns the remainder as Text node. */\n    splitText(offset: number): Text;\n}\n\ndeclare var Text: {\n    prototype: Text;\n    new(data?: string): Text;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc.\\xA0A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView \\u2013 a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n    /**\n     * Returns the result of running encoding's decoder. The method can be invoked zero or more times with options's stream set to true, and then once without options's stream (or set to false), to process a fragmented input. If the invocation without options's stream (or set to false) has no input, it's clearest to omit both arguments.\n     *\n     * \\`\\`\\`\n     * var string = \"\", decoder = new TextDecoder(encoding), buffer;\n     * while(buffer = next_chunk()) {\n     *   string += decoder.decode(buffer, {stream:true});\n     * }\n     * string += decoder.decode(); // end-of-queue\n     * \\`\\`\\`\n     *\n     * If the error mode is \"fatal\" and encoding's decoder returns error, throws a TypeError.\n     */\n    decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n    prototype: TextDecoder;\n    new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n    /** Returns encoding's name, lowercased. */\n    readonly encoding: string;\n    /** Returns true if error mode is \"fatal\", otherwise false. */\n    readonly fatal: boolean;\n    /** Returns the value of ignore BOM. */\n    readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n    readonly readable: ReadableStream<string>;\n    readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n    prototype: TextDecoderStream;\n    new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView \\u2013 a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n    /** Returns the result of running UTF-8's encoder. */\n    encode(input?: string): Uint8Array;\n    /** Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination. */\n    encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n    prototype: TextEncoder;\n    new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n    /** Returns \"utf-8\". */\n    readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n    readonly readable: ReadableStream<Uint8Array>;\n    readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n    prototype: TextEncoderStream;\n    new(): TextEncoderStream;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxAscent: number;\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxDescent: number;\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxLeft: number;\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxRight: number;\n    /** Returns the measurement described below. */\n    readonly fontBoundingBoxAscent: number;\n    /** Returns the measurement described below. */\n    readonly fontBoundingBoxDescent: number;\n    /** Returns the measurement described below. */\n    readonly width: number;\n}\n\ndeclare var TextMetrics: {\n    prototype: TextMetrics;\n    new(): TextMetrics;\n};\n\ninterface TextTrackEventMap {\n    \"cuechange\": Event;\n}\n\n/** This interface also inherits properties from EventTarget. */\ninterface TextTrack extends EventTarget {\n    /** Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object. */\n    readonly activeCues: TextTrackCueList | null;\n    /** Returns the text track list of cues, as a TextTrackCueList object. */\n    readonly cues: TextTrackCueList | null;\n    /**\n     * Returns the ID of the given track.\n     *\n     * For in-band tracks, this is the ID that can be used with a fragment if the format supports media fragment syntax, and that can be used with the getTrackById() method.\n     *\n     * For TextTrack objects corresponding to track elements, this is the ID of the track element.\n     */\n    readonly id: string;\n    /** Returns the text track in-band metadata track dispatch type string. */\n    readonly inBandMetadataTrackDispatchType: string;\n    /** Returns the text track kind string. */\n    readonly kind: TextTrackKind;\n    /** Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user). */\n    readonly label: string;\n    /** Returns the text track language string. */\n    readonly language: string;\n    /**\n     * Returns the text track mode, represented by a string from the following list:\n     *\n     * Can be set, to change the mode.\n     */\n    mode: TextTrackMode;\n    oncuechange: ((this: TextTrack, ev: Event) => any) | null;\n    /** Adds the given cue to textTrack's text track list of cues. */\n    addCue(cue: TextTrackCue): void;\n    /** Removes the given cue from textTrack's text track list of cues. */\n    removeCue(cue: TextTrackCue): void;\n    addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrack: {\n    prototype: TextTrack;\n    new(): TextTrack;\n};\n\ninterface TextTrackCueEventMap {\n    \"enter\": Event;\n    \"exit\": Event;\n}\n\n/** TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used. */\ninterface TextTrackCue extends EventTarget {\n    /**\n     * Returns the text track cue end time, in seconds.\n     *\n     * Can be set.\n     */\n    endTime: number;\n    /**\n     * Returns the text track cue identifier.\n     *\n     * Can be set.\n     */\n    id: string;\n    onenter: ((this: TextTrackCue, ev: Event) => any) | null;\n    onexit: ((this: TextTrackCue, ev: Event) => any) | null;\n    /**\n     * Returns true if the text track cue pause-on-exit flag is set, false otherwise.\n     *\n     * Can be set.\n     */\n    pauseOnExit: boolean;\n    /**\n     * Returns the text track cue start time, in seconds.\n     *\n     * Can be set.\n     */\n    startTime: number;\n    /** Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise. */\n    readonly track: TextTrack | null;\n    addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrackCue: {\n    prototype: TextTrackCue;\n    new(): TextTrackCue;\n};\n\ninterface TextTrackCueList {\n    /** Returns the number of cues in the list. */\n    readonly length: number;\n    /**\n     * Returns the first text track cue (in text track cue order) with text track cue identifier id.\n     *\n     * Returns null if none of the cues have the given identifier or if the argument is the empty string.\n     */\n    getCueById(id: string): TextTrackCue | null;\n    [index: number]: TextTrackCue;\n}\n\ndeclare var TextTrackCueList: {\n    prototype: TextTrackCueList;\n    new(): TextTrackCueList;\n};\n\ninterface TextTrackListEventMap {\n    \"addtrack\": TrackEvent;\n    \"change\": Event;\n    \"removetrack\": TrackEvent;\n}\n\ninterface TextTrackList extends EventTarget {\n    readonly length: number;\n    onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n    onchange: ((this: TextTrackList, ev: Event) => any) | null;\n    onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n    getTrackById(id: string): TextTrack | null;\n    addEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n    [index: number]: TextTrack;\n}\n\ndeclare var TextTrackList: {\n    prototype: TextTrackList;\n    new(): TextTrackList;\n};\n\n/** Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video>\\xA0elements. */\ninterface TimeRanges {\n    /** Returns the number of ranges in the object. */\n    readonly length: number;\n    /**\n     * Returns the time for the end of the range with the given index.\n     *\n     * Throws an \"IndexSizeError\" DOMException if the index is out of range.\n     */\n    end(index: number): number;\n    /**\n     * Returns the time for the start of the range with the given index.\n     *\n     * Throws an \"IndexSizeError\" DOMException if the index is out of range.\n     */\n    start(index: number): number;\n}\n\ndeclare var TimeRanges: {\n    prototype: TimeRanges;\n    new(): TimeRanges;\n};\n\n/** A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad. */\ninterface Touch {\n    readonly clientX: number;\n    readonly clientY: number;\n    readonly force: number;\n    readonly identifier: number;\n    readonly pageX: number;\n    readonly pageY: number;\n    readonly radiusX: number;\n    readonly radiusY: number;\n    readonly rotationAngle: number;\n    readonly screenX: number;\n    readonly screenY: number;\n    readonly target: EventTarget;\n}\n\ndeclare var Touch: {\n    prototype: Touch;\n    new(touchInitDict: TouchInit): Touch;\n};\n\n/** An event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth. */\ninterface TouchEvent extends UIEvent {\n    readonly altKey: boolean;\n    readonly changedTouches: TouchList;\n    readonly ctrlKey: boolean;\n    readonly metaKey: boolean;\n    readonly shiftKey: boolean;\n    readonly targetTouches: TouchList;\n    readonly touches: TouchList;\n}\n\ndeclare var TouchEvent: {\n    prototype: TouchEvent;\n    new(type: string, eventInitDict?: TouchEventInit): TouchEvent;\n};\n\n/** A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries. */\ninterface TouchList {\n    readonly length: number;\n    item(index: number): Touch | null;\n    [index: number]: Touch;\n}\n\ndeclare var TouchList: {\n    prototype: TouchList;\n    new(): TouchList;\n};\n\n/** The TrackEvent interface, part of the HTML DOM specification, is used for events which represent changes to the set of available tracks on an HTML media element; these events are addtrack and removetrack. */\ninterface TrackEvent extends Event {\n    /** Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates. */\n    readonly track: TextTrack | null;\n}\n\ndeclare var TrackEvent: {\n    prototype: TrackEvent;\n    new(type: string, eventInitDict?: TrackEventInit): TrackEvent;\n};\n\ninterface TransformStream<I = any, O = any> {\n    readonly readable: ReadableStream<O>;\n    readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n    prototype: TransformStream;\n    new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n    readonly desiredSize: number | null;\n    enqueue(chunk?: O): void;\n    error(reason?: any): void;\n    terminate(): void;\n}\n\ndeclare var TransformStreamDefaultController: {\n    prototype: TransformStreamDefaultController;\n    new(): TransformStreamDefaultController;\n};\n\n/** Events providing information related to transitions. */\ninterface TransitionEvent extends Event {\n    readonly elapsedTime: number;\n    readonly propertyName: string;\n    readonly pseudoElement: string;\n}\n\ndeclare var TransitionEvent: {\n    prototype: TransitionEvent;\n    new(type: string, transitionEventInitDict?: TransitionEventInit): TransitionEvent;\n};\n\n/** The nodes of a document subtree and a position within them. */\ninterface TreeWalker {\n    currentNode: Node;\n    readonly filter: NodeFilter | null;\n    readonly root: Node;\n    readonly whatToShow: number;\n    firstChild(): Node | null;\n    lastChild(): Node | null;\n    nextNode(): Node | null;\n    nextSibling(): Node | null;\n    parentNode(): Node | null;\n    previousNode(): Node | null;\n    previousSibling(): Node | null;\n}\n\ndeclare var TreeWalker: {\n    prototype: TreeWalker;\n    new(): TreeWalker;\n};\n\n/** Simple user interface events. */\ninterface UIEvent extends Event {\n    readonly detail: number;\n    readonly view: Window | null;\n    /** @deprecated */\n    readonly which: number;\n    /** @deprecated */\n    initUIEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, detailArg?: number): void;\n}\n\ndeclare var UIEvent: {\n    prototype: UIEvent;\n    new(type: string, eventInitDict?: UIEventInit): UIEvent;\n};\n\n/** The URL\\xA0interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n    hash: string;\n    host: string;\n    hostname: string;\n    href: string;\n    toString(): string;\n    readonly origin: string;\n    password: string;\n    pathname: string;\n    port: string;\n    protocol: string;\n    search: string;\n    readonly searchParams: URLSearchParams;\n    username: string;\n    toJSON(): string;\n}\n\ndeclare var URL: {\n    prototype: URL;\n    new(url: string | URL, base?: string | URL): URL;\n    createObjectURL(obj: Blob | MediaSource): string;\n    revokeObjectURL(url: string): void;\n};\n\ntype webkitURL = URL;\ndeclare var webkitURL: typeof URL;\n\ninterface URLSearchParams {\n    /** Appends a specified key/value pair as a new search parameter. */\n    append(name: string, value: string): void;\n    /** Deletes the given search parameter, and its associated value, from the list of all search parameters. */\n    delete(name: string): void;\n    /** Returns the first value associated to the given search parameter. */\n    get(name: string): string | null;\n    /** Returns all the values association with a given search parameter. */\n    getAll(name: string): string[];\n    /** Returns a Boolean indicating if such a search parameter exists. */\n    has(name: string): boolean;\n    /** Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. */\n    set(name: string, value: string): void;\n    sort(): void;\n    /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */\n    toString(): string;\n    forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n    prototype: URLSearchParams;\n    new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n    toString(): string;\n};\n\ninterface VTTCue extends TextTrackCue {\n    align: AlignSetting;\n    line: LineAndPositionSetting;\n    lineAlign: LineAlignSetting;\n    position: LineAndPositionSetting;\n    positionAlign: PositionAlignSetting;\n    region: VTTRegion | null;\n    size: number;\n    snapToLines: boolean;\n    text: string;\n    vertical: DirectionSetting;\n    getCueAsHTML(): DocumentFragment;\n    addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VTTCue: {\n    prototype: VTTCue;\n    new(startTime: number, endTime: number, text: string): VTTCue;\n};\n\ninterface VTTRegion {\n    id: string;\n    lines: number;\n    regionAnchorX: number;\n    regionAnchorY: number;\n    scroll: ScrollSetting;\n    viewportAnchorX: number;\n    viewportAnchorY: number;\n    width: number;\n}\n\ndeclare var VTTRegion: {\n    prototype: VTTRegion;\n    new(): VTTRegion;\n};\n\n/** The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid. */\ninterface ValidityState {\n    readonly badInput: boolean;\n    readonly customError: boolean;\n    readonly patternMismatch: boolean;\n    readonly rangeOverflow: boolean;\n    readonly rangeUnderflow: boolean;\n    readonly stepMismatch: boolean;\n    readonly tooLong: boolean;\n    readonly tooShort: boolean;\n    readonly typeMismatch: boolean;\n    readonly valid: boolean;\n    readonly valueMissing: boolean;\n}\n\ndeclare var ValidityState: {\n    prototype: ValidityState;\n    new(): ValidityState;\n};\n\ninterface VideoColorSpace {\n    readonly fullRange: boolean | null;\n    readonly matrix: VideoMatrixCoefficients | null;\n    readonly primaries: VideoColorPrimaries | null;\n    readonly transfer: VideoTransferCharacteristics | null;\n    toJSON(): VideoColorSpaceInit;\n}\n\ndeclare var VideoColorSpace: {\n    prototype: VideoColorSpace;\n    new(init?: VideoColorSpaceInit): VideoColorSpace;\n};\n\n/** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */\ninterface VideoPlaybackQuality {\n    /** @deprecated */\n    readonly corruptedVideoFrames: number;\n    readonly creationTime: DOMHighResTimeStamp;\n    readonly droppedVideoFrames: number;\n    readonly totalVideoFrames: number;\n}\n\ndeclare var VideoPlaybackQuality: {\n    prototype: VideoPlaybackQuality;\n    new(): VideoPlaybackQuality;\n};\n\ninterface VisualViewportEventMap {\n    \"resize\": Event;\n    \"scroll\": Event;\n}\n\ninterface VisualViewport extends EventTarget {\n    readonly height: number;\n    readonly offsetLeft: number;\n    readonly offsetTop: number;\n    onresize: ((this: VisualViewport, ev: Event) => any) | null;\n    onscroll: ((this: VisualViewport, ev: Event) => any) | null;\n    readonly pageLeft: number;\n    readonly pageTop: number;\n    readonly scale: number;\n    readonly width: number;\n    addEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VisualViewport: {\n    prototype: VisualViewport;\n    new(): VisualViewport;\n};\n\ninterface WEBGL_color_buffer_float {\n    readonly RGBA32F_EXT: 0x8814;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n    readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\n}\n\ninterface WEBGL_compressed_texture_astc {\n    getSupportedProfiles(): string[];\n    readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93B0;\n    readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93B1;\n    readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93B2;\n    readonly COMPRESSED_RGBA_ASTC_6x5_KHR: 0x93B3;\n    readonly COMPRESSED_RGBA_ASTC_6x6_KHR: 0x93B4;\n    readonly COMPRESSED_RGBA_ASTC_8x5_KHR: 0x93B5;\n    readonly COMPRESSED_RGBA_ASTC_8x6_KHR: 0x93B6;\n    readonly COMPRESSED_RGBA_ASTC_8x8_KHR: 0x93B7;\n    readonly COMPRESSED_RGBA_ASTC_10x5_KHR: 0x93B8;\n    readonly COMPRESSED_RGBA_ASTC_10x6_KHR: 0x93B9;\n    readonly COMPRESSED_RGBA_ASTC_10x8_KHR: 0x93BA;\n    readonly COMPRESSED_RGBA_ASTC_10x10_KHR: 0x93BB;\n    readonly COMPRESSED_RGBA_ASTC_12x10_KHR: 0x93BC;\n    readonly COMPRESSED_RGBA_ASTC_12x12_KHR: 0x93BD;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: 0x93D0;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: 0x93D1;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: 0x93D2;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: 0x93D3;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: 0x93D4;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: 0x93D5;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: 0x93D6;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: 0x93D7;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: 0x93D8;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: 0x93D9;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: 0x93DA;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: 0x93DB;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: 0x93DC;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;\n}\n\ninterface WEBGL_compressed_texture_etc {\n    readonly COMPRESSED_R11_EAC: 0x9270;\n    readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;\n    readonly COMPRESSED_RG11_EAC: 0x9272;\n    readonly COMPRESSED_SIGNED_RG11_EAC: 0x9273;\n    readonly COMPRESSED_RGB8_ETC2: 0x9274;\n    readonly COMPRESSED_SRGB8_ETC2: 0x9275;\n    readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9276;\n    readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9277;\n    readonly COMPRESSED_RGBA8_ETC2_EAC: 0x9278;\n    readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n    readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n    readonly COMPRESSED_RGB_S3TC_DXT1_EXT: 0x83F0;\n    readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: 0x83F1;\n    readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: 0x83F2;\n    readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n    readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: 0x8C4E;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: 0x8C4F;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n    readonly UNMASKED_VENDOR_WEBGL: 0x9245;\n    readonly UNMASKED_RENDERER_WEBGL: 0x9246;\n}\n\ninterface WEBGL_debug_shaders {\n    getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n    readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;\n}\n\ninterface WEBGL_draw_buffers {\n    drawBuffersWEBGL(buffers: GLenum[]): void;\n    readonly COLOR_ATTACHMENT0_WEBGL: 0x8CE0;\n    readonly COLOR_ATTACHMENT1_WEBGL: 0x8CE1;\n    readonly COLOR_ATTACHMENT2_WEBGL: 0x8CE2;\n    readonly COLOR_ATTACHMENT3_WEBGL: 0x8CE3;\n    readonly COLOR_ATTACHMENT4_WEBGL: 0x8CE4;\n    readonly COLOR_ATTACHMENT5_WEBGL: 0x8CE5;\n    readonly COLOR_ATTACHMENT6_WEBGL: 0x8CE6;\n    readonly COLOR_ATTACHMENT7_WEBGL: 0x8CE7;\n    readonly COLOR_ATTACHMENT8_WEBGL: 0x8CE8;\n    readonly COLOR_ATTACHMENT9_WEBGL: 0x8CE9;\n    readonly COLOR_ATTACHMENT10_WEBGL: 0x8CEA;\n    readonly COLOR_ATTACHMENT11_WEBGL: 0x8CEB;\n    readonly COLOR_ATTACHMENT12_WEBGL: 0x8CEC;\n    readonly COLOR_ATTACHMENT13_WEBGL: 0x8CED;\n    readonly COLOR_ATTACHMENT14_WEBGL: 0x8CEE;\n    readonly COLOR_ATTACHMENT15_WEBGL: 0x8CEF;\n    readonly DRAW_BUFFER0_WEBGL: 0x8825;\n    readonly DRAW_BUFFER1_WEBGL: 0x8826;\n    readonly DRAW_BUFFER2_WEBGL: 0x8827;\n    readonly DRAW_BUFFER3_WEBGL: 0x8828;\n    readonly DRAW_BUFFER4_WEBGL: 0x8829;\n    readonly DRAW_BUFFER5_WEBGL: 0x882A;\n    readonly DRAW_BUFFER6_WEBGL: 0x882B;\n    readonly DRAW_BUFFER7_WEBGL: 0x882C;\n    readonly DRAW_BUFFER8_WEBGL: 0x882D;\n    readonly DRAW_BUFFER9_WEBGL: 0x882E;\n    readonly DRAW_BUFFER10_WEBGL: 0x882F;\n    readonly DRAW_BUFFER11_WEBGL: 0x8830;\n    readonly DRAW_BUFFER12_WEBGL: 0x8831;\n    readonly DRAW_BUFFER13_WEBGL: 0x8832;\n    readonly DRAW_BUFFER14_WEBGL: 0x8833;\n    readonly DRAW_BUFFER15_WEBGL: 0x8834;\n    readonly MAX_COLOR_ATTACHMENTS_WEBGL: 0x8CDF;\n    readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;\n}\n\ninterface WEBGL_lose_context {\n    loseContext(): void;\n    restoreContext(): void;\n}\n\ninterface WEBGL_multi_draw {\n    multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n    multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;\n    multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n    multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;\n}\n\n/** A WaveShaperNode always has exactly one input and one output. */\ninterface WaveShaperNode extends AudioNode {\n    curve: Float32Array | null;\n    oversample: OverSampleType;\n}\n\ndeclare var WaveShaperNode: {\n    prototype: WaveShaperNode;\n    new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;\n};\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n    prototype: WebGL2RenderingContext;\n    new(): WebGL2RenderingContext;\n    readonly READ_BUFFER: 0x0C02;\n    readonly UNPACK_ROW_LENGTH: 0x0CF2;\n    readonly UNPACK_SKIP_ROWS: 0x0CF3;\n    readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n    readonly PACK_ROW_LENGTH: 0x0D02;\n    readonly PACK_SKIP_ROWS: 0x0D03;\n    readonly PACK_SKIP_PIXELS: 0x0D04;\n    readonly COLOR: 0x1800;\n    readonly DEPTH: 0x1801;\n    readonly STENCIL: 0x1802;\n    readonly RED: 0x1903;\n    readonly RGB8: 0x8051;\n    readonly RGBA8: 0x8058;\n    readonly RGB10_A2: 0x8059;\n    readonly TEXTURE_BINDING_3D: 0x806A;\n    readonly UNPACK_SKIP_IMAGES: 0x806D;\n    readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n    readonly TEXTURE_3D: 0x806F;\n    readonly TEXTURE_WRAP_R: 0x8072;\n    readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n    readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n    readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n    readonly MAX_ELEMENTS_INDICES: 0x80E9;\n    readonly TEXTURE_MIN_LOD: 0x813A;\n    readonly TEXTURE_MAX_LOD: 0x813B;\n    readonly TEXTURE_BASE_LEVEL: 0x813C;\n    readonly TEXTURE_MAX_LEVEL: 0x813D;\n    readonly MIN: 0x8007;\n    readonly MAX: 0x8008;\n    readonly DEPTH_COMPONENT24: 0x81A6;\n    readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n    readonly TEXTURE_COMPARE_MODE: 0x884C;\n    readonly TEXTURE_COMPARE_FUNC: 0x884D;\n    readonly CURRENT_QUERY: 0x8865;\n    readonly QUERY_RESULT: 0x8866;\n    readonly QUERY_RESULT_AVAILABLE: 0x8867;\n    readonly STREAM_READ: 0x88E1;\n    readonly STREAM_COPY: 0x88E2;\n    readonly STATIC_READ: 0x88E5;\n    readonly STATIC_COPY: 0x88E6;\n    readonly DYNAMIC_READ: 0x88E9;\n    readonly DYNAMIC_COPY: 0x88EA;\n    readonly MAX_DRAW_BUFFERS: 0x8824;\n    readonly DRAW_BUFFER0: 0x8825;\n    readonly DRAW_BUFFER1: 0x8826;\n    readonly DRAW_BUFFER2: 0x8827;\n    readonly DRAW_BUFFER3: 0x8828;\n    readonly DRAW_BUFFER4: 0x8829;\n    readonly DRAW_BUFFER5: 0x882A;\n    readonly DRAW_BUFFER6: 0x882B;\n    readonly DRAW_BUFFER7: 0x882C;\n    readonly DRAW_BUFFER8: 0x882D;\n    readonly DRAW_BUFFER9: 0x882E;\n    readonly DRAW_BUFFER10: 0x882F;\n    readonly DRAW_BUFFER11: 0x8830;\n    readonly DRAW_BUFFER12: 0x8831;\n    readonly DRAW_BUFFER13: 0x8832;\n    readonly DRAW_BUFFER14: 0x8833;\n    readonly DRAW_BUFFER15: 0x8834;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n    readonly SAMPLER_3D: 0x8B5F;\n    readonly SAMPLER_2D_SHADOW: 0x8B62;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n    readonly PIXEL_PACK_BUFFER: 0x88EB;\n    readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n    readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n    readonly FLOAT_MAT2x3: 0x8B65;\n    readonly FLOAT_MAT2x4: 0x8B66;\n    readonly FLOAT_MAT3x2: 0x8B67;\n    readonly FLOAT_MAT3x4: 0x8B68;\n    readonly FLOAT_MAT4x2: 0x8B69;\n    readonly FLOAT_MAT4x3: 0x8B6A;\n    readonly SRGB: 0x8C40;\n    readonly SRGB8: 0x8C41;\n    readonly SRGB8_ALPHA8: 0x8C43;\n    readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n    readonly RGBA32F: 0x8814;\n    readonly RGB32F: 0x8815;\n    readonly RGBA16F: 0x881A;\n    readonly RGB16F: 0x881B;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n    readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n    readonly TEXTURE_2D_ARRAY: 0x8C1A;\n    readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n    readonly R11F_G11F_B10F: 0x8C3A;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n    readonly RGB9_E5: 0x8C3D;\n    readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n    readonly RASTERIZER_DISCARD: 0x8C89;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n    readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n    readonly SEPARATE_ATTRIBS: 0x8C8D;\n    readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n    readonly RGBA32UI: 0x8D70;\n    readonly RGB32UI: 0x8D71;\n    readonly RGBA16UI: 0x8D76;\n    readonly RGB16UI: 0x8D77;\n    readonly RGBA8UI: 0x8D7C;\n    readonly RGB8UI: 0x8D7D;\n    readonly RGBA32I: 0x8D82;\n    readonly RGB32I: 0x8D83;\n    readonly RGBA16I: 0x8D88;\n    readonly RGB16I: 0x8D89;\n    readonly RGBA8I: 0x8D8E;\n    readonly RGB8I: 0x8D8F;\n    readonly RED_INTEGER: 0x8D94;\n    readonly RGB_INTEGER: 0x8D98;\n    readonly RGBA_INTEGER: 0x8D99;\n    readonly SAMPLER_2D_ARRAY: 0x8DC1;\n    readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n    readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n    readonly UNSIGNED_INT_VEC2: 0x8DC6;\n    readonly UNSIGNED_INT_VEC3: 0x8DC7;\n    readonly UNSIGNED_INT_VEC4: 0x8DC8;\n    readonly INT_SAMPLER_2D: 0x8DCA;\n    readonly INT_SAMPLER_3D: 0x8DCB;\n    readonly INT_SAMPLER_CUBE: 0x8DCC;\n    readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n    readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n    readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n    readonly DEPTH_COMPONENT32F: 0x8CAC;\n    readonly DEPTH32F_STENCIL8: 0x8CAD;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n    readonly FRAMEBUFFER_DEFAULT: 0x8218;\n    readonly UNSIGNED_INT_24_8: 0x84FA;\n    readonly DEPTH24_STENCIL8: 0x88F0;\n    readonly UNSIGNED_NORMALIZED: 0x8C17;\n    readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly READ_FRAMEBUFFER: 0x8CA8;\n    readonly DRAW_FRAMEBUFFER: 0x8CA9;\n    readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n    readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n    readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n    readonly COLOR_ATTACHMENT1: 0x8CE1;\n    readonly COLOR_ATTACHMENT2: 0x8CE2;\n    readonly COLOR_ATTACHMENT3: 0x8CE3;\n    readonly COLOR_ATTACHMENT4: 0x8CE4;\n    readonly COLOR_ATTACHMENT5: 0x8CE5;\n    readonly COLOR_ATTACHMENT6: 0x8CE6;\n    readonly COLOR_ATTACHMENT7: 0x8CE7;\n    readonly COLOR_ATTACHMENT8: 0x8CE8;\n    readonly COLOR_ATTACHMENT9: 0x8CE9;\n    readonly COLOR_ATTACHMENT10: 0x8CEA;\n    readonly COLOR_ATTACHMENT11: 0x8CEB;\n    readonly COLOR_ATTACHMENT12: 0x8CEC;\n    readonly COLOR_ATTACHMENT13: 0x8CED;\n    readonly COLOR_ATTACHMENT14: 0x8CEE;\n    readonly COLOR_ATTACHMENT15: 0x8CEF;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n    readonly MAX_SAMPLES: 0x8D57;\n    readonly HALF_FLOAT: 0x140B;\n    readonly RG: 0x8227;\n    readonly RG_INTEGER: 0x8228;\n    readonly R8: 0x8229;\n    readonly RG8: 0x822B;\n    readonly R16F: 0x822D;\n    readonly R32F: 0x822E;\n    readonly RG16F: 0x822F;\n    readonly RG32F: 0x8230;\n    readonly R8I: 0x8231;\n    readonly R8UI: 0x8232;\n    readonly R16I: 0x8233;\n    readonly R16UI: 0x8234;\n    readonly R32I: 0x8235;\n    readonly R32UI: 0x8236;\n    readonly RG8I: 0x8237;\n    readonly RG8UI: 0x8238;\n    readonly RG16I: 0x8239;\n    readonly RG16UI: 0x823A;\n    readonly RG32I: 0x823B;\n    readonly RG32UI: 0x823C;\n    readonly VERTEX_ARRAY_BINDING: 0x85B5;\n    readonly R8_SNORM: 0x8F94;\n    readonly RG8_SNORM: 0x8F95;\n    readonly RGB8_SNORM: 0x8F96;\n    readonly RGBA8_SNORM: 0x8F97;\n    readonly SIGNED_NORMALIZED: 0x8F9C;\n    readonly COPY_READ_BUFFER: 0x8F36;\n    readonly COPY_WRITE_BUFFER: 0x8F37;\n    readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n    readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n    readonly UNIFORM_BUFFER: 0x8A11;\n    readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n    readonly UNIFORM_BUFFER_START: 0x8A29;\n    readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n    readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n    readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n    readonly UNIFORM_TYPE: 0x8A37;\n    readonly UNIFORM_SIZE: 0x8A38;\n    readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n    readonly UNIFORM_OFFSET: 0x8A3B;\n    readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n    readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n    readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n    readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n    readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n    readonly INVALID_INDEX: 0xFFFFFFFF;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n    readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n    readonly OBJECT_TYPE: 0x9112;\n    readonly SYNC_CONDITION: 0x9113;\n    readonly SYNC_STATUS: 0x9114;\n    readonly SYNC_FLAGS: 0x9115;\n    readonly SYNC_FENCE: 0x9116;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n    readonly UNSIGNALED: 0x9118;\n    readonly SIGNALED: 0x9119;\n    readonly ALREADY_SIGNALED: 0x911A;\n    readonly TIMEOUT_EXPIRED: 0x911B;\n    readonly CONDITION_SATISFIED: 0x911C;\n    readonly WAIT_FAILED: 0x911D;\n    readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n    readonly ANY_SAMPLES_PASSED: 0x8C2F;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n    readonly SAMPLER_BINDING: 0x8919;\n    readonly RGB10_A2UI: 0x906F;\n    readonly INT_2_10_10_10_REV: 0x8D9F;\n    readonly TRANSFORM_FEEDBACK: 0x8E22;\n    readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n    readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n    readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n    readonly MAX_ELEMENT_INDEX: 0x8D6B;\n    readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n    readonly TIMEOUT_IGNORED: -1;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\n    readonly DEPTH_BUFFER_BIT: 0x00000100;\n    readonly STENCIL_BUFFER_BIT: 0x00000400;\n    readonly COLOR_BUFFER_BIT: 0x00004000;\n    readonly POINTS: 0x0000;\n    readonly LINES: 0x0001;\n    readonly LINE_LOOP: 0x0002;\n    readonly LINE_STRIP: 0x0003;\n    readonly TRIANGLES: 0x0004;\n    readonly TRIANGLE_STRIP: 0x0005;\n    readonly TRIANGLE_FAN: 0x0006;\n    readonly ZERO: 0;\n    readonly ONE: 1;\n    readonly SRC_COLOR: 0x0300;\n    readonly ONE_MINUS_SRC_COLOR: 0x0301;\n    readonly SRC_ALPHA: 0x0302;\n    readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n    readonly DST_ALPHA: 0x0304;\n    readonly ONE_MINUS_DST_ALPHA: 0x0305;\n    readonly DST_COLOR: 0x0306;\n    readonly ONE_MINUS_DST_COLOR: 0x0307;\n    readonly SRC_ALPHA_SATURATE: 0x0308;\n    readonly FUNC_ADD: 0x8006;\n    readonly BLEND_EQUATION: 0x8009;\n    readonly BLEND_EQUATION_RGB: 0x8009;\n    readonly BLEND_EQUATION_ALPHA: 0x883D;\n    readonly FUNC_SUBTRACT: 0x800A;\n    readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n    readonly BLEND_DST_RGB: 0x80C8;\n    readonly BLEND_SRC_RGB: 0x80C9;\n    readonly BLEND_DST_ALPHA: 0x80CA;\n    readonly BLEND_SRC_ALPHA: 0x80CB;\n    readonly CONSTANT_COLOR: 0x8001;\n    readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n    readonly CONSTANT_ALPHA: 0x8003;\n    readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n    readonly BLEND_COLOR: 0x8005;\n    readonly ARRAY_BUFFER: 0x8892;\n    readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n    readonly ARRAY_BUFFER_BINDING: 0x8894;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n    readonly STREAM_DRAW: 0x88E0;\n    readonly STATIC_DRAW: 0x88E4;\n    readonly DYNAMIC_DRAW: 0x88E8;\n    readonly BUFFER_SIZE: 0x8764;\n    readonly BUFFER_USAGE: 0x8765;\n    readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n    readonly FRONT: 0x0404;\n    readonly BACK: 0x0405;\n    readonly FRONT_AND_BACK: 0x0408;\n    readonly CULL_FACE: 0x0B44;\n    readonly BLEND: 0x0BE2;\n    readonly DITHER: 0x0BD0;\n    readonly STENCIL_TEST: 0x0B90;\n    readonly DEPTH_TEST: 0x0B71;\n    readonly SCISSOR_TEST: 0x0C11;\n    readonly POLYGON_OFFSET_FILL: 0x8037;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n    readonly SAMPLE_COVERAGE: 0x80A0;\n    readonly NO_ERROR: 0;\n    readonly INVALID_ENUM: 0x0500;\n    readonly INVALID_VALUE: 0x0501;\n    readonly INVALID_OPERATION: 0x0502;\n    readonly OUT_OF_MEMORY: 0x0505;\n    readonly CW: 0x0900;\n    readonly CCW: 0x0901;\n    readonly LINE_WIDTH: 0x0B21;\n    readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n    readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n    readonly CULL_FACE_MODE: 0x0B45;\n    readonly FRONT_FACE: 0x0B46;\n    readonly DEPTH_RANGE: 0x0B70;\n    readonly DEPTH_WRITEMASK: 0x0B72;\n    readonly DEPTH_CLEAR_VALUE: 0x0B73;\n    readonly DEPTH_FUNC: 0x0B74;\n    readonly STENCIL_CLEAR_VALUE: 0x0B91;\n    readonly STENCIL_FUNC: 0x0B92;\n    readonly STENCIL_FAIL: 0x0B94;\n    readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n    readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n    readonly STENCIL_REF: 0x0B97;\n    readonly STENCIL_VALUE_MASK: 0x0B93;\n    readonly STENCIL_WRITEMASK: 0x0B98;\n    readonly STENCIL_BACK_FUNC: 0x8800;\n    readonly STENCIL_BACK_FAIL: 0x8801;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n    readonly STENCIL_BACK_REF: 0x8CA3;\n    readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n    readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n    readonly VIEWPORT: 0x0BA2;\n    readonly SCISSOR_BOX: 0x0C10;\n    readonly COLOR_CLEAR_VALUE: 0x0C22;\n    readonly COLOR_WRITEMASK: 0x0C23;\n    readonly UNPACK_ALIGNMENT: 0x0CF5;\n    readonly PACK_ALIGNMENT: 0x0D05;\n    readonly MAX_TEXTURE_SIZE: 0x0D33;\n    readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n    readonly SUBPIXEL_BITS: 0x0D50;\n    readonly RED_BITS: 0x0D52;\n    readonly GREEN_BITS: 0x0D53;\n    readonly BLUE_BITS: 0x0D54;\n    readonly ALPHA_BITS: 0x0D55;\n    readonly DEPTH_BITS: 0x0D56;\n    readonly STENCIL_BITS: 0x0D57;\n    readonly POLYGON_OFFSET_UNITS: 0x2A00;\n    readonly POLYGON_OFFSET_FACTOR: 0x8038;\n    readonly TEXTURE_BINDING_2D: 0x8069;\n    readonly SAMPLE_BUFFERS: 0x80A8;\n    readonly SAMPLES: 0x80A9;\n    readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n    readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n    readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n    readonly DONT_CARE: 0x1100;\n    readonly FASTEST: 0x1101;\n    readonly NICEST: 0x1102;\n    readonly GENERATE_MIPMAP_HINT: 0x8192;\n    readonly BYTE: 0x1400;\n    readonly UNSIGNED_BYTE: 0x1401;\n    readonly SHORT: 0x1402;\n    readonly UNSIGNED_SHORT: 0x1403;\n    readonly INT: 0x1404;\n    readonly UNSIGNED_INT: 0x1405;\n    readonly FLOAT: 0x1406;\n    readonly DEPTH_COMPONENT: 0x1902;\n    readonly ALPHA: 0x1906;\n    readonly RGB: 0x1907;\n    readonly RGBA: 0x1908;\n    readonly LUMINANCE: 0x1909;\n    readonly LUMINANCE_ALPHA: 0x190A;\n    readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n    readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n    readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n    readonly FRAGMENT_SHADER: 0x8B30;\n    readonly VERTEX_SHADER: 0x8B31;\n    readonly MAX_VERTEX_ATTRIBS: 0x8869;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n    readonly MAX_VARYING_VECTORS: 0x8DFC;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n    readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n    readonly SHADER_TYPE: 0x8B4F;\n    readonly DELETE_STATUS: 0x8B80;\n    readonly LINK_STATUS: 0x8B82;\n    readonly VALIDATE_STATUS: 0x8B83;\n    readonly ATTACHED_SHADERS: 0x8B85;\n    readonly ACTIVE_UNIFORMS: 0x8B86;\n    readonly ACTIVE_ATTRIBUTES: 0x8B89;\n    readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n    readonly CURRENT_PROGRAM: 0x8B8D;\n    readonly NEVER: 0x0200;\n    readonly LESS: 0x0201;\n    readonly EQUAL: 0x0202;\n    readonly LEQUAL: 0x0203;\n    readonly GREATER: 0x0204;\n    readonly NOTEQUAL: 0x0205;\n    readonly GEQUAL: 0x0206;\n    readonly ALWAYS: 0x0207;\n    readonly KEEP: 0x1E00;\n    readonly REPLACE: 0x1E01;\n    readonly INCR: 0x1E02;\n    readonly DECR: 0x1E03;\n    readonly INVERT: 0x150A;\n    readonly INCR_WRAP: 0x8507;\n    readonly DECR_WRAP: 0x8508;\n    readonly VENDOR: 0x1F00;\n    readonly RENDERER: 0x1F01;\n    readonly VERSION: 0x1F02;\n    readonly NEAREST: 0x2600;\n    readonly LINEAR: 0x2601;\n    readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n    readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n    readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n    readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n    readonly TEXTURE_MAG_FILTER: 0x2800;\n    readonly TEXTURE_MIN_FILTER: 0x2801;\n    readonly TEXTURE_WRAP_S: 0x2802;\n    readonly TEXTURE_WRAP_T: 0x2803;\n    readonly TEXTURE_2D: 0x0DE1;\n    readonly TEXTURE: 0x1702;\n    readonly TEXTURE_CUBE_MAP: 0x8513;\n    readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n    readonly TEXTURE0: 0x84C0;\n    readonly TEXTURE1: 0x84C1;\n    readonly TEXTURE2: 0x84C2;\n    readonly TEXTURE3: 0x84C3;\n    readonly TEXTURE4: 0x84C4;\n    readonly TEXTURE5: 0x84C5;\n    readonly TEXTURE6: 0x84C6;\n    readonly TEXTURE7: 0x84C7;\n    readonly TEXTURE8: 0x84C8;\n    readonly TEXTURE9: 0x84C9;\n    readonly TEXTURE10: 0x84CA;\n    readonly TEXTURE11: 0x84CB;\n    readonly TEXTURE12: 0x84CC;\n    readonly TEXTURE13: 0x84CD;\n    readonly TEXTURE14: 0x84CE;\n    readonly TEXTURE15: 0x84CF;\n    readonly TEXTURE16: 0x84D0;\n    readonly TEXTURE17: 0x84D1;\n    readonly TEXTURE18: 0x84D2;\n    readonly TEXTURE19: 0x84D3;\n    readonly TEXTURE20: 0x84D4;\n    readonly TEXTURE21: 0x84D5;\n    readonly TEXTURE22: 0x84D6;\n    readonly TEXTURE23: 0x84D7;\n    readonly TEXTURE24: 0x84D8;\n    readonly TEXTURE25: 0x84D9;\n    readonly TEXTURE26: 0x84DA;\n    readonly TEXTURE27: 0x84DB;\n    readonly TEXTURE28: 0x84DC;\n    readonly TEXTURE29: 0x84DD;\n    readonly TEXTURE30: 0x84DE;\n    readonly TEXTURE31: 0x84DF;\n    readonly ACTIVE_TEXTURE: 0x84E0;\n    readonly REPEAT: 0x2901;\n    readonly CLAMP_TO_EDGE: 0x812F;\n    readonly MIRRORED_REPEAT: 0x8370;\n    readonly FLOAT_VEC2: 0x8B50;\n    readonly FLOAT_VEC3: 0x8B51;\n    readonly FLOAT_VEC4: 0x8B52;\n    readonly INT_VEC2: 0x8B53;\n    readonly INT_VEC3: 0x8B54;\n    readonly INT_VEC4: 0x8B55;\n    readonly BOOL: 0x8B56;\n    readonly BOOL_VEC2: 0x8B57;\n    readonly BOOL_VEC3: 0x8B58;\n    readonly BOOL_VEC4: 0x8B59;\n    readonly FLOAT_MAT2: 0x8B5A;\n    readonly FLOAT_MAT3: 0x8B5B;\n    readonly FLOAT_MAT4: 0x8B5C;\n    readonly SAMPLER_2D: 0x8B5E;\n    readonly SAMPLER_CUBE: 0x8B60;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n    readonly COMPILE_STATUS: 0x8B81;\n    readonly LOW_FLOAT: 0x8DF0;\n    readonly MEDIUM_FLOAT: 0x8DF1;\n    readonly HIGH_FLOAT: 0x8DF2;\n    readonly LOW_INT: 0x8DF3;\n    readonly MEDIUM_INT: 0x8DF4;\n    readonly HIGH_INT: 0x8DF5;\n    readonly FRAMEBUFFER: 0x8D40;\n    readonly RENDERBUFFER: 0x8D41;\n    readonly RGBA4: 0x8056;\n    readonly RGB5_A1: 0x8057;\n    readonly RGB565: 0x8D62;\n    readonly DEPTH_COMPONENT16: 0x81A5;\n    readonly STENCIL_INDEX8: 0x8D48;\n    readonly DEPTH_STENCIL: 0x84F9;\n    readonly RENDERBUFFER_WIDTH: 0x8D42;\n    readonly RENDERBUFFER_HEIGHT: 0x8D43;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n    readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n    readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n    readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n    readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n    readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n    readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n    readonly COLOR_ATTACHMENT0: 0x8CE0;\n    readonly DEPTH_ATTACHMENT: 0x8D00;\n    readonly STENCIL_ATTACHMENT: 0x8D20;\n    readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n    readonly NONE: 0;\n    readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n    readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n    readonly FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly RENDERBUFFER_BINDING: 0x8CA7;\n    readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n    readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n    readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n    readonly CONTEXT_LOST_WEBGL: 0x9242;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n    readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n};\n\ninterface WebGL2RenderingContextBase {\n    beginQuery(target: GLenum, query: WebGLQuery): void;\n    beginTransformFeedback(primitiveMode: GLenum): void;\n    bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n    bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n    bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n    bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n    bindVertexArray(array: WebGLVertexArrayObject | null): void;\n    blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n    clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n    clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n    clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n    clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n    clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n    compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n    copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    createQuery(): WebGLQuery | null;\n    createSampler(): WebGLSampler | null;\n    createTransformFeedback(): WebGLTransformFeedback | null;\n    createVertexArray(): WebGLVertexArrayObject | null;\n    deleteQuery(query: WebGLQuery | null): void;\n    deleteSampler(sampler: WebGLSampler | null): void;\n    deleteSync(sync: WebGLSync | null): void;\n    deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n    deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n    drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n    drawBuffers(buffers: GLenum[]): void;\n    drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n    drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n    endQuery(target: GLenum): void;\n    endTransformFeedback(): void;\n    fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n    framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n    getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n    getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n    getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n    getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n    getFragDataLocation(program: WebGLProgram, name: string): GLint;\n    getIndexedParameter(target: GLenum, index: GLuint): any;\n    getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n    getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n    getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n    getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n    getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n    getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n    getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n    getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n    invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n    invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    isQuery(query: WebGLQuery | null): GLboolean;\n    isSampler(sampler: WebGLSampler | null): GLboolean;\n    isSync(sync: WebGLSync | null): GLboolean;\n    isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n    isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n    pauseTransformFeedback(): void;\n    readBuffer(src: GLenum): void;\n    renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n    resumeTransformFeedback(): void;\n    samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n    samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n    texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n    texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n    texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n    transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n    uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n    uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n    uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n    uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n    uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n    uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n    vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n    vertexAttribI4iv(index: GLuint, values: Int32List): void;\n    vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n    vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n    vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n    waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n    readonly READ_BUFFER: 0x0C02;\n    readonly UNPACK_ROW_LENGTH: 0x0CF2;\n    readonly UNPACK_SKIP_ROWS: 0x0CF3;\n    readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n    readonly PACK_ROW_LENGTH: 0x0D02;\n    readonly PACK_SKIP_ROWS: 0x0D03;\n    readonly PACK_SKIP_PIXELS: 0x0D04;\n    readonly COLOR: 0x1800;\n    readonly DEPTH: 0x1801;\n    readonly STENCIL: 0x1802;\n    readonly RED: 0x1903;\n    readonly RGB8: 0x8051;\n    readonly RGBA8: 0x8058;\n    readonly RGB10_A2: 0x8059;\n    readonly TEXTURE_BINDING_3D: 0x806A;\n    readonly UNPACK_SKIP_IMAGES: 0x806D;\n    readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n    readonly TEXTURE_3D: 0x806F;\n    readonly TEXTURE_WRAP_R: 0x8072;\n    readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n    readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n    readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n    readonly MAX_ELEMENTS_INDICES: 0x80E9;\n    readonly TEXTURE_MIN_LOD: 0x813A;\n    readonly TEXTURE_MAX_LOD: 0x813B;\n    readonly TEXTURE_BASE_LEVEL: 0x813C;\n    readonly TEXTURE_MAX_LEVEL: 0x813D;\n    readonly MIN: 0x8007;\n    readonly MAX: 0x8008;\n    readonly DEPTH_COMPONENT24: 0x81A6;\n    readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n    readonly TEXTURE_COMPARE_MODE: 0x884C;\n    readonly TEXTURE_COMPARE_FUNC: 0x884D;\n    readonly CURRENT_QUERY: 0x8865;\n    readonly QUERY_RESULT: 0x8866;\n    readonly QUERY_RESULT_AVAILABLE: 0x8867;\n    readonly STREAM_READ: 0x88E1;\n    readonly STREAM_COPY: 0x88E2;\n    readonly STATIC_READ: 0x88E5;\n    readonly STATIC_COPY: 0x88E6;\n    readonly DYNAMIC_READ: 0x88E9;\n    readonly DYNAMIC_COPY: 0x88EA;\n    readonly MAX_DRAW_BUFFERS: 0x8824;\n    readonly DRAW_BUFFER0: 0x8825;\n    readonly DRAW_BUFFER1: 0x8826;\n    readonly DRAW_BUFFER2: 0x8827;\n    readonly DRAW_BUFFER3: 0x8828;\n    readonly DRAW_BUFFER4: 0x8829;\n    readonly DRAW_BUFFER5: 0x882A;\n    readonly DRAW_BUFFER6: 0x882B;\n    readonly DRAW_BUFFER7: 0x882C;\n    readonly DRAW_BUFFER8: 0x882D;\n    readonly DRAW_BUFFER9: 0x882E;\n    readonly DRAW_BUFFER10: 0x882F;\n    readonly DRAW_BUFFER11: 0x8830;\n    readonly DRAW_BUFFER12: 0x8831;\n    readonly DRAW_BUFFER13: 0x8832;\n    readonly DRAW_BUFFER14: 0x8833;\n    readonly DRAW_BUFFER15: 0x8834;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n    readonly SAMPLER_3D: 0x8B5F;\n    readonly SAMPLER_2D_SHADOW: 0x8B62;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n    readonly PIXEL_PACK_BUFFER: 0x88EB;\n    readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n    readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n    readonly FLOAT_MAT2x3: 0x8B65;\n    readonly FLOAT_MAT2x4: 0x8B66;\n    readonly FLOAT_MAT3x2: 0x8B67;\n    readonly FLOAT_MAT3x4: 0x8B68;\n    readonly FLOAT_MAT4x2: 0x8B69;\n    readonly FLOAT_MAT4x3: 0x8B6A;\n    readonly SRGB: 0x8C40;\n    readonly SRGB8: 0x8C41;\n    readonly SRGB8_ALPHA8: 0x8C43;\n    readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n    readonly RGBA32F: 0x8814;\n    readonly RGB32F: 0x8815;\n    readonly RGBA16F: 0x881A;\n    readonly RGB16F: 0x881B;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n    readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n    readonly TEXTURE_2D_ARRAY: 0x8C1A;\n    readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n    readonly R11F_G11F_B10F: 0x8C3A;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n    readonly RGB9_E5: 0x8C3D;\n    readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n    readonly RASTERIZER_DISCARD: 0x8C89;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n    readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n    readonly SEPARATE_ATTRIBS: 0x8C8D;\n    readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n    readonly RGBA32UI: 0x8D70;\n    readonly RGB32UI: 0x8D71;\n    readonly RGBA16UI: 0x8D76;\n    readonly RGB16UI: 0x8D77;\n    readonly RGBA8UI: 0x8D7C;\n    readonly RGB8UI: 0x8D7D;\n    readonly RGBA32I: 0x8D82;\n    readonly RGB32I: 0x8D83;\n    readonly RGBA16I: 0x8D88;\n    readonly RGB16I: 0x8D89;\n    readonly RGBA8I: 0x8D8E;\n    readonly RGB8I: 0x8D8F;\n    readonly RED_INTEGER: 0x8D94;\n    readonly RGB_INTEGER: 0x8D98;\n    readonly RGBA_INTEGER: 0x8D99;\n    readonly SAMPLER_2D_ARRAY: 0x8DC1;\n    readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n    readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n    readonly UNSIGNED_INT_VEC2: 0x8DC6;\n    readonly UNSIGNED_INT_VEC3: 0x8DC7;\n    readonly UNSIGNED_INT_VEC4: 0x8DC8;\n    readonly INT_SAMPLER_2D: 0x8DCA;\n    readonly INT_SAMPLER_3D: 0x8DCB;\n    readonly INT_SAMPLER_CUBE: 0x8DCC;\n    readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n    readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n    readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n    readonly DEPTH_COMPONENT32F: 0x8CAC;\n    readonly DEPTH32F_STENCIL8: 0x8CAD;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n    readonly FRAMEBUFFER_DEFAULT: 0x8218;\n    readonly UNSIGNED_INT_24_8: 0x84FA;\n    readonly DEPTH24_STENCIL8: 0x88F0;\n    readonly UNSIGNED_NORMALIZED: 0x8C17;\n    readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly READ_FRAMEBUFFER: 0x8CA8;\n    readonly DRAW_FRAMEBUFFER: 0x8CA9;\n    readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n    readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n    readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n    readonly COLOR_ATTACHMENT1: 0x8CE1;\n    readonly COLOR_ATTACHMENT2: 0x8CE2;\n    readonly COLOR_ATTACHMENT3: 0x8CE3;\n    readonly COLOR_ATTACHMENT4: 0x8CE4;\n    readonly COLOR_ATTACHMENT5: 0x8CE5;\n    readonly COLOR_ATTACHMENT6: 0x8CE6;\n    readonly COLOR_ATTACHMENT7: 0x8CE7;\n    readonly COLOR_ATTACHMENT8: 0x8CE8;\n    readonly COLOR_ATTACHMENT9: 0x8CE9;\n    readonly COLOR_ATTACHMENT10: 0x8CEA;\n    readonly COLOR_ATTACHMENT11: 0x8CEB;\n    readonly COLOR_ATTACHMENT12: 0x8CEC;\n    readonly COLOR_ATTACHMENT13: 0x8CED;\n    readonly COLOR_ATTACHMENT14: 0x8CEE;\n    readonly COLOR_ATTACHMENT15: 0x8CEF;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n    readonly MAX_SAMPLES: 0x8D57;\n    readonly HALF_FLOAT: 0x140B;\n    readonly RG: 0x8227;\n    readonly RG_INTEGER: 0x8228;\n    readonly R8: 0x8229;\n    readonly RG8: 0x822B;\n    readonly R16F: 0x822D;\n    readonly R32F: 0x822E;\n    readonly RG16F: 0x822F;\n    readonly RG32F: 0x8230;\n    readonly R8I: 0x8231;\n    readonly R8UI: 0x8232;\n    readonly R16I: 0x8233;\n    readonly R16UI: 0x8234;\n    readonly R32I: 0x8235;\n    readonly R32UI: 0x8236;\n    readonly RG8I: 0x8237;\n    readonly RG8UI: 0x8238;\n    readonly RG16I: 0x8239;\n    readonly RG16UI: 0x823A;\n    readonly RG32I: 0x823B;\n    readonly RG32UI: 0x823C;\n    readonly VERTEX_ARRAY_BINDING: 0x85B5;\n    readonly R8_SNORM: 0x8F94;\n    readonly RG8_SNORM: 0x8F95;\n    readonly RGB8_SNORM: 0x8F96;\n    readonly RGBA8_SNORM: 0x8F97;\n    readonly SIGNED_NORMALIZED: 0x8F9C;\n    readonly COPY_READ_BUFFER: 0x8F36;\n    readonly COPY_WRITE_BUFFER: 0x8F37;\n    readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n    readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n    readonly UNIFORM_BUFFER: 0x8A11;\n    readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n    readonly UNIFORM_BUFFER_START: 0x8A29;\n    readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n    readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n    readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n    readonly UNIFORM_TYPE: 0x8A37;\n    readonly UNIFORM_SIZE: 0x8A38;\n    readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n    readonly UNIFORM_OFFSET: 0x8A3B;\n    readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n    readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n    readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n    readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n    readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n    readonly INVALID_INDEX: 0xFFFFFFFF;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n    readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n    readonly OBJECT_TYPE: 0x9112;\n    readonly SYNC_CONDITION: 0x9113;\n    readonly SYNC_STATUS: 0x9114;\n    readonly SYNC_FLAGS: 0x9115;\n    readonly SYNC_FENCE: 0x9116;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n    readonly UNSIGNALED: 0x9118;\n    readonly SIGNALED: 0x9119;\n    readonly ALREADY_SIGNALED: 0x911A;\n    readonly TIMEOUT_EXPIRED: 0x911B;\n    readonly CONDITION_SATISFIED: 0x911C;\n    readonly WAIT_FAILED: 0x911D;\n    readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n    readonly ANY_SAMPLES_PASSED: 0x8C2F;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n    readonly SAMPLER_BINDING: 0x8919;\n    readonly RGB10_A2UI: 0x906F;\n    readonly INT_2_10_10_10_REV: 0x8D9F;\n    readonly TRANSFORM_FEEDBACK: 0x8E22;\n    readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n    readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n    readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n    readonly MAX_ELEMENT_INDEX: 0x8D6B;\n    readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n    readonly TIMEOUT_IGNORED: -1;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\n}\n\ninterface WebGL2RenderingContextOverloads {\n    bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n    bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n    bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n    bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n    bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n    compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n    uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n    readonly name: string;\n    readonly size: GLint;\n    readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n    prototype: WebGLActiveInfo;\n    new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer {\n}\n\ndeclare var WebGLBuffer: {\n    prototype: WebGLBuffer;\n    new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n    readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n    prototype: WebGLContextEvent;\n    new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer {\n}\n\ndeclare var WebGLFramebuffer: {\n    prototype: WebGLFramebuffer;\n    new(): WebGLFramebuffer;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram {\n}\n\ndeclare var WebGLProgram: {\n    prototype: WebGLProgram;\n    new(): WebGLProgram;\n};\n\ninterface WebGLQuery {\n}\n\ndeclare var WebGLQuery: {\n    prototype: WebGLQuery;\n    new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer {\n}\n\ndeclare var WebGLRenderbuffer: {\n    prototype: WebGLRenderbuffer;\n    new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n    prototype: WebGLRenderingContext;\n    new(): WebGLRenderingContext;\n    readonly DEPTH_BUFFER_BIT: 0x00000100;\n    readonly STENCIL_BUFFER_BIT: 0x00000400;\n    readonly COLOR_BUFFER_BIT: 0x00004000;\n    readonly POINTS: 0x0000;\n    readonly LINES: 0x0001;\n    readonly LINE_LOOP: 0x0002;\n    readonly LINE_STRIP: 0x0003;\n    readonly TRIANGLES: 0x0004;\n    readonly TRIANGLE_STRIP: 0x0005;\n    readonly TRIANGLE_FAN: 0x0006;\n    readonly ZERO: 0;\n    readonly ONE: 1;\n    readonly SRC_COLOR: 0x0300;\n    readonly ONE_MINUS_SRC_COLOR: 0x0301;\n    readonly SRC_ALPHA: 0x0302;\n    readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n    readonly DST_ALPHA: 0x0304;\n    readonly ONE_MINUS_DST_ALPHA: 0x0305;\n    readonly DST_COLOR: 0x0306;\n    readonly ONE_MINUS_DST_COLOR: 0x0307;\n    readonly SRC_ALPHA_SATURATE: 0x0308;\n    readonly FUNC_ADD: 0x8006;\n    readonly BLEND_EQUATION: 0x8009;\n    readonly BLEND_EQUATION_RGB: 0x8009;\n    readonly BLEND_EQUATION_ALPHA: 0x883D;\n    readonly FUNC_SUBTRACT: 0x800A;\n    readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n    readonly BLEND_DST_RGB: 0x80C8;\n    readonly BLEND_SRC_RGB: 0x80C9;\n    readonly BLEND_DST_ALPHA: 0x80CA;\n    readonly BLEND_SRC_ALPHA: 0x80CB;\n    readonly CONSTANT_COLOR: 0x8001;\n    readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n    readonly CONSTANT_ALPHA: 0x8003;\n    readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n    readonly BLEND_COLOR: 0x8005;\n    readonly ARRAY_BUFFER: 0x8892;\n    readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n    readonly ARRAY_BUFFER_BINDING: 0x8894;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n    readonly STREAM_DRAW: 0x88E0;\n    readonly STATIC_DRAW: 0x88E4;\n    readonly DYNAMIC_DRAW: 0x88E8;\n    readonly BUFFER_SIZE: 0x8764;\n    readonly BUFFER_USAGE: 0x8765;\n    readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n    readonly FRONT: 0x0404;\n    readonly BACK: 0x0405;\n    readonly FRONT_AND_BACK: 0x0408;\n    readonly CULL_FACE: 0x0B44;\n    readonly BLEND: 0x0BE2;\n    readonly DITHER: 0x0BD0;\n    readonly STENCIL_TEST: 0x0B90;\n    readonly DEPTH_TEST: 0x0B71;\n    readonly SCISSOR_TEST: 0x0C11;\n    readonly POLYGON_OFFSET_FILL: 0x8037;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n    readonly SAMPLE_COVERAGE: 0x80A0;\n    readonly NO_ERROR: 0;\n    readonly INVALID_ENUM: 0x0500;\n    readonly INVALID_VALUE: 0x0501;\n    readonly INVALID_OPERATION: 0x0502;\n    readonly OUT_OF_MEMORY: 0x0505;\n    readonly CW: 0x0900;\n    readonly CCW: 0x0901;\n    readonly LINE_WIDTH: 0x0B21;\n    readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n    readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n    readonly CULL_FACE_MODE: 0x0B45;\n    readonly FRONT_FACE: 0x0B46;\n    readonly DEPTH_RANGE: 0x0B70;\n    readonly DEPTH_WRITEMASK: 0x0B72;\n    readonly DEPTH_CLEAR_VALUE: 0x0B73;\n    readonly DEPTH_FUNC: 0x0B74;\n    readonly STENCIL_CLEAR_VALUE: 0x0B91;\n    readonly STENCIL_FUNC: 0x0B92;\n    readonly STENCIL_FAIL: 0x0B94;\n    readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n    readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n    readonly STENCIL_REF: 0x0B97;\n    readonly STENCIL_VALUE_MASK: 0x0B93;\n    readonly STENCIL_WRITEMASK: 0x0B98;\n    readonly STENCIL_BACK_FUNC: 0x8800;\n    readonly STENCIL_BACK_FAIL: 0x8801;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n    readonly STENCIL_BACK_REF: 0x8CA3;\n    readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n    readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n    readonly VIEWPORT: 0x0BA2;\n    readonly SCISSOR_BOX: 0x0C10;\n    readonly COLOR_CLEAR_VALUE: 0x0C22;\n    readonly COLOR_WRITEMASK: 0x0C23;\n    readonly UNPACK_ALIGNMENT: 0x0CF5;\n    readonly PACK_ALIGNMENT: 0x0D05;\n    readonly MAX_TEXTURE_SIZE: 0x0D33;\n    readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n    readonly SUBPIXEL_BITS: 0x0D50;\n    readonly RED_BITS: 0x0D52;\n    readonly GREEN_BITS: 0x0D53;\n    readonly BLUE_BITS: 0x0D54;\n    readonly ALPHA_BITS: 0x0D55;\n    readonly DEPTH_BITS: 0x0D56;\n    readonly STENCIL_BITS: 0x0D57;\n    readonly POLYGON_OFFSET_UNITS: 0x2A00;\n    readonly POLYGON_OFFSET_FACTOR: 0x8038;\n    readonly TEXTURE_BINDING_2D: 0x8069;\n    readonly SAMPLE_BUFFERS: 0x80A8;\n    readonly SAMPLES: 0x80A9;\n    readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n    readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n    readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n    readonly DONT_CARE: 0x1100;\n    readonly FASTEST: 0x1101;\n    readonly NICEST: 0x1102;\n    readonly GENERATE_MIPMAP_HINT: 0x8192;\n    readonly BYTE: 0x1400;\n    readonly UNSIGNED_BYTE: 0x1401;\n    readonly SHORT: 0x1402;\n    readonly UNSIGNED_SHORT: 0x1403;\n    readonly INT: 0x1404;\n    readonly UNSIGNED_INT: 0x1405;\n    readonly FLOAT: 0x1406;\n    readonly DEPTH_COMPONENT: 0x1902;\n    readonly ALPHA: 0x1906;\n    readonly RGB: 0x1907;\n    readonly RGBA: 0x1908;\n    readonly LUMINANCE: 0x1909;\n    readonly LUMINANCE_ALPHA: 0x190A;\n    readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n    readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n    readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n    readonly FRAGMENT_SHADER: 0x8B30;\n    readonly VERTEX_SHADER: 0x8B31;\n    readonly MAX_VERTEX_ATTRIBS: 0x8869;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n    readonly MAX_VARYING_VECTORS: 0x8DFC;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n    readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n    readonly SHADER_TYPE: 0x8B4F;\n    readonly DELETE_STATUS: 0x8B80;\n    readonly LINK_STATUS: 0x8B82;\n    readonly VALIDATE_STATUS: 0x8B83;\n    readonly ATTACHED_SHADERS: 0x8B85;\n    readonly ACTIVE_UNIFORMS: 0x8B86;\n    readonly ACTIVE_ATTRIBUTES: 0x8B89;\n    readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n    readonly CURRENT_PROGRAM: 0x8B8D;\n    readonly NEVER: 0x0200;\n    readonly LESS: 0x0201;\n    readonly EQUAL: 0x0202;\n    readonly LEQUAL: 0x0203;\n    readonly GREATER: 0x0204;\n    readonly NOTEQUAL: 0x0205;\n    readonly GEQUAL: 0x0206;\n    readonly ALWAYS: 0x0207;\n    readonly KEEP: 0x1E00;\n    readonly REPLACE: 0x1E01;\n    readonly INCR: 0x1E02;\n    readonly DECR: 0x1E03;\n    readonly INVERT: 0x150A;\n    readonly INCR_WRAP: 0x8507;\n    readonly DECR_WRAP: 0x8508;\n    readonly VENDOR: 0x1F00;\n    readonly RENDERER: 0x1F01;\n    readonly VERSION: 0x1F02;\n    readonly NEAREST: 0x2600;\n    readonly LINEAR: 0x2601;\n    readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n    readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n    readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n    readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n    readonly TEXTURE_MAG_FILTER: 0x2800;\n    readonly TEXTURE_MIN_FILTER: 0x2801;\n    readonly TEXTURE_WRAP_S: 0x2802;\n    readonly TEXTURE_WRAP_T: 0x2803;\n    readonly TEXTURE_2D: 0x0DE1;\n    readonly TEXTURE: 0x1702;\n    readonly TEXTURE_CUBE_MAP: 0x8513;\n    readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n    readonly TEXTURE0: 0x84C0;\n    readonly TEXTURE1: 0x84C1;\n    readonly TEXTURE2: 0x84C2;\n    readonly TEXTURE3: 0x84C3;\n    readonly TEXTURE4: 0x84C4;\n    readonly TEXTURE5: 0x84C5;\n    readonly TEXTURE6: 0x84C6;\n    readonly TEXTURE7: 0x84C7;\n    readonly TEXTURE8: 0x84C8;\n    readonly TEXTURE9: 0x84C9;\n    readonly TEXTURE10: 0x84CA;\n    readonly TEXTURE11: 0x84CB;\n    readonly TEXTURE12: 0x84CC;\n    readonly TEXTURE13: 0x84CD;\n    readonly TEXTURE14: 0x84CE;\n    readonly TEXTURE15: 0x84CF;\n    readonly TEXTURE16: 0x84D0;\n    readonly TEXTURE17: 0x84D1;\n    readonly TEXTURE18: 0x84D2;\n    readonly TEXTURE19: 0x84D3;\n    readonly TEXTURE20: 0x84D4;\n    readonly TEXTURE21: 0x84D5;\n    readonly TEXTURE22: 0x84D6;\n    readonly TEXTURE23: 0x84D7;\n    readonly TEXTURE24: 0x84D8;\n    readonly TEXTURE25: 0x84D9;\n    readonly TEXTURE26: 0x84DA;\n    readonly TEXTURE27: 0x84DB;\n    readonly TEXTURE28: 0x84DC;\n    readonly TEXTURE29: 0x84DD;\n    readonly TEXTURE30: 0x84DE;\n    readonly TEXTURE31: 0x84DF;\n    readonly ACTIVE_TEXTURE: 0x84E0;\n    readonly REPEAT: 0x2901;\n    readonly CLAMP_TO_EDGE: 0x812F;\n    readonly MIRRORED_REPEAT: 0x8370;\n    readonly FLOAT_VEC2: 0x8B50;\n    readonly FLOAT_VEC3: 0x8B51;\n    readonly FLOAT_VEC4: 0x8B52;\n    readonly INT_VEC2: 0x8B53;\n    readonly INT_VEC3: 0x8B54;\n    readonly INT_VEC4: 0x8B55;\n    readonly BOOL: 0x8B56;\n    readonly BOOL_VEC2: 0x8B57;\n    readonly BOOL_VEC3: 0x8B58;\n    readonly BOOL_VEC4: 0x8B59;\n    readonly FLOAT_MAT2: 0x8B5A;\n    readonly FLOAT_MAT3: 0x8B5B;\n    readonly FLOAT_MAT4: 0x8B5C;\n    readonly SAMPLER_2D: 0x8B5E;\n    readonly SAMPLER_CUBE: 0x8B60;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n    readonly COMPILE_STATUS: 0x8B81;\n    readonly LOW_FLOAT: 0x8DF0;\n    readonly MEDIUM_FLOAT: 0x8DF1;\n    readonly HIGH_FLOAT: 0x8DF2;\n    readonly LOW_INT: 0x8DF3;\n    readonly MEDIUM_INT: 0x8DF4;\n    readonly HIGH_INT: 0x8DF5;\n    readonly FRAMEBUFFER: 0x8D40;\n    readonly RENDERBUFFER: 0x8D41;\n    readonly RGBA4: 0x8056;\n    readonly RGB5_A1: 0x8057;\n    readonly RGB565: 0x8D62;\n    readonly DEPTH_COMPONENT16: 0x81A5;\n    readonly STENCIL_INDEX8: 0x8D48;\n    readonly DEPTH_STENCIL: 0x84F9;\n    readonly RENDERBUFFER_WIDTH: 0x8D42;\n    readonly RENDERBUFFER_HEIGHT: 0x8D43;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n    readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n    readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n    readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n    readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n    readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n    readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n    readonly COLOR_ATTACHMENT0: 0x8CE0;\n    readonly DEPTH_ATTACHMENT: 0x8D00;\n    readonly STENCIL_ATTACHMENT: 0x8D20;\n    readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n    readonly NONE: 0;\n    readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n    readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n    readonly FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly RENDERBUFFER_BINDING: 0x8CA7;\n    readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n    readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n    readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n    readonly CONTEXT_LOST_WEBGL: 0x9242;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n    readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n};\n\ninterface WebGLRenderingContextBase {\n    readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n    readonly drawingBufferHeight: GLsizei;\n    readonly drawingBufferWidth: GLsizei;\n    activeTexture(texture: GLenum): void;\n    attachShader(program: WebGLProgram, shader: WebGLShader): void;\n    bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n    bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n    bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n    bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n    bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n    blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n    blendEquation(mode: GLenum): void;\n    blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n    blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n    blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n    checkFramebufferStatus(target: GLenum): GLenum;\n    clear(mask: GLbitfield): void;\n    clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n    clearDepth(depth: GLclampf): void;\n    clearStencil(s: GLint): void;\n    colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n    compileShader(shader: WebGLShader): void;\n    copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n    copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    createBuffer(): WebGLBuffer | null;\n    createFramebuffer(): WebGLFramebuffer | null;\n    createProgram(): WebGLProgram | null;\n    createRenderbuffer(): WebGLRenderbuffer | null;\n    createShader(type: GLenum): WebGLShader | null;\n    createTexture(): WebGLTexture | null;\n    cullFace(mode: GLenum): void;\n    deleteBuffer(buffer: WebGLBuffer | null): void;\n    deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n    deleteProgram(program: WebGLProgram | null): void;\n    deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n    deleteShader(shader: WebGLShader | null): void;\n    deleteTexture(texture: WebGLTexture | null): void;\n    depthFunc(func: GLenum): void;\n    depthMask(flag: GLboolean): void;\n    depthRange(zNear: GLclampf, zFar: GLclampf): void;\n    detachShader(program: WebGLProgram, shader: WebGLShader): void;\n    disable(cap: GLenum): void;\n    disableVertexAttribArray(index: GLuint): void;\n    drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n    drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n    enable(cap: GLenum): void;\n    enableVertexAttribArray(index: GLuint): void;\n    finish(): void;\n    flush(): void;\n    framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n    framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n    frontFace(mode: GLenum): void;\n    generateMipmap(target: GLenum): void;\n    getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n    getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n    getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n    getAttribLocation(program: WebGLProgram, name: string): GLint;\n    getBufferParameter(target: GLenum, pname: GLenum): any;\n    getContextAttributes(): WebGLContextAttributes | null;\n    getError(): GLenum;\n    getExtension(extensionName: \"ANGLE_instanced_arrays\"): ANGLE_instanced_arrays | null;\n    getExtension(extensionName: \"EXT_blend_minmax\"): EXT_blend_minmax | null;\n    getExtension(extensionName: \"EXT_color_buffer_float\"): EXT_color_buffer_float | null;\n    getExtension(extensionName: \"EXT_color_buffer_half_float\"): EXT_color_buffer_half_float | null;\n    getExtension(extensionName: \"EXT_float_blend\"): EXT_float_blend | null;\n    getExtension(extensionName: \"EXT_frag_depth\"): EXT_frag_depth | null;\n    getExtension(extensionName: \"EXT_sRGB\"): EXT_sRGB | null;\n    getExtension(extensionName: \"EXT_shader_texture_lod\"): EXT_shader_texture_lod | null;\n    getExtension(extensionName: \"EXT_texture_compression_bptc\"): EXT_texture_compression_bptc | null;\n    getExtension(extensionName: \"EXT_texture_compression_rgtc\"): EXT_texture_compression_rgtc | null;\n    getExtension(extensionName: \"EXT_texture_filter_anisotropic\"): EXT_texture_filter_anisotropic | null;\n    getExtension(extensionName: \"KHR_parallel_shader_compile\"): KHR_parallel_shader_compile | null;\n    getExtension(extensionName: \"OES_element_index_uint\"): OES_element_index_uint | null;\n    getExtension(extensionName: \"OES_fbo_render_mipmap\"): OES_fbo_render_mipmap | null;\n    getExtension(extensionName: \"OES_standard_derivatives\"): OES_standard_derivatives | null;\n    getExtension(extensionName: \"OES_texture_float\"): OES_texture_float | null;\n    getExtension(extensionName: \"OES_texture_float_linear\"): OES_texture_float_linear | null;\n    getExtension(extensionName: \"OES_texture_half_float\"): OES_texture_half_float | null;\n    getExtension(extensionName: \"OES_texture_half_float_linear\"): OES_texture_half_float_linear | null;\n    getExtension(extensionName: \"OES_vertex_array_object\"): OES_vertex_array_object | null;\n    getExtension(extensionName: \"OVR_multiview2\"): OVR_multiview2 | null;\n    getExtension(extensionName: \"WEBGL_color_buffer_float\"): WEBGL_color_buffer_float | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_astc\"): WEBGL_compressed_texture_astc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_etc\"): WEBGL_compressed_texture_etc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_etc1\"): WEBGL_compressed_texture_etc1 | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc\"): WEBGL_compressed_texture_s3tc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc_srgb\"): WEBGL_compressed_texture_s3tc_srgb | null;\n    getExtension(extensionName: \"WEBGL_debug_renderer_info\"): WEBGL_debug_renderer_info | null;\n    getExtension(extensionName: \"WEBGL_debug_shaders\"): WEBGL_debug_shaders | null;\n    getExtension(extensionName: \"WEBGL_depth_texture\"): WEBGL_depth_texture | null;\n    getExtension(extensionName: \"WEBGL_draw_buffers\"): WEBGL_draw_buffers | null;\n    getExtension(extensionName: \"WEBGL_lose_context\"): WEBGL_lose_context | null;\n    getExtension(extensionName: \"WEBGL_multi_draw\"): WEBGL_multi_draw | null;\n    getExtension(name: string): any;\n    getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n    getParameter(pname: GLenum): any;\n    getProgramInfoLog(program: WebGLProgram): string | null;\n    getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n    getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n    getShaderInfoLog(shader: WebGLShader): string | null;\n    getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n    getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n    getShaderSource(shader: WebGLShader): string | null;\n    getSupportedExtensions(): string[] | null;\n    getTexParameter(target: GLenum, pname: GLenum): any;\n    getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n    getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n    getVertexAttrib(index: GLuint, pname: GLenum): any;\n    getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n    hint(target: GLenum, mode: GLenum): void;\n    isBuffer(buffer: WebGLBuffer | null): GLboolean;\n    isContextLost(): boolean;\n    isEnabled(cap: GLenum): GLboolean;\n    isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n    isProgram(program: WebGLProgram | null): GLboolean;\n    isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n    isShader(shader: WebGLShader | null): GLboolean;\n    isTexture(texture: WebGLTexture | null): GLboolean;\n    lineWidth(width: GLfloat): void;\n    linkProgram(program: WebGLProgram): void;\n    pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n    polygonOffset(factor: GLfloat, units: GLfloat): void;\n    renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n    sampleCoverage(value: GLclampf, invert: GLboolean): void;\n    scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    shaderSource(shader: WebGLShader, source: string): void;\n    stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n    stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n    stencilMask(mask: GLuint): void;\n    stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n    stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n    stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n    texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n    texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n    uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n    uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n    uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n    uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n    uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n    uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n    uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n    uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n    useProgram(program: WebGLProgram | null): void;\n    validateProgram(program: WebGLProgram): void;\n    vertexAttrib1f(index: GLuint, x: GLfloat): void;\n    vertexAttrib1fv(index: GLuint, values: Float32List): void;\n    vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n    vertexAttrib2fv(index: GLuint, values: Float32List): void;\n    vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n    vertexAttrib3fv(index: GLuint, values: Float32List): void;\n    vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n    vertexAttrib4fv(index: GLuint, values: Float32List): void;\n    vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n    viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    readonly DEPTH_BUFFER_BIT: 0x00000100;\n    readonly STENCIL_BUFFER_BIT: 0x00000400;\n    readonly COLOR_BUFFER_BIT: 0x00004000;\n    readonly POINTS: 0x0000;\n    readonly LINES: 0x0001;\n    readonly LINE_LOOP: 0x0002;\n    readonly LINE_STRIP: 0x0003;\n    readonly TRIANGLES: 0x0004;\n    readonly TRIANGLE_STRIP: 0x0005;\n    readonly TRIANGLE_FAN: 0x0006;\n    readonly ZERO: 0;\n    readonly ONE: 1;\n    readonly SRC_COLOR: 0x0300;\n    readonly ONE_MINUS_SRC_COLOR: 0x0301;\n    readonly SRC_ALPHA: 0x0302;\n    readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n    readonly DST_ALPHA: 0x0304;\n    readonly ONE_MINUS_DST_ALPHA: 0x0305;\n    readonly DST_COLOR: 0x0306;\n    readonly ONE_MINUS_DST_COLOR: 0x0307;\n    readonly SRC_ALPHA_SATURATE: 0x0308;\n    readonly FUNC_ADD: 0x8006;\n    readonly BLEND_EQUATION: 0x8009;\n    readonly BLEND_EQUATION_RGB: 0x8009;\n    readonly BLEND_EQUATION_ALPHA: 0x883D;\n    readonly FUNC_SUBTRACT: 0x800A;\n    readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n    readonly BLEND_DST_RGB: 0x80C8;\n    readonly BLEND_SRC_RGB: 0x80C9;\n    readonly BLEND_DST_ALPHA: 0x80CA;\n    readonly BLEND_SRC_ALPHA: 0x80CB;\n    readonly CONSTANT_COLOR: 0x8001;\n    readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n    readonly CONSTANT_ALPHA: 0x8003;\n    readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n    readonly BLEND_COLOR: 0x8005;\n    readonly ARRAY_BUFFER: 0x8892;\n    readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n    readonly ARRAY_BUFFER_BINDING: 0x8894;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n    readonly STREAM_DRAW: 0x88E0;\n    readonly STATIC_DRAW: 0x88E4;\n    readonly DYNAMIC_DRAW: 0x88E8;\n    readonly BUFFER_SIZE: 0x8764;\n    readonly BUFFER_USAGE: 0x8765;\n    readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n    readonly FRONT: 0x0404;\n    readonly BACK: 0x0405;\n    readonly FRONT_AND_BACK: 0x0408;\n    readonly CULL_FACE: 0x0B44;\n    readonly BLEND: 0x0BE2;\n    readonly DITHER: 0x0BD0;\n    readonly STENCIL_TEST: 0x0B90;\n    readonly DEPTH_TEST: 0x0B71;\n    readonly SCISSOR_TEST: 0x0C11;\n    readonly POLYGON_OFFSET_FILL: 0x8037;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n    readonly SAMPLE_COVERAGE: 0x80A0;\n    readonly NO_ERROR: 0;\n    readonly INVALID_ENUM: 0x0500;\n    readonly INVALID_VALUE: 0x0501;\n    readonly INVALID_OPERATION: 0x0502;\n    readonly OUT_OF_MEMORY: 0x0505;\n    readonly CW: 0x0900;\n    readonly CCW: 0x0901;\n    readonly LINE_WIDTH: 0x0B21;\n    readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n    readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n    readonly CULL_FACE_MODE: 0x0B45;\n    readonly FRONT_FACE: 0x0B46;\n    readonly DEPTH_RANGE: 0x0B70;\n    readonly DEPTH_WRITEMASK: 0x0B72;\n    readonly DEPTH_CLEAR_VALUE: 0x0B73;\n    readonly DEPTH_FUNC: 0x0B74;\n    readonly STENCIL_CLEAR_VALUE: 0x0B91;\n    readonly STENCIL_FUNC: 0x0B92;\n    readonly STENCIL_FAIL: 0x0B94;\n    readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n    readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n    readonly STENCIL_REF: 0x0B97;\n    readonly STENCIL_VALUE_MASK: 0x0B93;\n    readonly STENCIL_WRITEMASK: 0x0B98;\n    readonly STENCIL_BACK_FUNC: 0x8800;\n    readonly STENCIL_BACK_FAIL: 0x8801;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n    readonly STENCIL_BACK_REF: 0x8CA3;\n    readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n    readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n    readonly VIEWPORT: 0x0BA2;\n    readonly SCISSOR_BOX: 0x0C10;\n    readonly COLOR_CLEAR_VALUE: 0x0C22;\n    readonly COLOR_WRITEMASK: 0x0C23;\n    readonly UNPACK_ALIGNMENT: 0x0CF5;\n    readonly PACK_ALIGNMENT: 0x0D05;\n    readonly MAX_TEXTURE_SIZE: 0x0D33;\n    readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n    readonly SUBPIXEL_BITS: 0x0D50;\n    readonly RED_BITS: 0x0D52;\n    readonly GREEN_BITS: 0x0D53;\n    readonly BLUE_BITS: 0x0D54;\n    readonly ALPHA_BITS: 0x0D55;\n    readonly DEPTH_BITS: 0x0D56;\n    readonly STENCIL_BITS: 0x0D57;\n    readonly POLYGON_OFFSET_UNITS: 0x2A00;\n    readonly POLYGON_OFFSET_FACTOR: 0x8038;\n    readonly TEXTURE_BINDING_2D: 0x8069;\n    readonly SAMPLE_BUFFERS: 0x80A8;\n    readonly SAMPLES: 0x80A9;\n    readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n    readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n    readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n    readonly DONT_CARE: 0x1100;\n    readonly FASTEST: 0x1101;\n    readonly NICEST: 0x1102;\n    readonly GENERATE_MIPMAP_HINT: 0x8192;\n    readonly BYTE: 0x1400;\n    readonly UNSIGNED_BYTE: 0x1401;\n    readonly SHORT: 0x1402;\n    readonly UNSIGNED_SHORT: 0x1403;\n    readonly INT: 0x1404;\n    readonly UNSIGNED_INT: 0x1405;\n    readonly FLOAT: 0x1406;\n    readonly DEPTH_COMPONENT: 0x1902;\n    readonly ALPHA: 0x1906;\n    readonly RGB: 0x1907;\n    readonly RGBA: 0x1908;\n    readonly LUMINANCE: 0x1909;\n    readonly LUMINANCE_ALPHA: 0x190A;\n    readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n    readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n    readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n    readonly FRAGMENT_SHADER: 0x8B30;\n    readonly VERTEX_SHADER: 0x8B31;\n    readonly MAX_VERTEX_ATTRIBS: 0x8869;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n    readonly MAX_VARYING_VECTORS: 0x8DFC;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n    readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n    readonly SHADER_TYPE: 0x8B4F;\n    readonly DELETE_STATUS: 0x8B80;\n    readonly LINK_STATUS: 0x8B82;\n    readonly VALIDATE_STATUS: 0x8B83;\n    readonly ATTACHED_SHADERS: 0x8B85;\n    readonly ACTIVE_UNIFORMS: 0x8B86;\n    readonly ACTIVE_ATTRIBUTES: 0x8B89;\n    readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n    readonly CURRENT_PROGRAM: 0x8B8D;\n    readonly NEVER: 0x0200;\n    readonly LESS: 0x0201;\n    readonly EQUAL: 0x0202;\n    readonly LEQUAL: 0x0203;\n    readonly GREATER: 0x0204;\n    readonly NOTEQUAL: 0x0205;\n    readonly GEQUAL: 0x0206;\n    readonly ALWAYS: 0x0207;\n    readonly KEEP: 0x1E00;\n    readonly REPLACE: 0x1E01;\n    readonly INCR: 0x1E02;\n    readonly DECR: 0x1E03;\n    readonly INVERT: 0x150A;\n    readonly INCR_WRAP: 0x8507;\n    readonly DECR_WRAP: 0x8508;\n    readonly VENDOR: 0x1F00;\n    readonly RENDERER: 0x1F01;\n    readonly VERSION: 0x1F02;\n    readonly NEAREST: 0x2600;\n    readonly LINEAR: 0x2601;\n    readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n    readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n    readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n    readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n    readonly TEXTURE_MAG_FILTER: 0x2800;\n    readonly TEXTURE_MIN_FILTER: 0x2801;\n    readonly TEXTURE_WRAP_S: 0x2802;\n    readonly TEXTURE_WRAP_T: 0x2803;\n    readonly TEXTURE_2D: 0x0DE1;\n    readonly TEXTURE: 0x1702;\n    readonly TEXTURE_CUBE_MAP: 0x8513;\n    readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n    readonly TEXTURE0: 0x84C0;\n    readonly TEXTURE1: 0x84C1;\n    readonly TEXTURE2: 0x84C2;\n    readonly TEXTURE3: 0x84C3;\n    readonly TEXTURE4: 0x84C4;\n    readonly TEXTURE5: 0x84C5;\n    readonly TEXTURE6: 0x84C6;\n    readonly TEXTURE7: 0x84C7;\n    readonly TEXTURE8: 0x84C8;\n    readonly TEXTURE9: 0x84C9;\n    readonly TEXTURE10: 0x84CA;\n    readonly TEXTURE11: 0x84CB;\n    readonly TEXTURE12: 0x84CC;\n    readonly TEXTURE13: 0x84CD;\n    readonly TEXTURE14: 0x84CE;\n    readonly TEXTURE15: 0x84CF;\n    readonly TEXTURE16: 0x84D0;\n    readonly TEXTURE17: 0x84D1;\n    readonly TEXTURE18: 0x84D2;\n    readonly TEXTURE19: 0x84D3;\n    readonly TEXTURE20: 0x84D4;\n    readonly TEXTURE21: 0x84D5;\n    readonly TEXTURE22: 0x84D6;\n    readonly TEXTURE23: 0x84D7;\n    readonly TEXTURE24: 0x84D8;\n    readonly TEXTURE25: 0x84D9;\n    readonly TEXTURE26: 0x84DA;\n    readonly TEXTURE27: 0x84DB;\n    readonly TEXTURE28: 0x84DC;\n    readonly TEXTURE29: 0x84DD;\n    readonly TEXTURE30: 0x84DE;\n    readonly TEXTURE31: 0x84DF;\n    readonly ACTIVE_TEXTURE: 0x84E0;\n    readonly REPEAT: 0x2901;\n    readonly CLAMP_TO_EDGE: 0x812F;\n    readonly MIRRORED_REPEAT: 0x8370;\n    readonly FLOAT_VEC2: 0x8B50;\n    readonly FLOAT_VEC3: 0x8B51;\n    readonly FLOAT_VEC4: 0x8B52;\n    readonly INT_VEC2: 0x8B53;\n    readonly INT_VEC3: 0x8B54;\n    readonly INT_VEC4: 0x8B55;\n    readonly BOOL: 0x8B56;\n    readonly BOOL_VEC2: 0x8B57;\n    readonly BOOL_VEC3: 0x8B58;\n    readonly BOOL_VEC4: 0x8B59;\n    readonly FLOAT_MAT2: 0x8B5A;\n    readonly FLOAT_MAT3: 0x8B5B;\n    readonly FLOAT_MAT4: 0x8B5C;\n    readonly SAMPLER_2D: 0x8B5E;\n    readonly SAMPLER_CUBE: 0x8B60;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n    readonly COMPILE_STATUS: 0x8B81;\n    readonly LOW_FLOAT: 0x8DF0;\n    readonly MEDIUM_FLOAT: 0x8DF1;\n    readonly HIGH_FLOAT: 0x8DF2;\n    readonly LOW_INT: 0x8DF3;\n    readonly MEDIUM_INT: 0x8DF4;\n    readonly HIGH_INT: 0x8DF5;\n    readonly FRAMEBUFFER: 0x8D40;\n    readonly RENDERBUFFER: 0x8D41;\n    readonly RGBA4: 0x8056;\n    readonly RGB5_A1: 0x8057;\n    readonly RGB565: 0x8D62;\n    readonly DEPTH_COMPONENT16: 0x81A5;\n    readonly STENCIL_INDEX8: 0x8D48;\n    readonly DEPTH_STENCIL: 0x84F9;\n    readonly RENDERBUFFER_WIDTH: 0x8D42;\n    readonly RENDERBUFFER_HEIGHT: 0x8D43;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n    readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n    readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n    readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n    readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n    readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n    readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n    readonly COLOR_ATTACHMENT0: 0x8CE0;\n    readonly DEPTH_ATTACHMENT: 0x8D00;\n    readonly STENCIL_ATTACHMENT: 0x8D20;\n    readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n    readonly NONE: 0;\n    readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n    readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n    readonly FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly RENDERBUFFER_BINDING: 0x8CA7;\n    readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n    readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n    readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n    readonly CONTEXT_LOST_WEBGL: 0x9242;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n    readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n}\n\ninterface WebGLRenderingContextOverloads {\n    bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n    bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n    bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n    compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n    compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler {\n}\n\ndeclare var WebGLSampler: {\n    prototype: WebGLSampler;\n    new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader {\n}\n\ndeclare var WebGLShader: {\n    prototype: WebGLShader;\n    new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n    readonly precision: GLint;\n    readonly rangeMax: GLint;\n    readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n    prototype: WebGLShaderPrecisionFormat;\n    new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync {\n}\n\ndeclare var WebGLSync: {\n    prototype: WebGLSync;\n    new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture {\n}\n\ndeclare var WebGLTexture: {\n    prototype: WebGLTexture;\n    new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback {\n}\n\ndeclare var WebGLTransformFeedback: {\n    prototype: WebGLTransformFeedback;\n    new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n    prototype: WebGLUniformLocation;\n    new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n    prototype: WebGLVertexArrayObject;\n    new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES {\n}\n\ninterface WebSocketEventMap {\n    \"close\": CloseEvent;\n    \"error\": Event;\n    \"message\": MessageEvent;\n    \"open\": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n    /**\n     * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n     *\n     * Can be set, to change how binary data is returned. The default is \"blob\".\n     */\n    binaryType: BinaryType;\n    /**\n     * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n     *\n     * If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n     */\n    readonly bufferedAmount: number;\n    /** Returns the extensions selected by the server, if any. */\n    readonly extensions: string;\n    onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n    onerror: ((this: WebSocket, ev: Event) => any) | null;\n    onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n    onopen: ((this: WebSocket, ev: Event) => any) | null;\n    /** Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation. */\n    readonly protocol: string;\n    /** Returns the state of the WebSocket object's connection. It can have the values described below. */\n    readonly readyState: number;\n    /** Returns the URL that was used to establish the WebSocket connection. */\n    readonly url: string;\n    /** Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. */\n    close(code?: number, reason?: string): void;\n    /** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */\n    send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSING: 2;\n    readonly CLOSED: 3;\n    addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n    prototype: WebSocket;\n    new(url: string | URL, protocols?: string | string[]): WebSocket;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSING: 2;\n    readonly CLOSED: 3;\n};\n\n/** Events that occur due to the user moving a mouse wheel or similar input device. */\ninterface WheelEvent extends MouseEvent {\n    readonly deltaMode: number;\n    readonly deltaX: number;\n    readonly deltaY: number;\n    readonly deltaZ: number;\n    readonly DOM_DELTA_PIXEL: 0x00;\n    readonly DOM_DELTA_LINE: 0x01;\n    readonly DOM_DELTA_PAGE: 0x02;\n}\n\ndeclare var WheelEvent: {\n    prototype: WheelEvent;\n    new(type: string, eventInitDict?: WheelEventInit): WheelEvent;\n    readonly DOM_DELTA_PIXEL: 0x00;\n    readonly DOM_DELTA_LINE: 0x01;\n    readonly DOM_DELTA_PAGE: 0x02;\n};\n\ninterface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {\n    \"DOMContentLoaded\": Event;\n    \"devicemotion\": DeviceMotionEvent;\n    \"deviceorientation\": DeviceOrientationEvent;\n    \"gamepadconnected\": GamepadEvent;\n    \"gamepaddisconnected\": GamepadEvent;\n    \"orientationchange\": Event;\n}\n\n/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */\ninterface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {\n    /** @deprecated This is a legacy alias of \\`navigator\\`. */\n    readonly clientInformation: Navigator;\n    /** Returns true if the window has been closed, false otherwise. */\n    readonly closed: boolean;\n    /** Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element. */\n    readonly customElements: CustomElementRegistry;\n    readonly devicePixelRatio: number;\n    readonly document: Document;\n    /** @deprecated */\n    readonly event: Event | undefined;\n    /** @deprecated */\n    readonly external: External;\n    readonly frameElement: Element | null;\n    readonly frames: WindowProxy;\n    readonly history: History;\n    readonly innerHeight: number;\n    readonly innerWidth: number;\n    readonly length: number;\n    get location(): Location;\n    set location(href: string | Location);\n    /** Returns true if the location bar is visible; otherwise, returns false. */\n    readonly locationbar: BarProp;\n    /** Returns true if the menu bar is visible; otherwise, returns false. */\n    readonly menubar: BarProp;\n    name: string;\n    readonly navigator: Navigator;\n    /** Available only in secure contexts. */\n    ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n    /** Available only in secure contexts. */\n    ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n    /** @deprecated */\n    onorientationchange: ((this: Window, ev: Event) => any) | null;\n    opener: any;\n    /** @deprecated */\n    readonly orientation: number;\n    readonly outerHeight: number;\n    readonly outerWidth: number;\n    /** @deprecated This is a legacy alias of \\`scrollX\\`. */\n    readonly pageXOffset: number;\n    /** @deprecated This is a legacy alias of \\`scrollY\\`. */\n    readonly pageYOffset: number;\n    /**\n     * Refers to either the parent WindowProxy, or itself.\n     *\n     * It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.\n     */\n    readonly parent: WindowProxy;\n    /** Returns true if the personal bar is visible; otherwise, returns false. */\n    readonly personalbar: BarProp;\n    readonly screen: Screen;\n    readonly screenLeft: number;\n    readonly screenTop: number;\n    readonly screenX: number;\n    readonly screenY: number;\n    readonly scrollX: number;\n    readonly scrollY: number;\n    /** Returns true if the scrollbars are visible; otherwise, returns false. */\n    readonly scrollbars: BarProp;\n    readonly self: Window & typeof globalThis;\n    readonly speechSynthesis: SpeechSynthesis;\n    /** @deprecated */\n    status: string;\n    /** Returns true if the status bar is visible; otherwise, returns false. */\n    readonly statusbar: BarProp;\n    /** Returns true if the toolbar is visible; otherwise, returns false. */\n    readonly toolbar: BarProp;\n    readonly top: WindowProxy | null;\n    readonly visualViewport: VisualViewport | null;\n    readonly window: Window & typeof globalThis;\n    alert(message?: any): void;\n    blur(): void;\n    cancelIdleCallback(handle: number): void;\n    /** @deprecated */\n    captureEvents(): void;\n    /** Closes the window. */\n    close(): void;\n    confirm(message?: string): boolean;\n    /** Moves the focus to the window's browsing context, if any. */\n    focus(): void;\n    getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n    getSelection(): Selection | null;\n    matchMedia(query: string): MediaQueryList;\n    moveBy(x: number, y: number): void;\n    moveTo(x: number, y: number): void;\n    open(url?: string | URL, target?: string, features?: string): WindowProxy | null;\n    /**\n     * Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.\n     *\n     * Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n     *\n     * A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to \"/\". This default restricts the message to same-origin targets only.\n     *\n     * If the origin of the target window doesn't match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to \"*\".\n     *\n     * Throws a \"DataCloneError\" DOMException if transfer array contains duplicate objects or if message could not be cloned.\n     */\n    postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\n    postMessage(message: any, options?: WindowPostMessageOptions): void;\n    print(): void;\n    prompt(message?: string, _default?: string): string | null;\n    /** @deprecated */\n    releaseEvents(): void;\n    requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number;\n    resizeBy(x: number, y: number): void;\n    resizeTo(width: number, height: number): void;\n    scroll(options?: ScrollToOptions): void;\n    scroll(x: number, y: number): void;\n    scrollBy(options?: ScrollToOptions): void;\n    scrollBy(x: number, y: number): void;\n    scrollTo(options?: ScrollToOptions): void;\n    scrollTo(x: number, y: number): void;\n    /** Cancels the document load. */\n    stop(): void;\n    addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n    [index: number]: Window;\n}\n\ndeclare var Window: {\n    prototype: Window;\n    new(): Window;\n};\n\ninterface WindowEventHandlersEventMap {\n    \"afterprint\": Event;\n    \"beforeprint\": Event;\n    \"beforeunload\": BeforeUnloadEvent;\n    \"gamepadconnected\": GamepadEvent;\n    \"gamepaddisconnected\": GamepadEvent;\n    \"hashchange\": HashChangeEvent;\n    \"languagechange\": Event;\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n    \"offline\": Event;\n    \"online\": Event;\n    \"pagehide\": PageTransitionEvent;\n    \"pageshow\": PageTransitionEvent;\n    \"popstate\": PopStateEvent;\n    \"rejectionhandled\": PromiseRejectionEvent;\n    \"storage\": StorageEvent;\n    \"unhandledrejection\": PromiseRejectionEvent;\n    \"unload\": Event;\n}\n\ninterface WindowEventHandlers {\n    onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n    onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n    onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;\n    ongamepadconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;\n    ongamepaddisconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;\n    onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;\n    onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;\n    onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n    onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n    ononline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n    onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n    onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n    onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;\n    onrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n    onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;\n    onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n    onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;\n    addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface WindowLocalStorage {\n    readonly localStorage: Storage;\n}\n\ninterface WindowOrWorkerGlobalScope {\n    /** Available only in secure contexts. */\n    readonly caches: CacheStorage;\n    readonly crossOriginIsolated: boolean;\n    readonly crypto: Crypto;\n    readonly indexedDB: IDBFactory;\n    readonly isSecureContext: boolean;\n    readonly origin: string;\n    readonly performance: Performance;\n    atob(data: string): string;\n    btoa(data: string): string;\n    clearInterval(id: number | undefined): void;\n    clearTimeout(id: number | undefined): void;\n    createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n    createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n    fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\n    queueMicrotask(callback: VoidFunction): void;\n    reportError(e: any): void;\n    setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n    setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n    structuredClone(value: any, options?: StructuredSerializeOptions): any;\n}\n\ninterface WindowSessionStorage {\n    readonly sessionStorage: Storage;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n    onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n    /** Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned. */\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    /** Aborts worker's associated global environment. */\n    terminate(): void;\n    addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n    prototype: Worker;\n    new(scriptURL: string | URL, options?: WorkerOptions): Worker;\n};\n\n/** Available only in secure contexts. */\ninterface Worklet {\n    /**\n     * Loads and executes the module script given by moduleURL into all of worklet's global scopes. It can also create additional global scopes as part of this process, depending on the worklet type. The returned promise will fulfill once the script has been successfully loaded and run in all global scopes.\n     *\n     * The credentials option can be set to a credentials mode to modify the script-fetching process. It defaults to \"same-origin\".\n     *\n     * Any failures in fetching the script or its dependencies will cause the returned promise to be rejected with an \"AbortError\" DOMException. Any errors in parsing the script or its dependencies will cause the returned promise to be rejected with the exception generated during parsing.\n     */\n    addModule(moduleURL: string | URL, options?: WorkletOptions): Promise<void>;\n}\n\ndeclare var Worklet: {\n    prototype: Worklet;\n    new(): Worklet;\n};\n\n/** This Streams API interface provides\\xA0a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n    readonly locked: boolean;\n    abort(reason?: any): Promise<void>;\n    close(): Promise<void>;\n    getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n    prototype: WritableStream;\n    new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a\\xA0WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n    readonly signal: AbortSignal;\n    error(e?: any): void;\n}\n\ndeclare var WritableStreamDefaultController: {\n    prototype: WritableStreamDefaultController;\n    new(): WritableStreamDefaultController;\n};\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n    readonly closed: Promise<undefined>;\n    readonly desiredSize: number | null;\n    readonly ready: Promise<undefined>;\n    abort(reason?: any): Promise<void>;\n    close(): Promise<void>;\n    releaseLock(): void;\n    write(chunk?: W): Promise<void>;\n}\n\ndeclare var WritableStreamDefaultWriter: {\n    prototype: WritableStreamDefaultWriter;\n    new<W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;\n};\n\n/** An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. */\ninterface XMLDocument extends Document {\n    addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLDocument: {\n    prototype: XMLDocument;\n    new(): XMLDocument;\n};\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n    \"readystatechange\": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n    onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n    /** Returns client's state. */\n    readonly readyState: number;\n    /** Returns the response body. */\n    readonly response: any;\n    /**\n     * Returns response as text.\n     *\n     * Throws an \"InvalidStateError\" DOMException if responseType is not the empty string or \"text\".\n     */\n    readonly responseText: string;\n    /**\n     * Returns the response type.\n     *\n     * Can be set to change the response type. Values are: the empty string (default), \"arraybuffer\", \"blob\", \"document\", \"json\", and \"text\".\n     *\n     * When set: setting to \"document\" is ignored if current global object is not a Window object.\n     *\n     * When set: throws an \"InvalidStateError\" DOMException if state is loading or done.\n     *\n     * When set: throws an \"InvalidAccessError\" DOMException if the synchronous flag is set and current global object is a Window object.\n     */\n    responseType: XMLHttpRequestResponseType;\n    readonly responseURL: string;\n    /**\n     * Returns the response as document.\n     *\n     * Throws an \"InvalidStateError\" DOMException if responseType is not the empty string or \"document\".\n     */\n    readonly responseXML: Document | null;\n    readonly status: number;\n    readonly statusText: string;\n    /**\n     * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and this's synchronous flag is unset, a timeout event will then be dispatched, or a \"TimeoutError\" DOMException will be thrown otherwise (for the send() method).\n     *\n     * When set: throws an \"InvalidAccessError\" DOMException if the synchronous flag is set and current global object is a Window object.\n     */\n    timeout: number;\n    /** Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server. */\n    readonly upload: XMLHttpRequestUpload;\n    /**\n     * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n     *\n     * When set: throws an \"InvalidStateError\" DOMException if state is not unsent or opened, or if the send() flag is set.\n     */\n    withCredentials: boolean;\n    /** Cancels any network activity. */\n    abort(): void;\n    getAllResponseHeaders(): string;\n    getResponseHeader(name: string): string | null;\n    /**\n     * Sets the request method, request URL, and synchronous flag.\n     *\n     * Throws a \"SyntaxError\" DOMException if either method is not a valid method or url cannot be parsed.\n     *\n     * Throws a \"SecurityError\" DOMException if method is a case-insensitive match for \\`CONNECT\\`, \\`TRACE\\`, or \\`TRACK\\`.\n     *\n     * Throws an \"InvalidAccessError\" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n     */\n    open(method: string, url: string | URL): void;\n    open(method: string, url: string | URL, async: boolean, username?: string | null, password?: string | null): void;\n    /**\n     * Acts as if the \\`Content-Type\\` header value for a response is mime. (It does not change the header.)\n     *\n     * Throws an \"InvalidStateError\" DOMException if state is loading or done.\n     */\n    overrideMimeType(mime: string): void;\n    /**\n     * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n     *\n     * Throws an \"InvalidStateError\" DOMException if either state is not opened or the send() flag is set.\n     */\n    send(body?: Document | XMLHttpRequestBodyInit | null): void;\n    /**\n     * Combines a header in author request headers.\n     *\n     * Throws an \"InvalidStateError\" DOMException if either state is not opened or the send() flag is set.\n     *\n     * Throws a \"SyntaxError\" DOMException if name is not a header name or if value is not a header value.\n     */\n    setRequestHeader(name: string, value: string): void;\n    readonly UNSENT: 0;\n    readonly OPENED: 1;\n    readonly HEADERS_RECEIVED: 2;\n    readonly LOADING: 3;\n    readonly DONE: 4;\n    addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n    prototype: XMLHttpRequest;\n    new(): XMLHttpRequest;\n    readonly UNSENT: 0;\n    readonly OPENED: 1;\n    readonly HEADERS_RECEIVED: 2;\n    readonly LOADING: 3;\n    readonly DONE: 4;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n    \"abort\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"error\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"load\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"loadend\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"loadstart\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"progress\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"timeout\": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n    onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n    prototype: XMLHttpRequestEventTarget;\n    new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n    addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n    prototype: XMLHttpRequestUpload;\n    new(): XMLHttpRequestUpload;\n};\n\n/** Provides the serializeToString() method to construct an XML string representing a DOM tree. */\ninterface XMLSerializer {\n    serializeToString(root: Node): string;\n}\n\ndeclare var XMLSerializer: {\n    prototype: XMLSerializer;\n    new(): XMLSerializer;\n};\n\n/** The\\xA0XPathEvaluator interface allows to compile and evaluate XPath expressions. */\ninterface XPathEvaluator extends XPathEvaluatorBase {\n}\n\ndeclare var XPathEvaluator: {\n    prototype: XPathEvaluator;\n    new(): XPathEvaluator;\n};\n\ninterface XPathEvaluatorBase {\n    createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;\n    createNSResolver(nodeResolver: Node): XPathNSResolver;\n    evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;\n}\n\n/** This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree. */\ninterface XPathExpression {\n    evaluate(contextNode: Node, type?: number, result?: XPathResult | null): XPathResult;\n}\n\ndeclare var XPathExpression: {\n    prototype: XPathExpression;\n    new(): XPathExpression;\n};\n\n/** The results generated by evaluating an XPath expression within the context of a given node. */\ninterface XPathResult {\n    readonly booleanValue: boolean;\n    readonly invalidIteratorState: boolean;\n    readonly numberValue: number;\n    readonly resultType: number;\n    readonly singleNodeValue: Node | null;\n    readonly snapshotLength: number;\n    readonly stringValue: string;\n    iterateNext(): Node | null;\n    snapshotItem(index: number): Node | null;\n    readonly ANY_TYPE: 0;\n    readonly NUMBER_TYPE: 1;\n    readonly STRING_TYPE: 2;\n    readonly BOOLEAN_TYPE: 3;\n    readonly UNORDERED_NODE_ITERATOR_TYPE: 4;\n    readonly ORDERED_NODE_ITERATOR_TYPE: 5;\n    readonly UNORDERED_NODE_SNAPSHOT_TYPE: 6;\n    readonly ORDERED_NODE_SNAPSHOT_TYPE: 7;\n    readonly ANY_UNORDERED_NODE_TYPE: 8;\n    readonly FIRST_ORDERED_NODE_TYPE: 9;\n}\n\ndeclare var XPathResult: {\n    prototype: XPathResult;\n    new(): XPathResult;\n    readonly ANY_TYPE: 0;\n    readonly NUMBER_TYPE: 1;\n    readonly STRING_TYPE: 2;\n    readonly BOOLEAN_TYPE: 3;\n    readonly UNORDERED_NODE_ITERATOR_TYPE: 4;\n    readonly ORDERED_NODE_ITERATOR_TYPE: 5;\n    readonly UNORDERED_NODE_SNAPSHOT_TYPE: 6;\n    readonly ORDERED_NODE_SNAPSHOT_TYPE: 7;\n    readonly ANY_UNORDERED_NODE_TYPE: 8;\n    readonly FIRST_ORDERED_NODE_TYPE: 9;\n};\n\n/** An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents. */\ninterface XSLTProcessor {\n    clearParameters(): void;\n    getParameter(namespaceURI: string | null, localName: string): any;\n    importStylesheet(style: Node): void;\n    removeParameter(namespaceURI: string | null, localName: string): void;\n    reset(): void;\n    setParameter(namespaceURI: string | null, localName: string, value: any): void;\n    transformToDocument(source: Node): Document;\n    transformToFragment(source: Node, output: Document): DocumentFragment;\n}\n\ndeclare var XSLTProcessor: {\n    prototype: XSLTProcessor;\n    new(): XSLTProcessor;\n};\n\ninterface Console {\n    assert(condition?: boolean, ...data: any[]): void;\n    clear(): void;\n    count(label?: string): void;\n    countReset(label?: string): void;\n    debug(...data: any[]): void;\n    dir(item?: any, options?: any): void;\n    dirxml(...data: any[]): void;\n    error(...data: any[]): void;\n    group(...data: any[]): void;\n    groupCollapsed(...data: any[]): void;\n    groupEnd(): void;\n    info(...data: any[]): void;\n    log(...data: any[]): void;\n    table(tabularData?: any, properties?: string[]): void;\n    time(label?: string): void;\n    timeEnd(label?: string): void;\n    timeLog(label?: string, ...data: any[]): void;\n    timeStamp(label?: string): void;\n    trace(...data: any[]): void;\n    warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\n/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */\ndeclare namespace CSS {\n    function escape(ident: string): string;\n    function supports(property: string, value: string): boolean;\n    function supports(conditionText: string): boolean;\n}\n\ndeclare namespace WebAssembly {\n    interface CompileError extends Error {\n    }\n\n    var CompileError: {\n        prototype: CompileError;\n        new(message?: string): CompileError;\n        (message?: string): CompileError;\n    };\n\n    interface Global {\n        value: any;\n        valueOf(): any;\n    }\n\n    var Global: {\n        prototype: Global;\n        new(descriptor: GlobalDescriptor, v?: any): Global;\n    };\n\n    interface Instance {\n        readonly exports: Exports;\n    }\n\n    var Instance: {\n        prototype: Instance;\n        new(module: Module, importObject?: Imports): Instance;\n    };\n\n    interface LinkError extends Error {\n    }\n\n    var LinkError: {\n        prototype: LinkError;\n        new(message?: string): LinkError;\n        (message?: string): LinkError;\n    };\n\n    interface Memory {\n        readonly buffer: ArrayBuffer;\n        grow(delta: number): number;\n    }\n\n    var Memory: {\n        prototype: Memory;\n        new(descriptor: MemoryDescriptor): Memory;\n    };\n\n    interface Module {\n    }\n\n    var Module: {\n        prototype: Module;\n        new(bytes: BufferSource): Module;\n        customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n        exports(moduleObject: Module): ModuleExportDescriptor[];\n        imports(moduleObject: Module): ModuleImportDescriptor[];\n    };\n\n    interface RuntimeError extends Error {\n    }\n\n    var RuntimeError: {\n        prototype: RuntimeError;\n        new(message?: string): RuntimeError;\n        (message?: string): RuntimeError;\n    };\n\n    interface Table {\n        readonly length: number;\n        get(index: number): any;\n        grow(delta: number, value?: any): number;\n        set(index: number, value?: any): void;\n    }\n\n    var Table: {\n        prototype: Table;\n        new(descriptor: TableDescriptor, value?: any): Table;\n    };\n\n    interface GlobalDescriptor {\n        mutable?: boolean;\n        value: ValueType;\n    }\n\n    interface MemoryDescriptor {\n        initial: number;\n        maximum?: number;\n        shared?: boolean;\n    }\n\n    interface ModuleExportDescriptor {\n        kind: ImportExportKind;\n        name: string;\n    }\n\n    interface ModuleImportDescriptor {\n        kind: ImportExportKind;\n        module: string;\n        name: string;\n    }\n\n    interface TableDescriptor {\n        element: TableKind;\n        initial: number;\n        maximum?: number;\n    }\n\n    interface WebAssemblyInstantiatedSource {\n        instance: Instance;\n        module: Module;\n    }\n\n    type ImportExportKind = \"function\" | \"global\" | \"memory\" | \"table\";\n    type TableKind = \"anyfunc\" | \"externref\";\n    type ValueType = \"anyfunc\" | \"externref\" | \"f32\" | \"f64\" | \"i32\" | \"i64\" | \"v128\";\n    type ExportValue = Function | Global | Memory | Table;\n    type Exports = Record<string, ExportValue>;\n    type ImportValue = ExportValue | number;\n    type Imports = Record<string, ModuleImports>;\n    type ModuleImports = Record<string, ImportValue>;\n    function compile(bytes: BufferSource): Promise<Module>;\n    function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;\n    function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n    function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n    function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n    function validate(bytes: BufferSource): boolean;\n}\n\ninterface BlobCallback {\n    (blob: Blob | null): void;\n}\n\ninterface CustomElementConstructor {\n    new (...params: any[]): HTMLElement;\n}\n\ninterface DecodeErrorCallback {\n    (error: DOMException): void;\n}\n\ninterface DecodeSuccessCallback {\n    (decodedData: AudioBuffer): void;\n}\n\ninterface ErrorCallback {\n    (err: DOMException): void;\n}\n\ninterface FileCallback {\n    (file: File): void;\n}\n\ninterface FileSystemEntriesCallback {\n    (entries: FileSystemEntry[]): void;\n}\n\ninterface FileSystemEntryCallback {\n    (entry: FileSystemEntry): void;\n}\n\ninterface FrameRequestCallback {\n    (time: DOMHighResTimeStamp): void;\n}\n\ninterface FunctionStringCallback {\n    (data: string): void;\n}\n\ninterface IdleRequestCallback {\n    (deadline: IdleDeadline): void;\n}\n\ninterface IntersectionObserverCallback {\n    (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;\n}\n\ninterface LockGrantedCallback {\n    (lock: Lock | null): any;\n}\n\ninterface MediaSessionActionHandler {\n    (details: MediaSessionActionDetails): void;\n}\n\ninterface MutationCallback {\n    (mutations: MutationRecord[], observer: MutationObserver): void;\n}\n\ninterface NotificationPermissionCallback {\n    (permission: NotificationPermission): void;\n}\n\ninterface OnBeforeUnloadEventHandlerNonNull {\n    (event: Event): string | null;\n}\n\ninterface OnErrorEventHandlerNonNull {\n    (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n    (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface PositionCallback {\n    (position: GeolocationPosition): void;\n}\n\ninterface PositionErrorCallback {\n    (positionError: GeolocationPositionError): void;\n}\n\ninterface QueuingStrategySize<T = any> {\n    (chunk: T): number;\n}\n\ninterface RTCPeerConnectionErrorCallback {\n    (error: DOMException): void;\n}\n\ninterface RTCSessionDescriptionCallback {\n    (description: RTCSessionDescriptionInit): void;\n}\n\ninterface RemotePlaybackAvailabilityCallback {\n    (available: boolean): void;\n}\n\ninterface ResizeObserverCallback {\n    (entries: ResizeObserverEntry[], observer: ResizeObserver): void;\n}\n\ninterface TransformerFlushCallback<O> {\n    (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformerStartCallback<O> {\n    (controller: TransformStreamDefaultController<O>): any;\n}\n\ninterface TransformerTransformCallback<I, O> {\n    (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkAbortCallback {\n    (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkCloseCallback {\n    (): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkStartCallback {\n    (controller: WritableStreamDefaultController): any;\n}\n\ninterface UnderlyingSinkWriteCallback<W> {\n    (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceCancelCallback {\n    (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourcePullCallback<R> {\n    (controller: ReadableStreamController<R>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceStartCallback<R> {\n    (controller: ReadableStreamController<R>): any;\n}\n\ninterface VideoFrameRequestCallback {\n    (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;\n}\n\ninterface VoidFunction {\n    (): void;\n}\n\ninterface HTMLElementTagNameMap {\n    \"a\": HTMLAnchorElement;\n    \"abbr\": HTMLElement;\n    \"address\": HTMLElement;\n    \"area\": HTMLAreaElement;\n    \"article\": HTMLElement;\n    \"aside\": HTMLElement;\n    \"audio\": HTMLAudioElement;\n    \"b\": HTMLElement;\n    \"base\": HTMLBaseElement;\n    \"bdi\": HTMLElement;\n    \"bdo\": HTMLElement;\n    \"blockquote\": HTMLQuoteElement;\n    \"body\": HTMLBodyElement;\n    \"br\": HTMLBRElement;\n    \"button\": HTMLButtonElement;\n    \"canvas\": HTMLCanvasElement;\n    \"caption\": HTMLTableCaptionElement;\n    \"cite\": HTMLElement;\n    \"code\": HTMLElement;\n    \"col\": HTMLTableColElement;\n    \"colgroup\": HTMLTableColElement;\n    \"data\": HTMLDataElement;\n    \"datalist\": HTMLDataListElement;\n    \"dd\": HTMLElement;\n    \"del\": HTMLModElement;\n    \"details\": HTMLDetailsElement;\n    \"dfn\": HTMLElement;\n    \"dialog\": HTMLDialogElement;\n    \"div\": HTMLDivElement;\n    \"dl\": HTMLDListElement;\n    \"dt\": HTMLElement;\n    \"em\": HTMLElement;\n    \"embed\": HTMLEmbedElement;\n    \"fieldset\": HTMLFieldSetElement;\n    \"figcaption\": HTMLElement;\n    \"figure\": HTMLElement;\n    \"footer\": HTMLElement;\n    \"form\": HTMLFormElement;\n    \"h1\": HTMLHeadingElement;\n    \"h2\": HTMLHeadingElement;\n    \"h3\": HTMLHeadingElement;\n    \"h4\": HTMLHeadingElement;\n    \"h5\": HTMLHeadingElement;\n    \"h6\": HTMLHeadingElement;\n    \"head\": HTMLHeadElement;\n    \"header\": HTMLElement;\n    \"hgroup\": HTMLElement;\n    \"hr\": HTMLHRElement;\n    \"html\": HTMLHtmlElement;\n    \"i\": HTMLElement;\n    \"iframe\": HTMLIFrameElement;\n    \"img\": HTMLImageElement;\n    \"input\": HTMLInputElement;\n    \"ins\": HTMLModElement;\n    \"kbd\": HTMLElement;\n    \"label\": HTMLLabelElement;\n    \"legend\": HTMLLegendElement;\n    \"li\": HTMLLIElement;\n    \"link\": HTMLLinkElement;\n    \"main\": HTMLElement;\n    \"map\": HTMLMapElement;\n    \"mark\": HTMLElement;\n    \"menu\": HTMLMenuElement;\n    \"meta\": HTMLMetaElement;\n    \"meter\": HTMLMeterElement;\n    \"nav\": HTMLElement;\n    \"noscript\": HTMLElement;\n    \"object\": HTMLObjectElement;\n    \"ol\": HTMLOListElement;\n    \"optgroup\": HTMLOptGroupElement;\n    \"option\": HTMLOptionElement;\n    \"output\": HTMLOutputElement;\n    \"p\": HTMLParagraphElement;\n    \"picture\": HTMLPictureElement;\n    \"pre\": HTMLPreElement;\n    \"progress\": HTMLProgressElement;\n    \"q\": HTMLQuoteElement;\n    \"rp\": HTMLElement;\n    \"rt\": HTMLElement;\n    \"ruby\": HTMLElement;\n    \"s\": HTMLElement;\n    \"samp\": HTMLElement;\n    \"script\": HTMLScriptElement;\n    \"section\": HTMLElement;\n    \"select\": HTMLSelectElement;\n    \"slot\": HTMLSlotElement;\n    \"small\": HTMLElement;\n    \"source\": HTMLSourceElement;\n    \"span\": HTMLSpanElement;\n    \"strong\": HTMLElement;\n    \"style\": HTMLStyleElement;\n    \"sub\": HTMLElement;\n    \"summary\": HTMLElement;\n    \"sup\": HTMLElement;\n    \"table\": HTMLTableElement;\n    \"tbody\": HTMLTableSectionElement;\n    \"td\": HTMLTableCellElement;\n    \"template\": HTMLTemplateElement;\n    \"textarea\": HTMLTextAreaElement;\n    \"tfoot\": HTMLTableSectionElement;\n    \"th\": HTMLTableCellElement;\n    \"thead\": HTMLTableSectionElement;\n    \"time\": HTMLTimeElement;\n    \"title\": HTMLTitleElement;\n    \"tr\": HTMLTableRowElement;\n    \"track\": HTMLTrackElement;\n    \"u\": HTMLElement;\n    \"ul\": HTMLUListElement;\n    \"var\": HTMLElement;\n    \"video\": HTMLVideoElement;\n    \"wbr\": HTMLElement;\n}\n\ninterface HTMLElementDeprecatedTagNameMap {\n    \"acronym\": HTMLElement;\n    \"applet\": HTMLUnknownElement;\n    \"basefont\": HTMLElement;\n    \"bgsound\": HTMLUnknownElement;\n    \"big\": HTMLElement;\n    \"blink\": HTMLUnknownElement;\n    \"center\": HTMLElement;\n    \"dir\": HTMLDirectoryElement;\n    \"font\": HTMLFontElement;\n    \"frame\": HTMLFrameElement;\n    \"frameset\": HTMLFrameSetElement;\n    \"isindex\": HTMLUnknownElement;\n    \"keygen\": HTMLUnknownElement;\n    \"listing\": HTMLPreElement;\n    \"marquee\": HTMLMarqueeElement;\n    \"menuitem\": HTMLElement;\n    \"multicol\": HTMLUnknownElement;\n    \"nextid\": HTMLUnknownElement;\n    \"nobr\": HTMLElement;\n    \"noembed\": HTMLElement;\n    \"noframes\": HTMLElement;\n    \"param\": HTMLParamElement;\n    \"plaintext\": HTMLElement;\n    \"rb\": HTMLElement;\n    \"rtc\": HTMLElement;\n    \"spacer\": HTMLUnknownElement;\n    \"strike\": HTMLElement;\n    \"tt\": HTMLElement;\n    \"xmp\": HTMLPreElement;\n}\n\ninterface SVGElementTagNameMap {\n    \"a\": SVGAElement;\n    \"animate\": SVGAnimateElement;\n    \"animateMotion\": SVGAnimateMotionElement;\n    \"animateTransform\": SVGAnimateTransformElement;\n    \"circle\": SVGCircleElement;\n    \"clipPath\": SVGClipPathElement;\n    \"defs\": SVGDefsElement;\n    \"desc\": SVGDescElement;\n    \"ellipse\": SVGEllipseElement;\n    \"feBlend\": SVGFEBlendElement;\n    \"feColorMatrix\": SVGFEColorMatrixElement;\n    \"feComponentTransfer\": SVGFEComponentTransferElement;\n    \"feComposite\": SVGFECompositeElement;\n    \"feConvolveMatrix\": SVGFEConvolveMatrixElement;\n    \"feDiffuseLighting\": SVGFEDiffuseLightingElement;\n    \"feDisplacementMap\": SVGFEDisplacementMapElement;\n    \"feDistantLight\": SVGFEDistantLightElement;\n    \"feDropShadow\": SVGFEDropShadowElement;\n    \"feFlood\": SVGFEFloodElement;\n    \"feFuncA\": SVGFEFuncAElement;\n    \"feFuncB\": SVGFEFuncBElement;\n    \"feFuncG\": SVGFEFuncGElement;\n    \"feFuncR\": SVGFEFuncRElement;\n    \"feGaussianBlur\": SVGFEGaussianBlurElement;\n    \"feImage\": SVGFEImageElement;\n    \"feMerge\": SVGFEMergeElement;\n    \"feMergeNode\": SVGFEMergeNodeElement;\n    \"feMorphology\": SVGFEMorphologyElement;\n    \"feOffset\": SVGFEOffsetElement;\n    \"fePointLight\": SVGFEPointLightElement;\n    \"feSpecularLighting\": SVGFESpecularLightingElement;\n    \"feSpotLight\": SVGFESpotLightElement;\n    \"feTile\": SVGFETileElement;\n    \"feTurbulence\": SVGFETurbulenceElement;\n    \"filter\": SVGFilterElement;\n    \"foreignObject\": SVGForeignObjectElement;\n    \"g\": SVGGElement;\n    \"image\": SVGImageElement;\n    \"line\": SVGLineElement;\n    \"linearGradient\": SVGLinearGradientElement;\n    \"marker\": SVGMarkerElement;\n    \"mask\": SVGMaskElement;\n    \"metadata\": SVGMetadataElement;\n    \"mpath\": SVGMPathElement;\n    \"path\": SVGPathElement;\n    \"pattern\": SVGPatternElement;\n    \"polygon\": SVGPolygonElement;\n    \"polyline\": SVGPolylineElement;\n    \"radialGradient\": SVGRadialGradientElement;\n    \"rect\": SVGRectElement;\n    \"script\": SVGScriptElement;\n    \"set\": SVGSetElement;\n    \"stop\": SVGStopElement;\n    \"style\": SVGStyleElement;\n    \"svg\": SVGSVGElement;\n    \"switch\": SVGSwitchElement;\n    \"symbol\": SVGSymbolElement;\n    \"text\": SVGTextElement;\n    \"textPath\": SVGTextPathElement;\n    \"title\": SVGTitleElement;\n    \"tspan\": SVGTSpanElement;\n    \"use\": SVGUseElement;\n    \"view\": SVGViewElement;\n}\n\ninterface MathMLElementTagNameMap {\n    \"annotation\": MathMLElement;\n    \"annotation-xml\": MathMLElement;\n    \"maction\": MathMLElement;\n    \"math\": MathMLElement;\n    \"merror\": MathMLElement;\n    \"mfrac\": MathMLElement;\n    \"mi\": MathMLElement;\n    \"mmultiscripts\": MathMLElement;\n    \"mn\": MathMLElement;\n    \"mo\": MathMLElement;\n    \"mover\": MathMLElement;\n    \"mpadded\": MathMLElement;\n    \"mphantom\": MathMLElement;\n    \"mprescripts\": MathMLElement;\n    \"mroot\": MathMLElement;\n    \"mrow\": MathMLElement;\n    \"ms\": MathMLElement;\n    \"mspace\": MathMLElement;\n    \"msqrt\": MathMLElement;\n    \"mstyle\": MathMLElement;\n    \"msub\": MathMLElement;\n    \"msubsup\": MathMLElement;\n    \"msup\": MathMLElement;\n    \"mtable\": MathMLElement;\n    \"mtd\": MathMLElement;\n    \"mtext\": MathMLElement;\n    \"mtr\": MathMLElement;\n    \"munder\": MathMLElement;\n    \"munderover\": MathMLElement;\n    \"semantics\": MathMLElement;\n}\n\n/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */\ntype ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;\n\ndeclare var Audio: {\n    new(src?: string): HTMLAudioElement;\n};\ndeclare var Image: {\n    new(width?: number, height?: number): HTMLImageElement;\n};\ndeclare var Option: {\n    new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement;\n};\n/** @deprecated This is a legacy alias of \\`navigator\\`. */\ndeclare var clientInformation: Navigator;\n/** Returns true if the window has been closed, false otherwise. */\ndeclare var closed: boolean;\n/** Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element. */\ndeclare var customElements: CustomElementRegistry;\ndeclare var devicePixelRatio: number;\ndeclare var document: Document;\n/** @deprecated */\ndeclare var event: Event | undefined;\n/** @deprecated */\ndeclare var external: External;\ndeclare var frameElement: Element | null;\ndeclare var frames: WindowProxy;\ndeclare var history: History;\ndeclare var innerHeight: number;\ndeclare var innerWidth: number;\ndeclare var length: number;\ndeclare var location: Location;\n/** Returns true if the location bar is visible; otherwise, returns false. */\ndeclare var locationbar: BarProp;\n/** Returns true if the menu bar is visible; otherwise, returns false. */\ndeclare var menubar: BarProp;\n/** @deprecated */\ndeclare const name: void;\ndeclare var navigator: Navigator;\n/** Available only in secure contexts. */\ndeclare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n/** Available only in secure contexts. */\ndeclare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n/** @deprecated */\ndeclare var onorientationchange: ((this: Window, ev: Event) => any) | null;\ndeclare var opener: any;\n/** @deprecated */\ndeclare var orientation: number;\ndeclare var outerHeight: number;\ndeclare var outerWidth: number;\n/** @deprecated This is a legacy alias of \\`scrollX\\`. */\ndeclare var pageXOffset: number;\n/** @deprecated This is a legacy alias of \\`scrollY\\`. */\ndeclare var pageYOffset: number;\n/**\n * Refers to either the parent WindowProxy, or itself.\n *\n * It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.\n */\ndeclare var parent: WindowProxy;\n/** Returns true if the personal bar is visible; otherwise, returns false. */\ndeclare var personalbar: BarProp;\ndeclare var screen: Screen;\ndeclare var screenLeft: number;\ndeclare var screenTop: number;\ndeclare var screenX: number;\ndeclare var screenY: number;\ndeclare var scrollX: number;\ndeclare var scrollY: number;\n/** Returns true if the scrollbars are visible; otherwise, returns false. */\ndeclare var scrollbars: BarProp;\ndeclare var self: Window & typeof globalThis;\ndeclare var speechSynthesis: SpeechSynthesis;\n/** @deprecated */\ndeclare var status: string;\n/** Returns true if the status bar is visible; otherwise, returns false. */\ndeclare var statusbar: BarProp;\n/** Returns true if the toolbar is visible; otherwise, returns false. */\ndeclare var toolbar: BarProp;\ndeclare var top: WindowProxy | null;\ndeclare var visualViewport: VisualViewport | null;\ndeclare var window: Window & typeof globalThis;\ndeclare function alert(message?: any): void;\ndeclare function blur(): void;\ndeclare function cancelIdleCallback(handle: number): void;\n/** @deprecated */\ndeclare function captureEvents(): void;\n/** Closes the window. */\ndeclare function close(): void;\ndeclare function confirm(message?: string): boolean;\n/** Moves the focus to the window's browsing context, if any. */\ndeclare function focus(): void;\ndeclare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\ndeclare function getSelection(): Selection | null;\ndeclare function matchMedia(query: string): MediaQueryList;\ndeclare function moveBy(x: number, y: number): void;\ndeclare function moveTo(x: number, y: number): void;\ndeclare function open(url?: string | URL, target?: string, features?: string): WindowProxy | null;\n/**\n * Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.\n *\n * Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n *\n * A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to \"/\". This default restricts the message to same-origin targets only.\n *\n * If the origin of the target window doesn't match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to \"*\".\n *\n * Throws a \"DataCloneError\" DOMException if transfer array contains duplicate objects or if message could not be cloned.\n */\ndeclare function postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\ndeclare function postMessage(message: any, options?: WindowPostMessageOptions): void;\ndeclare function print(): void;\ndeclare function prompt(message?: string, _default?: string): string | null;\n/** @deprecated */\ndeclare function releaseEvents(): void;\ndeclare function requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number;\ndeclare function resizeBy(x: number, y: number): void;\ndeclare function resizeTo(width: number, height: number): void;\ndeclare function scroll(options?: ScrollToOptions): void;\ndeclare function scroll(x: number, y: number): void;\ndeclare function scrollBy(options?: ScrollToOptions): void;\ndeclare function scrollBy(x: number, y: number): void;\ndeclare function scrollTo(options?: ScrollToOptions): void;\ndeclare function scrollTo(x: number, y: number): void;\n/** Cancels the document load. */\ndeclare function stop(): void;\ndeclare function toString(): string;\n/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\n/**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\ndeclare var onabort: ((this: Window, ev: UIEvent) => any) | null;\ndeclare var onanimationcancel: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;\n/**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\ndeclare var onblur: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var oncancel: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\ndeclare var oncanplay: ((this: Window, ev: Event) => any) | null;\ndeclare var oncanplaythrough: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\ndeclare var onchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\ndeclare var onclick: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onclose: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\ndeclare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;\ndeclare var oncuechange: ((this: Window, ev: Event) => any) | null;\ndeclare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null;\n/**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\ndeclare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\ndeclare var ondrag: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\ndeclare var ondragend: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\ndeclare var ondragenter: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\ndeclare var ondragleave: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\ndeclare var ondragover: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\ndeclare var ondragstart: ((this: Window, ev: DragEvent) => any) | null;\ndeclare var ondrop: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\ndeclare var ondurationchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\ndeclare var onemptied: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\ndeclare var onended: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\ndeclare var onerror: OnErrorEventHandler;\n/**\n * Fires when the object receives focus.\n * @param ev The event.\n */\ndeclare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var onformdata: ((this: Window, ev: FormDataEvent) => any) | null;\ndeclare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var oninput: ((this: Window, ev: Event) => any) | null;\ndeclare var oninvalid: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\ndeclare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n * @deprecated\n */\ndeclare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\ndeclare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\ndeclare var onload: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\ndeclare var onloadeddata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\ndeclare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\ndeclare var onloadstart: ((this: Window, ev: Event) => any) | null;\ndeclare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\ndeclare var onmousedown: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseenter: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\ndeclare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null;\n/**\n * Occurs when playback is paused.\n * @param ev The event.\n */\ndeclare var onpause: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\ndeclare var onplay: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\ndeclare var onplaying: ((this: Window, ev: Event) => any) | null;\ndeclare var onpointercancel: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerdown: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerenter: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerleave: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\ndeclare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null;\n/**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\ndeclare var onratechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user resets a form.\n * @param ev The event.\n */\ndeclare var onreset: ((this: Window, ev: Event) => any) | null;\ndeclare var onresize: ((this: Window, ev: UIEvent) => any) | null;\n/**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\ndeclare var onscroll: ((this: Window, ev: Event) => any) | null;\ndeclare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;\n/**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\ndeclare var onseeked: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\ndeclare var onseeking: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the current selection changes.\n * @param ev The event.\n */\ndeclare var onselect: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectionchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectstart: ((this: Window, ev: Event) => any) | null;\ndeclare var onslotchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\ndeclare var onstalled: ((this: Window, ev: Event) => any) | null;\ndeclare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null;\n/**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\ndeclare var onsuspend: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\ndeclare var ontimeupdate: ((this: Window, ev: Event) => any) | null;\ndeclare var ontoggle: ((this: Window, ev: Event) => any) | null;\ndeclare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchend: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchmove: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchstart: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontransitioncancel: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionend: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionrun: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionstart: ((this: Window, ev: TransitionEvent) => any) | null;\n/**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\ndeclare var onvolumechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\ndeclare var onwaiting: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of \\`onanimationend\\`. */\ndeclare var onwebkitanimationend: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of \\`onanimationiteration\\`. */\ndeclare var onwebkitanimationiteration: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of \\`onanimationstart\\`. */\ndeclare var onwebkitanimationstart: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of \\`ontransitionend\\`. */\ndeclare var onwebkittransitionend: ((this: Window, ev: Event) => any) | null;\ndeclare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;\ndeclare var onafterprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;\ndeclare var ongamepadconnected: ((this: Window, ev: GamepadEvent) => any) | null;\ndeclare var ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;\ndeclare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null;\ndeclare var onlanguagechange: ((this: Window, ev: Event) => any) | null;\ndeclare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onoffline: ((this: Window, ev: Event) => any) | null;\ndeclare var ononline: ((this: Window, ev: Event) => any) | null;\ndeclare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;\ndeclare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunload: ((this: Window, ev: Event) => any) | null;\ndeclare var localStorage: Storage;\n/** Available only in secure contexts. */\ndeclare var caches: CacheStorage;\ndeclare var crossOriginIsolated: boolean;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(id: number | undefined): void;\ndeclare function clearTimeout(id: number | undefined): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function reportError(e: any): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function structuredClone(value: any, options?: StructuredSerializeOptions): any;\ndeclare var sessionStorage: Storage;\ndeclare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype AlgorithmIdentifier = Algorithm | string;\ntype BigInteger = Uint8Array;\ntype BinaryData = ArrayBuffer | ArrayBufferView;\ntype BlobPart = BufferSource | Blob | string;\ntype BodyInit = ReadableStream | XMLHttpRequestBodyInit;\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype COSEAlgorithmIdentifier = number;\ntype CSSNumberish = number;\ntype CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas;\ntype ClipboardItemData = Promise<string | Blob>;\ntype ClipboardItems = ClipboardItem[];\ntype ConstrainBoolean = boolean | ConstrainBooleanParameters;\ntype ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;\ntype ConstrainDouble = number | ConstrainDoubleRange;\ntype ConstrainULong = number | ConstrainULongRange;\ntype DOMHighResTimeStamp = number;\ntype EpochTimeStamp = number;\ntype EventListenerOrEventListenerObject = EventListener | EventListenerObject;\ntype Float32List = Float32Array | GLfloat[];\ntype FormDataEntryValue = File | string;\ntype GLbitfield = number;\ntype GLboolean = boolean;\ntype GLclampf = number;\ntype GLenum = number;\ntype GLfloat = number;\ntype GLint = number;\ntype GLint64 = number;\ntype GLintptr = number;\ntype GLsizei = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLuint64 = number;\ntype HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;\ntype HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype HeadersInit = [string, string][] | Record<string, string> | Headers;\ntype IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype Int32List = Int32Array | GLint[];\ntype LineAndPositionSetting = number | AutoKeyword;\ntype MediaProvider = MediaStream | MediaSource | Blob;\ntype MessageEventSource = WindowProxy | MessagePort | ServiceWorker;\ntype MutationRecordType = \"attributes\" | \"characterData\" | \"childList\";\ntype NamedCurve = string;\ntype OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;\ntype RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;\ntype TimerHandler = string | Function;\ntype Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;\ntype Uint32List = Uint32Array | GLuint[];\ntype VibratePattern = number | number[];\ntype WindowProxy = Window;\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype AlignSetting = \"center\" | \"end\" | \"left\" | \"right\" | \"start\";\ntype AnimationPlayState = \"finished\" | \"idle\" | \"paused\" | \"running\";\ntype AnimationReplaceState = \"active\" | \"persisted\" | \"removed\";\ntype AppendMode = \"segments\" | \"sequence\";\ntype AttestationConveyancePreference = \"direct\" | \"enterprise\" | \"indirect\" | \"none\";\ntype AudioContextLatencyCategory = \"balanced\" | \"interactive\" | \"playback\";\ntype AudioContextState = \"closed\" | \"running\" | \"suspended\";\ntype AuthenticatorAttachment = \"cross-platform\" | \"platform\";\ntype AuthenticatorTransport = \"ble\" | \"hybrid\" | \"internal\" | \"nfc\" | \"usb\";\ntype AutoKeyword = \"auto\";\ntype AutomationRate = \"a-rate\" | \"k-rate\";\ntype BinaryType = \"arraybuffer\" | \"blob\";\ntype BiquadFilterType = \"allpass\" | \"bandpass\" | \"highpass\" | \"highshelf\" | \"lowpass\" | \"lowshelf\" | \"notch\" | \"peaking\";\ntype CanPlayTypeResult = \"\" | \"maybe\" | \"probably\";\ntype CanvasDirection = \"inherit\" | \"ltr\" | \"rtl\";\ntype CanvasFillRule = \"evenodd\" | \"nonzero\";\ntype CanvasFontKerning = \"auto\" | \"none\" | \"normal\";\ntype CanvasFontStretch = \"condensed\" | \"expanded\" | \"extra-condensed\" | \"extra-expanded\" | \"normal\" | \"semi-condensed\" | \"semi-expanded\" | \"ultra-condensed\" | \"ultra-expanded\";\ntype CanvasFontVariantCaps = \"all-petite-caps\" | \"all-small-caps\" | \"normal\" | \"petite-caps\" | \"small-caps\" | \"titling-caps\" | \"unicase\";\ntype CanvasLineCap = \"butt\" | \"round\" | \"square\";\ntype CanvasLineJoin = \"bevel\" | \"miter\" | \"round\";\ntype CanvasTextAlign = \"center\" | \"end\" | \"left\" | \"right\" | \"start\";\ntype CanvasTextBaseline = \"alphabetic\" | \"bottom\" | \"hanging\" | \"ideographic\" | \"middle\" | \"top\";\ntype CanvasTextRendering = \"auto\" | \"geometricPrecision\" | \"optimizeLegibility\" | \"optimizeSpeed\";\ntype ChannelCountMode = \"clamped-max\" | \"explicit\" | \"max\";\ntype ChannelInterpretation = \"discrete\" | \"speakers\";\ntype ClientTypes = \"all\" | \"sharedworker\" | \"window\" | \"worker\";\ntype ColorGamut = \"p3\" | \"rec2020\" | \"srgb\";\ntype ColorSpaceConversion = \"default\" | \"none\";\ntype CompositeOperation = \"accumulate\" | \"add\" | \"replace\";\ntype CompositeOperationOrAuto = \"accumulate\" | \"add\" | \"auto\" | \"replace\";\ntype CredentialMediationRequirement = \"optional\" | \"required\" | \"silent\";\ntype DOMParserSupportedType = \"application/xhtml+xml\" | \"application/xml\" | \"image/svg+xml\" | \"text/html\" | \"text/xml\";\ntype DirectionSetting = \"\" | \"lr\" | \"rl\";\ntype DisplayCaptureSurfaceType = \"browser\" | \"monitor\" | \"window\";\ntype DistanceModelType = \"exponential\" | \"inverse\" | \"linear\";\ntype DocumentReadyState = \"complete\" | \"interactive\" | \"loading\";\ntype DocumentVisibilityState = \"hidden\" | \"visible\";\ntype EndOfStreamError = \"decode\" | \"network\";\ntype EndingType = \"native\" | \"transparent\";\ntype FileSystemHandleKind = \"directory\" | \"file\";\ntype FillMode = \"auto\" | \"backwards\" | \"both\" | \"forwards\" | \"none\";\ntype FontDisplay = \"auto\" | \"block\" | \"fallback\" | \"optional\" | \"swap\";\ntype FontFaceLoadStatus = \"error\" | \"loaded\" | \"loading\" | \"unloaded\";\ntype FontFaceSetLoadStatus = \"loaded\" | \"loading\";\ntype FullscreenNavigationUI = \"auto\" | \"hide\" | \"show\";\ntype GamepadHapticActuatorType = \"vibration\";\ntype GamepadMappingType = \"\" | \"standard\" | \"xr-standard\";\ntype GlobalCompositeOperation = \"color\" | \"color-burn\" | \"color-dodge\" | \"copy\" | \"darken\" | \"destination-atop\" | \"destination-in\" | \"destination-out\" | \"destination-over\" | \"difference\" | \"exclusion\" | \"hard-light\" | \"hue\" | \"lighten\" | \"lighter\" | \"luminosity\" | \"multiply\" | \"overlay\" | \"saturation\" | \"screen\" | \"soft-light\" | \"source-atop\" | \"source-in\" | \"source-out\" | \"source-over\" | \"xor\";\ntype HdrMetadataType = \"smpteSt2086\" | \"smpteSt2094-10\" | \"smpteSt2094-40\";\ntype IDBCursorDirection = \"next\" | \"nextunique\" | \"prev\" | \"prevunique\";\ntype IDBRequestReadyState = \"done\" | \"pending\";\ntype IDBTransactionDurability = \"default\" | \"relaxed\" | \"strict\";\ntype IDBTransactionMode = \"readonly\" | \"readwrite\" | \"versionchange\";\ntype ImageOrientation = \"flipY\" | \"from-image\";\ntype ImageSmoothingQuality = \"high\" | \"low\" | \"medium\";\ntype InsertPosition = \"afterbegin\" | \"afterend\" | \"beforebegin\" | \"beforeend\";\ntype IterationCompositeOperation = \"accumulate\" | \"replace\";\ntype KeyFormat = \"jwk\" | \"pkcs8\" | \"raw\" | \"spki\";\ntype KeyType = \"private\" | \"public\" | \"secret\";\ntype KeyUsage = \"decrypt\" | \"deriveBits\" | \"deriveKey\" | \"encrypt\" | \"sign\" | \"unwrapKey\" | \"verify\" | \"wrapKey\";\ntype LineAlignSetting = \"center\" | \"end\" | \"start\";\ntype LockMode = \"exclusive\" | \"shared\";\ntype MIDIPortConnectionState = \"closed\" | \"open\" | \"pending\";\ntype MIDIPortDeviceState = \"connected\" | \"disconnected\";\ntype MIDIPortType = \"input\" | \"output\";\ntype MediaDecodingType = \"file\" | \"media-source\" | \"webrtc\";\ntype MediaDeviceKind = \"audioinput\" | \"audiooutput\" | \"videoinput\";\ntype MediaEncodingType = \"record\" | \"webrtc\";\ntype MediaKeyMessageType = \"individualization-request\" | \"license-release\" | \"license-renewal\" | \"license-request\";\ntype MediaKeySessionClosedReason = \"closed-by-application\" | \"hardware-context-reset\" | \"internal-error\" | \"release-acknowledged\" | \"resource-evicted\";\ntype MediaKeySessionType = \"persistent-license\" | \"temporary\";\ntype MediaKeyStatus = \"expired\" | \"internal-error\" | \"output-downscaled\" | \"output-restricted\" | \"released\" | \"status-pending\" | \"usable\" | \"usable-in-future\";\ntype MediaKeysRequirement = \"not-allowed\" | \"optional\" | \"required\";\ntype MediaSessionAction = \"nexttrack\" | \"pause\" | \"play\" | \"previoustrack\" | \"seekbackward\" | \"seekforward\" | \"seekto\" | \"skipad\" | \"stop\";\ntype MediaSessionPlaybackState = \"none\" | \"paused\" | \"playing\";\ntype MediaStreamTrackState = \"ended\" | \"live\";\ntype NavigationTimingType = \"back_forward\" | \"navigate\" | \"prerender\" | \"reload\";\ntype NotificationDirection = \"auto\" | \"ltr\" | \"rtl\";\ntype NotificationPermission = \"default\" | \"denied\" | \"granted\";\ntype OffscreenRenderingContextId = \"2d\" | \"bitmaprenderer\" | \"webgl\" | \"webgl2\" | \"webgpu\";\ntype OrientationLockType = \"any\" | \"landscape\" | \"landscape-primary\" | \"landscape-secondary\" | \"natural\" | \"portrait\" | \"portrait-primary\" | \"portrait-secondary\";\ntype OrientationType = \"landscape-primary\" | \"landscape-secondary\" | \"portrait-primary\" | \"portrait-secondary\";\ntype OscillatorType = \"custom\" | \"sawtooth\" | \"sine\" | \"square\" | \"triangle\";\ntype OverSampleType = \"2x\" | \"4x\" | \"none\";\ntype PanningModelType = \"HRTF\" | \"equalpower\";\ntype PaymentComplete = \"fail\" | \"success\" | \"unknown\";\ntype PermissionName = \"geolocation\" | \"notifications\" | \"persistent-storage\" | \"push\" | \"screen-wake-lock\" | \"xr-spatial-tracking\";\ntype PermissionState = \"denied\" | \"granted\" | \"prompt\";\ntype PlaybackDirection = \"alternate\" | \"alternate-reverse\" | \"normal\" | \"reverse\";\ntype PositionAlignSetting = \"auto\" | \"center\" | \"line-left\" | \"line-right\";\ntype PredefinedColorSpace = \"display-p3\" | \"srgb\";\ntype PremultiplyAlpha = \"default\" | \"none\" | \"premultiply\";\ntype PresentationStyle = \"attachment\" | \"inline\" | \"unspecified\";\ntype PublicKeyCredentialType = \"public-key\";\ntype PushEncryptionKeyName = \"auth\" | \"p256dh\";\ntype RTCBundlePolicy = \"balanced\" | \"max-bundle\" | \"max-compat\";\ntype RTCDataChannelState = \"closed\" | \"closing\" | \"connecting\" | \"open\";\ntype RTCDegradationPreference = \"balanced\" | \"maintain-framerate\" | \"maintain-resolution\";\ntype RTCDtlsTransportState = \"closed\" | \"connected\" | \"connecting\" | \"failed\" | \"new\";\ntype RTCEncodedVideoFrameType = \"delta\" | \"empty\" | \"key\";\ntype RTCErrorDetailType = \"data-channel-failure\" | \"dtls-failure\" | \"fingerprint-failure\" | \"hardware-encoder-error\" | \"hardware-encoder-not-available\" | \"sctp-failure\" | \"sdp-syntax-error\";\ntype RTCIceCandidateType = \"host\" | \"prflx\" | \"relay\" | \"srflx\";\ntype RTCIceComponent = \"rtcp\" | \"rtp\";\ntype RTCIceConnectionState = \"checking\" | \"closed\" | \"completed\" | \"connected\" | \"disconnected\" | \"failed\" | \"new\";\ntype RTCIceGathererState = \"complete\" | \"gathering\" | \"new\";\ntype RTCIceGatheringState = \"complete\" | \"gathering\" | \"new\";\ntype RTCIceProtocol = \"tcp\" | \"udp\";\ntype RTCIceTcpCandidateType = \"active\" | \"passive\" | \"so\";\ntype RTCIceTransportPolicy = \"all\" | \"relay\";\ntype RTCIceTransportState = \"checking\" | \"closed\" | \"completed\" | \"connected\" | \"disconnected\" | \"failed\" | \"new\";\ntype RTCPeerConnectionState = \"closed\" | \"connected\" | \"connecting\" | \"disconnected\" | \"failed\" | \"new\";\ntype RTCPriorityType = \"high\" | \"low\" | \"medium\" | \"very-low\";\ntype RTCRtcpMuxPolicy = \"require\";\ntype RTCRtpTransceiverDirection = \"inactive\" | \"recvonly\" | \"sendonly\" | \"sendrecv\" | \"stopped\";\ntype RTCSctpTransportState = \"closed\" | \"connected\" | \"connecting\";\ntype RTCSdpType = \"answer\" | \"offer\" | \"pranswer\" | \"rollback\";\ntype RTCSignalingState = \"closed\" | \"have-local-offer\" | \"have-local-pranswer\" | \"have-remote-offer\" | \"have-remote-pranswer\" | \"stable\";\ntype RTCStatsIceCandidatePairState = \"failed\" | \"frozen\" | \"in-progress\" | \"inprogress\" | \"succeeded\" | \"waiting\";\ntype RTCStatsType = \"candidate-pair\" | \"certificate\" | \"codec\" | \"data-channel\" | \"inbound-rtp\" | \"local-candidate\" | \"media-source\" | \"outbound-rtp\" | \"peer-connection\" | \"remote-candidate\" | \"remote-inbound-rtp\" | \"remote-outbound-rtp\" | \"track\" | \"transport\";\ntype ReadableStreamReaderMode = \"byob\";\ntype ReadableStreamType = \"bytes\";\ntype ReadyState = \"closed\" | \"ended\" | \"open\";\ntype RecordingState = \"inactive\" | \"paused\" | \"recording\";\ntype ReferrerPolicy = \"\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\";\ntype RemotePlaybackState = \"connected\" | \"connecting\" | \"disconnected\";\ntype RequestCache = \"default\" | \"force-cache\" | \"no-cache\" | \"no-store\" | \"only-if-cached\" | \"reload\";\ntype RequestCredentials = \"include\" | \"omit\" | \"same-origin\";\ntype RequestDestination = \"\" | \"audio\" | \"audioworklet\" | \"document\" | \"embed\" | \"font\" | \"frame\" | \"iframe\" | \"image\" | \"manifest\" | \"object\" | \"paintworklet\" | \"report\" | \"script\" | \"sharedworker\" | \"style\" | \"track\" | \"video\" | \"worker\" | \"xslt\";\ntype RequestMode = \"cors\" | \"navigate\" | \"no-cors\" | \"same-origin\";\ntype RequestRedirect = \"error\" | \"follow\" | \"manual\";\ntype ResidentKeyRequirement = \"discouraged\" | \"preferred\" | \"required\";\ntype ResizeObserverBoxOptions = \"border-box\" | \"content-box\" | \"device-pixel-content-box\";\ntype ResizeQuality = \"high\" | \"low\" | \"medium\" | \"pixelated\";\ntype ResponseType = \"basic\" | \"cors\" | \"default\" | \"error\" | \"opaque\" | \"opaqueredirect\";\ntype ScrollBehavior = \"auto\" | \"smooth\";\ntype ScrollLogicalPosition = \"center\" | \"end\" | \"nearest\" | \"start\";\ntype ScrollRestoration = \"auto\" | \"manual\";\ntype ScrollSetting = \"\" | \"up\";\ntype SecurityPolicyViolationEventDisposition = \"enforce\" | \"report\";\ntype SelectionMode = \"end\" | \"preserve\" | \"select\" | \"start\";\ntype ServiceWorkerState = \"activated\" | \"activating\" | \"installed\" | \"installing\" | \"parsed\" | \"redundant\";\ntype ServiceWorkerUpdateViaCache = \"all\" | \"imports\" | \"none\";\ntype ShadowRootMode = \"closed\" | \"open\";\ntype SlotAssignmentMode = \"manual\" | \"named\";\ntype SpeechSynthesisErrorCode = \"audio-busy\" | \"audio-hardware\" | \"canceled\" | \"interrupted\" | \"invalid-argument\" | \"language-unavailable\" | \"network\" | \"not-allowed\" | \"synthesis-failed\" | \"synthesis-unavailable\" | \"text-too-long\" | \"voice-unavailable\";\ntype TextTrackKind = \"captions\" | \"chapters\" | \"descriptions\" | \"metadata\" | \"subtitles\";\ntype TextTrackMode = \"disabled\" | \"hidden\" | \"showing\";\ntype TouchType = \"direct\" | \"stylus\";\ntype TransferFunction = \"hlg\" | \"pq\" | \"srgb\";\ntype UserVerificationRequirement = \"discouraged\" | \"preferred\" | \"required\";\ntype VideoColorPrimaries = \"bt470bg\" | \"bt709\" | \"smpte170m\";\ntype VideoFacingModeEnum = \"environment\" | \"left\" | \"right\" | \"user\";\ntype VideoMatrixCoefficients = \"bt470bg\" | \"bt709\" | \"rgb\" | \"smpte170m\";\ntype VideoTransferCharacteristics = \"bt709\" | \"iec61966-2-1\" | \"smpte170m\";\ntype WebGLPowerPreference = \"default\" | \"high-performance\" | \"low-power\";\ntype WorkerType = \"classic\" | \"module\";\ntype XMLHttpRequestResponseType = \"\" | \"arraybuffer\" | \"blob\" | \"document\" | \"json\" | \"text\";\n`;\n  libFileMap[\"lib.dom.iterable.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/////////////////////////////\\n/// Window Iterable APIs\\n/////////////////////////////\\n\\ninterface AudioParam {\\n    setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;\\n}\\n\\ninterface AudioParamMap extends ReadonlyMap<string, AudioParam> {\\n}\\n\\ninterface BaseAudioContext {\\n    createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;\\n    createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;\\n}\\n\\ninterface CSSKeyframesRule {\\n    [Symbol.iterator](): IterableIterator<CSSKeyframeRule>;\\n}\\n\\ninterface CSSRuleList {\\n    [Symbol.iterator](): IterableIterator<CSSRule>;\\n}\\n\\ninterface CSSStyleDeclaration {\\n    [Symbol.iterator](): IterableIterator<string>;\\n}\\n\\ninterface Cache {\\n    addAll(requests: Iterable<RequestInfo>): Promise<void>;\\n}\\n\\ninterface CanvasPath {\\n    roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;\\n}\\n\\ninterface CanvasPathDrawingStyles {\\n    setLineDash(segments: Iterable<number>): void;\\n}\\n\\ninterface DOMRectList {\\n    [Symbol.iterator](): IterableIterator<DOMRect>;\\n}\\n\\ninterface DOMStringList {\\n    [Symbol.iterator](): IterableIterator<string>;\\n}\\n\\ninterface DOMTokenList {\\n    [Symbol.iterator](): IterableIterator<string>;\\n    entries(): IterableIterator<[number, string]>;\\n    keys(): IterableIterator<number>;\\n    values(): IterableIterator<string>;\\n}\\n\\ninterface DataTransferItemList {\\n    [Symbol.iterator](): IterableIterator<DataTransferItem>;\\n}\\n\\ninterface EventCounts extends ReadonlyMap<string, number> {\\n}\\n\\ninterface FileList {\\n    [Symbol.iterator](): IterableIterator<File>;\\n}\\n\\ninterface FontFaceSet extends Set<FontFace> {\\n}\\n\\ninterface FormData {\\n    [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\\n    /** Returns an array of key, value pairs for every entry in the list. */\\n    entries(): IterableIterator<[string, FormDataEntryValue]>;\\n    /** Returns a list of keys in the list. */\\n    keys(): IterableIterator<string>;\\n    /** Returns a list of values in the list. */\\n    values(): IterableIterator<FormDataEntryValue>;\\n}\\n\\ninterface HTMLAllCollection {\\n    [Symbol.iterator](): IterableIterator<Element>;\\n}\\n\\ninterface HTMLCollectionBase {\\n    [Symbol.iterator](): IterableIterator<Element>;\\n}\\n\\ninterface HTMLCollectionOf<T extends Element> {\\n    [Symbol.iterator](): IterableIterator<T>;\\n}\\n\\ninterface HTMLFormElement {\\n    [Symbol.iterator](): IterableIterator<Element>;\\n}\\n\\ninterface HTMLSelectElement {\\n    [Symbol.iterator](): IterableIterator<HTMLOptionElement>;\\n}\\n\\ninterface Headers {\\n    [Symbol.iterator](): IterableIterator<[string, string]>;\\n    /** Returns an iterator allowing to go through all key/value pairs contained in this object. */\\n    entries(): IterableIterator<[string, string]>;\\n    /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */\\n    keys(): IterableIterator<string>;\\n    /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */\\n    values(): IterableIterator<string>;\\n}\\n\\ninterface IDBDatabase {\\n    /** Returns a new transaction with the given mode (\"readonly\" or \"readwrite\") and scope which can be a single object store name or an array of names. */\\n    transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;\\n}\\n\\ninterface IDBObjectStore {\\n    /**\\n     * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a \"ConstraintError\" DOMException.\\n     *\\n     * Throws an \"InvalidStateError\" DOMException if not called within an upgrade transaction.\\n     */\\n    createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\\n}\\n\\ninterface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {\\n}\\n\\ninterface MIDIOutput {\\n    send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;\\n}\\n\\ninterface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {\\n}\\n\\ninterface MediaKeyStatusMap {\\n    [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;\\n    entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;\\n    keys(): IterableIterator<BufferSource>;\\n    values(): IterableIterator<MediaKeyStatus>;\\n}\\n\\ninterface MediaList {\\n    [Symbol.iterator](): IterableIterator<string>;\\n}\\n\\ninterface MessageEvent<T = any> {\\n    /** @deprecated */\\n    initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;\\n}\\n\\ninterface MimeTypeArray {\\n    [Symbol.iterator](): IterableIterator<MimeType>;\\n}\\n\\ninterface NamedNodeMap {\\n    [Symbol.iterator](): IterableIterator<Attr>;\\n}\\n\\ninterface Navigator {\\n    /** Available only in secure contexts. */\\n    requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;\\n    vibrate(pattern: Iterable<number>): boolean;\\n}\\n\\ninterface NodeList {\\n    [Symbol.iterator](): IterableIterator<Node>;\\n    /** Returns an array of key, value pairs for every entry in the list. */\\n    entries(): IterableIterator<[number, Node]>;\\n    /** Returns an list of keys in the list. */\\n    keys(): IterableIterator<number>;\\n    /** Returns an list of values in the list. */\\n    values(): IterableIterator<Node>;\\n}\\n\\ninterface NodeListOf<TNode extends Node> {\\n    [Symbol.iterator](): IterableIterator<TNode>;\\n    /** Returns an array of key, value pairs for every entry in the list. */\\n    entries(): IterableIterator<[number, TNode]>;\\n    /** Returns an list of keys in the list. */\\n    keys(): IterableIterator<number>;\\n    /** Returns an list of values in the list. */\\n    values(): IterableIterator<TNode>;\\n}\\n\\ninterface Plugin {\\n    [Symbol.iterator](): IterableIterator<MimeType>;\\n}\\n\\ninterface PluginArray {\\n    [Symbol.iterator](): IterableIterator<Plugin>;\\n}\\n\\ninterface RTCRtpTransceiver {\\n    setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;\\n}\\n\\ninterface RTCStatsReport extends ReadonlyMap<string, any> {\\n}\\n\\ninterface SVGLengthList {\\n    [Symbol.iterator](): IterableIterator<SVGLength>;\\n}\\n\\ninterface SVGNumberList {\\n    [Symbol.iterator](): IterableIterator<SVGNumber>;\\n}\\n\\ninterface SVGPointList {\\n    [Symbol.iterator](): IterableIterator<DOMPoint>;\\n}\\n\\ninterface SVGStringList {\\n    [Symbol.iterator](): IterableIterator<string>;\\n}\\n\\ninterface SVGTransformList {\\n    [Symbol.iterator](): IterableIterator<SVGTransform>;\\n}\\n\\ninterface SourceBufferList {\\n    [Symbol.iterator](): IterableIterator<SourceBuffer>;\\n}\\n\\ninterface SpeechRecognitionResult {\\n    [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;\\n}\\n\\ninterface SpeechRecognitionResultList {\\n    [Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;\\n}\\n\\ninterface StyleSheetList {\\n    [Symbol.iterator](): IterableIterator<CSSStyleSheet>;\\n}\\n\\ninterface SubtleCrypto {\\n    deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\\n    generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\\n    generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;\\n    importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\\n    importKey(format: Exclude<KeyFormat, \"jwk\">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\\n    unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\\n}\\n\\ninterface TextTrackCueList {\\n    [Symbol.iterator](): IterableIterator<TextTrackCue>;\\n}\\n\\ninterface TextTrackList {\\n    [Symbol.iterator](): IterableIterator<TextTrack>;\\n}\\n\\ninterface TouchList {\\n    [Symbol.iterator](): IterableIterator<Touch>;\\n}\\n\\ninterface URLSearchParams {\\n    [Symbol.iterator](): IterableIterator<[string, string]>;\\n    /** Returns an array of key, value pairs for every entry in the search params. */\\n    entries(): IterableIterator<[string, string]>;\\n    /** Returns a list of keys in the search params. */\\n    keys(): IterableIterator<string>;\\n    /** Returns a list of values in the search params. */\\n    values(): IterableIterator<string>;\\n}\\n\\ninterface WEBGL_draw_buffers {\\n    drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\\n}\\n\\ninterface WEBGL_multi_draw {\\n    multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\\n    multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;\\n    multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\\n    multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;\\n}\\n\\ninterface WebGL2RenderingContextBase {\\n    clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;\\n    clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;\\n    clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;\\n    drawBuffers(buffers: Iterable<GLenum>): void;\\n    getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\\n    getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;\\n    invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\\n    invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\\n    transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\\n    uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\\n    vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\\n}\\n\\ninterface WebGL2RenderingContextOverloads {\\n    uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n}\\n\\ninterface WebGLRenderingContextBase {\\n    vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\\n    vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\\n    vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\\n    vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\\n}\\n\\ninterface WebGLRenderingContextOverloads {\\n    uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\\n}\\n';\n  libFileMap[\"lib.es2015.collection.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Map<K, V> {\\n\\n    clear(): void;\\n    /**\\n     * @returns true if an element in the Map existed and has been removed, or false if the element does not exist.\\n     */\\n    delete(key: K): boolean;\\n    /**\\n     * Executes a provided function once per each key/value pair in the Map, in insertion order.\\n     */\\n    forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;\\n    /**\\n     * Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.\\n     * @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.\\n     */\\n    get(key: K): V | undefined;\\n    /**\\n     * @returns boolean indicating whether an element with the specified key exists or not.\\n     */\\n    has(key: K): boolean;\\n    /**\\n     * Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.\\n     */\\n    set(key: K, value: V): this;\\n    /**\\n     * @returns the number of elements in the Map.\\n     */\\n    readonly size: number;\\n}\\n\\ninterface MapConstructor {\\n    new(): Map<any, any>;\\n    new <K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;\\n    readonly prototype: Map<any, any>;\\n}\\ndeclare var Map: MapConstructor;\\n\\ninterface ReadonlyMap<K, V> {\\n    forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;\\n    get(key: K): V | undefined;\\n    has(key: K): boolean;\\n    readonly size: number;\\n}\\n\\ninterface WeakMap<K extends object, V> {\\n    /**\\n     * Removes the specified element from the WeakMap.\\n     * @returns true if the element was successfully removed, or false if it was not present.\\n     */\\n    delete(key: K): boolean;\\n    /**\\n     * @returns a specified element.\\n     */\\n    get(key: K): V | undefined;\\n    /**\\n     * @returns a boolean indicating whether an element with the specified key exists or not.\\n     */\\n    has(key: K): boolean;\\n    /**\\n     * Adds a new element with a specified key and value.\\n     * @param key Must be an object.\\n     */\\n    set(key: K, value: V): this;\\n}\\n\\ninterface WeakMapConstructor {\\n    new <K extends object = object, V = any>(entries?: readonly [K, V][] | null): WeakMap<K, V>;\\n    readonly prototype: WeakMap<object, any>;\\n}\\ndeclare var WeakMap: WeakMapConstructor;\\n\\ninterface Set<T> {\\n    /**\\n     * Appends a new element with a specified value to the end of the Set.\\n     */\\n    add(value: T): this;\\n\\n    clear(): void;\\n    /**\\n     * Removes a specified value from the Set.\\n     * @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.\\n     */\\n    delete(value: T): boolean;\\n    /**\\n     * Executes a provided function once per each value in the Set object, in insertion order.\\n     */\\n    forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;\\n    /**\\n     * @returns a boolean indicating whether an element with the specified value exists in the Set or not.\\n     */\\n    has(value: T): boolean;\\n    /**\\n     * @returns the number of (unique) elements in Set.\\n     */\\n    readonly size: number;\\n}\\n\\ninterface SetConstructor {\\n    new <T = any>(values?: readonly T[] | null): Set<T>;\\n    readonly prototype: Set<any>;\\n}\\ndeclare var Set: SetConstructor;\\n\\ninterface ReadonlySet<T> {\\n    forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;\\n    has(value: T): boolean;\\n    readonly size: number;\\n}\\n\\ninterface WeakSet<T extends object> {\\n    /**\\n     * Appends a new object to the end of the WeakSet.\\n     */\\n    add(value: T): this;\\n    /**\\n     * Removes the specified element from the WeakSet.\\n     * @returns Returns true if the element existed and has been removed, or false if the element does not exist.\\n     */\\n    delete(value: T): boolean;\\n    /**\\n     * @returns a boolean indicating whether an object exists in the WeakSet or not.\\n     */\\n    has(value: T): boolean;\\n}\\n\\ninterface WeakSetConstructor {\\n    new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;\\n    readonly prototype: WeakSet<object>;\\n}\\ndeclare var WeakSet: WeakSetConstructor;\\n';\n  libFileMap[\"lib.es2015.core.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Array<T> {\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find<S extends T>(predicate: (value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;\\n    find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: T, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n}\\n\\ninterface ArrayConstructor {\\n    /**\\n     * Creates an array from an array-like object.\\n     * @param arrayLike An array-like object to convert to an array.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>): T[];\\n\\n    /**\\n     * Creates an array from an iterable object.\\n     * @param arrayLike An array-like object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of<T>(...items: T[]): T[];\\n}\\n\\ninterface DateConstructor {\\n    new (value: number | string | Date): Date;\\n}\\n\\ninterface Function {\\n    /**\\n     * Returns the name of the function. Function names are read-only and can not be changed.\\n     */\\n    readonly name: string;\\n}\\n\\ninterface Math {\\n    /**\\n     * Returns the number of leading zero bits in the 32-bit binary representation of a number.\\n     * @param x A numeric expression.\\n     */\\n    clz32(x: number): number;\\n\\n    /**\\n     * Returns the result of 32-bit multiplication of two numbers.\\n     * @param x First number\\n     * @param y Second number\\n     */\\n    imul(x: number, y: number): number;\\n\\n    /**\\n     * Returns the sign of the x, indicating whether x is positive, negative or zero.\\n     * @param x The numeric expression to test\\n     */\\n    sign(x: number): number;\\n\\n    /**\\n     * Returns the base 10 logarithm of a number.\\n     * @param x A numeric expression.\\n     */\\n    log10(x: number): number;\\n\\n    /**\\n     * Returns the base 2 logarithm of a number.\\n     * @param x A numeric expression.\\n     */\\n    log2(x: number): number;\\n\\n    /**\\n     * Returns the natural logarithm of 1 + x.\\n     * @param x A numeric expression.\\n     */\\n    log1p(x: number): number;\\n\\n    /**\\n     * Returns the result of (e^x - 1), which is an implementation-dependent approximation to\\n     * subtracting 1 from the exponential function of x (e raised to the power of x, where e\\n     * is the base of the natural logarithms).\\n     * @param x A numeric expression.\\n     */\\n    expm1(x: number): number;\\n\\n    /**\\n     * Returns the hyperbolic cosine of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    cosh(x: number): number;\\n\\n    /**\\n     * Returns the hyperbolic sine of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    sinh(x: number): number;\\n\\n    /**\\n     * Returns the hyperbolic tangent of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    tanh(x: number): number;\\n\\n    /**\\n     * Returns the inverse hyperbolic cosine of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    acosh(x: number): number;\\n\\n    /**\\n     * Returns the inverse hyperbolic sine of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    asinh(x: number): number;\\n\\n    /**\\n     * Returns the inverse hyperbolic tangent of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    atanh(x: number): number;\\n\\n    /**\\n     * Returns the square root of the sum of squares of its arguments.\\n     * @param values Values to compute the square root for.\\n     *     If no arguments are passed, the result is +0.\\n     *     If there is only one argument, the result is the absolute value.\\n     *     If any argument is +Infinity or -Infinity, the result is +Infinity.\\n     *     If any argument is NaN, the result is NaN.\\n     *     If all arguments are either +0 or \\u22120, the result is +0.\\n     */\\n    hypot(...values: number[]): number;\\n\\n    /**\\n     * Returns the integral part of the a numeric expression, x, removing any fractional digits.\\n     * If x is already an integer, the result is x.\\n     * @param x A numeric expression.\\n     */\\n    trunc(x: number): number;\\n\\n    /**\\n     * Returns the nearest single precision float representation of a number.\\n     * @param x A numeric expression.\\n     */\\n    fround(x: number): number;\\n\\n    /**\\n     * Returns an implementation-dependent approximation to the cube root of number.\\n     * @param x A numeric expression.\\n     */\\n    cbrt(x: number): number;\\n}\\n\\ninterface NumberConstructor {\\n    /**\\n     * The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1\\n     * that is representable as a Number value, which is approximately:\\n     * 2.2204460492503130808472633361816 x 10\\u200D\\u2212\\u200D16.\\n     */\\n    readonly EPSILON: number;\\n\\n    /**\\n     * Returns true if passed value is finite.\\n     * Unlike the global isFinite, Number.isFinite doesn\\'t forcibly convert the parameter to a\\n     * number. Only finite values of the type number, result in true.\\n     * @param number A numeric value.\\n     */\\n    isFinite(number: unknown): boolean;\\n\\n    /**\\n     * Returns true if the value passed is an integer, false otherwise.\\n     * @param number A numeric value.\\n     */\\n    isInteger(number: unknown): boolean;\\n\\n    /**\\n     * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a\\n     * number). Unlike the global isNaN(), Number.isNaN() doesn\\'t forcefully convert the parameter\\n     * to a number. Only values of the type number, that are also NaN, result in true.\\n     * @param number A numeric value.\\n     */\\n    isNaN(number: unknown): boolean;\\n\\n    /**\\n     * Returns true if the value passed is a safe integer.\\n     * @param number A numeric value.\\n     */\\n    isSafeInteger(number: unknown): boolean;\\n\\n    /**\\n     * The value of the largest integer n such that n and n + 1 are both exactly representable as\\n     * a Number value.\\n     * The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 \\u2212 1.\\n     */\\n    readonly MAX_SAFE_INTEGER: number;\\n\\n    /**\\n     * The value of the smallest integer n such that n and n \\u2212 1 are both exactly representable as\\n     * a Number value.\\n     * The value of Number.MIN_SAFE_INTEGER is \\u22129007199254740991 (\\u2212(2^53 \\u2212 1)).\\n     */\\n    readonly MIN_SAFE_INTEGER: number;\\n\\n    /**\\n     * Converts a string to a floating-point number.\\n     * @param string A string that contains a floating-point number.\\n     */\\n    parseFloat(string: string): number;\\n\\n    /**\\n     * Converts A string to an integer.\\n     * @param string A string to convert into a number.\\n     * @param radix A value between 2 and 36 that specifies the base of the number in `string`.\\n     * If this argument is not supplied, strings with a prefix of \\'0x\\' are considered hexadecimal.\\n     * All other strings are considered decimal.\\n     */\\n    parseInt(string: string, radix?: number): number;\\n}\\n\\ninterface ObjectConstructor {\\n    /**\\n     * Copy the values of all of the enumerable own properties from one or more source objects to a\\n     * target object. Returns the target object.\\n     * @param target The target object to copy to.\\n     * @param source The source object from which to copy properties.\\n     */\\n    assign<T extends {}, U>(target: T, source: U): T & U;\\n\\n    /**\\n     * Copy the values of all of the enumerable own properties from one or more source objects to a\\n     * target object. Returns the target object.\\n     * @param target The target object to copy to.\\n     * @param source1 The first source object from which to copy properties.\\n     * @param source2 The second source object from which to copy properties.\\n     */\\n    assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;\\n\\n    /**\\n     * Copy the values of all of the enumerable own properties from one or more source objects to a\\n     * target object. Returns the target object.\\n     * @param target The target object to copy to.\\n     * @param source1 The first source object from which to copy properties.\\n     * @param source2 The second source object from which to copy properties.\\n     * @param source3 The third source object from which to copy properties.\\n     */\\n    assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;\\n\\n    /**\\n     * Copy the values of all of the enumerable own properties from one or more source objects to a\\n     * target object. Returns the target object.\\n     * @param target The target object to copy to.\\n     * @param sources One or more source objects from which to copy properties\\n     */\\n    assign(target: object, ...sources: any[]): any;\\n\\n    /**\\n     * Returns an array of all symbol properties found directly on object o.\\n     * @param o Object to retrieve the symbols from.\\n     */\\n    getOwnPropertySymbols(o: any): symbol[];\\n\\n    /**\\n     * Returns the names of the enumerable string properties and methods of an object.\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    keys(o: {}): string[];\\n\\n    /**\\n     * Returns true if the values are the same value, false otherwise.\\n     * @param value1 The first value.\\n     * @param value2 The second value.\\n     */\\n    is(value1: any, value2: any): boolean;\\n\\n    /**\\n     * Sets the prototype of a specified object o to object proto or null. Returns the object o.\\n     * @param o The object to change its prototype.\\n     * @param proto The value of the new prototype or null.\\n     */\\n    setPrototypeOf(o: any, proto: object | null): any;\\n}\\n\\ninterface ReadonlyArray<T> {\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find<S extends T>(predicate: (value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;\\n    find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;\\n}\\n\\ninterface RegExp {\\n    /**\\n     * Returns a string indicating the flags of the regular expression in question. This field is read-only.\\n     * The characters in this string are sequenced and concatenated in the following order:\\n     *\\n     *    - \"g\" for global\\n     *    - \"i\" for ignoreCase\\n     *    - \"m\" for multiline\\n     *    - \"u\" for unicode\\n     *    - \"y\" for sticky\\n     *\\n     * If no flags are set, the value is the empty string.\\n     */\\n    readonly flags: string;\\n\\n    /**\\n     * Returns a Boolean value indicating the state of the sticky flag (y) used with a regular\\n     * expression. Default is false. Read-only.\\n     */\\n    readonly sticky: boolean;\\n\\n    /**\\n     * Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular\\n     * expression. Default is false. Read-only.\\n     */\\n    readonly unicode: boolean;\\n}\\n\\ninterface RegExpConstructor {\\n    new (pattern: RegExp | string, flags?: string): RegExp;\\n    (pattern: RegExp | string, flags?: string): RegExp;\\n}\\n\\ninterface String {\\n    /**\\n     * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\\n     * value of the UTF-16 encoded code point starting at the string element at position pos in\\n     * the String resulting from converting this object to a String.\\n     * If there is no element at that position, the result is undefined.\\n     * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\\n     */\\n    codePointAt(pos: number): number | undefined;\\n\\n    /**\\n     * Returns true if searchString appears as a substring of the result of converting this\\n     * object to a String, at one or more positions that are\\n     * greater than or equal to position; otherwise, returns false.\\n     * @param searchString search string\\n     * @param position If position is undefined, 0 is assumed, so as to search all of the String.\\n     */\\n    includes(searchString: string, position?: number): boolean;\\n\\n    /**\\n     * Returns true if the sequence of elements of searchString converted to a String is the\\n     * same as the corresponding elements of this object (converted to a String) starting at\\n     * endPosition \\u2013 length(this). Otherwise returns false.\\n     */\\n    endsWith(searchString: string, endPosition?: number): boolean;\\n\\n    /**\\n     * Returns the String value result of normalizing the string into the normalization form\\n     * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\\n     * @param form Applicable values: \"NFC\", \"NFD\", \"NFKC\", or \"NFKD\", If not specified default\\n     * is \"NFC\"\\n     */\\n    normalize(form: \"NFC\" | \"NFD\" | \"NFKC\" | \"NFKD\"): string;\\n\\n    /**\\n     * Returns the String value result of normalizing the string into the normalization form\\n     * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\\n     * @param form Applicable values: \"NFC\", \"NFD\", \"NFKC\", or \"NFKD\", If not specified default\\n     * is \"NFC\"\\n     */\\n    normalize(form?: string): string;\\n\\n    /**\\n     * Returns a String value that is made from count copies appended together. If count is 0,\\n     * the empty string is returned.\\n     * @param count number of copies to append\\n     */\\n    repeat(count: number): string;\\n\\n    /**\\n     * Returns true if the sequence of elements of searchString converted to a String is the\\n     * same as the corresponding elements of this object (converted to a String) starting at\\n     * position. Otherwise returns false.\\n     */\\n    startsWith(searchString: string, position?: number): boolean;\\n\\n    /**\\n     * Returns an `<a>` HTML anchor element and sets the name attribute to the text value\\n     * @deprecated A legacy feature for browser compatibility\\n     * @param name\\n     */\\n    anchor(name: string): string;\\n\\n    /**\\n     * Returns a `<big>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    big(): string;\\n\\n    /**\\n     * Returns a `<blink>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    blink(): string;\\n\\n    /**\\n     * Returns a `<b>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    bold(): string;\\n\\n    /**\\n     * Returns a `<tt>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    fixed(): string;\\n\\n    /**\\n     * Returns a `<font>` HTML element and sets the color attribute value\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    fontcolor(color: string): string;\\n\\n    /**\\n     * Returns a `<font>` HTML element and sets the size attribute value\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    fontsize(size: number): string;\\n\\n    /**\\n     * Returns a `<font>` HTML element and sets the size attribute value\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    fontsize(size: string): string;\\n\\n    /**\\n     * Returns an `<i>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    italics(): string;\\n\\n    /**\\n     * Returns an `<a>` HTML element and sets the href attribute value\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    link(url: string): string;\\n\\n    /**\\n     * Returns a `<small>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    small(): string;\\n\\n    /**\\n     * Returns a `<strike>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    strike(): string;\\n\\n    /**\\n     * Returns a `<sub>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    sub(): string;\\n\\n    /**\\n     * Returns a `<sup>` HTML element\\n     * @deprecated A legacy feature for browser compatibility\\n     */\\n    sup(): string;\\n}\\n\\ninterface StringConstructor {\\n    /**\\n     * Return the String value whose elements are, in order, the elements in the List elements.\\n     * If length is 0, the empty string is returned.\\n     */\\n    fromCodePoint(...codePoints: number[]): string;\\n\\n    /**\\n     * String.raw is usually used as a tag function of a Tagged Template String. When called as\\n     * such, the first argument will be a well formed template call site object and the rest\\n     * parameter will contain the substitution values. It can also be called directly, for example,\\n     * to interleave strings and values from your own tag function, and in this case the only thing\\n     * it needs from the first argument is the raw property.\\n     * @param template A well-formed template string call site representation.\\n     * @param substitutions A set of substitution values.\\n     */\\n    raw(template: { raw: readonly string[] | ArrayLike<string>}, ...substitutions: any[]): string;\\n}\\n';\n  libFileMap[\"lib.es2015.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es5\" />\\n/// <reference lib=\"es2015.core\" />\\n/// <reference lib=\"es2015.collection\" />\\n/// <reference lib=\"es2015.iterable\" />\\n/// <reference lib=\"es2015.generator\" />\\n/// <reference lib=\"es2015.promise\" />\\n/// <reference lib=\"es2015.proxy\" />\\n/// <reference lib=\"es2015.reflect\" />\\n/// <reference lib=\"es2015.symbol\" />\\n/// <reference lib=\"es2015.symbol.wellknown\" />\\n';\n  libFileMap[\"lib.es2015.generator.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/// <reference lib=\"es2015.iterable\" />\n\ninterface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {\n    // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n    next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n    return(value: TReturn): IteratorResult<T, TReturn>;\n    throw(e: any): IteratorResult<T, TReturn>;\n    [Symbol.iterator](): Generator<T, TReturn, TNext>;\n}\n\ninterface GeneratorFunction {\n    /**\n     * Creates a new Generator object.\n     * @param args A list of arguments the function accepts.\n     */\n    new (...args: any[]): Generator;\n    /**\n     * Creates a new Generator object.\n     * @param args A list of arguments the function accepts.\n     */\n    (...args: any[]): Generator;\n    /**\n     * The length of the arguments.\n     */\n    readonly length: number;\n    /**\n     * Returns the name of the function.\n     */\n    readonly name: string;\n    /**\n     * A reference to the prototype.\n     */\n    readonly prototype: Generator;\n}\n\ninterface GeneratorFunctionConstructor {\n    /**\n     * Creates a new Generator function.\n     * @param args A list of arguments the function accepts.\n     */\n    new (...args: string[]): GeneratorFunction;\n    /**\n     * Creates a new Generator function.\n     * @param args A list of arguments the function accepts.\n     */\n    (...args: string[]): GeneratorFunction;\n    /**\n     * The length of the arguments.\n     */\n    readonly length: number;\n    /**\n     * Returns the name of the function.\n     */\n    readonly name: string;\n    /**\n     * A reference to the prototype.\n     */\n    readonly prototype: GeneratorFunction;\n}\n`;\n  libFileMap[\"lib.es2015.iterable.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/// <reference lib=\"es2015.symbol\" />\n\ninterface SymbolConstructor {\n    /**\n     * A method that returns the default iterator for an object. Called by the semantics of the\n     * for-of statement.\n     */\n    readonly iterator: unique symbol;\n}\n\ninterface IteratorYieldResult<TYield> {\n    done?: false;\n    value: TYield;\n}\n\ninterface IteratorReturnResult<TReturn> {\n    done: true;\n    value: TReturn;\n}\n\ntype IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;\n\ninterface Iterator<T, TReturn = any, TNext = undefined> {\n    // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n    next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n    return?(value?: TReturn): IteratorResult<T, TReturn>;\n    throw?(e?: any): IteratorResult<T, TReturn>;\n}\n\ninterface Iterable<T> {\n    [Symbol.iterator](): Iterator<T>;\n}\n\ninterface IterableIterator<T> extends Iterator<T> {\n    [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface Array<T> {\n    /** Iterator */\n    [Symbol.iterator](): IterableIterator<T>;\n\n    /**\n     * Returns an iterable of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, T]>;\n\n    /**\n     * Returns an iterable of keys in the array\n     */\n    keys(): IterableIterator<number>;\n\n    /**\n     * Returns an iterable of values in the array\n     */\n    values(): IterableIterator<T>;\n}\n\ninterface ArrayConstructor {\n    /**\n     * Creates an array from an iterable object.\n     * @param iterable An iterable object to convert to an array.\n     */\n    from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];\n\n    /**\n     * Creates an array from an iterable object.\n     * @param iterable An iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n}\n\ninterface ReadonlyArray<T> {\n    /** Iterator of values in the array. */\n    [Symbol.iterator](): IterableIterator<T>;\n\n    /**\n     * Returns an iterable of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, T]>;\n\n    /**\n     * Returns an iterable of keys in the array\n     */\n    keys(): IterableIterator<number>;\n\n    /**\n     * Returns an iterable of values in the array\n     */\n    values(): IterableIterator<T>;\n}\n\ninterface IArguments {\n    /** Iterator */\n    [Symbol.iterator](): IterableIterator<any>;\n}\n\ninterface Map<K, V> {\n    /** Returns an iterable of entries in the map. */\n    [Symbol.iterator](): IterableIterator<[K, V]>;\n\n    /**\n     * Returns an iterable of key, value pairs for every entry in the map.\n     */\n    entries(): IterableIterator<[K, V]>;\n\n    /**\n     * Returns an iterable of keys in the map\n     */\n    keys(): IterableIterator<K>;\n\n    /**\n     * Returns an iterable of values in the map\n     */\n    values(): IterableIterator<V>;\n}\n\ninterface ReadonlyMap<K, V> {\n    /** Returns an iterable of entries in the map. */\n    [Symbol.iterator](): IterableIterator<[K, V]>;\n\n    /**\n     * Returns an iterable of key, value pairs for every entry in the map.\n     */\n    entries(): IterableIterator<[K, V]>;\n\n    /**\n     * Returns an iterable of keys in the map\n     */\n    keys(): IterableIterator<K>;\n\n    /**\n     * Returns an iterable of values in the map\n     */\n    values(): IterableIterator<V>;\n}\n\ninterface MapConstructor {\n    new(): Map<any, any>;\n    new <K, V>(iterable?: Iterable<readonly [K, V]> | null): Map<K, V>;\n}\n\ninterface WeakMap<K extends object, V> { }\n\ninterface WeakMapConstructor {\n    new <K extends object, V>(iterable: Iterable<readonly [K, V]>): WeakMap<K, V>;\n}\n\ninterface Set<T> {\n    /** Iterates over values in the set. */\n    [Symbol.iterator](): IterableIterator<T>;\n    /**\n     * Returns an iterable of [v,v] pairs for every value \\`v\\` in the set.\n     */\n    entries(): IterableIterator<[T, T]>;\n    /**\n     * Despite its name, returns an iterable of the values in the set.\n     */\n    keys(): IterableIterator<T>;\n\n    /**\n     * Returns an iterable of values in the set.\n     */\n    values(): IterableIterator<T>;\n}\n\ninterface ReadonlySet<T> {\n    /** Iterates over values in the set. */\n    [Symbol.iterator](): IterableIterator<T>;\n\n    /**\n     * Returns an iterable of [v,v] pairs for every value \\`v\\` in the set.\n     */\n    entries(): IterableIterator<[T, T]>;\n\n    /**\n     * Despite its name, returns an iterable of the values in the set.\n     */\n    keys(): IterableIterator<T>;\n\n    /**\n     * Returns an iterable of values in the set.\n     */\n    values(): IterableIterator<T>;\n}\n\ninterface SetConstructor {\n    new <T>(iterable?: Iterable<T> | null): Set<T>;\n}\n\ninterface WeakSet<T extends object> { }\n\ninterface WeakSetConstructor {\n    new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;\n}\n\ninterface Promise<T> { }\n\ninterface PromiseConstructor {\n    /**\n     * Creates a Promise that is resolved with an array of results when all of the provided Promises\n     * resolve, or rejected when any Promise is rejected.\n     * @param values An iterable of Promises.\n     * @returns A new Promise.\n     */\n    all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;\n\n    /**\n     * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n     * or rejected.\n     * @param values An iterable of Promises.\n     * @returns A new Promise.\n     */\n    race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;\n}\n\ninterface String {\n    /** Iterator */\n    [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Int8Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Int8ArrayConstructor {\n    new (elements: Iterable<number>): Int8Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;\n}\n\ninterface Uint8Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Uint8ArrayConstructor {\n    new (elements: Iterable<number>): Uint8Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;\n}\n\ninterface Uint8ClampedArray {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Uint8ClampedArrayConstructor {\n    new (elements: Iterable<number>): Uint8ClampedArray;\n\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\n\ninterface Int16Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Int16ArrayConstructor {\n    new (elements: Iterable<number>): Int16Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;\n}\n\ninterface Uint16Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Uint16ArrayConstructor {\n    new (elements: Iterable<number>): Uint16Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;\n}\n\ninterface Int32Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Int32ArrayConstructor {\n    new (elements: Iterable<number>): Int32Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;\n}\n\ninterface Uint32Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Uint32ArrayConstructor {\n    new (elements: Iterable<number>): Uint32Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;\n}\n\ninterface Float32Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Float32ArrayConstructor {\n    new (elements: Iterable<number>): Float32Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;\n}\n\ninterface Float64Array {\n    [Symbol.iterator](): IterableIterator<number>;\n    /**\n     * Returns an array of key, value pairs for every entry in the array\n     */\n    entries(): IterableIterator<[number, number]>;\n    /**\n     * Returns an list of keys in the array\n     */\n    keys(): IterableIterator<number>;\n    /**\n     * Returns an list of values in the array\n     */\n    values(): IterableIterator<number>;\n}\n\ninterface Float64ArrayConstructor {\n    new (elements: Iterable<number>): Float64Array;\n\n    /**\n     * Creates an array from an array-like or iterable object.\n     * @param arrayLike An array-like or iterable object to convert to an array.\n     * @param mapfn A mapping function to call on every element of the array.\n     * @param thisArg Value of 'this' used to invoke the mapfn.\n     */\n    from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;\n}\n`;\n  libFileMap[\"lib.es2015.promise.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface PromiseConstructor {\\n    /**\\n     * A reference to the prototype.\\n     */\\n    readonly prototype: Promise<any>;\\n\\n    /**\\n     * Creates a new Promise.\\n     * @param executor A callback used to initialize the promise. This callback is passed two arguments:\\n     * a resolve callback used to resolve the promise with a value or the result of another promise,\\n     * and a reject callback used to reject the promise with a provided reason or error.\\n     */\\n    new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;\\n\\n    /**\\n     * Creates a Promise that is resolved with an array of results when all of the provided Promises\\n     * resolve, or rejected when any Promise is rejected.\\n     * @param values An array of Promises.\\n     * @returns A new Promise.\\n     */\\n    all<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: Awaited<T[P]> }>;\\n\\n    // see: lib.es2015.iterable.d.ts\\n    // all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;\\n\\n    /**\\n     * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\\n     * or rejected.\\n     * @param values An array of Promises.\\n     * @returns A new Promise.\\n     */\\n    race<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;\\n\\n    // see: lib.es2015.iterable.d.ts\\n    // race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;\\n\\n    /**\\n     * Creates a new rejected promise for the provided reason.\\n     * @param reason The reason the promise was rejected.\\n     * @returns A new rejected Promise.\\n     */\\n    reject<T = never>(reason?: any): Promise<T>;\\n\\n    /**\\n     * Creates a new resolved promise.\\n     * @returns A resolved promise.\\n     */\\n    resolve(): Promise<void>;\\n    /**\\n     * Creates a new resolved promise for the provided value.\\n     * @param value A promise.\\n     * @returns A promise whose internal state matches the provided promise.\\n     */\\n    resolve<T>(value: T): Promise<Awaited<T>>;\\n    /**\\n     * Creates a new resolved promise for the provided value.\\n     * @param value A promise.\\n     * @returns A promise whose internal state matches the provided promise.\\n     */\\n    resolve<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>;\\n}\\n\\ndeclare var Promise: PromiseConstructor;\\n';\n  libFileMap[\"lib.es2015.proxy.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface ProxyHandler<T extends object> {\\n    /**\\n     * A trap method for a function call.\\n     * @param target The original callable object which is being proxied.\\n     */\\n    apply?(target: T, thisArg: any, argArray: any[]): any;\\n\\n    /**\\n     * A trap for the `new` operator.\\n     * @param target The original object which is being proxied.\\n     * @param newTarget The constructor that was originally called.\\n     */\\n    construct?(target: T, argArray: any[], newTarget: Function): object;\\n\\n    /**\\n     * A trap for `Object.defineProperty()`.\\n     * @param target The original object which is being proxied.\\n     * @returns A `Boolean` indicating whether or not the property has been defined.\\n     */\\n    defineProperty?(target: T, property: string | symbol, attributes: PropertyDescriptor): boolean;\\n\\n    /**\\n     * A trap for the `delete` operator.\\n     * @param target The original object which is being proxied.\\n     * @param p The name or `Symbol` of the property to delete.\\n     * @returns A `Boolean` indicating whether or not the property was deleted.\\n     */\\n    deleteProperty?(target: T, p: string | symbol): boolean;\\n\\n    /**\\n     * A trap for getting a property value.\\n     * @param target The original object which is being proxied.\\n     * @param p The name or `Symbol` of the property to get.\\n     * @param receiver The proxy or an object that inherits from the proxy.\\n     */\\n    get?(target: T, p: string | symbol, receiver: any): any;\\n\\n    /**\\n     * A trap for `Object.getOwnPropertyDescriptor()`.\\n     * @param target The original object which is being proxied.\\n     * @param p The name of the property whose description should be retrieved.\\n     */\\n    getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;\\n\\n    /**\\n     * A trap for the `[[GetPrototypeOf]]` internal method.\\n     * @param target The original object which is being proxied.\\n     */\\n    getPrototypeOf?(target: T): object | null;\\n\\n    /**\\n     * A trap for the `in` operator.\\n     * @param target The original object which is being proxied.\\n     * @param p The name or `Symbol` of the property to check for existence.\\n     */\\n    has?(target: T, p: string | symbol): boolean;\\n\\n    /**\\n     * A trap for `Object.isExtensible()`.\\n     * @param target The original object which is being proxied.\\n     */\\n    isExtensible?(target: T): boolean;\\n\\n    /**\\n     * A trap for `Reflect.ownKeys()`.\\n     * @param target The original object which is being proxied.\\n     */\\n    ownKeys?(target: T): ArrayLike<string | symbol>;\\n\\n    /**\\n     * A trap for `Object.preventExtensions()`.\\n     * @param target The original object which is being proxied.\\n     */\\n    preventExtensions?(target: T): boolean;\\n\\n    /**\\n     * A trap for setting a property value.\\n     * @param target The original object which is being proxied.\\n     * @param p The name or `Symbol` of the property to set.\\n     * @param receiver The object to which the assignment was originally directed.\\n     * @returns A `Boolean` indicating whether or not the property was set.\\n     */\\n    set?(target: T, p: string | symbol, newValue: any, receiver: any): boolean;\\n\\n    /**\\n     * A trap for `Object.setPrototypeOf()`.\\n     * @param target The original object which is being proxied.\\n     * @param newPrototype The object\\'s new prototype or `null`.\\n     */\\n    setPrototypeOf?(target: T, v: object | null): boolean;\\n}\\n\\ninterface ProxyConstructor {\\n    /**\\n     * Creates a revocable Proxy object.\\n     * @param target A target object to wrap with Proxy.\\n     * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.\\n     */\\n    revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };\\n\\n    /**\\n     * Creates a Proxy object. The Proxy object allows you to create an object that can be used in place of the\\n     * original object, but which may redefine fundamental Object operations like getting, setting, and defining\\n     * properties. Proxy objects are commonly used to log property accesses, validate, format, or sanitize inputs.\\n     * @param target A target object to wrap with Proxy.\\n     * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.\\n     */\\n    new <T extends object>(target: T, handler: ProxyHandler<T>): T;\\n}\\ndeclare var Proxy: ProxyConstructor;\\n';\n  libFileMap[\"lib.es2015.reflect.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare namespace Reflect {\\n    /**\\n     * Calls the function with the specified object as the this value\\n     * and the elements of specified array as the arguments.\\n     * @param target The function to call.\\n     * @param thisArgument The object to be used as the this object.\\n     * @param argumentsList An array of argument values to be passed to the function.\\n     */\\n    function apply<T, A extends readonly any[], R>(\\n        target: (this: T, ...args: A) => R,\\n        thisArgument: T,\\n        argumentsList: Readonly<A>,\\n    ): R;\\n    function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;\\n\\n    /**\\n     * Constructs the target with the elements of specified array as the arguments\\n     * and the specified constructor as the `new.target` value.\\n     * @param target The constructor to invoke.\\n     * @param argumentsList An array of argument values to be passed to the constructor.\\n     * @param newTarget The constructor to be used as the `new.target` object.\\n     */\\n    function construct<A extends readonly any[], R>(\\n        target: new (...args: A) => R,\\n        argumentsList: Readonly<A>,\\n        newTarget?: new (...args: any) => any,\\n    ): R;\\n    function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: Function): any;\\n\\n    /**\\n     * Adds a property to an object, or modifies attributes of an existing property.\\n     * @param target Object on which to add or modify the property. This can be a native JavaScript object\\n     *        (that is, a user-defined object or a built in object) or a DOM object.\\n     * @param propertyKey The property name.\\n     * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\\n     */\\n    function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): boolean;\\n\\n    /**\\n     * Removes a property from an object, equivalent to `delete target[propertyKey]`,\\n     * except it won\\'t throw if `target[propertyKey]` is non-configurable.\\n     * @param target Object from which to remove the own property.\\n     * @param propertyKey The property name.\\n     */\\n    function deleteProperty(target: object, propertyKey: PropertyKey): boolean;\\n\\n    /**\\n     * Gets the property of target, equivalent to `target[propertyKey]` when `receiver === target`.\\n     * @param target Object that contains the property on itself or in its prototype chain.\\n     * @param propertyKey The property name.\\n     * @param receiver The reference to use as the `this` value in the getter function,\\n     *        if `target[propertyKey]` is an accessor property.\\n     */\\n    function get<T extends object, P extends PropertyKey>(\\n        target: T,\\n        propertyKey: P,\\n        receiver?: unknown,\\n    ): P extends keyof T ? T[P] : any;\\n\\n    /**\\n     * Gets the own property descriptor of the specified object.\\n     * An own property descriptor is one that is defined directly on the object and is not inherited from the object\\'s prototype.\\n     * @param target Object that contains the property.\\n     * @param propertyKey The property name.\\n     */\\n    function getOwnPropertyDescriptor<T extends object, P extends PropertyKey>(\\n        target: T,\\n        propertyKey: P,\\n    ): TypedPropertyDescriptor<P extends keyof T ? T[P] : any> | undefined;\\n\\n    /**\\n     * Returns the prototype of an object.\\n     * @param target The object that references the prototype.\\n     */\\n    function getPrototypeOf(target: object): object | null;\\n\\n    /**\\n     * Equivalent to `propertyKey in target`.\\n     * @param target Object that contains the property on itself or in its prototype chain.\\n     * @param propertyKey Name of the property.\\n     */\\n    function has(target: object, propertyKey: PropertyKey): boolean;\\n\\n    /**\\n     * Returns a value that indicates whether new properties can be added to an object.\\n     * @param target Object to test.\\n     */\\n    function isExtensible(target: object): boolean;\\n\\n    /**\\n     * Returns the string and symbol keys of the own properties of an object. The own properties of an object\\n     * are those that are defined directly on that object, and are not inherited from the object\\'s prototype.\\n     * @param target Object that contains the own properties.\\n     */\\n    function ownKeys(target: object): (string | symbol)[];\\n\\n    /**\\n     * Prevents the addition of new properties to an object.\\n     * @param target Object to make non-extensible.\\n     * @return Whether the object has been made non-extensible.\\n     */\\n    function preventExtensions(target: object): boolean;\\n\\n    /**\\n     * Sets the property of target, equivalent to `target[propertyKey] = value` when `receiver === target`.\\n     * @param target Object that contains the property on itself or in its prototype chain.\\n     * @param propertyKey Name of the property.\\n     * @param receiver The reference to use as the `this` value in the setter function,\\n     *        if `target[propertyKey]` is an accessor property.\\n     */\\n    function set<T extends object, P extends PropertyKey>(\\n        target: T,\\n        propertyKey: P,\\n        value: P extends keyof T ? T[P] : any,\\n        receiver?: any,\\n    ): boolean;\\n    function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;\\n\\n    /**\\n     * Sets the prototype of a specified object o to object proto or null.\\n     * @param target The object to change its prototype.\\n     * @param proto The value of the new prototype or null.\\n     * @return Whether setting the prototype was successful.\\n     */\\n    function setPrototypeOf(target: object, proto: object | null): boolean;\\n}\\n';\n  libFileMap[\"lib.es2015.symbol.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface SymbolConstructor {\\n    /**\\n     * A reference to the prototype.\\n     */\\n    readonly prototype: Symbol;\\n\\n    /**\\n     * Returns a new unique Symbol value.\\n     * @param  description Description of the new Symbol object.\\n     */\\n    (description?: string | number): symbol;\\n\\n    /**\\n     * Returns a Symbol object from the global symbol registry matching the given key if found.\\n     * Otherwise, returns a new symbol with this key.\\n     * @param key key to search for.\\n     */\\n    for(key: string): symbol;\\n\\n    /**\\n     * Returns a key from the global symbol registry matching the given Symbol if found.\\n     * Otherwise, returns a undefined.\\n     * @param sym Symbol to find the key for.\\n     */\\n    keyFor(sym: symbol): string | undefined;\\n}\\n\\ndeclare var Symbol: SymbolConstructor;';\n  libFileMap[\"lib.es2015.symbol.wellknown.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/// <reference lib=\"es2015.symbol\" />\n\ninterface SymbolConstructor {\n    /**\n     * A method that determines if a constructor object recognizes an object as one of the\n     * constructor\\u2019s instances. Called by the semantics of the instanceof operator.\n     */\n    readonly hasInstance: unique symbol;\n\n    /**\n     * A Boolean value that if true indicates that an object should flatten to its array elements\n     * by Array.prototype.concat.\n     */\n    readonly isConcatSpreadable: unique symbol;\n\n    /**\n     * A regular expression method that matches the regular expression against a string. Called\n     * by the String.prototype.match method.\n     */\n    readonly match: unique symbol;\n\n    /**\n     * A regular expression method that replaces matched substrings of a string. Called by the\n     * String.prototype.replace method.\n     */\n    readonly replace: unique symbol;\n\n    /**\n     * A regular expression method that returns the index within a string that matches the\n     * regular expression. Called by the String.prototype.search method.\n     */\n    readonly search: unique symbol;\n\n    /**\n     * A function valued property that is the constructor function that is used to create\n     * derived objects.\n     */\n    readonly species: unique symbol;\n\n    /**\n     * A regular expression method that splits a string at the indices that match the regular\n     * expression. Called by the String.prototype.split method.\n     */\n    readonly split: unique symbol;\n\n    /**\n     * A method that converts an object to a corresponding primitive value.\n     * Called by the ToPrimitive abstract operation.\n     */\n    readonly toPrimitive: unique symbol;\n\n    /**\n     * A String value that is used in the creation of the default string description of an object.\n     * Called by the built-in method Object.prototype.toString.\n     */\n    readonly toStringTag: unique symbol;\n\n    /**\n     * An Object whose truthy properties are properties that are excluded from the 'with'\n     * environment bindings of the associated objects.\n     */\n    readonly unscopables: unique symbol;\n}\n\ninterface Symbol {\n    /**\n     * Converts a Symbol object to a symbol.\n     */\n    [Symbol.toPrimitive](hint: string): symbol;\n\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface Array<T> {\n    /**\n     * Is an object whose properties have the value 'true'\n     * when they will be absent when used in a 'with' statement.\n     */\n    readonly [Symbol.unscopables]: {\n        [K in keyof any[]]?: boolean;\n    };\n}\n\ninterface ReadonlyArray<T> {\n    /**\n     * Is an object whose properties have the value 'true'\n     * when they will be absent when used in a 'with' statement.\n     */\n    readonly [Symbol.unscopables]: {\n        [K in keyof readonly any[]]?: boolean;\n    };\n}\n\ninterface Date {\n    /**\n     * Converts a Date object to a string.\n     */\n    [Symbol.toPrimitive](hint: \"default\"): string;\n    /**\n     * Converts a Date object to a string.\n     */\n    [Symbol.toPrimitive](hint: \"string\"): string;\n    /**\n     * Converts a Date object to a number.\n     */\n    [Symbol.toPrimitive](hint: \"number\"): number;\n    /**\n     * Converts a Date object to a string or number.\n     *\n     * @param hint The strings \"number\", \"string\", or \"default\" to specify what primitive to return.\n     *\n     * @throws {TypeError} If 'hint' was given something other than \"number\", \"string\", or \"default\".\n     * @returns A number if 'hint' was \"number\", a string if 'hint' was \"string\" or \"default\".\n     */\n    [Symbol.toPrimitive](hint: string): string | number;\n}\n\ninterface Map<K, V> {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakMap<K extends object, V> {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface Set<T> {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakSet<T extends object> {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface JSON {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface Function {\n    /**\n     * Determines whether the given value inherits from this function if this function was used\n     * as a constructor function.\n     *\n     * A constructor function can control which objects are recognized as its instances by\n     * 'instanceof' by overriding this method.\n     */\n    [Symbol.hasInstance](value: any): boolean;\n}\n\ninterface GeneratorFunction {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface Math {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface Promise<T> {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface PromiseConstructor {\n    readonly [Symbol.species]: PromiseConstructor;\n}\n\ninterface RegExp {\n    /**\n     * Matches a string with this regular expression, and returns an array containing the results of\n     * that search.\n     * @param string A string to search within.\n     */\n    [Symbol.match](string: string): RegExpMatchArray | null;\n\n    /**\n     * Replaces text in a string, using this regular expression.\n     * @param string A String object or string literal whose contents matching against\n     *               this regular expression will be replaced\n     * @param replaceValue A String object or string literal containing the text to replace for every\n     *                     successful match of this regular expression.\n     */\n    [Symbol.replace](string: string, replaceValue: string): string;\n\n    /**\n     * Replaces text in a string, using this regular expression.\n     * @param string A String object or string literal whose contents matching against\n     *               this regular expression will be replaced\n     * @param replacer A function that returns the replacement text.\n     */\n    [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;\n\n    /**\n     * Finds the position beginning first substring match in a regular expression search\n     * using this regular expression.\n     *\n     * @param string The string to search within.\n     */\n    [Symbol.search](string: string): number;\n\n    /**\n     * Returns an array of substrings that were delimited by strings in the original input that\n     * match against this regular expression.\n     *\n     * If the regular expression contains capturing parentheses, then each time this\n     * regular expression matches, the results (including any undefined results) of the\n     * capturing parentheses are spliced.\n     *\n     * @param string string value to split\n     * @param limit if not undefined, the output array is truncated so that it contains no more\n     * than 'limit' elements.\n     */\n    [Symbol.split](string: string, limit?: number): string[];\n}\n\ninterface RegExpConstructor {\n    readonly [Symbol.species]: RegExpConstructor;\n}\n\ninterface String {\n    /**\n     * Matches a string or an object that supports being matched against, and returns an array\n     * containing the results of that search, or null if no matches are found.\n     * @param matcher An object that supports being matched against.\n     */\n    match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;\n\n    /**\n     * Passes a string and {@linkcode replaceValue} to the \\`[Symbol.replace]\\` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\n     * @param searchValue An object that supports searching for and replacing matches within a string.\n     * @param replaceValue The replacement text.\n     */\n    replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;\n\n    /**\n     * Replaces text in a string, using an object that supports replacement within a string.\n     * @param searchValue A object can search for and replace matches within a string.\n     * @param replacer A function that returns the replacement text.\n     */\n    replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;\n\n    /**\n     * Finds the first substring match in a regular expression search.\n     * @param searcher An object which supports searching within a string.\n     */\n    search(searcher: { [Symbol.search](string: string): number; }): number;\n\n    /**\n     * Split a string into substrings using the specified separator and return them as an array.\n     * @param splitter An object that can split a string.\n     * @param limit A value used to limit the number of elements returned in the array.\n     */\n    split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];\n}\n\ninterface ArrayBuffer {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface DataView {\n    readonly [Symbol.toStringTag]: string;\n}\n\ninterface Int8Array {\n    readonly [Symbol.toStringTag]: \"Int8Array\";\n}\n\ninterface Uint8Array {\n    readonly [Symbol.toStringTag]: \"Uint8Array\";\n}\n\ninterface Uint8ClampedArray {\n    readonly [Symbol.toStringTag]: \"Uint8ClampedArray\";\n}\n\ninterface Int16Array {\n    readonly [Symbol.toStringTag]: \"Int16Array\";\n}\n\ninterface Uint16Array {\n    readonly [Symbol.toStringTag]: \"Uint16Array\";\n}\n\ninterface Int32Array {\n    readonly [Symbol.toStringTag]: \"Int32Array\";\n}\n\ninterface Uint32Array {\n    readonly [Symbol.toStringTag]: \"Uint32Array\";\n}\n\ninterface Float32Array {\n    readonly [Symbol.toStringTag]: \"Float32Array\";\n}\n\ninterface Float64Array {\n    readonly [Symbol.toStringTag]: \"Float64Array\";\n}\n\ninterface ArrayConstructor {\n    readonly [Symbol.species]: ArrayConstructor;\n}\ninterface MapConstructor {\n    readonly [Symbol.species]: MapConstructor;\n}\ninterface SetConstructor {\n    readonly [Symbol.species]: SetConstructor;\n}\ninterface ArrayBufferConstructor {\n    readonly [Symbol.species]: ArrayBufferConstructor;\n}\n`;\n  libFileMap[\"lib.es2016.array.include.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Array<T> {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: T, fromIndex?: number): boolean;\\n}\\n\\ninterface ReadonlyArray<T> {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: T, fromIndex?: number): boolean;\\n}\\n\\ninterface Int8Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Uint8Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Uint8ClampedArray {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Int16Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Uint16Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Int32Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Uint32Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Float32Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}\\n\\ninterface Float64Array {\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: number, fromIndex?: number): boolean;\\n}';\n  libFileMap[\"lib.es2016.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2015\" />\\n/// <reference lib=\"es2016.array.include\" />';\n  libFileMap[\"lib.es2016.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2016\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />';\n  libFileMap[\"lib.es2017.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2016\" />\\n/// <reference lib=\"es2017.object\" />\\n/// <reference lib=\"es2017.sharedmemory\" />\\n/// <reference lib=\"es2017.string\" />\\n/// <reference lib=\"es2017.intl\" />\\n/// <reference lib=\"es2017.typedarrays\" />\\n';\n  libFileMap[\"lib.es2017.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2017\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />';\n  libFileMap[\"lib.es2017.intl.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare namespace Intl {\\n\\n    interface DateTimeFormatPartTypesRegistry {\\n        day: any\\n        dayPeriod: any\\n        era: any\\n        hour: any\\n        literal: any\\n        minute: any\\n        month: any\\n        second: any\\n        timeZoneName: any\\n        weekday: any\\n        year: any\\n    }\\n\\n    type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;\\n\\n    interface DateTimeFormatPart {\\n        type: DateTimeFormatPartTypes;\\n        value: string;\\n    }\\n\\n    interface DateTimeFormat {\\n        formatToParts(date?: Date | number): DateTimeFormatPart[];\\n    }\\n}\\n';\n  libFileMap[\"lib.es2017.object.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface ObjectConstructor {\\n    /**\\n     * Returns an array of values of the enumerable properties of an object\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];\\n\\n    /**\\n     * Returns an array of values of the enumerable properties of an object\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    values(o: {}): any[];\\n\\n    /**\\n     * Returns an array of key/values of the enumerable properties of an object\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];\\n\\n    /**\\n     * Returns an array of key/values of the enumerable properties of an object\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    entries(o: {}): [string, any][];\\n\\n    /**\\n     * Returns an object containing all own property descriptors of an object\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };\\n}\\n';\n  libFileMap[\"lib.es2017.sharedmemory.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2015.symbol\" />\\n/// <reference lib=\"es2015.symbol.wellknown\" />\\n\\ninterface SharedArrayBuffer {\\n    /**\\n     * Read-only. The length of the ArrayBuffer (in bytes).\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * Returns a section of an SharedArrayBuffer.\\n     */\\n    slice(begin: number, end?: number): SharedArrayBuffer;\\n    readonly [Symbol.species]: SharedArrayBuffer;\\n    readonly [Symbol.toStringTag]: \"SharedArrayBuffer\";\\n}\\n\\ninterface SharedArrayBufferConstructor {\\n    readonly prototype: SharedArrayBuffer;\\n    new (byteLength: number): SharedArrayBuffer;\\n}\\ndeclare var SharedArrayBuffer: SharedArrayBufferConstructor;\\n\\ninterface ArrayBufferTypes {\\n    SharedArrayBuffer: SharedArrayBuffer;\\n}\\n\\ninterface Atomics {\\n    /**\\n     * Adds a value to the value at the given position in the array, returning the original value.\\n     * Until this atomic operation completes, any other read or write operation against the array\\n     * will block.\\n     */\\n    add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    /**\\n     * Stores the bitwise AND of a value with the value at the given position in the array,\\n     * returning the original value. Until this atomic operation completes, any other read or\\n     * write operation against the array will block.\\n     */\\n    and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    /**\\n     * Replaces the value at the given position in the array if the original value equals the given\\n     * expected value, returning the original value. Until this atomic operation completes, any\\n     * other read or write operation against the array will block.\\n     */\\n    compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;\\n\\n    /**\\n     * Replaces the value at the given position in the array, returning the original value. Until\\n     * this atomic operation completes, any other read or write operation against the array will\\n     * block.\\n     */\\n    exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    /**\\n     * Returns a value indicating whether high-performance algorithms can use atomic operations\\n     * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed\\n     * array.\\n     */\\n    isLockFree(size: number): boolean;\\n\\n    /**\\n     * Returns the value at the given position in the array. Until this atomic operation completes,\\n     * any other read or write operation against the array will block.\\n     */\\n    load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;\\n\\n    /**\\n     * Stores the bitwise OR of a value with the value at the given position in the array,\\n     * returning the original value. Until this atomic operation completes, any other read or write\\n     * operation against the array will block.\\n     */\\n    or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    /**\\n     * Stores a value at the given position in the array, returning the new value. Until this\\n     * atomic operation completes, any other read or write operation against the array will block.\\n     */\\n    store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    /**\\n     * Subtracts a value from the value at the given position in the array, returning the original\\n     * value. Until this atomic operation completes, any other read or write operation against the\\n     * array will block.\\n     */\\n    sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    /**\\n     * If the value at the given position in the array is equal to the provided value, the current\\n     * agent is put to sleep causing execution to suspend until the timeout expires (returning\\n     * `\"timed-out\"`) or until the agent is awoken (returning `\"ok\"`); otherwise, returns\\n     * `\"not-equal\"`.\\n     */\\n    wait(typedArray: Int32Array, index: number, value: number, timeout?: number): \"ok\" | \"not-equal\" | \"timed-out\";\\n\\n    /**\\n     * Wakes up sleeping agents that are waiting on the given index of the array, returning the\\n     * number of agents that were awoken.\\n     * @param typedArray A shared Int32Array.\\n     * @param index The position in the typedArray to wake up on.\\n     * @param count The number of sleeping agents to notify. Defaults to +Infinity.\\n     */\\n    notify(typedArray: Int32Array, index: number, count?: number): number;\\n\\n    /**\\n     * Stores the bitwise XOR of a value with the value at the given position in the array,\\n     * returning the original value. Until this atomic operation completes, any other read or write\\n     * operation against the array will block.\\n     */\\n    xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\\n\\n    readonly [Symbol.toStringTag]: \"Atomics\";\\n}\\n\\ndeclare var Atomics: Atomics;\\n';\n  libFileMap[\"lib.es2017.string.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\ninterface String {\n    /**\n     * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n     * The padding is applied from the start (left) of the current string.\n     *\n     * @param maxLength The length of the resulting string once the current string has been padded.\n     *        If this parameter is smaller than the current string's length, the current string will be returned as it is.\n     *\n     * @param fillString The string to pad the current string with.\n     *        If this string is too long, it will be truncated and the left-most part will be applied.\n     *        The default value for this parameter is \" \" (U+0020).\n     */\n    padStart(maxLength: number, fillString?: string): string;\n\n    /**\n     * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n     * The padding is applied from the end (right) of the current string.\n     *\n     * @param maxLength The length of the resulting string once the current string has been padded.\n     *        If this parameter is smaller than the current string's length, the current string will be returned as it is.\n     *\n     * @param fillString The string to pad the current string with.\n     *        If this string is too long, it will be truncated and the left-most part will be applied.\n     *        The default value for this parameter is \" \" (U+0020).\n     */\n    padEnd(maxLength: number, fillString?: string): string;\n}\n`;\n  libFileMap[\"lib.es2017.typedarrays.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Int8ArrayConstructor {\\n    new (): Int8Array;\\n}\\n\\ninterface Uint8ArrayConstructor {\\n    new (): Uint8Array;\\n}\\n\\ninterface Uint8ClampedArrayConstructor {\\n    new (): Uint8ClampedArray;\\n}\\n\\ninterface Int16ArrayConstructor {\\n    new (): Int16Array;\\n}\\n\\ninterface Uint16ArrayConstructor {\\n    new (): Uint16Array;\\n}\\n\\ninterface Int32ArrayConstructor {\\n    new (): Int32Array;\\n}\\n\\ninterface Uint32ArrayConstructor {\\n    new (): Uint32Array;\\n}\\n\\ninterface Float32ArrayConstructor {\\n    new (): Float32Array;\\n}\\n\\ninterface Float64ArrayConstructor {\\n    new (): Float64Array;\\n}\\n';\n  libFileMap[\"lib.es2018.asyncgenerator.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/// <reference lib=\"es2018.asynciterable\" />\n\ninterface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {\n    // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n    next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n    return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n    throw(e: any): Promise<IteratorResult<T, TReturn>>;\n    [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;\n}\n\ninterface AsyncGeneratorFunction {\n    /**\n     * Creates a new AsyncGenerator object.\n     * @param args A list of arguments the function accepts.\n     */\n    new (...args: any[]): AsyncGenerator;\n    /**\n     * Creates a new AsyncGenerator object.\n     * @param args A list of arguments the function accepts.\n     */\n    (...args: any[]): AsyncGenerator;\n    /**\n     * The length of the arguments.\n     */\n    readonly length: number;\n    /**\n     * Returns the name of the function.\n     */\n    readonly name: string;\n    /**\n     * A reference to the prototype.\n     */\n    readonly prototype: AsyncGenerator;\n}\n\ninterface AsyncGeneratorFunctionConstructor {\n    /**\n     * Creates a new AsyncGenerator function.\n     * @param args A list of arguments the function accepts.\n     */\n    new (...args: string[]): AsyncGeneratorFunction;\n    /**\n     * Creates a new AsyncGenerator function.\n     * @param args A list of arguments the function accepts.\n     */\n    (...args: string[]): AsyncGeneratorFunction;\n    /**\n     * The length of the arguments.\n     */\n    readonly length: number;\n    /**\n     * Returns the name of the function.\n     */\n    readonly name: string;\n    /**\n     * A reference to the prototype.\n     */\n    readonly prototype: AsyncGeneratorFunction;\n}\n`;\n  libFileMap[\"lib.es2018.asynciterable.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/// <reference lib=\"es2015.symbol\" />\n/// <reference lib=\"es2015.iterable\" />\n\ninterface SymbolConstructor {\n    /**\n     * A method that returns the default async iterator for an object. Called by the semantics of\n     * the for-await-of statement.\n     */\n    readonly asyncIterator: unique symbol;\n}\n\ninterface AsyncIterator<T, TReturn = any, TNext = undefined> {\n    // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n    next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n    return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n    throw?(e?: any): Promise<IteratorResult<T, TReturn>>;\n}\n\ninterface AsyncIterable<T> {\n    [Symbol.asyncIterator](): AsyncIterator<T>;\n}\n\ninterface AsyncIterableIterator<T> extends AsyncIterator<T> {\n    [Symbol.asyncIterator](): AsyncIterableIterator<T>;\n}`;\n  libFileMap[\"lib.es2018.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2017\" />\\n/// <reference lib=\"es2018.asynciterable\" />\\n/// <reference lib=\"es2018.asyncgenerator\" />\\n/// <reference lib=\"es2018.promise\" />\\n/// <reference lib=\"es2018.regexp\" />\\n/// <reference lib=\"es2018.intl\" />\\n';\n  libFileMap[\"lib.es2018.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2018\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />';\n  libFileMap[\"lib.es2018.intl.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\ndeclare namespace Intl {\n\n    // http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories\n    type LDMLPluralRule = \"zero\" | \"one\" | \"two\" | \"few\" | \"many\" | \"other\";\n    type PluralRuleType = \"cardinal\" | \"ordinal\";\n\n    interface PluralRulesOptions {\n        localeMatcher?: \"lookup\" | \"best fit\" | undefined;\n        type?: PluralRuleType | undefined;\n        minimumIntegerDigits?: number | undefined;\n        minimumFractionDigits?: number | undefined;\n        maximumFractionDigits?: number | undefined;\n        minimumSignificantDigits?: number | undefined;\n        maximumSignificantDigits?: number | undefined;\n    }\n\n    interface ResolvedPluralRulesOptions {\n        locale: string;\n        pluralCategories: LDMLPluralRule[];\n        type: PluralRuleType;\n        minimumIntegerDigits: number;\n        minimumFractionDigits: number;\n        maximumFractionDigits: number;\n        minimumSignificantDigits?: number;\n        maximumSignificantDigits?: number;\n    }\n\n    interface PluralRules {\n        resolvedOptions(): ResolvedPluralRulesOptions;\n        select(n: number): LDMLPluralRule;\n    }\n\n    const PluralRules: {\n        new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n        (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n\n        supportedLocalesOf(locales: string | string[], options?: { localeMatcher?: \"lookup\" | \"best fit\" }): string[];\n    };\n\n    // We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here:\n    type ES2018NumberFormatPartType = \"literal\" | \"nan\" | \"infinity\" | \"percent\" | \"integer\" | \"group\" | \"decimal\" | \"fraction\" | \"plusSign\" | \"minusSign\" | \"percentSign\" | \"currency\" | \"code\" | \"symbol\" | \"name\";\n    type ES2020NumberFormatPartType = \"compact\" | \"exponentInteger\" | \"exponentMinusSign\" | \"exponentSeparator\" | \"unit\" | \"unknown\";\n    type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType;\n\n    interface NumberFormatPart {\n        type: NumberFormatPartTypes;\n        value: string;\n    }\n\n    interface NumberFormat {\n        formatToParts(number?: number | bigint): NumberFormatPart[];\n    }\n}\n`;\n  libFileMap[\"lib.es2018.promise.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/**\\n * Represents the completion of an asynchronous operation\\n */\\ninterface Promise<T> {\\n    /**\\n     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The\\n     * resolved value cannot be modified from the callback.\\n     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).\\n     * @returns A Promise for the completion of the callback.\\n     */\\n    finally(onfinally?: (() => void) | undefined | null): Promise<T>\\n}\\n';\n  libFileMap[\"lib.es2018.regexp.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface RegExpMatchArray {\\n    groups?: {\\n        [key: string]: string\\n    }\\n}\\n\\ninterface RegExpExecArray {\\n    groups?: {\\n        [key: string]: string\\n    }\\n}\\n\\ninterface RegExp {\\n    /**\\n     * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.\\n     * Default is false. Read-only.\\n     */\\n    readonly dotAll: boolean;\\n}';\n  libFileMap[\"lib.es2019.array.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ntype FlatArray<Arr, Depth extends number> = {\\n    \"done\": Arr,\\n    \"recur\": Arr extends ReadonlyArray<infer InnerArr>\\n        ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>\\n        : Arr\\n}[Depth extends -1 ? \"done\" : \"recur\"];\\n\\ninterface ReadonlyArray<T> {\\n\\n    /**\\n     * Calls a defined callback function on each element of an array. Then, flattens the result into\\n     * a new array.\\n     * This is identical to a map followed by flat with depth 1.\\n     *\\n     * @param callback A function that accepts up to three arguments. The flatMap method calls the\\n     * callback function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callback function. If\\n     * thisArg is omitted, undefined is used as the this value.\\n     */\\n    flatMap<U, This = undefined> (\\n        callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\\n        thisArg?: This\\n    ): U[]\\n\\n\\n    /**\\n     * Returns a new array with all sub-array elements concatenated into it recursively up to the\\n     * specified depth.\\n     *\\n     * @param depth The maximum recursion depth\\n     */\\n    flat<A, D extends number = 1>(\\n        this: A,\\n        depth?: D\\n    ): FlatArray<A, D>[]\\n  }\\n\\ninterface Array<T> {\\n\\n    /**\\n     * Calls a defined callback function on each element of an array. Then, flattens the result into\\n     * a new array.\\n     * This is identical to a map followed by flat with depth 1.\\n     *\\n     * @param callback A function that accepts up to three arguments. The flatMap method calls the\\n     * callback function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callback function. If\\n     * thisArg is omitted, undefined is used as the this value.\\n     */\\n    flatMap<U, This = undefined> (\\n        callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\\n        thisArg?: This\\n    ): U[]\\n\\n    /**\\n     * Returns a new array with all sub-array elements concatenated into it recursively up to the\\n     * specified depth.\\n     *\\n     * @param depth The maximum recursion depth\\n     */\\n    flat<A, D extends number = 1>(\\n        this: A,\\n        depth?: D\\n    ): FlatArray<A, D>[]\\n}\\n';\n  libFileMap[\"lib.es2019.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2018\" />\\n/// <reference lib=\"es2019.array\" />\\n/// <reference lib=\"es2019.object\" />\\n/// <reference lib=\"es2019.string\" />\\n/// <reference lib=\"es2019.symbol\" />\\n/// <reference lib=\"es2019.intl\" />\\n';\n  libFileMap[\"lib.es2019.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2019\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />\\n';\n  libFileMap[\"lib.es2019.intl.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare namespace Intl {\\n    interface DateTimeFormatPartTypesRegistry {\\n        unknown: any\\n    }\\n}\\n';\n  libFileMap[\"lib.es2019.object.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2015.iterable\" />\\n\\ninterface ObjectConstructor {\\n    /**\\n     * Returns an object created by key-value entries for properties and methods\\n     * @param entries An iterable object that contains key-value entries for properties and methods.\\n     */\\n    fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };\\n\\n    /**\\n     * Returns an object created by key-value entries for properties and methods\\n     * @param entries An iterable object that contains key-value entries for properties and methods.\\n     */\\n    fromEntries(entries: Iterable<readonly any[]>): any;\\n}\\n';\n  libFileMap[\"lib.es2019.string.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface String {\\n    /** Removes the trailing white space and line terminator characters from a string. */\\n    trimEnd(): string;\\n\\n    /** Removes the leading white space and line terminator characters from a string. */\\n    trimStart(): string;\\n\\n    /**\\n     * Removes the leading white space and line terminator characters from a string.\\n     * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead\\n     */\\n    trimLeft(): string;\\n\\n    /**\\n     * Removes the trailing white space and line terminator characters from a string.\\n     * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead\\n     */\\n    trimRight(): string;\\n}\\n';\n  libFileMap[\"lib.es2019.symbol.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Symbol {\\n    /**\\n     * Expose the [[Description]] internal slot of a symbol directly.\\n     */\\n    readonly description: string | undefined;\\n}\\n';\n  libFileMap[\"lib.es2020.bigint.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2020.intl\" />\\n\\ninterface BigIntToLocaleStringOptions {\\n    /**\\n     * The locale matching algorithm to use.The default is \"best fit\". For information about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.\\n     */\\n    localeMatcher?: string;\\n    /**\\n     * The formatting style to use , the default is \"decimal\".\\n     */\\n    style?: string;\\n\\n    numberingSystem?: string;\\n    /**\\n     * The unit to use in unit formatting, Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. A subset of units from the full list was selected for use in ECMAScript. Pairs of simple units can be concatenated with \"-per-\" to make a compound unit. There is no default value; if the style is \"unit\", the unit property must be provided.\\n     */\\n    unit?: string;\\n\\n    /**\\n     * The unit formatting style to use in unit formatting, the defaults is \"short\".\\n     */\\n    unitDisplay?: string;\\n\\n    /**\\n     * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as \"USD\" for the US dollar, \"EUR\" for the euro, or \"CNY\" for the Chinese RMB \\u2014 see the Current currency & funds code list. There is no default value; if the style is \"currency\", the currency property must be provided. It is only used when [[Style]] has the value \"currency\".\\n     */\\n    currency?: string;\\n\\n    /**\\n     * How to display the currency in currency formatting. It is only used when [[Style]] has the value \"currency\". The default is \"symbol\".\\n     *\\n     * \"symbol\" to use a localized currency symbol such as \\u20AC,\\n     *\\n     * \"code\" to use the ISO currency code,\\n     *\\n     * \"name\" to use a localized currency name such as \"dollar\"\\n     */\\n    currencyDisplay?: string;\\n\\n    /**\\n     * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. The default is true.\\n     */\\n    useGrouping?: boolean;\\n\\n    /**\\n     * The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.\\n     */\\n    minimumIntegerDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\\n\\n    /**\\n     * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\\'t provide that information).\\n     */\\n    minimumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\\n\\n    /**\\n     * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\\'t provide that information); the default for percent formatting is the larger of minimumFractionDigits and 0.\\n     */\\n    maximumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\\n\\n    /**\\n     * The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1.\\n     */\\n    minimumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\\n\\n    /**\\n     * The maximum number of significant digits to use. Possible values are from 1 to 21; the default is 21.\\n     */\\n    maximumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\\n\\n    /**\\n     * The formatting that should be displayed for the number, the defaults is \"standard\"\\n     *\\n     *     \"standard\" plain number formatting\\n     *\\n     *     \"scientific\" return the order-of-magnitude for formatted number.\\n     *\\n     *     \"engineering\" return the exponent of ten when divisible by three\\n     *\\n     *     \"compact\" string representing exponent, defaults is using the \"short\" form\\n     */\\n    notation?: string;\\n\\n    /**\\n     * used only when notation is \"compact\"\\n     */\\n    compactDisplay?: string;\\n}\\n\\ninterface BigInt {\\n    /**\\n     * Returns a string representation of an object.\\n     * @param radix Specifies a radix for converting numeric values to strings.\\n     */\\n    toString(radix?: number): string;\\n\\n    /** Returns a string representation appropriate to the host environment\\'s current locale. */\\n    toLocaleString(locales?: Intl.LocalesArgument, options?: BigIntToLocaleStringOptions): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): bigint;\\n\\n    readonly [Symbol.toStringTag]: \"BigInt\";\\n}\\n\\ninterface BigIntConstructor {\\n    (value: bigint | boolean | number | string): bigint;\\n    readonly prototype: BigInt;\\n\\n    /**\\n     * Interprets the low bits of a BigInt as a 2\\'s-complement signed integer.\\n     * All higher bits are discarded.\\n     * @param bits The number of low bits to use\\n     * @param int The BigInt whose bits to extract\\n     */\\n    asIntN(bits: number, int: bigint): bigint;\\n    /**\\n     * Interprets the low bits of a BigInt as an unsigned integer.\\n     * All higher bits are discarded.\\n     * @param bits The number of low bits to use\\n     * @param int The BigInt whose bits to extract\\n     */\\n    asUintN(bits: number, int: bigint): bigint;\\n}\\n\\ndeclare var BigInt: BigIntConstructor;\\n\\n/**\\n * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated, an exception is raised.\\n */\\ninterface BigInt64Array {\\n    /** The size in bytes of each element in the array. */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /** The ArrayBuffer instance referenced by the array. */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /** The length in bytes of the array. */\\n    readonly byteLength: number;\\n\\n    /** The offset in bytes of the array. */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /** Yields index, value pairs for every entry in the array. */\\n    entries(): IterableIterator<[number, bigint]>;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns false,\\n     * or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: bigint, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: bigint, fromIndex?: number): boolean;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    indexOf(searchElement: bigint, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /** Yields each index in the array. */\\n    keys(): IterableIterator<number>;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: bigint, fromIndex?: number): number;\\n\\n    /** The length of the array. */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\\n\\n    /** Reverses the elements in the array. */\\n    reverse(): this;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<bigint>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array.\\n     */\\n    slice(start?: number, end?: number): BigInt64Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls the\\n     * predicate function for each element in the array until the predicate returns true, or until\\n     * the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts the array.\\n     * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\\n     */\\n    sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\\n\\n    /**\\n     * Gets a new BigInt64Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): BigInt64Array;\\n\\n    /** Converts the array to a string by using the current locale. */\\n    toLocaleString(): string;\\n\\n    /** Returns a string representation of the array. */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): BigInt64Array;\\n\\n    /** Yields each value in the array. */\\n    values(): IterableIterator<bigint>;\\n\\n    [Symbol.iterator](): IterableIterator<bigint>;\\n\\n    readonly [Symbol.toStringTag]: \"BigInt64Array\";\\n\\n    [index: number]: bigint;\\n}\\n\\ninterface BigInt64ArrayConstructor {\\n    readonly prototype: BigInt64Array;\\n    new(length?: number): BigInt64Array;\\n    new(array: Iterable<bigint>): BigInt64Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;\\n\\n    /** The size in bytes of each element in the array. */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: bigint[]): BigInt64Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from(arrayLike: ArrayLike<bigint>): BigInt64Array;\\n    from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;\\n}\\n\\ndeclare var BigInt64Array: BigInt64ArrayConstructor;\\n\\n/**\\n * A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated, an exception is raised.\\n */\\ninterface BigUint64Array {\\n    /** The size in bytes of each element in the array. */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /** The ArrayBuffer instance referenced by the array. */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /** The length in bytes of the array. */\\n    readonly byteLength: number;\\n\\n    /** The offset in bytes of the array. */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /** Yields index, value pairs for every entry in the array. */\\n    entries(): IterableIterator<[number, bigint]>;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns false,\\n     * or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: bigint, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Determines whether an array includes a certain element, returning true or false as appropriate.\\n     * @param searchElement The element to search for.\\n     * @param fromIndex The position in this array at which to begin searching for searchElement.\\n     */\\n    includes(searchElement: bigint, fromIndex?: number): boolean;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    indexOf(searchElement: bigint, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /** Yields each index in the array. */\\n    keys(): IterableIterator<number>;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: bigint, fromIndex?: number): number;\\n\\n    /** The length of the array. */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\\n\\n    /** Reverses the elements in the array. */\\n    reverse(): this;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<bigint>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array.\\n     */\\n    slice(start?: number, end?: number): BigUint64Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls the\\n     * predicate function for each element in the array until the predicate returns true, or until\\n     * the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts the array.\\n     * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\\n     */\\n    sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\\n\\n    /**\\n     * Gets a new BigUint64Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): BigUint64Array;\\n\\n    /** Converts the array to a string by using the current locale. */\\n    toLocaleString(): string;\\n\\n    /** Returns a string representation of the array. */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): BigUint64Array;\\n\\n    /** Yields each value in the array. */\\n    values(): IterableIterator<bigint>;\\n\\n    [Symbol.iterator](): IterableIterator<bigint>;\\n\\n    readonly [Symbol.toStringTag]: \"BigUint64Array\";\\n\\n    [index: number]: bigint;\\n}\\n\\ninterface BigUint64ArrayConstructor {\\n    readonly prototype: BigUint64Array;\\n    new(length?: number): BigUint64Array;\\n    new(array: Iterable<bigint>): BigUint64Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;\\n\\n    /** The size in bytes of each element in the array. */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: bigint[]): BigUint64Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from(arrayLike: ArrayLike<bigint>): BigUint64Array;\\n    from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;\\n}\\n\\ndeclare var BigUint64Array: BigUint64ArrayConstructor;\\n\\ninterface DataView {\\n    /**\\n     * Gets the BigInt64 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;\\n\\n    /**\\n     * Gets the BigUint64 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;\\n\\n    /**\\n     * Stores a BigInt64 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\\n\\n    /**\\n     * Stores a BigUint64 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\\n}\\n\\ndeclare namespace Intl{\\n    interface NumberFormat {\\n        format(value: number | bigint): string;\\n        resolvedOptions(): ResolvedNumberFormatOptions;\\n    }\\n}\\n';\n  libFileMap[\"lib.es2020.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2019\" />\\n/// <reference lib=\"es2020.bigint\" />\\n/// <reference lib=\"es2020.date\" />\\n/// <reference lib=\"es2020.number\" />\\n/// <reference lib=\"es2020.promise\" />\\n/// <reference lib=\"es2020.sharedmemory\" />\\n/// <reference lib=\"es2020.string\" />\\n/// <reference lib=\"es2020.symbol.wellknown\" />\\n/// <reference lib=\"es2020.intl\" />\\n';\n  libFileMap[\"lib.es2020.date.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2020.intl\" />\\n\\ninterface Date {\\n    /**\\n     * Converts a date and time to a string by using the current or specified locale.\\n     * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;\\n\\n    /**\\n     * Converts a date to a string by using the current or specified locale.\\n     * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleDateString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;\\n\\n    /**\\n     * Converts a time to a string by using the current or specified locale.\\n     * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleTimeString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;\\n}';\n  libFileMap[\"lib.es2020.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2020\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />\\n';\n  libFileMap[\"lib.es2020.intl.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2018.intl\" />\\ndeclare namespace Intl {\\n\\n    /**\\n     * [Unicode BCP 47 Locale Identifiers](https://unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers) definition.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\\n     */\\n    type UnicodeBCP47LocaleIdentifier = string;\\n\\n    /**\\n     * Unit to use in the relative time internationalized message.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).\\n     */\\n    type RelativeTimeFormatUnit =\\n        | \"year\"\\n        | \"years\"\\n        | \"quarter\"\\n        | \"quarters\"\\n        | \"month\"\\n        | \"months\"\\n        | \"week\"\\n        | \"weeks\"\\n        | \"day\"\\n        | \"days\"\\n        | \"hour\"\\n        | \"hours\"\\n        | \"minute\"\\n        | \"minutes\"\\n        | \"second\"\\n        | \"seconds\";\\n\\n    /**\\n     * Value of the `unit` property in objects returned by\\n     * `Intl.RelativeTimeFormat.prototype.formatToParts()`. `formatToParts` and\\n     * `format` methods accept either singular or plural unit names as input,\\n     * but `formatToParts` only outputs singular (e.g. \"day\") not plural (e.g.\\n     * \"days\").\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).\\n     */\\n     type RelativeTimeFormatUnitSingular =\\n        | \"year\"\\n        | \"quarter\"\\n        | \"month\"\\n        | \"week\"\\n        | \"day\"\\n        | \"hour\"\\n        | \"minute\"\\n        | \"second\";\\n\\n    /**\\n     * The locale matching algorithm to use.\\n     *\\n     * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\\n     */\\n    type RelativeTimeFormatLocaleMatcher = \"lookup\" | \"best fit\";\\n\\n    /**\\n     * The format of output message.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\\n     */\\n    type RelativeTimeFormatNumeric = \"always\" | \"auto\";\\n\\n    /**\\n     * The length of the internationalized message.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\\n     */\\n    type RelativeTimeFormatStyle = \"long\" | \"short\" | \"narrow\";\\n\\n    /**\\n     * [BCP 47 language tag](http://tools.ietf.org/html/rfc5646) definition.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\\n     */\\n    type BCP47LanguageTag = string;\\n\\n    /**\\n     * The locale(s) to use\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\\n     */\\n    type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined;\\n\\n    /**\\n     * An object with some or all of properties of `options` parameter\\n     * of `Intl.RelativeTimeFormat` constructor.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\\n     */\\n    interface RelativeTimeFormatOptions {\\n        /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */\\n        localeMatcher?: RelativeTimeFormatLocaleMatcher;\\n        /** The format of output message. */\\n        numeric?: RelativeTimeFormatNumeric;\\n        /** The length of the internationalized message. */\\n        style?: RelativeTimeFormatStyle;\\n    }\\n\\n    /**\\n     * An object with properties reflecting the locale\\n     * and formatting options computed during initialization\\n     * of the `Intl.RelativeTimeFormat` object\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).\\n     */\\n    interface ResolvedRelativeTimeFormatOptions {\\n        locale: UnicodeBCP47LocaleIdentifier;\\n        style: RelativeTimeFormatStyle;\\n        numeric: RelativeTimeFormatNumeric;\\n        numberingSystem: string;\\n    }\\n\\n    /**\\n     * An object representing the relative time format in parts\\n     * that can be used for custom locale-aware formatting.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).\\n     */\\n    type RelativeTimeFormatPart =\\n        | {\\n              type: \"literal\";\\n              value: string;\\n          }\\n        | {\\n              type: Exclude<NumberFormatPartTypes, \"literal\">;\\n              value: string;\\n              unit: RelativeTimeFormatUnitSingular;\\n          };\\n\\n    interface RelativeTimeFormat {\\n        /**\\n         * Formats a value and a unit according to the locale\\n         * and formatting options of the given\\n         * [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\\n         * object.\\n         *\\n         * While this method automatically provides the correct plural forms,\\n         * the grammatical form is otherwise as neutral as possible.\\n         *\\n         * It is the caller\\'s responsibility to handle cut-off logic\\n         * such as deciding between displaying \"in 7 days\" or \"in 1 week\".\\n         * This API does not support relative dates involving compound units.\\n         * e.g \"in 5 days and 4 hours\".\\n         *\\n         * @param value -  Numeric value to use in the internationalized relative time message\\n         *\\n         * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.\\n         *\\n         * @throws `RangeError` if `unit` was given something other than `unit` possible values\\n         *\\n         * @returns {string} Internationalized relative time message as string\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).\\n         */\\n        format(value: number, unit: RelativeTimeFormatUnit): string;\\n\\n        /**\\n         *  Returns an array of objects representing the relative time format in parts that can be used for custom locale-aware formatting.\\n         *\\n         *  @param value - Numeric value to use in the internationalized relative time message\\n         *\\n         *  @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.\\n         *\\n         *  @throws `RangeError` if `unit` was given something other than `unit` possible values\\n         *\\n         *  [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).\\n         */\\n        formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];\\n\\n        /**\\n         * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).\\n         */\\n        resolvedOptions(): ResolvedRelativeTimeFormatOptions;\\n    }\\n\\n    /**\\n     * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\\n     * object is a constructor for objects that enable language-sensitive relative time formatting.\\n     *\\n     * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).\\n     */\\n    const RelativeTimeFormat: {\\n        /**\\n         * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects\\n         *\\n         * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\\n         *  For the general form and interpretation of the locales argument,\\n         *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n         *\\n         * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\\n         *  with some or all of options of `RelativeTimeFormatOptions`.\\n         *\\n         * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).\\n         */\\n        new(\\n            locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],\\n            options?: RelativeTimeFormatOptions,\\n        ): RelativeTimeFormat;\\n\\n        /**\\n         * Returns an array containing those of the provided locales\\n         * that are supported in date and time formatting\\n         * without having to fall back to the runtime\\'s default locale.\\n         *\\n         * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\\n         *  For the general form and interpretation of the locales argument,\\n         *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n         *\\n         * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\\n         *  with some or all of options of the formatting.\\n         *\\n         * @returns An array containing those of the provided locales\\n         *  that are supported in date and time formatting\\n         *  without having to fall back to the runtime\\'s default locale.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).\\n         */\\n        supportedLocalesOf(\\n            locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],\\n            options?: RelativeTimeFormatOptions,\\n        ): UnicodeBCP47LocaleIdentifier[];\\n    };\\n\\n    interface NumberFormatOptions {\\n        compactDisplay?: \"short\" | \"long\" | undefined;\\n        notation?: \"standard\" | \"scientific\" | \"engineering\" | \"compact\" | undefined;\\n        signDisplay?: \"auto\" | \"never\" | \"always\" | \"exceptZero\" | undefined;\\n        unit?: string | undefined;\\n        unitDisplay?: \"short\" | \"long\" | \"narrow\" | undefined;\\n        currencyDisplay?: string | undefined;\\n        currencySign?: string | undefined;\\n    }\\n\\n    interface ResolvedNumberFormatOptions {\\n        compactDisplay?: \"short\" | \"long\";\\n        notation?: \"standard\" | \"scientific\" | \"engineering\" | \"compact\";\\n        signDisplay?: \"auto\" | \"never\" | \"always\" | \"exceptZero\";\\n        unit?: string;\\n        unitDisplay?: \"short\" | \"long\" | \"narrow\";\\n        currencyDisplay?: string;\\n        currencySign?: string;\\n    }\\n\\n    interface DateTimeFormatOptions {\\n        calendar?: string | undefined;\\n        dayPeriod?: \"narrow\" | \"short\" | \"long\" | undefined;\\n        numberingSystem?: string | undefined;\\n\\n        dateStyle?: \"full\" | \"long\" | \"medium\" | \"short\" | undefined;\\n        timeStyle?: \"full\" | \"long\" | \"medium\" | \"short\" | undefined;\\n        hourCycle?: \"h11\" | \"h12\" | \"h23\" | \"h24\" | undefined;\\n    }\\n\\n    type LocaleHourCycleKey = \"h12\" | \"h23\" | \"h11\" | \"h24\";\\n    type LocaleCollationCaseFirst = \"upper\" | \"lower\" | \"false\";\\n\\n    interface LocaleOptions {\\n        /** A string containing the language, and the script and region if available. */\\n        baseName?: string;\\n        /** The part of the Locale that indicates the locale\\'s calendar era. */\\n        calendar?: string;\\n        /** Flag that defines whether case is taken into account for the locale\\'s collation rules. */\\n        caseFirst?: LocaleCollationCaseFirst;\\n        /** The collation type used for sorting */\\n        collation?: string;\\n        /** The time keeping format convention used by the locale. */\\n        hourCycle?: LocaleHourCycleKey;\\n        /** The primary language subtag associated with the locale. */\\n        language?: string;\\n        /** The numeral system used by the locale. */\\n        numberingSystem?: string;\\n        /** Flag that defines whether the locale has special collation handling for numeric characters. */\\n        numeric?: boolean;\\n        /** The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1. */\\n        region?: string;\\n        /** The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924. */\\n        script?: string;\\n    }\\n\\n    interface Locale extends LocaleOptions {\\n        /** A string containing the language, and the script and region if available. */\\n        baseName: string;\\n        /** The primary language subtag associated with the locale. */\\n        language: string;\\n        /** Gets the most likely values for the language, script, and region of the locale based on existing values. */\\n        maximize(): Locale;\\n        /** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */\\n        minimize(): Locale;\\n        /** Returns the locale\\'s full locale identifier string. */\\n        toString(): BCP47LanguageTag;\\n    }\\n\\n    /**\\n     * Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)\\n     * objects\\n     *\\n     * @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).\\n     *  For the general form and interpretation of the locales argument,\\n     *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n     *\\n     * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.\\n     *\\n     * @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).\\n     */\\n    const Locale: {\\n        new (tag: BCP47LanguageTag | Locale, options?: LocaleOptions): Locale;\\n    };\\n\\n    type DisplayNamesFallback =\\n        | \"code\"\\n        | \"none\";\\n\\n    type DisplayNamesType =\\n        | \"language\"\\n        | \"region\"\\n        | \"script\"\\n        | \"calendar\"\\n        | \"dateTimeField\"\\n        | \"currency\";\\n\\n    type DisplayNamesLanguageDisplay =\\n        | \"dialect\"\\n        | \"standard\";\\n\\n    interface DisplayNamesOptions {\\n        localeMatcher?: RelativeTimeFormatLocaleMatcher;\\n        style?: RelativeTimeFormatStyle;\\n        type: DisplayNamesType;\\n        languageDisplay?: DisplayNamesLanguageDisplay;\\n        fallback?: DisplayNamesFallback;\\n    }\\n\\n    interface ResolvedDisplayNamesOptions {\\n        locale: UnicodeBCP47LocaleIdentifier;\\n        style: RelativeTimeFormatStyle;\\n        type: DisplayNamesType;\\n        fallback: DisplayNamesFallback;\\n        languageDisplay?: DisplayNamesLanguageDisplay;\\n    }\\n\\n    interface DisplayNames {\\n        /**\\n         * Receives a code and returns a string based on the locale and options provided when instantiating\\n         * [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)\\n         *\\n         * @param code The `code` to provide depends on the `type` passed to display name during creation:\\n         *  - If the type is `\"region\"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),\\n         *    or a [three digits UN M49 Geographic Regions](https://unstats.un.org/unsd/methodology/m49/).\\n         *  - If the type is `\"script\"`, code should be an [ISO-15924 four letters script code](https://unicode.org/iso15924/iso15924-codes.html).\\n         *  - If the type is `\"language\"`, code should be a `languageCode` [\"-\" `scriptCode`] [\"-\" `regionCode` ] *(\"-\" `variant` )\\n         *    subsequence of the unicode_language_id grammar in [UTS 35\\'s Unicode Language and Locale Identifiers grammar](https://unicode.org/reports/tr35/#Unicode_language_identifier).\\n         *    `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.\\n         *  - If the type is `\"currency\"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).\\n         */\\n        of(code: string): string | undefined;\\n        /**\\n         * Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current\\n         * [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).\\n         */\\n        resolvedOptions(): ResolvedDisplayNamesOptions;\\n    }\\n\\n    /**\\n     * The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)\\n     * object enables the consistent translation of language, region and script display names.\\n     *\\n     * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).\\n     */\\n    const DisplayNames: {\\n        prototype: DisplayNames;\\n\\n        /**\\n         * @param locales A string with a BCP 47 language tag, or an array of such strings.\\n         *   For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)\\n         *   page.\\n         *\\n         * @param options An object for setting up a display name.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).\\n         */\\n        new(locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames;\\n\\n        /**\\n         * Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime\\'s default locale.\\n         *\\n         * @param locales A string with a BCP 47 language tag, or an array of such strings.\\n         *   For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)\\n         *   page.\\n         *\\n         * @param options An object with a locale matcher.\\n         *\\n         * @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime\\'s default locale.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).\\n         */\\n        supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher }): BCP47LanguageTag[];\\n    };\\n\\n}\\n';\n  libFileMap[\"lib.es2020.number.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2020.intl\" />\\n\\ninterface Number {\\n    /**\\n     * Converts a number to a string by using the current or specified locale.\\n     * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;\\n}\\n';\n  libFileMap[\"lib.es2020.promise.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface PromiseFulfilledResult<T> {\\n    status: \"fulfilled\";\\n    value: T;\\n}\\n\\ninterface PromiseRejectedResult {\\n    status: \"rejected\";\\n    reason: any;\\n}\\n\\ntype PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;\\n\\ninterface PromiseConstructor {\\n    /**\\n     * Creates a Promise that is resolved with an array of results when all\\n     * of the provided Promises resolve or reject.\\n     * @param values An array of Promises.\\n     * @returns A new Promise.\\n     */\\n    allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>> }>;\\n\\n    /**\\n     * Creates a Promise that is resolved with an array of results when all\\n     * of the provided Promises resolve or reject.\\n     * @param values An array of Promises.\\n     * @returns A new Promise.\\n     */\\n    allSettled<T>(values: Iterable<T | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;\\n}\\n';\n  libFileMap[\"lib.es2020.sharedmemory.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Atomics {\\n    /**\\n     * Adds a value to the value at the given position in the array, returning the original value.\\n     * Until this atomic operation completes, any other read or write operation against the array\\n     * will block.\\n     */\\n    add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n\\n    /**\\n     * Stores the bitwise AND of a value with the value at the given position in the array,\\n     * returning the original value. Until this atomic operation completes, any other read or\\n     * write operation against the array will block.\\n     */\\n    and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n\\n    /**\\n     * Replaces the value at the given position in the array if the original value equals the given\\n     * expected value, returning the original value. Until this atomic operation completes, any\\n     * other read or write operation against the array will block.\\n     */\\n    compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint;\\n\\n    /**\\n     * Replaces the value at the given position in the array, returning the original value. Until\\n     * this atomic operation completes, any other read or write operation against the array will\\n     * block.\\n     */\\n    exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n\\n    /**\\n     * Returns the value at the given position in the array. Until this atomic operation completes,\\n     * any other read or write operation against the array will block.\\n     */\\n    load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;\\n\\n    /**\\n     * Stores the bitwise OR of a value with the value at the given position in the array,\\n     * returning the original value. Until this atomic operation completes, any other read or write\\n     * operation against the array will block.\\n     */\\n    or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n\\n    /**\\n     * Stores a value at the given position in the array, returning the new value. Until this\\n     * atomic operation completes, any other read or write operation against the array will block.\\n     */\\n    store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n\\n    /**\\n     * Subtracts a value from the value at the given position in the array, returning the original\\n     * value. Until this atomic operation completes, any other read or write operation against the\\n     * array will block.\\n     */\\n    sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n\\n    /**\\n     * If the value at the given position in the array is equal to the provided value, the current\\n     * agent is put to sleep causing execution to suspend until the timeout expires (returning\\n     * `\"timed-out\"`) or until the agent is awoken (returning `\"ok\"`); otherwise, returns\\n     * `\"not-equal\"`.\\n     */\\n    wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): \"ok\" | \"not-equal\" | \"timed-out\";\\n\\n    /**\\n     * Wakes up sleeping agents that are waiting on the given index of the array, returning the\\n     * number of agents that were awoken.\\n     * @param typedArray A shared BigInt64Array.\\n     * @param index The position in the typedArray to wake up on.\\n     * @param count The number of sleeping agents to notify. Defaults to +Infinity.\\n     */\\n    notify(typedArray: BigInt64Array, index: number, count?: number): number;\\n\\n    /**\\n     * Stores the bitwise XOR of a value with the value at the given position in the array,\\n     * returning the original value. Until this atomic operation completes, any other read or write\\n     * operation against the array will block.\\n     */\\n    xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;\\n}\\n';\n  libFileMap[\"lib.es2020.string.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2015.iterable\" />\\n\\ninterface String {\\n    /**\\n     * Matches a string with a regular expression, and returns an iterable of matches\\n     * containing the results of that search.\\n     * @param regexp A variable name or string literal containing the regular expression pattern and flags.\\n     */\\n    matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;\\n}\\n';\n  libFileMap[\"lib.es2020.symbol.wellknown.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2015.iterable\" />\\n/// <reference lib=\"es2015.symbol\" />\\n\\ninterface SymbolConstructor {\\n    /**\\n     * A regular expression method that matches the regular expression against a string. Called\\n     * by the String.prototype.matchAll method.\\n     */\\n    readonly matchAll: unique symbol;\\n}\\n\\ninterface RegExp {\\n    /**\\n     * Matches a string with this regular expression, and returns an iterable of matches\\n     * containing the results of that search.\\n     * @param string A string to search within.\\n     */\\n    [Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;\\n}\\n';\n  libFileMap[\"lib.es2021.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2020\" />\\n/// <reference lib=\"es2021.promise\" />\\n/// <reference lib=\"es2021.string\" />\\n/// <reference lib=\"es2021.weakref\" />\\n/// <reference lib=\"es2021.intl\" />\\n';\n  libFileMap[\"lib.es2021.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2021\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />\\n';\n  libFileMap[\"lib.es2021.intl.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare namespace Intl {\\n\\n    interface DateTimeFormatPartTypesRegistry {\\n        fractionalSecond: any\\n     }\\n\\n    interface DateTimeFormatOptions {\\n        formatMatcher?: \"basic\" | \"best fit\" | \"best fit\" | undefined;\\n        dateStyle?: \"full\" | \"long\" | \"medium\" | \"short\" | undefined;\\n        timeStyle?: \"full\" | \"long\" | \"medium\" | \"short\" | undefined;\\n        dayPeriod?: \"narrow\" | \"short\" | \"long\" | undefined;\\n        fractionalSecondDigits?: 1 | 2 | 3 | undefined;\\n    }\\n\\n    interface DateTimeRangeFormatPart extends DateTimeFormatPart {\\n        source: \"startRange\" | \"endRange\" | \"shared\"\\n    }\\n\\n    interface DateTimeFormat {\\n        formatRange(startDate: Date | number | bigint, endDate: Date | number | bigint): string;\\n        formatRangeToParts(startDate: Date | number | bigint, endDate: Date | number | bigint): DateTimeRangeFormatPart[];\\n    }\\n\\n    interface ResolvedDateTimeFormatOptions {\\n        formatMatcher?: \"basic\" | \"best fit\" | \"best fit\";\\n        dateStyle?: \"full\" | \"long\" | \"medium\" | \"short\";\\n        timeStyle?: \"full\" | \"long\" | \"medium\" | \"short\";\\n        hourCycle?: \"h11\" | \"h12\" | \"h23\" | \"h24\";\\n        dayPeriod?: \"narrow\" | \"short\" | \"long\";\\n        fractionalSecondDigits?: 1 | 2 | 3;\\n    }\\n\\n    /**\\n     * The locale matching algorithm to use.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\\n     */\\n    type ListFormatLocaleMatcher = \"lookup\" | \"best fit\";\\n\\n    /**\\n     * The format of output message.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\\n     */\\n    type ListFormatType = \"conjunction\" | \"disjunction\" | \"unit\";\\n\\n    /**\\n     * The length of the formatted message.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\\n     */\\n    type ListFormatStyle = \"long\" | \"short\" | \"narrow\";\\n\\n    /**\\n     * An object with some or all properties of the `Intl.ListFormat` constructor `options` parameter.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\\n     */\\n    interface ListFormatOptions {\\n        /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */\\n        localeMatcher?: ListFormatLocaleMatcher | undefined;\\n        /** The format of output message. */\\n        type?: ListFormatType | undefined;\\n        /** The length of the internationalized message. */\\n        style?: ListFormatStyle | undefined;\\n    }\\n\\n    interface ResolvedListFormatOptions {\\n        locale: string;\\n        style: ListFormatStyle;\\n        type: ListFormatType;\\n    }\\n\\n    interface ListFormat {\\n        /**\\n         * Returns a string with a language-specific representation of the list.\\n         *\\n         * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).\\n         *\\n         * @throws `TypeError` if `list` includes something other than the possible values.\\n         *\\n         * @returns {string} A language-specific formatted string representing the elements of the list.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format).\\n         */\\n        format(list: Iterable<string>): string;\\n\\n        /**\\n         * Returns an Array of objects representing the different components that can be used to format a list of values in a locale-aware fashion.\\n         *\\n         * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale.\\n         *\\n         * @throws `TypeError` if `list` includes something other than the possible values.\\n         *\\n         * @returns {{ type: \"element\" | \"literal\", value: string; }[]} An Array of components which contains the formatted parts from the list.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts).\\n         */\\n        formatToParts(list: Iterable<string>): { type: \"element\" | \"literal\", value: string; }[];\\n\\n        /**\\n         * Returns a new object with properties reflecting the locale and style\\n         * formatting options computed during the construction of the current\\n         * `Intl.ListFormat` object.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions).\\n         */\\n        resolvedOptions(): ResolvedListFormatOptions;\\n    }\\n\\n    const ListFormat: {\\n        prototype: ListFormat;\\n\\n        /**\\n         * Creates [Intl.ListFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that\\n         * enable language-sensitive list formatting.\\n         *\\n         * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\\n         *  For the general form and interpretation of the `locales` argument,\\n         *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n         *\\n         * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters)\\n         *  with some or all options of `ListFormatOptions`.\\n         *\\n         * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat).\\n         */\\n        new(locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: ListFormatOptions): ListFormat;\\n\\n        /**\\n         * Returns an array containing those of the provided locales that are\\n         * supported in list formatting without having to fall back to the runtime\\'s default locale.\\n         *\\n         * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\\n         *  For the general form and interpretation of the `locales` argument,\\n         *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n         *\\n         * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters).\\n         *  with some or all possible options.\\n         *\\n         * @returns An array of strings representing a subset of the given locale tags that are supported in list\\n         *  formatting without having to fall back to the runtime\\'s default locale.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf).\\n         */\\n        supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<ListFormatOptions, \"localeMatcher\">): BCP47LanguageTag[];\\n    };\\n}\\n';\n  libFileMap[\"lib.es2021.promise.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface AggregateError extends Error {\\n    errors: any[]\\n}\\n\\ninterface AggregateErrorConstructor {\\n    new(errors: Iterable<any>, message?: string): AggregateError;\\n    (errors: Iterable<any>, message?: string): AggregateError;\\n    readonly prototype: AggregateError;\\n}\\n\\ndeclare var AggregateError: AggregateErrorConstructor;\\n\\n/**\\n * Represents the completion of an asynchronous operation\\n */\\ninterface PromiseConstructor {\\n    /**\\n     * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.\\n     * @param values An array or iterable of Promises.\\n     * @returns A new Promise.\\n     */\\n    any<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;\\n\\n    /**\\n     * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.\\n     * @param values An array or iterable of Promises.\\n     * @returns A new Promise.\\n     */\\n    any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>\\n}\\n';\n  libFileMap[\"lib.es2021.string.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface String {\\n    /**\\n     * Replace all instances of a substring in a string, using a regular expression or search string.\\n     * @param searchValue A string to search for.\\n     * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\\n     */\\n    replaceAll(searchValue: string | RegExp, replaceValue: string): string;\\n\\n    /**\\n     * Replace all instances of a substring in a string, using a regular expression or search string.\\n     * @param searchValue A string to search for.\\n     * @param replacer A function that returns the replacement text.\\n     */\\n    replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\\n}\\n';\n  libFileMap[\"lib.es2021.weakref.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\ninterface WeakRef<T extends object> {\n    readonly [Symbol.toStringTag]: \"WeakRef\";\n\n    /**\n     * Returns the WeakRef instance's target object, or undefined if the target object has been\n     * reclaimed.\n     */\n    deref(): T | undefined;\n}\n\ninterface WeakRefConstructor {\n    readonly prototype: WeakRef<any>;\n\n    /**\n     * Creates a WeakRef instance for the given target object.\n     * @param target The target object for the WeakRef instance.\n     */\n    new<T extends object>(target: T): WeakRef<T>;\n}\n\ndeclare var WeakRef: WeakRefConstructor;\n\ninterface FinalizationRegistry<T> {\n    readonly [Symbol.toStringTag]: \"FinalizationRegistry\";\n\n    /**\n     * Registers an object with the registry.\n     * @param target The target object to register.\n     * @param heldValue The value to pass to the finalizer for this object. This cannot be the\n     * target object.\n     * @param unregisterToken The token to pass to the unregister method to unregister the target\n     * object. If provided (and not undefined), this must be an object. If not provided, the target\n     * cannot be unregistered.\n     */\n    register(target: object, heldValue: T, unregisterToken?: object): void;\n\n    /**\n     * Unregisters an object from the registry.\n     * @param unregisterToken The token that was used as the unregisterToken argument when calling\n     * register to register the target object.\n     */\n    unregister(unregisterToken: object): void;\n}\n\ninterface FinalizationRegistryConstructor {\n    readonly prototype: FinalizationRegistry<any>;\n\n    /**\n     * Creates a finalization registry with an associated cleanup callback\n     * @param cleanupCallback The callback to call after an object in the registry has been reclaimed.\n     */\n    new<T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>;\n}\n\ndeclare var FinalizationRegistry: FinalizationRegistryConstructor;\n`;\n  libFileMap[\"lib.es2022.array.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Array<T> {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): T | undefined;\\n}\\n\\ninterface ReadonlyArray<T> {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): T | undefined;\\n}\\n\\ninterface Int8Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Uint8Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Uint8ClampedArray {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Int16Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Uint16Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Int32Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Uint32Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Float32Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface Float64Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): number | undefined;\\n}\\n\\ninterface BigInt64Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): bigint | undefined;\\n}\\n\\ninterface BigUint64Array {\\n    /**\\n     * Returns the item located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): bigint | undefined;\\n}\\n';\n  libFileMap[\"lib.es2022.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2021\" />\\n/// <reference lib=\"es2022.array\" />\\n/// <reference lib=\"es2022.error\" />\\n/// <reference lib=\"es2022.intl\" />\\n/// <reference lib=\"es2022.object\" />\\n/// <reference lib=\"es2022.sharedmemory\" />\\n/// <reference lib=\"es2022.string\" />\\n/// <reference lib=\"es2022.regexp\" />\\n';\n  libFileMap[\"lib.es2022.error.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface ErrorOptions {\\n    cause?: unknown;\\n}\\n\\ninterface Error {\\n    cause?: unknown;\\n}\\n\\ninterface ErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): Error;\\n    (message?: string, options?: ErrorOptions): Error;\\n}\\n\\ninterface EvalErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): EvalError;\\n    (message?: string, options?: ErrorOptions): EvalError;\\n}\\n\\ninterface RangeErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): RangeError;\\n    (message?: string, options?: ErrorOptions): RangeError;\\n}\\n\\ninterface ReferenceErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): ReferenceError;\\n    (message?: string, options?: ErrorOptions): ReferenceError;\\n}\\n\\ninterface SyntaxErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): SyntaxError;\\n    (message?: string, options?: ErrorOptions): SyntaxError;\\n}\\n\\ninterface TypeErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): TypeError;\\n    (message?: string, options?: ErrorOptions): TypeError;\\n}\\n\\ninterface URIErrorConstructor {\\n    new (message?: string, options?: ErrorOptions): URIError;\\n    (message?: string, options?: ErrorOptions): URIError;\\n}\\n\\ninterface AggregateErrorConstructor {\\n    new (\\n        errors: Iterable<any>,\\n        message?: string,\\n        options?: ErrorOptions\\n    ): AggregateError;\\n    (\\n        errors: Iterable<any>,\\n        message?: string,\\n        options?: ErrorOptions\\n    ): AggregateError;\\n}\\n';\n  libFileMap[\"lib.es2022.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2022\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />\\n';\n  libFileMap[\"lib.es2022.intl.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare namespace Intl {\\n\\n    /**\\n     * An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter.\\n     *\\n     * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)\\n     */\\n    interface SegmenterOptions {\\n        /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */\\n        localeMatcher?: \"best fit\" | \"lookup\" | undefined;\\n        /** The type of input to be split */\\n        granularity?: \"grapheme\" | \"word\" | \"sentence\" | undefined;\\n    }\\n\\n    interface Segmenter {\\n        /**\\n         * Returns `Segments` object containing the segments of the input string, using the segmenter\\'s locale and granularity.\\n         *\\n         * @param input - The text to be segmented as a `string`.\\n         *\\n         * @returns A new iterable Segments object containing the segments of the input string, using the segmenter\\'s locale and granularity.\\n         */\\n        segment(input: string): Segments;\\n        resolvedOptions(): ResolvedSegmenterOptions;\\n    }\\n\\n    interface ResolvedSegmenterOptions {\\n        locale: string;\\n        granularity: \"grapheme\" | \"word\" | \"sentence\";\\n    }\\n\\n    interface Segments {\\n        /**\\n         * Returns an object describing the segment in the original string that includes the code unit at a specified index.\\n         *\\n         * @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`.\\n         */\\n        containing(codeUnitIndex?: number): SegmentData;\\n\\n        /** Returns an iterator to iterate over the segments. */\\n        [Symbol.iterator](): IterableIterator<SegmentData>;\\n    }\\n\\n    interface SegmentData {\\n        /** A string containing the segment extracted from the original input string. */\\n        segment: string;\\n        /** The code unit index in the original input string at which the segment begins. */\\n        index: number;\\n        /** The complete input string that was segmented. */\\n        input: string;\\n        /**\\n         * A boolean value only if granularity is \"word\"; otherwise, undefined.\\n         * If granularity is \"word\", then isWordLike is true when the segment is word-like (i.e., consists of letters/numbers/ideographs/etc.); otherwise, false.\\n         */\\n        isWordLike?: boolean;\\n    }\\n\\n    const Segmenter: {\\n        prototype: Segmenter;\\n\\n        /**\\n         * Creates a new `Intl.Segmenter` object.\\n         *\\n         * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\\n         *  For the general form and interpretation of the `locales` argument,\\n         *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n         *\\n         * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)\\n         *  with some or all options of `SegmenterOptions`.\\n         *\\n         * @returns [Intl.Segmenter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).\\n         */\\n        new(locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: SegmenterOptions): Segmenter;\\n\\n        /**\\n         * Returns an array containing those of the provided locales that are supported without having to fall back to the runtime\\'s default locale.\\n         *\\n         * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\\n         *  For the general form and interpretation of the `locales` argument,\\n         *  see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\\n         *\\n         * @param options An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters).\\n         *  with some or all possible options.\\n         *\\n         * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)\\n         */\\n        supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<SegmenterOptions, \"localeMatcher\">): BCP47LanguageTag[];\\n    };\\n}\\n';\n  libFileMap[\"lib.es2022.object.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface ObjectConstructor {\\n    /**\\n     * Determines whether an object has a property with the specified name.\\n     * @param o An object.\\n     * @param v A property name.\\n     */\\n    hasOwn(o: object, v: PropertyKey): boolean;\\n}\\n';\n  libFileMap[\"lib.es2022.regexp.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface RegExpMatchArray {\\n    indices?: RegExpIndicesArray;\\n}\\n\\ninterface RegExpExecArray {\\n    indices?: RegExpIndicesArray;\\n}\\n\\ninterface RegExpIndicesArray extends Array<[number, number]> {\\n    groups?: {\\n        [key: string]: [number, number];\\n    };\\n}\\n\\ninterface RegExp {\\n    /**\\n     * Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression.\\n     * Default is false. Read-only.\\n     */\\n    readonly hasIndices: boolean;\\n}\\n';\n  libFileMap[\"lib.es2022.sharedmemory.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Atomics {\\n    /**\\n     * A non-blocking, asynchronous version of wait which is usable on the main thread.\\n     * Waits asynchronously on a shared memory location and returns a Promise\\n     * @param typedArray A shared Int32Array or BigInt64Array.\\n     * @param index The position in the typedArray to wait on.\\n     * @param value The expected value to test.\\n     * @param [timeout] The expected value to test.\\n     */\\n    waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false, value: \"not-equal\" | \"timed-out\" } | { async: true, value: Promise<\"ok\" | \"timed-out\"> };\\n\\n    /**\\n     * A non-blocking, asynchronous version of wait which is usable on the main thread.\\n     * Waits asynchronously on a shared memory location and returns a Promise\\n     * @param typedArray A shared Int32Array or BigInt64Array.\\n     * @param index The position in the typedArray to wait on.\\n     * @param value The expected value to test.\\n     * @param [timeout] The expected value to test.\\n     */\\n    waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false, value: \"not-equal\" | \"timed-out\" } | { async: true, value: Promise<\"ok\" | \"timed-out\"> };\\n}\\n';\n  libFileMap[\"lib.es2022.string.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface String {\\n    /**\\n     * Returns a new String consisting of the single UTF-16 code unit located at the specified index.\\n     * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\\n     */\\n    at(index: number): string | undefined;\\n}\\n';\n  libFileMap[\"lib.es2023.array.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ninterface Array<T> {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): number;\\n}\\n\\ninterface ReadonlyArray<T> {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Int8Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Int8Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Uint8Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Uint8ClampedArray {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Int16Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Int16Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Uint16Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Uint16Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Int32Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Int32Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Uint32Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Uint32Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Float32Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Float32Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface Float64Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends number>(predicate: (value: number, index: number, array: Float64Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface BigInt64Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends bigint>(predicate: (value: bigint, index: number, array: BigInt64Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): bigint | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): number;\\n}\\n\\ninterface BigUint64Array {\\n    /**\\n     * Returns the value of the last element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate findLast calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found, findLast\\n     * immediately returns that element value. Otherwise, findLast returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLast<S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array) => value is S, thisArg?: any): S | undefined;\\n    findLast(predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): bigint | undefined;\\n\\n    /**\\n     * Returns the index of the last element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate findLastIndex calls predicate once for each element of the array, in descending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findLastIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): number;\\n}\\n';\n  libFileMap[\"lib.es2023.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2022\" />\\n/// <reference lib=\"es2023.array\" />\\n';\n  libFileMap[\"lib.es2023.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2023\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />\\n';\n  libFileMap[\"lib.es5.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"decorators\" />\\n/// <reference lib=\"decorators.legacy\" />\\n\\n/////////////////////////////\\n/// ECMAScript APIs\\n/////////////////////////////\\n\\ndeclare var NaN: number;\\ndeclare var Infinity: number;\\n\\n/**\\n * Evaluates JavaScript code and executes it.\\n * @param x A String value that contains valid JavaScript code.\\n */\\ndeclare function eval(x: string): any;\\n\\n/**\\n * Converts a string to an integer.\\n * @param string A string to convert into a number.\\n * @param radix A value between 2 and 36 that specifies the base of the number in `string`.\\n * If this argument is not supplied, strings with a prefix of \\'0x\\' are considered hexadecimal.\\n * All other strings are considered decimal.\\n */\\ndeclare function parseInt(string: string, radix?: number): number;\\n\\n/**\\n * Converts a string to a floating-point number.\\n * @param string A string that contains a floating-point number.\\n */\\ndeclare function parseFloat(string: string): number;\\n\\n/**\\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).\\n * @param number A numeric value.\\n */\\ndeclare function isNaN(number: number): boolean;\\n\\n/**\\n * Determines whether a supplied number is finite.\\n * @param number Any numeric value.\\n */\\ndeclare function isFinite(number: number): boolean;\\n\\n/**\\n * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).\\n * @param encodedURI A value representing an encoded URI.\\n */\\ndeclare function decodeURI(encodedURI: string): string;\\n\\n/**\\n * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).\\n * @param encodedURIComponent A value representing an encoded URI component.\\n */\\ndeclare function decodeURIComponent(encodedURIComponent: string): string;\\n\\n/**\\n * Encodes a text string as a valid Uniform Resource Identifier (URI)\\n * @param uri A value representing an unencoded URI.\\n */\\ndeclare function encodeURI(uri: string): string;\\n\\n/**\\n * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).\\n * @param uriComponent A value representing an unencoded URI component.\\n */\\ndeclare function encodeURIComponent(uriComponent: string | number | boolean): string;\\n\\n/**\\n * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.\\n * @deprecated A legacy feature for browser compatibility\\n * @param string A string value\\n */\\ndeclare function escape(string: string): string;\\n\\n/**\\n * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.\\n * @deprecated A legacy feature for browser compatibility\\n * @param string A string value\\n */\\ndeclare function unescape(string: string): string;\\n\\ninterface Symbol {\\n    /** Returns a string representation of an object. */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): symbol;\\n}\\n\\ndeclare type PropertyKey = string | number | symbol;\\n\\ninterface PropertyDescriptor {\\n    configurable?: boolean;\\n    enumerable?: boolean;\\n    value?: any;\\n    writable?: boolean;\\n    get?(): any;\\n    set?(v: any): void;\\n}\\n\\ninterface PropertyDescriptorMap {\\n    [key: PropertyKey]: PropertyDescriptor;\\n}\\n\\ninterface Object {\\n    /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */\\n    constructor: Function;\\n\\n    /** Returns a string representation of an object. */\\n    toString(): string;\\n\\n    /** Returns a date converted to a string using the current locale. */\\n    toLocaleString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Object;\\n\\n    /**\\n     * Determines whether an object has a property with the specified name.\\n     * @param v A property name.\\n     */\\n    hasOwnProperty(v: PropertyKey): boolean;\\n\\n    /**\\n     * Determines whether an object exists in another object\\'s prototype chain.\\n     * @param v Another object whose prototype chain is to be checked.\\n     */\\n    isPrototypeOf(v: Object): boolean;\\n\\n    /**\\n     * Determines whether a specified property is enumerable.\\n     * @param v A property name.\\n     */\\n    propertyIsEnumerable(v: PropertyKey): boolean;\\n}\\n\\ninterface ObjectConstructor {\\n    new(value?: any): Object;\\n    (): any;\\n    (value: any): any;\\n\\n    /** A reference to the prototype for a class of objects. */\\n    readonly prototype: Object;\\n\\n    /**\\n     * Returns the prototype of an object.\\n     * @param o The object that references the prototype.\\n     */\\n    getPrototypeOf(o: any): any;\\n\\n    /**\\n     * Gets the own property descriptor of the specified object.\\n     * An own property descriptor is one that is defined directly on the object and is not inherited from the object\\'s prototype.\\n     * @param o Object that contains the property.\\n     * @param p Name of the property.\\n     */\\n    getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;\\n\\n    /**\\n     * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\\n     * on that object, and are not inherited from the object\\'s prototype. The properties of an object include both fields (objects) and functions.\\n     * @param o Object that contains the own properties.\\n     */\\n    getOwnPropertyNames(o: any): string[];\\n\\n    /**\\n     * Creates an object that has the specified prototype or that has null prototype.\\n     * @param o Object to use as a prototype. May be null.\\n     */\\n    create(o: object | null): any;\\n\\n    /**\\n     * Creates an object that has the specified prototype, and that optionally contains specified properties.\\n     * @param o Object to use as a prototype. May be null\\n     * @param properties JavaScript object that contains one or more property descriptors.\\n     */\\n    create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;\\n\\n    /**\\n     * Adds a property to an object, or modifies attributes of an existing property.\\n     * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.\\n     * @param p The property name.\\n     * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\\n     */\\n    defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;\\n\\n    /**\\n     * Adds one or more properties to an object, and/or modifies attributes of existing properties.\\n     * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.\\n     * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.\\n     */\\n    defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;\\n\\n    /**\\n     * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.\\n     * @param o Object on which to lock the attributes.\\n     */\\n    seal<T>(o: T): T;\\n\\n    /**\\n     * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\\n     * @param f Object on which to lock the attributes.\\n     */\\n    freeze<T extends Function>(f: T): T;\\n\\n    /**\\n     * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\\n     * @param o Object on which to lock the attributes.\\n     */\\n    freeze<T extends {[idx: string]: U | null | undefined | object}, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;\\n\\n    /**\\n     * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\\n     * @param o Object on which to lock the attributes.\\n     */\\n    freeze<T>(o: T): Readonly<T>;\\n\\n    /**\\n     * Prevents the addition of new properties to an object.\\n     * @param o Object to make non-extensible.\\n     */\\n    preventExtensions<T>(o: T): T;\\n\\n    /**\\n     * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.\\n     * @param o Object to test.\\n     */\\n    isSealed(o: any): boolean;\\n\\n    /**\\n     * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.\\n     * @param o Object to test.\\n     */\\n    isFrozen(o: any): boolean;\\n\\n    /**\\n     * Returns a value that indicates whether new properties can be added to an object.\\n     * @param o Object to test.\\n     */\\n    isExtensible(o: any): boolean;\\n\\n    /**\\n     * Returns the names of the enumerable string properties and methods of an object.\\n     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\\n     */\\n    keys(o: object): string[];\\n}\\n\\n/**\\n * Provides functionality common to all JavaScript objects.\\n */\\ndeclare var Object: ObjectConstructor;\\n\\n/**\\n * Creates a new function.\\n */\\ninterface Function {\\n    /**\\n     * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.\\n     * @param thisArg The object to be used as the this object.\\n     * @param argArray A set of arguments to be passed to the function.\\n     */\\n    apply(this: Function, thisArg: any, argArray?: any): any;\\n\\n    /**\\n     * Calls a method of an object, substituting another object for the current object.\\n     * @param thisArg The object to be used as the current object.\\n     * @param argArray A list of arguments to be passed to the method.\\n     */\\n    call(this: Function, thisArg: any, ...argArray: any[]): any;\\n\\n    /**\\n     * For a given function, creates a bound function that has the same body as the original function.\\n     * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\\n     * @param thisArg An object to which the this keyword can refer inside the new function.\\n     * @param argArray A list of arguments to be passed to the new function.\\n     */\\n    bind(this: Function, thisArg: any, ...argArray: any[]): any;\\n\\n    /** Returns a string representation of a function. */\\n    toString(): string;\\n\\n    prototype: any;\\n    readonly length: number;\\n\\n    // Non-standard extensions\\n    arguments: any;\\n    caller: Function;\\n}\\n\\ninterface FunctionConstructor {\\n    /**\\n     * Creates a new function.\\n     * @param args A list of arguments the function accepts.\\n     */\\n    new(...args: string[]): Function;\\n    (...args: string[]): Function;\\n    readonly prototype: Function;\\n}\\n\\ndeclare var Function: FunctionConstructor;\\n\\n/**\\n * Extracts the type of the \\'this\\' parameter of a function type, or \\'unknown\\' if the function type has no \\'this\\' parameter.\\n */\\ntype ThisParameterType<T> = T extends (this: infer U, ...args: never) => any ? U : unknown;\\n\\n/**\\n * Removes the \\'this\\' parameter from a function type.\\n */\\ntype OmitThisParameter<T> = unknown extends ThisParameterType<T> ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;\\n\\ninterface CallableFunction extends Function {\\n    /**\\n     * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\\n     * @param thisArg The object to be used as the this object.\\n     * @param args An array of argument values to be passed to the function.\\n     */\\n    apply<T, R>(this: (this: T) => R, thisArg: T): R;\\n    apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;\\n\\n    /**\\n     * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\\n     * @param thisArg The object to be used as the this object.\\n     * @param args Argument values to be passed to the function.\\n     */\\n    call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;\\n\\n    /**\\n     * For a given function, creates a bound function that has the same body as the original function.\\n     * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\\n     * @param thisArg The object to be used as the this object.\\n     * @param args Arguments to bind to the parameters of the function.\\n     */\\n    bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;\\n    bind<T, A0, A extends any[], R>(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0): (...args: A) => R;\\n    bind<T, A0, A1, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1): (...args: A) => R;\\n    bind<T, A0, A1, A2, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2): (...args: A) => R;\\n    bind<T, A0, A1, A2, A3, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3): (...args: A) => R;\\n    bind<T, AX, R>(this: (this: T, ...args: AX[]) => R, thisArg: T, ...args: AX[]): (...args: AX[]) => R;\\n}\\n\\ninterface NewableFunction extends Function {\\n    /**\\n     * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\\n     * @param thisArg The object to be used as the this object.\\n     * @param args An array of argument values to be passed to the function.\\n     */\\n    apply<T>(this: new () => T, thisArg: T): void;\\n    apply<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, args: A): void;\\n\\n    /**\\n     * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\\n     * @param thisArg The object to be used as the this object.\\n     * @param args Argument values to be passed to the function.\\n     */\\n    call<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, ...args: A): void;\\n\\n    /**\\n     * For a given function, creates a bound function that has the same body as the original function.\\n     * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\\n     * @param thisArg The object to be used as the this object.\\n     * @param args Arguments to bind to the parameters of the function.\\n     */\\n    bind<T>(this: T, thisArg: any): T;\\n    bind<A0, A extends any[], R>(this: new (arg0: A0, ...args: A) => R, thisArg: any, arg0: A0): new (...args: A) => R;\\n    bind<A0, A1, A extends any[], R>(this: new (arg0: A0, arg1: A1, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1): new (...args: A) => R;\\n    bind<A0, A1, A2, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2): new (...args: A) => R;\\n    bind<A0, A1, A2, A3, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2, arg3: A3): new (...args: A) => R;\\n    bind<AX, R>(this: new (...args: AX[]) => R, thisArg: any, ...args: AX[]): new (...args: AX[]) => R;\\n}\\n\\ninterface IArguments {\\n    [index: number]: any;\\n    length: number;\\n    callee: Function;\\n}\\n\\ninterface String {\\n    /** Returns a string representation of a string. */\\n    toString(): string;\\n\\n    /**\\n     * Returns the character at the specified index.\\n     * @param pos The zero-based index of the desired character.\\n     */\\n    charAt(pos: number): string;\\n\\n    /**\\n     * Returns the Unicode value of the character at the specified location.\\n     * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.\\n     */\\n    charCodeAt(index: number): number;\\n\\n    /**\\n     * Returns a string that contains the concatenation of two or more strings.\\n     * @param strings The strings to append to the end of the string.\\n     */\\n    concat(...strings: string[]): string;\\n\\n    /**\\n     * Returns the position of the first occurrence of a substring.\\n     * @param searchString The substring to search for in the string\\n     * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.\\n     */\\n    indexOf(searchString: string, position?: number): number;\\n\\n    /**\\n     * Returns the last occurrence of a substring in the string.\\n     * @param searchString The substring to search for.\\n     * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.\\n     */\\n    lastIndexOf(searchString: string, position?: number): number;\\n\\n    /**\\n     * Determines whether two strings are equivalent in the current locale.\\n     * @param that String to compare to target string\\n     */\\n    localeCompare(that: string): number;\\n\\n    /**\\n     * Matches a string with a regular expression, and returns an array containing the results of that search.\\n     * @param regexp A variable name or string literal containing the regular expression pattern and flags.\\n     */\\n    match(regexp: string | RegExp): RegExpMatchArray | null;\\n\\n    /**\\n     * Replaces text in a string, using a regular expression or search string.\\n     * @param searchValue A string or regular expression to search for.\\n     * @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue} is replaced.\\n     */\\n    replace(searchValue: string | RegExp, replaceValue: string): string;\\n\\n    /**\\n     * Replaces text in a string, using a regular expression or search string.\\n     * @param searchValue A string to search for.\\n     * @param replacer A function that returns the replacement text.\\n     */\\n    replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\\n\\n    /**\\n     * Finds the first substring match in a regular expression search.\\n     * @param regexp The regular expression pattern and applicable flags.\\n     */\\n    search(regexp: string | RegExp): number;\\n\\n    /**\\n     * Returns a section of a string.\\n     * @param start The index to the beginning of the specified portion of stringObj.\\n     * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\\n     * If this value is not specified, the substring continues to the end of stringObj.\\n     */\\n    slice(start?: number, end?: number): string;\\n\\n    /**\\n     * Split a string into substrings using the specified separator and return them as an array.\\n     * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\\n     * @param limit A value used to limit the number of elements returned in the array.\\n     */\\n    split(separator: string | RegExp, limit?: number): string[];\\n\\n    /**\\n     * Returns the substring at the specified location within a String object.\\n     * @param start The zero-based index number indicating the beginning of the substring.\\n     * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\\n     * If end is omitted, the characters from start through the end of the original string are returned.\\n     */\\n    substring(start: number, end?: number): string;\\n\\n    /** Converts all the alphabetic characters in a string to lowercase. */\\n    toLowerCase(): string;\\n\\n    /** Converts all alphabetic characters to lowercase, taking into account the host environment\\'s current locale. */\\n    toLocaleLowerCase(locales?: string | string[]): string;\\n\\n    /** Converts all the alphabetic characters in a string to uppercase. */\\n    toUpperCase(): string;\\n\\n    /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment\\'s current locale. */\\n    toLocaleUpperCase(locales?: string | string[]): string;\\n\\n    /** Removes the leading and trailing white space and line terminator characters from a string. */\\n    trim(): string;\\n\\n    /** Returns the length of a String object. */\\n    readonly length: number;\\n\\n    // IE extensions\\n    /**\\n     * Gets a substring beginning at the specified location and having the specified length.\\n     * @deprecated A legacy feature for browser compatibility\\n     * @param from The starting position of the desired substring. The index of the first character in the string is zero.\\n     * @param length The number of characters to include in the returned substring.\\n     */\\n    substr(from: number, length?: number): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): string;\\n\\n    readonly [index: number]: string;\\n}\\n\\ninterface StringConstructor {\\n    new(value?: any): String;\\n    (value?: any): string;\\n    readonly prototype: String;\\n    fromCharCode(...codes: number[]): string;\\n}\\n\\n/**\\n * Allows manipulation and formatting of text strings and determination and location of substrings within strings.\\n */\\ndeclare var String: StringConstructor;\\n\\ninterface Boolean {\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): boolean;\\n}\\n\\ninterface BooleanConstructor {\\n    new(value?: any): Boolean;\\n    <T>(value?: T): boolean;\\n    readonly prototype: Boolean;\\n}\\n\\ndeclare var Boolean: BooleanConstructor;\\n\\ninterface Number {\\n    /**\\n     * Returns a string representation of an object.\\n     * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.\\n     */\\n    toString(radix?: number): string;\\n\\n    /**\\n     * Returns a string representing a number in fixed-point notation.\\n     * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\\n     */\\n    toFixed(fractionDigits?: number): string;\\n\\n    /**\\n     * Returns a string containing a number represented in exponential notation.\\n     * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\\n     */\\n    toExponential(fractionDigits?: number): string;\\n\\n    /**\\n     * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.\\n     * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.\\n     */\\n    toPrecision(precision?: number): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): number;\\n}\\n\\ninterface NumberConstructor {\\n    new(value?: any): Number;\\n    (value?: any): number;\\n    readonly prototype: Number;\\n\\n    /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */\\n    readonly MAX_VALUE: number;\\n\\n    /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */\\n    readonly MIN_VALUE: number;\\n\\n    /**\\n     * A value that is not a number.\\n     * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.\\n     */\\n    readonly NaN: number;\\n\\n    /**\\n     * A value that is less than the largest negative number that can be represented in JavaScript.\\n     * JavaScript displays NEGATIVE_INFINITY values as -infinity.\\n     */\\n    readonly NEGATIVE_INFINITY: number;\\n\\n    /**\\n     * A value greater than the largest number that can be represented in JavaScript.\\n     * JavaScript displays POSITIVE_INFINITY values as infinity.\\n     */\\n    readonly POSITIVE_INFINITY: number;\\n}\\n\\n/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */\\ndeclare var Number: NumberConstructor;\\n\\ninterface TemplateStringsArray extends ReadonlyArray<string> {\\n    readonly raw: readonly string[];\\n}\\n\\n/**\\n * The type of `import.meta`.\\n *\\n * If you need to declare that a given property exists on `import.meta`,\\n * this type may be augmented via interface merging.\\n */\\ninterface ImportMeta {\\n}\\n\\n/**\\n * The type for the optional second argument to `import()`.\\n *\\n * If your host environment supports additional options, this type may be\\n * augmented via interface merging.\\n */\\ninterface ImportCallOptions {\\n    assert?: ImportAssertions;\\n}\\n\\n/**\\n * The type for the `assert` property of the optional second argument to `import()`.\\n */\\ninterface ImportAssertions {\\n    [key: string]: string;\\n}\\n\\ninterface Math {\\n    /** The mathematical constant e. This is Euler\\'s number, the base of natural logarithms. */\\n    readonly E: number;\\n    /** The natural logarithm of 10. */\\n    readonly LN10: number;\\n    /** The natural logarithm of 2. */\\n    readonly LN2: number;\\n    /** The base-2 logarithm of e. */\\n    readonly LOG2E: number;\\n    /** The base-10 logarithm of e. */\\n    readonly LOG10E: number;\\n    /** Pi. This is the ratio of the circumference of a circle to its diameter. */\\n    readonly PI: number;\\n    /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */\\n    readonly SQRT1_2: number;\\n    /** The square root of 2. */\\n    readonly SQRT2: number;\\n    /**\\n     * Returns the absolute value of a number (the value without regard to whether it is positive or negative).\\n     * For example, the absolute value of -5 is the same as the absolute value of 5.\\n     * @param x A numeric expression for which the absolute value is needed.\\n     */\\n    abs(x: number): number;\\n    /**\\n     * Returns the arc cosine (or inverse cosine) of a number.\\n     * @param x A numeric expression.\\n     */\\n    acos(x: number): number;\\n    /**\\n     * Returns the arcsine of a number.\\n     * @param x A numeric expression.\\n     */\\n    asin(x: number): number;\\n    /**\\n     * Returns the arctangent of a number.\\n     * @param x A numeric expression for which the arctangent is needed.\\n     */\\n    atan(x: number): number;\\n    /**\\n     * Returns the angle (in radians) from the X axis to a point.\\n     * @param y A numeric expression representing the cartesian y-coordinate.\\n     * @param x A numeric expression representing the cartesian x-coordinate.\\n     */\\n    atan2(y: number, x: number): number;\\n    /**\\n     * Returns the smallest integer greater than or equal to its numeric argument.\\n     * @param x A numeric expression.\\n     */\\n    ceil(x: number): number;\\n    /**\\n     * Returns the cosine of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    cos(x: number): number;\\n    /**\\n     * Returns e (the base of natural logarithms) raised to a power.\\n     * @param x A numeric expression representing the power of e.\\n     */\\n    exp(x: number): number;\\n    /**\\n     * Returns the greatest integer less than or equal to its numeric argument.\\n     * @param x A numeric expression.\\n     */\\n    floor(x: number): number;\\n    /**\\n     * Returns the natural logarithm (base e) of a number.\\n     * @param x A numeric expression.\\n     */\\n    log(x: number): number;\\n    /**\\n     * Returns the larger of a set of supplied numeric expressions.\\n     * @param values Numeric expressions to be evaluated.\\n     */\\n    max(...values: number[]): number;\\n    /**\\n     * Returns the smaller of a set of supplied numeric expressions.\\n     * @param values Numeric expressions to be evaluated.\\n     */\\n    min(...values: number[]): number;\\n    /**\\n     * Returns the value of a base expression taken to a specified power.\\n     * @param x The base value of the expression.\\n     * @param y The exponent value of the expression.\\n     */\\n    pow(x: number, y: number): number;\\n    /** Returns a pseudorandom number between 0 and 1. */\\n    random(): number;\\n    /**\\n     * Returns a supplied numeric expression rounded to the nearest integer.\\n     * @param x The value to be rounded to the nearest integer.\\n     */\\n    round(x: number): number;\\n    /**\\n     * Returns the sine of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    sin(x: number): number;\\n    /**\\n     * Returns the square root of a number.\\n     * @param x A numeric expression.\\n     */\\n    sqrt(x: number): number;\\n    /**\\n     * Returns the tangent of a number.\\n     * @param x A numeric expression that contains an angle measured in radians.\\n     */\\n    tan(x: number): number;\\n}\\n/** An intrinsic object that provides basic mathematics functionality and constants. */\\ndeclare var Math: Math;\\n\\n/** Enables basic storage and retrieval of dates and times. */\\ninterface Date {\\n    /** Returns a string representation of a date. The format of the string depends on the locale. */\\n    toString(): string;\\n    /** Returns a date as a string value. */\\n    toDateString(): string;\\n    /** Returns a time as a string value. */\\n    toTimeString(): string;\\n    /** Returns a value as a string value appropriate to the host environment\\'s current locale. */\\n    toLocaleString(): string;\\n    /** Returns a date as a string value appropriate to the host environment\\'s current locale. */\\n    toLocaleDateString(): string;\\n    /** Returns a time as a string value appropriate to the host environment\\'s current locale. */\\n    toLocaleTimeString(): string;\\n    /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\\n    valueOf(): number;\\n    /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\\n    getTime(): number;\\n    /** Gets the year, using local time. */\\n    getFullYear(): number;\\n    /** Gets the year using Universal Coordinated Time (UTC). */\\n    getUTCFullYear(): number;\\n    /** Gets the month, using local time. */\\n    getMonth(): number;\\n    /** Gets the month of a Date object using Universal Coordinated Time (UTC). */\\n    getUTCMonth(): number;\\n    /** Gets the day-of-the-month, using local time. */\\n    getDate(): number;\\n    /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */\\n    getUTCDate(): number;\\n    /** Gets the day of the week, using local time. */\\n    getDay(): number;\\n    /** Gets the day of the week using Universal Coordinated Time (UTC). */\\n    getUTCDay(): number;\\n    /** Gets the hours in a date, using local time. */\\n    getHours(): number;\\n    /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */\\n    getUTCHours(): number;\\n    /** Gets the minutes of a Date object, using local time. */\\n    getMinutes(): number;\\n    /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */\\n    getUTCMinutes(): number;\\n    /** Gets the seconds of a Date object, using local time. */\\n    getSeconds(): number;\\n    /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */\\n    getUTCSeconds(): number;\\n    /** Gets the milliseconds of a Date, using local time. */\\n    getMilliseconds(): number;\\n    /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */\\n    getUTCMilliseconds(): number;\\n    /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */\\n    getTimezoneOffset(): number;\\n    /**\\n     * Sets the date and time value in the Date object.\\n     * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.\\n     */\\n    setTime(time: number): number;\\n    /**\\n     * Sets the milliseconds value in the Date object using local time.\\n     * @param ms A numeric value equal to the millisecond value.\\n     */\\n    setMilliseconds(ms: number): number;\\n    /**\\n     * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).\\n     * @param ms A numeric value equal to the millisecond value.\\n     */\\n    setUTCMilliseconds(ms: number): number;\\n\\n    /**\\n     * Sets the seconds value in the Date object using local time.\\n     * @param sec A numeric value equal to the seconds value.\\n     * @param ms A numeric value equal to the milliseconds value.\\n     */\\n    setSeconds(sec: number, ms?: number): number;\\n    /**\\n     * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).\\n     * @param sec A numeric value equal to the seconds value.\\n     * @param ms A numeric value equal to the milliseconds value.\\n     */\\n    setUTCSeconds(sec: number, ms?: number): number;\\n    /**\\n     * Sets the minutes value in the Date object using local time.\\n     * @param min A numeric value equal to the minutes value.\\n     * @param sec A numeric value equal to the seconds value.\\n     * @param ms A numeric value equal to the milliseconds value.\\n     */\\n    setMinutes(min: number, sec?: number, ms?: number): number;\\n    /**\\n     * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).\\n     * @param min A numeric value equal to the minutes value.\\n     * @param sec A numeric value equal to the seconds value.\\n     * @param ms A numeric value equal to the milliseconds value.\\n     */\\n    setUTCMinutes(min: number, sec?: number, ms?: number): number;\\n    /**\\n     * Sets the hour value in the Date object using local time.\\n     * @param hours A numeric value equal to the hours value.\\n     * @param min A numeric value equal to the minutes value.\\n     * @param sec A numeric value equal to the seconds value.\\n     * @param ms A numeric value equal to the milliseconds value.\\n     */\\n    setHours(hours: number, min?: number, sec?: number, ms?: number): number;\\n    /**\\n     * Sets the hours value in the Date object using Universal Coordinated Time (UTC).\\n     * @param hours A numeric value equal to the hours value.\\n     * @param min A numeric value equal to the minutes value.\\n     * @param sec A numeric value equal to the seconds value.\\n     * @param ms A numeric value equal to the milliseconds value.\\n     */\\n    setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;\\n    /**\\n     * Sets the numeric day-of-the-month value of the Date object using local time.\\n     * @param date A numeric value equal to the day of the month.\\n     */\\n    setDate(date: number): number;\\n    /**\\n     * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).\\n     * @param date A numeric value equal to the day of the month.\\n     */\\n    setUTCDate(date: number): number;\\n    /**\\n     * Sets the month value in the Date object using local time.\\n     * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\\n     * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.\\n     */\\n    setMonth(month: number, date?: number): number;\\n    /**\\n     * Sets the month value in the Date object using Universal Coordinated Time (UTC).\\n     * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\\n     * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.\\n     */\\n    setUTCMonth(month: number, date?: number): number;\\n    /**\\n     * Sets the year of the Date object using local time.\\n     * @param year A numeric value for the year.\\n     * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.\\n     * @param date A numeric value equal for the day of the month.\\n     */\\n    setFullYear(year: number, month?: number, date?: number): number;\\n    /**\\n     * Sets the year value in the Date object using Universal Coordinated Time (UTC).\\n     * @param year A numeric value equal to the year.\\n     * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.\\n     * @param date A numeric value equal to the day of the month.\\n     */\\n    setUTCFullYear(year: number, month?: number, date?: number): number;\\n    /** Returns a date converted to a string using Universal Coordinated Time (UTC). */\\n    toUTCString(): string;\\n    /** Returns a date as a string value in ISO format. */\\n    toISOString(): string;\\n    /** Used by the JSON.stringify method to enable the transformation of an object\\'s data for JavaScript Object Notation (JSON) serialization. */\\n    toJSON(key?: any): string;\\n}\\n\\ninterface DateConstructor {\\n    new(): Date;\\n    new(value: number | string): Date;\\n    /**\\n     * Creates a new Date.\\n     * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\\n     * @param monthIndex The month as a number between 0 and 11 (January to December).\\n     * @param date The date as a number between 1 and 31.\\n     * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.\\n     * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.\\n     * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.\\n     * @param ms A number from 0 to 999 that specifies the milliseconds.\\n     */\\n    new(year: number, monthIndex: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;\\n    (): string;\\n    readonly prototype: Date;\\n    /**\\n     * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.\\n     * @param s A date string\\n     */\\n    parse(s: string): number;\\n    /**\\n     * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.\\n     * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\\n     * @param monthIndex The month as a number between 0 and 11 (January to December).\\n     * @param date The date as a number between 1 and 31.\\n     * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.\\n     * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.\\n     * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.\\n     * @param ms A number from 0 to 999 that specifies the milliseconds.\\n     */\\n    UTC(year: number, monthIndex: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\\n    /** Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC). */\\n    now(): number;\\n}\\n\\ndeclare var Date: DateConstructor;\\n\\ninterface RegExpMatchArray extends Array<string> {\\n    /**\\n     * The index of the search at which the result was found.\\n     */\\n    index?: number;\\n    /**\\n     * A copy of the search string.\\n     */\\n    input?: string;\\n    /**\\n     * The first match. This will always be present because `null` will be returned if there are no matches.\\n     */\\n    0: string;\\n}\\n\\ninterface RegExpExecArray extends Array<string> {\\n    /**\\n     * The index of the search at which the result was found.\\n     */\\n    index: number;\\n    /**\\n     * A copy of the search string.\\n     */\\n    input: string;\\n    /**\\n     * The first match. This will always be present because `null` will be returned if there are no matches.\\n     */\\n    0: string;\\n}\\n\\ninterface RegExp {\\n    /**\\n     * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.\\n     * @param string The String object or string literal on which to perform the search.\\n     */\\n    exec(string: string): RegExpExecArray | null;\\n\\n    /**\\n     * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.\\n     * @param string String on which to perform the search.\\n     */\\n    test(string: string): boolean;\\n\\n    /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */\\n    readonly source: string;\\n\\n    /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */\\n    readonly global: boolean;\\n\\n    /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */\\n    readonly ignoreCase: boolean;\\n\\n    /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */\\n    readonly multiline: boolean;\\n\\n    lastIndex: number;\\n\\n    // Non-standard extensions\\n    /** @deprecated A legacy feature for browser compatibility */\\n    compile(pattern: string, flags?: string): this;\\n}\\n\\ninterface RegExpConstructor {\\n    new(pattern: RegExp | string): RegExp;\\n    new(pattern: string, flags?: string): RegExp;\\n    (pattern: RegExp | string): RegExp;\\n    (pattern: string, flags?: string): RegExp;\\n    readonly prototype: RegExp;\\n\\n    // Non-standard extensions\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $1: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $2: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $3: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $4: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $5: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $6: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $7: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $8: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $9: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    input: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    $_: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    lastMatch: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    \"$&\": string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    lastParen: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    \"$+\": string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    leftContext: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    \"$`\": string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    rightContext: string;\\n    /** @deprecated A legacy feature for browser compatibility */\\n    \"$\\'\": string;\\n}\\n\\ndeclare var RegExp: RegExpConstructor;\\n\\ninterface Error {\\n    name: string;\\n    message: string;\\n    stack?: string;\\n}\\n\\ninterface ErrorConstructor {\\n    new(message?: string): Error;\\n    (message?: string): Error;\\n    readonly prototype: Error;\\n}\\n\\ndeclare var Error: ErrorConstructor;\\n\\ninterface EvalError extends Error {\\n}\\n\\ninterface EvalErrorConstructor extends ErrorConstructor {\\n    new(message?: string): EvalError;\\n    (message?: string): EvalError;\\n    readonly prototype: EvalError;\\n}\\n\\ndeclare var EvalError: EvalErrorConstructor;\\n\\ninterface RangeError extends Error {\\n}\\n\\ninterface RangeErrorConstructor extends ErrorConstructor {\\n    new(message?: string): RangeError;\\n    (message?: string): RangeError;\\n    readonly prototype: RangeError;\\n}\\n\\ndeclare var RangeError: RangeErrorConstructor;\\n\\ninterface ReferenceError extends Error {\\n}\\n\\ninterface ReferenceErrorConstructor extends ErrorConstructor {\\n    new(message?: string): ReferenceError;\\n    (message?: string): ReferenceError;\\n    readonly prototype: ReferenceError;\\n}\\n\\ndeclare var ReferenceError: ReferenceErrorConstructor;\\n\\ninterface SyntaxError extends Error {\\n}\\n\\ninterface SyntaxErrorConstructor extends ErrorConstructor {\\n    new(message?: string): SyntaxError;\\n    (message?: string): SyntaxError;\\n    readonly prototype: SyntaxError;\\n}\\n\\ndeclare var SyntaxError: SyntaxErrorConstructor;\\n\\ninterface TypeError extends Error {\\n}\\n\\ninterface TypeErrorConstructor extends ErrorConstructor {\\n    new(message?: string): TypeError;\\n    (message?: string): TypeError;\\n    readonly prototype: TypeError;\\n}\\n\\ndeclare var TypeError: TypeErrorConstructor;\\n\\ninterface URIError extends Error {\\n}\\n\\ninterface URIErrorConstructor extends ErrorConstructor {\\n    new(message?: string): URIError;\\n    (message?: string): URIError;\\n    readonly prototype: URIError;\\n}\\n\\ndeclare var URIError: URIErrorConstructor;\\n\\ninterface JSON {\\n    /**\\n     * Converts a JavaScript Object Notation (JSON) string into an object.\\n     * @param text A valid JSON string.\\n     * @param reviver A function that transforms the results. This function is called for each member of the object.\\n     * If a member contains nested objects, the nested objects are transformed before the parent object is.\\n     */\\n    parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;\\n    /**\\n     * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\\n     * @param value A JavaScript value, usually an object or array, to be converted.\\n     * @param replacer A function that transforms the results.\\n     * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\\n     */\\n    stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;\\n    /**\\n     * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\\n     * @param value A JavaScript value, usually an object or array, to be converted.\\n     * @param replacer An array of strings and numbers that acts as an approved list for selecting the object properties that will be stringified.\\n     * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\\n     */\\n    stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\\n}\\n\\n/**\\n * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.\\n */\\ndeclare var JSON: JSON;\\n\\n\\n/////////////////////////////\\n/// ECMAScript Array API (specially handled by compiler)\\n/////////////////////////////\\n\\ninterface ReadonlyArray<T> {\\n    /**\\n     * Gets the length of the array. This is a number one higher than the highest element defined in an array.\\n     */\\n    readonly length: number;\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n    /**\\n     * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.\\n     */\\n    toLocaleString(): string;\\n    /**\\n     * Combines two or more arrays.\\n     * @param items Additional items to add to the end of array1.\\n     */\\n    concat(...items: ConcatArray<T>[]): T[];\\n    /**\\n     * Combines two or more arrays.\\n     * @param items Additional items to add to the end of array1.\\n     */\\n    concat(...items: (T | ConcatArray<T>)[]): T[];\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): T[];\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\\n     */\\n    indexOf(searchElement: T, fromIndex?: number): number;\\n    /**\\n     * Returns the index of the last occurrence of a specified value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\\n     */\\n    lastIndexOf(searchElement: T, fromIndex?: number): number;\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): this is readonly S[];\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\\n    reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\\n    reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\\n\\n    readonly [n: number]: T;\\n}\\n\\ninterface ConcatArray<T> {\\n    readonly length: number;\\n    readonly [n: number]: T;\\n    join(separator?: string): string;\\n    slice(start?: number, end?: number): T[];\\n}\\n\\ninterface Array<T> {\\n    /**\\n     * Gets or sets the length of the array. This is a number one higher than the highest index in the array.\\n     */\\n    length: number;\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n    /**\\n     * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.\\n     */\\n    toLocaleString(): string;\\n    /**\\n     * Removes the last element from an array and returns it.\\n     * If the array is empty, undefined is returned and the array is not modified.\\n     */\\n    pop(): T | undefined;\\n    /**\\n     * Appends new elements to the end of an array, and returns the new length of the array.\\n     * @param items New elements to add to the array.\\n     */\\n    push(...items: T[]): number;\\n    /**\\n     * Combines two or more arrays.\\n     * This method returns a new array without modifying any existing arrays.\\n     * @param items Additional arrays and/or items to add to the end of the array.\\n     */\\n    concat(...items: ConcatArray<T>[]): T[];\\n    /**\\n     * Combines two or more arrays.\\n     * This method returns a new array without modifying any existing arrays.\\n     * @param items Additional arrays and/or items to add to the end of the array.\\n     */\\n    concat(...items: (T | ConcatArray<T>)[]): T[];\\n    /**\\n     * Adds all the elements of an array into a string, separated by the specified separator string.\\n     * @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n    /**\\n     * Reverses the elements in an array in place.\\n     * This method mutates the array and returns a reference to the same array.\\n     */\\n    reverse(): T[];\\n    /**\\n     * Removes the first element from an array and returns it.\\n     * If the array is empty, undefined is returned and the array is not modified.\\n     */\\n    shift(): T | undefined;\\n    /**\\n     * Returns a copy of a section of an array.\\n     * For both start and end, a negative index can be used to indicate an offset from the end of the array.\\n     * For example, -2 refers to the second to last element of the array.\\n     * @param start The beginning index of the specified portion of the array.\\n     * If start is undefined, then the slice begins at index 0.\\n     * @param end The end index of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     * If end is undefined, then the slice extends to the end of the array.\\n     */\\n    slice(start?: number, end?: number): T[];\\n    /**\\n     * Sorts an array in place.\\n     * This method mutates the array and returns a reference to the same array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if the first argument is less than the second argument, zero if they\\'re equal, and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: T, b: T) => number): this;\\n    /**\\n     * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\\n     * @param start The zero-based location in the array from which to start removing elements.\\n     * @param deleteCount The number of elements to remove.\\n     * @returns An array containing the elements that were deleted.\\n     */\\n    splice(start: number, deleteCount?: number): T[];\\n    /**\\n     * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\\n     * @param start The zero-based location in the array from which to start removing elements.\\n     * @param deleteCount The number of elements to remove.\\n     * @param items Elements to insert into the array in place of the deleted elements.\\n     * @returns An array containing the elements that were deleted.\\n     */\\n    splice(start: number, deleteCount: number, ...items: T[]): T[];\\n    /**\\n     * Inserts new elements at the start of an array, and returns the new length of the array.\\n     * @param items Elements to insert at the start of the array.\\n     */\\n    unshift(...items: T[]): number;\\n    /**\\n     * Returns the index of the first occurrence of a value in an array, or -1 if it is not present.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\\n     */\\n    indexOf(searchElement: T, fromIndex?: number): number;\\n    /**\\n     * Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.\\n     */\\n    lastIndexOf(searchElement: T, fromIndex?: number): number;\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): this is S[];\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\\n    reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\\n    reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\\n\\n    [n: number]: T;\\n}\\n\\ninterface ArrayConstructor {\\n    new(arrayLength?: number): any[];\\n    new <T>(arrayLength: number): T[];\\n    new <T>(...items: T[]): T[];\\n    (arrayLength?: number): any[];\\n    <T>(arrayLength: number): T[];\\n    <T>(...items: T[]): T[];\\n    isArray(arg: any): arg is any[];\\n    readonly prototype: any[];\\n}\\n\\ndeclare var Array: ArrayConstructor;\\n\\ninterface TypedPropertyDescriptor<T> {\\n    enumerable?: boolean;\\n    configurable?: boolean;\\n    writable?: boolean;\\n    value?: T;\\n    get?: () => T;\\n    set?: (value: T) => void;\\n}\\n\\ndeclare type PromiseConstructorLike = new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;\\n\\ninterface PromiseLike<T> {\\n    /**\\n     * Attaches callbacks for the resolution and/or rejection of the Promise.\\n     * @param onfulfilled The callback to execute when the Promise is resolved.\\n     * @param onrejected The callback to execute when the Promise is rejected.\\n     * @returns A Promise for the completion of which ever callback is executed.\\n     */\\n    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;\\n}\\n\\n/**\\n * Represents the completion of an asynchronous operation\\n */\\ninterface Promise<T> {\\n    /**\\n     * Attaches callbacks for the resolution and/or rejection of the Promise.\\n     * @param onfulfilled The callback to execute when the Promise is resolved.\\n     * @param onrejected The callback to execute when the Promise is rejected.\\n     * @returns A Promise for the completion of which ever callback is executed.\\n     */\\n    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;\\n\\n    /**\\n     * Attaches a callback for only the rejection of the Promise.\\n     * @param onrejected The callback to execute when the Promise is rejected.\\n     * @returns A Promise for the completion of the callback.\\n     */\\n    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;\\n}\\n\\n/**\\n * Recursively unwraps the \"awaited type\" of a type. Non-promise \"thenables\" should resolve to `never`. This emulates the behavior of `await`.\\n */\\ntype Awaited<T> =\\n    T extends null | undefined ? T : // special case for `null | undefined` when not in `--strictNullChecks` mode\\n        T extends object & { then(onfulfilled: infer F, ...args: infer _): any } ? // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped\\n            F extends ((value: infer V, ...args: infer _) => any) ? // if the argument to `then` is callable, extracts the first argument\\n                Awaited<V> : // recursively unwrap the value\\n                never : // the argument to `then` was not callable\\n        T; // non-object or non-thenable\\n\\ninterface ArrayLike<T> {\\n    readonly length: number;\\n    readonly [n: number]: T;\\n}\\n\\n/**\\n * Make all properties in T optional\\n */\\ntype Partial<T> = {\\n    [P in keyof T]?: T[P];\\n};\\n\\n/**\\n * Make all properties in T required\\n */\\ntype Required<T> = {\\n    [P in keyof T]-?: T[P];\\n};\\n\\n/**\\n * Make all properties in T readonly\\n */\\ntype Readonly<T> = {\\n    readonly [P in keyof T]: T[P];\\n};\\n\\n/**\\n * From T, pick a set of properties whose keys are in the union K\\n */\\ntype Pick<T, K extends keyof T> = {\\n    [P in K]: T[P];\\n};\\n\\n/**\\n * Construct a type with a set of properties K of type T\\n */\\ntype Record<K extends keyof any, T> = {\\n    [P in K]: T;\\n};\\n\\n/**\\n * Exclude from T those types that are assignable to U\\n */\\ntype Exclude<T, U> = T extends U ? never : T;\\n\\n/**\\n * Extract from T those types that are assignable to U\\n */\\ntype Extract<T, U> = T extends U ? T : never;\\n\\n/**\\n * Construct a type with the properties of T except for those in type K.\\n */\\ntype Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;\\n\\n/**\\n * Exclude null and undefined from T\\n */\\ntype NonNullable<T> = T & {};\\n\\n/**\\n * Obtain the parameters of a function type in a tuple\\n */\\ntype Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never;\\n\\n/**\\n * Obtain the parameters of a constructor function type in a tuple\\n */\\ntype ConstructorParameters<T extends abstract new (...args: any) => any> = T extends abstract new (...args: infer P) => any ? P : never;\\n\\n/**\\n * Obtain the return type of a function type\\n */\\ntype ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any;\\n\\n/**\\n * Obtain the return type of a constructor function type\\n */\\ntype InstanceType<T extends abstract new (...args: any) => any> = T extends abstract new (...args: any) => infer R ? R : any;\\n\\n/**\\n * Convert string literal type to uppercase\\n */\\ntype Uppercase<S extends string> = intrinsic;\\n\\n/**\\n * Convert string literal type to lowercase\\n */\\ntype Lowercase<S extends string> = intrinsic;\\n\\n/**\\n * Convert first character of string literal type to uppercase\\n */\\ntype Capitalize<S extends string> = intrinsic;\\n\\n/**\\n * Convert first character of string literal type to lowercase\\n */\\ntype Uncapitalize<S extends string> = intrinsic;\\n\\n/**\\n * Marker for contextual \\'this\\' type\\n */\\ninterface ThisType<T> { }\\n\\n/**\\n * Represents a raw buffer of binary data, which is used to store data for the\\n * different typed arrays. ArrayBuffers cannot be read from or written to directly,\\n * but can be passed to a typed array or DataView Object to interpret the raw\\n * buffer as needed.\\n */\\ninterface ArrayBuffer {\\n    /**\\n     * Read-only. The length of the ArrayBuffer (in bytes).\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * Returns a section of an ArrayBuffer.\\n     */\\n    slice(begin: number, end?: number): ArrayBuffer;\\n}\\n\\n/**\\n * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.\\n */\\ninterface ArrayBufferTypes {\\n    ArrayBuffer: ArrayBuffer;\\n}\\ntype ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];\\n\\ninterface ArrayBufferConstructor {\\n    readonly prototype: ArrayBuffer;\\n    new(byteLength: number): ArrayBuffer;\\n    isView(arg: any): arg is ArrayBufferView;\\n}\\ndeclare var ArrayBuffer: ArrayBufferConstructor;\\n\\ninterface ArrayBufferView {\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    byteOffset: number;\\n}\\n\\ninterface DataView {\\n    readonly buffer: ArrayBuffer;\\n    readonly byteLength: number;\\n    readonly byteOffset: number;\\n    /**\\n     * Gets the Float32 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getFloat32(byteOffset: number, littleEndian?: boolean): number;\\n\\n    /**\\n     * Gets the Float64 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getFloat64(byteOffset: number, littleEndian?: boolean): number;\\n\\n    /**\\n     * Gets the Int8 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     */\\n    getInt8(byteOffset: number): number;\\n\\n    /**\\n     * Gets the Int16 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getInt16(byteOffset: number, littleEndian?: boolean): number;\\n    /**\\n     * Gets the Int32 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getInt32(byteOffset: number, littleEndian?: boolean): number;\\n\\n    /**\\n     * Gets the Uint8 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     */\\n    getUint8(byteOffset: number): number;\\n\\n    /**\\n     * Gets the Uint16 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getUint16(byteOffset: number, littleEndian?: boolean): number;\\n\\n    /**\\n     * Gets the Uint32 value at the specified byte offset from the start of the view. There is\\n     * no alignment constraint; multi-byte values may be fetched from any offset.\\n     * @param byteOffset The place in the buffer at which the value should be retrieved.\\n     * @param littleEndian If false or undefined, a big-endian value should be read.\\n     */\\n    getUint32(byteOffset: number, littleEndian?: boolean): number;\\n\\n    /**\\n     * Stores an Float32 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;\\n\\n    /**\\n     * Stores an Float64 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;\\n\\n    /**\\n     * Stores an Int8 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     */\\n    setInt8(byteOffset: number, value: number): void;\\n\\n    /**\\n     * Stores an Int16 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;\\n\\n    /**\\n     * Stores an Int32 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;\\n\\n    /**\\n     * Stores an Uint8 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     */\\n    setUint8(byteOffset: number, value: number): void;\\n\\n    /**\\n     * Stores an Uint16 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;\\n\\n    /**\\n     * Stores an Uint32 value at the specified byte offset from the start of the view.\\n     * @param byteOffset The place in the buffer at which the value should be set.\\n     * @param value The value to set.\\n     * @param littleEndian If false or undefined, a big-endian value should be written.\\n     */\\n    setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;\\n}\\n\\ninterface DataViewConstructor {\\n    readonly prototype: DataView;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\\n}\\ndeclare var DataView: DataViewConstructor;\\n\\n/**\\n * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\\n * number of bytes could not be allocated an exception is raised.\\n */\\ninterface Int8Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Int8Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Int8Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Int8Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Int8Array;\\n\\n    [index: number]: number;\\n}\\ninterface Int8ArrayConstructor {\\n    readonly prototype: Int8Array;\\n    new(length: number): Int8Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Int8Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Int8Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Int8Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;\\n\\n\\n}\\ndeclare var Int8Array: Int8ArrayConstructor;\\n\\n/**\\n * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated an exception is raised.\\n */\\ninterface Uint8Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Uint8Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Uint8Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Uint8Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Uint8Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Uint8ArrayConstructor {\\n    readonly prototype: Uint8Array;\\n    new(length: number): Uint8Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Uint8Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Uint8Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Uint8Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;\\n\\n}\\ndeclare var Uint8Array: Uint8ArrayConstructor;\\n\\n/**\\n * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\\n * If the requested number of bytes could not be allocated an exception is raised.\\n */\\ninterface Uint8ClampedArray {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Uint8ClampedArray;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Uint8ClampedArray;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Uint8ClampedArray;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Uint8ClampedArray;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Uint8ClampedArrayConstructor {\\n    readonly prototype: Uint8ClampedArray;\\n    new(length: number): Uint8ClampedArray;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8ClampedArray;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Uint8ClampedArray;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Uint8ClampedArray;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;\\n}\\ndeclare var Uint8ClampedArray: Uint8ClampedArrayConstructor;\\n\\n/**\\n * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated an exception is raised.\\n */\\ninterface Int16Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void;\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Int16Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Int16Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Int16Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Int16Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Int16ArrayConstructor {\\n    readonly prototype: Int16Array;\\n    new(length: number): Int16Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Int16Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int16Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Int16Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Int16Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array;\\n\\n\\n}\\ndeclare var Int16Array: Int16ArrayConstructor;\\n\\n/**\\n * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated an exception is raised.\\n */\\ninterface Uint16Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Uint16Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Uint16Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Uint16Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Uint16Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Uint16ArrayConstructor {\\n    readonly prototype: Uint16Array;\\n    new(length: number): Uint16Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Uint16Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint16Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Uint16Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Uint16Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array;\\n\\n\\n}\\ndeclare var Uint16Array: Uint16ArrayConstructor;\\n/**\\n * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated an exception is raised.\\n */\\ninterface Int32Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Int32Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Int32Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Int32Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Int32Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Int32ArrayConstructor {\\n    readonly prototype: Int32Array;\\n    new(length: number): Int32Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Int32Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Int32Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Int32Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;\\n\\n}\\ndeclare var Int32Array: Int32ArrayConstructor;\\n\\n/**\\n * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\\n * requested number of bytes could not be allocated an exception is raised.\\n */\\ninterface Uint32Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void;\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Uint32Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Uint32Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Uint32Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Uint32Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Uint32ArrayConstructor {\\n    readonly prototype: Uint32Array;\\n    new(length: number): Uint32Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Uint32Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint32Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Uint32Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Uint32Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;\\n\\n}\\ndeclare var Uint32Array: Uint32ArrayConstructor;\\n\\n/**\\n * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\\n * of bytes could not be allocated an exception is raised.\\n */\\ninterface Float32Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Float32Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Float32Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Float32Array;\\n\\n    /**\\n     * Converts a number to a string by using the current locale.\\n     */\\n    toLocaleString(): string;\\n\\n    /**\\n     * Returns a string representation of an array.\\n     */\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Float32Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Float32ArrayConstructor {\\n    readonly prototype: Float32Array;\\n    new(length: number): Float32Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Float32Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float32Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Float32Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Float32Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array;\\n\\n\\n}\\ndeclare var Float32Array: Float32ArrayConstructor;\\n\\n/**\\n * A typed array of 64-bit float values. The contents are initialized to 0. If the requested\\n * number of bytes could not be allocated an exception is raised.\\n */\\ninterface Float64Array {\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * The ArrayBuffer instance referenced by the array.\\n     */\\n    readonly buffer: ArrayBufferLike;\\n\\n    /**\\n     * The length in bytes of the array.\\n     */\\n    readonly byteLength: number;\\n\\n    /**\\n     * The offset in bytes of the array.\\n     */\\n    readonly byteOffset: number;\\n\\n    /**\\n     * Returns the this object after copying a section of the array identified by start and end\\n     * to the same array starting at position target\\n     * @param target If target is negative, it is treated as length+target where length is the\\n     * length of the array.\\n     * @param start If start is negative, it is treated as length+start. If end is negative, it\\n     * is treated as length+end.\\n     * @param end If not specified, length of the this object is used as its default value.\\n     */\\n    copyWithin(target: number, start: number, end?: number): this;\\n\\n    /**\\n     * Determines whether all the members of an array satisfy the specified test.\\n     * @param predicate A function that accepts up to three arguments. The every method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value false, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    every(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\\n     * @param value value to fill array section with\\n     * @param start index to start filling the array at. If start is negative, it is treated as\\n     * length+start where length is the length of the array.\\n     * @param end index to stop filling the array at. If end is negative, it is treated as\\n     * length+end.\\n     */\\n    fill(value: number, start?: number, end?: number): this;\\n\\n    /**\\n     * Returns the elements of an array that meet the condition specified in a callback function.\\n     * @param predicate A function that accepts up to three arguments. The filter method calls\\n     * the predicate function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    filter(predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\\n\\n    /**\\n     * Returns the value of the first element in the array where predicate is true, and undefined\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found, find\\n     * immediately returns that element value. Otherwise, find returns undefined.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined;\\n\\n    /**\\n     * Returns the index of the first element in the array where predicate is true, and -1\\n     * otherwise.\\n     * @param predicate find calls predicate once for each element of the array, in ascending\\n     * order, until it finds one where predicate returns true. If such an element is found,\\n     * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\\n     * @param thisArg If provided, it will be used as the this value for each invocation of\\n     * predicate. If it is not provided, undefined is used instead.\\n     */\\n    findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number;\\n\\n    /**\\n     * Performs the specified action for each element in an array.\\n     * @param callbackfn  A function that accepts up to three arguments. forEach calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg  An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void;\\n\\n    /**\\n     * Returns the index of the first occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     *  search starts at index 0.\\n     */\\n    indexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * Adds all the elements of an array separated by the specified separator string.\\n     * @param separator A string used to separate one element of an array from the next in the\\n     * resulting String. If omitted, the array elements are separated with a comma.\\n     */\\n    join(separator?: string): string;\\n\\n    /**\\n     * Returns the index of the last occurrence of a value in an array.\\n     * @param searchElement The value to locate in the array.\\n     * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\\n     * search starts at index 0.\\n     */\\n    lastIndexOf(searchElement: number, fromIndex?: number): number;\\n\\n    /**\\n     * The length of the array.\\n     */\\n    readonly length: number;\\n\\n    /**\\n     * Calls a defined callback function on each element of an array, and returns an array that\\n     * contains the results.\\n     * @param callbackfn A function that accepts up to three arguments. The map method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\\n    reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array. The return value of\\n     * the callback function is the accumulated result, and is provided as an argument in the next\\n     * call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\\n     * callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an\\n     * argument instead of an array value.\\n     */\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\\n    reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\\n\\n    /**\\n     * Calls the specified callback function for all the elements in an array, in descending order.\\n     * The return value of the callback function is the accumulated result, and is provided as an\\n     * argument in the next call to the callback function.\\n     * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\\n     * the callbackfn function one time for each element in the array.\\n     * @param initialValue If initialValue is specified, it is used as the initial value to start\\n     * the accumulation. The first call to the callbackfn function provides this value as an argument\\n     * instead of an array value.\\n     */\\n    reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\\n\\n    /**\\n     * Reverses the elements in an Array.\\n     */\\n    reverse(): Float64Array;\\n\\n    /**\\n     * Sets a value or an array of values.\\n     * @param array A typed or untyped array of values to set.\\n     * @param offset The index in the current array at which the values are to be written.\\n     */\\n    set(array: ArrayLike<number>, offset?: number): void;\\n\\n    /**\\n     * Returns a section of an array.\\n     * @param start The beginning of the specified portion of the array.\\n     * @param end The end of the specified portion of the array. This is exclusive of the element at the index \\'end\\'.\\n     */\\n    slice(start?: number, end?: number): Float64Array;\\n\\n    /**\\n     * Determines whether the specified callback function returns true for any element of an array.\\n     * @param predicate A function that accepts up to three arguments. The some method calls\\n     * the predicate function for each element in the array until the predicate returns a value\\n     * which is coercible to the Boolean value true, or until the end of the array.\\n     * @param thisArg An object to which the this keyword can refer in the predicate function.\\n     * If thisArg is omitted, undefined is used as the this value.\\n     */\\n    some(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\\n\\n    /**\\n     * Sorts an array.\\n     * @param compareFn Function used to determine the order of the elements. It is expected to return\\n     * a negative value if first argument is less than second argument, zero if they\\'re equal and a positive\\n     * value otherwise. If omitted, the elements are sorted in ascending order.\\n     * ```ts\\n     * [11,2,22,1].sort((a, b) => a - b)\\n     * ```\\n     */\\n    sort(compareFn?: (a: number, b: number) => number): this;\\n\\n    /**\\n     * at begin, inclusive, up to end, exclusive.\\n     * @param begin The index of the beginning of the array.\\n     * @param end The index of the end of the array.\\n     */\\n    subarray(begin?: number, end?: number): Float64Array;\\n\\n    toString(): string;\\n\\n    /** Returns the primitive value of the specified object. */\\n    valueOf(): Float64Array;\\n\\n    [index: number]: number;\\n}\\n\\ninterface Float64ArrayConstructor {\\n    readonly prototype: Float64Array;\\n    new(length: number): Float64Array;\\n    new(array: ArrayLike<number> | ArrayBufferLike): Float64Array;\\n    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float64Array;\\n\\n    /**\\n     * The size in bytes of each element in the array.\\n     */\\n    readonly BYTES_PER_ELEMENT: number;\\n\\n    /**\\n     * Returns a new array from a set of elements.\\n     * @param items A set of elements to include in the new array object.\\n     */\\n    of(...items: number[]): Float64Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     */\\n    from(arrayLike: ArrayLike<number>): Float64Array;\\n\\n    /**\\n     * Creates an array from an array-like or iterable object.\\n     * @param arrayLike An array-like or iterable object to convert to an array.\\n     * @param mapfn A mapping function to call on every element of the array.\\n     * @param thisArg Value of \\'this\\' used to invoke the mapfn.\\n     */\\n    from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;\\n\\n}\\ndeclare var Float64Array: Float64ArrayConstructor;\\n\\n/////////////////////////////\\n/// ECMAScript Internationalization API\\n/////////////////////////////\\n\\ndeclare namespace Intl {\\n    interface CollatorOptions {\\n        usage?: string | undefined;\\n        localeMatcher?: string | undefined;\\n        numeric?: boolean | undefined;\\n        caseFirst?: string | undefined;\\n        sensitivity?: string | undefined;\\n        ignorePunctuation?: boolean | undefined;\\n    }\\n\\n    interface ResolvedCollatorOptions {\\n        locale: string;\\n        usage: string;\\n        sensitivity: string;\\n        ignorePunctuation: boolean;\\n        collation: string;\\n        caseFirst: string;\\n        numeric: boolean;\\n    }\\n\\n    interface Collator {\\n        compare(x: string, y: string): number;\\n        resolvedOptions(): ResolvedCollatorOptions;\\n    }\\n    var Collator: {\\n        new(locales?: string | string[], options?: CollatorOptions): Collator;\\n        (locales?: string | string[], options?: CollatorOptions): Collator;\\n        supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];\\n    };\\n\\n    interface NumberFormatOptions {\\n        localeMatcher?: string | undefined;\\n        style?: string | undefined;\\n        currency?: string | undefined;\\n        currencySign?: string | undefined;\\n        useGrouping?: boolean | undefined;\\n        minimumIntegerDigits?: number | undefined;\\n        minimumFractionDigits?: number | undefined;\\n        maximumFractionDigits?: number | undefined;\\n        minimumSignificantDigits?: number | undefined;\\n        maximumSignificantDigits?: number | undefined;\\n    }\\n\\n    interface ResolvedNumberFormatOptions {\\n        locale: string;\\n        numberingSystem: string;\\n        style: string;\\n        currency?: string;\\n        minimumIntegerDigits: number;\\n        minimumFractionDigits: number;\\n        maximumFractionDigits: number;\\n        minimumSignificantDigits?: number;\\n        maximumSignificantDigits?: number;\\n        useGrouping: boolean;\\n    }\\n\\n    interface NumberFormat {\\n        format(value: number): string;\\n        resolvedOptions(): ResolvedNumberFormatOptions;\\n    }\\n    var NumberFormat: {\\n        new(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\\n        (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\\n        supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];\\n        readonly prototype: NumberFormat;\\n    };\\n\\n    interface DateTimeFormatOptions {\\n        localeMatcher?: \"best fit\" | \"lookup\" | undefined;\\n        weekday?: \"long\" | \"short\" | \"narrow\" | undefined;\\n        era?: \"long\" | \"short\" | \"narrow\" | undefined;\\n        year?: \"numeric\" | \"2-digit\" | undefined;\\n        month?: \"numeric\" | \"2-digit\" | \"long\" | \"short\" | \"narrow\" | undefined;\\n        day?: \"numeric\" | \"2-digit\" | undefined;\\n        hour?: \"numeric\" | \"2-digit\" | undefined;\\n        minute?: \"numeric\" | \"2-digit\" | undefined;\\n        second?: \"numeric\" | \"2-digit\" | undefined;\\n        timeZoneName?: \"short\" | \"long\" | \"shortOffset\" | \"longOffset\" | \"shortGeneric\" | \"longGeneric\" | undefined;\\n        formatMatcher?: \"best fit\" | \"basic\" | undefined;\\n        hour12?: boolean | undefined;\\n        timeZone?: string | undefined;\\n    }\\n\\n    interface ResolvedDateTimeFormatOptions {\\n        locale: string;\\n        calendar: string;\\n        numberingSystem: string;\\n        timeZone: string;\\n        hour12?: boolean;\\n        weekday?: string;\\n        era?: string;\\n        year?: string;\\n        month?: string;\\n        day?: string;\\n        hour?: string;\\n        minute?: string;\\n        second?: string;\\n        timeZoneName?: string;\\n    }\\n\\n    interface DateTimeFormat {\\n        format(date?: Date | number): string;\\n        resolvedOptions(): ResolvedDateTimeFormatOptions;\\n    }\\n    var DateTimeFormat: {\\n        new(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\\n        (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\\n        supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];\\n        readonly prototype: DateTimeFormat;\\n    };\\n}\\n\\ninterface String {\\n    /**\\n     * Determines whether two strings are equivalent in the current or specified locale.\\n     * @param that String to compare to target string\\n     * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\\n     * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.\\n     */\\n    localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;\\n}\\n\\ninterface Number {\\n    /**\\n     * Converts a number to a string by using the current or specified locale.\\n     * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\\n}\\n\\ninterface Date {\\n    /**\\n     * Converts a date and time to a string by using the current or specified locale.\\n     * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\\n    /**\\n     * Converts a date to a string by using the current or specified locale.\\n     * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\\n\\n    /**\\n     * Converts a time to a string by using the current or specified locale.\\n     * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\\n     * @param options An object that contains one or more properties that specify comparison options.\\n     */\\n    toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\\n}\\n';\n  libFileMap[\"lib.es6.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2015\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"dom.iterable\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n';\n  libFileMap[\"lib.esnext.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"es2023\" />\\n/// <reference lib=\"esnext.intl\" />\\n';\n  libFileMap[\"lib.esnext.full.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/// <reference lib=\"esnext\" />\\n/// <reference lib=\"dom\" />\\n/// <reference lib=\"webworker.importscripts\" />\\n/// <reference lib=\"scripthost\" />\\n/// <reference lib=\"dom.iterable\" />';\n  libFileMap[\"lib.esnext.intl.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\ndeclare namespace Intl {\\n  interface NumberRangeFormatPart extends NumberFormatPart {\\n    source: \"startRange\" | \"endRange\" | \"shared\"\\n  }\\n\\n  interface NumberFormat {\\n    formatRange(start: number | bigint, end: number | bigint): string;\\n    formatRangeToParts(start: number | bigint, end: number | bigint): NumberRangeFormatPart[];\\n  }\\n}\\n';\n  libFileMap[\"lib.scripthost.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n\n/////////////////////////////\n/// Windows Script Host APIS\n/////////////////////////////\n\n\ninterface ActiveXObject {\n    new (s: string): any;\n}\ndeclare var ActiveXObject: ActiveXObject;\n\ninterface ITextWriter {\n    Write(s: string): void;\n    WriteLine(s: string): void;\n    Close(): void;\n}\n\ninterface TextStreamBase {\n    /**\n     * The column number of the current character position in an input stream.\n     */\n    Column: number;\n\n    /**\n     * The current line number in an input stream.\n     */\n    Line: number;\n\n    /**\n     * Closes a text stream.\n     * It is not necessary to close standard streams; they close automatically when the process ends. If\n     * you close a standard stream, be aware that any other pointers to that standard stream become invalid.\n     */\n    Close(): void;\n}\n\ninterface TextStreamWriter extends TextStreamBase {\n    /**\n     * Sends a string to an output stream.\n     */\n    Write(s: string): void;\n\n    /**\n     * Sends a specified number of blank lines (newline characters) to an output stream.\n     */\n    WriteBlankLines(intLines: number): void;\n\n    /**\n     * Sends a string followed by a newline character to an output stream.\n     */\n    WriteLine(s: string): void;\n}\n\ninterface TextStreamReader extends TextStreamBase {\n    /**\n     * Returns a specified number of characters from an input stream, starting at the current pointer position.\n     * Does not return until the ENTER key is pressed.\n     * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n     */\n    Read(characters: number): string;\n\n    /**\n     * Returns all characters from an input stream.\n     * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n     */\n    ReadAll(): string;\n\n    /**\n     * Returns an entire line from an input stream.\n     * Although this method extracts the newline character, it does not add it to the returned string.\n     * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n     */\n    ReadLine(): string;\n\n    /**\n     * Skips a specified number of characters when reading from an input text stream.\n     * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n     * @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)\n     */\n    Skip(characters: number): void;\n\n    /**\n     * Skips the next line when reading from an input text stream.\n     * Can only be used on a stream in reading mode, not writing or appending mode.\n     */\n    SkipLine(): void;\n\n    /**\n     * Indicates whether the stream pointer position is at the end of a line.\n     */\n    AtEndOfLine: boolean;\n\n    /**\n     * Indicates whether the stream pointer position is at the end of a stream.\n     */\n    AtEndOfStream: boolean;\n}\n\ndeclare var WScript: {\n    /**\n     * Outputs text to either a message box (under WScript.exe) or the command console window followed by\n     * a newline (under CScript.exe).\n     */\n    Echo(s: any): void;\n\n    /**\n     * Exposes the write-only error output stream for the current script.\n     * Can be accessed only while using CScript.exe.\n     */\n    StdErr: TextStreamWriter;\n\n    /**\n     * Exposes the write-only output stream for the current script.\n     * Can be accessed only while using CScript.exe.\n     */\n    StdOut: TextStreamWriter;\n    Arguments: { length: number; Item(n: number): string; };\n\n    /**\n     *  The full path of the currently running script.\n     */\n    ScriptFullName: string;\n\n    /**\n     * Forces the script to stop immediately, with an optional exit code.\n     */\n    Quit(exitCode?: number): number;\n\n    /**\n     * The Windows Script Host build version number.\n     */\n    BuildVersion: number;\n\n    /**\n     * Fully qualified path of the host executable.\n     */\n    FullName: string;\n\n    /**\n     * Gets/sets the script mode - interactive(true) or batch(false).\n     */\n    Interactive: boolean;\n\n    /**\n     * The name of the host executable (WScript.exe or CScript.exe).\n     */\n    Name: string;\n\n    /**\n     * Path of the directory containing the host executable.\n     */\n    Path: string;\n\n    /**\n     * The filename of the currently running script.\n     */\n    ScriptName: string;\n\n    /**\n     * Exposes the read-only input stream for the current script.\n     * Can be accessed only while using CScript.exe.\n     */\n    StdIn: TextStreamReader;\n\n    /**\n     * Windows Script Host version\n     */\n    Version: string;\n\n    /**\n     * Connects a COM object's event sources to functions named with a given prefix, in the form prefix_event.\n     */\n    ConnectObject(objEventSource: any, strPrefix: string): void;\n\n    /**\n     * Creates a COM object.\n     * @param strProgiID\n     * @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.\n     */\n    CreateObject(strProgID: string, strPrefix?: string): any;\n\n    /**\n     * Disconnects a COM object from its event sources.\n     */\n    DisconnectObject(obj: any): void;\n\n    /**\n     * Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.\n     * @param strPathname Fully qualified path to the file containing the object persisted to disk.\n     *                       For objects in memory, pass a zero-length string.\n     * @param strProgID\n     * @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.\n     */\n    GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;\n\n    /**\n     * Suspends script execution for a specified length of time, then continues execution.\n     * @param intTime Interval (in milliseconds) to suspend script execution.\n     */\n    Sleep(intTime: number): void;\n};\n\n/**\n * WSH is an alias for WScript under Windows Script Host\n */\ndeclare var WSH: typeof WScript;\n\n/**\n * Represents an Automation SAFEARRAY\n */\ndeclare class SafeArray<T = any> {\n    private constructor();\n    private SafeArray_typekey: SafeArray<T>;\n}\n\n/**\n * Allows enumerating over a COM collection, which may not have indexed item access.\n */\ninterface Enumerator<T = any> {\n    /**\n     * Returns true if the current item is the last one in the collection, or the collection is empty,\n     * or the current item is undefined.\n     */\n    atEnd(): boolean;\n\n    /**\n     * Returns the current item in the collection\n     */\n    item(): T;\n\n    /**\n     * Resets the current item in the collection to the first item. If there are no items in the collection,\n     * the current item is set to undefined.\n     */\n    moveFirst(): void;\n\n    /**\n     * Moves the current item to the next item in the collection. If the enumerator is at the end of\n     * the collection or the collection is empty, the current item is set to undefined.\n     */\n    moveNext(): void;\n}\n\ninterface EnumeratorConstructor {\n    new <T = any>(safearray: SafeArray<T>): Enumerator<T>;\n    new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;\n    new <T = any>(collection: any): Enumerator<T>;\n}\n\ndeclare var Enumerator: EnumeratorConstructor;\n\n/**\n * Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.\n */\ninterface VBArray<T = any> {\n    /**\n     * Returns the number of dimensions (1-based).\n     */\n    dimensions(): number;\n\n    /**\n     * Takes an index for each dimension in the array, and returns the item at the corresponding location.\n     */\n    getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;\n\n    /**\n     * Returns the smallest available index for a given dimension.\n     * @param dimension 1-based dimension (defaults to 1)\n     */\n    lbound(dimension?: number): number;\n\n    /**\n     * Returns the largest available index for a given dimension.\n     * @param dimension 1-based dimension (defaults to 1)\n     */\n    ubound(dimension?: number): number;\n\n    /**\n     * Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,\n     * each successive dimension is appended to the end of the array.\n     * Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]\n     */\n    toArray(): T[];\n}\n\ninterface VBArrayConstructor {\n    new <T = any>(safeArray: SafeArray<T>): VBArray<T>;\n}\n\ndeclare var VBArray: VBArrayConstructor;\n\n/**\n * Automation date (VT_DATE)\n */\ndeclare class VarDate {\n    private constructor();\n    private VarDate_typekey: VarDate;\n}\n\ninterface DateConstructor {\n    new (vd: VarDate): Date;\n}\n\ninterface Date {\n    getVarDate: () => VarDate;\n}\n`;\n  libFileMap[\"lib.webworker.d.ts\"] = `/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib=\"true\"/>\n\n/////////////////////////////\n/// Worker APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n    once?: boolean;\n    passive?: boolean;\n    signal?: AbortSignal;\n}\n\ninterface AesCbcParams extends Algorithm {\n    iv: BufferSource;\n}\n\ninterface AesCtrParams extends Algorithm {\n    counter: BufferSource;\n    length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n    length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n    additionalData?: BufferSource;\n    iv: BufferSource;\n    tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n    length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n    length: number;\n}\n\ninterface Algorithm {\n    name: string;\n}\n\ninterface AudioConfiguration {\n    bitrate?: number;\n    channels?: string;\n    contentType: string;\n    samplerate?: number;\n    spatialRendering?: boolean;\n}\n\ninterface BlobPropertyBag {\n    endings?: EndingType;\n    type?: string;\n}\n\ninterface CacheQueryOptions {\n    ignoreMethod?: boolean;\n    ignoreSearch?: boolean;\n    ignoreVary?: boolean;\n}\n\ninterface ClientQueryOptions {\n    includeUncontrolled?: boolean;\n    type?: ClientTypes;\n}\n\ninterface CloseEventInit extends EventInit {\n    code?: number;\n    reason?: string;\n    wasClean?: boolean;\n}\n\ninterface CryptoKeyPair {\n    privateKey: CryptoKey;\n    publicKey: CryptoKey;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n    detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n    a?: number;\n    b?: number;\n    c?: number;\n    d?: number;\n    e?: number;\n    f?: number;\n    m11?: number;\n    m12?: number;\n    m21?: number;\n    m22?: number;\n    m41?: number;\n    m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n    is2D?: boolean;\n    m13?: number;\n    m14?: number;\n    m23?: number;\n    m24?: number;\n    m31?: number;\n    m32?: number;\n    m33?: number;\n    m34?: number;\n    m43?: number;\n    m44?: number;\n}\n\ninterface DOMPointInit {\n    w?: number;\n    x?: number;\n    y?: number;\n    z?: number;\n}\n\ninterface DOMQuadInit {\n    p1?: DOMPointInit;\n    p2?: DOMPointInit;\n    p3?: DOMPointInit;\n    p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n    height?: number;\n    width?: number;\n    x?: number;\n    y?: number;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n    namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n    namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n    public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n}\n\ninterface ErrorEventInit extends EventInit {\n    colno?: number;\n    error?: any;\n    filename?: string;\n    lineno?: number;\n    message?: string;\n}\n\ninterface EventInit {\n    bubbles?: boolean;\n    cancelable?: boolean;\n    composed?: boolean;\n}\n\ninterface EventListenerOptions {\n    capture?: boolean;\n}\n\ninterface EventSourceInit {\n    withCredentials?: boolean;\n}\n\ninterface ExtendableEventInit extends EventInit {\n}\n\ninterface ExtendableMessageEventInit extends ExtendableEventInit {\n    data?: any;\n    lastEventId?: string;\n    origin?: string;\n    ports?: MessagePort[];\n    source?: Client | ServiceWorker | MessagePort | null;\n}\n\ninterface FetchEventInit extends ExtendableEventInit {\n    clientId?: string;\n    handled?: Promise<undefined>;\n    preloadResponse?: Promise<any>;\n    replacesClientId?: string;\n    request: Request;\n    resultingClientId?: string;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n    lastModified?: number;\n}\n\ninterface FileSystemGetDirectoryOptions {\n    create?: boolean;\n}\n\ninterface FileSystemGetFileOptions {\n    create?: boolean;\n}\n\ninterface FileSystemReadWriteOptions {\n    at?: number;\n}\n\ninterface FileSystemRemoveOptions {\n    recursive?: boolean;\n}\n\ninterface FontFaceDescriptors {\n    ascentOverride?: string;\n    descentOverride?: string;\n    display?: FontDisplay;\n    featureSettings?: string;\n    lineGapOverride?: string;\n    stretch?: string;\n    style?: string;\n    unicodeRange?: string;\n    variant?: string;\n    weight?: string;\n}\n\ninterface FontFaceSetLoadEventInit extends EventInit {\n    fontfaces?: FontFace[];\n}\n\ninterface GetNotificationOptions {\n    tag?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    info: BufferSource;\n    salt: BufferSource;\n}\n\ninterface HmacImportParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    length?: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    length?: number;\n}\n\ninterface IDBDatabaseInfo {\n    name?: string;\n    version?: number;\n}\n\ninterface IDBIndexParameters {\n    multiEntry?: boolean;\n    unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n    autoIncrement?: boolean;\n    keyPath?: string | string[] | null;\n}\n\ninterface IDBTransactionOptions {\n    durability?: IDBTransactionDurability;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n    newVersion?: number | null;\n    oldVersion?: number;\n}\n\ninterface ImageBitmapOptions {\n    colorSpaceConversion?: ColorSpaceConversion;\n    imageOrientation?: ImageOrientation;\n    premultiplyAlpha?: PremultiplyAlpha;\n    resizeHeight?: number;\n    resizeQuality?: ResizeQuality;\n    resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n    alpha?: boolean;\n}\n\ninterface ImageDataSettings {\n    colorSpace?: PredefinedColorSpace;\n}\n\ninterface ImageEncodeOptions {\n    quality?: number;\n    type?: string;\n}\n\ninterface ImportMeta {\n    url: string;\n}\n\ninterface JsonWebKey {\n    alg?: string;\n    crv?: string;\n    d?: string;\n    dp?: string;\n    dq?: string;\n    e?: string;\n    ext?: boolean;\n    k?: string;\n    key_ops?: string[];\n    kty?: string;\n    n?: string;\n    oth?: RsaOtherPrimesInfo[];\n    p?: string;\n    q?: string;\n    qi?: string;\n    use?: string;\n    x?: string;\n    y?: string;\n}\n\ninterface KeyAlgorithm {\n    name: string;\n}\n\ninterface LockInfo {\n    clientId?: string;\n    mode?: LockMode;\n    name?: string;\n}\n\ninterface LockManagerSnapshot {\n    held?: LockInfo[];\n    pending?: LockInfo[];\n}\n\ninterface LockOptions {\n    ifAvailable?: boolean;\n    mode?: LockMode;\n    signal?: AbortSignal;\n    steal?: boolean;\n}\n\ninterface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {\n    configuration?: MediaDecodingConfiguration;\n}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n    configuration?: MediaEncodingConfiguration;\n}\n\ninterface MediaCapabilitiesInfo {\n    powerEfficient: boolean;\n    smooth: boolean;\n    supported: boolean;\n}\n\ninterface MediaConfiguration {\n    audio?: AudioConfiguration;\n    video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n    type: MediaDecodingType;\n}\n\ninterface MediaEncodingConfiguration extends MediaConfiguration {\n    type: MediaEncodingType;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n    data?: T;\n    lastEventId?: string;\n    origin?: string;\n    ports?: MessagePort[];\n    source?: MessageEventSource | null;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n    cacheName?: string;\n}\n\ninterface NavigationPreloadState {\n    enabled?: boolean;\n    headerValue?: string;\n}\n\ninterface NotificationAction {\n    action: string;\n    icon?: string;\n    title: string;\n}\n\ninterface NotificationEventInit extends ExtendableEventInit {\n    action?: string;\n    notification: Notification;\n}\n\ninterface NotificationOptions {\n    actions?: NotificationAction[];\n    badge?: string;\n    body?: string;\n    data?: any;\n    dir?: NotificationDirection;\n    icon?: string;\n    image?: string;\n    lang?: string;\n    renotify?: boolean;\n    requireInteraction?: boolean;\n    silent?: boolean;\n    tag?: string;\n    timestamp?: EpochTimeStamp;\n    vibrate?: VibratePattern;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n    iterations: number;\n    salt: BufferSource;\n}\n\ninterface PerformanceMarkOptions {\n    detail?: any;\n    startTime?: DOMHighResTimeStamp;\n}\n\ninterface PerformanceMeasureOptions {\n    detail?: any;\n    duration?: DOMHighResTimeStamp;\n    end?: string | DOMHighResTimeStamp;\n    start?: string | DOMHighResTimeStamp;\n}\n\ninterface PerformanceObserverInit {\n    buffered?: boolean;\n    entryTypes?: string[];\n    type?: string;\n}\n\ninterface PermissionDescriptor {\n    name: PermissionName;\n}\n\ninterface ProgressEventInit extends EventInit {\n    lengthComputable?: boolean;\n    loaded?: number;\n    total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n    promise: Promise<any>;\n    reason?: any;\n}\n\ninterface PushEventInit extends ExtendableEventInit {\n    data?: PushMessageDataInit;\n}\n\ninterface PushSubscriptionJSON {\n    endpoint?: string;\n    expirationTime?: EpochTimeStamp | null;\n    keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n    applicationServerKey?: BufferSource | string | null;\n    userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n    highWaterMark?: number;\n    size?: QueuingStrategySize<T>;\n}\n\ninterface QueuingStrategyInit {\n    /**\n     * Creates a new ByteLengthQueuingStrategy with the provided high water mark.\n     *\n     * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw.\n     */\n    highWaterMark: number;\n}\n\ninterface RTCEncodedAudioFrameMetadata {\n    contributingSources?: number[];\n    synchronizationSource?: number;\n}\n\ninterface RTCEncodedVideoFrameMetadata {\n    contributingSources?: number[];\n    dependencies?: number[];\n    frameId?: number;\n    height?: number;\n    spatialIndex?: number;\n    synchronizationSource?: number;\n    temporalIndex?: number;\n    width?: number;\n}\n\ninterface ReadableStreamGetReaderOptions {\n    /**\n     * Creates a ReadableStreamBYOBReader and locks the stream to the new reader.\n     *\n     * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle \"bring your own buffer\" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.\n     */\n    mode?: ReadableStreamReaderMode;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n    done: true;\n    value?: T;\n}\n\ninterface ReadableStreamReadValueResult<T> {\n    done: false;\n    value: T;\n}\n\ninterface ReadableWritablePair<R = any, W = any> {\n    readable: ReadableStream<R>;\n    /**\n     * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.\n     *\n     * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n     */\n    writable: WritableStream<W>;\n}\n\ninterface RegistrationOptions {\n    scope?: string;\n    type?: WorkerType;\n    updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n    /** A BodyInit object or null to set request's body. */\n    body?: BodyInit | null;\n    /** A string indicating how the request will interact with the browser's cache to set request's cache. */\n    cache?: RequestCache;\n    /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */\n    credentials?: RequestCredentials;\n    /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */\n    headers?: HeadersInit;\n    /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */\n    integrity?: string;\n    /** A boolean to set request's keepalive. */\n    keepalive?: boolean;\n    /** A string to set request's method. */\n    method?: string;\n    /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */\n    mode?: RequestMode;\n    /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */\n    redirect?: RequestRedirect;\n    /** A string whose value is a same-origin URL, \"about:client\", or the empty string, to set request's referrer. */\n    referrer?: string;\n    /** A referrer policy to set request's referrerPolicy. */\n    referrerPolicy?: ReferrerPolicy;\n    /** An AbortSignal to set request's signal. */\n    signal?: AbortSignal | null;\n    /** Can only be null. Used to disassociate request from any Window. */\n    window?: null;\n}\n\ninterface ResponseInit {\n    headers?: HeadersInit;\n    status?: number;\n    statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n    hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n    hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n    modulusLength: number;\n    publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n    label?: BufferSource;\n}\n\ninterface RsaOtherPrimesInfo {\n    d?: string;\n    r?: string;\n    t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n    saltLength: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n    blockedURI?: string;\n    columnNumber?: number;\n    disposition: SecurityPolicyViolationEventDisposition;\n    documentURI: string;\n    effectiveDirective: string;\n    lineNumber?: number;\n    originalPolicy: string;\n    referrer?: string;\n    sample?: string;\n    sourceFile?: string;\n    statusCode: number;\n    violatedDirective: string;\n}\n\ninterface StorageEstimate {\n    quota?: number;\n    usage?: number;\n}\n\ninterface StreamPipeOptions {\n    preventAbort?: boolean;\n    preventCancel?: boolean;\n    /**\n     * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.\n     *\n     * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n     *\n     * Errors and closures of the source and destination streams propagate as follows:\n     *\n     * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination.\n     *\n     * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source.\n     *\n     * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error.\n     *\n     * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source.\n     *\n     * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.\n     */\n    preventClose?: boolean;\n    signal?: AbortSignal;\n}\n\ninterface StructuredSerializeOptions {\n    transfer?: Transferable[];\n}\n\ninterface TextDecodeOptions {\n    stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n    fatal?: boolean;\n    ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n    read?: number;\n    written?: number;\n}\n\ninterface Transformer<I = any, O = any> {\n    flush?: TransformerFlushCallback<O>;\n    readableType?: undefined;\n    start?: TransformerStartCallback<O>;\n    transform?: TransformerTransformCallback<I, O>;\n    writableType?: undefined;\n}\n\ninterface UnderlyingByteSource {\n    autoAllocateChunkSize?: number;\n    cancel?: UnderlyingSourceCancelCallback;\n    pull?: (controller: ReadableByteStreamController) => void | PromiseLike<void>;\n    start?: (controller: ReadableByteStreamController) => any;\n    type: \"bytes\";\n}\n\ninterface UnderlyingDefaultSource<R = any> {\n    cancel?: UnderlyingSourceCancelCallback;\n    pull?: (controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>;\n    start?: (controller: ReadableStreamDefaultController<R>) => any;\n    type?: undefined;\n}\n\ninterface UnderlyingSink<W = any> {\n    abort?: UnderlyingSinkAbortCallback;\n    close?: UnderlyingSinkCloseCallback;\n    start?: UnderlyingSinkStartCallback;\n    type?: undefined;\n    write?: UnderlyingSinkWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n    autoAllocateChunkSize?: number;\n    cancel?: UnderlyingSourceCancelCallback;\n    pull?: UnderlyingSourcePullCallback<R>;\n    start?: UnderlyingSourceStartCallback<R>;\n    type?: ReadableStreamType;\n}\n\ninterface VideoColorSpaceInit {\n    fullRange?: boolean | null;\n    matrix?: VideoMatrixCoefficients | null;\n    primaries?: VideoColorPrimaries | null;\n    transfer?: VideoTransferCharacteristics | null;\n}\n\ninterface VideoConfiguration {\n    bitrate: number;\n    colorGamut?: ColorGamut;\n    contentType: string;\n    framerate: number;\n    hdrMetadataType?: HdrMetadataType;\n    height: number;\n    scalabilityMode?: string;\n    transferFunction?: TransferFunction;\n    width: number;\n}\n\ninterface WebGLContextAttributes {\n    alpha?: boolean;\n    antialias?: boolean;\n    depth?: boolean;\n    desynchronized?: boolean;\n    failIfMajorPerformanceCaveat?: boolean;\n    powerPreference?: WebGLPowerPreference;\n    premultipliedAlpha?: boolean;\n    preserveDrawingBuffer?: boolean;\n    stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n    statusMessage?: string;\n}\n\ninterface WorkerOptions {\n    credentials?: RequestCredentials;\n    name?: string;\n    type?: WorkerType;\n}\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n    drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n    drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n    vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n    /** Returns the AbortSignal object associated with this object. */\n    readonly signal: AbortSignal;\n    /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */\n    abort(reason?: any): void;\n}\n\ndeclare var AbortController: {\n    prototype: AbortController;\n    new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n    \"abort\": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n    /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */\n    readonly aborted: boolean;\n    onabort: ((this: AbortSignal, ev: Event) => any) | null;\n    readonly reason: any;\n    throwIfAborted(): void;\n    addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n    prototype: AbortSignal;\n    new(): AbortSignal;\n    abort(reason?: any): AbortSignal;\n    timeout(milliseconds: number): AbortSignal;\n};\n\ninterface AbstractWorkerEventMap {\n    \"error\": ErrorEvent;\n}\n\ninterface AbstractWorker {\n    onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n    addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AnimationFrameProvider {\n    cancelAnimationFrame(handle: number): void;\n    requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\n/** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */\ninterface Blob {\n    readonly size: number;\n    readonly type: string;\n    arrayBuffer(): Promise<ArrayBuffer>;\n    slice(start?: number, end?: number, contentType?: string): Blob;\n    stream(): ReadableStream<Uint8Array>;\n    text(): Promise<string>;\n}\n\ndeclare var Blob: {\n    prototype: Blob;\n    new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n    readonly body: ReadableStream<Uint8Array> | null;\n    readonly bodyUsed: boolean;\n    arrayBuffer(): Promise<ArrayBuffer>;\n    blob(): Promise<Blob>;\n    formData(): Promise<FormData>;\n    json(): Promise<any>;\n    text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n    /** Returns the channel name (as passed to the constructor). */\n    readonly name: string;\n    onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n    /** Closes the BroadcastChannel object, opening it up to garbage collection. */\n    close(): void;\n    /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */\n    postMessage(message: any): void;\n    addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n    prototype: BroadcastChannel;\n    new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides\\xA0a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n    readonly highWaterMark: number;\n    readonly size: QueuingStrategySize<ArrayBufferView>;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n    prototype: ByteLengthQueuingStrategy;\n    new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/**\n * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.\n * Available only in secure contexts.\n */\ninterface Cache {\n    add(request: RequestInfo | URL): Promise<void>;\n    addAll(requests: RequestInfo[]): Promise<void>;\n    delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;\n    keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n    match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;\n    matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n    put(request: RequestInfo | URL, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n    prototype: Cache;\n    new(): Cache;\n};\n\n/**\n * The storage for Cache objects.\n * Available only in secure contexts.\n */\ninterface CacheStorage {\n    delete(cacheName: string): Promise<boolean>;\n    has(cacheName: string): Promise<boolean>;\n    keys(): Promise<string[]>;\n    match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n    open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n    prototype: CacheStorage;\n    new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n    globalAlpha: number;\n    globalCompositeOperation: GlobalCompositeOperation;\n}\n\ninterface CanvasDrawImage {\n    drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n    drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n    drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n    beginPath(): void;\n    clip(fillRule?: CanvasFillRule): void;\n    clip(path: Path2D, fillRule?: CanvasFillRule): void;\n    fill(fillRule?: CanvasFillRule): void;\n    fill(path: Path2D, fillRule?: CanvasFillRule): void;\n    isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n    isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n    isPointInStroke(x: number, y: number): boolean;\n    isPointInStroke(path: Path2D, x: number, y: number): boolean;\n    stroke(): void;\n    stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n    fillStyle: string | CanvasGradient | CanvasPattern;\n    strokeStyle: string | CanvasGradient | CanvasPattern;\n    createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;\n    createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n    createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n    createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n    filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n    /**\n     * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.\n     *\n     * Throws an \"IndexSizeError\" DOMException if the offset is out of range. Throws a \"SyntaxError\" DOMException if the color cannot be parsed.\n     */\n    addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n    prototype: CanvasGradient;\n    new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n    createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n    createImageData(imagedata: ImageData): ImageData;\n    getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n    putImageData(imagedata: ImageData, dx: number, dy: number): void;\n    putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n    imageSmoothingEnabled: boolean;\n    imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n    arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n    arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n    bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n    closePath(): void;\n    ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n    lineTo(x: number, y: number): void;\n    moveTo(x: number, y: number): void;\n    quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n    rect(x: number, y: number, w: number, h: number): void;\n    roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;\n}\n\ninterface CanvasPathDrawingStyles {\n    lineCap: CanvasLineCap;\n    lineDashOffset: number;\n    lineJoin: CanvasLineJoin;\n    lineWidth: number;\n    miterLimit: number;\n    getLineDash(): number[];\n    setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n    /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */\n    setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n    prototype: CanvasPattern;\n    new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n    clearRect(x: number, y: number, w: number, h: number): void;\n    fillRect(x: number, y: number, w: number, h: number): void;\n    strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasShadowStyles {\n    shadowBlur: number;\n    shadowColor: string;\n    shadowOffsetX: number;\n    shadowOffsetY: number;\n}\n\ninterface CanvasState {\n    restore(): void;\n    save(): void;\n}\n\ninterface CanvasText {\n    fillText(text: string, x: number, y: number, maxWidth?: number): void;\n    measureText(text: string): TextMetrics;\n    strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n    direction: CanvasDirection;\n    font: string;\n    fontKerning: CanvasFontKerning;\n    textAlign: CanvasTextAlign;\n    textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n    getTransform(): DOMMatrix;\n    resetTransform(): void;\n    rotate(angle: number): void;\n    scale(x: number, y: number): void;\n    setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n    setTransform(transform?: DOMMatrix2DInit): void;\n    transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n    translate(x: number, y: number): void;\n}\n\n/** The Client\\xA0interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific\\xA0WindowClient. You can get\\xA0Client/WindowClient\\xA0objects from methods such as Clients.matchAll() and\\xA0Clients.get(). */\ninterface Client {\n    readonly frameType: FrameType;\n    readonly id: string;\n    readonly type: ClientTypes;\n    readonly url: string;\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n}\n\ndeclare var Client: {\n    prototype: Client;\n    new(): Client;\n};\n\n/** Provides access to\\xA0Client\\xA0objects. Access it\\xA0via self.clients\\xA0within a\\xA0service worker. */\ninterface Clients {\n    claim(): Promise<void>;\n    get(id: string): Promise<Client | undefined>;\n    matchAll<T extends ClientQueryOptions>(options?: T): Promise<ReadonlyArray<T[\"type\"] extends \"window\" ? WindowClient : Client>>;\n    openWindow(url: string | URL): Promise<WindowClient | null>;\n}\n\ndeclare var Clients: {\n    prototype: Clients;\n    new(): Clients;\n};\n\n/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */\ninterface CloseEvent extends Event {\n    /** Returns the WebSocket connection close code provided by the server. */\n    readonly code: number;\n    /** Returns the WebSocket connection close reason provided by the server. */\n    readonly reason: string;\n    /** Returns true if the connection closed cleanly; false otherwise. */\n    readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n    prototype: CloseEvent;\n    new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** This Streams API interface provides\\xA0a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n    readonly highWaterMark: number;\n    readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n    prototype: CountQueuingStrategy;\n    new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n    /** Available only in secure contexts. */\n    readonly subtle: SubtleCrypto;\n    getRandomValues<T extends ArrayBufferView | null>(array: T): T;\n    /** Available only in secure contexts. */\n    randomUUID(): \\`\\${string}-\\${string}-\\${string}-\\${string}-\\${string}\\`;\n}\n\ndeclare var Crypto: {\n    prototype: Crypto;\n    new(): Crypto;\n};\n\n/**\n * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.\n * Available only in secure contexts.\n */\ninterface CryptoKey {\n    readonly algorithm: KeyAlgorithm;\n    readonly extractable: boolean;\n    readonly type: KeyType;\n    readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n    prototype: CryptoKey;\n    new(): CryptoKey;\n};\n\ninterface CustomEvent<T = any> extends Event {\n    /** Returns any custom data event was created with. Typically used for synthetic events. */\n    readonly detail: T;\n    /** @deprecated */\n    initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;\n}\n\ndeclare var CustomEvent: {\n    prototype: CustomEvent;\n    new<T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException extends Error {\n    /** @deprecated */\n    readonly code: number;\n    readonly message: string;\n    readonly name: string;\n    readonly INDEX_SIZE_ERR: 1;\n    readonly DOMSTRING_SIZE_ERR: 2;\n    readonly HIERARCHY_REQUEST_ERR: 3;\n    readonly WRONG_DOCUMENT_ERR: 4;\n    readonly INVALID_CHARACTER_ERR: 5;\n    readonly NO_DATA_ALLOWED_ERR: 6;\n    readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n    readonly NOT_FOUND_ERR: 8;\n    readonly NOT_SUPPORTED_ERR: 9;\n    readonly INUSE_ATTRIBUTE_ERR: 10;\n    readonly INVALID_STATE_ERR: 11;\n    readonly SYNTAX_ERR: 12;\n    readonly INVALID_MODIFICATION_ERR: 13;\n    readonly NAMESPACE_ERR: 14;\n    readonly INVALID_ACCESS_ERR: 15;\n    readonly VALIDATION_ERR: 16;\n    readonly TYPE_MISMATCH_ERR: 17;\n    readonly SECURITY_ERR: 18;\n    readonly NETWORK_ERR: 19;\n    readonly ABORT_ERR: 20;\n    readonly URL_MISMATCH_ERR: 21;\n    readonly QUOTA_EXCEEDED_ERR: 22;\n    readonly TIMEOUT_ERR: 23;\n    readonly INVALID_NODE_TYPE_ERR: 24;\n    readonly DATA_CLONE_ERR: 25;\n}\n\ndeclare var DOMException: {\n    prototype: DOMException;\n    new(message?: string, name?: string): DOMException;\n    readonly INDEX_SIZE_ERR: 1;\n    readonly DOMSTRING_SIZE_ERR: 2;\n    readonly HIERARCHY_REQUEST_ERR: 3;\n    readonly WRONG_DOCUMENT_ERR: 4;\n    readonly INVALID_CHARACTER_ERR: 5;\n    readonly NO_DATA_ALLOWED_ERR: 6;\n    readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n    readonly NOT_FOUND_ERR: 8;\n    readonly NOT_SUPPORTED_ERR: 9;\n    readonly INUSE_ATTRIBUTE_ERR: 10;\n    readonly INVALID_STATE_ERR: 11;\n    readonly SYNTAX_ERR: 12;\n    readonly INVALID_MODIFICATION_ERR: 13;\n    readonly NAMESPACE_ERR: 14;\n    readonly INVALID_ACCESS_ERR: 15;\n    readonly VALIDATION_ERR: 16;\n    readonly TYPE_MISMATCH_ERR: 17;\n    readonly SECURITY_ERR: 18;\n    readonly NETWORK_ERR: 19;\n    readonly ABORT_ERR: 20;\n    readonly URL_MISMATCH_ERR: 21;\n    readonly QUOTA_EXCEEDED_ERR: 22;\n    readonly TIMEOUT_ERR: 23;\n    readonly INVALID_NODE_TYPE_ERR: 24;\n    readonly DATA_CLONE_ERR: 25;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n    a: number;\n    b: number;\n    c: number;\n    d: number;\n    e: number;\n    f: number;\n    m11: number;\n    m12: number;\n    m13: number;\n    m14: number;\n    m21: number;\n    m22: number;\n    m23: number;\n    m24: number;\n    m31: number;\n    m32: number;\n    m33: number;\n    m34: number;\n    m41: number;\n    m42: number;\n    m43: number;\n    m44: number;\n    invertSelf(): DOMMatrix;\n    multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n    preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n    rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n    rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n    rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n    scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    skewXSelf(sx?: number): DOMMatrix;\n    skewYSelf(sy?: number): DOMMatrix;\n    translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n    prototype: DOMMatrix;\n    new(init?: string | number[]): DOMMatrix;\n    fromFloat32Array(array32: Float32Array): DOMMatrix;\n    fromFloat64Array(array64: Float64Array): DOMMatrix;\n    fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ninterface DOMMatrixReadOnly {\n    readonly a: number;\n    readonly b: number;\n    readonly c: number;\n    readonly d: number;\n    readonly e: number;\n    readonly f: number;\n    readonly is2D: boolean;\n    readonly isIdentity: boolean;\n    readonly m11: number;\n    readonly m12: number;\n    readonly m13: number;\n    readonly m14: number;\n    readonly m21: number;\n    readonly m22: number;\n    readonly m23: number;\n    readonly m24: number;\n    readonly m31: number;\n    readonly m32: number;\n    readonly m33: number;\n    readonly m34: number;\n    readonly m41: number;\n    readonly m42: number;\n    readonly m43: number;\n    readonly m44: number;\n    flipX(): DOMMatrix;\n    flipY(): DOMMatrix;\n    inverse(): DOMMatrix;\n    multiply(other?: DOMMatrixInit): DOMMatrix;\n    rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n    rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n    rotateFromVector(x?: number, y?: number): DOMMatrix;\n    scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n    /** @deprecated */\n    scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n    skewX(sx?: number): DOMMatrix;\n    skewY(sy?: number): DOMMatrix;\n    toFloat32Array(): Float32Array;\n    toFloat64Array(): Float64Array;\n    toJSON(): any;\n    transformPoint(point?: DOMPointInit): DOMPoint;\n    translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrixReadOnly: {\n    prototype: DOMMatrixReadOnly;\n    new(init?: string | number[]): DOMMatrixReadOnly;\n    fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n    fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n    fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n    w: number;\n    x: number;\n    y: number;\n    z: number;\n}\n\ndeclare var DOMPoint: {\n    prototype: DOMPoint;\n    new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n    fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ninterface DOMPointReadOnly {\n    readonly w: number;\n    readonly x: number;\n    readonly y: number;\n    readonly z: number;\n    matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n    toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n    prototype: DOMPointReadOnly;\n    new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n    fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n    readonly p1: DOMPoint;\n    readonly p2: DOMPoint;\n    readonly p3: DOMPoint;\n    readonly p4: DOMPoint;\n    getBounds(): DOMRect;\n    toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n    prototype: DOMQuad;\n    new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n    fromQuad(other?: DOMQuadInit): DOMQuad;\n    fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n    height: number;\n    width: number;\n    x: number;\n    y: number;\n}\n\ndeclare var DOMRect: {\n    prototype: DOMRect;\n    new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n    fromRect(other?: DOMRectInit): DOMRect;\n};\n\ninterface DOMRectReadOnly {\n    readonly bottom: number;\n    readonly height: number;\n    readonly left: number;\n    readonly right: number;\n    readonly top: number;\n    readonly width: number;\n    readonly x: number;\n    readonly y: number;\n    toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n    prototype: DOMRectReadOnly;\n    new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n    fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n    /** Returns the number of strings in strings. */\n    readonly length: number;\n    /** Returns true if strings contains string, and false otherwise. */\n    contains(string: string): boolean;\n    /** Returns the string with index index from strings. */\n    item(index: number): string | null;\n    [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n    prototype: DOMStringList;\n    new(): DOMStringList;\n};\n\ninterface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */\ninterface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider {\n    /** Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging. */\n    readonly name: string;\n    onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n    /** Aborts dedicatedWorkerGlobal. */\n    close(): void;\n    /** Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned. */\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var DedicatedWorkerGlobalScope: {\n    prototype: DedicatedWorkerGlobalScope;\n    new(): DedicatedWorkerGlobalScope;\n};\n\ninterface EXT_blend_minmax {\n    readonly MIN_EXT: 0x8007;\n    readonly MAX_EXT: 0x8008;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n    readonly RGBA16F_EXT: 0x881A;\n    readonly RGB16F_EXT: 0x881B;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n    readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\n}\n\ninterface EXT_float_blend {\n}\n\n/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n    readonly SRGB_EXT: 0x8C40;\n    readonly SRGB_ALPHA_EXT: 0x8C42;\n    readonly SRGB8_ALPHA8_EXT: 0x8C43;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_bptc {\n    readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;\n    readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;\n    readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 0x8E8E;\n    readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;\n}\n\ninterface EXT_texture_compression_rgtc {\n    readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;\n    readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;\n    readonly COMPRESSED_RED_GREEN_RGTC2_EXT: 0x8DBD;\n    readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: 0x8DBE;\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n    readonly TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE;\n    readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;\n}\n\ninterface EXT_texture_norm16 {\n    readonly R16_EXT: 0x822A;\n    readonly RG16_EXT: 0x822C;\n    readonly RGB16_EXT: 0x8054;\n    readonly RGBA16_EXT: 0x805B;\n    readonly R16_SNORM_EXT: 0x8F98;\n    readonly RG16_SNORM_EXT: 0x8F99;\n    readonly RGB16_SNORM_EXT: 0x8F9A;\n    readonly RGBA16_SNORM_EXT: 0x8F9B;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n    readonly colno: number;\n    readonly error: any;\n    readonly filename: string;\n    readonly lineno: number;\n    readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n    prototype: ErrorEvent;\n    new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n    /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */\n    readonly bubbles: boolean;\n    /** @deprecated */\n    cancelBubble: boolean;\n    /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */\n    readonly cancelable: boolean;\n    /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */\n    readonly composed: boolean;\n    /** Returns the object whose event listener's callback is currently being invoked. */\n    readonly currentTarget: EventTarget | null;\n    /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */\n    readonly defaultPrevented: boolean;\n    /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */\n    readonly eventPhase: number;\n    /** Returns true if event was dispatched by the user agent, and false otherwise. */\n    readonly isTrusted: boolean;\n    /** @deprecated */\n    returnValue: boolean;\n    /** @deprecated */\n    readonly srcElement: EventTarget | null;\n    /** Returns the object to which event is dispatched (its target). */\n    readonly target: EventTarget | null;\n    /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */\n    readonly timeStamp: DOMHighResTimeStamp;\n    /** Returns the type of event, e.g. \"click\", \"hashchange\", or \"submit\". */\n    readonly type: string;\n    /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is \"closed\" that are not reachable from event's currentTarget. */\n    composedPath(): EventTarget[];\n    /** @deprecated */\n    initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n    /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */\n    preventDefault(): void;\n    /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */\n    stopImmediatePropagation(): void;\n    /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */\n    stopPropagation(): void;\n    readonly NONE: 0;\n    readonly CAPTURING_PHASE: 1;\n    readonly AT_TARGET: 2;\n    readonly BUBBLING_PHASE: 3;\n}\n\ndeclare var Event: {\n    prototype: Event;\n    new(type: string, eventInitDict?: EventInit): Event;\n    readonly NONE: 0;\n    readonly CAPTURING_PHASE: 1;\n    readonly AT_TARGET: 2;\n    readonly BUBBLING_PHASE: 3;\n};\n\ninterface EventListener {\n    (evt: Event): void;\n}\n\ninterface EventListenerObject {\n    handleEvent(object: Event): void;\n}\n\ninterface EventSourceEventMap {\n    \"error\": Event;\n    \"message\": MessageEvent;\n    \"open\": Event;\n}\n\ninterface EventSource extends EventTarget {\n    onerror: ((this: EventSource, ev: Event) => any) | null;\n    onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n    onopen: ((this: EventSource, ev: Event) => any) | null;\n    /** Returns the state of this EventSource object's connection. It can have the values described below. */\n    readonly readyState: number;\n    /** Returns the URL providing the event stream. */\n    readonly url: string;\n    /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to \"include\", and false otherwise. */\n    readonly withCredentials: boolean;\n    /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */\n    close(): void;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSED: 2;\n    addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n    prototype: EventSource;\n    new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSED: 2;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n    /**\n     * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.\n     *\n     * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.\n     *\n     * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.\n     *\n     * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in \\xA7 2.8 Observing event listeners.\n     *\n     * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.\n     *\n     * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.\n     *\n     * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.\n     */\n    addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n    /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */\n    dispatchEvent(event: Event): boolean;\n    /** Removes the event listener in target's event listener list with the same type, callback, and options. */\n    removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n    prototype: EventTarget;\n    new(): EventTarget;\n};\n\n/** Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries. */\ninterface ExtendableEvent extends Event {\n    waitUntil(f: Promise<any>): void;\n}\n\ndeclare var ExtendableEvent: {\n    prototype: ExtendableEvent;\n    new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent;\n};\n\n/** This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) \\u2014 extends the lifetime of such events. */\ninterface ExtendableMessageEvent extends ExtendableEvent {\n    readonly data: any;\n    readonly lastEventId: string;\n    readonly origin: string;\n    readonly ports: ReadonlyArray<MessagePort>;\n    readonly source: Client | ServiceWorker | MessagePort | null;\n}\n\ndeclare var ExtendableMessageEvent: {\n    prototype: ExtendableMessageEvent;\n    new(type: string, eventInitDict?: ExtendableMessageEventInit): ExtendableMessageEvent;\n};\n\n/** This is the event type for fetch\\xA0events dispatched on the\\xA0service worker global scope. It contains information about the fetch, including the\\xA0request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */\ninterface FetchEvent extends ExtendableEvent {\n    readonly clientId: string;\n    readonly handled: Promise<undefined>;\n    readonly preloadResponse: Promise<any>;\n    readonly request: Request;\n    readonly resultingClientId: string;\n    respondWith(r: Response | PromiseLike<Response>): void;\n}\n\ndeclare var FetchEvent: {\n    prototype: FetchEvent;\n    new(type: string, eventInitDict: FetchEventInit): FetchEvent;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n    readonly lastModified: number;\n    readonly name: string;\n    readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n    prototype: File;\n    new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type=\"file\"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */\ninterface FileList {\n    readonly length: number;\n    item(index: number): File | null;\n    [index: number]: File;\n}\n\ndeclare var FileList: {\n    prototype: FileList;\n    new(): FileList;\n};\n\ninterface FileReaderEventMap {\n    \"abort\": ProgressEvent<FileReader>;\n    \"error\": ProgressEvent<FileReader>;\n    \"load\": ProgressEvent<FileReader>;\n    \"loadend\": ProgressEvent<FileReader>;\n    \"loadstart\": ProgressEvent<FileReader>;\n    \"progress\": ProgressEvent<FileReader>;\n}\n\n/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */\ninterface FileReader extends EventTarget {\n    readonly error: DOMException | null;\n    onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n    readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;\n    readonly result: string | ArrayBuffer | null;\n    abort(): void;\n    readAsArrayBuffer(blob: Blob): void;\n    readAsBinaryString(blob: Blob): void;\n    readAsDataURL(blob: Blob): void;\n    readAsText(blob: Blob, encoding?: string): void;\n    readonly EMPTY: 0;\n    readonly LOADING: 1;\n    readonly DONE: 2;\n    addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n    prototype: FileReader;\n    new(): FileReader;\n    readonly EMPTY: 0;\n    readonly LOADING: 1;\n    readonly DONE: 2;\n};\n\n/** Allows to read File or Blob objects in a synchronous way. */\ninterface FileReaderSync {\n    readAsArrayBuffer(blob: Blob): ArrayBuffer;\n    /** @deprecated */\n    readAsBinaryString(blob: Blob): string;\n    readAsDataURL(blob: Blob): string;\n    readAsText(blob: Blob, encoding?: string): string;\n}\n\ndeclare var FileReaderSync: {\n    prototype: FileReaderSync;\n    new(): FileReaderSync;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemDirectoryHandle extends FileSystemHandle {\n    readonly kind: \"directory\";\n    getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;\n    getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;\n    removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;\n    resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;\n}\n\ndeclare var FileSystemDirectoryHandle: {\n    prototype: FileSystemDirectoryHandle;\n    new(): FileSystemDirectoryHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemFileHandle extends FileSystemHandle {\n    readonly kind: \"file\";\n    createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>;\n    getFile(): Promise<File>;\n}\n\ndeclare var FileSystemFileHandle: {\n    prototype: FileSystemFileHandle;\n    new(): FileSystemFileHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemHandle {\n    readonly kind: FileSystemHandleKind;\n    readonly name: string;\n    isSameEntry(other: FileSystemHandle): Promise<boolean>;\n}\n\ndeclare var FileSystemHandle: {\n    prototype: FileSystemHandle;\n    new(): FileSystemHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemSyncAccessHandle {\n    close(): void;\n    flush(): void;\n    getSize(): number;\n    read(buffer: BufferSource, options?: FileSystemReadWriteOptions): number;\n    truncate(newSize: number): void;\n    write(buffer: BufferSource, options?: FileSystemReadWriteOptions): number;\n}\n\ndeclare var FileSystemSyncAccessHandle: {\n    prototype: FileSystemSyncAccessHandle;\n    new(): FileSystemSyncAccessHandle;\n};\n\ninterface FontFace {\n    ascentOverride: string;\n    descentOverride: string;\n    display: FontDisplay;\n    family: string;\n    featureSettings: string;\n    lineGapOverride: string;\n    readonly loaded: Promise<FontFace>;\n    readonly status: FontFaceLoadStatus;\n    stretch: string;\n    style: string;\n    unicodeRange: string;\n    variant: string;\n    weight: string;\n    load(): Promise<FontFace>;\n}\n\ndeclare var FontFace: {\n    prototype: FontFace;\n    new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n    \"loading\": Event;\n    \"loadingdone\": Event;\n    \"loadingerror\": Event;\n}\n\ninterface FontFaceSet extends EventTarget {\n    onloading: ((this: FontFaceSet, ev: Event) => any) | null;\n    onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;\n    onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;\n    readonly ready: Promise<FontFaceSet>;\n    readonly status: FontFaceSetLoadStatus;\n    check(font: string, text?: string): boolean;\n    load(font: string, text?: string): Promise<FontFace[]>;\n    forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;\n    addEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof FontFaceSetEventMap>(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FontFaceSet: {\n    prototype: FontFaceSet;\n    new(initialFaces: FontFace[]): FontFaceSet;\n};\n\ninterface FontFaceSetLoadEvent extends Event {\n    readonly fontfaces: ReadonlyArray<FontFace>;\n}\n\ndeclare var FontFaceSetLoadEvent: {\n    prototype: FontFaceSetLoadEvent;\n    new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent;\n};\n\ninterface FontFaceSource {\n    readonly fonts: FontFaceSet;\n}\n\n/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to \"multipart/form-data\". */\ninterface FormData {\n    append(name: string, value: string | Blob, fileName?: string): void;\n    delete(name: string): void;\n    get(name: string): FormDataEntryValue | null;\n    getAll(name: string): FormDataEntryValue[];\n    has(name: string): boolean;\n    set(name: string, value: string | Blob, fileName?: string): void;\n    forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n    prototype: FormData;\n    new(): FormData;\n};\n\ninterface GenericTransformStream {\n    readonly readable: ReadableStream;\n    readonly writable: WritableStream;\n}\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists\\xA0of zero or more name and value pairs. \\xA0You can add to this using methods like append() (see Examples.)\\xA0In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n    append(name: string, value: string): void;\n    delete(name: string): void;\n    get(name: string): string | null;\n    has(name: string): boolean;\n    set(name: string, value: string): void;\n    forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n    prototype: Headers;\n    new(init?: HeadersInit): Headers;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n    /** Returns the direction (\"next\", \"nextunique\", \"prev\" or \"prevunique\") of the cursor. */\n    readonly direction: IDBCursorDirection;\n    /** Returns the key of the cursor. Throws a \"InvalidStateError\" DOMException if the cursor is advancing or is finished. */\n    readonly key: IDBValidKey;\n    /** Returns the effective key of the cursor. Throws a \"InvalidStateError\" DOMException if the cursor is advancing or is finished. */\n    readonly primaryKey: IDBValidKey;\n    readonly request: IDBRequest;\n    /** Returns the IDBObjectStore or IDBIndex the cursor was opened from. */\n    readonly source: IDBObjectStore | IDBIndex;\n    /** Advances the cursor through the next count records in range. */\n    advance(count: number): void;\n    /** Advances the cursor to the next record in range. */\n    continue(key?: IDBValidKey): void;\n    /** Advances the cursor to the next record in range matching or after key and primaryKey. Throws an \"InvalidAccessError\" DOMException if the source is not an index. */\n    continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n    /**\n     * Delete the record pointed at by the cursor with a new value.\n     *\n     * If successful, request's result will be undefined.\n     */\n    delete(): IDBRequest<undefined>;\n    /**\n     * Updated the record pointed at by the cursor with a new value.\n     *\n     * Throws a \"DataError\" DOMException if the effective object store uses in-line keys and the key would have changed.\n     *\n     * If successful, request's result will be the record's key.\n     */\n    update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n    prototype: IDBCursor;\n    new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n    /** Returns the cursor's current value. */\n    readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n    prototype: IDBCursorWithValue;\n    new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n    \"abort\": Event;\n    \"close\": Event;\n    \"error\": Event;\n    \"versionchange\": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n    /** Returns the name of the database. */\n    readonly name: string;\n    /** Returns a list of the names of object stores in the database. */\n    readonly objectStoreNames: DOMStringList;\n    onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n    onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n    onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n    onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n    /** Returns the version of the database. */\n    readonly version: number;\n    /** Closes the connection once all running transactions have finished. */\n    close(): void;\n    /**\n     * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n     *\n     * Throws a \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;\n    /**\n     * Deletes the object store with the given name.\n     *\n     * Throws a \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    deleteObjectStore(name: string): void;\n    /** Returns a new transaction with the given mode (\"readonly\" or \"readwrite\") and scope which can be a single object store name or an array of names. */\n    transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;\n    addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n    prototype: IDBDatabase;\n    new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n    /**\n     * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n     *\n     * Throws a \"DataError\" DOMException if either input is not a valid key.\n     */\n    cmp(first: any, second: any): number;\n    databases(): Promise<IDBDatabaseInfo[]>;\n    /** Attempts to delete the named database. If the database already exists and there are open connections that don't close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request's result will be null. */\n    deleteDatabase(name: string): IDBOpenDBRequest;\n    /** Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection. */\n    open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n    prototype: IDBFactory;\n    new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n    readonly keyPath: string | string[];\n    readonly multiEntry: boolean;\n    /** Returns the name of the index. */\n    name: string;\n    /** Returns the IDBObjectStore the index belongs to. */\n    readonly objectStore: IDBObjectStore;\n    readonly unique: boolean;\n    /**\n     * Retrieves the number of records matching the given key or key range in query.\n     *\n     * If successful, request's result will be the count.\n     */\n    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n    /**\n     * Retrieves the value of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the value, or undefined if there was no matching record.\n     */\n    get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n    /**\n     * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the values.\n     */\n    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n    /**\n     * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the keys.\n     */\n    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n    /**\n     * Retrieves the key of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the key, or undefined if there was no matching record.\n     */\n    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n    /**\n     * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n     *\n     * If successful, request's result will be an IDBCursorWithValue, or null if there were no matching records.\n     */\n    openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n    /**\n     * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n     *\n     * If successful, request's result will be an IDBCursor, or null if there were no matching records.\n     */\n    openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n    prototype: IDBIndex;\n    new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n    /** Returns lower bound, or undefined if none. */\n    readonly lower: any;\n    /** Returns true if the lower open flag is set, and false otherwise. */\n    readonly lowerOpen: boolean;\n    /** Returns upper bound, or undefined if none. */\n    readonly upper: any;\n    /** Returns true if the upper open flag is set, and false otherwise. */\n    readonly upperOpen: boolean;\n    /** Returns true if key is included in the range, and false otherwise. */\n    includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n    prototype: IDBKeyRange;\n    new(): IDBKeyRange;\n    /** Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range. */\n    bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n    /** Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range. */\n    lowerBound(lower: any, open?: boolean): IDBKeyRange;\n    /** Returns a new IDBKeyRange spanning only key. */\n    only(value: any): IDBKeyRange;\n    /** Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range. */\n    upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex\\xA0inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our\\xA0To-do Notifications\\xA0app (view example live.) */\ninterface IDBObjectStore {\n    /** Returns true if the store has a key generator, and false otherwise. */\n    readonly autoIncrement: boolean;\n    /** Returns a list of the names of indexes in the store. */\n    readonly indexNames: DOMStringList;\n    /** Returns the key path of the store, or null if none. */\n    readonly keyPath: string | string[];\n    /** Returns the name of the store. */\n    name: string;\n    /** Returns the associated transaction. */\n    readonly transaction: IDBTransaction;\n    /**\n     * Adds or updates a record in store with the given value and key.\n     *\n     * If the store uses in-line keys and key is specified a \"DataError\" DOMException will be thrown.\n     *\n     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a \"ConstraintError\" DOMException.\n     *\n     * If successful, request's result will be the record's key.\n     */\n    add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n    /**\n     * Deletes all records in store.\n     *\n     * If successful, request's result will be undefined.\n     */\n    clear(): IDBRequest<undefined>;\n    /**\n     * Retrieves the number of records matching the given key or key range in query.\n     *\n     * If successful, request's result will be the count.\n     */\n    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n    /**\n     * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a \"ConstraintError\" DOMException.\n     *\n     * Throws an \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n    /**\n     * Deletes records in store with the given key or in the given key range in query.\n     *\n     * If successful, request's result will be undefined.\n     */\n    delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n    /**\n     * Deletes the index in store with the given name.\n     *\n     * Throws an \"InvalidStateError\" DOMException if not called within an upgrade transaction.\n     */\n    deleteIndex(name: string): void;\n    /**\n     * Retrieves the value of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the value, or undefined if there was no matching record.\n     */\n    get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n    /**\n     * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the values.\n     */\n    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n    /**\n     * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n     *\n     * If successful, request's result will be an Array of the keys.\n     */\n    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n    /**\n     * Retrieves the key of the first record matching the given key or key range in query.\n     *\n     * If successful, request's result will be the key, or undefined if there was no matching record.\n     */\n    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n    index(name: string): IDBIndex;\n    /**\n     * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n     *\n     * If successful, request's result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n     */\n    openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n    /**\n     * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n     *\n     * If successful, request's result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n     */\n    openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n    /**\n     * Adds or updates a record in store with the given value and key.\n     *\n     * If the store uses in-line keys and key is specified a \"DataError\" DOMException will be thrown.\n     *\n     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a \"ConstraintError\" DOMException.\n     *\n     * If successful, request's result will be the record's key.\n     */\n    put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n    prototype: IDBObjectStore;\n    new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n    \"blocked\": IDBVersionChangeEvent;\n    \"upgradeneeded\": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n    onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n    onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n    addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n    prototype: IDBOpenDBRequest;\n    new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n    \"error\": Event;\n    \"success\": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n    /** When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a \"InvalidStateError\" DOMException if the request is still pending. */\n    readonly error: DOMException | null;\n    onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n    onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n    /** Returns \"pending\" until a request is complete, then returns \"done\". */\n    readonly readyState: IDBRequestReadyState;\n    /** When a request is completed, returns the result, or undefined if the request failed. Throws a \"InvalidStateError\" DOMException if the request is still pending. */\n    readonly result: T;\n    /** Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request. */\n    readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n    /** Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise. */\n    readonly transaction: IDBTransaction | null;\n    addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n    prototype: IDBRequest;\n    new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n    \"abort\": Event;\n    \"complete\": Event;\n    \"error\": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n    /** Returns the transaction's connection. */\n    readonly db: IDBDatabase;\n    readonly durability: IDBTransactionDurability;\n    /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */\n    readonly error: DOMException | null;\n    /** Returns the mode the transaction was created with (\"readonly\" or \"readwrite\"), or \"versionchange\" for an upgrade transaction. */\n    readonly mode: IDBTransactionMode;\n    /** Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. */\n    readonly objectStoreNames: DOMStringList;\n    onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n    oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n    onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n    /** Aborts the transaction. All pending requests will fail with a \"AbortError\" DOMException and all changes made to the database will be reverted. */\n    abort(): void;\n    commit(): void;\n    /** Returns an IDBObjectStore in the transaction's scope. */\n    objectStore(name: string): IDBObjectStore;\n    addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n    prototype: IDBTransaction;\n    new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n    readonly newVersion: number | null;\n    readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n    prototype: IDBVersionChangeEvent;\n    new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\ninterface ImageBitmap {\n    /** Returns the intrinsic height of the image, in CSS pixels. */\n    readonly height: number;\n    /** Returns the intrinsic width of the image, in CSS pixels. */\n    readonly width: number;\n    /** Releases imageBitmap's underlying bitmap data. */\n    close(): void;\n}\n\ndeclare var ImageBitmap: {\n    prototype: ImageBitmap;\n    new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n    /** Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. */\n    transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n    prototype: ImageBitmapRenderingContext;\n    new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n    readonly colorSpace: PredefinedColorSpace;\n    /** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */\n    readonly data: Uint8ClampedArray;\n    /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\n    readonly height: number;\n    /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\n    readonly width: number;\n}\n\ndeclare var ImageData: {\n    prototype: ImageData;\n    new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n    new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;\n};\n\ninterface KHR_parallel_shader_compile {\n    readonly COMPLETION_STATUS_KHR: 0x91B1;\n}\n\n/** Available only in secure contexts. */\ninterface Lock {\n    readonly mode: LockMode;\n    readonly name: string;\n}\n\ndeclare var Lock: {\n    prototype: Lock;\n    new(): Lock;\n};\n\n/** Available only in secure contexts. */\ninterface LockManager {\n    query(): Promise<LockManagerSnapshot>;\n    request(name: string, callback: LockGrantedCallback): Promise<any>;\n    request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;\n}\n\ndeclare var LockManager: {\n    prototype: LockManager;\n    new(): LockManager;\n};\n\ninterface MediaCapabilities {\n    decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;\n    encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;\n}\n\ndeclare var MediaCapabilities: {\n    prototype: MediaCapabilities;\n    new(): MediaCapabilities;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n    /** Returns the first MessagePort object. */\n    readonly port1: MessagePort;\n    /** Returns the second MessagePort object. */\n    readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n    prototype: MessageChannel;\n    new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n    /** Returns the data of the message. */\n    readonly data: T;\n    /** Returns the last event ID string, for server-sent events. */\n    readonly lastEventId: string;\n    /** Returns the origin of the message, for server-sent events and cross-document messaging. */\n    readonly origin: string;\n    /** Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging. */\n    readonly ports: ReadonlyArray<MessagePort>;\n    /** Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects. */\n    readonly source: MessageEventSource | null;\n    /** @deprecated */\n    initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;\n}\n\ndeclare var MessageEvent: {\n    prototype: MessageEvent;\n    new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n    onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n    /** Disconnects the port, so that it is no longer active. */\n    close(): void;\n    /**\n     * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n     *\n     * Throws a \"DataCloneError\" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n     */\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    /** Begins dispatching messages received on the port. */\n    start(): void;\n    addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n    prototype: MessagePort;\n    new(): MessagePort;\n};\n\n/** Available only in secure contexts. */\ninterface NavigationPreloadManager {\n    disable(): Promise<void>;\n    enable(): Promise<void>;\n    getState(): Promise<NavigationPreloadState>;\n    setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n    prototype: NavigationPreloadManager;\n    new(): NavigationPreloadManager;\n};\n\ninterface NavigatorConcurrentHardware {\n    readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorID {\n    /** @deprecated */\n    readonly appCodeName: string;\n    /** @deprecated */\n    readonly appName: string;\n    /** @deprecated */\n    readonly appVersion: string;\n    /** @deprecated */\n    readonly platform: string;\n    /** @deprecated */\n    readonly product: string;\n    readonly userAgent: string;\n}\n\ninterface NavigatorLanguage {\n    readonly language: string;\n    readonly languages: ReadonlyArray<string>;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorLocks {\n    readonly locks: LockManager;\n}\n\ninterface NavigatorOnLine {\n    readonly onLine: boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorStorage {\n    readonly storage: StorageManager;\n}\n\ninterface NotificationEventMap {\n    \"click\": Event;\n    \"close\": Event;\n    \"error\": Event;\n    \"show\": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n    readonly body: string;\n    readonly data: any;\n    readonly dir: NotificationDirection;\n    readonly icon: string;\n    readonly lang: string;\n    onclick: ((this: Notification, ev: Event) => any) | null;\n    onclose: ((this: Notification, ev: Event) => any) | null;\n    onerror: ((this: Notification, ev: Event) => any) | null;\n    onshow: ((this: Notification, ev: Event) => any) | null;\n    readonly tag: string;\n    readonly title: string;\n    close(): void;\n    addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n    prototype: Notification;\n    new(title: string, options?: NotificationOptions): Notification;\n    readonly permission: NotificationPermission;\n};\n\n/** The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. */\ninterface NotificationEvent extends ExtendableEvent {\n    readonly action: string;\n    readonly notification: Notification;\n}\n\ndeclare var NotificationEvent: {\n    prototype: NotificationEvent;\n    new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;\n};\n\ninterface OES_draw_buffers_indexed {\n    blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;\n    blendEquationiOES(buf: GLuint, mode: GLenum): void;\n    blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n    blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;\n    colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;\n    disableiOES(target: GLenum, index: GLuint): void;\n    enableiOES(target: GLenum, index: GLuint): void;\n}\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\ninterface OES_fbo_render_mipmap {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: 0x8B8B;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n    readonly HALF_FLOAT_OES: 0x8D61;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n    bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n    createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n    deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n    isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n    readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;\n}\n\ninterface OVR_multiview2 {\n    framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: 0x9630;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: 0x9632;\n    readonly MAX_VIEWS_OVR: 0x9631;\n    readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: 0x9633;\n}\n\ninterface OffscreenCanvasEventMap {\n    \"contextlost\": Event;\n    \"contextrestored\": Event;\n}\n\ninterface OffscreenCanvas extends EventTarget {\n    /**\n     * These attributes return the dimensions of the OffscreenCanvas object's bitmap.\n     *\n     * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n     */\n    height: number;\n    oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;\n    oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;\n    /**\n     * These attributes return the dimensions of the OffscreenCanvas object's bitmap.\n     *\n     * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n     */\n    width: number;\n    /**\n     * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n     *\n     * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of \"image/png\"; that type is also used if the requested type isn't supported. If the image format supports variable quality (such as \"image/jpeg\"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n     */\n    convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n    /**\n     * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: \"2d\", \"bitmaprenderer\", \"webgl\", or \"webgl2\". options is handled by that API.\n     *\n     * This specification defines the \"2d\" context below, which is similar but distinct from the \"2d\" context that is created from a canvas element. The WebGL specifications define the \"webgl\" and \"webgl2\" contexts. [WEBGL]\n     *\n     * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a \"2d\" context after getting a \"webgl\" context).\n     */\n    getContext(contextId: \"2d\", options?: any): OffscreenCanvasRenderingContext2D | null;\n    getContext(contextId: \"bitmaprenderer\", options?: any): ImageBitmapRenderingContext | null;\n    getContext(contextId: \"webgl\", options?: any): WebGLRenderingContext | null;\n    getContext(contextId: \"webgl2\", options?: any): WebGL2RenderingContext | null;\n    getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n    /** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */\n    transferToImageBitmap(): ImageBitmap;\n    addEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OffscreenCanvas: {\n    prototype: OffscreenCanvas;\n    new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n    readonly canvas: OffscreenCanvas;\n    commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n    prototype: OffscreenCanvasRenderingContext2D;\n    new(): OffscreenCanvasRenderingContext2D;\n};\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n    /** Adds to the path the path given by the argument. */\n    addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n    prototype: Path2D;\n    new(path?: Path2D | string): Path2D;\n};\n\ninterface PerformanceEventMap {\n    \"resourcetimingbufferfull\": Event;\n}\n\n/** Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n    onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n    readonly timeOrigin: DOMHighResTimeStamp;\n    clearMarks(markName?: string): void;\n    clearMeasures(measureName?: string): void;\n    clearResourceTimings(): void;\n    getEntries(): PerformanceEntryList;\n    getEntriesByName(name: string, type?: string): PerformanceEntryList;\n    getEntriesByType(type: string): PerformanceEntryList;\n    mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n    measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;\n    now(): DOMHighResTimeStamp;\n    setResourceTimingBufferSize(maxSize: number): void;\n    toJSON(): any;\n    addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n    prototype: Performance;\n    new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n    readonly duration: DOMHighResTimeStamp;\n    readonly entryType: string;\n    readonly name: string;\n    readonly startTime: DOMHighResTimeStamp;\n    toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n    prototype: PerformanceEntry;\n    new(): PerformanceEntry;\n};\n\n/** PerformanceMark\\xA0is an abstract interface for PerformanceEntry objects with an entryType of \"mark\". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n    readonly detail: any;\n}\n\ndeclare var PerformanceMark: {\n    prototype: PerformanceMark;\n    new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of \"measure\". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n    readonly detail: any;\n}\n\ndeclare var PerformanceMeasure: {\n    prototype: PerformanceMeasure;\n    new(): PerformanceMeasure;\n};\n\ninterface PerformanceObserver {\n    disconnect(): void;\n    observe(options?: PerformanceObserverInit): void;\n    takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n    prototype: PerformanceObserver;\n    new(callback: PerformanceObserverCallback): PerformanceObserver;\n    readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n    getEntries(): PerformanceEntryList;\n    getEntriesByName(name: string, type?: string): PerformanceEntryList;\n    getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n    prototype: PerformanceObserverEntryList;\n    new(): PerformanceObserverEntryList;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n    readonly connectEnd: DOMHighResTimeStamp;\n    readonly connectStart: DOMHighResTimeStamp;\n    readonly decodedBodySize: number;\n    readonly domainLookupEnd: DOMHighResTimeStamp;\n    readonly domainLookupStart: DOMHighResTimeStamp;\n    readonly encodedBodySize: number;\n    readonly fetchStart: DOMHighResTimeStamp;\n    readonly initiatorType: string;\n    readonly nextHopProtocol: string;\n    readonly redirectEnd: DOMHighResTimeStamp;\n    readonly redirectStart: DOMHighResTimeStamp;\n    readonly requestStart: DOMHighResTimeStamp;\n    readonly responseEnd: DOMHighResTimeStamp;\n    readonly responseStart: DOMHighResTimeStamp;\n    readonly secureConnectionStart: DOMHighResTimeStamp;\n    readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;\n    readonly transferSize: number;\n    readonly workerStart: DOMHighResTimeStamp;\n    toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n    prototype: PerformanceResourceTiming;\n    new(): PerformanceResourceTiming;\n};\n\ninterface PerformanceServerTiming {\n    readonly description: string;\n    readonly duration: DOMHighResTimeStamp;\n    readonly name: string;\n    toJSON(): any;\n}\n\ndeclare var PerformanceServerTiming: {\n    prototype: PerformanceServerTiming;\n    new(): PerformanceServerTiming;\n};\n\ninterface PermissionStatusEventMap {\n    \"change\": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n    readonly name: string;\n    onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n    readonly state: PermissionState;\n    addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n    prototype: PermissionStatus;\n    new(): PermissionStatus;\n};\n\ninterface Permissions {\n    query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n    prototype: Permissions;\n    new(): Permissions;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n    readonly lengthComputable: boolean;\n    readonly loaded: number;\n    readonly target: T | null;\n    readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n    prototype: ProgressEvent;\n    new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n    readonly promise: Promise<any>;\n    readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n    prototype: PromiseRejectionEvent;\n    new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/**\n * This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription.\n * Available only in secure contexts.\n */\ninterface PushEvent extends ExtendableEvent {\n    readonly data: PushMessageData | null;\n}\n\ndeclare var PushEvent: {\n    prototype: PushEvent;\n    new(type: string, eventInitDict?: PushEventInit): PushEvent;\n};\n\n/**\n * This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications.\n * Available only in secure contexts.\n */\ninterface PushManager {\n    getSubscription(): Promise<PushSubscription | null>;\n    permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;\n    subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n    prototype: PushManager;\n    new(): PushManager;\n    readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/**\n * This Push API interface provides methods which let you retrieve the push data sent by a server in various formats.\n * Available only in secure contexts.\n */\ninterface PushMessageData {\n    arrayBuffer(): ArrayBuffer;\n    blob(): Blob;\n    json(): any;\n    text(): string;\n}\n\ndeclare var PushMessageData: {\n    prototype: PushMessageData;\n    new(): PushMessageData;\n};\n\n/**\n * This Push API interface provides a subcription's URL endpoint and allows unsubscription from a push service.\n * Available only in secure contexts.\n */\ninterface PushSubscription {\n    readonly endpoint: string;\n    readonly expirationTime: EpochTimeStamp | null;\n    readonly options: PushSubscriptionOptions;\n    getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n    toJSON(): PushSubscriptionJSON;\n    unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n    prototype: PushSubscription;\n    new(): PushSubscription;\n};\n\n/** Available only in secure contexts. */\ninterface PushSubscriptionOptions {\n    readonly applicationServerKey: ArrayBuffer | null;\n    readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n    prototype: PushSubscriptionOptions;\n    new(): PushSubscriptionOptions;\n};\n\ninterface RTCEncodedAudioFrame {\n    data: ArrayBuffer;\n    readonly timestamp: number;\n    getMetadata(): RTCEncodedAudioFrameMetadata;\n}\n\ndeclare var RTCEncodedAudioFrame: {\n    prototype: RTCEncodedAudioFrame;\n    new(): RTCEncodedAudioFrame;\n};\n\ninterface RTCEncodedVideoFrame {\n    data: ArrayBuffer;\n    readonly timestamp: number;\n    readonly type: RTCEncodedVideoFrameType;\n    getMetadata(): RTCEncodedVideoFrameMetadata;\n}\n\ndeclare var RTCEncodedVideoFrame: {\n    prototype: RTCEncodedVideoFrame;\n    new(): RTCEncodedVideoFrame;\n};\n\ninterface ReadableByteStreamController {\n    readonly byobRequest: ReadableStreamBYOBRequest | null;\n    readonly desiredSize: number | null;\n    close(): void;\n    enqueue(chunk: ArrayBufferView): void;\n    error(e?: any): void;\n}\n\ndeclare var ReadableByteStreamController: {\n    prototype: ReadableByteStreamController;\n    new(): ReadableByteStreamController;\n};\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n    readonly locked: boolean;\n    cancel(reason?: any): Promise<void>;\n    getReader(options: { mode: \"byob\" }): ReadableStreamBYOBReader;\n    getReader(): ReadableStreamDefaultReader<R>;\n    getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;\n    pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;\n    pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;\n    tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n    prototype: ReadableStream;\n    new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;\n    new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n    new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader extends ReadableStreamGenericReader {\n    read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n    releaseLock(): void;\n}\n\ndeclare var ReadableStreamBYOBReader: {\n    prototype: ReadableStreamBYOBReader;\n    new(stream: ReadableStream): ReadableStreamBYOBReader;\n};\n\ninterface ReadableStreamBYOBRequest {\n    readonly view: ArrayBufferView | null;\n    respond(bytesWritten: number): void;\n    respondWithNewView(view: ArrayBufferView): void;\n}\n\ndeclare var ReadableStreamBYOBRequest: {\n    prototype: ReadableStreamBYOBRequest;\n    new(): ReadableStreamBYOBRequest;\n};\n\ninterface ReadableStreamDefaultController<R = any> {\n    readonly desiredSize: number | null;\n    close(): void;\n    enqueue(chunk?: R): void;\n    error(e?: any): void;\n}\n\ndeclare var ReadableStreamDefaultController: {\n    prototype: ReadableStreamDefaultController;\n    new(): ReadableStreamDefaultController;\n};\n\ninterface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {\n    read(): Promise<ReadableStreamReadResult<R>>;\n    releaseLock(): void;\n}\n\ndeclare var ReadableStreamDefaultReader: {\n    prototype: ReadableStreamDefaultReader;\n    new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;\n};\n\ninterface ReadableStreamGenericReader {\n    readonly closed: Promise<undefined>;\n    cancel(reason?: any): Promise<void>;\n}\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n    /** Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching. */\n    readonly cache: RequestCache;\n    /** Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. */\n    readonly credentials: RequestCredentials;\n    /** Returns the kind of resource requested by request, e.g., \"document\" or \"script\". */\n    readonly destination: RequestDestination;\n    /** Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the \"Host\" header. */\n    readonly headers: Headers;\n    /** Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI] */\n    readonly integrity: string;\n    /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */\n    readonly keepalive: boolean;\n    /** Returns request's HTTP method, which is \"GET\" by default. */\n    readonly method: string;\n    /** Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs. */\n    readonly mode: RequestMode;\n    /** Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default. */\n    readonly redirect: RequestRedirect;\n    /** Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and \"about:client\" when defaulting to the global's default. This is used during fetching to determine the value of the \\`Referer\\` header of the request being made. */\n    readonly referrer: string;\n    /** Returns the referrer policy associated with request. This is used during fetching to compute the value of the request's referrer. */\n    readonly referrerPolicy: ReferrerPolicy;\n    /** Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler. */\n    readonly signal: AbortSignal;\n    /** Returns the URL of request as a string. */\n    readonly url: string;\n    clone(): Request;\n}\n\ndeclare var Request: {\n    prototype: Request;\n    new(input: RequestInfo | URL, init?: RequestInit): Request;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n    readonly headers: Headers;\n    readonly ok: boolean;\n    readonly redirected: boolean;\n    readonly status: number;\n    readonly statusText: string;\n    readonly type: ResponseType;\n    readonly url: string;\n    clone(): Response;\n}\n\ndeclare var Response: {\n    prototype: Response;\n    new(body?: BodyInit | null, init?: ResponseInit): Response;\n    error(): Response;\n    redirect(url: string | URL, status?: number): Response;\n};\n\n/** Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated. */\ninterface SecurityPolicyViolationEvent extends Event {\n    readonly blockedURI: string;\n    readonly columnNumber: number;\n    readonly disposition: SecurityPolicyViolationEventDisposition;\n    readonly documentURI: string;\n    readonly effectiveDirective: string;\n    readonly lineNumber: number;\n    readonly originalPolicy: string;\n    readonly referrer: string;\n    readonly sample: string;\n    readonly sourceFile: string;\n    readonly statusCode: number;\n    readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n    prototype: SecurityPolicyViolationEvent;\n    new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n    \"statechange\": Event;\n}\n\n/**\n * This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object.\n * Available only in secure contexts.\n */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n    onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n    readonly scriptURL: string;\n    readonly state: ServiceWorkerState;\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n    prototype: ServiceWorker;\n    new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n    \"controllerchange\": Event;\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/**\n * The\\xA0ServiceWorkerContainer\\xA0interface of the\\xA0ServiceWorker API\\xA0provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.\n * Available only in secure contexts.\n */\ninterface ServiceWorkerContainer extends EventTarget {\n    readonly controller: ServiceWorker | null;\n    oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n    onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n    readonly ready: Promise<ServiceWorkerRegistration>;\n    getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;\n    getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n    register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n    startMessages(): void;\n    addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n    prototype: ServiceWorkerContainer;\n    new(): ServiceWorkerContainer;\n};\n\ninterface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n    \"activate\": ExtendableEvent;\n    \"fetch\": FetchEvent;\n    \"install\": ExtendableEvent;\n    \"message\": ExtendableMessageEvent;\n    \"messageerror\": MessageEvent;\n    \"notificationclick\": NotificationEvent;\n    \"notificationclose\": NotificationEvent;\n    \"push\": PushEvent;\n    \"pushsubscriptionchange\": Event;\n}\n\n/** This ServiceWorker API interface represents the global execution context of a service worker. */\ninterface ServiceWorkerGlobalScope extends WorkerGlobalScope {\n    readonly clients: Clients;\n    onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n    onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;\n    oninstall: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n    onmessage: ((this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any) | null;\n    onmessageerror: ((this: ServiceWorkerGlobalScope, ev: MessageEvent) => any) | null;\n    onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n    onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n    onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;\n    onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;\n    readonly registration: ServiceWorkerRegistration;\n    readonly serviceWorker: ServiceWorker;\n    skipWaiting(): Promise<void>;\n    addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerGlobalScope: {\n    prototype: ServiceWorkerGlobalScope;\n    new(): ServiceWorkerGlobalScope;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n    \"updatefound\": Event;\n}\n\n/**\n * This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin.\n * Available only in secure contexts.\n */\ninterface ServiceWorkerRegistration extends EventTarget {\n    readonly active: ServiceWorker | null;\n    readonly installing: ServiceWorker | null;\n    readonly navigationPreload: NavigationPreloadManager;\n    onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n    readonly pushManager: PushManager;\n    readonly scope: string;\n    readonly updateViaCache: ServiceWorkerUpdateViaCache;\n    readonly waiting: ServiceWorker | null;\n    getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n    showNotification(title: string, options?: NotificationOptions): Promise<void>;\n    unregister(): Promise<boolean>;\n    update(): Promise<void>;\n    addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n    prototype: ServiceWorkerRegistration;\n    new(): ServiceWorkerRegistration;\n};\n\ninterface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n    \"connect\": MessageEvent;\n}\n\ninterface SharedWorkerGlobalScope extends WorkerGlobalScope {\n    /** Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name. */\n    readonly name: string;\n    onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n    /** Aborts sharedWorkerGlobal. */\n    close(): void;\n    addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorkerGlobalScope: {\n    prototype: SharedWorkerGlobalScope;\n    new(): SharedWorkerGlobalScope;\n};\n\n/** Available only in secure contexts. */\ninterface StorageManager {\n    estimate(): Promise<StorageEstimate>;\n    getDirectory(): Promise<FileSystemDirectoryHandle>;\n    persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n    prototype: StorageManager;\n    new(): StorageManager;\n};\n\n/**\n * This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).\n * Available only in secure contexts.\n */\ninterface SubtleCrypto {\n    decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n    deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n    deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n    digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;\n    encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n    exportKey(format: \"jwk\", key: CryptoKey): Promise<JsonWebKey>;\n    exportKey(format: Exclude<KeyFormat, \"jwk\">, key: CryptoKey): Promise<ArrayBuffer>;\n    generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\n    generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n    importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\n    importKey(format: Exclude<KeyFormat, \"jwk\">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n    sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n    unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n    verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise<boolean>;\n    wrapKey(format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n    prototype: SubtleCrypto;\n    new(): SubtleCrypto;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc.\\xA0A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView \\u2013 a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n    /**\n     * Returns the result of running encoding's decoder. The method can be invoked zero or more times with options's stream set to true, and then once without options's stream (or set to false), to process a fragmented input. If the invocation without options's stream (or set to false) has no input, it's clearest to omit both arguments.\n     *\n     * \\`\\`\\`\n     * var string = \"\", decoder = new TextDecoder(encoding), buffer;\n     * while(buffer = next_chunk()) {\n     *   string += decoder.decode(buffer, {stream:true});\n     * }\n     * string += decoder.decode(); // end-of-queue\n     * \\`\\`\\`\n     *\n     * If the error mode is \"fatal\" and encoding's decoder returns error, throws a TypeError.\n     */\n    decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n    prototype: TextDecoder;\n    new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n    /** Returns encoding's name, lowercased. */\n    readonly encoding: string;\n    /** Returns true if error mode is \"fatal\", otherwise false. */\n    readonly fatal: boolean;\n    /** Returns the value of ignore BOM. */\n    readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n    readonly readable: ReadableStream<string>;\n    readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n    prototype: TextDecoderStream;\n    new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView \\u2013 a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n    /** Returns the result of running UTF-8's encoder. */\n    encode(input?: string): Uint8Array;\n    /** Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination. */\n    encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n    prototype: TextEncoder;\n    new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n    /** Returns \"utf-8\". */\n    readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n    readonly readable: ReadableStream<Uint8Array>;\n    readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n    prototype: TextEncoderStream;\n    new(): TextEncoderStream;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxAscent: number;\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxDescent: number;\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxLeft: number;\n    /** Returns the measurement described below. */\n    readonly actualBoundingBoxRight: number;\n    /** Returns the measurement described below. */\n    readonly fontBoundingBoxAscent: number;\n    /** Returns the measurement described below. */\n    readonly fontBoundingBoxDescent: number;\n    /** Returns the measurement described below. */\n    readonly width: number;\n}\n\ndeclare var TextMetrics: {\n    prototype: TextMetrics;\n    new(): TextMetrics;\n};\n\ninterface TransformStream<I = any, O = any> {\n    readonly readable: ReadableStream<O>;\n    readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n    prototype: TransformStream;\n    new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n    readonly desiredSize: number | null;\n    enqueue(chunk?: O): void;\n    error(reason?: any): void;\n    terminate(): void;\n}\n\ndeclare var TransformStreamDefaultController: {\n    prototype: TransformStreamDefaultController;\n    new(): TransformStreamDefaultController;\n};\n\n/** The URL\\xA0interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n    hash: string;\n    host: string;\n    hostname: string;\n    href: string;\n    toString(): string;\n    readonly origin: string;\n    password: string;\n    pathname: string;\n    port: string;\n    protocol: string;\n    search: string;\n    readonly searchParams: URLSearchParams;\n    username: string;\n    toJSON(): string;\n}\n\ndeclare var URL: {\n    prototype: URL;\n    new(url: string | URL, base?: string | URL): URL;\n    createObjectURL(obj: Blob): string;\n    revokeObjectURL(url: string): void;\n};\n\ninterface URLSearchParams {\n    /** Appends a specified key/value pair as a new search parameter. */\n    append(name: string, value: string): void;\n    /** Deletes the given search parameter, and its associated value, from the list of all search parameters. */\n    delete(name: string): void;\n    /** Returns the first value associated to the given search parameter. */\n    get(name: string): string | null;\n    /** Returns all the values association with a given search parameter. */\n    getAll(name: string): string[];\n    /** Returns a Boolean indicating if such a search parameter exists. */\n    has(name: string): boolean;\n    /** Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. */\n    set(name: string, value: string): void;\n    sort(): void;\n    /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */\n    toString(): string;\n    forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n    prototype: URLSearchParams;\n    new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n    toString(): string;\n};\n\ninterface VideoColorSpace {\n    readonly fullRange: boolean | null;\n    readonly matrix: VideoMatrixCoefficients | null;\n    readonly primaries: VideoColorPrimaries | null;\n    readonly transfer: VideoTransferCharacteristics | null;\n    toJSON(): VideoColorSpaceInit;\n}\n\ndeclare var VideoColorSpace: {\n    prototype: VideoColorSpace;\n    new(init?: VideoColorSpaceInit): VideoColorSpace;\n};\n\ninterface WEBGL_color_buffer_float {\n    readonly RGBA32F_EXT: 0x8814;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n    readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\n}\n\ninterface WEBGL_compressed_texture_astc {\n    getSupportedProfiles(): string[];\n    readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93B0;\n    readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93B1;\n    readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93B2;\n    readonly COMPRESSED_RGBA_ASTC_6x5_KHR: 0x93B3;\n    readonly COMPRESSED_RGBA_ASTC_6x6_KHR: 0x93B4;\n    readonly COMPRESSED_RGBA_ASTC_8x5_KHR: 0x93B5;\n    readonly COMPRESSED_RGBA_ASTC_8x6_KHR: 0x93B6;\n    readonly COMPRESSED_RGBA_ASTC_8x8_KHR: 0x93B7;\n    readonly COMPRESSED_RGBA_ASTC_10x5_KHR: 0x93B8;\n    readonly COMPRESSED_RGBA_ASTC_10x6_KHR: 0x93B9;\n    readonly COMPRESSED_RGBA_ASTC_10x8_KHR: 0x93BA;\n    readonly COMPRESSED_RGBA_ASTC_10x10_KHR: 0x93BB;\n    readonly COMPRESSED_RGBA_ASTC_12x10_KHR: 0x93BC;\n    readonly COMPRESSED_RGBA_ASTC_12x12_KHR: 0x93BD;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: 0x93D0;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: 0x93D1;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: 0x93D2;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: 0x93D3;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: 0x93D4;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: 0x93D5;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: 0x93D6;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: 0x93D7;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: 0x93D8;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: 0x93D9;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: 0x93DA;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: 0x93DB;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: 0x93DC;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;\n}\n\ninterface WEBGL_compressed_texture_etc {\n    readonly COMPRESSED_R11_EAC: 0x9270;\n    readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;\n    readonly COMPRESSED_RG11_EAC: 0x9272;\n    readonly COMPRESSED_SIGNED_RG11_EAC: 0x9273;\n    readonly COMPRESSED_RGB8_ETC2: 0x9274;\n    readonly COMPRESSED_SRGB8_ETC2: 0x9275;\n    readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9276;\n    readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9277;\n    readonly COMPRESSED_RGBA8_ETC2_EAC: 0x9278;\n    readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n    readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n    readonly COMPRESSED_RGB_S3TC_DXT1_EXT: 0x83F0;\n    readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: 0x83F1;\n    readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: 0x83F2;\n    readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n    readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: 0x8C4E;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: 0x8C4F;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n    readonly UNMASKED_VENDOR_WEBGL: 0x9245;\n    readonly UNMASKED_RENDERER_WEBGL: 0x9246;\n}\n\ninterface WEBGL_debug_shaders {\n    getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n    readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;\n}\n\ninterface WEBGL_draw_buffers {\n    drawBuffersWEBGL(buffers: GLenum[]): void;\n    readonly COLOR_ATTACHMENT0_WEBGL: 0x8CE0;\n    readonly COLOR_ATTACHMENT1_WEBGL: 0x8CE1;\n    readonly COLOR_ATTACHMENT2_WEBGL: 0x8CE2;\n    readonly COLOR_ATTACHMENT3_WEBGL: 0x8CE3;\n    readonly COLOR_ATTACHMENT4_WEBGL: 0x8CE4;\n    readonly COLOR_ATTACHMENT5_WEBGL: 0x8CE5;\n    readonly COLOR_ATTACHMENT6_WEBGL: 0x8CE6;\n    readonly COLOR_ATTACHMENT7_WEBGL: 0x8CE7;\n    readonly COLOR_ATTACHMENT8_WEBGL: 0x8CE8;\n    readonly COLOR_ATTACHMENT9_WEBGL: 0x8CE9;\n    readonly COLOR_ATTACHMENT10_WEBGL: 0x8CEA;\n    readonly COLOR_ATTACHMENT11_WEBGL: 0x8CEB;\n    readonly COLOR_ATTACHMENT12_WEBGL: 0x8CEC;\n    readonly COLOR_ATTACHMENT13_WEBGL: 0x8CED;\n    readonly COLOR_ATTACHMENT14_WEBGL: 0x8CEE;\n    readonly COLOR_ATTACHMENT15_WEBGL: 0x8CEF;\n    readonly DRAW_BUFFER0_WEBGL: 0x8825;\n    readonly DRAW_BUFFER1_WEBGL: 0x8826;\n    readonly DRAW_BUFFER2_WEBGL: 0x8827;\n    readonly DRAW_BUFFER3_WEBGL: 0x8828;\n    readonly DRAW_BUFFER4_WEBGL: 0x8829;\n    readonly DRAW_BUFFER5_WEBGL: 0x882A;\n    readonly DRAW_BUFFER6_WEBGL: 0x882B;\n    readonly DRAW_BUFFER7_WEBGL: 0x882C;\n    readonly DRAW_BUFFER8_WEBGL: 0x882D;\n    readonly DRAW_BUFFER9_WEBGL: 0x882E;\n    readonly DRAW_BUFFER10_WEBGL: 0x882F;\n    readonly DRAW_BUFFER11_WEBGL: 0x8830;\n    readonly DRAW_BUFFER12_WEBGL: 0x8831;\n    readonly DRAW_BUFFER13_WEBGL: 0x8832;\n    readonly DRAW_BUFFER14_WEBGL: 0x8833;\n    readonly DRAW_BUFFER15_WEBGL: 0x8834;\n    readonly MAX_COLOR_ATTACHMENTS_WEBGL: 0x8CDF;\n    readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;\n}\n\ninterface WEBGL_lose_context {\n    loseContext(): void;\n    restoreContext(): void;\n}\n\ninterface WEBGL_multi_draw {\n    multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n    multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;\n    multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n    multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;\n}\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n    prototype: WebGL2RenderingContext;\n    new(): WebGL2RenderingContext;\n    readonly READ_BUFFER: 0x0C02;\n    readonly UNPACK_ROW_LENGTH: 0x0CF2;\n    readonly UNPACK_SKIP_ROWS: 0x0CF3;\n    readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n    readonly PACK_ROW_LENGTH: 0x0D02;\n    readonly PACK_SKIP_ROWS: 0x0D03;\n    readonly PACK_SKIP_PIXELS: 0x0D04;\n    readonly COLOR: 0x1800;\n    readonly DEPTH: 0x1801;\n    readonly STENCIL: 0x1802;\n    readonly RED: 0x1903;\n    readonly RGB8: 0x8051;\n    readonly RGBA8: 0x8058;\n    readonly RGB10_A2: 0x8059;\n    readonly TEXTURE_BINDING_3D: 0x806A;\n    readonly UNPACK_SKIP_IMAGES: 0x806D;\n    readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n    readonly TEXTURE_3D: 0x806F;\n    readonly TEXTURE_WRAP_R: 0x8072;\n    readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n    readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n    readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n    readonly MAX_ELEMENTS_INDICES: 0x80E9;\n    readonly TEXTURE_MIN_LOD: 0x813A;\n    readonly TEXTURE_MAX_LOD: 0x813B;\n    readonly TEXTURE_BASE_LEVEL: 0x813C;\n    readonly TEXTURE_MAX_LEVEL: 0x813D;\n    readonly MIN: 0x8007;\n    readonly MAX: 0x8008;\n    readonly DEPTH_COMPONENT24: 0x81A6;\n    readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n    readonly TEXTURE_COMPARE_MODE: 0x884C;\n    readonly TEXTURE_COMPARE_FUNC: 0x884D;\n    readonly CURRENT_QUERY: 0x8865;\n    readonly QUERY_RESULT: 0x8866;\n    readonly QUERY_RESULT_AVAILABLE: 0x8867;\n    readonly STREAM_READ: 0x88E1;\n    readonly STREAM_COPY: 0x88E2;\n    readonly STATIC_READ: 0x88E5;\n    readonly STATIC_COPY: 0x88E6;\n    readonly DYNAMIC_READ: 0x88E9;\n    readonly DYNAMIC_COPY: 0x88EA;\n    readonly MAX_DRAW_BUFFERS: 0x8824;\n    readonly DRAW_BUFFER0: 0x8825;\n    readonly DRAW_BUFFER1: 0x8826;\n    readonly DRAW_BUFFER2: 0x8827;\n    readonly DRAW_BUFFER3: 0x8828;\n    readonly DRAW_BUFFER4: 0x8829;\n    readonly DRAW_BUFFER5: 0x882A;\n    readonly DRAW_BUFFER6: 0x882B;\n    readonly DRAW_BUFFER7: 0x882C;\n    readonly DRAW_BUFFER8: 0x882D;\n    readonly DRAW_BUFFER9: 0x882E;\n    readonly DRAW_BUFFER10: 0x882F;\n    readonly DRAW_BUFFER11: 0x8830;\n    readonly DRAW_BUFFER12: 0x8831;\n    readonly DRAW_BUFFER13: 0x8832;\n    readonly DRAW_BUFFER14: 0x8833;\n    readonly DRAW_BUFFER15: 0x8834;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n    readonly SAMPLER_3D: 0x8B5F;\n    readonly SAMPLER_2D_SHADOW: 0x8B62;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n    readonly PIXEL_PACK_BUFFER: 0x88EB;\n    readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n    readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n    readonly FLOAT_MAT2x3: 0x8B65;\n    readonly FLOAT_MAT2x4: 0x8B66;\n    readonly FLOAT_MAT3x2: 0x8B67;\n    readonly FLOAT_MAT3x4: 0x8B68;\n    readonly FLOAT_MAT4x2: 0x8B69;\n    readonly FLOAT_MAT4x3: 0x8B6A;\n    readonly SRGB: 0x8C40;\n    readonly SRGB8: 0x8C41;\n    readonly SRGB8_ALPHA8: 0x8C43;\n    readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n    readonly RGBA32F: 0x8814;\n    readonly RGB32F: 0x8815;\n    readonly RGBA16F: 0x881A;\n    readonly RGB16F: 0x881B;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n    readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n    readonly TEXTURE_2D_ARRAY: 0x8C1A;\n    readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n    readonly R11F_G11F_B10F: 0x8C3A;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n    readonly RGB9_E5: 0x8C3D;\n    readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n    readonly RASTERIZER_DISCARD: 0x8C89;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n    readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n    readonly SEPARATE_ATTRIBS: 0x8C8D;\n    readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n    readonly RGBA32UI: 0x8D70;\n    readonly RGB32UI: 0x8D71;\n    readonly RGBA16UI: 0x8D76;\n    readonly RGB16UI: 0x8D77;\n    readonly RGBA8UI: 0x8D7C;\n    readonly RGB8UI: 0x8D7D;\n    readonly RGBA32I: 0x8D82;\n    readonly RGB32I: 0x8D83;\n    readonly RGBA16I: 0x8D88;\n    readonly RGB16I: 0x8D89;\n    readonly RGBA8I: 0x8D8E;\n    readonly RGB8I: 0x8D8F;\n    readonly RED_INTEGER: 0x8D94;\n    readonly RGB_INTEGER: 0x8D98;\n    readonly RGBA_INTEGER: 0x8D99;\n    readonly SAMPLER_2D_ARRAY: 0x8DC1;\n    readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n    readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n    readonly UNSIGNED_INT_VEC2: 0x8DC6;\n    readonly UNSIGNED_INT_VEC3: 0x8DC7;\n    readonly UNSIGNED_INT_VEC4: 0x8DC8;\n    readonly INT_SAMPLER_2D: 0x8DCA;\n    readonly INT_SAMPLER_3D: 0x8DCB;\n    readonly INT_SAMPLER_CUBE: 0x8DCC;\n    readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n    readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n    readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n    readonly DEPTH_COMPONENT32F: 0x8CAC;\n    readonly DEPTH32F_STENCIL8: 0x8CAD;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n    readonly FRAMEBUFFER_DEFAULT: 0x8218;\n    readonly UNSIGNED_INT_24_8: 0x84FA;\n    readonly DEPTH24_STENCIL8: 0x88F0;\n    readonly UNSIGNED_NORMALIZED: 0x8C17;\n    readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly READ_FRAMEBUFFER: 0x8CA8;\n    readonly DRAW_FRAMEBUFFER: 0x8CA9;\n    readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n    readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n    readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n    readonly COLOR_ATTACHMENT1: 0x8CE1;\n    readonly COLOR_ATTACHMENT2: 0x8CE2;\n    readonly COLOR_ATTACHMENT3: 0x8CE3;\n    readonly COLOR_ATTACHMENT4: 0x8CE4;\n    readonly COLOR_ATTACHMENT5: 0x8CE5;\n    readonly COLOR_ATTACHMENT6: 0x8CE6;\n    readonly COLOR_ATTACHMENT7: 0x8CE7;\n    readonly COLOR_ATTACHMENT8: 0x8CE8;\n    readonly COLOR_ATTACHMENT9: 0x8CE9;\n    readonly COLOR_ATTACHMENT10: 0x8CEA;\n    readonly COLOR_ATTACHMENT11: 0x8CEB;\n    readonly COLOR_ATTACHMENT12: 0x8CEC;\n    readonly COLOR_ATTACHMENT13: 0x8CED;\n    readonly COLOR_ATTACHMENT14: 0x8CEE;\n    readonly COLOR_ATTACHMENT15: 0x8CEF;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n    readonly MAX_SAMPLES: 0x8D57;\n    readonly HALF_FLOAT: 0x140B;\n    readonly RG: 0x8227;\n    readonly RG_INTEGER: 0x8228;\n    readonly R8: 0x8229;\n    readonly RG8: 0x822B;\n    readonly R16F: 0x822D;\n    readonly R32F: 0x822E;\n    readonly RG16F: 0x822F;\n    readonly RG32F: 0x8230;\n    readonly R8I: 0x8231;\n    readonly R8UI: 0x8232;\n    readonly R16I: 0x8233;\n    readonly R16UI: 0x8234;\n    readonly R32I: 0x8235;\n    readonly R32UI: 0x8236;\n    readonly RG8I: 0x8237;\n    readonly RG8UI: 0x8238;\n    readonly RG16I: 0x8239;\n    readonly RG16UI: 0x823A;\n    readonly RG32I: 0x823B;\n    readonly RG32UI: 0x823C;\n    readonly VERTEX_ARRAY_BINDING: 0x85B5;\n    readonly R8_SNORM: 0x8F94;\n    readonly RG8_SNORM: 0x8F95;\n    readonly RGB8_SNORM: 0x8F96;\n    readonly RGBA8_SNORM: 0x8F97;\n    readonly SIGNED_NORMALIZED: 0x8F9C;\n    readonly COPY_READ_BUFFER: 0x8F36;\n    readonly COPY_WRITE_BUFFER: 0x8F37;\n    readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n    readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n    readonly UNIFORM_BUFFER: 0x8A11;\n    readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n    readonly UNIFORM_BUFFER_START: 0x8A29;\n    readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n    readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n    readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n    readonly UNIFORM_TYPE: 0x8A37;\n    readonly UNIFORM_SIZE: 0x8A38;\n    readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n    readonly UNIFORM_OFFSET: 0x8A3B;\n    readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n    readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n    readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n    readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n    readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n    readonly INVALID_INDEX: 0xFFFFFFFF;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n    readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n    readonly OBJECT_TYPE: 0x9112;\n    readonly SYNC_CONDITION: 0x9113;\n    readonly SYNC_STATUS: 0x9114;\n    readonly SYNC_FLAGS: 0x9115;\n    readonly SYNC_FENCE: 0x9116;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n    readonly UNSIGNALED: 0x9118;\n    readonly SIGNALED: 0x9119;\n    readonly ALREADY_SIGNALED: 0x911A;\n    readonly TIMEOUT_EXPIRED: 0x911B;\n    readonly CONDITION_SATISFIED: 0x911C;\n    readonly WAIT_FAILED: 0x911D;\n    readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n    readonly ANY_SAMPLES_PASSED: 0x8C2F;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n    readonly SAMPLER_BINDING: 0x8919;\n    readonly RGB10_A2UI: 0x906F;\n    readonly INT_2_10_10_10_REV: 0x8D9F;\n    readonly TRANSFORM_FEEDBACK: 0x8E22;\n    readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n    readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n    readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n    readonly MAX_ELEMENT_INDEX: 0x8D6B;\n    readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n    readonly TIMEOUT_IGNORED: -1;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\n    readonly DEPTH_BUFFER_BIT: 0x00000100;\n    readonly STENCIL_BUFFER_BIT: 0x00000400;\n    readonly COLOR_BUFFER_BIT: 0x00004000;\n    readonly POINTS: 0x0000;\n    readonly LINES: 0x0001;\n    readonly LINE_LOOP: 0x0002;\n    readonly LINE_STRIP: 0x0003;\n    readonly TRIANGLES: 0x0004;\n    readonly TRIANGLE_STRIP: 0x0005;\n    readonly TRIANGLE_FAN: 0x0006;\n    readonly ZERO: 0;\n    readonly ONE: 1;\n    readonly SRC_COLOR: 0x0300;\n    readonly ONE_MINUS_SRC_COLOR: 0x0301;\n    readonly SRC_ALPHA: 0x0302;\n    readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n    readonly DST_ALPHA: 0x0304;\n    readonly ONE_MINUS_DST_ALPHA: 0x0305;\n    readonly DST_COLOR: 0x0306;\n    readonly ONE_MINUS_DST_COLOR: 0x0307;\n    readonly SRC_ALPHA_SATURATE: 0x0308;\n    readonly FUNC_ADD: 0x8006;\n    readonly BLEND_EQUATION: 0x8009;\n    readonly BLEND_EQUATION_RGB: 0x8009;\n    readonly BLEND_EQUATION_ALPHA: 0x883D;\n    readonly FUNC_SUBTRACT: 0x800A;\n    readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n    readonly BLEND_DST_RGB: 0x80C8;\n    readonly BLEND_SRC_RGB: 0x80C9;\n    readonly BLEND_DST_ALPHA: 0x80CA;\n    readonly BLEND_SRC_ALPHA: 0x80CB;\n    readonly CONSTANT_COLOR: 0x8001;\n    readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n    readonly CONSTANT_ALPHA: 0x8003;\n    readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n    readonly BLEND_COLOR: 0x8005;\n    readonly ARRAY_BUFFER: 0x8892;\n    readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n    readonly ARRAY_BUFFER_BINDING: 0x8894;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n    readonly STREAM_DRAW: 0x88E0;\n    readonly STATIC_DRAW: 0x88E4;\n    readonly DYNAMIC_DRAW: 0x88E8;\n    readonly BUFFER_SIZE: 0x8764;\n    readonly BUFFER_USAGE: 0x8765;\n    readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n    readonly FRONT: 0x0404;\n    readonly BACK: 0x0405;\n    readonly FRONT_AND_BACK: 0x0408;\n    readonly CULL_FACE: 0x0B44;\n    readonly BLEND: 0x0BE2;\n    readonly DITHER: 0x0BD0;\n    readonly STENCIL_TEST: 0x0B90;\n    readonly DEPTH_TEST: 0x0B71;\n    readonly SCISSOR_TEST: 0x0C11;\n    readonly POLYGON_OFFSET_FILL: 0x8037;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n    readonly SAMPLE_COVERAGE: 0x80A0;\n    readonly NO_ERROR: 0;\n    readonly INVALID_ENUM: 0x0500;\n    readonly INVALID_VALUE: 0x0501;\n    readonly INVALID_OPERATION: 0x0502;\n    readonly OUT_OF_MEMORY: 0x0505;\n    readonly CW: 0x0900;\n    readonly CCW: 0x0901;\n    readonly LINE_WIDTH: 0x0B21;\n    readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n    readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n    readonly CULL_FACE_MODE: 0x0B45;\n    readonly FRONT_FACE: 0x0B46;\n    readonly DEPTH_RANGE: 0x0B70;\n    readonly DEPTH_WRITEMASK: 0x0B72;\n    readonly DEPTH_CLEAR_VALUE: 0x0B73;\n    readonly DEPTH_FUNC: 0x0B74;\n    readonly STENCIL_CLEAR_VALUE: 0x0B91;\n    readonly STENCIL_FUNC: 0x0B92;\n    readonly STENCIL_FAIL: 0x0B94;\n    readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n    readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n    readonly STENCIL_REF: 0x0B97;\n    readonly STENCIL_VALUE_MASK: 0x0B93;\n    readonly STENCIL_WRITEMASK: 0x0B98;\n    readonly STENCIL_BACK_FUNC: 0x8800;\n    readonly STENCIL_BACK_FAIL: 0x8801;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n    readonly STENCIL_BACK_REF: 0x8CA3;\n    readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n    readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n    readonly VIEWPORT: 0x0BA2;\n    readonly SCISSOR_BOX: 0x0C10;\n    readonly COLOR_CLEAR_VALUE: 0x0C22;\n    readonly COLOR_WRITEMASK: 0x0C23;\n    readonly UNPACK_ALIGNMENT: 0x0CF5;\n    readonly PACK_ALIGNMENT: 0x0D05;\n    readonly MAX_TEXTURE_SIZE: 0x0D33;\n    readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n    readonly SUBPIXEL_BITS: 0x0D50;\n    readonly RED_BITS: 0x0D52;\n    readonly GREEN_BITS: 0x0D53;\n    readonly BLUE_BITS: 0x0D54;\n    readonly ALPHA_BITS: 0x0D55;\n    readonly DEPTH_BITS: 0x0D56;\n    readonly STENCIL_BITS: 0x0D57;\n    readonly POLYGON_OFFSET_UNITS: 0x2A00;\n    readonly POLYGON_OFFSET_FACTOR: 0x8038;\n    readonly TEXTURE_BINDING_2D: 0x8069;\n    readonly SAMPLE_BUFFERS: 0x80A8;\n    readonly SAMPLES: 0x80A9;\n    readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n    readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n    readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n    readonly DONT_CARE: 0x1100;\n    readonly FASTEST: 0x1101;\n    readonly NICEST: 0x1102;\n    readonly GENERATE_MIPMAP_HINT: 0x8192;\n    readonly BYTE: 0x1400;\n    readonly UNSIGNED_BYTE: 0x1401;\n    readonly SHORT: 0x1402;\n    readonly UNSIGNED_SHORT: 0x1403;\n    readonly INT: 0x1404;\n    readonly UNSIGNED_INT: 0x1405;\n    readonly FLOAT: 0x1406;\n    readonly DEPTH_COMPONENT: 0x1902;\n    readonly ALPHA: 0x1906;\n    readonly RGB: 0x1907;\n    readonly RGBA: 0x1908;\n    readonly LUMINANCE: 0x1909;\n    readonly LUMINANCE_ALPHA: 0x190A;\n    readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n    readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n    readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n    readonly FRAGMENT_SHADER: 0x8B30;\n    readonly VERTEX_SHADER: 0x8B31;\n    readonly MAX_VERTEX_ATTRIBS: 0x8869;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n    readonly MAX_VARYING_VECTORS: 0x8DFC;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n    readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n    readonly SHADER_TYPE: 0x8B4F;\n    readonly DELETE_STATUS: 0x8B80;\n    readonly LINK_STATUS: 0x8B82;\n    readonly VALIDATE_STATUS: 0x8B83;\n    readonly ATTACHED_SHADERS: 0x8B85;\n    readonly ACTIVE_UNIFORMS: 0x8B86;\n    readonly ACTIVE_ATTRIBUTES: 0x8B89;\n    readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n    readonly CURRENT_PROGRAM: 0x8B8D;\n    readonly NEVER: 0x0200;\n    readonly LESS: 0x0201;\n    readonly EQUAL: 0x0202;\n    readonly LEQUAL: 0x0203;\n    readonly GREATER: 0x0204;\n    readonly NOTEQUAL: 0x0205;\n    readonly GEQUAL: 0x0206;\n    readonly ALWAYS: 0x0207;\n    readonly KEEP: 0x1E00;\n    readonly REPLACE: 0x1E01;\n    readonly INCR: 0x1E02;\n    readonly DECR: 0x1E03;\n    readonly INVERT: 0x150A;\n    readonly INCR_WRAP: 0x8507;\n    readonly DECR_WRAP: 0x8508;\n    readonly VENDOR: 0x1F00;\n    readonly RENDERER: 0x1F01;\n    readonly VERSION: 0x1F02;\n    readonly NEAREST: 0x2600;\n    readonly LINEAR: 0x2601;\n    readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n    readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n    readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n    readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n    readonly TEXTURE_MAG_FILTER: 0x2800;\n    readonly TEXTURE_MIN_FILTER: 0x2801;\n    readonly TEXTURE_WRAP_S: 0x2802;\n    readonly TEXTURE_WRAP_T: 0x2803;\n    readonly TEXTURE_2D: 0x0DE1;\n    readonly TEXTURE: 0x1702;\n    readonly TEXTURE_CUBE_MAP: 0x8513;\n    readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n    readonly TEXTURE0: 0x84C0;\n    readonly TEXTURE1: 0x84C1;\n    readonly TEXTURE2: 0x84C2;\n    readonly TEXTURE3: 0x84C3;\n    readonly TEXTURE4: 0x84C4;\n    readonly TEXTURE5: 0x84C5;\n    readonly TEXTURE6: 0x84C6;\n    readonly TEXTURE7: 0x84C7;\n    readonly TEXTURE8: 0x84C8;\n    readonly TEXTURE9: 0x84C9;\n    readonly TEXTURE10: 0x84CA;\n    readonly TEXTURE11: 0x84CB;\n    readonly TEXTURE12: 0x84CC;\n    readonly TEXTURE13: 0x84CD;\n    readonly TEXTURE14: 0x84CE;\n    readonly TEXTURE15: 0x84CF;\n    readonly TEXTURE16: 0x84D0;\n    readonly TEXTURE17: 0x84D1;\n    readonly TEXTURE18: 0x84D2;\n    readonly TEXTURE19: 0x84D3;\n    readonly TEXTURE20: 0x84D4;\n    readonly TEXTURE21: 0x84D5;\n    readonly TEXTURE22: 0x84D6;\n    readonly TEXTURE23: 0x84D7;\n    readonly TEXTURE24: 0x84D8;\n    readonly TEXTURE25: 0x84D9;\n    readonly TEXTURE26: 0x84DA;\n    readonly TEXTURE27: 0x84DB;\n    readonly TEXTURE28: 0x84DC;\n    readonly TEXTURE29: 0x84DD;\n    readonly TEXTURE30: 0x84DE;\n    readonly TEXTURE31: 0x84DF;\n    readonly ACTIVE_TEXTURE: 0x84E0;\n    readonly REPEAT: 0x2901;\n    readonly CLAMP_TO_EDGE: 0x812F;\n    readonly MIRRORED_REPEAT: 0x8370;\n    readonly FLOAT_VEC2: 0x8B50;\n    readonly FLOAT_VEC3: 0x8B51;\n    readonly FLOAT_VEC4: 0x8B52;\n    readonly INT_VEC2: 0x8B53;\n    readonly INT_VEC3: 0x8B54;\n    readonly INT_VEC4: 0x8B55;\n    readonly BOOL: 0x8B56;\n    readonly BOOL_VEC2: 0x8B57;\n    readonly BOOL_VEC3: 0x8B58;\n    readonly BOOL_VEC4: 0x8B59;\n    readonly FLOAT_MAT2: 0x8B5A;\n    readonly FLOAT_MAT3: 0x8B5B;\n    readonly FLOAT_MAT4: 0x8B5C;\n    readonly SAMPLER_2D: 0x8B5E;\n    readonly SAMPLER_CUBE: 0x8B60;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n    readonly COMPILE_STATUS: 0x8B81;\n    readonly LOW_FLOAT: 0x8DF0;\n    readonly MEDIUM_FLOAT: 0x8DF1;\n    readonly HIGH_FLOAT: 0x8DF2;\n    readonly LOW_INT: 0x8DF3;\n    readonly MEDIUM_INT: 0x8DF4;\n    readonly HIGH_INT: 0x8DF5;\n    readonly FRAMEBUFFER: 0x8D40;\n    readonly RENDERBUFFER: 0x8D41;\n    readonly RGBA4: 0x8056;\n    readonly RGB5_A1: 0x8057;\n    readonly RGB565: 0x8D62;\n    readonly DEPTH_COMPONENT16: 0x81A5;\n    readonly STENCIL_INDEX8: 0x8D48;\n    readonly DEPTH_STENCIL: 0x84F9;\n    readonly RENDERBUFFER_WIDTH: 0x8D42;\n    readonly RENDERBUFFER_HEIGHT: 0x8D43;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n    readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n    readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n    readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n    readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n    readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n    readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n    readonly COLOR_ATTACHMENT0: 0x8CE0;\n    readonly DEPTH_ATTACHMENT: 0x8D00;\n    readonly STENCIL_ATTACHMENT: 0x8D20;\n    readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n    readonly NONE: 0;\n    readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n    readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n    readonly FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly RENDERBUFFER_BINDING: 0x8CA7;\n    readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n    readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n    readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n    readonly CONTEXT_LOST_WEBGL: 0x9242;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n    readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n};\n\ninterface WebGL2RenderingContextBase {\n    beginQuery(target: GLenum, query: WebGLQuery): void;\n    beginTransformFeedback(primitiveMode: GLenum): void;\n    bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n    bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n    bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n    bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n    bindVertexArray(array: WebGLVertexArrayObject | null): void;\n    blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n    clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n    clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n    clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n    clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n    clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n    compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n    copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    createQuery(): WebGLQuery | null;\n    createSampler(): WebGLSampler | null;\n    createTransformFeedback(): WebGLTransformFeedback | null;\n    createVertexArray(): WebGLVertexArrayObject | null;\n    deleteQuery(query: WebGLQuery | null): void;\n    deleteSampler(sampler: WebGLSampler | null): void;\n    deleteSync(sync: WebGLSync | null): void;\n    deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n    deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n    drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n    drawBuffers(buffers: GLenum[]): void;\n    drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n    drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n    endQuery(target: GLenum): void;\n    endTransformFeedback(): void;\n    fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n    framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n    getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n    getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n    getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n    getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n    getFragDataLocation(program: WebGLProgram, name: string): GLint;\n    getIndexedParameter(target: GLenum, index: GLuint): any;\n    getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n    getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n    getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n    getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n    getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n    getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n    getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n    getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n    invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n    invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    isQuery(query: WebGLQuery | null): GLboolean;\n    isSampler(sampler: WebGLSampler | null): GLboolean;\n    isSync(sync: WebGLSync | null): GLboolean;\n    isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n    isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n    pauseTransformFeedback(): void;\n    readBuffer(src: GLenum): void;\n    renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n    resumeTransformFeedback(): void;\n    samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n    samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n    texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n    texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n    texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n    texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n    transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n    uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n    uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n    uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n    uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n    uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n    uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n    vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n    vertexAttribI4iv(index: GLuint, values: Int32List): void;\n    vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n    vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n    vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n    waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n    readonly READ_BUFFER: 0x0C02;\n    readonly UNPACK_ROW_LENGTH: 0x0CF2;\n    readonly UNPACK_SKIP_ROWS: 0x0CF3;\n    readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n    readonly PACK_ROW_LENGTH: 0x0D02;\n    readonly PACK_SKIP_ROWS: 0x0D03;\n    readonly PACK_SKIP_PIXELS: 0x0D04;\n    readonly COLOR: 0x1800;\n    readonly DEPTH: 0x1801;\n    readonly STENCIL: 0x1802;\n    readonly RED: 0x1903;\n    readonly RGB8: 0x8051;\n    readonly RGBA8: 0x8058;\n    readonly RGB10_A2: 0x8059;\n    readonly TEXTURE_BINDING_3D: 0x806A;\n    readonly UNPACK_SKIP_IMAGES: 0x806D;\n    readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n    readonly TEXTURE_3D: 0x806F;\n    readonly TEXTURE_WRAP_R: 0x8072;\n    readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n    readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n    readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n    readonly MAX_ELEMENTS_INDICES: 0x80E9;\n    readonly TEXTURE_MIN_LOD: 0x813A;\n    readonly TEXTURE_MAX_LOD: 0x813B;\n    readonly TEXTURE_BASE_LEVEL: 0x813C;\n    readonly TEXTURE_MAX_LEVEL: 0x813D;\n    readonly MIN: 0x8007;\n    readonly MAX: 0x8008;\n    readonly DEPTH_COMPONENT24: 0x81A6;\n    readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n    readonly TEXTURE_COMPARE_MODE: 0x884C;\n    readonly TEXTURE_COMPARE_FUNC: 0x884D;\n    readonly CURRENT_QUERY: 0x8865;\n    readonly QUERY_RESULT: 0x8866;\n    readonly QUERY_RESULT_AVAILABLE: 0x8867;\n    readonly STREAM_READ: 0x88E1;\n    readonly STREAM_COPY: 0x88E2;\n    readonly STATIC_READ: 0x88E5;\n    readonly STATIC_COPY: 0x88E6;\n    readonly DYNAMIC_READ: 0x88E9;\n    readonly DYNAMIC_COPY: 0x88EA;\n    readonly MAX_DRAW_BUFFERS: 0x8824;\n    readonly DRAW_BUFFER0: 0x8825;\n    readonly DRAW_BUFFER1: 0x8826;\n    readonly DRAW_BUFFER2: 0x8827;\n    readonly DRAW_BUFFER3: 0x8828;\n    readonly DRAW_BUFFER4: 0x8829;\n    readonly DRAW_BUFFER5: 0x882A;\n    readonly DRAW_BUFFER6: 0x882B;\n    readonly DRAW_BUFFER7: 0x882C;\n    readonly DRAW_BUFFER8: 0x882D;\n    readonly DRAW_BUFFER9: 0x882E;\n    readonly DRAW_BUFFER10: 0x882F;\n    readonly DRAW_BUFFER11: 0x8830;\n    readonly DRAW_BUFFER12: 0x8831;\n    readonly DRAW_BUFFER13: 0x8832;\n    readonly DRAW_BUFFER14: 0x8833;\n    readonly DRAW_BUFFER15: 0x8834;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n    readonly SAMPLER_3D: 0x8B5F;\n    readonly SAMPLER_2D_SHADOW: 0x8B62;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n    readonly PIXEL_PACK_BUFFER: 0x88EB;\n    readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n    readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n    readonly FLOAT_MAT2x3: 0x8B65;\n    readonly FLOAT_MAT2x4: 0x8B66;\n    readonly FLOAT_MAT3x2: 0x8B67;\n    readonly FLOAT_MAT3x4: 0x8B68;\n    readonly FLOAT_MAT4x2: 0x8B69;\n    readonly FLOAT_MAT4x3: 0x8B6A;\n    readonly SRGB: 0x8C40;\n    readonly SRGB8: 0x8C41;\n    readonly SRGB8_ALPHA8: 0x8C43;\n    readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n    readonly RGBA32F: 0x8814;\n    readonly RGB32F: 0x8815;\n    readonly RGBA16F: 0x881A;\n    readonly RGB16F: 0x881B;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n    readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n    readonly TEXTURE_2D_ARRAY: 0x8C1A;\n    readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n    readonly R11F_G11F_B10F: 0x8C3A;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n    readonly RGB9_E5: 0x8C3D;\n    readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n    readonly RASTERIZER_DISCARD: 0x8C89;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n    readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n    readonly SEPARATE_ATTRIBS: 0x8C8D;\n    readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n    readonly RGBA32UI: 0x8D70;\n    readonly RGB32UI: 0x8D71;\n    readonly RGBA16UI: 0x8D76;\n    readonly RGB16UI: 0x8D77;\n    readonly RGBA8UI: 0x8D7C;\n    readonly RGB8UI: 0x8D7D;\n    readonly RGBA32I: 0x8D82;\n    readonly RGB32I: 0x8D83;\n    readonly RGBA16I: 0x8D88;\n    readonly RGB16I: 0x8D89;\n    readonly RGBA8I: 0x8D8E;\n    readonly RGB8I: 0x8D8F;\n    readonly RED_INTEGER: 0x8D94;\n    readonly RGB_INTEGER: 0x8D98;\n    readonly RGBA_INTEGER: 0x8D99;\n    readonly SAMPLER_2D_ARRAY: 0x8DC1;\n    readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n    readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n    readonly UNSIGNED_INT_VEC2: 0x8DC6;\n    readonly UNSIGNED_INT_VEC3: 0x8DC7;\n    readonly UNSIGNED_INT_VEC4: 0x8DC8;\n    readonly INT_SAMPLER_2D: 0x8DCA;\n    readonly INT_SAMPLER_3D: 0x8DCB;\n    readonly INT_SAMPLER_CUBE: 0x8DCC;\n    readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n    readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n    readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n    readonly DEPTH_COMPONENT32F: 0x8CAC;\n    readonly DEPTH32F_STENCIL8: 0x8CAD;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n    readonly FRAMEBUFFER_DEFAULT: 0x8218;\n    readonly UNSIGNED_INT_24_8: 0x84FA;\n    readonly DEPTH24_STENCIL8: 0x88F0;\n    readonly UNSIGNED_NORMALIZED: 0x8C17;\n    readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly READ_FRAMEBUFFER: 0x8CA8;\n    readonly DRAW_FRAMEBUFFER: 0x8CA9;\n    readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n    readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n    readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n    readonly COLOR_ATTACHMENT1: 0x8CE1;\n    readonly COLOR_ATTACHMENT2: 0x8CE2;\n    readonly COLOR_ATTACHMENT3: 0x8CE3;\n    readonly COLOR_ATTACHMENT4: 0x8CE4;\n    readonly COLOR_ATTACHMENT5: 0x8CE5;\n    readonly COLOR_ATTACHMENT6: 0x8CE6;\n    readonly COLOR_ATTACHMENT7: 0x8CE7;\n    readonly COLOR_ATTACHMENT8: 0x8CE8;\n    readonly COLOR_ATTACHMENT9: 0x8CE9;\n    readonly COLOR_ATTACHMENT10: 0x8CEA;\n    readonly COLOR_ATTACHMENT11: 0x8CEB;\n    readonly COLOR_ATTACHMENT12: 0x8CEC;\n    readonly COLOR_ATTACHMENT13: 0x8CED;\n    readonly COLOR_ATTACHMENT14: 0x8CEE;\n    readonly COLOR_ATTACHMENT15: 0x8CEF;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n    readonly MAX_SAMPLES: 0x8D57;\n    readonly HALF_FLOAT: 0x140B;\n    readonly RG: 0x8227;\n    readonly RG_INTEGER: 0x8228;\n    readonly R8: 0x8229;\n    readonly RG8: 0x822B;\n    readonly R16F: 0x822D;\n    readonly R32F: 0x822E;\n    readonly RG16F: 0x822F;\n    readonly RG32F: 0x8230;\n    readonly R8I: 0x8231;\n    readonly R8UI: 0x8232;\n    readonly R16I: 0x8233;\n    readonly R16UI: 0x8234;\n    readonly R32I: 0x8235;\n    readonly R32UI: 0x8236;\n    readonly RG8I: 0x8237;\n    readonly RG8UI: 0x8238;\n    readonly RG16I: 0x8239;\n    readonly RG16UI: 0x823A;\n    readonly RG32I: 0x823B;\n    readonly RG32UI: 0x823C;\n    readonly VERTEX_ARRAY_BINDING: 0x85B5;\n    readonly R8_SNORM: 0x8F94;\n    readonly RG8_SNORM: 0x8F95;\n    readonly RGB8_SNORM: 0x8F96;\n    readonly RGBA8_SNORM: 0x8F97;\n    readonly SIGNED_NORMALIZED: 0x8F9C;\n    readonly COPY_READ_BUFFER: 0x8F36;\n    readonly COPY_WRITE_BUFFER: 0x8F37;\n    readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n    readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n    readonly UNIFORM_BUFFER: 0x8A11;\n    readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n    readonly UNIFORM_BUFFER_START: 0x8A29;\n    readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n    readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n    readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n    readonly UNIFORM_TYPE: 0x8A37;\n    readonly UNIFORM_SIZE: 0x8A38;\n    readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n    readonly UNIFORM_OFFSET: 0x8A3B;\n    readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n    readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n    readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n    readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n    readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n    readonly INVALID_INDEX: 0xFFFFFFFF;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n    readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n    readonly OBJECT_TYPE: 0x9112;\n    readonly SYNC_CONDITION: 0x9113;\n    readonly SYNC_STATUS: 0x9114;\n    readonly SYNC_FLAGS: 0x9115;\n    readonly SYNC_FENCE: 0x9116;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n    readonly UNSIGNALED: 0x9118;\n    readonly SIGNALED: 0x9119;\n    readonly ALREADY_SIGNALED: 0x911A;\n    readonly TIMEOUT_EXPIRED: 0x911B;\n    readonly CONDITION_SATISFIED: 0x911C;\n    readonly WAIT_FAILED: 0x911D;\n    readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n    readonly ANY_SAMPLES_PASSED: 0x8C2F;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n    readonly SAMPLER_BINDING: 0x8919;\n    readonly RGB10_A2UI: 0x906F;\n    readonly INT_2_10_10_10_REV: 0x8D9F;\n    readonly TRANSFORM_FEEDBACK: 0x8E22;\n    readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n    readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n    readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n    readonly MAX_ELEMENT_INDEX: 0x8D6B;\n    readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n    readonly TIMEOUT_IGNORED: -1;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\n}\n\ninterface WebGL2RenderingContextOverloads {\n    bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n    bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n    bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n    bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n    bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n    compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n    compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n    uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n    readonly name: string;\n    readonly size: GLint;\n    readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n    prototype: WebGLActiveInfo;\n    new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer {\n}\n\ndeclare var WebGLBuffer: {\n    prototype: WebGLBuffer;\n    new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n    readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n    prototype: WebGLContextEvent;\n    new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer {\n}\n\ndeclare var WebGLFramebuffer: {\n    prototype: WebGLFramebuffer;\n    new(): WebGLFramebuffer;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram {\n}\n\ndeclare var WebGLProgram: {\n    prototype: WebGLProgram;\n    new(): WebGLProgram;\n};\n\ninterface WebGLQuery {\n}\n\ndeclare var WebGLQuery: {\n    prototype: WebGLQuery;\n    new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer {\n}\n\ndeclare var WebGLRenderbuffer: {\n    prototype: WebGLRenderbuffer;\n    new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n    prototype: WebGLRenderingContext;\n    new(): WebGLRenderingContext;\n    readonly DEPTH_BUFFER_BIT: 0x00000100;\n    readonly STENCIL_BUFFER_BIT: 0x00000400;\n    readonly COLOR_BUFFER_BIT: 0x00004000;\n    readonly POINTS: 0x0000;\n    readonly LINES: 0x0001;\n    readonly LINE_LOOP: 0x0002;\n    readonly LINE_STRIP: 0x0003;\n    readonly TRIANGLES: 0x0004;\n    readonly TRIANGLE_STRIP: 0x0005;\n    readonly TRIANGLE_FAN: 0x0006;\n    readonly ZERO: 0;\n    readonly ONE: 1;\n    readonly SRC_COLOR: 0x0300;\n    readonly ONE_MINUS_SRC_COLOR: 0x0301;\n    readonly SRC_ALPHA: 0x0302;\n    readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n    readonly DST_ALPHA: 0x0304;\n    readonly ONE_MINUS_DST_ALPHA: 0x0305;\n    readonly DST_COLOR: 0x0306;\n    readonly ONE_MINUS_DST_COLOR: 0x0307;\n    readonly SRC_ALPHA_SATURATE: 0x0308;\n    readonly FUNC_ADD: 0x8006;\n    readonly BLEND_EQUATION: 0x8009;\n    readonly BLEND_EQUATION_RGB: 0x8009;\n    readonly BLEND_EQUATION_ALPHA: 0x883D;\n    readonly FUNC_SUBTRACT: 0x800A;\n    readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n    readonly BLEND_DST_RGB: 0x80C8;\n    readonly BLEND_SRC_RGB: 0x80C9;\n    readonly BLEND_DST_ALPHA: 0x80CA;\n    readonly BLEND_SRC_ALPHA: 0x80CB;\n    readonly CONSTANT_COLOR: 0x8001;\n    readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n    readonly CONSTANT_ALPHA: 0x8003;\n    readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n    readonly BLEND_COLOR: 0x8005;\n    readonly ARRAY_BUFFER: 0x8892;\n    readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n    readonly ARRAY_BUFFER_BINDING: 0x8894;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n    readonly STREAM_DRAW: 0x88E0;\n    readonly STATIC_DRAW: 0x88E4;\n    readonly DYNAMIC_DRAW: 0x88E8;\n    readonly BUFFER_SIZE: 0x8764;\n    readonly BUFFER_USAGE: 0x8765;\n    readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n    readonly FRONT: 0x0404;\n    readonly BACK: 0x0405;\n    readonly FRONT_AND_BACK: 0x0408;\n    readonly CULL_FACE: 0x0B44;\n    readonly BLEND: 0x0BE2;\n    readonly DITHER: 0x0BD0;\n    readonly STENCIL_TEST: 0x0B90;\n    readonly DEPTH_TEST: 0x0B71;\n    readonly SCISSOR_TEST: 0x0C11;\n    readonly POLYGON_OFFSET_FILL: 0x8037;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n    readonly SAMPLE_COVERAGE: 0x80A0;\n    readonly NO_ERROR: 0;\n    readonly INVALID_ENUM: 0x0500;\n    readonly INVALID_VALUE: 0x0501;\n    readonly INVALID_OPERATION: 0x0502;\n    readonly OUT_OF_MEMORY: 0x0505;\n    readonly CW: 0x0900;\n    readonly CCW: 0x0901;\n    readonly LINE_WIDTH: 0x0B21;\n    readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n    readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n    readonly CULL_FACE_MODE: 0x0B45;\n    readonly FRONT_FACE: 0x0B46;\n    readonly DEPTH_RANGE: 0x0B70;\n    readonly DEPTH_WRITEMASK: 0x0B72;\n    readonly DEPTH_CLEAR_VALUE: 0x0B73;\n    readonly DEPTH_FUNC: 0x0B74;\n    readonly STENCIL_CLEAR_VALUE: 0x0B91;\n    readonly STENCIL_FUNC: 0x0B92;\n    readonly STENCIL_FAIL: 0x0B94;\n    readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n    readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n    readonly STENCIL_REF: 0x0B97;\n    readonly STENCIL_VALUE_MASK: 0x0B93;\n    readonly STENCIL_WRITEMASK: 0x0B98;\n    readonly STENCIL_BACK_FUNC: 0x8800;\n    readonly STENCIL_BACK_FAIL: 0x8801;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n    readonly STENCIL_BACK_REF: 0x8CA3;\n    readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n    readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n    readonly VIEWPORT: 0x0BA2;\n    readonly SCISSOR_BOX: 0x0C10;\n    readonly COLOR_CLEAR_VALUE: 0x0C22;\n    readonly COLOR_WRITEMASK: 0x0C23;\n    readonly UNPACK_ALIGNMENT: 0x0CF5;\n    readonly PACK_ALIGNMENT: 0x0D05;\n    readonly MAX_TEXTURE_SIZE: 0x0D33;\n    readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n    readonly SUBPIXEL_BITS: 0x0D50;\n    readonly RED_BITS: 0x0D52;\n    readonly GREEN_BITS: 0x0D53;\n    readonly BLUE_BITS: 0x0D54;\n    readonly ALPHA_BITS: 0x0D55;\n    readonly DEPTH_BITS: 0x0D56;\n    readonly STENCIL_BITS: 0x0D57;\n    readonly POLYGON_OFFSET_UNITS: 0x2A00;\n    readonly POLYGON_OFFSET_FACTOR: 0x8038;\n    readonly TEXTURE_BINDING_2D: 0x8069;\n    readonly SAMPLE_BUFFERS: 0x80A8;\n    readonly SAMPLES: 0x80A9;\n    readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n    readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n    readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n    readonly DONT_CARE: 0x1100;\n    readonly FASTEST: 0x1101;\n    readonly NICEST: 0x1102;\n    readonly GENERATE_MIPMAP_HINT: 0x8192;\n    readonly BYTE: 0x1400;\n    readonly UNSIGNED_BYTE: 0x1401;\n    readonly SHORT: 0x1402;\n    readonly UNSIGNED_SHORT: 0x1403;\n    readonly INT: 0x1404;\n    readonly UNSIGNED_INT: 0x1405;\n    readonly FLOAT: 0x1406;\n    readonly DEPTH_COMPONENT: 0x1902;\n    readonly ALPHA: 0x1906;\n    readonly RGB: 0x1907;\n    readonly RGBA: 0x1908;\n    readonly LUMINANCE: 0x1909;\n    readonly LUMINANCE_ALPHA: 0x190A;\n    readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n    readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n    readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n    readonly FRAGMENT_SHADER: 0x8B30;\n    readonly VERTEX_SHADER: 0x8B31;\n    readonly MAX_VERTEX_ATTRIBS: 0x8869;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n    readonly MAX_VARYING_VECTORS: 0x8DFC;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n    readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n    readonly SHADER_TYPE: 0x8B4F;\n    readonly DELETE_STATUS: 0x8B80;\n    readonly LINK_STATUS: 0x8B82;\n    readonly VALIDATE_STATUS: 0x8B83;\n    readonly ATTACHED_SHADERS: 0x8B85;\n    readonly ACTIVE_UNIFORMS: 0x8B86;\n    readonly ACTIVE_ATTRIBUTES: 0x8B89;\n    readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n    readonly CURRENT_PROGRAM: 0x8B8D;\n    readonly NEVER: 0x0200;\n    readonly LESS: 0x0201;\n    readonly EQUAL: 0x0202;\n    readonly LEQUAL: 0x0203;\n    readonly GREATER: 0x0204;\n    readonly NOTEQUAL: 0x0205;\n    readonly GEQUAL: 0x0206;\n    readonly ALWAYS: 0x0207;\n    readonly KEEP: 0x1E00;\n    readonly REPLACE: 0x1E01;\n    readonly INCR: 0x1E02;\n    readonly DECR: 0x1E03;\n    readonly INVERT: 0x150A;\n    readonly INCR_WRAP: 0x8507;\n    readonly DECR_WRAP: 0x8508;\n    readonly VENDOR: 0x1F00;\n    readonly RENDERER: 0x1F01;\n    readonly VERSION: 0x1F02;\n    readonly NEAREST: 0x2600;\n    readonly LINEAR: 0x2601;\n    readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n    readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n    readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n    readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n    readonly TEXTURE_MAG_FILTER: 0x2800;\n    readonly TEXTURE_MIN_FILTER: 0x2801;\n    readonly TEXTURE_WRAP_S: 0x2802;\n    readonly TEXTURE_WRAP_T: 0x2803;\n    readonly TEXTURE_2D: 0x0DE1;\n    readonly TEXTURE: 0x1702;\n    readonly TEXTURE_CUBE_MAP: 0x8513;\n    readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n    readonly TEXTURE0: 0x84C0;\n    readonly TEXTURE1: 0x84C1;\n    readonly TEXTURE2: 0x84C2;\n    readonly TEXTURE3: 0x84C3;\n    readonly TEXTURE4: 0x84C4;\n    readonly TEXTURE5: 0x84C5;\n    readonly TEXTURE6: 0x84C6;\n    readonly TEXTURE7: 0x84C7;\n    readonly TEXTURE8: 0x84C8;\n    readonly TEXTURE9: 0x84C9;\n    readonly TEXTURE10: 0x84CA;\n    readonly TEXTURE11: 0x84CB;\n    readonly TEXTURE12: 0x84CC;\n    readonly TEXTURE13: 0x84CD;\n    readonly TEXTURE14: 0x84CE;\n    readonly TEXTURE15: 0x84CF;\n    readonly TEXTURE16: 0x84D0;\n    readonly TEXTURE17: 0x84D1;\n    readonly TEXTURE18: 0x84D2;\n    readonly TEXTURE19: 0x84D3;\n    readonly TEXTURE20: 0x84D4;\n    readonly TEXTURE21: 0x84D5;\n    readonly TEXTURE22: 0x84D6;\n    readonly TEXTURE23: 0x84D7;\n    readonly TEXTURE24: 0x84D8;\n    readonly TEXTURE25: 0x84D9;\n    readonly TEXTURE26: 0x84DA;\n    readonly TEXTURE27: 0x84DB;\n    readonly TEXTURE28: 0x84DC;\n    readonly TEXTURE29: 0x84DD;\n    readonly TEXTURE30: 0x84DE;\n    readonly TEXTURE31: 0x84DF;\n    readonly ACTIVE_TEXTURE: 0x84E0;\n    readonly REPEAT: 0x2901;\n    readonly CLAMP_TO_EDGE: 0x812F;\n    readonly MIRRORED_REPEAT: 0x8370;\n    readonly FLOAT_VEC2: 0x8B50;\n    readonly FLOAT_VEC3: 0x8B51;\n    readonly FLOAT_VEC4: 0x8B52;\n    readonly INT_VEC2: 0x8B53;\n    readonly INT_VEC3: 0x8B54;\n    readonly INT_VEC4: 0x8B55;\n    readonly BOOL: 0x8B56;\n    readonly BOOL_VEC2: 0x8B57;\n    readonly BOOL_VEC3: 0x8B58;\n    readonly BOOL_VEC4: 0x8B59;\n    readonly FLOAT_MAT2: 0x8B5A;\n    readonly FLOAT_MAT3: 0x8B5B;\n    readonly FLOAT_MAT4: 0x8B5C;\n    readonly SAMPLER_2D: 0x8B5E;\n    readonly SAMPLER_CUBE: 0x8B60;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n    readonly COMPILE_STATUS: 0x8B81;\n    readonly LOW_FLOAT: 0x8DF0;\n    readonly MEDIUM_FLOAT: 0x8DF1;\n    readonly HIGH_FLOAT: 0x8DF2;\n    readonly LOW_INT: 0x8DF3;\n    readonly MEDIUM_INT: 0x8DF4;\n    readonly HIGH_INT: 0x8DF5;\n    readonly FRAMEBUFFER: 0x8D40;\n    readonly RENDERBUFFER: 0x8D41;\n    readonly RGBA4: 0x8056;\n    readonly RGB5_A1: 0x8057;\n    readonly RGB565: 0x8D62;\n    readonly DEPTH_COMPONENT16: 0x81A5;\n    readonly STENCIL_INDEX8: 0x8D48;\n    readonly DEPTH_STENCIL: 0x84F9;\n    readonly RENDERBUFFER_WIDTH: 0x8D42;\n    readonly RENDERBUFFER_HEIGHT: 0x8D43;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n    readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n    readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n    readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n    readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n    readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n    readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n    readonly COLOR_ATTACHMENT0: 0x8CE0;\n    readonly DEPTH_ATTACHMENT: 0x8D00;\n    readonly STENCIL_ATTACHMENT: 0x8D20;\n    readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n    readonly NONE: 0;\n    readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n    readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n    readonly FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly RENDERBUFFER_BINDING: 0x8CA7;\n    readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n    readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n    readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n    readonly CONTEXT_LOST_WEBGL: 0x9242;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n    readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n};\n\ninterface WebGLRenderingContextBase {\n    readonly drawingBufferHeight: GLsizei;\n    readonly drawingBufferWidth: GLsizei;\n    activeTexture(texture: GLenum): void;\n    attachShader(program: WebGLProgram, shader: WebGLShader): void;\n    bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n    bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n    bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n    bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n    bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n    blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n    blendEquation(mode: GLenum): void;\n    blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n    blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n    blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n    checkFramebufferStatus(target: GLenum): GLenum;\n    clear(mask: GLbitfield): void;\n    clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n    clearDepth(depth: GLclampf): void;\n    clearStencil(s: GLint): void;\n    colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n    compileShader(shader: WebGLShader): void;\n    copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n    copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    createBuffer(): WebGLBuffer | null;\n    createFramebuffer(): WebGLFramebuffer | null;\n    createProgram(): WebGLProgram | null;\n    createRenderbuffer(): WebGLRenderbuffer | null;\n    createShader(type: GLenum): WebGLShader | null;\n    createTexture(): WebGLTexture | null;\n    cullFace(mode: GLenum): void;\n    deleteBuffer(buffer: WebGLBuffer | null): void;\n    deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n    deleteProgram(program: WebGLProgram | null): void;\n    deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n    deleteShader(shader: WebGLShader | null): void;\n    deleteTexture(texture: WebGLTexture | null): void;\n    depthFunc(func: GLenum): void;\n    depthMask(flag: GLboolean): void;\n    depthRange(zNear: GLclampf, zFar: GLclampf): void;\n    detachShader(program: WebGLProgram, shader: WebGLShader): void;\n    disable(cap: GLenum): void;\n    disableVertexAttribArray(index: GLuint): void;\n    drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n    drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n    enable(cap: GLenum): void;\n    enableVertexAttribArray(index: GLuint): void;\n    finish(): void;\n    flush(): void;\n    framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n    framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n    frontFace(mode: GLenum): void;\n    generateMipmap(target: GLenum): void;\n    getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n    getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n    getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n    getAttribLocation(program: WebGLProgram, name: string): GLint;\n    getBufferParameter(target: GLenum, pname: GLenum): any;\n    getContextAttributes(): WebGLContextAttributes | null;\n    getError(): GLenum;\n    getExtension(extensionName: \"ANGLE_instanced_arrays\"): ANGLE_instanced_arrays | null;\n    getExtension(extensionName: \"EXT_blend_minmax\"): EXT_blend_minmax | null;\n    getExtension(extensionName: \"EXT_color_buffer_float\"): EXT_color_buffer_float | null;\n    getExtension(extensionName: \"EXT_color_buffer_half_float\"): EXT_color_buffer_half_float | null;\n    getExtension(extensionName: \"EXT_float_blend\"): EXT_float_blend | null;\n    getExtension(extensionName: \"EXT_frag_depth\"): EXT_frag_depth | null;\n    getExtension(extensionName: \"EXT_sRGB\"): EXT_sRGB | null;\n    getExtension(extensionName: \"EXT_shader_texture_lod\"): EXT_shader_texture_lod | null;\n    getExtension(extensionName: \"EXT_texture_compression_bptc\"): EXT_texture_compression_bptc | null;\n    getExtension(extensionName: \"EXT_texture_compression_rgtc\"): EXT_texture_compression_rgtc | null;\n    getExtension(extensionName: \"EXT_texture_filter_anisotropic\"): EXT_texture_filter_anisotropic | null;\n    getExtension(extensionName: \"KHR_parallel_shader_compile\"): KHR_parallel_shader_compile | null;\n    getExtension(extensionName: \"OES_element_index_uint\"): OES_element_index_uint | null;\n    getExtension(extensionName: \"OES_fbo_render_mipmap\"): OES_fbo_render_mipmap | null;\n    getExtension(extensionName: \"OES_standard_derivatives\"): OES_standard_derivatives | null;\n    getExtension(extensionName: \"OES_texture_float\"): OES_texture_float | null;\n    getExtension(extensionName: \"OES_texture_float_linear\"): OES_texture_float_linear | null;\n    getExtension(extensionName: \"OES_texture_half_float\"): OES_texture_half_float | null;\n    getExtension(extensionName: \"OES_texture_half_float_linear\"): OES_texture_half_float_linear | null;\n    getExtension(extensionName: \"OES_vertex_array_object\"): OES_vertex_array_object | null;\n    getExtension(extensionName: \"OVR_multiview2\"): OVR_multiview2 | null;\n    getExtension(extensionName: \"WEBGL_color_buffer_float\"): WEBGL_color_buffer_float | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_astc\"): WEBGL_compressed_texture_astc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_etc\"): WEBGL_compressed_texture_etc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_etc1\"): WEBGL_compressed_texture_etc1 | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc\"): WEBGL_compressed_texture_s3tc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc_srgb\"): WEBGL_compressed_texture_s3tc_srgb | null;\n    getExtension(extensionName: \"WEBGL_debug_renderer_info\"): WEBGL_debug_renderer_info | null;\n    getExtension(extensionName: \"WEBGL_debug_shaders\"): WEBGL_debug_shaders | null;\n    getExtension(extensionName: \"WEBGL_depth_texture\"): WEBGL_depth_texture | null;\n    getExtension(extensionName: \"WEBGL_draw_buffers\"): WEBGL_draw_buffers | null;\n    getExtension(extensionName: \"WEBGL_lose_context\"): WEBGL_lose_context | null;\n    getExtension(extensionName: \"WEBGL_multi_draw\"): WEBGL_multi_draw | null;\n    getExtension(name: string): any;\n    getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n    getParameter(pname: GLenum): any;\n    getProgramInfoLog(program: WebGLProgram): string | null;\n    getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n    getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n    getShaderInfoLog(shader: WebGLShader): string | null;\n    getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n    getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n    getShaderSource(shader: WebGLShader): string | null;\n    getSupportedExtensions(): string[] | null;\n    getTexParameter(target: GLenum, pname: GLenum): any;\n    getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n    getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n    getVertexAttrib(index: GLuint, pname: GLenum): any;\n    getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n    hint(target: GLenum, mode: GLenum): void;\n    isBuffer(buffer: WebGLBuffer | null): GLboolean;\n    isContextLost(): boolean;\n    isEnabled(cap: GLenum): GLboolean;\n    isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n    isProgram(program: WebGLProgram | null): GLboolean;\n    isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n    isShader(shader: WebGLShader | null): GLboolean;\n    isTexture(texture: WebGLTexture | null): GLboolean;\n    lineWidth(width: GLfloat): void;\n    linkProgram(program: WebGLProgram): void;\n    pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n    polygonOffset(factor: GLfloat, units: GLfloat): void;\n    renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n    sampleCoverage(value: GLclampf, invert: GLboolean): void;\n    scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    shaderSource(shader: WebGLShader, source: string): void;\n    stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n    stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n    stencilMask(mask: GLuint): void;\n    stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n    stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n    stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n    texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n    texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n    uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n    uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n    uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n    uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n    uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n    uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n    uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n    uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n    useProgram(program: WebGLProgram | null): void;\n    validateProgram(program: WebGLProgram): void;\n    vertexAttrib1f(index: GLuint, x: GLfloat): void;\n    vertexAttrib1fv(index: GLuint, values: Float32List): void;\n    vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n    vertexAttrib2fv(index: GLuint, values: Float32List): void;\n    vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n    vertexAttrib3fv(index: GLuint, values: Float32List): void;\n    vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n    vertexAttrib4fv(index: GLuint, values: Float32List): void;\n    vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n    viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n    readonly DEPTH_BUFFER_BIT: 0x00000100;\n    readonly STENCIL_BUFFER_BIT: 0x00000400;\n    readonly COLOR_BUFFER_BIT: 0x00004000;\n    readonly POINTS: 0x0000;\n    readonly LINES: 0x0001;\n    readonly LINE_LOOP: 0x0002;\n    readonly LINE_STRIP: 0x0003;\n    readonly TRIANGLES: 0x0004;\n    readonly TRIANGLE_STRIP: 0x0005;\n    readonly TRIANGLE_FAN: 0x0006;\n    readonly ZERO: 0;\n    readonly ONE: 1;\n    readonly SRC_COLOR: 0x0300;\n    readonly ONE_MINUS_SRC_COLOR: 0x0301;\n    readonly SRC_ALPHA: 0x0302;\n    readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n    readonly DST_ALPHA: 0x0304;\n    readonly ONE_MINUS_DST_ALPHA: 0x0305;\n    readonly DST_COLOR: 0x0306;\n    readonly ONE_MINUS_DST_COLOR: 0x0307;\n    readonly SRC_ALPHA_SATURATE: 0x0308;\n    readonly FUNC_ADD: 0x8006;\n    readonly BLEND_EQUATION: 0x8009;\n    readonly BLEND_EQUATION_RGB: 0x8009;\n    readonly BLEND_EQUATION_ALPHA: 0x883D;\n    readonly FUNC_SUBTRACT: 0x800A;\n    readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n    readonly BLEND_DST_RGB: 0x80C8;\n    readonly BLEND_SRC_RGB: 0x80C9;\n    readonly BLEND_DST_ALPHA: 0x80CA;\n    readonly BLEND_SRC_ALPHA: 0x80CB;\n    readonly CONSTANT_COLOR: 0x8001;\n    readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n    readonly CONSTANT_ALPHA: 0x8003;\n    readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n    readonly BLEND_COLOR: 0x8005;\n    readonly ARRAY_BUFFER: 0x8892;\n    readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n    readonly ARRAY_BUFFER_BINDING: 0x8894;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n    readonly STREAM_DRAW: 0x88E0;\n    readonly STATIC_DRAW: 0x88E4;\n    readonly DYNAMIC_DRAW: 0x88E8;\n    readonly BUFFER_SIZE: 0x8764;\n    readonly BUFFER_USAGE: 0x8765;\n    readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n    readonly FRONT: 0x0404;\n    readonly BACK: 0x0405;\n    readonly FRONT_AND_BACK: 0x0408;\n    readonly CULL_FACE: 0x0B44;\n    readonly BLEND: 0x0BE2;\n    readonly DITHER: 0x0BD0;\n    readonly STENCIL_TEST: 0x0B90;\n    readonly DEPTH_TEST: 0x0B71;\n    readonly SCISSOR_TEST: 0x0C11;\n    readonly POLYGON_OFFSET_FILL: 0x8037;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n    readonly SAMPLE_COVERAGE: 0x80A0;\n    readonly NO_ERROR: 0;\n    readonly INVALID_ENUM: 0x0500;\n    readonly INVALID_VALUE: 0x0501;\n    readonly INVALID_OPERATION: 0x0502;\n    readonly OUT_OF_MEMORY: 0x0505;\n    readonly CW: 0x0900;\n    readonly CCW: 0x0901;\n    readonly LINE_WIDTH: 0x0B21;\n    readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n    readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n    readonly CULL_FACE_MODE: 0x0B45;\n    readonly FRONT_FACE: 0x0B46;\n    readonly DEPTH_RANGE: 0x0B70;\n    readonly DEPTH_WRITEMASK: 0x0B72;\n    readonly DEPTH_CLEAR_VALUE: 0x0B73;\n    readonly DEPTH_FUNC: 0x0B74;\n    readonly STENCIL_CLEAR_VALUE: 0x0B91;\n    readonly STENCIL_FUNC: 0x0B92;\n    readonly STENCIL_FAIL: 0x0B94;\n    readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n    readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n    readonly STENCIL_REF: 0x0B97;\n    readonly STENCIL_VALUE_MASK: 0x0B93;\n    readonly STENCIL_WRITEMASK: 0x0B98;\n    readonly STENCIL_BACK_FUNC: 0x8800;\n    readonly STENCIL_BACK_FAIL: 0x8801;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n    readonly STENCIL_BACK_REF: 0x8CA3;\n    readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n    readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n    readonly VIEWPORT: 0x0BA2;\n    readonly SCISSOR_BOX: 0x0C10;\n    readonly COLOR_CLEAR_VALUE: 0x0C22;\n    readonly COLOR_WRITEMASK: 0x0C23;\n    readonly UNPACK_ALIGNMENT: 0x0CF5;\n    readonly PACK_ALIGNMENT: 0x0D05;\n    readonly MAX_TEXTURE_SIZE: 0x0D33;\n    readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n    readonly SUBPIXEL_BITS: 0x0D50;\n    readonly RED_BITS: 0x0D52;\n    readonly GREEN_BITS: 0x0D53;\n    readonly BLUE_BITS: 0x0D54;\n    readonly ALPHA_BITS: 0x0D55;\n    readonly DEPTH_BITS: 0x0D56;\n    readonly STENCIL_BITS: 0x0D57;\n    readonly POLYGON_OFFSET_UNITS: 0x2A00;\n    readonly POLYGON_OFFSET_FACTOR: 0x8038;\n    readonly TEXTURE_BINDING_2D: 0x8069;\n    readonly SAMPLE_BUFFERS: 0x80A8;\n    readonly SAMPLES: 0x80A9;\n    readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n    readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n    readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n    readonly DONT_CARE: 0x1100;\n    readonly FASTEST: 0x1101;\n    readonly NICEST: 0x1102;\n    readonly GENERATE_MIPMAP_HINT: 0x8192;\n    readonly BYTE: 0x1400;\n    readonly UNSIGNED_BYTE: 0x1401;\n    readonly SHORT: 0x1402;\n    readonly UNSIGNED_SHORT: 0x1403;\n    readonly INT: 0x1404;\n    readonly UNSIGNED_INT: 0x1405;\n    readonly FLOAT: 0x1406;\n    readonly DEPTH_COMPONENT: 0x1902;\n    readonly ALPHA: 0x1906;\n    readonly RGB: 0x1907;\n    readonly RGBA: 0x1908;\n    readonly LUMINANCE: 0x1909;\n    readonly LUMINANCE_ALPHA: 0x190A;\n    readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n    readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n    readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n    readonly FRAGMENT_SHADER: 0x8B30;\n    readonly VERTEX_SHADER: 0x8B31;\n    readonly MAX_VERTEX_ATTRIBS: 0x8869;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n    readonly MAX_VARYING_VECTORS: 0x8DFC;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n    readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n    readonly SHADER_TYPE: 0x8B4F;\n    readonly DELETE_STATUS: 0x8B80;\n    readonly LINK_STATUS: 0x8B82;\n    readonly VALIDATE_STATUS: 0x8B83;\n    readonly ATTACHED_SHADERS: 0x8B85;\n    readonly ACTIVE_UNIFORMS: 0x8B86;\n    readonly ACTIVE_ATTRIBUTES: 0x8B89;\n    readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n    readonly CURRENT_PROGRAM: 0x8B8D;\n    readonly NEVER: 0x0200;\n    readonly LESS: 0x0201;\n    readonly EQUAL: 0x0202;\n    readonly LEQUAL: 0x0203;\n    readonly GREATER: 0x0204;\n    readonly NOTEQUAL: 0x0205;\n    readonly GEQUAL: 0x0206;\n    readonly ALWAYS: 0x0207;\n    readonly KEEP: 0x1E00;\n    readonly REPLACE: 0x1E01;\n    readonly INCR: 0x1E02;\n    readonly DECR: 0x1E03;\n    readonly INVERT: 0x150A;\n    readonly INCR_WRAP: 0x8507;\n    readonly DECR_WRAP: 0x8508;\n    readonly VENDOR: 0x1F00;\n    readonly RENDERER: 0x1F01;\n    readonly VERSION: 0x1F02;\n    readonly NEAREST: 0x2600;\n    readonly LINEAR: 0x2601;\n    readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n    readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n    readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n    readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n    readonly TEXTURE_MAG_FILTER: 0x2800;\n    readonly TEXTURE_MIN_FILTER: 0x2801;\n    readonly TEXTURE_WRAP_S: 0x2802;\n    readonly TEXTURE_WRAP_T: 0x2803;\n    readonly TEXTURE_2D: 0x0DE1;\n    readonly TEXTURE: 0x1702;\n    readonly TEXTURE_CUBE_MAP: 0x8513;\n    readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n    readonly TEXTURE0: 0x84C0;\n    readonly TEXTURE1: 0x84C1;\n    readonly TEXTURE2: 0x84C2;\n    readonly TEXTURE3: 0x84C3;\n    readonly TEXTURE4: 0x84C4;\n    readonly TEXTURE5: 0x84C5;\n    readonly TEXTURE6: 0x84C6;\n    readonly TEXTURE7: 0x84C7;\n    readonly TEXTURE8: 0x84C8;\n    readonly TEXTURE9: 0x84C9;\n    readonly TEXTURE10: 0x84CA;\n    readonly TEXTURE11: 0x84CB;\n    readonly TEXTURE12: 0x84CC;\n    readonly TEXTURE13: 0x84CD;\n    readonly TEXTURE14: 0x84CE;\n    readonly TEXTURE15: 0x84CF;\n    readonly TEXTURE16: 0x84D0;\n    readonly TEXTURE17: 0x84D1;\n    readonly TEXTURE18: 0x84D2;\n    readonly TEXTURE19: 0x84D3;\n    readonly TEXTURE20: 0x84D4;\n    readonly TEXTURE21: 0x84D5;\n    readonly TEXTURE22: 0x84D6;\n    readonly TEXTURE23: 0x84D7;\n    readonly TEXTURE24: 0x84D8;\n    readonly TEXTURE25: 0x84D9;\n    readonly TEXTURE26: 0x84DA;\n    readonly TEXTURE27: 0x84DB;\n    readonly TEXTURE28: 0x84DC;\n    readonly TEXTURE29: 0x84DD;\n    readonly TEXTURE30: 0x84DE;\n    readonly TEXTURE31: 0x84DF;\n    readonly ACTIVE_TEXTURE: 0x84E0;\n    readonly REPEAT: 0x2901;\n    readonly CLAMP_TO_EDGE: 0x812F;\n    readonly MIRRORED_REPEAT: 0x8370;\n    readonly FLOAT_VEC2: 0x8B50;\n    readonly FLOAT_VEC3: 0x8B51;\n    readonly FLOAT_VEC4: 0x8B52;\n    readonly INT_VEC2: 0x8B53;\n    readonly INT_VEC3: 0x8B54;\n    readonly INT_VEC4: 0x8B55;\n    readonly BOOL: 0x8B56;\n    readonly BOOL_VEC2: 0x8B57;\n    readonly BOOL_VEC3: 0x8B58;\n    readonly BOOL_VEC4: 0x8B59;\n    readonly FLOAT_MAT2: 0x8B5A;\n    readonly FLOAT_MAT3: 0x8B5B;\n    readonly FLOAT_MAT4: 0x8B5C;\n    readonly SAMPLER_2D: 0x8B5E;\n    readonly SAMPLER_CUBE: 0x8B60;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n    readonly COMPILE_STATUS: 0x8B81;\n    readonly LOW_FLOAT: 0x8DF0;\n    readonly MEDIUM_FLOAT: 0x8DF1;\n    readonly HIGH_FLOAT: 0x8DF2;\n    readonly LOW_INT: 0x8DF3;\n    readonly MEDIUM_INT: 0x8DF4;\n    readonly HIGH_INT: 0x8DF5;\n    readonly FRAMEBUFFER: 0x8D40;\n    readonly RENDERBUFFER: 0x8D41;\n    readonly RGBA4: 0x8056;\n    readonly RGB5_A1: 0x8057;\n    readonly RGB565: 0x8D62;\n    readonly DEPTH_COMPONENT16: 0x81A5;\n    readonly STENCIL_INDEX8: 0x8D48;\n    readonly DEPTH_STENCIL: 0x84F9;\n    readonly RENDERBUFFER_WIDTH: 0x8D42;\n    readonly RENDERBUFFER_HEIGHT: 0x8D43;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n    readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n    readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n    readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n    readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n    readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n    readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n    readonly COLOR_ATTACHMENT0: 0x8CE0;\n    readonly DEPTH_ATTACHMENT: 0x8D00;\n    readonly STENCIL_ATTACHMENT: 0x8D20;\n    readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n    readonly NONE: 0;\n    readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n    readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n    readonly FRAMEBUFFER_BINDING: 0x8CA6;\n    readonly RENDERBUFFER_BINDING: 0x8CA7;\n    readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n    readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n    readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n    readonly CONTEXT_LOST_WEBGL: 0x9242;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n    readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n}\n\ninterface WebGLRenderingContextOverloads {\n    bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n    bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n    bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n    compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n    compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n    readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n    texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n    uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n    uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler {\n}\n\ndeclare var WebGLSampler: {\n    prototype: WebGLSampler;\n    new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader {\n}\n\ndeclare var WebGLShader: {\n    prototype: WebGLShader;\n    new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n    readonly precision: GLint;\n    readonly rangeMax: GLint;\n    readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n    prototype: WebGLShaderPrecisionFormat;\n    new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync {\n}\n\ndeclare var WebGLSync: {\n    prototype: WebGLSync;\n    new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture {\n}\n\ndeclare var WebGLTexture: {\n    prototype: WebGLTexture;\n    new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback {\n}\n\ndeclare var WebGLTransformFeedback: {\n    prototype: WebGLTransformFeedback;\n    new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n    prototype: WebGLUniformLocation;\n    new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n    prototype: WebGLVertexArrayObject;\n    new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES {\n}\n\ninterface WebSocketEventMap {\n    \"close\": CloseEvent;\n    \"error\": Event;\n    \"message\": MessageEvent;\n    \"open\": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n    /**\n     * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n     *\n     * Can be set, to change how binary data is returned. The default is \"blob\".\n     */\n    binaryType: BinaryType;\n    /**\n     * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n     *\n     * If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n     */\n    readonly bufferedAmount: number;\n    /** Returns the extensions selected by the server, if any. */\n    readonly extensions: string;\n    onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n    onerror: ((this: WebSocket, ev: Event) => any) | null;\n    onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n    onopen: ((this: WebSocket, ev: Event) => any) | null;\n    /** Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation. */\n    readonly protocol: string;\n    /** Returns the state of the WebSocket object's connection. It can have the values described below. */\n    readonly readyState: number;\n    /** Returns the URL that was used to establish the WebSocket connection. */\n    readonly url: string;\n    /** Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. */\n    close(code?: number, reason?: string): void;\n    /** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */\n    send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSING: 2;\n    readonly CLOSED: 3;\n    addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n    prototype: WebSocket;\n    new(url: string | URL, protocols?: string | string[]): WebSocket;\n    readonly CONNECTING: 0;\n    readonly OPEN: 1;\n    readonly CLOSING: 2;\n    readonly CLOSED: 3;\n};\n\n/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */\ninterface WindowClient extends Client {\n    readonly focused: boolean;\n    readonly visibilityState: DocumentVisibilityState;\n    focus(): Promise<WindowClient>;\n    navigate(url: string | URL): Promise<WindowClient | null>;\n}\n\ndeclare var WindowClient: {\n    prototype: WindowClient;\n    new(): WindowClient;\n};\n\ninterface WindowOrWorkerGlobalScope {\n    /** Available only in secure contexts. */\n    readonly caches: CacheStorage;\n    readonly crossOriginIsolated: boolean;\n    readonly crypto: Crypto;\n    readonly indexedDB: IDBFactory;\n    readonly isSecureContext: boolean;\n    readonly origin: string;\n    readonly performance: Performance;\n    atob(data: string): string;\n    btoa(data: string): string;\n    clearInterval(id: number | undefined): void;\n    clearTimeout(id: number | undefined): void;\n    createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n    createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n    fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\n    queueMicrotask(callback: VoidFunction): void;\n    reportError(e: any): void;\n    setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n    setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n    structuredClone(value: any, options?: StructuredSerializeOptions): any;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n    \"message\": MessageEvent;\n    \"messageerror\": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n    onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n    onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n    /** Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned. */\n    postMessage(message: any, transfer: Transferable[]): void;\n    postMessage(message: any, options?: StructuredSerializeOptions): void;\n    /** Aborts worker's associated global environment. */\n    terminate(): void;\n    addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n    prototype: Worker;\n    new(scriptURL: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface WorkerGlobalScopeEventMap {\n    \"error\": ErrorEvent;\n    \"languagechange\": Event;\n    \"offline\": Event;\n    \"online\": Event;\n    \"rejectionhandled\": PromiseRejectionEvent;\n    \"unhandledrejection\": PromiseRejectionEvent;\n}\n\n/** This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects \\u2014 in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. */\ninterface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {\n    /** Returns workerGlobal's WorkerLocation object. */\n    readonly location: WorkerLocation;\n    /** Returns workerGlobal's WorkerNavigator object. */\n    readonly navigator: WorkerNavigator;\n    onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;\n    onlanguagechange: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n    onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n    ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n    onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n    onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n    /** Returns workerGlobal. */\n    readonly self: WorkerGlobalScope & typeof globalThis;\n    /** Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). */\n    importScripts(...urls: (string | URL)[]): void;\n    addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WorkerGlobalScope: {\n    prototype: WorkerGlobalScope;\n    new(): WorkerGlobalScope;\n};\n\n/** The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location. */\ninterface WorkerLocation {\n    readonly hash: string;\n    readonly host: string;\n    readonly hostname: string;\n    readonly href: string;\n    toString(): string;\n    readonly origin: string;\n    readonly pathname: string;\n    readonly port: string;\n    readonly protocol: string;\n    readonly search: string;\n}\n\ndeclare var WorkerLocation: {\n    prototype: WorkerLocation;\n    new(): WorkerLocation;\n};\n\n/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */\ninterface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorStorage {\n    readonly mediaCapabilities: MediaCapabilities;\n}\n\ndeclare var WorkerNavigator: {\n    prototype: WorkerNavigator;\n    new(): WorkerNavigator;\n};\n\n/** This Streams API interface provides\\xA0a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n    readonly locked: boolean;\n    abort(reason?: any): Promise<void>;\n    close(): Promise<void>;\n    getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n    prototype: WritableStream;\n    new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a\\xA0WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n    readonly signal: AbortSignal;\n    error(e?: any): void;\n}\n\ndeclare var WritableStreamDefaultController: {\n    prototype: WritableStreamDefaultController;\n    new(): WritableStreamDefaultController;\n};\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n    readonly closed: Promise<undefined>;\n    readonly desiredSize: number | null;\n    readonly ready: Promise<undefined>;\n    abort(reason?: any): Promise<void>;\n    close(): Promise<void>;\n    releaseLock(): void;\n    write(chunk?: W): Promise<void>;\n}\n\ndeclare var WritableStreamDefaultWriter: {\n    prototype: WritableStreamDefaultWriter;\n    new<W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;\n};\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n    \"readystatechange\": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n    onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n    /** Returns client's state. */\n    readonly readyState: number;\n    /** Returns the response body. */\n    readonly response: any;\n    /**\n     * Returns response as text.\n     *\n     * Throws an \"InvalidStateError\" DOMException if responseType is not the empty string or \"text\".\n     */\n    readonly responseText: string;\n    /**\n     * Returns the response type.\n     *\n     * Can be set to change the response type. Values are: the empty string (default), \"arraybuffer\", \"blob\", \"document\", \"json\", and \"text\".\n     *\n     * When set: setting to \"document\" is ignored if current global object is not a Window object.\n     *\n     * When set: throws an \"InvalidStateError\" DOMException if state is loading or done.\n     *\n     * When set: throws an \"InvalidAccessError\" DOMException if the synchronous flag is set and current global object is a Window object.\n     */\n    responseType: XMLHttpRequestResponseType;\n    readonly responseURL: string;\n    readonly status: number;\n    readonly statusText: string;\n    /**\n     * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and this's synchronous flag is unset, a timeout event will then be dispatched, or a \"TimeoutError\" DOMException will be thrown otherwise (for the send() method).\n     *\n     * When set: throws an \"InvalidAccessError\" DOMException if the synchronous flag is set and current global object is a Window object.\n     */\n    timeout: number;\n    /** Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server. */\n    readonly upload: XMLHttpRequestUpload;\n    /**\n     * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n     *\n     * When set: throws an \"InvalidStateError\" DOMException if state is not unsent or opened, or if the send() flag is set.\n     */\n    withCredentials: boolean;\n    /** Cancels any network activity. */\n    abort(): void;\n    getAllResponseHeaders(): string;\n    getResponseHeader(name: string): string | null;\n    /**\n     * Sets the request method, request URL, and synchronous flag.\n     *\n     * Throws a \"SyntaxError\" DOMException if either method is not a valid method or url cannot be parsed.\n     *\n     * Throws a \"SecurityError\" DOMException if method is a case-insensitive match for \\`CONNECT\\`, \\`TRACE\\`, or \\`TRACK\\`.\n     *\n     * Throws an \"InvalidAccessError\" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n     */\n    open(method: string, url: string | URL): void;\n    open(method: string, url: string | URL, async: boolean, username?: string | null, password?: string | null): void;\n    /**\n     * Acts as if the \\`Content-Type\\` header value for a response is mime. (It does not change the header.)\n     *\n     * Throws an \"InvalidStateError\" DOMException if state is loading or done.\n     */\n    overrideMimeType(mime: string): void;\n    /**\n     * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n     *\n     * Throws an \"InvalidStateError\" DOMException if either state is not opened or the send() flag is set.\n     */\n    send(body?: XMLHttpRequestBodyInit | null): void;\n    /**\n     * Combines a header in author request headers.\n     *\n     * Throws an \"InvalidStateError\" DOMException if either state is not opened or the send() flag is set.\n     *\n     * Throws a \"SyntaxError\" DOMException if name is not a header name or if value is not a header value.\n     */\n    setRequestHeader(name: string, value: string): void;\n    readonly UNSENT: 0;\n    readonly OPENED: 1;\n    readonly HEADERS_RECEIVED: 2;\n    readonly LOADING: 3;\n    readonly DONE: 4;\n    addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n    prototype: XMLHttpRequest;\n    new(): XMLHttpRequest;\n    readonly UNSENT: 0;\n    readonly OPENED: 1;\n    readonly HEADERS_RECEIVED: 2;\n    readonly LOADING: 3;\n    readonly DONE: 4;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n    \"abort\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"error\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"load\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"loadend\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"loadstart\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"progress\": ProgressEvent<XMLHttpRequestEventTarget>;\n    \"timeout\": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n    onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n    addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n    prototype: XMLHttpRequestEventTarget;\n    new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n    addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n    prototype: XMLHttpRequestUpload;\n    new(): XMLHttpRequestUpload;\n};\n\ninterface Console {\n    assert(condition?: boolean, ...data: any[]): void;\n    clear(): void;\n    count(label?: string): void;\n    countReset(label?: string): void;\n    debug(...data: any[]): void;\n    dir(item?: any, options?: any): void;\n    dirxml(...data: any[]): void;\n    error(...data: any[]): void;\n    group(...data: any[]): void;\n    groupCollapsed(...data: any[]): void;\n    groupEnd(): void;\n    info(...data: any[]): void;\n    log(...data: any[]): void;\n    table(tabularData?: any, properties?: string[]): void;\n    time(label?: string): void;\n    timeEnd(label?: string): void;\n    timeLog(label?: string, ...data: any[]): void;\n    timeStamp(label?: string): void;\n    trace(...data: any[]): void;\n    warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\ndeclare namespace WebAssembly {\n    interface CompileError extends Error {\n    }\n\n    var CompileError: {\n        prototype: CompileError;\n        new(message?: string): CompileError;\n        (message?: string): CompileError;\n    };\n\n    interface Global {\n        value: any;\n        valueOf(): any;\n    }\n\n    var Global: {\n        prototype: Global;\n        new(descriptor: GlobalDescriptor, v?: any): Global;\n    };\n\n    interface Instance {\n        readonly exports: Exports;\n    }\n\n    var Instance: {\n        prototype: Instance;\n        new(module: Module, importObject?: Imports): Instance;\n    };\n\n    interface LinkError extends Error {\n    }\n\n    var LinkError: {\n        prototype: LinkError;\n        new(message?: string): LinkError;\n        (message?: string): LinkError;\n    };\n\n    interface Memory {\n        readonly buffer: ArrayBuffer;\n        grow(delta: number): number;\n    }\n\n    var Memory: {\n        prototype: Memory;\n        new(descriptor: MemoryDescriptor): Memory;\n    };\n\n    interface Module {\n    }\n\n    var Module: {\n        prototype: Module;\n        new(bytes: BufferSource): Module;\n        customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n        exports(moduleObject: Module): ModuleExportDescriptor[];\n        imports(moduleObject: Module): ModuleImportDescriptor[];\n    };\n\n    interface RuntimeError extends Error {\n    }\n\n    var RuntimeError: {\n        prototype: RuntimeError;\n        new(message?: string): RuntimeError;\n        (message?: string): RuntimeError;\n    };\n\n    interface Table {\n        readonly length: number;\n        get(index: number): any;\n        grow(delta: number, value?: any): number;\n        set(index: number, value?: any): void;\n    }\n\n    var Table: {\n        prototype: Table;\n        new(descriptor: TableDescriptor, value?: any): Table;\n    };\n\n    interface GlobalDescriptor {\n        mutable?: boolean;\n        value: ValueType;\n    }\n\n    interface MemoryDescriptor {\n        initial: number;\n        maximum?: number;\n        shared?: boolean;\n    }\n\n    interface ModuleExportDescriptor {\n        kind: ImportExportKind;\n        name: string;\n    }\n\n    interface ModuleImportDescriptor {\n        kind: ImportExportKind;\n        module: string;\n        name: string;\n    }\n\n    interface TableDescriptor {\n        element: TableKind;\n        initial: number;\n        maximum?: number;\n    }\n\n    interface WebAssemblyInstantiatedSource {\n        instance: Instance;\n        module: Module;\n    }\n\n    type ImportExportKind = \"function\" | \"global\" | \"memory\" | \"table\";\n    type TableKind = \"anyfunc\" | \"externref\";\n    type ValueType = \"anyfunc\" | \"externref\" | \"f32\" | \"f64\" | \"i32\" | \"i64\" | \"v128\";\n    type ExportValue = Function | Global | Memory | Table;\n    type Exports = Record<string, ExportValue>;\n    type ImportValue = ExportValue | number;\n    type Imports = Record<string, ModuleImports>;\n    type ModuleImports = Record<string, ImportValue>;\n    function compile(bytes: BufferSource): Promise<Module>;\n    function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;\n    function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n    function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n    function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n    function validate(bytes: BufferSource): boolean;\n}\n\ninterface FrameRequestCallback {\n    (time: DOMHighResTimeStamp): void;\n}\n\ninterface LockGrantedCallback {\n    (lock: Lock | null): any;\n}\n\ninterface OnErrorEventHandlerNonNull {\n    (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n    (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface QueuingStrategySize<T = any> {\n    (chunk: T): number;\n}\n\ninterface TransformerFlushCallback<O> {\n    (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformerStartCallback<O> {\n    (controller: TransformStreamDefaultController<O>): any;\n}\n\ninterface TransformerTransformCallback<I, O> {\n    (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkAbortCallback {\n    (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkCloseCallback {\n    (): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSinkStartCallback {\n    (controller: WritableStreamDefaultController): any;\n}\n\ninterface UnderlyingSinkWriteCallback<W> {\n    (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceCancelCallback {\n    (reason?: any): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourcePullCallback<R> {\n    (controller: ReadableStreamController<R>): void | PromiseLike<void>;\n}\n\ninterface UnderlyingSourceStartCallback<R> {\n    (controller: ReadableStreamController<R>): any;\n}\n\ninterface VoidFunction {\n    (): void;\n}\n\n/** Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging. */\ndeclare var name: string;\ndeclare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n/** Aborts dedicatedWorkerGlobal. */\ndeclare function close(): void;\n/** Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned. */\ndeclare function postMessage(message: any, transfer: Transferable[]): void;\ndeclare function postMessage(message: any, options?: StructuredSerializeOptions): void;\n/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */\ndeclare function dispatchEvent(event: Event): boolean;\n/** Returns workerGlobal's WorkerLocation object. */\ndeclare var location: WorkerLocation;\n/** Returns workerGlobal's WorkerNavigator object. */\ndeclare var navigator: WorkerNavigator;\ndeclare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;\ndeclare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n/** Returns workerGlobal. */\ndeclare var self: WorkerGlobalScope & typeof globalThis;\n/** Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). */\ndeclare function importScripts(...urls: (string | URL)[]): void;\n/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var fonts: FontFaceSet;\n/** Available only in secure contexts. */\ndeclare var caches: CacheStorage;\ndeclare var crossOriginIsolated: boolean;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(id: number | undefined): void;\ndeclare function clearTimeout(id: number | undefined): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function reportError(e: any): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function structuredClone(value: any, options?: StructuredSerializeOptions): any;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare function addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype AlgorithmIdentifier = Algorithm | string;\ntype BigInteger = Uint8Array;\ntype BinaryData = ArrayBuffer | ArrayBufferView;\ntype BlobPart = BufferSource | Blob | string;\ntype BodyInit = ReadableStream | XMLHttpRequestBodyInit;\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype CanvasImageSource = ImageBitmap | OffscreenCanvas;\ntype DOMHighResTimeStamp = number;\ntype EpochTimeStamp = number;\ntype EventListenerOrEventListenerObject = EventListener | EventListenerObject;\ntype Float32List = Float32Array | GLfloat[];\ntype FormDataEntryValue = File | string;\ntype GLbitfield = number;\ntype GLboolean = boolean;\ntype GLclampf = number;\ntype GLenum = number;\ntype GLfloat = number;\ntype GLint = number;\ntype GLint64 = number;\ntype GLintptr = number;\ntype GLsizei = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLuint64 = number;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype HeadersInit = [string, string][] | Record<string, string> | Headers;\ntype IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype Int32List = Int32Array | GLint[];\ntype MessageEventSource = MessagePort | ServiceWorker;\ntype NamedCurve = string;\ntype OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype PushMessageDataInit = BufferSource | string;\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;\ntype TimerHandler = string | Function;\ntype Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;\ntype Uint32List = Uint32Array | GLuint[];\ntype VibratePattern = number | number[];\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype BinaryType = \"arraybuffer\" | \"blob\";\ntype CanvasDirection = \"inherit\" | \"ltr\" | \"rtl\";\ntype CanvasFillRule = \"evenodd\" | \"nonzero\";\ntype CanvasFontKerning = \"auto\" | \"none\" | \"normal\";\ntype CanvasFontStretch = \"condensed\" | \"expanded\" | \"extra-condensed\" | \"extra-expanded\" | \"normal\" | \"semi-condensed\" | \"semi-expanded\" | \"ultra-condensed\" | \"ultra-expanded\";\ntype CanvasFontVariantCaps = \"all-petite-caps\" | \"all-small-caps\" | \"normal\" | \"petite-caps\" | \"small-caps\" | \"titling-caps\" | \"unicase\";\ntype CanvasLineCap = \"butt\" | \"round\" | \"square\";\ntype CanvasLineJoin = \"bevel\" | \"miter\" | \"round\";\ntype CanvasTextAlign = \"center\" | \"end\" | \"left\" | \"right\" | \"start\";\ntype CanvasTextBaseline = \"alphabetic\" | \"bottom\" | \"hanging\" | \"ideographic\" | \"middle\" | \"top\";\ntype CanvasTextRendering = \"auto\" | \"geometricPrecision\" | \"optimizeLegibility\" | \"optimizeSpeed\";\ntype ClientTypes = \"all\" | \"sharedworker\" | \"window\" | \"worker\";\ntype ColorGamut = \"p3\" | \"rec2020\" | \"srgb\";\ntype ColorSpaceConversion = \"default\" | \"none\";\ntype DocumentVisibilityState = \"hidden\" | \"visible\";\ntype EndingType = \"native\" | \"transparent\";\ntype FileSystemHandleKind = \"directory\" | \"file\";\ntype FontDisplay = \"auto\" | \"block\" | \"fallback\" | \"optional\" | \"swap\";\ntype FontFaceLoadStatus = \"error\" | \"loaded\" | \"loading\" | \"unloaded\";\ntype FontFaceSetLoadStatus = \"loaded\" | \"loading\";\ntype FrameType = \"auxiliary\" | \"nested\" | \"none\" | \"top-level\";\ntype GlobalCompositeOperation = \"color\" | \"color-burn\" | \"color-dodge\" | \"copy\" | \"darken\" | \"destination-atop\" | \"destination-in\" | \"destination-out\" | \"destination-over\" | \"difference\" | \"exclusion\" | \"hard-light\" | \"hue\" | \"lighten\" | \"lighter\" | \"luminosity\" | \"multiply\" | \"overlay\" | \"saturation\" | \"screen\" | \"soft-light\" | \"source-atop\" | \"source-in\" | \"source-out\" | \"source-over\" | \"xor\";\ntype HdrMetadataType = \"smpteSt2086\" | \"smpteSt2094-10\" | \"smpteSt2094-40\";\ntype IDBCursorDirection = \"next\" | \"nextunique\" | \"prev\" | \"prevunique\";\ntype IDBRequestReadyState = \"done\" | \"pending\";\ntype IDBTransactionDurability = \"default\" | \"relaxed\" | \"strict\";\ntype IDBTransactionMode = \"readonly\" | \"readwrite\" | \"versionchange\";\ntype ImageOrientation = \"flipY\" | \"from-image\";\ntype ImageSmoothingQuality = \"high\" | \"low\" | \"medium\";\ntype KeyFormat = \"jwk\" | \"pkcs8\" | \"raw\" | \"spki\";\ntype KeyType = \"private\" | \"public\" | \"secret\";\ntype KeyUsage = \"decrypt\" | \"deriveBits\" | \"deriveKey\" | \"encrypt\" | \"sign\" | \"unwrapKey\" | \"verify\" | \"wrapKey\";\ntype LockMode = \"exclusive\" | \"shared\";\ntype MediaDecodingType = \"file\" | \"media-source\" | \"webrtc\";\ntype MediaEncodingType = \"record\" | \"webrtc\";\ntype NotificationDirection = \"auto\" | \"ltr\" | \"rtl\";\ntype NotificationPermission = \"default\" | \"denied\" | \"granted\";\ntype OffscreenRenderingContextId = \"2d\" | \"bitmaprenderer\" | \"webgl\" | \"webgl2\" | \"webgpu\";\ntype PermissionName = \"geolocation\" | \"notifications\" | \"persistent-storage\" | \"push\" | \"screen-wake-lock\" | \"xr-spatial-tracking\";\ntype PermissionState = \"denied\" | \"granted\" | \"prompt\";\ntype PredefinedColorSpace = \"display-p3\" | \"srgb\";\ntype PremultiplyAlpha = \"default\" | \"none\" | \"premultiply\";\ntype PushEncryptionKeyName = \"auth\" | \"p256dh\";\ntype RTCEncodedVideoFrameType = \"delta\" | \"empty\" | \"key\";\ntype ReadableStreamReaderMode = \"byob\";\ntype ReadableStreamType = \"bytes\";\ntype ReferrerPolicy = \"\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\";\ntype RequestCache = \"default\" | \"force-cache\" | \"no-cache\" | \"no-store\" | \"only-if-cached\" | \"reload\";\ntype RequestCredentials = \"include\" | \"omit\" | \"same-origin\";\ntype RequestDestination = \"\" | \"audio\" | \"audioworklet\" | \"document\" | \"embed\" | \"font\" | \"frame\" | \"iframe\" | \"image\" | \"manifest\" | \"object\" | \"paintworklet\" | \"report\" | \"script\" | \"sharedworker\" | \"style\" | \"track\" | \"video\" | \"worker\" | \"xslt\";\ntype RequestMode = \"cors\" | \"navigate\" | \"no-cors\" | \"same-origin\";\ntype RequestRedirect = \"error\" | \"follow\" | \"manual\";\ntype ResizeQuality = \"high\" | \"low\" | \"medium\" | \"pixelated\";\ntype ResponseType = \"basic\" | \"cors\" | \"default\" | \"error\" | \"opaque\" | \"opaqueredirect\";\ntype SecurityPolicyViolationEventDisposition = \"enforce\" | \"report\";\ntype ServiceWorkerState = \"activated\" | \"activating\" | \"installed\" | \"installing\" | \"parsed\" | \"redundant\";\ntype ServiceWorkerUpdateViaCache = \"all\" | \"imports\" | \"none\";\ntype TransferFunction = \"hlg\" | \"pq\" | \"srgb\";\ntype VideoColorPrimaries = \"bt470bg\" | \"bt709\" | \"smpte170m\";\ntype VideoMatrixCoefficients = \"bt470bg\" | \"bt709\" | \"rgb\" | \"smpte170m\";\ntype VideoTransferCharacteristics = \"bt709\" | \"iec61966-2-1\" | \"smpte170m\";\ntype WebGLPowerPreference = \"default\" | \"high-performance\" | \"low-power\";\ntype WorkerType = \"classic\" | \"module\";\ntype XMLHttpRequestResponseType = \"\" | \"arraybuffer\" | \"blob\" | \"document\" | \"json\" | \"text\";\n`;\n  libFileMap[\"lib.webworker.importscripts.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n\\n/////////////////////////////\\n/// WorkerGlobalScope APIs\\n/////////////////////////////\\n// These are only available in a Web Worker\\ndeclare function importScripts(...urls: string[]): void;\\n';\n  libFileMap[\"lib.webworker.iterable.d.ts\"] = '/*! *****************************************************************************\\nCopyright (c) Microsoft Corporation. All rights reserved.\\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\\nthis file except in compliance with the License. You may obtain a copy of the\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\n\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\n\\nSee the Apache Version 2.0 License for specific language governing permissions\\nand limitations under the License.\\n***************************************************************************** */\\n\\n\\n/// <reference no-default-lib=\"true\"/>\\n\\n/////////////////////////////\\n/// Worker Iterable APIs\\n/////////////////////////////\\n\\ninterface Cache {\\n    addAll(requests: Iterable<RequestInfo>): Promise<void>;\\n}\\n\\ninterface CanvasPath {\\n    roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;\\n}\\n\\ninterface CanvasPathDrawingStyles {\\n    setLineDash(segments: Iterable<number>): void;\\n}\\n\\ninterface DOMStringList {\\n    [Symbol.iterator](): IterableIterator<string>;\\n}\\n\\ninterface FileList {\\n    [Symbol.iterator](): IterableIterator<File>;\\n}\\n\\ninterface FontFaceSet extends Set<FontFace> {\\n}\\n\\ninterface FormData {\\n    [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\\n    /** Returns an array of key, value pairs for every entry in the list. */\\n    entries(): IterableIterator<[string, FormDataEntryValue]>;\\n    /** Returns a list of keys in the list. */\\n    keys(): IterableIterator<string>;\\n    /** Returns a list of values in the list. */\\n    values(): IterableIterator<FormDataEntryValue>;\\n}\\n\\ninterface Headers {\\n    [Symbol.iterator](): IterableIterator<[string, string]>;\\n    /** Returns an iterator allowing to go through all key/value pairs contained in this object. */\\n    entries(): IterableIterator<[string, string]>;\\n    /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */\\n    keys(): IterableIterator<string>;\\n    /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */\\n    values(): IterableIterator<string>;\\n}\\n\\ninterface IDBDatabase {\\n    /** Returns a new transaction with the given mode (\"readonly\" or \"readwrite\") and scope which can be a single object store name or an array of names. */\\n    transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;\\n}\\n\\ninterface IDBObjectStore {\\n    /**\\n     * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a \"ConstraintError\" DOMException.\\n     *\\n     * Throws an \"InvalidStateError\" DOMException if not called within an upgrade transaction.\\n     */\\n    createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\\n}\\n\\ninterface MessageEvent<T = any> {\\n    /** @deprecated */\\n    initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;\\n}\\n\\ninterface SubtleCrypto {\\n    deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\\n    generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\\n    generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;\\n    importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;\\n    importKey(format: Exclude<KeyFormat, \"jwk\">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\\n    unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\\n}\\n\\ninterface URLSearchParams {\\n    [Symbol.iterator](): IterableIterator<[string, string]>;\\n    /** Returns an array of key, value pairs for every entry in the search params. */\\n    entries(): IterableIterator<[string, string]>;\\n    /** Returns a list of keys in the search params. */\\n    keys(): IterableIterator<string>;\\n    /** Returns a list of values in the search params. */\\n    values(): IterableIterator<string>;\\n}\\n\\ninterface WEBGL_draw_buffers {\\n    drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\\n}\\n\\ninterface WEBGL_multi_draw {\\n    multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\\n    multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;\\n    multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\\n    multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;\\n}\\n\\ninterface WebGL2RenderingContextBase {\\n    clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;\\n    clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;\\n    clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;\\n    drawBuffers(buffers: Iterable<GLenum>): void;\\n    getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\\n    getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;\\n    invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\\n    invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\\n    transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\\n    uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\\n    vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\\n}\\n\\ninterface WebGL2RenderingContextOverloads {\\n    uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\\n}\\n\\ninterface WebGLRenderingContextBase {\\n    vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\\n    vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\\n    vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\\n    vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\\n}\\n\\ninterface WebGLRenderingContextOverloads {\\n    uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\\n    uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\\n    uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\\n    uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\\n    uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\\n}\\n';\n  function fileNameIsLib(resource) {\n    if (typeof resource === \"string\") {\n      if (/^file:\\/\\/\\//.test(resource)) {\n        return !!libFileMap[resource.substr(8)];\n      }\n      return false;\n    }\n    if (resource.path.indexOf(\"/lib.\") === 0) {\n      return !!libFileMap[resource.path.slice(1)];\n    }\n    return false;\n  }\n  var TypeScriptWorker = class _TypeScriptWorker {\n    constructor(ctx, createData) {\n      this._extraLibs = /* @__PURE__ */ Object.create(null);\n      this._languageService = createLanguageService(this);\n      this._ctx = ctx;\n      this._compilerOptions = createData.compilerOptions;\n      this._extraLibs = createData.extraLibs;\n      this._inlayHintsOptions = createData.inlayHintsOptions;\n    }\n    // --- language service host ---------------\n    getCompilationSettings() {\n      return this._compilerOptions;\n    }\n    getLanguageService() {\n      return this._languageService;\n    }\n    getExtraLibs() {\n      return this._extraLibs;\n    }\n    getScriptFileNames() {\n      const allModels = this._ctx.getMirrorModels().map((model) => model.uri);\n      const models = allModels.filter((uri) => !fileNameIsLib(uri)).map((uri) => uri.toString());\n      return models.concat(Object.keys(this._extraLibs));\n    }\n    _getModel(fileName) {\n      let models = this._ctx.getMirrorModels();\n      for (let i = 0; i < models.length; i++) {\n        const uri = models[i].uri;\n        if (uri.toString() === fileName || uri.toString(true) === fileName) {\n          return models[i];\n        }\n      }\n      return null;\n    }\n    getScriptVersion(fileName) {\n      let model = this._getModel(fileName);\n      if (model) {\n        return model.version.toString();\n      } else if (this.isDefaultLibFileName(fileName)) {\n        return \"1\";\n      } else if (fileName in this._extraLibs) {\n        return String(this._extraLibs[fileName].version);\n      }\n      return \"\";\n    }\n    async getScriptText(fileName) {\n      return this._getScriptText(fileName);\n    }\n    _getScriptText(fileName) {\n      let text;\n      let model = this._getModel(fileName);\n      const libizedFileName = \"lib.\" + fileName + \".d.ts\";\n      if (model) {\n        text = model.getValue();\n      } else if (fileName in libFileMap) {\n        text = libFileMap[fileName];\n      } else if (libizedFileName in libFileMap) {\n        text = libFileMap[libizedFileName];\n      } else if (fileName in this._extraLibs) {\n        text = this._extraLibs[fileName].content;\n      } else {\n        return;\n      }\n      return text;\n    }\n    getScriptSnapshot(fileName) {\n      const text = this._getScriptText(fileName);\n      if (text === void 0) {\n        return;\n      }\n      return {\n        getText: (start, end) => text.substring(start, end),\n        getLength: () => text.length,\n        getChangeRange: () => void 0\n      };\n    }\n    getScriptKind(fileName) {\n      const suffix = fileName.substr(fileName.lastIndexOf(\".\") + 1);\n      switch (suffix) {\n        case \"ts\":\n          return ScriptKind.TS;\n        case \"tsx\":\n          return ScriptKind.TSX;\n        case \"js\":\n          return ScriptKind.JS;\n        case \"jsx\":\n          return ScriptKind.JSX;\n        default:\n          return this.getCompilationSettings().allowJs ? ScriptKind.JS : ScriptKind.TS;\n      }\n    }\n    getCurrentDirectory() {\n      return \"\";\n    }\n    getDefaultLibFileName(options) {\n      switch (options.target) {\n        case 99:\n          const esnext = \"lib.esnext.full.d.ts\";\n          if (esnext in libFileMap || esnext in this._extraLibs)\n            return esnext;\n        case 7:\n        case 6:\n        case 5:\n        case 4:\n        case 3:\n        case 2:\n        default:\n          const eslib = `lib.es${2013 + (options.target || 99)}.full.d.ts`;\n          if (eslib in libFileMap || eslib in this._extraLibs) {\n            return eslib;\n          }\n          return \"lib.es6.d.ts\";\n        case 1:\n        case 0:\n          return \"lib.d.ts\";\n      }\n    }\n    isDefaultLibFileName(fileName) {\n      return fileName === this.getDefaultLibFileName(this._compilerOptions);\n    }\n    readFile(path) {\n      return this._getScriptText(path);\n    }\n    fileExists(path) {\n      return this._getScriptText(path) !== void 0;\n    }\n    async getLibFiles() {\n      return libFileMap;\n    }\n    // --- language features\n    static clearFiles(tsDiagnostics) {\n      const diagnostics = [];\n      for (const tsDiagnostic of tsDiagnostics) {\n        const diagnostic = { ...tsDiagnostic };\n        diagnostic.file = diagnostic.file ? { fileName: diagnostic.file.fileName } : void 0;\n        if (tsDiagnostic.relatedInformation) {\n          diagnostic.relatedInformation = [];\n          for (const tsRelatedDiagnostic of tsDiagnostic.relatedInformation) {\n            const relatedDiagnostic = { ...tsRelatedDiagnostic };\n            relatedDiagnostic.file = relatedDiagnostic.file ? { fileName: relatedDiagnostic.file.fileName } : void 0;\n            diagnostic.relatedInformation.push(relatedDiagnostic);\n          }\n        }\n        diagnostics.push(diagnostic);\n      }\n      return diagnostics;\n    }\n    async getSyntacticDiagnostics(fileName) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      const diagnostics = this._languageService.getSyntacticDiagnostics(fileName);\n      return _TypeScriptWorker.clearFiles(diagnostics);\n    }\n    async getSemanticDiagnostics(fileName) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      const diagnostics = this._languageService.getSemanticDiagnostics(fileName);\n      return _TypeScriptWorker.clearFiles(diagnostics);\n    }\n    async getSuggestionDiagnostics(fileName) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      const diagnostics = this._languageService.getSuggestionDiagnostics(fileName);\n      return _TypeScriptWorker.clearFiles(diagnostics);\n    }\n    async getCompilerOptionsDiagnostics(fileName) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      const diagnostics = this._languageService.getCompilerOptionsDiagnostics();\n      return _TypeScriptWorker.clearFiles(diagnostics);\n    }\n    async getCompletionsAtPosition(fileName, position) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getCompletionsAtPosition(fileName, position, void 0);\n    }\n    async getCompletionEntryDetails(fileName, position, entry) {\n      return this._languageService.getCompletionEntryDetails(\n        fileName,\n        position,\n        entry,\n        void 0,\n        void 0,\n        void 0,\n        void 0\n      );\n    }\n    async getSignatureHelpItems(fileName, position, options) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getSignatureHelpItems(fileName, position, options);\n    }\n    async getQuickInfoAtPosition(fileName, position) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getQuickInfoAtPosition(fileName, position);\n    }\n    async getDocumentHighlights(fileName, position, filesToSearch) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getDocumentHighlights(fileName, position, filesToSearch);\n    }\n    async getDefinitionAtPosition(fileName, position) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getDefinitionAtPosition(fileName, position);\n    }\n    async getReferencesAtPosition(fileName, position) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getReferencesAtPosition(fileName, position);\n    }\n    async getNavigationTree(fileName) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.getNavigationTree(fileName);\n    }\n    async getFormattingEditsForDocument(fileName, options) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      return this._languageService.getFormattingEditsForDocument(fileName, options);\n    }\n    async getFormattingEditsForRange(fileName, start, end, options) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      return this._languageService.getFormattingEditsForRange(fileName, start, end, options);\n    }\n    async getFormattingEditsAfterKeystroke(fileName, postion, ch, options) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      return this._languageService.getFormattingEditsAfterKeystroke(fileName, postion, ch, options);\n    }\n    async findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename) {\n      if (fileNameIsLib(fileName)) {\n        return void 0;\n      }\n      return this._languageService.findRenameLocations(\n        fileName,\n        position,\n        findInStrings,\n        findInComments,\n        providePrefixAndSuffixTextForRename\n      );\n    }\n    async getRenameInfo(fileName, position, options) {\n      if (fileNameIsLib(fileName)) {\n        return { canRename: false, localizedErrorMessage: \"Cannot rename in lib file\" };\n      }\n      return this._languageService.getRenameInfo(fileName, position, options);\n    }\n    async getEmitOutput(fileName) {\n      if (fileNameIsLib(fileName)) {\n        return { outputFiles: [], emitSkipped: true };\n      }\n      return this._languageService.getEmitOutput(fileName);\n    }\n    async getCodeFixesAtPosition(fileName, start, end, errorCodes, formatOptions) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      const preferences = {};\n      try {\n        return this._languageService.getCodeFixesAtPosition(\n          fileName,\n          start,\n          end,\n          errorCodes,\n          formatOptions,\n          preferences\n        );\n      } catch {\n        return [];\n      }\n    }\n    async updateExtraLibs(extraLibs) {\n      this._extraLibs = extraLibs;\n    }\n    async provideInlayHints(fileName, start, end) {\n      if (fileNameIsLib(fileName)) {\n        return [];\n      }\n      const preferences = this._inlayHintsOptions ?? {};\n      const span = {\n        start,\n        length: end - start\n      };\n      try {\n        return this._languageService.provideInlayHints(fileName, span, preferences);\n      } catch {\n        return [];\n      }\n    }\n  };\n  function create(ctx, createData) {\n    let TSWorkerClass = TypeScriptWorker;\n    if (createData.customWorkerPath) {\n      if (typeof importScripts === \"undefined\") {\n        console.warn(\n          \"Monaco is not using webworkers for background tasks, and that is needed to support the customWorkerPath flag\"\n        );\n      } else {\n        self.importScripts(createData.customWorkerPath);\n        const workerFactoryFunc = self.customTSWorkerFactory;\n        if (!workerFactoryFunc) {\n          throw new Error(\n            `The script at ${createData.customWorkerPath} does not add customTSWorkerFactory to self`\n          );\n        }\n        TSWorkerClass = workerFactoryFunc(TypeScriptWorker, typescriptServices_exports, libFileMap);\n      }\n    }\n    return new TSWorkerClass(ctx, createData);\n  }\n  globalThis.ts = typescript;\n  self.onmessage = () => {\n    initialize((ctx, createData) => {\n      return create(ctx, createData);\n    });\n  };\n})();\n/*! Bundled license information:\n\nmonaco-editor/esm/vs/language/typescript/ts.worker.js:\n  (*!-----------------------------------------------------------------------------\n   * Copyright (c) Microsoft Corporation. All rights reserved.\n   * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)\n   * Released under the MIT license\n   * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n   *-----------------------------------------------------------------------------*)\n\nmonaco-editor/esm/vs/language/typescript/ts.worker.js:\n  (*! *****************************************************************************\n  Copyright (c) Microsoft Corporation. All rights reserved.\n  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\n  this file except in compliance with the License. You may obtain a copy of the\n  License at http://www.apache.org/licenses/LICENSE-2.0\n  \n  THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n  KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\n  WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\n  MERCHANTABLITY OR NON-INFRINGEMENT.\n  \n  See the Apache Version 2.0 License for specific language governing permissions\n  and limitations under the License.\n  ***************************************************************************** *)\n*/\n"
  },
  {
    "path": "backend/openui/dist/sw.js",
    "content": "if(!self.define){let e,s={};const r=(r,i)=>(r=new URL(r+\".js\",i).href,s[r]||new Promise((s=>{if(\"document\"in self){const e=document.createElement(\"script\");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(i,n)=>{const l=e||(\"document\"in self?document.currentScript.src:\"\")||location.href;if(s[l])return;let o={};const t=e=>r(e,l),u={module:{uri:l},exports:o,require:t};s[l]=Promise.all(i.map((e=>u[e]||t(e)))).then((e=>(n(...e),o)))}}define([\"./workbox-3e8df8c8\"],(function(e){\"use strict\";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:\"assets/babel-CqqbTYm7.js\",revision:null},{url:\"assets/CodeEditor-B1zwGt1y.css\",revision:null},{url:\"assets/CodeEditor-B9qhAAku.js\",revision:null},{url:\"assets/css-D1nB4Vcj.js\",revision:null},{url:\"assets/cssMode-CMP9zKWk.js\",revision:null},{url:\"assets/html-B2LDEzWk.js\",revision:null},{url:\"assets/html-B4dTfUY8.js\",revision:null},{url:\"assets/htmlMode-BZEeRbEQ.js\",revision:null},{url:\"assets/index-B7PjGjI7.js\",revision:null},{url:\"assets/index-CnQwS-Fb.css\",revision:null},{url:\"assets/index-DnTpCebm.js\",revision:null},{url:\"assets/javascript-BcV1SRi8.js\",revision:null},{url:\"assets/jsonMode-CWFvP3uU.js\",revision:null},{url:\"assets/markdown-7fQo6M4U.js\",revision:null},{url:\"assets/python-CsxvR8Mf.js\",revision:null},{url:\"assets/standalone-BS_cqyLa.js\",revision:null},{url:\"assets/tsMode-FcR9Jej8.js\",revision:null},{url:\"assets/typescript-BfKWl9Pr.js\",revision:null},{url:\"assets/yaml-DWuY8lcX.js\",revision:null},{url:\"index.html\",revision:\"a881e19cea2ef3c50a6e58d36984a866\"},{url:\"logo.html\",revision:\"1feff685e57903f47db0338c082a26bf\"},{url:\"monacoeditorwork/css.worker.bundle.js\",revision:\"eeec3da65efff7504d05f6406cf89b41\"},{url:\"monacoeditorwork/editor.worker.bundle.js\",revision:\"be61a9147e05e4547b149377c4712396\"},{url:\"monacoeditorwork/html.worker.bundle.js\",revision:\"73ddaae67c8d57928e59a79ad4bc3d29\"},{url:\"monacoeditorwork/json.worker.bundle.js\",revision:\"34fae1f0aa697a709e3d977749a04a09\"},{url:\"monacoeditorwork/tailwindcss.worker.bundle.js\",revision:\"94537df34f6e2fc4f81a540a433df7f0\"},{url:\"registerSW.js\",revision:\"1872c500de691dce40960bb85481de07\"},{url:\"android-chrome-192x192.png\",revision:\"eaf4520b1ec5faf4542d685e9189bc9f\"},{url:\"android-chrome-512x512.png\",revision:\"6e102092d3749b94851ac1ee4037359a\"},{url:\"manifest.webmanifest\",revision:\"1c486f0c42305f6ff105d0688762966c\"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL(\"index.html\"),{denylist:[/\\/openui\\/.*/,/\\/v1\\/.*/]}))}));\n"
  },
  {
    "path": "backend/openui/dist/workbox-3e8df8c8.js",
    "content": "define([\"exports\"],(function(t){\"use strict\";try{self[\"workbox:core:7.2.0\"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self[\"workbox:routing:7.2.0\"]&&_()}catch(t){}const n=t=>t&&\"object\"==typeof t?t:{handle:t};class i{constructor(t,e,s=\"GET\"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener(\"fetch\",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener(\"message\",(t=>{if(t.data&&\"CACHE_URLS\"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{\"string\"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith(\"http\"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||\"boolean\"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e=\"GET\"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s(\"unregister-route-but-not-found-with-method\",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s(\"unregister-route-route-not-registered\");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if(\"string\"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if(\"function\"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s(\"unsupported-route-type\",{moduleName:\"workbox-routing\",funcName:\"registerRoute\",paramName:\"capture\"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:\"googleAnalytics\",precache:\"precache-v2\",prefix:\"workbox\",runtime:\"runtime\",suffix:\"undefined\"!=typeof registration?registration.scope:\"\"},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join(\"-\"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self[\"workbox:precaching:7.2.0\"]&&_()}catch(t){}function p(t){if(!t)throw new s(\"add-to-cache-list-unexpected-type\",{entry:t});if(\"string\"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s(\"add-to-cache-list-unexpected-type\",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set(\"__WB_REVISION__\",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if(\"install\"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s(\"cross-origin-copy-response\",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response(\"\");if(\"body\"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const U=new Set;try{self[\"workbox:strategies:7.2.0\"]&&_()}catch(t){}function L(t){return\"string\"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if(\"navigate\"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback(\"fetchDidFail\")?n.clone():null;try{for(const t of this.iterateCallbacks(\"requestWillFetch\"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s(\"plugin-error-request-will-fetch\",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,\"navigate\"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks(\"fetchDidSucceed\"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks(\"fetchDidFail\",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,\"read\"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks(\"cachedResponseWillBeUsed\"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,\"write\");if(!e)throw new s(\"cache-put-with-no-response\",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),\"\"))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback(\"cacheDidUpdate\"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),[\"__WB_REVISION__\"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw\"QuotaExceededError\"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks(\"cacheDidUpdate\"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks(\"cacheKeyWillBeUsed\"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if(\"function\"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){let t;for(;t=this.R.shift();)await t}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks(\"cacheWillUpdate\"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s=\"string\"==typeof t.request?new Request(t.request):t.request,n=\"params\"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks(\"handlerWillStart\",{event:n,request:e});try{if(i=await this._(e,t),!i||\"error\"===i.type)throw new s(\"no-response\",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks(\"handlerDidError\"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks(\"handlerWillRespond\"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks(\"handlerDidRespond\",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks(\"handlerDidComplete\",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class E extends C{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(E.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&\"install\"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s(\"missing-precache-entry\",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:\"no-cors\"!==t.mode?r||s:void 0})),s&&o&&\"no-cors\"!==t.mode&&(this.k(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.k();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s(\"bad-precaching-response\",{url:t.url,status:n.status});return n}k(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==E.copyRedirectedCacheableResponsesPlugin&&(n===E.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(E.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}E.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},E.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class O{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.K=new Map,this.P=new Map,this.T=new Map,this.l=new E({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener(\"install\",this.install),self.addEventListener(\"activate\",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){\"string\"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r=\"string\"!=typeof n&&n.revision?\"reload\":\"default\";if(this.K.has(i)&&this.K.get(i)!==t)throw new s(\"add-to-cache-list-conflicting-entries\",{firstEntry:this.K.get(i),secondEntry:t});if(\"string\"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s(\"add-to-cache-list-conflicting-integrities\",{url:i});this.T.set(t,n.integrity)}if(this.K.set(i,t),this.P.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(\", \")}\\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,(async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.K){const n=this.T.get(s),i=this.P.get(e),r=new Request(e,{integrity:n,cache:i,credentials:\"same-origin\"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return d(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.K.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.K}getCachedURLs(){return[...this.K.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.K.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s(\"non-precached-url\",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let x;const N=()=>(x||(x=new O),x);class k extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s=\"index.html\",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash=\"\",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith(\"/\")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=\".html\",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.j(t)),t),this.M=e,this.S=s}j({url:t,request:e}){if(e&&\"navigate\"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.S)if(t.test(s))return!1;return!!this.M.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener(\"activate\",(t=>{const e=f();t.waitUntil((async(t,e=\"-precache-\")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener(\"activate\",(()=>self.clients.claim()))},t.createHandlerBoundToURL=function(t){return N().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){N().precache(t)}(t),function(t){const e=N();h(new k(e,t))}(e)},t.registerRoute=h}));\n"
  },
  {
    "path": "backend/openui/eval/.gitignore",
    "content": "wandb/\ndatasets/\ncomponents/"
  },
  {
    "path": "backend/openui/eval/__init__.py",
    "content": ""
  },
  {
    "path": "backend/openui/eval/dataset.py",
    "content": "import asyncio\nimport csv\nimport weave\nfrom weave import Dataset\nfrom pathlib import Path\nimport json\nimport sys\n\n\n# TODO: Maybe use this for finetuning\nasync def flowbite():\n    weave.init(\"openui-test-20\")\n\n    data_dir = Path(__file__).parent / \"components\"\n\n    ds = []\n    for file in sorted(data_dir.glob(\"*.json\")):\n        with open(file, \"r\") as f:\n            data = json.load(f)\n        abort = False\n        category = file.name.split(\".\")[0]\n        if category == \"avatar\":\n            print(\"Skipped \", category)\n            continue\n        for row in data:\n            if not row.get(\"names\"):\n                abort = True\n                print(\"Aborting!\")\n                break\n            source = row[\"name\"].lower().replace(\" \", \"-\")\n            for i, name in enumerate(row[\"names\"]):\n                ds.append(\n                    {\n                        \"name\": name,\n                        # hack for weirdly named folders.\n                        \"id\": f\"flowbite/{category.replace(' ', '-')}/{source}/{i}\",\n                        \"emoji\": row[\"emojis\"][i],\n                        \"prompt\": row[\"prompts\"][i],\n                        \"desktop_img\": f\"{category}/{source}.combined.png\",\n                        \"mobile_img\": f\"{category}/{source}.combined.mobile.png\",\n                    }\n                )\n        if abort:\n            break\n\n    dataset = Dataset(ds)\n    print(\"Created dataset of \", len(ds))\n    dataset_ref = weave.publish(dataset, \"flowbite\")\n    print(\"Published dataset:\", dataset_ref)\n\n\nasync def publish(model):\n    weave.init(\"openui-dev\")\n\n    ds_dir = Path(__file__).parent / \"datasets\"\n\n    if model:\n        with open(ds_dir / f\"{model}.json\", \"r\") as f:\n            ds = json.load(f)\n    else:\n        ds = []\n        with open(ds_dir / \"eval.csv\", \"r\") as f:\n            reader = csv.DictReader(f)\n            for row in reader:\n                ds.append(row)\n\n    dataset = Dataset(name=model or 'eval', rows=ds)\n    print(\"Created dataset of \", len(ds))\n    dataset_ref = weave.publish(dataset)\n    print(\"Published dataset:\", dataset_ref)\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) > 1:\n        model = sys.argv[1]\n    else:\n        model = None\n    asyncio.run(publish(model))\n"
  },
  {
    "path": "backend/openui/eval/evaluate.py",
    "content": "import asyncio\nimport sys\nimport textwrap\nfrom weave import Evaluation, Model\n\n# from .model import EvaluateQualityModel\nimport weave\nfrom pathlib import Path\nimport base64\nimport json\nfrom datetime import datetime\n\nlast: datetime | None = None\n\n\ndef pt(*args):\n    global last\n    now = datetime.now()\n    if last:\n        delta = str(now - last).split(\":\")[2][:5]\n    else:\n        delta = \"00.00\"\n    last = now\n    print(f\"{now.strftime('%M:%S')} ({delta}) -\", *args)\n\n\ndef data_url(file_path):\n    with open(file_path, \"rb\") as image_file:\n        binary_data = image_file.read()\n    base64_encoded_data = base64.b64encode(binary_data)\n    base64_string = base64_encoded_data.decode(\"utf-8\")\n    data_url = f\"data:image/png;base64,{base64_string}\"\n    return data_url\n\n\nbase_dir = Path(__file__).parent / \"datasets\"\n\n\n@weave.type()\nclass EvaluateQualityModel(Model):\n    system_message: str\n    model_name: str = \"gpt-4-vision-preview\"\n    # \"gpt-3.5-turbo-1106\"\n\n    @weave.op()\n    async def predict(self, input: dict) -> dict:\n        from openai import OpenAI\n\n        pt(\"Actually predicting\", input[\"emoji\"], input[\"name\"] + \":\", input[\"prompt\"])\n        pt(\"Desktop:\", input[\"desktop_img\"], \"Mobile:\", input[\"mobile_img\"])\n        client = OpenAI()\n        user_message = f\"\"\"{input['prompt']}\n---\nname: {input['name']}\nemoji: {input['emoji']}\n\"\"\"\n\n        response = client.chat.completions.create(\n            model=self.model_name,\n            messages=[\n                {\"role\": \"system\", \"content\": self.system_message},\n                {\n                    \"role\": \"user\",\n                    \"content\": [\n                        {\"type\": \"text\", \"text\": user_message},\n                        {\n                            \"type\": \"text\",\n                            \"text\": \"Screenshot of the light and dark desktop versions:\",\n                        },\n                        {\n                            \"type\": \"image_url\",\n                            \"image_url\": {\n                                \"url\": data_url(base_dir / input[\"desktop_img\"])\n                            },\n                        },\n                        {\n                            \"type\": \"text\",\n                            \"text\": \"Screenshot of the light and dark mobile versions:\",\n                        },\n                        {\n                            \"type\": \"image_url\",\n                            \"image_url\": {\n                                \"url\": data_url(base_dir / input[\"mobile_img\"])\n                            },\n                        },\n                    ],\n                },\n                {\n                    \"role\": \"assistant\",\n                    \"content\": \"Here's my assessment of the component in JSON format:\",\n                },\n            ],\n            temperature=0.3,\n            max_tokens=128,\n            seed=42,\n        )\n        extracted = response.choices[0].message.content\n        pk = response.usage.prompt_tokens\n        pc = pk * 0.01 / 1000\n        ck = response.usage.completion_tokens\n        cc = ck * 0.03 / 1000\n        pt(f\"Usage: {pk} prompt tokens, {ck} completion tokens, ${round(pc + cc, 3)}\")\n        try:\n            return json.loads(extracted.replace(\"```json\", \"\").replace(\"```\", \"\"))\n        except json.JSONDecodeError:\n            pt(\"Failed to decode JSON!\")\n            return extracted\n\n\n@weave.op()\ndef media_score(example: dict, prediction: dict) -> dict:\n    return prediction[\"media\"]\n\n\n@weave.op()\ndef contrast_score(example: dict, prediction: dict) -> dict:\n    return prediction[\"contrast\"]\n\n\n@weave.op()\ndef overall_score(example: dict, prediction: dict) -> float:\n    return prediction[\"relevance\"]\n\n\n@weave.op()\ndef example_to_model_input(example: dict) -> str:\n    return example\n\n\nSYSTEM_MESSAGE = textwrap.dedent(\n    \"\"\"\nYou are an expert web developer and will be assessing the quality of web components.\nGiven a prompt, emoji, name and 2 images, you will be asked to rate the quality of \nthe component on the following criteria:\n\n- Media Quality: How well the component is displayed on desktop and mobile\n- Contrast: How well the component is displayed in light and dark mode\n- Relevance: Given the users prompt, do the images, name and emoji satisfy the request\n\nUse the following scale to rate each criteria:\n\n1. Terrible - The criteria isn't met at all\n2. Poor - The criteria is somewhat met but it looks very amateur\n3. Average - The criteria is met but it could be improved\n4. Good - The criteria is met and it looks professional\n5. Excellent - The criteria is met and it looks exceptional\n\nOutput a JSON object with the following structure:\n    \n    {\n        \"media\": 4,\n        \"contrast\": 2,\n        \"relevance\": 5\n    }\n\"\"\"\n)\nmodel = EvaluateQualityModel(SYSTEM_MESSAGE)\n\n\nasync def run(row=0, bad=False):\n    pt(\"Initializing weave\")\n    weave.init(\"openui-test-21\")\n    pt(\"Loading dataset\")\n    dataset = weave.ref(\"flowbite\").get()\n    pt(\"Running predict, row:\", row)\n    comp = dataset.rows[row]\n    if bad:\n        comp[\"prompt\"] = (\n            \"A slider control that uses a gradient and displays a percentage.\"\n        )\n    res = await model.predict(comp)\n    pt(\"Result:\", res)\n\n\nasync def eval(ds=\"gpt-3.5-turbo\"):\n    pt(\"Initializing weave\")\n    weave.init(\"openui-test-21\")\n    pt(\"Loading dataset\", ds)\n    dataset = weave.ref(ds).get()\n    evaluation = Evaluation(\n        dataset,\n        scorers=[media_score, contrast_score, overall_score],\n        preprocess_model_input=example_to_model_input,\n    )\n    pt(\"Running evaluation\")\n    await evaluation.evaluate(model)\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) > 1:\n        ds = sys.argv[1].replace(\":\", \"-\")\n    else:\n        ds = \"gpt-3.5-turbo\"\n    asyncio.run(eval(ds))\n"
  },
  {
    "path": "backend/openui/eval/evaluate_weave.py",
    "content": "import asyncio\nimport sys\nimport os\nimport random\nimport textwrap\nimport yaml\nimport mistletoe\nfrom typing import Optional\nfrom openai import AsyncOpenAI, RateLimitError\nfrom weave import Evaluation, Model, Dataset\n\n# from .model import EvaluateQualityModel\nimport weave\nfrom pathlib import Path\nimport base64\nimport json\nfrom datetime import datetime\nfrom openui.util import gen_screenshots\n\nfrom promptsearch import PromptSearch, PromptModel\n\n\nlast: datetime | None = None\n\n\ndef pt(*args):\n    global last\n    now = datetime.now()\n    if last:\n        delta = str(now - last).split(\":\")[2][:5]\n    else:\n        delta = \"00.00\"\n    last = now\n    print(f\"{now.strftime('%M:%S')} ({delta}) -\", *args)\n\n\nbase_dir = Path(__file__).parent / \"datasets\"\n\nSYSTEM_PROMPT = \"\"\"🎉 Greetings, TailwindCSS Virtuoso! 🌟\n\nYou've mastered the art of frontend design and TailwindCSS! Your mission is to transform detailed descriptions or compelling images into stunning HTML using the versatility of TailwindCSS. Ensure your creations are seamless in both dark and light modes! Your designs should be responsive and adaptable across all devices - be it desktop, tablet, or mobile.\n\n*Design Guidelines:*\n- Utilize placehold.co for placeholder images and descriptive alt text.\n- For interactive elements, leverage modern ES6 JavaScript and native browser APIs for enhanced functionality.\n- Inspired by shadcn, we provide the following colors which handle both light and dark mode:\n\n```css\n  --background\n  --foreground\n  --primary\n\t--border\n  --input\n  --ring\n  --primary-foreground\n  --secondary\n  --secondary-foreground\n  --accent\n  --accent-foreground\n  --destructive\n  --destructive-foreground\n  --muted\n  --muted-foreground\n  --card\n  --card-foreground\n  --popover\n  --popover-foreground\n```\n\nPrefer using these colors when appropriate, for example:\n\n```html\n<button class=\"bg-secondary text-secondary-foreground hover:bg-secondary/80\">Click me</button>\n<span class=\"text-muted-foreground\">This is muted text</span>\n```\n\n*Implementation Rules:*\n- Only implement elements within the `<body>` tag, don't bother with `<html>` or `<head>` tags.\n- Avoid using SVGs directly. Instead, use the `<img>` tag with a descriptive title as the alt attribute and add .svg to the placehold.co url, for example:\n\n```html\n<img aria-hidden=\"true\" alt=\"magic-wand\" src=\"/icons/24x24.svg?text=🪄\" />\n```\n\nAlways start your response with frontmatter wrapped in ---.  Set name: with a 2 to 5 word description of the component. Set emoji: with an emoji for the component, i.e.:\n\n---\nname: Fancy Button\nemoji: 🎉\n---\n\n<button class=\"bg-blue-500 text-white p-2 rounded-lg\">Click me</button>\n\n\"\"\"\n\n\nclass OpenUIModel(PromptModel):\n    prompt_template: str\n    model_name: Optional[str] = \"gpt-3.5-turbo\"\n    take_screenshot: Optional[bool] = True\n    temp: Optional[float] = 0.3\n    _iteration: int = 0\n    # \"gpt-3.5-turbo-1106\"\n\n    # TODO: share with scoring model\n    def data_url(self, file_path):\n        with open(file_path, \"rb\") as image_file:\n            binary_data = image_file.read()\n        base64_encoded_data = base64.b64encode(binary_data)\n        base64_string = base64_encoded_data.decode(\"utf-8\")\n        data_url = f\"data:image/png;base64,{base64_string}\"\n        return data_url\n\n    @property\n    def client(self):\n        if self.model_name.startswith(\"ollama/\"):\n            return AsyncOpenAI(base_url=\"http://localhost:11434/v1\")\n        if self.model_name.startswith(\"litellm/\"):\n            return AsyncOpenAI(\n                api_key=os.getenv(\"LITELLM_API_KEY\", \"xxx\"),\n                base_url=os.getenv(\"LITELLM_BASE_URL\", \"http://0.0.0.0:4000\"),\n            )\n        if self.model_name.startswith(\"fireworks/\"):\n            return AsyncOpenAI(\n                api_key=os.getenv(\"FIREWORKS_API_KEY\"),\n                base_url=\"https://api.fireworks.ai/inference/v1\",\n            )\n        else:\n            return AsyncOpenAI()\n\n    @property\n    def model(self):\n        if self.model_name.startswith(\"ollama/\"):\n            return self.model_name.replace(\"ollama/\", \"\")\n        if self.model_name.startswith(\"litellm/\"):\n            return self.model_name.replace(\"litellm/\", \"\")\n        if self.model_name.startswith(\"fireworks/\"):\n            return (\n                f\"accounts/fireworks/models/{self.model_name.replace('fireworks/', '')}\"\n            )\n        return self.model_name\n\n    @property\n    def model_dir(self):\n        return self.model_name.split(\"/\")[-1]\n\n    async def actually_predict(self, prompt: str):\n        return await self.client.chat.completions.create(\n            messages=[\n                {\n                    \"role\": \"system\",\n                    \"content\": self.prompt_template,\n                },\n                {\n                    \"role\": \"user\",\n                    \"content\": prompt,\n                },\n            ],\n            max_tokens=2048,\n            temperature=self.temp,\n            model=self.model,\n        )\n\n    @weave.op()\n    async def predict(self, prompt: str) -> dict:\n        pt(\"Actually predicting\", prompt)\n        # TODO: lame\n        try:\n            completion = await self.actually_predict(prompt)\n        except RateLimitError:\n            pt(\"Rate limit exceeded, retrying...\")\n            try:\n                # sleep randomly\n                await asyncio.sleep(random.randint(1, 5))\n                completion = await self.actually_predict(prompt)\n            except RateLimitError:\n                pt(\"Rate limit exceeded, retrying...\")\n                await asyncio.sleep(random.randint(1, 5))\n                completion = await self.actually_predict(prompt)\n        result = completion.choices[0].message.content\n        parsed = self.extract_html(result)\n        if self.take_screenshot:\n            name = f\"prompt-{self._iteration}\"\n            self._iteration += 1\n            await self.screenshot(parsed[\"html\"], name)\n            parsed[\"desktop_img\"] = f\"./{self.model_dir}/{name}.combined.png\"\n            parsed[\"mobile_img\"] = f\"./{self.model_dir}/{name}.combined.mobile.png\"\n            parsed[\"desktop_uri\"] = self.data_url(base_dir / parsed[\"desktop_img\"])\n            parsed[\"mobile_uri\"] = self.data_url(base_dir / parsed[\"mobile_img\"])\n        return parsed\n\n    async def screenshot(self, html: str, name: str):\n        screenshot_dir = base_dir / self.model_dir\n        screenshot_dir.mkdir(exist_ok=True)\n        await gen_screenshots(name, html, screenshot_dir)\n\n    def extract_html(self, result: str):\n        fm = {}\n        parts = result.split(\"---\")\n        try:\n            print(\"len(parts)\", len(parts))\n            if len(parts) > 2:\n                fm = yaml.safe_load(parts[1])\n                if not isinstance(fm, dict):\n                    fm = {\"name\": fm}\n                md = \"---\".join(parts[2:])\n            elif len(parts) == 2:\n                fm = yaml.safe_load(parts[0])\n                if not isinstance(fm, dict):\n                    fm = {\"name\": fm}\n                md = parts[1]\n            else:\n                md = result\n        except Exception as e:\n            print(f\"Error parsing frontmatter: {e}\")\n            print(parts)\n            fm[\"name\"] = \"Component\"\n            fm[\"emoji\"] = \"🎉\"\n            md = result\n        doc = mistletoe.Document(md)\n        html = \"\"\n        blocks = 0\n        for node in doc.children:\n            if isinstance(node, mistletoe.block_token.CodeFence):\n                blocks += 1\n                if node.language == \"js\" or node.language == \"javascript\":\n                    html += f\"<script>\\n{node.children[0].content}\\n</script>\\n\"\n                else:\n                    html += f\"{node.children[0].content}\\n\"\n        if blocks == 0:\n            html = md\n        fm[\"html\"] = html.strip()\n        fm[\"name\"] = fm.get(\"name\", \"Component\")\n        fm[\"emoji\"] = fm.get(\"emoji\", \"🎉\")\n        print(\"WTF FM\", fm)\n        return fm\n\n\nEVAL_SYSTEM_PROMPT = textwrap.dedent(\n    \"\"\"\nYou are an expert web developer and will be assessing the quality of web components.\nGiven a prompt, emoji, name and 2 images, you will be asked to rate the quality of \nthe component on the following criteria:\n\n- Media Quality: How well the component is displayed on desktop and mobile\n- Contrast: How well the component is displayed in light and dark mode\n- Relevance: Given the users prompt, do the images, name and emoji satisfy the request\n- Polish: Does it look good or are there rendering issues / lack of polish\n\nUse the following scale to rate each criteria:\n\n1. Terrible - The criteria isn't met at all\n2. Poor - The criteria is somewhat met but it looks very amateur\n3. Good - The criteria is met and it looks professional\n4. Excellent - The criteria is met and it looks exceptional\n\nAlso provide a short explanation of your rationale for each rating in the \"reasoning\" field.\n\nOutput a JSON object with the following structure:\n    \n    {\n        \"media\": 3,\n        \"contrast\": 1,\n        \"relevance\": 2,\n        \"polish\": 2,\n        \"reasoning\": \"The contrast in dark mode is terrible.  The component could be more relevant.  It also lacks polish.\"\n    }\n\"\"\"\n)\n\n\nclass OpenUIScoringModel(Model):\n    system_prompt: str\n    model_name: Optional[str] = \"gpt-4-turbo\"\n    temp: Optional[float] = 0.3\n\n    def data_url(self, file_path):\n        with open(file_path, \"rb\") as image_file:\n            binary_data = image_file.read()\n        base64_encoded_data = base64.b64encode(binary_data)\n        base64_string = base64_encoded_data.decode(\"utf-8\")\n        data_url = f\"data:image/png;base64,{base64_string}\"\n        return data_url\n\n    @weave.op()\n    async def predict(self, prompt: str, prediction: dict) -> dict:\n        client = AsyncOpenAI()\n\n        user_message = f\"\"\"{prompt}\n---\nname: {prediction['name']}\nemoji: {prediction['emoji']}\n\"\"\"\n        response = await client.chat.completions.create(\n            model=self.model_name,\n            messages=[\n                {\"role\": \"system\", \"content\": self.system_prompt},\n                {\n                    \"role\": \"user\",\n                    \"content\": [\n                        {\"type\": \"text\", \"text\": user_message},\n                        {\n                            \"type\": \"text\",\n                            \"text\": \"Screenshot of the light and dark desktop versions:\",\n                        },\n                        {\n                            \"type\": \"image_url\",\n                            \"image_url\": {\n                                \"url\": self.data_url(\n                                    base_dir / prediction[\"desktop_img\"]\n                                )\n                            },\n                        },\n                        {\n                            \"type\": \"text\",\n                            \"text\": \"Screenshot of the light and dark mobile versions:\",\n                        },\n                        {\n                            \"type\": \"image_url\",\n                            \"image_url\": {\n                                \"url\": self.data_url(\n                                    base_dir / prediction[\"mobile_img\"]\n                                )\n                            },\n                        },\n                        {\n                            \"type\": \"text\",\n                            \"text\": \"Please assess this prompt against the images and provide your score.\",\n                        },\n                    ],\n                },\n            ],\n            temperature=self.temp,\n            response_format={\"type\": \"json_object\"},\n            max_tokens=512,\n            seed=42,\n        )\n        extracted = response.choices[0].message.content\n        pk = response.usage.prompt_tokens\n        pc = pk * 0.01 / 1000\n        ck = response.usage.completion_tokens\n        cc = ck * 0.03 / 1000\n        pt(f\"Usage: {pk} prompt tokens, {ck} completion tokens, ${round(pc + cc, 3)}\")\n        try:\n            return json.loads(extracted.replace(\"```json\", \"\").replace(\"```\", \"\"))\n        except json.JSONDecodeError:\n            pt(\"Failed to decode JSON!\")\n            return {\n                \"media\": None,\n                \"contrast\": None,\n                \"relevance\": None,\n                \"polish\": None,\n                \"reasoning\": \"Failed to decode JSON!\",\n                \"source\": extracted,\n            }\n\n\nscoring_model = OpenUIScoringModel(system_prompt=EVAL_SYSTEM_PROMPT)\n\n\n@weave.op()\nasync def scores(prompt: str, model_output: dict) -> dict:\n    return await scoring_model.predict(prompt, model_output)\n\n\nasync def run(row=0, bad=False):\n    pt(\"Initializing weave\")\n    weave.init(\"openui-dev\")\n    model = OpenUIModel(SYSTEM_PROMPT)\n    pt(\"Loading dataset\")\n    dataset = weave.ref(\"flowbite\").get()\n    pt(\"Running predict, row:\", row)\n    comp = dataset.rows[row]\n    if bad:\n        comp[\"prompt\"] = (\n            \"A slider control that uses a gradient and displays a percentage.\"\n        )\n    res = await model.predict(comp)\n    pt(\"Result:\", res)\n\n\nasync def eval(mod=\"gpt-3.5-turbo\"):\n    pt(\"Initializing weave\")\n    weave.init(\"openui-dev\")\n    model = OpenUIModel(prompt_template=SYSTEM_PROMPT, model_name=mod)\n    pt(\"Loading dataset\")\n    dataset = weave.ref(\"eval:v0\").get()\n    # dataset = Dataset(\n    #    name=\"eval\",\n    #    rows=[{\"prompt\": \"Make a cool SaaS landing page for an AI startup\"}],\n    # )\n    evaluation = Evaluation(\n        dataset=dataset,\n        scorers=[scores],\n    )\n    pt(\"Running evaluation\")\n    await evaluation.evaluate(model)\n\n\ndef run_prompt_search(mod: str):\n    weave.init(\"openui-dev\")\n    model = OpenUIModel(prompt_template=SYSTEM_PROMPT, model_name=mod)\n    pt(\"Loading dataset\")\n    dataset = weave.ref(\"eval\").get()\n    evaluation = Evaluation(\n        dataset=dataset,\n        scorers=[scores],\n    )\n    pt(\"Run prompt search\")\n    ps = PromptSearch(\n        model=model,\n        dataset=dataset,\n        evaluation=evaluation,\n        eval_result_to_score=lambda evals: evals[\"scores\"][\"polish\"][\"mean\"]\n        + evals[\"scores\"][\"relevance\"][\"mean\"],\n    )\n    ps.steps(10)\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) > 1:\n        mod = sys.argv[1]\n    else:\n        mod = \"gpt-3.5-turbo\"\n    if os.getenv(\"HOGWILD\"):\n        run_prompt_search(mod)\n    else:\n        asyncio.run(eval(mod))\n"
  },
  {
    "path": "backend/openui/eval/prompt_to_img.py",
    "content": "from pathlib import Path\nimport csv\nimport json\nimport mistletoe\nimport yaml\nimport asyncio\nimport sys\nfrom openui.util import gen_screenshots\n\nfrom openai import AsyncOpenAI\n\nSYSTEM_PROMPT = \"\"\"You're a frontend web developer that specializes in tailwindcss. Given a description, generate HTML with tailwindcss. You should support both dark and light mode. It should render nicely on desktop, tablet, and mobile. Keep your responses concise and just return HTML that would appear in the <body> no need for <head>. Use placehold.co for placeholder images. If the user asks for interactivity, use modern ES6 javascript and native browser apis to handle events.\n\nAlways start your response with frontmatter wrapped in ---.  Set name: with a 2 to 5 word description of the component. Set emoji: with an emoji for the component, i.e.:\n---\nname: Fancy Button\nemoji: 🎉\n---\n\n<button class=\"bg-blue-500 text-white p-2 rounded-lg\">Click me</button>\"\"\"\n\n\ndef extract_html(result: str):\n    fm = {}\n    parts = result.split(\"---\")\n    try:\n        if len(parts) > 2:\n            fm = yaml.safe_load(parts[1])\n            if not isinstance(fm, dict):\n                fm = {\"name\": fm}\n            md = \"---\".join(parts[2:])\n        elif len(parts) == 2:\n            fm = yaml.safe_load(parts[0])\n            if not isinstance(fm, dict):\n                fm = {\"name\": fm}\n            md = parts[1]\n        else:\n            md = result\n    except Exception as e:\n        print(f\"Error parsing frontmatter: {e}\")\n        print(parts)\n        fm[\"name\"] = \"Component\"\n        fm[\"emoji\"] = \"🎉\"\n        md = result\n    doc = mistletoe.Document(md)\n    html = \"\"\n    blocks = 0\n    for node in doc.children:\n        if isinstance(node, mistletoe.block_token.CodeFence):\n            blocks += 1\n            if node.language == \"js\" or node.language == \"javascript\":\n                html += f\"<script>\\n{node.children[0].content}\\n</script>\\n\"\n            else:\n                html += f\"{node.children[0].content}\\n\"\n    if blocks == 0:\n        html = md\n    fm[\"html\"] = html.strip()\n    return fm\n\n\nasync def synth(prompt, model=\"gpt-3.5-turbo\"):\n    print(f\"Generating HTML for: {prompt}\")\n    completion = await openai.chat.completions.create(\n        messages=[\n            {\n                \"role\": \"system\",\n                \"content\": SYSTEM_PROMPT,\n            },\n            {\n                \"role\": \"user\",\n                \"content\": prompt,\n            },\n        ],\n        max_tokens=2048,\n        temperature=0.5,\n        model=model,\n    )\n    result = completion.choices[0].message.content\n    parsed = extract_html(result)\n    parsed[\"prompt\"] = prompt\n    return parsed\n\n\nasync def main(model=\"gpt-3.5-turbo\"):\n    eval_csv = Path(__file__).parent / \"datasets\" / \"eval.csv\"\n    gen_json = Path(__file__).parent / \"datasets\" / f\"{model}.json\"\n    screenshot_dir = Path(__file__).parent / \"datasets\" / model\n    screenshot_dir.mkdir(exist_ok=True)\n    # Regenerate screenshots only for existing generations\n    if gen_json.exists():\n        with open(gen_json, \"r\") as f:\n            results = json.load(f)\n        for i, row in enumerate(results):\n            await gen_screenshots(f\"prompt-{i}\", row[\"html\"], screenshot_dir)\n            row[\"desktop_img\"] = f\"./{model}/prompt-{i}.combined.png\"\n            row[\"mobile_img\"] = f\"./{model}/prompt-{i}.combined.mobile.png\"\n        with open(gen_json, \"w\") as f:\n            f.write(json.dumps(results, indent=4))\n        return\n\n    with open(eval_csv, \"r\") as f:\n        reader = csv.DictReader(f)\n        tasks = [synth(row[\"prompt\"], model) for i, row in enumerate(reader)]\n    results = await asyncio.gather(*tasks)\n    for i, row in enumerate(results):\n        await gen_screenshots(f\"prompt-{i}\", row[\"html\"], screenshot_dir)\n        row[\"desktop_img\"] = f\"./{model}/prompt-{i}.combined.png\"\n        row[\"mobile_img\"] = f\"./{model}/prompt-{i}.combined.mobile.png\"\n\n    with open(gen_json, \"w\") as f:\n        f.write(json.dumps(results, indent=4))\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) > 1:\n        model = sys.argv[1]\n    else:\n        model = \"gpt-3.5-turbo\"\n    if model.startswith(\"ollama/\"):\n        model = model.replace(\"ollama/\", \"\")\n        openai = AsyncOpenAI(base_url=\"http://localhost:11434/v1\")\n    else:\n        openai = AsyncOpenAI()\n\n    asyncio.run(main(model))\n"
  },
  {
    "path": "backend/openui/litellm.py",
    "content": "import yaml\nimport os\nimport tempfile\nimport openai\nfrom .logs import logger\n\n\ndef generate_config():\n    models = []\n    if \"GEMINI_API_KEY\" in os.environ:\n        models.extend(\n            [\n                {\n                    \"model_name\": \"gemini-1.5-flash\",\n                    \"litellm_params\": {\n                        \"model\": \"gemini/gemini-1.5-flash-latest\",\n                    },\n                },\n                {\n                    \"model_name\": \"gemini-1.5-pro\",\n                    \"litellm_params\": {\n                        \"model\": \"gemini/gemini-1.5-pro-latest\",\n                    },\n                },\n            ]\n        )\n\n    if \"ANTHROPIC_API_KEY\" in os.environ:\n        models.extend(\n            [\n                {\n                    \"model_name\": \"claude-3-opus\",\n                    \"litellm_params\": {\n                        \"model\": \"claude-3-opus-20240229\",\n                    },\n                },\n                {\n                    \"model_name\": \"claude-3-5-sonnet\",\n                    \"litellm_params\": {\n                        \"model\": \"claude-3-5-sonnet-20240620\",\n                    },\n                },\n                {\n                    \"model_name\": \"claude-3-haiku\",\n                    \"litellm_params\": {\n                        \"model\": \"claude-3-haiku-20240307\",\n                    },\n                },\n            ]\n        )\n\n    if \"COHERE_API_KEY\" in os.environ:\n        models.extend(\n            [\n                {\n                    \"model_name\": \"command-r-plus\",\n                    \"litellm_params\": {\n                        \"model\": \"command-r-plus\",\n                    },\n                },\n                {\n                    \"model_name\": \"command-r\",\n                    \"litellm_params\": {\n                        \"model\": \"command-r\",\n                    },\n                },\n                {\n                    \"model_name\": \"command-light\",\n                    \"litellm_params\": {\n                        \"model\": \"command-light\",\n                    },\n                },\n            ]\n        )\n\n    if \"MISTRAL_API_KEY\" in os.environ:\n        models.extend(\n            [\n                {\n                    \"model_name\": \"mistral-small\",\n                    \"litellm_params\": {\n                        \"model\": \"mistral/mistral-small-latest\",\n                    },\n                },\n                {\n                    \"model_name\": \"mistral-medium\",\n                    \"litellm_params\": {\n                        \"model\": \"mistral/mistral-medium-latest\",\n                    },\n                },\n                {\n                    \"model_name\": \"mistral-large\",\n                    \"litellm_params\": {\n                        \"model\": \"mistral/mistral-large-latest\",\n                    },\n                },\n            ]\n        )\n\n    if \"OPENAI_COMPATIBLE_ENDPOINT\" in os.environ:\n        client = openai.OpenAI(\n            api_key=os.getenv(\"OPENAI_COMPATIBLE_API_KEY\"),\n            base_url=os.getenv(\"OPENAI_COMPATIBLE_ENDPOINT\"),\n        )\n        try:\n            for model in client.models.list().data:\n                models.append(\n                    {\n                        \"model_name\": model.id,\n                        \"litellm_params\": {\n                            \"model\": f\"openai/{model.id}\",\n                            \"api_key\": os.getenv(\"OPENAI_COMPATIBLE_API_KEY\"),\n                            \"base_url\": os.getenv(\"OPENAI_COMPATIBLE_ENDPOINT\"),\n                        },\n                    }\n                )\n        except Exception as e:\n            logger.exception(\n                f\"Error listing models for {os.getenv('OPENAI_COMPATIBLE_ENDPOINT')}: %s\",\n                e,\n            )\n\n    yaml_structure = {\"model_list\": models}\n    with tempfile.NamedTemporaryFile(\n        delete=False, mode=\"w\", suffix=\".yaml\"\n    ) as tmp_file:\n        tmp_file.write(yaml.dump(yaml_structure, sort_keys=False))\n        tmp_file_path = tmp_file.name\n\n    return tmp_file_path\n"
  }
]